(window.webpackJsonp=window.webpackJsonp||[]).push([[196],{122:function(t,e,n){"use strict";(function(e){var r=n(155),o={},c=!1,l=e.chrome&&e.chrome.app&&e.chrome.app.runtime;t.exports={attachEvent:function(t,n){void 0!==e.addEventListener?e.addEventListener(t,n,!1):e.document&&e.attachEvent&&(e.document.attachEvent("on"+t,n),e.attachEvent("on"+t,n))},detachEvent:function(t,n){void 0!==e.addEventListener?e.removeEventListener(t,n,!1):e.document&&e.detachEvent&&(e.document.detachEvent("on"+t,n),e.detachEvent("on"+t,n))},unloadAdd:function(t){if(l)return null;var e=r.string(8);return o[e]=t,c&&setTimeout(this.triggerUnloadCallbacks,0),e},unloadDel:function(t){t in o&&delete o[t]},triggerUnloadCallbacks:function(){for(var t in o)o[t](),delete o[t]}};l||t.exports.attachEvent("unload",(function(){c||(c=!0,t.exports.triggerUnloadCallbacks())}))}).call(this,n(22))},155:function(t,e,n){"use strict";var r=n(871),o="abcdefghijklmnopqrstuvwxyz012345";t.exports={string:function(t){for(var e=o.length,n=r.randomBytes(t),c=[],i=0;i<t;i++)c.push(o.substr(n[i]%e,1));return c.join("")},number:function(t){return Math.floor(Math.random()*t)},numberString:function(t){var e=(""+(t-1)).length;return(new Array(e+1).join("0")+this.number(t)).slice(-e)}}},156:function(t,e,n){"use strict";var r=n(23),o=n(89),c=n(548);function l(t,e,n,r){c.call(this,t,e,function(t){return function(e,n,r){var c={};"string"==typeof n&&(c.headers={"Content-type":"text/plain"});var l=o.addPath(e,"/xhr_send"),h=new t("POST",l,n,c);return h.once("finish",(function(t){if(h=null,200!==t&&204!==t)return r(new Error("http status "+t));r()})),function(){h.close(),h=null;var t=new Error("Aborted");t.code=1e3,r(t)}}}(r),n,r)}r(l,c),t.exports=l},182:function(t,e,n){"use strict";var r=n(23),o=n(549);function c(t,e,n){o.call(this,t,e,n,{noCredentials:!0})}r(c,o),c.enabled=o.enabled,t.exports=c},183:function(t,e,n){"use strict";(function(e){t.exports={isOpera:function(){return e.navigator&&/opera/i.test(e.navigator.userAgent)},isKonqueror:function(){return e.navigator&&/konqueror/i.test(e.navigator.userAgent)},hasDomain:function(){if(!e.document)return!0;try{return!!e.document.domain}catch(t){return!1}}}}).call(this,n(22))},184:function(t,e,n){"use strict";(function(e){var r=n(122),o=n(108),c=n(183);t.exports={WPrefix:"_jp",currentWindowId:null,polluteGlobalNamespace:function(){t.exports.WPrefix in e||(e[t.exports.WPrefix]={})},postMessage:function(n,data){e.parent!==e&&e.parent.postMessage(o.stringify({windowId:t.exports.currentWindowId,type:n,data:data||""}),"*")},createIframe:function(t,n){var o,c,iframe=e.document.createElement("iframe"),l=function(){clearTimeout(o);try{iframe.onload=null}catch(t){}iframe.onerror=null},h=function(){iframe&&(l(),setTimeout((function(){iframe&&iframe.parentNode.removeChild(iframe),iframe=null}),0),r.unloadDel(c))},f=function(t){iframe&&(h(),n(t))};return iframe.src=t,iframe.style.display="none",iframe.style.position="absolute",iframe.onerror=function(){f("onerror")},iframe.onload=function(){clearTimeout(o),o=setTimeout((function(){f("onload timeout")}),2e3)},e.document.body.appendChild(iframe),o=setTimeout((function(){f("timeout")}),15e3),c=r.unloadAdd(h),{post:function(t,e){setTimeout((function(){try{iframe&&iframe.contentWindow&&iframe.contentWindow.postMessage(t,e)}catch(t){}}),0)},cleanup:h,loaded:l}},createHtmlfile:function(n,o){var c,l,iframe,h=["Active"].concat("Object").join("X"),f=new e[h]("htmlfile"),d=function(){clearTimeout(c),iframe.onerror=null},m=function(){f&&(d(),r.unloadDel(l),iframe.parentNode.removeChild(iframe),iframe=f=null,CollectGarbage())},v=function(t){f&&(m(),o(t))};f.open(),f.write('<html><script>document.domain="'+e.document.domain+'";<\/script></html>'),f.close(),f.parentWindow[t.exports.WPrefix]=e[t.exports.WPrefix];var y=f.createElement("div");return f.body.appendChild(y),iframe=f.createElement("iframe"),y.appendChild(iframe),iframe.src=n,iframe.onerror=function(){v("onerror")},c=setTimeout((function(){v("timeout")}),15e3),l=r.unloadAdd(m),{post:function(t,e){try{setTimeout((function(){iframe&&iframe.contentWindow&&iframe.contentWindow.postMessage(t,e)}),0)}catch(t){}},cleanup:m,loaded:d}}},t.exports.iframeEnabled=!1,e.document&&(t.exports.iframeEnabled=("function"==typeof e.postMessage||"object"==typeof e.postMessage)&&!c.isKonqueror())}).call(this,n(22))},257:function(t,e,n){"use strict";var r=n(23),o=n(72).EventEmitter;function c(t,e){o.call(this);var n=this;this.bufferPosition=0,this.xo=new e("POST",t,null),this.xo.on("chunk",this._chunkHandler.bind(this)),this.xo.once("finish",(function(t,text){n._chunkHandler(t,text),n.xo=null;var e=200===t?"network":"permanent";n.emit("close",null,e),n._cleanup()}))}r(c,o),c.prototype._chunkHandler=function(t,text){if(200===t&&text)for(var e=-1;;this.bufferPosition+=e+1){var n=text.slice(this.bufferPosition);if(-1===(e=n.indexOf("\n")))break;var r=n.slice(0,e);r&&this.emit("message",r)}},c.prototype._cleanup=function(){this.removeAllListeners()},c.prototype.abort=function(){this.xo&&(this.xo.close(),this.emit("close",null,"user"),this.xo=null),this._cleanup()},t.exports=c},258:function(t,e,n){"use strict";var r=n(23),o=n(549);function c(t,e,n,r){o.call(this,t,e,n,r)}r(c,o),c.enabled=o.enabled&&o.supportsCORS,t.exports=c},351:function(t,e,n){"use strict";(function(e){var r=n(72).EventEmitter,o=n(23),c=n(122),l=n(183),h=n(89);function f(t,e,n){var o=this;r.call(this),setTimeout((function(){o._start(t,e,n)}),0)}o(f,r),f.prototype._start=function(t,n,r){var o=this,l=new e.XDomainRequest;n=h.addQuery(n,"t="+ +new Date),l.onerror=function(){o._error()},l.ontimeout=function(){o._error()},l.onprogress=function(){l.responseText,o.emit("chunk",200,l.responseText)},l.onload=function(){o.emit("finish",200,l.responseText),o._cleanup(!1)},this.xdr=l,this.unloadRef=c.unloadAdd((function(){o._cleanup(!0)}));try{this.xdr.open(t,n),this.timeout&&(this.xdr.timeout=this.timeout),this.xdr.send(r)}catch(t){this._error()}},f.prototype._error=function(){this.emit("finish",0,""),this._cleanup(!1)},f.prototype._cleanup=function(t){if(this.xdr){if(this.removeAllListeners(),c.unloadDel(this.unloadRef),this.xdr.ontimeout=this.xdr.onerror=this.xdr.onprogress=this.xdr.onload=null,t)try{this.xdr.abort()}catch(t){}this.unloadRef=this.xdr=null}},f.prototype.close=function(){this._cleanup(!0)},f.enabled=!(!e.XDomainRequest||!l.hasDomain()),t.exports=f}).call(this,n(22))},352:function(t,e,n){"use strict";(function(e){var r=n(23),o=n(553),c=n(353);t.exports=function(t){function n(e,n){o.call(this,t.transportName,e,n)}return r(n,o),n.enabled=function(n,r){if(!e.document)return!1;var l=c.extend({},r);return l.sameOrigin=!0,t.enabled(l)&&o.enabled()},n.transportName="iframe-"+t.transportName,n.needBody=!0,n.roundTrips=o.roundTrips+t.roundTrips-1,n.facadeTransport=t,n}}).call(this,n(22))},353:function(t,e,n){"use strict";t.exports={isObject:function(t){var e=typeof t;return"function"===e||"object"===e&&!!t},extend:function(t){if(!this.isObject(t))return t;for(var source,e,i=1,n=arguments.length;i<n;i++)for(e in source=arguments[i])Object.prototype.hasOwnProperty.call(source,e)&&(t[e]=source[e]);return t}}},354:function(t,e,n){"use strict";function r(t){this.type=t}r.prototype.initEvent=function(t,e,n){return this.type=t,this.bubbles=e,this.cancelable=n,this.timeStamp=+new Date,this},r.prototype.stopPropagation=function(){},r.prototype.preventDefault=function(){},r.CAPTURING_PHASE=1,r.AT_TARGET=2,r.BUBBLING_PHASE=3,t.exports=r},400:function(t,e,n){"use strict";(function(e){var r=n(869);t.exports=n(885)(r),"_sockjs_onload"in e&&setTimeout(e._sockjs_onload,1)}).call(this,n(22))},547:function(t,e,n){"use strict";function r(){this._listeners={}}r.prototype.addEventListener=function(t,e){t in this._listeners||(this._listeners[t]=[]);var n=this._listeners[t];-1===n.indexOf(e)&&(n=n.concat([e])),this._listeners[t]=n},r.prototype.removeEventListener=function(t,e){var n=this._listeners[t];if(n){var r=n.indexOf(e);-1===r||(n.length>1?this._listeners[t]=n.slice(0,r).concat(n.slice(r+1)):delete this._listeners[t])}},r.prototype.dispatchEvent=function(){var t=arguments[0],e=t.type,n=1===arguments.length?[t]:Array.apply(null,arguments);if(this["on"+e]&&this["on"+e].apply(this,n),e in this._listeners)for(var r=this._listeners[e],i=0;i<r.length;i++)r[i].apply(this,n)},t.exports=r},548:function(t,e,n){"use strict";var r=n(23),o=n(89),c=n(876),l=n(877);function h(t,e,n,r,h){var f=o.addPath(t,e),d=this;c.call(this,t,n),this.poll=new l(r,f,h),this.poll.on("message",(function(t){d.emit("message",t)})),this.poll.once("close",(function(code,t){d.poll=null,d.emit("close",code,t),d.close()}))}r(h,c),h.prototype.close=function(){c.prototype.close.call(this),this.removeAllListeners(),this.poll&&(this.poll.abort(),this.poll=null)},t.exports=h},549:function(t,e,n){"use strict";(function(e){var r=n(72).EventEmitter,o=n(23),c=n(122),l=n(89),h=e.XMLHttpRequest;function f(t,e,n,o){var c=this;r.call(this),setTimeout((function(){c._start(t,e,n,o)}),0)}o(f,r),f.prototype._start=function(t,e,n,r){var o=this;try{this.xhr=new h}catch(t){}if(!this.xhr)return this.emit("finish",0,"no xhr support"),void this._cleanup();e=l.addQuery(e,"t="+ +new Date),this.unloadRef=c.unloadAdd((function(){o._cleanup(!0)}));try{this.xhr.open(t,e,!0),this.timeout&&"timeout"in this.xhr&&(this.xhr.timeout=this.timeout,this.xhr.ontimeout=function(){o.emit("finish",0,""),o._cleanup(!1)})}catch(t){return this.emit("finish",0,""),void this._cleanup(!1)}if(r&&r.noCredentials||!f.supportsCORS||(this.xhr.withCredentials=!0),r&&r.headers)for(var d in r.headers)this.xhr.setRequestHeader(d,r.headers[d]);this.xhr.onreadystatechange=function(){if(o.xhr){var text,t,e=o.xhr;switch(e.readyState,e.readyState){case 3:try{t=e.status,text=e.responseText}catch(t){}1223===t&&(t=204),200===t&&text&&text.length>0&&o.emit("chunk",t,text);break;case 4:1223===(t=e.status)&&(t=204),12005!==t&&12029!==t||(t=0),e.responseText,o.emit("finish",t,e.responseText),o._cleanup(!1)}}};try{o.xhr.send(n)}catch(t){o.emit("finish",0,""),o._cleanup(!1)}},f.prototype._cleanup=function(t){if(this.xhr){if(this.removeAllListeners(),c.unloadDel(this.unloadRef),this.xhr.onreadystatechange=function(){},this.xhr.ontimeout&&(this.xhr.ontimeout=null),t)try{this.xhr.abort()}catch(t){}this.unloadRef=this.xhr=null}},f.prototype.close=function(){this._cleanup(!0)},f.enabled=!!h;var d=["Active"].concat("Object").join("X");!f.enabled&&d in e&&(h=function(){try{return new e[d]("Microsoft.XMLHTTP")}catch(t){return null}},f.enabled=!!new h);var m=!1;try{m="withCredentials"in new h}catch(t){}f.supportsCORS=m,t.exports=f}).call(this,n(22))},550:function(t,e,n){"use strict";var r=n(23),o=n(156),c=n(257),l=n(351);function h(t){if(!l.enabled)throw new Error("Transport created when disabled");o.call(this,t,"/xhr_streaming",c,l)}r(h,o),h.enabled=function(t){return!t.cookie_needed&&!t.nullOrigin&&(l.enabled&&t.sameScheme)},h.transportName="xdr-streaming",h.roundTrips=2,t.exports=h},551:function(t,e,n){"use strict";var r=n(23),o=n(156),c=n(878),l=n(258),h=n(552);function f(t){if(!f.enabled())throw new Error("Transport created when disabled");o.call(this,t,"/eventsource",c,l)}r(f,o),f.enabled=function(){return!!h},f.transportName="eventsource",f.roundTrips=2,t.exports=f},552:function(t,e,n){(function(e){t.exports=e.EventSource}).call(this,n(22))},553:function(t,e,n){"use strict";var r=n(23),o=n(108),c=n(72).EventEmitter,l=n(554),h=n(89),f=n(184),d=n(122),m=n(155);function v(t,e,n){if(!v.enabled())throw new Error("Transport created when disabled");c.call(this);var r=this;this.origin=h.getOrigin(n),this.baseUrl=n,this.transUrl=e,this.transport=t,this.windowId=m.string(8);var o=h.addPath(n,"/iframe.html")+"#"+this.windowId;this.iframeObj=f.createIframe(o,(function(t){r.emit("close",1006,"Unable to load an iframe ("+t+")"),r.close()})),this.onmessageCallback=this._message.bind(this),d.attachEvent("message",this.onmessageCallback)}r(v,c),v.prototype.close=function(){if(this.removeAllListeners(),this.iframeObj){d.detachEvent("message",this.onmessageCallback);try{this.postMessage("c")}catch(t){}this.iframeObj.cleanup(),this.iframeObj=null,this.onmessageCallback=this.iframeObj=null}},v.prototype._message=function(t){if(t.data,!h.isOriginEqual(t.origin,this.origin))return t.origin,void this.origin;var e;try{e=o.parse(t.data)}catch(e){return void t.data}if(e.windowId!==this.windowId)return e.windowId,void this.windowId;switch(e.type){case"s":this.iframeObj.loaded(),this.postMessage("s",o.stringify([l,this.transport,this.transUrl,this.baseUrl]));break;case"t":this.emit("message",e.data);break;case"c":var n;try{n=o.parse(e.data)}catch(t){return void e.data}this.emit("close",n[0],n[1]),this.close()}},v.prototype.postMessage=function(t,data){this.iframeObj.post(o.stringify({windowId:this.windowId,type:t,data:data||""}),this.origin)},v.prototype.send=function(t){this.postMessage("m",t)},v.enabled=function(){return f.iframeEnabled},v.transportName="iframe",v.roundTrips=2,t.exports=v},554:function(t,e){t.exports="1.5.2"},555:function(t,e,n){"use strict";var r=n(23),o=n(880),c=n(182),l=n(156);function h(t){if(!o.enabled)throw new Error("Transport created when disabled");l.call(this,t,"/htmlfile",o,c)}r(h,l),h.enabled=function(t){return o.enabled&&t.sameOrigin},h.transportName="htmlfile",h.roundTrips=2,t.exports=h},556:function(t,e,n){"use strict";var r=n(23),o=n(156),c=n(257),l=n(258),h=n(182);function f(t){if(!h.enabled&&!l.enabled)throw new Error("Transport created when disabled");o.call(this,t,"/xhr",c,l)}r(f,o),f.enabled=function(t){return!t.nullOrigin&&(!(!h.enabled||!t.sameOrigin)||l.enabled)},f.transportName="xhr-polling",f.roundTrips=2,t.exports=f},557:function(t,e,n){"use strict";(function(e){t.exports=e.location||{origin:"http://localhost:80",protocol:"http:",host:"localhost",port:80,href:"http://localhost/",hash:""}}).call(this,n(22))},558:function(t,e,n){"use strict";var r=n(23),o=n(72).EventEmitter,c=n(108),l=n(182),h=n(559);function f(t){var e=this;o.call(this),this.ir=new h(t,l),this.ir.once("finish",(function(t,n){e.ir=null,e.emit("message",c.stringify([t,n]))}))}r(f,o),f.transportName="iframe-info-receiver",f.prototype.close=function(){this.ir&&(this.ir.close(),this.ir=null),this.removeAllListeners()},t.exports=f},559:function(t,e,n){"use strict";var r=n(72).EventEmitter,o=n(23),c=n(108),l=n(353);function h(t,e){r.call(this);var n=this,o=+new Date;this.xo=new e("GET",t),this.xo.once("finish",(function(t,text){var e,r;if(200===t){if(r=+new Date-o,text)try{e=c.parse(text)}catch(t){}l.isObject(e)||(e={})}n.emit("finish",e,r),n.removeAllListeners()}))}o(h,r),h.prototype.close=function(){this.removeAllListeners(),this.xo.close()},t.exports=h},72:function(t,e,n){"use strict";var r=n(23),o=n(547);function c(){o.call(this)}r(c,o),c.prototype.removeAllListeners=function(t){t?delete this._listeners[t]:this._listeners={}},c.prototype.once=function(t,e){var n=this,r=!1;this.on(t,(function g(){n.removeListener(t,g),r||(r=!0,e.apply(this,arguments))}))},c.prototype.emit=function(){var t=arguments[0],e=this._listeners[t];if(e){for(var n=arguments.length,r=new Array(n-1),o=1;o<n;o++)r[o-1]=arguments[o];for(var i=0;i<e.length;i++)e[i].apply(this,r)}},c.prototype.on=c.prototype.addListener=o.prototype.addEventListener,c.prototype.removeListener=o.prototype.removeEventListener,t.exports.EventEmitter=c},859:function(t,e,n){var r=n(104),o=r.Buffer;function c(t,e){for(var n in t)e[n]=t[n]}function l(t,e,n){return o(t,e,n)}o.from&&o.alloc&&o.allocUnsafe&&o.allocUnsafeSlow?t.exports=r:(c(r,e),e.Buffer=l),l.prototype=Object.create(o.prototype),c(o,l),l.from=function(t,e,n){if("number"==typeof t)throw new TypeError("Argument must not be a number");return o(t,e,n)},l.alloc=function(t,e,n){if("number"!=typeof t)throw new TypeError("Argument must be a number");var r=o(t);return void 0!==e?"string"==typeof n?r.fill(e,n):r.fill(e):r.fill(0),r},l.allocUnsafe=function(t){if("number"!=typeof t)throw new TypeError("Argument must be a number");return o(t)},l.allocUnsafeSlow=function(t){if("number"!=typeof t)throw new TypeError("Argument must be a number");return r.SlowBuffer(t)}},869:function(t,e,n){"use strict";t.exports=[n(870),n(875),n(550),n(551),n(352)(n(551)),n(555),n(352)(n(555)),n(556),n(881),n(352)(n(556)),n(882)]},870:function(t,e,n){"use strict";var r=n(122),o=n(89),c=n(23),l=n(72).EventEmitter,h=n(874);function f(t,e,n){if(!f.enabled())throw new Error("Transport created when disabled");l.call(this);var c=this,d=o.addPath(t,"/websocket");d="https"===d.slice(0,5)?"wss"+d.slice(5):"ws"+d.slice(4),this.url=d,this.ws=new h(this.url,[],n),this.ws.onmessage=function(t){t.data,c.emit("message",t.data)},this.unloadRef=r.unloadAdd((function(){c.ws.close()})),this.ws.onclose=function(t){t.code,t.reason,c.emit("close",t.code,t.reason),c._cleanup()},this.ws.onerror=function(t){c.emit("close",1006,"WebSocket connection broken"),c._cleanup()}}c(f,l),f.prototype.send=function(data){var t="["+data+"]";this.ws.send(t)},f.prototype.close=function(){var t=this.ws;this._cleanup(),t&&t.close()},f.prototype._cleanup=function(){var t=this.ws;t&&(t.onmessage=t.onclose=t.onerror=null),r.unloadDel(this.unloadRef),this.unloadRef=this.ws=null,this.removeAllListeners()},f.enabled=function(){return!!h},f.transportName="websocket",f.roundTrips=2,t.exports=f},871:function(t,e,n){"use strict";(function(e){e.crypto&&e.crypto.getRandomValues?t.exports.randomBytes=function(t){var n=new Uint8Array(t);return e.crypto.getRandomValues(n),n}:t.exports.randomBytes=function(t){for(var e=new Array(t),i=0;i<t;i++)e[i]=Math.floor(256*Math.random());return e}}).call(this,n(22))},874:function(t,e,n){"use strict";(function(e){var n=e.WebSocket||e.MozWebSocket;t.exports=n?function(t){return new n(t)}:void 0}).call(this,n(22))},875:function(t,e,n){"use strict";(function(e){var r=n(23),o=n(156),c=n(257),l=n(258),h=n(182),f=n(183);function d(t){if(!h.enabled&&!l.enabled)throw new Error("Transport created when disabled");o.call(this,t,"/xhr_streaming",c,l)}r(d,o),d.enabled=function(t){return!t.nullOrigin&&(!f.isOpera()&&l.enabled)},d.transportName="xhr-streaming",d.roundTrips=2,d.needBody=!!e.document,t.exports=d}).call(this,n(22))},876:function(t,e,n){"use strict";var r=n(23),o=n(72).EventEmitter;function c(t,e){o.call(this),this.sendBuffer=[],this.sender=e,this.url=t}r(c,o),c.prototype.send=function(t){this.sendBuffer.push(t),this.sendStop||this.sendSchedule()},c.prototype.sendScheduleWait=function(){var t,e=this;this.sendStop=function(){e.sendStop=null,clearTimeout(t)},t=setTimeout((function(){e.sendStop=null,e.sendSchedule()}),25)},c.prototype.sendSchedule=function(){this.sendBuffer.length;var t=this;if(this.sendBuffer.length>0){var e="["+this.sendBuffer.join(",")+"]";this.sendStop=this.sender(this.url,e,(function(e){t.sendStop=null,e?(t.emit("close",e.code||1006,"Sending error: "+e),t.close()):t.sendScheduleWait()})),this.sendBuffer=[]}},c.prototype._cleanup=function(){this.removeAllListeners()},c.prototype.close=function(){this._cleanup(),this.sendStop&&(this.sendStop(),this.sendStop=null)},t.exports=c},877:function(t,e,n){"use strict";var r=n(23),o=n(72).EventEmitter;function c(t,e,n){o.call(this),this.Receiver=t,this.receiveUrl=e,this.AjaxObject=n,this._scheduleReceiver()}r(c,o),c.prototype._scheduleReceiver=function(){var t=this,e=this.poll=new this.Receiver(this.receiveUrl,this.AjaxObject);e.on("message",(function(e){t.emit("message",e)})),e.once("close",(function(code,n){t.pollIsClosing,t.poll=e=null,t.pollIsClosing||("network"===n?t._scheduleReceiver():(t.emit("close",code||1006,n),t.removeAllListeners()))}))},c.prototype.abort=function(){this.removeAllListeners(),this.pollIsClosing=!0,this.poll&&this.poll.abort()},t.exports=c},878:function(t,e,n){"use strict";var r=n(23),o=n(72).EventEmitter,c=n(552);function l(t){o.call(this);var e=this,n=this.es=new c(t);n.onmessage=function(t){t.data,e.emit("message",decodeURI(t.data))},n.onerror=function(t){n.readyState;var r=2!==n.readyState?"network":"permanent";e._cleanup(),e._close(r)}}r(l,o),l.prototype.abort=function(){this._cleanup(),this._close("user")},l.prototype._cleanup=function(){var t=this.es;t&&(t.onmessage=t.onerror=null,t.close(),this.es=null)},l.prototype._close=function(t){var e=this;setTimeout((function(){e.emit("close",null,t),e.removeAllListeners()}),200)},t.exports=l},880:function(t,e,n){"use strict";(function(e){var r=n(23),o=n(184),c=n(89),l=n(72).EventEmitter,h=n(155);function f(t){l.call(this);var n=this;o.polluteGlobalNamespace(),this.id="a"+h.string(6),t=c.addQuery(t,"c="+decodeURIComponent(o.WPrefix+"."+this.id)),f.htmlfileEnabled;var r=f.htmlfileEnabled?o.createHtmlfile:o.createIframe;e[o.WPrefix][this.id]={start:function(){n.iframeObj.loaded()},message:function(data){n.emit("message",data)},stop:function(){n._cleanup(),n._close("network")}},this.iframeObj=r(t,(function(){n._cleanup(),n._close("permanent")}))}r(f,l),f.prototype.abort=function(){this._cleanup(),this._close("user")},f.prototype._cleanup=function(){this.iframeObj&&(this.iframeObj.cleanup(),this.iframeObj=null),delete e[o.WPrefix][this.id]},f.prototype._close=function(t){this.emit("close",null,t),this.removeAllListeners()},f.htmlfileEnabled=!1;var d=["Active"].concat("Object").join("X");if(d in e)try{f.htmlfileEnabled=!!new e[d]("htmlfile")}catch(t){}f.enabled=f.htmlfileEnabled||o.iframeEnabled,t.exports=f}).call(this,n(22))},881:function(t,e,n){"use strict";var r=n(23),o=n(156),c=n(550),l=n(257),h=n(351);function f(t){if(!h.enabled)throw new Error("Transport created when disabled");o.call(this,t,"/xhr",l,h)}r(f,o),f.enabled=c.enabled,f.transportName="xdr-polling",f.roundTrips=2,t.exports=f},882:function(t,e,n){"use strict";(function(e){var r=n(23),o=n(548),c=n(883),l=n(884);function h(t){if(!h.enabled())throw new Error("Transport created when disabled");o.call(this,t,"/jsonp",l,c)}r(h,o),h.enabled=function(){return!!e.document},h.transportName="jsonp-polling",h.roundTrips=1,h.needBody=!0,t.exports=h}).call(this,n(22))},883:function(t,e,n){"use strict";(function(e){var r=n(184),o=n(155),c=n(183),l=n(89),h=n(23),f=n(72).EventEmitter;function d(t){var n=this;f.call(this),r.polluteGlobalNamespace(),this.id="a"+o.string(6);var c=l.addQuery(t,"c="+encodeURIComponent(r.WPrefix+"."+this.id));e[r.WPrefix][this.id]=this._callback.bind(this),this._createScript(c),this.timeoutId=setTimeout((function(){n._abort(new Error("JSONP script loaded abnormally (timeout)"))}),d.timeout)}h(d,f),d.prototype.abort=function(){if(e[r.WPrefix][this.id]){var t=new Error("JSONP user aborted read");t.code=1e3,this._abort(t)}},d.timeout=35e3,d.scriptErrorTimeout=1e3,d.prototype._callback=function(data){this._cleanup(),this.aborting||(data&&this.emit("message",data),this.emit("close",null,"network"),this.removeAllListeners())},d.prototype._abort=function(t){this._cleanup(),this.aborting=!0,this.emit("close",t.code,t.message),this.removeAllListeners()},d.prototype._cleanup=function(){if(clearTimeout(this.timeoutId),this.script2&&(this.script2.parentNode.removeChild(this.script2),this.script2=null),this.script){var script=this.script;script.parentNode.removeChild(script),script.onreadystatechange=script.onerror=script.onload=script.onclick=null,this.script=null}delete e[r.WPrefix][this.id]},d.prototype._scriptError=function(){var t=this;this.errorTimer||(this.errorTimer=setTimeout((function(){t.loadedOkay||t._abort(new Error("JSONP script loaded abnormally (onerror)"))}),d.scriptErrorTimeout))},d.prototype._createScript=function(t){var n,r=this,script=this.script=e.document.createElement("script");if(script.id="a"+o.string(8),script.src=t,script.type="text/javascript",script.charset="UTF-8",script.onerror=this._scriptError.bind(this),script.onload=function(){r._abort(new Error("JSONP script loaded abnormally (onload)"))},script.onreadystatechange=function(){if(script.readyState,/loaded|closed/.test(script.readyState)){if(script&&script.htmlFor&&script.onclick){r.loadedOkay=!0;try{script.onclick()}catch(t){}}script&&r._abort(new Error("JSONP script loaded abnormally (onreadystatechange)"))}},void 0===script.async&&e.document.attachEvent)if(c.isOpera())(n=this.script2=e.document.createElement("script")).text="try{var a = document.getElementById('"+script.id+"'); if(a)a.onerror();}catch(x){};",script.async=n.async=!1;else{try{script.htmlFor=script.id,script.event="onclick"}catch(t){}script.async=!0}void 0!==script.async&&(script.async=!0);var head=e.document.getElementsByTagName("head")[0];head.insertBefore(script,head.firstChild),n&&head.insertBefore(n,head.firstChild)},t.exports=d}).call(this,n(22))},884:function(t,e,n){"use strict";(function(e){var form,area,r=n(155),o=n(89);t.exports=function(t,n,c){form||((form=e.document.createElement("form")).style.display="none",form.style.position="absolute",form.method="POST",form.enctype="application/x-www-form-urlencoded",form.acceptCharset="UTF-8",(area=e.document.createElement("textarea")).name="d",form.appendChild(area),e.document.body.appendChild(form));var l="a"+r.string(8);form.target=l,form.action=o.addQuery(o.addPath(t,"/jsonp_send"),"i="+l);var iframe=function(t){try{return e.document.createElement('<iframe name="'+t+'">')}catch(n){var iframe=e.document.createElement("iframe");return iframe.name=t,iframe}}(l);iframe.id=l,iframe.style.display="none",form.appendChild(iframe);try{area.value=n}catch(t){}form.submit();var h=function(t){iframe.onerror&&(iframe.onreadystatechange=iframe.onerror=iframe.onload=null,setTimeout((function(){iframe.parentNode.removeChild(iframe),iframe=null}),500),area.value="",c(t))};return iframe.onerror=function(){h()},iframe.onload=function(){h()},iframe.onreadystatechange=function(t){iframe.readyState,"complete"===iframe.readyState&&h()},function(){h(new Error("Aborted"))}}}).call(this,n(22))},885:function(t,e,n){"use strict";(function(e){n(886);var r,o=n(546),c=n(23),l=n(108),h=n(155),f=n(887),d=n(89),m=n(122),v=n(888),y=n(353),w=n(183),_=n(889),x=n(354),E=n(547),T=n(557),S=n(890),O=n(891),C=n(892);function A(t,e,n){if(!(this instanceof A))return new A(t,e,n);if(arguments.length<1)throw new TypeError("Failed to construct 'SockJS: 1 argument required, but only 0 present");E.call(this),this.readyState=A.CONNECTING,this.extensions="",this.protocol="",(n=n||{}).protocols_whitelist&&_.warn("'protocols_whitelist' is DEPRECATED. Use 'transports' instead."),this._transportsWhitelist=n.transports,this._transportOptions=n.transportOptions||{},this._timeout=n.timeout||0;var r=n.sessionId||8;if("function"==typeof r)this._generateSessionId=r;else{if("number"!=typeof r)throw new TypeError("If sessionId is used in the options, it needs to be a number or a function.");this._generateSessionId=function(){return h.string(r)}}this._server=n.server||h.numberString(1e3);var c=new o(t);if(!c.host||!c.protocol)throw new SyntaxError("The URL '"+t+"' is invalid");if(c.hash)throw new SyntaxError("The URL must not contain a fragment");if("http:"!==c.protocol&&"https:"!==c.protocol)throw new SyntaxError("The URL's scheme must be either 'http:' or 'https:'. '"+c.protocol+"' is not allowed.");var l="https:"===c.protocol;if("https:"===T.protocol&&!l&&!d.isLoopbackAddr(c.hostname))throw new Error("SecurityError: An insecure SockJS connection may not be initiated from a page loaded over HTTPS");e?Array.isArray(e)||(e=[e]):e=[];var f=e.sort();f.forEach((function(t,i){if(!t)throw new SyntaxError("The protocols entry '"+t+"' is invalid.");if(i<f.length-1&&t===f[i+1])throw new SyntaxError("The protocols entry '"+t+"' is duplicated.")}));var m=d.getOrigin(T.href);this._origin=m?m.toLowerCase():null,c.set("pathname",c.pathname.replace(/\/+$/,"")),this.url=c.href,this.url,this._urlInfo={nullOrigin:!w.hasDomain(),sameOrigin:d.isOriginEqual(this.url,T.href),sameScheme:d.isSchemeEqual(this.url,T.href)},this._ir=new C(this.url,this._urlInfo),this._ir.once("finish",this._receiveInfo.bind(this))}function N(code){return 1e3===code||code>=3e3&&code<=4999}c(A,E),A.prototype.close=function(code,t){if(code&&!N(code))throw new Error("InvalidAccessError: Invalid code");if(t&&t.length>123)throw new SyntaxError("reason argument has an invalid length");if(this.readyState!==A.CLOSING&&this.readyState!==A.CLOSED){this._close(code||1e3,t||"Normal closure",!0)}},A.prototype.send=function(data){if("string"!=typeof data&&(data=""+data),this.readyState===A.CONNECTING)throw new Error("InvalidStateError: The connection has not been established yet");this.readyState===A.OPEN&&this._transport.send(f.quote(data))},A.version=n(554),A.CONNECTING=0,A.OPEN=1,A.CLOSING=2,A.CLOSED=3,A.prototype._receiveInfo=function(t,e){if(this._ir=null,t){this._rto=this.countRTO(e),this._transUrl=t.base_url?t.base_url:this.url,t=y.extend(t,this._urlInfo);var n=r.filterToEnabled(this._transportsWhitelist,t);this._transports=n.main,this._transports.length,this._connect()}else this._close(1002,"Cannot connect to server")},A.prototype._connect=function(){for(var t=this._transports.shift();t;t=this._transports.shift()){if(t.transportName,t.needBody&&(!e.document.body||void 0!==e.document.readyState&&"complete"!==e.document.readyState&&"interactive"!==e.document.readyState))return this._transports.unshift(t),void m.attachEvent("load",this._connect.bind(this));var n=Math.max(this._timeout,this._rto*t.roundTrips||5e3);this._transportTimeoutId=setTimeout(this._transportTimeout.bind(this),n);var r=d.addPath(this._transUrl,"/"+this._server+"/"+this._generateSessionId()),o=this._transportOptions[t.transportName],c=new t(r,this._transUrl,o);return c.on("message",this._transportMessage.bind(this)),c.once("close",this._transportClose.bind(this)),c.transportName=t.transportName,void(this._transport=c)}this._close(2e3,"All transports failed",!1)},A.prototype._transportTimeout=function(){this.readyState===A.CONNECTING&&(this._transport&&this._transport.close(),this._transportClose(2007,"Transport timed out"))},A.prototype._transportMessage=function(t){var e,n=this,r=t.slice(0,1),content=t.slice(1);switch(r){case"o":return void this._open();case"h":return this.dispatchEvent(new x("heartbeat")),void this.transport}if(content)try{e=l.parse(content)}catch(t){}if(void 0!==e)switch(r){case"a":Array.isArray(e)&&e.forEach((function(p){n.transport,n.dispatchEvent(new O(p))}));break;case"m":this.transport,this.dispatchEvent(new O(e));break;case"c":Array.isArray(e)&&2===e.length&&this._close(e[0],e[1],!0)}},A.prototype._transportClose=function(code,t){this.transport,this._transport&&(this._transport.removeAllListeners(),this._transport=null,this.transport=null),N(code)||2e3===code||this.readyState!==A.CONNECTING?this._close(code,t):this._connect()},A.prototype._open=function(){this._transport&&this._transport.transportName,this.readyState,this.readyState===A.CONNECTING?(this._transportTimeoutId&&(clearTimeout(this._transportTimeoutId),this._transportTimeoutId=null),this.readyState=A.OPEN,this.transport=this._transport.transportName,this.dispatchEvent(new x("open")),this.transport):this._close(1006,"Server lost session")},A.prototype._close=function(code,t,e){this.transport,this.readyState;var n=!1;if(this._ir&&(n=!0,this._ir.close(),this._ir=null),this._transport&&(this._transport.close(),this._transport=null,this.transport=null),this.readyState===A.CLOSED)throw new Error("InvalidStateError: SockJS has already been closed");this.readyState=A.CLOSING,setTimeout(function(){this.readyState=A.CLOSED,n&&this.dispatchEvent(new x("error"));var r=new S("close");r.wasClean=e||!1,r.code=code||1e3,r.reason=t,this.dispatchEvent(r),this.onmessage=this.onclose=this.onerror=null}.bind(this),0)},A.prototype.countRTO=function(t){return t>100?4*t:300+t},t.exports=function(t){return r=v(t),n(895)(A,t),A}}).call(this,n(22))},886:function(t,e,n){"use strict";var r,o=Array.prototype,c=Object.prototype,l=Function.prototype,h=String.prototype,f=o.slice,d=c.toString,m=function(t){return"[object Function]"===c.toString.call(t)},v=function(t){return"[object String]"===d.call(t)},y=Object.defineProperty&&function(){try{return Object.defineProperty({},"x",{}),!0}catch(t){return!1}}();r=y?function(object,t,e,n){!n&&t in object||Object.defineProperty(object,t,{configurable:!0,enumerable:!1,writable:!0,value:e})}:function(object,t,e,n){!n&&t in object||(object[t]=e)};var w=function(object,map,t){for(var e in map)c.hasOwnProperty.call(map,e)&&r(object,e,map[e],t)},_=function(t){if(null==t)throw new TypeError("can't convert "+t+" to object");return Object(t)};function x(t){var e=+t;return e!=e?e=0:0!==e&&e!==1/0&&e!==-1/0&&(e=(e>0||-1)*Math.floor(Math.abs(e))),e}function E(){}w(l,{bind:function(t){var e=this;if(!m(e))throw new TypeError("Function.prototype.bind called on incompatible "+e);for(var n=f.call(arguments,1),r=function(){if(this instanceof l){var r=e.apply(this,n.concat(f.call(arguments)));return Object(r)===r?r:this}return e.apply(t,n.concat(f.call(arguments)))},o=Math.max(0,e.length-n.length),c=[],i=0;i<o;i++)c.push("$"+i);var l=Function("binder","return function ("+c.join(",")+"){ return binder.apply(this, arguments); }")(r);return e.prototype&&(E.prototype=e.prototype,l.prototype=new E,E.prototype=null),l}}),w(Array,{isArray:function(t){return"[object Array]"===d.call(t)}});var T,S,O,C=Object("a"),A="a"!==C[0]||!(0 in C);w(o,{forEach:function(t){var object=_(this),e=A&&v(this)?this.split(""):object,n=arguments[1],i=-1,r=e.length>>>0;if(!m(t))throw new TypeError;for(;++i<r;)i in e&&t.call(n,e[i],i,object)}},(T=o.forEach,S=!0,O=!0,T&&(T.call("foo",(function(t,e,n){"object"!=typeof n&&(S=!1)})),T.call([1],(function(){O="string"==typeof this}),"x")),!(T&&S&&O)));var N=Array.prototype.indexOf&&-1!==[0,1].indexOf(1,2);w(o,{indexOf:function(t){var e=A&&v(this)?this.split(""):_(this),n=e.length>>>0;if(!n)return-1;var i=0;for(arguments.length>1&&(i=x(arguments[1])),i=i>=0?i:Math.max(0,n+i);i<n;i++)if(i in e&&e[i]===t)return i;return-1}},N);var I,k=h.split;2!=="ab".split(/(?:ab)*/).length||4!==".".split(/(.?)(.?)/).length||"t"==="tesst".split(/(s)*/)[1]||4!=="test".split(/(?:)/,-1).length||"".split(/.?/).length||".".split(/()()/).length>1?(I=void 0===/()??/.exec("")[1],h.split=function(t,e){var n=this;if(void 0===t&&0===e)return[];if("[object RegExp]"!==d.call(t))return k.call(this,t,e);var r,c,l,h,output=[],f=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.extended?"x":"")+(t.sticky?"y":""),m=0;for(t=new RegExp(t.source,f+"g"),n+="",I||(r=new RegExp("^"+t.source+"$(?!\\s)",f)),e=void 0===e?-1>>>0:e>>>0;(c=t.exec(n))&&!((l=c.index+c[0].length)>m&&(output.push(n.slice(m,c.index)),!I&&c.length>1&&c[0].replace(r,(function(){for(var i=1;i<arguments.length-2;i++)void 0===arguments[i]&&(c[i]=void 0)})),c.length>1&&c.index<n.length&&o.push.apply(output,c.slice(1)),h=c[0].length,m=l,output.length>=e));)t.lastIndex===c.index&&t.lastIndex++;return m===n.length?!h&&t.test("")||output.push(""):output.push(n.slice(m)),output.length>e?output.slice(0,e):output}):"0".split(void 0,0).length&&(h.split=function(t,e){return void 0===t&&0===e?[]:k.call(this,t,e)});var j=h.substr,L="".substr&&"b"!=="0b".substr(-1);w(h,{substr:function(t,e){return j.call(this,t<0&&(t=this.length+t)<0?0:t,e)}},L)},887:function(t,e,n){"use strict";var r,o=n(108),c=/[\x00-\x1f\ud800-\udfff\ufffe\uffff\u0300-\u0333\u033d-\u0346\u034a-\u034c\u0350-\u0352\u0357-\u0358\u035c-\u0362\u0374\u037e\u0387\u0591-\u05af\u05c4\u0610-\u0617\u0653-\u0654\u0657-\u065b\u065d-\u065e\u06df-\u06e2\u06eb-\u06ec\u0730\u0732-\u0733\u0735-\u0736\u073a\u073d\u073f-\u0741\u0743\u0745\u0747\u07eb-\u07f1\u0951\u0958-\u095f\u09dc-\u09dd\u09df\u0a33\u0a36\u0a59-\u0a5b\u0a5e\u0b5c-\u0b5d\u0e38-\u0e39\u0f43\u0f4d\u0f52\u0f57\u0f5c\u0f69\u0f72-\u0f76\u0f78\u0f80-\u0f83\u0f93\u0f9d\u0fa2\u0fa7\u0fac\u0fb9\u1939-\u193a\u1a17\u1b6b\u1cda-\u1cdb\u1dc0-\u1dcf\u1dfc\u1dfe\u1f71\u1f73\u1f75\u1f77\u1f79\u1f7b\u1f7d\u1fbb\u1fbe\u1fc9\u1fcb\u1fd3\u1fdb\u1fe3\u1feb\u1fee-\u1fef\u1ff9\u1ffb\u1ffd\u2000-\u2001\u20d0-\u20d1\u20d4-\u20d7\u20e7-\u20e9\u2126\u212a-\u212b\u2329-\u232a\u2adc\u302b-\u302c\uaab2-\uaab3\uf900-\ufa0d\ufa10\ufa12\ufa15-\ufa1e\ufa20\ufa22\ufa25-\ufa26\ufa2a-\ufa2d\ufa30-\ufa6d\ufa70-\ufad9\ufb1d\ufb1f\ufb2a-\ufb36\ufb38-\ufb3c\ufb3e\ufb40-\ufb41\ufb43-\ufb44\ufb46-\ufb4e\ufff0-\uffff]/g;t.exports={quote:function(t){var e=o.stringify(t);return c.lastIndex=0,c.test(e)?(r||(r=function(t){var i,e={},n=[];for(i=0;i<65536;i++)n.push(String.fromCharCode(i));return t.lastIndex=0,n.join("").replace(t,(function(a){return e[a]="\\u"+("0000"+a.charCodeAt(0).toString(16)).slice(-4),""})),t.lastIndex=0,e}(c)),e.replace(c,(function(a){return r[a]}))):e}}},888:function(t,e,n){"use strict";t.exports=function(t){return{filterToEnabled:function(e,n){var r={main:[],facade:[]};return e?"string"==typeof e&&(e=[e]):e=[],t.forEach((function(t){t&&("websocket"===t.transportName&&!1===n.websocket||(e.length&&-1===e.indexOf(t.transportName)?t.transportName:t.enabled(n)?(t.transportName,r.main.push(t),t.facadeTransport&&r.facade.push(t.facadeTransport)):t.transportName))})),r}}}},889:function(t,e,n){"use strict";(function(e){var n={};["log","debug","warn"].forEach((function(t){var r;try{r=e.console&&e.console[t]&&e.console[t].apply}catch(t){}n[t]=r?function(){return e.console[t].apply(e.console,arguments)}:"log"===t?function(){}:n.log})),t.exports=n}).call(this,n(22))},89:function(t,e,n){"use strict";var r=n(546);t.exports={getOrigin:function(t){if(!t)return null;var p=new r(t);if("file:"===p.protocol)return null;var e=p.port;return e||(e="https:"===p.protocol?"443":"80"),p.protocol+"//"+p.hostname+":"+e},isOriginEqual:function(a,b){var t=this.getOrigin(a)===this.getOrigin(b);return t},isSchemeEqual:function(a,b){return a.split(":")[0]===b.split(":")[0]},addPath:function(t,path){var e=t.split("?");return e[0]+path+(e[1]?"?"+e[1]:"")},addQuery:function(t,q){return t+(-1===t.indexOf("?")?"?"+q:"&"+q)},isLoopbackAddr:function(t){return/^127\.([0-9]{1,3})\.([0-9]{1,3})\.([0-9]{1,3})$/i.test(t)||/^\[::1\]$/.test(t)}}},890:function(t,e,n){"use strict";var r=n(23),o=n(354);function c(){o.call(this),this.initEvent("close",!1,!1),this.wasClean=!1,this.code=0,this.reason=""}r(c,o),t.exports=c},891:function(t,e,n){"use strict";var r=n(23),o=n(354);function c(data){o.call(this),this.initEvent("message",!1,!1),this.data=data}r(c,o),t.exports=c},892:function(t,e,n){"use strict";var r=n(72).EventEmitter,o=n(23),c=n(89),l=n(351),h=n(258),f=n(182),d=n(893),m=n(894),v=n(559);function y(t,e){var n=this;r.call(this),setTimeout((function(){n.doXhr(t,e)}),0)}o(y,r),y._getReceiver=function(t,e,n){return n.sameOrigin?new v(e,f):h.enabled?new v(e,h):l.enabled&&n.sameScheme?new v(e,l):m.enabled()?new m(t,e):new v(e,d)},y.prototype.doXhr=function(t,e){var n=this,r=c.addPath(t,"/info");this.xo=y._getReceiver(t,r,e),this.timeoutRef=setTimeout((function(){n._cleanup(!1),n.emit("finish")}),y.timeout),this.xo.once("finish",(function(t,e){n._cleanup(!0),n.emit("finish",t,e)}))},y.prototype._cleanup=function(t){clearTimeout(this.timeoutRef),this.timeoutRef=null,!t&&this.xo&&this.xo.close(),this.xo=null},y.prototype.close=function(){this.removeAllListeners(),this._cleanup(!1)},y.timeout=8e3,t.exports=y},893:function(t,e,n){"use strict";var r=n(72).EventEmitter;function o(){var t=this;r.call(this),this.to=setTimeout((function(){t.emit("finish",200,"{}")}),o.timeout)}n(23)(o,r),o.prototype.close=function(){clearTimeout(this.to)},o.timeout=2e3,t.exports=o},894:function(t,e,n){"use strict";(function(e){var r=n(72).EventEmitter,o=n(23),c=n(108),l=n(122),h=n(553),f=n(558);function d(t,n){var o=this;r.call(this);var d=function(){var e=o.ifr=new h(f.transportName,n,t);e.once("message",(function(t){if(t){var e;try{e=c.parse(t)}catch(t){return o.emit("finish"),void o.close()}var n=e[0],r=e[1];o.emit("finish",n,r)}o.close()})),e.once("close",(function(){o.emit("finish"),o.close()}))};e.document.body?d():l.attachEvent("load",d)}o(d,r),d.enabled=function(){return h.enabled()},d.prototype.close=function(){this.ifr&&this.ifr.close(),this.removeAllListeners(),this.ifr=null},t.exports=d}).call(this,n(22))},895:function(t,e,n){"use strict";var r=n(89),o=n(122),c=n(108),l=n(896),h=n(558),f=n(184),d=n(557);t.exports=function(t,e){var n,m={};e.forEach((function(t){t.facadeTransport&&(m[t.facadeTransport.transportName]=t.facadeTransport)})),m[h.transportName]=h,t.bootstrap_iframe=function(){var e;f.currentWindowId=d.hash.slice(1);o.attachEvent("message",(function(o){if(o.source===parent&&(void 0===n&&(n=o.origin),o.origin===n)){var h;try{h=c.parse(o.data)}catch(t){return void o.data}if(h.windowId===f.currentWindowId)switch(h.type){case"s":var p;try{p=c.parse(h.data)}catch(t){h.data;break}var v=p[0],y=p[1],w=p[2],_=p[3];if(v!==t.version)throw new Error('Incompatible SockJS! Main site uses: "'+v+'", the iframe: "'+t.version+'".');if(!r.isOriginEqual(w,d.href)||!r.isOriginEqual(_,d.href))throw new Error("Can't connect to different domain from within an iframe. ("+d.href+", "+w+", "+_+")");e=new l(new m[y](w,_));break;case"m":e._send(h.data);break;case"c":e&&e._close(),e=null}}})),f.postMessage("s")}}},896:function(t,e,n){"use strict";var r=n(108),o=n(184);function c(t){this._transport=t,t.on("message",this._transportMessage.bind(this)),t.on("close",this._transportClose.bind(this))}c.prototype._transportClose=function(code,t){o.postMessage("c",r.stringify([code,t]))},c.prototype._transportMessage=function(t){o.postMessage("t",t)},c.prototype._send=function(data){this._transport.send(data)},c.prototype._close=function(){this._transport.close(),this._transport.removeAllListeners()},t.exports=c}}]);