1/* Minification failed. Returning unminified contents. 2(6286,30-31): run-time error JS1100: Expected ',': = 3(6286,47-48): run-time error JS1004: Expected ';': ) 4(6296,2-3): run-time error JS1002: Syntax error: } 5(6298,36-37): run-time error JS1004: Expected ';': { 6(6317,46-47): run-time error JS1100: Expected ',': = 7(6317,53-54): run-time error JS1002: Syntax error: , 8(6327,46-47): run-time error JS1100: Expected ',': = 9(6333,16-17): run-time error JS1014: Invalid character: ` 10(6333,26-27): run-time error JS1004: Expected ';': { 11(6333,48-49): run-time error JS1014: Invalid character: ` 12(6336,37-38): run-time error JS1014: Invalid character: ` 13(6336,48-49): run-time error JS1003: Expected ':': { 14(6336,57-58): run-time error JS1003: Expected ':': } 15(6336,60-61): run-time error JS1014: Invalid character: ` 16(6336,62-63): run-time error JS1195: Expected expression: : 17(6339,22-23): run-time error JS1014: Invalid character: ` 18(6339,24-25): run-time error JS1004: Expected ';': { 19(6339,30-31): run-time error JS1195: Expected expression: = 20(6339,42-43): run-time error JS1004: Expected ';': { 21(6339,52-53): run-time error JS1004: Expected ';': { 22(6339,59-60): run-time error JS1004: Expected ';': { 23(6339,74-75): run-time error JS1014: Invalid character: ` 24(6346,50-51): run-time error JS1100: Expected ',': = 25(6348,17-18): run-time error JS1195: Expected expression: ) 26(6348,20-21): run-time error JS1195: Expected expression: > 27(6362,5-6): run-time error JS1195: Expected expression: , 28(6366,9-10): run-time error JS1003: Expected ':': , 29(6367,14-15): run-time error JS1003: Expected ':': , 30(6368,23-24): run-time error JS1003: Expected ':': , 31(6369,8-9): run-time error JS1003: Expected ':': , 32(6370,10-11): run-time error JS1003: Expected ':': , 33(6374,7-8): run-time error JS1002: Syntax error: } 34(6376,55-56): run-time error JS1004: Expected ';': { 35(6390,8-9): run-time error JS1195: Expected expression: ) 36(6392,55-56): run-time error JS1004: Expected ';': { 37(6459,8-9): run-time error JS1195: Expected expression: ) 38(6461,55-56): run-time error JS1004: Expected ';': { 39(7402,8-9): run-time error JS1195: Expected expression: ) 40(7404,55-56): run-time error JS1004: Expected ';': { 41(7615,8-9): run-time error JS1195: Expected expression: ) 42(7617,55-56): run-time error JS1004: Expected ';': { 43(7644,8-9): run-time error JS1195: Expected expression: ) 44(7646,55-56): run-time error JS1004: Expected ';': { 45(7662,8-9): run-time error JS1195: Expected expression: ) 46(7664,55-56): run-time error JS1004: Expected ';': { 47(7681,8-9): run-time error JS1195: Expected expression: ) 48(7683,55-56): run-time error JS1004: Expected ';': { 49(7692,8-9): run-time error JS1195: Expected expression: ) 50(7694,55-56): run-time error JS1004: Expected ';': { 51(7700,8-9): run-time error JS1195: Expected expression: ) 52(7702,8-16): run-time error JS1197: Too many errors. The file might not be a JavaScript file: function 53(6314,4-18): run-time error JS1018: 'return' statement outside of function: return consent 54(6295,4-15): run-time error JS1018: 'return' statement outside of function: return null 55(6293,34-77): run-time error JS1018: 'return' statement outside of function: return c.substring(nameEQ.length, c.length) 56 */ 57/******/ (function(modules) { // webpackBootstrap 58/******/ // The module cache 59/******/ var installedModules = {}; 60/******/ 61/******/ // The require function 62/******/ function __webpack_require__(moduleId) { 63/******/ 64/******/ // Check if module is in cache 65/******/ if(installedModules[moduleId]) 66/******/ return installedModules[moduleId].exports; 67/******/ 68/******/ // Create a new module (and put it into the cache) 69/******/ var module = installedModules[moduleId] = { 70/******/ exports: {}, 71/******/ id: moduleId, 72/******/ loaded: false 73/******/ }; 74/******/ 75/******/ // Execute the module function 76/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); 77/******/ 78/******/ // Flag the module as loaded 79/******/ module.loaded = true; 80/******/ 81/******/ // Return the exports of the module 82/******/ return module.exports; 83/******/ } 84/******/ 85/******/ 86/******/ // expose the modules object (__webpack_modules__) 87/******/ __webpack_require__.m = modules; 88/******/ 89/******/ // expose the module cache 90/******/ __webpack_require__.c = installedModules; 91/******/ 92/******/ // __webpack_public_path__ 93/******/ __webpack_require__.p = ""; 94/******/ 95/******/ // Load entry module and return exports 96/******/ return __webpack_require__(0); 97/******/ }) 98/************************************************************************/ 99/******/ ([ 100/* 0 */ 101/***/ (function(module, exports, __webpack_require__) { 102 103 // 104 // Chunk : App 105 // 106 // This is only an entry point for webpack chunk. 107 // There should be no other require than the 108 // "core" dependencies. 109 // 110 111 // Unsupported Browser Redirect 112 __webpack_require__(266); 113 114 // Event CSS Modifier 115 __webpack_require__(252); 116 117 // This module is used to disable CSS transition while 118 // the page is loading. This prevent unwanted CSS transition 119 // while the DOM is initialize. 120 __webpack_require__(251); 121
122 // Picture tag polyfill for browser that doesn't support it. 123 __webpack_require__(260); 124 125 // Fonts 126 __webpack_require__(253); 127 __webpack_require__(254); 128 __webpack_require__(255); 129 130 // Catalog 131 __webpack_require__(211); 132 __webpack_require__(198); 133 __webpack_require__(201); 134 __webpack_require__(189); 135 __webpack_require__(182); 136 __webpack_require__(183); 137 __webpack_require__(184); 138 __webpack_require__(185); 139 __webpack_require__(217); 140 __webpack_require__(218); 141 __webpack_require__(219); 142 __webpack_require__(172); 143 __webpack_require__(230); 144 __webpack_require__(173); 145 __webpack_require__(225); 146 __webpack_require__(214); 147 __webpack_require__(227); 148 __webpack_require__(216); 149 __webpack_require__(195); 150 __webpack_require__(196); 151 __webpack_require__(197); 152 __webpack_require__(237); 153 __webpack_require__(188); 154 __webpack_require__(187); 155 __webpack_require__(242); 156 __webpack_require__(228); 157 __webpack_require__(229); 158 __webpack_require__(186); 159 __webpack_require__(194); 160 __webpack_require__(221); 161 __webpack_require__(192); 162 __webpack_require__(212); 163 __webpack_require__(170); 164 __webpack_require__(171); 165 __webpack_require__(220); 166 __webpack_require__(178); 167 __webpack_require__(231); 168 __webpack_require__(215); 169 __webpack_require__(238); 170 __webpack_require__(210); 171 __webpack_require__(177); 172 __webpack_require__(174); 173 __webpack_require__(175); 174 __webpack_require__(176); 175 __webpack_require__(203); 176 __webpack_require__(193); 177 __webpack_require__(235); 178 __webpack_require__(190); 179 __webpack_require__(191); 180 __webpack_require__(205); 181 __webpack_require__(206); 182 __webpack_require__(208); 183 __webpack_require__(207); 184 __webpack_require__(239); 185 __webpack_require__(200); 186 __webpack_require__(181); 187 __webpack_require__(226); 188 __webpack_require__(209); 189 __webpack_require__(180); 190 __webpack_require__(232); 191 __webpack_require__(241); 192 __webpack_require__(199); 193 __webpack_require__(204); 194 __webpack_require__(224); 195 __webpack_require__(240); 196 __webpack_require__(222); 197 __webpack_require__(236); 198 __webpack_require__(223); 199 __webpack_require__(233); 200 __webpack_require__(202); 201 __webpack_require__(213); 202 __webpack_require__(234); 203 __webpack_require__(179); 204 205 // Style guide 206 __webpack_require__(263); 207 208 // Controllers 209 __webpack_require__(245); 210 211 //Date Ranger Picker 212 __webpack_require__(249); 213 __webpack_require__(248); 214 215 /* D�sactiver la cache sur les calls AJAX de jQuery. 216 * Note: le fait de faire �a dans chunk.app.js signifie que jQuery va toujours faire partie du package, m�me s'il n'est pas utilis� ailleurs. 217 * Pas vraiment grave dans le cas pr�sent, puisqu'on sait qu'on utilise jQuery dans d'autres modules. 218 */ 219 var jquery = __webpack_require__(2); 220 jquery.ajaxSetup({ 221 cache: false, 222 }); 223 224 225/***/ }), 226/* 1 */ 227/***/ (function(module, exports, __webpack_require__) { 228 229 var require;/* WEBPACK VAR INJECTION */(function(module) {//! moment.js 230 //! version : 2.26.0 231 //! authors : Tim Wood, Iskren Chernev, Moment.js contributors 232 //! license : MIT 233 //! momentjs.com 234 235 ;(function (global, factory) { 236 true ? module.exports = factory() : 237 typeof define === 'function' && define.amd ? define(factory) : 238 global.moment = factory() 239 }(this, (function () { 'use strict'; 240 241 var hookCallback; 242 243 function hooks() { 244 return hookCallback.apply(null, arguments); 245 } 246 247 // This is done to register the method called with moment() 248 // without creating circular dependencies. 249 function setHookCallback(callback) { 250 hookCallback = callback; 251 } 252 253 function isArray(input) { 254 return ( 255 input instanceof Array || 256 Object.prototype.toString.call(input) === '[object Array]' 257 ); 258 } 259 260 function isObject(input) { 261 // IE8 will treat undefined and null as object if it wasn't for 262 // input != null 263 return ( 264 input != null && 265 Object.prototype.toString.call(input) === '[object Object]' 266 ); 267 } 268 269 function hasOwnProp(a, b) { 270 return Object.prototype.hasOwnProperty.call(a, b); 271 } 272 273 function isObjectEmpty(obj) { 274 if (Object.getOwnPropertyNames) { 275 return Object.getOwnPropertyNames(obj).length === 0; 276 } else { 277 var k; 278 for (k in obj) { 279 if (hasOwnProp(obj, k)) { 280 return false;
vendor: 11,930 bytes, lines 281-677
281 } 282 } 283 return true; 284 } 285 } 286 287 function isUndefined(input) { 288 return input === void 0; 289 } 290 291 function isNumber(input) { 292 return ( 293 typeof input === 'number' || 294 Object.prototype.toString.call(input) === '[object Number]' 295 ); 296 } 297 298 function isDate(input) { 299 return ( 300 input instanceof Date || 301 Object.prototype.toString.call(input) === '[object Date]' 302 ); 303 } 304 305 function map(arr, fn) { 306 var res = [], 307 i; 308 for (i = 0; i < arr.length; ++i) { 309 res.push(fn(arr[i], i)); 310 } 311 return res; 312 } 313 314 function extend(a, b) { 315 for (var i in b) { 316 if (hasOwnProp(b, i)) { 317 a[i] = b[i]; 318 } 319 } 320 321 if (hasOwnProp(b, 'toString')) { 322 a.toString = b.toString; 323 } 324 325 if (hasOwnProp(b, 'valueOf')) { 326 a.valueOf = b.valueOf; 327 } 328 329 return a; 330 } 331 332 function createUTC(input, format, locale, strict) { 333 return createLocalOrUTC(input, format, locale, strict, true).utc(); 334 } 335 336 function defaultParsingFlags() { 337 // We need to deep clone this object. 338 return { 339 empty: false, 340 unusedTokens: [], 341 unusedInput: [], 342 overflow: -2, 343 charsLeftOver: 0, 344 nullInput: false, 345 invalidEra: null, 346 invalidMonth: null, 347 invalidFormat: false, 348 userInvalidated: false, 349 iso: false, 350 parsedDateParts: [], 351 era: null, 352 meridiem: null, 353 rfc2822: false, 354 weekdayMismatch: false, 355 }; 356 } 357 358 function getParsingFlags(m) { 359 if (m._pf == null) { 360 m._pf = defaultParsingFlags(); 361 } 362 return m._pf; 363 } 364 365 var some; 366 if (Array.prototype.some) { 367 some = Array.prototype.some; 368 } else { 369 some = function (fun) { 370 var t = Object(this), 371 len = t.length >>> 0, 372 i; 373 374 for (i = 0; i < len; i++) { 375 if (i in t && fun.call(this, t[i], i, t)) { 376 return true; 377 } 378 } 379 380 return false; 381 }; 382 } 383 384 function isValid(m) { 385 if (m._isValid == null) { 386 var flags = getParsingFlags(m), 387 parsedParts = some.call(flags.parsedDateParts, function (i) { 388 return i != null; 389 }), 390 isNowValid = 391 !isNaN(m._d.getTime()) && 392 flags.overflow < 0 && 393 !flags.empty && 394 !flags.invalidEra && 395 !flags.invalidMonth && 396 !flags.invalidWeekday && 397 !flags.weekdayMismatch && 398 !flags.nullInput && 399 !flags.invalidFormat && 400 !flags.userInvalidated && 401 (!flags.meridiem || (flags.meridiem && parsedParts)); 402 403 if (m._strict) { 404 isNowValid = 405 isNowValid && 406 flags.charsLeftOver === 0 && 407 flags.unusedTokens.length === 0 && 408 flags.bigHour === undefined; 409 } 410 411 if (Object.isFrozen == null || !Object.isFrozen(m)) { 412 m._isValid = isNowValid; 413 } else { 414 return isNowValid; 415 } 416 } 417 return m._isValid; 418 } 419 420 function createInvalid(flags) { 421 var m = createUTC(NaN); 422 if (flags != null) { 423 extend(getParsingFlags(m), flags); 424 } else { 425 getParsingFlags(m).userInvalidated = true; 426 } 427 428 return m; 429 } 430 431 // Plugins that add properties should also add the key here (null value), 432 // so we can properly clone ourselves. 433 var momentProperties = (hooks.momentProperties = []), 434 updateInProgress = false; 435 436 function copyConfig(to, from) { 437 var i, prop, val; 438 439 if (!isUndefined(from._isAMomentObject)) { 440 to._isAMomentObject = from._isAMomentObject; 441 } 442 if (!isUndefined(from._i)) { 443 to._i = from._i; 444 } 445 if (!isUndefined(from._f)) { 446 to._f = from._f; 447 } 448 if (!isUndefined(from._l)) { 449 to._l = from._l; 450 } 451 if (!isUndefined(from._strict)) { 452 to._strict = from._strict; 453 } 454 if (!isUndefined(from._tzm)) { 455 to._tzm = from._tzm; 456 } 457 if (!isUndefined(from._isUTC)) { 458 to._isUTC = from._isUTC; 459 } 460 if (!isUndefined(from._offset)) { 461 to._offset = from._offset; 462 } 463 if (!isUndefined(from._pf)) { 464 to._pf = getParsingFlags(from); 465 } 466 if (!isUndefined(from._locale)) { 467 to._locale = from._locale; 468 } 469 470 if (momentProperties.length > 0) { 471 for (i = 0; i < momentProperties.length; i++) { 472 prop = momentProperties[i]; 473 val = from[prop]; 474 if (!isUndefined(val)) { 475 to[prop] = val; 476 } 477 } 478 } 479 480 return to; 481 } 482 483 // Moment prototype object 484 function Moment(config) { 485 copyConfig(this, config); 486 this._d = new Date(config._d != null ? config._d.getTime() : NaN); 487 if (!this.isValid()) { 488 this._d = new Date(NaN); 489 } 490 // Prevent infinite loop in case updateOffset creates new moment 491 // objects. 492 if (updateInProgress === false) { 493 updateInProgress = true; 494 hooks.updateOffset(this); 495 updateInProgress = false; 496 } 497 } 498 499 function isMoment(obj) { 500 return ( 501 obj instanceof Moment || (obj != null && obj._isAMomentObject != null) 502 ); 503 } 504 505 function warn(msg) { 506 if ( 507 hooks.suppressDeprecationWarnings === false && 508 typeof console !== 'undefined' && 509 console.warn 510 ) { 511 console.warn('Deprecation warning: ' + msg); 512 } 513 } 514 515 function deprecate(msg, fn) { 516 var firstTime = true; 517 518 return extend(function () { 519 if (hooks.deprecationHandler != null) { 520 hooks.deprecationHandler(null, msg); 521 } 522 if (firstTime) { 523 var args = [], 524 arg, 525 i, 526 key; 527 for (i = 0; i < arguments.length; i++) { 528 arg = ''; 529 if (typeof arguments[i] === 'object') { 530 arg += '\n[' + i + '] '; 531 for (key in arguments[0]) { 532 if (hasOwnProp(arguments[0], key)) { 533 arg += key + ': ' + arguments[0][key] + ', '; 534 } 535 } 536 arg = arg.slice(0, -2); // Remove trailing comma and space 537 } else { 538 arg = arguments[i]; 539 } 540 args.push(arg); 541 } 542 warn( 543 msg + 544 '\nArguments: ' + 545 Array.prototype.slice.call(args).join('') + 546 '\n' + 547 new Error().stack 548 ); 549 firstTime = false; 550 } 551 return fn.apply(this, arguments); 552 }, fn); 553 } 554 555 var deprecations = {}; 556 557 function deprecateSimple(name, msg) { 558 if (hooks.deprecationHandler != null) { 559 hooks.deprecationHandler(name, msg); 560 } 561 if (!deprecations[name]) { 562 warn(msg); 563 deprecations[name] = true; 564 } 565 } 566 567 hooks.suppressDeprecationWarnings = false; 568 hooks.deprecationHandler = null; 569 570 function isFunction(input) { 571 return ( 572 (typeof Function !== 'undefined' && input instanceof Function) || 573 Object.prototype.toString.call(input) === '[object Function]' 574 ); 575 } 576 577 function set(config) { 578 var prop, i; 579 for (i in config) { 580 if (hasOwnProp(config, i)) { 581 prop = config[i]; 582 if (isFunction(prop)) { 583 this[i] = prop; 584 } else { 585 this['_' + i] = prop; 586 } 587 } 588 } 589 this._config = config; 590 // Lenient ordinal parsing accepts just a number in addition to 591 // number + (possibly) stuff coming from _dayOfMonthOrdinalParse. 592 // TODO: Remove "ordinalParse" fallback in next major release. 593 this._dayOfMonthOrdinalParseLenient = new RegExp( 594 (this._dayOfMonthOrdinalParse.source || this._ordinalParse.source) + 595 '|' + 596 /\d{1,2}/.source 597 ); 598 } 599 600 function mergeConfigs(parentConfig, childConfig) { 601 var res = extend({}, parentConfig), 602 prop; 603 for (prop in childConfig) { 604 if (hasOwnProp(childConfig, prop)) { 605 if (isObject(parentConfig[prop]) && isObject(childConfig[prop])) { 606 res[prop] = {}; 607 extend(res[prop], parentConfig[prop]); 608 extend(res[prop], childConfig[prop]); 609 } else if (childConfig[prop] != null) { 610 res[prop] = childConfig[prop]; 611 } else { 612 delete res[prop]; 613 } 614 } 615 } 616 for (prop in parentConfig) { 617 if ( 618 hasOwnProp(parentConfig, prop) && 619 !hasOwnProp(childConfig, prop) && 620 isObject(parentConfig[prop]) 621 ) { 622 // make sure changes to properties don't modify parent config 623 res[prop] = extend({}, res[prop]); 624 } 625 } 626 return res; 627 } 628 629 function Locale(config) { 630 if (config != null) { 631 this.set(config); 632 } 633 } 634 635 var keys; 636 637 if (Object.keys) { 638 keys = Object.keys; 639 } else { 640 keys = function (obj) { 641 var i, 642 res = []; 643 for (i in obj) { 644 if (hasOwnProp(obj, i)) { 645 res.push(i); 646 } 647 } 648 return res; 649 }; 650 } 651 652 var defaultCalendar = { 653 sameDay: '[Today at] LT', 654 nextDay: '[Tomorrow at] LT', 655 nextWeek: 'dddd [at] LT', 656 lastDay: '[Yesterday at] LT', 657 lastWeek: '[Last] dddd [at] LT', 658 sameElse: 'L', 659 }; 660 661 function calendar(key, mom, now) { 662 var output = this._calendar[key] || this._calendar['sameElse']; 663 return isFunction(output) ? output.call(mom, now) : output; 664 } 665 666 function zeroFill(number, targetLength, forceSign) { 667 var absNumber = '' + Math.abs(number), 668 zerosToFill = targetLength - absNumber.length, 669 sign = number >= 0; 670 return ( 671 (sign ? (forceSign ? '+' : '') : '-') + 672 Math.pow(10, Math.max(0, zerosToFill)).toString().substr(1) + 673 absNumber 674 ); 675 } 676 677 var formattingTokens = /(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}
vendor: 3,984 bytes, lines 677-812
677|x|X|zz?|ZZ?|.)/g, 678 localFormattingTokens = /(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g, 679 formatFunctions = {}, 680 formatTokenFunctions = {}; 681 682 // token: 'M' 683 // padded: ['MM', 2] 684 // ordinal: 'Mo' 685 // callback: function () { this.month() + 1 } 686 function addFormatToken(token, padded, ordinal, callback) { 687 var func = callback; 688 if (typeof callback === 'string') { 689 func = function () { 690 return this[callback](); 691 }; 692 } 693 if (token) { 694 formatTokenFunctions[token] = func; 695 } 696 if (padded) { 697 formatTokenFunctions[padded[0]] = function () { 698 return zeroFill(func.apply(this, arguments), padded[1], padded[2]); 699 }; 700 } 701 if (ordinal) { 702 formatTokenFunctions[ordinal] = function () { 703 return this.localeData().ordinal( 704 func.apply(this, arguments), 705 token 706 ); 707 }; 708 } 709 } 710 711 function removeFormattingTokens(input) { 712 if (input.match(/\[[\s\S]/)) { 713 return input.replace(/^\[|\]$/g, ''); 714 } 715 return input.replace(/\\/g, ''); 716 } 717 718 function makeFormatFunction(format) { 719 var array = format.match(formattingTokens), 720 i, 721 length; 722 723 for (i = 0, length = array.length; i < length; i++) { 724 if (formatTokenFunctions[array[i]]) { 725 array[i] = formatTokenFunctions[array[i]]; 726 } else { 727 array[i] = removeFormattingTokens(array[i]); 728 } 729 } 730 731 return function (mom) { 732 var output = '', 733 i; 734 for (i = 0; i < length; i++) { 735 output += isFunction(array[i]) 736 ? array[i].call(mom, format) 737 : array[i]; 738 } 739 return output; 740 }; 741 } 742 743 // format date using native date object 744 function formatMoment(m, format) { 745 if (!m.isValid()) { 746 return m.localeData().invalidDate(); 747 } 748 749 format = expandFormat(format, m.localeData()); 750 formatFunctions[format] = 751 formatFunctions[format] || makeFormatFunction(format); 752 753 return formatFunctions[format](m); 754 } 755 756 function expandFormat(format, locale) { 757 var i = 5; 758 759 function replaceLongDateFormatTokens(input) { 760 return locale.longDateFormat(input) || input; 761 } 762 763 localFormattingTokens.lastIndex = 0; 764 while (i >= 0 && localFormattingTokens.test(format)) { 765 format = format.replace( 766 localFormattingTokens, 767 replaceLongDateFormatTokens 768 ); 769 localFormattingTokens.lastIndex = 0; 770 i -= 1; 771 } 772 773 return format; 774 } 775 776 var defaultLongDateFormat = { 777 LTS: 'h:mm:ss A', 778 LT: 'h:mm A', 779 L: 'MM/DD/YYYY', 780 LL: 'MMMM D, YYYY', 781 LLL: 'MMMM D, YYYY h:mm A', 782 LLLL: 'dddd, MMMM D, YYYY h:mm A', 783 }; 784 785 function longDateFormat(key) { 786 var format = this._longDateFormat[key], 787 formatUpper = this._longDateFormat[key.toUpperCase()]; 788 789 if (format || !formatUpper) { 790 return format; 791 } 792 793 this._longDateFormat[key] = formatUpper 794 .match(formattingTokens) 795 .map(function (tok) { 796 if ( 797 tok === 'MMMM' || 798 tok === 'MM' || 799 tok === 'DD' || 800 tok === 'dddd' 801 ) { 802 return tok.slice(1); 803 } 804 return tok; 805 }) 806 .join(''); 807 808 return this._longDateFormat[key]; 809 } 810 811 var defaultInvalidDate = 'Invalid date'; 812
vendor: 15,120 bytes, lines 813-1298
813 function invalidDate() { 814 return this._invalidDate; 815 } 816 817 var defaultOrdinal = '%d', 818 defaultDayOfMonthOrdinalParse = /\d{1,2}/; 819 820 function ordinal(number) { 821 return this._ordinal.replace('%d', number); 822 } 823 824 var defaultRelativeTime = { 825 future: 'in %s', 826 past: '%s ago', 827 s: 'a few seconds', 828 ss: '%d seconds', 829 m: 'a minute', 830 mm: '%d minutes', 831 h: 'an hour', 832 hh: '%d hours', 833 d: 'a day', 834 dd: '%d days', 835 w: 'a week', 836 ww: '%d weeks', 837 M: 'a month', 838 MM: '%d months', 839 y: 'a year', 840 yy: '%d years', 841 }; 842 843 function relativeTime(number, withoutSuffix, string, isFuture) { 844 var output = this._relativeTime[string]; 845 return isFunction(output) 846 ? output(number, withoutSuffix, string, isFuture) 847 : output.replace(/%d/i, number); 848 } 849 850 function pastFuture(diff, output) { 851 var format = this._relativeTime[diff > 0 ? 'future' : 'past']; 852 return isFunction(format) ? format(output) : format.replace(/%s/i, output); 853 } 854 855 var aliases = {}; 856 857 function addUnitAlias(unit, shorthand) { 858 var lowerCase = unit.toLowerCase(); 859 aliases[lowerCase] = aliases[lowerCase + 's'] = aliases[shorthand] = unit; 860 } 861 862 function normalizeUnits(units) { 863 return typeof units === 'string' 864 ? aliases[units] || aliases[units.toLowerCase()] 865 : undefined; 866 } 867 868 function normalizeObjectUnits(inputObject) { 869 var normalizedInput = {}, 870 normalizedProp, 871 prop; 872 873 for (prop in inputObject) { 874 if (hasOwnProp(inputObject, prop)) { 875 normalizedProp = normalizeUnits(prop); 876 if (normalizedProp) { 877 normalizedInput[normalizedProp] = inputObject[prop]; 878 } 879 } 880 } 881 882 return normalizedInput; 883 } 884 885 var priorities = {}; 886 887 function addUnitPriority(unit, priority) { 888 priorities[unit] = priority; 889 } 890 891 function getPrioritizedUnits(unitsObj) { 892 var units = [], 893 u; 894 for (u in unitsObj) { 895 if (hasOwnProp(unitsObj, u)) { 896 units.push({ unit: u, priority: priorities[u] }); 897 } 898 } 899 units.sort(function (a, b) { 900 return a.priority - b.priority; 901 }); 902 return units; 903 } 904 905 function isLeapYear(year) { 906 return (year % 4 === 0 && year % 100 !== 0) || year % 400 === 0; 907 } 908 909 function absFloor(number) { 910 if (number < 0) { 911 // -0 -> 0 912 return Math.ceil(number) || 0; 913 } else { 914 return Math.floor(number); 915 } 916 } 917 918 function toInt(argumentForCoercion) { 919 var coercedNumber = +argumentForCoercion, 920 value = 0; 921 922 if (coercedNumber !== 0 && isFinite(coercedNumber)) { 923 value = absFloor(coercedNumber); 924 } 925 926 return value; 927 } 928 929 function makeGetSet(unit, keepTime) { 930 return function (value) { 931 if (value != null) { 932 set$1(this, unit, value); 933 hooks.updateOffset(this, keepTime); 934 return this; 935 } else { 936 return get(this, unit); 937 } 938 }; 939 } 940 941 function get(mom, unit) { 942 return mom.isValid() 943 ? mom._d['get' + (mom._isUTC ? 'UTC' : '') + unit]() 944 : NaN; 945 } 946 947 function set$1(mom, unit, value) { 948 if (mom.isValid() && !isNaN(value)) { 949 if ( 950 unit === 'FullYear' && 951 isLeapYear(mom.year()) && 952 mom.month() === 1 && 953 mom.date() === 29 954 ) { 955 value = toInt(value); 956 mom._d['set' + (mom._isUTC ? 'UTC' : '') + unit]( 957 value, 958 mom.month(), 959 daysInMonth(value, mom.month()) 960 ); 961 } else { 962 mom._d['set' + (mom._isUTC ? 'UTC' : '') + unit](value); 963 } 964 } 965 } 966 967 // MOMENTS 968 969 function stringGet(units) { 970 units = normalizeUnits(units); 971 if (isFunction(this[units])) { 972 return this[units](); 973 } 974 return this; 975 } 976 977 function stringSet(units, value) { 978 if (typeof units === 'object') { 979 units = normalizeObjectUnits(units); 980 var prioritized = getPrioritizedUnits(units), 981 i; 982 for (i = 0; i < prioritized.length; i++) { 983 this[prioritized[i].unit](units[prioritized[i].unit]); 984 } 985 } else { 986 units = normalizeUnits(units); 987 if (isFunction(this[units])) { 988 return this[units](value); 989 } 990 } 991 return this; 992 } 993 994 var match1 = /\d/, // 0 - 9 995 match2 = /\d\d/, // 00 - 99 996 match3 = /\d{3}/, // 000 - 999 997 match4 = /\d{4}/, // 0000 - 9999 998 match6 = /[+-]?\d{6}/, // -999999 - 999999 999 match1to2 = /\d\d?/, // 0 - 99 1000 match3to4 = /\d\d\d\d?/, // 999 - 9999 1001 match5to6 = /\d\d\d\d\d\d?/, // 99999 - 999999 1002 match1to3 = /\d{1,3}/, // 0 - 999 1003 match1to4 = /\d{1,4}/, // 0 - 9999 1004 match1to6 = /[+-]?\d{1,6}/, // -999999 - 999999 1005 matchUnsigned = /\d+/, // 0 - inf 1006 matchSigned = /[+-]?\d+/, // -inf - inf 1007 matchOffset = /Z|[+-]\d\d:?\d\d/gi, // +00:00 -00:00 +0000 -0000 or Z 1008 matchShortOffset = /Z|[+-]\d\d(?::?\d\d)?/gi, // +00 -00 +00:00 -00:00 +0000 -0000 or Z 1009 matchTimestamp = /[+-]?\d+(\.\d{1,3})?/, // 123456789 123456789.123 1010 // any word (or two) characters or numbers including two/three word month in arabic. 1011 // includes scottish gaelic two word and hyphenated months 1012 matchWord = /[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i, 1013 regexes; 1014 1015 regexes = {}; 1016 1017 function addRegexToken(token, regex, strictRegex) { 1018 regexes[token] = isFunction(regex) 1019 ? regex 1020 : function (isStrict, localeData) { 1021 return isStrict && strictRegex ? strictRegex : regex; 1022 }; 1023 } 1024 1025 function getParseRegexForToken(token, config) { 1026 if (!hasOwnProp(regexes, token)) { 1027 return new RegExp(unescapeFormat(token)); 1028 } 1029 1030 return regexes[token](config._strict, config._locale); 1031 } 1032 1033 // Code from http://stackoverflow.com/questions/3561493/is-there-a-regexp-escape-function-in-javascript 1034 function unescapeFormat(s) { 1035 return regexEscape( 1036 s 1037 .replace('\\', '') 1038 .replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g, function ( 1039 matched, 1040 p1, 1041 p2, 1042 p3, 1043 p4 1044 ) { 1045 return p1 || p2 || p3 || p4; 1046 }) 1047 ); 1048 } 1049 1050 function regexEscape(s) { 1051 return s.replace(/[-\/\\^$*+?.()|[\]{}]/g, '\\$&'); 1052 } 1053 1054 var tokens = {}; 1055 1056 function addParseToken(token, callback) { 1057 var i, 1058 func = callback; 1059 if (typeof token === 'string') { 1060 token = [token]; 1061 } 1062 if (isNumber(callback)) { 1063 func = function (input, array) { 1064 array[callback] = toInt(input); 1065 }; 1066 } 1067 for (i = 0; i < token.length; i++) { 1068 tokens[token[i]] = func; 1069 } 1070 } 1071 1072 function addWeekParseToken(token, callback) { 1073 addParseToken(token, function (input, array, config, token) { 1074 config._w = config._w || {}; 1075 callback(input, config._w, config, token); 1076 }); 1077 } 1078 1079 function addTimeToArrayFromToken(token, input, config) { 1080 if (input != null && hasOwnProp(tokens, token)) { 1081 tokens[token](input, config._a, config, token); 1082 } 1083 } 1084 1085 var YEAR = 0, 1086 MONTH = 1, 1087 DATE = 2, 1088 HOUR = 3, 1089 MINUTE = 4, 1090 SECOND = 5, 1091 MILLISECOND = 6, 1092 WEEK = 7, 1093 WEEKDAY = 8; 1094 1095 function mod(n, x) { 1096 return ((n % x) + x) % x; 1097 } 1098 1099 var indexOf; 1100 1101 if (Array.prototype.indexOf) { 1102 indexOf = Array.prototype.indexOf; 1103 } else { 1104 indexOf = function (o) { 1105 // I know 1106 var i; 1107 for (i = 0; i < this.length; ++i) { 1108 if (this[i] === o) { 1109 return i; 1110 } 1111 } 1112 return -1; 1113 }; 1114 } 1115 1116 function daysInMonth(year, month) { 1117 if (isNaN(year) || isNaN(month)) { 1118 return NaN; 1119 } 1120 var modMonth = mod(month, 12); 1121 year += (month - modMonth) / 12; 1122 return modMonth === 1 1123 ? isLeapYear(year) 1124 ? 29 1125 : 28 1126 : 31 - ((modMonth % 7) % 2); 1127 } 1128 1129 // FORMATTING 1130 1131 addFormatToken('M', ['MM', 2], 'Mo', function () { 1132 return this.month() + 1; 1133 }); 1134 1135 addFormatToken('MMM', 0, 0, function (format) { 1136 return this.localeData().monthsShort(this, format); 1137 }); 1138 1139 addFormatToken('MMMM', 0, 0, function (format) { 1140 return this.localeData().months(this, format); 1141 }); 1142 1143 // ALIASES 1144 1145 addUnitAlias('month', 'M'); 1146 1147 // PRIORITY 1148 1149 addUnitPriority('month', 8); 1150 1151 // PARSING 1152 1153 addRegexToken('M', match1to2); 1154 addRegexToken('MM', match1to2, match2); 1155 addRegexToken('MMM', function (isStrict, locale) { 1156 return locale.monthsShortRegex(isStrict); 1157 }); 1158 addRegexToken('MMMM', function (isStrict, locale) { 1159 return locale.monthsRegex(isStrict); 1160 }); 1161 1162 addParseToken(['M', 'MM'], function (input, array) { 1163 array[MONTH] = toInt(input) - 1; 1164 }); 1165 1166 addParseToken(['MMM', 'MMMM'], function (input, array, config, token) { 1167 var month = config._locale.monthsParse(input, token, config._strict); 1168 // if we didn't find a month name, mark the date as invalid. 1169 if (month != null) { 1170 array[MONTH] = month; 1171 } else { 1172 getParsingFlags(config).invalidMonth = input; 1173 } 1174 }); 1175 1176 // LOCALES 1177 1178 var defaultLocaleMonths = 'January_February_March_April_May_June_July_August_September_October_November_December'.split( 1179 '_' 1180 ), 1181 defaultLocaleMonthsShort = 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split( 1182 '_' 1183 ), 1184 MONTHS_IN_FORMAT = /D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/, 1185 defaultMonthsShortRegex = matchWord, 1186 defaultMonthsRegex = matchWord; 1187 1188 function localeMonths(m, format) { 1189 if (!m) { 1190 return isArray(this._months) 1191 ? this._months 1192 : this._months['standalone']; 1193 } 1194 return isArray(this._months) 1195 ? this._months[m.month()] 1196 : this._months[ 1197 (this._months.isFormat || MONTHS_IN_FORMAT).test(format) 1198 ? 'format' 1199 : 'standalone' 1200 ][m.month()]; 1201 } 1202 1203 function localeMonthsShort(m, format) { 1204 if (!m) { 1205 return isArray(this._monthsShort) 1206 ? this._monthsShort 1207 : this._monthsShort['standalone']; 1208 } 1209 return isArray(this._monthsShort) 1210 ? this._monthsShort[m.month()] 1211 : this._monthsShort[ 1212 MONTHS_IN_FORMAT.test(format) ? 'format' : 'standalone' 1213 ][m.month()]; 1214 } 1215 1216 function handleStrictParse(monthName, format, strict) { 1217 var i, 1218 ii, 1219 mom, 1220 llc = monthName.toLocaleLowerCase(); 1221 if (!this._monthsParse) { 1222 // this is not used 1223 this._monthsParse = []; 1224 this._longMonthsParse = []; 1225 this._shortMonthsParse = []; 1226 for (i = 0; i < 12; ++i) { 1227 mom = createUTC([2000, i]); 1228 this._shortMonthsParse[i] = this.monthsShort( 1229 mom, 1230 '' 1231 ).toLocaleLowerCase(); 1232 this._longMonthsParse[i] = this.months(mom, '').toLocaleLowerCase(); 1233 } 1234 } 1235 1236 if (strict) { 1237 if (format === 'MMM') { 1238 ii = indexOf.call(this._shortMonthsParse, llc); 1239 return ii !== -1 ? ii : null; 1240 } else { 1241 ii = indexOf.call(this._longMonthsParse, llc); 1242 return ii !== -1 ? ii : null; 1243 } 1244 } else { 1245 if (format === 'MMM') { 1246 ii = indexOf.call(this._shortMonthsParse, llc); 1247 if (ii !== -1) { 1248 return ii; 1249 } 1250 ii = indexOf.call(this._longMonthsParse, llc); 1251 return ii !== -1 ? ii : null; 1252 } else { 1253 ii = indexOf.call(this._longMonthsParse, llc); 1254 if (ii !== -1) { 1255 return ii; 1256 } 1257 ii = indexOf.call(this._shortMonthsParse, llc); 1258 return ii !== -1 ? ii : null; 1259 } 1260 } 1261 } 1262 1263 function localeMonthsParse(monthName, format, strict) { 1264 var i, mom, regex; 1265 1266 if (this._monthsParseExact) { 1267 return handleStrictParse.call(this, monthName, format, strict); 1268 } 1269 1270 if (!this._monthsParse) { 1271 this._monthsParse = []; 1272 this._longMonthsParse = []; 1273 this._shortMonthsParse = []; 1274 } 1275 1276 // TODO: add sorting 1277 // Sorting makes sure if one month (or abbr) is a prefix of another 1278 // see sorting in computeMonthsParse 1279 for (i = 0; i < 12; i++) { 1280 // make the regex if we don't have it already 1281 mom = createUTC([2000, i]); 1282 if (strict && !this._longMonthsParse[i]) { 1283 this._longMonthsParse[i] = new RegExp( 1284 '^' + this.months(mom, '').replace('.', '') + '$', 1285 'i' 1286 ); 1287 this._shortMonthsParse[i] = new RegExp( 1288 '^' + this.monthsShort(mom, '').replace('.', '') + '$', 1289 'i' 1290 ); 1291 } 1292 if (!strict && !this._monthsParse[i]) { 1293 regex = 1294 '^' + this.months(mom, '') + '|^' + this.monthsShort(mom, ''); 1295 this._monthsParse[i] = new RegExp(regex.replace('.', ''), 'i'); 1296 } 1297 // test the regex 1298 if (
vendor: 29,020 bytes, lines 1299-2212
1299 strict && 1300 format === 'MMMM' && 1301 this._longMonthsParse[i].test(monthName) 1302 ) { 1303 return i; 1304 } else if ( 1305 strict && 1306 format === 'MMM' && 1307 this._shortMonthsParse[i].test(monthName) 1308 ) { 1309 return i; 1310 } else if (!strict && this._monthsParse[i].test(monthName)) { 1311 return i; 1312 } 1313 } 1314 } 1315 1316 // MOMENTS 1317 1318 function setMonth(mom, value) { 1319 var dayOfMonth; 1320 1321 if (!mom.isValid()) { 1322 // No op 1323 return mom; 1324 } 1325 1326 if (typeof value === 'string') { 1327 if (/^\d+$/.test(value)) { 1328 value = toInt(value); 1329 } else { 1330 value = mom.localeData().monthsParse(value); 1331 // TODO: Another silent failure? 1332 if (!isNumber(value)) { 1333 return mom; 1334 } 1335 } 1336 } 1337 1338 dayOfMonth = Math.min(mom.date(), daysInMonth(mom.year(), value)); 1339 mom._d['set' + (mom._isUTC ? 'UTC' : '') + 'Month'](value, dayOfMonth); 1340 return mom; 1341 } 1342 1343 function getSetMonth(value) { 1344 if (value != null) { 1345 setMonth(this, value); 1346 hooks.updateOffset(this, true); 1347 return this; 1348 } else { 1349 return get(this, 'Month'); 1350 } 1351 } 1352 1353 function getDaysInMonth() { 1354 return daysInMonth(this.year(), this.month()); 1355 } 1356 1357 function monthsShortRegex(isStrict) { 1358 if (this._monthsParseExact) { 1359 if (!hasOwnProp(this, '_monthsRegex')) { 1360 computeMonthsParse.call(this); 1361 } 1362 if (isStrict) { 1363 return this._monthsShortStrictRegex; 1364 } else { 1365 return this._monthsShortRegex; 1366 } 1367 } else { 1368 if (!hasOwnProp(this, '_monthsShortRegex')) { 1369 this._monthsShortRegex = defaultMonthsShortRegex; 1370 } 1371 return this._monthsShortStrictRegex && isStrict 1372 ? this._monthsShortStrictRegex 1373 : this._monthsShortRegex; 1374 } 1375 } 1376 1377 function monthsRegex(isStrict) { 1378 if (this._monthsParseExact) { 1379 if (!hasOwnProp(this, '_monthsRegex')) { 1380 computeMonthsParse.call(this); 1381 } 1382 if (isStrict) { 1383 return this._monthsStrictRegex; 1384 } else { 1385 return this._monthsRegex; 1386 } 1387 } else { 1388 if (!hasOwnProp(this, '_monthsRegex')) { 1389 this._monthsRegex = defaultMonthsRegex; 1390 } 1391 return this._monthsStrictRegex && isStrict 1392 ? this._monthsStrictRegex 1393 : this._monthsRegex; 1394 } 1395 } 1396 1397 function computeMonthsParse() { 1398 function cmpLenRev(a, b) { 1399 return b.length - a.length; 1400 } 1401 1402 var shortPieces = [], 1403 longPieces = [], 1404 mixedPieces = [], 1405 i, 1406 mom; 1407 for (i = 0; i < 12; i++) { 1408 // make the regex if we don't have it already 1409 mom = createUTC([2000, i]); 1410 shortPieces.push(this.monthsShort(mom, '')); 1411 longPieces.push(this.months(mom, '')); 1412 mixedPieces.push(this.months(mom, '')); 1413 mixedPieces.push(this.monthsShort(mom, '')); 1414 } 1415 // Sorting makes sure if one month (or abbr) is a prefix of another it 1416 // will match the longer piece. 1417 shortPieces.sort(cmpLenRev); 1418 longPieces.sort(cmpLenRev); 1419 mixedPieces.sort(cmpLenRev); 1420 for (i = 0; i < 12; i++) { 1421 shortPieces[i] = regexEscape(shortPieces[i]); 1422 longPieces[i] = regexEscape(longPieces[i]); 1423 } 1424 for (i = 0; i < 24; i++) { 1425 mixedPieces[i] = regexEscape(mixedPieces[i]); 1426 } 1427 1428 this._monthsRegex = new RegExp('^(' + mixedPieces.join('|') + ')', 'i'); 1429 this._monthsShortRegex = this._monthsRegex; 1430 this._monthsStrictRegex = new RegExp( 1431 '^(' + longPieces.join('|') + ')', 1432 'i' 1433 ); 1434 this._monthsShortStrictRegex = new RegExp( 1435 '^(' + shortPieces.join('|') + ')', 1436 'i' 1437 ); 1438 } 1439 1440 // FORMATTING 1441 1442 addFormatToken('Y', 0, 0, function () { 1443 var y = this.year(); 1444 return y <= 9999 ? zeroFill(y, 4) : '+' + y; 1445 }); 1446 1447 addFormatToken(0, ['YY', 2], 0, function () { 1448 return this.year() % 100; 1449 }); 1450 1451 addFormatToken(0, ['YYYY', 4], 0, 'year'); 1452 addFormatToken(0, ['YYYYY', 5], 0, 'year'); 1453 addFormatToken(0, ['YYYYYY', 6, true], 0, 'year'); 1454 1455 // ALIASES 1456 1457 addUnitAlias('year', 'y'); 1458 1459 // PRIORITIES 1460 1461 addUnitPriority('year', 1); 1462 1463 // PARSING 1464 1465 addRegexToken('Y', matchSigned); 1466 addRegexToken('YY', match1to2, match2); 1467 addRegexToken('YYYY', match1to4, match4); 1468 addRegexToken('YYYYY', match1to6, match6); 1469 addRegexToken('YYYYYY', match1to6, match6); 1470 1471 addParseToken(['YYYYY', 'YYYYYY'], YEAR); 1472 addParseToken('YYYY', function (input, array) { 1473 array[YEAR] = 1474 input.length === 2 ? hooks.parseTwoDigitYear(input) : toInt(input); 1475 }); 1476 addParseToken('YY', function (input, array) { 1477 array[YEAR] = hooks.parseTwoDigitYear(input); 1478 }); 1479 addParseToken('Y', function (input, array) { 1480 array[YEAR] = parseInt(input, 10); 1481 }); 1482 1483 // HELPERS 1484 1485 function daysInYear(year) { 1486 return isLeapYear(year) ? 366 : 365; 1487 } 1488 1489 // HOOKS 1490 1491 hooks.parseTwoDigitYear = function (input) { 1492 return toInt(input) + (toInt(input) > 68 ? 1900 : 2000); 1493 }; 1494 1495 // MOMENTS 1496 1497 var getSetYear = makeGetSet('FullYear', true); 1498 1499 function getIsLeapYear() { 1500 return isLeapYear(this.year()); 1501 } 1502 1503 function createDate(y, m, d, h, M, s, ms) { 1504 // can't just apply() to create a date: 1505 // https://stackoverflow.com/q/181348 1506 var date; 1507 // the date constructor remaps years 0-99 to 1900-1999 1508 if (y < 100 && y >= 0) { 1509 // preserve leap years using a full 400 year cycle, then reset 1510 date = new Date(y + 400, m, d, h, M, s, ms); 1511 if (isFinite(date.getFullYear())) { 1512 date.setFullYear(y); 1513 } 1514 } else { 1515 date = new Date(y, m, d, h, M, s, ms); 1516 } 1517 1518 return date; 1519 } 1520 1521 function createUTCDate(y) { 1522 var date, args; 1523 // the Date.UTC function remaps years 0-99 to 1900-1999 1524 if (y < 100 && y >= 0) { 1525 args = Array.prototype.slice.call(arguments); 1526 // preserve leap years using a full 400 year cycle, then reset 1527 args[0] = y + 400; 1528 date = new Date(Date.UTC.apply(null, args)); 1529 if (isFinite(date.getUTCFullYear())) { 1530 date.setUTCFullYear(y); 1531 } 1532 } else { 1533 date = new Date(Date.UTC.apply(null, arguments)); 1534 } 1535 1536 return date; 1537 } 1538 1539 // start-of-first-week - start-of-year 1540 function firstWeekOffset(year, dow, doy) { 1541 var // first-week day -- which january is always in the first week (4 for iso, 1 for other) 1542 fwd = 7 + dow - doy, 1543 // first-week day local weekday -- which local weekday is fwd 1544 fwdlw = (7 + createUTCDate(year, 0, fwd).getUTCDay() - dow) % 7; 1545 1546 return -fwdlw + fwd - 1; 1547 } 1548 1549 // https://en.wikipedia.org/wiki/ISO_week_date#Calculating_a_date_given_the_year.2C_week_number_and_weekday 1550 function dayOfYearFromWeeks(year, week, weekday, dow, doy) { 1551 var localWeekday = (7 + weekday - dow) % 7, 1552 weekOffset = firstWeekOffset(year, dow, doy), 1553 dayOfYear = 1 + 7 * (week - 1) + localWeekday + weekOffset, 1554 resYear, 1555 resDayOfYear; 1556 1557 if (dayOfYear <= 0) { 1558 resYear = year - 1; 1559 resDayOfYear = daysInYear(resYear) + dayOfYear; 1560 } else if (dayOfYear > daysInYear(year)) { 1561 resYear = year + 1; 1562 resDayOfYear = dayOfYear - daysInYear(year); 1563 } else { 1564 resYear = year; 1565 resDayOfYear = dayOfYear; 1566 } 1567 1568 return { 1569 year: resYear, 1570 dayOfYear: resDayOfYear, 1571 }; 1572 } 1573 1574 function weekOfYear(mom, dow, doy) { 1575 var weekOffset = firstWeekOffset(mom.year(), dow, doy), 1576 week = Math.floor((mom.dayOfYear() - weekOffset - 1) / 7) + 1, 1577 resWeek, 1578 resYear; 1579 1580 if (week < 1) { 1581 resYear = mom.year() - 1; 1582 resWeek = week + weeksInYear(resYear, dow, doy); 1583 } else if (week > weeksInYear(mom.year(), dow, doy)) { 1584 resWeek = week - weeksInYear(mom.year(), dow, doy); 1585 resYear = mom.year() + 1; 1586 } else { 1587 resYear = mom.year(); 1588 resWeek = week; 1589 } 1590 1591 return { 1592 week: resWeek, 1593 year: resYear, 1594 }; 1595 } 1596 1597 function weeksInYear(year, dow, doy) { 1598 var weekOffset = firstWeekOffset(year, dow, doy), 1599 weekOffsetNext = firstWeekOffset(year + 1, dow, doy); 1600 return (daysInYear(year) - weekOffset + weekOffsetNext) / 7; 1601 } 1602 1603 // FORMATTING 1604 1605 addFormatToken('w', ['ww', 2], 'wo', 'week'); 1606 addFormatToken('W', ['WW', 2], 'Wo', 'isoWeek'); 1607 1608 // ALIASES 1609 1610 addUnitAlias('week', 'w'); 1611 addUnitAlias('isoWeek', 'W'); 1612 1613 // PRIORITIES 1614 1615 addUnitPriority('week', 5); 1616 addUnitPriority('isoWeek', 5); 1617 1618 // PARSING 1619 1620 addRegexToken('w', match1to2); 1621 addRegexToken('ww', match1to2, match2); 1622 addRegexToken('W', match1to2); 1623 addRegexToken('WW', match1to2, match2); 1624 1625 addWeekParseToken(['w', 'ww', 'W', 'WW'], function ( 1626 input, 1627 week, 1628 config, 1629 token 1630 ) { 1631 week[token.substr(0, 1)] = toInt(input); 1632 }); 1633 1634 // HELPERS 1635 1636 // LOCALES 1637 1638 function localeWeek(mom) { 1639 return weekOfYear(mom, this._week.dow, this._week.doy).week; 1640 } 1641 1642 var defaultLocaleWeek = { 1643 dow: 0, // Sunday is the first day of the week. 1644 doy: 6, // The week that contains Jan 6th is the first week of the year. 1645 }; 1646 1647 function localeFirstDayOfWeek() { 1648 return this._week.dow; 1649 } 1650 1651 function localeFirstDayOfYear() { 1652 return this._week.doy; 1653 } 1654 1655 // MOMENTS 1656 1657 function getSetWeek(input) { 1658 var week = this.localeData().week(this); 1659 return input == null ? week : this.add((input - week) * 7, 'd'); 1660 } 1661 1662 function getSetISOWeek(input) { 1663 var week = weekOfYear(this, 1, 4).week; 1664 return input == null ? week : this.add((input - week) * 7, 'd'); 1665 } 1666 1667 // FORMATTING 1668 1669 addFormatToken('d', 0, 'do', 'day'); 1670 1671 addFormatToken('dd', 0, 0, function (format) { 1672 return this.localeData().weekdaysMin(this, format); 1673 }); 1674 1675 addFormatToken('ddd', 0, 0, function (format) { 1676 return this.localeData().weekdaysShort(this, format); 1677 }); 1678 1679 addFormatToken('dddd', 0, 0, function (format) { 1680 return this.localeData().weekdays(this, format); 1681 }); 1682 1683 addFormatToken('e', 0, 0, 'weekday'); 1684 addFormatToken('E', 0, 0, 'isoWeekday'); 1685 1686 // ALIASES 1687 1688 addUnitAlias('day', 'd'); 1689 addUnitAlias('weekday', 'e'); 1690 addUnitAlias('isoWeekday', 'E'); 1691 1692 // PRIORITY 1693 addUnitPriority('day', 11); 1694 addUnitPriority('weekday', 11); 1695 addUnitPriority('isoWeekday', 11); 1696 1697 // PARSING 1698 1699 addRegexToken('d', match1to2); 1700 addRegexToken('e', match1to2); 1701 addRegexToken('E', match1to2); 1702 addRegexToken('dd', function (isStrict, locale) { 1703 return locale.weekdaysMinRegex(isStrict); 1704 }); 1705 addRegexToken('ddd', function (isStrict, locale) { 1706 return locale.weekdaysShortRegex(isStrict); 1707 }); 1708 addRegexToken('dddd', function (isStrict, locale) { 1709 return locale.weekdaysRegex(isStrict); 1710 }); 1711 1712 addWeekParseToken(['dd', 'ddd', 'dddd'], function (input, week, config, token) { 1713 var weekday = config._locale.weekdaysParse(input, token, config._strict); 1714 // if we didn't get a weekday name, mark the date as invalid 1715 if (weekday != null) { 1716 week.d = weekday; 1717 } else { 1718 getParsingFlags(config).invalidWeekday = input; 1719 } 1720 }); 1721 1722 addWeekParseToken(['d', 'e', 'E'], function (input, week, config, token) { 1723 week[token] = toInt(input); 1724 }); 1725 1726 // HELPERS 1727 1728 function parseWeekday(input, locale) { 1729 if (typeof input !== 'string') { 1730 return input; 1731 } 1732 1733 if (!isNaN(input)) { 1734 return parseInt(input, 10); 1735 } 1736 1737 input = locale.weekdaysParse(input); 1738 if (typeof input === 'number') { 1739 return input; 1740 } 1741 1742 return null; 1743 } 1744 1745 function parseIsoWeekday(input, locale) { 1746 if (typeof input === 'string') { 1747 return locale.weekdaysParse(input) % 7 || 7; 1748 } 1749 return isNaN(input) ? null : input; 1750 } 1751 1752 // LOCALES 1753 function shiftWeekdays(ws, n) { 1754 return ws.slice(n, 7).concat(ws.slice(0, n)); 1755 } 1756 1757 var defaultLocaleWeekdays = 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split( 1758 '_' 1759 ), 1760 defaultLocaleWeekdaysShort = 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'), 1761 defaultLocaleWeekdaysMin = 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'), 1762 defaultWeekdaysRegex = matchWord, 1763 defaultWeekdaysShortRegex = matchWord, 1764 defaultWeekdaysMinRegex = matchWord; 1765 1766 function localeWeekdays(m, format) { 1767 var weekdays = isArray(this._weekdays) 1768 ? this._weekdays 1769 : this._weekdays[ 1770 m && m !== true && this._weekdays.isFormat.test(format) 1771 ? 'format' 1772 : 'standalone' 1773 ]; 1774 return m === true 1775 ? shiftWeekdays(weekdays, this._week.dow) 1776 : m 1777 ? weekdays[m.day()] 1778 : weekdays; 1779 } 1780 1781 function localeWeekdaysShort(m) { 1782 return m === true 1783 ? shiftWeekdays(this._weekdaysShort, this._week.dow) 1784 : m 1785 ? this._weekdaysShort[m.day()] 1786 : this._weekdaysShort; 1787 } 1788 1789 function localeWeekdaysMin(m) { 1790 return m === true 1791 ? shiftWeekdays(this._weekdaysMin, this._week.dow) 1792 : m 1793 ? this._weekdaysMin[m.day()] 1794 : this._weekdaysMin; 1795 } 1796 1797 function handleStrictParse$1(weekdayName, format, strict) { 1798 var i, 1799 ii, 1800 mom, 1801 llc = weekdayName.toLocaleLowerCase(); 1802 if (!this._weekdaysParse) { 1803 this._weekdaysParse = []; 1804 this._shortWeekdaysParse = []; 1805 this._minWeekdaysParse = []; 1806 1807 for (i = 0; i < 7; ++i) { 1808 mom = createUTC([2000, 1]).day(i); 1809 this._minWeekdaysParse[i] = this.weekdaysMin( 1810 mom, 1811 '' 1812 ).toLocaleLowerCase(); 1813 this._shortWeekdaysParse[i] = this.weekdaysShort( 1814 mom, 1815 '' 1816 ).toLocaleLowerCase(); 1817 this._weekdaysParse[i] = this.weekdays(mom, '').toLocaleLowerCase(); 1818 } 1819 } 1820 1821 if (strict) { 1822 if (format === 'dddd') { 1823 ii = indexOf.call(this._weekdaysParse, llc); 1824 return ii !== -1 ? ii : null; 1825 } else if (format === 'ddd') { 1826 ii = indexOf.call(this._shortWeekdaysParse, llc); 1827 return ii !== -1 ? ii : null; 1828 } else { 1829 ii = indexOf.call(this._minWeekdaysParse, llc); 1830 return ii !== -1 ? ii : null; 1831 } 1832 } else { 1833 if (format === 'dddd') { 1834 ii = indexOf.call(this._weekdaysParse, llc); 1835 if (ii !== -1) { 1836 return ii; 1837 } 1838 ii = indexOf.call(this._shortWeekdaysParse, llc); 1839 if (ii !== -1) { 1840 return ii; 1841 } 1842 ii = indexOf.call(this._minWeekdaysParse, llc); 1843 return ii !== -1 ? ii : null; 1844 } else if (format === 'ddd') { 1845 ii = indexOf.call(this._shortWeekdaysParse, llc); 1846 if (ii !== -1) { 1847 return ii; 1848 } 1849 ii = indexOf.call(this._weekdaysParse, llc); 1850 if (ii !== -1) { 1851 return ii; 1852 } 1853 ii = indexOf.call(this._minWeekdaysParse, llc); 1854 return ii !== -1 ? ii : null; 1855 } else { 1856 ii = indexOf.call(this._minWeekdaysParse, llc); 1857 if (ii !== -1) { 1858 return ii; 1859 } 1860 ii = indexOf.call(this._weekdaysParse, llc); 1861 if (ii !== -1) { 1862 return ii; 1863 } 1864 ii = indexOf.call(this._shortWeekdaysParse, llc); 1865 return ii !== -1 ? ii : null; 1866 } 1867 } 1868 } 1869 1870 function localeWeekdaysParse(weekdayName, format, strict) { 1871 var i, mom, regex; 1872 1873 if (this._weekdaysParseExact) { 1874 return handleStrictParse$1.call(this, weekdayName, format, strict); 1875 } 1876 1877 if (!this._weekdaysParse) { 1878 this._weekdaysParse = []; 1879 this._minWeekdaysParse = []; 1880 this._shortWeekdaysParse = []; 1881 this._fullWeekdaysParse = []; 1882 } 1883 1884 for (i = 0; i < 7; i++) { 1885 // make the regex if we don't have it already 1886 1887 mom = createUTC([2000, 1]).day(i); 1888 if (strict && !this._fullWeekdaysParse[i]) { 1889 this._fullWeekdaysParse[i] = new RegExp( 1890 '^' + this.weekdays(mom, '').replace('.', '\\.?') + '$', 1891 'i' 1892 ); 1893 this._shortWeekdaysParse[i] = new RegExp( 1894 '^' + this.weekdaysShort(mom, '').replace('.', '\\.?') + '$', 1895 'i' 1896 ); 1897 this._minWeekdaysParse[i] = new RegExp( 1898 '^' + this.weekdaysMin(mom, '').replace('.', '\\.?') + '$', 1899 'i' 1900 ); 1901 } 1902 if (!this._weekdaysParse[i]) { 1903 regex = 1904 '^' + 1905 this.weekdays(mom, '') + 1906 '|^' + 1907 this.weekdaysShort(mom, '') + 1908 '|^' + 1909 this.weekdaysMin(mom, ''); 1910 this._weekdaysParse[i] = new RegExp(regex.replace('.', ''), 'i'); 1911 } 1912 // test the regex 1913 if ( 1914 strict && 1915 format === 'dddd' && 1916 this._fullWeekdaysParse[i].test(weekdayName) 1917 ) { 1918 return i; 1919 } else if ( 1920 strict && 1921 format === 'ddd' && 1922 this._shortWeekdaysParse[i].test(weekdayName) 1923 ) { 1924 return i; 1925 } else if ( 1926 strict && 1927 format === 'dd' && 1928 this._minWeekdaysParse[i].test(weekdayName) 1929 ) { 1930 return i; 1931 } else if (!strict && this._weekdaysParse[i].test(weekdayName)) { 1932 return i; 1933 } 1934 } 1935 } 1936 1937 // MOMENTS 1938 1939 function getSetDayOfWeek(input) { 1940 if (!this.isValid()) { 1941 return input != null ? this : NaN; 1942 } 1943 var day = this._isUTC ? this._d.getUTCDay() : this._d.getDay(); 1944 if (input != null) { 1945 input = parseWeekday(input, this.localeData()); 1946 return this.add(input - day, 'd'); 1947 } else { 1948 return day; 1949 } 1950 } 1951 1952 function getSetLocaleDayOfWeek(input) { 1953 if (!this.isValid()) { 1954 return input != null ? this : NaN; 1955 } 1956 var weekday = (this.day() + 7 - this.localeData()._week.dow) % 7; 1957 return input == null ? weekday : this.add(input - weekday, 'd'); 1958 } 1959 1960 function getSetISODayOfWeek(input) { 1961 if (!this.isValid()) { 1962 return input != null ? this : NaN; 1963 } 1964 1965 // behaves the same as moment#day except 1966 // as a getter, returns 7 instead of 0 (1-7 range instead of 0-6) 1967 // as a setter, sunday should belong to the previous week. 1968 1969 if (input != null) { 1970 var weekday = parseIsoWeekday(input, this.localeData()); 1971 return this.day(this.day() % 7 ? weekday : weekday - 7); 1972 } else { 1973 return this.day() || 7; 1974 } 1975 } 1976 1977 function weekdaysRegex(isStrict) { 1978 if (this._weekdaysParseExact) { 1979 if (!hasOwnProp(this, '_weekdaysRegex')) { 1980 computeWeekdaysParse.call(this); 1981 } 1982 if (isStrict) { 1983 return this._weekdaysStrictRegex; 1984 } else { 1985 return this._weekdaysRegex; 1986 } 1987 } else { 1988 if (!hasOwnProp(this, '_weekdaysRegex')) { 1989 this._weekdaysRegex = defaultWeekdaysRegex; 1990 } 1991 return this._weekdaysStrictRegex && isStrict 1992 ? this._weekdaysStrictRegex 1993 : this._weekdaysRegex; 1994 } 1995 } 1996 1997 function weekdaysShortRegex(isStrict) { 1998 if (this._weekdaysParseExact) { 1999 if (!hasOwnProp(this, '_weekdaysRegex')) { 2000 computeWeekdaysParse.call(this); 2001 } 2002 if (isStrict) { 2003 return this._weekdaysShortStrictRegex; 2004 } else { 2005 return this._weekdaysShortRegex; 2006 } 2007 } else { 2008 if (!hasOwnProp(this, '_weekdaysShortRegex')) { 2009 this._weekdaysShortRegex = defaultWeekdaysShortRegex; 2010 } 2011 return this._weekdaysShortStrictRegex && isStrict 2012 ? this._weekdaysShortStrictRegex 2013 : this._weekdaysShortRegex; 2014 } 2015 } 2016 2017 function weekdaysMinRegex(isStrict) { 2018 if (this._weekdaysParseExact) { 2019 if (!hasOwnProp(this, '_weekdaysRegex')) { 2020 computeWeekdaysParse.call(this); 2021 } 2022 if (isStrict) { 2023 return this._weekdaysMinStrictRegex; 2024 } else { 2025 return this._weekdaysMinRegex; 2026 } 2027 } else { 2028 if (!hasOwnProp(this, '_weekdaysMinRegex')) { 2029 this._weekdaysMinRegex = defaultWeekdaysMinRegex; 2030 } 2031 return this._weekdaysMinStrictRegex && isStrict 2032 ? this._weekdaysMinStrictRegex 2033 : this._weekdaysMinRegex; 2034 } 2035 } 2036 2037 function computeWeekdaysParse() { 2038 function cmpLenRev(a, b) { 2039 return b.length - a.length; 2040 } 2041 2042 var minPieces = [], 2043 shortPieces = [], 2044 longPieces = [], 2045 mixedPieces = [], 2046 i, 2047 mom, 2048 minp, 2049 shortp, 2050 longp; 2051 for (i = 0; i < 7; i++) { 2052 // make the regex if we don't have it already 2053 mom = createUTC([2000, 1]).day(i); 2054 minp = regexEscape(this.weekdaysMin(mom, '')); 2055 shortp = regexEscape(this.weekdaysShort(mom, '')); 2056 longp = regexEscape(this.weekdays(mom, '')); 2057 minPieces.push(minp); 2058 shortPieces.push(shortp); 2059 longPieces.push(longp); 2060 mixedPieces.push(minp); 2061 mixedPieces.push(shortp); 2062 mixedPieces.push(longp); 2063 } 2064 // Sorting makes sure if one weekday (or abbr) is a prefix of another it 2065 // will match the longer piece. 2066 minPieces.sort(cmpLenRev); 2067 shortPieces.sort(cmpLenRev); 2068 longPieces.sort(cmpLenRev); 2069 mixedPieces.sort(cmpLenRev); 2070 2071 this._weekdaysRegex = new RegExp('^(' + mixedPieces.join('|') + ')', 'i'); 2072 this._weekdaysShortRegex = this._weekdaysRegex; 2073 this._weekdaysMinRegex = this._weekdaysRegex; 2074 2075 this._weekdaysStrictRegex = new RegExp( 2076 '^(' + longPieces.join('|') + ')', 2077 'i' 2078 ); 2079 this._weekdaysShortStrictRegex = new RegExp( 2080 '^(' + shortPieces.join('|') + ')', 2081 'i' 2082 ); 2083 this._weekdaysMinStrictRegex = new RegExp( 2084 '^(' + minPieces.join('|') + ')', 2085 'i' 2086 ); 2087 } 2088 2089 // FORMATTING 2090 2091 function hFormat() { 2092 return this.hours() % 12 || 12; 2093 } 2094 2095 function kFormat() { 2096 return this.hours() || 24; 2097 } 2098 2099 addFormatToken('H', ['HH', 2], 0, 'hour'); 2100 addFormatToken('h', ['hh', 2], 0, hFormat); 2101 addFormatToken('k', ['kk', 2], 0, kFormat); 2102 2103 addFormatToken('hmm', 0, 0, function () { 2104 return '' + hFormat.apply(this) + zeroFill(this.minutes(), 2); 2105 }); 2106 2107 addFormatToken('hmmss', 0, 0, function () { 2108 return ( 2109 '' + 2110 hFormat.apply(this) + 2111 zeroFill(this.minutes(), 2) + 2112 zeroFill(this.seconds(), 2) 2113 ); 2114 }); 2115 2116 addFormatToken('Hmm', 0, 0, function () { 2117 return '' + this.hours() + zeroFill(this.minutes(), 2); 2118 }); 2119 2120 addFormatToken('Hmmss', 0, 0, function () { 2121 return ( 2122 '' + 2123 this.hours() + 2124 zeroFill(this.minutes(), 2) + 2125 zeroFill(this.seconds(), 2) 2126 ); 2127 }); 2128 2129 function meridiem(token, lowercase) { 2130 addFormatToken(token, 0, 0, function () { 2131 return this.localeData().meridiem( 2132 this.hours(), 2133 this.minutes(), 2134 lowercase 2135 ); 2136 }); 2137 } 2138 2139 meridiem('a', true); 2140 meridiem('A', false); 2141 2142 // ALIASES 2143 2144 addUnitAlias('hour', 'h'); 2145 2146 // PRIORITY 2147 addUnitPriority('hour', 13); 2148 2149 // PARSING 2150 2151 function matchMeridiem(isStrict, locale) { 2152 return locale._meridiemParse; 2153 } 2154 2155 addRegexToken('a', matchMeridiem); 2156 addRegexToken('A', matchMeridiem); 2157 addRegexToken('H', match1to2); 2158 addRegexToken('h', match1to2); 2159 addRegexToken('k', match1to2); 2160 addRegexToken('HH', match1to2, match2); 2161 addRegexToken('hh', match1to2, match2); 2162 addRegexToken('kk', match1to2, match2); 2163 2164 addRegexToken('hmm', match3to4); 2165 addRegexToken('hmmss', match5to6); 2166 addRegexToken('Hmm', match3to4); 2167 addRegexToken('Hmmss', match5to6); 2168 2169 addParseToken(['H', 'HH'], HOUR); 2170 addParseToken(['k', 'kk'], function (input, array, config) { 2171 var kInput = toInt(input); 2172 array[HOUR] = kInput === 24 ? 0 : kInput; 2173 }); 2174 addParseToken(['a', 'A'], function (input, array, config) { 2175 config._isPm = config._locale.isPM(input); 2176 config._meridiem = input; 2177 }); 2178 addParseToken(['h', 'hh'], function (input, array, config) { 2179 array[HOUR] = toInt(input); 2180 getParsingFlags(config).bigHour = true; 2181 }); 2182 addParseToken('hmm', function (input, array, config) { 2183 var pos = input.length - 2; 2184 array[HOUR] = toInt(input.substr(0, pos)); 2185 array[MINUTE] = toInt(input.substr(pos)); 2186 getParsingFlags(config).bigHour = true; 2187 }); 2188 addParseToken('hmmss', function (input, array, config) { 2189 var pos1 = input.length - 4, 2190 pos2 = input.length - 2; 2191 array[HOUR] = toInt(input.substr(0, pos1)); 2192 array[MINUTE] = toInt(input.substr(pos1, 2)); 2193 array[SECOND] = toInt(input.substr(pos2)); 2194 getParsingFlags(config).bigHour = true; 2195 }); 2196 addParseToken('Hmm', function (input, array, config) { 2197 var pos = input.length - 2; 2198 array[HOUR] = toInt(input.substr(0, pos)); 2199 array[MINUTE] = toInt(input.substr(pos)); 2200 }); 2201 addParseToken('Hmmss', function (input, array, config) { 2202 var pos1 = input.length - 4, 2203 pos2 = input.length - 2; 2204 array[HOUR] = toInt(input.substr(0, pos1)); 2205 array[MINUTE] = toInt(input.substr(pos1, 2)); 2206 array[SECOND] = toInt(input.substr(pos2)); 2207 }); 2208 2209 // LOCALES 2210 2211 function localeIsPM(input) { 2212 // IE8 Quirks Mode & IE7 Standards Mode do not allow accessing str
vendor: 3,541 bytes, lines 2212-2319
2212ings like arrays 2213 // Using charAt should be more compatible. 2214 return (input + '').toLowerCase().charAt(0) === 'p'; 2215 } 2216 2217 var defaultLocaleMeridiemParse = /[ap]\.?m?\.?/i, 2218 // Setting the hour should keep the time, because the user explicitly 2219 // specified which hour they want. So trying to maintain the same hour (in 2220 // a new timezone) makes sense. Adding/subtracting hours does not follow 2221 // this rule. 2222 getSetHour = makeGetSet('Hours', true); 2223 2224 function localeMeridiem(hours, minutes, isLower) { 2225 if (hours > 11) { 2226 return isLower ? 'pm' : 'PM'; 2227 } else { 2228 return isLower ? 'am' : 'AM'; 2229 } 2230 } 2231 2232 var baseConfig = { 2233 calendar: defaultCalendar, 2234 longDateFormat: defaultLongDateFormat, 2235 invalidDate: defaultInvalidDate, 2236 ordinal: defaultOrdinal, 2237 dayOfMonthOrdinalParse: defaultDayOfMonthOrdinalParse, 2238 relativeTime: defaultRelativeTime, 2239 2240 months: defaultLocaleMonths, 2241 monthsShort: defaultLocaleMonthsShort, 2242 2243 week: defaultLocaleWeek, 2244 2245 weekdays: defaultLocaleWeekdays, 2246 weekdaysMin: defaultLocaleWeekdaysMin, 2247 weekdaysShort: defaultLocaleWeekdaysShort, 2248 2249 meridiemParse: defaultLocaleMeridiemParse, 2250 }; 2251 2252 // internal storage for locale config files 2253 var locales = {}, 2254 localeFamilies = {}, 2255 globalLocale; 2256 2257 function commonPrefix(arr1, arr2) { 2258 var i, 2259 minl = Math.min(arr1.length, arr2.length); 2260 for (i = 0; i < minl; i += 1) { 2261 if (arr1[i] !== arr2[i]) { 2262 return i; 2263 } 2264 } 2265 return minl; 2266 } 2267 2268 function normalizeLocale(key) { 2269 return key ? key.toLowerCase().replace('_', '-') : key; 2270 } 2271 2272 // pick the locale from the array 2273 // try ['en-au', 'en-gb'] as 'en-au', 'en-gb', 'en', as in move through the list trying each 2274 // substring from most specific to least, but move to the next array item if it's a more specific variant than the current root 2275 function chooseLocale(names) { 2276 var i = 0, 2277 j, 2278 next, 2279 locale, 2280 split; 2281 2282 while (i < names.length) { 2283 split = normalizeLocale(names[i]).split('-'); 2284 j = split.length; 2285 next = normalizeLocale(names[i + 1]); 2286 next = next ? next.split('-') : null; 2287 while (j > 0) { 2288 locale = loadLocale(split.slice(0, j).join('-')); 2289 if (locale) { 2290 return locale; 2291 } 2292 if ( 2293 next && 2294 next.length >= j && 2295 commonPrefix(split, next) >= j - 1 2296 ) { 2297 //the next array item is better than a shallower substring of this one 2298 break; 2299 } 2300 j--; 2301 } 2302 i++; 2303 } 2304 return globalLocale; 2305 } 2306 2307 function loadLocale(name) { 2308 var oldLocale = null, 2309 aliasedRequire; 2310 // TODO: Find a better way to register and load all the locales in Node 2311 if ( 2312 locales[name] === undefined && 2313 typeof module !== 'undefined' && 2314 module && 2315 module.exports 2316 ) { 2317 try { 2318 oldLocale = globalLocale._abbr; 2319 aliasedRequire = require;
vendor: 9,643 bytes, lines 2320-2569
2320 __webpack_require__(388)("./" + name); 2321 getSetGlobalLocale(oldLocale); 2322 } catch (e) { 2323 // mark as not found to avoid repeating expensive file require call causing high CPU 2324 // when trying to find en-US, en_US, en-us for every format call 2325 locales[name] = null; // null means not found 2326 } 2327 } 2328 return locales[name]; 2329 } 2330 2331 // This function will load locale and then set the global locale. If 2332 // no arguments are passed in, it will simply return the current global 2333 // locale key. 2334 function getSetGlobalLocale(key, values) { 2335 var data; 2336 if (key) { 2337 if (isUndefined(values)) { 2338 data = getLocale(key); 2339 } else { 2340 data = defineLocale(key, values); 2341 } 2342 2343 if (data) { 2344 // moment.duration._locale = moment._locale = data; 2345 globalLocale = data; 2346 } else { 2347 if (typeof console !== 'undefined' && console.warn) { 2348 //warn user if arguments are passed but the locale could not be set 2349 console.warn( 2350 'Locale ' + key + ' not found. Did you forget to load it?' 2351 ); 2352 } 2353 } 2354 } 2355 2356 return globalLocale._abbr; 2357 } 2358 2359 function defineLocale(name, config) { 2360 if (config !== null) { 2361 var locale, 2362 parentConfig = baseConfig; 2363 config.abbr = name; 2364 if (locales[name] != null) { 2365 deprecateSimple( 2366 'defineLocaleOverride', 2367 'use moment.updateLocale(localeName, config) to change ' + 2368 'an existing locale. moment.defineLocale(localeName, ' + 2369 'config) should only be used for creating a new locale ' + 2370 'See http://momentjs.com/guides/#/warnings/define-locale/ for more info.' 2371 ); 2372 parentConfig = locales[name]._config; 2373 } else if (config.parentLocale != null) { 2374 if (locales[config.parentLocale] != null) { 2375 parentConfig = locales[config.parentLocale]._config; 2376 } else { 2377 locale = loadLocale(config.parentLocale); 2378 if (locale != null) { 2379 parentConfig = locale._config; 2380 } else { 2381 if (!localeFamilies[config.parentLocale]) { 2382 localeFamilies[config.parentLocale] = []; 2383 } 2384 localeFamilies[config.parentLocale].push({ 2385 name: name, 2386 config: config, 2387 }); 2388 return null; 2389 } 2390 } 2391 } 2392 locales[name] = new Locale(mergeConfigs(parentConfig, config)); 2393 2394 if (localeFamilies[name]) { 2395 localeFamilies[name].forEach(function (x) { 2396 defineLocale(x.name, x.config); 2397 }); 2398 } 2399 2400 // backwards compat for now: also set the locale 2401 // make sure we set the locale AFTER all child locales have been 2402 // created, so we won't end up with the child locale set. 2403 getSetGlobalLocale(name); 2404 2405 return locales[name]; 2406 } else { 2407 // useful for testing 2408 delete locales[name]; 2409 return null; 2410 } 2411 } 2412 2413 function updateLocale(name, config) { 2414 if (config != null) { 2415 var locale, 2416 tmpLocale, 2417 parentConfig = baseConfig; 2418 2419 if (locales[name] != null && locales[name].parentLocale != null) { 2420 // Update existing child locale in-place to avoid memory-leaks 2421 locales[name].set(mergeConfigs(locales[name]._config, config)); 2422 } else { 2423 // MERGE 2424 tmpLocale = loadLocale(name); 2425 if (tmpLocale != null) { 2426 parentConfig = tmpLocale._config; 2427 } 2428 config = mergeConfigs(parentConfig, config); 2429 if (tmpLocale == null) { 2430 // updateLocale is called for creating a new locale 2431 // Set abbr so it will have a name (getters return 2432 // undefined otherwise). 2433 config.abbr = name; 2434 } 2435 locale = new Locale(config); 2436 locale.parentLocale = locales[name]; 2437 locales[name] = locale; 2438 } 2439 2440 // backwards compat for now: also set the locale 2441 getSetGlobalLocale(name); 2442 } else { 2443 // pass null for config to unupdate, useful for tests 2444 if (locales[name] != null) { 2445 if (locales[name].parentLocale != null) { 2446 locales[name] = locales[name].parentLocale; 2447 if (name === getSetGlobalLocale()) { 2448 getSetGlobalLocale(name); 2449 } 2450 } else if (locales[name] != null) { 2451 delete locales[name]; 2452 } 2453 } 2454 } 2455 return locales[name]; 2456 } 2457 2458 // returns locale data 2459 function getLocale(key) { 2460 var locale; 2461 2462 if (key && key._locale && key._locale._abbr) { 2463 key = key._locale._abbr; 2464 } 2465 2466 if (!key) { 2467 return globalLocale; 2468 } 2469 2470 if (!isArray(key)) { 2471 //short-circuit everything else 2472 locale = loadLocale(key); 2473 if (locale) { 2474 return locale; 2475 } 2476 key = [key]; 2477 } 2478 2479 return chooseLocale(key); 2480 } 2481 2482 function listLocales() { 2483 return keys(locales); 2484 } 2485 2486 function checkOverflow(m) { 2487 var overflow, 2488 a = m._a; 2489 2490 if (a && getParsingFlags(m).overflow === -2) { 2491 overflow = 2492 a[MONTH] < 0 || a[MONTH] > 11 2493 ? MONTH 2494 : a[DATE] < 1 || a[DATE] > daysInMonth(a[YEAR], a[MONTH]) 2495 ? DATE 2496 : a[HOUR] < 0 || 2497 a[HOUR] > 24 || 2498 (a[HOUR] === 24 && 2499 (a[MINUTE] !== 0 || 2500 a[SECOND] !== 0 || 2501 a[MILLISECOND] !== 0)) 2502 ? HOUR 2503 : a[MINUTE] < 0 || a[MINUTE] > 59 2504 ? MINUTE 2505 : a[SECOND] < 0 || a[SECOND] > 59 2506 ? SECOND 2507 : a[MILLISECOND] < 0 || a[MILLISECOND] > 999 2508 ? MILLISECOND 2509 : -1; 2510 2511 if ( 2512 getParsingFlags(m)._overflowDayOfYear && 2513 (overflow < YEAR || overflow > DATE) 2514 ) { 2515 overflow = DATE; 2516 } 2517 if (getParsingFlags(m)._overflowWeeks && overflow === -1) { 2518 overflow = WEEK; 2519 } 2520 if (getParsingFlags(m)._overflowWeekday && overflow === -1) { 2521 overflow = WEEKDAY; 2522 } 2523 2524 getParsingFlags(m).overflow = overflow; 2525 } 2526 2527 return m; 2528 } 2529 2530 // iso 8601 regex 2531 // 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) 2532 var 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)?)?$/, 2533 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)?)?$/, 2534 tzRegex = /Z|[+-]\d\d(?::?\d\d)?/, 2535 isoDates = [ 2536 ['YYYYYY-MM-DD', /[+-]\d{6}-\d\d-\d\d/], 2537 ['YYYY-MM-DD', /\d{4}-\d\d-\d\d/], 2538 ['GGGG-[W]WW-E', /\d{4}-W\d\d-\d/], 2539 ['GGGG-[W]WW', /\d{4}-W\d\d/, false], 2540 ['YYYY-DDD', /\d{4}-\d{3}/], 2541 ['YYYY-MM', /\d{4}-\d\d/, false], 2542 ['YYYYYYMMDD', /[+-]\d{10}/], 2543 ['YYYYMMDD', /\d{8}/], 2544 ['GGGG[W]WWE', /\d{4}W\d{3}/], 2545 ['GGGG[W]WW', /\d{4}W\d{2}/, false], 2546 ['YYYYDDD', /\d{7}/], 2547 ['YYYYMM', /\d{6}/, false], 2548 ['YYYY', /\d{4}/, false], 2549 ], 2550 // iso time formats and regexes 2551 isoTimes = [ 2552 ['HH:mm:ss.SSSS', /\d\d:\d\d:\d\d\.\d+/], 2553 ['HH:mm:ss,SSSS', /\d\d:\d\d:\d\d,\d+/], 2554 ['HH:mm:ss', /\d\d:\d\d:\d\d/], 2555 ['HH:mm', /\d\d:\d\d/], 2556 ['HHmmss.SSSS', /\d\d\d\d\d\d\.\d+/], 2557 ['HHmmss,SSSS', /\d\d\d\d\d\d,\d+/], 2558 ['HHmmss', /\d\d\d\d\d\d/], 2559 ['HHmm', /\d\d\d\d/], 2560 ['HH', /\d\d/], 2561 ], 2562 aspNetJsonRegex = /^\/?Date\((-?\d+)/i, 2563 // RFC 2822 regex: For details see https://tools.ietf.org/html/rfc2822#section-3.3 2564 rfc2822 = /^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/, 2565 obsOffsets = { 2566 UT: 0, 2567 GMT: 0, 2568 EDT: -4 * 60, 2569 EST: -5 * 60,
vendor: 30,924 bytes, lines 2570-3525
2570 CDT: -5 * 60, 2571 CST: -6 * 60, 2572 MDT: -6 * 60, 2573 MST: -7 * 60, 2574 PDT: -7 * 60, 2575 PST: -8 * 60, 2576 }; 2577 2578 // date from iso format 2579 function configFromISO(config) { 2580 var i, 2581 l, 2582 string = config._i, 2583 match = extendedIsoRegex.exec(string) || basicIsoRegex.exec(string), 2584 allowTime, 2585 dateFormat, 2586 timeFormat, 2587 tzFormat; 2588 2589 if (match) { 2590 getParsingFlags(config).iso = true; 2591 2592 for (i = 0, l = isoDates.length; i < l; i++) { 2593 if (isoDates[i][1].exec(match[1])) { 2594 dateFormat = isoDates[i][0]; 2595 allowTime = isoDates[i][2] !== false; 2596 break; 2597 } 2598 } 2599 if (dateFormat == null) { 2600 config._isValid = false; 2601 return; 2602 } 2603 if (match[3]) { 2604 for (i = 0, l = isoTimes.length; i < l; i++) { 2605 if (isoTimes[i][1].exec(match[3])) { 2606 // match[2] should be 'T' or space 2607 timeFormat = (match[2] || ' ') + isoTimes[i][0]; 2608 break; 2609 } 2610 } 2611 if (timeFormat == null) { 2612 config._isValid = false; 2613 return; 2614 } 2615 } 2616 if (!allowTime && timeFormat != null) { 2617 config._isValid = false; 2618 return; 2619 } 2620 if (match[4]) { 2621 if (tzRegex.exec(match[4])) { 2622 tzFormat = 'Z'; 2623 } else { 2624 config._isValid = false; 2625 return; 2626 } 2627 } 2628 config._f = dateFormat + (timeFormat || '') + (tzFormat || ''); 2629 configFromStringAndFormat(config); 2630 } else { 2631 config._isValid = false; 2632 } 2633 } 2634 2635 function extractFromRFC2822Strings( 2636 yearStr, 2637 monthStr, 2638 dayStr, 2639 hourStr, 2640 minuteStr, 2641 secondStr 2642 ) { 2643 var result = [ 2644 untruncateYear(yearStr), 2645 defaultLocaleMonthsShort.indexOf(monthStr), 2646 parseInt(dayStr, 10), 2647 parseInt(hourStr, 10), 2648 parseInt(minuteStr, 10), 2649 ]; 2650 2651 if (secondStr) { 2652 result.push(parseInt(secondStr, 10)); 2653 } 2654 2655 return result; 2656 } 2657 2658 function untruncateYear(yearStr) { 2659 var year = parseInt(yearStr, 10); 2660 if (year <= 49) { 2661 return 2000 + year; 2662 } else if (year <= 999) { 2663 return 1900 + year; 2664 } 2665 return year; 2666 } 2667 2668 function preprocessRFC2822(s) { 2669 // Remove comments and folding whitespace and replace multiple-spaces with a single space 2670 return s 2671 .replace(/\([^)]*\)|[\n\t]/g, ' ') 2672 .replace(/(\s\s+)/g, ' ') 2673 .replace(/^\s\s*/, '') 2674 .replace(/\s\s*$/, ''); 2675 } 2676 2677 function checkWeekday(weekdayStr, parsedInput, config) { 2678 if (weekdayStr) { 2679 // TODO: Replace the vanilla JS Date object with an independent day-of-week check. 2680 var weekdayProvided = defaultLocaleWeekdaysShort.indexOf(weekdayStr), 2681 weekdayActual = new Date( 2682 parsedInput[0], 2683 parsedInput[1], 2684 parsedInput[2] 2685 ).getDay(); 2686 if (weekdayProvided !== weekdayActual) { 2687 getParsingFlags(config).weekdayMismatch = true; 2688 config._isValid = false; 2689 return false; 2690 } 2691 } 2692 return true; 2693 } 2694 2695 function calculateOffset(obsOffset, militaryOffset, numOffset) { 2696 if (obsOffset) { 2697 return obsOffsets[obsOffset]; 2698 } else if (militaryOffset) { 2699 // the only allowed military tz is Z 2700 return 0; 2701 } else { 2702 var hm = parseInt(numOffset, 10), 2703 m = hm % 100, 2704 h = (hm - m) / 100; 2705 return h * 60 + m; 2706 } 2707 } 2708 2709 // date and time from ref 2822 format 2710 function configFromRFC2822(config) { 2711 var match = rfc2822.exec(preprocessRFC2822(config._i)), 2712 parsedArray; 2713 if (match) { 2714 parsedArray = extractFromRFC2822Strings( 2715 match[4], 2716 match[3], 2717 match[2], 2718 match[5], 2719 match[6], 2720 match[7] 2721 ); 2722 if (!checkWeekday(match[1], parsedArray, config)) { 2723 return; 2724 } 2725 2726 config._a = parsedArray; 2727 config._tzm = calculateOffset(match[8], match[9], match[10]); 2728 2729 config._d = createUTCDate.apply(null, config._a); 2730 config._d.setUTCMinutes(config._d.getUTCMinutes() - config._tzm); 2731 2732 getParsingFlags(config).rfc2822 = true; 2733 } else { 2734 config._isValid = false; 2735 } 2736 } 2737 2738 // date from 1) ASP.NET, 2) ISO, 3) RFC 2822 formats, or 4) optional fallback if parsing isn't strict 2739 function configFromString(config) { 2740 var matched = aspNetJsonRegex.exec(config._i); 2741 if (matched !== null) { 2742 config._d = new Date(+matched[1]); 2743 return; 2744 } 2745 2746 configFromISO(config); 2747 if (config._isValid === false) { 2748 delete config._isValid; 2749 } else { 2750 return; 2751 } 2752 2753 configFromRFC2822(config); 2754 if (config._isValid === false) { 2755 delete config._isValid; 2756 } else { 2757 return; 2758 } 2759 2760 if (config._strict) { 2761 config._isValid = false; 2762 } else { 2763 // Final attempt, use Input Fallback 2764 hooks.createFromInputFallback(config); 2765 } 2766 } 2767 2768 hooks.createFromInputFallback = deprecate( 2769 'value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), ' + 2770 'which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are ' + 2771 'discouraged and will be removed in an upcoming major release. Please refer to ' + 2772 'http://momentjs.com/guides/#/warnings/js-date/ for more info.', 2773 function (config) { 2774 config._d = new Date(config._i + (config._useUTC ? ' UTC' : '')); 2775 } 2776 ); 2777 2778 // Pick the first defined of two or three arguments. 2779 function defaults(a, b, c) { 2780 if (a != null) { 2781 return a; 2782 } 2783 if (b != null) { 2784 return b; 2785 } 2786 return c; 2787 } 2788 2789 function currentDateArray(config) { 2790 // hooks is actually the exported moment object 2791 var nowValue = new Date(hooks.now()); 2792 if (config._useUTC) { 2793 return [ 2794 nowValue.getUTCFullYear(), 2795 nowValue.getUTCMonth(), 2796 nowValue.getUTCDate(), 2797 ]; 2798 } 2799 return [nowValue.getFullYear(), nowValue.getMonth(), nowValue.getDate()]; 2800 } 2801 2802 // convert an array to a date. 2803 // the array should mirror the parameters below 2804 // note: all values past the year are optional and will default to the lowest possible value. 2805 // [year, month, day , hour, minute, second, millisecond] 2806 function configFromArray(config) { 2807 var i, 2808 date, 2809 input = [], 2810 currentDate, 2811 expectedWeekday, 2812 yearToUse; 2813 2814 if (config._d) { 2815 return; 2816 } 2817 2818 currentDate = currentDateArray(config); 2819 2820 //compute day of the year from weeks and weekdays 2821 if (config._w && config._a[DATE] == null && config._a[MONTH] == null) { 2822 dayOfYearFromWeekInfo(config); 2823 } 2824 2825 //if the day of the year is set, figure out what it is 2826 if (config._dayOfYear != null) { 2827 yearToUse = defaults(config._a[YEAR], currentDate[YEAR]); 2828 2829 if ( 2830 config._dayOfYear > daysInYear(yearToUse) || 2831 config._dayOfYear === 0 2832 ) { 2833 getParsingFlags(config)._overflowDayOfYear = true; 2834 } 2835 2836 date = createUTCDate(yearToUse, 0, config._dayOfYear); 2837 config._a[MONTH] = date.getUTCMonth(); 2838 config._a[DATE] = date.getUTCDate(); 2839 } 2840 2841 // Default to current date. 2842 // * if no year, month, day of month are given, default to today 2843 // * if day of month is given, default month and year 2844 // * if month is given, default only year 2845 // * if year is given, don't default anything 2846 for (i = 0; i < 3 && config._a[i] == null; ++i) { 2847 config._a[i] = input[i] = currentDate[i]; 2848 } 2849 2850 // Zero out whatever was not defaulted, including time 2851 for (; i < 7; i++) { 2852 config._a[i] = input[i] = 2853 config._a[i] == null ? (i === 2 ? 1 : 0) : config._a[i]; 2854 } 2855 2856 // Check for 24:00:00.000 2857 if ( 2858 config._a[HOUR] === 24 && 2859 config._a[MINUTE] === 0 && 2860 config._a[SECOND] === 0 && 2861 config._a[MILLISECOND] === 0 2862 ) { 2863 config._nextDay = true; 2864 config._a[HOUR] = 0; 2865 } 2866 2867 config._d = (config._useUTC ? createUTCDate : createDate).apply( 2868 null, 2869 input 2870 ); 2871 expectedWeekday = config._useUTC 2872 ? config._d.getUTCDay() 2873 : config._d.getDay(); 2874 2875 // Apply timezone offset from input. The actual utcOffset can be changed 2876 // with parseZone. 2877 if (config._tzm != null) { 2878 config._d.setUTCMinutes(config._d.getUTCMinutes() - config._tzm); 2879 } 2880 2881 if (config._nextDay) { 2882 config._a[HOUR] = 24; 2883 } 2884 2885 // check for mismatching day of week 2886 if ( 2887 config._w && 2888 typeof config._w.d !== 'undefined' && 2889 config._w.d !== expectedWeekday 2890 ) { 2891 getParsingFlags(config).weekdayMismatch = true; 2892 } 2893 } 2894 2895 function dayOfYearFromWeekInfo(config) { 2896 var w, weekYear, week, weekday, dow, doy, temp, weekdayOverflow, curWeek; 2897 2898 w = config._w; 2899 if (w.GG != null || w.W != null || w.E != null) { 2900 dow = 1; 2901 doy = 4; 2902 2903 // TODO: We need to take the current isoWeekYear, but that depends on 2904 // how we interpret now (local, utc, fixed offset). So create 2905 // a now version of current config (take local/utc/offset flags, and 2906 // create now). 2907 weekYear = defaults( 2908 w.GG, 2909 config._a[YEAR], 2910 weekOfYear(createLocal(), 1, 4).year 2911 ); 2912 week = defaults(w.W, 1); 2913 weekday = defaults(w.E, 1); 2914 if (weekday < 1 || weekday > 7) { 2915 weekdayOverflow = true; 2916 } 2917 } else { 2918 dow = config._locale._week.dow; 2919 doy = config._locale._week.doy; 2920 2921 curWeek = weekOfYear(createLocal(), dow, doy); 2922 2923 weekYear = defaults(w.gg, config._a[YEAR], curWeek.year); 2924 2925 // Default to current week. 2926 week = defaults(w.w, curWeek.week); 2927 2928 if (w.d != null) { 2929 // weekday -- low day numbers are considered next week 2930 weekday = w.d; 2931 if (weekday < 0 || weekday > 6) { 2932 weekdayOverflow = true; 2933 } 2934 } else if (w.e != null) { 2935 // local weekday -- counting starts from beginning of week 2936 weekday = w.e + dow; 2937 if (w.e < 0 || w.e > 6) { 2938 weekdayOverflow = true; 2939 } 2940 } else { 2941 // default to beginning of week 2942 weekday = dow; 2943 } 2944 } 2945 if (week < 1 || week > weeksInYear(weekYear, dow, doy)) { 2946 getParsingFlags(config)._overflowWeeks = true; 2947 } else if (weekdayOverflow != null) { 2948 getParsingFlags(config)._overflowWeekday = true; 2949 } else { 2950 temp = dayOfYearFromWeeks(weekYear, week, weekday, dow, doy); 2951 config._a[YEAR] = temp.year; 2952 config._dayOfYear = temp.dayOfYear; 2953 } 2954 } 2955 2956 // constant that refers to the ISO standard 2957 hooks.ISO_8601 = function () {}; 2958 2959 // constant that refers to the RFC 2822 form 2960 hooks.RFC_2822 = function () {}; 2961 2962 // date from string and format string 2963 function configFromStringAndFormat(config) { 2964 // TODO: Move this to another part of the creation flow to prevent circular deps 2965 if (config._f === hooks.ISO_8601) { 2966 configFromISO(config); 2967 return; 2968 } 2969 if (config._f === hooks.RFC_2822) { 2970 configFromRFC2822(config); 2971 return; 2972 } 2973 config._a = []; 2974 getParsingFlags(config).empty = true; 2975 2976 // This array is used to make a Date, either with `new Date` or `Date.UTC` 2977 var string = '' + config._i, 2978 i, 2979 parsedInput, 2980 tokens, 2981 token, 2982 skipped, 2983 stringLength = string.length, 2984 totalParsedInputLength = 0, 2985 era; 2986 2987 tokens = 2988 expandFormat(config._f, config._locale).match(formattingTokens) || []; 2989 2990 for (i = 0; i < tokens.length; i++) { 2991 token = tokens[i]; 2992 parsedInput = (string.match(getParseRegexForToken(token, config)) || 2993 [])[0]; 2994 if (parsedInput) { 2995 skipped = string.substr(0, string.indexOf(parsedInput)); 2996 if (skipped.length > 0) { 2997 getParsingFlags(config).unusedInput.push(skipped); 2998 } 2999 string = string.slice( 3000 string.indexOf(parsedInput) + parsedInput.length 3001 ); 3002 totalParsedInputLength += parsedInput.length; 3003 } 3004 // don't parse if it's not a known token 3005 if (formatTokenFunctions[token]) { 3006 if (parsedInput) { 3007 getParsingFlags(config).empty = false; 3008 } else { 3009 getParsingFlags(config).unusedTokens.push(token); 3010 } 3011 addTimeToArrayFromToken(token, parsedInput, config); 3012 } else if (config._strict && !parsedInput) { 3013 getParsingFlags(config).unusedTokens.push(token); 3014 } 3015 } 3016 3017 // add remaining unparsed input length to the string 3018 getParsingFlags(config).charsLeftOver = 3019 stringLength - totalParsedInputLength; 3020 if (string.length > 0) { 3021 getParsingFlags(config).unusedInput.push(string); 3022 } 3023 3024 // clear _12h flag if hour is <= 12 3025 if ( 3026 config._a[HOUR] <= 12 && 3027 getParsingFlags(config).bigHour === true && 3028 config._a[HOUR] > 0 3029 ) { 3030 getParsingFlags(config).bigHour = undefined; 3031 } 3032 3033 getParsingFlags(config).parsedDateParts = config._a.slice(0); 3034 getParsingFlags(config).meridiem = config._meridiem; 3035 // handle meridiem 3036 config._a[HOUR] = meridiemFixWrap( 3037 config._locale, 3038 config._a[HOUR], 3039 config._meridiem 3040 ); 3041 3042 // handle era 3043 era = getParsingFlags(config).era; 3044 if (era !== null) { 3045 config._a[YEAR] = config._locale.erasConvertYear(era, config._a[YEAR]); 3046 } 3047 3048 configFromArray(config); 3049 checkOverflow(config); 3050 } 3051 3052 function meridiemFixWrap(locale, hour, meridiem) { 3053 var isPm; 3054 3055 if (meridiem == null) { 3056 // nothing to do 3057 return hour; 3058 } 3059 if (locale.meridiemHour != null) { 3060 return locale.meridiemHour(hour, meridiem); 3061 } else if (locale.isPM != null) { 3062 // Fallback 3063 isPm = locale.isPM(meridiem); 3064 if (isPm && hour < 12) { 3065 hour += 12; 3066 } 3067 if (!isPm && hour === 12) { 3068 hour = 0; 3069 } 3070 return hour; 3071 } else { 3072 // this is not supposed to happen 3073 return hour; 3074 } 3075 } 3076 3077 // date from string and array of format strings 3078 function configFromStringAndArray(config) { 3079 var tempConfig, 3080 bestMoment, 3081 scoreToBeat, 3082 i, 3083 currentScore, 3084 validFormatFound, 3085 bestFormatIsValid = false; 3086 3087 if (config._f.length === 0) { 3088 getParsingFlags(config).invalidFormat = true; 3089 config._d = new Date(NaN); 3090 return; 3091 } 3092 3093 for (i = 0; i < config._f.length; i++) { 3094 currentScore = 0; 3095 validFormatFound = false; 3096 tempConfig = copyConfig({}, config); 3097 if (config._useUTC != null) { 3098 tempConfig._useUTC = config._useUTC; 3099 } 3100 tempConfig._f = config._f[i]; 3101 configFromStringAndFormat(tempConfig); 3102 3103 if (isValid(tempConfig)) { 3104 validFormatFound = true; 3105 } 3106 3107 // if there is any input that was not parsed add a penalty for that format 3108 currentScore += getParsingFlags(tempConfig).charsLeftOver; 3109 3110 //or tokens 3111 currentScore += getParsingFlags(tempConfig).unusedTokens.length * 10; 3112 3113 getParsingFlags(tempConfig).score = currentScore; 3114 3115 if (!bestFormatIsValid) { 3116 if ( 3117 scoreToBeat == null || 3118 currentScore < scoreToBeat || 3119 validFormatFound 3120 ) { 3121 scoreToBeat = currentScore; 3122 bestMoment = tempConfig; 3123 if (validFormatFound) { 3124 bestFormatIsValid = true; 3125 } 3126 } 3127 } else { 3128 if (currentScore < scoreToBeat) { 3129 scoreToBeat = currentScore; 3130 bestMoment = tempConfig; 3131 } 3132 } 3133 } 3134 3135 extend(config, bestMoment || tempConfig); 3136 } 3137 3138 function configFromObject(config) { 3139 if (config._d) { 3140 return; 3141 } 3142 3143 var i = normalizeObjectUnits(config._i), 3144 dayOrDate = i.day === undefined ? i.date : i.day; 3145 config._a = map( 3146 [i.year, i.month, dayOrDate, i.hour, i.minute, i.second, i.millisecond], 3147 function (obj) { 3148 return obj && parseInt(obj, 10); 3149 } 3150 ); 3151 3152 configFromArray(config); 3153 } 3154 3155 function createFromConfig(config) { 3156 var res = new Moment(checkOverflow(prepareConfig(config))); 3157 if (res._nextDay) { 3158 // Adding is smart enough around DST 3159 res.add(1, 'd'); 3160 res._nextDay = undefined; 3161 } 3162 3163 return res; 3164 } 3165 3166 function prepareConfig(config) { 3167 var input = config._i, 3168 format = config._f; 3169 3170 config._locale = config._locale || getLocale(config._l); 3171 3172 if (input === null || (format === undefined && input === '')) { 3173 return createInvalid({ nullInput: true }); 3174 } 3175 3176 if (typeof input === 'string') { 3177 config._i = input = config._locale.preparse(input); 3178 } 3179 3180 if (isMoment(input)) { 3181 return new Moment(checkOverflow(input)); 3182 } else if (isDate(input)) { 3183 config._d = input; 3184 } else if (isArray(format)) { 3185 configFromStringAndArray(config); 3186 } else if (format) { 3187 configFromStringAndFormat(config); 3188 } else { 3189 configFromInput(config); 3190 } 3191 3192 if (!isValid(config)) { 3193 config._d = null; 3194 } 3195 3196 return config; 3197 } 3198 3199 function configFromInput(config) { 3200 var input = config._i; 3201 if (isUndefined(input)) { 3202 config._d = new Date(hooks.now()); 3203 } else if (isDate(input)) { 3204 config._d = new Date(input.valueOf()); 3205 } else if (typeof input === 'string') { 3206 configFromString(config); 3207 } else if (isArray(input)) { 3208 config._a = map(input.slice(0), function (obj) { 3209 return parseInt(obj, 10); 3210 }); 3211 configFromArray(config); 3212 } else if (isObject(input)) { 3213 configFromObject(config); 3214 } else if (isNumber(input)) { 3215 // from milliseconds 3216 config._d = new Date(input); 3217 } else { 3218 hooks.createFromInputFallback(config); 3219 } 3220 } 3221 3222 function createLocalOrUTC(input, format, locale, strict, isUTC) { 3223 var c = {}; 3224 3225 if (format === true || format === false) { 3226 strict = format; 3227 format = undefined; 3228 } 3229 3230 if (locale === true || locale === false) { 3231 strict = locale; 3232 locale = undefined; 3233 } 3234 3235 if ( 3236 (isObject(input) && isObjectEmpty(input)) || 3237 (isArray(input) && input.length === 0) 3238 ) { 3239 input = undefined; 3240 } 3241 // object construction must be done this way. 3242 // https://github.com/moment/moment/issues/1423 3243 c._isAMomentObject = true; 3244 c._useUTC = c._isUTC = isUTC; 3245 c._l = locale; 3246 c._i = input; 3247 c._f = format; 3248 c._strict = strict; 3249 3250 return createFromConfig(c); 3251 } 3252 3253 function createLocal(input, format, locale, strict) { 3254 return createLocalOrUTC(input, format, locale, strict, false); 3255 } 3256 3257 var prototypeMin = deprecate( 3258 'moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/', 3259 function () { 3260 var other = createLocal.apply(null, arguments); 3261 if (this.isValid() && other.isValid()) { 3262 return other < this ? this : other; 3263 } else { 3264 return createInvalid(); 3265 } 3266 } 3267 ), 3268 prototypeMax = deprecate( 3269 'moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/', 3270 function () { 3271 var other = createLocal.apply(null, arguments); 3272 if (this.isValid() && other.isValid()) { 3273 return other > this ? this : other; 3274 } else { 3275 return createInvalid(); 3276 } 3277 } 3278 ); 3279 3280 // Pick a moment m from moments so that m[fn](other) is true for all 3281 // other. This relies on the function fn to be transitive. 3282 // 3283 // moments should either be an array of moment objects or an array, whose 3284 // first element is an array of moment objects. 3285 function pickBy(fn, moments) { 3286 var res, i; 3287 if (moments.length === 1 && isArray(moments[0])) { 3288 moments = moments[0]; 3289 } 3290 if (!moments.length) { 3291 return createLocal(); 3292 } 3293 res = moments[0]; 3294 for (i = 1; i < moments.length; ++i) { 3295 if (!moments[i].isValid() || moments[i][fn](res)) { 3296 res = moments[i]; 3297 } 3298 } 3299 return res; 3300 } 3301 3302 // TODO: Use [].sort instead? 3303 function min() { 3304 var args = [].slice.call(arguments, 0); 3305 3306 return pickBy('isBefore', args); 3307 } 3308 3309 function max() { 3310 var args = [].slice.call(arguments, 0); 3311 3312 return pickBy('isAfter', args); 3313 } 3314 3315 var now = function () { 3316 return Date.now ? Date.now() : +new Date(); 3317 }; 3318 3319 var ordering = [ 3320 'year', 3321 'quarter', 3322 'month', 3323 'week', 3324 'day', 3325 'hour', 3326 'minute', 3327 'second', 3328 'millisecond', 3329 ]; 3330 3331 function isDurationValid(m) { 3332 var key, 3333 unitHasDecimal = false, 3334 i; 3335 for (key in m) { 3336 if ( 3337 hasOwnProp(m, key) && 3338 !( 3339 indexOf.call(ordering, key) !== -1 && 3340 (m[key] == null || !isNaN(m[key])) 3341 ) 3342 ) { 3343 return false; 3344 } 3345 } 3346 3347 for (i = 0; i < ordering.length; ++i) { 3348 if (m[ordering[i]]) { 3349 if (unitHasDecimal) { 3350 return false; // only allow non-integers for smallest unit 3351 } 3352 if (parseFloat(m[ordering[i]]) !== toInt(m[ordering[i]])) { 3353 unitHasDecimal = true; 3354 } 3355 } 3356 } 3357 3358 return true; 3359 } 3360 3361 function isValid$1() { 3362 return this._isValid; 3363 } 3364 3365 function createInvalid$1() { 3366 return createDuration(NaN); 3367 } 3368 3369 function Duration(duration) { 3370 var normalizedInput = normalizeObjectUnits(duration), 3371 years = normalizedInput.year || 0, 3372 quarters = normalizedInput.quarter || 0, 3373 months = normalizedInput.month || 0, 3374 weeks = normalizedInput.week || normalizedInput.isoWeek || 0, 3375 days = normalizedInput.day || 0, 3376 hours = normalizedInput.hour || 0, 3377 minutes = normalizedInput.minute || 0, 3378 seconds = normalizedInput.second || 0, 3379 milliseconds = normalizedInput.millisecond || 0; 3380 3381 this._isValid = isDurationValid(normalizedInput); 3382 3383 // representation for dateAddRemove 3384 this._milliseconds = 3385 +milliseconds + 3386 seconds * 1e3 + // 1000 3387 minutes * 6e4 + // 1000 * 60 3388 hours * 1000 * 60 * 60; //using 1000 * 60 * 60 instead of 36e5 to avoid floating point rounding errors https://github.com/moment/moment/issues/2978 3389 // Because of dateAddRemove treats 24 hours as different from a 3390 // day when working around DST, we need to store them separately 3391 this._days = +days + weeks * 7; 3392 // It is impossible to translate months into days without knowing 3393 // which months you are are talking about, so we have to store 3394 // it separately. 3395 this._months = +months + quarters * 3 + years * 12; 3396 3397 this._data = {}; 3398 3399 this._locale = getLocale(); 3400 3401 this._bubble(); 3402 } 3403 3404 function isDuration(obj) { 3405 return obj instanceof Duration; 3406 } 3407 3408 function absRound(number) { 3409 if (number < 0) { 3410 return Math.round(-1 * number) * -1; 3411 } else { 3412 return Math.round(number); 3413 } 3414 } 3415 3416 // compare two arrays, return the number of differences 3417 function compareArrays(array1, array2, dontConvert) { 3418 var len = Math.min(array1.length, array2.length), 3419 lengthDiff = Math.abs(array1.length - array2.length), 3420 diffs = 0, 3421 i; 3422 for (i = 0; i < len; i++) { 3423 if ( 3424 (dontConvert && array1[i] !== array2[i]) || 3425 (!dontConvert && toInt(array1[i]) !== toInt(array2[i])) 3426 ) { 3427 diffs++; 3428 } 3429 } 3430 return diffs + lengthDiff; 3431 } 3432 3433 // FORMATTING 3434 3435 function offset(token, separator) { 3436 addFormatToken(token, 0, 0, function () { 3437 var offset = this.utcOffset(), 3438 sign = '+'; 3439 if (offset < 0) { 3440 offset = -offset; 3441 sign = '-'; 3442 } 3443 return ( 3444 sign + 3445 zeroFill(~~(offset / 60), 2) + 3446 separator + 3447 zeroFill(~~offset % 60, 2) 3448 ); 3449 }); 3450 } 3451 3452 offset('Z', ':'); 3453 offset('ZZ', ''); 3454 3455 // PARSING 3456 3457 addRegexToken('Z', matchShortOffset); 3458 addRegexToken('ZZ', matchShortOffset); 3459 addParseToken(['Z', 'ZZ'], function (input, array, config) { 3460 config._useUTC = true; 3461 config._tzm = offsetFromString(matchShortOffset, input); 3462 }); 3463 3464 // HELPERS 3465 3466 // timezone chunker 3467 // '+10:00' > ['10', '00'] 3468 // '-1530' > ['-15', '30'] 3469 var chunkOffset = /([\+\-]|\d\d)/gi; 3470 3471 function offsetFromString(matcher, string) { 3472 var matches = (string || '').match(matcher), 3473 chunk, 3474 parts, 3475 minutes; 3476 3477 if (matches === null) { 3478 return null; 3479 } 3480 3481 chunk = matches[matches.length - 1] || []; 3482 parts = (chunk + '').match(chunkOffset) || ['-', 0, 0]; 3483 minutes = +(parts[1] * 60) + toInt(parts[2]); 3484 3485 return minutes === 0 ? 0 : parts[0] === '+' ? minutes : -minutes; 3486 } 3487 3488 // Return a moment from input, that is local/utc/zone equivalent to model. 3489 function cloneWithOffset(input, model) { 3490 var res, diff; 3491 if (model._isUTC) { 3492 res = model.clone(); 3493 diff = 3494 (isMoment(input) || isDate(input) 3495 ? input.valueOf() 3496 : createLocal(input).valueOf()) - res.valueOf(); 3497 // Use low-level api, because this fn is low-level api. 3498 res._d.setTime(res._d.valueOf() + diff); 3499 hooks.updateOffset(res, false); 3500 return res; 3501 } else { 3502 return createLocal(input).local(); 3503 } 3504 } 3505 3506 function getDateOffset(m) { 3507 // On Firefox.24 Date#getTimezoneOffset returns a floating point. 3508 // https://github.com/moment/moment/pull/1871 3509 return -Math.round(m._d.getTimezoneOffset()); 3510 } 3511 3512 // HOOKS 3513 3514 // This function will be called whenever a moment is mutated. 3515 // It is intended to keep the offset in sync with the timezone. 3516 hooks.updateOffset = function () {}; 3517 3518 // MOMENTS 3519 3520 // keepLocalTime = true means only change the timezone, without 3521 // affecting the local hour. So 5:31:26 +0300 --[utcOffset(2, true)]--> 3522 // 5:31:26 +0200 It is possible that 5:31:26 doesn't exist with offset 3523 // +0200, so we adjust the time as needed, to be valid. 3524 // 3525 // Keeping the time actually adds/subtracts (one hour)
vendor: 12,357 bytes, lines 3526-3905
3526 // from the actual represented time. That is why we call updateOffset 3527 // a second time. In case it wants us to change the offset again 3528 // _changeInProgress == true case, then we have to adjust, because 3529 // there is no such time in the given timezone. 3530 function getSetOffset(input, keepLocalTime, keepMinutes) { 3531 var offset = this._offset || 0, 3532 localAdjust; 3533 if (!this.isValid()) { 3534 return input != null ? this : NaN; 3535 } 3536 if (input != null) { 3537 if (typeof input === 'string') { 3538 input = offsetFromString(matchShortOffset, input); 3539 if (input === null) { 3540 return this; 3541 } 3542 } else if (Math.abs(input) < 16 && !keepMinutes) { 3543 input = input * 60; 3544 } 3545 if (!this._isUTC && keepLocalTime) { 3546 localAdjust = getDateOffset(this); 3547 } 3548 this._offset = input; 3549 this._isUTC = true; 3550 if (localAdjust != null) { 3551 this.add(localAdjust, 'm'); 3552 } 3553 if (offset !== input) { 3554 if (!keepLocalTime || this._changeInProgress) { 3555 addSubtract( 3556 this, 3557 createDuration(input - offset, 'm'), 3558 1, 3559 false 3560 ); 3561 } else if (!this._changeInProgress) { 3562 this._changeInProgress = true; 3563 hooks.updateOffset(this, true); 3564 this._changeInProgress = null; 3565 } 3566 } 3567 return this; 3568 } else { 3569 return this._isUTC ? offset : getDateOffset(this); 3570 } 3571 } 3572 3573 function getSetZone(input, keepLocalTime) { 3574 if (input != null) { 3575 if (typeof input !== 'string') { 3576 input = -input; 3577 } 3578 3579 this.utcOffset(input, keepLocalTime); 3580 3581 return this; 3582 } else { 3583 return -this.utcOffset(); 3584 } 3585 } 3586 3587 function setOffsetToUTC(keepLocalTime) { 3588 return this.utcOffset(0, keepLocalTime); 3589 } 3590 3591 function setOffsetToLocal(keepLocalTime) { 3592 if (this._isUTC) { 3593 this.utcOffset(0, keepLocalTime); 3594 this._isUTC = false; 3595 3596 if (keepLocalTime) { 3597 this.subtract(getDateOffset(this), 'm'); 3598 } 3599 } 3600 return this; 3601 } 3602 3603 function setOffsetToParsedOffset() { 3604 if (this._tzm != null) { 3605 this.utcOffset(this._tzm, false, true); 3606 } else if (typeof this._i === 'string') { 3607 var tZone = offsetFromString(matchOffset, this._i); 3608 if (tZone != null) { 3609 this.utcOffset(tZone); 3610 } else { 3611 this.utcOffset(0, true); 3612 } 3613 } 3614 return this; 3615 } 3616 3617 function hasAlignedHourOffset(input) { 3618 if (!this.isValid()) { 3619 return false; 3620 } 3621 input = input ? createLocal(input).utcOffset() : 0; 3622 3623 return (this.utcOffset() - input) % 60 === 0; 3624 } 3625 3626 function isDaylightSavingTime() { 3627 return ( 3628 this.utcOffset() > this.clone().month(0).utcOffset() || 3629 this.utcOffset() > this.clone().month(5).utcOffset() 3630 ); 3631 } 3632 3633 function isDaylightSavingTimeShifted() { 3634 if (!isUndefined(this._isDSTShifted)) { 3635 return this._isDSTShifted; 3636 } 3637 3638 var c = {}, 3639 other; 3640 3641 copyConfig(c, this); 3642 c = prepareConfig(c); 3643 3644 if (c._a) { 3645 other = c._isUTC ? createUTC(c._a) : createLocal(c._a); 3646 this._isDSTShifted = 3647 this.isValid() && compareArrays(c._a, other.toArray()) > 0; 3648 } else { 3649 this._isDSTShifted = false; 3650 } 3651 3652 return this._isDSTShifted; 3653 } 3654 3655 function isLocal() { 3656 return this.isValid() ? !this._isUTC : false; 3657 } 3658 3659 function isUtcOffset() { 3660 return this.isValid() ? this._isUTC : false; 3661 } 3662 3663 function isUtc() { 3664 return this.isValid() ? this._isUTC && this._offset === 0 : false; 3665 } 3666 3667 // ASP.NET json date format regex 3668 var aspNetRegex = /^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/, 3669 // from http://docs.closure-library.googlecode.com/git/closure_goog_date_date.js.source.html 3670 // somewhat more in line with 4.4.3.2 2004 spec, but allows decimal anywhere 3671 // and further modified to allow for strings containing both week and day 3672 isoRegex = /^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/; 3673 3674 function createDuration(input, key) { 3675 var duration = input, 3676 // matching against regexp is expensive, do it on demand 3677 match = null, 3678 sign, 3679 ret, 3680 diffRes; 3681 3682 if (isDuration(input)) { 3683 duration = { 3684 ms: input._milliseconds, 3685 d: input._days, 3686 M: input._months, 3687 }; 3688 } else if (isNumber(input) || !isNaN(+input)) { 3689 duration = {}; 3690 if (key) { 3691 duration[key] = +input; 3692 } else { 3693 duration.milliseconds = +input; 3694 } 3695 } else if ((match = aspNetRegex.exec(input))) { 3696 sign = match[1] === '-' ? -1 : 1; 3697 duration = { 3698 y: 0, 3699 d: toInt(match[DATE]) * sign, 3700 h: toInt(match[HOUR]) * sign, 3701 m: toInt(match[MINUTE]) * sign, 3702 s: toInt(match[SECOND]) * sign, 3703 ms: toInt(absRound(match[MILLISECOND] * 1000)) * sign, // the millisecond decimal point is included in the match 3704 }; 3705 } else if ((match = isoRegex.exec(input))) { 3706 sign = match[1] === '-' ? -1 : 1; 3707 duration = { 3708 y: parseIso(match[2], sign), 3709 M: parseIso(match[3], sign), 3710 w: parseIso(match[4], sign), 3711 d: parseIso(match[5], sign), 3712 h: parseIso(match[6], sign), 3713 m: parseIso(match[7], sign), 3714 s: parseIso(match[8], sign), 3715 }; 3716 } else if (duration == null) { 3717 // checks for null or undefined 3718 duration = {}; 3719 } else if ( 3720 typeof duration === 'object' && 3721 ('from' in duration || 'to' in duration) 3722 ) { 3723 diffRes = momentsDifference( 3724 createLocal(duration.from), 3725 createLocal(duration.to) 3726 ); 3727 3728 duration = {}; 3729 duration.ms = diffRes.milliseconds; 3730 duration.M = diffRes.months; 3731 } 3732 3733 ret = new Duration(duration); 3734 3735 if (isDuration(input) && hasOwnProp(input, '_locale')) { 3736 ret._locale = input._locale; 3737 } 3738 3739 if (isDuration(input) && hasOwnProp(input, '_isValid')) { 3740 ret._isValid = input._isValid; 3741 } 3742 3743 return ret; 3744 } 3745 3746 createDuration.fn = Duration.prototype; 3747 createDuration.invalid = createInvalid$1; 3748 3749 function parseIso(inp, sign) { 3750 // We'd normally use ~~inp for this, but unfortunately it also 3751 // converts floats to ints. 3752 // inp may be undefined, so careful calling replace on it. 3753 var res = inp && parseFloat(inp.replace(',', '.')); 3754 // apply sign while we're at it 3755 return (isNaN(res) ? 0 : res) * sign; 3756 } 3757 3758 function positiveMomentsDifference(base, other) { 3759 var res = {}; 3760 3761 res.months = 3762 other.month() - base.month() + (other.year() - base.year()) * 12; 3763 if (base.clone().add(res.months, 'M').isAfter(other)) { 3764 --res.months; 3765 } 3766 3767 res.milliseconds = +other - +base.clone().add(res.months, 'M'); 3768 3769 return res; 3770 } 3771 3772 function momentsDifference(base, other) { 3773 var res; 3774 if (!(base.isValid() && other.isValid())) { 3775 return { milliseconds: 0, months: 0 }; 3776 } 3777 3778 other = cloneWithOffset(other, base); 3779 if (base.isBefore(other)) { 3780 res = positiveMomentsDifference(base, other); 3781 } else { 3782 res = positiveMomentsDifference(other, base); 3783 res.milliseconds = -res.milliseconds; 3784 res.months = -res.months; 3785 } 3786 3787 return res; 3788 } 3789 3790 // TODO: remove 'name' arg after deprecation is removed 3791 function createAdder(direction, name) { 3792 return function (val, period) { 3793 var dur, tmp; 3794 //invert the arguments, but complain about it 3795 if (period !== null && !isNaN(+period)) { 3796 deprecateSimple( 3797 name, 3798 'moment().' + 3799 name + 3800 '(period, number) is deprecated. Please use moment().' + 3801 name + 3802 '(number, period). ' + 3803 'See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info.' 3804 ); 3805 tmp = val; 3806 val = period; 3807 period = tmp; 3808 } 3809 3810 dur = createDuration(val, period); 3811 addSubtract(this, dur, direction); 3812 return this; 3813 }; 3814 } 3815 3816 function addSubtract(mom, duration, isAdding, updateOffset) { 3817 var milliseconds = duration._milliseconds, 3818 days = absRound(duration._days), 3819 months = absRound(duration._months); 3820 3821 if (!mom.isValid()) { 3822 // No op 3823 return; 3824 } 3825 3826 updateOffset = updateOffset == null ? true : updateOffset; 3827 3828 if (months) { 3829 setMonth(mom, get(mom, 'Month') + months * isAdding); 3830 } 3831 if (days) { 3832 set$1(mom, 'Date', get(mom, 'Date') + days * isAdding); 3833 } 3834 if (milliseconds) { 3835 mom._d.setTime(mom._d.valueOf() + milliseconds * isAdding); 3836 } 3837 if (updateOffset) { 3838 hooks.updateOffset(mom, days || months); 3839 } 3840 } 3841 3842 var add = createAdder(1, 'add'), 3843 subtract = createAdder(-1, 'subtract'); 3844 3845 function isString(input) { 3846 return typeof input === 'string' || input instanceof String; 3847 } 3848 3849 // type MomentInput = Moment | Date | string | number | (number | string)[] | MomentInputObject | void; // null | undefined 3850 function isMomentInput(input) { 3851 return ( 3852 isMoment(input) || 3853 isDate(input) || 3854 isString(input) || 3855 isNumber(input) || 3856 isNumberOrStringArray(input) || 3857 isMomentInputObject(input) || 3858 input === null || 3859 input === undefined 3860 ); 3861 } 3862 3863 function isMomentInputObject(input) { 3864 var objectTest = isObject(input) && !isObjectEmpty(input), 3865 propertyTest = false, 3866 properties = [ 3867 'years', 3868 'year', 3869 'y', 3870 'months', 3871 'month', 3872 'M', 3873 'days', 3874 'day', 3875 'd', 3876 'dates', 3877 'date', 3878 'D', 3879 'hours', 3880 'hour', 3881 'h', 3882 'minutes', 3883 'minute', 3884 'm', 3885 'seconds', 3886 'second', 3887 's', 3888 'milliseconds', 3889 'millisecond', 3890 'ms', 3891 ], 3892 i, 3893 property; 3894 3895 for (i = 0; i < properties.length; i += 1) { 3896 property = properties[i]; 3897 propertyTest = propertyTest || hasOwnProp(input, property); 3898 } 3899 3900 return objectTest && propertyTest; 3901 } 3902 3903 function isNumberOrStringArray(input) { 3904 var arrayTest = isArray(input), 3905 dataTypeTest = false;
vendor: 4,156 bytes, lines 3906-4028
3906 if (arrayTest) { 3907 dataTypeTest = 3908 input.filter(function (item) { 3909 return !isNumber(item) && isString(input); 3910 }).length === 0; 3911 } 3912 return arrayTest && dataTypeTest; 3913 } 3914 3915 function isCalendarSpec(input) { 3916 var objectTest = isObject(input) && !isObjectEmpty(input), 3917 propertyTest = false, 3918 properties = [ 3919 'sameDay', 3920 'nextDay', 3921 'lastDay', 3922 'nextWeek', 3923 'lastWeek', 3924 'sameElse', 3925 ], 3926 i, 3927 property; 3928 3929 for (i = 0; i < properties.length; i += 1) { 3930 property = properties[i]; 3931 propertyTest = propertyTest || hasOwnProp(input, property); 3932 } 3933 3934 return objectTest && propertyTest; 3935 } 3936 3937 function getCalendarFormat(myMoment, now) { 3938 var diff = myMoment.diff(now, 'days', true); 3939 return diff < -6 3940 ? 'sameElse' 3941 : diff < -1 3942 ? 'lastWeek' 3943 : diff < 0 3944 ? 'lastDay' 3945 : diff < 1 3946 ? 'sameDay' 3947 : diff < 2 3948 ? 'nextDay' 3949 : diff < 7 3950 ? 'nextWeek' 3951 : 'sameElse'; 3952 } 3953 3954 function calendar$1(time, formats) { 3955 // Support for single parameter, formats only overload to the calendar function 3956 if (arguments.length === 1) { 3957 if (isMomentInput(arguments[0])) { 3958 time = arguments[0]; 3959 formats = undefined; 3960 } else if (isCalendarSpec(arguments[0])) { 3961 formats = arguments[0]; 3962 time = undefined; 3963 } 3964 } 3965 // We want to compare the start of today, vs this. 3966 // Getting start-of-today depends on whether we're local/utc/offset or not. 3967 var now = time || createLocal(), 3968 sod = cloneWithOffset(now, this).startOf('day'), 3969 format = hooks.calendarFormat(this, sod) || 'sameElse', 3970 output = 3971 formats && 3972 (isFunction(formats[format]) 3973 ? formats[format].call(this, now) 3974 : formats[format]); 3975 3976 return this.format( 3977 output || this.localeData().calendar(format, this, createLocal(now)) 3978 ); 3979 } 3980 3981 function clone() { 3982 return new Moment(this); 3983 } 3984 3985 function isAfter(input, units) { 3986 var localInput = isMoment(input) ? input : createLocal(input); 3987 if (!(this.isValid() && localInput.isValid())) { 3988 return false; 3989 } 3990 units = normalizeUnits(units) || 'millisecond'; 3991 if (units === 'millisecond') { 3992 return this.valueOf() > localInput.valueOf(); 3993 } else { 3994 return localInput.valueOf() < this.clone().startOf(units).valueOf(); 3995 } 3996 } 3997 3998 function isBefore(input, units) { 3999 var localInput = isMoment(input) ? input : createLocal(input); 4000 if (!(this.isValid() && localInput.isValid())) { 4001 return false; 4002 } 4003 units = normalizeUnits(units) || 'millisecond'; 4004 if (units === 'millisecond') { 4005 return this.valueOf() < localInput.valueOf(); 4006 } else { 4007 return this.clone().endOf(units).valueOf() < localInput.valueOf(); 4008 } 4009 } 4010 4011 function isBetween(from, to, units, inclusivity) { 4012 var localFrom = isMoment(from) ? from : createLocal(from), 4013 localTo = isMoment(to) ? to : createLocal(to); 4014 if (!(this.isValid() && localFrom.isValid() && localTo.isValid())) { 4015 return false; 4016 } 4017 inclusivity = inclusivity || '()'; 4018 return ( 4019 (inclusivity[0] === '(' 4020 ? this.isAfter(localFrom, units) 4021 : !this.isBefore(localFrom, units)) && 4022 (inclusivity[1] === ')' 4023 ? this.isBefore(localTo, units) 4024 : !this.isAfter(localTo, units)) 4025 ); 4026 } 4027 4028 function isSame(input, units) {
vendor: 14,557 bytes, lines 4029-4483
4029 var localInput = isMoment(input) ? input : createLocal(input), 4030 inputMs; 4031 if (!(this.isValid() && localInput.isValid())) { 4032 return false; 4033 } 4034 units = normalizeUnits(units) || 'millisecond'; 4035 if (units === 'millisecond') { 4036 return this.valueOf() === localInput.valueOf(); 4037 } else { 4038 inputMs = localInput.valueOf(); 4039 return ( 4040 this.clone().startOf(units).valueOf() <= inputMs && 4041 inputMs <= this.clone().endOf(units).valueOf() 4042 ); 4043 } 4044 } 4045 4046 function isSameOrAfter(input, units) { 4047 return this.isSame(input, units) || this.isAfter(input, units); 4048 } 4049 4050 function isSameOrBefore(input, units) { 4051 return this.isSame(input, units) || this.isBefore(input, units); 4052 } 4053 4054 function diff(input, units, asFloat) { 4055 var that, zoneDelta, output; 4056 4057 if (!this.isValid()) { 4058 return NaN; 4059 } 4060 4061 that = cloneWithOffset(input, this); 4062 4063 if (!that.isValid()) { 4064 return NaN; 4065 } 4066 4067 zoneDelta = (that.utcOffset() - this.utcOffset()) * 6e4; 4068 4069 units = normalizeUnits(units); 4070 4071 switch (units) { 4072 case 'year': 4073 output = monthDiff(this, that) / 12; 4074 break; 4075 case 'month': 4076 output = monthDiff(this, that); 4077 break; 4078 case 'quarter': 4079 output = monthDiff(this, that) / 3; 4080 break; 4081 case 'second': 4082 output = (this - that) / 1e3; 4083 break; // 1000 4084 case 'minute': 4085 output = (this - that) / 6e4; 4086 break; // 1000 * 60 4087 case 'hour': 4088 output = (this - that) / 36e5; 4089 break; // 1000 * 60 * 60 4090 case 'day': 4091 output = (this - that - zoneDelta) / 864e5; 4092 break; // 1000 * 60 * 60 * 24, negate dst 4093 case 'week': 4094 output = (this - that - zoneDelta) / 6048e5; 4095 break; // 1000 * 60 * 60 * 24 * 7, negate dst 4096 default: 4097 output = this - that; 4098 } 4099 4100 return asFloat ? output : absFloor(output); 4101 } 4102 4103 function monthDiff(a, b) { 4104 if (a.date() < b.date()) { 4105 // end-of-month calculations work correct when the start month has more 4106 // days than the end month. 4107 return -monthDiff(b, a); 4108 } 4109 // difference in months 4110 var wholeMonthDiff = (b.year() - a.year()) * 12 + (b.month() - a.month()), 4111 // b is in (anchor - 1 month, anchor + 1 month) 4112 anchor = a.clone().add(wholeMonthDiff, 'months'), 4113 anchor2, 4114 adjust; 4115 4116 if (b - anchor < 0) { 4117 anchor2 = a.clone().add(wholeMonthDiff - 1, 'months'); 4118 // linear across the month 4119 adjust = (b - anchor) / (anchor - anchor2); 4120 } else { 4121 anchor2 = a.clone().add(wholeMonthDiff + 1, 'months'); 4122 // linear across the month 4123 adjust = (b - anchor) / (anchor2 - anchor); 4124 } 4125 4126 //check for negative zero, return zero if negative zero 4127 return -(wholeMonthDiff + adjust) || 0; 4128 } 4129 4130 hooks.defaultFormat = 'YYYY-MM-DDTHH:mm:ssZ'; 4131 hooks.defaultFormatUtc = 'YYYY-MM-DDTHH:mm:ss[Z]'; 4132 4133 function toString() { 4134 return this.clone().locale('en').format('ddd MMM DD YYYY HH:mm:ss [GMT]ZZ'); 4135 } 4136 4137 function toISOString(keepOffset) { 4138 if (!this.isValid()) { 4139 return null; 4140 } 4141 var utc = keepOffset !== true, 4142 m = utc ? this.clone().utc() : this; 4143 if (m.year() < 0 || m.year() > 9999) { 4144 return formatMoment( 4145 m, 4146 utc 4147 ? 'YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]' 4148 : 'YYYYYY-MM-DD[T]HH:mm:ss.SSSZ' 4149 ); 4150 } 4151 if (isFunction(Date.prototype.toISOString)) { 4152 // native implementation is ~50x faster, use it when we can 4153 if (utc) { 4154 return this.toDate().toISOString(); 4155 } else { 4156 return new Date(this.valueOf() + this.utcOffset() * 60 * 1000) 4157 .toISOString() 4158 .replace('Z', formatMoment(m, 'Z')); 4159 } 4160 } 4161 return formatMoment( 4162 m, 4163 utc ? 'YYYY-MM-DD[T]HH:mm:ss.SSS[Z]' : 'YYYY-MM-DD[T]HH:mm:ss.SSSZ' 4164 ); 4165 } 4166 4167 /** 4168 * Return a human readable representation of a moment that can 4169 * also be evaluated to get a new moment which is the same 4170 * 4171 * @link https://nodejs.org/dist/latest/docs/api/util.html#util_custom_inspect_function_on_objects 4172 */ 4173 function inspect() { 4174 if (!this.isValid()) { 4175 return 'moment.invalid(/* ' + this._i + ' */)'; 4176 } 4177 var func = 'moment', 4178 zone = '', 4179 prefix, 4180 year, 4181 datetime, 4182 suffix; 4183 if (!this.isLocal()) { 4184 func = this.utcOffset() === 0 ? 'moment.utc' : 'moment.parseZone'; 4185 zone = 'Z'; 4186 } 4187 prefix = '[' + func + '("]'; 4188 year = 0 <= this.year() && this.year() <= 9999 ? 'YYYY' : 'YYYYYY'; 4189 datetime = '-MM-DD[T]HH:mm:ss.SSS'; 4190 suffix = zone + '[")]'; 4191 4192 return this.format(prefix + year + datetime + suffix); 4193 } 4194 4195 function format(inputString) { 4196 if (!inputString) { 4197 inputString = this.isUtc() 4198 ? hooks.defaultFormatUtc 4199 : hooks.defaultFormat; 4200 } 4201 var output = formatMoment(this, inputString); 4202 return this.localeData().postformat(output); 4203 } 4204 4205 function from(time, withoutSuffix) { 4206 if ( 4207 this.isValid() && 4208 ((isMoment(time) && time.isValid()) || createLocal(time).isValid()) 4209 ) { 4210 return createDuration({ to: this, from: time }) 4211 .locale(this.locale()) 4212 .humanize(!withoutSuffix); 4213 } else { 4214 return this.localeData().invalidDate(); 4215 } 4216 } 4217 4218 function fromNow(withoutSuffix) { 4219 return this.from(createLocal(), withoutSuffix); 4220 } 4221 4222 function to(time, withoutSuffix) { 4223 if ( 4224 this.isValid() && 4225 ((isMoment(time) && time.isValid()) || createLocal(time).isValid()) 4226 ) { 4227 return createDuration({ from: this, to: time }) 4228 .locale(this.locale()) 4229 .humanize(!withoutSuffix); 4230 } else { 4231 return this.localeData().invalidDate(); 4232 } 4233 } 4234 4235 function toNow(withoutSuffix) { 4236 return this.to(createLocal(), withoutSuffix); 4237 } 4238 4239 // If passed a locale key, it will set the locale for this 4240 // instance. Otherwise, it will return the locale configuration 4241 // variables for this instance. 4242 function locale(key) { 4243 var newLocaleData; 4244 4245 if (key === undefined) { 4246 return this._locale._abbr; 4247 } else { 4248 newLocaleData = getLocale(key); 4249 if (newLocaleData != null) { 4250 this._locale = newLocaleData; 4251 } 4252 return this; 4253 } 4254 } 4255 4256 var lang = deprecate( 4257 'moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.', 4258 function (key) { 4259 if (key === undefined) { 4260 return this.localeData(); 4261 } else { 4262 return this.locale(key); 4263 } 4264 } 4265 ); 4266 4267 function localeData() { 4268 return this._locale; 4269 } 4270 4271 var MS_PER_SECOND = 1000, 4272 MS_PER_MINUTE = 60 * MS_PER_SECOND, 4273 MS_PER_HOUR = 60 * MS_PER_MINUTE, 4274 MS_PER_400_YEARS = (365 * 400 + 97) * 24 * MS_PER_HOUR; 4275 4276 // actual modulo - handles negative numbers (for dates before 1970): 4277 function mod$1(dividend, divisor) { 4278 return ((dividend % divisor) + divisor) % divisor; 4279 } 4280 4281 function localStartOfDate(y, m, d) { 4282 // the date constructor remaps years 0-99 to 1900-1999 4283 if (y < 100 && y >= 0) { 4284 // preserve leap years using a full 400 year cycle, then reset 4285 return new Date(y + 400, m, d) - MS_PER_400_YEARS; 4286 } else { 4287 return new Date(y, m, d).valueOf(); 4288 } 4289 } 4290 4291 function utcStartOfDate(y, m, d) { 4292 // Date.UTC remaps years 0-99 to 1900-1999 4293 if (y < 100 && y >= 0) { 4294 // preserve leap years using a full 400 year cycle, then reset 4295 return Date.UTC(y + 400, m, d) - MS_PER_400_YEARS; 4296 } else { 4297 return Date.UTC(y, m, d); 4298 } 4299 } 4300 4301 function startOf(units) { 4302 var time, startOfDate; 4303 units = normalizeUnits(units); 4304 if (units === undefined || units === 'millisecond' || !this.isValid()) { 4305 return this; 4306 } 4307 4308 startOfDate = this._isUTC ? utcStartOfDate : localStartOfDate; 4309 4310 switch (units) { 4311 case 'year': 4312 time = startOfDate(this.year(), 0, 1); 4313 break; 4314 case 'quarter': 4315 time = startOfDate( 4316 this.year(), 4317 this.month() - (this.month() % 3), 4318 1 4319 ); 4320 break; 4321 case 'month': 4322 time = startOfDate(this.year(), this.month(), 1); 4323 break; 4324 case 'week': 4325 time = startOfDate( 4326 this.year(), 4327 this.month(), 4328 this.date() - this.weekday() 4329 ); 4330 break; 4331 case 'isoWeek': 4332 time = startOfDate( 4333 this.year(), 4334 this.month(), 4335 this.date() - (this.isoWeekday() - 1) 4336 ); 4337 break; 4338 case 'day': 4339 case 'date': 4340 time = startOfDate(this.year(), this.month(), this.date()); 4341 break; 4342 case 'hour': 4343 time = this._d.valueOf(); 4344 time -= mod$1( 4345 time + (this._isUTC ? 0 : this.utcOffset() * MS_PER_MINUTE), 4346 MS_PER_HOUR 4347 ); 4348 break; 4349 case 'minute': 4350 time = this._d.valueOf(); 4351 time -= mod$1(time, MS_PER_MINUTE); 4352 break; 4353 case 'second': 4354 time = this._d.valueOf(); 4355 time -= mod$1(time, MS_PER_SECOND); 4356 break; 4357 } 4358 4359 this._d.setTime(time); 4360 hooks.updateOffset(this, true); 4361 return this; 4362 } 4363 4364 function endOf(units) { 4365 var time, startOfDate; 4366 units = normalizeUnits(units); 4367 if (units === undefined || units === 'millisecond' || !this.isValid()) { 4368 return this; 4369 } 4370 4371 startOfDate = this._isUTC ? utcStartOfDate : localStartOfDate; 4372 4373 switch (units) { 4374 case 'year': 4375 time = startOfDate(this.year() + 1, 0, 1) - 1; 4376 break; 4377 case 'quarter': 4378 time = 4379 startOfDate( 4380 this.year(), 4381 this.month() - (this.month() % 3) + 3, 4382 1 4383 ) - 1; 4384 break; 4385 case 'month': 4386 time = startOfDate(this.year(), this.month() + 1, 1) - 1; 4387 break; 4388 case 'week': 4389 time = 4390 startOfDate( 4391 this.year(), 4392 this.month(), 4393 this.date() - this.weekday() + 7 4394 ) - 1; 4395 break; 4396 case 'isoWeek': 4397 time = 4398 startOfDate( 4399 this.year(), 4400 this.month(), 4401 this.date() - (this.isoWeekday() - 1) + 7 4402 ) - 1; 4403 break; 4404 case 'day': 4405 case 'date': 4406 time = startOfDate(this.year(), this.month(), this.date() + 1) - 1; 4407 break; 4408 case 'hour': 4409 time = this._d.valueOf(); 4410 time += 4411 MS_PER_HOUR - 4412 mod$1( 4413 time + (this._isUTC ? 0 : this.utcOffset() * MS_PER_MINUTE), 4414 MS_PER_HOUR 4415 ) - 4416 1; 4417 break; 4418 case 'minute': 4419 time = this._d.valueOf(); 4420 time += MS_PER_MINUTE - mod$1(time, MS_PER_MINUTE) - 1; 4421 break; 4422 case 'second': 4423 time = this._d.valueOf(); 4424 time += MS_PER_SECOND - mod$1(time, MS_PER_SECOND) - 1; 4425 break; 4426 } 4427 4428 this._d.setTime(time); 4429 hooks.updateOffset(this, true); 4430 return this; 4431 } 4432 4433 function valueOf() { 4434 return this._d.valueOf() - (this._offset || 0) * 60000; 4435 } 4436 4437 function unix() { 4438 return Math.floor(this.valueOf() / 1000); 4439 } 4440 4441 function toDate() { 4442 return new Date(this.valueOf()); 4443 } 4444 4445 function toArray() { 4446 var m = this; 4447 return [ 4448 m.year(), 4449 m.month(), 4450 m.date(), 4451 m.hour(), 4452 m.minute(), 4453 m.second(), 4454 m.millisecond(), 4455 ]; 4456 } 4457 4458 function toObject() { 4459 var m = this; 4460 return { 4461 years: m.year(), 4462 months: m.month(), 4463 date: m.date(), 4464 hours: m.hours(), 4465 minutes: m.minutes(), 4466 seconds: m.seconds(), 4467 milliseconds: m.milliseconds(), 4468 }; 4469 } 4470 4471 function toJSON() { 4472 // new Date(NaN).toJSON() === null 4473 return this.isValid() ? this.toISOString() : null; 4474 } 4475 4476 function isValid$2() { 4477 return isValid(this); 4478 } 4479 4480 function parsingFlags() { 4481 return extend({}, getParsingFlags(this)); 4482 } 4483
vendor: 9,363 bytes, lines 4484-4792
4484 function invalidAt() { 4485 return getParsingFlags(this).overflow; 4486 } 4487 4488 function creationData() { 4489 return { 4490 input: this._i, 4491 format: this._f, 4492 locale: this._locale, 4493 isUTC: this._isUTC, 4494 strict: this._strict, 4495 }; 4496 } 4497 4498 addFormatToken('N', 0, 0, 'eraAbbr'); 4499 addFormatToken('NN', 0, 0, 'eraAbbr'); 4500 addFormatToken('NNN', 0, 0, 'eraAbbr'); 4501 addFormatToken('NNNN', 0, 0, 'eraName'); 4502 addFormatToken('NNNNN', 0, 0, 'eraNarrow'); 4503 4504 addFormatToken('y', ['y', 1], 'yo', 'eraYear'); 4505 addFormatToken('y', ['yy', 2], 0, 'eraYear'); 4506 addFormatToken('y', ['yyy', 3], 0, 'eraYear'); 4507 addFormatToken('y', ['yyyy', 4], 0, 'eraYear'); 4508 4509 addRegexToken('N', matchEraAbbr); 4510 addRegexToken('NN', matchEraAbbr); 4511 addRegexToken('NNN', matchEraAbbr); 4512 addRegexToken('NNNN', matchEraName); 4513 addRegexToken('NNNNN', matchEraNarrow); 4514 4515 addParseToken(['N', 'NN', 'NNN', 'NNNN', 'NNNNN'], function ( 4516 input, 4517 array, 4518 config, 4519 token 4520 ) { 4521 var era = config._locale.erasParse(input, token, config._strict); 4522 if (era) { 4523 getParsingFlags(config).era = era; 4524 } else { 4525 getParsingFlags(config).invalidEra = input; 4526 } 4527 }); 4528 4529 addRegexToken('y', matchUnsigned); 4530 addRegexToken('yy', matchUnsigned); 4531 addRegexToken('yyy', matchUnsigned); 4532 addRegexToken('yyyy', matchUnsigned); 4533 addRegexToken('yo', matchEraYearOrdinal); 4534 4535 addParseToken(['y', 'yy', 'yyy', 'yyyy'], YEAR); 4536 addParseToken(['yo'], function (input, array, config, token) { 4537 var match; 4538 if (config._locale._eraYearOrdinalRegex) { 4539 match = input.match(config._locale._eraYearOrdinalRegex); 4540 } 4541 4542 if (config._locale.eraYearOrdinalParse) { 4543 array[YEAR] = config._locale.eraYearOrdinalParse(input, match); 4544 } else { 4545 array[YEAR] = parseInt(input, 10); 4546 } 4547 }); 4548 4549 function localeEras(m, format) { 4550 var i, 4551 l, 4552 date, 4553 eras = this._eras || getLocale('en')._eras; 4554 for (i = 0, l = eras.length; i < l; ++i) { 4555 switch (typeof eras[i].since) { 4556 case 'string': 4557 // truncate time 4558 date = hooks(eras[i].since).startOf('day'); 4559 eras[i].since = date.valueOf(); 4560 break; 4561 } 4562 4563 switch (typeof eras[i].until) { 4564 case 'undefined': 4565 eras[i].until = +Infinity; 4566 break; 4567 case 'string': 4568 // truncate time 4569 date = hooks(eras[i].until).startOf('day').valueOf(); 4570 eras[i].until = date.valueOf(); 4571 break; 4572 } 4573 } 4574 return eras; 4575 } 4576 4577 function localeErasParse(eraName, format, strict) { 4578 var i, 4579 l, 4580 eras = this.eras(), 4581 name, 4582 abbr, 4583 narrow; 4584 eraName = eraName.toUpperCase(); 4585 4586 for (i = 0, l = eras.length; i < l; ++i) { 4587 name = eras[i].name.toUpperCase(); 4588 abbr = eras[i].abbr.toUpperCase(); 4589 narrow = eras[i].narrow.toUpperCase(); 4590 4591 if (strict) { 4592 switch (format) { 4593 case 'N': 4594 case 'NN': 4595 case 'NNN': 4596 if (abbr === eraName) { 4597 return eras[i]; 4598 } 4599 break; 4600 4601 case 'NNNN': 4602 if (name === eraName) { 4603 return eras[i]; 4604 } 4605 break; 4606 4607 case 'NNNNN': 4608 if (narrow === eraName) { 4609 return eras[i]; 4610 } 4611 break; 4612 } 4613 } else if ([name, abbr, narrow].indexOf(eraName) >= 0) { 4614 return eras[i]; 4615 } 4616 } 4617 } 4618 4619 function localeErasConvertYear(era, year) { 4620 var dir = era.since <= era.until ? +1 : -1; 4621 if (year === undefined) { 4622 return hooks(era.since).year(); 4623 } else { 4624 return hooks(era.since).year() + (year - era.offset) * dir; 4625 } 4626 } 4627 4628 function getEraName() { 4629 var i, 4630 l, 4631 val, 4632 eras = this.localeData().eras(); 4633 for (i = 0, l = eras.length; i < l; ++i) { 4634 // truncate time 4635 val = this.startOf('day').valueOf(); 4636 4637 if (eras[i].since <= val && val <= eras[i].until) { 4638 return eras[i].name; 4639 } 4640 if (eras[i].until <= val && val <= eras[i].since) { 4641 return eras[i].name; 4642 } 4643 } 4644 4645 return ''; 4646 } 4647 4648 function getEraNarrow() { 4649 var i, 4650 l, 4651 val, 4652 eras = this.localeData().eras(); 4653 for (i = 0, l = eras.length; i < l; ++i) { 4654 // truncate time 4655 val = this.startOf('day').valueOf(); 4656 4657 if (eras[i].since <= val && val <= eras[i].until) { 4658 return eras[i].narrow; 4659 } 4660 if (eras[i].until <= val && val <= eras[i].since) { 4661 return eras[i].narrow; 4662 } 4663 } 4664 4665 return ''; 4666 } 4667 4668 function getEraAbbr() { 4669 var i, 4670 l, 4671 val, 4672 eras = this.localeData().eras(); 4673 for (i = 0, l = eras.length; i < l; ++i) { 4674 // truncate time 4675 val = this.startOf('day').valueOf(); 4676 4677 if (eras[i].since <= val && val <= eras[i].until) { 4678 return eras[i].abbr; 4679 } 4680 if (eras[i].until <= val && val <= eras[i].since) { 4681 return eras[i].abbr; 4682 } 4683 } 4684 4685 return ''; 4686 } 4687 4688 function getEraYear() { 4689 var i, 4690 l, 4691 dir, 4692 val, 4693 eras = this.localeData().eras(); 4694 for (i = 0, l = eras.length; i < l; ++i) { 4695 dir = eras[i].since <= eras[i].until ? +1 : -1; 4696 4697 // truncate time 4698 val = this.startOf('day').valueOf(); 4699 4700 if ( 4701 (eras[i].since <= val && val <= eras[i].until) || 4702 (eras[i].until <= val && val <= eras[i].since) 4703 ) { 4704 return ( 4705 (this.year() - hooks(eras[i].since).year()) * dir + 4706 eras[i].offset 4707 ); 4708 } 4709 } 4710 4711 return this.year(); 4712 } 4713 4714 function erasNameRegex(isStrict) { 4715 if (!hasOwnProp(this, '_erasNameRegex')) { 4716 computeErasParse.call(this); 4717 } 4718 return isStrict ? this._erasNameRegex : this._erasRegex; 4719 } 4720 4721 function erasAbbrRegex(isStrict) { 4722 if (!hasOwnProp(this, '_erasAbbrRegex')) { 4723 computeErasParse.call(this); 4724 } 4725 return isStrict ? this._erasAbbrRegex : this._erasRegex; 4726 } 4727 4728 function erasNarrowRegex(isStrict) { 4729 if (!hasOwnProp(this, '_erasNarrowRegex')) { 4730 computeErasParse.call(this); 4731 } 4732 return isStrict ? this._erasNarrowRegex : this._erasRegex; 4733 } 4734 4735 function matchEraAbbr(isStrict, locale) { 4736 return locale.erasAbbrRegex(isStrict); 4737 } 4738 4739 function matchEraName(isStrict, locale) { 4740 return locale.erasNameRegex(isStrict); 4741 } 4742 4743 function matchEraNarrow(isStrict, locale) { 4744 return locale.erasNarrowRegex(isStrict); 4745 } 4746 4747 function matchEraYearOrdinal(isStrict, locale) { 4748 return locale._eraYearOrdinalRegex || matchUnsigned; 4749 } 4750 4751 function computeErasParse() { 4752 var abbrPieces = [], 4753 namePieces = [], 4754 narrowPieces = [], 4755 mixedPieces = [], 4756 i, 4757 l, 4758 eras = this.eras(); 4759 4760 for (i = 0, l = eras.length; i < l; ++i) { 4761 namePieces.push(regexEscape(eras[i].name)); 4762 abbrPieces.push(regexEscape(eras[i].abbr)); 4763 narrowPieces.push(regexEscape(eras[i].narrow)); 4764 4765 mixedPieces.push(regexEscape(eras[i].name)); 4766 mixedPieces.push(regexEscape(eras[i].abbr)); 4767 mixedPieces.push(regexEscape(eras[i].narrow)); 4768 } 4769 4770 this._erasRegex = new RegExp('^(' + mixedPieces.join('|') + ')', 'i'); 4771 this._erasNameRegex = new RegExp('^(' + namePieces.join('|') + ')', 'i'); 4772 this._erasAbbrRegex = new RegExp('^(' + abbrPieces.join('|') + ')', 'i'); 4773 this._erasNarrowRegex = new RegExp( 4774 '^(' + narrowPieces.join('|') + ')', 4775 'i' 4776 ); 4777 } 4778 4779 // FORMATTING 4780 4781 addFormatToken(0, ['gg', 2], 0, function () { 4782 return this.weekYear() % 100; 4783 }); 4784 4785 addFormatToken(0, ['GG', 2], 0, function () { 4786 return this.isoWeekYear() % 100; 4787 }); 4788 4789 function addWeekYearFormatToken(token, getter) { 4790 addFormatToken(0, [token, token.length], 0, getter); 4791 } 4792
vendor: 9,278 bytes, lines 4793-5149
4793 addWeekYearFormatToken('gggg', 'weekYear'); 4794 addWeekYearFormatToken('ggggg', 'weekYear'); 4795 addWeekYearFormatToken('GGGG', 'isoWeekYear'); 4796 addWeekYearFormatToken('GGGGG', 'isoWeekYear'); 4797 4798 // ALIASES 4799 4800 addUnitAlias('weekYear', 'gg'); 4801 addUnitAlias('isoWeekYear', 'GG'); 4802 4803 // PRIORITY 4804 4805 addUnitPriority('weekYear', 1); 4806 addUnitPriority('isoWeekYear', 1); 4807 4808 // PARSING 4809 4810 addRegexToken('G', matchSigned); 4811 addRegexToken('g', matchSigned); 4812 addRegexToken('GG', match1to2, match2); 4813 addRegexToken('gg', match1to2, match2); 4814 addRegexToken('GGGG', match1to4, match4); 4815 addRegexToken('gggg', match1to4, match4); 4816 addRegexToken('GGGGG', match1to6, match6); 4817 addRegexToken('ggggg', match1to6, match6); 4818 4819 addWeekParseToken(['gggg', 'ggggg', 'GGGG', 'GGGGG'], function ( 4820 input, 4821 week, 4822 config, 4823 token 4824 ) { 4825 week[token.substr(0, 2)] = toInt(input); 4826 }); 4827 4828 addWeekParseToken(['gg', 'GG'], function (input, week, config, token) { 4829 week[token] = hooks.parseTwoDigitYear(input); 4830 }); 4831 4832 // MOMENTS 4833 4834 function getSetWeekYear(input) { 4835 return getSetWeekYearHelper.call( 4836 this, 4837 input, 4838 this.week(), 4839 this.weekday(), 4840 this.localeData()._week.dow, 4841 this.localeData()._week.doy 4842 ); 4843 } 4844 4845 function getSetISOWeekYear(input) { 4846 return getSetWeekYearHelper.call( 4847 this, 4848 input, 4849 this.isoWeek(), 4850 this.isoWeekday(), 4851 1, 4852 4 4853 ); 4854 } 4855 4856 function getISOWeeksInYear() { 4857 return weeksInYear(this.year(), 1, 4); 4858 } 4859 4860 function getISOWeeksInISOWeekYear() { 4861 return weeksInYear(this.isoWeekYear(), 1, 4); 4862 } 4863 4864 function getWeeksInYear() { 4865 var weekInfo = this.localeData()._week; 4866 return weeksInYear(this.year(), weekInfo.dow, weekInfo.doy); 4867 } 4868 4869 function getWeeksInWeekYear() { 4870 var weekInfo = this.localeData()._week; 4871 return weeksInYear(this.weekYear(), weekInfo.dow, weekInfo.doy); 4872 } 4873 4874 function getSetWeekYearHelper(input, week, weekday, dow, doy) { 4875 var weeksTarget; 4876 if (input == null) { 4877 return weekOfYear(this, dow, doy).year; 4878 } else { 4879 weeksTarget = weeksInYear(input, dow, doy); 4880 if (week > weeksTarget) { 4881 week = weeksTarget; 4882 } 4883 return setWeekAll.call(this, input, week, weekday, dow, doy); 4884 } 4885 } 4886 4887 function setWeekAll(weekYear, week, weekday, dow, doy) { 4888 var dayOfYearData = dayOfYearFromWeeks(weekYear, week, weekday, dow, doy), 4889 date = createUTCDate(dayOfYearData.year, 0, dayOfYearData.dayOfYear); 4890 4891 this.year(date.getUTCFullYear()); 4892 this.month(date.getUTCMonth()); 4893 this.date(date.getUTCDate()); 4894 return this; 4895 } 4896 4897 // FORMATTING 4898 4899 addFormatToken('Q', 0, 'Qo', 'quarter'); 4900 4901 // ALIASES 4902 4903 addUnitAlias('quarter', 'Q'); 4904 4905 // PRIORITY 4906 4907 addUnitPriority('quarter', 7); 4908 4909 // PARSING 4910 4911 addRegexToken('Q', match1); 4912 addParseToken('Q', function (input, array) { 4913 array[MONTH] = (toInt(input) - 1) * 3; 4914 }); 4915 4916 // MOMENTS 4917 4918 function getSetQuarter(input) { 4919 return input == null 4920 ? Math.ceil((this.month() + 1) / 3) 4921 : this.month((input - 1) * 3 + (this.month() % 3)); 4922 } 4923 4924 // FORMATTING 4925 4926 addFormatToken('D', ['DD', 2], 'Do', 'date'); 4927 4928 // ALIASES 4929 4930 addUnitAlias('date', 'D'); 4931 4932 // PRIORITY 4933 addUnitPriority('date', 9); 4934 4935 // PARSING 4936 4937 addRegexToken('D', match1to2); 4938 addRegexToken('DD', match1to2, match2); 4939 addRegexToken('Do', function (isStrict, locale) { 4940 // TODO: Remove "ordinalParse" fallback in next major release. 4941 return isStrict 4942 ? locale._dayOfMonthOrdinalParse || locale._ordinalParse 4943 : locale._dayOfMonthOrdinalParseLenient; 4944 }); 4945 4946 addParseToken(['D', 'DD'], DATE); 4947 addParseToken('Do', function (input, array) { 4948 array[DATE] = toInt(input.match(match1to2)[0]); 4949 }); 4950 4951 // MOMENTS 4952 4953 var getSetDayOfMonth = makeGetSet('Date', true); 4954 4955 // FORMATTING 4956 4957 addFormatToken('DDD', ['DDDD', 3], 'DDDo', 'dayOfYear'); 4958 4959 // ALIASES 4960 4961 addUnitAlias('dayOfYear', 'DDD'); 4962 4963 // PRIORITY 4964 addUnitPriority('dayOfYear', 4); 4965 4966 // PARSING 4967 4968 addRegexToken('DDD', match1to3); 4969 addRegexToken('DDDD', match3); 4970 addParseToken(['DDD', 'DDDD'], function (input, array, config) { 4971 config._dayOfYear = toInt(input); 4972 }); 4973 4974 // HELPERS 4975 4976 // MOMENTS 4977 4978 function getSetDayOfYear(input) { 4979 var dayOfYear = 4980 Math.round( 4981 (this.clone().startOf('day') - this.clone().startOf('year')) / 864e5 4982 ) + 1; 4983 return input == null ? dayOfYear : this.add(input - dayOfYear, 'd'); 4984 } 4985 4986 // FORMATTING 4987 4988 addFormatToken('m', ['mm', 2], 0, 'minute'); 4989 4990 // ALIASES 4991 4992 addUnitAlias('minute', 'm'); 4993 4994 // PRIORITY 4995 4996 addUnitPriority('minute', 14); 4997 4998 // PARSING 4999 5000 addRegexToken('m', match1to2); 5001 addRegexToken('mm', match1to2, match2); 5002 addParseToken(['m', 'mm'], MINUTE); 5003 5004 // MOMENTS 5005 5006 var getSetMinute = makeGetSet('Minutes', false); 5007 5008 // FORMATTING 5009 5010 addFormatToken('s', ['ss', 2], 0, 'second'); 5011 5012 // ALIASES 5013 5014 addUnitAlias('second', 's'); 5015 5016 // PRIORITY 5017 5018 addUnitPriority('second', 15); 5019 5020 // PARSING 5021 5022 addRegexToken('s', match1to2); 5023 addRegexToken('ss', match1to2, match2); 5024 addParseToken(['s', 'ss'], SECOND); 5025 5026 // MOMENTS 5027 5028 var getSetSecond = makeGetSet('Seconds', false); 5029 5030 // FORMATTING 5031 5032 addFormatToken('S', 0, 0, function () { 5033 return ~~(this.millisecond() / 100); 5034 }); 5035 5036 addFormatToken(0, ['SS', 2], 0, function () { 5037 return ~~(this.millisecond() / 10); 5038 }); 5039 5040 addFormatToken(0, ['SSS', 3], 0, 'millisecond'); 5041 addFormatToken(0, ['SSSS', 4], 0, function () { 5042 return this.millisecond() * 10; 5043 }); 5044 addFormatToken(0, ['SSSSS', 5], 0, function () { 5045 return this.millisecond() * 100; 5046 }); 5047 addFormatToken(0, ['SSSSSS', 6], 0, function () { 5048 return this.millisecond() * 1000; 5049 }); 5050 addFormatToken(0, ['SSSSSSS', 7], 0, function () { 5051 return this.millisecond() * 10000; 5052 }); 5053 addFormatToken(0, ['SSSSSSSS', 8], 0, function () { 5054 return this.millisecond() * 100000; 5055 }); 5056 addFormatToken(0, ['SSSSSSSSS', 9], 0, function () { 5057 return this.millisecond() * 1000000; 5058 }); 5059 5060 // ALIASES 5061 5062 addUnitAlias('millisecond', 'ms'); 5063 5064 // PRIORITY 5065 5066 addUnitPriority('millisecond', 16); 5067 5068 // PARSING 5069 5070 addRegexToken('S', match1to3, match1); 5071 addRegexToken('SS', match1to3, match2); 5072 addRegexToken('SSS', match1to3, match3); 5073 5074 var token, getSetMillisecond; 5075 for (token = 'SSSS'; token.length <= 9; token += 'S') { 5076 addRegexToken(token, matchUnsigned); 5077 } 5078 5079 function parseMs(input, array) { 5080 array[MILLISECOND] = toInt(('0.' + input) * 1000); 5081 } 5082 5083 for (token = 'S'; token.length <= 9; token += 'S') { 5084 addParseToken(token, parseMs); 5085 } 5086 5087 getSetMillisecond = makeGetSet('Milliseconds', false); 5088 5089 // FORMATTING 5090 5091 addFormatToken('z', 0, 0, 'zoneAbbr'); 5092 addFormatToken('zz', 0, 0, 'zoneName'); 5093 5094 // MOMENTS 5095 5096 function getZoneAbbr() { 5097 return this._isUTC ? 'UTC' : ''; 5098 } 5099 5100 function getZoneName() { 5101 return this._isUTC ? 'Coordinated Universal Time' : ''; 5102 } 5103 5104 var proto = Moment.prototype; 5105 5106 proto.add = add; 5107 proto.calendar = calendar$1; 5108 proto.clone = clone; 5109 proto.diff = diff; 5110 proto.endOf = endOf; 5111 proto.format = format; 5112 proto.from = from; 5113 proto.fromNow = fromNow; 5114 proto.to = to; 5115 proto.toNow = toNow; 5116 proto.get = stringGet; 5117 proto.invalidAt = invalidAt; 5118 proto.isAfter = isAfter; 5119 proto.isBefore = isBefore; 5120 proto.isBetween = isBetween; 5121 proto.isSame = isSame; 5122 proto.isSameOrAfter = isSameOrAfter; 5123 proto.isSameOrBefore = isSameOrBefore; 5124 proto.isValid = isValid$2; 5125 proto.lang = lang; 5126 proto.locale = locale; 5127 proto.localeData = localeData; 5128 proto.max = prototypeMax; 5129 proto.min = prototypeMin; 5130 proto.parsingFlags = parsingFlags; 5131 proto.set = stringSet; 5132 proto.startOf = startOf; 5133 proto.subtract = subtract; 5134 proto.toArray = toArray; 5135 proto.toObject = toObject; 5136 proto.toDate = toDate; 5137 proto.toISOString = toISOString; 5138 proto.inspect = inspect; 5139 if (typeof Symbol !== 'undefined' && Symbol.for != null) { 5140 proto[Symbol.for('nodejs.util.inspect.custom')] = function () { 5141 return 'Moment<' + this.format() + '>'; 5142 }; 5143 } 5144 proto.toJSON = toJSON; 5145 proto.toString = toString; 5146 proto.unix = unix; 5147 proto.valueOf = valueOf; 5148 proto.creationData = creationData; 5149 proto.eraName = getEraName;
5150 proto.eraNarrow = getEraNarrow; 5151 proto.eraAbbr = getEraAbbr; 5152 proto.eraYear = getEraYear; 5153 proto.year = getSetYear; 5154 proto.isLeapYear = getIsLeapYear; 5155 proto.weekYear = getSetWeekYear; 5156 proto.isoWeekYear = getSetISOWeekYear; 5157 proto.quarter = proto.quarters = getSetQuarter; 5158 proto.month = getSetMonth; 5159 proto.daysInMonth = getDaysInMonth; 5160 proto.week = proto.weeks = getSetWeek; 5161 proto.isoWeek = proto.isoWeeks = getSetISOWeek; 5162 proto.weeksInYear = getWeeksInYear; 5163 proto.weeksInWeekYear = getWeeksInWeekYear; 5164 proto.isoWeeksInYear = getISOWeeksInYear; 5165 proto.isoWeeksInISOWeekYear = getISOWeeksInISOWeekYear; 5166 proto.date = getSetDayOfMonth; 5167 proto.day = proto.days = getSetDayOfWeek; 5168 proto.weekday = getSetLocaleDayOfWeek; 5169 proto.isoWeekday = getSetISODayOfWeek; 5170 proto.dayOfYear = getSetDayOfYear; 5171 proto.hour = proto.hours = getSetHour; 5172 proto.minute = proto.minutes = getSetMinute; 5173 proto.second = proto.seconds = getSetSecond; 5174 proto.millisecond = proto.milliseconds = getSetMillisecond; 5175 proto.utcOffset = getSetOffset; 5176 proto.utc = setOffsetToUTC; 5177 proto.local = setOffsetToLocal; 5178 proto.parseZone = setOffsetToParsedOffset; 5179 proto.hasAlignedHourOffset = hasAlignedHourOffset; 5180 proto.isDST = isDaylightSavingTime; 5181 proto.isLocal = isLocal; 5182 proto.isUtcOffset = isUtcOffset; 5183 proto.isUtc = isUtc; 5184 proto.isUTC = isUtc; 5185 proto.zoneAbbr = getZoneAbbr; 5186 proto.zoneName = getZoneName; 5187 proto.dates = deprecate( 5188 'dates accessor is deprecated. Use date instead.', 5189 getSetDayOfMonth 5190 ); 5191 proto.months = deprecate( 5192 'months accessor is deprecated. Use month instead', 5193 getSetMonth 5194 ); 5195 proto.years = deprecate( 5196 'years accessor is deprecated. Use year instead', 5197 getSetYear 5198 ); 5199 proto.zone = deprecate( 5200 'moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/', 5201 getSetZone 5202 ); 5203 proto.isDSTShifted = deprecate( 5204 'isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information', 5205 isDaylightSavingTimeShifted 5206 ); 5207 5208 function createUnix(input) { 5209 return createLocal(input * 1000); 5210 } 5211 5212 function createInZone() { 5213 return createLocal.apply(null, arguments).parseZone(); 5214 } 5215 5216 function preParsePostFormat(string) { 5217 return string; 5218 } 5219 5220 var proto$1 = Locale.prototype; 5221 5222 proto$1.calendar = calendar; 5223 proto$1.longDateFormat = longDateFormat; 5224 proto$1.invalidDate = invalidDate; 5225 proto$1.ordinal = ordinal; 5226 proto$1.preparse = preParsePostFormat; 5227 proto$1.postformat = preParsePostFormat; 5228 proto$1.relativeTime = relativeTime; 5229 proto$1.pastFuture = pastFuture; 5230 proto$1.set = set; 5231 proto$1.eras = localeEras; 5232 proto$1.erasParse = localeErasParse; 5233 proto$1.erasConvertYear = localeErasConvertYear; 5234 proto$1.erasAbbrRegex = erasAbbrRegex; 5235 proto$1.erasNameRegex = erasNameRegex; 5236 proto$1.erasNarrowRegex = erasNarrowRegex; 5237 5238 proto$1.months = localeMonths; 5239 proto$1.monthsShort = localeMonthsShort; 5240 proto$1.monthsParse = localeMonthsParse; 5241 proto$1.monthsRegex = monthsRegex; 5242 proto$1.monthsShortRegex = monthsShortRegex; 5243 proto$1.week = localeWeek; 5244 proto$1.firstDayOfYear = localeFirstDayOfYear; 5245 proto$1.firstDayOfWeek = localeFirstDayOfWeek; 5246 5247 proto$1.weekdays = localeWeekdays; 5248 proto$1.weekdaysMin = localeWeekdaysMin; 5249 proto$1.weekdaysShort = localeWeekdaysShort; 5250 proto$1.weekdaysParse = localeWeekdaysParse; 5251 5252 proto$1.weekdaysRegex = weekdaysRegex; 5253 proto$1.weekdaysShortRegex = weekdaysShortRegex; 5254 proto$1.weekdaysMinRegex = weekdaysMinRegex; 5255 5256 proto$1.isPM = localeIsPM; 5257 proto$1.meridiem = localeMeridiem; 5258 5259 function get$1(format, index, field, setter) { 5260 var locale = getLocale(), 5261 utc = createUTC().set(setter, index);
vendor: 20,064 bytes, lines 5262-5901
5262 return locale[field](utc, format); 5263 } 5264 5265 function listMonthsImpl(format, index, field) { 5266 if (isNumber(format)) { 5267 index = format; 5268 format = undefined; 5269 } 5270 5271 format = format || ''; 5272 5273 if (index != null) { 5274 return get$1(format, index, field, 'month'); 5275 } 5276 5277 var i, 5278 out = []; 5279 for (i = 0; i < 12; i++) { 5280 out[i] = get$1(format, i, field, 'month'); 5281 } 5282 return out; 5283 } 5284 5285 // () 5286 // (5) 5287 // (fmt, 5) 5288 // (fmt) 5289 // (true) 5290 // (true, 5) 5291 // (true, fmt, 5) 5292 // (true, fmt) 5293 function listWeekdaysImpl(localeSorted, format, index, field) { 5294 if (typeof localeSorted === 'boolean') { 5295 if (isNumber(format)) { 5296 index = format; 5297 format = undefined; 5298 } 5299 5300 format = format || ''; 5301 } else { 5302 format = localeSorted; 5303 index = format; 5304 localeSorted = false; 5305 5306 if (isNumber(format)) { 5307 index = format; 5308 format = undefined; 5309 } 5310 5311 format = format || ''; 5312 } 5313 5314 var locale = getLocale(), 5315 shift = localeSorted ? locale._week.dow : 0, 5316 i, 5317 out = []; 5318 5319 if (index != null) { 5320 return get$1(format, (index + shift) % 7, field, 'day'); 5321 } 5322 5323 for (i = 0; i < 7; i++) { 5324 out[i] = get$1(format, (i + shift) % 7, field, 'day'); 5325 } 5326 return out; 5327 } 5328 5329 function listMonths(format, index) { 5330 return listMonthsImpl(format, index, 'months'); 5331 } 5332 5333 function listMonthsShort(format, index) { 5334 return listMonthsImpl(format, index, 'monthsShort'); 5335 } 5336 5337 function listWeekdays(localeSorted, format, index) { 5338 return listWeekdaysImpl(localeSorted, format, index, 'weekdays'); 5339 } 5340 5341 function listWeekdaysShort(localeSorted, format, index) { 5342 return listWeekdaysImpl(localeSorted, format, index, 'weekdaysShort'); 5343 } 5344 5345 function listWeekdaysMin(localeSorted, format, index) { 5346 return listWeekdaysImpl(localeSorted, format, index, 'weekdaysMin'); 5347 } 5348 5349 getSetGlobalLocale('en', { 5350 eras: [ 5351 { 5352 since: '0001-01-01', 5353 until: +Infinity, 5354 offset: 1, 5355 name: 'Anno Domini', 5356 narrow: 'AD', 5357 abbr: 'AD', 5358 }, 5359 { 5360 since: '0000-12-31', 5361 until: -Infinity, 5362 offset: 1, 5363 name: 'Before Christ', 5364 narrow: 'BC', 5365 abbr: 'BC', 5366 }, 5367 ], 5368 dayOfMonthOrdinalParse: /\d{1,2}(th|st|nd|rd)/, 5369 ordinal: function (number) { 5370 var b = number % 10, 5371 output = 5372 toInt((number % 100) / 10) === 1 5373 ? 'th' 5374 : b === 1 5375 ? 'st' 5376 : b === 2 5377 ? 'nd' 5378 : b === 3 5379 ? 'rd' 5380 : 'th'; 5381 return number + output; 5382 }, 5383 }); 5384 5385 // Side effect imports 5386 5387 hooks.lang = deprecate( 5388 'moment.lang is deprecated. Use moment.locale instead.', 5389 getSetGlobalLocale 5390 ); 5391 hooks.langData = deprecate( 5392 'moment.langData is deprecated. Use moment.localeData instead.', 5393 getLocale 5394 ); 5395 5396 var mathAbs = Math.abs; 5397 5398 function abs() { 5399 var data = this._data; 5400 5401 this._milliseconds = mathAbs(this._milliseconds); 5402 this._days = mathAbs(this._days); 5403 this._months = mathAbs(this._months); 5404 5405 data.milliseconds = mathAbs(data.milliseconds); 5406 data.seconds = mathAbs(data.seconds); 5407 data.minutes = mathAbs(data.minutes); 5408 data.hours = mathAbs(data.hours); 5409 data.months = mathAbs(data.months); 5410 data.years = mathAbs(data.years); 5411 5412 return this; 5413 } 5414 5415 function addSubtract$1(duration, input, value, direction) { 5416 var other = createDuration(input, value); 5417 5418 duration._milliseconds += direction * other._milliseconds; 5419 duration._days += direction * other._days; 5420 duration._months += direction * other._months; 5421 5422 return duration._bubble(); 5423 } 5424 5425 // supports only 2.0-style add(1, 's') or add(duration) 5426 function add$1(input, value) { 5427 return addSubtract$1(this, input, value, 1); 5428 } 5429 5430 // supports only 2.0-style subtract(1, 's') or subtract(duration) 5431 function subtract$1(input, value) { 5432 return addSubtract$1(this, input, value, -1); 5433 } 5434 5435 function absCeil(number) { 5436 if (number < 0) { 5437 return Math.floor(number); 5438 } else { 5439 return Math.ceil(number); 5440 } 5441 } 5442 5443 function bubble() { 5444 var milliseconds = this._milliseconds, 5445 days = this._days, 5446 months = this._months, 5447 data = this._data, 5448 seconds, 5449 minutes, 5450 hours, 5451 years, 5452 monthsFromDays; 5453 5454 // if we have a mix of positive and negative values, bubble down first 5455 // check: https://github.com/moment/moment/issues/2166 5456 if ( 5457 !( 5458 (milliseconds >= 0 && days >= 0 && months >= 0) || 5459 (milliseconds <= 0 && days <= 0 && months <= 0) 5460 ) 5461 ) { 5462 milliseconds += absCeil(monthsToDays(months) + days) * 864e5; 5463 days = 0; 5464 months = 0; 5465 } 5466 5467 // The following code bubbles up values, see the tests for 5468 // examples of what that means. 5469 data.milliseconds = milliseconds % 1000; 5470 5471 seconds = absFloor(milliseconds / 1000); 5472 data.seconds = seconds % 60; 5473 5474 minutes = absFloor(seconds / 60); 5475 data.minutes = minutes % 60; 5476 5477 hours = absFloor(minutes / 60); 5478 data.hours = hours % 24; 5479 5480 days += absFloor(hours / 24); 5481 5482 // convert days to months 5483 monthsFromDays = absFloor(daysToMonths(days)); 5484 months += monthsFromDays; 5485 days -= absCeil(monthsToDays(monthsFromDays)); 5486 5487 // 12 months -> 1 year 5488 years = absFloor(months / 12); 5489 months %= 12; 5490 5491 data.days = days; 5492 data.months = months; 5493 data.years = years; 5494 5495 return this; 5496 } 5497 5498 function daysToMonths(days) { 5499 // 400 years have 146097 days (taking into account leap year rules) 5500 // 400 years have 12 months === 4800 5501 return (days * 4800) / 146097; 5502 } 5503 5504 function monthsToDays(months) { 5505 // the reverse of daysToMonths 5506 return (months * 146097) / 4800; 5507 } 5508 5509 function as(units) { 5510 if (!this.isValid()) { 5511 return NaN; 5512 } 5513 var days, 5514 months, 5515 milliseconds = this._milliseconds; 5516 5517 units = normalizeUnits(units); 5518 5519 if (units === 'month' || units === 'quarter' || units === 'year') { 5520 days = this._days + milliseconds / 864e5; 5521 months = this._months + daysToMonths(days); 5522 switch (units) { 5523 case 'month': 5524 return months; 5525 case 'quarter': 5526 return months / 3; 5527 case 'year': 5528 return months / 12; 5529 } 5530 } else { 5531 // handle milliseconds separately because of floating point math errors (issue #1867) 5532 days = this._days + Math.round(monthsToDays(this._months)); 5533 switch (units) { 5534 case 'week': 5535 return days / 7 + milliseconds / 6048e5; 5536 case 'day': 5537 return days + milliseconds / 864e5; 5538 case 'hour': 5539 return days * 24 + milliseconds / 36e5; 5540 case 'minute': 5541 return days * 1440 + milliseconds / 6e4; 5542 case 'second': 5543 return days * 86400 + milliseconds / 1000; 5544 // Math.floor prevents floating point math errors here 5545 case 'millisecond': 5546 return Math.floor(days * 864e5) + milliseconds; 5547 default: 5548 throw new Error('Unknown unit ' + units); 5549 } 5550 } 5551 } 5552 5553 // TODO: Use this.as('ms')? 5554 function valueOf$1() { 5555 if (!this.isValid()) { 5556 return NaN; 5557 } 5558 return ( 5559 this._milliseconds + 5560 this._days * 864e5 + 5561 (this._months % 12) * 2592e6 + 5562 toInt(this._months / 12) * 31536e6 5563 ); 5564 } 5565 5566 function makeAs(alias) { 5567 return function () { 5568 return this.as(alias); 5569 }; 5570 } 5571 5572 var asMilliseconds = makeAs('ms'), 5573 asSeconds = makeAs('s'), 5574 asMinutes = makeAs('m'), 5575 asHours = makeAs('h'), 5576 asDays = makeAs('d'), 5577 asWeeks = makeAs('w'), 5578 asMonths = makeAs('M'), 5579 asQuarters = makeAs('Q'), 5580 asYears = makeAs('y'); 5581 5582 function clone$1() { 5583 return createDuration(this); 5584 } 5585 5586 function get$2(units) { 5587 units = normalizeUnits(units); 5588 return this.isValid() ? this[units + 's']() : NaN; 5589 } 5590 5591 function makeGetter(name) { 5592 return function () { 5593 return this.isValid() ? this._data[name] : NaN; 5594 }; 5595 } 5596 5597 var milliseconds = makeGetter('milliseconds'), 5598 seconds = makeGetter('seconds'), 5599 minutes = makeGetter('minutes'), 5600 hours = makeGetter('hours'), 5601 days = makeGetter('days'), 5602 months = makeGetter('months'), 5603 years = makeGetter('years'); 5604 5605 function weeks() { 5606 return absFloor(this.days() / 7); 5607 } 5608 5609 var round = Math.round, 5610 thresholds = { 5611 ss: 44, // a few seconds to seconds 5612 s: 45, // seconds to minute 5613 m: 45, // minutes to hour 5614 h: 22, // hours to day 5615 d: 26, // days to month/week 5616 w: null, // weeks to month 5617 M: 11, // months to year 5618 }; 5619 5620 // helper function for moment.fn.from, moment.fn.fromNow, and moment.duration.fn.humanize 5621 function substituteTimeAgo(string, number, withoutSuffix, isFuture, locale) { 5622 return locale.relativeTime(number || 1, !!withoutSuffix, string, isFuture); 5623 } 5624 5625 function relativeTime$1(posNegDuration, withoutSuffix, thresholds, locale) { 5626 var duration = createDuration(posNegDuration).abs(), 5627 seconds = round(duration.as('s')), 5628 minutes = round(duration.as('m')), 5629 hours = round(duration.as('h')), 5630 days = round(duration.as('d')), 5631 months = round(duration.as('M')), 5632 weeks = round(duration.as('w')), 5633 years = round(duration.as('y')), 5634 a = 5635 (seconds <= thresholds.ss && ['s', seconds]) || 5636 (seconds < thresholds.s && ['ss', seconds]) || 5637 (minutes <= 1 && ['m']) || 5638 (minutes < thresholds.m && ['mm', minutes]) || 5639 (hours <= 1 && ['h']) || 5640 (hours < thresholds.h && ['hh', hours]) || 5641 (days <= 1 && ['d']) || 5642 (days < thresholds.d && ['dd', days]); 5643 5644 if (thresholds.w != null) { 5645 a = 5646 a || 5647 (weeks <= 1 && ['w']) || 5648 (weeks < thresholds.w && ['ww', weeks]); 5649 } 5650 a = a || 5651 (months <= 1 && ['M']) || 5652 (months < thresholds.M && ['MM', months]) || 5653 (years <= 1 && ['y']) || ['yy', years]; 5654 5655 a[2] = withoutSuffix; 5656 a[3] = +posNegDuration > 0; 5657 a[4] = locale; 5658 return substituteTimeAgo.apply(null, a); 5659 } 5660 5661 // This function allows you to set the rounding function for relative time strings 5662 function getSetRelativeTimeRounding(roundingFunction) { 5663 if (roundingFunction === undefined) { 5664 return round; 5665 } 5666 if (typeof roundingFunction === 'function') { 5667 round = roundingFunction; 5668 return true; 5669 } 5670 return false; 5671 } 5672 5673 // This function allows you to set a threshold for relative time strings 5674 function getSetRelativeTimeThreshold(threshold, limit) { 5675 if (thresholds[threshold] === undefined) { 5676 return false; 5677 } 5678 if (limit === undefined) { 5679 return thresholds[threshold]; 5680 } 5681 thresholds[threshold] = limit; 5682 if (threshold === 's') { 5683 thresholds.ss = limit - 1; 5684 } 5685 return true; 5686 } 5687 5688 function humanize(argWithSuffix, argThresholds) { 5689 if (!this.isValid()) { 5690 return this.localeData().invalidDate(); 5691 } 5692 5693 var withSuffix = false, 5694 th = thresholds, 5695 locale, 5696 output; 5697 5698 if (typeof argWithSuffix === 'object') { 5699 argThresholds = argWithSuffix; 5700 argWithSuffix = false; 5701 } 5702 if (typeof argWithSuffix === 'boolean') { 5703 withSuffix = argWithSuffix; 5704 } 5705 if (typeof argThresholds === 'object') { 5706 th = Object.assign({}, thresholds, argThresholds); 5707 if (argThresholds.s != null && argThresholds.ss == null) { 5708 th.ss = argThresholds.s - 1; 5709 } 5710 } 5711 5712 locale = this.localeData(); 5713 output = relativeTime$1(this, !withSuffix, th, locale); 5714 5715 if (withSuffix) { 5716 output = locale.pastFuture(+this, output); 5717 } 5718 5719 return locale.postformat(output); 5720 } 5721 5722 var abs$1 = Math.abs; 5723 5724 function sign(x) { 5725 return (x > 0) - (x < 0) || +x; 5726 } 5727 5728 function toISOString$1() { 5729 // for ISO strings we do not use the normal bubbling rules: 5730 // * milliseconds bubble up until they become hours 5731 // * days do not bubble at all 5732 // * months bubble up until they become years 5733 // This is because there is no context-free conversion between hours and days 5734 // (think of clock changes) 5735 // and also not between days and months (28-31 days per month) 5736 if (!this.isValid()) { 5737 return this.localeData().invalidDate(); 5738 } 5739 5740 var seconds = abs$1(this._milliseconds) / 1000, 5741 days = abs$1(this._days), 5742 months = abs$1(this._months), 5743 minutes, 5744 hours, 5745 years, 5746 s, 5747 total = this.asSeconds(), 5748 totalSign, 5749 ymSign, 5750 daysSign, 5751 hmsSign; 5752 5753 if (!total) { 5754 // this is the same as C#'s (Noda) and python (isodate)... 5755 // but not other JS (goog.date) 5756 return 'P0D'; 5757 } 5758 5759 // 3600 seconds -> 60 minutes -> 1 hour 5760 minutes = absFloor(seconds / 60); 5761 hours = absFloor(minutes / 60); 5762 seconds %= 60; 5763 minutes %= 60; 5764 5765 // 12 months -> 1 year 5766 years = absFloor(months / 12); 5767 months %= 12; 5768 5769 // inspired by https://github.com/dordille/moment-isoduration/blob/master/moment.isoduration.js 5770 s = seconds ? seconds.toFixed(3).replace(/\.?0+$/, '') : ''; 5771 5772 totalSign = total < 0 ? '-' : ''; 5773 ymSign = sign(this._months) !== sign(total) ? '-' : ''; 5774 daysSign = sign(this._days) !== sign(total) ? '-' : ''; 5775 hmsSign = sign(this._milliseconds) !== sign(total) ? '-' : ''; 5776 5777 return ( 5778 totalSign + 5779 'P' + 5780 (years ? ymSign + years + 'Y' : '') + 5781 (months ? ymSign + months + 'M' : '') + 5782 (days ? daysSign + days + 'D' : '') + 5783 (hours || minutes || seconds ? 'T' : '') + 5784 (hours ? hmsSign + hours + 'H' : '') + 5785 (minutes ? hmsSign + minutes + 'M' : '') + 5786 (seconds ? hmsSign + s + 'S' : '') 5787 ); 5788 } 5789 5790 var proto$2 = Duration.prototype; 5791 5792 proto$2.isValid = isValid$1; 5793 proto$2.abs = abs; 5794 proto$2.add = add$1; 5795 proto$2.subtract = subtract$1; 5796 proto$2.as = as; 5797 proto$2.asMilliseconds = asMilliseconds; 5798 proto$2.asSeconds = asSeconds; 5799 proto$2.asMinutes = asMinutes; 5800 proto$2.asHours = asHours; 5801 proto$2.asDays = asDays; 5802 proto$2.asWeeks = asWeeks; 5803 proto$2.asMonths = asMonths; 5804 proto$2.asQuarters = asQuarters; 5805 proto$2.asYears = asYears; 5806 proto$2.valueOf = valueOf$1; 5807 proto$2._bubble = bubble; 5808 proto$2.clone = clone$1; 5809 proto$2.get = get$2; 5810 proto$2.milliseconds = milliseconds; 5811 proto$2.seconds = seconds; 5812 proto$2.minutes = minutes; 5813 proto$2.hours = hours; 5814 proto$2.days = days; 5815 proto$2.weeks = weeks; 5816 proto$2.months = months; 5817 proto$2.years = years; 5818 proto$2.humanize = humanize; 5819 proto$2.toISOString = toISOString$1; 5820 proto$2.toString = toISOString$1; 5821 proto$2.toJSON = toISOString$1; 5822 proto$2.locale = locale; 5823 proto$2.localeData = localeData; 5824 5825 proto$2.toIsoString = deprecate( 5826 'toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)', 5827 toISOString$1 5828 ); 5829 proto$2.lang = lang; 5830 5831 // FORMATTING 5832 5833 addFormatToken('X', 0, 0, 'unix'); 5834 addFormatToken('x', 0, 0, 'valueOf'); 5835 5836 // PARSING 5837 5838 addRegexToken('x', matchSigned); 5839 addRegexToken('X', matchTimestamp); 5840 addParseToken('X', function (input, array, config) { 5841 config._d = new Date(parseFloat(input) * 1000); 5842 }); 5843 addParseToken('x', function (input, array, config) { 5844 config._d = new Date(toInt(input)); 5845 }); 5846 5847 //! moment.js 5848 5849 hooks.version = '2.26.0'; 5850 5851 setHookCallback(createLocal); 5852 5853 hooks.fn = proto; 5854 hooks.min = min; 5855 hooks.max = max; 5856 hooks.now = now; 5857 hooks.utc = createUTC; 5858 hooks.unix = createUnix; 5859 hooks.months = listMonths; 5860 hooks.isDate = isDate; 5861 hooks.locale = getSetGlobalLocale; 5862 hooks.invalid = createInvalid; 5863 hooks.duration = createDuration; 5864 hooks.isMoment = isMoment; 5865 hooks.weekdays = listWeekdays; 5866 hooks.parseZone = createInZone; 5867 hooks.localeData = getLocale; 5868 hooks.isDuration = isDuration; 5869 hooks.monthsShort = listMonthsShort; 5870 hooks.weekdaysMin = listWeekdaysMin; 5871 hooks.defineLocale = defineLocale; 5872 hooks.updateLocale = updateLocale; 5873 hooks.locales = listLocales; 5874 hooks.weekdaysShort = listWeekdaysShort; 5875 hooks.normalizeUnits = normalizeUnits; 5876 hooks.relativeTimeRounding = getSetRelativeTimeRounding; 5877 hooks.relativeTimeThreshold = getSetRelativeTimeThreshold; 5878 hooks.calendarFormat = getCalendarFormat; 5879 hooks.prototype = proto; 5880 5881 // currently HTML5 input type only supports 24-hour formats 5882 hooks.HTML5_FMT = { 5883 DATETIME_LOCAL: 'YYYY-MM-DDTHH:mm', // <input type="datetime-local" /> 5884 DATETIME_LOCAL_SECONDS: 'YYYY-MM-DDTHH:mm:ss', // <input type="datetime-local" step="1" /> 5885 DATETIME_LOCAL_MS: 'YYYY-MM-DDTHH:mm:ss.SSS', // <input type="datetime-local" step="0.001" /> 5886 DATE: 'YYYY-MM-DD', // <input type="date" /> 5887 TIME: 'HH:mm', // <input type="time" /> 5888 TIME_SECONDS: 'HH:mm:ss', // <input type="time" step="1" /> 5889 TIME_MS: 'HH:mm:ss.SSS', // <input type="time" step="0.001" /> 5890 WEEK: 'GGGG-[W]WW', // <input type="week" /> 5891 MONTH: 'YYYY-MM', // <input type="month" /> 5892 }; 5893 5894 return hooks; 5895 5896 }))); 5897 5898 /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(392)(module))) 5899 5900/***/ }), 5901/* 2 */
5902/***/ (function(module, exports) { 5903 5904 /*! jQuery v2.1.4 | (c) 2005, 2015 jQuery Foundation, Inc. | jquery.org/license */ 5905
vendor: 32,010 bytes, line 5905
5905!function(a,b){"object"==typeof module&&"object"==typeof module.exports?module.exports=a.document?b(a,!0):function(a){if(!a.document)throw new Error("jQuery requires a window with a document");return b(a)}:b(a)}("undefined"!=typeof window?window:this,function(a,b){var c=[],d=c.slice,e=c.concat,f=c.push,g=c.indexOf,h={},i=h.toString,j=h.hasOwnProperty,k={},l=a.document,m="2.1.4",n=function(a,b){return new n.fn.init(a,b)},o=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,p=/^-ms-/,q=/-([\da-z])/gi,r=function(a,b){return b.toUpperCase()};n.fn=n.prototype={jquery:m,constructor:n,selector:"",length:0,toArray:function(){return d.call(this)},get:function(a){return null!=a?0>a?this[a+this.length]:this[a]:d.call(this)},pushStack:function(a){var b=n.merge(this.constructor(),a);return b.prevObject=this,b.context=this.context,b},each:function(a,b){return n.each(this,a,b)},map:function(a){return this.pushStack(n.map(this,function(b,c){return a.call(b,c,b)}))},slice:function(){return this.pushStack(d.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(a){var b=this.length,c=+a+(0>a?b:0);return this.pushStack(c>=0&&b>c?[this[c]]:[])},end:function(){return this.prevObject||this.constructor(null)},push:f,sort:c.sort,splice:c.splice},n.extend=n.fn.extend=function(){var a,b,c,d,e,f,g=arguments[0]||{},h=1,i=arguments.length,j=!1;for("boolean"==typeof g&&(j=g,g=arguments[h]||{},h++),"object"==typeof g||n.isFunction(g)||(g={}),h===i&&(g=this,h--);i>h;h++)if(null!=(a=arguments[h]))for(b in a)c=g[b],d=a[b],g!==d&&(j&&d&&(n.isPlainObject(d)||(e=n.isArray(d)))?(e?(e=!1,f=c&&n.isArray(c)?c:[]):f=c&&n.isPlainObject(c)?c:{},g[b]=n.extend(j,f,d)):void 0!==d&&(g[b]=d));return g},n.extend({expando:"jQuery"+(m+Math.random()).replace(/\D/g,""),isReady:!0,error:function(a){throw new Error(a)},noop:function(){},isFunction:function(a){return"function"===n.type(a)},isArray:Array.isArray,isWindow:function(a){return null!=a&&a===a.window},isNumeric:function(a){return!n.isArray(a)&&a-parseFloat(a)+1>=0},isPlainObject:function(a){return"object"!==n.type(a)||a.nodeType||n.isWindow(a)?!1:a.constructor&&!j.call(a.constructor.prototype,"isPrototypeOf")?!1:!0},isEmptyObject:function(a){var b;for(b in a)return!1;return!0},type:function(a){return null==a?a+"":"object"==typeof a||"function"==typeof a?h[i.call(a)]||"object":typeof a},globalEval:function(a){var b,c=eval;a=n.trim(a),a&&(1===a.indexOf("use strict")?(b=l.createElement("script"),b.text=a,l.head.appendChild(b).parentNode.removeChild(b)):c(a))},camelCase:function(a){return a.replace(p,"ms-").replace(q,r)},nodeName:function(a,b){return a.nodeName&&a.nodeName.toLowerCase()===b.toLowerCase()},each:function(a,b,c){var d,e=0,f=a.length,g=s(a);if(c){if(g){for(;f>e;e++)if(d=b.apply(a[e],c),d===!1)break}else for(e in a)if(d=b.apply(a[e],c),d===!1)break}else if(g){for(;f>e;e++)if(d=b.call(a[e],e,a[e]),d===!1)break}else for(e in a)if(d=b.call(a[e],e,a[e]),d===!1)break;return a},trim:function(a){return null==a?"":(a+"").replace(o,"")},makeArray:function(a,b){var c=b||[];return null!=a&&(s(Object(a))?n.merge(c,"string"==typeof a?[a]:a):f.call(c,a)),c},inArray:function(a,b,c){return null==b?-1:g.call(b,a,c)},merge:function(a,b){for(var c=+b.length,d=0,e=a.length;c>d;d++)a[e++]=b[d];return a.length=e,a},grep:function(a,b,c){for(var d,e=[],f=0,g=a.length,h=!c;g>f;f++)d=!b(a[f],f),d!==h&&e.push(a[f]);return e},map:function(a,b,c){var d,f=0,g=a.length,h=s(a),i=[];if(h)for(;g>f;f++)d=b(a[f],f,c),null!=d&&i.push(d);else for(f in a)d=b(a[f],f,c),null!=d&&i.push(d);return e.apply([],i)},guid:1,proxy:function(a,b){var c,e,f;return"string"==typeof b&&(c=a[b],b=a,a=c),n.isFunction(a)?(e=d.call(arguments,2),f=function(){return a.apply(b||this,e.concat(d.call(arguments)))},f.guid=a.guid=a.guid||n.guid++,f):void 0},now:Date.now,support:k}),n.each("Boolean Number String Function Array Date RegExp Object Error".split(" "),function(a,b){h["[object "+b+"]"]=b.toLowerCase()});function s(a){var b="length"in a&&a.length,c=n.type(a);return"function"===c||n.isWindow(a)?!1:1===a.nodeType&&b?!0:"array"===c||0===b||"number"==typeof b&&b>0&&b-1 in a}var t=function(a){var b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u="sizzle"+1*new Date,v=a.document,w=0,x=0,y=ha(),z=ha(),A=ha(),B=function(a,b){return a===b&&(l=!0),0},C=1<<31,D={}.hasOwnProperty,E=[],F=E.pop,G=E.push,H=E.push,I=E.slice,J=function(a,b){for(var c=0,d=a.length;d>c;c++)if(a[c]===b)return c;return-1},K="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",L="[\\x20\\t\\r\\n\\f]",M="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",N=M.replace("w","w#"),O="\\["+L+"*("+M+")(?:"+L+"*([*^$|!~]?=)"+L+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+N+"))|)"+L+"*\\]",P=":("+M+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+O+")*)|.*)\\)|)",Q=new RegExp(L+"+","g"),R=new RegExp("^"+L+"+|((?:^|[^\\\\])(?:\\\\.)*)"+L+"+$","g"),S=new RegExp("^"+L+"*,"+L+"*"),T=new RegExp("^"+L+"*([>+~]|"+L+")"+L+"*"),U=new RegExp("="+L+"*([^\\]'\"]*?)"+L+"*\\]","g"),V=new RegExp(P),W=new RegExp("^"+N+"$"),X={ID:new RegExp("^#("+M+")"),CLASS:new RegExp("^\\.("+M+")"),TAG:new RegExp("^("+M.replace("w","w*")+")"),ATTR:new RegExp("^"+O),PSEUDO:new RegExp("^"+P),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+L+"*(even|odd|(([+-]|)(\\d*)n|)"+L+"*(?:([+-]|)"+L+"*(\\d+)|))"+L+"*\\)|)","i"),bool:new RegExp("^(?:"+K+")$","i"),needsContext:new RegExp("^"+L+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+L+"*((?:-\\d)?\\d*)"+L+"*\\)|)(?=[^-]|$)","i")},Y=/^(?:input|select|textarea|button)$/i,Z=/^h\d$/i,$=/^[^{]+\{\s*\[native \w/,_=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,aa=/[+~]/,ba=/'|\\/g,ca=new RegExp("\\\\([\\da-f]{1,6}"+L+"?|("+L+")|.)","ig"),da=function(a,b,c){var d="0x"+b-65536;return d!==d||c?b:0>d?String.fromCharCode(d+65536):String.fromCharCode(d>>10|55296,1023&d|56320)},ea=function(){m()};try{H.apply(E=I.call(v.childNodes),v.childNodes),E[v.childNodes.length].nodeType}catch(fa){H={apply:E.length?function(a,b){G.apply(a,I.call(b))}:function(a,b){var c=a.length,d=0;while(a[c++]=b[d++]);a.length=c-1}}}function ga(a,b,d,e){var f,h,j,k,l,o,r,s,w,x;if((b?b.ownerDocument||b:v)!==n&&m(b),b=b||n,d=d||[],k=b.nodeType,"string"!=typeof a||!a||1!==k&&9!==k&&11!==k)return d;if(!e&&p){if(11!==k&&(f=_.exec(a)))if(j=f[1]){if(9===k){if(h=b.getElementById(j),!h||!h.parentNode)return d;if(h.id===j)return d.push(h),d}else if(b.ownerDocument&&(h=b.ownerDocument.getElementById(j))&&t(b,h)&&h.id===j)return d.push(h),d}else{if(f[2])return H.apply(d,b.getElementsByTagName(a)),d;if((j=f[3])&&c.getElementsByClassName)return H.apply(d,b.getElementsByClassName(j)),d}if(c.qsa&&(!q||!q.test(a))){if(s=r=u,w=b,x=1!==k&&a,1===k&&"object"!==b.nodeName.toLowerCase()){o=g(a),(r=b.getAttribute("id"))?s=r.replace(ba,"\\$&"):b.setAttribute("id",s),s="[id='"+s+"'] ",l=o.length;while(l--)o[l]=s+ra(o[l]);w=aa.test(a)&&pa(b.parentNode)||b,x=o.join(",")}if(x)try{return H.apply(d,w.querySelectorAll(x)),d}catch(y){}finally{r||b.removeAttribute("id")}}}return i(a.replace(R,"$1"),b,d,e)}function ha(){var a=[];function b(c,e){return a.push(c+" ")>d.cacheLength&&delete b[a.shift()],b[c+" "]=e}return b}function ia(a){return a[u]=!0,a}function ja(a){var b=n.createElement("div");try{return!!a(b)}catch(c){return!1}finally{b.parentNode&&b.parentNode.removeChild(b),b=null}}function ka(a,b){var c=a.split("|"),e=a.length;while(e--)d.attrHandle[c[e]]=b}function la(a,b){var c=b&&a,d=c&&1===a.nodeType&&1===b.nodeType&&(~b.sourceIndex||C)-(~a.sourceIndex||C);if(d)return d;if(c)while(c=c.nextSibling)if(c===b)return-1;return a?1:-1}function ma(a){return function(b){var c=b.nodeName.toLowerCase();return"input"===c&&b.type===a}}function na(a){return function(b){var c=b.nodeName.toLowerCase();return("input"===c||"button"===c)&&b.type===a}}function oa(a){return ia(function(b){return b=+b,ia(function(c,d){var e,f=a([],c.length,b),g=f.length;while(g--)c[e=f[g]]&&(c[e]=!(d[e]=c[e]))})})}function pa(a){return a&&"undefined"!=typeof a.getElementsByTagName&&a}c=ga.support={},f=ga.isXML=function(a){var b=a&&(a.ownerDocument||a).documentElement;return b?"HTML"!==b.nodeName:!1},m=ga.setDocument=function(a){var b,e,g=a?a.ownerDocument||a:v;return g!==n&&9===g.nodeType&&g.documentElement?(n=g,o=g.documentElement,e=g.defaultView,e&&e!==e.top&&(e.addEventListener?e.addEventListener("unload",ea,!1):e.attachEvent&&e.attachEvent("onunload",ea)),p=!f(g),c.attributes=ja(function(a){return a.className="i",!a.getAttribute("className")}),c.getElementsByTagName=ja(function(a){return a.appendChild(g.createComment("")),!a.getElementsByTagName("*").length}),c.getElementsByClassName=$.test(g.getElementsByClassName),c.getById=ja(function(a){return o.appendChild(a).id=u,!g.getElementsByName||!g.getElementsByName(u).length}),c.getById?(d.find.ID=function(a,b){if("undefined"!=typeof b.getElementById&&p){var c=b.getElementById(a);return c&&c.parentNode?[c]:[]}},d.filter.ID=function(a){var b=a.replace(ca,da);return function(a){return a.getAttribute("id")===b}}):(delete d.find.ID,d.filter.ID=function(a){var b=a.replace(ca,da);return function(a){var c="undefined"!=typeof a.getAttributeNode&&a.getAttributeNode("id");return c&&c.value===b}}),d.find.TAG=c.getElementsByTagName?function(a,b){return"undefined"!=typeof b.getElementsByTagName?b.getElementsByTagName(a):c.qsa?b.querySelectorAll(a):void 0}:function(a,b){var c,d=[],e=0,f=b.getElementsByTagName(a);if("*"===a){while(c=f[e++])1===c.nodeType&&d.push(c);return d}return f},d.find.CLASS=c.getElementsByClassName&&function(a,b){return p?b.getElementsByClassName(a):void 0},r=[],q=[],(c.qsa=$.test(g.querySelectorAll))&&(ja(function(a){o.appendChild(a).innerHTML="<a id='"+u+"'></a><select id='"+u+"-\f]' msallowcapture=''><option selected=''></option></select>",a.querySelectorAll("[msallowcapture^='']").length&&q.push("[*^$]="+L+"*(?:''|\"\")"),a.querySelectorAll("[selected]").length||q.push("\\["+L+"*(?:value|"+K+")"),a.querySelectorAll("[id~="+u+"-]").length||q.push("~="),a.querySelectorAll(":checked").length||q.push(":checked"),a.querySelectorAll("a#"+u+"+*").length||q.push(".#.+[+~]")}),ja(function(a){var b=g.createElement("input");b.setAttribute("type","hidden"),a.appendChild(b).setAttribute("name","D"),a.querySelectorAll("[name=d]").length&&q.push("name"+L+"*[*^$|!~]?="),a.querySelectorAll(":enabled").length||q.push(":enabled",":disabled"),a.querySelectorAll("*,:x"),q.push(",.*:")})),(c.matchesSelector=$.test(s=o.matches||o.webkitMatchesSelector||o.mozMatchesSelector||o.oMatchesSelector||o.msMatchesSelector))&&ja(function(a){c.disconnectedMatch=s.call(a,"div"),s.call(a,"[s!='']:x"),r.push("!=",P)}),q=q.length&&new RegExp(q.join("|")),r=r.length&&new RegExp(r.join("|")),b=$.test(o.compareDocumentPosition),t=b||$.test(o.contains)?function(a,b){var c=9===a.nodeType?a.documentElement:a,d=b&&b.parentNode;return a===d||!(!d||1!==d.nodeType||!(c.contains?c.contains(d):a.compareDocumentPosition&&16&a.compareDocumentPosition(d)))}:function(a,b){if(b)while(b=b.parentNode)if(b===a)return!0;return!1},B=b?function(a,b){if(a===b)return l=!0,0;var d=!a.compareDocumentPosition-!b.compareDocumentPosition;return d?d:(d=(a.ownerDocument||a)===(b.ownerDocument||b)?a.compareDocumentPosition(b):1,1&d||!c.sortDetached&&b.compareDocumentPosition(a)===d?a===g||a.ownerDocument===v&&t(v,a)?-1:b===g||b.ownerDocument===v&&t(v,b)?1:k?J(k,a)-J(k,b):0:4&d?-1:1)}:function(a,b){if(a===b)return l=!0,0;var c,d=0,e=a.parentNode,f=b.parentNode,h=[a],i=[b];if(!e||!f)return a===g?-1:b===g?1:e?-1:f?1:k?J(k,a)-J(k,b):0;if(e===f)return la(a,b);c=a;while(c=c.parentNode)h.unshift(c);c=b;while(c=c.parentNode)i.unshift(c);while(h[d]===i[d])d++;return d?la(h[d],i[d]):h[d]===v?-1:i[d]===v?1:0},g):n},ga.matches=function(a,b){return ga(a,null,null,b)},ga.matchesSelector=function(a,b){if((a.ownerDocument||a)!==n&&m(a),b=b.replace(U,"='$1']"),!(!c.matchesSelector||!p||r&&r.test(b)||q&&q.test(b)))try{var d=s.call(a,b);if(d||c.disconnectedMatch||a.document&&11!==a.document.nodeType)return d}catch(e){}return ga(b,n,null,[a]).length>0},ga.contains=function(a,b){return(a.ownerDocument||a)!==n&&m(a),t(a,b)},ga.attr=function(a,b){(a.ownerDocument||a)!==n&&m(a);var e=d.attrHandle[b.toLowerCase()],f=e&&D.call(d.attrHandle,b.toLowerCase())?e(a,b,!p):void 0;return void 0!==f?f:c.attributes||!p?a.getAttribute(b):(f=a.getAttributeNode(b))&&f.specified?f.value:null},ga.error=function(a){throw new Error("Syntax error, unrecognized expression: "+a)},ga.uniqueSort=function(a){var b,d=[],e=0,f=0;if(l=!c.detectDuplicates,k=!c.sortStable&&a.slice(0),a.sort(B),l){while(b=a[f++])b===a[f]&&(e=d.push(f));while(e--)a.splice(d[e],1)}return k=null,a},e=ga.getText=function(a){var b,c="",d=0,f=a.nodeType;if(f){if(1===f||9===f||11===f){if("string"==typeof a.textContent)return a.textContent;for(a=a.firstChild;a;a=a.nextSibling)c+=e(a)}else if(3===f||4===f)return a.nodeValue}else while(b=a[d++])c+=e(b);return c},d=ga.selectors={cacheLength:50,createPseudo:ia,match:X,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(a){return a[1]=a[1].replace(ca,da),a[3]=(a[3]||a[4]||a[5]||"").replace(ca,da),"~="===a[2]&&(a[3]=" "+a[3]+" "),a.slice(0,4)},CHILD:function(a){return a[1]=a[1].toLowerCase(),"nth"===a[1].slice(0,3)?(a[3]||ga.error(a[0]),a[4]=+(a[4]?a[5]+(a[6]||1):2*("even"===a[3]||"odd"===a[3])),a[5]=+(a[7]+a[8]||"odd"===a[3])):a[3]&&ga.error(a[0]),a},PSEUDO:function(a){var b,c=!a[6]&&a[2];return X.CHILD.test(a[0])?null:(a[3]?a[2]=a[4]||a[5]||"":c&&V.test(c)&&(b=g(c,!0))&&(b=c.indexOf(")",c.length-b)-c.length)&&(a[0]=a[0].slice(0,b),a[2]=c.slice(0,b)),a.slice(0,3))}},filter:{TAG:function(a){var b=a.replace(ca,da).toLowerCase();return"*"===a?function(){return!0}:function(a){return a.nodeName&&a.nodeName.toLowerCase()===b}},CLASS:function(a){var b=y[a+" "];return b||(b=new RegExp("(^|"+L+")"+a+"("+L+"|$)"))&&y(a,function(a){return b.test("string"==typeof a.className&&a.className||"undefined"!=typeof a.getAttribute&&a.getAttribute("class")||"")})},ATTR:function(a,b,c){return function(d){var e=ga.attr(d,a);return null==e?"!="===b:b?(e+="","="===b?e===c:"!="===b?e!==c:"^="===b?c&&0===e.indexOf(c):"*="===b?c&&e.indexOf(c)>-1:"$="===b?c&&e.slice(-c.length)===c:"~="===b?(" "+e.replace(Q," ")+" ").indexOf(c)>-1:"|="===b?e===c||e.slice(0,c.length+1)===c+"-":!1):!0}},CHILD:function(a,b,c,d,e){var f="nth"!==a.slice(0,3),g="last"!==a.slice(-4),h="of-type"===b;return 1===d&&0===e?function(a){return!!a.parentNode}:function(b,c,i){var j,k,l,m,n,o,p=f!==g?"nextSibling":"previousSibling",q=b.parentNode,r=h&&b.nodeName.toLowerCase(),s=!i&&!h;if(q){if(f){while(p){l=b;while(l=l[p])if(h?l.nodeName.toLowerCase()===r:1===l.nodeType)return!1;o=p="only"===a&&!o&&"nextSibling"}return!0}if(o=[g?q.firstChild:q.lastChild],g&&s){k=q[u]||(q[u]={}),j=k[a]||[],n=j[0]===w&&j[1],m=j[0]===w&&j[2],l=n&&q.childNodes[n];while(l=++n&&l&&l[p]||(m=n=0)||o.pop())if(1===l.nodeType&&++m&&l===b){k[a]=[w,n,m];break}}else if(s&&(j=(b[u]||(b[u]={}))[a])&&j[0]===w)m=j[1];else while(l=++n&&l&&l[p]||(m=n=0)||o.pop())if((h?l.nodeName.toLowerCase()===r:1===l.nodeType)&&++m&&(s&&((l[u]||(l[u]={}))[a]=[w,m]),l===b))break;return m-=e,m===d||m%d===0&&m/d>=0}}},PSEUDO:function(a,b){var c,e=d.pseudos[a]||d.setFilters[a.toLowerCase()]||ga.error("unsupported pseudo: "+a);return e[u]?e(b):e.length>1?(c=[a,a,"",b],d.setFilters.hasOwnProperty(a.toLowerCase())?ia(function(a,c){var d,f=e(a,b),g=f.length;while(g--)d=J(a,f[g]),a[d]=!(c[d]=f[g])}):function(a){return e(a,0,c)}):e}},pseudos:{not:ia(function(a){var b=[],c=[],d=h(a.replace(R,"$1"));return d[u]?ia(function(a,b,c,e){var f,g=d(a,null,e,[]),h=a.length;while(h--)(f=g[h])&&(a[h]=!(b[h]=f))}):function(a,e,f){return b[0]=a,d(b,null,f,c),b[0]=null,!c.pop()}}),has:ia(function(a){return function(b){return ga(a,b).length>0}}),contains:ia(function(a){return a=a.replace(ca,da),function(b){return(b.textContent||b.innerText||e(b)).indexOf(a)>-1}}),lang:ia(function(a){return W.test(a||"")||ga.error("unsupported lang: "+a),a=a.replace(ca,da).toLowerCase(),function(b){var c;do if(c=p?b.lang:b.getAttribute("xml:lang")||b.getAttribute("lang"))return c=c.toLowerCase(),c===a||0===c.indexOf(a+"-");while((b=b.parentNode)&&1===b.nodeType);return!1}}),target:function(b){var c=a.location&&a.location.hash;return c&&c.slice(1)===b.id},root:function(a){return a===o},focus:function(a){return a===n.activeElement&&(!n.hasFocus||n.hasFocus())&&!!(a.type||a.href||~a.tabIndex)},enabled:function(a){return a.disabled===!1},disabled:function(a){return a.disabled===!0},checked:function(a){var b=a.nodeName.toLowerCase();return"input"===b&&!!a.checked||"option"===b&&!!a.selected},selected:function(a){return a.parentNode&&a.parentNode.selectedIndex,a.selected===!0},empty:function(a){for(a=a.firstChild;a;a=a.nextSibling)if(a.nodeType<6)return!1;return!0},parent:function(a){return!d.pseudos.empty(a)},header:function(a){return Z.test(a.nodeName)},input:function(a){return Y.test(a.nodeName)},button:function(a){var b=a.nodeName.toLowerCase();return"input"===b&&"button"===a.type||"button"===b},text:function(a){var b;return"input"===a.nodeName.toLowerCase()&&"text"===a.type&&(null==(b=a.getAttribute("type"))||"text"===b.toLowerCase())},first:oa(function(){return[0]}),last:oa(function(a,b){return[b-1]}),eq:oa(function(a,b,c){return[0>c?c+b:c]}),even:oa(function(a,b){for(var c=0;b>c;c+=2)a.push(c);return a}),odd:oa(function(a,b){for(var c=1;b>c;c+=2)a.push(c);return a}),lt:oa(function(a,b,c){for(var d=0>c?c+b:c;--d>=0;)a.push(d);return a}),gt:oa(function(a,b,c){for(var d=0>c?c+b:c;++d<b;)a.push(d);return a})}},d.pseudos.nth=d.pseudos.eq;for(b in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})d.pseudos[b]=ma(b);for(b in{submit:!0,reset:!0})d.pseudos[b]=na(b);function qa(){}qa.prototype=d.filters=d.pseudos,d.setFilters=new qa,g=ga.tokenize=function(a,b){var c,e,f,g,h,i,j,k=z[a+" "];if(k)return b?0:k.slice(0);h=a,i=[],j=d.preFilter;while(h){(!c||(e=S.exec(h)))&&(e&&(h=h.slice(e[0].length)||h),i.push(f=[])),c=!1,(e=T.exec(h))&&(c=e.shift(),f.push({value:c,type:e[0].replace(R," ")}),h=h.slice(c.length));for(g in d.filter)!(e=X[g].exec(h))||j[g]&&!(e=j[g](e))||(c=e.shift(),f.push({value:c,type:g,matches:e}),h=h.slice(c.length));if(!c)break}return b?h.length:h?ga.error(a):z(a,i).slice(0)};function ra(a){for(var b=0,c=a.length,d="";c>b;b++)d+=a[b].value;return d}function sa(a,b,c){var d=b.dir,e=c&&"parentNode"===d,f=x++;return b.first?function(b,c,f){while(b=b[d])if(1===b.nodeType||e)return a(b,c,f)}:function(b,c,g){var h,i,j=[w,f];if(g){while(b=b[d])if((1===b.nodeType||e)&&a(b,c,g))return!0}else while(b=b[d])if(1===b.nodeType||e){if(i=b[u]||(b[u]={}),(h=i[d])&&h[0]===w&&h[1]===f)return j[2]=h[2];if(i[d]=j,j[2]=a(b,c,g))return!0}}}function ta(a){return a.length>1?function(b,c,d){var e=a.length;while(e--)if(!a[e](b,c,d))return!1;return!0}:a[0]}function ua(a,b,c){for(var d=0,e=b.length;e>d;d++)ga(a,b[d],c);return c}function va(a,b,c,d,e){for(var f,g=[],h=0,i=a.length,j=null!=b;i>h;h++)(f=a[h])&&(!c||c(f,d,e))&&(g.push(f),j&&b.push(h));return g}function wa(a,b,c,d,e,f){return d&&!d[u]&&(d=wa(d)),e&&!e[u]&&(e=wa(e,f)),ia(function(f,g,h,i){var j,k,l,m=[],n=[],o=g.length,p=f||ua(b||"*",h.nodeType?[h]:h,[]),q=!a||!f&&b?p:va(p,m,a,h,i),r=c?e||(f?a:o||d)?[]:g:q;if(c&&c(q,r,h,i),d){j=va(r,n),d(j,[],h,i),k=j.length;while(k--)(l=j[k])&&(r[n[k]]=!(q[n[k]]=l))}if(f){if(e||a){if(e){j=[],k=r.length;while(k--)(l=r[k])&&j.push(q[k]=l);e(null,r=[],j,i)}k=r.length;while(k--)(l=r[k])&&(j=e?J(f,l):m[k])>-1&&(f[j]=!(g[j]=l))}}else r=va(r===g?r.splice(o,r.length):r),e?e(null,g,r,i):H.apply(g,r)})}function xa(a){for(var b,c,e,f=a.length,g=d.relative[a[0].type],h=g||d.relative[" "],i=g?1:0,k=sa(function(a){return a===b},h,!0),l=sa(function(a){return J(b,a)>-1},h,!0),m=[function(a,c,d){var e=!g&&(d||c!==j)||((b=c).nodeType?k(a,c,d):l(a,c,d));return b=null,e}];f>i;i++)if(c=d.relative[a[i].type])m=[sa(ta(m),c)];else{if(c=d.filter[a[i].type].apply(null,a[i].matches),c[u]){for(e=++i;f>e;e++)if(d.relative[a[e].type])break;return wa(i>1&&ta(m),i>1&&ra(a.slice(0,i-1).concat({value:" "===a[i-2].type?"*":""})).replace(R,"$1"),c,e>i&&xa(a.slice(i,e)),f>e&&xa(a=a.slice(e)),f>e&&ra(a))}m.push(c)}return ta(m)}function ya(a,b){var c=b.length>0,e=a.length>0,f=function(f,g,h,i,k){var l,m,o,p=0,q="0",r=f&&[],s=[],t=j,u=f||e&&d.find.TAG("*",k),v=w+=null==t?1:Math.random()||.1,x=u.length;for(k&&(j=g!==n&&g);q!==x&&null!=(l=u[q]);q++){if(e&&l){m=0;while(o=a[m++])if(o(l,g,h)){i.push(l);break}k&&(w=v)}c&&((l=!o&&l)&&p--,f&&r.push(l))}if(p+=q,c&&q!==p){m=0;while(o=b[m++])o(r,s,g,h);if(f){if(p>0)while(q--)r[q]||s[q]||(s[q]=F.call(i));s=va(s)}H.apply(i,s),k&&!f&&s.length>0&&p+b.length>1&&ga.uniqueSort(i)}return k&&(w=v,j=t),r};return c?ia(f):f}return h=ga.compile=function(a,b){var c,d=[],e=[],f=A[a+" "];if(!f){b||(b=g(a)),c=b.length;while(c--)f=xa(b[c]),f[u]?d.push(f):e.push(f);f=A(a,ya(e,d)),f.selector=a}return f},i=ga.select=function(a,b,e,f){var i,j,k,l,m,n="function"==typeof a&&a,o=!f&&g(a=n.selector||a);if(e=e||[],1===o.length){if(j=o[0]=o[0].slice(0),j.length>2&&"ID"===(k=j[0]).type&&c.getById&&9===b.nodeType&&p&&d.relative[j[1].type]){if(b=(d.find.ID(k.matches[0].replace(ca,da),b)||[])[0],!b)return e;n&&(b=b.parentNode),a=a.slice(j.shift().value.length)}i=X.needsContext.test(a)?0:j.length;while(i--){if(k=j[i],d.relative[l=k.type])break;if((m=d.find[l])&&(f=m(k.matches[0].replace(ca,da),aa.test(j[0].type)&&pa(b.parentNode)||b))){if(j.splice(i,1),a=f.length&&ra(j),!a)return H.apply(e,f),e;break}}}return(n||h(a,o))(f,b,!p,e,aa.test(a)&&pa(b.parentNode)||b),e},c.sortStable=u.split("").sort(B).join("")===u,c.detectDuplicates=!!l,m(),c.sortDetached=ja(function(a){return 1&a.compareDocumentPosition(n.createElement("div"))}),ja(function(a){return a.innerHTML="<a href='#'></a>","#"===a.firstChild.getAttribute("href")})||ka("type|href|height|width",function(a,b,c){return c?void 0:a.getAttribute(b,"type"===b.toLowerCase()?1:2)}),c.attributes&&ja(function(a){return a.innerHTML="<input/>",a.firstChild.setAttribute("value",""),""===a.firstChild.getAttribute("value")})||ka("value",function(a,b,c){return c||"input"!==a.nodeName.toLowerCase()?void 0:a.defaultValue}),ja(function(a){return null==a.getAttribute("disabled")})||ka(K,function(a,b,c){var d;return c?void 0:a[b]===!0?b.toLowerCase():(d=a.getAttributeNode(b))&&d.specified?d.value:null}),ga}(a);n.find=t,n.expr=t.selectors,n.expr[":"]=n.expr.pseudos,n.unique=t.uniqueSort,n.text=t.getText,n.isXMLDoc=t.isXML,n.contains=t.contains;var u=n.expr.match.needsContext,v=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,w=/^.[^:#\[\.,]*$/;function x(a,b,c){if(n.isFunction(b))return n.grep(a,function(a,d){return!!b.call(a,d,a)!==c});if(b.nodeType)return n.grep(a,function(a){return a===b!==c});if("string"==typeof b){if(w.test(b))return n.filter(b,a,c);b=n.filter(b,a)}return n.grep(a,function(a){return g.call(b,a)>=0!==c})}n.filter=function(a,b,c){var d=b[0];return c&&(a=":not("+a+")"),1===b.length&&1===d.nodeType?n.find.matchesSelector(d,a)?[d]:[]:n.find.matches(a,n.grep(b,function(a){return 1===a.nodeType}))},n.fn.extend({find:function(a){var b,c=this.length,d=[],e=this;if("string"!=typeof a)return this.pushStack(n(a).filter(function(){for(b=0;c>b;b++)if(n.contains(e[b],this))return!0}));for(b=0;c>b;b++)n.find(a,e[b],d);return d=this.pushStack(c>1?n.unique(d):d),d.selector=this.selector?this.selector+" "+a:a,d},filter:function(a){return this.pushStack(x(this,a||[],!1))},not:function(a){return this.pushStack(x(this,a||[],!0))},is:function(a){return!!x(this,"string"==typeof a&&u.test(a)?n(a):a||[],!1).length}});var y,z=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/,A=n.fn.init=function(a,b){var c,d;if(!a)return this;if("string"==typeof a){if(c="<"===a[0]&&">"===a[a.length-1]&&a.length>=3?[null,a,null]:z.exec(a),!c||!c[1]&&b)return!b||b.jquery?(b||y).find(a):this.constructor(b).find(a);if(c[1]){if(b=b instanceof n?b[0]:b,n.merge(this,n.parseHTML(c[1],b&&b.nodeType?b.ownerDocument||b:l,!0)),v.test(c[1])&&n.isPlainObject(b))for(c in b)n.isFunction(this[c])?this[c](b[c]):this.attr(c,b[c]);return this}return d=l.getElementById(c[2]),d&&d.parentNode&&(this.length=1,this[0]=d),this.context=l,this.selector=a,this}return a.nodeType?(this.context=this[0]=a,this.length=1,this):n.isFunction(a)?"undefined"!=typeof y.ready?y.ready(a):a(n):(void 0!==a.selector&&(this.selector=a.selector,this.context=a.context),n.makeArray(a,this))};A.prototype=n.fn,y=n(l);var B=/^(?:parents|prev(?:Until|All))/,C={children:!0,contents:!0,next:!0,prev:!0};n.extend({dir:function(a,b,c){var d=[],e=void 0!==c;while((a=a[b])&&9!==a.nodeType)if(1===a.nodeType){if(e&&n(a).is(c))break;d.push(a)}return d},sibling:function(a,b){for(var c=[];a;a=a.nextSibling)1===a.nodeType&&a!==b&&c.push(a);return c}}),n.fn.extend({has:function(a){var b=n(a,this),c=b.length;return this.filter(function(){for(var a=0;c>a;a++)if(n.contains(this,b[a]))return!0})},closest:function(a,b){for(var c,d=0,e=this.length,f=[],g=u.test(a)||"string"!=typeof a?n(a,b||this.context):0;e>d;d++)for(c=this[d];c&&c!==b;c=c.parentNode)if(c.nodeType<11&&(g?g.index(c)>-1:1===c.nodeType&&n.find.matchesSelector(c,a))){f.push(c);break}return this.pushStack(f.length>1?n.unique(f):f)},index:function(a){return a?"string"==typeof a?g.call(n(a),this[0]):g.call(this,a.jquery?a[0]:a):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(a,b){return this.pushStack(n.unique(n.merge(this.get(),n(a,b))))},addBack:function(a){return this.add(null==a?this.prevObject:this.prevObject.filter(a))}});function D(a,b){while((a=a[b])&&1!==a.nodeType);return a}n.each({parent:function(a){var b=a.parentNode;return b&&11!==b.nodeType?b:null},parents:function(a){return n.dir(a,"parentNode")},parentsUntil:function(a,b,c){return n.dir(a,"parentNode",c)},next:function(a){return D(a,"nextSibling")},prev:function(a){return D(a,"previousSibling")},nextAll:function(a){return n.dir(a,"nextSibling")},prevAll:function(a){return n.dir(a,"previousSibling")},nextUntil:function(a,b,c){return n.dir(a,"nextSibling",c)},prevUntil:function(a,b,c){return n.dir(a,"previousSibling",c)},siblings:function(a){return n.sibling((a.parentNode||{}).firstChild,a)},children:function(a){return n.sibling(a.firstChild)},contents:function(a){return a.contentDocument||n.merge([],a.childNodes)}},function(a,b){n.fn[a]=function(c,d){var e=n.map(this,b,c);return"Until"!==a.slice(-5)&&(d=c),d&&"string"==typeof d&&(e=n.filter(d,e)),this.length>1&&(C[a]||n.unique(e),B.test(a)&&e.reverse()),this.pushStack(e)}});var E=/\S+/g,F={};function G(a){var b=F[a]={};return n.each(a.match(E)||[],function(a,c){b[c]=!0}),b}n.Callbacks=function(a){a="string"==typeof a?F[a]||G(a):n.extend({},a);var b,c,d,e,f,g,h=[],i=!a.once&&[],j=function(l){for(b=a.memory&&l,c=!0,g=e||0,e=0,f=h.length,d=!0;h&&f>g;g++)if(h[g].apply(l[0],l[1])===!1&&a.stopOnFalse){b=!1;break}d=!1,h&&(i?i.length&&j(i.shift()):b?h=[]:k.disable())},k={add:function(){if(h){var c=h.length;!function g(b){n.each(b,function(b,c){var d=n.type(c);"function"===d?a.unique&&k.has(c)||h.push(c):c&&c.length&&"string"!==d&&g(c)})}(arguments),d?f=h.length:b&&(e=c,j(b))}return this},remove:function(){return h&&n.each(arguments,function(a,b){var c;while((c=n.inArray(b,h,c))>-1)h.splice(c,1),d&&(f>=c&&f--,g>=c&&g--)}),this},has:function(a){return a?n.inArray(a,h)>-1:!(!h||!h.length)},empty:function(){return h=[],f=0,this},disable:function(){return h=i=b=void 0,this},disabled:function(){return!h},lock:function(){return i=void 0,b||k.disable(),this},locked:function(){return!i},fireWith:function(a,b){return!h||c&&!i||(b=b||[],b=[a,b.slice?b.slice():b],d?i.push(b):j(b)),this},fire:function(){return k.fireWith(this,arguments),this},fired:function(){return!!c}};return k},n.extend({Deferred:function(a){var b=[["resolve","done",n.Callbacks("once memory"),"resolved"],["reject","fail",n.Callbacks("once memory"),"rejected"],["notify","progress",n.Callbacks("memory")]],c="pending",d={state:function(){return c},always:function(){return e.done(arguments).fail(arguments),this},then:function(){var a=arguments;return n.Deferred(function(c){n.each(b,function(b,f){var g=n.isFunction(a[b])&&a[b];e[f[1]](function(){var a=g&&g.apply(this,arguments);a&&n.isFunction(a.promise)?a.promise().done(c.resolve).fail(c.reject).progress(c.notify):c[f[0]+"With"](this===d?c.promise():this,g?[a]:arguments)})}),a=null}).promise()},promise:function(a){return null!=a?n.extend(a,d):d}},e={};return d.pipe=d.then,n.each(b,function(a,f){var g=f[2],h=f[3];d[f[1]]=g.add,h&&g.add(function(){c=h},b[1^a][2].disable,b[2][2].lock),e[f[0]]=function(){return e[f[0]+"With"](this===e?d:this,arguments),this},e[f[0]+"With"]=g.fireWith}),d.promise(e),a&&a.call(e,e),e},when:function(a){var b=0,c=d.call(arguments),e=c.length,f=1!==e||a&&n.isFunction(a.promise)?e:0,g=1===f?a:n.Deferred(),h=function(a,b,c){return function(e){b[a]=this,c[a]=arguments.length>1?d.call(arguments):e,c===i?g.notifyWith(b,c):--f||g.resolveWith(b,c)}},i,j,k;if(e>1)for(i=new Array(e),j=new Array(e),k=new Array(e);e>b;b++)c[b]&&n.isFunction(c[b].promise)?c[b].promise().done(h(b,k,c)).fail(g.reject).progress(h(b,j,i)):--f;return f||g.resolveWith(k,c),g.promise()}});var H;n.fn.ready=function(a){return n.ready.promise().done(a),this},n.extend({isReady:!1,readyWait:1,holdReady:function(a){a?n.readyWait++:n.ready(!0)},ready:function(a){(a===!0?--n.readyWait:n.isReady)||(n.isReady=!0,a!==!0&&--n.readyWait>0||(H.resolveWith(l,[n]),n.fn.triggerHandler&&(n(l).triggerHandler("ready"),n(l).off("ready"))))}});function I(){l.removeEventListener("DOMContentLoaded",I,!1),a.removeEventListener("load",I,!1),n.ready()}n.ready.promise=function(b){return H||(H=n.Deferred(),"complete"===l.readyState?setTimeout(n.ready):(l.addEventListener("DOMContentLoaded",I,!1),a.addEventListener("load",I,!1))),H.promise(b)},n.ready.promise();var J=n.access=function(a,b,c,d,e,f,g){var h=0,i=a.length,j=null==c;if("object"===n.type(c)){e=!0;for(h in c)n.access(a,b,h,c[h],!0,f,g)}else if(void 0!==d&&(e=!0,n.isFunction(d)||(g=!0),j&&(g?(b.call(a,d),b=null):(j=b,b=function(a,b,c){return j.call(n(a),c)})),b))for(;i>h;h++)b(a[h],c,g?d:d.call(a[h],h,b(a[h],c)));return e?a:j?b.call(a):i?b(a[0],c):f};n.acceptData=function(a){return 1===a.nodeType||9===a.nodeType||!+a.nodeType};function K(){Object.defineProperty(this.cache={},0,{get:function(){return{}}}),this.expando=n.expando+K.uid++}K.uid=1,K.accepts=n.acceptData,K.prototype={key:function(a){if(!K.accepts(a))return 0;var b={},c=a[this.expando];if(!c){c=K.uid++;try{b[this.expando]={value:c},Object.defineProperties(a,b)}catch(d){b[this.expando]=c,n.extend(a,b)}}return this.cache[c]||(this.cache[c]={}),c},set:function(a,b,c){var d,e=this.key(a),f=this.cache[e];if("string"==typeof b)f[b]=c;else if(n.isEmptyObject(f))n.extend(this.cache[e],b);else for(d in b)f[d]=b[d];return f},get:function(a,b){var c=this.cache[this.key(a)];return void 0===b?c:c[b]},access:function(a,b,c){var d;return void 0===b||b&&"string"==typeof b&&void 0===c?(d=this.get(a,b),void 0!==d?d:this.get(a,n.camelCase(b))):(this.set(a,b,c),void 0!==c?c:b)},remove:function(a,b){var c,d,e,f=this.key(a),g=this.cache[f];if(void 0===b)this.cache[f]={};else{n.isArray(b)?d=b.concat(b.map(n.camelCase)):(e=n.camelCase(b),b in g?d=[b,e]:(d=e,d=d in g?[d]:d.match(E)||[])),c=d.length;while(c--)delete g[d[c]]}},hasData:function(a){return!n.isEmptyObject(this.cache[a[this.expando]]||{})},discard:function(a){a[this.expando]&&delete this.cache[a[this.expando]]}};var L=new K,M=new K,N=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,O=/([A-Z])/g;function P(a,b,c){var d;if(void 0===c&&1===a.nodeType)if(d="data-"+b.replace(O,"-$1").toLowerCase(),c=a.getAttribute(d),"string"==typeof c){try{c="true"===c?!0:"false"===c?!1:"null"===c?null:+c+""===c?+c:N.test(c)?n.parseJSON(c):c}catch(e){}M.set(a,b,c)}else c=void 0;return c}n.extend({hasData:function(a){return M.hasData(a)||L.hasData(a)},data:function(a,b,c){
5906
vendor: 32,026 bytes, line 5906
5906return M.access(a,b,c)},removeData:function(a,b){M.remove(a,b)},_data:function(a,b,c){return L.access(a,b,c)},_removeData:function(a,b){L.remove(a,b)}}),n.fn.extend({data:function(a,b){var c,d,e,f=this[0],g=f&&f.attributes;if(void 0===a){if(this.length&&(e=M.get(f),1===f.nodeType&&!L.get(f,"hasDataAttrs"))){c=g.length;while(c--)g[c]&&(d=g[c].name,0===d.indexOf("data-")&&(d=n.camelCase(d.slice(5)),P(f,d,e[d])));L.set(f,"hasDataAttrs",!0)}return e}return"object"==typeof a?this.each(function(){M.set(this,a)}):J(this,function(b){var c,d=n.camelCase(a);if(f&&void 0===b){if(c=M.get(f,a),void 0!==c)return c;if(c=M.get(f,d),void 0!==c)return c;if(c=P(f,d,void 0),void 0!==c)return c}else this.each(function(){var c=M.get(this,d);M.set(this,d,b),-1!==a.indexOf("-")&&void 0!==c&&M.set(this,a,b)})},null,b,arguments.length>1,null,!0)},removeData:function(a){return this.each(function(){M.remove(this,a)})}}),n.extend({queue:function(a,b,c){var d;return a?(b=(b||"fx")+"queue",d=L.get(a,b),c&&(!d||n.isArray(c)?d=L.access(a,b,n.makeArray(c)):d.push(c)),d||[]):void 0},dequeue:function(a,b){b=b||"fx";var c=n.queue(a,b),d=c.length,e=c.shift(),f=n._queueHooks(a,b),g=function(){n.dequeue(a,b)};"inprogress"===e&&(e=c.shift(),d--),e&&("fx"===b&&c.unshift("inprogress"),delete f.stop,e.call(a,g,f)),!d&&f&&f.empty.fire()},_queueHooks:function(a,b){var c=b+"queueHooks";return L.get(a,c)||L.access(a,c,{empty:n.Callbacks("once memory").add(function(){L.remove(a,[b+"queue",c])})})}}),n.fn.extend({queue:function(a,b){var c=2;return"string"!=typeof a&&(b=a,a="fx",c--),arguments.length<c?n.queue(this[0],a):void 0===b?this:this.each(function(){var c=n.queue(this,a,b);n._queueHooks(this,a),"fx"===a&&"inprogress"!==c[0]&&n.dequeue(this,a)})},dequeue:function(a){return this.each(function(){n.dequeue(this,a)})},clearQueue:function(a){return this.queue(a||"fx",[])},promise:function(a,b){var c,d=1,e=n.Deferred(),f=this,g=this.length,h=function(){--d||e.resolveWith(f,[f])};"string"!=typeof a&&(b=a,a=void 0),a=a||"fx";while(g--)c=L.get(f[g],a+"queueHooks"),c&&c.empty&&(d++,c.empty.add(h));return h(),e.promise(b)}});var Q=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,R=["Top","Right","Bottom","Left"],S=function(a,b){return a=b||a,"none"===n.css(a,"display")||!n.contains(a.ownerDocument,a)},T=/^(?:checkbox|radio)$/i;!function(){var a=l.createDocumentFragment(),b=a.appendChild(l.createElement("div")),c=l.createElement("input");c.setAttribute("type","radio"),c.setAttribute("checked","checked"),c.setAttribute("name","t"),b.appendChild(c),k.checkClone=b.cloneNode(!0).cloneNode(!0).lastChild.checked,b.innerHTML="<textarea>x</textarea>",k.noCloneChecked=!!b.cloneNode(!0).lastChild.defaultValue}();var U="undefined";k.focusinBubbles="onfocusin"in a;var V=/^key/,W=/^(?:mouse|pointer|contextmenu)|click/,X=/^(?:focusinfocus|focusoutblur)$/,Y=/^([^.]*)(?:\.(.+)|)$/;function Z(){return!0}function $(){return!1}function _(){try{return l.activeElement}catch(a){}}n.event={global:{},add:function(a,b,c,d,e){var f,g,h,i,j,k,l,m,o,p,q,r=L.get(a);if(r){c.handler&&(f=c,c=f.handler,e=f.selector),c.guid||(c.guid=n.guid++),(i=r.events)||(i=r.events={}),(g=r.handle)||(g=r.handle=function(b){return typeof n!==U&&n.event.triggered!==b.type?n.event.dispatch.apply(a,arguments):void 0}),b=(b||"").match(E)||[""],j=b.length;while(j--)h=Y.exec(b[j])||[],o=q=h[1],p=(h[2]||"").split(".").sort(),o&&(l=n.event.special[o]||{},o=(e?l.delegateType:l.bindType)||o,l=n.event.special[o]||{},k=n.extend({type:o,origType:q,data:d,handler:c,guid:c.guid,selector:e,needsContext:e&&n.expr.match.needsContext.test(e),namespace:p.join(".")},f),(m=i[o])||(m=i[o]=[],m.delegateCount=0,l.setup&&l.setup.call(a,d,p,g)!==!1||a.addEventListener&&a.addEventListener(o,g,!1)),l.add&&(l.add.call(a,k),k.handler.guid||(k.handler.guid=c.guid)),e?m.splice(m.delegateCount++,0,k):m.push(k),n.event.global[o]=!0)}},remove:function(a,b,c,d,e){var f,g,h,i,j,k,l,m,o,p,q,r=L.hasData(a)&&L.get(a);if(r&&(i=r.events)){b=(b||"").match(E)||[""],j=b.length;while(j--)if(h=Y.exec(b[j])||[],o=q=h[1],p=(h[2]||"").split(".").sort(),o){l=n.event.special[o]||{},o=(d?l.delegateType:l.bindType)||o,m=i[o]||[],h=h[2]&&new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"),g=f=m.length;while(f--)k=m[f],!e&&q!==k.origType||c&&c.guid!==k.guid||h&&!h.test(k.namespace)||d&&d!==k.selector&&("**"!==d||!k.selector)||(m.splice(f,1),k.selector&&m.delegateCount--,l.remove&&l.remove.call(a,k));g&&!m.length&&(l.teardown&&l.teardown.call(a,p,r.handle)!==!1||n.removeEvent(a,o,r.handle),delete i[o])}else for(o in i)n.event.remove(a,o+b[j],c,d,!0);n.isEmptyObject(i)&&(delete r.handle,L.remove(a,"events"))}},trigger:function(b,c,d,e){var f,g,h,i,k,m,o,p=[d||l],q=j.call(b,"type")?b.type:b,r=j.call(b,"namespace")?b.namespace.split("."):[];if(g=h=d=d||l,3!==d.nodeType&&8!==d.nodeType&&!X.test(q+n.event.triggered)&&(q.indexOf(".")>=0&&(r=q.split("."),q=r.shift(),r.sort()),k=q.indexOf(":")<0&&"on"+q,b=b[n.expando]?b:new n.Event(q,"object"==typeof b&&b),b.isTrigger=e?2:3,b.namespace=r.join("."),b.namespace_re=b.namespace?new RegExp("(^|\\.)"+r.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,b.result=void 0,b.target||(b.target=d),c=null==c?[b]:n.makeArray(c,[b]),o=n.event.special[q]||{},e||!o.trigger||o.trigger.apply(d,c)!==!1)){if(!e&&!o.noBubble&&!n.isWindow(d)){for(i=o.delegateType||q,X.test(i+q)||(g=g.parentNode);g;g=g.parentNode)p.push(g),h=g;h===(d.ownerDocument||l)&&p.push(h.defaultView||h.parentWindow||a)}f=0;while((g=p[f++])&&!b.isPropagationStopped())b.type=f>1?i:o.bindType||q,m=(L.get(g,"events")||{})[b.type]&&L.get(g,"handle"),m&&m.apply(g,c),m=k&&g[k],m&&m.apply&&n.acceptData(g)&&(b.result=m.apply(g,c),b.result===!1&&b.preventDefault());return b.type=q,e||b.isDefaultPrevented()||o._default&&o._default.apply(p.pop(),c)!==!1||!n.acceptData(d)||k&&n.isFunction(d[q])&&!n.isWindow(d)&&(h=d[k],h&&(d[k]=null),n.event.triggered=q,d[q](),n.event.triggered=void 0,h&&(d[k]=h)),b.result}},dispatch:function(a){a=n.event.fix(a);var b,c,e,f,g,h=[],i=d.call(arguments),j=(L.get(this,"events")||{})[a.type]||[],k=n.event.special[a.type]||{};if(i[0]=a,a.delegateTarget=this,!k.preDispatch||k.preDispatch.call(this,a)!==!1){h=n.event.handlers.call(this,a,j),b=0;while((f=h[b++])&&!a.isPropagationStopped()){a.currentTarget=f.elem,c=0;while((g=f.handlers[c++])&&!a.isImmediatePropagationStopped())(!a.namespace_re||a.namespace_re.test(g.namespace))&&(a.handleObj=g,a.data=g.data,e=((n.event.special[g.origType]||{}).handle||g.handler).apply(f.elem,i),void 0!==e&&(a.result=e)===!1&&(a.preventDefault(),a.stopPropagation()))}return k.postDispatch&&k.postDispatch.call(this,a),a.result}},handlers:function(a,b){var c,d,e,f,g=[],h=b.delegateCount,i=a.target;if(h&&i.nodeType&&(!a.button||"click"!==a.type))for(;i!==this;i=i.parentNode||this)if(i.disabled!==!0||"click"!==a.type){for(d=[],c=0;h>c;c++)f=b[c],e=f.selector+" ",void 0===d[e]&&(d[e]=f.needsContext?n(e,this).index(i)>=0:n.find(e,this,null,[i]).length),d[e]&&d.push(f);d.length&&g.push({elem:i,handlers:d})}return h<b.length&&g.push({elem:this,handlers:b.slice(h)}),g},props:"altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{},keyHooks:{props:"char charCode key keyCode".split(" "),filter:function(a,b){return null==a.which&&(a.which=null!=b.charCode?b.charCode:b.keyCode),a}},mouseHooks:{props:"button buttons clientX clientY offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(a,b){var c,d,e,f=b.button;return null==a.pageX&&null!=b.clientX&&(c=a.target.ownerDocument||l,d=c.documentElement,e=c.body,a.pageX=b.clientX+(d&&d.scrollLeft||e&&e.scrollLeft||0)-(d&&d.clientLeft||e&&e.clientLeft||0),a.pageY=b.clientY+(d&&d.scrollTop||e&&e.scrollTop||0)-(d&&d.clientTop||e&&e.clientTop||0)),a.which||void 0===f||(a.which=1&f?1:2&f?3:4&f?2:0),a}},fix:function(a){if(a[n.expando])return a;var b,c,d,e=a.type,f=a,g=this.fixHooks[e];g||(this.fixHooks[e]=g=W.test(e)?this.mouseHooks:V.test(e)?this.keyHooks:{}),d=g.props?this.props.concat(g.props):this.props,a=new n.Event(f),b=d.length;while(b--)c=d[b],a[c]=f[c];return a.target||(a.target=l),3===a.target.nodeType&&(a.target=a.target.parentNode),g.filter?g.filter(a,f):a},special:{load:{noBubble:!0},focus:{trigger:function(){return this!==_()&&this.focus?(this.focus(),!1):void 0},delegateType:"focusin"},blur:{trigger:function(){return this===_()&&this.blur?(this.blur(),!1):void 0},delegateType:"focusout"},click:{trigger:function(){return"checkbox"===this.type&&this.click&&n.nodeName(this,"input")?(this.click(),!1):void 0},_default:function(a){return n.nodeName(a.target,"a")}},beforeunload:{postDispatch:function(a){void 0!==a.result&&a.originalEvent&&(a.originalEvent.returnValue=a.result)}}},simulate:function(a,b,c,d){var e=n.extend(new n.Event,c,{type:a,isSimulated:!0,originalEvent:{}});d?n.event.trigger(e,null,b):n.event.dispatch.call(b,e),e.isDefaultPrevented()&&c.preventDefault()}},n.removeEvent=function(a,b,c){a.removeEventListener&&a.removeEventListener(b,c,!1)},n.Event=function(a,b){return this instanceof n.Event?(a&&a.type?(this.originalEvent=a,this.type=a.type,this.isDefaultPrevented=a.defaultPrevented||void 0===a.defaultPrevented&&a.returnValue===!1?Z:$):this.type=a,b&&n.extend(this,b),this.timeStamp=a&&a.timeStamp||n.now(),void(this[n.expando]=!0)):new n.Event(a,b)},n.Event.prototype={isDefaultPrevented:$,isPropagationStopped:$,isImmediatePropagationStopped:$,preventDefault:function(){var a=this.originalEvent;this.isDefaultPrevented=Z,a&&a.preventDefault&&a.preventDefault()},stopPropagation:function(){var a=this.originalEvent;this.isPropagationStopped=Z,a&&a.stopPropagation&&a.stopPropagation()},stopImmediatePropagation:function(){var a=this.originalEvent;this.isImmediatePropagationStopped=Z,a&&a.stopImmediatePropagation&&a.stopImmediatePropagation(),this.stopPropagation()}},n.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(a,b){n.event.special[a]={delegateType:b,bindType:b,handle:function(a){var c,d=this,e=a.relatedTarget,f=a.handleObj;return(!e||e!==d&&!n.contains(d,e))&&(a.type=f.origType,c=f.handler.apply(this,arguments),a.type=b),c}}}),k.focusinBubbles||n.each({focus:"focusin",blur:"focusout"},function(a,b){var c=function(a){n.event.simulate(b,a.target,n.event.fix(a),!0)};n.event.special[b]={setup:function(){var d=this.ownerDocument||this,e=L.access(d,b);e||d.addEventListener(a,c,!0),L.access(d,b,(e||0)+1)},teardown:function(){var d=this.ownerDocument||this,e=L.access(d,b)-1;e?L.access(d,b,e):(d.removeEventListener(a,c,!0),L.remove(d,b))}}}),n.fn.extend({on:function(a,b,c,d,e){var f,g;if("object"==typeof a){"string"!=typeof b&&(c=c||b,b=void 0);for(g in a)this.on(g,b,c,a[g],e);return this}if(null==c&&null==d?(d=b,c=b=void 0):null==d&&("string"==typeof b?(d=c,c=void 0):(d=c,c=b,b=void 0)),d===!1)d=$;else if(!d)return this;return 1===e&&(f=d,d=function(a){return n().off(a),f.apply(this,arguments)},d.guid=f.guid||(f.guid=n.guid++)),this.each(function(){n.event.add(this,a,d,c,b)})},one:function(a,b,c,d){return this.on(a,b,c,d,1)},off:function(a,b,c){var d,e;if(a&&a.preventDefault&&a.handleObj)return d=a.handleObj,n(a.delegateTarget).off(d.namespace?d.origType+"."+d.namespace:d.origType,d.selector,d.handler),this;if("object"==typeof a){for(e in a)this.off(e,b,a[e]);return this}return(b===!1||"function"==typeof b)&&(c=b,b=void 0),c===!1&&(c=$),this.each(function(){n.event.remove(this,a,c,b)})},trigger:function(a,b){return this.each(function(){n.event.trigger(a,b,this)})},triggerHandler:function(a,b){var c=this[0];return c?n.event.trigger(a,b,c,!0):void 0}});var aa=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,ba=/<([\w:]+)/,ca=/<|&#?\w+;/,da=/<(?:script|style|link)/i,ea=/checked\s*(?:[^=]|=\s*.checked.)/i,fa=/^$|\/(?:java|ecma)script/i,ga=/^true\/(.*)/,ha=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g,ia={option:[1,"<select multiple='multiple'>","</select>"],thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};ia.optgroup=ia.option,ia.tbody=ia.tfoot=ia.colgroup=ia.caption=ia.thead,ia.th=ia.td;function ja(a,b){return n.nodeName(a,"table")&&n.nodeName(11!==b.nodeType?b:b.firstChild,"tr")?a.getElementsByTagName("tbody")[0]||a.appendChild(a.ownerDocument.createElement("tbody")):a}function ka(a){return a.type=(null!==a.getAttribute("type"))+"/"+a.type,a}function la(a){var b=ga.exec(a.type);return b?a.type=b[1]:a.removeAttribute("type"),a}function ma(a,b){for(var c=0,d=a.length;d>c;c++)L.set(a[c],"globalEval",!b||L.get(b[c],"globalEval"))}function na(a,b){var c,d,e,f,g,h,i,j;if(1===b.nodeType){if(L.hasData(a)&&(f=L.access(a),g=L.set(b,f),j=f.events)){delete g.handle,g.events={};for(e in j)for(c=0,d=j[e].length;d>c;c++)n.event.add(b,e,j[e][c])}M.hasData(a)&&(h=M.access(a),i=n.extend({},h),M.set(b,i))}}function oa(a,b){var c=a.getElementsByTagName?a.getElementsByTagName(b||"*"):a.querySelectorAll?a.querySelectorAll(b||"*"):[];return void 0===b||b&&n.nodeName(a,b)?n.merge([a],c):c}function pa(a,b){var c=b.nodeName.toLowerCase();"input"===c&&T.test(a.type)?b.checked=a.checked:("input"===c||"textarea"===c)&&(b.defaultValue=a.defaultValue)}n.extend({clone:function(a,b,c){var d,e,f,g,h=a.cloneNode(!0),i=n.contains(a.ownerDocument,a);if(!(k.noCloneChecked||1!==a.nodeType&&11!==a.nodeType||n.isXMLDoc(a)))for(g=oa(h),f=oa(a),d=0,e=f.length;e>d;d++)pa(f[d],g[d]);if(b)if(c)for(f=f||oa(a),g=g||oa(h),d=0,e=f.length;e>d;d++)na(f[d],g[d]);else na(a,h);return g=oa(h,"script"),g.length>0&&ma(g,!i&&oa(a,"script")),h},buildFragment:function(a,b,c,d){for(var e,f,g,h,i,j,k=b.createDocumentFragment(),l=[],m=0,o=a.length;o>m;m++)if(e=a[m],e||0===e)if("object"===n.type(e))n.merge(l,e.nodeType?[e]:e);else if(ca.test(e)){f=f||k.appendChild(b.createElement("div")),g=(ba.exec(e)||["",""])[1].toLowerCase(),h=ia[g]||ia._default,f.innerHTML=h[1]+e.replace(aa,"<$1></$2>")+h[2],j=h[0];while(j--)f=f.lastChild;n.merge(l,f.childNodes),f=k.firstChild,f.textContent=""}else l.push(b.createTextNode(e));k.textContent="",m=0;while(e=l[m++])if((!d||-1===n.inArray(e,d))&&(i=n.contains(e.ownerDocument,e),f=oa(k.appendChild(e),"script"),i&&ma(f),c)){j=0;while(e=f[j++])fa.test(e.type||"")&&c.push(e)}return k},cleanData:function(a){for(var b,c,d,e,f=n.event.special,g=0;void 0!==(c=a[g]);g++){if(n.acceptData(c)&&(e=c[L.expando],e&&(b=L.cache[e]))){if(b.events)for(d in b.events)f[d]?n.event.remove(c,d):n.removeEvent(c,d,b.handle);L.cache[e]&&delete L.cache[e]}delete M.cache[c[M.expando]]}}}),n.fn.extend({text:function(a){return J(this,function(a){return void 0===a?n.text(this):this.empty().each(function(){(1===this.nodeType||11===this.nodeType||9===this.nodeType)&&(this.textContent=a)})},null,a,arguments.length)},append:function(){return this.domManip(arguments,function(a){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var b=ja(this,a);b.appendChild(a)}})},prepend:function(){return this.domManip(arguments,function(a){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var b=ja(this,a);b.insertBefore(a,b.firstChild)}})},before:function(){return this.domManip(arguments,function(a){this.parentNode&&this.parentNode.insertBefore(a,this)})},after:function(){return this.domManip(arguments,function(a){this.parentNode&&this.parentNode.insertBefore(a,this.nextSibling)})},remove:function(a,b){for(var c,d=a?n.filter(a,this):this,e=0;null!=(c=d[e]);e++)b||1!==c.nodeType||n.cleanData(oa(c)),c.parentNode&&(b&&n.contains(c.ownerDocument,c)&&ma(oa(c,"script")),c.parentNode.removeChild(c));return this},empty:function(){for(var a,b=0;null!=(a=this[b]);b++)1===a.nodeType&&(n.cleanData(oa(a,!1)),a.textContent="");return this},clone:function(a,b){return a=null==a?!1:a,b=null==b?a:b,this.map(function(){return n.clone(this,a,b)})},html:function(a){return J(this,function(a){var b=this[0]||{},c=0,d=this.length;if(void 0===a&&1===b.nodeType)return b.innerHTML;if("string"==typeof a&&!da.test(a)&&!ia[(ba.exec(a)||["",""])[1].toLowerCase()]){a=a.replace(aa,"<$1></$2>");try{for(;d>c;c++)b=this[c]||{},1===b.nodeType&&(n.cleanData(oa(b,!1)),b.innerHTML=a);b=0}catch(e){}}b&&this.empty().append(a)},null,a,arguments.length)},replaceWith:function(){var a=arguments[0];return this.domManip(arguments,function(b){a=this.parentNode,n.cleanData(oa(this)),a&&a.replaceChild(b,this)}),a&&(a.length||a.nodeType)?this:this.remove()},detach:function(a){return this.remove(a,!0)},domManip:function(a,b){a=e.apply([],a);var c,d,f,g,h,i,j=0,l=this.length,m=this,o=l-1,p=a[0],q=n.isFunction(p);if(q||l>1&&"string"==typeof p&&!k.checkClone&&ea.test(p))return this.each(function(c){var d=m.eq(c);q&&(a[0]=p.call(this,c,d.html())),d.domManip(a,b)});if(l&&(c=n.buildFragment(a,this[0].ownerDocument,!1,this),d=c.firstChild,1===c.childNodes.length&&(c=d),d)){for(f=n.map(oa(c,"script"),ka),g=f.length;l>j;j++)h=c,j!==o&&(h=n.clone(h,!0,!0),g&&n.merge(f,oa(h,"script"))),b.call(this[j],h,j);if(g)for(i=f[f.length-1].ownerDocument,n.map(f,la),j=0;g>j;j++)h=f[j],fa.test(h.type||"")&&!L.access(h,"globalEval")&&n.contains(i,h)&&(h.src?n._evalUrl&&n._evalUrl(h.src):n.globalEval(h.textContent.replace(ha,"")))}return this}}),n.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(a,b){n.fn[a]=function(a){for(var c,d=[],e=n(a),g=e.length-1,h=0;g>=h;h++)c=h===g?this:this.clone(!0),n(e[h])[b](c),f.apply(d,c.get());return this.pushStack(d)}});var qa,ra={};function sa(b,c){var d,e=n(c.createElement(b)).appendTo(c.body),f=a.getDefaultComputedStyle&&(d=a.getDefaultComputedStyle(e[0]))?d.display:n.css(e[0],"display");return e.detach(),f}function ta(a){var b=l,c=ra[a];return c||(c=sa(a,b),"none"!==c&&c||(qa=(qa||n("<iframe frameborder='0' width='0' height='0'/>")).appendTo(b.documentElement),b=qa[0].contentDocument,b.write(),b.close(),c=sa(a,b),qa.detach()),ra[a]=c),c}var ua=/^margin/,va=new RegExp("^("+Q+")(?!px)[a-z%]+$","i"),wa=function(b){return b.ownerDocument.defaultView.opener?b.ownerDocument.defaultView.getComputedStyle(b,null):a.getComputedStyle(b,null)};function xa(a,b,c){var d,e,f,g,h=a.style;return c=c||wa(a),c&&(g=c.getPropertyValue(b)||c[b]),c&&(""!==g||n.contains(a.ownerDocument,a)||(g=n.style(a,b)),va.test(g)&&ua.test(b)&&(d=h.width,e=h.minWidth,f=h.maxWidth,h.minWidth=h.maxWidth=h.width=g,g=c.width,h.width=d,h.minWidth=e,h.maxWidth=f)),void 0!==g?g+"":g}function ya(a,b){return{get:function(){return a()?void delete this.get:(this.get=b).apply(this,arguments)}}}!function(){var b,c,d=l.documentElement,e=l.createElement("div"),f=l.createElement("div");if(f.style){f.style.backgroundClip="content-box",f.cloneNode(!0).style.backgroundClip="",k.clearCloneStyle="content-box"===f.style.backgroundClip,e.style.cssText="border:0;width:0;height:0;top:0;left:-9999px;margin-top:1px;position:absolute",e.appendChild(f);function g(){f.style.cssText="-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;display:block;margin-top:1%;top:1%;border:1px;padding:1px;width:4px;position:absolute",f.innerHTML="",d.appendChild(e);var g=a.getComputedStyle(f,null);b="1%"!==g.top,c="4px"===g.width,d.removeChild(e)}a.getComputedStyle&&n.extend(k,{pixelPosition:function(){return g(),b},boxSizingReliable:function(){return null==c&&g(),c},reliableMarginRight:function(){var b,c=f.appendChild(l.createElement("div"));return c.style.cssText=f.style.cssText="-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:0",c.style.marginRight=c.style.width="0",f.style.width="1px",d.appendChild(e),b=!parseFloat(a.getComputedStyle(c,null).marginRight),d.removeChild(e),f.removeChild(c),b}})}}(),n.swap=function(a,b,c,d){var e,f,g={};for(f in b)g[f]=a.style[f],a.style[f]=b[f];e=c.apply(a,d||[]);for(f in b)a.style[f]=g[f];return e};var za=/^(none|table(?!-c[ea]).+)/,Aa=new RegExp("^("+Q+")(.*)$","i"),Ba=new RegExp("^([+-])=("+Q+")","i"),Ca={position:"absolute",visibility:"hidden",display:"block"},Da={letterSpacing:"0",fontWeight:"400"},Ea=["Webkit","O","Moz","ms"];function Fa(a,b){if(b in a)return b;var c=b[0].toUpperCase()+b.slice(1),d=b,e=Ea.length;while(e--)if(b=Ea[e]+c,b in a)return b;return d}function Ga(a,b,c){var d=Aa.exec(b);return d?Math.max(0,d[1]-(c||0))+(d[2]||"px"):b}function Ha(a,b,c,d,e){for(var f=c===(d?"border":"content")?4:"width"===b?1:0,g=0;4>f;f+=2)"margin"===c&&(g+=n.css(a,c+R[f],!0,e)),d?("content"===c&&(g-=n.css(a,"padding"+R[f],!0,e)),"margin"!==c&&(g-=n.css(a,"border"+R[f]+"Width",!0,e))):(g+=n.css(a,"padding"+R[f],!0,e),"padding"!==c&&(g+=n.css(a,"border"+R[f]+"Width",!0,e)));return g}function Ia(a,b,c){var d=!0,e="width"===b?a.offsetWidth:a.offsetHeight,f=wa(a),g="border-box"===n.css(a,"boxSizing",!1,f);if(0>=e||null==e){if(e=xa(a,b,f),(0>e||null==e)&&(e=a.style[b]),va.test(e))return e;d=g&&(k.boxSizingReliable()||e===a.style[b]),e=parseFloat(e)||0}return e+Ha(a,b,c||(g?"border":"content"),d,f)+"px"}function Ja(a,b){for(var c,d,e,f=[],g=0,h=a.length;h>g;g++)d=a[g],d.style&&(f[g]=L.get(d,"olddisplay"),c=d.style.display,b?(f[g]||"none"!==c||(d.style.display=""),""===d.style.display&&S(d)&&(f[g]=L.access(d,"olddisplay",ta(d.nodeName)))):(e=S(d),"none"===c&&e||L.set(d,"olddisplay",e?c:n.css(d,"display"))));for(g=0;h>g;g++)d=a[g],d.style&&(b&&"none"!==d.style.display&&""!==d.style.display||(d.style.display=b?f[g]||"":"none"));return a}n.extend({cssHooks:{opacity:{get:function(a,b){if(b){var c=xa(a,"opacity");return""===c?"1":c}}}},cssNumber:{columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{"float":"cssFloat"},style:function(a,b,c,d){if(a&&3!==a.nodeType&&8!==a.nodeType&&a.style){var e,f,g,h=n.camelCase(b),i=a.style;return b=n.cssProps[h]||(n.cssProps[h]=Fa(i,h)),g=n.cssHooks[b]||n.cssHooks[h],void 0===c?g&&"get"in g&&void 0!==(e=g.get(a,!1,d))?e:i[b]:(f=typeof c,"string"===f&&(e=Ba.exec(c))&&(c=(e[1]+1)*e[2]+parseFloat(n.css(a,b)),f="number"),null!=c&&c===c&&("number"!==f||n.cssNumber[h]||(c+="px"),k.clearCloneStyle||""!==c||0!==b.indexOf("background")||(i[b]="inherit"),g&&"set"in g&&void 0===(c=g.set(a,c,d))||(i[b]=c)),void 0)}},css:function(a,b,c,d){var e,f,g,h=n.camelCase(b);return b=n.cssProps[h]||(n.cssProps[h]=Fa(a.style,h)),g=n.cssHooks[b]||n.cssHooks[h],g&&"get"in g&&(e=g.get(a,!0,c)),void 0===e&&(e=xa(a,b,d)),"normal"===e&&b in Da&&(e=Da[b]),""===c||c?(f=parseFloat(e),c===!0||n.isNumeric(f)?f||0:e):e}}),n.each(["height","width"],function(a,b){n.cssHooks[b]={get:function(a,c,d){return c?za.test(n.css(a,"display"))&&0===a.offsetWidth?n.swap(a,Ca,function(){return Ia(a,b,d)}):Ia(a,b,d):void 0},set:function(a,c,d){var e=d&&wa(a);return Ga(a,c,d?Ha(a,b,d,"border-box"===n.css(a,"boxSizing",!1,e),e):0)}}}),n.cssHooks.marginRight=ya(k.reliableMarginRight,function(a,b){return b?n.swap(a,{display:"inline-block"},xa,[a,"marginRight"]):void 0}),n.each({margin:"",padding:"",border:"Width"},function(a,b){n.cssHooks[a+b]={expand:function(c){for(var d=0,e={},f="string"==typeof c?c.split(" "):[c];4>d;d++)e[a+R[d]+b]=f[d]||f[d-2]||f[0];return e}},ua.test(a)||(n.cssHooks[a+b].set=Ga)}),n.fn.extend({css:function(a,b){return J(this,function(a,b,c){var d,e,f={},g=0;if(n.isArray(b)){for(d=wa(a),e=b.length;e>g;g++)f[b[g]]=n.css(a,b[g],!1,d);return f}return void 0!==c?n.style(a,b,c):n.css(a,b)},a,b,arguments.length>1)},show:function(){return Ja(this,!0)},hide:function(){return Ja(this)},toggle:function(a){return"boolean"==typeof a?a?this.show():this.hide():this.each(function(){S(this)?n(this).show():n(this).hide()})}});function Ka(a,b,c,d,e){return new Ka.prototype.init(a,b,c,d,e)}n.Tween=Ka,Ka.prototype={constructor:Ka,init:function(a,b,c,d,e,f){this.elem=a,this.prop=c,this.easing=e||"swing",this.options=b,this.start=this.now=this.cur(),this.end=d,this.unit=f||(n.cssNumber[c]?"":"px")},cur:function(){var a=Ka.propHooks[this.prop];return a&&a.get?a.get(this):Ka.propHooks._default.get(this)},run:function(a){var b,c=Ka.propHooks[this.prop];return this.options.duration?this.pos=b=n.easing[this.easing](a,this.options.duration*a,0,1,this.options.duration):this.pos=b=a,this.now=(this.end-this.start)*b+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),c&&c.set?c.set(this):Ka.propHooks._default.set(this),this}},Ka.prototype.init.prototype=Ka.prototype,Ka.propHooks={_default:{get:function(a){var b;return null==a.elem[a.prop]||a.elem.style&&null!=a.elem.style[a.prop]?(b=n.css(a.elem,a.prop,""),b&&"auto"!==b?b:0):a.elem[a.prop]},set:function(a){n.fx.step[a.prop]?n.fx.step[a.prop](a):a.elem.style&&(null!=a.elem.style[n.cssProps[a.prop]]||n.cssHooks[a.prop])?n.style(a.elem,a.prop,a.now+a.unit):a.elem[a.prop]=a.now}}},Ka.propHooks.scrollTop=Ka.propHooks.scrollLeft={set:function(a){a.elem.nodeType&&a.elem.parentNode&&(a.elem[a.prop]=a.now)}},n.easing={linear:function(a){return a},swing:function(a){return.5-Math.cos(a*Math.PI)/2}},n.fx=Ka.prototype.init,n.fx.step={};var La,Ma,Na=/^(?:toggle|show|hide)$/,Oa=new RegExp("^(?:([+-])=|)("+Q+")([a-z%]*)$","i"),Pa=/queueHooks$/,Qa=[Va],Ra={"*":[function(a,b){var c=this.createTween(a,b),d=c.cur(),e=Oa.exec(b),f=e&&e[3]||(n.cssNumber[a]?"":"px"),g=(n.cssNumber[a]||"px"!==f&&+d)&&Oa.exec(n.css(c.elem,a)),h=1,i=20;if(g&&g[3]!==f){f=f||g[3],e=e||[],g=+d||1;do h=h||".5",g/=h,n.style(c.elem,a,g+f);while(h!==(h=c.cur()/d)&&1!==h&&--i)}return e&&(g=c.start=+g||+d||0,c.unit=f,c.end=e[1]?g+(e[1]+1)*e[2]:+e[2]),c}]};function Sa(){return setTimeout(function(){La=void 0}),La=n.now()}function Ta(a,b){var c,d=0,e={height:a};for(b=b?1:0;4>d;d+=2-b)c=R[d],e["margin"+c]=e["padding"+c]=a;return b&&(e.opacity=e.width=a),e}function Ua(a,b,c){for(var d,e=(Ra[b]||[]).concat(Ra["*"]),f=0,g=e.length;g>f;f++)if(d=e[f].call(c,b,a))return d}function Va(a,b,c){var d,e,f,g,h,i,j,k,l=this,m={},o=a.style,p=a.nodeType&&S(a),q=L.get(a,"fxshow");c.queue||(h=n._queueHooks(a,"fx"),null==h.unqueued&&(h.unqueued=0,i=h.empty.fire,h.empty.fire=function(){h.unqueued||i()}),h.unqueued++,l.always(function(){l.always(function(){h.unqueued--,n.queue(a,"fx").length||h.empty.fire()})})),1===a.nodeType&&("height"in b||"width"in b)&&(c.overflow=[o.overflow,o.overflowX,o.overflowY],j=n.css(a,"display"),k="none"===j?L.get(a,"olddisplay")||ta(a.nodeName):j,"inline"===k&&"none"===n.css(a,"float")&&(o.display="inline-block")),c.overflow&&(o.overflow="hidden",l.always(function(){o.overflow=c.overflow[0],o.overflowX=c.overflow[1],o.overflowY=c.overflow[2]}));for(d in b)if(e=b[d],Na.exec(e)){if(delete b[d],f=f||"toggle"===e,e===(p?"hide":"show")){if("show"!==e||!q||void 0===q[d])continue;p=!0}m[d]=q&&q[d]||n.style(a,d)}else j=void 0;if(n.isEmptyObject(m))"inline"===("none"===j?ta(a.nodeName):j)&&(o.display=j);else{q?"hidden"in q&&(p=q.hidden):q=L.access(a,"fxshow",{}),f&&(q.hidden=!p),p?n(a).show():l.done(function(){n(a).hide()}),l.done(function(){var b;L.remove(a,"fxshow");for(b in m)n.style(a,b,m[b])});for(d in m)g=Ua(p?q[d]:0,d,l),d in q||(q[d]=g.start,p&&(g.end=g.start,g.start="width"===d||"height"===d?1:0))}}function Wa(a,b){var c,d,e,f,g;for(c in a)if(d=n.camelCase(c),e=b[d],f=a[c],n.isArray(f)&&(e=f[1],f=a[c]=f[0]),c!==d&&(a[d]=f,delete a[c]),g=n.cssHooks[d],g&&"expand"in g){f=g.expand(f),delete a[d];for(c in f)c in a||(a[c]=f[c],b[c]=e)}else b[d]=e}function Xa(a,b,c){var d,e,f=0,g=Qa.length,h=n.Deferred().always(function(){delete i.elem}),i=function(){if(e)return!1;for(var b=La||Sa(),c=Math.max(0,j.startTime+j.duration-b),d=c/j.duration||0,f=1-d,g=0,i=j.tweens.length;i>g;g++)j.tweens[g].run(f);return h.notifyWith(a,[j,f,c]),1>f&&i?c:(h.resolveWith(a,[j]),!1)},j=h.promise({elem:a,props:n.extend({},b),opts:n.extend(!0,{specialEasing:{}},c),originalProperties:b,originalOptions:c,startTime:La||Sa(),duration:c.duration,tweens:[],createTween:function(b,c){var d=n.Tween(a,j.opts,b,c,j.opts.specialEasing[b]||j.opts.easing);return j.tweens.push(d),d},stop:function(b){var c=0,d=b?j.tweens.length:0;if(e)return this;for(e=!0;d>c;c++)j.tweens[c].run(1);return b?h.resolveWith(a,[j,b]):h.rejectWith(a,[j,b]),this}}),k=j.props;for(Wa(k,j.opts.specialEasing);g>f;f++)if(d=Qa[f].call(j,a,k,j.opts))return d;return n.map(k,Ua,j),n.isFunction(j.opts.start)&&j.opts.start.call(a,j),n.fx.timer(n.extend(i,{elem:a,anim:j,queue:j.opts.queue})),j.progress(j.opts.progress).done(j.opts.done,j.opts.complete).fail(j.opts.fail).always(j.opts.always)}n.Animation=n.extend(Xa,{tweener:function(a,b){n.isFunction(a)?(b=a,a=["*"]):a=a.split(" ");for(var c,d=0,e=a.length;e>d;d++)c=a[d],Ra[c]=Ra[c]||[],Ra[c].unshift(b)},prefilter:function(a,b){b?Qa.unshift(a):Qa.push(a)}}),n.speed=function(a,b,c){var d=a&&"object"==typeof a?n.extend({},a):{complete:c||!c&&b||n.isFunction(a)&&a,duration:a,easing:c&&b||b&&!n.isFunction(b)&&b};return d.duration=n.fx.off?0:"number"==typeof d.duration?d.duration:d.duration in n.fx.speeds?n.fx.speeds[d.duration]:n.fx.speeds._default,(null==d.queue||d.queue===!0)&&(d.queue="fx"),d.old=d.complete,d.complete=function(){n.isFunction(d.old)&&d.old.call(this),d.queue&&n.dequeue(this,d.queue)},d},n.fn.extend({fadeTo:function(a,b,c,d){return this.filter(S).css("opacity",0).show().end().animate({opacity:b},a,c,d)},animate:function(a,b,c,d){var e=n.isEmptyObject(a),f=n.speed(b,c,d),g=function(){var b=Xa(this,n.extend({},a),f);(e||L.get(this,"finish"))&&b.stop(!0)};return g.finish=g,e||f.queue===!1?this.each(g):this.queue(f.queue,g)},stop:function(a,b,c){var d=function(a){var b=a.stop;delete a.stop,b(c)};return"string"!=typeof a&&(c=b,b=a,a=void 0),b&&a!==!1&&this.queue(a||"fx",[]),this.each(function(){var b=!0,e=null!=a&&a+"queueHooks",f=n.timers,g=L.get(this);if(e)g[e]&&g[e].stop&&d(g[e]);else for(e in g)g[e]&&g[e].stop&&Pa.test(e)&&d(g[e]);for(e=f.length;e--;)f[e].elem!==this||null!=a&&f[e].queue!==a||(f[e].anim.stop(c),b=!1,f.splice(e,1));(b||!c)&&n.dequeue(this,a)})},finish:function(a){return a!==!1&&(a=a||"fx"),this.each(function(){var b,c=L.get(this),d=c[a+"queue"],e=c[a+"queueHooks"],f=n.timers,g=d?d.length:0;for(c.finish=!0,n.queue(this,a,[]),e&&e.stop&&e.stop.call(this,!0),b=f.length;b--;)f[b].elem===this&&f[b].queue===a&&(f[b].anim.stop(!0),f.splice(b,1));for(b=0;g>b;b++)d[b]&&d[b].finish&&d[b].finish.call(this);delete c.finish})}}),n.each(["toggle","show","hide"],function(a,b){var c=n.fn[b];n.fn[b]=function(a,d,e){return null==a||"boolean"==typeof a?c.apply(this,arguments):this.animate(Ta(b,!0),a,d,e)}}),n.each({slideDown:Ta("show"),slideUp:Ta("hide"),slideToggle:Ta("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(a,b){n.fn[a]=function(a,c,d){return this.animate(b,a,c,d)}}),n.timers=[],n.fx.tick=function(){var a,b=0,c=n.timers;for(La=n.now();b<c.length;b++)a=c[b],a()||c[b]!==a||c.splice(b--,1);c.length||n.fx.stop(),La=void 0},n.fx.timer=function(a){n.timers.push(a),a()?n.fx.start():n.timers.pop()},n.fx.interval=13,n.fx.start=function(){Ma||(Ma=setInterval(n.fx.tick,n.fx.interval))},n.fx.stop=function(){clearInterval(Ma),Ma=null},n.fx.speeds={slow:600,fast:200,_default:400},n.fn.delay=function(a,b){return a=n.fx?n.fx.speeds[a]||a:a,b=b||"fx",this.queue(b,function(b,c){var d=setTimeout(b,a);c.stop=function(){clearTimeout(d)}})},function(){var a=l.createElement("input"),b=l.createElement("select"),c=b.appendChild(l.createElement("option"));a.type="checkbox",k.checkOn=""!==a.value,k.optSelected=c.selected,b.disabled=!0,k.optDisabled=!c.disabled,a=l.createElement("input"),a.value="t",a.type="radio",k.radioValue="t"===a.value}();var Ya,Za,$a=n.expr.attrHandle;n.fn.extend({attr:function(a,b){return J(this,n.attr,a,b,arguments.length>1)},removeAttr:function(a){return this.each(function(){n.removeAttr(this,a)})}}),n.extend({attr:function(a,b,c){var d,e,f=a.nodeType;if(a&&3!==f&&8!==f&&2!==f)return typeof a.getAttribute===U?n.prop(a,b,c):(1===f&&n.isXMLDoc(a)||(b=b.toLowerCase(),d=n.attrHooks[b]||(n.expr.match.bool.test(b)?Za:Ya)),
5907
vendor: 20,226 bytes, line 5907
5907void 0===c?d&&"get"in d&&null!==(e=d.get(a,b))?e:(e=n.find.attr(a,b),null==e?void 0:e):null!==c?d&&"set"in d&&void 0!==(e=d.set(a,c,b))?e:(a.setAttribute(b,c+""),c):void n.removeAttr(a,b))},removeAttr:function(a,b){var c,d,e=0,f=b&&b.match(E);if(f&&1===a.nodeType)while(c=f[e++])d=n.propFix[c]||c,n.expr.match.bool.test(c)&&(a[d]=!1),a.removeAttribute(c)},attrHooks:{type:{set:function(a,b){if(!k.radioValue&&"radio"===b&&n.nodeName(a,"input")){var c=a.value;return a.setAttribute("type",b),c&&(a.value=c),b}}}}}),Za={set:function(a,b,c){return b===!1?n.removeAttr(a,c):a.setAttribute(c,c),c}},n.each(n.expr.match.bool.source.match(/\w+/g),function(a,b){var c=$a[b]||n.find.attr;$a[b]=function(a,b,d){var e,f;return d||(f=$a[b],$a[b]=e,e=null!=c(a,b,d)?b.toLowerCase():null,$a[b]=f),e}});var _a=/^(?:input|select|textarea|button)$/i;n.fn.extend({prop:function(a,b){return J(this,n.prop,a,b,arguments.length>1)},removeProp:function(a){return this.each(function(){delete this[n.propFix[a]||a]})}}),n.extend({propFix:{"for":"htmlFor","class":"className"},prop:function(a,b,c){var d,e,f,g=a.nodeType;if(a&&3!==g&&8!==g&&2!==g)return f=1!==g||!n.isXMLDoc(a),f&&(b=n.propFix[b]||b,e=n.propHooks[b]),void 0!==c?e&&"set"in e&&void 0!==(d=e.set(a,c,b))?d:a[b]=c:e&&"get"in e&&null!==(d=e.get(a,b))?d:a[b]},propHooks:{tabIndex:{get:function(a){return a.hasAttribute("tabindex")||_a.test(a.nodeName)||a.href?a.tabIndex:-1}}}}),k.optSelected||(n.propHooks.selected={get:function(a){var b=a.parentNode;return b&&b.parentNode&&b.parentNode.selectedIndex,null}}),n.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){n.propFix[this.toLowerCase()]=this});var ab=/[\t\r\n\f]/g;n.fn.extend({addClass:function(a){var b,c,d,e,f,g,h="string"==typeof a&&a,i=0,j=this.length;if(n.isFunction(a))return this.each(function(b){n(this).addClass(a.call(this,b,this.className))});if(h)for(b=(a||"").match(E)||[];j>i;i++)if(c=this[i],d=1===c.nodeType&&(c.className?(" "+c.className+" ").replace(ab," "):" ")){f=0;while(e=b[f++])d.indexOf(" "+e+" ")<0&&(d+=e+" ");g=n.trim(d),c.className!==g&&(c.className=g)}return this},removeClass:function(a){var b,c,d,e,f,g,h=0===arguments.length||"string"==typeof a&&a,i=0,j=this.length;if(n.isFunction(a))return this.each(function(b){n(this).removeClass(a.call(this,b,this.className))});if(h)for(b=(a||"").match(E)||[];j>i;i++)if(c=this[i],d=1===c.nodeType&&(c.className?(" "+c.className+" ").replace(ab," "):"")){f=0;while(e=b[f++])while(d.indexOf(" "+e+" ")>=0)d=d.replace(" "+e+" "," ");g=a?n.trim(d):"",c.className!==g&&(c.className=g)}return this},toggleClass:function(a,b){var c=typeof a;return"boolean"==typeof b&&"string"===c?b?this.addClass(a):this.removeClass(a):this.each(n.isFunction(a)?function(c){n(this).toggleClass(a.call(this,c,this.className,b),b)}:function(){if("string"===c){var b,d=0,e=n(this),f=a.match(E)||[];while(b=f[d++])e.hasClass(b)?e.removeClass(b):e.addClass(b)}else(c===U||"boolean"===c)&&(this.className&&L.set(this,"__className__",this.className),this.className=this.className||a===!1?"":L.get(this,"__className__")||"")})},hasClass:function(a){for(var b=" "+a+" ",c=0,d=this.length;d>c;c++)if(1===this[c].nodeType&&(" "+this[c].className+" ").replace(ab," ").indexOf(b)>=0)return!0;return!1}});var bb=/\r/g;n.fn.extend({val:function(a){var b,c,d,e=this[0];{if(arguments.length)return d=n.isFunction(a),this.each(function(c){var e;1===this.nodeType&&(e=d?a.call(this,c,n(this).val()):a,null==e?e="":"number"==typeof e?e+="":n.isArray(e)&&(e=n.map(e,function(a){return null==a?"":a+""})),b=n.valHooks[this.type]||n.valHooks[this.nodeName.toLowerCase()],b&&"set"in b&&void 0!==b.set(this,e,"value")||(this.value=e))});if(e)return b=n.valHooks[e.type]||n.valHooks[e.nodeName.toLowerCase()],b&&"get"in b&&void 0!==(c=b.get(e,"value"))?c:(c=e.value,"string"==typeof c?c.replace(bb,""):null==c?"":c)}}}),n.extend({valHooks:{option:{get:function(a){var b=n.find.attr(a,"value");return null!=b?b:n.trim(n.text(a))}},select:{get:function(a){for(var b,c,d=a.options,e=a.selectedIndex,f="select-one"===a.type||0>e,g=f?null:[],h=f?e+1:d.length,i=0>e?h:f?e:0;h>i;i++)if(c=d[i],!(!c.selected&&i!==e||(k.optDisabled?c.disabled:null!==c.getAttribute("disabled"))||c.parentNode.disabled&&n.nodeName(c.parentNode,"optgroup"))){if(b=n(c).val(),f)return b;g.push(b)}return g},set:function(a,b){var c,d,e=a.options,f=n.makeArray(b),g=e.length;while(g--)d=e[g],(d.selected=n.inArray(d.value,f)>=0)&&(c=!0);return c||(a.selectedIndex=-1),f}}}}),n.each(["radio","checkbox"],function(){n.valHooks[this]={set:function(a,b){return n.isArray(b)?a.checked=n.inArray(n(a).val(),b)>=0:void 0}},k.checkOn||(n.valHooks[this].get=function(a){return null===a.getAttribute("value")?"on":a.value})}),n.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu".split(" "),function(a,b){n.fn[b]=function(a,c){return arguments.length>0?this.on(b,null,a,c):this.trigger(b)}}),n.fn.extend({hover:function(a,b){return this.mouseenter(a).mouseleave(b||a)},bind:function(a,b,c){return this.on(a,null,b,c)},unbind:function(a,b){return this.off(a,null,b)},delegate:function(a,b,c,d){return this.on(b,a,c,d)},undelegate:function(a,b,c){return 1===arguments.length?this.off(a,"**"):this.off(b,a||"**",c)}});var cb=n.now(),db=/\?/;n.parseJSON=function(a){return JSON.parse(a+"")},n.parseXML=function(a){var b,c;if(!a||"string"!=typeof a)return null;try{c=new DOMParser,b=c.parseFromString(a,"text/xml")}catch(d){b=void 0}return(!b||b.getElementsByTagName("parsererror").length)&&n.error("Invalid XML: "+a),b};var eb=/#.*$/,fb=/([?&])_=[^&]*/,gb=/^(.*?):[ \t]*([^\r\n]*)$/gm,hb=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,ib=/^(?:GET|HEAD)$/,jb=/^\/\//,kb=/^([\w.+-]+:)(?:\/\/(?:[^\/?#]*@|)([^\/?#:]*)(?::(\d+)|)|)/,lb={},mb={},nb="*/".concat("*"),ob=a.location.href,pb=kb.exec(ob.toLowerCase())||[];function qb(a){return function(b,c){"string"!=typeof b&&(c=b,b="*");var d,e=0,f=b.toLowerCase().match(E)||[];if(n.isFunction(c))while(d=f[e++])"+"===d[0]?(d=d.slice(1)||"*",(a[d]=a[d]||[]).unshift(c)):(a[d]=a[d]||[]).push(c)}}function rb(a,b,c,d){var e={},f=a===mb;function g(h){var i;return e[h]=!0,n.each(a[h]||[],function(a,h){var j=h(b,c,d);return"string"!=typeof j||f||e[j]?f?!(i=j):void 0:(b.dataTypes.unshift(j),g(j),!1)}),i}return g(b.dataTypes[0])||!e["*"]&&g("*")}function sb(a,b){var c,d,e=n.ajaxSettings.flatOptions||{};for(c in b)void 0!==b[c]&&((e[c]?a:d||(d={}))[c]=b[c]);return d&&n.extend(!0,a,d),a}function tb(a,b,c){var d,e,f,g,h=a.contents,i=a.dataTypes;while("*"===i[0])i.shift(),void 0===d&&(d=a.mimeType||b.getResponseHeader("Content-Type"));if(d)for(e in h)if(h[e]&&h[e].test(d)){i.unshift(e);break}if(i[0]in c)f=i[0];else{for(e in c){if(!i[0]||a.converters[e+" "+i[0]]){f=e;break}g||(g=e)}f=f||g}return f?(f!==i[0]&&i.unshift(f),c[f]):void 0}function ub(a,b,c,d){var e,f,g,h,i,j={},k=a.dataTypes.slice();if(k[1])for(g in a.converters)j[g.toLowerCase()]=a.converters[g];f=k.shift();while(f)if(a.responseFields[f]&&(c[a.responseFields[f]]=b),!i&&d&&a.dataFilter&&(b=a.dataFilter(b,a.dataType)),i=f,f=k.shift())if("*"===f)f=i;else if("*"!==i&&i!==f){if(g=j[i+" "+f]||j["* "+f],!g)for(e in j)if(h=e.split(" "),h[1]===f&&(g=j[i+" "+h[0]]||j["* "+h[0]])){g===!0?g=j[e]:j[e]!==!0&&(f=h[0],k.unshift(h[1]));break}if(g!==!0)if(g&&a["throws"])b=g(b);else try{b=g(b)}catch(l){return{state:"parsererror",error:g?l:"No conversion from "+i+" to "+f}}}return{state:"success",data:b}}n.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:ob,type:"GET",isLocal:hb.test(pb[1]),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":nb,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":n.parseJSON,"text xml":n.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(a,b){return b?sb(sb(a,n.ajaxSettings),b):sb(n.ajaxSettings,a)},ajaxPrefilter:qb(lb),ajaxTransport:qb(mb),ajax:function(a,b){"object"==typeof a&&(b=a,a=void 0),b=b||{};var c,d,e,f,g,h,i,j,k=n.ajaxSetup({},b),l=k.context||k,m=k.context&&(l.nodeType||l.jquery)?n(l):n.event,o=n.Deferred(),p=n.Callbacks("once memory"),q=k.statusCode||{},r={},s={},t=0,u="canceled",v={readyState:0,getResponseHeader:function(a){var b;if(2===t){if(!f){f={};while(b=gb.exec(e))f[b[1].toLowerCase()]=b[2]}b=f[a.toLowerCase()]}return null==b?null:b},getAllResponseHeaders:function(){return 2===t?e:null},setRequestHeader:function(a,b){var c=a.toLowerCase();return t||(a=s[c]=s[c]||a,r[a]=b),this},overrideMimeType:function(a){return t||(k.mimeType=a),this},statusCode:function(a){var b;if(a)if(2>t)for(b in a)q[b]=[q[b],a[b]];else v.always(a[v.status]);return this},abort:function(a){var b=a||u;return c&&c.abort(b),x(0,b),this}};if(o.promise(v).complete=p.add,v.success=v.done,v.error=v.fail,k.url=((a||k.url||ob)+"").replace(eb,"").replace(jb,pb[1]+"//"),k.type=b.method||b.type||k.method||k.type,k.dataTypes=n.trim(k.dataType||"*").toLowerCase().match(E)||[""],null==k.crossDomain&&(h=kb.exec(k.url.toLowerCase()),k.crossDomain=!(!h||h[1]===pb[1]&&h[2]===pb[2]&&(h[3]||("http:"===h[1]?"80":"443"))===(pb[3]||("http:"===pb[1]?"80":"443")))),k.data&&k.processData&&"string"!=typeof k.data&&(k.data=n.param(k.data,k.traditional)),rb(lb,k,b,v),2===t)return v;i=n.event&&k.global,i&&0===n.active++&&n.event.trigger("ajaxStart"),k.type=k.type.toUpperCase(),k.hasContent=!ib.test(k.type),d=k.url,k.hasContent||(k.data&&(d=k.url+=(db.test(d)?"&":"?")+k.data,delete k.data),k.cache===!1&&(k.url=fb.test(d)?d.replace(fb,"$1_="+cb++):d+(db.test(d)?"&":"?")+"_="+cb++)),k.ifModified&&(n.lastModified[d]&&v.setRequestHeader("If-Modified-Since",n.lastModified[d]),n.etag[d]&&v.setRequestHeader("If-None-Match",n.etag[d])),(k.data&&k.hasContent&&k.contentType!==!1||b.contentType)&&v.setRequestHeader("Content-Type",k.contentType),v.setRequestHeader("Accept",k.dataTypes[0]&&k.accepts[k.dataTypes[0]]?k.accepts[k.dataTypes[0]]+("*"!==k.dataTypes[0]?", "+nb+"; q=0.01":""):k.accepts["*"]);for(j in k.headers)v.setRequestHeader(j,k.headers[j]);if(k.beforeSend&&(k.beforeSend.call(l,v,k)===!1||2===t))return v.abort();u="abort";for(j in{success:1,error:1,complete:1})v[j](k[j]);if(c=rb(mb,k,b,v)){v.readyState=1,i&&m.trigger("ajaxSend",[v,k]),k.async&&k.timeout>0&&(g=setTimeout(function(){v.abort("timeout")},k.timeout));try{t=1,c.send(r,x)}catch(w){if(!(2>t))throw w;x(-1,w)}}else x(-1,"No Transport");function x(a,b,f,h){var j,r,s,u,w,x=b;2!==t&&(t=2,g&&clearTimeout(g),c=void 0,e=h||"",v.readyState=a>0?4:0,j=a>=200&&300>a||304===a,f&&(u=tb(k,v,f)),u=ub(k,u,v,j),j?(k.ifModified&&(w=v.getResponseHeader("Last-Modified"),w&&(n.lastModified[d]=w),w=v.getResponseHeader("etag"),w&&(n.etag[d]=w)),204===a||"HEAD"===k.type?x="nocontent":304===a?x="notmodified":(x=u.state,r=u.data,s=u.error,j=!s)):(s=x,(a||!x)&&(x="error",0>a&&(a=0))),v.status=a,v.statusText=(b||x)+"",j?o.resolveWith(l,[r,x,v]):o.rejectWith(l,[v,x,s]),v.statusCode(q),q=void 0,i&&m.trigger(j?"ajaxSuccess":"ajaxError",[v,k,j?r:s]),p.fireWith(l,[v,x]),i&&(m.trigger("ajaxComplete",[v,k]),--n.active||n.event.trigger("ajaxStop")))}return v},getJSON:function(a,b,c){return n.get(a,b,c,"json")},getScript:function(a,b){return n.get(a,void 0,b,"script")}}),n.each(["get","post"],function(a,b){n[b]=function(a,c,d,e){return n.isFunction(c)&&(e=e||d,d=c,c=void 0),n.ajax({url:a,type:b,dataType:e,data:c,success:d})}}),n._evalUrl=function(a){return n.ajax({url:a,type:"GET",dataType:"script",async:!1,global:!1,"throws":!0})},n.fn.extend({wrapAll:function(a){var b;return n.isFunction(a)?this.each(function(b){n(this).wrapAll(a.call(this,b))}):(this[0]&&(b=n(a,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&b.insertBefore(this[0]),b.map(function(){var a=this;while(a.firstElementChild)a=a.firstElementChild;return a}).append(this)),this)},wrapInner:function(a){return this.each(n.isFunction(a)?function(b){n(this).wrapInner(a.call(this,b))}:function(){var b=n(this),c=b.contents();c.length?c.wrapAll(a):b.append(a)})},wrap:function(a){var b=n.isFunction(a);return this.each(function(c){n(this).wrapAll(b?a.call(this,c):a)})},unwrap:function(){return this.parent().each(function(){n.nodeName(this,"body")||n(this).replaceWith(this.childNodes)}).end()}}),n.expr.filters.hidden=function(a){return a.offsetWidth<=0&&a.offsetHeight<=0},n.expr.filters.visible=function(a){return!n.expr.filters.hidden(a)};var vb=/%20/g,wb=/\[\]$/,xb=/\r?\n/g,yb=/^(?:submit|button|image|reset|file)$/i,zb=/^(?:input|select|textarea|keygen)/i;function Ab(a,b,c,d){var e;if(n.isArray(b))n.each(b,function(b,e){c||wb.test(a)?d(a,e):Ab(a+"["+("object"==typeof e?b:"")+"]",e,c,d)});else if(c||"object"!==n.type(b))d(a,b);else for(e in b)Ab(a+"["+e+"]",b[e],c,d)}n.param=function(a,b){var c,d=[],e=function(a,b){b=n.isFunction(b)?b():null==b?"":b,d[d.length]=encodeURIComponent(a)+"="+encodeURIComponent(b)};if(void 0===b&&(b=n.ajaxSettings&&n.ajaxSettings.traditional),n.isArray(a)||a.jquery&&!n.isPlainObject(a))n.each(a,function(){e(this.name,this.value)});else for(c in a)Ab(c,a[c],b,e);return d.join("&").replace(vb,"+")},n.fn.extend({serialize:function(){return n.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var a=n.prop(this,"elements");return a?n.makeArray(a):this}).filter(function(){var a=this.type;return this.name&&!n(this).is(":disabled")&&zb.test(this.nodeName)&&!yb.test(a)&&(this.checked||!T.test(a))}).map(function(a,b){var c=n(this).val();return null==c?null:n.isArray(c)?n.map(c,function(a){return{name:b.name,value:a.replace(xb,"\r\n")}}):{name:b.name,value:c.replace(xb,"\r\n")}}).get()}}),n.ajaxSettings.xhr=function(){try{return new XMLHttpRequest}catch(a){}};var Bb=0,Cb={},Db={0:200,1223:204},Eb=n.ajaxSettings.xhr();a.attachEvent&&a.attachEvent("onunload",function(){for(var a in Cb)Cb[a]()}),k.cors=!!Eb&&"withCredentials"in Eb,k.ajax=Eb=!!Eb,n.ajaxTransport(function(a){var b;return k.cors||Eb&&!a.crossDomain?{send:function(c,d){var e,f=a.xhr(),g=++Bb;if(f.open(a.type,a.url,a.async,a.username,a.password),a.xhrFields)for(e in a.xhrFields)f[e]=a.xhrFields[e];a.mimeType&&f.overrideMimeType&&f.overrideMimeType(a.mimeType),a.crossDomain||c["X-Requested-With"]||(c["X-Requested-With"]="XMLHttpRequest");for(e in c)f.setRequestHeader(e,c[e]);b=function(a){return function(){b&&(delete Cb[g],b=f.onload=f.onerror=null,"abort"===a?f.abort():"error"===a?d(f.status,f.statusText):d(Db[f.status]||f.status,f.statusText,"string"==typeof f.responseText?{text:f.responseText}:void 0,f.getAllResponseHeaders()))}},f.onload=b(),f.onerror=b("error"),b=Cb[g]=b("abort");try{f.send(a.hasContent&&a.data||null)}catch(h){if(b)throw h}},abort:function(){b&&b()}}:void 0}),n.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/(?:java|ecma)script/},converters:{"text script":function(a){return n.globalEval(a),a}}}),n.ajaxPrefilter("script",function(a){void 0===a.cache&&(a.cache=!1),a.crossDomain&&(a.type="GET")}),n.ajaxTransport("script",function(a){if(a.crossDomain){var b,c;return{send:function(d,e){b=n("<script>").prop({async:!0,charset:a.scriptCharset,src:a.url}).on("load error",c=function(a){b.remove(),c=null,a&&e("error"===a.type?404:200,a.type)}),l.head.appendChild(b[0])},abort:function(){c&&c()}}}});var Fb=[],Gb=/(=)\?(?=&|$)|\?\?/;n.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var a=Fb.pop()||n.expando+"_"+cb++;return this[a]=!0,a}}),n.ajaxPrefilter("json jsonp",function(b,c,d){var e,f,g,h=b.jsonp!==!1&&(Gb.test(b.url)?"url":"string"==typeof b.data&&!(b.contentType||"").indexOf("application/x-www-form-urlencoded")&&Gb.test(b.data)&&"data");return h||"jsonp"===b.dataTypes[0]?(e=b.jsonpCallback=n.isFunction(b.jsonpCallback)?b.jsonpCallback():b.jsonpCallback,h?b[h]=b[h].replace(Gb,"$1"+e):b.jsonp!==!1&&(b.url+=(db.test(b.url)?"&":"?")+b.jsonp+"="+e),b.converters["script json"]=function(){return g||n.error(e+" was not called"),g[0]},b.dataTypes[0]="json",f=a[e],a[e]=function(){g=arguments},d.always(function(){a[e]=f,b[e]&&(b.jsonpCallback=c.jsonpCallback,Fb.push(e)),g&&n.isFunction(f)&&f(g[0]),g=f=void 0}),"script"):void 0}),n.parseHTML=function(a,b,c){if(!a||"string"!=typeof a)return null;"boolean"==typeof b&&(c=b,b=!1),b=b||l;var d=v.exec(a),e=!c&&[];return d?[b.createElement(d[1])]:(d=n.buildFragment([a],b,e),e&&e.length&&n(e).remove(),n.merge([],d.childNodes))};var Hb=n.fn.load;n.fn.load=function(a,b,c){if("string"!=typeof a&&Hb)return Hb.apply(this,arguments);var d,e,f,g=this,h=a.indexOf(" ");return h>=0&&(d=n.trim(a.slice(h)),a=a.slice(0,h)),n.isFunction(b)?(c=b,b=void 0):b&&"object"==typeof b&&(e="POST"),g.length>0&&n.ajax({url:a,type:e,dataType:"html",data:b}).done(function(a){f=arguments,g.html(d?n("<div>").append(n.parseHTML(a)).find(d):a)}).complete(c&&function(a,b){g.each(c,f||[a.responseText,b,a])}),this},n.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(a,b){n.fn[b]=function(a){return this.on(b,a)}}),n.expr.filters.animated=function(a){return n.grep(n.timers,function(b){return a===b.elem}).length};var Ib=a.document.documentElement;function Jb(a){return n.isWindow(a)?a:9===a.nodeType&&a.defaultView}n.offset={setOffset:function(a,b,c){var d,e,f,g,h,i,j,k=n.css(a,"position"),l=n(a),m={};"static"===k&&(a.style.position="relative"),h=l.offset(),f=n.css(a,"top"),i=n.css(a,"left"),j=("absolute"===k||"fixed"===k)&&(f+i).indexOf("auto")>-1,j?(d=l.position(),g=d.top,e=d.left):(g=parseFloat(f)||0,e=parseFloat(i)||0),n.isFunction(b)&&(b=b.call(a,c,h)),null!=b.top&&(m.top=b.top-h.top+g),null!=b.left&&(m.left=b.left-h.left+e),"using"in b?b.using.call(a,m):l.css(m)}},n.fn.extend({offset:function(a){if(arguments.length)return void 0===a?this:this.each(function(b){n.offset.setOffset(this,a,b)});var b,c,d=this[0],e={top:0,left:0},f=d&&d.ownerDocument;if(f)return b=f.documentElement,n.contains(b,d)?(typeof d.getBoundingClientRect!==U&&(e=d.getBoundingClientRect()),c=Jb(f),{top:e.top+c.pageYOffset-b.clientTop,left:e.left+c.pageXOffset-b.clientLeft}):e},position:function(){if(this[0]){var a,b,c=this[0],d={top:0,left:0};return"fixed"===n.css(c,"position")?b=c.getBoundingClientRect():(a=this.offsetParent(),b=this.offset(),n.nodeName(a[0],"html")||(d=a.offset()),d.top+=n.css(a[0],"borderTopWidth",!0),d.left+=n.css(a[0],"borderLeftWidth",!0)),{top:b.top-d.top-n.css(c,"marginTop",!0),left:b.left-d.left-n.css(c,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){var a=this.offsetParent||Ib;while(a&&!n.nodeName(a,"html")&&"static"===n.css(a,"position"))a=a.offsetParent;return a||Ib})}}),n.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(b,c){var d="pageYOffset"===c;n.fn[b]=function(e){return J(this,function(b,e,f){var g=Jb(b);return void 0===f?g?g[c]:b[e]:void(g?g.scrollTo(d?a.pageXOffset:f,d?f:a.pageYOffset):b[e]=f)},b,e,arguments.length,null)}}),n.each(["top","left"],function(a,b){n.cssHooks[b]=ya(k.pixelPosition,function(a,c){return c?(c=xa(a,b),va.test(c)?n(a).position()[b]+"px":c):void 0})}),n.each({Height:"height",Width:"width"},function(a,b){n.each({padding:"inner"+a,content:b,"":"outer"+a},function(c,d){n.fn[d]=function(d,e){var f=arguments.length&&(c||"boolean"!=typeof d),g=c||(d===!0||e===!0?"margin":"border");return J(this,function(b,c,d){var e;return n.isWindow(b)?b.document.documentElement["client"+a]:9===b.nodeType?(e=b.documentElement,Math.max(b.body["scroll"+a],e["scroll"+a],b.body["offset"+a],e["offset"+a],e["client"+a])):void 0===d?n.css(b,c,g):n.style(b,c,d,g)},b,f?d:void 0,f,null)}})}),n.fn.size=function(){return this.length},n.fn.andSelf=n.fn.addBack,"function"==typeof define&&define.amd&&define("jquery",[],function(){return n});var Kb=a.jQuery,Lb=a.$;return n.noConflict=function(b){return a.$===n&&(a.$=Lb),b&&a.jQuery===n&&(a.jQuery=Kb),n},typeof b===U&&(a.jQuery=a.$=n),n});
5908 //# sourceMappingURL=jquery.min.map 5909 5910/***/ }), 5911/* 3 */ 5912/***/ (function(module, exports, __webpack_require__) { 5913 5914 // Dependencies 5915 __webpack_require__(5); 5916 5917 // Styles 5918 __webpack_require__(370); 5919 5920 5921/***/ }), 5922/* 4 */ 5923/***/ (function(module, exports, __webpack_require__) { 5924 5925 // Styles 5926 __webpack_require__(354); 5927 5928/***/ }), 5929/* 5 */ 5930/***/ (function(module, exports, __webpack_require__) { 5931 5932 // Dependencies 5933 __webpack_require__(19); 5934 __webpack_require__(271); 5935 5936 // Styles 5937 __webpack_require__(369); 5938 5939 5940/***/ }), 5941/* 6 */ 5942/***/ (function(module, exports, __webpack_require__) { 5943 5944 // Dependencies 5945 __webpack_require__(5); 5946 5947 // Styles 5948 __webpack_require__(368); 5949 5950 5951/***/ }), 5952/* 7 */
vendor: 11,337 bytes, lines 5953-6035
5953/***/ (function(module, exports) { 5954 5955 /*! 5956 Waypoints - 4.0.1 5957 Copyright © 2011-2016 Caleb Troughton 5958 Licensed under the MIT license. 5959 https://github.com/imakewebthings/waypoints/blob/master/licenses.txt 5960 */ 5961 !function(){"use strict";function t(o){if(!o)throw new Error("No options passed to Waypoint constructor");if(!o.element)throw new Error("No element option passed to Waypoint constructor");if(!o.handler)throw new Error("No handler option passed to Waypoint constructor");this.key="waypoint-"+e,this.options=t.Adapter.extend({},t.defaults,o),this.element=this.options.element,this.adapter=new t.Adapter(this.element),this.callback=o.handler,this.axis=this.options.horizontal?"horizontal":"vertical",this.enabled=this.options.enabled,this.triggerPoint=null,this.group=t.Group.findOrCreate({name:this.options.group,axis:this.axis}),this.context=t.Context.findOrCreateByElement(this.options.context),t.offsetAliases[this.options.offset]&&(this.options.offset=t.offsetAliases[this.options.offset]),this.group.add(this),this.context.add(this),i[this.key]=this,e+=1}var e=0,i={};t.prototype.queueTrigger=function(t){this.group.queueTrigger(this,t)},t.prototype.trigger=function(t){this.enabled&&this.callback&&this.callback.apply(this,t)},t.prototype.destroy=function(){this.context.remove(this),this.group.remove(this),delete i[this.key]},t.prototype.disable=function(){return this.enabled=!1,this},t.prototype.enable=function(){return this.context.refresh(),this.enabled=!0,this},t.prototype.next=function(){return this.group.next(this)},t.prototype.previous=function(){return this.group.previous(this)},t.invokeAll=function(t){var e=[];for(var o in i)e.push(i[o]);for(var n=0,r=e.length;r>n;n++)e[n][t]()},t.destroyAll=function(){t.invokeAll("destroy")},t.disableAll=function(){t.invokeAll("disable")},t.enableAll=function(){t.Context.refreshAll();for(var e in i)i[e].enabled=!0;return this},t.refreshAll=function(){t.Context.refreshAll()},t.viewportHeight=function(){return window.innerHeight||document.documentElement.clientHeight},t.viewportWidth=function(){return document.documentElement.clientWidth},t.adapters=[],t.defaults={context:window,continuous:!0,enabled:!0,group:"default",horizontal:!1,offset:0},t.offsetAliases={"bottom-in-view":function(){return this.context.innerHeight()-this.adapter.outerHeight()},"right-in-view":function(){return this.context.innerWidth()-this.adapter.outerWidth()}},window.Waypoint=t}(),function(){"use strict";function t(t){window.setTimeout(t,1e3/60)}function e(t){this.element=t,this.Adapter=n.Adapter,this.adapter=new this.Adapter(t),this.key="waypoint-context-"+i,this.didScroll=!1,this.didResize=!1,this.oldScroll={x:this.adapter.scrollLeft(),y:this.adapter.scrollTop()},this.waypoints={vertical:{},horizontal:{}},t.waypointContextKey=this.key,o[t.waypointContextKey]=this,i+=1,n.windowContext||(n.windowContext=!0,n.windowContext=new e(window)),this.createThrottledScrollHandler(),this.createThrottledResizeHandler()}var i=0,o={},n=window.Waypoint,r=window.onload;e.prototype.add=function(t){var e=t.options.horizontal?"horizontal":"vertical";this.waypoints[e][t.key]=t,this.refresh()},e.prototype.checkEmpty=function(){var t=this.Adapter.isEmptyObject(this.waypoints.horizontal),e=this.Adapter.isEmptyObject(this.waypoints.vertical),i=this.element==this.element.window;t&&e&&!i&&(this.adapter.off(".waypoints"),delete o[this.key])},e.prototype.createThrottledResizeHandler=function(){function t(){e.handleResize(),e.didResize=!1}var e=this;this.adapter.on("resize.waypoints",function(){e.didResize||(e.didResize=!0,n.requestAnimationFrame(t))})},e.prototype.createThrottledScrollHandler=function(){function t(){e.handleScroll(),e.didScroll=!1}var e=this;this.adapter.on("scroll.waypoints",function(){(!e.didScroll||n.isTouch)&&(e.didScroll=!0,n.requestAnimationFrame(t))})},e.prototype.handleResize=function(){n.Context.refreshAll()},e.prototype.handleScroll=function(){var t={},e={horizontal:{newScroll:this.adapter.scrollLeft(),oldScroll:this.oldScroll.x,forward:"right",backward:"left"},vertical:{newScroll:this.adapter.scrollTop(),oldScroll:this.oldScroll.y,forward:"down",backward:"up"}};for(var i in e){var o=e[i],n=o.newScroll>o.oldScroll,r=n?o.forward:o.backward;for(var s in this.waypoints[i]){var a=this.waypoints[i][s];if(null!==a.triggerPoint){var l=o.oldScroll<a.triggerPoint,h=o.newScroll>=a.triggerPoint,p=l&&h,u=!l&&!h;(p||u)&&(a.queueTrigger(r),t[a.group.id]=a.group)}}}for(var c in t)t[c].flushTriggers();this.oldScroll={x:e.horizontal.newScroll,y:e.vertical.newScroll}},e.prototype.innerHeight=function(){return this.element==this.element.window?n.viewportHeight():this.adapter.innerHeight()},e.prototype.remove=function(t){delete this.waypoints[t.axis][t.key],this.checkEmpty()},e.prototype.innerWidth=function(){return this.element==this.element.window?n.viewportWidth():this.adapter.innerWidth()},e.prototype.destroy=function(){var t=[];for(var e in this.waypoints)for(var i in this.waypoints[e])t.push(this.waypoints[e][i]);for(var o=0,n=t.length;n>o;o++)t[o].destroy()},e.prototype.refresh=function(){var t,e=this.element==this.element.window,i=e?void 0:this.adapter.offset(),o={};this.handleScroll(),t={horizontal:{contextOffset:e?0:i.left,contextScroll:e?0:this.oldScroll.x,contextDimension:this.innerWidth(),oldScroll:this.oldScroll.x,forward:"right",backward:"left",offsetProp:"left"},vertical:{contextOffset:e?0:i.top,contextScroll:e?0:this.oldScroll.y,contextDimension:this.innerHeight(),oldScroll:this.oldScroll.y,forward:"down",backward:"up",offsetProp:"top"}};for(var r in t){var s=t[r];for(var a in this.waypoints[r]){var l,h,p,u,c,d=this.waypoints[r][a],f=d.options.offset,w=d.triggerPoint,y=0,g=null==w;d.element!==d.element.window&&(y=d.adapter.offset()[s.offsetProp]),"function"==typeof f?f=f.apply(d):"string"==typeof f&&(f=parseFloat(f),d.options.offset.indexOf("%")>-1&&(f=Math.ceil(s.contextDimension*f/100))),l=s.contextScroll-s.contextOffset,d.triggerPoint=Math.floor(y+l-f),h=w<s.oldScroll,p=d.triggerPoint>=s.oldScroll,u=h&&p,c=!h&&!p,!g&&u?(d.queueTrigger(s.backward),o[d.group.id]=d.group):!g&&c?(d.queueTrigger(s.forward),o[d.group.id]=d.group):g&&s.oldScroll>=d.triggerPoint&&(d.queueTrigger(s.forward),o[d.group.id]=d.group)}}return n.requestAnimationFrame(function(){for(var t in o)o[t].flushTriggers()}),this},e.findOrCreateByElement=function(t){return e.findByElement(t)||new e(t)},e.refreshAll=function(){for(var t in o)o[t].refresh()},e.findByElement=function(t){return o[t.waypointContextKey]},window.onload=function(){r&&r(),e.refreshAll()},n.requestAnimationFrame=function(e){var i=window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||t;i.call(window,e)},n.Context=e}(),function(){"use strict";function t(t,e){return t.triggerPoint-e.triggerPoint}function e(t,e){return e.triggerPoint-t.triggerPoint}function i(t){this.name=t.name,this.axis=t.axis,this.id=this.name+"-"+this.axis,this.waypoints=[],this.clearTriggerQueues(),o[this.axis][this.name]=this}var o={vertical:{},horizontal:{}},n=window.Waypoint;i.prototype.add=function(t){this.waypoints.push(t)},i.prototype.clearTriggerQueues=function(){this.triggerQueues={up:[],down:[],left:[],right:[]}},i.prototype.flushTriggers=function(){for(var i in this.triggerQueues){var o=this.triggerQueues[i],n="up"===i||"left"===i;o.sort(n?e:t);for(var r=0,s=o.length;s>r;r+=1){var a=o[r];(a.options.continuous||r===o.length-1)&&a.trigger([i])}}this.clearTriggerQueues()},i.prototype.next=function(e){this.waypoints.sort(t);var i=n.Adapter.inArray(e,this.waypoints),o=i===this.waypoints.length-1;return o?null:this.waypoints[i+1]},i.prototype.previous=function(e){this.waypoints.sort(t);var i=n.Adapter.inArray(e,this.waypoints);return i?this.waypoints[i-1]:null},i.prototype.queueTrigger=function(t,e){this.triggerQueues[e].push(t)},i.prototype.remove=function(t){var e=n.Adapter.inArray(t,this.waypoints);e>-1&&this.waypoints.splice(e,1)},i.prototype.first=function(){return this.waypoints[0]},i.prototype.last=function(){return this.waypoints[this.waypoints.length-1]},i.findOrCreate=function(t){return o[t.axis][t.name]||new i(t)},n.Group=i}(),function(){"use strict";function t(t){this.$element=e(t)}var e=window.jQuery,i=window.Waypoint;e.each(["innerHeight","innerWidth","off","offset","on","outerHeight","outerWidth","scrollLeft","scrollTop"],function(e,i){t.prototype[i]=function(){var t=Array.prototype.slice.call(arguments);return this.$element[i].apply(this.$element,t)}}),e.each(["extend","inArray","isEmptyObject"],function(i,o){t[o]=e[o]}),i.adapters.push({name:"jquery",Adapter:t}),i.Adapter=t}(),function(){"use strict";function t(t){return function(){var i=[],o=arguments[0];return t.isFunction(arguments[0])&&(o=t.extend({},arguments[1]),o.handler=arguments[0]),this.each(function(){var n=t.extend({},o,{element:this});"string"==typeof n.context&&(n.context=t(this).closest(n.context)[0]),i.push(new e(n))}),i}}var e=window.Waypoint;window.jQuery&&(window.jQuery.fn.waypoint=t(window.jQuery)),window.Zepto&&(window.Zepto.fn.waypoint=t(window.Zepto))}(); 5962 5963/***/ }), 5964/* 8 */ 5965/***/ (function(module, exports, __webpack_require__) { 5966 5967 var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/** 5968 * Isotope LayoutMode 5969 */ 5970 5971 ( function( window, factory ) { 5972 // universal module definition 5973 /* jshint strict: false */ /*globals define, module, require */ 5974 if ( true ) { 5975 // AMD 5976 !(__WEBPACK_AMD_DEFINE_ARRAY__ = [ 5977 __webpack_require__(9), 5978 __webpack_require__(13) 5979 ], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory), __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ? (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)); 5980 } else if ( typeof module == 'object' && module.exports ) { 5981 // CommonJS 5982 module.exports = factory( 5983 require('get-size'), 5984 require('outlayer') 5985 ); 5986 } else { 5987 // browser global 5988 window.Isotope = window.Isotope || {}; 5989 window.Isotope.LayoutMode = factory( 5990 window.getSize, 5991 window.Outlayer 5992 ); 5993 } 5994 5995 }( window, function factory( getSize, Outlayer ) { 5996 'use strict'; 5997 5998 // layout mode class 5999 function LayoutMode( isotope ) { 6000 this.isotope = isotope; 6001 // link properties 6002 if ( isotope ) { 6003 this.options = isotope.options[ this.namespace ]; 6004 this.element = isotope.element; 6005 this.items = isotope.filteredItems; 6006 this.size = isotope.size; 6007 } 6008 } 6009 6010 var proto = LayoutMode.prototype; 6011 6012 /** 6013 * some methods should just defer to default Outlayer method 6014 * and reference the Isotope instance as `this` 6015 **/ 6016 var facadeMethods = [ 6017 '_resetLayout', 6018 '_getItemLayoutPosition', 6019 '_manageStamp', 6020 '_getContainerSize', 6021 '_getElementOffset', 6022 'needsResizeLayout', 6023 '_getOption' 6024 ]; 6025 6026 facadeMethods.forEach( function( methodName ) { 6027 proto[ methodName ] = function() { 6028 return Outlayer.prototype[ methodName ].apply( this.isotope, arguments ); 6029 }; 6030 }); 6031 6032 // ----- ----- // 6033 6034 // for horizontal layout modes, check vertical size 6035 proto.needsVerticalResizeLayout = function() {
vendor: 5,159 bytes, lines 6036-6224
6036 // don't trigger if size did not change 6037 var size = getSize( this.isotope.element ); 6038 // check that this.size and size are there 6039 // IE8 triggers resize on body size change, so they might not be 6040 var hasSizes = this.isotope.size && size; 6041 return hasSizes && size.innerHeight != this.isotope.size.innerHeight; 6042 }; 6043 6044 // ----- measurements ----- // 6045 6046 proto._getMeasurement = function() { 6047 this.isotope._getMeasurement.apply( this, arguments ); 6048 }; 6049 6050 proto.getColumnWidth = function() { 6051 this.getSegmentSize( 'column', 'Width' ); 6052 }; 6053 6054 proto.getRowHeight = function() { 6055 this.getSegmentSize( 'row', 'Height' ); 6056 }; 6057 6058 /** 6059 * get columnWidth or rowHeight 6060 * segment: 'column' or 'row' 6061 * size 'Width' or 'Height' 6062 **/ 6063 proto.getSegmentSize = function( segment, size ) { 6064 var segmentName = segment + size; 6065 var outerSize = 'outer' + size; 6066 // columnWidth / outerWidth // rowHeight / outerHeight 6067 this._getMeasurement( segmentName, outerSize ); 6068 // got rowHeight or columnWidth, we can chill 6069 if ( this[ segmentName ] ) { 6070 return; 6071 } 6072 // fall back to item of first element 6073 var firstItemSize = this.getFirstItemSize(); 6074 this[ segmentName ] = firstItemSize && firstItemSize[ outerSize ] || 6075 // or size of container 6076 this.isotope.size[ 'inner' + size ]; 6077 }; 6078 6079 proto.getFirstItemSize = function() { 6080 var firstItem = this.isotope.filteredItems[0]; 6081 return firstItem && firstItem.element && getSize( firstItem.element ); 6082 }; 6083 6084 // ----- methods that should reference isotope ----- // 6085 6086 proto.layout = function() { 6087 this.isotope.layout.apply( this.isotope, arguments ); 6088 }; 6089 6090 proto.getSize = function() { 6091 this.isotope.getSize(); 6092 this.size = this.isotope.size; 6093 }; 6094 6095 // -------------------------- create -------------------------- // 6096 6097 LayoutMode.modes = {}; 6098 6099 LayoutMode.create = function( namespace, options ) { 6100 6101 function Mode() { 6102 LayoutMode.apply( this, arguments ); 6103 } 6104 6105 Mode.prototype = Object.create( proto ); 6106 Mode.prototype.constructor = Mode; 6107 6108 // default options 6109 if ( options ) { 6110 Mode.options = options; 6111 } 6112 6113 Mode.prototype.namespace = namespace; 6114 // register in Isotope 6115 LayoutMode.modes[ namespace ] = Mode; 6116 6117 return Mode; 6118 }; 6119 6120 return LayoutMode; 6121 6122 })); 6123 6124 6125/***/ }), 6126/* 9 */ 6127/***/ (function(module, exports, __webpack_require__) { 6128 6129 var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_RESULT__;/*! 6130 * getSize v2.0.3 6131 * measure size of elements 6132 * MIT license 6133 */ 6134 6135 /* jshint browser: true, strict: true, undef: true, unused: true */ 6136 /* globals console: false */ 6137 6138 ( function( window, factory ) { 6139 /* jshint strict: false */ /* globals define, module */ 6140 if ( true ) { 6141 // AMD 6142 !(__WEBPACK_AMD_DEFINE_FACTORY__ = (factory), __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ? (__WEBPACK_AMD_DEFINE_FACTORY__.call(exports, __webpack_require__, exports, module)) : __WEBPACK_AMD_DEFINE_FACTORY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)); 6143 } else if ( typeof module == 'object' && module.exports ) { 6144 // CommonJS 6145 module.exports = factory(); 6146 } else { 6147 // browser global 6148 window.getSize = factory(); 6149 } 6150 6151 })( window, function factory() { 6152 'use strict'; 6153 6154 // -------------------------- helpers -------------------------- // 6155 6156 // get a number from a string, not a percentage 6157 function getStyleSize( value ) { 6158 var num = parseFloat( value ); 6159 // not a percent like '100%', and a number 6160 var isValid = value.indexOf('%') == -1 && !isNaN( num ); 6161 return isValid && num; 6162 } 6163 6164 function noop() {} 6165 6166 var logError = typeof console == 'undefined' ? noop : 6167 function( message ) { 6168 console.error( message ); 6169 }; 6170 6171 // -------------------------- measurements -------------------------- // 6172 6173 var measurements = [ 6174 'paddingLeft', 6175 'paddingRight', 6176 'paddingTop', 6177 'paddingBottom', 6178 'marginLeft', 6179 'marginRight', 6180 'marginTop', 6181 'marginBottom', 6182 'borderLeftWidth', 6183 'borderRightWidth', 6184 'borderTopWidth', 6185 'borderBottomWidth' 6186 ]; 6187 6188 var measurementsLength = measurements.length; 6189 6190 function getZeroSize() { 6191 var size = { 6192 width: 0, 6193 height: 0, 6194 innerWidth: 0, 6195 innerHeight: 0, 6196 outerWidth: 0, 6197 outerHeight: 0 6198 }; 6199 for ( var i=0; i < measurementsLength; i++ ) { 6200 var measurement = measurements[i]; 6201 size[ measurement ] = 0; 6202 } 6203 return size; 6204 } 6205 6206 // -------------------------- getStyle -------------------------- // 6207 6208 /** 6209 * getStyle, get style of element, check for Firefox bug 6210 * https://bugzilla.mozilla.org/show_bug.cgi?id=548397 6211 */ 6212 function getStyle( elem ) { 6213 var style = getComputedStyle( elem ); 6214 if ( !style ) { 6215 logError( 'Style returned ' + style + 6216 '. Are you running this code in a hidden iframe on Firefox? ' + 6217 'See https://bit.ly/getsizebug1' ); 6218 } 6219 return style; 6220 } 6221 6222 // -------------------------- setup -------------------------- // 6223 6224 var isSetup = false;
6225 6226 var isBoxSizeOuter; 6227 6228 /** 6229 * setup 6230 * check isBoxSizerOuter 6231 * do on first getSize() rather than on page load for Firefox bug 6232 */ 6233 function setup() { 6234 // setup once 6235 if ( isSetup ) { 6236 return; 6237 } 6238 isSetup = true; 6239 6240 // -------------------------- box sizing -------------------------- // 6241 6242 /** 6243 * Chrome & Safari measure the outer-width on style.width on border-box elems 6244 * IE11 & Firefox<29 measures the inner-width 6245 */ 6246 var div = document.createElement('div'); 6247 div.style.width = '200px'; 6248 div.style.padding = '1px 2px 3px 4px'; 6249 div.style.borderStyle = 'solid'; 6250 div.style.borderWidth = '1px 2px 3px 4px'; 6251 div.style.boxSizing = 'border-box'; 6252 6253 var body = document.body || document.documentElement; 6254 body.appendChild( div ); 6255 var style = getStyle( div ); 6256 // round value for browser zoom. desandro/masonry#928 6257 isBoxSizeOuter = Math.round( getStyleSize( style.width ) ) == 200; 6258 getSize.isBoxSizeOuter = isBoxSizeOuter; 6259 6260 body.removeChild( div ); 6261 } 6262 6263 // -------------------------- getSize -------------------------- // 6264 6265 function getSize( elem ) { 6266 setup(); 6267 6268 // use querySeletor if elem is string 6269 if ( typeof elem == 'string' ) { 6270 elem = document.querySelector( elem ); 6271 } 6272 6273 // do not proceed on non-objects 6274 if ( !elem || typeof elem != 'object' || !elem.nodeType ) { 6275 return; 6276 } 6277 6278 var style = getStyle( elem ); 6279 6280 // if hidden, everything is 0 6281 if ( style.display == 'none' ) { 6282 return getZeroSize(); 6283 } 6284 6285 var size = {}; 6286 size.width = elem.offsetWidth; 6287 size.height = elem.offsetHeight; 6288 6289 var isBorderBox = size.isBorderBox = style.boxSizing == 'border-box'; 6290 6291 // get all measurements 6292 for ( var i=0; i < measurementsLength; i++ ) { 6293 var measurement = measurements[i]; 6294 var value = style[ measurement ]; 6295 var num = parseFloat( value ); 6296 // any 'auto', 'medium' value will be 0 6297 size[ measurement ] = !isNaN( num ) ? num : 0; 6298 } 6299 6300 var paddingWidth = size.paddingLeft + size.paddingRight; 6301 var paddingHeight = size.paddingTop + size.paddingBottom; 6302 var marginWidth = size.marginLeft + size.marginRight; 6303 var marginHeight = size.marginTop + size.marginBottom; 6304 var borderWidth = size.borderLeftWidth + size.borderRightWidth; 6305 var borderHeight = size.borderTopWidth + size.borderBottomWidth; 6306 6307 var isBorderBoxSizeOuter = isBorderBox && isBoxSizeOuter; 6308 6309 // overwrite width and height if we can get it from style 6310 var styleWidth = getStyleSize( style.width ); 6311 if ( styleWidth !== false ) { 6312 size.width = styleWidth + 6313 // add padding and border unless it's already including it 6314 ( isBorderBoxSizeOuter ? 0 : paddingWidth + borderWidth ); 6315 } 6316 6317 var styleHeight = getStyleSize( style.height ); 6318 if ( styleHeight !== false ) { 6319 size.height = styleHeight + 6320 // add padding and border unless it's already including it 6321 ( isBorderBoxSizeOuter ? 0 : paddingHeight + borderHeight ); 6322 } 6323 6324 size.innerWidth = size.width - ( paddingWidth + borderWidth ); 6325 size.innerHeight = size.height - ( paddingHeight + borderHeight ); 6326 6327 size.outerWidth = size.width + marginWidth; 6328 size.outerHeight = size.height + marginHeight; 6329 6330 return size; 6331 } 6332 6333 return getSize; 6334 6335 }); 6336 6337 6338/***/ }), 6339/* 10 */ 6340/***/ (function(module, exports) { 6341 6342 function read(name, cookies = document.cookie) { 6343 const nameEQ = name + "="; 6344 const ca = cookies.split(";"); 6345 6346 for (let i = 0; i < ca.length; i++) { 6347 let c = ca[i]; 6348 while (c.charAt(0) == " ") c = c.substring(1, c.length); 6349 if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length, c.length); 6350 } 6351 return null; 6352 } 6353 6354 function hasConsent(consentLevel) { 6355 const termsFeedConsentLevel = read("cookie_consent_level"); 6356 let consent = false; 6357 6358 // Accepted consentLevel param are "strictly-necessary", "functionality", "tracking" and "targeting" 6359 if (termsFeedConsentLevel) { 6360 const consentString = decodeURIComponent(termsFeedConsentLevel); 6361 const startIndex = 6362 consentString.indexOf(consentLevel) + consentLevel.length + 2; 6363 const consentValueSubstr = consentString.substring( 6364 startIndex, 6365 startIndex + 5 6366 ); // should return "true," or "false" 6367 consent = consentValueSubstr.includes("true"); 6368 } 6369 6370 return consent; 6371 } 6372 6373 function update(name, value, days, sameSite = "Lax", consentLevel) { 6374 const consent = hasConsent(consentLevel); 6375 6376 if (consent) { 6377 create(name, value, days, sameSite); 6378 } else { 6379 clear(name); 6380 } 6381 } 6382 6383 function create(name, value, days, sameSite = "Lax") { 6384 let expires = ""; 6385 6386 if (days) { 6387 const date = new Date(); 6388 date.setTime(date.getTime() + days * 24 * 60 * 60 * 1000); 6389 expires = `expires=${date.toGMTString()}; `; 6390 } 6391 6392 const sameSiteValue = sameSite ? `SameSite=${sameSite}; ` : ""; 6393 const path = "path=/; "; 6394 6395 document.cookie = `${name}=${value}; ${expires}${path}${sameSiteValue}`; 6396 } 6397 6398 function clear(name) { 6399 create(name, "", -1); 6400 } 6401 6402 function listenConsentChange(callback, interval = 1000) { 6403 let lastCookie = document.cookie; 6404 setInterval(() => { 6405 let cookie = document.cookie; 6406 if (cookie !== lastCookie) { 6407 try { 6408 if ( 6409 read("cookie_consent_level") !== 6410 read("cookie_consent_level", lastCookie) 6411 ) { 6412 callback(); 6413 } 6414 } finally { 6415 lastCookie = cookie; 6416 } 6417 } 6418 }, interval); 6419 } 6420 6421 module.exports = { 6422 clear, 6423 hasConsent, 6424 listenConsentChange, 6425 read, 6426 update, 6427 }; 6428 6429 6430/***/ }), 6431/* 11 */ 6432/***/ (function(module, exports, __webpack_require__) { 6433 6434 // Dependencies 6435 __webpack_require__(5); 6436 6437 // JavaScript
6438 // Import loader is important to expose jQuery 6439 __webpack_require__(12); 6440 __webpack_require__(373); 6441 6442 // Styles 6443 __webpack_require__(360); 6444 6445 6446/***/ }), 6447/* 12 */ 6448/***/ (function(module, exports, __webpack_require__) { 6449 6450 /*** IMPORTS FROM imports-loader ***/ 6451 var jQuery = __webpack_require__(2); 6452 6453 /* ======================================================================== 6454 * Bootstrap: transition.js v3.3.5 6455 * http://getbootstrap.com/javascript/#transitions 6456 * ======================================================================== 6457 * Copyright 2011-2015 Twitter, Inc. 6458 * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) 6459 * ======================================================================== */ 6460 6461 6462 +function ($) { 6463 'use strict'; 6464 6465 // CSS TRANSITION SUPPORT (Shoutout: http://www.modernizr.com/) 6466 // ============================================================ 6467 6468 function transitionEnd() { 6469 var el = document.createElement('bootstrap') 6470 6471 var transEndEventNames = { 6472 WebkitTransition : 'webkitTransitionEnd', 6473 MozTransition : 'transitionend', 6474 OTransition : 'oTransitionEnd otransitionend', 6475 transition : 'transitionend' 6476 } 6477 6478 for (var name in transEndEventNames) { 6479 if (el.style[name] !== undefined) { 6480 return { end: transEndEventNames[name] } 6481 } 6482 } 6483 6484 return false // explicit for ie8 ( ._.) 6485 } 6486 6487 // http://blog.alexmaccaw.com/css-transitions 6488 $.fn.emulateTransitionEnd = function (duration) { 6489 var called = false 6490 var $el = this 6491 $(this).one('bsTransitionEnd', function () { called = true }) 6492 var callback = function () { if (!called) $($el).trigger($.support.transition.end) } 6493 setTimeout(callback, duration) 6494 return this 6495 } 6496 6497 $(function () { 6498 $.support.transition = transitionEnd() 6499 6500 if (!$.support.transition) return 6501 6502 $.event.special.bsTransitionEnd = { 6503 bindType: $.support.transition.end, 6504 delegateType: $.support.transition.end, 6505 handle: function (e) { 6506 if ($(e.target).is(this)) return e.handleObj.handler.apply(this, arguments) 6507 } 6508 } 6509 }) 6510 6511 }(jQuery); 6512 6513 6514 6515/***/ }), 6516/* 13 */ 6517/***/ (function(module, exports, __webpack_require__) { 6518 6519 var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*! 6520 * Outlayer v2.1.1 6521 * the brains and guts of a layout library 6522 * MIT license 6523 */ 6524 6525 ( function( window, factory ) { 6526 'use strict'; 6527 // universal module definition 6528 /* jshint strict: false */ /* globals define, module, require */ 6529 if ( true ) { 6530 // AMD - RequireJS 6531 !(__WEBPACK_AMD_DEFINE_ARRAY__ = [ 6532 __webpack_require__(25), 6533 __webpack_require__(9), 6534 __webpack_require__(24), 6535 __webpack_require__(379) 6536 ], __WEBPACK_AMD_DEFINE_RESULT__ = function( EvEmitter, getSize, utils, Item ) { 6537 return factory( window, EvEmitter, getSize, utils, Item); 6538 }.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)); 6539 } else if ( typeof module == 'object' && module.exports ) { 6540 // CommonJS - Browserify, Webpack 6541 module.exports = factory( 6542 window, 6543 require('ev-emitter'), 6544 require('get-size'), 6545 require('fizzy-ui-utils'), 6546 require('./item') 6547 ); 6548 } else { 6549 // browser global 6550 window.Outlayer = factory( 6551 window, 6552 window.EvEmitter, 6553 window.getSize, 6554 window.fizzyUIUtils, 6555 window.Outlayer.Item 6556 ); 6557 } 6558 6559 }( window, function factory( window, EvEmitter, getSize, utils, Item ) { 6560 'use strict'; 6561 6562 // ----- vars ----- // 6563 6564 var console = window.console; 6565 var jQuery = window.jQuery; 6566 var noop = function() {}; 6567 6568 // -------------------------- Outlayer -------------------------- // 6569 6570 // globally unique identifiers 6571 var GUID = 0; 6572 // internal store of all Outlayer intances 6573 var instances = {}; 6574 6575 6576 /** 6577 * @param {Element, String} element 6578 * @param {Object} options 6579 * @constructor 6580 */ 6581 function Outlayer( element, options ) { 6582 var queryElement = utils.getQueryElement( element ); 6583 if ( !queryElement ) { 6584 if ( console ) { 6585 console.error( 'Bad element for ' + this.constructor.namespace + 6586 ': ' + ( queryElement || element ) ); 6587 } 6588 return; 6589 } 6590 this.element = queryElement; 6591 // add jQuery 6592 if ( jQuery ) { 6593 this.$element = jQuery( this.element ); 6594 } 6595 6596 // options 6597 this.options = utils.extend( {}, this.constructor.defaults ); 6598 this.option( options ); 6599 6600 // add id for Outlayer.getFromElement 6601 var id = ++GUID; 6602 this.element.outlayerGUID = id; // expando 6603 instances[ id ] = this; // associate via id 6604 6605 // kick it off 6606 this._create(); 6607 6608 var isInitLayout = this._getOption('initLayout'); 6609 if ( isInitLayout ) { 6610 this.layout(); 6611 } 6612 } 6613 6614 // settings are for internal use only 6615 Outlayer.namespace = 'outlayer'; 6616 Outlayer.Item = Item; 6617 6618 // default options 6619 Outlayer.defaults = { 6620 containerStyle: { 6621 position: 'relative' 6622 }, 6623 initLayout: true, 6624 originLeft: true, 6625 originTop: true, 6626 resize: true, 6627 resizeContainer: true, 6628 // item options 6629 transitionDuration: '0.4s', 6630 hiddenStyle: { 6631 opacity: 0, 6632 transform: 'scale(0.001)' 6633 }, 6634 visibleStyle: { 6635 opacity: 1, 6636 transform: 'scale(1)' 6637 } 6638 }; 6639 6640 var proto = Outlayer.prototype; 6641 // inherit EvEmitter 6642 utils.extend( proto, EvEmitter.prototype ); 6643 6644 /** 6645 * set options 6646 * @param {Object} opts 6647 */ 6648 proto.option = function( opts ) { 6649 utils.extend( this.options, opts ); 6650 }; 6651 6652 /** 6653 * get backwards compatible option value, check old name 6654 */ 6655 proto._getOption = function( option ) { 6656 var oldOption = this.constructor.compatOptions[ option ]; 6657 return oldOption && this.options[ oldOption ] !== undefined ? 6658 this.options[ oldOption ] : this.options[ option ]; 6659 }; 6660 6661 Outlayer.compatOptions = { 6662 // currentName: oldName 6663 initLayout: 'isInitLayout', 6664 horizontal: 'isHorizontal', 6665 layoutInstant: 'isLayoutInstant', 6666 originLeft: 'isOriginLeft', 6667 originTop: 'isOriginTop', 6668 resize: 'isResizeBound', 6669 resizeContainer: 'isResizingContainer' 6670 }; 6671 6672 proto._create = function() { 6673 // get items from children 6674 this.reloadItems(); 6675 // elements that affect layout, but are not laid out 6676 this.stamps = []; 6677 this.stamp( this.options.stamp ); 6678 // set container style 6679 utils.extend( this.element.style, this.options.containerStyle ); 6680 6681 // bind resize method 6682 var canBindResize = this._getOption('resize'); 6683 if ( canBindResize ) { 6684 this.bindResize(); 6685 } 6686 }; 6687
vendor: 15,920 bytes, lines 6688-7329
6688 // goes through all children again and gets bricks in proper order 6689 proto.reloadItems = function() { 6690 // collection of item elements 6691 this.items = this._itemize( this.element.children ); 6692 }; 6693 6694 6695 /** 6696 * turn elements into Outlayer.Items to be used in layout 6697 * @param {Array or NodeList or HTMLElement} elems 6698 * @returns {Array} items - collection of new Outlayer Items 6699 */ 6700 proto._itemize = function( elems ) { 6701 6702 var itemElems = this._filterFindItemElements( elems ); 6703 var Item = this.constructor.Item; 6704 6705 // create new Outlayer Items for collection 6706 var items = []; 6707 for ( var i=0; i < itemElems.length; i++ ) { 6708 var elem = itemElems[i]; 6709 var item = new Item( elem, this ); 6710 items.push( item ); 6711 } 6712 6713 return items; 6714 }; 6715 6716 /** 6717 * get item elements to be used in layout 6718 * @param {Array or NodeList or HTMLElement} elems 6719 * @returns {Array} items - item elements 6720 */ 6721 proto._filterFindItemElements = function( elems ) { 6722 return utils.filterFindElements( elems, this.options.itemSelector ); 6723 }; 6724 6725 /** 6726 * getter method for getting item elements 6727 * @returns {Array} elems - collection of item elements 6728 */ 6729 proto.getItemElements = function() { 6730 return this.items.map( function( item ) { 6731 return item.element; 6732 }); 6733 }; 6734 6735 // ----- init & layout ----- // 6736 6737 /** 6738 * lays out all items 6739 */ 6740 proto.layout = function() { 6741 this._resetLayout(); 6742 this._manageStamps(); 6743 6744 // don't animate first layout 6745 var layoutInstant = this._getOption('layoutInstant'); 6746 var isInstant = layoutInstant !== undefined ? 6747 layoutInstant : !this._isLayoutInited; 6748 this.layoutItems( this.items, isInstant ); 6749 6750 // flag for initalized 6751 this._isLayoutInited = true; 6752 }; 6753 6754 // _init is alias for layout 6755 proto._init = proto.layout; 6756 6757 /** 6758 * logic before any new layout 6759 */ 6760 proto._resetLayout = function() { 6761 this.getSize(); 6762 }; 6763 6764 6765 proto.getSize = function() { 6766 this.size = getSize( this.element ); 6767 }; 6768 6769 /** 6770 * get measurement from option, for columnWidth, rowHeight, gutter 6771 * if option is String -> get element from selector string, & get size of element 6772 * if option is Element -> get size of element 6773 * else use option as a number 6774 * 6775 * @param {String} measurement 6776 * @param {String} size - width or height 6777 * @private 6778 */ 6779 proto._getMeasurement = function( measurement, size ) { 6780 var option = this.options[ measurement ]; 6781 var elem; 6782 if ( !option ) { 6783 // default to 0 6784 this[ measurement ] = 0; 6785 } else { 6786 // use option as an element 6787 if ( typeof option == 'string' ) { 6788 elem = this.element.querySelector( option ); 6789 } else if ( option instanceof HTMLElement ) { 6790 elem = option; 6791 } 6792 // use size of element, if element 6793 this[ measurement ] = elem ? getSize( elem )[ size ] : option; 6794 } 6795 }; 6796 6797 /** 6798 * layout a collection of item elements 6799 * @api public 6800 */ 6801 proto.layoutItems = function( items, isInstant ) { 6802 items = this._getItemsForLayout( items ); 6803 6804 this._layoutItems( items, isInstant ); 6805 6806 this._postLayout(); 6807 }; 6808 6809 /** 6810 * get the items to be laid out 6811 * you may want to skip over some items 6812 * @param {Array} items 6813 * @returns {Array} items 6814 */ 6815 proto._getItemsForLayout = function( items ) { 6816 return items.filter( function( item ) { 6817 return !item.isIgnored; 6818 }); 6819 }; 6820 6821 /** 6822 * layout items 6823 * @param {Array} items 6824 * @param {Boolean} isInstant 6825 */ 6826 proto._layoutItems = function( items, isInstant ) { 6827 this._emitCompleteOnItems( 'layout', items ); 6828 6829 if ( !items || !items.length ) { 6830 // no items, emit event with empty array 6831 return; 6832 } 6833 6834 var queue = []; 6835 6836 items.forEach( function( item ) { 6837 // get x/y object from method 6838 var position = this._getItemLayoutPosition( item ); 6839 // enqueue 6840 position.item = item; 6841 position.isInstant = isInstant || item.isLayoutInstant; 6842 queue.push( position ); 6843 }, this ); 6844 6845 this._processLayoutQueue( queue ); 6846 }; 6847 6848 /** 6849 * get item layout position 6850 * @param {Outlayer.Item} item 6851 * @returns {Object} x and y position 6852 */ 6853 proto._getItemLayoutPosition = function( /* item */ ) { 6854 return { 6855 x: 0, 6856 y: 0 6857 }; 6858 }; 6859 6860 /** 6861 * iterate over array and position each item 6862 * Reason being - separating this logic prevents 'layout invalidation' 6863 * thx @paul_irish 6864 * @param {Array} queue 6865 */ 6866 proto._processLayoutQueue = function( queue ) { 6867 this.updateStagger(); 6868 queue.forEach( function( obj, i ) { 6869 this._positionItem( obj.item, obj.x, obj.y, obj.isInstant, i ); 6870 }, this ); 6871 }; 6872 6873 // set stagger from option in milliseconds number 6874 proto.updateStagger = function() { 6875 var stagger = this.options.stagger; 6876 if ( stagger === null || stagger === undefined ) { 6877 this.stagger = 0; 6878 return; 6879 } 6880 this.stagger = getMilliseconds( stagger ); 6881 return this.stagger; 6882 }; 6883 6884 /** 6885 * Sets position of item in DOM 6886 * @param {Outlayer.Item} item 6887 * @param {Number} x - horizontal position 6888 * @param {Number} y - vertical position 6889 * @param {Boolean} isInstant - disables transitions 6890 */ 6891 proto._positionItem = function( item, x, y, isInstant, i ) { 6892 if ( isInstant ) { 6893 // if not transition, just set CSS 6894 item.goTo( x, y ); 6895 } else { 6896 item.stagger( i * this.stagger ); 6897 item.moveTo( x, y ); 6898 } 6899 }; 6900 6901 /** 6902 * Any logic you want to do after each layout, 6903 * i.e. size the container 6904 */ 6905 proto._postLayout = function() { 6906 this.resizeContainer(); 6907 }; 6908 6909 proto.resizeContainer = function() { 6910 var isResizingContainer = this._getOption('resizeContainer'); 6911 if ( !isResizingContainer ) { 6912 return; 6913 } 6914 var size = this._getContainerSize(); 6915 if ( size ) { 6916 this._setContainerMeasure( size.width, true ); 6917 this._setContainerMeasure( size.height, false ); 6918 } 6919 }; 6920 6921 /** 6922 * Sets width or height of container if returned 6923 * @returns {Object} size 6924 * @param {Number} width 6925 * @param {Number} height 6926 */ 6927 proto._getContainerSize = noop; 6928 6929 /** 6930 * @param {Number} measure - size of width or height 6931 * @param {Boolean} isWidth 6932 */ 6933 proto._setContainerMeasure = function( measure, isWidth ) { 6934 if ( measure === undefined ) { 6935 return; 6936 } 6937 6938 var elemSize = this.size; 6939 // add padding and border width if border box 6940 if ( elemSize.isBorderBox ) { 6941 measure += isWidth ? elemSize.paddingLeft + elemSize.paddingRight + 6942 elemSize.borderLeftWidth + elemSize.borderRightWidth : 6943 elemSize.paddingBottom + elemSize.paddingTop + 6944 elemSize.borderTopWidth + elemSize.borderBottomWidth; 6945 } 6946 6947 measure = Math.max( measure, 0 ); 6948 this.element.style[ isWidth ? 'width' : 'height' ] = measure + 'px'; 6949 }; 6950 6951 /** 6952 * emit eventComplete on a collection of items events 6953 * @param {String} eventName 6954 * @param {Array} items - Outlayer.Items 6955 */ 6956 proto._emitCompleteOnItems = function( eventName, items ) { 6957 var _this = this; 6958 function onComplete() { 6959 _this.dispatchEvent( eventName + 'Complete', null, [ items ] ); 6960 } 6961 6962 var count = items.length; 6963 if ( !items || !count ) { 6964 onComplete(); 6965 return; 6966 } 6967 6968 var doneCount = 0; 6969 function tick() { 6970 doneCount++; 6971 if ( doneCount == count ) { 6972 onComplete(); 6973 } 6974 } 6975 6976 // bind callback 6977 items.forEach( function( item ) { 6978 item.once( eventName, tick ); 6979 }); 6980 }; 6981 6982 /** 6983 * emits events via EvEmitter and jQuery events 6984 * @param {String} type - name of event 6985 * @param {Event} event - original event 6986 * @param {Array} args - extra arguments 6987 */ 6988 proto.dispatchEvent = function( type, event, args ) { 6989 // add original event to arguments 6990 var emitArgs = event ? [ event ].concat( args ) : args; 6991 this.emitEvent( type, emitArgs ); 6992 6993 if ( jQuery ) { 6994 // set this.$element 6995 this.$element = this.$element || jQuery( this.element ); 6996 if ( event ) { 6997 // create jQuery event 6998 var $event = jQuery.Event( event ); 6999 $event.type = type; 7000 this.$element.trigger( $event, args ); 7001 } else { 7002 // just trigger with type if no event available 7003 this.$element.trigger( type, args ); 7004 } 7005 } 7006 }; 7007 7008 // -------------------------- ignore & stamps -------------------------- // 7009 7010 7011 /** 7012 * keep item in collection, but do not lay it out 7013 * ignored items do not get skipped in layout 7014 * @param {Element} elem 7015 */ 7016 proto.ignore = function( elem ) { 7017 var item = this.getItem( elem ); 7018 if ( item ) { 7019 item.isIgnored = true; 7020 } 7021 }; 7022 7023 /** 7024 * return item to layout collection 7025 * @param {Element} elem 7026 */ 7027 proto.unignore = function( elem ) { 7028 var item = this.getItem( elem ); 7029 if ( item ) { 7030 delete item.isIgnored; 7031 } 7032 }; 7033 7034 /** 7035 * adds elements to stamps 7036 * @param {NodeList, Array, Element, or String} elems 7037 */ 7038 proto.stamp = function( elems ) { 7039 elems = this._find( elems ); 7040 if ( !elems ) { 7041 return; 7042 } 7043 7044 this.stamps = this.stamps.concat( elems ); 7045 // ignore 7046 elems.forEach( this.ignore, this ); 7047 }; 7048 7049 /** 7050 * removes elements to stamps 7051 * @param {NodeList, Array, or Element} elems 7052 */ 7053 proto.unstamp = function( elems ) { 7054 elems = this._find( elems ); 7055 if ( !elems ){ 7056 return; 7057 } 7058 7059 elems.forEach( function( elem ) { 7060 // filter out removed stamp elements 7061 utils.removeFrom( this.stamps, elem ); 7062 this.unignore( elem ); 7063 }, this ); 7064 }; 7065 7066 /** 7067 * finds child elements 7068 * @param {NodeList, Array, Element, or String} elems 7069 * @returns {Array} elems 7070 */ 7071 proto._find = function( elems ) { 7072 if ( !elems ) { 7073 return; 7074 } 7075 // if string, use argument as selector string 7076 if ( typeof elems == 'string' ) { 7077 elems = this.element.querySelectorAll( elems ); 7078 } 7079 elems = utils.makeArray( elems ); 7080 return elems; 7081 }; 7082 7083 proto._manageStamps = function() { 7084 if ( !this.stamps || !this.stamps.length ) { 7085 return; 7086 } 7087 7088 this._getBoundingRect(); 7089 7090 this.stamps.forEach( this._manageStamp, this ); 7091 }; 7092 7093 // update boundingLeft / Top 7094 proto._getBoundingRect = function() { 7095 // get bounding rect for container element 7096 var boundingRect = this.element.getBoundingClientRect(); 7097 var size = this.size; 7098 this._boundingRect = { 7099 left: boundingRect.left + size.paddingLeft + size.borderLeftWidth, 7100 top: boundingRect.top + size.paddingTop + size.borderTopWidth, 7101 right: boundingRect.right - ( size.paddingRight + size.borderRightWidth ), 7102 bottom: boundingRect.bottom - ( size.paddingBottom + size.borderBottomWidth ) 7103 }; 7104 }; 7105 7106 /** 7107 * @param {Element} stamp 7108 **/ 7109 proto._manageStamp = noop; 7110 7111 /** 7112 * get x/y position of element relative to container element 7113 * @param {Element} elem 7114 * @returns {Object} offset - has left, top, right, bottom 7115 */ 7116 proto._getElementOffset = function( elem ) { 7117 var boundingRect = elem.getBoundingClientRect(); 7118 var thisRect = this._boundingRect; 7119 var size = getSize( elem ); 7120 var offset = { 7121 left: boundingRect.left - thisRect.left - size.marginLeft, 7122 top: boundingRect.top - thisRect.top - size.marginTop, 7123 right: thisRect.right - boundingRect.right - size.marginRight, 7124 bottom: thisRect.bottom - boundingRect.bottom - size.marginBottom 7125 }; 7126 return offset; 7127 }; 7128 7129 // -------------------------- resize -------------------------- // 7130 7131 // enable event handlers for listeners 7132 // i.e. resize -> onresize 7133 proto.handleEvent = utils.handleEvent; 7134 7135 /** 7136 * Bind layout to window resizing 7137 */ 7138 proto.bindResize = function() { 7139 window.addEventListener( 'resize', this ); 7140 this.isResizeBound = true; 7141 }; 7142 7143 /** 7144 * Unbind layout to window resizing 7145 */ 7146 proto.unbindResize = function() { 7147 window.removeEventListener( 'resize', this ); 7148 this.isResizeBound = false; 7149 }; 7150 7151 proto.onresize = function() { 7152 this.resize(); 7153 }; 7154 7155 utils.debounceMethod( Outlayer, 'onresize', 100 ); 7156 7157 proto.resize = function() { 7158 // don't trigger if size did not change 7159 // or if resize was unbound. See #9 7160 if ( !this.isResizeBound || !this.needsResizeLayout() ) { 7161 return; 7162 } 7163 7164 this.layout(); 7165 }; 7166 7167 /** 7168 * check if layout is needed post layout 7169 * @returns Boolean 7170 */ 7171 proto.needsResizeLayout = function() { 7172 var size = getSize( this.element ); 7173 // check that this.size and size are there 7174 // IE8 triggers resize on body size change, so they might not be 7175 var hasSizes = this.size && size; 7176 return hasSizes && size.innerWidth !== this.size.innerWidth; 7177 }; 7178 7179 // -------------------------- methods -------------------------- // 7180 7181 /** 7182 * add items to Outlayer instance 7183 * @param {Array or NodeList or Element} elems 7184 * @returns {Array} items - Outlayer.Items 7185 **/ 7186 proto.addItems = function( elems ) { 7187 var items = this._itemize( elems ); 7188 // add items to collection 7189 if ( items.length ) { 7190 this.items = this.items.concat( items ); 7191 } 7192 return items; 7193 }; 7194 7195 /** 7196 * Layout newly-appended item elements 7197 * @param {Array or NodeList or Element} elems 7198 */ 7199 proto.appended = function( elems ) { 7200 var items = this.addItems( elems ); 7201 if ( !items.length ) { 7202 return; 7203 } 7204 // layout and reveal just the new items 7205 this.layoutItems( items, true ); 7206 this.reveal( items ); 7207 }; 7208 7209 /** 7210 * Layout prepended elements 7211 * @param {Array or NodeList or Element} elems 7212 */ 7213 proto.prepended = function( elems ) { 7214 var items = this._itemize( elems ); 7215 if ( !items.length ) { 7216 return; 7217 } 7218 // add items to beginning of collection 7219 var previousItems = this.items.slice(0); 7220 this.items = items.concat( previousItems ); 7221 // start new layout 7222 this._resetLayout(); 7223 this._manageStamps(); 7224 // layout new stuff without transition 7225 this.layoutItems( items, true ); 7226 this.reveal( items ); 7227 // layout previous items 7228 this.layoutItems( previousItems ); 7229 }; 7230 7231 /** 7232 * reveal a collection of items 7233 * @param {Array of Outlayer.Items} items 7234 */ 7235 proto.reveal = function( items ) { 7236 this._emitCompleteOnItems( 'reveal', items ); 7237 if ( !items || !items.length ) { 7238 return; 7239 } 7240 var stagger = this.updateStagger(); 7241 items.forEach( function( item, i ) { 7242 item.stagger( i * stagger ); 7243 item.reveal(); 7244 }); 7245 }; 7246 7247 /** 7248 * hide a collection of items 7249 * @param {Array of Outlayer.Items} items 7250 */ 7251 proto.hide = function( items ) { 7252 this._emitCompleteOnItems( 'hide', items ); 7253 if ( !items || !items.length ) { 7254 return; 7255 } 7256 var stagger = this.updateStagger(); 7257 items.forEach( function( item, i ) { 7258 item.stagger( i * stagger ); 7259 item.hide(); 7260 }); 7261 }; 7262 7263 /** 7264 * reveal item elements 7265 * @param {Array}, {Element}, {NodeList} items 7266 */ 7267 proto.revealItemElements = function( elems ) { 7268 var items = this.getItems( elems ); 7269 this.reveal( items ); 7270 }; 7271 7272 /** 7273 * hide item elements 7274 * @param {Array}, {Element}, {NodeList} items 7275 */ 7276 proto.hideItemElements = function( elems ) { 7277 var items = this.getItems( elems ); 7278 this.hide( items ); 7279 }; 7280 7281 /** 7282 * get Outlayer.Item, given an Element 7283 * @param {Element} elem 7284 * @param {Function} callback 7285 * @returns {Outlayer.Item} item 7286 */ 7287 proto.getItem = function( elem ) { 7288 // loop through items to get the one that matches 7289 for ( var i=0; i < this.items.length; i++ ) { 7290 var item = this.items[i]; 7291 if ( item.element == elem ) { 7292 // return item 7293 return item; 7294 } 7295 } 7296 }; 7297 7298 /** 7299 * get collection of Outlayer.Items, given Elements 7300 * @param {Array} elems 7301 * @returns {Array} items - Outlayer.Items 7302 */ 7303 proto.getItems = function( elems ) { 7304 elems = utils.makeArray( elems ); 7305 var items = []; 7306 elems.forEach( function( elem ) { 7307 var item = this.getItem( elem ); 7308 if ( item ) { 7309 items.push( item ); 7310 } 7311 }, this ); 7312 7313 return items; 7314 }; 7315 7316 /** 7317 * remove element(s) from instance and DOM 7318 * @param {Array or NodeList or Element} elems 7319 */ 7320 proto.remove = function( elems ) { 7321 var removeItems = this.getItems( elems ); 7322 7323 this._emitCompleteOnItems( 'remove', removeItems ); 7324 7325 // bail if no items to remove 7326 if ( !removeItems || !removeItems.length ) { 7327 return; 7328 } 7329
vendor: 5,683 bytes, lines 7330-7557
7330 removeItems.forEach( function( item ) { 7331 item.remove(); 7332 // remove item from collection 7333 utils.removeFrom( this.items, item ); 7334 }, this ); 7335 }; 7336 7337 // ----- destroy ----- // 7338 7339 // remove and disable Outlayer instance 7340 proto.destroy = function() { 7341 // clean up dynamic styles 7342 var style = this.element.style; 7343 style.height = ''; 7344 style.position = ''; 7345 style.width = ''; 7346 // destroy items 7347 this.items.forEach( function( item ) { 7348 item.destroy(); 7349 }); 7350 7351 this.unbindResize(); 7352 7353 var id = this.element.outlayerGUID; 7354 delete instances[ id ]; // remove reference to instance by id 7355 delete this.element.outlayerGUID; 7356 // remove data for jQuery 7357 if ( jQuery ) { 7358 jQuery.removeData( this.element, this.constructor.namespace ); 7359 } 7360 7361 }; 7362 7363 // -------------------------- data -------------------------- // 7364 7365 /** 7366 * get Outlayer instance from element 7367 * @param {Element} elem 7368 * @returns {Outlayer} 7369 */ 7370 Outlayer.data = function( elem ) { 7371 elem = utils.getQueryElement( elem ); 7372 var id = elem && elem.outlayerGUID; 7373 return id && instances[ id ]; 7374 }; 7375 7376 7377 // -------------------------- create Outlayer class -------------------------- // 7378 7379 /** 7380 * create a layout class 7381 * @param {String} namespace 7382 */ 7383 Outlayer.create = function( namespace, options ) { 7384 // sub-class Outlayer 7385 var Layout = subclass( Outlayer ); 7386 // apply new options and compatOptions 7387 Layout.defaults = utils.extend( {}, Outlayer.defaults ); 7388 utils.extend( Layout.defaults, options ); 7389 Layout.compatOptions = utils.extend( {}, Outlayer.compatOptions ); 7390 7391 Layout.namespace = namespace; 7392 7393 Layout.data = Outlayer.data; 7394 7395 // sub-class Item 7396 Layout.Item = subclass( Item ); 7397 7398 // -------------------------- declarative -------------------------- // 7399 7400 utils.htmlInit( Layout, namespace ); 7401 7402 // -------------------------- jQuery bridge -------------------------- // 7403 7404 // make into jQuery plugin 7405 if ( jQuery && jQuery.bridget ) { 7406 jQuery.bridget( namespace, Layout ); 7407 } 7408 7409 return Layout; 7410 }; 7411 7412 function subclass( Parent ) { 7413 function SubClass() { 7414 Parent.apply( this, arguments ); 7415 } 7416 7417 SubClass.prototype = Object.create( Parent.prototype ); 7418 SubClass.prototype.constructor = SubClass; 7419 7420 return SubClass; 7421 } 7422 7423 // ----- helpers ----- // 7424 7425 // how many milliseconds are in each unit 7426 var msUnits = { 7427 ms: 1, 7428 s: 1000 7429 }; 7430 7431 // munge time-like parameter into millisecond number 7432 // '0.4s' -> 40 7433 function getMilliseconds( time ) { 7434 if ( typeof time == 'number' ) { 7435 return time; 7436 } 7437 var matches = time.match( /(^\d*\.?\d*)(\w*)/ ); 7438 var num = matches && matches[1]; 7439 var unit = matches && matches[2]; 7440 if ( !num.length ) { 7441 return 0; 7442 } 7443 num = parseFloat( num ); 7444 var mult = msUnits[ unit ] || 1; 7445 return num * mult; 7446 } 7447 7448 // ----- fin ----- // 7449 7450 // back in global 7451 Outlayer.Item = Item; 7452 7453 return Outlayer; 7454 7455 })); 7456 7457 7458/***/ }), 7459/* 14 */ 7460/***/ (function(module, exports, __webpack_require__) { 7461 7462 var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_RESULT__;/*! 7463 * getSize v2.0.3 7464 * measure size of elements 7465 * MIT license 7466 */ 7467 7468 /* jshint browser: true, strict: true, undef: true, unused: true */ 7469 /* globals console: false */ 7470 7471 ( function( window, factory ) { 7472 /* jshint strict: false */ /* globals define, module */ 7473 if ( true ) { 7474 // AMD 7475 !(__WEBPACK_AMD_DEFINE_FACTORY__ = (factory), __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ? (__WEBPACK_AMD_DEFINE_FACTORY__.call(exports, __webpack_require__, exports, module)) : __WEBPACK_AMD_DEFINE_FACTORY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)); 7476 } else if ( typeof module == 'object' && module.exports ) { 7477 // CommonJS 7478 module.exports = factory(); 7479 } else { 7480 // browser global 7481 window.getSize = factory(); 7482 } 7483 7484 })( window, function factory() { 7485 'use strict'; 7486 7487 // -------------------------- helpers -------------------------- // 7488 7489 // get a number from a string, not a percentage 7490 function getStyleSize( value ) { 7491 var num = parseFloat( value ); 7492 // not a percent like '100%', and a number 7493 var isValid = value.indexOf('%') == -1 && !isNaN( num ); 7494 return isValid && num; 7495 } 7496 7497 function noop() {} 7498 7499 var logError = typeof console == 'undefined' ? noop : 7500 function( message ) { 7501 console.error( message ); 7502 }; 7503 7504 // -------------------------- measurements -------------------------- // 7505 7506 var measurements = [ 7507 'paddingLeft', 7508 'paddingRight', 7509 'paddingTop', 7510 'paddingBottom', 7511 'marginLeft', 7512 'marginRight', 7513 'marginTop', 7514 'marginBottom', 7515 'borderLeftWidth', 7516 'borderRightWidth', 7517 'borderTopWidth', 7518 'borderBottomWidth' 7519 ]; 7520 7521 var measurementsLength = measurements.length; 7522 7523 function getZeroSize() { 7524 var size = { 7525 width: 0, 7526 height: 0, 7527 innerWidth: 0, 7528 innerHeight: 0, 7529 outerWidth: 0, 7530 outerHeight: 0 7531 }; 7532 for ( var i=0; i < measurementsLength; i++ ) { 7533 var measurement = measurements[i]; 7534 size[ measurement ] = 0; 7535 } 7536 return size; 7537 } 7538 7539 // -------------------------- getStyle -------------------------- // 7540 7541 /** 7542 * getStyle, get style of element, check for Firefox bug 7543 * https://bugzilla.mozilla.org/show_bug.cgi?id=548397 7544 */ 7545 function getStyle( elem ) { 7546 var style = getComputedStyle( elem ); 7547 if ( !style ) { 7548 logError( 'Style returned ' + style + 7549 '. Are you running this code in a hidden iframe on Firefox? ' + 7550 'See https://bit.ly/getsizebug1' ); 7551 } 7552 return style; 7553 } 7554 7555 // -------------------------- setup -------------------------- // 7556 7557 var isSetup = false;
vendor: 4,441 bytes, lines 7558-7730
7558 7559 var isBoxSizeOuter; 7560 7561 /** 7562 * setup 7563 * check isBoxSizerOuter 7564 * do on first getSize() rather than on page load for Firefox bug 7565 */ 7566 function setup() { 7567 // setup once 7568 if ( isSetup ) { 7569 return; 7570 } 7571 isSetup = true; 7572 7573 // -------------------------- box sizing -------------------------- // 7574 7575 /** 7576 * Chrome & Safari measure the outer-width on style.width on border-box elems 7577 * IE11 & Firefox<29 measures the inner-width 7578 */ 7579 var div = document.createElement('div'); 7580 div.style.width = '200px'; 7581 div.style.padding = '1px 2px 3px 4px'; 7582 div.style.borderStyle = 'solid'; 7583 div.style.borderWidth = '1px 2px 3px 4px'; 7584 div.style.boxSizing = 'border-box'; 7585 7586 var body = document.body || document.documentElement; 7587 body.appendChild( div ); 7588 var style = getStyle( div ); 7589 // round value for browser zoom. desandro/masonry#928 7590 isBoxSizeOuter = Math.round( getStyleSize( style.width ) ) == 200; 7591 getSize.isBoxSizeOuter = isBoxSizeOuter; 7592 7593 body.removeChild( div ); 7594 } 7595 7596 // -------------------------- getSize -------------------------- // 7597 7598 function getSize( elem ) { 7599 setup(); 7600 7601 // use querySeletor if elem is string 7602 if ( typeof elem == 'string' ) { 7603 elem = document.querySelector( elem ); 7604 } 7605 7606 // do not proceed on non-objects 7607 if ( !elem || typeof elem != 'object' || !elem.nodeType ) { 7608 return; 7609 } 7610 7611 var style = getStyle( elem ); 7612 7613 // if hidden, everything is 0 7614 if ( style.display == 'none' ) { 7615 return getZeroSize(); 7616 } 7617 7618 var size = {}; 7619 size.width = elem.offsetWidth; 7620 size.height = elem.offsetHeight; 7621 7622 var isBorderBox = size.isBorderBox = style.boxSizing == 'border-box'; 7623 7624 // get all measurements 7625 for ( var i=0; i < measurementsLength; i++ ) { 7626 var measurement = measurements[i]; 7627 var value = style[ measurement ]; 7628 var num = parseFloat( value ); 7629 // any 'auto', 'medium' value will be 0 7630 size[ measurement ] = !isNaN( num ) ? num : 0; 7631 } 7632 7633 var paddingWidth = size.paddingLeft + size.paddingRight; 7634 var paddingHeight = size.paddingTop + size.paddingBottom; 7635 var marginWidth = size.marginLeft + size.marginRight; 7636 var marginHeight = size.marginTop + size.marginBottom; 7637 var borderWidth = size.borderLeftWidth + size.borderRightWidth; 7638 var borderHeight = size.borderTopWidth + size.borderBottomWidth; 7639 7640 var isBorderBoxSizeOuter = isBorderBox && isBoxSizeOuter; 7641 7642 // overwrite width and height if we can get it from style 7643 var styleWidth = getStyleSize( style.width ); 7644 if ( styleWidth !== false ) { 7645 size.width = styleWidth + 7646 // add padding and border unless it's already including it 7647 ( isBorderBoxSizeOuter ? 0 : paddingWidth + borderWidth ); 7648 } 7649 7650 var styleHeight = getStyleSize( style.height ); 7651 if ( styleHeight !== false ) { 7652 size.height = styleHeight + 7653 // add padding and border unless it's already including it 7654 ( isBorderBoxSizeOuter ? 0 : paddingHeight + borderHeight ); 7655 } 7656 7657 size.innerWidth = size.width - ( paddingWidth + borderWidth ); 7658 size.innerHeight = size.height - ( paddingHeight + borderHeight ); 7659 7660 size.outerWidth = size.width + marginWidth; 7661 size.outerHeight = size.height + marginHeight; 7662 7663 return size; 7664 } 7665 7666 return getSize; 7667 7668 }); 7669 7670 7671/***/ }), 7672/* 15 */ 7673/***/ (function(module, exports, __webpack_require__) { 7674 7675 // Webstrap dependecies 7676 // 7677 __webpack_require__(18); 7678 7679 // jQuery 7680 // 7681 // Must be instanciated before requiring 7682 // jquery-validation 7683 // 7684 var $ = jQuery = __webpack_require__(2); 7685 7686 // jQuery Validation 7687 // 7688 __webpack_require__(380); 7689 7690 7691 // Localisation 7692 // 7693 __webpack_require__(256); 7694 7695 7696 // Validation 7697 // 7698 __webpack_require__(258); 7699 7700/***/ }), 7701/* 16 */ 7702/***/ (function(module, exports, __webpack_require__) { 7703 7704 // Styles 7705 __webpack_require__(355); 7706 7707 // jQuery 7708 // 7709 // Must be instanciated before requiring 7710 // jquery-validation 7711 // 7712 var $ = jQuery = __webpack_require__(2); 7713 7714 // Modaal 7715 // 7716 __webpack_require__(259); 7717 7718/***/ }), 7719/* 17 */ 7720/***/ (function(module, exports, __webpack_require__) { 7721 7722 __webpack_require__(371); 7723 __webpack_require__(356); 7724 7725 const pickmeup = __webpack_require__(389); 7726 7727 pickmeup.defaults.locales["fr"] = { 7728 days: ["Dimanche", "Lundi", "Mardi", "Mercredi", "Jeudi", "Vendredi", "Samedi"], 7729 daysShort: ["Dim", "Lun", "Mar", "Mer", "Jeu", "Ven", "Sam"], 7730 daysMin: ["Di", "Lu", "Ma", "Me", "Je", "Ve", "Sa"],
vendor: 7,910 bytes, lines 7731-8011
7731 months: ["Janvier", "Février", "Mars", "Avril", "Mai", "Juin", "Juillet", "Août", "Septembre", "Octobre", "Novembre", "Décembre"], 7732 monthsShort: ["Jan", "Fév", "Mars", "Avr", "Mai", "Juin", "Juil", "Août", "Sept", "Oct", "Nov", "Déc"] 7733 } 7734 7735 module.exports = pickmeup; 7736 7737/***/ }), 7738/* 18 */ 7739/***/ (function(module, exports, __webpack_require__) { 7740 7741 // Dependencies 7742 __webpack_require__(5); 7743 7744 // Styles 7745 __webpack_require__(363); 7746 7747 7748/***/ }), 7749/* 19 */ 7750/***/ (function(module, exports, __webpack_require__) { 7751 7752 // Styles 7753 __webpack_require__(364); 7754 7755 7756/***/ }), 7757/* 20 */ 7758/***/ (function(module, exports, __webpack_require__) { 7759 7760 // Dependencies 7761 __webpack_require__(5); 7762 7763 // Styles 7764 __webpack_require__(367); 7765 7766 7767/***/ }), 7768/* 21 */ 7769/***/ (function(module, exports) { 7770 7771 // removed by extract-text-webpack-plugin 7772 7773/***/ }), 7774/* 22 */ 7775/***/ (function(module, exports, __webpack_require__) { 7776 7777 var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*! 7778 * Isotope v3.0.6 7779 * 7780 * Licensed GPLv3 for open source use 7781 * or Isotope Commercial License for commercial use 7782 * 7783 * https://isotope.metafizzy.co 7784 * Copyright 2010-2018 Metafizzy 7785 */ 7786 7787 ( function( window, factory ) { 7788 // universal module definition 7789 /* jshint strict: false */ /*globals define, module, require */ 7790 if ( true ) { 7791 // AMD 7792 !(__WEBPACK_AMD_DEFINE_ARRAY__ = [ 7793 __webpack_require__(13), 7794 __webpack_require__(9), 7795 __webpack_require__(23), 7796 __webpack_require__(24), 7797 __webpack_require__(375), 7798 __webpack_require__(8), 7799 // include default layout modes 7800 __webpack_require__(377), 7801 __webpack_require__(376), 7802 __webpack_require__(378) 7803 ], __WEBPACK_AMD_DEFINE_RESULT__ = function( Outlayer, getSize, matchesSelector, utils, Item, LayoutMode ) { 7804 return factory( window, Outlayer, getSize, matchesSelector, utils, Item, LayoutMode ); 7805 }.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)); 7806 } else if ( typeof module == 'object' && module.exports ) { 7807 // CommonJS 7808 module.exports = factory( 7809 window, 7810 require('outlayer'), 7811 require('get-size'), 7812 require('desandro-matches-selector'), 7813 require('fizzy-ui-utils'), 7814 require('./item'), 7815 require('./layout-mode'), 7816 // include default layout modes 7817 require('./layout-modes/masonry'), 7818 require('./layout-modes/fit-rows'), 7819 require('./layout-modes/vertical') 7820 ); 7821 } else { 7822 // browser global 7823 window.Isotope = factory( 7824 window, 7825 window.Outlayer, 7826 window.getSize, 7827 window.matchesSelector, 7828 window.fizzyUIUtils, 7829 window.Isotope.Item, 7830 window.Isotope.LayoutMode 7831 ); 7832 } 7833 7834 }( window, function factory( window, Outlayer, getSize, matchesSelector, utils, 7835 Item, LayoutMode ) { 7836 7837 'use strict'; 7838 7839 // -------------------------- vars -------------------------- // 7840 7841 var jQuery = window.jQuery; 7842 7843 // -------------------------- helpers -------------------------- // 7844 7845 var trim = String.prototype.trim ? 7846 function( str ) { 7847 return str.trim(); 7848 } : 7849 function( str ) { 7850 return str.replace( /^\s+|\s+$/g, '' ); 7851 }; 7852 7853 // -------------------------- isotopeDefinition -------------------------- // 7854 7855 // create an Outlayer layout class 7856 var Isotope = Outlayer.create( 'isotope', { 7857 layoutMode: 'masonry', 7858 isJQueryFiltering: true, 7859 sortAscending: true 7860 }); 7861 7862 Isotope.Item = Item; 7863 Isotope.LayoutMode = LayoutMode; 7864 7865 var proto = Isotope.prototype; 7866 7867 proto._create = function() { 7868 this.itemGUID = 0; 7869 // functions that sort items 7870 this._sorters = {}; 7871 this._getSorters(); 7872 // call super 7873 Outlayer.prototype._create.call( this ); 7874 7875 // create layout modes 7876 this.modes = {}; 7877 // start filteredItems with all items 7878 this.filteredItems = this.items; 7879 // keep of track of sortBys 7880 this.sortHistory = [ 'original-order' ]; 7881 // create from registered layout modes 7882 for ( var name in LayoutMode.modes ) { 7883 this._initLayoutMode( name ); 7884 } 7885 }; 7886 7887 proto.reloadItems = function() { 7888 // reset item ID counter 7889 this.itemGUID = 0; 7890 // call super 7891 Outlayer.prototype.reloadItems.call( this ); 7892 }; 7893 7894 proto._itemize = function() { 7895 var items = Outlayer.prototype._itemize.apply( this, arguments ); 7896 // assign ID for original-order 7897 for ( var i=0; i < items.length; i++ ) { 7898 var item = items[i]; 7899 item.id = this.itemGUID++; 7900 } 7901 this._updateItemsSortData( items ); 7902 return items; 7903 }; 7904 7905 7906 // -------------------------- layout -------------------------- // 7907 7908 proto._initLayoutMode = function( name ) { 7909 var Mode = LayoutMode.modes[ name ]; 7910 // set mode options 7911 // HACK extend initial options, back-fill in default options 7912 var initialOpts = this.options[ name ] || {}; 7913 this.options[ name ] = Mode.options ? 7914 utils.extend( Mode.options, initialOpts ) : initialOpts; 7915 // init layout mode instance 7916 this.modes[ name ] = new Mode( this ); 7917 }; 7918 7919 7920 proto.layout = function() { 7921 // if first time doing layout, do all magic 7922 if ( !this._isLayoutInited && this._getOption('initLayout') ) { 7923 this.arrange(); 7924 return; 7925 } 7926 this._layout(); 7927 }; 7928 7929 // private method to be used in layout() & magic() 7930 proto._layout = function() { 7931 // don't animate first layout 7932 var isInstant = this._getIsInstant(); 7933 // layout flow 7934 this._resetLayout(); 7935 this._manageStamps(); 7936 this.layoutItems( this.filteredItems, isInstant ); 7937 7938 // flag for initalized 7939 this._isLayoutInited = true; 7940 }; 7941 7942 // filter + sort + layout 7943 proto.arrange = function( opts ) { 7944 // set any options pass 7945 this.option( opts ); 7946 this._getIsInstant(); 7947 // filter, sort, and layout 7948 7949 // filter 7950 var filtered = this._filter( this.items ); 7951 this.filteredItems = filtered.matches; 7952 7953 this._bindArrangeComplete(); 7954 7955 if ( this._isInstant ) { 7956 this._noTransition( this._hideReveal, [ filtered ] ); 7957 } else { 7958 this._hideReveal( filtered ); 7959 } 7960 7961 this._sort(); 7962 this._layout(); 7963 }; 7964 // alias to _init for main plugin method 7965 proto._init = proto.arrange; 7966 7967 proto._hideReveal = function( filtered ) { 7968 this.reveal( filtered.needReveal ); 7969 this.hide( filtered.needHide ); 7970 }; 7971 7972 // HACK 7973 // Don't animate/transition first layout 7974 // Or don't animate/transition other layouts 7975 proto._getIsInstant = function() { 7976 var isLayoutInstant = this._getOption('layoutInstant'); 7977 var isInstant = isLayoutInstant !== undefined ? isLayoutInstant : 7978 !this._isLayoutInited; 7979 this._isInstant = isInstant; 7980 return isInstant; 7981 }; 7982 7983 // listen for layoutComplete, hideComplete and revealComplete 7984 // to trigger arrangeComplete 7985 proto._bindArrangeComplete = function() { 7986 // listen for 3 events to trigger arrangeComplete 7987 var isLayoutComplete, isHideComplete, isRevealComplete; 7988 var _this = this; 7989 function arrangeParallelCallback() { 7990 if ( isLayoutComplete && isHideComplete && isRevealComplete ) { 7991 _this.dispatchEvent( 'arrangeComplete', null, [ _this.filteredItems ] ); 7992 } 7993 } 7994 this.once( 'layoutComplete', function() { 7995 isLayoutComplete = true; 7996 arrangeParallelCallback(); 7997 }); 7998 this.once( 'hideComplete', function() { 7999 isHideComplete = true; 8000 arrangeParallelCallback(); 8001 }); 8002 this.once( 'revealComplete', function() { 8003 isRevealComplete = true; 8004 arrangeParallelCallback(); 8005 }); 8006 }; 8007 8008 // -------------------------- filter -------------------------- // 8009 8010 proto._filter = function( items ) { 8011 var filter = this.options.filter;
vendor: 5,596 bytes, lines 8012-8198
8012 filter = filter || '*'; 8013 var matches = []; 8014 var hiddenMatched = []; 8015 var visibleUnmatched = []; 8016 8017 var test = this._getFilterTest( filter ); 8018 8019 // test each item 8020 for ( var i=0; i < items.length; i++ ) { 8021 var item = items[i]; 8022 if ( item.isIgnored ) { 8023 continue; 8024 } 8025 // add item to either matched or unmatched group 8026 var isMatched = test( item ); 8027 // item.isFilterMatched = isMatched; 8028 // add to matches if its a match 8029 if ( isMatched ) { 8030 matches.push( item ); 8031 } 8032 // add to additional group if item needs to be hidden or revealed 8033 if ( isMatched && item.isHidden ) { 8034 hiddenMatched.push( item ); 8035 } else if ( !isMatched && !item.isHidden ) { 8036 visibleUnmatched.push( item ); 8037 } 8038 } 8039 8040 // return collections of items to be manipulated 8041 return { 8042 matches: matches, 8043 needReveal: hiddenMatched, 8044 needHide: visibleUnmatched 8045 }; 8046 }; 8047 8048 // get a jQuery, function, or a matchesSelector test given the filter 8049 proto._getFilterTest = function( filter ) { 8050 if ( jQuery && this.options.isJQueryFiltering ) { 8051 // use jQuery 8052 return function( item ) { 8053 return jQuery( item.element ).is( filter ); 8054 }; 8055 } 8056 if ( typeof filter == 'function' ) { 8057 // use filter as function 8058 return function( item ) { 8059 return filter( item.element ); 8060 }; 8061 } 8062 // default, use filter as selector string 8063 return function( item ) { 8064 return matchesSelector( item.element, filter ); 8065 }; 8066 }; 8067 8068 // -------------------------- sorting -------------------------- // 8069 8070 /** 8071 * @params {Array} elems 8072 * @public 8073 */ 8074 proto.updateSortData = function( elems ) { 8075 // get items 8076 var items; 8077 if ( elems ) { 8078 elems = utils.makeArray( elems ); 8079 items = this.getItems( elems ); 8080 } else { 8081 // update all items if no elems provided 8082 items = this.items; 8083 } 8084 8085 this._getSorters(); 8086 this._updateItemsSortData( items ); 8087 }; 8088 8089 proto._getSorters = function() { 8090 var getSortData = this.options.getSortData; 8091 for ( var key in getSortData ) { 8092 var sorter = getSortData[ key ]; 8093 this._sorters[ key ] = mungeSorter( sorter ); 8094 } 8095 }; 8096 8097 /** 8098 * @params {Array} items - of Isotope.Items 8099 * @private 8100 */ 8101 proto._updateItemsSortData = function( items ) { 8102 // do not update if no items 8103 var len = items && items.length; 8104 8105 for ( var i=0; len && i < len; i++ ) { 8106 var item = items[i]; 8107 item.updateSortData(); 8108 } 8109 }; 8110 8111 // ----- munge sorter ----- // 8112 8113 // encapsulate this, as we just need mungeSorter 8114 // other functions in here are just for munging 8115 var mungeSorter = ( function() { 8116 // add a magic layer to sorters for convienent shorthands 8117 // `.foo-bar` will use the text of .foo-bar querySelector 8118 // `[foo-bar]` will use attribute 8119 // you can also add parser 8120 // `.foo-bar parseInt` will parse that as a number 8121 function mungeSorter( sorter ) { 8122 // if not a string, return function or whatever it is 8123 if ( typeof sorter != 'string' ) { 8124 return sorter; 8125 } 8126 // parse the sorter string 8127 var args = trim( sorter ).split(' '); 8128 var query = args[0]; 8129 // check if query looks like [an-attribute] 8130 var attrMatch = query.match( /^\[(.+)\]$/ ); 8131 var attr = attrMatch && attrMatch[1]; 8132 var getValue = getValueGetter( attr, query ); 8133 // use second argument as a parser 8134 var parser = Isotope.sortDataParsers[ args[1] ]; 8135 // parse the value, if there was a parser 8136 sorter = parser ? function( elem ) { 8137 return elem && parser( getValue( elem ) ); 8138 } : 8139 // otherwise just return value 8140 function( elem ) { 8141 return elem && getValue( elem ); 8142 }; 8143 8144 return sorter; 8145 } 8146 8147 // get an attribute getter, or get text of the querySelector 8148 function getValueGetter( attr, query ) { 8149 // if query looks like [foo-bar], get attribute 8150 if ( attr ) { 8151 return function getAttribute( elem ) { 8152 return elem.getAttribute( attr ); 8153 }; 8154 } 8155 8156 // otherwise, assume its a querySelector, and get its text 8157 return function getChildText( elem ) { 8158 var child = elem.querySelector( query ); 8159 return child && child.textContent; 8160 }; 8161 } 8162 8163 return mungeSorter; 8164 })(); 8165 8166 // parsers used in getSortData shortcut strings 8167 Isotope.sortDataParsers = { 8168 'parseInt': function( val ) { 8169 return parseInt( val, 10 ); 8170 }, 8171 'parseFloat': function( val ) { 8172 return parseFloat( val ); 8173 } 8174 }; 8175 8176 // ----- sort method ----- // 8177 8178 // sort filteredItem order 8179 proto._sort = function() { 8180 if ( !this.options.sortBy ) { 8181 return; 8182 } 8183 // keep track of sortBy History 8184 var sortBys = utils.makeArray( this.options.sortBy ); 8185 if ( !this._getIsSameSortBy( sortBys ) ) { 8186 // concat all sortBy and sortHistory, add to front, oldest goes in last 8187 this.sortHistory = sortBys.concat( this.sortHistory ); 8188 } 8189 // sort magic 8190 var itemSorter = getItemSorter( this.sortHistory, this.options.sortAscending ); 8191 this.filteredItems.sort( itemSorter ); 8192 }; 8193 8194 // check if sortBys is same as start of sortHistory 8195 proto._getIsSameSortBy = function( sortBys ) { 8196 for ( var i=0; i < sortBys.length; i++ ) { 8197 if ( sortBys[i] != this.sortHistory[i] ) { 8198 return false;
vendor: 6,950 bytes, lines 8199-8430
8199 } 8200 } 8201 return true; 8202 }; 8203 8204 // returns a function used for sorting 8205 function getItemSorter( sortBys, sortAsc ) { 8206 return function sorter( itemA, itemB ) { 8207 // cycle through all sortKeys 8208 for ( var i = 0; i < sortBys.length; i++ ) { 8209 var sortBy = sortBys[i]; 8210 var a = itemA.sortData[ sortBy ]; 8211 var b = itemB.sortData[ sortBy ]; 8212 if ( a > b || a < b ) { 8213 // if sortAsc is an object, use the value given the sortBy key 8214 var isAscending = sortAsc[ sortBy ] !== undefined ? sortAsc[ sortBy ] : sortAsc; 8215 var direction = isAscending ? 1 : -1; 8216 return ( a > b ? 1 : -1 ) * direction; 8217 } 8218 } 8219 return 0; 8220 }; 8221 } 8222 8223 // -------------------------- methods -------------------------- // 8224 8225 // get layout mode 8226 proto._mode = function() { 8227 var layoutMode = this.options.layoutMode; 8228 var mode = this.modes[ layoutMode ]; 8229 if ( !mode ) { 8230 // TODO console.error 8231 throw new Error( 'No layout mode: ' + layoutMode ); 8232 } 8233 // HACK sync mode's options 8234 // any options set after init for layout mode need to be synced 8235 mode.options = this.options[ layoutMode ]; 8236 return mode; 8237 }; 8238 8239 proto._resetLayout = function() { 8240 // trigger original reset layout 8241 Outlayer.prototype._resetLayout.call( this ); 8242 this._mode()._resetLayout(); 8243 }; 8244 8245 proto._getItemLayoutPosition = function( item ) { 8246 return this._mode()._getItemLayoutPosition( item ); 8247 }; 8248 8249 proto._manageStamp = function( stamp ) { 8250 this._mode()._manageStamp( stamp ); 8251 }; 8252 8253 proto._getContainerSize = function() { 8254 return this._mode()._getContainerSize(); 8255 }; 8256 8257 proto.needsResizeLayout = function() { 8258 return this._mode().needsResizeLayout(); 8259 }; 8260 8261 // -------------------------- adding & removing -------------------------- // 8262 8263 // HEADS UP overwrites default Outlayer appended 8264 proto.appended = function( elems ) { 8265 var items = this.addItems( elems ); 8266 if ( !items.length ) { 8267 return; 8268 } 8269 // filter, layout, reveal new items 8270 var filteredItems = this._filterRevealAdded( items ); 8271 // add to filteredItems 8272 this.filteredItems = this.filteredItems.concat( filteredItems ); 8273 }; 8274 8275 // HEADS UP overwrites default Outlayer prepended 8276 proto.prepended = function( elems ) { 8277 var items = this._itemize( elems ); 8278 if ( !items.length ) { 8279 return; 8280 } 8281 // start new layout 8282 this._resetLayout(); 8283 this._manageStamps(); 8284 // filter, layout, reveal new items 8285 var filteredItems = this._filterRevealAdded( items ); 8286 // layout previous items 8287 this.layoutItems( this.filteredItems ); 8288 // add to items and filteredItems 8289 this.filteredItems = filteredItems.concat( this.filteredItems ); 8290 this.items = items.concat( this.items ); 8291 }; 8292 8293 proto._filterRevealAdded = function( items ) { 8294 var filtered = this._filter( items ); 8295 this.hide( filtered.needHide ); 8296 // reveal all new items 8297 this.reveal( filtered.matches ); 8298 // layout new items, no transition 8299 this.layoutItems( filtered.matches, true ); 8300 return filtered.matches; 8301 }; 8302 8303 /** 8304 * Filter, sort, and layout newly-appended item elements 8305 * @param {Array or NodeList or Element} elems 8306 */ 8307 proto.insert = function( elems ) { 8308 var items = this.addItems( elems ); 8309 if ( !items.length ) { 8310 return; 8311 } 8312 // append item elements 8313 var i, item; 8314 var len = items.length; 8315 for ( i=0; i < len; i++ ) { 8316 item = items[i]; 8317 this.element.appendChild( item.element ); 8318 } 8319 // filter new stuff 8320 var filteredInsertItems = this._filter( items ).matches; 8321 // set flag 8322 for ( i=0; i < len; i++ ) { 8323 items[i].isLayoutInstant = true; 8324 } 8325 this.arrange(); 8326 // reset flag 8327 for ( i=0; i < len; i++ ) { 8328 delete items[i].isLayoutInstant; 8329 } 8330 this.reveal( filteredInsertItems ); 8331 }; 8332 8333 var _remove = proto.remove; 8334 proto.remove = function( elems ) { 8335 elems = utils.makeArray( elems ); 8336 var removeItems = this.getItems( elems ); 8337 // do regular thing 8338 _remove.call( this, elems ); 8339 // bail if no items to remove 8340 var len = removeItems && removeItems.length; 8341 // remove elems from filteredItems 8342 for ( var i=0; len && i < len; i++ ) { 8343 var item = removeItems[i]; 8344 // remove item from collection 8345 utils.removeFrom( this.filteredItems, item ); 8346 } 8347 }; 8348 8349 proto.shuffle = function() { 8350 // update random sortData 8351 for ( var i=0; i < this.items.length; i++ ) { 8352 var item = this.items[i]; 8353 item.sortData.random = Math.random(); 8354 } 8355 this.options.sortBy = 'random'; 8356 this._sort(); 8357 this._layout(); 8358 }; 8359 8360 /** 8361 * trigger fn without transition 8362 * kind of hacky to have this in the first place 8363 * @param {Function} fn 8364 * @param {Array} args 8365 * @returns ret 8366 * @private 8367 */ 8368 proto._noTransition = function( fn, args ) { 8369 // save transitionDuration before disabling 8370 var transitionDuration = this.options.transitionDuration; 8371 // disable transition 8372 this.options.transitionDuration = 0; 8373 // do it 8374 var returnValue = fn.apply( this, args ); 8375 // re-enable transition for reveal 8376 this.options.transitionDuration = transitionDuration; 8377 return returnValue; 8378 }; 8379 8380 // ----- helper methods ----- // 8381 8382 /** 8383 * getter method for getting filtered item elements 8384 * @returns {Array} elems - collection of item elements 8385 */ 8386 proto.getFilteredItemElements = function() { 8387 return this.filteredItems.map( function( item ) { 8388 return item.element; 8389 }); 8390 }; 8391 8392 // ----- ----- // 8393 8394 return Isotope; 8395 8396 })); 8397 8398 8399/***/ }), 8400/* 23 */ 8401/***/ (function(module, exports, __webpack_require__) { 8402 8403 var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_RESULT__;/** 8404 * matchesSelector v2.0.2 8405 * matchesSelector( element, '.selector' ) 8406 * MIT license 8407 */ 8408 8409 /*jshint browser: true, strict: true, undef: true, unused: true */ 8410 8411 ( function( window, factory ) { 8412 /*global define: false, module: false */ 8413 'use strict'; 8414 // universal module definition 8415 if ( true ) { 8416 // AMD 8417 !(__WEBPACK_AMD_DEFINE_FACTORY__ = (factory), __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ? (__WEBPACK_AMD_DEFINE_FACTORY__.call(exports, __webpack_require__, exports, module)) : __WEBPACK_AMD_DEFINE_FACTORY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)); 8418 } else if ( typeof module == 'object' && module.exports ) { 8419 // CommonJS 8420 module.exports = factory(); 8421 } else { 8422 // browser global 8423 window.matchesSelector = factory(); 8424 } 8425 8426 }( window, function factory() { 8427 'use strict'; 8428 8429 var matchesMethod = ( function() { 8430 var ElemProto = window.Element.prototype;
vendor: 6,431 bytes, lines 8431-8672
8431 // check for the standard method name first 8432 if ( ElemProto.matches ) { 8433 return 'matches'; 8434 } 8435 // check un-prefixed 8436 if ( ElemProto.matchesSelector ) { 8437 return 'matchesSelector'; 8438 } 8439 // check vendor prefixes 8440 var prefixes = [ 'webkit', 'moz', 'ms', 'o' ]; 8441 8442 for ( var i=0; i < prefixes.length; i++ ) { 8443 var prefix = prefixes[i]; 8444 var method = prefix + 'MatchesSelector'; 8445 if ( ElemProto[ method ] ) { 8446 return method; 8447 } 8448 } 8449 })(); 8450 8451 return function matchesSelector( elem, selector ) { 8452 return elem[ matchesMethod ]( selector ); 8453 }; 8454 8455 })); 8456 8457 8458/***/ }), 8459/* 24 */ 8460/***/ (function(module, exports, __webpack_require__) { 8461 8462 var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/** 8463 * Fizzy UI utils v2.0.7 8464 * MIT license 8465 */ 8466 8467 /*jshint browser: true, undef: true, unused: true, strict: true */ 8468 8469 ( function( window, factory ) { 8470 // universal module definition 8471 /*jshint strict: false */ /*globals define, module, require */ 8472 8473 if ( true ) { 8474 // AMD 8475 !(__WEBPACK_AMD_DEFINE_ARRAY__ = [ 8476 __webpack_require__(23) 8477 ], __WEBPACK_AMD_DEFINE_RESULT__ = function( matchesSelector ) { 8478 return factory( window, matchesSelector ); 8479 }.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)); 8480 } else if ( typeof module == 'object' && module.exports ) { 8481 // CommonJS 8482 module.exports = factory( 8483 window, 8484 require('desandro-matches-selector') 8485 ); 8486 } else { 8487 // browser global 8488 window.fizzyUIUtils = factory( 8489 window, 8490 window.matchesSelector 8491 ); 8492 } 8493 8494 }( window, function factory( window, matchesSelector ) { 8495 8496 'use strict'; 8497 8498 var utils = {}; 8499 8500 // ----- extend ----- // 8501 8502 // extends objects 8503 utils.extend = function( a, b ) { 8504 for ( var prop in b ) { 8505 a[ prop ] = b[ prop ]; 8506 } 8507 return a; 8508 }; 8509 8510 // ----- modulo ----- // 8511 8512 utils.modulo = function( num, div ) { 8513 return ( ( num % div ) + div ) % div; 8514 }; 8515 8516 // ----- makeArray ----- // 8517 8518 var arraySlice = Array.prototype.slice; 8519 8520 // turn element or nodeList into an array 8521 utils.makeArray = function( obj ) { 8522 if ( Array.isArray( obj ) ) { 8523 // use object if already an array 8524 return obj; 8525 } 8526 // return empty array if undefined or null. #6 8527 if ( obj === null || obj === undefined ) { 8528 return []; 8529 } 8530 8531 var isArrayLike = typeof obj == 'object' && typeof obj.length == 'number'; 8532 if ( isArrayLike ) { 8533 // convert nodeList to array 8534 return arraySlice.call( obj ); 8535 } 8536 8537 // array of single index 8538 return [ obj ]; 8539 }; 8540 8541 // ----- removeFrom ----- // 8542 8543 utils.removeFrom = function( ary, obj ) { 8544 var index = ary.indexOf( obj ); 8545 if ( index != -1 ) { 8546 ary.splice( index, 1 ); 8547 } 8548 }; 8549 8550 // ----- getParent ----- // 8551 8552 utils.getParent = function( elem, selector ) { 8553 while ( elem.parentNode && elem != document.body ) { 8554 elem = elem.parentNode; 8555 if ( matchesSelector( elem, selector ) ) { 8556 return elem; 8557 } 8558 } 8559 }; 8560 8561 // ----- getQueryElement ----- // 8562 8563 // use element as selector string 8564 utils.getQueryElement = function( elem ) { 8565 if ( typeof elem == 'string' ) { 8566 return document.querySelector( elem ); 8567 } 8568 return elem; 8569 }; 8570 8571 // ----- handleEvent ----- // 8572 8573 // enable .ontype to trigger from .addEventListener( elem, 'type' ) 8574 utils.handleEvent = function( event ) { 8575 var method = 'on' + event.type; 8576 if ( this[ method ] ) { 8577 this[ method ]( event ); 8578 } 8579 }; 8580 8581 // ----- filterFindElements ----- // 8582 8583 utils.filterFindElements = function( elems, selector ) { 8584 // make array of elems 8585 elems = utils.makeArray( elems ); 8586 var ffElems = []; 8587 8588 elems.forEach( function( elem ) { 8589 // check that elem is an actual element 8590 if ( !( elem instanceof HTMLElement ) ) { 8591 return; 8592 } 8593 // add elem if no selector 8594 if ( !selector ) { 8595 ffElems.push( elem ); 8596 return; 8597 } 8598 // filter & find items if we have a selector 8599 // filter 8600 if ( matchesSelector( elem, selector ) ) { 8601 ffElems.push( elem ); 8602 } 8603 // find children 8604 var childElems = elem.querySelectorAll( selector ); 8605 // concat childElems to filterFound array 8606 for ( var i=0; i < childElems.length; i++ ) { 8607 ffElems.push( childElems[i] ); 8608 } 8609 }); 8610 8611 return ffElems; 8612 }; 8613 8614 // ----- debounceMethod ----- // 8615 8616 utils.debounceMethod = function( _class, methodName, threshold ) { 8617 threshold = threshold || 100; 8618 // original method 8619 var method = _class.prototype[ methodName ]; 8620 var timeoutName = methodName + 'Timeout'; 8621 8622 _class.prototype[ methodName ] = function() { 8623 var timeout = this[ timeoutName ]; 8624 clearTimeout( timeout ); 8625 8626 var args = arguments; 8627 var _this = this; 8628 this[ timeoutName ] = setTimeout( function() { 8629 method.apply( _this, args ); 8630 delete _this[ timeoutName ]; 8631 }, threshold ); 8632 }; 8633 }; 8634 8635 // ----- docReady ----- // 8636 8637 utils.docReady = function( callback ) { 8638 var readyState = document.readyState; 8639 if ( readyState == 'complete' || readyState == 'interactive' ) { 8640 // do async to allow for other scripts to run. metafizzy/flickity#441 8641 setTimeout( callback ); 8642 } else { 8643 document.addEventListener( 'DOMContentLoaded', callback ); 8644 } 8645 }; 8646 8647 // ----- htmlInit ----- // 8648 8649 // http://jamesroberts.name/blog/2010/02/22/string-functions-for-javascript-trim-to-camel-case-to-dashed-and-to-underscore/ 8650 utils.toDashed = function( str ) { 8651 return str.replace( /(.)([A-Z])/g, function( match, $1, $2 ) { 8652 return $1 + '-' + $2; 8653 }).toLowerCase(); 8654 }; 8655 8656 var console = window.console; 8657 /** 8658 * allow user to initialize classes via [data-namespace] or .js-namespace class 8659 * htmlInit( Widget, 'widgetName' ) 8660 * options are parsed from data-namespace-options 8661 */ 8662 utils.htmlInit = function( WidgetClass, namespace ) { 8663 utils.docReady( function() { 8664 var dashedNamespace = utils.toDashed( namespace ); 8665 var dataAttr = 'data-' + dashedNamespace; 8666 var dataAttrElems = document.querySelectorAll( '[' + dataAttr + ']' ); 8667 var jsDashElems = document.querySelectorAll( '.js-' + dashedNamespace ); 8668 var elems = utils.makeArray( dataAttrElems ) 8669 .concat( utils.makeArray( jsDashElems ) ); 8670 var dataOptionsAttr = dataAttr + '-options'; 8671 var jQuery = window.jQuery; 8672
8673 elems.forEach( function( elem ) { 8674 var attr = elem.getAttribute( dataAttr ) || 8675 elem.getAttribute( dataOptionsAttr ); 8676 var options; 8677 try { 8678 options = attr && JSON.parse( attr ); 8679 } catch ( error ) { 8680 // log error, do not initialize 8681 if ( console ) { 8682 console.error( 'Error parsing ' + dataAttr + ' on ' + elem.className + 8683 ': ' + error ); 8684 } 8685 return; 8686 } 8687 // initialize 8688 var instance = new WidgetClass( elem, options ); 8689 // make available via $().data('namespace') 8690 if ( jQuery ) { 8691 jQuery.data( elem, namespace, instance ); 8692 } 8693 }); 8694 8695 }); 8696 }; 8697 8698 // ----- ----- // 8699 8700 return utils; 8701 8702 })); 8703 8704 8705/***/ }), 8706/* 25 */ 8707/***/ (function(module, exports, __webpack_require__) { 8708 8709 var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_RESULT__;/** 8710 * EvEmitter v1.1.0 8711 * Lil' event emitter 8712 * MIT License 8713 */ 8714 8715 /* jshint unused: true, undef: true, strict: true */ 8716 8717 ( function( global, factory ) { 8718 // universal module definition 8719 /* jshint strict: false */ /* globals define, module, window */ 8720 if ( true ) { 8721 // AMD - RequireJS 8722 !(__WEBPACK_AMD_DEFINE_FACTORY__ = (factory), __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ? (__WEBPACK_AMD_DEFINE_FACTORY__.call(exports, __webpack_require__, exports, module)) : __WEBPACK_AMD_DEFINE_FACTORY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)); 8723 } else if ( typeof module == 'object' && module.exports ) { 8724 // CommonJS - Browserify, Webpack 8725 module.exports = factory(); 8726 } else { 8727 // Browser globals 8728 global.EvEmitter = factory(); 8729 } 8730 8731 }( typeof window != 'undefined' ? window : this, function() { 8732 8733 "use strict"; 8734 8735 function EvEmitter() {} 8736 8737 var proto = EvEmitter.prototype; 8738 8739 proto.on = function( eventName, listener ) { 8740 if ( !eventName || !listener ) { 8741 return; 8742 } 8743 // set events hash 8744 var events = this._events = this._events || {}; 8745 // set listeners array 8746 var listeners = events[ eventName ] = events[ eventName ] || []; 8747 // only add once 8748 if ( listeners.indexOf( listener ) == -1 ) { 8749 listeners.push( listener ); 8750 } 8751 8752 return this; 8753 }; 8754 8755 proto.once = function( eventName, listener ) { 8756 if ( !eventName || !listener ) { 8757 return; 8758 } 8759 // add event 8760 this.on( eventName, listener ); 8761 // set once flag 8762 // set onceEvents hash 8763 var onceEvents = this._onceEvents = this._onceEvents || {}; 8764 // set onceListeners object 8765 var onceListeners = onceEvents[ eventName ] = onceEvents[ eventName ] || {}; 8766 // set flag 8767 onceListeners[ listener ] = true; 8768 8769 return this; 8770 }; 8771 8772 proto.off = function( eventName, listener ) { 8773 var listeners = this._events && this._events[ eventName ]; 8774 if ( !listeners || !listeners.length ) { 8775 return; 8776 } 8777 var index = listeners.indexOf( listener ); 8778 if ( index != -1 ) { 8779 listeners.splice( index, 1 ); 8780 } 8781 8782 return this; 8783 }; 8784 8785 proto.emitEvent = function( eventName, args ) { 8786 var listeners = this._events && this._events[ eventName ]; 8787 if ( !listeners || !listeners.length ) { 8788 return; 8789 } 8790 // copy over to avoid interference if .off() in listener 8791 listeners = listeners.slice(0); 8792 args = args || []; 8793 // once stuff 8794 var onceListeners = this._onceEvents && this._onceEvents[ eventName ]; 8795 8796 for ( var i=0; i < listeners.length; i++ ) { 8797 var listener = listeners[i] 8798 var isOnce = onceListeners && onceListeners[ listener ]; 8799 if ( isOnce ) { 8800 // remove listener 8801 // remove before trigger to prevent recursion 8802 this.off( eventName, listener ); 8803 // unset once flag 8804 delete onceListeners[ listener ]; 8805 } 8806 // trigger listener 8807 listener.apply( this, args ); 8808 } 8809 8810 return this; 8811 }; 8812 8813 proto.allOff = function() { 8814 delete this._events; 8815 delete this._onceEvents; 8816 }; 8817 8818 return EvEmitter; 8819 8820 })); 8821 8822 8823/***/ }), 8824/* 26 */ 8825/***/ (function(module, exports, __webpack_require__) { 8826 8827 var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_RESULT__;/** 8828 * EvEmitter v1.1.0 8829 * Lil' event emitter 8830 * MIT License 8831 */ 8832 8833 /* jshint unused: true, undef: true, strict: true */ 8834 8835 ( function( global, factory ) { 8836 // universal module definition 8837 /* jshint strict: false */ /* globals define, module, window */ 8838 if ( true ) { 8839 // AMD - RequireJS 8840 !(__WEBPACK_AMD_DEFINE_FACTORY__ = (factory), __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ? (__WEBPACK_AMD_DEFINE_FACTORY__.call(exports, __webpack_require__, exports, module)) : __WEBPACK_AMD_DEFINE_FACTORY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)); 8841 } else if ( typeof module == 'object' && module.exports ) { 8842 // CommonJS - Browserify, Webpack 8843 module.exports = factory(); 8844 } else { 8845 // Browser globals 8846 global.EvEmitter = factory(); 8847 } 8848 8849 }( typeof window != 'undefined' ? window : this, function() { 8850 8851 "use strict"; 8852 8853 function EvEmitter() {} 8854 8855 var proto = EvEmitter.prototype; 8856 8857 proto.on = function( eventName, listener ) { 8858 if ( !eventName || !listener ) { 8859 return; 8860 } 8861 // set events hash 8862 var events = this._events = this._events || {}; 8863 // set listeners array 8864 var listeners = events[ eventName ] = events[ eventName ] || []; 8865 // only add once 8866 if ( listeners.indexOf( listener ) == -1 ) { 8867 listeners.push( listener ); 8868 } 8869 8870 return this; 8871 }; 8872 8873 proto.once = function( eventName, listener ) { 8874 if ( !eventName || !listener ) { 8875 return; 8876 } 8877 // add event 8878 this.on( eventName, listener ); 8879 // set once flag 8880 // set onceEvents hash 8881 var onceEvents = this._onceEvents = this._onceEvents || {}; 8882 // set onceListeners object 8883 var onceListeners = onceEvents[ eventName ] = onceEvents[ eventName ] || {}; 8884 // set flag 8885 onceListeners[ listener ] = true; 8886 8887 return this; 8888 }; 8889 8890 proto.off = function( eventName, listener ) { 8891 var listeners = this._events && this._events[ eventName ]; 8892 if ( !listeners || !listeners.length ) { 8893 return; 8894 } 8895 var index = listeners.indexOf( listener ); 8896 if ( index != -1 ) { 8897 listeners.splice( index, 1 ); 8898 } 8899 8900 return this; 8901 }; 8902 8903 proto.emitEvent = function( eventName, args ) { 8904 var listeners = this._events && this._events[ eventName ]; 8905 if ( !listeners || !listeners.length ) { 8906 return; 8907 } 8908 // copy over to avoid interference if .off() in listener 8909 listeners = listeners.slice(0); 8910 args = args || []; 8911 // once stuff 8912 var onceListeners = this._onceEvents && this._onceEvents[ eventName ]; 8913 8914 for ( var i=0; i < listeners.length; i++ ) { 8915 var listener = listeners[i] 8916 var isOnce = onceListeners && onceListeners[ listener ]; 8917 if ( isOnce ) { 8918 // remove listener 8919 // remove before trigger to prevent recursion 8920 this.off( eventName, listener ); 8921 // unset once flag 8922 delete onceListeners[ listener ]; 8923 } 8924 // trigger listener 8925 listener.apply( this, args ); 8926 } 8927 8928 return this; 8929 }; 8930 8931 proto.allOff = function() { 8932 delete this._events; 8933 delete this._onceEvents; 8934 }; 8935 8936 return EvEmitter; 8937 8938 })); 8939 8940 8941/***/ }), 8942/* 27 */ 8943/***/ (function(module, exports, __webpack_require__) { 8944 8945 //! moment.js locale configuration 8946 //! locale : Afrikaans [af] 8947 //! author : Werner Mollentze : https://github.com/wernerm 8948 8949 ;(function (global, factory) { 8950 true ? factory(__webpack_require__(1)) : 8951 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 8952 factory(global.moment) 8953 }(this, (function (moment) { 'use strict'; 8954 8955 //! moment.js locale configuration 8956 8957 var af = moment.defineLocale('af', { 8958 months: 'Januarie_Februarie_Maart_April_Mei_Junie_Julie_Augustus_September_Oktober_November_Desember'.split( 8959 '_' 8960 ), 8961 monthsShort: 'Jan_Feb_Mrt_Apr_Mei_Jun_Jul_Aug_Sep_Okt_Nov_Des'.split('_'), 8962 weekdays: 'Sondag_Maandag_Dinsdag_Woensdag_Donderdag_Vrydag_Saterdag'.split( 8963 '_' 8964 ), 8965 weekdaysShort: 'Son_Maa_Din_Woe_Don_Vry_Sat'.split('_'), 8966 weekdaysMin: 'So_Ma_Di_Wo_Do_Vr_Sa'.split('_'), 8967 meridiemParse: /vm|nm/i, 8968 isPM: function (input) { 8969 return /^nm$/i.test(input); 8970 }, 8971 meridiem: function (hours, minutes, isLower) { 8972 if (hours < 12) { 8973 return isLower ? 'vm' : 'VM'; 8974 } else { 8975 return isLower ? 'nm' : 'NM'; 8976 } 8977 }, 8978 longDateFormat: { 8979 LT: 'HH:mm', 8980 LTS: 'HH:mm:ss', 8981 L: 'DD/MM/YYYY', 8982 LL: 'D MMMM YYYY', 8983 LLL: 'D MMMM YYYY HH:mm', 8984 LLLL: 'dddd, D MMMM YYYY HH:mm', 8985 }, 8986 calendar: { 8987 sameDay: '[Vandag om] LT', 8988 nextDay: '[Môre om] LT', 8989 nextWeek: 'dddd [om] LT', 8990 lastDay: '[Gister om] LT', 8991 lastWeek: '[Laas] dddd [om] LT', 8992 sameElse: 'L', 8993 }, 8994 relativeTime: {
8995 future: 'oor %s', 8996 past: '%s gelede', 8997 s: "'n paar sekondes", 8998 ss: '%d sekondes', 8999 m: "'n minuut", 9000 mm: '%d minute', 9001 h: "'n uur", 9002 hh: '%d ure', 9003 d: "'n dag", 9004 dd: '%d dae', 9005 M: "'n maand", 9006 MM: '%d maande', 9007 y: "'n jaar", 9008 yy: '%d jaar', 9009 }, 9010 dayOfMonthOrdinalParse: /\d{1,2}(ste|de)/, 9011 ordinal: function (number) { 9012 return ( 9013 number + 9014 (number === 1 || number === 8 || number >= 20 ? 'ste' : 'de') 9015 ); // Thanks to Joris Röling : https://github.com/jjupiter 9016 }, 9017 week: { 9018 dow: 1, // Maandag is die eerste dag van die week. 9019 doy: 4, // Die week wat die 4de Januarie bevat is die eerste week van die jaar. 9020 }, 9021 }); 9022 9023 return af; 9024 9025 }))); 9026 9027 9028/***/ }), 9029/* 28 */ 9030/***/ (function(module, exports, __webpack_require__) { 9031 9032 //! moment.js locale configuration 9033 //! locale : Arabic (Algeria) [ar-dz] 9034 //! author : Amine Roukh: https://github.com/Amine27 9035 //! author : Abdel Said: https://github.com/abdelsaid 9036 //! author : Ahmed Elkhatib 9037 //! author : forabi https://github.com/forabi 9038 //! author : Noureddine LOUAHEDJ : https://github.com/noureddinem 9039 9040 ;(function (global, factory) { 9041 true ? factory(__webpack_require__(1)) : 9042 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 9043 factory(global.moment) 9044 }(this, (function (moment) { 'use strict'; 9045 9046 //! moment.js locale configuration 9047 9048 var pluralForm = function (n) { 9049 return n === 0 9050 ? 0 9051 : n === 1 9052 ? 1 9053 : n === 2 9054 ? 2 9055 : n % 100 >= 3 && n % 100 <= 10 9056 ? 3 9057 : n % 100 >= 11 9058 ? 4 9059 : 5; 9060 }, 9061 plurals = { 9062 s: [ 9063 'Ø£Ù٠٠٠ثاÙÙØ©', 9064 'ثاÙÙØ© ÙØ§ØØ¯Ø©', 9065 ['ثاÙÙØªØ§Ù', 'ثاÙÙØªÙÙ'], 9066 '%d Ø«ÙØ§Ù', 9067 '%d ثاÙÙØ©', 9068 '%d ثاÙÙØ©', 9069 ], 9070 m: [ 9071 'Ø£Ù٠٠٠دÙÙÙØ©', 9072 'دÙÙÙØ© ÙØ§ØØ¯Ø©', 9073 ['دÙÙÙØªØ§Ù', 'دÙÙÙØªÙÙ'], 9074 '%d Ø¯ÙØ§Ø¦Ù', 9075 '%d دÙÙÙØ©', 9076 '%d دÙÙÙØ©', 9077 ], 9078 h: [ 9079 'Ø£Ù٠٠٠ساعة', 9080 'ساعة ÙØ§ØØ¯Ø©', 9081 ['ساعتاÙ', 'ساعتÙÙ'], 9082 '%d ساعات', 9083 '%d ساعة', 9084 '%d ساعة', 9085 ], 9086 d: [ 9087 'Ø£ÙÙ Ù Ù ÙÙÙ ', 9088 'ÙÙÙ ÙØ§ØØ¯', 9089 ['ÙÙ٠اÙ', 'ÙÙÙ ÙÙ'], 9090 '%d Ø£ÙØ§Ù ', 9091 '%d ÙÙÙ ÙØ§', 9092 '%d ÙÙÙ ', 9093 ], 9094 M: [ 9095 'Ø£ÙÙ Ù Ù Ø´ÙØ±', 9096 'Ø´ÙØ± ÙØ§ØØ¯', 9097 ['Ø´ÙØ±Ø§Ù', 'Ø´ÙØ±ÙÙ'], 9098 '%d Ø£Ø´ÙØ±', 9099 '%d Ø´ÙØ±Ø§', 9100 '%d Ø´ÙØ±', 9101 ], 9102 y: [ 9103 'Ø£Ù٠٠٠عا٠', 9104 'Ø¹Ø§Ù ÙØ§ØØ¯', 9105 ['عا٠اÙ', 'عا٠ÙÙ'], 9106 '%d Ø£Ø¹ÙØ§Ù ', 9107 '%d Ø¹Ø§Ù ÙØ§', 9108 '%d عا٠', 9109 ], 9110 }, 9111 pluralize = function (u) { 9112 return function (number, withoutSuffix, string, isFuture) { 9113 var f = pluralForm(number), 9114 str = plurals[u][pluralForm(number)]; 9115 if (f === 2) { 9116 str = str[withoutSuffix ? 0 : 1]; 9117 } 9118 return str.replace(/%d/i, number); 9119 }; 9120 }, 9121 months = [ 9122 'جاÙÙÙ', 9123 'ÙÙÙØ±Ù', 9124 '٠ارس', 9125 'Ø£ÙØ±ÙÙ', 9126 '٠اÙ', 9127 'Ø¬ÙØ§Ù', 9128 'جÙÙÙÙØ©', 9129 'Ø£ÙØª', 9130 'سبت٠بر', 9131 'Ø£ÙØªÙبر', 9132 'ÙÙÙ٠بر', 9133 'Ø¯ÙØ³Ù بر', 9134 ]; 9135 9136 var arDz = moment.defineLocale('ar-dz', { 9137 months: months, 9138 monthsShort: months, 9139 weekdays: 'Ø§ÙØ£ØØ¯_Ø§ÙØ¥Ø«ÙÙÙ_Ø§ÙØ«Ùاثاء_Ø§ÙØ£Ø±Ø¨Ø¹Ø§Ø¡_Ø§ÙØ®Ù ÙØ³_Ø§ÙØ¬Ù عة_Ø§ÙØ³Ø¨Øª'.split('_'), 9140 weekdaysShort: 'Ø£ØØ¯_إثÙÙÙ_Ø«ÙØ§Ø«Ø§Ø¡_أربعاء_Ø®Ù ÙØ³_ج٠عة_سبت'.split('_'), 9141 weekdaysMin: 'Ø_Ù_Ø«_ر_Ø®_ج_س'.split('_'), 9142 weekdaysParseExact: true, 9143 longDateFormat: { 9144 LT: 'HH:mm', 9145 LTS: 'HH:mm:ss', 9146 L: 'D/\u200FM/\u200FYYYY', 9147 LL: 'D MMMM YYYY', 9148 LLL: 'D MMMM YYYY HH:mm', 9149 LLLL: 'dddd D MMMM YYYY HH:mm', 9150 }, 9151 meridiemParse: /ص|Ù /, 9152 isPM: function (input) { 9153 return 'Ù ' === input; 9154 }, 9155 meridiem: function (hour, minute, isLower) { 9156 if (hour < 12) { 9157 return 'ص'; 9158 } else { 9159 return 'Ù '; 9160 } 9161 }, 9162 calendar: { 9163 sameDay: '[اÙÙÙÙ Ø¹ÙØ¯ Ø§ÙØ³Ø§Ø¹Ø©] LT', 9164 nextDay: '[ØºØ¯ÙØ§ Ø¹ÙØ¯ Ø§ÙØ³Ø§Ø¹Ø©] LT', 9165 nextWeek: 'dddd [Ø¹ÙØ¯ Ø§ÙØ³Ø§Ø¹Ø©] LT', 9166 lastDay: '[أ٠س Ø¹ÙØ¯ Ø§ÙØ³Ø§Ø¹Ø©] LT', 9167 lastWeek: 'dddd [Ø¹ÙØ¯ Ø§ÙØ³Ø§Ø¹Ø©] LT', 9168 sameElse: 'L', 9169 }, 9170 relativeTime: { 9171 future: 'بعد %s', 9172 past: 'Ù ÙØ° %s', 9173 s: pluralize('s'), 9174 ss: pluralize('s'), 9175 m: pluralize('m'), 9176 mm: pluralize('m'), 9177 h: pluralize('h'), 9178 hh: pluralize('h'), 9179 d: pluralize('d'), 9180 dd: pluralize('d'), 9181 M: pluralize('M'), 9182 MM: pluralize('M'), 9183 y: pluralize('y'), 9184 yy: pluralize('y'), 9185 }, 9186 postformat: function (string) { 9187 return string.replace(/,/g, 'Ø'); 9188 }, 9189 week: { 9190 dow: 0, // Sunday is the first day of the week. 9191 doy: 4, // The week that contains Jan 4th is the first week of the year. 9192 }, 9193 }); 9194 9195 return arDz; 9196 9197 }))); 9198 9199 9200/***/ }), 9201/* 29 */ 9202/***/ (function(module, exports, __webpack_require__) { 9203 9204 //! moment.js locale configuration 9205 //! locale : Arabic (Kuwait) [ar-kw] 9206 //! author : Nusret Parlak: https://github.com/nusretparlak 9207 9208 ;(function (global, factory) { 9209 true ? factory(__webpack_require__(1)) : 9210 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 9211 factory(global.moment) 9212 }(this, (function (moment) { 'use strict'; 9213 9214 //! moment.js locale configuration 9215 9216 var arKw = moment.defineLocale('ar-kw', { 9217 months: 'ÙÙØ§Ùر_ÙØ¨Ø±Ø§Ùر_٠ارس_أبرÙÙ_٠اÙ_ÙÙÙÙÙ_ÙÙÙÙÙØ²_غشت_Ø´ØªÙØ¨Ø±_Ø£ÙØªÙبر_ÙÙÙØ¨Ø±_Ø¯Ø¬ÙØ¨Ø±'.split( 9218 '_' 9219 ), 9220 monthsShort: 'ÙÙØ§Ùر_ÙØ¨Ø±Ø§Ùر_٠ارس_أبرÙÙ_٠اÙ_ÙÙÙÙÙ_ÙÙÙÙÙØ²_غشت_Ø´ØªÙØ¨Ø±_Ø£ÙØªÙبر_ÙÙÙØ¨Ø±_Ø¯Ø¬ÙØ¨Ø±'.split( 9221 '_' 9222 ), 9223 weekdays: 'Ø§ÙØ£ØØ¯_Ø§ÙØ¥ØªÙÙÙ_Ø§ÙØ«Ùاثاء_Ø§ÙØ£Ø±Ø¨Ø¹Ø§Ø¡_Ø§ÙØ®Ù ÙØ³_Ø§ÙØ¬Ù عة_Ø§ÙØ³Ø¨Øª'.split('_'), 9224 weekdaysShort: 'Ø§ØØ¯_اتÙÙÙ_Ø«ÙØ§Ø«Ø§Ø¡_اربعاء_Ø®Ù ÙØ³_ج٠عة_سبت'.split('_'), 9225 weekdaysMin: 'Ø_Ù_Ø«_ر_Ø®_ج_س'.split('_'), 9226 weekdaysParseExact: true, 9227 longDateFormat: { 9228 LT: 'HH:mm', 9229 LTS: 'HH:mm:ss', 9230 L: 'DD/MM/YYYY', 9231 LL: 'D MMMM YYYY', 9232 LLL: 'D MMMM YYYY HH:mm', 9233 LLLL: 'dddd D MMMM YYYY HH:mm', 9234 }, 9235 calendar: { 9236 sameDay: '[اÙÙÙ٠عÙÙ Ø§ÙØ³Ø§Ø¹Ø©] LT', 9237 nextDay: '[غدا عÙÙ Ø§ÙØ³Ø§Ø¹Ø©] LT', 9238 nextWeek: 'dddd [عÙÙ Ø§ÙØ³Ø§Ø¹Ø©] LT', 9239 lastDay: '[أ٠س عÙÙ Ø§ÙØ³Ø§Ø¹Ø©] LT', 9240 lastWeek: 'dddd [عÙÙ Ø§ÙØ³Ø§Ø¹Ø©] LT', 9241 sameElse: 'L', 9242 }, 9243 relativeTime: { 9244 future: 'ÙÙ %s', 9245 past: 'Ù ÙØ° %s', 9246 s: 'Ø«ÙØ§Ù', 9247 ss: '%d ثاÙÙØ©', 9248 m: 'دÙÙÙØ©', 9249 mm: '%d Ø¯ÙØ§Ø¦Ù', 9250 h: 'ساعة', 9251 hh: '%d ساعات', 9252 d: 'ÙÙÙ ', 9253 dd: '%d Ø£ÙØ§Ù ', 9254 M: 'Ø´ÙØ±', 9255 MM: '%d Ø£Ø´ÙØ±', 9256 y: 'Ø³ÙØ©', 9257 yy: '%d سÙÙØ§Øª', 9258 }, 9259 week: { 9260 dow: 0, // Sunday is the first day of the week. 9261 doy: 12, // The week that contains Jan 12th is the first week of the year. 9262 }, 9263 }); 9264 9265 return arKw; 9266 9267 }))); 9268 9269 9270/***/ }), 9271/* 30 */ 9272/***/ (function(module, exports, __webpack_require__) { 9273 9274 //! moment.js locale configuration 9275 //! locale : Arabic (Lybia) [ar-ly] 9276 //! author : Ali Hmer: https://github.com/kikoanis 9277 9278 ;(function (global, factory) { 9279 true ? factory(__webpack_require__(1)) : 9280 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 9281 factory(global.moment) 9282 }(this, (function (moment) { 'use strict'; 9283 9284 //! moment.js locale configuration 9285 9286 var symbolMap = { 9287 '1': '1', 9288 '2': '2', 9289 '3': '3', 9290 '4': '4', 9291 '5': '5', 9292 '6': '6', 9293 '7': '7', 9294 '8': '8', 9295 '9': '9', 9296 '0': '0', 9297 }, 9298 pluralForm = function (n) { 9299 return n === 0 9300 ? 0 9301 : n === 1 9302 ? 1 9303 : n === 2 9304 ? 2 9305 : n % 100 >= 3 && n % 100 <= 10 9306 ? 3 9307 : n % 100 >= 11 9308 ? 4 9309 : 5; 9310 }, 9311 plurals = { 9312 s: [ 9313 'Ø£Ù٠٠٠ثاÙÙØ©', 9314 'ثاÙÙØ© ÙØ§ØØ¯Ø©', 9315 ['ثاÙÙØªØ§Ù', 'ثاÙÙØªÙÙ'], 9316 '%d Ø«ÙØ§Ù', 9317 '%d ثاÙÙØ©', 9318 '%d ثاÙÙØ©', 9319 ], 9320 m: [ 9321 'Ø£Ù٠٠٠دÙÙÙØ©', 9322 'دÙÙÙØ© ÙØ§ØØ¯Ø©', 9323 ['دÙÙÙØªØ§Ù', 'دÙÙÙØªÙÙ'], 9324 '%d Ø¯ÙØ§Ø¦Ù', 9325 '%d دÙÙÙØ©', 9326 '%d دÙÙÙØ©', 9327 ], 9328 h: [ 9329 'Ø£Ù٠٠٠ساعة', 9330 'ساعة ÙØ§ØØ¯Ø©', 9331 ['ساعتاÙ', 'ساعتÙÙ'], 9332 '%d ساعات', 9333 '%d ساعة', 9334 '%d ساعة', 9335 ], 9336 d: [ 9337 'Ø£ÙÙ Ù Ù ÙÙÙ ', 9338 'ÙÙÙ ÙØ§ØØ¯', 9339 ['ÙÙ٠اÙ', 'ÙÙÙ ÙÙ'], 9340 '%d Ø£ÙØ§Ù ', 9341 '%d ÙÙÙ ÙØ§', 9342 '%d ÙÙÙ ', 9343 ], 9344 M: [ 9345 'Ø£ÙÙ Ù Ù Ø´ÙØ±', 9346 'Ø´ÙØ± ÙØ§ØØ¯', 9347 ['Ø´ÙØ±Ø§Ù', 'Ø´ÙØ±ÙÙ'], 9348 '%d Ø£Ø´ÙØ±', 9349 '%d Ø´ÙØ±Ø§', 9350 '%d Ø´ÙØ±', 9351 ], 9352 y: [ 9353 'Ø£Ù٠٠٠عا٠', 9354 'Ø¹Ø§Ù ÙØ§ØØ¯', 9355 ['عا٠اÙ', 'عا٠ÙÙ'], 9356 '%d Ø£Ø¹ÙØ§Ù ', 9357 '%d Ø¹Ø§Ù ÙØ§', 9358 '%d عا٠', 9359 ], 9360 }, 9361 pluralize = function (u) { 9362 return function (number, withoutSuffix, string, isFuture) { 9363 var f = pluralForm(number), 9364 str = plurals[u][pluralForm(number)]; 9365 if (f === 2) { 9366 str = str[withoutSuffix ? 0 : 1]; 9367 } 9368 return str.replace(/%d/i, number); 9369 }; 9370 }, 9371 months = [ 9372 'ÙÙØ§Ùر', 9373 'ÙØ¨Ø±Ø§Ùر', 9374 '٠ارس', 9375 'أبرÙÙ', 9376 '٠اÙÙ', 9377 'ÙÙÙÙÙ', 9378 'ÙÙÙÙÙ', 9379 'أغسطس', 9380 'سبت٠بر', 9381 'Ø£ÙØªÙبر', 9382 'ÙÙÙ٠بر', 9383 'Ø¯ÙØ³Ù بر', 9384 ]; 9385 9386 var arLy = moment.defineLocale('ar-ly', { 9387 months: months, 9388 monthsShort: months, 9389 weekdays: 'Ø§ÙØ£ØØ¯_Ø§ÙØ¥Ø«ÙÙÙ_Ø§ÙØ«Ùاثاء_Ø§ÙØ£Ø±Ø¨Ø¹Ø§Ø¡_Ø§ÙØ®Ù ÙØ³_Ø§ÙØ¬Ù عة_Ø§ÙØ³Ø¨Øª'.split('_'), 9390 weekdaysShort: 'Ø£ØØ¯_إثÙÙÙ_Ø«ÙØ§Ø«Ø§Ø¡_أربعاء_Ø®Ù ÙØ³_ج٠عة_سبت'.split('_'), 9391 weekdaysMin: 'Ø_Ù_Ø«_ر_Ø®_ج_س'.split('_'), 9392 weekdaysParseExact: true, 9393 longDateFormat: { 9394 LT: 'HH:mm', 9395 LTS: 'HH:mm:ss', 9396 L: 'D/\u200FM/\u200FYYYY', 9397 LL: 'D MMMM YYYY', 9398 LLL: 'D MMMM YYYY HH:mm', 9399 LLLL: 'dddd D MMMM YYYY HH:mm', 9400 }, 9401 meridiemParse: /ص|Ù /, 9402 isPM: function (input) { 9403 return 'Ù ' === input; 9404 }, 9405 meridiem: function (hour, minute, isLower) { 9406 if (hour < 12) { 9407 return 'ص'; 9408 } else { 9409 return 'Ù '; 9410 } 9411 }, 9412 calendar: { 9413 sameDay: '[اÙÙÙÙ Ø¹ÙØ¯ Ø§ÙØ³Ø§Ø¹Ø©] LT', 9414 nextDay: '[ØºØ¯ÙØ§ Ø¹ÙØ¯ Ø§ÙØ³Ø§Ø¹Ø©] LT', 9415 nextWeek: 'dddd [Ø¹ÙØ¯ Ø§ÙØ³Ø§Ø¹Ø©] LT', 9416 lastDay: '[أ٠س Ø¹ÙØ¯ Ø§ÙØ³Ø§Ø¹Ø©] LT', 9417 lastWeek: 'dddd [Ø¹ÙØ¯ Ø§ÙØ³Ø§Ø¹Ø©] LT', 9418 sameElse: 'L', 9419 }, 9420 relativeTime: { 9421 future: 'بعد %s', 9422 past: 'Ù ÙØ° %s', 9423 s: pluralize('s'), 9424 ss: pluralize('s'), 9425 m: pluralize('m'), 9426 mm: pluralize('m'), 9427 h: pluralize('h'), 9428 hh: pluralize('h'), 9429 d: pluralize('d'), 9430 dd: pluralize('d'), 9431 M: pluralize('M'), 9432 MM: pluralize('M'), 9433 y: pluralize('y'), 9434 yy: pluralize('y'), 9435 }, 9436 preparse: function (string) { 9437 return string.replace(/Ø/g, ','); 9438 }, 9439 postformat: function (string) { 9440 return string 9441 .replace(/\d/g, function (match) { 9442 return symbolMap[match]; 9443 }) 9444 .replace(/,/g, 'Ø'); 9445 }, 9446 week: { 9447 dow: 6, // Saturday is the first day of the week. 9448 doy: 12, // The week that contains Jan 12th is the first week of the year. 9449 }, 9450 }); 9451 9452 return arLy; 9453 9454 }))); 9455 9456 9457/***/ }), 9458/* 31 */ 9459/***/ (function(module, exports, __webpack_require__) { 9460 9461 //! moment.js locale configuration 9462 //! locale : Arabic (Morocco) [ar-ma] 9463 //! author : ElFadili Yassine : https://github.com/ElFadiliY 9464 //! author : Abdel Said : https://github.com/abdelsaid 9465 9466 ;(function (global, factory) { 9467 true ? factory(__webpack_require__(1)) : 9468 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 9469 factory(global.moment) 9470 }(this, (function (moment) { 'use strict'; 9471 9472 //! moment.js locale configuration 9473 9474 var arMa = moment.defineLocale('ar-ma', { 9475 months: 'ÙÙØ§Ùر_ÙØ¨Ø±Ø§Ùر_٠ارس_أبرÙÙ_٠اÙ_ÙÙÙÙÙ_ÙÙÙÙÙØ²_غشت_Ø´ØªÙØ¨Ø±_Ø£ÙØªÙبر_ÙÙÙØ¨Ø±_Ø¯Ø¬ÙØ¨Ø±'.split( 9476 '_' 9477 ), 9478 monthsShort: 'ÙÙØ§Ùر_ÙØ¨Ø±Ø§Ùر_٠ارس_أبرÙÙ_٠اÙ_ÙÙÙÙÙ_ÙÙÙÙÙØ²_غشت_Ø´ØªÙØ¨Ø±_Ø£ÙØªÙبر_ÙÙÙØ¨Ø±_Ø¯Ø¬ÙØ¨Ø±'.split( 9479 '_' 9480 ), 9481 weekdays: 'Ø§ÙØ£ØØ¯_Ø§ÙØ¥Ø«ÙÙÙ_Ø§ÙØ«Ùاثاء_Ø§ÙØ£Ø±Ø¨Ø¹Ø§Ø¡_Ø§ÙØ®Ù ÙØ³_Ø§ÙØ¬Ù عة_Ø§ÙØ³Ø¨Øª'.split('_'), 9482 weekdaysShort: 'Ø§ØØ¯_اثÙÙÙ_Ø«ÙØ§Ø«Ø§Ø¡_اربعاء_Ø®Ù ÙØ³_ج٠عة_سبت'.split('_'), 9483 weekdaysMin: 'Ø_Ù_Ø«_ر_Ø®_ج_س'.split('_'), 9484 weekdaysParseExact: true, 9485 longDateFormat: { 9486 LT: 'HH:mm', 9487 LTS: 'HH:mm:ss', 9488 L: 'DD/MM/YYYY', 9489 LL: 'D MMMM YYYY', 9490 LLL: 'D MMMM YYYY HH:mm', 9491 LLLL: 'dddd D MMMM YYYY HH:mm', 9492 }, 9493 calendar: { 9494
9494 sameDay: '[اÙÙÙ٠عÙÙ Ø§ÙØ³Ø§Ø¹Ø©] LT', 9495 nextDay: '[غدا عÙÙ Ø§ÙØ³Ø§Ø¹Ø©] LT', 9496 nextWeek: 'dddd [عÙÙ Ø§ÙØ³Ø§Ø¹Ø©] LT', 9497 lastDay: '[أ٠س عÙÙ Ø§ÙØ³Ø§Ø¹Ø©] LT', 9498 lastWeek: 'dddd [عÙÙ Ø§ÙØ³Ø§Ø¹Ø©] LT', 9499 sameElse: 'L', 9500 }, 9501 relativeTime: { 9502 future: 'ÙÙ %s', 9503 past: 'Ù ÙØ° %s', 9504 s: 'Ø«ÙØ§Ù', 9505 ss: '%d ثاÙÙØ©', 9506 m: 'دÙÙÙØ©', 9507 mm: '%d Ø¯ÙØ§Ø¦Ù', 9508 h: 'ساعة', 9509 hh: '%d ساعات', 9510 d: 'ÙÙÙ ', 9511 dd: '%d Ø£ÙØ§Ù ', 9512 M: 'Ø´ÙØ±', 9513 MM: '%d Ø£Ø´ÙØ±', 9514 y: 'Ø³ÙØ©', 9515 yy: '%d سÙÙØ§Øª', 9516 }, 9517 week: { 9518 dow: 6, // Saturday is the first day of the week. 9519 doy: 12, // The week that contains Jan 12th is the first week of the year. 9520 }, 9521 }); 9522 9523 return arMa; 9524 9525 }))); 9526 9527 9528/***/ }), 9529/* 32 */ 9530/***/ (function(module, exports, __webpack_require__) { 9531 9532 //! moment.js locale configuration 9533 //! locale : Arabic (Saudi Arabia) [ar-sa] 9534 //! author : Suhail Alkowaileet : https://github.com/xsoh 9535 9536 ;(function (global, factory) { 9537 true ? factory(__webpack_require__(1)) : 9538 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 9539 factory(global.moment) 9540 }(this, (function (moment) { 'use strict'; 9541 9542 //! moment.js locale configuration 9543 9544 var symbolMap = { 9545 '1': 'Ù¡', 9546 '2': 'Ù¢', 9547 '3': 'Ù£', 9548 '4': 'Ù¤', 9549 '5': 'Ù¥', 9550 '6': 'Ù¦', 9551 '7': 'Ù§', 9552 '8': 'Ù¨', 9553 '9': 'Ù©', 9554 '0': 'Ù ', 9555 }, 9556 numberMap = { 9557 'Ù¡': '1', 9558 'Ù¢': '2', 9559 'Ù£': '3', 9560 'Ù¤': '4', 9561 'Ù¥': '5', 9562 'Ù¦': '6', 9563 'Ù§': '7', 9564 'Ù¨': '8', 9565 'Ù©': '9', 9566 'Ù ': '0', 9567 }; 9568 9569 var arSa = moment.defineLocale('ar-sa', { 9570 months: 'ÙÙØ§Ùر_ÙØ¨Ø±Ø§Ùر_٠ارس_أبرÙÙ_٠اÙÙ_ÙÙÙÙÙ_ÙÙÙÙÙ_أغسطس_سبت٠بر_Ø£ÙØªÙبر_ÙÙÙ٠بر_Ø¯ÙØ³Ù بر'.split( 9571 '_' 9572 ), 9573 monthsShort: 'ÙÙØ§Ùر_ÙØ¨Ø±Ø§Ùر_٠ارس_أبرÙÙ_٠اÙÙ_ÙÙÙÙÙ_ÙÙÙÙÙ_أغسطس_سبت٠بر_Ø£ÙØªÙبر_ÙÙÙ٠بر_Ø¯ÙØ³Ù بر'.split( 9574 '_' 9575 ), 9576 weekdays: 'Ø§ÙØ£ØØ¯_Ø§ÙØ¥Ø«ÙÙÙ_Ø§ÙØ«Ùاثاء_Ø§ÙØ£Ø±Ø¨Ø¹Ø§Ø¡_Ø§ÙØ®Ù ÙØ³_Ø§ÙØ¬Ù عة_Ø§ÙØ³Ø¨Øª'.split('_'), 9577 weekdaysShort: 'Ø£ØØ¯_إثÙÙÙ_Ø«ÙØ§Ø«Ø§Ø¡_أربعاء_Ø®Ù ÙØ³_ج٠عة_سبت'.split('_'), 9578 weekdaysMin: 'Ø_Ù_Ø«_ر_Ø®_ج_س'.split('_'), 9579 weekdaysParseExact: true, 9580 longDateFormat: { 9581 LT: 'HH:mm', 9582 LTS: 'HH:mm:ss', 9583 L: 'DD/MM/YYYY', 9584 LL: 'D MMMM YYYY', 9585 LLL: 'D MMMM YYYY HH:mm', 9586 LLLL: 'dddd D MMMM YYYY HH:mm', 9587 }, 9588 meridiemParse: /ص|Ù /, 9589 isPM: function (input) { 9590 return 'Ù ' === input; 9591 }, 9592 meridiem: function (hour, minute, isLower) { 9593 if (hour < 12) { 9594 return 'ص'; 9595 } else { 9596 return 'Ù '; 9597 } 9598 }, 9599 calendar: { 9600 sameDay: '[اÙÙÙ٠عÙÙ Ø§ÙØ³Ø§Ø¹Ø©] LT', 9601 nextDay: '[غدا عÙÙ Ø§ÙØ³Ø§Ø¹Ø©] LT', 9602 nextWeek: 'dddd [عÙÙ Ø§ÙØ³Ø§Ø¹Ø©] LT', 9603 lastDay: '[أ٠س عÙÙ Ø§ÙØ³Ø§Ø¹Ø©] LT', 9604 lastWeek: 'dddd [عÙÙ Ø§ÙØ³Ø§Ø¹Ø©] LT', 9605 sameElse: 'L', 9606 }, 9607 relativeTime: { 9608 future: 'ÙÙ %s', 9609 past: 'Ù ÙØ° %s', 9610 s: 'Ø«ÙØ§Ù', 9611 ss: '%d ثاÙÙØ©', 9612 m: 'دÙÙÙØ©', 9613 mm: '%d Ø¯ÙØ§Ø¦Ù', 9614 h: 'ساعة', 9615 hh: '%d ساعات', 9616 d: 'ÙÙÙ ', 9617 dd: '%d Ø£ÙØ§Ù ', 9618 M: 'Ø´ÙØ±', 9619 MM: '%d Ø£Ø´ÙØ±', 9620 y: 'Ø³ÙØ©', 9621 yy: '%d سÙÙØ§Øª', 9622 }, 9623 preparse: function (string) { 9624 return string 9625 .replace(/[١٢٣٤٥٦٧٨٩٠]/g, function (match) { 9626 return numberMap[match]; 9627 }) 9628 .replace(/Ø/g, ','); 9629 }, 9630 postformat: function (string) { 9631 return string 9632 .replace(/\d/g, function (match) { 9633 return symbolMap[match]; 9634 }) 9635 .replace(/,/g, 'Ø'); 9636 }, 9637 week: { 9638 dow: 0, // Sunday is the first day of the week. 9639 doy: 6, // The week that contains Jan 6th is the first week of the year. 9640 }, 9641 }); 9642 9643 return arSa; 9644 9645 }))); 9646 9647 9648/***/ }), 9649/* 33 */ 9650/***/ (function(module, exports, __webpack_require__) { 9651 9652 //! moment.js locale configuration 9653 //! locale : Arabic (Tunisia) [ar-tn] 9654 //! author : Nader Toukabri : https://github.com/naderio 9655 9656 ;(function (global, factory) { 9657 true ? factory(__webpack_require__(1)) : 9658 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 9659 factory(global.moment) 9660 }(this, (function (moment) { 'use strict'; 9661 9662 //! moment.js locale configuration 9663 9664 var arTn = moment.defineLocale('ar-tn', { 9665 months: 'جاÙÙÙ_ÙÙÙØ±Ù_٠ارس_Ø£ÙØ±ÙÙ_٠اÙ_Ø¬ÙØ§Ù_جÙÙÙÙØ©_Ø£ÙØª_سبت٠بر_Ø£ÙØªÙبر_ÙÙÙ٠بر_Ø¯ÙØ³Ù بر'.split( 9666 '_' 9667 ), 9668 monthsShort: 'جاÙÙÙ_ÙÙÙØ±Ù_٠ارس_Ø£ÙØ±ÙÙ_٠اÙ_Ø¬ÙØ§Ù_جÙÙÙÙØ©_Ø£ÙØª_سبت٠بر_Ø£ÙØªÙبر_ÙÙÙ٠بر_Ø¯ÙØ³Ù بر'.split( 9669 '_' 9670 ), 9671 weekdays: 'Ø§ÙØ£ØØ¯_Ø§ÙØ¥Ø«ÙÙÙ_Ø§ÙØ«Ùاثاء_Ø§ÙØ£Ø±Ø¨Ø¹Ø§Ø¡_Ø§ÙØ®Ù ÙØ³_Ø§ÙØ¬Ù عة_Ø§ÙØ³Ø¨Øª'.split('_'), 9672 weekdaysShort: 'Ø£ØØ¯_إثÙÙÙ_Ø«ÙØ§Ø«Ø§Ø¡_أربعاء_Ø®Ù ÙØ³_ج٠عة_سبت'.split('_'), 9673 weekdaysMin: 'Ø_Ù_Ø«_ر_Ø®_ج_س'.split('_'), 9674 weekdaysParseExact: true, 9675 longDateFormat: { 9676 LT: 'HH:mm', 9677 LTS: 'HH:mm:ss', 9678 L: 'DD/MM/YYYY', 9679 LL: 'D MMMM YYYY', 9680 LLL: 'D MMMM YYYY HH:mm', 9681 LLLL: 'dddd D MMMM YYYY HH:mm', 9682 }, 9683 calendar: { 9684 sameDay: '[اÙÙÙ٠عÙÙ Ø§ÙØ³Ø§Ø¹Ø©] LT', 9685 nextDay: '[غدا عÙÙ Ø§ÙØ³Ø§Ø¹Ø©] LT', 9686 nextWeek: 'dddd [عÙÙ Ø§ÙØ³Ø§Ø¹Ø©] LT', 9687 lastDay: '[أ٠س عÙÙ Ø§ÙØ³Ø§Ø¹Ø©] LT', 9688 lastWeek: 'dddd [عÙÙ Ø§ÙØ³Ø§Ø¹Ø©] LT', 9689 sameElse: 'L', 9690 }, 9691 relativeTime: { 9692 future: 'ÙÙ %s', 9693 past: 'Ù ÙØ° %s', 9694 s: 'Ø«ÙØ§Ù', 9695 ss: '%d ثاÙÙØ©', 9696 m: 'دÙÙÙØ©', 9697 mm: '%d Ø¯ÙØ§Ø¦Ù', 9698 h: 'ساعة', 9699 hh: '%d ساعات', 9700 d: 'ÙÙÙ ', 9701 dd: '%d Ø£ÙØ§Ù ', 9702 M: 'Ø´ÙØ±', 9703 MM: '%d Ø£Ø´ÙØ±', 9704 y: 'Ø³ÙØ©', 9705 yy: '%d سÙÙØ§Øª', 9706 }, 9707 week: { 9708 dow: 1, // Monday is the first day of the week. 9709 doy: 4, // The week that contains Jan 4th is the first week of the year. 9710 }, 9711 }); 9712 9713 return arTn; 9714 9715 }))); 9716 9717 9718/***/ }), 9719/* 34 */ 9720/***/ (function(module, exports, __webpack_require__) { 9721 9722 //! moment.js locale configuration 9723 //! locale : Arabic [ar] 9724 //! author : Abdel Said: https://github.com/abdelsaid 9725 //! author : Ahmed Elkhatib 9726 //! author : forabi https://github.com/forabi 9727 9728 ;(function (global, factory) { 9729 true ? factory(__webpack_require__(1)) : 9730 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 9731 factory(global.moment) 9732 }(this, (function (moment) { 'use strict'; 9733 9734 //! moment.js locale configuration 9735 9736 var symbolMap = { 9737 '1': 'Ù¡', 9738 '2': 'Ù¢', 9739 '3': 'Ù£', 9740 '4': 'Ù¤', 9741 '5': 'Ù¥', 9742 '6': 'Ù¦', 9743 '7': 'Ù§', 9744 '8': 'Ù¨', 9745 '9': 'Ù©', 9746 '0': 'Ù ', 9747 }, 9748 numberMap = { 9749 'Ù¡': '1', 9750 'Ù¢': '2', 9751 'Ù£': '3', 9752 'Ù¤': '4', 9753 'Ù¥': '5', 9754 'Ù¦': '6', 9755 'Ù§': '7', 9756 'Ù¨': '8', 9757 'Ù©': '9', 9758 'Ù ': '0', 9759 }, 9760 pluralForm = function (n) { 9761 return n === 0 9762 ? 0 9763 : n === 1 9764 ? 1 9765 : n === 2 9766 ? 2 9767 : n % 100 >= 3 && n % 100 <= 10 9768 ? 3 9769 : n % 100 >= 11 9770 ? 4 9771 : 5; 9772 }, 9773 plurals = { 9774 s: [ 9775 'Ø£Ù٠٠٠ثاÙÙØ©', 9776 'ثاÙÙØ© ÙØ§ØØ¯Ø©', 9777 ['ثاÙÙØªØ§Ù', 'ثاÙÙØªÙÙ'], 9778 '%d Ø«ÙØ§Ù', 9779 '%d ثاÙÙØ©', 9780 '%d ثاÙÙØ©', 9781 ], 9782 m: [ 9783 'Ø£Ù٠٠٠دÙÙÙØ©', 9784 'دÙÙÙØ© ÙØ§ØØ¯Ø©', 9785 ['دÙÙÙØªØ§Ù', 'دÙÙÙØªÙÙ'], 9786 '%d Ø¯ÙØ§Ø¦Ù', 9787 '%d دÙÙÙØ©', 9788 '%d دÙÙÙØ©', 9789 ], 9790 h: [ 9791 'Ø£Ù٠٠٠ساعة', 9792 'ساعة ÙØ§ØØ¯Ø©', 9793 ['ساعتاÙ', 'ساعتÙÙ'], 9794 '%d ساعات', 9795 '%d ساعة', 9796 '%d ساعة', 9797 ], 9798 d: [ 9799 'Ø£ÙÙ Ù Ù ÙÙÙ ', 9800 'ÙÙÙ ÙØ§ØØ¯', 9801 ['ÙÙ٠اÙ', 'ÙÙÙ ÙÙ'], 9802 '%d Ø£ÙØ§Ù ', 9803 '%d ÙÙÙ ÙØ§', 9804 '%d ÙÙÙ ', 9805 ], 9806 M: [ 9807 'Ø£ÙÙ Ù Ù Ø´ÙØ±', 9808 'Ø´ÙØ± ÙØ§ØØ¯', 9809 ['Ø´ÙØ±Ø§Ù', 'Ø´ÙØ±ÙÙ'], 9810 '%d Ø£Ø´ÙØ±', 9811 '%d Ø´ÙØ±Ø§', 9812 '%d Ø´ÙØ±', 9813 ], 9814 y: [ 9815 'Ø£Ù٠٠٠عا٠', 9816 'Ø¹Ø§Ù ÙØ§ØØ¯', 9817 ['عا٠اÙ', 'عا٠ÙÙ'], 9818 '%d Ø£Ø¹ÙØ§Ù ', 9819 '%d Ø¹Ø§Ù ÙØ§', 9820 '%d عا٠', 9821 ], 9822 }, 9823 pluralize = function (u) { 9824 return function (number, withoutSuffix, string, isFuture) { 9825 var f = pluralForm(number), 9826 str = plurals[u][pluralForm(number)]; 9827 if (f === 2) { 9828 str = str[withoutSuffix ? 0 : 1]; 9829 } 9830 return str.replace(/%d/i, number); 9831 }; 9832 }, 9833 months = [ 9834 'ÙÙØ§Ùر', 9835 'ÙØ¨Ø±Ø§Ùر', 9836 '٠ارس', 9837 'أبرÙÙ', 9838 '٠اÙÙ', 9839 'ÙÙÙÙÙ', 9840 'ÙÙÙÙÙ', 9841 'أغسطس', 9842 'سبت٠بر', 9843 'Ø£ÙØªÙبر', 9844 'ÙÙÙ٠بر', 9845 'Ø¯ÙØ³Ù بر', 9846 ]; 9847 9848 var ar = moment.defineLocale('ar', { 9849 months: months, 9850 monthsShort: months, 9851 weekdays: 'Ø§ÙØ£ØØ¯_Ø§ÙØ¥Ø«ÙÙÙ_Ø§ÙØ«Ùاثاء_Ø§ÙØ£Ø±Ø¨Ø¹Ø§Ø¡_Ø§ÙØ®Ù ÙØ³_Ø§ÙØ¬Ù عة_Ø§ÙØ³Ø¨Øª'.split('_'), 9852 weekdaysShort: 'Ø£ØØ¯_إثÙÙÙ_Ø«ÙØ§Ø«Ø§Ø¡_أربعاء_Ø®Ù ÙØ³_ج٠عة_سبت'.split('_'), 9853 weekdaysMin: 'Ø_Ù_Ø«_ر_Ø®_ج_س'.split('_'), 9854 weekdaysParseExact: true, 9855 longDateFormat: { 9856 LT: 'HH:mm', 9857 LTS: 'HH:mm:ss', 9858 L: 'D/\u200FM/\u200FYYYY', 9859 LL: 'D MMMM YYYY', 9860 LLL: 'D MMMM YYYY HH:mm', 9861 LLLL: 'dddd D MMMM YYYY HH:mm', 9862 }, 9863 meridiemParse: /ص|Ù /, 9864 isPM: function (input) { 9865 return 'Ù ' === input; 9866 }, 9867 meridiem: function (hour, minute, isLower) { 9868 if (hour < 12) { 9869 return 'ص'; 9870 } else { 9871 return 'Ù '; 9872 } 9873 }, 9874 calendar: { 9875 sameDay: '[اÙÙÙÙ Ø¹ÙØ¯ Ø§ÙØ³Ø§Ø¹Ø©] LT', 9876 nextDay: '[ØºØ¯ÙØ§ Ø¹ÙØ¯ Ø§ÙØ³Ø§Ø¹Ø©] LT', 9877 nextWeek: 'dddd [Ø¹ÙØ¯ Ø§ÙØ³Ø§Ø¹Ø©] LT', 9878 lastDay: '[أ٠س Ø¹ÙØ¯ Ø§ÙØ³Ø§Ø¹Ø©] LT', 9879 lastWeek: 'dddd [Ø¹ÙØ¯ Ø§ÙØ³Ø§Ø¹Ø©] LT', 9880 sameElse: 'L', 9881 }, 9882 relativeTime: { 9883 future: 'بعد %s', 9884 past: 'Ù ÙØ° %s', 9885 s: pluralize('s'), 9886 ss: pluralize('s'), 9887 m: pluralize('m'), 9888 mm: pluralize('m'), 9889 h: pluralize('h'), 9890 hh: pluralize('h'), 9891 d: pluralize('d'), 9892 dd: pluralize('d'), 9893 M: pluralize('M'), 9894 MM: pluralize('M'), 9895 y: pluralize('y'), 9896 yy: pluralize('y'), 9897 }, 9898 preparse: function (string) { 9899 return string 9900 .replace(/[١٢٣٤٥٦٧٨٩٠]/g, function (match) { 9901 return numberMap[match]; 9902 }) 9903 .replace(/Ø/g, ','); 9904 }, 9905 postformat: function (string) { 9906 return string 9907 .replace(/\d/g, function (match) { 9908 return symbolMap[match]; 9909 }) 9910 .replace(/,/g, 'Ø'); 9911 }, 9912 week: { 9913 dow: 6, // Saturday is the first day of the week. 9914 doy: 12, // The week that contains Jan 12th is the first week of the year. 9915 }, 9916 }); 9917 9918 return ar; 9919 9920 }))); 9921 9922 9923/***/ }), 9924/* 35 */ 9925/***/ (function(module, exports, __webpack_require__) { 9926 9927 //! moment.js locale configuration 9928 //! locale : Azerbaijani [az] 9929 //! author : topchiyev : https://github.com/topchiyev 9930 9931 ;(function (global, factory) { 9932 true ? factory(__webpack_require__(1)) : 9933 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 9934 factory(global.moment) 9935 }(this, (function (moment) { 'use strict'; 9936 9937 //! moment.js locale configuration 9938 9939 var suffixes = { 9940 1: '-inci', 9941 5: '-inci', 9942 8: '-inci', 9943 70: '-inci', 9944 80: '-inci', 9945 2: '-nci', 9946 7: '-nci', 9947 20: '-nci', 9948 50: '-nci', 9949 3: '-üncü', 9950 4: '-üncü', 9951 100: '-üncü', 9952 6: '-ncı', 9953 9: '-uncu', 9954 10: '-uncu', 9955 30: '-uncu', 9956 60: '-ıncı', 9957 90: '-ıncı', 9958 }; 9959 9960 var az = moment.defineLocale('az', { 9961 months: 'yanvar_fevral_mart_aprel_may_iyun_iyul_avqust_sentyabr_oktyabr_noyabr_dekabr'.split( 9962 '_' 9963 ), 9964 monthsShort: 'yan_fev_mar_apr_may_iyn_iyl_avq_sen_okt_noy_dek'.split('_'), 9965 weekdays: 'Bazar_Bazar ertÉsi_ÃÉrÅÉnbÉ axÅamı_ÃÉrÅÉnbÉ_CümÉ axÅamı_CümÉ_ÅÉnbÉ'.split( 9966 '_' 9967 ), 9968 weekdaysShort: 'Baz_BzE_ÃAx_ÃÉr_CAx_Cüm_ÅÉn'.split('_'), 9969 weekdaysMin: 'Bz_BE_ÃA_ÃÉ_CA_Cü_ÅÉ'.split('_'), 9970 weekdaysParseExact: true, 9971 longDateFormat: { 9972 LT: 'HH:mm', 9973 LTS: 'HH:mm:ss', 9974 L: 'DD.MM.YYYY', 9975 LL: 'D MMMM YYYY', 9976 LLL: 'D MMMM YYYY HH:mm', 9977 LLLL: 'dddd, D MMMM YYYY HH:mm', 9978 }, 9979 calendar: { 9980 sameDay: '[bugün saat] LT', 9981 nextDay: '[sabah saat] LT', 9982 nextWeek: '[gÉlÉn hÉftÉ] dddd [saat] LT', 9983 lastDay: '[dünÉn] LT', 9984 lastWeek: '[keçÉn hÉftÉ] dddd [saat] LT', 9985 sameElse: 'L', 9986 }, 9987 relativeTime: { 9988 future: '%s sonra', 9989 past: '%s ÉvvÉl', 9990 s: 'birneÃ§É saniyÉ', 9991 ss: '%d saniyÉ', 9992 m: 'bir dÉqiqÉ', 9993 mm: '%d dÉqiqÉ', 9994 h: 'bir saat', 9995 hh: '%d saat', 9996 d: 'bir gün', 9997 dd: '%d gün', 9998 M: 'bir ay', 9999 MM: '%d ay', 10000 y: 'bir il', 10001 yy: '%d il', 10002 }, 10003 meridiemParse: /gecÉ|sÉhÉr|gündüz|axÅam/, 10004 isPM: function (input) { 10005 return /^(gündüz|axÅam)$/.test(input); 10006 }, 10007 meridiem: functi
vendor: 16,384 bytes, lines 10007-10451
10007on (hour, minute, isLower) { 10008 if (hour < 4) { 10009 return 'gecÉ'; 10010 } else if (hour < 12) { 10011 return 'sÉhÉr'; 10012 } else if (hour < 17) { 10013 return 'gündüz'; 10014 } else { 10015 return 'axÅam'; 10016 } 10017 }, 10018 dayOfMonthOrdinalParse: /\d{1,2}-(ıncı|inci|nci|üncü|ncı|uncu)/, 10019 ordinal: function (number) { 10020 if (number === 0) { 10021 // special case for zero 10022 return number + '-ıncı'; 10023 } 10024 var a = number % 10, 10025 b = (number % 100) - a, 10026 c = number >= 100 ? 100 : null; 10027 return number + (suffixes[a] || suffixes[b] || suffixes[c]); 10028 }, 10029 week: { 10030 dow: 1, // Monday is the first day of the week. 10031 doy: 7, // The week that contains Jan 7th is the first week of the year. 10032 }, 10033 }); 10034 10035 return az; 10036 10037 }))); 10038 10039 10040/***/ }), 10041/* 36 */ 10042/***/ (function(module, exports, __webpack_require__) { 10043 10044 //! moment.js locale configuration 10045 //! locale : Belarusian [be] 10046 //! author : Dmitry Demidov : https://github.com/demidov91 10047 //! author: Praleska: http://praleska.pro/ 10048 //! Author : Menelion Elensúle : https://github.com/Oire 10049 10050 ;(function (global, factory) { 10051 true ? factory(__webpack_require__(1)) : 10052 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 10053 factory(global.moment) 10054 }(this, (function (moment) { 'use strict'; 10055 10056 //! moment.js locale configuration 10057 10058 function plural(word, num) { 10059 var forms = word.split('_'); 10060 return num % 10 === 1 && num % 100 !== 11 10061 ? forms[0] 10062 : num % 10 >= 2 && num % 10 <= 4 && (num % 100 < 10 || num % 100 >= 20) 10063 ? forms[1] 10064 : forms[2]; 10065 } 10066 function relativeTimeWithPlural(number, withoutSuffix, key) { 10067 var format = { 10068 ss: withoutSuffix ? 'ÑекÑнда_ÑекÑндÑ_ÑекÑнд' : 'ÑекÑндÑ_ÑекÑндÑ_ÑекÑнд', 10069 mm: withoutSuffix ? 'Ñ Ð²ÑлÑна_Ñ Ð²ÑлÑнÑ_Ñ Ð²ÑлÑн' : 'Ñ Ð²ÑлÑнÑ_Ñ Ð²ÑлÑнÑ_Ñ Ð²ÑлÑн', 10070 hh: withoutSuffix ? 'гадзÑна_гадзÑнÑ_гадзÑн' : 'гадзÑнÑ_гадзÑнÑ_гадзÑн', 10071 dd: 'дзенÑ_днÑ_дзÑн', 10072 MM: 'меÑÑÑ_меÑÑÑÑ_меÑÑÑаÑ', 10073 yy: 'год_гадÑ_гадоÑ', 10074 }; 10075 if (key === 'm') { 10076 return withoutSuffix ? 'Ñ Ð²ÑлÑна' : 'Ñ Ð²ÑлÑнÑ'; 10077 } else if (key === 'h') { 10078 return withoutSuffix ? 'гадзÑна' : 'гадзÑнÑ'; 10079 } else { 10080 return number + ' ' + plural(format[key], +number); 10081 } 10082 } 10083 10084 var be = moment.defineLocale('be', { 10085 months: { 10086 format: 'ÑÑÑдзенÑ_лÑÑага_ÑакавÑка_кÑаÑавÑка_ÑÑаÑнÑ_ÑÑÑвенÑ_лÑпенÑ_жнÑÑнÑ_веÑаÑнÑ_каÑÑÑÑÑнÑка_лÑÑÑапада_ÑнежнÑ'.split( 10087 '_' 10088 ), 10089 standalone: 'ÑÑÑдзенÑ_лÑÑÑ_ÑакавÑк_кÑаÑавÑк_ÑÑавенÑ_ÑÑÑвенÑ_лÑпенÑ_жнÑвенÑ_веÑаÑенÑ_каÑÑÑÑÑнÑк_лÑÑÑапад_ÑнежанÑ'.split( 10090 '_' 10091 ), 10092 }, 10093 monthsShort: 'ÑÑÑд_лÑÑ_Ñак_кÑаÑ_ÑÑав_ÑÑÑв_лÑп_жнÑв_веÑ_каÑÑ_лÑÑÑ_Ñнеж'.split( 10094 '_' 10095 ), 10096 weekdays: { 10097 format: 'нÑдзелÑ_панÑдзелак_аÑÑоÑак_ÑеÑадÑ_ÑаÑвеÑ_пÑÑнÑÑÑ_ÑÑбоÑÑ'.split( 10098 '_' 10099 ), 10100 standalone: 'нÑдзелÑ_панÑдзелак_аÑÑоÑак_ÑеÑада_ÑаÑвеÑ_пÑÑнÑÑа_ÑÑбоÑа'.split( 10101 '_' 10102 ), 10103 isFormat: /\[ ?[УÑÑ] ?(?:мÑнÑлÑÑ|наÑÑÑпнÑÑ)? ?\] ?dddd/, 10104 }, 10105 weekdaysShort: 'нд_пн_аÑ_ÑÑ_ÑÑ_пÑ_Ñб'.split('_'), 10106 weekdaysMin: 'нд_пн_аÑ_ÑÑ_ÑÑ_пÑ_Ñб'.split('_'), 10107 longDateFormat: { 10108 LT: 'HH:mm', 10109 LTS: 'HH:mm:ss', 10110 L: 'DD.MM.YYYY', 10111 LL: 'D MMMM YYYY г.', 10112 LLL: 'D MMMM YYYY г., HH:mm', 10113 LLLL: 'dddd, D MMMM YYYY г., HH:mm', 10114 }, 10115 calendar: { 10116 sameDay: '[СÑÐ½Ð½Ñ Ñ] LT', 10117 nextDay: '[ÐаÑÑÑа Ñ] LT', 10118 lastDay: '[УÑоÑа Ñ] LT', 10119 nextWeek: function () { 10120 return '[У] dddd [Ñ] LT'; 10121 }, 10122 lastWeek: function () { 10123 switch (this.day()) { 10124 case 0: 10125 case 3: 10126 case 5: 10127 case 6: 10128 return '[У мÑнÑлÑÑ] dddd [Ñ] LT'; 10129 case 1: 10130 case 2: 10131 case 4: 10132 return '[У мÑнÑлÑ] dddd [Ñ] LT'; 10133 } 10134 }, 10135 sameElse: 'L', 10136 }, 10137 relativeTime: { 10138 future: 'пÑаз %s', 10139 past: '%s ÑамÑ', 10140 s: 'некалÑÐºÑ ÑекÑнд', 10141 m: relativeTimeWithPlural, 10142 mm: relativeTimeWithPlural, 10143 h: relativeTimeWithPlural, 10144 hh: relativeTimeWithPlural, 10145 d: 'дзенÑ', 10146 dd: relativeTimeWithPlural, 10147 M: 'меÑÑÑ', 10148 MM: relativeTimeWithPlural, 10149 y: 'год', 10150 yy: relativeTimeWithPlural, 10151 }, 10152 meridiemParse: /ноÑÑ|ÑанÑÑÑ|днÑ|веÑаÑа/, 10153 isPM: function (input) { 10154 return /^(днÑ|веÑаÑа)$/.test(input); 10155 }, 10156 meridiem: function (hour, minute, isLower) { 10157 if (hour < 4) { 10158 return 'ноÑÑ'; 10159 } else if (hour < 12) { 10160 return 'ÑанÑÑÑ'; 10161 } else if (hour < 17) { 10162 return 'днÑ'; 10163 } else { 10164 return 'веÑаÑа'; 10165 } 10166 }, 10167 dayOfMonthOrdinalParse: /\d{1,2}-(Ñ|Ñ|га)/, 10168 ordinal: function (number, period) { 10169 switch (period) { 10170 case 'M': 10171 case 'd': 10172 case 'DDD': 10173 case 'w': 10174 case 'W': 10175 return (number % 10 === 2 || number % 10 === 3) && 10176 number % 100 !== 12 && 10177 number % 100 !== 13 10178 ? number + '-Ñ' 10179 : number + '-Ñ'; 10180 case 'D': 10181 return number + '-га'; 10182 default: 10183 return number; 10184 } 10185 }, 10186 week: { 10187 dow: 1, // Monday is the first day of the week. 10188 doy: 7, // The week that contains Jan 7th is the first week of the year. 10189 }, 10190 }); 10191 10192 return be; 10193 10194 }))); 10195 10196 10197/***/ }), 10198/* 37 */ 10199/***/ (function(module, exports, __webpack_require__) { 10200 10201 //! moment.js locale configuration 10202 //! locale : Bulgarian [bg] 10203 //! author : Krasen Borisov : https://github.com/kraz 10204 10205 ;(function (global, factory) { 10206 true ? factory(__webpack_require__(1)) : 10207 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 10208 factory(global.moment) 10209 }(this, (function (moment) { 'use strict'; 10210 10211 //! moment.js locale configuration 10212 10213 var bg = moment.defineLocale('bg', { 10214 months: 'ÑнÑаÑи_ÑевÑÑаÑи_маÑÑ_апÑил_май_Ñни_Ñли_авгÑÑÑ_ÑепÑемвÑи_окÑомвÑи_ноемвÑи_декемвÑи'.split( 10215 '_' 10216 ), 10217 monthsShort: 'ÑнÑ_Ñев_маÑ_апÑ_май_Ñни_Ñли_авг_Ñеп_окÑ_ное_дек'.split('_'), 10218 weekdays: 'неделÑ_понеделник_вÑоÑник_ÑÑÑда_ÑеÑвÑÑÑÑк_пеÑÑк_ÑÑбоÑа'.split( 10219 '_' 10220 ), 10221 weekdaysShort: 'нед_пон_вÑо_ÑÑÑ_ÑеÑ_пеÑ_ÑÑб'.split('_'), 10222 weekdaysMin: 'нд_пн_вÑ_ÑÑ_ÑÑ_пÑ_Ñб'.split('_'), 10223 longDateFormat: { 10224 LT: 'H:mm', 10225 LTS: 'H:mm:ss', 10226 L: 'D.MM.YYYY', 10227 LL: 'D MMMM YYYY', 10228 LLL: 'D MMMM YYYY H:mm', 10229 LLLL: 'dddd, D MMMM YYYY H:mm', 10230 }, 10231 calendar: { 10232 sameDay: '[ÐÐ½ÐµÑ Ð²] LT', 10233 nextDay: '[УÑÑе в] LT', 10234 nextWeek: 'dddd [в] LT', 10235 lastDay: '[ÐÑеÑа в] LT', 10236 lastWeek: function () { 10237 switch (this.day()) { 10238 case 0: 10239 case 3: 10240 case 6: 10241 return '[ÐиналаÑа] dddd [в] LT'; 10242 case 1: 10243 case 2: 10244 case 4: 10245 case 5: 10246 return '[ÐиналиÑ] dddd [в] LT'; 10247 } 10248 }, 10249 sameElse: 'L', 10250 }, 10251 relativeTime: { 10252 future: 'Ñлед %s', 10253 past: 'пÑеди %s', 10254 s: 'нÑколко ÑекÑнди', 10255 ss: '%d ÑекÑнди', 10256 m: 'минÑÑа', 10257 mm: '%d минÑÑи', 10258 h: 'ÑаÑ', 10259 hh: '%d ÑаÑа', 10260 d: 'ден', 10261 dd: '%d дена', 10262 M: 'меÑеÑ', 10263 MM: '%d меÑеÑа', 10264 y: 'година', 10265 yy: '%d години', 10266 }, 10267 dayOfMonthOrdinalParse: /\d{1,2}-(ев|ен|Ñи|ви|Ñи|ми)/, 10268 ordinal: function (number) { 10269 var lastDigit = number % 10, 10270 last2Digits = number % 100; 10271 if (number === 0) { 10272 return number + '-ев'; 10273 } else if (last2Digits === 0) { 10274 return number + '-ен'; 10275 } else if (last2Digits > 10 && last2Digits < 20) { 10276 return number + '-Ñи'; 10277 } else if (lastDigit === 1) { 10278 return number + '-ви'; 10279 } else if (lastDigit === 2) { 10280 return number + '-Ñи'; 10281 } else if (lastDigit === 7 || lastDigit === 8) { 10282 return number + '-ми'; 10283 } else { 10284 return number + '-Ñи'; 10285 } 10286 }, 10287 week: { 10288 dow: 1, // Monday is the first day of the week. 10289 doy: 7, // The week that contains Jan 7th is the first week of the year. 10290 }, 10291 }); 10292 10293 return bg; 10294 10295 }))); 10296 10297 10298/***/ }), 10299/* 38 */ 10300/***/ (function(module, exports, __webpack_require__) { 10301 10302 //! moment.js locale configuration 10303 //! locale : Bambara [bm] 10304 //! author : Estelle Comment : https://github.com/estellecomment 10305 10306 ;(function (global, factory) { 10307 true ? factory(__webpack_require__(1)) : 10308 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 10309 factory(global.moment) 10310 }(this, (function (moment) { 'use strict'; 10311 10312 //! moment.js locale configuration 10313 10314 var bm = moment.defineLocale('bm', { 10315 months: 'Zanwuyekalo_Fewuruyekalo_Marisikalo_Awirilikalo_MÉkalo_ZuwÉnkalo_Zuluyekalo_Utikalo_SÉtanburukalo_ÉkutÉburukalo_Nowanburukalo_Desanburukalo'.split( 10316 '_' 10317 ), 10318 monthsShort: 'Zan_Few_Mar_Awi_MÉ_Zuw_Zul_Uti_SÉt_Éku_Now_Des'.split('_'), 10319 weekdays: 'Kari_NtÉnÉn_Tarata_Araba_Alamisa_Juma_Sibiri'.split('_'), 10320 weekdaysShort: 'Kar_NtÉ_Tar_Ara_Ala_Jum_Sib'.split('_'), 10321 weekdaysMin: 'Ka_Nt_Ta_Ar_Al_Ju_Si'.split('_'), 10322 longDateFormat: { 10323 LT: 'HH:mm', 10324 LTS: 'HH:mm:ss', 10325 L: 'DD/MM/YYYY', 10326 LL: 'MMMM [tile] D [san] YYYY', 10327 LLL: 'MMMM [tile] D [san] YYYY [lÉrÉ] HH:mm', 10328 LLLL: 'dddd MMMM [tile] D [san] YYYY [lÉrÉ] HH:mm', 10329 }, 10330 calendar: { 10331 sameDay: '[Bi lÉrÉ] LT', 10332 nextDay: '[Sini lÉrÉ] LT', 10333 nextWeek: 'dddd [don lÉrÉ] LT', 10334 lastDay: '[Kunu lÉrÉ] LT', 10335 lastWeek: 'dddd [tÉmÉnen lÉrÉ] LT', 10336 sameElse: 'L', 10337 }, 10338 relativeTime: { 10339 future: '%s kÉnÉ', 10340 past: 'a bÉ %s bÉ', 10341 s: 'sanga dama dama', 10342 ss: 'sekondi %d', 10343 m: 'miniti kelen', 10344 mm: 'miniti %d', 10345 h: 'lÉrÉ kelen', 10346 hh: 'lÉrÉ %d', 10347 d: 'tile kelen', 10348 dd: 'tile %d', 10349 M: 'kalo kelen', 10350 MM: 'kalo %d', 10351 y: 'san kelen', 10352 yy: 'san %d', 10353 }, 10354 week: { 10355 dow: 1, // Monday is the first day of the week. 10356 doy: 4, // The week that contains Jan 4th is the first week of the year. 10357 }, 10358 }); 10359 10360 return bm; 10361 10362 }))); 10363 10364 10365/***/ }), 10366/* 39 */ 10367/***/ (function(module, exports, __webpack_require__) { 10368 10369 //! moment.js locale configuration 10370 //! locale : Bengali [bn] 10371 //! author : Kaushik Gandhi : https://github.com/kaushikgandhi 10372 10373 ;(function (global, factory) { 10374 true ? factory(__webpack_require__(1)) : 10375 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 10376 factory(global.moment) 10377 }(this, (function (moment) { 'use strict'; 10378 10379 //! moment.js locale configuration 10380 10381 var symbolMap = { 10382 '1': 'à§§', 10383 '2': '২', 10384 '3': 'à§©', 10385 '4': '৪', 10386 '5': 'à§«', 10387 '6': '৬', 10388 '7': 'à§', 10389 '8': 'à§®', 10390 '9': '৯', 10391 '0': '০', 10392 }, 10393 numberMap = { 10394 'à§§': '1', 10395 '২': '2', 10396 'à§©': '3', 10397 '৪': '4', 10398 'à§«': '5', 10399 '৬': '6', 10400 'à§': '7', 10401 'à§®': '8', 10402 '৯': '9', 10403 '০': '0', 10404 }; 10405 10406 var bn = moment.defineLocale('bn', { 10407 months: 'à¦à¦¾à¦¨à§à§à¦¾à¦°à¦¿_ফà§à¦¬à§à¦°à§à§à¦¾à¦°à¦¿_মারà§à¦_à¦à¦ªà§à¦°à¦¿à¦²_মà§_à¦à§à¦¨_à¦à§à¦²à¦¾à¦_à¦à¦à¦¸à§à¦_সà§à¦ªà§à¦à§à¦®à§à¦¬à¦°_ঠà¦à§à¦à§à¦¬à¦°_নà¦à§à¦®à§à¦¬à¦°_ডিসà§à¦®à§à¦¬à¦°'.split( 10408 '_' 10409 ), 10410 monthsShort: 'à¦à¦¾à¦¨à§_ফà§à¦¬à§à¦°à§_মারà§à¦_à¦à¦ªà§à¦°à¦¿à¦²_মà§_à¦à§à¦¨_à¦à§à¦²à¦¾à¦_à¦à¦à¦¸à§à¦_সà§à¦ªà§à¦_ঠà¦à§à¦à§_নà¦à§_ডিসà§'.split( 10411 '_' 10412 ), 10413 weekdays: 'রবিবার_সà§à¦®à¦¬à¦¾à¦°_মà¦à§à¦à¦²à¦¬à¦¾à¦°_বà§à¦§à¦¬à¦¾à¦°_বà§à¦¹à¦¸à§à¦ªà¦¤à¦¿à¦¬à¦¾à¦°_শà§à¦à§à¦°à¦¬à¦¾à¦°_শনিবার'.split( 10414 '_' 10415 ), 10416 weekdaysShort: 'রবি_সà§à¦®_মà¦à§à¦à¦²_বà§à¦§_বà§à¦¹à¦¸à§à¦ªà¦¤à¦¿_শà§à¦à§à¦°_শনি'.split('_'), 10417 weekdaysMin: 'রবি_সà§à¦®_মà¦à§à¦à¦²_বà§à¦§_বà§à¦¹_শà§à¦à§à¦°_শনি'.split('_'), 10418 longDateFormat: { 10419 LT: 'A h:mm সমà§', 10420 LTS: 'A h:mm:ss সমà§', 10421 L: 'DD/MM/YYYY', 10422 LL: 'D MMMM YYYY', 10423 LLL: 'D MMMM YYYY, A h:mm সমà§', 10424 LLLL: 'dddd, D MMMM YYYY, A h:mm সমà§', 10425 }, 10426 calendar: { 10427 sameDay: '[à¦à¦] LT', 10428 nextDay: '[à¦à¦à¦¾à¦®à§à¦à¦¾à¦²] LT', 10429 nextWeek: 'dddd, LT', 10430 lastDay: '[à¦à¦¤à¦à¦¾à¦²] LT', 10431 lastWeek: '[à¦à¦¤] dddd, LT', 10432 sameElse: 'L', 10433 }, 10434 relativeTime: { 10435 future: '%s পরà§', 10436 past: '%s à¦à¦à§', 10437 s: 'à¦à§à§à¦ সà§à¦à§à¦¨à§à¦¡', 10438 ss: '%d সà§à¦à§à¦¨à§à¦¡', 10439 m: 'à¦à¦ মিনিà¦', 10440 mm: '%d মিনিà¦', 10441 h: 'à¦à¦ à¦à¦¨à§à¦à¦¾', 10442 hh: '%d à¦à¦¨à§à¦à¦¾', 10443 d: 'à¦à¦ দিন', 10444 dd: '%d দিন', 10445 M: 'à¦à¦ মাস', 10446 MM: '%d মাস', 10447 y: 'à¦à¦ বà¦à¦°', 10448 yy: '%d বà¦à¦°', 10449 }, 10450 preparse: function (string) { 10451 return string.replace(/[১২৩৪৫৬à§à§®à§¯à§¦]/g, functi
10451on (match) { 10452 return numberMap[match]; 10453 }); 10454 }, 10455 postformat: function (string) { 10456 return string.replace(/\d/g, function (match) { 10457 return symbolMap[match]; 10458 }); 10459 }, 10460 meridiemParse: /রাত|সà¦à¦¾à¦²|দà§à¦ªà§à¦°|বিà¦à¦¾à¦²|রাত/, 10461 meridiemHour: function (hour, meridiem) { 10462 if (hour === 12) { 10463 hour = 0; 10464 } 10465 if ( 10466 (meridiem === 'রাত' && hour >= 4) || 10467 (meridiem === 'দà§à¦ªà§à¦°' && hour < 5) || 10468 meridiem === 'বিà¦à¦¾à¦²' 10469 ) { 10470 return hour + 12; 10471 } else { 10472 return hour; 10473 } 10474 }, 10475 meridiem: function (hour, minute, isLower) { 10476 if (hour < 4) { 10477 return 'রাত'; 10478 } else if (hour < 10) { 10479 return 'সà¦à¦¾à¦²'; 10480 } else if (hour < 17) { 10481 return 'দà§à¦ªà§à¦°'; 10482 } else if (hour < 20) { 10483 return 'বিà¦à¦¾à¦²'; 10484 } else { 10485 return 'রাত'; 10486 } 10487 }, 10488 week: { 10489 dow: 0, // Sunday is the first day of the week. 10490 doy: 6, // The week that contains Jan 6th is the first week of the year. 10491 }, 10492 }); 10493 10494 return bn; 10495 10496 }))); 10497 10498 10499/***/ }), 10500/* 40 */ 10501/***/ (function(module, exports, __webpack_require__) { 10502 10503 //! moment.js locale configuration 10504 //! locale : Tibetan [bo] 10505 //! author : Thupten N. Chakrishar : https://github.com/vajradog 10506 10507 ;(function (global, factory) { 10508 true ? factory(__webpack_require__(1)) : 10509 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 10510 factory(global.moment) 10511 }(this, (function (moment) { 'use strict'; 10512 10513 //! moment.js locale configuration 10514 10515 var symbolMap = { 10516 '1': '༡', 10517 '2': '༢', 10518 '3': '༣', 10519 '4': '༤', 10520 '5': '༥', 10521 '6': '༦', 10522 '7': '༧', 10523 '8': '༨', 10524 '9': '༩', 10525 '0': '༠', 10526 }, 10527 numberMap = { 10528 '༡': '1', 10529 '༢': '2', 10530 '༣': '3', 10531 '༤': '4', 10532 '༥': '5', 10533 '༦': '6', 10534 '༧': '7', 10535 '༨': '8', 10536 '༩': '9', 10537 '༠': '0', 10538 }; 10539 10540 var bo = moment.defineLocale('bo', { 10541 months: 'à½à¾³à¼à½à¼à½à½à¼à½à½¼_à½à¾³à¼à½à¼à½à½à½²à½¦à¼à½_à½à¾³à¼à½à¼à½à½¦à½´à½à¼à½_à½à¾³à¼à½à¼à½à½à½²à¼à½_à½à¾³à¼à½à¼à½£à¾à¼à½_à½à¾³à¼à½à¼à½à¾²à½´à½à¼à½_à½à¾³à¼à½à¼à½à½à½´à½à¼à½_à½à¾³à¼à½à¼à½à½¢à¾à¾±à½à¼à½_à½à¾³à¼à½à¼à½à½à½´à¼à½_à½à¾³à¼à½à¼à½à½ ུà¼à½_à½à¾³à¼à½à¼à½à½ ུà¼à½à½ ིà½à¼à½_à½à¾³à¼à½à¼à½à½ ུà¼à½à½à½²à½¦à¼à½'.split( 10542 '_' 10543 ), 10544 monthsShort: 'à½à¾³à¼1_à½à¾³à¼2_à½à¾³à¼3_à½à¾³à¼4_à½à¾³à¼5_à½à¾³à¼6_à½à¾³à¼7_à½à¾³à¼8_à½à¾³à¼9_à½à¾³à¼10_à½à¾³à¼11_à½à¾³à¼12'.split( 10545 '_' 10546 ), 10547 monthsShortRegex: /^(à½à¾³à¼\d{1,2})/, 10548 monthsParseExact: true, 10549 weekdays: 'à½à½à½ à¼à½à½²à¼à½à¼_à½à½à½ à¼à½à¾³à¼à½à¼_à½à½à½ à¼à½à½²à½à¼à½à½à½¢à¼_à½à½à½ à¼à½£à¾·à½à¼à½à¼_à½à½à½ à¼à½à½´à½¢à¼à½à½´_à½à½à½ à¼à½à¼à½¦à½à½¦à¼_à½à½à½ à¼à½¦à¾¤à½ºà½à¼à½à¼'.split( 10550 '_' 10551 ), 10552 weekdaysShort: 'à½à½²à¼à½à¼_à½à¾³à¼à½à¼_à½à½²à½à¼à½à½à½¢à¼_ལྷà½à¼à½à¼_à½à½´à½¢à¼à½à½´_à½à¼à½¦à½à½¦à¼_སྤེà½à¼à½à¼'.split( 10553 '_' 10554 ), 10555 weekdaysMin: 'à½à½²_à½à¾³_à½à½²à½_ལྷà½_à½à½´à½¢_སà½à½¦_སྤེà½'.split('_'), 10556 longDateFormat: { 10557 LT: 'A h:mm', 10558 LTS: 'A h:mm:ss', 10559 L: 'DD/MM/YYYY', 10560 LL: 'D MMMM YYYY', 10561 LLL: 'D MMMM YYYY, A h:mm', 10562 LLLL: 'dddd, D MMMM YYYY, A h:mm', 10563 }, 10564 calendar: { 10565 sameDay: '[à½à½²à¼à½¢à½²à½] LT', 10566 nextDay: '[སà½à¼à½à½²à½] LT', 10567 nextWeek: '[à½à½à½´à½à¼à½à¾²à½à¼à½¢à¾à½ºà½¦à¼à½], LT', 10568 lastDay: '[à½à¼à½¦à½] LT', 10569 lastWeek: '[à½à½à½´à½à¼à½à¾²à½à¼à½à½à½ à¼à½] dddd, LT', 10570 sameElse: 'L', 10571 }, 10572 relativeTime: { 10573 future: '%s ལà¼', 10574 past: '%s སà¾à½à¼à½£', 10575 s: 'ལà½à¼à½¦à½', 10576 ss: '%d སà¾à½¢à¼à½à¼', 10577 m: 'སà¾à½¢à¼à½à¼à½à½ ིà½', 10578 mm: '%d སà¾à½¢à¼à½', 10579 h: 'à½à½´à¼à½à½¼à½à¼à½à½ ིà½', 10580 hh: '%d à½à½´à¼à½à½¼à½', 10581 d: 'à½à½²à½à¼à½à½ ིà½', 10582 dd: '%d à½à½²à½à¼', 10583 M: 'à½à¾³à¼à½à¼à½à½ ིà½', 10584 MM: '%d à½à¾³à¼à½', 10585 y: 'ལོà¼à½à½ ིà½', 10586 yy: '%d ལོ', 10587 }, 10588 preparse: function (string) { 10589 return string.replace(/[༡༢༣༤༥༦༧༨༩༠]/g, function (match) { 10590 return numberMap[match]; 10591 }); 10592 }, 10593 postformat: function (string) { 10594 return string.replace(/\d/g, function (match) { 10595 return symbolMap[match]; 10596 }); 10597 }, 10598 meridiemParse: /à½à½à½à¼à½à½¼|à½à½¼à½à½¦à¼à½à½¦|à½à½²à½à¼à½à½´à½|à½à½à½¼à½à¼à½à½|à½à½à½à¼à½à½¼/, 10599 meridiemHour: function (hour, meridiem) { 10600 if (hour === 12) { 10601 hour = 0; 10602 } 10603 if ( 10604 (meridiem === 'à½à½à½à¼à½à½¼' && hour >= 4) || 10605 (meridiem === 'à½à½²à½à¼à½à½´à½' && hour < 5) || 10606 meridiem === 'à½à½à½¼à½à¼à½à½' 10607 ) { 10608 return hour + 12; 10609 } else { 10610 return hour; 10611 } 10612 }, 10613 meridiem: function (hour, minute, isLower) { 10614 if (hour < 4) { 10615 return 'à½à½à½à¼à½à½¼'; 10616 } else if (hour < 10) { 10617 return 'à½à½¼à½à½¦à¼à½à½¦'; 10618 } else if (hour < 17) { 10619 return 'à½à½²à½à¼à½à½´à½'; 10620 } else if (hour < 20) { 10621 return 'à½à½à½¼à½à¼à½à½'; 10622 } else { 10623 return 'à½à½à½à¼à½à½¼'; 10624 } 10625 }, 10626 week: { 10627 dow: 0, // Sunday is the first day of the week. 10628 doy: 6, // The week that contains Jan 6th is the first week of the year. 10629 }, 10630 }); 10631 10632 return bo; 10633 10634 }))); 10635 10636 10637/***/ }), 10638/* 41 */ 10639/***/ (function(module, exports, __webpack_require__) { 10640 10641 //! moment.js locale configuration 10642 //! locale : Breton [br] 10643 //! author : Jean-Baptiste Le Duigou : https://github.com/jbleduigou 10644 10645 ;(function (global, factory) { 10646 true ? factory(__webpack_require__(1)) : 10647 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 10648 factory(global.moment) 10649 }(this, (function (moment) { 'use strict'; 10650 10651 //! moment.js locale configuration 10652 10653 function relativeTimeWithMutation(number, withoutSuffix, key) { 10654 var format = { 10655 mm: 'munutenn', 10656 MM: 'miz', 10657 dd: 'devezh', 10658 }; 10659 return number + ' ' + mutation(format[key], number); 10660 } 10661 function specialMutationForYears(number) { 10662 switch (lastNumber(number)) { 10663 case 1: 10664 case 3: 10665 case 4: 10666 case 5: 10667 case 9: 10668 return number + ' bloaz'; 10669 default: 10670 return number + ' vloaz'; 10671 } 10672 } 10673 function lastNumber(number) { 10674 if (number > 9) { 10675 return lastNumber(number % 10); 10676 } 10677 return number; 10678 } 10679 function mutation(text, number) { 10680 if (number === 2) { 10681 return softMutation(text); 10682 } 10683 return text; 10684 } 10685 function softMutation(text) { 10686 var mutationTable = { 10687 m: 'v', 10688 b: 'v', 10689 d: 'z', 10690 }; 10691 if (mutationTable[text.charAt(0)] === undefined) { 10692 return text; 10693 } 10694 return mutationTable[text.charAt(0)] + text.substring(1); 10695 } 10696 10697 var monthsParse = [ 10698 /^gen/i, 10699 /^c[ʼ\']hwe/i, 10700 /^meu/i, 10701 /^ebr/i, 10702 /^mae/i, 10703 /^(mez|eve)/i, 10704 /^gou/i, 10705 /^eos/i, 10706 /^gwe/i, 10707 /^her/i, 10708 /^du/i, 10709 /^ker/i, 10710 ], 10711 monthsRegex = /^(genver|c[ʼ\']hwevrer|meurzh|ebrel|mae|mezheven|gouere|eost|gwengolo|here|du|kerzu|gen|c[ʼ\']hwe|meu|ebr|mae|eve|gou|eos|gwe|her|du|ker)/i, 10712 monthsStrictRegex = /^(genver|c[ʼ\']hwevrer|meurzh|ebrel|mae|mezheven|gouere|eost|gwengolo|here|du|kerzu)/i, 10713 monthsShortStrictRegex = /^(gen|c[ʼ\']hwe|meu|ebr|mae|eve|gou|eos|gwe|her|du|ker)/i, 10714 fullWeekdaysParse = [ 10715 /^sul/i, 10716 /^lun/i, 10717 /^meurzh/i, 10718 /^merc[ʼ\']her/i, 10719 /^yaou/i, 10720 /^gwener/i, 10721 /^sadorn/i, 10722 ], 10723 shortWeekdaysParse = [ 10724 /^Sul/i, 10725 /^Lun/i, 10726 /^Meu/i, 10727 /^Mer/i, 10728 /^Yao/i, 10729 /^Gwe/i, 10730 /^Sad/i, 10731 ], 10732 minWeekdaysParse = [ 10733 /^Su/i, 10734 /^Lu/i, 10735 /^Me([^r]|$)/i, 10736 /^Mer/i, 10737 /^Ya/i, 10738 /^Gw/i, 10739 /^Sa/i, 10740 ]; 10741 10742 var br = moment.defineLocale('br', {
10743 months: 'Genver_Cʼhwevrer_Meurzh_Ebrel_Mae_Mezheven_Gouere_Eost_Gwengolo_Here_Du_Kerzu'.split( 10744 '_' 10745 ), 10746 monthsShort: 'Gen_Cʼhwe_Meu_Ebr_Mae_Eve_Gou_Eos_Gwe_Her_Du_Ker'.split('_'), 10747 weekdays: 'Sul_Lun_Meurzh_Mercʼher_Yaou_Gwener_Sadorn'.split('_'), 10748 weekdaysShort: 'Sul_Lun_Meu_Mer_Yao_Gwe_Sad'.split('_'), 10749 weekdaysMin: 'Su_Lu_Me_Mer_Ya_Gw_Sa'.split('_'), 10750 weekdaysParse: minWeekdaysParse, 10751 fullWeekdaysParse: fullWeekdaysParse, 10752 shortWeekdaysParse: shortWeekdaysParse, 10753 minWeekdaysParse: minWeekdaysParse, 10754 10755 monthsRegex: monthsRegex, 10756 monthsShortRegex: monthsRegex, 10757 monthsStrictRegex: monthsStrictRegex, 10758 monthsShortStrictRegex: monthsShortStrictRegex, 10759 monthsParse: monthsParse, 10760 longMonthsParse: monthsParse, 10761 shortMonthsParse: monthsParse, 10762 10763 longDateFormat: { 10764 LT: 'HH:mm', 10765 LTS: 'HH:mm:ss', 10766 L: 'DD/MM/YYYY', 10767 LL: 'D [a viz] MMMM YYYY', 10768 LLL: 'D [a viz] MMMM YYYY HH:mm', 10769 LLLL: 'dddd, D [a viz] MMMM YYYY HH:mm', 10770 }, 10771 calendar: { 10772 sameDay: '[Hiziv da] LT', 10773 nextDay: '[Warcʼhoazh da] LT', 10774 nextWeek: 'dddd [da] LT', 10775 lastDay: '[Decʼh da] LT', 10776 lastWeek: 'dddd [paset da] LT', 10777 sameElse: 'L', 10778 }, 10779 relativeTime: { 10780 future: 'a-benn %s', 10781 past: '%s ʼzo', 10782 s: 'un nebeud segondennoù', 10783 ss: '%d eilenn', 10784 m: 'ur vunutenn', 10785 mm: relativeTimeWithMutation, 10786 h: 'un eur', 10787 hh: '%d eur', 10788 d: 'un devezh', 10789 dd: relativeTimeWithMutation, 10790 M: 'ur miz', 10791 MM: relativeTimeWithMutation, 10792 y: 'ur bloaz', 10793 yy: specialMutationForYears, 10794 }, 10795 dayOfMonthOrdinalParse: /\d{1,2}(añ|vet)/, 10796 ordinal: function (number) { 10797 var output = number === 1 ? 'añ' : 'vet'; 10798 return number + output; 10799 }, 10800 week: { 10801 dow: 1, // Monday is the first day of the week. 10802 doy: 4, // The week that contains Jan 4th is the first week of the year. 10803 }, 10804 meridiemParse: /a.m.|g.m./, // goude merenn | a-raok merenn 10805 isPM: function (token) { 10806 return token === 'g.m.'; 10807 }, 10808 meridiem: function (hour, minute, isLower) { 10809 return hour < 12 ? 'a.m.' : 'g.m.'; 10810 }, 10811 }); 10812 10813 return br; 10814 10815 }))); 10816 10817 10818/***/ }), 10819/* 42 */ 10820/***/ (function(module, exports, __webpack_require__) { 10821 10822 //! moment.js locale configuration 10823 //! locale : Bosnian [bs] 10824 //! author : Nedim Cholich : https://github.com/frontyard 10825 //! based on (hr) translation by Bojan MarkoviÄ 10826 10827 ;(function (global, factory) { 10828 true ? factory(__webpack_require__(1)) : 10829 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 10830 factory(global.moment) 10831 }(this, (function (moment) { 'use strict'; 10832 10833 //! moment.js locale configuration 10834 10835 function translate(number, withoutSuffix, key) { 10836 var result = number + ' '; 10837 switch (key) { 10838 case 'ss': 10839 if (number === 1) { 10840 result += 'sekunda'; 10841 } else if (number === 2 || number === 3 || number === 4) { 10842 result += 'sekunde'; 10843 } else { 10844 result += 'sekundi'; 10845 } 10846 return result; 10847 case 'm': 10848 return withoutSuffix ? 'jedna minuta' : 'jedne minute'; 10849 case 'mm': 10850 if (number === 1) { 10851 result += 'minuta'; 10852 } else if (number === 2 || number === 3 || number === 4) { 10853 result += 'minute'; 10854 } else { 10855 result += 'minuta'; 10856 } 10857 return result; 10858 case 'h': 10859 return withoutSuffix ? 'jedan sat' : 'jednog sata'; 10860 case 'hh': 10861 if (number === 1) { 10862 result += 'sat'; 10863 } else if (number === 2 || number === 3 || number === 4) { 10864 result += 'sata'; 10865 } else { 10866 result += 'sati'; 10867 } 10868 return result; 10869 case 'dd': 10870 if (number === 1) { 10871 result += 'dan'; 10872 } else { 10873 result += 'dana'; 10874 } 10875 return result; 10876 case 'MM': 10877 if (number === 1) { 10878 result += 'mjesec'; 10879 } else if (number === 2 || number === 3 || number === 4) { 10880 result += 'mjeseca'; 10881 } else { 10882 result += 'mjeseci'; 10883 } 10884 return result; 10885 case 'yy': 10886 if (number === 1) { 10887 result += 'godina'; 10888 } else if (number === 2 || number === 3 || number === 4) { 10889 result += 'godine'; 10890 } else { 10891 result += 'godina'; 10892 } 10893 return result; 10894 } 10895 } 10896 10897 var bs = moment.defineLocale('bs', { 10898 months: 'januar_februar_mart_april_maj_juni_juli_august_septembar_oktobar_novembar_decembar'.split( 10899 '_' 10900 ), 10901 monthsShort: 'jan._feb._mar._apr._maj._jun._jul._aug._sep._okt._nov._dec.'.split( 10902 '_' 10903 ), 10904 monthsParseExact: true, 10905 weekdays: 'nedjelja_ponedjeljak_utorak_srijeda_Äetvrtak_petak_subota'.split( 10906 '_' 10907 ), 10908 weekdaysShort: 'ned._pon._uto._sri._Äet._pet._sub.'.split('_'), 10909 weekdaysMin: 'ne_po_ut_sr_Äe_pe_su'.split('_'), 10910 weekdaysParseExact: true, 10911 longDateFormat: { 10912 LT: 'H:mm', 10913 LTS: 'H:mm:ss', 10914 L: 'DD.MM.YYYY', 10915 LL: 'D. MMMM YYYY', 10916 LLL: 'D. MMMM YYYY H:mm', 10917 LLLL: 'dddd, D. MMMM YYYY H:mm', 10918 }, 10919 calendar: { 10920 sameDay: '[danas u] LT', 10921 nextDay: '[sutra u] LT', 10922 nextWeek: function () { 10923 switch (this.day()) { 10924 case 0: 10925 return '[u] [nedjelju] [u] LT'; 10926 case 3: 10927 return '[u] [srijedu] [u] LT'; 10928 case 6: 10929 return '[u] [subotu] [u] LT'; 10930 case 1: 10931 case 2: 10932 case 4: 10933 case 5: 10934 return '[u] dddd [u] LT'; 10935 } 10936 }, 10937 lastDay: '[juÄer u] LT', 10938 lastWeek: function () { 10939 switch (this.day()) { 10940 case 0: 10941 case 3: 10942 return '[proÅ¡lu] dddd [u] LT'; 10943 case 6: 10944 return '[proÅ¡le] [subote] [u] LT'; 10945 case 1: 10946 case 2: 10947 case 4: 10948 case 5: 10949 return '[proÅ¡li] dddd [u] LT'; 10950 } 10951 }, 10952 sameElse: 'L', 10953 }, 10954 relativeTime: { 10955 future: 'za %s', 10956 past: 'prije %s', 10957 s: 'par sekundi', 10958 ss: translate, 10959 m: translate, 10960 mm: translate, 10961 h: translate, 10962 hh: translate, 10963 d: 'dan', 10964 dd: translate, 10965 M: 'mjesec', 10966 MM: translate, 10967 y: 'godinu', 10968 yy: translate, 10969 }, 10970 dayOfMonthOrdinalParse: /\d{1,2}\./, 10971 ordinal: '%d.', 10972 week: { 10973 dow: 1, // Monday is the first day of the week. 10974 doy: 7, // The week that contains Jan 7th is the first week of the year. 10975 }, 10976 }); 10977 10978 return bs; 10979 10980 }))); 10981 10982 10983/***/ }), 10984/* 43 */ 10985/***/ (function(module, exports, __webpack_require__) { 10986 10987 //! moment.js locale configuration 10988 //! locale : Catalan [ca] 10989 //! author : Juan G. Hurtado : https://github.com/juanghurtado 10990 10991 ;(function (global, factory) { 10992 true ? factory(__webpack_require__(1)) : 10993 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 10994 factory(global.moment) 10995 }(this, (function (moment) { 'use strict'; 10996 10997 //! moment.js locale configuration 10998 10999 var ca = moment.defineLocale('ca', { 11000 months: { 11001 standalone: 'gener_febrer_març_abril_maig_juny_juliol_agost_setembre_octubre_novembre_desembre'.split( 11002 '_' 11003 ), 11004 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( 11005 '_' 11006 ), 11007 isFormat: /D[oD]?(\s)+MMMM/, 11008 }, 11009 monthsShort: 'gen._febr._març_abr._maig_juny_jul._ag._set._oct._nov._des.'.split( 11010 '_' 11011 ), 11012 monthsParseExact: true, 11013 weekdays: 'diumenge_dilluns_dimarts_dimecres_dijous_divendres_dissabte'.split( 11014 '_' 11015 ), 11016 weekdaysShort: 'dg._dl._dt._dc._dj._dv._ds.'.split('_'), 11017 weekdaysMin: 'dg_dl_dt_dc_dj_dv_ds'.split('_'), 11018 weekdaysParseExact: true, 11019 longDateFormat: { 11020 LT: 'H:mm', 11021 LTS: 'H:mm:ss', 11022 L: 'DD/MM/YYYY', 11023 LL: 'D MMMM [de] YYYY', 11024 ll: 'D MMM YYYY', 11025 LLL: 'D MMMM [de] YYYY [a les] H:mm', 11026 lll: 'D MMM YYYY, H:mm', 11027 LLLL: 'dddd D MMMM [de] YYYY [a les] H:mm', 11028 llll: 'ddd D MMM YYYY, H:mm', 11029 }, 11030 calendar: { 11031 sameDay: function () { 11032 return '[avui a ' + (this.hours() !== 1 ? 'les' : 'la') + '] LT'; 11033 }, 11034 nextDay: function () { 11035 return '[demà a ' + (this.hours() !== 1 ? 'les' : 'la') + '] LT'; 11036 }, 11037 nextWeek: function () { 11038 return 'dddd [a ' + (this.hours() !== 1 ? 'les' : 'la') + '] LT'; 11039 }, 11040 lastDay: function () { 11041 return '[ahir a ' + (this.hours() !== 1 ? 'les' : 'la') + '] LT'; 11042 }, 11043 lastWeek: function () { 11044 return ( 11045 '[el] dddd [passat a ' + 11046 (this.hours() !== 1 ? 'les' : 'la') + 11047 '] LT' 11048 ); 11049 }, 11050 sameElse: 'L', 11051 }, 11052 relativeTime: { 11053 future: "d'aquà %s", 11054 past: 'fa %s', 11055 s: 'uns segons', 11056 ss: '%d segons', 11057 m: 'un minut', 11058 mm: '%d minuts', 11059 h: 'una hora', 11060 hh: '%d hores', 11061 d: 'un dia', 11062 dd: '%d dies', 11063 M: 'un mes', 11064 MM: '%d mesos', 11065 y: 'un any', 11066 yy: '%d anys', 11067 }, 11068 dayOfMonthOrdinalParse: /\d{1,2}(r|n|t|è|a)/, 11069 ordinal: function (number, period) { 11070 var output = 11071 number === 1 11072 ? 'r' 11073 : number === 2 11074 ? 'n' 11075 : number === 3 11076 ? 'r' 11077 : number === 4 11078 ? 't' 11079 : 'è'; 11080 if (period === 'w' || period === 'W') { 11081 output = 'a'; 11082 } 11083 return number + output; 11084 }, 11085 week: { 11086 dow: 1, // Monday is the first day of the week. 11087 doy: 4, // The week that contains Jan 4th is the first week of the year. 11088 }, 11089 }); 11090 11091 return ca; 11092 11093 }))); 11094 11095 11096/***/ }), 11097/* 44 */ 11098/***/ (function(module, exports, __webpack_require__) { 11099 11100 //! moment.js locale configuration 11101 //! locale : Czech [cs] 11102 //! author : petrbela : https://github.com/petrbela 11103 11104 ;(function (global, factory) { 11105 true ? factory(__webpack_require__(1)) : 11106 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 11107 factory(global.moment) 11108 }(this, (function (moment) { 'use strict'; 11109 11110 //! moment.js locale configuration 11111 11112 var months = 'leden_únor_bÅezen_duben_kvÄten_Äerven_Äervenec_srpen_záÅÃ_ÅÃjen_listopad_prosinec'.
11112split( 11113 '_' 11114 ), 11115 monthsShort = 'led_úno_bÅe_dub_kvÄ_Ävn_Ävc_srp_záÅ_ÅÃj_lis_pro'.split('_'), 11116 monthsParse = [ 11117 /^led/i, 11118 /^úno/i, 11119 /^bÅe/i, 11120 /^dub/i, 11121 /^kvÄ/i, 11122 /^(Ävn|Äerven$|Äervna)/i, 11123 /^(Ävc|Äervenec|Äervence)/i, 11124 /^srp/i, 11125 /^záÅ/i, 11126 /^ÅÃj/i, 11127 /^lis/i, 11128 /^pro/i, 11129 ], 11130 // NOTE: 'Äerven' is substring of 'Äervenec'; therefore 'Äervenec' must precede 'Äerven' in the regex to be fully matched. 11131 // Otherwise parser matches '1. Äervenec' as '1. Äerven' + 'ec'. 11132 monthsRegex = /^(leden|únor|bÅezen|duben|kvÄten|Äervenec|Äervence|Äerven|Äervna|srpen|záÅÃ|ÅÃjen|listopad|prosinec|led|úno|bÅe|dub|kvÄ|Ävn|Ävc|srp|záÅ|ÅÃj|lis|pro)/i; 11133 11134 function plural(n) { 11135 return n > 1 && n < 5 && ~~(n / 10) !== 1; 11136 } 11137 function translate(number, withoutSuffix, key, isFuture) { 11138 var result = number + ' '; 11139 switch (key) { 11140 case 's': // a few seconds / in a few seconds / a few seconds ago 11141 return withoutSuffix || isFuture ? 'pár sekund' : 'pár sekundami'; 11142 case 'ss': // 9 seconds / in 9 seconds / 9 seconds ago 11143 if (withoutSuffix || isFuture) { 11144 return result + (plural(number) ? 'sekundy' : 'sekund'); 11145 } else { 11146 return result + 'sekundami'; 11147 } 11148 case 'm': // a minute / in a minute / a minute ago 11149 return withoutSuffix ? 'minuta' : isFuture ? 'minutu' : 'minutou'; 11150 case 'mm': // 9 minutes / in 9 minutes / 9 minutes ago 11151 if (withoutSuffix || isFuture) { 11152 return result + (plural(number) ? 'minuty' : 'minut'); 11153 } else { 11154 return result + 'minutami'; 11155 } 11156 case 'h': // an hour / in an hour / an hour ago 11157 return withoutSuffix ? 'hodina' : isFuture ? 'hodinu' : 'hodinou'; 11158 case 'hh': // 9 hours / in 9 hours / 9 hours ago 11159 if (withoutSuffix || isFuture) { 11160 return result + (plural(number) ? 'hodiny' : 'hodin'); 11161 } else { 11162 return result + 'hodinami'; 11163 } 11164 case 'd': // a day / in a day / a day ago 11165 return withoutSuffix || isFuture ? 'den' : 'dnem'; 11166 case 'dd': // 9 days / in 9 days / 9 days ago 11167 if (withoutSuffix || isFuture) { 11168 return result + (plural(number) ? 'dny' : 'dnÃ'); 11169 } else { 11170 return result + 'dny'; 11171 } 11172 case 'M': // a month / in a month / a month ago 11173 return withoutSuffix || isFuture ? 'mÄsÃc' : 'mÄsÃcem'; 11174 case 'MM': // 9 months / in 9 months / 9 months ago 11175 if (withoutSuffix || isFuture) { 11176 return result + (plural(number) ? 'mÄsÃce' : 'mÄsÃců'); 11177 } else { 11178 return result + 'mÄsÃci'; 11179 } 11180 case 'y': // a year / in a year / a year ago 11181 return withoutSuffix || isFuture ? 'rok' : 'rokem'; 11182 case 'yy': // 9 years / in 9 years / 9 years ago 11183 if (withoutSuffix || isFuture) { 11184 return result + (plural(number) ? 'roky' : 'let'); 11185 } else { 11186 return result + 'lety'; 11187 } 11188 } 11189 } 11190 11191 var cs = moment.defineLocale('cs', { 11192 months: months, 11193 monthsShort: monthsShort, 11194 monthsRegex: monthsRegex, 11195 monthsShortRegex: monthsRegex, 11196 // NOTE: 'Äerven' is substring of 'Äervenec'; therefore 'Äervenec' must precede 'Äerven' in the regex to be fully matched. 11197 // Otherwise parser matches '1. Äervenec' as '1. Äerven' + 'ec'. 11198 monthsStrictRegex: /^(leden|ledna|února|únor|bÅezen|bÅezna|duben|dubna|kvÄten|kvÄtna|Äervenec|Äervence|Äerven|Äervna|srpen|srpna|záÅÃ|ÅÃjen|ÅÃjna|listopadu|listopad|prosinec|prosince)/i, 11199 monthsShortStrictRegex: /^(led|úno|bÅe|dub|kvÄ|Ävn|Ävc|srp|záÅ|ÅÃj|lis|pro)/i, 11200 monthsParse: monthsParse, 11201 longMonthsParse: monthsParse, 11202 shortMonthsParse: monthsParse, 11203 weekdays: 'nedÄle_pondÄlÃ_úterý_stÅeda_Ätvrtek_pátek_sobota'.split('_'), 11204 weekdaysShort: 'ne_po_út_st_Ät_pá_so'.split('_'), 11205 weekdaysMin: 'ne_po_út_st_Ät_pá_so'.split('_'), 11206 longDateFormat: { 11207 LT: 'H:mm', 11208 LTS: 'H:mm:ss', 11209 L: 'DD.MM.YYYY', 11210 LL: 'D. MMMM YYYY', 11211 LLL: 'D. MMMM YYYY H:mm', 11212 LLLL: 'dddd D. MMMM YYYY H:mm', 11213 l: 'D. M. YYYY', 11214 }, 11215 calendar: { 11216 sameDay: '[dnes v] LT', 11217 nextDay: '[zÃtra v] LT', 11218 nextWeek: function () { 11219 switch (this.day()) { 11220 case 0: 11221 return '[v nedÄli v] LT'; 11222 case 1: 11223 case 2: 11224 return '[v] dddd [v] LT'; 11225 case 3: 11226 return '[ve stÅedu v] LT'; 11227 case 4: 11228 return '[ve Ätvrtek v] LT'; 11229 case 5: 11230 return '[v pátek v] LT'; 11231 case 6: 11232 return '[v sobotu v] LT'; 11233 } 11234 }, 11235 lastDay: '[vÄera v] LT', 11236 lastWeek: function () { 11237 switch (this.day()) { 11238 case 0: 11239 return '[minulou nedÄli v] LT'; 11240 case 1: 11241 case 2: 11242 return '[minulé] dddd [v] LT'; 11243 case 3: 11244 return '[minulou stÅedu v] LT'; 11245 case 4: 11246 case 5: 11247 return '[minulý] dddd [v] LT'; 11248 case 6: 11249 return '[minulou sobotu v] LT'; 11250 } 11251 }, 11252 sameElse: 'L', 11253 }, 11254 relativeTime: { 11255 future: 'za %s', 11256 past: 'pÅed %s', 11257 s: translate, 11258 ss: translate, 11259 m: translate, 11260 mm: translate, 11261 h: translate, 11262 hh: translate, 11263 d: translate, 11264 dd: translate, 11265 M: translate, 11266 MM: translate, 11267 y: translate, 11268 yy: translate, 11269 }, 11270 dayOfMonthOrdinalParse: /\d{1,2}\./, 11271 ordinal: '%d.', 11272 week: { 11273 dow: 1, // Monday is the first day of the week. 11274 doy: 4, // The week that contains Jan 4th is the first week of the year. 11275 }, 11276 }); 11277 11278 return cs; 11279 11280 }))); 11281 11282 11283/***/ }), 11284/* 45 */ 11285/***/ (function(module, exports, __webpack_require__) { 11286 11287 //! moment.js locale configuration 11288 //! locale : Chuvash [cv] 11289 //! author : Anatoly Mironov : https://github.com/mirontoli 11290 11291 ;(function (global, factory) { 11292 true ? factory(__webpack_require__(1)) : 11293 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 11294 factory(global.moment) 11295 }(this, (function (moment) { 'use strict'; 11296 11297 //! moment.js locale configuration 11298 11299 var cv = moment.defineLocale('cv', { 11300 months: 'кÓÑлаÑ_наÑÓÑ_пÑÑ_ака_май_Ò«ÓÑÑме_ÑÑÓ_Ò«ÑÑла_авÓн_Ñпа_Ñӳк_ÑаÑÑав'.split( 11301 '_' 11302 ), 11303 monthsShort: 'кÓÑ_наÑ_пÑÑ_ака_май_Ò«ÓÑ_ÑÑÓ_Ò«ÑÑ_авн_Ñпа_Ñӳк_ÑаÑ'.split('_'), 11304 weekdays: 'вÑÑÑаÑникÑн_ÑÑнÑикÑн_ÑÑлаÑикÑн_ÑнкÑн_кÓҫнеÑникÑн_ÑÑнекÑн_ÑÓмаÑкÑн'.split( 11305 '_' 11306 ), 11307 weekdaysShort: 'вÑÑ_ÑÑн_ÑÑл_Ñн_кÓÒ«_ÑÑн_ÑÓм'.split('_'), 11308 weekdaysMin: 'вÑ_Ñн_ÑÑ_Ñн_кҫ_ÑÑ_Ñм'.split('_'), 11309 longDateFormat: { 11310 LT: 'HH:mm', 11311 LTS: 'HH:mm:ss', 11312 L: 'DD-MM-YYYY', 11313 LL: 'YYYY [Ò«ÑÐ»Ñ Ð¸] MMMM [ÑйÓÑ Óн] D[-мÓÑÓ]', 11314 LLL: 'YYYY [Ò«ÑÐ»Ñ Ð¸] MMMM [ÑйÓÑ Óн] D[-мÓÑÓ], HH:mm', 11315 LLLL: 'dddd, YYYY [Ò«ÑÐ»Ñ Ð¸] MMMM [ÑйÓÑ Óн] D[-мÓÑÓ], HH:mm', 11316 }, 11317 calendar: { 11318 sameDay: '[ÐаÑн] LT [ÑÐµÑ ÐµÑÑе]', 11319 nextDay: '[ЫÑан] LT [ÑÐµÑ ÐµÑÑе]', 11320 lastDay: '[ÓнеÑ] LT [ÑÐµÑ ÐµÑÑе]', 11321 nextWeek: '[ҪиÑеÑ] dddd LT [ÑÐµÑ ÐµÑÑе]', 11322 lastWeek: '[ÐÑÑнÓ] dddd LT [ÑÐµÑ ÐµÑÑе]', 11323 sameElse: 'L', 11324 }, 11325 relativeTime: { 11326 future: function (output) {
11327 var affix = /ÑÐµÑ ÐµÑ$/i.exec(output) 11328 ? 'Ñен' 11329 : /Ò«Ñл$/i.exec(output) 11330 ? 'Ñан' 11331 : 'Ñан'; 11332 return output + affix; 11333 }, 11334 past: '%s каÑлла', 11335 s: 'пÓÑ-ик ҫеккÑнÑ', 11336 ss: '%d ҫеккÑнÑ', 11337 m: 'пÓÑ Ð¼Ð¸Ð½ÑÑ', 11338 mm: '%d минÑÑ', 11339 h: 'пÓÑ ÑÐµÑ ÐµÑ', 11340 hh: '%d ÑÐµÑ ÐµÑ', 11341 d: 'пÓÑ ÐºÑн', 11342 dd: '%d кÑн', 11343 M: 'пÓÑ ÑйÓÑ ', 11344 MM: '%d ÑйÓÑ ', 11345 y: 'пÓÑ Ò«Ñл', 11346 yy: '%d Ò«Ñл', 11347 }, 11348 dayOfMonthOrdinalParse: /\d{1,2}-мÓÑ/, 11349 ordinal: '%d-мÓÑ', 11350 week: { 11351 dow: 1, // Monday is the first day of the week. 11352 doy: 7, // The week that contains Jan 7th is the first week of the year. 11353 }, 11354 }); 11355 11356 return cv; 11357 11358 }))); 11359 11360 11361/***/ }), 11362/* 46 */ 11363/***/ (function(module, exports, __webpack_require__) { 11364 11365 //! moment.js locale configuration 11366 //! locale : Welsh [cy] 11367 //! author : Robert Allen : https://github.com/robgallen 11368 //! author : https://github.com/ryangreaves 11369 11370 ;(function (global, factory) { 11371 true ? factory(__webpack_require__(1)) : 11372 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 11373 factory(global.moment) 11374 }(this, (function (moment) { 'use strict'; 11375 11376 //! moment.js locale configuration 11377 11378 var cy = moment.defineLocale('cy', { 11379 months: 'Ionawr_Chwefror_Mawrth_Ebrill_Mai_Mehefin_Gorffennaf_Awst_Medi_Hydref_Tachwedd_Rhagfyr'.split( 11380 '_' 11381 ), 11382 monthsShort: 'Ion_Chwe_Maw_Ebr_Mai_Meh_Gor_Aws_Med_Hyd_Tach_Rhag'.split( 11383 '_' 11384 ), 11385 weekdays: 'Dydd Sul_Dydd Llun_Dydd Mawrth_Dydd Mercher_Dydd Iau_Dydd Gwener_Dydd Sadwrn'.split( 11386 '_' 11387 ), 11388 weekdaysShort: 'Sul_Llun_Maw_Mer_Iau_Gwe_Sad'.split('_'), 11389 weekdaysMin: 'Su_Ll_Ma_Me_Ia_Gw_Sa'.split('_'), 11390 weekdaysParseExact: true, 11391 // time formats are the same as en-gb 11392 longDateFormat: { 11393 LT: 'HH:mm', 11394 LTS: 'HH:mm:ss', 11395 L: 'DD/MM/YYYY', 11396 LL: 'D MMMM YYYY', 11397 LLL: 'D MMMM YYYY HH:mm', 11398 LLLL: 'dddd, D MMMM YYYY HH:mm', 11399 }, 11400 calendar: { 11401 sameDay: '[Heddiw am] LT', 11402 nextDay: '[Yfory am] LT', 11403 nextWeek: 'dddd [am] LT', 11404 lastDay: '[Ddoe am] LT', 11405 lastWeek: 'dddd [diwethaf am] LT', 11406 sameElse: 'L', 11407 }, 11408 relativeTime: { 11409 future: 'mewn %s', 11410 past: '%s yn ôl', 11411 s: 'ychydig eiliadau', 11412 ss: '%d eiliad', 11413 m: 'munud', 11414 mm: '%d munud', 11415 h: 'awr', 11416 hh: '%d awr', 11417 d: 'diwrnod', 11418 dd: '%d diwrnod', 11419 M: 'mis', 11420 MM: '%d mis', 11421 y: 'blwyddyn', 11422 yy: '%d flynedd', 11423 }, 11424 dayOfMonthOrdinalParse: /\d{1,2}(fed|ain|af|il|ydd|ed|eg)/, 11425 // traditional ordinal numbers above 31 are not commonly used in colloquial Welsh 11426 ordinal: function (number) { 11427 var b = number, 11428 output = '', 11429 lookup = [ 11430 '', 11431 'af', 11432 'il', 11433 'ydd', 11434 'ydd', 11435 'ed', 11436 'ed', 11437 'ed', 11438 'fed', 11439 'fed', 11440 'fed', // 1af to 10fed 11441 'eg', 11442 'fed', 11443 'eg', 11444 'eg', 11445 'fed', 11446 'eg', 11447 'eg', 11448 'fed', 11449 'eg', 11450 'fed', // 11eg to 20fed 11451 ]; 11452 if (b > 20) { 11453 if (b === 40 || b === 50 || b === 60 || b === 80 || b === 100) { 11454 output = 'fed';
11454 // not 30ain, 70ain or 90ain 11455 } else { 11456 output = 'ain'; 11457 } 11458 } else if (b > 0) { 11459 output = lookup[b]; 11460 } 11461 return number + output; 11462 }, 11463 week: { 11464 dow: 1, // Monday is the first day of the week. 11465 doy: 4, // The week that contains Jan 4th is the first week of the year. 11466 }, 11467 }); 11468 11469 return cy; 11470 11471 }))); 11472 11473 11474/***/ }), 11475/* 47 */ 11476/***/ (function(module, exports, __webpack_require__) { 11477 11478 //! moment.js locale configuration 11479 //! locale : Danish [da] 11480 //! author : Ulrik Nielsen : https://github.com/mrbase 11481 11482 ;(function (global, factory) { 11483 true ? factory(__webpack_require__(1)) : 11484 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 11485 factory(global.moment) 11486 }(this, (function (moment) { 'use strict'; 11487 11488 //! moment.js locale configuration 11489 11490 var da = moment.defineLocale('da', { 11491 months: 'januar_februar_marts_april_maj_juni_juli_august_september_oktober_november_december'.split( 11492 '_' 11493 ), 11494 monthsShort: 'jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec'.split('_'), 11495 weekdays: 'søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag'.split('_'), 11496 weekdaysShort: 'søn_man_tir_ons_tor_fre_lør'.split('_'), 11497 weekdaysMin: 'sø_ma_ti_on_to_fr_lø'.split('_'), 11498 longDateFormat: { 11499 LT: 'HH:mm', 11500 LTS: 'HH:mm:ss', 11501 L: 'DD.MM.YYYY', 11502 LL: 'D. MMMM YYYY', 11503 LLL: 'D. MMMM YYYY HH:mm', 11504 LLLL: 'dddd [d.] D. MMMM YYYY [kl.] HH:mm', 11505 }, 11506 calendar: { 11507 sameDay: '[i dag kl.] LT', 11508 nextDay: '[i morgen kl.] LT', 11509 nextWeek: 'på dddd [kl.] LT', 11510 lastDay: '[i går kl.] LT', 11511 lastWeek: '[i] dddd[s kl.] LT', 11512 sameElse: 'L', 11513 }, 11514 relativeTime: { 11515 future: 'om %s', 11516 past: '%s siden', 11517 s: 'få sekunder', 11518 ss: '%d sekunder', 11519 m: 'et minut', 11520 mm: '%d minutter', 11521 h: 'en time', 11522 hh: '%d timer', 11523 d: 'en dag', 11524 dd: '%d dage', 11525 M: 'en måned', 11526 MM: '%d måneder', 11527 y: 'et år', 11528 yy: '%d år', 11529 }, 11530 dayOfMonthOrdinalParse: /\d{1,2}\./, 11531 ordinal: '%d.', 11532 week: { 11533 dow: 1, // Monday is the first day of the week. 11534 doy: 4, // The week that contains Jan 4th is the first week of the year. 11535 }, 11536 }); 11537 11538 return da; 11539 11540 }))); 11541 11542 11543/***/ }), 11544/* 48 */ 11545/***/ (function(module, exports, __webpack_require__) { 11546 11547 //! moment.js locale configuration 11548 //! locale : German (Austria) [de-at] 11549 //! author : lluchs : https://github.com/lluchs 11550 //! author: Menelion Elensúle: https://github.com/Oire 11551 //! author : Martin Groller : https://github.com/MadMG 11552 //! author : Mikolaj Dadela : https://github.com/mik01aj 11553 11554 ;(function (global, factory) { 11555 true ? factory(__webpack_require__(1)) : 11556 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 11557 factory(global.moment) 11558 }(this, (function (moment) { 'use strict'; 11559 11560 //! moment.js locale configuration 11561 11562 function processRelativeTime(number, withoutSuffix, key, isFuture) { 11563 var format = { 11564 m: ['eine Minute', 'einer Minute'], 11565 h: ['eine Stunde', 'einer Stunde'], 11566 d: ['ein Tag', 'einem Tag'], 11567 dd: [number + ' Tage', number + ' Tagen'], 11568 M: ['ein Monat', 'einem Monat'], 11569 MM: [number + ' Monate', number + ' Monaten'], 11570 y: ['ein Jahr', 'einem Jahr'], 11571 yy: [number + ' Jahre', number + ' Jahren'], 11572 }; 11573 return withoutSuffix ? format[key][0] : format[key][1]; 11574 } 11575 11576 var deAt = moment.defineLocale('de-at', { 11577 months: 'Jänner_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember'.split( 11578 '_' 11579 ), 11580 monthsShort: 'Jän._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.'.split( 11581 '_' 11582 ), 11583 monthsParseExact: true, 11584 weekdays: 'Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag'.split( 11585 '_' 11586 ), 11587 weekdaysShort: 'So._Mo._Di._Mi._Do._Fr._Sa.'.split('_'), 11588 weekdaysMin: 'So_Mo_Di_Mi_Do_Fr_Sa'.split('_'), 11589 weekdaysParseExact: true, 11590 longDateFormat: { 11591 LT: 'HH:mm', 11592 LTS: 'HH:mm:ss', 11593 L: 'DD.MM.YYYY', 11594 LL: 'D. MMMM YYYY', 11595 LLL: 'D. MMMM YYYY HH:mm', 11596 LLLL: 'dddd, D. MMMM YYYY HH:mm', 11597 }, 11598 calendar: { 11599 sameDay: '[heute um] LT [Uhr]', 11600 sameElse: 'L', 11601 nextDay: '[morgen um] LT [Uhr]', 11602 nextWeek: 'dddd [um] LT [Uhr]', 11603 lastDay: '[gestern um] LT [Uhr]', 11604 lastWeek: '[letzten] dddd [um] LT [Uhr]', 11605 }, 11606 relativeTime: { 11607 future: 'in %s', 11608 past: 'vor %s', 11609 s: 'ein paar Sekunden', 11610 ss: '%d Sekunden', 11611 m: processRelativeTime, 11612 mm: '%d Minuten', 11613 h: processRelativeTime, 11614 hh: '%d Stunden', 11615 d: processRelativeTime, 11616 dd: processRelativeTime, 11617 M: processRelativeTime, 11618 MM: processRelativeTime, 11619 y: processRelativeTime, 11620 yy: processRelativeTime, 11621 }, 11622 dayOfMonthOrdinalParse: /\d{1,2}\./, 11623 ordinal: '%d.', 11624 week: { 11625 dow: 1, // Monday is the first day of the week. 11626 doy: 4, // The week that contains Jan 4th is the first week of the year. 11627 }, 11628 }); 11629 11630 return deAt; 11631 11632 }))); 11633 11634 11635/***/ }), 11636/* 49 */ 11637/***/ (function(module, exports, __webpack_require__) { 11638 11639 //! moment.js locale configuration 11640 //! locale : German (Switzerland) [de-ch] 11641 //! author : sschueller : https://github.com/sschueller 11642 11643 ;(function (global, factory) { 11644 true ? factory(__webpack_require__(1)) : 11645 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 11646 factory(global.moment) 11647 }(this, (function (moment) { 'use strict'; 11648 11649 //! moment.js locale configuration 11650 11651 function processRelativeTime(number, withoutSuffix, key, isFuture) { 11652 var format = { 11653 m: ['eine Minute', 'einer Minute'], 11654 h: ['eine Stunde', 'einer Stunde'], 11655 d: ['ein Tag', 'einem Tag'], 11656 dd: [number + ' Tage', number + ' Tagen'], 11657 M: ['ein Monat', 'einem Monat'], 11658 MM: [number + ' Monate', number + ' Monaten'], 11659 y: ['ein Jahr', 'einem Jahr'],
11660 yy: [number + ' Jahre', number + ' Jahren'], 11661 }; 11662 return withoutSuffix ? format[key][0] : format[key][1]; 11663 } 11664 11665 var deCh = moment.defineLocale('de-ch', { 11666 months: 'Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember'.split( 11667 '_' 11668 ), 11669 monthsShort: 'Jan._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.'.split( 11670 '_' 11671 ), 11672 monthsParseExact: true, 11673 weekdays: 'Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag'.split( 11674 '_' 11675 ), 11676 weekdaysShort: 'So_Mo_Di_Mi_Do_Fr_Sa'.split('_'), 11677 weekdaysMin: 'So_Mo_Di_Mi_Do_Fr_Sa'.split('_'), 11678 weekdaysParseExact: true, 11679 longDateFormat: { 11680 LT: 'HH:mm', 11681 LTS: 'HH:mm:ss', 11682 L: 'DD.MM.YYYY', 11683 LL: 'D. MMMM YYYY', 11684 LLL: 'D. MMMM YYYY HH:mm', 11685 LLLL: 'dddd, D. MMMM YYYY HH:mm', 11686 }, 11687 calendar: { 11688 sameDay: '[heute um] LT [Uhr]', 11689 sameElse: 'L', 11690 nextDay: '[morgen um] LT [Uhr]', 11691 nextWeek: 'dddd [um] LT [Uhr]', 11692 lastDay: '[gestern um] LT [Uhr]', 11693 lastWeek: '[letzten] dddd [um] LT [Uhr]', 11694 }, 11695 relativeTime: { 11696 future: 'in %s', 11697 past: 'vor %s', 11698 s: 'ein paar Sekunden', 11699 ss: '%d Sekunden', 11700 m: processRelativeTime, 11701 mm: '%d Minuten', 11702 h: processRelativeTime, 11703 hh: '%d Stunden', 11704 d: processRelativeTime, 11705 dd: processRelativeTime, 11706 M: processRelativeTime, 11707 MM: processRelativeTime, 11708 y: processRelativeTime, 11709 yy: processRelativeTime, 11710 }, 11711 dayOfMonthOrdinalParse: /\d{1,2}\./, 11712 ordinal: '%d.', 11713 week: { 11714 dow: 1, // Monday is the first day of the week. 11715 doy: 4, // The week that contains Jan 4th is the first week of the year. 11716 }, 11717 }); 11718 11719 return deCh; 11720 11721 }))); 11722 11723 11724/***/ }), 11725/* 50 */ 11726/***/ (function(module, exports, __webpack_require__) { 11727 11728 //! moment.js locale configuration 11729 //! locale : German [de] 11730 //! author : lluchs : https://github.com/lluchs 11731 //! author: Menelion Elensúle: https://github.com/Oire 11732 //! author : Mikolaj Dadela : https://github.com/mik01aj 11733 11734 ;(function (global, factory) { 11735 true ? factory(__webpack_require__(1)) : 11736 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 11737 factory(global.moment) 11738 }(this, (function (moment) { 'use strict'; 11739 11740 //! moment.js locale configuration 11741 11742 function processRelativeTime(number, withoutSuffix, key, isFuture) { 11743 var format = { 11744 m: ['eine Minute', 'einer Minute'], 11745 h: ['eine Stunde', 'einer Stunde'], 11746 d: ['ein Tag', 'einem Tag'], 11747 dd: [number + ' Tage', number + ' Tagen'], 11748 M: ['ein Monat', 'einem Monat'], 11749 MM: [number + ' Monate', number + ' Monaten'], 11750 y: ['ein Jahr', 'einem Jahr'], 11751 yy: [number + ' Jahre', number + ' Jahren'], 11752 }; 11753 return withoutSuffix ? format[key][0] : format[key][1]; 11754 } 11755 11756 var de = moment.defineLocale('de', { 11757 months: 'Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember'.split( 11758 '_' 11759 ), 11760 monthsShort: 'Jan._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.'.split( 11761 '_' 11762 ), 11763 monthsParseExact: true, 11764 weekdays: 'Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag'.split( 11765 '_' 11766 ), 11767 weekdaysShort: 'So._Mo._Di._Mi._Do._Fr._Sa.'.split('_'), 11768 weekdaysMin: 'So_Mo_Di_Mi_Do_Fr_Sa'.split('_'), 11769 weekdaysParseExact: true, 11770 longDateFormat: { 11771 LT: 'HH:mm', 11772 LTS: 'HH:mm:ss', 11773 L: 'DD.MM.YYYY', 11774 LL: 'D. MMMM YYYY', 11775 LLL: 'D. MMMM YYYY HH:mm', 11776 LLLL: 'dddd, D. MMMM YYYY HH:mm', 11777 }, 11778 calendar: { 11779 sameDay: '[heute um] LT [Uhr]', 11780 sameElse: 'L', 11781 nextDay: '[morgen um] LT [Uhr]', 11782 nextWeek: 'dddd [um] LT [Uhr]', 11783 lastDay: '[gestern um] LT [Uhr]', 11784 lastWeek: '[letzten] dddd [um] LT [Uhr]', 11785 }, 11786 relativeTime: { 11787 future: 'in %s', 11788 past: 'vor %s', 11789 s: 'ein paar Sekunden', 11790 ss: '%d Sekunden', 11791 m: processRelativeTime, 11792 mm: '%d Minuten', 11793 h: processRelativeTime, 11794 hh: '%d Stunden', 11795 d: processRelativeTime, 11796 dd: processRelativeTime, 11797 M: processRelativeTime, 11798 MM: processRelativeTime, 11799 y: processRelativeTime, 11800 yy: processRelativeTime, 11801 }, 11802 dayOfMonthOrdinalParse: /\d{1,2}\./, 11803 ordinal: '%d.', 11804 week: { 11805 dow: 1, // Monday is the first day of the week. 11806 doy: 4, // The week that contains Jan 4th is the first week of the year. 11807 }, 11808 }); 11809 11810 return de; 11811 11812 }))); 11813 11814 11815/***/ }), 11816/* 51 */ 11817/***/ (function(module, exports, __webpack_require__) { 11818 11819 //! moment.js locale configuration 11820 //! locale : Maldivian [dv] 11821 //! author : Jawish Hameed : https://github.com/jawish 11822 11823 ;(function (global, factory) { 11824 true ? factory(__webpack_require__(1)) : 11825 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 11826 factory(global.moment) 11827 }(this, (function (moment) { 'use strict'; 11828 11829 //! moment.js locale configuration 11830 11831 var months = [ 11832 'ÞÞ¬ÞÞªÞÞ¦ÞÞ©', 11833 'ÞÞ¬ÞÞ°ÞÞªÞÞ¦ÞÞ©', 11834 'ÞÞ§ÞÞ¨ÞÞª', 11835 'ÞÞÞÞ°ÞÞ©ÞÞª', 11836 'ÞÞ', 11837 'ÞÞ«ÞÞ°', 11838 'ÞÞªÞÞ¦ÞÞ¨',
11839 'ÞÞ¯ÞÞ¦ÞÞ°ÞÞª', 11840 'ÞÞ¬ÞÞ°ÞÞ¬ÞÞ°ÞÞ¦ÞÞª', 11841 'ÞÞ®ÞÞ°ÞÞ¯ÞÞ¦ÞÞª', 11842 'ÞÞ®ÞÞ¬ÞÞ°ÞÞ¦ÞÞª', 11843 'ÞÞ¨ÞÞ¬ÞÞ°ÞÞ¦ÞÞª', 11844 ], 11845 weekdays = [ 11846 'ÞÞ§ÞÞ¨ÞÞ°ÞÞ¦', 11847 'ÞÞ¯ÞÞ¦', 11848 'ÞÞ¦ÞÞ°ÞÞ§ÞÞ¦', 11849 'ÞÞªÞÞ¦', 11850 'ÞÞªÞÞ§ÞÞ°ÞÞ¦ÞÞ¨', 11851 'ÞÞªÞÞªÞÞª', 11852 'ÞÞ®ÞÞ¨ÞÞ¨ÞÞª', 11853 ]; 11854 11855 var dv = moment.defineLocale('dv', { 11856 months: months, 11857 monthsShort: months, 11858 weekdays: weekdays, 11859 weekdaysShort: weekdays, 11860 weekdaysMin: 'ÞÞ§ÞÞ¨_ÞÞ¯ÞÞ¦_ÞÞ¦ÞÞ°_ÞÞªÞÞ¦_ÞÞªÞÞ§_ÞÞªÞÞª_ÞÞ®ÞÞ¨'.split('_'), 11861 longDateFormat: { 11862 LT: 'HH:mm', 11863 LTS: 'HH:mm:ss', 11864 L: 'D/M/YYYY', 11865 LL: 'D MMMM YYYY', 11866 LLL: 'D MMMM YYYY HH:mm', 11867 LLLL: 'dddd D MMMM YYYY HH:mm', 11868 }, 11869 meridiemParse: /ÞÞ|ÞÞ/, 11870 isPM: function (input) { 11871 return 'ÞÞ' === input; 11872 }, 11873 meridiem: function (hour, minute, isLower) { 11874 if (hour < 12) { 11875 return 'ÞÞ'; 11876 } else { 11877 return 'ÞÞ'; 11878 } 11879 }, 11880 calendar: { 11881 sameDay: '[ÞÞ¨ÞÞ¦ÞÞª] LT', 11882 nextDay: '[ÞÞ§ÞÞ¦ÞÞ§] LT', 11883 nextWeek: 'dddd LT', 11884 lastDay: '[ÞÞ¨ÞÞ°ÞÞ¬] LT', 11885 lastWeek: '[ÞÞ§ÞÞ¨ÞÞªÞÞ¨] dddd LT', 11886 sameElse: 'L', 11887 }, 11888 relativeTime: { 11889 future: 'ÞÞ¬ÞÞÞÞ¦ÞÞ¨ %s', 11890 past: 'ÞÞªÞÞ¨ÞÞ° %s', 11891 s: 'ÞÞ¨ÞÞªÞÞ°ÞÞªÞÞ®Þ Þ¬ÞÞ°', 11892 ss: 'd% ÞÞ¨ÞÞªÞÞ°ÞÞª', 11893 m: 'ÞÞ¨ÞÞ¨ÞÞ¬ÞÞ°', 11894 mm: 'ÞÞ¨ÞÞ¨ÞÞª %d', 11895 h: 'ÞÞ¦ÞÞ¨ÞÞ¨ÞÞ¬ÞÞ°', 11896 hh: 'ÞÞ¦ÞÞ¨ÞÞ¨ÞÞª %d', 11897 d: 'ÞÞªÞÞ¦ÞÞ¬ÞÞ°', 11898 dd: 'ÞÞªÞÞ¦ÞÞ° %d', 11899 M: 'ÞÞ¦ÞÞ¬ÞÞ°', 11900 MM: 'ÞÞ¦ÞÞ° %d', 11901 y: 'ÞÞ¦ÞÞ¦ÞÞ¬ÞÞ°', 11902 yy: 'ÞÞ¦ÞÞ¦ÞÞª %d', 11903 }, 11904 preparse: function (string) { 11905 return string.replace(/Ø/g, ','); 11906 }, 11907 postformat: function (string) { 11908 return string.replace(/,/g, 'Ø'); 11909 }, 11910 week: { 11911 dow: 7, // Sunday is the first day of the week. 11912 doy: 12, // The week that contains Jan 12th is the first week of the year. 11913 }, 11914 }); 11915 11916 return dv; 11917 11918 }))); 11919 11920 11921/***/ }), 11922/* 52 */ 11923/***/ (function(module, exports, __webpack_require__) { 11924 11925 //! moment.js locale configuration 11926 //! locale : Greek [el] 11927 //! author : Aggelos Karalias : https://github.com/mehiel 11928 11929 ;(function (global, factory) { 11930 true ? factory(__webpack_require__(1)) : 11931 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 11932 factory(global.moment) 11933 }(this, (function (moment) { 'use strict'; 11934 11935 //! moment.js locale configuration 11936 11937 function isFunction(input) { 11938 return ( 11939 (typeof Function !== 'undefined' && input instanceof Function) || 11940 Object.prototype.toString.call(input) === '[object Function]' 11941 ); 11942 } 11943 11944 var el = moment.defineLocale('el', { 11945 monthsNominativeEl: 'ÎÎ±Î½Î¿Ï Î¬ÏιοÏ_ΦεβÏÎ¿Ï Î¬ÏιοÏ_ÎάÏÏιοÏ_ÎÏÏίλιοÏ_ÎάιοÏ_ÎοÏνιοÏ_ÎοÏλιοÏ_ÎÏÎ³Î¿Ï ÏÏοÏ_ΣεÏÏÎμβÏιοÏ_ÎκÏÏβÏιοÏ_ÎοÎμβÏιοÏ_ÎεκÎμβÏιοÏ'.split( 11946 '_' 11947 ), 11948 monthsGenitiveEl: 'ÎÎ±Î½Î¿Ï Î±ÏÎ¯Î¿Ï _ΦεβÏÎ¿Ï Î±ÏÎ¯Î¿Ï _ÎαÏÏÎ¯Î¿Ï _ÎÏÏÎ¹Î»Î¯Î¿Ï _ÎαÎÎ¿Ï _ÎÎ¿Ï Î½Î¯Î¿Ï _ÎÎ¿Ï Î»Î¯Î¿Ï _ÎÏ Î³Î¿ÏÏÏÎ¿Ï _ΣεÏÏεμβÏÎ¯Î¿Ï _ÎκÏÏβÏÎ¯Î¿Ï _ÎοεμβÏÎ¯Î¿Ï _ÎεκεμβÏÎ¯Î¿Ï '.split( 11949 '_' 11950 ), 11951 months: function (momentToFormat, format) { 11952 if (!momentToFormat) { 11953 return this._monthsNominativeEl; 11954 } else if ( 11955 typeof format === 'string' && 11956 /D/.test(format.substring(0, format.indexOf('MMMM'))) 11957 ) { 11958 // if there is a day number before 'MMMM' 11959 return this._monthsGenitiveEl[momentToFormat.month()]; 11960 } else { 11961 return this._monthsNominativeEl[momentToFormat.month()]; 11962 } 11963 }, 11964 monthsShort: 'Îαν_Φεβ_ÎαÏ_ÎÏÏ_ÎαÏ_ÎÎ¿Ï Î½_ÎÎ¿Ï Î»_ÎÏ Î³_ΣεÏ_ÎκÏ_Îοε_Îεκ'.split('_'), 11965 weekdays: 'ÎÏ Ïιακή_ÎÎµÏ ÏÎÏα_ΤÏίÏη_ΤεÏάÏÏη_Î ÎμÏÏη_ΠαÏαÏÎºÎµÏ Î®_ΣάββαÏο'.split( 11966 '_' 11967 ), 11968 weekdaysShort: 'ÎÏ Ï_ÎÎµÏ _ΤÏι_ΤεÏ_Πεμ_ΠαÏ_Σαβ'.split('_'), 11969 weekdaysMin: 'ÎÏ _Îε_ΤÏ_Τε_Πε_Πα_Σα'.split('_'), 11970 meridiem: function (hours, minutes, isLower) { 11971 if (hours > 11) { 11972 return isLower ? 'μμ' : 'ÎÎ'; 11973 } else { 11974 return isLower ? 'Ïμ' : 'Î Î'; 11975 } 11976 }, 11977 isPM: function (input) { 11978 return (input + '').toLowerCase()[0] === 'μ'; 11979 }, 11980 meridiemParse: /[Î Î]\.?Î?\.?/i, 11981 longDateFormat: { 11982 LT: 'h:mm A', 11983 LTS: 'h:mm:ss A', 11984 L: 'DD/MM/YYYY', 11985 LL: 'D MMMM YYYY', 11986 LLL: 'D MMMM YYYY h:mm A', 11987 LLLL: 'dddd, D MMMM YYYY h:mm A', 11988 }, 11989 calendarEl: { 11990 sameDay: '[ΣήμεÏα {}] LT', 11991 nextDay: '[ÎÏÏιο {}] LT', 11992 nextWeek: 'dddd [{}] LT', 11993 lastDay: '[Î§Î¸ÎµÏ {}] LT', 11994 lastWeek: function () { 11995 switch (this.day()) { 11996 case 6: 11997 return '[Ïο ÏÏοηγοÏμενο] dddd [{}] LT'; 11998 default: 11999 return '[Ïην ÏÏοηγοÏμενη] dddd [{}] LT'; 12000 } 12001 }, 12002 sameElse: 'L', 12003 }, 12004 calendar: function (key, mom) { 12005 var output = this._calendarEl[key], 12006 hours = mom && mom.hours(); 12007 if (isFunction(output)) { 12008 output = output.apply(mom); 12009 } 12010 return output.replace('{}', hours % 12 === 1 ? 'ÏÏη' : 'ÏÏιÏ'); 12011 }, 12012 relativeTime: { 12013 future: 'Ïε %s', 12014 past: '%s ÏÏιν', 12015 s: 'λίγα Î´ÎµÏ ÏεÏÏλεÏÏα', 12016 ss: '%d Î´ÎµÏ ÏεÏÏλεÏÏα', 12017 m: 'Îνα λεÏÏÏ', 12018 mm: '%d λεÏÏά', 12019 h: 'μία ÏÏα', 12020 hh: '%d ÏÏεÏ', 12021 d: 'μία μÎÏα', 12022 dd: '%d μÎÏεÏ',
12023 M: 'ÎÎ½Î±Ï Î¼Î®Î½Î±Ï', 12024 MM: '%d μήνεÏ', 12025 y: 'ÎÎ½Î±Ï ÏÏÏνοÏ', 12026 yy: '%d ÏÏÏνια', 12027 }, 12028 dayOfMonthOrdinalParse: /\d{1,2}η/, 12029 ordinal: '%dη', 12030 week: { 12031 dow: 1, // Monday is the first day of the week. 12032 doy: 4, // The week that contains Jan 4st is the first week of the year. 12033 }, 12034 }); 12035 12036 return el; 12037 12038 }))); 12039 12040 12041/***/ }), 12042/* 53 */ 12043/***/ (function(module, exports, __webpack_require__) { 12044 12045 //! moment.js locale configuration 12046 //! locale : English (Australia) [en-au] 12047 //! author : Jared Morse : https://github.com/jarcoal 12048 12049 ;(function (global, factory) { 12050 true ? factory(__webpack_require__(1)) : 12051 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 12052 factory(global.moment) 12053 }(this, (function (moment) { 'use strict'; 12054 12055 //! moment.js locale configuration 12056 12057 var enAu = moment.defineLocale('en-au', { 12058 months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split( 12059 '_' 12060 ), 12061 monthsShort: 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'), 12062 weekdays: 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split( 12063 '_' 12064 ), 12065 weekdaysShort: 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'), 12066 weekdaysMin: 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'), 12067 longDateFormat: { 12068 LT: 'h:mm A', 12069 LTS: 'h:mm:ss A', 12070 L: 'DD/MM/YYYY', 12071 LL: 'D MMMM YYYY', 12072 LLL: 'D MMMM YYYY h:mm A', 12073 LLLL: 'dddd, D MMMM YYYY h:mm A', 12074 }, 12075 calendar: { 12076 sameDay: '[Today at] LT', 12077 nextDay: '[Tomorrow at] LT', 12078 nextWeek: 'dddd [at] LT', 12079 lastDay: '[Yesterday at] LT', 12080 lastWeek: '[Last] dddd [at] LT', 12081 sameElse: 'L', 12082 }, 12083 relativeTime: { 12084 future: 'in %s', 12085 past: '%s ago', 12086 s: 'a few seconds', 12087 ss: '%d seconds', 12088 m: 'a minute', 12089 mm: '%d minutes', 12090 h: 'an hour', 12091 hh: '%d hours', 12092 d: 'a day', 12093 dd: '%d days', 12094 M: 'a month', 12095 MM: '%d months', 12096 y: 'a year', 12097 yy: '%d years', 12098 }, 12099 dayOfMonthOrdinalParse: /\d{1,2}(st|nd|rd|th)/, 12100 ordinal: function (number) { 12101 var b = number % 10, 12102 output = 12103 ~~((number % 100) / 10) === 1 12104 ? 'th' 12105 : b === 1 12106 ? 'st' 12107 : b === 2 12108 ? 'nd' 12109 : b === 3 12110 ? 'rd' 12111 : 'th'; 12112 return number + output; 12113 }, 12114 week: { 12115 dow: 0, // Sunday is the first day of the week. 12116 doy: 4, // The week that contains Jan 4th is the first week of the year. 12117 }, 12118 }); 12119 12120 return enAu; 12121 12122 }))); 12123 12124 12125/***/ }), 12126/* 54 */ 12127/***/ (function(module, exports, __webpack_require__) { 12128 12129 //! moment.js locale configuration 12130 //! locale : English (Canada) [en-ca] 12131 //! author : Jonathan Abourbih : https://github.com/jonbca 12132 12133 ;(function (global, factory) { 12134 true ? factory(__webpack_require__(1)) : 12135 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 12136 factory(global.moment) 12137 }(this, (function (moment) { 'use strict'; 12138 12139 //! moment.js locale configuration 12140 12141 var enCa = moment.defineLocale('en-ca', { 12142 months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split( 12143 '_' 12144 ), 12145 monthsShort: 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'), 12146 weekdays: 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split( 12147 '_' 12148 ), 12149 weekdaysShort: 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'), 12150 weekdaysMin: 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'), 12151 longDateFormat: { 12152 LT: 'h:mm A', 12153 LTS: 'h:mm:ss A', 12154 L: 'YYYY-MM-DD', 12155 LL: 'MMMM D, YYYY', 12156 LLL: 'MMMM D, YYYY h:mm A', 12157 LLLL: 'dddd, MMMM D, YYYY h:mm A', 12158 }, 12159 calendar: { 12160 sameDay: '[Today at] LT', 12161 nextDay: '[Tomorrow at] LT', 12162 nextWeek: 'dddd [at] LT', 12163 lastDay: '[Yesterday at] LT', 12164 lastWeek: '[Last] dddd [at] LT', 12165 sameElse: 'L', 12166 }, 12167 relativeTime: { 12168 future: 'in %s', 12169 past: '%s ago', 12170 s: 'a few seconds', 12171 ss: '%d seconds', 12172 m: 'a minute', 12173 mm: '%d minutes', 12174 h: 'an hour', 12175 hh: '%d hours', 12176 d: 'a day', 12177 dd: '%d days', 12178 M: 'a month', 12179 MM: '%d months', 12180 y: 'a year', 12181 yy: '%d years', 12182 }, 12183 dayOfMonthOrdinalParse: /\d{1,2}(st|nd|rd|th)/, 12184 ordinal: function (number) { 12185 var b = number % 10, 12186 output = 12187 ~~((number % 100) / 10) === 1 12188 ? 'th' 12189 : b === 1 12190 ? 'st' 12191 : b === 2 12192 ? 'nd' 12193 : b === 3 12194 ? 'rd' 12195 : 'th'; 12196 return number + output; 12197 }, 12198 }); 12199 12200 return enCa; 12201 12202 }))); 12203 12204 12205/***/ }), 12206/* 55 */ 12207/***/ (function(module, exports, __webpack_require__) { 12208 12209 //! moment.js locale configuration 12210 //! locale : English (United Kingdom) [en-gb] 12211 //! author : Chris Gedrim : https://github.com/chrisgedrim 12212 12213 ;(function (global, factory) { 12214 true ? factory(__webpack_require__(1)) : 12215 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 12216 factory(global.moment) 12217 }(this, (function (moment) { 'use strict'; 12218 12219 //! moment.js locale configuration 12220 12221 var enGb = moment.defineLocale('en-gb', { 12222 months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split( 12223 '_' 12224 ), 12225 monthsShort: 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'), 12226 weekdays: 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split( 12227 '_' 12228 ), 12229 weekdaysShort: 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'), 12230 weekdaysMin: 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'), 12231 longDateFormat: { 12232 LT: 'HH:mm', 12233 LTS: 'HH:mm:ss', 12234 L: 'DD/MM/YYYY', 12235 LL: 'D MMMM YYYY', 12236 LLL: 'D MMMM YYYY HH:mm', 12237 LLLL: 'dddd, D MMMM YYYY HH:mm', 12238 }, 12239 calendar: { 12240 sameDay: '[Today at] LT', 12241 nextDay: '[Tomorrow at] LT', 12242 nextWeek: 'dddd [at] LT', 12243 lastDay: '[Yesterday at] LT', 12244 lastWeek: '[Last] dddd [at] LT', 12245 sameElse: 'L', 12246 }, 12247 relativeTime: { 12248 future: 'in %s', 12249 past: '%s ago', 12250 s: 'a few seconds', 12251 ss: '%d seconds', 12252 m: 'a minute', 12253 mm: '%d minutes', 12254 h: 'an hour', 12255 hh: '%d hours', 12256 d: 'a day', 12257 dd: '%d days', 12258 M: 'a month', 12259 MM: '%d months', 12260 y: 'a year', 12261 yy: '%d years', 12262 }, 12263 dayOfMonthOrdinalParse: /\d{1,2}(st|nd|rd|th)/, 12264 ordinal: function (number) { 12265 var b = number % 10, 12266 output = 12267 ~~((number % 100) / 10) === 1 12268 ? 'th' 12269 : b === 1 12270 ? 'st' 12271 : b === 2 12272 ? 'nd' 12273 : b === 3 12274 ? 'rd' 12275 : 'th'; 12276 return number + output; 12277 }, 12278 week: { 12279 dow: 1, // Monday is the first day of the week. 12280 doy: 4, // The week that contains Jan 4th is the first week of the year. 12281 }, 12282 }); 12283 12284 return enGb;
12285 12286 }))); 12287 12288 12289/***/ }), 12290/* 56 */ 12291/***/ (function(module, exports, __webpack_require__) { 12292 12293 //! moment.js locale configuration 12294 //! locale : English (Ireland) [en-ie] 12295 //! author : Chris Cartlidge : https://github.com/chriscartlidge 12296 12297 ;(function (global, factory) { 12298 true ? factory(__webpack_require__(1)) : 12299 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 12300 factory(global.moment) 12301 }(this, (function (moment) { 'use strict'; 12302 12303 //! moment.js locale configuration 12304 12305 var enIe = moment.defineLocale('en-ie', { 12306 months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split( 12307 '_' 12308 ), 12309 monthsShort: 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'), 12310 weekdays: 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split( 12311 '_' 12312 ), 12313 weekdaysShort: 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'), 12314 weekdaysMin: 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'), 12315 longDateFormat: { 12316 LT: 'HH:mm', 12317 LTS: 'HH:mm:ss', 12318 L: 'DD/MM/YYYY', 12319 LL: 'D MMMM YYYY', 12320 LLL: 'D MMMM YYYY HH:mm', 12321 LLLL: 'dddd D MMMM YYYY HH:mm', 12322 }, 12323 calendar: { 12324 sameDay: '[Today at] LT', 12325 nextDay: '[Tomorrow at] LT', 12326 nextWeek: 'dddd [at] LT', 12327 lastDay: '[Yesterday at] LT', 12328 lastWeek: '[Last] dddd [at] LT', 12329 sameElse: 'L', 12330 }, 12331 relativeTime: { 12332 future: 'in %s', 12333 past: '%s ago', 12334 s: 'a few seconds', 12335 ss: '%d seconds', 12336 m: 'a minute', 12337 mm: '%d minutes', 12338 h: 'an hour', 12339 hh: '%d hours', 12340 d: 'a day', 12341 dd: '%d days', 12342 M: 'a month', 12343 MM: '%d months', 12344 y: 'a year', 12345 yy: '%d years', 12346 }, 12347 dayOfMonthOrdinalParse: /\d{1,2}(st|nd|rd|th)/, 12348 ordinal: function (number) { 12349 var b = number % 10, 12350 output = 12351 ~~((number % 100) / 10) === 1 12352 ? 'th' 12353 : b === 1 12354 ? 'st' 12355 : b === 2 12356 ? 'nd' 12357 : b === 3 12358 ? 'rd' 12359 : 'th'; 12360 return number + output; 12361 }, 12362 week: { 12363 dow: 1, // Monday is the first day of the week. 12364 doy: 4, // The week that contains Jan 4th is the first week of the year. 12365 }, 12366 }); 12367 12368 return enIe; 12369 12370 }))); 12371 12372 12373/***/ }), 12374/* 57 */ 12375/***/ (function(module, exports, __webpack_require__) { 12376 12377 //! moment.js locale configuration 12378 //! locale : English (Israel) [en-il] 12379 //! author : Chris Gedrim : https://github.com/chrisgedrim 12380 12381 ;(function (global, factory) { 12382 true ? factory(__webpack_require__(1)) : 12383 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 12384 factory(global.moment) 12385 }(this, (function (moment) { 'use strict'; 12386 12387 //! moment.js locale configuration 12388 12389 var enIl = moment.defineLocale('en-il', { 12390 months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split( 12391 '_' 12392 ), 12393 monthsShort: 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'), 12394 weekdays: 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split( 12395 '_' 12396 ), 12397 weekdaysShort: 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'), 12398 weekdaysMin: 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'), 12399 longDateFormat: { 12400 LT: 'HH:mm', 12401 LTS: 'HH:mm:ss', 12402 L: 'DD/MM/YYYY', 12403 LL: 'D MMMM YYYY', 12404 LLL: 'D MMMM YYYY HH:mm', 12405 LLLL: 'dddd, D MMMM YYYY HH:mm', 12406 }, 12407 calendar: { 12408 sameDay: '[Today at] LT', 12409 nextDay: '[Tomorrow at] LT', 12410 nextWeek: 'dddd [at] LT', 12411 lastDay: '[Yesterday at] LT', 12412 lastWeek: '[Last] dddd [at] LT', 12413 sameElse: 'L', 12414 }, 12415 relativeTime: { 12416 future: 'in %s', 12417 past: '%s ago', 12418 s: 'a few seconds', 12419 ss: '%d seconds', 12420 m: 'a minute', 12421 mm: '%d minutes', 12422 h: 'an hour', 12423 hh: '%d hours', 12424 d: 'a day', 12425 dd: '%d days', 12426 M: 'a month', 12427 MM: '%d months', 12428 y: 'a year', 12429 yy: '%d years', 12430 }, 12431 dayOfMonthOrdinalParse: /\d{1,2}(st|nd|rd|th)/, 12432 ordinal: function (number) { 12433 var b = number % 10, 12434 output = 12435 ~~((number % 100) / 10) === 1 12436 ? 'th' 12437 : b === 1 12438 ? 'st' 12439 : b === 2 12440 ? 'nd' 12441 : b === 3 12442 ? 'rd' 12443 : 'th'; 12444 return number + output; 12445 }, 12446 }); 12447 12448 return enIl; 12449 12450 }))); 12451 12452 12453/***/ }), 12454/* 58 */ 12455/***/ (function(module, exports, __webpack_require__) { 12456 12457 //! moment.js locale configuration 12458 //! locale : English (India) [en-in] 12459 //! author : Jatin Agrawal : https://github.com/jatinag22 12460 12461 ;(function (global, factory) { 12462 true ? factory(__webpack_require__(1)) : 12463 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 12464 factory(global.moment) 12465 }(this, (function (moment) { 'use strict'; 12466 12467 //! moment.js locale configuration 12468 12469 var enIn = moment.defineLocale('en-in', { 12470 months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split( 12471 '_' 12472 ), 12473 monthsShort: 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'), 12474 weekdays: 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split( 12475 '_' 12476 ), 12477 weekdaysShort: 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'), 12478 weekdaysMin: 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'), 12479 longDateFormat: { 12480 LT: 'h:mm A', 12481 LTS: 'h:mm:ss A', 12482 L: 'DD/MM/YYYY', 12483 LL: 'D MMMM YYYY', 12484 LLL: 'D MMMM YYYY h:mm A', 12485 LLLL: 'dddd, D MMMM YYYY h:mm A', 12486 }, 12487 calendar: { 12488 sameDay: '[Today at] LT', 12489 nextDay: '[Tomorrow at] LT', 12490 nextWeek: 'dddd [at] LT', 12491 lastDay: '[Yesterday at] LT', 12492 lastWeek: '[Last] dddd [at] LT', 12493 sameElse: 'L', 12494 }, 12495 relativeTime: { 12496 future: 'in %s', 12497 past: '%s ago', 12498 s: 'a few seconds', 12499 ss: '%d seconds', 12500 m: 'a minute', 12501 mm: '%d minutes', 12502 h: 'an hour', 12503 hh: '%d hours', 12504 d: 'a day', 12505 dd: '%d days', 12506 M: 'a month', 12507 MM: '%d months', 12508 y: 'a year', 12509 yy: '%d years', 12510 }, 12511 dayOfMonthOrdinalParse: /\d{1,2}(st|nd|rd|th)/, 12512 ordinal: function (number) { 12513 var b = number % 10, 12514 output = 12515 ~~((number % 100) / 10) === 1 12516 ? 'th' 12517 : b === 1 12518 ? 'st' 12519 : b === 2 12520 ? 'nd' 12521 : b === 3 12522 ? 'rd' 12523 : 'th'; 12524 return number + output; 12525 }, 12526 week: { 12527 dow: 0, // Sunday is the first day of the week. 12528 doy: 6, // The week that contains Jan 1st is the first week of the year. 12529 }, 12530 }); 12531 12532 return enIn; 12533 12534 }))); 12535 12536 12537/***/ }), 12538/* 59 */ 12539/***/ (function(module, exports, __webpack_require__) { 12540 12541 //! moment.js locale configuration 12542 //! locale : English (New Zealand) [en-nz] 12543 //! author : Luke McGregor : https://github.com/lukemcgregor 12544 12545 ;(function (global, factory) { 12546 true ? factory(__webpack_require__(1)) : 12547 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 12548 factory(global.moment) 12549 }(this, (function (moment) { 'use strict'; 12550 12551 //! moment.js locale configuration 12552 12553 var enNz = moment.defineLocale('en-nz', { 12554 months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split( 12555 '_' 12556 ), 12557 monthsShort: 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'), 12558 weekdays: 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split( 12559 '_' 12560 ), 12561 weekdaysShort: 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'), 12562 weekdaysMin: 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'), 12563 longDateFormat: { 12564 LT: 'h:mm A', 12565 LTS: 'h:mm:ss A', 12566 L: 'DD/MM/YYYY', 12567 LL: 'D MMMM YYYY', 12568 LLL: 'D MMMM YYYY h:mm A', 12569 LLLL: 'dddd, D MMMM YYYY h:mm A', 12570 }, 12571 calendar: { 12572 sameDay: '[Today at] LT', 12573 nextDay: '[Tomorrow at] LT', 12574 nextWeek: 'dddd [at] LT', 12575 lastDay: '[Yesterday at] LT', 12576 lastWeek: '[Last] dddd [at] LT', 12577 sameElse: 'L', 12578 }, 12579 relativeTime: { 12580 future: 'in %s', 12581 past: '%s ago', 12582 s: 'a few seconds', 12583 ss: '%d seconds', 12584 m: 'a minute', 12585 mm: '%d minutes', 12586 h: 'an hour', 12587 hh: '%d hours', 12588 d: 'a day', 12589 dd: '%d days', 12590 M: 'a month', 12591 MM: '%d months', 12592 y: 'a year', 12593 yy: '%d years', 12594 }, 12595 dayOfMonthOrdinalParse: /\d{1,2}(st|nd|rd|th)/, 12596 ordinal: function (number) { 12597 var b = number % 10, 12598 output = 12599 ~~((number % 100) / 10) === 1 12600 ? 'th' 12601 : b === 1 12602 ? 'st' 12603 : b === 2 12604 ? 'nd' 12605 : b === 3 12606 ? 'rd' 12607 : 'th'; 12608 return number + output; 12609 }, 12610 week: { 12611 dow: 1, // Monday is the first day of the week. 12612 doy: 4, // The week that contains Jan 4th is the first week of the year. 12613 }, 12614 }); 12615 12616 return enNz; 12617 12618 }))); 12619 12620 12621/***/ }), 12622/* 60 */ 12623/***/ (function(module, exports, __webpack_require__) { 12624 12625 //! moment.js locale configuration 12626 //! locale : English (Singapore) [en-sg] 12627 //! author : Matthew Castrillon-Madrigal : https://github.com/techdimension 12628 12629 ;(function (global, factory) { 12630 true ? factory(__webpack_require__(1)) : 12631 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 12632 factory(global.moment) 12633 }(this, (function (moment) { 'use strict'; 12634 12635 //! moment.js locale configuration 12636 12637 var enSg = moment.defineLocale('en-sg', { 12638 months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split( 12639 '_' 12640 ), 12641 monthsShort: 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'), 12642 weekdays: 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split( 12643 '_' 12644 ), 12645 weekdaysShort: 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'), 12646 weekdaysMin: 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'), 12647 longDateFormat: { 12648 LT: 'HH:mm', 12649 LTS: 'HH:mm:ss', 12650 L: 'DD/MM/YYYY', 12651 LL: 'D MMMM YYYY', 12652 LLL: 'D MMMM YYYY HH:mm', 12653 LLLL: 'dddd, D MMMM YYYY HH:mm', 12654 }, 12655 calendar: { 12656 sameDay: '[Today at] LT', 12657 nextDay: '[Tomorrow at] LT', 12658 nextWeek: 'dddd [at] LT', 12659 lastDay: '[Yesterday at] LT', 12660 lastWeek: '[Last] dddd [at] LT', 12661 sameElse: 'L', 12662 }, 12663 relativeTime: { 12664 future: 'in %s', 12665 past: '%s ago', 12666 s: 'a few seconds', 12667 ss: '%d seconds', 12668 m: 'a minute', 12669 mm: '%d minutes', 12670 h: 'an hour', 12671 hh: '%d hours', 12672 d: 'a day', 12673 dd: '%d days', 12674 M: 'a month', 12675 MM: '%d months', 12676 y: 'a year', 12677 yy: '%d years', 12678 }, 12679 dayOfMonthOrdinalParse: /\d{1,2}(st|nd|rd|th)/, 12680 ordinal: function (number) { 12681 var b = number % 10, 12682 output = 12683 ~~((number % 100) / 10) === 1 12684 ? 'th' 12685 : b === 1 12686 ? 'st' 12687 : b === 2 12688 ? 'nd' 12689 : b === 3 12690 ? 'rd' 12691 : 'th'; 12692 return number + output; 12693 }, 12694 week: { 12695 dow: 1, // Monday is the first day of the week. 12696 doy: 4, // The week that contains Jan 4th is the first week of the year. 12697 }, 12698 }); 12699 12700 return enSg; 12701 12702 }))); 12703 12704 12705/***/ }), 12706/* 61 */ 12707/***/ (function(module, exports, __webpack_require__) { 12708 12709 //! moment.js locale configuration 12710 //! locale : Esperanto [eo] 12711 //! author : Colin Dean : https://github.com/colindean 12712 //! author : Mia Nordentoft Imperatori : https://github.com/miestasmia 12713 //! comment : miestasmia corrected the translation by colindean 12714 //! comment : Vivakvo corrected the translation by colindean and miestasmia 12715 12716 ;(function (global, factory) { 12717 true ? factory(__webpack_require__(1)) : 12718 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 12719 factory(global.moment) 12720 }(this, (function (moment) { 'use strict'; 12721 12722 //! moment.js locale configuration 12723 12724 var eo = moment.defineLocale('eo', { 12725 months: 'januaro_februaro_marto_aprilo_majo_junio_julio_aÅgusto_septembro_oktobro_novembro_decembro'.split( 12726 '_' 12727 ), 12728 monthsShort: 'jan_feb_mart_apr_maj_jun_jul_aÅg_sept_okt_nov_dec'.split('_'), 12729 weekdays: 'dimanÄo_lundo_mardo_merkredo_ĵaÅdo_vendredo_sabato'.split('_'), 12730 weekdaysShort: 'dim_lun_mard_merk_ĵaÅ_ven_sab'.split('_'), 12731 weekdaysMin: 'di_lu_ma_me_ĵa_ve_sa'.split('_'), 12732 longDateFormat: { 12733 LT: 'HH:mm', 12734 LTS: 'HH:mm:ss', 12735 L: 'YYYY-MM-DD', 12736 LL: '[la] D[-an de] MMMM, YYYY', 12737 LLL: '[la] D[-an de] MMMM, YYYY HH:mm', 12738 LLLL: 'dddd[n], [la] D[-an de] MMMM, YYYY HH:mm', 12739 llll: 'ddd, [la] D[-an de] MMM, YYYY HH:mm', 12740 }, 12741 meridiemParse: /[ap]\.t\.m/i, 12742 isPM: function (input) { 12743 return input.charAt(0).toLowerCase() === 'p'; 12744 }, 12745 meridiem: function (hours, minutes, isLower) { 12746 if (hours > 11) { 12747 return isLower ? 'p.t.m.' : 'P.T.M.'; 12748 } else { 12749 return isLower ? 'a.t.m.' : 'A.T.M.'; 12750 } 12751 }, 12752 calendar: { 12753 sameDay: '[HodiaÅ je] LT', 12754 nextDay: '[MorgaÅ je] LT', 12755 nextWeek: 'dddd[n je] LT', 12756 lastDay: '[HieraÅ je] LT', 12757 lastWeek: '[pasintan] dddd[n je] LT', 12758 sameElse: 'L', 12759 }, 12760 relativeTime: { 12761 future: 'post %s', 12762 past: 'antaÅ %s', 12763 s: 'kelkaj sekundoj', 12764 ss: '%d sekundoj', 12765 m: 'unu minuto', 12766 mm: '%d minutoj', 12767 h: 'unu horo', 12768 hh: '%d horoj', 12769 d: 'unu tago', //ne 'diurno', Äar estas uzita por proksimumo 12770 dd: '%d tagoj', 12771 M: 'unu monato', 12772 MM: '%d monatoj', 12773 y: 'unu jaro', 12774 yy: '%d jaroj', 12775 }, 12776 dayOfMonthOrdinalParse: /\d{1,2}a/, 12777 ordinal: '%da', 12778 week: { 12779 dow: 1, // Monday is the first day of the week. 12780 doy: 7, // The week that contains Jan 7th is the first week of the year. 12781 }, 12782 }); 12783 12784 return eo; 12785 12786 }))); 12787 12788 12789/***/ }), 12790/* 62 */ 12791/***/ (function(module, exports, __webpack_require__) { 12792 12793 //! moment.js locale c
vendor: 12,735 bytes, lines 12793-13152
12793onfiguration 12794 //! locale : Spanish (Dominican Republic) [es-do] 12795 12796 ;(function (global, factory) { 12797 true ? factory(__webpack_require__(1)) : 12798 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 12799 factory(global.moment) 12800 }(this, (function (moment) { 'use strict'; 12801 12802 //! moment.js locale configuration 12803 12804 var monthsShortDot = 'ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.'.split( 12805 '_' 12806 ), 12807 monthsShort = 'ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic'.split('_'), 12808 monthsParse = [ 12809 /^ene/i, 12810 /^feb/i, 12811 /^mar/i, 12812 /^abr/i, 12813 /^may/i, 12814 /^jun/i, 12815 /^jul/i, 12816 /^ago/i, 12817 /^sep/i, 12818 /^oct/i, 12819 /^nov/i, 12820 /^dic/i, 12821 ], 12822 monthsRegex = /^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i; 12823 12824 var esDo = moment.defineLocale('es-do', { 12825 months: 'enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre'.split( 12826 '_' 12827 ), 12828 monthsShort: function (m, format) { 12829 if (!m) { 12830 return monthsShortDot; 12831 } else if (/-MMM-/.test(format)) { 12832 return monthsShort[m.month()]; 12833 } else { 12834 return monthsShortDot[m.month()]; 12835 } 12836 }, 12837 monthsRegex: monthsRegex, 12838 monthsShortRegex: monthsRegex, 12839 monthsStrictRegex: /^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i, 12840 monthsShortStrictRegex: /^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i, 12841 monthsParse: monthsParse, 12842 longMonthsParse: monthsParse, 12843 shortMonthsParse: monthsParse, 12844 weekdays: 'domingo_lunes_martes_miércoles_jueves_viernes_sábado'.split('_'), 12845 weekdaysShort: 'dom._lun._mar._mié._jue._vie._sáb.'.split('_'), 12846 weekdaysMin: 'do_lu_ma_mi_ju_vi_sá'.split('_'), 12847 weekdaysParseExact: true, 12848 longDateFormat: { 12849 LT: 'h:mm A', 12850 LTS: 'h:mm:ss A', 12851 L: 'DD/MM/YYYY', 12852 LL: 'D [de] MMMM [de] YYYY', 12853 LLL: 'D [de] MMMM [de] YYYY h:mm A', 12854 LLLL: 'dddd, D [de] MMMM [de] YYYY h:mm A', 12855 }, 12856 calendar: { 12857 sameDay: function () { 12858 return '[hoy a la' + (this.hours() !== 1 ? 's' : '') + '] LT'; 12859 }, 12860 nextDay: function () { 12861 return '[mañana a la' + (this.hours() !== 1 ? 's' : '') + '] LT'; 12862 }, 12863 nextWeek: function () { 12864 return 'dddd [a la' + (this.hours() !== 1 ? 's' : '') + '] LT'; 12865 }, 12866 lastDay: function () { 12867 return '[ayer a la' + (this.hours() !== 1 ? 's' : '') + '] LT'; 12868 }, 12869 lastWeek: function () { 12870 return ( 12871 '[el] dddd [pasado a la' + 12872 (this.hours() !== 1 ? 's' : '') + 12873 '] LT' 12874 ); 12875 }, 12876 sameElse: 'L', 12877 }, 12878 relativeTime: { 12879 future: 'en %s', 12880 past: 'hace %s', 12881 s: 'unos segundos', 12882 ss: '%d segundos', 12883 m: 'un minuto', 12884 mm: '%d minutos', 12885 h: 'una hora', 12886 hh: '%d horas', 12887 d: 'un dÃa', 12888 dd: '%d dÃas', 12889 M: 'un mes', 12890 MM: '%d meses', 12891 y: 'un año', 12892 yy: '%d años', 12893 }, 12894 dayOfMonthOrdinalParse: /\d{1,2}º/, 12895 ordinal: '%dº', 12896 week: { 12897 dow: 1, // Monday is the first day of the week. 12898 doy: 4, // The week that contains Jan 4th is the first week of the year. 12899 }, 12900 }); 12901 12902 return esDo; 12903 12904 }))); 12905 12906 12907/***/ }), 12908/* 63 */ 12909/***/ (function(module, exports, __webpack_require__) { 12910 12911 //! moment.js locale configuration 12912 //! locale : Spanish (United States) [es-us] 12913 //! author : bustta : https://github.com/bustta 12914 //! author : chrisrodz : https://github.com/chrisrodz 12915 12916 ;(function (global, factory) { 12917 true ? factory(__webpack_require__(1)) : 12918 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 12919 factory(global.moment) 12920 }(this, (function (moment) { 'use strict'; 12921 12922 //! moment.js locale configuration 12923 12924 var monthsShortDot = 'ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.'.split( 12925 '_' 12926 ), 12927 monthsShort = 'ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic'.split('_'), 12928 monthsParse = [ 12929 /^ene/i, 12930 /^feb/i, 12931 /^mar/i, 12932 /^abr/i, 12933 /^may/i, 12934 /^jun/i, 12935 /^jul/i, 12936 /^ago/i, 12937 /^sep/i, 12938 /^oct/i, 12939 /^nov/i, 12940 /^dic/i, 12941 ], 12942 monthsRegex = /^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i; 12943 12944 var esUs = moment.defineLocale('es-us', { 12945 months: 'enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre'.split( 12946 '_' 12947 ), 12948 monthsShort: function (m, format) { 12949 if (!m) { 12950 return monthsShortDot; 12951 } else if (/-MMM-/.test(format)) { 12952 return monthsShort[m.month()]; 12953 } else { 12954 return monthsShortDot[m.month()]; 12955 } 12956 }, 12957 monthsRegex: monthsRegex, 12958 monthsShortRegex: monthsRegex, 12959 monthsStrictRegex: /^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i, 12960 monthsShortStrictRegex: /^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i, 12961 monthsParse: monthsParse, 12962 longMonthsParse: monthsParse, 12963 shortMonthsParse: monthsParse, 12964 weekdays: 'domingo_lunes_martes_miércoles_jueves_viernes_sábado'.split('_'), 12965 weekdaysShort: 'dom._lun._mar._mié._jue._vie._sáb.'.split('_'), 12966 weekdaysMin: 'do_lu_ma_mi_ju_vi_sá'.split('_'), 12967 weekdaysParseExact: true, 12968 longDateFormat: { 12969 LT: 'h:mm A', 12970 LTS: 'h:mm:ss A', 12971 L: 'MM/DD/YYYY', 12972 LL: 'D [de] MMMM [de] YYYY', 12973 LLL: 'D [de] MMMM [de] YYYY h:mm A', 12974 LLLL: 'dddd, D [de] MMMM [de] YYYY h:mm A', 12975 }, 12976 calendar: { 12977 sameDay: function () { 12978 return '[hoy a la' + (this.hours() !== 1 ? 's' : '') + '] LT'; 12979 }, 12980 nextDay: function () { 12981 return '[mañana a la' + (this.hours() !== 1 ? 's' : '') + '] LT'; 12982 }, 12983 nextWeek: function () { 12984 return 'dddd [a la' + (this.hours() !== 1 ? 's' : '') + '] LT'; 12985 }, 12986 lastDay: function () { 12987 return '[ayer a la' + (this.hours() !== 1 ? 's' : '') + '] LT'; 12988 }, 12989 lastWeek: function () { 12990 return ( 12991 '[el] dddd [pasado a la' + 12992 (this.hours() !== 1 ? 's' : '') + 12993 '] LT' 12994 ); 12995 }, 12996 sameElse: 'L', 12997 }, 12998 relativeTime: { 12999 future: 'en %s', 13000 past: 'hace %s', 13001 s: 'unos segundos', 13002 ss: '%d segundos', 13003 m: 'un minuto', 13004 mm: '%d minutos', 13005 h: 'una hora', 13006 hh: '%d horas', 13007 d: 'un dÃa', 13008 dd: '%d dÃas', 13009 M: 'un mes', 13010 MM: '%d meses', 13011 y: 'un año', 13012 yy: '%d años', 13013 }, 13014 dayOfMonthOrdinalParse: /\d{1,2}º/, 13015 ordinal: '%dº', 13016 week: { 13017 dow: 0, // Sunday is the first day of the week. 13018 doy: 6, // The week that contains Jan 6th is the first week of the year. 13019 }, 13020 }); 13021 13022 return esUs; 13023 13024 }))); 13025 13026 13027/***/ }), 13028/* 64 */ 13029/***/ (function(module, exports, __webpack_require__) { 13030 13031 //! moment.js locale configuration 13032 //! locale : Spanish [es] 13033 //! author : Julio Napurà : https://github.com/julionc 13034 13035 ;(function (global, factory) { 13036 true ? factory(__webpack_require__(1)) : 13037 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 13038 factory(global.moment) 13039 }(this, (function (moment) { 'use strict'; 13040 13041 //! moment.js locale configuration 13042 13043 var monthsShortDot = 'ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.'.split( 13044 '_' 13045 ), 13046 monthsShort = 'ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic'.split('_'), 13047 monthsParse = [ 13048 /^ene/i, 13049 /^feb/i, 13050 /^mar/i, 13051 /^abr/i, 13052 /^may/i, 13053 /^jun/i, 13054 /^jul/i, 13055 /^ago/i, 13056 /^sep/i, 13057 /^oct/i, 13058 /^nov/i, 13059 /^dic/i, 13060 ], 13061 monthsRegex = /^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i; 13062 13063 var es = moment.defineLocale('es', { 13064 months: 'enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre'.split( 13065 '_' 13066 ), 13067 monthsShort: function (m, format) { 13068 if (!m) { 13069 return monthsShortDot; 13070 } else if (/-MMM-/.test(format)) { 13071 return monthsShort[m.month()]; 13072 } else { 13073 return monthsShortDot[m.month()]; 13074 } 13075 }, 13076 monthsRegex: monthsRegex, 13077 monthsShortRegex: monthsRegex, 13078 monthsStrictRegex: /^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i, 13079 monthsShortStrictRegex: /^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i, 13080 monthsParse: monthsParse, 13081 longMonthsParse: monthsParse, 13082 shortMonthsParse: monthsParse, 13083 weekdays: 'domingo_lunes_martes_miércoles_jueves_viernes_sábado'.split('_'), 13084 weekdaysShort: 'dom._lun._mar._mié._jue._vie._sáb.'.split('_'), 13085 weekdaysMin: 'do_lu_ma_mi_ju_vi_sá'.split('_'), 13086 weekdaysParseExact: true, 13087 longDateFormat: { 13088 LT: 'H:mm', 13089 LTS: 'H:mm:ss', 13090 L: 'DD/MM/YYYY', 13091 LL: 'D [de] MMMM [de] YYYY', 13092 LLL: 'D [de] MMMM [de] YYYY H:mm', 13093 LLLL: 'dddd, D [de] MMMM [de] YYYY H:mm', 13094 }, 13095 calendar: { 13096 sameDay: function () { 13097 return '[hoy a la' + (this.hours() !== 1 ? 's' : '') + '] LT'; 13098 }, 13099 nextDay: function () { 13100 return '[mañana a la' + (this.hours() !== 1 ? 's' : '') + '] LT'; 13101 }, 13102 nextWeek: function () { 13103 return 'dddd [a la' + (this.hours() !== 1 ? 's' : '') + '] LT'; 13104 }, 13105 lastDay: function () { 13106 return '[ayer a la' + (this.hours() !== 1 ? 's' : '') + '] LT'; 13107 }, 13108 lastWeek: function () { 13109 return ( 13110 '[el] dddd [pasado a la' + 13111 (this.hours() !== 1 ? 's' : '') + 13112 '] LT' 13113 ); 13114 }, 13115 sameElse: 'L', 13116 }, 13117 relativeTime: { 13118 future: 'en %s', 13119 past: 'hace %s', 13120 s: 'unos segundos', 13121 ss: '%d segundos', 13122 m: 'un minuto', 13123 mm: '%d minutos', 13124 h: 'una hora', 13125 hh: '%d horas', 13126 d: 'un dÃa', 13127 dd: '%d dÃas', 13128 M: 'un mes', 13129 MM: '%d meses', 13130 y: 'un año', 13131 yy: '%d años', 13132 }, 13133 dayOfMonthOrdinalParse: /\d{1,2}º/, 13134 ordinal: '%dº', 13135 week: { 13136 dow: 1, // Monday is the first day of the week. 13137 doy: 4, // The week that contains Jan 4th is the first week of the year. 13138 }, 13139 invalidDate: 'Fecha invalida', 13140 }); 13141 13142 return es; 13143 13144 }))); 13145 13146 13147/***/ }), 13148/* 65 */ 13149/***/ (function(module, exports, __webpack_require__) { 13150 13151 //! moment.js locale configuration 13152 //! locale : Estonian [et]
13153 //! author : Henry Kehlmann : https://github.com/madhenry 13154 //! improvements : Illimar Tambek : https://github.com/ragulka 13155 13156 ;(function (global, factory) { 13157 true ? factory(__webpack_require__(1)) : 13158 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 13159 factory(global.moment) 13160 }(this, (function (moment) { 'use strict'; 13161 13162 //! moment.js locale configuration 13163 13164 function processRelativeTime(number, withoutSuffix, key, isFuture) { 13165 var format = { 13166 s: ['mõne sekundi', 'mõni sekund', 'paar sekundit'], 13167 ss: [number + 'sekundi', number + 'sekundit'], 13168 m: ['ühe minuti', 'üks minut'], 13169 mm: [number + ' minuti', number + ' minutit'], 13170 h: ['ühe tunni', 'tund aega', 'üks tund'], 13171 hh: [number + ' tunni', number + ' tundi'], 13172 d: ['ühe päeva', 'üks päev'], 13173 M: ['kuu aja', 'kuu aega', 'üks kuu'], 13174 MM: [number + ' kuu', number + ' kuud'], 13175 y: ['ühe aasta', 'aasta', 'üks aasta'], 13176 yy: [number + ' aasta', number + ' aastat'], 13177 }; 13178 if (withoutSuffix) { 13179 return format[key][2] ? format[key][2] : format[key][1]; 13180 } 13181 return isFuture ? format[key][0] : format[key][1]; 13182 } 13183 13184 var et = moment.defineLocale('et', { 13185 months: 'jaanuar_veebruar_märts_aprill_mai_juuni_juuli_august_september_oktoober_november_detsember'.split( 13186 '_' 13187 ), 13188 monthsShort: 'jaan_veebr_märts_apr_mai_juuni_juuli_aug_sept_okt_nov_dets'.split( 13189 '_' 13190 ), 13191 weekdays: 'pühapäev_esmaspäev_teisipäev_kolmapäev_neljapäev_reede_laupäev'.split( 13192 '_' 13193 ), 13194 weekdaysShort: 'P_E_T_K_N_R_L'.split('_'), 13195 weekdaysMin: 'P_E_T_K_N_R_L'.split('_'), 13196 longDateFormat: { 13197 LT: 'H:mm', 13198 LTS: 'H:mm:ss', 13199 L: 'DD.MM.YYYY', 13200 LL: 'D. MMMM YYYY', 13201 LLL: 'D. MMMM YYYY H:mm', 13202 LLLL: 'dddd, D. MMMM YYYY H:mm', 13203 }, 13204 calendar: { 13205 sameDay: '[Täna,] LT', 13206 nextDay: '[Homme,] LT', 13207 nextWeek: '[Järgmine] dddd LT', 13208 lastDay: '[Eile,] LT', 13209 lastWeek: '[Eelmine] dddd LT', 13210 sameElse: 'L', 13211 }, 13212 relativeTime: { 13213 future: '%s pärast', 13214 past: '%s tagasi', 13215 s: processRelativeTime, 13216 ss: processRelativeTime, 13217 m: processRelativeTime, 13218 mm: processRelativeTime, 13219 h: processRelativeTime, 13220 hh: processRelativeTime, 13221 d: processRelativeTime, 13222 dd: '%d päeva', 13223 M: processRelativeTime, 13224 MM: processRelativeTime, 13225 y: processRelativeTime, 13226 yy: processRelativeTime, 13227 }, 13228 dayOfMonthOrdinalParse: /\d{1,2}\./, 13229 ordinal: '%d.', 13230 week: { 13231 dow: 1, // Monday is the first day of the week. 13232 doy: 4, // The week that contains Jan 4th is the first week of the year. 13233 }, 13234 }); 13235 13236 return et; 13237 13238 }))); 13239 13240 13241/***/ }), 13242/* 66 */ 13243/***/ (function(module, exports, __webpack_require__) { 13244 13245 //! moment.js locale configuration 13246 //! locale : Basque [eu] 13247 //! author : Eneko Illarramendi : https://github.com/eillarra 13248 13249 ;(function (global, factory) { 13250 true ? factory(__webpack_require__(1)) : 13251 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 13252 factory(global.moment) 13253 }(this, (function (moment) { 'use strict'; 13254 13255 //! moment.js locale configuration 13256 13257 var eu = moment.defineLocale('eu', { 13258 months: 'urtarrila_otsaila_martxoa_apirila_maiatza_ekaina_uztaila_abuztua_iraila_urria_azaroa_abendua'.split( 13259 '_' 13260 ), 13261 monthsShort: 'urt._ots._mar._api._mai._eka._uzt._abu._ira._urr._aza._abe.'.split( 13262 '_' 13263 ), 13264 monthsParseExact: true, 13265 weekdays: 'igandea_astelehena_asteartea_asteazkena_osteguna_ostirala_larunbata'.split( 13266 '_' 13267 ), 13268 weekdaysShort: 'ig._al._ar._az._og._ol._lr.'.split('_'), 13269 weekdaysMin: 'ig_al_ar_az_og_ol_lr'.split('_'), 13270 weekdaysParseExact: true, 13271 longDateFormat: { 13272 LT: 'HH:mm', 13273 LTS: 'HH:mm:ss', 13274 L: 'YYYY-MM-DD', 13275 LL: 'YYYY[ko] MMMM[ren] D[a]', 13276 LLL: 'YYYY[ko] MMMM[ren] D[a] HH:mm', 13277 LLLL: 'dddd, YYYY[ko] MMMM[ren] D[a] HH:mm', 13278 l: 'YYYY-M-D', 13279 ll: 'YYYY[ko] MMM D[a]', 13280 lll: 'YYYY[ko] MMM D[a] HH:mm', 13281 llll: 'ddd, YYYY[ko] MMM D[a] HH:mm', 13282 }, 13283 calendar: { 13284 sameDay: '[gaur] LT[etan]', 13285 nextDay: '[bihar] LT[etan]', 13286 nextWeek: 'dddd LT[etan]', 13287 lastDay: '[atzo] LT[etan]', 13288 lastWeek: '[aurreko] dddd LT[etan]', 13289 sameElse: 'L', 13290 }, 13291 relativeTime: { 13292 future: '%s barru', 13293 past: 'duela %s', 13294 s: 'segundo batzuk', 13295 ss: '%d segundo', 13296 m: 'minutu bat', 13297 mm: '%d minutu', 13298 h: 'ordu bat', 13299 hh: '%d ordu', 13300 d: 'egun bat', 13301 dd: '%d egun', 13302 M: 'hilabete bat', 13303 MM: '%d hilabete', 13304 y: 'urte bat', 13305 yy: '%d urte', 13306 }, 13307 dayOfMonthOrdinalParse: /\d{1,2}\./, 13308 ordinal: '%d.', 13309 week: { 13310 dow: 1, // Monday is the first day of the week. 13311 doy: 7, // The week that contains Jan 7th is the first week of the year. 13312 }, 13313 }); 13314 13315 return eu; 13316 13317 }))); 13318 13319 13320/***/ }), 13321/* 67 */ 13322/***/ (function(module, exports, __webpack_require__) { 13323 13324 //! moment.js locale configuration 13325 //! locale : Persian [fa] 13326 //! author : Ebrahim Byagowi : https://github.com/ebraminio 13327 13328 ;(function (global, factory) { 13329 true ? factory(__webpack_require__(1)) : 13330 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 13331 factory(global.moment) 13332 }(this, (function (moment) { 'use strict'; 13333 13334 //! moment.js locale configuration 13335 13336 var symbolMap = { 13337 '1': 'Û±', 13338 '2': 'Û²', 13339 '3': 'Û³', 13340 '4': 'Û´', 13341 '5': 'Ûµ', 13342 '6': 'Û¶', 13343 '7': 'Û·', 13344 '8': 'Û¸', 13345 '9': 'Û¹', 13346 '0': 'Û°', 13347 }, 13348 numberMap = { 13349 'Û±': '1', 13350 'Û²': '2', 13351 'Û³': '3', 13352 'Û´': '4', 13353 'Ûµ': '5', 13354 'Û¶': '6', 13355 'Û·': '7', 13356 'Û¸': '8', 13357 'Û¹': '9', 13358 'Û°': '0', 13359 }; 13360 13361 var fa = moment.defineLocale('fa', { 13362 months: 'ÚØ§ÙÙÛÙ_ÙÙØ±ÛÙ_٠ارس_Ø¢ÙØ±ÛÙ_Ù Ù_ÚÙØ¦Ù_ÚÙØ¦ÛÙ_Ø§ÙØª_سپتا٠بر_اکتبر_ÙÙØ§Ù بر_دسا٠بر'.split( 13363 '_' 13364 ), 13365 monthsShort: 'ÚØ§ÙÙÛÙ_ÙÙØ±ÛÙ_٠ارس_Ø¢ÙØ±ÛÙ_Ù Ù_ÚÙØ¦Ù_ÚÙØ¦ÛÙ_Ø§ÙØª_سپتا٠بر_اکتبر_ÙÙØ§Ù بر_دسا٠بر'.split( 13366 '_' 13367 ), 13368 weekdays: 'ÛÚ©\u200cØ´ÙØ¨Ù_Ø¯ÙØ´ÙبÙ_سÙ\u200cØ´ÙØ¨Ù_ÚÙØ§Ø±Ø´ÙبÙ_Ù¾ÙØ¬\u200cØ´ÙØ¨Ù_ج٠عÙ_Ø´ÙØ¨Ù'.split( 13369 '_' 13370 ), 13371 weekdaysShort: 'ÛÚ©\u200cØ´ÙØ¨Ù_Ø¯ÙØ´ÙبÙ_سÙ\u200cØ´ÙØ¨Ù_ÚÙØ§Ø±Ø´ÙبÙ_Ù¾ÙØ¬\u200cØ´ÙØ¨Ù_ج٠عÙ_Ø´ÙØ¨Ù'.split( 13372 '_' 13373 ), 13374 weekdaysMin: 'Û_د_س_Ú_Ù¾_ج_Ø´'.split('_'), 13375 weekdaysParseExact: true, 13376 longDateFormat: { 13377 LT: 'HH:mm', 13378 LTS: 'HH:mm:ss', 13379 L: 'DD/MM/YYYY', 13380 LL: 'D MMMM YYYY', 13381 LLL: 'D MMMM YYYY HH:mm', 13382 LLLL: 'dddd, D MMMM YYYY HH:mm', 13383 }, 13384 meridiemParse: /ÙØ¨Ù از Ø¸ÙØ±|بعد از Ø¸ÙØ±/, 13385 isPM: function (input) { 13386 return /بعد از Ø¸ÙØ±/.test(input); 13387 }, 13388 meridiem: function (hour, minute, isLower) { 13389 if (hour < 12) { 13390 return 'ÙØ¨Ù از Ø¸ÙØ±'; 13391 } else { 13392 return 'بعد از Ø¸ÙØ±'; 13393 } 13394 }, 13395 calendar: { 13396 sameDay: '[Ø§Ù Ø±ÙØ² ساعت] LT', 13397 nextDay: '[ÙØ±Ø¯Ø§ ساعت] LT', 13398 nextWeek: 'dddd [ساعت] LT', 13399 lastDay: '[Ø¯ÛØ±Ùز ساعت] LT', 13400 lastWeek: 'dddd [Ù¾ÛØ´] [ساعت] LT', 13401 sameElse: 'L', 13402 }, 13403 relativeTime: { 13404 future: 'در %s', 13405 past: '%s Ù¾ÛØ´', 13406 s: 'ÚÙØ¯ ثاÙÛÙ', 13407 ss: '%d ثاÙÛÙ', 13408 m: 'ÛÚ© دÙÛÙÙ', 13409 mm: '%d دÙÛÙÙ', 13410 h: 'ÛÚ© ساعت', 13411 hh: '%d ساعت', 13412 d: 'ÛÚ© Ø±ÙØ²', 13413 dd: '%d Ø±ÙØ²', 13414 M: 'ÛÚ© ٠اÙ', 13415 MM: '%d ٠اÙ', 13416 y: 'ÛÚ© ساÙ', 13417 yy: '%d ساÙ', 13418 }, 13419 preparse: function (string) { 13420 return string 13421 .replace(/[Û°-Û¹]/g, function (match) { 13422 return numberMap[match]; 13423 }) 13424 .replace(/Ø/g, ','); 13425 }, 13426 postformat: function (string) { 13427 return string 13428 .replace(/\d/g, function (match) { 13429 return symbolMap[match]; 13430 }) 13431 .replace(/,/g, 'Ø'); 13432 }, 13433 dayOfMonthOrdinalParse: /\d{1,2}Ù /, 13434 ordinal: '%dÙ ', 13435 week: { 13436 dow: 6, // Saturday is the first day of the week. 13437 doy: 12, // The week that contains Jan 12th is the first week of the year. 13438 }, 13439 }); 13440 13441 return fa; 13442 13443 }))); 13444 13445 13446/***/ }), 13447/* 68 */ 13448/***/ (function(module, exports, __webpack_require__) { 13449 13450 //! moment.js locale configuration 13451 //! locale : Finnish [fi] 13452 //! author : Tarmo Aidantausta : https://github.com/bleadof 13453 13454 ;(function (global, factory) { 13455 true ? factory(__webpack_require__(1)) : 13456 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 13457 factory(global.moment) 13458 }(this, (function (moment) { 'use strict'; 13459 13460 //! moment.js locale configuration 13461 13462 var numbersPast = 'nolla yksi kaksi kolme neljä viisi kuusi seitsemän kahdeksan yhdeksän'.split( 13463 ' ' 13464 ), 13465 numbersFuture = [ 13466 'nolla', 13467 'yhden', 13468 'kahden', 13469 'kolmen', 13470 'neljän', 13471 'viiden', 13472 'kuuden', 13473 numbersPast[7], 13474 numbersPast[8], 13475 numbersPast[9], 13476 ]; 13477 function translate(number, withoutSuffix, key, isFuture) { 13478 var result = ''; 13479 switch (key) { 13480 case 's': 13481 return isFuture ? 'muutaman sekunnin' : 'muutama sekunti'; 13482 case 'ss': 13483 return isFuture ? 'sekunnin' : 'sekuntia'; 13484 case 'm': 13485 return isFuture ? 'minuutin' : 'minuutti'; 13486 case 'mm': 13487 result = isFuture ? 'minuutin' : 'minuuttia'; 13488 break; 13489 case 'h': 13490 return isFuture ? 'tunnin' : 'tunti'; 13491 case 'hh': 13492 result = isFuture ? 'tunnin' : 'tuntia'; 13493 break; 13494 case 'd': 13495 return isFuture ? 'päivän' : 'päivä'; 13496 case 'dd': 13497 result = isFuture ? 'päivän' : 'päivää'; 13498 break; 13499 case 'M': 13500 return isFuture ? 'kuukauden' : 'kuukausi'; 13501 case 'MM': 13502 result = isFuture ? 'kuukauden' : 'kuukautta'; 13503 break; 13504 case 'y': 13505 return isFuture ? 'vuoden' : 'vuosi'; 13506 case 'yy': 13507 result = isFuture ? 'vuoden' : 'vuotta'; 13508 break; 13509 } 13510 result = verbalNumber(number, isFuture) + ' ' + result; 13511 return result; 13512 } 13513 function verbalNumber(number, isFuture) { 13514 return number < 10 13515 ? isFuture 13516 ? numbersFuture[number] 13517 : numbersPast[number] 13518 : number; 13519 } 13520 13521 var fi = moment.defineLocale('fi', { 13522 months: 'tammikuu_helmikuu_maaliskuu_huhtikuu_toukokuu_kesäkuu_heinäkuu_elokuu_syyskuu_lokakuu_marraskuu_joulukuu'.split( 13523 '_' 13524 ), 13525 monthsShort: 'tammi_helmi_maalis_huhti_touko_kesä_heinä_elo_syys_loka_marras_joulu'.split( 13526 '_' 13527 ), 13528 weekdays: 'sunnuntai_maanantai_tiistai_keskiviikko_torstai_perjantai_lauantai'.split( 13529 '_' 13530 ), 13531 weekdaysShort: 'su_ma_ti_ke_to_pe_la'.split('_'), 13532 weekdaysMin: 'su_ma_ti_ke_to_pe_la'.split('_'), 13533 longDateFormat: { 13534 LT: 'HH.mm', 13535 LTS: 'HH.mm.ss', 13536 L: 'DD.MM.YYYY', 13537 LL: 'Do MMMM[ta] YYYY', 13538 LLL: 'Do MMMM[ta] YYYY, [klo] HH.mm', 13539 LLLL: 'dddd, Do MMMM[ta] YYYY, [klo] HH.mm', 13540 l: 'D.M.YYYY', 13541 ll: 'Do MMM YYYY', 13542 lll: 'Do MMM YYYY, [klo] HH.mm', 13543 llll: 'ddd, Do MMM YYYY, [klo] HH.mm', 13544 }, 13545 calendar: { 13546 sameDay: '[tänään] [klo] LT', 13547 nextDay: '[huomenna] [klo] LT', 13548 nextWeek: 'dddd [klo] LT', 13549 lastDay: '[eilen] [klo] LT', 13550 lastWeek: '[viime] dddd[na] [klo] LT', 13551 sameElse: 'L', 13552 }, 13553 relativeTime: { 13554 future: '%s päästä', 13555 past: '%s sitten', 13556 s: translate, 13557 ss: translate, 13558 m: translate, 13559 mm: translate, 13560 h: translate, 13561 hh: translate, 13562 d: translate, 13563 dd: translate, 13564 M: translate, 13565 MM: translate, 13566 y: translate, 13567 yy: translate, 13568 }, 13569 dayOfMonthOrdinalParse: /\d{1,2}\./, 13570 ordinal: '%d.', 13571 week: { 13572 dow: 1, // Monday is the first day of the week. 13573 doy: 4, // The week that contains Jan 4th is the first week of the year. 13574 }, 13575 }); 13576 13577 return fi; 13578 13579 }))); 13580 13581 13582/***/ }), 13583/* 69 */ 13584/***/ (function(module, exports, __webpack_require__) { 13585 13586 //! moment.js locale configuration 13587 //! locale : Filipino [fil] 13588 //! author : Dan Hagman : https://github.com/hagmandan 13589 //! author : Matthew Co : https://github.com/matthewdeeco 13590 13591 ;(function (global, factory) { 13592 true ? factory(__webpack_require__(1)) : 13593 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 13594 factory(global.moment) 13595 }(this, (function (moment) { 'use strict'; 13596 13597 //! moment.js locale configuration 13598 13599 var fil = moment.defineLocale('fil', { 13600 months: 'Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre'.split( 13601 '_' 13602 ), 13603 monthsShort: 'Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis'.split('_'), 13604 weekdays: 'Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado'.split( 13605 '_' 13606 ), 13607 weekdaysShort: 'Lin_Lun_Mar_Miy_Huw_Biy_Sab'.split('_'), 13608 weekdaysMin: 'Li_Lu_Ma_Mi_Hu_Bi_Sab'.split('_'), 13609 longDateFormat: { 13610 LT: 'HH:mm', 13611 LTS: 'HH:mm:ss', 13612 L: 'MM/D/YYYY', 13613 LL: 'MMMM D, YYYY', 13614 LLL: 'MMMM D, YYYY HH:mm', 13615 LLLL: 'dddd, MMMM DD, YYYY HH:mm', 13616 }, 13617 calendar: { 13618 sameDay: 'LT [ngayong araw]', 13619 nextDay: '[Bukas ng] LT', 13620 nextWeek: 'LT [sa susunod na] dddd', 13621 lastDay: 'LT [kahapon]', 13622 lastWeek: 'LT [noong nakaraang] dddd', 13623 sameElse: 'L', 13624 }, 13625 relativeTime: { 13626 future: 'sa loob ng %s', 13627 past: '%s ang nakalipas', 13628 s: 'ilang segundo', 13629 ss: '%d segundo', 13630 m: 'isang minuto', 13631 mm: '%d minuto', 13632 h: 'isang oras', 13633 hh: '%d oras', 13634 d: 'isang araw', 13635 dd: '%d araw',
13636 M: 'isang buwan', 13637 MM: '%d buwan', 13638 y: 'isang taon', 13639 yy: '%d taon', 13640 }, 13641 dayOfMonthOrdinalParse: /\d{1,2}/, 13642 ordinal: function (number) { 13643 return number; 13644 }, 13645 week: { 13646 dow: 1, // Monday is the first day of the week. 13647 doy: 4, // The week that contains Jan 4th is the first week of the year. 13648 }, 13649 }); 13650 13651 return fil; 13652 13653 }))); 13654 13655 13656/***/ }), 13657/* 70 */ 13658/***/ (function(module, exports, __webpack_require__) { 13659 13660 //! moment.js locale configuration 13661 //! locale : Faroese [fo] 13662 //! author : Ragnar Johannesen : https://github.com/ragnar123 13663 //! author : Kristian Sakarisson : https://github.com/sakarisson 13664 13665 ;(function (global, factory) { 13666 true ? factory(__webpack_require__(1)) : 13667 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 13668 factory(global.moment) 13669 }(this, (function (moment) { 'use strict'; 13670 13671 //! moment.js locale configuration 13672 13673 var fo = moment.defineLocale('fo', { 13674 months: 'januar_februar_mars_aprÃl_mai_juni_juli_august_september_oktober_november_desember'.split( 13675 '_' 13676 ), 13677 monthsShort: 'jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des'.split('_'), 13678 weekdays: 'sunnudagur_mánadagur_týsdagur_mikudagur_hósdagur_frÃggjadagur_leygardagur'.split( 13679 '_' 13680 ), 13681 weekdaysShort: 'sun_mán_týs_mik_hós_frÃ_ley'.split('_'), 13682 weekdaysMin: 'su_má_tý_mi_hó_fr_le'.split('_'), 13683 longDateFormat: { 13684 LT: 'HH:mm', 13685 LTS: 'HH:mm:ss', 13686 L: 'DD/MM/YYYY', 13687 LL: 'D MMMM YYYY', 13688 LLL: 'D MMMM YYYY HH:mm', 13689 LLLL: 'dddd D. MMMM, YYYY HH:mm', 13690 }, 13691 calendar: { 13692 sameDay: '[à dag kl.] LT', 13693 nextDay: '[à morgin kl.] LT', 13694 nextWeek: 'dddd [kl.] LT', 13695 lastDay: '[à gjár kl.] LT', 13696 lastWeek: '[sÃðstu] dddd [kl] LT', 13697 sameElse: 'L', 13698 }, 13699 relativeTime: { 13700 future: 'um %s', 13701 past: '%s sÃðani', 13702 s: 'fá sekund', 13703 ss: '%d sekundir', 13704 m: 'ein minuttur', 13705 mm: '%d minuttir', 13706 h: 'ein tÃmi', 13707 hh: '%d tÃmar', 13708 d: 'ein dagur', 13709 dd: '%d dagar', 13710 M: 'ein mánaður', 13711 MM: '%d mánaðir', 13712 y: 'eitt ár', 13713 yy: '%d ár', 13714 }, 13715 dayOfMonthOrdinalParse: /\d{1,2}\./, 13716 ordinal: '%d.', 13717 week: { 13718 dow: 1, // Monday is the first day of the week. 13719 doy: 4, // The week that contains Jan 4th is the first week of the year. 13720 }, 13721 }); 13722 13723 return fo; 13724 13725 }))); 13726 13727 13728/***/ }), 13729/* 71 */ 13730/***/ (function(module, exports, __webpack_require__) { 13731 13732 //! moment.js locale configuration 13733 //! locale : French (Canada) [fr-ca] 13734 //! author : Jonathan Abourbih : https://github.com/jonbca 13735 13736 ;(function (global, factory) { 13737 true ? factory(__webpack_require__(1)) : 13738 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 13739 factory(global.moment) 13740 }(this, (function (moment) { 'use strict'; 13741 13742 //! moment.js locale configuration 13743 13744 var frCa = moment.defineLocale('fr-ca', { 13745 months: 'janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre'.split( 13746 '_' 13747 ), 13748 monthsShort: 'janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.'.split( 13749 '_' 13750 ), 13751 monthsParseExact: true, 13752 weekdays: 'dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi'.split('_'), 13753 weekdaysShort: 'dim._lun._mar._mer._jeu._ven._sam.'.split('_'), 13754 weekdaysMin: 'di_lu_ma_me_je_ve_sa'.split('_'), 13755 weekdaysParseExact: true, 13756 longDateFormat: { 13757 LT: 'HH:mm', 13758 LTS: 'HH:mm:ss', 13759 L: 'YYYY-MM-DD', 13760 LL: 'D MMMM YYYY', 13761 LLL: 'D MMMM YYYY HH:mm', 13762 LLLL: 'dddd D MMMM YYYY HH:mm', 13763 }, 13764 calendar: { 13765 sameDay: '[Aujourdâhui à ] LT', 13766 nextDay: '[Demain à ] LT', 13767 nextWeek: 'dddd [à ] LT', 13768 lastDay: '[Hier à ] LT', 13769 lastWeek: 'dddd [dernier à ] LT', 13770 sameElse: 'L', 13771 }, 13772 relativeTime: { 13773 future: 'dans %s', 13774 past: 'il y a %s', 13775 s: 'quelques secondes', 13776 ss: '%d secondes', 13777 m: 'une minute', 13778 mm: '%d minutes', 13779 h: 'une heure', 13780 hh: '%d heures', 13781 d: 'un jour', 13782 dd: '%d jours', 13783 M: 'un mois', 13784 MM: '%d mois', 13785 y: 'un an', 13786 yy: '%d ans', 13787 }, 13788 dayOfMonthOrdinalParse: /\d{1,2}(er|e)/, 13789 ordinal: function (number, period) { 13790 switch (period) { 13791 // Words with masculine grammatical gender: mois, trimestre, jour 13792 default: 13793 case 'M': 13794 case 'Q': 13795 case 'D': 13796 case 'DDD': 13797 case 'd': 13798 return number + (number === 1 ? 'er' : 'e'); 13799 13800 // Words with feminine grammatical gender: semaine 13801 case 'w': 13802 case 'W': 13803 return number + (number === 1 ? 're' : 'e'); 13804 } 13805 }, 13806 }); 13807 13808 return frCa; 13809 13810 }))); 13811 13812 13813/***/ }), 13814/* 72 */ 13815/***/ (function(module, exports, __webpack_require__) { 13816 13817 //! moment.js locale configuration 13818 //! locale : French (Switzerland) [fr-ch] 13819 //! author : Gaspard Bucher : https://github.com/gaspard 13820 13821 ;(function (global, factory) { 13822 true ? factory(__webpack_require__(1)) : 13823 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 13824 factory(global.moment) 13825 }(this, (function (moment) { 'use strict'; 13826 13827 //! moment.js locale configuration 13828 13829 var frCh = moment.defineLocale('fr-ch', { 13830 months: 'janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre'.split( 13831 '_' 13832 ), 13833 monthsShort: 'janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.'.split( 13834 '_' 13835 ), 13836 monthsParseExact: true, 13837 weekdays: 'dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi'.split('_'), 13838 weekdaysShort: 'dim._lun._mar._mer._jeu._ven._sam.'.split('_'), 13839 weekdaysMin: 'di_lu_ma_me_je_ve_sa'.split('_'), 13840 weekdaysParseExact: true, 13841 longDateFormat: { 13842 LT: 'HH:mm', 13843 LTS: 'HH:mm:ss', 13844 L: 'DD.MM.YYYY', 13845 LL: 'D MMMM YYYY', 13846 LLL: 'D MMMM YYYY HH:mm', 13847 LLLL: 'dddd D MMMM YYYY HH:mm', 13848 }, 13849 calendar: { 13850 sameDay: '[Aujourdâhui à ] LT', 13851 nextDay: '[Demain à ] LT', 13852 nextWeek: 'dddd [à ] LT', 13853 lastDay: '[Hier à ] LT', 13854 lastWeek: 'dddd [dernier à ] LT', 13855 sameElse: 'L', 13856 }, 13857 relativeTime: { 13858 future: 'dans %s', 13859 past: 'il y a %s', 13860 s: 'quelques secondes', 13861 ss: '%d secondes', 13862 m: 'une minute', 13863 mm: '%d minutes', 13864 h: 'une heure', 13865 hh: '%d heures', 13866 d: 'un jour', 13867 dd: '%d jours', 13868 M: 'un mois', 13869 MM: '%d mois', 13870 y: 'un an', 13871 yy: '%d ans', 13872 }, 13873 dayOfMonthOrdinalParse: /\d{1,2}(er|e)/, 13874 ordinal: function (number, period) { 13875 switch (period) { 13876 // Words with masculine grammatical gender: mois, trimestre, jour 13877 default: 13878 case 'M': 13879 case 'Q': 13880 case 'D': 13881 case 'DDD': 13882 case 'd': 13883 return number + (number === 1 ? 'er' : 'e'); 13884 13885 // Words with feminine grammatical gender: semaine 13886 case 'w': 13887 case 'W': 13888 return number + (number === 1 ? 're' : 'e'); 13889 } 13890 }, 13891 week: { 13892 dow: 1, // Monday is the first day of the week. 13893 doy: 4, // The week that contains Jan 4th is the first week of the year. 13894 }, 13895 }); 13896 13897 return frCh; 13898 13899 }))); 13900 13901 13902/***/ }), 13903/* 73 */ 13904/***/ (function(module, exports, __webpack_require__) { 13905 13906 //! moment.js locale configuration 13907 //! locale : French [fr] 13908 //! author : John Fischer : https://github.com/jfroffice 13909 13910 ;(function (global, factory) { 13911 true ? factory(__webpack_require__(1)) : 13912 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 13913 factory(global.moment) 13914 }(this, (function (moment) { 'use strict'; 13915 13916 //! moment.js locale configuration 13917 13918 var fr = moment.defineLocale('fr', { 13919 months: 'janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre'.split( 13920 '_' 13921 ), 13922 monthsShort: 'janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.'.split( 13923 '_' 13924 ), 13925 monthsParseExact: true, 13926 weekdays: 'dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi'.split('_'), 13927 weekdaysShort: 'dim._lun._mar._mer._jeu._ven._sam.'.split('_'), 13928 weekdaysMin: 'di_lu_ma_me_je_ve_sa'.split('_'), 13929 weekdaysParseExact: true, 13930 longDateFormat: { 13931 LT: 'HH:mm', 13932 LTS: 'HH:mm:ss', 13933 L: 'DD/MM/YYYY', 13934 LL: 'D MMMM YYYY', 13935 LLL: 'D MMMM YYYY HH:mm', 13936 LLLL: 'dddd D MMMM YYYY HH:mm', 13937 }, 13938 calendar: { 13939 sameDay: '[Aujourdâhui à ] LT', 13940 nextDay: '[Demain à ] LT', 13941 nextWeek: 'dddd [à ] LT', 13942 lastDay: '[Hier à ] LT', 13943 lastWeek: 'dddd [dernier à ] LT', 13944 sameElse: 'L', 13945 }, 13946 relativeTime: { 13947 future: 'dans %s', 13948 past: 'il y a %s', 13949 s: 'quelques secondes', 13950 ss: '%d secondes', 13951 m: 'une minute', 13952 mm: '%d minutes', 13953 h: 'une heure', 13954 hh: '%d heures', 13955 d: 'un jour', 13956 dd: '%d jours', 13957 M: 'un mois', 13958 MM: '%d mois', 13959 y: 'un an', 13960 yy: '%d ans', 13961 }, 13962 dayOfMonthOrdinalParse: /\d{1,2}(er|)/, 13963 ordinal: function (number, period) { 13964 switch (period) { 13965 // TODO: Return 'e' when day of month > 1. Move this case inside 13966 // block for masculine words below. 13967 // See https://github.com/moment/moment/issues/3375 13968 case 'D': 13969 return number + (number === 1 ? 'er' : ''); 13970 13971 // Words with masculine grammatical gender: mois, trimestre, jour 13972 default: 13973 case 'M': 13974 case 'Q': 13975 case 'DDD': 13976 case 'd': 13977 return number + (number === 1 ? 'er' : 'e'); 13978 13979 // Words with feminine grammatical gender: semaine 13980 case 'w': 13981 case 'W': 13982 return number + (number === 1 ? 're' : 'e'); 13983 } 13984 }, 13985 week: { 13986 dow: 1, // Monday is the first day of the week. 13987 doy: 4, // The week that contains Jan 4th is the first week of the year. 13988 }, 13989 }); 13990 13991 return fr;
13992 13993 }))); 13994 13995 13996/***/ }), 13997/* 74 */ 13998/***/ (function(module, exports, __webpack_require__) { 13999 14000 //! moment.js locale configuration 14001 //! locale : Frisian [fy] 14002 //! author : Robin van der Vliet : https://github.com/robin0van0der0v 14003 14004 ;(function (global, factory) { 14005 true ? factory(__webpack_require__(1)) : 14006 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 14007 factory(global.moment) 14008 }(this, (function (moment) { 'use strict'; 14009 14010 //! moment.js locale configuration 14011 14012 var monthsShortWithDots = 'jan._feb._mrt._apr._mai_jun._jul._aug._sep._okt._nov._des.'.split( 14013 '_' 14014 ), 14015 monthsShortWithoutDots = 'jan_feb_mrt_apr_mai_jun_jul_aug_sep_okt_nov_des'.split( 14016 '_' 14017 ); 14018 14019 var fy = moment.defineLocale('fy', { 14020 months: 'jannewaris_febrewaris_maart_april_maaie_juny_july_augustus_septimber_oktober_novimber_desimber'.split( 14021 '_' 14022 ), 14023 monthsShort: function (m, format) { 14024 if (!m) { 14025 return monthsShortWithDots; 14026 } else if (/-MMM-/.test(format)) { 14027 return monthsShortWithoutDots[m.month()]; 14028 } else { 14029 return monthsShortWithDots[m.month()]; 14030 } 14031 }, 14032 monthsParseExact: true, 14033 weekdays: 'snein_moandei_tiisdei_woansdei_tongersdei_freed_sneon'.split( 14034 '_' 14035 ), 14036 weekdaysShort: 'si._mo._ti._wo._to._fr._so.'.split('_'), 14037 weekdaysMin: 'Si_Mo_Ti_Wo_To_Fr_So'.split('_'), 14038 weekdaysParseExact: true, 14039 longDateFormat: { 14040 LT: 'HH:mm', 14041 LTS: 'HH:mm:ss', 14042 L: 'DD-MM-YYYY', 14043 LL: 'D MMMM YYYY', 14044 LLL: 'D MMMM YYYY HH:mm', 14045 LLLL: 'dddd D MMMM YYYY HH:mm', 14046 }, 14047 calendar: { 14048 sameDay: '[hjoed om] LT', 14049 nextDay: '[moarn om] LT', 14050 nextWeek: 'dddd [om] LT', 14051 lastDay: '[juster om] LT', 14052 lastWeek: '[ôfrûne] dddd [om] LT', 14053 sameElse: 'L', 14054 }, 14055 relativeTime: { 14056 future: 'oer %s', 14057 past: '%s lyn', 14058 s: 'in pear sekonden', 14059 ss: '%d sekonden', 14060 m: 'ien minút', 14061 mm: '%d minuten', 14062 h: 'ien oere', 14063 hh: '%d oeren', 14064 d: 'ien dei', 14065 dd: '%d dagen', 14066 M: 'ien moanne', 14067 MM: '%d moannen', 14068 y: 'ien jier', 14069 yy: '%d jierren', 14070 }, 14071 dayOfMonthOrdinalParse: /\d{1,2}(ste|de)/, 14072 ordinal: function (number) { 14073 return ( 14074 number + 14075 (number === 1 || number === 8 || number >= 20 ? 'ste' : 'de') 14076 ); 14077 }, 14078 week: { 14079 dow: 1, // Monday is the first day of the week. 14080 doy: 4, // The week that contains Jan 4th is the first week of the year. 14081 }, 14082 }); 14083 14084 return fy; 14085 14086 }))); 14087 14088 14089/***/ }), 14090/* 75 */ 14091/***/ (function(module, exports, __webpack_require__) { 14092 14093 //! moment.js locale configuration 14094 //! locale : Irish or Irish Gaelic [ga] 14095 //! author : André Silva : https://github.com/askpt 14096 14097 ;(function (global, factory) { 14098 true ? factory(__webpack_require__(1)) : 14099 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 14100 factory(global.moment) 14101 }(this, (function (moment) { 'use strict'; 14102 14103 //! moment.js locale configuration 14104 14105 var months = [ 14106 'Eanáir', 14107 'Feabhra', 14108 'Márta', 14109 'Aibreán', 14110 'Bealtaine', 14111 'Meitheamh', 14112 'Iúil', 14113 'Lúnasa', 14114 'Meán Fómhair', 14115 'Deireadh Fómhair', 14116 'Samhain', 14117 'Nollaig', 14118 ], 14119 monthsShort = [ 14120 'Ean', 14121 'Feabh', 14122 'Márt', 14123 'Aib', 14124 'Beal', 14125 'Meith', 14126 'Iúil', 14127 'Lún', 14128 'M.F.', 14129 'D.F.', 14130 'Samh', 14131 'Noll', 14132 ], 14133 weekdays = [ 14134 'Dé Domhnaigh', 14135 'Dé Luain', 14136 'Dé Máirt', 14137 'Dé Céadaoin', 14138 'Déardaoin', 14139 'Dé hAoine', 14140 'Dé Sathairn', 14141 ], 14142 weekdaysShort = ['Domh', 'Luan', 'Máirt', 'Céad', 'Déar', 'Aoine', 'Sath'], 14143 weekdaysMin = ['Do', 'Lu', 'Má', 'Cé', 'Dé', 'A', 'Sa']; 14144 14145 var ga = moment.defineLocale('ga', { 14146 months: months, 14147 monthsShort: monthsShort, 14148 monthsParseExact: true, 14149 weekdays: weekdays, 14150 weekdaysShort: weekdaysShort, 14151 weekdaysMin: weekdaysMin, 14152 longDateFormat: { 14153 LT: 'HH:mm', 14154 LTS: 'HH:mm:ss', 14155 L: 'DD/MM/YYYY', 14156 LL: 'D MMMM YYYY', 14157 LLL: 'D MMMM YYYY HH:mm', 14158 LLLL: 'dddd, D MMMM YYYY HH:mm', 14159 }, 14160 calendar: { 14161 sameDay: '[Inniu ag] LT', 14162 nextDay: '[Amárach ag] LT', 14163 nextWeek: 'dddd [ag] LT', 14164 lastDay: '[Inné ag] LT', 14165 lastWeek: 'dddd [seo caite] [ag] LT', 14166 sameElse: 'L', 14167 }, 14168 relativeTime: { 14169 future: 'i %s', 14170 past: '%s ó shin', 14171 s: 'cúpla soicind', 14172 ss: '%d soicind', 14173 m: 'nóiméad', 14174 mm: '%d nóiméad', 14175 h: 'uair an chloig', 14176 hh: '%d uair an chloig', 14177 d: 'lá', 14178 dd: '%d lá', 14179 M: 'mÃ', 14180 MM: '%d mÃonna', 14181 y: 'bliain', 14182 yy: '%d bliain', 14183 }, 14184 dayOfMonthOrdinalParse: /\d{1,2}(d|na|mh)/, 14185 ordinal: function (number) { 14186 var output = number === 1 ? 'd' : number % 10 === 2 ? 'na' : 'mh'; 14187 return number + output; 14188 }, 14189 week: { 14190 dow: 1, // Monday is the first day of the week. 14191 doy: 4, // The week that contains Jan 4th is the first week of the year. 14192 }, 14193 }); 14194 14195 return ga; 14196 14197 }))); 14198 14199 14200/***/ }), 14201/* 76 */ 14202/***/ (function(module, exports, __webpack_require__) { 14203 14204 //! moment.js locale configuration 14205 //! locale : Scottish Gaelic [gd]
14206 //! author : Jon Ashdown : https://github.com/jonashdown 14207 14208 ;(function (global, factory) { 14209 true ? factory(__webpack_require__(1)) : 14210 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 14211 factory(global.moment) 14212 }(this, (function (moment) { 'use strict'; 14213 14214 //! moment.js locale configuration 14215 14216 var months = [ 14217 'Am Faoilleach', 14218 'An Gearran', 14219 'Am Mà rt', 14220 'An Giblean', 14221 'An Cèitean', 14222 'An t-Ãgmhios', 14223 'An t-Iuchar', 14224 'An Lùnastal', 14225 'An t-Sultain', 14226 'An Dà mhair', 14227 'An t-Samhain', 14228 'An Dùbhlachd', 14229 ], 14230 monthsShort = [ 14231 'Faoi', 14232 'Gear', 14233 'Mà rt', 14234 'Gibl', 14235 'Cèit', 14236 'Ãgmh', 14237 'Iuch', 14238 'Lùn', 14239 'Sult', 14240 'Dà mh', 14241 'Samh', 14242 'Dùbh', 14243 ], 14244 weekdays = [ 14245 'Didòmhnaich', 14246 'Diluain', 14247 'Dimà irt', 14248 'Diciadain', 14249 'Diardaoin', 14250 'Dihaoine', 14251 'Disathairne', 14252 ], 14253 weekdaysShort = ['Did', 'Dil', 'Dim', 'Dic', 'Dia', 'Dih', 'Dis'], 14254 weekdaysMin = ['Dò', 'Lu', 'Mà ', 'Ci', 'Ar', 'Ha', 'Sa']; 14255 14256 var gd = moment.defineLocale('gd', { 14257 months: months, 14258 monthsShort: monthsShort, 14259 monthsParseExact: true, 14260 weekdays: weekdays, 14261 weekdaysShort: weekdaysShort, 14262 weekdaysMin: weekdaysMin, 14263 longDateFormat: { 14264 LT: 'HH:mm', 14265 LTS: 'HH:mm:ss', 14266 L: 'DD/MM/YYYY', 14267 LL: 'D MMMM YYYY', 14268 LLL: 'D MMMM YYYY HH:mm', 14269 LLLL: 'dddd, D MMMM YYYY HH:mm', 14270 }, 14271 calendar: { 14272 sameDay: '[An-diugh aig] LT', 14273 nextDay: '[A-mà ireach aig] LT', 14274 nextWeek: 'dddd [aig] LT', 14275 lastDay: '[An-dè aig] LT', 14276 lastWeek: 'dddd [seo chaidh] [aig] LT', 14277 sameElse: 'L', 14278 }, 14279 relativeTime: { 14280 future: 'ann an %s', 14281 past: 'bho chionn %s', 14282 s: 'beagan diogan', 14283 ss: '%d diogan', 14284 m: 'mionaid', 14285 mm: '%d mionaidean', 14286 h: 'uair', 14287 hh: '%d uairean', 14288 d: 'latha', 14289 dd: '%d latha', 14290 M: 'mìos', 14291 MM: '%d mìosan', 14292 y: 'bliadhna', 14293 yy: '%d bliadhna', 14294 }, 14295 dayOfMonthOrdinalParse: /\d{1,2}(d|na|mh)/, 14296 ordinal: function (number) { 14297 var output = number === 1 ? 'd' : number % 10 === 2 ? 'na' : 'mh'; 14298 return number + output; 14299 }, 14300 week: { 14301 dow: 1, // Monday is the first day of the week. 14302 doy: 4, // The week that contains Jan 4th is the first week of the year. 14303 }, 14304 }); 14305 14306 return gd; 14307 14308 }))); 14309 14310 14311/***/ }), 14312/* 77 */ 14313/***/ (function(module, exports, __webpack_require__) { 14314 14315 //! moment.js locale configuration 14316 //! locale : Galician [gl] 14317 //! author : Juan G. Hurtado : https://github.com/juanghurtado 14318 14319 ;(function (global, factory) { 14320 true ? factory(__webpack_require__(1)) : 14321 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 14322 factory(global.moment) 14323 }(this, (function (moment) { 'use strict'; 14324 14325 //! moment.js locale configuration 14326 14327 var gl = moment.defineLocale('gl', { 14328 months: 'xaneiro_febreiro_marzo_abril_maio_xuño_xullo_agosto_setembro_outubro_novembro_decembro'.split( 14329 '_' 14330 ), 14331 monthsShort: 'xan._feb._mar._abr._mai._xuñ._xul._ago._set._out._nov._dec.'.split( 14332 '_' 14333 ), 14334 monthsParseExact: true, 14335 weekdays: 'domingo_luns_martes_mércores_xoves_venres_sábado'.split('_'), 14336 weekdaysShort: 'dom._lun._mar._mér._xov._ven._sáb.'.split('_'), 14337 weekdaysMin: 'do_lu_ma_mé_xo_ve_sá'.split('_'), 14338 weekdaysParseExact: true, 14339 longDateFormat: { 14340 LT: 'H:mm', 14341 LTS: 'H:mm:ss', 14342 L: 'DD/MM/YYYY', 14343 LL: 'D [de] MMMM [de] YYYY', 14344 LLL: 'D [de] MMMM [de] YYYY H:mm', 14345 LLLL: 'dddd, D [de] MMMM [de] YYYY H:mm', 14346 }, 14347 calendar: { 14348 sameDay: function () { 14349 return '[hoxe ' + (this.hours() !== 1 ? 'ás' : 'á') + '] LT'; 14350 }, 14351 nextDay: function () { 14352 return '[mañá ' + (this.hours() !== 1 ? 'ás' : 'á') + '] LT'; 14353 }, 14354 nextWeek: function () { 14355 return 'dddd [' + (this.hours() !== 1 ? 'ás' : 'a') + '] LT'; 14356 }, 14357 lastDay: function () { 14358 return '[onte ' + (this.hours() !== 1 ? 'á' : 'a') + '] LT'; 14359 }, 14360 lastWeek: function () { 14361 return ( 14362 '[o] dddd [pasado ' + (this.hours() !== 1 ? 'ás' : 'a') + '] LT' 14363 ); 14364 }, 14365 sameElse: 'L', 14366 }, 14367 relativeTime: { 14368 future: function (str) { 14369 if (str.indexOf('un') === 0) { 14370 return 'n' + str; 14371 } 14372 return 'en ' + str; 14373 }, 14374 past: 'hai %s', 14375 s: 'uns segundos', 14376 ss: '%d segundos', 14377 m: 'un minuto', 14378 mm: '%d minutos', 14379 h: 'unha hora', 14380 hh: '%d horas', 14381 d: 'un dÃa', 14382 dd: '%d dÃas', 14383 M: 'un mes', 14384 MM: '%d meses', 14385 y: 'un ano', 14386 yy: '%d anos', 14387 }, 14388 dayOfMonthOrdinalParse: /\d{1,2}º/, 14389 ordinal: '%dº', 14390 week: { 14391 dow: 1, // Monday is the first day of the week. 14392 doy: 4, // The week that contains Jan 4th is the first week of the year. 14393 }, 14394 }); 14395 14396 return gl; 14397 14398 }))); 14399 14400 14401/***/ }), 14402/* 78 */ 14403/***/ (function(module, exports, __webpack_require__) { 14404 14405 //! moment.js locale configuration 14406 //! locale : Konkani Devanagari script [gom-deva] 14407 //! author : The Discoverer : https://github.com/WikiDiscoverer 14408 14409 ;(function (global, factory) { 14410 true ? factory(__webpack_require__(1)) : 14411 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 14412 factory(global.moment) 14413 }(this, (function (moment) { 'use strict'; 14414 14415 //! moment.js locale configuration 14416 14417 function processRelativeTime(number, withoutSuffix, key, isFuture) { 14418 var format = { 14419 s: ['थà¥à¤¡à¤¯à¤¾ सॠà¤à¤à¤¡à¤¾à¤à¤¨à¥', 'थà¥à¤¡à¥ सॠà¤à¤à¤¡'], 14420 ss: [number + ' सॠà¤à¤à¤¡à¤¾à¤à¤¨à¥', number + ' सॠà¤à¤à¤¡'], 14421 m: ['à¤à¤à¤¾ मिणà¤à¤¾à¤¨', 'à¤à¤ मिनà¥à¤'], 14422 mm: [number + ' मिणà¤à¤¾à¤à¤¨à¥', number + ' मिणà¤à¤¾à¤'], 14423 h: ['à¤à¤à¤¾ वरान', 'à¤à¤ वर'], 14424 hh: [number + ' वराà¤à¤¨à¥', number + ' वराà¤'], 14425 d: ['à¤à¤à¤¾ दिसान', 'à¤à¤ दà¥à¤¸'], 14426 dd: [number + ' दिसाà¤à¤¨à¥', number + ' दà¥à¤¸'], 14427 M: ['à¤à¤à¤¾ मà¥à¤¹à¤¯à¤¨à¥à¤¯à¤¾à¤¨', 'à¤à¤ मà¥à¤¹à¤¯à¤¨à¥'], 14428 MM: [number + ' मà¥à¤¹à¤¯à¤¨à¥à¤¯à¤¾à¤¨à¥', number + ' मà¥à¤¹à¤¯à¤¨à¥'], 14429 y: ['à¤à¤à¤¾ वरà¥à¤¸à¤¾à¤¨', 'à¤à¤ वरà¥à¤¸'], 14430 yy: [number + ' वरà¥à¤¸à¤¾à¤à¤¨à¥', number + ' वरà¥à¤¸à¤¾à¤'], 14431 }; 14432 return isFuture ? format[key][0] : format[key][1]; 14433 } 14434 14435 var gomDeva = moment.defineLocale('gom-deva', { 14436 months: { 14437 standalone: 'à¤à¤¾à¤¨à¥à¤µà¤¾à¤°à¥_फà¥à¤¬à¥à¤°à¥à¤µà¤¾à¤°à¥_मारà¥à¤_à¤à¤ªà¥à¤°à¥à¤²_मà¥_à¤à¥à¤¨_à¤à¥à¤²à¤¯_à¤à¤à¤¸à¥à¤_सपà¥à¤à¥à¤à¤¬à¤°_à¤à¤à¥à¤à¥à¤¬à¤°_नà¥à¤µà¥à¤¹à¥à¤à¤¬à¤°_डिसà¥à¤à¤¬à¤°'.split( 14438 '_' 14439 ), 14440 format: 'à¤à¤¾à¤¨à¥à¤µà¤¾à¤°à¥à¤à¥à¤¯à¤¾_फà¥à¤¬à¥à¤°à¥à¤µà¤¾à¤°à¥à¤à¥à¤¯à¤¾_मारà¥à¤à¤¾à¤à¥à¤¯à¤¾_à¤à¤ªà¥à¤°à¥à¤²à¤¾à¤à¥à¤¯à¤¾_मà¥à¤¯à¤¾à¤à¥à¤¯à¤¾_à¤à¥à¤¨à¤¾à¤à¥à¤¯à¤¾_à¤à¥à¤²à¤¯à¤¾à¤à¥à¤¯à¤¾_à¤à¤à¤¸à¥à¤à¤¾à¤à¥à¤¯à¤¾_सपà¥à¤à¥à¤à¤¬à¤°à¤¾à¤à¥à¤¯à¤¾_à¤à¤à¥à¤à¥à¤¬à¤°à¤¾à¤à¥à¤¯à¤¾_नà¥à¤µà¥à¤¹à¥à¤à¤¬à¤°à¤¾à¤à¥à¤¯à¤¾_डिसà¥à¤à¤¬à¤°à¤¾à¤à¥à¤¯à¤¾'.split( 14441 '_' 14442 ), 14443 isFormat: /MMMM(\s)+D[oD]?/, 14444 }, 14445 monthsShort: 'à¤à¤¾à¤¨à¥._फà¥à¤¬à¥à¤°à¥._मारà¥à¤_à¤à¤ªà¥à¤°à¥._मà¥_à¤à¥à¤¨_à¤à¥à¤²._à¤à¤._सपà¥à¤à¥à¤._à¤à¤à¥à¤à¥._नà¥à¤µà¥à¤¹à¥à¤._डिसà¥à¤.'.split( 14446 '_' 14447 ), 14448 monthsParseExact: true, 14449 weekdays: 'à¤à¤¯à¤¤à¤¾à¤°_सà¥à¤®à¤¾à¤°_मà¤à¤à¤³à¤¾à¤°_बà¥à¤§à¤µà¤¾à¤°_बिरà¥à¤¸à¥à¤¤à¤¾à¤°_सà¥à¤à¥à¤°à¤¾à
14449¤°_शà¥à¤¨à¤µà¤¾à¤°'.split('_'), 14450 weekdaysShort: 'à¤à¤¯à¤¤._सà¥à¤®._मà¤à¤à¤³._बà¥à¤§._बà¥à¤°à¥à¤¸à¥à¤¤._सà¥à¤à¥à¤°._शà¥à¤¨.'.split('_'), 14451 weekdaysMin: 'à¤_सà¥_मà¤_बà¥_बà¥à¤°à¥_सà¥_शà¥'.split('_'), 14452 weekdaysParseExact: true, 14453 longDateFormat: { 14454 LT: 'A h:mm [वाà¤à¤¤à¤¾à¤]', 14455 LTS: 'A h:mm:ss [वाà¤à¤¤à¤¾à¤]', 14456 L: 'DD-MM-YYYY', 14457 LL: 'D MMMM YYYY', 14458 LLL: 'D MMMM YYYY A h:mm [वाà¤à¤¤à¤¾à¤]', 14459 LLLL: 'dddd, MMMM Do, YYYY, A h:mm [वाà¤à¤¤à¤¾à¤]', 14460 llll: 'ddd, D MMM YYYY, A h:mm [वाà¤à¤¤à¤¾à¤]', 14461 }, 14462 calendar: { 14463 sameDay: '[à¤à¤¯à¤] LT', 14464 nextDay: '[फालà¥à¤¯à¤¾à¤] LT', 14465 nextWeek: '[फà¥à¤¡à¤²à¥] dddd[,] LT', 14466 lastDay: '[à¤à¤¾à¤²] LT', 14467 lastWeek: '[फाà¤à¤²à¥] dddd[,] LT', 14468 sameElse: 'L', 14469 }, 14470 relativeTime: { 14471 future: '%s', 14472 past: '%s à¤à¤¦à¥à¤', 14473 s: processRelativeTime, 14474 ss: processRelativeTime, 14475 m: processRelativeTime, 14476 mm: processRelativeTime, 14477 h: processRelativeTime, 14478 hh: processRelativeTime, 14479 d: processRelativeTime, 14480 dd: processRelativeTime, 14481 M: processRelativeTime, 14482 MM: processRelativeTime, 14483 y: processRelativeTime, 14484 yy: processRelativeTime, 14485 }, 14486 dayOfMonthOrdinalParse: /\d{1,2}(वà¥à¤°)/, 14487 ordinal: function (number, period) { 14488 switch (period) { 14489 // the ordinal 'वà¥à¤°' only applies to day of the month 14490 case 'D': 14491 return number + 'वà¥à¤°'; 14492 default: 14493 case 'M': 14494 case 'Q': 14495 case 'DDD': 14496 case 'd': 14497 case 'w': 14498 case 'W': 14499 return number; 14500 } 14501 }, 14502 week: { 14503 dow: 1, // Monday is the first day of the week. 14504 doy: 4, // The week that contains Jan 4th is the first week of the year. 14505 }, 14506 meridiemParse: /रातà¥|सà¤à¤¾à¤³à¥à¤|दनपाराà¤|साà¤à¤à¥/, 14507 meridiemHour: function (hour, meridiem) { 14508 if (hour === 12) { 14509 hour = 0; 14510 } 14511 if (meridiem === 'रातà¥') { 14512 return hour < 4 ? hour : hour + 12; 14513 } else if (meridiem === 'सà¤à¤¾à¤³à¥à¤') { 14514 return hour; 14515 } else if (meridiem === 'दनपाराà¤') { 14516 return hour > 12 ? hour : hour + 12; 14517 } else if (meridiem === 'साà¤à¤à¥') { 14518 return hour + 12; 14519 } 14520 }, 14521 meridiem: function (hour, minute, isLower) { 14522 if (hour < 4) { 14523 return 'रातà¥'; 14524 } else if (hour < 12) { 14525 return 'सà¤à¤¾à¤³à¥à¤'; 14526 } else if (hour < 16) { 14527 return 'दनपाराà¤'; 14528 } else if (hour < 20) { 14529 return 'साà¤à¤à¥'; 14530 } else { 14531 return 'रातà¥'; 14532 } 14533 }, 14534 }); 14535 14536 return gomDeva; 14537 14538 }))); 14539 14540 14541/***/ }), 14542/* 79 */ 14543/***/ (function(module, exports, __webpack_require__) { 14544 14545 //! moment.js locale configuration 14546 //! locale : Konkani Latin script [gom-latn] 14547 //! author : The Discoverer : https://github.com/WikiDiscoverer 14548 14549 ;(function (global, factory) { 14550 true ? factory(__webpack_require__(1)) : 14551 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 14552 factory(global.moment) 14553 }(this, (function (moment) { 'use strict'; 14554 14555 //! moment.js locale configuration 14556 14557 function processRelativeTime(number, withoutSuffix, key, isFuture) { 14558 var format = { 14559 s: ['thoddea sekondamni', 'thodde sekond'], 14560 ss: [number + ' sekondamni', number + ' sekond'], 14561 m: ['eka mintan', 'ek minut'], 14562 mm: [number + ' mintamni', number + ' mintam'], 14563 h: ['eka voran', 'ek vor'], 14564 hh: [number + ' voramni', number + ' voram'], 14565 d: ['eka disan', 'ek dis'], 14566 dd: [number + ' disamni', number + ' dis'], 14567 M: ['eka mhoinean', 'ek mhoino'], 14568 MM: [number + ' mhoineamni', number + ' mhoine'], 14569 y: ['eka vorsan', 'ek voros'], 14570 yy: [number + ' vorsamni', number + ' vorsam'], 14571 }; 14572 return isFuture ? format[key][0] : format[key][1]; 14573 } 14574 14575 var gomLatn = moment.defineLocale('gom-latn', { 14576 months: { 14577 standalone: 'Janer_Febrer_Mars_Abril_Mai_Jun_Julai_Agost_Setembr_Otubr_Novembr_Dezembr'.split( 14578 '_' 14579 ), 14580 format: 'Janerachea_Febrerachea_Marsachea_Abrilachea_Maiachea_Junachea_Julaiachea_Agostachea_Setembrachea_Otubrachea_Novembrachea_Dezembrachea'.split( 14581 '_' 14582 ), 14583 isFormat: /MMMM(\s)+D[oD]?/, 14584 }, 14585 monthsShort: 'Jan._Feb._Mars_Abr._Mai_Jun_Jul._Ago._Set._Otu._Nov._Dez.'.split( 14586 '_' 14587 ), 14588 monthsParseExact: true, 14589 weekdays: "Aitar_Somar_Mongllar_Budhvar_Birestar_Sukrar_Son'var".split('_'), 14590 weekdaysShort: 'Ait._Som._Mon._Bud._Bre._Suk._Son.'.split('_'), 14591 weekdaysMin: 'Ai_Sm_Mo_Bu_Br_Su_Sn'.split('_'), 14592 weekdaysParseExact: true, 14593 longDateFormat: { 14594 LT: 'A h:mm [vazta]', 14595 LTS: 'A h:mm:ss [vazta]', 14596 L: 'DD-MM-YYYY', 14597 LL: 'D MMMM YYYY', 14598 LLL: 'D MMMM YYYY A h:mm [vazta]', 14599 LLLL: 'dddd, MMMM Do, YYYY, A h:mm [vazta]', 14600 llll: 'ddd, D MMM YYYY, A h:mm [vazta]', 14601 }, 14602 calendar: { 14603 sameDay: '[Aiz] LT', 14604 nextDay: '[Faleam] LT', 14605 nextWeek: '[Fuddlo] dddd[,] LT', 14606 lastDay: '[Kal] LT', 14607 lastWeek: '[Fattlo] dddd[,] LT', 14608 sameElse: 'L', 14609 }, 14610 relativeTime: { 14611 future: '%s', 14612 past: '%s adim', 14613 s: processRelativeTime, 14614 ss: processRelativeTime, 14615 m: processRelativeTime, 14616 mm: processRelativeTime, 14617 h: processRelativeTime, 14618 hh: processRelativeTime, 14619 d: processRelativeTime, 14620 dd: processRelativeTime, 14621 M: processRelativeTime, 14622 MM: processRelativeTime, 14623 y: processRelativeTime, 14624 yy: processRelativeTime, 14625 }, 14626 dayOfMonthOrdinalParse: /\d{1,2}(er)/, 14627 ordinal: function (number, period) { 14628 switch (period) { 14629 // the ordinal 'er' only applies to day of the month 14630 case 'D': 14631 return number + 'er'; 14632 default: 14633 case 'M': 14634 case 'Q': 14635 case 'DDD': 14636 case 'd': 14637 case 'w': 14638 case 'W': 14639 return number; 14640 } 14641 }, 14642 week: { 14643 dow: 1, // Monday is the first day of the week. 14644 doy: 4, // The week that contains Jan 4th is the first week of the year. 14645 }, 14646 meridiemParse: /rati|sokallim|donparam|sanje/, 14647 meridiemHour: function (hour, meridiem) { 14648 if (hour === 12) { 14649 hour = 0; 14650 } 14651 if (meridiem === 'rati') { 14652 return hour < 4 ? hour : hour + 12; 14653 } else if (meridiem === 'sokallim') { 14654 return hour; 14655 } else if (meridiem === 'donparam') { 14656 return hour > 12 ? hour : hour + 12; 14657 } else if (meridiem === 'sanje') { 14658 return hour + 12; 14659 } 14660 }, 14661 meridiem: function (hour, minute, isLower) { 14662 if (hour < 4) { 14663 return 'rati'; 14664 } else if (hour < 12) { 14665 return 'sokallim'; 14666 } else if (hour < 16) { 14667 return 'donparam'; 14668 } else if (hour < 20) { 14669 return 'sanje'; 14670 } else { 14671 return 'rati'; 14672 } 14673 }, 14674 }); 14675 14676 return gomLatn; 14677 14678 }))); 14679 14680 14681/***/ }), 14682/* 80 */ 14683/***/ (function(module, exports, __webpack_require__) { 14684 14685 //! moment.js locale configuration 14686 //! locale : Gujarati [gu] 14687 //! author : Kaushik Thanki : https://github.com/Kaushik1987 14688 14689 ;(function (global, factory) { 14690 true ? factory(__webpack_require__(1)) : 14691 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 14692 factory(global.moment) 14693 }(this, (function (moment) { 'use strict'; 14694 14695 //! moment.js locale configuration 14696 14697 var symbolMap = { 14698 '1': 'à«§', 14699 '2': '૨', 14700 '3': 'à«©', 14701 '4': '૪', 14702 '5': 'à««', 14703 '6': '૬', 14704 '7': 'à«', 14705 '8': 'à«®', 14706 '9': '૯', 14707 '0': '૦', 14708 }, 14709 numberMap = { 14710 'à«§': '1', 14711 '૨': '2', 14712 'à«©': '3', 14713 '૪': '4', 14714 'à««': '5', 14715 '૬': '6', 14716 'à«': '7', 14717 'à«®': '8', 14718 '૯': '9', 14719 '૦': '0', 14720 }; 14721 14722 var gu = moment.defineLocale('gu', { 14723 months: 'àªàª¾àª¨à«àª¯à«àªàª°à«_ફà«àª¬à«àª°à«àªàª°à«_મારà«àª_àªàªªà«àª°àª¿àª²_મà«_àªà«àª¨_àªà«àª²àª¾àª_àªàªàª¸à«àª_સપà«àªà«àª®à«àª¬àª°_àªàªà«àªà«àª¬àª°_નવà«àª®à«àª¬àª°_ડિસà«àª®à«àª¬àª°'.split( 14724 '_' 14725 ), 14726 monthsShort: 'àªàª¾àª¨à«àª¯à«._ફà«àª¬à«àª°à«._મારà«àª_àªàªªà«àª°àª¿._મà«_àªà«àª¨_àªà«àª²àª¾._àªàª._સપà«àªà«._àªàªà«àªà«._નવà«._ડà
vendor: 7,581 bytes, lines 14726-14932
14726ª¿àª¸à«.'.split( 14727 '_' 14728 ), 14729 monthsParseExact: true, 14730 weekdays: 'રવિવાર_સà«àª®àªµàª¾àª°_મàªàªàª³àªµàª¾àª°_બà«àª§à«àªµàª¾àª°_àªà«àª°à«àªµàª¾àª°_શà«àªà«àª°àªµàª¾àª°_શનિવાર'.split( 14731 '_' 14732 ), 14733 weekdaysShort: 'રવિ_સà«àª®_મàªàªàª³_બà«àª§à«_àªà«àª°à«_શà«àªà«àª°_શનિ'.split('_'), 14734 weekdaysMin: 'ર_સà«_મàª_બà«_àªà«_શà«_શ'.split('_'), 14735 longDateFormat: { 14736 LT: 'A h:mm વાàªà«àª¯à«', 14737 LTS: 'A h:mm:ss વાàªà«àª¯à«', 14738 L: 'DD/MM/YYYY', 14739 LL: 'D MMMM YYYY', 14740 LLL: 'D MMMM YYYY, A h:mm વાàªà«àª¯à«', 14741 LLLL: 'dddd, D MMMM YYYY, A h:mm વાàªà«àª¯à«', 14742 }, 14743 calendar: { 14744 sameDay: '[àªàª] LT', 14745 nextDay: '[àªàª¾àª²à«] LT', 14746 nextWeek: 'dddd, LT', 14747 lastDay: '[àªàªàªàª¾àª²à«] LT', 14748 lastWeek: '[પાàªàª²àª¾] dddd, LT', 14749 sameElse: 'L', 14750 }, 14751 relativeTime: { 14752 future: '%s મા', 14753 past: '%s પà«àª¹àª²àª¾', 14754 s: 'ઠમà«àª પળà«', 14755 ss: '%d સà«àªàªàª¡', 14756 m: 'àªàª મિનિàª', 14757 mm: '%d મિનિàª', 14758 h: 'àªàª àªàª²àª¾àª', 14759 hh: '%d àªàª²àª¾àª', 14760 d: 'àªàª દિવસ', 14761 dd: '%d દિવસ', 14762 M: 'àªàª મહિનà«', 14763 MM: '%d મહિનà«', 14764 y: 'àªàª વરà«àª·', 14765 yy: '%d વરà«àª·', 14766 }, 14767 preparse: function (string) { 14768 return string.replace(/[૧૨૩૪૫૬à«à«®à«¯à«¦]/g, function (match) { 14769 return numberMap[match]; 14770 }); 14771 }, 14772 postformat: function (string) { 14773 return string.replace(/\d/g, function (match) { 14774 return symbolMap[match]; 14775 }); 14776 }, 14777 // Gujarati notation for meridiems are quite fuzzy in practice. While there exists 14778 // a rigid notion of a 'Pahar' it is not used as rigidly in modern Gujarati. 14779 meridiemParse: /રાત|બપà«àª°|સવાર|સાàªàª/, 14780 meridiemHour: function (hour, meridiem) { 14781 if (hour === 12) { 14782 hour = 0; 14783 } 14784 if (meridiem === 'રાત') { 14785 return hour < 4 ? hour : hour + 12; 14786 } else if (meridiem === 'સવાર') { 14787 return hour; 14788 } else if (meridiem === 'બપà«àª°') { 14789 return hour >= 10 ? hour : hour + 12; 14790 } else if (meridiem === 'સાàªàª') { 14791 return hour + 12; 14792 } 14793 }, 14794 meridiem: function (hour, minute, isLower) { 14795 if (hour < 4) { 14796 return 'રાત'; 14797 } else if (hour < 10) { 14798 return 'સવાર'; 14799 } else if (hour < 17) { 14800 return 'બપà«àª°'; 14801 } else if (hour < 20) { 14802 return 'સાàªàª'; 14803 } else { 14804 return 'રાત'; 14805 } 14806 }, 14807 week: { 14808 dow: 0, // Sunday is the first day of the week. 14809 doy: 6, // The week that contains Jan 6th is the first week of the year. 14810 }, 14811 }); 14812 14813 return gu; 14814 14815 }))); 14816 14817 14818/***/ }), 14819/* 81 */ 14820/***/ (function(module, exports, __webpack_require__) { 14821 14822 //! moment.js locale configuration 14823 //! locale : Hebrew [he] 14824 //! author : Tomer Cohen : https://github.com/tomer 14825 //! author : Moshe Simantov : https://github.com/DevelopmentIL 14826 //! author : Tal Ater : https://github.com/TalAter 14827 14828 ;(function (global, factory) { 14829 true ? factory(__webpack_require__(1)) : 14830 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 14831 factory(global.moment) 14832 }(this, (function (moment) { 'use strict'; 14833 14834 //! moment.js locale configuration 14835 14836 var he = moment.defineLocale('he', { 14837 months: '×× ××ר_פ×ר××ר_×רץ_×פר××_×××_××× ×_××××_××××ס×_ספ×××ר_×××§×××ר_× ××××ר_×צ××ר'.split( 14838 '_' 14839 ), 14840 monthsShort: '×× ×׳_פ×ר׳_×רץ_×פר׳_×××_××× ×_××××_×××׳_ספ×׳_××ק׳_× ××׳_×צ×׳'.split( 14841 '_' 14842 ), 14843 weekdays: 'ר×ש××_×©× ×_ש××ש×_ר×××¢×_×××ש×_ש×ש×_ש×ת'.split('_'), 14844 weekdaysShort: '×׳_×׳_×׳_×׳_×׳_×׳_ש׳'.split('_'), 14845 weekdaysMin: '×_×_×_×_×_×_ש'.split('_'), 14846 longDateFormat: { 14847 LT: 'HH:mm', 14848 LTS: 'HH:mm:ss', 14849 L: 'DD/MM/YYYY', 14850 LL: 'D [×]MMMM YYYY', 14851 LLL: 'D [×]MMMM YYYY HH:mm', 14852 LLLL: 'dddd, D [×]MMMM YYYY HH:mm', 14853 l: 'D/M/YYYY', 14854 ll: 'D MMM YYYY', 14855 lll: 'D MMM YYYY HH:mm', 14856 llll: 'ddd, D MMM YYYY HH:mm', 14857 }, 14858 calendar: { 14859 sameDay: '[×××× ×Ö¾]LT', 14860 nextDay: '[××ר ×Ö¾]LT', 14861 nextWeek: 'dddd [×שע×] LT', 14862 lastDay: '[×ת××× ×Ö¾]LT', 14863 lastWeek: '[××××] dddd [×××ר×× ×שע×] LT', 14864 sameElse: 'L', 14865 }, 14866 relativeTime: { 14867 future: '××¢×× %s', 14868 past: '××¤× × %s', 14869 s: '×ספר ×©× ××ת', 14870 ss: '%d ×©× ××ת', 14871 m: '××§×', 14872 mm: '%d ××§×ת', 14873 h: 'שע×', 14874 hh: function (number) { 14875 if (number === 2) { 14876 return 'שעת×××'; 14877 } 14878 return number + ' שע×ת'; 14879 }, 14880 d: '×××', 14881 dd: function (number) { 14882 if (number === 2) { 14883 return '××××××'; 14884 } 14885 return number + ' ××××'; 14886 }, 14887 M: '×××ש', 14888 MM: function (number) { 14889 if (number === 2) { 14890 return '×××ש×××'; 14891 } 14892 return number + ' ×××ש××'; 14893 }, 14894 y: '×©× ×', 14895 yy: function (number) { 14896 if (number === 2) { 14897 return '×©× ×ª×××'; 14898 } else if (number % 10 === 0 && number !== 10) { 14899 return number + ' ×©× ×'; 14900 } 14901 return number + ' ×©× ××'; 14902 }, 14903 }, 14904 meridiemParse: /×××"צ|××¤× ×"צ|×××¨× ×צ×ר×××|××¤× × ×צ×ר×××|××¤× ×ת ××קר|×××קר|×ער×/i, 14905 isPM: function (input) { 14906 return /^(×××"צ|×××¨× ×צ×ר×××|×ער×)$/.test(input); 14907 }, 14908 meridiem: function (hour, minute, isLower) { 14909 if (hour < 5) { 14910 return '××¤× ×ת ××קר'; 14911 } else if (hour < 10) { 14912 return '×××קר'; 14913 } else if (hour < 12) { 14914 return isLower ? '××¤× ×"צ' : '××¤× × ×צ×ר×××'; 14915 } else if (hour < 18) { 14916 return isLower ? '×××"צ' : '×××¨× ×צ×ר×××'; 14917 } else { 14918 return '×ער×'; 14919 } 14920 }, 14921 }); 14922 14923 return he; 14924 14925 }))); 14926 14927 14928/***/ }), 14929/* 82 */ 14930/***/ (function(module, exports, __webpack_require__) { 14931 14932 //! moment.js locale configuration
14933 //! locale : Hindi [hi] 14934 //! author : Mayank Singhal : https://github.com/mayanksinghal 14935 14936 ;(function (global, factory) { 14937 true ? factory(__webpack_require__(1)) : 14938 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 14939 factory(global.moment) 14940 }(this, (function (moment) { 'use strict'; 14941 14942 //! moment.js locale configuration 14943 14944 var symbolMap = { 14945 '1': '१', 14946 '2': '२', 14947 '3': '३', 14948 '4': '४', 14949 '5': '५', 14950 '6': '६', 14951 '7': 'à¥', 14952 '8': '८', 14953 '9': '९', 14954 '0': '०', 14955 }, 14956 numberMap = { 14957 '१': '1', 14958 '२': '2', 14959 '३': '3', 14960 '४': '4', 14961 '५': '5', 14962 '६': '6', 14963 'à¥': '7', 14964 '८': '8', 14965 '९': '9', 14966 '०': '0', 14967 }; 14968 14969 var hi = moment.defineLocale('hi', { 14970 months: 'à¤à¤¨à¤µà¤°à¥_फ़रवरà¥_मारà¥à¤_ठपà¥à¤°à¥à¤²_मà¤_à¤à¥à¤¨_à¤à¥à¤²à¤¾à¤_ठà¤à¤¸à¥à¤¤_सितमà¥à¤¬à¤°_ठà¤à¥à¤à¥à¤¬à¤°_नवमà¥à¤¬à¤°_दिसमà¥à¤¬à¤°'.split( 14971 '_' 14972 ), 14973 monthsShort: 'à¤à¤¨._फ़र._मारà¥à¤_ठपà¥à¤°à¥._मà¤_à¤à¥à¤¨_à¤à¥à¤²._ठà¤._सित._ठà¤à¥à¤à¥._नव._दिस.'.split( 14974 '_' 14975 ), 14976 monthsParseExact: true, 14977 weekdays: 'रविवार_सà¥à¤®à¤µà¤¾à¤°_मà¤à¤à¤²à¤µà¤¾à¤°_बà¥à¤§à¤µà¤¾à¤°_à¤à¥à¤°à¥à¤µà¤¾à¤°_शà¥à¤à¥à¤°à¤µà¤¾à¤°_शनिवार'.split('_'), 14978 weekdaysShort: 'रवि_सà¥à¤®_मà¤à¤à¤²_बà¥à¤§_à¤à¥à¤°à¥_शà¥à¤à¥à¤°_शनि'.split('_'), 14979 weekdaysMin: 'र_सà¥_मà¤_बà¥_à¤à¥_शà¥_श'.split('_'), 14980 longDateFormat: { 14981 LT: 'A h:mm बà¤à¥', 14982 LTS: 'A h:mm:ss बà¤à¥', 14983 L: 'DD/MM/YYYY', 14984 LL: 'D MMMM YYYY', 14985 LLL: 'D MMMM YYYY, A h:mm बà¤à¥', 14986 LLLL: 'dddd, D MMMM YYYY, A h:mm बà¤à¥', 14987 }, 14988 calendar: { 14989 sameDay: '[à¤à¤] LT', 14990 nextDay: '[à¤à¤²] LT', 14991 nextWeek: 'dddd, LT', 14992 lastDay: '[à¤à¤²] LT', 14993 lastWeek: '[पिà¤à¤²à¥] dddd, LT', 14994 sameElse: 'L', 14995 }, 14996 relativeTime: { 14997 future: '%s मà¥à¤', 14998 past: '%s पहलà¥', 14999 s: 'à¤à¥à¤ हॠà¤à¥à¤·à¤£', 15000 ss: '%d सà¥à¤à¤à¤¡', 15001 m: 'à¤à¤ मिनà¤', 15002 mm: '%d मिनà¤', 15003 h: 'à¤à¤ à¤à¤à¤à¤¾', 15004 hh: '%d à¤à¤à¤à¥', 15005 d: 'à¤à¤ दिन', 15006 dd: '%d दिन', 15007 M: 'à¤à¤ महà¥à¤¨à¥', 15008 MM: '%d महà¥à¤¨à¥', 15009 y: 'à¤à¤ वरà¥à¤·', 15010 yy: '%d वरà¥à¤·', 15011 }, 15012 preparse: function (string) { 15013 return string.replace(/[१२३४५६à¥à¥®à¥¯à¥¦]/g, function (match) { 15014 return numberMap[match]; 15015 }); 15016 }, 15017 postformat: function (string) { 15018 return string.replace(/\d/g, function (match) { 15019 return symbolMap[match]; 15020 }); 15021 }, 15022 // Hindi notation for meridiems are quite fuzzy in practice. While there exists 15023 // a rigid notion of a 'Pahar' it is not used as rigidly in modern Hindi. 15024 meridiemParse: /रात|सà¥à¤¬à¤¹|दà¥à¤ªà¤¹à¤°|शाम/, 15025 meridiemHour: function (hour, meridiem) { 15026 if (hour === 12) { 15027 hour = 0; 15028 } 15029 if (meridiem === 'रात') { 15030 return hour < 4 ? hour : hour + 12; 15031 } else if (meridiem === 'सà¥à¤¬à¤¹') { 15032 return hour; 15033 } else if (meridiem === 'दà¥à¤ªà¤¹à¤°') { 15034 return hour >= 10 ? hour : hour + 12; 15035 } else if (meridiem === 'शाम') { 15036 return hour + 12; 15037 } 15038 }, 15039 meridiem: function (hour, minute, isLower) { 15040 if (hour < 4) {
vendor: 13,486 bytes, lines 15041-15426
15041 return 'रात'; 15042 } else if (hour < 10) { 15043 return 'सà¥à¤¬à¤¹'; 15044 } else if (hour < 17) { 15045 return 'दà¥à¤ªà¤¹à¤°'; 15046 } else if (hour < 20) { 15047 return 'शाम'; 15048 } else { 15049 return 'रात'; 15050 } 15051 }, 15052 week: { 15053 dow: 0, // Sunday is the first day of the week. 15054 doy: 6, // The week that contains Jan 6th is the first week of the year. 15055 }, 15056 }); 15057 15058 return hi; 15059 15060 }))); 15061 15062 15063/***/ }), 15064/* 83 */ 15065/***/ (function(module, exports, __webpack_require__) { 15066 15067 //! moment.js locale configuration 15068 //! locale : Croatian [hr] 15069 //! author : Bojan MarkoviÄ : https://github.com/bmarkovic 15070 15071 ;(function (global, factory) { 15072 true ? factory(__webpack_require__(1)) : 15073 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 15074 factory(global.moment) 15075 }(this, (function (moment) { 'use strict'; 15076 15077 //! moment.js locale configuration 15078 15079 function translate(number, withoutSuffix, key) { 15080 var result = number + ' '; 15081 switch (key) { 15082 case 'ss': 15083 if (number === 1) { 15084 result += 'sekunda'; 15085 } else if (number === 2 || number === 3 || number === 4) { 15086 result += 'sekunde'; 15087 } else { 15088 result += 'sekundi'; 15089 } 15090 return result; 15091 case 'm': 15092 return withoutSuffix ? 'jedna minuta' : 'jedne minute'; 15093 case 'mm': 15094 if (number === 1) { 15095 result += 'minuta'; 15096 } else if (number === 2 || number === 3 || number === 4) { 15097 result += 'minute'; 15098 } else { 15099 result += 'minuta'; 15100 } 15101 return result; 15102 case 'h': 15103 return withoutSuffix ? 'jedan sat' : 'jednog sata'; 15104 case 'hh': 15105 if (number === 1) { 15106 result += 'sat'; 15107 } else if (number === 2 || number === 3 || number === 4) { 15108 result += 'sata'; 15109 } else { 15110 result += 'sati'; 15111 } 15112 return result; 15113 case 'dd': 15114 if (number === 1) { 15115 result += 'dan'; 15116 } else { 15117 result += 'dana'; 15118 } 15119 return result; 15120 case 'MM': 15121 if (number === 1) { 15122 result += 'mjesec'; 15123 } else if (number === 2 || number === 3 || number === 4) { 15124 result += 'mjeseca'; 15125 } else { 15126 result += 'mjeseci'; 15127 } 15128 return result; 15129 case 'yy': 15130 if (number === 1) { 15131 result += 'godina'; 15132 } else if (number === 2 || number === 3 || number === 4) { 15133 result += 'godine'; 15134 } else { 15135 result += 'godina'; 15136 } 15137 return result; 15138 } 15139 } 15140 15141 var hr = moment.defineLocale('hr', { 15142 months: { 15143 format: 'sijeÄnja_veljaÄe_ožujka_travnja_svibnja_lipnja_srpnja_kolovoza_rujna_listopada_studenoga_prosinca'.split( 15144 '_' 15145 ), 15146 standalone: 'sijeÄanj_veljaÄa_ožujak_travanj_svibanj_lipanj_srpanj_kolovoz_rujan_listopad_studeni_prosinac'.split( 15147 '_' 15148 ), 15149 }, 15150 monthsShort: 'sij._velj._ožu._tra._svi._lip._srp._kol._ruj._lis._stu._pro.'.split( 15151 '_' 15152 ), 15153 monthsParseExact: true, 15154 weekdays: 'nedjelja_ponedjeljak_utorak_srijeda_Äetvrtak_petak_subota'.split( 15155 '_' 15156 ), 15157 weekdaysShort: 'ned._pon._uto._sri._Äet._pet._sub.'.split('_'), 15158 weekdaysMin: 'ne_po_ut_sr_Äe_pe_su'.split('_'), 15159 weekdaysParseExact: true, 15160 longDateFormat: { 15161 LT: 'H:mm', 15162 LTS: 'H:mm:ss', 15163 L: 'DD.MM.YYYY', 15164 LL: 'Do MMMM YYYY', 15165 LLL: 'Do MMMM YYYY H:mm', 15166 LLLL: 'dddd, Do MMMM YYYY H:mm', 15167 }, 15168 calendar: { 15169 sameDay: '[danas u] LT', 15170 nextDay: '[sutra u] LT', 15171 nextWeek: function () { 15172 switch (this.day()) { 15173 case 0: 15174 return '[u] [nedjelju] [u] LT'; 15175 case 3: 15176 return '[u] [srijedu] [u] LT'; 15177 case 6: 15178 return '[u] [subotu] [u] LT'; 15179 case 1: 15180 case 2: 15181 case 4: 15182 case 5: 15183 return '[u] dddd [u] LT'; 15184 } 15185 }, 15186 lastDay: '[juÄer u] LT', 15187 lastWeek: function () { 15188 switch (this.day()) { 15189 case 0: 15190 return '[proÅ¡lu] [nedjelju] [u] LT'; 15191 case 3: 15192 return '[proÅ¡lu] [srijedu] [u] LT'; 15193 case 6: 15194 return '[proÅ¡le] [subote] [u] LT'; 15195 case 1: 15196 case 2: 15197 case 4: 15198 case 5: 15199 return '[proÅ¡li] dddd [u] LT'; 15200 } 15201 }, 15202 sameElse: 'L', 15203 }, 15204 relativeTime: { 15205 future: 'za %s', 15206 past: 'prije %s', 15207 s: 'par sekundi', 15208 ss: translate, 15209 m: translate, 15210 mm: translate, 15211 h: translate, 15212 hh: translate, 15213 d: 'dan', 15214 dd: translate, 15215 M: 'mjesec', 15216 MM: translate, 15217 y: 'godinu', 15218 yy: translate, 15219 }, 15220 dayOfMonthOrdinalParse: /\d{1,2}\./, 15221 ordinal: '%d.', 15222 week: { 15223 dow: 1, // Monday is the first day of the week. 15224 doy: 7, // The week that contains Jan 7th is the first week of the year. 15225 }, 15226 }); 15227 15228 return hr; 15229 15230 }))); 15231 15232 15233/***/ }), 15234/* 84 */ 15235/***/ (function(module, exports, __webpack_require__) { 15236 15237 //! moment.js locale configuration 15238 //! locale : Hungarian [hu] 15239 //! author : Adam Brunner : https://github.com/adambrunner 15240 15241 ;(function (global, factory) { 15242 true ? factory(__webpack_require__(1)) : 15243 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 15244 factory(global.moment) 15245 }(this, (function (moment) { 'use strict'; 15246 15247 //! moment.js locale configuration 15248 15249 var weekEndings = 'vasárnap hétfÅn kedden szerdán csütörtökön pénteken szombaton'.split( 15250 ' ' 15251 ); 15252 function translate(number, withoutSuffix, key, isFuture) { 15253 var num = number; 15254 switch (key) { 15255 case 's': 15256 return isFuture || withoutSuffix 15257 ? 'néhány másodperc' 15258 : 'néhány másodperce'; 15259 case 'ss': 15260 return num + (isFuture || withoutSuffix) 15261 ? ' másodperc' 15262 : ' másodperce'; 15263 case 'm': 15264 return 'egy' + (isFuture || withoutSuffix ? ' perc' : ' perce'); 15265 case 'mm': 15266 return num + (isFuture || withoutSuffix ? ' perc' : ' perce'); 15267 case 'h': 15268 return 'egy' + (isFuture || withoutSuffix ? ' óra' : ' órája'); 15269 case 'hh': 15270 return num + (isFuture || withoutSuffix ? ' óra' : ' órája'); 15271 case 'd': 15272 return 'egy' + (isFuture || withoutSuffix ? ' nap' : ' napja'); 15273 case 'dd': 15274 return num + (isFuture || withoutSuffix ? ' nap' : ' napja'); 15275 case 'M': 15276 return 'egy' + (isFuture || withoutSuffix ? ' hónap' : ' hónapja'); 15277 case 'MM': 15278 return num + (isFuture || withoutSuffix ? ' hónap' : ' hónapja'); 15279 case 'y': 15280 return 'egy' + (isFuture || withoutSuffix ? ' év' : ' éve'); 15281 case 'yy': 15282 return num + (isFuture || withoutSuffix ? ' év' : ' éve'); 15283 } 15284 return ''; 15285 } 15286 function week(isFuture) { 15287 return ( 15288 (isFuture ? '' : '[múlt] ') + 15289 '[' + 15290 weekEndings[this.day()] + 15291 '] LT[-kor]' 15292 ); 15293 } 15294 15295 var hu = moment.defineLocale('hu', { 15296 months: 'január_február_március_április_május_június_július_augusztus_szeptember_október_november_december'.split( 15297 '_' 15298 ), 15299 monthsShort: 'jan_feb_márc_ápr_máj_jún_júl_aug_szept_okt_nov_dec'.split( 15300 '_' 15301 ), 15302 weekdays: 'vasárnap_hétfÅ_kedd_szerda_csütörtök_péntek_szombat'.split('_'), 15303 weekdaysShort: 'vas_hét_kedd_sze_csüt_pén_szo'.split('_'), 15304 weekdaysMin: 'v_h_k_sze_cs_p_szo'.split('_'), 15305 longDateFormat: { 15306 LT: 'H:mm', 15307 LTS: 'H:mm:ss', 15308 L: 'YYYY.MM.DD.', 15309 LL: 'YYYY. MMMM D.', 15310 LLL: 'YYYY. MMMM D. H:mm', 15311 LLLL: 'YYYY. MMMM D., dddd H:mm', 15312 }, 15313 meridiemParse: /de|du/i, 15314 isPM: function (input) { 15315 return input.charAt(1).toLowerCase() === 'u'; 15316 }, 15317 meridiem: function (hours, minutes, isLower) { 15318 if (hours < 12) { 15319 return isLower === true ? 'de' : 'DE'; 15320 } else { 15321 return isLower === true ? 'du' : 'DU'; 15322 } 15323 }, 15324 calendar: { 15325 sameDay: '[ma] LT[-kor]', 15326 nextDay: '[holnap] LT[-kor]', 15327 nextWeek: function () { 15328 return week.call(this, true); 15329 }, 15330 lastDay: '[tegnap] LT[-kor]', 15331 lastWeek: function () { 15332 return week.call(this, false); 15333 }, 15334 sameElse: 'L', 15335 }, 15336 relativeTime: { 15337 future: '%s múlva', 15338 past: '%s', 15339 s: translate, 15340 ss: translate, 15341 m: translate, 15342 mm: translate, 15343 h: translate, 15344 hh: translate, 15345 d: translate, 15346 dd: translate, 15347 M: translate, 15348 MM: translate, 15349 y: translate, 15350 yy: translate, 15351 }, 15352 dayOfMonthOrdinalParse: /\d{1,2}\./, 15353 ordinal: '%d.', 15354 week: { 15355 dow: 1, // Monday is the first day of the week. 15356 doy: 4, // The week that contains Jan 4th is the first week of the year. 15357 }, 15358 }); 15359 15360 return hu; 15361 15362 }))); 15363 15364 15365/***/ }), 15366/* 85 */ 15367/***/ (function(module, exports, __webpack_require__) { 15368 15369 //! moment.js locale configuration 15370 //! locale : Armenian [hy-am] 15371 //! author : Armendarabyan : https://github.com/armendarabyan 15372 15373 ;(function (global, factory) { 15374 true ? factory(__webpack_require__(1)) : 15375 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 15376 factory(global.moment) 15377 }(this, (function (moment) { 'use strict'; 15378 15379 //! moment.js locale configuration 15380 15381 var hyAm = moment.defineLocale('hy-am', { 15382 months: { 15383 format: 'Õ°Õ¸ÖÕ¶Õ¾Õ¡ÖÕ«_ÖÕ¥Õ¿ÖÕ¾Õ¡ÖÕ«_Õ´Õ¡ÖÕ¿Õ«_Õ¡ÕºÖÕ«Õ¬Õ«_Õ´Õ¡ÕµÕ«Õ½Õ«_Õ°Õ¸ÖÕ¶Õ«Õ½Õ«_Õ°Õ¸ÖÕ¬Õ«Õ½Õ«_Ö Õ£Õ¸Õ½Õ¿Õ¸Õ½Õ«_Õ½Õ¥ÕºÕ¿Õ¥Õ´Õ¢Õ¥ÖÕ«_Õ°Õ¸Õ¯Õ¿Õ¥Õ´Õ¢Õ¥ÖÕ«_Õ¶Õ¸ÕµÕ¥Õ´Õ¢Õ¥ÖÕ«_Õ¤Õ¥Õ¯Õ¿Õ¥Õ´Õ¢Õ¥ÖÕ«'.split( 15384 '_' 15385 ), 15386 standalone: 'Õ°Õ¸ÖÕ¶Õ¾Õ¡Ö_ÖÕ¥Õ¿ÖÕ¾Õ¡Ö_Õ´Õ¡ÖÕ¿_Õ¡ÕºÖÕ«Õ¬_Õ´Õ¡ÕµÕ«Õ½_Õ°Õ¸ÖÕ¶Õ«Õ½_Õ°Õ¸ÖÕ¬Õ«Õ½_Ö Õ£Õ¸Õ½Õ¿Õ¸Õ½_Õ½Õ¥ÕºÕ¿Õ¥Õ´Õ¢Õ¥Ö_Õ°Õ¸Õ¯Õ¿Õ¥Õ´Õ¢Õ¥Ö_Õ¶Õ¸ÕµÕ¥Õ´Õ¢Õ¥Ö_Õ¤Õ¥Õ¯Õ¿Õ¥Õ´Õ¢Õ¥Ö'.split( 15387 '_' 15388 ), 15389 }, 15390 monthsShort: 'Õ°Õ¶Õ¾_ÖÕ¿Ö_Õ´ÖÕ¿_Õ¡ÕºÖ_Õ´ÕµÕ½_Õ°Õ¶Õ½_Õ°Õ¬Õ½_Ö Õ£Õ½_Õ½ÕºÕ¿_Õ°Õ¯Õ¿_Õ¶Õ´Õ¢_Õ¤Õ¯Õ¿'.split('_'), 15391 weekdays: 'Õ¯Õ«ÖÕ¡Õ¯Õ«_Õ¥ÖÕ¯Õ¸ÖÕ·Õ¡Õ¢Õ©Õ«_Õ¥ÖÕ¥ÖÕ·Õ¡Õ¢Õ©Õ«_Õ¹Õ¸ÖÕ¥ÖÕ·Õ¡Õ¢Õ©Õ«_Õ°Õ«Õ¶Õ£Õ·Õ¡Õ¢Õ©Õ«_Õ¸ÖÖÕ¢Õ¡Õ©_Õ·Õ¡Õ¢Õ¡Õ©'.split( 15392 '_' 15393 ), 15394 weekdaysShort: 'Õ¯ÖÕ¯_Õ¥ÖÕ¯_Õ¥ÖÖ_Õ¹ÖÖ_Õ°Õ¶Õ£_Õ¸ÖÖÕ¢_Õ·Õ¢Õ©'.split('_'), 15395 weekdaysMin: 'Õ¯ÖÕ¯_Õ¥ÖÕ¯_Õ¥ÖÖ_Õ¹ÖÖ_Õ°Õ¶Õ£_Õ¸ÖÖÕ¢_Õ·Õ¢Õ©'.split('_'), 15396 longDateFormat: { 15397 LT: 'HH:mm', 15398 LTS: 'HH:mm:ss', 15399 L: 'DD.MM.YYYY', 15400 LL: 'D MMMM YYYY Õ©.', 15401 LLL: 'D MMMM YYYY Õ©., HH:mm', 15402 LLLL: 'dddd, D MMMM YYYY Õ©., HH:mm', 15403 }, 15404 calendar: { 15405 sameDay: '[Õ¡ÕµÕ½Ö Ö] LT', 15406 nextDay: '[Õ¾Õ¡Õ²Õ¨] LT', 15407 lastDay: '[Õ¥ÖÕ¥Õ¯] LT', 15408 nextWeek: function () { 15409 return 'dddd [Ö ÖÕ¨ ÕªÕ¡Õ´Õ¨] LT'; 15410 }, 15411 lastWeek: function () { 15412 return '[Õ¡Õ¶ÖÕ¡Õ®] dddd [Ö ÖÕ¨ ÕªÕ¡Õ´Õ¨] LT'; 15413 }, 15414 sameElse: 'L', 15415 }, 15416 relativeTime: { 15417 future: '%s Õ°Õ¥Õ¿Õ¸', 15418 past: '%s Õ¡Õ¼Õ¡Õ»', 15419 s: 'Õ´Õ« ÖÕ¡Õ¶Õ« Õ¾Õ¡ÕµÖÕ¯ÕµÕ¡Õ¶', 15420 ss: '%d Õ¾Õ¡ÕµÖÕ¯ÕµÕ¡Õ¶', 15421 m: 'ÖÕ¸ÕºÕ¥', 15422 mm: '%d ÖÕ¸ÕºÕ¥', 15423 h: 'ÕªÕ¡Õ´', 15424 hh: '%d ÕªÕ¡Õ´', 15425 d: 'Ö Ö', 15426 dd: '%d Ö Ö',
15427 M: 'Õ¡Õ´Õ«Õ½', 15428 MM: '%d Õ¡Õ´Õ«Õ½', 15429 y: 'Õ¿Õ¡ÖÕ«', 15430 yy: '%d Õ¿Õ¡ÖÕ«', 15431 }, 15432 meridiemParse: /Õ£Õ«Õ·Õ¥ÖÕ¾Õ¡|Õ¡Õ¼Õ¡Õ¾Õ¸Õ¿Õ¾Õ¡|ÖÕ¥ÖÕ¥Õ¯Õ¾Õ¡|Õ¥ÖÕ¥Õ¯Õ¸ÕµÕ¡Õ¶/, 15433 isPM: function (input) { 15434 return /^(ÖÕ¥ÖÕ¥Õ¯Õ¾Õ¡|Õ¥ÖÕ¥Õ¯Õ¸ÕµÕ¡Õ¶)$/.test(input); 15435 }, 15436 meridiem: function (hour) { 15437 if (hour < 4) { 15438 return 'Õ£Õ«Õ·Õ¥ÖÕ¾Õ¡'; 15439 } else if (hour < 12) { 15440 return 'Õ¡Õ¼Õ¡Õ¾Õ¸Õ¿Õ¾Õ¡'; 15441 } else if (hour < 17) { 15442 return 'ÖÕ¥ÖÕ¥Õ¯Õ¾Õ¡'; 15443 } else { 15444 return 'Õ¥ÖÕ¥Õ¯Õ¸ÕµÕ¡Õ¶'; 15445 } 15446 }, 15447 dayOfMonthOrdinalParse: /\d{1,2}|\d{1,2}-(Õ«Õ¶|ÖÕ¤)/, 15448 ordinal: function (number, period) { 15449 switch (period) { 15450 case 'DDD': 15451 case 'w': 15452 case 'W': 15453 case 'DDDo': 15454 if (number === 1) { 15455 return number + '-Õ«Õ¶'; 15456 } 15457 return number + '-ÖÕ¤'; 15458 default: 15459 return number; 15460 } 15461 }, 15462 week: { 15463 dow: 1, // Monday is the first day of the week. 15464 doy: 7, // The week that contains Jan 7th is the first week of the year. 15465 }, 15466 }); 15467 15468 return hyAm; 15469 15470 }))); 15471 15472 15473/***/ }), 15474/* 86 */ 15475/***/ (function(module, exports, __webpack_require__) { 15476 15477 //! moment.js locale configuration 15478 //! locale : Indonesian [id] 15479 //! author : Mohammad Satrio Utomo : https://github.com/tyok 15480 //! reference: http://id.wikisource.org/wiki/Pedoman_Umum_Ejaan_Bahasa_Indonesia_yang_Disempurnakan 15481 15482 ;(function (global, factory) { 15483 true ? factory(__webpack_require__(1)) : 15484 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 15485 factory(global.moment) 15486 }(this, (function (moment) { 'use strict'; 15487 15488 //! moment.js locale configuration 15489 15490 var id = moment.defineLocale('id', { 15491 months: 'Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_November_Desember'.split( 15492 '_' 15493 ), 15494 monthsShort: 'Jan_Feb_Mar_Apr_Mei_Jun_Jul_Agt_Sep_Okt_Nov_Des'.split('_'), 15495 weekdays: 'Minggu_Senin_Selasa_Rabu_Kamis_Jumat_Sabtu'.split('_'), 15496 weekdaysShort: 'Min_Sen_Sel_Rab_Kam_Jum_Sab'.split('_'), 15497 weekdaysMin: 'Mg_Sn_Sl_Rb_Km_Jm_Sb'.split('_'), 15498 longDateFormat: { 15499 LT: 'HH.mm', 15500 LTS: 'HH.mm.ss', 15501 L: 'DD/MM/YYYY', 15502 LL: 'D MMMM YYYY', 15503 LLL: 'D MMMM YYYY [pukul] HH.mm', 15504 LLLL: 'dddd, D MMMM YYYY [pukul] HH.mm', 15505 }, 15506 meridiemParse: /pagi|siang|sore|malam/, 15507 meridiemHour: function (hour, meridiem) { 15508 if (hour === 12) { 15509 hour = 0; 15510 } 15511 if (meridiem === 'pagi') { 15512 return hour; 15513 } else if (meridiem === 'siang') { 15514 return hour >= 11 ? hour : hour + 12; 15515 } else if (meridiem === 'sore' || meridiem === 'malam') { 15516 return hour + 12; 15517 } 15518 }, 15519 meridiem: function (hours, minutes, isLower) { 15520 if (hours < 11) { 15521 return 'pagi'; 15522 } else if (hours < 15) { 15523 return 'siang'; 15524 } else if (hours < 19) { 15525 return 'sore'; 15526 } else { 15527 return 'malam'; 15528 } 15529 }, 15530 calendar: { 15531 sameDay: '[Hari ini pukul] LT', 15532 nextDay: '[Besok pukul] LT', 15533 nextWeek: 'dddd [pukul] LT', 15534 lastDay: '[Kemarin pukul] LT', 15535 lastWeek: 'dddd [lalu pukul] LT', 15536 sameElse: 'L', 15537 }, 15538 relativeTime: { 15539 future: 'dalam %s', 15540 past: '%s yang lalu', 15541 s: 'beberapa detik', 15542 ss: '%d detik', 15543 m: 'semenit', 15544 mm: '%d menit', 15545 h: 'sejam', 15546 hh: '%d jam', 15547 d: 'sehari', 15548 dd: '%d hari', 15549 M: 'sebulan', 15550 MM: '%d bulan', 15551 y: 'setahun', 15552 yy: '%d tahun', 15553 }, 15554 week: { 15555 dow: 0, // Sunday is the first day of the week. 15556 doy: 6, // The week that contains Jan 6th is the first week of the year. 15557 }, 15558 }); 15559 15560 return id; 15561 15562 }))); 15563 15564 15565/***/ }), 15566/* 87 */ 15567/***/ (function(module, exports, __webpack_require__) { 15568 15569 //! moment.js locale configuration 15570 //! locale : Icelandic [is] 15571 //! author : Hinrik Ãrn Sigurðsson : https://github.com/hinrik 15572 15573 ;(function (global, factory) { 15574 true ? factory(__webpack_require__(1)) : 15575 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 15576 factory(global.moment) 15577 }(this, (function (moment) { 'use strict'; 15578 15579 //! moment.js locale configuration 15580 15581 function plural(n) { 15582 if (n % 100 === 11) { 15583 return true; 15584 } else if (n % 10 === 1) { 15585 return false;
15586 } 15587 return true; 15588 } 15589 function translate(number, withoutSuffix, key, isFuture) { 15590 var result = number + ' '; 15591 switch (key) { 15592 case 's': 15593 return withoutSuffix || isFuture 15594 ? 'nokkrar sekúndur' 15595 : 'nokkrum sekúndum'; 15596 case 'ss': 15597 if (plural(number)) { 15598 return ( 15599 result + 15600 (withoutSuffix || isFuture ? 'sekúndur' : 'sekúndum') 15601 ); 15602 } 15603 return result + 'sekúnda'; 15604 case 'm': 15605 return withoutSuffix ? 'mÃnúta' : 'mÃnútu'; 15606 case 'mm': 15607 if (plural(number)) { 15608 return ( 15609 result + (withoutSuffix || isFuture ? 'mÃnútur' : 'mÃnútum') 15610 ); 15611 } else if (withoutSuffix) { 15612 return result + 'mÃnúta'; 15613 } 15614 return result + 'mÃnútu'; 15615 case 'hh': 15616 if (plural(number)) { 15617 return ( 15618 result + 15619 (withoutSuffix || isFuture 15620 ? 'klukkustundir' 15621 : 'klukkustundum') 15622 ); 15623 } 15624 return result + 'klukkustund'; 15625 case 'd': 15626 if (withoutSuffix) { 15627 return 'dagur'; 15628 } 15629 return isFuture ? 'dag' : 'degi'; 15630 case 'dd': 15631 if (plural(number)) { 15632 if (withoutSuffix) { 15633 return result + 'dagar'; 15634 } 15635 return result + (isFuture ? 'daga' : 'dögum'); 15636 } else if (withoutSuffix) { 15637 return result + 'dagur'; 15638 } 15639 return result + (isFuture ? 'dag' : 'degi'); 15640 case 'M': 15641 if (withoutSuffix) { 15642 return 'mánuður'; 15643 } 15644 return isFuture ? 'mánuð' : 'mánuði'; 15645 case 'MM': 15646 if (plural(number)) { 15647 if (withoutSuffix) { 15648 return result + 'mánuðir'; 15649 } 15650 return result + (isFuture ? 'mánuði' : 'mánuðum'); 15651 } else if (withoutSuffix) { 15652 return result + 'mánuður'; 15653 } 15654 return result + (isFuture ? 'mánuð' : 'mánuði'); 15655 case 'y': 15656 return withoutSuffix || isFuture ? 'ár' : 'ári'; 15657 case 'yy': 15658 if (plural(number)) { 15659 return result + (withoutSuffix || isFuture ? 'ár' : 'árum'); 15660 } 15661 return result + (withoutSuffix || isFuture ? 'ár' : 'ári'); 15662 } 15663 } 15664 15665 var is = moment.defineLocale('is', { 15666 months: 'janúar_febrúar_mars_aprÃl_maÃ_júnÃ_júlÃ_ágúst_september_október_nóvember_desember'.split( 15667 '_' 15668 ), 15669 monthsShort: 'jan_feb_mar_apr_maÃ_jún_júl_ágú_sep_okt_nóv_des'.split('_'), 15670 weekdays: 'sunnudagur_mánudagur_þriðjudagur_miðvikudagur_fimmtudagur_föstudagur_laugardagur'.split( 15671 '_' 15672 ), 15673 weekdaysShort: 'sun_mán_þri_mið_fim_fös_lau'.split('_'), 15674 weekdaysMin: 'Su_Má_Ãr_Mi_Fi_Fö_La'.split('_'), 15675 longDateFormat: { 15676 LT: 'H:mm', 15677 LTS: 'H:mm:ss', 15678 L: 'DD.MM.YYYY', 15679 LL: 'D. MMMM YYYY', 15680 LLL: 'D. MMMM YYYY [kl.] H:mm', 15681 LLLL: 'dddd, D. MMMM YYYY [kl.] H:mm', 15682 }, 15683 calendar: { 15684 sameDay: '[à dag kl.] LT', 15685 nextDay: '[á morgun kl.] LT', 15686 nextWeek: 'dddd [kl.] LT', 15687 lastDay: '[à gær kl.] LT', 15688 lastWeek: '[sÃðasta] dddd [kl.] LT', 15689 sameElse: 'L', 15690 }, 15691 relativeTime: { 15692 future: 'eftir %s', 15693 past: 'fyrir %s sÃðan', 15694 s: translate, 15695 ss: translate, 15696 m: translate, 15697 mm: translate, 15698 h: 'klukkustund', 15699 hh: translate, 15700 d: translate, 15701 dd: translate, 15702 M: translate, 15703 MM: translate, 15704 y: translate, 15705 yy: translate, 15706 }, 15707 dayOfMonthOrdinalParse: /\d{1,2}\./, 15708 ordinal: '%d.', 15709 week: { 15710 dow: 1, // Monday is the first day of the week. 15711 doy: 4, // The week that contains Jan 4th is the first week of the year. 15712 }, 15713 }); 15714 15715 return is; 15716 15717 }))); 15718 15719 15720/***/ }), 15721/* 88 */ 15722/***/ (function(module, exports, __webpack_require__) { 15723 15724 //! moment.js locale configuration 15725 //! locale : Italian (Switzerland) [it-ch] 15726 //! author : xfh : https://github.com/xfh 15727 15728 ;(function (global, factory) { 15729 true ? factory(__webpack_require__(1)) : 15730 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 15731 factory(global.moment) 15732 }(this, (function (moment) { 'use strict'; 15733 15734 //! moment.js locale configuration 15735 15736 var itCh = moment.defineLocale('it-ch', { 15737 months: 'gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre'.split( 15738 '_' 15739 ), 15740 monthsShort: 'gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic'.split('_'), 15741 weekdays: 'domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato'.split( 15742 '_' 15743 ), 15744 weekdaysShort: 'dom_lun_mar_mer_gio_ven_sab'.split('_'), 15745 weekdaysMin: 'do_lu_ma_me_gi_ve_sa'.split('_'), 15746 longDateFormat: { 15747 LT: 'HH:mm', 15748 LTS: 'HH:mm:ss', 15749 L: 'DD.MM.YYYY', 15750 LL: 'D MMMM YYYY', 15751 LLL: 'D MMMM YYYY HH:mm', 15752 LLLL: 'dddd D MMMM YYYY HH:mm', 15753 }, 15754 calendar: { 15755 sameDay: '[Oggi alle] LT', 15756 nextDay: '[Domani alle] LT', 15757 nextWeek: 'dddd [alle] LT', 15758 lastDay: '[Ieri alle] LT', 15759 lastWeek: function () { 15760 switch (this.day()) { 15761 case 0: 15762 return '[la scorsa] dddd [alle] LT'; 15763 default: 15764 return '[lo scorso] dddd [alle] LT'; 15765 } 15766 }, 15767 sameElse: 'L', 15768 }, 15769 relativeTime: { 15770 future: function (s) { 15771 return (/^[0-9].+$/.test(s) ? 'tra' : 'in') + ' ' + s; 15772 }, 15773 past: '%s fa', 15774 s: 'alcuni secondi', 15775 ss: '%d secondi', 15776 m: 'un minuto', 15777 mm: '%d minuti', 15778 h: "un'ora", 15779 hh: '%d ore', 15780 d: 'un giorno', 15781 dd: '%d giorni', 15782 M: 'un mese', 15783 MM: '%d mesi', 15784 y: 'un anno', 15785 yy: '%d anni', 15786 }, 15787 dayOfMonthOrdinalParse: /\d{1,2}º/, 15788 ordinal: '%dº', 15789 week: { 15790 dow: 1, // Monday is the first day of the week. 15791 doy: 4, // The week that contains Jan 4th is the first week of the year. 15792 }, 15793 }); 15794 15795 return itCh; 15796 15797 }))); 15798 15799 15800/***/ }), 15801/* 89 */ 15802/***/ (function(module, exports, __webpack_require__) { 15803 15804 //! moment.js locale configuration 15805 //! locale : Italian [it]
15806 //! author : Lorenzo : https://github.com/aliem 15807 //! author: Mattia Larentis: https://github.com/nostalgiaz 15808 //! author: Marco : https://github.com/Manfre98 15809 15810 ;(function (global, factory) { 15811 true ? factory(__webpack_require__(1)) : 15812 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 15813 factory(global.moment) 15814 }(this, (function (moment) { 'use strict'; 15815 15816 //! moment.js locale configuration 15817 15818 var it = moment.defineLocale('it', { 15819 months: 'gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre'.split( 15820 '_' 15821 ), 15822 monthsShort: 'gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic'.split('_'), 15823 weekdays: 'domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato'.split( 15824 '_' 15825 ), 15826 weekdaysShort: 'dom_lun_mar_mer_gio_ven_sab'.split('_'), 15827 weekdaysMin: 'do_lu_ma_me_gi_ve_sa'.split('_'), 15828 longDateFormat: { 15829 LT: 'HH:mm', 15830 LTS: 'HH:mm:ss', 15831 L: 'DD/MM/YYYY', 15832 LL: 'D MMMM YYYY', 15833 LLL: 'D MMMM YYYY HH:mm', 15834 LLLL: 'dddd D MMMM YYYY HH:mm', 15835 }, 15836 calendar: { 15837 sameDay: function () { 15838 return ( 15839 '[Oggi a' + 15840 (this.hours() > 1 ? 'lle ' : this.hours() === 0 ? ' ' : "ll'") + 15841 ']LT' 15842 ); 15843 }, 15844 nextDay: function () { 15845 return ( 15846 '[Domani a' + 15847 (this.hours() > 1 ? 'lle ' : this.hours() === 0 ? ' ' : "ll'") + 15848 ']LT' 15849 ); 15850 }, 15851 nextWeek: function () { 15852 return ( 15853 'dddd [a' + 15854 (this.hours() > 1 ? 'lle ' : this.hours() === 0 ? ' ' : "ll'") + 15855 ']LT' 15856 ); 15857 }, 15858 lastDay: function () { 15859 return ( 15860 '[Ieri a' + 15861 (this.hours() > 1 ? 'lle ' : this.hours() === 0 ? ' ' : "ll'") + 15862 ']LT' 15863 ); 15864 }, 15865 lastWeek: function () { 15866 switch (this.day()) { 15867 case 0: 15868 return ( 15869 '[La scorsa] dddd [a' + 15870 (this.hours() > 1 15871 ? 'lle ' 15872 : this.hours() === 0 15873 ? ' ' 15874 : "ll'") + 15875 ']LT' 15876 ); 15877 default: 15878 return ( 15879 '[Lo scorso] dddd [a' + 15880 (this.hours() > 1 15881 ? 'lle ' 15882 : this.hours() === 0 15883 ? ' ' 15884 : "ll'") + 15885 ']LT' 15886 ); 15887 } 15888 }, 15889 sameElse: 'L', 15890 }, 15891 relativeTime: { 15892 future: function (s) { 15893 return (/^[0-9].+$/.test(s) ? 'tra' : 'in') + ' ' + s; 15894 }, 15895 past: '%s fa', 15896 s: 'alcuni secondi', 15897 ss: '%d secondi', 15898 m: 'un minuto', 15899 mm: '%d minuti', 15900 h: "un'ora", 15901 hh: '%d ore', 15902 d: 'un giorno', 15903 dd: '%d giorni', 15904 M: 'un mese', 15905 MM: '%d mesi', 15906 y: 'un anno', 15907 yy: '%d anni', 15908 }, 15909 dayOfMonthOrdinalParse: /\d{1,2}º/, 15910 ordinal: '%dº', 15911 week: { 15912 dow: 1, // Monday is the first day of the week. 15913 doy: 4, // The week that contains Jan 4th is the first week of the year. 15914 }, 15915 }); 15916 15917 return it; 15918 15919 }))); 15920 15921 15922/***/ }), 15923/* 90 */ 15924/***/ (function(module, exports, __webpack_require__) { 15925 15926 //! moment.js locale configuration
vendor: 4,610 bytes, lines 15927-16068
15927 //! locale : Japanese [ja] 15928 //! author : LI Long : https://github.com/baryon 15929 15930 ;(function (global, factory) { 15931 true ? factory(__webpack_require__(1)) : 15932 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 15933 factory(global.moment) 15934 }(this, (function (moment) { 'use strict'; 15935 15936 //! moment.js locale configuration 15937 15938 var ja = moment.defineLocale('ja', { 15939 eras: [ 15940 { 15941 since: '2019-05-01', 15942 offset: 1, 15943 name: '令å', 15944 narrow: 'ã¿', 15945 abbr: 'R', 15946 }, 15947 { 15948 since: '1989-01-08', 15949 until: '2019-04-30', 15950 offset: 1, 15951 name: 'å¹³æ', 15952 narrow: 'ã»', 15953 abbr: 'H', 15954 }, 15955 { 15956 since: '1926-12-25', 15957 until: '1989-01-07', 15958 offset: 1, 15959 name: 'æå', 15960 narrow: 'ã¼', 15961 abbr: 'S', 15962 }, 15963 { 15964 since: '1912-07-30', 15965 until: '1926-12-24', 15966 offset: 1, 15967 name: '大æ£', 15968 narrow: 'ã½', 15969 abbr: 'T', 15970 }, 15971 { 15972 since: '1873-01-01', 15973 until: '1912-07-29', 15974 offset: 6, 15975 name: 'ææ²»', 15976 narrow: 'ã¾', 15977 abbr: 'M', 15978 }, 15979 { 15980 since: '0001-01-01', 15981 until: '1873-12-31', 15982 offset: 1, 15983 name: '西æ¦', 15984 narrow: 'AD', 15985 abbr: 'AD', 15986 }, 15987 { 15988 since: '0000-12-31', 15989 until: -Infinity, 15990 offset: 1, 15991 name: 'ç´å å', 15992 narrow: 'BC', 15993 abbr: 'BC', 15994 }, 15995 ], 15996 eraYearOrdinalRegex: /(å |\d+)å¹´/, 15997 eraYearOrdinalParse: function (input, match) { 15998 return match[1] === 'å ' ? 1 : parseInt(match[1] || input, 10); 15999 }, 16000 months: '1æ_2æ_3æ_4æ_5æ_6æ_7æ_8æ_9æ_10æ_11æ_12æ'.split('_'), 16001 monthsShort: '1æ_2æ_3æ_4æ_5æ_6æ_7æ_8æ_9æ_10æ_11æ_12æ'.split( 16002 '_' 16003 ), 16004 weekdays: 'æ¥ææ¥_æææ¥_ç«ææ¥_æ°´ææ¥_æ¨ææ¥_éææ¥_åææ¥'.split('_'), 16005 weekdaysShort: 'æ¥_æ_ç«_æ°´_æ¨_é_å'.split('_'), 16006 weekdaysMin: 'æ¥_æ_ç«_æ°´_æ¨_é_å'.split('_'), 16007 longDateFormat: { 16008 LT: 'HH:mm', 16009 LTS: 'HH:mm:ss', 16010 L: 'YYYY/MM/DD', 16011 LL: 'YYYYå¹´MæDæ¥', 16012 LLL: 'YYYYå¹´MæDæ¥ HH:mm', 16013 LLLL: 'YYYYå¹´MæDæ¥ dddd HH:mm', 16014 l: 'YYYY/MM/DD', 16015 ll: 'YYYYå¹´MæDæ¥', 16016 lll: 'YYYYå¹´MæDæ¥ HH:mm', 16017 llll: 'YYYYå¹´MæDæ¥(ddd) HH:mm', 16018 }, 16019 meridiemParse: /åå|åå¾/i, 16020 isPM: function (input) { 16021 return input === 'åå¾'; 16022 }, 16023 meridiem: function (hour, minute, isLower) { 16024 if (hour < 12) { 16025 return 'åå'; 16026 } else { 16027 return 'åå¾'; 16028 } 16029 }, 16030 calendar: { 16031 sameDay: '[仿¥] LT', 16032 nextDay: '[ææ¥] LT', 16033 nextWeek: function (now) { 16034 if (now.week() !== this.week()) { 16035 return '[æ¥é±]dddd LT'; 16036 } else { 16037 return 'dddd LT'; 16038 } 16039 }, 16040 lastDay: '[æ¨æ¥] LT', 16041 lastWeek: function (now) { 16042 if (this.week() !== now.week()) { 16043 return '[å é±]dddd LT'; 16044 } else { 16045 return 'dddd LT'; 16046 } 16047 }, 16048 sameElse: 'L', 16049 }, 16050 dayOfMonthOrdinalParse: /\d{1,2}æ¥/, 16051 ordinal: function (number, period) { 16052 switch (period) { 16053 case 'y': 16054 return number === 1 ? 'å å¹´' : number + 'å¹´'; 16055 case 'd': 16056 case 'D': 16057 case 'DDD': 16058 return number + 'æ¥'; 16059 default: 16060 return number; 16061 } 16062 }, 16063 relativeTime: { 16064 future: '%så¾', 16065 past: '%så', 16066 s: 'æ°ç§', 16067 ss: '%dç§', 16068 m: '1å',
16069 mm: '%då', 16070 h: '1æé', 16071 hh: '%dæé', 16072 d: '1æ¥', 16073 dd: '%dæ¥', 16074 M: '1ã¶æ', 16075 MM: '%dã¶æ', 16076 y: '1å¹´', 16077 yy: '%då¹´', 16078 }, 16079 }); 16080 16081 return ja; 16082 16083 }))); 16084 16085 16086/***/ }), 16087/* 91 */ 16088/***/ (function(module, exports, __webpack_require__) { 16089 16090 //! moment.js locale configuration 16091 //! locale : Javanese [jv] 16092 //! author : Rony Lantip : https://github.com/lantip 16093 //! reference: http://jv.wikipedia.org/wiki/Basa_Jawa 16094 16095 ;(function (global, factory) { 16096 true ? factory(__webpack_require__(1)) : 16097 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 16098 factory(global.moment) 16099 }(this, (function (moment) { 'use strict'; 16100 16101 //! moment.js locale configuration 16102 16103 var jv = moment.defineLocale('jv', { 16104 months: 'Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_Nopember_Desember'.split( 16105 '_' 16106 ), 16107 monthsShort: 'Jan_Feb_Mar_Apr_Mei_Jun_Jul_Ags_Sep_Okt_Nop_Des'.split('_'), 16108 weekdays: 'Minggu_Senen_Seloso_Rebu_Kemis_Jemuwah_Septu'.split('_'), 16109 weekdaysShort: 'Min_Sen_Sel_Reb_Kem_Jem_Sep'.split('_'), 16110 weekdaysMin: 'Mg_Sn_Sl_Rb_Km_Jm_Sp'.split('_'), 16111 longDateFormat: { 16112 LT: 'HH.mm', 16113 LTS: 'HH.mm.ss', 16114 L: 'DD/MM/YYYY', 16115 LL: 'D MMMM YYYY', 16116 LLL: 'D MMMM YYYY [pukul] HH.mm', 16117 LLLL: 'dddd, D MMMM YYYY [pukul] HH.mm', 16118 }, 16119 meridiemParse: /enjing|siyang|sonten|ndalu/, 16120 meridiemHour: function (hour, meridiem) { 16121 if (hour === 12) { 16122 hour = 0; 16123 } 16124 if (meridiem === 'enjing') { 16125 return hour; 16126 } else if (meridiem === 'siyang') { 16127 return hour >= 11 ? hour : hour + 12; 16128 } else if (meridiem === 'sonten' || meridiem === 'ndalu') { 16129 return hour + 12; 16130 } 16131 }, 16132 meridiem: function (hours, minutes, isLower) { 16133 if (hours < 11) { 16134 return 'enjing'; 16135 } else if (hours < 15) { 16136 return 'siyang'; 16137 } else if (hours < 19) { 16138 return 'sonten'; 16139 } else { 16140 return 'ndalu'; 16141 } 16142 }, 16143 calendar: { 16144 sameDay: '[Dinten puniko pukul] LT', 16145 nextDay: '[Mbenjang pukul] LT', 16146 nextWeek: 'dddd [pukul] LT', 16147 lastDay: '[Kala wingi pukul] LT', 16148 lastWeek: 'dddd [kepengker pukul] LT', 16149 sameElse: 'L', 16150 }, 16151 relativeTime: { 16152 future: 'wonten ing %s', 16153 past: '%s ingkang kepengker', 16154 s: 'sawetawis detik', 16155 ss: '%d detik', 16156 m: 'setunggal menit', 16157 mm: '%d menit', 16158 h: 'setunggal jam', 16159 hh: '%d jam', 16160 d: 'sedinten', 16161 dd: '%d dinten', 16162 M: 'sewulan', 16163 MM: '%d wulan', 16164 y: 'setaun', 16165 yy: '%d taun', 16166 }, 16167 week: { 16168 dow: 1, // Monday is the first day of the week. 16169 doy: 7, // The week that contains Jan 7th is the first week of the year. 16170 }, 16171 }); 16172 16173 return jv; 16174 16175 }))); 16176 16177 16178/***/ }), 16179/* 92 */ 16180/***/ (function(module, exports, __webpack_require__) { 16181 16182 //! moment.js locale configuration 16183 //! locale : Georgian [ka] 16184 //! author : Irakli Janiashvili : https://github.com/IrakliJani 16185 16186 ;(function (global, factory) { 16187 true ? factory(__webpack_require__(1)) : 16188 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 16189 factory(global.moment) 16190 }(this, (function (moment) { 'use strict'; 16191 16192 //! moment.js locale configuration 16193 16194 var ka = moment.defineLocale('ka', { 16195 months: 'áááááá á_ááááá áááá_ááá á¢á_ááá ááá_áááá¡á_ááááá¡á_ááááá¡á_ááááá¡á¢á_á¡áá¥á¢ááááá á_áá¥á¢ááááá á_ááááááá á_áááááááá á'.split( 16196 '_' 16197 ), 16198 monthsShort: 'ááá_ááá_ááá _ááá _ááá_ááá_ááá_ááá_á¡áá¥_áá¥á¢_ááá_ááá'.split('_'), 16199 weekdays: { 16200 standalone: 'áááá á_áá á¨ááááá_á¡ááá¨ááááá_ááá®á¨ááááá_á®á£áá¨ááááá_ááá áá¡áááá_á¨ááááá'.
16200split( 16201 '_' 16202 ), 16203 format: 'áááá áá¡_áá á¨ááááá¡_á¡ááá¨ááááá¡_ááá®á¨ááááá¡_á®á£áá¨ááááá¡_ááá áá¡áááá¡_á¨ááááá¡'.split( 16204 '_' 16205 ), 16206 isFormat: /(á¬ááá|á¨ááááá)/, 16207 }, 16208 weekdaysShort: 'ááá_áá á¨_á¡áá_ááá®_á®á£á_ááá _á¨áá'.split('_'), 16209 weekdaysMin: 'áá_áá _á¡á_áá_á®á£_áá_á¨á'.split('_'), 16210 longDateFormat: { 16211 LT: 'HH:mm', 16212 LTS: 'HH:mm:ss', 16213 L: 'DD/MM/YYYY', 16214 LL: 'D MMMM YYYY', 16215 LLL: 'D MMMM YYYY HH:mm', 16216 LLLL: 'dddd, D MMMM YYYY HH:mm', 16217 }, 16218 calendar: { 16219 sameDay: '[áá¦áá¡] LT[-áá]', 16220 nextDay: '[á®ááá] LT[-áá]', 16221 lastDay: '[áá£á¨áá] LT[-áá]', 16222 nextWeek: '[á¨ááááá] dddd LT[-áá]', 16223 lastWeek: '[á¬ááá] dddd LT-áá', 16224 sameElse: 'L', 16225 }, 16226 relativeTime: { 16227 future: function (s) { 16228 return s.replace(/(á¬áá|á¬á£á|á¡ááá|á¬áá|áá¦|áá)(á|á)/, function ( 16229 $0, 16230 $1, 16231 $2 16232 ) { 16233 return $2 === 'á' ? $1 + 'á¨á' : $1 + $2 + 'á¨á'; 16234 }); 16235 }, 16236 past: function (s) { 16237 if (/(á¬ááá|á¬á£áá|á¡áááá|áá¦á|ááá)/.test(s)) { 16238 return s.replace(/(á|á)$/, 'áá¡ á¬áá'); 16239 } 16240 if (/á¬ááá/.test(s)) { 16241 return s.replace(/á¬ááá$/, 'á¬ááá¡ á¬áá'); 16242 } 16243 return s; 16244 }, 16245 s: 'á áááááááá á¬ááá', 16246 ss: '%d á¬ááá', 16247 m: 'á¬á£áá', 16248 mm: '%d á¬á£áá', 16249 h: 'á¡áááá', 16250 hh: '%d á¡áááá', 16251 d: 'áá¦á', 16252 dd: '%d áá¦á', 16253 M: 'ááá', 16254 MM: '%d ááá', 16255 y: 'á¬ááá', 16256 yy: '%d á¬ááá', 16257 }, 16258 dayOfMonthOrdinalParse: /0|1-áá|áá-\d{1,2}|\d{1,2}-á/, 16259 ordinal: function (number) { 16260 if (number === 0) { 16261 return number; 16262 } 16263 if (number === 1) { 16264 return number + '-áá'; 16265 } 16266 if ( 16267 number < 20 || 16268 (number <= 100 && number % 20 === 0) || 16269 number % 100 === 0 16270 ) { 16271 return 'áá-' + number; 16272 } 16273 return number + '-á'; 16274 }, 16275 week: { 16276 dow: 1, 16277 doy: 7, 16278 }, 16279 }); 16280 16281 return ka; 16282 16283 }))); 16284 16285 16286/***/ }), 16287/* 93 */ 16288/***/ (function(module, exports, __webpack_require__) { 16289 16290 //! moment.js locale configuration 16291 //! locale : Kazakh [kk] 16292 //! authors : Nurlan Rakhimzhanov : https://github.com/nurlan 16293 16294 ;(function (global, factory) { 16295 true ? factory(__webpack_require__(1)) : 16296 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 16297 factory(global.moment) 16298 }(this, (function (moment) { 'use strict'; 16299 16300 //! moment.js locale configuration 16301 16302 var suffixes = { 16303 0: '-ÑÑ', 16304 1: '-ÑÑ', 16305 2: '-ÑÑ', 16306 3: '-ÑÑ', 16307 4: '-ÑÑ', 16308 5: '-ÑÑ', 16309 6: '-ÑÑ', 16310 7: '-ÑÑ', 16311 8: '-ÑÑ', 16312 9: '-ÑÑ', 16313 10: '-ÑÑ', 16314 20: '-ÑÑ', 16315 30: '-ÑÑ', 16316 40: '-ÑÑ', 16317 50: '-ÑÑ', 16318 60: '-ÑÑ', 16319 70: '-ÑÑ', 16320 80: '-ÑÑ', 16321 90: '-ÑÑ', 16322 100: '-ÑÑ', 16323 }; 16324 16325 var kk = moment.defineLocale('kk', { 16326 months: 'ÒаңÑаÑ_аÒпан_наÑÑÑз_ÑÓÑÑÑ_мамÑÑ_маÑÑÑм_ÑÑлде_ÑамÑз_ÒÑÑкүйек_Òазан_ÒаÑаÑа_желÑоÒÑан'.split( 16327 '_' 16328 ), 16329 monthsShort: 'Òаң_аÒп_наÑ_ÑÓÑ_мам_маÑ_ÑÑл_Ñам_ÒÑÑ_Òаз_ÒаÑ_жел'.split('_'), 16330 weekdays: 'жекÑенбÑ_дүйÑенбÑ_ÑейÑенбÑ_ÑÓÑÑенбÑ_бейÑенбÑ_жұма_ÑенбÑ'.split( 16331 '_' 16332 ), 16333 weekdaysShort: 'жек_дүй_Ñей_ÑÓÑ_бей_жұм_Ñен'.split('_'), 16334 weekdaysMin: 'жк_дй_Ñй_ÑÑ_бй_жм_Ñн'.split('_'), 16335 longDateFormat: { 16336 LT: 'HH:mm', 16337 LTS: 'HH:mm:ss', 16338 L: 'DD.MM.YYYY', 16339 LL: 'D MMMM YYYY', 16340 LLL: 'D MMMM YYYY HH:mm', 16341 LLLL: 'dddd, D MMMM YYYY HH:mm', 16342 }, 16343 calendar: { 16344 sameDay: '[ÐүгÑн ÑаÒаÑ] LT', 16345 nextDay: '[ÐÑÑең ÑаÒаÑ] LT', 16346 nextWeek: 'dddd [ÑаÒаÑ] LT', 16347 lastDay: '[ÐеÑе ÑаÒаÑ] LT', 16348 lastWeek: '[Ó¨Ñкен апÑанÑÒ£] dddd [ÑаÒаÑ] LT', 16349 sameElse: 'L', 16350 }, 16351 relativeTime: { 16352 future: '%s ÑÑÑнде', 16353 past: '%s бұÑÑн', 16354 s: 'бÑÑнеÑе ÑекÑнд', 16355 ss: '%d ÑекÑнд', 16356 m: 'бÑÑ Ð¼Ð¸Ð½ÑÑ', 16357 mm: '%d минÑÑ', 16358 h: 'бÑÑ ÑаÒаÑ', 16359 hh: '%d ÑаÒаÑ', 16360 d: 'бÑÑ ÐºÒ¯Ð½', 16361 dd: '%d күн', 16362 M: 'бÑÑ Ð°Ð¹', 16363 MM: '%d ай', 16364 y: 'бÑÑ Ð¶Ñл', 16365 yy: '%d жÑл', 16366 }, 16367 dayOfMonthOrdinalParse: /\d{1,2}-(ÑÑ|ÑÑ)/, 16368 ordinal: function (number) { 16369 var a = number % 10, 16370 b = number >= 100 ? 100 : null; 16371 return number + (suffixes[number] || suffixes[a] || suffixes[b]); 16372 }, 16373 week: { 16374 dow: 1, // Monday is the first day of the week. 16375 doy: 7, // The week that contains Jan 7th is the first week of the year. 16376 }, 16377 }); 16378 16379 return kk; 16380 16381 }))); 16382 16383 16384/***/ }), 16385/* 94 */ 16386/***/ (function(module, exports, __webpack_require__) { 16387 16388 //! moment.js locale configuration 16389 //! locale : Cambodian [km] 16390 //! author : Kruy Vanna : https://github.com/kruyvanna 16391 16392 ;(function (global, factory) { 16393 true ? factory(__webpack_require__(1)) : 16394 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 16395 factory(global.moment) 16396 }(this, (function (moment) { 'use strict'; 16397 16398 //! moment.js locale configuration 16399 16400 var symbolMap = { 16401 '1': 'á¡', 16402 '2': 'á¢', 16403 '3': 'á£', 16404 '4': 'á¤', 16405 '5': 'á¥', 16406 '6': 'á¦', 16407 '7': 'á§', 16408 '8': 'á¨', 16409 '9': 'á©', 16410 '0': 'á ', 16411 }, 16412 numberMap = { 16413 'á¡': '1', 16414 'á¢': '2', 16415 'á£': '3', 16416 'á¤': '4', 16417 'á¥': '5', 16418 'á¦': '6', 16419 'á§': '7', 16420 'á¨': '8', 16421 'á©': '9', 16422 'á ': '0', 16423 }; 16424 16425 var km = moment.defineLocale('km', { 16426 months: 'áááá¶_áá»áááá_áá¸áá¶_áááá¶_á§ááá¶_áá·áá»áá¶_áááááá¶_áá¸á á¶_ááááá¶_áá»áá¶_áá·á ááá·áá¶_áááá¼'.split( 16427 '_' 16428 ), 16429 monthsShort: 'áááá¶_áá»áááá_áá¸áá¶_áááá¶_á§ááá¶_áá·áá»áá¶_áááááá¶_áá¸á á¶_ááááá¶_áá»áá¶_áá·á ááá·áá¶_áááá¼'.split( 16430 '_' 16431 ), 16432 weekdays: 'á¢á¶áá·ááá_á áááá_á¢áááá¶á_áá»á_áááá ááááá·á_áá»ááá_áá áá'.split('_'), 16433 weekdaysShort: 'á¢á¶_á _á¢_á_ááá_áá»_á'.split('_'), 16434 weekdaysMin: 'á¢á¶_á _á¢_á_ááá_áá»_á'.split('_'), 16435 weekdaysParseExact: true, 16436 longDateFormat: { 16437 LT: 'HH:mm', 16438 LTS: 'HH:mm:ss', 16439 L: 'DD/MM/YYYY', 16440 LL: 'D MMMM YYYY', 16441 LLL: 'D MMMM YYYY HH:mm', 16442 LLLL: 'dddd, D MMMM YYYY HH:mm', 16443 }, 16444 meridiemParse: /áááá¹á|áááá¶á /, 16445 isPM: function (input) { 16446 return input === 'áááá¶á '; 16447 }, 16448 meridiem: function (hour, minute, isLower) { 16449 if (hour < 12) {
vendor: 21,367 bytes, lines 16450-17077
16450 return 'áááá¹á'; 16451 } else { 16452 return 'áááá¶á '; 16453 } 16454 }, 16455 calendar: { 16456 sameDay: '[ááááááá áááá] LT', 16457 nextDay: '[ááá¢áá áááá] LT', 16458 nextWeek: 'dddd [áááá] LT', 16459 lastDay: '[áááá·ááá·á áááá] LT', 16460 lastWeek: 'dddd [ááááá¶á ááá»á] [áááá] LT', 16461 sameElse: 'L', 16462 }, 16463 relativeTime: { 16464 future: '%sááá', 16465 past: '%sáá»á', 16466 s: 'ááá»áááá¶ááá·áá¶áá¸', 16467 ss: '%d áá·áá¶áá¸', 16468 m: 'áá½ááá¶áá¸', 16469 mm: '%d áá¶áá¸', 16470 h: 'áá½ááááá', 16471 hh: '%d áááá', 16472 d: 'áá½ááááá', 16473 dd: '%d áááá', 16474 M: 'áá½ááá', 16475 MM: '%d áá', 16476 y: 'áá½ááááá¶á', 16477 yy: '%d áááá¶á', 16478 }, 16479 dayOfMonthOrdinalParse: /áá¸\d{1,2}/, 16480 ordinal: 'áá¸%d', 16481 preparse: function (string) { 16482 return string.replace(/[á¡á¢á£á¤á¥á¦á§á¨á©á ]/g, function (match) { 16483 return numberMap[match]; 16484 }); 16485 }, 16486 postformat: function (string) { 16487 return string.replace(/\d/g, function (match) { 16488 return symbolMap[match]; 16489 }); 16490 }, 16491 week: { 16492 dow: 1, // Monday is the first day of the week. 16493 doy: 4, // The week that contains Jan 4th is the first week of the year. 16494 }, 16495 }); 16496 16497 return km; 16498 16499 }))); 16500 16501 16502/***/ }), 16503/* 95 */ 16504/***/ (function(module, exports, __webpack_require__) { 16505 16506 //! moment.js locale configuration 16507 //! locale : Kannada [kn] 16508 //! author : Rajeev Naik : https://github.com/rajeevnaikte 16509 16510 ;(function (global, factory) { 16511 true ? factory(__webpack_require__(1)) : 16512 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 16513 factory(global.moment) 16514 }(this, (function (moment) { 'use strict'; 16515 16516 //! moment.js locale configuration 16517 16518 var symbolMap = { 16519 '1': 'à³§', 16520 '2': '೨', 16521 '3': '೩', 16522 '4': '೪', 16523 '5': '೫', 16524 '6': '೬', 16525 '7': 'à³', 16526 '8': 'à³®', 16527 '9': '೯', 16528 '0': '೦', 16529 }, 16530 numberMap = { 16531 'à³§': '1', 16532 '೨': '2', 16533 '೩': '3', 16534 '೪': '4', 16535 '೫': '5', 16536 '೬': '6', 16537 'à³': '7', 16538 'à³®': '8', 16539 '೯': '9', 16540 '೦': '0', 16541 }; 16542 16543 var kn = moment.defineLocale('kn', { 16544 months: 'à²à²¨à²µà²°à²¿_ಫà³à²¬à³à²°à²µà²°à²¿_ಮಾರà³à²à³_à²à²ªà³à²°à²¿à²²à³_ಮà³à³_à²à³à²¨à³_à²à³à²²à³à³_à²à²à²¸à³à²à³_ಸà³à²ªà³à²à³à²à²¬à²°à³_ಠà²à³à²à³à³à³à²¬à²°à³_ನವà³à²à²¬à²°à³_ಡಿಸà³à²à²¬à²°à³'.split( 16545 '_' 16546 ), 16547 monthsShort: 'à²à²¨_ಫà³à²¬à³à²°_ಮಾರà³à²à³_à²à²ªà³à²°à²¿à²²à³_ಮà³à³_à²à³à²¨à³_à²à³à²²à³à³_à²à²à²¸à³à²à³_ಸà³à²ªà³à²à³à²_ಠà²à³à²à³à³à³_ನವà³à²_ಡಿಸà³à²'.split( 16548 '_' 16549 ), 16550 monthsParseExact: true, 16551 weekdays: 'à²à²¾à²¨à³à²µà²¾à²°_ಸà³à³à³à²®à²µà²¾à²°_ಮà²à²à²³à²µà²¾à²°_ಬà³à²§à²µà²¾à²°_à²à³à²°à³à²µà²¾à²°_ಶà³à²à³à²°à²µà²¾à²°_ಶನಿವಾರ'.split( 16552 '_' 16553 ), 16554 weekdaysShort: 'à²à²¾à²¨à³_ಸà³à³à³à²®_ಮà²à²à²³_ಬà³à²§_à²à³à²°à³_ಶà³à²à³à²°_ಶನಿ'.split('_'), 16555 weekdaysMin: 'à²à²¾_ಸà³à³à³_ಮà²_ಬà³_à²à³_ಶà³_ಶ'.split('_'), 16556 longDateFormat: { 16557 LT: 'A h:mm', 16558 LTS: 'A h:mm:ss', 16559 L: 'DD/MM/YYYY', 16560 LL: 'D MMMM YYYY', 16561 LLL: 'D MMMM YYYY, A h:mm', 16562 LLLL: 'dddd, D MMMM YYYY, A h:mm', 16563 }, 16564 calendar: { 16565 sameDay: '[à²à²à²¦à³] LT', 16566 nextDay: '[ನಾಳà³] LT', 16567 nextWeek: 'dddd, LT', 16568 lastDay: '[ನಿನà³à²¨à³] LT', 16569 lastWeek: '[à²à³à³à²¨à³à²¯] dddd, LT', 16570 sameElse: 'L', 16571 }, 16572 relativeTime: { 16573 future: '%s ನà²à²¤à²°', 16574 past: '%s ಹಿà²à²¦à³', 16575 s: 'à²à³à²²à²µà³ à²à³à²·à²£à²à²³à³', 16576 ss: '%d ಸà³à²à³à²à²¡à³à²à²³à³', 16577 m: 'à²à²à²¦à³ ನಿಮಿಷ', 16578 mm: '%d ನಿಮಿಷ', 16579 h: 'à²à²à²¦à³ à²à²à²à³', 16580 hh: '%d à²à²à²à³', 16581 d: 'à²à²à²¦à³ ದಿನ', 16582 dd: '%d ದಿನ', 16583 M: 'à²à²à²¦à³ ತಿà²à²à²³à³', 16584 MM: '%d ತಿà²à²à²³à³', 16585 y: 'à²à²à²¦à³ ವರà³à²·', 16586 yy: '%d ವರà³à²·', 16587 }, 16588 preparse: function (string) { 16589 return string.replace(/[೧೨೩೪೫೬à³à³®à³¯à³¦]/g, function (match) { 16590 return numberMap[match]; 16591 }); 16592 }, 16593 postformat: function (string) { 16594 return string.replace(/\d/g, function (match) { 16595 return symbolMap[match]; 16596 }); 16597 }, 16598 meridiemParse: /ರಾತà³à²°à²¿|ಬà³à²³à²¿à²à³à²à³|ಮಧà³à²¯à²¾à²¹à³à²¨|ಸà²à²à³/, 16599 meridiemHour: function (hour, meridiem) { 16600 if (hour === 12) { 16601 hour = 0; 16602 } 16603 if (meridiem === 'ರಾತà³à²°à²¿') { 16604 return hour < 4 ? hour : hour + 12; 16605 } else if (meridiem === 'ಬà³à²³à²¿à²à³à²à³') { 16606 return hour; 16607 } else if (meridiem === 'ಮಧà³à²¯à²¾à²¹à³à²¨') { 16608 return hour >= 10 ? hour : hour + 12; 16609 } else if (meridiem === 'ಸà²à²à³') { 16610 return hour + 12; 16611 } 16612 }, 16613 meridiem: function (hour, minute, isLower) { 16614 if (hour < 4) { 16615 return 'ರಾತà³à²°à²¿'; 16616 } else if (hour < 10) { 16617 return 'ಬà³à²³à²¿à²à³à²à³'; 16618 } else if (hour < 17) { 16619 return 'ಮಧà³à²¯à²¾à²¹à³à²¨'; 16620 } else if (hour < 20) { 16621 return 'ಸà²à²à³'; 16622 } else { 16623 return 'ರಾತà³à²°à²¿'; 16624 } 16625 }, 16626 dayOfMonthOrdinalParse: /\d{1,2}(ನà³à³)/, 16627 ordinal: function (number) { 16628 return number + 'ನà³à³'; 16629 }, 16630 week: { 16631 dow: 0, // Sunday is the first day of the week. 16632 doy: 6, // The week that contains Jan 6th is the first week of the year. 16633 }, 16634 }); 16635 16636 return kn; 16637 16638 }))); 16639 16640 16641/***/ }), 16642/* 96 */ 16643/***/ (function(module, exports, __webpack_require__) { 16644 16645 //! moment.js locale configuration 16646 //! locale : Korean [ko] 16647 //! author : Kyungwook, Park : https://github.com/kyungw00k 16648 //! author : Jeeeyul Lee <[email protected]> 16649 16650 ;(function (global, factory) { 16651 true ? factory(__webpack_require__(1)) : 16652 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 16653 factory(global.moment) 16654 }(this, (function (moment) { 'use strict'; 16655 16656 //! moment.js locale configuration 16657 16658 var ko = moment.defineLocale('ko', { 16659 months: '1ì_2ì_3ì_4ì_5ì_6ì_7ì_8ì_9ì_10ì_11ì_12ì'.split('_'), 16660 monthsShort: '1ì_2ì_3ì_4ì_5ì_6ì_7ì_8ì_9ì_10ì_11ì_12ì'.split( 16661 '_' 16662 ), 16663 weekdays: 'ì¼ìì¼_ììì¼_íìì¼_ììì¼_목ìì¼_ê¸ìì¼_í ìì¼'.split('_'), 16664 weekdaysShort: 'ì¼_ì_í_ì_목_ê¸_í '.split('_'), 16665 weekdaysMin: 'ì¼_ì_í_ì_목_ê¸_í '.split('_'), 16666 longDateFormat: { 16667 LT: 'A h:mm', 16668 LTS: 'A h:mm:ss', 16669 L: 'YYYY.MM.DD.', 16670 LL: 'YYYYë MMMM Dì¼', 16671 LLL: 'YYYYë MMMM Dì¼ A h:mm', 16672 LLLL: 'YYYYë MMMM Dì¼ dddd A h:mm', 16673 l: 'YYYY.MM.DD.', 16674 ll: 'YYYYë MMMM Dì¼', 16675 lll: 'YYYYë MMMM Dì¼ A h:mm', 16676 llll: 'YYYYë MMMM Dì¼ dddd A h:mm', 16677 }, 16678 calendar: { 16679 sameDay: 'ì¤ë LT', 16680 nextDay: 'ë´ì¼ LT', 16681 nextWeek: 'dddd LT', 16682 lastDay: 'ì´ì LT', 16683 lastWeek: 'ì§ë주 dddd LT', 16684 sameElse: 'L', 16685 }, 16686 relativeTime: { 16687 future: '%s í', 16688 past: '%s ì ', 16689 s: 'ëª ì´', 16690 ss: '%dì´', 16691 m: '1ë¶', 16692 mm: '%dë¶', 16693 h: 'í ìê°', 16694 hh: '%dìê°', 16695 d: 'í루', 16696 dd: '%dì¼', 16697 M: 'í ë¬', 16698 MM: '%dë¬', 16699 y: 'ì¼ ë ', 16700 yy: '%dë ', 16701 }, 16702 dayOfMonthOrdinalParse: /\d{1,2}(ì¼|ì|주)/, 16703 ordinal: function (number, period) { 16704 switch (period) { 16705 case 'd': 16706 case 'D': 16707 case 'DDD': 16708 return number + 'ì¼'; 16709 case 'M': 16710 return number + 'ì'; 16711 case 'w': 16712 case 'W': 16713 return number + '주'; 16714 default: 16715 return number; 16716 } 16717 }, 16718 meridiemParse: /ì¤ì |ì¤í/, 16719 isPM: function (token) { 16720 return token === 'ì¤í'; 16721 }, 16722 meridiem: function (hour, minute, isUpper) { 16723 return hour < 12 ? 'ì¤ì ' : 'ì¤í'; 16724 }, 16725 }); 16726 16727 return ko; 16728 16729 }))); 16730 16731 16732/***/ }), 16733/* 97 */ 16734/***/ (function(module, exports, __webpack_require__) { 16735 16736 //! moment.js locale configuration 16737 //! locale : Kurdish [ku] 16738 //! author : Shahram Mebashar : https://github.com/ShahramMebashar 16739 16740 ;(function (global, factory) { 16741 true ? factory(__webpack_require__(1)) : 16742 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 16743 factory(global.moment) 16744 }(this, (function (moment) { 'use strict'; 16745 16746 //! moment.js locale configuration 16747 16748 var symbolMap = { 16749 '1': 'Ù¡', 16750 '2': 'Ù¢', 16751 '3': 'Ù£', 16752 '4': 'Ù¤', 16753 '5': 'Ù¥', 16754 '6': 'Ù¦', 16755 '7': 'Ù§', 16756 '8': 'Ù¨', 16757 '9': 'Ù©', 16758 '0': 'Ù ', 16759 }, 16760 numberMap = { 16761 'Ù¡': '1', 16762 'Ù¢': '2', 16763 'Ù£': '3', 16764 'Ù¤': '4', 16765 'Ù¥': '5', 16766 'Ù¦': '6', 16767 'Ù§': '7', 16768 'Ù¨': '8', 16769 'Ù©': '9', 16770 'Ù ': '0', 16771 }, 16772 months = [ 16773 'کاÙÙÙÛ Ø¯ÙÙÛÙ ', 16774 'Ø´ÙØ¨Ø§Øª', 16775 'ئازار', 16776 'ÙÛØ³Ø§Ù', 16777 'Ø¦Ø§ÛØ§Ø±', 16778 'ØÙزÛÛØ±Ø§Ù', 16779 'تÛÙ Ù ÙØ²', 16780 'ئاب', 16781 'ئÛÛÙÙÙÙ', 16782 'تشرÛÙÛ ÛÛÙÛÙ ', 16783 'تشرÛÙÛ Ø¯ÙÙÛÙ ', 16784 'ÙØ§ÙÙÙÛ ÛÛÚ©ÛÙ ', 16785 ]; 16786 16787 var ku = moment.defineLocale('ku', { 16788 months: months, 16789 monthsShort: months, 16790 weekdays: 'ÛÙâÙØ´ÙâÙ Ù Ùâ_دÙÙØ´ÙâÙ Ù Ùâ_Ø³ÛØ´ÙâÙ Ù Ùâ_ÚÙØ§Ø±Ø´ÙâÙ Ù Ùâ_Ù¾ÛÙØ¬Ø´ÙâÙ Ù Ùâ_ÙÙâÛÙÛ_Ø´ÙâÙ Ù Ùâ'.split( 16791 '_' 16792 ), 16793 weekdaysShort: 'ÛÙâÙØ´ÙâÙ _دÙÙØ´ÙâÙ _Ø³ÛØ´ÙâÙ _ÚÙØ§Ø±Ø´ÙâÙ _Ù¾ÛÙØ¬Ø´ÙâÙ _ÙÙâÛÙÛ_Ø´ÙâÙ Ù Ùâ'.split( 16794 '_' 16795 ), 16796 weekdaysMin: 'Û_د_س_Ú_Ù¾_Ù_Ø´'.split('_'), 16797 weekdaysParseExact: true, 16798 longDateFormat: { 16799 LT: 'HH:mm', 16800 LTS: 'HH:mm:ss', 16801 L: 'DD/MM/YYYY', 16802 LL: 'D MMMM YYYY', 16803 LLL: 'D MMMM YYYY HH:mm', 16804 LLLL: 'dddd, D MMMM YYYY HH:mm', 16805 }, 16806 meridiemParse: /ئÛÙØ§Ø±Ùâ|بÙâÛØ§ÙÛ/, 16807 isPM: function (input) { 16808 return /ئÛÙØ§Ø±Ùâ/.test(input); 16809 }, 16810 meridiem: function (hour, minute, isLower) { 16811 if (hour < 12) { 16812 return 'بÙâÛØ§ÙÛ'; 16813 } else { 16814 return 'ئÛÙØ§Ø±Ùâ'; 16815 } 16816 }, 16817 calendar: { 16818 sameDay: '[ئÙâÙ Ø±Û ÙØ§ØªÚÙ ÛØ±] LT', 16819 nextDay: '[بÙâÛØ§ÙÛ ÙØ§ØªÚÙ ÛØ±] LT', 16820 nextWeek: 'dddd [ÙØ§ØªÚÙ ÛØ±] LT', 16821 lastDay: '[دÙÛÙÛ ÙØ§ØªÚÙ ÛØ±] LT', 16822 lastWeek: 'dddd [ÙØ§ØªÚÙ ÛØ±] LT', 16823 sameElse: 'L', 16824 }, 16825 relativeTime: { 16826 future: 'ÙÙâ %s', 16827 past: '%s', 16828 s: 'ÚÙâÙØ¯ ÚØ±ÙÙâÛÙâÙ', 16829 ss: 'ÚØ±ÙÙâ %d', 16830 m: 'ÛÙâÙ Ø®ÙÙÙâÙ', 16831 mm: '%d Ø®ÙÙÙâÙ', 16832 h: 'ÛÙâÙ ÙØ§ØªÚÙ ÛØ±', 16833 hh: '%d ÙØ§ØªÚÙ ÛØ±', 16834 d: 'ÛÙâÙ ÚÛÚ', 16835 dd: '%d ÚÛÚ', 16836 M: 'ÛÙâ٠٠اÙÚ¯', 16837 MM: '%d ٠اÙÚ¯', 16838 y: 'ÛÙâ٠ساڵ', 16839 yy: '%d ساڵ', 16840 }, 16841 preparse: function (string) { 16842 return string 16843 .replace(/[١٢٣٤٥٦٧٨٩٠]/g, function (match) { 16844 return numberMap[match]; 16845 }) 16846 .replace(/Ø/g, ','); 16847 }, 16848 postformat: function (string) { 16849 return string 16850 .replace(/\d/g, function (match) { 16851 return symbolMap[match]; 16852 }) 16853 .replace(/,/g, 'Ø'); 16854 }, 16855 week: { 16856 dow: 6, // Saturday is the first day of the week. 16857 doy: 12, // The week that contains Jan 12th is the first week of the year. 16858 }, 16859 }); 16860 16861 return ku; 16862 16863 }))); 16864 16865 16866/***/ }), 16867/* 98 */ 16868/***/ (function(module, exports, __webpack_require__) { 16869 16870 //! moment.js locale configuration 16871 //! locale : Kyrgyz [ky] 16872 //! author : Chyngyz Arystan uulu : https://github.com/chyngyz 16873 16874 ;(function (global, factory) { 16875 true ? factory(__webpack_require__(1)) : 16876 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 16877 factory(global.moment) 16878 }(this, (function (moment) { 'use strict'; 16879 16880 //! moment.js locale configuration 16881 16882 var suffixes = { 16883 0: '-ÑÒ¯', 16884 1: '-Ñи', 16885 2: '-Ñи', 16886 3: '-ÑÒ¯', 16887 4: '-ÑÒ¯', 16888 5: '-Ñи', 16889 6: '-ÑÑ', 16890 7: '-Ñи', 16891 8: '-Ñи', 16892 9: '-ÑÑ', 16893 10: '-ÑÑ', 16894 20: '-ÑÑ', 16895 30: '-ÑÑ', 16896 40: '-ÑÑ', 16897 50: '-ÑÒ¯', 16898 60: '-ÑÑ', 16899 70: '-Ñи', 16900 80: '-Ñи', 16901 90: '-ÑÑ', 16902 100: '-ÑÒ¯', 16903 }; 16904 16905 var ky = moment.defineLocale('ky', { 16906 months: 'ÑнваÑÑ_ÑевÑалÑ_маÑÑ_апÑелÑ_май_иÑнÑ_иÑлÑ_авгÑÑÑ_ÑенÑÑбÑÑ_окÑÑбÑÑ_ноÑбÑÑ_декабÑÑ'.split( 16907 '_' 16908 ), 16909 monthsShort: 'Ñнв_Ñев_маÑÑ_апÑ_май_иÑнÑ_иÑлÑ_авг_Ñен_окÑ_ноÑ_дек'.split( 16910 '_' 16911 ), 16912 weekdays: 'ÐекÑемби_ÐүйÑөмбү_ШейÑемби_ШаÑÑемби_ÐейÑемби_ÐÑма_ÐÑемби'.split( 16913 '_' 16914 ), 16915 weekdaysShort: 'Ðек_Ðүй_Шей_ШаÑ_Ðей_ÐÑм_ÐÑе'.split('_'), 16916 weekdaysMin: 'Ðк_Ðй_Шй_ШÑ_Ðй_Ðм_ÐÑ'.split('_'), 16917 longDateFormat: { 16918 LT: 'HH:mm', 16919 LTS: 'HH:mm:ss', 16920 L: 'DD.MM.YYYY', 16921 LL: 'D MMMM YYYY', 16922 LLL: 'D MMMM YYYY HH:mm', 16923 LLLL: 'dddd, D MMMM YYYY HH:mm', 16924 }, 16925 calendar: { 16926 sameDay: '[Ðүгүн ÑааÑ] LT', 16927 nextDay: '[ÐÑÑең ÑааÑ] LT', 16928 nextWeek: 'dddd [ÑааÑ] LT', 16929 lastDay: '[ÐеÑÑÑ ÑааÑ] LT', 16930 lastWeek: '[Ó¨Ñкөн апÑанÑн] dddd [күнү] [ÑааÑ] LT', 16931 sameElse: 'L', 16932 }, 16933 relativeTime: { 16934 future: '%s иÑинде', 16935 past: '%s мÑÑÑн', 16936 s: 'биÑнеÑе ÑекÑнд', 16937 ss: '%d ÑекÑнд', 16938 m: 'Ð±Ð¸Ñ Ð¼Ò¯Ð½Ó©Ñ', 16939 mm: '%d мүнөÑ', 16940 h: 'Ð±Ð¸Ñ ÑааÑ', 16941 hh: '%d ÑааÑ', 16942 d: 'Ð±Ð¸Ñ ÐºÒ¯Ð½', 16943 dd: '%d күн', 16944 M: 'Ð±Ð¸Ñ Ð°Ð¹', 16945 MM: '%d ай', 16946 y: 'Ð±Ð¸Ñ Ð¶Ñл', 16947 yy: '%d жÑл', 16948 }, 16949 dayOfMonthOrdinalParse: /\d{1,2}-(Ñи|ÑÑ|ÑÒ¯|ÑÑ)/, 16950 ordinal: function (number) { 16951 var a = number % 10, 16952 b = number >= 100 ? 100 : null; 16953 return number + (suffixes[number] || suffixes[a] || suffixes[b]); 16954 }, 16955 week: { 16956 dow: 1, // Monday is the first day of the week. 16957 doy: 7, // The week that contains Jan 7th is the first week of the year. 16958 }, 16959 }); 16960 16961 return ky; 16962 16963 }))); 16964 16965 16966/***/ }), 16967/* 99 */ 16968/***/ (function(module, exports, __webpack_require__) { 16969 16970 //! moment.js locale configuration 16971 //! locale : Luxembourgish [lb] 16972 //! author : mweimerskirch : https://github.com/mweimerskirch 16973 //! author : David Raison : https://github.com/kwisatz 16974 16975 ;(function (global, factory) { 16976 true ? factory(__webpack_require__(1)) : 16977 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 16978 factory(global.moment) 16979 }(this, (function (moment) { 'use strict'; 16980 16981 //! moment.js locale configuration 16982 16983 function processRelativeTime(number, withoutSuffix, key, isFuture) { 16984 var format = { 16985 m: ['eng Minutt', 'enger Minutt'], 16986 h: ['eng Stonn', 'enger Stonn'], 16987 d: ['een Dag', 'engem Dag'], 16988 M: ['ee Mount', 'engem Mount'], 16989 y: ['ee Joer', 'engem Joer'], 16990 }; 16991 return withoutSuffix ? format[key][0] : format[key][1]; 16992 } 16993 function processFutureTime(string) { 16994 var number = string.substr(0, string.indexOf(' ')); 16995 if (eifelerRegelAppliesToNumber(number)) { 16996 return 'a ' + string; 16997 } 16998 return 'an ' + string; 16999 } 17000 function processPastTime(string) { 17001 var number = string.substr(0, string.indexOf(' ')); 17002 if (eifelerRegelAppliesToNumber(number)) { 17003 return 'viru ' + string; 17004 } 17005 return 'virun ' + string; 17006 } 17007 /** 17008 * Returns true if the word before the given number loses the '-n' ending. 17009 * e.g. 'an 10 Deeg' but 'a 5 Deeg' 17010 * 17011 * @param number {integer} 17012 * @returns {boolean} 17013 */ 17014 function eifelerRegelAppliesToNumber(number) { 17015 number = parseInt(number, 10); 17016 if (isNaN(number)) { 17017 return false; 17018 } 17019 if (number < 0) { 17020 // Negative Number --> always true 17021 return true; 17022 } else if (number < 10) { 17023 // Only 1 digit 17024 if (4 <= number && number <= 7) { 17025 return true; 17026 } 17027 return false; 17028 } else if (number < 100) { 17029 // 2 digits 17030 var lastDigit = number % 10, 17031 firstDigit = number / 10; 17032 if (lastDigit === 0) { 17033 return eifelerRegelAppliesToNumber(firstDigit); 17034 } 17035 return eifelerRegelAppliesToNumber(lastDigit); 17036 } else if (number < 10000) { 17037 // 3 or 4 digits --> recursively check first digit 17038 while (number >= 10) { 17039 number = number / 10; 17040 } 17041 return eifelerRegelAppliesToNumber(number); 17042 } else { 17043 // Anything larger than 4 digits: recursively check first n-3 digits 17044 number = number / 1000; 17045 return eifelerRegelAppliesToNumber(number); 17046 } 17047 } 17048 17049 var lb = moment.defineLocale('lb', { 17050 months: 'Januar_Februar_Mäerz_Abrëll_Mee_Juni_Juli_August_September_Oktober_November_Dezember'.split( 17051 '_' 17052 ), 17053 monthsShort: 'Jan._Febr._Mrz._Abr._Mee_Jun._Jul._Aug._Sept._Okt._Nov._Dez.'.split( 17054 '_' 17055 ), 17056 monthsParseExact: true, 17057 weekdays: 'Sonndeg_Méindeg_Dënschdeg_Mëttwoch_Donneschdeg_Freideg_Samschdeg'.split( 17058 '_' 17059 ), 17060 weekdaysShort: 'So._Mé._Dë._Më._Do._Fr._Sa.'.split('_'), 17061 weekdaysMin: 'So_Mé_Dë_Më_Do_Fr_Sa'.split('_'), 17062 weekdaysParseExact: true, 17063 longDateFormat: { 17064 LT: 'H:mm [Auer]', 17065 LTS: 'H:mm:ss [Auer]', 17066 L: 'DD.MM.YYYY', 17067 LL: 'D. MMMM YYYY', 17068 LLL: 'D. MMMM YYYY H:mm [Auer]', 17069 LLLL: 'dddd, D. MMMM YYYY H:mm [Auer]', 17070 }, 17071 calendar: { 17072 sameDay: '[Haut um] LT', 17073 sameElse: 'L', 17074 nextDay: '[Muer um] LT', 17075 nextWeek: 'dddd [um] LT', 17076 lastDay: '[Gëschter um] LT', 17077 lastWeek: function () {
17078 // Different date string for 'Dënschdeg' (Tuesday) and 'Donneschdeg' (Thursday) due to phonological rule 17079 switch (this.day()) { 17080 case 2: 17081 case 4: 17082 return '[Leschten] dddd [um] LT'; 17083 default: 17084 return '[Leschte] dddd [um] LT'; 17085 } 17086 }, 17087 }, 17088 relativeTime: { 17089 future: processFutureTime, 17090 past: processPastTime, 17091 s: 'e puer Sekonnen', 17092 ss: '%d Sekonnen', 17093 m: processRelativeTime, 17094 mm: '%d Minutten', 17095 h: processRelativeTime, 17096 hh: '%d Stonnen', 17097 d: processRelativeTime, 17098 dd: '%d Deeg', 17099 M: processRelativeTime, 17100 MM: '%d Méint', 17101 y: processRelativeTime, 17102 yy: '%d Joer', 17103 }, 17104 dayOfMonthOrdinalParse: /\d{1,2}\./, 17105 ordinal: '%d.', 17106 week: { 17107 dow: 1, // Monday is the first day of the week. 17108 doy: 4, // The week that contains Jan 4th is the first week of the year. 17109 }, 17110 }); 17111 17112 return lb; 17113 17114 }))); 17115 17116 17117/***/ }), 17118/* 100 */ 17119/***/ (function(module, exports, __webpack_require__) { 17120 17121 //! moment.js locale configuration 17122 //! locale : Lao [lo] 17123 //! author : Ryan Hart : https://github.com/ryanhart2 17124 17125 ;(function (global, factory) { 17126 true ? factory(__webpack_require__(1)) : 17127 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 17128 factory(global.moment) 17129 }(this, (function (moment) { 'use strict'; 17130 17131 //! moment.js locale configuration 17132 17133 var lo = moment.defineLocale('lo', { 17134 months: 'ມັàºàºàºàº_àºàº¸àº¡àºàº²_ມີàºàº²_à»àº¡àºªàº²_àºàº¶àºàºªàº°àºàº²_ມິàºàº¸àºàº²_àºà»àº¥àº°àºàº»àº_ສິàºàº«àº²_àºàº±àºàºàº²_àºàº¸àº¥àº²_àºàº°àºàº´àº_àºàº±àºàº§àº²'.split( 17135 '_' 17136 ), 17137 monthsShort: 'ມັàºàºàºàº_àºàº¸àº¡àºàº²_ມີàºàº²_à»àº¡àºªàº²_àºàº¶àºàºªàº°àºàº²_ມິàºàº¸àºàº²_àºà»àº¥àº°àºàº»àº_ສິàºàº«àº²_àºàº±àºàºàº²_àºàº¸àº¥àº²_àºàº°àºàº´àº_àºàº±àºàº§àº²'.split( 17138 '_' 17139 ), 17140 weekdays: 'àºàº²àºàº´àº_àºàº±àº_àºàº±àºàºàº²àº_àºàº¸àº_àºàº°àº«àº±àº_ສຸàº_à»àºªàº»àº²'.split('_'), 17141 weekdaysShort: 'àºàº´àº_àºàº±àº_àºàº±àºàºàº²àº_àºàº¸àº_àºàº°àº«àº±àº_ສຸàº_à»àºªàº»àº²'.split('_'), 17142 weekdaysMin: 'àº_àº_àºàº_àº_àºàº«_ສàº_ສ'.split('_'), 17143 weekdaysParseExact: true, 17144 longDateFormat: { 17145 LT: 'HH:mm', 17146 LTS: 'HH:mm:ss', 17147 L: 'DD/MM/YYYY', 17148 LL: 'D MMMM YYYY', 17149 LLL: 'D MMMM YYYY HH:mm', 17150 LLLL: 'ວັàºdddd D MMMM YYYY HH:mm', 17151 }, 17152 meridiemParse: /àºàºàºà»àºàº»à»àº²|àºàºàºà»àº¥àº/, 17153 isPM: function (input) { 17154 return input === 'àºàºàºà»àº¥àº'; 17155 }, 17156 meridiem: function (hour, minute, isLower) { 17157 if (hour < 12) { 17158 return 'àºàºàºà»àºàº»à»àº²'; 17159 } else { 17160 return 'àºàºàºà»àº¥àº'; 17161 } 17162 }, 17163 calendar: { 17164 sameDay: '[ມືà»àºàºµà»à»àº§àº¥àº²] LT', 17165 nextDay: '[ມືà»àºàº·à»àºà»àº§àº¥àº²] LT', 17166 nextWeek: '[ວັàº]dddd[à»à»àº²à»àº§àº¥àº²] LT', 17167 lastDay: '[ມືà»àº§àº²àºàºàºµà»à»àº§àº¥àº²] LT', 17168 lastWeek: '[ວັàº]dddd[à»àº¥à»àº§àºàºµà»à»àº§àº¥àº²] LT', 17169 sameElse: 'L', 17170 }, 17171 relativeTime: { 17172 future: 'àºàºµàº %s', 17173 past: '%sàºà»àº²àºàº¡àº²', 17174 s: 'àºà»à»à»àºàº»à»àº²à»àºàº§àº´àºàº²àºàºµ', 17175 ss: '%d ວິàºàº²àºàºµ', 17176 m: '1 àºàº²àºàºµ', 17177 mm: '%d àºàº²àºàºµ', 17178 h: '1 àºàº»à»àº§à»àº¡àº', 17179 hh: '%d àºàº»à»àº§à»àº¡àº', 17180 d: '1 ມືà»', 17181 dd: '%d ມືà»', 17182 M: '1 à»àºàº·àºàº', 17183 MM: '%d à»àºàº·àºàº', 17184 y: '1 àºàºµ', 17185 yy: '%d àºàºµ', 17186 }, 17187 dayOfMonthOrdinalParse: /(àºàºµà»)\d{1,2}/, 17188 ordinal: function (number) { 17189 return 'àºàºµà»' + number; 17190 }, 17191 }); 17192 17193 return lo; 17194 17195 }))); 17196 17197 17198/***/ }), 17199/* 101 */ 17200/***/ (function(module, exports, __webpack_require__) { 17201 17202 //! moment.js locale configuration 17203 //! locale : Lithuanian [lt] 17204 //! author : Mindaugas MozÅ«ras : https://github.com/mmozuras 17205 17206 ;(function (global, factory) { 17207 true ? factory(__webpack_require__(1)) : 17208 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 17209 factory(global.moment) 17210 }(this, (function (moment) { 'use strict'; 17211 17212 //! moment.js locale configuration 17213 17214 var units = { 17215 ss: 'sekundÄ_sekundžių_sekundes', 17216 m: 'minutÄ_minutÄs_minutÄ', 17217 mm: 'minutÄs_minuÄių_minutes', 17218 h: 'valanda_valandos_valandÄ ', 17219 hh: 'valandos_valandų_valandas',
vendor: 4,321 bytes, lines 17220-17342
17220 d: 'diena_dienos_dienÄ ', 17221 dd: 'dienos_dienų_dienas', 17222 M: 'mÄnuo_mÄnesio_mÄnesį', 17223 MM: 'mÄnesiai_mÄnesių_mÄnesius', 17224 y: 'metai_metų_metus', 17225 yy: 'metai_metų_metus', 17226 }; 17227 function translateSeconds(number, withoutSuffix, key, isFuture) { 17228 if (withoutSuffix) { 17229 return 'kelios sekundÄs'; 17230 } else { 17231 return isFuture ? 'kelių sekundžių' : 'kelias sekundes'; 17232 } 17233 } 17234 function translateSingular(number, withoutSuffix, key, isFuture) { 17235 return withoutSuffix 17236 ? forms(key)[0] 17237 : isFuture 17238 ? forms(key)[1] 17239 : forms(key)[2]; 17240 } 17241 function special(number) { 17242 return number % 10 === 0 || (number > 10 && number < 20); 17243 } 17244 function forms(key) { 17245 return units[key].split('_'); 17246 } 17247 function translate(number, withoutSuffix, key, isFuture) { 17248 var result = number + ' '; 17249 if (number === 1) { 17250 return ( 17251 result + translateSingular(number, withoutSuffix, key[0], isFuture) 17252 ); 17253 } else if (withoutSuffix) { 17254 return result + (special(number) ? forms(key)[1] : forms(key)[0]); 17255 } else { 17256 if (isFuture) { 17257 return result + forms(key)[1]; 17258 } else { 17259 return result + (special(number) ? forms(key)[1] : forms(key)[2]); 17260 } 17261 } 17262 } 17263 var lt = moment.defineLocale('lt', { 17264 months: { 17265 format: 'sausio_vasario_kovo_balandžio_gegužÄs_birželio_liepos_rugpjÅ«Äio_rugsÄjo_spalio_lapkriÄio_gruodžio'.split( 17266 '_' 17267 ), 17268 standalone: 'sausis_vasaris_kovas_balandis_gegužÄ_birželis_liepa_rugpjÅ«tis_rugsÄjis_spalis_lapkritis_gruodis'.split( 17269 '_' 17270 ), 17271 isFormat: /D[oD]?(\[[^\[\]]*\]|\s)+MMMM?|MMMM?(\[[^\[\]]*\]|\s)+D[oD]?/, 17272 }, 17273 monthsShort: 'sau_vas_kov_bal_geg_bir_lie_rgp_rgs_spa_lap_grd'.split('_'), 17274 weekdays: { 17275 format: 'sekmadienį_pirmadienį_antradienį_treÄiadienį_ketvirtadienį_penktadienį_Å¡eÅ¡tadienį'.split( 17276 '_' 17277 ), 17278 standalone: 'sekmadienis_pirmadienis_antradienis_treÄiadienis_ketvirtadienis_penktadienis_Å¡eÅ¡tadienis'.split( 17279 '_' 17280 ), 17281 isFormat: /dddd HH:mm/, 17282 }, 17283 weekdaysShort: 'Sek_Pir_Ant_Tre_Ket_Pen_Å eÅ¡'.split('_'), 17284 weekdaysMin: 'S_P_A_T_K_Pn_Å '.split('_'), 17285 weekdaysParseExact: true, 17286 longDateFormat: { 17287 LT: 'HH:mm', 17288 LTS: 'HH:mm:ss', 17289 L: 'YYYY-MM-DD', 17290 LL: 'YYYY [m.] MMMM D [d.]', 17291 LLL: 'YYYY [m.] MMMM D [d.], HH:mm [val.]', 17292 LLLL: 'YYYY [m.] MMMM D [d.], dddd, HH:mm [val.]', 17293 l: 'YYYY-MM-DD', 17294 ll: 'YYYY [m.] MMMM D [d.]', 17295 lll: 'YYYY [m.] MMMM D [d.], HH:mm [val.]', 17296 llll: 'YYYY [m.] MMMM D [d.], ddd, HH:mm [val.]', 17297 }, 17298 calendar: { 17299 sameDay: '[Å iandien] LT', 17300 nextDay: '[Rytoj] LT', 17301 nextWeek: 'dddd LT', 17302 lastDay: '[Vakar] LT', 17303 lastWeek: '[PraÄjusį] dddd LT', 17304 sameElse: 'L', 17305 }, 17306 relativeTime: { 17307 future: 'po %s', 17308 past: 'prieÅ¡ %s', 17309 s: translateSeconds, 17310 ss: translate, 17311 m: translateSingular, 17312 mm: translate, 17313 h: translateSingular, 17314 hh: translate, 17315 d: translateSingular, 17316 dd: translate, 17317 M: translateSingular, 17318 MM: translate, 17319 y: translateSingular, 17320 yy: translate, 17321 }, 17322 dayOfMonthOrdinalParse: /\d{1,2}-oji/, 17323 ordinal: function (number) { 17324 return number + '-oji'; 17325 }, 17326 week: { 17327 dow: 1, // Monday is the first day of the week. 17328 doy: 4, // The week that contains Jan 4th is the first week of the year. 17329 }, 17330 }); 17331 17332 return lt; 17333 17334 }))); 17335 17336 17337/***/ }), 17338/* 102 */ 17339/***/ (function(module, exports, __webpack_require__) { 17340 17341 //! moment.js locale configuration 17342 //! locale : Latvian [lv]
17343 //! author : Kristaps Karlsons : https://github.com/skakri 17344 //! author : JÄnis Elmeris : https://github.com/JanisE 17345 17346 ;(function (global, factory) { 17347 true ? factory(__webpack_require__(1)) : 17348 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 17349 factory(global.moment) 17350 }(this, (function (moment) { 'use strict'; 17351 17352 //! moment.js locale configuration 17353 17354 var units = { 17355 ss: 'sekundes_sekundÄm_sekunde_sekundes'.split('_'), 17356 m: 'minÅ«tes_minÅ«tÄm_minÅ«te_minÅ«tes'.split('_'), 17357 mm: 'minÅ«tes_minÅ«tÄm_minÅ«te_minÅ«tes'.split('_'), 17358 h: 'stundas_stundÄm_stunda_stundas'.split('_'), 17359 hh: 'stundas_stundÄm_stunda_stundas'.split('_'), 17360 d: 'dienas_dienÄm_diena_dienas'.split('_'), 17361 dd: 'dienas_dienÄm_diena_dienas'.split('_'), 17362 M: 'mÄneÅ¡a_mÄneÅ¡iem_mÄnesis_mÄneÅ¡i'.split('_'), 17363 MM: 'mÄneÅ¡a_mÄneÅ¡iem_mÄnesis_mÄneÅ¡i'.split('_'), 17364 y: 'gada_gadiem_gads_gadi'.split('_'), 17365 yy: 'gada_gadiem_gads_gadi'.split('_'), 17366 }; 17367 /** 17368 * @param withoutSuffix boolean true = a length of time; false = before/after a period of time. 17369 */ 17370 function format(forms, number, withoutSuffix) { 17371 if (withoutSuffix) { 17372 // E.g. "21 minÅ«te", "3 minÅ«tes". 17373 return number % 10 === 1 && number % 100 !== 11 ? forms[2] : forms[3]; 17374 } else { 17375 // E.g. "21 minÅ«tes" as in "pÄc 21 minÅ«tes". 17376 // E.g. "3 minÅ«tÄm" as in "pÄc 3 minÅ«tÄm". 17377 return number % 10 === 1 && number % 100 !== 11 ? forms[0] : forms[1]; 17378 } 17379 } 17380 function relativeTimeWithPlural(number, withoutSuffix, key) { 17381 return number + ' ' + format(units[key], number, withoutSuffix); 17382 } 17383 function relativeTimeWithSingular(number, withoutSuffix, key) { 17384 return format(units[key], number, withoutSuffix); 17385 } 17386 function relativeSeconds(number, withoutSuffix) { 17387 return withoutSuffix ? 'dažas sekundes' : 'dažÄm sekundÄm'; 17388 } 17389 17390 var lv = moment.defineLocale('lv', { 17391 months: 'janvÄris_februÄris_marts_aprÄ«lis_maijs_jÅ«nijs_jÅ«lijs_augusts_septembris_oktobris_novembris_decembris'.split( 17392 '_' 17393 ), 17394 monthsShort: 'jan_feb_mar_apr_mai_jÅ«n_jÅ«l_aug_sep_okt_nov_dec'.split('_'), 17395 weekdays: 'svÄtdiena_pirmdiena_otrdiena_treÅ¡diena_ceturtdiena_piektdiena_sestdiena'.split( 17396 '_' 17397 ), 17398 weekdaysShort: 'Sv_P_O_T_C_Pk_S'.split('_'), 17399 weekdaysMin: 'Sv_P_O_T_C_Pk_S'.split('_'), 17400 weekdaysParseExact: true, 17401 longDateFormat: { 17402 LT: 'HH:mm', 17403 LTS: 'HH:mm:ss', 17404 L: 'DD.MM.YYYY.', 17405 LL: 'YYYY. [gada] D. MMMM', 17406 LLL: 'YYYY. [gada] D. MMMM, HH:mm', 17407 LLLL: 'YYYY. [gada] D. MMMM, dddd, HH:mm', 17408 }, 17409 calendar: { 17410 sameDay: '[Å odien pulksten] LT', 17411 nextDay: '[RÄ«t pulksten] LT', 17412 nextWeek: 'dddd [pulksten] LT', 17413 lastDay: '[Vakar pulksten] LT', 17414 lastWeek: '[PagÄjuÅ¡Ä] dddd [pulksten] LT', 17415 sameElse: 'L', 17416 }, 17417 relativeTime: { 17418 future: 'pÄc %s', 17419 past: 'pirms %s', 17420 s: relativeSeconds, 17421 ss: relativeTimeWithPlural, 17422 m: relativeTimeWithSingular, 17423 mm: relativeTimeWithPlural, 17424 h: relativeTimeWithSingular, 17425 hh: relativeTimeWithPlural, 17426 d: relativeTimeWithSingular, 17427 dd: relativeTimeWithPlural, 17428 M: relativeTimeWithSingular, 17429 MM: relativeTimeWithPlural, 17430 y: relativeTimeWithSingular, 17431 yy: relativeTimeWithPlural, 17432 }, 17433 dayOfMonthOrdinalParse: /\d{1,2}\./, 17434 ordinal: '%d.', 17435 week: { 17436 dow: 1, // Monday is the first day of the week. 17437 doy: 4, // The week that contains Jan 4th is the first week of the year. 17438 }, 17439 }); 17440 17441 return lv; 17442 17443 }))); 17444 17445 17446/***/ }), 17447/* 103 */ 17448/***/ (function(module, exports, __webpack_require__) { 17449 17450 //! moment.js locale configuration 17451 //! locale : Montenegrin [me] 17452 //! author : Miodrag NikaÄ <[email protected]> : https://github.com/miodragnikac 17453 17454 ;(function (global, factory) { 17455 true ? factory(__webpack_require__(1)) : 17456 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 17457 factory(global.moment) 17458 }(this, (function (moment) { 'use strict'; 17459 17460 //! moment.js locale configuration 17461 17462 var translator = { 17463 words: { 17464 //Different grammatical cases 17465 ss: ['sekund', 'sekunda', 'sekundi'], 17466 m: ['jedan minut', 'jednog minuta'], 17467 mm: ['minut', 'minuta', 'minuta'], 17468 h: ['jedan sat', 'jednog sata'], 17469 hh: ['sat', 'sata', 'sati'], 17470 dd: ['dan', 'dana', 'dana'], 17471 MM: ['mjesec', 'mjeseca', 'mjeseci'], 17472 yy: ['godina', 'godine', 'godina'], 17473 }, 17474 correctGrammaticalCase: function (number, wordKey) { 17475 return number === 1 17476 ? wordKey[0] 17477 : number >= 2 && number <= 4 17478 ? wordKey[1] 17479 : wordKey[2]; 17480 }, 17481 translate: function (number, withoutSuffix, key) { 17482 var wordKey = translator.words[key]; 17483 if (key.length === 1) { 17484 return withoutSuffix ? wordKey[0] : wordKey[1]; 17485 } else { 17486 return ( 17487 number + 17488 ' ' + 17489 translator.correctGrammaticalCase(number, wordKey) 17490 ); 17491 } 17492 }, 17493 }; 17494 17495 var me = moment.defineLocale('me', { 17496 months: 'januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar'.split( 17497 '_' 17498 ), 17499 monthsShort: 'jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.'.split( 17500 '_' 17501 ), 17502 monthsParseExact: true, 17503 weekdays: 'nedjelja_ponedjeljak_utorak_srijeda_Äetvrtak_petak_subota'.split( 17504 '_' 17505 ), 17506 weekdaysShort: 'ned._pon._uto._sri._Äet._pet._sub.'.split('_'), 17507 weekdaysMin: 'ne_po_ut_sr_Äe_pe_su'.split('_'), 17508 weekdaysParseExact: true, 17509 longDateFormat: { 17510 LT: 'H:mm', 17511 LTS: 'H:mm:ss', 17512 L: 'DD.MM.YYYY', 17513 LL: 'D. MMMM YYYY', 17514 LLL: 'D. MMMM YYYY H:mm', 17515 LLLL: 'dddd, D. MMMM YYYY H:mm', 17516 }, 17517 calendar: { 17518 sameDay: '[danas u] LT', 17519 nextDay: '[sjutra u] LT', 17520 17521 nextWeek: function () { 17522 switch (this.day()) { 17523 case 0: 17524 return '[u] [nedjelju] [u] LT'; 17525 case 3: 17526 return '[u] [srijedu] [u] LT'; 17527 case 6: 17528 return '[u] [subotu] [u] LT'; 17529 case 1: 17530 case 2: 17531 case 4: 17532 case 5: 17533 return '[u] dddd [u] LT'; 17534 } 17535 }, 17536 lastDay: '[juÄe u] LT', 17537 lastWeek: function () { 17538 var lastWeekDays = [ 17539 '[proÅ¡le] [nedjelje] [u] LT', 17540 '[proÅ¡log] [ponedjeljka] [u] LT', 17541 '[proÅ¡log] [utorka] [u] LT', 17542 '[proÅ¡le] [srijede] [u] LT', 17543 '[proÅ¡log] [Äetvrtka] [u] LT', 17544 '[proÅ¡log] [petka] [u] LT', 17545 '[proÅ¡le] [subote] [u] LT', 17546 ]; 17547 return lastWeekDays[this.day()]; 17548 }, 17549 sameElse: 'L', 17550 }, 17551 relativeTime: { 17552 future: 'za %s', 17553 past: 'prije %s', 17554 s: 'nekoliko sekundi', 17555 ss: translator.translate, 17556 m: translator.translate, 17557 mm: translator.translate, 17558 h: translator.translate, 17559 hh: translator.translate, 17560 d: 'dan', 17561 dd: translator.translate, 17562 M: 'mjesec', 17563 MM: translator.translate, 17564 y: 'godinu', 17565 yy: translator.translate, 17566 }, 17567 dayOfMonthOrdinalParse: /\d{1,2}\./, 17568 ordinal: '%d.', 17569 week: { 17570 dow: 1, // Monday is the first day of the week. 17571 doy: 7, // The week that contains Jan 7th is the first week of the year. 17572 }, 17573 }); 17574 17575 return me; 17576 17577 }))); 17578 17579 17580/***/ }), 17581/* 104 */ 17582/***/ (function(module, exports, __webpack_require__) { 17583 17584 //! moment.js locale configuration 17585 //! locale : Maori [mi] 17586 //! author : John Corrigan <[email protected]> : https://github.com/johnideal 17587 17588 ;(function (global, factory) { 17589 true ? factory(__webpack_require__(1)) : 17590 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 17591 factory(global.moment) 17592 }(this, (function (moment) { 'use strict'; 17593 17594 //! moment.js locale configuration 17595 17596 var mi = moment.defineLocale('mi', { 17597 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( 17598 '_' 17599 ), 17600 monthsShort: 'Kohi_Hui_Pou_Pae_Hara_Pipi_HÅngoi_Here_Mahu_Whi-nu_Whi-ra_Haki'.split( 17601 '_' 17602 ), 17603 monthsRegex: /(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i, 17604 monthsStrictRegex: /(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i, 17605 monthsShortRegex: /(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i, 17606 monthsShortStrictRegex: /(?:['a-z\u0101\u014D\u016B]+\-?){1,2}/i, 17607 weekdays: 'RÄtapu_Mane_TÅ«rei_Wenerei_TÄite_Paraire_HÄtarei'.split('_'), 17608 weekdaysShort: 'Ta_Ma_TÅ«_We_TÄi_Pa_HÄ'.split('_'), 17609 weekdaysMin: 'Ta_Ma_TÅ«_We_TÄi_Pa_HÄ'.split('_'), 17610 longDateFormat: { 17611 LT: 'HH:mm', 17612 LTS: 'HH:mm:ss', 17613 L: 'DD/MM/YYYY', 17614 LL: 'D MMMM YYYY', 17615 LLL: 'D MMMM YYYY [i] HH:mm', 17616 LLLL: 'dddd, D MMMM YYYY [i] HH:mm', 17617 }, 17618 calendar: { 17619 sameDay: '[i teie mahana, i] LT', 17620 nextDay: '[apopo i] LT', 17621 nextWeek: 'dddd [i] LT', 17622 lastDay: '[inanahi i] LT', 17623 lastWeek: 'dddd [whakamutunga i] LT', 17624 sameElse: 'L', 17625 }, 17626 relativeTime: { 17627 future: 'i roto i %s', 17628 past: '%s i mua', 17629 s: 'te hÄkona ruarua', 17630 ss: '%d hÄkona', 17631 m: 'he meneti', 17632 mm: '%d meneti', 17633 h: 'te haora', 17634 hh: '%d haora', 17635 d: 'he ra', 17636 dd: '%d ra', 17637 M: 'he marama', 17638 MM: '%d marama', 17639 y: 'he tau', 17640 yy: '%d tau', 17641 }, 17642 dayOfMonthOrdinalParse: /\d{1,2}º/, 17643 ordinal: '%dº', 17644 week: { 17645 dow: 1, // Monday is the first day of the week. 17646 doy: 4, // The week that contains Jan 4th is the first week of the year. 17647 }, 17648 }); 17649 17650 return mi; 17651 17652 }))); 17653 17654 17655/***/ }), 17656/* 105 */ 17657/***/ (function(module, exports, __webpack_require__) { 17658 17659 //! moment.js locale configuration 17660 //! locale : Macedonian [mk] 17661 //! author : Borislav Mickov : https://github.com/B0k0 17662 //! author : Sashko Todorov : https://github.com/bkyceh 17663 17664 ;(function (global, factory) { 17665 true ? factory(__webpack_require__(1)) : 17666 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 17667 factory(global.moment) 17668 }(this, (function (moment) { 'use strict'; 17669 17670 //! moment.js locale configuration 17671 17672 var mk = moment.defineLocale('mk', { 17673 months: 'ÑанÑаÑи_ÑевÑÑаÑи_маÑÑ_апÑил_маÑ_ÑÑни_ÑÑли_авгÑÑÑ_ÑепÑемвÑи_окÑомвÑи_ноемвÑи_декемвÑи'.split( 17674 '_' 17675 ), 17676 monthsShort: 'Ñан_Ñев_маÑ_апÑ_маÑ_ÑÑн_ÑÑл_авг_Ñеп_окÑ_ное_дек'.split('_'), 17677 weekdays: 'недела_понеделник_вÑоÑник_ÑÑеда_ÑеÑвÑÑок_пеÑок_ÑабоÑа'.split( 17678 '_' 17679 ), 17680 weekdaysShort: 'нед_пон_вÑо_ÑÑе_ÑеÑ_пеÑ_Ñаб'.split('_'), 17681 weekdaysMin: 'нe_пo_вÑ_ÑÑ_Ñе_пе_Ña'.split('_'), 17682 longDateFormat: { 17683 LT: 'H:mm', 17684 LTS: 'H:mm:ss', 17685 L: 'D.MM.YYYY', 17686 LL: 'D MMMM YYYY', 17687 LLL: 'D MMMM YYYY H:mm', 17688 LLLL: 'dddd, D MMMM YYYY H:mm', 17689 }, 17690 calendar: { 17691 sameDay: '[ÐÐµÐ½ÐµÑ Ð²Ð¾] LT', 17692 nextDay: '[УÑÑе во] LT', 17693 nextWeek: '[Ðо] dddd [во] LT', 17694 lastDay: '[ÐÑеÑа во] LT', 17695 lastWeek: function () { 17696 switch (this.day()) { 17697 case 0: 17698 case 3: 17699 case 6: 17700 return '[ÐзминаÑаÑа] dddd [во] LT'; 17701 case 1: 17702 case 2: 17703 case 4: 17704 case 5: 17705 return '[ÐзминаÑиоÑ] dddd [во] LT'; 17706 } 17707 }, 17708 sameElse: 'L', 17709 }, 17710 relativeTime: { 17711 future: 'за %s', 17712 past: 'пÑед %s', 17713 s: 'Ð½ÐµÐºÐ¾Ð»ÐºÑ ÑекÑнди', 17714 ss: '%d ÑекÑнди', 17715 m: 'една минÑÑа', 17716 mm: '%d минÑÑи', 17717 h: 'еден ÑаÑ', 17718 hh: '%d ÑаÑа', 17719 d: 'еден ден', 17720 dd: '%d дена', 17721 M: 'еден меÑеÑ', 17722 MM: '%d меÑеÑи', 17723 y: 'една година', 17724 yy: '%d години', 17725 }, 17726 dayOfMonthOrdinalParse: /\d{1,2}-(ев|ен|Ñи|ви|Ñи|ми)/, 17727 ordinal: function (number) { 17728 var lastDigit = number % 10, 17729 last2Digits = number % 100; 17730 if (number === 0) { 17731 return number + '-ев'; 17732 } else if (last2Digits === 0) { 17733 return number + '-ен'; 17734 } else if (last2Digits > 10 && last2Digits < 20) { 17735 return number + '-Ñи'; 17736 } else if (lastDigit === 1) { 17737 return number + '-ви'; 17738 } else if (lastDigit === 2) { 17739 return number + '-Ñи'; 17740 } else if (lastDigit === 7 || lastDigit === 8) { 17741 return number + '-ми'; 17742 } else { 17743 return number + '-Ñи'; 17744 } 17745 }, 17746 week: { 17747 dow: 1, // Monday is the first day of the week. 17748 doy: 7, // The week that contains Jan 7th is the first week of the year. 17749 }, 17750 }); 17751 17752 return mk; 17753 17754 }))); 17755 17756 17757/***/ }), 17758/* 106 */ 17759/***/ (function(module, exports, __webpack_require__) { 17760 17761 //! moment.js locale configuration 17762 //! locale : Malayalam [ml] 17763 //! author : Floyd Pink : https://github.com/floydpink 17764 17765 ;(function (global, factory) { 17766 true ? factory(__webpack_require__(1)) : 17767 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 17768 factory(global.moment) 17769 }(this, (function (moment) { 'use strict'; 17770 17771 //! moment.js locale configuration 17772 17773 var ml = moment.defineLocale('ml', { 17774 months: 'à´à´¨àµà´µà´°à´¿_à´«àµà´¬àµà´°àµà´µà´°à´¿_മാർà´àµà´à
17774µ_à´à´ªàµà´°à´¿àµ½_à´®àµà´¯àµ_à´àµàµº_à´àµà´²àµ_à´à´à´¸àµà´±àµà´±àµ_à´¸àµà´ªàµà´±àµà´±à´à´¬àµ¼_à´à´àµà´àµà´¬àµ¼_നവà´à´¬àµ¼_à´¡à´¿à´¸à´à´¬àµ¼'.split( 17775 '_' 17776 ), 17777 monthsShort: 'à´à´¨àµ._à´«àµà´¬àµà´°àµ._മാർ._à´à´ªàµà´°à´¿._à´®àµà´¯àµ_à´àµàµº_à´àµà´²àµ._à´à´._à´¸àµà´ªàµà´±àµà´±._à´à´àµà´àµ._നവà´._à´¡à´¿à´¸à´.'.split( 17778 '_' 17779 ), 17780 monthsParseExact: true, 17781 weekdays: 'à´à´¾à´¯à´±à´¾à´´àµà´_തിà´àµà´à´³à´¾à´´àµà´_à´àµà´µàµà´µà´¾à´´àµà´_à´¬àµà´§à´¨à´¾à´´àµà´_à´µàµà´¯à´¾à´´à´¾à´´àµà´_à´µàµà´³àµà´³à´¿à´¯à´¾à´´àµà´_ശനിയാഴàµà´'.split( 17782 '_' 17783 ), 17784 weekdaysShort: 'à´à´¾à´¯àµ¼_തിà´àµà´àµ¾_à´àµà´µàµà´µ_à´¬àµà´§àµ»_à´µàµà´¯à´¾à´´à´_à´µàµà´³àµà´³à´¿_ശനി'.split('_'), 17785 weekdaysMin: 'à´à´¾_തി_à´àµ_à´¬àµ_à´µàµà´¯à´¾_à´µàµ_à´¶'.split('_'), 17786 longDateFormat: { 17787 LT: 'A h:mm -à´¨àµ', 17788 LTS: 'A h:mm:ss -à´¨àµ', 17789 L: 'DD/MM/YYYY', 17790 LL: 'D MMMM YYYY', 17791 LLL: 'D MMMM YYYY, A h:mm -à´¨àµ', 17792 LLLL: 'dddd, D MMMM YYYY, A h:mm -à´¨àµ', 17793 }, 17794 calendar: { 17795 sameDay: '[à´à´¨àµà´¨àµ] LT', 17796 nextDay: '[നാളàµ] LT', 17797 nextWeek: 'dddd, LT', 17798 lastDay: '[à´à´¨àµà´¨à´²àµ] LT', 17799 lastWeek: '[à´à´´à´¿à´àµà´] dddd, LT', 17800 sameElse: 'L', 17801 }, 17802 relativeTime: { 17803 future: '%s à´à´´à´¿à´àµà´àµ', 17804 past: '%s à´®àµàµ»à´ªàµ', 17805 s: 'ഠൽപ നിമിഷà´àµà´àµ¾', 17806 ss: '%d à´¸àµà´àµà´àµ»à´¡àµ', 17807 m: 'à´à´°àµ മിനിറàµà´±àµ', 17808 mm: '%d മിനിറàµà´±àµ', 17809 h: 'à´à´°àµ മണിà´àµà´àµàµ¼', 17810 hh: '%d മണിà´àµà´àµàµ¼', 17811 d: 'à´à´°àµ ദിവസà´', 17812 dd: '%d ദിവസà´', 17813 M: 'à´à´°àµ മാസà´', 17814 MM: '%d മാസà´', 17815 y: 'à´à´°àµ വർഷà´', 17816 yy: '%d വർഷà´', 17817 }, 17818 meridiemParse: /രാതàµà´°à´¿|രാവിലàµ|à´à´àµà´ à´à´´à´¿à´àµà´àµ|à´µàµà´àµà´¨àµà´¨àµà´°à´|രാതàµà´°à´¿/i, 17819 meridiemHour: function (hour, meridiem) { 17820 if (hour === 12) { 17821 hour = 0; 17822 } 17823 if ( 17824 (meridiem === 'രാതàµà´°à´¿' && hour >= 4) || 17825 meridiem === 'à´à´àµà´ à´à´´à´¿à´àµà´àµ' || 17826 meridiem === 'à´µàµà´àµà´¨àµà´¨àµà´°à´' 17827 ) { 17828 return hour + 12; 17829 } else { 17830 return hour; 17831 } 17832 }, 17833 meridiem: function (hour, minute, isLower) { 17834 if (hour < 4) { 17835 return 'രാതàµà´°à´¿'; 17836 } else if (hour < 12) { 17837 return 'രാവിലàµ'; 17838 } else if (hour < 17) { 17839 return 'à´à´àµà´ à´à´´à´¿à´àµà´àµ'; 17840 } else if (hour < 20) { 17841 return 'à´µàµà´àµà´¨àµà´¨àµà´°à´'; 17842 } else { 17843 return 'രാതàµà´°à´¿'; 17844 } 17845 }, 17846 }); 17847 17848 return ml; 17849 17850 }))); 17851 17852 17853/***/ }), 17854/* 107 */ 17855/***/ (function(module, exports, __webpack_require__) { 17856 17857 //! moment.js locale configuration 17858 //! locale : Mongolian [mn] 17859 //! author : Javkhlantugs Nyamdorj : https://github.com/javkhaanj7 17860 17861 ;(function (global, factory) { 17862 true ? factory(__webpack_require__(1)) : 17863 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 17864 factory(global.moment) 17865 }(this, (function (moment) { 'use strict'; 17866 17867 //! moment.js locale configuration 17868 17869 function translate(number, withoutSuffix, key, isFuture) { 17870 switch (key) { 17871 case 's': 17872 return withoutSuffix ? 'Ñ ÑÐ´Ñ Ñн ÑекÑнд' : 'Ñ ÑÐ´Ñ Ñн ÑекÑндÑн'; 17873 case 'ss': 17874 return number + (withoutSuffix ? ' ÑекÑнд' : ' ÑекÑндÑн'); 17875 case 'm': 17876 case 'mm': 17877 return number + (withoutSuffix ? ' минÑÑ' : ' минÑÑÑн'); 17878 case 'h': 17879 case 'hh': 17880 return number + (withoutSuffix ? ' Ñаг' : ' Ñагийн'); 17881 case 'd': 17882 case 'dd': 17883 return number + (withoutSuffix ? ' өдөÑ' : ' өдÑийн'); 17884 case 'M': 17885 case 'MM': 17886 return number + (withoutSuffix ? ' ÑаÑ' : ' ÑаÑÑн'); 17887 case 'y': 17888 case 'yy': 17889 return number + (withoutSuffix ? ' жил' : ' жилийн'); 17890 default: 17891 return number; 17892 } 17893 } 17894 17895 var mn = moment.defineLocale('mn', { 17896 months: 'ÐÑгдүгÑÑÑ ÑаÑ_ХоÑÑдÑÐ³Ð°Ð°Ñ ÑаÑ_ÐÑÑавдÑÐ³Ð°Ð°Ñ ÑаÑ_ÐÓ©ÑөвдүгÑÑÑ ÑаÑ_ТавдÑÐ³Ð°Ð°Ñ ÑаÑ_ÐÑÑгадÑÐ³Ð°Ð°Ñ ÑаÑ_ÐолдÑÐ³Ð°Ð°Ñ ÑаÑ_ÐаймдÑÐ³Ð°Ð°Ñ ÑаÑ_ÐÑдүгÑÑÑ ÑаÑ_ÐÑавдÑÐ³Ð°Ð°Ñ ÑаÑ_ÐÑван нÑгдүгÑÑÑ ÑаÑ_ÐÑван Ñ Ð¾ÑÑдÑÐ³Ð°Ð°Ñ ÑаÑ'.split( 17897 '_' 17898 ), 17899 monthsShort: '1 ÑаÑ_2 ÑаÑ_3 ÑаÑ_4 ÑаÑ_5 ÑаÑ_6 ÑаÑ_7 ÑаÑ_8 ÑаÑ_9 ÑаÑ_10 ÑаÑ_11 ÑаÑ_12 ÑаÑ'.split( 17900 '_' 17901 ), 17902 monthsParseExact: true, 17903 weekdays: 'ÐÑм_Ðаваа_ÐÑгмаÑ_ÐÑ Ð°Ð³Ð²Ð°_ÐÒ¯ÑÑв_ÐааÑан_ÐÑмба'.split('_'), 17904 weekdaysShort: 'ÐÑм_Ðав_ÐÑг_ÐÑ Ð°_ÐÒ¯Ñ_Ðаа_ÐÑм'.split('_'), 17905 weekdaysMin: 'ÐÑ_Ðа_ÐÑ_ÐÑ _ÐÒ¯_Ðа_ÐÑ'.split('_'), 17906 weekdaysParseExact: true, 17907 longDateFormat: { 17908 LT: 'HH:mm', 17909 LTS: 'HH:mm:ss', 17910 L: 'YYYY-MM-DD', 17911 LL: 'YYYY Ð¾Ð½Ñ MMMMÑн D', 17912 LLL: 'YYYY Ð¾Ð½Ñ MMMMÑн D HH:mm', 17913 LLLL: 'dddd, YYYY Ð¾Ð½Ñ MMMMÑн D HH:mm', 17914 }, 17915 meridiemParse: /Ò®Ó¨|ҮХ/i, 17916 isPM: function (input) { 17917 return input === 'ҮХ'; 17918 }, 17919 meridiem: function (hour, minute, isLower) { 17920 if (hour < 12) { 17921 return 'Ò®Ó¨'; 17922 } else { 17923 return 'ҮХ'; 17924 } 17925 }, 17926 calendar: { 17927 sameDay: '[ӨнөөдөÑ] LT',
17928 nextDay: '[ÐаÑгааÑ] LT', 17929 nextWeek: '[ÐÑÑÑ ] dddd LT', 17930 lastDay: '[Ó¨ÑигдөÑ] LT', 17931 lastWeek: '[ӨнгөÑÑөн] dddd LT', 17932 sameElse: 'L', 17933 }, 17934 relativeTime: { 17935 future: '%s даÑаа', 17936 past: '%s өмнө', 17937 s: translate, 17938 ss: translate, 17939 m: translate, 17940 mm: translate, 17941 h: translate, 17942 hh: translate, 17943 d: translate, 17944 dd: translate, 17945 M: translate, 17946 MM: translate, 17947 y: translate, 17948 yy: translate, 17949 }, 17950 dayOfMonthOrdinalParse: /\d{1,2} өдөÑ/, 17951 ordinal: function (number, period) { 17952 switch (period) { 17953 case 'd': 17954 case 'D': 17955 case 'DDD': 17956 return number + ' өдөÑ'; 17957 default: 17958 return number; 17959 } 17960 }, 17961 }); 17962 17963 return mn; 17964 17965 }))); 17966 17967 17968/***/ }), 17969/* 108 */ 17970/***/ (function(module, exports, __webpack_require__) { 17971 17972 //! moment.js locale configuration 17973 //! locale : Marathi [mr] 17974 //! author : Harshad Kale : https://github.com/kalehv 17975 //! author : Vivek Athalye : https://github.com/vnathalye 17976 17977 ;(function (global, factory) { 17978 true ? factory(__webpack_require__(1)) : 17979 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 17980 factory(global.moment) 17981 }(this, (function (moment) { 'use strict'; 17982 17983 //! moment.js locale configuration 17984 17985 var symbolMap = { 17986 '1': '१', 17987 '2': '२', 17988 '3': '३', 17989 '4': '४', 17990 '5': '५', 17991 '6': '६', 17992 '7': 'à¥', 17993 '8': '८', 17994 '9': '९', 17995 '0': '०', 17996 }, 17997 numberMap = { 17998 '१': '1', 17999 '२': '2', 18000 '३': '3', 18001 '४': '4', 18002 '५': '5', 18003 '६': '6', 18004 'à¥': '7', 18005 '८': '8', 18006 '९': '9', 18007 '०': '0', 18008 }; 18009 18010 function relativeTimeMr(number, withoutSuffix, string, isFuture) { 18011 var output = ''; 18012 if (withoutSuffix) { 18013 switch (string) { 18014 case 's': 18015 output = 'à¤à¤¾à¤¹à¥ सà¥à¤à¤à¤¦'; 18016 break; 18017 case 'ss': 18018 output = '%d सà¥à¤à¤à¤¦'; 18019 break; 18020 case 'm': 18021 output = 'à¤à¤ मिनिà¤'; 18022 break; 18023 case 'mm': 18024 output = '%d मिनिà¤à¥'; 18025 break; 18026 case 'h': 18027 output = 'à¤à¤ तास'; 18028 break; 18029 case 'hh': 18030 output = '%d तास'; 18031 break; 18032 case 'd': 18033 output = 'à¤à¤ दिवस'; 18034 break; 18035 case 'dd': 18036 output = '%d दिवस'; 18037 break; 18038 case 'M': 18039 output = 'à¤à¤ महिना'; 18040 break; 18041 case 'MM': 18042 output = '%d महिनà¥'; 18043 break; 18044 case 'y': 18045 output = 'à¤à¤ वरà¥à¤·'; 18046 break; 18047 case 'yy': 18048 output = '%d वरà¥à¤·à¥'; 18049 break; 18050 } 18051 } else { 18052 switch (string) { 18053 case 's': 18054 output = 'à¤à¤¾à¤¹à¥ सà¥à¤à¤à¤¦à¤¾à¤'; 18055 break; 18056 case 'ss': 18057 output = '%d सà¥à¤à¤à¤¦à¤¾à¤'; 18058 break; 18059 case 'm': 18060 output = 'à¤à¤à¤¾ मिनिà¤à¤¾'; 18061 break; 18062 case 'mm': 18063 output = '%d मिनिà¤à¤¾à¤'; 18064 break; 18065 case 'h': 18066 output = 'à¤à¤à¤¾ तासा'; 18067 break; 18068 case 'hh': 18069 output = '%d तासाà¤'; 18070 break; 18071 case 'd': 18072 output = 'à¤à¤à¤¾ दिवसा'; 18073 break; 18074 case 'dd': 18075 output = '%d दिवसाà¤'; 18076 break; 18077 case 'M': 18078 output = 'à¤à¤à¤¾ महिनà¥à¤¯à¤¾'; 18079 break; 18080 case 'MM': 18081 output = '%d महिनà¥à¤¯à¤¾à¤'; 18082 break; 18083 case 'y': 18084 output = 'à¤à¤à¤¾ वरà¥à¤·à¤¾'; 18085 break; 18086 case 'yy': 18087 output = '%d वरà¥à¤·à¤¾à¤'; 18088 break; 18089 } 18090 } 18091 return output.replace(/%d/i, number); 18092 } 18093 18094 var mr = moment.defineLocale('mr', { 18095 months: 'à¤à¤¾à¤¨à¥à¤µà¤¾à¤°à¥_फà¥à¤¬à¥à¤°à¥à¤µà¤¾à¤°à¥_मारà¥à¤_à¤à¤ªà¥à¤°à¤¿à¤²_मà¥_à¤à¥à¤¨_à¤à¥à¤²à¥_à¤à¤à¤¸à¥à¤_सपà¥à¤à¥à¤à¤¬à¤°_à¤à¤à¥à¤à¥à¤¬à¤°_नà¥à¤µà¥à¤¹à¥à¤à¤¬à¤°_डिसà¥à¤à¤¬à¤°'.split( 18096 '_' 18097 ), 18098 monthsShort: 'à¤à¤¾à¤¨à¥._फà¥à¤¬à¥à¤°à¥._मारà¥à¤._à¤à¤ªà¥à¤°à¤¿._मà¥._à¤à¥à¤¨._à¤à¥à¤²à¥._à¤à¤._सपà¥à¤à¥à¤._à¤à¤à¥à¤à¥._नà¥à¤µà¥à¤¹à¥à¤._डिसà¥à¤.'.split( 18099 '_' 18100 ), 18101 monthsParseExact: true, 18102 weekdays: 'रविवार_सà¥à¤®à¤µà¤¾à¤°_मà¤à¤à¤³à¤µà¤¾à¤°_बà¥à¤§à¤µà¤¾à¤°_à¤à¥à¤°à¥à¤µà¤¾à¤°_शà¥à¤à¥à¤°à¤µà¤¾à¤°_शनिवार'.split('_'), 18103 weekdaysShort: 'रवि_सà¥à¤®_मà¤à¤à¤³_बà¥à¤§_à¤à¥à¤°à¥_शà¥à¤à¥à¤°_शनि'.split('_'), 18104 weekdaysMin: 'र_सà¥_मà¤_बà¥_à¤à¥_शà¥_श'.split('_'), 18105 longDateFormat: { 18106 LT: 'A h:mm वाà¤à¤¤à¤¾', 18107 LTS: 'A h:mm:ss वाà¤à¤¤à¤¾', 18108 L: 'DD/MM/YYYY', 18109 LL: 'D MMMM YYYY', 18110 LLL: 'D MMMM YYYY, A h:mm वाà¤à¤¤à¤¾', 18111 LLLL: 'dddd, D MMMM YYYY, A h:mm वाà¤à¤¤à¤¾', 18112 }, 18113 calendar: { 18114 sameDay: '[à¤à¤] LT', 18115 nextDay: '[à¤à¤¦à¥à¤¯à¤¾] LT', 18116 nextWeek: 'dddd, LT', 18117 lastDay: '[à¤à¤¾à¤²] LT', 18118 lastWeek: '[माà¤à¥à¤²] dddd, LT', 18119 sameElse: 'L', 18120 }, 18121 relativeTime: { 18122 future: '%sमधà¥à¤¯à¥', 18123 past: '%sपà¥à¤°à¥à¤µà¥', 18124 s: relativeTimeMr, 18125 ss: relativeTimeMr, 18126 m: relativeTimeMr, 18127 mm: relativeTimeMr, 18128 h: relativeTimeMr, 18129 hh: relativeTimeMr, 18130 d: relativeTimeMr, 18131 dd: relativeTimeMr, 18132 M: relativeTimeMr, 18133 MM: relativeTimeMr, 18134 y: relativeTimeMr, 18135 yy: relativeTimeMr, 18136 }, 18137 preparse: function (string) { 18138 return string.replace(/[१२३४५६à¥à¥®à¥¯à¥¦]/g, function (match) { 18139 return numberMap[match]; 18140 }); 18141 }, 18142 postformat: function (string) { 18143 return string.replace(/\d/g, function (match) { 18144 return symbolMap[match]; 18145 }); 18146 }, 18147 meridiemParse: /पहाà¤à¥|सà¤à¤¾à¤³à¥|दà¥à¤ªà¤¾à¤°à¥|सायà¤à¤à¤¾à¤³à¥|रातà¥à¤°à¥/, 18148 meridiemHour: function (hour, meridiem) { 18149 if (hour === 12) { 18150 hour = 0; 18151 } 18152 if (meridiem === 'पहाà¤à¥' || meridiem === 'सà¤à¤¾à¤³à¥') { 18153 return hour; 18154 } else if ( 18155 meridiem === 'दà¥à¤ªà¤¾à¤°à¥' || 18156 meridiem === 'सायà¤à¤à¤¾à¤³à¥' ||
18157 meridiem === 'रातà¥à¤°à¥' 18158 ) { 18159 return hour >= 12 ? hour : hour + 12; 18160 } 18161 }, 18162 meridiem: function (hour, minute, isLower) { 18163 if (hour >= 0 && hour < 6) { 18164 return 'पहाà¤à¥'; 18165 } else if (hour < 12) { 18166 return 'सà¤à¤¾à¤³à¥'; 18167 } else if (hour < 17) { 18168 return 'दà¥à¤ªà¤¾à¤°à¥'; 18169 } else if (hour < 20) { 18170 return 'सायà¤à¤à¤¾à¤³à¥'; 18171 } else { 18172 return 'रातà¥à¤°à¥'; 18173 } 18174 }, 18175 week: { 18176 dow: 0, // Sunday is the first day of the week. 18177 doy: 6, // The week that contains Jan 6th is the first week of the year. 18178 }, 18179 }); 18180 18181 return mr; 18182 18183 }))); 18184 18185 18186/***/ }), 18187/* 109 */ 18188/***/ (function(module, exports, __webpack_require__) { 18189 18190 //! moment.js locale configuration 18191 //! locale : Malay [ms-my] 18192 //! note : DEPRECATED, the correct one is [ms] 18193 //! author : Weldan Jamili : https://github.com/weldan 18194 18195 ;(function (global, factory) { 18196 true ? factory(__webpack_require__(1)) : 18197 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 18198 factory(global.moment) 18199 }(this, (function (moment) { 'use strict'; 18200 18201 //! moment.js locale configuration 18202 18203 var msMy = moment.defineLocale('ms-my', { 18204 months: 'Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember'.split( 18205 '_' 18206 ), 18207 monthsShort: 'Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis'.split('_'), 18208 weekdays: 'Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu'.split('_'), 18209 weekdaysShort: 'Ahd_Isn_Sel_Rab_Kha_Jum_Sab'.split('_'), 18210 weekdaysMin: 'Ah_Is_Sl_Rb_Km_Jm_Sb'.split('_'), 18211 longDateFormat: { 18212 LT: 'HH.mm', 18213 LTS: 'HH.mm.ss', 18214 L: 'DD/MM/YYYY', 18215 LL: 'D MMMM YYYY', 18216 LLL: 'D MMMM YYYY [pukul] HH.mm', 18217 LLLL: 'dddd, D MMMM YYYY [pukul] HH.mm', 18218 }, 18219 meridiemParse: /pagi|tengahari|petang|malam/, 18220 meridiemHour: function (hour, meridiem) { 18221 if (hour === 12) { 18222 hour = 0; 18223 } 18224 if (meridiem === 'pagi') { 18225 return hour; 18226 } else if (meridiem === 'tengahari') { 18227 return hour >= 11 ? hour : hour + 12; 18228 } else if (meridiem === 'petang' || meridiem === 'malam') { 18229 return hour + 12; 18230 } 18231 }, 18232 meridiem: function (hours, minutes, isLower) { 18233 if (hours < 11) { 18234 return 'pagi'; 18235 } else if (hours < 15) { 18236 return 'tengahari'; 18237 } else if (hours < 19) { 18238 return 'petang'; 18239 } else { 18240 return 'malam'; 18241 } 18242 }, 18243 calendar: { 18244 sameDay: '[Hari ini pukul] LT', 18245 nextDay: '[Esok pukul] LT', 18246 nextWeek: 'dddd [pukul] LT', 18247 lastDay: '[Kelmarin pukul] LT', 18248 lastWeek: 'dddd [lepas pukul] LT', 18249 sameElse: 'L', 18250 }, 18251 relativeTime: { 18252 future: 'dalam %s', 18253 past: '%s yang lepas', 18254 s: 'beberapa saat', 18255 ss: '%d saat', 18256 m: 'seminit', 18257 mm: '%d minit', 18258 h: 'sejam', 18259 hh: '%d jam', 18260 d: 'sehari', 18261 dd: '%d hari', 18262 M: 'sebulan', 18263 MM: '%d bulan', 18264 y: 'setahun', 18265 yy: '%d tahun', 18266 }, 18267 week: { 18268 dow: 1, // Monday is the first day of the week. 18269 doy: 7, // The week that contains Jan 7th is the first week of the year. 18270 }, 18271 }); 18272 18273 return msMy; 18274 18275 }))); 18276 18277 18278/***/ }), 18279/* 110 */ 18280/***/ (function(module, exports, __webpack_require__) { 18281 18282 //! moment.js locale configuration 18283 //! locale : Malay [ms] 18284 //! author : Weldan Jamili : https://github.com/weldan 18285 18286 ;(function (global, factory) { 18287 true ? factory(__webpack_require__(1)) : 18288 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 18289 factory(global.moment) 18290 }(this, (function (moment) { 'use strict'; 18291 18292 //! moment.js locale configuration 18293 18294 var ms = moment.defineLocale('ms', { 18295 months: 'Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember'.split( 18296 '_' 18297 ), 18298 monthsShort: 'Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis'.split('_'), 18299 weekdays: 'Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu'.split('_'), 18300 weekdaysShort: 'Ahd_Isn_Sel_Rab_Kha_Jum_Sab'.split('_'), 18301 weekdaysMin: 'Ah_Is_Sl_Rb_Km_Jm_Sb'.split('_'), 18302 longDateFormat: { 18303 LT: 'HH.mm', 18304 LTS: 'HH.mm.ss', 18305 L: 'DD/MM/YYYY', 18306 LL: 'D MMMM YYYY', 18307 LLL: 'D MMMM YYYY [pukul] HH.mm', 18308 LLLL: 'dddd, D MMMM YYYY [pukul] HH.mm', 18309 }, 18310 meridiemParse: /pagi|tengahari|petang|malam/, 18311 meridiemHour: function (hour, meridiem) { 18312 if (hour === 12) { 18313 hour = 0; 18314 } 18315 if (meridiem === 'pagi') { 18316 return hour; 18317 } else if (meridiem === 'tengahari') { 18318 return hour >= 11 ? hour : hour + 12; 18319 } else if (meridiem === 'petang' || meridiem === 'malam') { 18320 return hour + 12; 18321 } 18322 }, 18323 meridiem: function (hours, minutes, isLower) { 18324 if (hours < 11) { 18325 return 'pagi'; 18326 } else if (hours < 15) { 18327 return 'tengahari'; 18328 } else if (hours < 19) { 18329 return 'petang'; 18330 } else { 18331 return 'malam'; 18332 } 18333 }, 18334 calendar: { 18335 sameDay: '[Hari ini pukul] LT', 18336 nextDay: '[Esok pukul] LT', 18337 nextWeek: 'dddd [pukul] LT', 18338 lastDay: '[Kelmarin pukul] LT', 18339 lastWeek: 'dddd [lepas pukul] LT', 18340 sameElse: 'L', 18341 }, 18342 relativeTime: { 18343 future: 'dalam %s', 18344 past: '%s yang lepas', 18345 s: 'beberapa saat', 18346 ss: '%d saat', 18347 m: 'seminit', 18348 mm: '%d minit', 18349 h: 'sejam', 18350 hh: '%d jam', 18351 d: 'sehari', 18352 dd: '%d hari', 18353 M: 'sebulan', 18354 MM: '%d bulan', 18355 y: 'setahun', 18356 yy: '%d tahun', 18357 }, 18358 week: { 18359 dow: 1, // Monday is the first day of the week. 18360 doy: 7, // The week that contains Jan 7th is the first week of the year. 18361 }, 18362 }); 18363 18364 return ms; 18365 18366 }))); 18367 18368 18369/***/ }), 18370/* 111 */ 18371/***/ (function(module, exports, __webpack_require__) { 18372 18373 //! moment.js locale configuration 18374 //! locale : Maltese (Malta) [mt] 18375 //! author : Alessandro Maruccia : https://github.com/alesma 18376 18377 ;(function (global, factory) { 18378 true ? factory(__webpack_require__(1)) : 18379 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 18380 factory(global.moment) 18381 }(this, (function (moment) { 'use strict'; 18382 18383 //! moment.js locale configuration 18384 18385 var mt = moment.defineLocale('mt', { 18386 months: 'Jannar_Frar_Marzu_April_Mejju_Ä unju_Lulju_Awwissu_Settembru_Ottubru_Novembru_DiÄembru'.split( 18387 '_' 18388 ), 18389 monthsShort: 'Jan_Fra_Mar_Apr_Mej_Ä un_Lul_Aww_Set_Ott_Nov_DiÄ'.split('_'), 18390 weekdays: 'Il-Ħadd_It-Tnejn_It-Tlieta_L-Erbgħa_Il-Ħamis_Il-Ä imgħa_Is-Sibt'.split( 18391 '_' 18392 ), 18393 weekdaysShort: 'Ħad_Tne_Tli_Erb_Ħam_Ä im_Sib'.split('_'), 18394 weekdaysMin: 'Ħa_Tn_Tl_Er_Ħa_Ä i_Si'.split('_'), 18395 longDateFormat: { 18396 LT: 'HH:mm', 18397 LTS: 'HH:mm:ss', 18398 L: 'DD/MM/YYYY', 18399 LL: 'D MMMM YYYY', 18400 LLL: 'D MMMM YYYY HH:mm', 18401 LLLL: 'dddd, D MMMM YYYY HH:mm', 18402 }, 18403 calendar: { 18404 sameDay: '[Illum fil-]LT', 18405 nextDay: '[Għada fil-]LT', 18406 nextWeek: 'dddd [fil-]LT', 18407 lastDay: '[Il-bieraħ fil-]LT', 18408 lastWeek: 'dddd [li għadda] [fil-]LT', 18409 sameElse: 'L', 18410 }, 18411 relativeTime: { 18412 future: 'fâ %s', 18413 past: '%s ilu', 18414 s: 'ftit sekondi', 18415 ss: '%d sekondi', 18416 m: 'minuta', 18417 mm: '%d minuti', 18418 h: 'siegħa', 18419 hh: '%d siegħat',
18420 d: 'Ä¡urnata', 18421 dd: '%d Ä¡ranet', 18422 M: 'xahar', 18423 MM: '%d xhur', 18424 y: 'sena', 18425 yy: '%d sni', 18426 }, 18427 dayOfMonthOrdinalParse: /\d{1,2}º/, 18428 ordinal: '%dº', 18429 week: { 18430 dow: 1, // Monday is the first day of the week. 18431 doy: 4, // The week that contains Jan 4th is the first week of the year. 18432 }, 18433 }); 18434 18435 return mt; 18436 18437 }))); 18438 18439 18440/***/ }), 18441/* 112 */ 18442/***/ (function(module, exports, __webpack_require__) { 18443 18444 //! moment.js locale configuration 18445 //! locale : Burmese [my] 18446 //! author : Squar team, mysquar.com 18447 //! author : David Rossellat : https://github.com/gholadr 18448 //! author : Tin Aung Lin : https://github.com/thanyawzinmin 18449 18450 ;(function (global, factory) { 18451 true ? factory(__webpack_require__(1)) : 18452 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 18453 factory(global.moment) 18454 }(this, (function (moment) { 'use strict'; 18455 18456 //! moment.js locale configuration 18457 18458 var symbolMap = { 18459 '1': 'á', 18460 '2': 'á', 18461 '3': 'á', 18462 '4': 'á', 18463 '5': 'á ', 18464 '6': 'á', 18465 '7': 'á', 18466 '8': 'á', 18467 '9': 'á', 18468 '0': 'á', 18469 }, 18470 numberMap = { 18471 'á': '1', 18472 'á': '2', 18473 'á': '3', 18474 'á': '4', 18475 'á ': '5', 18476 'á': '6', 18477 'á': '7', 18478 'á': '8', 18479 'á': '9', 18480 'á': '0', 18481 }; 18482 18483 var my = moment.defineLocale('my', { 18484 months: 'áááºááá«áá®_áá±áá±á¬áºáá«áá®_áááº_á§áá¼á®_áá±_áá½ááº_áá°ááá¯ááº_áá¼áá¯ááº_á ááºáááºáá¬_á¡á±á¬ááºááá¯áá¬_ááá¯áááºáá¬_áá®áááºáá¬'.split( 18485 '_' 18486 ), 18487 monthsShort: 'áááº_áá±_áááº_áá¼á®_áá±_áá½ááº_ááá¯ááº_áá¼_á ááº_á¡á±á¬ááº_ááá¯_áá®'.split('_'), 18488 weekdays: 'ááááºá¹ááá½á±_ááááºá¹áá¬_á¡ááºá¹áá«_áá¯áá¹ááá°á¸_áá¼á¬áááá±á¸_áá±á¬áá¼á¬_á áá±'.split( 18489 '_' 18490 ), 18491 weekdaysShort: 'áá½á±_áá¬_áá«_áá°á¸_áá¼á¬_áá±á¬_áá±'.split('_'), 18492 weekdaysMin: 'áá½á±_áá¬_áá«_áá°á¸_áá¼á¬_áá±á¬_áá±'.split('_'), 18493 18494 longDateFormat: { 18495 LT: 'HH:mm', 18496 LTS: 'HH:mm:ss', 18497 L: 'DD/MM/YYYY', 18498 LL: 'D MMMM YYYY', 18499 LLL: 'D MMMM YYYY HH:mm', 18500 LLLL: 'dddd D MMMM YYYY HH:mm', 18501 }, 18502 calendar: { 18503 sameDay: '[ááá±.] LT [áá¾á¬]', 18504 nextDay: '[ááááºáá¼ááº] LT [áá¾á¬]', 18505 nextWeek: 'dddd LT [áá¾á¬]', 18506 lastDay: '[ááá±.á] LT [áá¾á¬]', 18507 lastWeek: '[áá¼á®á¸áá²á·áá±á¬] dddd LT [áá¾á¬]', 18508 sameElse: 'L', 18509 }, 18510 relativeTime: { 18511 future: 'áá¬áááºá· %s áá¾á¬', 18512 past: 'áá½ááºáá²á·áá±á¬ %s á', 18513 s: 'á áá¹áááº.á¡áááºá¸áááº', 18514 ss: '%d á áá¹ááá·áº', 18515 m: 'áá áºáááá áº', 18516 mm: '%d áááá áº', 18517 h: 'áá áºáá¬áá®', 18518 hh: '%d áá¬áá®', 18519 d: 'áá áºáááº', 18520 dd: '%d áááº', 18521 M: 'áá áºá', 18522 MM: '%d á', 18523 y: 'áá áºáá¾á áº', 18524 yy: '%d áá¾á áº', 18525 }, 18526 preparse: function (string) { 18527 return string.replace(/[ááááá ááááá]/g, function (match) { 18528 return numberMap[match]; 18529 }); 18530 }, 18531 postformat: function (string) { 18532 return string.replace(/\d/g, function (match) { 18533 return symbolMap[match]; 18534 }); 18535 }, 18536 week: { 18537 dow: 1, // Monday is the first day of the week. 18538 doy: 4, // The week that contains Jan 4th is the first week of the year. 18539 }, 18540 }); 18541 18542 return my; 18543 18544 }))); 18545 18546 18547/***/ }), 18548/* 113 */ 18549/***/ (function(module, exports, __webpack_require__) { 18550 18551 //! moment.js locale configuration 18552 //! locale : Norwegian BokmÃ¥l [nb] 18553 //! authors : Espen Hovlandsdal : https://github.com/rexxars 18554 //! Sigurd Gartmann : https://github.com/sigurdga 18555 //! Stephen Ramthun : https://github.com/stephenramthun 18556 18557 ;(function (global, factory) { 18558 true ? factory(__webpack_require__(1)) : 18559 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 18560 factory(global.moment) 18561 }(this, (function (moment) { 'use strict'; 18562 18563 //! moment.js locale configuration 18564 18565 var nb = moment.defineLocale('nb', { 18566 months: 'januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember'.split( 18567 '_' 18568 ), 18569 monthsShort: 'jan._feb._mars_apr._mai_juni_juli_aug._sep._okt._nov._des.'.split( 18570 '_' 18571 ), 18572 monthsParseExact: true, 18573 weekdays: 'søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag'.split('_'), 18574 weekdaysShort: 'sø._ma._ti._on._to._fr._lø.'.split('_'), 18575 weekdaysMin: 'sø_ma_ti_on_to_fr_lø'.split('_'), 18576 weekdaysParseExact: true, 18577 longDateFormat: { 18578 LT: 'HH:mm', 18579 LTS: 'HH:mm:ss', 18580 L: 'DD.MM.YYYY', 18581 LL: 'D. MMMM YYYY', 18582 LLL: 'D. MMMM YYYY [kl.] HH:mm', 18583 LLLL: 'dddd D. MMMM YYYY [kl.] HH:mm', 18584 }, 18585 calendar: { 18586 sameDay: '[i dag kl.] LT', 18587 nextDay: '[i morgen kl.] LT', 18588 nextWeek: 'dddd [kl.] LT', 18589 lastDay: '[i gÃ¥r kl.] LT', 18590 lastWeek: '[forrige] dddd [kl.] LT', 18591 sameElse: 'L', 18592 }, 18593 relativeTime: { 18594 future: 'om %s', 18595 past: '%s siden', 18596 s: 'noen sekunder', 18597 ss: '%d sekunder', 18598 m: 'ett minutt', 18599 mm: '%d minutter', 18600 h: 'en time', 18601 hh: '%d timer', 18602 d: 'en dag', 18603 dd: '%d dager', 18604 M: 'en mÃ¥ned', 18605 MM: '%d mÃ¥neder', 18606 y: 'ett Ã¥r', 18607 yy: '%d Ã¥r', 18608 }, 18609 dayOfMonthOrdinalParse: /\d{1,2}\./, 18610 ordinal: '%d.', 18611 week: { 18612 dow: 1, // Monday is the first day of the week. 18613 doy: 4, // The week that contains Jan 4th is the first week of the year. 18614 }, 18615 }); 18616 18617 return nb; 18618 18619 }))); 18620 18621 18622/***/ }), 18623/* 114 */ 18624/***/ (function(module, exports, __webpack_require__) { 18625 18626 //! moment.js locale configuration 18627 //! locale : Nepalese [ne] 18628 //! author : suvash : https://github.com/suvash 18629 18630 ;(function (global, factory) { 18631 true ? factory(__webpack_require__(1)) : 18632 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 18633 factory(global.moment) 18634 }(this, (function (moment) { 'use strict'; 18635 18636 //! moment.js locale configuration 18637 18638 var symbolMap = { 18639 '1': '१', 18640 '2': '२', 18641 '3': '३', 18642 '4': '४', 18643 '5': '५', 18644 '6': '६', 18645 '7': 'à¥', 18646 '8': '८', 18647 '9': '९', 18648 '0': '०', 18649 }, 18650 numberMap = { 18651 '१': '1', 18652 '२': '2', 18653 '३': '3', 18654 '४': '4', 18655 '५': '5', 18656 '६': '6', 18657 'à¥': '7', 18658 '८': '8', 18659 '९': '9', 18660 '०': '0', 18661 }; 18662 18663 var ne = moment.defineLocale('ne', { 18664 months: 'à¤à¤¨à¤µà¤°à¥_फà¥à¤¬à¥à¤°à¥à¤µà¤°à¥_मारà¥à¤_ठपà¥à¤°à¤¿à¤²_मà¤_à¤à¥à¤¨_à¤à¥à¤²à¤¾à¤_ठà¤à¤·à¥à¤_सà¥à¤ªà¥à¤à¥à¤®à¥à¤¬à¤°_ठà¤à¥à¤à¥à¤¬à¤°_नà¥à¤à¥à¤®à¥à¤¬à¤°_डिसà¥à¤®à¥à¤¬à¤°'.split( 18665 '_' 18666 ), 18667 monthsShort: 'à¤à¤¨._फà¥à¤¬à¥à¤°à¥._मारà¥à¤_ठपà¥à¤°à¤¿._मà¤_à¤à¥à¤¨_à¤à¥à¤²à¤¾à¤._ठà¤._सà¥à¤ªà¥à¤._ठà¤à¥à¤à¥._नà¥à¤à¥._डिसà¥.'.split( 18668 '_' 18669 ), 18670 monthsParseExact: true, 18671 weekdays: 'à¤à¤à¤¤à¤¬à¤¾à¤°_सà¥à¤®à¤¬à¤¾à¤°_मà¤à¥à¤à¤²à¤¬à¤¾à¤°_बà¥à¤§à¤¬à¤¾à¤°_बिहिबार_शà¥à¤à¥à¤°à¤¬à¤¾à¤°_शनिबार'.split( 18672 '_' 18673 ), 18674 weekdaysShort: 'à¤à¤à¤¤._सà¥à¤®._मà¤à¥à¤à¤²._बà¥à¤§._बिहि._शà¥à¤à¥à¤°._शनि.'.split('_'), 18675 weekdaysMin: 'à¤._सà¥._मà¤._बà¥._बि._शà¥._श.'.split('_'), 18676 weekdaysParseExact: true, 18677 longDateFormat: { 18678 LT: 'Aà¤à¥ h:mm बà¤à¥', 18679 LTS: 'Aà¤à¥ h:mm:ss बà¤à¥', 18680 L: 'DD/MM/YYYY', 18681 LL: 'D MMMM YYYY', 18682 LLL: 'D MMMM YYYY, Aà¤à¥ h:mm बà¤à¥', 18683 LLLL: 'dddd, D MMMM YYYY, Aà¤à¥ h:mm बà¤à¥', 18684 }, 18685 preparse: function (string) { 18686 return string.replace(/[१२३४५६à¥à¥®à¥¯à¥¦]/g, function (match) { 18687 return numberMap[match]; 18688 }); 18689 }, 18690 postformat: function (string) { 18691 return string.replace(/\d/g, function (match) { 18692 return symbolMap[match]; 18693 }); 18694 },
18695 meridiemParse: /राति|बिहान|दिà¤à¤à¤¸à¥|साà¤à¤/, 18696 meridiemHour: function (hour, meridiem) { 18697 if (hour === 12) { 18698 hour = 0; 18699 } 18700 if (meridiem === 'राति') { 18701 return hour < 4 ? hour : hour + 12; 18702 } else if (meridiem === 'बिहान') { 18703 return hour; 18704 } else if (meridiem === 'दिà¤à¤à¤¸à¥') { 18705 return hour >= 10 ? hour : hour + 12; 18706 } else if (meridiem === 'साà¤à¤') { 18707 return hour + 12; 18708 } 18709 }, 18710 meridiem: function (hour, minute, isLower) { 18711 if (hour < 3) { 18712 return 'राति'; 18713 } else if (hour < 12) { 18714 return 'बिहान'; 18715 } else if (hour < 16) { 18716 return 'दिà¤à¤à¤¸à¥'; 18717 } else if (hour < 20) { 18718 return 'साà¤à¤'; 18719 } else { 18720 return 'राति'; 18721 } 18722 }, 18723 calendar: { 18724 sameDay: '[à¤à¤] LT', 18725 nextDay: '[à¤à¥à¤²à¤¿] LT', 18726 nextWeek: '[à¤à¤à¤à¤¦à¥] dddd[,] LT', 18727 lastDay: '[हिà¤à¥] LT', 18728 lastWeek: '[à¤à¤à¤à¥] dddd[,] LT', 18729 sameElse: 'L', 18730 }, 18731 relativeTime: { 18732 future: '%sमा', 18733 past: '%s ठà¤à¤¾à¤¡à¤¿', 18734 s: 'à¤à¥à¤¹à¥ à¤à¥à¤·à¤£', 18735 ss: '%d सà¥à¤à¥à¤£à¥à¤¡', 18736 m: 'à¤à¤ मिनà¥à¤', 18737 mm: '%d मिनà¥à¤', 18738 h: 'à¤à¤ à¤à¤£à¥à¤à¤¾', 18739 hh: '%d à¤à¤£à¥à¤à¤¾', 18740 d: 'à¤à¤ दिन', 18741 dd: '%d दिन', 18742 M: 'à¤à¤ महिना', 18743 MM: '%d महिना', 18744 y: 'à¤à¤ बरà¥à¤·', 18745 yy: '%d बरà¥à¤·', 18746 }, 18747 week: { 18748 dow: 0, // Sunday is the first day of the week. 18749 doy: 6, // The week that contains Jan 6th is the first week of the year. 18750 }, 18751 }); 18752 18753 return ne; 18754 18755 }))); 18756 18757 18758/***/ }), 18759/* 115 */ 18760/***/ (function(module, exports, __webpack_require__) { 18761 18762 //! moment.js locale configuration 18763 //! locale : Dutch (Belgium) [nl-be] 18764 //! author : Joris Röling : https://github.com/jorisroling 18765 //! author : Jacob Middag : https://github.com/middagj 18766 18767 ;(function (global, factory) { 18768 true ? factory(__webpack_require__(1)) : 18769 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 18770 factory(global.moment) 18771 }(this, (function (moment) { 'use strict'; 18772 18773 //! moment.js locale configuration 18774 18775 var monthsShortWithDots = 'jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.'.split( 18776 '_' 18777 ), 18778 monthsShortWithoutDots = 'jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec'.split( 18779 '_' 18780 ), 18781 monthsParse = [ 18782 /^jan/i, 18783 /^feb/i, 18784 /^maart|mrt.?$/i, 18785 /^apr/i, 18786 /^mei$/i, 18787 /^jun[i.]?$/i, 18788 /^jul[i.]?$/i, 18789 /^aug/i, 18790 /^sep/i, 18791 /^okt/i, 18792 /^nov/i, 18793 /^dec/i, 18794 ], 18795 monthsRegex = /^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i; 18796 18797 var nlBe = moment.defineLocale('nl-be', { 18798 months: 'januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december'.split( 18799 '_' 18800 ), 18801 monthsShort: function (m, format) { 18802 if (!m) { 18803 return monthsShortWithDots; 18804 } else if (/-MMM-/.test(format)) { 18805 return monthsShortWithoutDots[m.month()]; 18806 } else { 18807 return monthsShortWithDots[m.month()]; 18808 } 18809 }, 18810 18811 monthsRegex: monthsRegex, 18812 monthsShortRegex: monthsRegex, 18813 monthsStrictRegex: /^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i, 18814 monthsShortStrictRegex: /^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,
vendor: 5,260 bytes, lines 18815-18972
18815 18816 monthsParse: monthsParse, 18817 longMonthsParse: monthsParse, 18818 shortMonthsParse: monthsParse, 18819 18820 weekdays: 'zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag'.split( 18821 '_' 18822 ), 18823 weekdaysShort: 'zo._ma._di._wo._do._vr._za.'.split('_'), 18824 weekdaysMin: 'zo_ma_di_wo_do_vr_za'.split('_'), 18825 weekdaysParseExact: true, 18826 longDateFormat: { 18827 LT: 'HH:mm', 18828 LTS: 'HH:mm:ss', 18829 L: 'DD/MM/YYYY', 18830 LL: 'D MMMM YYYY', 18831 LLL: 'D MMMM YYYY HH:mm', 18832 LLLL: 'dddd D MMMM YYYY HH:mm', 18833 }, 18834 calendar: { 18835 sameDay: '[vandaag om] LT', 18836 nextDay: '[morgen om] LT', 18837 nextWeek: 'dddd [om] LT', 18838 lastDay: '[gisteren om] LT', 18839 lastWeek: '[afgelopen] dddd [om] LT', 18840 sameElse: 'L', 18841 }, 18842 relativeTime: { 18843 future: 'over %s', 18844 past: '%s geleden', 18845 s: 'een paar seconden', 18846 ss: '%d seconden', 18847 m: 'één minuut', 18848 mm: '%d minuten', 18849 h: 'één uur', 18850 hh: '%d uur', 18851 d: 'één dag', 18852 dd: '%d dagen', 18853 M: 'één maand', 18854 MM: '%d maanden', 18855 y: 'één jaar', 18856 yy: '%d jaar', 18857 }, 18858 dayOfMonthOrdinalParse: /\d{1,2}(ste|de)/, 18859 ordinal: function (number) { 18860 return ( 18861 number + 18862 (number === 1 || number === 8 || number >= 20 ? 'ste' : 'de') 18863 ); 18864 }, 18865 week: { 18866 dow: 1, // Monday is the first day of the week. 18867 doy: 4, // The week that contains Jan 4th is the first week of the year. 18868 }, 18869 }); 18870 18871 return nlBe; 18872 18873 }))); 18874 18875 18876/***/ }), 18877/* 116 */ 18878/***/ (function(module, exports, __webpack_require__) { 18879 18880 //! moment.js locale configuration 18881 //! locale : Dutch [nl] 18882 //! author : Joris Röling : https://github.com/jorisroling 18883 //! author : Jacob Middag : https://github.com/middagj 18884 18885 ;(function (global, factory) { 18886 true ? factory(__webpack_require__(1)) : 18887 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 18888 factory(global.moment) 18889 }(this, (function (moment) { 'use strict'; 18890 18891 //! moment.js locale configuration 18892 18893 var monthsShortWithDots = 'jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.'.split( 18894 '_' 18895 ), 18896 monthsShortWithoutDots = 'jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec'.split( 18897 '_' 18898 ), 18899 monthsParse = [ 18900 /^jan/i, 18901 /^feb/i, 18902 /^maart|mrt.?$/i, 18903 /^apr/i, 18904 /^mei$/i, 18905 /^jun[i.]?$/i, 18906 /^jul[i.]?$/i, 18907 /^aug/i, 18908 /^sep/i, 18909 /^okt/i, 18910 /^nov/i, 18911 /^dec/i, 18912 ], 18913 monthsRegex = /^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i; 18914 18915 var nl = moment.defineLocale('nl', { 18916 months: 'januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december'.split( 18917 '_' 18918 ), 18919 monthsShort: function (m, format) { 18920 if (!m) { 18921 return monthsShortWithDots; 18922 } else if (/-MMM-/.test(format)) { 18923 return monthsShortWithoutDots[m.month()]; 18924 } else { 18925 return monthsShortWithDots[m.month()]; 18926 } 18927 }, 18928 18929 monthsRegex: monthsRegex, 18930 monthsShortRegex: monthsRegex, 18931 monthsStrictRegex: /^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i, 18932 monthsShortStrictRegex: /^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i, 18933 18934 monthsParse: monthsParse, 18935 longMonthsParse: monthsParse, 18936 shortMonthsParse: monthsParse, 18937 18938 weekdays: 'zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag'.split( 18939 '_' 18940 ), 18941 weekdaysShort: 'zo._ma._di._wo._do._vr._za.'.split('_'), 18942 weekdaysMin: 'zo_ma_di_wo_do_vr_za'.split('_'), 18943 weekdaysParseExact: true, 18944 longDateFormat: { 18945 LT: 'HH:mm', 18946 LTS: 'HH:mm:ss', 18947 L: 'DD-MM-YYYY', 18948 LL: 'D MMMM YYYY', 18949 LLL: 'D MMMM YYYY HH:mm', 18950 LLLL: 'dddd D MMMM YYYY HH:mm', 18951 }, 18952 calendar: { 18953 sameDay: '[vandaag om] LT', 18954 nextDay: '[morgen om] LT', 18955 nextWeek: 'dddd [om] LT', 18956 lastDay: '[gisteren om] LT', 18957 lastWeek: '[afgelopen] dddd [om] LT', 18958 sameElse: 'L', 18959 }, 18960 relativeTime: { 18961 future: 'over %s', 18962 past: '%s geleden', 18963 s: 'een paar seconden', 18964 ss: '%d seconden', 18965 m: 'één minuut', 18966 mm: '%d minuten', 18967 h: 'één uur', 18968 hh: '%d uur', 18969 d: 'één dag', 18970 dd: '%d dagen', 18971 M: 'één maand', 18972 MM: '%d maanden',
18973 y: 'één jaar', 18974 yy: '%d jaar', 18975 }, 18976 dayOfMonthOrdinalParse: /\d{1,2}(ste|de)/, 18977 ordinal: function (number) { 18978 return ( 18979 number + 18980 (number === 1 || number === 8 || number >= 20 ? 'ste' : 'de') 18981 ); 18982 }, 18983 week: { 18984 dow: 1, // Monday is the first day of the week. 18985 doy: 4, // The week that contains Jan 4th is the first week of the year. 18986 }, 18987 }); 18988 18989 return nl; 18990 18991 }))); 18992 18993 18994/***/ }), 18995/* 117 */ 18996/***/ (function(module, exports, __webpack_require__) { 18997 18998 //! moment.js locale configuration 18999 //! locale : Nynorsk [nn] 19000 //! authors : https://github.com/mechuwind 19001 //! Stephen Ramthun : https://github.com/stephenramthun 19002 19003 ;(function (global, factory) { 19004 true ? factory(__webpack_require__(1)) : 19005 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 19006 factory(global.moment) 19007 }(this, (function (moment) { 'use strict'; 19008 19009 //! moment.js locale configuration 19010 19011 var nn = moment.defineLocale('nn', { 19012 months: 'januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember'.split( 19013 '_' 19014 ), 19015 monthsShort: 'jan._feb._mars_apr._mai_juni_juli_aug._sep._okt._nov._des.'.split( 19016 '_' 19017 ), 19018 monthsParseExact: true, 19019 weekdays: 'sundag_mÃ¥ndag_tysdag_onsdag_torsdag_fredag_laurdag'.split('_'), 19020 weekdaysShort: 'su._mÃ¥._ty._on._to._fr._lau.'.split('_'), 19021 weekdaysMin: 'su_mÃ¥_ty_on_to_fr_la'.split('_'), 19022 weekdaysParseExact: true, 19023 longDateFormat: { 19024 LT: 'HH:mm', 19025 LTS: 'HH:mm:ss', 19026 L: 'DD.MM.YYYY', 19027 LL: 'D. MMMM YYYY', 19028 LLL: 'D. MMMM YYYY [kl.] H:mm', 19029 LLLL: 'dddd D. MMMM YYYY [kl.] HH:mm', 19030 }, 19031 calendar: { 19032 sameDay: '[I dag klokka] LT', 19033 nextDay: '[I morgon klokka] LT', 19034 nextWeek: 'dddd [klokka] LT', 19035 lastDay: '[I gÃ¥r klokka] LT', 19036 lastWeek: '[FøregÃ¥ande] dddd [klokka] LT', 19037 sameElse: 'L', 19038 }, 19039 relativeTime: { 19040 future: 'om %s', 19041 past: '%s sidan', 19042 s: 'nokre sekund', 19043 ss: '%d sekund', 19044 m: 'eit minutt', 19045 mm: '%d minutt', 19046 h: 'ein time', 19047 hh: '%d timar', 19048 d: 'ein dag', 19049 dd: '%d dagar', 19050 M: 'ein mÃ¥nad', 19051 MM: '%d mÃ¥nader', 19052 y: 'eit Ã¥r', 19053 yy: '%d Ã¥r', 19054 }, 19055 dayOfMonthOrdinalParse: /\d{1,2}\./, 19056 ordinal: '%d.', 19057 week: { 19058 dow: 1, // Monday is the first day of the week. 19059 doy: 4, // The week that contains Jan 4th is the first week of the year. 19060 }, 19061 }); 19062 19063 return nn; 19064 19065 }))); 19066 19067 19068/***/ }), 19069/* 118 */ 19070/***/ (function(module, exports, __webpack_require__) { 19071 19072 //! moment.js locale configuration 19073 //! locale : Occitan, lengadocian dialecte [oc-lnc] 19074 //! author : Quentin PAGÃS : https://github.com/Quenty31 19075 19076 ;(function (global, factory) { 19077 true ? factory(__webpack_require__(1)) : 19078 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 19079 factory(global.moment) 19080 }(this, (function (moment) { 'use strict'; 19081 19082 //! moment.js locale configuration 19083 19084 var ocLnc = moment.defineLocale('oc-lnc', { 19085 months: { 19086 standalone: 'genièr_febrièr_març_abril_mai_junh_julhet_agost_setembre_octòbre_novembre_decembre'.split( 19087 '_' 19088 ), 19089 format: "de genièr_de febrièr_de març_d'abril_de mai_de junh_de julhet_d'agost_de setembre_d'octòbre_de novembre_de decembre".split( 19090 '_' 19091 ), 19092 isFormat: /D[oD]?(\s)+MMMM/, 19093 }, 19094 monthsShort: 'gen._febr._març_abr._mai_junh_julh._ago._set._oct._nov._dec.'.split( 19095 '_' 19096 ), 19097 monthsParseExact: true, 19098 weekdays: 'dimenge_diluns_dimars_dimècres_dijòus_divendres_dissabte'.split( 19099 '_' 19100 ), 19101 weekdaysShort: 'dg._dl._dm._dc._dj._dv._ds.'.split('_'), 19102 weekdaysMin: 'dg_dl_dm_dc_dj_dv_ds'.split('_'), 19103 weekdaysParseExact: true, 19104 longDateFormat: { 19105 LT: 'H:mm', 19106 LTS: 'H:mm:ss', 19107 L: 'DD/MM/YYYY', 19108 LL: 'D MMMM [de] YYYY', 19109 ll: 'D MMM YYYY', 19110 LLL: 'D MMMM [de] YYYY [a] H:mm', 19111 lll: 'D MMM YYYY, H:mm', 19112 LLLL: 'dddd D MMMM [de] YYYY [a] H:mm', 19113 llll: 'ddd D MMM YYYY, H:mm', 19114 }, 19115 calendar: { 19116 sameDay: '[uèi a] LT', 19117 nextDay: '[deman a] LT', 19118 nextWeek: 'dddd [a] LT', 19119 lastDay: '[ièr a] LT', 19120 lastWeek: 'dddd [passat a] LT', 19121 sameElse: 'L', 19122 }, 19123 relativeTime: { 19124 future: "d'aquà %s", 19125 past: 'fa %s', 19126 s: 'unas segondas', 19127 ss: '%d segondas', 19128 m: 'una minuta', 19129 mm: '%d minutas', 19130 h: 'una ora', 19131 hh: '%d oras', 19132 d: 'un jorn', 19133 dd: '%d jorns', 19134 M: 'un mes', 19135 MM: '%d meses', 19136 y: 'un an', 19137 yy: '%d ans', 19138 }, 19139 dayOfMonthOrdinalParse: /\d{1,2}(r|n|t|è|a)/, 19140 ordinal: function (number, period) { 19141 var output = 19142 number === 1 19143 ? 'r' 19144 : number === 2 19145 ? 'n' 19146 : number === 3 19147 ? 'r' 19148 : number === 4 19149 ? 't' 19150 : 'è'; 19151 if (period === 'w' || period === 'W') { 19152 output = 'a'; 19153 } 19154 return number + output; 19155 }, 19156 week: { 19157 dow: 1, // Monday is the first day of the week. 19158 doy: 4, 19159 }, 19160 }); 19161 19162 return ocLnc; 19163 19164 }))); 19165 19166 19167/***/ }), 19168/* 119 */ 19169/***/ (function(module, exports, __webpack_require__) { 19170 19171 //! moment.js locale configuration 19172 //! locale : Punjabi (India) [pa-in] 19173 //! author : Harpreet Singh : https://github.com/harpreetkhalsagtbit 19174 19175 ;(function (global, factory) { 19176 true ? factory(__webpack_require__(1)) : 19177 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 19178 factory(global.moment) 19179 }(this, (function (moment) { 'use strict'; 19180 19181 //! moment.js locale configuration 19182 19183 var symbolMap = { 19184 '1': 'à©§', 19185 '2': '੨', 19186 '3': 'à©©', 19187 '4': '੪', 19188 '5': 'à©«', 19189 '6': '੬', 19190 '7': 'à©', 19191 '8': 'à©®', 19192 '9': '੯', 19193 '0': '੦', 19194 }, 19195 numberMap = { 19196 'à©§': '1', 19197 '੨': '2', 19198 'à©©': '3', 19199 '੪': '4', 19200 'à©«': '5', 19201 '੬': '6', 19202 'à©': '7', 19203 'à©®': '8', 19204 '੯': '9', 19205 '੦': '0', 19206 }; 19207 19208 var paIn = moment.defineLocale('pa-in', { 19209 // There are months name as per Nanakshahi Calendar but they are not used as rigidly in modern Punjabi. 19210 months: 'à¨à¨¨à¨µà¨°à©_ਫ਼ਰਵਰà©_ਮਾਰà¨_ਠਪà©à¨°à©à¨²_ਮà¨_à¨à©à¨¨_à¨à©à¨²à¨¾à¨_ਠà¨à¨¸à¨¤_ਸਤੰਬਰ_ਠà¨à¨¤à©à¨¬à¨°_ਨਵੰਬਰ_ਦਸੰਬਰ'.split( 19211 '_' 19212 ), 19213 monthsShort: 'à¨à¨¨à¨µà¨°à©_ਫ਼ਰਵਰà©_ਮਾਰà¨_ਠਪà©à¨°à©à¨²_ਮà¨_à¨à©à¨¨_à¨à©à¨²à¨¾à¨_ਠà¨à¨¸à¨¤_ਸਤੰਬਰ_ਠà¨à¨¤à©à¨¬à¨°_ਨਵੰਬਰ_ਦਸੰਬਰ'.split( 19214 '_' 19215 ), 19216 weekdays: 'à¨à¨¤à¨µà¨¾à¨°_ਸà©à¨®à¨µà¨¾à¨°_ਮੰà¨à¨²à¨µà¨¾à¨°_ਬà©à¨§à¨µà¨¾à¨°_ਵà©à¨°à¨µà¨¾à¨°_ਸ਼à©à©±à¨à¨°à¨µà¨¾à¨°_ਸ਼ਨà©à¨à¨°à¨µà¨¾à¨°'.split( 19217 '_' 19218 ), 19219 weekdaysShort: 'à¨à¨¤_ਸà©à¨®_ਮੰà¨à¨²_ਬà©à¨§_ਵà©à¨°_ਸ਼à©à¨à¨°_ਸ਼ਨà©'.split('_'), 19220 weekdaysMin: 'à¨à¨¤_ਸà©à¨®_ਮੰà¨à¨²_ਬà©à¨§_ਵà©à¨°_ਸ਼à©à¨à¨°_ਸ਼ਨà©'.split('_'), 19221 longDateFormat: { 19222 LT: 'A h:mm ਵà¨à©', 19223 LTS: 'A h:mm:ss ਵà¨à©', 19224 L: 'DD/MM/YYYY', 19225 LL: 'D MMMM YYYY', 19226 LLL: 'D MMMM YYYY, A h:mm ਵà¨à©', 19227 LLLL: 'dddd, D MMMM YYYY, A h:mm ਵà¨à©', 19228 }, 19229 calendar: { 19230 sameDay: '[ਠà¨] LT', 19231 nextDay: '[à¨à¨²] LT', 19232 nextWeek: '[ਠà¨à¨²à¨¾] dddd, LT', 19233 lastDay: '[à¨à¨²] LT', 19234 lastWeek: '[ਪਿà¨à¨²à©] dddd, LT', 19235 sameElse: 'L', 19236 }, 19237 relativeTime: { 19238 future: '%s ਵਿੱà¨', 19239 past: '%s ਪਿà¨à¨²à©', 19240 s: 'à¨à©à¨ ਸà¨à¨¿à©°à¨', 19241 ss: '%d ਸà¨à¨¿à©°à¨', 19242 m: 'à¨à¨ ਮਿੰà¨', 19243 mm: '%d ਮਿੰà¨', 19244 h: 'à¨à©±à¨ à¨à©°à¨à¨¾', 19245 hh: '%d à¨à©°à¨à©', 19246 d: 'à¨à©±à¨ ਦਿਨ', 19247 dd: '%d ਦਿਨ', 19248 M: 'à¨à©±à¨ ਮਹà©à¨¨à¨¾', 19249 MM: '%d ਮਹà©à¨¨à©', 19250 y: 'à¨à©±à¨ ਸਾਲ', 19251 yy: '%d ਸਾਲ', 19252 }, 19253 preparse: function (string) { 19254 return string.replace(/[੧੨੩੪੫੬à©à©®à©¯à©¦]/g, function (match) { 19255 return numberMap[match]; 19256 }); 19257 }, 19258 postformat: function (string) { 19259 return string.replace(/\d/g, function (match) { 19260 return symbolMap[match]; 19261 }); 19262 }, 19263 // Punjabi notation for meridiems are quite fuzzy in practice. While there exists 19264 // a rigid notion of a 'Pahar' it is not used as rigidly in modern Punjabi. 19265 meridiemParse: /ਰਾਤ|ਸਵà©à¨°|ਦà©à¨ªà¨¹à¨¿à¨°|ਸ਼ਾਮ/, 19266 meridiemHour: function (hour, meridiem) { 19267 if (hour === 12) { 19268 hour = 0; 19269 } 19270 if (meridiem === 'ਰਾਤ') { 19271 return hour < 4 ? hour : hour + 12; 19272 } else if (meridiem === 'ਸਵà©à¨°') { 19273 return hour; 19274 } else if (meridiem === 'ਦà©à¨ªà¨¹à¨¿à¨°') { 19275 return hour >= 10 ? hour : hour + 12; 19276 } else if (meridiem === 'ਸ਼ਾਮ') { 19277 return hour + 12; 19278 } 19279 }, 19280 meridiem: function (hour, minute, isLower) { 19281 if (hour < 4) { 19282 return 'ਰਾਤ'; 19283 } else if (hour < 10) { 19284 return 'ਸਵà©à¨°'; 19285 } else if (hour < 17) { 19286 return 'ਦà©à¨ªà¨¹à¨¿à¨°'; 19287 } else if (hour < 20) { 19288 return 'ਸ਼ਾਮ'; 19289 } else { 19290 return 'ਰਾਤ'; 19291 } 19292 }, 19293 week: { 19294 dow: 0, // Sunday is the first day of the week. 19295 doy: 6, // The week that contains Jan 6th is the first week of the year. 19296 }, 19297 }); 19298 19299 return paIn; 19300 19301 }))); 19302 19303 19304/***/ }), 19305/* 120 */ 19306/***/ (function(module, exports, __webpack_require__) { 19307 19308 //! moment.js locale configuration 19309 //! locale : Polish [pl] 19310 //! author : Rafal Hirsz : https://github.com/evoL 19311 19312 ;(function (global, factory) { 19313 true ? factory(__webpack_require__(1)) : 19314 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 19315 factory(global.moment) 19316 }(this, (function (moment) { 'use strict'; 19317 19318 //! moment.js locale configuration 19319
19320 var monthsNominative = 'styczeÅ_luty_marzec_kwiecieÅ_maj_czerwiec_lipiec_sierpieÅ_wrzesieÅ_październik_listopad_grudzieÅ'.split( 19321 '_' 19322 ), 19323 monthsSubjective = 'stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_wrzeÅnia_października_listopada_grudnia'.split( 19324 '_' 19325 ); 19326 function plural(n) { 19327 return n % 10 < 5 && n % 10 > 1 && ~~(n / 10) % 10 !== 1; 19328 } 19329 function translate(number, withoutSuffix, key) { 19330 var result = number + ' '; 19331 switch (key) { 19332 case 'ss': 19333 return result + (plural(number) ? 'sekundy' : 'sekund'); 19334 case 'm': 19335 return withoutSuffix ? 'minuta' : 'minutÄ'; 19336 case 'mm': 19337 return result + (plural(number) ? 'minuty' : 'minut'); 19338 case 'h': 19339 return withoutSuffix ? 'godzina' : 'godzinÄ'; 19340 case 'hh': 19341 return result + (plural(number) ? 'godziny' : 'godzin'); 19342 case 'MM': 19343 return result + (plural(number) ? 'miesiÄ ce' : 'miesiÄcy'); 19344 case 'yy': 19345 return result + (plural(number) ? 'lata' : 'lat'); 19346 } 19347 } 19348 19349 var pl = moment.defineLocale('pl', { 19350 months: function (momentToFormat, format) { 19351 if (!momentToFormat) { 19352 return monthsNominative; 19353 } else if (format === '') { 19354 // Hack: if format empty we know this is used to generate 19355 // RegExp by moment. Give then back both valid forms of months 19356 // in RegExp ready format. 19357 return ( 19358 '(' + 19359 monthsSubjective[momentToFormat.month()] + 19360 '|' + 19361 monthsNominative[momentToFormat.month()] + 19362 ')' 19363 ); 19364 } else if (/D MMMM/.test(format)) { 19365 return monthsSubjective[momentToFormat.month()]; 19366 } else { 19367 return monthsNominative[momentToFormat.month()]; 19368 } 19369 }, 19370 monthsShort: 'sty_lut_mar_kwi_maj_cze_lip_sie_wrz_paź_lis_gru'.split('_'), 19371 weekdays: 'niedziela_poniedziaÅek_wtorek_Åroda_czwartek_piÄ tek_sobota'.split( 19372 '_' 19373 ), 19374 weekdaysShort: 'ndz_pon_wt_År_czw_pt_sob'.split('_'), 19375 weekdaysMin: 'Nd_Pn_Wt_År_Cz_Pt_So'.split('_'), 19376 longDateFormat: { 19377 LT: 'HH:mm', 19378 LTS: 'HH:mm:ss', 19379 L: 'DD.MM.YYYY', 19380 LL: 'D MMMM YYYY', 19381 LLL: 'D MMMM YYYY HH:mm', 19382 LLLL: 'dddd, D MMMM YYYY HH:mm', 19383 }, 19384 calendar: { 19385 sameDay: '[DziÅ o] LT', 19386 nextDay: '[Jutro o] LT', 19387 nextWeek: function () { 19388 switch (this.day()) { 19389 case 0: 19390 return '[W niedzielÄ o] LT'; 19391 19392 case 2: 19393 return '[We wtorek o] LT'; 19394 19395 case 3: 19396 return '[W ÅrodÄ o] LT'; 19397 19398 case 6: 19399 return '[W sobotÄ o] LT'; 19400 19401 default: 19402 return '[W] dddd [o] LT'; 19403 } 19404 }, 19405 lastDay: '[Wczoraj o] LT', 19406 lastWeek: function () { 19407 switch (this.day()) { 19408 case 0: 19409 return '[W zeszÅÄ niedzielÄ o] LT'; 19410 case 3: 19411 return '[W zeszÅÄ ÅrodÄ o] LT'; 19412 case 6: 19413 return '[W zeszÅÄ sobotÄ o] LT'; 19414 default: 19415 return '[W zeszÅy] dddd [o] LT'; 19416 } 19417 }, 19418 sameElse: 'L', 19419 }, 19420 relativeTime: { 19421 future: 'za %s', 19422 past: '%s temu', 19423 s: 'kilka sekund', 19424 ss: translate, 19425 m: translate, 19426 mm: translate, 19427 h: translate, 19428 hh: translate, 19429 d: '1 dzieÅ', 19430 dd: '%d dni', 19431 M: 'miesiÄ c', 19432 MM: translate, 19433 y: 'rok', 19434 yy: translate, 19435 }, 19436 dayOfMonthOrdinalParse: /\d{1,2}\./, 19437 ordinal: '%d.', 19438 week: { 19439 dow: 1, // Monday is the first day of the week. 19440 doy: 4, // The week that contains Jan 4th is the first week of the year. 19441 }, 19442 }); 19443 19444 return pl; 19445 19446 }))); 19447 19448 19449/***/ }), 19450/* 121 */ 19451/***/ (function(module, exports, __webpack_require__) { 19452 19453 //! moment.js locale configuration 19454 //! locale : Portuguese (Brazil) [pt-br] 19455 //! author : Caio Ribeiro Pereira : https://github.com/caio-ribeiro-pereira 19456 19457 ;(function (global, factory) { 19458 true ? factory(__webpack_require__(1)) : 19459 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 19460 factory(global.moment) 19461 }(this, (function (moment) { 'use strict'; 19462 19463 //! moment.js locale configuration 19464 19465 var ptBr = moment.defineLocale('pt-br', { 19466 months: 'janeiro_fevereiro_março_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro'.split( 19467 '_' 19468 ), 19469 monthsShort: 'jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez'.split('_'), 19470 weekdays: 'domingo_segunda-feira_terça-feira_quarta-feira_quinta-feira_sexta-feira_sábado'.split( 19471 '_' 19472 ), 19473 weekdaysShort: 'dom_seg_ter_qua_qui_sex_sáb'.split('_'), 19474 weekdaysMin: 'do_2ª_3ª_4ª_5ª_6ª_sá'.split('_'), 19475 weekdaysParseExact: true, 19476 longDateFormat: { 19477 LT: 'HH:mm', 19478 LTS: 'HH:mm:ss', 19479 L: 'DD/MM/YYYY', 19480 LL: 'D [de] MMMM [de] YYYY', 19481 LLL: 'D [de] MMMM [de] YYYY [à s] HH:mm', 19482 LLLL: 'dddd, D [de] MMMM [de] YYYY [à s] HH:mm', 19483 }, 19484 calendar: { 19485 sameDay: '[Hoje à s] LT', 19486 nextDay: '[Amanhã à s] LT', 19487 nextWeek: 'dddd [à s] LT', 19488 lastDay: '[Ontem à s] LT', 19489 lastWeek: function () { 19490 return this.day() === 0 || this.day() === 6 19491 ? '[Ãltimo] dddd [à s] LT' // Saturday + Sunday 19492 : '[Ãltima] dddd [à s] LT'; // Monday - Friday 19493 }, 19494 sameElse: 'L', 19495 }, 19496 relativeTime: { 19497 future: 'em %s', 19498 past: 'há %s', 19499 s: 'poucos segundos', 19500 ss: '%d segundos', 19501 m: 'um minuto', 19502 mm: '%d minutos', 19503 h: 'uma hora', 19504 hh: '%d horas', 19505 d: 'um dia', 19506 dd: '%d dias', 19507 M: 'um mês', 19508 MM: '%d meses', 19509 y: 'um ano', 19510 yy: '%d anos', 19511 }, 19512 dayOfMonthOrdinalParse: /\d{1,2}º/, 19513 ordinal: '%dº', 19514 }); 19515 19516 return ptBr; 19517 19518 }))); 19519 19520 19521/***/ }), 19522/* 122 */ 19523/***/ (function(module, exports, __webpack_require__) { 19524 19525 //! moment.js locale configuration 19526 //! locale : Portuguese [pt] 19527 //! author : Jefferson : https://github.com/jalex79 19528 19529 ;(function (global, factory) { 19530 true ? factory(__webpack_require__(1)) : 19531 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 19532 factory(global.moment) 19533 }(this, (function (moment) { 'use strict'; 19534 19535 //! moment.js locale configuration 19536 19537 var pt = moment.defineLocale('pt', { 19538 months: 'janeiro_fevereiro_março_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro'.split( 19539 '_' 19540 ), 19541 monthsShort: 'jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez'.split('_'), 19542 weekdays: 'Domingo_Segunda-feira_Terça-feira_Quarta-feira_Quinta-feira_Sexta-feira_Sábado'.split( 19543 '_' 19544 ), 19545 weekdaysShort: 'Dom_Seg_Ter_Qua_Qui_Sex_Sáb'.split('_'), 19546 weekdaysMin: 'Do_2ª_3ª_4ª_5ª_6ª_Sá'.split('_'), 19547 weekdaysParseExact: true, 19548 longDateFormat: { 19549 LT: 'HH:mm', 19550 LTS: 'HH:mm:ss', 19551 L: 'DD/MM/YYYY', 19552 LL: 'D [de] MMMM [de] YYYY', 19553 LLL: 'D [de] MMMM [de] YYYY HH:mm', 19554 LLLL: 'dddd, D [de] MMMM [de] YYYY HH:mm', 19555 }, 19556 calendar: { 19557 sameDay: '[Hoje à s] LT', 19558 nextDay: '[Amanhã à s] LT', 19559 nextWeek: 'dddd [à s] LT', 19560 lastDay: '[Ontem à s] LT', 19561 lastWeek: function () { 19562 return this.day() === 0 || this.day() === 6 19563 ? '[Ãltimo] dddd [à s] LT' // Saturday + Sunday 19564 : '[Ãltima] dddd [à s] LT'; // Monday - Friday 19565 }, 19566 sameElse: 'L', 19567 }, 19568 relativeTime: { 19569 future: 'em %s', 19570 past: 'há %s', 19571 s: 'segundos', 19572 ss: '%d segundos', 19573 m: 'um minuto', 19574 mm: '%d minutos', 19575 h: 'uma hora', 19576 hh: '%d horas', 19577 d: 'um dia', 19578 dd: '%d dias', 19579 M: 'um mês', 19580 MM: '%d meses', 19581 y: 'um ano', 19582 yy: '%d anos', 19583 }, 19584 dayOfMonthOrdinalParse: /\d{1,2}º/, 19585 ordinal: '%dº', 19586 week: { 19587 dow: 1, // Monday is the first day of the week. 19588 doy: 4, // The week that contains Jan 4th is the first week of the year. 19589 }, 19590 }); 19591 19592 return pt; 19593 19594 }))); 19595 19596 19597/***/ }), 19598/* 123 */ 19599/***/ (function(module, exports, __webpack_require__) { 19600 19601 //! moment.js locale configuration 19602 //! locale : Romanian [ro] 19603 //! author : Vlad Gurdiga : https://github.com/gurdiga 19604 //! author : Valentin Agachi : https://github.com/avaly 19605 //! author : Emanuel Cepoi : https://github.com/cepem 19606 19607 ;(function (global, factory) { 19608 true ? factory(__webpack_require__(1)) : 19609 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 19610 factory(global.moment) 19611 }(this, (function (moment) { 'use strict'; 19612 19613 //! moment.js locale configuration 19614 19615 function relativeTimeWithPlural(number, withoutSuffix, key) { 19616 var format = { 19617 ss: 'secunde', 19618 mm: 'minute', 19619 hh: 'ore', 19620 dd: 'zile', 19621 MM: 'luni', 19622 yy: 'ani', 19623 }, 19624 separator = ' '; 19625 if (number % 100 >= 20 || (number >= 100 && number % 100 === 0)) { 19626 separator = ' de '; 19627 } 19628 return number + separator + format[key]; 19629 } 19630 19631 var ro = moment.defineLocale('ro', { 19632 months: 'ianuarie_februarie_martie_aprilie_mai_iunie_iulie_august_septembrie_octombrie_noiembrie_decembrie'.split( 19633 '_' 19634 ), 19635 monthsShort: 'ian._feb._mart._apr._mai_iun._iul._aug._sept._oct._nov._dec.'.split( 19636 '_' 19637 ), 19638 monthsParseExact: true, 19639 weekdays: 'duminicÄ_luni_marÈi_miercuri_joi_vineri_sâmbÄtÄ'.split('_'), 19640 weekdaysShort: 'Dum_Lun_Mar_Mie_Joi_Vin_Sâm'.split('_'), 19641 weekdaysMin: 'Du_Lu_Ma_Mi_Jo_Vi_Sâ'.split('_'), 19642 longDateFormat: { 19643 LT: 'H:mm', 19644 LTS: 'H:mm:ss', 19645 L: 'DD.MM.YYYY', 19646 LL: 'D MMMM YYYY', 19647 LLL: 'D MMMM YYYY H:mm', 19648 LLLL: 'dddd, D MMMM YYYY H:mm', 19649 }, 19650 calendar: { 19651 sameDay: '[azi la] LT', 19652 nextDay: '[mâine la] LT', 19653 nextWeek: 'dddd [la] LT', 19654 lastDay: '[ieri la] LT', 19655 lastWeek: '[fosta] dddd [la] LT', 19656 sameElse: 'L', 19657 }, 19658 relativeTime: { 19659 future: 'peste %s', 19660 past: '%s în urmÄ', 19661 s: 'câteva secunde', 19662 ss: relativeTimeWithPlural, 19663 m: 'un minut', 19664 mm: relativeTimeWithPlural, 19665 h: 'o orÄ', 19666 hh: relativeTimeWithPlural, 19667 d: 'o zi', 19668 dd: relativeTimeWithPlural, 19669 M: 'o lunÄ', 19670 MM: relativeTimeWithPlural, 19671 y: 'un an', 19672 yy: relativeTimeWithPlural, 19673 }, 19674 week: { 19675 dow: 1, // Monday is the first day of the week. 19676 doy: 7, // The week that contains Jan 7th is the first week of the year. 19677 }, 19678 }); 19679 19680 return ro; 19681 19682 }))); 19683 19684 19685/***/ }), 19686/* 124 */ 19687/***/ (function(module, exports, __webpack_require__) { 19688 19689 //! moment.js locale configuration 19690 //! locale : Russian [ru] 19691 //! author : Viktorminator : https://github.com/Viktorminator 19692 //! author : Menelion Elensúle : https://github.com/Oire 19693 //! author : ÐоÑенбеÑг ÐаÑк : https://github.com/socketpair 19694 19695 ;(function (global, factory) { 19696 true ? factory(__webpack_require__(1)) : 19697 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 19698 factory(global.moment) 19699 }(this, (function (moment) { 'use strict'; 19700 19701 //! moment.js locale configuration 19702 19703 function plural(word, num) { 19704 var forms = word.split('_'); 19705 return num % 10 === 1 && num % 100 !== 11 19706 ? forms[0] 19707 : num % 10 >= 2 && num % 10 <= 4 && (num % 100 < 10 || num % 100 >= 20) 19708 ? forms[1] 19709 : forms[2]; 19710 } 19711 function relativeTimeWithPlural(number, withoutSuffix, key) { 19712 var format = { 19713 ss: withoutSuffix ? 'ÑекÑнда_ÑекÑндÑ_ÑекÑнд' : 'ÑекÑндÑ_ÑекÑндÑ_ÑекÑнд', 19714 mm: withoutSuffix ? 'минÑÑа_минÑÑÑ_минÑÑ' : 'минÑÑÑ_минÑÑÑ_минÑÑ', 19715 hh: 'ÑаÑ_ÑаÑа_ÑаÑов', 19716 dd: 'денÑ_днÑ_дней', 19717 MM: 'меÑÑÑ_меÑÑÑа_меÑÑÑев', 19718 yy: 'год_года_леÑ', 19719 }; 19720 if (key === 'm') { 19721 return withoutSuffix ? 'минÑÑа' : 'минÑÑÑ'; 19722 } else {
vendor: 13,756 bytes, lines 19723-20089
19723 return number + ' ' + plural(format[key], +number); 19724 } 19725 } 19726 var monthsParse = [ 19727 /^Ñнв/i, 19728 /^Ñев/i, 19729 /^маÑ/i, 19730 /^апÑ/i, 19731 /^ма[йÑ]/i, 19732 /^иÑн/i, 19733 /^иÑл/i, 19734 /^авг/i, 19735 /^Ñен/i, 19736 /^окÑ/i, 19737 /^ноÑ/i, 19738 /^дек/i, 19739 ]; 19740 19741 // http://new.gramota.ru/spravka/rules/139-prop : § 103 19742 // СокÑаÑÐµÐ½Ð¸Ñ Ð¼ÐµÑÑÑев: http://new.gramota.ru/spravka/buro/search-answer?s=242637 19743 // CLDR data: http://www.unicode.org/cldr/charts/28/summary/ru.html#1753 19744 var ru = moment.defineLocale('ru', { 19745 months: { 19746 format: 'ÑнваÑÑ_ÑевÑалÑ_маÑÑа_апÑелÑ_маÑ_иÑнÑ_иÑлÑ_авгÑÑÑа_ÑенÑÑбÑÑ_окÑÑбÑÑ_ноÑбÑÑ_декабÑÑ'.split( 19747 '_' 19748 ), 19749 standalone: 'ÑнваÑÑ_ÑевÑалÑ_маÑÑ_апÑелÑ_май_иÑнÑ_иÑлÑ_авгÑÑÑ_ÑенÑÑбÑÑ_окÑÑбÑÑ_ноÑбÑÑ_декабÑÑ'.split( 19750 '_' 19751 ), 19752 }, 19753 monthsShort: { 19754 // по CLDR именно "иÑл." и "иÑн.", но какой ÑмÑÑл менÑÑÑ Ð±ÑÐºÐ²Ñ Ð½Ð° ÑоÑкÑ? 19755 format: 'Ñнв._ÑевÑ._маÑ._апÑ._маÑ_иÑнÑ_иÑлÑ_авг._ÑенÑ._окÑ._ноÑб._дек.'.split( 19756 '_' 19757 ), 19758 standalone: 'Ñнв._ÑевÑ._маÑÑ_апÑ._май_иÑнÑ_иÑлÑ_авг._ÑенÑ._окÑ._ноÑб._дек.'.split( 19759 '_' 19760 ), 19761 }, 19762 weekdays: { 19763 standalone: 'воÑкÑеÑенÑе_понеделÑник_вÑоÑник_ÑÑеда_ÑеÑвеÑг_пÑÑниÑа_ÑÑббоÑа'.split( 19764 '_' 19765 ), 19766 format: 'воÑкÑеÑенÑе_понеделÑник_вÑоÑник_ÑÑедÑ_ÑеÑвеÑг_пÑÑниÑÑ_ÑÑббоÑÑ'.split( 19767 '_' 19768 ), 19769 isFormat: /\[ ?[Ðв] ?(?:пÑоÑлÑÑ|ÑледÑÑÑÑÑ|ÑÑÑ)? ?] ?dddd/, 19770 }, 19771 weekdaysShort: 'вÑ_пн_вÑ_ÑÑ_ÑÑ_пÑ_Ñб'.split('_'), 19772 weekdaysMin: 'вÑ_пн_вÑ_ÑÑ_ÑÑ_пÑ_Ñб'.split('_'), 19773 monthsParse: monthsParse, 19774 longMonthsParse: monthsParse, 19775 shortMonthsParse: monthsParse, 19776 19777 // полнÑе Ð½Ð°Ð·Ð²Ð°Ð½Ð¸Ñ Ñ Ð¿Ð°Ð´ÐµÐ¶Ð°Ð¼Ð¸, по ÑÑи бÑквÑ, Ð´Ð»Ñ Ð½ÐµÐºÐ¾ÑоÑÑÑ , по 4 бÑквÑ, ÑокÑаÑÐµÐ½Ð¸Ñ Ñ ÑоÑкой и без ÑоÑки 19778 monthsRegex: /^(ÑнваÑ[ÑÑ]|Ñнв\.?|ÑевÑал[ÑÑ]|ÑевÑ?\.?|маÑÑа?|маÑ\.?|апÑел[ÑÑ]|апÑ\.?|ма[йÑ]|иÑн[ÑÑ]|иÑн\.?|иÑл[ÑÑ]|иÑл\.?|авгÑÑÑа?|авг\.?|ÑенÑÑбÑ[ÑÑ]|ÑенÑ?\.?|окÑÑбÑ[ÑÑ]|окÑ\.?|ноÑбÑ[ÑÑ]|ноÑб?\.?|декабÑ[ÑÑ]|дек\.?)/i, 19779 19780 // ÐºÐ¾Ð¿Ð¸Ñ Ð¿ÑедÑдÑÑего 19781 monthsShortRegex: /^(ÑнваÑ[ÑÑ]|Ñнв\.?|ÑевÑал[ÑÑ]|ÑевÑ?\.?|маÑÑа?|маÑ\.?|апÑел[ÑÑ]|апÑ\.?|ма[йÑ]|иÑн[ÑÑ]|иÑн\.?|иÑл[ÑÑ]|иÑл\.?|авгÑÑÑа?|авг\.?|ÑенÑÑбÑ[ÑÑ]|ÑенÑ?\.?|окÑÑбÑ[ÑÑ]|окÑ\.?|ноÑбÑ[ÑÑ]|ноÑб?\.?|декабÑ[ÑÑ]|дек\.?)/i, 19782 19783 // полнÑе Ð½Ð°Ð·Ð²Ð°Ð½Ð¸Ñ Ñ Ð¿Ð°Ð´ÐµÐ¶Ð°Ð¼Ð¸ 19784 monthsStrictRegex: /^(ÑнваÑ[ÑÑ]|ÑевÑал[ÑÑ]|маÑÑа?|апÑел[ÑÑ]|ма[Ñй]|иÑн[ÑÑ]|иÑл[ÑÑ]|авгÑÑÑа?|ÑенÑÑбÑ[ÑÑ]|окÑÑбÑ[ÑÑ]|ноÑбÑ[ÑÑ]|декабÑ[ÑÑ])/i, 19785 19786 // ÐÑÑажение, коÑоÑое ÑооÑвеÑÑÑвÑÐµÑ ÑолÑко ÑокÑаÑÑннÑм ÑоÑмам 19787 monthsShortStrictRegex: /^(Ñнв\.|ÑевÑ?\.|маÑ[Ñ.]|апÑ\.|ма[Ñй]|иÑн[ÑÑ.]|иÑл[ÑÑ.]|авг\.|ÑенÑ?\.|окÑ\.|ноÑб?\.|дек\.)/i, 19788 longDateFormat: { 19789 LT: 'H:mm', 19790 LTS: 'H:mm:ss', 19791 L: 'DD.MM.YYYY', 19792 LL: 'D MMMM YYYY г.', 19793 LLL: 'D MMMM YYYY г., H:mm', 19794 LLLL: 'dddd, D MMMM YYYY г., H:mm', 19795 }, 19796 calendar: { 19797 sameDay: '[СегоднÑ, в] LT', 19798 nextDay: '[ÐавÑÑа, в] LT', 19799 lastDay: '[ÐÑеÑа, в] LT', 19800 nextWeek: function (now) { 19801 if (now.week() !== this.week()) { 19802 switch (this.day()) { 19803 case 0: 19804 return '[Ð ÑледÑÑÑее] dddd, [в] LT'; 19805 case 1: 19806 case 2: 19807 case 4: 19808 return '[Ð ÑледÑÑÑий] dddd, [в] LT'; 19809 case 3: 19810 case 5: 19811 case 6: 19812 return '[Ð ÑледÑÑÑÑÑ] dddd, [в] LT'; 19813 } 19814 } else { 19815 if (this.day() === 2) { 19816 return '[Ðо] dddd, [в] LT'; 19817 } else { 19818 return '[Ð] dddd, [в] LT'; 19819 } 19820 } 19821 }, 19822 lastWeek: function (now) { 19823 if (now.week() !== this.week()) { 19824 switch (this.day()) { 19825 case 0: 19826 return '[РпÑоÑлое] dddd, [в] LT'; 19827 case 1: 19828 case 2: 19829 case 4: 19830 return '[РпÑоÑлÑй] dddd, [в] LT'; 19831 case 3: 19832 case 5: 19833 case 6: 19834 return '[РпÑоÑлÑÑ] dddd, [в] LT'; 19835 } 19836 } else { 19837 if (this.day() === 2) { 19838 return '[Ðо] dddd, [в] LT'; 19839 } else { 19840 return '[Ð] dddd, [в] LT'; 19841 } 19842 } 19843 }, 19844 sameElse: 'L', 19845 }, 19846 relativeTime: { 19847 future: 'ÑеÑез %s', 19848 past: '%s назад', 19849 s: 'неÑколÑко ÑекÑнд', 19850 ss: relativeTimeWithPlural, 19851 m: relativeTimeWithPlural, 19852 mm: relativeTimeWithPlural, 19853 h: 'ÑаÑ', 19854 hh: relativeTimeWithPlural, 19855 d: 'денÑ', 19856 dd: relativeTimeWithPlural, 19857 M: 'меÑÑÑ', 19858 MM: relativeTimeWithPlural, 19859 y: 'год', 19860 yy: relativeTimeWithPlural, 19861 }, 19862 meridiemParse: /ноÑи|ÑÑÑа|днÑ|веÑеÑа/i, 19863 isPM: function (input) { 19864 return /^(днÑ|веÑеÑа)$/.test(input); 19865 }, 19866 meridiem: function (hour, minute, isLower) { 19867 if (hour < 4) { 19868 return 'ноÑи'; 19869 } else if (hour < 12) { 19870 return 'ÑÑÑа'; 19871 } else if (hour < 17) { 19872 return 'днÑ'; 19873 } else { 19874 return 'веÑеÑа'; 19875 } 19876 }, 19877 dayOfMonthOrdinalParse: /\d{1,2}-(й|го|Ñ)/, 19878 ordinal: function (number, period) { 19879 switch (period) { 19880 case 'M': 19881 case 'd': 19882 case 'DDD': 19883 return number + '-й'; 19884 case 'D': 19885 return number + '-го'; 19886 case 'w': 19887 case 'W': 19888 return number + '-Ñ'; 19889 default: 19890 return number; 19891 } 19892 }, 19893 week: { 19894 dow: 1, // Monday is the first day of the week. 19895 doy: 4, // The week that contains Jan 4th is the first week of the year. 19896 }, 19897 }); 19898 19899 return ru; 19900 19901 }))); 19902 19903 19904/***/ }), 19905/* 125 */ 19906/***/ (function(module, exports, __webpack_require__) { 19907 19908 //! moment.js locale configuration 19909 //! locale : Sindhi [sd] 19910 //! author : Narain Sagar : https://github.com/narainsagar 19911 19912 ;(function (global, factory) { 19913 true ? factory(__webpack_require__(1)) : 19914 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 19915 factory(global.moment) 19916 }(this, (function (moment) { 'use strict'; 19917 19918 //! moment.js locale configuration 19919 19920 var months = [ 19921 'جÙÙØ±Ù', 19922 'ÙÙØ¨Ø±ÙرÙ', 19923 '٠ارÚ', 19924 'اپرÙÙ', 19925 '٠ئÙ', 19926 'جÙÙ', 19927 'جÙÙØ§Ø¡Ù', 19928 'آگسٽ', 19929 'سÙپٽ٠بر', 19930 'Ø¢ÚªÙ½ÙØ¨Ø±', 19931 'ÙÙ٠بر', 19932 'ÚØ³Ù بر', 19933 ], 19934 days = ['Ø¢ÚØ±', 'سÙ٠ر', 'اڱارÙ', 'اربع', 'Ø®Ù ÙØ³', 'ج٠ع', 'ÚÙÚØ±']; 19935 19936 var sd = moment.defineLocale('sd', { 19937 months: months, 19938 monthsShort: months, 19939 weekdays: days, 19940 weekdaysShort: days, 19941 weekdaysMin: days, 19942 longDateFormat: { 19943 LT: 'HH:mm', 19944 LTS: 'HH:mm:ss', 19945 L: 'DD/MM/YYYY', 19946 LL: 'D MMMM YYYY', 19947 LLL: 'D MMMM YYYY HH:mm', 19948 LLLL: 'ddddØ D MMMM YYYY HH:mm', 19949 }, 19950 meridiemParse: /صبØ|شا٠/, 19951 isPM: function (input) { 19952 return 'شا٠' === input; 19953 }, 19954 meridiem: function (hour, minute, isLower) { 19955 if (hour < 12) { 19956 return 'صبØ'; 19957 } 19958 return 'شا٠'; 19959 }, 19960 calendar: { 19961 sameDay: '[اÚ] LT', 19962 nextDay: '[Ø³ÚØ§Ú»Ù] LT', 19963 nextWeek: 'dddd [اڳÙÙ ÙÙØªÙ تÙ] LT', 19964 lastDay: '[ڪاÙÙÙ] LT', 19965 lastWeek: '[گزرÙÙ ÙÙØªÙ] dddd [تÙ] LT', 19966 sameElse: 'L', 19967 }, 19968 relativeTime: { 19969 future: '%s Ù¾ÙØ¡', 19970 past: '%s اڳ', 19971 s: 'ÚÙØ¯ سÙÚªÙÚ', 19972 ss: '%d سÙÚªÙÚ', 19973 m: 'ÙÚª Ù ÙÙ½', 19974 mm: '%d Ù ÙÙ½', 19975 h: 'ÙÚª ÚªÙØ§Úª', 19976 hh: '%d ÚªÙØ§Úª', 19977 d: 'ÙÚª ÚÙÙÙÙ', 19978 dd: '%d ÚÙÙÙÙ', 19979 M: 'ÙÚª Ù ÙÙÙÙ', 19980 MM: '%d Ù ÙÙÙØ§', 19981 y: 'ÙÚª ساÙ', 19982 yy: '%d ساÙ', 19983 }, 19984 preparse: function (string) { 19985 return string.replace(/Ø/g, ','); 19986 }, 19987 postformat: function (string) { 19988 return string.replace(/,/g, 'Ø'); 19989 }, 19990 week: { 19991 dow: 1, // Monday is the first day of the week. 19992 doy: 4, // The week that contains Jan 4th is the first week of the year. 19993 }, 19994 }); 19995 19996 return sd; 19997 19998 }))); 19999 20000 20001/***/ }), 20002/* 126 */ 20003/***/ (function(module, exports, __webpack_require__) { 20004 20005 //! moment.js locale configuration 20006 //! locale : Northern Sami [se] 20007 //! authors : BÃ¥rd Rolstad Henriksen : https://github.com/karamell 20008 20009 ;(function (global, factory) { 20010 true ? factory(__webpack_require__(1)) : 20011 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 20012 factory(global.moment) 20013 }(this, (function (moment) { 'use strict'; 20014 20015 //! moment.js locale configuration 20016 20017 var se = moment.defineLocale('se', { 20018 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( 20019 '_' 20020 ), 20021 monthsShort: 'oÄÄj_guov_njuk_cuo_mies_geas_suoi_borg_ÄakÄ_golg_skáb_juov'.split( 20022 '_' 20023 ), 20024 weekdays: 'sotnabeaivi_vuossárga_maÅÅebárga_gaskavahkku_duorastat_bearjadat_lávvardat'.split( 20025 '_' 20026 ), 20027 weekdaysShort: 'sotn_vuos_maÅ_gask_duor_bear_láv'.split('_'), 20028 weekdaysMin: 's_v_m_g_d_b_L'.split('_'), 20029 longDateFormat: { 20030 LT: 'HH:mm', 20031 LTS: 'HH:mm:ss', 20032 L: 'DD.MM.YYYY', 20033 LL: 'MMMM D. [b.] YYYY', 20034 LLL: 'MMMM D. [b.] YYYY [ti.] HH:mm', 20035 LLLL: 'dddd, MMMM D. [b.] YYYY [ti.] HH:mm', 20036 }, 20037 calendar: { 20038 sameDay: '[otne ti] LT', 20039 nextDay: '[ihttin ti] LT', 20040 nextWeek: 'dddd [ti] LT', 20041 lastDay: '[ikte ti] LT', 20042 lastWeek: '[ovddit] dddd [ti] LT', 20043 sameElse: 'L', 20044 }, 20045 relativeTime: { 20046 future: '%s geažes', 20047 past: 'maÅit %s', 20048 s: 'moadde sekunddat', 20049 ss: '%d sekunddat', 20050 m: 'okta minuhta', 20051 mm: '%d minuhtat', 20052 h: 'okta diimmu', 20053 hh: '%d diimmut', 20054 d: 'okta beaivi', 20055 dd: '%d beaivvit', 20056 M: 'okta mánnu', 20057 MM: '%d mánut', 20058 y: 'okta jahki', 20059 yy: '%d jagit', 20060 }, 20061 dayOfMonthOrdinalParse: /\d{1,2}\./, 20062 ordinal: '%d.', 20063 week: { 20064 dow: 1, // Monday is the first day of the week. 20065 doy: 4, // The week that contains Jan 4th is the first week of the year. 20066 }, 20067 }); 20068 20069 return se; 20070 20071 }))); 20072 20073 20074/***/ }), 20075/* 127 */ 20076/***/ (function(module, exports, __webpack_require__) { 20077 20078 //! moment.js locale configuration 20079 //! locale : Sinhalese [si] 20080 //! author : Sampath Sitinamaluwa : https://github.com/sampathsris 20081 20082 ;(function (global, factory) { 20083 true ? factory(__webpack_require__(1)) : 20084 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 20085 factory(global.moment) 20086 }(this, (function (moment) { 'use strict'; 20087 20088 //! moment.js locale configuration 20089
vendor: 16,384 bytes, lines 20090-20508
20090 /*jshint -W100*/ 20091 var si = moment.defineLocale('si', { 20092 months: 'ජනà·à·à¶»à·_à¶´à·à¶¶à¶»à·à·à¶»à·_මà·à¶»à·à¶à·_à¶ à¶´à·âà¶»à·à¶½à·_මà·à¶ºà·_à¶¢à·à¶±à·_à¶¢à·à¶½à·_à¶ à¶à·à·à·à¶à·_à·à·à¶´à·à¶à·à¶¸à·à¶¶à¶»à·_à¶à¶à·à¶à·à¶¶à¶»à·_à¶±à·à·à·à¶¸à·à¶¶à¶»à·_දà·à·à·à¶¸à·à¶¶à¶»à·'.split( 20093 '_' 20094 ), 20095 monthsShort: 'ජන_à¶´à·à¶¶_මà·à¶»à·_à¶ à¶´à·_මà·à¶ºà·_à¶¢à·à¶±à·_à¶¢à·à¶½à·_à¶ à¶à·_à·à·à¶´à·_à¶à¶à·_à¶±à·à·à·_දà·à·à·'.split( 20096 '_' 20097 ), 20098 weekdays: 'à¶à¶»à·à¶¯à·_à·à¶³à·à¶¯à·_à¶ à¶à·à¶»à·à·à·à¶¯à·_බදà·à¶¯à·_à¶¶à·âà¶»à·à·à·à¶´à¶à·à¶±à·à¶¯à·_à·à·à¶à·à¶»à·à¶¯à·_à·à·à¶±à·à·à¶»à·à¶¯à·'.split( 20099 '_' 20100 ), 20101 weekdaysShort: 'à¶à¶»à·_à·à¶³à·_à¶ à¶_බදà·_à¶¶à·âà¶»à·_à·à·à¶à·_à·à·à¶±'.split('_'), 20102 weekdaysMin: 'à¶_à·_à¶ _à¶¶_à¶¶à·âà¶»_à·à·_à·à·'.split('_'), 20103 weekdaysParseExact: true, 20104 longDateFormat: { 20105 LT: 'a h:mm', 20106 LTS: 'a h:mm:ss', 20107 L: 'YYYY/MM/DD', 20108 LL: 'YYYY MMMM D', 20109 LLL: 'YYYY MMMM D, a h:mm', 20110 LLLL: 'YYYY MMMM D [à·à·à¶±à·] dddd, a h:mm:ss', 20111 }, 20112 calendar: { 20113 sameDay: '[චද] LT[à¶§]', 20114 nextDay: '[à·à·à¶§] LT[à¶§]', 20115 nextWeek: 'dddd LT[à¶§]', 20116 lastDay: '[à¶à¶ºà·] LT[à¶§]', 20117 lastWeek: '[à¶´à·à·à¶à·à¶º] dddd LT[à¶§]', 20118 sameElse: 'L', 20119 }, 20120 relativeTime: { 20121 future: '%sà¶à·à¶±à·', 20122 past: '%sà¶à¶§ à¶´à·à¶»', 20123 s: 'à¶à¶à·à¶´à¶» à¶à·à·à·à¶´à¶º', 20124 ss: 'à¶à¶à·à¶´à¶» %d', 20125 m: 'මà·à¶±à·à¶à·à¶à·à·', 20126 mm: 'මà·à¶±à·à¶à·à¶à· %d', 20127 h: 'à¶´à·à¶º', 20128 hh: 'à¶´à·à¶º %d', 20129 d: 'දà·à¶±à¶º', 20130 dd: 'දà·à¶± %d', 20131 M: 'මà·à·à¶º', 20132 MM: 'මà·à· %d', 20133 y: 'à·à·à¶»', 20134 yy: 'à·à·à¶» %d', 20135 }, 20136 dayOfMonthOrdinalParse: /\d{1,2} à·à·à¶±à·/, 20137 ordinal: function (number) { 20138 return number + ' à·à·à¶±à·'; 20139 }, 20140 meridiemParse: /à¶´à·à¶» à·à¶»à·|à¶´à·à· à·à¶»à·|à¶´à·.à·|à¶´.à·./, 20141 isPM: function (input) { 20142 return input === 'à¶´.à·.' || input === 'à¶´à·à· à·à¶»à·'; 20143 }, 20144 meridiem: function (hours, minutes, isLower) { 20145 if (hours > 11) { 20146 return isLower ? 'à¶´.à·.' : 'à¶´à·à· à·à¶»à·'; 20147 } else { 20148 return isLower ? 'à¶´à·.à·.' : 'à¶´à·à¶» à·à¶»à·'; 20149 } 20150 }, 20151 }); 20152 20153 return si; 20154 20155 }))); 20156 20157 20158/***/ }), 20159/* 128 */ 20160/***/ (function(module, exports, __webpack_require__) { 20161 20162 //! moment.js locale configuration 20163 //! locale : Slovak [sk] 20164 //! author : Martin Minka : https://github.com/k2s 20165 //! based on work of petrbela : https://github.com/petrbela 20166 20167 ;(function (global, factory) { 20168 true ? factory(__webpack_require__(1)) : 20169 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 20170 factory(global.moment) 20171 }(this, (function (moment) { 'use strict'; 20172 20173 //! moment.js locale configuration 20174 20175 var months = 'január_február_marec_aprÃl_máj_jún_júl_august_september_október_november_december'.split( 20176 '_' 20177 ), 20178 monthsShort = 'jan_feb_mar_apr_máj_jún_júl_aug_sep_okt_nov_dec'.split('_'); 20179 function plural(n) { 20180 return n > 1 && n < 5; 20181 } 20182 function translate(number, withoutSuffix, key, isFuture) { 20183 var result = number + ' '; 20184 switch (key) { 20185 case 's': // a few seconds / in a few seconds / a few seconds ago 20186 return withoutSuffix || isFuture ? 'pár sekúnd' : 'pár sekundami'; 20187 case 'ss': // 9 seconds / in 9 seconds / 9 seconds ago 20188 if (withoutSuffix || isFuture) { 20189 return result + (plural(number) ? 'sekundy' : 'sekúnd'); 20190 } else { 20191 return result + 'sekundami'; 20192 } 20193 case 'm': // a minute / in a minute / a minute ago 20194 return withoutSuffix ? 'minúta' : isFuture ? 'minútu' : 'minútou'; 20195 case 'mm': // 9 minutes / in 9 minutes / 9 minutes ago 20196 if (withoutSuffix || isFuture) { 20197 return result + (plural(number) ? 'minúty' : 'minút'); 20198 } else { 20199 return result + 'minútami'; 20200 } 20201 case 'h': // an hour / in an hour / an hour ago 20202 return withoutSuffix ? 'hodina' : isFuture ? 'hodinu' : 'hodinou'; 20203 case 'hh': // 9 hours / in 9 hours / 9 hours ago 20204 if (withoutSuffix || isFuture) { 20205 return result + (plural(number) ? 'hodiny' : 'hodÃn'); 20206 } else { 20207 return result + 'hodinami'; 20208 } 20209 case 'd': // a day / in a day / a day ago 20210 return withoutSuffix || isFuture ? 'deÅ' : 'dÅom'; 20211 case 'dd': // 9 days / in 9 days / 9 days ago 20212 if (withoutSuffix || isFuture) { 20213 return result + (plural(number) ? 'dni' : 'dnÃ'); 20214 } else { 20215 return result + 'dÅami'; 20216 } 20217 case 'M': // a month / in a month / a month ago 20218 return withoutSuffix || isFuture ? 'mesiac' : 'mesiacom'; 20219 case 'MM': // 9 months / in 9 months / 9 months ago 20220 if (withoutSuffix || isFuture) { 20221 return result + (plural(number) ? 'mesiace' : 'mesiacov'); 20222 } else { 20223 return result + 'mesiacmi'; 20224 } 20225 case 'y': // a year / in a year / a year ago 20226 return withoutSuffix || isFuture ? 'rok' : 'rokom'; 20227 case 'yy': // 9 years / in 9 years / 9 years ago 20228 if (withoutSuffix || isFuture) { 20229 return result + (plural(number) ? 'roky' : 'rokov'); 20230 } else { 20231 return result + 'rokmi'; 20232 } 20233 } 20234 } 20235 20236 var sk = moment.defineLocale('sk', { 20237 months: months, 20238 monthsShort: monthsShort, 20239 weekdays: 'nedeľa_pondelok_utorok_streda_Å¡tvrtok_piatok_sobota'.split('_'), 20240 weekdaysShort: 'ne_po_ut_st_Å¡t_pi_so'.split('_'), 20241 weekdaysMin: 'ne_po_ut_st_Å¡t_pi_so'.split('_'), 20242 longDateFormat: { 20243 LT: 'H:mm', 20244 LTS: 'H:mm:ss', 20245 L: 'DD.MM.YYYY', 20246 LL: 'D. MMMM YYYY', 20247 LLL: 'D. MMMM YYYY H:mm', 20248 LLLL: 'dddd D. MMMM YYYY H:mm', 20249 }, 20250 calendar: { 20251 sameDay: '[dnes o] LT', 20252 nextDay: '[zajtra o] LT', 20253 nextWeek: function () { 20254 switch (this.day()) { 20255 case 0: 20256 return '[v nedeľu o] LT'; 20257 case 1: 20258 case 2: 20259 return '[v] dddd [o] LT'; 20260 case 3: 20261 return '[v stredu o] LT'; 20262 case 4: 20263 return '[vo Å¡tvrtok o] LT'; 20264 case 5: 20265 return '[v piatok o] LT'; 20266 case 6: 20267 return '[v sobotu o] LT'; 20268 } 20269 }, 20270 lastDay: '[vÄera o] LT', 20271 lastWeek: function () { 20272 switch (this.day()) { 20273 case 0: 20274 return '[minulú nedeľu o] LT'; 20275 case 1: 20276 case 2: 20277 return '[minulý] dddd [o] LT'; 20278 case 3: 20279 return '[minulú stredu o] LT'; 20280 case 4: 20281 case 5: 20282 return '[minulý] dddd [o] LT'; 20283 case 6: 20284 return '[minulú sobotu o] LT'; 20285 } 20286 }, 20287 sameElse: 'L', 20288 }, 20289 relativeTime: { 20290 future: 'za %s', 20291 past: 'pred %s', 20292 s: translate, 20293 ss: translate, 20294 m: translate, 20295 mm: translate, 20296 h: translate, 20297 hh: translate, 20298 d: translate, 20299 dd: translate, 20300 M: translate, 20301 MM: translate, 20302 y: translate, 20303 yy: translate, 20304 }, 20305 dayOfMonthOrdinalParse: /\d{1,2}\./, 20306 ordinal: '%d.', 20307 week: { 20308 dow: 1, // Monday is the first day of the week. 20309 doy: 4, // The week that contains Jan 4th is the first week of the year. 20310 }, 20311 }); 20312 20313 return sk; 20314 20315 }))); 20316 20317 20318/***/ }), 20319/* 129 */ 20320/***/ (function(module, exports, __webpack_require__) { 20321 20322 //! moment.js locale configuration 20323 //! locale : Slovenian [sl] 20324 //! author : Robert SedovÅ¡ek : https://github.com/sedovsek 20325 20326 ;(function (global, factory) { 20327 true ? factory(__webpack_require__(1)) : 20328 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 20329 factory(global.moment) 20330 }(this, (function (moment) { 'use strict'; 20331 20332 //! moment.js locale configuration 20333 20334 function processRelativeTime(number, withoutSuffix, key, isFuture) { 20335 var result = number + ' '; 20336 switch (key) { 20337 case 's': 20338 return withoutSuffix || isFuture 20339 ? 'nekaj sekund' 20340 : 'nekaj sekundami'; 20341 case 'ss': 20342 if (number === 1) { 20343 result += withoutSuffix ? 'sekundo' : 'sekundi'; 20344 } else if (number === 2) { 20345 result += withoutSuffix || isFuture ? 'sekundi' : 'sekundah'; 20346 } else if (number < 5) { 20347 result += withoutSuffix || isFuture ? 'sekunde' : 'sekundah'; 20348 } else { 20349 result += 'sekund'; 20350 } 20351 return result; 20352 case 'm': 20353 return withoutSuffix ? 'ena minuta' : 'eno minuto'; 20354 case 'mm': 20355 if (number === 1) { 20356 result += withoutSuffix ? 'minuta' : 'minuto'; 20357 } else if (number === 2) { 20358 result += withoutSuffix || isFuture ? 'minuti' : 'minutama'; 20359 } else if (number < 5) { 20360 result += withoutSuffix || isFuture ? 'minute' : 'minutami'; 20361 } else { 20362 result += withoutSuffix || isFuture ? 'minut' : 'minutami'; 20363 } 20364 return result; 20365 case 'h': 20366 return withoutSuffix ? 'ena ura' : 'eno uro'; 20367 case 'hh': 20368 if (number === 1) { 20369 result += withoutSuffix ? 'ura' : 'uro'; 20370 } else if (number === 2) { 20371 result += withoutSuffix || isFuture ? 'uri' : 'urama'; 20372 } else if (number < 5) { 20373 result += withoutSuffix || isFuture ? 'ure' : 'urami'; 20374 } else { 20375 result += withoutSuffix || isFuture ? 'ur' : 'urami'; 20376 } 20377 return result; 20378 case 'd': 20379 return withoutSuffix || isFuture ? 'en dan' : 'enim dnem'; 20380 case 'dd': 20381 if (number === 1) { 20382 result += withoutSuffix || isFuture ? 'dan' : 'dnem'; 20383 } else if (number === 2) { 20384 result += withoutSuffix || isFuture ? 'dni' : 'dnevoma'; 20385 } else { 20386 result += withoutSuffix || isFuture ? 'dni' : 'dnevi'; 20387 } 20388 return result; 20389 case 'M': 20390 return withoutSuffix || isFuture ? 'en mesec' : 'enim mesecem'; 20391 case 'MM': 20392 if (number === 1) { 20393 result += withoutSuffix || isFuture ? 'mesec' : 'mesecem'; 20394 } else if (number === 2) { 20395 result += withoutSuffix || isFuture ? 'meseca' : 'mesecema'; 20396 } else if (number < 5) { 20397 result += withoutSuffix || isFuture ? 'mesece' : 'meseci'; 20398 } else { 20399 result += withoutSuffix || isFuture ? 'mesecev' : 'meseci'; 20400 } 20401 return result; 20402 case 'y': 20403 return withoutSuffix || isFuture ? 'eno leto' : 'enim letom'; 20404 case 'yy': 20405 if (number === 1) { 20406 result += withoutSuffix || isFuture ? 'leto' : 'letom'; 20407 } else if (number === 2) { 20408 result += withoutSuffix || isFuture ? 'leti' : 'letoma'; 20409 } else if (number < 5) { 20410 result += withoutSuffix || isFuture ? 'leta' : 'leti'; 20411 } else { 20412 result += withoutSuffix || isFuture ? 'let' : 'leti'; 20413 } 20414 return result; 20415 } 20416 } 20417 20418 var sl = moment.defineLocale('sl', { 20419 months: 'januar_februar_marec_april_maj_junij_julij_avgust_september_oktober_november_december'.split( 20420 '_' 20421 ), 20422 monthsShort: 'jan._feb._mar._apr._maj._jun._jul._avg._sep._okt._nov._dec.'.split( 20423 '_' 20424 ), 20425 monthsParseExact: true, 20426 weekdays: 'nedelja_ponedeljek_torek_sreda_Äetrtek_petek_sobota'.split('_'), 20427 weekdaysShort: 'ned._pon._tor._sre._Äet._pet._sob.'.split('_'), 20428 weekdaysMin: 'ne_po_to_sr_Äe_pe_so'.split('_'), 20429 weekdaysParseExact: true, 20430 longDateFormat: { 20431 LT: 'H:mm', 20432 LTS: 'H:mm:ss', 20433 L: 'DD. MM. YYYY', 20434 LL: 'D. MMMM YYYY', 20435 LLL: 'D. MMMM YYYY H:mm', 20436 LLLL: 'dddd, D. MMMM YYYY H:mm', 20437 }, 20438 calendar: { 20439 sameDay: '[danes ob] LT', 20440 nextDay: '[jutri ob] LT', 20441 20442 nextWeek: function () { 20443 switch (this.day()) { 20444 case 0: 20445 return '[v] [nedeljo] [ob] LT'; 20446 case 3: 20447 return '[v] [sredo] [ob] LT'; 20448 case 6: 20449 return '[v] [soboto] [ob] LT'; 20450 case 1: 20451 case 2: 20452 case 4: 20453 case 5: 20454 return '[v] dddd [ob] LT'; 20455 } 20456 }, 20457 lastDay: '[vÄeraj ob] LT', 20458 lastWeek: function () { 20459 switch (this.day()) { 20460 case 0: 20461 return '[prejÅ¡njo] [nedeljo] [ob] LT'; 20462 case 3: 20463 return '[prejÅ¡njo] [sredo] [ob] LT'; 20464 case 6: 20465 return '[prejÅ¡njo] [soboto] [ob] LT'; 20466 case 1: 20467 case 2: 20468 case 4: 20469 case 5: 20470 return '[prejÅ¡nji] dddd [ob] LT'; 20471 } 20472 }, 20473 sameElse: 'L', 20474 }, 20475 relativeTime: { 20476 future: 'Äez %s', 20477 past: 'pred %s', 20478 s: processRelativeTime, 20479 ss: processRelativeTime, 20480 m: processRelativeTime, 20481 mm: processRelativeTime, 20482 h: processRelativeTime, 20483 hh: processRelativeTime, 20484 d: processRelativeTime, 20485 dd: processRelativeTime, 20486 M: processRelativeTime, 20487 MM: processRelativeTime, 20488 y: processRelativeTime, 20489 yy: processRelativeTime, 20490 }, 20491 dayOfMonthOrdinalParse: /\d{1,2}\./, 20492 ordinal: '%d.', 20493 week: { 20494 dow: 1, // Monday is the first day of the week. 20495 doy: 7, // The week that contains Jan 7th is the first week of the year. 20496 }, 20497 }); 20498 20499 return sl; 20500 20501 }))); 20502 20503 20504/***/ }), 20505/* 130 */ 20506/***/ (function(module, exports, __webpack_require__) { 20507 20508 //! moment.js locale configura
20508tion 20509 //! locale : Albanian [sq] 20510 //! author : Flakërim Ismani : https://github.com/flakerimi 20511 //! author : Menelion Elensúle : https://github.com/Oire 20512 //! author : Oerd Cukalla : https://github.com/oerd 20513 20514 ;(function (global, factory) { 20515 true ? factory(__webpack_require__(1)) : 20516 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 20517 factory(global.moment) 20518 }(this, (function (moment) { 'use strict'; 20519 20520 //! moment.js locale configuration 20521 20522 var sq = moment.defineLocale('sq', { 20523 months: 'Janar_Shkurt_Mars_Prill_Maj_Qershor_Korrik_Gusht_Shtator_Tetor_Nëntor_Dhjetor'.split( 20524 '_' 20525 ), 20526 monthsShort: 'Jan_Shk_Mar_Pri_Maj_Qer_Kor_Gus_Sht_Tet_Nën_Dhj'.split('_'), 20527 weekdays: 'E Diel_E Hënë_E Martë_E Mërkurë_E Enjte_E Premte_E Shtunë'.split( 20528 '_' 20529 ), 20530 weekdaysShort: 'Die_Hën_Mar_Mër_Enj_Pre_Sht'.split('_'), 20531 weekdaysMin: 'D_H_Ma_Më_E_P_Sh'.split('_'), 20532 weekdaysParseExact: true, 20533 meridiemParse: /PD|MD/, 20534 isPM: function (input) { 20535 return input.charAt(0) === 'M'; 20536 }, 20537 meridiem: function (hours, minutes, isLower) { 20538 return hours < 12 ? 'PD' : 'MD'; 20539 }, 20540 longDateFormat: { 20541 LT: 'HH:mm', 20542 LTS: 'HH:mm:ss', 20543 L: 'DD/MM/YYYY', 20544 LL: 'D MMMM YYYY', 20545 LLL: 'D MMMM YYYY HH:mm', 20546 LLLL: 'dddd, D MMMM YYYY HH:mm', 20547 }, 20548 calendar: { 20549 sameDay: '[Sot në] LT', 20550 nextDay: '[Nesër në] LT', 20551 nextWeek: 'dddd [në] LT', 20552 lastDay: '[Dje në] LT', 20553 lastWeek: 'dddd [e kaluar në] LT', 20554 sameElse: 'L', 20555 }, 20556 relativeTime: { 20557 future: 'në %s', 20558 past: '%s më parë', 20559 s: 'disa sekonda', 20560 ss: '%d sekonda', 20561 m: 'një minutë', 20562 mm: '%d minuta', 20563 h: 'një orë', 20564 hh: '%d orë', 20565 d: 'një ditë', 20566 dd: '%d ditë', 20567 M: 'një muaj', 20568 MM: '%d muaj', 20569 y: 'një vit', 20570 yy: '%d vite', 20571 }, 20572 dayOfMonthOrdinalParse: /\d{1,2}\./, 20573 ordinal: '%d.', 20574 week: { 20575 dow: 1, // Monday is the first day of the week. 20576 doy: 4, // The week that contains Jan 4th is the first week of the year. 20577 }, 20578 }); 20579 20580 return sq; 20581 20582 }))); 20583 20584 20585/***/ }), 20586/* 131 */ 20587/***/ (function(module, exports, __webpack_require__) { 20588 20589 //! moment.js locale configuration 20590 //! locale : Serbian Cyrillic [sr-cyrl] 20591 //! author : Milan JanaÄkoviÄ<[email protected]> : https://github.com/milan-j 20592 20593 ;(function (global, factory) { 20594 true ? factory(__webpack_require__(1)) : 20595 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 20596 factory(global.moment) 20597 }(this, (function (moment) { 'use strict'; 20598 20599 //! moment.js locale configuration 20600 20601 var translator = { 20602 words: { 20603 //Different grammatical cases 20604 ss: ['ÑекÑнда', 'ÑекÑнде', 'ÑекÑнди'], 20605 m: ['Ñедан минÑÑ', 'Ñедне минÑÑе'], 20606 mm: ['минÑÑ', 'минÑÑе', 'минÑÑа'], 20607 h: ['Ñедан ÑаÑ', 'Ñедног ÑаÑа'], 20608 hh: ['ÑаÑ', 'ÑаÑа', 'ÑаÑи'], 20609 dd: ['дан', 'дана', 'дана'], 20610 MM: ['меÑеÑ', 'меÑеÑа', 'меÑеÑи'], 20611 yy: ['година', 'године', 'година'], 20612 }, 20613 correctGrammaticalCase: function (number, wordKey) { 20614 return number === 1 20615 ? wordKey[0] 20616 : number >= 2 && number <= 4 20617 ? wordKey[1] 20618 : wordKey[2]; 20619 }, 20620 translate: function (number, withoutSuffix, key) { 20621 var wordKey = translator.words[key]; 20622 if (key.length === 1) { 20623 return withoutSuffix ? wordKey[0] : wordKey[1]; 20624 } else { 20625 return ( 20626 number + 20627 ' ' + 20628 translator.correctGrammaticalCase(number, wordKey) 20629 ); 20630 } 20631 }, 20632 }; 20633 20634 var srCyrl = moment.defineLocale('sr-cyrl', { 20635 months: 'ÑанÑаÑ_ÑебÑÑаÑ_маÑÑ_апÑил_маÑ_ÑÑн_ÑÑл_авгÑÑÑ_ÑепÑембаÑ_ок
20635ÑобаÑ_новембаÑ_деÑембаÑ'.split( 20636 '_' 20637 ), 20638 monthsShort: 'Ñан._Ñеб._маÑ._апÑ._маÑ_ÑÑн_ÑÑл_авг._Ñеп._окÑ._нов._деÑ.'.split( 20639 '_' 20640 ), 20641 monthsParseExact: true, 20642 weekdays: 'недеÑа_понедеÑак_ÑÑоÑак_ÑÑеда_ÑеÑвÑÑак_пеÑак_ÑÑбоÑа'.split('_'), 20643 weekdaysShort: 'нед._пон._ÑÑо._ÑÑе._ÑеÑ._пеÑ._ÑÑб.'.split('_'), 20644 weekdaysMin: 'не_по_ÑÑ_ÑÑ_Ñе_пе_ÑÑ'.split('_'), 20645 weekdaysParseExact: true, 20646 longDateFormat: { 20647 LT: 'H:mm', 20648 LTS: 'H:mm:ss', 20649 L: 'DD.MM.YYYY', 20650 LL: 'D. MMMM YYYY', 20651 LLL: 'D. MMMM YYYY H:mm', 20652 LLLL: 'dddd, D. MMMM YYYY H:mm', 20653 }, 20654 calendar: { 20655 sameDay: '[Ð´Ð°Ð½Ð°Ñ Ñ] LT', 20656 nextDay: '[ÑÑÑÑа Ñ] LT', 20657 nextWeek: function () { 20658 switch (this.day()) { 20659 case 0: 20660 return '[Ñ] [недеÑÑ] [Ñ] LT'; 20661 case 3: 20662 return '[Ñ] [ÑÑедÑ] [Ñ] LT'; 20663 case 6: 20664 return '[Ñ] [ÑÑбоÑÑ] [Ñ] LT'; 20665 case 1: 20666 case 2: 20667 case 4: 20668 case 5: 20669 return '[Ñ] dddd [Ñ] LT'; 20670 } 20671 }, 20672 lastDay: '[ÑÑÑе Ñ] LT', 20673 lastWeek: function () { 20674 var lastWeekDays = [ 20675 '[пÑоÑле] [недеÑе] [Ñ] LT', 20676 '[пÑоÑлог] [понедеÑка] [Ñ] LT', 20677 '[пÑоÑлог] [ÑÑоÑка] [Ñ] LT', 20678 '[пÑоÑле] [ÑÑеде] [Ñ] LT', 20679 '[пÑоÑлог] [ÑеÑвÑÑка] [Ñ] LT', 20680 '[пÑоÑлог] [пеÑка] [Ñ] LT', 20681 '[пÑоÑле] [ÑÑбоÑе] [Ñ] LT', 20682 ]; 20683 return lastWeekDays[this.day()]; 20684 }, 20685 sameElse: 'L', 20686 }, 20687 relativeTime: { 20688 future: 'за %s', 20689 past: 'пÑе %s', 20690 s: 'неколико ÑекÑнди', 20691 ss: translator.translate, 20692 m: translator.translate, 20693 mm: translator.translate, 20694 h: translator.translate, 20695 hh: translator.translate, 20696 d: 'дан', 20697 dd: translator.translate, 20698 M: 'меÑеÑ', 20699 MM: translator.translate, 20700 y: 'годинÑ', 20701 yy: translator.translate, 20702 }, 20703 dayOfMonthOrdinalParse: /\d{1,2}\./, 20704 ordinal: '%d.', 20705 week: { 20706 dow: 1, // Monday is the first day of the week. 20707 doy: 7, // The week that contains Jan 7th is the first week of the year. 20708 }, 20709 }); 20710 20711 return srCyrl; 20712 20713 }))); 20714 20715 20716/***/ }), 20717/* 132 */ 20718/***/ (function(module, exports, __webpack_require__) { 20719 20720 //! moment.js locale configuration 20721 //! locale : Serbian [sr] 20722 //! author : Milan JanaÄkoviÄ<[email protected]> : https://github.com/milan-j 20723 20724 ;(function (global, factory) { 20725 true ? factory(__webpack_require__(1)) : 20726 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 20727 factory(global.moment) 20728 }(this, (function (moment) { 'use strict'; 20729 20730 //! moment.js locale configuration 20731 20732 var translator = { 20733 words: { 20734 //Different grammatical cases 20735 ss: ['sekunda', 'sekunde', 'sekundi'], 20736 m: ['jedan minut', 'jedne minute'], 20737 mm: ['minut', 'minute', 'minuta'], 20738 h: ['jedan sat', 'jednog sata'], 20739 hh: ['sat', 'sata', 'sati'], 20740 dd: ['dan', 'dana', 'dana'], 20741 MM: ['mesec', 'meseca', 'meseci'], 20742 yy: ['godina', 'godine', 'godina'], 20743 }, 20744 correctGrammaticalCase: function (number, wordKey) { 20745 return number === 1 20746 ? wordKey[0] 20747 : number >= 2 && number <= 4 20748 ? wordKey[1] 20749 : wordKey[2]; 20750 }, 20751 translate: function (number, withoutSuffix, key) { 20752 var wordKey = translator.words[key]; 20753 if (key.length === 1) { 20754 return withoutSuffix ? wordKey[0] : wordKey[1]; 20755 } else { 20756 return ( 20757 number + 20758 ' ' + 20759 translator.correctGrammaticalCase(number, wordKey) 20760 ); 20761 } 20762 }, 20763 }; 20764 20765 var sr = moment.defineLocale('sr', { 20766 months: 'januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar'.split( 20767 '_' 20768 ), 20769 monthsShort: 'jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.'.split( 20770 '_' 20771 ), 20772 monthsParseExact: true, 20773 weekdays: 'nedelja_ponedeljak_utorak_sreda_Äetvrtak_petak_subota'.split( 20774 '_' 20775 ), 20776 weekdaysShort: 'ned._pon._uto._sre._Äet._pet._sub.'.split('_'), 20777 weekdaysMin: 'ne_po_ut_sr_Äe_pe_su'.split('_'), 20778 weekdaysParseExact: true, 20779 longDateFormat: { 20780 LT: 'H:mm', 20781 LTS: 'H:mm:ss', 20782 L: 'DD.MM.YYYY', 20783 LL: 'D. MMMM YYYY', 20784 LLL: 'D. MMMM YYYY H:mm', 20785 LLLL: 'dddd, D. MMMM YYYY H:mm', 20786 }, 20787 calendar: { 20788 sameDay: '[danas u] LT', 20789 nextDay: '[sutra u] LT', 20790 nextWeek: function () { 20791 switch (this.day()) { 20792 case 0: 20793 return '[u] [nedelju] [u] LT'; 20794 case 3: 20795 return '[u] [sredu] [u] LT'; 20796 case 6: 20797 return '[u] [subotu] [u] LT'; 20798 case 1: 20799 case 2: 20800 case 4: 20801 case 5: 20802 return '[u] dddd [u] LT'; 20803 } 20804 }, 20805 lastDay: '[juÄe u] LT', 20806 lastWeek: function () { 20807 var lastWeekDays = [ 20808 '[proÅ¡le] [nedelje] [u] LT', 20809 '[proÅ¡log] [ponedeljka] [u] LT', 20810 '[proÅ¡log] [utorka] [u] LT', 20811 '[proÅ¡le] [srede] [u] LT', 20812 '[proÅ¡log] [Äetvrtka] [u] LT', 20813 '[proÅ¡log] [petka] [u] LT', 20814 '[proÅ¡le] [subote] [u] LT', 20815 ]; 20816 return lastWeekDays[this.day()]; 20817 }, 20818 sameElse: 'L', 20819 }, 20820 relativeTime: { 20821 future: 'za %s', 20822 past: 'pre %s', 20823 s: 'nekoliko sekundi', 20824 ss: translator.translate, 20825 m: translator.translate, 20826 mm: translator.translate, 20827 h: translator.translate, 20828 hh: translator.translate, 20829 d: 'dan', 20830 dd: translator.translate, 20831 M: 'mesec', 20832 MM: translator.translate, 20833 y: 'godinu', 20834 yy: translator.translate, 20835 }, 20836 dayOfMonthOrdinalParse: /\d{1,2}\./, 20837 ordinal: '%d.', 20838 week: { 20839 dow: 1, // Monday is the first day of the week. 20840 doy: 7, // The week that contains Jan 7th is the first week of the year. 20841 }, 20842 }); 20843 20844 return sr; 20845 20846 }))); 20847 20848 20849/***/ }), 20850/* 133 */ 20851/***/ (function(module, exports, __webpack_require__) { 20852 20853 //! moment.js locale configuration 20854 //! locale : siSwati [ss] 20855 //! author : Nicolai Davies<[email protected]> : https://github.com/nicolaidavies 20856 20857 ;(function (global, factory) { 20858 true ? factory(__webpack_require__(1)) : 20859 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 20860 factory(global.moment) 20861 }(this, (function (moment) { 'use strict'; 20862 20863 //! moment.js locale configuration 20864 20865 var ss = moment.defineLocale('ss', {
20866 months: "Bhimbidvwane_Indlovana_Indlov'lenkhulu_Mabasa_Inkhwekhweti_Inhlaba_Kholwane_Ingci_Inyoni_Imphala_Lweti_Ingongoni".split( 20867 '_' 20868 ), 20869 monthsShort: 'Bhi_Ina_Inu_Mab_Ink_Inh_Kho_Igc_Iny_Imp_Lwe_Igo'.split('_'), 20870 weekdays: 'Lisontfo_Umsombuluko_Lesibili_Lesitsatfu_Lesine_Lesihlanu_Umgcibelo'.split( 20871 '_' 20872 ), 20873 weekdaysShort: 'Lis_Umb_Lsb_Les_Lsi_Lsh_Umg'.split('_'), 20874 weekdaysMin: 'Li_Us_Lb_Lt_Ls_Lh_Ug'.split('_'), 20875 weekdaysParseExact: true, 20876 longDateFormat: { 20877 LT: 'h:mm A', 20878 LTS: 'h:mm:ss A', 20879 L: 'DD/MM/YYYY', 20880 LL: 'D MMMM YYYY', 20881 LLL: 'D MMMM YYYY h:mm A', 20882 LLLL: 'dddd, D MMMM YYYY h:mm A', 20883 }, 20884 calendar: { 20885 sameDay: '[Namuhla nga] LT', 20886 nextDay: '[Kusasa nga] LT', 20887 nextWeek: 'dddd [nga] LT', 20888 lastDay: '[Itolo nga] LT', 20889 lastWeek: 'dddd [leliphelile] [nga] LT', 20890 sameElse: 'L', 20891 }, 20892 relativeTime: { 20893 future: 'nga %s', 20894 past: 'wenteka nga %s', 20895 s: 'emizuzwana lomcane', 20896 ss: '%d mzuzwana', 20897 m: 'umzuzu', 20898 mm: '%d emizuzu', 20899 h: 'lihora', 20900 hh: '%d emahora', 20901 d: 'lilanga', 20902 dd: '%d emalanga', 20903 M: 'inyanga', 20904 MM: '%d tinyanga', 20905 y: 'umnyaka', 20906 yy: '%d iminyaka', 20907 }, 20908 meridiemParse: /ekuseni|emini|entsambama|ebusuku/, 20909 meridiem: function (hours, minutes, isLower) { 20910 if (hours < 11) { 20911 return 'ekuseni'; 20912 } else if (hours < 15) { 20913 return 'emini'; 20914 } else if (hours < 19) { 20915 return 'entsambama'; 20916 } else { 20917 return 'ebusuku'; 20918 } 20919 }, 20920 meridiemHour: function (hour, meridiem) { 20921 if (hour === 12) { 20922 hour = 0; 20923 } 20924 if (meridiem === 'ekuseni') { 20925 return hour; 20926 } else if (meridiem === 'emini') { 20927 return hour >= 11 ? hour : hour + 12; 20928 } else if (meridiem === 'entsambama' || meridiem === 'ebusuku') { 20929 if (hour === 0) { 20930 return 0; 20931 } 20932 return hour + 12; 20933 } 20934 }, 20935 dayOfMonthOrdinalParse: /\d{1,2}/, 20936 ordinal: '%d', 20937 week: { 20938 dow: 1, // Monday is the first day of the week. 20939 doy: 4, // The week that contains Jan 4th is the first week of the year. 20940 }, 20941 }); 20942 20943 return ss; 20944 20945 }))); 20946 20947 20948/***/ }), 20949/* 134 */ 20950/***/ (function(module, exports, __webpack_require__) { 20951 20952 //! moment.js locale configuration 20953 //! locale : Swedish [sv] 20954 //! author : Jens Alm : https://github.com/ulmus 20955 20956 ;(function (global, factory) { 20957 true ? factory(__webpack_require__(1)) : 20958 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 20959 factory(global.moment) 20960 }(this, (function (moment) { 'use strict'; 20961 20962 //! moment.js locale configuration 20963 20964 var sv = moment.defineLocale('sv', { 20965 months: 'januari_februari_mars_april_maj_juni_juli_augusti_september_oktober_november_december'.split( 20966 '_' 20967 ), 20968 monthsShort: 'jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec'.split('_'), 20969 weekdays: 'söndag_mÃ¥ndag_tisdag_onsdag_torsdag_fredag_lördag'.split('_'), 20970 weekdaysShort: 'sön_mÃ¥n_tis_ons_tor_fre_lör'.split('_'), 20971 weekdaysMin: 'sö_mÃ¥_ti_on_to_fr_lö'.split('_'), 20972 longDateFormat: { 20973 LT: 'HH:mm', 20974 LTS: 'HH:mm:ss', 20975 L: 'YYYY-MM-DD', 20976 LL: 'D MMMM YYYY', 20977 LLL: 'D MMMM YYYY [kl.] HH:mm', 20978 LLLL: 'dddd D MMMM YYYY [kl.] HH:mm', 20979 lll: 'D MMM YYYY HH:mm', 20980 llll: 'ddd D MMM YYYY HH:mm', 20981 }, 20982 calendar: { 20983 sameDay: '[Idag] LT', 20984 nextDay: '[Imorgon] LT', 20985 lastDay: '[IgÃ¥r] LT', 20986 nextWeek: '[PÃ¥] dddd LT', 20987 lastWeek: '[I] dddd[s] LT', 20988 sameElse: 'L', 20989 }, 20990 relativeTime: { 20991 future: 'om %s', 20992 past: 'för %s sedan', 20993 s: 'nÃ¥gra sekunder', 20994 ss: '%d sekunder', 20995 m: 'en minut', 20996 mm: '%d minuter', 20997 h: 'en timme', 20998 hh: '%d timmar', 20999 d: 'en dag', 21000 dd: '%d dagar', 21001 M: 'en mÃ¥nad', 21002 MM: '%d mÃ¥nader', 21003 y: 'ett Ã¥r', 21004 yy: '%d Ã¥r', 21005 }, 21006 dayOfMonthOrdinalParse: /\d{1,2}(\:e|\:a)/, 21007 ordinal: function (number) { 21008 var b = number % 10, 21009 output = 21010 ~~((number % 100) / 10) === 1 21011 ? ':e' 21012 : b === 1 21013 ? ':a' 21014 : b === 2 21015 ? ':a' 21016 : b === 3 21017 ? ':e' 21018 : ':e'; 21019 return number + output; 21020 }, 21021 week: { 21022 dow: 1, // Monday is the first day of the week. 21023 doy: 4, // The week that contains Jan 4th is the first week of the year. 21024 }, 21025 }); 21026 21027 return sv; 21028 21029 }))); 21030 21031 21032/***/ }), 21033/* 135 */ 21034/***/ (function(module, exports, __webpack_require__) { 21035 21036 //! moment.js locale configuration 21037 //! locale : Swahili [sw] 21038 //! author : Fahad Kassim : https://github.com/fadsel 21039 21040 ;(function (global, factory) { 21041 true ? factory(__webpack_require__(1)) : 21042 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 21043 factory(global.moment) 21044 }(this, (function (moment) { 'use strict'; 21045 21046 //! moment.js locale configuration 21047 21048 var sw = moment.defineLocale('sw', { 21049 months: 'Januari_Februari_Machi_Aprili_Mei_Juni_Julai_Agosti_Septemba_Oktoba_Novemba_Desemba'.split( 21050 '_' 21051 ), 21052 monthsShort: 'Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ago_Sep_Okt_Nov_Des'.split('_'), 21053 weekdays: 'Jumapili_Jumatatu_Jumanne_Jumatano_Alhamisi_Ijumaa_Jumamosi'.split( 21054 '_' 21055 ), 21056 weekdaysShort: 'Jpl_Jtat_Jnne_Jtan_Alh_Ijm_Jmos'.split('_'), 21057 weekdaysMin: 'J2_J3_J4_J5_Al_Ij_J1'.split('_'), 21058 weekdaysParseExact: true, 21059 longDateFormat: { 21060 LT: 'HH:mm', 21061 LTS: 'HH:mm:ss', 21062 L: 'DD.MM.YYYY', 21063 LL: 'D MMMM YYYY', 21064 LLL: 'D MMMM YYYY HH:mm', 21065 LLLL: 'dddd, D MMMM YYYY HH:mm', 21066 }, 21067 calendar: { 21068 sameDay: '[leo saa] LT', 21069 nextDay: '[kesho saa] LT', 21070 nextWeek: '[wiki ijayo] dddd [saat] LT', 21071 lastDay: '[jana] LT', 21072 lastWeek: '[wiki iliyopita] dddd [saat] LT', 21073 sameElse: 'L', 21074 }, 21075 relativeTime: { 21076 future: '%s baadaye', 21077 past: 'tokea %s', 21078 s: 'hivi punde', 21079 ss: 'sekunde %d', 21080 m: 'dakika moja', 21081 mm: 'dakika %d', 21082 h: 'saa limoja', 21083 hh: 'masaa %d', 21084 d: 'siku moja', 21085 dd: 'siku %d', 21086 M: 'mwezi mmoja', 21087 MM: 'miezi %d', 21088 y: 'mwaka mmoja', 21089 yy: 'miaka %d', 21090 }, 21091 week: { 21092 dow: 1, // Monday is the first day of the week. 21093 doy: 7, // The week that contains Jan 7th is the first week of the year. 21094 }, 21095 }); 21096 21097 return sw; 21098 21099 }))); 21100 21101 21102/***/ }), 21103/* 136 */ 21104/***/ (function(module, exports, __webpack_require__) { 21105 21106 //! moment.js locale configuration 21107 //! locale : Tamil [ta] 21108 //! author : Arjunkumar Krishnamoorthy : https://github.com/tk120404 21109 21110 ;(function (global, factory) { 21111 true ? factory(__webpack_require__(1)) : 21112 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 21113 factory(global.moment) 21114 }(this, (function (moment) { 'use strict'; 21115 21116 //! moment.js locale configuration 21117 21118 var symbolMap = { 21119 '1': '௧', 21120 '2': '௨', 21121 '3': '௩', 21122 '4': '௪', 21123 '5': '௫', 21124 '6': '௬', 21125 '7': 'à¯', 21126 '8': '௮', 21127 '9': '௯', 21128 '0': '௦', 21129 }, 21130 numberMap = { 21131 '௧': '1', 21132 '௨': '2', 21133 '௩': '3', 21134 '௪': '4', 21135 '௫': '5', 21136 '௬': '6', 21137 'à¯': '7', 21138 '௮': '8', 21139 '௯': '9', 21140 '௦': '0', 21141 }; 21142 21143 var ta = moment.defineLocale('ta', { 21144 months: 'à®à®©à®µà®°à®¿_பிபà¯à®°à®µà®°à®¿_மாரà¯à®à¯_à®à®ªà¯à®°à®²à¯_à®®à¯_à®à¯à®©à¯_à®à¯à®²à¯_à®à®à®¸à¯à®à¯_à®à¯à®ªà¯à®à¯à®®à¯à®ª
21144à®°à¯_à® à®à¯à®à¯à®¾à®ªà®°à¯_நவமà¯à®ªà®°à¯_à®à®¿à®à®®à¯à®ªà®°à¯'.split( 21145 '_' 21146 ), 21147 monthsShort: 'à®à®©à®µà®°à®¿_பிபà¯à®°à®µà®°à®¿_மாரà¯à®à¯_à®à®ªà¯à®°à®²à¯_à®®à¯_à®à¯à®©à¯_à®à¯à®²à¯_à®à®à®¸à¯à®à¯_à®à¯à®ªà¯à®à¯à®®à¯à®ªà®°à¯_à® à®à¯à®à¯à®¾à®ªà®°à¯_நவமà¯à®ªà®°à¯_à®à®¿à®à®®à¯à®ªà®°à¯'.split( 21148 '_' 21149 ), 21150 weekdays: 'à®à®¾à®¯à®¿à®±à¯à®±à¯à®à¯à®à®¿à®´à®®à¯_திà®à¯à®à®à¯à®à®¿à®´à®®à¯_à®à¯à®µà¯à®µà®¾à®¯à¯à®à®¿à®´à®®à¯_பà¯à®¤à®©à¯à®à®¿à®´à®®à¯_வியாழà®à¯à®à®¿à®´à®®à¯_வà¯à®³à¯à®³à®¿à®à¯à®à®¿à®´à®®à¯_à®à®©à®¿à®à¯à®à®¿à®´à®®à¯'.split( 21151 '_' 21152 ), 21153 weekdaysShort: 'à®à®¾à®¯à®¿à®±à¯_திà®à¯à®à®³à¯_à®à¯à®µà¯à®µà®¾à®¯à¯_பà¯à®¤à®©à¯_வியாழனà¯_வà¯à®³à¯à®³à®¿_à®à®©à®¿'.split( 21154 '_' 21155 ), 21156 weekdaysMin: 'à®à®¾_தி_à®à¯_பà¯_வி_வà¯_à®'.split('_'), 21157 longDateFormat: { 21158 LT: 'HH:mm', 21159 LTS: 'HH:mm:ss', 21160 L: 'DD/MM/YYYY', 21161 LL: 'D MMMM YYYY', 21162 LLL: 'D MMMM YYYY, HH:mm', 21163 LLLL: 'dddd, D MMMM YYYY, HH:mm', 21164 }, 21165 calendar: { 21166 sameDay: '[à®à®©à¯à®±à¯] LT', 21167 nextDay: '[நாளà¯] LT', 21168 nextWeek: 'dddd, LT', 21169 lastDay: '[நà¯à®±à¯à®±à¯] LT', 21170 lastWeek: '[à®à®à®¨à¯à®¤ வாரமà¯] dddd, LT', 21171 sameElse: 'L', 21172 }, 21173 relativeTime: { 21174 future: '%s à®à®²à¯', 21175 past: '%s à®®à¯à®©à¯', 21176 s: 'à®à®°à¯ à®à®¿à®² விநாà®à®¿à®à®³à¯', 21177 ss: '%d விநாà®à®¿à®à®³à¯', 21178 m: 'à®à®°à¯ நிமிà®à®®à¯', 21179 mm: '%d நிமிà®à®à¯à®à®³à¯', 21180 h: 'à®à®°à¯ மணி நà¯à®°à®®à¯', 21181 hh: '%d மணி நà¯à®°à®®à¯', 21182 d: 'à®à®°à¯ நாளà¯', 21183 dd: '%d நாà®à¯à®à®³à¯', 21184 M: 'à®à®°à¯ மாதமà¯', 21185 MM: '%d மாதà®à¯à®à®³à¯', 21186 y: 'à®à®°à¯ வரà¯à®à®®à¯', 21187 yy: '%d à®à®£à¯à®à¯à®à®³à¯', 21188 }, 21189 dayOfMonthOrdinalParse: /\d{1,2}வதà¯/, 21190 ordinal: function (number) { 21191 return number + 'வதà¯'; 21192 }, 21193 preparse: function (string) { 21194 return string.replace(/[௧௨௩௪௫௬à¯à¯®à¯¯à¯¦]/g, function (match) { 21195 return numberMap[match]; 21196 }); 21197 }, 21198 postformat: function (string) { 21199 return string.replace(/\d/g, function (match) { 21200 return symbolMap[match]; 21201 }); 21202 }, 21203 // refer http://ta.wikipedia.org/s/1er1 21204 meridiemParse: /யாமமà¯|வà¯à®à®±à¯|à®à®¾à®²à¯|நணà¯à®ªà®à®²à¯|à®à®±à¯à®ªà®¾à®à¯|மாலà¯/, 21205 meridiem: function (hour, minute, isLower) { 21206 if (hour < 2) { 21207 return ' யாமமà¯'; 21208 } else if (hour < 6) { 21209 return ' வà¯à®à®±à¯'; // வà¯à®à®±à¯ 21210 } else if (hour < 10) { 21211 return ' à®à®¾à®²à¯'; // à®à®¾à®²à¯ 21212 } else if (hour < 14) { 21213 return ' நணà¯à®ªà®à®²à¯'; // நணà¯à®ªà®à®²à¯ 21214 } else if (hour < 18) { 21215 return ' à®à®±à¯à®ªà®¾à®à¯'; // à®à®±à¯à®ªà®¾à®à¯ 21216 } else if (hour < 22) { 21217 return ' மாலà¯'; // மால௠21218 } else { 21219 return ' யாமமà¯'; 21220 } 21221 }, 21222 meridiemHour: function (hour, meridiem) { 21223 if (hour === 12) { 21224 hour = 0; 21225 } 21226 if (meridiem === 'யாமமà¯') { 21227 return hour < 2 ? hour : hour + 12; 21228 } else if (meridiem === 'வà¯à®à®±à¯' || meridiem === 'à®à®¾à®²à¯') { 21229 return hour; 21230 } else if (meridiem === 'நணà¯à®ªà®à®²à¯') { 21231 return hour >= 10 ? hour : hour + 12; 21232 } else { 21233 return hour + 12; 21234 } 21235 }, 21236 week: { 21237 dow: 0, // Sunday is the first day of the week. 21238 doy: 6, // The week that contains Jan 6th is the first week of the year. 21239 }, 21240 }); 21241 21242 return ta; 21243 21244 }))); 21245 21246 21247/***/ }), 21248/* 137 */ 21249/***/ (function(module, exports, __webpack_require__) { 21250 21251 //! moment.js locale configuration 21252 //! locale : Telugu [te] 21253 //! author : Krishna Chaitanya Thota : https://github.com/kcthota 21254 21255 ;(function (global, factory) { 21256 true ? factory(__webpack_require__(1)) : 21257 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 21258 factory(global.moment) 21259 }(this, (function (moment) { 'use strict'; 21260 21261 //! moment.js locale configuration 21262 21263 var te = moment.defineLocale('te', { 21264 months: 'à°à°¨à°µà°°à°¿_à°«à°¿à°¬à±à°°à°µà°°à°¿_మారà±à°à°¿_à°à°ªà±à°°à°¿à°²à±_à°®à±_à°à±à°¨à±_à°à±à°²à±_à°à°à°¸à±à°à±_à°¸à±à°ªà±à°à±à°à°¬à°°à±_à° à°à±à°à±à°¬à°°à±_నవà°à°¬à°°à±_à°¡à°¿à°¸à±à°à°¬à°°à±'.split( 21265 '_' 21266 ), 21267 monthsShort: 'à°à°¨._à°«à°¿à°¬à±à°°._మారà±à°à°¿_à°à°ªà±à°°à°¿._à°®à±_à°à±à°¨à±_à°à±à°²à±_à°à°._à°¸à±à°ªà±._à° à°à±à°à±._నవ._à°¡à°¿à°¸à±.'.split( 21268 '_' 21269 ), 21270 monthsParseExact: true, 21271 weekdays: 'à°à°¦à°¿à°µà°¾à°°à°_à°¸à±à°®à°µà°¾à°°à°_à°®à°à°à°³à°µà°¾à°°à°_à°¬à±à°§à°µà°¾à°°à°_à°à±à°°à±à°µà°¾à°°à°_à°¶à±à°à±à°°à°µà°¾à°°à°_శనివారà°'.split( 21272 '_' 21273 ), 21274 weekdaysShort: 'à°à°¦à°¿_à°¸à±à°®_à°®à°à°à°³_à°¬à±à°§_à°à±à°°à±_à°¶à±à°à±à°°_శని'.split('_'), 21275 weekdaysMin: 'à°_à°¸à±_à°®à°_à°¬à±_à°à±_à°¶à±_à°¶'.split('_'), 21276 longDateFormat: { 21277 LT: 'A h:mm', 21278 LTS: 'A h:mm:ss', 21279 L: 'DD/MM/YYYY', 21280 LL: 'D MMMM YYYY', 21281 LLL: 'D MMMM YYYY, A h:mm', 21282 LLLL: 'dddd, D MMMM YYYY, A h:mm', 21283 }, 21284 calendar: { 21285 sameDay: '[à°¨à±à°¡à±] LT', 21286 nextDay: '[à°°à±à°ªà±] LT', 21287 nextWeek: 'dddd, LT', 21288 lastDay: '[నినà±à°¨] LT', 21289 lastWeek: '[à°à°¤] dddd, LT', 21290 sameElse: 'L', 21291 }, 21292 relativeTime: { 21293 future: '%s à°²à±', 21294 past: '%s à°à±à°°à°¿à°¤à°', 21295 s: 'à°à±à°¨à±à°¨à°¿ à°à±à°·à°£à°¾à°²à±', 21296 ss: '%d à°¸à±à°à°¨à±à°²à±', 21297 m: 'à°à° నిమిషà°', 21298 mm: '%d నిమిషాలà±', 21299 h: 'à°à° à°à°à°', 21300 hh: '%d à°à°à°à°²à±', 21301 d: 'à°à° à°°à±à°à±', 21302 dd: '%d à°°à±à°à±à°²à±', 21303 M: 'à°à° à°¨à±à°²', 21304 MM: '%d à°¨à±à°²à°²à±', 21305 y: 'à°à° à°¸à°à°µà°¤à±à°¸à°°à°', 21306 yy: '%d à°¸à°à°µà°¤à±à°¸à°°à°¾à°²à±', 21307 }, 21308 dayOfMonthOrdinalParse: /\d{1,2}à°µ/,
21309 ordinal: '%dà°µ', 21310 meridiemParse: /రాతà±à°°à°¿|à°à°¦à°¯à°|మధà±à°¯à°¾à°¹à±à°¨à°|సాయà°à°¤à±à°°à°/, 21311 meridiemHour: function (hour, meridiem) { 21312 if (hour === 12) { 21313 hour = 0; 21314 } 21315 if (meridiem === 'రాతà±à°°à°¿') { 21316 return hour < 4 ? hour : hour + 12; 21317 } else if (meridiem === 'à°à°¦à°¯à°') { 21318 return hour; 21319 } else if (meridiem === 'మధà±à°¯à°¾à°¹à±à°¨à°') { 21320 return hour >= 10 ? hour : hour + 12; 21321 } else if (meridiem === 'సాయà°à°¤à±à°°à°') { 21322 return hour + 12; 21323 } 21324 }, 21325 meridiem: function (hour, minute, isLower) { 21326 if (hour < 4) { 21327 return 'రాతà±à°°à°¿'; 21328 } else if (hour < 10) { 21329 return 'à°à°¦à°¯à°'; 21330 } else if (hour < 17) { 21331 return 'మధà±à°¯à°¾à°¹à±à°¨à°'; 21332 } else if (hour < 20) { 21333 return 'సాయà°à°¤à±à°°à°'; 21334 } else { 21335 return 'రాతà±à°°à°¿'; 21336 } 21337 }, 21338 week: { 21339 dow: 0, // Sunday is the first day of the week. 21340 doy: 6, // The week that contains Jan 6th is the first week of the year. 21341 }, 21342 }); 21343 21344 return te; 21345 21346 }))); 21347 21348 21349/***/ }), 21350/* 138 */ 21351/***/ (function(module, exports, __webpack_require__) { 21352 21353 //! moment.js locale configuration 21354 //! locale : Tetun Dili (East Timor) [tet] 21355 //! author : Joshua Brooks : https://github.com/joshbrooks 21356 //! author : Onorio De J. Afonso : https://github.com/marobo 21357 //! author : Sonia Simoes : https://github.com/soniasimoes 21358 21359 ;(function (global, factory) { 21360 true ? factory(__webpack_require__(1)) : 21361 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 21362 factory(global.moment) 21363 }(this, (function (moment) { 'use strict'; 21364 21365 //! moment.js locale configuration 21366 21367 var tet = moment.defineLocale('tet', { 21368 months: 'Janeiru_Fevereiru_Marsu_Abril_Maiu_Juñu_Jullu_Agustu_Setembru_Outubru_Novembru_Dezembru'.split( 21369 '_' 21370 ), 21371 monthsShort: 'Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez'.split('_'), 21372 weekdays: 'Domingu_Segunda_Tersa_Kuarta_Kinta_Sesta_Sabadu'.split('_'), 21373 weekdaysShort: 'Dom_Seg_Ters_Kua_Kint_Sest_Sab'.split('_'), 21374 weekdaysMin: 'Do_Seg_Te_Ku_Ki_Ses_Sa'.split('_'), 21375 longDateFormat: { 21376 LT: 'HH:mm', 21377 LTS: 'HH:mm:ss', 21378 L: 'DD/MM/YYYY', 21379 LL: 'D MMMM YYYY', 21380 LLL: 'D MMMM YYYY HH:mm', 21381 LLLL: 'dddd, D MMMM YYYY HH:mm', 21382 }, 21383 calendar: { 21384 sameDay: '[Ohin iha] LT', 21385 nextDay: '[Aban iha] LT', 21386 nextWeek: 'dddd [iha] LT', 21387 lastDay: '[Horiseik iha] LT', 21388 lastWeek: 'dddd [semana kotuk] [iha] LT', 21389 sameElse: 'L', 21390 }, 21391 relativeTime: { 21392 future: 'iha %s', 21393 past: '%s liuba', 21394 s: 'segundu balun', 21395 ss: 'segundu %d', 21396 m: 'minutu ida', 21397 mm: 'minutu %d', 21398 h: 'oras ida', 21399 hh: 'oras %d', 21400 d: 'loron ida', 21401 dd: 'loron %d', 21402 M: 'fulan ida', 21403 MM: 'fulan %d', 21404 y: 'tinan ida', 21405 yy: 'tinan %d', 21406 }, 21407 dayOfMonthOrdinalParse: /\d{1,2}(st|nd|rd|th)/, 21408 ordinal: function (number) { 21409 var b = number % 10, 21410 output = 21411 ~~((number % 100) / 10) === 1 21412 ? 'th' 21413 : b === 1 21414 ? 'st' 21415 : b === 2 21416 ? 'nd' 21417 : b === 3 21418 ? 'rd' 21419 : 'th'; 21420 return number + output; 21421 }, 21422 week: { 21423 dow: 1, // Monday is the first day of the week. 21424 doy: 4, // The week that contains Jan 4th is the first week of the year. 21425 }, 21426 }); 21427 21428 return tet; 21429 21430 }))); 21431 21432 21433/***/ }), 21434/* 139 */ 21435/***/ (function(module, exports, __webpack_require__) { 21436 21437 //! moment.js locale configuration 21438 //! locale : Tajik [tg] 21439 //! author : Orif N. Jr. : https://github.com/orif-jr 21440 21441 ;(function (global, factory) { 21442 true ? factory(__webpack_require__(1)) : 21443 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 21444 factory(global.moment) 21445 }(this, (function (moment) { 'use strict'; 21446 21447 //! moment.js locale configuration 21448 21449 var suffixes = { 21450 0: '-Ñм', 21451 1: '-Ñм', 21452 2: '-Ñм', 21453 3: '-Ñм', 21454 4: '-Ñм', 21455 5: '-Ñм', 21456 6: '-Ñм', 21457 7: '-Ñм', 21458 8: '-Ñм', 21459 9: '-Ñм', 21460 10: '-Ñм', 21461 12: '-Ñм', 21462 13: '-Ñм', 21463 20: '-Ñм', 21464 30: '-Ñм', 21465 40: '-Ñм', 21466 50: '-Ñм', 21467 60: '-Ñм', 21468 70: '-Ñм', 21469 80: '-Ñм', 21470 90: '-Ñм', 21471 100: '-Ñм', 21472 }; 21473 21474 var tg = moment.defineLocale('tg', { 21475 months: 'ÑнваÑ_ÑевÑал_маÑÑ_апÑел_май_иÑн_иÑл_авгÑÑÑ_ÑенÑÑбÑ_окÑÑбÑ_ноÑбÑ_декабÑ'.split( 21476 '_' 21477 ), 21478 monthsShort: 'Ñнв_Ñев_маÑ_апÑ_май_иÑн_иÑл_авг_Ñен_окÑ_ноÑ_дек'.split('_'), 21479 weekdays: 'ÑкÑанбе_дÑÑанбе_ÑеÑанбе_ÑоÑÑанбе_панҷÑанбе_Ò·ÑмÑа_Ñанбе'.split( 21480 '_' 21481 ), 21482 weekdaysShort: 'ÑÑб_дÑб_ÑÑб_ÑÑб_пÑб_Ò·Ñм_Ñнб'.split('_'), 21483 weekdaysMin: 'ÑÑ_дÑ_ÑÑ_ÑÑ_пÑ_ҷм_Ñб'.split('_'), 21484 longDateFormat: { 21485 LT: 'HH:mm', 21486 LTS: 'HH:mm:ss', 21487 L: 'DD/MM/YYYY', 21488 LL: 'D MMMM YYYY', 21489 LLL: 'D MMMM YYYY HH:mm', 21490 LLLL: 'dddd, D MMMM YYYY HH:mm', 21491 }, 21492 calendar: { 21493 sameDay: '[ÐмÑӯз ÑоаÑи] LT', 21494 nextDay: '[Ðагоҳ ÑоаÑи] LT', 21495 lastDay: '[ÐиÑӯз ÑоаÑи] LT', 21496 nextWeek: 'dddd[и] [ҳаÑÑаи оÑнда ÑоаÑи] LT', 21497 lastWeek: 'dddd[и] [ҳаÑÑаи гÑзаÑÑа ÑоаÑи] LT', 21498 sameElse: 'L', 21499 }, 21500 relativeTime: { 21501 future: 'баÑди %s', 21502 past: '%s пеÑ', 21503 s: 'ÑкÑанд ÑониÑ', 21504 m: 'Ñк даÒиÒа', 21505 mm: '%d даÒиÒа', 21506 h: 'Ñк ÑоаÑ', 21507 hh: '%d ÑоаÑ', 21508 d: 'Ñк Ñӯз', 21509 dd: '%d Ñӯз', 21510 M: 'Ñк моҳ', 21511 MM: '%d моҳ', 21512 y: 'Ñк Ñол', 21513 yy: '%d Ñол', 21514 }, 21515 meridiemParse: /Ñаб|ÑÑбҳ|Ñӯз|бегоҳ/, 21516 meridiemHour: function (hour, meridiem) { 21517 if (hour === 12) { 21518 hour = 0; 21519 } 21520 if (meridiem === 'Ñаб') { 21521 return hour < 4 ? hour : hour + 12; 21522 } else if (meridiem === 'ÑÑбҳ') { 21523 return hour; 21524 } else if (meridiem === 'Ñӯз') { 21525 return hour >= 11 ? hour : hour + 12; 21526 } else if (meridiem === 'бегоҳ') { 21527 return hour + 12; 21528 } 21529 }, 21530 meridiem: function (hour, minute, isLower) { 21531 if (hour < 4) { 21532 return 'Ñаб'; 21533 } else if (hour < 11) { 21534 return 'ÑÑбҳ'; 21535 } else if (hour < 16) { 21536 return 'Ñӯз'; 21537 } else if (hour < 19) { 21538 return 'бегоҳ'; 21539 } else { 21540 return 'Ñаб'; 21541 } 21542 }, 21543 dayOfMonthOrdinalParse: /\d{1,2}-(Ñм|Ñм)/, 21544 ordinal: function (number) { 21545 var a = number % 10, 21546 b = number >= 100 ? 100 : null; 21547 return number + (suffixes[number] || suffixes[a] || suffixes[b]); 21548 }, 21549 week: { 21550 dow: 1, // Monday is the first day of the week. 21551 doy: 7, // The week that contains Jan 1th is the first week of the year. 21552 }, 21553 }); 21554 21555 return tg; 21556 21557 }))); 21558 21559 21560/***/ }), 21561/* 140 */ 21562/***/ (function(module, exports, __webpack_require__) { 21563 21564 //! moment.js locale configuration 21565 //! locale : Thai [th] 21566 //! author : Kridsada Thanabulpong : https://github.com/sirn 21567 21568 ;(function (global, factory) { 21569 true ? factory(__webpack_require__(1)) : 21570 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 21571 factory(global.moment) 21572 }(this, (function (moment) { 'use strict'; 21573 21574 //! moment.js locale configuration 21575 21576 var th = moment.defineLocale('th', { 21577 months: 'มà¸à¸£à¸²à¸à¸¡_à¸à¸¸à¸¡à¸ าà¸à¸±à¸à¸à¹_มีà¸à¸²à¸à¸¡_à¹à¸¡à¸©à¸²à¸¢à¸_à¸à¸¤à¸©à¸ าà¸à¸¡_มิà¸à¸¸à¸à¸²à¸¢à¸_à¸à¸£à¸à¸à¸²à¸à¸¡_สิà¸à¸«à¸²à¸à¸¡_à¸à¸±à¸à¸¢à¸²à¸¢à¸_à¸à¸¸à¸¥à¸²à¸à¸¡_à¸à¸¤à¸¨à¸à¸´à¸à¸²à¸¢à¸_à¸à¸±à¸à¸§à¸²à¸à¸¡'.split( 21578 '_' 21579 ), 21580 monthsShort: 'ม.à¸._à¸.à¸._มี.à¸._à¹à¸¡.ย._à¸.à¸._มิ.ย._à¸.à¸._ส.à¸._à¸.ย._à¸.à¸._à¸.ย._à¸.à¸.'.split( 21581 '_' 21582 ), 21583 monthsParseExact: true, 21584 weekdays: 'à¸à¸²à¸à¸´à¸à¸¢à¹_à¸à¸±à¸à¸à¸£à¹_à¸à¸±à¸à¸à¸²à¸£_à¸à¸¸à¸_à¸à¸¤à¸«à¸±à¸ªà¸à¸à¸µ_ศุà¸à¸£à¹_à¹à¸ªà¸²à¸£à¹'.
21584split('_'), 21585 weekdaysShort: 'à¸à¸²à¸à¸´à¸à¸¢à¹_à¸à¸±à¸à¸à¸£à¹_à¸à¸±à¸à¸à¸²à¸£_à¸à¸¸à¸_à¸à¸¤à¸«à¸±à¸ª_ศุà¸à¸£à¹_à¹à¸ªà¸²à¸£à¹'.split('_'), // yes, three characters difference 21586 weekdaysMin: 'à¸à¸²._à¸._à¸._à¸._à¸à¸¤._ศ._ส.'.split('_'), 21587 weekdaysParseExact: true, 21588 longDateFormat: { 21589 LT: 'H:mm', 21590 LTS: 'H:mm:ss', 21591 L: 'DD/MM/YYYY', 21592 LL: 'D MMMM YYYY', 21593 LLL: 'D MMMM YYYY à¹à¸§à¸¥à¸² H:mm', 21594 LLLL: 'วัà¸ddddà¸à¸µà¹ D MMMM YYYY à¹à¸§à¸¥à¸² H:mm', 21595 }, 21596 meridiemParse: /à¸à¹à¸à¸à¹à¸à¸µà¹à¸¢à¸|หลัà¸à¹à¸à¸µà¹à¸¢à¸/, 21597 isPM: function (input) { 21598 return input === 'หลัà¸à¹à¸à¸µà¹à¸¢à¸'; 21599 }, 21600 meridiem: function (hour, minute, isLower) { 21601 if (hour < 12) { 21602 return 'à¸à¹à¸à¸à¹à¸à¸µà¹à¸¢à¸'; 21603 } else { 21604 return 'หลัà¸à¹à¸à¸µà¹à¸¢à¸'; 21605 } 21606 }, 21607 calendar: { 21608 sameDay: '[วัà¸à¸à¸µà¹ à¹à¸§à¸¥à¸²] LT', 21609 nextDay: '[à¸à¸£à¸¸à¹à¸à¸à¸µà¹ à¹à¸§à¸¥à¸²] LT', 21610 nextWeek: 'dddd[หà¸à¹à¸² à¹à¸§à¸¥à¸²] LT', 21611 lastDay: '[à¹à¸¡à¸·à¹à¸à¸§à¸²à¸à¸à¸µà¹ à¹à¸§à¸¥à¸²] LT', 21612 lastWeek: '[วัà¸]dddd[à¸à¸µà¹à¹à¸¥à¹à¸§ à¹à¸§à¸¥à¸²] LT', 21613 sameElse: 'L', 21614 }, 21615 relativeTime: { 21616 future: 'à¸à¸µà¸ %s', 21617 past: '%sà¸à¸µà¹à¹à¸¥à¹à¸§', 21618 s: 'à¹à¸¡à¹à¸à¸µà¹à¸§à¸´à¸à¸²à¸à¸µ', 21619 ss: '%d วิà¸à¸²à¸à¸µ', 21620 m: '1 à¸à¸²à¸à¸µ', 21621 mm: '%d à¸à¸²à¸à¸µ', 21622 h: '1 à¸à¸±à¹à¸§à¹à¸¡à¸', 21623 hh: '%d à¸à¸±à¹à¸§à¹à¸¡à¸', 21624 d: '1 วัà¸', 21625 dd: '%d วัà¸', 21626 M: '1 à¹à¸à¸·à¸à¸', 21627 MM: '%d à¹à¸à¸·à¸à¸', 21628 y: '1 à¸à¸µ', 21629 yy: '%d à¸à¸µ', 21630 }, 21631 }); 21632 21633 return th; 21634 21635 }))); 21636 21637 21638/***/ }), 21639/* 141 */ 21640/***/ (function(module, exports, __webpack_require__) { 21641 21642 //! moment.js locale configuration 21643 //! locale : Tagalog (Philippines) [tl-ph] 21644 //! author : Dan Hagman : https://github.com/hagmandan 21645 21646 ;(function (global, factory) { 21647 true ? factory(__webpack_require__(1)) : 21648 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 21649 factory(global.moment) 21650 }(this, (function (moment) { 'use strict'; 21651 21652 //! moment.js locale configuration 21653 21654 var tlPh = moment.defineLocale('tl-ph', { 21655 months: 'Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre'.split( 21656 '_' 21657 ), 21658 monthsShort: 'Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis'.split('_'), 21659 weekdays: 'Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado'.split( 21660 '_' 21661 ), 21662 weekdaysShort: 'Lin_Lun_Mar_Miy_Huw_Biy_Sab'.split('_'), 21663 weekdaysMin: 'Li_Lu_Ma_Mi_Hu_Bi_Sab'.split('_'), 21664 longDateFormat: { 21665 LT: 'HH:mm', 21666 LTS: 'HH:mm:ss', 21667 L: 'MM/D/YYYY', 21668 LL: 'MMMM D, YYYY', 21669 LLL: 'MMMM D, YYYY HH:mm', 21670 LLLL: 'dddd, MMMM DD, YYYY HH:mm', 21671 }, 21672 calendar: { 21673 sameDay: 'LT [ngayong araw]', 21674 nextDay: '[Bukas ng] LT', 21675 nextWeek: 'LT [sa susunod na] dddd', 21676 lastDay: 'LT [kahapon]', 21677 lastWeek: 'LT [noong nakaraang] dddd', 21678 sameElse: 'L', 21679 }, 21680 relativeTime: { 21681 future: 'sa loob ng %s', 21682 past: '%s ang nakalipas', 21683 s: 'ilang segundo', 21684 ss: '%d segundo', 21685 m: 'isang minuto', 21686 mm: '%d minuto', 21687 h: 'isang oras', 21688 hh: '%d oras', 21689 d: 'isang araw', 21690 dd: '%d araw', 21691 M: 'isang buwan', 21692 MM: '%d buwan', 21693 y: 'isang taon', 21694 yy: '%d taon', 21695 }, 21696 dayOfMonthOrdinalParse: /\d{1,2}/, 21697 ordinal: function (number) { 21698 return number; 21699 }, 21700 week: { 21701 dow: 1, // Monday is the first day of the week. 21702 doy: 4, // The week that contains Jan 4th is the first week of the year. 21703 }, 21704 }); 21705 21706 return tlPh; 21707 21708 }))); 21709 21710 21711/***/ }), 21712/* 142 */ 21713/***/ (function(module, exports, __webpack_require__) { 21714 21715 //! moment.js locale configuration 21716 //! locale : Klingon [tlh] 21717 //! author : Dominika Kruk : https://github.com/amaranthrose 21718 21719 ;(function (global, factory) { 21720 true ? factory(__webpack_require__(1)) : 21721 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 21722 factory(global.moment) 21723 }(this, (function (moment) { 'use strict'; 21724 21725 //! moment.js locale configuration 21726 21727 var numbersNouns = 'pagh_waâ_chaâ_wej_loS_vagh_jav_Soch_chorgh_Hut'.split('_'); 21728 21729 function translateFuture(output) { 21730 var time = output; 21731 time = 21732 output.indexOf('jaj') !== -1 21733 ? time.slice(0, -3) + 'leS' 21734 : output.indexOf('jar') !== -1 21735 ? time.slice(0, -3) + 'waQ' 21736 : output.indexOf('DIS') !== -1 21737 ? time.slice(0, -3) + 'nem' 21738 : time + ' pIq'; 21739 return time; 21740 } 21741 21742 function translatePast(output) { 21743 var time = output; 21744 time = 21745 output.indexOf('jaj') !== -1 21746 ? time.slice(0, -3) + 'Huâ' 21747 : output.indexOf('jar') !== -1 21748 ? time.slice(0, -3) + 'wen' 21749 : output.indexOf('DIS') !== -1 21750 ? time.slice(0, -3) + 'ben' 21751 : time + ' ret'; 21752 return time; 21753 } 21754 21755 function translate(number, withoutSuffix, string, isFuture) { 21756 var numberNoun = numberAsNoun(number); 21757 switch (string) { 21758 case 'ss': 21759 return numberNoun + ' lup'; 21760 case 'mm': 21761 return numberNoun + ' tup'; 21762 case 'hh': 21763 return numberNoun + ' rep'; 21764 case 'dd': 21765 return numberNoun + ' jaj'; 21766 case 'MM': 21767 return numberNoun + ' jar'; 21768 case 'yy': 21769 return numberNoun + ' DIS'; 21770 } 21771 } 21772 21773 function numberAsNoun(number) { 21774 var hundred = Math.floor((number % 1000) / 100), 21775 ten = Math.floor((number % 100) / 10), 21776 one = number % 10, 21777 word = ''; 21778 if (hundred > 0) { 21779 word += numbersNouns[hundred] + 'vatlh'; 21780 } 21781 if (ten > 0) { 21782 word += (word !== '' ? ' ' : '') + numbersNouns[ten] + 'maH'; 21783 } 21784 if (one > 0) { 21785 word += (word !== '' ? ' ' : '') + numbersNouns[one]; 21786 } 21787 return word === '' ? 'pagh' : word; 21788 } 21789 21790 var tlh = moment.defineLocale('tlh', { 21791 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( 21792 '_' 21793 ), 21794 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( 21795 '_' 21796 ), 21797 monthsParseExact: true, 21798 weekdays: 'lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj'.split( 21799 '_' 21800 ), 21801 weekdaysShort: 'lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj'.split( 21802 '_' 21803 ), 21804 weekdaysMin: 'lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj'.split( 21805 '_' 21806 ), 21807 longDateFormat: { 21808 LT: 'HH:mm', 21809 LTS: 'HH:mm:ss', 21810 L: 'DD.MM.YYYY', 21811 LL: 'D MMMM YYYY', 21812 LLL: 'D MMMM YYYY HH:mm', 21813 LLLL: 'dddd, D MMMM YYYY HH:mm', 21814 }, 21815 calendar: { 21816 sameDay: '[DaHjaj] LT', 21817 nextDay: '[waâleS] LT', 21818 nextWeek: 'LLL', 21819 lastDay: '[waâHuâ] LT', 21820 lastWeek: 'LLL', 21821 sameElse: 'L', 21822 }, 21823 relativeTime: { 21824 future: translateFuture, 21825 past: translatePast, 21826 s: 'puS lup', 21827 ss: translate, 21828 m: 'waâ tup', 21829 mm: translate, 21830 h: 'waâ rep', 21831 hh: translate, 21832 d: 'waâ jaj', 21833 dd: translate, 21834 M: 'waâ jar', 21835 MM: translate, 21836 y: 'waâ DIS', 21837 yy: translate, 21838 }, 21839 dayOfMonthOrdinalParse: /\d{1,2}\./, 21840 ordinal: '%d.', 21841 week: { 21842 dow: 1, // Monday is the first day of the week. 21843 doy: 4, // The week that contains Jan 4th is the first week of the year. 21844 }, 21845 }); 21846 21847 return tlh; 21848 21849 }))); 21850 21851 21852/***/ }), 21853/* 143 */ 21854/***/ (function(module, exports, __webpack_require__) { 21855 21856 //! moment.js locale configuration 21857 //! locale : Turkish [tr] 21858 //! authors : Erhan Gundogan : https://github.com/erhangundogan, 21859 //! Burak YiÄit Kaya: https://github.com/BYK 21860 21861 ;(function (global, factory) { 21862 true ? factory(__webpack_require__(1)) : 21863 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 21864 factory(global.moment) 21865 }(this, (function (moment) { 'use strict'; 21866 21867 //! moment.js locale configuration 21868 21869 var suffixes = { 21870 1: "'inci", 21871 5: "'inci", 21872 8: "'inci", 21873 70: "'inci", 21874 80: "'inci", 21875 2: "'nci", 21876 7: "'nci", 21877 20: "'nci", 21878 50: "'nci", 21879 3: "'üncü", 21880 4: "'üncü", 21881 100: "'üncü", 21882 6: "'ncı", 21883 9: "'uncu", 21884 10: "'uncu", 21885 30: "'uncu", 21886 60: "'ıncı", 21887 90: "'ıncı", 21888 }; 21889 21890 var tr = moment.defineLocale('tr', { 21891 months: 'Ocak_Åubat_Mart_Nisan_Mayıs_Haziran_Temmuz_AÄustos_Eylül_Ekim_Kasım_Aralık'.split( 21892 '_' 21893 ), 21894 monthsShort: 'Oca_Åub_Mar_Nis_May_Haz_Tem_AÄu_Eyl_Eki_Kas_Ara'.split('_'), 21895 weekdays: 'Pazar_Pazartesi_Salı_ÃarÅamba_PerÅembe_Cuma_Cumartesi'.split( 21896 '_' 21897 ), 21898 weekdaysShort: 'Paz_Pts_Sal_Ãar_Per_Cum_Cts'.split('_'), 21899 weekdaysMin: 'Pz_Pt_Sa_Ãa_Pe_Cu_Ct'.split('_'), 21900 meridiem: function (hours, minutes, isLower) { 21901 if (hours < 12) { 21902 return isLower ? 'öö' : 'ÃÃ'; 21903 } else { 21904 return isLower ? 'ös' : 'ÃS'; 21905 } 21906 }, 21907 meridiemParse: /öö|ÃÃ|ös|ÃS/, 21908 isPM: function (input) { 21909 return input === 'ös' || input === 'ÃS'; 21910 }, 21911 longDateFormat: { 21912 LT: 'HH:mm', 21913 LTS: 'HH:mm:ss', 21914 L: 'DD.MM.YYYY', 21915 LL: 'D MMMM YYYY', 21916 LLL: 'D MMMM YYYY HH:mm', 21917 LLLL: 'dddd, D MMMM YYYY HH:mm', 21918 }, 21919 calendar: { 21920 sameDay: '[bugün saat] LT', 21921 nextDay: '[yarın saat] LT', 21922 nextWeek: '[gelecek] dddd [saat] LT', 21923 lastDay: '[dün] LT', 21924 lastWeek: '[geçen] dddd [saat] LT', 21925 sameElse: 'L', 21926 }, 21927 relativeTime: { 21928 future: '%s sonra', 21929 past: '%s önce', 21930 s: 'birkaç saniye', 21931 ss: '%d saniye', 21932 m: 'bir dakika', 21933 mm: '%d dakika', 21934 h: 'bir saat', 21935 hh: '%d saat', 21936 d: 'bir gün', 21937 dd: '%d gün', 21938 M: 'bir ay', 21939 MM: '%d ay', 21940 y: 'bir yıl', 21941 yy: '%d yıl', 21942 }, 21943 ordinal: function (number, period) { 21944 switch (period) { 21945 case 'd': 21946 case 'D': 21947 case 'Do': 21948 case 'DD': 21949 return number; 21950 default: 21951 if (number === 0) { 21952 // special case for zero 21953 return number + "'ıncı"; 21954 } 21955 var a = number % 10, 21956 b = (number % 100) - a, 21957 c = number >= 100 ? 100 : null; 21958 return number + (suffixes[a] || suffixes[b] || suffixes[c]); 21959 } 21960 }, 21961 week: { 21962 dow: 1, // Monday is the first day of the week. 21963 doy: 7, // The week that contains Jan 7th is the first week of the year. 21964 }, 21965 }); 21966 21967 return tr; 21968 21969 }))); 21970 21971 21972/***/ }), 21973/* 144 */ 21974/***/ (function(module, exports, __webpack_require__) { 21975 21976 //! moment.js locale configuration 21977 //! locale : Talossan [tzl] 21978 //! author : Robin van der Vliet : https://github.com/robin0van0der0v 21979 //! author : Iustì Canun 21980 21981 ;(function (global, factory) { 21982 true ? factory(__webpack_require__(1)) : 21983 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 21984 factory(global.moment) 21985 }(this, (function (moment) { 'use strict'; 21986 21987 //! moment.js locale configuration 21988 21989 // After the year there should be a slash and the amount of years since December 26, 1979 in Roman numerals. 21990 // This is currently too difficult (maybe even impossible) to add. 21991 var tzl = moment.defineLocale('tzl', { 21992 months: 'Januar_Fevraglh_Març_Avrïu_Mai_Gün_Julia_Guscht_Setemvar_Listopäts_Noemvar_Zecemvar'.split( 21993 '_' 21994 ), 21995 monthsShort: 'Jan_Fev_Mar_Avr_Mai_Gün_Jul_Gus_Set_Lis_Noe_Zec'.split('_'), 21996 weekdays: 'Súladi_Lúneçi_Maitzi_Márcuri_Xhúadi_Viénerçi_Sáturi'.split('_'), 21997 weekdaysShort: 'Súl_Lún_Mai_Már_Xhú_Vié_Sát'.split('_'), 21998 weekdaysMin: 'Sú_Lú_Ma_Má_Xh_Vi_Sá'.split('_'), 21999 longDateFormat: { 22000 LT: 'HH.mm', 22001 LTS: 'HH.mm.ss', 22002 L: 'DD.MM.YYYY', 22003 LL: 'D. MMMM [dallas] YYYY', 22004 LLL: 'D. MMMM [dallas] YYYY HH.mm', 22005 LLLL: 'dddd, [li] D. MMMM [dallas] YYYY HH.mm', 22006 }, 22007 meridiemParse: /d\'o|d\'a/i, 22008 isPM: function (input) { 22009 return "d'o" === input.toLowerCase(); 22010 }, 22011 meridiem: function (hours, minutes, isLower) { 22012 if (hours > 11) { 22013 return isLower ? "d'o" : "D'O"; 22014 } else { 22015 return isLower ? "d'a" : "D'A"; 22016 } 22017 }, 22018 calendar: {
22019 sameDay: '[oxhi à ] LT', 22020 nextDay: '[demà à ] LT', 22021 nextWeek: 'dddd [à ] LT', 22022 lastDay: '[ieiri à ] LT', 22023 lastWeek: '[sür el] dddd [lasteu à ] LT', 22024 sameElse: 'L', 22025 }, 22026 relativeTime: { 22027 future: 'osprei %s', 22028 past: 'ja%s', 22029 s: processRelativeTime, 22030 ss: processRelativeTime, 22031 m: processRelativeTime, 22032 mm: processRelativeTime, 22033 h: processRelativeTime, 22034 hh: processRelativeTime, 22035 d: processRelativeTime, 22036 dd: processRelativeTime, 22037 M: processRelativeTime, 22038 MM: processRelativeTime, 22039 y: processRelativeTime, 22040 yy: processRelativeTime, 22041 }, 22042 dayOfMonthOrdinalParse: /\d{1,2}\./, 22043 ordinal: '%d.', 22044 week: { 22045 dow: 1, // Monday is the first day of the week. 22046 doy: 4, // The week that contains Jan 4th is the first week of the year. 22047 }, 22048 }); 22049 22050 function processRelativeTime(number, withoutSuffix, key, isFuture) { 22051 var format = { 22052 s: ['viensas secunds', "'iensas secunds"], 22053 ss: [number + ' secunds', '' + number + ' secunds'], 22054 m: ["'n mÃut", "'iens mÃut"], 22055 mm: [number + ' mÃuts', '' + number + ' mÃuts'], 22056 h: ["'n þora", "'iensa þora"], 22057 hh: [number + ' þoras', '' + number + ' þoras'], 22058 d: ["'n ziua", "'iensa ziua"], 22059 dd: [number + ' ziuas', '' + number + ' ziuas'], 22060 M: ["'n mes", "'iens mes"], 22061 MM: [number + ' mesen', '' + number + ' mesen'], 22062 y: ["'n ar", "'iens ar"], 22063 yy: [number + ' ars', '' + number + ' ars'], 22064 }; 22065 return isFuture 22066 ? format[key][0] 22067 : withoutSuffix 22068 ? format[key][0] 22069 : format[key][1]; 22070 } 22071 22072 return tzl; 22073 22074 }))); 22075 22076 22077/***/ }), 22078/* 145 */ 22079/***/ (function(module, exports, __webpack_require__) { 22080 22081 //! moment.js locale configuration 22082 //! locale : Central Atlas Tamazight Latin [tzm-latn] 22083 //! author : Abdel Said : https://github.com/abdelsaid 22084 22085 ;(function (global, factory) { 22086 true ? factory(__webpack_require__(1)) : 22087 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 22088 factory(global.moment) 22089 }(this, (function (moment) { 'use strict'; 22090 22091 //! moment.js locale configuration 22092 22093 var tzmLatn = moment.defineLocale('tzm-latn', {
22094 months: 'innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_É£wÅ¡t_Å¡wtanbir_ktˤwbrˤ_nwwanbir_dwjnbir'.split( 22095 '_' 22096 ), 22097 monthsShort: 'innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_É£wÅ¡t_Å¡wtanbir_ktˤwbrˤ_nwwanbir_dwjnbir'.split( 22098 '_' 22099 ), 22100 weekdays: 'asamas_aynas_asinas_akras_akwas_asimwas_asiá¸yas'.split('_'), 22101 weekdaysShort: 'asamas_aynas_asinas_akras_akwas_asimwas_asiá¸yas'.split('_'), 22102 weekdaysMin: 'asamas_aynas_asinas_akras_akwas_asimwas_asiá¸yas'.split('_'), 22103 longDateFormat: { 22104 LT: 'HH:mm', 22105 LTS: 'HH:mm:ss', 22106 L: 'DD/MM/YYYY', 22107 LL: 'D MMMM YYYY', 22108 LLL: 'D MMMM YYYY HH:mm', 22109 LLLL: 'dddd D MMMM YYYY HH:mm', 22110 }, 22111 calendar: { 22112 sameDay: '[asdkh g] LT', 22113 nextDay: '[aska g] LT', 22114 nextWeek: 'dddd [g] LT', 22115 lastDay: '[assant g] LT', 22116 lastWeek: 'dddd [g] LT', 22117 sameElse: 'L', 22118 }, 22119 relativeTime: { 22120 future: 'dadkh s yan %s', 22121 past: 'yan %s', 22122 s: 'imik', 22123 ss: '%d imik', 22124 m: 'minuá¸', 22125 mm: '%d minuá¸', 22126 h: 'saÉa', 22127 hh: '%d tassaÉin', 22128 d: 'ass', 22129 dd: '%d ossan', 22130 M: 'ayowr', 22131 MM: '%d iyyirn', 22132 y: 'asgas', 22133 yy: '%d isgasn', 22134 }, 22135 week: { 22136 dow: 6, // Saturday is the first day of the week. 22137 doy: 12, // The week that contains Jan 12th is the first week of the year. 22138 }, 22139 }); 22140 22141 return tzmLatn; 22142 22143 }))); 22144 22145 22146/***/ }), 22147/* 146 */ 22148/***/ (function(module, exports, __webpack_require__) { 22149 22150 //! moment.js locale configuration 22151 //! locale : Central Atlas Tamazight [tzm] 22152 //! author : Abdel Said : https://github.com/abdelsaid 22153 22154 ;(function (global, factory) { 22155 true ? factory(__webpack_require__(1)) : 22156 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 22157 factory(global.moment) 22158 }(this, (function (moment) { 'use strict'; 22159 22160 //! moment.js locale configuration 22161 22162 var tzm = moment.defineLocale('tzm', { 22163 months: 'âµâµâµâ´°âµ¢âµ_â´±âµâ´°âµ¢âµ_âµâ´°âµâµ_âµâ´±âµâµâµ_âµâ´°âµ¢âµ¢âµ_âµ¢âµâµâµ¢âµ_âµ¢âµâµâµ¢âµâµ£_âµâµâµâµ_âµâµâµâ´°âµâ´±âµâµ_â´½âµâµâ´±âµ_âµâµâµ¡â´°âµâ´±âµâµ_â´·âµâµâµâ´±âµâµ'.split( 22164 '_' 22165 ), 22166 monthsShort: 'âµâµâµâ´°âµ¢âµ_â´±âµâ´°âµ¢âµ_âµâ´°âµâµ_âµâ´±âµâµâµ_âµâ´°âµ¢âµ¢âµ_âµ¢âµâµâµ¢âµ_âµ¢âµâµâµ¢âµâµ£_âµâµâµâµ_âµâµâµâ´°âµâ´±âµâµ_â´½âµâµâ´±âµ_âµâµâµ¡â´°âµâ´±âµâµ_â´·âµâµâµâ´±âµâµ'.split( 22167 '_' 22168 ), 22169 weekdays: 'â´°âµâ´°âµâ´°âµ_â´°âµ¢âµâ´°âµ_â´°âµâµâµâ´°âµ_â´°â´½âµâ´°âµ_ⴰⴽⵡⴰâµ_â´°âµâµâµâµ¡â´°âµ_â´°âµâµâ´¹âµ¢â´°âµ'.split('_'), 22170 weekdaysShort: 'â´°âµâ´°âµâ´°âµ_â´°âµ¢âµâ´°âµ_â´°âµâµâµâ´°âµ_â´°â´½âµâ´°âµ_ⴰⴽⵡⴰâµ_â´°âµâµâµâµ¡â´°âµ_â´°âµâµâ´¹âµ¢â´°âµ'.split('_'), 22171 weekdaysMin: 'â´°âµâ´°âµâ´°âµ_â´°âµ¢âµâ´°âµ_â´°âµâµâµâ´°âµ_â´°â´½âµâ´°âµ_ⴰⴽⵡⴰâµ_â´°âµâµâµâµ¡â´°âµ_â´°âµâµâ´¹âµ¢â´°âµ'.split('_'), 22172 longDateFormat: { 22173 LT: 'HH:mm', 22174 LTS: 'HH:mm:ss', 22175 L: 'DD/MM/YYYY', 22176 LL: 'D MMMM YYYY', 22177 LLL: 'D MMMM YYYY HH:mm', 22178 LLLL: 'dddd D MMMM YYYY HH:mm', 22179 }, 22180 calendar: { 22181 sameDay: '[â´°âµâ´·âµ â´´] LT', 22182 nextDay: '[â´°âµâ´½â´° â´´] LT', 22183 nextWeek: 'dddd [â´´] LT', 22184 lastDay: '[â´°âµâ´°âµâµ â´´] LT', 22185 lastWeek: 'dddd [â´´] LT', 22186 sameElse: 'L', 22187 }, 22188 relativeTime: { 22189 future: 'ⴷⴰⴷⵠⵠⵢⴰⵠ%s', 22190 past: 'ⵢⴰⵠ%s', 22191 s: 'âµâµâµâ´½', 22192 ss: '%d âµâµâµâ´½', 22193 m: 'âµâµâµâµâ´º', 22194 mm: '%d âµâµâµâµâ´º', 22195 h: 'âµâ´°âµâ´°',
22196 hh: '%d âµâ´°âµâµâ´°âµâµâµ', 22197 d: 'â´°âµâµ', 22198 dd: '%d oâµâµâ´°âµ', 22199 M: 'â´°âµ¢oâµâµ', 22200 MM: '%d âµâµ¢âµ¢âµâµâµ', 22201 y: 'â´°âµâ´³â´°âµ', 22202 yy: '%d âµâµâ´³â´°âµâµ', 22203 }, 22204 week: { 22205 dow: 6, // Saturday is the first day of the week. 22206 doy: 12, // The week that contains Jan 12th is the first week of the year. 22207 }, 22208 }); 22209 22210 return tzm; 22211 22212 }))); 22213 22214 22215/***/ }), 22216/* 147 */ 22217/***/ (function(module, exports, __webpack_require__) { 22218 22219 //! moment.js language configuration 22220 //! locale : Uyghur (China) [ug-cn] 22221 //! author: boyaq : https://github.com/boyaq 22222 22223 ;(function (global, factory) { 22224 true ? factory(__webpack_require__(1)) : 22225 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 22226 factory(global.moment) 22227 }(this, (function (moment) { 'use strict'; 22228 22229 //! moment.js language configuration 22230 22231 var ugCn = moment.defineLocale('ug-cn', { 22232 months: 'ÙØ§ÙÛØ§Ø±_ÙÛÛØ±Ø§Ù_٠ارت_ئاپرÛÙ_٠اÙ_ئÙÙÛÙ_ئÙÙÛÙ_Ø¦Ø§ÛØºÛست_سÛÙØªÛØ¨ÙØ±_ئÛÙØªÛØ¨ÙØ±_ÙÙÙØ§Ø¨Ùر_دÛÙØ§Ø¨Ùر'.split( 22233 '_' 22234 ), 22235 monthsShort: 'ÙØ§ÙÛØ§Ø±_ÙÛÛØ±Ø§Ù_٠ارت_ئاپرÛÙ_٠اÙ_ئÙÙÛÙ_ئÙÙÛÙ_Ø¦Ø§ÛØºÛست_سÛÙØªÛØ¨ÙØ±_ئÛÙØªÛØ¨ÙØ±_ÙÙÙØ§Ø¨Ùر_دÛÙØ§Ø¨Ùر'.split( 22236 '_' 22237 ), 22238 weekdays: 'ÙÛÙØ´ÛÙØ¨Û_Ø¯ÛØ´ÛÙØ¨Û_سÛÙØ´ÛÙØ¨Û_ÚØ§Ø±Ø´ÛÙØ¨Û_Ù¾ÛÙØ´ÛÙØ¨Û_جÛÙ Û_Ø´ÛÙØ¨Û'.split( 22239 '_' 22240 ), 22241 weekdaysShort: 'ÙÛ_دÛ_سÛ_ÚØ§_Ù¾Û_جÛ_Ø´Û'.split('_'), 22242 weekdaysMin: 'ÙÛ_دÛ_سÛ_ÚØ§_Ù¾Û_جÛ_Ø´Û'.split('_'), 22243 longDateFormat: { 22244 LT: 'HH:mm', 22245 LTS: 'HH:mm:ss', 22246 L: 'YYYY-MM-DD', 22247 LL: 'YYYY-ÙÙÙÙM-ئاÙÙÙÚD-ÙÛÙÙ', 22248 LLL: 'YYYY-ÙÙÙÙM-ئاÙÙÙÚD-ÙÛÙÙØ HH:mm', 22249 LLLL: 'ddddØ YYYY-ÙÙÙÙM-ئاÙÙÙÚD-ÙÛÙÙØ HH:mm', 22250 }, 22251 meridiemParse: /ÙÛØ±ÙÙ ÙÛÚÛ|سÛÚ¾ÛØ±|ÚÛØ´ØªÙÙ Ø¨ÛØ±ÛÙ|ÚÛØ´|ÚÛØ´ØªÙÙ ÙÛÙÙÙ|ÙÛÚ/, 22252 meridiemHour: function (hour, meridiem) { 22253 if (hour === 12) { 22254 hour = 0; 22255 } 22256 if ( 22257 meridiem === 'ÙÛØ±ÙÙ ÙÛÚÛ' || 22258 meridiem === 'سÛÚ¾ÛØ±' || 22259 meridiem === 'ÚÛØ´ØªÙÙ Ø¨ÛØ±ÛÙ' 22260 ) { 22261 return hour; 22262 } else if (meridiem === 'ÚÛØ´ØªÙÙ ÙÛÙÙÙ' || meridiem === 'ÙÛÚ') { 22263 return hour + 12; 22264 } else { 22265 return hour >= 11 ? hour : hour + 12; 22266 } 22267 }, 22268 meridiem: function (hour, minute, isLower) { 22269 var hm = hour * 100 + minute; 22270 if (hm < 600) { 22271 return 'ÙÛØ±ÙÙ ÙÛÚÛ'; 22272 } else if (hm < 900) { 22273 return 'سÛÚ¾ÛØ±'; 22274 } else if (hm < 1130) { 22275 return 'ÚÛØ´ØªÙÙ Ø¨ÛØ±ÛÙ'; 22276 } else if (hm < 1230) { 22277 return 'ÚÛØ´'; 22278 } else if (hm < 1800) { 22279 return 'ÚÛØ´ØªÙÙ ÙÛÙÙÙ'; 22280 } else { 22281 return 'ÙÛÚ'; 22282 } 22283 }, 22284 calendar: { 22285 sameDay: '[بÛÚ¯ÛÙ Ø³Ø§Ø¦ÛØª] LT', 22286 nextDay: '[Ø¦ÛØªÛ Ø³Ø§Ø¦ÛØª] LT', 22287 nextWeek: '[ÙÛÙÛØ±ÙÙ] dddd [Ø³Ø§Ø¦ÛØª] LT', 22288 lastDay: '[تÛÙÛÚ¯ÛÙ] LT', 22289 lastWeek: '[Ø¦Ø§ÙØ¯ÙÙÙÙ] dddd [Ø³Ø§Ø¦ÛØª] LT', 22290 sameElse: 'L', 22291 }, 22292 relativeTime: { 22293 future: '%s ÙÛÙÙÙ', 22294 past: '%s Ø¨ÛØ±ÛÙ', 22295 s: 'ÙÛÚÚÛ Ø³ÛÙÙÙØª', 22296 ss: '%d سÛÙÙÙØª', 22297 m: 'Ø¨ÙØ± Ù ÙÙÛØª', 22298 mm: '%d Ù ÙÙÛØª', 22299 h: 'Ø¨ÙØ± Ø³Ø§Ø¦ÛØª', 22300 hh: '%d Ø³Ø§Ø¦ÛØª', 22301 d: 'Ø¨ÙØ± ÙÛÙ', 22302 dd: '%d ÙÛÙ', 22303 M: 'Ø¨ÙØ± ئاÙ', 22304 MM: '%d ئاÙ', 22305 y: 'Ø¨ÙØ± ÙÙÙ', 22306 yy: '%d ÙÙÙ', 22307 }, 22308 22309 dayOfMonthOrdinalParse: /\d{1,2}(-ÙÛÙÙ|-ئاÙ|-Ú¾ÛپتÛ)/, 22310 ordinal: function (number, period) { 22311 switch (period) { 22312 case 'd': 22313 case 'D': 22314 case 'DDD': 22315 return number + '-ÙÛÙÙ'; 22316 case 'w': 22317 case 'W': 22318 return number + '-Ú¾ÛپتÛ'; 22319 default: 22320 return number; 22321 } 22322 }, 22323 preparse: function (string) { 22324 return string.replace(/Ø/g, ','); 22325 }, 22326 postformat: function (string) { 22327 return string.replace(/,/g, 'Ø'); 22328 }, 22329 week: { 22330 // GB/T 7408-1994ãæ°æ®å åäº¤æ¢æ ¼å¼Â·ä¿¡æ¯äº¤æ¢Â·æ¥æåæ¶é´è¡¨ç¤ºæ³ãä¸ISO 8601:1988çæ 22331 dow: 1, // Monday is the first day of the week. 22332 doy: 7, // The week that contains Jan 1st is the first week of the year. 22333 }, 22334 }); 22335 22336 return ugCn; 22337 22338 }))); 22339 22340 22341/***/ }), 22342/* 148 */ 22343/***/ (function(module, exports, __webpack_require__) { 22344 22345 //! moment.js locale configuration 22346 //! locale : Ukrainian [uk] 22347 //! author : zemlanin : https://github.com/zemlanin 22348 //! Author : Menelion Elensúle : https://github.com/Oire 22349 22350 ;(function (global, factory) { 22351 true ? factory(__webpack_require__(1)) : 22352 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 22353 factory(global.moment) 22354 }(this, (function (moment) { 'use strict'; 22355 22356 //! moment.js locale configuration 22357 22358 function plural(word, num) { 22359 var forms = word.split('_'); 22360 return num % 10 === 1 && num % 100 !== 11 22361 ? forms[0] 22362 : num % 10 >= 2 && num % 10 <= 4 && (num % 100 < 10 || num % 100 >= 20) 22363 ? forms[1] 22364 : forms[2]; 22365 } 22366 function relativeTimeWithPlural(number, withoutSuffix, key) { 22367 var format = { 22368 ss: withoutSuffix ? 'ÑекÑнда_ÑекÑнди_ÑекÑнд' : 'ÑекÑндÑ_ÑекÑнди_ÑекÑнд', 22369 mm: withoutSuffix ? 'Ñ Ð²Ð¸Ð»Ð¸Ð½Ð°_Ñ Ð²Ð¸Ð»Ð¸Ð½Ð¸_Ñ Ð²Ð¸Ð»Ð¸Ð½' : 'Ñ Ð²Ð¸Ð»Ð¸Ð½Ñ_Ñ Ð²Ð¸Ð»Ð¸Ð½Ð¸_Ñ Ð²Ð¸Ð»Ð¸Ð½', 22370 hh: withoutSuffix ? 'година_години_годин' : 'годинÑ_години_годин', 22371 dd: 'денÑ_днÑ_днÑв', 22372 MM: 'мÑÑÑÑÑ_мÑÑÑÑÑ_мÑÑÑÑÑв', 22373 yy: 'ÑÑк_Ñоки_ÑокÑв', 22374 }; 22375 if (key === 'm') { 22376 return withoutSuffix ? 'Ñ Ð²Ð¸Ð»Ð¸Ð½Ð°' : 'Ñ Ð²Ð¸Ð»Ð¸Ð½Ñ'; 22377 } else if (key === 'h') { 22378 return withoutSuffix ? 'година' : 'годинÑ'; 22379 } else {
vendor: 8,345 bytes, lines 22380-22622
22380 return number + ' ' + plural(format[key], +number); 22381 } 22382 } 22383 function weekdaysCaseReplace(m, format) { 22384 var weekdays = { 22385 nominative: 'недÑлÑ_понедÑлок_вÑвÑоÑок_ÑеÑеда_ÑеÑвеÑ_пâÑÑниÑÑ_ÑÑбоÑа'.split( 22386 '_' 22387 ), 22388 accusative: 'недÑлÑ_понедÑлок_вÑвÑоÑок_ÑеÑедÑ_ÑеÑвеÑ_пâÑÑниÑÑ_ÑÑбоÑÑ'.split( 22389 '_' 22390 ), 22391 genitive: 'недÑлÑ_понедÑлка_вÑвÑоÑка_ÑеÑеди_ÑеÑвеÑга_пâÑÑниÑÑ_ÑÑбоÑи'.split( 22392 '_' 22393 ), 22394 }, 22395 nounCase; 22396 22397 if (m === true) { 22398 return weekdays['nominative'] 22399 .slice(1, 7) 22400 .concat(weekdays['nominative'].slice(0, 1)); 22401 } 22402 if (!m) { 22403 return weekdays['nominative']; 22404 } 22405 22406 nounCase = /(\[[ÐвУÑ]\]) ?dddd/.test(format) 22407 ? 'accusative' 22408 : /\[?(?:минÑлоÑ|наÑÑÑпноÑ)? ?\] ?dddd/.test(format) 22409 ? 'genitive' 22410 : 'nominative'; 22411 return weekdays[nounCase][m.day()]; 22412 } 22413 function processHoursFunction(str) { 22414 return function () { 22415 return str + 'о' + (this.hours() === 11 ? 'б' : '') + '] LT'; 22416 }; 22417 } 22418 22419 var uk = moment.defineLocale('uk', { 22420 months: { 22421 format: 'ÑÑÑнÑ_лÑÑого_беÑезнÑ_квÑÑнÑ_ÑÑавнÑ_ÑеÑвнÑ_липнÑ_ÑеÑпнÑ_веÑеÑнÑ_жовÑнÑ_лиÑÑопада_гÑÑднÑ'.split( 22422 '_' 22423 ), 22424 standalone: 'ÑÑÑенÑ_лÑÑий_беÑезенÑ_квÑÑенÑ_ÑÑавенÑ_ÑеÑвенÑ_липенÑ_ÑеÑпенÑ_веÑеÑенÑ_жовÑенÑ_лиÑÑопад_гÑÑденÑ'.split( 22425 '_' 22426 ), 22427 }, 22428 monthsShort: 'ÑÑÑ_лÑÑ_беÑ_квÑÑ_ÑÑав_ÑеÑв_лип_ÑеÑп_веÑ_жовÑ_лиÑÑ_гÑÑд'.split( 22429 '_' 22430 ), 22431 weekdays: weekdaysCaseReplace, 22432 weekdaysShort: 'нд_пн_вÑ_ÑÑ_ÑÑ_пÑ_Ñб'.split('_'), 22433 weekdaysMin: 'нд_пн_вÑ_ÑÑ_ÑÑ_пÑ_Ñб'.split('_'), 22434 longDateFormat: { 22435 LT: 'HH:mm', 22436 LTS: 'HH:mm:ss', 22437 L: 'DD.MM.YYYY', 22438 LL: 'D MMMM YYYY Ñ.', 22439 LLL: 'D MMMM YYYY Ñ., HH:mm', 22440 LLLL: 'dddd, D MMMM YYYY Ñ., HH:mm', 22441 }, 22442 calendar: { 22443 sameDay: processHoursFunction('[СÑÐ¾Ð³Ð¾Ð´Ð½Ñ '), 22444 nextDay: processHoursFunction('[ÐавÑÑа '), 22445 lastDay: processHoursFunction('[ÐÑоÑа '), 22446 nextWeek: processHoursFunction('[У] dddd ['), 22447 lastWeek: function () { 22448 switch (this.day()) { 22449 case 0: 22450 case 3: 22451 case 5: 22452 case 6: 22453 return processHoursFunction('[ÐинÑлоÑ] dddd [').call(this); 22454 case 1: 22455 case 2: 22456 case 4: 22457 return processHoursFunction('[ÐинÑлого] dddd [').call(this); 22458 } 22459 }, 22460 sameElse: 'L', 22461 }, 22462 relativeTime: { 22463 future: 'за %s', 22464 past: '%s ÑомÑ', 22465 s: 'декÑлÑка ÑекÑнд', 22466 ss: relativeTimeWithPlural, 22467 m: relativeTimeWithPlural, 22468 mm: relativeTimeWithPlural, 22469 h: 'годинÑ', 22470 hh: relativeTimeWithPlural, 22471 d: 'денÑ', 22472 dd: relativeTimeWithPlural, 22473 M: 'мÑÑÑÑÑ', 22474 MM: relativeTimeWithPlural, 22475 y: 'ÑÑк', 22476 yy: relativeTimeWithPlural, 22477 }, 22478 // M. E.: those two are virtually unused but a user might want to implement them for his/her website for some reason 22479 meridiemParse: /ноÑÑ|ÑанкÑ|днÑ|веÑоÑа/, 22480 isPM: function (input) { 22481 return /^(днÑ|веÑоÑа)$/.test(input); 22482 }, 22483 meridiem: function (hour, minute, isLower) { 22484 if (hour < 4) { 22485 return 'ноÑÑ'; 22486 } else if (hour < 12) { 22487 return 'ÑанкÑ'; 22488 } else if (hour < 17) { 22489 return 'днÑ'; 22490 } else { 22491 return 'веÑоÑа'; 22492 } 22493 }, 22494 dayOfMonthOrdinalParse: /\d{1,2}-(й|го)/, 22495 ordinal: function (number, period) { 22496 switch (period) { 22497 case 'M': 22498 case 'd': 22499 case 'DDD': 22500 case 'w': 22501 case 'W': 22502 return number + '-й'; 22503 case 'D': 22504 return number + '-го'; 22505 default: 22506 return number; 22507 } 22508 }, 22509 week: { 22510 dow: 1, // Monday is the first day of the week. 22511 doy: 7, // The week that contains Jan 7th is the first week of the year. 22512 }, 22513 }); 22514 22515 return uk; 22516 22517 }))); 22518 22519 22520/***/ }), 22521/* 149 */ 22522/***/ (function(module, exports, __webpack_require__) { 22523 22524 //! moment.js locale configuration 22525 //! locale : Urdu [ur] 22526 //! author : Sawood Alam : https://github.com/ibnesayeed 22527 //! author : Zack : https://github.com/ZackVision 22528 22529 ;(function (global, factory) { 22530 true ? factory(__webpack_require__(1)) : 22531 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 22532 factory(global.moment) 22533 }(this, (function (moment) { 'use strict'; 22534 22535 //! moment.js locale configuration 22536 22537 var months = [ 22538 'جÙÙØ±Û', 22539 'ÙØ±ÙرÛ', 22540 '٠ارÚ', 22541 'اپرÛÙ', 22542 '٠ئÛ', 22543 'جÙÙ', 22544 'جÙÙØ§Ø¦Û', 22545 'اگست', 22546 'ست٠بر', 22547 'Ø§Ú©ØªÙØ¨Ø±', 22548 'ÙÙ٠بر', 22549 'دس٠بر', 22550 ], 22551 days = ['Ø§ØªÙØ§Ø±', 'Ù¾ÛØ±', 'Ù ÙÚ¯Ù', 'بدھ', 'ج٠عرات', 'ج٠عÛ', 'ÛÙØªÛ']; 22552 22553 var ur = moment.defineLocale('ur', { 22554 months: months, 22555 monthsShort: months, 22556 weekdays: days, 22557 weekdaysShort: days, 22558 weekdaysMin: days, 22559 longDateFormat: { 22560 LT: 'HH:mm', 22561 LTS: 'HH:mm:ss', 22562 L: 'DD/MM/YYYY', 22563 LL: 'D MMMM YYYY', 22564 LLL: 'D MMMM YYYY HH:mm', 22565 LLLL: 'ddddØ D MMMM YYYY HH:mm', 22566 }, 22567 meridiemParse: /صبØ|شا٠/, 22568 isPM: function (input) { 22569 return 'شا٠' === input; 22570 }, 22571 meridiem: function (hour, minute, isLower) { 22572 if (hour < 12) { 22573 return 'صبØ'; 22574 } 22575 return 'شا٠'; 22576 }, 22577 calendar: { 22578 sameDay: '[آج بÙÙØª] LT', 22579 nextDay: '[ک٠بÙÙØª] LT', 22580 nextWeek: 'dddd [بÙÙØª] LT', 22581 lastDay: '[Ú¯Ø°Ø´ØªÛ Ø±ÙØ² بÙÙØª] LT', 22582 lastWeek: '[گذشتÛ] dddd [بÙÙØª] LT', 22583 sameElse: 'L', 22584 }, 22585 relativeTime: { 22586 future: '%s بعد', 22587 past: '%s ÙØ¨Ù', 22588 s: 'ÚÙØ¯ سÛÚ©ÙÚ', 22589 ss: '%d سÛÚ©ÙÚ', 22590 m: 'اÛÚ© Ù ÙÙ¹', 22591 mm: '%d Ù ÙÙ¹', 22592 h: 'اÛÚ© Ú¯Ú¾ÙÙ¹Û', 22593 hh: '%d Ú¯Ú¾ÙÙ¹Û', 22594 d: 'اÛÚ© دÙ', 22595 dd: '%d دÙ', 22596 M: 'اÛÚ© ٠اÛ', 22597 MM: '%d ٠اÛ', 22598 y: 'اÛÚ© ساÙ', 22599 yy: '%d ساÙ', 22600 }, 22601 preparse: function (string) { 22602 return string.replace(/Ø/g, ','); 22603 }, 22604 postformat: function (string) { 22605 return string.replace(/,/g, 'Ø'); 22606 }, 22607 week: { 22608 dow: 1, // Monday is the first day of the week. 22609 doy: 4, // The week that contains Jan 4th is the first week of the year. 22610 }, 22611 }); 22612 22613 return ur; 22614 22615 }))); 22616 22617 22618/***/ }), 22619/* 150 */ 22620/***/ (function(module, exports, __webpack_require__) { 22621 22622 //! moment.js locale configuration
22623 //! locale : Uzbek Latin [uz-latn] 22624 //! author : Rasulbek Mirzayev : github.com/Rasulbeeek 22625 22626 ;(function (global, factory) { 22627 true ? factory(__webpack_require__(1)) : 22628 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 22629 factory(global.moment) 22630 }(this, (function (moment) { 'use strict'; 22631 22632 //! moment.js locale configuration 22633 22634 var uzLatn = moment.defineLocale('uz-latn', { 22635 months: 'Yanvar_Fevral_Mart_Aprel_May_Iyun_Iyul_Avgust_Sentabr_Oktabr_Noyabr_Dekabr'.split( 22636 '_' 22637 ), 22638 monthsShort: 'Yan_Fev_Mar_Apr_May_Iyun_Iyul_Avg_Sen_Okt_Noy_Dek'.split('_'), 22639 weekdays: 'Yakshanba_Dushanba_Seshanba_Chorshanba_Payshanba_Juma_Shanba'.split( 22640 '_' 22641 ), 22642 weekdaysShort: 'Yak_Dush_Sesh_Chor_Pay_Jum_Shan'.split('_'), 22643 weekdaysMin: 'Ya_Du_Se_Cho_Pa_Ju_Sha'.split('_'), 22644 longDateFormat: { 22645 LT: 'HH:mm', 22646 LTS: 'HH:mm:ss', 22647 L: 'DD/MM/YYYY', 22648 LL: 'D MMMM YYYY', 22649 LLL: 'D MMMM YYYY HH:mm', 22650 LLLL: 'D MMMM YYYY, dddd HH:mm', 22651 }, 22652 calendar: { 22653 sameDay: '[Bugun soat] LT [da]', 22654 nextDay: '[Ertaga] LT [da]', 22655 nextWeek: 'dddd [kuni soat] LT [da]', 22656 lastDay: '[Kecha soat] LT [da]', 22657 lastWeek: "[O'tgan] dddd [kuni soat] LT [da]", 22658 sameElse: 'L', 22659 }, 22660 relativeTime: { 22661 future: 'Yaqin %s ichida', 22662 past: 'Bir necha %s oldin', 22663 s: 'soniya', 22664 ss: '%d soniya', 22665 m: 'bir daqiqa', 22666 mm: '%d daqiqa', 22667 h: 'bir soat', 22668 hh: '%d soat', 22669 d: 'bir kun', 22670 dd: '%d kun', 22671 M: 'bir oy', 22672 MM: '%d oy', 22673 y: 'bir yil', 22674 yy: '%d yil', 22675 }, 22676 week: { 22677 dow: 1, // Monday is the first day of the week. 22678 doy: 7, // The week that contains Jan 7th is the first week of the year. 22679 }, 22680 }); 22681 22682 return uzLatn; 22683 22684 }))); 22685 22686 22687/***/ }), 22688/* 151 */ 22689/***/ (function(module, exports, __webpack_require__) { 22690 22691 //! moment.js locale configuration 22692 //! locale : Uzbek [uz] 22693 //! author : Sardor Muminov : https://github.com/muminoff 22694 22695 ;(function (global, factory) { 22696 true ? factory(__webpack_require__(1)) : 22697 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 22698 factory(global.moment) 22699 }(this, (function (moment) { 'use strict'; 22700 22701 //! moment.js locale configuration 22702 22703 var uz = moment.defineLocale('uz', { 22704 months: 'ÑнваÑ_ÑевÑал_маÑÑ_апÑел_май_иÑн_иÑл_авгÑÑÑ_ÑенÑÑбÑ_окÑÑбÑ_ноÑбÑ_декабÑ'.split( 22705 '_' 22706 ), 22707 monthsShort: 'Ñнв_Ñев_маÑ_апÑ_май_иÑн_иÑл_авг_Ñен_окÑ_ноÑ_дек'.split('_'), 22708 weekdays: 'ЯкÑанба_ÐÑÑанба_СеÑанба_ЧоÑÑанба_ÐайÑанба_ÐÑма_Шанба'.split('_'), 22709 weekdaysShort: 'ЯкÑ_ÐÑÑ_СеÑ_ЧоÑ_Ðай_ÐÑм_Шан'.split('_'), 22710 weekdaysMin: 'Як_ÐÑ_Се_Чо_Ðа_ÐÑ_Ша'.split('_'), 22711 longDateFormat: { 22712 LT: 'HH:mm', 22713 LTS: 'HH:mm:ss', 22714 L: 'DD/MM/YYYY', 22715 LL: 'D MMMM YYYY', 22716 LLL: 'D MMMM YYYY HH:mm', 22717 LLLL: 'D MMMM YYYY, dddd HH:mm', 22718 }, 22719 calendar: { 22720 sameDay: '[ÐÑгÑн ÑоаÑ] LT [да]', 22721 nextDay: '[ÐÑÑага] LT [да]', 22722 nextWeek: 'dddd [кÑни ÑоаÑ] LT [да]', 22723 lastDay: '[ÐеÑа ÑоаÑ] LT [да]', 22724 lastWeek: '[УÑган] dddd [кÑни ÑоаÑ] LT [да]', 22725 sameElse: 'L', 22726 }, 22727 relativeTime: { 22728 future: 'Якин %s иÑида', 22729 past: 'ÐÐ¸Ñ Ð½ÐµÑа %s олдин', 22730 s: 'ÑÑÑÑаÑ', 22731 ss: '%d ÑÑÑÑаÑ', 22732 m: 'Ð±Ð¸Ñ Ð´Ð°ÐºÐ¸ÐºÐ°', 22733 mm: '%d дакика', 22734 h: 'Ð±Ð¸Ñ ÑоаÑ', 22735 hh: '%d ÑоаÑ', 22736 d: 'Ð±Ð¸Ñ ÐºÑн', 22737 dd: '%d кÑн', 22738 M: 'Ð±Ð¸Ñ Ð¾Ð¹', 22739 MM: '%d ой', 22740 y: 'Ð±Ð¸Ñ Ð¹Ð¸Ð»', 22741 yy: '%d йил', 22742 }, 22743 week: { 22744 dow: 1, // Monday is the first day of the week. 22745 doy: 7, // The week that contains Jan 4th is the first week of the year. 22746 }, 22747 }); 22748 22749 return uz; 22750 22751 }))); 22752 22753 22754/***/ }), 22755/* 152 */ 22756/***/ (function(module, exports, __webpack_require__) { 22757 22758 //! moment.js locale configuration 22759 //! locale : Vietnamese [vi] 22760 //! author : Bang Nguyen : https://github.com/bangnk 22761 //! author : Chien Kira : https://github.com/chienkira 22762 22763 ;(function (global, factory) { 22764 true ? factory(__webpack_require__(1)) : 22765 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 22766 factory(global.moment) 22767 }(this, (function (moment) { 'use strict'; 22768 22769 //! moment.js locale configuration 22770 22771 var vi = moment.defineLocale('vi', { 22772 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( 22773 '_' 22774 ), 22775 monthsShort: 'Th01_Th02_Th03_Th04_Th05_Th06_Th07_Th08_Th09_Th10_Th11_Th12'.split( 22776 '_' 22777 ), 22778 monthsParseExact: true, 22779 weekdays: 'chá»§ nháºt_thứ hai_thứ ba_thứ tư_thứ nÄm_thứ sáu_thứ bảy'.split( 22780 '_' 22781 ), 22782 weekdaysShort: 'CN_T2_T3_T4_T5_T6_T7'.split('_'), 22783 weekdaysMin: 'CN_T2_T3_T4_T5_T6_T7'.split('_'), 22784 weekdaysParseExact: true, 22785 meridiemParse: /sa|ch/i, 22786 isPM: function (input) { 22787 return /^ch$/i.test(input); 22788 }, 22789 meridiem: function (hours, minutes, isLower) { 22790 if (hours < 12) { 22791 return isLower ? 'sa' : 'SA'; 22792 } else { 22793 return isLower ? 'ch' : 'CH'; 22794 } 22795 }, 22796 longDateFormat: { 22797 LT: 'HH:mm', 22798 LTS: 'HH:mm:ss', 22799 L: 'DD/MM/YYYY', 22800 LL: 'D MMMM [nÄm] YYYY', 22801 LLL: 'D MMMM [nÄm] YYYY HH:mm', 22802 LLLL: 'dddd, D MMMM [nÄm] YYYY HH:mm', 22803 l: 'DD/M/YYYY', 22804 ll: 'D MMM YYYY', 22805 lll: 'D MMM YYYY HH:mm', 22806 llll: 'ddd, D MMM YYYY HH:mm', 22807 }, 22808 calendar: { 22809 sameDay: '[Hôm nay lúc] LT', 22810 nextDay: '[Ngà y mai lúc] LT', 22811 nextWeek: 'dddd [tuần tá»i lúc] LT', 22812 lastDay: '[Hôm qua lúc] LT', 22813 lastWeek: 'dddd [tuần trưá»c lúc] LT', 22814 sameElse: 'L', 22815 }, 22816 relativeTime: { 22817 future: '%s tá»i', 22818 past: '%s trưá»c', 22819 s: 'và i giây', 22820 ss: '%d giây', 22821 m: 'má»t phút', 22822 mm: '%d phút', 22823 h: 'má»t giá»', 22824 hh: '%d giá»', 22825 d: 'má»t ngà y', 22826 dd: '%d ngà y', 22827 M: 'má»t tháng', 22828 MM: '%d tháng', 22829 y: 'má»t nÄm', 22830 yy: '%d nÄm', 22831 }, 22832 dayOfMonthOrdinalParse: /\d{1,2}/, 22833 ordinal: function (number) { 22834 return number; 22835 }, 22836 week: { 22837 dow: 1, // Monday is the first day of the week. 22838 doy: 4, // The week that contains Jan 4th is the first week of the year. 22839 }, 22840 }); 22841 22842 return vi; 22843 22844 }))); 22845 22846 22847/***/ }), 22848/* 153 */ 22849/***/ (function(module, exports, __webpack_require__) { 22850 22851 //! moment.js locale configuration 22852 //! locale : Pseudo [x-pseudo] 22853 //! author : Andrew Hood : https://github.com/andrewhood125 22854 22855 ;(function (global, factory) { 22856 true ? factory(__webpack_require__(1)) : 22857 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 22858 factory(global.moment) 22859 }(this, (function (moment) { 'use strict'; 22860 22861 //! moment.js locale configuration 22862 22863 var xPseudo = moment.defineLocale('x-pseudo', { 22864 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( 22865 '_' 22866 ), 22867 monthsShort: 'J~áñ_~Féb_~Már_~Ãpr_~Máý_~Júñ_~Júl_~Ãúg_~Sép_~Ãct_~Ãóv_~Déc'.
22867split( 22868 '_' 22869 ), 22870 monthsParseExact: true, 22871 weekdays: 'S~úñdá~ý_Mó~ñdáý~_Túé~sdáý~_Wéd~ñésd~áý_T~húrs~dáý_~FrÃd~áý_S~átúr~dáý'.split( 22872 '_' 22873 ), 22874 weekdaysShort: 'S~úñ_~Móñ_~Túé_~Wéd_~Thú_~FrÃ_~Sát'.split('_'), 22875 weekdaysMin: 'S~ú_Mó~_Tú_~Wé_T~h_Fr~_Sá'.split('_'), 22876 weekdaysParseExact: true, 22877 longDateFormat: { 22878 LT: 'HH:mm', 22879 L: 'DD/MM/YYYY', 22880 LL: 'D MMMM YYYY', 22881 LLL: 'D MMMM YYYY HH:mm', 22882 LLLL: 'dddd, D MMMM YYYY HH:mm', 22883 }, 22884 calendar: { 22885 sameDay: '[T~ódá~ý át] LT', 22886 nextDay: '[T~ómó~rró~w át] LT', 22887 nextWeek: 'dddd [át] LT', 22888 lastDay: '[Ã~ést~érdá~ý át] LT', 22889 lastWeek: '[L~ást] dddd [át] LT', 22890 sameElse: 'L', 22891 }, 22892 relativeTime: { 22893 future: 'Ã~ñ %s', 22894 past: '%s á~gó', 22895 s: 'á ~féw ~sécó~ñds', 22896 ss: '%d s~écóñ~ds',
22897 m: 'á ~mÃñ~úté', 22898 mm: '%d m~Ãñú~tés', 22899 h: 'á~ñ hó~úr', 22900 hh: '%d h~óúrs', 22901 d: 'á ~dáý', 22902 dd: '%d d~áýs', 22903 M: 'á ~móñ~th', 22904 MM: '%d m~óñt~hs', 22905 y: 'á ~ýéár', 22906 yy: '%d ý~éárs', 22907 }, 22908 dayOfMonthOrdinalParse: /\d{1,2}(th|st|nd|rd)/, 22909 ordinal: function (number) { 22910 var b = number % 10, 22911 output = 22912 ~~((number % 100) / 10) === 1 22913 ? 'th' 22914 : b === 1 22915 ? 'st' 22916 : b === 2 22917 ? 'nd' 22918 : b === 3 22919 ? 'rd' 22920 : 'th'; 22921 return number + output; 22922 }, 22923 week: { 22924 dow: 1, // Monday is the first day of the week. 22925 doy: 4, // The week that contains Jan 4th is the first week of the year. 22926 }, 22927 }); 22928 22929 return xPseudo; 22930 22931 }))); 22932 22933 22934/***/ }), 22935/* 154 */ 22936/***/ (function(module, exports, __webpack_require__) { 22937 22938 //! moment.js locale configuration 22939 //! locale : Yoruba Nigeria [yo] 22940 //! author : Atolagbe Abisoye : https://github.com/andela-batolagbe 22941 22942 ;(function (global, factory) { 22943 true ? factory(__webpack_require__(1)) : 22944 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 22945 factory(global.moment) 22946 }(this, (function (moment) { 'use strict'; 22947 22948 //! moment.js locale configuration 22949 22950 var yo = moment.defineLocale('yo', { 22951 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( 22952 '_' 22953 ), 22954 monthsShort: 'SẹÌr_EÌrl_Ẹrn_IÌgb_EÌbi_OÌkuÌ_Agẹ_OÌguÌ_Owe_á»ÌwaÌ_BeÌl_á»ÌpẹÌÌ'.split('_'), 22955 weekdays: 'AÌiÌkuÌ_AjeÌ_IÌsẹÌgun_á»já»ÌruÌ_á»já»Ìbá»_ẸtiÌ_AÌbaÌmẹÌta'.split('_'), 22956 weekdaysShort: 'AÌiÌk_AjeÌ_IÌsẹÌ_á»jr_á»jb_ẸtiÌ_AÌbaÌ'.split('_'), 22957 weekdaysMin: 'AÌiÌ_Aj_IÌs_á»r_á»b_Ẹt_AÌb'.split('_'), 22958 longDateFormat: { 22959 LT: 'h:mm A', 22960 LTS: 'h:mm:ss A', 22961 L: 'DD/MM/YYYY', 22962 LL: 'D MMMM YYYY', 22963 LLL: 'D MMMM YYYY h:mm A', 22964 LLLL: 'dddd, D MMMM YYYY h:mm A', 22965 }, 22966 calendar: { 22967 sameDay: '[OÌniÌ ni] LT', 22968 nextDay: '[á»Ìla ni] LT', 22969 nextWeek: "dddd [á»sáº¹Ì toÌn'bá»] [ni] LT", 22970 lastDay: '[AÌna ni] LT', 22971 lastWeek: 'dddd [á»sáº¹Ì toÌlá»Ì] [ni] LT', 22972 sameElse: 'L', 22973 }, 22974 relativeTime: { 22975 future: 'niÌ %s', 22976 past: '%s ká»jaÌ', 22977 s: 'iÌsẹjuÌ aayaÌ die', 22978 ss: 'aayaÌ %d', 22979 m: 'iÌsẹjuÌ kan', 22980 mm: 'iÌsẹjuÌ %d', 22981 h: 'waÌkati kan', 22982 hh: 'waÌkati %d', 22983 d: 'á»já»Ì kan', 22984 dd: 'á»já»Ì %d', 22985 M: 'osuÌ kan', 22986 MM: 'osuÌ %d', 22987 y: 'á»duÌn kan', 22988 yy: 'á»duÌn %d', 22989 }, 22990 dayOfMonthOrdinalParse: /á»já»Ì\s\d{1,2}/, 22991 ordinal: 'á»já»Ì %d', 22992 week: { 22993 dow: 1, // Monday is the first day of the week. 22994 doy: 4, // The week that contains Jan 4th is the first week of the year. 22995 }, 22996 }); 22997 22998 return yo; 22999 23000 }))); 23001 23002 23003/***/ }), 23004/* 155 */ 23005/***/ (function(module, exports, __webpack_require__) { 23006 23007 //! moment.js locale configuration 23008 //! locale : Chinese (China) [zh-cn] 23009 //! author : suupic : https://github.com/suupic 23010 //! author : Zeno Zeng : https://github.com/zenozeng 23011 //! author : uu109 : https://github.com/uu109 23012 23013 ;(function (global, factory) { 23014 true ? factory(__webpack_require__(1)) : 23015 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 23016 factory(global.moment) 23017 }(this, (function (moment) { 'use strict'; 23018 23019 //! moment.js locale configuration 23020 23021 var zhCn = moment.defineLocale('zh-cn', { 23022 months: '䏿_äºæ_䏿_åæ_äºæ_å æ_䏿_å «æ_乿_åæ_å䏿_åäºæ'.split( 23023 '_' 23024 ), 23025 monthsShort: '1æ_2æ_3æ_4æ_5æ_6æ_7æ_8æ_9æ_10æ_11æ_12æ'.split( 23026 '_' 23027 ), 23028 weekdays: 'æææ¥_ææä¸_ææäº_ææä¸_ææå_ææäº_ææå '.split('_'), 23029 weekdaysShort: '卿¥_å¨ä¸_å¨äº_å¨ä¸_å¨å_å¨äº_å¨å '.split('_'), 23030 weekdaysMin: 'æ¥_ä¸_äº_ä¸_å_äº_å '.split('_'), 23031 longDateFormat: { 23032 LT: 'HH:mm', 23033 LTS: 'HH:mm:ss', 23034 L: 'YYYY/MM/DD', 23035 LL: 'YYYYå¹´MæDæ¥', 23036 LLL: 'YYYYå¹´MæDæ¥Ahç¹mmå', 23037 LLLL: 'YYYYå¹´MæDæ¥ddddAhç¹mmå', 23038 l: 'YYYY/M/D', 23039 ll: 'YYYYå¹´MæDæ¥', 23040 lll: 'YYYYå¹´MæDæ¥ HH:mm', 23041 llll: 'YYYYå¹´MæDæ¥dddd HH:mm', 23042 }, 23043 meridiemParse: /忍|æ©ä¸|ä¸å|ä¸å|ä¸å|æä¸/, 23044 meridiemHour: function (hour, meridiem) { 23045 if (hour === 12) { 23046 hour = 0; 23047 } 23048 if (meridiem === '忍' || meridiem === 'æ©ä¸' || meridiem === 'ä¸å') { 23049 return hour; 23050 } else if (meridiem === 'ä¸å' || meridiem === 'æä¸') { 23051 return hour + 12; 23052 } else { 23053 // 'ä¸å' 23054 return hour >= 11 ? hour : hour + 12; 23055 } 23056 }, 23057 meridiem: function (hour, minute, isLower) { 23058 var hm = hour * 100 + minute; 23059 if (hm < 600) { 23060 return '忍'; 23061 } else if (hm < 900) { 23062 return 'æ©ä¸'; 23063 } else if (hm < 1130) { 23064 return 'ä¸å'; 23065 } else if (hm < 1230) { 23066 return 'ä¸å'; 23067 } else if (hm < 1800) { 23068 return 'ä¸å'; 23069 } else { 23070 return 'æä¸'; 23071 } 23072 }, 23073 calendar: { 23074 sameDay: '[ä»å¤©]LT', 23075 nextDay: '[æå¤©]LT', 23076 nextWeek: function (now) { 23077 if (now.week() !== this.week()) { 23078 return '[ä¸]dddLT'; 23079 } else { 23080 return '[æ¬]dddLT'; 23081 } 23082 }, 23083 lastDay: '[æ¨å¤©]LT', 23084 lastWeek: function (now) { 23085 if (this.week() !== now.week()) { 23086 return '[ä¸]dddLT'; 23087 } else { 23088 return '[æ¬]dddLT'; 23089 } 23090 }, 23091 sameElse: 'L', 23092 }, 23093 dayOfMonthOrdinalParse: /\d{1,2}(æ¥|æ|å¨)/, 23094 ordinal: function (number, period) { 23095 switch (period) { 23096 case 'd': 23097 case 'D': 23098 case 'DDD': 23099 return number + 'æ¥'; 23100 case 'M': 23101 return number + 'æ'; 23102 case 'w': 23103 case 'W': 23104 return number + 'å¨'; 23105 default: 23106 return number; 23107 } 23108 }, 23109 relativeTime: { 23110 future: '%så', 23111 past: '%så', 23112 s: 'å ç§', 23113 ss: '%d ç§', 23114 m: '1 åé', 23115 mm: '%d åé', 23116 h: '1 å°æ¶', 23117 hh: '%d å°æ¶', 23118 d: '1 天', 23119 dd: '%d 天', 23120 M: '1 个æ', 23121 MM: '%d 个æ', 23122 y: '1 å¹´', 23123 yy: '%d å¹´', 23124 }, 23125 week: { 23126 // GB/T 7408-1994ãæ°æ®å åäº¤æ¢æ ¼å¼Â·ä¿¡æ¯äº¤æ¢Â·æ¥æåæ¶é´è¡¨ç¤ºæ³ãä¸ISO 8601:1988çæ 23127 dow: 1, // Monday is the first day of the week. 23128 doy: 4, // The week that contains Jan 4th is the first week of the year. 23129 }, 23130 }); 23131 23132 return zhCn; 23133 23134 }))); 23135 23136 23137/***/ }), 23138/* 156 */ 23139/***/ (function(module, exports, __webpack_require__) { 23140 23141 //! moment.js locale configuration 23142 //! locale : Chinese (Hong Kong) [zh-hk] 23143 //! author : Ben : https://github.com/ben-lin 23144 //! author : Chris Lam : https://github.com/hehachris 23145 //! author : Konstantin : https://github.com/skfd 23146 //! author : Anthony : https://github.com/anthonylau 23147 23148 ;(function (global, factory) { 23149 true ? factory(__webpack_require__(1)) : 23150 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 23151 factory(global.moment) 23152 }(this, (function (moment) { 'use strict'; 23153 23154 //! moment.js locale configuration 23155 23156 var zhHk = moment.defineLocale('zh-hk', { 23157 months: '䏿_äºæ_䏿_åæ_äºæ_å æ_䏿_å «æ_乿_åæ_å䏿_åäºæ'.split( 23158 '_' 23159 ), 23160 monthsShort: '1æ_2æ_3æ_4æ_5æ_6æ_7æ_8æ_9æ_10æ_11æ_12æ'.split( 23161 '_' 23162 ), 23163 weekdays: 'æææ¥_ææä¸_ææäº_ææä¸_ææå_ææäº_ææå '.split('_'), 23164 weekdaysShort: '鱿¥_é±ä¸_é±äº_é±ä¸_é±å_é±äº_é±å '.split('_'), 23165 weekdaysMin: 'æ¥_ä¸_äº_ä¸_å_äº_å '.split('_'), 23166 longDateFormat: { 23167 LT: 'HH:mm', 23168 LTS: 'HH:mm:ss', 23169 L: 'YYYY/MM/DD', 23170 LL: 'YYYYå¹´MæDæ¥', 23171 LLL: 'YYYYå¹´MæDæ¥ HH:mm', 23172 LLLL: 'YYYYå¹´MæDæ¥dddd HH:mm', 23173 l: 'YYYY/M/D', 23174 ll: 'YYYYå¹´MæDæ¥', 23175 lll: 'YYYYå¹´MæDæ¥ HH:mm', 23176 llll: 'YYYYå¹´MæDæ¥dddd HH:mm', 23177 }, 23178 meridiemParse: /忍|æ©ä¸|ä¸å|ä¸å|ä¸å|æä¸/, 23179 meridiemHour: function (hour, meridiem) { 23180 if (hour === 12) { 23181 hour = 0; 23182 } 23183 if (meridiem === '忍' || meridiem === 'æ©ä¸' || meridiem === 'ä¸å') { 23184 return hour; 23185 } else if (meridiem === 'ä¸å') { 23186 return hour >= 11 ? hour : hour + 12; 23187 } else if (meridiem === 'ä¸å' || meridiem === 'æä¸') { 23188 return hour + 12; 23189 } 23190 }, 23191 meridiem: function (hour, minute, isLower) { 23192 var hm = hour * 100 + minute; 23193 if (hm < 600) { 23194 return '忍'; 23195 } else if (hm < 900) { 23196 return 'æ©ä¸'; 23197 } else if (hm < 1200) { 23198 return 'ä¸å'; 23199 } else if (hm === 1200) { 23200 return 'ä¸å'; 23201 } else if (hm < 1800) { 23202 return 'ä¸å'; 23203 } else { 23204 return 'æä¸'; 23205 } 23206 }, 23207 calendar: { 23208 sameDay: '[ä»å¤©]LT', 23209 nextDay: '[æå¤©]LT', 23210 nextWeek: '[ä¸]ddddLT', 23211 lastDay: '[æ¨å¤©]LT', 23212 lastWeek: '[ä¸]ddddLT', 23213 sameElse: 'L', 23214 }, 23215 dayOfMonthOrdinalParse: /\d{1,2}(æ¥|æ|é±)/, 23216 ordinal: function (number, period) { 23217 switch (period) { 23218 case 'd': 23219 case 'D': 23220 case 'DDD': 23221 return number + 'æ¥'; 23222 case 'M': 23223 return number + 'æ'; 23224 case 'w': 23225 case 'W': 23226 return number + 'é±'; 23227 default: 23228 return number; 23229 } 23230 }, 23231 relativeTime: { 23232 future: '%så¾', 23233 past: '%så', 23234 s: 'å¹¾ç§', 23235 ss: '%d ç§', 23236 m: '1 åé', 23237 mm: '%d åé', 23238 h: '1 å°æ', 23239 hh: '%d å°æ', 23240 d: '1 天', 23241 dd: '%d 天', 23242 M: '1 åæ', 23243 MM: '%d åæ', 23244 y: '1 å¹´', 23245 yy: '%d å¹´', 23246 }, 23247 }); 23248 23249 return zhHk; 23250 23251 }))); 23252 23253 23254/***/ }), 23255/* 157 */ 23256/***/ (function(module, exports, __webpack_require__) { 23257 23258 //! moment.js locale configuration 23259 //! locale : Chinese (Macau) [zh-mo] 23260 //! author : Ben : https://github.com/ben-lin 23261 //! author : Chris Lam : https://github.com/hehachris 23262 //! author : Tan Yuanhong : https://github.com/le0tan 23263 23264 ;(function (global, factory) { 23265 true ? factory(__webpack_require__(1)) : 23266 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 23267 factory(global.moment) 23268 }(this, (function (moment) { 'use strict'; 23269 23270 //! moment.js locale configuration 23271 23272 var zhMo = moment.defineLocale('zh-mo', { 23273 months: '䏿_äºæ_䏿_åæ_äºæ_å æ_䏿_å «æ_乿_åæ_å䏿_åäºæ'.split( 23274 '_' 23275 ), 23276 monthsShort: '1æ_2æ_3æ_4æ_5æ_6æ_7æ_8æ_9æ_10æ_11æ_12æ'.split( 23277 '_' 23278 ), 23279 weekdays: 'æææ¥_ææä¸_ææäº_ææä¸_ææå_ææäº_ææå '.split('_'), 23280 weekdaysShort: '鱿¥_é±ä¸_é±äº_é±ä¸_é±å_é±äº_é±å '.split('_'), 23281 weekdaysMin: 'æ¥_ä¸_äº_ä¸_å_äº_å '.split('_'), 23282 longDateFormat: { 23283 LT: 'HH:mm', 23284 LTS: 'HH:mm:ss', 23285 L: 'DD/MM/YYYY', 23286 LL: 'YYYYå¹´MæDæ¥', 23287 LLL: 'YYYYå¹´MæDæ¥ HH:mm', 23288 LLLL: 'YYYYå¹´MæDæ¥dddd HH:mm', 23289 l: 'D/M/YYYY', 23290 ll: 'YYYYå¹´MæDæ¥', 23291 lll: 'YYYYå¹´MæDæ¥ HH:mm', 23292 llll: 'YYYYå¹´MæDæ¥dddd HH:mm', 23293 }, 23294 meridiemParse: /忍|æ©ä¸|ä¸å|ä¸å|ä¸å|æä¸/, 23295 meridiemHour: function (hour, meridiem) { 23296 if (hour === 12) { 23297 hour = 0; 23298 } 23299 if (meridiem === '忍' || meridiem === 'æ©ä¸' || meridiem === 'ä¸å') { 23300 return hour; 23301 } else if (meridiem === 'ä¸å') { 23302 return hour >= 11 ? hour : hour + 12; 23303 } else if (meridiem === 'ä¸å' || meridiem === 'æä¸') { 23304 return hour + 12; 23305 } 23306 }, 23307 meridiem: function (hour, minute, isLower) { 23308 var hm = hour * 100 + minute; 23309 if (hm < 600) { 23310 return '忍'; 23311 } else if (hm < 900) { 23312 return 'æ©ä¸'; 23313 } else if (hm < 1130) { 23314 return 'ä¸å'; 23315 } else if (hm < 1230) { 23316 return 'ä¸å'; 23317 } else if (hm < 1800) { 23318 return 'ä¸å'; 23319 } else { 23320 return 'æä¸'; 23321 } 23322 }, 23323 calendar: { 23324 sameDay: '[ä»å¤©] LT', 23325 nextDay: '[æå¤©] LT', 23326 nextWeek: '[ä¸]dddd LT', 23327 lastDay: '[æ¨å¤©] LT', 23328 lastWeek: '[ä¸]dddd LT', 23329 sameElse: 'L', 23330 }, 23331 dayOfMonthOrdinalParse: /\d{1,2}(æ¥|æ|é±)/, 23332 ordinal: function (number, period) { 23333 switch (period) { 23334 case 'd': 23335 case 'D': 23336 case 'DDD': 23337 return number + 'æ¥'; 23338 case 'M': 23339 return number + 'æ'; 23340 case 'w': 23341 case 'W': 23342 return number + 'é±'; 23343 default: 23344 return number; 23345 } 23346 }, 23347 relativeTime: { 23348 future: '%så §', 23349 past: '%så', 23350 s: 'å¹¾ç§', 23351 ss: '%d ç§', 23352 m: '1 åé', 23353 mm: '%d åé', 23354 h: '1 å°æ', 23355 hh: '%d å°æ', 23356 d: '1 天', 23357 dd: '%d 天', 23358 M: '1 åæ', 23359 MM: '%d åæ', 23360 y: '1 å¹´', 23361 yy: '%d å¹´', 23362 }, 23363 }); 23364 23365 return zhMo; 23366 23367 }))); 23368 23369 23370/***/ }), 23371/* 158 */ 23372/***/ (function(module, exports, __webpack_require__) { 23373 23374 //! moment.js locale configuration 23375 //! locale : Chinese (Taiwan) [zh-tw] 23376 //! author : Ben : https://github.com/ben-lin 23377 //! author : Chris Lam : https://github.com/hehachris 23378 23379 ;(function (global, factory) { 23380 true ? factory(__webpack_require__(1)) : 23381 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 23382 factory(global.moment) 23383 }(this, (functi
23383on (moment) { 'use strict'; 23384 23385 //! moment.js locale configuration 23386 23387 var zhTw = moment.defineLocale('zh-tw', { 23388 months: '䏿_äºæ_䏿_åæ_äºæ_å æ_䏿_å «æ_乿_åæ_å䏿_åäºæ'.split( 23389 '_' 23390 ), 23391 monthsShort: '1æ_2æ_3æ_4æ_5æ_6æ_7æ_8æ_9æ_10æ_11æ_12æ'.split( 23392 '_' 23393 ), 23394 weekdays: 'æææ¥_ææä¸_ææäº_ææä¸_ææå_ææäº_ææå '.split('_'), 23395 weekdaysShort: '鱿¥_é±ä¸_é±äº_é±ä¸_é±å_é±äº_é±å '.split('_'), 23396 weekdaysMin: 'æ¥_ä¸_äº_ä¸_å_äº_å '.split('_'), 23397 longDateFormat: { 23398 LT: 'HH:mm', 23399 LTS: 'HH:mm:ss', 23400 L: 'YYYY/MM/DD', 23401 LL: 'YYYYå¹´MæDæ¥', 23402 LLL: 'YYYYå¹´MæDæ¥ HH:mm', 23403 LLLL: 'YYYYå¹´MæDæ¥dddd HH:mm', 23404 l: 'YYYY/M/D', 23405 ll: 'YYYYå¹´MæDæ¥', 23406 lll: 'YYYYå¹´MæDæ¥ HH:mm', 23407 llll: 'YYYYå¹´MæDæ¥dddd HH:mm', 23408 }, 23409 meridiemParse: /忍|æ©ä¸|ä¸å|ä¸å|ä¸å|æä¸/, 23410 meridiemHour: function (hour, meridiem) { 23411 if (hour === 12) { 23412 hour = 0; 23413 } 23414 if (meridiem === '忍' || meridiem === 'æ©ä¸' || meridiem === 'ä¸å') { 23415 return hour; 23416 } else if (meridiem === 'ä¸å') { 23417 return hour >= 11 ? hour : hour + 12; 23418 } else if (meridiem === 'ä¸å' || meridiem === 'æä¸') { 23419 return hour + 12; 23420 } 23421 }, 23422 meridiem: function (hour, minute, isLower) { 23423 var hm = hour * 100 + minute; 23424 if (hm < 600) { 23425 return '忍'; 23426 } else if (hm < 900) { 23427 return 'æ©ä¸'; 23428 } else if (hm < 1130) { 23429 return 'ä¸å'; 23430 } else if (hm < 1230) { 23431 return 'ä¸å'; 23432 } else if (hm < 1800) { 23433 return 'ä¸å'; 23434 } else { 23435 return 'æä¸'; 23436 } 23437 }, 23438 calendar: { 23439 sameDay: '[ä»å¤©] LT', 23440 nextDay: '[æå¤©] LT', 23441 nextWeek: '[ä¸]dddd LT', 23442 lastDay: '[æ¨å¤©] LT', 23443 lastWeek: '[ä¸]dddd LT', 23444 sameElse: 'L', 23445 }, 23446 dayOfMonthOrdinalParse: /\d{1,2}(æ¥|æ|é±)/, 23447 ordinal: function (number, period) { 23448 switch (period) { 23449 case 'd': 23450 case 'D': 23451 case 'DDD': 23452 return number + 'æ¥'; 23453 case 'M': 23454 return number + 'æ'; 23455 case 'w': 23456 case 'W': 23457 return number + 'é±'; 23458 default: 23459 return number; 23460 } 23461 }, 23462 relativeTime: { 23463 future: '%så¾', 23464 past: '%så', 23465 s: 'å¹¾ç§', 23466 ss: '%d ç§', 23467 m: '1 åé', 23468 mm: '%d åé', 23469 h: '1 å°æ', 23470 hh: '%d å°æ', 23471 d: '1 天', 23472 dd: '%d 天', 23473 M: '1 åæ', 23474 MM: '%d åæ', 23475 y: '1 å¹´', 23476 yy: '%d å¹´', 23477 }, 23478 }); 23479 23480 return zhTw; 23481 23482 }))); 23483 23484 23485/***/ }), 23486/* 159 */ 23487/***/ (function(module, exports, __webpack_require__) { 23488 23489 var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;!function(i){"use strict"; true?!(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(2)], __WEBPACK_AMD_DEFINE_FACTORY__ = (i), __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ? (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)):"undefined"!=typeof exports?module.exports=i(require("jquery")):i(jQuery)}(function(i){"use strict";var e=window.Slick||{};(e=function(){var e=0;return function(t,o){var s,n=this;n.defaults={accessibility:!0,adaptiveHeight:!1,appendArrows:i(t),appendDots:i(t),arrows:!0,asNavFor:null,prevArrow:'<button class="slick-prev" aria-label="Previous" type="button">Previous</button>',nextArrow:'<button class="slick-next" aria-label="Next" type="button">Next</button>',autoplay:!1,autoplaySpeed:3e3,centerMode:!1,centerPadding:"50px",cssEase:"ease",customPaging:function(e,t){return i('<button type="button" />').text(t+1)},dots:!1,dotsClass:"slick-dots",draggable:!0,easing:"linear",edgeFriction:.35,fade:!1,focusOnSelect:!1,focusOnChange:!1,infinite:!0,initialSlide:0,lazyLoad:"ondemand",mobileFirst:!1,pauseOnHover:!0,pauseOnFocus:!0,pauseOnDotsHover:!1,respondTo:"window",responsive:null,rows:1,rtl:!1,slide:"",slidesPerRow:1,slidesToShow:1,slidesToScroll:1,speed:500,swipe:!0,swipeToSlide:!1,touchMove:!0,touchThreshold:5,useCSS:!0,useTransform:!0,variableWidth:!1,vertical:!1,verticalSwiping:!1,waitForAnimate:!0,zIndex:1e3},n.initials={animating:!1,dragging:!1,autoPlayTimer:null,currentDirection:0,currentLeft:null,currentSlide:0,direction:1,$dots:null,listWidth:null,listHeight:null,loadIndex:0,$nextArrow:null,$prevArrow:null,scrolling:!1,slideCount:null,slideWidth:null,$slideTrack:null,$slides:null,
vendor: 6,594 bytes, line 23489
23489sliding:!1,slideOffset:0,swipeLeft:null,swiping:!1,$list:null,touchObject:{},transformsEnabled:!1,unslicked:!1},i.extend(n,n.initials),n.activeBreakpoint=null,n.animType=null,n.animProp=null,n.breakpoints=[],n.breakpointSettings=[],n.cssTransitions=!1,n.focussed=!1,n.interrupted=!1,n.hidden="hidden",n.paused=!0,n.positionProp=null,n.respondTo=null,n.rowCount=1,n.shouldClick=!0,n.$slider=i(t),n.$slidesCache=null,n.transformType=null,n.transitionType=null,n.visibilityChange="visibilitychange",n.windowWidth=0,n.windowTimer=null,s=i(t).data("slick")||{},n.options=i.extend({},n.defaults,o,s),n.currentSlide=n.options.initialSlide,n.originalSettings=n.options,void 0!==document.mozHidden?(n.hidden="mozHidden",n.visibilityChange="mozvisibilitychange"):void 0!==document.webkitHidden&&(n.hidden="webkitHidden",n.visibilityChange="webkitvisibilitychange"),n.autoPlay=i.proxy(n.autoPlay,n),n.autoPlayClear=i.proxy(n.autoPlayClear,n),n.autoPlayIterator=i.proxy(n.autoPlayIterator,n),n.changeSlide=i.proxy(n.changeSlide,n),n.clickHandler=i.proxy(n.clickHandler,n),n.selectHandler=i.proxy(n.selectHandler,n),n.setPosition=i.proxy(n.setPosition,n),n.swipeHandler=i.proxy(n.swipeHandler,n),n.dragHandler=i.proxy(n.dragHandler,n),n.keyHandler=i.proxy(n.keyHandler,n),n.instanceUid=e++,n.htmlExpr=/^(?:\s*(<[\w\W]+>)[^>]*)$/,n.registerBreakpoints(),n.init(!0)}}()).prototype.activateADA=function(){this.$slideTrack.find(".slick-active").attr({"aria-hidden":"false"}).find("a, input, button, select").attr({tabindex:"0"})},e.prototype.addSlide=e.prototype.slickAdd=function(e,t,o){var s=this;if("boolean"==typeof t)o=t,t=null;else if(t<0||t>=s.slideCount)return!1;s.unload(),"number"==typeof t?0===t&&0===s.$slides.length?i(e).appendTo(s.$slideTrack):o?i(e).insertBefore(s.$slides.eq(t)):i(e).insertAfter(s.$slides.eq(t)):!0===o?i(e).prependTo(s.$slideTrack):i(e).appendTo(s.$slideTrack),s.$slides=s.$slideTrack.children(this.options.slide),s.$slideTrack.children(this.options.slide).detach(),s.$slideTrack.append(s.$slides),s.$slides.each(function(e,t){i(t).attr("data-slick-index",e)}),s.$slidesCache=s.$slides,s.reinit()},e.prototype.animateHeight=function(){var i=this;if(1===i.options.slidesToShow&&!0===i.options.adaptiveHeight&&!1===i.options.vertical){var e=i.$slides.eq(i.currentSlide).outerHeight(!0);i.$list.animate({height:e},i.options.speed)}},e.prototype.animateSlide=function(e,t){var o={},s=this;s.animateHeight(),!0===s.options.rtl&&!1===s.options.vertical&&(e=-e),!1===s.transformsEnabled?!1===s.options.vertical?s.$slideTrack.animate({left:e},s.options.speed,s.options.easing,t):s.$slideTrack.animate({top:e},s.options.speed,s.options.easing,t):!1===s.cssTransitions?(!0===s.options.rtl&&(s.currentLeft=-s.currentLeft),i({animStart:s.currentLeft}).animate({animStart:e},{duration:s.options.speed,easing:s.options.easing,step:function(i){i=Math.ceil(i),!1===s.options.vertical?(o[s.animType]="translate("+i+"px, 0px)",s.$slideTrack.css(o)):(o[s.animType]="translate(0px,"+i+"px)",s.$slideTrack.css(o))},complete:function(){t&&t.call()}})):(s.applyTransition(),e=Math.ceil(e),!1===s.options.vertical?o[s.animType]="translate3d("+e+"px, 0px, 0px)":o[s.animType]="translate3d(0px,"+e+"px, 0px)",s.$slideTrack.css(o),t&&setTimeout(function(){s.disableTransition(),t.call()},s.options.speed))},e.prototype.getNavTarget=function(){var e=this,t=e.options.asNavFor;return t&&null!==t&&(t=i(t).not(e.$slider)),t},e.prototype.asNavFor=function(e){var t=this.getNavTarget();null!==t&&"object"==typeof t&&t.each(function(){var t=i(this).slick("getSlick");t.unslicked||t.slideHandler(e,!0)})},e.prototype.applyTransition=function(i){var e=this,t={};!1===e.options.fade?t[e.transitionType]=e.transformType+" "+e.options.speed+"ms "+e.options.cssEase:t[e.transitionType]="opacity "+e.options.speed+"ms "+e.options.cssEase,!1===e.options.fade?e.$slideTrack.css(t):e.$slides.eq(i).css(t)},e.prototype.autoPlay=function(){var i=this;i.autoPlayClear(),i.slideCount>i.options.slidesToShow&&(i.autoPlayTimer=setInterval(i.autoPlayIterator,i.options.autoplaySpeed))},e.prototype.autoPlayClear=function(){var i=this;i.autoPlayTimer&&clearInterval(i.autoPlayTimer)},e.prototype.autoPlayIterator=function(){var i=this,e=i.currentSlide+i.options.slidesToScroll;i.paused||i.interrupted||i.focussed||(!1===i.options.infinite&&(1===i.direction&&i.currentSlide+1===i.slideCount-1?i.direction=0:0===i.direction&&(e=i.currentSlide-i.options.slidesToScroll,i.currentSlide-1==0&&(i.direction=1))),i.slideHandler(e))},e.prototype.buildArrows=function(){var e=this;!0===e.options.arrows&&(e.$prevArrow=i(e.options.prevArrow).addClass("slick-arrow"),e.$nextArrow=i(e.options.nextArrow).addClass("slick-arrow"),e.slideCount>e.options.slidesToShow?(e.$prevArrow.removeClass("slick-hidden").removeAttr("aria-hidden tabindex"),e.$nextArrow.removeClass("slick-hidden").removeAttr("aria-hidden tabindex"),e.htmlExpr.test(e.options.prevArrow)&&e.$prevArrow.prependTo(e.options.appendArrows),e.htmlExpr.test(e.options.nextArrow)&&e.$nextArrow.appendTo(e.options.appendArrows),!0!==e.options.infinite&&e.$prevArrow.addClass("slick-disabled").attr("aria-disabled","true")):e.$prevArrow.add(e.$nextArrow).addClass("slick-hidden").attr({"aria-disabled":"true",tabindex:"-1"}))},e.prototype.buildDots=function(){var e,t,o=this;if(!0===o.options.dots){for(o.$slider.addClass("slick-dotted"),t=i("<ul />").addClass(o.options.dotsClass),e=0;e<=o.getDotCount();e+=1)t.append(i("<li />").append(o.options.customPaging.call(this,o,e)));o.$dots=t.appendTo(o.options.appendDots),o.$dots.find("li").first().addClass("slick-active")}},e.prototype.buildOut=function(){var e=this;e.$slides=e.$slider.children(e.options.slide+":not(.slick-cloned)").addClass("slick-slide"),e.slideCount=e.$slides.length,e.$slides.each(function(e,t){i(t).attr("data-slick-index",e).data("originalStyling",i(t).attr("style")||"")}),e.$slider.addClass("slick-slider"),e.$slideTrack=0===e.slideCount?i('<div class="slick-track"/>').appendTo(e.$slider):e.$slides.wrapAll('<div class="slick-track"/>').parent(),e.$list=e.$slideTrack.wrap('<div class="slick-list"/>').parent(),e.$slideTrack.css("opacity",0),!0!==e.options.centerMode&&!0!==e.options.swipeToSlide||(e.options.slidesToScroll=1),i("img[data-lazy]",e.$slider).not("[src]").addClass("slick-loading"),e.setupInfinite(),e.buildArrows(),e.buildDots(),e.updateDots(),e.setSlideClasses("number"==typeof e.currentSlide?e.currentSlide:0),!0===e.options.draggable&&e.$list.addClass("draggable")},e.prototype.buildRows=function(){var i,e,t,o,s,n,r,l=this;if(o=document.createDocumentFragment(),n=l.$slider.children(),l.o
vendor: 3,442 bytes, line 23489
23489ptions.rows>1){for(r=l.options.slidesPerRow*l.options.rows,s=Math.ceil(n.length/r),i=0;i<s;i++){var d=document.createElement("div");for(e=0;e<l.options.rows;e++){var a=document.createElement("div");for(t=0;t<l.options.slidesPerRow;t++){var c=i*r+(e*l.options.slidesPerRow+t);n.get(c)&&a.appendChild(n.get(c))}d.appendChild(a)}o.appendChild(d)}l.$slider.empty().append(o),l.$slider.children().children().children().css({width:100/l.options.slidesPerRow+"%",display:"inline-block"})}},e.prototype.checkResponsive=function(e,t){var o,s,n,r=this,l=!1,d=r.$slider.width(),a=window.innerWidth||i(window).width();if("window"===r.respondTo?n=a:"slider"===r.respondTo?n=d:"min"===r.respondTo&&(n=Math.min(a,d)),r.options.responsive&&r.options.responsive.length&&null!==r.options.responsive){s=null;for(o in r.breakpoints)r.breakpoints.hasOwnProperty(o)&&(!1===r.originalSettings.mobileFirst?n<r.breakpoints[o]&&(s=r.breakpoints[o]):n>r.breakpoints[o]&&(s=r.breakpoints[o]));null!==s?null!==r.activeBreakpoint?(s!==r.activeBreakpoint||t)&&(r.activeBreakpoint=s,"unslick"===r.breakpointSettings[s]?r.unslick(s):(r.options=i.extend({},r.originalSettings,r.breakpointSettings[s]),!0===e&&(r.currentSlide=r.options.initialSlide),r.refresh(e)),l=s):(r.activeBreakpoint=s,"unslick"===r.breakpointSettings[s]?r.unslick(s):(r.options=i.extend({},r.originalSettings,r.breakpointSettings[s]),!0===e&&(r.currentSlide=r.options.initialSlide),r.refresh(e)),l=s):null!==r.activeBreakpoint&&(r.activeBreakpoint=null,r.options=r.originalSettings,!0===e&&(r.currentSlide=r.options.initialSlide),r.refresh(e),l=s),e||!1===l||r.$slider.trigger("breakpoint",[r,l])}},e.prototype.changeSlide=function(e,t){var o,s,n,r=this,l=i(e.currentTarget);switch(l.is("a")&&e.preventDefault(),l.is("li")||(l=l.closest("li")),n=r.slideCount%r.options.slidesToScroll!=0,o=n?0:(r.slideCount-r.currentSlide)%r.options.slidesToScroll,e.data.message){case"previous":s=0===o?r.options.slidesToScroll:r.options.slidesToShow-o,r.slideCount>r.options.slidesToShow&&r.slideHandler(r.currentSlide-s,!1,t);break;case"next":s=0===o?r.options.slidesToScroll:o,r.slideCount>r.options.slidesToShow&&r.slideHandler(r.currentSlide+s,!1,t);break;case"index":var d=0===e.data.index?0:e.data.index||l.index()*r.options.slidesToScroll;r.slideHandler(r.checkNavigable(d),!1,t),l.children().trigger("focus");break;default:return}},e.prototype.checkNavigable=function(i){var e,t;if(e=this.getNavigableIndexes(),t=0,i>e[e.length-1])i=e[e.length-1];else for(var o in e){if(i<e[o]){i=t;break}t=e[o]}return i},e.prototype.cleanUpEvents=function(){var e=this;e.options.dots&&null!==e.$dots&&(i("li",e.$dots).off("click.slick",e.changeSlide).off("mouseenter.slick",i.proxy(e.interrupt,e,!0)).off("mouseleave.slick",i.proxy(e.interrupt,e,!1)),!0===e.options.accessibility&&e.$dots.off("keydown.slick",e.keyHandler)),e.$slider.off("focus.slick blur.slick"),!0===e.options.arrows&&e.slideCount>e.options.slidesToShow&&(e.$prevArrow&&e.$prevArrow.off("click.slick",e.changeSlide),e.$nextArrow&&e.$nextArrow.off("click.slick",e.changeSlide),!0===e.options.accessibility&&(e.$prevArrow&&e.$prevArrow.off("keydown.slick",e.keyHandler),e.$nextArrow&&e.$nextArrow.off("keydown.slick",e.keyHandler))),e.$list.off("touchstart.slick mousedown.slick",e.swipeHandler),e.$list.off("touchmove.slick mousemove.slick",e.swipeHandler),e.$list.off("touchend.slick mouseup.slick",e.swipeHandler),e.$list.off("touchcancel.slick mouseleave.
23489slick",e.swipeHandler),e.$list.off("click.slick",e.clickHandler),i(document).off(e.visibilityChange,e.visibility),e.cleanUpSlideEvents(),!0===e.options.accessibility&&e.$list.off("keydown.slick",e.keyHandler),!0===e.options.focusOnSelect&&i(e.$slideTrack).children().off("click.slick",e.selectHandler),i(window).off("orientationchange.slick.slick-"+e.instanceUid,e.orientationChange),i(window).off("resize.slick.slick-"+e.instanceUid,e.resize),i("[draggable!=true]",e.$slideTrack).off("dragstart",e.preventDefault),i(window).off("load.slick.slick-"+e.instanceUid,e.setPosition)},e.prototype.cleanUpSlideEvents=function(){var e=this;e.$list.off("mouseenter.slick",i.proxy(e.interrupt,e,!0)),e.$list.off("mouseleave.slick",i.proxy(e.interrupt,e,!1))},e.prototype.cleanUpRows=function(){var i,e=this;e.options.rows>1&&((i=e.$slides.children().children()).removeAttr("style"),e.$slider.empty().append(i))},e.prototype.clickHandler=function(i){!1===this.shouldClick&&(i.stopImmediatePropagation(),i.stopPropagation(),i.preventDefault())},e.prototype.destroy=function(e){var t=this;t.autoPlayClear(),t.touchObject={},t.cleanUpEvents(),i(".slick-cloned",t.$slider).detach(),t.$dots&&t.$dots.remove(),t.$prevArrow&&t.$prevArrow.length&&(t.$prevArrow.removeClass("slick-disabled slick-arrow slick-hidden").removeAttr("aria-hidden aria-disabled tabindex").css("display",""),t.htmlExpr.test(t.options.prevArrow)&&t.$prevArrow.remove()),t.$nextArrow&&t.$nextArrow.length&&(t.$nextArrow.removeClass("slick-disabled slick-arrow slick-hidden").removeAttr("aria-hidden aria-disabled tabindex").css("display",""),t.htmlExpr.test(t.options.nextArrow)&&t.$nextArrow.remove()),t.$slides&&(t.$slides.removeClass("slick-slide slick-active slick-center slick-visible slick-current").removeAttr("aria-hidden").removeAttr("data-slick-index").each(function(){i(this).attr("style",i(this).data("originalStyling"))}),t.$slideTrack.children(this.options.slide).detach(),t.$slideTrack.detach(),t.$list.detach(),t.$slider.append(t.$slides)),t.cleanUpRows(),t.$slider.removeClass("slick-slider"),t.$slider.removeClass("slick-initialized"),t.$slider.removeClass("slick-dotted"),t.unslicked=!0,e||t.$slider.trigger("destroy",[t])},e.prototype.disableTransition=function(i){var e=this,t={};t[e.transitionType]="",!1===e.options.fade?e.$slideTrack.css(t):e.$slides.eq(i).css(t)},e.prototype.fadeSlide=function(i,e){var t=this;!1===t.cssTransitions?(t.$slides.eq(i).css({zIndex:t.options.zIndex}),t.$slides.eq(i).animate({opacity:1},t.options.speed,t.options.easing,e)):(t.applyTransition(i),t.$slides.eq(i).css({opacity:1,zIndex:t.options.zIndex}),e&&setTimeout(function(){t.disableTransition(i),e.call()},t.options.speed))},e.prototype.fadeSlideOut=function(i){var e=this;!1===e.cssTransitions?e.$slides.eq(i).animate({opacity:0,zIndex:e.options.zIndex-2},e.options.speed,e.options.easing):(e.applyTransition(i),e.$slides.eq(i).css({opacity:0,zIndex:e.options.zIndex-2}))},e.prototype.filterSlides=e.prototype.slickFilter=function(i){var e=this;null!==i&&(e.$slidesCache=e.$slides,e.unload(),e.$slideTrack.children(this.options.slide).detach(),e.$slidesCache.filter(i).appendTo(e.$slideTrack),e.reinit())},e.prototype.focusHandler=function(){var e=this;e.$slider.off("focus.slick blur.slick").on("focus.slick blur.slick","*",function(t){t.stopImmediatePropagation();var o=i(this);setTimeout(function(){e.options.pauseOnFocus&&(e.focussed=o.is(":focus"),e.autoPlay())},0)})},e.prototype.getCurrent=e.prototype.slickCurrentSlide=function(){return this.currentSlide},e.prototype.getDotCount=function(){var i=this,e=0,t=0,o=0;if(!0===i.options.infinite)if(i.slideCount<=i.options.slidesToShow)++o;else for(;e<i.slideCount;)++o,e=t+i.options.slidesToScroll,t+=i.options.slidesToScroll<=i.options.slidesToShow?i.options.slidesToScroll:i.options.slidesToShow;else if(!0===i.options.centerMode)o=i.slideCount;else if(i.options.asNavFor)for(;e<i.slideCount;)++o,e=t+i.options.slidesToScroll,t+=i.options.slidesToScroll<=i.options.slidesToShow?i.options.slidesToScroll:i.options.slidesToShow;else o=1+Math.ceil((i.slideCount-i.options.slidesToShow)/i.options.slidesToScroll);return o-1},e.prototype.getLeft=function(i){var e,t,o,s,n=this,r=0;return n.slideOffset=0,t=n.$slides.first().outerHeight(!0),!0===n.options.infinite?(n.slideCount>n.options.slidesToShow&&(n.slideOffset=n.slideWidth*n.options.slidesToShow*-1,s=-1,!0===n.options.vertical&&!0===n.options.centerMode&&(2===n.options.slidesToShow?s=-1.5:1===n.options.slidesToShow&&(s=-2)),r=t*n.options.slidesToShow*s),n.slideCount%n.options.slidesToScroll!=0&&i+n.options.slidesToScroll>n.slideCount&&n.slideCount>n.options.slidesToShow&&(i>n.slideCount?(n.slideOffset=(n.options.slidesToShow-(i-n.slideCount))*n.slideWidth*-1,r=(n.options.slidesToShow-(i-n.slideCount))*t*-1):(n.slideOffset=n.slideCount%n.options.slidesToScroll*n.slideWidth*-1,r=n.slideCount%n.options.slidesToScroll*t*-1))):i+n.options.slidesToShow>n.slideCount&&(n.slideOffset=(i+n.options.slidesToShow-n.slideCount)*n.slideWidth,r=(i+n.options.slidesToShow-n.slideCount)*t),n.slideCount<=n.options.slidesToShow&&(n.slideOffset=0,r=0),!0===n.options.centerMode&&n.slideCount<=n.options.slidesToShow?n.slideOffset=n.slideWidth*Math.floor(n.options.slidesToShow)/2-n.slideWidth*n.slideCount/2:!0===n.options.centerMode&&!0===n.options.infinite?n.slideOffset+=n.slideWidth*Math.floor(n.options.slidesToShow/2)-n.slideWidth:!0===n.options.centerMode&&(n.slideOffset=0,n.slideOffset+=n.slideWidth*Math.floor(n.options.slidesToShow/2)),e=!1===n.options.vertical?i*n.slideWidth*-1+n.slideOffset:i*t*-1+r,!0===n.options.variableWidth&&(o=n.slideCount<=n.options.slidesToShow||!1===n.options.infinite?n.$slideTrack.children(".slick-slide").eq(i):n.$slideTrack.children(".slick-slide").eq(i+n.options.slidesToShow),e=!0===n.options.rtl?o[0]?-1*(n.$slideTrack.width()-o[0].offsetLeft-o.width()):0:o[0]?-1*o[0].offsetLeft:0,!0===n.options.centerMode&&(o=n.slideCount<=n.options.slidesToShow||!1===n.options.infinite?n.$slideTrack.children(".slick-slide").eq(i):n.$slideTrack.children(".slick-slide").eq(i+n.options.slidesToShow+1),e=!0===n.options.rtl?o[0]?-1*(n.$slideTrack.width()-o[0].offsetLeft-o.width()):0:o[0]?-1*o[0].offsetLeft:0,e+=(n.$list.width()-o.outerWidth())/2)),e},e.prototype.getOption=e.prototype.slickGetOption=function(i){return this.options[i]},e.prototype.getNavigableIndexes=function(){var i,e=this,t=0,o=0,s=[];for(!1===e.options.infinite?i=e.slideCount:(t=-1*e.options.slidesToScroll,o=-1*e.options.slidesToScroll,i=2*e.slideCount);t<i;)s.push(t),t=o+e.options.slidesToScroll,o+=e.options.slidesToScroll<=e.options.slidesToShow?e.options.slidesToScroll:e.options.slidesToShow;return s},e.prototype.getSlick=function(){return this},e.prototype.getSlideCount=function(){var e,t,o=this;return t=!0===o.options.centerMode?o.slideWidth*Math.floor(o.options.slidesToShow/2):0,!0===o.options.swipeToSlide?(o.$slideTrack.find(".slick-slide").each(function(s,n){if(n.offsetLeft-t+i(n).outerWidth()/2>-1*o.swipeLeft)return e=n,!1}),Math.abs(i(e).attr("data-slick-index")-o.currentSlide)||1):o.options.slidesToScroll},e.prototype.goTo=e.prototype.slickGoTo=function(i,e){this.changeSlide({data:{message:"index",index:
23489parseInt(i)}},e)},e.prototype.init=function(e){var t=this;i(t.$slider).hasClass("slick-initialized")||(i(t.$slider).addClass("slick-initialized"),t.buildRows(),t.buildOut(),t.setProps(),t.startLoad(),t.loadSlider(),t.initializeEvents(),t.updateArrows(),t.updateDots(),t.checkResponsive(!0),t.focusHandler()),e&&t.$slider.trigger("init",[t]),!0===t.options.accessibility&&t.initADA(),t.options.autoplay&&(t.paused=!1,t.autoPlay())},e.prototype.initADA=function(){var e=this,t=Math.ceil(e.slideCount/e.options.slidesToShow),o=e.getNavigableIndexes().filter(function(i){return i>=0&&i<e.slideCount});e.$slides.add(e.$slideTrack.find(".slick-cloned")).attr({"aria-hidden":"true",tabindex:"-1"}).find("a, input, button, select").attr({tabindex:"-1"}),null!==e.$dots&&(e.$slides.not(e.$slideTrack.find(".slick-cloned")).each(function(t){var s=o.indexOf(t);i(this).attr({role:"tabpanel",id:"slick-slide"+e.instanceUid+t,tabindex:-1}),-1!==s&&i(this).attr({"aria-describedby":"slick-slide-control"+e.instanceUid+s})}),e.$dots.attr("role","tablist").find("li").each(function(s){var n=o[s];i(this).attr({role:"presentation"}),i(this).find("button").first().attr({role:"tab",id:"slick-slide-control"+e.instanceUid+s,"aria-controls":"slick-slide"+e.instanceUid+n,"aria-label":s+1+" of "+t,"aria-selected":null,tabindex:"-1"})}).eq(e.currentSlide).find("button").attr({"aria-selected":"true",tabindex:"0"}).end());for(var s=e.currentSlide,n=s+e.options.slidesToShow;s<n;s++)e.$slides.eq(s).attr("tabindex",0);e.activateADA()},e.prototype.initArrowEvents=function(){var i=this;!0===i.options.arrows&&i.slideCount>i.options.slidesToShow&&(i.$prevArrow.off("click.slick").on("click.slick",{message:"previous"},i.changeSlide),i.$nextArrow.off("click.slick").on("click.slick",{message:"next"},i.changeSlide),!0===i.options.accessibility&&(i.$prevArrow.on("keydown.slick",i.keyHandler),i.$nextArrow.on("keydown.slick",i.keyHandler)))},e.prototype.initDotEvents=function(){var e=this;!0===e.options.dots&&(i("li",e.$dots).on("click.slick",{message:"index"},e.changeSlide),!0===e.options.accessibility&&e.$dots.on("keydown.slick",e.keyHandler)),!0===e.options.dots&&!0===e.options.pauseOnDotsHover&&i("li",e.$dots).on("mouseenter.slick",i.proxy(e.interrupt,e,!0)).on("mouseleave.slick",i.proxy(e.interrupt,e,!1))},e.prototype.initSlideEvents=function(){var e=this;e.options.pauseOnHover&&(e.$list.on("mouseenter.slick",i.proxy(e.interrupt,e,!0)),e.$list.on("mouseleave.slick",i.proxy(e.interrupt,e,!1)))},e.prototype.initializeEvents=function(){var e=this;e.initArrowEvents(),e.initDotEvents(),e.initSlideEvents(),e.$list.on("touchstart.slick mousedown.slick",{action:"start"},e.swipeHandler),e.$list.on("touchmove.slick mousemove.slick",{action:"move"},e.swipeHandler),e.$list.on("touchend.slick mouseup.slick",{action:"end"}
23489,e.swipeHandler),e.$list.on("touchcancel.slick mouseleave.slick",{action:"end"},e.swipeHandler),e.$list.on("click.slick",e.clickHandler),i(document).on(e.visibilityChange,i.proxy(e.visibility,e)),!0===e.options.accessibility&&e.$list.on("keydown.slick",e.keyHandler),!0===e.options.focusOnSelect&&i(e.$slideTrack).children().on("click.slick",e.selectHandler),i(window).on("orientationchange.slick.slick-"+e.instanceUid,i.proxy(e.orientationChange,e)),i(window).on("resize.slick.slick-"+e.instanceUid,i.proxy(e.resize,e)),i("[draggable!=true]",e.$slideTrack).on("dragstart",e.preventDefault),i(window).on("load.slick.slick-"+e.instanceUid,e.setPosition),i(e.setPosition)},e.prototype.initUI=function(){var i=this;!0===i.options.arrows&&i.slideCount>i.options.slidesToShow&&(i.$prevArrow.show(),i.$nextArrow.show()),!0===i.options.dots&&i.slideCount>i.options.slidesToShow&&i.$dots.show()},e.prototype.keyHandler=function(i){var e=this;i.target.tagName.match("TEXTAREA|INPUT|SELECT")||(37===i.keyCode&&!0===e.options.accessibility?e.changeSlide({data:{message:!0===e.options.rtl?"next":"previous"}}):39===i.keyCode&&!0===e.options.accessibility&&e.changeSlide({data:{message:!0===e.options.rtl?"previous":"next"}}))},e.prototype.lazyLoad=function(){function e(e){i("img[data-lazy]",e).each(function(){var e=i(this),t=i(this).attr("data-lazy"),o=i(this).attr("data-srcset"),s=i(this).attr("data-sizes")||n.$slider.attr("data-sizes"),r=document.createElement("img");r.onload=function(){e.animate({opacity:0}
vendor: 5,619 bytes, line 23489
23489,100,function(){o&&(e.attr("srcset",o),s&&e.attr("sizes",s)),e.attr("src",t).animate({opacity:1},200,function(){e.removeAttr("data-lazy data-srcset data-sizes").removeClass("slick-loading")}),n.$slider.trigger("lazyLoaded",[n,e,t])})},r.onerror=function(){e.removeAttr("data-lazy").removeClass("slick-loading").addClass("slick-lazyload-error"),n.$slider.trigger("lazyLoadError",[n,e,t])},r.src=t})}var t,o,s,n=this;if(!0===n.options.centerMode?!0===n.options.infinite?s=(o=n.currentSlide+(n.options.slidesToShow/2+1))+n.options.slidesToShow+2:(o=Math.max(0,n.currentSlide-(n.options.slidesToShow/2+1)),s=n.options.slidesToShow/2+1+2+n.currentSlide):(o=n.options.infinite?n.options.slidesToShow+n.currentSlide:n.currentSlide,s=Math.ceil(o+n.options.slidesToShow),!0===n.options.fade&&(o>0&&o--,s<=n.slideCount&&s++)),t=n.$slider.find(".slick-slide").slice(o,s),"anticipated"===n.options.lazyLoad)for(var r=o-1,l=s,d=n.$slider.find(".slick-slide"),a=0;a<n.options.slidesToScroll;a++)r<0&&(r=n.slideCount-1),t=(t=t.add(d.eq(r))).add(d.eq(l)),r--,l++;e(t),n.slideCount<=n.options.slidesToShow?e(n.$slider.find(".slick-slide")):n.currentSlide>=n.slideCount-n.options.slidesToShow?e(n.$slider.find(".slick-cloned").slice(0,n.options.slidesToShow)):0===n.currentSlide&&e(n.$slider.find(".slick-cloned").slice(-1*n.options.slidesToShow))},e.prototype.loadSlider=function(){var i=this;i.setPosition(),i.$slideTrack.css({opacity:1}),i.$slider.removeClass("slick-loading"),i.initUI(),"progressive"===i.options.lazyLoad&&i.progressiveLazyLoad()},e.prototype.next=e.prototype.slickNext=function(){this.changeSlide({data:{message:"next"}})},e.prototype.orientationChange=function(){var i=this;i.checkResponsive(),i.setPosition()},e.prototype.pause=e.prototype.slickPause=function(){var i=this;i.autoPlayClear(),i.paused=!0},e.prototype.play=e.prototype.slickPlay=function(){var i=this;i.autoPlay(),i.options.autoplay=!0,i.paused=!1,i.focussed=!1,i.interrupted=!1},e.prototype.postSlide=function(e){var t=this;t.unslicked||(t.$slider.trigger("afterChange",[t,e]),t.animating=!1,t.slideCount>t.options.slidesToShow&&t.setPosition(),t.swipeLeft=null,t.options.autoplay&&t.autoPlay(),!0===t.options.accessibility&&(t.initADA(),t.options.focusOnChange&&i(t.$slides.get(t.currentSlide)).attr("tabindex",0).focus()))},e.prototype.prev=e.prototype.slickPrev=function(){this.changeSlide({data:{message:"previous"}})},e.prototype.preventDefault=function(i){i.preventDefault()},e.prototype.progressiveLazyLoad=function(e){e=e||1;var t,o,s,n,r,l=this,d=i("img[data-lazy]",l.$slider);d.length?(t=d.first(),o=t.attr("data-lazy"),s=t.attr("data-srcset"),n=t.attr("data-sizes")||l.$slider.attr("data-sizes"),(r=document.createElement("img")).onload=function(){s&&(t.attr("srcset",s),n&&t.attr("sizes",n)),t.attr("src",o).removeAttr("data-lazy data-srcset data-sizes").removeClass("slick-loading"),!0===l.options.adaptiveHeight&&l.setPosition(),l.$slider.trigger("lazyLoaded",[l,t,o]),l.progressiveLazyLoad()},r.onerror=function(){e<3?setTimeout(function(){l.progressiveLazyLoad(e+1)},500):(t.removeAttr("data-lazy").removeClass("slick-loading").addClass("slick-lazyload-error"),l.$slider.trigger("lazyLoadError",[l,t,o]),l.progressiveLazyLoad())},r.src=o):l.$slider.trigger("allImagesLoaded",[l])},e.prototype.refresh=function(e){var t,o,s=this;o=s.slideCount-s.options.slidesToShow,!s.options.infinite&&s.currentSlide>o&&(s.currentSlide=o),s.slideCount<=s.options.slidesToShow&&(s.currentSlide=0),t=s.currentSlide,s.destroy(!0),i.extend(s,s.initials,{currentSlide:t}),s.init(),e||s.changeSlide({data:{message:"index",index:t}},!1)},e.prototype.registerBreakpoints=function(){var e,t,o,s=this,n=s.options.responsive||null;if("array"===i.type(n)&&n.length){s.respondTo=s.options.respondTo||"window";for(e in n)if(o=s.breakpoints.length-1,n.hasOwnProperty(e)){for(t=n[e].breakpoint;o>=0;)s.breakpoints[o]&&s.breakpoints[o]===t&&s.breakpoints.splice(o,1),o--;s.breakpoints.push(t),s.breakpointSettings[t]=n[e].settings}s.breakpoints.sort(function(i,e){return s.options.mobileFirst?i-e:e-i})}},e.prototype.reinit=function(){var e=this;e.$slides=e.$slideTrack.children(e.options.slide).addClass("slick-slide"),e.slideCount=e.$slides.length,e.currentSlide>=e.slideCount&&0!==e.currentSlide&&(e.currentSlide=e.currentSlide-e.options.slidesToScroll),e.slideCount<=e.options.slidesToShow&&(e.currentSlide=0),e.registerBreakpoints(),e.setProps(),e.setupInfinite(),e.buildArrows(),e.updateArrows(),e.initArrowEvents(),e.buildDots(),e.updateDots(),e.initDotEvents(),e.cleanUpSlideEvents(),e.initSlideEvents(),e.checkResponsive(!1,!0),!0===e.options.focusOnSelect&&i(e.$slideTrack).children().on("click.slick",e.selectHandler),e.setSlideClasses("number"==typeof e.currentSlide?e.currentSlide:0),e.setPosition(),e.focusHandler(),e.paused=!e.options.autoplay,e.autoPlay(),e.$slider.trigger("reInit",[e])},e.prototype.resize=function(){var e=this;i(window).width()!==e.windowWidth&&(clearTimeout(e.windowDelay),e.windowDelay=window.setTimeout(function(){e.windowWidth=i(window).width(),e.checkResponsive(),e.unslicked||e.setPosition()},50))},e.prototype.removeSlide=e.prototype.slickRemove=function(i,e,t){var o=this;if(i="boolean"==typeof i?!0===(e=i)?0:o.slideCount-1:!0===e?--i:i,o.slideCount<1||i<0||i>o.slideCount-1)return!1;o.unload(),!0===t?o.$slideTrack.children().remove():o.$slideTrack.children(this.options.slide).eq(i).remove(),o.$slides=o.$slideTrack.children(this.options.slide),o.$slideTrack.children(this.options.slide).detach(),o.$slideTrack.append(o.$slides),o.$slidesCache=o.$slides,o.reinit()},e.prototype.setCSS=function(i){var e,t,o=this,s={};
23489!0===o.options.rtl&&(i=-i),e="left"==o.positionProp?Math.ceil(i)+"px":"0px",t="top"==o.positionProp?Math.ceil(i)+"px":"0px",s[o.positionProp]=i,!1===o.transformsEnabled?o.$slideTrack.css(s):(s={},!1===o.cssTransitions?(s[o.animType]="translate("+e+", "+t+")",o.$slideTrack.css(s)):(s[o.animType]="translate3d("+e+", "+t+", 0px)",o.$slideTrack.css(s)))},e.prototype.setDimensions=function(){var i=this;!1===i.options.vertical?!0===i.options.centerMode&&i.$list.css({padding:"0px "+i.options.centerPadding}):(i.$list.height(i.$slides.first().outerHeight(!0)*i.options.slidesToShow),!0===i.options.centerMode&&i.$list.css({padding:i.options.centerPadding+" 0px"})),i.listWidth=i.$list.width(),i.listHeight=i.$list.height(),!1===i.options.vertical&&!1===i.options.variableWidth?(i.slideWidth=Math.ceil(i.listWidth/i.options.slidesToShow),i.$slideTrack.width(Math.ceil(i.slideWidth*i.$slideTrack.children(".slick-slide").length))):!0===i.options.variableWidth?i.$slideTrack.width(5e3*i.slideCount):(i.slideWidth=Math.ceil(i.listWidth),i.$slideTrack.height(Math.ceil(i.$slides.first().outerHeight(!0)*i.$slideTrack.children(".slick-slide").length)));var e=i.$slides.first().outerWidth(!0)-i.$slides.first().width();!1===i.options.variableWidth&&i.$slideTrack.children(".slick-slide").width(i.slideWidth-e)},e.prototype.setFade=function(){var e,t=this;t.$slides.each(function(o,s){e=t.slideWidth*o*-1,!0===t.options.rtl?i(s).css({position:"relative",right:e,top:0,zIndex:t.options.zIndex-2,opacity:0}
23489):i(s).css({position:"relative",left:e,top:0,zIndex:t.options.zIndex-2,opacity:0})}),t.$slides.eq(t.currentSlide).css({zIndex:t.options.zIndex-1,opacity:1})},e.prototype.setHeight=function(){var i=this;if(1===i.options.slidesToShow&&!0===i.options.adaptiveHeight&&!1===i.options.vertical){var e=i.$slides.eq(i.currentSlide).outerHeight(!0);i.$list.css("height",e)}},e.prototype.setOption=e.prototype.slickSetOption=function(){var e,t,o,s,n,r=this,l=!1;if("object"===i.type(arguments[0])?(o=arguments[0],l=arguments[1],n="multiple"):"string"===i.type(arguments[0])&&(o=arguments[0],s=arguments[1],l=arguments[2],"responsive"===arguments[0]&&"array"===i.type(arguments[1])?n="responsive":void 0!==arguments[1]&&(n="single")),"single"===n)r.options[o]=s;else if("multiple"===n)i.each(o,function(i,e){r.options[i]=e});else if("responsive"===n)for(t in s)if("array"!==i.type(r.options.responsive))r.options.responsive=[s[t]];else{for(e=r.options.responsive.length-1;e>=0;)r.options.responsive[e].breakpoint===s[t].breakpoint&&r.options.responsive.splice(e,1),e--;r.options.responsive.push(s[t])}l&&(r.unload(),r.reinit())},e.prototype.setPosition=function(){var i=this;i.setDimensions(),i.setHeight(),!1===i.options.fade?i.setCSS(i.getLeft(i.currentSlide)):i.setFade(),i.$slider.trigger("setPosition",[i])},e.prototype.setProps=function(){var i=this,e=document.body.style;i.positionProp=!0===i.options.vertical?"top":"left","top"===i.positionProp?i.$slider.addClass("slick-vertical"):i.$slider.removeClass("slick-vertical"),void 0===e.WebkitTransition&&void 0===e.MozTransition&&void 0===e.msTransition||!0===i.options.useCSS&&(i.cssTransitions=!0),i.options.fade&&("number"==typeof i.options.zIndex?i.options.zIndex<3&&(i.options.zIndex=3):i.options.zIndex=i.defaults.zIndex),void 0!==e.OTransform&&(i.animType="OTransform",i.transformType="-o-transform",i.transitionType="OTransition",void 0===e.perspectiveProperty&&void 0===e.webkitPerspective&&(i.animType=!1)),void 0!==e.MozTransform&&(i.animType="MozTransform",i.transformType="-moz-transform",i.transitionType="MozTransition",void 0===e.perspectiveProperty&&void 0===e.MozPerspective&&(i.animType=!1)),void 0!==e.webkitTransform&&(i.animType="webkitTransform",i.transformType="-webkit-transform",i.transitionType="webkitTransition",void 0===e.perspectiveProperty&&void 0===e.webkitPerspective&&(i.animType=!1)),void 0!==e.msTransform&&(i.animType="msTransform",i.transformType="-ms-transform",i.transitionType="msTransition",void 0===e.msTransform&&(i.animType=!1)),void 0!==e.transform&&!1!==i.animType&&(i.animType="transform",i.transformType="transform",i.transitionType="transition"),i.transformsEnabled=i.options.useTransform&&null!==i.animType&&!1!==i.animType},e.prototype.setSlideClasses=function(i){var e,t,o,s,n=this;if(t=n.$slider.find(".slick-slide").removeClass("slick-active slick-center slick-current").attr("aria-hidden","true"),n.$slides.eq(i).addClass("slick-current"),!0===n.options.centerMode){var r=n.options.slidesToShow%2==0?1:0;e=Math.floor(n.options.slidesToShow/2),!0===n.options.infinite&&(i>=e&&i<=n.slideCount-1-e?n.$slides.slice(i-e+r,i+e+1).addClass("slick-active").attr("aria-hidden","false"):(o=n.options.slidesToShow+i,t.slice(o-e+1+r,o+e+2).addClass("slick-active").attr("aria-hidden","false")),0===i?t.eq(t.length-1-n.options.slidesToShow).addClass("slick-center"):i===n.slideCount-1&&t.eq(n.options.slidesToShow).addClass("slick-center")),n.$slides.eq(i).addClass("slick-center")}else i>=0&&i<=n.slideCount-n.options.slidesToShow?n.$slides.slice(i,i+n.options.slidesToShow).addClass("slick-active").attr("aria-hidden","false"):t.length<=n.options.slidesToShow?t.addClass("slick-active").attr("aria-hidden","false"):(s=n.slideCount%n.options.slidesToShow,o=!0===n.options.infinite?n.options.slidesToShow+i:i,n.options.slidesToShow==n.options.slidesToScroll&&n.slideCount-i<n.options.slidesToShow?t.slice(o-(n.options.slidesToShow-s),o+s).addClass("slick-active").attr("aria-hidden","false"):t.slice(o,o+n.options.slidesToShow).addClass("slick-active").attr("aria-hidden","false"));"ondemand"!==n.options.lazyLoad&&"anticipated"!==n.options.lazyLoad||n.lazyLoad()},e.prototype.setupInfinite=function(){var e,t,o,s=this;if(!0===s.options.fade&&(s.options.centerMode=!1),!0===s.options.infinite&&!1===s.options.fade&&(t=null,s.slideCount>s.options.slidesToShow)){for(o=!0===s.options.centerMode?s.options.slidesToShow+1:s.options.slidesToShow,e=s.slideCount;e>s.slideCount-o;e-=1)t=e-1,i(s.$slides[t]).clone(!0).attr("id","").attr("data-slick-index",t-s.slideCount).prependTo(s.$slideTrack).addClass("slick-cloned");for(e=0;e<o+s.slideCount;e+=1)t=e,i(s.$slides[t]).clone(!0).attr("id","").attr("data-slick-index",t+s.slideCount).appendTo(s.$slideTrack).addClass("slick-cloned");s.$slideTrack.find(".slick-cloned").find("[id]").each(function(){i(this).attr("id","")})}},e.prototype.interrupt=function(i){var e=this;i||e.autoPlay(),e.interrupted=i},e.prototype.selectHandler=function(e){var t=this,o=i(e.target).is(".slick-slide")?i(e.target):i(e.target).parents(".slick-slide"),s=parseInt(o.attr("data-slick-index"));s||(s=0),t.slideCount<=t.options.slidesToShow?t.slideHandler(s,!1,!0):t.slideHandler(s)},e.prototype.slideHandler=function(i,e,t){var o,s,n,r,l,d=null,a=this;if(e=e||!1,!(!0===a.animating&&!0===a.options.waitForAnimate||!0===a.options.fade&&a.currentSlide===i))if(!1===e&&a.asNavFor(i),o=i,d=a.getLeft(o),r=a.getLeft(a.currentSlide),a.currentLeft=null===a.swipeLeft?r:a.swipeLeft,!1===a.options.infinite&&!1===a.options.centerMode&&(i<0||i>a.getDotCount()*a.options.slidesToScroll))!1===a.options.fade&&(o=a.currentSlide,!0!==t?a.animateSlide(r,function(){a.postSlide(o)}):a.postSlide(o));else if(!1===a.options.infinite&&!0===a.options.centerMode&&(i<0||i>a.slideCount-a.options.slidesToScroll))!1===a.options.fade&&(o=a.currentSlide,!0!==t?a.animateSlide(r,function(){a.postSlide(o)}):a.postSlide(o));else{if(a.options.autoplay&&clearInterval(a.autoPlayTimer),s=o<0?a.slideCount%a.options.slidesToScroll!=0?a.slideCount-a.slideCount%a.options.slidesToScroll:a.slideCount+
23489o:o>=a.slideCount?a.slideCount%a.options.slidesToScroll!=0?0:o-a.slideCount:o,a.animating=!0,a.$slider.trigger("beforeChange",[a,a.currentSlide,s]),n=a.currentSlide,a.currentSlide=s,a.setSlideClasses(a.currentSlide),a.options.asNavFor&&(l=(l=a.getNavTarget()).slick("getSlick")).slideCount<=l.options.slidesToShow&&l.setSlideClasses(a.currentSlide),a.updateDots(),a.updateArrows(),!0===a.options.fade)return!0!==t?(a.fadeSlideOut(n),a.fadeSlide(s,function(){a.postSlide(s)})):a.postSlide(s),void a.animateHeight();!0!==t?a.animateSlide(d,function(){a.postSlide(s)}):a.postSlide(s)}},e.prototype.startLoad=function(){var i=this;!0===i.options.arrows&&i.slideCount>i.options.slidesToShow&&(i.$prevArrow.hide(),i.$nextArrow.hide()),!0===i.options.dots&&i.slideCount>i.options.slidesToShow&&i.$dots.hide(),i.$slider.addClass("slick-loading")},e.prototype.swipeDirection=function(){var i,e,t,o,s=this;return i=s.touchObject.startX-s.touchObject.curX,e=s.touchObject.startY-s.touchObject.curY,t=Math.atan2(e,i),(o=Math.round(180*t/Math.PI))<0&&(o=360-Math.abs(o)),o<=45&&o>=0?!1===s.options.rtl?"left":"right":o<=360&&o>=315?!1===s.options.rtl?"left":"right":o>=135&&o<=225?!1===s.options.rtl?"right":"left":!0===s.options.verticalSwiping?o>=35&&o<=135?"down":"up":"vertical"},e.prototype.swipeEnd=function(i){var e,t,o=this;if(o.dragging=!1,o.swiping=!1,o.scrolling)return o.scrolling=!1,!1;if(o.interrupted=!1,o.shouldClick=!(o.touchObject.swipeLength>10),void 0===o.touchObject.curX)return!1;if(!0===o.touchObject.edgeHit&&o.$slider.trigger("edge",[o,o.swipeDirection()]),o.touchObject.swipeLength>=o.touchObject.minSwipe){switch(t=o.swipeDirection()){case"left":case"down":e=o.options.swipeToSlide?o.checkNavigable(o.currentSlide+o.getSlideCount()):o.currentSlide+o.getSlideCount(),o.currentDirection=0;break;case"right":case"up":e=o.options.swipeToSlide?o.checkNavigable(o.currentSlide-o.getSlideCount()):o.currentSlide-o.getSlideCount(),o.currentDirection=1}"vertical"!=t&&(o.slideHandler(e),o.touchObject={},o.$slider.trigger("swipe",[o,t]))}else o.touchObject.startX!==o.touchObject.curX&&(o.slideHandler(o.currentSlide),o.touchObject={})},e.prototype.swipeHandler=function(i){var e=this;if(!(!1===e.options.swipe||"ontouchend"in document&&!1===e.options.swipe||!1===e.options.draggable&&-1!==i.type.indexOf("mouse")))switch(e.touchObject.fingerCount=i.originalEvent&&void 0!==i.originalEvent.touches?i.originalEvent.touches.length:1,e.touchObject.minSwipe=e.listWidth/e.options.touchThreshold,!0===e.options.verticalSwiping&&(e.touchObject.minSwipe=e.listHeight/e.options.touchThreshold),i.data.action){case"start":e.swipeStart(i);break;case"move":e.swipeMove(i);break;case"end":e.swipeEnd(i)}},e.prototype.swipeMove=function(i){var e,t,o,s,n,r,l=this;return n=void 0!==i.originalEvent?i.originalEvent.touches:null,!(!l.dragging||l.scrolling||n&&1!==n.length)&&(e=l.getLeft(l.currentSlide),l.touchObject.curX=void 0!==n?n[0].pageX:i.clientX,l.touchObject.curY=void 0!==n?n[0].pageY:i.clientY,l.touchObject.swipeLength=Math.round(Math.sqrt(Math.pow(l.touchObject.curX-l.touchObject.startX,2))),r=Math.round(Math.sqrt(Math.pow(l.touchObject.curY-l.touchObject.startY,2))),!l.options.verticalSwiping&&!l.swiping&&r>4?(l.scrolling=!0,!1):(!0===l.options.verticalSwiping&&(l.touchObject.swipeLength=r),t=l.swipeDirection(),void 0!==i.originalEvent&&l.touchObject.swipeLength>4&&(l.swiping=!0,i.preventDefault()),s=(!1===l.options.rtl?1:-1)*(l.touchObject.curX>l.touchObject.startX?1:-1),!0===l.options.verticalSwiping&&(s=l.touchObject.curY>l.touchObject.startY?1:-1),o=l.touchObject.swipeLength,l.touchObject.edgeHit=!1,!1===l.options.infinite&&(0===l.currentSlide&&"right"===t||l.currentSlide>=l.getDotCount()&&"left"===t)&&(o=l.touchObject.swipeLength*l.options.edgeFriction,l.touchObject.edgeHit=!0),!1===l.options.vertical?l.swipeLeft=e+o*s:l.swipeLeft=e+o*(l.$list.height()/l.listWidth)*s,!0===l.options.verticalSwiping&&(l.swipeLeft=e+o*s),!0!==l.options.fade&&!1!==l.options.touchMove&&(!0===l.animating?(l.swipeLeft=null,!1):void l.setCSS(l.swipeLeft))))},e.prototype.swipeStart=function(i){var e,t=this;if(t.interrupted=!0,1!==t.touchObject.fingerCount||t.slideCount<=t.options.slidesToShow)return t.touchObject={},!1;void 0!==i.originalEvent&&void 0!==i.originalEvent.touches&&(e=i.originalEvent.touches[0]),t.touchObject.startX=t.touchObject.curX=void 0!==e?e.pageX:i.clientX,t.touchObject.startY=t.touchObject.curY=void 0!==e?e.pageY:i.clientY,t.dragging=!0},e.prototype.unfilterSlides=e.prototype.slickUnfilter=function(){var i=this;null!==i.$slidesCache&&(i.unload(),i.$slideTrack.children(this.options.slide).detach(),i.$slidesCache.appendTo(i.$slideTrack),i.reinit())},e.prototype.unload=function(){var e=this;i(".slick-cloned",e.$slider).remove(),e.$dots&&e.$dots.remove(),e.$prevArrow&&e.htmlExpr.test(e.options.prevArrow)&&e.$prevArrow.remove(),e.$nextArrow&&e.htmlExpr.test(e.options.nextArrow)&&e.$nextArrow.remove(),e.$slides.removeClass("slick-slide slick-active slick-visible slick-current").attr("aria-hidden","true").css("width","")}
23489,e.prototype.unslick=function(i){var e=this;e.$slider.trigger("unslick",[e,i]),e.destroy()},e.prototype.updateArrows=function(){var i=this;Math.floor(i.options.slidesToShow/2),!0===i.options.arrows&&i.slideCount>i.options.slidesToShow&&!i.options.infinite&&(i.$prevArrow.removeClass("slick-disabled").attr("aria-disabled","false"),i.$nextArrow.removeClass("slick-disabled").attr("aria-disabled","false"),0===i.currentSlide?(i.$prevArrow.addClass("slick-disabled").attr("aria-disabled","true"),i.$nextArrow.removeClass("slick-disabled").attr("aria-disabled","false")):i.currentSlide>=i.slideCount-i.options.slidesToShow&&!1===i.options.centerMode?(i.$nextArrow.addClass("slick-disabled").attr("aria-disabled","true"),i.$prevArrow.removeClass("slick-disabled").attr("aria-disabled","false")):i.currentSlide>=i.slideCount-1&&!0===i.options.centerMode&&(i.$nextArrow.addClass("slick-disabled").attr("aria-disabled","true"),i.$prevArrow.removeClass("slick-disabled").attr("aria-disabled","false")))},e.prototype.updateDots=function(){var i=this;null!==i.$dots&&(i.$dots.find("li").removeClass("slick-active").end(),i.$dots.find("li").eq(Math.floor(i.currentSlide/i.options.slidesToScroll)).addClass("slick-active"))},e.prototype.visibility=function(){var i=this;i.options.autoplay&&(document[i.hidden]?i.interrupted=!0:i.interrupted=!1)},i.fn.slick=function(){var i,t,o=this,s=arguments[0],n=Array.prototype.slice.call(arguments,1),r=o.length;for(i=0;i<r;i++)if("object"==typeof s||void 0===s?o[i].slick=new e(o[i],s):t=o[i].slick[s].apply(o[i].slick,n),void 0!==t)return t;return o}}); 23490 23491 23492/***/ }), 23493/* 160 */ 23494/***/ (function(module, exports, __webpack_require__) { 23495 23496 module.exports = __webpack_require__.p + "catalog/download-1/view-1/img/icn-plan.svg?hash=7b2ef31dab113effc4eb884b3a93bab7"; 23497 23498/***/ }), 23499/* 161 */ 23500/***/ (function(module, exports, __webpack_require__) { 23501 23502 module.exports = __webpack_require__.p + "catalog/entete-1/view-1/img/arrow.svg?hash=b17d4b162f15d79a90f042e62bf31a37"; 23503 23504/***/ }), 23505/* 162 */ 23506/***/ (function(module, exports, __webpack_require__) { 23507 23508 module.exports = __webpack_require__.p + "catalog/entete-3/view-1/img/arrow.svg?hash=b17d4b162f15d79a90f042e62bf31a37"; 23509 23510/***/ }), 23511/* 163 */ 23512/***/ (function(module, exports, __webpack_require__) { 23513 23514 module.exports = __webpack_require__.p + "catalog/filtre-2/view-1/img/icn-free.svg?hash=78abd84bef31ff9ac6a8d10a405741cf"; 23515 23516/***/ }), 23517/* 164 */ 23518/***/ (function(module, exports, __webpack_require__) { 23519 23520 module.exports = __webpack_require__.p + "catalog/filtre-2/view-2/img/icn-free.svg?hash=78abd84bef31ff9ac6a8d10a405741cf"; 23521 23522/***/ }), 23523/* 165 */ 23524/***/ (function(module, exports, __webpack_require__) { 23525 23526 module.exports = __webpack_require__.p + "catalog/footer/img/domaine-forget.png?hash=b52ba4b65d57c3945af00f51d103ed86"; 23527 23528/***/ }), 23529/* 166 */ 23530/***/ (function(module, exports, __webpack_require__) { 23531 23532 module.exports = __webpack_require__.p + "catalog/porte-1/view-3/img/arrow.svg?hash=f118eb5c433b11f8aef67966506293d7"; 23533 23534/***/ }), 23535/* 167 */, 23536/* 168 */, 23537/* 169 */, 23538/* 170 */ 23539/***/ (function(module, exports, __webpack_require__) { 23540 23541 // Dependencies 23542 __webpack_require__(4); 23543 23544 // Styles 23545 __webpack_require__(277); 23546 23547/***/ }), 23548/* 171 */ 23549/***/ (function(module, exports, __webpack_require__) { 23550 23551 // Dependencies 23552 __webpack_require__(4); 23553 23554 // Styles 23555 __webpack_require__(278); 23556 23557/***/ }), 23558/* 172 */ 23559/***/ (function(module, exports, __webpack_require__) { 23560 23561 // Dependencies 23562 23563 // Styles 23564 __webpack_require__(279); 23565 23566/***/ }), 23567/* 173 */ 23568/***/ (function(module, exports, __webpack_require__) { 23569 23570 // Dependencies 23571 __webpack_require__(3); 23572 23573 // Styles 23574 __webpack_require__(280); 23575 23576 // JavaScript 23577 var $ = __webpack_require__(2); 23578 window.jQuery = $; 23579 __webpack_require__(390); 23580 23581 var $cal = $(".calendrier-1-1__container"); 23582 if ($cal.length > 0) { 23583 $cal.stick_in_parent({ 23584 parent: $cal.parent(), 23585 inner_scrolling: true, 23586 sticky_class: "", 23587 bottoming: true, 23588 offset_top: 0 23589 }); 23590 } 23591 23592 23593/***/ }), 23594/* 174 */ 23595/***/ (function(module, exports, __webpack_require__) { 23596 23597 // Dependencies 23598 __webpack_require__(3); 23599 23600 // Styles 23601 __webpack_require__(281); 23602 23603/***/ }), 23604/* 175 */ 23605/***/ (function(module, exports, __webpack_require__) { 23606 23607 // Dependencies 23608 23609 // Styles 23610 __webpack_require__(282); 23611 23612 // jQuery 23613 // 23614 // Must be instanciated before requiring 23615 // jquery-validation 23616 // 23617 var $ = jQuery = __webpack_require__(2); 23618 __webpack_require__(382); 23619 23620 $('.js-masonry').masonry({ 23621 itemSelector: '.masonry-1-1__item', 23622 columnWidth: '.masonry-1-1__item', 23623 percentPosition: true 23624 }); 23625 23626/***/ }), 23627/* 176 */ 23628/***/ (function(module, exports, __webpack_require__) { 23629 23630 // Dependencies 23631 23632 // Styles 23633 __webpack_require__(283); 23634 23635/***/ }), 23636/* 177 */ 23637/***/ (function(module, exports, __webpack_require__) { 23638 23639 // Dependencies 23640 __webpack_require__(5); 23641 __webpack_require__(4); 23642 23643 // Styles 23644 __webpack_require__(284); 23645 23646/***/ }), 23647/* 178 */ 23648/***/ (function(module, exports, __webpack_require__) { 23649 23650 // Dependencies 23651 23652 // Styles 23653 __webpack_require__(285); 23654 23655/***/ }), 23656/* 179 */ 23657/***/ (function(module, exports, __webpack_require__) { 23658 23659 // Dependencies 23660 23661 // Styles 23662 __webpack_require__(286); 23663 23664 23665/***/ }), 23666/* 180 */ 23667/***/ (function(module, exports, __webpack_require__) { 23668 23669 // Dependencies 23670 __webpack_require__(3); 23671 __webpack_require__(4); 23672 23673 // Styles 23674 __webpack_require__(287); 23675 23676 23677/***/ }), 23678/* 181 */ 23679/***/ (function(module, exports, __webpack_require__) { 23680 23681 // Dependencies 23682 __webpack_require__(3); 23683 __webpack_require__(4); 23684 23685 // Copy images 23686 __webpack_require__(160); 23687 23688 // Styles 23689 __webpack_require__(288); 23690 23691 23692/***/ }), 23693/* 182 */ 23694/***/ (function(module, exports, __webpack_require__) { 23695 23696 // Dependencies 23697 __webpack_require__(3); 23698 23699 // Copy images 23700 __webpack_require__(161); 23701 23702 // Styles 23703 __webpack_require__(289); 23704 23705 // Javascript 23706 var $ = __webpack_require__(2); 23707 23708 function GetIEVersion() { 23709 var sAgent = window.navigator.userAgent; 23710 var Idx = sAgent.indexOf("MSIE"); 23711 23712 // If IE, return version number. 23713 if (Idx > 0) { 23714 return parseInt(sAgent.substring(Idx + 5, sAgent.indexOf(".", Idx))); 23715 } 23716 // If IE 11 then look for Updated user agent string. 23717 else if (!!navigator.userAgent.match(/Trident\/7\./)) { 23718 return 11; 23719 } 23720 else { 23721 return 0; //It is not IE 23722 } 23723 } 23724 23725 // Scroll on click (arrow) 23726 $('.entete-1-1').each(function () { 23727 23728 var $elm = $(this), 23729 $btn = $('.entete-1-1__arrow-btn', $elm), 23730 $anchor = $($btn.attr('href')); 23731 23732 $btn.on('click', function (e) { 23733 e.preventDefault(); 23734 23735 var offset = $anchor.offset(), 23736 menuHeight = 0, 23737 winHeight = Math.max(document.documentElement.clientHeight, window.innerHeight || 0
23737), 23738 scrollPos = 0, 23739 $menu = $('.js-menu-1-1-top'); 23740 23741 if ($menu.length > 0) { 23742 menuHeight = $menu.height(); 23743 } 23744 23745 if (offset.top < winHeight) { 23746 scrollPos = offset.top; 23747 } else { 23748 scrollPos = offset.top - menuHeight; 23749 } 23750 23751 $('html,body').animate({ scrollTop: scrollPos }, 750); 23752 return false; 23753 }); 23754 23755 if (GetIEVersion() > 0) { 23756 $("#homeVideo").remove(); 23757 } else { 23758 try { 23759 document.getElementById('homeVideo').play(); 23760 } catch (err) { 23761 console.log(err); 23762 } 23763 } 23764 23765 23766 23767 }); 23768 23769/***/ }), 23770/* 183 */ 23771/***/ (function(module, exports, __webpack_require__) { 23772 23773 // Dependencies 23774 __webpack_require__(3); 23775 23776 // Styles 23777 __webpack_require__(290); 23778 23779/***/ }), 23780/* 184 */ 23781/***/ (function(module, exports, __webpack_require__) { 23782 23783 // Dependencies 23784 __webpack_require__(3); 23785 23786 // Copy images 23787 __webpack_require__(162); 23788 23789 // Styles 23790 __webpack_require__(291); 23791 23792 // Javascript 23793 var $ = __webpack_require__(2); 23794 23795 // Scroll on click (arrow) 23796 $('.entete-3-1').each(function () { 23797 23798 var $elm = $(this), 23799 $btn = $('.entete-3-1__arrow-btn', $elm), 23800 $anchor = $($btn.attr('href')); 23801 23802 $btn.on('click', function (e) { 23803 e.preventDefault(); 23804 23805 var offset = $anchor.offset(), 23806 menuHeight = 0, 23807 winHeight = Math.max(document.documentElement.clientHeight, window.innerHeight || 0), 23808 scrollPos = 0, 23809 $menu = $('.js-menu-1-1-top'); 23810 23811 if ($menu.length > 0) { 23812 menuHeight = $menu.height(); 23813 } 23814 23815 if (offset.top < winHeight) { 23816 scrollPos = offset.top; 23817 } else { 23818 scrollPos = offset.top - menuHeight; 23819 } 23820 23821 $('html,body').animate({ scrollTop: scrollPos }, 750); 23822 return false; 23823 }); 23824 23825 }); 23826 23827/***/ }), 23828/* 185 */ 23829/***/ (function(module, exports, __webpack_require__) { 23830 23831 // Dependencies 23832 __webpack_require__(3); 23833 23834 // Styles 23835 __webpack_require__(292); 23836 23837 23838/***/ }), 23839/* 186 */ 23840/***/ (function(module, exports, __webpack_require__) { 23841 23842 // Dependencies 23843 __webpack_require__(20); 23844 23845 // Styles 23846 __webpack_require__(293); 23847 23848/***/ }), 23849/* 187 */ 23850/***/ (function(module, exports, __webpack_require__) { 23851 23852 // Dependencies 23853 __webpack_require__(5); 23854 __webpack_require__(6); 23855 23856 // Styles 23857 __webpack_require__(294); 23858 23859/***/ }), 23860/* 188 */ 23861/***/ (function(module, exports, __webpack_require__) { 23862 23863 // Dependencies 23864 __webpack_require__(3); 23865 __webpack_require__(11); 23866 __webpack_require__(6); 23867 23868 // Styles 23869 __webpack_require__(295); 23870 23871 // JavaScript 23872 var $ = __webpack_require__(2); 23873 __webpack_require__(391); 23874 23875 var $info = $(".fiche-info-1-1__outer"); 23876 if ($info.length > 0) { 23877 $info.stick_in_parent({ 23878 parent: $info.parent(), 23879 inner_scrolling: true, 23880 sticky_class: "", 23881 bottoming: true, 23882 offset_top: 80 23883 }); 23884 } 23885 23886/***/ }), 23887/* 189 */ 23888/***/ (function(module, exports, __webpack_require__) { 23889 23890 // Dependencies 23891 __webpack_require__(5); 23892 23893 // Styles 23894 __webpack_require__(296); 23895 23896/***/ }), 23897/* 190 */ 23898/***/ (function(module, exports, __webpack_require__) { 23899 23900 // Dependencies 23901 23902 // Styles 23903 __webpack_require__(297); 23904 var $ = __webpack_require__(2); 23905 $grid = $("[data-isotope-grid]"); 23906 $filters = $("[data-isotope-filters]"); 23907 23908 if ($grid.length && $filters.length) { 23909 __webpack_require__(22); 23910 23911 var tags = []; 23912 23913 $("[data-tag]").each(function (index) { 23914 tags.push({ tag: $(this).attr("data-tag"), name: $(this).html() }); 23915 }); 23916 23917 const uniq = new Set(tags.map((e) => JSON.stringify(e))); 23918 23919 const res = Array.from(uniq).map((e) => JSON.parse(e)); 23920 23921 const ordered = res.sort(function (a, b) { 23922 if (a.name < b.name) return -1; 23923 if (a.name > b.name) return 1; 23924 return 0; 23925 }); 23926 23927 $grid.isotope({ 23928 itemSelector: ".fiche-masonry-1-1__item", 23929 layoutMode: "fitRows", 23930 }); 23931 23932 $.each(ordered, function (index, value) { 23933 $filters.append( 23934 " <button class='btn btn-sm btn-primary btn-primary-outline btn-not-round' data-filter='." + 23935 value.tag + 23936 "'>" + 23937 value.name + 23938 "</button> " 23939 ); 23940 }); 23941 23942 $filters.on("click", "button", function () { 23943 var filterValue = $(this).attr("data-filter"); 23944 $grid.isotope({ filter: filterValue });
23945 $filters.find(".btn-primary").addClass("btn-primary-outline"); 23946 $(this).removeClass("btn-primary-outline"); 23947 }); 23948 } 23949 23950 23951/***/ }), 23952/* 191 */ 23953/***/ (function(module, exports, __webpack_require__) { 23954 23955 // Dependencies 23956 23957 // Styles 23958 __webpack_require__(298); 23959 var $ = __webpack_require__(2); 23960 $grid = $("[data-isotope-grid]"); 23961 $filters = $("[data-isotope-filters]"); 23962 23963 if ($grid.length && $filters.length) { 23964 23965 __webpack_require__(22); 23966 23967 $grid.isotope({ 23968 itemSelector: '.fiche-masonry-1-2__item', 23969 layoutMode: 'fitRows' 23970 }); 23971 } 23972 23973/***/ }), 23974/* 192 */ 23975/***/ (function(module, exports, __webpack_require__) { 23976 23977 // Dependencies 23978 23979 // Styles 23980 __webpack_require__(299); 23981 23982/***/ }), 23983/* 193 */ 23984/***/ (function(module, exports, __webpack_require__) { 23985 23986 // Dependencies 23987 23988 // Styles 23989 __webpack_require__(300); 23990 23991 __webpack_require__(7); 23992 23993 // JavaScript 23994 !/* require.ensure */(function () { 23995 __webpack_require__(7); 23996 var $ = __webpack_require__(2); 23997 23998 if (window.matchMedia("(min-width: 992px)").matches) { 23999 stickSubMenu(80); 24000 } else { 24001 stickSubMenu(60); 24002 } 24003 24004 function stickSubMenu(principalNavHeight) { 24005 $('.js-fiche-onglet').each(function () { 24006 var onglets = $(this); 24007 24008 if (onglets.length > 0) { 24009 onglets.waypoint(function (direction) { 24010 onglets.find('.fiche-onglet-1-1__list-tabs').toggleClass('fiche-onglet-1-1__list-tabs--fixed') 24011 }, { 24012 offset: principalNavHeight 24013 }) 24014 } 24015 }); 24016 } 24017 }(__webpack_require__)); 24018 24019/***/ }), 24020/* 194 */ 24021/***/ (function(module, exports, __webpack_require__) { 24022 24023 // Dependencies 24024 24025 // Styles 24026 __webpack_require__(301); 24027 24028/***/ }), 24029/* 195 */ 24030/***/ (function(module, exports, __webpack_require__) { 24031 24032 // Dependencies 24033 24034 // Styles 24035 __webpack_require__(302); 24036 24037/***/ }), 24038/* 196 */ 24039/***/ (function(module, exports, __webpack_require__) { 24040 24041 // Dependencies 24042 24043 // Styles 24044 __webpack_require__(303); 24045 24046 // Copy images 24047 __webpack_require__(163); 24048 24049/***/ }), 24050/* 197 */ 24051/***/ (function(module, exports, __webpack_require__) { 24052 24053 // Dependencies 24054 24055 // Styles 24056 __webpack_require__(304); 24057 24058 // Copy images 24059 __webpack_require__(164); 24060 24061/***/ }), 24062/* 198 */ 24063/***/ (function(module, exports, __webpack_require__) { 24064 24065 // Dependencies 24066 __webpack_require__(3); 24067 24068 // Copy images 24069 __webpack_require__(165); 24070 24071 // Styles 24072 __webpack_require__(305); 24073 24074 24075/***/ }), 24076/* 199 */ 24077/***/ (function(module, exports, __webpack_require__) { 24078 24079 // Dependencies 24080 __webpack_require__(4); 24081 24082 // Styles 24083 __webpack_require__(306); 24084 24085 // jQuery 24086 // 24087 // Must be instanciated before requiring 24088 // jquery-validation 24089 // 24090 var $ = jQuery = __webpack_require__(2); 24091 24092 // Form validation demo 24093 if ( $( '.formulaire-1-1__form' ).length > 0 ) { 24094 __webpack_require__(15); 24095 $( '.formulaire-1-1__form' ).validate({ 24096 24097 errorElement: 'span', 24098 24099 errorClass: 'help-block text-400 text-danger', 24100 24101 errorPlacement: function ( error, element ) { 24102 error.insertAfter(element.parent( '.formulaire-1-1__flex' )); 24103 }, 24104 24105 highlight: function(element) { 24106 $( element ).parents( '.form-group' ).addClass( 'has-error' ); 24107 }, 24108 24109 unhighlight: function ( element ) { 24110 $( element ).parents( '.form-group' ).removeClass( 'has-error' ); 24111 }, 24112 }); 24113 $( '.formulaire-1-1__form' ).valid(); 24114 } 24115 24116/***/ }), 24117/* 200 */ 24118/***/ (function(module, exports, __webpack_require__) { 24119 24120 // Dependencies 24121 __webpack_require__(3); 24122 __webpack_require__(4); 24123 __webpack_require__(16); 24124 24125 // Styles 24126 __webpack_require__(307); 24127 24128 // jQuery 24129 // 24130 // Must be instanciated before requiring 24131 // jquery-validation 24132 // 24133 var $ = jQuery = __webpack_require__(2); 24134 24135 //Initialize Lightbox 24136 $('.js-gallery-item').modaal({ 24137 type: 'image', 24138 hide_close: true 24139 }); 24140 24141 //Unbind modaal and remove href under 700px 24142 if ($(window).width() < 700) { 24143 $('.js-gallery-item').unbind().removeAttr('href'); 24144 } 24145 24146/***/ }), 24147/* 201 */ 24148/***/ (function(module, exports, __webpack_require__) { 24149 24150 // Dependencies 24151 __webpack_require__(5); 24152 24153 // Styles 24154 __webpack_require__(308); 24155 24156/***/ }), 24157/* 202 */ 24158/***/ (function(module, exports, __webpack_require__) { 24159 24160 // Dependencies 24161 24162 // Styles 24163 __webpack_require__(21); 24164 __webpack_require__(309); 24165 24166 // JavaScript 24167 __webpack_require__(159); 24168 var $ = __webpack_require__(2); 24169 var $slider = $('.home-slider-1-1'); 24170 24171 $slider.each(function () { 24172 24173 $(this).slick({ 24174 arrows: true, 24175 infinite: true, 24176 dots: true, 24177 adaptiveHeight: true, 24178 autoplay: $(this).data("autoplay"), 24179 autoplaySpeed: $(this).data("autoplay-speed"), 24180 speed: 500, 24181 fade: $(this).data("fade"), 24182 cssEase: 'linear' 24183 }); 24184 24185 }); 24186 24187/***/ }), 24188/* 203 */ 24189/***/ (function(module, exports, __webpack_require__) { 24190 24191 // Dependencies 24192 24193 // Styles 24194 __webpack_require__(310); 24195 24196/***/ }), 24197/* 204 */ 24198/***/ (function(module, exports, __webpack_require__) { 24199 24200 // Dependencies 24201 __webpack_require__(16); 24202 24203 // Styles 24204 __webpack_require__(311);
24205 24206 // jQuery 24207 // 24208 // Must be instanciated before requiring 24209 // jquery-validation 24210 // 24211 var $ = jQuery = __webpack_require__(2); 24212 24213 //Initialize Lightbox 24214 $('.js-info-location').modaal({ 24215 type: 'image', 24216 hide_close: true 24217 }); 24218 24219 //Unbind modaal under 700px 24220 if ($(window).width() < 700) { 24221 $('.js-info-location').unbind(); 24222 } 24223 24224 $('.js-focus-form').click(function () { 24225 $('html, body').animate({ 24226 scrollTop: $("#formReservation").offset().top - 180 24227 }, 750) 24228 .promise() 24229 .done(function () { 24230 $('.formulaire-1-1').find('.form-control').first().focus(); 24231 }); 24232 }); 24233 24234 $('.js-reservation-form').click(function () { 24235 var reservationUrl = $(this).data("reservationUrl") 24236 if (reservationUrl) { 24237 window.open(reservationUrl); 24238 } else { 24239 console.warn("No reservation url.") 24240 } 24241 }); 24242 24243/***/ }), 24244/* 205 */ 24245/***/ (function(module, exports, __webpack_require__) { 24246 24247 // Dependencies 24248 __webpack_require__(3); 24249 __webpack_require__(4); 24250 24251 // Styles 24252 __webpack_require__(312); 24253 24254 24255/***/ }), 24256/* 206 */ 24257/***/ (function(module, exports, __webpack_require__) { 24258 24259 // Dependencies 24260 __webpack_require__(3); 24261 __webpack_require__(4); 24262 24263 // Styles 24264 __webpack_require__(313); 24265 24266 24267/***/ }), 24268/* 207 */ 24269/***/ (function(module, exports, __webpack_require__) { 24270 24271 // Dependencies 24272 __webpack_require__(3); 24273 __webpack_require__(6); 24274 __webpack_require__(4); 24275 24276 // Styles 24277 __webpack_require__(314); 24278 24279 24280/***/ }), 24281/* 208 */ 24282/***/ (function(module, exports, __webpack_require__) { 24283 24284 // Dependencies 24285 __webpack_require__(3); 24286 __webpack_require__(4); 24287 24288 // Styles 24289 __webpack_require__(315); 24290 24291 24292/***/ }), 24293/* 209 */ 24294/***/ (function(module, exports, __webpack_require__) { 24295 24296 // Dependencies 24297 __webpack_require__(5); 24298 __webpack_require__(4); 24299 24300 // Styles 24301 __webpack_require__(316); 24302 24303 24304/***/ }), 24305/* 210 */ 24306/***/ (function(module, exports, __webpack_require__) { 24307 24308 // Dependencies 24309 24310 // Styles 24311 __webpack_require__(317); 24312 24313/***/ }), 24314/* 211 */ 24315/***/ (function(module, exports, __webpack_require__) { 24316 24317 // Dependencies 24318 __webpack_require__(5); 24319 24320 // Styles 24321 __webpack_require__(318); 24322 24323 var $ = __webpack_require__(2); 24324 24325 function debounce(func) { 24326 var timer; 24327 return function (event) { 24328 if (timer) clearTimeout(timer); 24329 timer = setTimeout(func, 300, event); 24330 }; 24331 } 24332 24333 function adjSubMenu() { 24334 $(".menu__subnav").removeClass("menu__subnav--right"); 24335 $(".menu__subnav").each(function (index) { 24336 var offset = $(this).offset(); 24337 var offsetRight = offset.left + $(this).outerWidth(); 24338 var winWidth = $(window).width(); 24339 var diff = winWidth - offsetRight; 24340 24341 if (diff <= 15) { 24342 $(this).addClass("menu__subnav--right"); 24343 } 24344 }); 24345 } 24346 24347 function adjMenuForScroll() { 24348 var scroll = $(window).scrollTop(); 24349 24350 if (scroll > 100 && !$(".menu").hasClass("menu--scroll")) { 24351 $(".menu").addClass("menu--scroll"); 24352 } else if (scroll <= 100 && $(".menu").hasClass("menu--scroll")) { 24353 $(".menu").removeClass("menu--scroll"); 24354 } 24355 } 24356 24357 $(".menu__nav-main-item").hover( 24358 function () { 24359 $(this).find(".menu__nav-main-link").addClass("menu__nav-main-link--active"); 24360 $(this).find(".menu__subnav").addClass("menu__subnav--active"); 24361 adjSubMenu(); 24362 }, function () { 24363 $(".menu__subnav").removeClass("menu__subnav--active"); 24364 $(".menu__nav-main-link").removeClass("menu__nav-main-link--active"); 24365 } 24366 ); 24367 24368 /* 24369 $(".menu__nav-main-link").on("click", function (e) { 24370 //si jamais ont veux avoir le menu sub en mode click plutot que hover 24371 if ($(this).next('.menu__subnav').length > 0) { 24372 e.preventDefault(); 24373 $(".menu__subnav").removeClass("menu__subnav--active"); 24374 $(".menu__nav-main-link").removeClass("menu__nav-main-link--active"); 24375 $(this).addClass("menu__nav-main-link--active"); 24376 $(this).next(".menu__subnav").addClass("menu__subnav--active"); 24377 adjSubMenu(); 24378 } 24379 });*/ 24380 24381 $(".menu__nav-main-burger").on("click", function (e) { 24382 e.preventDefault(); 24383 24384 var offset = $(this).parent().offset(); 24385 var offsetRight = offset.left + $(this).parent().outerWidth(); 24386 24387 $(this).find(".menu__burger").toggleClass("menu__burger--open"); 24388 $(".menu__mobile").toggleClass("menu__mobile--open"); 24389 }); 24390 24391 $(".menu__mobile-main-item--sub").find(".menu__mobile-main-link").on("click", function (e) { 24392 e.preventDefault(); 24393 24394 if (!$(this).parent(".menu__mobile-main-item--sub").hasClass("menu__mobile-main-item--subopen")) { 24395 $(".menu__mobile-main-item--subopen .menu__mobile-sub").slideUp(); 24396 $(".menu__mobile-main-item--sub").removeClass("menu__mobile-main-item--subopen"); 24397 $(this).parent(".menu__mobile-main-item--sub").addClass("menu__mobile-main-item--subopen"); 24398 $(this).parent(".menu__mobile-main-item--sub").find(".menu__mobile-sub").slideDown(); 24399 } else { 24400 $(".menu__mobile-main-item--subopen .menu__mobile-sub").slideUp(); 24401 $(".menu__mobile-main-item--sub").removeClass("menu__mobile-main-item--subopen"); 24402 } 24403 }); 24404 24405 $(window).on("scroll", function (event) { 24406 adjMenuForScroll(); 24407 }); 24408 24409 window.addEventListener("resize", debounce(function (e) { 24410 adjSubMenu(); 24411 $(".menu__burger").removeClass("menu__burger--open"); 24412 $(".menu__mobile").removeClass("menu__mobile--open"); 24413 })); 24414 /* 24415 $('html').click(function (event) { 24416 //si jamais ont veux avoir le menu sub en mode click plutot que hover 24417 if ($(event.target).hasClass('menu__nav-main-link') || $(event.target).hasClass('menu__subnav')) 24418 return; 24419 $(".menu__subnav").removeClass("menu__subnav--active"); 24420 $(".menu__nav-main-link").removeClass("menu__nav-main-link--active"); 24421 24422 });*/ 24423 24424 adjSubMenu(); 24425 adjMenuForScroll(); 24426 24427 24428/***/ }), 24429/* 212 */ 24430/***/ (function(module, exports, __webpack_require__) { 24431 24432 // Dependencies 24433 24434 // Styles 24435 __webpack_require__(319); 24436 24437/***/ }), 24438/* 213 */ 24439/***/ (function(module, exports, __webpack_require__) { 24440 24441 // Dependencies 24442 __webpack_require__(3); 24443 __webpack_require__(6); 24444 __webpack_require__(4); 24445 24446 // Styles 24447 __webpack_require__(320); 24448 24449 24450/***/ }), 24451/* 214 */ 24452/***/ (function(module, exports, __webpack_require__) { 24453 24454 // Dependencies 24455 24456 // Styles 24457 __webpack_require__(321); 24458 24459 // JavaScript 24460 __webpack_require__(7); 24461 var $ = __webpack_require__(2); 24462 24463 if (window.matchMedia("(min-width: 992px)").matches) { 24464 stickSubMenu(80); 24465 } else { 24466 stickSubMenu(60); 24467 } 24468 24469 function stickSubMenu(principalNavHeight) { 24470 $('.onglet-1-1__wrapper-tabs').each(function () { 24471 var wrapper = $(this); 24472 if (wrapper.length > 0) { 24473 wrapper.waypoint(function (direction) { 24474 console.log(direction); 24475 if (direction === "down") { 24476 wrapper.addClass('onglet-1-1__wrapper-tabs--fixed'); 24477 return; 24478 } 24479 wrapper.removeClass('onglet-1-1__wrapper-tabs--fixed'); 24480 }, { 24481 offset: principalNavHeight 24482 }); 24483 } 24484 }); 24485 } 24486 24487/***/ }), 24488/* 215 */ 24489/***/ (function(module, exports, __webpack_require__) { 24490 24491 // Dependencies 24492 24493 // Styles 24494 __webpack_require__(322); 24495 24496 __webpack_require__(7); 24497 24498 // JavaScript 24499 !/* require.ensure */(function () { 24500 __webpack_require__(7); 24501 var $ = __webpack_require__(2); 24502 24503 if (window.matchMedia("(min-width: 992px)").matches) { 24504 stickSubMenu(80); 24505 } else { 24506 stickSubMenu(60); 24507 } 24508 24509 function stickSubMenu(principalNavHeight) { 24510 $('.js-onglet').each(function () { 24511 var onglets = $(this); 24512 24513 if (onglets.length > 0) { 24514 onglets.waypoint(function (direction) { 24515 onglets.find('.onglet-1-2__list-wrapper').toggleClass('onglet-1-2__list-wrapper--fixed') 24516 }, { 24517 offset: principalNavHeight 24518 }) 24519 } 24520 }); 24521 } 24522 }(__webpack_require__)); 24523 24524/***/ }), 24525/* 216 */ 24526/***/ (function(module, exports, __webpack_require__) { 24527 24528 // Dependencies 24529 __webpack_require__(270); 24530 24531 // Styles 24532 __webpack_require__(323); 24533 24534/***/ }), 24535/* 217 */ 24536/***/ (function(module, exports, __webpack_require__) { 24537 24538 // Dependencies 24539 __webpack_require__(3); 24540 __webpack_require__(11); 24541 24542 // Styles 24543 __webpack_require__(324); 24544 24545/***/ }), 24546/* 218 */ 24547/***/ (function(module, exports, __webpack_require__) { 24548 24549 // Dependencies 24550 24551 // Styles 24552 __webpack_require__(325); 24553 24554/***/ }), 24555/* 219 */ 24556/***/ (function(module, exports, __webpack_require__) { 24557 24558 // Dependencies 24559 24560 // Copy images 24561 __webpack_require__(166); 24562 24563 // Styles 24564 __webpack_require__(326); 24565 24566/***/ }), 24567/* 220 */ 24568/***/ (function(module, exports, __webpack_require__) { 24569 24570 // Dependencies 24571 24572 // Styles 24573 __webpack_require__(327); 24574 24575/***/ }), 24576/* 221 */ 24577/***/ (function(module, exports, __webpack_require__) { 24578 24579 // Dependencies 24580 24581 // Styles 24582 __webpack_require__(328); 24583 24584/***/ }), 24585/* 222 */ 24586/***/ (function(module, exports, __webpack_require__) { 24587 24588 // Dependencies 24589 24590 // Styles 24591 __webpack_require__(329); 24592 24593/***/ }), 24594/* 223 */ 24595/***/ (function(module, exports, __webpack_require__) { 24596 24597 // Dependencies 24598 24599 // Styles 24600 __webpack_require__(330); 24601 24602/***/ }), 24603/* 224 */ 24604/***/ (function(module, exports, __webpack_require__) { 24605 24606 // Dependencies 24607 24608 // Styles 24609 __webpack_require__(331); 24610 24611/***/ }), 24612/* 225 */ 24613/***/ (function(module, exports, __webpack_require__) { 24614 24615 // Dependencies 24616 __webpack_require__(3); 24617 24618 // Styles 24619 __webpack_require__(332); 24620 24621/***/ }), 24622/* 226 */ 24623/***/ (function(module, exports, __webpack_require__) { 24624 24625 // Dependencies 24626 __webpack_require__(3); 24627 __webpack_require__(4); 24628 24629 // Styles 24630 __webpack_require__(333); 24631 24632 24633/***/ }), 24634/* 227 */ 24635/***/ (function(module, exports, __webpack_require__) { 24636 24637 // Dependencies 24638 __webpack_require__(5); 24639 24640 // Styles 24641 __webpack_require__(334); 24642 24643/***/ }), 24644/* 228 */ 24645/***/ (function(module, exports, __webpack_require__) { 24646 24647 // Dependencies 24648 __webpack_require__(5); 24649 24650 // Styles 24651 __webpack_require__(335); 24652 24653/***/ }), 24654/* 229 */ 24655/***/ (function(module, exports, __webpack_require__) { 24656 24657 // Dependencies 24658 __webpack_require__(5); 24659 24660 // Styles 24661 __webpack_require__(336); 24662 24663/***/ }), 24664/* 230 */ 24665/***/ (function(module, exports, __webpack_require__) { 24666 24667 // Dependencies 24668 __webpack_require__(5); 24669 24670 // Styles 24671 __webpack_require__(337); 24672 24673 // JavaScript 24674 var $ = __webpack_require__(2), 24675 $fbHolder = $(".social-1-1__facebook-holder"), 24676 $fbPage = $(".fb-page"); 24677 24678 if ($fbHolder.length > 0 && $fbPage.length > 0) { 24679 var timeout = null; 24680 24681 var fnResize = function () { 24682 // Hide FB Frame (solve problem when retreiving width / height) 24683 $fbPage.hide(); 24684 // Get dimension 24685 var fbWidth = $fbHolder.width(); 24686 var fbHeight = $fbHolder.height(); 24687 // Restore visibility 24688 $fbPage.show(); 24689 // Apply new dimension 24690 if (!isNaN(fbWidth) && !isNaN(fbHeight)) { 24691 $(".fb-page").attr("data-width", fbWidth);
24692 $(".fb-page").attr("data-height", fbHeight); 24693 if (window.FB) { 24694 window.FB.XFBML.parse(); 24695 } 24696 } 24697 }; 24698 24699 var fnDebounceResize = function () { 24700 clearTimeout(timeout); 24701 timeout = setTimeout(fnResize, 300); 24702 }; 24703 24704 $(window).on("resize.social", fnDebounceResize); 24705 24706 fnResize(); 24707 } 24708 24709 24710/***/ }), 24711/* 231 */ 24712/***/ (function(module, exports, __webpack_require__) { 24713 24714 // Dependencies 24715 24716 // Styles 24717 __webpack_require__(338); 24718 24719/***/ }), 24720/* 232 */ 24721/***/ (function(module, exports, __webpack_require__) { 24722 24723 // Dependencies 24724 24725 // Styles 24726 __webpack_require__(339); 24727 24728/***/ }), 24729/* 233 */ 24730/***/ (function(module, exports, __webpack_require__) { 24731 24732 // Dependencies 24733 24734 // Styles 24735 __webpack_require__(340); 24736 24737/***/ }), 24738/* 234 */ 24739/***/ (function(module, exports, __webpack_require__) { 24740 24741 // Dependencies 24742 24743 // Styles 24744 __webpack_require__(341); 24745 24746 24747/***/ }), 24748/* 235 */ 24749/***/ (function(module, exports, __webpack_require__) { 24750 24751 // Dependencies 24752 __webpack_require__(3); 24753 __webpack_require__(6); 24754 __webpack_require__(4); 24755 24756 // Styles 24757 __webpack_require__(342); 24758 24759 24760/***/ }), 24761/* 236 */ 24762/***/ (function(module, exports, __webpack_require__) { 24763 24764 // Dependencies 24765 24766 // Styles 24767 __webpack_require__(343); 24768 24769/***/ }), 24770/* 237 */ 24771/***/ (function(module, exports, __webpack_require__) { 24772 24773 // Dependencies 24774 24775 // Styles 24776 __webpack_require__(344); 24777 24778/***/ }), 24779/* 238 */ 24780/***/ (function(module, exports, __webpack_require__) { 24781 24782 // Dependencies 24783 24784 // Styles 24785 __webpack_require__(345); 24786 24787/***/ }), 24788/* 239 */ 24789/***/ (function(module, exports, __webpack_require__) { 24790 24791 // Dependencies 24792 __webpack_require__(3); 24793 __webpack_require__(20); 24794 __webpack_require__(4); 24795 24796 // Styles 24797 __webpack_require__(346); 24798 24799 const cookieUtils = __webpack_require__(10); 24800 24801 function initVideo(video) { 24802 const videoSrc = video.dataset.videoSrc; 24803 const cookieNotice = video.querySelector("[data-video-cookie-notice]"); 24804 24805 function getConsent() { 24806 return cookieUtils.hasConsent("targeting"); 24807 } 24808 24809 // Make sure video is set 24810 if (!videoSrc) return; 24811 24812 const iframe = document.createElement("iframe"); 24813 iframe.className = "embed-responsive-item"; 24814 iframe.src = videoSrc; 24815 iframe.width = "100%"; 24816 iframe.height = "100%"; 24817 iframe.frameBorder = 0; 24818 iframe.allow = 24819 "accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture"; 24820 iframe.allowfullscreen = ""; 24821 24822 if (getConsent()) { 24823 video.appendChild(iframe); 24824 } else { 24825 cookieNotice.classList.remove("hidden"); 24826 } 24827 24828 const enableVideoBtn = video.querySelector("[data-video-enable]"); 24829 24830 if (enableVideoBtn) { 24831 enableVideoBtn.addEventListener("click", () => { 24832 cookieNotice.classList.add("cookie-notice-1-1--hidden"); 24833 video.appendChild(iframe); 24834 }); 24835 } 24836 } 24837 24838 Array.from(document.querySelectorAll("[data-video]")).forEach((x) => { 24839 initVideo(x); 24840 }); 24841 24842 24843/***/ }), 24844/* 240 */ 24845/***/ (function(module, exports, __webpack_require__) { 24846 24847 // Dependencies 24848 24849 // Styles 24850 __webpack_require__(21); 24851 __webpack_require__(347); 24852 24853 // JavaScript 24854 __webpack_require__(159); 24855 var $ = __webpack_require__(2); 24856 var $slider = $('.visionneuse-1-1'); 24857 24858 if (!$('body.preview').length) { 24859 24860 $slider.each(function () { 24861 24862 $(this).slick({ 24863 arrows: false, 24864 centerMode: true, 24865 slidesToShow: 1, 24866 infinite: false, 24867 dots: true, 24868 variableWidth: true 24869 }); 24870 24871 // Enable click on slide as a way to change 24872 $(this).on('click', '.slick-slide', function (e) { 24873 e.stopPropagation(); 24874 var index = $(this).data("slick-index"); 24875 if ($(this).parents('.slick-slider').slick('slickCurrentSlide') !== index) { 24876 $(this).parents('.slick-slider').slick('slickGoTo', index); 24877 } 24878 }); 24879 24880 }); 24881 24882 } 24883 24884/***/ }), 24885/* 241 */ 24886/***/ (function(module, exports, __webpack_require__) { 24887 24888 // Dependencies 24889 24890 // Styles 24891 __webpack_require__(348); 24892 24893/***/ }), 24894/* 242 */ 24895/***/ (function(module, exports, __webpack_require__) { 24896 24897 // Dependencies 24898 24899 // Styles 24900 __webpack_require__(349); 24901 24902/***/ }), 24903/* 243 */ 24904/***/ (function(module, exports, __webpack_require__) { 24905 24906 var $ = __webpack_require__(2); 24907 24908 /* 24909 Helper pour formulaires AJAX 24910 24911 L'�l�ment avec ce contr�lleur doit contenir une balise FORM, et un �l�ment avec l'attribut data-ajaxform-target. 24912 24913 Lorsque le formulaire est soumis, le contenu de l'�l�ment cible sera remplac� par le r�sultat d'une requ�te � la 24914 page actuelle, avec le formulaire s�rialis� en query string. 24915 24916 Si un �l�ment avec l'attribut data-ajaxform-loader existe, celui-ci sera affich� pendant le chargement. 24917 24918 Si le formulaire a l'attribut data-ajaxform-auto, celui-ci sera soumis automatiquement lorsqu'un de ses champs est modifi�. 24919 24920 Si le navigateur supporte history.replaceState, l'URL sera mise � jour une fois le chargement termin�. 24921 24922 Si l'�l�ment cible contient des �l�ments avec l'attribut data-ajaxform-page, au clic sur ceux-ci le formulaire sera soumis � nouveau, 24923 avec le param�tre suppl�mentaire p=[VALEUR DE L'ATTRIBUT], et la page scrollera au haut de l'�l�ment avec le contr�lleur.
24924 */ 24925 24926 module.exports = function (element) { 24927 var $element = $(element); 24928 var $form = $element.find("form"); 24929 var $target = $element.find("[data-ajaxform-target]"); 24930 var $loader = $element.find("[data-ajaxform-loader]").hide(); 24931 24932 $form.on("submit", function (ev) { 24933 ev.preventDefault(); 24934 24935 var hasPagination = $form.find("input[name=p]").length > 0; 24936 var filters = $form.serialize(); 24937 24938 if ($loader.length > 0) { 24939 $loader.show(); 24940 $target.hide(); 24941 } 24942 24943 $target.load("?" + filters, function () { 24944 if ($loader.length > 0) { 24945 $loader.hide(); 24946 $target.show(); 24947 } 24948 24949 if (history.replaceState) { 24950 history.replaceState(null, null, "?" + filters); 24951 } 24952 24953 if (hasPagination) { 24954 $(window).scrollTop($element.offset().top); 24955 } 24956 }); 24957 }); 24958 24959 $element.on("click", "[data-ajaxform-reset]", function(ev) { 24960 ev.preventDefault(); 24961 24962 $form.find("input, select").each(function (i, el) { 24963 var $el = $(el); 24964 if ($el.attr("type") == "checkbox") { 24965 $el.prop("checked", false); 24966 } else if ($el.attr("type") == "radio" && $el.attr("id") == "all") { 24967 $el.prop("checked", true); 24968 } else { 24969 $el.val(""); 24970 } 24971 }); 24972 $form.submit(); 24973 }); 24974 24975 $target.on("click", "[data-ajaxform-page]", function(ev) { 24976 ev.preventDefault(); 24977 24978 var p = $(this).data("ajaxform-page"); 24979 24980 var pField = $('<input type="hidden" name="p" />') 24981 .val(p) 24982 .appendTo($form); 24983 24984 $form.submit(); 24985 24986 pField.remove(); 24987 }); 24988 24989 if ($form.attr("data-ajaxform-auto") != undefined) { 24990 $form.on("change", "select,input", function () { 24991 $form.submit(); 24992 }); 24993 } 24994 } 24995 24996/***/ }), 24997/* 244 */ 24998/***/ (function(module, exports, __webpack_require__) { 24999 25000 var $ = __webpack_require__(2); 25001 module.exports = function (element) { 25002 25003 element = $(element); 25004 25005 var hiddenSection = element.find("[data-hidden-section]"); 25006 var more = element.find("[data-hidden-section-more]"); 25007 var button = element.find("[data-hidden-section-more-btn]"); 25008 25009 hiddenSection.hide(); 25010 25011 button.on("click", function(ev) { 25012 ev.preventDefault(); 25013 hiddenSection.show(); 25014 more.hide(); 25015 // TODO: Scroll ? 25016 }); 25017 25018 }; 25019 25020/***/ }), 25021/* 245 */ 25022/***/ (function(module, exports, __webpack_require__) { 25023 25024 var $ = __webpack_require__(2); 25025 25026 var controllers = { 25027 "ajax-form": __webpack_require__(243), 25028 "reservit-form": __webpack_require__(246), 25029 "tab-group": __webpack_require__(247), 25030 "hidden-section": __webpack_require__(244), 25031 }; 25032 25033 $.fn.initControllers = function () { 25034 this.find("[data-controller]").each(function () { 25035 var ctrl = $(this).data("controller"); 25036 25037 if (controllers[ctrl]) { 25038 new controllers[ctrl](this); 25039 } 25040 }); 25041 }; 25042 25043 $(document).initControllers(); 25044 25045 25046/***/ }), 25047/* 246 */ 25048/***/ (function(module, exports, __webpack_require__) { 25049 25050 var $ = __webpack_require__(2); 25051 var moment = __webpack_require__(1); 25052 25053 function pad2(num) { 25054 return ("0" + num).slice(-2); 25055 } 25056 25057 module.exports = function (element) { 25058 25059 var $form = $(element); 25060 25061 var $dateFrom = $form.find("#date-from"); 25062 var $dateTo = $form.find("#date-to"); 25063 var $roomCount = $form.find("#room-count"); 25064 25065 var diff = 1; 25066 25067 $dateFrom.datepicker() 25068 .on("changeDate", 25069 function(e) { 25070 $dateTo.datepicker("setStartDate", moment(e.date).add(1, 'days').toDate()); 25071 $dateTo.datepicker("setDate", moment(e.date).add(diff, 'days').toDate()); 25072 }); 25073 25074 $dateTo.datepicker() 25075 .on("changeDate", 25076 function (e) { 25077 var dateFrom = moment($dateFrom.datepicker("getDate")); 25078 var dateTo = moment(e.date); 25079 25080 diff = dateTo.diff(dateFrom, 'days'); 25081 }); 25082 25083 $roomCount 25084 .on("change", 25085 function() { 25086 var count = parseInt($roomCount.val()); 25087 25088 for (var i = 1; i <= 8; i++) { 25089 $form.find("#room-" + i).toggle(i <= count); 25090 $form.find("[name=roomAge" + i + "]").prop("disabled", i > count); 25091 } 25092 }); 25093 25094 $form.on("submit", function (ev) { 25095 var dateFrom = moment($dateFrom.datepicker("getDate")); 25096 var dateTo = moment($dateTo.datepicker("getDate")); 25097 25098 $form.find("[name=fday]").val(pad2(dateFrom.date())); 25099 $form.find("[name=fmonth]").val(pad2(dateFrom.month() + 1)); 25100 $form.find("[name=fyear]").val(dateFrom.year()); 25101 25102 $form.find("[name=tday]").val(pad2(dateTo.date())); 25103 $form.find("[name=tmonth]").val(pad2(dateTo.month() + 1)); 25104 $form.find("[name=tyear]").val(dateTo.year()); 25105 25106 for (var i = 1; i <= 8; i++) { 25107 25108 var adults = parseInt($form.find("#adults-" + i).val()); 25109 var children = parseInt($form.find("#children-" + i).val()); 25110 25111 var ages = []; 25112 for (var j = 0; j < adults; j++) 25113 ages.push(40); 25114 for (var j = 0; j < children; j++) 25115 ages.push(8); 25116 25117 $form.find("[name=roomAge" + i + "]").val(ages.join(",")); 25118 25119 } 25120 25121 }); 25122 25123 }; 25124 25125/***/ }), 25126/* 247 */ 25127/***/ (function(module, exports, __webpack_require__) { 25128 25129 var $ = __webpack_require__(2); 25130 25131 module.exports = function (element) { 25132 25133 element = $(element); 25134 25135 var activeTab = null, 25136 firstTab = null, 25137 buttons = {}, 25138 panels = {}, 25139 tabFromUrl = location.hash.match(/([a-zA-Z0-9]+)/), 25140 hasMasonry = $('.js-masonry'); 25141 25142 element.find("[data-tab]").each(function(i, button) { 25143 button = $(button); 25144 buttons[button.data("tab")] = button; 25145 25146 if (tabFromUrl) { 25147 25148 if (tabFromUrl[1] == button.data("tab")) { 25149 firstTab = button.data("tab"); 25150 } 25151 25152 } else if (firstTab == null) { 25153 firstTab = button.data("tab"); 25154 } 25155 25156 }); 25157 25158 element.find("[data-tab-panel]").each(function(i, panel) { 25159 panel = $(panel); 25160 panel.hide(); 25161 panels[panel.data("tab-panel")] = panel; 25162 }); 25163 25164 if (firstTab) { 25165 activate(firstTab); 25166 } 25167 25168 element.on("click", "[data-tab]", function(ev) { 25169 ev.preventDefault(); 25170 25171 if (activeTab === $(this).data("tab")) { 25172 return; // Ne rien faire si d�j� s�lectionn� 25173 } else { 25174 activate($(this).data("tab")); 25175 25176 updateHistory($(this).data("tab")); 25177 25178 $('html, body').animate({ 25179 scrollTop: $("#tab-group").offset().top - 80 25180 }, 600); 25181 25182 // declenche masonry sinon affich� dans un tapon 25183 if (hasMasonry) { 25184 hasMasonry.masonry(); 25185 } 25186 } 25187 25188 }); 25189 25190 function activate(tabName) { 25191 if (activeTab == tabName) return; 25192 25193 if (activeTab) { 25194 buttons[activeTab].removeClass("active"); 25195 panels[activeTab].hide(); 25196 } 25197 25198 buttons[tabName].addClass("active"); 25199 panels[tabName].show(); 25200 activeTab = tabName; 25201 } 25202 25203 function updateHistory(tabName) { 25204 25205 if (history.replaceState) { 25206 history.replaceState(null, "", "#" + tabName); 25207 } 25208 } 25209 25210 }; 25211 25212/***/ }), 25213/* 248 */ 25214/***/ (function(module, exports, __webpack_require__) { 25215 25216 const pickmeup = __webpack_require__(17); 25217 const $ = __webpack_require__(2); 25218
25219 function init() { 25220 const language = $("html").attr("lang"); 25221 25222 $("[data-date-range-reservation]").each(function () { 25223 25224 const $this = $(this); 25225 const fromSelector = $this.data("date-range-from"), 25226 toSelector = $this.data("date-range-to"), 25227 clearSelector = $this.data("date-range-clear"); 25228 25229 const fromInput = $(fromSelector), 25230 toInput = $(toSelector), 25231 clearButton = $(clearSelector); 25232 25233 let defaultDate; 25234 25235 if (fromInput.val() && toInput.val()) { 25236 defaultDate = [fromInput.val(), toInput.val()]; 25237 clearButton.show(); 25238 } else { 25239 defaultDate = null; 25240 clearButton.hide(); 25241 } 25242 25243 let separator = " - "; 25244 /* 25245 if (language == "en") { 25246 separator = " to "; 25247 }*/ 25248 25249 const pmu = pickmeup(this, { 25250 date: defaultDate, 25251 default_date: !!defaultDate, 25252 first_day: 0, 25253 //format: "Y-m-d", 25254 format: "d/m/Y", 25255 hide_on_select: true, 25256 locale: language, 25257 min: new Date(), 25258 mode: "range", 25259 separator: separator, 25260 title_format: "B Y" 25261 }); 25262 25263 this.addEventListener("pickmeup-change", function (e) { 25264 if (e.detail.formatted_date.length === 2) { 25265 fromInput.val(e.detail.formatted_date[0]); 25266 toInput.val(e.detail.formatted_date[1]); 25267 $this.trigger("change"); 25268 25269 clearButton.show(); 25270 } 25271 }); 25272 25273 clearButton.on("click", function () { 25274 pmu.set_date(null); 25275 fromInput.val(""); 25276 toInput.val(""); 25277 $this.val(""); 25278 25279 clearButton.hide(); 25280 }); 25281 }); 25282 } 25283 25284 init(); 25285 25286/***/ }), 25287/* 249 */ 25288/***/ (function(module, exports, __webpack_require__) { 25289 25290 const pickmeup = __webpack_require__(17); 25291 const $ = __webpack_require__(2); 25292 25293 function init() { 25294 const language = $("html").attr("lang"); 25295 25296 $("[data-date-range]").each(function() { 25297 const $this = $(this); 25298 const fromSelector = $this.data("date-range-from"), 25299 toSelector = $this.data("date-range-to"), 25300 clearSelector = $this.data("date-range-clear"); 25301 25302 const fromInput = $(fromSelector), 25303 toInput = $(toSelector), 25304 clearButton = $(clearSelector); 25305 25306 let defaultDate; 25307 25308 if (fromInput.val() && toInput.val()) { 25309 defaultDate = [fromInput.val(), toInput.val()]; 25310 clearButton.show(); 25311 } else { 25312 defaultDate = null; 25313 clearButton.hide(); 25314 } 25315 25316 let separator = " au "; 25317 25318 if (language == "en") { 25319 separator = " to "; 25320 } 25321 25322 const pmu = pickmeup(this, { 25323 date: defaultDate, 25324 default_date: !!defaultDate, 25325 first_day: 0, 25326 format: "Y-m-d", 25327 hide_on_select: true, 25328 locale: language, 25329 min: new Date(), 25330 mode: "range", 25331 separator: separator, 25332 title_format: "B Y" 25333 }); 25334 25335 this.addEventListener("pickmeup-change", function(e) { 25336 if (e.detail.formatted_date.length === 2) { 25337 fromInput.val(e.detail.formatted_date[0]); 25338 toInput.val(e.detail.formatted_date[1]); 25339 $this.trigger("change"); 25340 25341 clearButton.show(); 25342 } 25343 }); 25344 25345 clearButton.on("click", function () { 25346 pmu.set_date(null); 25347 fromInput.val(""); 25348 toInput.val(""); 25349 $this.val(""); 25350 25351 clearButton.hide(); 25352 }); 25353 }); 25354 } 25355 25356 init(); 25357 25358/***/ }), 25359/* 250 */ 25360/***/ (function(module, exports, __webpack_require__) { 25361 25362 // Github : https://github.com/eternicode/bootstrap-datepicker 25363 // Doc : http://bootstrap-datepicker.readthedocs.org/en/stable/index.html 25364 25365
25366 // Bootstrap (webstrap) dependencies 25367 __webpack_require__(269); 25368 25369 25370 // Style 25371 // 25372 // Here what is going on, from "right to left" : 25373 // 25374 // 1. Require an SCSS file (empty or not) 25375 // 2. Prepend the LESS code, converted to SCSS, to the previous SCSS file (using a loader). 25376 // 4. Compile SASS (sass-loader) 25377 // 25378 // For some reason, I can't change the loader order using "-!" at 25379 // the begining of the require to prevent execution of "preLoader" 25380 // and "loaders" (an error occure). But keeping the whole webpack 25381 // configuration doesn't seem to pose any problem. 25382 // 25383 __webpack_require__(276); 25384 25385 25386 // JavaScript 25387 // 25388 var $ = jQuery = __webpack_require__(2); 25389 var cookiesUtils = __webpack_require__(10); 25390 25391 // Require datepicker JS + Language (minified JS to save space) 25392 __webpack_require__(272); 25393 __webpack_require__(273); 25394 25395 // Change default options 25396 $.fn.datepicker.defaults.format = 'yyyy-mm-dd'; 25397 $.fn.datepicker.defaults.disableTouchKeyboard = true; 25398 $.fn.datepicker.defaults.orientation = 'bottom'; 25399 25400 // Set the language 25401 var localcookie = cookiesUtils.read('localecookie'); 25402 if (localcookie == "fr-ca") { 25403 $.fn.datepicker.defaults.language = 'fr'; 25404 } 25405 25406 25407/***/ }), 25408/* 251 */ 25409/***/ (function(module, exports, __webpack_require__) { 25410 25411 // Disable CSS transition while the page is loading 25412 25413 // Styles 25414 __webpack_require__(350); 25415 25416 // JavaScript 25417 var $ = __webpack_require__(2); 25418 $(window).load(function () { 25419 $("body").removeClass("disable-transition"); 25420 }); 25421 25422/***/ }), 25423/* 252 */ 25424/***/ (function(module, exports) { 25425 25426 /** 25427 * Event CSS Modifier 25428 * 25429 * Remove / Add :hover pseudo-class from selector text 25430 * base on event use for interaction. 25431 * 25432 * On mobile, we don't want :hover state because they always 25433 * show up, but we need them on desktop. There is also a need 25434 * for computer having both touch and mouse event. 25435 * 25436 * This JS remove :hover selector when using touch event. 25437 * If a mouse event is use, the default selector is restored. 25438 */ 25439 25440 // This object is "private" and should not be expose 25441 var evtCssMod = { 25442 25443 // 25444 // Variables 25445 // 25446 25447 // Default selector, matching nothing, if a selectorText 25448 // is empty after modification. 25449 emptySelectorText: "#evtCssModEmpty", 25450 25451 // Unique ID prefix 25452 uidPrefix: "evtCssMod", 25453 25454 // Unique ID counter 25455 uidCount: 0, 25456 25457 // Current event state applied to CSS modification 25458 eventState: "base", 25459 25460 // Boolean mentionning if an event is currently initiated 25461 eventInitiate: false, 25462 25463 // StyleSheet 25464 stylesheet: [], 25465 25466 25467 25468 // 25469 // Functions 25470 // 25471 25472 25473 // Throw error 25474 // 25475 error: function (msg) { 25476 throw "Event CSS Modifier : " + msg; 25477 }, 25478 25479 // Console log information 25480 // 25481 info: function (msg) { 25482 console.info("Event CSS Modifier : " + msg); 25483 }, 25484 25485 // Apply and return a unique ID for the CSSStyleSheet 25486 // 25487 uid: function (CSSStyleSheet) { 25488 if (CSSStyleSheet && CSSStyleSheet.ownerNode) { 25489 if (CSSStyleSheet.ownerNode.id != "") { 25490 return CSSStyleSheet.ownerNode.id; 25491 } 25492 else { 25493 evtCssMod.uidCount = evtCssMod.uidCount + 1; 25494 return evtCssMod.uidPrefix + evtCssMod.uidCount; 25495 } 25496 } 25497 return false; 25498 }, 25499 25500 25501 // Return a "cssText" without :hover pseudo-class 25502 // 25503 touchCssText: function (cssText, selectorText) { 25504 25505 // Build the new selector text without :hover 25506 // 25507 var arr = selectorText.split(","); 25508 var newSelectorText = ""; 25509 25510 for (var i = 0; i < arr.length; i++) { 25511 var selector = arr[i].trim(); 25512 if (selector.match(":hover")) { 25513 continue; 25514 } else { 25515 if (newSelectorText != "") { 25516 newSelectorText = newSelectorText + ", "; 25517 } 25518 newSelectorText = newSelectorText + selector; 25519 } 25520 } 25521 25522 // If new selector text is empty, 25523 // assign a selector matching nothing 25524 if (newSelectorText == "") { 25525 newSelectorText = evtCssMod.emptySelectorText; 25526 } 25527 25528 // Replace selector of cssTest 25529 cssText = cssText.replace(selectorText, newSelectorText); 25530 25531 return cssText; 25532 }, 25533 25534 25535 // Parse rule list (recursive) 25536 // 25537 parseRuleList: function (CSSRuleList) { 25538 var rulelist = []; 25539 25540 if (CSSRuleList) { 25541 // Loop through each rule in sheet 25542 for (var i = 0; i < CSSRuleList.length; i++) { 25543 25544 // CSSStyleRule or CSSMediaRule 25545 var rule = CSSRuleList[i]; 25546 // Temporary object with rulelist info 25547 var tmp = { 25548 index: i 25549 }; 25550 25551 // CSSMediaRule 25552 if (rule.cssRules) { 25553 // Store object name 25554 tmp.type = 'CSSMediaRule'; 25555 // Recursion 25556 tmp.rulelist = evtCssMod.parseRuleList(rule.cssRules); 25557 // Push to array (if not empty) 25558 if (tmp.rulelist.length > 0) { 25559 rulelist.push(tmp); 25560 } 25561 } 25562 // CSSStyleRule 25563 else { 25564 // Store object name 25565 tmp.type = 'CSSStyleRule'; 25566 // If selector text contain :hover pseudo-class 25567 if (rule.selectorText && rule.selectorText.match(":hover")) { 25568 // Store information about the selector 25569 // Base : It's the original 25570 // Touch : Modified for touch event 25571 tmp.css = {}; 25572 tmp.css.base = rule.cssText; 25573 tmp.css.touch = evtCssMod.touchCssText(rule.cssText, rule.selectorText); 25574 // Push to array 25575 rulelist.push(tmp); 25576 } 25577 } 25578 25579 } 25580 } 25581 25582 return rulelist; 25583 }, 25584 25585 25586 // Parse all stylesheet 25587 // 25588 parseStyleSheet: function () { 25589 // Loop through each stylesheet 25590 for (var i = 0; i < document.styleSheets.length; i++) { 25591 var CSSStyleSheet = document.styleSheets[i];
25592 // Apply a unique ID to the stylesheet (if none) 25593 if (CSSStyleSheet.ownerNode.id == "") { 25594 var uid = CSSStyleSheet.ownerNode.id = evtCssMod.uid(CSSStyleSheet); 25595 } 25596 // Retreive the ID (if exist) 25597 else if (CSSStyleSheet.ownerNode.id) { 25598 var uid = CSSStyleSheet.ownerNode.id; 25599 } 25600 // Something went wrong ... 25601 else { 25602 evtCssMod.error("Impossible to assing unique ID to stylesheet."); 25603 continue; 25604 } 25605 // Try to retreive the cssRules 25606 try { 25607 var cssRules = CSSStyleSheet.cssRules; 25608 } 25609 catch (err) { 25610 evtCssMod.info("Failed to read the 'cssRules' from '" + CSSStyleSheet.href + "'."); 25611 continue; 25612 } 25613 25614 // Add to the stylesheed 25615 if (!evtCssMod.stylesheet[uid]) { 25616 evtCssMod.stylesheet.push({ 25617 id: uid, 25618 reference: CSSStyleSheet, 25619 rulelist: evtCssMod.parseRuleList(cssRules) 25620 }); 25621 } 25622 } 25623 }, 25624 25625 25626 // Replace a CSSStyleRule 25627 // 25628 replaceStyleRule: function (CSSGroupingRule, cssText, index) { 25629 CSSGroupingRule.deleteRule(index); 25630 CSSGroupingRule.insertRule(cssText, index); 25631 }, 25632 25633 25634 // Update RuleList base on event 25635 // 25636 updateRuleList: function (CSSGroupingRule, rulelist) { 25637 for (var i = 0; i < rulelist.length; i++) { 25638 var rule = rulelist[i]; 25639 25640 // CSSMediaRule 25641 if (rule.type == 'CSSMediaRule') { 25642 evtCssMod.updateRuleList(CSSGroupingRule.cssRules[rule.index], rule.rulelist); 25643 } 25644 25645 // CSSStyleRule 25646 else if (rule.type == 'CSSStyleRule') { 25647 // Apply touch modified selector 25648 if (evtCssMod.eventState == "touch") { 25649 evtCssMod.replaceStyleRule(CSSGroupingRule, rule.css.touch, rule.index); 25650 } 25651 // Restore original (base) selector 25652 else { 25653 evtCssMod.replaceStyleRule(CSSGroupingRule, rule.css.base, rule.index); 25654 } 25655 } 25656 } 25657 }, 25658 25659 25660 // Update CSS Rules base on event for each stylesheet 25661 // 25662 update: function () { 25663 for (var i = 0; i < evtCssMod.stylesheet.length; i++) { 25664 var stylesheet = evtCssMod.stylesheet[i]; 25665 if (stylesheet.rulelist.length > 0) { 25666 evtCssMod.updateRuleList(stylesheet.reference, stylesheet.rulelist); 25667 } 25668 } 25669 }, 25670 25671 25672 // Update CSS Rules base on event 25673 // 25674 updateEvent: function (eventState) { 25675 // Save the event state 25676 evtCssMod.eventState = eventState; 25677 // Update 25678 evtCssMod.update(); 25679 }, 25680 25681 25682 // Touch Start 25683 // 25684 onTouchStart: function (evt) { 25685 // Update if not the "touch" state 25686 if (evtCssMod.eventState != "touch" && evtCssMod.eventInitiate == false) { 25687 evtCssMod.updateEvent("touch"); 25688 } 25689 // Flag to prevent event execution in "mouse move" 25690 evtCssMod.eventInitiate = true; 25691 }, 25692 25693 onMouseMove: function (evt) { 25694 // Update if not the "base" state 25695 if (evtCssMod.eventState != "base" && evtCssMod.eventInitiate == false) { 25696 evtCssMod.updateEvent("base"); 25697 } 25698 // Flag to restore event execution in "mouse move" 25699 if (evtCssMod.eventInitiate) { 25700 evtCssMod.eventInitiate = false; 25701 } 25702 }, 25703 25704 25705 // Init 25706 // 25707 init: function () { 25708 // DOM Content Load 25709 document.addEventListener("DOMContentLoaded", function (event) { 25710 25711 // Parse stylesheet to build new rule 25712 evtCssMod.parseStyleSheet(); 25713 25714 // If device support touch, 25715 // there's a high chance it's a mobile (touch). 25716 // Transform the CSS by anticipation. 25717 if ('ontouchstart' in window) { 25718 evtCssMod.updateEvent("touch"); 25719 }; 25720 25721 // Listen for event 25722 document.addEventListener("touchstart", evtCssMod.onTouchStart, false); 25723 document.addEventListener("mousemove", evtCssMod.onMouseMove, false); 25724 25725 }); 25726 } 25727 }; 25728 25729 // Expose the "eventCssModifier" to be used 25730 // has an API 25731 window.eventCssModifier = { 25732 update: evtCssMod.update 25733 } 25734 25735 // Call initialize 25736 evtCssMod.init(); 25737 25738/***/ }), 25739/* 253 */ 25740/***/ (function(module, exports, __webpack_require__) { 25741 25742 // Styles 25743 __webpack_require__(351); 25744 25745 25746/***/ }), 25747/* 254 */ 25748/***/ (function(module, exports, __webpack_require__) { 25749 25750 // Styles 25751 __webpack_require__(352); 25752 25753/***/ }), 25754/* 255 */ 25755/***/ (function(module, exports, __webpack_require__) { 25756 25757 // Styles 25758 __webpack_require__(353); 25759 25760 25761/***/ }), 25762/* 256 */ 25763/***/ (function(module, exports, __webpack_require__) { 25764 25765 // Dependecies 25766 // 25767 var $ = __webpack_require__(2); 25768 25769 25770 // Localisation 25771 // 25772 var cookiesUtils = __webpack_require__(10); 25773 var localcookie = cookiesUtils.read('localecookie'); 25774 25775 if (localcookie == "fr" || localcookie == "fr-ca") { 25776 __webpack_require__(381); 25777 } 25778 25779/***/ }), 25780/* 257 */ 25781/***/ (function(module, exports, __webpack_require__) { 25782 25783 /** 25784 * Those are setting for jQuery Validation
25785 * for improve compatibility with Bootstrap 3 25786 * when using most common HTML markup. 25787 */ 25788 25789 25790 // Dependecies 25791 // 25792 var $ = __webpack_require__(2); 25793 25794 25795 // Function to retreive the boostrap state class 25796 // base on the text color class. 25797 // 25798 function getStateClass(errorClass) { 25799 25800 if (errorClass.match(/text-danger/gi)) { 25801 return "has-error"; 25802 } 25803 25804 else if (errorClass.match(/text-warning/gi)) { 25805 return "has-warning"; 25806 } 25807 25808 else if (errorClass.match(/text-success/gi)) { 25809 return "has-success"; 25810 } 25811 25812 return false; 25813 }; 25814 25815 25816 // Export the options object 25817 // 25818 module.exports = { 25819 25820 // Error tag 25821 // 25822 // This is not the most semantic tag, but it wont cause 25823 // problem with any parent tag. 25824 // 25825 errorElement: 'span', 25826 25827 // Error style 25828 // 25829 // Set of bootstrap class to style error message. 25830 // 25831 errorClass: 'help-block text-400 text-danger', 25832 25833 25834 // Valid style 25835 // 25836 // Set of bootstrap class to style valid message. 25837 // 25838 validClass: 'help-block text-400 text-success', 25839 25840 25841 // Error placement 25842 // 25843 errorPlacement: function (error, element) { 25844 var $input = element, 25845 $error = error; 25846 25847 // Checkbox 25848 if ($input.is('[type="checkbox"]')) { 25849 var $parent = $input.parent('label'); 25850 if ($parent.length > 0) { 25851 $parent.after($error); 25852 } 25853 } 25854 // Radio 25855 else if ($input.is('[type="radio"]')) { 25856 var $parent = $input.parent('label').parent('.radio').parent('.form-group'); 25857 if ($parent.length > 0) { 25858 $parent.append($error); 25859 } 25860 } 25861 // Default 25862 else { 25863 $input.after($error); 25864 } 25865 }, 25866 25867 25868 // Field highlight 25869 // 25870 // Logic for DOM manipulation on hightlight (error, valid, etc.) 25871 // 25872 highlight: function (element, errorClass) { 25873 var $input = $(element), 25874 stateClass = getStateClass(errorClass); 25875 25876 // If we were able to define a state class 25877 if (stateClass) { 25878 // Checkbox 25879 if ($input.is('[type="checkbox"]')) { 25880 var $parent = $input.parent('label').parent('.checkbox'); 25881 if ($parent.length > 0) { 25882 $parent.addClass(stateClass); 25883 } 25884 } 25885 // Radio 25886 else if ($input.is('[type="radio"]')) { 25887 var $parent = $input.parent('label').parent('.radio').parent('.form-group'); 25888 if ($parent.length > 0) { 25889 $parent.addClass(stateClass); 25890 } 25891 } 25892 // Regular input, textarea, or select 25893 else { 25894 var $parent = $input.parent('.form-group'); 25895 if ($parent.length > 0) { 25896 $parent.addClass(stateClass); 25897 } 25898 } 25899 } 25900 }, 25901 25902 25903 // Field uremove highlight 25904 // 25905 // Logic for DOM manipulation on remove hightlight (error, valid, etc.) 25906 // 25907 unhighlight: function (element, errorClass) { 25908 var $input = $(element), 25909 stateClass = getStateClass(errorClass); 25910 25911 // If we were able to define a state class 25912 if (stateClass) { 25913 // Checkbox 25914 if ($input.is('[type="checkbox"]')) { 25915 var $parent = $input.parent('label').parent('.checkbox'); 25916 if ($parent.length > 0) { 25917 $parent.removeClass(stateClass); 25918 } 25919 } 25920 // Radio 25921 if ($input.is('[type="radio"]')) { 25922 var $parent = $input.parent('label').parent('.radio').parent('.form-group'); 25923 if ($parent.length > 0) { 25924 $parent.removeClass(stateClass); 25925 } 25926 } 25927 // Regular input, textarea, or select 25928 else { 25929 var $parent = $input.parent('.form-group'); 25930 if ($parent.length > 0) { 25931 $parent.removeClass(stateClass); 25932 } 25933 } 25934 } 25935 } 25936 }; 25937 25938/***/ }), 25939/* 258 */ 25940/***/ (function(module, exports, __webpack_require__) { 25941 25942 // Dependecies 25943 // 25944 var $ = __webpack_require__(2); 25945 25946 25947 // Add validation rule 25948 // 25949 $.validator.addMethod("phoneCA", function (phone_number, element) { 25950 phone_number = phone_number.replace(/\s+/g, ""); 25951 return this.optional(element) || phone_number.length > 9 && 25952 phone_number.match(/^(1-?)?(\([2-9]\d{2}\)|[2-9]\d{2})-?[2-9]\d{2}-?\d{4}$/); 25953 }, $.validator.messages.phoneUS); 25954 25955 $.validator.addMethod("postalCodeCA", function (postal, element) { 25956 return this.optional(element) || 25957 postal.match(/[a-zA-Z][0-9][a-zA-Z](-| |)[0-9][a-zA-Z][0-9]/); 25958 }, $.validator.messages.postalCodeCA); 25959 25960 $.validator.addMethod("validEmail", function (value, element) { 25961 return /\S+@\S+\.\S+/.test(value); 25962 }, $.validator.messages.email 25963 ); 25964 25965 25966 // Bind validation rule to a class 25967 // 25968 $.validator.addClassRules("postal-code-ca", { 25969 postalCodeCA: true 25970 }); 25971
25972 $.validator.addClassRules("phone-ca", { 25973 phoneCA: true 25974 }); 25975 25976 $.validator.addClassRules("valid-email", { 25977 validEmail: true 25978 }); 25979 25980 $.validator.addClassRules("valid-number", { 25981 digits: true 25982 }); 25983 25984/***/ }), 25985/* 259 */ 25986/***/ (function(module, exports) { 25987 25988 /*! 25989 Modaal - accessible modals - v0.2.11 25990 by Humaan, for all humans. 25991 http://humaan.com 25992 */ 25993 !function(a){var t=a("body"),e='<button type="button" class="modaal-close" id="modaal-close" aria-label="Close (Press escape to close)"><span>Close</span></button>',o='<div class="modaal-loading-spinner"><div><div></div></div><div><div></div></div><div><div></div></div><div><div></div></div><div><div></div></div><div><div></div></div><div><div></div></div><div><div></div></div></div>',i={init:function(t,o){var i=this;i.$elem=a(o),i.options=a.extend({},a.fn.modaal.options,i.$elem.data(),t),i.xhr=null,i.scope={is_open:!1,id:"modaal_"+(new Date).getTime()+Math.random().toString(16).substring(2)},i.$elem.attr("data-modaal-scope",i.scope.id),i.private_options={active_class:"is_active"},i.lastFocus=null,i.options.is_locked||"confirm"==i.options.type||i.options.hide_close?i.scope.close_btn="":i.scope.close_btn=e,"none"===i.options.animation&&(i.options.animation_speed=0,i.options.after_callback_delay=0),a(o).on("click.Modaal",function(a){a.preventDefault();var t;switch(i.lastFocus=document.activeElement,i.options.before_open.call(i,a),i.options.type){case"inline":i.create_basic();break;case"ajax":t=i.options.source(i.$elem,i.$elem.attr("href")),i.fetch_ajax(t);break;case"confirm":i.options.is_locked=!0,i.create_confirm();break;case"image":i.create_image();break;case"iframe":t=i.options.source(i.$elem,i.$elem.attr("href")),i.create_iframe(t);break;case"video":i.create_video(i.$elem.attr("href"));break;case"instagram":i.create_instagram()}i.watch_events()}),i.options.start_open===!0&&a(o).click()},watch_events:function(){var e=this;t.off("click.Modaal keyup.Modaal keydown.Modaal"),t.on("keydown.Modaal",function(t){var o=t.keyCode,i=t.target;9==o&&e.scope.is_open&&(a.contains(document.getElementById(e.scope.id),i)||a("#"+e.scope.id).find('*[tabindex="0"]').focus())}),t.on("keyup.Modaal",function(t){var o=t.keyCode;t.target;return!e.options.is_locked&&27==o&&e.scope.is_open?a(document.activeElement).is("input")?!1:void e.modaal_close():"image"==e.options.type?(37==o&&e.scope.is_open&&!a("#"+e.scope.id+" .modaal-gallery-prev").hasClass("is_hidden")&&e.gallery_update("prev"),void(39==o&&e.scope.is_open&&!a("#"+e.scope.id+" .modaal-gallery-next").hasClass("is_hidden")&&e.gallery_update("next"))):void 0}),t.on("click.Modaal",function(t){var o=a(t.target);if(!e.options.is_locked&&(e.options.overlay_close&&o.is(".modaal-inner-wrapper")||o.is(".modaal-close")))return void e.modaal_close();if(o.is(".modaal-confirm-btn"))return o.is(".modaal-ok")&&e.options.confirm_callback.call(e,e.lastFocus),void e.modaal_close();if(o.is(".modaal-gallery-control")){if(o.hasClass("is_hidden"))return;return o.is(".modaal-gallery-prev")&&e.gallery_update("prev"),void(o.is(".modaal-gallery-next")&&e.gallery_update("next"))}})},build_modal:function(a){var e=this,o="";"instagram"==e.options.type&&(o=" modaal-instagram");var i,l="video"==e.options.type?"modaal-video-wrap":"modaal-content";switch(e.options.animation){case"fade":i=" modaal-start_fade";break;case"slide-down":i=" modaal-start_slidedown";break;default:i=" modaal-start_none"}var n="";e.options.fullscreen&&(n=" modaal-fullscreen"),""===e.options.custom_class&&"undefined"==typeof e.options.custom_class||(e.options.custom_class=" "+e.options.custom_class);var s='<div class="modaal-wrapper modaal-'+e.options.type+i+o+n+e.options.custom_class+'" id="'+e.scope.id+'"><div class="modaal-outer-wrapper"><div class="modaal-inner-wrapper">';"video"!=e.options.type&&(s+='<div class="modaal-container">'),s+='<div class="'+l+'" aria-hidden="false" aria-label="'+e.options.accessible_title+' (Press escape to close)" role="dialog">',s+="inline"==e.options.type?'<div class="modaal-content-container"></div>':a,s+="</div>"+e.scope.close_btn,"video"!=e.options.type&&(s+="</div>"),s+="</div></div></div>",t.append(s),"inline"==e.options.type&&a.appendTo("#"+e.scope.id+" .modaal-content-container"),e.modaal_overlay("show")},create_basic:function(){var t=this,e=t.$elem.is("[href]")?a(t.$elem.attr("href")):t.$elem,o="";e.length?(o=e.children().clone(!0,!0),e.empty()):o="Content could not be loaded. Please check the source and try again.",t.build_modal(o)},create_instagram:function(){var t=this,e=t.options.instagram_id,o="",i="Instagram photo couldn't be loaded, please check the embed code and try again.";if(t.build_modal('<div class="modaal-content-container'+(""!=t.options.loading_class?" "+t.options.loading_class:"")+'">'+t.options.loading_content+"</div>"),""!=e&&null!==e&&void 0!==e){var l="https://api.instagram.com/oembed?url=http://instagr.am/p/"+e+"/";
25993a.ajax({url:l,dataType:"jsonp",cache:!1,success:function(e){o=e.html;var i=a("#"+t.scope.id+" .modaal-content-container");i.length>0&&(i.removeClass(t.options.loading_class),i.html(o),window.instgrm.Embeds.process())},error:function(){o=i;var e=a("#"+t.scope.id+" .modaal-content-container");e.length>0&&(e.removeClass(t.options.loading_class).addClass(t.options.ajax_error_class),e.html(o))}})}else o=i;return!1},fetch_ajax:function(t){var e=this;null==e.options.accessible_title&&(e.options.accessible_title="Dialog Window"),null!==e.xhr&&(e.xhr.abort(),e.xhr=null),e.build_modal('<div class="modaal-content-container'+(""!=e.options.loading_class?" "+e.options.loading_class:"")+'">'+e.options.loading_content+"</div>"),e.xhr=a.ajax(t,{success:function(t){var o=a("#"+e.scope.id).find(".modaal-content-container");o.length>0&&(o.removeClass(e.options.loading_class),o.html(t),e.options.ajax_success.call(e,o))},error:function(t){if("abort"!=t.statusText){var o=a("#"+e.scope.id+" .modaal-content-container");o.length>0&&(o.removeClass(e.options.loading_class).addClass(e.options.ajax_error_class),o.html("Content could not be loaded. Please check the source and try again."))}}})},create_confirm:function(){var a,t=this;a='<div class="modaal-content-container"><h1 id="modaal-title">'+t.options.confirm_title+'</h1><div class="modaal-confirm-content">'+t.options.confirm_content+'</div><div class="modaal-confirm-wrap"><button type="button" class="modaal-confirm-btn modaal-ok" aria-label="Confirm">'+t.options.confirm_button_text+'</button><button type="button" class="modaal-confirm-btn modaal-cancel" aria-label="Cancel">'+t.options.confirm_cancel_button_text+"</button></div></div></div>",t.build_modal(a)},create_image:function(){var t,e,o=this,i="",l='<button type="button" class="modaal-gallery-control modaal-gallery-prev" id="modaal-gallery-prev" aria-label="Previous image (use left arrow to change)"><span>Previous Image</span></button>',n='<button type="button" class="modaal-gallery-control modaal-gallery-next" id="modaal-gallery-next" aria-label="Next image (use right arrow to change)"><span>Next Image</span></button>';if(o.$elem.is("[rel]")){var s=o.$elem.attr("rel"),d=a('[rel="'+s+'"]');d.removeAttr("data-gallery-active","is_active"),o.$elem.attr("data-gallery-active","is_active"),e=d.length-1;var r=[];i='<div class="modaal-gallery-item-wrap">',d.each(function(a,t){var e="",o="",i="",l=!1,n=t.getAttribute("data-modaal-desc"),s=t.getAttribute("data-gallery-active");""!==t.href||void 0!==t.href?e=t.href:""===t.src&&void 0===t.src||(e=t.src),""!=n&&null!==n&&void 0!==n?(o=n,i='<div class="modaal-gallery-label"><span class="modaal-accessible-hide">Image '+(a+1)+" - </span>"+n+"</div>"):i='<div class="modaal-gallery-label"><span class="modaal-accessible-hide">Image '+(a+1)+"</span></div>",s&&(l=!0);var d={url:e,alt:o,desc:i,active:l};r.push(d)});for(var c=0;c<r.length;c++){var m="";r[c].active&&(m=" "+o.private_options.active_class),i+='<div class="modaal-gallery-item gallery-item-'+c+m+'"><img src="'+r[c].url+'" alt=" ">'+r[c].desc+"</div>"}i+="</div>"+l+n}else{var p=o.$elem.attr("href"),v="",_="";o.$elem.attr("data-modaal-desc")&&(v=o.$elem.attr("data-modaal-desc"),_='<div class="modaal-gallery-label"><span class="modaal-accessible-hide">Image - </span>'+v+"</div>"),i='<div class="modaal-gallery-item is_active"><img src="'+p+'" alt="'+v+'">'+_+"</div>"}t=i,o.build_modal(t),a(".modaal-gallery-item.is_active").is(".gallery-item-0")&&a(".modaal-gallery-prev").hide(),a(".modaal-gallery-item.is_active").is(".gallery-item-"+e)&&a(".modaal-gallery-next").hide()},gallery_update:function(t){var e=this,o=a("#"+e.scope.id),i=o.find(".modaal-gallery-item"),l=i.length-1;if(0==l)return!1;var n=o.find(".modaal-gallery-prev"),s=o.find(".modaal-gallery-next"),d=250,r=0,c=0,m=o.find(".modaal-gallery-item."+e.private_options.active_class),p="next"==t?m.next(".modaal-gallery-item"):m.prev(".modaal-gallery-item");return e.options.before_image_change.call(e,m,p),"prev"==t&&o.find(".gallery-item-0").hasClass("is_active")?!1:"next"==t&&o.find(".gallery-item-"+l).hasClass("is_active")?!1:void m.stop().animate({opacity:0}
25993,d,function(){p.addClass("is_next").css({position:"absolute",display:"block",opacity:0}),r=o.find(".modaal-gallery-item.is_next").width(),c=o.find(".modaal-gallery-item.is_next").height(),o.find(".modaal-gallery-item-wrap").stop().animate({width:r,height:c},d,function(){m.removeClass(e.private_options.active_class+" "+e.options.gallery_active_class).removeAttr("style"),p.addClass(e.private_options.active_class+" "+e.options.gallery_active_class).removeClass("is_next").css("position",""),p.stop().animate({opacity:1},d,function(){a(this).removeAttr("style"),o.find(".modaal-gallery-item-wrap").removeAttr("style"),e.options.after_image_change.call(e,p)}),o.find(".modaal-gallery-item .modaal-gallery-label").removeAttr("tabindex"),o.find(".modaal-gallery-item."+e.private_options.active_class+" .modaal-gallery-label").attr("tabindex","0").focus(),o.find(".modaal-gallery-item."+e.private_options.active_class).is(".gallery-item-0")?n.stop().animate({opacity:0},150,function(){a(this).hide()}):n.stop().css({display:"block",opacity:n.css("opacity")}).animate({opacity:1},150),o.find(".modaal-gallery-item."+e.private_options.active_class).is(".gallery-item-"+l)?s.stop().animate({opacity:0}
25993,150,function(){a(this).hide()}):s.stop().css({display:"block",opacity:n.css("opacity")}).animate({opacity:1},150)})})},create_video:function(a){var t,e=this;t='<iframe src="'+a+'" class="modaal-video-frame" frameborder="0" allowfullscreen></iframe>',e.build_modal('<div class="modaal-video-container">'+t+"</div>")},create_iframe:function(a){var t,e=this;t=null!==e.options.width||void 0!==e.options.width||null!==e.options.height||void 0!==e.options.height?'<div class="modaal-content" aria-hidden="false" aria-labelledby="'+e.options.accessible_title+'" role="dialog"><iframe src="'+a+'" class="modaal-iframe-elem" style="width: '+e.options.width+"px;height: "+e.options.height+'px" frameborder="0" allowfullscreen></iframe></div>':'<div class="modaal-content-container">Please specify a width and height for your iframe</div>',e.build_modal(t)},modaal_open:function(){var t=this,e=a("#"+t.scope.id),o=t.options.animation;"none"===o&&(e.removeClass("modaal-start_none"),t.options.after_open.call(t,e)),"fade"===o&&e.removeClass("modaal-start_fade"),"slide-down"===o&&e.removeClass("modaal-start_slide_down");var i=e;a(".modaal-wrapper *[tabindex=0]").removeAttr("tabindex"),"image"==t.options.type?i=a("#"+t.scope.id).find(".modaal-gallery-item."+t.private_options.active_class):e.find(".modaal-iframe-elem").length?i=e.find(".modaal-iframe-elem"):e.find(".modaal-video-wrap").length?i=e.find(".modaal-video-wrap"):e.find(".modaal-content-container").length?i=e.find(".modaal-content-container"):e.find(".modaal-content").length&&(i=e.find(".modaal-content")),i.attr("tabindex","0").focus(),"none"!==o&&setTimeout(function(){t.options.after_open.call(t,e)},t.options.after_callback_delay)},modaal_close:function(){var t=this,e=a("#"+t.scope.id);t.options.before_close.call(t,e),null!==t.xhr&&(t.xhr.abort(),t.xhr=null),"none"===t.options.animation&&e.addClass("modaal-start_none"),"fade"===t.options.animation&&e.addClass("modaal-start_fade"),"slide-down"===t.options.animation&&e.addClass("modaal-start_slide_down"),setTimeout(function(){"inline"==t.options.type&&a("#"+t.scope.id+" .modaal-content-container").children().clone(!0,!0).appendTo(t.$elem.attr("href")),e.remove(),t.options.after_close.call(t),t.scope.is_open=!1},t.options.after_callback_delay),t.modaal_overlay("hide"),null!=t.lastFocus&&t.lastFocus.focus()},modaal_overlay:function(e){var o=this;"show"==e?(o.scope.is_open=!0,o.options.background_scroll||t.css({overflow:"hidden"}),t.append('<div class="modaal-overlay" id="'+o.scope.id+'_overlay"></div>'),a("#"+o.scope.id+"_overlay").css("background",o.options.background).stop().animate({opacity:o.options.overlay_opacity},o.options.animation_speed,function(){o.modaal_open()})):"hide"==e&&(t.css("overflow",""),a("#"+o.scope.id+"_overlay").stop().animate({opacity:0}
25993,o.options.animation_speed,function(){a(this).remove()}))}};a(function(){var t=a(".modaal");t.length&&t.each(function(){var t=a(this),e={},o=!1;t.attr("data-modaal-type")&&(o=!0,e.type=t.attr("data-modaal-type")),t.attr("data-modaal-animation")&&(o=!0,e.animation=t.attr("data-modaal-animation")),t.attr("data-modaal-animation-speed")&&(o=!0,e.animation_speed=t.attr("data-modaal-animation-speed")),t.attr("data-modaal-after-callback-delay")&&(o=!0,e.after_callback_delay=t.attr("data-modaal-after-callback-delay")),t.attr("data-modaal-locked")&&(o=!0,e.is_locked="true"===t.attr("data-modaal-locked")),t.attr("data-modaal-hide-close")&&(o=!0,e.hide_close="true"===t.attr("data-modaal-hide-close")),t.attr("data-modaal-background")&&(o=!0,e.background=t.attr("data-modaal-background")),t.attr("data-modaal-overlay-opacity")&&(o=!0,e.overlay_opacity=t.attr("data-modaal-overlay-opacity")),t.attr("data-modaal-overlay-close")&&(o=!0,e.overlay_close="false"!==t.attr("data-modaal-overlay-close")),t.attr("data-modaal-accessible-title")&&(o=!0,e.accessible_title=t.attr("data-modaal-accessible-title")),t.attr("data-modaal-start-open")&&(o=!0,e.start_open="true"===t.attr("data-modaal-start-open")),t.attr("data-modaal-fullscreen")&&(o=!0,e.fullscreen="true"===t.attr("data-modaal-fullscreen")),t.attr("data-modaal-custom-class")&&(o=!0,e.custom_class=t.attr("data-modaal-custom-class")),t.attr("data-modaal-background-scroll")&&(o=!0,e.background_scroll="true"===t.attr("data-modaal-background-scroll")),t.attr("data-modaal-width")&&(o=!0,e.width=parseInt(t.attr("data-modaal-width"))),t.attr("data-modaal-height")&&(o=!0,e.height=parseInt(t.attr("data-modaal-height"))),t.attr("data-modaal-confirm-button-text")&&(o=!0,e.confirm_button_text=t.attr("data-modaal-confirm-button-text")),t.attr("data-modaal-confirm-cancel-button-text")&&(o=!0,e.confirm_cancel_button_text=t.attr("data-modaal-confirm-cancel-button-text")),t.attr("data-modaal-confirm-title")&&(o=!0,e.confirm_title=t.attr("data-modaal-confirm-title")),t.attr("data-modaal-confirm-content")&&(o=!0,e.confirm_content=t.attr("data-modaal-confirm-content")),t.attr("data-modaal-gallery-active-class")&&(o=!0,e.gallery_active_class=t.attr("data-modaal-gallery-active-class")),t.attr("data-modaal-loading-content")&&(o=!0,e.loading_content=t.attr("data-modaal-loading-content")),t.attr("data-modaal-loading-class")&&(o=!0,e.loading_class=t.attr("data-modaal-loading-class")),t.attr("data-modaal-ajax-error-class")&&(o=!0,e.ajax_error_class=t.attr("data-modaal-ajax-error-class")),t.attr("data-modaal-instagram-id")&&(o=!0,e.instagram_id=t.attr("data-modaal-instagram-id")),o&&t.modaal(e)})}),a.fn.modaal=function(t){return this.each(function(){var e=a(this).data("modaal");if(e){if("string"==typeof t)switch(t){case"close":e.modaal_close()}}else{var o=Object.create(i);o.init(t,this),a.data(this,"modaal",o)}})},a.fn.modaal.options={type:"inline",animation:"fade",animation_speed:300,after_callback_delay:350,is_locked:!1,hide_close:!1,background:"#000",overlay_opacity:"0.8",overlay_close:!0,accessible_title:"Dialog Window",start_open:!1,fullscreen:!1,custom_class:"",background_scroll:!1,width:null,height:null,before_open:function(){},after_open:function(){},before_close:function(){},after_close:function(){},source:function(a,t){return t},confirm_button_text:"Confirm",confirm_cancel_button_text:"Cancel",confirm_title:"Confirm Title",confirm_content:"<p>This is the default confirm dialog content. Replace me through the options</p>",confirm_callback:function(){},gallery_active_class:"gallery_active_item",before_image_change:function(a,t){},after_image_change:function(a){},loading_content:o,loading_class:"is_loading",ajax_error_class:"modaal-error",ajax_success:function(){},instagram_id:null}}(jQuery,window,document); 25994 25995/***/ }), 25996/* 260 */ 25997/***/ (function(module, exports, __webpack_require__) { 25998 25999 'use strict'; 26000 26001 // Picture Polyfill 26002 // Source : https://github.com/verlok/picturePolyfill/ 26003 // 26004 // The source file was MODIFIED to have better compatibility 26005 // with webpack. 26006 // 26007 // Those two lines at the end of the file : 26008 // picturePolyfill.initialize(); 26009 // picturePolyfill.parse(); 26010 // 26011 // were replace by a module export : 26012 // module.exports = picturePolyfill; 26013 // 26014 // This give use better compatibility with the module system, 26015 // and better control when to trigger call (initialization, parse). 26016 26017 var picturePolyfill = __webpack_require__(261); 26018 picturePolyfill.initialize(); 26019 picturePolyfill.parse(); 26020 26021/***/ }), 26022/* 261 */
26023/***/ (function(module, exports) { 26024 26025 /* 26026 PicturePolyfill 26027 Responsive Images that work today (and mimic the proposed Picture element with span elements) 26028 Author: Andrea Verlicchi 26029 License: MIT/GPLv2 26030 Please "/dist/picturePolyfill.min.js" for production purposes 26031 */ 26032 26033 var picturePolyfill = (function (w) { 26034 26035 "use strict"; 26036 26037 var cacheArray, 26038 cacheLatestIndex, 26039 resizeTimer, 26040 timeAfterResize = 100, 26041 areListenersActive = false; 26042 26043 return { 26044 26045 /** 26046 * Get all the "attributes" from an "element" and returns them as a hash 26047 * @param element 26048 * @param attributes 26049 * @returns {{}} 26050 * @private 26051 */ 26052 _getAttrs: function (element, attributes) { 26053 var ret = {}, attributeName, attributeValue; 26054 for (var i = 0, len = attributes.length; i < len; i += 1) { 26055 attributeName = attributes[i]; 26056 attributeValue = element.getAttribute(attributeName); 26057 if (attributeValue) { 26058 ret[attributeName] = attributeValue; 26059 } 26060 } 26061 return ret; 26062 }, 26063 26064 /** 26065 * Gets the attributes list from an "element" 26066 * @param element 26067 * @returns {Array} 26068 * @private 26069 */ 26070 _getAttrsList: function (element) { 26071 var arr = []; 26072 for (var i = 0, attributes = element.attributes, l = attributes.length; i < l; i++) { 26073 arr.push(attributes.item(i).nodeName); 26074 } 26075 return arr; 26076 }, 26077 26078 /** 26079 * Returns a sorted array of object representing the elements of a srcset attribute, 26080 * where pxr is the pixel ratio and src is the source for that ratio 26081 * @param srcset 26082 * @returns {Array} 26083 * @private 26084 */ 26085 _getSrcsetArray: function (srcset) { 26086 var srcSetElement, 26087 source, 26088 density, 26089 ret = [], 26090 srcSetElements; 26091 26092 if (srcset === null || srcset === '' || typeof srcset === 'undefined') { 26093 return ret; 26094 } 26095 26096 srcSetElements = srcset.split(','); 26097 26098 for (var i = 0, len = srcSetElements.length; i < len; i += 1) { 26099 srcSetElement = srcSetElements[i].trim().split(' '); 26100 if (srcSetElement.length === 1) { 26101 density = 1; 26102 } 26103 else { 26104 density = parseFloat(srcSetElement[srcSetElement.length - 1], 10); 26105 } 26106 source = srcSetElement[0]; 26107 ret.push({pxr: density, src: source}); 26108 } 26109 26110 return ret.sort(function (hash1, hash2) { 26111 var pxr1 = hash1.pxr, pxr2 = hash2.pxr; 26112 if (pxr1 < pxr2) { 26113 return -1; 26114 } 26115 if (pxr1 > pxr2) { 26116 return 1; 26117 } 26118 return 0; 26119 }); 26120 }, 26121 26122 /** 26123 * Returns the proper src from the given srcset 26124 * Get the first valid element from passed position to the left 26125 * @param srcset 26126 * @param pixelRatio 26127 * @returns string || null 26128 * @private 26129 */ 26130 _getSrcFromSrcset: function (srcset, pixelRatio) { 26131 var i = 0, 26132 array, 26133 len, 26134 breakPoint = -1; 26135 26136 if (srcset === null || srcset === '' || typeof srcset === 'undefined') { 26137 return ""; 26138 } 26139 26140 array = this._getSrcsetArray(srcset); 26141 len = array.length; 26142 26143 do { 26144 if (array[i].pxr >= pixelRatio || i === len - 1) { 26145 breakPoint = i; 26146 } 26147 i += 1; 26148 } while (!(breakPoint > -1 || i >= len)); 26149 26150 return array[breakPoint].src; 26151 }, 26152 26153 /** 26154 * Loop through every element of the sourcesData array, check if the media query applies and, 26155 * if so, get the matching srcset attribute, if any 26156 * @param sourcesData 26157 * @returns string 26158 * @private 26159 */ 26160 _getSrcsetFromData: function (sourcesData) { 26161 var sourceData, 26162 media, 26163 src, 26164 srcset; 26165 26166 for (var i = 0, len = sourcesData.length; i < len; i += 1) { 26167 sourceData = sourcesData[i]; 26168 media = sourceData.media; 26169 srcset = sourceData.srcset; 26170 src = sourceData.src; 26171 if (!media || w.matchMedia(media).matches) { 26172 if (!!srcset) { 26173 return srcset; 26174 } 26175 if (!!src) { 26176 return src; 26177 } 26178 return ""; 26179 } 26180 } 26181 return ""; 26182 }, 26183 26184 /** 26185 * Get the img tag inside picture, even in IE9 and IE8 26186 * @param pictureElement 26187 * @returns Array 26188 * @private 26189 */ 26190 _getImgTagsInPicture: function (pictureElement) { 26191 var currentElement = pictureElement, 26192 imgTags; 26193 imgTags = pictureElement.getElementsByTagName('img'); 26194 if (imgTags.length > 0) { 26195 return imgTags; 26196 } 26197 // Didn't find anything? 26198 // IE8 reads the img tag AFTER the picture tag... 26199 // So keep searching in next siblings, and when found it push it in imgTags 26200 do { 26201 currentElement = currentElement.nextSibling; 26202 if (currentElement === null) { 26203 return []; 26204 } 26205 } while (currentElement.tagName !== 'IMG'); 26206 // Found, return currentElement in a 1 element array 26207 return [currentElement]; 26208 }, 26209 26210 /** 26211 * Set the src attribute of the first image element inside passed pictureElement 26212 * please not that the img is required in the markup, as stated in the specs 26213 * @param pictureElement {Node} 26214 * @param attributes 26215 */ 26216 _setImgAttributes: function (pictureElement, attributes) { 26217 var imageElements = this._getImgTagsInPicture(pictureElement), 26218 imgEl, givenSrcAttribute, givenSrcsetAttribute, 26219 srcToSet, srcsetToSet; 26220 26221 function _setAttributeIfDifferent(element, attribute, value) { 26222 if (element.getAttribute(attribute) !== value) { 26223 element.setAttribute(attribute, value); 26224 } 26225 } 26226 26227 if (imageElements.length === 0) { 26228 return false; 26229 } 26230 26231 // Set original img tag's src and srcset in a data attribute 26232 imgEl = imageElements[0]; 26233 if (!imgEl.getAttribute('data-original-src')) { 26234 _setAttributeIfDifferent(imgEl, 'data-original-src', imgEl.getAttribute('src')); 26235 _setAttributeIfDifferent(imgEl, 'data-original-srcset', imgEl.getAttribute('srcset')); 26236 } 26237 26238 // Set srcToSet and srcsetToSet depending on the given src/srcset attributes 26239 // If none are given, use original ones 26240 // If both ore one are given, use them (even if one is null) 26241 givenSrcAttribute = attributes.src; 26242 givenSrcsetAttribute = attributes.srcset; 26243 if (!givenSrcAttribute && !givenSrcsetAttribute) { 26244 srcToSet = imgEl.getAttribute('data-original-src'); 26245 srcsetToSet = imgEl.getAttribute('data-original-srcset'); 26246 } else { 26247 srcToSet = givenSrcAttribute; 26248 srcsetToSet = givenSrcsetAttribute; 26249 } 26250 _setAttributeIfDifferent(imgEl, 'src', srcToSet); 26251 _setAttributeIfDifferent(imgEl, 'srcset', srcsetToSet); 26252 26253 }, 26254 26255 /** 26256 * Parses the picture element looking for sources elements, then 26257 * generate the array or string for the SrcSetArray 26258 * @param {Array} pictureElement the starting element to parse DOM into. If not passed, it parses the whole document. 26259 */ 26260 _getSourcesData: function (pictureElement) { 26261 var sourcesData = [], 26262 sourceElement, 26263 sourceData, 26264 foundSources = pictureElement.getElementsByTagName('source'); 26265 26266 for (var i = 0, len = foundSources.length; i < len; i += 1) { 26267 sourceElement = foundSources[i];
26268 sourceData = this._getAttrs(sourceElement, this._getAttrsList(sourceElement)); 26269 sourcesData.push(sourceData); 26270 } 26271 return sourcesData; 26272 }, 26273 26274 /** 26275 * Adds listeners to load and resize event 26276 * @private 26277 */ 26278 _addListeners: function () { 26279 26280 if (!this.isUseful || areListenersActive) { 26281 return false; 26282 } 26283 26284 function parseDocument() { 26285 picturePolyfill.parse(document); 26286 } 26287 26288 // Manage resize event only if they've passed 100 milliseconds between a resize event and another 26289 // to avoid the script to slow down browsers that animate resize or when browser edge is being manually dragged 26290 function parseDocumentAfterTimeout() { 26291 clearTimeout(resizeTimer); 26292 resizeTimer = setTimeout(parseDocument, timeAfterResize); 26293 } 26294 26295 if (w.addEventListener) { 26296 w.addEventListener('resize', parseDocumentAfterTimeout); 26297 w.addEventListener('DOMContentLoaded', function () { 26298 parseDocument(); 26299 w.removeEventListener('load', parseDocument); 26300 }); 26301 w.addEventListener('load', parseDocument); 26302 } 26303 else if (w.attachEvent) { 26304 w.attachEvent('onload', parseDocument); 26305 w.attachEvent('onresize', parseDocumentAfterTimeout); 26306 } 26307 26308 areListenersActive = true; 26309 }, 26310 26311 /** 26312 * Initialize and resize event handlers 26313 */ 26314 initialize: function () { 26315 26316 /** 26317 * The device pixel ratio. 1 for standard displays, 2+ for HD displays 26318 * @type {number} 26319 * @private 26320 */ 26321 this._pxRatio = w.devicePixelRatio || 1; 26322 26323 /** 26324 * Detect if browser has media queries support 26325 * @type {boolean} 26326 * @private 26327 */ 26328 this._mqSupport = !!w.matchMedia && w.matchMedia("only all") !== null && w.matchMedia("only all").matches; 26329 26330 /** 26331 * Detect if polyfill is necessary 26332 * @type {boolean} 26333 */ 26334 this.isUseful = !w.HTMLPictureElement; 26335 26336 /** 26337 * Cache array, where all sources data is stored 26338 * @type {Array} 26339 * @private 26340 */ 26341 cacheArray = []; 26342 26343 /** 26344 * Cache index, incremental 26345 * @type {number} 26346 * @private 26347 */ 26348 cacheLatestIndex = 0; 26349 26350 // Add listeners (listeners are added once) 26351 this._addListeners(); 26352 }, 26353 26354 /** 26355 * Parses the DOM looking for elements containing the "data-picture" attribute, then 26356 * generate the images or updates their src attribute. 26357 * @param {Node} element (the starting element to parse DOM into. REQUIRED) 26358 */ 26359 parse: function (element, readFromCache) { 26360 var sourcesData, 26361 pictureElement, 26362 pictureElements, 26363 srcAttribute, 26364 srcsetAttribute, 26365 mqSupport, 26366 cacheIndex; 26367 26368 // Do nothing if picture is supported 26369 if (!this.isUseful) { 26370 return 0; 26371 } 26372 26373 // Default readFromCache parameter value 26374 if (typeof readFromCache === 'undefined') { 26375 readFromCache = true; 26376 } 26377 26378 pictureElements = (element || document).getElementsByTagName('picture'); 26379 mqSupport = this._mqSupport; 26380 26381 for (var i = 0, len = pictureElements.length; i < len; i += 1) { 26382 sourcesData = null; 26383 pictureElement = pictureElements[i]; 26384 // Try to read sources data from cache 26385 if (readFromCache) { 26386 cacheIndex = pictureElement.getAttribute('data-cache-index'); 26387 if (cacheIndex !== null) { 26388 sourcesData = cacheArray[cacheIndex]; 26389 } 26390 } 26391 // If no sources are found in cache, try to read sources data from the picture element, then cache them 26392 if (!sourcesData) { 26393 sourcesData = this._getSourcesData(pictureElement); 26394 // Write in cache 26395 cacheArray[cacheLatestIndex] = sourcesData; 26396 pictureElement.setAttribute('data-cache-index', cacheLatestIndex); 26397 cacheLatestIndex += 1;
26398 } 26399 // If no sourcesData retrieved or media queries are not supported, read from the default src 26400 if (!mqSupport || sourcesData.length === 0) { 26401 srcAttribute = pictureElement.getAttribute('data-default-src'); 26402 srcsetAttribute = pictureElement.getAttribute('data-default-srcset'); 26403 } 26404 else { 26405 srcsetAttribute = this._getSrcsetFromData(sourcesData); 26406 srcAttribute = this._getSrcFromSrcset(srcsetAttribute, this._pxRatio); 26407 } 26408 // Set the img source 26409 this._setImgAttributes(pictureElement, { 26410 src: srcAttribute, 26411 srcset: srcsetAttribute, 26412 alt: pictureElement.getAttribute('data-alt') 26413 }); 26414 } 26415 26416 return i; 26417 } 26418 }; 26419 26420 }(window)); 26421 26422 module.exports = picturePolyfill; 26423 26424/***/ }), 26425/* 262 */ 26426/***/ (function(module, exports, __webpack_require__) { 26427 26428 // Webstrap (Bootstrap) 26429 __webpack_require__(3); 26430 __webpack_require__(11); 26431 __webpack_require__(18); 26432 __webpack_require__(267); 26433 __webpack_require__(268); 26434 26435 // Dependencies for layout 26436 __webpack_require__(4); 26437 26438 // Styles 26439 __webpack_require__(357); 26440 26441 // JavaScript 26442 var $ = __webpack_require__(2); 26443 26444 // Datepicker demo 26445 __webpack_require__(250); 26446 $('.datefield-demo').datepicker(); 26447 26448 // Form validation demo 26449 if ($('.forms-validation-demo').length > 0) 26450 { 26451 __webpack_require__(15); 26452 $('.forms-validation-demo').validate(__webpack_require__(257)); 26453 $('.forms-validation-demo').valid(); 26454 } 26455 26456 26457/***/ }), 26458/* 263 */ 26459/***/ (function(module, exports, __webpack_require__) { 26460 26461 // Dependencies 26462 __webpack_require__(4); 26463 26464 // Require subfoler 26465 __webpack_require__(262); 26466 __webpack_require__(264); 26467 26468/***/ }), 26469/* 264 */ 26470/***/ (function(module, exports, __webpack_require__) { 26471 26472 // Styles 26473 __webpack_require__(358); 26474 26475/***/ }), 26476/* 265 */, 26477/* 266 */ 26478/***/ (function(module, exports) { 26479 26480 // 26481 // Functions that return a boolean about a CSS property 26482 // -------------------------------------------------- 26483 26484 //** Flex Wrap 26485 var isFlexWrap = function() { 26486 // Default 26487 if(document.documentElement.style.flexWrap != undefined) { 26488 return true; 26489 } 26490 // Vendor prefix 26491 else if (document.documentElement.style.webkitFlexWrap != undefined) { 26492 return true; 26493 } 26494 else if (document.documentElement.style.msFlexWrap != undefined) { 26495 return true; 26496 } 26497 return false; 26498 }; 26499 26500 26501 // 26502 // Functions to test feature, and add class name 26503 // -------------------------------------------------- 26504 26505 //** Flex Wrap 26506 var testBrowserSupport = function() { 26507 var bln = isFlexWrap(); 26508 if(!bln) { 26509 window.location.replace("/unsupported-browser.html"); 26510 } 26511 }; 26512 26513 26514 // 26515 // Execute tests 26516 // -------------------------------------------------- 26517 26518 testBrowserSupport(); 26519 26520/***/ }), 26521/* 267 */ 26522/***/ (function(module, exports, __webpack_require__) { 26523 26524 // Dependencies 26525 __webpack_require__(5); 26526 26527 // JavaScript 26528 // Import loader is important to expose jQuery 26529 __webpack_require__(12); 26530 __webpack_require__(372); 26531 26532 // Styles 26533 __webpack_require__(359); 26534 26535 26536/***/ }), 26537/* 268 */ 26538/***/ (function(module, exports, __webpack_require__) { 26539 26540 // Dependencies 26541 __webpack_require__(5); 26542 26543 // Styles 26544 __webpack_require__(361); 26545 26546 26547/***/ }), 26548/* 269 */ 26549/***/ (function(module, exports, __webpack_require__) { 26550 26551 // Dependencies 26552 __webpack_require__(5); 26553 26554 // JavaScript 26555 // Import loader is important to expose jQuery 26556 __webpack_require__(12); 26557 __webpack_require__(374); 26558 26559 // Styles 26560 __webpack_require__(362); 26561 26562 26563/***/ }), 26564/* 270 */ 26565/***/ (function(module, exports, __webpack_require__) { 26566 26567 // Dependencies 26568 __webpack_require__(3); 26569 26570 // Styles 26571 __webpack_require__(365); 26572 26573 26574/***/ }), 26575/* 271 */ 26576/***/ (function(module, exports, __webpack_require__) { 26577 26578 // Dependencies 26579 __webpack_require__(19); 26580 26581 // Styles 26582 __webpack_require__(366); 26583 26584 26585/***/ }), 26586/* 272 */ 26587/***/ (function(module, exports, __webpack_require__) { 26588 26589 var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*! 26590 * Datepicker for Bootstrap v1.9.0 (https://github.com/uxsolutions/bootstrap-datepicker) 26591 * 26592 * Licensed under the Apache License v2.0 (http://www.apache.org/licenses/LICENSE-2.0) 26593 */ 26594 26595 !function(a){ true?!(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(2)], __WEBPACK_AMD_DEFINE_FACTORY__ = (a), __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ? (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)):a("object"==typeof exports?require("jquery"):jQuery)}(function(a,b){function c(){return new Date(Date.UTC.apply(Date,arguments))}function d(){var a=new Date;return c(a.getFullYear(),a.getMonth(),a.getDate())}function e(a,b){return a.getUTCFullYear()===b.getUTCFullYear()&&a.getUTCMonth()===b.getUTCMonth()&&a.getUTCDate()===b.getUTCDate()}function f(c,d){return function(){return d!==b&&a.fn.datepicker.deprecated(d),this[c].apply(this,arguments)}}
vendor: 15,743 bytes, line 26595
26595function g(a){return a&&!isNaN(a.getTime())}function h(b,c){function d(a,b){return b.toLowerCase()}var e,f=a(b).data(),g={},h=new RegExp("^"+c.toLowerCase()+"([A-Z])");c=new RegExp("^"+c.toLowerCase());for(var i in f)c.test(i)&&(e=i.replace(h,d),g[e]=f[i]);return g}function i(b){var c={};if(q[b]||(b=b.split("-")[0],q[b])){var d=q[b];return a.each(p,function(a,b){b in d&&(c[b]=d[b])}),c}}var j=function(){var b={get:function(a){return this.slice(a)[0]},contains:function(a){for(var b=a&&a.valueOf(),c=0,d=this.length;c<d;c++)if(0<=this[c].valueOf()-b&&this[c].valueOf()-b<864e5)return c;return-1},remove:function(a){this.splice(a,1)},replace:function(b){b&&(a.isArray(b)||(b=[b]),this.clear(),this.push.apply(this,b))},clear:function(){this.length=0},copy:function(){var a=new j;return a.replace(this),a}};return function(){var c=[];return c.push.apply(c,arguments),a.extend(c,b),c}}(),k=function(b,c){a.data(b,"datepicker",this),this._events=[],this._secondaryEvents=[],this._process_options(c),this.dates=new j,this.viewDate=this.o.defaultViewDate,this.focusDate=null,this.element=a(b),this.isInput=this.element.is("input"),this.inputField=this.isInput?this.element:this.element.find("input"),this.component=!!this.element.hasClass("date")&&this.element.find(".add-on, .input-group-addon, .input-group-append, .input-group-prepend, .btn"),this.component&&0===this.component.length&&(this.component=!1),this.isInline=!this.component&&this.element.is("div"),this.picker=a(r.template),this._check_template(this.o.templates.leftArrow)&&this.picker.find(".prev").html(this.o.templates.leftArrow),this._check_template(this.o.templates.rightArrow)&&this.picker.find(".next").html(this.o.templates.rightArrow),this._buildEvents(),this._attachEvents(),this.isInline?this.picker.addClass("datepicker-inline").appendTo(this.element):this.picker.addClass("datepicker-dropdown dropdown-menu"),this.o.rtl&&this.picker.addClass("datepicker-rtl"),this.o.calendarWeeks&&this.picker.find(".datepicker-days .datepicker-switch, thead .datepicker-title, tfoot .today, tfoot .clear").attr("colspan",function(a,b){return Number(b)+1}),this._process_options({startDate:this._o.startDate,endDate:this._o.endDate,daysOfWeekDisabled:this.o.daysOfWeekDisabled,daysOfWeekHighlighted:this.o.daysOfWeekHighlighted,datesDisabled:this.o.datesDisabled}),this._allow_update=!1,this.setViewMode(this.o.startView),this._allow_update=!0,this.fillDow(),this.fillMonths(),this.update(),this.isInline&&this.show()};k.prototype={constructor:k,_resolveViewName:function(b){return a.each(r.viewModes,function(c,d){if(b===c||-1!==a.inArray(b,d.names))return b=c,!1}),b},_resolveDaysOfWeek:function(b){return a.isArray(b)||(b=b.split(/[,\s]*/)),a.map(b,Number)},_check_template:function(c){try{if(c===b||""===c)return!1;if((c.match(/[<>]/g)||[]).length<=0)return!0;return a(c).length>0}catch(a){return!1}},_process_options:function(b){this._o=a.extend({},this._o,b);var e=this.o=a.extend({},this._o),f=e.language;q[f]||(f=f.split("-")[0],q[f]||(f=o.language)),e.language=f,e.startView=this._resolveViewName(e.startView),e.minViewMode=this._resolveViewName(e.minViewMode),e.maxViewMode=this._resolveViewName(e.maxViewMode),e.startView=Math.max(this.o.minViewMode,Math.min(this.o.maxViewMode,e.startView)),!0!==e.multidate&&(e.multidate=Number(e.multidate)||!1,!1!==e.multidate&&(e.multidate=Math.max(0,e.multidate))),e.multidateSeparator=String(e.multidateSeparator),e.weekStart%=7,e.weekEnd=(e.weekStart+6)%7;var g=r.parseFormat(e.format);e.startDate!==-1/0&&(e.startDate?e.startDate instanceof Date?e.startDate=this._local_to_utc(this._zero_time(e.startDate)):e.startDate=r.parseDate(e.startDate,g,e.language,e.assumeNearbyYear):e.startDate=-1/0),e.endDate!==1/0&&(e.endDate?e.endDate instanceof Date?e.endDate=this._local_to_utc(this._zero_time(e.endDate)):e.endDate=r.parseDate(e.endDate,g,e.language,e.assumeNearbyYear):e.endDate=1/0),e.daysOfWeekDisabled=this._resolveDaysOfWeek(e.daysOfWeekDisabled||[]),e.daysOfWeekHighlighted=this._resolveDaysOfWeek(e.daysOfWeekHighlighted||[]),e.datesDisabled=e.datesDisabled||[],a.isArray(e.datesDisabled)||(e.datesDisabled=e.datesDisabled.split(",")),e.datesDisabled=a.map(e.datesDisabled,function(a){return r.parseDate(a,g,e.language,e.assumeNearbyYear)});var h=String(e.orientation).toLowerCase().split(/\s+/g),i=e.orientation.toLowerCase();if(h=a.grep(h,function(a){return/^auto|left|right|top|bottom$/.test(a)}),e.orientation={x:"auto",y:"auto"},i&&"auto"!==i)if(1===h.length)switch(h[0]){case"top":case"bottom":e.orientation.y=h[0];break;case"left":case"right":e.orientation.x=h[0]}else i=a.grep(h,function(a){return/^left|right$/.test(a)}),e.orientation.x=i[0]||"auto",i=a.grep(h,function(a){return/^top|bottom$/.test(a)}),e.orientation.y=i[0]||"auto";else;if(e.defaultViewDate instanceof Date||"string"==typeof e.defaultViewDate)e.defaultViewDate=r.parseDate(e.defaultViewDate,g,e.language,e.assumeNearbyYear);else if(e.defaultViewDate){var j=e.defaultViewDate.year||(new Date).getFullYear(),k=e.defaultViewDate.month||0,l=e.defaultViewDate.day||1;e.defaultViewDate=c(j,k,l)}else e.defaultViewDate=d()},_applyEvents:function(a){for(var c,d,e,f=0;f<a.length;f++)c=a[f][0],2===a[f].length?(d=b,e=a[f][1]):3===a[f].length&&(d=a[f][1],e=a[f][2]),c.on(e,d)},_unapplyEvents:function(a){for(var c,d,e,f=0;f<a.length;f++)c=a[f][0],2===a[f].length?(e=b,d=a[f][1]):3===a[f].length&&(e=a[f][1],d=a[f][2]),c.off(d,e)},_buildEvents:function(){var b={keyup:a.proxy(function(b){-1===a.inArray(b.keyCode,[27,37,39,38,40,32,13,9])&&this.update()},this),keydown:a.proxy(this.keydown,this),paste:a.proxy(this.paste,this)};!0===this.o.showOnFocus&&(b.focus=a.proxy(this.show,this)),this.isInput?this._events=[[this.element,b]]:this.component&&this.inputField.length?this._events=[[this.inputField,b],[this.component,{click:a.proxy(this.show,this)}]]:this._events=[[this.element,{click:a.proxy(this.show,this),keydown:a.proxy(this.keydown,this)}]],this._events.push([this.element,"*",{blur:a.proxy(function(a){this._focused_from=a.target},this)}],[this.element,{blur:a.proxy(function(a){this._focused_from=a.target},this)}]),this.o.immediateUpdates&&this._events.push([this.element,{"changeYear changeMonth":a.proxy(function(a){this.update(a.date)},this)}]),this._secondaryEvents=[[this.picker,{click:a.proxy(this.click,this)}],[this.picker,".prev, .next",{click:a.proxy(this.navArrowsClick,this)}],[this.picker,".day:not(.disabled)",{click:a.proxy(this.dayCellClick,this)}],[a(window),{resize:a.proxy(this.place,this)}],[a(document),{"mousedown touchstart":a.proxy(function(a){this.element.is(a.target)||this.element.find(a.target).length||this.picker.is(a.target)||this.picker.find(a.target).length||this.isInline||this.hide()},this)}]]},_attachEvents:function(){this._detachEvents(),this._applyEvents(this._events)},_detachEvents:function(){this._unapplyEvents(this._events)},_attachSecondaryEvents:function(){this._detachSecondaryEvents(),this._applyEvents(this._secondaryEvents)},_detachSecondaryEvents:function(){this._unapplyEvents(this._secondaryEvents)},_trigger:function(b,c){var d=c||this.dates.get(-1),e=this._utc_to_local(d);this.element.trigger({type:b,date:e,viewMode:this.viewMode,dates:a.map(this.dates,this._utc_to_local),format:a.proxy(function(a,b){0===arguments.length?(a=this.dates.length-1,b=this.o.format):"string"==typeof a&&(b=a,a=this.dates.length-1),b=b||this.o.format;var c=this.dates.get(a);return r.formatDate(c,b,this.o.language)},this)})},show:function(){if(!(this.inputField.is(":disabled")||this.inputField.prop("readonly")&&!1===this.o.enableOnReadonly))return this.isInline||this.picker.appendTo(this.o.container),this.place(),this.picker.show(),this._attachSecondaryEvents(),this._trigger("show"),(window.navigator.msMaxTouchPoints||"ontouchstart"in document)&&this.o.disableTouchKeyboard&&a(this.element).blur(),this},hide:function(){return this.isInline||!this.picker.is(":visible")?this:(this.focusDate=null,this.picker.hide().detach(),this._detachSecondaryEvents(),this.setViewMode(this.o.startView),this.o.forceParse&&this.inputField.val()&&this.setValue(),this._trigger("hide"),this)},destroy:function(){return this.hide(),this._detachEvents(),this._detachSecondaryEvents(),this.picker.remove(),delete this.element.data().datepicker,this.isInput||delete this.element.data().date,this},paste:function(b){var c;if(b.originalEvent.clipboardData&&b.originalEvent.clipboardData.types&&-1!==a.inArray("text/plain",b.originalEvent.clipboardData.types))c=b.originalEvent.clipboardData.getData("text/plain");else{if(!window.clipboardData)return;c=window.clipboardData.getData("Text")}this.setDate(c),this.update(),b.preventDefault()},_utc_to_local:function(a){if(!a)return a;var b=new Date(a.getTime()+6e4*a.getTimezoneOffset());return b.getTimezoneOffset()!==a.getTimezoneOffset()&&(b=new Date(a.getTime()+6e4*b.getTimezoneOffset())),b},_local_to_utc:function(a){return a&&new Date(a.getTime()-6e4*a.getTimezoneOffset())},_zero_time:function(a){return a&&new Date(a.getFullYear(),a.getMonth(),a.getDate())},_zero_utc_time:function(a){return a&&c(a.getUTCFullYear(),a.getUTCMonth(),a.getUTCDate())},getDates:function(){return a.map(this.dates,this._utc_to_local)},getUTCDates:function(){return a.map(this.dates,function(a){return new Date(a)})},getDate:function(){return this._utc_to_local(this.getUTCDate())},getUTCDate:function(){var a=this.dates.get(-1);return a!==b?new Date(a):null},clearDates:function(){this.inputField.val(""),this.update(),this._trigger("changeDate"),this.o.autoclose&&this.hide()},setDates:function(){var b=a.isArray(arguments[0])?arguments[0]:arguments;return this.update.apply(this,b),this._trigger("changeDate"),this.setValue(),this},setUTCDates:function(){var b=a.isArray(arguments[0])?arguments[0]:arguments;return this.setDates.apply(this,a.map(b,this._utc_to_local)),this},setDate:f("setDates"),setUTCDate:f("setUTCDates"),remove:f("destroy","Method `remove` is deprecated and will be removed in version 2.0. Use `destroy` instead"),setValue:function(){var a=this.getFormattedDate();return this.inputField.val(a),this},getFormattedDate:function(c){c===b&&(c=this.o.format);var d=this.o.language;return a.map(this.dates,function(a){return r.formatDate(a,c,d)}).join(this.o.multidateSeparator)},getStartDate:function(){return this.o.startDate},setStartDate:function(a){return this._process_options({startDate:a}),this.update(),this.updateNavArrows(),this},getEndDate:function(){return this.o.endDate},setEndDate:function(a){return this._process_options({endDate:a}),this.update(),this.updateNavArrows(),this},setDaysOfWeekDisabled:function(a){return this._process_options({daysOfWeekDisabled:a}),this.update(),this},setDaysOfWeekHighlighted:function(a){return this._process_options({daysOfWeekHighlighted:a}),this.update(),this},setDatesDisabled:function(a){return this._process_options({datesDisabled:a}),this.update(),this},place:function(){if(this.isInline)return this;var b=this.picker.outerWidth(),c=this.picker.outerHeight(),d=a(this.o.container),e=d.width(),f="body"===this.o.container?a(document).scrollTop():d.scrollTop(),g=d.offset(),h=[0];this.element.parents().each(function(){var b=a(this).css("z-index");"auto"!==b&&0!==Number(b)&&h.push(Number(b))});var i=Math.max.apply(Math,h)+this.o.zIndexOffset,j=this.component?this.component.parent().offset():this.element.offset(),k=this.component?this.component.outerHeight(!0):this.element.outerHeight(!1),l=this.component?this.component.outerWidth(!0):this.element.outerWidth(!1),m=j.left-g.left,n=j.top-g.top;"body"!==this.o.container&&(n+=f),this.picker.removeClass("datepicker-orient-top datepicker-orient-bottom datepicker-orient-right datepicker-orient-left"),"auto"!==this.o.orientation.x?(this.picker.addClass("datepicker-orient-"+this.o.orientation.x),"right"===this.o.orientation.x&&(m-=b-l)):j.left<0?(this.picker.addClass("datepicker-orient-left"),m-=j.left-10):m+b>e?(this.picker.addClass("datepicker-orient-right"),m+=l-b):this.o.rtl?this.picker.addClass("datepicker-orient-right"):this.picker.addClass("datepicker-orient-left");var o,p=this.o.orientation.y;if("auto"===p&&(o=-f+n-c,p=o<0?"bottom":"top"),this.picker.addClass("datepicker-orient-"+p),"top"===p?n-=c+parseInt(this.picker.css("padding-top")):n+=k,this.o.rtl){var q=e-(m+l);this.picker.css({top:n,right:q,zIndex:i})}else this.picker.css({top:n,left:m,zIndex:i});return this},_allow_update:!0,update:function(){if(!this._allow_update)return this;var b=this.dates.copy(),c=[],d=!1;return arguments.length?(a.each(arguments,a.proxy(function(a,b){b instanceof Date&&(b=this._local_to_utc(b)),c.push(b)},this)),d=!0):(c=this.isInput?this.element.val():this.element.data("date")||this.inputField.val(),c=c&&this.o.multidate?c.split(this.o.multidateSeparator):[c],delete this.element.data().date),c=a.map(c,a.proxy(function(a){return r.parseDate(a,this.o.format,this.o.language,this.o.assumeNearbyYear)},this)),c=a.grep(c,a.proxy(function(a){return!this.dateWithinRange(a)||!a},this),!0),this.dates.replace(c),this.o.updateViewDate&&(this.dates.length?this.viewDate=new Date(this.dates.get(-1)):this.viewDate<this.o.startDate?this.viewDate=new Date(this.o.startDate):this.viewDate>this.o.endDate?this.viewDate=new Date(this.o.endDate):this.viewDate=this.o.defaultViewDate),d?(this.setValue(),this.element.change()):this.dates.length&&String(b)!==String(this.dates)&&d&&(this._trigger("changeDate"),this.element.change()),!this.dates.length&&b.length&&(this._trigger("clearDate"),this.element.change()),this.fill(),this},fillDow:function(){if(this.o.showWeekDays){var b=this.o.weekStart,c="<tr>";for(this.o.calendarWeeks&&(c+='<th class="cw"> </th>');b<this.o.weekStart+7;)c+='<th class="dow',-1!==a.inArray(b,this.o.daysOfWeekDisabled)&&(c+=" disabled"),c+='">'+q[this.o.language].daysMin[b++%7]+"</th>";c+="</tr>",this.picker.find(".datepicker-days thead").append(c)}},fillMonths:function(){for(var a,b=this._utc_to_local(this.viewDate),c="",d=0;d<12;d++)a=b&&b.getMonth()===d?" focused":"",c+='<span class="month'+a+'">'+q[this.o.language].monthsShort[d]+"</span>";this.picker.find(".datepicker-months td").html(c)},setRange:function(b){b&&b.length?this.range=a.map(b,function(a){return a.valueOf()}):delete this.range,this.fill()},getClassNames:function(b){var c=[],f=this.viewDate.getUTCFullYear(),g=this.viewDate.getUTCMonth(),h=d();return b.getUTCFullYear()<f||b.getUTCFullYear()===f&&b.getUTCMonth()<g?c.push("old"):(b.getUTCFullYear()>f||b.getUTCFullYear()===f&&b.getUTCMonth()>g)&&c.push("new"),this.focusDate&&b.valueOf()===this.focusDate.valueOf()&&c.push("focused"),this.o.todayHighlight&&e(b,h)&&c.push("today"),-1!==this.dates.contains(b)&&c.push("active"),this.dateWithinRange(b)||c.push("disabled"),this.dateIsDisabled(b)&&c.push("disabled","disabled-date"),-1!==a.inArray(b.getUTCDay(),this.o.daysOfWeekHighlighted)&&c.push("highlighted"),this.range&&(b>this.range[0]&&b<this.range[this.range.length-1]&&c.push("range"),-1!==a.inArray(b.valueOf(),this.range)&&c.push("selected"),b.valueOf()===this.range[0]&&c.push("range-start"),b.valueOf()===this.range[this.range.length-1]&&c.push("range-end")),c},_fill_yearsView:function(c,d,e,f,g,h,i){for(var j,k,l,m="",n=e/10,o=this.picker.find(c),p=Math.floor(f/e)*e,q=p+9*n,r=Math.floor(this.viewDate.getFullYear()/n)*n,s=a.map(this.dates,function(a){return Math.floor(a.getUTCFullYear()/n)*n}),t=p-n;t<=q+n;t+=n)j=[d],k=null,t===p-n?j.push("old"):t===q+n&&j.push("new"),-1!==a.inArray(t,s)&&j.push("active"),(t<g||t>h)&&j.push("disabled"),t===r&&j.push("focused"),i!==a.noop&&(l=i(new Date(t,0,1)),l===b?l={}:"boolean"==typeof l?l={enabled:l}:"string"==typeof l&&(l={classes:l}),!1===l.enabled&&j.push("disabled"),l.classes&&(j=j.concat(l.classes.split(/\s+/))),l.tooltip&&(k=l.tooltip)),m+='<sp
26595an class="'+j.join(" ")+'"'+(k?' title="'+k+'"':"")+">"+t+"</span>";o.find(".datepicker-switch").text(p+"-"+q),o.find("td").html(m)},fill:function(){var e,f,g=new Date(this.viewDate),h=g.getUTCFullYear(),i=g.getUTCMonth(),j=this.o.startDate!==-1/0?this.o.startDate.getUTCFullYear():-1/0,k=this.o.startDate!==-1/0?this.o.startDate.getUTCMonth():-1/0,l=this.o.endDate!==1/0?this.o.endDate.getUTCFullYear():1/0,m=this.o.endDate!==1/0?this.o.endDate.getUTCMonth():1/0,n=q[this.o.language].today||q.en.today||"",o=q[this.o.language].clear||q.en.clear||"",p=q[this.o.language].titleFormat||q.en.titleFormat,s=d(),t=(!0===this.o.todayBtn||"linked"===this.o.todayBtn)&&s>=this.o.startDate&&s<=this.o.endDate&&!this.weekOfDateIsDisabled(s);if(!isNaN(h)&&!isNaN(i)){this.picker.find(".datepicker-days .datepicker-switch").text(r.formatDate(g,p,this.o.language)),this.picker.find("tfoot .today").text(n).css("display",t?"table-cell":"none"),this.picker.find("tfoot .clear").text(o).css("display",!0===this.o.clearBtn?"table-cell":"none"),this.picker.find("thead .datepicker-title").text(this.o.title).css("display","string"==typeof this.o.title&&""!==this.o.title?"table-cell":"none"),this.updateNavArrows(),this.fillMonths();var u=c(h,i,0),v=u.getUTCDate();u.setUTCDate(v-(u.getUTCDay()-this.o.weekStart+7)%7);var w=new Date(u);u.getUTCFullYear()<100&&w.setUTCFullYear(u.getUTCFullYear()),w.setUTCDate(w.getUTCDate()+42),w=w.valueOf();for(var x,y,z=[];u.valueOf()<w;){if((x=u.getUTCDay())===this.o.weekStart&&(z.push("<tr>"),this.o.calendarWeeks)){var A=new Date(+u+(this.o.weekStart-x-7)%7*864e5),B=new Date(Number(A)+(11-A.getUTCDay())%7*864e5),C=new Date(Number(C=c(B.getUTCFullYear(),0,1))+(11-C.getUTCDay())%7*864e5),D=(B-C)/864e5/7+1;z.push('<td class="cw">'+D+"</td>")}y=this.getClassNames(u),y.push("day");var E=u.getUTCDate();this.o.beforeShowDay!==a.noop&&(f=this.o.beforeShowDay(this._utc_to_local(u)),f===b?f={}:"boolean"==typeof f?f={enabled:f}:"string"==typeof f&&(f={classes:f}),!1===f.enabled&&y.push("disabled"),f.classes&&(y=y.concat(f.classes.split(/\s+/))),f.tooltip&&(e=f.tooltip),f.content&&(E=f.content)),y=a.isFunction(a.uniqueSort)?a.uniqueSort(y):a.unique(y),z.push('<td class="'+y.join(" ")+'"'+(e?' title="'+e+'"':"")+' data-date="'+u.getTime().toString()+'">'+E+"</td>"),e=null,x===this.o.weekEnd&&z.push("</tr>"),u.setUTCDate(u.getUTCDate()+1)}this.picker.find(".datepicker-days tbody").html(z.join(""));var F=q[this.o.language].monthsTitle||q.en.monthsTitle||"Months",G=this.picker.find(".datepicker-months").find(".datepicker-switch").text(this.o.maxViewMode<2?F:h).end().find("tbody span").removeClass("active");if(a.each(this.dates,function(a,b){b.getUTCFullYear()===h&&G.eq(b.getUTCMonth()).addClass("active")}),(h<j||h>l)&&G.addClass("disabled"),h===j&&G.slice(0,k).addClass("disabled"),h===l&&G.slice(m+1).addClass("disabled"),this.o.beforeShowMonth!==a.noop){var H=this;a.each(G,function(c,d){var e=new Date(h,c,1),f=H.o.beforeShowMonth(e);f===b?f={}:"boolean"==typeof f?f={enabled:f}:"string"==typeof f&&(f={classes:f}),!1!==f.enabled||a(d).hasClass("disabled")||a(d).addClass("disabled"),f.classes&&a(d).addClass(f.classes),f.tooltip&&a(d).prop("title",f.tooltip)})}this._fill_yearsView(".datepicker-years","year",10,h,j,l,this.o.beforeShowYear),this._fill_yearsView(".datepicker-decades","decade",100,h,j,l,this.o.beforeShowDecade),this._fill_yearsView(".datepicker-centuries","century",1e3,h,j,l,this.o.beforeShowCentury)}},updateNavArrows:function(){if(this._allow_update){var a,b,c=new Date(this.viewDate),d=c.getUTCFullYear(),e=c.getUTCMonth(),f=this.o.startDate!==-1/0?this.o.startDate.getUTCFullYear():-1/0,g=this.o.startDate!==-1/0?this.o.startDate.getUTCMonth():-1/0,h=this.o.endDate!==1/0?this.o.endDate.getUTCFullYear():1/0,i=this.o.endDate!==1/0?this.o.endDate.getUTCMonth():1/0,j=1;switch(this.viewMode){case 4:j*=10;case 3:j*=10;case 2:j*=10;case 1:a=Math.floor(d/j)*j<=f,b=Math.floor(d/j)*j+j>h;break;case 0:a=d<=f&&e<=g,b=d>=h&&e>=i}this.picker.find(".prev").toggleClass("disabled",a),this.picker.find(".next").toggleClass("disabled",b)}},click:function(b){b.preventDefault(),b.stopPropagation();var e,f,g,h;e=a(b.target),e.hasClass("datepicker-switch")&&this.viewMode!==this.o.maxViewMode&&this.setViewMode(this.viewMode+1),e.hasClass("today")&&!e.hasClass("day")&&(this.setViewMode(0),this._setDate(d(),"linked"===this.o.todayBtn?null:"view")),e.hasClass("clear")&&this.clearDates(),e.hasClass("disabled")||(e.hasClass("month")||e.hasClass("year")||e.hasClass("decade")||e.hasClass("century"))&&(this.viewDate.setUTCDate(1),f=1,1===this.viewMode?(h=e.parent().find("span").index(e),g=this.viewDate.getUTCFullYear(),this.viewDate.setUTCMonth(h)):(h=0,g=Number(e.text()),this.viewDate.setUTCFullYear(g)),this._trigger(r.viewModes[this.viewMode-1].e,this.viewDate),this.viewMode===this.o.minViewMode?this._setDate(c(g,h,f)):(this.setViewMode(this.viewMode-1),this.fill())),this.picker.is(":visible")&&this._focused_from&&this._focused_from.focus(),delete this._focused_from},dayCellClick:function(b){var c=a(b.currentTarget),d=c.data("date"),e=new Date(d);this.o.updateViewDate&&(e.getUTCFullYear()!==this.viewDate.getUTCFullYear()&&this._trigger("changeYear",this.viewDate),e.getUTCMonth()!==this.viewDate.getUTCMonth()&&this._trigger("changeMonth",this.viewDate)),this._setDate(e)},navArrowsClick:function(b){var c=a(b.currentTarget),d=c.hasClass("prev")?-1:1;0!==this.viewMode&&(d*=12*r.viewModes[this.viewMode].navStep),this.viewDate=this.moveMonth(this.viewDate,d),this._trigger(r.viewModes[this.viewMode].e,this.viewDate),this.fill()},_toggle_multidate:function(a){var b=this.dates.contains(a);if(a||this.dates.clear(),-1!==b?(!0===this.o.multidate||this.o.multidate>1||this.o.toggleActive)&&this.dates.remove(b):!1===this.o.multidate?(this.dates.clear(),this.dates.push(a)):this.dates.push(a),"number"==typeof this.o.multidate)for(;this.dates.length>this.o.multidate;)this.dates.remove(0)}
vendor: 6,432 bytes, line 26595
26595,_setDate:function(a,b){b&&"date"!==b||this._toggle_multidate(a&&new Date(a)),(!b&&this.o.updateViewDate||"view"===b)&&(this.viewDate=a&&new Date(a)),this.fill(),this.setValue(),b&&"view"===b||this._trigger("changeDate"),this.inputField.trigger("change"),!this.o.autoclose||b&&"date"!==b||this.hide()},moveDay:function(a,b){var c=new Date(a);return c.setUTCDate(a.getUTCDate()+b),c},moveWeek:function(a,b){return this.moveDay(a,7*b)},moveMonth:function(a,b){if(!g(a))return this.o.defaultViewDate;if(!b)return a;var c,d,e=new Date(a.valueOf()),f=e.getUTCDate(),h=e.getUTCMonth(),i=Math.abs(b);if(b=b>0?1:-1,1===i)d=-1===b?function(){return e.getUTCMonth()===h}:function(){return e.getUTCMonth()!==c},c=h+b,e.setUTCMonth(c),c=(c+12)%12;else{for(var j=0;j<i;j++)e=this.moveMonth(e,b);c=e.getUTCMonth(),e.setUTCDate(f),d=function(){return c!==e.getUTCMonth()}}for(;d();)e.setUTCDate(--f),e.setUTCMonth(c);return e},moveYear:function(a,b){return this.moveMonth(a,12*b)},moveAvailableDate:function(a,b,c){do{if(a=this[c](a,b),!this.dateWithinRange(a))return!1;c="moveDay"}while(this.dateIsDisabled(a));return a},weekOfDateIsDisabled:function(b){return-1!==a.inArray(b.getUTCDay(),this.o.daysOfWeekDisabled)},dateIsDisabled:function(b){return this.weekOfDateIsDisabled(b)||a.grep(this.o.datesDisabled,function(a){return e(b,a)}).length>0},dateWithinRange:function(a){return a>=this.o.startDate&&a<=this.o.endDate},keydown:function(a){if(!this.picker.is(":visible"))return void(40!==a.keyCode&&27!==a.keyCode||(this.show(),a.stopPropagation()));var b,c,d=!1,e=this.focusDate||this.viewDate;switch(a.keyCode){case 27:this.focusDate?(this.focusDate=null,this.viewDate=this.dates.get(-1)||this.viewDate,this.fill()):this.hide(),a.preventDefault(),a.stopPropagation();break;case 37:case 38:case 39:case 40:if(!this.o.keyboardNavigation||7===this.o.daysOfWeekDisabled.length)break;b=37===a.keyCode||38===a.keyCode?-1:1,0===this.viewMode?a.ctrlKey?(c=this.moveAvailableDate(e,b,"moveYear"))&&this._trigger("changeYear",this.viewDate):a.shiftKey?(c=this.moveAvailableDate(e,b,"moveMonth"))&&this._trigger("changeMonth",this.viewDate):37===a.keyCode||39===a.keyCode?c=this.moveAvailableDate(e,b,"moveDay"):this.weekOfDateIsDisabled(e)||(c=this.moveAvailableDate(e,b,"moveWeek")):1===this.viewMode?(38!==a.keyCode&&40!==a.keyCode||(b*=4),c=this.moveAvailableDate(e,b,"moveMonth")):2===this.viewMode&&(38!==a.keyCode&&40!==a.keyCode||(b*=4),c=this.moveAvailableDate(e,b,"moveYear")),c&&(this.focusDate=this.viewDate=c,this.setValue(),this.fill(),a.preventDefault());break;case 13:if(!this.o.forceParse)break;e=this.focusDate||this.dates.get(-1)||this.viewDate,this.o.keyboardNavigation&&(this._toggle_multidate(e),d=!0),this.focusDate=null,this.viewDate=this.dates.get(-1)||this.viewDate,this.setValue(),this.fill(),this.picker.is(":visible")&&(a.preventDefault(),a.stopPropagation(),this.o.autoclose&&this.hide());break;case 9:this.focusDate=null,this.viewDate=this.dates.get(-1)||this.viewDate,this.fill(),this.hide()}d&&(this.dates.length?this._trigger("changeDate"):this._trigger("clearDate"),this.inputField.trigger("change"))},setViewMode:function(a){this.viewMode=a,this.picker.children("div").hide().filter(".datepicker-"+r.viewModes[this.viewMode].clsName).show(),this.updateNavArrows(),this._trigger("changeViewMode",new Date(this.viewDate))}};var l=function(b,c){a.data(b,"datepicker",this),this.element=a(b),this.inputs=a.map(c.inputs,function(a){return a.jquery?a[0]:a}),delete c.inputs,this.keepEmptyValues=c.keepEmptyValues,delete c.keepEmptyValues,n.call(a(this.inputs),c).on("changeDate",a.proxy(this.dateUpdated,this)),this.pickers=a.map(this.inputs,function(b){return a.data(b,"datepicker")}),this.updateDates()};l.prototype={updateDates:function(){this.dates=a.map(this.pickers,function(a){return a.getUTCDate()}),this.updateRanges()},updateRanges:function(){var b=a.map(this.dates,function(a){return a.valueOf()});a.each(this.pickers,function(a,c){c.setRange(b)})},clearDates:function(){a.each(this.pickers,function(a,b){b.clearDates()})},dateUpdated:function(c){if(!this.updating){this.updating=!0;var d=a.data(c.target,"datepicker");if(d!==b){var e=d.getUTCDate(),f=this.keepEmptyValues,g=a.inArray(c.target,this.inputs),h=g-1,i=g+1,j=this.inputs.length;if(-1!==g){if(a.each(this.pickers,function(a,b){b.getUTCDate()||b!==d&&f||b.setUTCDate(e)}),e<this.dates[h])for(;h>=0&&e<this.dates[h];)this.pickers[h--].setUTCDate(e);else if(e>this.dates[i])for(;i<j&&e>this.dates[i];)this.pickers[i++].setUTCDate(e);this.updateDates(),delete this.updating}}}},destroy:function(){a.map(this.pickers,function(a){a.destroy()}),a(this.inputs).off("changeDate",this.dateUpdated),delete this.element.data().datepicker},remove:f("destroy","Method `remove` is deprecated and will be removed in version 2.0. Use `destroy` instead")};var m=a.fn.datepicker,n=function(c){var d=Array.apply(null,arguments);d.shift();var e;if(this.each(function(){var b=a(this),f=b.data("datepicker"),g="object"==typeof c&&c;if(!f){var j=h(this,"date"),m=a.extend({},o,j,g),n=i(m.language),p=a.extend({},o,n,j,g);b.hasClass("input-daterange")||p.inputs?(a.extend(p,{inputs:p.inputs||b.find("input").toArray()}),f=new l(this,p)):f=new k(this,p),b.data("datepicker",f)}"string"==typeof c&&"function"==typeof f[c]&&(e=f[c].apply(f,d))}),e===b||e instanceof k||e instanceof l)return this;if(this.length>1)throw new Error("Using only allowed for the collection of a single element ("+c+" function)");return e};a.fn.datepicker=n;var o=a.fn.datepicker.defaults={assumeNearbyYear:!1,autoclose:!1,beforeShowDay:a.noop,beforeShowMonth:a.noop,beforeShowYear:a.noop,beforeShowDecade:a.noop,beforeShowCentury:a.noop,calendarWeeks:!1,clearBtn:!1,toggleActive:!1,daysOfWeekDisabled:[],daysOfWeekHighlighted:[],datesDisabled:[],endDate:1/0,forceParse:!0,format:"mm/dd/yyyy",keepEmptyValues:!1,keyboardNavigation:!0,language:"en",minViewMode:0,maxViewMode:4,multidate:!1,multidateSeparator:",",orientation:"auto",rtl:!1,startDate:-1/0,startView:0,todayBtn:!1,todayHighlight:!1,updateViewDate:!0,weekStart:0,disableTouchKeyboard:!1,enableOnReadonly:!0,showOnFocus:!0,zIndexOffset:10,container:"body",immediateUpdates:!1,title:"",templates:{leftArrow:"«",rightArrow:"»"},showWeekDays:!0},p=a.fn.datepicker.locale_opts=["format","rtl","weekStart"];a.fn.datepicker.Constructor=k;var q=a.fn.datepicker.dates={en:{days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Frid
26595ay","Saturday"],daysShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],daysMin:["Su","Mo","Tu","We","Th","Fr","Sa"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],monthsShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],today:"Today",clear:"Clear",titleFormat:"MM yyyy"}},r={viewModes:[{names:["days","month"],clsName:"days",e:"changeMonth"},{names:["months","year"],clsName:"months",e:"changeYear",navStep:1},{names:["years","decade"],clsName:"years",e:"changeDecade",navStep:10},{names:["decades","century"],clsName:"decades",e:"changeCentury",navStep:100},{names:["centuries","millennium"],clsName:"centuries",e:"changeMillennium",navStep:1e3}],validParts:/dd?|DD?|mm?|MM?|yy(?:yy)?/g,nonpunctuation:/[^ -\/:-@\u5e74\u6708\u65e5\[-`{-~\t\n\r]+/g,parseFormat:function(a){if("function"==typeof a.toValue&&"function"==typeof a.toDisplay)return a;var b=a.replace(this.validParts,"\0").split("\0"),c=a.match(this.validParts);if(!b||!b.length||!c||0===c.length)throw new Error("Invalid date format.");return{separators:b,parts:c}},parseDate:function(c,e,f,g){function h(a,b){return!0===b&&(b=10),a<100&&(a+=2e3)>(new Date).getFullYear()+b&&(a-=100),a}function i(){var a=this.slice(0,j[n].length),b=j[n].slice(0,a.length);return a.toLowerCase()===b.toLowerCase()}if(!c)return b;if(c instanceof Date)return c;if("string"==typeof e&&(e=r.parseFormat(e)),e.toValue)return e.toValue(c,e,f);var j,l,m,n,o,p={d:"moveDay",m:"moveMonth",w:"moveWeek",y:"moveYear"},s={yesterday:"-1d",today:"+0d",tomorrow:"+1d"};if(c in s&&(c=s[c]),/^[\-+]\d+[dmwy]([\s,]+[\-+]\d+[dmwy])*$/i.test(c)){for(j=c.match(/([\-+]\d+)([dmwy])/gi),c=new Date,n=0;n<j.length;n++)l=j[n].match(/([\-+]\d+)([dmwy])/i),m=Number(l[1]),o=p[l[2].toLowerCase()],c=k.prototype[o](c,m);return k.prototype._zero_utc_time(c)}j=c&&c.match(this.nonpunctuation)||[];var t,u,v={},w=["yyyy","yy","M","MM","m","mm","d","dd"],x={yyyy:function(a,b){return a.setUTCFullYear(g?h(b,g):b)},m:function(a,b){if(isNaN(a))return a;for(b-=1;b<0;)b+=12;for(b%=12,a.setUTCMonth(b);a.getUTCMonth()!==b;)a.setUTCDate(a.getUTCDate()-1);return a},d:function(a,b){return a.setUTCDate(b)}};x.yy=x.yyyy,x.M=x.MM=x.mm=x.m,x.dd=x.d,c=d();var y=e.parts.slice();if(j.length!==y.length&&(y=a(y).filter(function(b,c){return-1!==a.inArray(c,w)}).toArray()),j.length===y.length){var z;for(n=0,z=y.length;n<z;n++){if(t=parseInt(j[n],10),l=y[n],isNaN(t))switch(l){case"MM":u=a(q[f].months).filter(i),t=a.inArray(u[0],q[f].months)+1;break;case"M":u=a(q[f].monthsShort).filter(i),t=a.inArray(u[0],q[f].monthsShort)+1}v[l]=t}var A,B;for(n=0;n<w.length;n++)(B=w[n])in v&&!isNaN(v[B])&&(A=new Date(c),x[B](A,v[B]),isNaN(A)||(c=A))}return c},formatDate:function(b,c,d){if(!b)return"";if("string"==typeof c&&(c=r.parseFormat(c)),c.toDisplay)return c.toDisplay(b,c,d);var e={d:b.getUTCDate(),D:q[d].daysShort[b.getUTCDay()],DD:q[d].days[b.getUTCDay()],m:b.getUTCMonth()+1,M:q[d].monthsShort[b.getUTCMonth()],MM:q[d].months[b.getUTCMonth()],yy:b.getUTCFullYear().toString().substring(2),yyyy:b.getUTCFullYear()};e.dd=(e.d<10?"0":"")+e.d,e.mm=(e.m<10?"0":"")+e.m,b=[];for(var f=a.extend([],c.separators),g=0,h=c.parts.length;g<=h;g++)f.length&&b.push(f.shift()),b.push(e[c.parts[g]]);return b.join("")}, 26596 headTemplate:'<thead><tr><th colspan="7" class="datepicker-title"></th></tr><tr><th class="prev">'+o.templates.leftArrow+'</th><th colspan="5" class="datepicker-switch"></th><th class="next">'+o.templates.rightArrow+"</th></tr></thead>",contTemplate:'<tbody><tr><td colspan="7"></td></tr></tbody>',footTemplate:'<tfoot><tr><th colspan="7" class="today"></th></tr><tr><th colspan="7" class="clear"></th></tr></tfoot>'};r.template='<div class="datepicker"><div class="datepicker-days"><table class="table-condensed">'+r.headTemplate+"<tbody></tbody>"+r.footTemplate+'</table></div><div class="datepicker-months"><table class="table-condensed">'+r.headTemplate+r.contTemplate+r.footTemplate+'</table></div><div class="datepicker-years"><table class="table-condensed">'+r.headTemplate+r.contTemplate+r.footTemplate+'</table></div><div class="datepicker-decades"><table class="table-condensed">'+r.headTemplate+r.contTemplate+r.footTemplate+'</table></div><div class="datepicker-centuries"><table class="table-condensed">'+r.headTemplate+r.contTemplate+r.footTemplate+"</table></div></div>",a.fn.datepicker.DPGlobal=r,a.fn.datepicker.noConflict=function(){return a.fn.datepicker=m,this},a.fn.datepicker.version="1.9.0",a.fn.datepicker.deprecated=function(a){var b=window.console;b&&b.warn&&b.warn("DEPRECATED: "+a)},a(document).on("focus.datepicker.data-api click.datepicker.data-api",'[data-provide="datepicker"]',function(b){var c=a(this);c.data("datepicker")||(b.preventDefault(),n.call(c,"show"))}),a(function(){n.call(a('[data-provide="datepicker-inline"]'))})}); 26597 26598/***/ }), 26599/* 273 */
26600/***/ (function(module, exports) { 26601 26602 /** 26603 * French translation for bootstrap-datepicker 26604 * Nico Mollet <[email protected]> 26605 */ 26606 ;(function($){ 26607 $.fn.datepicker.dates['fr'] = { 26608 days: ["dimanche", "lundi", "mardi", "mercredi", "jeudi", "vendredi", "samedi"], 26609 daysShort: ["dim.", "lun.", "mar.", "mer.", "jeu.", "ven.", "sam."], 26610 daysMin: ["d", "l", "ma", "me", "j", "v", "s"], 26611 months: ["janvier", "février", "mars", "avril", "mai", "juin", "juillet", "août", "septembre", "octobre", "novembre", "décembre"], 26612 monthsShort: ["janv.", "févr.", "mars", "avril", "mai", "juin", "juil.", "août", "sept.", "oct.", "nov.", "déc."], 26613 today: "Aujourd'hui", 26614 monthsTitle: "Mois", 26615 clear: "Effacer", 26616 weekStart: 1, 26617 format: "dd/mm/yyyy" 26618 }; 26619 }(jQuery)); 26620 26621 26622/***/ }), 26623/* 274 */, 26624/* 275 */, 26625/* 276 */ 26626/***/ (function(module, exports) { 26627 26628 // removed by extract-text-webpack-plugin 26629 26630/***/ }), 26631/* 277 */ 26632/***/ (function(module, exports) { 26633 26634 // removed by extract-text-webpack-plugin 26635 26636/***/ }), 26637/* 278 */ 26638/***/ (function(module, exports) { 26639 26640 // removed by extract-text-webpack-plugin 26641 26642/***/ }), 26643/* 279 */ 26644/***/ (function(module, exports) { 26645 26646 // removed by extract-text-webpack-plugin 26647 26648/***/ }), 26649/* 280 */ 26650/***/ (function(module, exports) { 26651 26652 // removed by extract-text-webpack-plugin 26653 26654/***/ }), 26655/* 281 */ 26656/***/ (function(module, exports) { 26657 26658 // removed by extract-text-webpack-plugin 26659 26660/***/ }), 26661/* 282 */ 26662/***/ (function(module, exports) { 26663 26664 // removed by extract-text-webpack-plugin 26665 26666/***/ }), 26667/* 283 */ 26668/***/ (function(module, exports) { 26669 26670 // removed by extract-text-webpack-plugin 26671 26672/***/ }), 26673/* 284 */ 26674/***/ (function(module, exports) { 26675 26676 // removed by extract-text-webpack-plugin 26677 26678/***/ }), 26679/* 285 */ 26680/***/ (function(module, exports) { 26681 26682 // removed by extract-text-webpack-plugin 26683 26684/***/ }), 26685/* 286 */ 26686/***/ (function(module, exports) { 26687 26688 // removed by extract-text-webpack-plugin 26689 26690/***/ }), 26691/* 287 */ 26692/***/ (function(module, exports) { 26693 26694 // removed by extract-text-webpack-plugin 26695 26696/***/ }), 26697/* 288 */ 26698/***/ (function(module, exports) { 26699 26700 // removed by extract-text-webpack-plugin 26701 26702/***/ }), 26703/* 289 */ 26704/***/ (function(module, exports) { 26705 26706 // removed by extract-text-webpack-plugin 26707 26708/***/ }), 26709/* 290 */ 26710/***/ (function(module, exports) { 26711 26712 // removed by extract-text-webpack-plugin 26713 26714/***/ }), 26715/* 291 */ 26716/***/ (function(module, exports) { 26717 26718 // removed by extract-text-webpack-plugin 26719 26720/***/ }), 26721/* 292 */ 26722/***/ (function(module, exports) { 26723 26724 // removed by extract-text-webpack-plugin 26725 26726/***/ }), 26727/* 293 */ 26728/***/ (function(module, exports) { 26729 26730 // removed by extract-text-webpack-plugin 26731 26732/***/ }), 26733/* 294 */ 26734/***/ (function(module, exports) { 26735 26736 // removed by extract-text-webpack-plugin 26737 26738/***/ }), 26739/* 295 */ 26740/***/ (function(module, exports) { 26741 26742 // removed by extract-text-webpack-plugin 26743 26744/***/ }), 26745/* 296 */ 26746/***/ (function(module, exports) { 26747 26748 // removed by extract-text-webpack-plugin 26749 26750/***/ }), 26751/* 297 */ 26752/***/ (function(module, exports) { 26753 26754 // removed by extract-text-webpack-plugin 26755 26756/***/ }), 26757/* 298 */ 26758/***/ (function(module, exports) { 26759 26760 // removed by extract-text-webpack-plugin 26761 26762/***/ }), 26763/* 299 */ 26764/***/ (function(module, exports) { 26765 26766 // removed by extract-text-webpack-plugin 26767 26768/***/ }), 26769/* 300 */ 26770/***/ (function(module, exports) { 26771 26772 // removed by extract-text-webpack-plugin 26773 26774/***/ }), 26775/* 301 */ 26776/***/ (function(module, exports) { 26777 26778 // removed by extract-text-webpack-plugin 26779 26780/***/ }), 26781/* 302 */ 26782/***/ (function(module, exports) { 26783 26784 // removed by extract-text-webpack-plugin 26785 26786/***/ }), 26787/* 303 */ 26788/***/ (function(module, exports) { 26789 26790 // removed by extract-text-webpack-plugin 26791 26792/***/ }), 26793/* 304 */ 26794/***/ (function(module, exports) { 26795 26796 // removed by extract-text-webpack-plugin 26797 26798/***/ }), 26799/* 305 */ 26800/***/ (function(module, exports) { 26801 26802 // removed by extract-text-webpack-plugin 26803 26804/***/ }), 26805/* 306 */ 26806/***/ (function(module, exports) { 26807 26808 // removed by extract-text-webpack-plugin 26809 26810/***/ }), 26811/* 307 */ 26812/***/ (function(module, exports) { 26813 26814 // removed by extract-text-webpack-plugin 26815 26816/***/ }), 26817/* 308 */ 26818/***/ (function(module, exports) { 26819 26820 // removed by extract-text-webpack-plugin 26821 26822/***/ }), 26823/* 309 */
26824/***/ (function(module, exports) { 26825 26826 // removed by extract-text-webpack-plugin 26827 26828/***/ }), 26829/* 310 */ 26830/***/ (function(module, exports) { 26831 26832 // removed by extract-text-webpack-plugin 26833 26834/***/ }), 26835/* 311 */ 26836/***/ (function(module, exports) { 26837 26838 // removed by extract-text-webpack-plugin 26839 26840/***/ }), 26841/* 312 */ 26842/***/ (function(module, exports) { 26843 26844 // removed by extract-text-webpack-plugin 26845 26846/***/ }), 26847/* 313 */ 26848/***/ (function(module, exports) { 26849 26850 // removed by extract-text-webpack-plugin 26851 26852/***/ }), 26853/* 314 */ 26854/***/ (function(module, exports) { 26855 26856 // removed by extract-text-webpack-plugin 26857 26858/***/ }), 26859/* 315 */ 26860/***/ (function(module, exports) { 26861 26862 // removed by extract-text-webpack-plugin 26863 26864/***/ }), 26865/* 316 */ 26866/***/ (function(module, exports) { 26867 26868 // removed by extract-text-webpack-plugin 26869 26870/***/ }), 26871/* 317 */ 26872/***/ (function(module, exports) { 26873 26874 // removed by extract-text-webpack-plugin 26875 26876/***/ }), 26877/* 318 */ 26878/***/ (function(module, exports) { 26879 26880 // removed by extract-text-webpack-plugin 26881 26882/***/ }), 26883/* 319 */ 26884/***/ (function(module, exports) { 26885 26886 // removed by extract-text-webpack-plugin 26887 26888/***/ }), 26889/* 320 */ 26890/***/ (function(module, exports) { 26891 26892 // removed by extract-text-webpack-plugin 26893 26894/***/ }), 26895/* 321 */ 26896/***/ (function(module, exports) { 26897 26898 // removed by extract-text-webpack-plugin 26899 26900/***/ }), 26901/* 322 */ 26902/***/ (function(module, exports) { 26903 26904 // removed by extract-text-webpack-plugin 26905 26906/***/ }), 26907/* 323 */ 26908/***/ (function(module, exports) { 26909 26910 // removed by extract-text-webpack-plugin 26911 26912/***/ }), 26913/* 324 */ 26914/***/ (function(module, exports) { 26915 26916 // removed by extract-text-webpack-plugin 26917 26918/***/ }), 26919/* 325 */ 26920/***/ (function(module, exports) { 26921 26922 // removed by extract-text-webpack-plugin 26923 26924/***/ }), 26925/* 326 */ 26926/***/ (function(module, exports) { 26927 26928 // removed by extract-text-webpack-plugin 26929 26930/***/ }), 26931/* 327 */ 26932/***/ (function(module, exports) { 26933 26934 // removed by extract-text-webpack-plugin 26935 26936/***/ }), 26937/* 328 */ 26938/***/ (function(module, exports) { 26939 26940 // removed by extract-text-webpack-plugin 26941 26942/***/ }), 26943/* 329 */ 26944/***/ (function(module, exports) { 26945 26946 // removed by extract-text-webpack-plugin 26947 26948/***/ }), 26949/* 330 */ 26950/***/ (function(module, exports) { 26951 26952 // removed by extract-text-webpack-plugin 26953 26954/***/ }), 26955/* 331 */ 26956/***/ (function(module, exports) { 26957 26958 // removed by extract-text-webpack-plugin 26959 26960/***/ }), 26961/* 332 */ 26962/***/ (function(module, exports) { 26963 26964 // removed by extract-text-webpack-plugin 26965 26966/***/ }), 26967/* 333 */ 26968/***/ (function(module, exports) { 26969 26970 // removed by extract-text-webpack-plugin 26971 26972/***/ }), 26973/* 334 */ 26974/***/ (function(module, exports) { 26975 26976 // removed by extract-text-webpack-plugin 26977 26978/***/ }), 26979/* 335 */ 26980/***/ (function(module, exports) { 26981 26982 // removed by extract-text-webpack-plugin 26983 26984/***/ }), 26985/* 336 */ 26986/***/ (function(module, exports) { 26987 26988 // removed by extract-text-webpack-plugin 26989 26990/***/ }), 26991/* 337 */ 26992/***/ (function(module, exports) { 26993 26994 // removed by extract-text-webpack-plugin 26995 26996/***/ }), 26997/* 338 */ 26998/***/ (function(module, exports) { 26999 27000 // removed by extract-text-webpack-plugin 27001 27002/***/ }), 27003/* 339 */ 27004/***/ (function(module, exports) { 27005 27006 // removed by extract-text-webpack-plugin 27007 27008/***/ }), 27009/* 340 */ 27010/***/ (function(module, exports) { 27011 27012 // removed by extract-text-webpack-plugin 27013 27014/***/ }), 27015/* 341 */ 27016/***/ (function(module, exports) { 27017 27018 // removed by extract-text-webpack-plugin 27019 27020/***/ }), 27021/* 342 */ 27022/***/ (function(module, exports) { 27023 27024 // removed by extract-text-webpack-plugin 27025 27026/***/ }), 27027/* 343 */ 27028/***/ (function(module, exports) { 27029 27030 // removed by extract-text-webpack-plugin 27031 27032/***/ }), 27033/* 344 */ 27034/***/ (function(module, exports) { 27035 27036 // removed by extract-text-webpack-plugin 27037 27038/***/ }), 27039/* 345 */ 27040/***/ (function(module, exports) { 27041 27042 // removed by extract-text-webpack-plugin 27043 27044/***/ }), 27045/* 346 */ 27046/***/ (function(module, exports) { 27047 27048 // removed by extract-text-webpack-plugin 27049 27050/***/ }), 27051/* 347 */ 27052/***/ (function(module, exports) { 27053 27054 // removed by extract-text-webpack-plugin 27055 27056/***/ }), 27057/* 348 */ 27058/***/ (function(module, exports) { 27059 27060 // removed by extract-text-webpack-plugin 27061 27062/***/ }), 27063/* 349 */ 27064/***/ (function(module, exports) { 27065 27066 // removed by extract-text-webpack-plugin 27067 27068/***/ }), 27069/* 350 */
vendor: 19,250 bytes, lines 27070-27802
27070/***/ (function(module, exports) { 27071 27072 // removed by extract-text-webpack-plugin 27073 27074/***/ }), 27075/* 351 */ 27076/***/ (function(module, exports) { 27077 27078 // removed by extract-text-webpack-plugin 27079 27080/***/ }), 27081/* 352 */ 27082/***/ (function(module, exports) { 27083 27084 // removed by extract-text-webpack-plugin 27085 27086/***/ }), 27087/* 353 */ 27088/***/ (function(module, exports) { 27089 27090 // removed by extract-text-webpack-plugin 27091 27092/***/ }), 27093/* 354 */ 27094/***/ (function(module, exports) { 27095 27096 // removed by extract-text-webpack-plugin 27097 27098/***/ }), 27099/* 355 */ 27100/***/ (function(module, exports) { 27101 27102 // removed by extract-text-webpack-plugin 27103 27104/***/ }), 27105/* 356 */ 27106/***/ (function(module, exports) { 27107 27108 // removed by extract-text-webpack-plugin 27109 27110/***/ }), 27111/* 357 */ 27112/***/ (function(module, exports) { 27113 27114 // removed by extract-text-webpack-plugin 27115 27116/***/ }), 27117/* 358 */ 27118/***/ (function(module, exports) { 27119 27120 // removed by extract-text-webpack-plugin 27121 27122/***/ }), 27123/* 359 */ 27124/***/ (function(module, exports) { 27125 27126 // removed by extract-text-webpack-plugin 27127 27128/***/ }), 27129/* 360 */ 27130/***/ (function(module, exports) { 27131 27132 // removed by extract-text-webpack-plugin 27133 27134/***/ }), 27135/* 361 */ 27136/***/ (function(module, exports) { 27137 27138 // removed by extract-text-webpack-plugin 27139 27140/***/ }), 27141/* 362 */ 27142/***/ (function(module, exports) { 27143 27144 // removed by extract-text-webpack-plugin 27145 27146/***/ }), 27147/* 363 */ 27148/***/ (function(module, exports) { 27149 27150 // removed by extract-text-webpack-plugin 27151 27152/***/ }), 27153/* 364 */ 27154/***/ (function(module, exports) { 27155 27156 // removed by extract-text-webpack-plugin 27157 27158/***/ }), 27159/* 365 */ 27160/***/ (function(module, exports) { 27161 27162 // removed by extract-text-webpack-plugin 27163 27164/***/ }), 27165/* 366 */ 27166/***/ (function(module, exports) { 27167 27168 // removed by extract-text-webpack-plugin 27169 27170/***/ }), 27171/* 367 */ 27172/***/ (function(module, exports) { 27173 27174 // removed by extract-text-webpack-plugin 27175 27176/***/ }), 27177/* 368 */ 27178/***/ (function(module, exports) { 27179 27180 // removed by extract-text-webpack-plugin 27181 27182/***/ }), 27183/* 369 */ 27184/***/ (function(module, exports) { 27185 27186 // removed by extract-text-webpack-plugin 27187 27188/***/ }), 27189/* 370 */ 27190/***/ (function(module, exports) { 27191 27192 // removed by extract-text-webpack-plugin 27193 27194/***/ }), 27195/* 371 */ 27196/***/ (function(module, exports) { 27197 27198 // removed by extract-text-webpack-plugin 27199 27200/***/ }), 27201/* 372 */ 27202/***/ (function(module, exports, __webpack_require__) { 27203 27204 /*** IMPORTS FROM imports-loader ***/ 27205 var jQuery = __webpack_require__(2); 27206 27207 /* ======================================================================== 27208 * Bootstrap: alert.js v3.3.5 27209 * http://getbootstrap.com/javascript/#alerts 27210 * ======================================================================== 27211 * Copyright 2011-2015 Twitter, Inc. 27212 * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) 27213 * ======================================================================== */ 27214 27215 27216 +function ($) { 27217 'use strict'; 27218 27219 // ALERT CLASS DEFINITION 27220 // ====================== 27221 27222 var dismiss = '[data-dismiss="alert"]' 27223 var Alert = function (el) { 27224 $(el).on('click', dismiss, this.close) 27225 } 27226 27227 Alert.VERSION = '3.3.5' 27228 27229 Alert.TRANSITION_DURATION = 150 27230 27231 Alert.prototype.close = function (e) { 27232 var $this = $(this) 27233 var selector = $this.attr('data-target') 27234 27235 if (!selector) { 27236 selector = $this.attr('href') 27237 selector = selector && selector.replace(/.*(?=#[^\s]*$)/, '') // strip for ie7 27238 } 27239 27240 var $parent = $(selector) 27241 27242 if (e) e.preventDefault() 27243 27244 if (!$parent.length) { 27245 $parent = $this.closest('.alert') 27246 } 27247 27248 $parent.trigger(e = $.Event('close.bs.alert')) 27249 27250 if (e.isDefaultPrevented()) return 27251 27252 $parent.removeClass('in') 27253 27254 function removeElement() { 27255 // detach from parent, fire event then clean up data 27256 $parent.detach().trigger('closed.bs.alert').remove() 27257 } 27258 27259 $.support.transition && $parent.hasClass('fade') ? 27260 $parent 27261 .one('bsTransitionEnd', removeElement) 27262 .emulateTransitionEnd(Alert.TRANSITION_DURATION) : 27263 removeElement() 27264 } 27265 27266 27267 // ALERT PLUGIN DEFINITION 27268 // ======================= 27269 27270 function Plugin(option) { 27271 return this.each(function () { 27272 var $this = $(this) 27273 var data = $this.data('bs.alert') 27274 27275 if (!data) $this.data('bs.alert', (data = new Alert(this))) 27276 if (typeof option == 'string') data[option].call($this) 27277 }) 27278 } 27279 27280 var old = $.fn.alert 27281 27282 $.fn.alert = Plugin 27283 $.fn.alert.Constructor = Alert 27284 27285 27286 // ALERT NO CONFLICT 27287 // ================= 27288 27289 $.fn.alert.noConflict = function () { 27290 $.fn.alert = old 27291 return this 27292 } 27293 27294 27295 // ALERT DATA-API 27296 // ============== 27297 27298 $(document).on('click.bs.alert.data-api', dismiss, Alert.prototype.close) 27299 27300 }(jQuery); 27301 27302 27303 27304/***/ }), 27305/* 373 */ 27306/***/ (function(module, exports, __webpack_require__) { 27307 27308 /*** IMPORTS FROM imports-loader ***/ 27309 var jQuery = __webpack_require__(2); 27310 27311 /* ======================================================================== 27312 * Bootstrap: button.js v3.3.5 27313 * http://getbootstrap.com/javascript/#buttons 27314 * ======================================================================== 27315 * Copyright 2011-2015 Twitter, Inc. 27316 * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) 27317 * ======================================================================== */ 27318 27319 27320 +function ($) { 27321 'use strict'; 27322 27323 // BUTTON PUBLIC CLASS DEFINITION 27324 // ============================== 27325 27326 var Button = function (element, options) { 27327 this.$element = $(element) 27328 this.options = $.extend({}, Button.DEFAULTS, options) 27329 this.isLoading = false 27330 } 27331 27332 Button.VERSION = '3.3.5' 27333 27334 Button.DEFAULTS = { 27335 loadingText: 'loading...' 27336 } 27337 27338 Button.prototype.setState = function (state) { 27339 var d = 'disabled' 27340 var $el = this.$element 27341 var val = $el.is('input') ? 'val' : 'html' 27342 var data = $el.data() 27343 27344 state += 'Text' 27345 27346 if (data.resetText == null) $el.data('resetText', $el[val]()) 27347 27348 // push to event loop to allow forms to submit 27349 setTimeout($.proxy(function () { 27350 $el[val](data[state] == null ? this.options[state] : data[state]) 27351 27352 if (state == 'loadingText') { 27353 this.isLoading = true 27354 $el.addClass(d).attr(d, d) 27355 } else if (this.isLoading) { 27356 this.isLoading = false 27357 $el.removeClass(d).removeAttr(d) 27358 } 27359 }, this), 0) 27360 } 27361 27362 Button.prototype.toggle = function () { 27363 var changed = true 27364 var $parent = this.$element.closest('[data-toggle="buttons"]') 27365 27366 if ($parent.length) { 27367 var $input = this.$element.find('input') 27368 if ($input.prop('type') == 'radio') { 27369 if ($input.prop('checked')) changed = false 27370 $parent.find('.active').removeClass('active') 27371 this.$element.addClass('active') 27372 } else if ($input.prop('type') == 'checkbox') { 27373 if (($input.prop('checked')) !== this.$element.hasClass('active')) changed = false 27374 this.$element.toggleClass('active') 27375 } 27376 $input.prop('checked', this.$element.hasClass('active')) 27377 if (changed) $input.trigger('change') 27378 } else { 27379 this.$element.attr('aria-pressed', !this.$element.hasClass('active')) 27380 this.$element.toggleClass('active') 27381 } 27382 } 27383 27384 27385 // BUTTON PLUGIN DEFINITION 27386 // ======================== 27387 27388 function Plugin(option) { 27389 return this.each(function () { 27390 var $this = $(this) 27391 var data = $this.data('bs.button') 27392 var options = typeof option == 'object' && option 27393 27394 if (!data) $this.data('bs.button', (data = new Button(this, options))) 27395 27396 if (option == 'toggle') data.toggle() 27397 else if (option) data.setState(option) 27398 }) 27399 } 27400 27401 var old = $.fn.button 27402 27403 $.fn.button = Plugin 27404 $.fn.button.Constructor = Button 27405 27406 27407 // BUTTON NO CONFLICT 27408 // ================== 27409 27410 $.fn.button.noConflict = function () { 27411 $.fn.button = old 27412 return this 27413 } 27414 27415 27416 // BUTTON DATA-API 27417 // =============== 27418 27419 $(document) 27420 .on('click.bs.button.data-api', '[data-toggle^="button"]', function (e) { 27421 var $btn = $(e.target) 27422 if (!$btn.hasClass('btn')) $btn = $btn.closest('.btn') 27423 Plugin.call($btn, 'toggle') 27424 if (!($(e.target).is('input[type="radio"]') || $(e.target).is('input[type="checkbox"]'))) e.preventDefault() 27425 }) 27426 .on('focus.bs.button.data-api blur.bs.button.data-api', '[data-toggle^="button"]', function (e) { 27427 $(e.target).closest('.btn').toggleClass('focus', /^focus(in)?$/.test(e.type)) 27428 }) 27429 27430 }(jQuery); 27431 27432 27433 27434/***/ }), 27435/* 374 */ 27436/***/ (function(module, exports, __webpack_require__) { 27437 27438 /*** IMPORTS FROM imports-loader ***/ 27439 var jQuery = __webpack_require__(2); 27440 27441 /* ======================================================================== 27442 * Bootstrap: dropdown.js v3.3.5 27443 * http://getbootstrap.com/javascript/#dropdowns 27444 * ======================================================================== 27445 * Copyright 2011-2015 Twitter, Inc. 27446 * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) 27447 * ======================================================================== */ 27448 27449 27450 +function ($) { 27451 'use strict'; 27452 27453 // DROPDOWN CLASS DEFINITION 27454 // ========================= 27455 27456 var backdrop = '.dropdown-backdrop' 27457 var toggle = '[data-toggle="dropdown"]' 27458 var Dropdown = function (element) { 27459 $(element).on('click.bs.dropdown', this.toggle) 27460 } 27461 27462 Dropdown.VERSION = '3.3.5' 27463 27464 function getParent($this) { 27465 var selector = $this.attr('data-target') 27466 27467 if (!selector) { 27468 selector = $this.attr('href') 27469 selector = selector && /#[A-Za-z]/.test(selector) && selector.replace(/.*(?=#[^\s]*$)/, '') // strip for ie7 27470 } 27471 27472 var $parent = selector && $(selector) 27473 27474 return $parent && $parent.length ? $parent : $this.parent() 27475 } 27476 27477 function clearMenus(e) { 27478 if (e && e.which === 3) return 27479 $(backdrop).remove() 27480 $(toggle).each(function () { 27481 var $this = $(this) 27482 var $parent = getParent($this) 27483 var relatedTarget = { relatedTarget: this } 27484 27485 if (!$parent.hasClass('open')) return 27486 27487 if (e && e.type == 'click' && /input|textarea/i.test(e.target.tagName) && $.contains($parent[0], e.target)) return 27488 27489 $parent.trigger(e = $.Event('hide.bs.dropdown', relatedTarget)) 27490 27491 if (e.isDefaultPrevented()) return 27492 27493 $this.attr('aria-expanded', 'false') 27494 $parent.removeClass('open').trigger('hidden.bs.dropdown', relatedTarget) 27495 }) 27496 } 27497 27498 Dropdown.prototype.toggle = function (e) { 27499 var $this = $(this) 27500 27501 if ($this.is('.disabled, :disabled')) return 27502 27503 var $parent = getParent($this) 27504 var isActive = $parent.hasClass('open') 27505 27506 clearMenus() 27507 27508 if (!isActive) { 27509 if ('ontouchstart' in document.documentElement && !$parent.closest('.navbar-nav').length) { 27510 // if mobile we use a backdrop because click events don't delegate 27511 $(document.createElement('div')) 27512 .addClass('dropdown-backdrop') 27513 .insertAfter($(this)) 27514 .on('click', clearMenus) 27515 } 27516 27517 var relatedTarget = { relatedTarget: this } 27518 $parent.trigger(e = $.Event('show.bs.dropdown', relatedTarget)) 27519 27520 if (e.isDefaultPrevented()) return 27521 27522 $this 27523 .trigger('focus') 27524 .attr('aria-expanded', 'true') 27525 27526 $parent 27527 .toggleClass('open') 27528 .trigger('shown.bs.dropdown', relatedTarget) 27529 } 27530 27531 return false 27532 } 27533 27534 Dropdown.prototype.keydown = function (e) { 27535 if (!/(38|40|27|32)/.test(e.which) || /input|textarea/i.test(e.target.tagName)) return 27536 27537 var $this = $(this) 27538 27539 e.preventDefault() 27540 e.stopPropagation() 27541 27542 if ($this.is('.disabled, :disabled')) return 27543 27544 var $parent = getParent($this) 27545 var isActive = $parent.hasClass('open') 27546 27547 if (!isActive && e.which != 27 || isActive && e.which == 27) { 27548 if (e.which == 27) $parent.find(toggle).trigger('focus') 27549 return $this.trigger('click') 27550 } 27551 27552 var desc = ' li:not(.disabled):visible a' 27553 var $items = $parent.find('.dropdown-menu' + desc) 27554 27555 if (!$items.length) return 27556 27557 var index = $items.index(e.target) 27558 27559 if (e.which == 38 && index > 0) index-- // up 27560 if (e.which == 40 && index < $items.length - 1) index++ // down 27561 if (!~index) index = 0 27562 27563 $items.eq(index).trigger('focus') 27564 } 27565 27566 27567 // DROPDOWN PLUGIN DEFINITION 27568 // ========================== 27569 27570 function Plugin(option) { 27571 return this.each(function () { 27572 var $this = $(this) 27573 var data = $this.data('bs.dropdown') 27574 27575 if (!data) $this.data('bs.dropdown', (data = new Dropdown(this))) 27576 if (typeof option == 'string') data[option].call($this) 27577 }) 27578 } 27579 27580 var old = $.fn.dropdown 27581 27582 $.fn.dropdown = Plugin 27583 $.fn.dropdown.Constructor = Dropdown 27584 27585 27586 // DROPDOWN NO CONFLICT 27587 // ==================== 27588 27589 $.fn.dropdown.noConflict = function () { 27590 $.fn.dropdown = old 27591 return this 27592 } 27593 27594 27595 // APPLY TO STANDARD DROPDOWN ELEMENTS 27596 // =================================== 27597 27598 $(document) 27599 .on('click.bs.dropdown.data-api', clearMenus) 27600 .on('click.bs.dropdown.data-api', '.dropdown form', function (e) { e.stopPropagation() }) 27601 .on('click.bs.dropdown.data-api', toggle, Dropdown.prototype.toggle) 27602 .on('keydown.bs.dropdown.data-api', toggle, Dropdown.prototype.keydown) 27603 .on('keydown.bs.dropdown.data-api', '.dropdown-menu', Dropdown.prototype.keydown) 27604 27605 }(jQuery); 27606 27607 27608 27609/***/ }), 27610/* 375 */ 27611/***/ (function(module, exports, __webpack_require__) { 27612 27613 var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/** 27614 * Isotope Item 27615 **/ 27616 27617 ( function( window, factory ) { 27618 // universal module definition 27619 /* jshint strict: false */ /*globals define, module, require */ 27620 if ( true ) { 27621 // AMD 27622 !(__WEBPACK_AMD_DEFINE_ARRAY__ = [ 27623 __webpack_require__(13) 27624 ], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory), __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ? (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)); 27625 } else if ( typeof module == 'object' && module.exports ) { 27626 // CommonJS 27627 module.exports = factory( 27628 require('outlayer') 27629 ); 27630 } else { 27631 // browser global 27632 window.Isotope = window.Isotope || {}; 27633 window.Isotope.Item = factory( 27634 window.Outlayer 27635 ); 27636 } 27637 27638 }( window, function factory( Outlayer ) { 27639 'use strict'; 27640 27641 // -------------------------- Item -------------------------- // 27642 27643 // sub-class Outlayer Item 27644 function Item() { 27645 Outlayer.Item.apply( this, arguments ); 27646 } 27647 27648 var proto = Item.prototype = Object.create( Outlayer.Item.prototype ); 27649 27650 var _create = proto._create; 27651 proto._create = function() { 27652 // assign id, used for original-order sorting 27653 this.id = this.layout.itemGUID++; 27654 _create.call( this ); 27655 this.sortData = {}; 27656 }; 27657 27658 proto.updateSortData = function() { 27659 if ( this.isIgnored ) { 27660 return; 27661 } 27662 // default sorters 27663 this.sortData.id = this.id; 27664 // for backward compatibility 27665 this.sortData['original-order'] = this.id; 27666 this.sortData.random = Math.random(); 27667 // go thru getSortData obj and apply the sorters 27668 var getSortData = this.layout.options.getSortData; 27669 var sorters = this.layout._sorters; 27670 for ( var key in getSortData ) { 27671 var sorter = sorters[ key ]; 27672 this.sortData[ key ] = sorter( this.element, this ); 27673 } 27674 }; 27675 27676 var _destroy = proto.destroy; 27677 proto.destroy = function() { 27678 // call super 27679 _destroy.apply( this, arguments ); 27680 // reset display, #741 27681 this.css({ 27682 display: '' 27683 }); 27684 }; 27685 27686 return Item; 27687 27688 })); 27689 27690 27691/***/ }), 27692/* 376 */ 27693/***/ (function(module, exports, __webpack_require__) { 27694 27695 var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/** 27696 * fitRows layout mode 27697 */ 27698 27699 ( function( window, factory ) { 27700 // universal module definition 27701 /* jshint strict: false */ /*globals define, module, require */ 27702 if ( true ) { 27703 // AMD 27704 !(__WEBPACK_AMD_DEFINE_ARRAY__ = [ 27705 __webpack_require__(8) 27706 ], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory), __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ? (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)); 27707 } else if ( typeof exports == 'object' ) { 27708 // CommonJS 27709 module.exports = factory( 27710 require('../layout-mode') 27711 ); 27712 } else { 27713 // browser global 27714 factory( 27715 window.Isotope.LayoutMode 27716 ); 27717 } 27718 27719 }( window, function factory( LayoutMode ) { 27720 'use strict'; 27721 27722 var FitRows = LayoutMode.create('fitRows'); 27723 27724 var proto = FitRows.prototype; 27725 27726 proto._resetLayout = function() { 27727 this.x = 0; 27728 this.y = 0; 27729 this.maxY = 0; 27730 this._getMeasurement( 'gutter', 'outerWidth' ); 27731 }; 27732 27733 proto._getItemLayoutPosition = function( item ) { 27734 item.getSize(); 27735 27736 var itemWidth = item.size.outerWidth + this.gutter; 27737 // if this element cannot fit in the current row 27738 var containerWidth = this.isotope.size.innerWidth + this.gutter; 27739 if ( this.x !== 0 && itemWidth + this.x > containerWidth ) { 27740 this.x = 0; 27741 this.y = this.maxY; 27742 } 27743 27744 var position = { 27745 x: this.x, 27746 y: this.y 27747 }; 27748 27749 this.maxY = Math.max( this.maxY, this.y + item.size.outerHeight ); 27750 this.x += itemWidth; 27751 27752 return position; 27753 }; 27754 27755 proto._getContainerSize = function() { 27756 return { height: this.maxY }; 27757 }; 27758 27759 return FitRows; 27760 27761 })); 27762 27763 27764/***/ }), 27765/* 377 */ 27766/***/ (function(module, exports, __webpack_require__) { 27767 27768 var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*! 27769 * Masonry layout mode 27770 * sub-classes Masonry 27771 * https://masonry.desandro.com 27772 */ 27773 27774 ( function( window, factory ) { 27775 // universal module definition 27776 /* jshint strict: false */ /*globals define, module, require */ 27777 if ( true ) { 27778 // AMD 27779 !(__WEBPACK_AMD_DEFINE_ARRAY__ = [ 27780 __webpack_require__(8), 27781 __webpack_require__(383) 27782 ], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory), __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ? (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)); 27783 } else if ( typeof module == 'object' && module.exports ) { 27784 // CommonJS 27785 module.exports = factory( 27786 require('../layout-mode'), 27787 require('masonry-layout') 27788 ); 27789 } else { 27790 // browser global 27791 factory( 27792 window.Isotope.LayoutMode, 27793 window.Masonry 27794 ); 27795 } 27796 27797 }( window, function factory( LayoutMode, Masonry ) { 27798 'use strict'; 27799 27800 // -------------------------- masonryDefinition -------------------------- // 27801 27802 // create an Outlayer layout class
vendor: 6,011 bytes, lines 27803-28026
27803 var MasonryMode = LayoutMode.create('masonry'); 27804 27805 var proto = MasonryMode.prototype; 27806 27807 var keepModeMethods = { 27808 _getElementOffset: true, 27809 layout: true, 27810 _getMeasurement: true 27811 }; 27812 27813 // inherit Masonry prototype 27814 for ( var method in Masonry.prototype ) { 27815 // do not inherit mode methods 27816 if ( !keepModeMethods[ method ] ) { 27817 proto[ method ] = Masonry.prototype[ method ]; 27818 } 27819 } 27820 27821 var measureColumns = proto.measureColumns; 27822 proto.measureColumns = function() { 27823 // set items, used if measuring first item 27824 this.items = this.isotope.filteredItems; 27825 measureColumns.call( this ); 27826 }; 27827 27828 // point to mode options for fitWidth 27829 var _getOption = proto._getOption; 27830 proto._getOption = function( option ) { 27831 if ( option == 'fitWidth' ) { 27832 return this.options.isFitWidth !== undefined ? 27833 this.options.isFitWidth : this.options.fitWidth; 27834 } 27835 return _getOption.apply( this.isotope, arguments ); 27836 }; 27837 27838 return MasonryMode; 27839 27840 })); 27841 27842 27843/***/ }), 27844/* 378 */ 27845/***/ (function(module, exports, __webpack_require__) { 27846 27847 var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/** 27848 * vertical layout mode 27849 */ 27850 27851 ( function( window, factory ) { 27852 // universal module definition 27853 /* jshint strict: false */ /*globals define, module, require */ 27854 if ( true ) { 27855 // AMD 27856 !(__WEBPACK_AMD_DEFINE_ARRAY__ = [ 27857 __webpack_require__(8) 27858 ], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory), __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ? (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)); 27859 } else if ( typeof module == 'object' && module.exports ) { 27860 // CommonJS 27861 module.exports = factory( 27862 require('../layout-mode') 27863 ); 27864 } else { 27865 // browser global 27866 factory( 27867 window.Isotope.LayoutMode 27868 ); 27869 } 27870 27871 }( window, function factory( LayoutMode ) { 27872 'use strict'; 27873 27874 var Vertical = LayoutMode.create( 'vertical', { 27875 horizontalAlignment: 0 27876 }); 27877 27878 var proto = Vertical.prototype; 27879 27880 proto._resetLayout = function() { 27881 this.y = 0; 27882 }; 27883 27884 proto._getItemLayoutPosition = function( item ) { 27885 item.getSize(); 27886 var x = ( this.isotope.size.innerWidth - item.size.outerWidth ) * 27887 this.options.horizontalAlignment; 27888 var y = this.y; 27889 this.y += item.size.outerHeight; 27890 return { x: x, y: y }; 27891 }; 27892 27893 proto._getContainerSize = function() { 27894 return { height: this.y }; 27895 }; 27896 27897 return Vertical; 27898 27899 })); 27900 27901 27902/***/ }), 27903/* 379 */ 27904/***/ (function(module, exports, __webpack_require__) { 27905 27906 var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/** 27907 * Outlayer Item 27908 */ 27909 27910 ( function( window, factory ) { 27911 // universal module definition 27912 /* jshint strict: false */ /* globals define, module, require */ 27913 if ( true ) { 27914 // AMD - RequireJS 27915 !(__WEBPACK_AMD_DEFINE_ARRAY__ = [ 27916 __webpack_require__(25), 27917 __webpack_require__(9) 27918 ], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory), __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ? (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)); 27919 } else if ( typeof module == 'object' && module.exports ) { 27920 // CommonJS - Browserify, Webpack 27921 module.exports = factory( 27922 require('ev-emitter'), 27923 require('get-size') 27924 ); 27925 } else { 27926 // browser global 27927 window.Outlayer = {}; 27928 window.Outlayer.Item = factory( 27929 window.EvEmitter, 27930 window.getSize 27931 ); 27932 } 27933 27934 }( window, function factory( EvEmitter, getSize ) { 27935 'use strict'; 27936 27937 // ----- helpers ----- // 27938 27939 function isEmptyObj( obj ) { 27940 for ( var prop in obj ) { 27941 return false; 27942 } 27943 prop = null; 27944 return true; 27945 } 27946 27947 // -------------------------- CSS3 support -------------------------- // 27948 27949 27950 var docElemStyle = document.documentElement.style; 27951 27952 var transitionProperty = typeof docElemStyle.transition == 'string' ? 27953 'transition' : 'WebkitTransition'; 27954 var transformProperty = typeof docElemStyle.transform == 'string' ? 27955 'transform' : 'WebkitTransform'; 27956 27957 var transitionEndEvent = { 27958 WebkitTransition: 'webkitTransitionEnd', 27959 transition: 'transitionend' 27960 }[ transitionProperty ]; 27961 27962 // cache all vendor properties that could have vendor prefix 27963 var vendorProperties = { 27964 transform: transformProperty, 27965 transition: transitionProperty, 27966 transitionDuration: transitionProperty + 'Duration', 27967 transitionProperty: transitionProperty + 'Property', 27968 transitionDelay: transitionProperty + 'Delay' 27969 }; 27970 27971 // -------------------------- Item -------------------------- // 27972 27973 function Item( element, layout ) { 27974 if ( !element ) { 27975 return; 27976 } 27977 27978 this.element = element; 27979 // parent layout class, i.e. Masonry, Isotope, or Packery 27980 this.layout = layout; 27981 this.position = { 27982 x: 0, 27983 y: 0 27984 }; 27985 27986 this._create(); 27987 } 27988 27989 // inherit EvEmitter 27990 var proto = Item.prototype = Object.create( EvEmitter.prototype ); 27991 proto.constructor = Item; 27992 27993 proto._create = function() { 27994 // transition objects 27995 this._transn = { 27996 ingProperties: {}, 27997 clean: {}, 27998 onEnd: {} 27999 }; 28000 28001 this.css({ 28002 position: 'absolute' 28003 }); 28004 }; 28005 28006 // trigger specified handler for event type 28007 proto.handleEvent = function( event ) { 28008 var method = 'on' + event.type; 28009 if ( this[ method ] ) { 28010 this[ method ]( event ); 28011 } 28012 }; 28013 28014 proto.getSize = function() { 28015 this.size = getSize( this.element ); 28016 }; 28017 28018 /** 28019 * apply CSS styles to element 28020 * @param {Object} style 28021 */ 28022 proto.css = function( style ) { 28023 var elemStyle = this.element.style; 28024 28025 for ( var prop in style ) { 28026 // use vendor property if available
vendor: 6,640 bytes, lines 28027-28244
28027 var supportedProp = vendorProperties[ prop ] || prop; 28028 elemStyle[ supportedProp ] = style[ prop ]; 28029 } 28030 }; 28031 28032 // measure position, and sets it 28033 proto.getPosition = function() { 28034 var style = getComputedStyle( this.element ); 28035 var isOriginLeft = this.layout._getOption('originLeft'); 28036 var isOriginTop = this.layout._getOption('originTop'); 28037 var xValue = style[ isOriginLeft ? 'left' : 'right' ]; 28038 var yValue = style[ isOriginTop ? 'top' : 'bottom' ]; 28039 var x = parseFloat( xValue ); 28040 var y = parseFloat( yValue ); 28041 // convert percent to pixels 28042 var layoutSize = this.layout.size; 28043 if ( xValue.indexOf('%') != -1 ) { 28044 x = ( x / 100 ) * layoutSize.width; 28045 } 28046 if ( yValue.indexOf('%') != -1 ) { 28047 y = ( y / 100 ) * layoutSize.height; 28048 } 28049 // clean up 'auto' or other non-integer values 28050 x = isNaN( x ) ? 0 : x; 28051 y = isNaN( y ) ? 0 : y; 28052 // remove padding from measurement 28053 x -= isOriginLeft ? layoutSize.paddingLeft : layoutSize.paddingRight; 28054 y -= isOriginTop ? layoutSize.paddingTop : layoutSize.paddingBottom; 28055 28056 this.position.x = x; 28057 this.position.y = y; 28058 }; 28059 28060 // set settled position, apply padding 28061 proto.layoutPosition = function() { 28062 var layoutSize = this.layout.size; 28063 var style = {}; 28064 var isOriginLeft = this.layout._getOption('originLeft'); 28065 var isOriginTop = this.layout._getOption('originTop'); 28066 28067 // x 28068 var xPadding = isOriginLeft ? 'paddingLeft' : 'paddingRight'; 28069 var xProperty = isOriginLeft ? 'left' : 'right'; 28070 var xResetProperty = isOriginLeft ? 'right' : 'left'; 28071 28072 var x = this.position.x + layoutSize[ xPadding ]; 28073 // set in percentage or pixels 28074 style[ xProperty ] = this.getXValue( x ); 28075 // reset other property 28076 style[ xResetProperty ] = ''; 28077 28078 // y 28079 var yPadding = isOriginTop ? 'paddingTop' : 'paddingBottom'; 28080 var yProperty = isOriginTop ? 'top' : 'bottom'; 28081 var yResetProperty = isOriginTop ? 'bottom' : 'top'; 28082 28083 var y = this.position.y + layoutSize[ yPadding ]; 28084 // set in percentage or pixels 28085 style[ yProperty ] = this.getYValue( y ); 28086 // reset other property 28087 style[ yResetProperty ] = ''; 28088 28089 this.css( style ); 28090 this.emitEvent( 'layout', [ this ] ); 28091 }; 28092 28093 proto.getXValue = function( x ) { 28094 var isHorizontal = this.layout._getOption('horizontal'); 28095 return this.layout.options.percentPosition && !isHorizontal ? 28096 ( ( x / this.layout.size.width ) * 100 ) + '%' : x + 'px'; 28097 }; 28098 28099 proto.getYValue = function( y ) { 28100 var isHorizontal = this.layout._getOption('horizontal'); 28101 return this.layout.options.percentPosition && isHorizontal ? 28102 ( ( y / this.layout.size.height ) * 100 ) + '%' : y + 'px'; 28103 }; 28104 28105 proto._transitionTo = function( x, y ) { 28106 this.getPosition(); 28107 // get current x & y from top/left 28108 var curX = this.position.x; 28109 var curY = this.position.y; 28110 28111 var didNotMove = x == this.position.x && y == this.position.y; 28112 28113 // save end position 28114 this.setPosition( x, y ); 28115 28116 // if did not move and not transitioning, just go to layout 28117 if ( didNotMove && !this.isTransitioning ) { 28118 this.layoutPosition(); 28119 return; 28120 } 28121 28122 var transX = x - curX; 28123 var transY = y - curY; 28124 var transitionStyle = {}; 28125 transitionStyle.transform = this.getTranslate( transX, transY ); 28126 28127 this.transition({ 28128 to: transitionStyle, 28129 onTransitionEnd: { 28130 transform: this.layoutPosition 28131 }, 28132 isCleaning: true 28133 }); 28134 }; 28135 28136 proto.getTranslate = function( x, y ) { 28137 // flip cooridinates if origin on right or bottom 28138 var isOriginLeft = this.layout._getOption('originLeft'); 28139 var isOriginTop = this.layout._getOption('originTop'); 28140 x = isOriginLeft ? x : -x; 28141 y = isOriginTop ? y : -y; 28142 return 'translate3d(' + x + 'px, ' + y + 'px, 0)'; 28143 }; 28144 28145 // non transition + transform support 28146 proto.goTo = function( x, y ) { 28147 this.setPosition( x, y ); 28148 this.layoutPosition(); 28149 }; 28150 28151 proto.moveTo = proto._transitionTo; 28152 28153 proto.setPosition = function( x, y ) { 28154 this.position.x = parseFloat( x ); 28155 this.position.y = parseFloat( y ); 28156 }; 28157 28158 // ----- transition ----- // 28159 28160 /** 28161 * @param {Object} style - CSS 28162 * @param {Function} onTransitionEnd 28163 */ 28164 28165 // non transition, just trigger callback 28166 proto._nonTransition = function( args ) { 28167 this.css( args.to ); 28168 if ( args.isCleaning ) { 28169 this._removeStyles( args.to ); 28170 } 28171 for ( var prop in args.onTransitionEnd ) { 28172 args.onTransitionEnd[ prop ].call( this ); 28173 } 28174 }; 28175 28176 /** 28177 * proper transition 28178 * @param {Object} args - arguments 28179 * @param {Object} to - style to transition to 28180 * @param {Object} from - style to start transition from 28181 * @param {Boolean} isCleaning - removes transition styles after transition 28182 * @param {Function} onTransitionEnd - callback 28183 */ 28184 proto.transition = function( args ) { 28185 // redirect to nonTransition if no transition duration 28186 if ( !parseFloat( this.layout.options.transitionDuration ) ) { 28187 this._nonTransition( args ); 28188 return; 28189 } 28190 28191 var _transition = this._transn; 28192 // keep track of onTransitionEnd callback by css property 28193 for ( var prop in args.onTransitionEnd ) { 28194 _transition.onEnd[ prop ] = args.onTransitionEnd[ prop ]; 28195 } 28196 // keep track of properties that are transitioning 28197 for ( prop in args.to ) { 28198 _transition.ingProperties[ prop ] = true; 28199 // keep track of properties to clean up when transition is done 28200 if ( args.isCleaning ) { 28201 _transition.clean[ prop ] = true; 28202 } 28203 } 28204 28205 // set from styles 28206 if ( args.from ) { 28207 this.css( args.from ); 28208 // force redraw. http://blog.alexmaccaw.com/css-transitions 28209 var h = this.element.offsetHeight; 28210 // hack for JSHint to hush about unused var 28211 h = null; 28212 } 28213 // enable transition 28214 this.enableTransition( args.to ); 28215 // set styles that are transitioning 28216 this.css( args.to ); 28217 28218 this.isTransitioning = true; 28219 28220 }; 28221 28222 // dash before all cap letters, including first for 28223 // WebkitTransform => -webkit-transform 28224 function toDashedAll( str ) { 28225 return str.replace( /([A-Z])/g, function( $1 ) { 28226 return '-' + $1.toLowerCase(); 28227 }); 28228 } 28229 28230 var transitionProps = 'opacity,' + toDashedAll( transformProperty ); 28231 28232 proto.enableTransition = function(/* style */) { 28233 // HACK changing transitionProperty during a transition 28234 // will cause transition to jump 28235 if ( this.isTransitioning ) { 28236 return; 28237 } 28238 28239 // make `transition: foo, bar, baz` from style object 28240 // HACK un-comment this when enableTransition can work 28241 // while a transition is happening 28242 // var transitionValues = []; 28243 // for ( var prop in style ) { 28244 // // dash-ify camelCased properties like WebkitTransition
vendor: 5,628 bytes, lines 28245-28461
28245 // prop = vendorProperties[ prop ] || prop; 28246 // transitionValues.push( toDashedAll( prop ) ); 28247 // } 28248 // munge number to millisecond, to match stagger 28249 var duration = this.layout.options.transitionDuration; 28250 duration = typeof duration == 'number' ? duration + 'ms' : duration; 28251 // enable transition styles 28252 this.css({ 28253 transitionProperty: transitionProps, 28254 transitionDuration: duration, 28255 transitionDelay: this.staggerDelay || 0 28256 }); 28257 // listen for transition end event 28258 this.element.addEventListener( transitionEndEvent, this, false ); 28259 }; 28260 28261 // ----- events ----- // 28262 28263 proto.onwebkitTransitionEnd = function( event ) { 28264 this.ontransitionend( event ); 28265 }; 28266 28267 proto.onotransitionend = function( event ) { 28268 this.ontransitionend( event ); 28269 }; 28270 28271 // properties that I munge to make my life easier 28272 var dashedVendorProperties = { 28273 '-webkit-transform': 'transform' 28274 }; 28275 28276 proto.ontransitionend = function( event ) { 28277 // disregard bubbled events from children 28278 if ( event.target !== this.element ) { 28279 return; 28280 } 28281 var _transition = this._transn; 28282 // get property name of transitioned property, convert to prefix-free 28283 var propertyName = dashedVendorProperties[ event.propertyName ] || event.propertyName; 28284 28285 // remove property that has completed transitioning 28286 delete _transition.ingProperties[ propertyName ]; 28287 // check if any properties are still transitioning 28288 if ( isEmptyObj( _transition.ingProperties ) ) { 28289 // all properties have completed transitioning 28290 this.disableTransition(); 28291 } 28292 // clean style 28293 if ( propertyName in _transition.clean ) { 28294 // clean up style 28295 this.element.style[ event.propertyName ] = ''; 28296 delete _transition.clean[ propertyName ]; 28297 } 28298 // trigger onTransitionEnd callback 28299 if ( propertyName in _transition.onEnd ) { 28300 var onTransitionEnd = _transition.onEnd[ propertyName ]; 28301 onTransitionEnd.call( this ); 28302 delete _transition.onEnd[ propertyName ]; 28303 } 28304 28305 this.emitEvent( 'transitionEnd', [ this ] ); 28306 }; 28307 28308 proto.disableTransition = function() { 28309 this.removeTransitionStyles(); 28310 this.element.removeEventListener( transitionEndEvent, this, false ); 28311 this.isTransitioning = false; 28312 }; 28313 28314 /** 28315 * removes style property from element 28316 * @param {Object} style 28317 **/ 28318 proto._removeStyles = function( style ) { 28319 // clean up transition styles 28320 var cleanStyle = {}; 28321 for ( var prop in style ) { 28322 cleanStyle[ prop ] = ''; 28323 } 28324 this.css( cleanStyle ); 28325 }; 28326 28327 var cleanTransitionStyle = { 28328 transitionProperty: '', 28329 transitionDuration: '', 28330 transitionDelay: '' 28331 }; 28332 28333 proto.removeTransitionStyles = function() { 28334 // remove transition 28335 this.css( cleanTransitionStyle ); 28336 }; 28337 28338 // ----- stagger ----- // 28339 28340 proto.stagger = function( delay ) { 28341 delay = isNaN( delay ) ? 0 : delay; 28342 this.staggerDelay = delay + 'ms'; 28343 }; 28344 28345 // ----- show/hide/remove ----- // 28346 28347 // remove element from DOM 28348 proto.removeElem = function() { 28349 this.element.parentNode.removeChild( this.element ); 28350 // remove display: none 28351 this.css({ display: '' }); 28352 this.emitEvent( 'remove', [ this ] ); 28353 }; 28354 28355 proto.remove = function() { 28356 // just remove element if no transition support or no transition 28357 if ( !transitionProperty || !parseFloat( this.layout.options.transitionDuration ) ) { 28358 this.removeElem(); 28359 return; 28360 } 28361 28362 // start transition 28363 this.once( 'transitionEnd', function() { 28364 this.removeElem(); 28365 }); 28366 this.hide(); 28367 }; 28368 28369 proto.reveal = function() { 28370 delete this.isHidden; 28371 // remove display: none 28372 this.css({ display: '' }); 28373 28374 var options = this.layout.options; 28375 28376 var onTransitionEnd = {}; 28377 var transitionEndProperty = this.getHideRevealTransitionEndProperty('visibleStyle'); 28378 onTransitionEnd[ transitionEndProperty ] = this.onRevealTransitionEnd; 28379 28380 this.transition({ 28381 from: options.hiddenStyle, 28382 to: options.visibleStyle, 28383 isCleaning: true, 28384 onTransitionEnd: onTransitionEnd 28385 }); 28386 }; 28387 28388 proto.onRevealTransitionEnd = function() { 28389 // check if still visible 28390 // during transition, item may have been hidden 28391 if ( !this.isHidden ) { 28392 this.emitEvent('reveal'); 28393 } 28394 }; 28395 28396 /** 28397 * get style property use for hide/reveal transition end 28398 * @param {String} styleProperty - hiddenStyle/visibleStyle 28399 * @returns {String} 28400 */ 28401 proto.getHideRevealTransitionEndProperty = function( styleProperty ) { 28402 var optionStyle = this.layout.options[ styleProperty ]; 28403 // use opacity 28404 if ( optionStyle.opacity ) { 28405 return 'opacity'; 28406 } 28407 // get first property 28408 for ( var prop in optionStyle ) { 28409 return prop; 28410 } 28411 }; 28412 28413 proto.hide = function() { 28414 // set flag 28415 this.isHidden = true; 28416 // remove display: none 28417 this.css({ display: '' }); 28418 28419 var options = this.layout.options; 28420 28421 var onTransitionEnd = {}; 28422 var transitionEndProperty = this.getHideRevealTransitionEndProperty('hiddenStyle'); 28423 onTransitionEnd[ transitionEndProperty ] = this.onHideTransitionEnd; 28424 28425 this.transition({ 28426 from: options.visibleStyle, 28427 to: options.hiddenStyle, 28428 // keep hidden stuff hidden 28429 isCleaning: true, 28430 onTransitionEnd: onTransitionEnd 28431 }); 28432 }; 28433 28434 proto.onHideTransitionEnd = function() { 28435 // check if still hidden 28436 // during transition, item may have been un-hidden 28437 if ( this.isHidden ) { 28438 this.css({ display: 'none' }); 28439 this.emitEvent('hide'); 28440 } 28441 }; 28442 28443 proto.destroy = function() { 28444 this.css({ 28445 position: '', 28446 left: '', 28447 right: '', 28448 top: '', 28449 bottom: '', 28450 transition: '', 28451 transform: '' 28452 }); 28453 }; 28454 28455 return Item; 28456 28457 })); 28458 28459 28460/***/ }), 28461/* 380 */
28462/***/ (function(module, exports) { 28463 28464 /*! 28465 * jQuery Validation Plugin v1.14.0 28466 * 28467 * http://jqueryvalidation.org/ 28468 * 28469 * Copyright (c) 2015 Jörn Zaefferer 28470 * Released under the MIT license 28471 */ 28472 (function( factory ) { 28473 if ( typeof define === "function" && define.amd ) { 28474 define( ["jquery"], factory ); 28475 } else { 28476 factory( jQuery ); 28477 } 28478 }(function( $ ) { 28479 28480 $.extend($.fn, { 28481 // http://jqueryvalidation.org/validate/ 28482 validate: function( options ) { 28483 28484 // if nothing is selected, return nothing; can't chain anyway 28485 if ( !this.length ) { 28486 if ( options && options.debug && window.console ) { 28487 console.warn( "Nothing selected, can't validate, returning nothing." ); 28488 } 28489 return; 28490 } 28491 28492 // check if a validator for this form was already created 28493 var validator = $.data( this[ 0 ], "validator" ); 28494 if ( validator ) { 28495 return validator; 28496 } 28497 28498 // Add novalidate tag if HTML5. 28499 this.attr( "novalidate", "novalidate" ); 28500 28501 validator = new $.validator( options, this[ 0 ] ); 28502 $.data( this[ 0 ], "validator", validator ); 28503 28504 if ( validator.settings.onsubmit ) { 28505 28506 this.on( "click.validate", ":submit", function( event ) { 28507 if ( validator.settings.submitHandler ) { 28508 validator.submitButton = event.target; 28509 } 28510 28511 // allow suppressing validation by adding a cancel class to the submit button 28512 if ( $( this ).hasClass( "cancel" ) ) { 28513 validator.cancelSubmit = true; 28514 } 28515 28516 // allow suppressing validation by adding the html5 formnovalidate attribute to the submit button 28517 if ( $( this ).attr( "formnovalidate" ) !== undefined ) { 28518 validator.cancelSubmit = true; 28519 } 28520 }); 28521 28522 // validate the form on submit 28523 this.on( "submit.validate", function( event ) { 28524 if ( validator.settings.debug ) { 28525 // prevent form submit to be able to see console output 28526 event.preventDefault(); 28527 } 28528 function handle() { 28529 var hidden, result; 28530 if ( validator.settings.submitHandler ) { 28531 if ( validator.submitButton ) { 28532 // insert a hidden input as a replacement for the missing submit button 28533 hidden = $( "<input type='hidden'/>" ) 28534 .attr( "name", validator.submitButton.name ) 28535 .val( $( validator.submitButton ).val() ) 28536 .appendTo( validator.currentForm ); 28537 } 28538 result = validator.settings.submitHandler.call( validator, validator.currentForm, event ); 28539 if ( validator.submitButton ) { 28540 // and clean up afterwards; thanks to no-block-scope, hidden can be referenced 28541 hidden.remove(); 28542 } 28543 if ( result !== undefined ) { 28544 return result; 28545 } 28546 return false; 28547 } 28548 return true; 28549 } 28550 28551 // prevent submit for invalid forms or custom submit handlers 28552 if ( validator.cancelSubmit ) { 28553 validator.cancelSubmit = false; 28554 return handle(); 28555 } 28556 if ( validator.form() ) { 28557 if ( validator.pendingRequest ) { 28558 validator.formSubmitted = true; 28559 return false; 28560 } 28561 return handle(); 28562 } else { 28563 validator.focusInvalid(); 28564 return false; 28565 } 28566 }); 28567 } 28568 28569 return validator; 28570 }, 28571 // http://jqueryvalidation.org/valid/ 28572 valid: function() { 28573 var valid, validator, errorList; 28574 28575 if ( $( this[ 0 ] ).is( "form" ) ) { 28576 valid = this.validate().form(); 28577 } else { 28578 errorList = []; 28579 valid = true; 28580 validator = $( this[ 0 ].form ).validate(); 28581 this.each( function() { 28582 valid = validator.element( this ) && valid; 28583 errorList = errorList.concat( validator.errorList ); 28584 }); 28585 validator.errorList = errorList; 28586 } 28587 return valid; 28588 }, 28589 28590 // http://jqueryvalidation.org/rules/ 28591 rules: function( command, argument ) { 28592 var element = this[ 0 ], 28593 settings, staticRules, existingRules, data, param, filtered; 28594 28595 if ( command ) { 28596 settings = $.data( element.form, "validator" ).settings; 28597 staticRules = settings.rules; 28598 existingRules = $.validator.staticRules( element ); 28599 switch ( command ) { 28600 case "add": 28601 $.extend( existingRules, $.validator.normalizeRule( argument ) ); 28602 // remove messages from rules, but allow them to be set separately 28603 delete existingRules.messages; 28604 staticRules[ element.name ] = existingRules; 28605 if ( argument.messages ) { 28606 settings.messages[ element.name ] = $.extend( settings.messages[ element.name ], argument.messages ); 28607 } 28608 break; 28609 case "remove": 28610 if ( !argument ) { 28611 delete staticRules[ element.name ]; 28612 return existingRules; 28613 } 28614 filtered = {}; 28615 $.each( argument.split( /\s/ ), function( index, method ) { 28616 filtered[ method ] = existingRules[ method ]; 28617 delete existingRules[ method ]; 28618 if ( method === "required" ) { 28619 $( element ).removeAttr( "aria-required" ); 28620 } 28621 }); 28622 return filtered; 28623 } 28624 } 28625 28626 data = $.validator.normalizeRules( 28627 $.extend( 28628 {}, 28629 $.validator.classRules( element ), 28630 $.validator.attributeRules( element ), 28631 $.validator.dataRules( element ), 28632 $.validator.staticRules( element ) 28633 ), element ); 28634 28635 // make sure required is at front 28636 if ( data.required ) { 28637 param = data.required; 28638 delete data.required; 28639 data = $.extend( { required: param }, data ); 28640 $( element ).attr( "aria-required", "true" ); 28641 } 28642 28643 // make sure remote is at back 28644 if ( data.remote ) { 28645 param = data.remote; 28646 delete data.remote; 28647 data = $.extend( data, { remote: param }); 28648 } 28649 28650 return data; 28651 } 28652 }); 28653 28654 // Custom selectors 28655 $.extend( $.expr[ ":" ], { 28656 // http://jqueryvalidation.org/blank-selector/ 28657 blank: function( a ) { 28658 return !$.trim( "" + $( a ).val() ); 28659 }, 28660 // http://jqueryvalidation.org/filled-selector/ 28661 filled: function( a ) { 28662 return !!$.trim( "" + $( a ).val() ); 28663 }, 28664 // http://jqueryvalidation.org/unchecked-selector/ 28665 unchecked: function( a ) { 28666 return !$( a ).prop( "checked" ); 28667 } 28668 }); 28669 28670 // constructor for validator 28671 $.validator = function( options, form ) { 28672 this.settings = $.extend( true, {}, $.validator.defaults, options ); 28673 this.currentForm = form; 28674 this.init(); 28675 }; 28676 28677 // http://jqueryvalidation.org/jQuery.validator.format/ 28678 $.validator.format = function( source, params ) { 28679 if ( arguments.length === 1 ) { 28680 return function() { 28681 var args = $.makeArray( arguments ); 28682 args.unshift( source ); 28683 return $.validator.format.apply( this, args ); 28684 }; 28685 } 28686 if ( arguments.length > 2 && params.constructor !== Array ) { 28687 params = $.makeArray( arguments ).slice( 1 ); 28688 } 28689 if ( params.constructor !== Array ) { 28690 params = [ params ]; 28691 } 28692 $.each( params, function( i, n ) { 28693 source = source.replace( new RegExp( "\\{" + i + "\\}", "g" ), function() { 28694 return n; 28695 }); 28696 }); 28697 return source; 28698 }; 28699 28700 $.extend( $.validator, { 28701 28702 defaults: { 28703 messages: {}, 28704 groups: {}, 28705 rules: {}, 28706 errorClass: "error", 28707 validClass: "valid", 28708 errorElement: "label", 28709 focusCleanup: false, 28710 focusInvalid: true, 28711 errorContainer: $( [] ), 28712 errorLabelContainer: $( [] ), 28713 onsubmit: true, 28714 ignore: ":hidden", 28715 ignoreTitle: false, 28716 onfocusin: function( element ) { 28717 this.lastActive = element; 28718 28719 // Hide error label and remove error class on focus if enabled 28720 if ( this.settings.focusCleanup ) { 28721 if ( this.settings.unhighlight ) { 28722 this.settings.unhighlight.call( this, element, this.settings.errorClass, this.settings.val
vendor: 4,773 bytes, lines 28722-28852
28722idClass ); 28723 } 28724 this.hideThese( this.errorsFor( element ) ); 28725 } 28726 }, 28727 onfocusout: function( element ) { 28728 if ( !this.checkable( element ) && ( element.name in this.submitted || !this.optional( element ) ) ) { 28729 this.element( element ); 28730 } 28731 }, 28732 onkeyup: function( element, event ) { 28733 // Avoid revalidate the field when pressing one of the following keys 28734 // Shift => 16 28735 // Ctrl => 17 28736 // Alt => 18 28737 // Caps lock => 20 28738 // End => 35 28739 // Home => 36 28740 // Left arrow => 37 28741 // Up arrow => 38 28742 // Right arrow => 39 28743 // Down arrow => 40 28744 // Insert => 45 28745 // Num lock => 144 28746 // AltGr key => 225 28747 var excludedKeys = [ 28748 16, 17, 18, 20, 35, 36, 37, 28749 38, 39, 40, 45, 144, 225 28750 ]; 28751 28752 if ( event.which === 9 && this.elementValue( element ) === "" || $.inArray( event.keyCode, excludedKeys ) !== -1 ) { 28753 return; 28754 } else if ( element.name in this.submitted || element === this.lastElement ) { 28755 this.element( element ); 28756 } 28757 }, 28758 onclick: function( element ) { 28759 // click on selects, radiobuttons and checkboxes 28760 if ( element.name in this.submitted ) { 28761 this.element( element ); 28762 28763 // or option elements, check parent select in that case 28764 } else if ( element.parentNode.name in this.submitted ) { 28765 this.element( element.parentNode ); 28766 } 28767 }, 28768 highlight: function( element, errorClass, validClass ) { 28769 if ( element.type === "radio" ) { 28770 this.findByName( element.name ).addClass( errorClass ).removeClass( validClass ); 28771 } else { 28772 $( element ).addClass( errorClass ).removeClass( validClass ); 28773 } 28774 }, 28775 unhighlight: function( element, errorClass, validClass ) { 28776 if ( element.type === "radio" ) { 28777 this.findByName( element.name ).removeClass( errorClass ).addClass( validClass ); 28778 } else { 28779 $( element ).removeClass( errorClass ).addClass( validClass ); 28780 } 28781 } 28782 }, 28783 28784 // http://jqueryvalidation.org/jQuery.validator.setDefaults/ 28785 setDefaults: function( settings ) { 28786 $.extend( $.validator.defaults, settings ); 28787 }, 28788 28789 messages: { 28790 required: "This field is required.", 28791 remote: "Please fix this field.", 28792 email: "Please enter a valid email address.", 28793 url: "Please enter a valid URL.", 28794 date: "Please enter a valid date.", 28795 dateISO: "Please enter a valid date ( ISO ).", 28796 number: "Please enter a valid number.", 28797 digits: "Please enter only digits.", 28798 creditcard: "Please enter a valid credit card number.", 28799 equalTo: "Please enter the same value again.", 28800 maxlength: $.validator.format( "Please enter no more than {0} characters." ), 28801 minlength: $.validator.format( "Please enter at least {0} characters." ), 28802 rangelength: $.validator.format( "Please enter a value between {0} and {1} characters long." ), 28803 range: $.validator.format( "Please enter a value between {0} and {1}." ), 28804 max: $.validator.format( "Please enter a value less than or equal to {0}." ), 28805 min: $.validator.format( "Please enter a value greater than or equal to {0}." ) 28806 }, 28807 28808 autoCreateRanges: false, 28809 28810 prototype: { 28811 28812 init: function() { 28813 this.labelContainer = $( this.settings.errorLabelContainer ); 28814 this.errorContext = this.labelContainer.length && this.labelContainer || $( this.currentForm ); 28815 this.containers = $( this.settings.errorContainer ).add( this.settings.errorLabelContainer ); 28816 this.submitted = {}; 28817 this.valueCache = {}; 28818 this.pendingRequest = 0; 28819 this.pending = {}; 28820 this.invalid = {}; 28821 this.reset(); 28822 28823 var groups = ( this.groups = {} ), 28824 rules; 28825 $.each( this.settings.groups, function( key, value ) { 28826 if ( typeof value === "string" ) { 28827 value = value.split( /\s/ ); 28828 } 28829 $.each( value, function( index, name ) { 28830 groups[ name ] = key; 28831 }); 28832 }); 28833 rules = this.settings.rules; 28834 $.each( rules, function( key, value ) { 28835 rules[ key ] = $.validator.normalizeRule( value ); 28836 }); 28837 28838 function delegate( event ) { 28839 var validator = $.data( this.form, "validator" ), 28840 eventType = "on" + event.type.replace( /^validate/, "" ), 28841 settings = validator.settings; 28842 if ( settings[ eventType ] && !$( this ).is( settings.ignore ) ) { 28843 settings[ eventType ].call( validator, this, event ); 28844 } 28845 } 28846 28847 $( this.currentForm ) 28848 .on( "focusin.validate focusout.validate keyup.validate", 28849 ":text, [type='password'], [type='file'], select, textarea, [type='number'], [type='search'], " + 28850 "[type='tel'], [type='url'], [type='email'], [type='datetime'], [type='date'], [type='month'], " + 28851 "[type='week'], [type='time'], [type='datetime-local'], [type='range'], [type='color'], " + 28852 "[type='radio'], [type='checkbox']", delegate)
28853 // Support: Chrome, oldIE 28854 // "select" is provided as event.target when clicking a option 28855 .on("click.validate", "select, option, [type='radio'], [type='checkbox']", delegate); 28856 28857 if ( this.settings.invalidHandler ) { 28858 $( this.currentForm ).on( "invalid-form.validate", this.settings.invalidHandler ); 28859 } 28860 28861 // Add aria-required to any Static/Data/Class required fields before first validation 28862 // Screen readers require this attribute to be present before the initial submission http://www.w3.org/TR/WCAG-TECHS/ARIA2.html 28863 $( this.currentForm ).find( "[required], [data-rule-required], .required" ).attr( "aria-required", "true" ); 28864 }, 28865 28866 // http://jqueryvalidation.org/Validator.form/ 28867 form: function() { 28868 this.checkForm(); 28869 $.extend( this.submitted, this.errorMap ); 28870 this.invalid = $.extend({}, this.errorMap ); 28871 if ( !this.valid() ) { 28872 $( this.currentForm ).triggerHandler( "invalid-form", [ this ]); 28873 } 28874 this.showErrors(); 28875 return this.valid(); 28876 }, 28877 28878 checkForm: function() { 28879 this.prepareForm(); 28880 for ( var i = 0, elements = ( this.currentElements = this.elements() ); elements[ i ]; i++ ) { 28881 this.check( elements[ i ] ); 28882 } 28883 return this.valid(); 28884 }, 28885 28886 // http://jqueryvalidation.org/Validator.element/ 28887 element: function( element ) { 28888 var cleanElement = this.clean( element ), 28889 checkElement = this.validationTargetFor( cleanElement ), 28890 result = true; 28891 28892 this.lastElement = checkElement; 28893 28894 if ( checkElement === undefined ) { 28895 delete this.invalid[ cleanElement.name ]; 28896 } else { 28897 this.prepareElement( checkElement ); 28898 this.currentElements = $( checkElement ); 28899 28900 result = this.check( checkElement ) !== false; 28901 if ( result ) { 28902 delete this.invalid[ checkElement.name ]; 28903 } else { 28904 this.invalid[ checkElement.name ] = true; 28905 } 28906 } 28907 // Add aria-invalid status for screen readers 28908 $( element ).attr( "aria-invalid", !result ); 28909 28910 if ( !this.numberOfInvalids() ) { 28911 // Hide error containers on last error 28912 this.toHide = this.toHide.add( this.containers ); 28913 } 28914 this.showErrors(); 28915 return result; 28916 }, 28917 28918 // http://jqueryvalidation.org/Validator.showErrors/ 28919 showErrors: function( errors ) { 28920 if ( errors ) { 28921 // add items to error list and map 28922 $.extend( this.errorMap, errors ); 28923 this.errorList = []; 28924 for ( var name in errors ) { 28925 this.errorList.push({ 28926 message: errors[ name ], 28927 element: this.findByName( name )[ 0 ] 28928 }); 28929 } 28930 // remove items from success list 28931 this.successList = $.grep( this.successList, function( element ) { 28932 return !( element.name in errors ); 28933 }); 28934 } 28935 if ( this.settings.showErrors ) { 28936 this.settings.showErrors.call( this, this.errorMap, this.errorList ); 28937 } else { 28938 this.defaultShowErrors(); 28939 } 28940 }, 28941 28942 // http://jqueryvalidation.org/Validator.resetForm/ 28943 resetForm: function() { 28944 if ( $.fn.resetForm ) { 28945 $( this.currentForm ).resetForm(); 28946 } 28947 this.submitted = {}; 28948 this.lastElement = null; 28949 this.prepareForm(); 28950 this.hideErrors(); 28951 var i, elements = this.elements() 28952 .removeData( "previousValue" ) 28953 .removeAttr( "aria-invalid" ); 28954 28955 if ( this.settings.unhighlight ) { 28956 for ( i = 0; elements[ i ]; i++ ) { 28957 this.settings.unhighlight.call( this, elements[ i ], 28958 this.settings.errorClass, "" ); 28959 } 28960 } else { 28961 elements.removeClass( this.settings.errorClass ); 28962 } 28963 }, 28964 28965 numberOfInvalids: function() { 28966 return this.objectLength( this.invalid ); 28967 }, 28968 28969 objectLength: function( obj ) { 28970 /* jshint unused: false */ 28971 var count = 0, 28972 i; 28973 for ( i in obj ) { 28974 count++; 28975 } 28976 return count; 28977 }, 28978 28979 hideErrors: function() { 28980 this.hideThese( this.toHide ); 28981 }, 28982 28983 hideThese: function( errors ) { 28984 errors.not( this.containers ).text( "" ); 28985 this.addWrapper( errors ).hide(); 28986 }, 28987 28988 valid: function() { 28989 return this.size() === 0; 28990 }, 28991 28992 size: function() { 28993 return this.errorList.length; 28994 }, 28995 28996 focusInvalid: function() { 28997 if ( this.settings.focusInvalid ) { 28998 try { 28999 $( this.findLastActive() || this.errorList.length && this.errorList[ 0 ].element || []) 29000 .filter( ":visible" ) 29001 .focus() 29002 // manually trigger focusin event; without it, focusin handler isn't called, findLastActive won't have anything to find 29003 .trigger( "focusin" ); 29004 } catch ( e ) {
29005 // ignore IE throwing errors when focusing hidden elements 29006 } 29007 } 29008 }, 29009 29010 findLastActive: function() { 29011 var lastActive = this.lastActive; 29012 return lastActive && $.grep( this.errorList, function( n ) { 29013 return n.element.name === lastActive.name; 29014 }).length === 1 && lastActive; 29015 }, 29016 29017 elements: function() { 29018 var validator = this, 29019 rulesCache = {}; 29020 29021 // select all valid inputs inside the form (no submit or reset buttons) 29022 return $( this.currentForm ) 29023 .find( "input, select, textarea" ) 29024 .not( ":submit, :reset, :image, :disabled" ) 29025 .not( this.settings.ignore ) 29026 .filter( function() { 29027 if ( !this.name && validator.settings.debug && window.console ) { 29028 console.error( "%o has no name assigned", this ); 29029 } 29030 29031 // select only the first element for each name, and only those with rules specified 29032 if ( this.name in rulesCache || !validator.objectLength( $( this ).rules() ) ) { 29033 return false; 29034 } 29035 29036 rulesCache[ this.name ] = true; 29037 return true; 29038 }); 29039 }, 29040 29041 clean: function( selector ) { 29042 return $( selector )[ 0 ]; 29043 }, 29044 29045 errors: function() { 29046 var errorClass = this.settings.errorClass.split( " " ).join( "." ); 29047 return $( this.settings.errorElement + "." + errorClass, this.errorContext ); 29048 }, 29049 29050 reset: function() { 29051 this.successList = []; 29052 this.errorList = []; 29053 this.errorMap = {}; 29054 this.toShow = $( [] ); 29055 this.toHide = $( [] ); 29056 this.currentElements = $( [] ); 29057 }, 29058 29059 prepareForm: function() { 29060 this.reset(); 29061 this.toHide = this.errors().add( this.containers ); 29062 }, 29063 29064 prepareElement: function( element ) { 29065 this.reset(); 29066 this.toHide = this.errorsFor( element ); 29067 }, 29068 29069 elementValue: function( element ) { 29070 var val, 29071 $element = $( element ), 29072 type = element.type; 29073 29074 if ( type === "radio" || type === "checkbox" ) { 29075 return this.findByName( element.name ).filter(":checked").val(); 29076 } else if ( type === "number" && typeof element.validity !== "undefined" ) { 29077 return element.validity.badInput ? false : $element.val(); 29078 } 29079 29080 val = $element.val(); 29081 if ( typeof val === "string" ) { 29082 return val.replace(/\r/g, "" ); 29083 } 29084 return val; 29085 }, 29086 29087 check: function( element ) { 29088 element = this.validationTargetFor( this.clean( element ) ); 29089 29090 var rules = $( element ).rules(), 29091 rulesCount = $.map( rules, function( n, i ) { 29092 return i; 29093 }).length, 29094 dependencyMismatch = false, 29095 val = this.elementValue( element ), 29096 result, method, rule; 29097 29098 for ( method in rules ) { 29099 rule = { method: method, parameters: rules[ method ] }; 29100 try { 29101 29102 result = $.validator.methods[ method ].call( this, val, element, rule.parameters ); 29103 29104 // if a method indicates that the field is optional and therefore valid, 29105 // don't mark it as valid when there are no other rules 29106 if ( result === "dependency-mismatch" && rulesCount === 1 ) { 29107 dependencyMismatch = true; 29108 continue; 29109 } 29110 dependencyMismatch = false; 29111 29112 if ( result === "pending" ) { 29113 this.toHide = this.toHide.not( this.errorsFor( element ) ); 29114 return; 29115 } 29116 29117 if ( !result ) { 29118 this.formatAndAdd( element, rule ); 29119 return false; 29120 } 29121 } catch ( e ) { 29122 if ( this.settings.debug && window.console ) { 29123 console.log( "Exception occurred when checking element " + element.id + ", check the '" + rule.method + "' method.", e ); 29124 } 29125 if ( e instanceof TypeError ) { 29126 e.message += ". Exception occurred when checking element " + element.id + ", check the '" + rule.method + "' method."; 29127 } 29128 29129 throw e; 29130 } 29131 } 29132 if ( dependencyMismatch ) { 29133 return; 29134 } 29135 if ( this.objectLength( rules ) ) { 29136 this.successList.push( element ); 29137 } 29138 return true; 29139 }, 29140 29141 // return the custom message for the given element and validation method 29142 // specified in the element's HTML5 data attribute 29143 // return the generic message if present and no method specific message is present 29144 customDataMessage: function( element, method ) { 29145 return $( element ).data( "msg" + method.charAt( 0 ).toUpperCase() + 29146 method.substring( 1 ).toLowerCase() ) || $( element ).data( "msg" ); 29147 }, 29148 29149 // return the custom message for the given element name and validation method 29150 customMessage: function( name, method ) { 29151 var m = this.settings.messages[ name ]; 29152 return m && ( m.constructor === String ? m : m[ method ]); 29153 }, 29154 29155 // return the first defined argument, allowing empty strings 29156 findDefined: function() { 29157 for ( var i = 0; i < arguments.length; i++) { 29158 if ( arguments[ i ] !== undefined ) { 29159 return arguments[ i ]; 29160 } 29161 } 29162 return undefined; 29163 }, 29164 29165 defaultMessage: function( element, method ) { 29166 return this.findDefined( 29167 this.customMessage( element.name, method ), 29168 this.customDataMessage( element, method ), 29169 // title is never undefined, so handle empty string as undefined 29170 !this.settings.ignoreTitle && element.title || undefined, 29171 $.validator.messages[ method ], 29172 "<strong>Warning: No message defined for " + element.name + "</strong>" 29173 ); 29174 }, 29175 29176 formatAndAdd: function( element, rule ) { 29177 var message = this.defaultMessage( element, rule.method ), 29178 theregex = /\$?\{(\d+)\}/g; 29179 if ( typeof message === "function" ) { 29180 message = message.call( this, rule.parameters, element ); 29181 } else if ( theregex.test( message ) ) { 29182 message = $.validator.format( message.replace( theregex, "{$1}" ), rule.parameters ); 29183 } 29184 this.errorList.push({ 29185 message: message, 29186 element: element, 29187 method: rule.method 29188 }); 29189 29190 this.errorMap[ element.name ] = message; 29191 this.submitted[ element.name ] = message; 29192 }, 29193 29194 addWrapper: function( toToggle ) { 29195 if ( this.settings.wrapper ) { 29196 toToggle = toToggle.add( toToggle.parent( this.settings.wrapper ) ); 29197 } 29198 return toToggle; 29199 }, 29200 29201 defaultShowErrors: function() { 29202 var i, elements, error; 29203 for ( i = 0; this.errorList[ i ]; i++ ) { 29204 error = this.errorList[ i ]; 29205 if ( this.settings.highlight ) { 29206 this.settings.highlight.call( this, error.element, this.settings.errorClass, this.settings.val
29206idClass ); 29207 } 29208 this.showLabel( error.element, error.message ); 29209 } 29210 if ( this.errorList.length ) { 29211 this.toShow = this.toShow.add( this.containers ); 29212 } 29213 if ( this.settings.success ) { 29214 for ( i = 0; this.successList[ i ]; i++ ) { 29215 this.showLabel( this.successList[ i ] ); 29216 } 29217 } 29218 if ( this.settings.unhighlight ) { 29219 for ( i = 0, elements = this.validElements(); elements[ i ]; i++ ) { 29220 this.settings.unhighlight.call( this, elements[ i ], this.settings.errorClass, this.settings.validClass ); 29221 } 29222 } 29223 this.toHide = this.toHide.not( this.toShow ); 29224 this.hideErrors(); 29225 this.addWrapper( this.toShow ).show(); 29226 }, 29227 29228 validElements: function() { 29229 return this.currentElements.not( this.invalidElements() ); 29230 }, 29231 29232 invalidElements: function() { 29233 return $( this.errorList ).map(function() { 29234 return this.element; 29235 }); 29236 }, 29237 29238 showLabel: function( element, message ) { 29239 var place, group, errorID, 29240 error = this.errorsFor( element ), 29241 elementID = this.idOrName( element ), 29242 describedBy = $( element ).attr( "aria-describedby" ); 29243 if ( error.length ) { 29244 // refresh error/success class 29245 error.removeClass( this.settings.validClass ).addClass( this.settings.errorClass ); 29246 // replace message on existing label 29247 error.html( message ); 29248 } else { 29249 // create error element 29250 error = $( "<" + this.settings.errorElement + ">" ) 29251 .attr( "id", elementID + "-error" ) 29252 .addClass( this.settings.errorClass ) 29253 .html( message || "" ); 29254 29255 // Maintain reference to the element to be placed into the DOM 29256 place = error; 29257 if ( this.settings.wrapper ) { 29258 // make sure the element is visible, even in IE 29259 // actually showing the wrapped element is handled elsewhere 29260 place = error.hide().show().wrap( "<" + this.settings.wrapper + "/>" ).parent(); 29261 } 29262 if ( this.labelContainer.length ) { 29263 this.labelContainer.append( place ); 29264 } else if ( this.settings.errorPlacement ) { 29265 this.settings.errorPlacement( place, $( element ) ); 29266 } else { 29267 place.insertAfter( element ); 29268 } 29269 29270 // Link error back to the element 29271 if ( error.is( "label" ) ) { 29272 // If the error is a label, then associate using 'for' 29273 error.attr( "for", elementID ); 29274 } else if ( error.parents( "label[for='" + elementID + "']" ).length === 0 ) { 29275 // If the element is not a child of an associated label, then it's necessary 29276 // to explicitly apply aria-describedby 29277 29278 errorID = error.attr( "id" ).replace( /(:|\.|\[|\]|\$)/g, "\\$1"); 29279 // Respect existing non-error aria-describedby 29280 if ( !describedBy ) { 29281 describedBy = errorID; 29282 } else if ( !describedBy.match( new RegExp( "\\b" + errorID + "\\b" ) ) ) { 29283 // Add to end of list if not already present 29284 describedBy += " " + errorID; 29285 } 29286 $( element ).attr( "aria-describedby", describedBy ); 29287 29288 // If this element is grouped, then assign to all elements in the same group 29289 group = this.groups[ element.name ]; 29290 if ( group ) { 29291 $.each( this.groups, function( name, testgroup ) { 29292 if ( testgroup === group ) { 29293 $( "[name='" + name + "']", this.currentForm ) 29294 .attr( "aria-describedby", error.attr( "id" ) ); 29295 } 29296 }); 29297 } 29298 } 29299 } 29300 if ( !message && this.settings.success ) { 29301 error.text( "" ); 29302 if ( typeof this.settings.success === "string" ) { 29303 error.addClass( this.settings.success ); 29304 } else { 29305 this.settings.success( error, element ); 29306 } 29307 } 29308 this.toShow = this.toShow.add( error ); 29309 }, 29310 29311 errorsFor: function( element ) { 29312 var name = this.idOrName( element ), 29313 describer = $( element ).attr( "aria-describedby" ), 29314 selector = "label[for='" + name + "'], label[for='" + name + "'] *"; 29315 29316 // aria-describedby should directly reference the error element 29317 if ( describer ) { 29318 selector = selector + ", #" + describer.replace( /\s+/g, ", #" ); 29319 } 29320 return this 29321 .errors() 29322 .filter( selector ); 29323 }, 29324 29325 idOrName: function( element ) { 29326 return this.groups[ element.name ] || ( this.checkable( element ) ? element.name : element.i
vendor: 9,922 bytes, lines 29326-29658
29326d || element.name ); 29327 }, 29328 29329 validationTargetFor: function( element ) { 29330 29331 // If radio/checkbox, validate first element in group instead 29332 if ( this.checkable( element ) ) { 29333 element = this.findByName( element.name ); 29334 } 29335 29336 // Always apply ignore filter 29337 return $( element ).not( this.settings.ignore )[ 0 ]; 29338 }, 29339 29340 checkable: function( element ) { 29341 return ( /radio|checkbox/i ).test( element.type ); 29342 }, 29343 29344 findByName: function( name ) { 29345 return $( this.currentForm ).find( "[name='" + name + "']" ); 29346 }, 29347 29348 getLength: function( value, element ) { 29349 switch ( element.nodeName.toLowerCase() ) { 29350 case "select": 29351 return $( "option:selected", element ).length; 29352 case "input": 29353 if ( this.checkable( element ) ) { 29354 return this.findByName( element.name ).filter( ":checked" ).length; 29355 } 29356 } 29357 return value.length; 29358 }, 29359 29360 depend: function( param, element ) { 29361 return this.dependTypes[typeof param] ? this.dependTypes[typeof param]( param, element ) : true; 29362 }, 29363 29364 dependTypes: { 29365 "boolean": function( param ) { 29366 return param; 29367 }, 29368 "string": function( param, element ) { 29369 return !!$( param, element.form ).length; 29370 }, 29371 "function": function( param, element ) { 29372 return param( element ); 29373 } 29374 }, 29375 29376 optional: function( element ) { 29377 var val = this.elementValue( element ); 29378 return !$.validator.methods.required.call( this, val, element ) && "dependency-mismatch"; 29379 }, 29380 29381 startRequest: function( element ) { 29382 if ( !this.pending[ element.name ] ) { 29383 this.pendingRequest++; 29384 this.pending[ element.name ] = true; 29385 } 29386 }, 29387 29388 stopRequest: function( element, valid ) { 29389 this.pendingRequest--; 29390 // sometimes synchronization fails, make sure pendingRequest is never < 0 29391 if ( this.pendingRequest < 0 ) { 29392 this.pendingRequest = 0; 29393 } 29394 delete this.pending[ element.name ]; 29395 if ( valid && this.pendingRequest === 0 && this.formSubmitted && this.form() ) { 29396 $( this.currentForm ).submit(); 29397 this.formSubmitted = false; 29398 } else if (!valid && this.pendingRequest === 0 && this.formSubmitted ) { 29399 $( this.currentForm ).triggerHandler( "invalid-form", [ this ]); 29400 this.formSubmitted = false; 29401 } 29402 }, 29403 29404 previousValue: function( element ) { 29405 return $.data( element, "previousValue" ) || $.data( element, "previousValue", { 29406 old: null, 29407 valid: true, 29408 message: this.defaultMessage( element, "remote" ) 29409 }); 29410 }, 29411 29412 // cleans up all forms and elements, removes validator-specific events 29413 destroy: function() { 29414 this.resetForm(); 29415 29416 $( this.currentForm ) 29417 .off( ".validate" ) 29418 .removeData( "validator" ); 29419 } 29420 29421 }, 29422 29423 classRuleSettings: { 29424 required: { required: true }, 29425 email: { email: true }, 29426 url: { url: true }, 29427 date: { date: true }, 29428 dateISO: { dateISO: true }, 29429 number: { number: true }, 29430 digits: { digits: true }, 29431 creditcard: { creditcard: true } 29432 }, 29433 29434 addClassRules: function( className, rules ) { 29435 if ( className.constructor === String ) { 29436 this.classRuleSettings[ className ] = rules; 29437 } else { 29438 $.extend( this.classRuleSettings, className ); 29439 } 29440 }, 29441 29442 classRules: function( element ) { 29443 var rules = {}, 29444 classes = $( element ).attr( "class" ); 29445 29446 if ( classes ) { 29447 $.each( classes.split( " " ), function() { 29448 if ( this in $.validator.classRuleSettings ) { 29449 $.extend( rules, $.validator.classRuleSettings[ this ]); 29450 } 29451 }); 29452 } 29453 return rules; 29454 }, 29455 29456 normalizeAttributeRule: function( rules, type, method, value ) { 29457 29458 // convert the value to a number for number inputs, and for text for backwards compability 29459 // allows type="date" and others to be compared as strings 29460 if ( /min|max/.test( method ) && ( type === null || /number|range|text/.test( type ) ) ) { 29461 value = Number( value ); 29462 29463 // Support Opera Mini, which returns NaN for undefined minlength 29464 if ( isNaN( value ) ) { 29465 value = undefined; 29466 } 29467 } 29468 29469 if ( value || value === 0 ) { 29470 rules[ method ] = value; 29471 } else if ( type === method && type !== "range" ) { 29472 29473 // exception: the jquery validate 'range' method 29474 // does not test for the html5 'range' type 29475 rules[ method ] = true; 29476 } 29477 }, 29478 29479 attributeRules: function( element ) { 29480 var rules = {}, 29481 $element = $( element ), 29482 type = element.getAttribute( "type" ), 29483 method, value; 29484 29485 for ( method in $.validator.methods ) { 29486 29487 // support for <input required> in both html5 and older browsers 29488 if ( method === "required" ) { 29489 value = element.getAttribute( method ); 29490 29491 // Some browsers return an empty string for the required attribute 29492 // and non-HTML5 browsers might have required="" markup 29493 if ( value === "" ) { 29494 value = true; 29495 } 29496 29497 // force non-HTML5 browsers to return bool 29498 value = !!value; 29499 } else { 29500 value = $element.attr( method ); 29501 } 29502 29503 this.normalizeAttributeRule( rules, type, method, value ); 29504 } 29505 29506 // maxlength may be returned as -1, 2147483647 ( IE ) and 524288 ( safari ) for text inputs 29507 if ( rules.maxlength && /-1|2147483647|524288/.test( rules.maxlength ) ) { 29508 delete rules.maxlength; 29509 } 29510 29511 return rules; 29512 }, 29513 29514 dataRules: function( element ) { 29515 var rules = {}, 29516 $element = $( element ), 29517 type = element.getAttribute( "type" ), 29518 method, value; 29519 29520 for ( method in $.validator.methods ) { 29521 value = $element.data( "rule" + method.charAt( 0 ).toUpperCase() + method.substring( 1 ).toLowerCase() ); 29522 this.normalizeAttributeRule( rules, type, method, value ); 29523 } 29524 return rules; 29525 }, 29526 29527 staticRules: function( element ) { 29528 var rules = {}, 29529 validator = $.data( element.form, "validator" ); 29530 29531 if ( validator.settings.rules ) { 29532 rules = $.validator.normalizeRule( validator.settings.rules[ element.name ] ) || {}; 29533 } 29534 return rules; 29535 }, 29536 29537 normalizeRules: function( rules, element ) { 29538 // handle dependency check 29539 $.each( rules, function( prop, val ) { 29540 // ignore rule when param is explicitly false, eg. required:false 29541 if ( val === false ) { 29542 delete rules[ prop ]; 29543 return; 29544 } 29545 if ( val.param || val.depends ) { 29546 var keepRule = true; 29547 switch ( typeof val.depends ) { 29548 case "string": 29549 keepRule = !!$( val.depends, element.form ).length; 29550 break; 29551 case "function": 29552 keepRule = val.depends.call( element, element ); 29553 break; 29554 } 29555 if ( keepRule ) { 29556 rules[ prop ] = val.param !== undefined ? val.param : true; 29557 } else { 29558 delete rules[ prop ]; 29559 } 29560 } 29561 }); 29562 29563 // evaluate parameters 29564 $.each( rules, function( rule, parameter ) { 29565 rules[ rule ] = $.isFunction( parameter ) ? parameter( element ) : parameter; 29566 }); 29567 29568 // clean number parameters 29569 $.each([ "minlength", "maxlength" ], function() { 29570 if ( rules[ this ] ) { 29571 rules[ this ] = Number( rules[ this ] ); 29572 } 29573 }); 29574 $.each([ "rangelength", "range" ], function() { 29575 var parts; 29576 if ( rules[ this ] ) { 29577 if ( $.isArray( rules[ this ] ) ) { 29578 rules[ this ] = [ Number( rules[ this ][ 0 ]), Number( rules[ this ][ 1 ] ) ]; 29579 } else if ( typeof rules[ this ] === "string" ) { 29580 parts = rules[ this ].replace(/[\[\]]/g, "" ).split( /[\s,]+/ ); 29581 rules[ this ] = [ Number( parts[ 0 ]), Number( parts[ 1 ] ) ]; 29582 } 29583 } 29584 }); 29585 29586 if ( $.validator.autoCreateRanges ) { 29587 // auto-create ranges 29588 if ( rules.min != null && rules.max != null ) { 29589 rules.range = [ rules.min, rules.max ]; 29590 delete rules.min; 29591 delete rules.max; 29592 } 29593 if ( rules.minlength != null && rules.maxlength != null ) { 29594 rules.rangelength = [ rules.minlength, rules.maxlength ]; 29595 delete rules.minlength; 29596 delete rules.maxlength; 29597 } 29598 } 29599 29600 return rules; 29601 }, 29602 29603 // Converts a simple string to a {string: true} rule, e.g., "required" to {required:true} 29604 normalizeRule: function( data ) { 29605 if ( typeof data === "string" ) { 29606 var transformed = {}; 29607 $.each( data.split( /\s/ ), function() { 29608 transformed[ this ] = true; 29609 }); 29610 data = transformed; 29611 } 29612 return data; 29613 }, 29614 29615 // http://jqueryvalidation.org/jQuery.validator.addMethod/ 29616 addMethod: function( name, method, message ) { 29617 $.validator.methods[ name ] = method; 29618 $.validator.messages[ name ] = message !== undefined ? message : $.validator.messages[ name ]; 29619 if ( method.length < 3 ) { 29620 $.validator.addClassRules( name, $.validator.normalizeRule( name ) ); 29621 } 29622 }, 29623 29624 methods: { 29625 29626 // http://jqueryvalidation.org/required-method/ 29627 required: function( value, element, param ) { 29628 // check if dependency is met 29629 if ( !this.depend( param, element ) ) { 29630 return "dependency-mismatch"; 29631 } 29632 if ( element.nodeName.toLowerCase() === "select" ) { 29633 // could be an array for select-multiple or a string, both are fine this way 29634 var val = $( element ).val(); 29635 return val && val.length > 0; 29636 } 29637 if ( this.checkable( element ) ) { 29638 return this.getLength( value, element ) > 0; 29639 } 29640 return value.length > 0; 29641 }, 29642 29643 // http://jqueryvalidation.org/email-method/ 29644 email: function( value, element ) { 29645 // From https://html.spec.whatwg.org/multipage/forms.html#valid-e-mail-address 29646 // Retrieved 2014-01-14 29647 // If you have a problem with this implementation, report a bug against the above spec 29648 // Or use custom methods to implement your own email validation 29649 return this.optional( element ) || /^[a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/.test( value ); 29650 }, 29651 29652 // http://jqueryvalidation.org/url-method/ 29653 url: function( value, element ) { 29654 29655 // Copyright (c) 2010-2013 Diego Perini, MIT licensed 29656 // https://gist.github.com/dperini/729294 29657 // see also https://mathiasbynens.be/demo/url-regex 29658 // modified to allow protocol-relative URLs
29659 return this.optional( element ) || /^(?:(?:(?:https?|ftp):)?\/\/)(?:\S+(?::\S*)?@)?(?:(?!(?:10|127)(?:\.\d{1,3}){3})(?!(?:169\.254|192\.168)(?:\.\d{1,3}){2})(?!172\.(?:1[6-9]|2\d|3[0-1])(?:\.\d{1,3}){2})(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))|(?:(?:[a-z\u00a1-\uffff0-9]-*)*[a-z\u00a1-\uffff0-9]+)(?:\.(?:[a-z\u00a1-\uffff0-9]-*)*[a-z\u00a1-\uffff0-9]+)*(?:\.(?:[a-z\u00a1-\uffff]{2,})).?)(?::\d{2,5})?(?:[/?#]\S*)?$/i.test( value ); 29660 }, 29661 29662 // http://jqueryvalidation.org/date-method/ 29663 date: function( value, element ) { 29664 return this.optional( element ) || !/Invalid|NaN/.test( new Date( value ).toString() ); 29665 }, 29666 29667 // http://jqueryvalidation.org/dateISO-method/ 29668 dateISO: function( value, element ) { 29669 return this.optional( element ) || /^\d{4}[\/\-](0?[1-9]|1[012])[\/\-](0?[1-9]|[12][0-9]|3[01])$/.test( value ); 29670 }, 29671 29672 // http://jqueryvalidation.org/number-method/ 29673 number: function( value, element ) { 29674 return this.optional( element ) || /^(?:-?\d+|-?\d{1,3}(?:,\d{3})+)?(?:\.\d+)?$/.test( value ); 29675 }, 29676 29677 // http://jqueryvalidation.org/digits-method/ 29678 digits: function( value, element ) { 29679 return this.optional( element ) || /^\d+$/.test( value ); 29680 }, 29681 29682 // http://jqueryvalidation.org/creditcard-method/ 29683 // based on http://en.wikipedia.org/wiki/Luhn_algorithm 29684 creditcard: function( value, element ) { 29685 if ( this.optional( element ) ) { 29686 return "dependency-mismatch"; 29687 } 29688 // accept only spaces, digits and dashes 29689 if ( /[^0-9 \-]+/.test( value ) ) { 29690 return false; 29691 } 29692 var nCheck = 0, 29693 nDigit = 0, 29694 bEven = false, 29695 n, cDigit; 29696 29697 value = value.replace( /\D/g, "" ); 29698 29699 // Basing min and max length on 29700 // http://developer.ean.com/general_info/Valid_Credit_Card_Types 29701 if ( value.length < 13 || value.length > 19 ) { 29702 return false; 29703 } 29704 29705 for ( n = value.length - 1; n >= 0; n--) { 29706 cDigit = value.charAt( n ); 29707 nDigit = parseInt( cDigit, 10 ); 29708 if ( bEven ) { 29709 if ( ( nDigit *= 2 ) > 9 ) { 29710 nDigit -= 9; 29711 } 29712 } 29713 nCheck += nDigit; 29714 bEven = !bEven; 29715 } 29716 29717 return ( nCheck % 10 ) === 0; 29718 }, 29719 29720 // http://jqueryvalidation.org/minlength-method/ 29721 minlength: function( value, element, param ) { 29722 var length = $.isArray( value ) ? value.length : this.getLength( value, element ); 29723 return this.optional( element ) || length >= param; 29724 }, 29725 29726 // http://jqueryvalidation.org/maxlength-method/ 29727 maxlength: function( value, element, param ) { 29728 var length = $.isArray( value ) ? value.length : this.getLength( value, element ); 29729 return this.optional( element ) || length <= param; 29730 }, 29731 29732 // http://jqueryvalidation.org/rangelength-method/ 29733 rangelength: function( value, element, param ) { 29734 var length = $.isArray( value ) ? value.length : this.getLength( value, element ); 29735 return this.optional( element ) || ( length >= param[ 0 ] && length <= param[ 1 ] ); 29736 }, 29737 29738 // http://jqueryvalidation.org/min-method/ 29739 min: function( value, element, param ) { 29740 return this.optional( element ) || value >= param; 29741 }, 29742 29743 // http://jqueryvalidation.org/max-method/ 29744 max: function( value, element, param ) { 29745 return this.optional( element ) || value <= param; 29746 }, 29747 29748 // http://jqueryvalidation.org/range-method/ 29749 range: function( value, element, param ) { 29750 return this.optional( element ) || ( value >= param[ 0 ] && value <= param[ 1 ] ); 29751 }, 29752 29753 // http://jqueryvalidation.org/equalTo-method/ 29754 equalTo: function( value, element, param ) { 29755 // bind to the blur event of the target in order to revalidate whenever the target field is updated 29756 // TODO find a way to bind the event just once, avoiding the unbind-rebind overhead 29757 var target = $( param ); 29758 if ( this.settings.onfocusout ) { 29759 target.off( ".validate-equalTo" ).on( "blur.validate-equalTo", function() { 29760 $( element ).valid(); 29761 }); 29762 } 29763 return value === target.val(); 29764 }, 29765 29766 // http://jqueryvalidation.org/remote-method/ 29767 remote: function( value, element, param ) { 29768 if ( this.optional( element ) ) { 29769 return "dependency-mismatch"; 29770 } 29771 29772 var previous = this.previousValue( element ), 29773 validator, data; 29774 29775 if (!this.settings.messages[ element.name ] ) { 29776 this.settings.messages[ element.name ] = {}; 29777 } 29778 previous.originalMessage = this.settings.messages[ element.name ].remote; 29779 this.settings.messages[ element.name ].remote = previous.message; 29780 29781 param = typeof param === "string" && { url: param } || param; 29782 29783 if ( previous.old === value ) { 29784 return previous.valid; 29785 } 29786 29787 previous.old = value; 29788 validator = this;
29789 this.startRequest( element ); 29790 data = {}; 29791 data[ element.name ] = value; 29792 $.ajax( $.extend( true, { 29793 mode: "abort", 29794 port: "validate" + element.name, 29795 dataType: "json", 29796 data: data, 29797 context: validator.currentForm, 29798 success: function( response ) { 29799 var valid = response === true || response === "true", 29800 errors, message, submitted; 29801 29802 validator.settings.messages[ element.name ].remote = previous.originalMessage; 29803 if ( valid ) { 29804 submitted = validator.formSubmitted; 29805 validator.prepareElement( element ); 29806 validator.formSubmitted = submitted; 29807 validator.successList.push( element ); 29808 delete validator.invalid[ element.name ]; 29809 validator.showErrors(); 29810 } else { 29811 errors = {}; 29812 message = response || validator.defaultMessage( element, "remote" ); 29813 errors[ element.name ] = previous.message = $.isFunction( message ) ? message( value ) : message; 29814 validator.invalid[ element.name ] = true; 29815 validator.showErrors( errors ); 29816 } 29817 previous.valid = valid; 29818 validator.stopRequest( element, valid ); 29819 } 29820 }, param ) ); 29821 return "pending"; 29822 } 29823 } 29824 29825 }); 29826 29827 // ajax mode: abort 29828 // usage: $.ajax({ mode: "abort"[, port: "uniqueport"]}); 29829 // if mode:"abort" is used, the previous request on that port (port can be undefined) is aborted via XMLHttpRequest.abort() 29830 29831 var pendingRequests = {}, 29832 ajax; 29833 // Use a prefilter if available (1.5+) 29834 if ( $.ajaxPrefilter ) { 29835 $.ajaxPrefilter(function( settings, _, xhr ) { 29836 var port = settings.port; 29837 if ( settings.mode === "abort" ) { 29838 if ( pendingRequests[port] ) { 29839 pendingRequests[port].abort(); 29840 } 29841 pendingRequests[port] = xhr; 29842 } 29843 }); 29844 } else { 29845 // Proxy ajax 29846 ajax = $.ajax; 29847 $.ajax = function( settings ) { 29848 var mode = ( "mode" in settings ? settings : $.ajaxSettings ).mode, 29849 port = ( "port" in settings ? settings : $.ajaxSettings ).port; 29850 if ( mode === "abort" ) { 29851 if ( pendingRequests[port] ) { 29852 pendingRequests[port].abort(); 29853 } 29854 pendingRequests[port] = ajax.apply(this, arguments); 29855 return pendingRequests[port]; 29856 } 29857 return ajax.apply(this, arguments); 29858 }; 29859 } 29860 29861 })); 29862 29863/***/ }), 29864/* 381 */ 29865/***/ (function(module, exports) { 29866 29867 (function( factory ) { 29868 if ( typeof define === "function" && define.amd ) { 29869 define( ["jquery", "../jquery.validate"], factory ); 29870 } else { 29871 factory( jQuery ); 29872 } 29873 }(function( $ ) { 29874 29875 /* 29876 * Translated default messages for the jQuery validation plugin. 29877 * Locale: FR (French; français) 29878 */ 29879 $.extend($.validator.messages, { 29880 required: "Ce champ est obligatoire.", 29881 remote: "Veuillez corriger ce champ.", 29882 email: "Veuillez fournir une adresse électronique valide.", 29883 url: "Veuillez fournir une adresse URL valide.", 29884 date: "Veuillez fournir une date valide.", 29885 dateISO: "Veuillez fournir une date valide (ISO).", 29886 number: "Veuillez fournir un numéro valide.", 29887 digits: "Veuillez fournir seulement des chiffres.", 29888 creditcard: "Veuillez fournir un numéro de carte de crédit valide.", 29889 equalTo: "Veuillez fournir encore la même valeur.", 29890 extension: "Veuillez fournir une valeur avec une extension valide.", 29891 maxlength: $.validator.format("Veuillez fournir au plus {0} caractères."), 29892 minlength: $.validator.format("Veuillez fournir au moins {0} caractères."), 29893 rangelength: $.validator.format("Veuillez fournir une valeur qui contient entre {0} et {1} caractères."), 29894 range: $.validator.format("Veuillez fournir une valeur entre {0} et {1}."), 29895 max: $.validator.format("Veuillez fournir une valeur inférieure ou égale à {0}."), 29896 min: $.validator.format("Veuillez fournir une valeur supérieure ou égale à {0}."), 29897 maxWords: $.validator.format("Veuillez fournir au plus {0} mots."), 29898 minWords: $.validator.format("Veuillez fournir au moins {0} mots."), 29899 rangeWords: $.validator.format("Veuillez fournir entre {0} et {1} mots."), 29900 letterswithbasicpunc: "Veuillez fournir seulement des lettres et des signes de ponctuation.", 29901 alphanumeric: "Veuillez fournir seulement des lettres, nombres, espace
vendor: 7,636 bytes, lines 29901-29939
29901s et soulignages.", 29902 lettersonly: "Veuillez fournir seulement des lettres.", 29903 nowhitespace: "Veuillez ne pas inscrire d'espaces blancs.", 29904 ziprange: "Veuillez fournir un code postal entre 902xx-xxxx et 905-xx-xxxx.", 29905 integer: "Veuillez fournir un nombre non décimal qui est positif ou négatif.", 29906 vinUS: "Veuillez fournir un numéro d'identification du véhicule (VIN).", 29907 dateITA: "Veuillez fournir une date valide.", 29908 time: "Veuillez fournir une heure valide entre 00:00 et 23:59.", 29909 phoneUS: "Veuillez fournir un numéro de téléphone valide.", 29910 phoneUK: "Veuillez fournir un numéro de téléphone valide.", 29911 mobileUK: "Veuillez fournir un numéro de téléphone mobile valide.", 29912 strippedminlength: $.validator.format("Veuillez fournir au moins {0} caractères."), 29913 email2: "Veuillez fournir une adresse électronique valide.", 29914 url2: "Veuillez fournir une adresse URL valide.", 29915 creditcardtypes: "Veuillez fournir un numéro de carte de crédit valide.", 29916 ipv4: "Veuillez fournir une adresse IP v4 valide.", 29917 ipv6: "Veuillez fournir une adresse IP v6 valide.", 29918 require_from_group: "Veuillez fournir au moins {0} de ces champs.", 29919 nifES: "Veuillez fournir un numéro NIF valide.", 29920 nieES: "Veuillez fournir un numéro NIE valide.", 29921 cifES: "Veuillez fournir un numéro CIF valide.", 29922 postalCodeCA: "Veuillez fournir un code postal valide." 29923 }); 29924 29925 })); 29926 29927/***/ }), 29928/* 382 */ 29929/***/ (function(module, exports, __webpack_require__) { 29930 29931 var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_LOCAL_MODULE_1__;var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_LOCAL_MODULE_2__;var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_LOCAL_MODULE_3__;var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_LOCAL_MODULE_4__;var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_LOCAL_MODULE_5__;var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_LOCAL_MODULE_6__;var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*! 29932 * Masonry PACKAGED v4.1.0 29933 * Cascading grid layout library 29934 * http://masonry.desandro.com 29935 * MIT License 29936 * by David DeSandro 29937 */ 29938 29939 !function(t,e){"use strict"; true?!(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(2)], __WEBPACK_AMD_DEFINE_RESULT__ = function(i){e(t,i)}.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)):"object"==typeof module&&module.exports?module.exports=e(t,require("jquery")):t.jQueryBridget=e(t,t.jQuery)}(window,function(t,e){"use strict";function i(i,r,a){function h(t,e,n){var o,r="$()."+i+'("'+e+'")';return t.each(function(t,h){var u=a.data(h,i);if(!u)return void s(i+" not initialized. Cannot call methods, i.e. "+r);var d=u[e];if(!d||"_"==e.charAt(0))return void s(r+" is not a valid method");var l=d.apply(u,n);o=void 0===o?l:o}),void 0!==o?o:t}function u(t,e){t.each(function(t,n){var o=a.data(n,i);o?(o.option(e),o._init()):(o=new r(n,e),a.data(n,i,o))})}a=a||e||t.jQuery,a&&(r.prototype.option||(r.prototype.option=function(t){a.isPlainObject(t)&&(this.options=a.extend(!0,this.options,t))}),a.fn[i]=function(t){if("string"==typeof t){var e=o.call(arguments,1);return h(this,t,e)}return u(this,t),this},n(a))}function n(t){!t||t&&t.bridget||(t.bridget=i)}var o=Array.prototype.slice,r=t.console,s="undefined"==typeof r?function(){}:function(t){r.error(t)};return n(e||t.jQuery),i}),function(t,e){ true?!(__WEBPACK_AMD_DEFINE_FACTORY__ = (e), __WEBPACK_LOCAL_MODULE_1__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ? (__WEBPACK_AMD_DEFINE_FACTORY__.call(exports, __webpack_require__, exports, module)) : __WEBPACK_AMD_DEFINE_FACTORY__)):"object"==typeof module&&module.exports?module.exports=e():t.EvEmitter=e()}(this,function(){function t(){}var e=t.prototype;return e.on=function(t,e){if(t&&e){var i=this._events=this._events||{},n=i[t]=i[t]||[];return-1==n.indexOf(e)&&n.push(e),this}},e.once=function(t,e){if(t&&e){this.on(t,e);var i=this._onceEvents=this._onceEvents||{},n=i[t]=i[t]||{};return n[e]=!0,this}},e.off=function(t,e){var i=this._events&&this._events[t];if(i&&i.length){var n=i.indexOf(e);return-1!=n&&i.splice(n,1),this}},e.emitEvent=function(t,e){var i=this._events&&this._events[t];if(i&&i.length){var n=0,o=i[n];e=e||[];for(var r=this._onceEvents&&this._onceEvents[t];o;){var s=r&&r[o];s&&(this.off(t,o),delete r[o]),o.apply(this,e),n+=s?0:1,o=i[n]}return this}},t}),function(t,e){"use strict"; true?!(__WEBPACK_AMD_DEFINE_ARRAY__ = [], __WEBPACK_LOCAL_MODULE_2__ = (function(){return e()}.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__))):"object"==typeof module&&module.exports?module.exports=e():t.getSize=e()}(window,function(){"use strict";function t(t){var e=parseFloat(t),i=-1==t.indexOf("%")&&!isNaN(e);return i&&e}function e(){}function i(){for(var t={width:0,height:0,innerWidth:0,innerHeight:0,outerWidth:0,outerHeight:0},e=0;u>e;e++){var i=h[e];t[i]=0}return t}function n(t){var e=getComputedStyle(t);return e||a("Style returned "+e+". Are you running this code in a hidden iframe on Firefox? See http://bit.ly/getsizebug1"),e}function o(){if(!d){d=!0;var e=document.createElement("div");e.style.width="200px",e.style.padding="1px 2px 3px 4px",e.style.borderStyle="solid",e.style.borderWidth="1px 2px 3px 4px",e.style.boxSizing="border-box";var i=document.body||document.documentElement;i.appendChild(e);var o=n(e);r.isBoxSizeOuter=s=200==t(o.width),i.removeChild(e)}}function r(e){if(o(),"string"==typeof e&&(e=document.querySelector(e)),e&&"object"==typeof e&&e.nodeType){var r=n(e);if("none"==r.display)return i();var a={};a.width=e.offsetWidth,a.height=e.offsetHeight;for(var d=a.isBorderBox="border-box"==r.boxSizing,l=0;u>l;l++){var c=h[l],f=r[c],m=parseFloat(f);a[c]=isNaN(m)?0:m}var p=a.paddingLeft+a.paddingRight,g=a.paddingTop+a.paddingBottom,y=a.marginLeft+a.marginRight,v=a.marginTop+a.marginBottom,_=a.borderLeftWidth+a.borderRightWidth,E=a.borderTopWidth+a.borderBottomWidth,z=d&&s,b=t(r.width);b!==!1&&(a.width=b+(z?0:p+_));var x=t(r.height);return x!==!1&&(a.height=x+(z?0:g+E)),a.innerWidth=a.width-(p+_),a.innerHeight=a.height-(g+E),a.outerWidth=a.width+y,a.outerHeight=a.height+v,a}}var s,a="undefined"==typeof console?e:function(t){console.error(t)},h=["paddingLeft","paddingRight","paddingTop","paddingBottom","marginLeft","marginRight","marginTop","marginBottom","borderLeftWidth","borderRightWidth","borderTopWidth","borderBottomWidth"],u=h.length,d=!1;return r}),function(t,e){"use strict"; true?!(__WEBPACK_AMD_DEFINE_FACTORY__ = (e), __WEBPACK_LOCAL_MODULE_3__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ? (__WEBPACK_AMD_DEFINE_FACTORY__.call(exports, __webpack_require__, exports, module)) : __WEBPACK_AMD_DEFINE_FACTORY__)):"object"==typeof module&&module.exports?module.exports=e():t.matchesSelector=e()}(window,function(){"use strict";var t=function(){var t=Element.prototype;if(t.matches)return"matches";if(t.matchesSelector)return"matchesSelector";for(var e=["webkit","moz","ms","o"],i=0;i<e.length;i++){var n=e[i],o=n+"MatchesSelector";if(t[o])return o}}();return function(e,i){return e[t](i)}}),function(t,e){ true?!(__WEBPACK_AMD_DEFINE_ARRAY__ = [__WEBPACK_LOCAL_MODULE_3__], __WEBPACK_LOCAL_MODULE_4__ = (function(i){return e(t,i)}.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__))):"object"==typeof module&&module.exports?module.exports=e(t,require("desandro-matches-selector")):t.fizzyUIUtils=e(t,t.matchesSelector)}(window,function(t,e){var i={};i.extend=function(t,e){for(var i in e)t[i]=e[i];return t},i.modulo=function(t,e){return(t%e+e)%e},i.makeArray=function(t){var e=[];
vendor: 8,277 bytes, line 29939
29939if(Array.isArray(t))e=t;else if(t&&"number"==typeof t.length)for(var i=0;i<t.length;i++)e.push(t[i]);else e.push(t);return e},i.removeFrom=function(t,e){var i=t.indexOf(e);-1!=i&&t.splice(i,1)},i.getParent=function(t,i){for(;t!=document.body;)if(t=t.parentNode,e(t,i))return t},i.getQueryElement=function(t){return"string"==typeof t?document.querySelector(t):t},i.handleEvent=function(t){var e="on"+t.type;this[e]&&this[e](t)},i.filterFindElements=function(t,n){t=i.makeArray(t);var o=[];return t.forEach(function(t){if(t instanceof HTMLElement){if(!n)return void o.push(t);e(t,n)&&o.push(t);for(var i=t.querySelectorAll(n),r=0;r<i.length;r++)o.push(i[r])}}),o},i.debounceMethod=function(t,e,i){var n=t.prototype[e],o=e+"Timeout";t.prototype[e]=function(){var t=this[o];t&&clearTimeout(t);var e=arguments,r=this;this[o]=setTimeout(function(){n.apply(r,e),delete r[o]},i||100)}},i.docReady=function(t){"complete"==document.readyState?t():document.addEventListener("DOMContentLoaded",t)},i.toDashed=function(t){return t.replace(/(.)([A-Z])/g,function(t,e,i){return e+"-"+i}).toLowerCase()};var n=t.console;return i.htmlInit=function(e,o){i.docReady(function(){var r=i.toDashed(o),s="data-"+r,a=document.querySelectorAll("["+s+"]"),h=document.querySelectorAll(".js-"+r),u=i.makeArray(a).concat(i.makeArray(h)),d=s+"-options",l=t.jQuery;u.forEach(function(t){var i,r=t.getAttribute(s)||t.getAttribute(d);try{i=r&&JSON.parse(r)}catch(a){return void(n&&n.error("Error parsing "+s+" on "+t.className+": "+a))}var h=new e(t,i);l&&l.data(t,o,h)})})},i}),function(t,e){ true?!(__WEBPACK_AMD_DEFINE_ARRAY__ = [__WEBPACK_LOCAL_MODULE_1__,__WEBPACK_LOCAL_MODULE_2__], __WEBPACK_AMD_DEFINE_FACTORY__ = (e), __WEBPACK_LOCAL_MODULE_5__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ? (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__)):"object"==typeof module&&module.exports?module.exports=e(require("ev-emitter"),require("get-size")):(t.Outlayer={},t.Outlayer.Item=e(t.EvEmitter,t.getSize))}(window,function(t,e){"use strict";function i(t){for(var e in t)return!1;return e=null,!0}function n(t,e){t&&(this.element=t,this.layout=e,this.position={x:0,y:0},this._create())}function o(t){return t.replace(/([A-Z])/g,function(t){return"-"+t.toLowerCase()})}var r=document.documentElement.style,s="string"==typeof r.transition?"transition":"WebkitTransition",a="string"==typeof r.transform?"transform":"WebkitTransform",h={WebkitTransition:"webkitTransitionEnd",transition:"transitionend"}[s],u={transform:a,transition:s,transitionDuration:s+"Duration",transitionProperty:s+"Property",transitionDelay:s+"Delay"},d=n.prototype=Object.create(t.prototype);d.constructor=n,d._create=function(){this._transn={ingProperties:{},clean:{},onEnd:{}},this.css({position:"absolute"})},d.handleEvent=function(t){var e="on"+t.type;this[e]&&this[e](t)},d.getSize=function(){this.size=e(this.element)},d.css=function(t){var e=this.element.style;for(var i in t){var n=u[i]||i;e[n]=t[i]}},d.getPosition=function(){var t=getComputedStyle(this.element),e=this.layout._getOption("originLeft"),i=this.layout._getOption("originTop"),n=t[e?"left":"right"],o=t[i?"top":"bottom"],r=this.layout.size,s=-1!=n.indexOf("%")?parseFloat(n)/100*r.width:parseInt(n,10),a=-1!=o.indexOf("%")?parseFloat(o)/100*r.height:parseInt(o,10);s=isNaN(s)?0:s,a=isNaN(a)?0:a,s-=e?r.paddingLeft:r.paddingRight,a-=i?r.paddingTop:r.paddingBottom,this.position.x=s,this.position.y=a},d.layoutPosition=function(){var t=this.layout.size,e={},i=this.layout._getOption("originLeft"),n=this.layout._getOption("originTop"),o=i?"paddingLeft":"paddingRight",r=i?"left":"right",s=i?"right":"left",a=this.position.x+t[o];e[r]=this.getXValue(a),e[s]="";var h=n?"paddingTop":"paddingBottom",u=n?"top":"bottom",d=n?"bottom":"top",l=this.position.y+t[h];e[u]=this.getYValue(l),e[d]="",this.css(e),this.emitEvent("layout",[this])},d.getXValue=function(t){var e=this.layout._getOption("horizontal");return this.layout.options.percentPosition&&!e?t/this.layout.size.width*100+"%":t+"px"},d.getYValue=function(t){var e=this.layout._getOption("horizontal");return this.layout.options.percentPosition&&e?t/this.layout.size.height*100+"%":t+"px"},d._transitionTo=function(t,e){this.getPosition();var i=this.position.x,n=this.position.y,o=parseInt(t,10),r=parseInt(e,10),s=o===this.position.x&&r===this.position.y;if(this.setPosition(t,e),s&&!this.isTransitioning)return void this.layoutPosition();var a=t-i,h=e-n,u={};u.transform=this.getTranslate(a,h),this.transition({to:u,onTransitionEnd:{transform:this.layoutPosition},isCleaning:!0})},d.getTranslate=function(t,e){var i=this.layout._getOption("originLeft"),n=this.layout._getOption("originTop");return t=i?t:-t,e=n?e:-e,"translate3d("+t+"px, "+e+"px, 0)"},d.goTo=function(t,e){this.setPosition(t,e),this.layoutPosition()},d.moveTo=d._transitionTo,d.setPosition=function(t,e){this.position.x=parseInt(t,10),this.position.y=parseInt(e,10)},d._nonTransition=function(t){this.css(t.to),t.isCleaning&&this._removeStyles(t.to);for(var e in t.onTransitionEnd)t.onTransitionEnd[e].call(this)},d.transition=function(t){if(!parseFloat(this.layout.options.transitionDuration))return void this._nonTransition(t);var e=this._transn;for(var i in t.onTransitionEnd)e.onEnd[i]=t.onTransitionEnd[i];for(i in t.to)e.ingProperties[i]=!0,t.isCleaning&&(e.clean[i]=!0);if(t.from){this.css(t.from);var n=this.element.offsetHeight;n=null}this.enableTransition(t.to),this.css(t.to),this.isTransitioning=!0};var l="opacity,"+o(a);d.enableTransition=function(){if(!this.isTransitioning){var t=this.layout.options.transitionDuration;t="number"==typeof t?t+"ms":t,this.css({transitionProperty:l,transitionDuration:t,transitionDelay:this.staggerDelay||0}),this.element.addEventListener(h,this,!1)}},d.onwebkitTransitionEnd=function(t){this.ontransitionend(t)},d.onotransitionend=function(t){this.ontransitionend(t)};var c={"-webkit-transform":"transform"};d.ontransitionend=function(t){if(t.target===this.element){var e=this._transn,n=c[t.propertyName]||t.propertyName;if(delete e.ingProperties[n],i(e.ingProperties)&&this.disableTransition(),n in e.clean&&(this.element.style[t.propertyName]="",delete e.clean[n]),n in e.onEnd){var o=e.onEnd[n];o.call(this),delete e.onEnd[n]}this.emitEvent("transitionEnd",[this])}},d.disableTransition=function(){this.removeTransitionStyles(),this.element.removeEventListener(h,this,!1),this.isTransitioning=!1},d._removeStyles=function(t){var e={};for(var i in t)e[i]="";this.css(e)};var f={transitionProperty:"",transitionDuration:"",transitionDelay:""};return d.removeTransitionStyles=function(){this.css(f)},d.stagger=function(t){t=isNaN(t)?0:t,this.staggerDelay=t+"ms"},d.removeElem=function(){this.element.parentNode.removeChild(this.element),this.css({display:""}),this.emitEvent("remove",[this])},d.remove=function(){return s&&parseFloat(this.layout.options.transitionDuration)?(this.once("transitionEnd",function(){this.removeElem()}),void this.hide()):void this.removeElem()},d.reveal=function(){delete this.isHidden,this.css({display:""});var t=this.layout.options,e={},i=this.getHideRevealTransitionEndProperty("visibleStyle");e[i]=this.onRevealTransitionEnd,this.transition({from:t.hiddenStyle,to:t.visibleStyle,isCleaning:!0,onTransitionEnd:e})},d.onRevealTransitionEnd=function(){this.isHidden||this.emitEvent("reveal")},d.getHideRevealTransitionEndProperty=function(t){var e=this.layout.options[t];if(e.opacity)return"opacity";for(var i in e)return i},d.hide=function(){this.isHidden=!0,this.css({display:""});var t=this.layout.options,e={},i=this.getHideRevealTransitionEndProperty("hiddenStyle");e[i]=this.onHideTransitionEnd,this.transition({from:t.visibleStyle,to:t.hiddenStyle,isCleaning:!0,onTransitionEnd:e})},d.onHideTransitionEnd=function(){this.isHidden&&(this.css({display:"none"}),this.emitEvent("hide"))},d.destroy=function(){this.css({position:"",left:"",right:"",top:"",bottom:"",transition:"",transform:""})},n}),function(t,e){"use strict"; true?!(__WEBPACK_AMD_DEFINE_ARRAY__ = [__WEBPACK_LOCAL_MODULE_1__,__WEBPACK_LOCAL_MODULE_2__,__WEBPACK_LOCAL_MODULE_4__,__WEBPACK_LOCAL_MODULE_5__], __WEBPACK_LOCAL_MODULE_6__ = (function(i,n,o,r){return e(t,i,n,o,r)}.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__))
vendor: 8,080 bytes, line 29939
29939):"object"==typeof module&&module.exports?module.exports=e(t,require("ev-emitter"),require("get-size"),require("fizzy-ui-utils"),require("./item")):t.Outlayer=e(t,t.EvEmitter,t.getSize,t.fizzyUIUtils,t.Outlayer.Item)}(window,function(t,e,i,n,o){"use strict";function r(t,e){var i=n.getQueryElement(t);if(!i)return void(h&&h.error("Bad element for "+this.constructor.namespace+": "+(i||t)));this.element=i,u&&(this.$element=u(this.element)),this.options=n.extend({},this.constructor.defaults),this.option(e);var o=++l;this.element.outlayerGUID=o,c[o]=this,this._create();var r=this._getOption("initLayout");r&&this.layout()}function s(t){function e(){t.apply(this,arguments)}return e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e}function a(t){if("number"==typeof t)return t;var e=t.match(/(^\d*\.?\d*)(\w*)/),i=e&&e[1],n=e&&e[2];if(!i.length)return 0;i=parseFloat(i);var o=m[n]||1;return i*o}var h=t.console,u=t.jQuery,d=function(){},l=0,c={};r.namespace="outlayer",r.Item=o,r.defaults={containerStyle:{position:"relative"},initLayout:!0,originLeft:!0,originTop:!0,resize:!0,resizeContainer:!0,transitionDuration:"0.4s",hiddenStyle:{opacity:0,transform:"scale(0.001)"},visibleStyle:{opacity:1,transform:"scale(1)"}};var f=r.prototype;n.extend(f,e.prototype),f.option=function(t){n.extend(this.options,t)},f._getOption=function(t){var e=this.constructor.compatOptions[t];return e&&void 0!==this.options[e]?this.options[e]:this.options[t]},r.compatOptions={initLayout:"isInitLayout",horizontal:"isHorizontal",layoutInstant:"isLayoutInstant",originLeft:"isOriginLeft",originTop:"isOriginTop",resize:"isResizeBound",resizeContainer:"isResizingContainer"},f._create=function(){this.reloadItems(),this.stamps=[],this.stamp(this.options.stamp),n.extend(this.element.style,this.options.containerStyle);var t=this._getOption("resize");t&&this.bindResize()},f.reloadItems=function(){this.items=this._itemize(this.element.children)},f._itemize=function(t){for(var e=this._filterFindItemElements(t),i=this.constructor.Item,n=[],o=0;o<e.length;o++){var r=e[o],s=new i(r,this);n.push(s)}return n},f._filterFindItemElements=function(t){return n.filterFindElements(t,this.options.itemSelector)},f.getItemElements=function(){return this.items.map(function(t){return t.element})},f.layout=function(){this._resetLayout(),this._manageStamps();var t=this._getOption("layoutInstant"),e=void 0!==t?t:!this._isLayoutInited;this.layoutItems(this.items,e),this._isLayoutInited=!0},f._init=f.layout,f._resetLayout=function(){this.getSize()},f.getSize=function(){this.size=i(this.element)},f._getMeasurement=function(t,e){var n,o=this.options[t];o?("string"==typeof o?n=this.element.querySelector(o):o instanceof HTMLElement&&(n=o),this[t]=n?i(n)[e]:o):this[t]=0},f.layoutItems=function(t,e){t=this._getItemsForLayout(t),this._layoutItems(t,e),this._postLayout()},f._getItemsForLayout=function(t){return t.filter(function(t){return!t.isIgnored})},f._layoutItems=function(t,e){if(this._emitCompleteOnItems("layout",t),t&&t.length){var i=[];t.forEach(function(t){var n=this._getItemLayoutPosition(t);n.item=t,n.isInstant=e||t.isLayoutInstant,i.push(n)},this),this._processLayoutQueue(i)}},f._getItemLayoutPosition=function(){return{x:0,y:0}},f._processLayoutQueue=function(t){this.updateStagger(),t.forEach(function(t,e){this._positionItem(t.item,t.x,t.y,t.isInstant,e)},this)},f.updateStagger=function(){var t=this.options.stagger;return null===t||void 0===t?void(this.stagger=0):(this.stagger=a(t),this.stagger)},f._positionItem=function(t,e,i,n,o){n?t.goTo(e,i):(t.stagger(o*this.stagger),t.moveTo(e,i))},f._postLayout=function(){this.resizeContainer()},f.resizeContainer=function(){var t=this._getOption("resizeContainer");if(t){var e=this._getContainerSize();e&&(this._setContainerMeasure(e.width,!0),this._setContainerMeasure(e.height,!1))}},f._getContainerSize=d,f._setContainerMeasure=function(t,e){if(void 0!==t){var i=this.size;i.isBorderBox&&(t+=e?i.paddingLeft+i.paddingRight+i.borderLeftWidth+i.borderRightWidth:i.paddingBottom+i.paddingTop+i.borderTopWidth+i.borderBottomWidth),t=Math.max(t,0),this.element.style[e?"width":"height"]=t+"px"}},f._emitCompleteOnItems=function(t,e){function i(){o.dispatchEvent(t+"Complete",null,[e])}function n(){s++,s==r&&i()}var o=this,r=e.length;if(!e||!r)return void i();var s=0;e.forEach(function(e){e.once(t,n)})},f.dispatchEvent=function(t,e,i){var n=e?[e].concat(i):i;if(this.emitEvent(t,n),u)if(this.$element=this.$element||u(this.element),e){var o=u.Event(e);o.type=t,this.$element.trigger(o,i)}else this.$element.trigger(t,i)},f.ignore=function(t){var e=this.getItem(t);e&&(e.isIgnored=!0)},f.unignore=function(t){var e=this.getItem(t);e&&delete e.isIgnored},f.stamp=function(t){t=this._find(t),t&&(this.stamps=this.stamps.concat(t),t.forEach(this.ignore,this))},f.unstamp=function(t){t=this._find(t),t&&t.forEach(function(t){n.removeFrom(this.stamps,t),this.unignore(t)},this)},f._find=function(t){return t?("string"==typeof t&&(t=this.element.querySelectorAll(t)),t=n.makeArray(t)):void 0},f._manageStamps=function(){this.stamps&&this.stamps.length&&(this._getBoundingRect(),this.stamps.forEach(this._manageStamp,this))},f._getBoundingRect=function(){var t=this.element.getBoundingClientRect(),e=this.size;this._boundingRect={left:t.left+e.paddingLeft+e.borderLeftWidth,top:t.top+e.paddingTop+e.borderTopWidth,right:t.right-(e.paddingRight+e.borderRightWidth),bottom:t.bottom-(e.paddingBottom+e.borderBottomWidth)}},f._manageStamp=d,f._getElementOffset=function(t){var e=t.getBoundingClientRect(),n=this._boundingRect,o=i(t),r={left:e.left-n.left-o.marginLeft,top:e.top-n.top-o.marginTop,right:n.right-e.right-o.marginRight,bottom:n.bottom-e.bottom-o.marginBottom};return r},f.handleEvent=n.handleEvent,f.bindResize=function(){t.addEventListener("resize",this),this.isResizeBound=!0},f.unbindResize=function(){t.removeEventListener("resize",this),this.isResizeBound=!1},f.onresize=function(){this.resize()},n.debounceMethod(r,"onresize",100),f.resize=function(){this.isResizeBound&&this.needsResizeLayout()&&this.layout()},f.needsResizeLayout=function(){var t=i(this.element),e=this.size&&t;return e&&t.innerWidth!==this.size.innerWidth},f.addItems=function(t){var e=this._itemize(t);return e.length&&(this.items=this.items.concat(e)),e},f.appended=function(t){var e=this.addItems(t);e.length&&(this.layoutItems(e,!0),this.reveal(e))},f.prepended=function(t){var e=this._itemize(t);if(e.length){var i=this.items.slice(0);this.items=e.concat(i),this._resetLayout(),this._manageStamps(),this.layoutItems(e,!0),this.reveal(e),this.layoutItems(i)}},f.reveal=function(t){if(this._emitCompleteOnItems("reveal",t),t&&t.length){var e=this.updateStagger();t.forEach(function(t,i){t.stagger(i*e),t.reveal()})}},f.hide=function(t){if(this._emitCompleteOnItems("hide",t),t&&t.length){var e=this.updateStagger();t.forEach(function(t,i){t.stagger(i*e),t.hide()})}},f.revealItemElements=function(t){var e=this.getItems(t);this.reveal(e)},f.hideItemElements=function(t){var e=this.getItems(t);this.hide(e)},f.getItem=function(t){for(var e=0;e<this.items.length;e++){var i=this.items[e];if(i.element==t)return i}},f.getItems=function(t){t=n.makeArray(t);var e=[];return t.forEach(function(t){var i=this.getItem(t);i&&e.push(i)},this),e},f.remove=function(t){var e=this.getItems(t);this._emitCompleteOnItems("remove",e),e&&e.length&&e.forEach(function(t){t.remove(),n.removeFrom(this.items,t)},this)},f.destroy=function(){var t=this.element.style;t.height="",t.position="",t.width="",this.items.forEach(function(t){t.destroy()}),this.unbindResize();var e=this.element.outlayerGUID;delete c[e],delete this.element.outlayerGUID,u&&u.removeData(this.element,this.constructor.namespace)},r.data=function(t){t=n.getQueryElement(t);var e=t&&t.outlayerGUID;return e&&c[e]},r.create=function(t,e){var i=s(r);return i.defaults=n.extend({},r.defaults),n.extend(i.defaults,e),i.compatOptions=n.extend({},r.compatOptions),i.namespace=t,i.data=r.data,i.Item=s(o),n.htmlInit(i,t),u&&u.bridget&&u.bridget(t,i),i};var m={ms:1,s:1e3};return r.Item=o,r}),function(t,e){
29939 true?!(__WEBPACK_AMD_DEFINE_ARRAY__ = [__WEBPACK_LOCAL_MODULE_6__,__WEBPACK_LOCAL_MODULE_2__], __WEBPACK_AMD_DEFINE_FACTORY__ = (e), __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ? (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)):"object"==typeof module&&module.exports?module.exports=e(require("outlayer"),require("get-size")):t.Masonry=e(t.Outlayer,t.getSize)}(window,function(t,e){var i=t.create("masonry");return i.compatOptions.fitWidth="isFitWidth",i.prototype._resetLayout=function(){this.get
29939Size(),this._getMeasurement("columnWidth","outerWidth"),this._getMeasurement("gutter","outerWidth"),this.measureColumns(),this.colYs=[];for(var t=0;t<this.cols;t++)this.colYs.push(0);this.maxY=0},i.prototype.measureColumns=function(){if(this.getContainerWidth(),!this.columnWidth){var t=this.items[0],i=t&&t.element;this.columnWidth=i&&e(i).outerWidth||this.containerWidth}var n=this.columnWidth+=this.gutter,o=this.containerWidth+this.gutter,r=o/n,s=n-o%n,a=s&&1>s?"round":"floor";r=Math[a](r),this.cols=Math.max(r,1)},i.prototype.getContainerWidth=function(){var t=this._getOption("fitWidth"),i=t?this.element.parentNode:this.element,n=e(i);this.containerWidth=n&&n.innerWidth},i.prototype._getItemLayoutPosition=function(t){t.getSize();var e=t.size.outerWidth%this.columnWidth,i=e&&1>e?"round":"ceil",n=Math[i](t.size.outerWidth/this.columnWidth);n=Math.min(n,this.cols);for(var o=this._getColGroup(n),r=Math.min.apply(Math,o),s=o.indexOf(r),a={x:this.columnWidth*s,y:r},h=r+t.size.outerHeight,u=this.cols+1-o.length,d=0;u>d;d++)this.colYs[s+d]=h;return a},i.prototype._getColGroup=function(t){if(2>t)return this.colYs;for(var e=[],i=this.cols+1-t,n=0;i>n;n++){var o=this.colYs.slice(n,n+t);e[n]=Math.max.apply(Math,o)}return e},i.prototype._manageStamp=function(t){var i=e(t),n=this._getElementOffset(t),o=this._getOption("originLeft"),r=o?n.left:n.right,s=r+i.outerWidth,a=Math.floor(r/this.columnWidth);a=Math.max(0,a);var h=Math.floor(s/this.columnWidth);h-=s%this.columnWidth?0:1,h=Math.min(this.cols-1,h);for(var u=this._getOption("originTop"),d=(u?n.top:n.bottom)+i.outerHeight,l=a;h>=l;l++)this.colYs[l]=Math.max(d,this.colYs[l])},i.prototype._getContainerSize=function(){this.maxY=Math.max.apply(Math,this.colYs);var t={height:this.maxY};return this._getOption("fitWidth")&&(t.width=this._getContainerFitWidth()),t},i.prototype._getContainerFitWidth=function(){for(var t=0,e=this.cols;--e&&0===this.colYs[e];)t++;return(this.cols-t)*this.columnWidth-this.gutter},i.prototype.needsResizeLayout=function(){var t=this.containerWidth;return this.getContainerWidth(),t!=this.containerWidth},i}); 29940 29941/***/ }), 29942/* 383 */ 29943/***/ (function(module, exports, __webpack_require__) { 29944 29945 var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*! 29946 * Masonry v4.1.0 29947 * Cascading grid layout library 29948 * http://masonry.desandro.com 29949 * MIT License 29950 * by David DeSandro 29951 */ 29952 29953 ( function( window, factory ) { 29954 // universal module definition 29955 /* jshint strict: false */ /*globals define, module, require */ 29956 if ( true ) { 29957 // AMD 29958 !(__WEBPACK_AMD_DEFINE_ARRAY__ = [ 29959 __webpack_require__(387), 29960 __webpack_require__(14) 29961 ], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory), __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ? (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)); 29962 } else if ( typeof module == 'object' && module.exports ) { 29963 // CommonJS 29964 module.exports = factory( 29965 require('outlayer'), 29966 require('get-size') 29967 ); 29968 } else { 29969 // browser global 29970 window.Masonry = factory( 29971 window.Outlayer, 29972 window.getSize 29973 ); 29974 } 29975 29976 }( window, function factory( Outlayer, getSize ) { 29977 29978 'use strict'; 29979 29980 // -------------------------- masonryDefinition -------------------------- // 29981 29982 // create an Outlayer layout class 29983 var Masonry = Outlayer.create('masonry'); 29984 // isFitWidth -> fitWidth
vendor: 7,027 bytes, lines 29985-30190
29985 Masonry.compatOptions.fitWidth = 'isFitWidth'; 29986 29987 Masonry.prototype._resetLayout = function() { 29988 this.getSize(); 29989 this._getMeasurement( 'columnWidth', 'outerWidth' ); 29990 this._getMeasurement( 'gutter', 'outerWidth' ); 29991 this.measureColumns(); 29992 29993 // reset column Y 29994 this.colYs = []; 29995 for ( var i=0; i < this.cols; i++ ) { 29996 this.colYs.push( 0 ); 29997 } 29998 29999 this.maxY = 0; 30000 }; 30001 30002 Masonry.prototype.measureColumns = function() { 30003 this.getContainerWidth(); 30004 // if columnWidth is 0, default to outerWidth of first item 30005 if ( !this.columnWidth ) { 30006 var firstItem = this.items[0]; 30007 var firstItemElem = firstItem && firstItem.element; 30008 // columnWidth fall back to item of first element 30009 this.columnWidth = firstItemElem && getSize( firstItemElem ).outerWidth || 30010 // if first elem has no width, default to size of container 30011 this.containerWidth; 30012 } 30013 30014 var columnWidth = this.columnWidth += this.gutter; 30015 30016 // calculate columns 30017 var containerWidth = this.containerWidth + this.gutter; 30018 var cols = containerWidth / columnWidth; 30019 // fix rounding errors, typically with gutters 30020 var excess = columnWidth - containerWidth % columnWidth; 30021 // if overshoot is less than a pixel, round up, otherwise floor it 30022 var mathMethod = excess && excess < 1 ? 'round' : 'floor'; 30023 cols = Math[ mathMethod ]( cols ); 30024 this.cols = Math.max( cols, 1 ); 30025 }; 30026 30027 Masonry.prototype.getContainerWidth = function() { 30028 // container is parent if fit width 30029 var isFitWidth = this._getOption('fitWidth'); 30030 var container = isFitWidth ? this.element.parentNode : this.element; 30031 // check that this.size and size are there 30032 // IE8 triggers resize on body size change, so they might not be 30033 var size = getSize( container ); 30034 this.containerWidth = size && size.innerWidth; 30035 }; 30036 30037 Masonry.prototype._getItemLayoutPosition = function( item ) { 30038 item.getSize(); 30039 // how many columns does this brick span 30040 var remainder = item.size.outerWidth % this.columnWidth; 30041 var mathMethod = remainder && remainder < 1 ? 'round' : 'ceil'; 30042 // round if off by 1 pixel, otherwise use ceil 30043 var colSpan = Math[ mathMethod ]( item.size.outerWidth / this.columnWidth ); 30044 colSpan = Math.min( colSpan, this.cols ); 30045 30046 var colGroup = this._getColGroup( colSpan ); 30047 // get the minimum Y value from the columns 30048 var minimumY = Math.min.apply( Math, colGroup ); 30049 var shortColIndex = colGroup.indexOf( minimumY ); 30050 30051 // position the brick 30052 var position = { 30053 x: this.columnWidth * shortColIndex, 30054 y: minimumY 30055 }; 30056 30057 // apply setHeight to necessary columns 30058 var setHeight = minimumY + item.size.outerHeight; 30059 var setSpan = this.cols + 1 - colGroup.length; 30060 for ( var i = 0; i < setSpan; i++ ) { 30061 this.colYs[ shortColIndex + i ] = setHeight; 30062 } 30063 30064 return position; 30065 }; 30066 30067 /** 30068 * @param {Number} colSpan - number of columns the element spans 30069 * @returns {Array} colGroup 30070 */ 30071 Masonry.prototype._getColGroup = function( colSpan ) { 30072 if ( colSpan < 2 ) { 30073 // if brick spans only one column, use all the column Ys 30074 return this.colYs; 30075 } 30076 30077 var colGroup = []; 30078 // how many different places could this brick fit horizontally 30079 var groupCount = this.cols + 1 - colSpan; 30080 // for each group potential horizontal position 30081 for ( var i = 0; i < groupCount; i++ ) { 30082 // make an array of colY values for that one group 30083 var groupColYs = this.colYs.slice( i, i + colSpan ); 30084 // and get the max value of the array 30085 colGroup[i] = Math.max.apply( Math, groupColYs ); 30086 } 30087 return colGroup; 30088 }; 30089 30090 Masonry.prototype._manageStamp = function( stamp ) { 30091 var stampSize = getSize( stamp ); 30092 var offset = this._getElementOffset( stamp ); 30093 // get the columns that this stamp affects 30094 var isOriginLeft = this._getOption('originLeft'); 30095 var firstX = isOriginLeft ? offset.left : offset.right; 30096 var lastX = firstX + stampSize.outerWidth; 30097 var firstCol = Math.floor( firstX / this.columnWidth ); 30098 firstCol = Math.max( 0, firstCol ); 30099 var lastCol = Math.floor( lastX / this.columnWidth ); 30100 // lastCol should not go over if multiple of columnWidth #425 30101 lastCol -= lastX % this.columnWidth ? 0 : 1; 30102 lastCol = Math.min( this.cols - 1, lastCol ); 30103 // set colYs to bottom of the stamp 30104 30105 var isOriginTop = this._getOption('originTop'); 30106 var stampMaxY = ( isOriginTop ? offset.top : offset.bottom ) + 30107 stampSize.outerHeight; 30108 for ( var i = firstCol; i <= lastCol; i++ ) { 30109 this.colYs[i] = Math.max( stampMaxY, this.colYs[i] ); 30110 } 30111 }; 30112 30113 Masonry.prototype._getContainerSize = function() { 30114 this.maxY = Math.max.apply( Math, this.colYs ); 30115 var size = { 30116 height: this.maxY 30117 }; 30118 30119 if ( this._getOption('fitWidth') ) { 30120 size.width = this._getContainerFitWidth(); 30121 } 30122 30123 return size; 30124 }; 30125 30126 Masonry.prototype._getContainerFitWidth = function() { 30127 var unusedCols = 0; 30128 // count unused columns 30129 var i = this.cols; 30130 while ( --i ) { 30131 if ( this.colYs[i] !== 0 ) { 30132 break; 30133 } 30134 unusedCols++; 30135 } 30136 // fit container to columns that have been used 30137 return ( this.cols - unusedCols ) * this.columnWidth - this.gutter; 30138 }; 30139 30140 Masonry.prototype.needsResizeLayout = function() { 30141 var previousWidth = this.containerWidth; 30142 this.getContainerWidth(); 30143 return previousWidth != this.containerWidth; 30144 }; 30145 30146 return Masonry; 30147 30148 })); 30149 30150 30151/***/ }), 30152/* 384 */ 30153/***/ (function(module, exports, __webpack_require__) { 30154 30155 var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/** 30156 * Outlayer Item 30157 */ 30158 30159 ( function( window, factory ) { 30160 // universal module definition 30161 /* jshint strict: false */ /* globals define, module, require */ 30162 if ( true ) { 30163 // AMD - RequireJS 30164 !(__WEBPACK_AMD_DEFINE_ARRAY__ = [ 30165 __webpack_require__(26), 30166 __webpack_require__(14) 30167 ], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory), __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ? (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)); 30168 } else if ( typeof module == 'object' && module.exports ) { 30169 // CommonJS - Browserify, Webpack 30170 module.exports = factory( 30171 require('ev-emitter'), 30172 require('get-size') 30173 ); 30174 } else { 30175 // browser global 30176 window.Outlayer = {}; 30177 window.Outlayer.Item = factory( 30178 window.EvEmitter, 30179 window.getSize 30180 ); 30181 } 30182 30183 }( window, function factory( EvEmitter, getSize ) { 30184 'use strict'; 30185 30186 // ----- helpers ----- // 30187 30188 function isEmptyObj( obj ) { 30189 for ( var prop in obj ) { 30190 return false;
vendor: 4,548 bytes, lines 30191-30350
30191 } 30192 prop = null; 30193 return true; 30194 } 30195 30196 // -------------------------- CSS3 support -------------------------- // 30197 30198 30199 var docElemStyle = document.documentElement.style; 30200 30201 var transitionProperty = typeof docElemStyle.transition == 'string' ? 30202 'transition' : 'WebkitTransition'; 30203 var transformProperty = typeof docElemStyle.transform == 'string' ? 30204 'transform' : 'WebkitTransform'; 30205 30206 var transitionEndEvent = { 30207 WebkitTransition: 'webkitTransitionEnd', 30208 transition: 'transitionend' 30209 }[ transitionProperty ]; 30210 30211 // cache all vendor properties that could have vendor prefix 30212 var vendorProperties = { 30213 transform: transformProperty, 30214 transition: transitionProperty, 30215 transitionDuration: transitionProperty + 'Duration', 30216 transitionProperty: transitionProperty + 'Property', 30217 transitionDelay: transitionProperty + 'Delay' 30218 }; 30219 30220 // -------------------------- Item -------------------------- // 30221 30222 function Item( element, layout ) { 30223 if ( !element ) { 30224 return; 30225 } 30226 30227 this.element = element; 30228 // parent layout class, i.e. Masonry, Isotope, or Packery 30229 this.layout = layout; 30230 this.position = { 30231 x: 0, 30232 y: 0 30233 }; 30234 30235 this._create(); 30236 } 30237 30238 // inherit EvEmitter 30239 var proto = Item.prototype = Object.create( EvEmitter.prototype ); 30240 proto.constructor = Item; 30241 30242 proto._create = function() { 30243 // transition objects 30244 this._transn = { 30245 ingProperties: {}, 30246 clean: {}, 30247 onEnd: {} 30248 }; 30249 30250 this.css({ 30251 position: 'absolute' 30252 }); 30253 }; 30254 30255 // trigger specified handler for event type 30256 proto.handleEvent = function( event ) { 30257 var method = 'on' + event.type; 30258 if ( this[ method ] ) { 30259 this[ method ]( event ); 30260 } 30261 }; 30262 30263 proto.getSize = function() { 30264 this.size = getSize( this.element ); 30265 }; 30266 30267 /** 30268 * apply CSS styles to element 30269 * @param {Object} style 30270 */ 30271 proto.css = function( style ) { 30272 var elemStyle = this.element.style; 30273 30274 for ( var prop in style ) { 30275 // use vendor property if available 30276 var supportedProp = vendorProperties[ prop ] || prop; 30277 elemStyle[ supportedProp ] = style[ prop ]; 30278 } 30279 }; 30280 30281 // measure position, and sets it 30282 proto.getPosition = function() { 30283 var style = getComputedStyle( this.element ); 30284 var isOriginLeft = this.layout._getOption('originLeft'); 30285 var isOriginTop = this.layout._getOption('originTop'); 30286 var xValue = style[ isOriginLeft ? 'left' : 'right' ]; 30287 var yValue = style[ isOriginTop ? 'top' : 'bottom' ]; 30288 var x = parseFloat( xValue ); 30289 var y = parseFloat( yValue ); 30290 // convert percent to pixels 30291 var layoutSize = this.layout.size; 30292 if ( xValue.indexOf('%') != -1 ) { 30293 x = ( x / 100 ) * layoutSize.width; 30294 } 30295 if ( yValue.indexOf('%') != -1 ) { 30296 y = ( y / 100 ) * layoutSize.height; 30297 } 30298 // clean up 'auto' or other non-integer values 30299 x = isNaN( x ) ? 0 : x; 30300 y = isNaN( y ) ? 0 : y; 30301 // remove padding from measurement 30302 x -= isOriginLeft ? layoutSize.paddingLeft : layoutSize.paddingRight; 30303 y -= isOriginTop ? layoutSize.paddingTop : layoutSize.paddingBottom; 30304 30305 this.position.x = x; 30306 this.position.y = y; 30307 }; 30308 30309 // set settled position, apply padding 30310 proto.layoutPosition = function() { 30311 var layoutSize = this.layout.size; 30312 var style = {}; 30313 var isOriginLeft = this.layout._getOption('originLeft'); 30314 var isOriginTop = this.layout._getOption('originTop'); 30315 30316 // x 30317 var xPadding = isOriginLeft ? 'paddingLeft' : 'paddingRight'; 30318 var xProperty = isOriginLeft ? 'left' : 'right'; 30319 var xResetProperty = isOriginLeft ? 'right' : 'left'; 30320 30321 var x = this.position.x + layoutSize[ xPadding ]; 30322 // set in percentage or pixels 30323 style[ xProperty ] = this.getXValue( x ); 30324 // reset other property 30325 style[ xResetProperty ] = ''; 30326 30327 // y 30328 var yPadding = isOriginTop ? 'paddingTop' : 'paddingBottom'; 30329 var yProperty = isOriginTop ? 'top' : 'bottom'; 30330 var yResetProperty = isOriginTop ? 'bottom' : 'top'; 30331 30332 var y = this.position.y + layoutSize[ yPadding ]; 30333 // set in percentage or pixels 30334 style[ yProperty ] = this.getYValue( y ); 30335 // reset other property 30336 style[ yResetProperty ] = ''; 30337 30338 this.css( style ); 30339 this.emitEvent( 'layout', [ this ] ); 30340 }; 30341 30342 proto.getXValue = function( x ) { 30343 var isHorizontal = this.layout._getOption('horizontal'); 30344 return this.layout.options.percentPosition && !isHorizontal ? 30345 ( ( x / this.layout.size.width ) * 100 ) + '%' : x + 'px'; 30346 }; 30347 30348 proto.getYValue = function( y ) { 30349 var isHorizontal = this.layout._getOption('horizontal'); 30350 return this.layout.options.percentPosition && isHorizontal ?
vendor: 22,432 bytes, lines 30351-31187
30351 ( ( y / this.layout.size.height ) * 100 ) + '%' : y + 'px'; 30352 }; 30353 30354 proto._transitionTo = function( x, y ) { 30355 this.getPosition(); 30356 // get current x & y from top/left 30357 var curX = this.position.x; 30358 var curY = this.position.y; 30359 30360 var didNotMove = x == this.position.x && y == this.position.y; 30361 30362 // save end position 30363 this.setPosition( x, y ); 30364 30365 // if did not move and not transitioning, just go to layout 30366 if ( didNotMove && !this.isTransitioning ) { 30367 this.layoutPosition(); 30368 return; 30369 } 30370 30371 var transX = x - curX; 30372 var transY = y - curY; 30373 var transitionStyle = {}; 30374 transitionStyle.transform = this.getTranslate( transX, transY ); 30375 30376 this.transition({ 30377 to: transitionStyle, 30378 onTransitionEnd: { 30379 transform: this.layoutPosition 30380 }, 30381 isCleaning: true 30382 }); 30383 }; 30384 30385 proto.getTranslate = function( x, y ) { 30386 // flip cooridinates if origin on right or bottom 30387 var isOriginLeft = this.layout._getOption('originLeft'); 30388 var isOriginTop = this.layout._getOption('originTop'); 30389 x = isOriginLeft ? x : -x; 30390 y = isOriginTop ? y : -y; 30391 return 'translate3d(' + x + 'px, ' + y + 'px, 0)'; 30392 }; 30393 30394 // non transition + transform support 30395 proto.goTo = function( x, y ) { 30396 this.setPosition( x, y ); 30397 this.layoutPosition(); 30398 }; 30399 30400 proto.moveTo = proto._transitionTo; 30401 30402 proto.setPosition = function( x, y ) { 30403 this.position.x = parseFloat( x ); 30404 this.position.y = parseFloat( y ); 30405 }; 30406 30407 // ----- transition ----- // 30408 30409 /** 30410 * @param {Object} style - CSS 30411 * @param {Function} onTransitionEnd 30412 */ 30413 30414 // non transition, just trigger callback 30415 proto._nonTransition = function( args ) { 30416 this.css( args.to ); 30417 if ( args.isCleaning ) { 30418 this._removeStyles( args.to ); 30419 } 30420 for ( var prop in args.onTransitionEnd ) { 30421 args.onTransitionEnd[ prop ].call( this ); 30422 } 30423 }; 30424 30425 /** 30426 * proper transition 30427 * @param {Object} args - arguments 30428 * @param {Object} to - style to transition to 30429 * @param {Object} from - style to start transition from 30430 * @param {Boolean} isCleaning - removes transition styles after transition 30431 * @param {Function} onTransitionEnd - callback 30432 */ 30433 proto.transition = function( args ) { 30434 // redirect to nonTransition if no transition duration 30435 if ( !parseFloat( this.layout.options.transitionDuration ) ) { 30436 this._nonTransition( args ); 30437 return; 30438 } 30439 30440 var _transition = this._transn; 30441 // keep track of onTransitionEnd callback by css property 30442 for ( var prop in args.onTransitionEnd ) { 30443 _transition.onEnd[ prop ] = args.onTransitionEnd[ prop ]; 30444 } 30445 // keep track of properties that are transitioning 30446 for ( prop in args.to ) { 30447 _transition.ingProperties[ prop ] = true; 30448 // keep track of properties to clean up when transition is done 30449 if ( args.isCleaning ) { 30450 _transition.clean[ prop ] = true; 30451 } 30452 } 30453 30454 // set from styles 30455 if ( args.from ) { 30456 this.css( args.from ); 30457 // force redraw. http://blog.alexmaccaw.com/css-transitions 30458 var h = this.element.offsetHeight; 30459 // hack for JSHint to hush about unused var 30460 h = null; 30461 } 30462 // enable transition 30463 this.enableTransition( args.to ); 30464 // set styles that are transitioning 30465 this.css( args.to ); 30466 30467 this.isTransitioning = true; 30468 30469 }; 30470 30471 // dash before all cap letters, including first for 30472 // WebkitTransform => -webkit-transform 30473 function toDashedAll( str ) { 30474 return str.replace( /([A-Z])/g, function( $1 ) { 30475 return '-' + $1.toLowerCase(); 30476 }); 30477 } 30478 30479 var transitionProps = 'opacity,' + toDashedAll( transformProperty ); 30480 30481 proto.enableTransition = function(/* style */) { 30482 // HACK changing transitionProperty during a transition 30483 // will cause transition to jump 30484 if ( this.isTransitioning ) { 30485 return; 30486 } 30487 30488 // make `transition: foo, bar, baz` from style object 30489 // HACK un-comment this when enableTransition can work 30490 // while a transition is happening 30491 // var transitionValues = []; 30492 // for ( var prop in style ) { 30493 // // dash-ify camelCased properties like WebkitTransition 30494 // prop = vendorProperties[ prop ] || prop; 30495 // transitionValues.push( toDashedAll( prop ) ); 30496 // } 30497 // munge number to millisecond, to match stagger 30498 var duration = this.layout.options.transitionDuration; 30499 duration = typeof duration == 'number' ? duration + 'ms' : duration; 30500 // enable transition styles 30501 this.css({ 30502 transitionProperty: transitionProps, 30503 transitionDuration: duration, 30504 transitionDelay: this.staggerDelay || 0 30505 }); 30506 // listen for transition end event 30507 this.element.addEventListener( transitionEndEvent, this, false ); 30508 }; 30509 30510 // ----- events ----- // 30511 30512 proto.onwebkitTransitionEnd = function( event ) { 30513 this.ontransitionend( event ); 30514 }; 30515 30516 proto.onotransitionend = function( event ) { 30517 this.ontransitionend( event ); 30518 }; 30519 30520 // properties that I munge to make my life easier 30521 var dashedVendorProperties = { 30522 '-webkit-transform': 'transform' 30523 }; 30524 30525 proto.ontransitionend = function( event ) { 30526 // disregard bubbled events from children 30527 if ( event.target !== this.element ) { 30528 return; 30529 } 30530 var _transition = this._transn; 30531 // get property name of transitioned property, convert to prefix-free 30532 var propertyName = dashedVendorProperties[ event.propertyName ] || event.propertyName; 30533 30534 // remove property that has completed transitioning 30535 delete _transition.ingProperties[ propertyName ]; 30536 // check if any properties are still transitioning 30537 if ( isEmptyObj( _transition.ingProperties ) ) { 30538 // all properties have completed transitioning 30539 this.disableTransition(); 30540 } 30541 // clean style 30542 if ( propertyName in _transition.clean ) { 30543 // clean up style 30544 this.element.style[ event.propertyName ] = ''; 30545 delete _transition.clean[ propertyName ]; 30546 } 30547 // trigger onTransitionEnd callback 30548 if ( propertyName in _transition.onEnd ) { 30549 var onTransitionEnd = _transition.onEnd[ propertyName ]; 30550 onTransitionEnd.call( this ); 30551 delete _transition.onEnd[ propertyName ]; 30552 } 30553 30554 this.emitEvent( 'transitionEnd', [ this ] ); 30555 }; 30556 30557 proto.disableTransition = function() { 30558 this.removeTransitionStyles(); 30559 this.element.removeEventListener( transitionEndEvent, this, false ); 30560 this.isTransitioning = false; 30561 }; 30562 30563 /** 30564 * removes style property from element 30565 * @param {Object} style 30566 **/ 30567 proto._removeStyles = function( style ) { 30568 // clean up transition styles 30569 var cleanStyle = {}; 30570 for ( var prop in style ) { 30571 cleanStyle[ prop ] = ''; 30572 } 30573 this.css( cleanStyle ); 30574 }; 30575 30576 var cleanTransitionStyle = { 30577 transitionProperty: '', 30578 transitionDuration: '', 30579 transitionDelay: '' 30580 }; 30581 30582 proto.removeTransitionStyles = function() { 30583 // remove transition 30584 this.css( cleanTransitionStyle ); 30585 }; 30586 30587 // ----- stagger ----- // 30588 30589 proto.stagger = function( delay ) { 30590 delay = isNaN( delay ) ? 0 : delay; 30591 this.staggerDelay = delay + 'ms'; 30592 }; 30593 30594 // ----- show/hide/remove ----- // 30595 30596 // remove element from DOM 30597 proto.removeElem = function() { 30598 this.element.parentNode.removeChild( this.element ); 30599 // remove display: none 30600 this.css({ display: '' }); 30601 this.emitEvent( 'remove', [ this ] ); 30602 }; 30603 30604 proto.remove = function() { 30605 // just remove element if no transition support or no transition 30606 if ( !transitionProperty || !parseFloat( this.layout.options.transitionDuration ) ) { 30607 this.removeElem(); 30608 return; 30609 } 30610 30611 // start transition 30612 this.once( 'transitionEnd', function() { 30613 this.removeElem(); 30614 }); 30615 this.hide(); 30616 }; 30617 30618 proto.reveal = function() { 30619 delete this.isHidden; 30620 // remove display: none 30621 this.css({ display: '' }); 30622 30623 var options = this.layout.options; 30624 30625 var onTransitionEnd = {}; 30626 var transitionEndProperty = this.getHideRevealTransitionEndProperty('visibleStyle'); 30627 onTransitionEnd[ transitionEndProperty ] = this.onRevealTransitionEnd; 30628 30629 this.transition({ 30630 from: options.hiddenStyle, 30631 to: options.visibleStyle, 30632 isCleaning: true, 30633 onTransitionEnd: onTransitionEnd 30634 }); 30635 }; 30636 30637 proto.onRevealTransitionEnd = function() { 30638 // check if still visible 30639 // during transition, item may have been hidden 30640 if ( !this.isHidden ) { 30641 this.emitEvent('reveal'); 30642 } 30643 }; 30644 30645 /** 30646 * get style property use for hide/reveal transition end 30647 * @param {String} styleProperty - hiddenStyle/visibleStyle 30648 * @returns {String} 30649 */ 30650 proto.getHideRevealTransitionEndProperty = function( styleProperty ) { 30651 var optionStyle = this.layout.options[ styleProperty ]; 30652 // use opacity 30653 if ( optionStyle.opacity ) { 30654 return 'opacity'; 30655 } 30656 // get first property 30657 for ( var prop in optionStyle ) { 30658 return prop; 30659 } 30660 }; 30661 30662 proto.hide = function() { 30663 // set flag 30664 this.isHidden = true; 30665 // remove display: none 30666 this.css({ display: '' }); 30667 30668 var options = this.layout.options; 30669 30670 var onTransitionEnd = {}; 30671 var transitionEndProperty = this.getHideRevealTransitionEndProperty('hiddenStyle'); 30672 onTransitionEnd[ transitionEndProperty ] = this.onHideTransitionEnd; 30673 30674 this.transition({ 30675 from: options.visibleStyle, 30676 to: options.hiddenStyle, 30677 // keep hidden stuff hidden 30678 isCleaning: true, 30679 onTransitionEnd: onTransitionEnd 30680 }); 30681 }; 30682 30683 proto.onHideTransitionEnd = function() { 30684 // check if still hidden 30685 // during transition, item may have been un-hidden 30686 if ( this.isHidden ) { 30687 this.css({ display: 'none' }); 30688 this.emitEvent('hide'); 30689 } 30690 }; 30691 30692 proto.destroy = function() { 30693 this.css({ 30694 position: '', 30695 left: '', 30696 right: '', 30697 top: '', 30698 bottom: '', 30699 transition: '', 30700 transform: '' 30701 }); 30702 }; 30703 30704 return Item; 30705 30706 })); 30707 30708 30709/***/ }), 30710/* 385 */ 30711/***/ (function(module, exports, __webpack_require__) { 30712 30713 var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_RESULT__;/** 30714 * matchesSelector v2.0.2 30715 * matchesSelector( element, '.selector' ) 30716 * MIT license 30717 */ 30718 30719 /*jshint browser: true, strict: true, undef: true, unused: true */ 30720 30721 ( function( window, factory ) { 30722 /*global define: false, module: false */ 30723 'use strict'; 30724 // universal module definition 30725 if ( true ) { 30726 // AMD 30727 !(__WEBPACK_AMD_DEFINE_FACTORY__ = (factory), __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ? (__WEBPACK_AMD_DEFINE_FACTORY__.call(exports, __webpack_require__, exports, module)) : __WEBPACK_AMD_DEFINE_FACTORY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)); 30728 } else if ( typeof module == 'object' && module.exports ) { 30729 // CommonJS 30730 module.exports = factory(); 30731 } else { 30732 // browser global 30733 window.matchesSelector = factory(); 30734 } 30735 30736 }( window, function factory() { 30737 'use strict'; 30738 30739 var matchesMethod = ( function() { 30740 var ElemProto = window.Element.prototype; 30741 // check for the standard method name first 30742 if ( ElemProto.matches ) { 30743 return 'matches'; 30744 } 30745 // check un-prefixed 30746 if ( ElemProto.matchesSelector ) { 30747 return 'matchesSelector'; 30748 } 30749 // check vendor prefixes 30750 var prefixes = [ 'webkit', 'moz', 'ms', 'o' ]; 30751 30752 for ( var i=0; i < prefixes.length; i++ ) { 30753 var prefix = prefixes[i]; 30754 var method = prefix + 'MatchesSelector'; 30755 if ( ElemProto[ method ] ) { 30756 return method; 30757 } 30758 } 30759 })(); 30760 30761 return function matchesSelector( elem, selector ) { 30762 return elem[ matchesMethod ]( selector ); 30763 }; 30764 30765 })); 30766 30767 30768/***/ }), 30769/* 386 */ 30770/***/ (function(module, exports, __webpack_require__) { 30771 30772 var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/** 30773 * Fizzy UI utils v2.0.7 30774 * MIT license 30775 */ 30776 30777 /*jshint browser: true, undef: true, unused: true, strict: true */ 30778 30779 ( function( window, factory ) { 30780 // universal module definition 30781 /*jshint strict: false */ /*globals define, module, require */ 30782 30783 if ( true ) { 30784 // AMD 30785 !(__WEBPACK_AMD_DEFINE_ARRAY__ = [ 30786 __webpack_require__(385) 30787 ], __WEBPACK_AMD_DEFINE_RESULT__ = function( matchesSelector ) { 30788 return factory( window, matchesSelector ); 30789 }.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)); 30790 } else if ( typeof module == 'object' && module.exports ) { 30791 // CommonJS 30792 module.exports = factory( 30793 window, 30794 require('desandro-matches-selector') 30795 ); 30796 } else { 30797 // browser global 30798 window.fizzyUIUtils = factory( 30799 window, 30800 window.matchesSelector 30801 ); 30802 } 30803 30804 }( window, function factory( window, matchesSelector ) { 30805 30806 'use strict'; 30807 30808 var utils = {}; 30809 30810 // ----- extend ----- // 30811 30812 // extends objects 30813 utils.extend = function( a, b ) { 30814 for ( var prop in b ) { 30815 a[ prop ] = b[ prop ]; 30816 } 30817 return a; 30818 }; 30819 30820 // ----- modulo ----- // 30821 30822 utils.modulo = function( num, div ) { 30823 return ( ( num % div ) + div ) % div; 30824 }; 30825 30826 // ----- makeArray ----- // 30827 30828 var arraySlice = Array.prototype.slice; 30829 30830 // turn element or nodeList into an array 30831 utils.makeArray = function( obj ) { 30832 if ( Array.isArray( obj ) ) { 30833 // use object if already an array 30834 return obj; 30835 } 30836 // return empty array if undefined or null. #6 30837 if ( obj === null || obj === undefined ) { 30838 return []; 30839 } 30840 30841 var isArrayLike = typeof obj == 'object' && typeof obj.length == 'number'; 30842 if ( isArrayLike ) { 30843 // convert nodeList to array 30844 return arraySlice.call( obj ); 30845 } 30846 30847 // array of single index 30848 return [ obj ]; 30849 }; 30850 30851 // ----- removeFrom ----- // 30852 30853 utils.removeFrom = function( ary, obj ) { 30854 var index = ary.indexOf( obj ); 30855 if ( index != -1 ) { 30856 ary.splice( index, 1 ); 30857 } 30858 }; 30859 30860 // ----- getParent ----- // 30861 30862 utils.getParent = function( elem, selector ) { 30863 while ( elem.parentNode && elem != document.body ) { 30864 elem = elem.parentNode; 30865 if ( matchesSelector( elem, selector ) ) { 30866 return elem; 30867 } 30868 } 30869 }; 30870 30871 // ----- getQueryElement ----- // 30872 30873 // use element as selector string 30874 utils.getQueryElement = function( elem ) { 30875 if ( typeof elem == 'string' ) { 30876 return document.querySelector( elem ); 30877 } 30878 return elem; 30879 }; 30880 30881 // ----- handleEvent ----- // 30882 30883 // enable .ontype to trigger from .addEventListener( elem, 'type' ) 30884 utils.handleEvent = function( event ) { 30885 var method = 'on' + event.type; 30886 if ( this[ method ] ) { 30887 this[ method ]( event ); 30888 } 30889 }; 30890 30891 // ----- filterFindElements ----- // 30892 30893 utils.filterFindElements = function( elems, selector ) { 30894 // make array of elems 30895 elems = utils.makeArray( elems ); 30896 var ffElems = []; 30897 30898 elems.forEach( function( elem ) { 30899 // check that elem is an actual element 30900 if ( !( elem instanceof HTMLElement ) ) { 30901 return; 30902 } 30903 // add elem if no selector 30904 if ( !selector ) { 30905 ffElems.push( elem ); 30906 return; 30907 } 30908 // filter & find items if we have a selector 30909 // filter 30910 if ( matchesSelector( elem, selector ) ) { 30911 ffElems.push( elem ); 30912 } 30913 // find children 30914 var childElems = elem.querySelectorAll( selector ); 30915 // concat childElems to filterFound array 30916 for ( var i=0; i < childElems.length; i++ ) { 30917 ffElems.push( childElems[i] ); 30918 } 30919 }); 30920 30921 return ffElems; 30922 }; 30923 30924 // ----- debounceMethod ----- // 30925 30926 utils.debounceMethod = function( _class, methodName, threshold ) { 30927 threshold = threshold || 100; 30928 // original method 30929 var method = _class.prototype[ methodName ]; 30930 var timeoutName = methodName + 'Timeout'; 30931 30932 _class.prototype[ methodName ] = function() { 30933 var timeout = this[ timeoutName ]; 30934 clearTimeout( timeout ); 30935 30936 var args = arguments; 30937 var _this = this; 30938 this[ timeoutName ] = setTimeout( function() { 30939 method.apply( _this, args ); 30940 delete _this[ timeoutName ]; 30941 }, threshold ); 30942 }; 30943 }; 30944 30945 // ----- docReady ----- // 30946 30947 utils.docReady = function( callback ) { 30948 var readyState = document.readyState; 30949 if ( readyState == 'complete' || readyState == 'interactive' ) { 30950 // do async to allow for other scripts to run. metafizzy/flickity#441 30951 setTimeout( callback ); 30952 } else { 30953 document.addEventListener( 'DOMContentLoaded', callback ); 30954 } 30955 }; 30956 30957 // ----- htmlInit ----- // 30958 30959 // http://jamesroberts.name/blog/2010/02/22/string-functions-for-javascript-trim-to-camel-case-to-dashed-and-to-underscore/ 30960 utils.toDashed = function( str ) { 30961 return str.replace( /(.)([A-Z])/g, function( match, $1, $2 ) { 30962 return $1 + '-' + $2; 30963 }).toLowerCase(); 30964 }; 30965 30966 var console = window.console; 30967 /** 30968 * allow user to initialize classes via [data-namespace] or .js-namespace class 30969 * htmlInit( Widget, 'widgetName' ) 30970 * options are parsed from data-namespace-options 30971 */ 30972 utils.htmlInit = function( WidgetClass, namespace ) { 30973 utils.docReady( function() { 30974 var dashedNamespace = utils.toDashed( namespace ); 30975 var dataAttr = 'data-' + dashedNamespace; 30976 var dataAttrElems = document.querySelectorAll( '[' + dataAttr + ']' ); 30977 var jsDashElems = document.querySelectorAll( '.js-' + dashedNamespace ); 30978 var elems = utils.makeArray( dataAttrElems ) 30979 .concat( utils.makeArray( jsDashElems ) ); 30980 var dataOptionsAttr = dataAttr + '-options'; 30981 var jQuery = window.jQuery; 30982 30983 elems.forEach( function( elem ) { 30984 var attr = elem.getAttribute( dataAttr ) || 30985 elem.getAttribute( dataOptionsAttr ); 30986 var options; 30987 try { 30988 options = attr && JSON.parse( attr ); 30989 } catch ( error ) { 30990 // log error, do not initialize 30991 if ( console ) { 30992 console.error( 'Error parsing ' + dataAttr + ' on ' + elem.className + 30993 ': ' + error ); 30994 } 30995 return; 30996 } 30997 // initialize 30998 var instance = new WidgetClass( elem, options ); 30999 // make available via $().data('namespace') 31000 if ( jQuery ) { 31001 jQuery.data( elem, namespace, instance ); 31002 } 31003 }); 31004 31005 }); 31006 }; 31007 31008 // ----- ----- // 31009 31010 return utils; 31011 31012 })); 31013 31014 31015/***/ }), 31016/* 387 */ 31017/***/ (function(module, exports, __webpack_require__) { 31018 31019 var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*! 31020 * Outlayer v2.1.1 31021 * the brains and guts of a layout library 31022 * MIT license 31023 */ 31024 31025 ( function( window, factory ) { 31026 'use strict'; 31027 // universal module definition 31028 /* jshint strict: false */ /* globals define, module, require */ 31029 if ( true ) { 31030 // AMD - RequireJS 31031 !(__WEBPACK_AMD_DEFINE_ARRAY__ = [ 31032 __webpack_require__(26), 31033 __webpack_require__(14), 31034 __webpack_require__(386), 31035 __webpack_require__(384) 31036 ], __WEBPACK_AMD_DEFINE_RESULT__ = function( EvEmitter, getSize, utils, Item ) { 31037 return factory( window, EvEmitter, getSize, utils, Item); 31038 }.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)); 31039 } else if ( typeof module == 'object' && module.exports ) { 31040 // CommonJS - Browserify, Webpack 31041 module.exports = factory( 31042 window, 31043 require('ev-emitter'), 31044 require('get-size'), 31045 require('fizzy-ui-utils'), 31046 require('./item') 31047 ); 31048 } else { 31049 // browser global 31050 window.Outlayer = factory( 31051 window, 31052 window.EvEmitter, 31053 window.getSize, 31054 window.fizzyUIUtils, 31055 window.Outlayer.Item 31056 ); 31057 } 31058 31059 }( window, function factory( window, EvEmitter, getSize, utils, Item ) { 31060 'use strict'; 31061 31062 // ----- vars ----- // 31063 31064 var console = window.console; 31065 var jQuery = window.jQuery; 31066 var noop = function() {}; 31067 31068 // -------------------------- Outlayer -------------------------- // 31069 31070 // globally unique identifiers 31071 var GUID = 0; 31072 // internal store of all Outlayer intances 31073 var instances = {}; 31074 31075 31076 /** 31077 * @param {Element, String} element 31078 * @param {Object} options 31079 * @constructor 31080 */ 31081 function Outlayer( element, options ) { 31082 var queryElement = utils.getQueryElement( element ); 31083 if ( !queryElement ) { 31084 if ( console ) { 31085 console.error( 'Bad element for ' + this.constructor.namespace + 31086 ': ' + ( queryElement || element ) ); 31087 } 31088 return; 31089 } 31090 this.element = queryElement; 31091 // add jQuery 31092 if ( jQuery ) { 31093 this.$element = jQuery( this.element ); 31094 } 31095 31096 // options 31097 this.options = utils.extend( {}, this.constructor.defaults ); 31098 this.option( options ); 31099 31100 // add id for Outlayer.getFromElement 31101 var id = ++GUID; 31102 this.element.outlayerGUID = id; // expando 31103 instances[ id ] = this; // associate via id 31104 31105 // kick it off 31106 this._create(); 31107 31108 var isInitLayout = this._getOption('initLayout'); 31109 if ( isInitLayout ) { 31110 this.layout(); 31111 } 31112 } 31113 31114 // settings are for internal use only 31115 Outlayer.namespace = 'outlayer'; 31116 Outlayer.Item = Item; 31117 31118 // default options 31119 Outlayer.defaults = { 31120 containerStyle: { 31121 position: 'relative' 31122 }, 31123 initLayout: true, 31124 originLeft: true, 31125 originTop: true, 31126 resize: true, 31127 resizeContainer: true, 31128 // item options 31129 transitionDuration: '0.4s', 31130 hiddenStyle: { 31131 opacity: 0, 31132 transform: 'scale(0.001)' 31133 }, 31134 visibleStyle: { 31135 opacity: 1, 31136 transform: 'scale(1)' 31137 } 31138 }; 31139 31140 var proto = Outlayer.prototype; 31141 // inherit EvEmitter 31142 utils.extend( proto, EvEmitter.prototype ); 31143 31144 /** 31145 * set options 31146 * @param {Object} opts 31147 */ 31148 proto.option = function( opts ) { 31149 utils.extend( this.options, opts ); 31150 }; 31151 31152 /** 31153 * get backwards compatible option value, check old name 31154 */ 31155 proto._getOption = function( option ) { 31156 var oldOption = this.constructor.compatOptions[ option ]; 31157 return oldOption && this.options[ oldOption ] !== undefined ? 31158 this.options[ oldOption ] : this.options[ option ]; 31159 }; 31160 31161 Outlayer.compatOptions = { 31162 // currentName: oldName 31163 initLayout: 'isInitLayout', 31164 horizontal: 'isHorizontal', 31165 layoutInstant: 'isLayoutInstant', 31166 originLeft: 'isOriginLeft', 31167 originTop: 'isOriginTop', 31168 resize: 'isResizeBound', 31169 resizeContainer: 'isResizingContainer' 31170 }; 31171 31172 proto._create = function() { 31173 // get items from children 31174 this.reloadItems(); 31175 // elements that affect layout, but are not laid out 31176 this.stamps = []; 31177 this.stamp( this.options.stamp ); 31178 // set container style 31179 utils.extend( this.element.style, this.options.containerStyle ); 31180 31181 // bind resize method 31182 var canBindResize = this._getOption('resize'); 31183 if ( canBindResize ) { 31184 this.bindResize(); 31185 } 31186 }; 31187
vendor: 22,250 bytes, lines 31188-32160
31188 // goes through all children again and gets bricks in proper order 31189 proto.reloadItems = function() { 31190 // collection of item elements 31191 this.items = this._itemize( this.element.children ); 31192 }; 31193 31194 31195 /** 31196 * turn elements into Outlayer.Items to be used in layout 31197 * @param {Array or NodeList or HTMLElement} elems 31198 * @returns {Array} items - collection of new Outlayer Items 31199 */ 31200 proto._itemize = function( elems ) { 31201 31202 var itemElems = this._filterFindItemElements( elems ); 31203 var Item = this.constructor.Item; 31204 31205 // create new Outlayer Items for collection 31206 var items = []; 31207 for ( var i=0; i < itemElems.length; i++ ) { 31208 var elem = itemElems[i]; 31209 var item = new Item( elem, this ); 31210 items.push( item ); 31211 } 31212 31213 return items; 31214 }; 31215 31216 /** 31217 * get item elements to be used in layout 31218 * @param {Array or NodeList or HTMLElement} elems 31219 * @returns {Array} items - item elements 31220 */ 31221 proto._filterFindItemElements = function( elems ) { 31222 return utils.filterFindElements( elems, this.options.itemSelector ); 31223 }; 31224 31225 /** 31226 * getter method for getting item elements 31227 * @returns {Array} elems - collection of item elements 31228 */ 31229 proto.getItemElements = function() { 31230 return this.items.map( function( item ) { 31231 return item.element; 31232 }); 31233 }; 31234 31235 // ----- init & layout ----- // 31236 31237 /** 31238 * lays out all items 31239 */ 31240 proto.layout = function() { 31241 this._resetLayout(); 31242 this._manageStamps(); 31243 31244 // don't animate first layout 31245 var layoutInstant = this._getOption('layoutInstant'); 31246 var isInstant = layoutInstant !== undefined ? 31247 layoutInstant : !this._isLayoutInited; 31248 this.layoutItems( this.items, isInstant ); 31249 31250 // flag for initalized 31251 this._isLayoutInited = true; 31252 }; 31253 31254 // _init is alias for layout 31255 proto._init = proto.layout; 31256 31257 /** 31258 * logic before any new layout 31259 */ 31260 proto._resetLayout = function() { 31261 this.getSize(); 31262 }; 31263 31264 31265 proto.getSize = function() { 31266 this.size = getSize( this.element ); 31267 }; 31268 31269 /** 31270 * get measurement from option, for columnWidth, rowHeight, gutter 31271 * if option is String -> get element from selector string, & get size of element 31272 * if option is Element -> get size of element 31273 * else use option as a number 31274 * 31275 * @param {String} measurement 31276 * @param {String} size - width or height 31277 * @private 31278 */ 31279 proto._getMeasurement = function( measurement, size ) { 31280 var option = this.options[ measurement ]; 31281 var elem; 31282 if ( !option ) { 31283 // default to 0 31284 this[ measurement ] = 0; 31285 } else { 31286 // use option as an element 31287 if ( typeof option == 'string' ) { 31288 elem = this.element.querySelector( option ); 31289 } else if ( option instanceof HTMLElement ) { 31290 elem = option; 31291 } 31292 // use size of element, if element 31293 this[ measurement ] = elem ? getSize( elem )[ size ] : option; 31294 } 31295 }; 31296 31297 /** 31298 * layout a collection of item elements 31299 * @api public 31300 */ 31301 proto.layoutItems = function( items, isInstant ) { 31302 items = this._getItemsForLayout( items ); 31303 31304 this._layoutItems( items, isInstant ); 31305 31306 this._postLayout(); 31307 }; 31308 31309 /** 31310 * get the items to be laid out 31311 * you may want to skip over some items 31312 * @param {Array} items 31313 * @returns {Array} items 31314 */ 31315 proto._getItemsForLayout = function( items ) { 31316 return items.filter( function( item ) { 31317 return !item.isIgnored; 31318 }); 31319 }; 31320 31321 /** 31322 * layout items 31323 * @param {Array} items 31324 * @param {Boolean} isInstant 31325 */ 31326 proto._layoutItems = function( items, isInstant ) { 31327 this._emitCompleteOnItems( 'layout', items ); 31328 31329 if ( !items || !items.length ) { 31330 // no items, emit event with empty array 31331 return; 31332 } 31333 31334 var queue = []; 31335 31336 items.forEach( function( item ) { 31337 // get x/y object from method 31338 var position = this._getItemLayoutPosition( item ); 31339 // enqueue 31340 position.item = item; 31341 position.isInstant = isInstant || item.isLayoutInstant; 31342 queue.push( position ); 31343 }, this ); 31344 31345 this._processLayoutQueue( queue ); 31346 }; 31347 31348 /** 31349 * get item layout position 31350 * @param {Outlayer.Item} item 31351 * @returns {Object} x and y position 31352 */ 31353 proto._getItemLayoutPosition = function( /* item */ ) { 31354 return { 31355 x: 0, 31356 y: 0 31357 }; 31358 }; 31359 31360 /** 31361 * iterate over array and position each item 31362 * Reason being - separating this logic prevents 'layout invalidation' 31363 * thx @paul_irish 31364 * @param {Array} queue 31365 */ 31366 proto._processLayoutQueue = function( queue ) { 31367 this.updateStagger(); 31368 queue.forEach( function( obj, i ) { 31369 this._positionItem( obj.item, obj.x, obj.y, obj.isInstant, i ); 31370 }, this ); 31371 }; 31372 31373 // set stagger from option in milliseconds number 31374 proto.updateStagger = function() { 31375 var stagger = this.options.stagger; 31376 if ( stagger === null || stagger === undefined ) { 31377 this.stagger = 0; 31378 return; 31379 } 31380 this.stagger = getMilliseconds( stagger ); 31381 return this.stagger; 31382 }; 31383 31384 /** 31385 * Sets position of item in DOM 31386 * @param {Outlayer.Item} item 31387 * @param {Number} x - horizontal position 31388 * @param {Number} y - vertical position 31389 * @param {Boolean} isInstant - disables transitions 31390 */ 31391 proto._positionItem = function( item, x, y, isInstant, i ) { 31392 if ( isInstant ) { 31393 // if not transition, just set CSS 31394 item.goTo( x, y ); 31395 } else { 31396 item.stagger( i * this.stagger ); 31397 item.moveTo( x, y ); 31398 } 31399 }; 31400 31401 /** 31402 * Any logic you want to do after each layout, 31403 * i.e. size the container 31404 */ 31405 proto._postLayout = function() { 31406 this.resizeContainer(); 31407 }; 31408 31409 proto.resizeContainer = function() { 31410 var isResizingContainer = this._getOption('resizeContainer'); 31411 if ( !isResizingContainer ) { 31412 return; 31413 } 31414 var size = this._getContainerSize(); 31415 if ( size ) { 31416 this._setContainerMeasure( size.width, true ); 31417 this._setContainerMeasure( size.height, false ); 31418 } 31419 }; 31420 31421 /** 31422 * Sets width or height of container if returned 31423 * @returns {Object} size 31424 * @param {Number} width 31425 * @param {Number} height 31426 */ 31427 proto._getContainerSize = noop; 31428 31429 /** 31430 * @param {Number} measure - size of width or height 31431 * @param {Boolean} isWidth 31432 */ 31433 proto._setContainerMeasure = function( measure, isWidth ) { 31434 if ( measure === undefined ) { 31435 return; 31436 } 31437 31438 var elemSize = this.size; 31439 // add padding and border width if border box 31440 if ( elemSize.isBorderBox ) { 31441 measure += isWidth ? elemSize.paddingLeft + elemSize.paddingRight + 31442 elemSize.borderLeftWidth + elemSize.borderRightWidth : 31443 elemSize.paddingBottom + elemSize.paddingTop + 31444 elemSize.borderTopWidth + elemSize.borderBottomWidth; 31445 } 31446 31447 measure = Math.max( measure, 0 ); 31448 this.element.style[ isWidth ? 'width' : 'height' ] = measure + 'px'; 31449 }; 31450 31451 /** 31452 * emit eventComplete on a collection of items events 31453 * @param {String} eventName 31454 * @param {Array} items - Outlayer.Items 31455 */ 31456 proto._emitCompleteOnItems = function( eventName, items ) { 31457 var _this = this; 31458 function onComplete() { 31459 _this.dispatchEvent( eventName + 'Complete', null, [ items ] ); 31460 } 31461 31462 var count = items.length; 31463 if ( !items || !count ) { 31464 onComplete(); 31465 return; 31466 } 31467 31468 var doneCount = 0; 31469 function tick() { 31470 doneCount++; 31471 if ( doneCount == count ) { 31472 onComplete(); 31473 } 31474 } 31475 31476 // bind callback 31477 items.forEach( function( item ) { 31478 item.once( eventName, tick ); 31479 }); 31480 }; 31481 31482 /** 31483 * emits events via EvEmitter and jQuery events 31484 * @param {String} type - name of event 31485 * @param {Event} event - original event 31486 * @param {Array} args - extra arguments 31487 */ 31488 proto.dispatchEvent = function( type, event, args ) { 31489 // add original event to arguments 31490 var emitArgs = event ? [ event ].concat( args ) : args; 31491 this.emitEvent( type, emitArgs ); 31492 31493 if ( jQuery ) { 31494 // set this.$element 31495 this.$element = this.$element || jQuery( this.element ); 31496 if ( event ) { 31497 // create jQuery event 31498 var $event = jQuery.Event( event ); 31499 $event.type = type; 31500 this.$element.trigger( $event, args ); 31501 } else { 31502 // just trigger with type if no event available 31503 this.$element.trigger( type, args ); 31504 } 31505 } 31506 }; 31507 31508 // -------------------------- ignore & stamps -------------------------- // 31509 31510 31511 /** 31512 * keep item in collection, but do not lay it out 31513 * ignored items do not get skipped in layout 31514 * @param {Element} elem 31515 */ 31516 proto.ignore = function( elem ) { 31517 var item = this.getItem( elem ); 31518 if ( item ) { 31519 item.isIgnored = true; 31520 } 31521 }; 31522 31523 /** 31524 * return item to layout collection 31525 * @param {Element} elem 31526 */ 31527 proto.unignore = function( elem ) { 31528 var item = this.getItem( elem ); 31529 if ( item ) { 31530 delete item.isIgnored; 31531 } 31532 }; 31533 31534 /** 31535 * adds elements to stamps 31536 * @param {NodeList, Array, Element, or String} elems 31537 */ 31538 proto.stamp = function( elems ) { 31539 elems = this._find( elems ); 31540 if ( !elems ) { 31541 return; 31542 } 31543 31544 this.stamps = this.stamps.concat( elems ); 31545 // ignore 31546 elems.forEach( this.ignore, this ); 31547 }; 31548 31549 /** 31550 * removes elements to stamps 31551 * @param {NodeList, Array, or Element} elems 31552 */ 31553 proto.unstamp = function( elems ) { 31554 elems = this._find( elems ); 31555 if ( !elems ){ 31556 return; 31557 } 31558 31559 elems.forEach( function( elem ) { 31560 // filter out removed stamp elements 31561 utils.removeFrom( this.stamps, elem ); 31562 this.unignore( elem ); 31563 }, this ); 31564 }; 31565 31566 /** 31567 * finds child elements 31568 * @param {NodeList, Array, Element, or String} elems 31569 * @returns {Array} elems 31570 */ 31571 proto._find = function( elems ) { 31572 if ( !elems ) { 31573 return; 31574 } 31575 // if string, use argument as selector string 31576 if ( typeof elems == 'string' ) { 31577 elems = this.element.querySelectorAll( elems ); 31578 } 31579 elems = utils.makeArray( elems ); 31580 return elems; 31581 }; 31582 31583 proto._manageStamps = function() { 31584 if ( !this.stamps || !this.stamps.length ) { 31585 return; 31586 } 31587 31588 this._getBoundingRect(); 31589 31590 this.stamps.forEach( this._manageStamp, this ); 31591 }; 31592 31593 // update boundingLeft / Top 31594 proto._getBoundingRect = function() { 31595 // get bounding rect for container element 31596 var boundingRect = this.element.getBoundingClientRect(); 31597 var size = this.size; 31598 this._boundingRect = { 31599 left: boundingRect.left + size.paddingLeft + size.borderLeftWidth, 31600 top: boundingRect.top + size.paddingTop + size.borderTopWidth, 31601 right: boundingRect.right - ( size.paddingRight + size.borderRightWidth ), 31602 bottom: boundingRect.bottom - ( size.paddingBottom + size.borderBottomWidth ) 31603 }; 31604 }; 31605 31606 /** 31607 * @param {Element} stamp 31608 **/ 31609 proto._manageStamp = noop; 31610 31611 /** 31612 * get x/y position of element relative to container element 31613 * @param {Element} elem 31614 * @returns {Object} offset - has left, top, right, bottom 31615 */ 31616 proto._getElementOffset = function( elem ) { 31617 var boundingRect = elem.getBoundingClientRect(); 31618 var thisRect = this._boundingRect; 31619 var size = getSize( elem ); 31620 var offset = { 31621 left: boundingRect.left - thisRect.left - size.marginLeft, 31622 top: boundingRect.top - thisRect.top - size.marginTop, 31623 right: thisRect.right - boundingRect.right - size.marginRight, 31624 bottom: thisRect.bottom - boundingRect.bottom - size.marginBottom 31625 }; 31626 return offset; 31627 }; 31628 31629 // -------------------------- resize -------------------------- // 31630 31631 // enable event handlers for listeners 31632 // i.e. resize -> onresize 31633 proto.handleEvent = utils.handleEvent; 31634 31635 /** 31636 * Bind layout to window resizing 31637 */ 31638 proto.bindResize = function() { 31639 window.addEventListener( 'resize', this ); 31640 this.isResizeBound = true; 31641 }; 31642 31643 /** 31644 * Unbind layout to window resizing 31645 */ 31646 proto.unbindResize = function() { 31647 window.removeEventListener( 'resize', this ); 31648 this.isResizeBound = false; 31649 }; 31650 31651 proto.onresize = function() { 31652 this.resize(); 31653 }; 31654 31655 utils.debounceMethod( Outlayer, 'onresize', 100 ); 31656 31657 proto.resize = function() { 31658 // don't trigger if size did not change 31659 // or if resize was unbound. See #9 31660 if ( !this.isResizeBound || !this.needsResizeLayout() ) { 31661 return; 31662 } 31663 31664 this.layout(); 31665 }; 31666 31667 /** 31668 * check if layout is needed post layout 31669 * @returns Boolean 31670 */ 31671 proto.needsResizeLayout = function() { 31672 var size = getSize( this.element ); 31673 // check that this.size and size are there 31674 // IE8 triggers resize on body size change, so they might not be 31675 var hasSizes = this.size && size; 31676 return hasSizes && size.innerWidth !== this.size.innerWidth; 31677 }; 31678 31679 // -------------------------- methods -------------------------- // 31680 31681 /** 31682 * add items to Outlayer instance 31683 * @param {Array or NodeList or Element} elems 31684 * @returns {Array} items - Outlayer.Items 31685 **/ 31686 proto.addItems = function( elems ) { 31687 var items = this._itemize( elems ); 31688 // add items to collection 31689 if ( items.length ) { 31690 this.items = this.items.concat( items ); 31691 } 31692 return items; 31693 }; 31694 31695 /** 31696 * Layout newly-appended item elements 31697 * @param {Array or NodeList or Element} elems 31698 */ 31699 proto.appended = function( elems ) { 31700 var items = this.addItems( elems ); 31701 if ( !items.length ) { 31702 return; 31703 } 31704 // layout and reveal just the new items 31705 this.layoutItems( items, true ); 31706 this.reveal( items ); 31707 }; 31708 31709 /** 31710 * Layout prepended elements 31711 * @param {Array or NodeList or Element} elems 31712 */ 31713 proto.prepended = function( elems ) { 31714 var items = this._itemize( elems ); 31715 if ( !items.length ) { 31716 return; 31717 } 31718 // add items to beginning of collection 31719 var previousItems = this.items.slice(0); 31720 this.items = items.concat( previousItems ); 31721 // start new layout 31722 this._resetLayout(); 31723 this._manageStamps(); 31724 // layout new stuff without transition 31725 this.layoutItems( items, true ); 31726 this.reveal( items ); 31727 // layout previous items 31728 this.layoutItems( previousItems ); 31729 }; 31730 31731 /** 31732 * reveal a collection of items 31733 * @param {Array of Outlayer.Items} items 31734 */ 31735 proto.reveal = function( items ) { 31736 this._emitCompleteOnItems( 'reveal', items ); 31737 if ( !items || !items.length ) { 31738 return; 31739 } 31740 var stagger = this.updateStagger(); 31741 items.forEach( function( item, i ) { 31742 item.stagger( i * stagger ); 31743 item.reveal(); 31744 }); 31745 }; 31746 31747 /** 31748 * hide a collection of items 31749 * @param {Array of Outlayer.Items} items 31750 */ 31751 proto.hide = function( items ) { 31752 this._emitCompleteOnItems( 'hide', items ); 31753 if ( !items || !items.length ) { 31754 return; 31755 } 31756 var stagger = this.updateStagger(); 31757 items.forEach( function( item, i ) { 31758 item.stagger( i * stagger ); 31759 item.hide(); 31760 }); 31761 }; 31762 31763 /** 31764 * reveal item elements 31765 * @param {Array}, {Element}, {NodeList} items 31766 */ 31767 proto.revealItemElements = function( elems ) { 31768 var items = this.getItems( elems ); 31769 this.reveal( items ); 31770 }; 31771 31772 /** 31773 * hide item elements 31774 * @param {Array}, {Element}, {NodeList} items 31775 */ 31776 proto.hideItemElements = function( elems ) { 31777 var items = this.getItems( elems ); 31778 this.hide( items ); 31779 }; 31780 31781 /** 31782 * get Outlayer.Item, given an Element 31783 * @param {Element} elem 31784 * @param {Function} callback 31785 * @returns {Outlayer.Item} item 31786 */ 31787 proto.getItem = function( elem ) { 31788 // loop through items to get the one that matches 31789 for ( var i=0; i < this.items.length; i++ ) { 31790 var item = this.items[i]; 31791 if ( item.element == elem ) { 31792 // return item 31793 return item; 31794 } 31795 } 31796 }; 31797 31798 /** 31799 * get collection of Outlayer.Items, given Elements 31800 * @param {Array} elems 31801 * @returns {Array} items - Outlayer.Items 31802 */ 31803 proto.getItems = function( elems ) { 31804 elems = utils.makeArray( elems ); 31805 var items = []; 31806 elems.forEach( function( elem ) { 31807 var item = this.getItem( elem ); 31808 if ( item ) { 31809 items.push( item ); 31810 } 31811 }, this ); 31812 31813 return items; 31814 }; 31815 31816 /** 31817 * remove element(s) from instance and DOM 31818 * @param {Array or NodeList or Element} elems 31819 */ 31820 proto.remove = function( elems ) { 31821 var removeItems = this.getItems( elems ); 31822 31823 this._emitCompleteOnItems( 'remove', removeItems ); 31824 31825 // bail if no items to remove 31826 if ( !removeItems || !removeItems.length ) { 31827 return; 31828 } 31829 31830 removeItems.forEach( function( item ) { 31831 item.remove(); 31832 // remove item from collection 31833 utils.removeFrom( this.items, item ); 31834 }, this ); 31835 }; 31836 31837 // ----- destroy ----- // 31838 31839 // remove and disable Outlayer instance 31840 proto.destroy = function() { 31841 // clean up dynamic styles 31842 var style = this.element.style; 31843 style.height = ''; 31844 style.position = ''; 31845 style.width = ''; 31846 // destroy items 31847 this.items.forEach( function( item ) { 31848 item.destroy(); 31849 }); 31850 31851 this.unbindResize(); 31852 31853 var id = this.element.outlayerGUID; 31854 delete instances[ id ]; // remove reference to instance by id 31855 delete this.element.outlayerGUID; 31856 // remove data for jQuery 31857 if ( jQuery ) { 31858 jQuery.removeData( this.element, this.constructor.namespace ); 31859 } 31860 31861 }; 31862 31863 // -------------------------- data -------------------------- // 31864 31865 /** 31866 * get Outlayer instance from element 31867 * @param {Element} elem 31868 * @returns {Outlayer} 31869 */ 31870 Outlayer.data = function( elem ) { 31871 elem = utils.getQueryElement( elem ); 31872 var id = elem && elem.outlayerGUID; 31873 return id && instances[ id ]; 31874 }; 31875 31876 31877 // -------------------------- create Outlayer class -------------------------- // 31878 31879 /** 31880 * create a layout class 31881 * @param {String} namespace 31882 */ 31883 Outlayer.create = function( namespace, options ) { 31884 // sub-class Outlayer 31885 var Layout = subclass( Outlayer ); 31886 // apply new options and compatOptions 31887 Layout.defaults = utils.extend( {}, Outlayer.defaults ); 31888 utils.extend( Layout.defaults, options ); 31889 Layout.compatOptions = utils.extend( {}, Outlayer.compatOptions ); 31890 31891 Layout.namespace = namespace; 31892 31893 Layout.data = Outlayer.data; 31894 31895 // sub-class Item 31896 Layout.Item = subclass( Item ); 31897 31898 // -------------------------- declarative -------------------------- // 31899 31900 utils.htmlInit( Layout, namespace ); 31901 31902 // -------------------------- jQuery bridge -------------------------- // 31903 31904 // make into jQuery plugin 31905 if ( jQuery && jQuery.bridget ) { 31906 jQuery.bridget( namespace, Layout ); 31907 } 31908 31909 return Layout; 31910 }; 31911 31912 function subclass( Parent ) { 31913 function SubClass() { 31914 Parent.apply( this, arguments ); 31915 } 31916 31917 SubClass.prototype = Object.create( Parent.prototype ); 31918 SubClass.prototype.constructor = SubClass; 31919 31920 return SubClass; 31921 } 31922 31923 // ----- helpers ----- // 31924 31925 // how many milliseconds are in each unit 31926 var msUnits = { 31927 ms: 1, 31928 s: 1000 31929 }; 31930 31931 // munge time-like parameter into millisecond number 31932 // '0.4s' -> 40 31933 function getMilliseconds( time ) { 31934 if ( typeof time == 'number' ) { 31935 return time; 31936 } 31937 var matches = time.match( /(^\d*\.?\d*)(\w*)/ ); 31938 var num = matches && matches[1]; 31939 var unit = matches && matches[2]; 31940 if ( !num.length ) { 31941 return 0; 31942 } 31943 num = parseFloat( num ); 31944 var mult = msUnits[ unit ] || 1; 31945 return num * mult; 31946 } 31947 31948 // ----- fin ----- // 31949 31950 // back in global 31951 Outlayer.Item = Item; 31952 31953 return Outlayer; 31954 31955 })); 31956 31957 31958/***/ }), 31959/* 388 */ 31960/***/ (function(module, exports, __webpack_require__) { 31961 31962 var map = { 31963 "./af": 27, 31964 "./af.js": 27, 31965 "./ar": 34, 31966 "./ar-dz": 28, 31967 "./ar-dz.js": 28, 31968 "./ar-kw": 29, 31969 "./ar-kw.js": 29, 31970 "./ar-ly": 30, 31971 "./ar-ly.js": 30, 31972 "./ar-ma": 31, 31973 "./ar-ma.js": 31, 31974 "./ar-sa": 32, 31975 "./ar-sa.js": 32, 31976 "./ar-tn": 33, 31977 "./ar-tn.js": 33, 31978 "./ar.js": 34, 31979 "./az": 35, 31980 "./az.js": 35, 31981 "./be": 36, 31982 "./be.js": 36, 31983 "./bg": 37, 31984 "./bg.js": 37, 31985 "./bm": 38, 31986 "./bm.js": 38, 31987 "./bn": 39, 31988 "./bn.js": 39, 31989 "./bo": 40, 31990 "./bo.js": 40, 31991 "./br": 41, 31992 "./br.js": 41, 31993 "./bs": 42, 31994 "./bs.js": 42, 31995 "./ca": 43, 31996 "./ca.js": 43, 31997 "./cs": 44, 31998 "./cs.js": 44, 31999 "./cv": 45, 32000 "./cv.js": 45, 32001 "./cy": 46, 32002 "./cy.js": 46, 32003 "./da": 47, 32004 "./da.js": 47, 32005 "./de": 50, 32006 "./de-at": 48, 32007 "./de-at.js": 48, 32008 "./de-ch": 49, 32009 "./de-ch.js": 49, 32010 "./de.js": 50, 32011 "./dv": 51, 32012 "./dv.js": 51, 32013 "./el": 52, 32014 "./el.js": 52, 32015 "./en-au": 53, 32016 "./en-au.js": 53, 32017 "./en-ca": 54, 32018 "./en-ca.js": 54, 32019 "./en-gb": 55, 32020 "./en-gb.js": 55, 32021 "./en-ie": 56, 32022 "./en-ie.js": 56, 32023 "./en-il": 57, 32024 "./en-il.js": 57, 32025 "./en-in": 58, 32026 "./en-in.js": 58, 32027 "./en-nz": 59, 32028 "./en-nz.js": 59, 32029 "./en-sg": 60, 32030 "./en-sg.js": 60, 32031 "./eo": 61, 32032 "./eo.js": 61, 32033 "./es": 64, 32034 "./es-do": 62, 32035 "./es-do.js": 62, 32036 "./es-us": 63, 32037 "./es-us.js": 63, 32038 "./es.js": 64, 32039 "./et": 65, 32040 "./et.js": 65, 32041 "./eu": 66, 32042 "./eu.js": 66, 32043 "./fa": 67, 32044 "./fa.js": 67, 32045 "./fi": 68, 32046 "./fi.js": 68, 32047 "./fil": 69, 32048 "./fil.js": 69, 32049 "./fo": 70, 32050 "./fo.js": 70, 32051 "./fr": 73, 32052 "./fr-ca": 71, 32053 "./fr-ca.js": 71, 32054 "./fr-ch": 72, 32055 "./fr-ch.js": 72, 32056 "./fr.js": 73, 32057 "./fy": 74, 32058 "./fy.js": 74, 32059 "./ga": 75, 32060 "./ga.js": 75, 32061 "./gd": 76, 32062 "./gd.js": 76, 32063 "./gl": 77, 32064 "./gl.js": 77, 32065 "./gom-deva": 78, 32066 "./gom-deva.js": 78, 32067 "./gom-latn": 79, 32068 "./gom-latn.js": 79, 32069 "./gu": 80, 32070 "./gu.js": 80, 32071 "./he": 81, 32072 "./he.js": 81, 32073 "./hi": 82, 32074 "./hi.js": 82, 32075 "./hr": 83, 32076 "./hr.js": 83, 32077 "./hu": 84, 32078 "./hu.js": 84, 32079 "./hy-am": 85, 32080 "./hy-am.js": 85, 32081 "./id": 86, 32082 "./id.js": 86, 32083 "./is": 87, 32084 "./is.js": 87, 32085 "./it": 89, 32086 "./it-ch": 88, 32087 "./it-ch.js": 88, 32088 "./it.js": 89, 32089 "./ja": 90, 32090 "./ja.js": 90, 32091 "./jv": 91, 32092 "./jv.js": 91, 32093 "./ka": 92, 32094 "./ka.js": 92, 32095 "./kk": 93, 32096 "./kk.js": 93, 32097 "./km": 94, 32098 "./km.js": 94, 32099 "./kn": 95, 32100 "./kn.js": 95, 32101 "./ko": 96, 32102 "./ko.js": 96, 32103 "./ku": 97, 32104 "./ku.js": 97, 32105 "./ky": 98, 32106 "./ky.js": 98, 32107 "./lb": 99, 32108 "./lb.js": 99, 32109 "./lo": 100, 32110 "./lo.js": 100, 32111 "./lt": 101, 32112 "./lt.js": 101, 32113 "./lv": 102, 32114 "./lv.js": 102, 32115 "./me": 103, 32116 "./me.js": 103, 32117 "./mi": 104, 32118 "./mi.js": 104, 32119 "./mk": 105, 32120 "./mk.js": 105, 32121 "./ml": 106, 32122 "./ml.js": 106, 32123 "./mn": 107, 32124 "./mn.js": 107, 32125 "./mr": 108, 32126 "./mr.js": 108, 32127 "./ms": 110, 32128 "./ms-my": 109, 32129 "./ms-my.js": 109, 32130 "./ms.js": 110, 32131 "./mt": 111, 32132 "./mt.js": 111, 32133 "./my": 112, 32134 "./my.js": 112, 32135 "./nb": 113, 32136 "./nb.js": 113, 32137 "./ne": 114, 32138 "./ne.js": 114, 32139 "./nl": 116, 32140 "./nl-be": 115, 32141 "./nl-be.js": 115, 32142 "./nl.js": 116, 32143 "./nn": 117, 32144 "./nn.js": 117, 32145 "./oc-lnc": 118, 32146 "./oc-lnc.js": 118, 32147 "./pa-in": 119, 32148 "./pa-in.js": 119, 32149 "./pl": 120, 32150 "./pl.js": 120, 32151 "./pt": 122, 32152 "./pt-br": 121, 32153 "./pt-br.js": 121, 32154 "./pt.js": 122, 32155 "./ro": 123, 32156 "./ro.js": 123, 32157 "./ru": 124, 32158 "./ru.js": 124, 32159 "./sd": 125, 32160 "./sd.js": 125,
32161 "./se": 126, 32162 "./se.js": 126, 32163 "./si": 127, 32164 "./si.js": 127, 32165 "./sk": 128, 32166 "./sk.js": 128, 32167 "./sl": 129, 32168 "./sl.js": 129, 32169 "./sq": 130, 32170 "./sq.js": 130, 32171 "./sr": 132, 32172 "./sr-cyrl": 131, 32173 "./sr-cyrl.js": 131, 32174 "./sr.js": 132, 32175 "./ss": 133, 32176 "./ss.js": 133, 32177 "./sv": 134, 32178 "./sv.js": 134, 32179 "./sw": 135, 32180 "./sw.js": 135, 32181 "./ta": 136, 32182 "./ta.js": 136, 32183 "./te": 137, 32184 "./te.js": 137, 32185 "./tet": 138, 32186 "./tet.js": 138, 32187 "./tg": 139, 32188 "./tg.js": 139, 32189 "./th": 140, 32190 "./th.js": 140, 32191 "./tl-ph": 141, 32192 "./tl-ph.js": 141, 32193 "./tlh": 142, 32194 "./tlh.js": 142, 32195 "./tr": 143, 32196 "./tr.js": 143, 32197 "./tzl": 144, 32198 "./tzl.js": 144, 32199 "./tzm": 146, 32200 "./tzm-latn": 145, 32201 "./tzm-latn.js": 145, 32202 "./tzm.js": 146, 32203 "./ug-cn": 147, 32204 "./ug-cn.js": 147, 32205 "./uk": 148, 32206 "./uk.js": 148, 32207 "./ur": 149, 32208 "./ur.js": 149, 32209 "./uz": 151, 32210 "./uz-latn": 150, 32211 "./uz-latn.js": 150, 32212 "./uz.js": 151, 32213 "./vi": 152, 32214 "./vi.js": 152, 32215 "./x-pseudo": 153, 32216 "./x-pseudo.js": 153, 32217 "./yo": 154, 32218 "./yo.js": 154, 32219 "./zh-cn": 155, 32220 "./zh-cn.js": 155, 32221 "./zh-hk": 156, 32222 "./zh-hk.js": 156, 32223 "./zh-mo": 157, 32224 "./zh-mo.js": 157, 32225 "./zh-tw": 158, 32226 "./zh-tw.js": 158 32227 }; 32228 function webpackContext(req) { 32229 return __webpack_require__(webpackContextResolve(req)); 32230 }; 32231 function webpackContextResolve(req) { 32232 return map[req] || (function() { throw new Error("Cannot find module '" + req + "'.") }()); 32233 }; 32234 webpackContext.keys = function webpackContextKeys() { 32235 return Object.keys(map); 32236 }; 32237 webpackContext.resolve = webpackContextResolve; 32238 module.exports = webpackContext; 32239 webpackContext.id = 388; 32240 32241 32242/***/ }), 32243/* 389 */ 32244/***/ (function(module, exports, __webpack_require__) { 32245 32246 var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_RESULT__;/* 32247 0BSD 32248 */ 32249 (function(F,y){ true?!(__WEBPACK_AMD_DEFINE_FACTORY__ = (y), __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ? (__WEBPACK_AMD_DEFINE_FACTORY__.call(exports, __webpack_require__, exports, module)) : __WEBPACK_AMD_DEFINE_FACTORY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)):"object"===typeof exports?module.exports=y():F.pickmeup=y()})(this,function(){function F(a,c,b){b=b||[];if(a instanceof Element)c.apply(c,[a].concat(b));else{var d;var e=a.length;for(d=0;d<e;++d)c.apply(c,[a[d]].concat(b))}}function y(a){F(a,function(a){a.parentElement.removeChild(a)})}function J(a,c){do a=a.parentElement;while(a&&!B(a,c));return a}function B(a,c){return(a.matches||a.webkitMatchesSelector||a.msMatchesSelector).call(a, 32250 c)}function k(a,c){return a&&a.classList.contains(c)}function l(a,c){a.classList.add(c)}function q(a,c,b,d){if(-1!==b.indexOf(" ")){b=b.split(" ");var e=b.length,h;for(h=0;h<e;++h)q(a,c,b[h],d)}else a.__pickmeup.events.push([c,b,d]),c.addEventListener(b,d)}function z(a,c,b,d){var e;if(b&&-1!==b.indexOf(" ")){var h=b.split(" ");var l=h.length;for(e=0;e<l;++e)z(a,c,h[e],d)}else for(h=a.__pickmeup.events,l=h.length,e=0;e<l;++e)c&&c!==h[e][0]||b&&b!==h[e][1]||d&&d!==h[e][2]||h[e][0].removeEventListener(h[e][1], 32251 h[e][2])}function M(a){a=a.getBoundingClientRect();return{top:a.top+window.pageYOffset-document.documentElement.clientTop,left:a.left+window.pageXOffset-document.documentElement.clientLeft}}function C(a,c,b){var d=document.createEvent("Event");b&&(d.detail=b);d.initEvent("pickmeup-"+c,!1,!0);return a.dispatchEvent(d)}function K(a){a=new Date(a);for(var c=28,b=a.getMonth();a.getMonth()===b;)++c,a.setDate(c);return c-1}function A(a,c){a.setDate(a.getDate()+c)}function p(a,c){var b=a.getDate();a.setDate(1); 32252 a.setMonth(a.getMonth()+c);a.setDate(Math.min(b,K(a)))}function u(a,c){var b=a.getDate();a.setDate(1);a.setFullYear(a.getFullYear()+c);a.setDate(Math.min(b,K(a)))}function N(a){var c=a.__pickmeup.element,b=a.__pickmeup.options,d=Math.floor(b.calendars/2),e=b.date,h=b.current,m=b.min?new Date(b.min):null,v=b.max?new Date(b.max):null;m&&(m.setDate(1),p(m,1),A(m,-1));v&&(v.setDate(1),p(v,1),A(v,-1));y(Array.prototype.slice.call(c.querySelectorAll(".pmu-instance > :not(nav)")));for(var w=0;w<b.calendars;w++){var f= 32253 new Date(h);x(f);var n=Array.prototype.slice.call(c.querySelectorAll(".pmu-instance"))[w];if(k(c,"pmu-view-years")){u(f,12*(w-d));var G=f.getFullYear()-6+" - "+(f.getFullYear()+5)}else k(c,"pmu-view-months")?(u(f,w-d),G=f.getFullYear()):k(c,"pmu-view-days")&&(p(f,w-d),G="function"===typeof b.title_format?b.title_format(f,b.locales[b.locale]):D(f,b.title_format,b.locales[b.locale]));if(!r&&v){var r=new Date(f);b.select_day?p(r,b.calendars-1):b.select_month?u(r,b.calendars-1):u(r,12*(b.calendars-1)); 32254 if(r>v){--w;p(h,-1);r=void 0;continue}}r=new Date(f);if(!g){var g=new Date(f);g.setDate(1);p(g,1);A(g,-1);if(m&&m>g){--w;p(h,1);g=void 0;continue}}n.querySelector(".pmu-month").innerHTML=G;var q=function(a){return"range"===b.mode&&a>=(new Date(e[0])).getFullYear()&&a<=(new Date(e[1])).getFullYear()||"multiple"===b.mode&&-1!==e.reduce(function(a,b){a.push((new Date(b)).getFullYear());return a},[]).indexOf(a)||(new Date(e)).getFullYear()===a},t=function(a,c){var d=(new Date(e[0])).getFullYear(),f=(new Date(e[1])).getFullYear(), 32255 h=(new Date(e[0])).getMonth(),g=(new Date(e[1])).getMonth();return"range"===b.mode&&(a>d&&a<f||a>d&&a===f&&c<=g||a===d&&a<f&&c>=h||a===d&&a===f&&c>=h&&c<=g)||"multiple"===b.mode&&-1!==e.reduce(function(a,b){b=new Date(b);a.push(b.getFullYear()+"-"+b.getMonth());return a},[]).indexOf(a+"-"+c)||(new Date(e)).getFullYear()===a&&(new Date(e)).getMonth()===c};(function(){var a=[],c=f.getFullYear()-6,d=(new Date(b.min)).getFullYear(),e=(new Date(b.max)).getFullYear(),h;for(h=0;12>h;
32255++h){var g=c+h;var m= 32256 document.createElement("div");m.textContent=g;m.__pickmeup_year=g;b.min&&g<d||b.max&&g>e?l(m,"pmu-disabled"):q(g)&&l(m,"pmu-selected");a.push(m)}n.appendChild(b.instance_content_template(a,"pmu-years"))})();(function(){var a=[],c=f.getFullYear(),d=(new Date(b.min)).getFullYear(),e=(new Date(b.min)).getMonth(),g=(new Date(b.max)).getFullYear(),h=(new Date(b.max)).getMonth(),m;for(m=0;12>m;++m){var k=document.createElement("div");k.textContent=b.locales[b.locale].monthsShort[m];k.__pickmeup_month=m; 32257 k.__pickmeup_year=c;b.min&&(c<d||m<e&&c===d)||b.max&&(c>g||m>h&&c>=g)?l(k,"pmu-disabled"):t(c,m)&&l(k,"pmu-selected");a.push(k)}n.appendChild(b.instance_content_template(a,"pmu-months"))})();(function(){var a=[],c=f.getMonth(),d=x(new Date).valueOf(),e;(function(){f.setDate(1);var a=(f.getDay()-b.first_day)%7;A(f,-(a+(0>a?7:0)))})();for(e=0;42>e;++e){var g=document.createElement("div");g.textContent=f.getDate();g.__pickmeup_day=f.getDate();g.__pickmeup_month=f.getMonth();g.__pickmeup_year=f.getFullYear(); 32258 c!==f.getMonth()&&l(g,"pmu-not-in-month");0===f.getDay()?l(g,"pmu-sunday"):6===f.getDay()&&l(g,"pmu-saturday");var h=b.render(new Date(f))||{};var m=x(new Date(f)).valueOf();var k=b.min&&b.min>f||b.max&&b.max<f;var v=b.date.valueOf()===m||b.date instanceof Array&&b.date.reduce(function(a,b){return a||m===b.valueOf()},!1)||"range"===b.mode&&m>=b.date[0]&&m<=b.date[1];h.disabled||!("disabled"in h)&&k?l(g,"pmu-disabled"):(h.selected||!("selected"in h)&&v)&&l(g,"pmu-selected");m===d&&l(g,"pmu-today"); 32259 h.class_name&&h.class_name.split(" ").forEach(l.bind(g,g));a.push(g);A(f,1)}n.appendChild(b.instance_content_template(a,"pmu-days"))})()}g.setDate(1);r.setDate(1);p(r,1);A(r,-1);d=c.querySelector(".pmu-prev");c=c.querySelector(".pmu-next");d&&(d.style.visibility=b.min&&b.min>=g?"hidden":"visible");c&&(c.style.visibility=b.max&&b.max<=r?"hidden":"visible");C(a,"fill")}function t(a,c){var b=c.format,d=c.separator,e=c.locales[c.locale];if(a instanceof Date||"number"===typeof a)return x(new Date(a)); 32260 if(!a)return x(new Date);if(a instanceof Array){a=a.slice();for(b=0;b<a.length;++b)a[b]=t(a[b],c);return a}d=a.split(d);if(1<d.length)return d.forEach(function(a,b,d){d[b]=t(a.trim(),c)}),d;d=[].concat(e.daysShort,e.daysMin,e.days,e.monthsShort,e.months);d=d.map(function(a){return"("+a+")"});d=new RegExp("[^0-9a-zA-Z"+d.join("")+"]+");a=a.split(d);d=b.split(d);var h=new Date;for(b=0;b<a.length;b++)switch(d[b]){case "b":var m=e.monthsShort.indexOf(a[b]);break;case "B":m=e.months.indexOf(a[b]);break; 32261 case "d":case "e":var l=parseInt(a[b],10);break;case "m":m=parseInt(a[b],10)-1;break;case "Y":case "y":var k=parseInt(a[b],10);k+=100<k?0:29>k?2E3:1900;break;case "H":case "I":case "k":case "l":var f=parseInt(a[b],10);break;case "P":case "p":/pm/i.test(a[b])&&12>f?f+=12:/am/i.test(a[b])&&12<=f&&(f-=12);break;case "M":var n=parseInt(a[b],10)}e=new Date(void 0===k?h.getFullYear():k,void 0===m?h.getMonth():m,void 0===l?h.getDate():l,void 0===f?h.getHours():f,void 0===n?h.getMinutes():n,0);isNaN(1*e)&& 32262 (e=new Date);return x(e)}function x(a){a.setHours(0,0,0,0);return a}function D(a,c,b){var d=a.getMonth(),e=a.getDate(),h=a.getFullYear(),m=a.getDay(),k=a.getHours(),l=12<=k,f=l?k-12:k;var n=new Date(a.getFullYear(),a.getMonth(),a.getDate(),0,0,0);var p=new Date(a.getFullYear(),0,0,0,0,0);n=Math.floor((n-p)/864E5);0===f&&(f=12);p=a.getMinutes();var r=a.getSeconds();c=c.split("");for(var g,q=0;q<c.length;q++){g=c[q];switch(g){case "a":g=b.daysShort[m];break;case "A":g=b.days[m];break;case "b":g=b.monthsShort[d]; 32263 break;case "B":g=b.months[d];break;case "C":g=1+Math.floor(h/100);break;case "d":g=10>e?"0"+e:e;break;case "e":g=e;break;case "H":g=10>k?"0"+k:k;break;case "I":g=10>f?"0"+f:f;break;case "j":g=100>n?10>n?"00"+n:"0"+n:n;break;case "k":g=k;break;case "l":g=f;break;case "m":g=9>d?"0"+(1+d):1+d;break;case "M":g=10>p?"0"+p:p;break;case "p":case "P":g=l?"PM":"AM";break;case "s":g=Math.floor(a.getTime()/1E3);break;case "S":g=10>r?"0"+r:r;break;case "u":g=m+1;break;case "w":g=m;break;case "y":g=(""+h).substr(2, 32264 2);break;case "Y":g=h}c[q]=g}return c.join("")}function O(a,c){var b=a.__pickmeup.options,d;x(c);a:switch(b.mode){case "multiple":var e=c.valueOf();for(d=0;d<b.date.length;++d)if(b.date[d].valueOf()===e){b.date.splice(d,1);break a}b.date.push(c);break;case "range":b.lastSel||(b.date[0]=c);c<=b.date[0]?(b.date[1]=b.date[0],b.date[0]=c):b.date[1]=c;b.lastSel=!b.lastSel;break;default:b.date=c.valueOf()}c=H(b);B(a,"input")&&(a.value="single"===b.mode?c.formatted_date:c.formatted_date.join(b.separator)); 32265 C(a,"change",c);b.flat||!b.hide_on_select||"range"===b.mode&&b.lastSel||b.bound.hide()}function P(a,c){var b=c.target;k(b,"pmu-button")||(b=J(b,".pmu-button"));if(!k(b,"pmu-button")||k(b,"pmu-disabled"))return!1;c.preventDefault();c.stopPropagation();a=a.__pickmeup.options;var d=J(b,".pmu-instance");c=d.parentElement;d=Array.prototype.slice.call(c.querySelectorAll(".pmu-instance")).indexOf(d);B(b.parentElement,"nav")?k(b,"pmu-month")?(p(a.current,d-Math.floor(a.calendars/2)),k(c,"pmu-view-years")? 32266 (a.current="single"!==a.mode?new Date(a.date[a.date.length-1]):new Date(a.date),a.select_day?(c.classList.remove("pmu-view-years"),l(c,"pmu-view-days")):a.select_month&&(c.classList.remove("pmu-view-years"),l(c,"pmu-view-months"))):k(c,"pmu-view-months")?a.select_year?(c.classList.remove("pmu-view-months"),l(c,"pmu-view-years")):a.select_day&&(c.classList.remove("pmu-view-months"),l(c,"pmu-view-days")):k(c,"pmu-view-days")&&(a.select_month?(c.classList.remove("pmu-view-days"),l(c,"pmu-view-months")): 32267 a.select_year&&(c.classList.remove("pmu-view-days"),l(c,"pmu-view-years")))):k(b,"pmu-prev")?a.bound.prev(!1):a.bound.next(!1):k(c,"pmu-view-years")?(a.current.setFullYear(b.__pickmeup_year),a.select_month?(c.classList.remove("pmu-view-years"),l(c,"pmu-view-months")):a.select_day?(c.classList.remove("pmu-view-years"),l(c,"pmu-view-days")):a.bound.update_date(a.current)):k(c,"pmu-view-months")?(a.current.setMonth(b.__pickmeup_month),a.current.setFullYear(b.__pickmeup_year),a.select_day?(c.classList.remove("pmu-view-months"), 32268 l(c,"pmu-view-days")):a.bound.update_date(a.current),p(a.current,Math.floor(a.calendars/2)-d)):(c=new Date(a.current),c.setYear(b.__pickmeup_year),c.setMonth(b.__pickmeup_month),c.setDate(b.__pickmeup_day),a.bound.update_date(c));a.bound.fill();return!0}
32268function H(a){if("single"===a.mode){var c=new Date(a.date);return{formatted_date:D(c,a.format,a.locales[a.locale]),date:c}}c={formatted_date:[],date:[]};a.date.forEach(function(b){b=new Date(b);c.formatted_date.push(D(b,a.format,a.locales[a.locale])); 32269 c.date.push(b)});return c}function I(a,c){var b=a.__pickmeup.element;if(c||k(b,"pmu-hidden")){var d=a.__pickmeup.options,e=M(a),h=window.pageXOffset,m=window.pageYOffset,l=document.documentElement.clientWidth,p=document.documentElement.clientHeight,f=e.top,n=e.left;d.bound.fill();B(a,"input")&&((c=a.value)&&d.bound.set_date(c),q(a,a,"keydown",function(a){9===a.which&&d.bound.hide()}),d.lastSel=!1);if(C(a,"show")&&!d.flat){b.classList.remove("pmu-hidden");if(d.position instanceof Function)e=d.position.call(a), 32270 n=e.left,f=e.top;else{switch(d.position){case "top":f-=b.offsetHeight;break;case "left":n-=b.offsetWidth;break;case "right":n+=a.offsetWidth;break;case "bottom":f+=a.offsetHeight}f+b.offsetHeight>m+p&&(f=e.top-b.offsetHeight);f<m&&(f=e.top+a.offsetHeight);n+b.offsetWidth>h+l&&(n=e.left-b.offsetWidth);n<h&&(n=e.left+a.offsetWidth);n+="px";f+="px"}b.style.left=n;b.style.top=f;setTimeout(function(){q(a,document.documentElement,"click",d.bound.hide);q(a,window,"resize",d.bound.forced_show)})}}}function Q(a, 32271 c){var b=a.__pickmeup.element,d=a.__pickmeup.options;c&&c.target&&(c.target===a||b.compareDocumentPosition(c.target)&16)||!C(a,"hide")||(l(b,"pmu-hidden"),z(a,document.documentElement,"click",d.bound.hide),z(a,window,"resize",d.bound.forced_show),d.lastSel=!1)}function R(a){var c=a.__pickmeup.options;z(a,document.documentElement,"click",c.bound.hide);z(a,window,"resize",c.bound.forced_show);c.bound.forced_show()}function S(a){a=a.__pickmeup.options;"single"!==a.mode&&(a.date=[],a.lastSel=!1,a.bound.fill())} 32272 function T(a,c){"undefined"==typeof c&&(c=!0);var b=a.__pickmeup.element;a=a.__pickmeup.options;k(b,"pmu-view-years")?u(a.current,-12):k(b,"pmu-view-months")?u(a.current,-1):k(b,"pmu-view-days")&&p(a.current,-1);c&&a.bound.fill()}function U(a,c){"undefined"==typeof c&&(c=!0);var b=a.__pickmeup.element;a=a.__pickmeup.options;k(b,"pmu-view-years")?u(a.current,12):k(b,"pmu-view-months")?u(a.current,1):k(b,"pmu-view-days")&&p(a.current,1);c&&a.bound.fill()}function V(a,c){var b=a.__pickmeup.options;a= 32273 H(b);return"string"===typeof c?(a=a.date,a instanceof Date?D(a,c,b.locales[b.locale]):a.map(function(a){return D(a,c,b.locales[b.locale])})):a[c?"formatted_date":"date"]}function W(a,c,b){var d=a.__pickmeup.options;if(!(c instanceof Array)||0<c.length)if(d.date=t(c,d),"single"!==d.mode)for(d.date instanceof Array?(d.date[0]=d.date[0]||t(new Date,d),"range"===d.mode&&(d.date[1]=d.date[1]||t(d.date[0],d))):(d.date=[d.date],"range"===d.mode&&d.date.push(t(d.date[0],d))),c=0;c<d.date.length;++c)d.date[c]= 32274 L(d.date[c],d.min,d.max);else d.date instanceof Array&&(d.date=d.date[0]),d.date=L(d.date,d.min,d.max);else d.date=[];if(!d.select_day)if(d.date instanceof Array)for(c=0;c<d.date.length;++c)d.date[c].setDate(1);else d.date.setDate(1);if("multiple"===d.mode)for(c=0;c<d.date.length;++c)d.date.indexOf(d.date[c])!==c&&(d.date.splice(c,1),--c);b?d.current=t(b,d):(b="single"===d.mode?d.date:d.date[d.date.length-1],d.current=b?new Date(b):new Date);d.current.setDate(1);d.bound.fill();B(a,"input")&&!1!== 32275 d.default_date&&(b=H(d),c=a.value,d="single"===d.mode?b.formatted_date:b.formatted_date.join(d.separator),c||C(a,"change",b),c!==d&&(a.value=d))}function X(a){var c=a.__pickmeup.element;z(a);y(c);delete a.__pickmeup}function L(a,c,b){return c&&c>a?new Date(c):b&&b<a?new Date(b):a}function E(a,c){"string"==typeof a&&(a=document.querySelector(a));if(!a)return null;if(!a.__pickmeup){var b,d={};c=c||{};for(b in E.defaults)d[b]=b in c?c[b]:E.defaults[b];for(b in d)c=a.getAttribute("data-pmu-"+b),null!== 32276 c&&(d[b]=c);"days"!==d.view||d.select_day||(d.view="months");"months"!==d.view||d.select_month||(d.view="years");"years"!==d.view||d.select_year||(d.view="days");"days"!==d.view||d.select_day||(d.view="months");d.calendars=Math.max(1,parseInt(d.calendars,10)||1);d.mode=/single|multiple|range/.test(d.mode)?d.mode:"single";d.min&&(d.min=t(d.min,d),d.select_day||d.min.setDate(1));d.max&&(d.max=t(d.max,d),d.select_day||d.max.setDate(1));c=document.createElement("div");a.__pickmeup={options:d,events:[], 32277 element:c};c.__pickmeup_target=a;l(c,"pickmeup");d.class_name&&l(c,d.class_name);d.bound={fill:N.bind(a,a),update_date:O.bind(a,a),click:P.bind(a,a),show:I.bind(a,a),forced_show:I.bind(a,a,!0),hide:Q.bind(a,a),update:R.bind(a,a),clear:S.bind(a,a),prev:T.bind(a,a),next:U.bind(a,a),get_date:V.bind(a,a),set_date:W.bind(a,a),destroy:X.bind(a,a)};l(c,"pmu-view-"+d.view);var e=d.instance_template(d),h="";for(b=0;b<d.calendars;++b)h+=e;c.innerHTML=h;q(a,c,"click",d.bound.click);q(a,c,"onselectstart"in Element.prototype? 32278 "selectstart":"mousedown",function(a){a.preventDefault()});d.flat?(l(c,"pmu-flat"),a.appendChild(c)):(l(c,"pmu-hidden"),document.body.appendChild(c),q(a,a,"click",I.bind(a,a,!1)),q(a,a,"input",d.bound.update),q(a,a,"change",d.bound.update));d.bound.set_date(d.date,d.current)}d=a.__pickmeup.options;return{hide:d.bound.hide,show:d.bound.show,clear:d.bound.clear,update:d.bound.update,prev:d.bound.prev,next:d.bound.next,get_date:d.bound.get_date,set_date:d.bound.set_date,destroy:d.bound.destroy}}E.defaults= 32279 {current:null,date:new Date,default_date:new Date,flat:!1,first_day:1,prev:"◀",next:"▶",mode:"single",select_year:!0,select_month:!0,select_day:!0,view:"days",calendars:1,format:"d-m-Y",title_format:"B, Y",position:"bottom",class_name:"",separator:" - ",hide_on_select:!1,min:null,max:null,render:function(){},locale:"en",locales:{en:{days:"Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "),daysShort:"Sun Mon Tue Wed Thu Fri Sat".split(" "),daysMin:"Su Mo Tu We Th Fr Sa".split(" "), 32280 months:"January February March April May June July August September October November December".split(" "),monthsShort:"Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec".split(" ")}},instance_template:function(a){var c=a.locales[a.locale].daysMin.slice();a.first_day&&c.push(c.shift());return'<div class="pmu-instance"><nav><div class="pmu-prev pmu-button">'+a.prev+'</div><div class="pmu-month pmu-button"></div><div class="pmu-next pmu-button">'+a.next+'</div></nav><nav class="pmu-day-of-week"><div>'+ 32281 c.join("</div><div>")+"</div></nav></div>"},instance_content_template:function(a,c){var b=document.createElement("div");l(b,c);for(c=0;c<a.length;++c)l(a[c],"pmu-button"),b.appendChild(a[c]);return b}};return E}); 32282 32283 32284/***/ }), 32285/* 390 */
vendor: 8,948 bytes, lines 32286-32561
32286/***/ (function(module, exports) { 32287 32288 // Generated by CoffeeScript 1.6.2 32289 /** 32290 @license Sticky-kit v1.1.3 | WTFPL | Leaf Corcoran 2015 | http://leafo.net 32291 */ 32292 32293 32294 (function() { 32295 var $, win; 32296 32297 $ = this.jQuery || window.jQuery; 32298 32299 win = $(window); 32300 32301 $.fn.stick_in_parent = function(opts) { 32302 var doc, elm, enable_bottoming, inner_scrolling, manual_spacer, offset_top, outer_width, parent_selector, recalc_every, sticky_class, _fn, _i, _len; 32303 32304 if (opts == null) { 32305 opts = {}; 32306 } 32307 sticky_class = opts.sticky_class, inner_scrolling = opts.inner_scrolling, recalc_every = opts.recalc_every, parent_selector = opts.parent, offset_top = opts.offset_top, manual_spacer = opts.spacer, enable_bottoming = opts.bottoming; 32308 if (offset_top == null) { 32309 offset_top = 0; 32310 } 32311 if (parent_selector == null) { 32312 parent_selector = void 0; 32313 } 32314 if (inner_scrolling == null) { 32315 inner_scrolling = true; 32316 } 32317 if (sticky_class == null) { 32318 sticky_class = "is_stuck"; 32319 } 32320 doc = $(document); 32321 if (enable_bottoming == null) { 32322 enable_bottoming = true; 32323 } 32324 outer_width = function(el) { 32325 var computed, w, _el; 32326 32327 if (window.getComputedStyle) { 32328 _el = el[0]; 32329 computed = window.getComputedStyle(el[0]); 32330 w = parseFloat(computed.getPropertyValue("width")) + parseFloat(computed.getPropertyValue("margin-left")) + parseFloat(computed.getPropertyValue("margin-right")); 32331 if (computed.getPropertyValue("box-sizing") !== "border-box") { 32332 w += parseFloat(computed.getPropertyValue("border-left-width")) + parseFloat(computed.getPropertyValue("border-right-width")) + parseFloat(computed.getPropertyValue("padding-left")) + parseFloat(computed.getPropertyValue("padding-right")); 32333 } 32334 return w; 32335 } else { 32336 return el.outerWidth(true); 32337 } 32338 }; 32339 _fn = function(elm, padding_bottom, parent_top, parent_height, top, height, el_float, detached) { 32340 var bottomed, detach, fixed, last_pos, last_scroll_height, offset, parent, recalc, recalc_and_tick, recalc_counter, spacer, tick; 32341 32342 if (elm.data("sticky_kit")) { 32343 return; 32344 } 32345 elm.data("sticky_kit", true); 32346 last_scroll_height = doc.height(); 32347 parent = elm.parent(); 32348 if (parent_selector != null) { 32349 parent = parent.closest(parent_selector); 32350 } 32351 if (!parent.length) { 32352 throw "failed to find stick parent"; 32353 } 32354 fixed = false; 32355 bottomed = false; 32356 spacer = manual_spacer != null ? manual_spacer && elm.closest(manual_spacer) : $("<div />"); 32357 if (spacer) { 32358 spacer.css('position', elm.css('position')); 32359 } 32360 recalc = function() { 32361 var border_top, padding_top, restore; 32362 32363 if (detached) { 32364 return; 32365 } 32366 last_scroll_height = doc.height(); 32367 border_top = parseInt(parent.css("border-top-width"), 10); 32368 padding_top = parseInt(parent.css("padding-top"), 10); 32369 padding_bottom = parseInt(parent.css("padding-bottom"), 10); 32370 parent_top = parent.offset().top + border_top + padding_top; 32371 parent_height = parent.height(); 32372 if (fixed) { 32373 fixed = false; 32374 bottomed = false; 32375 if (manual_spacer == null) { 32376 elm.insertAfter(spacer); 32377 spacer.detach(); 32378 } 32379 elm.css({ 32380 position: "", 32381 top: "", 32382 width: "", 32383 bottom: "" 32384 }).removeClass(sticky_class); 32385 restore = true; 32386 } 32387 top = elm.offset().top - (parseInt(elm.css("margin-top"), 10) || 0) - offset_top; 32388 height = elm.outerHeight(true); 32389 el_float = elm.css("float"); 32390 if (spacer) { 32391 spacer.css({ 32392 width: outer_width(elm), 32393 height: height, 32394 display: elm.css("display"), 32395 "vertical-align": elm.css("vertical-align"), 32396 "float": el_float 32397 }); 32398 } 32399 if (restore) { 32400 return tick(); 32401 } 32402 }; 32403 recalc(); 32404 if (height === parent_height) { 32405 return; 32406 } 32407 last_pos = void 0; 32408 offset = offset_top; 32409 recalc_counter = recalc_every; 32410 tick = function() { 32411 var css, delta, recalced, scroll, will_bottom, win_height; 32412 32413 if (detached) { 32414 return; 32415 } 32416 recalced = false; 32417 if (recalc_counter != null) { 32418 recalc_counter -= 1; 32419 if (recalc_counter <= 0) { 32420 recalc_counter = recalc_every; 32421 recalc(); 32422 recalced = true; 32423 } 32424 } 32425 if (!recalced && doc.height() !== last_scroll_height) { 32426 recalc(); 32427 recalced = true; 32428 } 32429 scroll = win.scrollTop(); 32430 if (last_pos != null) { 32431 delta = scroll - last_pos; 32432 } 32433 last_pos = scroll; 32434 if (fixed) { 32435 if (enable_bottoming) { 32436 will_bottom = scroll + height + offset > parent_height + parent_top; 32437 if (bottomed && !will_bottom) { 32438 bottomed = false; 32439 elm.css({ 32440 position: "fixed", 32441 bottom: "", 32442 top: offset 32443 }).trigger("sticky_kit:unbottom"); 32444 } 32445 } 32446 if (scroll < top) { 32447 fixed = false; 32448 offset = offset_top; 32449 if (manual_spacer == null) { 32450 if (el_float === "left" || el_float === "right") { 32451 elm.insertAfter(spacer); 32452 } 32453 spacer.detach(); 32454 } 32455 css = { 32456 position: "", 32457 width: "", 32458 top: "" 32459 }; 32460 elm.css(css).removeClass(sticky_class).trigger("sticky_kit:unstick"); 32461 } 32462 if (inner_scrolling) { 32463 win_height = win.height(); 32464 if (height + offset_top > win_height) { 32465 if (!bottomed) { 32466 offset -= delta; 32467 offset = Math.max(win_height - height, offset); 32468 offset = Math.min(offset_top, offset); 32469 if (fixed) { 32470 elm.css({ 32471 top: offset + "px" 32472 }); 32473 } 32474 } 32475 } 32476 } 32477 } else { 32478 if (scroll > top) { 32479 fixed = true; 32480 css = { 32481 position: "fixed", 32482 top: offset 32483 }; 32484 css.width = elm.css("box-sizing") === "border-box" ? elm.outerWidth() + "px" : elm.width() + "px"; 32485 elm.css(css).addClass(sticky_class); 32486 if (manual_spacer == null) { 32487 elm.after(spacer); 32488 if (el_float === "left" || el_float === "right") { 32489 spacer.append(elm); 32490 } 32491 } 32492 elm.trigger("sticky_kit:stick"); 32493 } 32494 } 32495 if (fixed && enable_bottoming) { 32496 if (will_bottom == null) { 32497 will_bottom = scroll + height + offset > parent_height + parent_top; 32498 } 32499 if (!bottomed && will_bottom) { 32500 bottomed = true; 32501 if (parent.css("position") === "static") { 32502 parent.css({ 32503 position: "relative" 32504 }); 32505 } 32506 return elm.css({ 32507 position: "absolute", 32508 bottom: padding_bottom, 32509 top: "auto" 32510 }).trigger("sticky_kit:bottom"); 32511 } 32512 } 32513 }; 32514 recalc_and_tick = function() { 32515 recalc(); 32516 return tick(); 32517 }; 32518 detach = function() { 32519 detached = true; 32520 win.off("touchmove", tick); 32521 win.off("scroll", tick); 32522 win.off("resize", recalc_and_tick); 32523 $(document.body).off("sticky_kit:recalc", recalc_and_tick); 32524 elm.off("sticky_kit:detach", detach); 32525 elm.removeData("sticky_kit"); 32526 elm.css({ 32527 position: "", 32528 bottom: "", 32529 top: "", 32530 width: "" 32531 }); 32532 parent.position("position", ""); 32533 if (fixed) { 32534 if (manual_spacer == null) { 32535 if (el_float === "left" || el_float === "right") { 32536 elm.insertAfter(spacer); 32537 } 32538 spacer.remove(); 32539 } 32540 return elm.removeClass(sticky_class); 32541 } 32542 }; 32543 win.on("touchmove", tick); 32544 win.on("scroll", tick); 32545 win.on("resize", recalc_and_tick); 32546 $(document.body).on("sticky_kit:recalc", recalc_and_tick); 32547 elm.on("sticky_kit:detach", detach); 32548 return setTimeout(tick, 0); 32549 }; 32550 for (_i = 0, _len = this.length; _i < _len; _i++) { 32551 elm = this[_i]; 32552 _fn($(elm)); 32553 } 32554 return this; 32555 }; 32556 32557 }).call(this); 32558 32559 32560/***/ }), 32561/* 391 */
vendor: 3,706 bytes, lines 32562-32594
32562/***/ (function(module, exports) { 32563 32564 /* 32565 Sticky-kit v1.1.2 | WTFPL | Leaf Corcoran 2015 | http://leafo.net 32566 */ 32567 (function(){var c,f;c=this.jQuery||window.jQuery;f=c(window);c.fn.stick_in_parent=function(b){var A,w,B,n,p,J,k,E,t,K,q,L;null==b&&(b={});t=b.sticky_class;B=b.inner_scrolling;E=b.recalc_every;k=b.parent;p=b.offset_top;n=b.spacer;w=b.bottoming;null==p&&(p=0);null==k&&(k=void 0);null==B&&(B=!0);null==t&&(t="is_stuck");A=c(document);null==w&&(w=!0);J=function(a){var b;return window.getComputedStyle?(a=window.getComputedStyle(a[0]),b=parseFloat(a.getPropertyValue("width"))+parseFloat(a.getPropertyValue("margin-left"))+ 32568 parseFloat(a.getPropertyValue("margin-right")),"border-box"!==a.getPropertyValue("box-sizing")&&(b+=parseFloat(a.getPropertyValue("border-left-width"))+parseFloat(a.getPropertyValue("border-right-width"))+parseFloat(a.getPropertyValue("padding-left"))+parseFloat(a.getPropertyValue("padding-right"))),b):a.outerWidth(!0)};K=function(a,b,q,C,F,u,r,G){var v,H,m,D,I,d,g,x,y,z,h,l;if(!a.data("sticky_kit")){a.data("sticky_kit",!0);I=A.height();g=a.parent();null!=k&&(g=g.closest(k));if(!g.length)throw"failed to find stick parent"; 32569 v=m=!1;(h=null!=n?n&&a.closest(n):c("<div />"))&&h.css("position",a.css("position"));x=function(){var d,f,e;if(!G&&(I=A.height(),d=parseInt(g.css("border-top-width"),10),f=parseInt(g.css("padding-top"),10),b=parseInt(g.css("padding-bottom"),10),q=g.offset().top+d+f,C=g.height(),m&&(v=m=!1,null==n&&(a.insertAfter(h),h.detach()),a.css({position:"",top:"",width:"",bottom:""}).removeClass(t),e=!0),F=a.offset().top-(parseInt(a.css("margin-top"),10)||0)-p,u=a.outerHeight(!0),r=a.css("float"),h&&h.css({width:J(a), 32570 height:u,display:a.css("display"),"vertical-align":a.css("vertical-align"),"float":r}),e))return l()};x();if(u!==C)return D=void 0,d=p,z=E,l=function(){var c,l,e,k;if(!G&&(e=!1,null!=z&&(--z,0>=z&&(z=E,x(),e=!0)),e||A.height()===I||x(),e=f.scrollTop(),null!=D&&(l=e-D),D=e,m?(w&&(k=e+u+d>C+q,v&&!k&&(v=!1,a.css({position:"fixed",bottom:"",top:d}).trigger("sticky_kit:unbottom"))),e<F&&(m=!1,d=p,null==n&&("left"!==r&&"right"!==r||a.insertAfter(h),h.detach()),c={position:"",width:"",top:""},a.css(c).removeClass(t).trigger("sticky_kit:unstick")), 32571 B&&(c=f.height(),u+p>c&&!v&&(d-=l,d=Math.max(c-u,d),d=Math.min(p,d),m&&a.css({top:d+"px"})))):e>F&&(m=!0,c={position:"fixed",top:d},c.width="border-box"===a.css("box-sizing")?a.outerWidth()+"px":a.width()+"px",a.css(c).addClass(t),null==n&&(a.after(h),"left"!==r&&"right"!==r||h.append(a)),a.trigger("sticky_kit:stick")),m&&w&&(null==k&&(k=e+u+d>C+q),!v&&k)))return v=!0,"static"===g.css("position")&&g.css({position:"relative"}),a.css({position:"absolute",bottom:b,top:"auto"}).trigger("sticky_kit:bottom")}, 32572 y=function(){x();return l()},H=function(){G=!0;f.off("touchmove",l);f.off("scroll",l);f.off("resize",y);c(document.body).off("sticky_kit:recalc",y);a.off("sticky_kit:detach",H);a.removeData("sticky_kit");a.css({position:"",bottom:"",top:"",width:""});g.position("position","");if(m)return null==n&&("left"!==r&&"right"!==r||a.insertAfter(h),h.remove()),a.removeClass(t)},f.on("touchmove",l),f.on("scroll",l),f.on("resize",y),c(document.body).on("sticky_kit:recalc",y),a.on("sticky_kit:detach",H),setTimeout(l, 32573 0)}};q=0;for(L=this.length;q<L;q++)b=this[q],K(c(b));return this}}).call(this); 32574 32575 32576/***/ }), 32577/* 392 */ 32578/***/ (function(module, exports) { 32579 32580 module.exports = function(module) { 32581 if(!module.webpackPolyfill) { 32582 module.deprecate = function() {}; 32583 module.paths = []; 32584 // module.parent = undefined by default 32585 module.children = []; 32586 module.webpackPolyfill = 1; 32587 } 32588 return module; 32589 } 32590 32591 32592/***/ }) 32593/******/ ]); 32594//# sourceMappingURL=app.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.