1 line
956 KiB
JavaScript
1 line
956 KiB
JavaScript
|
!function(){"use strict";var e=window.__h;function t(e){return null!=e}function n(e){return void 0===e?"":e}function a(e,t,n){return e&&e[t]&&"function"==typeof e[t]?e[t]:function(){return logger.warn("未定义的模板 ("+t+")"+(n?" in "+n:"")),""}}function i(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 o(e,t){return e(t={exports:{}},t.exports),t.exports}function l(e,t,n){Object.defineProperty(e,t,{value:n,configurable:!0,writable:!0,enumerable:!1})}function r(e,t,n,a){Object.defineProperty(e,t,{get:n,set:a,configurable:!0,enumerable:!1})}window.__emptyNode||(window.__emptyNode=function(){return null}),window.__exprWrapper__||(window.__exprWrapper__=function(e){return e}),function(){r(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;l(Object.prototype,"$t_constructor","Object"),l(Object.prototype,"$t_toString",(function(){return"[object Object]"})),l(Function.prototype,"$t_constructor","Function"),r(Function.prototype,"$t_length",(function(){return this.length})),l(Object.prototype,"$t_toString",(function(){return"[function Function]"})),l(Array.prototype,"$t_concat",Array.prototype.concat),l(Array.prototype,"$t_pop",Array.prototype.pop),l(Array.prototype,"$t_push",Array.prototype.push),l(Array.prototype,"$t_reverse",Array.prototype.reverse),l(Array.prototype,"$t_shift",Array.prototype.shift),l(Array.prototype,"$t_slice",Array.prototype.slice),l(Array.prototype,"$t_sort",Array.prototype.sort),l(Array.prototype,"$t_splice",Array.prototype.splice),l(Array.prototype,"$t_unshift",Array.prototype.unshift),l(Array.prototype,"$t_indexOf",Array.prototype.indexOf),l(Array.prototype,"$t_lastIndexOf",Array.prototype.lastIndexOf),l(Array.prototype,"$t_every",Array.prototype.every),l(Array.prototype,"$t_some",Array.prototype.some),l(Array.prototype,"$t_forEach",Array.prototype.forEach),l(Array.prototype,"$t_map",Array.prototype.map),l(Array.prototype,"$t_filter",Array.prototype.filter),l(Array.prototype,"$t_reduce",Array.prototype.reduce),l(Array.prototype,"$t_reduceRight",Array.prototype.reduceRight),r(Array.prototype,"$t_length",(function(){return this.length}),(function(e){this.length=e})),l(Array.prototype,"$t_constructor","Array"),l(Array.prototype,"$t_toString",(function(){return this.$t_join()})),l(Array.prototype,"$t_join",(function(e){e=null==e?",":e;for(var t="",n=0;n<this.length;n++)0!==n&&(t+=e),null===this[n]||void 0===this[n]?t+="":"function"==typeof this[n]?t+=this[n].$t_toString():"object"==typeof this[n]&&"Array"===this[n].$t_constructor?t+=this[n].$t_join():t+=this[n].toString();return t})),l(String.prototype,"$t_constructor","String"),l(String.prototype,"$t_toString",String.prototype.toString),l(String.prototype,"$t_valueOf",String.prototype.valueOf),l(String.prototype,"$t_charAt",String.prototype.charAt),l(String.prototype,"$t_charCodeAt",String.prototype.charCodeAt),l(String.prototype,"$t_concat",String.prototype.concat),l(String.prototype,"$t_indexOf",String.prototype.indexOf),l(String.prototype,"$t_lastIndexOf",String.prototype.lastIndexOf),l(Strin
|