From 4fc42f12bc8ed27f0d6a42c15971826420bb6a61 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=B3=96=E9=A5=BC?= Date: Sun, 23 Apr 2017 22:25:58 +0800 Subject: [PATCH] rebuild --- lib/template-node.js | 87 ++++++++++++++++++++++---------------------- lib/template-web.js | 2 +- 2 files changed, 44 insertions(+), 45 deletions(-) diff --git a/lib/template-node.js b/lib/template-node.js index 0dac2fdf..68a9f3f8 100644 --- a/lib/template-node.js +++ b/lib/template-node.js @@ -65,7 +65,7 @@ module.exports = /******/ __webpack_require__.p = ""; /******/ /******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 19); +/******/ return __webpack_require__(__webpack_require__.s = 18); /******/ }) /************************************************************************/ /******/ ([ @@ -83,9 +83,9 @@ module.exports = require("detect-node"); var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; -var Compiler = __webpack_require__(15); +var Compiler = __webpack_require__(14); var defaults = __webpack_require__(2); -var TemplateError = __webpack_require__(17); +var TemplateError = __webpack_require__(16); var debugRender = function debugRender(error, options) { options.onerror(error, options); @@ -224,16 +224,16 @@ module.exports = compile; var detectNode = __webpack_require__(0); -var onerror = __webpack_require__(11); -var caches = __webpack_require__(5); -var escape = __webpack_require__(7); -var loader = __webpack_require__(10); -var include = __webpack_require__(9); -var each = __webpack_require__(6); -var artRule = __webpack_require__(13); -var nativeRule = __webpack_require__(14); -var htmlMinifier = __webpack_require__(8); -var resolveFilename = __webpack_require__(12); +var onerror = __webpack_require__(10); +var caches = __webpack_require__(4); +var escape = __webpack_require__(6); +var loader = __webpack_require__(9); +var include = __webpack_require__(8); +var each = __webpack_require__(5); +var artRule = __webpack_require__(12); +var nativeRule = __webpack_require__(13); +var htmlMinifier = __webpack_require__(7); +var resolveFilename = __webpack_require__(11); /** 模板编译器默认配置 */ var defaults = { @@ -315,12 +315,6 @@ module.exports = defaults; /***/ }), /* 3 */ -/***/ (function(module, exports) { - -module.exports = require("is-keyword-js"); - -/***/ }), -/* 4 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -342,7 +336,7 @@ var render = function render(source, data, options) { module.exports = render; /***/ }), -/* 5 */ +/* 4 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -367,7 +361,7 @@ var caches = { module.exports = caches; /***/ }), -/* 6 */ +/* 5 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -393,7 +387,7 @@ var each = function each(data, callback) { module.exports = each; /***/ }), -/* 7 */ +/* 6 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -438,7 +432,7 @@ var escape = function escape(content) { module.exports = escape; /***/ }), -/* 8 */ +/* 7 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -455,7 +449,7 @@ var detectNode = __webpack_require__(0); var htmlMinifier = function htmlMinifier(source, options) { if (detectNode) { - var _htmlMinifier = __webpack_require__(21).minify; + var _htmlMinifier = __webpack_require__(20).minify; var ignoreCustomFragments = options.rules.map(function (rule) { return rule.test; }); @@ -475,7 +469,7 @@ var htmlMinifier = function htmlMinifier(source, options) { module.exports = htmlMinifier; /***/ }), -/* 9 */ +/* 8 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -501,7 +495,7 @@ var include = function include(filename, data, blocks, options) { module.exports = include; /***/ }), -/* 10 */ +/* 9 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -518,7 +512,7 @@ var detectNode = __webpack_require__(0); var loader = function loader(filename /*, options*/) { /* istanbul ignore else */ if (detectNode) { - var fs = __webpack_require__(20); + var fs = __webpack_require__(19); return fs.readFileSync(filename, 'utf8'); } else { var elem = document.getElementById(filename); @@ -529,7 +523,7 @@ var loader = function loader(filename /*, options*/) { module.exports = loader; /***/ }), -/* 11 */ +/* 10 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -552,7 +546,7 @@ var onerror = function onerror(error /*, options*/) { module.exports = onerror; /***/ }), -/* 12 */ +/* 11 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -595,7 +589,7 @@ var resolveFilename = function resolveFilename(filename, options) { module.exports = resolveFilename; /***/ }), -/* 13 */ +/* 12 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -804,7 +798,7 @@ nativeRule._split = split; module.exports = nativeRule; /***/ }), -/* 14 */ +/* 13 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -841,7 +835,7 @@ var nativeRule = { module.exports = nativeRule; /***/ }), -/* 15 */ +/* 14 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -855,9 +849,8 @@ function _defineProperty(obj, key, value) { if (key in obj) { Object.definePrope function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } -var isKeyword = __webpack_require__(3); -var esTokenizer = __webpack_require__(16); -var tplTokenizer = __webpack_require__(18); +var esTokenizer = __webpack_require__(15); +var tplTokenizer = __webpack_require__(17); /** 传递给模板的数据引用 */ var DATA = '$data'; @@ -1035,7 +1028,7 @@ var Compiler = function () { var imports = options.imports; var contextMap = this.CONTEXT_MAP; - if (!has(contextMap, name) && !has(external, name) && !isKeyword(name)) { + if (!has(contextMap, name) && !has(external, name)) { if (has(internal, name)) { value = internal[name]; @@ -1312,13 +1305,13 @@ Compiler.CONSTS = { module.exports = Compiler; /***/ }), -/* 16 */ +/* 15 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; -var isKeyword = __webpack_require__(3); +var isKeyword = __webpack_require__(21); // js-tokens@3.0.1 // Copyright 2014, 2015, 2016, 2017 Simon Lydell @@ -1353,7 +1346,7 @@ var esTokenizer = function esTokenizer(code) { module.exports = esTokenizer; /***/ }), -/* 17 */ +/* 16 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -1380,7 +1373,7 @@ TemplateError.prototype.constructor = TemplateError; module.exports = TemplateError; /***/ }), -/* 18 */ +/* 17 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -1488,7 +1481,7 @@ tplTokenizer.TYPE_ESCAPE = TYPE_ESCAPE; module.exports = tplTokenizer; /***/ }), -/* 19 */ +/* 18 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -1496,7 +1489,7 @@ module.exports = tplTokenizer; var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; -var render = __webpack_require__(4); +var render = __webpack_require__(3); var compile = __webpack_require__(1); var defaults = __webpack_require__(2); @@ -1522,17 +1515,23 @@ template.defaults = defaults; module.exports = template; /***/ }), -/* 20 */ +/* 19 */ /***/ (function(module, exports) { module.exports = require("fs"); /***/ }), -/* 21 */ +/* 20 */ /***/ (function(module, exports) { module.exports = require("html-minifier"); +/***/ }), +/* 21 */ +/***/ (function(module, exports) { + +module.exports = require("is-keyword-js"); + /***/ }), /* 22 */ /***/ (function(module, exports) { diff --git a/lib/template-web.js b/lib/template-web.js index ad2aca2b..2a3d883a 100644 --- a/lib/template-web.js +++ b/lib/template-web.js @@ -1,2 +1,2 @@ /*! art-template@4.4.1 | https://github.com/aui/art-template */ -!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.template=t():e.template=t()}(this,function(){return function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,t),o.l=!0,o.exports}var n={};return t.m=e,t.c=n,t.i=function(e){return e},t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=23)}([function(e,t,n){"use strict";(function(t){e.exports=!1;try{e.exports="[object process]"===Object.prototype.toString.call(t.process)}catch(e){}}).call(t,n(7))},function(e,t,n){"use strict";var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o=n(19),i=n(2),u=n(21),c=function(e,t){t.onerror(e,t);var n=function(){return"{Template Error}"};return n.mappings=[],n},s=function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};"object"===(void 0===t?"undefined":r(t))?n=t:n.source=t,n=i.$extend(n),t=n.source,n.debug&&(n.cache=!1,n.bail=!1,n.minimize=!1,n.compileDebug=!0),n.filename&&(n.filename=n.resolveFilename(n.filename,n));var s=n.filename,a=n.cache,l=n.caches;if(a&&s){var f=l.get(s);if(f)return f}if(!t)try{t=n.loader(s,n),n.source=t}catch(e){var p=new u({name:"CompileError",message:"template not found: "+e.message,stack:e.stack});if(n.bail)throw p;return c(p,n)}var m=new o(n),h=function t(r,o){try{return t.original(r,o)}catch(t){if(!n.compileDebug)return n.cache=!1,n.compileDebug=!0,e(n)(r,o);if(t=new u(t),n.bail)throw t;return c(t,n)()}};try{h.original=m.build(),h.mappings=h.original.mappings,a&&s&&l.set(s,h)}catch(p){if(p=new u(p),n.bail)throw p;return c(p,n)}return h.toString=function(){return h.original.toString()},h};s.Compiler=o,e.exports=s},function(e,t,n){"use strict";var r=n(0),o=n(15),i=n(9),u=n(11),c=n(14),s=n(13),a=n(10),l=n(17),f=n(18),p=n(12),m=n(16),h={source:null,filename:null,rules:[f,l],escape:!0,debug:!!r&&"production"!==process.env.NODE_ENV,bail:!1,cache:!0,minimize:!0,compileDebug:!1,resolveFilename:m,htmlMinifier:p,onerror:o,loader:c,caches:i,root:"/",extname:".art",imports:{$each:a,$escape:u,$include:s}};h.$extend=function(e){var t=Object.create(this);for(var n in e)t[n]=e[n];return t},e.exports=h},function(e,t,n){"use strict";var r={abstract:!0,await:!0,boolean:!0,break:!0,byte:!0,case:!0,catch:!0,char:!0,class:!0,const:!0,continue:!0,debugger:!0,default:!0,delete:!0,do:!0,double:!0,else:!0,enum:!0,export:!0,extends:!0,false:!0,final:!0,finally:!0,float:!0,for:!0,function:!0,goto:!0,if:!0,implements:!0,import:!0,in:!0,instanceof:!0,int:!0,interface:!0,let:!0,long:!0,native:!0,new:!0,null:!0,package:!0,private:!0,protected:!0,public:!0,return:!0,short:!0,static:!0,super:!0,switch:!0,synchronized:!0,this:!0,throw:!0,transient:!0,true:!0,try:!0,typeof:!0,var:!0,void:!0,volatile:!0,while:!0,with:!0,yield:!0};e.exports=function(e){return r.hasOwnProperty(e)}},function(e,t,n){"use strict"},function(e,t,n){"use strict";var r=n(1),o=function(e,t,n){return r(e,n)(t)};e.exports=o},function(e,t,n){"use strict";(function(e){var t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};!function(e){e.noop=function(){}}("object"===t(e)&&"object"===t(e.exports)?e.exports:window)}).call(t,n(8)(e))},function(e,t,n){"use strict";var r,o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};r=function(){return this}();try{r=r||Function("return this")()||(0,eval)("this")}catch(e){"object"===("undefined"==typeof window?"undefined":o(window))&&(r=window)}e.exports=r},function(e,t,n){"use strict";e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},function(e,t,n){"use strict";var r={__data:Object.create(null),set:function(e,t){this.__data[e]=t},get:function(e){return this.__data[e]},reset:function(){this.__data={}}};e.exports=r},function(e,t,n){"use strict";var r=function(e,t){if(Array.isArray(e))for(var n=0,r=e.length;n":">",'"':""","'":"'","&":"&"};return function e(t){return"string"!=typeof t&&(t="function"==typeof t?e(t.call(t)):null===t?"":JSON.stringify(t)||""),t}(e).replace(/&(?![\w#]+;)|[<>"']/g,function(e){return t[e]})};e.exports=r},function(e,t,n){"use strict";var r=n(0),o=function(e,t){if(r){e=(0,n(6).minify)(e,{collapseWhitespace:!0,minifyCSS:!0,minifyJS:!0,ignoreCustomFragments:t.rules.map(function(e){return e.test})})}return e};e.exports=o},function(e,t,n){"use strict";var r=function(e,t,r,o){var i=n(1);return o=o.$extend({filename:o.resolveFilename(e,o),source:null}),i(o)(t,r)};e.exports=r},function(e,t,n){"use strict";var r=n(0),o=function(e){if(r){return n(4).readFileSync(e,"utf8")}var t=document.getElementById(e);return t.value||t.innerHTML};e.exports=o},function(e,t,n){"use strict";var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o=function(e){"object"===("undefined"==typeof console?"undefined":r(console))&&console.error(e.name,e.message)};e.exports=o},function(e,t,n){"use strict";var r=n(0),o=/^\.+\//,i=function(e,t){if(r){var i=n(4),u=t.root,c=t.extname;if(o.test(e)){var s=t.filename,a=!s||e===s,l=a?u:i.dirname(s);e=i.resolve(l,e)}else e=i.resolve(u,e);i.extname(e)||(e+=c)}return e};e.exports=i},function(e,t,n){"use strict";var r={test:/{{([@#]?)(\/?)([\w\W]*?)}}/,use:function(e,t,n,r){var i=this,u=i.options,c=i.getEsTokens(r.trim()),s=c.map(function(e){return e.value}),a={},l=void 0,f=!!t&&"raw",p=n+s.shift(),m=function(e,t){console.warn("Template upgrade:","{{"+e+"}}",">>>","{{"+t+"}}","\n",u.filename||"")};switch("#"===t&&m("#value","@value"),p){case"set":r="var "+s.join("");break;case"if":r="if("+s.join("")+"){";break;case"else":var h=s.indexOf("if");h>-1?(s.splice(0,h+1),r="}else if("+s.join("")+"){"):r="}else{";break;case"/if":r="}";break;case"each":l=o(c),l.shift(),"as"===l[1]&&(m("each object as value index","each object value index"),l.splice(1,1));var y=l[0]||"$data",d=l[1]||"$value",v=l[2]||"$index";r="$each("+y+",function("+d+","+v+"){";break;case"/each":r="})";break;case"echo":p="print",m("echo value","value");case"print":case"include":case"extend":l=o(c),l.shift(),r=p+"("+l.join(",")+")";break;case"block":r="block("+s.join("")+",function(){";break;case"/block":r="})";break;default:if(-1!==s.indexOf("|")){for(var b=p,g=[],x=s.filter(function(e){return!/^\s+$/.test(e)});"|"!==x[0];)b+=x.shift();x.filter(function(e){return":"!==e}).forEach(function(e){"|"===e?g.push([]):g[g.length-1].push(e)}),g.reduce(function(e,t){var n=t.shift();return t.unshift(e),r=n+"("+t.join(",")+")"},b)}else u.imports[p]?(m("filterName value","value | filterName"),l=o(c),l.shift(),r=p+"("+l.join(",")+")",f="raw"):r=""+p+s.join("");f||(f="escape")}return a.code=r,a.output=f,a}},o=function(e){for(var t=0,n=e.shift(),r=[[n]];t/,use:function(e,t,n,r){var o={"-":"raw","=":"escape","":!1,"==":"raw","=#":"raw"};return t&&(r="//"+r),{code:r,output:o[n]}}};e.exports=r},function(e,t,n){"use strict";function r(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t\s*?{[\s;]*?$)/,"$1})"],[/(^[\w\W]*?\([\w\W]*?\)\s*?{[\s;]*?$)/,"$1}"]],n=0;n!=?({]|\/(?![\/*])))))|(0[xX][\da-fA-F]+|0[oO][0-7]+|0[bB][01]+|(?:\d*\.\d+|\d+\.?)(?:[eE][+-]?\d+)?)|((?!\d)(?:(?!\s)[$\w\u0080-\uFFFF]|\\u[\da-fA-F]{4}|\\u\{[\da-fA-F]+\})+)|(--|\+\+|&&|\|\||=>|\.{3}|(?:[+\-\/%&|^]|\*{1,2}|<{1,2}|>{1,3}|!=?|={1,2})=?|[?~.,:;[\](){}])|(\s+)|(^$|[\s\S])/g,i=function(e){var t={type:"invalid",value:e[0]};return e[1]?(t.type="string",t.closed=!(!e[3]&&!e[4])):e[5]?t.type="comment":e[6]?(t.type="comment",t.closed=!!e[7]):e[8]?t.type="regex":e[9]?t.type="number":e[10]?t.type="name":e[11]?t.type="punctuator":e[12]&&(t.type="whitespace"),t},u=function(e){return e.match(o).map(function(e){return o.lastIndex=0,i(o.exec(e))}).map(function(e){return"name"===e.type&&r(e.value)&&(e.type="keyword"),e})};e.exports=u},function(e,t,n){"use strict";function r(e){var t=e.stack.replace(/^[^:]+: /,"");delete e.stack,e=JSON.stringify(e,null,4),this.name="TemplateError",this.message=e,this.stack=t}r.prototype=Object.create(Error.prototype),r.prototype.constructor=r,e.exports=r},function(e,t,n){"use strict";var r=function(e,t,n){for(var r=[{type:"string",value:e,line:0,start:0,end:e.length}],o=0;o1&&void 0!==arguments[1]?arguments[1]:{};"object"===(void 0===t?"undefined":r(t))?n=t:n.source=t,n=i.$extend(n),t=n.source,n.debug&&(n.cache=!1,n.bail=!1,n.minimize=!1,n.compileDebug=!0),n.filename&&(n.filename=n.resolveFilename(n.filename,n));var s=n.filename,a=n.cache,l=n.caches;if(a&&s){var f=l.get(s);if(f)return f}if(!t)try{t=n.loader(s,n),n.source=t}catch(e){var p=new u({name:"CompileError",message:"template not found: "+e.message,stack:e.stack});if(n.bail)throw p;return c(p,n)}var m=new o(n),h=function t(r,o){try{return t.original(r,o)}catch(t){if(!n.compileDebug)return n.cache=!1,n.compileDebug=!0,e(n)(r,o);if(t=new u(t),n.bail)throw t;return c(t,n)()}};try{h.original=m.build(),h.mappings=h.original.mappings,a&&s&&l.set(s,h)}catch(p){if(p=new u(p),n.bail)throw p;return c(p,n)}return h.toString=function(){return h.original.toString()},h};s.Compiler=o,e.exports=s},function(e,t,n){"use strict";var r=n(0),o=n(15),i=n(9),u=n(11),c=n(14),s=n(13),a=n(10),l=n(17),f=n(18),p=n(12),m=n(16),h={source:null,filename:null,rules:[f,l],escape:!0,debug:!!r&&"production"!==process.env.NODE_ENV,bail:!1,cache:!0,minimize:!0,compileDebug:!1,resolveFilename:m,htmlMinifier:p,onerror:o,loader:c,caches:i,root:"/",extname:".art",imports:{$each:a,$escape:u,$include:s}};h.$extend=function(e){var t=Object.create(this);for(var n in e)t[n]=e[n];return t},e.exports=h},function(e,t,n){"use strict"},function(e,t,n){"use strict";var r=n(1),o=function(e,t,n){return r(e,n)(t)};e.exports=o},function(e,t,n){"use strict";(function(e){var t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};!function(e){e.noop=function(){}}("object"===t(e)&&"object"===t(e.exports)?e.exports:window)}).call(t,n(8)(e))},function(e,t,n){"use strict";var r={abstract:!0,await:!0,boolean:!0,break:!0,byte:!0,case:!0,catch:!0,char:!0,class:!0,const:!0,continue:!0,debugger:!0,default:!0,delete:!0,do:!0,double:!0,else:!0,enum:!0,export:!0,extends:!0,false:!0,final:!0,finally:!0,float:!0,for:!0,function:!0,goto:!0,if:!0,implements:!0,import:!0,in:!0,instanceof:!0,int:!0,interface:!0,let:!0,long:!0,native:!0,new:!0,null:!0,package:!0,private:!0,protected:!0,public:!0,return:!0,short:!0,static:!0,super:!0,switch:!0,synchronized:!0,this:!0,throw:!0,transient:!0,true:!0,try:!0,typeof:!0,var:!0,void:!0,volatile:!0,while:!0,with:!0,yield:!0};e.exports=function(e){return r.hasOwnProperty(e)}},function(e,t,n){"use strict";var r,o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};r=function(){return this}();try{r=r||Function("return this")()||(0,eval)("this")}catch(e){"object"===("undefined"==typeof window?"undefined":o(window))&&(r=window)}e.exports=r},function(e,t,n){"use strict";e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},function(e,t,n){"use strict";var r={__data:Object.create(null),set:function(e,t){this.__data[e]=t},get:function(e){return this.__data[e]},reset:function(){this.__data={}}};e.exports=r},function(e,t,n){"use strict";var r=function(e,t){if(Array.isArray(e))for(var n=0,r=e.length;n":">",'"':""","'":"'","&":"&"};return function e(t){return"string"!=typeof t&&(t="function"==typeof t?e(t.call(t)):null===t?"":JSON.stringify(t)||""),t}(e).replace(/&(?![\w#]+;)|[<>"']/g,function(e){return t[e]})};e.exports=r},function(e,t,n){"use strict";var r=n(0),o=function(e,t){if(r){e=(0,n(5).minify)(e,{collapseWhitespace:!0,minifyCSS:!0,minifyJS:!0,ignoreCustomFragments:t.rules.map(function(e){return e.test})})}return e};e.exports=o},function(e,t,n){"use strict";var r=function(e,t,r,o){var i=n(1);return o=o.$extend({filename:o.resolveFilename(e,o),source:null}),i(o)(t,r)};e.exports=r},function(e,t,n){"use strict";var r=n(0),o=function(e){if(r){return n(3).readFileSync(e,"utf8")}var t=document.getElementById(e);return t.value||t.innerHTML};e.exports=o},function(e,t,n){"use strict";var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o=function(e){"object"===("undefined"==typeof console?"undefined":r(console))&&console.error(e.name,e.message)};e.exports=o},function(e,t,n){"use strict";var r=n(0),o=/^\.+\//,i=function(e,t){if(r){var i=n(3),u=t.root,c=t.extname;if(o.test(e)){var s=t.filename,a=!s||e===s,l=a?u:i.dirname(s);e=i.resolve(l,e)}else e=i.resolve(u,e);i.extname(e)||(e+=c)}return e};e.exports=i},function(e,t,n){"use strict";var r={test:/{{([@#]?)(\/?)([\w\W]*?)}}/,use:function(e,t,n,r){var i=this,u=i.options,c=i.getEsTokens(r.trim()),s=c.map(function(e){return e.value}),a={},l=void 0,f=!!t&&"raw",p=n+s.shift(),m=function(e,t){console.warn("Template upgrade:","{{"+e+"}}",">>>","{{"+t+"}}","\n",u.filename||"")};switch("#"===t&&m("#value","@value"),p){case"set":r="var "+s.join("");break;case"if":r="if("+s.join("")+"){";break;case"else":var h=s.indexOf("if");h>-1?(s.splice(0,h+1),r="}else if("+s.join("")+"){"):r="}else{";break;case"/if":r="}";break;case"each":l=o(c),l.shift(),"as"===l[1]&&(m("each object as value index","each object value index"),l.splice(1,1));var y=l[0]||"$data",d=l[1]||"$value",v=l[2]||"$index";r="$each("+y+",function("+d+","+v+"){";break;case"/each":r="})";break;case"echo":p="print",m("echo value","value");case"print":case"include":case"extend":l=o(c),l.shift(),r=p+"("+l.join(",")+")";break;case"block":r="block("+s.join("")+",function(){";break;case"/block":r="})";break;default:if(-1!==s.indexOf("|")){for(var b=p,g=[],x=s.filter(function(e){return!/^\s+$/.test(e)});"|"!==x[0];)b+=x.shift();x.filter(function(e){return":"!==e}).forEach(function(e){"|"===e?g.push([]):g[g.length-1].push(e)}),g.reduce(function(e,t){var n=t.shift();return t.unshift(e),r=n+"("+t.join(",")+")"},b)}else u.imports[p]?(m("filterName value","value | filterName"),l=o(c),l.shift(),r=p+"("+l.join(",")+")",f="raw"):r=""+p+s.join("");f||(f="escape")}return a.code=r,a.output=f,a}},o=function(e){for(var t=0,n=e.shift(),r=[[n]];t/,use:function(e,t,n,r){var o={"-":"raw","=":"escape","":!1,"==":"raw","=#":"raw"};return t&&(r="//"+r),{code:r,output:o[n]}}};e.exports=r},function(e,t,n){"use strict";function r(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t\s*?{[\s;]*?$)/,"$1})"],[/(^[\w\W]*?\([\w\W]*?\)\s*?{[\s;]*?$)/,"$1}"]],n=0;n!=?({]|\/(?![\/*])))))|(0[xX][\da-fA-F]+|0[oO][0-7]+|0[bB][01]+|(?:\d*\.\d+|\d+\.?)(?:[eE][+-]?\d+)?)|((?!\d)(?:(?!\s)[$\w\u0080-\uFFFF]|\\u[\da-fA-F]{4}|\\u\{[\da-fA-F]+\})+)|(--|\+\+|&&|\|\||=>|\.{3}|(?:[+\-\/%&|^]|\*{1,2}|<{1,2}|>{1,3}|!=?|={1,2})=?|[?~.,:;[\](){}])|(\s+)|(^$|[\s\S])/g,i=function(e){var t={type:"invalid",value:e[0]};return e[1]?(t.type="string",t.closed=!(!e[3]&&!e[4])):e[5]?t.type="comment":e[6]?(t.type="comment",t.closed=!!e[7]):e[8]?t.type="regex":e[9]?t.type="number":e[10]?t.type="name":e[11]?t.type="punctuator":e[12]&&(t.type="whitespace"),t},u=function(e){return e.match(o).map(function(e){return o.lastIndex=0,i(o.exec(e))}).map(function(e){return"name"===e.type&&r(e.value)&&(e.type="keyword"),e})};e.exports=u},function(e,t,n){"use strict";function r(e){var t=e.stack.replace(/^[^:]+: /,"");delete e.stack,e=JSON.stringify(e,null,4),this.name="TemplateError",this.message=e,this.stack=t}r.prototype=Object.create(Error.prototype),r.prototype.constructor=r,e.exports=r},function(e,t,n){"use strict";var r=function(e,t,n){for(var r=[{type:"string",value:e,line:0,start:0,end:e.length}],o=0;o