1 line
778 KiB
JavaScript
1 line
778 KiB
JavaScript
|
!function(){"use strict";var e=window.__h;function t(e){return null!=e}function r(e){return void 0===e?"":e}function i(e,t,r){return e&&e[t]&&"function"==typeof e[t]?e[t]:function(){return logger.warn("未定义的模板 ("+t+")"+(r?" in "+r:"")),""}}function a(e){var t={__is_object:!1,__object_data:[]};return"[object Object]"===Object.prototype.toString.call(e)&&(t.__is_object=!0,t.__object_data=Object.keys(e).map((function(t){return{index:t,item:e[t]}}))),t}function n(e,t){return e(t={exports:{}},t.exports),t.exports}function o(e,t,r){Object.defineProperty(e,t,{value:r,configurable:!0,writable:!0,enumerable:!1})}function l(e,t,r,i){Object.defineProperty(e,t,{get:r,set:i,configurable:!0,enumerable:!1})}window.__emptyNode||(window.__emptyNode=function(){return null}),window.__exprWrapper__||(window.__exprWrapper__=function(e){return e}),function(){l(arguments.__proto__,"$t_length",(function(){return this.length}),(function(){}))}(),Date.$t_now=Date.now,Date.$t_parse=Date.parse,Date.$t_UTC=Date.UTC;Date;Number.$t_MAX_VALUE=Number.MAX_VALUE,Number.$t_MIN_VALUE=Number.MIN_VALUE,Number.$t_NEGATIVE_INFINITY=Number.NEGATIVE_INFINITY,Number.$t_POSITIVE_INFINITY=Number.POSITIVE_INFINITY;var d={};d.$t_E=Math.E,d.$t_LN10=Math.LN10,d.$t_LN2=Math.LN2,d.$t_LOG2E=Math.LOG2E,d.$t_LOG10E=Math.LOG10E,d.$t_PI=Math.PI,d.$t_SQRT1_2=Math.SQRT1_2,d.$t_SQRT2=Math.SQRT2,d.$t_abs=Math.abs,d.$t_acos=Math.acos,d.$t_asin=Math.asin,d.$t_atan=Math.atan,d.$t_atan2=Math.atan2,d.$t_ceil=Math.ceil,d.$t_cos=Math.cos,d.$t_exp=Math.exp,d.$t_floor=Math.floor,d.$t_log=Math.log,d.$t_max=Math.max,d.$t_min=Math.min,d.$t_pow=Math.pow,d.$t_random=Math.random,d.$t_round=Math.round,d.$t_sin=Math.sin,d.$t_sqrt=Math.sqrt,d.$t_tan=Math.tan;console.log;parseInt,parseFloat,isNaN,isFinite,decodeURI,encodeURI,decodeURIComponent,encodeURIComponent;o(Object.prototype,"$t_constructor","Object"),o(Object.prototype,"$t_toString",(function(){return"[object Object]"})),o(Function.prototype,"$t_constructor","Function"),l(Function.prototype,"$t_length",(function(){return this.length})),o(Object.prototype,"$t_toString",(function(){return"[function Function]"})),o(Array.prototype,"$t_concat",Array.prototype.concat),o(Array.prototype,"$t_pop",Array.prototype.pop),o(Array.prototype,"$t_push",Array.prototype.push),o(Array.prototype,"$t_reverse",Array.prototype.reverse),o(Array.prototype,"$t_shift",Array.prototype.shift),o(Array.prototype,"$t_slice",Array.prototype.slice),o(Array.prototype,"$t_sort",Array.prototype.sort),o(Array.prototype,"$t_splice",Array.prototype.splice),o(Array.prototype,"$t_unshift",Array.prototype.unshift),o(Array.prototype,"$t_indexOf",Array.prototype.indexOf),o(Array.prototype,"$t_lastIndexOf",Array.prototype.lastIndexOf),o(Array.prototype,"$t_every",Array.prototype.every),o(Array.prototype,"$t_some",Array.prototype.some),o(Array.prototype,"$t_forEach",Array.prototype.forEach),o(Array.prototype,"$t_map",Array.prototype.map),o(Array.prototype,"$t_filter",Array.prototype.filter),o(Array.prototype,"$t_reduce",Array.prototype.reduce),o(Array.prototype,"$t_reduceRight",Array.prototype.reduceRight),l(Array.prototype,"$t_length",(function(){return this.length}),(function(e){this.length=e})),o(Array.prototype,"$t_constructor","Array"),o(Array.prototype,"$t_toString",(function(){return this.$t_join()})),o(Array.prototype,"$t_join",(function(e){e=null==e?",":e;for(var t="",r=0;r<this.length;r++)0!==r&&(t+=e),null===this[r]||void 0===this[r]?t+="":"function"==typeof this[r]?t+=this[r].$t_toString():"object"==typeof this[r]&&"Array"===this[r].$t_constructor?t+=this[r].$t_join():t+=this[r].toString();return t})),o(String.prototype,"$t_constructor","String"),o(String.prototype,"$t_toString",String.prototype.toString),o(String.prototype,"$t_valueOf",String.prototype.valueOf),o(String.prototype,"$t_charAt",String.prototype.charAt),o(String.prototype,"$t_charCodeAt",String.prototype.charCodeAt),o(String.prototype,"$t_concat",String.prototype.concat),o(String.prototype,"$t_indexOf",String.prototype.indexOf),o(String.prototype,"$t_lastIndexOf",String.prototype.lastIndexOf),o(Strin
|