react-youtube-playlist
Version:
A react component for displaying the contents of a user's YouTube playlist.
24 lines • 150 kB
JavaScript
!function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,t),o.l=!0,o.exports}var n={};t.m=e,t.c=n,t.i=function(e){return e},t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=36)}([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){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t,n){"use strict";function r(){i.call(this)}var o=n(0),i=n(18);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){"use strict";var r=n(17),o=function(){};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+(-1===e.indexOf("?")?"?"+t:"&"+t)}}},function(e,t,n){(function(e,r){var o;(function(){function i(e,t){function n(e){if(n[e]!==v)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 c=t.stringify,l="function"==typeof c&&b;if(l){(s=function(){return 1}).toJSON=s;try{l="0"===c(0)&&"0"===c(new r)&&'""'==c(new o)&&c(y)===v&&c(v)===v&&c()===v&&"1"===c(s)&&"[1]"==c([s])&&"[null]"==c([v])&&"null"==c(null)&&"[null,null,null]"==c([v,y,null])&&c({a:[s,!0,!1,null,"\0\b\n\f\r\t"]})==a&&"1"===c(null,s)&&"[\n 1,\n 2\n]"==c([1,2],null,1)&&'"-271821-04-20T00:00:00.000Z"'==c(new u(-864e13))&&'"+275760-09-13T00:00:00.000Z"'==c(new u(864e13))&&'"-000001-01-01T00:00:00.000Z"'==c(new u(-621987552e5))&&'"1969-12-31T23:59:59.999Z"'==c(new u(-1))}catch(e){l=!1}}i=l}if("json-parse"==e){var f=t.parse;if("function"==typeof f)try{if(0===f("0")&&!f(!1)){s=f(a);var p=5==s.a.length&&1===s.a[0];if(p){try{p=!f('"\t"')}catch(e){}if(p)try{p=1!==f("01")}catch(e){}if(p)try{p=1!==f("1.")}catch(e){}}}}catch(e){p=!1}i=p}}return n[e]=!!i}e||(e=c.Object()),t||(t=c.Object());var r=e.Number||c.Number,o=e.String||c.String,s=e.Object||c.Object,u=e.Date||c.Date,l=e.SyntaxError||c.SyntaxError,f=e.TypeError||c.TypeError,p=e.Math||c.Math,h=e.JSON||c.JSON;"object"==typeof h&&h&&(t.stringify=h.stringify,t.parse=h.parse);var d,m,v,g=s.prototype,y=g.toString,b=new u(-0xc782b5b800cec);try{b=-109252==b.getUTCFullYear()&&0===b.getUTCMonth()&&1===b.getUTCDate()&&10==b.getUTCHours()&&37==b.getUTCMinutes()&&6==b.getUTCSeconds()&&708==b.getUTCMilliseconds()}catch(e){}if(!n("json")){var x=n("bug-string-char-index");if(!b)var w=p.floor,T=[0,31,59,90,120,151,181,212,243,273,304,334],C=function(e,t){return T[t]+365*(e-1970)+w((e-1969+(t=+(t>1)))/4)-w((e-1901+t)/100)+w((e-1601+t)/400)};if((d=g.hasOwnProperty)||(d=function(e){var t,n={};return(n.__proto__=null,n.__proto__={toString:1},n).toString!=y?d=function(e){var t=this.__proto__,n=e in(this.__proto__=null,this);return this.__proto__=t,n}:(t=n.constructor,d=function(e){var n=(this.constructor||t).prototype;return e in this&&!(e in n&&this[e]===n[e])}),n=null,d.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)d.call(r,o)&&i++;return n=r=null,i?m=2==i?function(e,t){var n,r={},o="[object Function]"==y.call(e);for(n in e)o&&"prototype"==n||d.call(r,n)||!(r[n]=1)||!d.call(e,n)||t(n)}:function(e,t){var n,r,o="[object Function]"==y.call(e);for(n in e)o&&"prototype"==n||!d.call(e,n)||(r="constructor"===n)||t(n);(r||d.call(e,n="constructor"))&&t(n)}:(r=["valueOf","toString","toLocaleString","propertyIsEnumerable","isPrototypeOf","hasOwnProperty","constructor"],m=function(e,t){var n,o,i="[object Function]"==y.call(e),s=!i&&"function"!=typeof e.constructor&&a[typeof e.hasOwnProperty]&&e.hasOwnProperty||d;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 E={92:"\\\\",34:'\\"',8:"\\b",12:"\\f",10:"\\n",13:"\\r",9:"\\t"},S=function(e,t){return("000000"+(t||0)).slice(-e)},j=function(e){for(var t='"',n=0,r=e.length,o=!x||r>10,i=o&&(x?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+=E[s];break;default:if(s<32){t+="\\u00"+S(2,s.toString(16));break}t+=o?i[n]:e.charAt(n)}}return t+'"'},_=function(e,t,n,r,o,i,s){var a,u,c,l,p,h,g,b,x,T,E,k,N,A,O,L;try{a=t[e]}catch(e){}if("object"==typeof a&&a)if("[object Date]"!=(u=y.call(a))||d.call(a,"toJSON"))"function"==typeof a.toJSON&&("[object Number]"!=u&&"[object String]"!=u&&"[object Array]"!=u||d.call(a,"toJSON"))&&(a=a.toJSON(e));else if(a>-1/0&&a<1/0){if(C){for(p=w(a/864e5),c=w(p/365.2425)+1970-1;C(c+1,0)<=p;c++);for(l=w((p-C(c,0))/30.42);C(c,l+1)<=p;l++);p=1+p-C(c,l),h=(a%864e5+864e5)%864e5,g=w(h/36e5)%24,b=w(h/6e4)%60,x=w(h/1e3)%60,T=h%1e3}else c=a.getUTCFullYear(),l=a.getUTCMonth(),p=a.getUTCDate(),g=a.getUTCHours(),b=a.getUTCMinutes(),x=a.getUTCSeconds(),T=a.getUTCMilliseconds();a=(c<=0||c>=1e4?(c<0?"-":"+")+S(6,c<0?-c:c):S(4,c))+"-"+S(2,l+1)+"-"+S(2,p)+"T"+S(2,g)+":"+S(2,b)+":"+S(2,x)+"."+S(3,T)+"Z"}else a=null;if(n&&(a=n.call(t,e,a)),null===a)return"null";if("[object Boolean]"==(u=y.call(a)))return""+a;if("[object Number]"==u)return a>-1/0&&a<1/0?""+a:"null";if("[object String]"==u)return j(""+a);if("object"==typeof a){for(A=s.length;A--;)if(s[A]===a)throw f();if(s.push(a),E=[],O=i,i+=o,"[object Array]"==u){for(N=0,A=a.length;N<A;N++)k=_(N,a,n,r,o,i,s),E.push(k===v?"null":k);L=E.length?o?"[\n"+i+E.join(",\n"+i)+"\n"+O+"]":"["+E.join(",")+"]":"[]"}else m(r||a,function(e){var t=_(e,a,n,r,o,i,s);t!==v&&E.push(j(e)+":"+(o?" ":"")+t)}),L=E.length?o?"{\n"+i+E.join(",\n"+i)+"\n"+O+"}":"{"+E.join(",")+"}":"{}";return s.pop(),L}};t.stringify=function(e,t,n){var r,o,i,s;if(a[typeof t]&&t)if("[object Function]"==(s=y.call(t)))o=t;else if("[object Array]"==s){i={};for(var u,c=0,l=t.length;c<l;u=t[c++],("[object String]"==(s=y.call(u))||"[object Number]"==s)&&(i[u]=1));}if(n)if("[object Number]"==(s=y.call(n))){if((n-=n%1)>0)for(r="",n>10&&(n=10);r.length<n;r+=" ");}else"[object String]"==s&&(r=n.length<=10?n:n.slice(0,10));return _("",(u={},u[""]=e,u),o,i,r,"",[])}}if(!n("json-parse")){var k,N,A=o.fromCharCode,O={92:"\\",34:'"',47:"/",98:"\b",116:"\t",110:"\n",102:"\f",114:"\r"},L=function(){throw k=N=null,l()},D=function(){for(var e,t,n,r,o,i=N,s=i.length;k<s;)switch(o=i.charCodeAt(k)){case 9:case 10:case 13:case 32:k++;break;case 123:case 125:case 91:case 93:case 58:case 44:return e=x?i.charAt(k):i[k],k++,e;case 34:for(e="@",k++;k<s;)if((o=i.charCodeAt(k))<32)L();else if(92==o)switch(o=i.charCodeAt(++k)){case 92:case 34:case 47:case 98:case 116:case 110:case 102:case 114:e+=O[o],k++;break;case 117:for(t=++k,n=k+4;k<n;k++)(o=i.charCodeAt(k))>=48&&o<=57||o>=97&&o<=102||o>=65&&o<=70||L();e+=A("0x"+i.slice(t,k));break;default:L()}else{if(34==o)break;for(o=i.charCodeAt(k),t=k;o>=32&&92!=o&&34!=o;)o=i.charCodeAt(++k);e+=i.slice(t,k)}if(34==i.charCodeAt(k))return k++,e;L();default:if(t=k,45==o&&(r=!0,o=i.charCodeAt(++k)),o>=48&&o<=57){for(48==o&&(o=i.charCodeAt(k+1))>=48&&o<=57&&L(),r=!1;k<s&&(o=i.charCodeAt(k))>=48&&o<=57;k++);if(46==i.charCodeAt(k)){for(n=++k;n<s&&(o=i.charCodeAt(n))>=48&&o<=57;n++);n==k&&L(),k=n}if(101==(o=i.charCodeAt(k))||69==o){for(o=i.charCodeAt(++k),43!=o&&45!=o||k++,n=k;n<s&&(o=i.charCodeAt(n))>=48&&o<=57;n++);n==k&&L(),k=n}return+i.slice(t,k)}if(r&&L(),"true"==i.slice(k,k+4))return k+=4,!0;if("false"==i.slice(k,k+5))return k+=5,!1;if("null"==i.slice(k,k+4))return k+=4,null;L()}return"$"},q=function(e){var t,n;if("$"==e&&L(),"string"==typeof e){if("@"==(x?e.charAt(0):e[0]))return e.slice(1);if("["==e){for(t=[];"]"!=(e=D());n||(n=!0))n&&(","==e?"]"==(e=D())&&L():L()),","==e&&L(),t.push(q(e));return t}if("{"==e){for(t={};"}"!=(e=D());n||(n=!0))n&&(","==e?"}"==(e=D())&&L():L()),","!=e&&"string"==typeof e&&"@"==(x?e.charAt(0):e[0])&&":"==D()||L(),t[e.slice(1)]=q(D());return t}L()}return e},P=function(e,t,n){var r=R(e,t,n);r===v?delete e[t]:e[t]=r},R=function(e,t,n){var r,o=e[t];if("object"==typeof o&&o)if("[object Array]"==y.call(o))for(r=o.length;r--;)P(o,r,n);else m(o,function(e){P(o,e,n)});return n.call(e,t,o)};t.parse=function(e,t){var n,r;return k=0,N=""+e,n=q(D()),"$"!=D()&&L(),k=N=null,t&&"[object Function]"==y.call(t)?R((r={},r[""]=n,r),"",t):n}}}return t.runInContext=i,t}var s=n(71),a={function:!0,object:!0},u=a[typeof t]&&t&&!t.nodeType&&t,c=a[typeof window]&&window||this,l=u&&a[typeof e]&&e&&!e.nodeType&&"object"==typeof r&&r;if(!l||l.global!==l&&l.window!==l&&l.self!==l||(c=l),u&&!s)i(c,u);else{var f=c.JSON,p=c.JSON3,h=!1,d=i(c,c.JSON3={noConflict:function(){return h||(h=!0,c.JSON=f,c.JSON3=p,f=p=null),d}});c.JSON={parse:d.parse,stringify:d.stringify}}s&&void 0!==(o=function(){return d}.call(t,n,t,e))&&(e.exports=o)}).call(this)}).call(t,n(72)(e),n(1))},function(e,t,n){"use strict";(function(t){var r=n(7),o={},i=!1,s=t.chrome&&t.chrome.app&&t.chrome.app.runtime;e.exports={attachEvent:function(e,n){void 0!==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){void 0!==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,n(1))},function(e,t,n){"use strict";function r(e){return function(t,n,r){u("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){if(u("finish",e),a=null,200!==e&&204!==e)return r(new Error("http status "+e));r()}),function(){u("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(0),s=n(3),a=n(27),u=function(){};i(o,a),e.exports=o},function(e,t,n){"use strict";var r=n(65),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;return(new Array(t+1).join("0")+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(0),i=n(22);o(r,i),r.enabled=i.enabled,e.exports=r},function(e,t,n){"use strict";(function(t){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,n(1))},function(e,t,n){"use strict";(function(t){var r=n(5),o=n(4),i=n(9),s=function(){};e.exports={WPrefix:"_jp",currentWindowId:null,polluteGlobalNamespace:function(){e.exports.WPrefix in t||(t[e.exports.WPrefix]={})},postMessage:function(n,r){t.parent!==t?t.parent.postMessage(o.stringify({windowId:e.exports.currentWindowId,type:n,data:r||""}),"*"):s("Cannot postMessage, no parent window.",n,r)},createIframe:function(e,n){var o,i,a=t.document.createElement("iframe"),u=function(){s("unattach"),clearTimeout(o);try{a.onload=null}catch(e){}a.onerror=null},c=function(){s("cleanup"),a&&(u(),setTimeout(function(){a&&a.parentNode.removeChild(a),a=null},0),r.unloadDel(i))},l=function(e){s("onerror",e),a&&(c(),n(e))},f=function(e,t){s("post",e,t);try{setTimeout(function(){a&&a.contentWindow&&a.contentWindow.postMessage(e,t)},0)}catch(e){}};return a.src=e,a.style.display="none",a.style.position="absolute",a.onerror=function(){l("onerror")},a.onload=function(){s("onload"),clearTimeout(o),o=setTimeout(function(){l("onload timeout")},2e3)},t.document.body.appendChild(a),o=setTimeout(function(){l("timeout")},15e3),i=r.unloadAdd(c),{post:f,cleanup:c,loaded:u}},createHtmlfile:function(n,o){var i,a,u,c=["Active"].concat("Object").join("X"),l=new t[c]("htmlfile"),f=function(){clearTimeout(i),u.onerror=null},p=function(){l&&(f(),r.unloadDel(a),u.parentNode.removeChild(u),u=l=null,CollectGarbage())},h=function(e){s("onerror",e),l&&(p(),o(e))},d=function(e,t){try{setTimeout(function(){u&&u.contentWindow&&u.contentWindow.postMessage(e,t)},0)}catch(e){}};l.open(),l.write('<html><script>document.domain="'+t.document.domain+'";</script></html>'),l.close(),l.parentWindow[e.exports.WPrefix]=t[e.exports.WPrefix];var m=l.createElement("div");return l.body.appendChild(m),u=l.createElement("iframe"),m.appendChild(u),u.src=n,u.onerror=function(){h("onerror")},i=setTimeout(function(){h("timeout")},15e3),a=r.unloadAdd(p),{post:d,cleanup:p,loaded:f}}},e.exports.iframeEnabled=!1,t.document&&(e.exports.iframeEnabled=("function"==typeof t.postMessage||"object"==typeof t.postMessage)&&!i.isKonqueror())}).call(t,n(1))},function(e,t,n){"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(0),i=n(2).EventEmitter,s=function(){};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(-1===(n=r.indexOf("\n")))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},function(e,t,n){"use strict";function r(e,t,n,r){i.call(this,e,t,n,r)}var o=n(0),i=n(22);o(r,i),r.enabled=i.enabled&&i.supportsCORS,e.exports=r},function(e,t,n){"use strict";function r(e){this.type=e}r.prototype.initEvent=function(e,t,n){return this.type=e,this.bubbles=t,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,e.exports=r},function(e,t,n){"use strict";(function(t){var r=n(0),o=n(26),i=n(16);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,n(1))},function(e,t,n){"use strict";(function(t){function r(e,t,n){c(e,t);var r=this;o.call(this),setTimeout(function(){r._start(e,t,n)},0)}var o=n(2).EventEmitter,i=n(0),s=n(5),a=n(9),u=n(3),c=function(){};i(r,o),r.prototype._start=function(e,n,r){c("_start");var o=this,i=new t.XDomainRequest;n=u.addQuery(n,"t="+ +new Date),i.onerror=function(){c("onerror"),o._error()},i.ontimeout=function(){c("ontimeout"),o._error()},i.onprogress=function(){c("progress",i.responseText),o.emit("chunk",200,i.responseText)},i.onload=function(){c("load"),o.emit("finish",200,i.responseText),o._cleanup(!1)},this.xdr=i,this.unloadRef=s.unloadAdd(function(){o._cleanup(!0)});try{this.xdr.open(e,n),this.timeout&&(this.xdr.timeout=this.timeout),this.xdr.send(r)}catch(e){this._error()}},r.prototype._error=function(){this.emit("finish",0,""),this._cleanup(!1)},r.prototype._cleanup=function(e){if(c("cleanup",e),this.xdr){if(this.removeAllListeners(),s.unloadDel(this.unloadRef),this.xdr.ontimeout=this.xdr.onerror=this.xdr.onprogress=this.xdr.onload=null,e)try{this.xdr.abort()}catch(e){}this.unloadRef=this.xdr=null}},r.prototype.close=function(){c("close"),this._cleanup(!0)},r.enabled=!(!t.XDomainRequest||!a.hasDomain()),e.exports=r}).call(t,n(1))},function(e,t,n){"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=f.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 s,a,f,h,d,m,v=p.slice(),g=typeof t,y=this,b=0;for("object"!==g&&"string"!==g&&(n=t,t=null),n&&"function"!=typeof n&&(n=l.parse),t=c(t),a=r(e||""),s=!a.protocol&&!a.slashes,y.slashes=a.slashes||s&&t.slashes,y.protocol=a.protocol||t.protocol||"",e=a.rest,a.slashes||(v[2]=[/(.*)/,"pathname"]);b<v.length;b++)h=v[b],f=h[0],m=h[1],f!==f?y[m]=e:"string"==typeof f?~(d=e.indexOf(f))&&("number"==typeof h[2]?(y[m]=e.slice(0,d),e=e.slice(d+h[2])):(y[m]=e.slice(d),e=e.slice(0,d))):(d=f.exec(e))&&(y[m]=d[1],e=e.slice(0,d.index)),y[m]=y[m]||(s&&h[3]?t[m]||"":""),h[4]&&(y[m]=y[m].toLowerCase());n&&(y.query=n(y.query)),s&&t.slashes&&"/"!==y.pathname.charAt(0)&&(""!==y.pathname||""!==t.pathname)&&(y.pathname=o(y.pathname,t.pathname)),u(y.port,y.protocol)||(y.host=y.hostname,y.port=""),y.username=y.password="",y.auth&&(h=y.auth.split(":"),y.username=h[0]||"",y.password=h[1]||""),y.origin=y.protocol&&y.host&&"file:"!==y.protocol?y.protocol+"//"+y.host:"null",y.href=y.toString()}function s(e,t,n){var r=this;switch(e){case"query":"string"==typeof t&&t.length&&(t=(n||l.parse)(t)),r[e]=t;break;case"port":r[e]=t,u(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.length&&"/"!==t.charAt(0)?"/"+t:t;break;default:r[e]=t}for(var o=0;o<p.length;o++){var i=p[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}function a(e){e&&"function"==typeof e||(e=l.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}var u=n(42),c=n(70),l=n(41),f=/^([a-z][a-z0-9.+-]*:)?(\/\/)?([\S\s]*)/i,p=[["#","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:s,toString:a},i.extractProtocol=r,i.location=c,i.qs=l,e.exports=i},function(e,t,n){"use strict";function r(){this._listeners={}}r.prototype.addEventListener=function(e,t){e in this._listeners||(this._listeners[e]=[]);var n=this._listeners[e];-1===n.indexOf(t)&&(n=n.concat([t])),this._listeners[e]=n},r.prototype.removeEventListener=function(e,t){var n=this._listeners[e];if(n){var r=n.indexOf(t);return-1!==r?void(n.length>1?this._listeners[e]=n.slice(0,r).concat(n.slice(r+1)):delete this._listeners[e]):void 0}},r.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=r},function(e,t,n){"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(e){u("bad json",t)}a.isObject(o)||(o={})}n.emit("finish",o,i),n.removeAllListeners()})}var o=n(2).EventEmitter,i=n(0),s=n(4),a=n(16),u=function(){};i(r,o),r.prototype.close=function(){this.removeAllListeners(),this.xo.close()},e.exports=r},function(e,t,n){"use strict";function r(e){var t=this;i.call(this),this.ir=new u(e,a),this.ir.once("finish",function(e,n){t.ir=null,t.emit("message",s.stringify([e,n]))})}var o=n(0),i=n(2).EventEmitter,s=n(4),a=n(8),u=n(19);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,n){"use strict";(function(t){e.exports=t.location||{origin:"http://localhost:80",protocol:"http",host:"localhost",port:80,href:"http://localhost/",hash:""}}).call(t,n(1))},function(e,t,n){"use strict";(function(t){function r(e,t,n,r){c(e,t);var i=this;o.call(this),setTimeout(function(){i._start(e,t,n,r)},0)}var o=n(2).EventEmitter,i=n(0),s=n(5),a=n(3),u=t.XMLHttpRequest,c=function(){};i(r,o),r.prototype._start=function(e,t,n,o){var i=this;try{this.xhr=new u}catch(e){}if(!this.xhr)return c("no xhr"),this.emit("finish",0,"no xhr support"),void this._cleanup();t=a.addQuery(t,"t="+ +new Date),this.unloadRef=s.unloadAdd(function(){c("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(){c("xhr timeout"),i.emit("finish",0,""),i._cleanup(!1)})}catch(e){return c("exception",e),this.emit("finish",0,""),void this._cleanup(!1)}if(o&&o.noCredentials||!r.supportsCORS||(c("withCredentials"),this.xhr.withCredentials="true"),o&&o.headers)for(var l in o.headers)this.xhr.setRequestHeader(l,o.headers[l]);this.xhr.onreadystatechange=function(){if(i.xhr){var e,t,n=i.xhr;switch(c("readyState",n.readyState),n.readyState){case 3:try{t=n.status,e=n.responseText}catch(e){}c("status",t),1223===t&&(t=204),200===t&&e&&e.length>0&&(c("chunk"),i.emit("chunk",t,e));break;case 4:t=n.status,c("status",t),1223===t&&(t=204),12005!==t&&12029!==t||(t=0),c("finish",t,n.responseText),i.emit("finish",t,n.responseText),i._cleanup(!1)}}};try{i.xhr.send(n)}catch(e){i.emit("finish",0,""),i._cleanup(!1)}},r.prototype._cleanup=function(e){if(c("cleanup"),this.xhr){if(this.removeAllListeners(),s.unloadDel(this.unloadRef),this.xhr.onreadystatechange=function(){},this.xhr.ontimeout&&(this.xhr.ontimeout=null),e)try{this.xhr.abort()}catch(e){}this.unloadRef=this.xhr=null}},r.prototype.close=function(){c("close"),this._cleanup(!0)},r.enabled=!!u;var l=["Active"].concat("Object").join("X");!r.enabled&&l in t&&(c("overriding xmlhttprequest"),u=function(){try{return new t[l]("Microsoft.XMLHTTP")}catch(e){return null}},r.enabled=!!new u);var f=!1;try{f="withCredentials"in new u}catch(e){}r.supportsCORS=f,e.exports=r}).call(t,n(1))},function(e,t,n){(function(t){e.exports=t.EventSource}).call(t,n(1))},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(0),i=n(6),s=n(57),a=n(12),u=n(23);o(r,i),r.enabled=function(){return!!u},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(0),i=n(58),s=n(8),a=n(6);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){"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=u.getOrigin(n),this.baseUrl=n,this.transUrl=t,this.transport=e,this.windowId=f.string(8);var i=u.addPath(n,"/iframe.html")+"#"+this.windowId;p(e,t,i),this.iframeObj=c.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(0),i=n(4),s=n(2).EventEmitter,a=n(30),u=n(3),c=n(10),l=n(5),f=n(7),p=function(){};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),!u.isOriginEqual(e.origin,this.origin))return void p("not same origin",e.origin,this.origin);var t;try{t=i.parse(e.data)}catch(t){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 n;try{n=i.parse(t.data)}catch(e){return void p("bad json",t.data)}this.emit("close",n[0],n[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 c.iframeEnabled},r.transportName="iframe",r.roundTrips=2,e.exports=r},function(e,t,n){"use strict";function r(e,t,n,r,o){var c=i.addPath(e,t);u(c);var l=this;s.call(this,e,n),this.poll=new a(r,c,o),this.poll.on("message",function(e){u("poll message",e),l.emit("message",e)}),this.poll.once("close",function(e,t){u("poll close",e,t),l.poll=null,l.emit("close",e,t),l.close()})}var o=n(0),i=n(3),s=n(55),a=n(56),u=function(){};o(r,s),r.prototype.close=function(){s.prototype.close.call(this),u("close"),this.removeAllListeners(),this.poll&&(this.poll.abort(),this.poll=null)},e.exports=r},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(0),i=n(6),s=n(11),a=n(15);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(!u.enabled&&!a.enabled)throw new Error("Transport created when disabled");i.call(this,e,"/xhr",s,a)}var o=n(0),i=n(6),s=n(11),a=n(12),u=n(8);o(r,i),r.enabled=function(e){return!e.nullOrigin&&(!(!u.enabled||!e.sameOrigin)||a.enabled)},r.transportName="xhr-polling",r.roundTrips=2,e.exports=r},function(e,t){e.exports="1.1.2"},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(43),i=0,s=null;e.exports=r},function(e,t,n){var r,o;/*!
* jQuery JavaScript Library v2.2.4
* http://jquery.com/
*
* Includes Sizzle.js
* http://sizzlejs.com/
*
* Copyright jQuery Foundation and other contributors
* Released under the MIT license
* http://jquery.org/license
*
* Date: 2016-05-20T17:23Z
*/
!function(t,n){"object"==typeof e&&"object"==typeof e.exports?e.exports=t.document?n(t,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return n(e)}:n(t)}("undefined"!=typeof window?window:this,function(n,i){function s(e){var t=!!e&&"length"in e&&e.length,n=ue.type(e);return"function"!==n&&!ue.isWindow(e)&&("array"===n||0===t||"number"==typeof t&&t>0&&t-1 in e)}function a(e,t,n){if(ue.isFunction(t))return ue.grep(e,function(e,r){return!!t.call(e,r,e)!==n});if(t.nodeType)return ue.grep(e,function(e){return e===t!==n});if("string"==typeof t){if(me.test(t))return ue.filter(t,e,n);t=ue.filter(t,e)}return ue.grep(e,function(e){return re.call(t,e)>-1!==n})}function u(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}function c(e){var t={};return ue.each(e.match(xe)||[],function(e,n){t[n]=!0}),t}function l(){K.removeEventListener("DOMContentLoaded",l),n.removeEventListener("load",l),ue.ready()}function f(){this.expando=ue.expando+f.uid++}function p(e,t,n){var r;if(void 0===n&&1===e.nodeType)if(r="data-"+t.replace(_e,"-$&").toLowerCase(),"string"==typeof(n=e.getAttribute(r))){try{n="true"===n||"false"!==n&&("null"===n?null:+n+""===n?+n:je.test(n)?ue.parseJSON(n):n)}catch(e){}Se.set(e,t,n)}else n=void 0;return n}function h(e,t,n,r){var o,i=1,s=20,a=r?function(){return r.cur()}:function(){return ue.css(e,t,"")},u=a(),c=n&&n[3]||(ue.cssNumber[t]?"":"px"),l=(ue.cssNumber[t]||"px"!==c&&+u)&&Ne.exec(ue.css(e,t));if(l&&l[3]!==c){c=c||l[3],n=n||[],l=+u||1;do{i=i||".5",l/=i,ue.style(e,t,l+c)}while(i!==(i=a()/u)&&1!==i&&--s)}return n&&(l=+l||+u||0,o=n[1]?l+(n[1]+1)*n[2]:+n[2],r&&(r.unit=c,r.start=l,r.end=o)),o}function d(e,t){var n=void 0!==e.getElementsByTagName?e.getElementsByTagName(t||"*"):void 0!==e.querySelectorAll?e.querySelectorAll(t||"*"):[];return void 0===t||t&&ue.nodeName(e,t)?ue.merge([e],n):n}function m(e,t){for(var n=0,r=e.length;n<r;n++)Ee.set(e[n],"globalEval",!t||Ee.get(t[n],"globalEval"))}function v(e,t,n,r,o){for(var i,s,a,u,c,l,f=t.createDocumentFragment(),p=[],h=0,v=e.length;h<v;h++)if((i=e[h])||0===i)if("object"===ue.type(i))ue.merge(p,i.nodeType?[i]:i);else if(Re.test(i)){for(s=s||f.appendChild(t.createElement("div")),a=(De.exec(i)||["",""])[1].toLowerCase(),u=Pe[a]||Pe._default,s.innerHTML=u[1]+ue.htmlPrefilter(i)+u[2],l=u[0];l--;)s=s.lastChild;ue.merge(p,s.childNodes),s=f.firstChild,s.textContent=""}else p.push(t.createTextNode(i));for(f.textContent="",h=0;i=p[h++];)if(r&&ue.inArray(i,r)>-1)o&&o.push(i);else if(c=ue.contains(i.ownerDocument,i),s=d(f.appendChild(i),"script"),c&&m(s),n)for(l=0;i=s[l++];)qe.test(i.type||"")&&n.push(i);return f}function g(){return!0}function y(){return!1}function b(){try{return K.activeElement}catch(e){}}function x(e,t,n,r,o,i){var s,a;if("object"==typeof t){"string"!=typeof n&&(r=r||n,n=void 0);for(a in t)x(e,a,n,r,t[a],i);return e}if(null==r&&null==o?(o=n,r=n=void 0):null==o&&("string"==typeof n?(o=r,r=void 0):(o=r,r=n,n=void 0)),!1===o)o=y;else if(!o)return e;return 1===i&&(s=o,o=function(e){return ue().off(e),s.apply(this,arguments)},o.guid=s.guid||(s.guid=ue.guid++)),e.each(function(){ue.event.add(this,t,o,r,n)})}function w(e,t){return ue.nodeName(e,"table")&&ue.nodeName(11!==t.nodeType?t:t.firstChild,"tr")?e.getElementsByTagName("tbody")[0]||e.appendChild(e.ownerDocument.createElement("tbody")):e}function T(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function C(e){var t=Be.exec(e.type);return t?e.type=t[1]:e.removeAttribute("type"),e}function E(e,t){var n,r,o,i,s,a,u,c;if(1===t.nodeType){if(Ee.hasData(e)&&(i=Ee.access(e),s=Ee.set(t,i),c=i.events)){delete s.handle,s.events={};for(o in c)for(n=0,r=c[o].length;n<r;n++)ue.event.add(t,o,c[o][n])}Se.hasData(e)&&(a=Se.access(e),u=ue.extend({},a),Se.set(t,u))}}function S(e,t){var n=t.nodeName.toLowerCase();"input"===n&&Le.test(e.type)?t.checked=e.checked:"input"!==n&&"textarea"!==n||(t.defaultValue=e.defaultValue)}function j(e,t,n,r){t=te.apply([],t);var o,i,s,a,u,c,l=0,f=e.length,p=f-1,h=t[0],m=ue.isFunction(h);if(m||f>1&&"string"==typeof h&&!ae.checkClone&&We.test(h))return e.each(function(o){var i=e.eq(o);m&&(t[0]=h.call(this,o,i.html())),j(i,t,n,r)});if(f&&(o=v(t,e[0].ownerDocument,!1,e,r),i=o.firstChild,1===o.childNodes.length&&(o=i),i||r)){for(s=ue.map(d(o,"script"),T),a=s.length;l<f;l++)u=o,l!==p&&(u=ue.clone(u,!0,!0),a&&ue.merge(s,d(u,"script"))),n.call(e[l],u,l);if(a)for(c=s[s.length-1].ownerDocument,ue.map(s,C),l=0;l<a;l++)u=s[l],qe.test(u.type||"")&&!Ee.access(u,"globalEval")&&ue.contains(c,u)&&(u.src?ue._evalUrl&&ue._evalUrl(u.src):ue.globalEval(u.textContent.replace(Ue,"")))}return e}function _(e,t,n){for(var r,o=t?ue.filter(t,e):e,i=0;null!=(r=o[i]);i++)n||1!==r.nodeType||ue.cleanData(d(r)),r.parentNode&&(n&&ue.contains(r.ownerDocument,r)&&m(d(r,"script")),r.parentNode.removeChild(r));return e}function k(e,t){var n=ue(t.createElement(e)).appendTo(t.body),r=ue.css(n[0],"display");return n.detach(),r}function N(e){var t=K,n=ze[e];return n||(n=k(e,t),"none"!==n&&n||($e=($e||ue("<iframe frameborder='0' width='0' height='0'/>")).appendTo(t.documentElement),t=$e[0].contentDocument,t.write(),t.close(),n=k(e,t),$e.detach()),ze[e]=n),n}function A(e,t,n){var r,o,i,s,a=e.style;return n=n||Ge(e),s=n?n.getPropertyValue(t)||n[t]:void 0,""!==s&&void 0!==s||ue.contains(e.ownerDocument,e)||(s=ue.style(e,t)),n&&!ae.pixelMarginRight()&&Je.test(s)&&Xe.test(t)&&(r=a.width,o=a.minWidth,i=a.maxWidth,a.minWidth=a.maxWidth=a.width=s,s=n.width,a.width=r,a.minWidth=o,a.maxWidth=i),void 0!==s?s+"":s}function O(e,t){return{get:function(){return e()?void delete this.get:(this.get=t).apply(this,arguments)}}}function L(e){if(e in tt)return e;for(var t=e[0].toUpperCase()+e.slice(1),n=et.length;n--;)if((e=et[n]+t)in tt)return e}function D(e,t,n){var r=Ne.exec(t);return r?Math.max(0,r[2]-(n||0))+(r[3]||"px"):t}function q(e,t,n,r,o){for(var i=n===(r?"border":"content")?4:"width"===t?1:0,s=0;i<4;i+=2)"margin"===n&&(s+=ue.css(e,n+Ae[i],!0,o)),r?("content"===n&&(s-=ue.css(e,"padding"+Ae[i],!0,o)),"margin"!==n&&(s-=ue.css(e,"border"+Ae[i]+"Width",!0,o))):(s+=ue.css(e,"padding"+Ae[i],!0,o),"padding"!==n&&(s+=ue.css(e,"border"+Ae[i]+"Width",!0,o)));return s}function P(e,t,n){var r=!0,o="width"===t?e.offsetWidth:e.offsetHeight,i=Ge(e),s="border-box"===ue.css(e,"boxSizing",!1,i);if(o<=0||null==o){if(o=A(e,t,i),(o<0||null==o)&&(o=e.style[t]),Je.test(o))return o;r=s&&(ae.boxSizingReliable()||o===e.style[t]),o=parseFloat(o)||0}return o+q(e,t,n||(s?"border":"content"),r,i)+"px"}function R(e,t){for(var n,r,o,i=[],s=0,a=e.length;s<a;s++)r=e[s],r.style&&(i[s]=Ee.get(r,"olddisplay"),n=r.style.display,t?(i[s]||"none"!==n||(r.style.display=""),""===r.style.display&&Oe(r)&&(i[s]=Ee.access(r,"olddisplay",N(r.nodeName)))):(o=Oe(r),"none"===n&&o||Ee.set(r,"olddisplay",o?n:ue.css(r,"display"))));for(s=0;s<a;s++)r=e[s],r.style&&(t&&"none"!==r.style.display&&""!==r.style.display||(r.style.display=t?i[s]||"":"none"));return e}function I(e,t,n,r,o){return new I.prototype.init(e,t,n,r,o)}function M(){return n.setTimeout(function(){nt=void 0}),nt=ue.now()}function H(e,t){var n,r=0,o={height:e};for(t=t?1:0;r<4;r+=2-t)n=Ae[r],o["margin"+n]=o["padding"+n]=e;return t&&(o.opacity=o.width=e),o}function F(e,t,n){for(var r,o=(U.tweeners[t]||[]).concat(U.tweeners["*"]),i=0,s=o.length;i<s;i++)if(r=o[i].call(n,t,e))return r}function W(e,t,n){var r,o,i,s,a,u,c,l=this,f={},p=e.style,h=e.nodeType&&Oe(e),d=Ee.get(e,"fxshow");n.queue||(a=ue._queueHooks(e,"fx"),null==a.unqueued&&(a.unqueued=0,u=a.empty.fire,a.empty.fire=function(){a.unqueued||u()}),a.unqueued++,l.always(function(){l.always(function(){a.unqueued--,ue.queue(e,"fx").length||a.empty.fire()})})),1===e.nodeType&&("height"in t||"width"in t)&&(n.overflow=[p.overflow,p.overflowX,p.overflowY],c=ue.css(e,"display"),"inline"===("none"===c?Ee.get(e,"olddisplay")||N(e.nodeName):c)&&"none"===ue.css(e,"float")&&(p.display="inline-block")),n.overflow&&(p.overflow="hidden",l.always(function(){p.overflow=n.overflow[0],p.overflowX=n.overflow[1],p.overflowY=n.overflow[2]}));for(r in t)if(o=t[r],ot.exec(o)){if(delete t[r],i=i||"toggle"===o,o===(h?"hide":"show")){if("show"!==o||!d||void 0===d[r])continue;h=!0}f[r]=d&&d[r]||ue.style(e,r)}else c=void 0;if(ue.isEmptyObject(f))"inline"===("none"===c?N(e.nodeName):c)&&(p.display=c);else{d?"hidden"in d&&(h=d.hidden):d=Ee.access(e,"fxshow",{}),i&&(d.hidden=!h),h?ue(e).show():l.done(function(){ue(e).hide()}),l.done(function(){var t;Ee.remove(e,"fxshow");for(t in f)ue.style(e,t,f[t])});for(r in f)s=F(h?d[r]:0,r,l),r in d||(d[r]=s.start,h&&(s.end=s.start,s.start="width"===r||"height"===r?1:0))}}function B(e,t){var n,r,o,i,s;for(n in e)if(r=ue.camelCase(n),o=t[r],i=e[n],ue.isArray(i)&&(o=i[1],i=e[n]=i[0]),n!==r&&(e[r]=i,delete e[n]),(s=ue.cssHooks[r])&&"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 U(e,t,n){var r,o,i=0,s=U.prefilters.length,a=ue.Deferred().always(function(){delete u.elem}),u=function(){if(o)return!1;for(var t=nt||M(),n=Math.max(0,c.startTime+c.duration-t),r=n/c.duration||0,i=1-r,s=0,u=c.tweens.length;s<u;s++)c.tweens[s].run(i);return a.notifyWith(e,[c,i,n]),i<1&&u?n:(a.resolveWith(e,[c]),!1)},c=a.promise({elem:e,props:ue.extend({},t),opts:ue.extend(!0,{specialEasing:{},easing:ue.easing._default},n),originalProperties:t,originalOptions:n,startTime:nt||M(),duration:n.duration,tweens:[],createTween:function(t,n){var r=ue.Tween(e,c.opts,t,n,c.opts.specialEasing[t]||c.opts.easing);return c.tweens.push(r),r},stop:function(t){var n=0,r=t?c.tweens.length:0;if(o)return this;for(o=!0;n<r;n++)c.tweens[n].run(1);return t?(a.notifyWith(e,[c,1,0]),a.resolveWith(e,[c,t])):a.rejectWith(e,[c,t]),this}}),l=c.props;for(B(l,c.opts.specialEasing);i<s;i++)if(r=U.prefilters[i].call(c,e,l,c.opts))return ue.isFunction(r.stop)&&(ue._queueHooks(c.elem,c.opts.queue).stop=ue.proxy(r.stop,r)),r;return ue.map(l,F,c),ue.isFunction(c.opts.start)&&c.opts.start.call(e,c),ue.fx.timer(ue.extend(u,{elem:e,anim:c,queue:c.opts.queue})),c.progress(c.opts.progress).done(c.opts.done,c.opts.complete).fail(c.opts.fail).always(c.opts.always)}function $(e){return e.getAttribute&&e.getAttribute("class")||""}function z(e){return function(t,n){"string"!=typeof t&&(n=t,t="*");var r,o=0,i=t.toLowerCase().match(xe)||[];if(ue.isFunction(n))for(;r=i[o++];)"+"===r[0]?(r=r.slice(1)||"*",(e[r]=e[r]||[]).unshift(n)):(e[r]=e[r]||[]).push(n)}}function X(e,t,n,r){function o(a){var u;return i[a]=!0,ue.each(e[a]||[],function(e,a){var c=a(t,n,r);return"string"!=typeof c||s||i[c]?s?!(u=c):void 0:(t.dataTypes.unshift(c),o(c),!1)}),u}var i={},s=e===bt;return o(t.dataTypes[0])||!i["*"]&&o("*")}function J(e,t){var n,r,o=ue.ajaxSettings.flatOptions||{};for(n in t)void 0!==t[n]&&((o[n]?e:r||(r={}))[n]=t[n]);return r&&ue.extend(!0,e,r),e}function G(e,t,n){for(var r,o,i,s,a=e.contents,u=e.dataTypes;"*"===u[0];)u.shift(),void 0===r&&(r=e.mimeType||t.getResponseHeader("Content-Type"));if(r)for(o in a)if(a[o]&&a[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}s||(s=o)}i=i||s}if(i)return i!==u[0]&&u.unshift(i),n[i]}function V(e,t,n,r){var o,i,s,a,u,c={},l=e.dataTypes.slice();if(l[1])for(s in e.converters)c[s.toLowerCase()]=e.converters[s];for(i=l.shift();i;)if(e.responseFields[i]&&(n[e.responseFields[i]]=t),!u&&r&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),u=i,i=l.shift())if("*"===i)i=u;else if("*"!==u&&u!==i){if(!(s=c[u+" "+i]||c["* "+i]))for(o in c)if(a=o.split(" "),a[1]===i&&(s=c[u+" "+a[0]]||c["* "+a[0]])){!0===s?s=c[o]:!0!==c[o]&&(i=a[0],l.unshift(a[1]));break}if(!0!==s)if(s&&e.throws)t=s(t);else try{t=s(t)}catch(e){return{state:"parsererror",error:s?e:"No conversion from "+u+" to "+i}}}return{state:"success",data:t}}function Y(e,t,n,r){var o;if(ue.isArray(t))ue.each(t,function(t,o){n||Tt.test(e)?r(e,o):Y(e+"["+("object"==typeof o&&null!=o?t:"")+"]",o,n,r)});else if(n||"object"!==ue.type(t))r(e,t);else for(o in t)Y(e+"["+o+"]",t[o],n,r)}function Q(e){return ue.isWindow(e)?e:9===e.nodeType&&e.defaultView}var Z=[],K=n.document,ee=Z.slice,te=Z.concat,ne=Z.push,re=Z.indexOf,oe={},ie=oe.toString,se=oe.hasOwnProperty,ae={},ue=function(e,t){return new ue.fn.init(e,t)},ce=function(e,t){return t.toUpperCase()};ue.fn=ue.prototype={jquery:"2.2.4",constructor:ue,selector:"",length:0,toArray:function(){return ee.call(this)},get:function(e){return null!=e?e<0?this[e+this.length]:this[e]:ee.call(this)},pushStack:function(e){var t=ue.merge(this.constructor(),e);return t.prevObject=this,t.context=this.context,t},each:function(e){return ue.each(this,e)},map:function(e){return this.pushStack(ue.map(this,function(t,n){return e.call(t,n,t)}))},slice:function(){return this.pushStack(ee.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(n>=0&&n<t?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:ne,sort:Z.sort,splice:Z.splice},ue.extend=ue.fn.extend=function(){var e,t,n,r,o,i,s=arguments[0]||{},a=1,u=arguments.length,c=!1;for("boolean"==typeof s&&(c=s,s=arguments[a]||{},a++),"object"==typeof s||ue.isFunction(s)||(s={}),a===u&&(s=this,a--);a<u;a++)if(null!=(e=arguments[a]))for(t in e)n=s[t],r=e[t],s!==r&&(c&&r&&(ue.isPlainObject(r)||(o=ue.isArray(r)))?(o?(o=!1,i=n&&ue.isArray(n)?n:[]):i=n&&ue.isPlainObject(n)?n:{},s[t]=ue.extend(c,i,r)):void 0!==r&&(s[t]=r));return s},ue.extend({expando:"jQuery"+("2.2.4"+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isFunction:function(e){return"function"===ue.type(e)},isArray:Array.isArray,isWindow:function(e){return null!=e&&e===e.window},isNumeric:function(e){var t=e&&e.toString();return!ue.isArray(e)&&t-parseFloat(t)+1>=0},isPlainObject:function(e){var t;if("object"!==ue.type(e)||e.nodeType||ue.isWindow(e))return!1;if(e.constructor&&!se.call(e,"constructor")&&!se.call(e.constructor.prototype||{},"isPrototypeOf"))return!1;for(t in e);return void 0===t||se.call(e,t)},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},type:function(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?oe[ie.call(e)]||"object":typeof e},globalEval:function(e){var t,n=eval;(e=ue.trim(e))&&(1===e.indexOf("use strict")?(t=K.createElement("script"),t.text=e,K.head.appendChild(t).parentNode.removeChild(t)):n(e))},camelCase:function(e){return e.replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,ce)},nodeName:function(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()},each:function(e,t){var n,r=0;if(s(e))for(n=e.length;r<n&&!1!==t.call(e[r],r,e[r]);r++);else for(r in e)if(!1===t.call(e[r],r,e[r]))break;return e},trim:function(e){return null==e?"":(e+"").replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")},makeArray:function(e,t){var n=t||[];return null!=e&&(s(Object(e))?ue.merge(n,"string"==typeof e?[e]:e):ne.call(n,e)),n},inArray:function(e,t,n){return null==t?-1:re.call(t,e,n)},merge:function(e,t){for(var n=+t.length,r=0,o=e.length;r<n;r++)e[o++]=t[r];return e.length=o,e},grep:function(e,t,n){for(var r=[],o=0,i=e.length,s=!n;o<i;o++)!t(e[o],o)!==s&&r.push(e[o]);return r},map:function(e,t,n){var r,o,i=0,a=[];if(s(e))for(r=e.length;i<r;i++)null!=(o=t(e[i],i,n))&&a.push(o);else for(i in e)null!=(o=t(e[i],i,n))&&a.push(o);return te.apply([],a)},guid:1,proxy:function(e,t){var n,r,o;if("string"==typeof t&&(n=e[t],t=e,e=n),ue.isFunction(e))return r=ee.call(arguments,2),o=function(){return e.apply(t||this,r.concat(ee.call(arguments)))},o.guid=e.guid=e.guid||ue.guid++,o},now:Date.now,support:ae}),"function"==typeof Symbol&&(ue.fn[Symbol.iterator]=Z[Symbol.iterator]),ue.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(e,t){oe["[object "+t+"]"]=t.toLowerCase()});var le=/*!
* Sizzle CSS Selector Engine v2.2.1
* http://sizzlejs.com/
*
* Copyright jQuery Foundation and other contributors
* Released under the MIT license
* http://jquery.org/license
*
* Date: 2015-10-17
*/
function(e){function t(e,t,n,r){var o,i,s,a,c,f,p,h,d=t&&t.ownerDocument,m=t?t.nodeType:9;if(n=n||[],"string"!=typeof e||!e||1!==m&&9!==m&&11!==m)return n;if(!r&&((t?t.ownerDocument||t:M)!==A&&N(t),t=t||A,L)){if(11!==m&&(f=me.exec(e)))if(o=f[1]){if(9===m){if(!(s=t.getElementById(o)))return n;if(s.id===o)return n.push(s),n}else if(d&&(s=d.getElementById(o))&&R(t,s)&&s.id===o)return n.push(s),n}else{if(f[2])return Y.apply(n,t.getElementsByTagName(e)),n;if((o=f[3])&&b.getElementsByClassName&&t.getElementsByClassName)return Y.apply(n,t.getElementsByClassName(o)),n}if(b.qsa&&!U[e+" "]&&(!D||!D.test(e))){if(1!==m)d=t,h=e;else if("object"!==t.nodeName.toLowerCase()){for((a=t.getAttribute("id"))?a=a.replace(ge,"\\$&"):t.setAttribute("id",a=I),p=C(e),i=p.length,c=le.test(a)?"#"+a:"[id='"+a+"']";i--;)p[i]=c+" "+l(p[i]);h=p.join(","),d=ve.test(e)&&u(t.parentNode)||t}if(h)try{return Y.apply(n,d.querySelectorAll(h)),n}catch(e){}finally{a===I&&t.removeAttribute("id")}}}return S(e.replace(ie,"$1"),t,n,r)}function n(){function e(n,r){return t.push(n+" ")>x.cacheLength&&delete e[t.shift()],e[n+" "]=r}var t=[];return e}function r(e){return e[I]=!0,e}function o(e){var t=A.createElement("div");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function i(e,t){for(var n=e.split("|"),r=n.length;r--;)x.attrHandle[n[r]]=t}function s(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&(~t.sourceIndex||z)-(~e.sourceIndex||z);if(r)return r;if(n)for(;n=n.nextSibling;)if(n===t)return-1;return e?1:-1}function a(e){return r(function(t){return t=+t,r(function(n,r){for(var o,i=e([],n.length,t),s=i.length;s--;)n[o=i[s]]&&(n[o]=!(r[o]=n[o]))})})}function u(e){return e&&void 0!==e.getElementsByTagName&&e}function c(){}function l(e){for(var t=0,n=e.length,r="";t<n;t++)r+=e[t].value;return r}function f(e,t,n){var r=t.dir,o=n&&"parentNode"===r,i=F++;return t.first?function(t,n,i){for(;t=t[r];)if(1===t.nodeType||o)return e(t,n,i)}:function(t,n,s){var a,u,c,l=[H,i];if(s){for(;t=t[r];)if((1===t.nodeType||o)&&e(t,n,s))return!0}else for(;t=t[r];)if(1===t.nodeType||o){if(c=t[I]||(t[I]={}),u=c[t.uniqueID]||(c[t.uniqueID]={}),(a=u[r])&&a[0]===H&&a[1]===i)return l[2]=a[2];if(u[r]=l,l[2]=e(t,n,s))return!0}}}function p(e){return e.length>1?function(t,n,r){for(var o=e.length;o--;)if(!e[o](t,n,r))return!1;return!0}:e[0]}function h(e,n,r){for(var o=0,i=n.length;o<i;o++)t(e,n[o],r);return r}function d(e,t,n,r,o){for(var i,s=[],a=0,u=e.length,c=null!=t;a<u;a++)(i=e[a])&&(n&&!n(i,r,o)||(s.push(i),c&&t.push(a)));return s}function m(e,t,n,o,i,s){return o&&!o[I]&&(o=m(o)),i&&!i[I]&&(i=m(i,s)),r(function(r,s,a,u){var c,l,f,p=[],m=[],v=s.length,g=r||h(t||"*",a.nodeType?[a]:a,[]),y=!e||!r&&t?g:d(g,p,e,a,u),b=n?i||(r?e:v||o)?[]:s:y;if(n&&n(y,b,a,u),o)for(c=d(b,m),o(c,[],a,u),l=c.length;l--;)(f=c[l])&&(b[m[l]]=!(y[m[l]]=f));if(r){if(i||e){if(i){for(c=[],l=b.length;l--;)(f=b[l])&&c.push(y[l]=f);i(null,b=[],c,u)}for(l=b.length;l--;)(f=b[l])&&(c=i?Z(r,f):p[l])>-1&&(r[c]=!(s[c]=f))}}else b=d(b===s?b.splice(v,b.length):b),i?i(null,s,b,u):Y.apply(s,b)})}function v(e){for(var t,n,r,o=e.length,i=x.relative[e[0].type],s=i||x.relative[" "],a=i?1:0,u=f(function(e){return e===t},s,!0),c=f(function(e){return Z(t,e)>-1},s,!0),h=[function(e,n,r){var o=!i&&(r||n!==j)||((t=n).nodeType?u(e,n,r):c(e,n,r));return t=null,o}];a<o;a++)if(n=x.relative[e[a].type])h=[f(p(h),n)];else{if(n=x.filter[e[a].type].apply(null,e[a].matches),n[I]){for(r=++a;r<o&&!x.relative[e[r].type];r++);return m(a>1&&p(h),a>1&&l(e.slice(0,a-1).concat({value:" "===e[a-2].type?"*":""})).replace(ie,"$1"),n,a<r&&v(e.slice(a,r)),r<o&&v(e=e.slice(r)),r<o&&l(e))}h.push(n)}return p(h)}function g(e,n){var o=n.length>0,i=e.length>0,s=function(r,s,a,u,c){var l,f,p,h=0,m="0",v=r&&[],g=[],y=j,b=r||i&&x.find.TAG("*",c),w=H+=null==y?1:Math.random()||.1,T=b.length;for(c&&(j=s===A||s||c);m!==T&&null!=(l=b[m]);m++){if(i&&l){for(f=0,s||l.ownerDocument===A||(N(l),a=!L);p=e[f++];)if(p(l,s||A,a)){u.push(l);break}c&&(H=w)}o&&((l=!p&&l)&&h--,r&&v.push(l))}if(h+=m,o&&m!==h){for(f=0;p=n[f++];)p(v,g,s,a);if(r){if(h>0)for(;m--;)v[m]||g[m]||(g[m]=G.call(u));g=d(g)}Y.apply(u,g),c&&!r&&g.length>0&&h+n.length>1&&t.uniqueSort(u)}return c&&(H=w,j=y),v};return o?r(s):s}var y,b,x,w,T,C,E,S,j,_,k,N,A,O,L,D,q,P,R,I="sizzle"+1*new Date,M=e.document,H=0,F=0,W=n(),B=n(),U=n(),$=function(e,t){return e===t&&(k=!0),0},z=1<<31,X={}.hasOwnProperty,J=[],G=J.pop,V=J.push,Y=J.push,Q=J.slice,Z=function(e,t){for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1},K="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",ee="[\\x20\\t\\r\\n\\f]",te="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",ne="\\["+ee+"*("+te+")(?:"+ee+"*([*^$|!~]?=)"+ee+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+te+"))|)"+ee+"*\\]",re=":("+te+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+ne+")*)|.*)\\)|)",oe=new RegExp(ee+"+","g"),ie=new RegExp("^"+ee+"+|((?:^|[^\\\\])(?:\\\\.)*)"+ee+"+$","g"),se=new RegExp("^"+ee+"*,"+ee+"*"),ae=new RegExp("^"+ee+"*([>+~]|"+ee+")"+ee+"*"),ue=new RegExp("="+ee+"*([^\\]'\"]*?)"+ee+"*\\]","g"),ce=new RegExp(re),le=new RegExp("^"+te+"$"),fe={ID:new RegExp("^#("+te+")"),CLASS:new RegExp("^\\.("+te+")"),TAG:new RegExp("^("+te+"|[*])"),ATTR:new RegExp("^"+ne),PSEUDO:new RegExp("^"+re),