if(!("WebSocket"in window)||isAndroid&&!isAndroidChrome)window.WebSocketPolyfill=function(e,t,n){function r(){var t=new Object;t.uID=n,t.ip=e,funcObj.appcomm.appSend({method:"socketCreate",params:t,id:null})}function i(e){var t=new Object;t.uID=n,t.sendStr=e,funcObj.appcomm.appSend({method:"socketSend",params:t,id:null})}function s(){var t=new Object;t.uID=n,t.ip=e,funcObj.appcomm.appSend({method:"socketClose",params:t,id:null})}var e=e,t=t,n=n;this.send=i,this.construct=r,this.close=s,r()};