// Hprose for JavaScript v2.0.33// Copyright (c) 2008-2016 http://hprose.com// Hprose is freely distributable under the MIT license.// For all details and documentation:// https://github.com/hprose/hprose-js// BUG: CWE-345: Insufficient Verification of Data Authenticity// var hprose={};hprose.global="object"==typeof global?global:"object"==typeof window?window:"object"==typeof self?self:this,function(e){"use strict";if("undefined"==typeof e.setTimeout&&"function"==typeof e.require){var t;try{t=e.require("deviceone")}catch(r){return}t&&(e.setTimeout=function(e,r){r<=0&&(r=1);var n=t.mm("do_Timer");return n.delay=r,n.interval=r,n.on("tick",function(){n.stop(),e()}),n.start(),n},e.clearTimeout=function(e){e.isStart()&&e.stop()})}}(hprose.global),function(e){"use strict";"undefined"==typeof e.btoa&&(e.btoa=function(){var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");return function(t){var r,n,i,o,a,u,s;for(n=i=0,o=t.length,a=o%3,o-=a,u=o/3<<2,a>0&&(u+=4),r=new Array(u);n>18]+e[s>>12&63]+e[s>>6&63]+e[63&s];return 1===a?(s=t.charCodeAt(n++),r[i++]=e[s>>2]+e[(3&s)<<4]+"=="):2===a&&(s=t.charCodeAt(n++)<<8|t.charCodeAt(n++),r[i++]=e[s>>10]+e[s>>4&63]+e[(15&s)<<2]+"="),r.join("")}}()),"undefined"==typeof e.atob&&(e.atob=function(){var e=[-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,62,-1,-1,-1,63,52,53,54,55,56,57,58,59,60,61,-1,-1,-1,-1,-1,-1,-1,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,-1,-1,-1,-1,-1,-1,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,-1,-1,-1,-1,-1];return function(t){var r,n,i,o,a,u,s,c,f,l;if((s=t.length)%4!=0)return"";if(/[^ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789\+\/\=]/.test(t))return"";for(c="="===t.charAt(s-2)?1:"="===t.charAt(s-1)?2:0,f=s,c>0&&(f-=4),f=3*(f>>2)+c,l=new Array(f),a=u=0;a>4),-1!==(i=e[t.charCodeAt(a++)]))&&(l[u++]=String.fromCharCode((15&n)<<4|(60&i)>>2),-1!==(o=e[t.charCodeAt(a++)]));)l[u++]=String.fromCharCode((3&i)<<6|o);return l.join("")}}())}(hprose.global),function(e,t){"use strict";var r=function(e){return"get"in e&&"set"in e?function(){if(0===arguments.length)return e.get();e.set(arguments[0])}:"get"in e?e.get:"set"in e?e.set:void 0},n="function"!=typeof Object.defineProperties?function(e,t){["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"].forEach(function(r){var n=t[r];"value"in n&&(e[r]=n.value)});for(var n in t){var i=t[n];e[n]=void 0,"value"in i?e[n]=i.value:("get"in i||"set"in i)&&(e[n]=r(i))}}:function(e,t){for(var n in t){var i=t[n];("get"in i||"set"in i)&&(t[n]={value:r(i)})}Object.defineProperties(e,t)},i=function(){},o="function"!=typeof Object.create?function(e,t){if("object"!=typeof e&&"function"!=typeof e)throw new TypeError("prototype must be an object or function");i.prototype=e;var r=new i;return i.prototype=null,t&&n(r,t),r}:function(e,t){if(t){for(var n in t){var i=t[n];("get"in i||"set"in i)&&(t[n]={value:r(i)})}return Object.create(e,t)}return Object.create(e)},a=function(e){if("function"!=typeof e)throw new TypeError(e+" is not a function");return function(t){return e.apply(t,Array.prototype.slice.call(arguments,1))}},u=function(e){for(var t=e.length,r=new Array(t),n=0;n>15,i=new Array(r?n+1:n),o=0;o>>0;if(0===r)return-1;var n=+Number(arguments[1])||0;if(Math.abs(n)===Infinity&&(n=0),n>=r)return-1;for(var i=Math.max(n>=0?n:r-Math.abs(n),0);i>>0;if(0===r)return-1;var n=+Number(arguments[1])||0;Math.abs(n)===Infinity&&(n=0);for(var i=n>=0?Math.min(n,r-1):r-Math.abs(n);i>=0;i--)if(i in t&&t[i]===e)return i;return-1}),Array.prototype.filter||(Array.prototype.filter=function(e){if(null===this||void 0===this)throw new TypeError("this is null or not defined");var t=Object(this),r=t.length>>>0;if("function"!=typeof e)throw new TypeError(e+" is not a function");for(var n=[],i=arguments[1],o=0;o>>0;if("function"!=typeof e)throw new TypeError(e+" is not a function");for(var n=arguments[1],i=0;i>>0;if("function"!=typeof e)throw new TypeError(e+" is not a function");for(var n=arguments[1],i=0;i>>0;if("function"!=typeof e)throw new TypeError(e+" is not a function");for(var n=arguments[1],i=new Array(r),o=0;o>>0;if("function"!=typeof e)throw new TypeError(e+" is not a function");for(var n=arguments[1],i=0;i>>0;if("function"!=typeof e)throw new TypeError("First argument is not callable");if(0===r&&1===arguments.length)throw new TypeError("Array length is 0 and no second argument");var n,i=0;for(arguments.length>=2?n=arguments[1]:(n=t[0],i=1);i>>0;if("function"!=typeof e)throw new TypeError("First argument is not callable");if(0===r&&1===arguments.length)throw new TypeError("Array length is 0 and no second argument");var n,i=r-1;if(arguments.length>=2)n=arguments[1];else for(;;){if(i in t){n=t[i--];break}if(--i<0)throw new TypeError("Array contains no values")}for(;i>=0;)i in t&&(n=e.call(void 0,n,t[i],i,t)),i--;return n}),Array.prototype.includes||(Array.prototype.includes=function(e){var t=Object(this),r=parseInt(t.length,10)||0;if(0===r)return!1;var n,i=parseInt(arguments[1],10)||0;i>=0?n=i:(n=r+i)<0&&(n=0);for(var o;n>>0,i=arguments[1],o=0;o>>0,i=arguments[1],o=0;o>>0,n=arguments[1],i=n>>0,o=i<0?Math.max(r+i,0):Math.min(i,r),a=arguments[2],u=void 0===a?r:a>>0,s=u<0?Math.max(r+u,0):Math.min(u,r);o>>0,i=e>>0,o=i<0?Math.max(n+i,0):Math.min(i,n),a=t>>0,u=a<0?Math.max(n+a,0):Math.min(a,n),s=arguments[2],c=void 0===s?n:s>>0,f=c<0?Math.max(n+c,0):Math.min(c,n),l=Math.min(f-u,n-o),h=1;for(u0;)u in r?r[o]=r[u]:delete r[o],u+=h,o+=h,l--;return r}),Array.isArray||(Array.isArray=function(e){return"[object Array]"===Object.prototype.toString.call(e)}),Array.from||(Array.from=function(){var e=Object.prototype.toString,t=function(t){return"function"==typeof t||"[object Function]"===e.call(t)},r=function(e){var t=Number(e);return isNaN(t)?0:0!==t&&isFinite(t)?(t>0?1:-1)*Math.floor(Math.abs(t)):t},n=Math.pow(2,53)-1,i=function(e){var t=r(e);return Math.min(Math.max(t,0),n)};return function(e){var r=this,n=Object(e);if(null===e||void 0===e)throw new TypeError("Array.from requires an array-like object - not null or undefined");var o,a=arguments.length>1?arguments[1]:void 0;if(void 0!==a){if(!t(a))throw new TypeError("Array.from: when provided, the second argument must be a function");arguments.length>2&&(o=arguments[2])}for(var u,s=i(n.length),c=t(r)?Object(new r(s)):new Array(s),f=0;fr.length)&&(t=r.length),t-=e.length;var n=r.indexOf(e,t);return-1!==n&&n===t}),String.prototype.includes||(String.prototype.includes=function(){return"number"==typeof arguments[1]?!(this.length=1<<28)throw new RangeError("repeat count must not overflow maximum string size");for(var r="";1==(1&e)&&(r+=t),0!==(e>>>=1);)t+=t;return r}),String.prototype.trim||(String.prototype.trim=function(){return this.toString().replace(/^[\s\xa0]+|[\s\xa0]+$/g,"")}),String.prototype.trimLeft||(String.prototype.trimLeft=function(){return this.toString().replace(/^[\s\xa0]+/,"")}),String.prototype.trimRight||(String.prototype.trimRight=function(){return this.toString().replace(/[\s\xa0]+$/,"")}),Object.keys||(Object.keys=function(){var e=Object.prototype.hasOwnProperty,t=!{toString:null}.propertyIsEnumerable("toString"),r=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],n=r.length;return function(i){if("object"!=typeof i&&"function"!=typeof i||null===i)throw new TypeError("Object.keys called on non-object");var o=[];for(var a in i)e.call(i,a)&&o.push(a);if(t)for(var u=0;u0&&Array.isArray(arguments[0]))for(var c=arguments[0],f=0,l=c.length;f0&&Array.isArray(arguments[0]))for(var o=arguments[0],a=0,u=o.length;a0&&Array.isArray(arguments[0]))for(var i=arguments[0],o=0,a=i.length;o0;)i(e.shift())}).observe(t,{characterData:!0}),function(){var r=o(arguments);return e.push(r),t.data=1&r,r}},s.messageChannel=function(){var t=new e.MessageChannel;return t.port1.onmessage=function(e){i(Number(e.data))},function(){var e=o(arguments);return t.port2.postMessage(e),e}},s.nextTick=function(){return function(){var t=o(arguments);return e.process.nextTick(r(i,t)),t}},s.postMessage=function(){var e=a.createElement("iframe");e.style.display="none",a.documentElement.appendChild(e);var t=e.contentWindow;t.document.write('