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