| @@ -1,8 +1,8 @@ | ||
| 1 | 1 | /**! |
| 2 | 2 | |
| 3 | 3 | @license |
| 4 | - handlebars v4.7.7 | |
| 4 | + handlebars v4.7.9 | |
| 5 | 5 | |
| 6 | 6 | Copyright (C) 2011-2019 by Yehuda Katz |
| 7 | 7 | |
| 8 | 8 | Permission is hereby granted, free of charge, to any person obtaining a copy |
| @@ -94,9 +94,9 @@ | ||
| 94 | 94 | |
| 95 | 95 | // Each of these augment the Handlebars object. No need to setup here. |
| 96 | 96 | // (This is done to easily share code between commonjs and browse envs) |
| 97 | 97 | |
| 98 | - var _handlebarsSafeString = __webpack_require__(36); | |
| 98 | + var _handlebarsSafeString = __webpack_require__(75); | |
| 99 | 99 | |
| 100 | 100 | var _handlebarsSafeString2 = _interopRequireDefault(_handlebarsSafeString); |
| 101 | 101 | |
| 102 | 102 | var _handlebarsException = __webpack_require__(5); |
| @@ -106,13 +106,13 @@ | ||
| 106 | 106 | var _handlebarsUtils = __webpack_require__(4); |
| 107 | 107 | |
| 108 | 108 | var Utils = _interopRequireWildcard(_handlebarsUtils); |
| 109 | 109 | |
| 110 | - var _handlebarsRuntime = __webpack_require__(37); | |
| 110 | + var _handlebarsRuntime = __webpack_require__(76); | |
| 111 | 111 | |
| 112 | 112 | var runtime = _interopRequireWildcard(_handlebarsRuntime); |
| 113 | 113 | |
| 114 | - var _handlebarsNoConflict = __webpack_require__(43); | |
| 114 | + var _handlebarsNoConflict = __webpack_require__(81); | |
| 115 | 115 | |
| 116 | 116 | var _handlebarsNoConflict2 = _interopRequireDefault(_handlebarsNoConflict); |
| 117 | 117 | |
| 118 | 118 | // For compatibility and usage outside of module systems, make the Handlebars object a namespace |
| @@ -200,17 +200,17 @@ | ||
| 200 | 200 | var _exception2 = _interopRequireDefault(_exception); |
| 201 | 201 | |
| 202 | 202 | var _helpers = __webpack_require__(9); |
| 203 | 203 | |
| 204 | - var _decorators = __webpack_require__(29); | |
| 204 | + var _decorators = __webpack_require__(69); | |
| 205 | 205 | |
| 206 | - var _logger = __webpack_require__(31); | |
| 206 | + var _logger = __webpack_require__(71); | |
| 207 | 207 | |
| 208 | 208 | var _logger2 = _interopRequireDefault(_logger); |
| 209 | 209 | |
| 210 | - var _internalProtoAccess = __webpack_require__(32); | |
| 210 | + var _internalProtoAccess = __webpack_require__(72); | |
| 211 | 211 | |
| 212 | - var VERSION = '4.7.7'; | |
| 212 | + var VERSION = '4.7.9'; | |
| 213 | 213 | exports.VERSION = VERSION; |
| 214 | 214 | var COMPILER_REVISION = 8; |
| 215 | 215 | exports.COMPILER_REVISION = COMPILER_REVISION; |
| 216 | 216 | var LAST_COMPATIBLE_COMPILER_REVISION = 7; |
| @@ -551,25 +551,25 @@ | ||
| 551 | 551 | var _helpersEach = __webpack_require__(11); |
| 552 | 552 | |
| 553 | 553 | var _helpersEach2 = _interopRequireDefault(_helpersEach); |
| 554 | 554 | |
| 555 | - var _helpersHelperMissing = __webpack_require__(24); | |
| 555 | + var _helpersHelperMissing = __webpack_require__(64); | |
| 556 | 556 | |
| 557 | 557 | var _helpersHelperMissing2 = _interopRequireDefault(_helpersHelperMissing); |
| 558 | 558 | |
| 559 | - var _helpersIf = __webpack_require__(25); | |
| 559 | + var _helpersIf = __webpack_require__(65); | |
| 560 | 560 | |
| 561 | 561 | var _helpersIf2 = _interopRequireDefault(_helpersIf); |
| 562 | 562 | |
| 563 | - var _helpersLog = __webpack_require__(26); | |
| 563 | + var _helpersLog = __webpack_require__(66); | |
| 564 | 564 | |
| 565 | 565 | var _helpersLog2 = _interopRequireDefault(_helpersLog); |
| 566 | 566 | |
| 567 | - var _helpersLookup = __webpack_require__(27); | |
| 567 | + var _helpersLookup = __webpack_require__(67); | |
| 568 | 568 | |
| 569 | 569 | var _helpersLookup2 = _interopRequireDefault(_helpersLookup); |
| 570 | 570 | |
| 571 | - var _helpersWith = __webpack_require__(28); | |
| 571 | + var _helpersWith = __webpack_require__(68); | |
| 572 | 572 | |
| 573 | 573 | var _helpersWith2 = _interopRequireDefault(_helpersWith); |
| 574 | 574 | |
| 575 | 575 | function registerDefaultHelpers(instance) { |
| @@ -585,9 +585,10 @@ | ||
| 585 | 585 | function moveHelperToHooks(instance, helperName, keepHelper) { |
| 586 | 586 | if (instance.helpers[helperName]) { |
| 587 | 587 | instance.hooks[helperName] = instance.helpers[helperName]; |
| 588 | 588 | if (!keepHelper) { |
| 589 | - delete instance.helpers[helperName]; | |
| 589 | + // Using delete is slow | |
| 590 | + instance.helpers[helperName] = undefined; | |
| 590 | 591 | } |
| 591 | 592 | } |
| 592 | 593 | } |
| 593 | 594 | |
| @@ -637,12 +638,18 @@ | ||
| 637 | 638 | /***/ }), |
| 638 | 639 | /* 11 */ |
| 639 | 640 | /***/ (function(module, exports, __webpack_require__) { |
| 640 | 641 | |
| 641 | - /* WEBPACK VAR INJECTION */(function(global) {'use strict'; | |
| 642 | + 'use strict'; | |
| 642 | 643 | |
| 643 | - var _Object$keys = __webpack_require__(12)['default']; | |
| 644 | + var _Symbol = __webpack_require__(12)['default']; | |
| 644 | 645 | |
| 646 | + var _Symbol$iterator = __webpack_require__(42)['default']; | |
| 647 | + | |
| 648 | + var _getIterator = __webpack_require__(54)['default']; | |
| 649 | + | |
| 650 | + var _Object$keys = __webpack_require__(59)['default']; | |
| 651 | + | |
| 645 | 652 | var _interopRequireDefault = __webpack_require__(2)['default']; |
| 646 | 653 | |
| 647 | 654 | exports.__esModule = true; |
| 648 | 655 | |
| @@ -701,11 +708,11 @@ | ||
| 701 | 708 | if (i in context) { |
| 702 | 709 | execIteration(i, i, i === context.length - 1); |
| 703 | 710 | } |
| 704 | 711 | } |
| 705 | - } else if (global.Symbol && context[global.Symbol.iterator]) { | |
| 712 | + } else if (typeof _Symbol === 'function' && context[_Symbol$iterator]) { | |
| 706 | 713 | var newContext = []; |
| 707 | - var iterator = context[global.Symbol.iterator](); | |
| 714 | + var iterator = _getIterator(context); | |
| 708 | 715 | for (var it = iterator.next(); !it.done; it = iterator.next()) { |
| 709 | 716 | newContext.push(it.value); |
| 710 | 717 | } |
| 711 | 718 | context = newContext; |
| @@ -741,9 +748,8 @@ | ||
| 741 | 748 | }); |
| 742 | 749 | }; |
| 743 | 750 | |
| 744 | 751 | module.exports = exports['default']; |
| 745 | - /* WEBPACK VAR INJECTION */}.call(exports, (function() { return this; }()))) | |
| 746 | 752 | |
| 747 | 753 | /***/ }), |
| 748 | 754 | /* 12 */ |
| 749 | 755 | /***/ (function(module, exports, __webpack_require__) { |
| @@ -754,41 +760,259 @@ | ||
| 754 | 760 | /* 13 */ |
| 755 | 761 | /***/ (function(module, exports, __webpack_require__) { |
| 756 | 762 | |
| 757 | 763 | __webpack_require__(14); |
| 758 | - module.exports = __webpack_require__(20).Object.keys; | |
| 764 | + __webpack_require__(41); | |
| 765 | + module.exports = __webpack_require__(20).Symbol; | |
| 759 | 766 | |
| 760 | 767 | /***/ }), |
| 761 | 768 | /* 14 */ |
| 762 | 769 | /***/ (function(module, exports, __webpack_require__) { |
| 763 | 770 | |
| 764 | - // 19.1.2.14 Object.keys(O) | |
| 765 | - var toObject = __webpack_require__(15); | |
| 771 | + 'use strict'; | |
| 772 | + // ECMAScript 6 symbols shim | |
| 773 | + var $ = __webpack_require__(8) | |
| 774 | + , global = __webpack_require__(15) | |
| 775 | + , has = __webpack_require__(16) | |
| 776 | + , DESCRIPTORS = __webpack_require__(17) | |
| 777 | + , $export = __webpack_require__(19) | |
| 778 | + , redefine = __webpack_require__(23) | |
| 779 | + , $fails = __webpack_require__(18) | |
| 780 | + , shared = __webpack_require__(26) | |
| 781 | + , setToStringTag = __webpack_require__(27) | |
| 782 | + , uid = __webpack_require__(29) | |
| 783 | + , wks = __webpack_require__(28) | |
| 784 | + , keyOf = __webpack_require__(30) | |
| 785 | + , $names = __webpack_require__(35) | |
| 786 | + , enumKeys = __webpack_require__(36) | |
| 787 | + , isArray = __webpack_require__(37) | |
| 788 | + , anObject = __webpack_require__(38) | |
| 789 | + , toIObject = __webpack_require__(31) | |
| 790 | + , createDesc = __webpack_require__(25) | |
| 791 | + , getDesc = $.getDesc | |
| 792 | + , setDesc = $.setDesc | |
| 793 | + , _create = $.create | |
| 794 | + , getNames = $names.get | |
| 795 | + , $Symbol = global.Symbol | |
| 796 | + , $JSON = global.JSON | |
| 797 | + , _stringify = $JSON && $JSON.stringify | |
| 798 | + , setter = false | |
| 799 | + , HIDDEN = wks('_hidden') | |
| 800 | + , isEnum = $.isEnum | |
| 801 | + , SymbolRegistry = shared('symbol-registry') | |
| 802 | + , AllSymbols = shared('symbols') | |
| 803 | + , useNative = typeof $Symbol == 'function' | |
| 804 | + , ObjectProto = Object.prototype; | |
| 766 | 805 | |
| 767 | - __webpack_require__(17)('keys', function($keys){ | |
| 768 | - return function keys(it){ | |
| 769 | - return $keys(toObject(it)); | |
| 806 | + // fallback for old Android, https://code.google.com/p/v8/issues/detail?id=687 | |
| 807 | + var setSymbolDesc = DESCRIPTORS && $fails(function(){ | |
| 808 | + return _create(setDesc({}, 'a', { | |
| 809 | + get: function(){ return setDesc(this, 'a', {value: 7}).a; } | |
| 810 | + })).a != 7; | |
| 811 | + }) ? function(it, key, D){ | |
| 812 | + var protoDesc = getDesc(ObjectProto, key); | |
| 813 | + if(protoDesc)delete ObjectProto[key]; | |
| 814 | + setDesc(it, key, D); | |
| 815 | + if(protoDesc && it !== ObjectProto)setDesc(ObjectProto, key, protoDesc); | |
| 816 | + } : setDesc; | |
| 817 | + | |
| 818 | + var wrap = function(tag){ | |
| 819 | + var sym = AllSymbols[tag] = _create($Symbol.prototype); | |
| 820 | + sym._k = tag; | |
| 821 | + DESCRIPTORS && setter && setSymbolDesc(ObjectProto, tag, { | |
| 822 | + configurable: true, | |
| 823 | + set: function(value){ | |
| 824 | + if(has(this, HIDDEN) && has(this[HIDDEN], tag))this[HIDDEN][tag] = false; | |
| 825 | + setSymbolDesc(this, tag, createDesc(1, value)); | |
| 826 | + } | |
| 827 | + }); | |
| 828 | + return sym; | |
| 829 | + }; | |
| 830 | + | |
| 831 | + var isSymbol = function(it){ | |
| 832 | + return typeof it == 'symbol'; | |
| 833 | + }; | |
| 834 | + | |
| 835 | + var $defineProperty = function defineProperty(it, key, D){ | |
| 836 | + if(D && has(AllSymbols, key)){ | |
| 837 | + if(!D.enumerable){ | |
| 838 | + if(!has(it, HIDDEN))setDesc(it, HIDDEN, createDesc(1, {})); | |
| 839 | + it[HIDDEN][key] = true; | |
| 840 | + } else { | |
| 841 | + if(has(it, HIDDEN) && it[HIDDEN][key])it[HIDDEN][key] = false; | |
| 842 | + D = _create(D, {enumerable: createDesc(0, false)}); | |
| 843 | + } return setSymbolDesc(it, key, D); | |
| 844 | + } return setDesc(it, key, D); | |
| 845 | + }; | |
| 846 | + var $defineProperties = function defineProperties(it, P){ | |
| 847 | + anObject(it); | |
| 848 | + var keys = enumKeys(P = toIObject(P)) | |
| 849 | + , i = 0 | |
| 850 | + , l = keys.length | |
| 851 | + , key; | |
| 852 | + while(l > i)$defineProperty(it, key = keys[i++], P[key]); | |
| 853 | + return it; | |
| 854 | + }; | |
| 855 | + var $create = function create(it, P){ | |
| 856 | + return P === undefined ? _create(it) : $defineProperties(_create(it), P); | |
| 857 | + }; | |
| 858 | + var $propertyIsEnumerable = function propertyIsEnumerable(key){ | |
| 859 | + var E = isEnum.call(this, key); | |
| 860 | + return E || !has(this, key) || !has(AllSymbols, key) || has(this, HIDDEN) && this[HIDDEN][key] | |
| 861 | + ? E : true; | |
| 862 | + }; | |
| 863 | + var $getOwnPropertyDescriptor = function getOwnPropertyDescriptor(it, key){ | |
| 864 | + var D = getDesc(it = toIObject(it), key); | |
| 865 | + if(D && has(AllSymbols, key) && !(has(it, HIDDEN) && it[HIDDEN][key]))D.enumerable = true; | |
| 866 | + return D; | |
| 867 | + }; | |
| 868 | + var $getOwnPropertyNames = function getOwnPropertyNames(it){ | |
| 869 | + var names = getNames(toIObject(it)) | |
| 870 | + , result = [] | |
| 871 | + , i = 0 | |
| 872 | + , key; | |
| 873 | + while(names.length > i)if(!has(AllSymbols, key = names[i++]) && key != HIDDEN)result.push(key); | |
| 874 | + return result; | |
| 875 | + }; | |
| 876 | + var $getOwnPropertySymbols = function getOwnPropertySymbols(it){ | |
| 877 | + var names = getNames(toIObject(it)) | |
| 878 | + , result = [] | |
| 879 | + , i = 0 | |
| 880 | + , key; | |
| 881 | + while(names.length > i)if(has(AllSymbols, key = names[i++]))result.push(AllSymbols[key]); | |
| 882 | + return result; | |
| 883 | + }; | |
| 884 | + var $stringify = function stringify(it){ | |
| 885 | + if(it === undefined || isSymbol(it))return; // IE8 returns string on undefined | |
| 886 | + var args = [it] | |
| 887 | + , i = 1 | |
| 888 | + , $$ = arguments | |
| 889 | + , replacer, $replacer; | |
| 890 | + while($$.length > i)args.push($$[i++]); | |
| 891 | + replacer = args[1]; | |
| 892 | + if(typeof replacer == 'function')$replacer = replacer; | |
| 893 | + if($replacer || !isArray(replacer))replacer = function(key, value){ | |
| 894 | + if($replacer)value = $replacer.call(this, key, value); | |
| 895 | + if(!isSymbol(value))return value; | |
| 770 | 896 | }; |
| 897 | + args[1] = replacer; | |
| 898 | + return _stringify.apply($JSON, args); | |
| 899 | + }; | |
| 900 | + var buggyJSON = $fails(function(){ | |
| 901 | + var S = $Symbol(); | |
| 902 | + // MS Edge converts symbol values to JSON as {} | |
| 903 | + // WebKit converts symbol values to JSON as null | |
| 904 | + // V8 throws on boxed symbols | |
| 905 | + return _stringify([S]) != '[null]' || _stringify({a: S}) != '{}' || _stringify(Object(S)) != '{}'; | |
| 771 | 906 | }); |
| 772 | 907 | |
| 908 | + // 19.4.1.1 Symbol([description]) | |
| 909 | + if(!useNative){ | |
| 910 | + $Symbol = function Symbol(){ | |
| 911 | + if(isSymbol(this))throw TypeError('Symbol is not a constructor'); | |
| 912 | + return wrap(uid(arguments.length > 0 ? arguments[0] : undefined)); | |
| 913 | + }; | |
| 914 | + redefine($Symbol.prototype, 'toString', function toString(){ | |
| 915 | + return this._k; | |
| 916 | + }); | |
| 917 | + | |
| 918 | + isSymbol = function(it){ | |
| 919 | + return it instanceof $Symbol; | |
| 920 | + }; | |
| 921 | + | |
| 922 | + $.create = $create; | |
| 923 | + $.isEnum = $propertyIsEnumerable; | |
| 924 | + $.getDesc = $getOwnPropertyDescriptor; | |
| 925 | + $.setDesc = $defineProperty; | |
| 926 | + $.setDescs = $defineProperties; | |
| 927 | + $.getNames = $names.get = $getOwnPropertyNames; | |
| 928 | + $.getSymbols = $getOwnPropertySymbols; | |
| 929 | + | |
| 930 | + if(DESCRIPTORS && !__webpack_require__(40)){ | |
| 931 | + redefine(ObjectProto, 'propertyIsEnumerable', $propertyIsEnumerable, true); | |
| 932 | + } | |
| 933 | + } | |
| 934 | + | |
| 935 | + var symbolStatics = { | |
| 936 | + // 19.4.2.1 Symbol.for(key) | |
| 937 | + 'for': function(key){ | |
| 938 | + return has(SymbolRegistry, key += '') | |
| 939 | + ? SymbolRegistry[key] | |
| 940 | + : SymbolRegistry[key] = $Symbol(key); | |
| 941 | + }, | |
| 942 | + // 19.4.2.5 Symbol.keyFor(sym) | |
| 943 | + keyFor: function keyFor(key){ | |
| 944 | + return keyOf(SymbolRegistry, key); | |
| 945 | + }, | |
| 946 | + useSetter: function(){ setter = true; }, | |
| 947 | + useSimple: function(){ setter = false; } | |
| 948 | + }; | |
| 949 | + // 19.4.2.2 Symbol.hasInstance | |
| 950 | + // 19.4.2.3 Symbol.isConcatSpreadable | |
| 951 | + // 19.4.2.4 Symbol.iterator | |
| 952 | + // 19.4.2.6 Symbol.match | |
| 953 | + // 19.4.2.8 Symbol.replace | |
| 954 | + // 19.4.2.9 Symbol.search | |
| 955 | + // 19.4.2.10 Symbol.species | |
| 956 | + // 19.4.2.11 Symbol.split | |
| 957 | + // 19.4.2.12 Symbol.toPrimitive | |
| 958 | + // 19.4.2.13 Symbol.toStringTag | |
| 959 | + // 19.4.2.14 Symbol.unscopables | |
| 960 | + $.each.call(( | |
| 961 | + 'hasInstance,isConcatSpreadable,iterator,match,replace,search,' + | |
| 962 | + 'species,split,toPrimitive,toStringTag,unscopables' | |
| 963 | + ).split(','), function(it){ | |
| 964 | + var sym = wks(it); | |
| 965 | + symbolStatics[it] = useNative ? sym : wrap(sym); | |
| 966 | + }); | |
| 967 | + | |
| 968 | + setter = true; | |
| 969 | + | |
| 970 | + $export($export.G + $export.W, {Symbol: $Symbol}); | |
| 971 | + | |
| 972 | + $export($export.S, 'Symbol', symbolStatics); | |
| 973 | + | |
| 974 | + $export($export.S + $export.F * !useNative, 'Object', { | |
| 975 | + // 19.1.2.2 Object.create(O [, Properties]) | |
| 976 | + create: $create, | |
| 977 | + // 19.1.2.4 Object.defineProperty(O, P, Attributes) | |
| 978 | + defineProperty: $defineProperty, | |
| 979 | + // 19.1.2.3 Object.defineProperties(O, Properties) | |
| 980 | + defineProperties: $defineProperties, | |
| 981 | + // 19.1.2.6 Object.getOwnPropertyDescriptor(O, P) | |
| 982 | + getOwnPropertyDescriptor: $getOwnPropertyDescriptor, | |
| 983 | + // 19.1.2.7 Object.getOwnPropertyNames(O) | |
| 984 | + getOwnPropertyNames: $getOwnPropertyNames, | |
| 985 | + // 19.1.2.8 Object.getOwnPropertySymbols(O) | |
| 986 | + getOwnPropertySymbols: $getOwnPropertySymbols | |
| 987 | + }); | |
| 988 | + | |
| 989 | + // 24.3.2 JSON.stringify(value [, replacer [, space]]) | |
| 990 | + $JSON && $export($export.S + $export.F * (!useNative || buggyJSON), 'JSON', {stringify: $stringify}); | |
| 991 | + | |
| 992 | + // 19.4.3.5 Symbol.prototype[@@toStringTag] | |
| 993 | + setToStringTag($Symbol, 'Symbol'); | |
| 994 | + // 20.2.1.9 Math[@@toStringTag] | |
| 995 | + setToStringTag(Math, 'Math', true); | |
| 996 | + // 24.3.3 JSON[@@toStringTag] | |
| 997 | + setToStringTag(global.JSON, 'JSON', true); | |
| 998 | + | |
| 773 | 999 | /***/ }), |
| 774 | 1000 | /* 15 */ |
| 775 | -/***/ (function(module, exports, __webpack_require__) { | |
| 1001 | +/***/ (function(module, exports) { | |
| 776 | 1002 | |
| 777 | - // 7.1.13 ToObject(argument) | |
| 778 | - var defined = __webpack_require__(16); | |
| 779 | - module.exports = function(it){ | |
| 780 | - return Object(defined(it)); | |
| 781 | - }; | |
| 1003 | + // https://github.com/zloirock/core-js/issues/86#issuecomment-115759028 | |
| 1004 | + var global = module.exports = typeof window != 'undefined' && window.Math == Math | |
| 1005 | + ? window : typeof self != 'undefined' && self.Math == Math ? self : Function('return this')(); | |
| 1006 | + if(typeof __g == 'number')__g = global; // eslint-disable-line no-undef | |
| 782 | 1007 | |
| 783 | 1008 | /***/ }), |
| 784 | 1009 | /* 16 */ |
| 785 | 1010 | /***/ (function(module, exports) { |
| 786 | 1011 | |
| 787 | - // 7.2.1 RequireObjectCoercible(argument) | |
| 788 | - module.exports = function(it){ | |
| 789 | - if(it == undefined)throw TypeError("Can't call method on " + it); | |
| 790 | - return it; | |
| 1012 | + var hasOwnProperty = {}.hasOwnProperty; | |
| 1013 | + module.exports = function(it, key){ | |
| 1014 | + return hasOwnProperty.call(it, key); | |
| 791 | 1015 | }; |
| 792 | 1016 | |
| 793 | 1017 | /***/ }), |
| 794 | 1018 | /* 17 */ |
| @@ -793,24 +1017,30 @@ | ||
| 793 | 1017 | /***/ }), |
| 794 | 1018 | /* 17 */ |
| 795 | 1019 | /***/ (function(module, exports, __webpack_require__) { |
| 796 | 1020 | |
| 797 | - // most Object methods by ES6 should accept primitives | |
| 798 | - var $export = __webpack_require__(18) | |
| 799 | - , core = __webpack_require__(20) | |
| 800 | - , fails = __webpack_require__(23); | |
| 801 | - module.exports = function(KEY, exec){ | |
| 802 | - var fn = (core.Object || {})[KEY] || Object[KEY] | |
| 803 | - , exp = {}; | |
| 804 | - exp[KEY] = exec(fn); | |
| 805 | - $export($export.S + $export.F * fails(function(){ fn(1); }), 'Object', exp); | |
| 1021 | + // Thank's IE8 for his funny defineProperty | |
| 1022 | + module.exports = !__webpack_require__(18)(function(){ | |
| 1023 | + return Object.defineProperty({}, 'a', {get: function(){ return 7; }}).a != 7; | |
| 1024 | + }); | |
| 1025 | + | |
| 1026 | +/***/ }), | |
| 1027 | +/* 18 */ | |
| 1028 | +/***/ (function(module, exports) { | |
| 1029 | + | |
| 1030 | + module.exports = function(exec){ | |
| 1031 | + try { | |
| 1032 | + return !!exec(); | |
| 1033 | + } catch(e){ | |
| 1034 | + return true; | |
| 1035 | + } | |
| 806 | 1036 | }; |
| 807 | 1037 | |
| 808 | 1038 | /***/ }), |
| 809 | -/* 18 */ | |
| 1039 | +/* 19 */ | |
| 810 | 1040 | /***/ (function(module, exports, __webpack_require__) { |
| 811 | 1041 | |
| 812 | - var global = __webpack_require__(19) | |
| 1042 | + var global = __webpack_require__(15) | |
| 813 | 1043 | , core = __webpack_require__(20) |
| 814 | 1044 | , ctx = __webpack_require__(21) |
| 815 | 1045 | , PROTOTYPE = 'prototype'; |
| 816 | 1046 | |
| @@ -856,17 +1086,8 @@ | ||
| 856 | 1086 | $export.W = 32; // wrap |
| 857 | 1087 | module.exports = $export; |
| 858 | 1088 | |
| 859 | 1089 | /***/ }), |
| 860 | -/* 19 */ | |
| 861 | -/***/ (function(module, exports) { | |
| 862 | - | |
| 863 | - // https://github.com/zloirock/core-js/issues/86#issuecomment-115759028 | |
| 864 | - var global = module.exports = typeof window != 'undefined' && window.Math == Math | |
| 865 | - ? window : typeof self != 'undefined' && self.Math == Math ? self : Function('return this')(); | |
| 866 | - if(typeof __g == 'number')__g = global; // eslint-disable-line no-undef | |
| 867 | - | |
| 868 | -/***/ }), | |
| 869 | 1090 | /* 20 */ |
| 870 | 1091 | /***/ (function(module, exports) { |
| 871 | 1092 | |
| 872 | 1093 | var core = module.exports = {version: '1.2.6'}; |
| @@ -907,24 +1128,565 @@ | ||
| 907 | 1128 | }; |
| 908 | 1129 | |
| 909 | 1130 | /***/ }), |
| 910 | 1131 | /* 23 */ |
| 1132 | +/***/ (function(module, exports, __webpack_require__) { | |
| 1133 | + | |
| 1134 | + module.exports = __webpack_require__(24); | |
| 1135 | + | |
| 1136 | +/***/ }), | |
| 1137 | +/* 24 */ | |
| 1138 | +/***/ (function(module, exports, __webpack_require__) { | |
| 1139 | + | |
| 1140 | + var $ = __webpack_require__(8) | |
| 1141 | + , createDesc = __webpack_require__(25); | |
| 1142 | + module.exports = __webpack_require__(17) ? function(object, key, value){ | |
| 1143 | + return $.setDesc(object, key, createDesc(1, value)); | |
| 1144 | + } : function(object, key, value){ | |
| 1145 | + object[key] = value; | |
| 1146 | + return object; | |
| 1147 | + }; | |
| 1148 | + | |
| 1149 | +/***/ }), | |
| 1150 | +/* 25 */ | |
| 911 | 1151 | /***/ (function(module, exports) { |
| 912 | 1152 | |
| 913 | - module.exports = function(exec){ | |
| 1153 | + module.exports = function(bitmap, value){ | |
| 1154 | + return { | |
| 1155 | + enumerable : !(bitmap & 1), | |
| 1156 | + configurable: !(bitmap & 2), | |
| 1157 | + writable : !(bitmap & 4), | |
| 1158 | + value : value | |
| 1159 | + }; | |
| 1160 | + }; | |
| 1161 | + | |
| 1162 | +/***/ }), | |
| 1163 | +/* 26 */ | |
| 1164 | +/***/ (function(module, exports, __webpack_require__) { | |
| 1165 | + | |
| 1166 | + var global = __webpack_require__(15) | |
| 1167 | + , SHARED = '__core-js_shared__' | |
| 1168 | + , store = global[SHARED] || (global[SHARED] = {}); | |
| 1169 | + module.exports = function(key){ | |
| 1170 | + return store[key] || (store[key] = {}); | |
| 1171 | + }; | |
| 1172 | + | |
| 1173 | +/***/ }), | |
| 1174 | +/* 27 */ | |
| 1175 | +/***/ (function(module, exports, __webpack_require__) { | |
| 1176 | + | |
| 1177 | + var def = __webpack_require__(8).setDesc | |
| 1178 | + , has = __webpack_require__(16) | |
| 1179 | + , TAG = __webpack_require__(28)('toStringTag'); | |
| 1180 | + | |
| 1181 | + module.exports = function(it, tag, stat){ | |
| 1182 | + if(it && !has(it = stat ? it : it.prototype, TAG))def(it, TAG, {configurable: true, value: tag}); | |
| 1183 | + }; | |
| 1184 | + | |
| 1185 | +/***/ }), | |
| 1186 | +/* 28 */ | |
| 1187 | +/***/ (function(module, exports, __webpack_require__) { | |
| 1188 | + | |
| 1189 | + var store = __webpack_require__(26)('wks') | |
| 1190 | + , uid = __webpack_require__(29) | |
| 1191 | + , Symbol = __webpack_require__(15).Symbol; | |
| 1192 | + module.exports = function(name){ | |
| 1193 | + return store[name] || (store[name] = | |
| 1194 | + Symbol && Symbol[name] || (Symbol || uid)('Symbol.' + name)); | |
| 1195 | + }; | |
| 1196 | + | |
| 1197 | +/***/ }), | |
| 1198 | +/* 29 */ | |
| 1199 | +/***/ (function(module, exports) { | |
| 1200 | + | |
| 1201 | + var id = 0 | |
| 1202 | + , px = Math.random(); | |
| 1203 | + module.exports = function(key){ | |
| 1204 | + return 'Symbol('.concat(key === undefined ? '' : key, ')_', (++id + px).toString(36)); | |
| 1205 | + }; | |
| 1206 | + | |
| 1207 | +/***/ }), | |
| 1208 | +/* 30 */ | |
| 1209 | +/***/ (function(module, exports, __webpack_require__) { | |
| 1210 | + | |
| 1211 | + var $ = __webpack_require__(8) | |
| 1212 | + , toIObject = __webpack_require__(31); | |
| 1213 | + module.exports = function(object, el){ | |
| 1214 | + var O = toIObject(object) | |
| 1215 | + , keys = $.getKeys(O) | |
| 1216 | + , length = keys.length | |
| 1217 | + , index = 0 | |
| 1218 | + , key; | |
| 1219 | + while(length > index)if(O[key = keys[index++]] === el)return key; | |
| 1220 | + }; | |
| 1221 | + | |
| 1222 | +/***/ }), | |
| 1223 | +/* 31 */ | |
| 1224 | +/***/ (function(module, exports, __webpack_require__) { | |
| 1225 | + | |
| 1226 | + // to indexed object, toObject with fallback for non-array-like ES3 strings | |
| 1227 | + var IObject = __webpack_require__(32) | |
| 1228 | + , defined = __webpack_require__(34); | |
| 1229 | + module.exports = function(it){ | |
| 1230 | + return IObject(defined(it)); | |
| 1231 | + }; | |
| 1232 | + | |
| 1233 | +/***/ }), | |
| 1234 | +/* 32 */ | |
| 1235 | +/***/ (function(module, exports, __webpack_require__) { | |
| 1236 | + | |
| 1237 | + // fallback for non-array-like ES3 and non-enumerable old V8 strings | |
| 1238 | + var cof = __webpack_require__(33); | |
| 1239 | + module.exports = Object('z').propertyIsEnumerable(0) ? Object : function(it){ | |
| 1240 | + return cof(it) == 'String' ? it.split('') : Object(it); | |
| 1241 | + }; | |
| 1242 | + | |
| 1243 | +/***/ }), | |
| 1244 | +/* 33 */ | |
| 1245 | +/***/ (function(module, exports) { | |
| 1246 | + | |
| 1247 | + var toString = {}.toString; | |
| 1248 | + | |
| 1249 | + module.exports = function(it){ | |
| 1250 | + return toString.call(it).slice(8, -1); | |
| 1251 | + }; | |
| 1252 | + | |
| 1253 | +/***/ }), | |
| 1254 | +/* 34 */ | |
| 1255 | +/***/ (function(module, exports) { | |
| 1256 | + | |
| 1257 | + // 7.2.1 RequireObjectCoercible(argument) | |
| 1258 | + module.exports = function(it){ | |
| 1259 | + if(it == undefined)throw TypeError("Can't call method on " + it); | |
| 1260 | + return it; | |
| 1261 | + }; | |
| 1262 | + | |
| 1263 | +/***/ }), | |
| 1264 | +/* 35 */ | |
| 1265 | +/***/ (function(module, exports, __webpack_require__) { | |
| 1266 | + | |
| 1267 | + // fallback for IE11 buggy Object.getOwnPropertyNames with iframe and window | |
| 1268 | + var toIObject = __webpack_require__(31) | |
| 1269 | + , getNames = __webpack_require__(8).getNames | |
| 1270 | + , toString = {}.toString; | |
| 1271 | + | |
| 1272 | + var windowNames = typeof window == 'object' && Object.getOwnPropertyNames | |
| 1273 | + ? Object.getOwnPropertyNames(window) : []; | |
| 1274 | + | |
| 1275 | + var getWindowNames = function(it){ | |
| 914 | 1276 | try { |
| 915 | - return !!exec(); | |
| 1277 | + return getNames(it); | |
| 916 | 1278 | } catch(e){ |
| 917 | - return true; | |
| 1279 | + return windowNames.slice(); | |
| 918 | 1280 | } |
| 919 | 1281 | }; |
| 920 | 1282 | |
| 1283 | + module.exports.get = function getOwnPropertyNames(it){ | |
| 1284 | + if(windowNames && toString.call(it) == '[object Window]')return getWindowNames(it); | |
| 1285 | + return getNames(toIObject(it)); | |
| 1286 | + }; | |
| 1287 | + | |
| 921 | 1288 | /***/ }), |
| 922 | -/* 24 */ | |
| 1289 | +/* 36 */ | |
| 923 | 1290 | /***/ (function(module, exports, __webpack_require__) { |
| 924 | 1291 | |
| 1292 | + // all enumerable object keys, includes symbols | |
| 1293 | + var $ = __webpack_require__(8); | |
| 1294 | + module.exports = function(it){ | |
| 1295 | + var keys = $.getKeys(it) | |
| 1296 | + , getSymbols = $.getSymbols; | |
| 1297 | + if(getSymbols){ | |
| 1298 | + var symbols = getSymbols(it) | |
| 1299 | + , isEnum = $.isEnum | |
| 1300 | + , i = 0 | |
| 1301 | + , key; | |
| 1302 | + while(symbols.length > i)if(isEnum.call(it, key = symbols[i++]))keys.push(key); | |
| 1303 | + } | |
| 1304 | + return keys; | |
| 1305 | + }; | |
| 1306 | + | |
| 1307 | +/***/ }), | |
| 1308 | +/* 37 */ | |
| 1309 | +/***/ (function(module, exports, __webpack_require__) { | |
| 1310 | + | |
| 1311 | + // 7.2.2 IsArray(argument) | |
| 1312 | + var cof = __webpack_require__(33); | |
| 1313 | + module.exports = Array.isArray || function(arg){ | |
| 1314 | + return cof(arg) == 'Array'; | |
| 1315 | + }; | |
| 1316 | + | |
| 1317 | +/***/ }), | |
| 1318 | +/* 38 */ | |
| 1319 | +/***/ (function(module, exports, __webpack_require__) { | |
| 1320 | + | |
| 1321 | + var isObject = __webpack_require__(39); | |
| 1322 | + module.exports = function(it){ | |
| 1323 | + if(!isObject(it))throw TypeError(it + ' is not an object!'); | |
| 1324 | + return it; | |
| 1325 | + }; | |
| 1326 | + | |
| 1327 | +/***/ }), | |
| 1328 | +/* 39 */ | |
| 1329 | +/***/ (function(module, exports) { | |
| 1330 | + | |
| 1331 | + module.exports = function(it){ | |
| 1332 | + return typeof it === 'object' ? it !== null : typeof it === 'function'; | |
| 1333 | + }; | |
| 1334 | + | |
| 1335 | +/***/ }), | |
| 1336 | +/* 40 */ | |
| 1337 | +/***/ (function(module, exports) { | |
| 1338 | + | |
| 1339 | + module.exports = true; | |
| 1340 | + | |
| 1341 | +/***/ }), | |
| 1342 | +/* 41 */ | |
| 1343 | +/***/ (function(module, exports) { | |
| 1344 | + | |
| 1345 | + | |
| 1346 | + | |
| 1347 | +/***/ }), | |
| 1348 | +/* 42 */ | |
| 1349 | +/***/ (function(module, exports, __webpack_require__) { | |
| 1350 | + | |
| 1351 | + module.exports = { "default": __webpack_require__(43), __esModule: true }; | |
| 1352 | + | |
| 1353 | +/***/ }), | |
| 1354 | +/* 43 */ | |
| 1355 | +/***/ (function(module, exports, __webpack_require__) { | |
| 1356 | + | |
| 1357 | + __webpack_require__(44); | |
| 1358 | + __webpack_require__(50); | |
| 1359 | + module.exports = __webpack_require__(28)('iterator'); | |
| 1360 | + | |
| 1361 | +/***/ }), | |
| 1362 | +/* 44 */ | |
| 1363 | +/***/ (function(module, exports, __webpack_require__) { | |
| 1364 | + | |
| 925 | 1365 | 'use strict'; |
| 1366 | + var $at = __webpack_require__(45)(true); | |
| 926 | 1367 | |
| 1368 | + // 21.1.3.27 String.prototype[@@iterator]() | |
| 1369 | + __webpack_require__(47)(String, 'String', function(iterated){ | |
| 1370 | + this._t = String(iterated); // target | |
| 1371 | + this._i = 0; // next index | |
| 1372 | + // 21.1.5.2.1 %StringIteratorPrototype%.next() | |
| 1373 | + }, function(){ | |
| 1374 | + var O = this._t | |
| 1375 | + , index = this._i | |
| 1376 | + , point; | |
| 1377 | + if(index >= O.length)return {value: undefined, done: true}; | |
| 1378 | + point = $at(O, index); | |
| 1379 | + this._i += point.length; | |
| 1380 | + return {value: point, done: false}; | |
| 1381 | + }); | |
| 1382 | + | |
| 1383 | +/***/ }), | |
| 1384 | +/* 45 */ | |
| 1385 | +/***/ (function(module, exports, __webpack_require__) { | |
| 1386 | + | |
| 1387 | + var toInteger = __webpack_require__(46) | |
| 1388 | + , defined = __webpack_require__(34); | |
| 1389 | + // true -> String#at | |
| 1390 | + // false -> String#codePointAt | |
| 1391 | + module.exports = function(TO_STRING){ | |
| 1392 | + return function(that, pos){ | |
| 1393 | + var s = String(defined(that)) | |
| 1394 | + , i = toInteger(pos) | |
| 1395 | + , l = s.length | |
| 1396 | + , a, b; | |
| 1397 | + if(i < 0 || i >= l)return TO_STRING ? '' : undefined; | |
| 1398 | + a = s.charCodeAt(i); | |
| 1399 | + return a < 0xd800 || a > 0xdbff || i + 1 === l || (b = s.charCodeAt(i + 1)) < 0xdc00 || b > 0xdfff | |
| 1400 | + ? TO_STRING ? s.charAt(i) : a | |
| 1401 | + : TO_STRING ? s.slice(i, i + 2) : (a - 0xd800 << 10) + (b - 0xdc00) + 0x10000; | |
| 1402 | + }; | |
| 1403 | + }; | |
| 1404 | + | |
| 1405 | +/***/ }), | |
| 1406 | +/* 46 */ | |
| 1407 | +/***/ (function(module, exports) { | |
| 1408 | + | |
| 1409 | + // 7.1.4 ToInteger | |
| 1410 | + var ceil = Math.ceil | |
| 1411 | + , floor = Math.floor; | |
| 1412 | + module.exports = function(it){ | |
| 1413 | + return isNaN(it = +it) ? 0 : (it > 0 ? floor : ceil)(it); | |
| 1414 | + }; | |
| 1415 | + | |
| 1416 | +/***/ }), | |
| 1417 | +/* 47 */ | |
| 1418 | +/***/ (function(module, exports, __webpack_require__) { | |
| 1419 | + | |
| 1420 | + 'use strict'; | |
| 1421 | + var LIBRARY = __webpack_require__(40) | |
| 1422 | + , $export = __webpack_require__(19) | |
| 1423 | + , redefine = __webpack_require__(23) | |
| 1424 | + , hide = __webpack_require__(24) | |
| 1425 | + , has = __webpack_require__(16) | |
| 1426 | + , Iterators = __webpack_require__(48) | |
| 1427 | + , $iterCreate = __webpack_require__(49) | |
| 1428 | + , setToStringTag = __webpack_require__(27) | |
| 1429 | + , getProto = __webpack_require__(8).getProto | |
| 1430 | + , ITERATOR = __webpack_require__(28)('iterator') | |
| 1431 | + , BUGGY = !([].keys && 'next' in [].keys()) // Safari has buggy iterators w/o `next` | |
| 1432 | + , FF_ITERATOR = '@@iterator' | |
| 1433 | + , KEYS = 'keys' | |
| 1434 | + , VALUES = 'values'; | |
| 1435 | + | |
| 1436 | + var returnThis = function(){ return this; }; | |
| 1437 | + | |
| 1438 | + module.exports = function(Base, NAME, Constructor, next, DEFAULT, IS_SET, FORCED){ | |
| 1439 | + $iterCreate(Constructor, NAME, next); | |
| 1440 | + var getMethod = function(kind){ | |
| 1441 | + if(!BUGGY && kind in proto)return proto[kind]; | |
| 1442 | + switch(kind){ | |
| 1443 | + case KEYS: return function keys(){ return new Constructor(this, kind); }; | |
| 1444 | + case VALUES: return function values(){ return new Constructor(this, kind); }; | |
| 1445 | + } return function entries(){ return new Constructor(this, kind); }; | |
| 1446 | + }; | |
| 1447 | + var TAG = NAME + ' Iterator' | |
| 1448 | + , DEF_VALUES = DEFAULT == VALUES | |
| 1449 | + , VALUES_BUG = false | |
| 1450 | + , proto = Base.prototype | |
| 1451 | + , $native = proto[ITERATOR] || proto[FF_ITERATOR] || DEFAULT && proto[DEFAULT] | |
| 1452 | + , $default = $native || getMethod(DEFAULT) | |
| 1453 | + , methods, key; | |
| 1454 | + // Fix native | |
| 1455 | + if($native){ | |
| 1456 | + var IteratorPrototype = getProto($default.call(new Base)); | |
| 1457 | + // Set @@toStringTag to native iterators | |
| 1458 | + setToStringTag(IteratorPrototype, TAG, true); | |
| 1459 | + // FF fix | |
| 1460 | + if(!LIBRARY && has(proto, FF_ITERATOR))hide(IteratorPrototype, ITERATOR, returnThis); | |
| 1461 | + // fix Array#{values, @@iterator}.name in V8 / FF | |
| 1462 | + if(DEF_VALUES && $native.name !== VALUES){ | |
| 1463 | + VALUES_BUG = true; | |
| 1464 | + $default = function values(){ return $native.call(this); }; | |
| 1465 | + } | |
| 1466 | + } | |
| 1467 | + // Define iterator | |
| 1468 | + if((!LIBRARY || FORCED) && (BUGGY || VALUES_BUG || !proto[ITERATOR])){ | |
| 1469 | + hide(proto, ITERATOR, $default); | |
| 1470 | + } | |
| 1471 | + // Plug for library | |
| 1472 | + Iterators[NAME] = $default; | |
| 1473 | + Iterators[TAG] = returnThis; | |
| 1474 | + if(DEFAULT){ | |
| 1475 | + methods = { | |
| 1476 | + values: DEF_VALUES ? $default : getMethod(VALUES), | |
| 1477 | + keys: IS_SET ? $default : getMethod(KEYS), | |
| 1478 | + entries: !DEF_VALUES ? $default : getMethod('entries') | |
| 1479 | + }; | |
| 1480 | + if(FORCED)for(key in methods){ | |
| 1481 | + if(!(key in proto))redefine(proto, key, methods[key]); | |
| 1482 | + } else $export($export.P + $export.F * (BUGGY || VALUES_BUG), NAME, methods); | |
| 1483 | + } | |
| 1484 | + return methods; | |
| 1485 | + }; | |
| 1486 | + | |
| 1487 | +/***/ }), | |
| 1488 | +/* 48 */ | |
| 1489 | +/***/ (function(module, exports) { | |
| 1490 | + | |
| 1491 | + module.exports = {}; | |
| 1492 | + | |
| 1493 | +/***/ }), | |
| 1494 | +/* 49 */ | |
| 1495 | +/***/ (function(module, exports, __webpack_require__) { | |
| 1496 | + | |
| 1497 | + 'use strict'; | |
| 1498 | + var $ = __webpack_require__(8) | |
| 1499 | + , descriptor = __webpack_require__(25) | |
| 1500 | + , setToStringTag = __webpack_require__(27) | |
| 1501 | + , IteratorPrototype = {}; | |
| 1502 | + | |
| 1503 | + // 25.1.2.1.1 %IteratorPrototype%[@@iterator]() | |
| 1504 | + __webpack_require__(24)(IteratorPrototype, __webpack_require__(28)('iterator'), function(){ return this; }); | |
| 1505 | + | |
| 1506 | + module.exports = function(Constructor, NAME, next){ | |
| 1507 | + Constructor.prototype = $.create(IteratorPrototype, {next: descriptor(1, next)}); | |
| 1508 | + setToStringTag(Constructor, NAME + ' Iterator'); | |
| 1509 | + }; | |
| 1510 | + | |
| 1511 | +/***/ }), | |
| 1512 | +/* 50 */ | |
| 1513 | +/***/ (function(module, exports, __webpack_require__) { | |
| 1514 | + | |
| 1515 | + __webpack_require__(51); | |
| 1516 | + var Iterators = __webpack_require__(48); | |
| 1517 | + Iterators.NodeList = Iterators.HTMLCollection = Iterators.Array; | |
| 1518 | + | |
| 1519 | +/***/ }), | |
| 1520 | +/* 51 */ | |
| 1521 | +/***/ (function(module, exports, __webpack_require__) { | |
| 1522 | + | |
| 1523 | + 'use strict'; | |
| 1524 | + var addToUnscopables = __webpack_require__(52) | |
| 1525 | + , step = __webpack_require__(53) | |
| 1526 | + , Iterators = __webpack_require__(48) | |
| 1527 | + , toIObject = __webpack_require__(31); | |
| 1528 | + | |
| 1529 | + // 22.1.3.4 Array.prototype.entries() | |
| 1530 | + // 22.1.3.13 Array.prototype.keys() | |
| 1531 | + // 22.1.3.29 Array.prototype.values() | |
| 1532 | + // 22.1.3.30 Array.prototype[@@iterator]() | |
| 1533 | + module.exports = __webpack_require__(47)(Array, 'Array', function(iterated, kind){ | |
| 1534 | + this._t = toIObject(iterated); // target | |
| 1535 | + this._i = 0; // next index | |
| 1536 | + this._k = kind; // kind | |
| 1537 | + // 22.1.5.2.1 %ArrayIteratorPrototype%.next() | |
| 1538 | + }, function(){ | |
| 1539 | + var O = this._t | |
| 1540 | + , kind = this._k | |
| 1541 | + , index = this._i++; | |
| 1542 | + if(!O || index >= O.length){ | |
| 1543 | + this._t = undefined; | |
| 1544 | + return step(1); | |
| 1545 | + } | |
| 1546 | + if(kind == 'keys' )return step(0, index); | |
| 1547 | + if(kind == 'values')return step(0, O[index]); | |
| 1548 | + return step(0, [index, O[index]]); | |
| 1549 | + }, 'values'); | |
| 1550 | + | |
| 1551 | + // argumentsList[@@iterator] is %ArrayProto_values% (9.4.4.6, 9.4.4.7) | |
| 1552 | + Iterators.Arguments = Iterators.Array; | |
| 1553 | + | |
| 1554 | + addToUnscopables('keys'); | |
| 1555 | + addToUnscopables('values'); | |
| 1556 | + addToUnscopables('entries'); | |
| 1557 | + | |
| 1558 | +/***/ }), | |
| 1559 | +/* 52 */ | |
| 1560 | +/***/ (function(module, exports) { | |
| 1561 | + | |
| 1562 | + module.exports = function(){ /* empty */ }; | |
| 1563 | + | |
| 1564 | +/***/ }), | |
| 1565 | +/* 53 */ | |
| 1566 | +/***/ (function(module, exports) { | |
| 1567 | + | |
| 1568 | + module.exports = function(done, value){ | |
| 1569 | + return {value: value, done: !!done}; | |
| 1570 | + }; | |
| 1571 | + | |
| 1572 | +/***/ }), | |
| 1573 | +/* 54 */ | |
| 1574 | +/***/ (function(module, exports, __webpack_require__) { | |
| 1575 | + | |
| 1576 | + module.exports = { "default": __webpack_require__(55), __esModule: true }; | |
| 1577 | + | |
| 1578 | +/***/ }), | |
| 1579 | +/* 55 */ | |
| 1580 | +/***/ (function(module, exports, __webpack_require__) { | |
| 1581 | + | |
| 1582 | + __webpack_require__(50); | |
| 1583 | + __webpack_require__(44); | |
| 1584 | + module.exports = __webpack_require__(56); | |
| 1585 | + | |
| 1586 | +/***/ }), | |
| 1587 | +/* 56 */ | |
| 1588 | +/***/ (function(module, exports, __webpack_require__) { | |
| 1589 | + | |
| 1590 | + var anObject = __webpack_require__(38) | |
| 1591 | + , get = __webpack_require__(57); | |
| 1592 | + module.exports = __webpack_require__(20).getIterator = function(it){ | |
| 1593 | + var iterFn = get(it); | |
| 1594 | + if(typeof iterFn != 'function')throw TypeError(it + ' is not iterable!'); | |
| 1595 | + return anObject(iterFn.call(it)); | |
| 1596 | + }; | |
| 1597 | + | |
| 1598 | +/***/ }), | |
| 1599 | +/* 57 */ | |
| 1600 | +/***/ (function(module, exports, __webpack_require__) { | |
| 1601 | + | |
| 1602 | + var classof = __webpack_require__(58) | |
| 1603 | + , ITERATOR = __webpack_require__(28)('iterator') | |
| 1604 | + , Iterators = __webpack_require__(48); | |
| 1605 | + module.exports = __webpack_require__(20).getIteratorMethod = function(it){ | |
| 1606 | + if(it != undefined)return it[ITERATOR] | |
| 1607 | + || it['@@iterator'] | |
| 1608 | + || Iterators[classof(it)]; | |
| 1609 | + }; | |
| 1610 | + | |
| 1611 | +/***/ }), | |
| 1612 | +/* 58 */ | |
| 1613 | +/***/ (function(module, exports, __webpack_require__) { | |
| 1614 | + | |
| 1615 | + // getting tag from 19.1.3.6 Object.prototype.toString() | |
| 1616 | + var cof = __webpack_require__(33) | |
| 1617 | + , TAG = __webpack_require__(28)('toStringTag') | |
| 1618 | + // ES3 wrong here | |
| 1619 | + , ARG = cof(function(){ return arguments; }()) == 'Arguments'; | |
| 1620 | + | |
| 1621 | + module.exports = function(it){ | |
| 1622 | + var O, T, B; | |
| 1623 | + return it === undefined ? 'Undefined' : it === null ? 'Null' | |
| 1624 | + // @@toStringTag case | |
| 1625 | + : typeof (T = (O = Object(it))[TAG]) == 'string' ? T | |
| 1626 | + // builtinTag case | |
| 1627 | + : ARG ? cof(O) | |
| 1628 | + // ES3 arguments fallback | |
| 1629 | + : (B = cof(O)) == 'Object' && typeof O.callee == 'function' ? 'Arguments' : B; | |
| 1630 | + }; | |
| 1631 | + | |
| 1632 | +/***/ }), | |
| 1633 | +/* 59 */ | |
| 1634 | +/***/ (function(module, exports, __webpack_require__) { | |
| 1635 | + | |
| 1636 | + module.exports = { "default": __webpack_require__(60), __esModule: true }; | |
| 1637 | + | |
| 1638 | +/***/ }), | |
| 1639 | +/* 60 */ | |
| 1640 | +/***/ (function(module, exports, __webpack_require__) { | |
| 1641 | + | |
| 1642 | + __webpack_require__(61); | |
| 1643 | + module.exports = __webpack_require__(20).Object.keys; | |
| 1644 | + | |
| 1645 | +/***/ }), | |
| 1646 | +/* 61 */ | |
| 1647 | +/***/ (function(module, exports, __webpack_require__) { | |
| 1648 | + | |
| 1649 | + // 19.1.2.14 Object.keys(O) | |
| 1650 | + var toObject = __webpack_require__(62); | |
| 1651 | + | |
| 1652 | + __webpack_require__(63)('keys', function($keys){ | |
| 1653 | + return function keys(it){ | |
| 1654 | + return $keys(toObject(it)); | |
| 1655 | + }; | |
| 1656 | + }); | |
| 1657 | + | |
| 1658 | +/***/ }), | |
| 1659 | +/* 62 */ | |
| 1660 | +/***/ (function(module, exports, __webpack_require__) { | |
| 1661 | + | |
| 1662 | + // 7.1.13 ToObject(argument) | |
| 1663 | + var defined = __webpack_require__(34); | |
| 1664 | + module.exports = function(it){ | |
| 1665 | + return Object(defined(it)); | |
| 1666 | + }; | |
| 1667 | + | |
| 1668 | +/***/ }), | |
| 1669 | +/* 63 */ | |
| 1670 | +/***/ (function(module, exports, __webpack_require__) { | |
| 1671 | + | |
| 1672 | + // most Object methods by ES6 should accept primitives | |
| 1673 | + var $export = __webpack_require__(19) | |
| 1674 | + , core = __webpack_require__(20) | |
| 1675 | + , fails = __webpack_require__(18); | |
| 1676 | + module.exports = function(KEY, exec){ | |
| 1677 | + var fn = (core.Object || {})[KEY] || Object[KEY] | |
| 1678 | + , exp = {}; | |
| 1679 | + exp[KEY] = exec(fn); | |
| 1680 | + $export($export.S + $export.F * fails(function(){ fn(1); }), 'Object', exp); | |
| 1681 | + }; | |
| 1682 | + | |
| 1683 | +/***/ }), | |
| 1684 | +/* 64 */ | |
| 1685 | +/***/ (function(module, exports, __webpack_require__) { | |
| 1686 | + | |
| 1687 | + 'use strict'; | |
| 1688 | + | |
| 927 | 1689 | var _interopRequireDefault = __webpack_require__(2)['default']; |
| 928 | 1690 | |
| 929 | 1691 | exports.__esModule = true; |
| 930 | 1692 | |
| @@ -946,9 +1708,9 @@ | ||
| 946 | 1708 | |
| 947 | 1709 | module.exports = exports['default']; |
| 948 | 1710 | |
| 949 | 1711 | /***/ }), |
| 950 | -/* 25 */ | |
| 1712 | +/* 65 */ | |
| 951 | 1713 | /***/ (function(module, exports, __webpack_require__) { |
| 952 | 1714 | |
| 953 | 1715 | 'use strict'; |
| 954 | 1716 | |
| @@ -995,9 +1757,9 @@ | ||
| 995 | 1757 | |
| 996 | 1758 | module.exports = exports['default']; |
| 997 | 1759 | |
| 998 | 1760 | /***/ }), |
| 999 | -/* 26 */ | |
| 1761 | +/* 66 */ | |
| 1000 | 1762 | /***/ (function(module, exports) { |
| 1001 | 1763 | |
| 1002 | 1764 | 'use strict'; |
| 1003 | 1765 | |
| @@ -1025,9 +1787,9 @@ | ||
| 1025 | 1787 | |
| 1026 | 1788 | module.exports = exports['default']; |
| 1027 | 1789 | |
| 1028 | 1790 | /***/ }), |
| 1029 | -/* 27 */ | |
| 1791 | +/* 67 */ | |
| 1030 | 1792 | /***/ (function(module, exports) { |
| 1031 | 1793 | |
| 1032 | 1794 | 'use strict'; |
| 1033 | 1795 | |
| @@ -1045,9 +1807,9 @@ | ||
| 1045 | 1807 | |
| 1046 | 1808 | module.exports = exports['default']; |
| 1047 | 1809 | |
| 1048 | 1810 | /***/ }), |
| 1049 | -/* 28 */ | |
| 1811 | +/* 68 */ | |
| 1050 | 1812 | /***/ (function(module, exports, __webpack_require__) { |
| 1051 | 1813 | |
| 1052 | 1814 | 'use strict'; |
| 1053 | 1815 | |
| @@ -1091,9 +1853,9 @@ | ||
| 1091 | 1853 | |
| 1092 | 1854 | module.exports = exports['default']; |
| 1093 | 1855 | |
| 1094 | 1856 | /***/ }), |
| 1095 | -/* 29 */ | |
| 1857 | +/* 69 */ | |
| 1096 | 1858 | /***/ (function(module, exports, __webpack_require__) { |
| 1097 | 1859 | |
| 1098 | 1860 | 'use strict'; |
| 1099 | 1861 | |
| @@ -1101,9 +1863,9 @@ | ||
| 1101 | 1863 | |
| 1102 | 1864 | exports.__esModule = true; |
| 1103 | 1865 | exports.registerDefaultDecorators = registerDefaultDecorators; |
| 1104 | 1866 | |
| 1105 | - var _decoratorsInline = __webpack_require__(30); | |
| 1867 | + var _decoratorsInline = __webpack_require__(70); | |
| 1106 | 1868 | |
| 1107 | 1869 | var _decoratorsInline2 = _interopRequireDefault(_decoratorsInline); |
| 1108 | 1870 | |
| 1109 | 1871 | function registerDefaultDecorators(instance) { |
| @@ -1110,9 +1872,9 @@ | ||
| 1110 | 1872 | _decoratorsInline2['default'](instance); |
| 1111 | 1873 | } |
| 1112 | 1874 | |
| 1113 | 1875 | /***/ }), |
| 1114 | -/* 30 */ | |
| 1876 | +/* 70 */ | |
| 1115 | 1877 | /***/ (function(module, exports, __webpack_require__) { |
| 1116 | 1878 | |
| 1117 | 1879 | 'use strict'; |
| 1118 | 1880 | |
| @@ -1143,9 +1905,9 @@ | ||
| 1143 | 1905 | |
| 1144 | 1906 | module.exports = exports['default']; |
| 1145 | 1907 | |
| 1146 | 1908 | /***/ }), |
| 1147 | -/* 31 */ | |
| 1909 | +/* 71 */ | |
| 1148 | 1910 | /***/ (function(module, exports, __webpack_require__) { |
| 1149 | 1911 | |
| 1150 | 1912 | 'use strict'; |
| 1151 | 1913 | |
| @@ -1194,18 +1956,18 @@ | ||
| 1194 | 1956 | exports['default'] = logger; |
| 1195 | 1957 | module.exports = exports['default']; |
| 1196 | 1958 | |
| 1197 | 1959 | /***/ }), |
| 1198 | -/* 32 */ | |
| 1960 | +/* 72 */ | |
| 1199 | 1961 | /***/ (function(module, exports, __webpack_require__) { |
| 1200 | 1962 | |
| 1201 | 1963 | 'use strict'; |
| 1202 | 1964 | |
| 1203 | - var _Object$create = __webpack_require__(33)['default']; | |
| 1965 | + var _Object$create = __webpack_require__(73)['default']; | |
| 1204 | 1966 | |
| 1205 | - var _Object$keys = __webpack_require__(12)['default']; | |
| 1967 | + var _Object$keys = __webpack_require__(59)['default']; | |
| 1206 | 1968 | |
| 1207 | - var _interopRequireWildcard = __webpack_require__(1)['default']; | |
| 1969 | + var _interopRequireDefault = __webpack_require__(2)['default']; | |
| 1208 | 1970 | |
| 1209 | 1971 | exports.__esModule = true; |
| 1210 | 1972 | exports.createProtoAccessControl = createProtoAccessControl; |
| 1211 | 1973 | exports.resultIsAllowed = resultIsAllowed; |
| @@ -1210,34 +1972,39 @@ | ||
| 1210 | 1972 | exports.createProtoAccessControl = createProtoAccessControl; |
| 1211 | 1973 | exports.resultIsAllowed = resultIsAllowed; |
| 1212 | 1974 | exports.resetLoggedProperties = resetLoggedProperties; |
| 1213 | 1975 | |
| 1214 | - var _createNewLookupObject = __webpack_require__(35); | |
| 1976 | + var _utils = __webpack_require__(4); | |
| 1215 | 1977 | |
| 1216 | - var _logger = __webpack_require__(31); | |
| 1978 | + var _logger = __webpack_require__(71); | |
| 1217 | 1979 | |
| 1218 | - var logger = _interopRequireWildcard(_logger); | |
| 1980 | + var _logger2 = _interopRequireDefault(_logger); | |
| 1219 | 1981 | |
| 1220 | 1982 | var loggedProperties = _Object$create(null); |
| 1221 | 1983 | |
| 1222 | 1984 | function createProtoAccessControl(runtimeOptions) { |
| 1223 | - var defaultMethodWhiteList = _Object$create(null); | |
| 1224 | - defaultMethodWhiteList['constructor'] = false; | |
| 1225 | - defaultMethodWhiteList['__defineGetter__'] = false; | |
| 1226 | - defaultMethodWhiteList['__defineSetter__'] = false; | |
| 1227 | - defaultMethodWhiteList['__lookupGetter__'] = false; | |
| 1985 | + // Create an object with "null"-prototype to avoid truthy results on | |
| 1986 | + // prototype properties. | |
| 1987 | + var propertyWhiteList = _Object$create(null); | |
| 1988 | + // eslint-disable-next-line no-proto | |
| 1989 | + propertyWhiteList['__proto__'] = false; | |
| 1990 | + _utils.extend(propertyWhiteList, runtimeOptions.allowedProtoProperties); | |
| 1228 | 1991 | |
| 1229 | - var defaultPropertyWhiteList = _Object$create(null); | |
| 1230 | - // eslint-disable-next-line no-proto | |
| 1231 | - defaultPropertyWhiteList['__proto__'] = false; | |
| 1992 | + var methodWhiteList = _Object$create(null); | |
| 1993 | + methodWhiteList['constructor'] = false; | |
| 1994 | + methodWhiteList['__defineGetter__'] = false; | |
| 1995 | + methodWhiteList['__defineSetter__'] = false; | |
| 1996 | + methodWhiteList['__lookupGetter__'] = false; | |
| 1997 | + methodWhiteList['__lookupSetter__'] = false; | |
| 1998 | + _utils.extend(methodWhiteList, runtimeOptions.allowedProtoMethods); | |
| 1232 | 1999 | |
| 1233 | 2000 | return { |
| 1234 | 2001 | properties: { |
| 1235 | - whitelist: _createNewLookupObject.createNewLookupObject(defaultPropertyWhiteList, runtimeOptions.allowedProtoProperties), | |
| 2002 | + whitelist: propertyWhiteList, | |
| 1236 | 2003 | defaultValue: runtimeOptions.allowProtoPropertiesByDefault |
| 1237 | 2004 | }, |
| 1238 | 2005 | methods: { |
| 1239 | - whitelist: _createNewLookupObject.createNewLookupObject(defaultMethodWhiteList, runtimeOptions.allowedProtoMethods), | |
| 2006 | + whitelist: methodWhiteList, | |
| 1240 | 2007 | defaultValue: runtimeOptions.allowProtoMethodsByDefault |
| 1241 | 2008 | } |
| 1242 | 2009 | }; |
| 1243 | 2010 | } |
| @@ -1263,9 +2030,9 @@ | ||
| 1263 | 2030 | |
| 1264 | 2031 | function logUnexpecedPropertyAccessOnce(propertyName) { |
| 1265 | 2032 | if (loggedProperties[propertyName] !== true) { |
| 1266 | 2033 | loggedProperties[propertyName] = true; |
| 1267 | - logger.log('error', 'Handlebars: Access has been denied to resolve the property "' + propertyName + '" because it is not an "own property" of its parent.\n' + 'You can add a runtime option to disable the check or this warning:\n' + 'See https://handlebarsjs.com/api-reference/runtime-options.html#options-to-control-prototype-access for details'); | |
| 2034 | + _logger2['default'].log('error', 'Handlebars: Access has been denied to resolve the property "' + propertyName + '" because it is not an "own property" of its parent.\n' + 'You can add a runtime option to disable the check or this warning:\n' + 'See https://handlebarsjs.com/api-reference/runtime-options.html#options-to-control-prototype-access for details'); | |
| 1268 | 2035 | } |
| 1269 | 2036 | } |
| 1270 | 2037 | |
| 1271 | 2038 | function resetLoggedProperties() { |
| @@ -1274,15 +2041,15 @@ | ||
| 1274 | 2041 | }); |
| 1275 | 2042 | } |
| 1276 | 2043 | |
| 1277 | 2044 | /***/ }), |
| 1278 | -/* 33 */ | |
| 2045 | +/* 73 */ | |
| 1279 | 2046 | /***/ (function(module, exports, __webpack_require__) { |
| 1280 | 2047 | |
| 1281 | - module.exports = { "default": __webpack_require__(34), __esModule: true }; | |
| 2048 | + module.exports = { "default": __webpack_require__(74), __esModule: true }; | |
| 1282 | 2049 | |
| 1283 | 2050 | /***/ }), |
| 1284 | -/* 34 */ | |
| 2051 | +/* 74 */ | |
| 1285 | 2052 | /***/ (function(module, exports, __webpack_require__) { |
| 1286 | 2053 | |
| 1287 | 2054 | var $ = __webpack_require__(8); |
| 1288 | 2055 | module.exports = function create(P, D){ |
| @@ -1289,37 +2056,9 @@ | ||
| 1289 | 2056 | return $.create(P, D); |
| 1290 | 2057 | }; |
| 1291 | 2058 | |
| 1292 | 2059 | /***/ }), |
| 1293 | -/* 35 */ | |
| 1294 | -/***/ (function(module, exports, __webpack_require__) { | |
| 1295 | - | |
| 1296 | - 'use strict'; | |
| 1297 | - | |
| 1298 | - var _Object$create = __webpack_require__(33)['default']; | |
| 1299 | - | |
| 1300 | - exports.__esModule = true; | |
| 1301 | - exports.createNewLookupObject = createNewLookupObject; | |
| 1302 | - | |
| 1303 | - var _utils = __webpack_require__(4); | |
| 1304 | - | |
| 1305 | - /** | |
| 1306 | - * Create a new object with "null"-prototype to avoid truthy results on prototype properties. | |
| 1307 | - * The resulting object can be used with "object[property]" to check if a property exists | |
| 1308 | - * @param {...object} sources a varargs parameter of source objects that will be merged | |
| 1309 | - * @returns {object} | |
| 1310 | - */ | |
| 1311 | - | |
| 1312 | - function createNewLookupObject() { | |
| 1313 | - for (var _len = arguments.length, sources = Array(_len), _key = 0; _key < _len; _key++) { | |
| 1314 | - sources[_key] = arguments[_key]; | |
| 1315 | - } | |
| 1316 | - | |
| 1317 | - return _utils.extend.apply(undefined, [_Object$create(null)].concat(sources)); | |
| 1318 | - } | |
| 1319 | - | |
| 1320 | -/***/ }), | |
| 1321 | -/* 36 */ | |
| 2060 | +/* 75 */ | |
| 1322 | 2061 | /***/ (function(module, exports) { |
| 1323 | 2062 | |
| 1324 | 2063 | // Build out our basic SafeString type |
| 1325 | 2064 | 'use strict'; |
| @@ -1336,16 +2075,16 @@ | ||
| 1336 | 2075 | exports['default'] = SafeString; |
| 1337 | 2076 | module.exports = exports['default']; |
| 1338 | 2077 | |
| 1339 | 2078 | /***/ }), |
| 1340 | -/* 37 */ | |
| 2079 | +/* 76 */ | |
| 1341 | 2080 | /***/ (function(module, exports, __webpack_require__) { |
| 1342 | 2081 | |
| 1343 | 2082 | 'use strict'; |
| 1344 | 2083 | |
| 1345 | - var _Object$seal = __webpack_require__(38)['default']; | |
| 2084 | + var _Object$seal = __webpack_require__(77)['default']; | |
| 1346 | 2085 | |
| 1347 | - var _Object$keys = __webpack_require__(12)['default']; | |
| 2086 | + var _Object$keys = __webpack_require__(59)['default']; | |
| 1348 | 2087 | |
| 1349 | 2088 | var _interopRequireWildcard = __webpack_require__(1)['default']; |
| 1350 | 2089 | |
| 1351 | 2090 | var _interopRequireDefault = __webpack_require__(2)['default']; |
| @@ -1369,11 +2108,11 @@ | ||
| 1369 | 2108 | var _base = __webpack_require__(3); |
| 1370 | 2109 | |
| 1371 | 2110 | var _helpers = __webpack_require__(9); |
| 1372 | 2111 | |
| 1373 | - var _internalWrapHelper = __webpack_require__(42); | |
| 2112 | + var _internalWrapHelper = __webpack_require__(80); | |
| 1374 | 2113 | |
| 1375 | - var _internalProtoAccess = __webpack_require__(32); | |
| 2114 | + var _internalProtoAccess = __webpack_require__(72); | |
| 1376 | 2115 | |
| 1377 | 2116 | function checkRevision(compilerInfo) { |
| 1378 | 2117 | var compilerRevision = compilerInfo && compilerInfo[0] || 1, |
| 1379 | 2118 | currentRevision = _base.COMPILER_REVISION; |
| @@ -1418,18 +2157,16 @@ | ||
| 1418 | 2157 | } |
| 1419 | 2158 | } |
| 1420 | 2159 | partial = env.VM.resolvePartial.call(this, partial, context, options); |
| 1421 | 2160 | |
| 1422 | - var extendedOptions = Utils.extend({}, options, { | |
| 1423 | - hooks: this.hooks, | |
| 1424 | - protoAccessControl: this.protoAccessControl | |
| 1425 | - }); | |
| 2161 | + options.hooks = this.hooks; | |
| 2162 | + options.protoAccessControl = this.protoAccessControl; | |
| 1426 | 2163 | |
| 1427 | - var result = env.VM.invokePartial.call(this, partial, context, extendedOptions); | |
| 2164 | + var result = env.VM.invokePartial.call(this, partial, context, options); | |
| 1428 | 2165 | |
| 1429 | 2166 | if (result == null && env.compile) { |
| 1430 | 2167 | options.partials[options.name] = env.compile(partial, templateSpec.compilerOptions, env); |
| 1431 | - result = options.partials[options.name](context, extendedOptions); | |
| 2168 | + result = options.partials[options.name](context, options); | |
| 1432 | 2169 | } |
| 1433 | 2170 | if (result != null) { |
| 1434 | 2171 | if (options.indent) { |
| 1435 | 2172 | var lines = result.split('\n'); |
| @@ -1476,9 +2213,9 @@ | ||
| 1476 | 2213 | var len = depths.length; |
| 1477 | 2214 | for (var i = 0; i < len; i++) { |
| 1478 | 2215 | var result = depths[i] && container.lookupProperty(depths[i], name); |
| 1479 | 2216 | if (result != null) { |
| 1480 | - return depths[i][name]; | |
| 2217 | + return result; | |
| 1481 | 2218 | } |
| 1482 | 2219 | } |
| 1483 | 2220 | }, |
| 1484 | 2221 | lambda: function lambda(current, context) { |
| @@ -1558,10 +2295,11 @@ | ||
| 1558 | 2295 | ret.isTop = true; |
| 1559 | 2296 | |
| 1560 | 2297 | ret._setup = function (options) { |
| 1561 | 2298 | if (!options.partial) { |
| 1562 | - var mergedHelpers = Utils.extend({}, env.helpers, options.helpers); | |
| 1563 | - wrapHelpersToPassLookupProperty(mergedHelpers, container); | |
| 2299 | + var mergedHelpers = {}; | |
| 2300 | + addHelpers(mergedHelpers, env.helpers, container); | |
| 2301 | + addHelpers(mergedHelpers, options.helpers, container); | |
| 1564 | 2302 | container.helpers = mergedHelpers; |
| 1565 | 2303 | |
| 1566 | 2304 | if (templateSpec.usePartial) { |
| 1567 | 2305 | // Use mergeIfNeeded here to prevent compiling global partials multiple times |
| @@ -1625,16 +2363,16 @@ | ||
| 1625 | 2363 | |
| 1626 | 2364 | function resolvePartial(partial, context, options) { |
| 1627 | 2365 | if (!partial) { |
| 1628 | 2366 | if (options.name === '@partial-block') { |
| 1629 | - partial = options.data['partial-block']; | |
| 2367 | + partial = lookupOwnProperty(options.data, 'partial-block'); | |
| 1630 | 2368 | } else { |
| 1631 | - partial = options.partials[options.name]; | |
| 2369 | + partial = lookupOwnProperty(options.partials, options.name); | |
| 1632 | 2370 | } |
| 1633 | 2371 | } else if (!partial.call && !options.name) { |
| 1634 | 2372 | // This is a dynamic partial that returned a string |
| 1635 | 2373 | options.name = partial; |
| 1636 | - partial = options.partials[partial]; | |
| 2374 | + partial = lookupOwnProperty(options.partials, partial); | |
| 1637 | 2375 | } |
| 1638 | 2376 | return partial; |
| 1639 | 2377 | } |
| 1640 | 2378 | |
| @@ -1639,9 +2377,9 @@ | ||
| 1639 | 2377 | } |
| 1640 | 2378 | |
| 1641 | 2379 | function invokePartial(partial, context, options) { |
| 1642 | 2380 | // Use the current closure context to save the partial-block if this partial |
| 1643 | - var currentPartialBlock = options.data && options.data['partial-block']; | |
| 2381 | + var currentPartialBlock = lookupOwnProperty(options.data, 'partial-block'); | |
| 1644 | 2382 | options.partial = true; |
| 1645 | 2383 | if (options.ids) { |
| 1646 | 2384 | options.data.contextPath = options.ids[0] || options.data.contextPath; |
| 1647 | 2385 | } |
| @@ -1681,8 +2419,14 @@ | ||
| 1681 | 2419 | function noop() { |
| 1682 | 2420 | return ''; |
| 1683 | 2421 | } |
| 1684 | 2422 | |
| 2423 | + function lookupOwnProperty(obj, name) { | |
| 2424 | + if (obj && Object.prototype.hasOwnProperty.call(obj, name)) { | |
| 2425 | + return obj[name]; | |
| 2426 | + } | |
| 2427 | + } | |
| 2428 | + | |
| 1685 | 2429 | function initData(context, data) { |
| 1686 | 2430 | if (!data || !('root' in data)) { |
| 1687 | 2431 | data = data ? _base.createFrame(data) : {}; |
| 1688 | 2432 | data.root = context; |
| @@ -1698,11 +2442,12 @@ | ||
| 1698 | 2442 | } |
| 1699 | 2443 | return prog; |
| 1700 | 2444 | } |
| 1701 | 2445 | |
| 1702 | - function wrapHelpersToPassLookupProperty(mergedHelpers, container) { | |
| 1703 | - _Object$keys(mergedHelpers).forEach(function (helperName) { | |
| 1704 | - var helper = mergedHelpers[helperName]; | |
| 2446 | + function addHelpers(mergedHelpers, helpers, container) { | |
| 2447 | + if (!helpers) return; | |
| 2448 | + _Object$keys(helpers).forEach(function (helperName) { | |
| 2449 | + var helper = helpers[helperName]; | |
| 1705 | 2450 | mergedHelpers[helperName] = passLookupPropertyOption(helper, container); |
| 1706 | 2451 | }); |
| 1707 | 2452 | } |
| 1708 | 2453 | |
| @@ -1708,33 +2453,34 @@ | ||
| 1708 | 2453 | |
| 1709 | 2454 | function passLookupPropertyOption(helper, container) { |
| 1710 | 2455 | var lookupProperty = container.lookupProperty; |
| 1711 | 2456 | return _internalWrapHelper.wrapHelper(helper, function (options) { |
| 1712 | - return Utils.extend({ lookupProperty: lookupProperty }, options); | |
| 2457 | + options.lookupProperty = lookupProperty; | |
| 2458 | + return options; | |
| 1713 | 2459 | }); |
| 1714 | 2460 | } |
| 1715 | 2461 | |
| 1716 | 2462 | /***/ }), |
| 1717 | -/* 38 */ | |
| 2463 | +/* 77 */ | |
| 1718 | 2464 | /***/ (function(module, exports, __webpack_require__) { |
| 1719 | 2465 | |
| 1720 | - module.exports = { "default": __webpack_require__(39), __esModule: true }; | |
| 2466 | + module.exports = { "default": __webpack_require__(78), __esModule: true }; | |
| 1721 | 2467 | |
| 1722 | 2468 | /***/ }), |
| 1723 | -/* 39 */ | |
| 2469 | +/* 78 */ | |
| 1724 | 2470 | /***/ (function(module, exports, __webpack_require__) { |
| 1725 | 2471 | |
| 1726 | - __webpack_require__(40); | |
| 2472 | + __webpack_require__(79); | |
| 1727 | 2473 | module.exports = __webpack_require__(20).Object.seal; |
| 1728 | 2474 | |
| 1729 | 2475 | /***/ }), |
| 1730 | -/* 40 */ | |
| 2476 | +/* 79 */ | |
| 1731 | 2477 | /***/ (function(module, exports, __webpack_require__) { |
| 1732 | 2478 | |
| 1733 | 2479 | // 19.1.2.17 Object.seal(O) |
| 1734 | - var isObject = __webpack_require__(41); | |
| 2480 | + var isObject = __webpack_require__(39); | |
| 1735 | 2481 | |
| 1736 | - __webpack_require__(17)('seal', function($seal){ | |
| 2482 | + __webpack_require__(63)('seal', function($seal){ | |
| 1737 | 2483 | return function seal(it){ |
| 1738 | 2484 | return $seal && isObject(it) ? $seal(it) : it; |
| 1739 | 2485 | }; |
| 1740 | 2486 | }); |
| @@ -1739,19 +2485,11 @@ | ||
| 1739 | 2485 | }; |
| 1740 | 2486 | }); |
| 1741 | 2487 | |
| 1742 | 2488 | /***/ }), |
| 1743 | -/* 41 */ | |
| 2489 | +/* 80 */ | |
| 1744 | 2490 | /***/ (function(module, exports) { |
| 1745 | 2491 | |
| 1746 | - module.exports = function(it){ | |
| 1747 | - return typeof it === 'object' ? it !== null : typeof it === 'function'; | |
| 1748 | - }; | |
| 1749 | - | |
| 1750 | -/***/ }), | |
| 1751 | -/* 42 */ | |
| 1752 | -/***/ (function(module, exports) { | |
| 1753 | - | |
| 1754 | 2492 | 'use strict'; |
| 1755 | 2493 | |
| 1756 | 2494 | exports.__esModule = true; |
| 1757 | 2495 | exports.wrapHelper = wrapHelper; |
| @@ -1770,23 +2508,34 @@ | ||
| 1770 | 2508 | return wrapper; |
| 1771 | 2509 | } |
| 1772 | 2510 | |
| 1773 | 2511 | /***/ }), |
| 1774 | -/* 43 */ | |
| 2512 | +/* 81 */ | |
| 1775 | 2513 | /***/ (function(module, exports) { |
| 1776 | 2514 | |
| 1777 | - /* WEBPACK VAR INJECTION */(function(global) {'use strict'; | |
| 2515 | + /* global globalThis */ | |
| 2516 | + 'use strict'; | |
| 1778 | 2517 | |
| 1779 | 2518 | exports.__esModule = true; |
| 1780 | 2519 | |
| 1781 | 2520 | exports['default'] = function (Handlebars) { |
| 1782 | 2521 | /* istanbul ignore next */ |
| 1783 | - var root = typeof global !== 'undefined' ? global : window, | |
| 1784 | - $Handlebars = root.Handlebars; | |
| 2522 | + // https://mathiasbynens.be/notes/globalthis | |
| 2523 | + (function () { | |
| 2524 | + if (typeof globalThis === 'object') return; | |
| 2525 | + Object.prototype.__defineGetter__('__magic__', function () { | |
| 2526 | + return this; | |
| 2527 | + }); | |
| 2528 | + __magic__.globalThis = __magic__; // eslint-disable-line no-undef | |
| 2529 | + delete Object.prototype.__magic__; | |
| 2530 | + })(); | |
| 2531 | + | |
| 2532 | + var $Handlebars = globalThis.Handlebars; | |
| 2533 | + | |
| 1785 | 2534 | /* istanbul ignore next */ |
| 1786 | 2535 | Handlebars.noConflict = function () { |
| 1787 | - if (root.Handlebars === Handlebars) { | |
| 1788 | - root.Handlebars = $Handlebars; | |
| 2536 | + if (globalThis.Handlebars === Handlebars) { | |
| 2537 | + globalThis.Handlebars = $Handlebars; | |
| 1789 | 2538 | } |
| 1790 | 2539 | return Handlebars; |
| 1791 | 2540 | }; |
| 1792 | 2541 | }; |
| @@ -1791,10 +2540,9 @@ | ||
| 1791 | 2540 | }; |
| 1792 | 2541 | }; |
| 1793 | 2542 | |
| 1794 | 2543 | module.exports = exports['default']; |
| 1795 | - /* WEBPACK VAR INJECTION */}.call(exports, (function() { return this; }()))) | |
| 1796 | 2544 | |
| 1797 | 2545 | /***/ }) |
| 1798 | 2546 | /******/ ]) |
| 1799 | 2547 | }); |
| 1800 | 2548 | ; |