!function(a,b){"object"==typeofmodule&&"object"==typeofmodule.exports?module.exports=a.document?b(a,!0):function(a){if(!a.document)thrownewError("jQuery requires a window with a document");returnb(a)}:b(a)}("undefined"!=typeofwindow?window:this,function(a,b){functionc(a){varb=a.length,c=_.type(a);return"function"===c||_.isWindow(a)?!1:1===a.nodeType&&b?!0:"array"===c||0===b||"number"==typeofb&&b>0&&b-1ina}functiond(a,b,c){if(_.isFunction(b))return_.grep(a,function(a,d){return!!b.call(a,d,a)!==c});if(b.nodeType)return_.grep(a,function(a){returna===b!==c});if("string"==typeofb){if(hb.test(b))return_.filter(b,a,c);b=_.filter(b,a)}return_.grep(a,function(a){returnU.call(b,a)>=0!==c})}functione(a,b){for(;(a=a[b])&&1!==a.nodeType;);returna}functionf(a){varb=ob[a]={};return_.each(a.match(nb)||[],function(a,c){b[c]=!0}),b}functiong(){Z.removeEventListener("DOMContentLoaded",g,!1),a.removeEventListener("load",g,!1),_.ready()}functionh(){Object.defineProperty(this.cache={},0,{get:function(){return{}}}),this.expando=_.expando+Math.random()}functioni(a,b,c){vard;if(void0===c&&1===a.nodeType)if(d="data-"+b.replace(ub,"-$1").toLowerCase(),c=a.getAttribute(d),"string"==typeofc){try{c="true"===c?!0:"false"===c?!1:"null"===c?null:+c+""===c?+c:tb.test(c)?_.parseJSON(c):c}catch(e){}sb.set(a,b,c)}elsec=void0;returnc}functionj(){return!0}functionk(){return!1}functionl(){try{returnZ.activeElement}catch(a){}}functionm(a,b){return_.nodeName(a,"table")&&_.nodeName(11!==b.nodeType?b:b.firstChild,"tr")?a.getElementsByTagName("tbody")[0]||a.appendChild(a.ownerDocument.createElement("tbody")):a}functionn(a){returna.type=(null!==a.getAttribute("type"))+"/"+a.type,a}functiono(a){varb=Kb.exec(a.type);returnb?a.type=b[1]:a.removeAttribute("type"),a}functionp(a,b){for(varc=0,d=a.length;d>c;c++)rb.set(a[c],"globalEval",!b||rb.get(b[c],"globalEval"))}functionq(a,b){varc,d,e,f,g,h,i,j;if(1===b.nodeType){if(rb.hasData(a)&&(f=rb.access(a),g=rb.set(b,f),j=f.events)){deleteg.handle,g.events={};for(einj)for(c=0,d=j[e].length;d>c;c++)_.event.add(b,e,j[e][c])}sb.hasData(a)&&(h=sb.access(a),i=_.extend({},h),sb.set(b,i))}}functionr(a,b){varc=a.getElementsByTagName?a.getElementsByTagName(b||"*"):a.querySelectorAll?a.querySelectorAll(b||"*"):[];returnvoid0===b||b&&_.nodeName(a,b)?_.merge([a],c):c}functions(a,b){varc=b.nodeName.toLowerCase();"input"===c&&yb.test(a.type)?b.checked=a.checked:("input"===c||"textarea"===c)&&(b.defaultValue=a.defaultValue)}functiont(b,c){vard,e=_(c.createElement(b)).appendTo(c.body),f=a.getDefaultComputedStyle&&(d=a.getDefaultComputedStyle(e[0]))?d.display:_.css(e[0],"display");returne.detach(),f}functionu(a){varb=Z,c=Ob[a];returnc||(c=t(a,b),"none"!==c&&c||(Nb=(Nb||_("<iframe frameborder='0' width='0' height='0'/>")).appendTo(b.documentElement),b=Nb[0].contentDocument,b.write(),b.close(),c=t(a,b),Nb.detach()),Ob[a]=c),c}functionv(a,b,c){vard,e,f,g,h=a.style;returnc=c||Rb(a),c&&(g=c.getPropertyValue(b)||c[b]),c&&(""!==g||_.contains(a.ownerDocument,a)||(g=_.style(a,b)),Qb.test(g)&&Pb.test(b)&&(d=h.width,e=h.minWidth,f=h.maxWidth,h.minWidth=h.maxWidth=h.width=g,g=c.width,h.width=d,h.minWidth=e,h.maxWidth=f)),void0!==g?g+"":g}functionw(a,b){return{get:function(){returna()?voiddeletethis.get:(this.get=b).apply(this,arguments)}}}functionx(a,b){if(bina)returnb;for(varc=b[0].toUpperCase()+b.slice(1),d=b,e=Xb.length;e--;)if(b=Xb[e]+c,bina)returnb;returnd}functiony(a,b,c){vard=Tb.exec(b);returnd?Math.max(0,d[1]-(c||0))+(d[2]||"px"):b}functionz(a,b,c,d,e){for(varf=c===(d?"border":"content")?4:"width"===b?1:0,g=0;4>f;f+=2)"margin"===c&&(g+=_.css(a,c+wb[f],!0,e)),d?("content"===c&&(g-=_.css(a,"padding"+wb[f],!0,e)),"margin"!==c&&(g-=_.css(a,"border"+wb[f]+"Width",!0,e))):(g+=_.css(a,"padding"+wb[f],!0,e),"padding"!==c&&(g+=_.css(a,"border"+wb[f]+"Width",!0,e)));returng}functionA(a,b,c){vard=!0,e="width"===b?a.offsetWidth:a.offsetHeight,f=Rb(a),g="border-box"===_.css(a,"boxSizing",!1,f);if(0>=e||null==e){if(e=v(a,b,f),(0>e||null==e)&&(e=a.style[b]),Qb.test(e))return
}},{}],9:[function(a,b){functionc(a){returnc.enabled(a)?function(b){b=d(b);vare=newDate,f=e-(c[a]||e);c[a]=e,b=a+" "+b+" +"+c.humanize(f),window.console&&console.log&&Function.prototype.apply.call(console.log,console,arguments)}:function(){}}functiond(a){returnainstanceofError?a.stack||a.message:a}b.exports=c,c.names=[],c.skips=[],c.enable=function(a){try{localStorage.debug=a}catch(b){}for(vard=(a||"").split(/[\s,]+/),e=d.length,f=0;e>f;f++)a=d[f].replace("*",".*?"),"-"===a[0]?c.skips.push(newRegExp("^"+a.substr(1)+"$")):c.names.push(newRegExp("^"+a+"$"))},c.disable=function(){c.enable("")},c.humanize=function(a){varb=1e3,c=6e4,d=60*c;returna>=d?(a/d).toFixed(1)+"h":a>=c?(a/c).toFixed(1)+"m":a>=b?(a/b|0)+"s":a+"ms"},c.enabled=function(a){for(varb=0,d=c.skips.length;d>b;b++)if(c.skips[b].test(a))return!1;for(varb=0,d=c.names.length;d>b;b++)if(c.names[b].test(a))return!0;return!1};try{window.localStorage&&c.enable(localStorage.debug)}catch(e){}},{}],10:[function(a,b){functionc(a){returna?d(a):void0}functiond(a){for(varbinc.prototype)a[b]=c.prototype[b];returna}vare=a("indexof");b.exports=c,c.prototype.on=function(a,b){returnthis._callbacks=this._callbacks||{},(this._callbacks[a]=this._callbacks[a]||[]).push(b),this},c.prototype.once=function(a,b){functionc(){d.off(a,c),b.apply(this,arguments)}vard=this;returnthis._callbacks=this._callbacks||{},b._off=c,this.on(a,c),this},c.prototype.off=c.prototype.removeListener=c.prototype.removeAllListeners=function(a,b){if(this._callbacks=this._callbacks||{},0==arguments.length)returnthis._callbacks={},this;varc=this._callbacks[a];if(!c)returnthis;if(1==arguments.length)returndeletethis._callbacks[a],this;vard=e(c,b._off||b);return~d&&c.splice(d,1),this},c.prototype.emit=function(a){this._callbacks=this._callbacks||{};varb=[].slice.call(arguments,1),c=this._callbacks[a];if(c){c=c.slice(0);for(vard=0,e=c.length;e>d;++d)c[d].apply(this,b)}returnthis},c.prototype.listeners=function(a){returnthis._callbacks=this._callbacks||{},this._callbacks[a]||[]},c.prototype.hasListeners=function(a){return!!this.listeners(a).length}},{indexof:36}],11:[function(a,b){b.exports=a("./lib/")},{"./lib/":12}],12:[function(a,b){b.exports=a("./socket"),b.exports.parser=a("engine.io-parser")},{"./socket":13,"engine.io-parser":22}],13:[function(a,b){functionc(a,b){if(!(thisinstanceofc))returnnewc(a,b);if(b=b||{},a&&"object"==typeofa&&(b=a,a=null),a&&(a=k(a),b.host=a.host,b.secure="https"==a.protocol||"wss"==a.protocol,b.port=a.port,a.query&&(b.query=a.query)),this.secure=null!=b.secure?b.secure:e.location&&"https:"==location.protocol,b.host){vard=b.host.split(":");b.hostname=d.shift(),d.length&&(b.port=d.pop())}this.agent=b.agent||!1,this.hostname=b.hostname||(e.location?location.hostname:"localhost"),this.port=b.port||(e.location&&location.port?location.port:this.secure?443:80),this.query=b.query||{},"string"==typeofthis.query&&(this.query=m.decode(this.query)),this.upgrade=!1!==b.upgrade,this.path=(b.path||"/engine.io").replace(/\/$/,"")+"/",this.forceJSONP=!!b.forceJSONP,this.forceBase64=!!b.forceBase64,this.timestampParam=b.timestampParam||"t",this.timestampRequests=b.timestampRequests,this.transports=b.transports||["polling","websocket"],this.readyState="",this.writeBuffer=[],this.callbackBuffer=[],this.policyPort=b.policyPort||843,this.rememberUpgrade=b.rememberUpgrade||!1,this.open(),this.binaryType=null,this.onlyBinaryUpgrades=b.onlyBinaryUpgrades}functiond(a){varb={};for(varcina)a.hasOwnProperty(c)&&(b[c]=a[c]);returnb}vare="undefined"!=typeofself?self:"undefined"!=typeofwindow?window:{},f=a("./transports"),g=a("component-emitter"),h=a("debug")("engine.io-client:socket"),i=a("indexof"),j=a("engine.io-parser"),k=a("parseuri"),l=a("parsejson"),m=a("parseqs");b.exports=c,c.priorWebsocketSuccess=!1,g(c.prototype),c.protocol=j.protocol,c.Socket=c,c.Transport=a("./transport"),c.transports=a("./transports"),c.parser=a("engine.io-parser"),c.prototype.createTransport=function(a){h('creating transport "%s"',a);varb=d(this.query);b.EIO=j.protocol,b.transport=
}()},{}],36:[function(a,b){varc=[].indexOf;b.exports=function(a,b){if(c)returna.indexOf(b);for(vard=0;d<a.length;++d)if(a[d]===b)returnd;return-1}},{}],37:[function(a,b,c){vard=Object.prototype.hasOwnProperty;c.keys=Object.keys||function(a){varb=[];for(varcina)d.call(a,c)&&b.push(c);returnb},c.values=function(a){varb=[];for(varcina)d.call(a,c)&&b.push(a[c]);returnb},c.merge=function(a,b){for(varcinb)d.call(b,c)&&(a[c]=b[c]);returna},c.length=function(a){returnc.keys(a).length},c.isEmpty=function(a){return0==c.length(a)}},{}],38:[function(a,b){varc=/^(?:(?![^:@]+:[^:@\/]*@)(http|https|ws|wss):\/\/)?((?:(([^:@]*)(?::([^:@]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/,d=["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"];b.exports=function(a){for(varb=c.exec(a||""),e={},f=14;f--;)e[d[f]]=b[f]||"";returne}},{}],39:[function(a,b,c){functiond(a){returne.Buffer&&Buffer.isBuffer(a)||e.ArrayBuffer&&ainstanceofArrayBuffer}vare="undefined"!=typeofself?self:"undefined"!=typeofwindow?window:{},f=a("isarray");c.deconstructPacket=function(a){functionb(a){if(!a)returna;if(e.Buffer&&Buffer.isBuffer(a)||e.ArrayBuffer&&ainstanceofArrayBuffer){vard={_placeholder:!0,num:c.length};returnc.push(a),d}if(f(a)){for(varg=newArray(a.length),h=0;h<a.length;h++)g[h]=b(a[h]);returng}if("object"==typeofa&&!(ainstanceofDate)){varg={};for(variina)g[i]=b(a[i]);returng}returna}varc=[],d=a.data,g=a;returng.data=b(d),g.attachments=c.length,{packet:g,buffers:c}},c.reconstructPacket=function(a,b){functionc(a){if(a&&a._placeholder){vard=b[a.num];returnd}if(f(a)){for(vare=0;e<a.length;e++)a[e]=c(a[e]);returna}if(a&&"object"==typeofa){for(vargina)a[g]=c(a[g]);returna}returna}returna.data=c(a.data),a.attachments=void0,a},c.removeBlobs=function(a,b){functionc(a,i,j){if(!a)returna;if(e.Blob&&ainstanceofBlob||e.File&&ainstanceofFile){g++;vark=newFileReader;k.onload=function(){j?j[i]=this.result:h=this.result,--g||b(h)},k.readAsArrayBuffer(a)}if(f(a))for(varl=0;l<a.length;l++)c(a[l],l,a);elseif(a&&"object"==typeofa&&!d(a))for(varmina)c(a[m],m,a)}varg=0,h=a;c(h),g||b(h)}},{isarray:41}],40:[function(a,b,c){functiond(){}functione(a){varb="",d=!1;returnb+=a.type,(c.BINARY_EVENT==a.type||c.BINARY_ACK==a.type)&&(b+=a.attachments,b+="-"),a.nsp&&"/"!=a.nsp&&(d=!0,b+=a.nsp),null!=a.id&&(d&&(b+=",",d=!1),b+=a.id),null!=a.data&&(d&&(b+=","),b+=m.stringify(a.data)),l("encoded %j as %s",a,b),b}functionf(a,b){functionc(a){varc=o.deconstructPacket(a),d=e(c.packet),f=c.buffers;f.unshift(d),b(f)}o.removeBlobs(a,c)}functiong(){this.reconstructor=null}functionh(a){varb={},d=0;if(b.type=Number(a.charAt(0)),null==c.types[b.type])returnj();if(c.BINARY_EVENT==b.type||c.BINARY_ACK==b.type){for(b.attachments="";"-"!=a.charAt(++d);)b.attachments+=a.charAt(d);b.attachments=Number(b.attachments)}if("/"==a.charAt(d+1))for(b.nsp="";++d;){vare=a.charAt(d);if(","==e)break;if(b.nsp+=e,d+1==a.length)break}elseb.nsp="/";varf=a.charAt(d+1);if(""!=f&&Number(f)==f){for(b.id="";++d;){vare=a.charAt(d);if(null==e||Number(e)!=e){--d;break}if(b.id+=a.charAt(d),d+1==a.length)break}b.id=Number(b.id)}if(a.charAt(++d))try{b.data=m.parse(a.substr(d))}catch(g){returnj()}returnl("decoded %s as %j",a,b),b}functioni(a){this.reconPack=a,this.buffers=[]}functionj(){return{type:c.ERROR,data:"parser error"}}vark="undefined"!=typeofself?self:"undefined"!=typeofwindow?window:{},l=a("debug")("socket.io-parser"),m=a("json3"),n=(a("isarray"),a("emitter")),o=a("./binary");c.protocol=3,c.types=["CONNECT","DISCONNECT","EVENT","BINARY_EVENT","ACK","BINARY_ACK","ERROR"],c.CONNECT=0,c.DISCONNECT=1,c.EVENT=2,c.ACK=3,c.ERROR=4,c.BINARY_EVENT=5,c.BINARY_ACK=6,c.Encoder=d,d.prototype.encode=function(a,b){if(l("encoding packet %j",a),c.BINARY_EVENT==a.type||c.BINARY_ACK==a.type)f(a,b);else{vard=e(a);b([d])}},c.Decoder=g,n(g.prototype),g.prototype.a