orionsoft-react-scripts
Version:
Orionsoft Configuration and scripts for Create React App.
15 lines • 165 kB
JavaScript
!function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={exports:{},id:r,loaded:!1};return e[r].call(o.exports,o,o.exports,t),o.loaded=!0,o.exports}var n={};return t.m=e,t.c=n,t.p="",t(0)}([function(e,t,n){var r=n(35),o=n(72),i=n(34);n(74);var s=!1,a="";r(function(){function e(){if(s){t.text("App hot update.");try{l[0].contentWindow.postMessage("webpackHotUpdate"+a,"*")}catch(e){console.warn(e)}l.show()}else{t.text("App updated. Reloading app..."),f.css({borderColor:"#96b5b4"});try{var n=l[0].contentWindow.location+"";0==n.indexOf("about")&&(n=null),l.attr("src",n||p+window.location.hash),n&&l[0].contentWindow.location.reload()}catch(e){l.attr("src",p+window.location.hash)}}}r("body").html(n(41)());var t=r("#status"),c=r("#okness"),u=r("#errors"),l=r("#iframe"),f=r(".header"),p=window.location.pathname.substr("/webpack-dev-server".length)+window.location.search;t.text("Connecting to sockjs server..."),u.hide(),l.hide(),f.css({borderColor:"#96b5b4"});var d={hot:function(){s=!0,l.attr("src",p+window.location.hash)},invalid:function(){c.text(""),t.text("App updated. Recompiling..."),f.css({borderColor:"#96b5b4"}),u.hide(),s||l.hide()},hash:function(e){a=e},"still-ok":function(){c.text(""),t.text("App ready."),f.css({borderColor:""}),u.hide(),s||l.show()},ok:function(){c.text(""),u.hide(),e()},warnings:function(){c.text("Warnings while compiling."),u.hide(),e()},errors:function(e){t.text("App updated with errors. No reload!"),c.text("Errors while compiling."),u.text("\n"+o(e.join("\n\n\n"))+"\n\n"),f.css({borderColor:"#ebcb8b"}),u.show(),l.hide()},"proxy-error":function(e){t.text("Could not proxy to content base target!"),c.text("Proxy error."),u.text("\n"+o(e.join("\n\n\n"))+"\n\n"),f.css({borderColor:"#ebcb8b"}),u.show(),l.hide()},close:function(){t.text(""),c.text("Disconnected."),u.text("\n\n\n Lost connection to webpack-dev-server.\n Please restart the server to reestablish connection...\n\n\n\n"),f.css({borderColor:"#ebcb8b"}),u.show(),l.hide()}};i("/sockjs-node",d),l.load(function(){t.text("App ready."),f.css({borderColor:""}),l.show()})})},function(e,t){"function"==typeof Object.create?e.exports=function(e,t){e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}:e.exports=function(e,t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}},function(e,t,n){function r(){return"WebkitAppearance"in document.documentElement.style||window.console&&(console.firebug||console.exception&&console.table)||navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31}function o(){var e=arguments,n=this.useColors;if(e[0]=(n?"%c":"")+this.namespace+(n?" %c":" ")+e[0]+(n?"%c ":" ")+"+"+t.humanize(this.diff),!n)return e;var r="color: "+this.color;e=[e[0],r,"color: inherit"].concat(Array.prototype.slice.call(e,1));var o=0,i=0;return e[0].replace(/%[a-z%]/g,function(e){"%%"!==e&&(o++,"%c"===e&&(i=o))}),e.splice(i,0,r),e}function i(){return"object"==typeof console&&console.log&&Function.prototype.apply.call(console.log,console,arguments)}function s(e){try{null==e?t.storage.removeItem("debug"):t.storage.debug=e}catch(n){}}function a(){var e;try{e=t.storage.debug}catch(n){}return e}function c(){try{return window.localStorage}catch(e){}}t=e.exports=n(40),t.log=i,t.formatArgs=o,t.save=s,t.load=a,t.useColors=r,t.storage="undefined"!=typeof chrome&&"undefined"!=typeof chrome.storage?chrome.storage.local:c(),t.colors=["lightseagreen","forestgreen","goldenrod","dodgerblue","darkorchid","crimson"],t.formatters.j=function(e){return JSON.stringify(e)},t.enable(a())},function(e,t){function n(){throw new Error("setTimeout has not been defined")}function r(){throw new Error("clearTimeout has not been defined")}function o(e){if(l===setTimeout)return setTimeout(e,0);if((l===n||!l)&&setTimeout)return l=setTimeout,setTimeout(e,0);try{return l(e,0)}catch(t){try{return l.call(null,e,0)}catch(t){return l.call(this,e,0)}}}function i(e){if(f===clearTimeout)return clearTimeout(e);if((f===r||!f)&&clearTimeout)return f=clearTimeout,clearTimeout(e);try{return f(e)}catch(t){try{return f.call(null,e)}catch(t){return f.call(this,e)}}}function s(){m&&d&&(m=!1,d.length?h=d.concat(h):g=-1,h.length&&a())}function a(){if(!m){var e=o(s);m=!0;for(var t=h.length;t;){for(d=h,h=[];++g<t;)d&&d[g].run();g=-1,t=h.length}d=null,m=!1,i(e)}}function c(e,t){this.fun=e,this.array=t}function u(){}var l,f,p=e.exports={};!function(){try{l="function"==typeof setTimeout?setTimeout:n}catch(e){l=n}try{f="function"==typeof clearTimeout?clearTimeout:r}catch(e){f=r}}();var d,h=[],m=!1,g=-1;p.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];h.push(new c(e,t)),1!==h.length||m||o(a)},c.prototype.run=function(){this.fun.apply(null,this.array)},p.title="browser",p.browser=!0,p.env={},p.argv=[],p.version="",p.versions={},p.on=u,p.addListener=u,p.once=u,p.off=u,p.removeListener=u,p.removeAllListeners=u,p.emit=u,p.binding=function(e){throw new Error("process.binding is not supported")},p.cwd=function(){return"/"},p.chdir=function(e){throw new Error("process.chdir is not supported")},p.umask=function(){return 0}},function(e,t,n){"use strict";function r(){i.call(this)}var o=n(1),i=n(21);o(r,i),r.prototype.removeAllListeners=function(e){e?delete this._listeners[e]:this._listeners={}},r.prototype.once=function(e,t){function n(){r.removeListener(e,n),o||(o=!0,t.apply(this,arguments))}var r=this,o=!1;this.on(e,n)},r.prototype.emit=function(){var e=arguments[0],t=this._listeners[e];if(t){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<t.length;i++)t[i].apply(this,r)}},r.prototype.on=r.prototype.addListener=i.prototype.addEventListener,r.prototype.removeListener=i.prototype.removeEventListener,e.exports.EventEmitter=r},function(e,t,n){(function(t){"use strict";var r=n(19),o=function(){};"production"!==t.env.NODE_ENV&&(o=n(2)("sockjs-client:utils:url")),e.exports={getOrigin:function(e){if(!e)return null;var t=new r(e);if("file:"===t.protocol)return null;var n=t.port;return n||(n="https:"===t.protocol?"443":"80"),t.protocol+"//"+t.hostname+":"+n},isOriginEqual:function(e,t){var n=this.getOrigin(e)===this.getOrigin(t);return o("same",e,t,n),n},isSchemeEqual:function(e,t){return e.split(":")[0]===t.split(":")[0]},addPath:function(e,t){var n=e.split("?");return n[0]+t+(n[1]?"?"+n[1]:"")},addQuery:function(e,t){return e+(e.indexOf("?")===-1?"?"+t:"&"+t)}}}).call(t,n(3))},function(e,t,n){var r;(function(e,o){(function(){function i(e,t){function n(e){if(n[e]!==g)return n[e];var i;if("bug-string-char-index"==e)i="a"!="a"[0];else if("json"==e)i=n("json-stringify")&&n("json-parse");else{var s,a='{"a":[1,true,false,null,"\\u0000\\b\\n\\f\\r\\t"]}';if("json-stringify"==e){var u=t.stringify,l="function"==typeof u&&b;if(l){(s=function(){return 1}).toJSON=s;try{l="0"===u(0)&&"0"===u(new r)&&'""'==u(new o)&&u(v)===g&&u(g)===g&&u()===g&&"1"===u(s)&&"[1]"==u([s])&&"[null]"==u([g])&&"null"==u(null)&&"[null,null,null]"==u([g,v,null])&&u({a:[s,!0,!1,null,"\0\b\n\f\r\t"]})==a&&"1"===u(null,s)&&"[\n 1,\n 2\n]"==u([1,2],null,1)&&'"-271821-04-20T00:00:00.000Z"'==u(new c((-864e13)))&&'"+275760-09-13T00:00:00.000Z"'==u(new c(864e13))&&'"-000001-01-01T00:00:00.000Z"'==u(new c((-621987552e5)))&&'"1969-12-31T23:59:59.999Z"'==u(new c((-1)))}catch(f){l=!1}}i=l}if("json-parse"==e){var p=t.parse;if("function"==typeof p)try{if(0===p("0")&&!p(!1)){s=p(a);var d=5==s.a.length&&1===s.a[0];if(d){try{d=!p('"\t"')}catch(f){}if(d)try{d=1!==p("01")}catch(f){}if(d)try{d=1!==p("1.")}catch(f){}}}}catch(f){d=!1}i=d}}return n[e]=!!i}e||(e=u.Object()),t||(t=u.Object());var r=e.Number||u.Number,o=e.String||u.String,s=e.Object||u.Object,c=e.Date||u.Date,l=e.SyntaxError||u.SyntaxError,f=e.TypeError||u.TypeError,p=e.Math||u.Math,d=e.JSON||u.JSON;"object"==typeof d&&d&&(t.stringify=d.stringify,t.parse=d.parse);var h,m,g,y=s.prototype,v=y.toString,b=new c((-0xc782b5b800cec));try{b=b.getUTCFullYear()==-109252&&0===b.getUTCMonth()&&1===b.getUTCDate()&&10==b.getUTCHours()&&37==b.getUTCMinutes()&&6==b.getUTCSeconds()&&708==b.getUTCMilliseconds()}catch(x){}if(!n("json")){var w="[object Function]",E="[object Date]",T="[object Number]",N="[object String]",C="[object Array]",S="[object Boolean]",_=n("bug-string-char-index");if(!b)var k=p.floor,j=[0,31,59,90,120,151,181,212,243,273,304,334],A=function(e,t){return j[t]+365*(e-1970)+k((e-1969+(t=+(t>1)))/4)-k((e-1901+t)/100)+k((e-1601+t)/400)};if((h=y.hasOwnProperty)||(h=function(e){var t,n={};return(n.__proto__=null,n.__proto__={toString:1},n).toString!=v?h=function(e){var t=this.__proto__,n=e in(this.__proto__=null,this);return this.__proto__=t,n}:(t=n.constructor,h=function(e){var n=(this.constructor||t).prototype;return e in this&&!(e in n&&this[e]===n[e])}),n=null,h.call(this,e)}),m=function(e,t){var n,r,o,i=0;(n=function(){this.valueOf=0}).prototype.valueOf=0,r=new n;for(o in r)h.call(r,o)&&i++;return n=r=null,i?m=2==i?function(e,t){var n,r={},o=v.call(e)==w;for(n in e)o&&"prototype"==n||h.call(r,n)||!(r[n]=1)||!h.call(e,n)||t(n)}:function(e,t){var n,r,o=v.call(e)==w;for(n in e)o&&"prototype"==n||!h.call(e,n)||(r="constructor"===n)||t(n);(r||h.call(e,n="constructor"))&&t(n)}:(r=["valueOf","toString","toLocaleString","propertyIsEnumerable","isPrototypeOf","hasOwnProperty","constructor"],m=function(e,t){var n,o,i=v.call(e)==w,s=!i&&"function"!=typeof e.constructor&&a[typeof e.hasOwnProperty]&&e.hasOwnProperty||h;for(n in e)i&&"prototype"==n||!s.call(e,n)||t(n);for(o=r.length;n=r[--o];s.call(e,n)&&t(n));}),m(e,t)},!n("json-stringify")){var O={92:"\\\\",34:'\\"',8:"\\b",12:"\\f",10:"\\n",13:"\\r",9:"\\t"},L="000000",D=function(e,t){return(L+(t||0)).slice(-e)},M="\\u00",H=function(e){for(var t='"',n=0,r=e.length,o=!_||r>10,i=o&&(_?e.split(""):e);n<r;n++){var s=e.charCodeAt(n);switch(s){case 8:case 9:case 10:case 12:case 13:case 34:case 92:t+=O[s];break;default:if(s<32){t+=M+D(2,s.toString(16));break}t+=o?i[n]:e.charAt(n)}}return t+'"'},I=function(e,t,n,r,o,i,s){var a,c,u,l,p,d,y,b,x,w,_,j,O,L,M,R;try{a=t[e]}catch(P){}if("object"==typeof a&&a)if(c=v.call(a),c!=E||h.call(a,"toJSON"))"function"==typeof a.toJSON&&(c!=T&&c!=N&&c!=C||h.call(a,"toJSON"))&&(a=a.toJSON(e));else if(a>-1/0&&a<1/0){if(A){for(p=k(a/864e5),u=k(p/365.2425)+1970-1;A(u+1,0)<=p;u++);for(l=k((p-A(u,0))/30.42);A(u,l+1)<=p;l++);p=1+p-A(u,l),d=(a%864e5+864e5)%864e5,y=k(d/36e5)%24,b=k(d/6e4)%60,x=k(d/1e3)%60,w=d%1e3}else u=a.getUTCFullYear(),l=a.getUTCMonth(),p=a.getUTCDate(),y=a.getUTCHours(),b=a.getUTCMinutes(),x=a.getUTCSeconds(),w=a.getUTCMilliseconds();a=(u<=0||u>=1e4?(u<0?"-":"+")+D(6,u<0?-u:u):D(4,u))+"-"+D(2,l+1)+"-"+D(2,p)+"T"+D(2,y)+":"+D(2,b)+":"+D(2,x)+"."+D(3,w)+"Z"}else a=null;if(n&&(a=n.call(t,e,a)),null===a)return"null";if(c=v.call(a),c==S)return""+a;if(c==T)return a>-1/0&&a<1/0?""+a:"null";if(c==N)return H(""+a);if("object"==typeof a){for(L=s.length;L--;)if(s[L]===a)throw f();if(s.push(a),_=[],M=i,i+=o,c==C){for(O=0,L=a.length;O<L;O++)j=I(O,a,n,r,o,i,s),_.push(j===g?"null":j);R=_.length?o?"[\n"+i+_.join(",\n"+i)+"\n"+M+"]":"["+_.join(",")+"]":"[]"}else m(r||a,function(e){var t=I(e,a,n,r,o,i,s);t!==g&&_.push(H(e)+":"+(o?" ":"")+t)}),R=_.length?o?"{\n"+i+_.join(",\n"+i)+"\n"+M+"}":"{"+_.join(",")+"}":"{}";return s.pop(),R}};t.stringify=function(e,t,n){var r,o,i,s;if(a[typeof t]&&t)if((s=v.call(t))==w)o=t;else if(s==C){i={};for(var c,u=0,l=t.length;u<l;c=t[u++],s=v.call(c),(s==N||s==T)&&(i[c]=1));}if(n)if((s=v.call(n))==T){if((n-=n%1)>0)for(r="",n>10&&(n=10);r.length<n;r+=" ");}else s==N&&(r=n.length<=10?n:n.slice(0,10));return I("",(c={},c[""]=e,c),o,i,r,"",[])}}if(!n("json-parse")){var R,P,F=o.fromCharCode,q={92:"\\",34:'"',47:"/",98:"\b",116:"\t",110:"\n",102:"\f",114:"\r"},B=function(){throw R=P=null,l()},W=function(){for(var e,t,n,r,o,i=P,s=i.length;R<s;)switch(o=i.charCodeAt(R)){case 9:case 10:case 13:case 32:R++;break;case 123:case 125:case 91:case 93:case 58:case 44:return e=_?i.charAt(R):i[R],R++,e;case 34:for(e="@",R++;R<s;)if(o=i.charCodeAt(R),o<32)B();else if(92==o)switch(o=i.charCodeAt(++R)){case 92:case 34:case 47:case 98:case 116:case 110:case 102:case 114:e+=q[o],R++;break;case 117:for(t=++R,n=R+4;R<n;R++)o=i.charCodeAt(R),o>=48&&o<=57||o>=97&&o<=102||o>=65&&o<=70||B();e+=F("0x"+i.slice(t,R));break;default:B()}else{if(34==o)break;for(o=i.charCodeAt(R),t=R;o>=32&&92!=o&&34!=o;)o=i.charCodeAt(++R);e+=i.slice(t,R)}if(34==i.charCodeAt(R))return R++,e;B();default:if(t=R,45==o&&(r=!0,o=i.charCodeAt(++R)),o>=48&&o<=57){for(48==o&&(o=i.charCodeAt(R+1),o>=48&&o<=57)&&B(),r=!1;R<s&&(o=i.charCodeAt(R),o>=48&&o<=57);R++);if(46==i.charCodeAt(R)){for(n=++R;n<s&&(o=i.charCodeAt(n),o>=48&&o<=57);n++);n==R&&B(),R=n}if(o=i.charCodeAt(R),101==o||69==o){for(o=i.charCodeAt(++R),43!=o&&45!=o||R++,n=R;n<s&&(o=i.charCodeAt(n),o>=48&&o<=57);n++);n==R&&B(),R=n}return+i.slice(t,R)}if(r&&B(),"true"==i.slice(R,R+4))return R+=4,!0;if("false"==i.slice(R,R+5))return R+=5,!1;if("null"==i.slice(R,R+4))return R+=4,null;B()}return"$"},U=function(e){var t,n;if("$"==e&&B(),"string"==typeof e){if("@"==(_?e.charAt(0):e[0]))return e.slice(1);if("["==e){for(t=[];e=W(),"]"!=e;n||(n=!0))n&&(","==e?(e=W(),"]"==e&&B()):B()),","==e&&B(),t.push(U(e));return t}if("{"==e){for(t={};e=W(),"}"!=e;n||(n=!0))n&&(","==e?(e=W(),"}"==e&&B()):B()),","!=e&&"string"==typeof e&&"@"==(_?e.charAt(0):e[0])&&":"==W()||B(),t[e.slice(1)]=U(W());return t}B()}return e},$=function(e,t,n){var r=z(e,t,n);r===g?delete e[t]:e[t]=r},z=function(e,t,n){var r,o=e[t];if("object"==typeof o&&o)if(v.call(o)==C)for(r=o.length;r--;)$(o,r,n);else m(o,function(e){$(o,e,n)});return n.call(e,t,o)};t.parse=function(e,t){var n,r;return R=0,P=""+e,n=U(W()),"$"!=W()&&B(),R=P=null,t&&v.call(t)==w?z((r={},r[""]=n,r),"",t):n}}}return t.runInContext=i,t}var s=n(20),a={"function":!0,object:!0},c=a[typeof t]&&t&&!t.nodeType&&t,u=a[typeof window]&&window||this,l=c&&a[typeof e]&&e&&!e.nodeType&&"object"==typeof o&&o;if(!l||l.global!==l&&l.window!==l&&l.self!==l||(u=l),c&&!s)i(u,c);else{var f=u.JSON,p=u.JSON3,d=!1,h=i(u,u.JSON3={noConflict:function(){return d||(d=!0,u.JSON=f,u.JSON3=p,f=p=null),h}});u.JSON={parse:h.parse,stringify:h.stringify}}s&&(r=function(){return h}.call(t,n,t,e),!(void 0!==r&&(e.exports=r)))}).call(this)}).call(t,n(76)(e),function(){return this}())},function(e,t,n){(function(t){"use strict";var r=n(9),o={},i=!1,s=t.chrome&&t.chrome.app&&t.chrome.app.runtime;e.exports={attachEvent:function(e,n){"undefined"!=typeof t.addEventListener?t.addEventListener(e,n,!1):t.document&&t.attachEvent&&(t.document.attachEvent("on"+e,n),t.attachEvent("on"+e,n))},detachEvent:function(e,n){"undefined"!=typeof t.addEventListener?t.removeEventListener(e,n,!1):t.document&&t.detachEvent&&(t.document.detachEvent("on"+e,n),t.detachEvent("on"+e,n))},unloadAdd:function(e){if(s)return null;var t=r.string(8);return o[t]=e,i&&setTimeout(this.triggerUnloadCallbacks,0),t},unloadDel:function(e){e in o&&delete o[e]},triggerUnloadCallbacks:function(){for(var e in o)o[e](),delete o[e]}};var a=function(){i||(i=!0,e.exports.triggerUnloadCallbacks())};s||e.exports.attachEvent("unload",a)}).call(t,function(){return this}())},function(e,t,n){(function(t){"use strict";function r(e){return function(t,n,r){c("create ajax sender",t,n);var o={};"string"==typeof n&&(o.headers={"Content-type":"text/plain"});var i=s.addPath(t,"/xhr_send"),a=new e("POST",i,n,o);return a.once("finish",function(e){return c("finish",e),a=null,200!==e&&204!==e?r(new Error("http status "+e)):void r()}),function(){c("abort"),a.close(),a=null;var e=new Error("Aborted");e.code=1e3,r(e)}}}function o(e,t,n,o){a.call(this,e,t,r(o),n,o)}var i=n(1),s=n(5),a=n(30),c=function(){};"production"!==t.env.NODE_ENV&&(c=n(2)("sockjs-client:ajax-based")),i(o,a),e.exports=o}).call(t,n(3))},function(e,t,n){"use strict";var r=n(68),o="abcdefghijklmnopqrstuvwxyz012345";e.exports={string:function(e){for(var t=o.length,n=r.randomBytes(e),i=[],s=0;s<e;s++)i.push(o.substr(n[s]%t,1));return i.join("")},number:function(e){return Math.floor(Math.random()*e)},numberString:function(e){var t=(""+(e-1)).length,n=new Array(t+1).join("0");return(n+this.number(e)).slice(-t)}}},function(e,t,n){"use strict";function r(e,t,n){i.call(this,e,t,n,{noCredentials:!0})}var o=n(1),i=n(25);o(r,i),r.enabled=i.enabled,e.exports=r},function(e,t){(function(t){"use strict";e.exports={isOpera:function(){return t.navigator&&/opera/i.test(t.navigator.userAgent)},isKonqueror:function(){return t.navigator&&/konqueror/i.test(t.navigator.userAgent)},hasDomain:function(){if(!t.document)return!0;try{return!!t.document.domain}catch(e){return!1}}}}).call(t,function(){return this}())},function(e,t,n){(function(t,r){"use strict";var o=n(7),i=n(6),s=n(11),a=function(){};"production"!==t.env.NODE_ENV&&(a=n(2)("sockjs-client:utils:iframe")),e.exports={WPrefix:"_jp",currentWindowId:null,polluteGlobalNamespace:function(){e.exports.WPrefix in r||(r[e.exports.WPrefix]={})},postMessage:function(t,n){r.parent!==r?r.parent.postMessage(i.stringify({windowId:e.exports.currentWindowId,type:t,data:n||""}),"*"):a("Cannot postMessage, no parent window.",t,n)},createIframe:function(e,t){var n,i,s=r.document.createElement("iframe"),c=function(){a("unattach"),clearTimeout(n);try{s.onload=null}catch(e){}s.onerror=null},u=function(){a("cleanup"),s&&(c(),setTimeout(function(){s&&s.parentNode.removeChild(s),s=null},0),o.unloadDel(i))},l=function(e){a("onerror",e),s&&(u(),t(e))},f=function(e,t){a("post",e,t);try{setTimeout(function(){s&&s.contentWindow&&s.contentWindow.postMessage(e,t)},0)}catch(n){}};return s.src=e,s.style.display="none",s.style.position="absolute",s.onerror=function(){l("onerror")},s.onload=function(){a("onload"),clearTimeout(n),n=setTimeout(function(){l("onload timeout")},2e3)},r.document.body.appendChild(s),n=setTimeout(function(){l("timeout")},15e3),i=o.unloadAdd(u),{post:f,cleanup:u,loaded:c}},createHtmlfile:function(t,n){var i,s,c,u=["Active"].concat("Object").join("X"),l=new r[u]("htmlfile"),f=function(){clearTimeout(i),c.onerror=null},p=function(){l&&(f(),o.unloadDel(s),c.parentNode.removeChild(c),c=l=null,CollectGarbage())},d=function(e){a("onerror",e),l&&(p(),n(e))},h=function(e,t){try{setTimeout(function(){c&&c.contentWindow&&c.contentWindow.postMessage(e,t)},0)}catch(n){}};l.open(),l.write('<html><script>document.domain="'+r.document.domain+'";</script></html>'),l.close(),l.parentWindow[e.exports.WPrefix]=r[e.exports.WPrefix];var m=l.createElement("div");return l.body.appendChild(m),c=l.createElement("iframe"),m.appendChild(c),c.src=t,c.onerror=function(){d("onerror")},i=setTimeout(function(){d("timeout")},15e3),s=o.unloadAdd(p),{post:h,cleanup:p,loaded:f}}},e.exports.iframeEnabled=!1,r.document&&(e.exports.iframeEnabled=("function"==typeof r.postMessage||"object"==typeof r.postMessage)&&!s.isKonqueror())}).call(t,n(3),function(){return this}())},function(e,t,n){(function(t){"use strict";function r(e,t){s(e),i.call(this);var n=this;this.bufferPosition=0,this.xo=new t("POST",e,null),this.xo.on("chunk",this._chunkHandler.bind(this)),this.xo.once("finish",function(e,t){s("finish",e,t),n._chunkHandler(e,t),n.xo=null;var r=200===e?"network":"permanent";s("close",r),n.emit("close",null,r),n._cleanup()})}var o=n(1),i=n(4).EventEmitter,s=function(){};"production"!==t.env.NODE_ENV&&(s=n(2)("sockjs-client:receiver:xhr")),o(r,i),r.prototype._chunkHandler=function(e,t){if(s("_chunkHandler",e),200===e&&t)for(var n=-1;;this.bufferPosition+=n+1){var r=t.slice(this.bufferPosition);if(n=r.indexOf("\n"),n===-1)break;var o=r.slice(0,n);o&&(s("message",o),this.emit("message",o))}},r.prototype._cleanup=function(){s("_cleanup"),this.removeAllListeners()},r.prototype.abort=function(){s("abort"),this.xo&&(this.xo.close(),s("close"),this.emit("close",null,"user"),this.xo=null),this._cleanup()},e.exports=r}).call(t,n(3))},function(e,t,n){"use strict";function r(e,t,n,r){i.call(this,e,t,n,r)}var o=n(1),i=n(25);o(r,i),r.enabled=i.enabled&&i.supportsCORS,e.exports=r},function(e,t){"use strict";function n(e){this.type=e}n.prototype.initEvent=function(e,t,n){return this.type=e,this.bubbles=t,this.cancelable=n,this.timeStamp=+new Date,this},n.prototype.stopPropagation=function(){},n.prototype.preventDefault=function(){},n.CAPTURING_PHASE=1,n.AT_TARGET=2,n.BUBBLING_PHASE=3,e.exports=n},function(e,t,n){(function(t){"use strict";var r=n(1),o=n(29),i=n(18);e.exports=function(e){function n(t,n){o.call(this,e.transportName,t,n)}return r(n,o),n.enabled=function(n,r){if(!t.document)return!1;var s=i.extend({},r);return s.sameOrigin=!0,e.enabled(s)&&o.enabled()},n.transportName="iframe-"+e.transportName,n.needBody=!0,n.roundTrips=o.roundTrips+e.roundTrips-1,n.facadeTransport=e,n}}).call(t,function(){return this}())},function(e,t,n){(function(t,r){"use strict";function o(e,t,n){l(e,t);var r=this;i.call(this),setTimeout(function(){r._start(e,t,n)},0)}var i=n(4).EventEmitter,s=n(1),a=n(7),c=n(11),u=n(5),l=function(){};"production"!==t.env.NODE_ENV&&(l=n(2)("sockjs-client:sender:xdr")),s(o,i),o.prototype._start=function(e,t,n){l("_start");var o=this,i=new r.XDomainRequest;t=u.addQuery(t,"t="+ +new Date),i.onerror=function(){l("onerror"),o._error()},i.ontimeout=function(){l("ontimeout"),o._error()},i.onprogress=function(){l("progress",i.responseText),o.emit("chunk",200,i.responseText)},i.onload=function(){l("load"),o.emit("finish",200,i.responseText),o._cleanup(!1)},this.xdr=i,this.unloadRef=a.unloadAdd(function(){o._cleanup(!0)});try{this.xdr.open(e,t),this.timeout&&(this.xdr.timeout=this.timeout),this.xdr.send(n)}catch(s){this._error()}},o.prototype._error=function(){this.emit("finish",0,""),this._cleanup(!1)},o.prototype._cleanup=function(e){if(l("cleanup",e),this.xdr){if(this.removeAllListeners(),a.unloadDel(this.unloadRef),this.xdr.ontimeout=this.xdr.onerror=this.xdr.onprogress=this.xdr.onload=null,e)try{this.xdr.abort()}catch(t){}this.unloadRef=this.xdr=null}},o.prototype.close=function(){l("close"),this._cleanup(!0)},o.enabled=!(!r.XDomainRequest||!c.hasDomain()),e.exports=o}).call(t,n(3),function(){return this}())},function(e,t){"use strict";e.exports={isObject:function(e){var t=typeof e;return"function"===t||"object"===t&&!!e},extend:function(e){if(!this.isObject(e))return e;for(var t,n,r=1,o=arguments.length;r<o;r++){t=arguments[r];for(n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e}}},function(e,t,n){"use strict";function r(e){var t=u.exec(e);return{protocol:t[1]?t[1].toLowerCase():"",slashes:!!t[2],rest:t[3]}}function o(e,t){for(var n=(t||"/").split("/").slice(0,-1).concat(e.split("/")),r=n.length,o=n[r-1],i=!1,s=0;r--;)"."===n[r]?n.splice(r,1):".."===n[r]?(n.splice(r,1),s++):s&&(0===r&&(i=!0),n.splice(r,1),s--);return i&&n.unshift(""),"."!==o&&".."!==o||n.push(""),n.join("/")}function i(e,t,n){if(!(this instanceof i))return new i(e,t,n);var u,f,p,d,h,m,g=l.slice(),y=typeof t,v=this,b=0;for("object"!==y&&"string"!==y&&(n=t,t=null),n&&"function"!=typeof n&&(n=c.parse),t=a(t),f=r(e),u=!f.protocol&&!f.slashes,v.slashes=f.slashes||u&&t.slashes,v.protocol=f.protocol||t.protocol||"",e=f.rest,f.slashes||(g[2]=[/(.*)/,"pathname"]);b<g.length;b++)d=g[b],p=d[0],m=d[1],p!==p?v[m]=e:"string"==typeof p?~(h=e.indexOf(p))&&("number"==typeof d[2]?(v[m]=e.slice(0,h),e=e.slice(h+d[2])):(v[m]=e.slice(h),e=e.slice(0,h))):(h=p.exec(e))&&(v[m]=h[1],e=e.slice(0,h.index)),v[m]=v[m]||(u&&d[3]?t[m]||"":""),d[4]&&(v[m]=v[m].toLowerCase());n&&(v.query=n(v.query)),u&&t.slashes&&"/"!==v.pathname.charAt(0)&&(""!==v.pathname||""!==t.pathname)&&(v.pathname=o(v.pathname,t.pathname)),s(v.port,v.protocol)||(v.host=v.hostname,v.port=""),v.username=v.password="",v.auth&&(d=v.auth.split(":"),v.username=d[0]||"",v.password=d[1]||""),v.origin=v.protocol&&v.host&&"file:"!==v.protocol?v.protocol+"//"+v.host:"null",v.href=v.toString()}var s=n(45),a=n(75),c=n(44),u=/^([a-z][a-z0-9.+-]*:)?(\/\/)?([\S\s]*)/i,l=[["#","hash"],["?","query"],["/","pathname"],["@","auth",1],[NaN,"host",void 0,1,1],[/:(\d+)$/,"port",void 0,1],[NaN,"hostname",void 0,1,1]];i.prototype.set=function(e,t,n){var r=this;switch(e){case"query":"string"==typeof t&&t.length&&(t=(n||c.parse)(t)),r[e]=t;break;case"port":r[e]=t,s(t,r.protocol)?t&&(r.host=r.hostname+":"+t):(r.host=r.hostname,r[e]="");break;case"hostname":r[e]=t,r.port&&(t+=":"+r.port),r.host=t;break;case"host":r[e]=t,/:\d+$/.test(t)?(t=t.split(":"),r.port=t.pop(),r.hostname=t.join(":")):(r.hostname=t,r.port="");break;case"protocol":r.protocol=t.toLowerCase(),r.slashes=!n;break;case"pathname":r.pathname="/"===t.charAt(0)?t:"/"+t;break;default:r[e]=t}for(var o=0;o<l.length;o++){var i=l[o];i[4]&&(r[i[1]]=r[i[1]].toLowerCase())}return r.origin=r.protocol&&r.host&&"file:"!==r.protocol?r.protocol+"//"+r.host:"null",r.href=r.toString(),r},i.prototype.toString=function(e){e&&"function"==typeof e||(e=c.stringify);var t,n=this,r=n.protocol;r&&":"!==r.charAt(r.length-1)&&(r+=":");var o=r+(n.slashes?"//":"");return n.username&&(o+=n.username,n.password&&(o+=":"+n.password),o+="@"),o+=n.host+n.pathname,t="object"==typeof n.query?e(n.query):n.query,t&&(o+="?"!==t.charAt(0)?"?"+t:t),n.hash&&(o+=n.hash),o},i.extractProtocol=r,i.location=a,i.qs=c,e.exports=i},function(e,t){(function(t){e.exports=t}).call(t,{})},function(e,t){"use strict";function n(){this._listeners={}}n.prototype.addEventListener=function(e,t){e in this._listeners||(this._listeners[e]=[]);var n=this._listeners[e];n.indexOf(t)===-1&&(n=n.concat([t])),this._listeners[e]=n},n.prototype.removeEventListener=function(e,t){var n=this._listeners[e];if(n){var r=n.indexOf(t);return r!==-1?void(n.length>1?this._listeners[e]=n.slice(0,r).concat(n.slice(r+1)):delete this._listeners[e]):void 0}},n.prototype.dispatchEvent=function(){var e=arguments[0],t=e.type,n=1===arguments.length?[e]:Array.apply(null,arguments);if(this["on"+t]&&this["on"+t].apply(this,n),t in this._listeners)for(var r=this._listeners[t],o=0;o<r.length;o++)r[o].apply(this,n)},e.exports=n},function(e,t,n){(function(t){"use strict";function r(e,t){o.call(this);var n=this,r=+new Date;this.xo=new t("GET",e),this.xo.once("finish",function(e,t){var o,i;if(200===e){if(i=+new Date-r,t)try{o=s.parse(t)}catch(u){c("bad json",t)}a.isObject(o)||(o={})}n.emit("finish",o,i),n.removeAllListeners()})}var o=n(4).EventEmitter,i=n(1),s=n(6),a=n(18),c=function(){};"production"!==t.env.NODE_ENV&&(c=n(2)("sockjs-client:info-ajax")),i(r,o),r.prototype.close=function(){this.removeAllListeners(),this.xo.close()},e.exports=r}).call(t,n(3))},function(e,t,n){"use strict";function r(e){var t=this;i.call(this),this.ir=new c(e,a),this.ir.once("finish",function(e,n){t.ir=null,t.emit("message",s.stringify([e,n]))})}var o=n(1),i=n(4).EventEmitter,s=n(6),a=n(10),c=n(22);o(r,i),r.transportName="iframe-info-receiver",r.prototype.close=function(){this.ir&&(this.ir.close(),this.ir=null),this.removeAllListeners()},e.exports=r},function(e,t){(function(t){"use strict";e.exports=t.location||{origin:"http://localhost:80",protocol:"http",host:"localhost",port:80,href:"http://localhost/",hash:""}}).call(t,function(){return this}())},function(e,t,n){(function(t,r){"use strict";function o(e,t,n,r){l(e,t);var o=this;i.call(this),setTimeout(function(){o._start(e,t,n,r)},0)}var i=n(4).EventEmitter,s=n(1),a=n(7),c=n(5),u=t.XMLHttpRequest,l=function(){};"production"!==r.env.NODE_ENV&&(l=n(2)("sockjs-client:browser:xhr")),s(o,i),o.prototype._start=function(e,t,n,r){var i=this;try{this.xhr=new u}catch(s){}if(!this.xhr)return l("no xhr"),this.emit("finish",0,"no xhr support"),void this._cleanup();t=c.addQuery(t,"t="+ +new Date),this.unloadRef=a.unloadAdd(function(){l("unload cleanup"),i._cleanup(!0)});try{this.xhr.open(e,t,!0),this.timeout&&"timeout"in this.xhr&&(this.xhr.timeout=this.timeout,this.xhr.ontimeout=function(){l("xhr timeout"),i.emit("finish",0,""),i._cleanup(!1)})}catch(f){return l("exception",f),this.emit("finish",0,""),void this._cleanup(!1)}if(r&&r.noCredentials||!o.supportsCORS||(l("withCredentials"),this.xhr.withCredentials="true"),r&&r.headers)for(var p in r.headers)this.xhr.setRequestHeader(p,r.headers[p]);this.xhr.onreadystatechange=function(){if(i.xhr){var e,t,n=i.xhr;switch(l("readyState",n.readyState),n.readyState){case 3:try{t=n.status,e=n.responseText}catch(r){}l("status",t),1223===t&&(t=204),200===t&&e&&e.length>0&&(l("chunk"),i.emit("chunk",t,e));break;case 4:t=n.status,l("status",t),1223===t&&(t=204),12005!==t&&12029!==t||(t=0),l("finish",t,n.responseText),i.emit("finish",t,n.responseText),i._cleanup(!1)}}};try{i.xhr.send(n)}catch(f){i.emit("finish",0,""),i._cleanup(!1)}},o.prototype._cleanup=function(e){if(l("cleanup"),this.xhr){if(this.removeAllListeners(),a.unloadDel(this.unloadRef),this.xhr.onreadystatechange=function(){},this.xhr.ontimeout&&(this.xhr.ontimeout=null),e)try{this.xhr.abort()}catch(t){}this.unloadRef=this.xhr=null}},o.prototype.close=function(){l("close"),this._cleanup(!0)},o.enabled=!!u;var f=["Active"].concat("Object").join("X");!o.enabled&&f in t&&(l("overriding xmlhttprequest"),u=function(){try{return new t[f]("Microsoft.XMLHTTP")}catch(e){return null}},o.enabled=!!new u);var p=!1;try{p="withCredentials"in new u}catch(d){}o.supportsCORS=p,e.exports=o}).call(t,function(){return this}(),n(3))},function(e,t){(function(t){e.exports=t.EventSource}).call(t,function(){return this}())},function(e,t,n){"use strict";function r(e){if(!r.enabled())throw new Error("Transport created when disabled");i.call(this,e,"/eventsource",s,a)}var o=n(1),i=n(8),s=n(60),a=n(14),c=n(26);o(r,i),r.enabled=function(){return!!c},r.transportName="eventsource",r.roundTrips=2,e.exports=r},function(e,t,n){"use strict";function r(e){if(!i.enabled)throw new Error("Transport created when disabled");a.call(this,e,"/htmlfile",i,s)}var o=n(1),i=n(61),s=n(10),a=n(8);o(r,a),r.enabled=function(e){return i.enabled&&e.sameOrigin},r.transportName="htmlfile",r.roundTrips=2,e.exports=r},function(e,t,n){(function(t){"use strict";function r(e,t,n){if(!r.enabled())throw new Error("Transport created when disabled");s.call(this);var o=this;this.origin=c.getOrigin(n),this.baseUrl=n,this.transUrl=t,this.transport=e,this.windowId=f.string(8);var i=c.addPath(n,"/iframe.html")+"#"+this.windowId;p(e,t,i),this.iframeObj=u.createIframe(i,function(e){p("err callback"),o.emit("close",1006,"Unable to load an iframe ("+e+")"),o.close()}),this.onmessageCallback=this._message.bind(this),l.attachEvent("message",this.onmessageCallback)}var o=n(1),i=n(6),s=n(4).EventEmitter,a=n(33),c=n(5),u=n(12),l=n(7),f=n(9),p=function(){};"production"!==t.env.NODE_ENV&&(p=n(2)("sockjs-client:transport:iframe")),o(r,s),r.prototype.close=function(){if(p("close"),this.removeAllListeners(),this.iframeObj){l.detachEvent("message",this.onmessageCallback);try{this.postMessage("c")}catch(e){}this.iframeObj.cleanup(),this.iframeObj=null,this.onmessageCallback=this.iframeObj=null}},r.prototype._message=function(e){if(p("message",e.data),!c.isOriginEqual(e.origin,this.origin))return void p("not same origin",e.origin,this.origin);var t;try{t=i.parse(e.data)}catch(n){return void p("bad json",e.data)}if(t.windowId!==this.windowId)return void p("mismatched window id",t.windowId,this.windowId);switch(t.type){case"s":this.iframeObj.loaded(),this.postMessage("s",i.stringify([a,this.transport,this.transUrl,this.baseUrl]));break;case"t":this.emit("message",t.data);break;case"c":var r;try{r=i.parse(t.data)}catch(n){return void p("bad json",t.data)}this.emit("close",r[0],r[1]),this.close()}},r.prototype.postMessage=function(e,t){p("postMessage",e,t),this.iframeObj.post(i.stringify({windowId:this.windowId,type:e,data:t||""}),this.origin)},r.prototype.send=function(e){p("send",e),this.postMessage("m",e)},r.enabled=function(){return u.iframeEnabled},r.transportName="iframe",r.roundTrips=2,e.exports=r}).call(t,n(3))},function(e,t,n){(function(t){"use strict";function r(e,t,n,r,o){var u=i.addPath(e,t);c(u);var l=this;s.call(this,e,n),this.poll=new a(r,u,o),this.poll.on("message",function(e){
c("poll message",e),l.emit("message",e)}),this.poll.once("close",function(e,t){c("poll close",e,t),l.poll=null,l.emit("close",e,t),l.close()})}var o=n(1),i=n(5),s=n(58),a=n(59),c=function(){};"production"!==t.env.NODE_ENV&&(c=n(2)("sockjs-client:sender-receiver")),o(r,s),r.prototype.close=function(){c("close"),this.removeAllListeners(),this.poll&&(this.poll.abort(),this.poll=null),this.stop()},e.exports=r}).call(t,n(3))},function(e,t,n){"use strict";function r(e){if(!a.enabled)throw new Error("Transport created when disabled");i.call(this,e,"/xhr_streaming",s,a)}var o=n(1),i=n(8),s=n(13),a=n(17);o(r,i),r.enabled=function(e){return!e.cookie_needed&&!e.nullOrigin&&(a.enabled&&e.sameScheme)},r.transportName="xdr-streaming",r.roundTrips=2,e.exports=r},function(e,t,n){"use strict";function r(e){if(!c.enabled&&!a.enabled)throw new Error("Transport created when disabled");i.call(this,e,"/xhr",s,a)}var o=n(1),i=n(8),s=n(13),a=n(14),c=n(10);o(r,i),r.enabled=function(e){return!e.nullOrigin&&(!(!c.enabled||!e.sameOrigin)||a.enabled)},r.transportName="xhr-polling",r.roundTrips=2,e.exports=r},function(e,t){e.exports="1.1.1"},function(e,t,n){function r(e,t){s=new o(e),s.onopen=function(){i=0},s.onclose=function(){if(0===i&&t.close(),s=null,i<=10){var n=1e3*Math.pow(2,i)+100*Math.random();i+=1,setTimeout(function(){r(e,t)},n)}},s.onmessage=function(e){var n=JSON.parse(e.data);t[n.type]&&t[n.type](n.data)}}var o=n(46),i=0,s=null;e.exports=r},function(e,t,n){n(36),e.exports=jQuery},function(e,t,n){var r,o;/*!
* jQuery JavaScript Library v1.8.1
* http://jquery.com/
*
* Includes Sizzle.js
* http://sizzlejs.com/
*
* Copyright 2012 jQuery Foundation and other contributors
* Released under the MIT license
* http://jquery.org/license
*
* Date: Thu Aug 30 2012 17:17:22 GMT-0400 (Eastern Daylight Time)
*/
!function(i,s){function a(e){var t=be[e]={};return re.each(e.split(se),function(e,n){t[n]=!0}),t}function c(e,t,n){if(n===s&&1===e.nodeType){var r="data-"+t.replace(we,"-$1").toLowerCase();if(n=e.getAttribute(r),"string"==typeof n){try{n="true"===n||"false"!==n&&("null"===n?null:+n+""===n?+n:xe.test(n)?re.parseJSON(n):n)}catch(o){}re.data(e,t,n)}else n=s}return n}function u(e){var t;for(t in e)if(("data"!==t||!re.isEmptyObject(e[t]))&&"toJSON"!==t)return!1;return!0}function l(){return!1}function f(){return!0}function p(e){return!e||!e.parentNode||11===e.parentNode.nodeType}function d(e,t){do e=e[t];while(e&&1!==e.nodeType);return e}function h(e,t,n){if(t=t||0,re.isFunction(t))return re.grep(e,function(e,r){var o=!!t.call(e,r,e);return o===n});if(t.nodeType)return re.grep(e,function(e,r){return e===t===n});if("string"==typeof t){var r=re.grep(e,function(e){return 1===e.nodeType});if(Be.test(t))return re.filter(t,r,!n);t=re.filter(t,r)}return re.grep(e,function(e,r){return re.inArray(e,t)>=0===n})}function m(e){var t=$e.split("|"),n=e.createDocumentFragment();if(n.createElement)for(;t.length;)n.createElement(t.pop());return n}function g(e,t){return e.getElementsByTagName(t)[0]||e.appendChild(e.ownerDocument.createElement(t))}function y(e,t){if(1===t.nodeType&&re.hasData(e)){var n,r,o,i=re._data(e),s=re._data(t,i),a=i.events;if(a){delete s.handle,s.events={};for(n in a)for(r=0,o=a[n].length;r<o;r++)re.event.add(t,n,a[n][r])}s.data&&(s.data=re.extend({},s.data))}}function v(e,t){var n;1===t.nodeType&&(t.clearAttributes&&t.clearAttributes(),t.mergeAttributes&&t.mergeAttributes(e),n=t.nodeName.toLowerCase(),"object"===n?(t.parentNode&&(t.outerHTML=e.outerHTML),re.support.html5Clone&&e.innerHTML&&!re.trim(t.innerHTML)&&(t.innerHTML=e.innerHTML)):"input"===n&&et.test(e.type)?(t.defaultChecked=t.checked=e.checked,t.value!==e.value&&(t.value=e.value)):"option"===n?t.selected=e.defaultSelected:"input"===n||"textarea"===n?t.defaultValue=e.defaultValue:"script"===n&&t.text!==e.text&&(t.text=e.text),t.removeAttribute(re.expando))}function b(e){return"undefined"!=typeof e.getElementsByTagName?e.getElementsByTagName("*"):"undefined"!=typeof e.querySelectorAll?e.querySelectorAll("*"):[]}function x(e){et.test(e.type)&&(e.defaultChecked=e.checked)}function w(e,t){if(t in e)return t;for(var n=t.charAt(0).toUpperCase()+t.slice(1),r=t,o=Et.length;o--;)if(t=Et[o]+n,t in e)return t;return r}function E(e,t){return e=t||e,"none"===re.css(e,"display")||!re.contains(e.ownerDocument,e)}function T(e,t){for(var n,r,o=[],i=0,s=e.length;i<s;i++)n=e[i],n.style&&(o[i]=re._data(n,"olddisplay"),t?(o[i]||"none"!==n.style.display||(n.style.display=""),""===n.style.display&&E(n)&&(o[i]=re._data(n,"olddisplay",_(n.nodeName)))):(r=at(n,"display"),o[i]||"none"===r||re._data(n,"olddisplay",r)));for(i=0;i<s;i++)n=e[i],n.style&&(t&&"none"!==n.style.display&&""!==n.style.display||(n.style.display=t?o[i]||"":"none"));return e}function N(e,t,n){var r=mt.exec(t);return r?Math.max(0,r[1]-(n||0))+(r[2]||"px"):t}function C(e,t,n,r){for(var o=n===(r?"border":"content")?4:"width"===t?1:0,i=0;o<4;o+=2)"margin"===n&&(i+=re.css(e,n+wt[o],!0)),r?("content"===n&&(i-=parseFloat(at(e,"padding"+wt[o]))||0),"margin"!==n&&(i-=parseFloat(at(e,"border"+wt[o]+"Width"))||0)):(i+=parseFloat(at(e,"padding"+wt[o]))||0,"padding"!==n&&(i+=parseFloat(at(e,"border"+wt[o]+"Width"))||0));return i}function S(e,t,n){var r="width"===t?e.offsetWidth:e.offsetHeight,o=!0,i=re.support.boxSizing&&"border-box"===re.css(e,"boxSizing");if(r<=0||null==r){if(r=at(e,t),(r<0||null==r)&&(r=e.style[t]),gt.test(r))return r;o=i&&(re.support.boxSizingReliable||r===e.style[t]),r=parseFloat(r)||0}return r+C(e,t,n||(i?"border":"content"),o)+"px"}function _(e){if(vt[e])return vt[e];var t=re("<"+e+">").appendTo(X.body),n=t.css("display");return t.remove(),"none"!==n&&""!==n||(ct=X.body.appendChild(ct||re.extend(X.createElement("iframe"),{frameBorder:0,width:0,height:0})),ut&&ct.createElement||(ut=(ct.contentWindow||ct.contentDocument).document,ut.write("<!doctype html><html><body>"),ut.close()),t=ut.body.appendChild(ut.createElement(e)),n=at(t,"display"),X.body.removeChild(ct)),vt[e]=n,n}function k(e,t,n,r){var o;if(re.isArray(t))re.each(t,function(t,o){n||Ct.test(e)?r(e,o):k(e+"["+("object"==typeof o?t:"")+"]",o,n,r)});else if(n||"object"!==re.type(t))r(e,t);else for(o in t)k(e+"["+o+"]",t[o],n,r)}function j(e){return function(t,n){"string"!=typeof t&&(n=t,t="*");var r,o,i,s=t.toLowerCase().split(se),a=0,c=s.length;if(re.isFunction(n))for(;a<c;a++)r=s[a],i=/^\+/.test(r),i&&(r=r.substr(1)||"*"),o=e[r]=e[r]||[],o[i?"unshift":"push"](n)}}function A(e,t,n,r,o,i){o=o||t.dataTypes[0],i=i||{},i[o]=!0;for(var a,c=e[o],u=0,l=c?c.length:0,f=e===Bt;u<l&&(f||!a);u++)a=c[u](t,n,r),"string"==typeof a&&(!f||i[a]?a=s:(t.dataTypes.unshift(a),a=A(e,t,n,r,a,i)));return!f&&a||i["*"]||(a=A(e,t,n,r,"*",i)),a}function O(e,t){var n,r,o=re.ajaxSettings.flatOptions||{};for(n in t)t[n]!==s&&((o[n]?e:r||(r={}))[n]=t[n]);r&&re.extend(!0,e,r)}function L(e,t,n){var r,o,i,a,c=e.contents,u=e.dataTypes,l=e.responseFields;for(o in l)o in n&&(t[l[o]]=n[o]);for(;"*"===u[0];)u.shift(),r===s&&(r=e.mimeType||t.getResponseHeader("content-type"));if(r)for(o in c)if(c[o]&&c[o].test(r)){u.unshift(o);break}if(u[0]in n)i=u[0];else{for(o in n){if(!u[0]||e.converters[o+" "+u[0]]){i=o;break}a||(a=o)}i=i||a}if(i)return i!==u[0]&&u.unshift(i),n[i]}function D(e,t){var n,r,o,i,s=e.dataTypes.slice(),a=s[0],c={},u=0;if(e.dataFilter&&(t=e.dataFilter(t,e.dataType)),s[1])for(n in e.converters)c[n.toLowerCase()]=e.converters[n];for(;o=s[++u];)if("*"!==o){if("*"!==a&&a!==o){if(n=c[a+" "+o]||c["* "+o],!n)for(r in c)if(i=r.split(" "),i[1]===o&&(n=c[a+" "+i[0]]||c["* "+i[0]])){n===!0?n=c[r]:c[r]!==!0&&(o=i[0],s.splice(u--,0,o));break}if(n!==!0)if(n&&e["throws"])t=n(t);else try{t=n(t)}catch(l){return{state:"parsererror",error:n?l:"No conversion from "+a+" to "+o}}}a=o}return{state:"success",data:t}}function M(){try{return new i.XMLHttpRequest}catch(e){}}function H(){try{return new i.ActiveXObject("Microsoft.XMLHTTP")}catch(e){}}function I(){return setTimeout(function(){Zt=s},0),Zt=re.now()}function R(e,t){re.each(t,function(t,n){for(var r=(on[t]||[]).concat(on["*"]),o=0,i=r.length;o<i;o++)if(r[o].call(e,t,n))return})}function P(e,t,n){var r,o=0,i=rn.length,s=re.Deferred().always(function(){delete a.elem}),a=function(){for(var t=Zt||I(),n=Math.max(0,c.startTime+c.duration-t),r=1-(n/c.duration||0),o=0,i=c.tweens.length;o<i;o++)c.tweens[o].run(r);return s.notifyWith(e,[c,r,n]),r<1&&i?n:(s.resolveWith(e,[c]),!1)},c=s.promise({elem:e,props:re.extend({},t),opts:re.extend(!0,{specialEasing:{}},n),originalProperties:t,originalOptions:n,startTime:Zt||I(),duration:n.duration,tweens:[],createTween:function(t,n,r){var o=re.Tween(e,c.opts,t,n,c.opts.specialEasing[t]||c.opts.easing);return c.tweens.push(o),o},stop:function(t){for(var n=0,r=t?c.tweens.length:0;n<r;n++)c.tweens[n].run(1);return t?s.resolveWith(e,[c,t]):s.rejectWith(e,[c,t]),this}}),u=c.props;for(F(u,c.opts.specialEasing);o<i;o++)if(r=rn[o].call(c,e,u,c.opts))return r;return R(c,u),re.isFunction(c.opts.start)&&c.opts.start.call(e,c),re.fx.timer(re.extend(a,{anim:c,queue:c.opts.queue,elem:e})),c.progress(c.opts.progress).done(c.opts.done,c.opts.complete).fail(c.opts.fail).always(c.opts.always)}function F(e,t){var n,r,o,i,s;for(n in e)if(r=re.camelCase(n),o=t[r],i=e[n],re.isArray(i)&&(o=i[1],i=e[n]=i[0]),n!==r&&(e[r]=i,delete e[n]),s=re.cssHooks[r],s&&"expand"in s){i=s.expand(i),delete e[r];for(n in i)n in e||(e[n]=i[n],t[n]=o)}else t[r]=o}function q(e,t,n){var r,o,i,s,a,c,u,l,f=this,p=e.style,d={},h=[],m=e.nodeType&&E(e);n.queue||(u=re._queueHooks(e,"fx"),null==u.unqueued&&(u.unqueued=0,l=u.empty.fire,u.empty.fire=function(){u.unqueued||l()}),u.unqueued++,f.always(function(){f.always(function(){u.unqueued--,re.queue(e,"fx").length||u.empty.fire()})})),1===e.nodeType&&("height"in t||"width"in t)&&(n.overflow=[p.overflow,p.overflowX,p.overflowY],"inline"===re.css(e,"display")&&"none"===re.css(e,"float")&&(re.support.inlineBlockNeedsLayout&&"inline"!==_(e.nodeName)?p.zoom=1:p.display="inline-block")),n.overflow&&(p.overflow="hidden",re.support.shrinkWrapBlocks||f.done(function(){p.overflow=n.overflow[0],p.overflowX=n.overflow[1],p.overflowY=n.overflow[2]}));for(r in t)if(i=t[r],en.exec(i)){if(delete t[r],i===(m?"hide":"show"))continue;h.push(r)}if(s=h.length)for(a=re._data(e,"fxshow")||re._data(e,"fxshow",{}),m?re(e).show():f.done(function(){re(e).hide()}),f.done(function(){var t;re.removeData(e,"fxshow",!0);for(t in d)re.style(e,t,d[t])}),r=0;r<s;r++)o=h[r],c=f.createTween(o,m?a[o]:0),d[o]=a[o]||re.style(e,o),o in a||(a[o]=c.start,m&&(c.end=c.start,c.start="width"===o||"height"===o?1:0))}function B(e,t,n,r,o){return new B.prototype.init(e,t,n,r,o)}function W(e,t){var n,r={height:e},o=0;for(t=t?1:0;o<4;o+=2-t)n=wt[o],r["margin"+n]=r["padding"+n]=e;return t&&(r.opacity=r.width=e),r}function U(e){return re.isWindow(e)?e:9===e.nodeType&&(e.defaultView||e.parentWindow)}var $,z,X=i.document,J=i.location,V=i.navigator,G=i.jQuery,Q=i.$,Y=Array.prototype.push,Z=Array.prototype.slice,K=Array.prototype.indexOf,ee=Object.prototype.toString,te=Object.prototype.hasOwnProperty,ne=String.prototype.trim,re=function(e,t){return new re.fn.init(e,t,$)},oe=/[\-+]?(?:\d*\.|)\d+(?:[eE][\-+]?\d+|)/.source,ie=/\S/,se=/\s+/,ae=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,ce=/^(?:[^#<]*(<[\w\W]+>)[^>]*$|#([\w\-]*)$)/,ue=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,le=/^[\],:{}\s]*$/,fe=/(?:^|:|,)(?:\s*\[)+/g,pe=/\\(?:["\\\/bfnrt]|u[\da-fA-F]{4})/g,de=/"[^"\\\r\n]*"|true|false|null|-?(?:\d\d*\.|)\d+(?:[eE][\-+]?\d+|)/g,he=/^-ms-/,me=/-([\da-z])/gi,ge=function(e,t){return(t+"").toUpperCase()},ye=function(){X.addEventListener?(X.removeEventListener("DOMContentLoaded",ye,!1),re.ready()):"complete"===X.readyState&&(X.detachEvent("onreadystatechange",ye),re.ready())},ve={};re.fn=re.prototype={constructor:re,init:function(e,t,n){var r,o,i;if(!e)return this;if(e.nodeType)return this.context=this[0]=e,this.length=1,this;if("string"==typeof e){if(r="<"===e.charAt(0)&&">"===e.charAt(e.length-1)&&e.length>=3?[null,e,null]:ce.exec(e),!r||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1])return t=t instanceof re?t[0]:t,i=t&&t.nodeType?t.ownerDocument||t:X,e=re.parseHTML(r[1],i,!0),ue.test(r[1])&&re.isPlainObject(t)&&this.attr.call(e,t,!0),re.merge(this,e);if(o=X.getElementById(r[2]),o&&o.parentNode){if(o.id!==r[2])return n.find(e);this.length=1,this[0]=o}return this.context=X,this.selector=e,this}return re.isFunction(e)?n.ready(e):(e.selector!==s&&(this.selector=e.selector,this.context=e.context),re.makeArray(e,this))},selector:"",jquery:"1.8.1",length:0,size:function(){return this.length},toArray:function(){return Z.call(this)},get:function(e){return null==e?this.toArray():e<0?this[this.length+e]:this[e]},pushStack:function(e,t,n){var r=re.merge(this.constructor(),e);return r.prevObject=this,r.context=this.context,"find"===t?r.selector=this.selector+(this.selector?" ":"")+n:t&&(r.selector=this.selector+"."+t+"("+n+")"),r},each:function(e,t){return re.each(this,e,t)},ready:function(e){return re.ready.promise().done(e),this},eq:function(e){return e=+e,e===-1?this.slice(e):this.slice(e,e+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(Z.apply(this,arguments),"slice",Z.call(arguments).join(","))},map:function(e){return this.pushStack(re.map(this,function(t,n){return e.call(t,n,t)}))},end:function(){return this.prevObject||this.constructor(null)},push:Y,sort:[].sort,splice:[].splice},re.fn.init.prototype=re.fn,re.extend=re.fn.extend=function(){var e,t,n,r,o,i,a=arguments[0]||{},c=1,u=arguments.length,l=!1;for("boolean"==typeof a&&(l=a,a=arguments[1]||{},c=2),"object"==typeof a||re.isFunction(a)||(a={}),u===c&&(a=this,--c);c<u;c++)if(null!=(e=arguments[c]))for(t in e)n=a[t],r=e[t],a!==r&&(l&&r&&(re.isPlainObject(r)||(o=re.isArray(r)))?(o?(o=!1,i=n&&re.isArray(n)?n:[]):i=n&&re.isPlainObject(n)?n:{},a[t]=re.extend(l,i,r)):r!==s&&(a[t]=r));return a},re.extend({noConflict:function(e){return i.$===re&&(i.$=Q),e&&i.jQuery===re&&(i.jQuery=G),re},isReady:!1,readyWait:1,holdReady:function(e){e?re.readyWait++:re.ready(!0)},ready:function(e){if(e===!0?!--re.readyWait:!re.isReady){if(!X.body)return setTimeout(re.ready,1);re.isReady=!0,e!==!0&&--re.readyWait>0||(z.resolveWith(X,[re]),re.fn.trigger&&re(X).trigger("ready").off("ready"))}},isFunction:function(e){return"function"===re.type(e)},isArray:Array.isArray||function(e){return"array"===re.type(e)},isWindow:function(e){return null!=e&&e==e.window},isNumeric:function(e){return!isNaN(parseFloat(e))&&isFinite(e)},type:function(e){return null==e?String(e):ve[ee.call(e)]||"object"},isPlainObject:function(e){if(!e||"object"!==re.type(e)||e.nodeType||re.isWindow(e))return!1;try{if(e.constructor&&!te.call(e,"constructor")&&!te.call(e.constructor.prototype,"isPrototypeOf"))return!1}catch(t){return!1}var n;for(n in e);return n===s||te.call(e,n)},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},error:function(e){throw new Error(e)},parseHTML:function(e,t,n){var r;return e&&"string"==typeof e?("boolean"==typeof t&&(n=t,t=0),t=t||X,(r=ue.exec(e))?[t.createElement(r[1])]:(r=re.buildFragment([e],t,n?null:[]),re.merge([],(r.cacheable?re.clone(r.fragment):r.fragment).childNodes))):null},parseJSON:function(e){return e&&"string"==typeof e?(e=re.trim(e),i.JSON&&i.JSON.parse?i.JSON.parse(e):le.test(e.replace(pe,"@").replace(de,"]").replace(fe,""))?new Function("return "+e)():void re.error("Invalid JSON: "+e)):null},parseXML:function(e){var t,n;if(!e||"string"!=typeof e)return null;try{i.DOMParser?(n=new DOMParser,t=n.parseFromString(e,"text/xml")):(t=new ActiveXObject("Microsoft.XMLDOM"),t.async="false",t.loadXML(e))}catch(r){t=s}return t&&t.documentElement&&!t.getElementsByTagName("parsererror").length||re.error("Invalid XML: "+e),t},noop:function(){},globalEval:function(e){e&&ie.test(e)&&(i.execScript||function(e){i.eval.call(i,e)})(e)},camelCase:function(e){return e.replace(he,"ms-").replace(me,ge)},nodeName:function(e,t){return e.nodeName&&e.nodeName.toUpperCase()===t.toUpperCase()},each:function(e,t,n){var r,o=0,i=e.length,a=i===s||re.isFunction(e);if(n)if(a){for(r in e)if(t.apply(e[r],n)===!1)break}else for(;o<i&&t.apply(e[o++],n)!==!1;);else if(a){for(r in e)if(t.call(e[r],r,e[r])===!1)break}else for(;o<i&&t.call(e[o],o,e[o++])!==!1;);return e},trim:ne&&!ne.call("\ufeff ")?function(e){return null==e?"":ne.call(e)}:function(e){return null==e?"":e.toString().replace(ae,"")},makeArray:function(e,t){var n,r=t||[];return null!=e&&(n=re.type(e),null==e.length||"string"===n||"function"===n||"regexp"===n||re.isWindow(e)?Y.call(r,e):re.merge(r,e)),r},inArray:function(e,t,n){var r;if(t){if(K)return K.call(t,e,n);for(r=t.length,n=n?n<0?Math.max(0,r+n):n:0;n<r;n++)if(n in t&&t[n]===e)return n}return-1},merge:function(e,t){var n=t.length,r=e.length,o=0;if("number"==typeof n)for(;o<n;o++)e[r++]=t[o];else for(;t[o]!==s;)e[r++]=t[o++];return e.length=r,e},grep:function(e,t,n){var r,o=[],i=0,s=e.length;for(n=!!n;i<s;i++)r=!!t(e[i],i),n!==r&&o.push(e[i]);return o},map:function(e,t,n){var r,o,i=[],a=0,c=e.length,u=e instanceof re||c!==s&&"number"==typeof c&&(c>0&&e[0]&&e[c-1]||0===c||re.isArray(e));if(u)for(;a<c;a++)r=t(e[a],a,n),null!=r&&(i[i.length]=r);else for(o in e)r=t(e[o],o,n),null!=r&&(i[i.length]=r);return i.concat.apply([],i)},guid:1,proxy:function(e,t){var n,r,o;return"string"==typeof t&&(n=e[t],t=e,e=n),re.isFunction(e)?(r=Z.call(arguments,2),o=function(){return e.apply(t,r.concat(Z.call(arguments)))},o.guid=e.guid=e.guid||o.guid||re.guid++,o):s},access:function(e,t,n,r,o,i,a){var c,u=null==n,l=0,f=e.length;if(n&&"object"==typeof n){for(l in n)re.access(e,t,l,n[l],1,i,r);o=1}else if(r!==s){if(c=a===s&&re.isFunction(r),u&&(c?(c=t,t=function(e,t,n){return c.call(re(e),n)}):(t.call(e,r),t=null)),t)for(;l<f;l++)t(e[l],n,c?r.call(e[l],l,t(e[l],n)):r,a);o=1}return o?e:u?t.call(e):f?t(e[0],n):i},now:function(){return(new Date).getTime()}}),re.ready.promise=function(e){if(!z)if(z=re.Deferred(),"com