handlebars.runtime.js 40 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474
  1. /**!
  2. @license
  3. handlebars v4.1.2
  4. Copyright (C) 2011-2017 by Yehuda Katz
  5. Permission is hereby granted, free of charge, to any person obtaining a copy
  6. of this software and associated documentation files (the "Software"), to deal
  7. in the Software without restriction, including without limitation the rights
  8. to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
  9. copies of the Software, and to permit persons to whom the Software is
  10. furnished to do so, subject to the following conditions:
  11. The above copyright notice and this permission notice shall be included in
  12. all copies or substantial portions of the Software.
  13. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  14. IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  15. FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
  16. AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
  17. LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
  18. OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
  19. THE SOFTWARE.
  20. */
  21. (function webpackUniversalModuleDefinition(root, factory) {
  22. if(typeof exports === 'object' && typeof module === 'object')
  23. module.exports = factory();
  24. else if(typeof define === 'function' && define.amd)
  25. define([], factory);
  26. else if(typeof exports === 'object')
  27. exports["Handlebars"] = factory();
  28. else
  29. root["Handlebars"] = factory();
  30. })(this, function() {
  31. return /******/ (function(modules) { // webpackBootstrap
  32. /******/ // The module cache
  33. /******/ var installedModules = {};
  34. /******/ // The require function
  35. /******/ function __webpack_require__(moduleId) {
  36. /******/ // Check if module is in cache
  37. /******/ if(installedModules[moduleId])
  38. /******/ return installedModules[moduleId].exports;
  39. /******/ // Create a new module (and put it into the cache)
  40. /******/ var module = installedModules[moduleId] = {
  41. /******/ exports: {},
  42. /******/ id: moduleId,
  43. /******/ loaded: false
  44. /******/ };
  45. /******/ // Execute the module function
  46. /******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
  47. /******/ // Flag the module as loaded
  48. /******/ module.loaded = true;
  49. /******/ // Return the exports of the module
  50. /******/ return module.exports;
  51. /******/ }
  52. /******/ // expose the modules object (__webpack_modules__)
  53. /******/ __webpack_require__.m = modules;
  54. /******/ // expose the module cache
  55. /******/ __webpack_require__.c = installedModules;
  56. /******/ // __webpack_public_path__
  57. /******/ __webpack_require__.p = "";
  58. /******/ // Load entry module and return exports
  59. /******/ return __webpack_require__(0);
  60. /******/ })
  61. /************************************************************************/
  62. /******/ ([
  63. /* 0 */
  64. /***/ (function(module, exports, __webpack_require__) {
  65. 'use strict';
  66. var _interopRequireWildcard = __webpack_require__(1)['default'];
  67. var _interopRequireDefault = __webpack_require__(2)['default'];
  68. exports.__esModule = true;
  69. var _handlebarsBase = __webpack_require__(3);
  70. var base = _interopRequireWildcard(_handlebarsBase);
  71. // Each of these augment the Handlebars object. No need to setup here.
  72. // (This is done to easily share code between commonjs and browse envs)
  73. var _handlebarsSafeString = __webpack_require__(20);
  74. var _handlebarsSafeString2 = _interopRequireDefault(_handlebarsSafeString);
  75. var _handlebarsException = __webpack_require__(5);
  76. var _handlebarsException2 = _interopRequireDefault(_handlebarsException);
  77. var _handlebarsUtils = __webpack_require__(4);
  78. var Utils = _interopRequireWildcard(_handlebarsUtils);
  79. var _handlebarsRuntime = __webpack_require__(21);
  80. var runtime = _interopRequireWildcard(_handlebarsRuntime);
  81. var _handlebarsNoConflict = __webpack_require__(33);
  82. var _handlebarsNoConflict2 = _interopRequireDefault(_handlebarsNoConflict);
  83. // For compatibility and usage outside of module systems, make the Handlebars object a namespace
  84. function create() {
  85. var hb = new base.HandlebarsEnvironment();
  86. Utils.extend(hb, base);
  87. hb.SafeString = _handlebarsSafeString2['default'];
  88. hb.Exception = _handlebarsException2['default'];
  89. hb.Utils = Utils;
  90. hb.escapeExpression = Utils.escapeExpression;
  91. hb.VM = runtime;
  92. hb.template = function (spec) {
  93. return runtime.template(spec, hb);
  94. };
  95. return hb;
  96. }
  97. var inst = create();
  98. inst.create = create;
  99. _handlebarsNoConflict2['default'](inst);
  100. inst['default'] = inst;
  101. exports['default'] = inst;
  102. module.exports = exports['default'];
  103. /***/ }),
  104. /* 1 */
  105. /***/ (function(module, exports) {
  106. "use strict";
  107. exports["default"] = function (obj) {
  108. if (obj && obj.__esModule) {
  109. return obj;
  110. } else {
  111. var newObj = {};
  112. if (obj != null) {
  113. for (var key in obj) {
  114. if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key];
  115. }
  116. }
  117. newObj["default"] = obj;
  118. return newObj;
  119. }
  120. };
  121. exports.__esModule = true;
  122. /***/ }),
  123. /* 2 */
  124. /***/ (function(module, exports) {
  125. "use strict";
  126. exports["default"] = function (obj) {
  127. return obj && obj.__esModule ? obj : {
  128. "default": obj
  129. };
  130. };
  131. exports.__esModule = true;
  132. /***/ }),
  133. /* 3 */
  134. /***/ (function(module, exports, __webpack_require__) {
  135. 'use strict';
  136. var _interopRequireDefault = __webpack_require__(2)['default'];
  137. exports.__esModule = true;
  138. exports.HandlebarsEnvironment = HandlebarsEnvironment;
  139. var _utils = __webpack_require__(4);
  140. var _exception = __webpack_require__(5);
  141. var _exception2 = _interopRequireDefault(_exception);
  142. var _helpers = __webpack_require__(9);
  143. var _decorators = __webpack_require__(17);
  144. var _logger = __webpack_require__(19);
  145. var _logger2 = _interopRequireDefault(_logger);
  146. var VERSION = '4.1.2';
  147. exports.VERSION = VERSION;
  148. var COMPILER_REVISION = 7;
  149. exports.COMPILER_REVISION = COMPILER_REVISION;
  150. var REVISION_CHANGES = {
  151. 1: '<= 1.0.rc.2', // 1.0.rc.2 is actually rev2 but doesn't report it
  152. 2: '== 1.0.0-rc.3',
  153. 3: '== 1.0.0-rc.4',
  154. 4: '== 1.x.x',
  155. 5: '== 2.0.0-alpha.x',
  156. 6: '>= 2.0.0-beta.1',
  157. 7: '>= 4.0.0'
  158. };
  159. exports.REVISION_CHANGES = REVISION_CHANGES;
  160. var objectType = '[object Object]';
  161. function HandlebarsEnvironment(helpers, partials, decorators) {
  162. this.helpers = helpers || {};
  163. this.partials = partials || {};
  164. this.decorators = decorators || {};
  165. _helpers.registerDefaultHelpers(this);
  166. _decorators.registerDefaultDecorators(this);
  167. }
  168. HandlebarsEnvironment.prototype = {
  169. constructor: HandlebarsEnvironment,
  170. logger: _logger2['default'],
  171. log: _logger2['default'].log,
  172. registerHelper: function registerHelper(name, fn) {
  173. if (_utils.toString.call(name) === objectType) {
  174. if (fn) {
  175. throw new _exception2['default']('Arg not supported with multiple helpers');
  176. }
  177. _utils.extend(this.helpers, name);
  178. } else {
  179. this.helpers[name] = fn;
  180. }
  181. },
  182. unregisterHelper: function unregisterHelper(name) {
  183. delete this.helpers[name];
  184. },
  185. registerPartial: function registerPartial(name, partial) {
  186. if (_utils.toString.call(name) === objectType) {
  187. _utils.extend(this.partials, name);
  188. } else {
  189. if (typeof partial === 'undefined') {
  190. throw new _exception2['default']('Attempting to register a partial called "' + name + '" as undefined');
  191. }
  192. this.partials[name] = partial;
  193. }
  194. },
  195. unregisterPartial: function unregisterPartial(name) {
  196. delete this.partials[name];
  197. },
  198. registerDecorator: function registerDecorator(name, fn) {
  199. if (_utils.toString.call(name) === objectType) {
  200. if (fn) {
  201. throw new _exception2['default']('Arg not supported with multiple decorators');
  202. }
  203. _utils.extend(this.decorators, name);
  204. } else {
  205. this.decorators[name] = fn;
  206. }
  207. },
  208. unregisterDecorator: function unregisterDecorator(name) {
  209. delete this.decorators[name];
  210. }
  211. };
  212. var log = _logger2['default'].log;
  213. exports.log = log;
  214. exports.createFrame = _utils.createFrame;
  215. exports.logger = _logger2['default'];
  216. /***/ }),
  217. /* 4 */
  218. /***/ (function(module, exports) {
  219. 'use strict';
  220. exports.__esModule = true;
  221. exports.extend = extend;
  222. exports.indexOf = indexOf;
  223. exports.escapeExpression = escapeExpression;
  224. exports.isEmpty = isEmpty;
  225. exports.createFrame = createFrame;
  226. exports.blockParams = blockParams;
  227. exports.appendContextPath = appendContextPath;
  228. var escape = {
  229. '&': '&amp;',
  230. '<': '&lt;',
  231. '>': '&gt;',
  232. '"': '&quot;',
  233. "'": '&#x27;',
  234. '`': '&#x60;',
  235. '=': '&#x3D;'
  236. };
  237. var badChars = /[&<>"'`=]/g,
  238. possible = /[&<>"'`=]/;
  239. function escapeChar(chr) {
  240. return escape[chr];
  241. }
  242. function extend(obj /* , ...source */) {
  243. for (var i = 1; i < arguments.length; i++) {
  244. for (var key in arguments[i]) {
  245. if (Object.prototype.hasOwnProperty.call(arguments[i], key)) {
  246. obj[key] = arguments[i][key];
  247. }
  248. }
  249. }
  250. return obj;
  251. }
  252. var toString = Object.prototype.toString;
  253. exports.toString = toString;
  254. // Sourced from lodash
  255. // https://github.com/bestiejs/lodash/blob/master/LICENSE.txt
  256. /* eslint-disable func-style */
  257. var isFunction = function isFunction(value) {
  258. return typeof value === 'function';
  259. };
  260. // fallback for older versions of Chrome and Safari
  261. /* istanbul ignore next */
  262. if (isFunction(/x/)) {
  263. exports.isFunction = isFunction = function (value) {
  264. return typeof value === 'function' && toString.call(value) === '[object Function]';
  265. };
  266. }
  267. exports.isFunction = isFunction;
  268. /* eslint-enable func-style */
  269. /* istanbul ignore next */
  270. var isArray = Array.isArray || function (value) {
  271. return value && typeof value === 'object' ? toString.call(value) === '[object Array]' : false;
  272. };
  273. exports.isArray = isArray;
  274. // Older IE versions do not directly support indexOf so we must implement our own, sadly.
  275. function indexOf(array, value) {
  276. for (var i = 0, len = array.length; i < len; i++) {
  277. if (array[i] === value) {
  278. return i;
  279. }
  280. }
  281. return -1;
  282. }
  283. function escapeExpression(string) {
  284. if (typeof string !== 'string') {
  285. // don't escape SafeStrings, since they're already safe
  286. if (string && string.toHTML) {
  287. return string.toHTML();
  288. } else if (string == null) {
  289. return '';
  290. } else if (!string) {
  291. return string + '';
  292. }
  293. // Force a string conversion as this will be done by the append regardless and
  294. // the regex test will do this transparently behind the scenes, causing issues if
  295. // an object's to string has escaped characters in it.
  296. string = '' + string;
  297. }
  298. if (!possible.test(string)) {
  299. return string;
  300. }
  301. return string.replace(badChars, escapeChar);
  302. }
  303. function isEmpty(value) {
  304. if (!value && value !== 0) {
  305. return true;
  306. } else if (isArray(value) && value.length === 0) {
  307. return true;
  308. } else {
  309. return false;
  310. }
  311. }
  312. function createFrame(object) {
  313. var frame = extend({}, object);
  314. frame._parent = object;
  315. return frame;
  316. }
  317. function blockParams(params, ids) {
  318. params.path = ids;
  319. return params;
  320. }
  321. function appendContextPath(contextPath, id) {
  322. return (contextPath ? contextPath + '.' : '') + id;
  323. }
  324. /***/ }),
  325. /* 5 */
  326. /***/ (function(module, exports, __webpack_require__) {
  327. 'use strict';
  328. var _Object$defineProperty = __webpack_require__(6)['default'];
  329. exports.__esModule = true;
  330. var errorProps = ['description', 'fileName', 'lineNumber', 'message', 'name', 'number', 'stack'];
  331. function Exception(message, node) {
  332. var loc = node && node.loc,
  333. line = undefined,
  334. column = undefined;
  335. if (loc) {
  336. line = loc.start.line;
  337. column = loc.start.column;
  338. message += ' - ' + line + ':' + column;
  339. }
  340. var tmp = Error.prototype.constructor.call(this, message);
  341. // Unfortunately errors are not enumerable in Chrome (at least), so `for prop in tmp` doesn't work.
  342. for (var idx = 0; idx < errorProps.length; idx++) {
  343. this[errorProps[idx]] = tmp[errorProps[idx]];
  344. }
  345. /* istanbul ignore else */
  346. if (Error.captureStackTrace) {
  347. Error.captureStackTrace(this, Exception);
  348. }
  349. try {
  350. if (loc) {
  351. this.lineNumber = line;
  352. // Work around issue under safari where we can't directly set the column value
  353. /* istanbul ignore next */
  354. if (_Object$defineProperty) {
  355. Object.defineProperty(this, 'column', {
  356. value: column,
  357. enumerable: true
  358. });
  359. } else {
  360. this.column = column;
  361. }
  362. }
  363. } catch (nop) {
  364. /* Ignore if the browser is very particular */
  365. }
  366. }
  367. Exception.prototype = new Error();
  368. exports['default'] = Exception;
  369. module.exports = exports['default'];
  370. /***/ }),
  371. /* 6 */
  372. /***/ (function(module, exports, __webpack_require__) {
  373. module.exports = { "default": __webpack_require__(7), __esModule: true };
  374. /***/ }),
  375. /* 7 */
  376. /***/ (function(module, exports, __webpack_require__) {
  377. var $ = __webpack_require__(8);
  378. module.exports = function defineProperty(it, key, desc){
  379. return $.setDesc(it, key, desc);
  380. };
  381. /***/ }),
  382. /* 8 */
  383. /***/ (function(module, exports) {
  384. var $Object = Object;
  385. module.exports = {
  386. create: $Object.create,
  387. getProto: $Object.getPrototypeOf,
  388. isEnum: {}.propertyIsEnumerable,
  389. getDesc: $Object.getOwnPropertyDescriptor,
  390. setDesc: $Object.defineProperty,
  391. setDescs: $Object.defineProperties,
  392. getKeys: $Object.keys,
  393. getNames: $Object.getOwnPropertyNames,
  394. getSymbols: $Object.getOwnPropertySymbols,
  395. each: [].forEach
  396. };
  397. /***/ }),
  398. /* 9 */
  399. /***/ (function(module, exports, __webpack_require__) {
  400. 'use strict';
  401. var _interopRequireDefault = __webpack_require__(2)['default'];
  402. exports.__esModule = true;
  403. exports.registerDefaultHelpers = registerDefaultHelpers;
  404. var _helpersBlockHelperMissing = __webpack_require__(10);
  405. var _helpersBlockHelperMissing2 = _interopRequireDefault(_helpersBlockHelperMissing);
  406. var _helpersEach = __webpack_require__(11);
  407. var _helpersEach2 = _interopRequireDefault(_helpersEach);
  408. var _helpersHelperMissing = __webpack_require__(12);
  409. var _helpersHelperMissing2 = _interopRequireDefault(_helpersHelperMissing);
  410. var _helpersIf = __webpack_require__(13);
  411. var _helpersIf2 = _interopRequireDefault(_helpersIf);
  412. var _helpersLog = __webpack_require__(14);
  413. var _helpersLog2 = _interopRequireDefault(_helpersLog);
  414. var _helpersLookup = __webpack_require__(15);
  415. var _helpersLookup2 = _interopRequireDefault(_helpersLookup);
  416. var _helpersWith = __webpack_require__(16);
  417. var _helpersWith2 = _interopRequireDefault(_helpersWith);
  418. function registerDefaultHelpers(instance) {
  419. _helpersBlockHelperMissing2['default'](instance);
  420. _helpersEach2['default'](instance);
  421. _helpersHelperMissing2['default'](instance);
  422. _helpersIf2['default'](instance);
  423. _helpersLog2['default'](instance);
  424. _helpersLookup2['default'](instance);
  425. _helpersWith2['default'](instance);
  426. }
  427. /***/ }),
  428. /* 10 */
  429. /***/ (function(module, exports, __webpack_require__) {
  430. 'use strict';
  431. exports.__esModule = true;
  432. var _utils = __webpack_require__(4);
  433. exports['default'] = function (instance) {
  434. instance.registerHelper('blockHelperMissing', function (context, options) {
  435. var inverse = options.inverse,
  436. fn = options.fn;
  437. if (context === true) {
  438. return fn(this);
  439. } else if (context === false || context == null) {
  440. return inverse(this);
  441. } else if (_utils.isArray(context)) {
  442. if (context.length > 0) {
  443. if (options.ids) {
  444. options.ids = [options.name];
  445. }
  446. return instance.helpers.each(context, options);
  447. } else {
  448. return inverse(this);
  449. }
  450. } else {
  451. if (options.data && options.ids) {
  452. var data = _utils.createFrame(options.data);
  453. data.contextPath = _utils.appendContextPath(options.data.contextPath, options.name);
  454. options = { data: data };
  455. }
  456. return fn(context, options);
  457. }
  458. });
  459. };
  460. module.exports = exports['default'];
  461. /***/ }),
  462. /* 11 */
  463. /***/ (function(module, exports, __webpack_require__) {
  464. 'use strict';
  465. var _interopRequireDefault = __webpack_require__(2)['default'];
  466. exports.__esModule = true;
  467. var _utils = __webpack_require__(4);
  468. var _exception = __webpack_require__(5);
  469. var _exception2 = _interopRequireDefault(_exception);
  470. exports['default'] = function (instance) {
  471. instance.registerHelper('each', function (context, options) {
  472. if (!options) {
  473. throw new _exception2['default']('Must pass iterator to #each');
  474. }
  475. var fn = options.fn,
  476. inverse = options.inverse,
  477. i = 0,
  478. ret = '',
  479. data = undefined,
  480. contextPath = undefined;
  481. if (options.data && options.ids) {
  482. contextPath = _utils.appendContextPath(options.data.contextPath, options.ids[0]) + '.';
  483. }
  484. if (_utils.isFunction(context)) {
  485. context = context.call(this);
  486. }
  487. if (options.data) {
  488. data = _utils.createFrame(options.data);
  489. }
  490. function execIteration(field, index, last) {
  491. if (data) {
  492. data.key = field;
  493. data.index = index;
  494. data.first = index === 0;
  495. data.last = !!last;
  496. if (contextPath) {
  497. data.contextPath = contextPath + field;
  498. }
  499. }
  500. ret = ret + fn(context[field], {
  501. data: data,
  502. blockParams: _utils.blockParams([context[field], field], [contextPath + field, null])
  503. });
  504. }
  505. if (context && typeof context === 'object') {
  506. if (_utils.isArray(context)) {
  507. for (var j = context.length; i < j; i++) {
  508. if (i in context) {
  509. execIteration(i, i, i === context.length - 1);
  510. }
  511. }
  512. } else {
  513. var priorKey = undefined;
  514. for (var key in context) {
  515. if (context.hasOwnProperty(key)) {
  516. // We're running the iterations one step out of sync so we can detect
  517. // the last iteration without have to scan the object twice and create
  518. // an itermediate keys array.
  519. if (priorKey !== undefined) {
  520. execIteration(priorKey, i - 1);
  521. }
  522. priorKey = key;
  523. i++;
  524. }
  525. }
  526. if (priorKey !== undefined) {
  527. execIteration(priorKey, i - 1, true);
  528. }
  529. }
  530. }
  531. if (i === 0) {
  532. ret = inverse(this);
  533. }
  534. return ret;
  535. });
  536. };
  537. module.exports = exports['default'];
  538. /***/ }),
  539. /* 12 */
  540. /***/ (function(module, exports, __webpack_require__) {
  541. 'use strict';
  542. var _interopRequireDefault = __webpack_require__(2)['default'];
  543. exports.__esModule = true;
  544. var _exception = __webpack_require__(5);
  545. var _exception2 = _interopRequireDefault(_exception);
  546. exports['default'] = function (instance) {
  547. instance.registerHelper('helperMissing', function () /* [args, ]options */{
  548. if (arguments.length === 1) {
  549. // A missing field in a {{foo}} construct.
  550. return undefined;
  551. } else {
  552. // Someone is actually trying to call something, blow up.
  553. throw new _exception2['default']('Missing helper: "' + arguments[arguments.length - 1].name + '"');
  554. }
  555. });
  556. };
  557. module.exports = exports['default'];
  558. /***/ }),
  559. /* 13 */
  560. /***/ (function(module, exports, __webpack_require__) {
  561. 'use strict';
  562. exports.__esModule = true;
  563. var _utils = __webpack_require__(4);
  564. exports['default'] = function (instance) {
  565. instance.registerHelper('if', function (conditional, options) {
  566. if (_utils.isFunction(conditional)) {
  567. conditional = conditional.call(this);
  568. }
  569. // Default behavior is to render the positive path if the value is truthy and not empty.
  570. // The `includeZero` option may be set to treat the condtional as purely not empty based on the
  571. // behavior of isEmpty. Effectively this determines if 0 is handled by the positive path or negative.
  572. if (!options.hash.includeZero && !conditional || _utils.isEmpty(conditional)) {
  573. return options.inverse(this);
  574. } else {
  575. return options.fn(this);
  576. }
  577. });
  578. instance.registerHelper('unless', function (conditional, options) {
  579. return instance.helpers['if'].call(this, conditional, { fn: options.inverse, inverse: options.fn, hash: options.hash });
  580. });
  581. };
  582. module.exports = exports['default'];
  583. /***/ }),
  584. /* 14 */
  585. /***/ (function(module, exports) {
  586. 'use strict';
  587. exports.__esModule = true;
  588. exports['default'] = function (instance) {
  589. instance.registerHelper('log', function () /* message, options */{
  590. var args = [undefined],
  591. options = arguments[arguments.length - 1];
  592. for (var i = 0; i < arguments.length - 1; i++) {
  593. args.push(arguments[i]);
  594. }
  595. var level = 1;
  596. if (options.hash.level != null) {
  597. level = options.hash.level;
  598. } else if (options.data && options.data.level != null) {
  599. level = options.data.level;
  600. }
  601. args[0] = level;
  602. instance.log.apply(instance, args);
  603. });
  604. };
  605. module.exports = exports['default'];
  606. /***/ }),
  607. /* 15 */
  608. /***/ (function(module, exports) {
  609. 'use strict';
  610. exports.__esModule = true;
  611. exports['default'] = function (instance) {
  612. instance.registerHelper('lookup', function (obj, field) {
  613. if (!obj) {
  614. return obj;
  615. }
  616. if (field === 'constructor' && !obj.propertyIsEnumerable(field)) {
  617. return undefined;
  618. }
  619. return obj[field];
  620. });
  621. };
  622. module.exports = exports['default'];
  623. /***/ }),
  624. /* 16 */
  625. /***/ (function(module, exports, __webpack_require__) {
  626. 'use strict';
  627. exports.__esModule = true;
  628. var _utils = __webpack_require__(4);
  629. exports['default'] = function (instance) {
  630. instance.registerHelper('with', function (context, options) {
  631. if (_utils.isFunction(context)) {
  632. context = context.call(this);
  633. }
  634. var fn = options.fn;
  635. if (!_utils.isEmpty(context)) {
  636. var data = options.data;
  637. if (options.data && options.ids) {
  638. data = _utils.createFrame(options.data);
  639. data.contextPath = _utils.appendContextPath(options.data.contextPath, options.ids[0]);
  640. }
  641. return fn(context, {
  642. data: data,
  643. blockParams: _utils.blockParams([context], [data && data.contextPath])
  644. });
  645. } else {
  646. return options.inverse(this);
  647. }
  648. });
  649. };
  650. module.exports = exports['default'];
  651. /***/ }),
  652. /* 17 */
  653. /***/ (function(module, exports, __webpack_require__) {
  654. 'use strict';
  655. var _interopRequireDefault = __webpack_require__(2)['default'];
  656. exports.__esModule = true;
  657. exports.registerDefaultDecorators = registerDefaultDecorators;
  658. var _decoratorsInline = __webpack_require__(18);
  659. var _decoratorsInline2 = _interopRequireDefault(_decoratorsInline);
  660. function registerDefaultDecorators(instance) {
  661. _decoratorsInline2['default'](instance);
  662. }
  663. /***/ }),
  664. /* 18 */
  665. /***/ (function(module, exports, __webpack_require__) {
  666. 'use strict';
  667. exports.__esModule = true;
  668. var _utils = __webpack_require__(4);
  669. exports['default'] = function (instance) {
  670. instance.registerDecorator('inline', function (fn, props, container, options) {
  671. var ret = fn;
  672. if (!props.partials) {
  673. props.partials = {};
  674. ret = function (context, options) {
  675. // Create a new partials stack frame prior to exec.
  676. var original = container.partials;
  677. container.partials = _utils.extend({}, original, props.partials);
  678. var ret = fn(context, options);
  679. container.partials = original;
  680. return ret;
  681. };
  682. }
  683. props.partials[options.args[0]] = options.fn;
  684. return ret;
  685. });
  686. };
  687. module.exports = exports['default'];
  688. /***/ }),
  689. /* 19 */
  690. /***/ (function(module, exports, __webpack_require__) {
  691. 'use strict';
  692. exports.__esModule = true;
  693. var _utils = __webpack_require__(4);
  694. var logger = {
  695. methodMap: ['debug', 'info', 'warn', 'error'],
  696. level: 'info',
  697. // Maps a given level value to the `methodMap` indexes above.
  698. lookupLevel: function lookupLevel(level) {
  699. if (typeof level === 'string') {
  700. var levelMap = _utils.indexOf(logger.methodMap, level.toLowerCase());
  701. if (levelMap >= 0) {
  702. level = levelMap;
  703. } else {
  704. level = parseInt(level, 10);
  705. }
  706. }
  707. return level;
  708. },
  709. // Can be overridden in the host environment
  710. log: function log(level) {
  711. level = logger.lookupLevel(level);
  712. if (typeof console !== 'undefined' && logger.lookupLevel(logger.level) <= level) {
  713. var method = logger.methodMap[level];
  714. if (!console[method]) {
  715. // eslint-disable-line no-console
  716. method = 'log';
  717. }
  718. for (var _len = arguments.length, message = Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
  719. message[_key - 1] = arguments[_key];
  720. }
  721. console[method].apply(console, message); // eslint-disable-line no-console
  722. }
  723. }
  724. };
  725. exports['default'] = logger;
  726. module.exports = exports['default'];
  727. /***/ }),
  728. /* 20 */
  729. /***/ (function(module, exports) {
  730. // Build out our basic SafeString type
  731. 'use strict';
  732. exports.__esModule = true;
  733. function SafeString(string) {
  734. this.string = string;
  735. }
  736. SafeString.prototype.toString = SafeString.prototype.toHTML = function () {
  737. return '' + this.string;
  738. };
  739. exports['default'] = SafeString;
  740. module.exports = exports['default'];
  741. /***/ }),
  742. /* 21 */
  743. /***/ (function(module, exports, __webpack_require__) {
  744. 'use strict';
  745. var _Object$seal = __webpack_require__(22)['default'];
  746. var _interopRequireWildcard = __webpack_require__(1)['default'];
  747. var _interopRequireDefault = __webpack_require__(2)['default'];
  748. exports.__esModule = true;
  749. exports.checkRevision = checkRevision;
  750. exports.template = template;
  751. exports.wrapProgram = wrapProgram;
  752. exports.resolvePartial = resolvePartial;
  753. exports.invokePartial = invokePartial;
  754. exports.noop = noop;
  755. var _utils = __webpack_require__(4);
  756. var Utils = _interopRequireWildcard(_utils);
  757. var _exception = __webpack_require__(5);
  758. var _exception2 = _interopRequireDefault(_exception);
  759. var _base = __webpack_require__(3);
  760. function checkRevision(compilerInfo) {
  761. var compilerRevision = compilerInfo && compilerInfo[0] || 1,
  762. currentRevision = _base.COMPILER_REVISION;
  763. if (compilerRevision !== currentRevision) {
  764. if (compilerRevision < currentRevision) {
  765. var runtimeVersions = _base.REVISION_CHANGES[currentRevision],
  766. compilerVersions = _base.REVISION_CHANGES[compilerRevision];
  767. throw new _exception2['default']('Template was precompiled with an older version of Handlebars than the current runtime. ' + 'Please update your precompiler to a newer version (' + runtimeVersions + ') or downgrade your runtime to an older version (' + compilerVersions + ').');
  768. } else {
  769. // Use the embedded version info since the runtime doesn't know about this revision yet
  770. throw new _exception2['default']('Template was precompiled with a newer version of Handlebars than the current runtime. ' + 'Please update your runtime to a newer version (' + compilerInfo[1] + ').');
  771. }
  772. }
  773. }
  774. function template(templateSpec, env) {
  775. /* istanbul ignore next */
  776. if (!env) {
  777. throw new _exception2['default']('No environment passed to template');
  778. }
  779. if (!templateSpec || !templateSpec.main) {
  780. throw new _exception2['default']('Unknown template object: ' + typeof templateSpec);
  781. }
  782. templateSpec.main.decorator = templateSpec.main_d;
  783. // Note: Using env.VM references rather than local var references throughout this section to allow
  784. // for external users to override these as psuedo-supported APIs.
  785. env.VM.checkRevision(templateSpec.compiler);
  786. function invokePartialWrapper(partial, context, options) {
  787. if (options.hash) {
  788. context = Utils.extend({}, context, options.hash);
  789. if (options.ids) {
  790. options.ids[0] = true;
  791. }
  792. }
  793. partial = env.VM.resolvePartial.call(this, partial, context, options);
  794. var result = env.VM.invokePartial.call(this, partial, context, options);
  795. if (result == null && env.compile) {
  796. options.partials[options.name] = env.compile(partial, templateSpec.compilerOptions, env);
  797. result = options.partials[options.name](context, options);
  798. }
  799. if (result != null) {
  800. if (options.indent) {
  801. var lines = result.split('\n');
  802. for (var i = 0, l = lines.length; i < l; i++) {
  803. if (!lines[i] && i + 1 === l) {
  804. break;
  805. }
  806. lines[i] = options.indent + lines[i];
  807. }
  808. result = lines.join('\n');
  809. }
  810. return result;
  811. } else {
  812. throw new _exception2['default']('The partial ' + options.name + ' could not be compiled when running in runtime-only mode');
  813. }
  814. }
  815. // Just add water
  816. var container = {
  817. strict: function strict(obj, name) {
  818. if (!(name in obj)) {
  819. throw new _exception2['default']('"' + name + '" not defined in ' + obj);
  820. }
  821. return obj[name];
  822. },
  823. lookup: function lookup(depths, name) {
  824. var len = depths.length;
  825. for (var i = 0; i < len; i++) {
  826. if (depths[i] && depths[i][name] != null) {
  827. return depths[i][name];
  828. }
  829. }
  830. },
  831. lambda: function lambda(current, context) {
  832. return typeof current === 'function' ? current.call(context) : current;
  833. },
  834. escapeExpression: Utils.escapeExpression,
  835. invokePartial: invokePartialWrapper,
  836. fn: function fn(i) {
  837. var ret = templateSpec[i];
  838. ret.decorator = templateSpec[i + '_d'];
  839. return ret;
  840. },
  841. programs: [],
  842. program: function program(i, data, declaredBlockParams, blockParams, depths) {
  843. var programWrapper = this.programs[i],
  844. fn = this.fn(i);
  845. if (data || depths || blockParams || declaredBlockParams) {
  846. programWrapper = wrapProgram(this, i, fn, data, declaredBlockParams, blockParams, depths);
  847. } else if (!programWrapper) {
  848. programWrapper = this.programs[i] = wrapProgram(this, i, fn);
  849. }
  850. return programWrapper;
  851. },
  852. data: function data(value, depth) {
  853. while (value && depth--) {
  854. value = value._parent;
  855. }
  856. return value;
  857. },
  858. merge: function merge(param, common) {
  859. var obj = param || common;
  860. if (param && common && param !== common) {
  861. obj = Utils.extend({}, common, param);
  862. }
  863. return obj;
  864. },
  865. // An empty object to use as replacement for null-contexts
  866. nullContext: _Object$seal({}),
  867. noop: env.VM.noop,
  868. compilerInfo: templateSpec.compiler
  869. };
  870. function ret(context) {
  871. var options = arguments.length <= 1 || arguments[1] === undefined ? {} : arguments[1];
  872. var data = options.data;
  873. ret._setup(options);
  874. if (!options.partial && templateSpec.useData) {
  875. data = initData(context, data);
  876. }
  877. var depths = undefined,
  878. blockParams = templateSpec.useBlockParams ? [] : undefined;
  879. if (templateSpec.useDepths) {
  880. if (options.depths) {
  881. depths = context != options.depths[0] ? [context].concat(options.depths) : options.depths;
  882. } else {
  883. depths = [context];
  884. }
  885. }
  886. function main(context /*, options*/) {
  887. return '' + templateSpec.main(container, context, container.helpers, container.partials, data, blockParams, depths);
  888. }
  889. main = executeDecorators(templateSpec.main, main, container, options.depths || [], data, blockParams);
  890. return main(context, options);
  891. }
  892. ret.isTop = true;
  893. ret._setup = function (options) {
  894. if (!options.partial) {
  895. container.helpers = container.merge(options.helpers, env.helpers);
  896. if (templateSpec.usePartial) {
  897. container.partials = container.merge(options.partials, env.partials);
  898. }
  899. if (templateSpec.usePartial || templateSpec.useDecorators) {
  900. container.decorators = container.merge(options.decorators, env.decorators);
  901. }
  902. } else {
  903. container.helpers = options.helpers;
  904. container.partials = options.partials;
  905. container.decorators = options.decorators;
  906. }
  907. };
  908. ret._child = function (i, data, blockParams, depths) {
  909. if (templateSpec.useBlockParams && !blockParams) {
  910. throw new _exception2['default']('must pass block params');
  911. }
  912. if (templateSpec.useDepths && !depths) {
  913. throw new _exception2['default']('must pass parent depths');
  914. }
  915. return wrapProgram(container, i, templateSpec[i], data, 0, blockParams, depths);
  916. };
  917. return ret;
  918. }
  919. function wrapProgram(container, i, fn, data, declaredBlockParams, blockParams, depths) {
  920. function prog(context) {
  921. var options = arguments.length <= 1 || arguments[1] === undefined ? {} : arguments[1];
  922. var currentDepths = depths;
  923. if (depths && context != depths[0] && !(context === container.nullContext && depths[0] === null)) {
  924. currentDepths = [context].concat(depths);
  925. }
  926. return fn(container, context, container.helpers, container.partials, options.data || data, blockParams && [options.blockParams].concat(blockParams), currentDepths);
  927. }
  928. prog = executeDecorators(fn, prog, container, depths, data, blockParams);
  929. prog.program = i;
  930. prog.depth = depths ? depths.length : 0;
  931. prog.blockParams = declaredBlockParams || 0;
  932. return prog;
  933. }
  934. function resolvePartial(partial, context, options) {
  935. if (!partial) {
  936. if (options.name === '@partial-block') {
  937. partial = options.data['partial-block'];
  938. } else {
  939. partial = options.partials[options.name];
  940. }
  941. } else if (!partial.call && !options.name) {
  942. // This is a dynamic partial that returned a string
  943. options.name = partial;
  944. partial = options.partials[partial];
  945. }
  946. return partial;
  947. }
  948. function invokePartial(partial, context, options) {
  949. // Use the current closure context to save the partial-block if this partial
  950. var currentPartialBlock = options.data && options.data['partial-block'];
  951. options.partial = true;
  952. if (options.ids) {
  953. options.data.contextPath = options.ids[0] || options.data.contextPath;
  954. }
  955. var partialBlock = undefined;
  956. if (options.fn && options.fn !== noop) {
  957. (function () {
  958. options.data = _base.createFrame(options.data);
  959. // Wrapper function to get access to currentPartialBlock from the closure
  960. var fn = options.fn;
  961. partialBlock = options.data['partial-block'] = function partialBlockWrapper(context) {
  962. var options = arguments.length <= 1 || arguments[1] === undefined ? {} : arguments[1];
  963. // Restore the partial-block from the closure for the execution of the block
  964. // i.e. the part inside the block of the partial call.
  965. options.data = _base.createFrame(options.data);
  966. options.data['partial-block'] = currentPartialBlock;
  967. return fn(context, options);
  968. };
  969. if (fn.partials) {
  970. options.partials = Utils.extend({}, options.partials, fn.partials);
  971. }
  972. })();
  973. }
  974. if (partial === undefined && partialBlock) {
  975. partial = partialBlock;
  976. }
  977. if (partial === undefined) {
  978. throw new _exception2['default']('The partial ' + options.name + ' could not be found');
  979. } else if (partial instanceof Function) {
  980. return partial(context, options);
  981. }
  982. }
  983. function noop() {
  984. return '';
  985. }
  986. function initData(context, data) {
  987. if (!data || !('root' in data)) {
  988. data = data ? _base.createFrame(data) : {};
  989. data.root = context;
  990. }
  991. return data;
  992. }
  993. function executeDecorators(fn, prog, container, depths, data, blockParams) {
  994. if (fn.decorator) {
  995. var props = {};
  996. prog = fn.decorator(prog, props, container, depths && depths[0], data, blockParams, depths);
  997. Utils.extend(prog, props);
  998. }
  999. return prog;
  1000. }
  1001. /***/ }),
  1002. /* 22 */
  1003. /***/ (function(module, exports, __webpack_require__) {
  1004. module.exports = { "default": __webpack_require__(23), __esModule: true };
  1005. /***/ }),
  1006. /* 23 */
  1007. /***/ (function(module, exports, __webpack_require__) {
  1008. __webpack_require__(24);
  1009. module.exports = __webpack_require__(29).Object.seal;
  1010. /***/ }),
  1011. /* 24 */
  1012. /***/ (function(module, exports, __webpack_require__) {
  1013. // 19.1.2.17 Object.seal(O)
  1014. var isObject = __webpack_require__(25);
  1015. __webpack_require__(26)('seal', function($seal){
  1016. return function seal(it){
  1017. return $seal && isObject(it) ? $seal(it) : it;
  1018. };
  1019. });
  1020. /***/ }),
  1021. /* 25 */
  1022. /***/ (function(module, exports) {
  1023. module.exports = function(it){
  1024. return typeof it === 'object' ? it !== null : typeof it === 'function';
  1025. };
  1026. /***/ }),
  1027. /* 26 */
  1028. /***/ (function(module, exports, __webpack_require__) {
  1029. // most Object methods by ES6 should accept primitives
  1030. var $export = __webpack_require__(27)
  1031. , core = __webpack_require__(29)
  1032. , fails = __webpack_require__(32);
  1033. module.exports = function(KEY, exec){
  1034. var fn = (core.Object || {})[KEY] || Object[KEY]
  1035. , exp = {};
  1036. exp[KEY] = exec(fn);
  1037. $export($export.S + $export.F * fails(function(){ fn(1); }), 'Object', exp);
  1038. };
  1039. /***/ }),
  1040. /* 27 */
  1041. /***/ (function(module, exports, __webpack_require__) {
  1042. var global = __webpack_require__(28)
  1043. , core = __webpack_require__(29)
  1044. , ctx = __webpack_require__(30)
  1045. , PROTOTYPE = 'prototype';
  1046. var $export = function(type, name, source){
  1047. var IS_FORCED = type & $export.F
  1048. , IS_GLOBAL = type & $export.G
  1049. , IS_STATIC = type & $export.S
  1050. , IS_PROTO = type & $export.P
  1051. , IS_BIND = type & $export.B
  1052. , IS_WRAP = type & $export.W
  1053. , exports = IS_GLOBAL ? core : core[name] || (core[name] = {})
  1054. , target = IS_GLOBAL ? global : IS_STATIC ? global[name] : (global[name] || {})[PROTOTYPE]
  1055. , key, own, out;
  1056. if(IS_GLOBAL)source = name;
  1057. for(key in source){
  1058. // contains in native
  1059. own = !IS_FORCED && target && key in target;
  1060. if(own && key in exports)continue;
  1061. // export native or passed
  1062. out = own ? target[key] : source[key];
  1063. // prevent global pollution for namespaces
  1064. exports[key] = IS_GLOBAL && typeof target[key] != 'function' ? source[key]
  1065. // bind timers to global for call from export context
  1066. : IS_BIND && own ? ctx(out, global)
  1067. // wrap global constructors for prevent change them in library
  1068. : IS_WRAP && target[key] == out ? (function(C){
  1069. var F = function(param){
  1070. return this instanceof C ? new C(param) : C(param);
  1071. };
  1072. F[PROTOTYPE] = C[PROTOTYPE];
  1073. return F;
  1074. // make static versions for prototype methods
  1075. })(out) : IS_PROTO && typeof out == 'function' ? ctx(Function.call, out) : out;
  1076. if(IS_PROTO)(exports[PROTOTYPE] || (exports[PROTOTYPE] = {}))[key] = out;
  1077. }
  1078. };
  1079. // type bitmap
  1080. $export.F = 1; // forced
  1081. $export.G = 2; // global
  1082. $export.S = 4; // static
  1083. $export.P = 8; // proto
  1084. $export.B = 16; // bind
  1085. $export.W = 32; // wrap
  1086. module.exports = $export;
  1087. /***/ }),
  1088. /* 28 */
  1089. /***/ (function(module, exports) {
  1090. // https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
  1091. var global = module.exports = typeof window != 'undefined' && window.Math == Math
  1092. ? window : typeof self != 'undefined' && self.Math == Math ? self : Function('return this')();
  1093. if(typeof __g == 'number')__g = global; // eslint-disable-line no-undef
  1094. /***/ }),
  1095. /* 29 */
  1096. /***/ (function(module, exports) {
  1097. var core = module.exports = {version: '1.2.6'};
  1098. if(typeof __e == 'number')__e = core; // eslint-disable-line no-undef
  1099. /***/ }),
  1100. /* 30 */
  1101. /***/ (function(module, exports, __webpack_require__) {
  1102. // optional / simple context binding
  1103. var aFunction = __webpack_require__(31);
  1104. module.exports = function(fn, that, length){
  1105. aFunction(fn);
  1106. if(that === undefined)return fn;
  1107. switch(length){
  1108. case 1: return function(a){
  1109. return fn.call(that, a);
  1110. };
  1111. case 2: return function(a, b){
  1112. return fn.call(that, a, b);
  1113. };
  1114. case 3: return function(a, b, c){
  1115. return fn.call(that, a, b, c);
  1116. };
  1117. }
  1118. return function(/* ...args */){
  1119. return fn.apply(that, arguments);
  1120. };
  1121. };
  1122. /***/ }),
  1123. /* 31 */
  1124. /***/ (function(module, exports) {
  1125. module.exports = function(it){
  1126. if(typeof it != 'function')throw TypeError(it + ' is not a function!');
  1127. return it;
  1128. };
  1129. /***/ }),
  1130. /* 32 */
  1131. /***/ (function(module, exports) {
  1132. module.exports = function(exec){
  1133. try {
  1134. return !!exec();
  1135. } catch(e){
  1136. return true;
  1137. }
  1138. };
  1139. /***/ }),
  1140. /* 33 */
  1141. /***/ (function(module, exports) {
  1142. /* WEBPACK VAR INJECTION */(function(global) {/* global window */
  1143. 'use strict';
  1144. exports.__esModule = true;
  1145. exports['default'] = function (Handlebars) {
  1146. /* istanbul ignore next */
  1147. var root = typeof global !== 'undefined' ? global : window,
  1148. $Handlebars = root.Handlebars;
  1149. /* istanbul ignore next */
  1150. Handlebars.noConflict = function () {
  1151. if (root.Handlebars === Handlebars) {
  1152. root.Handlebars = $Handlebars;
  1153. }
  1154. return Handlebars;
  1155. };
  1156. };
  1157. module.exports = exports['default'];
  1158. /* WEBPACK VAR INJECTION */}.call(exports, (function() { return this; }())))
  1159. /***/ })
  1160. /******/ ])
  1161. });
  1162. ;