webpackJsonp([2],{0:function(t,e,n){"use strict";t.exports=n(291)},11:function(t,e,n){var i,r;/*!
 * jQuery JavaScript Library v2.1.4
 * http://jquery.com/
 *
 * Includes Sizzle.js
 * http://sizzlejs.com/
 *
 * Copyright 2005, 2014 jQuery Foundation, Inc. and other contributors
 * Released under the MIT license
 * http://jquery.org/license
 *
 * Date: 2015-04-28T16:01Z
 */
!function(e,n){"object"==typeof t&&"object"==typeof t.exports?t.exports=e.document?n(e,!0):function(t){if(!t.document)throw new Error("jQuery requires a window with a document");return n(t)}:n(e)}("undefined"!=typeof window?window:this,function(n,o){function a(t){var e="length"in t&&t.length,n=nt.type(t);return"function"!==n&&!nt.isWindow(t)&&(!(1!==t.nodeType||!e)||("array"===n||0===e||"number"==typeof e&&e>0&&e-1 in t))}function s(t,e,n){if(nt.isFunction(e))return nt.grep(t,function(t,i){
return!!e.call(t,i,t)!==n});if(e.nodeType)return nt.grep(t,function(t){return t===e!==n});if("string"==typeof e){if(lt.test(e))return nt.filter(e,t,n);e=nt.filter(e,t)}return nt.grep(t,function(t){return X.call(e,t)>=0!==n})}function u(t,e){for(;(t=t[e])&&1!==t.nodeType;);return t}function c(t){var e=gt[t]={};return nt.each(t.match(mt)||[],function(t,n){e[n]=!0}),e}function l(){et.removeEventListener("DOMContentLoaded",l,!1),n.removeEventListener("load",l,!1),nt.ready()}function h(){
Object.defineProperty(this.cache={},0,{get:function(){return{}}}),this.expando=nt.expando+h.uid++}function f(t,e,n){var i;if(void 0===n&&1===t.nodeType)if(i="data-"+e.replace(Et,"-$1").toLowerCase(),"string"==typeof(n=t.getAttribute(i))){try{n="true"===n||"false"!==n&&("null"===n?null:+n+""===n?+n:_t.test(n)?nt.parseJSON(n):n)}catch(t){}wt.set(t,e,n)}else n=void 0;return n}function d(){return!0}function p(){return!1}function m(){try{return et.activeElement}catch(t){}}function g(t,e){
return nt.nodeName(t,"table")&&nt.nodeName(11!==e.nodeType?e:e.firstChild,"tr")?t.getElementsByTagName("tbody")[0]||t.appendChild(t.ownerDocument.createElement("tbody")):t}function v(t){return t.type=(null!==t.getAttribute("type"))+"/"+t.type,t}function y(t){var e=jt.exec(t.type);return e?t.type=e[1]:t.removeAttribute("type"),t}function b(t,e){for(var n=0,i=t.length;n<i;n++)bt.set(t[n],"globalEval",!e||bt.get(e[n],"globalEval"))}function w(t,e){var n,i,r,o,a,s,u,c;if(1===e.nodeType){
if(bt.hasData(t)&&(o=bt.access(t),a=bt.set(e,o),c=o.events)){delete a.handle,a.events={};for(r in c)for(n=0,i=c[r].length;n<i;n++)nt.event.add(e,r,c[r][n])}wt.hasData(t)&&(s=wt.access(t),u=nt.extend({},s),wt.set(e,u))}}function _(t,e){var n=t.getElementsByTagName?t.getElementsByTagName(e||"*"):t.querySelectorAll?t.querySelectorAll(e||"*"):[];return void 0===e||e&&nt.nodeName(t,e)?nt.merge([t],n):n}function E(t,e){var n=e.nodeName.toLowerCase()
;"input"===n&&St.test(t.type)?e.checked=t.checked:"input"!==n&&"textarea"!==n||(e.defaultValue=t.defaultValue)}function x(t,e){var i,r=nt(e.createElement(t)).appendTo(e.body),o=n.getDefaultComputedStyle&&(i=n.getDefaultComputedStyle(r[0]))?i.display:nt.css(r[0],"display");return r.detach(),o}function T(t){var e=et,n=Ht[t];return n||(n=x(t,e),"none"!==n&&n||(Bt=(Bt||nt("<iframe frameborder='0' width='0' height='0'/>")).appendTo(e.documentElement),e=Bt[0].contentDocument,e.write(),e.close(),
n=x(t,e),Bt.detach()),Ht[t]=n),n}function C(t,e,n){var i,r,o,a,s=t.style;return n=n||Wt(t),n&&(a=n.getPropertyValue(e)||n[e]),n&&(""!==a||nt.contains(t.ownerDocument,t)||(a=nt.style(t,e)),qt.test(a)&&Vt.test(e)&&(i=s.width,r=s.minWidth,o=s.maxWidth,s.minWidth=s.maxWidth=s.width=a,a=n.width,s.width=i,s.minWidth=r,s.maxWidth=o)),void 0!==a?a+"":a}function S(t,e){return{get:function(){return t()?void delete this.get:(this.get=e).apply(this,arguments)}}}function k(t,e){if(e in t)return e
;for(var n=e[0].toUpperCase()+e.slice(1),i=e,r=Xt.length;r--;)if((e=Xt[r]+n)in t)return e;return i}function M(t,e,n){var i=Yt.exec(e);return i?Math.max(0,i[1]-(n||0))+(i[2]||"px"):e}function P(t,e,n,i,r){for(var o=n===(i?"border":"content")?4:"width"===e?1:0,a=0;o<4;o+=2)"margin"===n&&(a+=nt.css(t,n+Tt[o],!0,r)),i?("content"===n&&(a-=nt.css(t,"padding"+Tt[o],!0,r)),"margin"!==n&&(a-=nt.css(t,"border"+Tt[o]+"Width",!0,r))):(a+=nt.css(t,"padding"+Tt[o],!0,r),
"padding"!==n&&(a+=nt.css(t,"border"+Tt[o]+"Width",!0,r)));return a}function N(t,e,n){var i=!0,r="width"===e?t.offsetWidth:t.offsetHeight,o=Wt(t),a="border-box"===nt.css(t,"boxSizing",!1,o);if(r<=0||null==r){if(r=C(t,e,o),(r<0||null==r)&&(r=t.style[e]),qt.test(r))return r;i=a&&(tt.boxSizingReliable()||r===t.style[e]),r=parseFloat(r)||0}return r+P(t,e,n||(a?"border":"content"),i,o)+"px"}function I(t,e){for(var n,i,r,o=[],a=0,s=t.length;a<s;a++)i=t[a],i.style&&(o[a]=bt.get(i,"olddisplay"),
n=i.style.display,e?(o[a]||"none"!==n||(i.style.display=""),""===i.style.display&&Ct(i)&&(o[a]=bt.access(i,"olddisplay",T(i.nodeName)))):(r=Ct(i),"none"===n&&r||bt.set(i,"olddisplay",r?n:nt.css(i,"display"))));for(a=0;a<s;a++)i=t[a],i.style&&(e&&"none"!==i.style.display&&""!==i.style.display||(i.style.display=e?o[a]||"":"none"));return t}function A(t,e,n,i,r){return new A.prototype.init(t,e,n,i,r)}function D(){return setTimeout(function(){Jt=void 0}),Jt=nt.now()}function O(t,e){var n,i=0,r={
height:t};for(e=e?1:0;i<4;i+=2-e)n=Tt[i],r["margin"+n]=r["padding"+n]=t;return e&&(r.opacity=r.width=t),r}function R(t,e,n){for(var i,r=(ie[e]||[]).concat(ie["*"]),o=0,a=r.length;o<a;o++)if(i=r[o].call(n,e,t))return i}function L(t,e,n){var i,r,o,a,s,u,c,l=this,h={},f=t.style,d=t.nodeType&&Ct(t),p=bt.get(t,"fxshow");n.queue||(s=nt._queueHooks(t,"fx"),null==s.unqueued&&(s.unqueued=0,u=s.empty.fire,s.empty.fire=function(){s.unqueued||u()}),s.unqueued++,l.always(function(){l.always(function(){
s.unqueued--,nt.queue(t,"fx").length||s.empty.fire()})})),1===t.nodeType&&("height"in e||"width"in e)&&(n.overflow=[f.overflow,f.overflowX,f.overflowY],c=nt.css(t,"display"),"inline"===("none"===c?bt.get(t,"olddisplay")||T(t.nodeName):c)&&"none"===nt.css(t,"float")&&(f.display="inline-block")),n.overflow&&(f.overflow="hidden",l.always(function(){f.overflow=n.overflow[0],f.overflowX=n.overflow[1],f.overflowY=n.overflow[2]}));for(i in e)if(r=e[i],Zt.exec(r)){if(delete e[i],o=o||"toggle"===r,
r===(d?"hide":"show")){if("show"!==r||!p||void 0===p[i])continue;d=!0}h[i]=p&&p[i]||nt.style(t,i)}else c=void 0;if(nt.isEmptyObject(h))"inline"===("none"===c?T(t.nodeName):c)&&(f.display=c);else{p?"hidden"in p&&(d=p.hidden):p=bt.access(t,"fxshow",{}),o&&(p.hidden=!d),d?nt(t).show():l.done(function(){nt(t).hide()}),l.done(function(){var e;bt.remove(t,"fxshow");for(e in h)nt.style(t,e,h[e])});for(i in h)a=R(d?p[i]:0,i,l),i in p||(p[i]=a.start,d&&(a.end=a.start,
a.start="width"===i||"height"===i?1:0))}}function j(t,e){var n,i,r,o,a;for(n in t)if(i=nt.camelCase(n),r=e[i],o=t[n],nt.isArray(o)&&(r=o[1],o=t[n]=o[0]),n!==i&&(t[i]=o,delete t[n]),(a=nt.cssHooks[i])&&"expand"in a){o=a.expand(o),delete t[i];for(n in o)n in t||(t[n]=o[n],e[n]=r)}else e[i]=r}function U(t,e,n){var i,r,o=0,a=ne.length,s=nt.Deferred().always(function(){delete u.elem}),u=function(){if(r)return!1
;for(var e=Jt||D(),n=Math.max(0,c.startTime+c.duration-e),i=n/c.duration||0,o=1-i,a=0,u=c.tweens.length;a<u;a++)c.tweens[a].run(o);return s.notifyWith(t,[c,o,n]),o<1&&u?n:(s.resolveWith(t,[c]),!1)},c=s.promise({elem:t,props:nt.extend({},e),opts:nt.extend(!0,{specialEasing:{}},n),originalProperties:e,originalOptions:n,startTime:Jt||D(),duration:n.duration,tweens:[],createTween:function(e,n){var i=nt.Tween(t,c.opts,e,n,c.opts.specialEasing[e]||c.opts.easing);return c.tweens.push(i),i},
stop:function(e){var n=0,i=e?c.tweens.length:0;if(r)return this;for(r=!0;n<i;n++)c.tweens[n].run(1);return e?s.resolveWith(t,[c,e]):s.rejectWith(t,[c,e]),this}}),l=c.props;for(j(l,c.opts.specialEasing);o<a;o++)if(i=ne[o].call(c,t,l,c.opts))return i;return nt.map(l,R,c),nt.isFunction(c.opts.start)&&c.opts.start.call(t,c),nt.fx.timer(nt.extend(u,{elem:t,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 F(t){
return function(e,n){"string"!=typeof e&&(n=e,e="*");var i,r=0,o=e.toLowerCase().match(mt)||[];if(nt.isFunction(n))for(;i=o[r++];)"+"===i[0]?(i=i.slice(1)||"*",(t[i]=t[i]||[]).unshift(n)):(t[i]=t[i]||[]).push(n)}}function B(t,e,n,i){function r(s){var u;return o[s]=!0,nt.each(t[s]||[],function(t,s){var c=s(e,n,i);return"string"!=typeof c||a||o[c]?a?!(u=c):void 0:(e.dataTypes.unshift(c),r(c),!1)}),u}var o={},a=t===be;return r(e.dataTypes[0])||!o["*"]&&r("*")}function H(t,e){
var n,i,r=nt.ajaxSettings.flatOptions||{};for(n in e)void 0!==e[n]&&((r[n]?t:i||(i={}))[n]=e[n]);return i&&nt.extend(!0,t,i),t}function V(t,e,n){for(var i,r,o,a,s=t.contents,u=t.dataTypes;"*"===u[0];)u.shift(),void 0===i&&(i=t.mimeType||e.getResponseHeader("Content-Type"));if(i)for(r in s)if(s[r]&&s[r].test(i)){u.unshift(r);break}if(u[0]in n)o=u[0];else{for(r in n){if(!u[0]||t.converters[r+" "+u[0]]){o=r;break}a||(a=r)}o=o||a}if(o)return o!==u[0]&&u.unshift(o),n[o]}function q(t,e,n,i){
var r,o,a,s,u,c={},l=t.dataTypes.slice();if(l[1])for(a in t.converters)c[a.toLowerCase()]=t.converters[a];for(o=l.shift();o;)if(t.responseFields[o]&&(n[t.responseFields[o]]=e),!u&&i&&t.dataFilter&&(e=t.dataFilter(e,t.dataType)),u=o,o=l.shift())if("*"===o)o=u;else if("*"!==u&&u!==o){if(!(a=c[u+" "+o]||c["* "+o]))for(r in c)if(s=r.split(" "),s[1]===o&&(a=c[u+" "+s[0]]||c["* "+s[0]])){!0===a?a=c[r]:!0!==c[r]&&(o=s[0],l.unshift(s[1]));break}if(!0!==a)if(a&&t.throws)e=a(e);else try{e=a(e)}catch(t){
return{state:"parsererror",error:a?t:"No conversion from "+u+" to "+o}}}return{state:"success",data:e}}function W(t,e,n,i){var r;if(nt.isArray(e))nt.each(e,function(e,r){n||Te.test(t)?i(t,r):W(t+"["+("object"==typeof r?e:"")+"]",r,n,i)});else if(n||"object"!==nt.type(e))i(t,e);else for(r in e)W(t+"["+r+"]",e[r],n,i)}function z(t){return nt.isWindow(t)?t:9===t.nodeType&&t.defaultView}
var Y=[],K=Y.slice,$=Y.concat,G=Y.push,X=Y.indexOf,J={},Q=J.toString,Z=J.hasOwnProperty,tt={},et=n.document,nt=function(t,e){return new nt.fn.init(t,e)},it=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,rt=/^-ms-/,ot=/-([\da-z])/gi,at=function(t,e){return e.toUpperCase()};nt.fn=nt.prototype={jquery:"2.1.4",constructor:nt,selector:"",length:0,toArray:function(){return K.call(this)},get:function(t){return null!=t?t<0?this[t+this.length]:this[t]:K.call(this)},pushStack:function(t){
var e=nt.merge(this.constructor(),t);return e.prevObject=this,e.context=this.context,e},each:function(t,e){return nt.each(this,t,e)},map:function(t){return this.pushStack(nt.map(this,function(e,n){return t.call(e,n,e)}))},slice:function(){return this.pushStack(K.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(t){var e=this.length,n=+t+(t<0?e:0);return this.pushStack(n>=0&&n<e?[this[n]]:[])},end:function(){
return this.prevObject||this.constructor(null)},push:G,sort:Y.sort,splice:Y.splice},nt.extend=nt.fn.extend=function(){var t,e,n,i,r,o,a=arguments[0]||{},s=1,u=arguments.length,c=!1;for("boolean"==typeof a&&(c=a,a=arguments[s]||{},s++),"object"==typeof a||nt.isFunction(a)||(a={}),s===u&&(a=this,s--);s<u;s++)if(null!=(t=arguments[s]))for(e in t)n=a[e],i=t[e],a!==i&&(c&&i&&(nt.isPlainObject(i)||(r=nt.isArray(i)))?(r?(r=!1,o=n&&nt.isArray(n)?n:[]):o=n&&nt.isPlainObject(n)?n:{},
a[e]=nt.extend(c,o,i)):void 0!==i&&(a[e]=i));return a},nt.extend({expando:"jQuery"+("2.1.4"+Math.random()).replace(/\D/g,""),isReady:!0,error:function(t){throw new Error(t)},noop:function(){},isFunction:function(t){return"function"===nt.type(t)},isArray:Array.isArray,isWindow:function(t){return null!=t&&t===t.window},isNumeric:function(t){return!nt.isArray(t)&&t-parseFloat(t)+1>=0},isPlainObject:function(t){
return"object"===nt.type(t)&&!t.nodeType&&!nt.isWindow(t)&&!(t.constructor&&!Z.call(t.constructor.prototype,"isPrototypeOf"))},isEmptyObject:function(t){var e;for(e in t)return!1;return!0},type:function(t){return null==t?t+"":"object"==typeof t||"function"==typeof t?J[Q.call(t)]||"object":typeof t},globalEval:function(t){var e,n=eval;(t=nt.trim(t))&&(1===t.indexOf("use strict")?(e=et.createElement("script"),e.text=t,et.head.appendChild(e).parentNode.removeChild(e)):n(t))},camelCase:function(t){
return t.replace(rt,"ms-").replace(ot,at)},nodeName:function(t,e){return t.nodeName&&t.nodeName.toLowerCase()===e.toLowerCase()},each:function(t,e,n){var i=0,r=t.length,o=a(t);if(n){if(o)for(;i<r&&!1!==e.apply(t[i],n);i++);else for(i in t)if(!1===e.apply(t[i],n))break}else if(o)for(;i<r&&!1!==e.call(t[i],i,t[i]);i++);else for(i in t)if(!1===e.call(t[i],i,t[i]))break;return t},trim:function(t){return null==t?"":(t+"").replace(it,"")},makeArray:function(t,e){var n=e||[]
;return null!=t&&(a(Object(t))?nt.merge(n,"string"==typeof t?[t]:t):G.call(n,t)),n},inArray:function(t,e,n){return null==e?-1:X.call(e,t,n)},merge:function(t,e){for(var n=+e.length,i=0,r=t.length;i<n;i++)t[r++]=e[i];return t.length=r,t},grep:function(t,e,n){for(var i=[],r=0,o=t.length,a=!n;r<o;r++)!e(t[r],r)!==a&&i.push(t[r]);return i},map:function(t,e,n){var i,r=0,o=t.length,s=a(t),u=[];if(s)for(;r<o;r++)null!=(i=e(t[r],r,n))&&u.push(i);else for(r in t)null!=(i=e(t[r],r,n))&&u.push(i)
;return $.apply([],u)},guid:1,proxy:function(t,e){var n,i,r;if("string"==typeof e&&(n=t[e],e=t,t=n),nt.isFunction(t))return i=K.call(arguments,2),r=function(){return t.apply(e||this,i.concat(K.call(arguments)))},r.guid=t.guid=t.guid||nt.guid++,r},now:Date.now,support:tt}),nt.each("Boolean Number String Function Array Date RegExp Object Error".split(" "),function(t,e){J["[object "+e+"]"]=e.toLowerCase()});var st=/*!
 * Sizzle CSS Selector Engine v2.2.0-pre
 * http://sizzlejs.com/
 *
 * Copyright 2008, 2014 jQuery Foundation, Inc. and other contributors
 * Released under the MIT license
 * http://jquery.org/license
 *
 * Date: 2014-12-16
 */
function(t){function e(t,e,n,i){var r,o,a,s,c,h,f,d,p,m;if((e?e.ownerDocument||e:U)!==N&&P(e),e=e||N,n=n||[],s=e.nodeType,"string"!=typeof t||!t||1!==s&&9!==s&&11!==s)return n;if(!i&&A){if(11!==s&&(r=gt.exec(t)))if(a=r[1]){if(9===s){if(!(o=e.getElementById(a))||!o.parentNode)return n;if(o.id===a)return n.push(o),n}else if(e.ownerDocument&&(o=e.ownerDocument.getElementById(a))&&L(e,o)&&o.id===a)return n.push(o),n}else{if(r[2])return X.apply(n,e.getElementsByTagName(t)),n
;if((a=r[3])&&b.getElementsByClassName)return X.apply(n,e.getElementsByClassName(a)),n}if(b.qsa&&(!D||!D.test(t))){if(d=f=j,p=e,m=1!==s&&t,1===s&&"object"!==e.nodeName.toLowerCase()){for(h=x(t),(f=e.getAttribute("id"))?d=f.replace(yt,"\\$&"):e.setAttribute("id",d),d="[id='"+d+"'] ",c=h.length;c--;)h[c]=d+l(h[c]);p=vt.test(t)&&u(e.parentNode)||e,m=h.join(",")}if(m)try{return X.apply(n,p.querySelectorAll(m)),n}catch(t){}finally{f||e.removeAttribute("id")}}}return C(t.replace(at,"$1"),e,n,i)}
function n(){function t(n,i){return e.push(n+" ")>w.cacheLength&&delete t[e.shift()],t[n+" "]=i}var e=[];return t}function i(t){return t[j]=!0,t}function r(t){var e=N.createElement("div");try{return!!t(e)}catch(t){return!1}finally{e.parentNode&&e.parentNode.removeChild(e),e=null}}function o(t,e){for(var n=t.split("|"),i=t.length;i--;)w.attrHandle[n[i]]=e}function a(t,e){var n=e&&t,i=n&&1===t.nodeType&&1===e.nodeType&&(~e.sourceIndex||z)-(~t.sourceIndex||z);if(i)return i
;if(n)for(;n=n.nextSibling;)if(n===e)return-1;return t?1:-1}function s(t){return i(function(e){return e=+e,i(function(n,i){for(var r,o=t([],n.length,e),a=o.length;a--;)n[r=o[a]]&&(n[r]=!(i[r]=n[r]))})})}function u(t){return t&&void 0!==t.getElementsByTagName&&t}function c(){}function l(t){for(var e=0,n=t.length,i="";e<n;e++)i+=t[e].value;return i}function h(t,e,n){var i=e.dir,r=n&&"parentNode"===i,o=B++;return e.first?function(e,n,o){for(;e=e[i];)if(1===e.nodeType||r)return t(e,n,o)
}:function(e,n,a){var s,u,c=[F,o];if(a){for(;e=e[i];)if((1===e.nodeType||r)&&t(e,n,a))return!0}else for(;e=e[i];)if(1===e.nodeType||r){if(u=e[j]||(e[j]={}),(s=u[i])&&s[0]===F&&s[1]===o)return c[2]=s[2];if(u[i]=c,c[2]=t(e,n,a))return!0}}}function f(t){return t.length>1?function(e,n,i){for(var r=t.length;r--;)if(!t[r](e,n,i))return!1;return!0}:t[0]}function d(t,n,i){for(var r=0,o=n.length;r<o;r++)e(t,n[r],i);return i}function p(t,e,n,i,r){
for(var o,a=[],s=0,u=t.length,c=null!=e;s<u;s++)(o=t[s])&&(n&&!n(o,i,r)||(a.push(o),c&&e.push(s)));return a}function m(t,e,n,r,o,a){return r&&!r[j]&&(r=m(r)),o&&!o[j]&&(o=m(o,a)),i(function(i,a,s,u){var c,l,h,f=[],m=[],g=a.length,v=i||d(e||"*",s.nodeType?[s]:s,[]),y=!t||!i&&e?v:p(v,f,t,s,u),b=n?o||(i?t:g||r)?[]:a:y;if(n&&n(y,b,s,u),r)for(c=p(b,m),r(c,[],s,u),l=c.length;l--;)(h=c[l])&&(b[m[l]]=!(y[m[l]]=h));if(i){if(o||t){if(o){for(c=[],l=b.length;l--;)(h=b[l])&&c.push(y[l]=h);o(null,b=[],c,u)}
for(l=b.length;l--;)(h=b[l])&&(c=o?Q(i,h):f[l])>-1&&(i[c]=!(a[c]=h))}}else b=p(b===a?b.splice(g,b.length):b),o?o(null,a,b,u):X.apply(a,b)})}function g(t){for(var e,n,i,r=t.length,o=w.relative[t[0].type],a=o||w.relative[" "],s=o?1:0,u=h(function(t){return t===e},a,!0),c=h(function(t){return Q(e,t)>-1},a,!0),d=[function(t,n,i){var r=!o&&(i||n!==S)||((e=n).nodeType?u(t,n,i):c(t,n,i));return e=null,r}];s<r;s++)if(n=w.relative[t[s].type])d=[h(f(d),n)];else{
if(n=w.filter[t[s].type].apply(null,t[s].matches),n[j]){for(i=++s;i<r&&!w.relative[t[i].type];i++);return m(s>1&&f(d),s>1&&l(t.slice(0,s-1).concat({value:" "===t[s-2].type?"*":""})).replace(at,"$1"),n,s<i&&g(t.slice(s,i)),i<r&&g(t=t.slice(i)),i<r&&l(t))}d.push(n)}return f(d)}function v(t,n){var r=n.length>0,o=t.length>0,a=function(i,a,s,u,c){var l,h,f,d=0,m="0",g=i&&[],v=[],y=S,b=i||o&&w.find.TAG("*",c),_=F+=null==y?1:Math.random()||.1,E=b.length;for(c&&(S=a!==N&&a);m!==E&&null!=(l=b[m]);m++){
if(o&&l){for(h=0;f=t[h++];)if(f(l,a,s)){u.push(l);break}c&&(F=_)}r&&((l=!f&&l)&&d--,i&&g.push(l))}if(d+=m,r&&m!==d){for(h=0;f=n[h++];)f(g,v,a,s);if(i){if(d>0)for(;m--;)g[m]||v[m]||(v[m]=$.call(u));v=p(v)}X.apply(u,v),c&&!i&&v.length>0&&d+n.length>1&&e.uniqueSort(u)}return c&&(F=_,S=y),g};return r?i(a):a}var y,b,w,_,E,x,T,C,S,k,M,P,N,I,A,D,O,R,L,j="sizzle"+1*new Date,U=t.document,F=0,B=0,H=n(),V=n(),q=n(),W=function(t,e){return t===e&&(M=!0),0
},z=1<<31,Y={}.hasOwnProperty,K=[],$=K.pop,G=K.push,X=K.push,J=K.slice,Q=function(t,e){for(var n=0,i=t.length;n<i;n++)if(t[n]===e)return n;return-1
},Z="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",tt="[\\x20\\t\\r\\n\\f]",et="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",nt=et.replace("w","w#"),it="\\["+tt+"*("+et+")(?:"+tt+"*([*^$|!~]?=)"+tt+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+nt+"))|)"+tt+"*\\]",rt=":("+et+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+it+")*)|.*)\\)|)",ot=new RegExp(tt+"+","g"),at=new RegExp("^"+tt+"+|((?:^|[^\\\\])(?:\\\\.)*)"+tt+"+$","g"),st=new RegExp("^"+tt+"*,"+tt+"*"),ut=new RegExp("^"+tt+"*([>+~]|"+tt+")"+tt+"*"),ct=new RegExp("="+tt+"*([^\\]'\"]*?)"+tt+"*\\]","g"),lt=new RegExp(rt),ht=new RegExp("^"+nt+"$"),ft={
ID:new RegExp("^#("+et+")"),CLASS:new RegExp("^\\.("+et+")"),TAG:new RegExp("^("+et.replace("w","w*")+")"),ATTR:new RegExp("^"+it),PSEUDO:new RegExp("^"+rt),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+tt+"*(even|odd|(([+-]|)(\\d*)n|)"+tt+"*(?:([+-]|)"+tt+"*(\\d+)|))"+tt+"*\\)|)","i"),bool:new RegExp("^(?:"+Z+")$","i"),needsContext:new RegExp("^"+tt+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+tt+"*((?:-\\d)?\\d*)"+tt+"*\\)|)(?=[^-]|$)","i")
},dt=/^(?:input|select|textarea|button)$/i,pt=/^h\d$/i,mt=/^[^{]+\{\s*\[native \w/,gt=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,vt=/[+~]/,yt=/'|\\/g,bt=new RegExp("\\\\([\\da-f]{1,6}"+tt+"?|("+tt+")|.)","ig"),wt=function(t,e,n){var i="0x"+e-65536;return i!==i||n?e:i<0?String.fromCharCode(i+65536):String.fromCharCode(i>>10|55296,1023&i|56320)},_t=function(){P()};try{X.apply(K=J.call(U.childNodes),U.childNodes),K[U.childNodes.length].nodeType}catch(t){X={apply:K.length?function(t,e){G.apply(t,J.call(e))
}:function(t,e){for(var n=t.length,i=0;t[n++]=e[i++];);t.length=n-1}}}b=e.support={},E=e.isXML=function(t){var e=t&&(t.ownerDocument||t).documentElement;return!!e&&"HTML"!==e.nodeName},P=e.setDocument=function(t){var e,n,i=t?t.ownerDocument||t:U;return i!==N&&9===i.nodeType&&i.documentElement?(N=i,I=i.documentElement,n=i.defaultView,n&&n!==n.top&&(n.addEventListener?n.addEventListener("unload",_t,!1):n.attachEvent&&n.attachEvent("onunload",_t)),A=!E(i),b.attributes=r(function(t){
return t.className="i",!t.getAttribute("className")}),b.getElementsByTagName=r(function(t){return t.appendChild(i.createComment("")),!t.getElementsByTagName("*").length}),b.getElementsByClassName=mt.test(i.getElementsByClassName),b.getById=r(function(t){return I.appendChild(t).id=j,!i.getElementsByName||!i.getElementsByName(j).length}),b.getById?(w.find.ID=function(t,e){if(void 0!==e.getElementById&&A){var n=e.getElementById(t);return n&&n.parentNode?[n]:[]}},w.filter.ID=function(t){
var e=t.replace(bt,wt);return function(t){return t.getAttribute("id")===e}}):(delete w.find.ID,w.filter.ID=function(t){var e=t.replace(bt,wt);return function(t){var n=void 0!==t.getAttributeNode&&t.getAttributeNode("id");return n&&n.value===e}}),w.find.TAG=b.getElementsByTagName?function(t,e){return void 0!==e.getElementsByTagName?e.getElementsByTagName(t):b.qsa?e.querySelectorAll(t):void 0}:function(t,e){var n,i=[],r=0,o=e.getElementsByTagName(t);if("*"===t){
for(;n=o[r++];)1===n.nodeType&&i.push(n);return i}return o},w.find.CLASS=b.getElementsByClassName&&function(t,e){if(A)return e.getElementsByClassName(t)},O=[],D=[],(b.qsa=mt.test(i.querySelectorAll))&&(r(function(t){I.appendChild(t).innerHTML="<a id='"+j+"'></a><select id='"+j+"-\f]' msallowcapture=''><option selected=''></option></select>",t.querySelectorAll("[msallowcapture^='']").length&&D.push("[*^$]="+tt+"*(?:''|\"\")"),
t.querySelectorAll("[selected]").length||D.push("\\["+tt+"*(?:value|"+Z+")"),t.querySelectorAll("[id~="+j+"-]").length||D.push("~="),t.querySelectorAll(":checked").length||D.push(":checked"),t.querySelectorAll("a#"+j+"+*").length||D.push(".#.+[+~]")}),r(function(t){var e=i.createElement("input");e.setAttribute("type","hidden"),t.appendChild(e).setAttribute("name","D"),t.querySelectorAll("[name=d]").length&&D.push("name"+tt+"*[*^$|!~]?="),
t.querySelectorAll(":enabled").length||D.push(":enabled",":disabled"),t.querySelectorAll("*,:x"),D.push(",.*:")})),(b.matchesSelector=mt.test(R=I.matches||I.webkitMatchesSelector||I.mozMatchesSelector||I.oMatchesSelector||I.msMatchesSelector))&&r(function(t){b.disconnectedMatch=R.call(t,"div"),R.call(t,"[s!='']:x"),O.push("!=",rt)}),D=D.length&&new RegExp(D.join("|")),O=O.length&&new RegExp(O.join("|")),e=mt.test(I.compareDocumentPosition),L=e||mt.test(I.contains)?function(t,e){
var n=9===t.nodeType?t.documentElement:t,i=e&&e.parentNode;return t===i||!(!i||1!==i.nodeType||!(n.contains?n.contains(i):t.compareDocumentPosition&&16&t.compareDocumentPosition(i)))}:function(t,e){if(e)for(;e=e.parentNode;)if(e===t)return!0;return!1},W=e?function(t,e){if(t===e)return M=!0,0;var n=!t.compareDocumentPosition-!e.compareDocumentPosition;return n||(n=(t.ownerDocument||t)===(e.ownerDocument||e)?t.compareDocumentPosition(e):1,
1&n||!b.sortDetached&&e.compareDocumentPosition(t)===n?t===i||t.ownerDocument===U&&L(U,t)?-1:e===i||e.ownerDocument===U&&L(U,e)?1:k?Q(k,t)-Q(k,e):0:4&n?-1:1)}:function(t,e){if(t===e)return M=!0,0;var n,r=0,o=t.parentNode,s=e.parentNode,u=[t],c=[e];if(!o||!s)return t===i?-1:e===i?1:o?-1:s?1:k?Q(k,t)-Q(k,e):0;if(o===s)return a(t,e);for(n=t;n=n.parentNode;)u.unshift(n);for(n=e;n=n.parentNode;)c.unshift(n);for(;u[r]===c[r];)r++;return r?a(u[r],c[r]):u[r]===U?-1:c[r]===U?1:0},i):N},
e.matches=function(t,n){return e(t,null,null,n)},e.matchesSelector=function(t,n){if((t.ownerDocument||t)!==N&&P(t),n=n.replace(ct,"='$1']"),b.matchesSelector&&A&&(!O||!O.test(n))&&(!D||!D.test(n)))try{var i=R.call(t,n);if(i||b.disconnectedMatch||t.document&&11!==t.document.nodeType)return i}catch(t){}return e(n,N,null,[t]).length>0},e.contains=function(t,e){return(t.ownerDocument||t)!==N&&P(t),L(t,e)},e.attr=function(t,e){(t.ownerDocument||t)!==N&&P(t)
;var n=w.attrHandle[e.toLowerCase()],i=n&&Y.call(w.attrHandle,e.toLowerCase())?n(t,e,!A):void 0;return void 0!==i?i:b.attributes||!A?t.getAttribute(e):(i=t.getAttributeNode(e))&&i.specified?i.value:null},e.error=function(t){throw new Error("Syntax error, unrecognized expression: "+t)},e.uniqueSort=function(t){var e,n=[],i=0,r=0;if(M=!b.detectDuplicates,k=!b.sortStable&&t.slice(0),t.sort(W),M){for(;e=t[r++];)e===t[r]&&(i=n.push(r));for(;i--;)t.splice(n[i],1)}return k=null,t},
_=e.getText=function(t){var e,n="",i=0,r=t.nodeType;if(r){if(1===r||9===r||11===r){if("string"==typeof t.textContent)return t.textContent;for(t=t.firstChild;t;t=t.nextSibling)n+=_(t)}else if(3===r||4===r)return t.nodeValue}else for(;e=t[i++];)n+=_(e);return n},w=e.selectors={cacheLength:50,createPseudo:i,match:ft,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(t){
return t[1]=t[1].replace(bt,wt),t[3]=(t[3]||t[4]||t[5]||"").replace(bt,wt),"~="===t[2]&&(t[3]=" "+t[3]+" "),t.slice(0,4)},CHILD:function(t){return t[1]=t[1].toLowerCase(),"nth"===t[1].slice(0,3)?(t[3]||e.error(t[0]),t[4]=+(t[4]?t[5]+(t[6]||1):2*("even"===t[3]||"odd"===t[3])),t[5]=+(t[7]+t[8]||"odd"===t[3])):t[3]&&e.error(t[0]),t},PSEUDO:function(t){var e,n=!t[6]&&t[2]
;return ft.CHILD.test(t[0])?null:(t[3]?t[2]=t[4]||t[5]||"":n&&lt.test(n)&&(e=x(n,!0))&&(e=n.indexOf(")",n.length-e)-n.length)&&(t[0]=t[0].slice(0,e),t[2]=n.slice(0,e)),t.slice(0,3))}},filter:{TAG:function(t){var e=t.replace(bt,wt).toLowerCase();return"*"===t?function(){return!0}:function(t){return t.nodeName&&t.nodeName.toLowerCase()===e}},CLASS:function(t){var e=H[t+" "];return e||(e=new RegExp("(^|"+tt+")"+t+"("+tt+"|$)"))&&H(t,function(t){
return e.test("string"==typeof t.className&&t.className||void 0!==t.getAttribute&&t.getAttribute("class")||"")})},ATTR:function(t,n,i){return function(r){var o=e.attr(r,t);return null==o?"!="===n:!n||(o+="","="===n?o===i:"!="===n?o!==i:"^="===n?i&&0===o.indexOf(i):"*="===n?i&&o.indexOf(i)>-1:"$="===n?i&&o.slice(-i.length)===i:"~="===n?(" "+o.replace(ot," ")+" ").indexOf(i)>-1:"|="===n&&(o===i||o.slice(0,i.length+1)===i+"-"))}},CHILD:function(t,e,n,i,r){
var o="nth"!==t.slice(0,3),a="last"!==t.slice(-4),s="of-type"===e;return 1===i&&0===r?function(t){return!!t.parentNode}:function(e,n,u){var c,l,h,f,d,p,m=o!==a?"nextSibling":"previousSibling",g=e.parentNode,v=s&&e.nodeName.toLowerCase(),y=!u&&!s;if(g){if(o){for(;m;){for(h=e;h=h[m];)if(s?h.nodeName.toLowerCase()===v:1===h.nodeType)return!1;p=m="only"===t&&!p&&"nextSibling"}return!0}if(p=[a?g.firstChild:g.lastChild],a&&y){for(l=g[j]||(g[j]={}),c=l[t]||[],d=c[0]===F&&c[1],f=c[0]===F&&c[2],
h=d&&g.childNodes[d];h=++d&&h&&h[m]||(f=d=0)||p.pop();)if(1===h.nodeType&&++f&&h===e){l[t]=[F,d,f];break}}else if(y&&(c=(e[j]||(e[j]={}))[t])&&c[0]===F)f=c[1];else for(;(h=++d&&h&&h[m]||(f=d=0)||p.pop())&&((s?h.nodeName.toLowerCase()!==v:1!==h.nodeType)||!++f||(y&&((h[j]||(h[j]={}))[t]=[F,f]),h!==e)););return(f-=r)===i||f%i==0&&f/i>=0}}},PSEUDO:function(t,n){var r,o=w.pseudos[t]||w.setFilters[t.toLowerCase()]||e.error("unsupported pseudo: "+t);return o[j]?o(n):o.length>1?(r=[t,t,"",n],
w.setFilters.hasOwnProperty(t.toLowerCase())?i(function(t,e){for(var i,r=o(t,n),a=r.length;a--;)i=Q(t,r[a]),t[i]=!(e[i]=r[a])}):function(t){return o(t,0,r)}):o}},pseudos:{not:i(function(t){var e=[],n=[],r=T(t.replace(at,"$1"));return r[j]?i(function(t,e,n,i){for(var o,a=r(t,null,i,[]),s=t.length;s--;)(o=a[s])&&(t[s]=!(e[s]=o))}):function(t,i,o){return e[0]=t,r(e,null,o,n),e[0]=null,!n.pop()}}),has:i(function(t){return function(n){return e(t,n).length>0}}),contains:i(function(t){
return t=t.replace(bt,wt),function(e){return(e.textContent||e.innerText||_(e)).indexOf(t)>-1}}),lang:i(function(t){return ht.test(t||"")||e.error("unsupported lang: "+t),t=t.replace(bt,wt).toLowerCase(),function(e){var n;do{if(n=A?e.lang:e.getAttribute("xml:lang")||e.getAttribute("lang"))return(n=n.toLowerCase())===t||0===n.indexOf(t+"-")}while((e=e.parentNode)&&1===e.nodeType);return!1}}),target:function(e){var n=t.location&&t.location.hash;return n&&n.slice(1)===e.id},root:function(t){
return t===I},focus:function(t){return t===N.activeElement&&(!N.hasFocus||N.hasFocus())&&!!(t.type||t.href||~t.tabIndex)},enabled:function(t){return!1===t.disabled},disabled:function(t){return!0===t.disabled},checked:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&!!t.checked||"option"===e&&!!t.selected},selected:function(t){return t.parentNode&&t.parentNode.selectedIndex,!0===t.selected},empty:function(t){for(t=t.firstChild;t;t=t.nextSibling)if(t.nodeType<6)return!1;return!0},
parent:function(t){return!w.pseudos.empty(t)},header:function(t){return pt.test(t.nodeName)},input:function(t){return dt.test(t.nodeName)},button:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&"button"===t.type||"button"===e},text:function(t){var e;return"input"===t.nodeName.toLowerCase()&&"text"===t.type&&(null==(e=t.getAttribute("type"))||"text"===e.toLowerCase())},first:s(function(){return[0]}),last:s(function(t,e){return[e-1]}),eq:s(function(t,e,n){return[n<0?n+e:n]}),
even:s(function(t,e){for(var n=0;n<e;n+=2)t.push(n);return t}),odd:s(function(t,e){for(var n=1;n<e;n+=2)t.push(n);return t}),lt:s(function(t,e,n){for(var i=n<0?n+e:n;--i>=0;)t.push(i);return t}),gt:s(function(t,e,n){for(var i=n<0?n+e:n;++i<e;)t.push(i);return t})}},w.pseudos.nth=w.pseudos.eq;for(y in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})w.pseudos[y]=function(t){return function(e){return"input"===e.nodeName.toLowerCase()&&e.type===t}}(y);for(y in{submit:!0,reset:!0
})w.pseudos[y]=function(t){return function(e){var n=e.nodeName.toLowerCase();return("input"===n||"button"===n)&&e.type===t}}(y);return c.prototype=w.filters=w.pseudos,w.setFilters=new c,x=e.tokenize=function(t,n){var i,r,o,a,s,u,c,l=V[t+" "];if(l)return n?0:l.slice(0);for(s=t,u=[],c=w.preFilter;s;){i&&!(r=st.exec(s))||(r&&(s=s.slice(r[0].length)||s),u.push(o=[])),i=!1,(r=ut.exec(s))&&(i=r.shift(),o.push({value:i,type:r[0].replace(at," ")}),s=s.slice(i.length))
;for(a in w.filter)!(r=ft[a].exec(s))||c[a]&&!(r=c[a](r))||(i=r.shift(),o.push({value:i,type:a,matches:r}),s=s.slice(i.length));if(!i)break}return n?s.length:s?e.error(t):V(t,u).slice(0)},T=e.compile=function(t,e){var n,i=[],r=[],o=q[t+" "];if(!o){for(e||(e=x(t)),n=e.length;n--;)o=g(e[n]),o[j]?i.push(o):r.push(o);o=q(t,v(r,i)),o.selector=t}return o},C=e.select=function(t,e,n,i){var r,o,a,s,c,h="function"==typeof t&&t,f=!i&&x(t=h.selector||t);if(n=n||[],1===f.length){if(o=f[0]=f[0].slice(0),
o.length>2&&"ID"===(a=o[0]).type&&b.getById&&9===e.nodeType&&A&&w.relative[o[1].type]){if(!(e=(w.find.ID(a.matches[0].replace(bt,wt),e)||[])[0]))return n;h&&(e=e.parentNode),t=t.slice(o.shift().value.length)}for(r=ft.needsContext.test(t)?0:o.length;r--&&(a=o[r],!w.relative[s=a.type]);)if((c=w.find[s])&&(i=c(a.matches[0].replace(bt,wt),vt.test(o[0].type)&&u(e.parentNode)||e))){if(o.splice(r,1),!(t=i.length&&l(o)))return X.apply(n,i),n;break}}
return(h||T(t,f))(i,e,!A,n,vt.test(t)&&u(e.parentNode)||e),n},b.sortStable=j.split("").sort(W).join("")===j,b.detectDuplicates=!!M,P(),b.sortDetached=r(function(t){return 1&t.compareDocumentPosition(N.createElement("div"))}),r(function(t){return t.innerHTML="<a href='#'></a>","#"===t.firstChild.getAttribute("href")})||o("type|href|height|width",function(t,e,n){if(!n)return t.getAttribute(e,"type"===e.toLowerCase()?1:2)}),b.attributes&&r(function(t){return t.innerHTML="<input/>",
t.firstChild.setAttribute("value",""),""===t.firstChild.getAttribute("value")})||o("value",function(t,e,n){if(!n&&"input"===t.nodeName.toLowerCase())return t.defaultValue}),r(function(t){return null==t.getAttribute("disabled")})||o(Z,function(t,e,n){var i;if(!n)return!0===t[e]?e.toLowerCase():(i=t.getAttributeNode(e))&&i.specified?i.value:null}),e}(n);nt.find=st,nt.expr=st.selectors,nt.expr[":"]=nt.expr.pseudos,nt.unique=st.uniqueSort,nt.text=st.getText,nt.isXMLDoc=st.isXML,
nt.contains=st.contains;var ut=nt.expr.match.needsContext,ct=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,lt=/^.[^:#\[\.,]*$/;nt.filter=function(t,e,n){var i=e[0];return n&&(t=":not("+t+")"),1===e.length&&1===i.nodeType?nt.find.matchesSelector(i,t)?[i]:[]:nt.find.matches(t,nt.grep(e,function(t){return 1===t.nodeType}))},nt.fn.extend({find:function(t){var e,n=this.length,i=[],r=this;if("string"!=typeof t)return this.pushStack(nt(t).filter(function(){for(e=0;e<n;e++)if(nt.contains(r[e],this))return!0}))
;for(e=0;e<n;e++)nt.find(t,r[e],i);return i=this.pushStack(n>1?nt.unique(i):i),i.selector=this.selector?this.selector+" "+t:t,i},filter:function(t){return this.pushStack(s(this,t||[],!1))},not:function(t){return this.pushStack(s(this,t||[],!0))},is:function(t){return!!s(this,"string"==typeof t&&ut.test(t)?nt(t):t||[],!1).length}});var ht,ft=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/;(nt.fn.init=function(t,e){var n,i;if(!t)return this;if("string"==typeof t){
if(!(n="<"===t[0]&&">"===t[t.length-1]&&t.length>=3?[null,t,null]:ft.exec(t))||!n[1]&&e)return!e||e.jquery?(e||ht).find(t):this.constructor(e).find(t);if(n[1]){if(e=e instanceof nt?e[0]:e,nt.merge(this,nt.parseHTML(n[1],e&&e.nodeType?e.ownerDocument||e:et,!0)),ct.test(n[1])&&nt.isPlainObject(e))for(n in e)nt.isFunction(this[n])?this[n](e[n]):this.attr(n,e[n]);return this}return i=et.getElementById(n[2]),i&&i.parentNode&&(this.length=1,this[0]=i),this.context=et,this.selector=t,this}
return t.nodeType?(this.context=this[0]=t,this.length=1,this):nt.isFunction(t)?void 0!==ht.ready?ht.ready(t):t(nt):(void 0!==t.selector&&(this.selector=t.selector,this.context=t.context),nt.makeArray(t,this))}).prototype=nt.fn,ht=nt(et);var dt=/^(?:parents|prev(?:Until|All))/,pt={children:!0,contents:!0,next:!0,prev:!0};nt.extend({dir:function(t,e,n){for(var i=[],r=void 0!==n;(t=t[e])&&9!==t.nodeType;)if(1===t.nodeType){if(r&&nt(t).is(n))break;i.push(t)}return i},sibling:function(t,e){
for(var n=[];t;t=t.nextSibling)1===t.nodeType&&t!==e&&n.push(t);return n}}),nt.fn.extend({has:function(t){var e=nt(t,this),n=e.length;return this.filter(function(){for(var t=0;t<n;t++)if(nt.contains(this,e[t]))return!0})},closest:function(t,e){for(var n,i=0,r=this.length,o=[],a=ut.test(t)||"string"!=typeof t?nt(t,e||this.context):0;i<r;i++)for(n=this[i];n&&n!==e;n=n.parentNode)if(n.nodeType<11&&(a?a.index(n)>-1:1===n.nodeType&&nt.find.matchesSelector(n,t))){o.push(n);break}
return this.pushStack(o.length>1?nt.unique(o):o)},index:function(t){return t?"string"==typeof t?X.call(nt(t),this[0]):X.call(this,t.jquery?t[0]:t):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(t,e){return this.pushStack(nt.unique(nt.merge(this.get(),nt(t,e))))},addBack:function(t){return this.add(null==t?this.prevObject:this.prevObject.filter(t))}}),nt.each({parent:function(t){var e=t.parentNode;return e&&11!==e.nodeType?e:null},parents:function(t){
return nt.dir(t,"parentNode")},parentsUntil:function(t,e,n){return nt.dir(t,"parentNode",n)},next:function(t){return u(t,"nextSibling")},prev:function(t){return u(t,"previousSibling")},nextAll:function(t){return nt.dir(t,"nextSibling")},prevAll:function(t){return nt.dir(t,"previousSibling")},nextUntil:function(t,e,n){return nt.dir(t,"nextSibling",n)},prevUntil:function(t,e,n){return nt.dir(t,"previousSibling",n)},siblings:function(t){return nt.sibling((t.parentNode||{}).firstChild,t)},
children:function(t){return nt.sibling(t.firstChild)},contents:function(t){return t.contentDocument||nt.merge([],t.childNodes)}},function(t,e){nt.fn[t]=function(n,i){var r=nt.map(this,e,n);return"Until"!==t.slice(-5)&&(i=n),i&&"string"==typeof i&&(r=nt.filter(i,r)),this.length>1&&(pt[t]||nt.unique(r),dt.test(t)&&r.reverse()),this.pushStack(r)}});var mt=/\S+/g,gt={};nt.Callbacks=function(t){t="string"==typeof t?gt[t]||c(t):nt.extend({},t);var e,n,i,r,o,a,s=[],u=!t.once&&[],l=function(c){
for(e=t.memory&&c,n=!0,a=r||0,r=0,o=s.length,i=!0;s&&a<o;a++)if(!1===s[a].apply(c[0],c[1])&&t.stopOnFalse){e=!1;break}i=!1,s&&(u?u.length&&l(u.shift()):e?s=[]:h.disable())},h={add:function(){if(s){var n=s.length;!function e(n){nt.each(n,function(n,i){var r=nt.type(i);"function"===r?t.unique&&h.has(i)||s.push(i):i&&i.length&&"string"!==r&&e(i)})}(arguments),i?o=s.length:e&&(r=n,l(e))}return this},remove:function(){return s&&nt.each(arguments,function(t,e){
for(var n;(n=nt.inArray(e,s,n))>-1;)s.splice(n,1),i&&(n<=o&&o--,n<=a&&a--)}),this},has:function(t){return t?nt.inArray(t,s)>-1:!(!s||!s.length)},empty:function(){return s=[],o=0,this},disable:function(){return s=u=e=void 0,this},disabled:function(){return!s},lock:function(){return u=void 0,e||h.disable(),this},locked:function(){return!u},fireWith:function(t,e){return!s||n&&!u||(e=e||[],e=[t,e.slice?e.slice():e],i?u.push(e):l(e)),this},fire:function(){return h.fireWith(this,arguments),this},
fired:function(){return!!n}};return h},nt.extend({Deferred:function(t){var e=[["resolve","done",nt.Callbacks("once memory"),"resolved"],["reject","fail",nt.Callbacks("once memory"),"rejected"],["notify","progress",nt.Callbacks("memory")]],n="pending",i={state:function(){return n},always:function(){return r.done(arguments).fail(arguments),this},then:function(){var t=arguments;return nt.Deferred(function(n){nt.each(e,function(e,o){var a=nt.isFunction(t[e])&&t[e];r[o[1]](function(){
var t=a&&a.apply(this,arguments);t&&nt.isFunction(t.promise)?t.promise().done(n.resolve).fail(n.reject).progress(n.notify):n[o[0]+"With"](this===i?n.promise():this,a?[t]:arguments)})}),t=null}).promise()},promise:function(t){return null!=t?nt.extend(t,i):i}},r={};return i.pipe=i.then,nt.each(e,function(t,o){var a=o[2],s=o[3];i[o[1]]=a.add,s&&a.add(function(){n=s},e[1^t][2].disable,e[2][2].lock),r[o[0]]=function(){return r[o[0]+"With"](this===r?i:this,arguments),this},r[o[0]+"With"]=a.fireWith}),
i.promise(r),t&&t.call(r,r),r},when:function(t){var e,n,i,r=0,o=K.call(arguments),a=o.length,s=1!==a||t&&nt.isFunction(t.promise)?a:0,u=1===s?t:nt.Deferred(),c=function(t,n,i){return function(r){n[t]=this,i[t]=arguments.length>1?K.call(arguments):r,i===e?u.notifyWith(n,i):--s||u.resolveWith(n,i)}};if(a>1)for(e=new Array(a),n=new Array(a),i=new Array(a);r<a;r++)o[r]&&nt.isFunction(o[r].promise)?o[r].promise().done(c(r,i,o)).fail(u.reject).progress(c(r,n,e)):--s;return s||u.resolveWith(i,o),
u.promise()}});var vt;nt.fn.ready=function(t){return nt.ready.promise().done(t),this},nt.extend({isReady:!1,readyWait:1,holdReady:function(t){t?nt.readyWait++:nt.ready(!0)},ready:function(t){(!0===t?--nt.readyWait:nt.isReady)||(nt.isReady=!0,!0!==t&&--nt.readyWait>0||(vt.resolveWith(et,[nt]),nt.fn.triggerHandler&&(nt(et).triggerHandler("ready"),nt(et).off("ready"))))}}),nt.ready.promise=function(t){return vt||(vt=nt.Deferred(),
"complete"===et.readyState?setTimeout(nt.ready):(et.addEventListener("DOMContentLoaded",l,!1),n.addEventListener("load",l,!1))),vt.promise(t)},nt.ready.promise();var yt=nt.access=function(t,e,n,i,r,o,a){var s=0,u=t.length,c=null==n;if("object"===nt.type(n)){r=!0;for(s in n)nt.access(t,e,s,n[s],!0,o,a)}else if(void 0!==i&&(r=!0,nt.isFunction(i)||(a=!0),c&&(a?(e.call(t,i),e=null):(c=e,e=function(t,e,n){return c.call(nt(t),n)})),e))for(;s<u;s++)e(t[s],n,a?i:i.call(t[s],s,e(t[s],n)))
;return r?t:c?e.call(t):u?e(t[0],n):o};nt.acceptData=function(t){return 1===t.nodeType||9===t.nodeType||!+t.nodeType},h.uid=1,h.accepts=nt.acceptData,h.prototype={key:function(t){if(!h.accepts(t))return 0;var e={},n=t[this.expando];if(!n){n=h.uid++;try{e[this.expando]={value:n},Object.defineProperties(t,e)}catch(i){e[this.expando]=n,nt.extend(t,e)}}return this.cache[n]||(this.cache[n]={}),n},set:function(t,e,n){var i,r=this.key(t),o=this.cache[r]
;if("string"==typeof e)o[e]=n;else if(nt.isEmptyObject(o))nt.extend(this.cache[r],e);else for(i in e)o[i]=e[i];return o},get:function(t,e){var n=this.cache[this.key(t)];return void 0===e?n:n[e]},access:function(t,e,n){var i;return void 0===e||e&&"string"==typeof e&&void 0===n?(i=this.get(t,e),void 0!==i?i:this.get(t,nt.camelCase(e))):(this.set(t,e,n),void 0!==n?n:e)},remove:function(t,e){var n,i,r,o=this.key(t),a=this.cache[o];if(void 0===e)this.cache[o]={};else{
nt.isArray(e)?i=e.concat(e.map(nt.camelCase)):(r=nt.camelCase(e),e in a?i=[e,r]:(i=r,i=i in a?[i]:i.match(mt)||[])),n=i.length;for(;n--;)delete a[i[n]]}},hasData:function(t){return!nt.isEmptyObject(this.cache[t[this.expando]]||{})},discard:function(t){t[this.expando]&&delete this.cache[t[this.expando]]}};var bt=new h,wt=new h,_t=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,Et=/([A-Z])/g;nt.extend({hasData:function(t){return wt.hasData(t)||bt.hasData(t)},data:function(t,e,n){return wt.access(t,e,n)},
removeData:function(t,e){wt.remove(t,e)},_data:function(t,e,n){return bt.access(t,e,n)},_removeData:function(t,e){bt.remove(t,e)}}),nt.fn.extend({data:function(t,e){var n,i,r,o=this[0],a=o&&o.attributes;if(void 0===t){if(this.length&&(r=wt.get(o),1===o.nodeType&&!bt.get(o,"hasDataAttrs"))){for(n=a.length;n--;)a[n]&&(i=a[n].name,0===i.indexOf("data-")&&(i=nt.camelCase(i.slice(5)),f(o,i,r[i])));bt.set(o,"hasDataAttrs",!0)}return r}return"object"==typeof t?this.each(function(){wt.set(this,t)
}):yt(this,function(e){var n,i=nt.camelCase(t);if(o&&void 0===e){if(void 0!==(n=wt.get(o,t)))return n;if(void 0!==(n=wt.get(o,i)))return n;if(void 0!==(n=f(o,i,void 0)))return n}else this.each(function(){var n=wt.get(this,i);wt.set(this,i,e),-1!==t.indexOf("-")&&void 0!==n&&wt.set(this,t,e)})},null,e,arguments.length>1,null,!0)},removeData:function(t){return this.each(function(){wt.remove(this,t)})}}),nt.extend({queue:function(t,e,n){var i;if(t)return e=(e||"fx")+"queue",i=bt.get(t,e),
n&&(!i||nt.isArray(n)?i=bt.access(t,e,nt.makeArray(n)):i.push(n)),i||[]},dequeue:function(t,e){e=e||"fx";var n=nt.queue(t,e),i=n.length,r=n.shift(),o=nt._queueHooks(t,e),a=function(){nt.dequeue(t,e)};"inprogress"===r&&(r=n.shift(),i--),r&&("fx"===e&&n.unshift("inprogress"),delete o.stop,r.call(t,a,o)),!i&&o&&o.empty.fire()},_queueHooks:function(t,e){var n=e+"queueHooks";return bt.get(t,n)||bt.access(t,n,{empty:nt.Callbacks("once memory").add(function(){bt.remove(t,[e+"queue",n])})})}}),
nt.fn.extend({queue:function(t,e){var n=2;return"string"!=typeof t&&(e=t,t="fx",n--),arguments.length<n?nt.queue(this[0],t):void 0===e?this:this.each(function(){var n=nt.queue(this,t,e);nt._queueHooks(this,t),"fx"===t&&"inprogress"!==n[0]&&nt.dequeue(this,t)})},dequeue:function(t){return this.each(function(){nt.dequeue(this,t)})},clearQueue:function(t){return this.queue(t||"fx",[])},promise:function(t,e){var n,i=1,r=nt.Deferred(),o=this,a=this.length,s=function(){--i||r.resolveWith(o,[o])}
;for("string"!=typeof t&&(e=t,t=void 0),t=t||"fx";a--;)(n=bt.get(o[a],t+"queueHooks"))&&n.empty&&(i++,n.empty.add(s));return s(),r.promise(e)}});var xt=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,Tt=["Top","Right","Bottom","Left"],Ct=function(t,e){return t=e||t,"none"===nt.css(t,"display")||!nt.contains(t.ownerDocument,t)},St=/^(?:checkbox|radio)$/i;!function(){var t=et.createDocumentFragment(),e=t.appendChild(et.createElement("div")),n=et.createElement("input");n.setAttribute("type","radio"),
n.setAttribute("checked","checked"),n.setAttribute("name","t"),e.appendChild(n),tt.checkClone=e.cloneNode(!0).cloneNode(!0).lastChild.checked,e.innerHTML="<textarea>x</textarea>",tt.noCloneChecked=!!e.cloneNode(!0).lastChild.defaultValue}();tt.focusinBubbles="onfocusin"in n;var kt=/^key/,Mt=/^(?:mouse|pointer|contextmenu)|click/,Pt=/^(?:focusinfocus|focusoutblur)$/,Nt=/^([^.]*)(?:\.(.+)|)$/;nt.event={global:{},add:function(t,e,n,i,r){var o,a,s,u,c,l,h,f,d,p,m,g=bt.get(t)
;if(g)for(n.handler&&(o=n,n=o.handler,r=o.selector),n.guid||(n.guid=nt.guid++),(u=g.events)||(u=g.events={}),(a=g.handle)||(a=g.handle=function(e){return void 0!==nt&&nt.event.triggered!==e.type?nt.event.dispatch.apply(t,arguments):void 0}),e=(e||"").match(mt)||[""],c=e.length;c--;)s=Nt.exec(e[c])||[],d=m=s[1],p=(s[2]||"").split(".").sort(),d&&(h=nt.event.special[d]||{},d=(r?h.delegateType:h.bindType)||d,h=nt.event.special[d]||{},l=nt.extend({type:d,origType:m,data:i,handler:n,guid:n.guid,
selector:r,needsContext:r&&nt.expr.match.needsContext.test(r),namespace:p.join(".")},o),(f=u[d])||(f=u[d]=[],f.delegateCount=0,h.setup&&!1!==h.setup.call(t,i,p,a)||t.addEventListener&&t.addEventListener(d,a,!1)),h.add&&(h.add.call(t,l),l.handler.guid||(l.handler.guid=n.guid)),r?f.splice(f.delegateCount++,0,l):f.push(l),nt.event.global[d]=!0)},remove:function(t,e,n,i,r){var o,a,s,u,c,l,h,f,d,p,m,g=bt.hasData(t)&&bt.get(t);if(g&&(u=g.events)){for(e=(e||"").match(mt)||[""],
c=e.length;c--;)if(s=Nt.exec(e[c])||[],d=m=s[1],p=(s[2]||"").split(".").sort(),d){for(h=nt.event.special[d]||{},d=(i?h.delegateType:h.bindType)||d,f=u[d]||[],s=s[2]&&new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=o=f.length;o--;)l=f[o],!r&&m!==l.origType||n&&n.guid!==l.guid||s&&!s.test(l.namespace)||i&&i!==l.selector&&("**"!==i||!l.selector)||(f.splice(o,1),l.selector&&f.delegateCount--,h.remove&&h.remove.call(t,l))
;a&&!f.length&&(h.teardown&&!1!==h.teardown.call(t,p,g.handle)||nt.removeEvent(t,d,g.handle),delete u[d])}else for(d in u)nt.event.remove(t,d+e[c],n,i,!0);nt.isEmptyObject(u)&&(delete g.handle,bt.remove(t,"events"))}},trigger:function(t,e,i,r){var o,a,s,u,c,l,h,f=[i||et],d=Z.call(t,"type")?t.type:t,p=Z.call(t,"namespace")?t.namespace.split("."):[];if(a=s=i=i||et,3!==i.nodeType&&8!==i.nodeType&&!Pt.test(d+nt.event.triggered)&&(d.indexOf(".")>=0&&(p=d.split("."),d=p.shift(),p.sort()),
c=d.indexOf(":")<0&&"on"+d,t=t[nt.expando]?t:new nt.Event(d,"object"==typeof t&&t),t.isTrigger=r?2:3,t.namespace=p.join("."),t.namespace_re=t.namespace?new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,t.result=void 0,t.target||(t.target=i),e=null==e?[t]:nt.makeArray(e,[t]),h=nt.event.special[d]||{},r||!h.trigger||!1!==h.trigger.apply(i,e))){if(!r&&!h.noBubble&&!nt.isWindow(i)){for(u=h.delegateType||d,Pt.test(u+d)||(a=a.parentNode);a;a=a.parentNode)f.push(a),s=a
;s===(i.ownerDocument||et)&&f.push(s.defaultView||s.parentWindow||n)}for(o=0;(a=f[o++])&&!t.isPropagationStopped();)t.type=o>1?u:h.bindType||d,l=(bt.get(a,"events")||{})[t.type]&&bt.get(a,"handle"),l&&l.apply(a,e),(l=c&&a[c])&&l.apply&&nt.acceptData(a)&&(t.result=l.apply(a,e),!1===t.result&&t.preventDefault());return t.type=d,r||t.isDefaultPrevented()||h._default&&!1!==h._default.apply(f.pop(),e)||!nt.acceptData(i)||c&&nt.isFunction(i[d])&&!nt.isWindow(i)&&(s=i[c],s&&(i[c]=null),
nt.event.triggered=d,i[d](),nt.event.triggered=void 0,s&&(i[c]=s)),t.result}},dispatch:function(t){t=nt.event.fix(t);var e,n,i,r,o,a=[],s=K.call(arguments),u=(bt.get(this,"events")||{})[t.type]||[],c=nt.event.special[t.type]||{};if(s[0]=t,t.delegateTarget=this,!c.preDispatch||!1!==c.preDispatch.call(this,t)){for(a=nt.event.handlers.call(this,t,u),e=0;(r=a[e++])&&!t.isPropagationStopped();)for(t.currentTarget=r.elem,
n=0;(o=r.handlers[n++])&&!t.isImmediatePropagationStopped();)t.namespace_re&&!t.namespace_re.test(o.namespace)||(t.handleObj=o,t.data=o.data,void 0!==(i=((nt.event.special[o.origType]||{}).handle||o.handler).apply(r.elem,s))&&!1===(t.result=i)&&(t.preventDefault(),t.stopPropagation()));return c.postDispatch&&c.postDispatch.call(this,t),t.result}},handlers:function(t,e){var n,i,r,o,a=[],s=e.delegateCount,u=t.target
;if(s&&u.nodeType&&(!t.button||"click"!==t.type))for(;u!==this;u=u.parentNode||this)if(!0!==u.disabled||"click"!==t.type){for(i=[],n=0;n<s;n++)o=e[n],r=o.selector+" ",void 0===i[r]&&(i[r]=o.needsContext?nt(r,this).index(u)>=0:nt.find(r,this,null,[u]).length),i[r]&&i.push(o);i.length&&a.push({elem:u,handlers:i})}return s<e.length&&a.push({elem:this,handlers:e.slice(s)}),a},
props:"altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{},keyHooks:{props:"char charCode key keyCode".split(" "),filter:function(t,e){return null==t.which&&(t.which=null!=e.charCode?e.charCode:e.keyCode),t}},mouseHooks:{props:"button buttons clientX clientY offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(t,e){var n,i,r,o=e.button
;return null==t.pageX&&null!=e.clientX&&(n=t.target.ownerDocument||et,i=n.documentElement,r=n.body,t.pageX=e.clientX+(i&&i.scrollLeft||r&&r.scrollLeft||0)-(i&&i.clientLeft||r&&r.clientLeft||0),t.pageY=e.clientY+(i&&i.scrollTop||r&&r.scrollTop||0)-(i&&i.clientTop||r&&r.clientTop||0)),t.which||void 0===o||(t.which=1&o?1:2&o?3:4&o?2:0),t}},fix:function(t){if(t[nt.expando])return t;var e,n,i,r=t.type,o=t,a=this.fixHooks[r]
;for(a||(this.fixHooks[r]=a=Mt.test(r)?this.mouseHooks:kt.test(r)?this.keyHooks:{}),i=a.props?this.props.concat(a.props):this.props,t=new nt.Event(o),e=i.length;e--;)n=i[e],t[n]=o[n];return t.target||(t.target=et),3===t.target.nodeType&&(t.target=t.target.parentNode),a.filter?a.filter(t,o):t},special:{load:{noBubble:!0},focus:{trigger:function(){if(this!==m()&&this.focus)return this.focus(),!1},delegateType:"focusin"},blur:{trigger:function(){if(this===m()&&this.blur)return this.blur(),!1},
delegateType:"focusout"},click:{trigger:function(){if("checkbox"===this.type&&this.click&&nt.nodeName(this,"input"))return this.click(),!1},_default:function(t){return nt.nodeName(t.target,"a")}},beforeunload:{postDispatch:function(t){void 0!==t.result&&t.originalEvent&&(t.originalEvent.returnValue=t.result)}}},simulate:function(t,e,n,i){var r=nt.extend(new nt.Event,n,{type:t,isSimulated:!0,originalEvent:{}});i?nt.event.trigger(r,null,e):nt.event.dispatch.call(e,r),
r.isDefaultPrevented()&&n.preventDefault()}},nt.removeEvent=function(t,e,n){t.removeEventListener&&t.removeEventListener(e,n,!1)},nt.Event=function(t,e){if(!(this instanceof nt.Event))return new nt.Event(t,e);t&&t.type?(this.originalEvent=t,this.type=t.type,this.isDefaultPrevented=t.defaultPrevented||void 0===t.defaultPrevented&&!1===t.returnValue?d:p):this.type=t,e&&nt.extend(this,e),this.timeStamp=t&&t.timeStamp||nt.now(),this[nt.expando]=!0},nt.Event.prototype={isDefaultPrevented:p,
isPropagationStopped:p,isImmediatePropagationStopped:p,preventDefault:function(){var t=this.originalEvent;this.isDefaultPrevented=d,t&&t.preventDefault&&t.preventDefault()},stopPropagation:function(){var t=this.originalEvent;this.isPropagationStopped=d,t&&t.stopPropagation&&t.stopPropagation()},stopImmediatePropagation:function(){var t=this.originalEvent;this.isImmediatePropagationStopped=d,t&&t.stopImmediatePropagation&&t.stopImmediatePropagation(),this.stopPropagation()}},nt.each({
mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(t,e){nt.event.special[t]={delegateType:e,bindType:e,handle:function(t){var n,i=this,r=t.relatedTarget,o=t.handleObj;return r&&(r===i||nt.contains(i,r))||(t.type=o.origType,n=o.handler.apply(this,arguments),t.type=e),n}}}),tt.focusinBubbles||nt.each({focus:"focusin",blur:"focusout"},function(t,e){var n=function(t){nt.event.simulate(e,t.target,nt.event.fix(t),!0)};nt.event.special[e]={
setup:function(){var i=this.ownerDocument||this,r=bt.access(i,e);r||i.addEventListener(t,n,!0),bt.access(i,e,(r||0)+1)},teardown:function(){var i=this.ownerDocument||this,r=bt.access(i,e)-1;r?bt.access(i,e,r):(i.removeEventListener(t,n,!0),bt.remove(i,e))}}}),nt.fn.extend({on:function(t,e,n,i,r){var o,a;if("object"==typeof t){"string"!=typeof e&&(n=n||e,e=void 0);for(a in t)this.on(a,e,n,t[a],r);return this}if(null==n&&null==i?(i=e,n=e=void 0):null==i&&("string"==typeof e?(i=n,n=void 0):(i=n,
n=e,e=void 0)),!1===i)i=p;else if(!i)return this;return 1===r&&(o=i,i=function(t){return nt().off(t),o.apply(this,arguments)},i.guid=o.guid||(o.guid=nt.guid++)),this.each(function(){nt.event.add(this,t,i,n,e)})},one:function(t,e,n,i){return this.on(t,e,n,i,1)},off:function(t,e,n){var i,r;if(t&&t.preventDefault&&t.handleObj)return i=t.handleObj,nt(t.delegateTarget).off(i.namespace?i.origType+"."+i.namespace:i.origType,i.selector,i.handler),this;if("object"==typeof t){for(r in t)this.off(r,e,t[r])
;return this}return!1!==e&&"function"!=typeof e||(n=e,e=void 0),!1===n&&(n=p),this.each(function(){nt.event.remove(this,t,n,e)})},trigger:function(t,e){return this.each(function(){nt.event.trigger(t,e,this)})},triggerHandler:function(t,e){var n=this[0];if(n)return nt.event.trigger(t,e,n,!0)}})
;var It=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,At=/<([\w:]+)/,Dt=/<|&#?\w+;/,Ot=/<(?:script|style|link)/i,Rt=/checked\s*(?:[^=]|=\s*.checked.)/i,Lt=/^$|\/(?:java|ecma)script/i,jt=/^true\/(.*)/,Ut=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g,Ft={option:[1,"<select multiple='multiple'>","</select>"],thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],
td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};Ft.optgroup=Ft.option,Ft.tbody=Ft.tfoot=Ft.colgroup=Ft.caption=Ft.thead,Ft.th=Ft.td,nt.extend({clone:function(t,e,n){var i,r,o,a,s=t.cloneNode(!0),u=nt.contains(t.ownerDocument,t);if(!(tt.noCloneChecked||1!==t.nodeType&&11!==t.nodeType||nt.isXMLDoc(t)))for(a=_(s),o=_(t),i=0,r=o.length;i<r;i++)E(o[i],a[i]);if(e)if(n)for(o=o||_(t),a=a||_(s),i=0,r=o.length;i<r;i++)w(o[i],a[i]);else w(t,s);return a=_(s,"script"),
a.length>0&&b(a,!u&&_(t,"script")),s},buildFragment:function(t,e,n,i){for(var r,o,a,s,u,c,l=e.createDocumentFragment(),h=[],f=0,d=t.length;f<d;f++)if((r=t[f])||0===r)if("object"===nt.type(r))nt.merge(h,r.nodeType?[r]:r);else if(Dt.test(r)){for(o=o||l.appendChild(e.createElement("div")),a=(At.exec(r)||["",""])[1].toLowerCase(),s=Ft[a]||Ft._default,o.innerHTML=s[1]+r.replace(It,"<$1></$2>")+s[2],c=s[0];c--;)o=o.lastChild;nt.merge(h,o.childNodes),o=l.firstChild,o.textContent=""
}else h.push(e.createTextNode(r));for(l.textContent="",f=0;r=h[f++];)if((!i||-1===nt.inArray(r,i))&&(u=nt.contains(r.ownerDocument,r),o=_(l.appendChild(r),"script"),u&&b(o),n))for(c=0;r=o[c++];)Lt.test(r.type||"")&&n.push(r);return l},cleanData:function(t){for(var e,n,i,r,o=nt.event.special,a=0;void 0!==(n=t[a]);a++){if(nt.acceptData(n)&&(r=n[bt.expando])&&(e=bt.cache[r])){if(e.events)for(i in e.events)o[i]?nt.event.remove(n,i):nt.removeEvent(n,i,e.handle);bt.cache[r]&&delete bt.cache[r]}
delete wt.cache[n[wt.expando]]}}}),nt.fn.extend({text:function(t){return yt(this,function(t){return void 0===t?nt.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=t)})},null,t,arguments.length)},append:function(){return this.domManip(arguments,function(t){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){g(this,t).appendChild(t)}})},prepend:function(){return this.domManip(arguments,function(t){
if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var e=g(this,t);e.insertBefore(t,e.firstChild)}})},before:function(){return this.domManip(arguments,function(t){this.parentNode&&this.parentNode.insertBefore(t,this)})},after:function(){return this.domManip(arguments,function(t){this.parentNode&&this.parentNode.insertBefore(t,this.nextSibling)})},remove:function(t,e){for(var n,i=t?nt.filter(t,this):this,r=0;null!=(n=i[r]);r++)e||1!==n.nodeType||nt.cleanData(_(n)),
n.parentNode&&(e&&nt.contains(n.ownerDocument,n)&&b(_(n,"script")),n.parentNode.removeChild(n));return this},empty:function(){for(var t,e=0;null!=(t=this[e]);e++)1===t.nodeType&&(nt.cleanData(_(t,!1)),t.textContent="");return this},clone:function(t,e){return t=null!=t&&t,e=null==e?t:e,this.map(function(){return nt.clone(this,t,e)})},html:function(t){return yt(this,function(t){var e=this[0]||{},n=0,i=this.length;if(void 0===t&&1===e.nodeType)return e.innerHTML
;if("string"==typeof t&&!Ot.test(t)&&!Ft[(At.exec(t)||["",""])[1].toLowerCase()]){t=t.replace(It,"<$1></$2>");try{for(;n<i;n++)e=this[n]||{},1===e.nodeType&&(nt.cleanData(_(e,!1)),e.innerHTML=t);e=0}catch(t){}}e&&this.empty().append(t)},null,t,arguments.length)},replaceWith:function(){var t=arguments[0];return this.domManip(arguments,function(e){t=this.parentNode,nt.cleanData(_(this)),t&&t.replaceChild(e,this)}),t&&(t.length||t.nodeType)?this:this.remove()},detach:function(t){
return this.remove(t,!0)},domManip:function(t,e){t=$.apply([],t);var n,i,r,o,a,s,u=0,c=this.length,l=this,h=c-1,f=t[0],d=nt.isFunction(f);if(d||c>1&&"string"==typeof f&&!tt.checkClone&&Rt.test(f))return this.each(function(n){var i=l.eq(n);d&&(t[0]=f.call(this,n,i.html())),i.domManip(t,e)});if(c&&(n=nt.buildFragment(t,this[0].ownerDocument,!1,this),i=n.firstChild,1===n.childNodes.length&&(n=i),i)){for(r=nt.map(_(n,"script"),v),o=r.length;u<c;u++)a=n,u!==h&&(a=nt.clone(a,!0,!0),
o&&nt.merge(r,_(a,"script"))),e.call(this[u],a,u);if(o)for(s=r[r.length-1].ownerDocument,nt.map(r,y),u=0;u<o;u++)a=r[u],Lt.test(a.type||"")&&!bt.access(a,"globalEval")&&nt.contains(s,a)&&(a.src?nt._evalUrl&&nt._evalUrl(a.src):nt.globalEval(a.textContent.replace(Ut,"")))}return this}}),nt.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(t,e){nt.fn[t]=function(t){
for(var n,i=[],r=nt(t),o=r.length-1,a=0;a<=o;a++)n=a===o?this:this.clone(!0),nt(r[a])[e](n),G.apply(i,n.get());return this.pushStack(i)}});var Bt,Ht={},Vt=/^margin/,qt=new RegExp("^("+xt+")(?!px)[a-z%]+$","i"),Wt=function(t){return t.ownerDocument.defaultView.opener?t.ownerDocument.defaultView.getComputedStyle(t,null):n.getComputedStyle(t,null)};!function(){function t(){
a.style.cssText="-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;display:block;margin-top:1%;top:1%;border:1px;padding:1px;width:4px;position:absolute",a.innerHTML="",r.appendChild(o);var t=n.getComputedStyle(a,null);e="1%"!==t.top,i="4px"===t.width,r.removeChild(o)}var e,i,r=et.documentElement,o=et.createElement("div"),a=et.createElement("div");a.style&&(a.style.backgroundClip="content-box",a.cloneNode(!0).style.backgroundClip="",
tt.clearCloneStyle="content-box"===a.style.backgroundClip,o.style.cssText="border:0;width:0;height:0;top:0;left:-9999px;margin-top:1px;position:absolute",o.appendChild(a),n.getComputedStyle&&nt.extend(tt,{pixelPosition:function(){return t(),e},boxSizingReliable:function(){return null==i&&t(),i},reliableMarginRight:function(){var t,e=a.appendChild(et.createElement("div"))
;return e.style.cssText=a.style.cssText="-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:0",e.style.marginRight=e.style.width="0",a.style.width="1px",r.appendChild(o),t=!parseFloat(n.getComputedStyle(e,null).marginRight),r.removeChild(o),a.removeChild(e),t}}))}(),nt.swap=function(t,e,n,i){var r,o,a={};for(o in e)a[o]=t.style[o],t.style[o]=e[o];r=n.apply(t,i||[]);for(o in e)t.style[o]=a[o];return r}
;var zt=/^(none|table(?!-c[ea]).+)/,Yt=new RegExp("^("+xt+")(.*)$","i"),Kt=new RegExp("^([+-])=("+xt+")","i"),$t={position:"absolute",visibility:"hidden",display:"block"},Gt={letterSpacing:"0",fontWeight:"400"},Xt=["Webkit","O","Moz","ms"];nt.extend({cssHooks:{opacity:{get:function(t,e){if(e){var n=C(t,"opacity");return""===n?"1":n}}}},cssNumber:{columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},
cssProps:{float:"cssFloat"},style:function(t,e,n,i){if(t&&3!==t.nodeType&&8!==t.nodeType&&t.style){var r,o,a,s=nt.camelCase(e),u=t.style;if(e=nt.cssProps[s]||(nt.cssProps[s]=k(u,s)),a=nt.cssHooks[e]||nt.cssHooks[s],void 0===n)return a&&"get"in a&&void 0!==(r=a.get(t,!1,i))?r:u[e];o=typeof n,"string"===o&&(r=Kt.exec(n))&&(n=(r[1]+1)*r[2]+parseFloat(nt.css(t,e)),o="number"),null!=n&&n===n&&("number"!==o||nt.cssNumber[s]||(n+="px"),
tt.clearCloneStyle||""!==n||0!==e.indexOf("background")||(u[e]="inherit"),a&&"set"in a&&void 0===(n=a.set(t,n,i))||(u[e]=n))}},css:function(t,e,n,i){var r,o,a,s=nt.camelCase(e);return e=nt.cssProps[s]||(nt.cssProps[s]=k(t.style,s)),a=nt.cssHooks[e]||nt.cssHooks[s],a&&"get"in a&&(r=a.get(t,!0,n)),void 0===r&&(r=C(t,e,i)),"normal"===r&&e in Gt&&(r=Gt[e]),""===n||n?(o=parseFloat(r),!0===n||nt.isNumeric(o)?o||0:r):r}}),nt.each(["height","width"],function(t,e){nt.cssHooks[e]={get:function(t,n,i){
if(n)return zt.test(nt.css(t,"display"))&&0===t.offsetWidth?nt.swap(t,$t,function(){return N(t,e,i)}):N(t,e,i)},set:function(t,n,i){var r=i&&Wt(t);return M(t,n,i?P(t,e,i,"border-box"===nt.css(t,"boxSizing",!1,r),r):0)}}}),nt.cssHooks.marginRight=S(tt.reliableMarginRight,function(t,e){if(e)return nt.swap(t,{display:"inline-block"},C,[t,"marginRight"])}),nt.each({margin:"",padding:"",border:"Width"},function(t,e){nt.cssHooks[t+e]={expand:function(n){
for(var i=0,r={},o="string"==typeof n?n.split(" "):[n];i<4;i++)r[t+Tt[i]+e]=o[i]||o[i-2]||o[0];return r}},Vt.test(t)||(nt.cssHooks[t+e].set=M)}),nt.fn.extend({css:function(t,e){return yt(this,function(t,e,n){var i,r,o={},a=0;if(nt.isArray(e)){for(i=Wt(t),r=e.length;a<r;a++)o[e[a]]=nt.css(t,e[a],!1,i);return o}return void 0!==n?nt.style(t,e,n):nt.css(t,e)},t,e,arguments.length>1)},show:function(){return I(this,!0)},hide:function(){return I(this)},toggle:function(t){
return"boolean"==typeof t?t?this.show():this.hide():this.each(function(){Ct(this)?nt(this).show():nt(this).hide()})}}),nt.Tween=A,A.prototype={constructor:A,init:function(t,e,n,i,r,o){this.elem=t,this.prop=n,this.easing=r||"swing",this.options=e,this.start=this.now=this.cur(),this.end=i,this.unit=o||(nt.cssNumber[n]?"":"px")},cur:function(){var t=A.propHooks[this.prop];return t&&t.get?t.get(this):A.propHooks._default.get(this)},run:function(t){var e,n=A.propHooks[this.prop]
;return this.options.duration?this.pos=e=nt.easing[this.easing](t,this.options.duration*t,0,1,this.options.duration):this.pos=e=t,this.now=(this.end-this.start)*e+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):A.propHooks._default.set(this),this}},A.prototype.init.prototype=A.prototype,A.propHooks={_default:{get:function(t){var e;return null==t.elem[t.prop]||t.elem.style&&null!=t.elem.style[t.prop]?(e=nt.css(t.elem,t.prop,""),
e&&"auto"!==e?e:0):t.elem[t.prop]},set:function(t){nt.fx.step[t.prop]?nt.fx.step[t.prop](t):t.elem.style&&(null!=t.elem.style[nt.cssProps[t.prop]]||nt.cssHooks[t.prop])?nt.style(t.elem,t.prop,t.now+t.unit):t.elem[t.prop]=t.now}}},A.propHooks.scrollTop=A.propHooks.scrollLeft={set:function(t){t.elem.nodeType&&t.elem.parentNode&&(t.elem[t.prop]=t.now)}},nt.easing={linear:function(t){return t},swing:function(t){return.5-Math.cos(t*Math.PI)/2}},nt.fx=A.prototype.init,nt.fx.step={}
;var Jt,Qt,Zt=/^(?:toggle|show|hide)$/,te=new RegExp("^(?:([+-])=|)("+xt+")([a-z%]*)$","i"),ee=/queueHooks$/,ne=[L],ie={"*":[function(t,e){var n=this.createTween(t,e),i=n.cur(),r=te.exec(e),o=r&&r[3]||(nt.cssNumber[t]?"":"px"),a=(nt.cssNumber[t]||"px"!==o&&+i)&&te.exec(nt.css(n.elem,t)),s=1,u=20;if(a&&a[3]!==o){o=o||a[3],r=r||[],a=+i||1;do{s=s||".5",a/=s,nt.style(n.elem,t,a+o)}while(s!==(s=n.cur()/i)&&1!==s&&--u)}return r&&(a=n.start=+a||+i||0,n.unit=o,n.end=r[1]?a+(r[1]+1)*r[2]:+r[2]),n}]}
;nt.Animation=nt.extend(U,{tweener:function(t,e){nt.isFunction(t)?(e=t,t=["*"]):t=t.split(" ");for(var n,i=0,r=t.length;i<r;i++)n=t[i],ie[n]=ie[n]||[],ie[n].unshift(e)},prefilter:function(t,e){e?ne.unshift(t):ne.push(t)}}),nt.speed=function(t,e,n){var i=t&&"object"==typeof t?nt.extend({},t):{complete:n||!n&&e||nt.isFunction(t)&&t,duration:t,easing:n&&e||e&&!nt.isFunction(e)&&e}
;return i.duration=nt.fx.off?0:"number"==typeof i.duration?i.duration:i.duration in nt.fx.speeds?nt.fx.speeds[i.duration]:nt.fx.speeds._default,null!=i.queue&&!0!==i.queue||(i.queue="fx"),i.old=i.complete,i.complete=function(){nt.isFunction(i.old)&&i.old.call(this),i.queue&&nt.dequeue(this,i.queue)},i},nt.fn.extend({fadeTo:function(t,e,n,i){return this.filter(Ct).css("opacity",0).show().end().animate({opacity:e},t,n,i)},animate:function(t,e,n,i){
var r=nt.isEmptyObject(t),o=nt.speed(e,n,i),a=function(){var e=U(this,nt.extend({},t),o);(r||bt.get(this,"finish"))&&e.stop(!0)};return a.finish=a,r||!1===o.queue?this.each(a):this.queue(o.queue,a)},stop:function(t,e,n){var i=function(t){var e=t.stop;delete t.stop,e(n)};return"string"!=typeof t&&(n=e,e=t,t=void 0),e&&!1!==t&&this.queue(t||"fx",[]),this.each(function(){var e=!0,r=null!=t&&t+"queueHooks",o=nt.timers,a=bt.get(this)
;if(r)a[r]&&a[r].stop&&i(a[r]);else for(r in a)a[r]&&a[r].stop&&ee.test(r)&&i(a[r]);for(r=o.length;r--;)o[r].elem!==this||null!=t&&o[r].queue!==t||(o[r].anim.stop(n),e=!1,o.splice(r,1));!e&&n||nt.dequeue(this,t)})},finish:function(t){return!1!==t&&(t=t||"fx"),this.each(function(){var e,n=bt.get(this),i=n[t+"queue"],r=n[t+"queueHooks"],o=nt.timers,a=i?i.length:0;for(n.finish=!0,nt.queue(this,t,[]),r&&r.stop&&r.stop.call(this,!0),
e=o.length;e--;)o[e].elem===this&&o[e].queue===t&&(o[e].anim.stop(!0),o.splice(e,1));for(e=0;e<a;e++)i[e]&&i[e].finish&&i[e].finish.call(this);delete n.finish})}}),nt.each(["toggle","show","hide"],function(t,e){var n=nt.fn[e];nt.fn[e]=function(t,i,r){return null==t||"boolean"==typeof t?n.apply(this,arguments):this.animate(O(e,!0),t,i,r)}}),nt.each({slideDown:O("show"),slideUp:O("hide"),slideToggle:O("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}
},function(t,e){nt.fn[t]=function(t,n,i){return this.animate(e,t,n,i)}}),nt.timers=[],nt.fx.tick=function(){var t,e=0,n=nt.timers;for(Jt=nt.now();e<n.length;e++)(t=n[e])()||n[e]!==t||n.splice(e--,1);n.length||nt.fx.stop(),Jt=void 0},nt.fx.timer=function(t){nt.timers.push(t),t()?nt.fx.start():nt.timers.pop()},nt.fx.interval=13,nt.fx.start=function(){Qt||(Qt=setInterval(nt.fx.tick,nt.fx.interval))},nt.fx.stop=function(){clearInterval(Qt),Qt=null},nt.fx.speeds={slow:600,fast:200,_default:400},
nt.fn.delay=function(t,e){return t=nt.fx?nt.fx.speeds[t]||t:t,e=e||"fx",this.queue(e,function(e,n){var i=setTimeout(e,t);n.stop=function(){clearTimeout(i)}})},function(){var t=et.createElement("input"),e=et.createElement("select"),n=e.appendChild(et.createElement("option"));t.type="checkbox",tt.checkOn=""!==t.value,tt.optSelected=n.selected,e.disabled=!0,tt.optDisabled=!n.disabled,t=et.createElement("input"),t.value="t",t.type="radio",tt.radioValue="t"===t.value}();var re,oe=nt.expr.attrHandle
;nt.fn.extend({attr:function(t,e){return yt(this,nt.attr,t,e,arguments.length>1)},removeAttr:function(t){return this.each(function(){nt.removeAttr(this,t)})}}),nt.extend({attr:function(t,e,n){var i,r,o=t.nodeType;if(t&&3!==o&&8!==o&&2!==o)return void 0===t.getAttribute?nt.prop(t,e,n):(1===o&&nt.isXMLDoc(t)||(e=e.toLowerCase(),i=nt.attrHooks[e]||(nt.expr.match.bool.test(e)?re:void 0)),void 0===n?i&&"get"in i&&null!==(r=i.get(t,e))?r:(r=nt.find.attr(t,e),
null==r?void 0:r):null!==n?i&&"set"in i&&void 0!==(r=i.set(t,n,e))?r:(t.setAttribute(e,n+""),n):void nt.removeAttr(t,e))},removeAttr:function(t,e){var n,i,r=0,o=e&&e.match(mt);if(o&&1===t.nodeType)for(;n=o[r++];)i=nt.propFix[n]||n,nt.expr.match.bool.test(n)&&(t[i]=!1),t.removeAttribute(n)},attrHooks:{type:{set:function(t,e){if(!tt.radioValue&&"radio"===e&&nt.nodeName(t,"input")){var n=t.value;return t.setAttribute("type",e),n&&(t.value=n),e}}}}}),re={set:function(t,e,n){
return!1===e?nt.removeAttr(t,n):t.setAttribute(n,n),n}},nt.each(nt.expr.match.bool.source.match(/\w+/g),function(t,e){var n=oe[e]||nt.find.attr;oe[e]=function(t,e,i){var r,o;return i||(o=oe[e],oe[e]=r,r=null!=n(t,e,i)?e.toLowerCase():null,oe[e]=o),r}});var ae=/^(?:input|select|textarea|button)$/i;nt.fn.extend({prop:function(t,e){return yt(this,nt.prop,t,e,arguments.length>1)},removeProp:function(t){return this.each(function(){delete this[nt.propFix[t]||t]})}}),nt.extend({propFix:{for:"htmlFor",
class:"className"},prop:function(t,e,n){var i,r,o,a=t.nodeType;if(t&&3!==a&&8!==a&&2!==a)return o=1!==a||!nt.isXMLDoc(t),o&&(e=nt.propFix[e]||e,r=nt.propHooks[e]),void 0!==n?r&&"set"in r&&void 0!==(i=r.set(t,n,e))?i:t[e]=n:r&&"get"in r&&null!==(i=r.get(t,e))?i:t[e]},propHooks:{tabIndex:{get:function(t){return t.hasAttribute("tabindex")||ae.test(t.nodeName)||t.href?t.tabIndex:-1}}}}),tt.optSelected||(nt.propHooks.selected={get:function(t){var e=t.parentNode
;return e&&e.parentNode&&e.parentNode.selectedIndex,null}}),nt.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){nt.propFix[this.toLowerCase()]=this});var se=/[\t\r\n\f]/g;nt.fn.extend({addClass:function(t){var e,n,i,r,o,a,s="string"==typeof t&&t,u=0,c=this.length;if(nt.isFunction(t))return this.each(function(e){nt(this).addClass(t.call(this,e,this.className))})
;if(s)for(e=(t||"").match(mt)||[];u<c;u++)if(n=this[u],i=1===n.nodeType&&(n.className?(" "+n.className+" ").replace(se," "):" ")){for(o=0;r=e[o++];)i.indexOf(" "+r+" ")<0&&(i+=r+" ");a=nt.trim(i),n.className!==a&&(n.className=a)}return this},removeClass:function(t){var e,n,i,r,o,a,s=0===arguments.length||"string"==typeof t&&t,u=0,c=this.length;if(nt.isFunction(t))return this.each(function(e){nt(this).removeClass(t.call(this,e,this.className))})
;if(s)for(e=(t||"").match(mt)||[];u<c;u++)if(n=this[u],i=1===n.nodeType&&(n.className?(" "+n.className+" ").replace(se," "):"")){for(o=0;r=e[o++];)for(;i.indexOf(" "+r+" ")>=0;)i=i.replace(" "+r+" "," ");a=t?nt.trim(i):"",n.className!==a&&(n.className=a)}return this},toggleClass:function(t,e){var n=typeof t;return"boolean"==typeof e&&"string"===n?e?this.addClass(t):this.removeClass(t):nt.isFunction(t)?this.each(function(n){nt(this).toggleClass(t.call(this,n,this.className,e),e)
}):this.each(function(){if("string"===n)for(var e,i=0,r=nt(this),o=t.match(mt)||[];e=o[i++];)r.hasClass(e)?r.removeClass(e):r.addClass(e);else"undefined"!==n&&"boolean"!==n||(this.className&&bt.set(this,"__className__",this.className),this.className=this.className||!1===t?"":bt.get(this,"__className__")||"")})},hasClass:function(t){for(var e=" "+t+" ",n=0,i=this.length;n<i;n++)if(1===this[n].nodeType&&(" "+this[n].className+" ").replace(se," ").indexOf(e)>=0)return!0;return!1}});var ue=/\r/g
;nt.fn.extend({val:function(t){var e,n,i,r=this[0];{if(arguments.length)return i=nt.isFunction(t),this.each(function(n){var r;1===this.nodeType&&(r=i?t.call(this,n,nt(this).val()):t,null==r?r="":"number"==typeof r?r+="":nt.isArray(r)&&(r=nt.map(r,function(t){return null==t?"":t+""})),(e=nt.valHooks[this.type]||nt.valHooks[this.nodeName.toLowerCase()])&&"set"in e&&void 0!==e.set(this,r,"value")||(this.value=r))})
;if(r)return(e=nt.valHooks[r.type]||nt.valHooks[r.nodeName.toLowerCase()])&&"get"in e&&void 0!==(n=e.get(r,"value"))?n:(n=r.value,"string"==typeof n?n.replace(ue,""):null==n?"":n)}}}),nt.extend({valHooks:{option:{get:function(t){var e=nt.find.attr(t,"value");return null!=e?e:nt.trim(nt.text(t))}},select:{get:function(t){for(var e,n,i=t.options,r=t.selectedIndex,o="select-one"===t.type||r<0,a=o?null:[],s=o?r+1:i.length,u=r<0?s:o?r:0;u<s;u++)if(n=i[u],
(n.selected||u===r)&&(tt.optDisabled?!n.disabled:null===n.getAttribute("disabled"))&&(!n.parentNode.disabled||!nt.nodeName(n.parentNode,"optgroup"))){if(e=nt(n).val(),o)return e;a.push(e)}return a},set:function(t,e){for(var n,i,r=t.options,o=nt.makeArray(e),a=r.length;a--;)i=r[a],(i.selected=nt.inArray(i.value,o)>=0)&&(n=!0);return n||(t.selectedIndex=-1),o}}}}),nt.each(["radio","checkbox"],function(){nt.valHooks[this]={set:function(t,e){
if(nt.isArray(e))return t.checked=nt.inArray(nt(t).val(),e)>=0}},tt.checkOn||(nt.valHooks[this].get=function(t){return null===t.getAttribute("value")?"on":t.value})}),nt.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu".split(" "),function(t,e){nt.fn[e]=function(t,n){return arguments.length>0?this.on(e,null,t,n):this.trigger(e)}}),
nt.fn.extend({hover:function(t,e){return this.mouseenter(t).mouseleave(e||t)},bind:function(t,e,n){return this.on(t,null,e,n)},unbind:function(t,e){return this.off(t,null,e)},delegate:function(t,e,n,i){return this.on(e,t,n,i)},undelegate:function(t,e,n){return 1===arguments.length?this.off(t,"**"):this.off(e,t||"**",n)}});var ce=nt.now(),le=/\?/;nt.parseJSON=function(t){return JSON.parse(t+"")},nt.parseXML=function(t){var e,n;if(!t||"string"!=typeof t)return null;try{n=new DOMParser,
e=n.parseFromString(t,"text/xml")}catch(t){e=void 0}return e&&!e.getElementsByTagName("parsererror").length||nt.error("Invalid XML: "+t),e};var he=/#.*$/,fe=/([?&])_=[^&]*/,de=/^(.*?):[ \t]*([^\r\n]*)$/gm,pe=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,me=/^(?:GET|HEAD)$/,ge=/^\/\//,ve=/^([\w.+-]+:)(?:\/\/(?:[^\/?#]*@|)([^\/?#:]*)(?::(\d+)|)|)/,ye={},be={},we="*/".concat("*"),_e=n.location.href,Ee=ve.exec(_e.toLowerCase())||[];nt.extend({active:0,lastModified:{},etag:{},
ajaxSettings:{url:_e,type:"GET",isLocal:pe.test(Ee[1]),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":we,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":nt.parseJSON,"text xml":nt.parseXML},
flatOptions:{url:!0,context:!0}},ajaxSetup:function(t,e){return e?H(H(t,nt.ajaxSettings),e):H(nt.ajaxSettings,t)},ajaxPrefilter:F(ye),ajaxTransport:F(be),ajax:function(t,e){function n(t,e,n,a){var u,l,v,y,w,E=e;2!==b&&(b=2,s&&clearTimeout(s),i=void 0,o=a||"",_.readyState=t>0?4:0,u=t>=200&&t<300||304===t,n&&(y=V(h,_,n)),y=q(h,y,_,u),u?(h.ifModified&&(w=_.getResponseHeader("Last-Modified"),w&&(nt.lastModified[r]=w),(w=_.getResponseHeader("etag"))&&(nt.etag[r]=w)),
204===t||"HEAD"===h.type?E="nocontent":304===t?E="notmodified":(E=y.state,l=y.data,v=y.error,u=!v)):(v=E,!t&&E||(E="error",t<0&&(t=0))),_.status=t,_.statusText=(e||E)+"",u?p.resolveWith(f,[l,E,_]):p.rejectWith(f,[_,E,v]),_.statusCode(g),g=void 0,c&&d.trigger(u?"ajaxSuccess":"ajaxError",[_,h,u?l:v]),m.fireWith(f,[_,E]),c&&(d.trigger("ajaxComplete",[_,h]),--nt.active||nt.event.trigger("ajaxStop")))}"object"==typeof t&&(e=t,t=void 0),e=e||{}
;var i,r,o,a,s,u,c,l,h=nt.ajaxSetup({},e),f=h.context||h,d=h.context&&(f.nodeType||f.jquery)?nt(f):nt.event,p=nt.Deferred(),m=nt.Callbacks("once memory"),g=h.statusCode||{},v={},y={},b=0,w="canceled",_={readyState:0,getResponseHeader:function(t){var e;if(2===b){if(!a)for(a={};e=de.exec(o);)a[e[1].toLowerCase()]=e[2];e=a[t.toLowerCase()]}return null==e?null:e},getAllResponseHeaders:function(){return 2===b?o:null},setRequestHeader:function(t,e){var n=t.toLowerCase();return b||(t=y[n]=y[n]||t,
v[t]=e),this},overrideMimeType:function(t){return b||(h.mimeType=t),this},statusCode:function(t){var e;if(t)if(b<2)for(e in t)g[e]=[g[e],t[e]];else _.always(t[_.status]);return this},abort:function(t){var e=t||w;return i&&i.abort(e),n(0,e),this}};if(p.promise(_).complete=m.add,_.success=_.done,_.error=_.fail,h.url=((t||h.url||_e)+"").replace(he,"").replace(ge,Ee[1]+"//"),h.type=e.method||e.type||h.method||h.type,h.dataTypes=nt.trim(h.dataType||"*").toLowerCase().match(mt)||[""],
null==h.crossDomain&&(u=ve.exec(h.url.toLowerCase()),h.crossDomain=!(!u||u[1]===Ee[1]&&u[2]===Ee[2]&&(u[3]||("http:"===u[1]?"80":"443"))===(Ee[3]||("http:"===Ee[1]?"80":"443")))),h.data&&h.processData&&"string"!=typeof h.data&&(h.data=nt.param(h.data,h.traditional)),B(ye,h,e,_),2===b)return _;c=nt.event&&h.global,c&&0==nt.active++&&nt.event.trigger("ajaxStart"),h.type=h.type.toUpperCase(),h.hasContent=!me.test(h.type),r=h.url,h.hasContent||(h.data&&(r=h.url+=(le.test(r)?"&":"?")+h.data,
delete h.data),!1===h.cache&&(h.url=fe.test(r)?r.replace(fe,"$1_="+ce++):r+(le.test(r)?"&":"?")+"_="+ce++)),h.ifModified&&(nt.lastModified[r]&&_.setRequestHeader("If-Modified-Since",nt.lastModified[r]),nt.etag[r]&&_.setRequestHeader("If-None-Match",nt.etag[r])),(h.data&&h.hasContent&&!1!==h.contentType||e.contentType)&&_.setRequestHeader("Content-Type",h.contentType),
_.setRequestHeader("Accept",h.dataTypes[0]&&h.accepts[h.dataTypes[0]]?h.accepts[h.dataTypes[0]]+("*"!==h.dataTypes[0]?", "+we+"; q=0.01":""):h.accepts["*"]);for(l in h.headers)_.setRequestHeader(l,h.headers[l]);if(h.beforeSend&&(!1===h.beforeSend.call(f,_,h)||2===b))return _.abort();w="abort";for(l in{success:1,error:1,complete:1})_[l](h[l]);if(i=B(be,h,e,_)){_.readyState=1,c&&d.trigger("ajaxSend",[_,h]),h.async&&h.timeout>0&&(s=setTimeout(function(){_.abort("timeout")},h.timeout));try{b=1,
i.send(v,n)}catch(t){if(!(b<2))throw t;n(-1,t)}}else n(-1,"No Transport");return _},getJSON:function(t,e,n){return nt.get(t,e,n,"json")},getScript:function(t,e){return nt.get(t,void 0,e,"script")}}),nt.each(["get","post"],function(t,e){nt[e]=function(t,n,i,r){return nt.isFunction(n)&&(r=r||i,i=n,n=void 0),nt.ajax({url:t,type:e,dataType:r,data:n,success:i})}}),nt._evalUrl=function(t){return nt.ajax({url:t,type:"GET",dataType:"script",async:!1,global:!1,throws:!0})},nt.fn.extend({
wrapAll:function(t){var e;return nt.isFunction(t)?this.each(function(e){nt(this).wrapAll(t.call(this,e))}):(this[0]&&(e=nt(t,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&e.insertBefore(this[0]),e.map(function(){for(var t=this;t.firstElementChild;)t=t.firstElementChild;return t}).append(this)),this)},wrapInner:function(t){return nt.isFunction(t)?this.each(function(e){nt(this).wrapInner(t.call(this,e))}):this.each(function(){var e=nt(this),n=e.contents()
;n.length?n.wrapAll(t):e.append(t)})},wrap:function(t){var e=nt.isFunction(t);return this.each(function(n){nt(this).wrapAll(e?t.call(this,n):t)})},unwrap:function(){return this.parent().each(function(){nt.nodeName(this,"body")||nt(this).replaceWith(this.childNodes)}).end()}}),nt.expr.filters.hidden=function(t){return t.offsetWidth<=0&&t.offsetHeight<=0},nt.expr.filters.visible=function(t){return!nt.expr.filters.hidden(t)}
;var xe=/%20/g,Te=/\[\]$/,Ce=/\r?\n/g,Se=/^(?:submit|button|image|reset|file)$/i,ke=/^(?:input|select|textarea|keygen)/i;nt.param=function(t,e){var n,i=[],r=function(t,e){e=nt.isFunction(e)?e():null==e?"":e,i[i.length]=encodeURIComponent(t)+"="+encodeURIComponent(e)};if(void 0===e&&(e=nt.ajaxSettings&&nt.ajaxSettings.traditional),nt.isArray(t)||t.jquery&&!nt.isPlainObject(t))nt.each(t,function(){r(this.name,this.value)});else for(n in t)W(n,t[n],e,r);return i.join("&").replace(xe,"+")},
nt.fn.extend({serialize:function(){return nt.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var t=nt.prop(this,"elements");return t?nt.makeArray(t):this}).filter(function(){var t=this.type;return this.name&&!nt(this).is(":disabled")&&ke.test(this.nodeName)&&!Se.test(t)&&(this.checked||!St.test(t))}).map(function(t,e){var n=nt(this).val();return null==n?null:nt.isArray(n)?nt.map(n,function(t){return{name:e.name,value:t.replace(Ce,"\r\n")}}):{name:e.name,
value:n.replace(Ce,"\r\n")}}).get()}}),nt.ajaxSettings.xhr=function(){try{return new XMLHttpRequest}catch(t){}};var Me=0,Pe={},Ne={0:200,1223:204},Ie=nt.ajaxSettings.xhr();n.attachEvent&&n.attachEvent("onunload",function(){for(var t in Pe)Pe[t]()}),tt.cors=!!Ie&&"withCredentials"in Ie,tt.ajax=Ie=!!Ie,nt.ajaxTransport(function(t){var e;if(tt.cors||Ie&&!t.crossDomain)return{send:function(n,i){var r,o=t.xhr(),a=++Me;if(o.open(t.type,t.url,t.async,t.username,t.password),
t.xhrFields)for(r in t.xhrFields)o[r]=t.xhrFields[r];t.mimeType&&o.overrideMimeType&&o.overrideMimeType(t.mimeType),t.crossDomain||n["X-Requested-With"]||(n["X-Requested-With"]="XMLHttpRequest");for(r in n)o.setRequestHeader(r,n[r]);e=function(t){return function(){e&&(delete Pe[a],e=o.onload=o.onerror=null,"abort"===t?o.abort():"error"===t?i(o.status,o.statusText):i(Ne[o.status]||o.status,o.statusText,"string"==typeof o.responseText?{text:o.responseText}:void 0,o.getAllResponseHeaders()))}},
o.onload=e(),o.onerror=e("error"),e=Pe[a]=e("abort");try{o.send(t.hasContent&&t.data||null)}catch(t){if(e)throw t}},abort:function(){e&&e()}}}),nt.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/(?:java|ecma)script/},converters:{"text script":function(t){return nt.globalEval(t),t}}}),nt.ajaxPrefilter("script",function(t){void 0===t.cache&&(t.cache=!1),t.crossDomain&&(t.type="GET")}),
nt.ajaxTransport("script",function(t){if(t.crossDomain){var e,n;return{send:function(i,r){e=nt("<script>").prop({async:!0,charset:t.scriptCharset,src:t.url}).on("load error",n=function(t){e.remove(),n=null,t&&r("error"===t.type?404:200,t.type)}),et.head.appendChild(e[0])},abort:function(){n&&n()}}}});var Ae=[],De=/(=)\?(?=&|$)|\?\?/;nt.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var t=Ae.pop()||nt.expando+"_"+ce++;return this[t]=!0,t}}),nt.ajaxPrefilter("json jsonp",function(t,e,i){
var r,o,a,s=!1!==t.jsonp&&(De.test(t.url)?"url":"string"==typeof t.data&&!(t.contentType||"").indexOf("application/x-www-form-urlencoded")&&De.test(t.data)&&"data");if(s||"jsonp"===t.dataTypes[0])return r=t.jsonpCallback=nt.isFunction(t.jsonpCallback)?t.jsonpCallback():t.jsonpCallback,s?t[s]=t[s].replace(De,"$1"+r):!1!==t.jsonp&&(t.url+=(le.test(t.url)?"&":"?")+t.jsonp+"="+r),t.converters["script json"]=function(){return a||nt.error(r+" was not called"),a[0]},t.dataTypes[0]="json",o=n[r],
n[r]=function(){a=arguments},i.always(function(){n[r]=o,t[r]&&(t.jsonpCallback=e.jsonpCallback,Ae.push(r)),a&&nt.isFunction(o)&&o(a[0]),a=o=void 0}),"script"}),nt.parseHTML=function(t,e,n){if(!t||"string"!=typeof t)return null;"boolean"==typeof e&&(n=e,e=!1),e=e||et;var i=ct.exec(t),r=!n&&[];return i?[e.createElement(i[1])]:(i=nt.buildFragment([t],e,r),r&&r.length&&nt(r).remove(),nt.merge([],i.childNodes))};var Oe=nt.fn.load;nt.fn.load=function(t,e,n){
if("string"!=typeof t&&Oe)return Oe.apply(this,arguments);var i,r,o,a=this,s=t.indexOf(" ");return s>=0&&(i=nt.trim(t.slice(s)),t=t.slice(0,s)),nt.isFunction(e)?(n=e,e=void 0):e&&"object"==typeof e&&(r="POST"),a.length>0&&nt.ajax({url:t,type:r,dataType:"html",data:e}).done(function(t){o=arguments,a.html(i?nt("<div>").append(nt.parseHTML(t)).find(i):t)}).complete(n&&function(t,e){a.each(n,o||[t.responseText,e,t])}),this},
nt.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(t,e){nt.fn[e]=function(t){return this.on(e,t)}}),nt.expr.filters.animated=function(t){return nt.grep(nt.timers,function(e){return t===e.elem}).length};var Re=n.document.documentElement;nt.offset={setOffset:function(t,e,n){var i,r,o,a,s,u,c,l=nt.css(t,"position"),h=nt(t),f={};"static"===l&&(t.style.position="relative"),s=h.offset(),o=nt.css(t,"top"),u=nt.css(t,"left"),
c=("absolute"===l||"fixed"===l)&&(o+u).indexOf("auto")>-1,c?(i=h.position(),a=i.top,r=i.left):(a=parseFloat(o)||0,r=parseFloat(u)||0),nt.isFunction(e)&&(e=e.call(t,n,s)),null!=e.top&&(f.top=e.top-s.top+a),null!=e.left&&(f.left=e.left-s.left+r),"using"in e?e.using.call(t,f):h.css(f)}},nt.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){nt.offset.setOffset(this,t,e)});var e,n,i=this[0],r={top:0,left:0},o=i&&i.ownerDocument
;if(o)return e=o.documentElement,nt.contains(e,i)?(void 0!==i.getBoundingClientRect&&(r=i.getBoundingClientRect()),n=z(o),{top:r.top+n.pageYOffset-e.clientTop,left:r.left+n.pageXOffset-e.clientLeft}):r},position:function(){if(this[0]){var t,e,n=this[0],i={top:0,left:0};return"fixed"===nt.css(n,"position")?e=n.getBoundingClientRect():(t=this.offsetParent(),e=this.offset(),nt.nodeName(t[0],"html")||(i=t.offset()),i.top+=nt.css(t[0],"borderTopWidth",!0),i.left+=nt.css(t[0],"borderLeftWidth",!0)),{
top:e.top-i.top-nt.css(n,"marginTop",!0),left:e.left-i.left-nt.css(n,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var t=this.offsetParent||Re;t&&!nt.nodeName(t,"html")&&"static"===nt.css(t,"position");)t=t.offsetParent;return t||Re})}}),nt.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,e){var i="pageYOffset"===e;nt.fn[t]=function(r){return yt(this,function(t,r,o){var a=z(t);if(void 0===o)return a?a[e]:t[r]
;a?a.scrollTo(i?n.pageXOffset:o,i?o:n.pageYOffset):t[r]=o},t,r,arguments.length,null)}}),nt.each(["top","left"],function(t,e){nt.cssHooks[e]=S(tt.pixelPosition,function(t,n){if(n)return n=C(t,e),qt.test(n)?nt(t).position()[e]+"px":n})}),nt.each({Height:"height",Width:"width"},function(t,e){nt.each({padding:"inner"+t,content:e,"":"outer"+t},function(n,i){nt.fn[i]=function(i,r){var o=arguments.length&&(n||"boolean"!=typeof i),a=n||(!0===i||!0===r?"margin":"border");return yt(this,function(e,n,i){
var r;return nt.isWindow(e)?e.document.documentElement["client"+t]:9===e.nodeType?(r=e.documentElement,Math.max(e.body["scroll"+t],r["scroll"+t],e.body["offset"+t],r["offset"+t],r["client"+t])):void 0===i?nt.css(e,n,a):nt.style(e,n,i,a)},e,o?i:void 0,o,null)}})}),nt.fn.size=function(){return this.length},nt.fn.andSelf=nt.fn.addBack,i=[],void 0!==(r=function(){return nt}.apply(e,i))&&(t.exports=r);var Le=n.jQuery,je=n.$;return nt.noConflict=function(t){return n.$===nt&&(n.$=je),
t&&n.jQuery===nt&&(n.jQuery=Le),nt},void 0===o&&(n.jQuery=n.$=nt),nt})},114:function(t,e,n){"use strict";var i=!("undefined"==typeof window||!window.document||!window.document.createElement),r={canUseDOM:i,canUseWorkers:"undefined"!=typeof Worker,canUseEventListeners:i&&!(!window.addEventListener&&!window.attachEvent),canUseViewport:i&&!!window.screen,isInWorker:!i};t.exports=r},1184:function(t,e,n){var i;!function(){var r={};(function(t){function e(t,e){var n=t.split("."),i=oa
;n[0]in i||!i.execScript||i.execScript("var "+n[0]);for(var r;n.length&&(r=n.shift());)n.length||void 0===e?i=i[r]?i[r]:i[r]={}:i[r]=e}function n(t){function e(){}var n=fe;e.prototype=n.prototype,t.ze=n.prototype,t.prototype=new e,t.prototype.constructor=t,t.we=function(t,e,i){return n.prototype[e].apply(t,Array.prototype.slice.call(arguments,2))}}function i(t){this.c=Math.exp(Math.log(.5)/t),this.b=this.a=0}function r(t,e,n){var i=Math.pow(t.c,e);n=n*(1-i)+i*t.a,isNaN(n)||(t.a=n,t.b+=e)}
function o(t){return t.a/(1-Math.pow(t.c,t.b))}function a(){this.c=new i(2),this.f=new i(5),this.a=0,this.b=5e5}function s(){}function u(t,e,n,i){this.severity=t,this.category=e,this.code=n,this.data=Array.prototype.slice.call(arguments,3)}function c(t){var e;t instanceof c?(l(this,t.$),this.Aa=t.Aa,this.ba=t.ba,h(this,t.Ia),this.W=t.W,f(this,v(t.a)),this.ta=t.ta):t&&(e=String(t).match(aa))?(l(this,e[1]||"",!0),this.Aa=d(e[2]||""),this.ba=d(e[3]||"",!0),h(this,e[4]),this.W=d(e[5]||"",!0),
f(this,e[6]||"",!0),this.ta=d(e[7]||"")):this.a=new g(null)}function l(t,e,n){t.$=n?d(e,!0):e,t.$&&(t.$=t.$.replace(/:$/,""))}function h(t,e){if(e){if(e=Number(e),isNaN(e)||0>e)throw Error("Bad port number "+e);t.Ia=e}else t.Ia=null}function f(t,e,n){e instanceof g?t.a=e:(n||(e=p(e,la)),t.a=new g(e))}function d(t,e){return t?e?decodeURI(t):decodeURIComponent(t):""}function p(t,e,n){return"string"==typeof t?(t=encodeURI(t).replace(e,m),n&&(t=t.replace(/%25([0-9a-fA-F]{2})/g,"%$1")),t):null}
function m(t){return t=t.charCodeAt(0),"%"+(t>>4&15).toString(16)+(15&t).toString(16)}function g(t){this.b=t||null}function v(t){var e=new g;if(e.b=t.b,t.a){var n,i={};for(n in t.a)i[n]=t.a[n].concat();e.a=i,e.c=t.c}return e}function y(t,e){return t.reduce(function(t,e,n){return e.catch(t.bind(null,n))}.bind(null,e),Promise.reject())}function b(t,e){return t.concat(e)}function w(){}function _(t){return null!=t}function E(t){return function(e){return e!=t}}function x(t,e,n){return n.indexOf(t)==e
}function T(t,e){if(!e.length)return t;var n=e.map(function(t){return new c(t)});return t.map(function(t){return new c(t)}).map(function(t){return n.map(t.resolve.bind(t))}).reduce(b,[]).map(function(t){return t.toString()})}function C(t,e){return{keySystem:t,licenseServerUri:"",distinctiveIdentifierRequired:!1,persistentStateRequired:!1,audioRobustness:"",videoRobustness:"",serverCertificate:null,initData:e||[],keyIds:[]}}function S(t,e,n,i,r){var o,a=r in i;for(o in e){
var s=r+"."+o,u=a?i[r]:n[o],c=!!{".abr.manager":!0}[s]||!!{serverCertificate:!0}[o];(a||o in t)&&(void 0===e[o]?void 0===u||a?delete t[o]:t[o]=u:c?t[o]=e[o]:"object"==typeof t[o]&&"object"==typeof e[o]?S(t[o],e[o],u,i,s):typeof e[o]==typeof u&&(t[o]=e[o]))}}function k(t){return JSON.parse(JSON.stringify(t))}function M(){var t,e,n=new Promise(function(n,i){t=n,e=i});return n.resolve=t,n.reject=e,n}function P(t){this.f=!1,this.a=[],this.b=[],this.c=[],this.h=t||null}function N(){return{
maxAttempts:2,baseDelay:1e3,backoffFactor:2,fuzzFactor:.5,timeout:0}}function I(t,e){return{uris:t,method:"GET",body:null,headers:{},allowCrossSiteCredentials:!1,retryParameters:e}}function A(t,e,n){for(var i=0;i<t.length;++i)if(n(t[i],e))return i;return-1}function D(){this.a={}}function O(){this.a=new D}function R(t,e,n,i){t.a&&(e=new U(e,n,i),t.a.push(n,e))}function L(t,e,n,i){R(t,e,n,function(t){this.ha(e,n),i(t)}.bind(t))}function j(t){if(t.a){var e,n=t.a,i=[]
;for(e in n.a)i.push.apply(i,n.a[e]);for(n=0;n<i.length;++n)i[n].ha();t.a.a={}}}function U(t,e,n){this.target=t,this.type=e,this.a=n,this.target.addEventListener(e,n,!1)}function F(t){return!t||!Object.keys(t).length}function B(t){return Object.keys(t).map(function(e){return t[e]})}function H(t,e){return Object.keys(t).reduce(function(n,i){return n[i]=e(t[i],i),n},{})}function V(t,e){return Object.keys(t).every(function(n){return e(n,t[n])})}function q(t){if(!t)return"";t=new Uint8Array(t),
239==t[0]&&187==t[1]&&191==t[2]&&(t=t.subarray(3)),t=escape(K(t));try{return decodeURIComponent(t)}catch(t){throw new u(2,2,2004)}}function W(t,e){if(!t)return"";if(t.byteLength%2)throw new u(2,2,2004);if(t instanceof ArrayBuffer)var n=t;else{var i=new Uint8Array(t.byteLength);i.set(new Uint8Array(t)),n=i.buffer}var i=t.byteLength/2,r=new Uint16Array(i);n=new DataView(n);for(var o=0;o<i;o++)r[o]=n.getUint16(2*o,e);return K(r)}function z(t){var e=new Uint8Array(t)
;if(239==e[0]&&187==e[1]&&191==e[2])return q(e);if(254==e[0]&&255==e[1])return W(e.subarray(2),!1);if(255==e[0]&&254==e[1])return W(e.subarray(2),!0);var n=function(t,e){return t.byteLength<=e||32<=t[e]&&126>=t[e]}.bind(null,e);if(!e[0]&&!e[2])return W(t,!1);if(!e[1]&&!e[3])return W(t,!0);if(n(0)&&n(1)&&n(2)&&n(3))return q(t);throw new u(2,2,2003)}function Y(t){t=unescape(encodeURIComponent(t));for(var e=new Uint8Array(t.length),n=0;n<t.length;++n)e[n]=t.charCodeAt(n);return e.buffer}
function K(t){for(var e="",n=0;n<t.length;n+=16e3)e+=String.fromCharCode.apply(null,t.subarray(n,n+16e3));return e}function $(t){this.a=null,this.b=function(){this.a=null,t()}.bind(this)}function G(t){t.cancel(),t.a=setTimeout(t.b,500)}function X(e,n){var i=void 0==n||n,r=t.btoa(String.fromCharCode.apply(null,e)).replace(/\+/g,"-").replace(/\//g,"_");return i?r:r.replace(/=*$/,"")}function J(e){e=t.atob(e.replace(/-/g,"+").replace(/_/g,"/"))
;for(var n=new Uint8Array(e.length),i=0;i<e.length;++i)n[i]=e.charCodeAt(i);return n}function Q(e){for(var n=new Uint8Array(e.length/2),i=0;i<e.length;i+=2)n[i/2]=t.parseInt(e.substr(i,2),16);return n}function Z(t){for(var e="",n=0;n<t.length;++n){var i=t[n].toString(16);1==i.length&&(i="0"+i),e+=i}return e}function tt(t,e){if(!t&&!e)return!0;if(!t||!e||t.length!=e.length)return!1;for(var n=0;n<t.length;++n)if(t[n]!=e[n])return!1;return!0}function et(t,e,n,i){this.j=this.i=this.v=null,this.J=!1,
this.b=null,this.f=new O,this.a=[],this.o=[],this.l=new M,this.ka=t,this.h=null,this.g=function(t){this.l.reject(t),e(t)}.bind(this),this.A={},this.Ba=n,this.la=i,this.B=new $(this.Id.bind(this)),this.ja=this.c=!1,this.G=[],this.ia=!1,this.P=setInterval(this.Hd.bind(this),1e3),this.l.catch(function(){})}function nt(t,e){if(!t.i)return L(t.f,e,"encrypted",function(){this.g(new u(2,6,6010))}.bind(t)),Promise.resolve();t.j=e,L(t.f,t.j,"play",t.od.bind(t))
;var n=t.j.setMediaKeys(t.i),n=n.catch(function(t){return Promise.reject(new u(2,6,6003,t.message))}),i=null;return t.b.serverCertificate&&(i=t.i.setServerCertificate(t.b.serverCertificate).then(function(){}).catch(function(t){return Promise.reject(new u(2,6,6004,t.message))})),Promise.all([n,i]).then(function(){if(this.c)return Promise.reject();rt(this),this.b.initData.length||this.o.length||R(this.f,this.j,"encrypted",this.dd.bind(this))}.bind(t)).catch(function(t){
return this.c?Promise.resolve():Promise.reject(t)}.bind(t))}function it(t,e){return Promise.all(e.map(function(t){return ft(this,t).then(function(t){if(t){for(var e=new M,n=0;n<this.a.length;n++)if(this.a[n].aa==t){this.a[n].ib=e;break}return Promise.all([t.remove(),e])}}.bind(this))}.bind(t)))}function rt(t){var e=t.b?t.b.initData:[];return e.forEach(function(t){dt(this,t.initDataType,t.initData)}.bind(t)),t.o.forEach(function(t){ft(this,t)}.bind(t)),e.length||t.o.length||t.l.resolve(),t.l}
function ot(t){return t.a.map(function(t){return t.aa.sessionId})}function at(e,n,i,r,o){var a=ct(e);n.periods.forEach(function(e){e.variants.forEach(function(e){a&&(e.drmInfos=[a]),e.drmInfos.forEach(function(n){ut(this,n),t.cast&&t.cast.__platform__&&"com.microsoft.playready"==n.keySystem&&(n.keySystem="com.chromecast.playready");var a=r[n.keySystem];a||(a={audioCapabilities:[],videoCapabilities:[],distinctiveIdentifier:"optional",persistentState:i?"required":"optional",
sessionTypes:[i?"persistent-license":"temporary"],label:n.keySystem,drmInfos:[]},r[n.keySystem]=a,o.push(n.keySystem)),a.drmInfos.push(n),n.distinctiveIdentifierRequired&&(a.distinctiveIdentifier="required"),n.persistentStateRequired&&(a.persistentState="required");var s=[];e.video&&s.push(e.video),e.audio&&s.push(e.audio),s.forEach(function(t){var e="video"==t.type?a.videoCapabilities:a.audioCapabilities,i=("video"==t.type?n.videoRobustness:n.audioRobustness)||"",r=t.mimeType
;t.codecs&&(r+='; codecs="'+t.codecs+'"'),e.push({robustness:i,contentType:r})}.bind(this))}.bind(this))}.bind(this))}.bind(e))}function st(t,e,n){if(1==n.length&&""==n[0])return Promise.reject(new u(2,6,6e3));var i=new M,r=i;return[!0,!1].forEach(function(t){n.forEach(function(n){var i=e[n];i.drmInfos.some(function(t){return!!t.licenseServerUri})==t&&(i.audioCapabilities.length||delete i.audioCapabilities,i.videoCapabilities.length||delete i.videoCapabilities,r=r.catch(function(){
return this.c?Promise.reject():navigator.requestMediaKeySystemAccess(n,[i])}.bind(this)))}.bind(this))}.bind(t)),r=r.catch(function(){return Promise.reject(new u(2,6,6001))}),r=r.then(function(t){if(this.c)return Promise.reject();var n=0<=navigator.userAgent.indexOf("Edge/"),i=t.getConfiguration();return this.v=(i.audioCapabilities||[]).concat(i.videoCapabilities||[]).map(function(t){return t.contentType}),n&&(this.v=null),n=e[t.keySystem],lt(this,t.keySystem,n,n.drmInfos),
this.b.licenseServerUri?t.createMediaKeys():Promise.reject(new u(2,6,6012))}.bind(t)).then(function(t){if(this.c)return Promise.reject();this.i=t,this.J=!0}.bind(t)).catch(function(t){return this.c?Promise.resolve():(this.v=this.b=null,t instanceof u?Promise.reject(t):Promise.reject(new u(2,6,6002,t.message)))}.bind(t)),i.reject(),r}function ut(t,e){var n=e.keySystem;if(n){if(!e.licenseServerUri){var i=t.h.servers[n];i&&(e.licenseServerUri=i)}e.keyIds||(e.keyIds=[]),
(n=t.h.advanced[n])&&(e.distinctiveIdentifierRequired||(e.distinctiveIdentifierRequired=n.distinctiveIdentifierRequired),e.persistentStateRequired||(e.persistentStateRequired=n.persistentStateRequired),e.videoRobustness||(e.videoRobustness=n.videoRobustness),e.audioRobustness||(e.audioRobustness=n.audioRobustness),e.serverCertificate||(e.serverCertificate=n.serverCertificate))}}function ct(e){if(F(e.h.clearKeys))return null;var n,i=[],r=[];for(n in e.h.clearKeys){
var o=e.h.clearKeys[n],a=Q(n),o=Q(o),a={kty:"oct",kid:X(a,!1),k:X(o,!1)};i.push(a),r.push(a.kid)}return e=JSON.stringify({keys:i}),r=JSON.stringify({kids:r}),r=[{initData:new Uint8Array(Y(r)),initDataType:"keyids"}],{keySystem:"org.w3.clearkey",licenseServerUri:"data:application/json;base64,"+t.btoa(e),distinctiveIdentifierRequired:!1,persistentStateRequired:!1,audioRobustness:"",videoRobustness:"",serverCertificate:null,initData:r,keyIds:[]}}function lt(t,e,n,i){var r=[],o=[],a=[],s=[]
;ht(i,r,o,a,s),t.b={keySystem:e,licenseServerUri:r[0],distinctiveIdentifierRequired:"required"==n.distinctiveIdentifier,persistentStateRequired:"required"==n.persistentState,audioRobustness:n.audioCapabilities?n.audioCapabilities[0].robustness:"",videoRobustness:n.videoCapabilities?n.videoCapabilities[0].robustness:"",serverCertificate:o[0],initData:a,keyIds:s}}function ht(t,e,n,i,r){function o(t,e){return!(!t.keyId||t.keyId!=e.keyId)||t.initDataType==e.initDataType&&tt(t.initData,e.initData)}
t.forEach(function(t){if(-1==e.indexOf(t.licenseServerUri)&&e.push(t.licenseServerUri),t.serverCertificate&&-1==A(n,t.serverCertificate,tt)&&n.push(t.serverCertificate),t.initData&&t.initData.forEach(function(t){-1==A(i,t,o)&&i.push(t)}),t.keyIds)for(var a=0;a<t.keyIds.length;++a)-1==r.indexOf(t.keyIds[a])&&r.push(t.keyIds[a])})}function ft(t,e){try{var n=t.i.createSession("persistent-license")}catch(e){var i=new u(2,6,6005,e.message);return t.g(i),Promise.reject(i)}
R(t.f,n,"message",t.ic.bind(t)),R(t.f,n,"keystatuseschange",t.cc.bind(t));var r={initData:null,aa:n,loaded:!1,xb:1/0,ib:null};return t.a.push(r),n.load(e).then(function(t){if(!this.c){if(t)return r.loaded=!0,this.a.every(function(t){return t.loaded})&&this.l.resolve(),n;this.a.splice(this.a.indexOf(r),1),this.g(new u(2,6,6013))}}.bind(t),function(t){this.c||(this.a.splice(this.a.indexOf(r),1),this.g(new u(2,6,6005,t.message)))}.bind(t))}function dt(t,e,n){try{
var i=t.ja?t.i.createSession("persistent-license"):t.i.createSession()}catch(e){return void t.g(new u(2,6,6005,e.message))}R(t.f,i,"message",t.ic.bind(t)),R(t.f,i,"keystatuseschange",t.cc.bind(t)),t.a.push({initData:n,aa:i,loaded:!1,xb:1/0,ib:null}),i.generateRequest(e,n.buffer).catch(function(t){if(!this.c){for(var e=0;e<this.a.length;++e)if(this.a[e].aa==i){this.a.splice(e,1);break}this.g(new u(2,6,6006,t.message))}}.bind(t))}function pt(t,e){
for(var n,i=e.target,r=0;r<t.a.length;r++)if(t.a[r].aa==i){n=t.a[r].ib;break}r=I([t.b.licenseServerUri],t.h.retryParameters),r.body=e.message,r.method="POST","com.microsoft.playready"==t.b.keySystem&&mt(r),t.ka.request(2,r).then(function(t){return this.c?Promise.reject():i.update(t.data).then(function(){n&&n.resolve()})}.bind(t),function(t){if(this.c)return Promise.resolve();t=new u(2,6,6007,t),this.g(t),n&&n.reject(t)}.bind(t)).catch(function(t){if(this.c)return Promise.resolve()
;t=new u(2,6,6008,t.message),this.g(t),n&&n.reject(t)}.bind(t))}function mt(t){var e=String.fromCharCode.apply(null,new Uint8Array(t.body));if(e.indexOf("<PlayReadyKeyMessage"))t.headers["Content-Type"]="text/xml; charset=utf-8";else{for(var e=W(t.body,!0),e=(new DOMParser).parseFromString(e,"application/xml"),n=e.getElementsByTagName("HttpHeader"),i=0;i<n.length;++i)t.headers[n[i].querySelector("name").textContent]=n[i].querySelector("value").textContent
;t.body=J(e.querySelector("Challenge").textContent).buffer}}function gt(){var t=[],e=[{contentType:'video/mp4; codecs="avc1.42E01E"'},{contentType:'video/webm; codecs="vp8"'}],n=[{videoCapabilities:e,persistentState:"required",sessionTypes:["persistent-license"]},{videoCapabilities:e}],i={};return"org.w3.clearkey com.widevine.alpha com.microsoft.playready com.apple.fps.2_0 com.apple.fps.1_0 com.apple.fps com.adobe.primetime".split(" ").forEach(function(e){
var r=navigator.requestMediaKeySystemAccess(e,n).then(function(t){var n=t.getConfiguration().sessionTypes;return i[e]={persistentState:!!n&&0<=n.indexOf("persistent-license")},t.createMediaKeys()}).catch(function(){i[e]=null});t.push(r)}),Promise.all(t).then(function(){return i})}function vt(t,e){var n=t.keySystem();return!e.drmInfos.length||e.drmInfos.some(function(t){return t.keySystem==n})}function yt(t,e){if(!t.length)return e;if(!e.length)return t
;for(var n=[],i=0;i<t.length;i++)for(var r=0;r<e.length;r++)if(t[i].keySystem==e[r].keySystem){var o=t[i],r=e[r],a=[],a=a.concat(o.initData||[]),a=a.concat(r.initData||[]),s=[],s=s.concat(o.keyIds),s=s.concat(r.keyIds);n.push({keySystem:o.keySystem,licenseServerUri:o.licenseServerUri||r.licenseServerUri,distinctiveIdentifierRequired:o.distinctiveIdentifierRequired||r.distinctiveIdentifierRequired,persistentStateRequired:o.persistentStateRequired||r.persistentStateRequired,
videoRobustness:o.videoRobustness||r.videoRobustness,audioRobustness:o.audioRobustness||r.audioRobustness,serverCertificate:o.serverCertificate||r.serverCertificate,initData:a,keyIds:s});break}return n}function bt(t){this.f=null,this.c=t,this.h=0,this.g=1/0,this.a=this.b=null}function wt(t,e){da[t]=e.length?Tt.bind(null,e):e}function _t(t,e,n){return t>=e?null:new VTTCue(t,e,n)}function Et(t,e,n,i){return Promise.resolve().then(function(){if(this.c)if(null==n||null==i)this.f.parseInit(e);else{
for(var t=this.f.parseMedia(e,{periodStart:this.h,segmentStart:n,segmentEnd:i}),r=0;r<t.length&&!(t[r].startTime>=this.g);++r)this.c.addCue(t[r]);null==this.b&&(this.b=n),this.a=Math.min(i,this.g)}}.bind(t))}function xt(t,e){for(var n=t.c.cues,i=[],r=0;r<n.length;++r)e(n[r])&&i.push(n[r]);for(r=0;r<i.length;++r)t.c.removeCue(i[r])}function Tt(t){this.Na=t}function Ct(t){return!t||1==t.length&&1e-6>t.end(0)-t.start(0)?null:t.length?t.end(t.length-1):null}function St(t,e){
return!(!t||!t.length||1==t.length&&1e-6>t.end(0)-t.start(0))&&(e>=t.start(0)&&e<=t.end(t.length-1))}function kt(t,e){if(!t||!t.length||1==t.length&&1e-6>t.end(0)-t.start(0))return 0;for(var n=0,i=t.length-1;0<=i&&t.end(i)>e;--i)n+=t.end(i)-Math.max(t.start(i),e);return n}function Mt(t,e,n){this.f=t,this.N=e,this.i=n,this.c={},this.a=null,this.b={},this.g=new O,this.h=!1}function Pt(){var t={}
;return'video/mp4; codecs="avc1.42E01E",video/mp4; codecs="avc3.42E01E",video/mp4; codecs="hvc1.1.6.L93.90",audio/mp4; codecs="mp4a.40.2",audio/mp4; codecs="ac-3",audio/mp4; codecs="ec-3",video/webm; codecs="vp8",video/webm; codecs="vp9",video/webm; codecs="av1",audio/webm; codecs="vorbis",audio/webm; codecs="opus",video/mp2t; codecs="avc1.42E01E",video/mp2t; codecs="avc3.42E01E",video/mp2t; codecs="hvc1.1.6.L93.90",video/mp2t; codecs="mp4a.40.2",video/mp2t; codecs="ac-3",video/mp2t; codecs="ec-3",video/mp2t; codecs="mp4a.40.2",text/vtt,application/mp4; codecs="wvtt",application/ttml+xml,application/mp4; codecs="stpp"'.split(",").forEach(function(e){
t[e]=!!da[e]||MediaSource.isTypeSupported(e);var n=e.split(";")[0];t[n]=t[n]||t[e]}),t}function Nt(t,e){t.a||(t.a=new bt(t.i)),t.a.f=new da[e]}function It(t,e){if("text"==e)var n=t.a.b;else n=At(t,e),n=!n||1==n.length&&1e-6>n.end(0)-n.start(0)?null:1==n.length&&0>n.start(0)?0:n.length?n.start(0):null;return n}function At(t,e){try{return t.c[e].buffered}catch(t){return null}}function Dt(t,e,n,i,r){return"text"==e?Et(t.a,n,i,r):Lt(t,e,t.ge.bind(t,e,n))}function Ot(t,e){
return"text"==e?t.a.remove(0,1/0):Lt(t,e,t.oc.bind(t,e,0,t.N.duration))}function Rt(t,e,n,i){return"text"==e?(t.a.h=n,null!=i&&(t.a.g=i),Promise.resolve()):(null==i&&(i=1/0),Promise.all([Lt(t,e,t.Cc.bind(t,e)),Lt(t,e,t.Xd.bind(t,e,n)),Lt(t,e,t.Vd.bind(t,e,i))]))}function Lt(t,e,n){if(t.h)return Promise.reject();if(n={start:n,p:new M},t.b[e].push(n),1==t.b[e].length)try{n.start()}catch(i){"QuotaExceededError"==i.name?n.p.reject(new u(2,3,3017,e)):n.p.reject(new u(2,3,3015,i)),Ut(t,e)}return n.p}
function jt(t,e){if(t.h)return Promise.reject();var n,i=[];for(n in t.c){var r=new M,o={start:function(t){t.resolve()}.bind(null,r),p:r};t.b[n].push(o),i.push(r),1==t.b[n].length&&o.start()}return Promise.all(i).then(function(){var t;try{e()}catch(t){var n=Promise.reject(new u(2,3,3015,t))}for(t in this.c)Ut(this,t);return n}.bind(t),function(){return Promise.reject()}.bind(t))}function Ut(t,e){t.b[e].shift();var n=t.b[e][0];if(n)try{n.start()}catch(i){n.p.reject(new u(2,3,3015,i)),Ut(t,e)}}
function Ft(t,e,n){return n==e||t>=pa&&n==e.split("-")[0]||t>=ma&&n.split("-")[0]==e.split("-")[0]}function Bt(t){t=t.toLowerCase().split("-");var e=ga[t[0]];return e&&(t[0]=e),t.join("-")}function Ht(t,e,n){var i=t.video;return!(i&&(i.width<e.minWidth||i.width>e.maxWidth||i.width>n.width||i.height<e.minHeight||i.height>e.maxHeight||i.height>n.height||i.width*i.height<e.minPixels||i.width*i.height>e.maxPixels)||t.bandwidth<e.minBandwidth||t.bandwidth>e.maxBandwidth)}function Vt(t,e,n){var i=!1
;return t.variants.forEach(function(t){var r=t.allowedByApplication;t.allowedByApplication=Ht(t,e,n),r!=t.allowedByApplication&&(i=!0)}),i}function qt(t,e,n){var i=e.video,r=e.audio;for(e=0;e<n.variants.length;++e){var o=n.variants[e],a=t,s=r,u=i;(a&&a.J&&!vt(a,o)?0:Wt(o.audio,a,s)&&Wt(o.video,a,u))||(n.variants.splice(e,1),--e)}for(e=0;e<n.textStreams.length;++e)t=n.textStreams[e],da[te(t.mimeType,t.codecs)]||(n.textStreams.splice(e,1),--e)}function Wt(t,e,n){if(!t)return!0;var i=null
;return e&&e.J&&(i=e.v),e=te(t.mimeType,t.codecs),!(!da[e]&&!MediaSource.isTypeSupported(e)||i&&t.encrypted&&0>i.indexOf(e)||n&&(t.mimeType!=n.mimeType||t.codecs.split(".")[0]!=n.codecs.split(".")[0]))}function zt(t,e,n){return Gt(t.variants).map(function(t){var i;i=t.video&&t.audio?n==t.video.id&&e==t.audio.id:t.video&&n==t.video.id||t.audio&&e==t.audio.id;var r="";t.video&&(r+=t.video.codecs),t.audio&&(""!=r&&(r+=", "),r+=t.audio.codecs)
;var o=t.audio?t.audio.codecs:null,a=t.video?t.video.codecs:null,s=null;t.video?s=t.video.mimeType:t.audio&&(s=t.audio.mimeType);var u=null;return t.audio?u=t.audio.kind:t.video&&(u=t.video.kind),{id:t.id,active:i,type:"variant",bandwidth:t.bandwidth,language:t.language,kind:u||null,width:t.video?t.video.width:null,height:t.video?t.video.height:null,frameRate:t.video?t.video.frameRate:void 0,mimeType:s,codecs:r,audioCodec:o,videoCodec:a,primary:t.primary}})}function Yt(t,e){
return t.textStreams.map(function(t){return{id:t.id,active:e==t.id,type:"text",language:t.language,kind:t.kind,mimeType:t.mimeType,codecs:t.codecs||null,audioCodec:null,videoCodec:null,primary:t.primary}})}function Kt(t,e){for(var n=0;n<t.variants.length;n++)if(t.variants[n].id==e.id)return t.variants[n];return null}function $t(t,e){for(var n=0;n<t.textStreams.length;n++)if(t.textStreams[n].id==e.id)return t.textStreams[n];return null}function Gt(t){return t.filter(function(t){
return t.allowedByApplication&&t.allowedByKeySystem})}function Xt(t,e,n){var i=Gt(t.variants),r=i.filter(function(t){return t.language==i[0].language});if(t=i.filter(function(t){return t.primary}),t.length&&(r=t),e){var o=Bt(e);[ma,pa,0].forEach(function(t){var e=!1;i.forEach(function(i){o=Bt(o);var a=Bt(i.language);Ft(t,o,a)&&(e?r.push(i):(r=[i],e=!0),n&&(n.audio=!0))})})}return r}function Jt(t,e,n){var i=t.textStreams,r=i;if(t=i.filter(function(t){return t.primary}),t.length&&(r=t),e){
var o=Bt(e);[ma,pa,0].forEach(function(t){var e=!1;i.forEach(function(i){var a=Bt(i.language);Ft(t,o,a)&&(e?r.push(i):(r=[i],e=!0),n&&(n.text=!0))})})}return r}function Qt(t,e,n){for(var i=0;i<n.length;i++)if(n[i].audio==t&&n[i].video==e)return n[i];return null}function Zt(t,e,n){function i(t,e){return null==t?null==e:e.id==t}for(var r=0;r<n.length;r++)if(i(t,n[r].audio)&&i(e,n[r].video))return n[r];return null}function te(t,e){var n=t;return e&&(n+='; codecs="'+e+'"'),n}function ee(t,e){
for(var n=t.periods.length-1;0<n;--n)if(e>=t.periods[n].startTime)return n;return 0}function ne(t,e){for(var n=0;n<t.periods.length;++n){var i=t.periods[n];if("text"==e.type){for(var r=0;r<i.textStreams.length;++r)if(i.textStreams[r]==e)return n}else for(r=0;r<i.variants.length;++r){var o=i.variants[r];if(o.audio==e||o.video==e||o.video&&o.video.trickModeVideo==e)return n}}return-1}function ie(){this.f=null,this.b=!1,this.a=new a,this.h=[],this.g=[],this.j=!1,this.c=null,this.i={minWidth:0,
maxWidth:1/0,minHeight:0,maxHeight:1/0,minPixels:0,maxPixels:1/0,minBandwidth:0,maxBandwidth:1/0}}function re(t,e){return e.filter(function(e){return Ht(e,t,{width:1/0,height:1/0})}).sort(function(t,e){return t.bandwidth-e.bandwidth})}function oe(e,n){var i,r=n||{};for(i in r)this[i]=r[i];this.defaultPrevented=this.cancelable=this.bubbles=!1,this.timeStamp=t.performance&&t.performance.now?t.performance.now():Date.now(),this.type=e,this.isTrusted=!1,this.target=this.currentTarget=null,this.a=!1}
function ae(t){return JSON.stringify(t,function(t,e){if("manager"!=t&&"function"!=typeof e){if(e instanceof Event||e instanceof oe){var n,i={};for(n in e){var r=e[n];r&&"object"==typeof r||n in Event||(i[n]=r)}return i}if(e instanceof TimeRanges)for(i={__type__:"TimeRanges",length:e.length,start:[],end:[]},n=0;n<e.length;++n)i.start.push(e.start(n)),i.end.push(e.end(n));else i="number"==typeof e?isNaN(e)?"NaN":isFinite(e)?e:0>e?"-Infinity":"Infinity":e;return i}})}function se(t){
return JSON.parse(t,function(t,e){return"NaN"==e?NaN:"-Infinity"==e?-1/0:"Infinity"==e?1/0:e&&"object"==typeof e&&"TimeRanges"==e.__type__?ue(e):e})}function ue(t){return{length:t.length,start:function(e){return t.start[e]},end:function(e){return t.end[e]}}}function ce(t,e,n,i,r){this.J=t,this.l=e,this.B=n,this.G=i,this.v=r,this.c=this.j=this.h=!1,this.A="",this.a=this.i=null,this.b={video:{},player:{}},this.o=0,this.f={},this.g=null}function le(t){for(var e in t.f){var n=t.f[e];delete t.f[e],
n.reject(new u(1,7,7e3))}}function he(t,e){var n=ae(e);t.a.sendMessage("urn:x-cast:com.google.shaka.v2",n,function(){},s)}function fe(){this.lb=new D,this.Ta=this}function de(t,e,n){fe.call(this),this.c=t,this.b=e,this.h=this.f=this.g=this.i=this.j=null,this.a=new ce(n,this.ce.bind(this),this.de.bind(this),this.ee.bind(this),this.Tb.bind(this)),pe(this)}function pe(t){t.a.init(),t.h=new O,va.forEach(function(t){R(this.h,this.c,t,this.re.bind(this))}.bind(t)),_a.forEach(function(t){
R(this.h,this.b,t,this.Gd.bind(this))}.bind(t)),t.j={};for(var e in t.c)Object.defineProperty(t.j,e,{configurable:!1,enumerable:!0,get:t.qe.bind(t,e),set:t.se.bind(t,e)});t.i={};for(e in t.b)Object.defineProperty(t.i,e,{configurable:!1,enumerable:!0,get:t.Fd.bind(t,e)});t.g=new fe,t.g.Ta=t.j,t.f=new fe,t.f.Ta=t.i}function me(t,e,n,i){fe.call(this),this.a=t,this.b=e,this.j={video:t,player:e},this.l=n||function(){},this.o=i||function(t){return t},this.i=!1,this.f=!0,this.h=this.g=this.c=null,
ge(this)}function ge(e){var n=cast.receiver.CastReceiverManager.getInstance();n.onSenderConnected=e.hc.bind(e),n.onSenderDisconnected=e.hc.bind(e),n.onSystemVolumeChanged=e.Kc.bind(e),e.g=n.getCastMessageBus("urn:x-cast:com.google.cast.media"),e.g.onMessage=e.fd.bind(e),e.c=n.getCastMessageBus("urn:x-cast:com.google.shaka.v2"),e.c.onMessage=e.td.bind(e),n.start(),va.forEach(function(t){this.a.addEventListener(t,this.kc.bind(this,"video"))}.bind(e)),_a.forEach(function(t){
this.b.addEventListener(t,this.kc.bind(this,"player"))}.bind(e)),cast.__platform__&&cast.__platform__.canDisplayType('video/mp4; codecs="avc1.640028"; width=3840; height=2160')?e.b.Hb(3840,2160):e.b.Hb(1920,1080),e.b.addEventListener("loading",function(){this.f=!1,ve(this)}.bind(e)),e.a.addEventListener("playing",function(){this.f=!1,ve(this)}.bind(e)),e.a.addEventListener("pause",function(){ve(this)}.bind(e)),e.b.addEventListener("unloading",function(){this.f=!0,ve(this)}.bind(e)),
e.a.addEventListener("ended",function(){t.setTimeout(function(){this.a&&this.a.ended&&(this.f=!0,ve(this))}.bind(this),5e3)}.bind(e))}function ve(t){Promise.resolve().then(function(){this.dispatchEvent(new oe("caststatuschanged")),we(this,0)}.bind(t))}function ye(t,e,n){for(var i in e.player)t.b[i](e.player[i]);t.l(n),n=Promise.resolve();var r=t.a.autoplay;e.manifest&&(t.a.autoplay=!1,n=t.b.load(e.manifest,e.startTime),n.catch(function(t){this.b.dispatchEvent(new oe("error",{detail:t}))
}.bind(t))),n.then(function(){var t;for(t in e.video){var n=e.video[t];this.a[t]=n}for(t in e.playerAfterLoad)n=e.playerAfterLoad[t],this.b[t](n);this.a.autoplay=r,e.manifest&&(this.a.play(),we(this,0))}.bind(t))}function be(t,e,n,i){t.i&&(t=ae(e),i?n.getCastChannel(i).send(t):n.broadcast(t))}function we(t,e,n){var i=ka,i={mediaSessionId:0,playbackRate:t.a.playbackRate,playerState:t.f?i.IDLE:t.b.ka?i.yc:t.a.paused?i.zc:i.Ac,currentTime:t.a.currentTime,supportedMediaCommands:15,volume:{
level:t.a.volume,muted:t.a.muted}};n&&(i.media=n),be(t,{requestId:e,type:"MEDIA_STATUS",status:[i]},t.g)}function _e(t,e){var n=Ee(t,e);return 1!=n.length?null:n[0]}function Ee(t,e){return Array.prototype.filter.call(t.childNodes,function(t){return t.tagName==e})}function xe(t){var e=t.firstChild;return e&&e.nodeType==Node.TEXT_NODE?t.textContent.trim():null}function Te(t,e,n,i){var r=null;return t=t.getAttribute(e),null!=t&&(r=n(t)),null==r?void 0!=i?i:null:r}function Ce(t){
return t?(t=Date.parse(t),isNaN(t)?null:Math.floor(t/1e3)):null}function Se(t){return t&&(t=/^P(?:([0-9]*)Y)?(?:([0-9]*)M)?(?:([0-9]*)D)?(?:T(?:([0-9]*)H)?(?:([0-9]*)M)?(?:([0-9.]*)S)?)?$/.exec(t))?(t=31536e3*Number(t[1]||null)+2592e3*Number(t[2]||null)+86400*Number(t[3]||null)+3600*Number(t[4]||null)+60*Number(t[5]||null)+Number(t[6]||null),isFinite(t)?t:null):null}function ke(t){var e=/([0-9]+)-([0-9]+)/.exec(t);return e?(t=Number(e[1]),isFinite(t)?(e=Number(e[2]),isFinite(e)?{start:t,end:e
}:null):null):null}function Me(t){return t=Number(t),t%1?null:t}function Pe(t){return t=Number(t),!(t%1)&&0<t?t:null}function Ne(t){return t=Number(t),!(t%1)&&0<=t?t:null}function Ie(t){var e;return t=(e=t.match(/^(\d+)\/(\d+)$/))?Number(e[1]/e[2]):Number(t),isNaN(t)?null:t}function Ae(t,e,n){t=Re(t);var i=null,r=null,o=[],a=[],s=t.map(function(t){return t.keyId}).filter(_);if(0<s.length&&(r=s[0],s.some(E(r))))throw new u(2,4,4010);return n||(a=t.filter(function(t){
return"urn:mpeg:dash:mp4protection:2011"!=t.qc||(i=t.init||i,!1)}),0<a.length&&(o=Oe(i,e,a),o.length||(o=[C("",i)]))),0<t.length&&(n||!a.length)&&(o=B(Ma).map(function(t){return C(t,i)})),r&&o.forEach(function(t){t.initData.forEach(function(t){t.keyId=r})}),{Qb:r,xe:i,drmInfos:o,Sb:!0}}function De(t,e,n,i){var r=Ae(t,e,i);if(n.Sb)t=1==n.drmInfos.length&&!n.drmInfos[0].keySystem,e=!r.drmInfos.length,(!n.drmInfos.length||t&&!e)&&(n.drmInfos=r.drmInfos),
n.Sb=!1;else if(0<r.drmInfos.length&&(n.drmInfos=n.drmInfos.filter(function(t){return r.drmInfos.some(function(e){return e.keySystem==t.keySystem})}),!n.drmInfos.length))throw new u(2,4,4008);return r.Qb||n.Qb}function Oe(t,e,n){return n.map(function(n){var i=Ma[n.qc];return i?[C(i,n.init||t)]:e(n.node)||[]}).reduce(b,[])}function Re(t){return t.map(function(t){var e=t.getAttribute("schemeIdUri"),n=t.getAttribute("cenc:default_KID"),i=Ee(t,"cenc:pssh").map(xe);if(!e)return null
;if(e=e.toLowerCase(),n&&(n=n.replace(/-/g,"").toLowerCase(),0<=n.indexOf(" ")))throw new u(2,4,4009);var r=[];try{r=i.map(function(t){return{initDataType:"cenc",initData:J(t),keyId:null}})}catch(t){throw new u(2,4,4007)}return{node:t,qc:e,keyId:n,init:0<r.length?r:null}}).filter(_)}function Le(e,n,i,r,o){null!=o&&(o=Math.round(o));var a={RepresentationID:n,Number:i,Bandwidth:r,Time:o};return e.replace(/\$(RepresentationID|Number|Bandwidth|Time)?(?:%0([0-9]+)d)?\$/g,function(e,n,i){
if("$$"==e)return"$";var r=a[n];return null==r?e:("RepresentationID"==n&&i&&(i=void 0),e=r.toString(),i=t.parseInt(i,10)||1,Array(Math.max(0,i-e.length)+1).join("0")+e)})}function je(t,e){var n=Ue(t,e,"timescale"),i=1;n&&(i=Pe(n)||1),n=Ue(t,e,"duration"),(n=Pe(n||""))&&(n/=i);var r=Ue(t,e,"startNumber"),o=Ue(t,e,"presentationTimeOffset"),a=Ne(r||"");null!=r&&null!=a||(a=1);var s=Fe(t,e,"SegmentTimeline"),r=null;if(s){
for(var r=i,u=Number(o),c=t.R.duration||1/0,s=Ee(s,"S"),l=[],h=0,f=0;f<s.length;++f){var d=s[f],p=Te(d,"t",Ne),m=Te(d,"d",Ne),d=Te(d,"r",Me);if(null!=p&&(p-=u),!m)break;if(p=null!=p?p:h,0>(d=d||0))if(f+1<s.length){if(null==(d=Te(s[f+1],"t",Ne)))break;if(p>=d)break;d=Math.ceil((d-p)/m)-1}else{if(1/0==c)break;if(p/r>=c)break;d=Math.ceil((c*r-p)/m)-1}0<l.length&&p!=h&&(l[l.length-1].end=p/r);for(var g=0;g<=d;++g)h=p+m,l.push({start:p/r,end:h/r,oe:p}),p=h}r=l}return{timescale:i,O:n,ya:a,
presentationTimeOffset:Number(o)/i||0,Nb:Number(o),F:r}}function Ue(t,e,n){return[e(t.w),e(t.S),e(t.T)].filter(_).map(function(t){return t.getAttribute(n)}).reduce(function(t,e){return t||e})}function Fe(t,e,n){return[e(t.w),e(t.S),e(t.T)].filter(_).map(function(t){return _e(t,n)}).reduce(function(t,e){return t||e})}function Be(t,e,n){this.a=t,this.X=e,this.M=n}function He(t,e,n,i,r,o){this.position=t,this.startTime=e,this.endTime=n,this.a=i,this.X=r,this.M=o}function Ve(t,e){this.H=t,
this.a=e==Pa,this.u=0}function qe(){throw new u(2,3,3e3)}function We(){this.b=[],this.a=[]}function ze(t){for(;t.s.Z();)t.Na.eb(t.start,t.s)}function Ye(t){for(var e=t.s.D();0<e;--e)t.Na.eb(t.start,t.s)}function Ke(t){return function(e){t(e.s.Ja(e.s.H.byteLength-e.s.u))}}function $e(t){for(var e=0,n=0;n<t.length;n++)e=e<<8|t.charCodeAt(n);return e}function Ge(t,e,n,i){var r,o=(new We).ca("sidx",function(t){r=Xe(e,i,n,t)});if(t&&o.parse(t),r)return r;throw new u(2,3,3004)}function Xe(t,e,n,i){
var r=[];i.s.I(4);var o=i.s.D();if(!o)throw new u(2,3,3005);if(i.version)var a=i.s.Pa(),s=i.s.Pa();else a=i.s.D(),s=i.s.D();i.s.I(2);var c=i.s.mc();for(e=a-e,t=t+i.size+s,s=0;s<c;s++){var l=i.s.D();a=(2147483648&l)>>>31;var l=2147483647&l,h=i.s.D();if(i.s.I(4),1==a)throw new u(2,3,3006);r.push(new He(r.length,e/o,(e+h)/o,function(){return n},t,t+l-1)),e+=h,t+=l}return r}function Je(t){this.a=t}function Qe(t,e){if(t.a.length){var n=t.a[t.a.length-1]
;n.startTime>e||(t.a[t.a.length-1]=new He(n.position,n.startTime,e,n.a,n.X,n.M))}}function Ze(t){this.b=t,this.a=new Ve(t,0),Na||(Na=[new Uint8Array([255]),new Uint8Array([127,255]),new Uint8Array([63,255,255]),new Uint8Array([31,255,255,255]),new Uint8Array([15,255,255,255,255]),new Uint8Array([7,255,255,255,255,255]),new Uint8Array([3,255,255,255,255,255,255]),new Uint8Array([1,255,255,255,255,255,255,255])])}function tn(t){var e=en(t);if(7<e.length)throw new u(2,3,3002)
;for(var n=0,i=0;i<e.length;i++)n=256*n+e[i];e=n,n=en(t);t:{for(i=0;i<Na.length;i++)if(tt(n,Na[i])){i=!0;break t}i=!1}if(i)n=t.b.byteLength-t.a.u;else{if(8==n.length&&224&n[1])throw new u(2,3,3001);for(var i=n[0]&(1<<8-n.length)-1,r=1;r<n.length;r++)i=256*i+n[r];n=i}return n=t.a.u+n<=t.b.byteLength?n:t.b.byteLength-t.a.u,i=new DataView(t.b.buffer,t.b.byteOffset+t.a.u,n),t.a.I(n),new nn(e,i)}function en(t){var e,n=t.a.Cb();for(e=1;8>=e&&!(n&1<<8-e);e++);if(8<e)throw new u(2,3,3002)
;var i=new Uint8Array(e);for(i[0]=n,n=1;n<e;n++)i[n]=t.a.Cb();return i}function nn(t,e){this.id=t,this.a=e}function rn(t){if(8<t.a.byteLength)throw new u(2,3,3002);if(8==t.a.byteLength&&224&t.a.getUint8(0))throw new u(2,3,3001);for(var e=0,n=0;n<t.a.byteLength;n++)var i=t.a.getUint8(n),e=256*e+i;return e}function on(){}function an(t,e,n,i,r,o){function a(){return r}var s=[];t=new Ze(t.a);for(var u=-1,c=-1;t.Z();){var l=tn(t);if(187==l.id){var h=sn(l);h&&(l=n*(h.pe-o),h=e+h.Ld,
0<=u&&s.push(new He(s.length,u,l,a,c,h-1)),u=l,c=h)}}return 0<=u&&s.push(new He(s.length,u,i,a,c,null)),s}function sn(t){var e=new Ze(t.a);if(t=tn(e),179!=t.id)throw new u(2,3,3013);if(t=rn(t),e=tn(e),183!=e.id)throw new u(2,3,3012);for(var e=new Ze(e.a),n=0;e.Z();){var i=tn(e);if(241==i.id){n=rn(i);break}}return{pe:t,Ld:n}}function un(t,e){var n=Fe(t,e,"Initialization");if(!n)return null;var i=t.w.U,r=n.getAttribute("sourceURL");r&&(i=T(t.w.U,[r]));var r=0,o=null
;return(n=Te(n,"range",ke))&&(r=n.start,o=n.end),new Be(function(){return i},r,o)}function cn(t,e){var n=Ue(t,hn,"presentationTimeOffset"),i=un(t,hn),r=Number(n),o=t.w.contentType,a=t.w.mimeType.split("/")[1];if("text"!=o&&"mp4"!=a&&"webm"!=a)throw new u(2,4,4006);if("webm"==a&&!i)throw new u(2,4,4005);var o=Fe(t,hn,"RepresentationIndex"),s=Ue(t,hn,"indexRange"),c=t.w.U,s=ke(s||"");if(o){var l=o.getAttribute("sourceURL");l&&(c=T(t.w.U,[l])),s=Te(o,"range",ke,s)}if(!s)throw new u(2,4,4002)
;return r=ln(t,e,i,c,s.start,s.end,a,r),{createSegmentIndex:r.createSegmentIndex,findSegmentPosition:r.findSegmentPosition,getSegmentReference:r.getSegmentReference,initSegmentReference:i,presentationTimeOffset:Number(n)||0}}function ln(t,e,n,i,r,o,a,s){var u=t.presentationTimeline,c=!t.Ca||!t.R.sb,l=t.R.duration,h=e,f=null;return{createSegmentIndex:function(){var t=[h(i,r,o),"webm"==a?h(n.a(),n.X,n.M):null];return h=null,Promise.all(t).then(function(t){var e=t[0];t=t[1]||null,
e="mp4"==a?Ge(e,r,i,s):(new on).parse(e,t,i,s),u.Ga(0,e),f=new Je(e),c&&Qe(f,l)})},findSegmentPosition:function(t){return f.find(t)},getSegmentReference:function(t){return f.get(t)}}}function hn(t){return t.Qa}function fn(t,e){var n=un(t,dn),i=mn(t),r=je(t,dn),o=r.ya;o||(o=1);var a=0;if(r.O?a=r.O*(o-1):r.F&&0<r.F.length&&(a=r.F[0].start),i={O:r.O,startTime:a,ya:o,presentationTimeOffset:r.presentationTimeOffset,F:r.F,Fa:i},!i.O&&!i.F&&1<i.Fa.length)throw new u(2,4,4002)
;if(!i.O&&!t.R.duration&&!i.F&&1==i.Fa.length)throw new u(2,4,4002);if(i.F&&!i.F.length)throw new u(2,4,4002);return o=r=null,t.T.id&&t.w.id&&(o=t.T.id+","+t.w.id,r=e[o]),a=pn(t.R.duration,i.ya,t.w.U,i),r?(r.vb(a),r.ob(t.presentationTimeline.ma()-t.R.start)):(t.presentationTimeline.Ga(0,a),r=new Je(a),o&&t.Ca&&(e[o]=r)),t.Ca&&t.R.sb||Qe(r,t.R.duration),{createSegmentIndex:Promise.resolve.bind(Promise),findSegmentPosition:r.find.bind(r),getSegmentReference:r.get.bind(r),initSegmentReference:n,
presentationTimeOffset:i.presentationTimeOffset}}function dn(t){return t.oa}function pn(t,e,n,i){var r=i.Fa.length;i.F&&i.F.length!=i.Fa.length&&(r=Math.min(i.F.length,i.Fa.length));for(var o=[],a=i.startTime,s=0;s<r;s++){var u=i.Fa[s],c=T(n,[u.ad]),l=null!=i.O?a+i.O:i.F?i.F[s].end:a+t;o.push(new He(s+e,a,l,function(t){return t}.bind(null,c),u.start,u.end)),a=l}return o}function mn(t){return[t.w.oa,t.S.oa,t.T.oa].filter(_).map(function(t){return Ee(t,"SegmentURL")}).reduce(function(t,e){
return 0<t.length?t:e}).map(function(e){e.getAttribute("indexRange")&&!t.Yb&&(t.Yb=!0);var n=e.getAttribute("media");return e=Te(e,"mediaRange",ke,{start:0,end:null}),{ad:n,start:e.start,end:e.end}})}function gn(t,e,n,i){var r=wn(t),o=je(t,vn),a=Ue(t,vn,"media"),s=Ue(t,vn,"index");if(o={O:o.O,timescale:o.timescale,ya:o.ya,presentationTimeOffset:o.presentationTimeOffset,Nb:o.Nb,F:o.F,ub:a,La:s},a=0+(o.La?1:0),a+=o.F?1:0,!(a+=o.O?1:0))throw new u(2,4,4002);if(1!=a&&(o.La&&(o.F=null),o.O=null),
!o.La&&!o.ub)throw new u(2,4,4002);if(o.La){if("mp4"!=(n=t.w.mimeType.split("/")[1])&&"webm"!=n)throw new u(2,4,4006);if("webm"==n&&!r)throw new u(2,4,4005);i=Le(o.La,t.w.id,null,t.bandwidth||null,null),i=T(t.w.U,[i]),t=ln(t,e,r,i,0,null,n,o.presentationTimeOffset)}else o.O?(i||t.presentationTimeline.wb(o.O),t=yn(t,o)):(i=e=null,t.T.id&&t.w.id&&(i=t.T.id+","+t.w.id,e=n[i]),a=bn(t,o),e?(e.vb(a),e.ob(t.presentationTimeline.ma()-t.R.start)):(t.presentationTimeline.Ga(0,a),e=new Je(a),
i&&t.Ca&&(n[i]=e)),t.Ca&&t.R.sb||Qe(e,t.R.duration),t={createSegmentIndex:Promise.resolve.bind(Promise),findSegmentPosition:e.find.bind(e),getSegmentReference:e.get.bind(e)});return{createSegmentIndex:t.createSegmentIndex,findSegmentPosition:t.findSegmentPosition,getSegmentReference:t.getSegmentReference,initSegmentReference:r,presentationTimeOffset:o.presentationTimeOffset}}function vn(t){return t.Ra}function yn(t,e){
var n=t.R.duration,i=e.O,r=e.ya,o=e.timescale,a=e.ub,s=t.bandwidth||null,u=t.w.id,c=t.w.U;return{createSegmentIndex:Promise.resolve.bind(Promise),findSegmentPosition:function(t){return 0>t||n&&t>=n?null:Math.floor(t/i)},getSegmentReference:function(t){var e=t*i;return 0>e||n&&e>=n?null:new He(t,e,e+i,function(){var n=Le(a,u,t+r,s,e*o);return T(c,[n])},0,null)}}}function bn(t,e){for(var n=[],i=0;i<e.F.length;i++){var r=i+e.ya;n.push(new He(r,e.F[i].start,e.F[i].end,function(t,e,n,i,r,o){
return t=Le(t,e,r,n,o),T(i,[t]).map(function(t){return t.toString()})}.bind(null,e.ub,t.w.id,t.bandwidth||null,t.w.U,r,e.F[i].oe+e.Nb),0,null))}return n}function wn(t){var e=Ue(t,vn,"initialization");if(!e)return null;var n=t.w.id,i=t.bandwidth||null,r=t.w.U;return new Be(function(){var t=Le(e,n,null,i,null);return T(r,[t])},0,null)}function _n(){var t,e={};for(t in Ia)e[t]=!0;for(t in Aa)e[t]=!0
;return["application/dash+xml","application/x-mpegurl","application/vnd.apple.mpegurl","application/vnd.ms-sstr+xml"].forEach(function(t){e[t]=!!Ia[t]}),["mpd","m3u8","ism"].forEach(function(t){e[t]=!!Aa[t]}),e}function En(t,e,n,i){var r=i;return r||(i=new c(t).W.split("/").pop().split("."),1<i.length&&(i=i.pop().toLowerCase(),r=Aa[i])),r?Promise.resolve(r):(n=I([t],n),n.method="HEAD",e.request(0,n).then(function(e){return(e=e.headers["content-type"])&&(e=e.toLowerCase()),
(r=Ia[e])?r:Promise.reject(new u(2,4,4e3,t))},function(t){return t.severity=2,Promise.reject(t)}))}function xn(t,e){this.f=t,this.i=e,this.c=this.a=1/0,this.b=1,this.h=0,this.g=!0}function Tn(){this.a=this.b=null,this.g=[],this.c=null,this.i=[],this.h=1,this.j={},this.l=0,this.f=null}function Cn(t){return t.a.networkingEngine.request(0,I(t.g,t.b.retryParameters)).then(function(t){if(this.a)return Sn(this,t.data,t.uri)}.bind(t))}function Sn(t,e,n){var i=q(e),r=new DOMParser,o=null;e=null;try{
o=r.parseFromString(i,"text/xml")}catch(t){}if(o&&"MPD"==o.documentElement.tagName&&(e=o.documentElement),e&&0<e.getElementsByTagName("parsererror").length&&(e=null),!e)throw new u(2,4,4001);n=[n],i=Ee(e,"Location").map(xe).filter(_),0<i.length&&(n=t.g=i),i=Ee(e,"BaseURL").map(xe),n=T(n,i);var a=Te(e,"minBufferTime",Se);t.l=Te(e,"minimumUpdatePeriod",Se,-1)
;var s=Te(e,"availabilityStartTime",Ce),i=Te(e,"timeShiftBufferDepth",Se),c=Te(e,"suggestedPresentationDelay",Se),r=Te(e,"maxSegmentDuration",Se),o=e.getAttribute("type")||"static";if(t.c)var l=t.c.presentationTimeline;else{var h=Math.max(10,1.5*a);l=new xn(s,null!=c?c:h)}var s=kn(t,{Ca:"static"!=o,presentationTimeline:l,T:null,R:null,S:null,w:null,bandwidth:void 0,Yb:!1},n,e),c=s.duration,f=s.periods;return l.wc("static"==o),l.pa(c||1/0),l.vc(null!=i?i:1/0),l.wb(r||1),
t.c?Promise.resolve():(e=Ee(e,"UTCTiming"),Rn(t,n,e,l.da()).then(function(t){this.a&&(l.uc(t),this.c={presentationTimeline:l,periods:f,offlineSessionIds:[],minBufferTime:a||0})}.bind(t)))}function kn(t,e,n,i){var r=Te(i,"mediaPresentationDuration",Se),o=[],a=0;i=Ee(i,"Period");for(var s=0;s<i.length;s++){var u=i[s],a=Te(u,"start",Se,a),c=Te(u,"duration",Se),l=null;if(s!=i.length-1){var h=Te(i[s+1],"start",Se);null!=h&&(l=h-a)}else null!=r&&(l=r-a);if(null==l&&(l=c),u=Mn(t,e,n,{start:a,
duration:l,node:u,sb:null==l||s==i.length-1}),o.push(u),c=e.T.id,t.i.every(E(c))&&(t.a.filterPeriod(u),t.i.push(c),t.c&&t.c.periods.push(u)),null==l){a=null;break}a+=l}return null!=r?{periods:o,duration:r}:{periods:o,duration:a}}function Mn(t,e,n,i){e.T=An(i.node,null,n),e.R=i,e.T.id||(e.T.id="__shaka_period_"+i.start),Ee(i.node,"EventStream").forEach(t.Dd.bind(t,i.start,i.duration)),n=Ee(i.node,"AdaptationSet").map(t.Bd.bind(t,e)).filter(_);var r=n.map(function(t){return t.Nd
}).reduce(b,[]),o=r.filter(x);if(e.Ca&&r.length!=o.length)throw new u(2,4,4018);var a=n.filter(function(t){return!t.Mb});if(n.filter(function(t){return t.Mb}).forEach(function(t){var e=t.streams[0],n=t.Mb;a.forEach(function(t){t.id==n&&t.streams.forEach(function(t){t.trickModeVideo=e})})}),r=Pn(a,"video"),o=Pn(a,"audio"),!r.length&&!o.length)throw new u(2,4,4004);for(o.length||(o=[null]),r.length||(r=[null]),e=[],n=0;n<o.length;n++)for(var s=0;s<r.length;s++)Nn(t,o[n],r[s],e);for(t=Pn(a,"text"),
r=[],n=0;n<t.length;n++)r.push.apply(r,t[n].streams);return{startTime:i.start,textStreams:r,variants:e}}function Pn(t,e){return t.filter(function(t){return t.contentType==e})}function Nn(t,e,n,i){if(e||n)if(e&&n){var r=e.drmInfos,o=n.drmInfos;if(r.length&&o.length?0<yt(r,o).length:1)for(var a=yt(e.drmInfos,n.drmInfos),r=0;r<e.streams.length;r++)for(var s=0;s<n.streams.length;s++)o=n.streams[s].bandwidth+e.streams[r].bandwidth,o={id:t.h++,language:e.language,primary:e.tb||n.tb,audio:e.streams[r],
video:n.streams[s],bandwidth:o,drmInfos:a,allowedByApplication:!0,allowedByKeySystem:!0},i.push(o)}else for(a=e||n,r=0;r<a.streams.length;r++)o=a.streams[r].bandwidth,o={id:t.h++,language:a.language||"und",primary:a.tb,audio:e?a.streams[r]:null,video:n?a.streams[r]:null,bandwidth:o,drmInfos:a.drmInfos,allowedByApplication:!0,allowedByKeySystem:!0},i.push(o)}function In(e,n){0>e.l||(e.f=t.setTimeout(e.fe.bind(e),1e3*Math.max(Math.max(3,e.l)-n,0)))}function An(t,e,n){e=e||{contentType:"",
mimeType:"",codecs:"",containsEmsgBoxes:!1,frameRate:void 0},n=n||e.U;var i=Ee(t,"BaseURL").map(xe),r=t.getAttribute("contentType")||e.contentType,o=t.getAttribute("mimeType")||e.mimeType,a=t.getAttribute("codecs")||e.codecs,s=Te(t,"frameRate",Ie)||e.frameRate,u=!!Ee(t,"InbandEventStream").length;return r||(r=Ln(o,a)),{U:T(n,i),Qa:_e(t,"SegmentBase")||e.Qa,oa:_e(t,"SegmentList")||e.oa,Ra:_e(t,"SegmentTemplate")||e.Ra,width:Te(t,"width",Ne)||e.width,height:Te(t,"height",Ne)||e.height,
contentType:r,mimeType:o,codecs:a,frameRate:s,containsEmsgBoxes:u||e.containsEmsgBoxes,id:t.getAttribute("id")}}function Dn(t){var e=0+(t.Qa?1:0);return e+=t.oa?1:0,(e+=t.Ra?1:0)?(1!=e&&(t.Qa&&(t.oa=null),t.Ra=null),!0):"text"==t.contentType||"application"==t.contentType}function On(t,e,n,i){return e=T(e,[n]),e=I(e,t.b.retryParameters),e.method=i,t.a.networkingEngine.request(0,e).then(function(t){if("HEAD"==i){if(!t.headers||!t.headers.date)return 0;t=t.headers.date}else t=q(t.data)
;return t=Date.parse(t),isNaN(t)?0:t-Date.now()})}function Rn(t,e,n,i){n=n.map(function(t){return{scheme:t.getAttribute("schemeIdUri"),value:t.getAttribute("value")}});var r=t.b.dash.clockSyncUri;return i&&!n.length&&r&&n.push({scheme:"urn:mpeg:dash:utc:http-head:2014",value:r}),y(n,function(t){var n=t.value;switch(t.scheme){case"urn:mpeg:dash:utc:http-head:2014":case"urn:mpeg:dash:utc:http-head:2012":return On(this,e,n,"HEAD");case"urn:mpeg:dash:utc:http-xsdate:2014":
case"urn:mpeg:dash:utc:http-iso:2014":case"urn:mpeg:dash:utc:http-xsdate:2012":case"urn:mpeg:dash:utc:http-iso:2012":return On(this,e,n,"GET");case"urn:mpeg:dash:utc:direct:2014":case"urn:mpeg:dash:utc:direct:2012":return t=Date.parse(n),isNaN(t)?0:t-Date.now();case"urn:mpeg:dash:utc:http-ntp:2014":case"urn:mpeg:dash:utc:ntp:2014":case"urn:mpeg:dash:utc:sntp:2014":default:return Promise.reject()}}.bind(t)).catch(function(){return 0})}function Ln(t,e){return da[te(t,e)]?"text":t.split("/")[0]}
function jn(t,e,n,i){this.uri=t,this.type=e,this.ga=n,this.segments=i||null}function Un(t,e,n,i){this.id=t,this.name=e,this.a=n,this.value=i||null}function Fn(t,e){this.name=t,this.value=e}function Bn(t,e,n){return n=n||null,(t=t.getAttribute(e))?t.value:n}function Hn(t,e){this.ga=e,this.uri=t}function Vn(t,e){return t.filter(function(t){return t.name==e})}function qn(t,e){var n=Vn(t,e);return n.length?n[0]:null}function Wn(t,e,n){return t.filter(function(t){var i=t.getAttribute("TYPE")
;return t=t.getAttribute("GROUP-ID"),i.value==e&&t.value==n})}function zn(t){this.b=t,this.a=0}function Yn(t,e){e.lastIndex=t.a;var n=(n=e.exec(t.b))?{position:n.index,length:n[0].length,Qd:n}:null;return t.a!=t.b.length&&n&&n.position==t.a?(t.a+=n.length,n.Qd):null}function Kn(t){return t.a==t.b.length?null:(t=Yn(t,/[^ \t\n]*/gm))?t[0]:null}function $n(){this.a=0}function Gn(t,e,n){e=q(e),e=e.replace(/\r\n|\r(?=[^\n]|$)/gm,"\n").trim();var i=e.split(/\n+/m)
;if(!/^#EXTM3U($|[ \t\n])/m.test(i[0]))throw new u(2,4,4015);e=0;for(var r=[],o=1;o<i.length;)if(/^#(?!EXT)/m.test(i[o]))o+=1;else{var a=i[o];if(a=Jn(t.a++,a),0<=Da.indexOf(a.name))e=1;else if(0<=Oa.indexOf(a.name)){if(1!=e)throw new u(2,4,4017);return i=i.splice(o,i.length-o),t=Xn(t,i),new jn(n,e,r,t)}r.push(a),o+=1,"EXT-X-STREAM-INF"==a.name&&(a.a.push(new Fn("URI",i[o])),o+=1)}return new jn(n,e,r)}function Xn(t,e){var n=[],i=[];return e.forEach(function(t){/^(#EXT)/.test(t)?(t=Jn(this.a++,t),
i.push(t)):/^#(?!EXT)/m.test(t)||(n.push(new Hn(t.trim(),i)),i=[])}.bind(t)),n}function Jn(t,e){var n=e.match(/^#(EXT[^:]*)(?::(.*))?$/);if(!n)throw new u(2,4,4016);var i=n[1],r=n[2],n=[];if(r&&0<=r.indexOf("="))for(var o,r=new zn(r),a=/([^=]+)=(?:"([^"]*)"|([^",]*))(?:,|$)/g;o=Yn(r,a);)n.push(new Fn(o[1],o[2]||o[3]));else if(r)return new Un(t,i,n,r);return new Un(t,i,n)}function Qn(t){return new Promise(function(e){var n=Qn.parse(t);e({uri:t,data:n.data,headers:{"content-type":n.contentType}})
})}function Zn(){this.b=this.c=null,this.i=1,this.g={},this.f={},this.a=null,this.j="",this.h=new $n}function ti(t,e,n){if(e=Gn(t.h,e,n),0!=e.type)throw new u(2,4,4022);return t.a=new xn(null,0),ei(t,e).then(function(t){return this.c.filterPeriod(t),{presentationTimeline:this.a,periods:[t],offlineSessionIds:[],minBufferTime:0}}.bind(t))}function ei(t,e){var n=Vn(e.ga,"EXT-X-STREAM-INF").map(function(t){return ni(this,t,e)}.bind(t)),i=Vn(e.ga,"EXT-X-MEDIA").filter(function(t){
return"SUBTITLES"==pi(t,"TYPE")}.bind(t)).map(function(t){return oi(this,t,e)}.bind(t));return Promise.all(n).then(function(t){return Promise.all(i).then(function(e){var n=t.reduce(b,[]);return li(this,n),{startTime:0,variants:n,textStreams:e}}.bind(this))}.bind(t))}function ni(t,e,n){var i=Number(pi(e,"BANDWIDTH")),r=Bn(e,"CODECS","avc1.42E01E,mp4a.40.2").split(","),o=e.getAttribute("RESOLUTION"),a=null,s=null,u=Bn(e,"FRAME-RATE");if(o)var c=o.value.split("x"),a=c[0],s=c[1];var l=di(t,n)
;n=Vn(n.ga,"EXT-X-MEDIA");var h=Bn(e,"AUDIO"),f=Bn(e,"VIDEO");h?n=Wn(n,"AUDIO",h):f&&(n=Wn(n,"VIDEO",f)),n=n.map(function(t){return ai(this,t,r,l)}.bind(t));var d=[],p=[];return Promise.all(n).then(function(t){if(h?d=t:f&&(p=t),d.length||p.length)var n=d.length?"video":"audio";else 1==r.length?n=o||u?"video":"audio":(n="video",r=[r.join(",")]);return t=r,si(this,pi(e,"URI"),t,n,l,"und",!1)}.bind(t)).then(function(t){return"audio"==t.stream.type?d=[t]:p=[t],ii(this,d,p,i,a,s,u)}.bind(t))}
function ii(t,e,n,i,r,o,a){n.forEach(function(t){(t=t.stream)&&(t.width=Number(r)||void 0,t.height=Number(o)||void 0,t.frameRate=Number(a)||void 0)}.bind(t)),e.length||(e=[null]),n.length||(n=[null]);for(var s=[],u=0;u<e.length;u++)for(var c=0;c<n.length;c++){var l=e[u]?e[u].stream:null,h=n[c]?n[c].stream:null,f=e[u]?e[u].drmInfos:null,d=n[c]?n[c].drmInfos:null;if(l&&h){if(!(f.length&&d.length?0<yt(f,d).length:1))continue;var p=yt(f,d)}else l?p=f:h&&(p=d);s.push(ri(t,l,h,i,p))}return s}
function ri(t,e,n,i,r){return{id:t.i++,language:e?e.language:"und",primary:!!e&&e.primary||!!n&&n.primary,audio:e,video:n,bandwidth:i,drmInfos:r,allowedByApplication:!0,allowedByKeySystem:!0}}function oi(t,e,n){return pi(e,"TYPE"),n=di(t,n),ai(t,e,[],n).then(function(t){return t.stream})}function ai(t,e,n,i){if(t.g[e.id])return Promise.resolve().then(function(){return this.g[e.id]}.bind(t));var r=pi(e,"TYPE").toLowerCase();"subtitles"==r&&(r="text")
;var o=Bt(Bn(e,"LANGUAGE","und")),a=e.getAttribute("DEFAULT"),s=e.getAttribute("AUTOSELECT");return si(t,pi(e,"URI"),n,r,i,o,!!a||!!s).then(function(t){return this.g[e.id]=t}.bind(t))}function si(t,e,n,i,r,o,a){return e=T([t.j],[e])[0],t.c.networkingEngine.request(0,I([e],t.b.retryParameters)).then(function(t){if(t=Gn(this.h,t.data,t.uri),1!=t.type)throw new u(2,4,4017);r=di(this,t)||r;var e=null;"text"!=i&&(e=ui(t));var s=qn(t.ga,"EXT-X-MEDIA-SEQUENCE"),s=ci(this,t,s?Number(s.value):0)
;this.a.Ga(0,s);var c=s[s.length-1].endTime-s[0].startTime,l=this.a.Y();(1/0==l||l<c)&&this.a.pa(c);var h=hi(i,n),f=void 0;"text"==i&&(f="subtitle");var d=new Je(s),p=[];t.segments.forEach(function(t){t=Vn(t.ga,"EXT-X-KEY"),p.push.apply(p,t)});var m=!1,g=[],v=null;if(p.forEach(function(t){if("NONE"!=pi(t,"METHOD")){m=!0;var e=pi(t,"KEYFORMAT");(t=(e=Fa[e])?e(t):null)&&(t.keyIds.length&&(v=t.keyIds[0]),g.push(t))}}),m&&!g.length)throw new u(2,4,4026)
;return fi(this,i,s[0].a()[0]).then(function(t){return t={id:this.i++,createSegmentIndex:Promise.resolve.bind(Promise),findSegmentPosition:d.find.bind(d),getSegmentReference:d.get.bind(d),initSegmentReference:e,presentationTimeOffset:r||0,mimeType:t,codecs:h,kind:f,encrypted:m,keyId:v,language:o,type:i,primary:a,trickModeVideo:null,containsEmsgBoxes:!1,frameRate:void 0,width:void 0,height:void 0,bandwidth:void 0},this.f[t.id]=d,{stream:t,ye:d,drmInfos:g}}.bind(this))}.bind(t))}function ui(t){
var e=Vn(t.ga,"EXT-X-MAP");if(!e.length)return null;if(1<e.length)throw new u(2,4,4020);var e=e[0],n=pi(e,"URI"),i=T([t.uri],[n])[0];return t=0,n=null,(e=Bn(e,"BYTERANGE"))&&(t=e.split("@"),e=Number(t[0]),t=Number(t[1]),n=t+e-1),new Be(function(){return[i]},t,n)}function ci(t,e,n){var i=e.segments,r=[];return i.forEach(function(t){var o,a=t.ga,s=T([e.uri],[t.uri])[0],u=mi(a).value.split(","),u=Number(u[0]);o=(t=i.indexOf(t))?r[t-1].endTime:0;var u=o+u,c=0,l=null
;(a=qn(a,"EXT-X-BYTERANGE"))&&(a=a.value.split("@"),l=Number(a[0]),c=a[1]?Number(a[1]):r[t-1].M,l=c+l-1,t==i.length-1&&(l=null)),r.push(new He(n+t,o,u,function(){return[s]},c,l))}.bind(t)),r}function li(t,e){e.forEach(function(t){var e=this.a.Y(),n=t.video;t=t.audio,n&&this.f[n.id]&&Qe(this.f[n.id],e),t&&this.f[t.id]&&Qe(this.f[t.id],e)}.bind(t))}function hi(t,e){if(1==e.length)return e[0];if("text"==t)return"";var n=Ra;"audio"==t&&(n=La)
;for(var i=0;i<n.length;i++)for(var r=0;r<e.length;r++)if(n[i].test(e[r].trim()))return e[r].trim();throw new u(2,4,4025,e)}function fi(t,e,n){var i=n.split("."),r=i[i.length-1];return"text"==e?Promise.resolve("text/vtt"):(i=ja,"video"==e&&(i=Ua),(e=i[r])?Promise.resolve(e):(n=I([n],t.b.retryParameters),n.method="HEAD",t.c.networkingEngine.request(1,n).then(function(t){if(!(t=t.headers["content-type"]))throw new u(2,4,4021,r);return t})))}function di(t,e){var n=qn(e.ga,"EXT-X-START")
;return n?Number(pi(n,"TIME-OFFSET")):t.b.hls.defaultTimeOffset}function pi(t,e){var n=t.getAttribute(e);if(!n)throw new u(2,4,4023,e);return n.value}function mi(t){if(!(t=qn(t,"EXTINF")))throw new u(2,4,4024,"EXTINF");return t}function gi(){}function vi(t){var e=[];if(!t)return e;for(var n=t.childNodes,i=0;i<n.length;i++){var r="span"==n[i].nodeName&&"p"==t.nodeName;n[i].nodeType!=Node.ELEMENT_NODE||"br"==n[i].nodeName||r||(r=vi(n[i]),e=e.concat(r))}return e.length||e.push(t),e}
function yi(t,e){for(var n=t.childNodes,i=0;i<n.length;i++)if("br"==n[i].nodeName&&0<i)n[i-1].textContent+="\n";else if(0<n[i].childNodes.length)yi(n[i],e);else if(e){var r=n[i].textContent.trim(),r=r.replace(/\s+/g," ");n[i].textContent=r}}function bi(t,e,n,i){for(var r=vi(e),o=0;o<r.length;o++){var a=r[o].getAttribute(i);if(a)return a}return r=wi,(t=r(e,"style",n)||r(t,"style",n))?t.getAttribute(i):null}function wi(t,e,n){if(!t||1>n.length)return null;var i=null,r=t
;for(t=null;r&&!(t=r.getAttribute(e))&&(r=r.parentNode)instanceof Element;);if(e=t)for(t=0;t<n.length;t++)if(n[t].getAttribute("xml:id")==e){i=n[t];break}return i}function _i(t,e){var n=null;if(Ba.test(t))var n=Ba.exec(t),i=Number(n[1]),r=Number(n[2]),o=Number(n[3]),a=Number(n[4]),a=a+(Number(n[5])||0)/e.b,o=o+a/e.frameRate,n=o+60*r+3600*i;else Ha.test(t)?n=Ei(Ha,t):Va.test(t)?n=Ei(Va,t):qa.test(t)?(n=qa.exec(t),n=Number(n[1])/e.frameRate):Wa.test(t)?(n=Wa.exec(t),
n=Number(n[1])/e.a):za.test(t)&&(n=Ei(za,t));return n}function Ei(t,e){var n=t.exec(e);return n&&""!=n[0]?(Number(n[4])||0)/1e3+(Number(n[3])||0)+60*(Number(n[2])||0)+3600*(Number(n[1])||0):null}function xi(t,e,n,i){this.frameRate=Number(t)||30,this.b=Number(e)||1,this.a=Number(i),this.a||(this.a=t?this.frameRate*this.b:1),n&&(t=/^(\d+) (\d+)$/g.exec(n))&&(this.frameRate*=t[1]/t[2])}function Ti(){this.a=new gi}function Ci(){}function Si(t,e){var n
;(n=/^align:(start|middle|center|end|left|right)$/.exec(e))?(t.align=n[1],"center"==n[1]&&"center"!=t.align&&(t.position="auto",t.align="middle")):(n=/^vertical:(lr|rl)$/.exec(e))?t.vertical=n[1]:(n=/^size:(\d{1,2}|100)%$/.exec(e))?t.size=Number(n[1]):(n=/^position:(\d{1,2}|100)%(?:,(line-left|line-right|center|start|end))?$/.exec(e))?(t.position=Number(n[1]),n[2]&&(t.positionAlign=n[2])):(n=/^line:(\d{1,2}|100)%(?:,(start|end|center))?$/.exec(e))?(t.snapToLines=!1,t.line=Number(n[1]),
n[2]&&(t.lineAlign=n[2])):(n=/^line:(-?\d+)(?:,(start|end|center))?$/.exec(e))&&(t.snapToLines=!0,t.line=Number(n[1]),n[2]&&(t.lineAlign=n[2]))}function ki(t){if(!(t=Yn(t,/(?:(\d{1,}):)?(\d{2}):(\d{2})\.(\d{3})/g)))return null;var e=Number(t[2]),n=Number(t[3]);return 59<e||59<n?null:Number(t[4])/1e3+n+60*e+3600*(Number(t[1])||0)}function Mi(){this.a=null}function Pi(t,e,n){var i,r,o;return(new We).C("payl",Ke(function(t){i=q(t)})).C("iden",Ke(function(t){r=q(t)})).C("sttg",Ke(function(t){o=q(t)
})).parse(t),i?Ni(i,r,o,e,n):null}function Ni(t,e,n,i,r){if((t=_t(i,r,t))&&e&&(t.id=e),t&&n)for(e=new zn(n),n=Kn(e);n;)Si(t,n),Yn(e,/[ \t]+/gm),n=Kn(e);return t}function Ii(t,e,n,i,r,o){this.a=t,this.c=e,this.l=n,this.A=i,this.J=r,this.G=o,this.b=new O,this.h=!1,this.g=1,this.j=this.f=null,this.B=t.readyState,this.i=!1,this.P=this.v=-1,this.o=!1,0<t.readyState?this.dc():L(this.b,t,"loadedmetadata",this.dc.bind(this)),e=this.fc.bind(this),R(this.b,t,"ratechange",this.pd.bind(this)),
R(this.b,t,"waiting",e),this.j=setInterval(e,250)}function Ai(t,e){0<t.a.readyState?t.a.currentTime=Ui(t,e):t.A=e}function Di(t){return 0<t.a.readyState?Ui(t,t.a.currentTime):Oi(t)}function Oi(t){return t.A?Ui(t,t.A):(t=t.c.presentationTimeline,1/0>t.Y()?t.ma():t.bb())}function Ri(e,n){null!=e.f&&(t.clearInterval(e.f),e.f=null),e.g=n,e.a.playbackRate=e.h||0>n?0:n,!e.h&&0>n&&(e.f=t.setInterval(function(){this.a.currentTime+=n/4}.bind(e),250))}function Li(t,e){
var n=St.bind(null,t.a.buffered),i=1*Math.max(t.c.minBufferTime||0,t.l.rebufferingGoal),r=t.c.presentationTimeline,o=r.ua(),a=r.Da(i),s=r.Da(5),i=r.Da(i+5);return e>o?o:e<r.Da(0)?n(s)?s:i:e>=a||n(e)?e:i}function ji(t,e,n){t.a.currentTime=n;var i=0,r=function(){!this.a||10<=i++||this.a.currentTime!=e||(this.a.currentTime=n,setTimeout(r,100))}.bind(t);setTimeout(r,100)}function Ui(t,e){var n=t.c.presentationTimeline.ma();return e<n?n:(n=t.c.presentationTimeline.ua(),e>n?n:e)}
function Fi(t,e,n,i,r,o){this.a=t,this.g=e,this.A=n,this.l=i,this.h=r,this.B=o,this.c=[],this.j=new O,this.b=!1,this.i=-1,this.f=null,Hi(this)}function Bi(t){var e=k(t);return e.eventElement=t.eventElement,e}function Hi(e){Vi(e),e.f=t.setTimeout(e.G.bind(e),250)}function Vi(e){e.f&&(t.clearTimeout(e.f),e.f=null)}function qi(t,e){this.a=e,this.b=t,this.h=null,this.i=1,this.o=Promise.resolve(),this.g=[],this.j={},this.c={},this.f=this.l=this.v=!1}function Wi(t){
return t.b.periods[ee(t.b,Di(t.a.Oa))]}function zi(t){return H(t.c,function(t){return t.na||t.stream})}function Yi(t,e){var n={};return n.text=e,Xi(t,n)}function Ki(t,e){var n=t.c.video;if(n){var i=n.stream;if(i)if(e){var r=i.trickModeVideo;if(r){var o=n.na;o||($i(t,"video",r,!1),n.na=i)}}else(o=n.na)&&(n.na=null,$i(t,"video",o,!0))}}function $i(t,e,n,i){var r=t.c[e];!r&&"text"==e&&t.h.ignoreTextStreamFailures?Yi(t,n):r&&(r.na&&(n.trickModeVideo?(r.na=n,n=n.trickModeVideo):r.na=null),
"text"==e&&Nt(t.a.K,te(n.mimeType,n.codecs)),(e=t.g[ne(t.b,n)])&&e.Ka&&(e=t.j[n.id])&&e.Ka&&r.stream!=n&&(r.stream=n,r.cb=!0,i&&(r.sa?r.kb=!0:r.wa?(r.ra=!0,r.kb=!0):(dr(r),hr(t,r,!0)))))}function Gi(t){var e=Di(t.a.Oa);if(!Object.keys(t.c).every(function(t){var n=this.a.K;return"text"==t?(t=n.a,t=e>=t.b&&e<t.a):(t=At(n,t),t=St(t,e)),t}.bind(t)))for(var n in t.c){var i=t.c[n];i.sa||i.ra||(i.wa?i.ra=!0:null==It(t.a.K,n)?null==i.qa&&fr(t,i,0):(dr(i),hr(t,i,!1)))}}function Xi(t,e,n){
var i=ee(t.b,Di(t.a.Oa)),r=H(e,function(t){return te(t.mimeType,t.codecs)});return t.a.K.init(r),Zi(t),r=B(e),Qi(t,r).then(function(){if(!this.f)for(var t in e){var r=e[t];this.c[t]||(this.c[t]={stream:r,type:t,Ea:null,ea:null,na:null,cb:!0,Ma:i,endOfStream:!1,wa:!1,qa:null,ra:!1,kb:!1,sa:!1,Eb:!1,rb:!1,pc:n||0},fr(this,this.c[t],0))}}.bind(t))}function Ji(t,e){var n=t.g[e];if(n)return n.L;n={L:new M,Ka:!1},t.g[e]=n;var i=t.b.periods[e].variants.map(function(t){var e=[]
;return t.audio&&e.push(t.audio),t.video&&e.push(t.video),t.video&&t.video.trickModeVideo&&e.push(t.video.trickModeVideo),e}).reduce(b,[]).filter(x);return i.push.apply(i,t.b.periods[e].textStreams),t.o=t.o.then(function(){if(!this.f)return Qi(this,i)}.bind(t)).then(function(){this.f||(this.g[e].L.resolve(),this.g[e].Ka=!0)}.bind(t)).catch(function(t){this.f||(this.g[e].L.reject(),delete this.g[e],this.a.onError(t))}.bind(t)),n.L}function Qi(t,e){e.map(function(t){return t.id}).filter(x)
;for(var n=[],i=0;i<e.length;++i){var r=e[i],o=t.j[r.id];o?n.push(o.L):(t.j[r.id]={L:new M,Ka:!1},n.push(r.createSegmentIndex()))}return Promise.all(n).then(function(){if(!this.f)for(var t=0;t<e.length;++t){var n=this.j[e[t].id];n.Ka||(n.L.resolve(),n.Ka=!0)}}.bind(t)).catch(function(t){if(!this.f)return this.j[r.id].L.reject(),delete this.j[r.id],Promise.reject(t)}.bind(t))}function Zi(t){var e=t.b.presentationTimeline.Y();1/0>e?t.a.K.pa(e):t.a.K.pa(Math.pow(2,32))}function tr(t,e){
var n=Di(t.a.Oa),i=e.Ea&&e.ea?t.b.periods[ne(t.b,e.Ea)].startTime+e.ea.endTime:Math.max(n,e.pc);e.pc=0;var r=ne(t.b,e.stream),o=ee(t.b,i),a=t.a.K,s=e.type;return"text"==s?(a=a.a,a=null==a.a||a.a<n?0:a.a-Math.max(n,a.b)):(a=At(a,s),a=kt(a,n)),s=Math.max(t.i*Math.max(t.b.minBufferTime||0,t.h.rebufferingGoal),t.i*t.h.bufferingGoal),i>=t.b.presentationTimeline.Y()?(e.endOfStream=!0,null):(e.endOfStream=!1,e.Ma=o,o!=r?null:a>=s?.5:(i=t.a.K,o=e.type,i="text"==o?i.a.a:Ct(At(i,o)),
e.ea&&e.stream==e.Ea?(o=e.ea.position+1,i=er(t,e,r,o)):(o=e.ea?e.stream.findSegmentPosition(Math.max(0,t.b.periods[ne(t.b,e.Ea)].startTime+e.ea.endTime-t.b.periods[r].startTime)):e.stream.findSegmentPosition(Math.max(0,(i||n)-t.b.periods[r].startTime)),null==o?i=null:(a=null,null==i&&(a=er(t,e,r,Math.max(0,o-1))),i=a||er(t,e,r,o))),i?(nr(t,e,n,r,i),null):1))}function er(t,e,n,i){return n=t.b.periods[n],(e=e.stream.getSegmentReference(i))?(t=t.b.presentationTimeline,i=t.ua(),
n.startTime+e.endTime<t.ma()||n.startTime+e.startTime>i?null:e):null}function nr(t,e,n,i,r){var o=t.b.periods[i],a=e.stream,s=t.b.periods[i+1],u=null,u=s?s.startTime:t.b.presentationTimeline.Y();i=rr(t,e,i,u),e.wa=!0,e.cb=!1,s=lr(t,r),Promise.all([i,s]).then(function(t){if(!this.f&&!this.l)return or(this,e,n,o,a,r,t[1])}.bind(t)).then(function(){this.f||this.l||(e.wa=!1,e.Eb=!1,e.ra||this.a.yb(),fr(this,e,0),sr(this,a))}.bind(t)).catch(function(t){this.f||this.l||(e.wa=!1,
1001==t.code||1002==t.code||1003==t.code?"text"==e.type&&this.h.ignoreTextStreamFailures&&1001==t.code?delete this.c.text:(t.severity=1,this.a.onError(t),fr(this,e,4)):3017==t.code?ir(this,e,t):"text"==e.type&&this.h.ignoreTextStreamFailures?delete this.c.text:(e.rb=!0,t.severity=2,this.a.onError(t)))}.bind(t))}function ir(t,e,n){if(!B(t.c).some(function(t){return t!=e&&t.Eb})){var i=Math.round(100*t.i);if(20<i)t.i-=.2;else{if(!(4<i))return e.rb=!0,t.l=!0,void t.a.onError(n);t.i-=.04}e.Eb=!0}
fr(t,e,4)}function rr(t,e,n,i){return e.cb?(n=Rt(t.a.K,e.type,t.b.periods[n].startTime-e.stream.presentationTimeOffset,i),e.stream.initSegmentReference?(t=lr(t,e.stream.initSegmentReference).then(function(t){if(!this.f)return Dt(this.a.K,e.type,t,null,null)}.bind(t)).catch(function(t){return e.cb=!0,Promise.reject(t)}),Promise.all([n,t])):n):Promise.resolve()}function or(t,e,n,i,r,o,a){return r.containsEmsgBoxes&&(new We).ca("emsg",t.Cd.bind(t,i,o)).parse(a),ar(t,e,n).then(function(){
if(!this.f)return Dt(this.a.K,e.type,a,o.startTime+i.startTime,o.endTime+i.startTime)}.bind(t)).then(function(){if(!this.f)return e.Ea=r,e.ea=o,Promise.resolve()}.bind(t))}function ar(t,e,n){var i=It(t.a.K,e.type);return null==i?Promise.resolve():(n=n-i-t.h.bufferBehind,0>=n?Promise.resolve():t.a.K.remove(e.type,i,i+n).then(function(){}.bind(t)))}function sr(t,e){if(!t.v&&(t.v=B(t.c).every(function(t){return"text"==t.type||!t.ra&&!t.sa&&t.ea}),t.v)){var n=ne(t.b,e)
;for(t.g[n]||Ji(t,n).then(function(){this.a.Zb()}.bind(t)).catch(w),n=0;n<t.b.periods.length;++n)Ji(t,n).catch(w);t.a.ud&&t.a.ud()}}function ur(t,e){if(e.Ma!=ne(t.b,e.stream)){var n=e.Ma,i=B(t.c);i.every(function(t){return t.Ma==n})&&i.every(cr)&&Ji(t,n).then(function(){if(!this.f&&i.every(function(t){var e=ne(this.b,t.stream);return cr(t)&&t.Ma==n&&e!=n}.bind(this))){var t,e=this.b.periods[n],r=this.a.$b(e);for(t in this.c)if(!r[t]&&"text"!=t)return void this.a.onError(new u(2,5,5005))
;for(t in r)if(!this.c[t]){if("text"!=t)return void this.a.onError(new u(2,5,5005));Xi(this,{text:r.text},e.startTime),delete r[t]}for(t in this.c)(e=r[t])?($i(this,t,e,!1),fr(this,this.c[t],0)):delete this.c[t];this.a.Zb()}}.bind(t)).catch(w)}}function cr(t){return!t.wa&&null==t.qa&&!t.ra&&!t.sa}function lr(t,e){var n=I(e.a(),t.h.retryParameters);if(e.X||null!=e.M){var i="bytes="+e.X+"-";null!=e.M&&(i+=e.M),n.headers.Range=i}return t.a.bd.request(1,n).then(function(t){return t.data})}
function hr(t,e,n){e.ra=!1,e.kb=!1,e.sa=!0,Ot(t.a.K,e.type).then(function(){if(!this.f&&n){var t=this.a.K,i=e.type;return"text"==i?Promise.resolve():Lt(t,i,t.Mc.bind(t,i))}}.bind(t)).then(function(){this.f||(e.Ea=null,e.ea=null,e.sa=!1,e.endOfStream=!1,fr(this,e,0))}.bind(t))}function fr(e,n,i){n.qa=t.setTimeout(e.ie.bind(e,n),1e3*i)}function dr(e){null!=e.qa&&(t.clearTimeout(e.qa),e.qa=null)}function pr(t,e){return new Promise(function(n,i){var r=new XMLHttpRequest;r.open(e.method,t,!0),
r.responseType="arraybuffer",r.timeout=e.retryParameters.timeout,r.withCredentials=e.allowCrossSiteCredentials,r.onload=function(e){e=e.target;var r=e.getAllResponseHeaders().split("\r\n").reduce(function(t,e){var n=e.split(": ");return t[n[0].toLowerCase()]=n.slice(1).join(": "),t},{});if(200<=e.status&&299>=e.status&&202!=e.status)e.responseURL&&(t=e.responseURL),n({uri:t,data:e.response,headers:r,fromCache:!!r["x-shaka-from-cache"]});else{var o=null;try{o=z(e.response)}catch(t){}
i(new u(401==e.status||403==e.status?2:1,1,1001,t,e.status,o,r))}},r.onerror=function(){i(new u(1,1,1002,t))},r.ontimeout=function(){i(new u(1,1,1003,t))};for(var o in e.headers)r.setRequestHeader(o,e.headers[o]);r.send(e.body)})}function mr(){this.a=null,this.b=[],this.c={}}function gr(t,e,n){return br(t,e,"readwrite",function(t){t.put(n)})}function vr(t,e,n){return br(t,"segment","readwrite",function(t){for(var i=0;i<e.length;i++)t.delete(e[i]).onsuccess=n||function(){}})}function yr(t,e){
var n=0;return br(t,e,"readonly",function(t){t.openCursor(null,"prev").onsuccess=function(t){(t=t.target.result)&&(n=t.key+1)}}).then(function(){return n})}function br(t,e,n,i){var r={transaction:t.a.transaction([e],n),L:new M};return r.transaction.oncomplete=function(){this.b.splice(this.b.indexOf(r),1),r.L.resolve()}.bind(t),r.transaction.onabort=function(t){this.b.splice(this.b.indexOf(r),1),_r(r.transaction,r.L,t)}.bind(t),r.transaction.onerror=function(t){t.preventDefault()}.bind(t),
e=r.transaction.objectStore(e),i(e),t.b.push(r),r.L}function wr(e,n,i){var r=t.indexedDB.open("shaka_offline_db",1),o=!1,a=new M;return r.onupgradeneeded=function(t){o=!0,t=t.target.result;for(var e in n)t.createObjectStore(e,{keyPath:n[e]})},r.onsuccess=function(t){i&&!o?(t.target.result.close(),setTimeout(function(){wr(this,n,i-1).then(a.resolve,a.reject)}.bind(this),1e3)):(this.a=t.target.result,a.resolve())}.bind(e),r.onerror=_r.bind(null,r,a),a}function _r(t,e,n){
t.error?e.reject(new u(2,9,9001,t.error)):e.reject(new u(2,9,9002)),n.preventDefault()}function Er(t){var e=xr(t.periods[0],[],new xn(null,0)),n=zt(e,null,null),e=Yt(e,null);return n.push.apply(n,e),{offlineUri:"offline:"+t.key,originalManifestUri:t.originalManifestUri,duration:t.duration,size:t.size,expiration:void 0==t.expiration?1/0:t.expiration,tracks:n,appMetadata:t.appMetadata}}function xr(t,e,n){var i=t.streams.filter(function(t){return"text"==t.contentType})
;return e=Cr(t.streams.filter(function(t){return"audio"==t.contentType}),t.streams.filter(function(t){return"video"==t.contentType}),e),i=i.map(kr),t.streams.forEach(function(t){t=Tr(t),n.Ga(0,t)}),{startTime:t.startTime,variants:e,textStreams:i}}function Tr(t){return t.segments.map(function(t,e){return new He(e,t.startTime,t.endTime,function(){return[t.uri]},0,null)})}function Cr(t,e,n){var i=[];if(!t.length&&!e.length)return i;t.length?e.length||(e=[null]):t=[null]
;for(var r=0,o=0;o<t.length;o++)for(var a=0;a<e.length;a++)if(Sr(t[o],e[a])){var s=t[o],u=e[a],c=n;s={id:r++,language:s?s.language:"",primary:!!s&&s.primary||!!u&&u.primary,audio:kr(s),video:kr(u),bandwidth:0,drmInfos:c,allowedByApplication:!0,allowedByKeySystem:!0},i.push(s)}return i}function Sr(t,e){if(!(t&&e&&t.variantIds&&e.variantIds))return!0;for(var n=0;n<t.variantIds.length;n++)if(e.variantIds.some(function(e){return e==t.variantIds[n]}))return!0;return!1}function kr(t){if(!t)return null
;var e=Tr(t),e=new Je(e);return{id:t.id,createSegmentIndex:Promise.resolve.bind(Promise),findSegmentPosition:e.find.bind(e),getSegmentReference:e.get.bind(e),initSegmentReference:t.initSegmentUri?new Be(function(){return[t.initSegmentUri]},0,null):null,presentationTimeOffset:t.presentationTimeOffset,mimeType:t.mimeType,codecs:t.codecs,width:t.width||void 0,height:t.height||void 0,frameRate:t.frameRate||void 0,kind:t.kind,encrypted:t.encrypted,keyId:t.keyId,language:t.language,type:t.contentType,
primary:t.primary,trickModeVideo:null,containsEmsgBoxes:!1}}function Mr(){return t.indexedDB?new mr:null}function Pr(t,e,n,i){this.b={},this.l=[],this.o=i,this.j=t,this.v=e,this.A=n,this.i=this.a=null,this.f=this.g=this.h=this.c=0}function Nr(t,e,n,i,r){t.b[e]=t.b[e]||[],t.b[e].push({uris:n.a(),X:n.X,M:n.M,Pb:i,Fb:r})}function Ir(t,e){t.c=0,t.h=0,t.g=0,t.f=0,B(t.b).forEach(function(t){t.forEach(function(t){null!=t.M?this.c+=t.M-t.X+1:this.g+=t.Pb}.bind(this))}.bind(t)),t.a=e,t.a.size=t.c
;var n=B(t.b).map(function(t){var e=0,n=function(){return this.o?e>=t.length?Promise.resolve():Ar(this,t[e++]).then(n):Promise.reject(new u(2,9,9002))}.bind(this);return n()}.bind(t));return t.b={},t.i=Promise.all(n).then(function(){return gr(this.j,"manifest",e)}.bind(t)).then(function(){this.l=[]}.bind(t)),t.i}function Ar(t,e){var n=I(e.uris,t.A);(e.X||null!=e.M)&&(n.headers.Range="bytes="+e.X+"-"+(null==e.M?"":e.M));var i;return t.v.request(1,n).then(function(t){
return this.a?(i=t.data.byteLength,this.l.push(e.Fb.key),e.Fb.data=t.data,gr(this.j,"segment",e.Fb)):Promise.reject(new u(2,9,9002))}.bind(t)).then(function(){if(!this.a)return Promise.reject(new u(2,9,9002));null==e.M?(this.a.size+=i,this.f+=e.Pb):this.h+=i;var t=(this.h+this.f)/(this.c+this.g),n=Er(this.a);this.o.progressCallback(n,t)}.bind(t))}function Dr(){this.a=-1}function Or(t){var e=new xn(null,0);e.pa(t.duration);var n=t.drmInfo?[t.drmInfo]:[];return{presentationTimeline:e,
minBufferTime:10,offlineSessionIds:t.sessionIds,periods:t.periods.map(function(t){return xr(t,n,e)})}}function Rr(t){if(/^offline:([0-9]+)$/.exec(t)){var e={uri:t,data:new ArrayBuffer(0),headers:{"content-type":"application/x-offline-manifest"}};return Promise.resolve(e)}if(e=/^offline:[0-9]+\/[0-9]+\/([0-9]+)$/.exec(t)){var n=Number(e[1]),i=Mr();return i?i.init(Ga).then(function(){return i.get("segment",n)}).then(function(e){return i.m().then(function(){if(!e)throw new u(2,9,9003,n);return{
uri:t,data:e.data,headers:{}}})}):Promise.reject(new u(2,9,9e3))}return Promise.reject(new u(2,1,9004,t))}function Lr(){this.a=Promise.resolve(),this.c=this.b=this.f=!1,this.g=new Promise(function(t){this.h=t}.bind(this))}function jr(t){return t.f||(t.a=t.a.then(function(t){return this.b=!0,Promise.resolve(t)}.bind(t),function(t){return this.b=!0,Promise.reject(t)}.bind(t))),t.f=!0,t.a}function Ur(t,e){fe.call(this),this.J=!1,this.f=t,this.A=null,this.l=new O,this.Ob=new ie,
this.Ya=this.c=this.h=this.a=this.v=this.g=this.Wa=this.ja=this.N=this.j=this.o=null,this.Bc=1e9,this.Va=[],this.ka=!1,this.Za=!0,this.la=this.G=null,this.B={},this.Xa=[],this.P={},this.b=Yr(this),this.mb={width:1/0,height:1/0},this.i=Kr(),this.Ua=0,this.ia=this.b.preferredAudioLanguage,this.Ba=this.b.preferredTextLanguage,e&&e(this),this.o=new P(this.be.bind(this)),this.Wa=Fr(this);for(var n=0;n<this.f.textTracks.length;++n){var i=this.f.textTracks[n];i.mode="disabled",
"Shaka Player TextTrack"==i.label&&(this.A=i)}this.A||(this.A=this.f.addTextTrack("subtitles","Shaka Player TextTrack")),this.A.mode="hidden",R(this.l,this.f,"error",this.wd.bind(this))}function Fr(e){e.N=new MediaSource;var n=new M;return R(e.l,e.N,"sourceopen",n.resolve),e.f.src=t.URL.createObjectURL(e.N),n}function Br(t){if(t.h&&t.h.configure(t.b.manifest),t.j&&t.j.configure(t.b.drm),t.a){t.a.configure(t.b.streaming);try{t.c.periods.forEach(t.fb.bind(t))}catch(e){t.xa(e)}Qr(t,Wi(t.a))}
t.b.abr.enabled&&!t.Za?t.b.abr.manager.enable():t.b.abr.manager.disable(),t.b.abr.manager.setDefaultEstimate(t.b.abr.defaultBandwidthEstimate),t.b.abr.manager.setRestrictions(t.b.abr.restrictions)}function Hr(t,e,n){t.i.switchHistory.push({timestamp:Date.now()/1e3,id:e.id,type:e.type,fromAdaptation:n}),Vr(t,e)}function Vr(t,e){var n=ne(t.c,e);t.P[n]||(t.P[n]={}),t.P[n][e.type]=e.id}function qr(t){t.l&&(t.l.ha(t.N,"sourceopen"),t.l.ha(t.f,"loadeddata"),t.l.ha(t.f,"playing"),t.l.ha(t.f,"pause"),
t.l.ha(t.f,"ended")),t.f&&(t.f.removeAttribute("src"),t.f.load());var e=Promise.all([t.b?t.b.abr.manager.stop():null,t.j?t.j.m():null,t.ja?t.ja.m():null,t.g?t.g.m():null,t.v?t.v.m():null,t.a?t.a.m():null,t.h?t.h.stop():null]);return t.j=null,t.ja=null,t.g=null,t.v=null,t.a=null,t.h=null,t.c=null,t.Ya=null,t.Wa=null,t.N=null,t.Xa=[],t.P={},t.B={},t.i=Kr(),e}function Wr(t){return t.h?qr(t).then(function(){this.J||(this.xc(!1),this.Wa=Fr(this))}.bind(t)):Promise.resolve()}function zr(){return{
".drm.servers":"",".drm.clearKeys":"",".drm.advanced":{distinctiveIdentifierRequired:!1,persistentStateRequired:!1,videoRobustness:"",audioRobustness:"",serverCertificate:null}}}function Yr(t){return{drm:{retryParameters:N(),servers:{},clearKeys:{},advanced:{},delayLicenseRequestUntilPlayed:!1},manifest:{retryParameters:N(),dash:{customScheme:function(t){if(t)return null},clockSyncUri:"",ignoreDrmInfo:!1},hls:{defaultTimeOffset:0}},streaming:{retryParameters:N(),rebufferingGoal:2,
bufferingGoal:10,bufferBehind:30,ignoreTextStreamFailures:!1,startAtSegmentBoundary:!1,smallGapLimit:.5,jumpLargeGaps:!1},abr:{manager:t.Ob,enabled:!0,defaultBandwidthEstimate:5e5,restrictions:{minWidth:0,maxWidth:1/0,minHeight:0,maxHeight:1/0,minPixels:0,maxPixels:1/0,minBandwidth:0,maxBandwidth:1/0}},preferredAudioLanguage:"",preferredTextLanguage:"",restrictions:{minWidth:0,maxWidth:1/0,minHeight:0,maxHeight:1/0,minPixels:0,maxPixels:1/0,minBandwidth:0,maxBandwidth:1/0}}}function Kr(){return{
width:NaN,height:NaN,streamBandwidth:NaN,decodedFrames:NaN,droppedFrames:NaN,estimatedBandwidth:NaN,loadLatency:NaN,playTime:0,bufferingTime:0,switchHistory:[],stateHistory:[]}}function $r(t,e,n){for(var i in e){var r=e[i],o=n||!1;"text"==i&&(o=!0),t.Za?t.B[i]={stream:r,Ic:o}:$i(t.a,i,r,o)}}function Gr(t){if(t.c){var e=Date.now()/1e3;t.ka?t.i.bufferingTime+=e-t.Ua:t.i.playTime+=e-t.Ua,t.Ua=e}}function Xr(t,e){function n(t,e){if(!t)return null;var n=t.findSegmentPosition(e-r.startTime)
;return null==n?null:(n=t.getSegmentReference(n))?n.startTime+r.startTime:null}var i=zi(t.a),r=Wi(t.a),o=n(i.video,e),i=n(i.audio,e);return null!=o&&null!=i?Math.max(o,i):null!=o?o:null!=i?i:e}function Jr(t,e,n,i,r){if(!n||1>n.length)return t.xa(new u(2,4,4012)),{};t.b.abr.manager.setVariants(n),t.b.abr.manager.setTextStreams(i);var o=[];if(r&&(o=["video","audio"],e.textStreams.length&&o.push("text")),r=zi(t.a),e=Qt(r.audio,r.video,e.variants)){
e.allowedByApplication&&e.allowedByKeySystem||(o.push("audio"),o.push("video"));for(var a in r)e=r[a],"audio"==e.type&&e.language!=n[0].language?o.push(a):"text"==e.type&&0<i.length&&e.language!=i[0].language&&o.push(a)}if(o=o.filter(x),0<o.length){n={};try{n=t.b.abr.manager.chooseStreams(o)}catch(e){t.xa(e)}return n}return{}}function Qr(t,e){var n,i={audio:!1,text:!1},r=Xt(e,t.ia,i),o=Jt(e,t.Ba,i),r=Jr(t,e,r,o);for(n in r)Hr(t,r[n],!0);$r(t,r,!0),Zr(t),
r.text&&r.audio&&i.text&&r.text.language!=r.audio.language&&(t.A.mode="showing",eo(t))}function Zr(t){Promise.resolve().then(function(){this.J||this.dispatchEvent(new oe("adaptation"))}.bind(t))}function to(t){Promise.resolve().then(function(){this.J||this.dispatchEvent(new oe("trackschanged"))}.bind(t))}function eo(t){t.dispatchEvent(new oe("texttrackvisibility"))}function no(t){this.a=Mr(),this.f=t,this.i=oo(this),this.b=null,this.v=!1,this.j=null,this.g=-1,this.l=0,this.c=null,
this.h=new Pr(this.a,t.o,t.getConfiguration().streaming.retryParameters,this.i)}function io(){return!!t.indexedDB}function ro(t,e,n,i){function r(){}var o,a,s,u=t.f.o,c=t.f.getConfiguration();return En(e,u,c.manifest.retryParameters,i).then(function(t){return lo(this),s=new t,s.configure(c.manifest),s.start(e,{networkingEngine:u,filterPeriod:this.o.bind(this),onTimelineRegionAdded:function(){},onEvent:function(){},onError:n})}.bind(t)).then(function(t){return lo(this),o=t,
a=new et(u,n,r,function(){}),a.configure(c.drm),a.init(o,!0)}.bind(t)).then(function(){return lo(this),uo(o)}.bind(t)).then(function(){return lo(this),rt(a)}.bind(t)).then(function(){return lo(this),s.stop()}.bind(t)).then(function(){return lo(this),{manifest:o,Jc:a}}.bind(t)).catch(function(t){if(s)return s.stop().then(function(){throw t});throw t})}function oo(t){return{trackSelectionCallback:t.A.bind(t),progressCallback:function(t,e){if(t||e)return null}}}function ao(t){
return t.a?t.a.a?Promise.resolve():t.a.init(Ga):Promise.reject(new u(2,9,9e3))}function so(t){var e=t.b?t.b.m():Promise.resolve();return t.b=null,t.c=null,t.v=!1,t.j=null,t.g=-1,e}function uo(t){var e=t.periods.map(function(t){return t.variants}).reduce(b,[]).map(function(t){var e=[];return t.audio&&e.push(t.audio),t.video&&e.push(t.video),e}).reduce(b,[]).filter(x);return t=t.periods.map(function(t){return t.textStreams}).reduce(b,[]),e.push.apply(e,t),Promise.all(e.map(function(t){
return t.createSegmentIndex()}))}function co(t,e,n,i,r){for(var o=[],a=t.c.presentationTimeline.ma(),s=a,u=n.findSegmentPosition(a),c=null!=u?n.getSegmentReference(u):null;c;)s=t.a.c.segment++,Nr(t.h,n.type,c,(c.endTime-c.startTime)*i/8,{key:s,data:null,manifestKey:t.g,streamNumber:n.id,segmentNumber:s}),o.push({startTime:c.startTime,endTime:c.endTime,uri:"offline:"+t.g+"/"+n.id+"/"+s}),s=c.endTime+e.startTime,c=n.getSegmentReference(++u);return t.l=Math.max(t.l,s-a),e=null,
n.initSegmentReference&&(s=t.a.c.segment++,e="offline:"+t.g+"/"+n.id+"/"+s,Nr(t.h,n.contentType,n.initSegmentReference,0,{key:s,data:null,manifestKey:t.g,streamNumber:n.id,segmentNumber:-1})),t=[],null!=r&&t.push(r),{id:n.id,primary:n.primary,presentationTimeOffset:n.presentationTimeOffset||0,contentType:n.type,mimeType:n.mimeType,codecs:n.codecs,frameRate:n.frameRate,kind:n.kind,language:n.language,width:n.width||null,height:n.height||null,initSegmentUri:e,encrypted:n.encrypted,keyId:n.keyId,
segments:o,variantIds:t}}function lo(t){if(!t.f)throw new u(2,9,9002)}function ho(t){Ja.push(t)}function fo(t){var e=t.type.replace(/^(webkit|moz|MS)/,"").toLowerCase();if("function"==typeof Event)var n=new Event(e,t);else n=document.createEvent("Event"),n.initEvent(e,t.bubbles,t.cancelable);t.target.dispatchEvent(n)}function po(t){this.f=[],this.b=[],this.a=[],(new We).ca("pssh",this.c.bind(this)).parse(t.buffer)}function mo(t,e){try{var n=new go(t,e);return Promise.resolve(n)}catch(t){
return Promise.reject(t)}}function go(t,e){this.keySystem=t;for(var n=!1,i=0;i<e.length;++i){var r=e[i],o={audioCapabilities:[],videoCapabilities:[],persistentState:"optional",distinctiveIdentifier:"optional",initDataTypes:r.initDataTypes,sessionTypes:["temporary"],label:r.label},a=!1;if(r.audioCapabilities)for(var s=0;s<r.audioCapabilities.length;++s){var u=r.audioCapabilities[s];if(u.contentType){a=!0;var c=u.contentType.split(";")[0]
;MSMediaKeys.isTypeSupported(this.keySystem,c)&&(o.audioCapabilities.push(u),n=!0)}}if(r.videoCapabilities)for(s=0;s<r.videoCapabilities.length;++s)u=r.videoCapabilities[s],u.contentType&&(a=!0,c=u.contentType.split(";")[0],MSMediaKeys.isTypeSupported(this.keySystem,c)&&(o.videoCapabilities.push(u),n=!0));if(a||(n=MSMediaKeys.isTypeSupported(this.keySystem,"video/mp4")),"required"==r.persistentState&&(o.persistentState="required",o.sessionTypes=["persistent-license"]),n)return void(this.a=o)}
throw r=Error("Unsupported keySystem"),r.name="NotSupportedError",r.code=DOMException.NOT_SUPPORTED_ERR,r}function vo(t){var e=this.mediaKeys;return e&&e!=t&&bo(e,null),delete this.mediaKeys,(this.mediaKeys=t)?bo(t,this):Promise.resolve()}function yo(t){this.a=new MSMediaKeys(t),this.b=new O}function bo(t,e){function n(){e.msSetMediaKeys(i.a),e.removeEventListener("loadedmetadata",n)}if(j(t.b),!e)return Promise.resolve();R(t.b,e,"msneedkey",_o);var i=t;try{
return 1<=e.readyState?e.msSetMediaKeys(t.a):e.addEventListener("loadedmetadata",n),Promise.resolve()}catch(t){return Promise.reject(t)}}function wo(t){fe.call(this),this.c=null,this.g=t,this.b=this.a=null,this.f=new O,this.sessionId="",this.expiration=NaN,this.closed=new M,this.keyStatuses=new To}function _o(t){var e=document.createEvent("CustomEvent");if(e.initCustomEvent("encrypted",!1,!1,null),e.initDataType="cenc",t=t.initData){var n=new po(t);if(!(1>=n.a.length)){
for(var i=[],r=0;r<n.a.length;r++)i.push(t.subarray(n.a[r].start,n.a[r].end+1));for(r=Eo,t=[],n=0;n<i.length;++n){for(var o=!1,a=0;a<t.length&&!(o=r?r(i[n],t[a]):i[n]===t[a]);++a);o||t.push(i[n])}for(r=i=0;r<t.length;r++)i+=t[r].length;for(i=new Uint8Array(i),r=n=0;r<t.length;r++)i.set(t[r],n),n+=t[r].length;t=i}}e.initData=t,this.dispatchEvent(e)}function Eo(t,e){return tt(t,e)}function xo(t,e){t.keyStatuses.Ib(e),t.dispatchEvent(new oe("keystatuseschange"))}function To(){this.size=0,
this.a=void 0}function Co(){return Promise.reject(Error("The key system specified is not supported."))}function So(t){return t?Promise.reject(Error("MediaKeys not supported.")):Promise.resolve()}function ko(){throw new TypeError("Illegal constructor.")}function Mo(){throw new TypeError("Illegal constructor.")}function Po(e){Za=e,ts=new Uint8Array([0]).buffer,navigator.requestMediaKeySystemAccess=Io,delete HTMLMediaElement.prototype.mediaKeys,HTMLMediaElement.prototype.mediaKeys=null,
HTMLMediaElement.prototype.setMediaKeys=Ao,t.MediaKeys=Oo,t.MediaKeySystemAccess=Do}function No(t){var e=Za;return e?e+t.charAt(0).toUpperCase()+t.slice(1):t}function Io(t,e){try{var n=new Do(t,e);return Promise.resolve(n)}catch(t){return Promise.reject(t)}}function Ao(t){var e=this.mediaKeys;return e&&e!=t&&Ro(e,null),delete this.mediaKeys,(this.mediaKeys=t)&&Ro(t,this),Promise.resolve()}function Do(t,e){this.a=this.keySystem=t;var n=!0;"org.w3.clearkey"==t&&(this.a="webkit-org.w3.clearkey",
n=!1);for(var i=!1,r=document.getElementsByTagName("video"),o=r.length?r[0]:document.createElement("video"),a=0;a<e.length;++a){r=e[a];var s={audioCapabilities:[],videoCapabilities:[],persistentState:"optional",distinctiveIdentifier:"optional",initDataTypes:r.initDataTypes,sessionTypes:["temporary"],label:r.label},u=!1;if(r.audioCapabilities)for(var c=0;c<r.audioCapabilities.length;++c){var l=r.audioCapabilities[c];if(l.contentType){var u=!0,h=l.contentType.split(";")[0]
;o.canPlayType(h,this.a)&&(s.audioCapabilities.push(l),i=!0)}}if(r.videoCapabilities)for(c=0;c<r.videoCapabilities.length;++c)l=r.videoCapabilities[c],l.contentType&&(u=!0,o.canPlayType(l.contentType,this.a)&&(s.videoCapabilities.push(l),i=!0));if(u||(i=o.canPlayType("video/mp4",this.a)||o.canPlayType("video/webm",this.a)),"required"==r.persistentState&&(n?(s.persistentState="required",s.sessionTypes=["persistent-license"]):i=!1),i)return void(this.b=s)}throw n="Unsupported keySystem",
"org.w3.clearkey"!=t&&"com.widevine.alpha"!=t||(n="None of the requested configurations were supported."),n=Error(n),n.name="NotSupportedError",n.code=DOMException.NOT_SUPPORTED_ERR,n}function Oo(t){this.g=t,this.b=null,this.a=new O,this.c=[],this.f={}}function Ro(t,e){t.b=e,j(t.a);var n=Za;e&&(R(t.a,e,n+"needkey",t.Ad.bind(t)),R(t.a,e,n+"keymessage",t.zd.bind(t)),R(t.a,e,n+"keyadded",t.xd.bind(t)),R(t.a,e,n+"keyerror",t.yd.bind(t)))}function Lo(t,e){var n=t.f[e]
;return n||((n=t.c.shift())?(n.sessionId=e,t.f[e]=n):null)}function jo(t,e,n){fe.call(this),this.f=t,this.h=!1,this.a=this.b=null,this.c=e,this.g=n,this.sessionId="",this.expiration=NaN,this.closed=new M,this.keyStatuses=new Bo}function Uo(t,e,n){if(t.h)return Promise.reject(Error("The session is already initialized."));t.h=!0;try{if("persistent-license"==t.g)if(n)var i=new Uint8Array(Y("LOAD_SESSION|"+n));else{var r=Y("PERSISTENT|"),o=new Uint8Array(r.byteLength+e.byteLength)
;o.set(new Uint8Array(r),0),o.set(new Uint8Array(e),r.byteLength),i=o}else i=new Uint8Array(e)}catch(t){return Promise.reject(t)}t.b=new M;var a=No("generateKeyRequest");try{t.f[a](t.c,i)}catch(e){if("InvalidStateError"!=e.name)return t.b=null,Promise.reject(e);setTimeout(function(){try{this.f[a](this.c,i)}catch(t){this.b.reject(t),this.b=null}}.bind(t),10)}return t.b}function Fo(t,e){t.keyStatuses.Ib(e),t.dispatchEvent(new oe("keystatuseschange"))}function Bo(){this.size=0,this.a=void 0}
function Ho(){var t=MediaSource.prototype.addSourceBuffer;MediaSource.prototype.addSourceBuffer=function(){var e=t.apply(this,arguments);return e.abort=function(){},e}}function Vo(){var t=MediaSource.prototype.endOfStream;MediaSource.prototype.endOfStream=function(){for(var e,n=0,i=0;i<this.sourceBuffers.length;++i)e=this.sourceBuffers[i],e=e.buffered.end(e.buffered.length-1),n=Math.max(n,e);if(!isNaN(this.duration)&&n<this.duration)for(this.Xb=!0,
i=0;i<this.sourceBuffers.length;++i)e=this.sourceBuffers[i],e.Rb=!1;return t.apply(this,arguments)};var e=MediaSource.prototype.addSourceBuffer;MediaSource.prototype.addSourceBuffer=function(){var t=e.apply(this,arguments);return t.N=this,t.addEventListener("updateend",qo,!1),this.a||(this.addEventListener("sourceclose",Wo,!1),this.a=!0),t}}function qo(t){var e=t.target,n=e.N;if(n.Xb){for(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation(),e.Rb=!0,
t=0;t<n.sourceBuffers.length;++t)if(0==n.sourceBuffers[t].Rb)return;n.Xb=!1}}function Wo(t){t=t.target;for(var e=0;e<t.sourceBuffers.length;++e)t.sourceBuffers[e].removeEventListener("updateend",qo,!1);t.removeEventListener("sourceclose",Wo,!1)}function zo(t){if(this.c=[],this.b=[],this.za=es,t)try{t(this.fa.bind(this),this.a.bind(this))}catch(t){this.a(t)}}function Yo(t){var e=new zo;return e.fa(void 0),e.then(function(){return t})}function Ko(t){var e=new zo;return e.a(t),e}function $o(t){
function e(t,e,n){t.za==es&&(r[e]=n,++i==r.length&&t.fa(r))}var n=new zo;if(!t.length)return n.fa([]),n;for(var i=0,r=Array(t.length),o=n.a.bind(n),a=0;a<t.length;++a)t[a]&&t[a].then?t[a].then(e.bind(null,n,a),o):e(n,a,t[a]);return n}function Go(t){for(var e=new zo,n=e.fa.bind(e),i=e.a.bind(e),r=0;r<t.length;++r)t[r]&&t[r].then?t[r].then(n,i):n(t[r]);return e}function Xo(t,e,n){is.push(function(){if(n&&"function"==typeof n){try{var t=n(this.jb)}catch(t){return void e.a(t)}try{var i=t&&t.then
}catch(t){return void e.a(t)}t instanceof zo?t==e?e.a(new TypeError("Chaining cycle detected")):t.then(e.fa.bind(e),e.a.bind(e)):i?Jo(t,i,e):e.fa(t)}else 1==this.za?e.fa(this.jb):e.a(this.jb)}.bind(t)),null==ns&&(ns=Zo(Qo))}function Jo(t,e,n){try{var i=!1;e.call(t,function(t){if(!i){i=!0;try{var e=t&&t.then}catch(t){return void n.a(t)}e?Jo(t,e,n):n.fa(t)}},n.a.bind(n))}catch(t){n.a(t)}}function Qo(){for(;is.length;){null!=ns&&(ta(ns),ns=null);var t=is;is=[];for(var e=0;e<t.length;++e)t[e]()}}
function Zo(){return 0}function ta(){}function ea(){return{droppedVideoFrames:this.webkitDroppedFrameCount,totalVideoFrames:this.webkitDecodedFrameCount,corruptedVideoFrames:0,creationTime:NaN,totalFrameDelay:0}}function na(e,n,i){return new t.TextTrackCue(e,n,i)}function ia(e,n,i){return new t.TextTrackCue(e+"-"+n+"-"+i,e,n,i)}var ra,oa=this;oa.ue=!0,a.prototype.setDefaultEstimate=function(t){this.b=t},a.prototype.getBandwidthEstimate=function(){
return 128e3>this.a?this.b:Math.min(o(this.c),o(this.f))},e("shaka.util.Error",u),u.prototype.toString=function(){return"shaka.util.Error "+JSON.stringify(this,null,"  ")},u.Severity={RECOVERABLE:1,CRITICAL:2},u.Category={NETWORK:1,TEXT:2,MEDIA:3,MANIFEST:4,STREAMING:5,DRM:6,PLAYER:7,CAST:8,STORAGE:9},u.Code={UNSUPPORTED_SCHEME:1e3,BAD_HTTP_STATUS:1001,HTTP_ERROR:1002,TIMEOUT:1003,MALFORMED_DATA_URI:1004,UNKNOWN_DATA_URI_ENCODING:1005,REQUEST_FILTER_ERROR:1006,RESPONSE_FILTER_ERROR:1007,
INVALID_TEXT_HEADER:2e3,INVALID_TEXT_CUE:2001,UNABLE_TO_DETECT_ENCODING:2003,BAD_ENCODING:2004,INVALID_XML:2005,INVALID_MP4_TTML:2007,INVALID_MP4_VTT:2008,BUFFER_READ_OUT_OF_BOUNDS:3e3,JS_INTEGER_OVERFLOW:3001,EBML_OVERFLOW:3002,EBML_BAD_FLOATING_POINT_SIZE:3003,MP4_SIDX_WRONG_BOX_TYPE:3004,MP4_SIDX_INVALID_TIMESCALE:3005,MP4_SIDX_TYPE_NOT_SUPPORTED:3006,WEBM_CUES_ELEMENT_MISSING:3007,WEBM_EBML_HEADER_ELEMENT_MISSING:3008,WEBM_SEGMENT_ELEMENT_MISSING:3009,WEBM_INFO_ELEMENT_MISSING:3010,
WEBM_DURATION_ELEMENT_MISSING:3011,WEBM_CUE_TRACK_POSITIONS_ELEMENT_MISSING:3012,WEBM_CUE_TIME_ELEMENT_MISSING:3013,MEDIA_SOURCE_OPERATION_FAILED:3014,MEDIA_SOURCE_OPERATION_THREW:3015,VIDEO_ERROR:3016,QUOTA_EXCEEDED_ERROR:3017,UNABLE_TO_GUESS_MANIFEST_TYPE:4e3,DASH_INVALID_XML:4001,DASH_NO_SEGMENT_INFO:4002,DASH_EMPTY_ADAPTATION_SET:4003,DASH_EMPTY_PERIOD:4004,DASH_WEBM_MISSING_INIT:4005,DASH_UNSUPPORTED_CONTAINER:4006,DASH_PSSH_BAD_ENCODING:4007,DASH_NO_COMMON_KEY_SYSTEM:4008,
DASH_MULTIPLE_KEY_IDS_NOT_SUPPORTED:4009,DASH_CONFLICTING_KEY_IDS:4010,UNPLAYABLE_PERIOD:4011,RESTRICTIONS_CANNOT_BE_MET:4012,NO_PERIODS:4014,HLS_PLAYLIST_HEADER_MISSING:4015,INVALID_HLS_TAG:4016,HLS_INVALID_PLAYLIST_HIERARCHY:4017,DASH_DUPLICATE_REPRESENTATION_ID:4018,HLS_MULTIPLE_MEDIA_INIT_SECTIONS_FOUND:4020,HLS_COULD_NOT_GUESS_MIME_TYPE:4021,HLS_MASTER_PLAYLIST_NOT_PROVIDED:4022,HLS_REQUIRED_ATTRIBUTE_MISSING:4023,HLS_REQUIRED_TAG_MISSING:4024,HLS_COULD_NOT_GUESS_CODECS:4025,
HLS_KEYFORMATS_NOT_SUPPORTED:4026,INVALID_STREAMS_CHOSEN:5005,NO_RECOGNIZED_KEY_SYSTEMS:6e3,REQUESTED_KEY_SYSTEM_CONFIG_UNAVAILABLE:6001,FAILED_TO_CREATE_CDM:6002,FAILED_TO_ATTACH_TO_VIDEO:6003,INVALID_SERVER_CERTIFICATE:6004,FAILED_TO_CREATE_SESSION:6005,FAILED_TO_GENERATE_LICENSE_REQUEST:6006,LICENSE_REQUEST_FAILED:6007,LICENSE_RESPONSE_REJECTED:6008,ENCRYPTED_CONTENT_WITHOUT_DRM_INFO:6010,NO_LICENSE_SERVER_GIVEN:6012,OFFLINE_SESSION_REMOVED:6013,EXPIRED:6014,LOAD_INTERRUPTED:7e3,
CAST_API_UNAVAILABLE:8e3,NO_CAST_RECEIVERS:8001,ALREADY_CASTING:8002,UNEXPECTED_CAST_ERROR:8003,CAST_CANCELED_BY_USER:8004,CAST_CONNECTION_TIMED_OUT:8005,CAST_RECEIVER_APP_UNAVAILABLE:8006,STORAGE_NOT_SUPPORTED:9e3,INDEXED_DB_ERROR:9001,OPERATION_ABORTED:9002,REQUESTED_ITEM_NOT_FOUND:9003,MALFORMED_OFFLINE_URI:9004,CANNOT_STORE_LIVE_OFFLINE:9005,STORE_ALREADY_IN_PROGRESS:9006,NO_INIT_DATA_FOR_OFFLINE:9007}
;var aa=/^(?:([^:\/?#.]+):)?(?:\/\/(?:([^\/?#]*)@)?([^\/#?]*?)(?::([0-9]+))?(?=[\/#?]|$))?([^?#]+)?(?:\?([^#]*))?(?:#(.*))?$/;ra=c.prototype,ra.$="",ra.Aa="",ra.ba="",ra.Ia=null,ra.W="",ra.ta="",ra.toString=function(){var t=[],e=this.$;if(e&&t.push(p(e,sa,!0),":"),e=this.ba){t.push("//");var n=this.Aa;n&&t.push(p(n,sa,!0),"@"),t.push(encodeURIComponent(e).replace(/%25([0-9a-fA-F]{2})/g,"%$1")),e=this.Ia,null!=e&&t.push(":",String(e))}return(e=this.W)&&(this.ba&&"/"!=e.charAt(0)&&t.push("/"),
t.push(p(e,"/"==e.charAt(0)?ca:ua,!0))),(e=this.a.toString())&&t.push("?",e),(e=this.ta)&&t.push("#",p(e,ha)),t.join("")},ra.resolve=function(t){var e=new c(this);"data"===e.$&&(e=new c);var n=!!t.$;n?l(e,t.$):n=!!t.Aa,n?e.Aa=t.Aa:n=!!t.ba,n?e.ba=t.ba:n=null!=t.Ia;var i=t.W;if(n)h(e,t.Ia);else if(n=!!t.W){if("/"!=i.charAt(0))if(this.ba&&!this.W)i="/"+i;else{var r=e.W.lastIndexOf("/");-1!=r&&(i=e.W.substr(0,r+1)+i)}if(".."==i||"."==i)i="";else if(-1!=i.indexOf("./")||-1!=i.indexOf("/.")){
for(var r=!i.lastIndexOf("/",0),i=i.split("/"),o=[],a=0;a<i.length;){var s=i[a++];"."==s?r&&a==i.length&&o.push(""):".."==s?((1<o.length||1==o.length&&""!=o[0])&&o.pop(),r&&a==i.length&&o.push("")):(o.push(s),r=!0)}i=o.join("/")}}return n?e.W=i:n=""!==t.a.toString(),n?f(e,v(t.a)):n=!!t.ta,n&&(e.ta=t.ta),e};var sa=/[#\/\?@]/g,ua=/[\#\?:]/g,ca=/[\#\?]/g,la=/[\#\?@]/g,ha=/#/g;g.prototype.a=null,g.prototype.c=null,g.prototype.toString=function(){if(this.b)return this.b;if(!this.a)return"";var t,e=[]
;for(t in this.a)for(var n=encodeURIComponent(t),i=this.a[t],r=0;r<i.length;r++){var o=n;""!==i[r]&&(o+="="+encodeURIComponent(i[r])),e.push(o)}return this.b=e.join("&")},e("shaka.net.NetworkingEngine",P),P.RequestType={MANIFEST:0,SEGMENT:1,LICENSE:2,APP:3};var fa={};P.registerScheme=function(t,e){fa[t]=e},P.unregisterScheme=function(t){delete fa[t]},P.prototype.Jd=function(t){this.b.push(t)},P.prototype.registerRequestFilter=P.prototype.Jd,P.prototype.me=function(t){var e=this.b
;0<=(t=e.indexOf(t))&&e.splice(t,1)},P.prototype.unregisterRequestFilter=P.prototype.me,P.prototype.Gc=function(){this.b=[]},P.prototype.clearAllRequestFilters=P.prototype.Gc,P.prototype.Kd=function(t){this.c.push(t)},P.prototype.registerResponseFilter=P.prototype.Kd,P.prototype.ne=function(t){var e=this.c;0<=(t=e.indexOf(t))&&e.splice(t,1)},P.prototype.unregisterResponseFilter=P.prototype.ne,P.prototype.Hc=function(){this.c=[]},P.prototype.clearAllResponseFilters=P.prototype.Hc,
P.prototype.m=function(){this.f=!0,this.b=[],this.c=[];for(var t=[],e=0;e<this.a.length;++e)t.push(this.a[e].catch(w));return Promise.all(t)},P.prototype.destroy=P.prototype.m,P.prototype.request=function(e,n){if(this.f)return Promise.reject();n.method=n.method||"GET",n.headers=n.headers||{},n.retryParameters=n.retryParameters?k(n.retryParameters):N(),n.uris=k(n.uris);var i=Date.now(),r=Promise.resolve();return this.b.forEach(function(t){r=r.then(t.bind(null,e,n))}),r=r.catch(function(t){
throw new u(2,1,1006,t)}),r=r.then(function(){for(var r=Date.now()-i,o=n.retryParameters||{},a=o.maxAttempts||1,s=o.backoffFactor||2,o=null==o.baseDelay?1e3:o.baseDelay,u=this.g(e,n,0,r),c=1;c<a;c++)u=u.catch(function(i,o,a){if(a&&1==a.severity){a=new M;var s=n.retryParameters||{};return t.setTimeout(a.resolve,i*(1+(2*Math.random()-1)*(null==s.fuzzFactor?.5:s.fuzzFactor))),a.then(this.g.bind(this,e,n,o,r))}throw a}.bind(this,o,c%n.uris.length)),o*=s;return u}.bind(this)),this.a.push(r),
r.then(function(t){return 0<=this.a.indexOf(r)&&this.a.splice(this.a.indexOf(r),1),this.h&&!t.fromCache&&1==e&&this.h(t.timeMs,t.data.byteLength),t}.bind(this)).catch(function(t){return t&&(t.severity=2),0<=this.a.indexOf(r)&&this.a.splice(this.a.indexOf(r),1),Promise.reject(t)}.bind(this))},P.prototype.request=P.prototype.request,P.prototype.g=function(t,e,n,i){if(this.f)return Promise.reject();var r=new c(e.uris[n]),o=r.$;if(o||(o=location.protocol,o=o.slice(0,-1),l(r,o),
e.uris[n]=r.toString()),!(o=fa[o]))return Promise.reject(new u(2,1,1e3,r));var a=Date.now();return o(e.uris[n],e,t).then(function(e){void 0==e.timeMs&&(e.timeMs=Date.now()-a);var n=Date.now(),r=Promise.resolve();return this.c.forEach(function(n){r=r.then(function(){return Promise.resolve(n(t,e))}.bind(this))}),r=r.catch(function(t){var e=2;throw t instanceof u&&(e=t.severity),new u(e,1,1007,t)}),r.then(function(){return e.timeMs+=Date.now()-n,e.timeMs+=i,e})}.bind(this))},
D.prototype.push=function(t,e){this.a.hasOwnProperty(t)?this.a[t].push(e):this.a[t]=[e]},D.prototype.get=function(t){return(t=this.a[t])?t.slice():null},D.prototype.remove=function(t,e){var n=this.a[t];if(n)for(var i=0;i<n.length;++i)n[i]==e&&(n.splice(i,1),--i)},O.prototype.m=function(){return j(this),this.a=null,Promise.resolve()},O.prototype.ha=function(t,e){if(this.a)for(var n=this.a.get(e)||[],i=0;i<n.length;++i){var r=n[i];r.target==t&&(r.ha(),this.a.remove(e,r))}},
U.prototype.ha=function(){this.target.removeEventListener(this.type,this.a,!1),this.a=this.target=null},e("shaka.util.StringUtils.fromUTF8",q),e("shaka.util.StringUtils.fromUTF16",W),e("shaka.util.StringUtils.fromBytesAutoDetect",z),e("shaka.util.StringUtils.toUTF8",Y),$.prototype.cancel=function(){null!=this.a&&(clearTimeout(this.a),this.a=null)},e("shaka.util.Uint8ArrayUtils.toBase64",X),e("shaka.util.Uint8ArrayUtils.fromBase64",J),e("shaka.util.Uint8ArrayUtils.fromHex",Q),
e("shaka.util.Uint8ArrayUtils.toHex",Z),e("shaka.util.Uint8ArrayUtils.equal",tt),e("shaka.util.Uint8ArrayUtils.concat",function(t){for(var e=0,n=0;n<arguments.length;++n)e+=arguments[n].length;for(var e=new Uint8Array(e),i=0,n=0;n<arguments.length;++n)e.set(arguments[n],i),i+=arguments[n].length;return e}),ra=et.prototype,ra.m=function(){this.c=!0;var t=this.a.map(function(t){return(t.aa.close()||Promise.resolve()).catch(w)});return this.l.reject(),this.f&&t.push(this.f.m()),
this.j&&t.push(this.j.setMediaKeys(null).catch(w)),this.P&&(clearInterval(this.P),this.P=null),this.B&&this.B.cancel(),this.f=this.j=this.i=this.v=this.b=this.B=null,this.a=[],this.o=[],this.la=this.g=this.h=this.ka=null,Promise.all(t)},ra.configure=function(t){this.h=t},ra.init=function(t,e){var n={},i=[];return this.ja=e,this.o=t.offlineSessionIds,at(this,t,e||0<t.offlineSessionIds.length,n,i),i.length?st(this,n,i):(this.J=!0,Promise.resolve())},ra.keySystem=function(){
return this.b?this.b.keySystem:""},ra.ab=function(){var t=this.a.map(function(t){return t=t.aa.expiration,isNaN(t)?1/0:t});return Math.min.apply(Math,t)},ra.dd=function(t){for(var e=new Uint8Array(t.initData),n=0;n<this.a.length;++n)if(tt(e,this.a[n].initData))return;dt(this,t.initDataType,e)},ra.ic=function(t){this.h.delayLicenseRequestUntilPlayed&&this.j.paused&&!this.ia?this.G.push(t):pt(this,t)},ra.cc=function(t){t=t.target;var e;for(e=0;e<this.a.length&&this.a[e].aa!=t;++e);
if(e!=this.a.length){var n=!1;t.keyStatuses.forEach(function(t,i){if("string"==typeof i){var r=i;i=t,t=r}if("com.microsoft.playready"==this.b.keySystem&&16==i.byteLength){var r=new DataView(i),o=r.getUint32(0,!0),a=r.getUint16(4,!0),s=r.getUint16(6,!0);r.setUint32(0,o,!1),r.setUint16(4,a,!1),r.setUint16(6,s,!1)}"com.microsoft.playready"==this.b.keySystem&&"status-pending"==t&&(t="usable"),"status-pending"!=t&&(this.a[e].loaded=!0,this.a.every(function(t){return t.loaded})&&this.l.resolve()),
"expired"==t&&(n=!0),r=Z(new Uint8Array(i)),this.A[r]=t}.bind(this));var i=t.expiration-Date.now();(0>i||n&&1e3>i)&&!this.a[e].ib&&(this.a.splice(e,1),t.close()),G(this.B)}},ra.Id=function(){function t(t,e){return"expired"==e}!F(this.A)&&V(this.A,t)&&this.g(new u(2,6,6014)),this.Ba(this.A)},ra.od=function(){for(var t=0;t<this.G.length;t++)pt(this,this.G[t]);this.ia=!0,this.G=[]},ra.Hd=function(){this.a.forEach(function(t){var e=t.xb,n=t.aa.expiration;isNaN(n)&&(n=1/0),
n!=e&&(this.la(t.aa.sessionId,n),t.xb=n)}.bind(this))};var da={};e("shaka.media.TextEngine.registerParser",wt),e("shaka.media.TextEngine.unregisterParser",function(t){delete da[t]}),e("shaka.media.TextEngine.makeCue",_t),bt.prototype.m=function(){return this.c&&xt(this,function(){return!0}),this.c=this.f=null,Promise.resolve()},bt.prototype.remove=function(t,e){return Promise.resolve().then(function(){this.c&&(xt(this,function(n){return!(n.startTime>=e||n.endTime<=t)}),
null==this.b||e<=this.b||t>=this.a||(t<=this.b&&e>=this.a?this.b=this.a=null:t<=this.b&&e<this.a?this.b=e:t>this.b&&e>=this.a&&(this.a=t)))}.bind(this))},Tt.prototype.parseInit=function(t){this.Na(t,0,null,null)},Tt.prototype.parseMedia=function(t,e){return this.Na(t,e.periodStart,e.segmentStart,e.segmentEnd)},ra=Mt.prototype,ra.m=function(){this.h=!0;var t,e=[];for(t in this.b){var n=this.b[t],i=n[0];for(this.b[t]=n.slice(0,1),i&&e.push(i.p.catch(w)),i=1;i<n.length;++i)n[i].p.catch(w),
n[i].p.reject()}return this.a&&e.push(this.a.m()),Promise.all(e).then(function(){this.g.m(),this.a=this.i=this.N=this.f=this.g=null,this.c={},this.b={}}.bind(this))},ra.init=function(t){for(var e in t){var n=t[e];"text"==e?Nt(this,n):(n=this.N.addSourceBuffer(n),R(this.g,n,"error",this.he.bind(this,e)),R(this.g,n,"updateend",this.Ha.bind(this,e)),this.c[e]=n,this.b[e]=[])}},ra.remove=function(t,e,n){return"text"==t?this.a.remove(e,n):Lt(this,t,this.oc.bind(this,t,e,n))},
ra.endOfStream=function(t){return jt(this,function(){t?this.N.endOfStream(t):this.N.endOfStream()}.bind(this))},ra.pa=function(t){return jt(this,function(){this.N.duration=t}.bind(this))},ra.Y=function(){return this.N.duration},ra.ge=function(t,e){this.c[t].appendBuffer(e)},ra.oc=function(t,e,n){n<=e?this.Ha(t):this.c[t].remove(e,n)},ra.Cc=function(t){var e=this.c[t].appendWindowEnd;this.c[t].abort(),this.c[t].appendWindowEnd=e,this.Ha(t)},ra.Mc=function(t){this.f.currentTime-=.001,this.Ha(t)},
ra.Xd=function(t,e){this.c[t].timestampOffset=e,this.Ha(t)},ra.Vd=function(t,e){this.c[t].appendWindowEnd=e+.04,this.Ha(t)},ra.he=function(t){this.b[t][0].p.reject(new u(2,3,3014,this.f.error?this.f.error.code:0))},ra.Ha=function(t){var e=this.b[t][0];e&&(e.p.resolve(),Ut(this,t))};var pa=1,ma=2,ga={aar:"aa",abk:"ab",afr:"af",aka:"ak",alb:"sq",amh:"am",ara:"ar",arg:"an",arm:"hy",asm:"as",ava:"av",ave:"ae",aym:"ay",aze:"az",bak:"ba",bam:"bm",baq:"eu",bel:"be",ben:"bn",bih:"bh",bis:"bi",bod:"bo",
bos:"bs",bre:"br",bul:"bg",bur:"my",cat:"ca",ces:"cs",cha:"ch",che:"ce",chi:"zh",chu:"cu",chv:"cv",cor:"kw",cos:"co",cre:"cr",cym:"cy",cze:"cs",dan:"da",deu:"de",div:"dv",dut:"nl",dzo:"dz",ell:"el",eng:"en",epo:"eo",est:"et",eus:"eu",ewe:"ee",fao:"fo",fas:"fa",fij:"fj",fin:"fi",fra:"fr",fre:"fr",fry:"fy",ful:"ff",geo:"ka",ger:"de",gla:"gd",gle:"ga",glg:"gl",glv:"gv",gre:"el",grn:"gn",guj:"gu",hat:"ht",hau:"ha",heb:"he",her:"hz",hin:"hi",hmo:"ho",hrv:"hr",hun:"hu",hye:"hy",ibo:"ig",ice:"is",
ido:"io",iii:"ii",iku:"iu",ile:"ie",ina:"ia",ind:"id",ipk:"ik",isl:"is",ita:"it",jav:"jv",jpn:"ja",kal:"kl",kan:"kn",kas:"ks",kat:"ka",kau:"kr",kaz:"kk",khm:"km",kik:"ki",kin:"rw",kir:"ky",kom:"kv",kon:"kg",kor:"ko",kua:"kj",kur:"ku",lao:"lo",lat:"la",lav:"lv",lim:"li",lin:"ln",lit:"lt",ltz:"lb",lub:"lu",lug:"lg",mac:"mk",mah:"mh",mal:"ml",mao:"mi",mar:"mr",may:"ms",mkd:"mk",mlg:"mg",mlt:"mt",mon:"mn",mri:"mi",msa:"ms",mya:"my",nau:"na",nav:"nv",nbl:"nr",nde:"nd",ndo:"ng",nep:"ne",nld:"nl",
nno:"nn",nob:"nb",nor:"no",nya:"ny",oci:"oc",oji:"oj",ori:"or",orm:"om",oss:"os",pan:"pa",per:"fa",pli:"pi",pol:"pl",por:"pt",pus:"ps",que:"qu",roh:"rm",ron:"ro",rum:"ro",run:"rn",rus:"ru",sag:"sg",san:"sa",sin:"si",slk:"sk",slo:"sk",slv:"sl",sme:"se",smo:"sm",sna:"sn",snd:"sd",som:"so",sot:"st",spa:"es",sqi:"sq",srd:"sc",srp:"sr",ssw:"ss",sun:"su",swa:"sw",swe:"sv",tah:"ty",tam:"ta",tat:"tt",tel:"te",tgk:"tg",tgl:"tl",tha:"th",tib:"bo",tir:"ti",ton:"to",tsn:"tn",tso:"ts",tuk:"tk",tur:"tr",
twi:"tw",uig:"ug",ukr:"uk",urd:"ur",uzb:"uz",ven:"ve",vie:"vi",vol:"vo",wel:"cy",wln:"wa",wol:"wo",xho:"xh",yid:"yi",yor:"yo",zha:"za",zho:"zh",zul:"zu"};e("shaka.abr.SimpleAbrManager",ie),ie.prototype.stop=function(){this.f=null,this.b=!1,this.h=[],this.g=[],this.c=null},ie.prototype.stop=ie.prototype.stop,ie.prototype.init=function(t){this.f=t},ie.prototype.init=ie.prototype.init,ie.prototype.chooseStreams=function(t){var e={};if(-1<t.indexOf("audio")||-1<t.indexOf("video")){
var n=this.h,i=re(this.i,n),r=this.a.getBandwidthEstimate();if(n.length&&!i.length)throw new u(2,4,4012);for(var n=i[0],o=0;o<i.length;++o){var a=i[o],s=(i[o+1]||{bandwidth:1/0}).bandwidth/.85;r>=a.bandwidth/.95&&r<=s&&(n=a)}(i=n)&&i.video&&(e.video=i.video),i&&i.audio&&(e.audio=i.audio)}return-1<t.indexOf("text")&&(e.text=this.g[0]),this.c=Date.now(),e},ie.prototype.chooseStreams=ie.prototype.chooseStreams,ie.prototype.enable=function(){this.b=!0},ie.prototype.enable=ie.prototype.enable,
ie.prototype.disable=function(){this.b=!1},ie.prototype.disable=ie.prototype.disable,ie.prototype.segmentDownloaded=function(t,e){var n=this.a;if(!(16e3>e)){var i=8e3*e/t,o=t/1e3;n.a+=e,r(n.c,o,i),r(n.f,o,i)}if(null!=this.c&&this.b)t:{if(this.j){if(8e3>Date.now()-this.c)break t}else{if(!(128e3<=this.a.a))break t;this.j=!0}n=this.chooseStreams(["audio","video"]),this.a.getBandwidthEstimate(),this.f(n)}},ie.prototype.segmentDownloaded=ie.prototype.segmentDownloaded,
ie.prototype.getBandwidthEstimate=function(){return this.a.getBandwidthEstimate()},ie.prototype.getBandwidthEstimate=ie.prototype.getBandwidthEstimate,ie.prototype.setDefaultEstimate=function(t){this.a.setDefaultEstimate(t)},ie.prototype.setDefaultEstimate=ie.prototype.setDefaultEstimate,ie.prototype.setRestrictions=function(t){this.i=t},ie.prototype.setRestrictions=ie.prototype.setRestrictions,ie.prototype.setVariants=function(t){this.h=t},ie.prototype.setVariants=ie.prototype.setVariants,
ie.prototype.setTextStreams=function(t){this.g=t},ie.prototype.setTextStreams=ie.prototype.setTextStreams,oe.prototype.preventDefault=function(){this.cancelable&&(this.defaultPrevented=!0)},oe.prototype.stopImmediatePropagation=function(){this.a=!0},oe.prototype.stopPropagation=function(){}
;var va="ended play playing pause pausing ratechange seeked seeking timeupdate volumechange".split(" "),ya="buffered currentTime duration ended loop muted paused playbackRate seeking videoHeight videoWidth volume".split(" "),ba=["loop","playbackRate"],wa=["pause","play"],_a="adaptation buffering emsg error loading unloading texttrackvisibility timelineregionadded timelineregionenter timelineregionexit trackschanged".split(" "),Ea="drmInfo getAudioLanguages getConfiguration getExpiration getManifestUri getPlaybackRate getPlayheadTimeAsDate getTextLanguages getTextTracks getTracks getStats getVariantTracks isBuffering isInProgress isLive isTextTrackVisible keySystem seekRange".split(" "),xa=[["getConfiguration","configure"]],Ta=[["isTextTrackVisible","setTextTrackVisibility"]],Ca="addTextTrack cancelTrickPlay configure resetConfiguration selectAudioLanguage selectTextLanguage selectTextTrack selectTrack selectVariantTrack setTextTrackVisibility trickPlay".split(" "),Sa=["load","unload"]
;ra=ce.prototype,ra.m=function(){return le(this),this.a&&(this.a.leave(function(){},function(){}),this.a=null),this.G=this.B=this.l=null,this.c=this.j=this.h=!1,this.g=this.f=this.b=this.i=null,Promise.resolve()},ra.V=function(){return this.c},ra.Db=function(){return this.A},ra.init=function(){if(t.chrome&&chrome.cast&&chrome.cast.isAvailable){delete t.__onGCastApiAvailable,this.h=!0,this.l()
;var e=new chrome.cast.SessionRequest(this.J),e=new chrome.cast.ApiConfig(e,this.ed.bind(this),this.qd.bind(this),"origin_scoped");chrome.cast.initialize(e,function(){},function(){})}else t.__onGCastApiAvailable=function(t){t&&this.init()}.bind(this)},ra.Gb=function(t){this.i=t,this.c&&he(this,{type:"appData",appData:this.i})},ra.cast=function(t){return this.h?this.j?this.c?Promise.reject(new u(1,8,8002)):(this.g=new M,chrome.cast.requestSession(this.zb.bind(this,t),this.ac.bind(this)),
this.g):Promise.reject(new u(1,8,8001)):Promise.reject(new u(1,8,8e3))},ra.$a=function(){this.c&&(le(this),this.a&&(this.a.stop(function(){},function(){}),this.a=null))},ra.get=function(t,e){if("video"==t){if(0<=wa.indexOf(e))return this.nc.bind(this,t,e)}else if("player"==t){if(0<=Ca.indexOf(e))return this.nc.bind(this,t,e);if(0<=Sa.indexOf(e))return this.Md.bind(this,t,e);if(0<=Ea.indexOf(e))return this.jc.bind(this,t,e)}return this.jc(t,e)},ra.set=function(t,e,n){this.b[t][e]=n,he(this,{
type:"set",targetName:t,property:e,value:n})},ra.zb=function(t,e){this.a=e,this.a.addUpdateListener(this.bc.bind(this)),this.a.addMessageListener("urn:x-cast:com.google.shaka.v2",this.kd.bind(this)),this.bc(),he(this,{type:"init",initState:t,appData:this.i}),this.g.resolve()},ra.ac=function(t){var e=8003;switch(t.code){case"cancel":e=8004;break;case"timeout":e=8005;break;case"receiver_unavailable":e=8006}this.g.reject(new u(2,8,e,t))},ra.jc=function(t,e){return this.b[t][e]},ra.nc=function(t,e){
he(this,{type:"call",targetName:t,methodName:e,args:Array.prototype.slice.call(arguments,2)})},ra.Md=function(t,e){var n=Array.prototype.slice.call(arguments,2),i=new M,r=this.o.toString();return this.o++,this.f[r]=i,he(this,{type:"asyncCall",targetName:t,methodName:e,args:n,id:r}),i},ra.ed=function(t){var e=this.v();this.g=new M,this.zb(e,t)},ra.qd=function(t){this.j="available"==t,this.l()},ra.bc=function(){var t=!!this.a&&"connected"==this.a.status;if(this.c&&!t){this.G()
;for(var e in this.b)this.b[e]={};le(this)}this.A=(this.c=t)?this.a.receiver.friendlyName:"",this.l()},ra.kd=function(t,e){var n=se(e);switch(n.type){case"event":var i=n.targetName,r=n.event;this.B(i,new oe(r.type,r));break;case"update":r=n.update;for(i in r){var n=this.b[i]||{};for(o in r[i])n[o]=r[i][o]}break;case"asyncComplete":i=n.id;var o=n.error;if(n=this.f[i],delete this.f[i],n)if(o){i=new u(o.severity,o.category,o.code);for(r in o)i[r]=o[r];n.reject(i)}else n.resolve()}},
fe.prototype.addEventListener=function(t,e){this.lb.push(t,e)},fe.prototype.removeEventListener=function(t,e){this.lb.remove(t,e)},fe.prototype.dispatchEvent=function(t){for(var e=this.lb.get(t.type)||[],n=0;n<e.length;++n){t.target=this.Ta,t.currentTarget=this.Ta;var i=e[n];try{i.handleEvent?i.handleEvent(t):i.call(this,t)}catch(t){}if(t.a)break}return t.defaultPrevented},n(de),e("shaka.cast.CastProxy",de),de.prototype.m=function(t){return t&&this.a&&this.a.$a(),
t=[this.h?this.h.m():null,this.b?this.b.m():null,this.a?this.a.m():null],this.a=this.h=this.i=this.j=this.b=this.c=null,Promise.all(t)},de.prototype.destroy=de.prototype.m,de.prototype.Xc=function(){return this.j},de.prototype.getVideo=de.prototype.Xc,de.prototype.Rc=function(){return this.i},de.prototype.getPlayer=de.prototype.Rc,de.prototype.Dc=function(){return!!this.a&&(this.a.h&&this.a.j)},de.prototype.canCast=de.prototype.Dc,de.prototype.V=function(){return!!this.a&&this.a.V()},
de.prototype.isCasting=de.prototype.V,de.prototype.Db=function(){return this.a?this.a.Db():""},de.prototype.receiverName=de.prototype.Db,de.prototype.cast=function(){var t=this.Tb();return this.a.cast(t).then(function(){return this.b.hb()}.bind(this))},de.prototype.cast=de.prototype.cast,de.prototype.Gb=function(t){this.a.Gb(t)},de.prototype.setAppData=de.prototype.Gb,de.prototype.ke=function(){var t=this.a;if(t.c){var e=t.v();chrome.cast.requestSession(t.zb.bind(t,e),t.ac.bind(t))}},
de.prototype.suggestDisconnect=de.prototype.ke,de.prototype.$a=function(){this.a.$a()},de.prototype.forceDisconnect=de.prototype.$a,ra=de.prototype,ra.Tb=function(){var t={video:{},player:{},playerAfterLoad:{},manifest:this.b.Ya,startTime:null};return this.c.pause(),ba.forEach(function(e){t.video[e]=this.c[e]}.bind(this)),this.c.ended||(t.startTime=this.c.currentTime),xa.forEach(function(e){var n=e[1];e=this.b[e[0]](),t.player[n]=e}.bind(this)),Ta.forEach(function(e){var n=e[1];e=this.b[e[0]](),
t.playerAfterLoad[n]=e}.bind(this)),t},ra.ce=function(){this.dispatchEvent(new oe("caststatuschanged"))},ra.ee=function(){xa.forEach(function(t){var e=t[1];t=this.a.get("player",t[0])(),this.b[e](t)}.bind(this));var t=this.a.get("player","getManifestUri")(),e=this.a.get("video","ended"),n=Promise.resolve(),i=this.c.autoplay,r=null;e||(r=this.a.get("video","currentTime")),t&&(this.c.autoplay=!1,n=this.b.load(t,r),n.catch(function(t){this.b.dispatchEvent(new oe("error",{detail:t}))}.bind(this)))
;var o={};ba.forEach(function(t){o[t]=this.a.get("video",t)}.bind(this)),n.then(function(){ba.forEach(function(t){this.c[t]=o[t]}.bind(this)),Ta.forEach(function(t){var e=t[1];t=this.a.get("player",t[0])(),this.b[e](t)}.bind(this)),this.c.autoplay=i,t&&this.c.play()}.bind(this))},ra.qe=function(t){if("addEventListener"==t)return this.g.addEventListener.bind(this.g);if("removeEventListener"==t)return this.g.removeEventListener.bind(this.g);if(this.a.V()&&!Object.keys(this.a.b.video).length){
var e=this.c[t];if("function"!=typeof e)return e}return this.a.V()?this.a.get("video",t):(e=this.c[t],"function"==typeof e&&(e=e.bind(this.c)),e)},ra.se=function(t,e){this.a.V()?this.a.set("video",t,e):this.c[t]=e},ra.re=function(t){this.a.V()||this.g.dispatchEvent(new oe(t.type,t))},ra.Fd=function(t){
return"addEventListener"==t?this.f.addEventListener.bind(this.f):"removeEventListener"==t?this.f.removeEventListener.bind(this.f):"getNetworkingEngine"==t?this.b.Ub.bind(this.b):this.a.V()&&!Object.keys(this.a.b.video).length&&0<=Ea.indexOf(t)||!this.a.V()?(t=this.b[t],t.bind(this.b)):this.a.get("player",t)},ra.Gd=function(t){this.a.V()||this.f.dispatchEvent(t)},ra.de=function(t,e){this.a.V()&&("video"==t?this.g.dispatchEvent(e):"player"==t&&this.f.dispatchEvent(e))},n(me),
e("shaka.cast.CastReceiver",me),me.prototype.isConnected=function(){return this.i},me.prototype.isConnected=me.prototype.isConnected,me.prototype.Zc=function(){return this.f},me.prototype.isIdle=me.prototype.Zc,me.prototype.m=function(){var e=this.b?this.b.m():Promise.resolve();return null!=this.h&&t.clearTimeout(this.h),this.l=this.j=this.b=this.a=null,this.i=!1,this.f=!0,this.h=this.g=this.c=null,e.then(function(){cast.receiver.CastReceiverManager.getInstance().stop()})},
me.prototype.destroy=me.prototype.m,ra=me.prototype,ra.hc=function(){this.i=!!cast.receiver.CastReceiverManager.getInstance().getSenders().length,ve(this)},ra.kc=function(t,e){this.Ab(),be(this,{type:"event",targetName:t,event:e},this.c)},ra.Ab=function(){null!=this.h&&t.clearTimeout(this.h),this.h=t.setTimeout(this.Ab.bind(this),500);var e={video:{},player:{}};ya.forEach(function(t){e.video[t]=this.a[t]}.bind(this)),Ea.forEach(function(t){e.player[t]=this.b[t]()}.bind(this))
;var n=cast.receiver.CastReceiverManager.getInstance().getSystemVolume();n&&(e.video.volume=n.level,e.video.muted=n.muted),be(this,{type:"update",update:e},this.c)},ra.Kc=function(){var t=cast.receiver.CastReceiverManager.getInstance().getSystemVolume();t&&be(this,{type:"update",update:{video:{volume:t.level,muted:t.muted}}},this.c),be(this,{type:"event",targetName:"video",event:{type:"volumechange"}},this.c)},ra.td=function(t){var e=se(t.data);switch(e.type){case"init":
ye(this,e.initState,e.appData),this.Ab();break;case"appData":this.l(e.appData);break;case"set":var n=e.targetName,i=e.property,r=e.value;if("video"==n){if(e=cast.receiver.CastReceiverManager.getInstance(),"volume"==i){e.setSystemVolumeLevel(r);break}if("muted"==i){e.setSystemVolumeMuted(r);break}}this.j[n][i]=r;break;case"call":n=e.targetName,i=e.methodName,r=e.args,n=this.j[n],n[i].apply(n,r);break;case"asyncCall":n=e.targetName,i=e.methodName,r=e.args,e=e.id,t=t.senderId,n=this.j[n],
n[i].apply(n,r).then(this.tc.bind(this,t,e,null),this.tc.bind(this,t,e))}},ra.fd=function(t){var e=se(t.data);switch(e.type){case"PLAY":this.a.play(),we(this,0);break;case"PAUSE":this.a.pause(),we(this,0);break;case"SEEK":t=e.currentTime;var n=e.resumeState;null!=t&&(this.a.currentTime=Number(t)),n&&"PLAYBACK_START"==n?(this.a.play(),we(this,0)):n&&"PLAYBACK_PAUSE"==n&&(this.a.pause(),we(this,0));break;case"STOP":this.b.hb().then(function(){we(this,0)}.bind(this));break;case"GET_STATUS":
we(this,Number(e.requestId));break;case"VOLUME":n=e.volume,t=n.level;var n=n.muted,i=this.a.volume,r=this.a.muted;null!=t&&(this.a.volume=Number(t)),null!=n&&(this.a.muted=n),i==this.a.volume&&r==this.a.muted||we(this,0);break;case"LOAD":n=e.media.contentId,t=e.currentTime;var o=this.o(n);this.a.autoplay=!0,this.b.load(o,t).then(function(){we(this,0,{contentId:o,streamType:this.b.da()?"LIVE":"BUFFERED",contentType:""})}.bind(this)).catch(function(t){var n="LOAD_FAILED"
;7==t.category&&7e3==t.code&&(n="LOAD_CANCELLED"),be(this,{requestId:Number(e.requestId),type:n},this.g)}.bind(this));break;default:be(this,{requestId:Number(e.requestId),type:"INVALID_REQUEST",reason:"INVALID_COMMAND"},this.g)}},ra.tc=function(t,e,n){be(this,{type:"asyncComplete",id:e,error:n},this.c,t)};var ka={IDLE:"IDLE",Ac:"PLAYING",yc:"BUFFERING",zc:"PAUSED"},Ma={"urn:uuid:1077efec-c0b2-4d02-ace3-3c1e52e2fb4b":"org.w3.clearkey",
"urn:uuid:edef8ba9-79d6-4ace-a3c8-27dcd51d21ed":"com.widevine.alpha","urn:uuid:9a04f079-9840-4286-ab92-e65be0885f95":"com.microsoft.playready","urn:uuid:f239e769-efa3-4850-9c16-a903c6932efb":"com.adobe.primetime"};e("shaka.media.InitSegmentReference",Be),e("shaka.media.SegmentReference",He),e("shaka.util.DataViewReader",Ve);var Pa=1;Ve.Endianness={te:0,ve:Pa},Ve.prototype.Z=function(){return this.u<this.H.byteLength},Ve.prototype.hasMoreData=Ve.prototype.Z,Ve.prototype.Tc=function(){
return this.u},Ve.prototype.getPosition=Ve.prototype.Tc,Ve.prototype.Oc=function(){return this.H.byteLength},Ve.prototype.getLength=Ve.prototype.Oc,Ve.prototype.Cb=function(){try{var t=this.H.getUint8(this.u)}catch(t){qe()}return this.u+=1,t},Ve.prototype.readUint8=Ve.prototype.Cb,Ve.prototype.mc=function(){try{var t=this.H.getUint16(this.u,this.a)}catch(t){qe()}return this.u+=2,t},Ve.prototype.readUint16=Ve.prototype.mc,Ve.prototype.D=function(){try{var t=this.H.getUint32(this.u,this.a)
}catch(t){qe()}return this.u+=4,t},Ve.prototype.readUint32=Ve.prototype.D,Ve.prototype.lc=function(){try{var t=this.H.getInt32(this.u,this.a)}catch(t){qe()}return this.u+=4,t},Ve.prototype.readInt32=Ve.prototype.lc,Ve.prototype.Pa=function(){try{if(this.a)var t=this.H.getUint32(this.u,!0),e=this.H.getUint32(this.u+4,!0);else e=this.H.getUint32(this.u,!1),t=this.H.getUint32(this.u+4,!1)}catch(t){qe()}if(2097151<e)throw new u(2,3,3001);return this.u+=8,e*Math.pow(2,32)+t},
Ve.prototype.readUint64=Ve.prototype.Pa,Ve.prototype.Ja=function(t){this.u+t>this.H.byteLength&&qe();var e=this.H.buffer.slice(this.u,this.u+t);return this.u+=t,new Uint8Array(e)},Ve.prototype.readBytes=Ve.prototype.Ja,Ve.prototype.I=function(t){this.u+t>this.H.byteLength&&qe(),this.u+=t},Ve.prototype.skip=Ve.prototype.I,Ve.prototype.Bb=function(){for(var t=this.u;this.Z()&&this.H.getUint8(this.u);)this.u+=1;return t=this.H.buffer.slice(t,this.u),this.u+=1,q(t)},
Ve.prototype.readTerminatedString=Ve.prototype.Bb,e("shaka.util.Mp4Parser",We),We.prototype.C=function(t,e){var n=$e(t);return this.b[n]=0,this.a[n]=e,this},We.prototype.box=We.prototype.C,We.prototype.ca=function(t,e){var n=$e(t);return this.b[n]=1,this.a[n]=e,this},We.prototype.fullBox=We.prototype.ca,We.prototype.parse=function(t){for(t=new Ve(new DataView(t),0);t.Z();)this.eb(0,t)},We.prototype.parse=We.prototype.parse,We.prototype.eb=function(t,e){var n=e.u,i=e.D(),r=e.D();switch(i){case 0:
i=e.H.byteLength-n;break;case 1:i=e.Pa()}var o=this.a[r];if(o){var a=null,s=null;1==this.b[r]&&(s=e.D(),a=s>>>24,s&=16777215),r=n+i-e.u,r=0<r?e.Ja(r).buffer:new ArrayBuffer(0),r=new Ve(new DataView(r),0),o({Na:this,version:a,Lc:s,s:r,size:i,start:n+t})}else e.I(n+i-e.u)},We.prototype.parseNext=We.prototype.eb,We.children=ze,We.sampleDescription=Ye,We.allData=Ke,e("shaka.media.SegmentIndex",Je),Je.prototype.m=function(){return this.a=null,Promise.resolve()},Je.prototype.destroy=Je.prototype.m,
Je.prototype.find=function(t){for(var e=this.a.length-1;0<=e;--e){var n=this.a[e];if(t>=n.startTime&&t<n.endTime)return n.position}return this.a.length&&t<this.a[0].startTime?this.a[0].position:null},Je.prototype.find=Je.prototype.find,Je.prototype.get=function(t){return this.a.length?(t-=this.a[0].position,0>t||t>=this.a.length?null:this.a[t]):null},Je.prototype.get=Je.prototype.get,Je.prototype.vb=function(t){for(var e,n,i=[],r=n=0;n<this.a.length&&r<t.length;){var o=this.a[n];e=t[r],
o.startTime<e.startTime?(i.push(o),n++):(o.startTime>e.startTime||(.1<Math.abs(o.endTime-e.endTime)?i.push(e):i.push(o),n++),r++)}for(;n<this.a.length;)i.push(this.a[n++]);if(i.length)for(n=i[i.length-1].position+1;r<t.length;)e=t[r++],e=new He(n++,e.startTime,e.endTime,e.a,e.X,e.M),i.push(e);else i=t;this.a=i},Je.prototype.merge=Je.prototype.vb,Je.prototype.ob=function(t){for(var e=0;e<this.a.length&&!(this.a[e].endTime>t);++e);this.a.splice(0,e)},Je.prototype.evict=Je.prototype.ob;var Na
;Ze.prototype.Z=function(){return this.a.Z()},on.prototype.parse=function(t,e,n,i){var r;if(e=new Ze(new DataView(e)),440786851!=tn(e).id)throw new u(2,3,3008);var o=tn(e);if(408125543!=o.id)throw new u(2,3,3009);for(e=o.a.byteOffset,o=new Ze(o.a),r=null;o.Z();){var a=tn(o);if(357149030==a.id){r=a;break}}if(!r)throw new u(2,3,3010);for(o=new Ze(r.a),r=1e6,a=null;o.Z();){var s=tn(o);if(2807729==s.id)r=rn(s);else if(17545==s.id)if(a=s,4==a.a.byteLength)a=a.a.getFloat32(0);else{
if(8!=a.a.byteLength)throw new u(2,3,3003);a=a.a.getFloat64(0)}}if(null==a)throw new u(2,3,3011);if(o=r/1e9,r=a*o,t=tn(new Ze(new DataView(t))),475249515!=t.id)throw new u(2,3,3007);return an(t,e,o,r,n,i)};var Ia={},Aa={};e("shaka.media.ManifestParser.registerParserByExtension",function(t,e){Aa[t]=e}),e("shaka.media.ManifestParser.registerParserByMime",function(t,e){Ia[t]=e}),e("shaka.media.PresentationTimeline",xn),xn.prototype.Y=function(){return this.a},
xn.prototype.getDuration=xn.prototype.Y,xn.prototype.pa=function(t){this.a=t},xn.prototype.setDuration=xn.prototype.pa,xn.prototype.Uc=function(){return this.f},xn.prototype.getPresentationStartTime=xn.prototype.Uc,xn.prototype.uc=function(t){this.h=t},xn.prototype.setClockOffset=xn.prototype.uc,xn.prototype.wc=function(t){this.g=t},xn.prototype.setStatic=xn.prototype.wc,xn.prototype.Vc=function(){return this.c},xn.prototype.getSegmentAvailabilityDuration=xn.prototype.Vc,
xn.prototype.vc=function(t){this.c=t},xn.prototype.setSegmentAvailabilityDuration=xn.prototype.vc,xn.prototype.Ga=function(t,e){e.length&&(this.b=e.reduce(function(t,e){return Math.max(t,e.endTime-e.startTime)},this.b))},xn.prototype.notifySegments=xn.prototype.Ga,xn.prototype.wb=function(t){this.b=Math.max(this.b,t)},xn.prototype.notifyMaxSegmentDuration=xn.prototype.wb,xn.prototype.da=function(){return 1/0==this.a&&!this.g},xn.prototype.isLive=xn.prototype.da,xn.prototype.va=function(){
return 1/0!=this.a&&!this.g},xn.prototype.isInProgress=xn.prototype.va,xn.prototype.ma=function(){return this.Da(0)},xn.prototype.getSegmentAvailabilityStart=xn.prototype.ma,xn.prototype.Da=function(t){if(1/0==this.c)return 0;var e=this.ua();return Math.max(0,Math.min(e-this.c+t,e))},xn.prototype.getSafeAvailabilityStart=xn.prototype.Da,xn.prototype.ua=function(){return this.da()||this.va()?Math.min(Math.max(0,(Date.now()+this.h)/1e3-this.b-this.f),this.a):this.a},
xn.prototype.getSegmentAvailabilityEnd=xn.prototype.ua,xn.prototype.bb=function(){return Math.max(0,this.ua()-(this.da()||this.va()?this.i:0))},xn.prototype.getSeekRangeEnd=xn.prototype.bb,e("shaka.dash.DashParser",Tn),ra=Tn.prototype,ra.configure=function(t){this.b=t},ra.start=function(t,e){return this.g=[t],this.a=e,Cn(this).then(function(){return this.a&&In(this,0),this.c}.bind(this))},ra.stop=function(){return this.b=this.a=null,this.g=[],this.c=null,this.i=[],this.j={},
null!=this.f&&(t.clearTimeout(this.f),this.f=null),Promise.resolve()},ra.update=function(){Cn(this).catch(function(t){this.a&&this.a.onError(t)}.bind(this))},ra.onExpirationUpdated=function(){},ra.Bd=function(t,e){t.S=An(e,t.T,null);var n=!1,i=Ee(e,"Role"),r=void 0;"text"==t.S.contentType&&(r="subtitle");for(var o=0;o<i.length;o++){var a=i[o].getAttribute("schemeIdUri");if(null==a||"urn:mpeg:dash:role:2011"==a)switch(a=i[o].getAttribute("value")){case"main":n=!0;break;case"caption":
case"subtitle":r=a}}var s=null,c=!1;if(Ee(e,"EssentialProperty").forEach(function(t){"http://dashif.org/guidelines/trickmode"==t.getAttribute("schemeIdUri")?s=t.getAttribute("value"):c=!0}),c)return null;var i=Ee(e,"ContentProtection"),l=Ae(i,this.b.dash.customScheme,this.b.dash.ignoreDrmInfo),i=Bt(e.getAttribute("lang")||"und"),o=Ee(e,"Representation"),r=o.map(this.Ed.bind(this,t,l,r,i,n)).filter(function(t){return!!t});if(!r.length)throw new u(2,4,4003)
;return t.S.contentType||(t.S.contentType=Ln(r[0].mimeType,r[0].codecs),r.forEach(function(e){e.type=t.S.contentType})),r.forEach(function(t){l.drmInfos.forEach(function(e){t.keyId&&e.keyIds.push(t.keyId)})}),o=o.map(function(t){return t.getAttribute("id")}).filter(_),{id:t.S.id||"__fake__"+this.h++,contentType:t.S.contentType,language:i,tb:n,streams:r,drmInfos:l.drmInfos,Mb:s,Nd:o}},ra.Ed=function(t,e,n,i,r,o){if(t.w=An(o,t.S,null),!Dn(t.w))return null;t.bandwidth=Te(o,"bandwidth",Pe)||void 0
;var a=this.Od.bind(this);if(t.w.Qa)a=cn(t,a);else if(t.w.oa)a=fn(t,this.j);else if(t.w.Ra)a=gn(t,a,this.j,!!this.c);else{var s=t.w.U,u=t.R.duration||0;a={createSegmentIndex:Promise.resolve.bind(Promise),findSegmentPosition:function(t){return 0<=t&&t<u?1:null},getSegmentReference:function(t){return 1!=t?null:new He(1,0,u,function(){return s},0,null)},initSegmentReference:null,presentationTimeOffset:0}}return o=Ee(o,"ContentProtection"),
o=De(o,this.b.dash.customScheme,e,this.b.dash.ignoreDrmInfo),{id:this.h++,createSegmentIndex:a.createSegmentIndex,findSegmentPosition:a.findSegmentPosition,getSegmentReference:a.getSegmentReference,initSegmentReference:a.initSegmentReference,presentationTimeOffset:a.presentationTimeOffset,mimeType:t.w.mimeType,codecs:t.w.codecs,frameRate:t.w.frameRate,bandwidth:t.bandwidth,width:t.w.width,height:t.w.height,kind:n,encrypted:0<e.drmInfos.length,keyId:o,language:i,type:t.S.contentType,primary:r,
trickModeVideo:null,containsEmsgBoxes:t.w.containsEmsgBoxes}},ra.fe=function(){this.f=null;var t=Date.now();Cn(this).then(function(){this.a&&In(this,(Date.now()-t)/1e3)}.bind(this)).catch(function(t){this.a&&(t.severity=1,this.a.onError(t),In(this,0))}.bind(this))},ra.Dd=function(t,e,n){var i=n.getAttribute("schemeIdUri")||"",r=n.getAttribute("value")||"",o=Te(n,"timescale",Ne)||1;Ee(n,"Event").forEach(function(n){var a=Te(n,"presentationTime",Ne)||0,s=Te(n,"duration",Ne)||0,a=a/o+t,s=a+s/o
;null!=e&&(a=Math.min(a,t+e),s=Math.min(s,t+e)),n={schemeIdUri:i,value:r,startTime:a,endTime:s,id:n.getAttribute("id")||"",eventElement:n},this.a.onTimelineRegionAdded(n)}.bind(this))},ra.Od=function(t,e,n){return t=I(t,this.b.retryParameters),null!=e&&(t.headers.Range="bytes="+e+"-"+(null!=n?n:"")),this.a.networkingEngine.request(1,t).then(function(t){return t.data})},Aa.mpd=Tn,Ia["application/dash+xml"]=Tn,Un.prototype.toString=function(){function t(t){return t.name+'="'+t.value+'"'}
return this.value?"#"+this.name+":"+this.value:0<this.a.length?"#"+this.name+":"+this.a.map(t).join(","):"#"+this.name},Un.prototype.getAttribute=function(t){var e=this.a.filter(function(e){return e.name==t});return e.length?e[0]:null};var Da="EXT-X-TARGETDURATION EXT-X-MEDIA-SEQUENCE EXT-X-DISCONTINUITY-SEQUENCE EXT-X-PLAYLIST-TYPE EXT-X-MAP EXT-X-I-FRAMES-ONLY".split(" "),Oa="EXTINF EXT-X-BYTERANGE EXT-X-DISCONTINUITY EXT-X-PROGRAM-DATE-TIME EXT-X-KEY EXT-X-DATERANGE".split(" ")
;e("shaka.net.DataUriPlugin",Qn),Qn.parse=function(e){var n=e.split(":");if(2>n.length||"data"!=n[0])throw new u(2,1,1004,e);if(n=n.slice(1).join(":").split(","),2>n.length)throw new u(2,1,1004,e);var i=n[0],n=t.decodeURIComponent(n.slice(1).join(",")),i=i.split(";"),r=null;if(1<i.length&&(r=i[1]),"base64"==r)e=J(n).buffer;else{if(r)throw new u(2,1,1005,e);e=Y(n)}return{data:e,contentType:i[0]}},fa.data=Qn,e("shaka.hls.HlsParser",Zn),ra=Zn.prototype,ra.configure=function(t){this.b=t},
ra.start=function(t,e){return this.c=e,this.j=t,this.c.networkingEngine.request(0,I([t],this.b.retryParameters)).then(function(e){return ti(this,e.data,t)}.bind(this))},ra.stop=function(){return this.b=this.c=null,this.g={},Promise.resolve()},ra.update=function(){},ra.onExpirationUpdated=function(){};var Ra=[/^(avc)/,/^(hvc)/,/^(vp[8-9])$/,/^(av1)$/,/^(mp4v)/],La=[/^(vorbis)/,/^(opus)/,/^(mp4a)/,/^(ac-3)$/,/^(ec-3)$/],ja={mp4:"audio/mp4",m4s:"audio/mp4",m4i:"audio/mp4",m4a:"audio/mp4",
ts:"video/mp2t"},Ua={mp4:"video/mp4",m4s:"video/mp4",m4i:"video/mp4",m4v:"video/mp4",ts:"video/mp2t"},Fa={"urn:uuid:edef8ba9-79d6-4ace-a3c8-27dcd51d21ed":function(t){if("SAMPLE-AES-CENC"!=pi(t,"METHOD"))return null;var e=pi(t,"URI"),e=Qn.parse(e),e=new Uint8Array(e.data),e=C("com.widevine.alpha",[{initDataType:"cenc",initData:e}]);return(t=Bn(t,"KEYID"))&&(e.keyIds=[t.substr(2).toLowerCase()]),e}};Aa.m3u8=Zn,Ia["application/x-mpegurl"]=Zn,Ia["application/vnd.apple.mpegurl"]=Zn,
gi.prototype.parseInit=function(){},gi.prototype.parseMedia=function(t,e){var n=q(t),i=[],r=new DOMParser,o=null;try{o=r.parseFromString(n,"text/xml")}catch(t){throw new u(2,2,2005)}if(o){var a=o.getElementsByTagName("tt")[0];if(!a)throw new u(2,2,2005);r=a.getAttribute("ttp:frameRate"),o=a.getAttribute("ttp:subFrameRate");var s=a.getAttribute("ttp:frameRateMultiplier"),c=a.getAttribute("ttp:tickRate");if("default"!=(n=a.getAttribute("xml:space")||"default")&&"preserve"!=n)throw new u(2,2,2005)
;for(n="default"==n,r=new xi(r,o,s,c),o=vi(a.getElementsByTagName("styling")[0]),s=vi(a.getElementsByTagName("layout")[0]),a=vi(a.getElementsByTagName("body")[0]),c=0;c<a.length;c++){var l=a[c],h=e.periodStart,f=r,d=o,p=s,m=n;if(l.hasAttribute("begin")||l.hasAttribute("end")||!/^\s*$/.test(l.textContent)){yi(l,m);var m=_i(l.getAttribute("begin"),f),g=_i(l.getAttribute("end"),f),f=_i(l.getAttribute("dur"),f),v=l.textContent;if(null==g&&null!=f&&(g=m+f),null==m||null==g)throw new u(2,2,2001)
;(h=_t(m+h,g+h,v))?(m=wi(l,"region",p),p=h,(g=bi(l,m,d,"tts:extent"))&&(f=Ya.exec(g))&&(p.size=Number(f[1])),f=bi(l,m,d,"tts:writingMode"),g=!0,"tb"==f||"tblr"==f?p.vertical="lr":"tbrl"==f?p.vertical="rl":g=!1,(f=bi(l,m,d,"tts:origin"))&&(f=Ya.exec(f))&&(g?(p.position=Number(f[2]),p.line=Number(f[1])):(p.position=Number(f[1]),p.line=Number(f[2])),p.snapToLines=!1),(d=bi(l,m,d,"tts:textAlign"))&&(p.align=d,"center"==d&&("center"!=p.align&&(p.align="middle"),p.position="auto"),
p.positionAlign=$a[d],p.lineAlign=Ka[d]),d=h):d=null}else d=null;d&&i.push(d)}}return i};var Ba=/^(\d{2,}):(\d{2}):(\d{2}):(\d{2})\.?(\d+)?$/,Ha=/^(?:(\d{2,}):)?(\d{2}):(\d{2})$/,Va=/^(?:(\d{2,}):)?(\d{2}):(\d{2}\.\d{2,})$/,qa=/^(\d*\.?\d*)f$/,Wa=/^(\d*\.?\d*)t$/,za=/^(?:(\d*\.?\d*)h)?(?:(\d*\.?\d*)m)?(?:(\d*\.?\d*)s)?(?:(\d*\.?\d*)ms)?$/,Ya=/^(\d{1,2}|100)% (\d{1,2}|100)%$/,Ka={left:"start",center:"center",right:"end",start:"start",end:"end"},$a={left:"line-left",center:"center",
right:"line-right"};wt("application/ttml+xml",gi),Ti.prototype.parseInit=function(t){var e=!1;if((new We).C("moov",ze).C("trak",ze).C("mdia",ze).C("minf",ze).C("stbl",ze).ca("stsd",Ye).C("stpp",function(){e=!0}).parse(t),!e)throw new u(2,2,2007)},Ti.prototype.parseMedia=function(t,e){var n=!1,i=[];if((new We).C("mdat",Ke(function(t){n=!0,i=this.a.parseMedia(t.buffer,e)}.bind(this))).parse(t),!n)throw new u(2,2,2007);return i},wt('application/mp4; codecs="stpp"',Ti),
Ci.prototype.parseInit=function(){},Ci.prototype.parseMedia=function(t,e){var n=q(t),n=n.replace(/\r\n|\r(?=[^\n]|$)/gm,"\n"),n=n.split(/\n{2,}/m);if(!/^WEBVTT($|[ \t\n])/m.test(n[0]))throw new u(2,2,2e3);var i=e.segmentStart;if(0<=n[0].indexOf("X-TIMESTAMP-MAP")){var r=n[0].match(/LOCAL:((?:(\d{1,}):)?(\d{2}):(\d{2})\.(\d{3}))/m),o=n[0].match(/MPEGTS:(\d+)/m);r&&o&&(i=ki(new zn(r[1])),i=e.periodStart+(Number(o[1])/9e4-i))}for(o=[],r=1;r<n.length;r++){var a=n[r].split("\n"),s=i
;if(1==a.length&&!a[0]||/^NOTE($|[ \t])/.test(a[0]))var c=null;else{c=null,0>a[0].indexOf("--\x3e")&&(c=a[0],a.splice(0,1));var l=new zn(a[0]),h=ki(l),f=Yn(l,/[ \t]+--\x3e[ \t]+/g),d=ki(l);if(null==h||!f||null==d)throw new u(2,2,2001);if(a=_t(h+s,d+s,a.slice(1).join("\n").trim())){for(Yn(l,/[ \t]+/gm),s=Kn(l);s;)Si(a,s),Yn(l,/[ \t]+/gm),s=Kn(l);null!=c&&(a.id=c),c=a}else c=null}c&&o.push(c)}return o},wt("text/vtt",Ci),wt('text/vtt; codecs="vtt"',Ci),Mi.prototype.parseInit=function(t){var e=!1
;if((new We).C("moov",ze).C("trak",ze).C("mdia",ze).ca("mdhd",function(t){0==t.version?(t.s.I(4),t.s.I(4),this.a=t.s.D(),t.s.I(4)):(t.s.I(8),t.s.I(8),this.a=t.s.D(),t.s.I(8)),t.s.I(4)}.bind(this)).C("minf",ze).C("stbl",ze).ca("stsd",Ye).C("wvtt",function(){e=!0}).parse(t),!this.a)throw new u(2,2,2008);if(!e)throw new u(2,2,2008)},Mi.prototype.parseMedia=function(t,e){var n=0,i=[],r=[],o=[],a=!1,s=!1,c=!1;if((new We).C("moof",ze).C("traf",ze).ca("tfdt",function(t){a=!0,
n=t.version?t.s.Pa():t.s.D()}).ca("trun",function(t){s=!0;var e=t.version,n=t.Lc;t=t.s;var r=t.D();1&n&&t.I(4),4&n&&t.I(4);for(var o=[],a=0;a<r;a++){var u={duration:null,Lb:null};256&n&&(u.duration=t.D()),512&n&&t.I(4),1024&n&&t.I(4),2048&n&&(u.Lb=e?t.lc():t.D()),o.push(u)}i=o}).C("vtte",function(){r.push(null)}).C("vttc",Ke(function(t){r.push(t.buffer)})).C("mdat",function(t){c=!0,ze(t)}).parse(t),!c&&!a&&!s)throw new u(2,2,2008);for(var l=n,h=0;h<i.length;h++){var f=i[h],d=r[h];if(f.duration){
var p=f.Lb?n+f.Lb:l,l=p+f.duration;d&&o.push(Pi(d,e.periodStart+p/this.a,e.periodStart+l/this.a))}}return o},wt('application/mp4; codecs="wvtt"',Mi),ra=Ii.prototype,ra.m=function(){var e=this.b.m();return this.b=null,null!=this.f&&(t.clearInterval(this.f),this.f=null),null!=this.j&&(t.clearInterval(this.j),this.j=null),this.G=this.J=this.l=this.c=this.a=null,e},ra.pb=function(){return this.g},ra.yb=function(){this.o=!0,this.fc()},ra.pd=function(){
this.a.playbackRate!=(this.h||0>this.g?0:this.g)&&Ri(this,this.a.playbackRate)},ra.dc=function(){var t=Oi(this);.001>Math.abs(this.a.currentTime-t)?(R(this.b,this.a,"seeking",this.gc.bind(this)),R(this.b,this.a,"playing",this.ec.bind(this))):(L(this.b,this.a,"seeking",this.rd.bind(this)),this.a.currentTime=t)},ra.rd=function(){R(this.b,this.a,"seeking",this.gc.bind(this)),R(this.b,this.a,"playing",this.ec.bind(this))},ra.fc=function(){if(this.a.readyState){this.a.readyState!=this.B&&(this.i=!1,
this.B=this.a.readyState);var t=this.l.smallGapLimit,e=this.a.currentTime,n=this.a.buffered;t:{if(n&&n.length&&!(1==n.length&&1e-6>n.end(0)-n.start(0))){var i=.1;/(Edge|Trident)\//.test(navigator.userAgent)&&(i=.5);for(var r=0;r<n.length;r++)if(n.start(r)>e&&(!r||n.end(r-1)-e<=i)){i=r;break t}}i=null}if(null==i){if(3>this.a.readyState&&0<this.a.playbackRate)if(this.P!=e)this.P=e,this.v=Date.now();else if(this.v<Date.now()-1e3)for(this.v=Date.now()+5e3,
i=0;i<n.length;i++)if(e>=n.start(i)&&e<n.end(i)-.5){this.a.currentTime=this.a.currentTime;break}}else if((i||this.o)&&!((r=n.start(i))>=this.c.presentationTimeline.bb())){var o=r-e,t=o<=t,a=!1;t||this.i||(this.i=!0,o=new oe("largegap",{currentTime:e,gapSize:o}),o.cancelable=!0,this.G(o),this.l.jumpLargeGaps&&!o.defaultPrevented&&(a=!0)),(t||a)&&(i&&n.end(i-1),ji(this,e,r))}}},ra.gc=function(){this.o=!1;var t=this.a.currentTime,e=Li(this,t);.001<Math.abs(e-t)?ji(this,t,e):(this.i=!1,this.J())},
ra.ec=function(){var t=this.a.currentTime,e=Li(this,t);.001<Math.abs(e-t)&&ji(this,t,e)},Fi.prototype.m=function(){var t=this.j?this.j.m():Promise.resolve();return this.j=null,Vi(this),this.B=this.h=this.l=this.A=this.g=this.a=null,this.c=[],t},Fi.prototype.v=function(t){if(!this.c.some(function(e){return e.info.schemeIdUri==t.schemeIdUri&&e.info.startTime==t.startTime&&e.info.endTime==t.endTime})){var e={info:t,status:1};this.c.push(e);var n=new oe("timelineregionadded",{detail:Bi(t)})
;this.h(n),this.o(!0,e)}},Fi.prototype.o=function(t,e){var n=e.info.startTime>this.a.currentTime?1:e.info.endTime<this.a.currentTime?3:2,i=2==e.status,r=2==n;n!=e.status&&((!t||i||r)&&(i||this.h(new oe("timelineregionenter",{detail:Bi(e.info)})),r||this.h(new oe("timelineregionexit",{detail:Bi(e.info)}))),e.status=n)},Fi.prototype.G=function(){this.f=null,Hi(this);var t=ee(this.g,this.a.currentTime);t!=this.i&&(-1!=this.i&&this.B(),this.i=t)
;var t=kt(this.a.buffered,this.a.currentTime),e=Ct(this.a.buffered)>=this.g.presentationTimeline.ua()-.1||this.a.ended;if(this.b){var n=1*Math.max(this.g.minBufferTime||0,this.A.rebufferingGoal);(e||t>=n)&&0!=this.b&&(this.b=!1,this.l(!1))}else!e&&.5>t&&1!=this.b&&(this.b=!0,this.l(!0));this.c.forEach(this.o.bind(this,!1))},ra=qi.prototype,ra.m=function(){for(var t in this.c)dr(this.c[t]);return this.h=this.c=this.j=this.g=this.o=this.b=this.a=null,this.f=!0,Promise.resolve()},
ra.configure=function(t){this.h=t},ra.init=function(){var t=this.a.$b(this.b.periods[ee(this.b,Di(this.a.Oa))]);return F(t)?Promise.reject(new u(2,5,5005)):Xi(this,t).then(function(){this.a&&this.a.gd&&this.a.gd()}.bind(this))},ra.ie=function(t){if(!this.f&&!t.wa&&null!=t.qa&&!t.sa)if(t.qa=null,t.ra)hr(this,t,t.kb);else{try{var e=tr(this,t);null!=e&&(fr(this,t,e),t.rb=!1)}catch(t){return void this.a.onError(t)}e=B(this.c),ur(this,t),e.every(function(t){return t.endOfStream
})&&this.a.K.endOfStream().then(function(){this.b.presentationTimeline.pa(this.a.K.Y())}.bind(this))}},ra.Cd=function(t,e,n){var i=n.s.Bb(),r=n.s.Bb(),o=n.s.D(),a=n.s.D(),s=n.s.D(),u=n.s.D();n=n.s.Ja(n.s.H.byteLength-n.s.u),t=t.startTime+e.startTime+a/o,"urn:mpeg:dash:event:2012"==i?this.a.hd():this.a.onEvent(new oe("emsg",{detail:{startTime:t,endTime:t+s/o,schemeIdUri:i,value:r,timescale:o,presentationTimeDelta:a,eventDuration:s,id:u,messageData:n}}))},e("shaka.net.HttpPlugin",pr),fa.http=pr,
fa.https=pr,ra=mr.prototype,ra.init=function(t,e){return wr(this,t,e).then(function(){var e=Object.keys(t);return Promise.all(e.map(function(t){return yr(this,t).then(function(e){this.c[t]=e}.bind(this))}.bind(this)))}.bind(this))},ra.m=function(){return Promise.all(this.b.map(function(t){try{t.transaction.abort()}catch(t){}return t.L.catch(w)})).then(function(){this.a&&(this.a.close(),this.a=null)}.bind(this))},ra.get=function(t,e){var n;return br(this,t,"readonly",function(t){n=t.get(e)
}).then(function(){return n.result})},ra.forEach=function(t,e){return br(this,t,"readonly",function(t){t.openCursor().onsuccess=function(t){(t=t.target.result)&&(e(t.value),t.continue())}})},ra.remove=function(t,e){return br(this,t,"readwrite",function(t){t.delete(e)})};var Ga={manifest:"key",segment:"key"};Pr.prototype.m=function(){var t=this.j,e=this.l,n=this.i||Promise.resolve(),n=n.then(function(){return vr(t,e)});return this.b={},this.l=[],this.i=this.a=this.A=this.v=this.j=this.o=null,n},
ra=Dr.prototype,ra.configure=function(){},ra.start=function(t){var e=/^offline:([0-9]+)$/.exec(t);if(!e)return Promise.reject(new u(2,1,9004,t));var n=Number(e[1]),i=Mr();return this.a=n,i?i.init(Ga).then(function(){return i.get("manifest",n)}).then(function(t){if(!t)throw new u(2,9,9003,n);return Or(t)}).then(function(t){return i.m().then(function(){return t})},function(t){return i.m().then(function(){throw t})}):Promise.reject(new u(2,9,9e3))},ra.stop=function(){return Promise.resolve()},
ra.update=function(){},ra.onExpirationUpdated=function(t,e){var n=Mr();n.init(Ga).then(function(){return n.get("manifest",this.a)}.bind(this)).then(function(i){if(i&&!(0>i.sessionIds.indexOf(t))&&(void 0==i.expiration||i.expiration>e))return i.expiration=e,gr(n,"manifest",i)}).catch(function(){}).then(function(){return n.m()})},Ia["application/x-offline-manifest"]=Dr,e("shaka.offline.OfflineScheme",Rr),fa.offline=Rr,Lr.prototype.then=function(t){return this.a=this.a.then(t).then(function(t){
return this.c?(this.h(),Promise.reject(this.i)):Promise.resolve(t)}.bind(this)),this},Lr.prototype.cancel=function(t){return this.b?Promise.resolve():(this.c=!0,this.i=t,this.g)},n(Ur),e("shaka.Player",Ur),Ur.prototype.m=function(){this.J=!0;var t=Promise.resolve();return this.G&&(t=this.G.cancel(new u(2,7,7e3))),t.then(function(){var t=Promise.all([this.la,qr(this),this.l?this.l.m():null,this.o?this.o.m():null]);return this.b=this.o=this.Ob=this.l=this.A=this.f=null,t}.bind(this))},
Ur.prototype.destroy=Ur.prototype.m,Ur.version="v2.1.2";var Xa={};Ur.registerSupportPlugin=function(t,e){Xa[t]=e},Ur.isBrowserSupported=function(){return!!(t.Promise&&t.Uint8Array&&Array.prototype.forEach&&t.MediaSource&&t.MediaSource.isTypeSupported&&t.MediaKeys&&t.navigator&&t.navigator.requestMediaKeySystemAccess&&t.MediaKeySystemAccess&&t.MediaKeySystemAccess.prototype.getConfiguration)},Ur.probeSupport=function(){return gt().then(function(t){t={manifest:_n(),media:Pt(),drm:t}
;for(var e in Xa)t[e]=Xa[e]();return t})},Ur.prototype.load=function(t,e,n){var i=this.hb(),r=new Lr;this.G=r,this.dispatchEvent(new oe("loading"));var o=Date.now();return jr(r.then(function(){return i}).then(function(){return this.i=Kr(),R(this.l,this.f,"playing",this.Sa.bind(this)),R(this.l,this.f,"pause",this.Sa.bind(this)),R(this.l,this.f,"ended",this.Sa.bind(this)),En(t,this.o,this.b.manifest.retryParameters,n)}.bind(this)).then(function(e){return this.h=new e,
this.h.configure(this.b.manifest),e={networkingEngine:this.o,filterPeriod:this.fb.bind(this),onTimelineRegionAdded:this.vd.bind(this),onEvent:this.gb.bind(this),onError:this.xa.bind(this)},2<this.h.start.length?this.h.start(t,this.o,e.filterPeriod,e.onError,e.onEvent):this.h.start(t,e)}.bind(this)).then(function(e){if(0==e.periods.length)throw new u(2,4,4014);return this.c=e,this.Ya=t,this.j=new et(this.o,this.xa.bind(this),this.$d.bind(this),this.Zd.bind(this)),this.j.configure(this.b.drm),
this.j.init(e,!1)}.bind(this)).then(function(){return this.c.periods.forEach(this.fb.bind(this)),this.Ua=Date.now()/1e3,this.ia=this.b.preferredAudioLanguage,this.Ba=this.b.preferredTextLanguage,Promise.all([nt(this.j,this.f),this.Wa])}.bind(this)).then(function(){return this.b.abr.manager.init(this.Jb.bind(this)),this.g=new Ii(this.f,this.c,this.b.streaming,e||null,this.ae.bind(this),this.gb.bind(this)),
this.v=new Fi(this.f,this.c,this.b.streaming,this.xc.bind(this),this.gb.bind(this),this.Yd.bind(this)),this.ja=new Mt(this.f,this.N,this.A),this.a=new qi(this.c,{Oa:this.g,K:this.ja,bd:this.o,$b:this.cd.bind(this),Zb:this.Ec.bind(this),onError:this.xa.bind(this),onEvent:this.gb.bind(this),hd:this.jd.bind(this),yb:this.sd.bind(this)}),this.a.configure(this.b.streaming),this.a.init()}.bind(this)).then(function(){if(this.b.streaming.startAtSegmentBoundary){var t=Xr(this,Di(this.g));Ai(this.g,t)}
this.c.periods.forEach(this.fb.bind(this)),to(this),Zr(this);var t=Wi(this.a),e=Xt(t,this.ia);this.b.abr.manager.setVariants(e),t.variants.some(function(t){return t.primary}),this.Xa.forEach(this.v.v.bind(this.v)),this.Xa=[],L(this.l,this.f,"loadeddata",function(){this.i.loadLatency=(Date.now()-o)/1e3}.bind(this)),this.G=null}.bind(this))).catch(function(t){return this.G==r&&(this.G=null,this.dispatchEvent(new oe("unloading"))),Promise.reject(t)}.bind(this))},Ur.prototype.load=Ur.prototype.load,
Ur.prototype.configure=function(t){t.abr&&t.abr.manager&&t.abr.manager!=this.b.abr.manager&&(this.b.abr.manager.stop(),t.abr.manager.init(this.Jb.bind(this))),S(this.b,t,Yr(this),zr(),""),Br(this)},Ur.prototype.configure=Ur.prototype.configure,Ur.prototype.getConfiguration=function(){var t=Yr(this);return S(t,this.b,Yr(this),zr(),""),t},Ur.prototype.getConfiguration=Ur.prototype.getConfiguration,Ur.prototype.Pd=function(){var t=Yr(this)
;t.abr&&t.abr.manager&&t.abr.manager!=this.b.abr.manager&&(this.b.abr.manager.stop(),t.abr.manager.init(this.Jb.bind(this))),this.b=Yr(this),Br(this)},Ur.prototype.resetConfiguration=Ur.prototype.Pd,Ur.prototype.Qc=function(){return this.f},Ur.prototype.getMediaElement=Ur.prototype.Qc,Ur.prototype.Ub=function(){return this.o},Ur.prototype.getNetworkingEngine=Ur.prototype.Ub,Ur.prototype.Pc=function(){return this.Ya},Ur.prototype.getManifestUri=Ur.prototype.Pc,Ur.prototype.da=function(){
return!!this.c&&this.c.presentationTimeline.da()},Ur.prototype.isLive=Ur.prototype.da,Ur.prototype.va=function(){return!!this.c&&this.c.presentationTimeline.va()},Ur.prototype.isInProgress=Ur.prototype.va,Ur.prototype.Rd=function(){var t=0,e=0;return this.c&&(e=this.c.presentationTimeline,t=e.ma(),e=e.bb()),{start:t,end:e}},Ur.prototype.seekRange=Ur.prototype.Rd,Ur.prototype.keySystem=function(){return this.j?this.j.keySystem():""},Ur.prototype.keySystem=Ur.prototype.keySystem,
Ur.prototype.drmInfo=function(){return this.j?this.j.b:null},Ur.prototype.drmInfo=Ur.prototype.drmInfo,Ur.prototype.ab=function(){return this.j?this.j.ab():1/0},Ur.prototype.getExpiration=Ur.prototype.ab,Ur.prototype.Yc=function(){return this.ka},Ur.prototype.isBuffering=Ur.prototype.Yc,Ur.prototype.hb=function(){if(this.J)return Promise.resolve();this.dispatchEvent(new oe("unloading"));var t=Promise.resolve();return this.G&&(t=this.G.cancel(new u(2,7,7e3))),t.then(function(){
return this.la||(this.la=Wr(this).then(function(){this.la=null}.bind(this))),this.la}.bind(this))},Ur.prototype.unload=Ur.prototype.hb,Ur.prototype.pb=function(){return this.g?this.g.pb():0},Ur.prototype.getPlaybackRate=Ur.prototype.pb,Ur.prototype.le=function(t){this.g&&Ri(this.g,t),this.a&&Ki(this.a,1!=t)},Ur.prototype.trickPlay=Ur.prototype.le,Ur.prototype.Fc=function(){this.g&&Ri(this.g,1),this.a&&Ki(this.a,!1)},Ur.prototype.cancelTrickPlay=Ur.prototype.Fc,Ur.prototype.getTracks=function(){
return this.Wb().concat(this.Vb())},Ur.prototype.getTracks=Ur.prototype.getTracks,Ur.prototype.Ud=function(t,e){"text"==t.type?this.rc(t):(this.configure({abr:{enabled:!1}}),this.sc(t,e))},Ur.prototype.selectTrack=Ur.prototype.Ud,Ur.prototype.Wb=function(){if(!this.c)return[];var t=ee(this.c,Di(this.g)),e=this.P[t]||{};return zt(this.c.periods[t],e.audio,e.video)},Ur.prototype.getVariantTracks=Ur.prototype.Wb,Ur.prototype.Vb=function(){if(!this.c)return[];var t=ee(this.c,Di(this.g))
;return Yt(this.c.periods[t],(this.P[t]||{}).text).filter(function(t){return 0>this.Va.indexOf(t.id)}.bind(this))},Ur.prototype.getTextTracks=Ur.prototype.Vb,Ur.prototype.rc=function(t){if(this.a&&(t=$t(Wi(this.a),t))){Hr(this,t,!1);var e={};e.text=t,$r(this,e,!0)}},Ur.prototype.selectTextTrack=Ur.prototype.rc,Ur.prototype.sc=function(t,e){if(this.a){var n={},i=Kt(Wi(this.a),t),r=zi(this.a);if(i){if(!i.allowedByApplication||!i.allowedByKeySystem)return;i.audio&&(Vr(this,i.audio),
i.audio!=r.audio&&(n.audio=i.audio)),i.video&&(Vr(this,i.video),i.video!=r.video&&(n.video=i.video))}B(n).forEach(function(t){Hr(this,t,!1)}.bind(this)),(i=r.text)&&(n.text=i),$r(this,n,e)}},Ur.prototype.selectVariantTrack=Ur.prototype.sc,Ur.prototype.Nc=function(){return this.a?Gt(Wi(this.a).variants).map(function(t){return t.language}).filter(x):[]},Ur.prototype.getAudioLanguages=Ur.prototype.Nc,Ur.prototype.Wc=function(){return this.a?Wi(this.a).textStreams.map(function(t){return t.language
}).filter(x):[]},Ur.prototype.getTextLanguages=Ur.prototype.Wc,Ur.prototype.Sd=function(t){if(this.a){var e=Wi(this.a);this.ia=t,Qr(this,e)}},Ur.prototype.selectAudioLanguage=Ur.prototype.Sd,Ur.prototype.Td=function(t){if(this.a){var e=Wi(this.a);this.Ba=t,Qr(this,e)}},Ur.prototype.selectTextLanguage=Ur.prototype.Td,Ur.prototype.$c=function(){return"showing"==this.A.mode},Ur.prototype.isTextTrackVisible=Ur.prototype.$c,Ur.prototype.Wd=function(t){this.A.mode=t?"showing":"hidden",eo(this)},
Ur.prototype.setTextTrackVisibility=Ur.prototype.Wd,Ur.prototype.Sc=function(){return this.c?new Date(1e3*this.c.presentationTimeline.f+1e3*this.f.currentTime):null},Ur.prototype.getPlayheadTimeAsDate=Ur.prototype.Sc,Ur.prototype.getStats=function(){Gr(this),this.Sa();var t=null,e=null,n=this.f&&this.f.getVideoPlaybackQuality?this.f.getVideoPlaybackQuality():{};return this.g&&this.c&&(t=ee(this.c,Di(this.g)),e=this.P[t],e=Zt(e.audio,e.video,this.c.periods[t].variants),t=e.video||{}),t||(t={}),
e||(e={}),{width:t.width||0,height:t.height||0,streamBandwidth:e.bandwidth||0,decodedFrames:Number(n.totalVideoFrames),droppedFrames:Number(n.droppedVideoFrames),estimatedBandwidth:this.b.abr.manager.getBandwidthEstimate(),loadLatency:this.i.loadLatency,playTime:this.i.playTime,bufferingTime:this.i.bufferingTime,switchHistory:k(this.i.switchHistory),stateHistory:k(this.i.stateHistory)}},Ur.prototype.getStats=Ur.prototype.getStats,Ur.prototype.addTextTrack=function(t,e,n,i,r){
if(!this.a)return Promise.reject();for(var o,a=Wi(this.a),s=0;s<this.c.periods.length;s++)if(this.c.periods[s]==a){if(s==this.c.periods.length-1){if(o=this.c.presentationTimeline.Y()-a.startTime,1/0==o)return Promise.reject()}else o=this.c.periods[s+1].startTime-a.startTime;break}var u={id:this.Bc++,createSegmentIndex:Promise.resolve.bind(Promise),findSegmentPosition:function(){return 1},getSegmentReference:function(e){return 1!=e?null:new He(1,0,o,function(){return[t]},0,null)},
initSegmentReference:null,presentationTimeOffset:0,mimeType:i,codecs:r||"",kind:n,encrypted:!1,keyId:null,language:e,type:"text",primary:!1,trickModeVideo:null,containsEmsgBoxes:!1};return this.Va.push(u.id),a.textStreams.push(u),Yi(this.a,u).then(function(){if(!this.J)return this.Va.splice(this.Va.indexOf(u.id),1),Qr(this,a),to(this),{id:u.id,active:!1,type:"text",bandwidth:0,language:e,kind:n,width:null,height:null}}.bind(this))},Ur.prototype.addTextTrack=Ur.prototype.addTextTrack,
Ur.prototype.Hb=function(t,e){this.mb.width=t,this.mb.height=e},Ur.prototype.setMaxHardwareResolution=Ur.prototype.Hb,ra=Ur.prototype,ra.fb=function(t){var e=this.a?zi(this.a):{};if(qt(this.j,e,t),e=0<Gt(t.variants).length,Vt(t,this.b.restrictions,this.mb)&&this.a&&Wi(this.a)==t&&to(this),t=1>Gt(t.variants).length,!e)throw new u(2,4,4011);if(t)throw new u(2,4,4012)},ra.be=function(t,e){this.b.abr.manager.segmentDownloaded(t,e)},ra.xc=function(t){if(Gr(this),this.ka=t,this.Sa(),this.g){
var e=this.g;t!=e.h&&(e.h=t,Ri(e,e.g))}this.dispatchEvent(new oe("buffering",{buffering:t}))},ra.Yd=function(){to(this)},ra.Sa=function(){if(!this.J){var t=this.ka?"buffering":this.f.ended?"ended":this.f.paused?"paused":"playing",e=Date.now()/1e3;if(this.i.stateHistory.length){var n=this.i.stateHistory[this.i.stateHistory.length-1];if(n.duration=e-n.timestamp,t==n.state)return}this.i.stateHistory.push({timestamp:e,state:t,duration:0})}},ra.ae=function(){if(this.v){var t=this.v
;t.c.forEach(t.o.bind(t,!0))}this.a&&Gi(this.a)},ra.cd=function(t){this.Za=!0,this.b.abr.manager.disable(),t=Jr(this,t,Xt(t,this.ia),Jt(t,this.Ba),!0);for(var e in this.B)t[e]=this.B[e].stream;this.B={};for(e in t)Hr(this,t[e],!0);return t},ra.Ec=function(){this.Za=!1,this.b.abr.enabled&&this.b.abr.manager.enable();for(var t in this.B){var e=this.B[t];$i(this.a,t,e.stream,e.Ic)}this.B={}},ra.jd=function(){this.h&&this.h.update&&this.h.update()},ra.sd=function(){this.g&&this.g.yb()},
ra.Jb=function(t,e){var n,i=zi(this.a);for(n in t){var r=t[n];i[n]!=r?Hr(this,r,!0):delete t[n]}if(!F(t)&&this.a){for(n in t)$i(this.a,n,t[n],e||!1);Zr(this)}},ra.xa=function(t){this.J||this.dispatchEvent(new oe("error",{detail:t}))},ra.vd=function(t){this.v?this.v.v(t):this.Xa.push(t)},ra.gb=function(t){this.dispatchEvent(t)},ra.wd=function(){if(this.f.error){var t=this.f.error.code;if(1!=t){var e=this.f.error.msExtendedCode;e&&(0>e&&(e+=Math.pow(2,32)),e=e.toString(16)),
this.xa(new u(2,3,3016,t,e))}}},ra.$d=function(t){var e=["output-restricted","internal-error"],n=Wi(this.a),i=!1;n.variants.forEach(function(n){var r=[];n.audio&&r.push(n.audio),n.video&&r.push(n.video),r.forEach(function(r){var o=n.allowedByKeySystem;r.keyId&&(r=t[r.keyId],n.allowedByKeySystem=!!r&&0>e.indexOf(r)),o!=n.allowedByKeySystem&&(i=!0)})});var r=zi(this.a);(r=Qt(r.audio,r.video,n.variants))&&!r.allowedByKeySystem&&Qr(this,n),i&&to(this)},ra.Zd=function(t,e){
this.h&&this.h.onExpirationUpdated&&this.h.onExpirationUpdated(t,e),this.dispatchEvent(new oe("expirationupdated"))},e("shaka.offline.Storage",no),no.support=io,no.prototype.m=function(){var t=this.a,e=this.h?this.h.m().catch(function(){}).then(function(){if(t)return t.m()}):Promise.resolve();return this.i=this.f=this.h=this.a=null,e},no.prototype.destroy=no.prototype.m,no.prototype.configure=function(t){S(this.i,t,oo(this),{},"")},no.prototype.configure=no.prototype.configure,
no.prototype.je=function(t,e,n){function i(t){o=t}if(this.v)return Promise.reject(new u(2,9,9006));this.v=!0;var r,o=null;return ao(this).then(function(){return lo(this),ro(this,t,i,n)}.bind(this)).then(function(n){if(lo(this),this.c=n.manifest,this.b=n.Jc,this.c.presentationTimeline.da()||this.c.presentationTimeline.va())throw new u(2,9,9005,t);this.c.periods.forEach(this.o.bind(this)),this.g=this.a.c.manifest++,this.l=0,n=this.c.periods.map(this.B.bind(this));var i=this.b.b,o=ot(this.b);if(i){
if(!o.length)throw new u(2,9,9007,t);i.initData=[]}return r={key:this.g,originalManifestUri:t,duration:this.l,size:0,expiration:this.b.ab(),periods:n,sessionIds:o,drmInfo:i,appMetadata:e},Ir(this.h,r)}.bind(this)).then(function(){if(lo(this),o)throw o;return so(this)}.bind(this)).then(function(){return Er(r)}.bind(this)).catch(function(t){return so(this).catch(w).then(function(){throw t})}.bind(this))},no.prototype.store=no.prototype.je,no.prototype.remove=function(t){function e(t){
6013!=t.code&&(a=t)}var n=t.offlineUri,i=/^offline:([0-9]+)$/.exec(n);if(!i)return Promise.reject(new u(2,9,9004,n));var r,o,a=null,s=Number(i[1]);return ao(this).then(function(){return lo(this),this.a.get("manifest",s)}.bind(this)).then(function(t){if(lo(this),!t)throw new u(2,9,9003,n);return r=t,t=Or(r),o=new et(this.f.o,e,function(){},function(){}),o.configure(this.f.getConfiguration().drm),o.init(t,!0)}.bind(this)).then(function(){return it(o,r.sessionIds)}.bind(this)).then(function(){
return o.m()}.bind(this)).then(function(){if(lo(this),a)throw a;var e=r.periods.map(function(t){return t.streams.map(function(t){var e=t.segments.map(function(t){return t=/^offline:[0-9]+\/[0-9]+\/([0-9]+)$/.exec(t.uri),Number(t[1])});return t.initSegmentUri&&(t=/^offline:[0-9]+\/[0-9]+\/([0-9]+)$/.exec(t.initSegmentUri),e.push(Number(t[1]))),e}).reduce(b,[])}).reduce(b,[]),n=0,i=e.length,o=this.i.progressCallback;return vr(this.a,e,function(){n++,o(t,n/i)})}.bind(this)).then(function(){
return lo(this),this.i.progressCallback(t,1),this.a.remove("manifest",s)}.bind(this))},no.prototype.remove=no.prototype.remove,no.prototype.list=function(){var t=[];return ao(this).then(function(){return lo(this),this.a.forEach("manifest",function(e){t.push(Er(e))})}.bind(this)).then(function(){return t})},no.prototype.list=no.prototype.list,no.prototype.A=function(t){for(var e,n=[],i=Bt(this.f.getConfiguration().preferredAudioLanguage),r=[0,pa,ma],o=t.filter(function(t){return"variant"==t.type
}),r=r.map(function(t){return o.filter(function(e){return e=Bt(e.language),Ft(t,i,e)})}),a=0;a<r.length;a++)if(r[a].length){e=r[a];break}e||(r=o.filter(function(t){return t.primary}),r.length&&(e=r)),e||(e=o,o.map(function(t){return t.language}).filter(x));var s=e.filter(function(t){return t.height&&480>=t.height});return s.length&&(s.sort(function(t,e){return e.height-t.height}),e=s.filter(function(t){return t.height==s[0].height})),e.sort(function(t,e){return t.bandwidth-e.bandwidth}),
e.length&&n.push(e[Math.floor(e.length/2)]),n.push.apply(n,t.filter(function(t){return"text"==t.type})),n},no.prototype.o=function(t){var e={};if(this.j){var n=this.j.filter(function(t){return"variant"==t.type}),i=null;n.length&&(i=Kt(t,n[0])),i&&(i.video&&(e.video=i.video),i.audio&&(e.audio=i.audio))}qt(this.b,e,t),Vt(t,this.f.getConfiguration().restrictions,{width:1/0,height:1/0})},no.prototype.B=function(t){var e,n,i=zt(t,null,null),r=Yt(t,null),i=this.i.trackSelectionCallback(i.concat(r))
;for(this.j||(this.j=i,this.c.periods.forEach(this.o.bind(this))),r=i.length-1;0<r;--r){var o=!1;for(n=r-1;0<=n;--n)if(i[r].type==i[n].type&&i[r].kind==i[n].kind&&i[r].language==i[n].language){o=!0;break}if(o)break}for(o=[],r=0;r<i.length;r++)(e=Kt(t,i[r]))?(e.audio&&((n=o.filter(function(t){return t.id==e.audio.id})[0])?n.variantIds.push(e.id):(n=e.video?e.bandwidth/2:e.bandwidth,o.push(co(this,t,e.audio,n,e.id)))),e.video&&((n=o.filter(function(t){return t.id==e.video.id
})[0])?n.variantIds.push(e.id):(n=e.audio?e.bandwidth/2:e.bandwidth,o.push(co(this,t,e.video,n,e.id))))):o.push(co(this,t,$t(t,i[r]),0));return{startTime:t.startTime,streams:o}},Xa.offline=io,e("shaka.polyfill.installAll",function(){for(var t=0;t<Ja.length;++t)Ja[t]()});var Ja=[];e("shaka.polyfill.register",ho),ho(function(){if(t.Document){var e=Element.prototype;e.requestFullscreen=e.requestFullscreen||e.mozRequestFullScreen||e.msRequestFullscreen||e.webkitRequestFullscreen,
e=Document.prototype,e.exitFullscreen=e.exitFullscreen||e.mozCancelFullScreen||e.msExitFullscreen||e.webkitExitFullscreen,"fullscreenElement"in document||(Object.defineProperty(document,"fullscreenElement",{get:function(){return document.mozFullScreenElement||document.msFullscreenElement||document.webkitFullscreenElement}}),Object.defineProperty(document,"fullscreenEnabled",{get:function(){return document.mozFullScreenEnabled||document.msFullscreenEnabled||document.webkitFullscreenEnabled}})),
document.addEventListener("webkitfullscreenchange",fo),document.addEventListener("webkitfullscreenerror",fo),document.addEventListener("mozfullscreenchange",fo),document.addEventListener("mozfullscreenerror",fo),document.addEventListener("MSFullscreenChange",fo),document.addEventListener("MSFullscreenError",fo)}}),ho(function(){var e=navigator.userAgent;e&&0<=e.indexOf("CrKey")&&delete t.indexedDB}),po.prototype.c=function(t){if(!(1<t.version)){var e=Z(t.s.Ja(16)),n=[]
;if(0<t.version)for(var i=t.s.D(),r=0;r<i;++r){var o=Z(t.s.Ja(16));n.push(o)}i=t.s.D(),t.s.I(i),this.b.push.apply(this.b,n),this.f.push(e),this.a.push({start:t.start,end:t.start+t.size-1})}},go.prototype.createMediaKeys=function(){var t=new yo(this.keySystem);return Promise.resolve(t)},go.prototype.getConfiguration=function(){return this.a},yo.prototype.createSession=function(t){if("temporary"!=(t||"temporary"))throw new TypeError("Session type "+t+" is unsupported on this platform.")
;return new wo(this.a)},yo.prototype.setServerCertificate=function(){return Promise.resolve(!1)},n(wo),ra=wo.prototype,ra.generateRequest=function(t,e){this.a=new M;try{this.c=this.g.createSession("video/mp4",new Uint8Array(e),null),R(this.f,this.c,"mskeymessage",this.nd.bind(this)),R(this.f,this.c,"mskeyadded",this.ld.bind(this)),R(this.f,this.c,"mskeyerror",this.md.bind(this)),xo(this,"status-pending")}catch(t){this.a.reject(t)}return this.a},ra.load=function(){
return Promise.reject(Error("MediaKeySession.load not yet supported"))},ra.update=function(t){this.b=new M;try{this.c.update(new Uint8Array(t))}catch(t){this.b.reject(t)}return this.b},ra.close=function(){try{this.c.close(),this.closed.resolve(),j(this.f)}catch(t){this.closed.reject(t)}return this.closed},ra.remove=function(){return Promise.reject(Error("MediaKeySession.remove is only applicable for persistent licenses, which are not supported on this platform"))},ra.nd=function(t){
this.a&&(this.a.resolve(),this.a=null),this.dispatchEvent(new oe("message",{messageType:void 0==this.keyStatuses.qb()?"licenserequest":"licenserenewal",message:t.message.buffer}))},ra.ld=function(){this.a?(xo(this,"usable"),this.a.resolve(),this.a=null):this.b&&(xo(this,"usable"),this.b.resolve(),this.b=null)},ra.md=function(){var t=Error("EME PatchedMediaKeysMs key error");if(t.errorCode=this.c.error,this.a)this.a.reject(t),this.a=null;else if(this.b)this.b.reject(t),
this.b=null;else switch(this.c.error.code){case MSMediaKeyError.MS_MEDIA_KEYERR_OUTPUT:case MSMediaKeyError.MS_MEDIA_KEYERR_HARDWARECHANGE:xo(this,"output-not-allowed");default:xo(this,"internal-error")}};var Qa;ra=To.prototype,ra.Ib=function(t){this.size=void 0==t?0:1,this.a=t},ra.qb=function(){return this.a},ra.forEach=function(t){this.a&&t(this.a,Qa)},ra.get=function(t){if(this.has(t))return this.a},ra.has=function(t){var e=Qa;return!(!this.a||!tt(new Uint8Array(t),new Uint8Array(e)))},
ra.entries=function(){},ra.keys=function(){},ra.values=function(){},ko.prototype.createSession=function(){},ko.prototype.setServerCertificate=function(){},Mo.prototype.getConfiguration=function(){},Mo.prototype.createMediaKeys=function(){};var Za="";Do.prototype.createMediaKeys=function(){var t=new Oo(this.a);return Promise.resolve(t)},Do.prototype.getConfiguration=function(){return this.b},ra=Oo.prototype,ra.createSession=function(t){var e=t||"temporary"
;if("temporary"!=e&&"persistent-license"!=e)throw new TypeError("Session type "+t+" is unsupported on this platform.");return t=this.b||document.createElement("video"),t.src||(t.src="about:blank"),e=new jo(t,this.g,e),this.c.push(e),e},ra.setServerCertificate=function(){return Promise.resolve(!1)},ra.Ad=function(t){var e=document.createEvent("CustomEvent");e.initCustomEvent("encrypted",!1,!1,null),e.initDataType="webm",e.initData=t.initData,this.b.dispatchEvent(e)},ra.zd=function(t){
var e=Lo(this,t.sessionId);e&&(t=new oe("message",{messageType:void 0==e.keyStatuses.qb()?"licenserequest":"licenserenewal",message:t.message}),e.b&&(e.b.resolve(),e.b=null),e.dispatchEvent(t))},ra.xd=function(t){(t=Lo(this,t.sessionId))&&(Fo(t,"usable"),t.a&&t.a.resolve(),t.a=null)},ra.yd=function(t){var e=Lo(this,t.sessionId);if(e){var n=Error("EME v0.1b key error");n.errorCode=t.errorCode,n.errorCode.systemCode=t.systemCode,!t.sessionId&&e.b?(n.method="generateRequest",
45==t.systemCode&&(n.message="Unsupported session type."),e.b.reject(n),e.b=null):t.sessionId&&e.a?(n.method="update",e.a.reject(n),e.a=null):(n=t.systemCode,t.errorCode.code==MediaKeyError.MEDIA_KEYERR_OUTPUT?Fo(e,"output-restricted"):1==n?Fo(e,"expired"):Fo(e,"internal-error"))}},n(jo),ra=jo.prototype,ra.Kb=function(t,e){if(this.a)this.a.then(this.Kb.bind(this,t,e)).catch(this.Kb.bind(this,t,e));else{if(this.a=t,"webkit-org.w3.clearkey"==this.c){var n=q(e),i=JSON.parse(n)
;"oct"!=i.keys[0].kty&&(this.a.reject(Error("Response is not a valid JSON Web Key Set.")),this.a=null),n=J(i.keys[0].k),i=J(i.keys[0].kid)}else n=new Uint8Array(e),i=null;var r=No("addKey");try{this.f[r](this.c,n,i,this.sessionId)}catch(t){this.a.reject(t),this.a=null}}},ra.generateRequest=function(t,e){return Uo(this,e,null)},ra.load=function(t){return"persistent-license"==this.g?Uo(this,null,t):Promise.reject(Error("Not a persistent session."))},ra.update=function(t){var e=new M
;return this.Kb(e,t),e},ra.close=function(){if("persistent-license"!=this.g){if(!this.sessionId)return this.closed.reject(Error("The session is not callable.")),this.closed;var t=No("cancelKeyRequest");try{this.f[t](this.c,this.sessionId)}catch(t){}}return this.closed.resolve(),this.closed},ra.remove=function(){return"persistent-license"!=this.g?Promise.reject(Error("Not a persistent session.")):this.close()};var ts;ra=Bo.prototype,ra.Ib=function(t){this.size=void 0==t?0:1,this.a=t},
ra.qb=function(){return this.a},ra.forEach=function(t){this.a&&t(this.a,ts)},ra.get=function(t){if(this.has(t))return this.a},ra.has=function(t){var e=ts;return!(!this.a||!tt(new Uint8Array(t),new Uint8Array(e)))},ra.entries=function(){},ra.keys=function(){},ra.values=function(){},ho(function(){
!t.HTMLVideoElement||navigator.requestMediaKeySystemAccess&&MediaKeySystemAccess.prototype.getConfiguration||(HTMLMediaElement.prototype.webkitGenerateKeyRequest?Po("webkit"):HTMLMediaElement.prototype.generateKeyRequest?Po(""):t.MSMediaKeys?(Qa=new Uint8Array([0]).buffer,delete HTMLMediaElement.prototype.mediaKeys,HTMLMediaElement.prototype.mediaKeys=null,HTMLMediaElement.prototype.setMediaKeys=vo,t.MediaKeys=yo,t.MediaKeySystemAccess=go,
navigator.requestMediaKeySystemAccess=mo):(navigator.requestMediaKeySystemAccess=Co,delete HTMLMediaElement.prototype.mediaKeys,HTMLMediaElement.prototype.mediaKeys=null,HTMLMediaElement.prototype.setMediaKeys=So,t.MediaKeys=ko,t.MediaKeySystemAccess=Mo))}),ho(function(){if(t.MediaSource){var e=navigator.vendor,n=navigator.appVersion;!e||!n||0>e.indexOf("Apple")||(0<=n.indexOf("Version/8")?t.MediaSource=null:0<=n.indexOf("Version/9")?Ho():0<=n.indexOf("Version/10")&&(Ho(),Vo()))}});var es=0
;zo.prototype.then=function(t,e){var n=new zo;switch(this.za){case 1:Xo(this,n,t);break;case 2:Xo(this,n,e);break;case es:this.c.push({L:n,nb:t}),this.b.push({L:n,nb:e})}return n},zo.prototype.catch=function(t){return this.then(void 0,t)},zo.prototype.fa=function(t){if(this.za==es){for(this.jb=t,this.za=1,t=0;t<this.c.length;++t)Xo(this,this.c[t].L,this.c[t].nb);this.c=[],this.b=[]}},zo.prototype.a=function(t){if(this.za==es){for(this.jb=t,this.za=2,
t=0;t<this.b.length;++t)Xo(this,this.b[t].L,this.b[t].nb);this.c=[],this.b=[]}};var ns=null,is=[];ho(function(e){t.setImmediate?(Zo=function(e){return t.setImmediate(e)},ta=function(e){return t.clearImmediate(e)}):(Zo=function(e){return t.setTimeout(e,0)},ta=function(e){return t.clearTimeout(e)}),t.Promise&&!e||(t.Promise=zo,t.Promise.resolve=Yo,t.Promise.reject=Ko,t.Promise.all=$o,t.Promise.race=Go,t.Promise.prototype.then=zo.prototype.then,t.Promise.prototype.catch=zo.prototype.catch)}),
ho(function(){if(t.HTMLVideoElement){var e=HTMLVideoElement.prototype;!e.getVideoPlaybackQuality&&"webkitDroppedFrameCount"in e&&(e.getVideoPlaybackQuality=ea)}}),ho(function(){if(!t.VTTCue&&t.TextTrackCue){var e=TextTrackCue.length;if(3==e)t.VTTCue=na;else if(6==e)t.VTTCue=ia;else{try{var n=!!na(1,2,"")}catch(t){n=!1}n&&(t.VTTCue=na)}}})}).call(r,this),void 0!==t&&t.exports?t.exports=r.shaka:void 0!==(i=function(){return r.shaka}.call(e,n,e,t))&&(t.exports=i)}()},1185:function(t,e,n){
t.exports=!n(333)&&!n(506)(function(){return 7!=Object.defineProperty(n(1186)("div"),"a",{get:function(){return 7}}).a})},1186:function(t,e,n){var i=n(393),r=n(227).document,o=i(r)&&i(r.createElement);t.exports=function(t){return o?r.createElement(t):{}}},1187:function(t,e,n){var i=n(3522);t.exports=function(t,e,n){if(i(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,i){return t.call(e,n,i)};case 3:return function(n,i,r){
return t.call(e,n,i,r)}}return function(){return t.apply(e,arguments)}}},1188:function(t,e,n){e.f=n(266)},1189:function(t,e){t.exports=!1},1190:function(t,e,n){var i=n(332),r=n(335),o=n(1193)(!1),a=n(1196)("IE_PROTO");t.exports=function(t,e){var n,s=r(t),u=0,c=[];for(n in s)n!=a&&i(s,n)&&c.push(n);for(;e.length>u;)i(s,n=e[u++])&&(~o(c,n)||c.push(n));return c}},1191:function(t,e,n){var i=n(732);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){
return"String"==i(t)?t.split(""):Object(t)}},1192:function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on  "+t);return t}},1193:function(t,e,n){var i=n(335),r=n(1194),o=n(3527);t.exports=function(t){return function(e,n,a){var s,u=i(e),c=r(u.length),l=o(a,c);if(t&&n!=n){for(;c>l;)if((s=u[l++])!=s)return!0}else for(;c>l;l++)if((t||l in u)&&u[l]===n)return t||l||0;return!t&&-1}}},1194:function(t,e,n){var i=n(1195),r=Math.min;t.exports=function(t){
return t>0?r(i(t),9007199254740991):0}},1195:function(t,e){var n=Math.ceil,i=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?i:n)(t)}},1196:function(t,e,n){var i=n(731)("keys"),r=n(394);t.exports=function(t){return i[t]||(i[t]=r(t))}},1197:function(t,e){e.f=Object.getOwnPropertySymbols},1198:function(t,e,n){var i=n(732);t.exports=Array.isArray||function(t){return"Array"==i(t)}},1199:function(t,e,n){var i=n(1190),r=n(733).concat("length","prototype")
;e.f=Object.getOwnPropertyNames||function(t){return i(t,r)}},1200:function(t,e,n){var i=n(1187),r=n(1191),o=n(3538),a=n(1194),s=n(3539);t.exports=function(t,e){var n=1==t,u=2==t,c=3==t,l=4==t,h=6==t,f=5==t||h,d=e||s;return function(e,s,p){for(var m,g,v=o(e),y=r(v),b=i(s,p,3),w=a(y.length),_=0,E=n?d(e,w):u?d(e,0):void 0;w>_;_++)if((f||_ in y)&&(m=y[_],g=b(m,_,v),t))if(n)E[_]=g;else if(g)switch(t){case 3:return!0;case 5:return m;case 6:return _;case 2:E.push(m)}else if(l)return!1
;return h?-1:c||l?l:E}}},1245:function(t,e,n){!function(e,i){var r=n(3),o=n(272);t.exports=i(r,o)}(0,function(t,e){"use strict";return e.Wreqr=function(t,e,n){var i={};return i.Handlers=function(t,e){var n=function(t){this.options=t,this._wreqrHandlers={},e.isFunction(this.initialize)&&this.initialize(t)};return n.extend=t.Model.extend,e.extend(n.prototype,t.Events,{setHandlers:function(t){e.each(t,function(t,n){var i=null;e.isObject(t)&&!e.isFunction(t)&&(i=t.context,t=t.callback),
this.setHandler(n,t,i)},this)},setHandler:function(t,e,n){var i={callback:e,context:n};this._wreqrHandlers[t]=i,this.trigger("handler:add",t,e,n)},hasHandler:function(t){return!!this._wreqrHandlers[t]},getHandler:function(t){var e=this._wreqrHandlers[t];if(e)return function(){var t=Array.prototype.slice.apply(arguments);return e.callback.apply(e.context,t)}},removeHandler:function(t){delete this._wreqrHandlers[t]},removeAllHandlers:function(){this._wreqrHandlers={}}}),n}(t,n),
i.CommandStorage=function(){var e=function(t){this.options=t,this._commands={},n.isFunction(this.initialize)&&this.initialize(t)};return n.extend(e.prototype,t.Events,{getCommands:function(t){var e=this._commands[t];return e||(e={command:t,instances:[]},this._commands[t]=e),e},addCommand:function(t,e){this.getCommands(t).instances.push(e)},clearCommands:function(t){this.getCommands(t).instances=[]}}),e}(),i.Commands=function(t){return t.Handlers.extend({storageType:t.CommandStorage,
constructor:function(e){this.options=e||{},this._initializeStorage(this.options),this.on("handler:add",this._executeCommands,this);var n=Array.prototype.slice.call(arguments);t.Handlers.prototype.constructor.apply(this,n)},execute:function(t,e){t=arguments[0],e=Array.prototype.slice.call(arguments,1),this.hasHandler(t)?this.getHandler(t).apply(this,e):this.storage.addCommand(t,e)},_executeCommands:function(t,e,i){var r=this.storage.getCommands(t);n.each(r.instances,function(t){e.apply(i,t)}),
this.storage.clearCommands(t)},_initializeStorage:function(t){var e,i=t.storageType||this.storageType;e=n.isFunction(i)?new i:i,this.storage=e}})}(i),i.RequestResponse=function(t){return t.Handlers.extend({request:function(){var t=arguments[0],e=Array.prototype.slice.call(arguments,1);if(this.hasHandler(t))return this.getHandler(t).apply(this,e)}})}(i),i.EventAggregator=function(t,e){var n=function(){};return n.extend=t.Model.extend,e.extend(n.prototype,t.Events),n}(t,n),i}(e,e.Marionette,t),
e.Wreqr})},1246:function(t,e,n){!function(e,i){var r=n(3),o=n(272);t.exports=i(r,o)}(0,function(t,e){"option strict";return e.ChildViewContainer=function(t,e){var n=function(t){this._views={},this._indexByModel={},this._indexByCustom={},this._updateLength(),e.each(t,this.add,this)};e.extend(n.prototype,{add:function(t,e){var n=t.cid;return this._views[n]=t,t.model&&(this._indexByModel[t.model.cid]=n),e&&(this._indexByCustom[e]=n),this._updateLength(),this},findByModel:function(t){
return this.findByModelCid(t.cid)},findByModelCid:function(t){var e=this._indexByModel[t];return this.findByCid(e)},findByCustom:function(t){var e=this._indexByCustom[t];return this.findByCid(e)},findByIndex:function(t){return e.values(this._views)[t]},findByCid:function(t){return this._views[t]},remove:function(t){var n=t.cid;return t.model&&delete this._indexByModel[t.model.cid],e.any(this._indexByCustom,function(t,e){if(t===n)return delete this._indexByCustom[e],!0},this),
delete this._views[n],this._updateLength(),this},call:function(t){this.apply(t,e.tail(arguments))},apply:function(t,n){e.each(this._views,function(i){e.isFunction(i[t])&&i[t].apply(i,n||[])})},_updateLength:function(){this.length=e.size(this._views)}});var i=["forEach","each","map","find","detect","filter","select","reject","every","all","some","any","include","contains","invoke","toArray","first","initial","rest","last","without","isEmpty","pluck"];return e.each(i,function(t){
n.prototype[t]=function(){var n=e.values(this._views),i=[n].concat(e.toArray(arguments));return e[t].apply(e,i)}}),n}(0,t),e.ChildViewContainer})},140:function(t,e,n){"use strict";function i(t){return function(){return t}}var r=function(){};r.thatReturns=i,r.thatReturnsFalse=i(!1),r.thatReturnsTrue=i(!0),r.thatReturnsNull=i(null),r.thatReturnsThis=function(){return this},r.thatReturnsArgument=function(t){return t},t.exports=r},151:function(t,e,n){"use strict";var i=null;t.exports={debugTool:i}},
169:function(t,e,n){"use strict";function i(t,e,n,i){this.dispatchConfig=t,this._targetInst=e,this.nativeEvent=n;var r=this.constructor.Interface;for(var o in r)if(r.hasOwnProperty(o)){var s=r[o];s?this[o]=s(n):"target"===o?this.target=i:this[o]=n[o]}var u=null!=n.defaultPrevented?n.defaultPrevented:!1===n.returnValue;return this.isDefaultPrevented=u?a.thatReturnsTrue:a.thatReturnsFalse,this.isPropagationStopped=a.thatReturnsFalse,this}var r=n(68),o=n(246),a=n(140),s=(n(47),
["dispatchConfig","_targetInst","nativeEvent","isDefaultPrevented","isPropagationStopped","_dispatchListeners","_dispatchInstances"]),u={type:null,target:null,currentTarget:a.thatReturnsNull,eventPhase:null,bubbles:null,cancelable:null,timeStamp:function(t){return t.timeStamp||Date.now()},defaultPrevented:null,isTrusted:null};r(i.prototype,{preventDefault:function(){this.defaultPrevented=!0;var t=this.nativeEvent
;t&&(t.preventDefault?t.preventDefault():"unknown"!=typeof t.returnValue&&(t.returnValue=!1),this.isDefaultPrevented=a.thatReturnsTrue)},stopPropagation:function(){var t=this.nativeEvent;t&&(t.stopPropagation?t.stopPropagation():"unknown"!=typeof t.cancelBubble&&(t.cancelBubble=!0),this.isPropagationStopped=a.thatReturnsTrue)},persist:function(){this.isPersistent=a.thatReturnsTrue},isPersistent:a.thatReturnsFalse,destructor:function(){var t=this.constructor.Interface;for(var e in t)this[e]=null
;for(var n=0;n<s.length;n++)this[s[n]]=null}}),i.Interface=u,i.augmentClass=function(t,e){var n=this,i=function(){};i.prototype=n.prototype;var a=new i;r(a,t.prototype),t.prototype=a,t.prototype.constructor=t,t.Interface=r({},n.Interface,e),t.augmentClass=n.augmentClass,o.addPoolingTo(t,o.fourArgumentPooler)},o.addPoolingTo(i,o.fourArgumentPooler),t.exports=i},170:function(t,e,n){"use strict";function i(){k.ReactReconcileTransaction&&_||l("123")}function r(){this.reinitializeTransaction(),
this.dirtyComponentsLength=null,this.callbackQueue=f.getPooled(),this.reconcileTransaction=k.ReactReconcileTransaction.getPooled(!0)}function o(t,e,n,r,o,a){return i(),_.batchedUpdates(t,e,n,r,o,a)}function a(t,e){return t._mountOrder-e._mountOrder}function s(t){var e=t.dirtyComponentsLength;e!==v.length&&l("124",e,v.length),v.sort(a),y++;for(var n=0;n<e;n++){var i=v[n],r=i._pendingCallbacks;i._pendingCallbacks=null;var o;if(p.logTopLevelRenders){var s=i
;i._currentElement.type.isReactTopLevelWrapper&&(s=i._renderedComponent),o="React update: "+s.getName(),console.time(o)}if(m.performUpdateIfNecessary(i,t.reconcileTransaction,y),o&&console.timeEnd(o),r)for(var u=0;u<r.length;u++)t.callbackQueue.enqueue(r[u],i.getPublicInstance())}}function u(t){if(i(),!_.isBatchingUpdates)return void _.batchedUpdates(u,t);v.push(t),null==t._updateBatchNumber&&(t._updateBatchNumber=y+1)}function c(t,e){_.isBatchingUpdates||l("125"),b.enqueue(t,e),w=!0}
var l=n(54),h=n(68),f=n(844),d=n(246),p=n(845),m=n(296),g=n(425),v=(n(42),[]),y=0,b=f.getPooled(),w=!1,_=null,E={initialize:function(){this.dirtyComponentsLength=v.length},close:function(){this.dirtyComponentsLength!==v.length?(v.splice(0,this.dirtyComponentsLength),C()):v.length=0}},x={initialize:function(){this.callbackQueue.reset()},close:function(){this.callbackQueue.notifyAll()}},T=[E,x];h(r.prototype,g,{getTransactionWrappers:function(){return T},destructor:function(){
this.dirtyComponentsLength=null,f.release(this.callbackQueue),this.callbackQueue=null,k.ReactReconcileTransaction.release(this.reconcileTransaction),this.reconcileTransaction=null},perform:function(t,e,n){return g.perform.call(this,this.reconcileTransaction.perform,this.reconcileTransaction,t,e,n)}}),d.addPoolingTo(r);var C=function(){for(;v.length||w;){if(v.length){var t=r.getPooled();t.perform(s,null,t),r.release(t)}if(w){w=!1;var e=b;b=f.getPooled(),e.notifyAll(),f.release(e)}}},S={
injectReconcileTransaction:function(t){t||l("126"),k.ReactReconcileTransaction=t},injectBatchingStrategy:function(t){t||l("127"),"function"!=typeof t.batchedUpdates&&l("128"),"boolean"!=typeof t.isBatchingUpdates&&l("129"),_=t}},k={ReactReconcileTransaction:null,batchedUpdates:o,enqueueUpdate:u,flushBatchedUpdates:C,injection:S,asap:c};t.exports=k},1715:function(t,e,n){"use strict";function i(t){return(""+t).replace(w,"$&/")}function r(t,e){this.func=t,this.context=e,this.count=0}
function o(t,e,n){var i=t.func,r=t.context;i.call(r,e,t.count++)}function a(t,e,n){if(null==t)return t;var i=r.getPooled(e,n);v(t,o,i),r.release(i)}function s(t,e,n,i){this.result=t,this.keyPrefix=e,this.func=n,this.context=i,this.count=0}function u(t,e,n){var r=t.result,o=t.keyPrefix,a=t.func,s=t.context,u=a.call(s,e,t.count++);Array.isArray(u)?c(u,r,n,g.thatReturnsArgument):null!=u&&(m.isValidElement(u)&&(u=m.cloneAndReplaceKey(u,o+(!u.key||e&&e.key===u.key?"":i(u.key)+"/")+n)),r.push(u))}
function c(t,e,n,r,o){var a="";null!=n&&(a=i(n)+"/");var c=s.getPooled(e,a,r,o);v(t,u,c),s.release(c)}function l(t,e,n){if(null==t)return t;var i=[];return c(t,i,null,e,n),i}function h(t,e,n){return null}function f(t,e){return v(t,h,null)}function d(t){var e=[];return c(t,e,null,g.thatReturnsArgument),e}var p=n(1716),m=n(293),g=n(140),v=n(1717),y=p.twoArgumentPooler,b=p.fourArgumentPooler,w=/\/+/g;r.prototype.destructor=function(){this.func=null,this.context=null,this.count=0},
p.addPoolingTo(r,y),s.prototype.destructor=function(){this.result=null,this.keyPrefix=null,this.func=null,this.context=null,this.count=0},p.addPoolingTo(s,b);var _={forEach:a,map:l,mapIntoWithKeyPrefixInternal:c,count:f,toArray:d};t.exports=_},1716:function(t,e,n){"use strict";var i=n(292),r=(n(42),function(t){var e=this;if(e.instancePool.length){var n=e.instancePool.pop();return e.call(n,t),n}return new e(t)}),o=function(t,e){var n=this;if(n.instancePool.length){var i=n.instancePool.pop()
;return n.call(i,t,e),i}return new n(t,e)},a=function(t,e,n){var i=this;if(i.instancePool.length){var r=i.instancePool.pop();return i.call(r,t,e,n),r}return new i(t,e,n)},s=function(t,e,n,i){var r=this;if(r.instancePool.length){var o=r.instancePool.pop();return r.call(o,t,e,n,i),o}return new r(t,e,n,i)},u=function(t){var e=this;t instanceof e||i("25"),t.destructor(),e.instancePool.length<e.poolSize&&e.instancePool.push(t)},c=r,l=function(t,e){var n=t;return n.instancePool=[],n.getPooled=e||c,
n.poolSize||(n.poolSize=10),n.release=u,n},h={addPoolingTo:l,oneArgumentPooler:r,twoArgumentPooler:o,threeArgumentPooler:a,fourArgumentPooler:s};t.exports=h},1717:function(t,e,n){"use strict";function i(t,e){return t&&"object"==typeof t&&null!=t.key?c.escape(t.key):e.toString(36)}function r(t,e,n,o){var f=typeof t;if("undefined"!==f&&"boolean"!==f||(t=null),null===t||"string"===f||"number"===f||"object"===f&&t.$$typeof===s)return n(o,t,""===e?l+i(t,0):e),1;var d,p,m=0,g=""===e?l:e+h
;if(Array.isArray(t))for(var v=0;v<t.length;v++)d=t[v],p=g+i(d,v),m+=r(d,p,n,o);else{var y=u(t);if(y){var b,w=y.call(t);if(y!==t.entries)for(var _=0;!(b=w.next()).done;)d=b.value,p=g+i(d,_++),m+=r(d,p,n,o);else for(;!(b=w.next()).done;){var E=b.value;E&&(d=E[1],p=g+c.escape(E[0])+h+i(d,0),m+=r(d,p,n,o))}}else if("object"===f){var x="",T=String(t);a("31","[object Object]"===T?"object with keys {"+Object.keys(t).join(", ")+"}":T,x)}}return m}function o(t,e,n){return null==t?0:r(t,"",e,n)}
var a=n(292),s=(n(180),n(835)),u=n(836),c=(n(42),n(1718)),l=(n(47),"."),h=":";t.exports=o},1718:function(t,e,n){"use strict";function i(t){var e={"=":"=0",":":"=2"};return"$"+(""+t).replace(/[=:]/g,function(t){return e[t]})}function r(t){var e=/(=0|=2)/g,n={"=0":"=","=2":":"};return(""+("."===t[0]&&"$"===t[1]?t.substring(2):t.substring(1))).replace(e,function(t){return n[t]})}var o={escape:i,unescape:r};t.exports=o},1719:function(t,e,n){"use strict";function i(t,e,n){this.props=t,this.context=e,
this.refs=u,this.updater=n||s}function r(){}var o=n(68),a=n(579),s=n(580),u=n(358);r.prototype=a.prototype,i.prototype=new r,i.prototype.constructor=i,o(i.prototype,a.prototype),i.prototype.isPureReactComponent=!0,t.exports=i},1720:function(t,e,n){"use strict";function i(t){return t}function r(t,e){var n=w.hasOwnProperty(e)?w[e]:null;E.hasOwnProperty(e)&&"OVERRIDE_BASE"!==n&&f("73",e),t&&"DEFINE_MANY"!==n&&"DEFINE_MANY_MERGED"!==n&&f("74",e)}function o(t,e){if(e){"function"==typeof e&&f("75"),
m.isValidElement(e)&&f("76");var n=t.prototype,i=n.__reactAutoBindPairs;e.hasOwnProperty(y)&&_.mixins(t,e.mixins);for(var o in e)if(e.hasOwnProperty(o)&&o!==y){var a=e[o],s=n.hasOwnProperty(o);if(r(s,o),_.hasOwnProperty(o))_[o](t,a);else{var l=w.hasOwnProperty(o),h="function"==typeof a,d=h&&!l&&!s&&!1!==e.autobind;if(d)i.push(o,a),n[o]=a;else if(s){var p=w[o];(!l||"DEFINE_MANY_MERGED"!==p&&"DEFINE_MANY"!==p)&&f("77",p,o),"DEFINE_MANY_MERGED"===p?n[o]=u(n[o],a):"DEFINE_MANY"===p&&(n[o]=c(n[o],a))
}else n[o]=a}}}else;}function a(t,e){if(e)for(var n in e){var i=e[n];if(e.hasOwnProperty(n)){var r=n in _;r&&f("78",n);var o=n in t;o&&f("79",n),t[n]=i}}}function s(t,e){t&&e&&"object"==typeof t&&"object"==typeof e||f("80");for(var n in e)e.hasOwnProperty(n)&&(void 0!==t[n]&&f("81",n),t[n]=e[n]);return t}function u(t,e){return function(){var n=t.apply(this,arguments),i=e.apply(this,arguments);if(null==n)return i;if(null==i)return n;var r={};return s(r,n),s(r,i),r}}function c(t,e){
return function(){t.apply(this,arguments),e.apply(this,arguments)}}function l(t,e){var n=e.bind(t);return n}function h(t){for(var e=t.__reactAutoBindPairs,n=0;n<e.length;n+=2){var i=e[n],r=e[n+1];t[i]=l(t,r)}}var f=n(292),d=n(68),p=n(579),m=n(293),g=(n(837),n(580)),v=n(358),y=(n(42),n(47),"mixins"),b=[],w={mixins:"DEFINE_MANY",statics:"DEFINE_MANY",propTypes:"DEFINE_MANY",contextTypes:"DEFINE_MANY",childContextTypes:"DEFINE_MANY",getDefaultProps:"DEFINE_MANY_MERGED",
getInitialState:"DEFINE_MANY_MERGED",getChildContext:"DEFINE_MANY_MERGED",render:"DEFINE_ONCE",componentWillMount:"DEFINE_MANY",componentDidMount:"DEFINE_MANY",componentWillReceiveProps:"DEFINE_MANY",shouldComponentUpdate:"DEFINE_ONCE",componentWillUpdate:"DEFINE_MANY",componentDidUpdate:"DEFINE_MANY",componentWillUnmount:"DEFINE_MANY",updateComponent:"OVERRIDE_BASE"},_={displayName:function(t,e){t.displayName=e},mixins:function(t,e){if(e)for(var n=0;n<e.length;n++)o(t,e[n])},
childContextTypes:function(t,e){t.childContextTypes=d({},t.childContextTypes,e)},contextTypes:function(t,e){t.contextTypes=d({},t.contextTypes,e)},getDefaultProps:function(t,e){t.getDefaultProps?t.getDefaultProps=u(t.getDefaultProps,e):t.getDefaultProps=e},propTypes:function(t,e){t.propTypes=d({},t.propTypes,e)},statics:function(t,e){a(t,e)},autobind:function(){}},E={replaceState:function(t,e){this.updater.enqueueReplaceState(this,t),e&&this.updater.enqueueCallback(this,e,"replaceState")},
isMounted:function(){return this.updater.isMounted(this)}},x=function(){};d(x.prototype,p.prototype,E);var T={createClass:function(t){var e=i(function(t,n,i){this.__reactAutoBindPairs.length&&h(this),this.props=t,this.context=n,this.refs=v,this.updater=i||g,this.state=null;var r=this.getInitialState?this.getInitialState():null;("object"!=typeof r||Array.isArray(r))&&f("82",e.displayName||"ReactCompositeComponent"),this.state=r});e.prototype=new x,e.prototype.constructor=e,
e.prototype.__reactAutoBindPairs=[],b.forEach(o.bind(null,e)),o(e,t),e.getDefaultProps&&(e.defaultProps=e.getDefaultProps()),e.prototype.render||f("83");for(var n in w)e.prototype[n]||(e.prototype[n]=null);return e},injection:{injectMixin:function(t){b.push(t)}}};t.exports=T},1721:function(t,e,n){"use strict";var i=n(293),r=i.createFactory,o={a:r("a"),abbr:r("abbr"),address:r("address"),area:r("area"),article:r("article"),aside:r("aside"),audio:r("audio"),b:r("b"),base:r("base"),bdi:r("bdi"),
bdo:r("bdo"),big:r("big"),blockquote:r("blockquote"),body:r("body"),br:r("br"),button:r("button"),canvas:r("canvas"),caption:r("caption"),cite:r("cite"),code:r("code"),col:r("col"),colgroup:r("colgroup"),data:r("data"),datalist:r("datalist"),dd:r("dd"),del:r("del"),details:r("details"),dfn:r("dfn"),dialog:r("dialog"),div:r("div"),dl:r("dl"),dt:r("dt"),em:r("em"),embed:r("embed"),fieldset:r("fieldset"),figcaption:r("figcaption"),figure:r("figure"),footer:r("footer"),form:r("form"),h1:r("h1"),
h2:r("h2"),h3:r("h3"),h4:r("h4"),h5:r("h5"),h6:r("h6"),head:r("head"),header:r("header"),hgroup:r("hgroup"),hr:r("hr"),html:r("html"),i:r("i"),iframe:r("iframe"),img:r("img"),input:r("input"),ins:r("ins"),kbd:r("kbd"),keygen:r("keygen"),label:r("label"),legend:r("legend"),li:r("li"),link:r("link"),main:r("main"),map:r("map"),mark:r("mark"),menu:r("menu"),menuitem:r("menuitem"),meta:r("meta"),meter:r("meter"),nav:r("nav"),noscript:r("noscript"),object:r("object"),ol:r("ol"),
optgroup:r("optgroup"),option:r("option"),output:r("output"),p:r("p"),param:r("param"),picture:r("picture"),pre:r("pre"),progress:r("progress"),q:r("q"),rp:r("rp"),rt:r("rt"),ruby:r("ruby"),s:r("s"),samp:r("samp"),script:r("script"),section:r("section"),select:r("select"),small:r("small"),source:r("source"),span:r("span"),strong:r("strong"),style:r("style"),sub:r("sub"),summary:r("summary"),sup:r("sup"),table:r("table"),tbody:r("tbody"),td:r("td"),textarea:r("textarea"),tfoot:r("tfoot"),
th:r("th"),thead:r("thead"),time:r("time"),title:r("title"),tr:r("tr"),track:r("track"),u:r("u"),ul:r("ul"),var:r("var"),video:r("video"),wbr:r("wbr"),circle:r("circle"),clipPath:r("clipPath"),defs:r("defs"),ellipse:r("ellipse"),g:r("g"),image:r("image"),line:r("line"),linearGradient:r("linearGradient"),mask:r("mask"),path:r("path"),pattern:r("pattern"),polygon:r("polygon"),polyline:r("polyline"),radialGradient:r("radialGradient"),rect:r("rect"),stop:r("stop"),svg:r("svg"),text:r("text"),
tspan:r("tspan")};t.exports=o},1722:function(t,e,n){"use strict";function i(t,e){return t===e?0!==t||1/t==1/e:t!==t&&e!==e}function r(t){this.message=t,this.stack=""}function o(t){function e(e,n,i,o,a,s,u){o=o||x,s=s||i;if(null==n[i]){var c=b[a];return e?new r(null===n[i]?"The "+c+" `"+s+"` is marked as required in `"+o+"`, but its value is `null`.":"The "+c+" `"+s+"` is marked as required in `"+o+"`, but its value is `undefined`."):null}return t(n,i,o,a,s)}var n=e.bind(null,!1)
;return n.isRequired=e.bind(null,!0),n}function a(t){function e(e,n,i,o,a,s){var u=e[n];if(m(u)!==t)return new r("Invalid "+b[o]+" `"+a+"` of type `"+g(u)+"` supplied to `"+i+"`, expected `"+t+"`.");return null}return o(e)}function s(t){function e(e,n,i,o,a){if("function"!=typeof t)return new r("Property `"+a+"` of component `"+i+"` has invalid PropType notation inside arrayOf.");var s=e[n];if(!Array.isArray(s)){
return new r("Invalid "+b[o]+" `"+a+"` of type `"+m(s)+"` supplied to `"+i+"`, expected an array.")}for(var u=0;u<s.length;u++){var c=t(s,u,i,o,a+"["+u+"]",w);if(c instanceof Error)return c}return null}return o(e)}function u(t){function e(e,n,i,o,a){if(!(e[n]instanceof t)){var s=b[o],u=t.name||x;return new r("Invalid "+s+" `"+a+"` of type `"+v(e[n])+"` supplied to `"+i+"`, expected instance of `"+u+"`.")}return null}return o(e)}function c(t){function e(e,n,o,a,s){
for(var u=e[n],c=0;c<t.length;c++)if(i(u,t[c]))return null;return new r("Invalid "+b[a]+" `"+s+"` of value `"+u+"` supplied to `"+o+"`, expected one of "+JSON.stringify(t)+".")}return Array.isArray(t)?o(e):_.thatReturnsNull}function l(t){function e(e,n,i,o,a){if("function"!=typeof t)return new r("Property `"+a+"` of component `"+i+"` has invalid PropType notation inside objectOf.");var s=e[n],u=m(s);if("object"!==u){
return new r("Invalid "+b[o]+" `"+a+"` of type `"+u+"` supplied to `"+i+"`, expected an object.")}for(var c in s)if(s.hasOwnProperty(c)){var l=t(s,c,i,o,a+"."+c,w);if(l instanceof Error)return l}return null}return o(e)}function h(t){function e(e,n,i,o,a){for(var s=0;s<t.length;s++){if(null==(0,t[s])(e,n,i,o,a,w))return null}return new r("Invalid "+b[o]+" `"+a+"` supplied to `"+i+"`.")}return Array.isArray(t)?o(e):_.thatReturnsNull}function f(t){function e(e,n,i,o,a){var s=e[n],u=m(s)
;if("object"!==u){return new r("Invalid "+b[o]+" `"+a+"` of type `"+u+"` supplied to `"+i+"`, expected `object`.")}for(var c in t){var l=t[c];if(l){var h=l(s,c,i,o,a+"."+c,w);if(h)return h}}return null}return o(e)}function d(t){switch(typeof t){case"number":case"string":case"undefined":return!0;case"boolean":return!t;case"object":if(Array.isArray(t))return t.every(d);if(null===t||y.isValidElement(t))return!0;var e=E(t);if(!e)return!1;var n,i=e.call(t);if(e!==t.entries){
for(;!(n=i.next()).done;)if(!d(n.value))return!1}else for(;!(n=i.next()).done;){var r=n.value;if(r&&!d(r[1]))return!1}return!0;default:return!1}}function p(t,e){return"symbol"===t||("Symbol"===e["@@toStringTag"]||"function"==typeof Symbol&&e instanceof Symbol)}function m(t){var e=typeof t;return Array.isArray(t)?"array":t instanceof RegExp?"object":p(e,t)?"symbol":e}function g(t){var e=m(t);if("object"===e){if(t instanceof Date)return"date";if(t instanceof RegExp)return"regexp"}return e}
function v(t){return t.constructor&&t.constructor.name?t.constructor.name:x}var y=n(293),b=n(837),w=n(1723),_=n(140),E=n(836),x=(n(47),"<<anonymous>>"),T={array:a("array"),bool:a("boolean"),func:a("function"),number:a("number"),object:a("object"),string:a("string"),symbol:a("symbol"),any:function(){return o(_.thatReturns(null))}(),arrayOf:s,element:function(){function t(t,e,n,i,o){var a=t[e];if(!y.isValidElement(a)){
return new r("Invalid "+b[i]+" `"+o+"` of type `"+m(a)+"` supplied to `"+n+"`, expected a single ReactElement.")}return null}return o(t)}(),instanceOf:u,node:function(){function t(t,e,n,i,o){if(!d(t[e])){return new r("Invalid "+b[i]+" `"+o+"` supplied to `"+n+"`, expected a ReactNode.")}return null}return o(t)}(),objectOf:l,oneOf:c,oneOfType:h,shape:f};r.prototype=Error.prototype,t.exports=T},1723:function(t,e,n){"use strict";t.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},
1724:function(t,e,n){"use strict";t.exports="15.4.2"},1725:function(t,e,n){"use strict";function i(t){return o.isValidElement(t)||r("143"),t}var r=n(292),o=n(293);n(42);t.exports=i},1726:function(t,e,n){"use strict";var i=n(76),r=n(1727),o=n(869),a=n(296),s=n(170),u=n(1791),c=n(1792),l=n(870),h=n(1793);n(47);r.inject();var f={findDOMNode:c,render:o.render,unmountComponentAtNode:o.unmountComponentAtNode,version:u,unstable_batchedUpdates:s.batchedUpdates,unstable_renderSubtreeIntoContainer:h}
;"undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.inject&&__REACT_DEVTOOLS_GLOBAL_HOOK__.inject({ComponentTree:{getClosestInstanceFromNode:i.getClosestInstanceFromNode,getNodeFromInstance:function(t){return t._renderedComponent&&(t=l(t)),t?i.getNodeFromInstance(t):null}},Mount:o,Reconciler:a});t.exports=f},1727:function(t,e,n){"use strict";function i(){x||(x=!0,y.EventEmitter.injectReactEventListener(v),
y.EventPluginHub.injectEventPluginOrder(s),y.EventPluginUtils.injectComponentTree(f),y.EventPluginUtils.injectTreeTraversal(p),y.EventPluginHub.injectEventPluginsByName({SimpleEventPlugin:E,EnterLeaveEventPlugin:u,ChangeEventPlugin:a,SelectEventPlugin:_,BeforeInputEventPlugin:o}),y.HostComponent.injectGenericComponentClass(h),y.HostComponent.injectTextComponentClass(m),y.DOMProperty.injectDOMPropertyConfig(r),y.DOMProperty.injectDOMPropertyConfig(c),y.DOMProperty.injectDOMPropertyConfig(w),
y.EmptyComponent.injectEmptyComponentFactory(function(t){return new d(t)}),y.Updates.injectReconcileTransaction(b),y.Updates.injectBatchingStrategy(g),y.Component.injectEnvironment(l))}var r=n(1728),o=n(839),a=n(843),s=n(847),u=n(848),c=n(1734),l=n(1735),h=n(1741),f=n(76),d=n(1765),p=n(1766),m=n(1767),g=n(1768),v=n(1769),y=n(864),b=n(1771),w=n(1777),_=n(867),E=n(868),x=!1;t.exports={inject:i}},1728:function(t,e,n){"use strict";var i={Properties:{"aria-current":0,"aria-details":0,
"aria-disabled":0,"aria-hidden":0,"aria-invalid":0,"aria-keyshortcuts":0,"aria-label":0,"aria-roledescription":0,"aria-autocomplete":0,"aria-checked":0,"aria-expanded":0,"aria-haspopup":0,"aria-level":0,"aria-modal":0,"aria-multiline":0,"aria-multiselectable":0,"aria-orientation":0,"aria-placeholder":0,"aria-pressed":0,"aria-readonly":0,"aria-required":0,"aria-selected":0,"aria-sort":0,"aria-valuemax":0,"aria-valuemin":0,"aria-valuenow":0,"aria-valuetext":0,"aria-atomic":0,"aria-busy":0,
"aria-live":0,"aria-relevant":0,"aria-dropeffect":0,"aria-grabbed":0,"aria-activedescendant":0,"aria-colcount":0,"aria-colindex":0,"aria-colspan":0,"aria-controls":0,"aria-describedby":0,"aria-errormessage":0,"aria-flowto":0,"aria-labelledby":0,"aria-owns":0,"aria-posinset":0,"aria-rowcount":0,"aria-rowindex":0,"aria-rowspan":0,"aria-setsize":0},DOMAttributeNames:{},DOMPropertyNames:{}};t.exports=i},1729:function(t,e,n){"use strict";function i(t){this._root=t,this._startText=this.getText(),
this._fallbackText=null}var r=n(68),o=n(246),a=n(842);r(i.prototype,{destructor:function(){this._root=null,this._startText=null,this._fallbackText=null},getText:function(){return"value"in this._root?this._root.value:this._root[a()]},getData:function(){if(this._fallbackText)return this._fallbackText;var t,e,n=this._startText,i=n.length,r=this.getText(),o=r.length;for(t=0;t<i&&n[t]===r[t];t++);var a=i-t;for(e=1;e<=a&&n[i-e]===r[o-e];e++);var s=e>1?1-e:void 0;return this._fallbackText=r.slice(t,s),
this._fallbackText}}),o.addPoolingTo(i),t.exports=i},1730:function(t,e,n){"use strict";function i(t,e,n,i){return r.call(this,t,e,n,i)}var r=n(169),o={data:null};r.augmentClass(i,o),t.exports=i},1731:function(t,e,n){"use strict";function i(t,e,n,i){return r.call(this,t,e,n,i)}var r=n(169),o={data:null};r.augmentClass(i,o),t.exports=i},1732:function(t,e,n){"use strict";function i(t,e,n){"function"==typeof t?t(e.getPublicInstance()):o.addComponentAsRefTo(e,t,n)}function r(t,e,n){
"function"==typeof t?t(null):o.removeComponentAsRefFrom(e,t,n)}var o=n(1733),a={};a.attachRefs=function(t,e){if(null!==e&&"object"==typeof e){var n=e.ref;null!=n&&i(n,t,e._owner)}},a.shouldUpdateRefs=function(t,e){var n=null,i=null;null!==t&&"object"==typeof t&&(n=t.ref,i=t._owner);var r=null,o=null;return null!==e&&"object"==typeof e&&(r=e.ref,o=e._owner),n!==r||"string"==typeof r&&o!==i},a.detachRefs=function(t,e){if(null!==e&&"object"==typeof e){var n=e.ref;null!=n&&r(n,t,e._owner)}},
t.exports=a},1733:function(t,e,n){"use strict";function i(t){return!(!t||"function"!=typeof t.attachRef||"function"!=typeof t.detachRef)}var r=n(54),o=(n(42),{addComponentAsRefTo:function(t,e,n){i(n)||r("119"),n.attachRef(e,t)},removeComponentAsRefFrom:function(t,e,n){i(n)||r("120");var o=n.getPublicInstance();o&&o.refs[e]===t.getPublicInstance()&&n.detachRef(e)}});t.exports=o},1734:function(t,e,n){"use strict"
;var i=n(294),r=i.injection.MUST_USE_PROPERTY,o=i.injection.HAS_BOOLEAN_VALUE,a=i.injection.HAS_NUMERIC_VALUE,s=i.injection.HAS_POSITIVE_NUMERIC_VALUE,u=i.injection.HAS_OVERLOADED_BOOLEAN_VALUE,c={isCustomAttribute:RegExp.prototype.test.bind(new RegExp("^(data|aria)-["+i.ATTRIBUTE_NAME_CHAR+"]*$")),Properties:{accept:0,acceptCharset:0,accessKey:0,action:0,allowFullScreen:o,allowTransparency:0,alt:0,as:0,async:o,autoComplete:0,autoPlay:o,capture:o,cellPadding:0,cellSpacing:0,charSet:0,
challenge:0,checked:r|o,cite:0,classID:0,className:0,cols:s,colSpan:0,content:0,contentEditable:0,contextMenu:0,controls:o,coords:0,crossOrigin:0,data:0,dateTime:0,default:o,defer:o,dir:0,disabled:o,download:u,draggable:0,encType:0,form:0,formAction:0,formEncType:0,formMethod:0,formNoValidate:o,formTarget:0,frameBorder:0,headers:0,height:0,hidden:o,high:0,href:0,hrefLang:0,htmlFor:0,httpEquiv:0,icon:0,id:0,inputMode:0,integrity:0,is:0,keyParams:0,keyType:0,kind:0,label:0,lang:0,list:0,loop:o,
low:0,manifest:0,marginHeight:0,marginWidth:0,max:0,maxLength:0,media:0,mediaGroup:0,method:0,min:0,minLength:0,multiple:r|o,muted:r|o,name:0,nonce:0,noValidate:o,open:o,optimum:0,pattern:0,placeholder:0,playsInline:o,poster:0,preload:0,profile:0,radioGroup:0,readOnly:o,referrerPolicy:0,rel:0,required:o,reversed:o,role:0,rows:s,rowSpan:a,sandbox:0,scope:0,scoped:o,scrolling:0,seamless:o,selected:r|o,shape:0,size:s,sizes:0,span:s,spellCheck:0,src:0,srcDoc:0,srcLang:0,srcSet:0,start:a,step:0,
style:0,summary:0,tabIndex:0,target:0,title:0,type:0,useMap:0,value:0,width:0,wmode:0,wrap:0,about:0,datatype:0,inlist:0,prefix:0,property:0,resource:0,typeof:0,vocab:0,autoCapitalize:0,autoCorrect:0,autoSave:0,color:0,itemProp:0,itemScope:o,itemType:0,itemID:0,itemRef:0,results:0,security:0,unselectable:0},DOMAttributeNames:{acceptCharset:"accept-charset",className:"class",htmlFor:"for",httpEquiv:"http-equiv"},DOMPropertyNames:{}};t.exports=c},1735:function(t,e,n){"use strict"
;var i=n(586),r=n(1740),o={processChildrenUpdates:r.dangerouslyProcessChildrenUpdates,replaceNodeWithMarkup:i.dangerouslyReplaceNodeWithMarkup};t.exports=o},1736:function(t,e,n){"use strict";var i=n(54),r=n(297),o=n(114),a=n(1737),s=n(140),u=(n(42),{dangerouslyReplaceNodeWithMarkup:function(t,e){if(o.canUseDOM||i("56"),e||i("57"),"HTML"===t.nodeName&&i("58"),"string"==typeof e){var n=a(e,s)[0];t.parentNode.replaceChild(n,t)}else r.replaceChildWithTree(t,e)}});t.exports=u},1737:function(t,e,n){
"use strict";function i(t){var e=t.match(l);return e&&e[1].toLowerCase()}function r(t,e){var n=c;c||u(!1);var r=i(t),o=r&&s(r);if(o){n.innerHTML=o[1]+t+o[2];for(var l=o[0];l--;)n=n.lastChild}else n.innerHTML=t;var h=n.getElementsByTagName("script");h.length&&(e||u(!1),a(h).forEach(e));for(var f=Array.from(n.childNodes);n.lastChild;)n.removeChild(n.lastChild);return f}var o=n(114),a=n(1738),s=n(1739),u=n(42),c=o.canUseDOM?document.createElement("div"):null,l=/^\s*<(\w+)/;t.exports=r},
1738:function(t,e,n){"use strict";function i(t){var e=t.length;if((Array.isArray(t)||"object"!=typeof t&&"function"!=typeof t)&&a(!1),"number"!=typeof e&&a(!1),0===e||e-1 in t||a(!1),"function"==typeof t.callee&&a(!1),t.hasOwnProperty)try{return Array.prototype.slice.call(t)}catch(t){}for(var n=Array(e),i=0;i<e;i++)n[i]=t[i];return n}function r(t){
return!!t&&("object"==typeof t||"function"==typeof t)&&"length"in t&&!("setInterval"in t)&&"number"!=typeof t.nodeType&&(Array.isArray(t)||"callee"in t||"item"in t)}function o(t){return r(t)?Array.isArray(t)?t.slice():i(t):[t]}var a=n(42);t.exports=o},1739:function(t,e,n){"use strict";function i(t){return a||o(!1),f.hasOwnProperty(t)||(t="*"),s.hasOwnProperty(t)||(a.innerHTML="*"===t?"<link />":"<"+t+"></"+t+">",s[t]=!a.firstChild),s[t]?f[t]:null}
var r=n(114),o=n(42),a=r.canUseDOM?document.createElement("div"):null,s={},u=[1,'<select multiple="true">',"</select>"],c=[1,"<table>","</table>"],l=[3,"<table><tbody><tr>","</tr></tbody></table>"],h=[1,'<svg xmlns="http://www.w3.org/2000/svg">',"</svg>"],f={"*":[1,"?<div>","</div>"],area:[1,"<map>","</map>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],legend:[1,"<fieldset>","</fieldset>"],param:[1,"<object>","</object>"],tr:[2,"<table><tbody>","</tbody></table>"],
optgroup:u,option:u,caption:c,colgroup:c,tbody:c,tfoot:c,thead:c,td:l,th:l};["circle","clipPath","defs","ellipse","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","text","tspan"].forEach(function(t){f[t]=h,s[t]=!0}),t.exports=i},1740:function(t,e,n){"use strict";var i=n(586),r=n(76),o={dangerouslyProcessChildrenUpdates:function(t,e){var n=r.getNodeFromInstance(t);i.processUpdates(n,e)}};t.exports=o},1741:function(t,e,n){"use strict"
;function i(t){if(t){var e=t._currentElement._owner||null;if(e){var n=e.getName();if(n)return" This DOM node was rendered by `"+n+"`."}}return""}function r(t,e){e&&(K[t._tag]&&(null!=e.children||null!=e.dangerouslySetInnerHTML)&&m("137",t._tag,t._currentElement._owner?" Check the render method of "+t._currentElement._owner.getName()+".":""),null!=e.dangerouslySetInnerHTML&&(null!=e.children&&m("60"),"object"==typeof e.dangerouslySetInnerHTML&&H in e.dangerouslySetInnerHTML||m("61")),
null!=e.style&&"object"!=typeof e.style&&m("62",i(t)))}function o(t,e,n,i){if(!(i instanceof D)){var r=t._hostContainerInfo,o=r._node&&r._node.nodeType===q,s=o?r._node:r._ownerDocument;U(e,s),i.getReactMountReady().enqueue(a,{inst:t,registrationName:e,listener:n})}}function a(){var t=this;x.putListener(t.inst,t.registrationName,t.listener)}function s(){var t=this;M.postMountWrapper(t)}function u(){var t=this;I.postMountWrapper(t)}function c(){var t=this;P.postMountWrapper(t)}function l(){
var t=this;t._rootNodeID||m("63");var e=j(t);switch(e||m("64"),t._tag){case"iframe":case"object":t._wrapperState.listeners=[C.trapBubbledEvent("topLoad","load",e)];break;case"video":case"audio":t._wrapperState.listeners=[];for(var n in W)W.hasOwnProperty(n)&&t._wrapperState.listeners.push(C.trapBubbledEvent(n,W[n],e));break;case"source":t._wrapperState.listeners=[C.trapBubbledEvent("topError","error",e)];break;case"img":
t._wrapperState.listeners=[C.trapBubbledEvent("topError","error",e),C.trapBubbledEvent("topLoad","load",e)];break;case"form":t._wrapperState.listeners=[C.trapBubbledEvent("topReset","reset",e),C.trapBubbledEvent("topSubmit","submit",e)];break;case"input":case"select":case"textarea":t._wrapperState.listeners=[C.trapBubbledEvent("topInvalid","invalid",e)]}}function h(){N.postUpdateWrapper(this)}function f(t){X.call(G,t)||($.test(t)||m("65",t),G[t]=!0)}function d(t,e){
return t.indexOf("-")>=0||null!=e.is}function p(t){var e=t.type;f(e),this._currentElement=t,this._tag=e.toLowerCase(),this._namespaceURI=null,this._renderedChildren=null,this._previousStyle=null,this._previousStyleCopy=null,this._hostNode=null,this._hostParent=null,this._rootNodeID=0,this._domID=0,this._hostContainerInfo=null,this._wrapperState=null,this._topLevelWrapper=null,this._flags=0}
var m=n(54),g=n(68),v=n(1742),y=n(852),b=n(297),w=n(587),_=n(294),E=n(854),x=n(359),T=n(424),C=n(429),S=n(838),k=n(76),M=n(1752),P=n(1754),N=n(855),I=n(1755),A=(n(151),n(1756)),D=n(1763),O=(n(140),n(428)),R=(n(42),n(584),n(591),n(595),n(47),S),L=x.deleteListener,j=k.getNodeFromInstance,U=C.listenTo,F=T.registrationNameModules,B={string:!0,number:!0},H="__html",V={children:null,dangerouslySetInnerHTML:null,suppressContentEditableWarning:null},q=11,W={topAbort:"abort",topCanPlay:"canplay",
topCanPlayThrough:"canplaythrough",topDurationChange:"durationchange",topEmptied:"emptied",topEncrypted:"encrypted",topEnded:"ended",topError:"error",topLoadedData:"loadeddata",topLoadedMetadata:"loadedmetadata",topLoadStart:"loadstart",topPause:"pause",topPlay:"play",topPlaying:"playing",topProgress:"progress",topRateChange:"ratechange",topSeeked:"seeked",topSeeking:"seeking",topStalled:"stalled",topSuspend:"suspend",topTimeUpdate:"timeupdate",topVolumeChange:"volumechange",topWaiting:"waiting"
},z={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0},Y={listing:!0,pre:!0,textarea:!0},K=g({menuitem:!0},z),$=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,G={},X={}.hasOwnProperty,J=1;p.displayName="ReactDOMComponent",p.Mixin={mountComponent:function(t,e,n,i){this._rootNodeID=J++,this._domID=n._idCounter++,this._hostParent=e,this._hostContainerInfo=n;var o=this._currentElement.props;switch(this._tag){case"audio":case"form":case"iframe":
case"img":case"link":case"object":case"source":case"video":this._wrapperState={listeners:null},t.getReactMountReady().enqueue(l,this);break;case"input":M.mountWrapper(this,o,e),o=M.getHostProps(this,o),t.getReactMountReady().enqueue(l,this);break;case"option":P.mountWrapper(this,o,e),o=P.getHostProps(this,o);break;case"select":N.mountWrapper(this,o,e),o=N.getHostProps(this,o),t.getReactMountReady().enqueue(l,this);break;case"textarea":I.mountWrapper(this,o,e),o=I.getHostProps(this,o),
t.getReactMountReady().enqueue(l,this)}r(this,o);var a,h;null!=e?(a=e._namespaceURI,h=e._tag):n._tag&&(a=n._namespaceURI,h=n._tag),(null==a||a===w.svg&&"foreignobject"===h)&&(a=w.html),a===w.html&&("svg"===this._tag?a=w.svg:"math"===this._tag&&(a=w.mathml)),this._namespaceURI=a;var f;if(t.useCreateElement){var d,p=n._ownerDocument;if(a===w.html)if("script"===this._tag){var m=p.createElement("div"),g=this._currentElement.type;m.innerHTML="<"+g+"></"+g+">",d=m.removeChild(m.firstChild)
}else d=o.is?p.createElement(this._currentElement.type,o.is):p.createElement(this._currentElement.type);else d=p.createElementNS(a,this._currentElement.type);k.precacheNode(this,d),this._flags|=R.hasCachedChildNodes,this._hostParent||E.setAttributeForRoot(d),this._updateDOMProperties(null,o,t);var y=b(d);this._createInitialChildren(t,o,i,y),f=y}else{var _=this._createOpenTagMarkupAndPutListeners(t,o),x=this._createContentMarkup(t,o,i)
;f=!x&&z[this._tag]?_+"/>":_+">"+x+"</"+this._currentElement.type+">"}switch(this._tag){case"input":t.getReactMountReady().enqueue(s,this),o.autoFocus&&t.getReactMountReady().enqueue(v.focusDOMComponent,this);break;case"textarea":t.getReactMountReady().enqueue(u,this),o.autoFocus&&t.getReactMountReady().enqueue(v.focusDOMComponent,this);break;case"select":case"button":o.autoFocus&&t.getReactMountReady().enqueue(v.focusDOMComponent,this);break;case"option":t.getReactMountReady().enqueue(c,this)}
return f},_createOpenTagMarkupAndPutListeners:function(t,e){var n="<"+this._currentElement.type;for(var i in e)if(e.hasOwnProperty(i)){var r=e[i];if(null!=r)if(F.hasOwnProperty(i))r&&o(this,i,r,t);else{"style"===i&&(r&&(r=this._previousStyleCopy=g({},e.style)),r=y.createMarkupForStyles(r,this));var a=null;null!=this._tag&&d(this._tag,e)?V.hasOwnProperty(i)||(a=E.createMarkupForCustomAttribute(i,r)):a=E.createMarkupForProperty(i,r),a&&(n+=" "+a)}}
return t.renderToStaticMarkup?n:(this._hostParent||(n+=" "+E.createMarkupForRoot()),n+=" "+E.createMarkupForID(this._domID))},_createContentMarkup:function(t,e,n){var i="",r=e.dangerouslySetInnerHTML;if(null!=r)null!=r.__html&&(i=r.__html);else{var o=B[typeof e.children]?e.children:null,a=null!=o?null:e.children;if(null!=o)i=O(o);else if(null!=a){var s=this.mountChildren(a,t,n);i=s.join("")}}return Y[this._tag]&&"\n"===i.charAt(0)?"\n"+i:i},_createInitialChildren:function(t,e,n,i){
var r=e.dangerouslySetInnerHTML;if(null!=r)null!=r.__html&&b.queueHTML(i,r.__html);else{var o=B[typeof e.children]?e.children:null,a=null!=o?null:e.children;if(null!=o)""!==o&&b.queueText(i,o);else if(null!=a)for(var s=this.mountChildren(a,t,n),u=0;u<s.length;u++)b.queueChild(i,s[u])}},receiveComponent:function(t,e,n){var i=this._currentElement;this._currentElement=t,this.updateComponent(e,i,t,n)},updateComponent:function(t,e,n,i){var o=e.props,a=this._currentElement.props;switch(this._tag){
case"input":o=M.getHostProps(this,o),a=M.getHostProps(this,a);break;case"option":o=P.getHostProps(this,o),a=P.getHostProps(this,a);break;case"select":o=N.getHostProps(this,o),a=N.getHostProps(this,a);break;case"textarea":o=I.getHostProps(this,o),a=I.getHostProps(this,a)}switch(r(this,a),this._updateDOMProperties(o,a,t),this._updateDOMChildren(o,a,t,i),this._tag){case"input":M.updateWrapper(this);break;case"textarea":I.updateWrapper(this);break;case"select":t.getReactMountReady().enqueue(h,this)}
},_updateDOMProperties:function(t,e,n){var i,r,a;for(i in t)if(!e.hasOwnProperty(i)&&t.hasOwnProperty(i)&&null!=t[i])if("style"===i){var s=this._previousStyleCopy;for(r in s)s.hasOwnProperty(r)&&(a=a||{},a[r]="");this._previousStyleCopy=null}else F.hasOwnProperty(i)?t[i]&&L(this,i):d(this._tag,t)?V.hasOwnProperty(i)||E.deleteValueForAttribute(j(this),i):(_.properties[i]||_.isCustomAttribute(i))&&E.deleteValueForProperty(j(this),i);for(i in e){
var u=e[i],c="style"===i?this._previousStyleCopy:null!=t?t[i]:void 0;if(e.hasOwnProperty(i)&&u!==c&&(null!=u||null!=c))if("style"===i)if(u?u=this._previousStyleCopy=g({},u):this._previousStyleCopy=null,c){for(r in c)!c.hasOwnProperty(r)||u&&u.hasOwnProperty(r)||(a=a||{},a[r]="");for(r in u)u.hasOwnProperty(r)&&c[r]!==u[r]&&(a=a||{},a[r]=u[r])
}else a=u;else if(F.hasOwnProperty(i))u?o(this,i,u,n):c&&L(this,i);else if(d(this._tag,e))V.hasOwnProperty(i)||E.setValueForAttribute(j(this),i,u);else if(_.properties[i]||_.isCustomAttribute(i)){var l=j(this);null!=u?E.setValueForProperty(l,i,u):E.deleteValueForProperty(l,i)}}a&&y.setValueForStyles(j(this),a,this)},_updateDOMChildren:function(t,e,n,i){
var r=B[typeof t.children]?t.children:null,o=B[typeof e.children]?e.children:null,a=t.dangerouslySetInnerHTML&&t.dangerouslySetInnerHTML.__html,s=e.dangerouslySetInnerHTML&&e.dangerouslySetInnerHTML.__html,u=null!=r?null:t.children,c=null!=o?null:e.children,l=null!=r||null!=a,h=null!=o||null!=s;null!=u&&null==c?this.updateChildren(null,n,i):l&&!h&&this.updateTextContent(""),null!=o?r!==o&&this.updateTextContent(""+o):null!=s?a!==s&&this.updateMarkup(""+s):null!=c&&this.updateChildren(c,n,i)},
getHostNode:function(){return j(this)},unmountComponent:function(t){switch(this._tag){case"audio":case"form":case"iframe":case"img":case"link":case"object":case"source":case"video":var e=this._wrapperState.listeners;if(e)for(var n=0;n<e.length;n++)e[n].remove();break;case"html":case"head":case"body":m("66",this._tag)}this.unmountChildren(t),k.uncacheNode(this),x.deleteAllListeners(this),this._rootNodeID=0,this._domID=0,this._wrapperState=null},getPublicInstance:function(){return j(this)}},
g(p.prototype,p.Mixin,A.Mixin),t.exports=p},1742:function(t,e,n){"use strict";var i=n(76),r=n(851),o={focusDOMComponent:function(){r(i.getNodeFromInstance(this))}};t.exports=o},1743:function(t,e,n){"use strict";function i(t){return r(t.replace(o,"ms-"))}var r=n(1744),o=/^-ms-/;t.exports=i},1744:function(t,e,n){"use strict";function i(t){return t.replace(r,function(t,e){return e.toUpperCase()})}var r=/-(.)/g;t.exports=i},1745:function(t,e,n){"use strict";function i(t,e,n){
if(null==e||"boolean"==typeof e||""===e)return"";if(isNaN(e)||0===e||o.hasOwnProperty(t)&&o[t])return""+e;if("string"==typeof e){e=e.trim()}return e+"px"}var r=n(853),o=(n(47),r.isUnitlessNumber);t.exports=i},1746:function(t,e,n){"use strict";function i(t){return r(t).replace(o,"-ms-")}var r=n(1747),o=/^ms-/;t.exports=i},1747:function(t,e,n){"use strict";function i(t){return t.replace(r,"-$1").toLowerCase()}var r=/([A-Z])/g;t.exports=i},1748:function(t,e,n){"use strict";function i(t){var e={}
;return function(n){return e.hasOwnProperty(n)||(e[n]=t.call(this,n)),e[n]}}t.exports=i},1749:function(t,e,n){"use strict";function i(t){return'"'+r(t)+'"'}var r=n(428);t.exports=i},1750:function(t,e,n){"use strict";function i(t){r.enqueueEvents(t),r.processEventQueue(!1)}var r=n(359),o={handleTopLevel:function(t,e,n,o){i(r.extractEvents(t,e,n,o))}};t.exports=o},1751:function(t,e,n){"use strict";function i(t,e){var n={};return n[t.toLowerCase()]=e.toLowerCase(),n["Webkit"+t]="webkit"+e,
n["Moz"+t]="moz"+e,n["ms"+t]="MS"+e,n["O"+t]="o"+e.toLowerCase(),n}function r(t){if(s[t])return s[t];if(!a[t])return t;var e=a[t];for(var n in e)if(e.hasOwnProperty(n)&&n in u)return s[t]=e[n];return""}var o=n(114),a={animationend:i("Animation","AnimationEnd"),animationiteration:i("Animation","AnimationIteration"),animationstart:i("Animation","AnimationStart"),transitionend:i("Transition","TransitionEnd")},s={},u={};o.canUseDOM&&(u=document.createElement("div").style,
"AnimationEvent"in window||(delete a.animationend.animation,delete a.animationiteration.animation,delete a.animationstart.animation),"TransitionEvent"in window||delete a.transitionend.transition),t.exports=r},1752:function(t,e,n){"use strict";function i(){this._rootNodeID&&h.updateWrapper(this)}function r(t){var e=this._currentElement.props,n=u.executeOnChange(e,t);l.asap(i,this);var r=e.name;if("radio"===e.type&&null!=r){for(var a=c.getNodeFromInstance(this),s=a;s.parentNode;)s=s.parentNode
;for(var h=s.querySelectorAll("input[name="+JSON.stringify(""+r)+'][type="radio"]'),f=0;f<h.length;f++){var d=h[f];if(d!==a&&d.form===a.form){var p=c.getInstanceFromNode(d);p||o("90"),l.asap(i,p)}}}return n}var o=n(54),a=n(68),s=n(854),u=n(589),c=n(76),l=n(170),h=(n(42),n(47),{getHostProps:function(t,e){var n=u.getValue(e),i=u.getChecked(e);return a({type:void 0,step:void 0,min:void 0,max:void 0},e,{defaultChecked:void 0,defaultValue:void 0,value:null!=n?n:t._wrapperState.initialValue,
checked:null!=i?i:t._wrapperState.initialChecked,onChange:t._wrapperState.onChange})},mountWrapper:function(t,e){var n=e.defaultValue;t._wrapperState={initialChecked:null!=e.checked?e.checked:e.defaultChecked,initialValue:null!=e.value?e.value:n,listeners:null,onChange:r.bind(t)}},updateWrapper:function(t){var e=t._currentElement.props,n=e.checked;null!=n&&s.setValueForProperty(c.getNodeFromInstance(t),"checked",n||!1);var i=c.getNodeFromInstance(t),r=u.getValue(e);if(null!=r){var o=""+r
;o!==i.value&&(i.value=o)}else null==e.value&&null!=e.defaultValue&&i.defaultValue!==""+e.defaultValue&&(i.defaultValue=""+e.defaultValue),null==e.checked&&null!=e.defaultChecked&&(i.defaultChecked=!!e.defaultChecked)},postMountWrapper:function(t){var e=t._currentElement.props,n=c.getNodeFromInstance(t);switch(e.type){case"submit":case"reset":break;case"color":case"date":case"datetime":case"datetime-local":case"month":case"time":case"week":n.value="",n.value=n.defaultValue;break;default:
n.value=n.value}var i=n.name;""!==i&&(n.name=""),n.defaultChecked=!n.defaultChecked,n.defaultChecked=!n.defaultChecked,""!==i&&(n.name=i)}});t.exports=h},1753:function(t,e,n){"use strict";t.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},1754:function(t,e,n){"use strict";function i(t){var e="";return o.Children.forEach(t,function(t){null!=t&&("string"==typeof t||"number"==typeof t?e+=t:u||(u=!0))}),e}var r=n(68),o=n(291),a=n(76),s=n(855),u=(n(47),!1),c={mountWrapper:function(t,e,n){
var r=null;if(null!=n){var o=n;"optgroup"===o._tag&&(o=o._hostParent),null!=o&&"select"===o._tag&&(r=s.getSelectValueContext(o))}var a=null;if(null!=r){var u;if(u=null!=e.value?e.value+"":i(e.children),a=!1,Array.isArray(r)){for(var c=0;c<r.length;c++)if(""+r[c]===u){a=!0;break}}else a=""+r===u}t._wrapperState={selected:a}},postMountWrapper:function(t){var e=t._currentElement.props;if(null!=e.value){a.getNodeFromInstance(t).setAttribute("value",e.value)}},getHostProps:function(t,e){var n=r({
selected:void 0,children:void 0},e);null!=t._wrapperState.selected&&(n.selected=t._wrapperState.selected);var o=i(e.children);return o&&(n.children=o),n}};t.exports=c},1755:function(t,e,n){"use strict";function i(){this._rootNodeID&&l.updateWrapper(this)}function r(t){var e=this._currentElement.props,n=s.executeOnChange(e,t);return c.asap(i,this),n}var o=n(54),a=n(68),s=n(589),u=n(76),c=n(170),l=(n(42),n(47),{getHostProps:function(t,e){return null!=e.dangerouslySetInnerHTML&&o("91"),a({},e,{
value:void 0,defaultValue:void 0,children:""+t._wrapperState.initialValue,onChange:t._wrapperState.onChange})},mountWrapper:function(t,e){var n=s.getValue(e),i=n;if(null==n){var a=e.defaultValue,u=e.children;null!=u&&(null!=a&&o("92"),Array.isArray(u)&&(u.length<=1||o("93"),u=u[0]),a=""+u),null==a&&(a=""),i=a}t._wrapperState={initialValue:""+i,listeners:null,onChange:r.bind(t)}},updateWrapper:function(t){var e=t._currentElement.props,n=u.getNodeFromInstance(t),i=s.getValue(e);if(null!=i){
var r=""+i;r!==n.value&&(n.value=r),null==e.defaultValue&&(n.defaultValue=r)}null!=e.defaultValue&&(n.defaultValue=e.defaultValue)},postMountWrapper:function(t){var e=u.getNodeFromInstance(t),n=e.textContent;n===t._wrapperState.initialValue&&(e.value=n)}});t.exports=l},1756:function(t,e,n){"use strict";function i(t,e,n){return{type:"INSERT_MARKUP",content:t,fromIndex:null,fromNode:null,toIndex:n,afterNode:e}}function r(t,e,n){return{type:"MOVE_EXISTING",content:null,fromIndex:t._mountIndex,
fromNode:f.getHostNode(t),toIndex:n,afterNode:e}}function o(t,e){return{type:"REMOVE_NODE",content:null,fromIndex:t._mountIndex,fromNode:e,toIndex:null,afterNode:null}}function a(t){return{type:"SET_MARKUP",content:t,fromIndex:null,fromNode:null,toIndex:null,afterNode:null}}function s(t){return{type:"TEXT_CONTENT",content:t,fromIndex:null,fromNode:null,toIndex:null,afterNode:null}}function u(t,e){return e&&(t=t||[],t.push(e)),t}function c(t,e){h.processChildrenUpdates(t,e)}
var l=n(54),h=n(590),f=(n(361),n(151),n(180),n(296)),d=n(1757),p=(n(140),n(1762)),m=(n(42),{Mixin:{_reconcilerInstantiateChildren:function(t,e,n){return d.instantiateChildren(t,e,n)},_reconcilerUpdateChildren:function(t,e,n,i,r,o){var a,s=0;return a=p(e,s),d.updateChildren(t,a,n,i,r,this,this._hostContainerInfo,o,s),a},mountChildren:function(t,e,n){var i=this._reconcilerInstantiateChildren(t,e,n);this._renderedChildren=i;var r=[],o=0;for(var a in i)if(i.hasOwnProperty(a)){
var s=i[a],u=0,c=f.mountComponent(s,e,this,this._hostContainerInfo,n,u);s._mountIndex=o++,r.push(c)}return r},updateTextContent:function(t){var e=this._renderedChildren;d.unmountChildren(e,!1);for(var n in e)e.hasOwnProperty(n)&&l("118");c(this,[s(t)])},updateMarkup:function(t){var e=this._renderedChildren;d.unmountChildren(e,!1);for(var n in e)e.hasOwnProperty(n)&&l("118");c(this,[a(t)])},updateChildren:function(t,e,n){this._updateChildren(t,e,n)},_updateChildren:function(t,e,n){
var i=this._renderedChildren,r={},o=[],a=this._reconcilerUpdateChildren(i,t,o,r,e,n);if(a||i){var s,l=null,h=0,d=0,p=0,m=null;for(s in a)if(a.hasOwnProperty(s)){var g=i&&i[s],v=a[s];g===v?(l=u(l,this.moveChild(g,m,h,d)),d=Math.max(g._mountIndex,d),g._mountIndex=h):(g&&(d=Math.max(g._mountIndex,d)),l=u(l,this._mountChildAtIndex(v,o[p],m,h,e,n)),p++),h++,m=f.getHostNode(v)}for(s in r)r.hasOwnProperty(s)&&(l=u(l,this._unmountChild(i[s],r[s])));l&&c(this,l),this._renderedChildren=a}},
unmountChildren:function(t){var e=this._renderedChildren;d.unmountChildren(e,t),this._renderedChildren=null},moveChild:function(t,e,n,i){if(t._mountIndex<i)return r(t,e,n)},createChild:function(t,e,n){return i(n,e,t._mountIndex)},removeChild:function(t,e){return o(t,e)},_mountChildAtIndex:function(t,e,n,i,r,o){return t._mountIndex=i,this.createChild(t,n,e)},_unmountChild:function(t,e){var n=this.removeChild(t,e);return t._mountIndex=null,n}}});t.exports=m},1757:function(t,e,n){"use strict"
;(function(e){function i(t,e,n,i){var r=void 0===t[n];null!=e&&r&&(t[n]=o(e,!0))}var r=n(296),o=n(857),a=(n(593),n(592)),s=n(861);n(47);void 0!==e&&Object({NODE_ENV:"production"});var u={instantiateChildren:function(t,e,n,r){if(null==t)return null;var o={};return s(t,i,o),o},updateChildren:function(t,e,n,i,s,u,c,l,h){if(e||t){var f,d;for(f in e)if(e.hasOwnProperty(f)){d=t&&t[f];var p=d&&d._currentElement,m=e[f];if(null!=d&&a(p,m))r.receiveComponent(d,m,s,l),e[f]=d;else{d&&(i[f]=r.getHostNode(d),
r.unmountComponent(d,!1));var g=o(m,!0);e[f]=g;var v=r.mountComponent(g,s,u,c,l,h);n.push(v)}}for(f in t)!t.hasOwnProperty(f)||e&&e.hasOwnProperty(f)||(d=t[f],i[f]=r.getHostNode(d),r.unmountComponent(d,!1))}},unmountChildren:function(t,e){for(var n in t)if(t.hasOwnProperty(n)){var i=t[n];r.unmountComponent(i,e)}}};t.exports=u}).call(e,n(856))},1758:function(t,e,n){"use strict";function i(t){}function r(t){return!(!t.prototype||!t.prototype.isReactComponent)}function o(t){
return!(!t.prototype||!t.prototype.isPureReactComponent)}var a=n(54),s=n(68),u=n(291),c=n(590),l=n(180),h=n(582),f=n(361),d=(n(151),n(858)),p=n(296),m=n(358),g=(n(42),n(591)),v=n(592),y=(n(47),{ImpureClass:0,PureClass:1,StatelessFunctional:2});i.prototype.render=function(){var t=f.get(this)._currentElement.type,e=t(this.props,this.context,this.updater);return e};var b=1,w={construct:function(t){this._currentElement=t,this._rootNodeID=0,this._compositeType=null,this._instance=null,
this._hostParent=null,this._hostContainerInfo=null,this._updateBatchNumber=null,this._pendingElement=null,this._pendingStateQueue=null,this._pendingReplaceState=!1,this._pendingForceUpdate=!1,this._renderedNodeType=null,this._renderedComponent=null,this._context=null,this._mountOrder=0,this._topLevelWrapper=null,this._pendingCallbacks=null,this._calledComponentWillUnmount=!1},mountComponent:function(t,e,n,s){this._context=s,this._mountOrder=b++,this._hostParent=e,this._hostContainerInfo=n
;var c,l=this._currentElement.props,h=this._processContext(s),d=this._currentElement.type,p=t.getUpdateQueue(),g=r(d),v=this._constructComponent(g,l,h,p);g||null!=v&&null!=v.render?o(d)?this._compositeType=y.PureClass:this._compositeType=y.ImpureClass:(c=v,null===v||!1===v||u.isValidElement(v)||a("105",d.displayName||d.name||"Component"),v=new i(d),this._compositeType=y.StatelessFunctional);v.props=l,v.context=h,v.refs=m,v.updater=p,this._instance=v,f.set(v,this);var w=v.state
;void 0===w&&(v.state=w=null),("object"!=typeof w||Array.isArray(w))&&a("106",this.getName()||"ReactCompositeComponent"),this._pendingStateQueue=null,this._pendingReplaceState=!1,this._pendingForceUpdate=!1;var _;return _=v.unstable_handleError?this.performInitialMountWithErrorHandling(c,e,n,t,s):this.performInitialMount(c,e,n,t,s),v.componentDidMount&&t.getReactMountReady().enqueue(v.componentDidMount,v),_},_constructComponent:function(t,e,n,i){
return this._constructComponentWithoutOwner(t,e,n,i)},_constructComponentWithoutOwner:function(t,e,n,i){var r=this._currentElement.type;return t?new r(e,n,i):r(e,n,i)},performInitialMountWithErrorHandling:function(t,e,n,i,r){var o,a=i.checkpoint();try{o=this.performInitialMount(t,e,n,i,r)}catch(s){i.rollback(a),this._instance.unstable_handleError(s),this._pendingStateQueue&&(this._instance.state=this._processPendingState(this._instance.props,this._instance.context)),a=i.checkpoint(),
this._renderedComponent.unmountComponent(!0),i.rollback(a),o=this.performInitialMount(t,e,n,i,r)}return o},performInitialMount:function(t,e,n,i,r){var o=this._instance,a=0;o.componentWillMount&&(o.componentWillMount(),this._pendingStateQueue&&(o.state=this._processPendingState(o.props,o.context))),void 0===t&&(t=this._renderValidatedComponent());var s=d.getType(t);this._renderedNodeType=s;var u=this._instantiateReactComponent(t,s!==d.EMPTY);this._renderedComponent=u
;var c=p.mountComponent(u,i,e,n,this._processChildContext(r),a);return c},getHostNode:function(){return p.getHostNode(this._renderedComponent)},unmountComponent:function(t){if(this._renderedComponent){var e=this._instance;if(e.componentWillUnmount&&!e._calledComponentWillUnmount)if(e._calledComponentWillUnmount=!0,t){var n=this.getName()+".componentWillUnmount()";h.invokeGuardedCallback(n,e.componentWillUnmount.bind(e))}else e.componentWillUnmount()
;this._renderedComponent&&(p.unmountComponent(this._renderedComponent,t),this._renderedNodeType=null,this._renderedComponent=null,this._instance=null),this._pendingStateQueue=null,this._pendingReplaceState=!1,this._pendingForceUpdate=!1,this._pendingCallbacks=null,this._pendingElement=null,this._context=null,this._rootNodeID=0,this._topLevelWrapper=null,f.remove(e)}},_maskContext:function(t){var e=this._currentElement.type,n=e.contextTypes;if(!n)return m;var i={};for(var r in n)i[r]=t[r]
;return i},_processContext:function(t){var e=this._maskContext(t);return e},_processChildContext:function(t){var e,n=this._currentElement.type,i=this._instance;if(i.getChildContext&&(e=i.getChildContext()),e){"object"!=typeof n.childContextTypes&&a("107",this.getName()||"ReactCompositeComponent");for(var r in e)r in n.childContextTypes||a("108",this.getName()||"ReactCompositeComponent",r);return s({},t,e)}return t},_checkContextTypes:function(t,e,n){},receiveComponent:function(t,e,n){
var i=this._currentElement,r=this._context;this._pendingElement=null,this.updateComponent(e,i,t,r,n)},performUpdateIfNecessary:function(t){null!=this._pendingElement?p.receiveComponent(this,this._pendingElement,t,this._context):null!==this._pendingStateQueue||this._pendingForceUpdate?this.updateComponent(t,this._currentElement,this._currentElement,this._context,this._context):this._updateBatchNumber=null},updateComponent:function(t,e,n,i,r){var o=this._instance
;null==o&&a("136",this.getName()||"ReactCompositeComponent");var s,u=!1;this._context===r?s=o.context:(s=this._processContext(r),u=!0);var c=e.props,l=n.props;e!==n&&(u=!0),u&&o.componentWillReceiveProps&&o.componentWillReceiveProps(l,s);var h=this._processPendingState(l,s),f=!0;this._pendingForceUpdate||(o.shouldComponentUpdate?f=o.shouldComponentUpdate(l,h,s):this._compositeType===y.PureClass&&(f=!g(c,l)||!g(o.state,h))),this._updateBatchNumber=null,f?(this._pendingForceUpdate=!1,
this._performComponentUpdate(n,l,h,s,t,r)):(this._currentElement=n,this._context=r,o.props=l,o.state=h,o.context=s)},_processPendingState:function(t,e){var n=this._instance,i=this._pendingStateQueue,r=this._pendingReplaceState;if(this._pendingReplaceState=!1,this._pendingStateQueue=null,!i)return n.state;if(r&&1===i.length)return i[0];for(var o=s({},r?i[0]:n.state),a=r?1:0;a<i.length;a++){var u=i[a];s(o,"function"==typeof u?u.call(n,o,t,e):u)}return o},
_performComponentUpdate:function(t,e,n,i,r,o){var a,s,u,c=this._instance,l=Boolean(c.componentDidUpdate);l&&(a=c.props,s=c.state,u=c.context),c.componentWillUpdate&&c.componentWillUpdate(e,n,i),this._currentElement=t,this._context=o,c.props=e,c.state=n,c.context=i,this._updateRenderedComponent(r,o),l&&r.getReactMountReady().enqueue(c.componentDidUpdate.bind(c,a,s,u),c)},_updateRenderedComponent:function(t,e){var n=this._renderedComponent,i=n._currentElement,r=this._renderValidatedComponent(),o=0
;if(v(i,r))p.receiveComponent(n,r,t,this._processChildContext(e));else{var a=p.getHostNode(n);p.unmountComponent(n,!1);var s=d.getType(r);this._renderedNodeType=s;var u=this._instantiateReactComponent(r,s!==d.EMPTY);this._renderedComponent=u;var c=p.mountComponent(u,t,this._hostParent,this._hostContainerInfo,this._processChildContext(e),o);this._replaceNodeWithMarkup(a,c,n)}},_replaceNodeWithMarkup:function(t,e,n){c.replaceNodeWithMarkup(t,e,n)},
_renderValidatedComponentWithoutOwnerOrContext:function(){var t=this._instance;return t.render()},_renderValidatedComponent:function(){var t;if(this._compositeType!==y.StatelessFunctional){l.current=this;try{t=this._renderValidatedComponentWithoutOwnerOrContext()}finally{l.current=null}}else t=this._renderValidatedComponentWithoutOwnerOrContext();return null===t||!1===t||u.isValidElement(t)||a("109",this.getName()||"ReactCompositeComponent"),t},attachRef:function(t,e){
var n=this.getPublicInstance();null==n&&a("110");var i=e.getPublicInstance();(n.refs===m?n.refs={}:n.refs)[t]=i},detachRef:function(t){delete this.getPublicInstance().refs[t]},getName:function(){var t=this._currentElement.type,e=this._instance&&this._instance.constructor;return t.displayName||e&&e.displayName||t.name||e&&e.name||null},getPublicInstance:function(){var t=this._instance;return this._compositeType===y.StatelessFunctional?null:t},_instantiateReactComponent:null};t.exports=w},
1759:function(t,e,n){"use strict";function i(){return r++}var r=1;t.exports=i},1760:function(t,e,n){"use strict";var i="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;t.exports=i},1761:function(t,e,n){"use strict";function i(t){var e=t&&(r&&t[r]||t[o]);if("function"==typeof e)return e}var r="function"==typeof Symbol&&Symbol.iterator,o="@@iterator";t.exports=i},1762:function(t,e,n){"use strict";(function(e){function i(t,e,n,i){if(t&&"object"==typeof t){
var r=t,o=void 0===r[n];o&&null!=e&&(r[n]=e)}}function r(t,e){if(null==t)return t;var n={};return o(t,i,n),n}var o=(n(593),n(861));n(47);void 0!==e&&Object({NODE_ENV:"production"}),t.exports=r}).call(e,n(856))},1763:function(t,e,n){"use strict";function i(t){this.reinitializeTransaction(),this.renderToStaticMarkup=t,this.useCreateElement=!1,this.updateQueue=new s(this)}var r=n(68),o=n(246),a=n(425),s=(n(151),n(1764)),u=[],c={enqueue:function(){}},l={getTransactionWrappers:function(){return u},
getReactMountReady:function(){return c},getUpdateQueue:function(){return this.updateQueue},destructor:function(){},checkpoint:function(){},rollback:function(){}};r(i.prototype,a,l),o.addPoolingTo(i),t.exports=i},1764:function(t,e,n){"use strict";function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var r=n(594),o=(n(47),function(){function t(e){i(this,t),this.transaction=e}return t.prototype.isMounted=function(t){return!1},
t.prototype.enqueueCallback=function(t,e,n){this.transaction.isInTransaction()&&r.enqueueCallback(t,e,n)},t.prototype.enqueueForceUpdate=function(t){this.transaction.isInTransaction()&&r.enqueueForceUpdate(t)},t.prototype.enqueueReplaceState=function(t,e){this.transaction.isInTransaction()&&r.enqueueReplaceState(t,e)},t.prototype.enqueueSetState=function(t,e){this.transaction.isInTransaction()&&r.enqueueSetState(t,e)},t}());t.exports=o},1765:function(t,e,n){"use strict"
;var i=n(68),r=n(297),o=n(76),a=function(t){this._currentElement=null,this._hostNode=null,this._hostParent=null,this._hostContainerInfo=null,this._domID=0};i(a.prototype,{mountComponent:function(t,e,n,i){var a=n._idCounter++;this._domID=a,this._hostParent=e,this._hostContainerInfo=n;var s=" react-empty: "+this._domID+" ";if(t.useCreateElement){var u=n._ownerDocument,c=u.createComment(s);return o.precacheNode(this,c),r(c)}return t.renderToStaticMarkup?"":"\x3c!--"+s+"--\x3e"},
receiveComponent:function(){},getHostNode:function(){return o.getNodeFromInstance(this)},unmountComponent:function(){o.uncacheNode(this)}}),t.exports=a},1766:function(t,e,n){"use strict";function i(t,e){"_hostNode"in t||u("33"),"_hostNode"in e||u("33");for(var n=0,i=t;i;i=i._hostParent)n++;for(var r=0,o=e;o;o=o._hostParent)r++;for(;n-r>0;)t=t._hostParent,n--;for(;r-n>0;)e=e._hostParent,r--;for(var a=n;a--;){if(t===e)return t;t=t._hostParent,e=e._hostParent}return null}function r(t,e){
"_hostNode"in t||u("35"),"_hostNode"in e||u("35");for(;e;){if(e===t)return!0;e=e._hostParent}return!1}function o(t){return"_hostNode"in t||u("36"),t._hostParent}function a(t,e,n){for(var i=[];t;)i.push(t),t=t._hostParent;var r;for(r=i.length;r-- >0;)e(i[r],"captured",n);for(r=0;r<i.length;r++)e(i[r],"bubbled",n)}function s(t,e,n,r,o){for(var a=t&&e?i(t,e):null,s=[];t&&t!==a;)s.push(t),t=t._hostParent;for(var u=[];e&&e!==a;)u.push(e),e=e._hostParent;var c
;for(c=0;c<s.length;c++)n(s[c],"bubbled",r);for(c=u.length;c-- >0;)n(u[c],"captured",o)}var u=n(54);n(42);t.exports={isAncestor:r,getLowestCommonAncestor:i,getParentInstance:o,traverseTwoPhase:a,traverseEnterLeave:s}},1767:function(t,e,n){"use strict";var i=n(54),r=n(68),o=n(586),a=n(297),s=n(76),u=n(428),c=(n(42),n(595),function(t){this._currentElement=t,this._stringText=""+t,this._hostNode=null,this._hostParent=null,this._domID=0,this._mountIndex=0,this._closingComment=null,
this._commentNodes=null});r(c.prototype,{mountComponent:function(t,e,n,i){var r=n._idCounter++,o=" react-text: "+r+" ";if(this._domID=r,this._hostParent=e,t.useCreateElement){var c=n._ownerDocument,l=c.createComment(o),h=c.createComment(" /react-text "),f=a(c.createDocumentFragment());return a.queueChild(f,a(l)),this._stringText&&a.queueChild(f,a(c.createTextNode(this._stringText))),a.queueChild(f,a(h)),s.precacheNode(this,l),this._closingComment=h,f}var d=u(this._stringText)
;return t.renderToStaticMarkup?d:"\x3c!--"+o+"--\x3e"+d+"\x3c!-- /react-text --\x3e"},receiveComponent:function(t,e){if(t!==this._currentElement){this._currentElement=t;var n=""+t;if(n!==this._stringText){this._stringText=n;var i=this.getHostNode();o.replaceDelimitedText(i[0],i[1],n)}}},getHostNode:function(){var t=this._commentNodes;if(t)return t;if(!this._closingComment)for(var e=s.getNodeFromInstance(this),n=e.nextSibling;;){if(null==n&&i("67",this._domID),
8===n.nodeType&&" /react-text "===n.nodeValue){this._closingComment=n;break}n=n.nextSibling}return t=[this._hostNode,this._closingComment],this._commentNodes=t,t},unmountComponent:function(){this._closingComment=null,this._commentNodes=null,s.uncacheNode(this)}}),t.exports=c},1768:function(t,e,n){"use strict";function i(){this.reinitializeTransaction()}var r=n(68),o=n(170),a=n(425),s=n(140),u={initialize:s,close:function(){f.isBatchingUpdates=!1}},c={initialize:s,
close:o.flushBatchedUpdates.bind(o)},l=[c,u];r(i.prototype,a,{getTransactionWrappers:function(){return l}});var h=new i,f={isBatchingUpdates:!1,batchedUpdates:function(t,e,n,i,r,o){var a=f.isBatchingUpdates;return f.isBatchingUpdates=!0,a?t(e,n,i,r,o):h.perform(t,null,e,n,i,r,o)}};t.exports=f},1769:function(t,e,n){"use strict";function i(t){for(;t._hostParent;)t=t._hostParent;var e=h.getNodeFromInstance(t),n=e.parentNode;return h.getClosestInstanceFromNode(n)}function r(t,e){this.topLevelType=t,
this.nativeEvent=e,this.ancestors=[]}function o(t){var e=d(t.nativeEvent),n=h.getClosestInstanceFromNode(e),r=n;do{t.ancestors.push(r),r=r&&i(r)}while(r);for(var o=0;o<t.ancestors.length;o++)n=t.ancestors[o],m._handleTopLevel(t.topLevelType,n,t.nativeEvent,d(t.nativeEvent))}function a(t){t(p(window))}var s=n(68),u=n(863),c=n(114),l=n(246),h=n(76),f=n(170),d=n(583),p=n(1770);s(r.prototype,{destructor:function(){this.topLevelType=null,this.nativeEvent=null,this.ancestors.length=0}}),
l.addPoolingTo(r,l.twoArgumentPooler);var m={_enabled:!0,_handleTopLevel:null,WINDOW_HANDLE:c.canUseDOM?window:null,setHandleTopLevel:function(t){m._handleTopLevel=t},setEnabled:function(t){m._enabled=!!t},isEnabled:function(){return m._enabled},trapBubbledEvent:function(t,e,n){return n?u.listen(n,e,m.dispatchEvent.bind(null,t)):null},trapCapturedEvent:function(t,e,n){return n?u.capture(n,e,m.dispatchEvent.bind(null,t)):null},monitorScrollValue:function(t){var e=a.bind(null,t)
;u.listen(window,"scroll",e)},dispatchEvent:function(t,e){if(m._enabled){var n=r.getPooled(t,e);try{f.batchedUpdates(o,n)}finally{r.release(n)}}}};t.exports=m},1770:function(t,e,n){"use strict";function i(t){return t===window?{x:window.pageXOffset||document.documentElement.scrollLeft,y:window.pageYOffset||document.documentElement.scrollTop}:{x:t.scrollLeft,y:t.scrollTop}}t.exports=i},1771:function(t,e,n){"use strict";function i(t){this.reinitializeTransaction(),this.renderToStaticMarkup=!1,
this.reactMountReady=o.getPooled(null),this.useCreateElement=t}var r=n(68),o=n(844),a=n(246),s=n(429),u=n(865),c=(n(151),n(425)),l=n(594),h={initialize:u.getSelectionInformation,close:u.restoreSelection},f={initialize:function(){var t=s.isEnabled();return s.setEnabled(!1),t},close:function(t){s.setEnabled(t)}},d={initialize:function(){this.reactMountReady.reset()},close:function(){this.reactMountReady.notifyAll()}},p=[h,f,d],m={getTransactionWrappers:function(){return p},
getReactMountReady:function(){return this.reactMountReady},getUpdateQueue:function(){return l},checkpoint:function(){return this.reactMountReady.checkpoint()},rollback:function(t){this.reactMountReady.rollback(t)},destructor:function(){o.release(this.reactMountReady),this.reactMountReady=null}};r(i.prototype,c,m),a.addPoolingTo(i),t.exports=i},1772:function(t,e,n){"use strict";function i(t,e,n,i){return t===n&&e===i}function r(t){
var e=document.selection,n=e.createRange(),i=n.text.length,r=n.duplicate();r.moveToElementText(t),r.setEndPoint("EndToStart",n);var o=r.text.length;return{start:o,end:o+i}}function o(t){var e=window.getSelection&&window.getSelection();if(!e||0===e.rangeCount)return null;var n=e.anchorNode,r=e.anchorOffset,o=e.focusNode,a=e.focusOffset,s=e.getRangeAt(0);try{s.startContainer.nodeType,s.endContainer.nodeType}catch(t){return null}
var u=i(e.anchorNode,e.anchorOffset,e.focusNode,e.focusOffset),c=u?0:s.toString().length,l=s.cloneRange();l.selectNodeContents(t),l.setEnd(s.startContainer,s.startOffset);var h=i(l.startContainer,l.startOffset,l.endContainer,l.endOffset),f=h?0:l.toString().length,d=f+c,p=document.createRange();p.setStart(n,r),p.setEnd(o,a);var m=p.collapsed;return{start:m?d:f,end:m?f:d}}function a(t,e){var n,i,r=document.selection.createRange().duplicate();void 0===e.end?(n=e.start,i=n):e.start>e.end?(n=e.end,
i=e.start):(n=e.start,i=e.end),r.moveToElementText(t),r.moveStart("character",n),r.setEndPoint("EndToStart",r),r.moveEnd("character",i-n),r.select()}function s(t,e){if(window.getSelection){var n=window.getSelection(),i=t[l()].length,r=Math.min(e.start,i),o=void 0===e.end?r:Math.min(e.end,i);if(!n.extend&&r>o){var a=o;o=r,r=a}var s=c(t,r),u=c(t,o);if(s&&u){var h=document.createRange();h.setStart(s.node,s.offset),n.removeAllRanges(),r>o?(n.addRange(h),
n.extend(u.node,u.offset)):(h.setEnd(u.node,u.offset),n.addRange(h))}}}var u=n(114),c=n(1773),l=n(842),h=u.canUseDOM&&"selection"in document&&!("getSelection"in window),f={getOffsets:h?r:o,setOffsets:h?a:s};t.exports=f},1773:function(t,e,n){"use strict";function i(t){for(;t&&t.firstChild;)t=t.firstChild;return t}function r(t){for(;t;){if(t.nextSibling)return t.nextSibling;t=t.parentNode}}function o(t,e){for(var n=i(t),o=0,a=0;n;){if(3===n.nodeType){if(a=o+n.textContent.length,o<=e&&a>=e)return{
node:n,offset:e-o};o=a}n=i(r(n))}}t.exports=o},1774:function(t,e,n){"use strict";function i(t,e){return!(!t||!e)&&(t===e||!r(t)&&(r(e)?i(t,e.parentNode):"contains"in t?t.contains(e):!!t.compareDocumentPosition&&!!(16&t.compareDocumentPosition(e))))}var r=n(1775);t.exports=i},1775:function(t,e,n){"use strict";function i(t){return r(t)&&3==t.nodeType}var r=n(1776);t.exports=i},1776:function(t,e,n){"use strict";function i(t){
return!(!t||!("function"==typeof Node?t instanceof Node:"object"==typeof t&&"number"==typeof t.nodeType&&"string"==typeof t.nodeName))}t.exports=i},1777:function(t,e,n){"use strict";var i={xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace"},r={accentHeight:"accent-height",accumulate:0,additive:0,alignmentBaseline:"alignment-baseline",allowReorder:"allowReorder",alphabetic:0,amplitude:0,arabicForm:"arabic-form",ascent:0,attributeName:"attributeName",
attributeType:"attributeType",autoReverse:"autoReverse",azimuth:0,baseFrequency:"baseFrequency",baseProfile:"baseProfile",baselineShift:"baseline-shift",bbox:0,begin:0,bias:0,by:0,calcMode:"calcMode",capHeight:"cap-height",clip:0,clipPath:"clip-path",clipRule:"clip-rule",clipPathUnits:"clipPathUnits",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",contentScriptType:"contentScriptType",
contentStyleType:"contentStyleType",cursor:0,cx:0,cy:0,d:0,decelerate:0,descent:0,diffuseConstant:"diffuseConstant",direction:0,display:0,divisor:0,dominantBaseline:"dominant-baseline",dur:0,dx:0,dy:0,edgeMode:"edgeMode",elevation:0,enableBackground:"enable-background",end:0,exponent:0,externalResourcesRequired:"externalResourcesRequired",fill:0,fillOpacity:"fill-opacity",fillRule:"fill-rule",filter:0,filterRes:"filterRes",filterUnits:"filterUnits",floodColor:"flood-color",
floodOpacity:"flood-opacity",focusable:0,fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",format:0,from:0,fx:0,fy:0,g1:0,g2:0,glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",glyphRef:"glyphRef",gradientTransform:"gradientTransform",gradientUnits:"gradientUnits",hanging:0,
horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",ideographic:0,imageRendering:"image-rendering",in:0,in2:0,intercept:0,k:0,k1:0,k2:0,k3:0,k4:0,kernelMatrix:"kernelMatrix",kernelUnitLength:"kernelUnitLength",kerning:0,keyPoints:"keyPoints",keySplines:"keySplines",keyTimes:"keyTimes",lengthAdjust:"lengthAdjust",letterSpacing:"letter-spacing",lightingColor:"lighting-color",limitingConeAngle:"limitingConeAngle",local:0,markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",
markerHeight:"markerHeight",markerUnits:"markerUnits",markerWidth:"markerWidth",mask:0,maskContentUnits:"maskContentUnits",maskUnits:"maskUnits",mathematical:0,mode:0,numOctaves:"numOctaves",offset:0,opacity:0,operator:0,order:0,orient:0,orientation:0,origin:0,overflow:0,overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pathLength:"pathLength",patternContentUnits:"patternContentUnits",patternTransform:"patternTransform",
patternUnits:"patternUnits",pointerEvents:"pointer-events",points:0,pointsAtX:"pointsAtX",pointsAtY:"pointsAtY",pointsAtZ:"pointsAtZ",preserveAlpha:"preserveAlpha",preserveAspectRatio:"preserveAspectRatio",primitiveUnits:"primitiveUnits",r:0,radius:0,refX:"refX",refY:"refY",renderingIntent:"rendering-intent",repeatCount:"repeatCount",repeatDur:"repeatDur",requiredExtensions:"requiredExtensions",requiredFeatures:"requiredFeatures",restart:0,result:0,rotate:0,rx:0,ry:0,scale:0,seed:0,
shapeRendering:"shape-rendering",slope:0,spacing:0,specularConstant:"specularConstant",specularExponent:"specularExponent",speed:0,spreadMethod:"spreadMethod",startOffset:"startOffset",stdDeviation:"stdDeviation",stemh:0,stemv:0,stitchTiles:"stitchTiles",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",string:0,stroke:0,strokeDasharray:"stroke-dasharray",strokeDashoffset:"stroke-dashoffset",
strokeLinecap:"stroke-linecap",strokeLinejoin:"stroke-linejoin",strokeMiterlimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",surfaceScale:"surfaceScale",systemLanguage:"systemLanguage",tableValues:"tableValues",targetX:"targetX",targetY:"targetY",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",textLength:"textLength",to:0,transform:0,u1:0,u2:0,underlinePosition:"underline-position",
underlineThickness:"underline-thickness",unicode:0,unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",values:0,vectorEffect:"vector-effect",version:0,vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",viewBox:"viewBox",viewTarget:"viewTarget",visibility:0,widths:0,wordSpacing:"word-spacing",writingMode:"writing-mode",x:0,
xHeight:"x-height",x1:0,x2:0,xChannelSelector:"xChannelSelector",xlinkActuate:"xlink:actuate",xlinkArcrole:"xlink:arcrole",xlinkHref:"xlink:href",xlinkRole:"xlink:role",xlinkShow:"xlink:show",xlinkTitle:"xlink:title",xlinkType:"xlink:type",xmlBase:"xml:base",xmlns:0,xmlnsXlink:"xmlns:xlink",xmlLang:"xml:lang",xmlSpace:"xml:space",y:0,y1:0,y2:0,yChannelSelector:"yChannelSelector",z:0,zoomAndPan:"zoomAndPan"},o={Properties:{},DOMAttributeNamespaces:{xlinkActuate:i.xlink,xlinkArcrole:i.xlink,
xlinkHref:i.xlink,xlinkRole:i.xlink,xlinkShow:i.xlink,xlinkTitle:i.xlink,xlinkType:i.xlink,xmlBase:i.xml,xmlLang:i.xml,xmlSpace:i.xml},DOMAttributeNames:{}};Object.keys(r).forEach(function(t){o.Properties[t]=0,r[t]&&(o.DOMAttributeNames[t]=r[t])}),t.exports=o},1778:function(t,e,n){"use strict";function i(t,e,n,i){return r.call(this,t,e,n,i)}var r=n(169),o={animationName:null,elapsedTime:null,pseudoElement:null};r.augmentClass(i,o),t.exports=i},1779:function(t,e,n){"use strict"
;function i(t,e,n,i){return r.call(this,t,e,n,i)}var r=n(169),o={clipboardData:function(t){return"clipboardData"in t?t.clipboardData:window.clipboardData}};r.augmentClass(i,o),t.exports=i},1780:function(t,e,n){"use strict";function i(t,e,n,i){return r.call(this,t,e,n,i)}var r=n(360),o={relatedTarget:null};r.augmentClass(i,o),t.exports=i},1781:function(t,e,n){"use strict";function i(t,e,n,i){return r.call(this,t,e,n,i)}var r=n(360),o=n(596),a=n(1782),s=n(585),u={key:a,location:null,ctrlKey:null,
shiftKey:null,altKey:null,metaKey:null,repeat:null,locale:null,getModifierState:s,charCode:function(t){return"keypress"===t.type?o(t):0},keyCode:function(t){return"keydown"===t.type||"keyup"===t.type?t.keyCode:0},which:function(t){return"keypress"===t.type?o(t):"keydown"===t.type||"keyup"===t.type?t.keyCode:0}};r.augmentClass(i,u),t.exports=i},1782:function(t,e,n){"use strict";function i(t){if(t.key){var e=o[t.key]||t.key;if("Unidentified"!==e)return e}if("keypress"===t.type){var n=r(t)
;return 13===n?"Enter":String.fromCharCode(n)}return"keydown"===t.type||"keyup"===t.type?a[t.keyCode]||"Unidentified":""}var r=n(596),o={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},a={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",
36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"};t.exports=i},1783:function(t,e,n){"use strict";function i(t,e,n,i){return r.call(this,t,e,n,i)}var r=n(426),o={dataTransfer:null};r.augmentClass(i,o),t.exports=i},1784:function(t,e,n){"use strict";function i(t,e,n,i){return r.call(this,t,e,n,i)}
var r=n(360),o=n(585),a={touches:null,targetTouches:null,changedTouches:null,altKey:null,metaKey:null,ctrlKey:null,shiftKey:null,getModifierState:o};r.augmentClass(i,a),t.exports=i},1785:function(t,e,n){"use strict";function i(t,e,n,i){return r.call(this,t,e,n,i)}var r=n(169),o={propertyName:null,elapsedTime:null,pseudoElement:null};r.augmentClass(i,o),t.exports=i},1786:function(t,e,n){"use strict";function i(t,e,n,i){return r.call(this,t,e,n,i)}var r=n(426),o={deltaX:function(t){
return"deltaX"in t?t.deltaX:"wheelDeltaX"in t?-t.wheelDeltaX:0},deltaY:function(t){return"deltaY"in t?t.deltaY:"wheelDeltaY"in t?-t.wheelDeltaY:"wheelDelta"in t?-t.wheelDelta:0},deltaZ:null,deltaMode:null};r.augmentClass(i,o),t.exports=i},1787:function(t,e,n){"use strict";function i(t,e){var n={_topLevelWrapper:t,_idCounter:1,_ownerDocument:e?e.nodeType===r?e:e.ownerDocument:null,_node:e,_tag:e?e.nodeName.toLowerCase():null,_namespaceURI:e?e.namespaceURI:null};return n}var r=(n(595),9)
;t.exports=i},1788:function(t,e,n){"use strict";var i={useCreateElement:!0,useFiber:!1};t.exports=i},1789:function(t,e,n){"use strict";var i=n(1790),r=/\/?>/,o=/^<\!\-\-/,a={CHECKSUM_ATTR_NAME:"data-react-checksum",addChecksumToMarkup:function(t){var e=i(t);return o.test(t)?t:t.replace(r," "+a.CHECKSUM_ATTR_NAME+'="'+e+'"$&')},canReuseMarkup:function(t,e){var n=e.getAttribute(a.CHECKSUM_ATTR_NAME);return n=n&&parseInt(n,10),i(t)===n}};t.exports=a},1790:function(t,e,n){"use strict";function i(t){
for(var e=1,n=0,i=0,o=t.length,a=-4&o;i<a;){for(var s=Math.min(i+4096,a);i<s;i+=4)n+=(e+=t.charCodeAt(i))+(e+=t.charCodeAt(i+1))+(e+=t.charCodeAt(i+2))+(e+=t.charCodeAt(i+3));e%=r,n%=r}for(;i<o;i++)n+=e+=t.charCodeAt(i);return e%=r,n%=r,e|n<<16}var r=65521;t.exports=i},1791:function(t,e,n){"use strict";t.exports="15.4.2"},1792:function(t,e,n){"use strict";function i(t){if(null==t)return null;if(1===t.nodeType)return t;var e=a.get(t);if(e)return e=s(e),e?o.getNodeFromInstance(e):null
;"function"==typeof t.render?r("44"):r("45",Object.keys(t))}var r=n(54),o=(n(180),n(76)),a=n(361),s=n(870);n(42),n(47);t.exports=i},1793:function(t,e,n){"use strict";var i=n(869);t.exports=i.renderSubtreeIntoContainer},180:function(t,e,n){"use strict";var i={current:null};t.exports=i},200:function(t,e){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(t){"object"==typeof window&&(n=window)}t.exports=n},227:function(t,e){
var n=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},246:function(t,e,n){"use strict";var i=n(54),r=(n(42),function(t){var e=this;if(e.instancePool.length){var n=e.instancePool.pop();return e.call(n,t),n}return new e(t)}),o=function(t,e){var n=this;if(n.instancePool.length){var i=n.instancePool.pop();return n.call(i,t,e),i}return new n(t,e)},a=function(t,e,n){var i=this
;if(i.instancePool.length){var r=i.instancePool.pop();return i.call(r,t,e,n),r}return new i(t,e,n)},s=function(t,e,n,i){var r=this;if(r.instancePool.length){var o=r.instancePool.pop();return r.call(o,t,e,n,i),o}return new r(t,e,n,i)},u=function(t){var e=this;t instanceof e||i("25"),t.destructor(),e.instancePool.length<e.poolSize&&e.instancePool.push(t)},c=r,l=function(t,e){var n=t;return n.instancePool=[],n.getPooled=e||c,n.poolSize||(n.poolSize=10),n.release=u,n},h={addPoolingTo:l,
oneArgumentPooler:r,twoArgumentPooler:o,threeArgumentPooler:a,fourArgumentPooler:s};t.exports=h},266:function(t,e,n){var i=n(731)("wks"),r=n(394),o=n(227).Symbol,a="function"==typeof o;(t.exports=function(t){return i[t]||(i[t]=a&&o[t]||(a?o:r)("Symbol."+t))}).store=i},272:function(t,e,n){(function(i){var r,o;!function(a){var s="object"==typeof self&&self.self==self&&self||"object"==typeof i&&i.global==i&&i;r=[n(3),n(11),e],void 0!==(o=function(t,e,n){s.Backbone=a(s,n,t,e)
}.apply(e,r))&&(t.exports=o)}(function(t,e,n,i){var r=t.Backbone,o=Array.prototype.slice;e.VERSION="1.2.3",e.$=i,e.noConflict=function(){return t.Backbone=r,this},e.emulateHTTP=!1,e.emulateJSON=!1;var a=function(t,e,i){switch(t){case 1:return function(){return n[e](this[i])};case 2:return function(t){return n[e](this[i],t)};case 3:return function(t,r){return n[e](this[i],u(t,this),r)};case 4:return function(t,r,o){return n[e](this[i],u(t,this),r,o)};default:return function(){
var t=o.call(arguments);return t.unshift(this[i]),n[e].apply(n,t)}}},s=function(t,e,i){n.each(e,function(e,r){n[r]&&(t.prototype[r]=a(e,r,i))})},u=function(t,e){return n.isFunction(t)?t:n.isObject(t)&&!e._isModel(t)?c(t):n.isString(t)?function(e){return e.get(t)}:t},c=function(t){var e=n.matches(t);return function(t){return e(t.attributes)}},l=e.Events={},h=/\s+/,f=function(t,e,i,r,o){var a,s=0;if(i&&"object"==typeof i){void 0!==r&&"context"in o&&void 0===o.context&&(o.context=r)
;for(a=n.keys(i);s<a.length;s++)e=f(t,e,a[s],i[a[s]],o)}else if(i&&h.test(i))for(a=i.split(h);s<a.length;s++)e=t(e,a[s],r,o);else e=t(e,i,r,o);return e};l.on=function(t,e,n){return d(this,t,e,n)};var d=function(t,e,n,i,r){if(t._events=f(p,t._events||{},e,n,{context:i,ctx:t,listening:r}),r){(t._listeners||(t._listeners={}))[r.id]=r}return t};l.listenTo=function(t,e,i){if(!t)return this;var r=t._listenId||(t._listenId=n.uniqueId("l")),o=this._listeningTo||(this._listeningTo={}),a=o[r];if(!a){
var s=this._listenId||(this._listenId=n.uniqueId("l"));a=o[r]={obj:t,objId:r,id:s,listeningTo:o,count:0}}return d(t,e,i,this,a),this};var p=function(t,e,n,i){if(n){var r=t[e]||(t[e]=[]),o=i.context,a=i.ctx,s=i.listening;s&&s.count++,r.push({callback:n,context:o,ctx:o||a,listening:s})}return t};l.off=function(t,e,n){return this._events?(this._events=f(m,this._events,t,e,{context:n,listeners:this._listeners}),this):this},l.stopListening=function(t,e,i){var r=this._listeningTo;if(!r)return this
;for(var o=t?[t._listenId]:n.keys(r),a=0;a<o.length;a++){var s=r[o[a]];if(!s)break;s.obj.off(e,i,this)}return n.isEmpty(r)&&(this._listeningTo=void 0),this};var m=function(t,e,i,r){if(t){var o,a=0,s=r.context,u=r.listeners;if(e||i||s){for(var c=e?[e]:n.keys(t);a<c.length;a++){e=c[a];var l=t[e];if(!l)break;for(var h=[],f=0;f<l.length;f++){var d=l[f];i&&i!==d.callback&&i!==d.callback._callback||s&&s!==d.context?h.push(d):(o=d.listening)&&0==--o.count&&(delete u[o.id],delete o.listeningTo[o.objId])
}h.length?t[e]=h:delete t[e]}return n.size(t)?t:void 0}for(var p=n.keys(u);a<p.length;a++)o=u[p[a]],delete u[o.id],delete o.listeningTo[o.objId]}};l.once=function(t,e,i){var r=f(g,{},t,e,n.bind(this.off,this));return this.on(r,void 0,i)},l.listenToOnce=function(t,e,i){var r=f(g,{},e,i,n.bind(this.stopListening,this,t));return this.listenTo(t,r)};var g=function(t,e,i,r){if(i){var o=t[e]=n.once(function(){r(e,o),i.apply(this,arguments)});o._callback=i}return t};l.trigger=function(t){
if(!this._events)return this;for(var e=Math.max(0,arguments.length-1),n=Array(e),i=0;i<e;i++)n[i]=arguments[i+1];return f(v,this._events,t,void 0,n),this};var v=function(t,e,n,i){if(t){var r=t[e],o=t.all;r&&o&&(o=o.slice()),r&&y(r,i),o&&y(o,[e].concat(i))}return t},y=function(t,e){var n,i=-1,r=t.length,o=e[0],a=e[1],s=e[2];switch(e.length){case 0:for(;++i<r;)(n=t[i]).callback.call(n.ctx);return;case 1:for(;++i<r;)(n=t[i]).callback.call(n.ctx,o);return;case 2:
for(;++i<r;)(n=t[i]).callback.call(n.ctx,o,a);return;case 3:for(;++i<r;)(n=t[i]).callback.call(n.ctx,o,a,s);return;default:for(;++i<r;)(n=t[i]).callback.apply(n.ctx,e);return}};l.bind=l.on,l.unbind=l.off,n.extend(e,l);var b=e.Model=function(t,e){var i=t||{};e||(e={}),this.cid=n.uniqueId(this.cidPrefix),this.attributes={},e.collection&&(this.collection=e.collection),e.parse&&(i=this.parse(i,e)||{}),i=n.defaults({},i,n.result(this,"defaults")),this.set(i,e),this.changed={},
this.initialize.apply(this,arguments)};n.extend(b.prototype,l,{changed:null,validationError:null,idAttribute:"id",cidPrefix:"c",initialize:function(){},toJSON:function(t){return n.clone(this.attributes)},sync:function(){return e.sync.apply(this,arguments)},get:function(t){return this.attributes[t]},escape:function(t){return n.escape(this.get(t))},has:function(t){return null!=this.get(t)},matches:function(t){return!!n.iteratee(t,this)(this.attributes)},set:function(t,e,i){if(null==t)return this
;var r;if("object"==typeof t?(r=t,i=e):(r={})[t]=e,i||(i={}),!this._validate(r,i))return!1;var o=i.unset,a=i.silent,s=[],u=this._changing;this._changing=!0,u||(this._previousAttributes=n.clone(this.attributes),this.changed={});var c=this.attributes,l=this.changed,h=this._previousAttributes;for(var f in r)e=r[f],n.isEqual(c[f],e)||s.push(f),n.isEqual(h[f],e)?delete l[f]:l[f]=e,o?delete c[f]:c[f]=e;if(this.id=this.get(this.idAttribute),!a){s.length&&(this._pending=i)
;for(var d=0;d<s.length;d++)this.trigger("change:"+s[d],this,c[s[d]],i)}if(u)return this;if(!a)for(;this._pending;)i=this._pending,this._pending=!1,this.trigger("change",this,i);return this._pending=!1,this._changing=!1,this},unset:function(t,e){return this.set(t,void 0,n.extend({},e,{unset:!0}))},clear:function(t){var e={};for(var i in this.attributes)e[i]=void 0;return this.set(e,n.extend({},t,{unset:!0}))},hasChanged:function(t){return null==t?!n.isEmpty(this.changed):n.has(this.changed,t)},
changedAttributes:function(t){if(!t)return!!this.hasChanged()&&n.clone(this.changed);var e=this._changing?this._previousAttributes:this.attributes,i={};for(var r in t){var o=t[r];n.isEqual(e[r],o)||(i[r]=o)}return!!n.size(i)&&i},previous:function(t){return null!=t&&this._previousAttributes?this._previousAttributes[t]:null},previousAttributes:function(){return n.clone(this._previousAttributes)},fetch:function(t){t=n.extend({parse:!0},t);var e=this,i=t.success;return t.success=function(n){
var r=t.parse?e.parse(n,t):n;if(!e.set(r,t))return!1;i&&i.call(t.context,e,n,t),e.trigger("sync",e,n,t)},F(this,t),this.sync("read",this,t)},save:function(t,e,i){var r;null==t||"object"==typeof t?(r=t,i=e):(r={})[t]=e,i=n.extend({validate:!0,parse:!0},i);var o=i.wait;if(r&&!o){if(!this.set(r,i))return!1}else if(!this._validate(r,i))return!1;var a=this,s=i.success,u=this.attributes;i.success=function(t){a.attributes=u;var e=i.parse?a.parse(t,i):t;if(o&&(e=n.extend({},r,e)),e&&!a.set(e,i))return!1
;s&&s.call(i.context,a,t,i),a.trigger("sync",a,t,i)},F(this,i),r&&o&&(this.attributes=n.extend({},u,r));var c=this.isNew()?"create":i.patch?"patch":"update";"patch"!==c||i.attrs||(i.attrs=r);var l=this.sync(c,this,i);return this.attributes=u,l},destroy:function(t){t=t?n.clone(t):{};var e=this,i=t.success,r=t.wait,o=function(){e.stopListening(),e.trigger("destroy",e,e.collection,t)};t.success=function(n){r&&o(),i&&i.call(t.context,e,n,t),e.isNew()||e.trigger("sync",e,n,t)};var a=!1
;return this.isNew()?n.defer(t.success):(F(this,t),a=this.sync("delete",this,t)),r||o(),a},url:function(){var t=n.result(this,"urlRoot")||n.result(this.collection,"url")||U();if(this.isNew())return t;var e=this.get(this.idAttribute);return t.replace(/[^\/]$/,"$&/")+encodeURIComponent(e)},parse:function(t,e){return t},clone:function(){return new this.constructor(this.attributes)},isNew:function(){return!this.has(this.idAttribute)},isValid:function(t){return this._validate({},n.defaults({
validate:!0},t))},_validate:function(t,e){if(!e.validate||!this.validate)return!0;t=n.extend({},this.attributes,t);var i=this.validationError=this.validate(t,e)||null;return!i||(this.trigger("invalid",this,i,n.extend(e,{validationError:i})),!1)}}),s(b,{keys:1,values:1,pairs:1,invert:1,pick:0,omit:0,chain:1,isEmpty:1},"attributes");var w=e.Collection=function(t,e){e||(e={}),e.model&&(this.model=e.model),void 0!==e.comparator&&(this.comparator=e.comparator),this._reset(),
this.initialize.apply(this,arguments),t&&this.reset(t,n.extend({silent:!0},e))},_={add:!0,remove:!0,merge:!0},E={add:!0,remove:!1},x=function(t,e,n){n=Math.min(Math.max(n,0),t.length);for(var i=Array(t.length-n),r=e.length,o=0;o<i.length;o++)i[o]=t[o+n];for(o=0;o<r;o++)t[o+n]=e[o];for(o=0;o<i.length;o++)t[o+r+n]=i[o]};n.extend(w.prototype,l,{model:b,initialize:function(){},toJSON:function(t){return this.map(function(e){return e.toJSON(t)})},sync:function(){return e.sync.apply(this,arguments)},
add:function(t,e){return this.set(t,n.extend({merge:!1},e,E))},remove:function(t,e){e=n.extend({},e);var i=!n.isArray(t);t=i?[t]:n.clone(t);var r=this._removeModels(t,e);return!e.silent&&r&&this.trigger("update",this,e),i?r[0]:r},set:function(t,e){if(null!=t){e=n.defaults({},e,_),e.parse&&!this._isModel(t)&&(t=this.parse(t,e));var i=!n.isArray(t);t=i?t?[t]:[]:t.slice();var r=e.at;null!=r&&(r=+r),r<0&&(r+=this.length+1)
;for(var o,a=[],s=[],u=[],c={},l=e.add,h=e.merge,f=e.remove,d=!1,p=this.comparator&&null==r&&!1!==e.sort,m=n.isString(this.comparator)?this.comparator:null,g=0;g<t.length;g++){o=t[g];var v=this.get(o);if(v){if(h&&o!==v){var y=this._isModel(o)?o.attributes:o;e.parse&&(y=v.parse(y,e)),v.set(y,e),p&&!d&&(d=v.hasChanged(m))}c[v.cid]||(c[v.cid]=!0,a.push(v)),t[g]=v}else l&&(o=t[g]=this._prepareModel(o,e))&&(s.push(o),this._addReference(o,e),c[o.cid]=!0,a.push(o))}if(f){
for(g=0;g<this.length;g++)o=this.models[g],c[o.cid]||u.push(o);u.length&&this._removeModels(u,e)}var b=!1,w=!p&&l&&f;if(a.length&&w?(b=this.length!=a.length||n.some(this.models,function(t,e){return t!==a[e]}),this.models.length=0,x(this.models,a,0),this.length=this.models.length):s.length&&(p&&(d=!0),x(this.models,s,null==r?this.length:r),this.length=this.models.length),d&&this.sort({silent:!0}),!e.silent){for(g=0;g<s.length;g++)null!=r&&(e.index=r+g),o=s[g],o.trigger("add",o,this,e)
;(d||b)&&this.trigger("sort",this,e),(s.length||u.length)&&this.trigger("update",this,e)}return i?t[0]:t}},reset:function(t,e){e=e?n.clone(e):{};for(var i=0;i<this.models.length;i++)this._removeReference(this.models[i],e);return e.previousModels=this.models,this._reset(),t=this.add(t,n.extend({silent:!0},e)),e.silent||this.trigger("reset",this,e),t},push:function(t,e){return this.add(t,n.extend({at:this.length},e))},pop:function(t){var e=this.at(this.length-1);return this.remove(e,t)},
unshift:function(t,e){return this.add(t,n.extend({at:0},e))},shift:function(t){var e=this.at(0);return this.remove(e,t)},slice:function(){return o.apply(this.models,arguments)},get:function(t){if(null!=t){var e=this.modelId(this._isModel(t)?t.attributes:t);return this._byId[t]||this._byId[e]||this._byId[t.cid]}},at:function(t){return t<0&&(t+=this.length),this.models[t]},where:function(t,e){return this[e?"find":"filter"](t)},findWhere:function(t){return this.where(t,!0)},sort:function(t){
var e=this.comparator;if(!e)throw new Error("Cannot sort a set without a comparator");t||(t={});var i=e.length;return n.isFunction(e)&&(e=n.bind(e,this)),1===i||n.isString(e)?this.models=this.sortBy(e):this.models.sort(e),t.silent||this.trigger("sort",this,t),this},pluck:function(t){return n.invoke(this.models,"get",t)},fetch:function(t){t=n.extend({parse:!0},t);var e=t.success,i=this;return t.success=function(n){var r=t.reset?"reset":"set";i[r](n,t),e&&e.call(t.context,i,n,t),
i.trigger("sync",i,n,t)},F(this,t),this.sync("read",this,t)},create:function(t,e){e=e?n.clone(e):{};var i=e.wait;if(!(t=this._prepareModel(t,e)))return!1;i||this.add(t,e);var r=this,o=e.success;return e.success=function(t,e,n){i&&r.add(t,n),o&&o.call(n.context,t,e,n)},t.save(null,e),t},parse:function(t,e){return t},clone:function(){return new this.constructor(this.models,{model:this.model,comparator:this.comparator})},modelId:function(t){return t[this.model.prototype.idAttribute||"id"]},
_reset:function(){this.length=0,this.models=[],this._byId={}},_prepareModel:function(t,e){if(this._isModel(t))return t.collection||(t.collection=this),t;e=e?n.clone(e):{},e.collection=this;var i=new this.model(t,e);return i.validationError?(this.trigger("invalid",this,i.validationError,e),!1):i},_removeModels:function(t,e){for(var n=[],i=0;i<t.length;i++){var r=this.get(t[i]);if(r){var o=this.indexOf(r);this.models.splice(o,1),this.length--,e.silent||(e.index=o,r.trigger("remove",r,this,e)),
n.push(r),this._removeReference(r,e)}}return!!n.length&&n},_isModel:function(t){return t instanceof b},_addReference:function(t,e){this._byId[t.cid]=t;var n=this.modelId(t.attributes);null!=n&&(this._byId[n]=t),t.on("all",this._onModelEvent,this)},_removeReference:function(t,e){delete this._byId[t.cid];var n=this.modelId(t.attributes);null!=n&&delete this._byId[n],this===t.collection&&delete t.collection,t.off("all",this._onModelEvent,this)},_onModelEvent:function(t,e,n,i){
if("add"!==t&&"remove"!==t||n===this){if("destroy"===t&&this.remove(e,i),"change"===t){var r=this.modelId(e.previousAttributes()),o=this.modelId(e.attributes);r!==o&&(null!=r&&delete this._byId[r],null!=o&&(this._byId[o]=e))}this.trigger.apply(this,arguments)}}}),s(w,{forEach:3,each:3,map:3,collect:3,reduce:4,foldl:4,inject:4,reduceRight:4,foldr:4,find:3,detect:3,filter:3,select:3,reject:3,every:3,all:3,some:3,any:3,include:3,includes:3,contains:3,invoke:0,max:3,min:3,toArray:1,size:1,first:3,
head:3,take:3,initial:3,rest:3,tail:3,drop:3,last:3,without:0,difference:0,indexOf:3,shuffle:1,lastIndexOf:3,isEmpty:1,chain:1,sample:3,partition:3,groupBy:3,countBy:3,sortBy:3,indexBy:3},"models");var T=e.View=function(t){this.cid=n.uniqueId("view"),n.extend(this,n.pick(t,S)),this._ensureElement(),this.initialize.apply(this,arguments)},C=/^(\S+)\s*(.*)$/,S=["model","collection","el","id","attributes","className","tagName","events"];n.extend(T.prototype,l,{tagName:"div",$:function(t){
return this.$el.find(t)},initialize:function(){},render:function(){return this},remove:function(){return this._removeElement(),this.stopListening(),this},_removeElement:function(){this.$el.remove()},setElement:function(t){return this.undelegateEvents(),this._setElement(t),this.delegateEvents(),this},_setElement:function(t){this.$el=t instanceof e.$?t:e.$(t),this.el=this.$el[0]},delegateEvents:function(t){if(t||(t=n.result(this,"events")),!t)return this;this.undelegateEvents();for(var e in t){
var i=t[e];if(n.isFunction(i)||(i=this[i]),i){var r=e.match(C);this.delegate(r[1],r[2],n.bind(i,this))}}return this},delegate:function(t,e,n){return this.$el.on(t+".delegateEvents"+this.cid,e,n),this},undelegateEvents:function(){return this.$el&&this.$el.off(".delegateEvents"+this.cid),this},undelegate:function(t,e,n){return this.$el.off(t+".delegateEvents"+this.cid,e,n),this},_createElement:function(t){return document.createElement(t)},_ensureElement:function(){
if(this.el)this.setElement(n.result(this,"el"));else{var t=n.extend({},n.result(this,"attributes"));this.id&&(t.id=n.result(this,"id")),this.className&&(t.class=n.result(this,"className")),this.setElement(this._createElement(n.result(this,"tagName"))),this._setAttributes(t)}},_setAttributes:function(t){this.$el.attr(t)}}),e.sync=function(t,i,r){var o=k[t];n.defaults(r||(r={}),{emulateHTTP:e.emulateHTTP,emulateJSON:e.emulateJSON});var a={type:o,dataType:"json"}
;if(r.url||(a.url=n.result(i,"url")||U()),null!=r.data||!i||"create"!==t&&"update"!==t&&"patch"!==t||(a.contentType="application/json",a.data=JSON.stringify(r.attrs||i.toJSON(r))),r.emulateJSON&&(a.contentType="application/x-www-form-urlencoded",a.data=a.data?{model:a.data}:{}),r.emulateHTTP&&("PUT"===o||"DELETE"===o||"PATCH"===o)){a.type="POST",r.emulateJSON&&(a.data._method=o);var s=r.beforeSend;r.beforeSend=function(t){if(t.setRequestHeader("X-HTTP-Method-Override",o),
s)return s.apply(this,arguments)}}"GET"===a.type||r.emulateJSON||(a.processData=!1);var u=r.error;r.error=function(t,e,n){r.textStatus=e,r.errorThrown=n,u&&u.call(r.context,t,e,n)};var c=r.xhr=e.ajax(n.extend(a,r));return i.trigger("request",i,c,r),c};var k={create:"POST",update:"PUT",patch:"PATCH",delete:"DELETE",read:"GET"};e.ajax=function(){return e.$.ajax.apply(e.$,arguments)};var M=e.Router=function(t){t||(t={}),t.routes&&(this.routes=t.routes),this._bindRoutes(),
this.initialize.apply(this,arguments)},P=/\((.*?)\)/g,N=/(\(\?)?:\w+/g,I=/\*\w+/g,A=/[\-{}\[\]+?.,\\\^$|#\s]/g;n.extend(M.prototype,l,{initialize:function(){},route:function(t,i,r){n.isRegExp(t)||(t=this._routeToRegExp(t)),n.isFunction(i)&&(r=i,i=""),r||(r=this[i]);var o=this;return e.history.route(t,function(n){var a=o._extractParameters(t,n);!1!==o.execute(r,a,i)&&(o.trigger.apply(o,["route:"+i].concat(a)),o.trigger("route",i,a),e.history.trigger("route",o,i,a))}),this},
execute:function(t,e,n){t&&t.apply(this,e)},navigate:function(t,n){return e.history.navigate(t,n),this},_bindRoutes:function(){if(this.routes){this.routes=n.result(this,"routes");for(var t,e=n.keys(this.routes);null!=(t=e.pop());)this.route(t,this.routes[t])}},_routeToRegExp:function(t){return t=t.replace(A,"\\$&").replace(P,"(?:$1)?").replace(N,function(t,e){return e?t:"([^/?]+)"}).replace(I,"([^?]*?)"),new RegExp("^"+t+"(?:\\?([\\s\\S]*))?$")},_extractParameters:function(t,e){
var i=t.exec(e).slice(1);return n.map(i,function(t,e){return e===i.length-1?t||null:t?decodeURIComponent(t):null})}});var D=e.History=function(){this.handlers=[],this.checkUrl=n.bind(this.checkUrl,this),"undefined"!=typeof window&&(this.location=window.location,this.history=window.history)},O=/^[#\/]|\s+$/g,R=/^\/+|\/+$/g,L=/#.*$/;D.started=!1,n.extend(D.prototype,l,{interval:50,atRoot:function(){return this.location.pathname.replace(/[^\/]$/,"$&/")===this.root&&!this.getSearch()},
matchRoot:function(){return this.decodeFragment(this.location.pathname).slice(0,this.root.length-1)+"/"===this.root},decodeFragment:function(t){return decodeURI(t.replace(/%25/g,"%2525"))},getSearch:function(){var t=this.location.href.replace(/#.*/,"").match(/\?.+/);return t?t[0]:""},getHash:function(t){var e=(t||this).location.href.match(/#(.*)$/);return e?e[1]:""},getPath:function(){var t=this.decodeFragment(this.location.pathname+this.getSearch()).slice(this.root.length-1)
;return"/"===t.charAt(0)?t.slice(1):t},getFragment:function(t){return null==t&&(t=this._usePushState||!this._wantsHashChange?this.getPath():this.getHash()),t.replace(O,"")},start:function(t){if(D.started)throw new Error("Backbone.history has already been started");if(D.started=!0,this.options=n.extend({root:"/"},this.options,t),this.root=this.options.root,this._wantsHashChange=!1!==this.options.hashChange,
this._hasHashChange="onhashchange"in window&&(void 0===document.documentMode||document.documentMode>7),this._useHashChange=this._wantsHashChange&&this._hasHashChange,this._wantsPushState=!!this.options.pushState,this._hasPushState=!(!this.history||!this.history.pushState),this._usePushState=this._wantsPushState&&this._hasPushState,this.fragment=this.getFragment(),this.root=("/"+this.root+"/").replace(R,"/"),this._wantsHashChange&&this._wantsPushState){if(!this._hasPushState&&!this.atRoot()){
var e=this.root.slice(0,-1)||"/";return this.location.replace(e+"#"+this.getPath()),!0}this._hasPushState&&this.atRoot()&&this.navigate(this.getHash(),{replace:!0})}if(!this._hasHashChange&&this._wantsHashChange&&!this._usePushState){this.iframe=document.createElement("iframe"),this.iframe.src="javascript:0",this.iframe.style.display="none",this.iframe.tabIndex=-1;var i=document.body,r=i.insertBefore(this.iframe,i.firstChild).contentWindow;r.document.open(),r.document.close(),
r.location.hash="#"+this.fragment}var o=window.addEventListener||function(t,e){return attachEvent("on"+t,e)};if(this._usePushState?o("popstate",this.checkUrl,!1):this._useHashChange&&!this.iframe?o("hashchange",this.checkUrl,!1):this._wantsHashChange&&(this._checkUrlInterval=setInterval(this.checkUrl,this.interval)),!this.options.silent)return this.loadUrl()},stop:function(){var t=window.removeEventListener||function(t,e){return detachEvent("on"+t,e)}
;this._usePushState?t("popstate",this.checkUrl,!1):this._useHashChange&&!this.iframe&&t("hashchange",this.checkUrl,!1),this.iframe&&(document.body.removeChild(this.iframe),this.iframe=null),this._checkUrlInterval&&clearInterval(this._checkUrlInterval),D.started=!1},route:function(t,e){this.handlers.unshift({route:t,callback:e})},checkUrl:function(t){var e=this.getFragment();if(e===this.fragment&&this.iframe&&(e=this.getHash(this.iframe.contentWindow)),e===this.fragment)return!1
;this.iframe&&this.navigate(e),this.loadUrl()},loadUrl:function(t){return!!this.matchRoot()&&(t=this.fragment=this.getFragment(t),n.some(this.handlers,function(e){if(e.route.test(t))return e.callback(t),!0}))},navigate:function(t,e){if(!D.started)return!1;e&&!0!==e||(e={trigger:!!e}),t=this.getFragment(t||"");var n=this.root;""!==t&&"?"!==t.charAt(0)||(n=n.slice(0,-1)||"/");var i=n+t;t=t.replace(L,"");var r=this.decodeFragment(t);if(this.fragment!==r){if(this.fragment=r,
this._usePushState)this.history[e.replace?"replaceState":"pushState"]({},document.title,i);else{if(!this._wantsHashChange)return this.location.assign(i);if(this._updateHash(this.location,t,e.replace),this.iframe&&t!==this.getHash(this.iframe.contentWindow)){var o=this.iframe.contentWindow;e.replace||(o.document.open(),o.document.close()),this._updateHash(o.location,t,e.replace)}}return e.trigger?this.loadUrl(t):void 0}},_updateHash:function(t,e,n){if(n){
var i=t.href.replace(/(javascript:|#).*$/,"");t.replace(i+"#"+e)}else t.hash="#"+e}}),e.history=new D;var j=function(t,e){var i,r=this;i=t&&n.has(t,"constructor")?t.constructor:function(){return r.apply(this,arguments)},n.extend(i,r,e);var o=function(){this.constructor=i};return o.prototype=r.prototype,i.prototype=new o,t&&n.extend(i.prototype,t),i.__super__=r.prototype,i};b.extend=w.extend=M.extend=T.extend=D.extend=j;var U=function(){
throw new Error('A "url" property or function must be specified')},F=function(t,e){var n=e.error;e.error=function(i){n&&n.call(e.context,t,i,e),t.trigger("error",t,i,e)}};return e})}).call(e,n(200))},291:function(t,e,n){"use strict";var i=n(68),r=n(1715),o=n(579),a=n(1719),s=n(1720),u=n(1721),c=n(293),l=n(1722),h=n(1724),f=n(1725),d=(n(47),c.createElement),p=c.createFactory,m=c.cloneElement,g=i,v={Children:{map:r.map,forEach:r.forEach,count:r.count,toArray:r.toArray,only:f},Component:o,
PureComponent:a,createElement:d,cloneElement:m,isValidElement:c.isValidElement,PropTypes:l,createClass:s.createClass,createFactory:p,createMixin:function(t){return t},DOM:u,version:h,__spread:g};t.exports=v},292:function(t,e,n){"use strict";function i(t){for(var e=arguments.length-1,n="Minified React error #"+t+"; visit http://facebook.github.io/react/docs/error-decoder.html?invariant="+t,i=0;i<e;i++)n+="&args[]="+encodeURIComponent(arguments[i+1])
;n+=" for the full message or use the non-minified dev environment for full errors and additional helpful warnings.";var r=new Error(n);throw r.name="Invariant Violation",r.framesToPop=1,r}t.exports=i},293:function(t,e,n){"use strict";function i(t){return void 0!==t.ref}function r(t){return void 0!==t.key}var o=n(68),a=n(180),s=(n(47),n(834),Object.prototype.hasOwnProperty),u=n(835),c={key:!0,ref:!0,__self:!0,__source:!0},l=function(t,e,n,i,r,o,a){var s={$$typeof:u,type:t,key:e,ref:n,props:a,
_owner:o};return s};l.createElement=function(t,e,n){var o,u={},h=null,f=null;if(null!=e){i(e)&&(f=e.ref),r(e)&&(h=""+e.key),void 0===e.__self?null:e.__self,void 0===e.__source?null:e.__source;for(o in e)s.call(e,o)&&!c.hasOwnProperty(o)&&(u[o]=e[o])}var d=arguments.length-2;if(1===d)u.children=n;else if(d>1){for(var p=Array(d),m=0;m<d;m++)p[m]=arguments[m+2];u.children=p}if(t&&t.defaultProps){var g=t.defaultProps;for(o in g)void 0===u[o]&&(u[o]=g[o])}return l(t,h,f,0,0,a.current,u)},
l.createFactory=function(t){var e=l.createElement.bind(null,t);return e.type=t,e},l.cloneAndReplaceKey=function(t,e){return l(t.type,e,t.ref,t._self,t._source,t._owner,t.props)},l.cloneElement=function(t,e,n){var u,h=o({},t.props),f=t.key,d=t.ref,p=(t._self,t._source,t._owner);if(null!=e){i(e)&&(d=e.ref,p=a.current),r(e)&&(f=""+e.key);var m;t.type&&t.type.defaultProps&&(m=t.type.defaultProps);for(u in e)s.call(e,u)&&!c.hasOwnProperty(u)&&(void 0===e[u]&&void 0!==m?h[u]=m[u]:h[u]=e[u])}
var g=arguments.length-2;if(1===g)h.children=n;else if(g>1){for(var v=Array(g),y=0;y<g;y++)v[y]=arguments[y+2];h.children=v}return l(t.type,f,d,0,0,p,h)},l.isValidElement=function(t){return"object"==typeof t&&null!==t&&t.$$typeof===u},t.exports=l},294:function(t,e,n){"use strict";function i(t,e){return(t&e)===e}var r=n(54),o=(n(42),{MUST_USE_PROPERTY:1,HAS_BOOLEAN_VALUE:4,HAS_NUMERIC_VALUE:8,HAS_POSITIVE_NUMERIC_VALUE:24,HAS_OVERLOADED_BOOLEAN_VALUE:32,injectDOMPropertyConfig:function(t){
var e=o,n=t.Properties||{},a=t.DOMAttributeNamespaces||{},u=t.DOMAttributeNames||{},c=t.DOMPropertyNames||{},l=t.DOMMutationMethods||{};t.isCustomAttribute&&s._isCustomAttributeFunctions.push(t.isCustomAttribute);for(var h in n){s.properties.hasOwnProperty(h)&&r("48",h);var f=h.toLowerCase(),d=n[h],p={attributeName:f,attributeNamespace:null,propertyName:h,mutationMethod:null,mustUseProperty:i(d,e.MUST_USE_PROPERTY),hasBooleanValue:i(d,e.HAS_BOOLEAN_VALUE),
hasNumericValue:i(d,e.HAS_NUMERIC_VALUE),hasPositiveNumericValue:i(d,e.HAS_POSITIVE_NUMERIC_VALUE),hasOverloadedBooleanValue:i(d,e.HAS_OVERLOADED_BOOLEAN_VALUE)};if(p.hasBooleanValue+p.hasNumericValue+p.hasOverloadedBooleanValue<=1||r("50",h),u.hasOwnProperty(h)){var m=u[h];p.attributeName=m}a.hasOwnProperty(h)&&(p.attributeNamespace=a[h]),c.hasOwnProperty(h)&&(p.propertyName=c[h]),l.hasOwnProperty(h)&&(p.mutationMethod=l[h]),s.properties[h]=p}}
}),a=":A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD",s={ID_ATTRIBUTE_NAME:"data-reactid",ROOT_ATTRIBUTE_NAME:"data-reactroot",ATTRIBUTE_NAME_START_CHAR:a,ATTRIBUTE_NAME_CHAR:a+"\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",properties:{},getPossibleStandardName:null,_isCustomAttributeFunctions:[],isCustomAttribute:function(t){
for(var e=0;e<s._isCustomAttributeFunctions.length;e++){if((0,s._isCustomAttributeFunctions[e])(t))return!0}return!1},injection:o};t.exports=s},295:function(t,e,n){"use strict";function i(t,e,n){var i=e.dispatchConfig.phasedRegistrationNames[n];return v(t,i)}function r(t,e,n){var r=i(t,n,e);r&&(n._dispatchListeners=m(n._dispatchListeners,r),n._dispatchInstances=m(n._dispatchInstances,t))}function o(t){t&&t.dispatchConfig.phasedRegistrationNames&&p.traverseTwoPhase(t._targetInst,r,t)}
function a(t){if(t&&t.dispatchConfig.phasedRegistrationNames){var e=t._targetInst,n=e?p.getParentInstance(e):null;p.traverseTwoPhase(n,r,t)}}function s(t,e,n){if(n&&n.dispatchConfig.registrationName){var i=n.dispatchConfig.registrationName,r=v(t,i);r&&(n._dispatchListeners=m(n._dispatchListeners,r),n._dispatchInstances=m(n._dispatchInstances,t))}}function u(t){t&&t.dispatchConfig.registrationName&&s(t._targetInst,null,t)}function c(t){g(t,o)}function l(t){g(t,a)}function h(t,e,n,i){
p.traverseEnterLeave(n,i,s,t,e)}function f(t){g(t,u)}var d=n(359),p=n(581),m=n(840),g=n(841),v=(n(47),d.getListener),y={accumulateTwoPhaseDispatches:c,accumulateTwoPhaseDispatchesSkipTarget:l,accumulateDirectDispatches:f,accumulateEnterLeaveDispatches:h};t.exports=y},296:function(t,e,n){"use strict";function i(){r.attachRefs(this,this._currentElement)}var r=n(1732),o=(n(151),n(47),{mountComponent:function(t,e,n,r,o,a){var s=t.mountComponent(e,n,r,o,a)
;return t._currentElement&&null!=t._currentElement.ref&&e.getReactMountReady().enqueue(i,t),s},getHostNode:function(t){return t.getHostNode()},unmountComponent:function(t,e){r.detachRefs(t,t._currentElement),t.unmountComponent(e)},receiveComponent:function(t,e,n,o){var a=t._currentElement;if(e!==a||o!==t._context){var s=r.shouldUpdateRefs(a,e);s&&r.detachRefs(t,a),t.receiveComponent(e,n,o),s&&t._currentElement&&null!=t._currentElement.ref&&n.getReactMountReady().enqueue(i,t)}},
performUpdateIfNecessary:function(t,e,n){t._updateBatchNumber===n&&t.performUpdateIfNecessary(e)}});t.exports=o},297:function(t,e,n){"use strict";function i(t){if(p){var e=t.node,n=t.children;if(n.length)for(var i=0;i<n.length;i++)m(e,n[i],null);else null!=t.html?h(e,t.html):null!=t.text&&d(e,t.text)}}function r(t,e){t.parentNode.replaceChild(e.node,t),i(e)}function o(t,e){p?t.children.push(e):t.node.appendChild(e.node)}function a(t,e){p?t.html=e:h(t.node,e)}function s(t,e){
p?t.text=e:d(t.node,e)}function u(){return this.node.nodeName}function c(t){return{node:t,children:[],html:null,text:null,toString:u}}var l=n(587),h=n(427),f=n(588),d=n(850),p="undefined"!=typeof document&&"number"==typeof document.documentMode||"undefined"!=typeof navigator&&"string"==typeof navigator.userAgent&&/\bEdge\/\d/.test(navigator.userAgent),m=f(function(t,e,n){
11===e.node.nodeType||1===e.node.nodeType&&"object"===e.node.nodeName.toLowerCase()&&(null==e.node.namespaceURI||e.node.namespaceURI===l.html)?(i(e),t.insertBefore(e.node,n)):(t.insertBefore(e.node,n),i(e))});c.insertTreeBefore=m,c.replaceChildWithTree=r,c.queueChild=o,c.queueHTML=a,c.queueText=s,t.exports=c},3:function(t,e,n){var i,r;(function(){function n(t){function e(e,n,i,r,o,a){for(;o>=0&&o<a;o+=t){var s=r?r[o]:o;i=n(i,e[s],s,e)}return i}return function(n,i,r,o){i=x(i,o,4)
;var a=!N(n)&&E.keys(n),s=(a||n).length,u=t>0?0:s-1;return arguments.length<3&&(r=n[a?a[u]:u],u+=t),e(n,i,r,a,u,s)}}function o(t){return function(e,n,i){n=T(n,i);for(var r=P(e),o=t>0?0:r-1;o>=0&&o<r;o+=t)if(n(e[o],o,e))return o;return-1}}function a(t,e,n){return function(i,r,o){var a=0,s=P(i);if("number"==typeof o)t>0?a=o>=0?o:Math.max(o+s,a):s=o>=0?Math.min(o+1,s):o+s+1;else if(n&&o&&s)return o=n(i,r),i[o]===r?o:-1;if(r!==r)return o=e(p.call(i,a,s),E.isNaN),o>=0?o+a:-1
;for(o=t>0?a:s-1;o>=0&&o<s;o+=t)if(i[o]===r)return o;return-1}}function s(t,e){var n=R.length,i=t.constructor,r=E.isFunction(i)&&i.prototype||h,o="constructor";for(E.has(t,o)&&!E.contains(e,o)&&e.push(o);n--;)(o=R[n])in t&&t[o]!==r[o]&&!E.contains(e,o)&&e.push(o)}var u=this,c=u._,l=Array.prototype,h=Object.prototype,f=Function.prototype,d=l.push,p=l.slice,m=h.toString,g=h.hasOwnProperty,v=Array.isArray,y=Object.keys,b=f.bind,w=Object.create,_=function(){},E=function(t){
return t instanceof E?t:this instanceof E?void(this._wrapped=t):new E(t)};void 0!==t&&t.exports&&(e=t.exports=E),e._=E,E.VERSION="1.8.3";var x=function(t,e,n){if(void 0===e)return t;switch(null==n?3:n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,i){return t.call(e,n,i)};case 3:return function(n,i,r){return t.call(e,n,i,r)};case 4:return function(n,i,r,o){return t.call(e,n,i,r,o)}}return function(){return t.apply(e,arguments)}},T=function(t,e,n){
return null==t?E.identity:E.isFunction(t)?x(t,e,n):E.isObject(t)?E.matcher(t):E.property(t)};E.iteratee=function(t,e){return T(t,e,1/0)};var C=function(t,e){return function(n){var i=arguments.length;if(i<2||null==n)return n;for(var r=1;r<i;r++)for(var o=arguments[r],a=t(o),s=a.length,u=0;u<s;u++){var c=a[u];e&&void 0!==n[c]||(n[c]=o[c])}return n}},S=function(t){if(!E.isObject(t))return{};if(w)return w(t);_.prototype=t;var e=new _;return _.prototype=null,e},k=function(t){return function(e){
return null==e?void 0:e[t]}},M=Math.pow(2,53)-1,P=k("length"),N=function(t){var e=P(t);return"number"==typeof e&&e>=0&&e<=M};E.each=E.forEach=function(t,e,n){e=x(e,n);var i,r;if(N(t))for(i=0,r=t.length;i<r;i++)e(t[i],i,t);else{var o=E.keys(t);for(i=0,r=o.length;i<r;i++)e(t[o[i]],o[i],t)}return t},E.map=E.collect=function(t,e,n){e=T(e,n);for(var i=!N(t)&&E.keys(t),r=(i||t).length,o=Array(r),a=0;a<r;a++){var s=i?i[a]:a;o[a]=e(t[s],s,t)}return o},E.reduce=E.foldl=E.inject=n(1),
E.reduceRight=E.foldr=n(-1),E.find=E.detect=function(t,e,n){var i;if(void 0!==(i=N(t)?E.findIndex(t,e,n):E.findKey(t,e,n))&&-1!==i)return t[i]},E.filter=E.select=function(t,e,n){var i=[];return e=T(e,n),E.each(t,function(t,n,r){e(t,n,r)&&i.push(t)}),i},E.reject=function(t,e,n){return E.filter(t,E.negate(T(e)),n)},E.every=E.all=function(t,e,n){e=T(e,n);for(var i=!N(t)&&E.keys(t),r=(i||t).length,o=0;o<r;o++){var a=i?i[o]:o;if(!e(t[a],a,t))return!1}return!0},E.some=E.any=function(t,e,n){e=T(e,n)
;for(var i=!N(t)&&E.keys(t),r=(i||t).length,o=0;o<r;o++){var a=i?i[o]:o;if(e(t[a],a,t))return!0}return!1},E.contains=E.includes=E.include=function(t,e,n,i){return N(t)||(t=E.values(t)),("number"!=typeof n||i)&&(n=0),E.indexOf(t,e,n)>=0},E.invoke=function(t,e){var n=p.call(arguments,2),i=E.isFunction(e);return E.map(t,function(t){var r=i?e:t[e];return null==r?r:r.apply(t,n)})},E.pluck=function(t,e){return E.map(t,E.property(e))},E.where=function(t,e){return E.filter(t,E.matcher(e))},
E.findWhere=function(t,e){return E.find(t,E.matcher(e))},E.max=function(t,e,n){var i,r,o=-1/0,a=-1/0;if(null==e&&null!=t){t=N(t)?t:E.values(t);for(var s=0,u=t.length;s<u;s++)(i=t[s])>o&&(o=i)}else e=T(e,n),E.each(t,function(t,n,i){((r=e(t,n,i))>a||r===-1/0&&o===-1/0)&&(o=t,a=r)});return o},E.min=function(t,e,n){var i,r,o=1/0,a=1/0;if(null==e&&null!=t){t=N(t)?t:E.values(t);for(var s=0,u=t.length;s<u;s++)(i=t[s])<o&&(o=i)}else e=T(e,n),E.each(t,function(t,n,i){
((r=e(t,n,i))<a||r===1/0&&o===1/0)&&(o=t,a=r)});return o},E.shuffle=function(t){for(var e,n=N(t)?t:E.values(t),i=n.length,r=Array(i),o=0;o<i;o++)e=E.random(0,o),e!==o&&(r[o]=r[e]),r[e]=n[o];return r},E.sample=function(t,e,n){return null==e||n?(N(t)||(t=E.values(t)),t[E.random(t.length-1)]):E.shuffle(t).slice(0,Math.max(0,e))},E.sortBy=function(t,e,n){return e=T(e,n),E.pluck(E.map(t,function(t,n,i){return{value:t,index:n,criteria:e(t,n,i)}}).sort(function(t,e){var n=t.criteria,i=e.criteria
;if(n!==i){if(n>i||void 0===n)return 1;if(n<i||void 0===i)return-1}return t.index-e.index}),"value")};var I=function(t){return function(e,n,i){var r={};return n=T(n,i),E.each(e,function(i,o){var a=n(i,o,e);t(r,i,a)}),r}};E.groupBy=I(function(t,e,n){E.has(t,n)?t[n].push(e):t[n]=[e]}),E.indexBy=I(function(t,e,n){t[n]=e}),E.countBy=I(function(t,e,n){E.has(t,n)?t[n]++:t[n]=1}),E.toArray=function(t){return t?E.isArray(t)?p.call(t):N(t)?E.map(t,E.identity):E.values(t):[]},E.size=function(t){
return null==t?0:N(t)?t.length:E.keys(t).length},E.partition=function(t,e,n){e=T(e,n);var i=[],r=[];return E.each(t,function(t,n,o){(e(t,n,o)?i:r).push(t)}),[i,r]},E.first=E.head=E.take=function(t,e,n){if(null!=t)return null==e||n?t[0]:E.initial(t,t.length-e)},E.initial=function(t,e,n){return p.call(t,0,Math.max(0,t.length-(null==e||n?1:e)))},E.last=function(t,e,n){if(null!=t)return null==e||n?t[t.length-1]:E.rest(t,Math.max(0,t.length-e))},E.rest=E.tail=E.drop=function(t,e,n){
return p.call(t,null==e||n?1:e)},E.compact=function(t){return E.filter(t,E.identity)};var A=function(t,e,n,i){for(var r=[],o=0,a=i||0,s=P(t);a<s;a++){var u=t[a];if(N(u)&&(E.isArray(u)||E.isArguments(u))){e||(u=A(u,e,n));var c=0,l=u.length;for(r.length+=l;c<l;)r[o++]=u[c++]}else n||(r[o++]=u)}return r};E.flatten=function(t,e){return A(t,e,!1)},E.without=function(t){return E.difference(t,p.call(arguments,1))},E.uniq=E.unique=function(t,e,n,i){E.isBoolean(e)||(i=n,n=e,e=!1),null!=n&&(n=T(n,i))
;for(var r=[],o=[],a=0,s=P(t);a<s;a++){var u=t[a],c=n?n(u,a,t):u;e?(a&&o===c||r.push(u),o=c):n?E.contains(o,c)||(o.push(c),r.push(u)):E.contains(r,u)||r.push(u)}return r},E.union=function(){return E.uniq(A(arguments,!0,!0))},E.intersection=function(t){for(var e=[],n=arguments.length,i=0,r=P(t);i<r;i++){var o=t[i];if(!E.contains(e,o)){for(var a=1;a<n&&E.contains(arguments[a],o);a++);a===n&&e.push(o)}}return e},E.difference=function(t){var e=A(arguments,!0,!0,1);return E.filter(t,function(t){
return!E.contains(e,t)})},E.zip=function(){return E.unzip(arguments)},E.unzip=function(t){for(var e=t&&E.max(t,P).length||0,n=Array(e),i=0;i<e;i++)n[i]=E.pluck(t,i);return n},E.object=function(t,e){for(var n={},i=0,r=P(t);i<r;i++)e?n[t[i]]=e[i]:n[t[i][0]]=t[i][1];return n},E.findIndex=o(1),E.findLastIndex=o(-1),E.sortedIndex=function(t,e,n,i){n=T(n,i,1);for(var r=n(e),o=0,a=P(t);o<a;){var s=Math.floor((o+a)/2);n(t[s])<r?o=s+1:a=s}return o},E.indexOf=a(1,E.findIndex,E.sortedIndex),
E.lastIndexOf=a(-1,E.findLastIndex),E.range=function(t,e,n){null==e&&(e=t||0,t=0),n=n||1;for(var i=Math.max(Math.ceil((e-t)/n),0),r=Array(i),o=0;o<i;o++,t+=n)r[o]=t;return r};var D=function(t,e,n,i,r){if(!(i instanceof e))return t.apply(n,r);var o=S(t.prototype),a=t.apply(o,r);return E.isObject(a)?a:o};E.bind=function(t,e){if(b&&t.bind===b)return b.apply(t,p.call(arguments,1));if(!E.isFunction(t))throw new TypeError("Bind must be called on a function");var n=p.call(arguments,2),i=function(){
return D(t,i,e,this,n.concat(p.call(arguments)))};return i},E.partial=function(t){var e=p.call(arguments,1),n=function(){for(var i=0,r=e.length,o=Array(r),a=0;a<r;a++)o[a]=e[a]===E?arguments[i++]:e[a];for(;i<arguments.length;)o.push(arguments[i++]);return D(t,n,this,this,o)};return n},E.bindAll=function(t){var e,n,i=arguments.length;if(i<=1)throw new Error("bindAll must be passed function names");for(e=1;e<i;e++)n=arguments[e],t[n]=E.bind(t[n],t);return t},E.memoize=function(t,e){
var n=function(i){var r=n.cache,o=""+(e?e.apply(this,arguments):i);return E.has(r,o)||(r[o]=t.apply(this,arguments)),r[o]};return n.cache={},n},E.delay=function(t,e){var n=p.call(arguments,2);return setTimeout(function(){return t.apply(null,n)},e)},E.defer=E.partial(E.delay,E,1),E.throttle=function(t,e,n){var i,r,o,a=null,s=0;n||(n={});var u=function(){s=!1===n.leading?0:E.now(),a=null,o=t.apply(i,r),a||(i=r=null)};return function(){var c=E.now();s||!1!==n.leading||(s=c);var l=e-(c-s)
;return i=this,r=arguments,l<=0||l>e?(a&&(clearTimeout(a),a=null),s=c,o=t.apply(i,r),a||(i=r=null)):a||!1===n.trailing||(a=setTimeout(u,l)),o}},E.debounce=function(t,e,n){var i,r,o,a,s,u=function(){var c=E.now()-a;c<e&&c>=0?i=setTimeout(u,e-c):(i=null,n||(s=t.apply(o,r),i||(o=r=null)))};return function(){o=this,r=arguments,a=E.now();var c=n&&!i;return i||(i=setTimeout(u,e)),c&&(s=t.apply(o,r),o=r=null),s}},E.wrap=function(t,e){return E.partial(e,t)},E.negate=function(t){return function(){
return!t.apply(this,arguments)}},E.compose=function(){var t=arguments,e=t.length-1;return function(){for(var n=e,i=t[e].apply(this,arguments);n--;)i=t[n].call(this,i);return i}},E.after=function(t,e){return function(){if(--t<1)return e.apply(this,arguments)}},E.before=function(t,e){var n;return function(){return--t>0&&(n=e.apply(this,arguments)),t<=1&&(e=null),n}},E.once=E.partial(E.before,2);var O=!{toString:null
}.propertyIsEnumerable("toString"),R=["valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"];E.keys=function(t){if(!E.isObject(t))return[];if(y)return y(t);var e=[];for(var n in t)E.has(t,n)&&e.push(n);return O&&s(t,e),e},E.allKeys=function(t){if(!E.isObject(t))return[];var e=[];for(var n in t)e.push(n);return O&&s(t,e),e},E.values=function(t){for(var e=E.keys(t),n=e.length,i=Array(n),r=0;r<n;r++)i[r]=t[e[r]];return i},E.mapObject=function(t,e,n){e=T(e,n)
;for(var i,r=E.keys(t),o=r.length,a={},s=0;s<o;s++)i=r[s],a[i]=e(t[i],i,t);return a},E.pairs=function(t){for(var e=E.keys(t),n=e.length,i=Array(n),r=0;r<n;r++)i[r]=[e[r],t[e[r]]];return i},E.invert=function(t){for(var e={},n=E.keys(t),i=0,r=n.length;i<r;i++)e[t[n[i]]]=n[i];return e},E.functions=E.methods=function(t){var e=[];for(var n in t)E.isFunction(t[n])&&e.push(n);return e.sort()},E.extend=C(E.allKeys),E.extendOwn=E.assign=C(E.keys),E.findKey=function(t,e,n){e=T(e,n)
;for(var i,r=E.keys(t),o=0,a=r.length;o<a;o++)if(i=r[o],e(t[i],i,t))return i},E.pick=function(t,e,n){var i,r,o={},a=t;if(null==a)return o;E.isFunction(e)?(r=E.allKeys(a),i=x(e,n)):(r=A(arguments,!1,!1,1),i=function(t,e,n){return e in n},a=Object(a));for(var s=0,u=r.length;s<u;s++){var c=r[s],l=a[c];i(l,c,a)&&(o[c]=l)}return o},E.omit=function(t,e,n){if(E.isFunction(e))e=E.negate(e);else{var i=E.map(A(arguments,!1,!1,1),String);e=function(t,e){return!E.contains(i,e)}}return E.pick(t,e,n)},
E.defaults=C(E.allKeys,!0),E.create=function(t,e){var n=S(t);return e&&E.extendOwn(n,e),n},E.clone=function(t){return E.isObject(t)?E.isArray(t)?t.slice():E.extend({},t):t},E.tap=function(t,e){return e(t),t},E.isMatch=function(t,e){var n=E.keys(e),i=n.length;if(null==t)return!i;for(var r=Object(t),o=0;o<i;o++){var a=n[o];if(e[a]!==r[a]||!(a in r))return!1}return!0};var L=function(t,e,n,i){if(t===e)return 0!==t||1/t==1/e;if(null==t||null==e)return t===e;t instanceof E&&(t=t._wrapped),
e instanceof E&&(e=e._wrapped);var r=m.call(t);if(r!==m.call(e))return!1;switch(r){case"[object RegExp]":case"[object String]":return""+t==""+e;case"[object Number]":return+t!=+t?+e!=+e:0==+t?1/+t==1/e:+t==+e;case"[object Date]":case"[object Boolean]":return+t==+e}var o="[object Array]"===r;if(!o){if("object"!=typeof t||"object"!=typeof e)return!1;var a=t.constructor,s=e.constructor
;if(a!==s&&!(E.isFunction(a)&&a instanceof a&&E.isFunction(s)&&s instanceof s)&&"constructor"in t&&"constructor"in e)return!1}n=n||[],i=i||[];for(var u=n.length;u--;)if(n[u]===t)return i[u]===e;if(n.push(t),i.push(e),o){if((u=t.length)!==e.length)return!1;for(;u--;)if(!L(t[u],e[u],n,i))return!1}else{var c,l=E.keys(t);if(u=l.length,E.keys(e).length!==u)return!1;for(;u--;)if(c=l[u],!E.has(e,c)||!L(t[c],e[c],n,i))return!1}return n.pop(),i.pop(),!0};E.isEqual=function(t,e){return L(t,e)},
E.isEmpty=function(t){return null==t||(N(t)&&(E.isArray(t)||E.isString(t)||E.isArguments(t))?0===t.length:0===E.keys(t).length)},E.isElement=function(t){return!(!t||1!==t.nodeType)},E.isArray=v||function(t){return"[object Array]"===m.call(t)},E.isObject=function(t){var e=typeof t;return"function"===e||"object"===e&&!!t},E.each(["Arguments","Function","String","Number","Date","RegExp","Error"],function(t){E["is"+t]=function(e){return m.call(e)==="[object "+t+"]"}}),
E.isArguments(arguments)||(E.isArguments=function(t){return E.has(t,"callee")}),"function"!=typeof/./&&"object"!=typeof Int8Array&&(E.isFunction=function(t){return"function"==typeof t||!1}),E.isFinite=function(t){return isFinite(t)&&!isNaN(parseFloat(t))},E.isNaN=function(t){return E.isNumber(t)&&t!==+t},E.isBoolean=function(t){return!0===t||!1===t||"[object Boolean]"===m.call(t)},E.isNull=function(t){return null===t},E.isUndefined=function(t){return void 0===t},E.has=function(t,e){
return null!=t&&g.call(t,e)},E.noConflict=function(){return u._=c,this},E.identity=function(t){return t},E.constant=function(t){return function(){return t}},E.noop=function(){},E.property=k,E.propertyOf=function(t){return null==t?function(){}:function(e){return t[e]}},E.matcher=E.matches=function(t){return t=E.extendOwn({},t),function(e){return E.isMatch(e,t)}},E.times=function(t,e,n){var i=Array(Math.max(0,t));e=x(e,n,1);for(var r=0;r<t;r++)i[r]=e(r);return i},E.random=function(t,e){
return null==e&&(e=t,t=0),t+Math.floor(Math.random()*(e-t+1))},E.now=Date.now||function(){return(new Date).getTime()};var j={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;","`":"&#x60;"},U=E.invert(j),F=function(t){var e=function(e){return t[e]},n="(?:"+E.keys(t).join("|")+")",i=RegExp(n),r=RegExp(n,"g");return function(t){return t=null==t?"":""+t,i.test(t)?t.replace(r,e):t}};E.escape=F(j),E.unescape=F(U),E.result=function(t,e,n){var i=null==t?void 0:t[e];return void 0===i&&(i=n),
E.isFunction(i)?i.call(t):i};var B=0;E.uniqueId=function(t){var e=++B+"";return t?t+e:e},E.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g};var H=/(.)^/,V={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"},q=/\\|'|\r|\n|\u2028|\u2029/g,W=function(t){return"\\"+V[t]};E.template=function(t,e,n){!e&&n&&(e=n),e=E.defaults({},e,E.templateSettings)
;var i=RegExp([(e.escape||H).source,(e.interpolate||H).source,(e.evaluate||H).source].join("|")+"|$","g"),r=0,o="__p+='";t.replace(i,function(e,n,i,a,s){return o+=t.slice(r,s).replace(q,W),r=s+e.length,n?o+="'+\n((__t=("+n+"))==null?'':_.escape(__t))+\n'":i?o+="'+\n((__t=("+i+"))==null?'':__t)+\n'":a&&(o+="';\n"+a+"\n__p+='"),e}),o+="';\n",e.variable||(o="with(obj||{}){\n"+o+"}\n"),o="var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};\n"+o+"return __p;\n"
;try{var a=new Function(e.variable||"obj","_",o)}catch(t){throw t.source=o,t}var s=function(t){return a.call(this,t,E)};return s.source="function("+(e.variable||"obj")+"){\n"+o+"}",s},E.chain=function(t){var e=E(t);return e._chain=!0,e};var z=function(t,e){return t._chain?E(e).chain():e};E.mixin=function(t){E.each(E.functions(t),function(e){var n=E[e]=t[e];E.prototype[e]=function(){var t=[this._wrapped];return d.apply(t,arguments),z(this,n.apply(E,t))}})},E.mixin(E),
E.each(["pop","push","reverse","shift","sort","splice","unshift"],function(t){var e=l[t];E.prototype[t]=function(){var n=this._wrapped;return e.apply(n,arguments),"shift"!==t&&"splice"!==t||0!==n.length||delete n[0],z(this,n)}}),E.each(["concat","join","slice"],function(t){var e=l[t];E.prototype[t]=function(){return z(this,e.apply(this._wrapped,arguments))}}),E.prototype.value=function(){return this._wrapped},E.prototype.valueOf=E.prototype.toJSON=E.prototype.value,
E.prototype.toString=function(){return""+this._wrapped},i=[],void 0!==(r=function(){return E}.apply(e,i))&&(t.exports=r)}).call(this)},332:function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},333:function(t,e,n){t.exports=!n(506)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},334:function(t,e,n){var i=n(510),r=n(1185),o=n(728),a=Object.defineProperty;e.f=n(333)?Object.defineProperty:function(t,e,n){if(i(t),e=o(e,!0),i(n),r)try{
return a(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},335:function(t,e,n){var i=n(1191),r=n(1192);t.exports=function(t){return i(r(t))}},3518:function(t,e,n){n(3519),n(3536),n(3543),n(3),n(11),n(272),n(752),n(0),n(38),t.exports=n(41)},3519:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(3520);n.n(i)},3520:function(t,e,n){n(3521),n(3534),t.exports=n(508).Symbol},
3521:function(t,e,n){"use strict"
;var i=n(227),r=n(332),o=n(333),a=n(507),s=n(730),u=n(3523).KEY,c=n(506),l=n(731),h=n(3524),f=n(394),d=n(266),p=n(1188),m=n(3525),g=n(3526),v=n(3528),y=n(1198),b=n(510),w=n(335),_=n(728),E=n(729),x=n(3529),T=n(3532),C=n(3533),S=n(334),k=n(511),M=C.f,P=S.f,N=T.f,I=i.Symbol,A=i.JSON,D=A&&A.stringify,O=d("_hidden"),R=d("toPrimitive"),L={}.propertyIsEnumerable,j=l("symbol-registry"),U=l("symbols"),F=l("op-symbols"),B=Object.prototype,H="function"==typeof I,V=i.QObject,q=!V||!V.prototype||!V.prototype.findChild,W=o&&c(function(){
return 7!=x(P({},"a",{get:function(){return P(this,"a",{value:7}).a}})).a})?function(t,e,n){var i=M(B,e);i&&delete B[e],P(t,e,n),i&&t!==B&&P(B,e,i)}:P,z=function(t){var e=U[t]=x(I.prototype);return e._k=t,e},Y=H&&"symbol"==typeof I.iterator?function(t){return"symbol"==typeof t}:function(t){return t instanceof I},K=function(t,e,n){return t===B&&K(F,e,n),b(t),e=_(e,!0),b(n),r(U,e)?(n.enumerable?(r(t,O)&&t[O][e]&&(t[O][e]=!1),n=x(n,{enumerable:E(0,!1)})):(r(t,O)||P(t,O,E(1,{})),t[O][e]=!0),
W(t,e,n)):P(t,e,n)},$=function(t,e){b(t);for(var n,i=v(e=w(e)),r=0,o=i.length;o>r;)K(t,n=i[r++],e[n]);return t},G=function(t,e){return void 0===e?x(t):$(x(t),e)},X=function(t){var e=L.call(this,t=_(t,!0));return!(this===B&&r(U,t)&&!r(F,t))&&(!(e||!r(this,t)||!r(U,t)||r(this,O)&&this[O][t])||e)},J=function(t,e){if(t=w(t),e=_(e,!0),t!==B||!r(U,e)||r(F,e)){var n=M(t,e);return!n||!r(U,e)||r(t,O)&&t[O][e]||(n.enumerable=!0),n}},Q=function(t){
for(var e,n=N(w(t)),i=[],o=0;n.length>o;)r(U,e=n[o++])||e==O||e==u||i.push(e);return i},Z=function(t){for(var e,n=t===B,i=N(n?F:w(t)),o=[],a=0;i.length>a;)!r(U,e=i[a++])||n&&!r(B,e)||o.push(U[e]);return o};H||(I=function(){if(this instanceof I)throw TypeError("Symbol is not a constructor!");var t=f(arguments.length>0?arguments[0]:void 0),e=function(n){this===B&&e.call(F,n),r(this,O)&&r(this[O],t)&&(this[O][t]=!1),W(this,t,E(1,n))};return o&&q&&W(B,t,{configurable:!0,set:e}),z(t)},
s(I.prototype,"toString",function(){return this._k}),C.f=J,S.f=K,n(1199).f=T.f=Q,n(734).f=X,n(1197).f=Z,o&&!n(1189)&&s(B,"propertyIsEnumerable",X,!0),p.f=function(t){return z(d(t))}),a(a.G+a.W+a.F*!H,{Symbol:I});for(var tt="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),et=0;tt.length>et;)d(tt[et++]);for(var tt=k(d.store),et=0;tt.length>et;)m(tt[et++]);a(a.S+a.F*!H,"Symbol",{for:function(t){
return r(j,t+="")?j[t]:j[t]=I(t)},keyFor:function(t){if(Y(t))return g(j,t);throw TypeError(t+" is not a symbol!")},useSetter:function(){q=!0},useSimple:function(){q=!1}}),a(a.S+a.F*!H,"Object",{create:G,defineProperty:K,defineProperties:$,getOwnPropertyDescriptor:J,getOwnPropertyNames:Q,getOwnPropertySymbols:Z}),A&&a(a.S+a.F*(!H||c(function(){var t=I();return"[null]"!=D([t])||"{}"!=D({a:t})||"{}"!=D(Object(t))})),"JSON",{stringify:function(t){if(void 0!==t&&!Y(t)){
for(var e,n,i=[t],r=1;arguments.length>r;)i.push(arguments[r++]);return e=i[1],"function"==typeof e&&(n=e),!n&&y(e)||(e=function(t,e){if(n&&(e=n.call(this,t,e)),!Y(e))return e}),i[1]=e,D.apply(A,i)}}}),I.prototype[R]||n(509)(I.prototype,R,I.prototype.valueOf),h(I,"Symbol"),h(Math,"Math",!0),h(i.JSON,"JSON",!0)},3522:function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},3523:function(t,e,n){
var i=n(394)("meta"),r=n(393),o=n(332),a=n(334).f,s=0,u=Object.isExtensible||function(){return!0},c=!n(506)(function(){return u(Object.preventExtensions({}))}),l=function(t){a(t,i,{value:{i:"O"+ ++s,w:{}}})},h=function(t,e){if(!r(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!o(t,i)){if(!u(t))return"F";if(!e)return"E";l(t)}return t[i].i},f=function(t,e){if(!o(t,i)){if(!u(t))return!0;if(!e)return!1;l(t)}return t[i].w},d=function(t){return c&&p.NEED&&u(t)&&!o(t,i)&&l(t),t
},p=t.exports={KEY:i,NEED:!1,fastKey:h,getWeak:f,onFreeze:d}},3524:function(t,e,n){var i=n(334).f,r=n(332),o=n(266)("toStringTag");t.exports=function(t,e,n){t&&!r(t=n?t:t.prototype,o)&&i(t,o,{configurable:!0,value:e})}},3525:function(t,e,n){var i=n(227),r=n(508),o=n(1189),a=n(1188),s=n(334).f;t.exports=function(t){var e=r.Symbol||(r.Symbol=o?{}:i.Symbol||{});"_"==t.charAt(0)||t in e||s(e,t,{value:a.f(t)})}},3526:function(t,e,n){var i=n(511),r=n(335);t.exports=function(t,e){
for(var n,o=r(t),a=i(o),s=a.length,u=0;s>u;)if(o[n=a[u++]]===e)return n}},3527:function(t,e,n){var i=n(1195),r=Math.max,o=Math.min;t.exports=function(t,e){return t=i(t),t<0?r(t+e,0):o(t,e)}},3528:function(t,e,n){var i=n(511),r=n(1197),o=n(734);t.exports=function(t){var e=i(t),n=r.f;if(n)for(var a,s=n(t),u=o.f,c=0;s.length>c;)u.call(t,a=s[c++])&&e.push(a);return e}},3529:function(t,e,n){var i=n(510),r=n(3530),o=n(733),a=n(1196)("IE_PROTO"),s=function(){},u=function(){
var t,e=n(1186)("iframe"),i=o.length;for(e.style.display="none",n(3531).appendChild(e),e.src="javascript:",t=e.contentWindow.document,t.open(),t.write("<script>document.F=Object<\/script>"),t.close(),u=t.F;i--;)delete u.prototype[o[i]];return u()};t.exports=Object.create||function(t,e){var n;return null!==t?(s.prototype=i(t),n=new s,s.prototype=null,n[a]=t):n=u(),void 0===e?n:r(n,e)}},3530:function(t,e,n){var i=n(334),r=n(510),o=n(511);t.exports=n(333)?Object.defineProperties:function(t,e){r(t)
;for(var n,a=o(e),s=a.length,u=0;s>u;)i.f(t,n=a[u++],e[n]);return t}},3531:function(t,e,n){t.exports=n(227).document&&document.documentElement},3532:function(t,e,n){var i=n(335),r=n(1199).f,o={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],s=function(t){try{return r(t)}catch(t){return a.slice()}};t.exports.f=function(t){return a&&"[object Window]"==o.call(t)?s(t):r(i(t))}},3533:function(t,e,n){
var i=n(734),r=n(729),o=n(335),a=n(728),s=n(332),u=n(1185),c=Object.getOwnPropertyDescriptor;e.f=n(333)?c:function(t,e){if(t=o(t),e=a(e,!0),u)try{return c(t,e)}catch(t){}if(s(t,e))return r(!i.f.call(t,e),t[e])}},3534:function(t,e,n){"use strict";var i=n(3535),r={};r[n(266)("toStringTag")]="z",r+""!="[object z]"&&n(730)(Object.prototype,"toString",function(){return"[object "+i(this)+"]"},!0)},3535:function(t,e,n){var i=n(732),r=n(266)("toStringTag"),o="Arguments"==i(function(){return arguments
}()),a=function(t,e){try{return t[e]}catch(t){}};t.exports=function(t){var e,n,s;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=a(e=Object(t),r))?n:o?i(e):"Object"==(s=i(e))&&"function"==typeof e.callee?"Arguments":s}},3536:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(3537),r=(n.n(i),n(3541)),o=(n.n(r),n(3542));n.n(o)},3537:function(t,e,n){"use strict";var i=n(507),r=n(1200)(5),o=!0;"find"in[]&&Array(1).find(function(){o=!1}),
i(i.P+i.F*o,"Array",{find:function(t){return r(this,t,arguments.length>1?arguments[1]:void 0)}}),n(735)("find")},3538:function(t,e,n){var i=n(1192);t.exports=function(t){return Object(i(t))}},3539:function(t,e,n){var i=n(3540);t.exports=function(t,e){return new(i(t))(e)}},3540:function(t,e,n){var i=n(393),r=n(1198),o=n(266)("species");t.exports=function(t){var e;return r(t)&&(e=t.constructor,"function"!=typeof e||e!==Array&&!r(e.prototype)||(e=void 0),i(e)&&null===(e=e[o])&&(e=void 0)),
void 0===e?Array:e}},3541:function(t,e,n){"use strict";var i=n(507),r=n(1200)(6),o="findIndex",a=!0;o in[]&&Array(1)[o](function(){a=!1}),i(i.P+i.F*a,"Array",{findIndex:function(t){return r(this,t,arguments.length>1?arguments[1]:void 0)}}),n(735)(o)},3542:function(t,e,n){"use strict";var i=n(507),r=n(1193)(!0);i(i.P,"Array",{includes:function(t){return r(this,t,arguments.length>1?arguments[1]:void 0)}}),n(735)("includes")},3543:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{
value:!0});var i=n(1184);n.n(i);i.polyfill.installAll()},358:function(t,e,n){"use strict";var i={};t.exports=i},359:function(t,e,n){"use strict";function i(t){return"button"===t||"input"===t||"select"===t||"textarea"===t}function r(t,e,n){switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":return!(!n.disabled||!i(e));default:return!1
}}var o=n(54),a=n(424),s=n(581),u=n(582),c=n(840),l=n(841),h=(n(42),{}),f=null,d=function(t,e){t&&(s.executeDispatchesInOrder(t,e),t.isPersistent()||t.constructor.release(t))},p=function(t){return d(t,!0)},m=function(t){return d(t,!1)},g=function(t){return"."+t._rootNodeID},v={injection:{injectEventPluginOrder:a.injectEventPluginOrder,injectEventPluginsByName:a.injectEventPluginsByName},putListener:function(t,e,n){"function"!=typeof n&&o("94",e,typeof n);var i=g(t);(h[e]||(h[e]={}))[i]=n
;var r=a.registrationNameModules[e];r&&r.didPutListener&&r.didPutListener(t,e,n)},getListener:function(t,e){var n=h[e];if(r(e,t._currentElement.type,t._currentElement.props))return null;var i=g(t);return n&&n[i]},deleteListener:function(t,e){var n=a.registrationNameModules[e];n&&n.willDeleteListener&&n.willDeleteListener(t,e);var i=h[e];if(i){delete i[g(t)]}},deleteAllListeners:function(t){var e=g(t);for(var n in h)if(h.hasOwnProperty(n)&&h[n][e]){var i=a.registrationNameModules[n]
;i&&i.willDeleteListener&&i.willDeleteListener(t,n),delete h[n][e]}},extractEvents:function(t,e,n,i){for(var r,o=a.plugins,s=0;s<o.length;s++){var u=o[s];if(u){var l=u.extractEvents(t,e,n,i);l&&(r=c(r,l))}}return r},enqueueEvents:function(t){t&&(f=c(f,t))},processEventQueue:function(t){var e=f;f=null,t?l(e,p):l(e,m),f&&o("95"),u.rethrowCaughtError()},__purge:function(){h={}},__getListenerBank:function(){return h}};t.exports=v},360:function(t,e,n){"use strict";function i(t,e,n,i){
return r.call(this,t,e,n,i)}var r=n(169),o=n(583),a={view:function(t){if(t.view)return t.view;var e=o(t);if(e.window===e)return e;var n=e.ownerDocument;return n?n.defaultView||n.parentWindow:window},detail:function(t){return t.detail||0}};r.augmentClass(i,a),t.exports=i},361:function(t,e,n){"use strict";var i={remove:function(t){t._reactInternalInstance=void 0},get:function(t){return t._reactInternalInstance},has:function(t){return void 0!==t._reactInternalInstance},set:function(t,e){
t._reactInternalInstance=e}};t.exports=i},38:function(t,e,n){"use strict";t.exports=n(1726)},393:function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},394:function(t,e){var n=0,i=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+i).toString(36))}},406:function(t,e){t.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],t.children||(t.children=[]),Object.defineProperty(t,"loaded",{
enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),t.webpackPolyfill=1),t}},41:function(t,e,n){(function(t){var i;//! moment.js
//! version : 2.4.0
//! authors : Tim Wood, Iskren Chernev, Moment.js contributors
//! license : MIT
//! momentjs.com
(function(r){function o(t,e){return function(n){return h(t.call(this,n),e)}}function a(){}function s(t){E(t),c(this,t)}function u(t){var e=v(t),n=e.year||0,i=e.month||0,r=e.week||0,o=e.day||0,a=e.hour||0,s=e.minute||0,u=e.second||0,c=e.millisecond||0;this._input=t,this._milliseconds=+c+1e3*u+6e4*s+36e5*a,this._days=+o+7*r,this._months=+i+12*n,this._data={},this._bubble()}function c(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);return e.hasOwnProperty("toString")&&(t.toString=e.toString),
e.hasOwnProperty("valueOf")&&(t.valueOf=e.valueOf),t}function l(t){return t<0?Math.ceil(t):Math.floor(t)}function h(t,e){for(var n=t+"";n.length<e;)n="0"+n;return n}function f(t,e,n,i){var r,o,a=e._milliseconds,s=e._days,u=e._months;a&&t._d.setTime(+t._d+a*n),(s||u)&&(r=t.minute(),o=t.hour()),s&&t.date(t.date()+s*n),u&&t.month(t.month()+u*n),a&&!i&&nt.updateOffset(t),(s||u)&&(t.minute(r),t.hour(o))}function d(t){return"[object Array]"===Object.prototype.toString.call(t)}function p(t){
return"[object Date]"===Object.prototype.toString.call(t)||t instanceof Date}function m(t,e,n){var i,r=Math.min(t.length,e.length),o=Math.abs(t.length-e.length),a=0;for(i=0;i<r;i++)(n&&t[i]!==e[i]||!n&&y(t[i])!==y(e[i]))&&a++;return a+o}function g(t){if(t){var e=t.toLowerCase().replace(/(.)s$/,"$1");t=Rt[t]||Lt[e]||e}return t}function v(t){var e,n,i={};for(n in t)t.hasOwnProperty(n)&&(e=g(n))&&(i[e]=t[n]);return i}function y(t){var e=+t,n=0
;return 0!==e&&isFinite(e)&&(n=e>=0?Math.floor(e):Math.ceil(e)),n}function b(t,e){return new Date(Date.UTC(t,e+1,0)).getUTCDate()}function w(t){return _(t)?366:365}function _(t){return t%4==0&&t%100!=0||t%400==0}function E(t){var e;t._a&&-2===t._pf.overflow&&(e=t._a[at]<0||t._a[at]>11?at:t._a[st]<1||t._a[st]>b(t._a[ot],t._a[at])?st:t._a[ut]<0||t._a[ut]>23?ut:t._a[ct]<0||t._a[ct]>59?ct:t._a[lt]<0||t._a[lt]>59?lt:t._a[ht]<0||t._a[ht]>999?ht:-1,t._pf._overflowDayOfYear&&(e<ot||e>st)&&(e=st),
t._pf.overflow=e)}function x(t){t._pf={empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1}}function T(t){return null==t._isValid&&(t._isValid=!isNaN(t._d.getTime())&&t._pf.overflow<0&&!t._pf.empty&&!t._pf.invalidMonth&&!t._pf.nullInput&&!t._pf.invalidFormat&&!t._pf.userInvalidated,t._strict&&(t._isValid=t._isValid&&0===t._pf.charsLeftOver&&0===t._pf.unusedTokens.length)),t._isValid}function C(t){
return t?t.toLowerCase().replace("_","-"):t}function S(t,e){return e.abbr=t,ft[t]||(ft[t]=new a),ft[t].set(e),ft[t]}function k(t){delete ft[t]}function M(t){var e,n,i,r,o=0,a=function(t){if(!ft[t]&&dt)try{!function(){var t=new Error('Cannot find module "./lang"');throw t.code="MODULE_NOT_FOUND",t}()}catch(t){}return ft[t]};if(!t)return nt.fn._lang;if(!d(t)){if(n=a(t))return n;t=[t]}for(;o<t.length;){for(r=C(t[o]).split("-"),e=r.length,i=C(t[o+1]),i=i?i.split("-"):null;e>0;){
if(n=a(r.slice(0,e).join("-")))return n;if(i&&i.length>=e&&m(r,i,!0)>=e-1)break;e--}o++}return nt.fn._lang}function P(t){return t.match(/\[[\s\S]/)?t.replace(/^\[|\]$/g,""):t.replace(/\\/g,"")}function N(t){var e,n,i=t.match(vt);for(e=0,n=i.length;e<n;e++)Bt[i[e]]?i[e]=Bt[i[e]]:i[e]=P(i[e]);return function(r){var o="";for(e=0;e<n;e++)o+=i[e]instanceof Function?i[e].call(r,t):i[e];return o}}function I(t,e){return t.isValid()?(e=A(e,t.lang()),jt[e]||(jt[e]=N(e)),jt[e](t)):t.lang().invalidDate()}
function A(t,e){function n(t){return e.longDateFormat(t)||t}var i=5;for(yt.lastIndex=0;i>=0&&yt.test(t);)t=t.replace(yt,n),yt.lastIndex=0,i-=1;return t}function D(t,e){switch(t){case"DDDD":return _t;case"YYYY":case"GGGG":case"gggg":return Et;case"YYYYY":case"GGGGG":case"ggggg":return xt;case"S":case"SS":case"SSS":case"DDD":return wt;case"MMM":case"MMMM":case"dd":case"ddd":case"dddd":return Ct;case"a":case"A":return M(e._l)._meridiemParse;case"X":return Mt;case"Z":case"ZZ":return St;case"T":
return kt;case"SSSS":return Tt;case"MM":case"DD":case"YY":case"GG":case"gg":case"HH":case"hh":case"mm":case"ss":case"M":case"D":case"d":case"H":case"h":case"m":case"s":case"w":case"ww":case"W":case"WW":case"e":case"E":return bt;default:return new RegExp(H(B(t.replace("\\",""))))}}function O(t){var e=(St.exec(t)||[])[0],n=(e+"").match(At)||["-",0,0],i=60*n[1]+y(n[2]);return"+"===n[0]?-i:i}function R(t,e,n){var i,r=n._a;switch(t){case"M":case"MM":null!=e&&(r[at]=y(e)-1);break;case"MMM":case"MMMM":
i=M(n._l).monthsParse(e),null!=i?r[at]=i:n._pf.invalidMonth=e;break;case"D":case"DD":null!=e&&(r[st]=y(e));break;case"DDD":case"DDDD":null!=e&&(n._dayOfYear=y(e));break;case"YY":r[ot]=y(e)+(y(e)>68?1900:2e3);break;case"YYYY":case"YYYYY":r[ot]=y(e);break;case"a":case"A":n._isPm=M(n._l).isPM(e);break;case"H":case"HH":case"h":case"hh":r[ut]=y(e);break;case"m":case"mm":r[ct]=y(e);break;case"s":case"ss":r[lt]=y(e);break;case"S":case"SS":case"SSS":case"SSSS":r[ht]=y(1e3*("0."+e));break;case"X":
n._d=new Date(1e3*parseFloat(e));break;case"Z":case"ZZ":n._useUTC=!0,n._tzm=O(e);break;case"w":case"ww":case"W":case"WW":case"d":case"dd":case"ddd":case"dddd":case"e":case"E":t=t.substr(0,1);case"gg":case"gggg":case"GG":case"GGGG":case"GGGGG":t=t.substr(0,2),e&&(n._w=n._w||{},n._w[t]=e)}}function L(t){var e,n,i,r,o,a,s,u,c,l,h=[];if(!t._d){for(i=U(t),t._w&&null==t._a[st]&&null==t._a[at]&&(o=function(e){return e?e.length<3?parseInt(e,10)>68?"19"+e:"20"+e:e:null==t._a[ot]?nt().weekYear():t._a[ot]
},a=t._w,null!=a.GG||null!=a.W||null!=a.E?s=J(o(a.GG),a.W||1,a.E,4,1):(u=M(t._l),c=null!=a.d?K(a.d,u):null!=a.e?parseInt(a.e,10)+u._week.dow:0,l=parseInt(a.w,10)||1,null!=a.d&&c<u._week.dow&&l++,s=J(o(a.gg),l,c,u._week.doy,u._week.dow)),t._a[ot]=s.year,t._dayOfYear=s.dayOfYear),t._dayOfYear&&(r=null==t._a[ot]?i[ot]:t._a[ot],t._dayOfYear>w(r)&&(t._pf._overflowDayOfYear=!0),n=Y(r,0,t._dayOfYear),t._a[at]=n.getUTCMonth(),t._a[st]=n.getUTCDate()),e=0;e<3&&null==t._a[e];++e)t._a[e]=h[e]=i[e]
;for(;e<7;e++)t._a[e]=h[e]=null==t._a[e]?2===e?1:0:t._a[e];h[ut]+=y((t._tzm||0)/60),h[ct]+=y((t._tzm||0)%60),t._d=(t._useUTC?Y:z).apply(null,h)}}function j(t){var e;t._d||(e=v(t._i),t._a=[e.year,e.month,e.day,e.hour,e.minute,e.second,e.millisecond],L(t))}function U(t){var e=new Date;return t._useUTC?[e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()]:[e.getFullYear(),e.getMonth(),e.getDate()]}function F(t){t._a=[],t._pf.empty=!0;var e,n,i,r,o,a=M(t._l),s=""+t._i,u=s.length,c=0
;for(i=A(t._f,a).match(vt)||[],e=0;e<i.length;e++)r=i[e],n=(D(r,t).exec(s)||[])[0],n&&(o=s.substr(0,s.indexOf(n)),o.length>0&&t._pf.unusedInput.push(o),s=s.slice(s.indexOf(n)+n.length),c+=n.length),Bt[r]?(n?t._pf.empty=!1:t._pf.unusedTokens.push(r),R(r,n,t)):t._strict&&!n&&t._pf.unusedTokens.push(r);t._pf.charsLeftOver=u-c,s.length>0&&t._pf.unusedInput.push(s),t._isPm&&t._a[ut]<12&&(t._a[ut]+=12),!1===t._isPm&&12===t._a[ut]&&(t._a[ut]=0),L(t),E(t)}function B(t){
return t.replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(t,e,n,i,r){return e||n||i||r})}function H(t){return t.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function V(t){var e,n,i,r,o;if(0===t._f.length)return t._pf.invalidFormat=!0,void(t._d=new Date(NaN));for(r=0;r<t._f.length;r++)o=0,e=c({},t),x(e),e._f=t._f[r],F(e),T(e)&&(o+=e._pf.charsLeftOver,o+=10*e._pf.unusedTokens.length,e._pf.score=o,(null==i||o<i)&&(i=o,n=e));c(t,n||e)}function q(t){var e,n=t._i,i=Pt.exec(n);if(i){for(t._pf.iso=!0,
e=4;e>0;e--)if(i[e]){t._f=Nt[e-1]+(i[6]||" ");break}for(e=0;e<4;e++)if(It[e][1].exec(n)){t._f+=It[e][0];break}St.exec(n)&&(t._f+="Z"),F(t)}else t._d=new Date(n)}function W(t){var e=t._i,n=pt.exec(e);e===r?t._d=new Date:n?t._d=new Date(+n[1]):"string"==typeof e?q(t):d(e)?(t._a=e.slice(0),L(t)):p(e)?t._d=new Date(+e):"object"==typeof e?j(t):t._d=new Date(e)}function z(t,e,n,i,r,o,a){var s=new Date(t,e,n,i,r,o,a);return t<1970&&s.setFullYear(t),s}function Y(t){
var e=new Date(Date.UTC.apply(null,arguments));return t<1970&&e.setUTCFullYear(t),e}function K(t,e){if("string"==typeof t)if(isNaN(t)){if("number"!=typeof(t=e.weekdaysParse(t)))return null}else t=parseInt(t,10);return t}function $(t,e,n,i,r){return r.relativeTime(e||1,!!n,t,i)}function G(t,e,n){
var i=rt(Math.abs(t)/1e3),r=rt(i/60),o=rt(r/60),a=rt(o/24),s=rt(a/365),u=i<45&&["s",i]||1===r&&["m"]||r<45&&["mm",r]||1===o&&["h"]||o<22&&["hh",o]||1===a&&["d"]||a<=25&&["dd",a]||a<=45&&["M"]||a<345&&["MM",rt(a/30)]||1===s&&["y"]||["yy",s];return u[2]=e,u[3]=t>0,u[4]=n,$.apply({},u)}function X(t,e,n){var i,r=n-e,o=n-t.day();return o>r&&(o-=7),o<r-7&&(o+=7),i=nt(t).add("d",o),{week:Math.ceil(i.dayOfYear()/7),year:i.year()}}function J(t,e,n,i,r){var o,a,s=new Date(Date.UTC(t,0)).getUTCDay()
;return n=null!=n?n:r,o=r-s+(s>i?7:0),a=7*(e-1)+(n-r)+o+1,{year:a>0?t:t-1,dayOfYear:a>0?a:w(t-1)+a}}function Q(t){var e=t._i,n=t._f;return void 0===t._pf&&x(t),null===e?nt.invalid({nullInput:!0}):("string"==typeof e&&(t._i=e=M().preparse(e)),nt.isMoment(e)?(t=c({},e),t._d=new Date(+e._d)):n?d(n)?V(t):F(t):W(t),new s(t))}function Z(t,e){nt.fn[t]=nt.fn[t+"s"]=function(t){var n=this._isUTC?"UTC":"";return null!=t?(this._d["set"+n+e](t),nt.updateOffset(this),this):this._d["get"+n+e]()}}
function tt(t,e){nt.duration.fn["as"+t]=function(){return+this/e}}function et(t){var e=!1,n=nt;"undefined"==typeof ender&&(this.moment=t?function(){return!e&&console&&console.warn&&(e=!0,console.warn("Accessing Moment through the global scope is deprecated, and will be removed in an upcoming release.")),n.apply(null,arguments)}:nt)}
for(var nt,it,rt=Math.round,ot=0,at=1,st=2,ut=3,ct=4,lt=5,ht=6,ft={},dt=void 0!==t&&t.exports,pt=/^\/?Date\((\-?\d+)/i,mt=/(\-)?(?:(\d*)\.)?(\d+)\:(\d+)(?:\:(\d+)\.?(\d{3})?)?/,gt=/^(-)?P(?:(?:([0-9,.]*)Y)?(?:([0-9,.]*)M)?(?:([0-9,.]*)D)?(?:T(?:([0-9,.]*)H)?(?:([0-9,.]*)M)?(?:([0-9,.]*)S)?)?|([0-9,.]*)W)$/,vt=/(\[[^\[]*\])|(\\)?(Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|YYYYY|YYYY|YY|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|mm?|ss?|S{1,4}|X|zz?|ZZ?|.)/g,yt=/(\[[^\[]*\])|(\\)?(LT|LL?L?L?|l{1,4})/g,bt=/\d\d?/,wt=/\d{1,3}/,_t=/\d{3}/,Et=/\d{1,4}/,xt=/[+\-]?\d{1,6}/,Tt=/\d+/,Ct=/[0-9]*['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+|[\u0600-\u06FF\/]+(\s*?[\u0600-\u06FF]+){1,2}/i,St=/Z|[\+\-]\d\d:?\d\d/i,kt=/T/i,Mt=/[\+\-]?\d+(\.\d{1,3})?/,Pt=/^\s*\d{4}-(?:(\d\d-\d\d)|(W\d\d$)|(W\d\d-\d)|(\d\d\d))((T| )(\d\d(:\d\d(:\d\d(\.\d+)?)?)?)?([\+\-]\d\d:?\d\d|Z)?)?$/,Nt=["YYYY-MM-DD","GGGG-[W]WW","GGGG-[W]WW-E","YYYY-DDD"],It=[["HH:mm:ss.SSSS",/(T| )\d\d:\d\d:\d\d\.\d{1,3}/],["HH:mm:ss",/(T| )\d\d:\d\d:\d\d/],["HH:mm",/(T| )\d\d:\d\d/],["HH",/(T| )\d\d/]],At=/([\+\-]|\d\d)/gi,Dt="Date|Hours|Minutes|Seconds|Milliseconds".split("|"),Ot={
Milliseconds:1,Seconds:1e3,Minutes:6e4,Hours:36e5,Days:864e5,Months:2592e6,Years:31536e6},Rt={ms:"millisecond",s:"second",m:"minute",h:"hour",d:"day",D:"date",w:"week",W:"isoWeek",M:"month",y:"year",DDD:"dayOfYear",e:"weekday",E:"isoWeekday",gg:"weekYear",GG:"isoWeekYear"},Lt={dayofyear:"dayOfYear",isoweekday:"isoWeekday",isoweek:"isoWeek",weekyear:"weekYear",isoweekyear:"isoWeekYear"},jt={},Ut="DDD w W M D d".split(" "),Ft="M D H h m s w W".split(" "),Bt={M:function(){return this.month()+1},
MMM:function(t){return this.lang().monthsShort(this,t)},MMMM:function(t){return this.lang().months(this,t)},D:function(){return this.date()},DDD:function(){return this.dayOfYear()},d:function(){return this.day()},dd:function(t){return this.lang().weekdaysMin(this,t)},ddd:function(t){return this.lang().weekdaysShort(this,t)},dddd:function(t){return this.lang().weekdays(this,t)},w:function(){return this.week()},W:function(){return this.isoWeek()},YY:function(){return h(this.year()%100,2)},
YYYY:function(){return h(this.year(),4)},YYYYY:function(){return h(this.year(),5)},gg:function(){return h(this.weekYear()%100,2)},gggg:function(){return this.weekYear()},ggggg:function(){return h(this.weekYear(),5)},GG:function(){return h(this.isoWeekYear()%100,2)},GGGG:function(){return this.isoWeekYear()},GGGGG:function(){return h(this.isoWeekYear(),5)},e:function(){return this.weekday()},E:function(){return this.isoWeekday()},a:function(){
return this.lang().meridiem(this.hours(),this.minutes(),!0)},A:function(){return this.lang().meridiem(this.hours(),this.minutes(),!1)},H:function(){return this.hours()},h:function(){return this.hours()%12||12},m:function(){return this.minutes()},s:function(){return this.seconds()},S:function(){return y(this.milliseconds()/100)},SS:function(){return h(y(this.milliseconds()/10),2)},SSS:function(){return h(this.milliseconds(),3)},SSSS:function(){return h(this.milliseconds(),3)},Z:function(){
var t=-this.zone(),e="+";return t<0&&(t=-t,e="-"),e+h(y(t/60),2)+":"+h(y(t)%60,2)},ZZ:function(){var t=-this.zone(),e="+";return t<0&&(t=-t,e="-"),e+h(y(10*t/6),4)},z:function(){return this.zoneAbbr()},zz:function(){return this.zoneName()},X:function(){return this.unix()}},Ht=["months","monthsShort","weekdays","weekdaysShort","weekdaysMin"];Ut.length;)it=Ut.pop(),Bt[it+"o"]=function(t,e){return function(n){return this.lang().ordinal(t.call(this,n),e)}}(Bt[it],it);for(;Ft.length;)it=Ft.pop(),
Bt[it+it]=o(Bt[it],2);for(Bt.DDDD=o(Bt.DDD,3),c(a.prototype,{set:function(t){var e,n;for(n in t)e=t[n],"function"==typeof e?this[n]=e:this["_"+n]=e},_months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),months:function(t){return this._months[t.month()]},_monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),monthsShort:function(t){return this._monthsShort[t.month()]},monthsParse:function(t){var e,n,i
;for(this._monthsParse||(this._monthsParse=[]),e=0;e<12;e++)if(this._monthsParse[e]||(n=nt.utc([2e3,e]),i="^"+this.months(n,"")+"|^"+this.monthsShort(n,""),this._monthsParse[e]=new RegExp(i.replace(".",""),"i")),this._monthsParse[e].test(t))return e},_weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdays:function(t){return this._weekdays[t.day()]},_weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysShort:function(t){
return this._weekdaysShort[t.day()]},_weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),weekdaysMin:function(t){return this._weekdaysMin[t.day()]},weekdaysParse:function(t){var e,n,i;for(this._weekdaysParse||(this._weekdaysParse=[]),e=0;e<7;e++)if(this._weekdaysParse[e]||(n=nt([2e3,1]).day(e),i="^"+this.weekdays(n,"")+"|^"+this.weekdaysShort(n,"")+"|^"+this.weekdaysMin(n,""),this._weekdaysParse[e]=new RegExp(i.replace(".",""),"i")),this._weekdaysParse[e].test(t))return e},_longDateFormat:{
LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D YYYY",LLL:"MMMM D YYYY LT",LLLL:"dddd, MMMM D YYYY LT"},longDateFormat:function(t){var e=this._longDateFormat[t];return!e&&this._longDateFormat[t.toUpperCase()]&&(e=this._longDateFormat[t.toUpperCase()].replace(/MMMM|MM|DD|dddd/g,function(t){return t.slice(1)}),this._longDateFormat[t]=e),e},isPM:function(t){return"p"===(t+"").toLowerCase().charAt(0)},_meridiemParse:/[ap]\.?m?\.?/i,meridiem:function(t,e,n){return t>11?n?"pm":"PM":n?"am":"AM"},_calendar:{
sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},calendar:function(t,e){var n=this._calendar[t];return"function"==typeof n?n.apply(e):n},_relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},relativeTime:function(t,e,n,i){var r=this._relativeTime[n]
;return"function"==typeof r?r(t,e,n,i):r.replace(/%d/i,t)},pastFuture:function(t,e){var n=this._relativeTime[t>0?"future":"past"];return"function"==typeof n?n(e):n.replace(/%s/i,e)},ordinal:function(t){return this._ordinal.replace("%d",t)},_ordinal:"%d",preparse:function(t){return t},postformat:function(t){return t},week:function(t){return X(t,this._week.dow,this._week.doy).week},_week:{dow:0,doy:6},_invalidDate:"Invalid date",invalidDate:function(){return this._invalidDate}}),
nt=function(t,e,n,i){return"boolean"==typeof n&&(i=n,n=r),Q({_i:t,_f:e,_l:n,_strict:i,_isUTC:!1})},nt.utc=function(t,e,n,i){return"boolean"==typeof n&&(i=n,n=r),Q({_useUTC:!0,_isUTC:!0,_l:n,_i:t,_f:e,_strict:i}).utc()},nt.unix=function(t){return nt(1e3*t)},nt.duration=function(t,e){var n,i,r,o=nt.isDuration(t),a="number"==typeof t,s=o?t._input:a?{}:t,c=null;return a?e?s[e]=t:s.milliseconds=t:(c=mt.exec(t))?(n="-"===c[1]?-1:1,s={y:0,d:y(c[st])*n,h:y(c[ut])*n,m:y(c[ct])*n,s:y(c[lt])*n,
ms:y(c[ht])*n}):(c=gt.exec(t))&&(n="-"===c[1]?-1:1,r=function(t){var e=t&&parseFloat(t.replace(",","."));return(isNaN(e)?0:e)*n},s={y:r(c[2]),M:r(c[3]),d:r(c[4]),h:r(c[5]),m:r(c[6]),s:r(c[7]),w:r(c[8])}),i=new u(s),o&&t.hasOwnProperty("_lang")&&(i._lang=t._lang),i},nt.version="2.4.0",nt.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",nt.updateOffset=function(){},nt.lang=function(t,e){var n;return t?(e?S(C(t),e):null===e?(k(t),t="en"):ft[t]||M(t),n=nt.duration.fn._lang=nt.fn._lang=M(t),
n._abbr):nt.fn._lang._abbr},nt.langData=function(t){return t&&t._lang&&t._lang._abbr&&(t=t._lang._abbr),M(t)},nt.isMoment=function(t){return t instanceof s},nt.isDuration=function(t){return t instanceof u},it=Ht.length-1;it>=0;--it)!function(t){var e,n;if(0===t.indexOf("week"))e=7,n="day";else{if(0!==t.indexOf("month"))return;e=12,n="month"}nt[t]=function(i,o){var a,s,u=nt.fn._lang[t],c=[];if("number"==typeof i&&(o=i,i=r),s=function(t){var e=nt().utc().set(n,t);return u.call(nt.fn._lang,e,i||"")
},null!=o)return s(o);for(a=0;a<e;a++)c.push(s(a));return c}}(Ht[it]);for(nt.normalizeUnits=function(t){return g(t)},nt.invalid=function(t){var e=nt.utc(NaN);return null!=t?c(e._pf,t):e._pf.userInvalidated=!0,e},nt.parseZone=function(t){return nt(t).parseZone()},c(nt.fn=s.prototype,{clone:function(){return nt(this)},valueOf:function(){return+this._d+6e4*(this._offset||0)},unix:function(){return Math.floor(+this/1e3)},toString:function(){
return this.clone().lang("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},toDate:function(){return this._offset?new Date(+this):this._d},toISOString:function(){return I(nt(this).utc(),"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]")},toArray:function(){var t=this;return[t.year(),t.month(),t.date(),t.hours(),t.minutes(),t.seconds(),t.milliseconds()]},isValid:function(){return T(this)},isDSTShifted:function(){return!!this._a&&(this.isValid()&&m(this._a,(this._isUTC?nt.utc(this._a):nt(this._a)).toArray())>0)},
parsingFlags:function(){return c({},this._pf)},invalidAt:function(){return this._pf.overflow},utc:function(){return this.zone(0)},local:function(){return this.zone(0),this._isUTC=!1,this},format:function(t){var e=I(this,t||nt.defaultFormat);return this.lang().postformat(e)},add:function(t,e){var n;return n="string"==typeof t?nt.duration(+e,t):nt.duration(t,e),f(this,n,1),this},subtract:function(t,e){var n;return n="string"==typeof t?nt.duration(+e,t):nt.duration(t,e),f(this,n,-1),this},
diff:function(t,e,n){var i,r,o=this._isUTC?nt(t).zone(this._offset||0):nt(t).local(),a=6e4*(this.zone()-o.zone());return e=g(e),"year"===e||"month"===e?(i=432e5*(this.daysInMonth()+o.daysInMonth()),r=12*(this.year()-o.year())+(this.month()-o.month()),r+=(this-nt(this).startOf("month")-(o-nt(o).startOf("month")))/i,r-=6e4*(this.zone()-nt(this).startOf("month").zone()-(o.zone()-nt(o).startOf("month").zone()))/i,"year"===e&&(r/=12)):(i=this-o,
r="second"===e?i/1e3:"minute"===e?i/6e4:"hour"===e?i/36e5:"day"===e?(i-a)/864e5:"week"===e?(i-a)/6048e5:i),n?r:l(r)},from:function(t,e){return nt.duration(this.diff(t)).lang(this.lang()._abbr).humanize(!e)},fromNow:function(t){return this.from(nt(),t)},calendar:function(){var t=this.diff(nt().zone(this.zone()).startOf("day"),"days",!0),e=t<-6?"sameElse":t<-1?"lastWeek":t<0?"lastDay":t<1?"sameDay":t<2?"nextDay":t<7?"nextWeek":"sameElse";return this.format(this.lang().calendar(e,this))},
isLeapYear:function(){return _(this.year())},isDST:function(){return this.zone()<this.clone().month(0).zone()||this.zone()<this.clone().month(5).zone()},day:function(t){var e=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=t?(t=K(t,this.lang()),this.add({d:t-e})):e},month:function(t){var e,n=this._isUTC?"UTC":"";return null!=t?"string"==typeof t&&"number"!=typeof(t=this.lang().monthsParse(t))?this:(e=this.date(),this.date(1),this._d["set"+n+"Month"](t),
this.date(Math.min(e,this.daysInMonth())),nt.updateOffset(this),this):this._d["get"+n+"Month"]()},startOf:function(t){switch(t=g(t)){case"year":this.month(0);case"month":this.date(1);case"week":case"isoWeek":case"day":this.hours(0);case"hour":this.minutes(0);case"minute":this.seconds(0);case"second":this.milliseconds(0)}return"week"===t?this.weekday(0):"isoWeek"===t&&this.isoWeekday(1),this},endOf:function(t){return t=g(t),this.startOf(t).add("isoWeek"===t?"week":t,1).subtract("ms",1)},
isAfter:function(t,e){return e=void 0!==e?e:"millisecond",+this.clone().startOf(e)>+nt(t).startOf(e)},isBefore:function(t,e){return e=void 0!==e?e:"millisecond",+this.clone().startOf(e)<+nt(t).startOf(e)},isSame:function(t,e){return e=void 0!==e?e:"millisecond",+this.clone().startOf(e)==+nt(t).startOf(e)},min:function(t){return t=nt.apply(null,arguments),t<this?this:t},max:function(t){return t=nt.apply(null,arguments),t>this?this:t},zone:function(t){var e=this._offset||0
;return null==t?this._isUTC?e:this._d.getTimezoneOffset():("string"==typeof t&&(t=O(t)),Math.abs(t)<16&&(t*=60),this._offset=t,this._isUTC=!0,e!==t&&f(this,nt.duration(e-t,"m"),1,!0),this)},zoneAbbr:function(){return this._isUTC?"UTC":""},zoneName:function(){return this._isUTC?"Coordinated Universal Time":""},parseZone:function(){return"string"==typeof this._i&&this.zone(this._i),this},hasAlignedHourOffset:function(t){return t=t?nt(t).zone():0,(this.zone()-t)%60==0},daysInMonth:function(){
return b(this.year(),this.month())},dayOfYear:function(t){var e=rt((nt(this).startOf("day")-nt(this).startOf("year"))/864e5)+1;return null==t?e:this.add("d",t-e)},weekYear:function(t){var e=X(this,this.lang()._week.dow,this.lang()._week.doy).year;return null==t?e:this.add("y",t-e)},isoWeekYear:function(t){var e=X(this,1,4).year;return null==t?e:this.add("y",t-e)},week:function(t){var e=this.lang().week(this);return null==t?e:this.add("d",7*(t-e))},isoWeek:function(t){var e=X(this,1,4).week
;return null==t?e:this.add("d",7*(t-e))},weekday:function(t){var e=(this.day()+7-this.lang()._week.dow)%7;return null==t?e:this.add("d",t-e)},isoWeekday:function(t){return null==t?this.day()||7:this.day(this.day()%7?t:t-7)},get:function(t){return t=g(t),this[t]()},set:function(t,e){return t=g(t),"function"==typeof this[t]&&this[t](e),this},lang:function(t){return t===r?this._lang:(this._lang=M(t),this)}}),it=0;it<Dt.length;it++)Z(Dt[it].toLowerCase().replace(/s$/,""),Dt[it])
;Z("year","FullYear"),nt.fn.days=nt.fn.day,nt.fn.months=nt.fn.month,nt.fn.weeks=nt.fn.week,nt.fn.isoWeeks=nt.fn.isoWeek,nt.fn.toJSON=nt.fn.toISOString,c(nt.duration.fn=u.prototype,{_bubble:function(){var t,e,n,i,r=this._milliseconds,o=this._days,a=this._months,s=this._data;s.milliseconds=r%1e3,t=l(r/1e3),s.seconds=t%60,e=l(t/60),s.minutes=e%60,n=l(e/60),s.hours=n%24,o+=l(n/24),s.days=o%30,a+=l(o/30),s.months=a%12,i=l(a/12),s.years=i},weeks:function(){return l(this.days()/7)},valueOf:function(){
return this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*y(this._months/12)},humanize:function(t){var e=+this,n=G(e,!t,this.lang());return t&&(n=this.lang().pastFuture(e,n)),this.lang().postformat(n)},add:function(t,e){var n=nt.duration(t,e);return this._milliseconds+=n._milliseconds,this._days+=n._days,this._months+=n._months,this._bubble(),this},subtract:function(t,e){var n=nt.duration(t,e);return this._milliseconds-=n._milliseconds,this._days-=n._days,this._months-=n._months,
this._bubble(),this},get:function(t){return t=g(t),this[t.toLowerCase()+"s"]()},as:function(t){return t=g(t),this["as"+t.charAt(0).toUpperCase()+t.slice(1)+"s"]()},lang:nt.fn.lang,toIsoString:function(){var t=Math.abs(this.years()),e=Math.abs(this.months()),n=Math.abs(this.days()),i=Math.abs(this.hours()),r=Math.abs(this.minutes()),o=Math.abs(this.seconds()+this.milliseconds()/1e3)
;return this.asSeconds()?(this.asSeconds()<0?"-":"")+"P"+(t?t+"Y":"")+(e?e+"M":"")+(n?n+"D":"")+(i||r||o?"T":"")+(i?i+"H":"")+(r?r+"M":"")+(o?o+"S":""):"P0D"}});for(it in Ot)Ot.hasOwnProperty(it)&&(tt(it,Ot[it]),function(t){nt.duration.fn[t]=function(){return this._data[t]}}(it.toLowerCase()));tt("Weeks",6048e5),nt.duration.fn.asMonths=function(){return(+this-31536e6*this.years())/2592e6+12*this.years()},nt.lang("en",{ordinal:function(t){var e=t%10
;return t+(1===y(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")}}),dt?(t.exports=nt,et(!0)):(i=function(t,e,n){return!0!==n.config().noGlobal&&et(n.config().noGlobal===r),nt}.call(e,n,e,t))!==r&&(t.exports=i)}).call(this)}).call(e,n(406)(t))},42:function(t,e,n){"use strict";function i(t,e,n,i,o,a,s,u){if(r(e),!t){var c;if(void 0===e)c=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{
var l=[n,i,o,a,s,u],h=0;c=new Error(e.replace(/%s/g,function(){return l[h++]})),c.name="Invariant Violation"}throw c.framesToPop=1,c}}var r=function(t){};t.exports=i},424:function(t,e,n){"use strict";function i(){if(s)for(var t in u){var e=u[t],n=s.indexOf(t);if(n>-1||a("96",t),!c.plugins[n]){e.extractEvents||a("97",t),c.plugins[n]=e;var i=e.eventTypes;for(var o in i)r(i[o],e,o)||a("98",o,t)}}}function r(t,e,n){c.eventNameDispatchConfigs.hasOwnProperty(n)&&a("99",n),
c.eventNameDispatchConfigs[n]=t;var i=t.phasedRegistrationNames;if(i){for(var r in i)if(i.hasOwnProperty(r)){var s=i[r];o(s,e,n)}return!0}return!!t.registrationName&&(o(t.registrationName,e,n),!0)}function o(t,e,n){c.registrationNameModules[t]&&a("100",t),c.registrationNameModules[t]=e,c.registrationNameDependencies[t]=e.eventTypes[n].dependencies}var a=n(54),s=(n(42),null),u={},c={plugins:[],eventNameDispatchConfigs:{},registrationNameModules:{},registrationNameDependencies:{},
possibleRegistrationNames:null,injectEventPluginOrder:function(t){s&&a("101"),s=Array.prototype.slice.call(t),i()},injectEventPluginsByName:function(t){var e=!1;for(var n in t)if(t.hasOwnProperty(n)){var r=t[n];u.hasOwnProperty(n)&&u[n]===r||(u[n]&&a("102",n),u[n]=r,e=!0)}e&&i()},getPluginModuleForEvent:function(t){var e=t.dispatchConfig;if(e.registrationName)return c.registrationNameModules[e.registrationName]||null;if(void 0!==e.phasedRegistrationNames){var n=e.phasedRegistrationNames
;for(var i in n)if(n.hasOwnProperty(i)){var r=c.registrationNameModules[n[i]];if(r)return r}}return null},_resetEventPlugins:function(){s=null;for(var t in u)u.hasOwnProperty(t)&&delete u[t];c.plugins.length=0;var e=c.eventNameDispatchConfigs;for(var n in e)e.hasOwnProperty(n)&&delete e[n];var i=c.registrationNameModules;for(var r in i)i.hasOwnProperty(r)&&delete i[r]}};t.exports=c},425:function(t,e,n){"use strict";var i=n(54),r=(n(42),{}),o={reinitializeTransaction:function(){
this.transactionWrappers=this.getTransactionWrappers(),this.wrapperInitData?this.wrapperInitData.length=0:this.wrapperInitData=[],this._isInTransaction=!1},_isInTransaction:!1,getTransactionWrappers:null,isInTransaction:function(){return!!this._isInTransaction},perform:function(t,e,n,r,o,a,s,u){this.isInTransaction()&&i("27");var c,l;try{this._isInTransaction=!0,c=!0,this.initializeAll(0),l=t.call(e,n,r,o,a,s,u),c=!1}finally{try{if(c)try{this.closeAll(0)}catch(t){}else this.closeAll(0)}finally{
this._isInTransaction=!1}}return l},initializeAll:function(t){for(var e=this.transactionWrappers,n=t;n<e.length;n++){var i=e[n];try{this.wrapperInitData[n]=r,this.wrapperInitData[n]=i.initialize?i.initialize.call(this):null}finally{if(this.wrapperInitData[n]===r)try{this.initializeAll(n+1)}catch(t){}}}},closeAll:function(t){this.isInTransaction()||i("28");for(var e=this.transactionWrappers,n=t;n<e.length;n++){var o,a=e[n],s=this.wrapperInitData[n];try{o=!0,s!==r&&a.close&&a.close.call(this,s),
o=!1}finally{if(o)try{this.closeAll(n+1)}catch(t){}}}this.wrapperInitData.length=0}};t.exports=o},426:function(t,e,n){"use strict";function i(t,e,n,i){return r.call(this,t,e,n,i)}var r=n(360),o=n(849),a=n(585),s={screenX:null,screenY:null,clientX:null,clientY:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,getModifierState:a,button:function(t){var e=t.button;return"which"in t?e:2===e?2:4===e?1:0},buttons:null,relatedTarget:function(t){
return t.relatedTarget||(t.fromElement===t.srcElement?t.toElement:t.fromElement)},pageX:function(t){return"pageX"in t?t.pageX:t.clientX+o.currentScrollLeft},pageY:function(t){return"pageY"in t?t.pageY:t.clientY+o.currentScrollTop}};r.augmentClass(i,s),t.exports=i},427:function(t,e,n){"use strict";var i,r=n(114),o=n(587),a=/^[ \r\n\t\f]/,s=/<(!--|link|noscript|meta|script|style)[ \r\n\t\f\/>]/,u=n(588),c=u(function(t,e){if(t.namespaceURI!==o.svg||"innerHTML"in t)t.innerHTML=e;else{
i=i||document.createElement("div"),i.innerHTML="<svg>"+e+"</svg>";for(var n=i.firstChild;n.firstChild;)t.appendChild(n.firstChild)}});if(r.canUseDOM){var l=document.createElement("div");l.innerHTML=" ",""===l.innerHTML&&(c=function(t,e){if(t.parentNode&&t.parentNode.replaceChild(t,t),a.test(e)||"<"===e[0]&&s.test(e)){t.innerHTML=String.fromCharCode(65279)+e;var n=t.firstChild;1===n.data.length?t.removeChild(n):n.deleteData(0,1)}else t.innerHTML=e}),l=null}t.exports=c},428:function(t,e,n){
"use strict";function i(t){var e=""+t,n=o.exec(e);if(!n)return e;var i,r="",a=0,s=0;for(a=n.index;a<e.length;a++){switch(e.charCodeAt(a)){case 34:i="&quot;";break;case 38:i="&amp;";break;case 39:i="&#x27;";break;case 60:i="&lt;";break;case 62:i="&gt;";break;default:continue}s!==a&&(r+=e.substring(s,a)),s=a+1,r+=i}return s!==a?r+e.substring(s,a):r}function r(t){return"boolean"==typeof t||"number"==typeof t?""+t:i(t)}var o=/["'&<>]/;t.exports=r},429:function(t,e,n){"use strict";function i(t){
return Object.prototype.hasOwnProperty.call(t,m)||(t[m]=d++,h[t[m]]={}),h[t[m]]}var r,o=n(68),a=n(424),s=n(1750),u=n(849),c=n(1751),l=n(584),h={},f=!1,d=0,p={topAbort:"abort",topAnimationEnd:c("animationend")||"animationend",topAnimationIteration:c("animationiteration")||"animationiteration",topAnimationStart:c("animationstart")||"animationstart",topBlur:"blur",topCanPlay:"canplay",topCanPlayThrough:"canplaythrough",topChange:"change",topClick:"click",topCompositionEnd:"compositionend",
topCompositionStart:"compositionstart",topCompositionUpdate:"compositionupdate",topContextMenu:"contextmenu",topCopy:"copy",topCut:"cut",topDoubleClick:"dblclick",topDrag:"drag",topDragEnd:"dragend",topDragEnter:"dragenter",topDragExit:"dragexit",topDragLeave:"dragleave",topDragOver:"dragover",topDragStart:"dragstart",topDrop:"drop",topDurationChange:"durationchange",topEmptied:"emptied",topEncrypted:"encrypted",topEnded:"ended",topError:"error",topFocus:"focus",topInput:"input",
topKeyDown:"keydown",topKeyPress:"keypress",topKeyUp:"keyup",topLoadedData:"loadeddata",topLoadedMetadata:"loadedmetadata",topLoadStart:"loadstart",topMouseDown:"mousedown",topMouseMove:"mousemove",topMouseOut:"mouseout",topMouseOver:"mouseover",topMouseUp:"mouseup",topPaste:"paste",topPause:"pause",topPlay:"play",topPlaying:"playing",topProgress:"progress",topRateChange:"ratechange",topScroll:"scroll",topSeeked:"seeked",topSeeking:"seeking",topSelectionChange:"selectionchange",
topStalled:"stalled",topSuspend:"suspend",topTextInput:"textInput",topTimeUpdate:"timeupdate",topTouchCancel:"touchcancel",topTouchEnd:"touchend",topTouchMove:"touchmove",topTouchStart:"touchstart",topTransitionEnd:c("transitionend")||"transitionend",topVolumeChange:"volumechange",topWaiting:"waiting",topWheel:"wheel"},m="_reactListenersID"+String(Math.random()).slice(2),g=o({},s,{ReactEventListener:null,injection:{injectReactEventListener:function(t){t.setHandleTopLevel(g.handleTopLevel),
g.ReactEventListener=t}},setEnabled:function(t){g.ReactEventListener&&g.ReactEventListener.setEnabled(t)},isEnabled:function(){return!(!g.ReactEventListener||!g.ReactEventListener.isEnabled())},listenTo:function(t,e){for(var n=e,r=i(n),o=a.registrationNameDependencies[t],s=0;s<o.length;s++){var u=o[s]
;r.hasOwnProperty(u)&&r[u]||("topWheel"===u?l("wheel")?g.ReactEventListener.trapBubbledEvent("topWheel","wheel",n):l("mousewheel")?g.ReactEventListener.trapBubbledEvent("topWheel","mousewheel",n):g.ReactEventListener.trapBubbledEvent("topWheel","DOMMouseScroll",n):"topScroll"===u?l("scroll",!0)?g.ReactEventListener.trapCapturedEvent("topScroll","scroll",n):g.ReactEventListener.trapBubbledEvent("topScroll","scroll",g.ReactEventListener.WINDOW_HANDLE):"topFocus"===u||"topBlur"===u?(l("focus",!0)?(g.ReactEventListener.trapCapturedEvent("topFocus","focus",n),
g.ReactEventListener.trapCapturedEvent("topBlur","blur",n)):l("focusin")&&(g.ReactEventListener.trapBubbledEvent("topFocus","focusin",n),g.ReactEventListener.trapBubbledEvent("topBlur","focusout",n)),r.topBlur=!0,r.topFocus=!0):p.hasOwnProperty(u)&&g.ReactEventListener.trapBubbledEvent(u,p[u],n),r[u]=!0)}},trapBubbledEvent:function(t,e,n){return g.ReactEventListener.trapBubbledEvent(t,e,n)},trapCapturedEvent:function(t,e,n){return g.ReactEventListener.trapCapturedEvent(t,e,n)},
supportsEventPageXY:function(){if(!document.createEvent)return!1;var t=document.createEvent("MouseEvent");return null!=t&&"pageX"in t},ensureScrollValueMonitoring:function(){if(void 0===r&&(r=g.supportsEventPageXY()),!r&&!f){var t=u.refreshScrollValues;g.ReactEventListener.monitorScrollValue(t),f=!0}}});t.exports=g},47:function(t,e,n){"use strict";var i=n(140),r=i;t.exports=r},506:function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},507:function(t,e,n){
var i=n(227),r=n(508),o=n(509),a=n(730),s=n(1187),u=function(t,e,n){var c,l,h,f,d=t&u.F,p=t&u.G,m=t&u.S,g=t&u.P,v=t&u.B,y=p?i:m?i[e]||(i[e]={}):(i[e]||{}).prototype,b=p?r:r[e]||(r[e]={}),w=b.prototype||(b.prototype={});p&&(n=e);for(c in n)l=!d&&y&&void 0!==y[c],h=(l?y:n)[c],f=v&&l?s(h,i):g&&"function"==typeof h?s(Function.call,h):h,y&&a(y,c,h,t&u.U),b[c]!=h&&o(b,c,f),g&&w[c]!=h&&(w[c]=h)};i.core=r,u.F=1,u.G=2,u.S=4,u.P=8,u.B=16,u.W=32,u.U=64,u.R=128,t.exports=u},508:function(t,e){
var n=t.exports={version:"2.4.0"};"number"==typeof __e&&(__e=n)},509:function(t,e,n){var i=n(334),r=n(729);t.exports=n(333)?function(t,e,n){return i.f(t,e,r(1,n))}:function(t,e,n){return t[e]=n,t}},510:function(t,e,n){var i=n(393);t.exports=function(t){if(!i(t))throw TypeError(t+" is not an object!");return t}},511:function(t,e,n){var i=n(1190),r=n(733);t.exports=Object.keys||function(t){return i(t,r)}},54:function(t,e,n){"use strict";function i(t){
for(var e=arguments.length-1,n="Minified React error #"+t+"; visit http://facebook.github.io/react/docs/error-decoder.html?invariant="+t,i=0;i<e;i++)n+="&args[]="+encodeURIComponent(arguments[i+1]);n+=" for the full message or use the non-minified dev environment for full errors and additional helpful warnings.";var r=new Error(n);throw r.name="Invariant Violation",r.framesToPop=1,r}t.exports=i},579:function(t,e,n){"use strict";function i(t,e,n){this.props=t,this.context=e,this.refs=a,
this.updater=n||o}var r=n(292),o=n(580),a=(n(834),n(358));n(42),n(47);i.prototype.isReactComponent={},i.prototype.setState=function(t,e){"object"!=typeof t&&"function"!=typeof t&&null!=t&&r("85"),this.updater.enqueueSetState(this,t),e&&this.updater.enqueueCallback(this,e,"setState")},i.prototype.forceUpdate=function(t){this.updater.enqueueForceUpdate(this),t&&this.updater.enqueueCallback(this,t,"forceUpdate")};t.exports=i},580:function(t,e,n){"use strict";var i=(n(47),{isMounted:function(t){
return!1},enqueueCallback:function(t,e){},enqueueForceUpdate:function(t){},enqueueReplaceState:function(t,e){},enqueueSetState:function(t,e){}});t.exports=i},581:function(t,e,n){"use strict";function i(t){return"topMouseUp"===t||"topTouchEnd"===t||"topTouchCancel"===t}function r(t){return"topMouseMove"===t||"topTouchMove"===t}function o(t){return"topMouseDown"===t||"topTouchStart"===t}function a(t,e,n,i){var r=t.type||"unknown-event";t.currentTarget=v.getNodeFromInstance(i),
e?m.invokeGuardedCallbackWithCatch(r,n,t):m.invokeGuardedCallback(r,n,t),t.currentTarget=null}function s(t,e){var n=t._dispatchListeners,i=t._dispatchInstances;if(Array.isArray(n))for(var r=0;r<n.length&&!t.isPropagationStopped();r++)a(t,e,n[r],i[r]);else n&&a(t,e,n,i);t._dispatchListeners=null,t._dispatchInstances=null}function u(t){var e=t._dispatchListeners,n=t._dispatchInstances;if(Array.isArray(e)){for(var i=0;i<e.length&&!t.isPropagationStopped();i++)if(e[i](t,n[i]))return n[i]
}else if(e&&e(t,n))return n;return null}function c(t){var e=u(t);return t._dispatchInstances=null,t._dispatchListeners=null,e}function l(t){var e=t._dispatchListeners,n=t._dispatchInstances;Array.isArray(e)&&p("103"),t.currentTarget=e?v.getNodeFromInstance(n):null;var i=e?e(t):null;return t.currentTarget=null,t._dispatchListeners=null,t._dispatchInstances=null,i}function h(t){return!!t._dispatchListeners}var f,d,p=n(54),m=n(582),g=(n(42),n(47),{injectComponentTree:function(t){f=t},
injectTreeTraversal:function(t){d=t}}),v={isEndish:i,isMoveish:r,isStartish:o,executeDirectDispatch:l,executeDispatchesInOrder:s,executeDispatchesInOrderStopAtTrue:c,hasDispatches:h,getInstanceFromNode:function(t){return f.getInstanceFromNode(t)},getNodeFromInstance:function(t){return f.getNodeFromInstance(t)},isAncestor:function(t,e){return d.isAncestor(t,e)},getLowestCommonAncestor:function(t,e){return d.getLowestCommonAncestor(t,e)},getParentInstance:function(t){return d.getParentInstance(t)
},traverseTwoPhase:function(t,e,n){return d.traverseTwoPhase(t,e,n)},traverseEnterLeave:function(t,e,n,i,r){return d.traverseEnterLeave(t,e,n,i,r)},injection:g};t.exports=v},582:function(t,e,n){"use strict";function i(t,e,n){try{e(n)}catch(t){null===r&&(r=t)}}var r=null,o={invokeGuardedCallback:i,invokeGuardedCallbackWithCatch:i,rethrowCaughtError:function(){if(r){var t=r;throw r=null,t}}};t.exports=o},583:function(t,e,n){"use strict";function i(t){var e=t.target||t.srcElement||window
;return e.correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}t.exports=i},584:function(t,e,n){"use strict";/**
 * Checks if an event is supported in the current execution environment.
 *
 * NOTE: This will not work correctly for non-generic events such as `change`,
 * `reset`, `load`, `error`, and `select`.
 *
 * Borrows from Modernizr.
 *
 * @param {string} eventNameSuffix Event name, e.g. "click".
 * @param {?boolean} capture Check if the capture phase is supported.
 * @return {boolean} True if the event is supported.
 * @internal
 * @license Modernizr 3.0.0pre (Custom Build) | MIT
 */
function i(t,e){if(!o.canUseDOM||e&&!("addEventListener"in document))return!1;var n="on"+t,i=n in document;if(!i){var a=document.createElement("div");a.setAttribute(n,"return;"),i="function"==typeof a[n]}return!i&&r&&"wheel"===t&&(i=document.implementation.hasFeature("Events.wheel","3.0")),i}var r,o=n(114);o.canUseDOM&&(r=document.implementation&&document.implementation.hasFeature&&!0!==document.implementation.hasFeature("","")),t.exports=i},585:function(t,e,n){"use strict";function i(t){
var e=this,n=e.nativeEvent;if(n.getModifierState)return n.getModifierState(t);var i=o[t];return!!i&&!!n[i]}function r(t){return i}var o={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};t.exports=r},586:function(t,e,n){"use strict";function i(t,e){return Array.isArray(e)&&(e=e[1]),e?e.nextSibling:t.firstChild}function r(t,e,n){l.insertTreeBefore(t,e,n)}function o(t,e,n){Array.isArray(e)?s(t,e[0],e[1],n):m(t,e,n)}function a(t,e){if(Array.isArray(e)){var n=e[1];e=e[0],u(t,e,n),
t.removeChild(n)}t.removeChild(e)}function s(t,e,n,i){for(var r=e;;){var o=r.nextSibling;if(m(t,r,i),r===n)break;r=o}}function u(t,e,n){for(;;){var i=e.nextSibling;if(i===n)break;t.removeChild(i)}}function c(t,e,n){var i=t.parentNode,r=t.nextSibling;r===e?n&&m(i,document.createTextNode(n),r):n?(p(r,n),u(i,r,e)):u(i,t,e)}var l=n(297),h=n(1736),f=(n(76),n(151),n(588)),d=n(427),p=n(850),m=f(function(t,e,n){t.insertBefore(e,n)}),g=h.dangerouslyReplaceNodeWithMarkup,v={
dangerouslyReplaceNodeWithMarkup:g,replaceDelimitedText:c,processUpdates:function(t,e){for(var n=0;n<e.length;n++){var s=e[n];switch(s.type){case"INSERT_MARKUP":r(t,s.content,i(t,s.afterNode));break;case"MOVE_EXISTING":o(t,s.fromNode,i(t,s.afterNode));break;case"SET_MARKUP":d(t,s.content);break;case"TEXT_CONTENT":p(t,s.content);break;case"REMOVE_NODE":a(t,s.fromNode)}}}};t.exports=v},587:function(t,e,n){"use strict";var i={html:"http://www.w3.org/1999/xhtml",
mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg"};t.exports=i},588:function(t,e,n){"use strict";var i=function(t){return"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(e,n,i,r){MSApp.execUnsafeLocalFunction(function(){return t(e,n,i,r)})}:t};t.exports=i},589:function(t,e,n){"use strict";function i(t){null!=t.checkedLink&&null!=t.valueLink&&s("87")}function r(t){i(t),(null!=t.value||null!=t.onChange)&&s("88")}function o(t){i(t),
(null!=t.checked||null!=t.onChange)&&s("89")}function a(t){if(t){var e=t.getName();if(e)return" Check the render method of `"+e+"`."}return""}var s=n(54),u=n(291),c=n(1753),l=(n(42),n(47),{button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0}),h={value:function(t,e,n){
return!t[e]||l[t.type]||t.onChange||t.readOnly||t.disabled?null:new Error("You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set either `onChange` or `readOnly`.")},checked:function(t,e,n){
return!t[e]||t.onChange||t.readOnly||t.disabled?null:new Error("You provided a `checked` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultChecked`. Otherwise, set either `onChange` or `readOnly`.")},onChange:u.PropTypes.func},f={},d={checkPropTypes:function(t,e,n){for(var i in h){if(h.hasOwnProperty(i))var r=h[i](e,i,t,"prop",null,c);if(r instanceof Error&&!(r.message in f)){f[r.message]=!0;a(n)}}},
getValue:function(t){return t.valueLink?(r(t),t.valueLink.value):t.value},getChecked:function(t){return t.checkedLink?(o(t),t.checkedLink.value):t.checked},executeOnChange:function(t,e){return t.valueLink?(r(t),t.valueLink.requestChange(e.target.value)):t.checkedLink?(o(t),t.checkedLink.requestChange(e.target.checked)):t.onChange?t.onChange.call(void 0,e):void 0}};t.exports=d},590:function(t,e,n){"use strict";var i=n(54),r=(n(42),!1),o={replaceNodeWithMarkup:null,processChildrenUpdates:null,
injection:{injectEnvironment:function(t){r&&i("104"),o.replaceNodeWithMarkup=t.replaceNodeWithMarkup,o.processChildrenUpdates=t.processChildrenUpdates,r=!0}}};t.exports=o},591:function(t,e,n){"use strict";function i(t,e){return t===e?0!==t||0!==e||1/t==1/e:t!==t&&e!==e}function r(t,e){if(i(t,e))return!0;if("object"!=typeof t||null===t||"object"!=typeof e||null===e)return!1;var n=Object.keys(t),r=Object.keys(e);if(n.length!==r.length)return!1
;for(var a=0;a<n.length;a++)if(!o.call(e,n[a])||!i(t[n[a]],e[n[a]]))return!1;return!0}var o=Object.prototype.hasOwnProperty;t.exports=r},592:function(t,e,n){"use strict";function i(t,e){var n=null===t||!1===t,i=null===e||!1===e;if(n||i)return n===i;var r=typeof t,o=typeof e;return"string"===r||"number"===r?"string"===o||"number"===o:"object"===o&&t.type===e.type&&t.key===e.key}t.exports=i},593:function(t,e,n){"use strict";function i(t){var e={"=":"=0",":":"=2"}
;return"$"+(""+t).replace(/[=:]/g,function(t){return e[t]})}function r(t){var e=/(=0|=2)/g,n={"=0":"=","=2":":"};return(""+("."===t[0]&&"$"===t[1]?t.substring(2):t.substring(1))).replace(e,function(t){return n[t]})}var o={escape:i,unescape:r};t.exports=o},594:function(t,e,n){"use strict";function i(t){u.enqueueUpdate(t)}function r(t){var e=typeof t;if("object"!==e)return e;var n=t.constructor&&t.constructor.name||e,i=Object.keys(t);return i.length>0&&i.length<20?n+" (keys: "+i.join(", ")+")":n}
function o(t,e){var n=s.get(t);if(!n){return null}return n}var a=n(54),s=(n(180),n(361)),u=(n(151),n(170)),c=(n(42),n(47),{isMounted:function(t){var e=s.get(t);return!!e&&!!e._renderedComponent},enqueueCallback:function(t,e,n){c.validateCallback(e,n);var r=o(t);if(!r)return null;r._pendingCallbacks?r._pendingCallbacks.push(e):r._pendingCallbacks=[e],i(r)},enqueueCallbackInternal:function(t,e){t._pendingCallbacks?t._pendingCallbacks.push(e):t._pendingCallbacks=[e],i(t)},
enqueueForceUpdate:function(t){var e=o(t,"forceUpdate");e&&(e._pendingForceUpdate=!0,i(e))},enqueueReplaceState:function(t,e){var n=o(t,"replaceState");n&&(n._pendingStateQueue=[e],n._pendingReplaceState=!0,i(n))},enqueueSetState:function(t,e){var n=o(t,"setState");if(n){(n._pendingStateQueue||(n._pendingStateQueue=[])).push(e),i(n)}},enqueueElementInternal:function(t,e,n){t._pendingElement=e,t._context=n,i(t)},validateCallback:function(t,e){t&&"function"!=typeof t&&a("122",e,r(t))}})
;t.exports=c},595:function(t,e,n){"use strict";var i=(n(68),n(140)),r=(n(47),i);t.exports=r},596:function(t,e,n){"use strict";function i(t){var e,n=t.keyCode;return"charCode"in t?0===(e=t.charCode)&&13===n&&(e=13):e=n,e>=32||13===e?e:0}t.exports=i},68:function(t,e,n){"use strict";function i(t){if(null===t||void 0===t)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(t)}/*
object-assign
(c) Sindre Sorhus
@license MIT
*/
var r=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable;t.exports=function(){try{if(!Object.assign)return!1;var t=new String("abc");if(t[5]="de","5"===Object.getOwnPropertyNames(t)[0])return!1;for(var e={},n=0;n<10;n++)e["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(e).map(function(t){return e[t]}).join(""))return!1;var i={};return"abcdefghijklmnopqrst".split("").forEach(function(t){i[t]=t}),
"abcdefghijklmnopqrst"===Object.keys(Object.assign({},i)).join("")}catch(t){return!1}}()?Object.assign:function(t,e){for(var n,s,u=i(t),c=1;c<arguments.length;c++){n=Object(arguments[c]);for(var l in n)o.call(n,l)&&(u[l]=n[l]);if(r){s=r(n);for(var h=0;h<s.length;h++)a.call(n,s[h])&&(u[s[h]]=n[s[h]])}}return u}},728:function(t,e,n){var i=n(393);t.exports=function(t,e){if(!i(t))return t;var n,r;if(e&&"function"==typeof(n=t.toString)&&!i(r=n.call(t)))return r
;if("function"==typeof(n=t.valueOf)&&!i(r=n.call(t)))return r;if(!e&&"function"==typeof(n=t.toString)&&!i(r=n.call(t)))return r;throw TypeError("Can't convert object to primitive value")}},729:function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},730:function(t,e,n){var i=n(227),r=n(509),o=n(332),a=n(394)("src"),s=Function.toString,u=(""+s).split("toString");n(508).inspectSource=function(t){return s.call(t)},(t.exports=function(t,e,n,s){
var c="function"==typeof n;c&&(o(n,"name")||r(n,"name",e)),t[e]!==n&&(c&&(o(n,a)||r(n,a,t[e]?""+t[e]:u.join(String(e)))),t===i?t[e]=n:s?t[e]?t[e]=n:r(t,e,n):(delete t[e],r(t,e,n)))})(Function.prototype,"toString",function(){return"function"==typeof this&&this[a]||s.call(this)})},731:function(t,e,n){var i=n(227),r=i["__core-js_shared__"]||(i["__core-js_shared__"]={});t.exports=function(t){return r[t]||(r[t]={})}},732:function(t,e){var n={}.toString;t.exports=function(t){
return n.call(t).slice(8,-1)}},733:function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},734:function(t,e){e.f={}.propertyIsEnumerable},735:function(t,e,n){var i=n(266)("unscopables"),r=Array.prototype;void 0==r[i]&&n(509)(r,i,{}),t.exports=function(t){r[i][t]=!0}},752:function(t,e,n){/*!
 * Includes BabySitter
 * https://github.com/marionettejs/backbone.babysitter/
 *
 * Includes Wreqr
 * https://github.com/marionettejs/backbone.wreqr/
 */
!function(e,i){var r=n(3),o=n(272);n(1245),n(1246);t.exports=i(r,o)}(0,function(t,e){!function(t,e,n){"use strict";function i(t,e){var n=new Error(t);throw n.name=e||"Error",n}var r={};e.Marionette=r,r.$=e.$;var o=Array.prototype.slice;r.extend=e.Model.extend,r.getOption=function(t,e){if(t&&e){return t.options&&e in t.options&&void 0!==t.options[e]?t.options[e]:t[e]}},r.normalizeMethods=function(t){var e,i={};return n.each(t,function(t,r){e=t,n.isFunction(e)||(e=this[e]),e&&(i[r]=e)},this),i},
r.triggerMethod=function(){function t(t,e,n){return n.toUpperCase()}var e=/(^|:)(\w)/gi;return function(i){var r="on"+i.replace(e,t),o=this[r];if(n.isFunction(this.trigger)&&this.trigger.apply(this,arguments),n.isFunction(o))return o.apply(this,n.tail(arguments))}}(),r.MonitorDOMRefresh=function(t){function e(t){t._isShown=!0,r(t)}function i(t){t._isRendered=!0,r(t)}function r(t){t._isShown&&t._isRendered&&o(t)&&n.isFunction(t.triggerMethod)&&t.triggerMethod("dom:refresh")}function o(e){
return t.contains(e.el)}return function(t){t.listenTo(t,"show",function(){e(t)}),t.listenTo(t,"render",function(){i(t)})}}(document.documentElement),function(t){function e(t,e,r,o){var a=o.split(/\s+/);n.each(a,function(n){var o=t[n];o||i("Method '"+n+"' was configured as an event handler, but does not exist."),t.listenTo(e,r,o)})}function r(t,e,n,i){t.listenTo(e,n,i)}function o(t,e,i,r){var o=r.split(/\s+/);n.each(o,function(n){var r=t[n];t.stopListening(e,i,r)})}function a(t,e,n,i){
t.stopListening(e,n,i)}function s(t,e,i,r,o){e&&i&&(n.isFunction(i)&&(i=i.call(t)),n.each(i,function(i,a){n.isFunction(i)?r(t,e,a,i):o(t,e,a,i)}))}t.bindEntityEvents=function(t,n,i){s(t,n,i,r,e)},t.unbindEntityEvents=function(t,e,n){s(t,e,n,a,o)}}(r),r.Callbacks=function(){this._deferred=r.$.Deferred(),this._callbacks=[]},n.extend(r.Callbacks.prototype,{add:function(t,e){this._callbacks.push({cb:t,ctx:e}),this._deferred.done(function(n,i){e&&(n=e),t.call(n,i)})},run:function(t,e){
this._deferred.resolve(e,t)},reset:function(){var t=this._callbacks;this._deferred=r.$.Deferred(),this._callbacks=[],n.each(t,function(t){this.add(t.cb,t.ctx)},this)}}),r.Controller=function(t){this.triggerMethod=r.triggerMethod,this.options=t||{},n.isFunction(this.initialize)&&this.initialize(this.options)},r.Controller.extend=r.extend,n.extend(r.Controller.prototype,e.Events,{close:function(){this.stopListening(),this.triggerMethod("close"),this.unbind()}}),r.Region=function(t){
if(this.options=t||{},this.el=r.getOption(this,"el"),this.el||i("An 'el' must be specified for a region.","NoElError"),this.initialize){var e=Array.prototype.slice.apply(arguments);this.initialize.apply(this,e)}},n.extend(r.Region,{buildRegion:function(t,e){var r=n.isString(t),o=n.isString(t.selector),a=n.isUndefined(t.regionType),s=n.isFunction(t);s||r||o||i("Region must be specified as a Region type, a selector string or an object with selector property");var u,c;r&&(u=t),
t.selector&&(u=t.selector,delete t.selector),s&&(c=t),!s&&a&&(c=e),t.regionType&&(c=t.regionType,delete t.regionType),(r||s)&&(t={}),t.el=u;var l=new c(t);return t.parentEl&&(l.getEl=function(e){var i=t.parentEl;return n.isFunction(i)&&(i=i()),i.find(e)}),l}}),n.extend(r.Region.prototype,e.Events,{show:function(t){this.ensureEl();var e=t.isClosed||n.isUndefined(t.$el),i=t!==this.currentView;i&&this.close(),t.render(),(i||e)&&this.open(t),this.currentView=t,r.triggerMethod.call(this,"show",t),
r.triggerMethod.call(t,"show")},ensureEl:function(){this.$el&&0!==this.$el.length||(this.$el=this.getEl(this.el))},getEl:function(t){return r.$(t)},open:function(t){this.$el.empty().append(t.el)},close:function(){var t=this.currentView;t&&!t.isClosed&&(t.close?t.close():t.remove&&t.remove(),r.triggerMethod.call(this,"close",t),delete this.currentView)},attachView:function(t){this.currentView=t},reset:function(){this.close(),delete this.$el}}),r.Region.extend=r.extend,r.RegionManager=function(t){
var e=t.Controller.extend({constructor:function(e){this._regions={},t.Controller.prototype.constructor.call(this,e)},addRegions:function(t,e){var i={};return n.each(t,function(t,r){n.isString(t)&&(t={selector:t}),t.selector&&(t=n.defaults({},t,e));var o=this.addRegion(r,t);i[r]=o},this),i},addRegion:function(e,i){var r,o=n.isObject(i),a=n.isString(i),s=!!i.selector;return r=a||o&&s?t.Region.buildRegion(i,t.Region):n.isFunction(i)?t.Region.buildRegion(i,t.Region):i,this._store(e,r),
this.triggerMethod("region:add",e,r),r},get:function(t){return this._regions[t]},removeRegion:function(t){var e=this._regions[t];this._remove(t,e)},removeRegions:function(){n.each(this._regions,function(t,e){this._remove(e,t)},this)},closeRegions:function(){n.each(this._regions,function(t,e){t.close()},this)},close:function(){this.removeRegions(),t.Controller.prototype.close.apply(this,arguments)},_store:function(t,e){this._regions[t]=e,this._setLength()},_remove:function(t,e){e.close(),
delete this._regions[t],this._setLength(),this.triggerMethod("region:remove",t,e)},_setLength:function(){this.length=n.size(this._regions)}}),i=["forEach","each","map","find","detect","filter","select","reject","every","all","some","any","include","contains","invoke","toArray","first","initial","rest","last","without","isEmpty","pluck"];return n.each(i,function(t){e.prototype[t]=function(){var e=n.values(this._regions),i=[e].concat(n.toArray(arguments));return n[t].apply(n,i)}}),e}(r),
r.TemplateCache=function(t){this.templateId=t},n.extend(r.TemplateCache,{templateCaches:{},get:function(t){var e=this.templateCaches[t];return e||(e=new r.TemplateCache(t),this.templateCaches[t]=e),e.load()},clear:function(){var t,e=o.call(arguments),n=e.length;if(n>0)for(t=0;t<n;t++)delete this.templateCaches[e[t]];else this.templateCaches={}}}),n.extend(r.TemplateCache.prototype,{load:function(){if(this.compiledTemplate)return this.compiledTemplate;var t=this.loadTemplate(this.templateId)
;return this.compiledTemplate=this.compileTemplate(t),this.compiledTemplate},loadTemplate:function(t){var e=r.$(t).html();return e&&0!==e.length||i("Could not find template: '"+t+"'","NoTemplateError"),e},compileTemplate:function(t){return n.template(t)}}),r.Renderer={render:function(t,e){t||i("Cannot render the template since it's false, null or undefined.","TemplateNotFoundError");return("function"==typeof t?t:r.TemplateCache.get(t))(e)}},r.View=e.View.extend({constructor:function(t){
n.bindAll(this,"render"),this.options=n.extend({},n.result(this,"options"),n.isFunction(t)?t.call(this):t),this.events=this.normalizeUIKeys(n.result(this,"events")),e.View.prototype.constructor.apply(this,arguments),r.MonitorDOMRefresh(this),this.listenTo(this,"show",this.onShowCalled)},triggerMethod:r.triggerMethod,normalizeMethods:r.normalizeMethods,getTemplate:function(){return r.getOption(this,"template")},mixinTemplateHelpers:function(t){t=t||{};var e=r.getOption(this,"templateHelpers")
;return n.isFunction(e)&&(e=e.call(this)),n.extend(t,e)},normalizeUIKeys:function(t){var e=this;if(void 0!==t)return n.each(n.keys(t),function(i){var r=/@ui.[a-zA-Z_$0-9]*/g;i.match(r)&&(t[i.replace(r,function(t){return n.result(e,"ui")[t.slice(4)]})]=t[i],delete t[i])}),t},configureTriggers:function(){if(this.triggers){var t={},e=this.normalizeUIKeys(n.result(this,"triggers"));return n.each(e,function(e,i){var r=n.isObject(e),o=r?e.event:e;t[i]=function(t){if(t){
var n=t.preventDefault,i=t.stopPropagation,a=r?e.preventDefault:n,s=r?e.stopPropagation:i;a&&n&&n.apply(t),s&&i&&i.apply(t)}var u={view:this,model:this.model,collection:this.collection};this.triggerMethod(o,u)}},this),t}},delegateEvents:function(t){this._delegateDOMEvents(t),r.bindEntityEvents(this,this.model,r.getOption(this,"modelEvents")),r.bindEntityEvents(this,this.collection,r.getOption(this,"collectionEvents"))},_delegateDOMEvents:function(t){t=t||this.events,
n.isFunction(t)&&(t=t.call(this));var i={},r=this.configureTriggers();n.extend(i,t,r),e.View.prototype.delegateEvents.call(this,i)},undelegateEvents:function(){var t=Array.prototype.slice.call(arguments);e.View.prototype.undelegateEvents.apply(this,t),r.unbindEntityEvents(this,this.model,r.getOption(this,"modelEvents")),r.unbindEntityEvents(this,this.collection,r.getOption(this,"collectionEvents"))},onShowCalled:function(){},close:function(){if(!this.isClosed){
!1!==this.triggerMethod("before:close")&&(this.isClosed=!0,this.triggerMethod("close"),this.unbindUIElements(),this.remove())}},bindUIElements:function(){if(this.ui){this._uiBindings||(this._uiBindings=this.ui);var t=n.result(this,"_uiBindings");this.ui={},n.each(n.keys(t),function(e){var n=t[e];this.ui[e]=this.$(n)},this)}},unbindUIElements:function(){this.ui&&this._uiBindings&&(n.each(this.ui,function(t,e){delete this.ui[e]},this),this.ui=this._uiBindings,delete this._uiBindings)}}),
r.ItemView=r.View.extend({constructor:function(){r.View.prototype.constructor.apply(this,arguments)},serializeData:function(){var t={};return this.model?t=this.model.toJSON():this.collection&&(t={items:this.collection.toJSON()}),t},render:function(){this.isClosed=!1,this.triggerMethod("before:render",this),this.triggerMethod("item:before:render",this);var t=this.serializeData();t=this.mixinTemplateHelpers(t);var e=this.getTemplate(),n=r.Renderer.render(e,t);return this.$el.html(n),
this.bindUIElements(),this.triggerMethod("render",this),this.triggerMethod("item:rendered",this),this},close:function(){this.isClosed||(this.triggerMethod("item:before:close"),r.View.prototype.close.apply(this,arguments),this.triggerMethod("item:closed"))}}),r.CollectionView=r.View.extend({itemViewEventPrefix:"itemview",constructor:function(t){this._initChildViewStorage(),r.View.prototype.constructor.apply(this,arguments),this._initialEvents(),this.initRenderBuffer()},
initRenderBuffer:function(){this.elBuffer=document.createDocumentFragment(),this._bufferedChildren=[]},startBuffering:function(){this.initRenderBuffer(),this.isBuffering=!0},endBuffering:function(){this.isBuffering=!1,this.appendBuffer(this,this.elBuffer),this._triggerShowBufferedChildren(),this.initRenderBuffer()},_triggerShowBufferedChildren:function(){this._isShown&&(n.each(this._bufferedChildren,function(t){r.triggerMethod.call(t,"show")}),this._bufferedChildren=[])},
_initialEvents:function(){this.collection&&(this.listenTo(this.collection,"add",this.addChildView),this.listenTo(this.collection,"remove",this.removeItemView),this.listenTo(this.collection,"reset",this.render))},addChildView:function(t,e,n){this.closeEmptyView();var i=this.getItemView(t),r=this.collection.indexOf(t);this.addItemView(t,i,r)},onShowCalled:function(){this.children.each(function(t){r.triggerMethod.call(t,"show")})},triggerBeforeRender:function(){
this.triggerMethod("before:render",this),this.triggerMethod("collection:before:render",this)},triggerRendered:function(){this.triggerMethod("render",this),this.triggerMethod("collection:rendered",this)},render:function(){return this.isClosed=!1,this.triggerBeforeRender(),this._renderChildren(),this.triggerRendered(),this},_renderChildren:function(){this.startBuffering(),this.closeEmptyView(),this.closeChildren(),this.isEmpty(this.collection)?this.showEmptyView():this.showCollection(),
this.endBuffering()},showCollection:function(){var t;this.collection.each(function(e,n){t=this.getItemView(e),this.addItemView(e,t,n)},this)},showEmptyView:function(){var t=this.getEmptyView();if(t&&!this._showingEmptyView){this._showingEmptyView=!0;var n=new e.Model;this.addItemView(n,t,0)}},closeEmptyView:function(){this._showingEmptyView&&(this.closeChildren(),delete this._showingEmptyView)},getEmptyView:function(){return r.getOption(this,"emptyView")},getItemView:function(t){
var e=r.getOption(this,"itemView");return e||i("An `itemView` must be specified","NoItemViewError"),e},addItemView:function(t,e,i){var o=r.getOption(this,"itemViewOptions");n.isFunction(o)&&(o=o.call(this,t,i));var a=this.buildItemView(t,e,o);return this.addChildViewEventForwarding(a),this.triggerMethod("before:item:added",a),this.children.add(a),this.renderItemView(a,i),this._isShown&&!this.isBuffering&&r.triggerMethod.call(a,"show"),this.triggerMethod("after:item:added",a),a},
addChildViewEventForwarding:function(t){var e=r.getOption(this,"itemViewEventPrefix");this.listenTo(t,"all",function(){var i=o.call(arguments),a=i[0],s=this.normalizeMethods(this.getItemEvents());i[0]=e+":"+a,i.splice(1,0,t),void 0!==s&&n.isFunction(s[a])&&s[a].apply(this,i),r.triggerMethod.apply(this,i)},this)},getItemEvents:function(){return n.isFunction(this.itemEvents)?this.itemEvents.call(this):this.itemEvents},renderItemView:function(t,e){t.render(),this.appendHtml(this,t,e)},
buildItemView:function(t,e,i){return new e(n.extend({model:t},i))},removeItemView:function(t){var e=this.children.findByModel(t);this.removeChildView(e),this.checkEmpty()},removeChildView:function(t){t&&(this.stopListening(t),t.close?t.close():t.remove&&t.remove(),this.children.remove(t)),this.triggerMethod("item:removed",t)},isEmpty:function(t){return!this.collection||0===this.collection.length},checkEmpty:function(){this.isEmpty(this.collection)&&this.showEmptyView()},
appendBuffer:function(t,e){t.$el.append(e)},appendHtml:function(t,e,n){t.isBuffering?(t.elBuffer.appendChild(e.el),t._bufferedChildren.push(e)):t.$el.append(e.el)},_initChildViewStorage:function(){this.children=new e.ChildViewContainer},close:function(){this.isClosed||(this.triggerMethod("collection:before:close"),this.closeChildren(),this.triggerMethod("collection:closed"),r.View.prototype.close.apply(this,arguments))},closeChildren:function(){this.children.each(function(t){
this.removeChildView(t)},this),this.checkEmpty()}}),r.CompositeView=r.CollectionView.extend({constructor:function(){r.CollectionView.prototype.constructor.apply(this,arguments)},_initialEvents:function(){this.once("render",function(){this.collection&&(this.listenTo(this.collection,"add",this.addChildView),this.listenTo(this.collection,"remove",this.removeItemView),this.listenTo(this.collection,"reset",this._renderChildren))})},getItemView:function(t){
var e=r.getOption(this,"itemView")||this.constructor;return e||i("An `itemView` must be specified","NoItemViewError"),e},serializeData:function(){var t={};return this.model&&(t=this.model.toJSON()),t},render:function(){this.isRendered=!0,this.isClosed=!1,this.resetItemViewContainer(),this.triggerBeforeRender();var t=this.renderModel();return this.$el.html(t),this.bindUIElements(),this.triggerMethod("composite:model:rendered"),this._renderChildren(),this.triggerMethod("composite:rendered"),
this.triggerRendered(),this},_renderChildren:function(){this.isRendered&&(this.triggerMethod("composite:collection:before:render"),r.CollectionView.prototype._renderChildren.call(this),this.triggerMethod("composite:collection:rendered"))},renderModel:function(){var t={};t=this.serializeData(),t=this.mixinTemplateHelpers(t);var e=this.getTemplate();return r.Renderer.render(e,t)},appendBuffer:function(t,e){this.getItemViewContainer(t).append(e)},appendHtml:function(t,e,n){
if(t.isBuffering)t.elBuffer.appendChild(e.el),t._bufferedChildren.push(e);else{this.getItemViewContainer(t).append(e.el)}},getItemViewContainer:function(t){if("$itemViewContainer"in t)return t.$itemViewContainer;var e,o=r.getOption(t,"itemViewContainer");if(o){var a=n.isFunction(o)?o.call(this):o;e=t.$(a),e.length<=0&&i("The specified `itemViewContainer` was not found: "+t.itemViewContainer,"ItemViewContainerMissingError")}else e=t.$el;return t.$itemViewContainer=e,e},
resetItemViewContainer:function(){this.$itemViewContainer&&delete this.$itemViewContainer}}),r.Layout=r.ItemView.extend({regionType:r.Region,constructor:function(t){t=t||{},this._firstRender=!0,this._initializeRegions(t),r.ItemView.prototype.constructor.call(this,t)},render:function(){return this.isClosed&&this._initializeRegions(),this._firstRender?this._firstRender=!1:this.isClosed||this._reInitializeRegions(),r.ItemView.prototype.render.apply(this,arguments)},close:function(){
this.isClosed||(this.regionManager.close(),r.ItemView.prototype.close.apply(this,arguments))},addRegion:function(t,e){var n={};return n[t]=e,this._buildRegions(n)[t]},addRegions:function(t){return this.regions=n.extend({},this.regions,t),this._buildRegions(t)},removeRegion:function(t){return delete this.regions[t],this.regionManager.removeRegion(t)},_buildRegions:function(t){var e=this,n={regionType:r.getOption(this,"regionType"),parentEl:function(){return e.$el}}
;return this.regionManager.addRegions(t,n)},_initializeRegions:function(t){var e;this._initRegionManager(),e=n.isFunction(this.regions)?this.regions(t):this.regions||{},this.addRegions(e)},_reInitializeRegions:function(){this.regionManager.closeRegions(),this.regionManager.each(function(t){t.reset()})},_initRegionManager:function(){this.regionManager=new r.RegionManager,this.listenTo(this.regionManager,"region:add",function(t,e){this[t]=e,this.trigger("region:add",t,e)}),
this.listenTo(this.regionManager,"region:remove",function(t,e){delete this[t],this.trigger("region:remove",t,e)})}}),r.AppRouter=e.Router.extend({constructor:function(t){e.Router.prototype.constructor.apply(this,arguments),this.options=t||{};var n=r.getOption(this,"appRoutes"),i=this._getController();this.processAppRoutes(i,n)},appRoute:function(t,e){var n=this._getController();this._addAppRoute(n,t,e)},processAppRoutes:function(t,e){if(e){var i=n.keys(e).reverse();n.each(i,function(n){
this._addAppRoute(t,n,e[n])},this)}},_getController:function(){return r.getOption(this,"controller")},_addAppRoute:function(t,e,r){var o=t[r];o||i("Method '"+r+"' was not found on the controller"),this.route(e,r,n.bind(o,t))}}),r.Application=function(t){this._initRegionManager(),this._initCallbacks=new r.Callbacks,this.vent=new e.Wreqr.EventAggregator,this.commands=new e.Wreqr.Commands,this.reqres=new e.Wreqr.RequestResponse,this.submodules={},n.extend(this,t),this.triggerMethod=r.triggerMethod
},n.extend(r.Application.prototype,e.Events,{execute:function(){this.commands.execute.apply(this.commands,arguments)},request:function(){return this.reqres.request.apply(this.reqres,arguments)},addInitializer:function(t){this._initCallbacks.add(t)},start:function(t){this.triggerMethod("initialize:before",t),this._initCallbacks.run(t,this),this.triggerMethod("initialize:after",t),this.triggerMethod("start",t)},addRegions:function(t){return this._regionManager.addRegions(t)},
closeRegions:function(){this._regionManager.closeRegions()},removeRegion:function(t){this._regionManager.removeRegion(t)},getRegion:function(t){return this._regionManager.get(t)},module:function(t,e){var n=r.Module.getClass(e),i=o.call(arguments);return i.unshift(this),n.create.apply(n,i)},_initRegionManager:function(){this._regionManager=new r.RegionManager,this.listenTo(this._regionManager,"region:add",function(t,e){this[t]=e}),this.listenTo(this._regionManager,"region:remove",function(t,e){
delete this[t]})}}),r.Application.extend=r.extend,r.Module=function(t,e,i){this.moduleName=t,this.options=n.extend({},this.options,i),this.initialize=i.initialize||this.initialize,this.submodules={},this._setupInitializersAndFinalizers(),this.app=e,this.startWithParent=!0,this.triggerMethod=r.triggerMethod,n.isFunction(this.initialize)&&this.initialize(this.options,t,e)},r.Module.extend=r.extend,n.extend(r.Module.prototype,e.Events,{initialize:function(){},addInitializer:function(t){
this._initializerCallbacks.add(t)},addFinalizer:function(t){this._finalizerCallbacks.add(t)},start:function(t){this._isInitialized||(n.each(this.submodules,function(e){e.startWithParent&&e.start(t)}),this.triggerMethod("before:start",t),this._initializerCallbacks.run(t,this),this._isInitialized=!0,this.triggerMethod("start",t))},stop:function(){this._isInitialized&&(this._isInitialized=!1,r.triggerMethod.call(this,"before:stop"),n.each(this.submodules,function(t){t.stop()}),
this._finalizerCallbacks.run(void 0,this),this._initializerCallbacks.reset(),this._finalizerCallbacks.reset(),r.triggerMethod.call(this,"stop"))},addDefinition:function(t,e){this._runModuleDefinition(t,e)},_runModuleDefinition:function(t,i){if(t){var o=n.flatten([this,this.app,e,r,r.$,n,i]);t.apply(this,o)}},_setupInitializersAndFinalizers:function(){this._initializerCallbacks=new r.Callbacks,this._finalizerCallbacks=new r.Callbacks}}),n.extend(r.Module,{create:function(t,e,i){
var r=t,a=o.call(arguments);a.splice(0,3),e=e.split(".");var s=e.length,u=[];return u[s-1]=i,n.each(e,function(e,n){var o=r;r=this._getModule(o,e,t,i),this._addModuleDefinition(o,r,u[n],a)},this),r},_getModule:function(t,e,i,r,o){var a=n.extend({},r),s=this.getClass(r),u=t[e];return u||(u=new s(e,i,a),t[e]=u,t.submodules[e]=u),u},getClass:function(t){var e=r.Module;return t?t.prototype instanceof e?t:t.moduleClass||e:e},_addModuleDefinition:function(t,e,i,o){var a,s
;!n.isFunction(i)||i.prototype instanceof r.Module?n.isObject(i)?(a=i.define,s=!!n.isUndefined(i.startWithParent)||i.startWithParent):s=!0:(a=i,s=!0),a&&e.addDefinition(a,o),e.startWithParent=e.startWithParent&&s,e.startWithParent&&!e.startWithParentIsConfigured&&(e.startWithParentIsConfigured=!0,t.addInitializer(function(t){e.startWithParent&&e.start(t)}))}})}(0,e,t);return e.Marionette})},76:function(t,e,n){"use strict";function i(t,e){
return 1===t.nodeType&&t.getAttribute(p)===String(e)||8===t.nodeType&&t.nodeValue===" react-text: "+e+" "||8===t.nodeType&&t.nodeValue===" react-empty: "+e+" "}function r(t){for(var e;e=t._renderedComponent;)t=e;return t}function o(t,e){var n=r(t);n._hostNode=e,e[g]=n}function a(t){var e=t._hostNode;e&&(delete e[g],t._hostNode=null)}function s(t,e){if(!(t._flags&m.hasCachedChildNodes)){var n=t._renderedChildren,a=e.firstChild;t:for(var s in n)if(n.hasOwnProperty(s)){var u=n[s],c=r(u)._domID
;if(0!==c){for(;null!==a;a=a.nextSibling)if(i(a,c)){o(u,a);continue t}h("32",c)}}t._flags|=m.hasCachedChildNodes}}function u(t){if(t[g])return t[g];for(var e=[];!t[g];){if(e.push(t),!t.parentNode)return null;t=t.parentNode}for(var n,i;t&&(i=t[g]);t=e.pop())n=i,e.length&&s(i,t);return n}function c(t){var e=u(t);return null!=e&&e._hostNode===t?e:null}function l(t){if(void 0===t._hostNode&&h("33"),t._hostNode)return t._hostNode;for(var e=[];!t._hostNode;)e.push(t),t._hostParent||h("34"),
t=t._hostParent;for(;e.length;t=e.pop())s(t,t._hostNode);return t._hostNode}var h=n(54),f=n(294),d=n(838),p=(n(42),f.ID_ATTRIBUTE_NAME),m=d,g="__reactInternalInstance$"+Math.random().toString(36).slice(2),v={getClosestInstanceFromNode:u,getInstanceFromNode:c,getNodeFromInstance:l,precacheChildNodes:s,precacheNode:o,uncacheNode:a};t.exports=v},834:function(t,e,n){"use strict";var i=!1;t.exports=i},835:function(t,e,n){"use strict"
;var i="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;t.exports=i},836:function(t,e,n){"use strict";function i(t){var e=t&&(r&&t[r]||t[o]);if("function"==typeof e)return e}var r="function"==typeof Symbol&&Symbol.iterator,o="@@iterator";t.exports=i},837:function(t,e,n){"use strict";var i={};t.exports=i},838:function(t,e,n){"use strict";var i={hasCachedChildNodes:1};t.exports=i},839:function(t,e,n){"use strict";function i(t){
return(t.ctrlKey||t.altKey||t.metaKey)&&!(t.ctrlKey&&t.altKey)}function r(t){switch(t){case"topCompositionStart":return C.compositionStart;case"topCompositionEnd":return C.compositionEnd;case"topCompositionUpdate":return C.compositionUpdate}}function o(t,e){return"topKeyDown"===t&&e.keyCode===y}function a(t,e){switch(t){case"topKeyUp":return-1!==v.indexOf(e.keyCode);case"topKeyDown":return e.keyCode!==y;case"topKeyPress":case"topMouseDown":case"topBlur":return!0;default:return!1}}function s(t){
var e=t.detail;return"object"==typeof e&&"data"in e?e.data:null}function u(t,e,n,i){var u,c;if(b?u=r(t):k?a(t,n)&&(u=C.compositionEnd):o(t,n)&&(u=C.compositionStart),!u)return null;E&&(k||u!==C.compositionStart?u===C.compositionEnd&&k&&(c=k.getData()):k=p.getPooled(i));var l=m.getPooled(u,e,n,i);if(c)l.data=c;else{var h=s(n);null!==h&&(l.data=h)}return f.accumulateTwoPhaseDispatches(l),l}function c(t,e){switch(t){case"topCompositionEnd":return s(e);case"topKeyPress":
return e.which!==x?null:(S=!0,T);case"topTextInput":var n=e.data;return n===T&&S?null:n;default:return null}}function l(t,e){if(k){if("topCompositionEnd"===t||!b&&a(t,e)){var n=k.getData();return p.release(k),k=null,n}return null}switch(t){case"topPaste":return null;case"topKeyPress":return e.which&&!i(e)?String.fromCharCode(e.which):null;case"topCompositionEnd":return E?null:e.data;default:return null}}function h(t,e,n,i){var r;if(!(r=_?c(t,n):l(t,n)))return null
;var o=g.getPooled(C.beforeInput,e,n,i);return o.data=r,f.accumulateTwoPhaseDispatches(o),o}var f=n(295),d=n(114),p=n(1729),m=n(1730),g=n(1731),v=[9,13,27,32],y=229,b=d.canUseDOM&&"CompositionEvent"in window,w=null;d.canUseDOM&&"documentMode"in document&&(w=document.documentMode);var _=d.canUseDOM&&"TextEvent"in window&&!w&&!function(){var t=window.opera;return"object"==typeof t&&"function"==typeof t.version&&parseInt(t.version(),10)<=12
}(),E=d.canUseDOM&&(!b||w&&w>8&&w<=11),x=32,T=String.fromCharCode(x),C={beforeInput:{phasedRegistrationNames:{bubbled:"onBeforeInput",captured:"onBeforeInputCapture"},dependencies:["topCompositionEnd","topKeyPress","topTextInput","topPaste"]},compositionEnd:{phasedRegistrationNames:{bubbled:"onCompositionEnd",captured:"onCompositionEndCapture"},dependencies:["topBlur","topCompositionEnd","topKeyDown","topKeyPress","topKeyUp","topMouseDown"]},compositionStart:{phasedRegistrationNames:{
bubbled:"onCompositionStart",captured:"onCompositionStartCapture"},dependencies:["topBlur","topCompositionStart","topKeyDown","topKeyPress","topKeyUp","topMouseDown"]},compositionUpdate:{phasedRegistrationNames:{bubbled:"onCompositionUpdate",captured:"onCompositionUpdateCapture"},dependencies:["topBlur","topCompositionUpdate","topKeyDown","topKeyPress","topKeyUp","topMouseDown"]}},S=!1,k=null,M={eventTypes:C,extractEvents:function(t,e,n,i){return[u(t,e,n,i),h(t,e,n,i)]}};t.exports=M},
840:function(t,e,n){"use strict";function i(t,e){return null==e&&r("30"),null==t?e:Array.isArray(t)?Array.isArray(e)?(t.push.apply(t,e),t):(t.push(e),t):Array.isArray(e)?[t].concat(e):[t,e]}var r=n(54);n(42);t.exports=i},841:function(t,e,n){"use strict";function i(t,e,n){Array.isArray(t)?t.forEach(e,n):t&&e.call(n,t)}t.exports=i},842:function(t,e,n){"use strict";function i(){return!o&&r.canUseDOM&&(o="textContent"in document.documentElement?"textContent":"innerText"),o}var r=n(114),o=null
;t.exports=i},843:function(t,e,n){"use strict";function i(t){var e=t.nodeName&&t.nodeName.toLowerCase();return"select"===e||"input"===e&&"file"===t.type}function r(t){var e=x.getPooled(k.change,P,t,T(t));b.accumulateTwoPhaseDispatches(e),E.batchedUpdates(o,e)}function o(t){y.enqueueEvents(t),y.processEventQueue(!1)}function a(t,e){M=t,P=e,M.attachEvent("onchange",r)}function s(){M&&(M.detachEvent("onchange",r),M=null,P=null)}function u(t,e){if("topChange"===t)return e}function c(t,e,n){
"topFocus"===t?(s(),a(e,n)):"topBlur"===t&&s()}function l(t,e){M=t,P=e,N=t.value,I=Object.getOwnPropertyDescriptor(t.constructor.prototype,"value"),Object.defineProperty(M,"value",O),M.attachEvent?M.attachEvent("onpropertychange",f):M.addEventListener("propertychange",f,!1)}function h(){M&&(delete M.value,M.detachEvent?M.detachEvent("onpropertychange",f):M.removeEventListener("propertychange",f,!1),M=null,P=null,N=null,I=null)}function f(t){if("value"===t.propertyName){var e=t.srcElement.value
;e!==N&&(N=e,r(t))}}function d(t,e){if("topInput"===t)return e}function p(t,e,n){"topFocus"===t?(h(),l(e,n)):"topBlur"===t&&h()}function m(t,e){if(("topSelectionChange"===t||"topKeyUp"===t||"topKeyDown"===t)&&M&&M.value!==N)return N=M.value,P}function g(t){return t.nodeName&&"input"===t.nodeName.toLowerCase()&&("checkbox"===t.type||"radio"===t.type)}function v(t,e){if("topClick"===t)return e}var y=n(359),b=n(295),w=n(114),_=n(76),E=n(170),x=n(169),T=n(583),C=n(584),S=n(846),k={change:{
phasedRegistrationNames:{bubbled:"onChange",captured:"onChangeCapture"},dependencies:["topBlur","topChange","topClick","topFocus","topInput","topKeyDown","topKeyUp","topSelectionChange"]}},M=null,P=null,N=null,I=null,A=!1;w.canUseDOM&&(A=C("change")&&(!document.documentMode||document.documentMode>8));var D=!1;w.canUseDOM&&(D=C("input")&&(!document.documentMode||document.documentMode>11));var O={get:function(){return I.get.call(this)},set:function(t){N=""+t,I.set.call(this,t)}},R={eventTypes:k,
extractEvents:function(t,e,n,r){var o,a,s=e?_.getNodeFromInstance(e):window;if(i(s)?A?o=u:a=c:S(s)?D?o=d:(o=m,a=p):g(s)&&(o=v),o){var l=o(t,e);if(l){var h=x.getPooled(k.change,l,n,r);return h.type="change",b.accumulateTwoPhaseDispatches(h),h}}a&&a(t,s,e)}};t.exports=R},844:function(t,e,n){"use strict";function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var r=n(54),o=n(246),a=(n(42),function(){function t(e){i(this,t),this._callbacks=null,
this._contexts=null,this._arg=e}return t.prototype.enqueue=function(t,e){this._callbacks=this._callbacks||[],this._callbacks.push(t),this._contexts=this._contexts||[],this._contexts.push(e)},t.prototype.notifyAll=function(){var t=this._callbacks,e=this._contexts,n=this._arg;if(t&&e){t.length!==e.length&&r("24"),this._callbacks=null,this._contexts=null;for(var i=0;i<t.length;i++)t[i].call(e[i],n);t.length=0,e.length=0}},t.prototype.checkpoint=function(){
return this._callbacks?this._callbacks.length:0},t.prototype.rollback=function(t){this._callbacks&&this._contexts&&(this._callbacks.length=t,this._contexts.length=t)},t.prototype.reset=function(){this._callbacks=null,this._contexts=null},t.prototype.destructor=function(){this.reset()},t}());t.exports=o.addPoolingTo(a)},845:function(t,e,n){"use strict";var i={logTopLevelRenders:!1};t.exports=i},846:function(t,e,n){"use strict";function i(t){var e=t&&t.nodeName&&t.nodeName.toLowerCase()
;return"input"===e?!!r[t.type]:"textarea"===e}var r={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};t.exports=i},847:function(t,e,n){"use strict";var i=["ResponderEventPlugin","SimpleEventPlugin","TapEventPlugin","EnterLeaveEventPlugin","ChangeEventPlugin","SelectEventPlugin","BeforeInputEventPlugin"];t.exports=i},848:function(t,e,n){"use strict";var i=n(295),r=n(76),o=n(426),a={mouseEnter:{
registrationName:"onMouseEnter",dependencies:["topMouseOut","topMouseOver"]},mouseLeave:{registrationName:"onMouseLeave",dependencies:["topMouseOut","topMouseOver"]}},s={eventTypes:a,extractEvents:function(t,e,n,s){if("topMouseOver"===t&&(n.relatedTarget||n.fromElement))return null;if("topMouseOut"!==t&&"topMouseOver"!==t)return null;var u;if(s.window===s)u=s;else{var c=s.ownerDocument;u=c?c.defaultView||c.parentWindow:window}var l,h;if("topMouseOut"===t){l=e;var f=n.relatedTarget||n.toElement
;h=f?r.getClosestInstanceFromNode(f):null}else l=null,h=e;if(l===h)return null;var d=null==l?u:r.getNodeFromInstance(l),p=null==h?u:r.getNodeFromInstance(h),m=o.getPooled(a.mouseLeave,l,n,s);m.type="mouseleave",m.target=d,m.relatedTarget=p;var g=o.getPooled(a.mouseEnter,h,n,s);return g.type="mouseenter",g.target=p,g.relatedTarget=d,i.accumulateEnterLeaveDispatches(m,g,l,h),[m,g]}};t.exports=s},849:function(t,e,n){"use strict";var i={currentScrollLeft:0,currentScrollTop:0,
refreshScrollValues:function(t){i.currentScrollLeft=t.x,i.currentScrollTop=t.y}};t.exports=i},850:function(t,e,n){"use strict";var i=n(114),r=n(428),o=n(427),a=function(t,e){if(e){var n=t.firstChild;if(n&&n===t.lastChild&&3===n.nodeType)return void(n.nodeValue=e)}t.textContent=e};i.canUseDOM&&("textContent"in document.documentElement||(a=function(t,e){if(3===t.nodeType)return void(t.nodeValue=e);o(t,r(e))})),t.exports=a},851:function(t,e,n){"use strict";function i(t){try{t.focus()}catch(t){}}
t.exports=i},852:function(t,e,n){"use strict";var i=n(853),r=n(114),o=(n(151),n(1743),n(1745)),a=n(1746),s=n(1748),u=(n(47),s(function(t){return a(t)})),c=!1,l="cssFloat";if(r.canUseDOM){var h=document.createElement("div").style;try{h.font=""}catch(t){c=!0}void 0===document.documentElement.style.cssFloat&&(l="styleFloat")}var f={createMarkupForStyles:function(t,e){var n="";for(var i in t)if(t.hasOwnProperty(i)){var r=t[i];null!=r&&(n+=u(i)+":",n+=o(i,r,e)+";")}return n||null},
setValueForStyles:function(t,e,n){var r=t.style;for(var a in e)if(e.hasOwnProperty(a)){var s=o(a,e[a],n);if("float"!==a&&"cssFloat"!==a||(a=l),s)r[a]=s;else{var u=c&&i.shorthandPropertyExpansions[a];if(u)for(var h in u)r[h]="";else r[a]=""}}}};t.exports=f},853:function(t,e,n){"use strict";function i(t,e){return t+e.charAt(0).toUpperCase()+e.substring(1)}var r={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,
columnCount:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridRow:!0,gridColumn:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},o=["Webkit","ms","Moz","O"];Object.keys(r).forEach(function(t){o.forEach(function(e){r[i(e,t)]=r[t]})});var a={background:{
backgroundAttachment:!0,backgroundColor:!0,backgroundImage:!0,backgroundPositionX:!0,backgroundPositionY:!0,backgroundRepeat:!0},backgroundPosition:{backgroundPositionX:!0,backgroundPositionY:!0},border:{borderWidth:!0,borderStyle:!0,borderColor:!0},borderBottom:{borderBottomWidth:!0,borderBottomStyle:!0,borderBottomColor:!0},borderLeft:{borderLeftWidth:!0,borderLeftStyle:!0,borderLeftColor:!0},borderRight:{borderRightWidth:!0,borderRightStyle:!0,borderRightColor:!0},borderTop:{
borderTopWidth:!0,borderTopStyle:!0,borderTopColor:!0},font:{fontStyle:!0,fontVariant:!0,fontWeight:!0,fontSize:!0,lineHeight:!0,fontFamily:!0},outline:{outlineWidth:!0,outlineStyle:!0,outlineColor:!0}},s={isUnitlessNumber:r,shorthandPropertyExpansions:a};t.exports=s},854:function(t,e,n){"use strict";function i(t){return!!c.hasOwnProperty(t)||!u.hasOwnProperty(t)&&(s.test(t)?(c[t]=!0,!0):(u[t]=!0,!1))}function r(t,e){
return null==e||t.hasBooleanValue&&!e||t.hasNumericValue&&isNaN(e)||t.hasPositiveNumericValue&&e<1||t.hasOverloadedBooleanValue&&!1===e}var o=n(294),a=(n(76),n(151),n(1749)),s=(n(47),new RegExp("^["+o.ATTRIBUTE_NAME_START_CHAR+"]["+o.ATTRIBUTE_NAME_CHAR+"]*$")),u={},c={},l={createMarkupForID:function(t){return o.ID_ATTRIBUTE_NAME+"="+a(t)},setAttributeForID:function(t,e){t.setAttribute(o.ID_ATTRIBUTE_NAME,e)},createMarkupForRoot:function(){return o.ROOT_ATTRIBUTE_NAME+'=""'},
setAttributeForRoot:function(t){t.setAttribute(o.ROOT_ATTRIBUTE_NAME,"")},createMarkupForProperty:function(t,e){var n=o.properties.hasOwnProperty(t)?o.properties[t]:null;if(n){if(r(n,e))return"";var i=n.attributeName;return n.hasBooleanValue||n.hasOverloadedBooleanValue&&!0===e?i+'=""':i+"="+a(e)}return o.isCustomAttribute(t)?null==e?"":t+"="+a(e):null},createMarkupForCustomAttribute:function(t,e){return i(t)&&null!=e?t+"="+a(e):""},setValueForProperty:function(t,e,n){
var i=o.properties.hasOwnProperty(e)?o.properties[e]:null;if(i){var a=i.mutationMethod;if(a)a(t,n);else{if(r(i,n))return void this.deleteValueForProperty(t,e);if(i.mustUseProperty)t[i.propertyName]=n;else{var s=i.attributeName,u=i.attributeNamespace;u?t.setAttributeNS(u,s,""+n):i.hasBooleanValue||i.hasOverloadedBooleanValue&&!0===n?t.setAttribute(s,""):t.setAttribute(s,""+n)}}}else if(o.isCustomAttribute(e))return void l.setValueForAttribute(t,e,n)},setValueForAttribute:function(t,e,n){if(i(e)){
null==n?t.removeAttribute(e):t.setAttribute(e,""+n)}},deleteValueForAttribute:function(t,e){t.removeAttribute(e)},deleteValueForProperty:function(t,e){var n=o.properties.hasOwnProperty(e)?o.properties[e]:null;if(n){var i=n.mutationMethod;if(i)i(t,void 0);else if(n.mustUseProperty){var r=n.propertyName;n.hasBooleanValue?t[r]=!1:t[r]=""}else t.removeAttribute(n.attributeName)}else o.isCustomAttribute(e)&&t.removeAttribute(e)}};t.exports=l},855:function(t,e,n){"use strict";function i(){
if(this._rootNodeID&&this._wrapperState.pendingUpdate){this._wrapperState.pendingUpdate=!1;var t=this._currentElement.props,e=s.getValue(t);null!=e&&r(this,Boolean(t.multiple),e)}}function r(t,e,n){var i,r,o=u.getNodeFromInstance(t).options;if(e){for(i={},r=0;r<n.length;r++)i[""+n[r]]=!0;for(r=0;r<o.length;r++){var a=i.hasOwnProperty(o[r].value);o[r].selected!==a&&(o[r].selected=a)}}else{for(i=""+n,r=0;r<o.length;r++)if(o[r].value===i)return void(o[r].selected=!0);o.length&&(o[0].selected=!0)}}
function o(t){var e=this._currentElement.props,n=s.executeOnChange(e,t);return this._rootNodeID&&(this._wrapperState.pendingUpdate=!0),c.asap(i,this),n}var a=n(68),s=n(589),u=n(76),c=n(170),l=(n(47),!1),h={getHostProps:function(t,e){return a({},e,{onChange:t._wrapperState.onChange,value:void 0})},mountWrapper:function(t,e){var n=s.getValue(e);t._wrapperState={pendingUpdate:!1,initialValue:null!=n?n:e.defaultValue,listeners:null,onChange:o.bind(t),wasMultiple:Boolean(e.multiple)},
void 0===e.value||void 0===e.defaultValue||l||(l=!0)},getSelectValueContext:function(t){return t._wrapperState.initialValue},postUpdateWrapper:function(t){var e=t._currentElement.props;t._wrapperState.initialValue=void 0;var n=t._wrapperState.wasMultiple;t._wrapperState.wasMultiple=Boolean(e.multiple);var i=s.getValue(e);null!=i?(t._wrapperState.pendingUpdate=!1,
r(t,Boolean(e.multiple),i)):n!==Boolean(e.multiple)&&(null!=e.defaultValue?r(t,Boolean(e.multiple),e.defaultValue):r(t,Boolean(e.multiple),e.multiple?[]:""))}};t.exports=h},856:function(t,e){function n(){throw new Error("setTimeout has not been defined")}function i(){throw new Error("clearTimeout has not been defined")}function r(t){if(l===setTimeout)return setTimeout(t,0);if((l===n||!l)&&setTimeout)return l=setTimeout,setTimeout(t,0);try{return l(t,0)}catch(e){try{return l.call(null,t,0)
}catch(e){return l.call(this,t,0)}}}function o(t){if(h===clearTimeout)return clearTimeout(t);if((h===i||!h)&&clearTimeout)return h=clearTimeout,clearTimeout(t);try{return h(t)}catch(e){try{return h.call(null,t)}catch(e){return h.call(this,t)}}}function a(){m&&d&&(m=!1,d.length?p=d.concat(p):g=-1,p.length&&s())}function s(){if(!m){var t=r(a);m=!0;for(var e=p.length;e;){for(d=p,p=[];++g<e;)d&&d[g].run();g=-1,e=p.length}d=null,m=!1,o(t)}}function u(t,e){this.fun=t,this.array=e}function c(){}
var l,h,f=t.exports={};!function(){try{l="function"==typeof setTimeout?setTimeout:n}catch(t){l=n}try{h="function"==typeof clearTimeout?clearTimeout:i}catch(t){h=i}}();var d,p=[],m=!1,g=-1;f.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)e[n-1]=arguments[n];p.push(new u(t,e)),1!==p.length||m||r(s)},u.prototype.run=function(){this.fun.apply(null,this.array)},f.title="browser",f.browser=!0,f.env={},f.argv=[],f.version="",
f.versions={},f.on=c,f.addListener=c,f.once=c,f.off=c,f.removeListener=c,f.removeAllListeners=c,f.emit=c,f.binding=function(t){throw new Error("process.binding is not supported")},f.cwd=function(){return"/"},f.chdir=function(t){throw new Error("process.chdir is not supported")},f.umask=function(){return 0}},857:function(t,e,n){"use strict";function i(t){if(t){var e=t.getName();if(e)return" Check the render method of `"+e+"`."}return""}function r(t){
return"function"==typeof t&&void 0!==t.prototype&&"function"==typeof t.prototype.mountComponent&&"function"==typeof t.prototype.receiveComponent}function o(t,e){var n;if(null===t||!1===t)n=c.create(o);else if("object"==typeof t){var s=t,u=s.type;if("function"!=typeof u&&"string"!=typeof u){var f="";f+=i(s._owner),a("130",null==u?u:typeof u,f)}"string"==typeof s.type?n=l.createInternalComponent(s):r(s.type)?(n=new s.type(s),n.getHostNode||(n.getHostNode=n.getNativeNode)):n=new h(s)
}else"string"==typeof t||"number"==typeof t?n=l.createInstanceForText(t):a("131",typeof t);return n._mountIndex=0,n._mountImage=null,n}var a=n(54),s=n(68),u=n(1758),c=n(859),l=n(860),h=(n(1759),n(42),n(47),function(t){this.construct(t)});s(h.prototype,u,{_instantiateReactComponent:o}),t.exports=o},858:function(t,e,n){"use strict";var i=n(54),r=n(291),o=(n(42),{HOST:0,COMPOSITE:1,EMPTY:2,getType:function(t){
return null===t||!1===t?o.EMPTY:r.isValidElement(t)?"function"==typeof t.type?o.COMPOSITE:o.HOST:void i("26",t)}});t.exports=o},859:function(t,e,n){"use strict";var i,r={injectEmptyComponentFactory:function(t){i=t}},o={create:function(t){return i(t)}};o.injection=r,t.exports=o},860:function(t,e,n){"use strict";function i(t){return s||a("111",t.type),new s(t)}function r(t){return new u(t)}function o(t){return t instanceof u}var a=n(54),s=(n(42),null),u=null,c={
injectGenericComponentClass:function(t){s=t},injectTextComponentClass:function(t){u=t}},l={createInternalComponent:i,createInstanceForText:r,isTextComponent:o,injection:c};t.exports=l},861:function(t,e,n){"use strict";function i(t,e){return t&&"object"==typeof t&&null!=t.key?c.escape(t.key):e.toString(36)}function r(t,e,n,o){var f=typeof t;if("undefined"!==f&&"boolean"!==f||(t=null),null===t||"string"===f||"number"===f||"object"===f&&t.$$typeof===s)return n(o,t,""===e?l+i(t,0):e),1
;var d,p,m=0,g=""===e?l:e+h;if(Array.isArray(t))for(var v=0;v<t.length;v++)d=t[v],p=g+i(d,v),m+=r(d,p,n,o);else{var y=u(t);if(y){var b,w=y.call(t);if(y!==t.entries)for(var _=0;!(b=w.next()).done;)d=b.value,p=g+i(d,_++),m+=r(d,p,n,o);else for(;!(b=w.next()).done;){var E=b.value;E&&(d=E[1],p=g+c.escape(E[0])+h+i(d,0),m+=r(d,p,n,o))}}else if("object"===f){var x="",T=String(t);a("31","[object Object]"===T?"object with keys {"+Object.keys(t).join(", ")+"}":T,x)}}return m}function o(t,e,n){
return null==t?0:r(t,"",e,n)}var a=n(54),s=(n(180),n(1760)),u=n(1761),c=(n(42),n(593)),l=(n(47),"."),h=":";t.exports=o},862:function(t,e,n){"use strict";function i(t){var e=Function.prototype.toString,n=Object.prototype.hasOwnProperty,i=RegExp("^"+e.call(n).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");try{var r=e.call(t);return i.test(r)}catch(t){return!1}}function r(t){var e=c(t);if(e){var n=e.childIDs;l(t),n.forEach(r)}}
function o(t,e,n){return"\n    in "+(t||"Unknown")+(e?" (at "+e.fileName.replace(/^.*[\\\/]/,"")+":"+e.lineNumber+")":n?" (created by "+n+")":"")}function a(t){return null==t?"#empty":"string"==typeof t||"number"==typeof t?"#text":"string"==typeof t.type?t.type:t.type.displayName||t.type.name||"Unknown"}function s(t){var e,n=C.getDisplayName(t),i=C.getElement(t),r=C.getOwnerID(t);return r&&(e=C.getDisplayName(r)),o(n,i&&i._source,e)}var u,c,l,h,f,d,p,m=n(292),g=n(180),v=(n(42),n(47),
"function"==typeof Array.from&&"function"==typeof Map&&i(Map)&&null!=Map.prototype&&"function"==typeof Map.prototype.keys&&i(Map.prototype.keys)&&"function"==typeof Set&&i(Set)&&null!=Set.prototype&&"function"==typeof Set.prototype.keys&&i(Set.prototype.keys));if(v){var y=new Map,b=new Set;u=function(t,e){y.set(t,e)},c=function(t){return y.get(t)},l=function(t){y.delete(t)},h=function(){return Array.from(y.keys())},f=function(t){b.add(t)},d=function(t){b.delete(t)},p=function(){
return Array.from(b.keys())}}else{var w={},_={},E=function(t){return"."+t},x=function(t){return parseInt(t.substr(1),10)};u=function(t,e){var n=E(t);w[n]=e},c=function(t){var e=E(t);return w[e]},l=function(t){var e=E(t);delete w[e]},h=function(){return Object.keys(w).map(x)},f=function(t){var e=E(t);_[e]=!0},d=function(t){var e=E(t);delete _[e]},p=function(){return Object.keys(_).map(x)}}var T=[],C={onSetChildren:function(t,e){var n=c(t);n||m("144"),n.childIDs=e;for(var i=0;i<e.length;i++){
var r=e[i],o=c(r);o||m("140"),null==o.childIDs&&"object"==typeof o.element&&null!=o.element&&m("141"),o.isMounted||m("71"),null==o.parentID&&(o.parentID=t),o.parentID!==t&&m("142",r,o.parentID,t)}},onBeforeMountComponent:function(t,e,n){u(t,{element:e,parentID:n,text:null,childIDs:[],isMounted:!1,updateCount:0})},onBeforeUpdateComponent:function(t,e){var n=c(t);n&&n.isMounted&&(n.element=e)},onMountComponent:function(t){var e=c(t);e||m("144"),e.isMounted=!0,0===e.parentID&&f(t)},
onUpdateComponent:function(t){var e=c(t);e&&e.isMounted&&e.updateCount++},onUnmountComponent:function(t){var e=c(t);if(e){e.isMounted=!1;0===e.parentID&&d(t)}T.push(t)},purgeUnmountedComponents:function(){if(!C._preventPurging){for(var t=0;t<T.length;t++){r(T[t])}T.length=0}},isMounted:function(t){var e=c(t);return!!e&&e.isMounted},getCurrentStackAddendum:function(t){var e="";if(t){var n=a(t),i=t._owner;e+=o(n,t._source,i&&i.getName())}var r=g.current,s=r&&r._debugID
;return e+=C.getStackAddendumByID(s)},getStackAddendumByID:function(t){for(var e="";t;)e+=s(t),t=C.getParentID(t);return e},getChildIDs:function(t){var e=c(t);return e?e.childIDs:[]},getDisplayName:function(t){var e=C.getElement(t);return e?a(e):null},getElement:function(t){var e=c(t);return e?e.element:null},getOwnerID:function(t){var e=C.getElement(t);return e&&e._owner?e._owner._debugID:null},getParentID:function(t){var e=c(t);return e?e.parentID:null},getSource:function(t){
var e=c(t),n=e?e.element:null;return null!=n?n._source:null},getText:function(t){var e=C.getElement(t);return"string"==typeof e?e:"number"==typeof e?""+e:null},getUpdateCount:function(t){var e=c(t);return e?e.updateCount:0},getRootIDs:p,getRegisteredIDs:h};t.exports=C},863:function(t,e,n){"use strict";var i=n(140),r={listen:function(t,e,n){return t.addEventListener?(t.addEventListener(e,n,!1),{remove:function(){t.removeEventListener(e,n,!1)}}):t.attachEvent?(t.attachEvent("on"+e,n),{
remove:function(){t.detachEvent("on"+e,n)}}):void 0},capture:function(t,e,n){return t.addEventListener?(t.addEventListener(e,n,!0),{remove:function(){t.removeEventListener(e,n,!0)}}):{remove:i}},registerDefault:function(){}};t.exports=r},864:function(t,e,n){"use strict";var i=n(294),r=n(359),o=n(581),a=n(590),s=n(859),u=n(429),c=n(860),l=n(170),h={Component:a.injection,DOMProperty:i.injection,EmptyComponent:s.injection,EventPluginHub:r.injection,EventPluginUtils:o.injection,
EventEmitter:u.injection,HostComponent:c.injection,Updates:l.injection};t.exports=h},865:function(t,e,n){"use strict";function i(t){return o(document.documentElement,t)}var r=n(1772),o=n(1774),a=n(851),s=n(866),u={hasSelectionCapabilities:function(t){var e=t&&t.nodeName&&t.nodeName.toLowerCase();return e&&("input"===e&&"text"===t.type||"textarea"===e||"true"===t.contentEditable)},getSelectionInformation:function(){var t=s();return{focusedElem:t,
selectionRange:u.hasSelectionCapabilities(t)?u.getSelection(t):null}},restoreSelection:function(t){var e=s(),n=t.focusedElem,r=t.selectionRange;e!==n&&i(n)&&(u.hasSelectionCapabilities(n)&&u.setSelection(n,r),a(n))},getSelection:function(t){var e;if("selectionStart"in t)e={start:t.selectionStart,end:t.selectionEnd};else if(document.selection&&t.nodeName&&"input"===t.nodeName.toLowerCase()){var n=document.selection.createRange();n.parentElement()===t&&(e={
start:-n.moveStart("character",-t.value.length),end:-n.moveEnd("character",-t.value.length)})}else e=r.getOffsets(t);return e||{start:0,end:0}},setSelection:function(t,e){var n=e.start,i=e.end;if(void 0===i&&(i=n),"selectionStart"in t)t.selectionStart=n,t.selectionEnd=Math.min(i,t.value.length);else if(document.selection&&t.nodeName&&"input"===t.nodeName.toLowerCase()){var o=t.createTextRange();o.collapse(!0),o.moveStart("character",n),o.moveEnd("character",i-n),o.select()}else r.setOffsets(t,e)
}};t.exports=u},866:function(t,e,n){"use strict";function i(){if("undefined"==typeof document)return null;try{return document.activeElement||document.body}catch(t){return document.body}}t.exports=i},867:function(t,e,n){"use strict";function i(t){if("selectionStart"in t&&u.hasSelectionCapabilities(t))return{start:t.selectionStart,end:t.selectionEnd};if(window.getSelection){var e=window.getSelection();return{anchorNode:e.anchorNode,anchorOffset:e.anchorOffset,focusNode:e.focusNode,
focusOffset:e.focusOffset}}if(document.selection){var n=document.selection.createRange();return{parentElement:n.parentElement(),text:n.text,top:n.boundingTop,left:n.boundingLeft}}}function r(t,e){if(y||null==m||m!==l())return null;var n=i(m);if(!v||!f(v,n)){v=n;var r=c.getPooled(p.select,g,t,e);return r.type="select",r.target=m,o.accumulateTwoPhaseDispatches(r),r}return null}
var o=n(295),a=n(114),s=n(76),u=n(865),c=n(169),l=n(866),h=n(846),f=n(591),d=a.canUseDOM&&"documentMode"in document&&document.documentMode<=11,p={select:{phasedRegistrationNames:{bubbled:"onSelect",captured:"onSelectCapture"},dependencies:["topBlur","topContextMenu","topFocus","topKeyDown","topKeyUp","topMouseDown","topMouseUp","topSelectionChange"]}},m=null,g=null,v=null,y=!1,b=!1,w={eventTypes:p,extractEvents:function(t,e,n,i){if(!b)return null;var o=e?s.getNodeFromInstance(e):window
;switch(t){case"topFocus":(h(o)||"true"===o.contentEditable)&&(m=o,g=e,v=null);break;case"topBlur":m=null,g=null,v=null;break;case"topMouseDown":y=!0;break;case"topContextMenu":case"topMouseUp":return y=!1,r(n,i);case"topSelectionChange":if(d)break;case"topKeyDown":case"topKeyUp":return r(n,i)}return null},didPutListener:function(t,e,n){"onSelect"===e&&(b=!0)}};t.exports=w},868:function(t,e,n){"use strict";function i(t){return"."+t._rootNodeID}function r(t){
return"button"===t||"input"===t||"select"===t||"textarea"===t}var o=n(54),a=n(863),s=n(295),u=n(76),c=n(1778),l=n(1779),h=n(169),f=n(1780),d=n(1781),p=n(426),m=n(1783),g=n(1784),v=n(1785),y=n(360),b=n(1786),w=n(140),_=n(596),E=(n(42),{}),x={}
;["abort","animationEnd","animationIteration","animationStart","blur","canPlay","canPlayThrough","click","contextMenu","copy","cut","doubleClick","drag","dragEnd","dragEnter","dragExit","dragLeave","dragOver","dragStart","drop","durationChange","emptied","encrypted","ended","error","focus","input","invalid","keyDown","keyPress","keyUp","load","loadedData","loadedMetadata","loadStart","mouseDown","mouseMove","mouseOut","mouseOver","mouseUp","paste","pause","play","playing","progress","rateChange","reset","scroll","seeked","seeking","stalled","submit","suspend","timeUpdate","touchCancel","touchEnd","touchMove","touchStart","transitionEnd","volumeChange","waiting","wheel"].forEach(function(t){
var e=t[0].toUpperCase()+t.slice(1),n="on"+e,i="top"+e,r={phasedRegistrationNames:{bubbled:n,captured:n+"Capture"},dependencies:[i]};E[t]=r,x[i]=r});var T={},C={eventTypes:E,extractEvents:function(t,e,n,i){var r=x[t];if(!r)return null;var a;switch(t){case"topAbort":case"topCanPlay":case"topCanPlayThrough":case"topDurationChange":case"topEmptied":case"topEncrypted":case"topEnded":case"topError":case"topInput":case"topInvalid":case"topLoad":case"topLoadedData":case"topLoadedMetadata":
case"topLoadStart":case"topPause":case"topPlay":case"topPlaying":case"topProgress":case"topRateChange":case"topReset":case"topSeeked":case"topSeeking":case"topStalled":case"topSubmit":case"topSuspend":case"topTimeUpdate":case"topVolumeChange":case"topWaiting":a=h;break;case"topKeyPress":if(0===_(n))return null;case"topKeyDown":case"topKeyUp":a=d;break;case"topBlur":case"topFocus":a=f;break;case"topClick":if(2===n.button)return null;case"topDoubleClick":case"topMouseDown":case"topMouseMove":
case"topMouseUp":case"topMouseOut":case"topMouseOver":case"topContextMenu":a=p;break;case"topDrag":case"topDragEnd":case"topDragEnter":case"topDragExit":case"topDragLeave":case"topDragOver":case"topDragStart":case"topDrop":a=m;break;case"topTouchCancel":case"topTouchEnd":case"topTouchMove":case"topTouchStart":a=g;break;case"topAnimationEnd":case"topAnimationIteration":case"topAnimationStart":a=c;break;case"topTransitionEnd":a=v;break;case"topScroll":a=y;break;case"topWheel":a=b;break
;case"topCopy":case"topCut":case"topPaste":a=l}a||o("86",t);var u=a.getPooled(r,e,n,i);return s.accumulateTwoPhaseDispatches(u),u},didPutListener:function(t,e,n){if("onClick"===e&&!r(t._tag)){var o=i(t),s=u.getNodeFromInstance(t);T[o]||(T[o]=a.listen(s,"click",w))}},willDeleteListener:function(t,e){if("onClick"===e&&!r(t._tag)){var n=i(t);T[n].remove(),delete T[n]}}};t.exports=C},869:function(t,e,n){"use strict";function i(t,e){
for(var n=Math.min(t.length,e.length),i=0;i<n;i++)if(t.charAt(i)!==e.charAt(i))return i;return t.length===e.length?-1:n}function r(t){return t?t.nodeType===O?t.documentElement:t.firstChild:null}function o(t){return t.getAttribute&&t.getAttribute(I)||""}function a(t,e,n,i,r){var o;if(_.logTopLevelRenders){var a=t._currentElement.props.child,s=a.type;o="React mount: "+("string"==typeof s?s:s.displayName||s.name),console.time(o)}var u=T.mountComponent(t,n,null,b(t,e),r,0);o&&console.timeEnd(o),
t._renderedComponent._topLevelWrapper=t,F._mountImageIntoNode(u,e,t,i,n)}function s(t,e,n,i){var r=S.ReactReconcileTransaction.getPooled(!n&&w.useCreateElement);r.perform(a,null,t,e,r,n,i),S.ReactReconcileTransaction.release(r)}function u(t,e,n){for(T.unmountComponent(t,n),e.nodeType===O&&(e=e.documentElement);e.lastChild;)e.removeChild(e.lastChild)}function c(t){var e=r(t);if(e){var n=y.getInstanceFromNode(e);return!(!n||!n._hostParent)}}function l(t){
return!(!t||t.nodeType!==D&&t.nodeType!==O&&t.nodeType!==R)}function h(t){var e=r(t),n=e&&y.getInstanceFromNode(e);return n&&!n._hostParent?n:null}function f(t){var e=h(t);return e?e._hostContainerInfo._topLevelWrapper:null}var d=n(54),p=n(297),m=n(294),g=n(291),v=n(429),y=(n(180),n(76)),b=n(1787),w=n(1788),_=n(845),E=n(361),x=(n(151),n(1789)),T=n(296),C=n(594),S=n(170),k=n(358),M=n(857),P=(n(42),n(427)),N=n(592),I=(n(47),
m.ID_ATTRIBUTE_NAME),A=m.ROOT_ATTRIBUTE_NAME,D=1,O=9,R=11,L={},j=1,U=function(){this.rootID=j++};U.prototype.isReactComponent={},U.prototype.render=function(){return this.props.child},U.isReactTopLevelWrapper=!0;var F={TopLevelWrapper:U,_instancesByReactRootID:L,scrollMonitor:function(t,e){e()},_updateRootComponent:function(t,e,n,i,r){return F.scrollMonitor(i,function(){C.enqueueElementInternal(t,e,n),r&&C.enqueueCallbackInternal(t,r)}),t},_renderNewRootComponent:function(t,e,n,i){l(e)||d("37"),
v.ensureScrollValueMonitoring();var r=M(t,!1);S.batchedUpdates(s,r,e,n,i);var o=r._instance.rootID;return L[o]=r,r},renderSubtreeIntoContainer:function(t,e,n,i){return null!=t&&E.has(t)||d("38"),F._renderSubtreeIntoContainer(t,e,n,i)},_renderSubtreeIntoContainer:function(t,e,n,i){C.validateCallback(i,"ReactDOM.render"),
g.isValidElement(e)||d("39","string"==typeof e?" Instead of passing a string like 'div', pass React.createElement('div') or <div />.":"function"==typeof e?" Instead of passing a class like Foo, pass React.createElement(Foo) or <Foo />.":null!=e&&void 0!==e.props?" This may be caused by unintentionally loading two independent copies of React.":"");var a,s=g.createElement(U,{child:e});if(t){var u=E.get(t);a=u._processChildContext(u._context)}else a=k;var l=f(n);if(l){
var h=l._currentElement,p=h.props.child;if(N(p,e)){var m=l._renderedComponent.getPublicInstance(),v=i&&function(){i.call(m)};return F._updateRootComponent(l,s,a,n,v),m}F.unmountComponentAtNode(n)}var y=r(n),b=y&&!!o(y),w=c(n),_=b&&!l&&!w,x=F._renderNewRootComponent(s,n,_,a)._renderedComponent.getPublicInstance();return i&&i.call(x),x},render:function(t,e,n){return F._renderSubtreeIntoContainer(null,t,e,n)},unmountComponentAtNode:function(t){l(t)||d("40");var e=f(t);if(!e){c(t),
1===t.nodeType&&t.hasAttribute(A);return!1}return delete L[e._instance.rootID],S.batchedUpdates(u,e,t,!1),!0},_mountImageIntoNode:function(t,e,n,o,a){if(l(e)||d("41"),o){var s=r(e);if(x.canReuseMarkup(t,s))return void y.precacheNode(n,s);var u=s.getAttribute(x.CHECKSUM_ATTR_NAME);s.removeAttribute(x.CHECKSUM_ATTR_NAME);var c=s.outerHTML;s.setAttribute(x.CHECKSUM_ATTR_NAME,u);var h=t,f=i(h,c),m=" (client) "+h.substring(f-20,f+20)+"\n (server) "+c.substring(f-20,f+20);e.nodeType===O&&d("42",m)}
if(e.nodeType===O&&d("43"),a.useCreateElement){for(;e.lastChild;)e.removeChild(e.lastChild);p.insertTreeBefore(e,t,null)}else P(e,t),y.precacheNode(n,e.firstChild)}};t.exports=F},870:function(t,e,n){"use strict";function i(t){for(var e;(e=t._renderedNodeType)===r.COMPOSITE;)t=t._renderedComponent;return e===r.HOST?t._renderedComponent:e===r.EMPTY?null:void 0}var r=n(858);t.exports=i}},[3518]);