[ Avaa Bypassed ]




Upload:

Command:

hmhc3928@52.14.40.148: ~ $
/*! For license information please see 9c38c404.js.LICENSE.txt */
(self.wpRiseJsonp=self.wpRiseJsonp||[]).push([["vendors-node_modules_articulate_ducks_index_js-node_modules_articulate_funky_lib_assemble_js--60fa26"],{97411:function(e,t,n){var r=n(87555),i=n(31730),o=n(97218);e.exports=function(e){var t=o.CancelToken.source(),n=i({cancelToken:t.token},e);return new r((function(e,r){return o(n).then(r).catch(e),t.cancel.bind(t)}))}},87555:function(e,t,n){var r=n(79862),i=n(91486),o=n(22876).type("Async"),a=n(22876).typeFn(o(),5),s=n(92244),u=n(91469),c=n(84449),l=n(57598),f=n(91508),d=n(8317),p=n(57778),h=n(23092),g=n(52387),m=n(83606),y=n(28950),v=function(e){return b((function(t,n){return n(e)}))};function b(e){var t;if(!h(e))throw new TypeError("Async: Function required");var n=v,r=function(){return"Async"+i(e)};function u(t,n,r){if(!h(t)||!h(n))throw new TypeError("Async.fork: Reject and resolve functions required");var i=!1,o=!1,a=h(r)?r:f,s=function(e,t){if(!o)return o=!0,i?f():e(t)},u=e(s.bind(null,t),s.bind(null,n)),c=h(u)?u:f;return l((function(){return a((c(),void(i=!0)))}))}function d(e){return function(t){if(!h(t))throw new TypeError("Async."+e+": Function required");return b((function(e,n){return u(e,c(n,t))}))}}function p(e){return function(t,n){if(!h(t)||!h(n))throw new TypeError("Async."+e+": Functions required for both arguments");return b((function(e,r){return u(c(e,t),c(r,n))}))}}function g(e){return function(t){if(!y(b,t))throw new TypeError("Async."+e+": Async required");return b((function(e,n){var r=f,i=f;return r=u((function(){i=t.fork(e,n)}),n),l((function(){return i(r())}))}))}}function m(e){return function(t){if(!h(t))throw new TypeError("Async."+e+": Async returning function required");return b((function(n,r){var i=f,o=f;return i=u(n,(function(i){var a=t(i);if(!y(b,a))throw new TypeError("Async."+e+": Function must return another Async");o=a.fork(n,r)})),l((function(){return o(i())}))}))}}return(t={fork:u,toPromise:function(){return new Promise((function(e,t){u(t,e)}))},inspect:r,toString:r,type:o,swap:function(e,t){if(!h(e)||!h(t))throw new TypeError("Async.swap: Functions required for both arguments");return b((function(n,r){return u(c(r,e),c(n,t))}))},race:function(e){if(!y(b,e))throw new TypeError("Async.race: Async required");return b((function(t,n){var r=l((function(e,r){return e?n(r):t(r)})),i=r.bind(null,!0),o=r.bind(null,!1),a=u(o,i),s=e.fork(o,i);return function(){a(),s()}}))},coalesce:function(e,t){if(!h(e)||!h(t))throw new TypeError("Async.coalesce: Functions required for both arguments");return b((function(n,r){return u(c(r,e),c(r,t))}))},ap:function(e){if(!y(b,e))throw new TypeError("Async.ap: Async required");return b((function(t,n){var r=null,i=null,o=!1,a=!1,s=!1,f=l(t);function d(){!s&&o&&a&&c(n,r)(i)}var p=u(f,(function(e){if(!h(e))throw new TypeError("Async.ap: Wrapped value must be a function");o=!0,r=e,d()})),g=e.fork(f,(function(e){a=!0,i=e,d()}));return function(){p(),g(),s=!0}}))},of:n,alt:g("alt"),bimap:p("bimap"),map:d("map"),chain:m("chain"),bichain:function(e,t){var n="Async.bichain: Both arguments must be Async returning functions";if(!h(e)||!h(t))throw new TypeError(n);return b((function(r,i){var o=f,a=f;function s(e){return function(t){var o=e(t);if(!y(b,o))throw new TypeError(n);a=o.fork(r,i)}}return o=u(s(e),s(t)),l((function(){return a(o())}))}))}})[s.of]=n,t[s.alt]=g(s.alt),t[s.bimap]=p(s.bimap),t[s.map]=d(s.map),t[s.chain]=m(s.chain),t["@@type"]=a,t.constructor=b,t}b.of=v,b.type=o,b[s.of]=v,b["@@type"]=a,b.Rejected=function(e){return b((function(t){return t(e)}))},b.Resolved=v,b.fromPromise=function(e){if(!h(e))throw new TypeError("Async.fromPromise: Promise returning function required");return function(){var t=arguments;return b((function(n,r){var i=e.apply(null,t);if(!m(i))throw new TypeError("Async.fromPromise: Promise returning function required");i.then(r,n)}))}},b.fromNode=function(e,t){if(!h(e))throw new TypeError("Async.fromNode: CPS function required");return function(){for(var n=[],r=arguments.length;r--;)n[r]=arguments[r];return b((function(r,i){e.apply(t,n.concat((function(e,t){return e?r(e):i(t)})))}))}},b.all=function(e){if(!p(e)||!e.reduce((function(e,t){return e&&y(b,t)}),!0))throw new TypeError("Async.all: Foldable structure of Asyncs required");return d(e)?u.sequence(b.of,e):e.sequence(b.of)},b.rejectAfter=function(e,t){if(!(g(e)&&e>=0))throw new TypeError("Async.rejectAfter: Positive Integer required for first argument");return b((function(n){var r=setTimeout((function(){n(t)}),e);return function(){clearTimeout(r)}}))},b.resolveAfter=function(e,t){if(!(g(e)&&e>=0))throw new TypeError("Async.resolveAfter: Positive Integer required for first argument");return b((function(n,r){var i=setTimeout((function(){r(t)}),e);return function(){clearTimeout(i)}}))},b["@@implements"]=r(["alt","ap","bimap","chain","map","of"]),e.exports=b},91508:function(e){e.exports=Function.prototype},60068:function(e,t,n){var r=n(61510),i=n(55769);e.exports=function(e){return function(t){return r(e)?e.of(t):i(Array,e)?[t]:e(t)}}},91469:function(e,t,n){var r=n(62497),i=n(8317),o=n(34281),a=n(23092),s=n(28950),u=n(85504),c=n(60068),l=function(e){return e},f=function(e){return function(t){return e.concat(t)}};function d(e,t){return function(n,o){var a=t(o);if(!r(n)&&!i(n)||!s(n,a))throw new TypeError("Array."+e+": Must wrap Applys of the same type");return i(a)?h(n,p((function(e){return f([e])}),a)):a.map((function(e){return f([e])})).ap(n)}}var p=function(e,t){return t.map((function(t){return e(t)}))};function h(e,t){if(!t.length||!t.reduce((function(e,t){return e&&a(t)}),!0))throw new TypeError("Array.ap: Second Array must all be functions");return t.reduce((function(t,n){return t.concat(p(n,e))}),[])}e.exports={ap:h,chain:function(e,t){return t.reduce((function(t,n){var r=e(n);if(!i(r))throw new TypeError("Array.chain: Function must return an Array");return t.concat(r)}),[])},fold:function(e){if(o(e))throw new TypeError("Array.fold: Non-empty Array of Semigroups required");var t=e[0];if(!u(t))throw new TypeError("Array.fold: Must contain Semigroups of the same type");return e.reduce((function(e,t){if(!s(e,t))throw new TypeError("Array.fold: Must contain Semigroups of the same type");return e.concat(t)}))},foldMap:function(e,t){if(o(t))throw new TypeError("Array.foldMap: Non-empty Array required");var n=e(t[0]);if(!u(n))throw new TypeError("Array.foldMap: Provided function must return Semigroups of the same type");return 1===t.length?n:t.slice(1).reduce((function(t,n){var r=e(n);if(!s(t,r)||!u(r))throw new TypeError("Array.foldMap: Provided function must return Semigroups of the same type");return t.concat(r)}),n)},map:p,sequence:function(e,t){var n=c(e);return t.reduceRight(d("sequence",l),n([]))},set:function(e,t,n){var r=n.slice();return r[e]=t,r},traverse:function(e,t,n){var r=c(e);return n.reduceRight(d("traverse",t),r([]))},unset:function(e,t){return t.slice(0,e).concat(t.slice(e+1))}}},84449:function(e){e.exports=function(e,t){return function(n){return e(t(n))}}},92955:function(e,t,n){var r=n(23092);function i(e,t){return r(e)?e.length>1?e.bind(null,t):e.call(null,t):e}e.exports=function e(t){return function(){for(var n=[],o=arguments.length;o--;)n[o]=arguments[o];var a=n.length?n:[void 0];if(a.length<t.length)return e(Function.bind.apply(t,[null].concat(a)));var s=a.length===t.length?t.apply(null,a):a.reduce(i,t);return r(s)?e(s):s}}},93548:function(e,t,n){var r=n(28950),i=n(97922),o=n(98399),a=n(8761),s=n(92244),u=function(e,t){return e.valueOf()===t.valueOf()},c={Array:function(e,t){return e.length===t.length&&l(e,t)},Date:function(e,t){return i(e.valueOf(),t.valueOf())},Error:function(e,t){return e.name===t.name&&e.message===t.message},Object:function(e,t){return Object.keys(e).length===Object.keys(t).length&&l(e,t)},RegExp:function(e,t){return e.source===t.source&&e.ignoreCase===t.ignoreCase&&e.global===t.global&&e.multiline===t.multiline&&e.unicode===t.unicode}};function l(e,t){for(var n in e)if(!f(e[n],t[n]))return!1;return!0}function f(e,t){return!!i(e,t)||!!r(e,t)&&(o("equals",e)?(t[s.equals]||t.equals).call(t,e):(c[a(e)]||u)(e,t))}e.exports=f},92244:function(e){e.exports={alt:"fantasy-land/alt",bimap:"fantasy-land/bimap",chain:"fantasy-land/chain",compose:"fantasy-land/compose",concat:"fantasy-land/concat",contramap:"fantasy-land/contramap",empty:"fantasy-land/empty",equals:"fantasy-land/equals",extend:"fantasy-land/extend",filter:"fantasy-land/filter",id:"fantasy-land/id",map:"fantasy-land/map",of:"fantasy-land/of",promap:"fantasy-land/promap",reduce:"fantasy-land/reduce",zero:"fantasy-land/zero"}},98399:function(e,t,n){var r=n(23092),i=n(92244);e.exports=function(e,t){return!!t&&(function(e,t){return r(t[i[e]])||r(t[e])}(e,t)||function(e,t){return r(t["@@implements"])&&!!t["@@implements"](e)}(e,t))}},79862:function(e){e.exports=function(e){return function(t){return-1!==e.indexOf(t)}}},91486:function(e,t,n){var r=n(8317),i=n(23092),o=n(43945),a=n(43111),s=n(40903),u=n(40415);function c(e){return e&&i(e.inspect)?" "+e.inspect():i(e)?" Function":r(e)?" ["+(((t=e).length?t.map(c).reduce((function(e,t){return e+","+t})):t)+" ]"):o(e)?" { "+Object.keys(e).reduce((function(t,n){return t.concat([n+":"+c(e[n])])}),[]).join(", ")+" }":a(e)?' "'+e+'"':s(e)||u(e)?" "+e.toString():" "+e;var t}e.exports=c},61510:function(e,t,n){var r=n(98399),i=n(62497);e.exports=function(e){return i(e)&&(r("of",e)||r("of",e.constructor))}},62497:function(e,t,n){var r=n(98399),i=n(12584);e.exports=function(e){return i(e)&&r("ap",e)}},8317:function(e){e.exports=function(e){return Array.isArray(e)}},40415:function(e){e.exports=function(e){return"[object Date]"===Object.prototype.toString.apply(e)&&!isNaN(e.valueOf())}},34281:function(e,t,n){var r=n(43945),i=n(84061),o=n(93548),a=n(92244);e.exports=function(e){if(i(e)){var t=e.constructor[a.empty]||e.constructor.empty||e.empty;return o(e,t())}return r(e)?!Object.keys(e).length:!e||void 0===e.length||!e.length}},57778:function(e,t,n){var r=n(98399);e.exports=function(e){return!!e&&r("reduce",e)}},23092:function(e){e.exports=function(e){return"function"==typeof e}},12584:function(e,t,n){var r=n(98399);e.exports=function(e){return!!e&&r("map",e)}},52387:function(e,t,n){var r=n(51544);e.exports=function(e){return r(e)&&isFinite(e)&&Math.floor(e)===e}},84061:function(e,t,n){var r=n(98399),i=n(85504);e.exports=function(e){return i(e)&&(r("empty",e)||r("empty",e.constructor))}},51544:function(e){e.exports=function(e){return"number"==typeof e&&!isNaN(e)}},43945:function(e){var t=Object.prototype.toString;e.exports=function(e){return!!e&&"[object Object]"===t.call(e)}},83606:function(e,t,n){var r=n(23092);e.exports=function(e){return!!e&&r(e.then)&&r(e.catch)}},97922:function(e){e.exports=function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}},28950:function(e,t,n){var r=n(92955),i=n(23092),o=n(8761);e.exports=r((function(e,t){var n=o(e),r=o(t);return n===r||i(e)&&e.name===r||i(t)&&t.name===n}))},85504:function(e,t,n){var r=n(43111),i=n(98399);e.exports=function(e){return r(e)||!!e&&i("concat",e)}},43111:function(e){e.exports=function(e){return"string"==typeof e}},40903:function(e){e.exports=function(e){return"symbol"==typeof e}},55769:function(e,t,n){var r=n(23092);e.exports=function(e,t){return r(t)&&(e===t||e.name===t.name)}},57598:function(e){e.exports=function(e){var t,n;return function(){return t||(t=!0,n=e.apply(null,arguments)),n}}},8761:function(e,t,n){var r=n(23092);e.exports=function(e){return e&&r(e.type)?e.type():{}.toString.call(e).slice(8,-1)}},22876:function(e){var t={unk:function(){return"unknown"},All:function(){return"All"},Any:function(){return"Any"},Arrow:function(){return"Arrow"},Assign:function(){return"Assign"},Async:function(){return"Async"},Const:function(e){return"Const("+e+")"},Either:function(){return"Either"},Endo:function(){return"Endo"},Equiv:function(){return"Equiv"},First:function(){return"First"},Identity:function(){return"Identity"},IO:function(){return"IO"},Last:function(){return"Last"},List:function(){return"List"},Max:function(){return"Max"},Maybe:function(){return"Maybe"},Min:function(){return"Min"},Pair:function(){return"Pair"},Pred:function(){return"Pred"},Prod:function(){return"Prod"},Reader:function(){return"Reader"},Result:function(){return"Result"},Star:function(){return"Star"},State:function(){return"State"},Sum:function(){return"Sum"},Tuple:function(e){return e+"-Tuple"},Unit:function(){return"Unit"},Writer:function(){return"Writer"}},n=function(e){return t[e]||t.unk};e.exports={proxy:function(e,t){return{type:function(){return n(e)(t)}}},type:n,typeFn:function(e,t,r){return"crocks/"+n(e)(r)+"@"+(t||0)}}},96249:function(e,t,n){t.action=n(54769),n(47697),t.error=n(82769),t.handle=n(54345),n(6154),t.onSuccess=n(11869),t.sideEffect=n(21159)},54769:function(e,t,n){var r=n(43825);e.exports=r((function(e,t){return{type:e,payload:t}}))},47697:function(e,t,n){var r=n(43825);e.exports=r((function(e,t){return[t,e]}))},82769:function(e,t,n){var r=n(43825);e.exports=r((function(e,t){return{type:e,payload:t,error:!0}}))},54345:function(e,t,n){var r=n(43825);e.exports=r((function(e,t){return function(n,r){void 0===n&&(n=e);var i=r.type,o=r.payload,a=r.error;return t[i]?t[i](n,o,a):n}}))},6154:function(e){e.exports=function(e,t,n){return n&&console.error(t),e}},11869:function(e){e.exports=function(e){return function(t,n,r){return r?t:e(t,n)}}},21159:function(e,t,n){var r=n(67125),i=n(59146);e.exports=function(e){return i(e).map(r({type:"SIDE_EFFECT"}))}},59146:function(e,t,n){var r=n(63707),i=n(98652),o=n(66473).type("IO"),a=n(95097),s=n(85998),u=n(21064),c=function(e){return l((function(){return e}))};function l(e){if(!s(e))throw new TypeError("IO: Must wrap a function");function t(t){if(!s(t))throw new TypeError("IO.chain: Function required");return l((function(){var n=t(e());if(!u(l,n))throw new TypeError("IO.chain: Function must return an IO");return n.run()}))}return{inspect:function(){return"IO"+i(e)},run:e,type:o,map:function(t){if(!s(t))throw new TypeError("IO.map: Function required");return l(a(t,e))},ap:function(e){if(!u(l,e))throw new TypeError("IO.ap: IO required");return t((function(t){return e.map(t)}))},of:c,chain:t}}l.of=c,l.type=o,l["@@implements"]=r(["ap","chain","map","of"]),e.exports=l},67125:function(e,t,n){var r=n(26182);e.exports=r(n(31701))},96956:function(e){e.exports=function(e){return Array.prototype.slice.call(e)}},95097:function(e){e.exports=function(e,t){return function(n){return e(t(n))}}},31701:function(e){e.exports=function(e){return function(){return e}}},26182:function(e,t,n){var r=n(96956),i=n(85998);function o(e,t){return i(e)?e.length>1?e.bind(null,t):e.call(null,t):e}e.exports=function e(t){return function(){var n=r(arguments),a=n.length?n:[void 0];if(a.length<t.length)return e(Function.bind.apply(t,[null].concat(a)));var s=a.length===t.length?t.apply(null,a):a.reduce(o,t);return i(s)?e(s):s}}},63707:function(e){e.exports=function(e){return function(t){return-1!==e.indexOf(t)}}},98652:function(e,t,n){var r=n(80434),i=n(85998),o=n(16626),a=n(58570);function s(e){return e&&i(e.inspect)?" "+e.inspect():i(e)?" Function":r(e)?" ["+(((t=e).length?t.map(s).reduce((function(e,t){return e+","+t})):t)+" ]"):o(e)?" {}":a(e)?' "'+e+'"':" "+e;var t}e.exports=s},80434:function(e){e.exports=function(e){return Array.isArray(e)}},85998:function(e){e.exports=function(e){return"function"==typeof e}},65026:function(e){e.exports=function(e){return null==e||Number.isNaN(e)}},16626:function(e){e.exports=function(e){return!!e&&e.toString&&"[object Object]"===e.toString()}},21064:function(e,t,n){var r=n(26182),i=n(80434),o=n(85998),a=n(65026);function s(e){return!!e&&o(e.type)}function u(e){return i(e)?"array":typeof e}e.exports=r((function(e,t){return s(e)||s(t)?function(e,t){return s(e)&&s(t)&&e.type()===t.type()}(e,t):a(e)||a(t)?e===t:function(e,t){return e.name===t.constructor.name||t.name===e.constructor.name}(e,t)||u(e)===u(t)}))},58570:function(e){e.exports=function(e){return"string"==typeof e}},66473:function(e){var t={unk:function(){return"unknown"},All:function(){return"All"},Any:function(){return"Any"},Arrow:function(){return"Arrow"},Assign:function(){return"Assign"},Async:function(){return"Async"},Const:function(){return"Const"},Either:function(){return"Either"},Endo:function(){return"Endo"},First:function(){return"First"},Identity:function(){return"Identity"},IO:function(){return"IO"},Last:function(){return"Last"},List:function(){return"List"},Max:function(){return"Max"},Maybe:function(){return"Maybe"},Min:function(){return"Min"},Pair:function(){return"Pair"},Pred:function(){return"Pred"},Prod:function(){return"Prod"},Reader:function(){return"Reader"},Result:function(){return"Result"},Star:function(){return"Star"},State:function(){return"State"},Sum:function(){return"Sum"},Unit:function(){return"Unit"},Writer:function(){return"Writer"}},n=function(e){return t[e]||t.unk};e.exports={proxy:function(e){return{type:n(e)}},type:n}},43825:function(e,t,n){var r=n(26182),i=n(85998);e.exports=function(e){if(!i(e))throw new TypeError("curry: Function required");return r(e)}},22673:function(e,t,n){var r=n(4240),i=n(30449),o=function(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];var i=function(e){var n=typeof e;return"function"===n?e.apply(void 0,t):e&&"object"===n?o.apply(void 0,[e].concat(t)):e};return r(i,e)};e.exports=i(o)},37990:function(e,t,n){var r=n(87988),i=n(79762),o=n(54456),a=n(44216);e.exports=a(3,(function(e,t){return i(r(e),[t,o])}))},30449:function(e,t,n){var r=n(12637),i=n(15866),o=n(96323),a=n(48215),s=n(48283),u=n(4240),c=n(81250),l=n(47929),f=n(3189),d=o((function(e,t){return typeof t===e})),p=function(e){return l(u(h),Math.max,0,f(e))},h=i([[d("object"),p],[d("function"),s],[c,r(0)]]);e.exports=o((function(e,t){for(var n=[],r=arguments.length-2;r-- >0;)n[r]=arguments[r+2];var i=p(t),o=a(i+1,e);return 0===n.length?0===i?function(){for(var e=[],n=arguments.length;n--;)e[n]=arguments[n];return o.apply(void 0,[t].concat(e))}:o(t):o.apply(void 0,[t].concat(n))}))},8727:function(e,t,n){var r=n(87988),i=n(79762),o=n(69868),a=n(26039),s=n(3273),u=n(44216),c=n(45724);e.exports=u(3,(function(e,t){return c(a(e),i(r(t),[s(e),o(e)]))}))},62023:function(e,t,n){var r=n(96323),i=function(e,t){for(var n in t=Object.assign({},t),e)if(n in t){var r=e[n];"object"==typeof r?t[n]=i(r,t[n]):(t[r]=t[n],delete t[n])}return t};e.exports=r(i)},81250:function(e,t,n){var r=n(12637)(!0);e.exports=r},12637:function(e,t,n){var r=n(38151)((function(e){return function(){return e}}));e.exports=r},87988:function(e,t,n){var r=n(34525)((function(e,t,n){var r={};for(var i in n)r[i]=n[i];return r[e]=t,r}));e.exports=r},61232:function(e,t,n){var r=n(65102),i=n(22909)((function(e,t){return r(e.length,(function(){return e.apply(t,arguments)}))}));e.exports=i},15866:function(e,t,n){var r=n(65102),i=n(38151),o=n(4240),a=n(26188),s=n(53330),u=i((function(e){var t=s(a,0,o((function(e){return e[0].length}),e));return r(t,(function(){for(var t=0;t<e.length;){if(e[t][0].apply(this,arguments))return e[t][1].apply(this,arguments);t+=1}}))}));e.exports=u},79762:function(e,t,n){var r=n(22909),i=n(48624),o=n(48215),a=n(26188),s=n(30387),u=n(53330),c=r((function(e,t){return o(u(a,0,s("length",t)),(function(){var n=arguments,r=this;return e.apply(r,i((function(e){return e.apply(r,n)}),t))}))}));e.exports=c},96323:function(e,t,n){var r=n(38151),i=n(48215),o=r((function(e){return i(e.length,e)}));e.exports=o},48215:function(e,t,n){var r=n(65102),i=n(38151),o=n(22909),a=n(10593),s=o((function(e,t){return 1===e?i(t):r(e,a(e,[],t))}));e.exports=s},69868:function(e,t,n){var r=n(22909)((function(e,t){var n={};for(var r in t)n[r]=t[r];return delete n[e],n}));e.exports=r},26039:function(e,t,n){var r=n(22909)((function(e,t){return e in t}));e.exports=r},54456:function(e,t,n){var r=n(38151)(n(80975));e.exports=r},65102:function(e){e.exports=function(e,t){switch(e){case 0:return function(){return t.apply(this,arguments)};case 1:return function(e){return t.apply(this,arguments)};case 2:return function(e,n){return t.apply(this,arguments)};case 3:return function(e,n,r){return t.apply(this,arguments)};case 4:return function(e,n,r,i){return t.apply(this,arguments)};case 5:return function(e,n,r,i,o){return t.apply(this,arguments)};case 6:return function(e,n,r,i,o,a){return t.apply(this,arguments)};case 7:return function(e,n,r,i,o,a,s){return t.apply(this,arguments)};case 8:return function(e,n,r,i,o,a,s,u){return t.apply(this,arguments)};case 9:return function(e,n,r,i,o,a,s,u,c){return t.apply(this,arguments)};case 10:return function(e,n,r,i,o,a,s,u,c,l){return t.apply(this,arguments)};default:throw new Error("First argument to _arity must be a non-negative integer no greater than ten")}}},38151:function(e,t,n){var r=n(14816);e.exports=function(e){return function t(n){return 0===arguments.length||r(n)?t:e.apply(this,arguments)}}},22909:function(e,t,n){var r=n(38151),i=n(14816);e.exports=function(e){return function t(n,o){switch(arguments.length){case 0:return t;case 1:return i(n)?t:r((function(t){return e(n,t)}));default:return i(n)&&i(o)?t:i(n)?r((function(t){return e(t,o)})):i(o)?r((function(t){return e(n,t)})):e(n,o)}}}},34525:function(e,t,n){var r=n(38151),i=n(22909),o=n(14816);e.exports=function(e){return function t(n,a,s){switch(arguments.length){case 0:return t;case 1:return o(n)?t:i((function(t,r){return e(n,t,r)}));case 2:return o(n)&&o(a)?t:o(n)?i((function(t,n){return e(t,a,n)})):o(a)?i((function(t,r){return e(n,t,r)})):r((function(t){return e(n,a,t)}));default:return o(n)&&o(a)&&o(s)?t:o(n)&&o(a)?i((function(t,n){return e(t,n,s)})):o(n)&&o(s)?i((function(t,n){return e(t,a,n)})):o(a)&&o(s)?i((function(t,r){return e(n,t,r)})):o(n)?r((function(t){return e(t,a,s)})):o(a)?r((function(t){return e(n,t,s)})):o(s)?r((function(t){return e(n,a,t)})):e(n,a,s)}}}},10593:function(e,t,n){var r=n(65102),i=n(14816);e.exports=function e(t,n,o){return function(){for(var a=[],s=0,u=t,c=0;c<n.length||s<arguments.length;){var l;c<n.length&&(!i(n[c])||s>=arguments.length)?l=n[c]:(l=arguments[s],s+=1),a[c]=l,i(l)||(u-=1),c+=1}return u<=0?o.apply(this,a):r(u,e(t,a,o))}}},5083:function(e,t,n){var r=n(66417),i=n(96573);e.exports=function(e,t,n){return function(){if(0===arguments.length)return n();var o=Array.prototype.slice.call(arguments,0),a=o.pop();if(!r(a)){for(var s=0;s<e.length;){if("function"==typeof a[e[s]])return a[e[s]].apply(a,o);s+=1}if(i(a)){var u=t.apply(null,o);return u(a)}}return n.apply(this,arguments)}}},41789:function(e){e.exports=function(e,t){return Object.prototype.hasOwnProperty.call(t,e)}},80975:function(e){e.exports=function(e){return e}},98256:function(e,t,n){var r=n(41789),i=Object.prototype.toString;e.exports=function(){return"[object Arguments]"===i.call(arguments)?function(e){return"[object Arguments]"===i.call(e)}:function(e){return r("callee",e)}}},66417:function(e){e.exports=Array.isArray||function(e){return null!=e&&e.length>=0&&"[object Array]"===Object.prototype.toString.call(e)}},29230:function(e,t,n){var r=n(38151),i=n(66417),o=n(56479),a=r((function(e){return!!i(e)||!!e&&("object"==typeof e&&(!o(e)&&(1===e.nodeType?!!e.length:0===e.length||e.length>0&&(e.hasOwnProperty(0)&&e.hasOwnProperty(e.length-1)))))}));e.exports=a},5366:function(e){e.exports=function(e){return"[object Number]"===Object.prototype.toString.call(e)}},14816:function(e){e.exports=function(e){return null!=e&&"object"==typeof e&&!0===e["@@functional/placeholder"]}},56479:function(e){e.exports=function(e){return"[object String]"===Object.prototype.toString.call(e)}},96573:function(e){e.exports=function(e){return"function"==typeof e["@@transducer/step"]}},48624:function(e){e.exports=function(e,t){for(var n=0,r=t.length,i=Array(r);n<r;)i[n]=e(t[n]),n+=1;return i}},36258:function(e,t,n){var r=n(29230),i=n(92870),o=n(61232);function a(e,t,n){for(var r=n.next();!r.done;){if((t=e["@@transducer/step"](t,r.value))&&t["@@transducer/reduced"]){t=t["@@transducer/value"];break}r=n.next()}return e["@@transducer/result"](t)}function s(e,t,n,r){return e["@@transducer/result"](n[r](o(e["@@transducer/step"],e),t))}var u="undefined"!=typeof Symbol?Symbol.iterator:"@@iterator";e.exports=function(e,t,n){if("function"==typeof e&&(e=i(e)),r(n))return function(e,t,n){for(var r=0,i=n.length;r<i;){if((t=e["@@transducer/step"](t,n[r]))&&t["@@transducer/reduced"]){t=t["@@transducer/value"];break}r+=1}return e["@@transducer/result"](t)}(e,t,n);if("function"==typeof n["fantasy-land/reduce"])return s(e,t,n,"fantasy-land/reduce");if(null!=n[u])return a(e,t,n[u]());if("function"==typeof n.next)return a(e,t,n);if("function"==typeof n.reduce)return s(e,t,n,"reduce");throw new TypeError("reduce: list must be array or iterable")}},46417:function(e){e.exports={init:function(){return this.xf["@@transducer/init"]()},result:function(e){return this.xf["@@transducer/result"](e)}}},85833:function(e,t,n){var r=n(22909),i=n(46417),o=function(){function e(e,t){this.xf=t,this.f=e}return e.prototype["@@transducer/init"]=i.init,e.prototype["@@transducer/result"]=i.result,e.prototype["@@transducer/step"]=function(e,t){return this.xf["@@transducer/step"](e,this.f(t))},e}(),a=r((function(e,t){return new o(e,t)}));e.exports=a},92870:function(e){var t=function(){function e(e){this.f=e}return e.prototype["@@transducer/init"]=function(){throw new Error("init not implemented on XWrap")},e.prototype["@@transducer/result"]=function(e){return e},e.prototype["@@transducer/step"]=function(e,t){return this.f(e,t)},e}();e.exports=function(e){return new t(e)}},83444:function(e,t,n){var r=n(38151),i=n(41789),o=n(98256),a=!{toString:null}.propertyIsEnumerable("toString"),s=["constructor","valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],u=function(){"use strict";return arguments.propertyIsEnumerable("length")}(),c=function(e,t){for(var n=0;n<e.length;){if(e[n]===t)return!0;n+=1}return!1},l=r("function"!=typeof Object.keys||u?function(e){if(Object(e)!==e)return[];var t,n,r=[],l=u&&o(e);for(t in e)!i(t,e)||l&&"length"===t||(r[r.length]=t);if(a)for(n=s.length-1;n>=0;)i(t=s[n],e)&&!c(r,t)&&(r[r.length]=t),n-=1;return r}:function(e){return Object(e)!==e?[]:Object.keys(e)});e.exports=l},48283:function(e,t,n){var r=n(38151),i=n(5366),o=r((function(e){return null!=e&&i(e.length)?e.length:NaN}));e.exports=o},4240:function(e,t,n){var r=n(22909),i=n(5083),o=n(48624),a=n(36258),s=n(85833),u=n(48215),c=n(83444),l=r(i(["fantasy-land/map","map"],s,(function(e,t){switch(Object.prototype.toString.call(t)){case"[object Function]":return u(t.length,(function(){return e.call(this,t.apply(this,arguments))}));case"[object Object]":return a((function(n,r){return n[r]=e(t[r]),n}),{},c(t));default:return o(e,t)}})));e.exports=l},26188:function(e,t,n){var r=n(22909)((function(e,t){return t>e?t:e}));e.exports=r},47229:function(e,t,n){var r=n(22909)((function(e,t){for(var n=t,r=0;r<e.length;){if(null==n)return;n=n[e[r]],r+=1}return n}));e.exports=r},30387:function(e,t,n){var r=n(22909),i=n(4240),o=n(3273),a=r((function(e,t){return i(o(e),t)}));e.exports=a},3273:function(e,t,n){var r=n(22909),i=n(47229),o=r((function(e,t){return i([e],t)}));e.exports=o},53330:function(e,t,n){var r=n(34525)(n(36258));e.exports=r},47929:function(e,t,n){var r=n(36258),i=n(92870),o=n(48215)(4,(function(e,t,n,o){return r(e("function"==typeof t?i(t):t),n,o)}));e.exports=o},44216:function(e,t,n){var r=n(22909),i=n(48215),o=r((function(e,t){return i(e,(function(){for(var n,r=1,i=t,o=0;r<=e&&"function"==typeof i;)n=r===e?arguments.length:o+i.length,i=i.apply(this,Array.prototype.slice.call(arguments,o,n)),r+=1,o=n;return i}))}));e.exports=o},3189:function(e,t,n){var r=n(38151),i=n(83444),o=r((function(e){for(var t=i(e),n=t.length,r=[],o=0;o<n;)r[o]=e[t[o]],o+=1;return r}));e.exports=o},45724:function(e,t,n){var r=n(34525)((function(e,t,n){return e(n)?t(n):n}));e.exports=r},33072:function(e,t,n){"use strict";t.Z=void 0;var r,i=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==s(e)&&"function"!=typeof e)return{default:e};var t=a();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(28416)),o=(r=n(90285))&&r.__esModule?r:{default:r};function a(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return a=function(){return e},e}function s(e){return s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},s(e)}function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function c(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u(Object(n),!0).forEach((function(t){l(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function l(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function f(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function d(e,t){return d=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},d(e,t)}function p(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=m(e);if(t){var i=m(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return h(this,n)}}function h(e,t){return!t||"object"!==s(t)&&"function"!=typeof t?g(e):t}function g(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function m(e){return m=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},m(e)}var y=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&d(e,t)}(s,e);var t,n,r,a=p(s);function s(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s),(t=a.call(this,e)).state={},t.setDimensions=t.setDimensions.bind(g(t)),t.shouldBeFullWidth=t.shouldBeFullWidth.bind(g(t)),t.getParentDimensions=t.getParentDimensions.bind(g(t)),t.addTabTrapListeners=t.addTabTrapListeners.bind(g(t)),t.getFocusableElementsFromControl=t.getFocusableElementsFromControl.bind(g(t)),t.getVisibleControls=t.getVisibleControls.bind(g(t)),t.trapFocusForward=t.trapFocusForward.bind(g(t)),t.addTrapFocusForwardEvent=t.addTrapFocusForwardEvent.bind(g(t)),t.removeTrapFocusForwardEvent=t.removeTrapFocusForwardEvent.bind(g(t)),t.trapFocusReverse=t.trapFocusReverse.bind(g(t)),t.addTrapFocusReverseEvent=t.addTrapFocusReverseEvent.bind(g(t)),t.removeTrapFocusReverseEvent=t.removeTrapFocusReverseEvent.bind(g(t)),t.trapFocusReverseBigPlayButton=t.trapFocusReverseBigPlayButton.bind(g(t)),t.addTrapFocusReverseEventBigPlayButton=t.addTrapFocusReverseEventBigPlayButton.bind(g(t)),t.removeTrapFocusReverseEventBigPlayButton=t.removeTrapFocusReverseEventBigPlayButton.bind(g(t)),t}return t=s,r=[{key:"defaultProps",get:function(){return{aspectRatio:9/16,fullWidth:!1,fullWidthAt:0,options:{preload:"auto",controls:!0,controlBar:{remainingTimeDisplay:!0,children:["playToggle","currentTimeDisplay","timeDivider","durationDisplay","progressControl","liveDisplay","seekToLive","remainingTimeDisplay","customControlSpacer","playbackRateMenuButton","chaptersButton","descriptionsButton","subsCapsButton","audioTrackButton","fullscreenToggle","volumePanel"],volumePanel:{inline:!1}}}}}}],(n=[{key:"componentDidMount",value:function(){window.addEventListener("resize",this.setDimensions),this.player=(0,o.default)(this.video,this.options,(function(){this.on("ended",(function(){this.posterImage.show(),this.bigPlayButton.show(),this.currentTime(0)}))})),this.player.on("fullscreenchange",this.addTabTrapListeners),this.setDimensions()}},{key:"componentWillUnmount",value:function(){this.player&&this.player.dispose(),window.removeEventListener("resize",this.setDimensions)}},{key:"addTabTrapListeners",value:function(){var e=this.getVisibleControls(),t=e[e.length-1],n=e[0],r=this.player.getChild("BigPlayButton");document.fullscreenElement&&(r.on("focus",this.addTrapFocusReverseEventBigPlayButton),r.on("blur",this.removeTrapFocusReverseEventBigPlayButton),n.on("focus",this.addTrapFocusReverseEvent),n.on("blur",this.removeTrapFocusReverseEvent),t.on("focus",this.addTrapFocusForwardEvent),t.on("blur",this.removeTrapFocusForwardEvent)),document.fullscreenElement||(r.off("focus",this.addTrapFocusReverseEventBigPlayButton),r.off("blur",this.removeTrapFocusReverseEventBigPlayButton),this.removeTrapFocusReverseEventBigPlayButton(),n.off("focus",this.addTrapFocusReverseEvent),n.off("blur",this.removeTrapFocusReverseEvent),this.removeTrapFocusReverseEvent(),t.off("focus",this.addTrapFocusForwardEvent),t.off("blur",this.removeTrapFocusForwardEvent),this.removeTrapFocusForwardEvent())}},{key:"getParentPadding",value:function(){var e=window.getComputedStyle(this.container.parentNode,null),t=function(e,t){return parseInt(e.getPropertyValue(t),10)||0};return{top:t(e,"padding-top"),bottom:t(e,"padding-bottom")}}},{key:"getParentDimensions",value:function(){var e=this.container.parentNode.getBoundingClientRect(),t=e.width,n=e.height,r=this.getParentPadding();return{parentHeight:n-r.top-r.bottom,parentWidth:t}}},{key:"getFocusableElementsFromControl",value:function(e){return"VolumePanel"===e.name()?e.children().flatMap((function(e){return e.children()})):e}},{key:"getVisibleControls",value:function(){return this.player.getChild("ControlBar").children().flatMap(this.getFocusableElementsFromControl).filter((function(e){return!e.el().classList.contains("vjs-hidden")}))}},{key:"trapFocusForward",value:function(e){"Tab"!==e.key||e.shiftKey||(e.preventDefault(),this.player.getAttribute("class").includes("vjs-playing")?this.getVisibleControls()[0].focus():this.player.getChild("BigPlayButton").focus())}},{key:"addTrapFocusForwardEvent",value:function(){document.addEventListener("keydown",this.trapFocusForward)}},{key:"removeTrapFocusForwardEvent",value:function(){var e=this;setTimeout((function(){document.removeEventListener("keydown",e.trapFocusForward)}),1)}},{key:"trapFocusReverse",value:function(e){if("Tab"===e.key&&e.shiftKey)if(e.preventDefault(),this.player.getAttribute("class").includes("vjs-playing")){var t=this.getVisibleControls();t[t.length-1].focus()}else this.player.getChild("BigPlayButton").focus()}},{key:"addTrapFocusReverseEvent",value:function(){document.addEventListener("keydown",this.trapFocusReverse)}},{key:"removeTrapFocusReverseEvent",value:function(){var e=this;setTimeout((function(){document.removeEventListener("keydown",e.trapFocusReverse)}),1)}},{key:"trapFocusReverseBigPlayButton",value:function(e){if("Tab"===e.key&&e.shiftKey){e.preventDefault();var t=this.getVisibleControls();t[t.length-1].focus()}}},{key:"addTrapFocusReverseEventBigPlayButton",value:function(){document.addEventListener("keydown",this.trapFocusReverseBigPlayButton)}},{key:"removeTrapFocusReverseEventBigPlayButton",value:function(){var e=this;setTimeout((function(){document.removeEventListener("keydown",e.trapFocusReverseBigPlayButton)}),1)}},{key:"render",value:function(){var e=this,t={className:"video-js vjs-default-skin",ref:function(t){e.video=t},poster:this.props.poster};return this.props.crossOrigin&&(t.crossOrigin=this.props.crossOrigin),i.default.createElement("div",{className:"videoContainer",style:this.state.dimensions,ref:function(t){e.container=t}},i.default.createElement("video",t,this.props.children))}},{key:"shouldBeFullWidth",value:function(){var e=this.props,t=e.aspectRatio,n=e.fullWidth,r=e.fullWidthAt,i=this.getParentDimensions(),o=i.parentWidth,a=i.parentHeight;return n||o*t<=a||r&&window.innerWidth<r}},{key:"setDimensions",value:function(){var e=this.props.aspectRatio,t=this.getParentDimensions(),n=t.parentWidth,r=t.parentHeight,i=this.shouldBeFullWidth(),o=i?n:r/e,a=i?n*e:r;this.setState({dimensions:{width:o,height:a}})}},{key:"snapshot",value:function(){var e=document.createElement("canvas"),t=e.getContext("2d"),n=this.player.videoHeight(),r=this.player.videoWidth();return e.width=r,e.height=n,t.drawImage(this.video,0,0,r,n),e.toDataURL("image/png")}},{key:"options",get:function(){var e,t,n;return(null===(e=this.props.options)||void 0===e||null===(t=e.controlBar)||void 0===t?void 0:t.children)?this.props.options:c(c({},this.props.options),{},{controlBar:c(c({},null===(n=this.props.options)||void 0===n?void 0:n.controlBar),{},{children:this.constructor.defaultProps.options.controlBar.children})})}}])&&f(t.prototype,n),r&&f(t,r),s}(i.Component);t.Z=y},22908:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BlockSettingsType=void 0;const r=n(2098);t.BlockSettingsType=r.Type.Record(r.Type.String(),r.Type.Any())},44389:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.assertCourse=t.isCourse=t.CourseType=void 0;const r=n(2098),i=n(91124),o=n(61999),a=n(45234);t.CourseType=r.Type.Object({id:r.Type.Union([r.Type.String(),r.Type.Number()]),originalId:r.Type.Optional(r.Type.String()),author:r.Type.Optional(r.Type.String()),selectedAuthorId:r.Type.String(),color:r.Type.String(),title:r.Type.String(),sharePassword:r.Type.String(),description:r.Type.String(),copyOf:r.Type.Optional(r.Type.String()),order:r.Type.BigInt(),media:r.Type.Record(r.Type.String(),o.MediaAnyType),lessons:r.Type.Array(r.Type.String()),jobs:r.Type.Array(r.Type.String()),labelSetId:r.Type.String(),deleted:r.Type.Boolean(),createdAt:r.Type.Date(),updatedAt:r.Type.Date(),markComplete:r.Type.Boolean(),isDefault:r.Type.Boolean(),ready:r.Type.Boolean(),reviewId:r.Type.String(),exportSettings:r.Type.Record(r.Type.String(),r.Type.Any()),headingTypefaceId:r.Type.Optional(r.Type.String()),bodyTypefaceId:r.Type.Optional(r.Type.String()),uiTypefaceId:r.Type.Optional(r.Type.String()),tenantId:r.Type.Optional(r.Type.String()),showLessonCount:r.Type.Boolean(),showNavigationButtons:r.Type.Boolean(),allowSearch:r.Type.Boolean(),animateBlockEntrance:r.Type.Boolean(),transferredAt:r.Type.Optional(r.Type.Date()),allowCopy:r.Type.Boolean(),enableVideoPlaybackSpeed:r.Type.Boolean(),jobType:r.Type.Optional(r.Type.String()),partnerContentId:r.Type.Optional(r.Type.String()),theme:r.Type.Optional(i.CourseThemeType),type:r.Type.Optional(r.Type.Literal("onePage")),features:r.Type.Record(r.Type.String(),r.Type.Boolean()),mondrian:r.Type.Optional(r.Type.Unknown()),lastImportedXliff:r.Type.Optional(r.Type.Union([r.Type.String(),r.Type.Null()])),locale:r.Type.Optional(r.Type.Union([r.Type.String(),r.Type.Null()])),sourceCourseLocaleId:r.Type.Optional(r.Type.Union([r.Type.String(),r.Type.Number(),r.Type.Null()])),experiments:r.Type.Optional(r.Type.Union([r.Type.Record(r.Type.String(),r.Type.Unknown()),r.Type.Null()])),navigationMode:r.Type.Union([r.Type.Literal("restricted"),r.Type.Literal("free")]),fonts:r.Type.Optional(r.Type.Object({ui:r.Type.Record(r.Type.Literal("font"),r.Type.String()),body:r.Type.Record(r.Type.Literal("font"),r.Type.String()),headings:r.Type.Record(r.Type.Literal("font"),r.Type.String())})),coverImage:r.Type.Optional(r.Type.Object({alpha:r.Type.Optional(r.Type.Integer({minimum:0,maximum:100})),displaySidebar:r.Type.Optional(r.Type.Boolean()),media:o.MediaImageRecordType})),sidebarMode:r.Type.Union([r.Type.Literal("closed"),r.Type.Literal("open"),r.Type.Literal("hidden")]),cardImage:r.Type.Optional(r.Type.Object({media:o.MediaImageRecordType})),lessonHeaderImage:r.Type.Optional(r.Type.Object({alpha:r.Type.Optional(r.Type.Number({minimum:0,maximum:1})),media:o.MediaImageRecordType,overlayColor:r.Type.Optional(r.Type.Union([r.Type.Literal("LIGHT"),r.Type.Literal("DARK"),r.Type.Literal("ACCENT")]))})),overlayNavigationImage:r.Type.Optional(r.Type.Object({alpha:r.Type.Optional(r.Type.Number({minimum:0,maximum:1})),media:o.MediaImageRecordType}))}),t.isCourse=(0,a.makeIsFunction)(t.CourseType),t.assertCourse=(0,a.makeAssertFunction)(t.CourseType)},91124:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CourseThemeType=void 0;const r=n(2098);t.CourseThemeType=r.Type.Object({themeId:r.Type.String(),allowSearch:r.Type.Boolean(),animateBlockEntrance:r.Type.Boolean(),blockCorners:r.Type.Union([r.Type.Literal("ROUNDED"),r.Type.Literal("SQUARED")]),blockPaddingBottom:r.Type.Integer({minimum:0}),blockPaddingTop:r.Type.Integer({minimum:0}),colorAccent:r.Type.String(),compactShowLessonCount:r.Type.Boolean(),coverImage:r.Type.String(),coverImageAlpha:r.Type.Integer({minimum:0,maximum:100}),coverImageDefault:r.Type.String(),enableVideoPlaybackSpeed:r.Type.Boolean(),hideCoverPage:r.Type.Boolean(),hideLessonHeaders:r.Type.Boolean(),lessonHeaderColor:r.Type.Optional(r.Type.String()),lessonHeaderImage:r.Type.String(),lessonHeaderImageAlpha:r.Type.Number({minimum:0,maximum:1}),navigation:r.Type.Boolean(),navigationRestricted:r.Type.Boolean(),showAuthor:r.Type.Boolean(),showLessonCount:r.Type.Boolean(),showNavigationButtons:r.Type.Boolean(),sidebarStartsOpen:r.Type.Boolean(),bodyTypefaceId:r.Type.String(),headingTypefaceId:r.Type.String(),uiTypefaceId:r.Type.String(),buttonScheme:r.Type.Union([r.Type.Literal("ACCENT"),r.Type.Literal("DARK"),r.Type.Literal("LIGHT"),r.Type.Literal("TINT")]),coverPageType:r.Type.Union([r.Type.Literal("ACCENT"),r.Type.Literal("CENTERED"),r.Type.Literal("CENTERED_ACCENT_TINT"),r.Type.Literal("CENTERED_OVERLAY"),r.Type.Literal("CENTERED_IMAGE"),r.Type.Literal("IMAGE"),r.Type.Literal("LEFT"),r.Type.Literal("LEFT_OVERLAY"),r.Type.Literal("SPLIT_LEFT"),r.Type.Literal("SPLIT_LEFT_IMAGE"),r.Type.Literal("SPLIT_RIGHT"),r.Type.Literal("SPLIT_RIGHT_IMAGE"),r.Type.Literal("TWO_THIRDS_LEFT_IMAGE"),r.Type.Literal("TWO_THIRDS_RIGHT_IMAGE"),r.Type.Literal("WHITE")]),accentContrast:r.Type.Union([r.Type.Literal("AUTO"),r.Type.Literal("BLACK"),r.Type.Literal("LIGHT"),r.Type.Literal("DARK")]),navigationType:r.Type.Union([r.Type.Literal("COMPACT"),r.Type.Literal("OVERLAY"),r.Type.Literal("SIDEBAR")]),navigationStyle:r.Type.Union([r.Type.Literal("DARK"),r.Type.Literal("DARK_ACCENT"),r.Type.Literal("DARK_IMAGE"),r.Type.Literal("LIGHT"),r.Type.Literal("LIGHT_ACCENT"),r.Type.Literal("LIGHT_IMAGE")]),lessonHeaderSize:r.Type.Union([r.Type.Literal("LARGE"),r.Type.Literal("MEDIUM"),r.Type.Literal("SMALL")]),buttonInlineStyle:r.Type.Union([r.Type.Literal("ROUNDED"),r.Type.Literal("SQUARED")]),lessonHeaderStyle:r.Type.Union([r.Type.Literal("ACCENT"),r.Type.Literal("BLACK"),r.Type.Literal("COLOR"),r.Type.Literal("DARK"),r.Type.Literal("GRAY"),r.Type.Literal("IMAGE"),r.Type.Literal("LIGHT"),r.Type.Literal("TINT")]),buttonNavigationStyle:r.Type.Union([r.Type.Literal("FULL"),r.Type.Literal("FLOATING"),r.Type.Literal("FLOATING_FULL")]),lessonHeaderImageColor:r.Type.Union([r.Type.Literal("ACCENT"),r.Type.Literal("DARK"),r.Type.Literal("LIGHT")]),customColorLessonHeaderContrast:r.Type.Union([r.Type.Literal("AUTO"),r.Type.Literal("BLACK"),r.Type.Literal("LIGHT"),r.Type.Literal("DARK")]),blockNavigationType:r.Type.Optional(r.Type.Union([r.Type.Literal("CONTINOUS"),r.Type.Literal("STEPPED")])),coverImageColor:r.Type.Optional(r.Type.Union([r.Type.Literal("ACCENT"),r.Type.Literal("DARK"),r.Type.Literal("LIGHT")]))})},59050:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.FontType=void 0;const r=n(2098);t.FontType=r.Type.Object({default:r.Type.Boolean(),id:r.Type.Union([r.Type.String(),r.Type.Number()]),key:r.Type.String(),name:r.Type.String(),style:r.Type.String(),weight:r.Type.String()})},25993:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LabelSetType=void 0;const r=n(2098),i=n(86178);t.LabelSetType=r.Type.Object({author:r.Type.Optional(r.Type.String()),createdAt:r.Type.String(),defaultId:r.Type.Optional(r.Type.Number()),defaultSet:r.Type.Boolean(),deleted:r.Type.Boolean(),id:r.Type.String(),iso639Code:r.Type.String(),labels:i.LabelsType,name:r.Type.String(),transferredAt:r.Type.Optional(r.Type.String()),updatedAt:r.Type.String()})},86178:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LabelsType=void 0;const r=n(2098);t.LabelsType=r.Type.Object({a11yAnswerLive:r.Type.String(),a11yAuthorPrefix:r.Type.String(),a11yBlockChartBar:r.Type.String(),a11yBlockChartLine:r.Type.String(),a11yBlockChartPie:r.Type.String(),a11yBlockCode:r.Type.String(),a11yBlockEmbed:r.Type.String(),a11yBlockFlashcardBack:r.Type.String(),a11yBlockFlashcardFront:r.Type.String(),a11yBlockFlashcardGrid:r.Type.String(),a11yBlockFlashcardStack:r.Type.String(),a11yBlockKnowledgeCheck:r.Type.String(),a11yBlockKnowledgeCheckFIB:r.Type.String(),a11yBlockKnowledgeCheckM:r.Type.String(),a11yBlockKnowledgeCheckMC:r.Type.String(),a11yBlockKnowledgeCheckMR:r.Type.String(),a11yBlockQuoteCarousel:r.Type.String(),a11yBlockStoryline:r.Type.String(),a11yBlockTimeline:r.Type.String(),a11yCarouselNext:r.Type.String(),a11yCarouselPrevious:r.Type.String(),a11yCorrectLive:r.Type.String(),a11yExcelIcon:r.Type.String(),a11yFileIcon:r.Type.String(),a11yGroupAudioPlayer:r.Type.String(),a11yGroupVideoPlayer:r.Type.String(),a11yLabeledGraphicBlock:r.Type.String(),a11yLabeledGraphicButtonMarker:r.Type.String(),a11yLabeledGraphicIconPlus:r.Type.String(),a11yLabeledGraphicIconDot:r.Type.String(),a11yLabeledGraphicIconInformation:r.Type.String(),a11yLabeledGraphicIconQuestion:r.Type.String(),a11yLabeledGraphicIconCheck:r.Type.String(),a11yLabeledGraphicIconX:r.Type.String(),a11yLabeledGraphicIconHeart:r.Type.String(),a11yLabeledGraphicIconPin:r.Type.String(),a11yLabeledGraphicIconArrowLeft:r.Type.String(),a11yLabeledGraphicIconArrowRight:r.Type.String(),a11yLabeledGraphicIconArrowUp:r.Type.String(),a11yLabeledGraphicIconArrowDown:r.Type.String(),a11yLabeledGraphicIconArrowUpLeft:r.Type.String(),a11yLabeledGraphicIconArrowUpRight:r.Type.String(),a11yLabeledGraphicIconArrowDownLeft:r.Type.String(),a11yLabeledGraphicIconArrowDownRight:r.Type.String(),a11yLabeledGraphicUnviewed:r.Type.String(),a11yLabeledGraphicViewed:r.Type.String(),a11yMediaPause:r.Type.String(),a11yMediaPlay:r.Type.String(),a11yMediaSeek:r.Type.String(),a11yNavigationMenuClose:r.Type.String(),a11yNavigationMenuOpen:r.Type.String(),a11yPageMarker:r.Type.String(),a11yPDFIcon:r.Type.String(),a11yPPTIcon:r.Type.String(),a11yQuizFailed:r.Type.String(),a11yQuizFeedback:r.Type.String(),a11yQuizPassed:r.Type.String(),a11yQuizReviewCorrectlyChecked:r.Type.String(),a11yQuizReviewCorrectlySelected:r.Type.String(),a11yQuizReviewCorrectlyUnchecked:r.Type.String(),a11yQuizReviewCorrectlyUnselected:r.Type.String(),a11yQuizReviewIncorrectlyChecked:r.Type.String(),a11yQuizReviewIncorrectlySelected:r.Type.String(),a11yQuizReviewIncorrectlyUnchecked:r.Type.String(),a11yQuizReviewIncorrectlyUnselected:r.Type.String(),a11yRegionMainLesson:r.Type.String(),a11yRegionMainOverview:r.Type.String(),a11yRegionNavLesson:r.Type.String(),a11yRegionNavOverview:r.Type.String(),a11yRestrictedNav:r.Type.String(),a11yRTFIcon:r.Type.String(),a11ySearchClose:r.Type.String(),a11ySearchInput:r.Type.String(),a11ySearchOpen:r.Type.String(),a11yStatusAdditionalContent:r.Type.String(),a11yStatusContinued:r.Type.String(),a11yUnzoomImage:r.Type.String(),a11yWordIcon:r.Type.String(),a11yZipIcon:r.Type.String(),a11yZoomImage:r.Type.String(),courseStart:r.Type.String(),courseResume:r.Type.String(),courseDetails:r.Type.String(),courseExit:r.Type.String(),courseHome:r.Type.String(),courseSkipToLesson:r.Type.String(),lessonName:r.Type.String(),lessonPreposition:r.Type.String(),lessonComplete:r.Type.String(),lessonRestricted:r.Type.String(),quizStart:r.Type.String(),quizQuestion:r.Type.String(),quizSubmit:r.Type.String(),quizRequireAnswer:r.Type.String(),quizNext:r.Type.String(),quizIncorrect:r.Type.String(),quizCorrect:r.Type.String(),quizResults:r.Type.String(),quizScore:r.Type.String(),quizPassing:r.Type.String(),quizTakeAgain:r.Type.String(),quizAcceptableResponses:r.Type.String(),quizAnswerPlaceholder:r.Type.String(),quizRequirePassingScore:r.Type.String(),quizContinue:r.Type.String(),processStepName:r.Type.String(),processStepPreposition:r.Type.String(),processNextStep:r.Type.String(),processLessonName:r.Type.String(),processComplete:r.Type.String(),processStart:r.Type.String(),processStartAgain:r.Type.String(),processSwipe:r.Type.String(),sortingCardsCorrect:r.Type.String(),sortingReplay:r.Type.String(),embedViewOn:r.Type.String(),embedReadMore:r.Type.String(),blocksClickToFlip:r.Type.String(),blocksPreposition:r.Type.String(),salutation:r.Type.String(),exitMessage:r.Type.String(),overviewPageTitleSuffix:r.Type.String(),lessonSidebarLandmark:r.Type.String(),hamburgerButtonLabel:r.Type.String(),timelineLandmark:r.Type.String(),timelineCardGroupPrefix:r.Type.String(),labeledGraphicMarkerLabel:r.Type.String(),labeledGraphicBubbleLabel:r.Type.String(),labeledGraphicPreviousMarkerLabel:r.Type.String(),labeledGraphicNextMarkerLabel:r.Type.String(),audioPlayerGroup:r.Type.String(),seekSliderLabel:r.Type.String(),playButtonLabel:r.Type.String(),pauseButtonLabel:r.Type.String(),videoPlayerGroup:r.Type.String(),embedPlayerGroup:r.Type.String(),embedPhotoGroup:r.Type.String(),embedLinkGroup:r.Type.String(),noteGroup:r.Type.String(),statementGroup:r.Type.String(),numberedListGroup:r.Type.String(),checkboxListGroup:r.Type.String(),bulletedListGroup:r.Type.String(),quoteGroup:r.Type.String(),lessonContentLandmark:r.Type.String(),imageGalleryGroup:r.Type.String(),imageAndTextGroup:r.Type.String(),textOnImageGroup:r.Type.String(),embedVideoGroup:r.Type.String(),codeGroup:r.Type.String(),attachmentGroup:r.Type.String(),numberedDividerGroup:r.Type.String(),accordionGroup:r.Type.String(),tabGroup:r.Type.String(),flashcardStackGroup:r.Type.String(),flashcardGridGroup:r.Type.String(),buttonGroup:r.Type.String(),buttonStackGroup:r.Type.String(),knowledgeCheckGroup:r.Type.String(),storylineGroup:r.Type.String(),processLandmark:r.Type.String(),labeledGraphicLandmark:r.Type.String(),sortingLandmark:r.Type.String(),urlEmbedLandmark:r.Type.String(),flashcardFrontLabel:r.Type.String(),flashcardBackLabel:r.Type.String(),previousFlashCardLabel:r.Type.String(),nextFlashCardLabel:r.Type.String(),feedbackGroup:r.Type.String(),search:r.Type.String(),result:r.Type.String(),results:r.Type.String(),noResults:r.Type.String(),scenarioTryAgain:r.Type.String(),scenarioContinue:r.Type.String(),scenarioComplete:r.Type.String(),scenarioStartOver:r.Type.String(),progressPieUnstarted:r.Type.String(),progressPieCompleted:r.Type.String(),progressPieClickToComplete:r.Type.String(),progressPieClickToReset:r.Type.String(),progressPieQuizFailed:r.Type.String()})},97916:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},3714:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.assertBlock=t.isBlock=t.BlockType=void 0;const r=n(2098),i=n(22908),o=n(45234);t.BlockType=r.Type.Object({id:r.Type.Union([r.Type.String(),r.Type.Number()]),type:r.Type.String(),family:r.Type.String(),variant:r.Type.String(),settings:i.BlockSettingsType}),t.isBlock=(0,o.makeIsFunction)(t.BlockType),t.assertBlock=(0,o.makeAssertFunction)(t.BlockType)},9823:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isBlockAccordion=t.assertBlockAccordion=t.BlockAccordionType=void 0;const r=n(2098),i=n(45234),o=n(66141),a=n(36357);t.BlockAccordionType=r.Type.Composite([o.BlockInteractiveBaseType,r.Type.Object({family:r.Type.Literal("interactive"),variant:r.Type.Literal("accordion"),items:r.Type.Array(a.BlockItemAccordionType)})]),t.assertBlockAccordion=(0,i.makeAssertFunction)(t.BlockAccordionType),t.isBlockAccordion=(0,i.makeIsFunction)(t.BlockAccordionType)},16417:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BlockAnyType=void 0;const r=n(2098),i=n(9823),o=n(6120),a=n(88090),s=n(61388),u=n(43616),c=n(80002),l=n(75804),f=n(82301),d=n(93680),p=n(77479),h=n(26288),g=n(33759),m=n(79846),y=n(72587),v=n(72246),b=n(69874),_=n(96119),w=n(64292);t.BlockAnyType=r.Type.Union([i.BlockAccordionType,o.BlockButtonStackType,o.BlockButtonType,s.BlockContinueType,u.BlockDividerType,a.BlockFlashcardType,c.BlockImageType,l.BlockKnowledgeCheckAnyType,f.BlockLabeledGraphicType,d.BlockListType,p.BlockProcessType,h.BlockQuoteType,g.BlockScenarioType,m.BlockSortingType,a.BlockStackType,y.BlockStatementType,v.BlockStorylineType,b.BlockTabsType,_.BlockTextType,w.BlockTimelineType])},6120:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isBlockButtonStack=t.assertBlockButtonStack=t.BlockButtonStackType=t.isBlockButton=t.assertBlockButton=t.BlockButtonType=void 0;const r=n(2098),i=n(45234),o=n(66141),a=n(15384);t.BlockButtonType=r.Type.Composite([o.BlockInteractiveBaseType,r.Type.Object({family:r.Type.Literal("buttons"),variant:r.Type.Literal("button"),items:r.Type.Array(a.BlockItemButtonType)})]),t.assertBlockButton=(0,i.makeAssertFunction)(t.BlockButtonType),t.isBlockButton=(0,i.makeIsFunction)(t.BlockButtonType),t.BlockButtonStackType=r.Type.Composite([o.BlockInteractiveBaseType,r.Type.Object({family:r.Type.Literal("buttons"),variant:r.Type.Literal("button stack"),items:r.Type.Array(a.BlockItemButtonType)})]),t.assertBlockButtonStack=(0,i.makeAssertFunction)(t.BlockButtonStackType),t.isBlockButtonStack=(0,i.makeIsFunction)(t.BlockButtonStackType)},88090:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isBlockStack=t.assertBlockStack=t.BlockStackType=t.isBlockFlashcard=t.assertBlockFlashcard=t.BlockFlashcardType=void 0;const r=n(2098),i=n(45234),o=n(66141),a=n(28038);t.BlockFlashcardType=r.Type.Composite([o.BlockInteractiveBaseType,r.Type.Object({family:r.Type.Literal("flashcard"),variant:r.Type.Literal("flashcard"),items:r.Type.Array(a.BlockItemCardType)})]),t.assertBlockFlashcard=(0,i.makeAssertFunction)(t.BlockFlashcardType),t.isBlockFlashcard=(0,i.makeIsFunction)(t.BlockFlashcardType),t.BlockStackType=r.Type.Composite([o.BlockInteractiveBaseType,r.Type.Object({family:r.Type.Literal("flashcard"),variant:r.Type.Literal("stack"),items:r.Type.Array(a.BlockItemCardType)})]),t.assertBlockStack=(0,i.makeAssertFunction)(t.BlockStackType),t.isBlockStack=(0,i.makeIsFunction)(t.BlockStackType)},61388:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.assertContinueBlock=t.isContinueBlock=t.BlockContinueType=void 0;const r=n(2098),i=n(45234),o=n(3714),a=n(51889);t.BlockContinueType=r.Type.Composite([o.BlockType,r.Type.Object({type:r.Type.Literal("divider"),family:r.Type.Literal("continue"),variant:r.Type.Literal("continue"),items:r.Type.Tuple([a.BlockItemContinueType])})]),t.isContinueBlock=(0,i.makeIsFunction)(t.BlockContinueType),t.assertContinueBlock=(0,i.makeAssertFunction)(t.BlockContinueType)},43616:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.assertDividerBlock=t.isDividerBlock=t.BlockDividerType=void 0;const r=n(2098),i=n(45234),o=n(3714);t.BlockDividerType=r.Type.Composite([o.BlockType,r.Type.Object({type:r.Type.Literal("divider"),family:r.Type.Literal("divider"),variant:r.Type.Union([r.Type.Literal("divider"),r.Type.Literal("numbered divider"),r.Type.Literal("spacing divider")]),items:r.Type.Tuple([])})]),t.isDividerBlock=(0,i.makeIsFunction)(t.BlockDividerType),t.assertDividerBlock=(0,i.makeAssertFunction)(t.BlockDividerType)},80002:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.assertImageBlock=t.isImageBlock=t.BlockImageType=void 0;const r=n(2098),i=n(45234),o=n(3714),a=n(58642);t.BlockImageType=r.Type.Composite([o.BlockType,r.Type.Object({type:r.Type.Literal("image"),family:r.Type.Union([r.Type.Literal("image"),r.Type.Literal("gallery")]),variant:r.Type.Union([r.Type.Literal("hero"),r.Type.Literal("full"),r.Type.Literal("text aside"),r.Type.Literal("text overlay"),r.Type.Literal("centered"),r.Type.Literal("two column"),r.Type.Literal("three column"),r.Type.Literal("four column")]),items:r.Type.Array(a.BlockItemImageType)})]),t.isImageBlock=(0,i.makeIsFunction)(t.BlockImageType),t.assertImageBlock=(0,i.makeAssertFunction)(t.BlockImageType)},66141:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isInteractiveBlock=t.assertInteractiveBlock=t.BlockInteractiveType=t.BlockInteractiveBaseType=void 0;const r=n(2098),i=n(45234),o=n(3714),a=n(9823),s=n(6120),u=n(88090),c=n(82301),l=n(77479),f=n(33759),d=n(79846),p=n(72246),h=n(69874),g=n(64292);t.BlockInteractiveBaseType=r.Type.Composite([o.BlockType,r.Type.Object({type:r.Type.Literal("interactive")})]),t.BlockInteractiveType=r.Type.Union([a.BlockAccordionType,s.BlockButtonType,s.BlockButtonStackType,u.BlockFlashcardType,c.BlockLabeledGraphicType,l.BlockProcessType,f.BlockScenarioType,d.BlockSortingType,u.BlockStackType,p.BlockStorylineType,h.BlockTabsType,g.BlockTimelineType]),t.assertInteractiveBlock=(0,i.makeAssertFunction)(t.BlockInteractiveType),t.isInteractiveBlock=(0,i.makeIsFunction)(t.BlockInteractiveType)},75804:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isKnowledgeCheckBlockQuestionBank=t.isKnowledgeCheckBlockMatching=t.isKnowledgeCheckBlockMultipleResponse=t.isKnowledgeCheckBlockMultipleChoice=t.isKnowledgeCheckBlockFillIn=t.isKnowledgeBlock=t.assertKnowledgeCheckBlockQuestionBank=t.assertKnowledgeCheckBlockMatching=t.assertKnowledgeCheckBlockMultipleResponse=t.assertKnowledgeCheckBlockMultipleChoice=t.assertKnowledgeCheckBlockFillIn=t.assertKnowledgeBlock=t.BlockKnowledgeCheckAnyType=t.BlockKnowledgeCheckMultipleResponseType=t.BlockKnowledgeCheckMultipleChoiceType=t.BlockKnowledgeCheckMatchingType=t.BlockKnowledgeCheckFillInType=t.BlockKnowledgeCheckQuestionBankType=void 0;const r=n(2098),i=n(61999),o=n(45234),a=n(3714),s=n(64246),u=n(50041),c=n(93900),l=n(80656),f=n(21245),d=r.Type.Composite([a.BlockType,r.Type.Object({type:r.Type.Literal("knowledgeCheck"),family:r.Type.Literal("knowledgeCheck"),background:r.Type.Optional(i.MediaImageType)})]);t.BlockKnowledgeCheckQuestionBankType=r.Type.Composite([d,r.Type.Object({variant:r.Type.Literal("draw from question bank"),items:r.Type.Tuple([f.BlockItemQuestionBankType])})]),t.BlockKnowledgeCheckFillInType=r.Type.Composite([d,r.Type.Object({variant:r.Type.Literal("fillin"),items:r.Type.Tuple([s.BlockItemFillInType])})]),t.BlockKnowledgeCheckMatchingType=r.Type.Composite([d,r.Type.Object({variant:r.Type.Literal("matching"),items:r.Type.Tuple([u.BlockItemMatchingType])})]),t.BlockKnowledgeCheckMultipleChoiceType=r.Type.Composite([d,r.Type.Object({variant:r.Type.Literal("multiple choice"),items:r.Type.Tuple([c.BlockItemMultipleChoiceType])})]),t.BlockKnowledgeCheckMultipleResponseType=r.Type.Composite([d,r.Type.Object({variant:r.Type.Literal("multiple response"),items:r.Type.Tuple([l.BlockItemMultipleResponseType])})]),t.BlockKnowledgeCheckAnyType=r.Type.Union([t.BlockKnowledgeCheckQuestionBankType,t.BlockKnowledgeCheckFillInType,t.BlockKnowledgeCheckMatchingType,t.BlockKnowledgeCheckMultipleChoiceType,t.BlockKnowledgeCheckMultipleResponseType]),t.assertKnowledgeBlock=(0,o.makeAssertFunction)(t.BlockKnowledgeCheckAnyType),t.assertKnowledgeCheckBlockFillIn=(0,o.makeAssertFunction)(s.BlockItemFillInType),t.assertKnowledgeCheckBlockMultipleChoice=(0,o.makeAssertFunction)(t.BlockKnowledgeCheckMultipleChoiceType),t.assertKnowledgeCheckBlockMultipleResponse=(0,o.makeAssertFunction)(t.BlockKnowledgeCheckMultipleResponseType),t.assertKnowledgeCheckBlockMatching=(0,o.makeAssertFunction)(t.BlockKnowledgeCheckMatchingType),t.assertKnowledgeCheckBlockQuestionBank=(0,o.makeAssertFunction)(t.BlockKnowledgeCheckQuestionBankType),t.isKnowledgeBlock=(0,o.makeIsFunction)(t.BlockKnowledgeCheckAnyType),t.isKnowledgeCheckBlockFillIn=(0,o.makeIsFunction)(s.BlockItemFillInType),t.isKnowledgeCheckBlockMultipleChoice=(0,o.makeIsFunction)(t.BlockKnowledgeCheckMultipleChoiceType),t.isKnowledgeCheckBlockMultipleResponse=(0,o.makeIsFunction)(t.BlockKnowledgeCheckMultipleResponseType),t.isKnowledgeCheckBlockMatching=(0,o.makeIsFunction)(t.BlockKnowledgeCheckMatchingType),t.isKnowledgeCheckBlockQuestionBank=(0,o.makeIsFunction)(t.BlockKnowledgeCheckQuestionBankType)},82301:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isBlockLabeledGraphic=t.assertBlockLabeledGraphic=t.BlockLabeledGraphicType=void 0;const r=n(2098),i=n(80996),o=n(45234),a=n(66141),s=n(8790);t.BlockLabeledGraphicType=r.Type.Composite([a.BlockInteractiveBaseType,r.Type.Object({family:r.Type.Literal("interactive-fullscreen"),variant:r.Type.Literal("labeledgraphic"),items:r.Type.Array(s.BlockItemLabeledGraphicType),media:i.MediaImageRecordType})]),t.assertBlockLabeledGraphic=(0,o.makeAssertFunction)(t.BlockLabeledGraphicType),t.isBlockLabeledGraphic=(0,o.makeIsFunction)(t.BlockLabeledGraphicType)},93680:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.assertListBlock=t.isListBlock=t.BlockListType=t.BlockVariantList=t.BlockFamilyList=t.BlockTypeList=void 0;const r=n(2098),i=n(45234),o=n(3714),a=n(88014);t.BlockTypeList=r.Type.Literal("list"),t.BlockFamilyList=r.Type.Literal("list"),t.BlockVariantList=r.Type.Union([r.Type.Literal("bulleted"),r.Type.Literal("checkboxes"),r.Type.Literal("numbered")]),t.BlockListType=r.Type.Composite([o.BlockType,r.Type.Object({type:t.BlockTypeList,family:t.BlockFamilyList,variant:t.BlockVariantList,items:r.Type.Array(a.BlockItemListType)})]),t.isListBlock=(0,i.makeIsFunction)(t.BlockListType),t.assertListBlock=(0,i.makeAssertFunction)(t.BlockListType)},77479:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isBlockProcess=t.assertBlockProcess=t.BlockProcessType=void 0;const r=n(2098),i=n(45234),o=n(66141),a=n(82993);t.BlockProcessType=r.Type.Composite([o.BlockInteractiveBaseType,r.Type.Object({family:r.Type.Literal("interactive-fullscreen"),variant:r.Type.Literal("process"),items:r.Type.Array(a.BlockItemProcessType)})]),t.assertBlockProcess=(0,i.makeAssertFunction)(t.BlockProcessType),t.isBlockProcess=(0,i.makeIsFunction)(t.BlockProcessType)},26288:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.assertQuoteBlock=t.isQuoteBlock=t.BlockQuoteType=t.BlockVariantQuote=t.BlockFamilyQuote=t.BlockTypeQuote=void 0;const r=n(2098),i=n(45234),o=n(3714),a=n(38876);t.BlockTypeQuote=r.Type.Literal("quote"),t.BlockFamilyQuote=r.Type.Literal("quote"),t.BlockVariantQuote=r.Type.Union([r.Type.Literal("a"),r.Type.Literal("b"),r.Type.Literal("background"),r.Type.Literal("c"),r.Type.Literal("carousel"),r.Type.Literal("d")]),t.BlockQuoteType=r.Type.Composite([o.BlockType,r.Type.Object({type:t.BlockTypeQuote,family:t.BlockFamilyQuote,variant:t.BlockVariantQuote,items:r.Type.Array(a.BlockItemQuoteType)})]),t.isQuoteBlock=(0,i.makeIsFunction)(t.BlockQuoteType),t.assertQuoteBlock=(0,i.makeAssertFunction)(t.BlockQuoteType)},33759:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isBlockScenario=t.assertBlockScenario=t.BlockScenarioType=void 0;const r=n(2098),i=n(45234),o=n(66141),a=n(55722);t.BlockScenarioType=r.Type.Composite([o.BlockInteractiveBaseType,r.Type.Object({family:r.Type.Literal("interactive-fullscreen"),variant:r.Type.Literal("scenario"),items:r.Type.Array(a.BlockItemScenarioType)})]),t.assertBlockScenario=(0,i.makeAssertFunction)(t.BlockScenarioType),t.isBlockScenario=(0,i.makeIsFunction)(t.BlockScenarioType)},79846:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isBlockSorting=t.assertBlockSorting=t.BlockSortingType=void 0;const r=n(2098),i=n(45234),o=n(66141),a=n(74563);t.BlockSortingType=r.Type.Composite([o.BlockInteractiveBaseType,r.Type.Object({family:r.Type.Literal("interactive-fullscreen"),variant:r.Type.Literal("sorting"),items:r.Type.Array(a.BlockItemSortingType),piles:r.Type.Array(r.Type.Object({id:r.Type.Union([r.Type.String(),r.Type.Number()]),title:r.Type.String()}))})]),t.assertBlockSorting=(0,i.makeAssertFunction)(t.BlockSortingType),t.isBlockSorting=(0,i.makeIsFunction)(t.BlockSortingType)},72587:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.assertStatementBlock=t.isStatementBlock=t.BlockStatementType=void 0;const r=n(2098),i=n(45234),o=n(3714),a=n(85288);t.BlockStatementType=r.Type.Composite([o.BlockType,r.Type.Object({type:r.Type.Union([r.Type.Literal("text"),r.Type.Literal("impact")]),family:r.Type.Literal("impact"),variant:r.Type.Union([r.Type.Literal("a"),r.Type.Literal("b"),r.Type.Literal("c"),r.Type.Literal("d"),r.Type.Literal("note")]),items:r.Type.Array(a.BlockItemStatementType)})]),t.isStatementBlock=(0,i.makeIsFunction)(t.BlockStatementType),t.assertStatementBlock=(0,i.makeAssertFunction)(t.BlockStatementType)},72246:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.assertStorylineBlock=t.isStorylineBlock=t.BlockStorylineType=void 0;const r=n(2098),i=n(45234),o=n(3714),a=n(36716);t.BlockStorylineType=r.Type.Composite([o.BlockType,r.Type.Object({type:r.Type.Literal("interactive"),family:r.Type.Literal("360"),variant:r.Type.Literal("storyline"),items:r.Type.Tuple([a.BlockItemStorylineType])})]),t.isStorylineBlock=(0,i.makeIsFunction)(t.BlockStorylineType),t.assertStorylineBlock=(0,i.makeAssertFunction)(t.BlockStorylineType)},69874:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isBlockTabs=t.assertBlockTabs=t.BlockTabsType=void 0;const r=n(2098),i=n(45234),o=n(66141),a=n(76061);t.BlockTabsType=r.Type.Composite([o.BlockInteractiveBaseType,r.Type.Object({family:r.Type.Literal("interactive"),variant:r.Type.Literal("tabs"),items:r.Type.Array(a.BlockItemTabsType)})]),t.assertBlockTabs=(0,i.makeAssertFunction)(t.BlockTabsType),t.isBlockTabs=(0,i.makeIsFunction)(t.BlockTabsType)},96119:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createTextBlock=t.assertTextBlock=t.isTextBlock=t.BlockTextType=void 0;const r=n(92981),i=n(2098),o=n(32477),a=n(45234),s=n(3714),u=n(49747);t.BlockTextType=i.Type.Composite([s.BlockType,i.Type.Object({type:i.Type.Literal("text"),family:i.Type.Literal("text"),variant:i.Type.Union([i.Type.Literal("paragraph"),i.Type.Literal("heading"),i.Type.Literal("subheading"),i.Type.Literal("heading paragraph"),i.Type.Literal("subheading paragraph"),i.Type.Literal("two column"),i.Type.Literal("three column"),i.Type.Literal("four column"),i.Type.Literal("table")]),items:i.Type.Array(u.BlockItemTextType,{maxItems:4})})]),t.isTextBlock=(0,a.makeIsFunction)(t.BlockTextType),t.assertTextBlock=(0,a.makeAssertFunction)(t.BlockTextType),t.createTextBlock=function(e){const n=o.Value.Create(t.BlockTextType);n.id=(0,r.createId)(),n.variant=e.variant;const i=o.Value.Create(u.BlockItemTextType);return i.id=(0,r.createId)(),i.heading=e.heading,i.paragraph=e.paragraph,n.items=[i],n}},64292:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isBlockTimeline=t.assertBlockTimeline=t.BlockTimelineType=void 0;const r=n(2098),i=n(45234),o=n(66141),a=n(47689);t.BlockTimelineType=r.Type.Composite([o.BlockInteractiveBaseType,r.Type.Object({family:r.Type.Literal("interactive-fullscreen"),variant:r.Type.Literal("timeline"),items:r.Type.Array(a.BlockItemTimelineType)})]),t.assertBlockTimeline=(0,i.makeAssertFunction)(t.BlockTimelineType),t.isBlockTimeline=(0,i.makeIsFunction)(t.BlockTimelineType)},53280:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(3714),t),i(n(9823),t),i(n(16417),t),i(n(6120),t),i(n(88090),t),i(n(61388),t),i(n(43616),t),i(n(80002),t),i(n(66141),t),i(n(75804),t),i(n(82301),t),i(n(93680),t),i(n(77479),t),i(n(26288),t),i(n(33759),t),i(n(79846),t),i(n(72587),t),i(n(72246),t),i(n(69874),t),i(n(96119),t),i(n(64292),t),i(n(51889),t)},71041:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.assertBlockItem=t.isBlockItem=t.BlockItemType=void 0;const r=n(2098),i=n(45234);t.BlockItemType=r.Type.Object({id:r.Type.Union([r.Type.String(),r.Type.Number()])}),t.isBlockItem=(0,i.makeIsFunction)(t.BlockItemType),t.assertBlockItem=(0,i.makeAssertFunction)(t.BlockItemType)},36357:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.assertAccordionBlockItem=t.isAccordionBlockItem=t.BlockItemAccordionType=void 0;const r=n(2098),i=n(61999),o=n(45234),a=n(71041);t.BlockItemAccordionType=r.Type.Composite([a.BlockItemType,r.Type.Object({title:r.Type.String(),description:r.Type.String(),media:r.Type.Optional(i.MediaRecordType),settings:r.Type.Optional(r.Type.Object({disableZoom:r.Type.Optional(r.Type.Boolean()),fullEmbed:r.Type.Optional(r.Type.Boolean())}))})]),t.isAccordionBlockItem=(0,o.makeIsFunction)(t.BlockItemAccordionType),t.assertAccordionBlockItem=(0,o.makeAssertFunction)(t.BlockItemAccordionType)},56628:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BlockItemAnyType=void 0;const r=n(2098),i=n(36357),o=n(15384),a=n(28038),s=n(82971),u=n(64246),c=n(58642),l=n(85814),f=n(8790),d=n(88014),p=n(50041),h=n(93900),g=n(80656),m=n(82993),y=n(21245),v=n(38876),b=n(55722),_=n(74563),w=n(85288),T=n(36716),x=n(76061),S=n(49747),k=n(47689);t.BlockItemAnyType=r.Type.Union([i.BlockItemAccordionType,o.BlockItemButtonType,a.BlockItemCardType,s.BlockItemContinueType,u.BlockItemFillInType,c.BlockItemImageType,l.BlockItemKnowledgeCheckType,f.BlockItemLabeledGraphicType,d.BlockItemListType,p.BlockItemMatchingType,h.BlockItemMultipleChoiceType,g.BlockItemMultipleResponseType,m.BlockItemProcessType,y.BlockItemQuestionBankType,v.BlockItemQuoteType,b.BlockItemScenarioType,_.BlockItemSortingType,w.BlockItemStatementType,T.BlockItemStorylineType,x.BlockItemTabsType,S.BlockItemTextType,k.BlockItemTimelineType])},15384:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.assertButtonBlockItem=t.isButtonBlockItem=t.BlockItemButtonType=void 0;const r=n(2098),i=n(45234),o=n(71041);t.BlockItemButtonType=r.Type.Composite([o.BlockItemType,r.Type.Object({type:r.Type.Union([r.Type.Literal("link"),r.Type.Literal("relative-url"),r.Type.Literal("email"),r.Type.Literal("exit-course"),r.Type.Literal("lesson")]),label:r.Type.String(),description:r.Type.String(),destination:r.Type.String()})]),t.isButtonBlockItem=(0,i.makeIsFunction)(t.BlockItemButtonType),t.assertButtonBlockItem=(0,i.makeAssertFunction)(t.BlockItemButtonType)},28038:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.assertCardBlockItem=t.isCardBlockItem=t.BlockItemCardType=void 0;const r=n(2098),i=n(61999),o=n(45234),a=n(71041),s=r.Type.Object({type:r.Type.Union([r.Type.Literal("image"),r.Type.Literal("fullimage"),r.Type.Literal("description")]),description:r.Type.String(),media:r.Type.Optional(i.MediaRecordType)});t.BlockItemCardType=r.Type.Composite([a.BlockItemType,r.Type.Object({back:s,front:s})]),t.isCardBlockItem=(0,o.makeIsFunction)(t.BlockItemCardType),t.assertCardBlockItem=(0,o.makeAssertFunction)(t.BlockItemCardType)},82971:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.assertContinueBlockItem=t.isContinueBlockItem=t.BlockItemContinueType=void 0;const r=n(2098),i=n(45234),o=n(71041);t.BlockItemContinueType=r.Type.Composite([o.BlockItemType,r.Type.Object({title:r.Type.String(),completeHint:r.Type.String(),buttonColor:r.Type.Union([r.Type.Literal("brand"),r.Type.Literal("gray"),r.Type.Literal("black")]),type:r.Type.Union([r.Type.Literal(""),r.Type.Literal("completeBlock"),r.Type.Literal("completeAll")])})]),t.isContinueBlockItem=(0,i.makeIsFunction)(t.BlockItemContinueType),t.assertContinueBlockItem=(0,i.makeAssertFunction)(t.BlockItemContinueType)},64246:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.assertFillInBlockItem=t.isFillInBlockItem=t.BlockItemFillInType=void 0;const r=n(2098),i=n(45234),o=n(85814);t.BlockItemFillInType=r.Type.Composite([o.BlockItemKnowledgeCheckType,r.Type.Object({type:r.Type.Literal("FILL_IN_THE_BLANK")})]),t.isFillInBlockItem=(0,i.makeIsFunction)(t.BlockItemFillInType),t.assertFillInBlockItem=(0,i.makeAssertFunction)(t.BlockItemFillInType)},58642:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BlockItemImageType=void 0;const r=n(2098),i=n(61999),o=n(71041);t.BlockItemImageType=r.Type.Composite([o.BlockItemType,r.Type.Object({caption:r.Type.Optional(r.Type.String()),paragraph:r.Type.Optional(r.Type.String()),media:i.MediaImageRecordType})])},85814:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BlockItemKnowledgeCheckType=t.BlockItemKnowledgeCheckFeedbackType=t.BlockItemKnowledgeCheckAnswerType=void 0;const r=n(2098),i=n(61999),o=n(71041);t.BlockItemKnowledgeCheckAnswerType=r.Type.Object({id:r.Type.Union([r.Type.String(),r.Type.Number()]),title:r.Type.String(),correct:r.Type.Boolean(),feedback:r.Type.Optional(r.Type.String())}),t.BlockItemKnowledgeCheckFeedbackType=r.Type.Object({feedback:r.Type.Optional(r.Type.String()),feedbackType:r.Type.Optional(r.Type.Union([r.Type.Literal("ANY"),r.Type.Literal("CORRECT_INCORRECT"),r.Type.Literal("CHOICE")])),feedbackCorrect:r.Type.Optional(r.Type.String()),feedbackIncorrect:r.Type.Optional(r.Type.String())}),t.BlockItemKnowledgeCheckType=r.Type.Composite([o.BlockItemType,t.BlockItemKnowledgeCheckFeedbackType,r.Type.Object({title:r.Type.String(),answers:r.Type.Array(t.BlockItemKnowledgeCheckAnswerType),media:r.Type.Optional(i.MediaRecordType),settings:r.Type.Optional(i.MediaSettingsType),isCaseSensitive:r.Type.Optional(r.Type.Boolean())})])},8790:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.assertLabeledGraphicBlockItem=t.isLabeledGraphicBlockItem=t.BlockItemLabeledGraphicType=void 0;const r=n(2098),i=n(87791),o=n(45234),a=n(71041);t.BlockItemLabeledGraphicType=r.Type.Composite([a.BlockItemType,r.Type.Object({x:r.Type.Integer(),y:r.Type.Integer(),icon:r.Type.String(),title:r.Type.String(),isActive:r.Type.Boolean(),description:r.Type.String(),media:r.Type.Optional(i.MediaRecordType)})]),t.isLabeledGraphicBlockItem=(0,o.makeIsFunction)(t.BlockItemLabeledGraphicType),t.assertLabeledGraphicBlockItem=(0,o.makeAssertFunction)(t.BlockItemLabeledGraphicType)},88014:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.assertListBlockItem=t.isListBlockItem=t.BlockItemListType=void 0;const r=n(2098),i=n(45234),o=n(71041);t.BlockItemListType=r.Type.Composite([o.BlockItemType,r.Type.Object({paragraph:r.Type.Optional(r.Type.String()),number:r.Type.Optional(r.Type.String())})]),t.isListBlockItem=(0,i.makeIsFunction)(t.BlockItemListType),t.assertListBlockItem=(0,i.makeAssertFunction)(t.BlockItemListType)},50041:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.assertMatchingBlockItem=t.isMatchingBlockItem=t.BlockItemMatchingType=void 0;const r=n(2098),i=n(45234),o=n(85814);t.BlockItemMatchingType=r.Type.Composite([o.BlockItemKnowledgeCheckType,r.Type.Object({type:r.Type.Literal("MATCHING"),answers:r.Type.Composite([o.BlockItemKnowledgeCheckType.answers,r.Type.Object({matchTitle:r.Type.String()})])})]),t.isMatchingBlockItem=(0,i.makeIsFunction)(t.BlockItemMatchingType),t.assertMatchingBlockItem=(0,i.makeAssertFunction)(t.BlockItemMatchingType)},93900:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.assertMultipleChoiceBlockItem=t.isMultipleChoiceBlockItem=t.BlockItemMultipleChoiceType=void 0;const r=n(2098),i=n(45234),o=n(85814);t.BlockItemMultipleChoiceType=r.Type.Composite([o.BlockItemKnowledgeCheckType,r.Type.Object({type:r.Type.Literal("MULTIPLE_CHOICE")})]),t.isMultipleChoiceBlockItem=(0,i.makeIsFunction)(t.BlockItemMultipleChoiceType),t.assertMultipleChoiceBlockItem=(0,i.makeAssertFunction)(t.BlockItemMultipleChoiceType)},80656:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.assertMultipleResponseBlockItem=t.isMultipleResponseBlockItem=t.BlockItemMultipleResponseType=void 0;const r=n(2098),i=n(45234),o=n(85814);t.BlockItemMultipleResponseType=r.Type.Composite([o.BlockItemKnowledgeCheckType,r.Type.Object({type:r.Type.Literal("MULTIPLE_RESPONSE"),correct:r.Type.String(),corrects:r.Type.Array(r.Type.String())})]),t.isMultipleResponseBlockItem=(0,i.makeIsFunction)(t.BlockItemMultipleResponseType),t.assertMultipleResponseBlockItem=(0,i.makeAssertFunction)(t.BlockItemMultipleResponseType)},82993:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.assertProcessBlockItem=t.isProcessBlockItem=t.BlockItemProcessType=void 0;const r=n(2098),i=n(45234),o=n(71041);t.BlockItemProcessType=r.Type.Composite([o.BlockItemType,r.Type.Object({type:r.Type.Union([r.Type.Literal("intro"),r.Type.Literal("summary"),r.Type.Literal("step")]),title:r.Type.String(),isHidden:r.Type.Boolean(),description:r.Type.String()})]),t.isProcessBlockItem=(0,i.makeIsFunction)(t.BlockItemProcessType),t.assertProcessBlockItem=(0,i.makeAssertFunction)(t.BlockItemProcessType)},21245:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.assertQuestionBankBlockItem=t.isQuestionBankBlockItem=t.BlockItemQuestionBankType=void 0;const r=n(2098),i=n(45234),o=n(85814);t.BlockItemQuestionBankType=r.Type.Composite([o.BlockItemKnowledgeCheckType,r.Type.Object({type:r.Type.Literal("DRAW_FROM_QUESTION_BANK"),questionBankId:r.Type.String(),questionBankTitle:r.Type.String(),questionBankUpdatedAt:r.Type.String(),drawCount:r.Type.Number(),questions:r.Type.Array(r.Type.Object({id:r.Type.Union([r.Type.String(),r.Type.Number()]),type:r.Type.Literal("MULTIPLE_CHOICE"),title:r.Type.String(),correct:r.Type.String(),answers:o.BlockItemKnowledgeCheckType.answers}))})]),t.isQuestionBankBlockItem=(0,i.makeIsFunction)(t.BlockItemQuestionBankType),t.assertQuestionBankBlockItem=(0,i.makeAssertFunction)(t.BlockItemQuestionBankType)},38876:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.assertQuoteBlockItem=t.isQuoteBlockItem=t.BlockItemQuoteType=void 0;const r=n(2098),i=n(61999),o=n(45234),a=n(71041);t.BlockItemQuoteType=r.Type.Composite([a.BlockItemType,r.Type.Object({name:r.Type.String(),avatar:i.MediaImageType,paragraph:r.Type.String(),background:r.Type.Optional(i.MediaImageType)})]),t.isQuoteBlockItem=(0,o.makeIsFunction)(t.BlockItemQuoteType),t.assertQuoteBlockItem=(0,o.makeAssertFunction)(t.BlockItemQuoteType)},55722:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.assertScenarioBlockItem=t.isScenarioBlockItem=t.BlockItemScenarioType=void 0;const r=n(2098),i=n(80996),o=n(45234),a=n(71041),s=r.Type.Union([r.Type.Literal("next"),r.Type.Literal("slide"),r.Type.Literal("end")]),u=r.Type.Object({scene:r.Type.String(),slide:r.Type.String()}),c=r.Type.Object({id:r.Type.String(),goTo:s,action:r.Type.Union([r.Type.Literal("continue"),r.Type.Literal("tryAgain")]),emotion:r.Type.String(),feedback:r.Type.String(),nextSlide:r.Type.Optional(u),description:r.Type.String()}),l=r.Type.Object({id:r.Type.String(),title:r.Type.String(),goTo:s,type:r.Type.Union([r.Type.Literal("dialogue"),r.Type.Literal("text")]),emotion:r.Type.String(),nextSlide:r.Type.Optional(u),responses:r.Type.Array(c),description:r.Type.String(),hasCharacter:r.Type.Boolean()}),f=r.Type.Composite([i.MediaImageType,r.Type.Object({id:r.Type.String(),filters:r.Type.Array(r.Type.Object({name:r.Type.String(),value:r.Type.String()}))})]),d=r.Type.Object({id:r.Type.String(),name:r.Type.String(),src:r.Type.String(),poses:r.Type.Optional(r.Type.Record(r.Type.String(),f))});t.BlockItemScenarioType=r.Type.Composite([a.BlockItemType,r.Type.Object({title:r.Type.String(),character:d,slides:r.Type.Array(l)})]),t.isScenarioBlockItem=(0,o.makeIsFunction)(t.BlockItemScenarioType),t.assertScenarioBlockItem=(0,o.makeAssertFunction)(t.BlockItemScenarioType)},74563:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.assertSortingBlockItem=t.isSortingBlockItem=t.BlockItemSortingType=void 0;const r=n(2098),i=n(45234),o=n(71041);t.BlockItemSortingType=r.Type.Composite([o.BlockItemType,r.Type.Object({title:r.Type.String(),pileId:r.Type.Union([r.Type.String(),r.Type.Number()])})]),t.isSortingBlockItem=(0,i.makeIsFunction)(t.BlockItemSortingType),t.assertSortingBlockItem=(0,i.makeAssertFunction)(t.BlockItemSortingType)},85288:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.assertStatementBlockItem=t.isStatementBlockItem=t.BlockItemStatementType=void 0;const r=n(2098),i=n(45234),o=n(71041);t.BlockItemStatementType=r.Type.Composite([o.BlockItemType,r.Type.Object({paragraph:r.Type.Optional(r.Type.String())})]),t.isStatementBlockItem=(0,i.makeIsFunction)(t.BlockItemStatementType),t.assertStatementBlockItem=(0,i.makeAssertFunction)(t.BlockItemStatementType)},36716:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BlockItemStorylineType=void 0;const r=n(2098),i=n(41800),o=n(71041);t.BlockItemStorylineType=r.Type.Composite([o.BlockItemType,r.Type.Object({media:i.MediaStorylineRecordType})])},76061:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.assertTabsBlockItem=t.isTabsBlockItem=t.BlockItemTabsType=void 0;const r=n(2098),i=n(61999),o=n(45234),a=n(71041);t.BlockItemTabsType=r.Type.Composite([a.BlockItemType,r.Type.Object({title:r.Type.String(),description:r.Type.String(),media:r.Type.Optional(i.MediaRecordType),settings:r.Type.Optional(r.Type.Object({disableZoom:r.Type.Optional(r.Type.Boolean()),fullEmbed:r.Type.Optional(r.Type.Boolean())}))})]),t.isTabsBlockItem=(0,o.makeIsFunction)(t.BlockItemTabsType),t.assertTabsBlockItem=(0,o.makeAssertFunction)(t.BlockItemTabsType)},49747:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.assertTextBlockItem=t.isTextBlockItem=t.BlockItemTextType=void 0;const r=n(2098),i=n(45234),o=n(71041);t.BlockItemTextType=r.Type.Composite([o.BlockItemType,r.Type.Object({heading:r.Type.Optional(r.Type.String()),paragraph:r.Type.Optional(r.Type.String())})]),t.isTextBlockItem=(0,i.makeIsFunction)(t.BlockItemTextType),t.assertTextBlockItem=(0,i.makeAssertFunction)(t.BlockItemTextType)},47689:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.assertTimelineBlockItem=t.isTimelineBlockItem=t.BlockItemTimelineType=void 0;const r=n(2098),i=n(61999),o=n(45234),a=n(71041);t.BlockItemTimelineType=r.Type.Composite([a.BlockItemType,r.Type.Object({date:r.Type.String(),title:r.Type.String(),description:r.Type.String(),media:r.Type.Optional(i.MediaRecordType),settings:r.Type.Optional(i.MediaSettingsType)})]),t.isTimelineBlockItem=(0,o.makeIsFunction)(t.BlockItemTimelineType),t.assertTimelineBlockItem=(0,o.makeAssertFunction)(t.BlockItemTimelineType)},51889:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(71041),t),i(n(36357),t),i(n(56628),t),i(n(15384),t),i(n(28038),t),i(n(82971),t),i(n(64246),t),i(n(58642),t),i(n(85814),t),i(n(8790),t),i(n(88014),t),i(n(50041),t),i(n(93900),t),i(n(80656),t),i(n(82993),t),i(n(21245),t),i(n(38876),t),i(n(55722),t),i(n(74563),t),i(n(85288),t),i(n(36716),t),i(n(76061),t),i(n(49747),t),i(n(47689),t)},46710:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.assertChange=t.isChange=t.ChangeType=t.ChangePathType=t.CommandType=t.UpdateCommandType=void 0;const r=n(2098),i=n(45234);t.UpdateCommandType=r.Type.Object({type:r.Type.Literal("update"),oldValue:r.Type.Unknown(),newValue:r.Type.Unknown()}),t.CommandType=t.UpdateCommandType,t.ChangePathType=r.Type.Array(r.Type.Union([r.Type.String(),r.Type.Record(r.Type.String(),r.Type.Union([r.Type.String(),r.Type.Number()]))])),t.ChangeType=r.Type.Object({id:r.Type.String(),path:t.ChangePathType,proposedAt:r.Type.String(),proposedBy:r.Type.String(),source:r.Type.Optional(r.Type.Union([r.Type.String(),r.Type.Null()])),locale:r.Type.Optional(r.Type.Union([r.Type.String(),r.Type.Null()])),command:t.CommandType}),t.isChange=(0,i.makeIsFunction)(t.ChangeType),t.assertChange=(0,i.makeAssertFunction)(t.ChangeType)},85113:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.assertChangeset=t.isChangeset=t.ChangesetType=void 0;const r=n(2098),i=n(45234),o=n(46710);t.ChangesetType=r.Type.Array(o.ChangeType,{minItems:1}),t.isChangeset=(0,i.makeIsFunction)(t.ChangesetType),t.assertChangeset=(0,i.makeAssertFunction)(t.ChangesetType)},65389:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(46710),t),i(n(85113),t),i(n(82898),t)},82898:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.getCaptionAtPath=t.applyChangeset=t.deconstructPath=void 0;const i=n(32477),o=r(n(64063)),a=n(25422),s=["allowCopy","author","bodyTypefaceId","courseId","createdAt","deleted","duplicatedFromId","experiments","exportSettings","headingTypefaceId","icon","id","isPartnerContentAuthor","jobs","labelSetId","lastImportedXliff","lastUpdatedBy","originalId","partnerContentId","ready","reviewId","selectedAuthorId","shareId","sourceCourseLocaleId","sourceLessonLocaleId","tenantId","transferredAt","type","uiTypefaceId","updatedAt"];function u(e){return"string"==typeof e?void 0:e.id}t.deconstructPath=function(e){const[t]=e;if("course"===t)return{type:"course"};if("lessons"===t){const[,t,n,r]=e,i=u(t);if(null!=i){const t="items"===n?u(r):void 0,o=e.findIndex((e=>"captions"===e));if(-1!==o){const n=u(e[o+1]);if(null!=n)return{type:"caption",lessonId:i,itemId:t,captionId:n.toString()}}return{type:"lesson",lessonId:i,itemId:t}}}return null},t.applyChangeset=function(e,t,n){let r=n;const i=new Array,o=new Array;for(const n of t){const t=c[n.command.type];if(null==t){o.push({change:n,reason:`Command type "${n.command.type}" not supported`});continue}const a=t(e,n,r);switch(a.type){case"accepted":r=a.result,i.push(n);break;case"discarded":o.push({change:n,reason:a.reason})}}return{result:r,accepted:i,discarded:o}};const c={update:function(e,t,n){return l(e,t.path,t.command.newValue,n)}};function l(e,t,n,r){const[i,...a]=t;if(e.length>0)return(0,o.default)(e,t.slice(0,e.length))?l([],t.slice(e.length),n,r):{type:"discarded",reason:"Path does not begin with given prefix"};if(null==i)return{type:"accepted",result:n};if(null==r)return{type:"discarded",reason:`No value at property "${JSON.stringify(i)}"`};if("string"==typeof i){if(s.includes(i))return{type:"discarded",reason:`Property "${i}" is not allowed to be changed`};if("object"!=typeof r||!(i in r))return{type:"discarded",reason:`No value at property "${i}"`};const t=l(e,a,n,r[i]);switch(t.type){case"accepted":return{type:"accepted",result:f(i,t.result,r)};case"discarded":return t}}if(!Array.isArray(r))return{type:"discarded",reason:`Expected array for ref "${JSON.stringify(i)}"`};const u=r.findIndex((e=>d(i,e)));if(-1===u)return{type:"discarded",reason:`Ref "${JSON.stringify(i)}" not found`};const c=l(e,a,n,r[u]);switch(c.type){case"accepted":return{type:"accepted",result:f(u,c.result,r)};case"discarded":return c}}function f(e,t,n){if(Array.isArray(n)){const r=Number(e);if(Number.isInteger(r))return[...n.slice(0,r),t,...n.slice(r+1)]}return{...n,[e]:t}}function d(e,t){return null!=t&&Object.entries(e).every((([e,n])=>t[e]===n))}function p(e,t,n,r){const[a,...s]=n;if(t.length>0)return(0,o.default)(t,n.slice(0,t.length))?p(e,[],n.slice(t.length),r):null;if(null==a)return i.Value.Check(e,r)?r:null;if(null==r)return null;if("string"==typeof a)return p(e,t,s,r[a]);if(!Array.isArray(r))return null;const u=r.findIndex((e=>d(a,e)));return-1===u?null:p(e,t,s,r[u])}t.getCaptionAtPath=function(e,t,n){const r=t.findIndex((e=>"captions"===e));if(-1===r)return null;if(null===u(t[r+1]))return null;const i=t.slice(0,r+2),o=p(a.CaptionType,e,i,n);return null==o?null:{path:i,result:o}}},75612:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),t.RiseContentAssertionError=void 0,i(n(53280),t),i(n(22908),t),i(n(65389),t),i(n(44389),t),i(n(91124),t),i(n(59050),t),i(n(86178),t),i(n(25993),t),i(n(3881),t),i(n(61999),t),i(n(97916),t),i(n(42331),t),i(n(53916),t);var o=n(45234);Object.defineProperty(t,"RiseContentAssertionError",{enumerable:!0,get:function(){return o.RiseContentAssertionError}})},23988:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.assertLesson=t.isLesson=t.LessonType=void 0;const r=n(2098),i=n(61999),o=n(45234);t.LessonType=r.Type.Object({author:r.Type.String(),courseId:r.Type.String(),createdAt:r.Type.Date(),deleted:r.Type.Boolean(),description:r.Type.String(),id:r.Type.Union([r.Type.String(),r.Type.Number()]),items:r.Type.Array(r.Type.Any()),media:r.Type.Record(r.Type.String(),i.MediaAnyType),piles:r.Type.Array(r.Type.Any()),ready:r.Type.Boolean(),title:r.Type.String(),type:r.Type.String(),updatedAt:r.Type.Date(),duplicatedFromId:r.Type.Optional(r.Type.String()),headerImage:r.Type.Optional(i.MediaImageType),icon:r.Type.Optional(r.Type.Union([r.Type.Literal("Article"),r.Type.Literal("Interaction"),r.Type.Literal("Quiz"),r.Type.Literal("Video")])),isPartnerContentAuthor:r.Type.Optional(r.Type.Boolean()),lastUpdatedBy:r.Type.Optional(r.Type.String()),originalId:r.Type.Optional(r.Type.String()),position:r.Type.Optional(r.Type.Integer()),selectedAuthorId:r.Type.Optional(r.Type.String()),transferredAt:r.Type.Optional(r.Type.Date()),sourceLessonLocaleId:r.Type.Optional(r.Type.Union([r.Type.String(),r.Type.Number(),r.Type.Null()]))}),t.isLesson=(0,o.makeIsFunction)(t.LessonType),t.assertLesson=(0,o.makeAssertFunction)(t.LessonType)},45841:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AnyLessonType=void 0;const r=n(2098),i=n(37656),o=n(19211),a=n(60551);t.AnyLessonType=r.Type.Union([i.BlocksLessonType,a.SectionLessonType,o.QuizLessonType])},37656:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.assertBlockLesson=t.isBlockLesson=t.BlocksLessonType=void 0;const r=n(2098),i=n(53280),o=n(45234),a=n(23988);t.BlocksLessonType=r.Type.Composite([a.LessonType,r.Type.Object({type:r.Type.Literal("blocks"),items:r.Type.Array(i.BlockType)})]),t.isBlockLesson=(0,o.makeIsFunction)(t.BlocksLessonType),t.assertBlockLesson=(0,o.makeAssertFunction)(t.BlocksLessonType)},19211:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.assertQuizLesson=t.isQuizLesson=t.QuizLessonType=void 0;const r=n(2098),i=n(78963),o=n(45234),a=n(23988);t.QuizLessonType=r.Type.Composite([a.LessonType,r.Type.Object({type:r.Type.Literal("quiz"),items:r.Type.Array(i.QuizItemAny),settings:r.Type.Object({passingScore:r.Type.Optional(r.Type.Integer()),randomizeQuestionOrder:r.Type.Optional(r.Type.Boolean()),revealAnswers:r.Type.Optional(r.Type.String()),retryCount:r.Type.Optional(r.Type.Integer()),shuffleAnswerChoices:r.Type.Optional(r.Type.Boolean())})})]),t.isQuizLesson=(0,o.makeIsFunction)(t.QuizLessonType),t.assertQuizLesson=(0,o.makeAssertFunction)(t.QuizLessonType)},60551:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.assertSectionLesson=t.isSectionLesson=t.SectionLessonType=void 0;const r=n(2098),i=n(45234),o=n(23988);t.SectionLessonType=r.Type.Composite([o.LessonType,r.Type.Object({type:r.Type.Literal("section")})]),t.isSectionLesson=(0,i.makeIsFunction)(t.SectionLessonType),t.assertSectionLesson=(0,i.makeAssertFunction)(t.SectionLessonType)},3881:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(23988),t),i(n(45841),t),i(n(37656),t),i(n(19211),t),i(n(60551),t)},25422:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CaptionType=void 0;const r=n(2098);t.CaptionType=r.Type.Object({id:r.Type.String(),key:r.Type.String(),code:r.Type.String(),name:r.Type.Optional(r.Type.String()),filename:r.Type.String(),url:r.Type.Optional(r.Type.String())})},84103:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MediaAnyType=void 0;const r=n(2098),i=n(90713),o=n(61988),a=n(80996),s=n(41800),u=n(86433);t.MediaAnyType=r.Type.Union([i.MediaAudioType,o.MediaEmbedType,a.MediaImageType,u.MediaVideoType,s.MediaStorylineType])},90713:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MediaAudioRecordType=t.MediaAudioType=void 0;const r=n(2098);t.MediaAudioType=r.Type.Object({type:r.Type.Literal("audio"),key:r.Type.String(),duration:r.Type.Number({minimum:0}),originalUrl:r.Type.Optional(r.Type.String()),pause:r.Type.Optional(r.Type.Boolean())}),t.MediaAudioRecordType=r.Type.Object({audio:t.MediaAudioType})},61988:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MediaEmbedRecordType=t.MediaEmbedType=void 0;const r=n(2098);t.MediaEmbedType=r.Type.Object({type:r.Type.Literal("embed"),embedType:r.Type.Union([r.Type.Literal("link"),r.Type.Literal("photo"),r.Type.Literal("video"),r.Type.Literal("iframe")]),src:r.Type.String(),originalUrl:r.Type.Optional(r.Type.Union([r.Type.String(),r.Type.Null()])),provider:r.Type.Optional(r.Type.Union([r.Type.String(),r.Type.Null()])),providerUrl:r.Type.Optional(r.Type.Union([r.Type.String(),r.Type.Null()])),thumbnail:r.Type.Optional(r.Type.Union([r.Type.String(),r.Type.Null()])),favicon:r.Type.Optional(r.Type.Union([r.Type.String(),r.Type.Null()])),title:r.Type.Optional(r.Type.Union([r.Type.String(),r.Type.Null()])),description:r.Type.Optional(r.Type.Union([r.Type.String(),r.Type.Null()])),useRelativePath:r.Type.Optional(r.Type.Boolean()),pause:r.Type.Optional(r.Type.Boolean())}),t.MediaEmbedRecordType=r.Type.Object({embed:t.MediaEmbedType})},80996:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MediaImageRecordType=t.MediaImageType=void 0;const r=n(2098),i=r.Type.Object({type:r.Type.Optional(r.Type.Literal("image")),key:r.Type.String(),src:r.Type.Optional(r.Type.String()),thumbnail:r.Type.Optional(r.Type.String()),thumbnailKey:r.Type.Optional(r.Type.String()),originalUrl:r.Type.Optional(r.Type.String()),crushedKey:r.Type.Optional(r.Type.String()),useCrushedKey:r.Type.Optional(r.Type.Boolean()),alt:r.Type.Optional(r.Type.String()),fillWidth:r.Type.Optional(r.Type.Boolean()),align:r.Type.Optional(r.Type.Union([r.Type.Literal("left"),r.Type.Literal("center"),r.Type.Literal("right")]))});t.MediaImageType=r.Type.Composite([i,r.Type.Object({isSquare:r.Type.Optional(r.Type.Boolean()),originalImage:r.Type.Optional(i),dimensions:r.Type.Optional(r.Type.Object({height:r.Type.Integer({minimum:0}),left:r.Type.Integer({minimum:0}),originalHeight:r.Type.Integer({minimum:0}),originalWidth:r.Type.Integer({minimum:0}),top:r.Type.Integer({minimum:0}),width:r.Type.Integer({minimum:0})}))})]),t.MediaImageRecordType=r.Type.Object({image:t.MediaImageType})},87791:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MediaRecordType=void 0;const r=n(2098),i=n(90713),o=n(61988),a=n(80996),s=n(41800),u=n(86433);t.MediaRecordType=r.Type.Partial(r.Type.Composite([i.MediaAudioRecordType,o.MediaEmbedRecordType,a.MediaImageRecordType,s.MediaStorylineRecordType,u.MediaVideoRecordType]))},6914:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MediaSettingsType=void 0;const r=n(2098);t.MediaSettingsType=r.Type.Object({disableZoom:r.Type.Optional(r.Type.Boolean()),fullEmbed:r.Type.Optional(r.Type.Boolean()),showMetaData:r.Type.Optional(r.Type.Boolean())})},41800:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MediaStorylineRecordType=t.MediaStorylineType=void 0;const r=n(2098);t.MediaStorylineType=r.Type.Object({type:r.Type.Literal("storyline"),src:r.Type.String(),title:r.Type.String(),thumbnail:r.Type.Optional(r.Type.String()),processing:r.Type.Optional(r.Type.Boolean()),contentPrefix:r.Type.String(),meta:r.Type.Object({title:r.Type.String(),version:r.Type.String(),course_id:r.Type.String(),thumbnail:r.Type.String(),stage:r.Type.Object({width:r.Type.Number(),height:r.Type.Number()}),player:r.Type.Object({name:r.Type.String(),width:r.Type.Number(),height:r.Type.Number()}),scenes:r.Type.Array(r.Type.Object({title:r.Type.String()})),slides:r.Type.Array(r.Type.Object({id:r.Type.String(),title:r.Type.String(),scene_index:r.Type.String()}))})}),t.MediaStorylineRecordType=r.Type.Object({storyline:t.MediaStorylineType})},86433:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MediaVideoRecordType=t.MediaVideoType=void 0;const r=n(2098),i=n(25422);t.MediaVideoType=r.Type.Object({type:r.Type.Literal("video"),key:r.Type.String(),url:r.Type.String(),poster:r.Type.Optional(r.Type.String()),duration:r.Type.Number({minimum:0}),inputKey:r.Type.String(),thumbnail:r.Type.Optional(r.Type.String()),captionUID:r.Type.Optional(r.Type.String()),originalUrl:r.Type.Optional(r.Type.String()),transcodeId:r.Type.Optional(r.Type.String()),pause:r.Type.Optional(r.Type.Boolean()),captions:r.Type.Optional(r.Type.Array(i.CaptionType))}),t.MediaVideoRecordType=r.Type.Object({video:t.MediaVideoType})},61999:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(25422),t),i(n(84103),t),i(n(90713),t),i(n(61988),t),i(n(80996),t),i(n(87791),t),i(n(6914),t),i(n(41800),t),i(n(86433),t)},66234:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.QuizItemType=t.QuizItemSettingsType=t.QuizItemFeedbackType=t.QuizItemAnswerType=void 0;const r=n(2098),i=n(61999);t.QuizItemAnswerType=r.Type.Object({id:r.Type.Union([r.Type.String(),r.Type.Number()]),title:r.Type.String(),feedback:r.Type.Optional(r.Type.String())}),t.QuizItemFeedbackType=r.Type.Object({feedback:r.Type.Optional(r.Type.String()),feedbackType:r.Type.Optional(r.Type.Union([r.Type.Literal("ANY"),r.Type.Literal("CORRECT_INCORRECT"),r.Type.Literal("CHOICE")])),feedbackCorrect:r.Type.Optional(r.Type.String()),feedbackIncorrect:r.Type.Optional(r.Type.String())}),t.QuizItemSettingsType=r.Type.Object({isCaseSensitive:r.Type.Optional(r.Type.Boolean())}),t.QuizItemType=r.Type.Composite([t.QuizItemFeedbackType,r.Type.Object({id:r.Type.Union([r.Type.String(),r.Type.Number()]),title:r.Type.String(),media:r.Type.Optional(i.MediaRecordType),answers:r.Type.Array(t.QuizItemAnswerType),settings:r.Type.Optional(t.QuizItemSettingsType)})])},78963:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.assertQuizItem=t.isQuizItem=t.QuizItemAny=void 0;const r=n(2098),i=n(45234),o=n(29446),a=n(12701),s=n(78784),u=n(17861),c=n(87233);t.QuizItemAny=r.Type.Union([o.QuizItemFillinType,u.QuizItemMultipleResponseType,s.QuizItemMultipleChoiceType,c.QuizItemQuestionBankType,a.QuizItemMatchingType]),t.isQuizItem=(0,i.makeIsFunction)(t.QuizItemAny),t.assertQuizItem=(0,i.makeAssertFunction)(t.QuizItemAny)},29446:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.assertQuizItemFillin=t.isQuizItemFillin=t.QuizItemFillinType=void 0;const r=n(2098),i=n(45234),o=n(66234);t.QuizItemFillinType=r.Type.Composite([o.QuizItemType,r.Type.Object({type:r.Type.Literal("FILL_IN_THE_BLANK")})]),t.isQuizItemFillin=(0,i.makeIsFunction)(t.QuizItemFillinType),t.assertQuizItemFillin=(0,i.makeAssertFunction)(t.QuizItemFillinType)},12701:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.assertQuizItemMatching=t.isQuizItemMatching=t.QuizItemMatchingType=void 0;const r=n(2098),i=n(45234),o=n(66234);t.QuizItemMatchingType=r.Type.Composite([o.QuizItemType,r.Type.Object({type:r.Type.Literal("MATCHING"),answers:r.Type.Composite([o.QuizItemType.answers,r.Type.Object({matchTitle:r.Type.String()})])})]),t.isQuizItemMatching=(0,i.makeIsFunction)(t.QuizItemMatchingType),t.assertQuizItemMatching=(0,i.makeAssertFunction)(t.QuizItemMatchingType)},78784:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.assertQuizItemMultipleChoice=t.isQuizItemMultipleChoice=t.QuizItemMultipleChoiceType=void 0;const r=n(2098),i=n(45234),o=n(66234);t.QuizItemMultipleChoiceType=r.Type.Composite([o.QuizItemType,r.Type.Object({type:r.Type.Literal("MULTIPLE_CHOICE"),correct:r.Type.String(),corrects:r.Type.Array(r.Type.String(),{minItems:1,maxItems:1})})]),t.isQuizItemMultipleChoice=(0,i.makeIsFunction)(t.QuizItemMultipleChoiceType),t.assertQuizItemMultipleChoice=(0,i.makeAssertFunction)(t.QuizItemMultipleChoiceType)},17861:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.assertQuizItemMultipleResponse=t.isQuizItemMultipleResponse=t.QuizItemMultipleResponseType=void 0;const r=n(2098),i=n(45234),o=n(66234);t.QuizItemMultipleResponseType=r.Type.Composite([o.QuizItemType,r.Type.Object({type:r.Type.Literal("MULTIPLE_RESPONSE"),corrects:r.Type.Array(r.Type.String())})]),t.isQuizItemMultipleResponse=(0,i.makeIsFunction)(t.QuizItemMultipleResponseType),t.assertQuizItemMultipleResponse=(0,i.makeAssertFunction)(t.QuizItemMultipleResponseType)},87233:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.assertQuizItemQuestionBank=t.isQuizItemQuestionBank=t.QuizItemQuestionBankType=void 0;const r=n(2098),i=n(45234),o=n(66234);t.QuizItemQuestionBankType=r.Type.Composite([o.QuizItemType,r.Type.Object({type:r.Type.Literal("DRAW_FROM_QUESTION_BANK"),questionBankId:r.Type.String(),questionBankTitle:r.Type.String(),questionBankUpdatedAt:r.Type.String(),drawCount:r.Type.Number(),questions:r.Type.Array(r.Type.Object({id:r.Type.Union([r.Type.String(),r.Type.Number()]),type:r.Type.Literal("MULTIPLE_CHOICE"),title:r.Type.String(),correct:r.Type.String(),answers:o.QuizItemType.answers}))})]),t.isQuizItemQuestionBank=(0,i.makeIsFunction)(t.QuizItemQuestionBankType),t.assertQuizItemQuestionBank=(0,i.makeAssertFunction)(t.QuizItemQuestionBankType)},42331:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(66234),t),i(n(29446),t),i(n(12701),t),i(n(78784),t),i(n(17861),t),i(n(87233),t)},69117:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},62427:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},48796:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},53916:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(69117),t),i(n(62427),t),i(n(48796),t)},45234:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.makeAssertFunction=t.makeIsFunction=t.RiseContentAssertionError=void 0;const r=n(32477);class i extends AggregateError{}t.RiseContentAssertionError=i,t.makeIsFunction=function(e){return function(t){return r.Value.Check(e,t)}},t.makeAssertFunction=function(e){return function(t){if(!r.Value.Check(e,t))throw new i(r.Value.Errors(e,t))}}},64057:function(e,t,n){var r=n(88635),i=n(93645),o=n(64430);e.exports=i((function(e,t,n){var i={};return function(){for(var a=[],s=arguments.length;s--;)a[s]=arguments[s];return o((function(){var o=t.apply(null,a);return i[o]||(i[o]={},i[o].async=r((function(e,t){Object.assign(i[o],{reject:e,resolve:t})}))),clearTimeout(i[o].timeout),i[o].timeout=setTimeout((function(){var e=i[o],t=e.reject,r=e.resolve;n.apply(null,a).fork(t,r),delete i[o]}),e),i[o].async}))}}))},71066:function(e,t,n){var r=n(88635),i=n(93645),o=n(64430),a=n(12269);e.exports=i((function(e,t,n){var i={},s=function(e){i[e].last=Date.now();var t=i[e],r=t.args,o=t.reject,a=t.resolve;n.apply(null,r).fork(o,a),delete i[e].args,delete i[e].timeout};return function(){for(var n=[],u=arguments.length;u--;)n[u]=arguments[u];return o((function(){var o=t.apply(null,n);i[o]||(i[o]={},i[o].async=r((function(e,t){Object.assign(i[o],{reject:e,resolve:t})}))),i[o].args=n;var u=Date.now()-(i[o].last||0);if(!i[o].timeout){var c=a(0,e-u);i[o].timeout=setTimeout(s.bind(null,o),c)}return i[o].async}))}}))},88635:function(e,t,n){var r=n(67607),i=n(91421),o=n(49761).type("Async"),a=n(49761).typeFn(o(),3),s=n(70911),u=n(64388),c=n(2167),l=n(79025),f=n(89411),d=n(19380),p=n(97798),h=n(48326),g=n(91042),m=n(96774),y=n(32126),v=function(e){return b((function(t,n){return n(e)}))};function b(e){var t;if(!h(e))throw new TypeError("Async: Function required");var n=v,r=function(){return"Async"+i(e)};function u(t,n,r){if(!h(t)||!h(n))throw new TypeError("Async.fork: Reject and resolve functions required");var i=!1,o=!1,a=h(r)?r:f,s=function(e,t){if(!o)return o=!0,i?f():e(t)},u=e(s.bind(null,t),s.bind(null,n)),c=h(u)?u:f;return l((function(){return a((c(),void(i=!0)))}))}function d(e){return function(t){if(!h(t))throw new TypeError("Async."+e+": Function required");return b((function(e,n){return u(e,c(n,t))}))}}function p(e){return function(t,n){if(!h(t)||!h(n))throw new TypeError("Async."+e+": Functions required for both arguments");return b((function(e,r){return u(c(e,t),c(r,n))}))}}function g(e){return function(t){if(!y(b,t))throw new TypeError("Async."+e+": Async required");return b((function(e,n){var r=f,i=f;return r=u((function(){i=t.fork(e,n)}),n),l((function(){return i(r())}))}))}}function m(e){return function(t){if(!h(t))throw new TypeError("Async."+e+": Async returning function required");return b((function(n,r){var i=f,o=f;return i=u(n,(function(i){var a=t(i);if(!y(b,a))throw new TypeError("Async."+e+": Function must return another Async");o=a.fork(n,r)})),l((function(){return o(i())}))}))}}return(t={fork:u,toPromise:function(){return new Promise((function(e,t){u(t,e)}))},inspect:r,toString:r,type:o,swap:function(e,t){if(!h(e)||!h(t))throw new TypeError("Async.swap: Functions required for both arguments");return b((function(n,r){return u(c(r,e),c(n,t))}))},race:function(e){if(!y(b,e))throw new TypeError("Async.race: Async required");return b((function(t,n){var r=l((function(e,r){return e?n(r):t(r)})),i=r.bind(null,!0),o=r.bind(null,!1),a=u(o,i),s=e.fork(o,i);return function(){a(),s()}}))},coalesce:function(e,t){if(!h(e)||!h(t))throw new TypeError("Async.coalesce: Functions required for both arguments");return b((function(n,r){return u(c(r,e),c(r,t))}))},ap:function(e){if(!y(b,e))throw new TypeError("Async.ap: Async required");return b((function(t,n){var r=null,i=null,o=!1,a=!1,s=!1,f=l(t);function d(){!s&&o&&a&&c(n,r)(i)}var p=u(f,(function(e){if(!h(e))throw new TypeError("Async.ap: Wrapped value must be a function");o=!0,r=e,d()})),g=e.fork(f,(function(e){a=!0,i=e,d()}));return function(){p(),g(),s=!0}}))},of:n,alt:g("alt"),bimap:p("bimap"),map:d("map"),chain:m("chain")})[s.of]=n,t[s.alt]=g(s.alt),t[s.bimap]=p(s.bimap),t[s.map]=d(s.map),t[s.chain]=m(s.chain),t["@@type"]=a,t.constructor=b,t}b.of=v,b.type=o,b[s.of]=v,b["@@type"]=a,b.Rejected=function(e){return b((function(t){return t(e)}))},b.Resolved=v,b.fromPromise=function(e){if(!h(e))throw new TypeError("Async.fromPromise: Promise returning function required");return function(){var t=arguments;return b((function(n,r){var i=e.apply(null,t);if(!m(i))throw new TypeError("Async.fromPromise: Promise returning function required");i.then(r).catch(n)}))}},b.fromNode=function(e,t){if(!h(e))throw new TypeError("Async.fromNode: CPS function required");return function(){for(var n=[],r=arguments.length;r--;)n[r]=arguments[r];return b((function(r,i){e.apply(t,n.concat((function(e,t){return e?r(e):i(t)})))}))}},b.all=function(e){if(!p(e)||!e.reduce((function(e,t){return e&&y(b,t)}),!0))throw new TypeError("Async.all: Foldable structure of Asyncs required");return d(e)?u.sequence(b.of,e):e.sequence(b.of)},b.rejectAfter=function(e,t){if(!(g(e)&&e>=0))throw new TypeError("Async.rejectAfter: Positive Integer required for first argument");return b((function(n){var r=setTimeout((function(){n(t)}),e);return function(){clearTimeout(r)}}))},b.resolveAfter=function(e,t){if(!(g(e)&&e>=0))throw new TypeError("Async.resolveAfter: Positive Integer required for first argument");return b((function(n,r){var i=setTimeout((function(){r(t)}),e);return function(){clearTimeout(i)}}))},b["@@implements"]=r(["alt","ap","bimap","chain","map","of"]),e.exports=b},64430:function(e,t,n){var r=n(67607),i=n(91421),o=n(49761).type("IO"),a=n(49761).typeFn(o(),2),s=n(70911),u=n(2167),c=n(48326),l=n(32126),f=function(e){return d((function(){return e}))};function d(e){var t;if(!c(e))throw new TypeError("IO: Must wrap a function");var n=f,r=function(){return"IO"+i(e)};function p(t){return function(n){if(!c(n))throw new TypeError("IO."+t+": Function required");return d(u(n,e))}}function h(t){return function(n){if(!c(n))throw new TypeError("IO."+t+": Function required");return d((function(){var r=n(e());if(!l(d,r))throw new TypeError("IO."+t+": Function must return an IO");return r.run()}))}}return(t={inspect:r,toString:r,run:e,type:o,ap:function(t){if(!l(d,t))throw new TypeError("IO.ap: IO required");return d((function(){var n=e();if(!c(n))throw new TypeError("IO.ap: Wrapped value must be a function");return t.map(n).run()}))},of:n,map:p("map"),chain:h("chain")})[s.of]=n,t[s.map]=p(s.map),t[s.chain]=h(s.chain),t["@@type"]=a,t.constructor=d,t}d.of=f,d.type=o,d[s.of]=f,d["@@type"]=a,d["@@implements"]=r(["ap","chain","map","of"]),e.exports=d},89411:function(e){e.exports=Function.prototype},31646:function(e,t,n){var r=n(67158),i=n(60060);e.exports=function(e){return function(t){return r(e)?e.of(t):i(Array,e)?[t]:e(t)}}},64388:function(e,t,n){var r=n(86827),i=n(19380),o=n(30191),a=n(48326),s=n(32126),u=n(33748),c=n(31646),l=function(e){return e},f=function(e){return function(t){return e.concat(t)}};function d(e,t){return function(n,o){var a=t(o);if(!r(n)&&!i(n)||!s(n,a))throw new TypeError("Array."+e+": Must wrap Applys of the same type");return i(a)?h(n,p((function(e){return f([e])}),a)):a.map((function(e){return f([e])})).ap(n)}}var p=function(e,t){return t.map((function(t){return e(t)}))};function h(e,t){if(!t.length||!t.reduce((function(e,t){return e&&a(t)}),!0))throw new TypeError("Array.ap: Second Array must all be functions");return t.reduce((function(t,n){return t.concat(p(n,e))}),[])}e.exports={ap:h,chain:function(e,t){return t.reduce((function(t,n){var r=e(n);if(!i(r))throw new TypeError("Array.chain: Function must return an Array");return t.concat(r)}),[])},fold:function(e){if(o(e))throw new TypeError("Array.fold: Non-empty Array of Semigroups required");var t=e[0];if(!u(t))throw new TypeError("Array.fold: Must contain Semigroups of the same type");return e.reduce((function(e,t){if(!s(e,t))throw new TypeError("Array.fold: Must contain Semigroups of the same type");return e.concat(t)}))},foldMap:function(e,t){if(o(t))throw new TypeError("Array.foldMap: Non-empty Array required");var n=e(t[0]);if(!u(n))throw new TypeError("Array.foldMap: Provided function must return Semigroups of the same type");return 1===t.length?n:t.slice(1).reduce((function(t,n){var r=e(n);if(!s(t,r)||!u(r))throw new TypeError("Array.foldMap: Provided function must return Semigroups of the same type");return t.concat(r)}),n)},map:p,sequence:function(e,t){var n=c(e);return t.reduceRight(d("sequence",l),n([]))},traverse:function(e,t,n){var r=c(e);return n.reduceRight(d("traverse",t),r([]))}}},2167:function(e){e.exports=function(e,t){return function(n){return e(t(n))}}},37989:function(e,t,n){var r=n(48326);function i(e,t){return r(e)?e.length>1?e.bind(null,t):e.call(null,t):e}e.exports=function e(t){return function(){for(var n=[],o=arguments.length;o--;)n[o]=arguments[o];var a=n.length?n:[void 0];if(a.length<t.length)return e(Function.bind.apply(t,[null].concat(a)));var s=a.length===t.length?t.apply(null,a):a.reduce(i,t);return r(s)?e(s):s}}},70911:function(e){e.exports={alt:"fantasy-land/alt",bimap:"fantasy-land/bimap",chain:"fantasy-land/chain",compose:"fantasy-land/compose",concat:"fantasy-land/concat",contramap:"fantasy-land/contramap",empty:"fantasy-land/empty",equals:"fantasy-land/equals",extend:"fantasy-land/extend",id:"fantasy-land/id",map:"fantasy-land/map",of:"fantasy-land/of",promap:"fantasy-land/promap",reduce:"fantasy-land/reduce",zero:"fantasy-land/zero"}},33333:function(e,t,n){var r=n(48326),i=n(70911);e.exports=function(e,t){return!!t&&(function(e,t){return r(t[i[e]])||r(t[e])}(e,t)||function(e,t){return r(t["@@implements"])&&!!t["@@implements"](e)}(e,t))}},67607:function(e){e.exports=function(e){return function(t){return-1!==e.indexOf(t)}}},91421:function(e,t,n){var r=n(19380),i=n(48326),o=n(22323),a=n(47071),s=n(77136);function u(e){return e&&i(e.inspect)?" "+e.inspect():i(e)?" Function":r(e)?" ["+(((t=e).length?t.map(u).reduce((function(e,t){return e+","+t})):t)+" ]"):o(e)?" { "+Object.keys(e).reduce((function(t,n){return t.concat([n+":"+u(e[n])])}),[]).join(", ")+" }":a(e)?' "'+e+'"':s(e)?" "+e.toString():" "+e;var t}e.exports=u},67158:function(e,t,n){var r=n(33333),i=n(86827);e.exports=function(e){return i(e)&&(r("of",e)||r("of",e.constructor))}},86827:function(e,t,n){var r=n(33333),i=n(99574);e.exports=function(e){return i(e)&&r("ap",e)}},19380:function(e){e.exports=function(e){return Array.isArray(e)}},30191:function(e,t,n){var r=n(22323);e.exports=function(e){return r(e)?!Object.keys(e).length:!e||void 0===e.length||!e.length}},97798:function(e,t,n){var r=n(33333);e.exports=function(e){return!!e&&r("reduce",e)}},48326:function(e){e.exports=function(e){return"function"==typeof e}},99574:function(e,t,n){var r=n(33333);e.exports=function(e){return!!e&&r("map",e)}},91042:function(e,t,n){var r=n(29241);e.exports=function(e){return r(e)&&isFinite(e)&&Math.floor(e)===e}},29241:function(e){e.exports=function(e){return"number"==typeof e&&!isNaN(e)}},22323:function(e){var t=Object.prototype.toString;e.exports=function(e){return!!e&&"[object Object]"===t.call(e)}},96774:function(e,t,n){var r=n(48326);e.exports=function(e){return!!e&&r(e.then)&&r(e.catch)}},32126:function(e,t,n){var r=n(37989),i=n(48326),o=n(21223);e.exports=r((function(e,t){var n=o(e),r=o(t);return n===r||i(e)&&e.name===r||i(t)&&t.name===n}))},33748:function(e,t,n){var r=n(47071),i=n(33333);e.exports=function(e){return r(e)||!!e&&i("concat",e)}},47071:function(e){e.exports=function(e){return"string"==typeof e}},77136:function(e){e.exports=function(e){return"symbol"==typeof e}},60060:function(e,t,n){var r=n(48326);e.exports=function(e,t){return r(t)&&(e===t||e.name===t.name)}},79025:function(e){e.exports=function(e){var t,n;return function(){return t||(t=!0,n=e.apply(null,arguments)),n}}},21223:function(e,t,n){var r=n(48326);e.exports=function(e){return e&&r(e.type)?e.type():{}.toString.call(e).slice(8,-1)}},49761:function(e){var t={unk:function(){return"unknown"},All:function(){return"All"},Any:function(){return"Any"},Arrow:function(){return"Arrow"},Assign:function(){return"Assign"},Async:function(){return"Async"},Const:function(){return"Const"},Either:function(){return"Either"},Endo:function(){return"Endo"},Equiv:function(){return"Equiv"},First:function(){return"First"},Identity:function(){return"Identity"},IO:function(){return"IO"},Last:function(){return"Last"},List:function(){return"List"},Max:function(){return"Max"},Maybe:function(){return"Maybe"},Min:function(){return"Min"},Pair:function(){return"Pair"},Pred:function(){return"Pred"},Prod:function(){return"Prod"},Reader:function(){return"Reader"},Result:function(){return"Result"},Star:function(){return"Star"},State:function(){return"State"},Sum:function(){return"Sum"},Tuple:function(e){return e+"-Tuple"},Unit:function(){return"Unit"},Writer:function(){return"Writer"}},n=function(e){return t[e]||t.unk};e.exports={proxy:function(e){return{type:n(e)}},type:n,typeFn:function(e,t,r){return"crocks/"+n(e)(r)+"@"+(t||0)}}},93645:function(e,t,n){var r=n(66747),i=n(90061),o=r((function(e){return i(e.length,e)}));e.exports=o},90061:function(e,t,n){var r=n(53998),i=n(66747),o=n(45018),a=n(70267),s=o((function(e,t){return 1===e?i(t):r(e,a(e,[],t))}));e.exports=s},53998:function(e){e.exports=function(e,t){switch(e){case 0:return function(){return t.apply(this,arguments)};case 1:return function(e){return t.apply(this,arguments)};case 2:return function(e,n){return t.apply(this,arguments)};case 3:return function(e,n,r){return t.apply(this,arguments)};case 4:return function(e,n,r,i){return t.apply(this,arguments)};case 5:return function(e,n,r,i,o){return t.apply(this,arguments)};case 6:return function(e,n,r,i,o,a){return t.apply(this,arguments)};case 7:return function(e,n,r,i,o,a,s){return t.apply(this,arguments)};case 8:return function(e,n,r,i,o,a,s,u){return t.apply(this,arguments)};case 9:return function(e,n,r,i,o,a,s,u,c){return t.apply(this,arguments)};case 10:return function(e,n,r,i,o,a,s,u,c,l){return t.apply(this,arguments)};default:throw new Error("First argument to _arity must be a non-negative integer no greater than ten")}}},66747:function(e,t,n){var r=n(79178);e.exports=function(e){return function t(n){return 0===arguments.length||r(n)?t:e.apply(this,arguments)}}},45018:function(e,t,n){var r=n(66747),i=n(79178);e.exports=function(e){return function t(n,o){switch(arguments.length){case 0:return t;case 1:return i(n)?t:r((function(t){return e(n,t)}));default:return i(n)&&i(o)?t:i(n)?r((function(t){return e(t,o)})):i(o)?r((function(t){return e(n,t)})):e(n,o)}}}},70267:function(e,t,n){var r=n(53998),i=n(79178);e.exports=function e(t,n,o){return function(){for(var a=[],s=0,u=t,c=0;c<n.length||s<arguments.length;){var l;c<n.length&&(!i(n[c])||s>=arguments.length)?l=n[c]:(l=arguments[s],s+=1),a[c]=l,i(l)||(u-=1),c+=1}return u<=0?o.apply(this,a):r(u,e(t,a,o))}}},79178:function(e){e.exports=function(e){return null!=e&&"object"==typeof e&&!0===e["@@functional/placeholder"]}},12269:function(e,t,n){var r=n(45018)((function(e,t){return t>e?t:e}));e.exports=r},52512:function(e,t,n){var r=n(80988);e.exports=r},98998:function(e,t,n){var r=n(59092);e.exports=r},64272:function(e,t,n){var r=n(533);e.exports=r},72584:function(e,t,n){var r=n(38006);e.exports=r},65451:function(e,t,n){var r=n(77234);e.exports=r},19214:function(e,t,n){var r=n(18234);e.exports=r},18668:function(e,t,n){var r=n(21527);e.exports=r},52973:function(e,t,n){var r=n(12702);e.exports=r},27092:function(e,t,n){var r=n(56053);e.exports=r},74040:function(e,t,n){var r=n(42690);e.exports=r},25029:function(e,t,n){var r=n(97318);e.exports=r},14622:function(e,t,n){var r=n(46545);e.exports=r},85332:function(e,t,n){var r=n(1597);e.exports=r},95268:function(e,t,n){var r=n(76788);e.exports=r},26632:function(e,t,n){var r=n(58015);e.exports=r},83140:function(e,t,n){var r=n(10320);e.exports=r},76094:function(e,t,n){var r=n(11787);e.exports=r},60315:function(e,t,n){var r=n(69213);e.exports=r},53605:function(e,t,n){var r=n(844);e.exports=r},42208:function(e,t,n){var r=n(65012);e.exports=r},46686:function(e,t,n){var r=n(60073);e.exports=r},54827:function(e,t,n){var r=n(20996);e.exports=r},83268:function(e,t,n){var r=n(87935);e.exports=r},77109:function(e,t,n){var r=n(13437);e.exports=r},1779:function(e,t,n){var r=n(55085);e.exports=r},79814:function(e,t,n){var r=n(91156);e.exports=r},15443:function(e,t,n){var r=n(96256);e.exports=r},46207:function(e,t,n){var r=n(4817);e.exports=r},57897:function(e,t,n){var r=n(39795);e.exports=r},36168:function(e,t,n){var r=n(112);e.exports=r},13262:function(e,t,n){var r=n(62586);e.exports=r},96264:function(e,t,n){var r=n(67837);e.exports=r},6764:function(e,t,n){var r=n(70216);e.exports=r},51308:function(e,t,n){var r=n(77426);e.exports=r},31826:function(e,t,n){var r=n(94998);e.exports=r},74037:function(e,t,n){var r=n(21845);e.exports=r},8434:function(e,t,n){var r=n(89281);e.exports=r},14286:function(e,t,n){var r=n(63353);e.exports=r},24430:function(e,t,n){var r=n(41930);e.exports=r},39384:function(e,t,n){var r=n(18350);e.exports=r},39701:function(e,t,n){var r=n(35802);e.exports=r},73363:function(e,t,n){var r=n(52102);e.exports=r},70446:function(e,t,n){var r=n(24033);e.exports=r},16929:function(e,t,n){var r=n(75049);e.exports=r},23809:function(e,t,n){var r=n(63802);e.exports=r},79574:function(e,t,n){var r=n(12998);e.exports=r},51112:function(e,t,n){var r=n(43296);e.exports=r},44671:function(e,t,n){var r=n(86272);e.exports=r},85857:function(e,t,n){var r=n(86775);n(52711),n(29097),n(73225),n(45392),n(71638),n(53933),n(21366),e.exports=r},8655:function(e,t,n){var r=n(36866);n(20795),e.exports=r},65845:function(e,t,n){var r=n(17276);e.exports=r},51386:function(e,t,n){var r=n(97698);e.exports=r},27847:function(e,t,n){var r=n(41314);e.exports=r},71155:function(e,t,n){var r=n(34883);e.exports=r},7618:function(e,t,n){var r=n(78212);e.exports=r},89508:function(e,t,n){n(70185),n(34521);var r=n(5058);e.exports=r.Array.from},10197:function(e,t,n){n(81847);var r=n(5058);e.exports=r.Array.isArray},37595:function(e,t,n){n(79398);var r=n(80003);e.exports=r("Array").concat},53199:function(e,t,n){n(30963),n(30277);var r=n(80003);e.exports=r("Array").entries},26375:function(e,t,n){n(99632);var r=n(80003);e.exports=r("Array").fill},4572:function(e,t,n){n(38215);var r=n(80003);e.exports=r("Array").filter},1955:function(e,t,n){n(11688);var r=n(80003);e.exports=r("Array").findIndex},99449:function(e,t,n){n(79435);var r=n(80003);e.exports=r("Array").find},36906:function(e,t,n){n(82356);var r=n(80003);e.exports=r("Array").forEach},6051:function(e,t,n){n(93455);var r=n(80003);e.exports=r("Array").includes},77874:function(e,t,n){n(25749);var r=n(80003);e.exports=r("Array").indexOf},41297:function(e,t,n){n(30963),n(30277);var r=n(80003);e.exports=r("Array").keys},17166:function(e,t,n){n(94889);var r=n(80003);e.exports=r("Array").map},54237:function(e,t,n){n(11229);var r=n(80003);e.exports=r("Array").reverse},45173:function(e,t,n){n(1859);var r=n(80003);e.exports=r("Array").slice},26454:function(e,t,n){n(76237);var r=n(80003);e.exports=r("Array").sort},82157:function(e,t,n){n(30963),n(30277);var r=n(80003);e.exports=r("Array").values},64362:function(e,t,n){n(98039);var r=n(80003);e.exports=r("Function").bind},60047:function(e,t,n){n(30963),n(70185);var r=n(4187);e.exports=r},23009:function(e,t,n){n(67399),e.exports=n(82202)},78894:function(e,t,n){var r=n(41535),i=n(64362),o=Function.prototype;e.exports=function(e){var t=e.bind;return e===o||r(o,e)&&t===o.bind?i:t}},15473:function(e,t,n){var r=n(41535),i=n(37595),o=Array.prototype;e.exports=function(e){var t=e.concat;return e===o||r(o,e)&&t===o.concat?i:t}},90488:function(e,t,n){var r=n(41535),i=n(69782),o=String.prototype;e.exports=function(e){var t=e.endsWith;return"string"==typeof e||e===o||r(o,e)&&t===o.endsWith?i:t}},42774:function(e,t,n){var r=n(41535),i=n(26375),o=Array.prototype;e.exports=function(e){var t=e.fill;return e===o||r(o,e)&&t===o.fill?i:t}},74760:function(e,t,n){var r=n(41535),i=n(4572),o=Array.prototype;e.exports=function(e){var t=e.filter;return e===o||r(o,e)&&t===o.filter?i:t}},91093:function(e,t,n){var r=n(41535),i=n(1955),o=Array.prototype;e.exports=function(e){var t=e.findIndex;return e===o||r(o,e)&&t===o.findIndex?i:t}},52246:function(e,t,n){var r=n(41535),i=n(99449),o=Array.prototype;e.exports=function(e){var t=e.find;return e===o||r(o,e)&&t===o.find?i:t}},23163:function(e,t,n){var r=n(41535),i=n(6051),o=n(76200),a=Array.prototype,s=String.prototype;e.exports=function(e){var t=e.includes;return e===a||r(a,e)&&t===a.includes?i:"string"==typeof e||e===s||r(s,e)&&t===s.includes?o:t}},97993:function(e,t,n){var r=n(41535),i=n(77874),o=Array.prototype;e.exports=function(e){var t=e.indexOf;return e===o||r(o,e)&&t===o.indexOf?i:t}},51597:function(e,t,n){var r=n(41535),i=n(17166),o=Array.prototype;e.exports=function(e){var t=e.map;return e===o||r(o,e)&&t===o.map?i:t}},27893:function(e,t,n){var r=n(41535),i=n(84364),o=String.prototype;e.exports=function(e){var t=e.padStart;return"string"==typeof e||e===o||r(o,e)&&t===o.padStart?i:t}},77276:function(e,t,n){var r=n(41535),i=n(54237),o=Array.prototype;e.exports=function(e){var t=e.reverse;return e===o||r(o,e)&&t===o.reverse?i:t}},12066:function(e,t,n){var r=n(41535),i=n(45173),o=Array.prototype;e.exports=function(e){var t=e.slice;return e===o||r(o,e)&&t===o.slice?i:t}},19721:function(e,t,n){var r=n(41535),i=n(26454),o=Array.prototype;e.exports=function(e){var t=e.sort;return e===o||r(o,e)&&t===o.sort?i:t}},5783:function(e,t,n){var r=n(41535),i=n(88932),o=String.prototype;e.exports=function(e){var t=e.startsWith;return"string"==typeof e||e===o||r(o,e)&&t===o.startsWith?i:t}},27866:function(e,t,n){var r=n(41535),i=n(17227),o=String.prototype;e.exports=function(e){var t=e.trim;return"string"==typeof e||e===o||r(o,e)&&t===o.trim?i:t}},68563:function(e,t,n){n(19737);var r=n(5058),i=n(26477);r.JSON||(r.JSON={stringify:JSON.stringify}),e.exports=function(e,t,n){return i(r.JSON.stringify,null,arguments)}},72627:function(e,t,n){n(30963),n(12297),n(30277),n(70185);var r=n(5058);e.exports=r.Map},3456:function(e,t,n){n(8544);var r=n(5058);e.exports=r.Math.cbrt},55727:function(e,t,n){n(63041);var r=n(5058);e.exports=r.Math.log10},83070:function(e,t,n){n(83560);var r=n(5058);e.exports=r.Math.sign},54358:function(e,t,n){n(39467);var r=n(5058);e.exports=r.Number.isInteger},89345:function(e,t,n){n(504);var r=n(5058);e.exports=r.Number.isNaN},65028:function(e,t,n){n(99421),e.exports=9007199254740991},10273:function(e,t,n){n(64564);var r=n(5058);e.exports=r.Object.assign},19999:function(e,t,n){n(13365);var r=n(5058).Object;e.exports=function(e,t){return r.create(e,t)}},14116:function(e,t,n){n(42883);var r=n(5058).Object,i=e.exports=function(e,t,n){return r.defineProperty(e,t,n)};r.defineProperty.sham&&(i.sham=!0)},70060:function(e,t,n){n(74152);var r=n(5058);e.exports=r.Object.entries},24573:function(e,t,n){n(18909);var r=n(5058).Object,i=e.exports=function(e,t){return r.getOwnPropertyDescriptor(e,t)};r.getOwnPropertyDescriptor.sham&&(i.sham=!0)},33298:function(e,t,n){n(51690);var r=n(5058);e.exports=r.Object.getOwnPropertyDescriptors},68561:function(e,t,n){n(21006);var r=n(5058);e.exports=r.Object.getOwnPropertySymbols},69304:function(e,t,n){n(22569);var r=n(5058);e.exports=r.Object.getPrototypeOf},50688:function(e,t,n){n(93424);var r=n(5058);e.exports=r.Object.is},84802:function(e,t,n){n(44261);var r=n(5058);e.exports=r.Object.keys},76929:function(e,t,n){n(9652);var r=n(5058);e.exports=r.Object.setPrototypeOf},46660:function(e,t,n){n(76818);var r=n(5058);e.exports=r.Object.values},15716:function(e,t,n){n(72750),n(30963),n(30277),n(57491),n(49230),n(33978),n(39952),n(70185);var r=n(5058);e.exports=r.Promise},27313:function(e,t,n){n(24679);var r=n(5058);e.exports=r.Reflect.construct},78284:function(e,t,n){n(22382);var r=n(5058);e.exports=r.Reflect.get},70284:function(e,t,n){n(30963),n(30277),n(1753),n(70185);var r=n(5058);e.exports=r.Set},69782:function(e,t,n){n(28107);var r=n(80003);e.exports=r("String").endsWith},76200:function(e,t,n){n(2126);var r=n(80003);e.exports=r("String").includes},84364:function(e,t,n){n(28051);var r=n(80003);e.exports=r("String").padStart},88932:function(e,t,n){n(914);var r=n(80003);e.exports=r("String").startsWith},17227:function(e,t,n){n(77485);var r=n(80003);e.exports=r("String").trim},49457:function(e,t,n){n(79398),n(30277),n(21006),n(63112),n(42019),n(24435),n(93427),n(42526),n(3314),n(25202),n(46916),n(19206),n(28458),n(43743),n(1283),n(17294),n(26287),n(78655),n(15913),n(77014);var r=n(5058);e.exports=r.Symbol},71080:function(e,t,n){n(30963),n(30277),n(70185),n(42526);var r=n(88239);e.exports=r.f("iterator")},8025:function(e,t,n){n(14109),n(1283);var r=n(88239);e.exports=r.f("toPrimitive")},37836:function(e,t,n){n(30963),n(30277),n(40140);var r=n(5058);e.exports=r.WeakMap},51714:function(e,t,n){e.exports=n(92275)},25122:function(e,t,n){e.exports=n(90022)},78458:function(e,t,n){e.exports=n(13078)},34153:function(e,t,n){e.exports=n(71686)},65600:function(e,t,n){e.exports=n(13265)},28266:function(e,t,n){e.exports=n(11864)},44399:function(e,t,n){e.exports=n(38413)},39367:function(e,t,n){e.exports=n(65453)},22005:function(e,t,n){e.exports=n(9827)},34748:function(e,t,n){e.exports=n(8729)},83696:function(e,t,n){e.exports=n(58485)},76516:function(e,t,n){e.exports=n(9459)},56368:function(e,t,n){e.exports=n(58254)},93739:function(e,t,n){e.exports=n(22593)},89151:function(e,t,n){e.exports=n(65020)},17654:function(e,t,n){e.exports=n(71359)},57762:function(e,t,n){e.exports=n(63623)},81004:function(e,t,n){e.exports=n(78163)},13885:function(e,t,n){e.exports=n(49862)},89329:function(e,t,n){e.exports=n(35638)},38755:function(e,t,n){e.exports=n(28346)},55781:function(e,t,n){e.exports=n(95088)},53185:function(e,t,n){e.exports=n(35690)},88235:function(e,t,n){e.exports=n(82863)},59829:function(e,t,n){e.exports=n(13373)},65560:function(e,t,n){e.exports=n(65820)},41047:function(e,t,n){e.exports=n(98220)},40911:function(e,t,n){e.exports=n(86681)},85655:function(e,t,n){e.exports=n(93805)},23482:function(e,t,n){e.exports=n(56305)},87034:function(e,t,n){e.exports=n(45828)},83734:function(e,t,n){e.exports=n(86243)},20711:function(e,t,n){e.exports=n(20177)},86488:function(e,t,n){e.exports=n(91733)},8827:function(e,t,n){e.exports=n(69953)},56581:function(e,t,n){e.exports=n(49959)},41633:function(e,t,n){e.exports=n(20199)},20344:function(e,t,n){e.exports=n(94269)},48909:function(e,t,n){e.exports=n(10603)},6258:function(e,t,n){e.exports=n(68248)},57602:function(e,t,n){e.exports=n(43630)},11024:function(e,t,n){e.exports=n(84735)},44705:function(e,t,n){e.exports=n(88511)},12232:function(e,t,n){e.exports=n(49769)},44565:function(e,t,n){e.exports=n(77201)},73637:function(e,t,n){e.exports=n(11738)},80407:function(e,t,n){e.exports=n(20459)},19502:function(e,t,n){e.exports=n(25793)},63969:function(e,t,n){e.exports=n(31373)},21085:function(e,t,n){e.exports=n(22041)},21277:function(e,t,n){e.exports=n(78149)},90007:function(e,t,n){e.exports=n(43760)},34976:function(e,t,n){e.exports=n(21929)},41680:function(e,t,n){e.exports=n(16571)},95214:function(e,t,n){e.exports=n(23001)},92275:function(e,t,n){var r=n(52512);e.exports=r},90022:function(e,t,n){var r=n(98998);e.exports=r},13078:function(e,t,n){var r=n(64272);e.exports=r},71686:function(e,t,n){n(24031);var r=n(72584);e.exports=r},13265:function(e,t,n){var r=n(65451);e.exports=r},11864:function(e,t,n){var r=n(19214);e.exports=r},38413:function(e,t,n){var r=n(18668);e.exports=r},65453:function(e,t,n){var r=n(52973);e.exports=r},9827:function(e,t,n){var r=n(27092);e.exports=r},8729:function(e,t,n){var r=n(74040);e.exports=r},58485:function(e,t,n){var r=n(25029);e.exports=r},9459:function(e,t,n){var r=n(14622);e.exports=r},58254:function(e,t,n){var r=n(85332);e.exports=r},22593:function(e,t,n){var r=n(95268);e.exports=r},65020:function(e,t,n){var r=n(26632);e.exports=r},71359:function(e,t,n){var r=n(83140);e.exports=r},63623:function(e,t,n){var r=n(76094);e.exports=r},78163:function(e,t,n){var r=n(60315);e.exports=r},49862:function(e,t,n){var r=n(53605);e.exports=r},35638:function(e,t,n){var r=n(42208);e.exports=r},28346:function(e,t,n){var r=n(46686);e.exports=r},95088:function(e,t,n){var r=n(54827);e.exports=r},35690:function(e,t,n){var r=n(83268);e.exports=r},82863:function(e,t,n){var r=n(77109);e.exports=r},13373:function(e,t,n){var r=n(1779);e.exports=r},65820:function(e,t,n){var r=n(79814);n(45952),n(78043),n(17017),n(85967),n(16005),n(3556),n(81582),n(72910),n(33709),n(22547),n(97803),n(53014),n(91688),n(26346),n(49459),n(15851),n(93434),n(88415),n(49663),n(59405),e.exports=r},98220:function(e,t,n){var r=n(15443);e.exports=r},86681:function(e,t,n){var r=n(46207);e.exports=r},93805:function(e,t,n){var r=n(57897);e.exports=r},56305:function(e,t,n){var r=n(36168);e.exports=r},45828:function(e,t,n){var r=n(13262);e.exports=r},86243:function(e,t,n){var r=n(96264);e.exports=r},20177:function(e,t,n){var r=n(6764);e.exports=r},91733:function(e,t,n){var r=n(51308);e.exports=r},69953:function(e,t,n){var r=n(31826);e.exports=r},49959:function(e,t,n){var r=n(74037);e.exports=r},20199:function(e,t,n){var r=n(8434);e.exports=r},94269:function(e,t,n){var r=n(14286);e.exports=r},10603:function(e,t,n){var r=n(24430);e.exports=r},68248:function(e,t,n){var r=n(39384);e.exports=r},43630:function(e,t,n){var r=n(39701);e.exports=r},84735:function(e,t,n){var r=n(73363);e.exports=r},88511:function(e,t,n){var r=n(70446);e.exports=r},49769:function(e,t,n){var r=n(16929);e.exports=r},77201:function(e,t,n){var r=n(23809);n(33239),n(82564),n(25361),n(94781),e.exports=r},11738:function(e,t,n){var r=n(79574);e.exports=r},20459:function(e,t,n){var r=n(51112);e.exports=r},25793:function(e,t,n){var r=n(44671);e.exports=r},31373:function(e,t,n){var r=n(85857);n(84170),n(62808),n(82745),n(84070),n(25277),n(34943),n(28404),n(40269),n(91239),n(53180),n(85405),n(81090),n(70146),n(1240),n(80734),n(21946),n(20985),n(76035),e.exports=r},22041:function(e,t,n){var r=n(8655);n(34419),n(54596),n(44505),n(57049),n(29545),n(72481),n(52208),e.exports=r},78149:function(e,t,n){var r=n(65845);e.exports=r},43760:function(e,t,n){var r=n(51386);e.exports=r},21929:function(e,t,n){var r=n(27847);e.exports=r},16571:function(e,t,n){var r=n(71155);e.exports=r},23001:function(e,t,n){var r=n(7618);n(70185),n(33976),n(58959),n(63037),n(38894),n(4762),e.exports=r},86148:function(e,t,n){var r=n(16615),i=n(37254),o=TypeError;e.exports=function(e){if(r(e))return e;throw o(i(e)+" is not a function")}},31413:function(e,t,n){var r=n(68630),i=n(37254),o=TypeError;e.exports=function(e){if(r(e))return e;throw o(i(e)+" is not a constructor")}},7655:function(e,t,n){var r=n(37254);e.exports=function(e){if("object"==typeof e&&"size"in e&&"has"in e&&"get"in e&&"set"in e&&"delete"in e&&"entries"in e)return e;throw TypeError(r(e)+" is not a map")}},65838:function(e,t,n){var r=n(16615),i=String,o=TypeError;e.exports=function(e){if("object"==typeof e||r(e))return e;throw o("Can't set "+i(e)+" as a prototype")}},20902:function(e,t,n){var r=n(37254);e.exports=function(e){if("object"==typeof e&&"size"in e&&"has"in e&&"add"in e&&"delete"in e&&"keys"in e)return e;throw TypeError(r(e)+" is not a set")}},82271:function(e,t,n){var r=n(37254);e.exports=function(e){if("object"==typeof e&&"has"in e&&"get"in e&&"set"in e)return e;throw TypeError(r(e)+" is not a weakmap")}},7272:function(e){e.exports=function(){}},77423:function(e,t,n){var r=n(41535),i=TypeError;e.exports=function(e,t){if(r(t,e))return e;throw i("Incorrect invocation")}},64950:function(e,t,n){var r=n(66106),i=String,o=TypeError;e.exports=function(e){if(r(e))return e;throw o(i(e)+" is not an object")}},89724:function(e,t,n){var r=n(13315);e.exports=r((function(){if("function"==typeof ArrayBuffer){var e=new ArrayBuffer(8);Object.isExtensible(e)&&Object.defineProperty(e,"a",{value:8})}}))},8660:function(e,t,n){"use strict";var r=n(66504),i=n(4351),o=n(33268);e.exports=function(e){for(var t=r(this),n=o(t),a=arguments.length,s=i(a>1?arguments[1]:void 0,n),u=a>2?arguments[2]:void 0,c=void 0===u?n:i(u,n);c>s;)t[s++]=e;return t}},99308:function(e,t,n){"use strict";var r=n(2912).forEach,i=n(16680)("forEach");e.exports=i?[].forEach:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}},4133:function(e,t,n){"use strict";var r=n(1912),i=n(93344),o=n(66504),a=n(5300),s=n(57517),u=n(68630),c=n(33268),l=n(79869),f=n(27390),d=n(4187),p=Array;e.exports=function(e){var t=o(e),n=u(this),h=arguments.length,g=h>1?arguments[1]:void 0,m=void 0!==g;m&&(g=r(g,h>2?arguments[2]:void 0));var y,v,b,_,w,T,x=d(t),S=0;if(!x||this===p&&s(x))for(y=c(t),v=n?new this(y):p(y);y>S;S++)T=m?g(t[S],S):t[S],l(v,S,T);else for(w=(_=f(t,x)).next,v=n?new this:[];!(b=i(w,_)).done;S++)T=m?a(_,g,[b.value,S],!0):b.value,l(v,S,T);return v.length=S,v}},89830:function(e,t,n){var r=n(51015),i=n(4351),o=n(33268),a=function(e){return function(t,n,a){var s,u=r(t),c=o(u),l=i(a,c);if(e&&n!=n){for(;c>l;)if((s=u[l++])!=s)return!0}else for(;c>l;l++)if((e||l in u)&&u[l]===n)return e||l||0;return!e&&-1}};e.exports={includes:a(!0),indexOf:a(!1)}},2912:function(e,t,n){var r=n(1912),i=n(32108),o=n(66864),a=n(66504),s=n(33268),u=n(48071),c=i([].push),l=function(e){var t=1==e,n=2==e,i=3==e,l=4==e,f=6==e,d=7==e,p=5==e||f;return function(h,g,m,y){for(var v,b,_=a(h),w=o(_),T=r(g,m),x=s(w),S=0,k=y||u,E=t?k(h,x):n||d?k(h,0):void 0;x>S;S++)if((p||S in w)&&(b=T(v=w[S],S,_),e))if(t)E[S]=b;else if(b)switch(e){case 3:return!0;case 5:return v;case 6:return S;case 2:c(E,v)}else switch(e){case 4:return!1;case 7:c(E,v)}return f?-1:i||l?l:E}};e.exports={forEach:l(0),map:l(1),filter:l(2),some:l(3),every:l(4),find:l(5),findIndex:l(6),filterReject:l(7)}},71319:function(e,t,n){var r=n(13315),i=n(77431),o=n(67544),a=i("species");e.exports=function(e){return o>=51||!r((function(){var t=[];return(t.constructor={})[a]=function(){return{foo:1}},1!==t[e](Boolean).foo}))}},16680:function(e,t,n){"use strict";var r=n(13315);e.exports=function(e,t){var n=[][e];return!!n&&r((function(){n.call(null,t||function(){return 1},1)}))}},21960:function(e,t,n){var r=n(4351),i=n(33268),o=n(79869),a=Array,s=Math.max;e.exports=function(e,t,n){for(var u=i(e),c=r(t,u),l=r(void 0===n?u:n,u),f=a(s(l-c,0)),d=0;c<l;c++,d++)o(f,d,e[c]);return f.length=d,f}},76253:function(e,t,n){var r=n(32108);e.exports=r([].slice)},65702:function(e,t,n){var r=n(21960),i=Math.floor,o=function(e,t){var n=e.length,u=i(n/2);return n<8?a(e,t):s(e,o(r(e,0,u),t),o(r(e,u),t),t)},a=function(e,t){for(var n,r,i=e.length,o=1;o<i;){for(r=o,n=e[o];r&&t(e[r-1],n)>0;)e[r]=e[--r];r!==o++&&(e[r]=n)}return e},s=function(e,t,n,r){for(var i=t.length,o=n.length,a=0,s=0;a<i||s<o;)e[a+s]=a<i&&s<o?r(t[a],n[s])<=0?t[a++]:n[s++]:a<i?t[a++]:n[s++];return e};e.exports=o},33037:function(e,t,n){var r=n(55345),i=n(68630),o=n(66106),a=n(77431)("species"),s=Array;e.exports=function(e){var t;return r(e)&&(t=e.constructor,(i(t)&&(t===s||r(t.prototype))||o(t)&&null===(t=t[a]))&&(t=void 0)),void 0===t?s:t}},48071:function(e,t,n){var r=n(33037);e.exports=function(e,t){return new(r(e))(0===t?0:t)}},5300:function(e,t,n){var r=n(64950),i=n(6861);e.exports=function(e,t,n,o){try{return o?t(r(n)[0],n[1]):t(n)}catch(t){i(e,"throw",t)}}},54341:function(e){e.exports=function(e,t){return 1==t?function(t,n){return t[e](n)}:function(t,n,r){return t[e](n,r)}}},94337:function(e,t,n){var r=n(77431)("iterator"),i=!1;try{var o=0,a={next:function(){return{done:!!o++}},return:function(){i=!0}};a[r]=function(){return this},Array.from(a,(function(){throw 2}))}catch(e){}e.exports=function(e,t){if(!t&&!i)return!1;var n=!1;try{var o={};o[r]=function(){return{next:function(){return{done:n=!0}}}},e(o)}catch(e){}return n}},80222:function(e,t,n){var r=n(32108),i=r({}.toString),o=r("".slice);e.exports=function(e){return o(i(e),8,-1)}},50176:function(e,t,n){var r=n(60639),i=n(16615),o=n(80222),a=n(77431)("toStringTag"),s=Object,u="Arguments"==o(function(){return arguments}());e.exports=r?o:function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=s(e),a))?n:u?o(t):"Object"==(r=o(t))&&i(t.callee)?"Arguments":r}},37571:function(e,t,n){"use strict";var r=n(1912),i=n(93344),o=n(86148),a=n(31413),s=n(48056),u=n(4553),c=[].push;e.exports=function(e){var t,n,l,f,d=arguments.length,p=d>1?arguments[1]:void 0;return a(this),(t=void 0!==p)&&o(p),s(e)?new this:(n=[],t?(l=0,f=r(p,d>2?arguments[2]:void 0),u(e,(function(e){i(c,n,f(e,l++))}))):u(e,c,{that:n}),new this(n))}},98836:function(e,t,n){"use strict";var r=n(76253);e.exports=function(){return new this(r(arguments))}},30870:function(e,t,n){"use strict";var r=n(26779).f,i=n(58743),o=n(92671),a=n(1912),s=n(77423),u=n(48056),c=n(4553),l=n(7112),f=n(78462),d=n(971),p=n(92290),h=n(54581).fastKey,g=n(90293),m=g.set,y=g.getterFor;e.exports={getConstructor:function(e,t,n,l){var f=e((function(e,r){s(e,d),m(e,{type:t,index:i(null),first:void 0,last:void 0,size:0}),p||(e.size=0),u(r)||c(r,e[l],{that:e,AS_ENTRIES:n})})),d=f.prototype,g=y(t),v=function(e,t,n){var r,i,o=g(e),a=b(e,t);return a?a.value=n:(o.last=a={index:i=h(t,!0),key:t,value:n,previous:r=o.last,next:void 0,removed:!1},o.first||(o.first=a),r&&(r.next=a),p?o.size++:e.size++,"F"!==i&&(o.index[i]=a)),e},b=function(e,t){var n,r=g(e),i=h(t);if("F"!==i)return r.index[i];for(n=r.first;n;n=n.next)if(n.key==t)return n};return o(d,{clear:function(){for(var e=g(this),t=e.index,n=e.first;n;)n.removed=!0,n.previous&&(n.previous=n.previous.next=void 0),delete t[n.index],n=n.next;e.first=e.last=void 0,p?e.size=0:this.size=0},delete:function(e){var t=this,n=g(t),r=b(t,e);if(r){var i=r.next,o=r.previous;delete n.index[r.index],r.removed=!0,o&&(o.next=i),i&&(i.previous=o),n.first==r&&(n.first=i),n.last==r&&(n.last=o),p?n.size--:t.size--}return!!r},forEach:function(e){for(var t,n=g(this),r=a(e,arguments.length>1?arguments[1]:void 0);t=t?t.next:n.first;)for(r(t.value,t.key,this);t&&t.removed;)t=t.previous},has:function(e){return!!b(this,e)}}),o(d,n?{get:function(e){var t=b(this,e);return t&&t.value},set:function(e,t){return v(this,0===e?0:e,t)}}:{add:function(e){return v(this,e=0===e?0:e,e)}}),p&&r(d,"size",{get:function(){return g(this).size}}),f},setStrong:function(e,t,n){var r=t+" Iterator",i=y(t),o=y(r);l(e,t,(function(e,t){m(this,{type:r,target:e,state:i(e),kind:t,last:void 0})}),(function(){for(var e=o(this),t=e.kind,n=e.last;n&&n.removed;)n=n.previous;return e.target&&(e.last=n=n?n.next:e.state.first)?f("keys"==t?n.key:"values"==t?n.value:[n.key,n.value],!1):(e.target=void 0,f(void 0,!0))}),n?"entries":"values",!n,!0),d(t)}}},39017:function(e,t,n){"use strict";var r=n(32108),i=n(92671),o=n(54581).getWeakData,a=n(77423),s=n(64950),u=n(48056),c=n(66106),l=n(4553),f=n(2912),d=n(79728),p=n(90293),h=p.set,g=p.getterFor,m=f.find,y=f.findIndex,v=r([].splice),b=0,_=function(e){return e.frozen||(e.frozen=new w)},w=function(){this.entries=[]},T=function(e,t){return m(e.entries,(function(e){return e[0]===t}))};w.prototype={get:function(e){var t=T(this,e);if(t)return t[1]},has:function(e){return!!T(this,e)},set:function(e,t){var n=T(this,e);n?n[1]=t:this.entries.push([e,t])},delete:function(e){var t=y(this.entries,(function(t){return t[0]===e}));return~t&&v(this.entries,t,1),!!~t}},e.exports={getConstructor:function(e,t,n,r){var f=e((function(e,i){a(e,p),h(e,{type:t,id:b++,frozen:void 0}),u(i)||l(i,e[r],{that:e,AS_ENTRIES:n})})),p=f.prototype,m=g(t),y=function(e,t,n){var r=m(e),i=o(s(t),!0);return!0===i?_(r).set(t,n):i[r.id]=n,e};return i(p,{delete:function(e){var t=m(this);if(!c(e))return!1;var n=o(e);return!0===n?_(t).delete(e):n&&d(n,t.id)&&delete n[t.id]},has:function(e){var t=m(this);if(!c(e))return!1;var n=o(e);return!0===n?_(t).has(e):n&&d(n,t.id)}}),i(p,n?{get:function(e){var t=m(this);if(c(e)){var n=o(e);return!0===n?_(t).get(e):n?n[t.id]:void 0}},set:function(e,t){return y(this,e,t)}}:{add:function(e){return y(this,e,!0)}}),f}}},27166:function(e,t,n){"use strict";var r=n(65609),i=n(82202),o=n(54581),a=n(13315),s=n(93446),u=n(4553),c=n(77423),l=n(16615),f=n(66106),d=n(34026),p=n(26779).f,h=n(2912).forEach,g=n(92290),m=n(90293),y=m.set,v=m.getterFor;e.exports=function(e,t,n){var m,b=-1!==e.indexOf("Map"),_=-1!==e.indexOf("Weak"),w=b?"set":"add",T=i[e],x=T&&T.prototype,S={};if(g&&l(T)&&(_||x.forEach&&!a((function(){(new T).entries().next()})))){var k=(m=t((function(t,n){y(c(t,k),{type:e,collection:new T}),null!=n&&u(n,t[w],{that:t,AS_ENTRIES:b})}))).prototype,E=v(e);h(["add","clear","delete","forEach","get","has","set","keys","values","entries"],(function(e){var t="add"==e||"set"==e;!(e in x)||_&&"clear"==e||s(k,e,(function(n,r){var i=E(this).collection;if(!t&&_&&!f(n))return"get"==e&&void 0;var o=i[e](0===n?0:n,r);return t?this:o}))})),_||p(k,"size",{configurable:!0,get:function(){return E(this).collection.size}})}else m=n.getConstructor(t,e,b,w),o.enable();return d(m,e,!1,!0),S[e]=m,r({global:!0,forced:!0},S),_||n.setStrong(m,e,b),m}},80359:function(e,t,n){var r=n(79728),i=n(1271),o=n(40406),a=n(26779);e.exports=function(e,t,n){for(var s=i(t),u=a.f,c=o.f,l=0;l<s.length;l++){var f=s[l];r(e,f)||n&&r(n,f)||u(e,f,c(t,f))}}},45023:function(e,t,n){var r=n(77431)("match");e.exports=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[r]=!1,"/./"[e](t)}catch(e){}}return!1}},49723:function(e,t,n){var r=n(13315);e.exports=!r((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},78462:function(e){e.exports=function(e,t){return{value:e,done:t}}},93446:function(e,t,n){var r=n(92290),i=n(26779),o=n(42630);e.exports=r?function(e,t,n){return i.f(e,t,o(1,n))}:function(e,t,n){return e[t]=n,e}},42630:function(e){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},79869:function(e,t,n){"use strict";var r=n(70738),i=n(26779),o=n(42630);e.exports=function(e,t,n){var a=r(t);a in e?i.f(e,a,o(0,n)):e[a]=n}},80674:function(e,t,n){var r=n(26779);e.exports=function(e,t,n){return r.f(e,t,n)}},46037:function(e,t,n){var r=n(93446);e.exports=function(e,t,n,i){return i&&i.enumerable?e[t]=n:r(e,t,n),e}},92671:function(e,t,n){var r=n(46037);e.exports=function(e,t,n){for(var i in t)n&&n.unsafe&&e[i]?e[i]=t[i]:r(e,i,t[i],n);return e}},13143:function(e,t,n){var r=n(82202),i=Object.defineProperty;e.exports=function(e,t){try{i(r,e,{value:t,configurable:!0,writable:!0})}catch(n){r[e]=t}return t}},74114:function(e,t,n){"use strict";var r=n(37254),i=TypeError;e.exports=function(e,t){if(!delete e[t])throw i("Cannot delete property "+r(t)+" of "+r(e))}},92290:function(e,t,n){var r=n(13315);e.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},794:function(e){var t="object"==typeof document&&document.all,n=void 0===t&&void 0!==t;e.exports={all:t,IS_HTMLDDA:n}},13696:function(e,t,n){var r=n(82202),i=n(66106),o=r.document,a=i(o)&&i(o.createElement);e.exports=function(e){return a?o.createElement(e):{}}},58981:function(e){var t=TypeError;e.exports=function(e){if(e>9007199254740991)throw t("Maximum allowed index exceeded");return e}},80196:function(e){e.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},38823:function(e,t,n){var r=n(26023).match(/firefox\/(\d+)/i);e.exports=!!r&&+r[1]},60495:function(e,t,n){var r=n(30880),i=n(61353);e.exports=!r&&!i&&"object"==typeof window&&"object"==typeof document},30880:function(e){e.exports="object"==typeof Deno&&Deno&&"object"==typeof Deno.version},51918:function(e,t,n){var r=n(26023);e.exports=/MSIE|Trident/.test(r)},85697:function(e,t,n){var r=n(26023),i=n(82202);e.exports=/ipad|iphone|ipod/i.test(r)&&void 0!==i.Pebble},87812:function(e,t,n){var r=n(26023);e.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(r)},61353:function(e,t,n){var r=n(80222),i=n(82202);e.exports="process"==r(i.process)},51881:function(e,t,n){var r=n(26023);e.exports=/web0s(?!.*chrome)/i.test(r)},26023:function(e,t,n){var r=n(68520);e.exports=r("navigator","userAgent")||""},67544:function(e,t,n){var r,i,o=n(82202),a=n(26023),s=o.process,u=o.Deno,c=s&&s.versions||u&&u.version,l=c&&c.v8;l&&(i=(r=l.split("."))[0]>0&&r[0]<4?1:+(r[0]+r[1])),!i&&a&&(!(r=a.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=a.match(/Chrome\/(\d+)/))&&(i=+r[1]),e.exports=i},92323:function(e,t,n){var r=n(26023).match(/AppleWebKit\/(\d+)\./);e.exports=!!r&&+r[1]},80003:function(e,t,n){var r=n(5058);e.exports=function(e){return r[e+"Prototype"]}},51816:function(e){e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},8604:function(e,t,n){var r=n(32108),i=Error,o=r("".replace),a=String(i("zxcasd").stack),s=/\n\s*at [^:]*:[^\n]*/,u=s.test(a);e.exports=function(e,t){if(u&&"string"==typeof e&&!i.prepareStackTrace)for(;t--;)e=o(e,s,"");return e}},44774:function(e,t,n){var r=n(13315),i=n(42630);e.exports=!r((function(){var e=Error("a");return!("stack"in e)||(Object.defineProperty(e,"stack",i(1,7)),7!==e.stack)}))},65609:function(e,t,n){"use strict";var r=n(82202),i=n(26477),o=n(40352),a=n(16615),s=n(40406).f,u=n(30646),c=n(5058),l=n(1912),f=n(93446),d=n(79728),p=function(e){var t=function(n,r,o){if(this instanceof t){switch(arguments.length){case 0:return new e;case 1:return new e(n);case 2:return new e(n,r)}return new e(n,r,o)}return i(e,this,arguments)};return t.prototype=e.prototype,t};e.exports=function(e,t){var n,i,h,g,m,y,v,b,_,w=e.target,T=e.global,x=e.stat,S=e.proto,k=T?r:x?r[w]:(r[w]||{}).prototype,E=T?c:c[w]||f(c,w,{})[w],O=E.prototype;for(g in t)i=!(n=u(T?g:w+(x?".":"#")+g,e.forced))&&k&&d(k,g),y=E[g],i&&(v=e.dontCallGetSet?(_=s(k,g))&&_.value:k[g]),m=i&&v?v:t[g],i&&typeof y==typeof m||(b=e.bind&&i?l(m,r):e.wrap&&i?p(m):S&&a(m)?o(m):m,(e.sham||m&&m.sham||y&&y.sham)&&f(b,"sham",!0),f(E,g,b),S&&(d(c,h=w+"Prototype")||f(c,h,{}),f(c[h],g,m),e.real&&O&&(n||!O[g])&&f(O,g,m)))}},13315:function(e){e.exports=function(e){try{return!!e()}catch(e){return!0}}},96959:function(e,t,n){var r=n(13315);e.exports=!r((function(){return Object.isExtensible(Object.preventExtensions({}))}))},26477:function(e,t,n){var r=n(38482),i=Function.prototype,o=i.apply,a=i.call;e.exports="object"==typeof Reflect&&Reflect.apply||(r?a.bind(o):function(){return a.apply(o,arguments)})},1912:function(e,t,n){var r=n(40352),i=n(86148),o=n(38482),a=r(r.bind);e.exports=function(e,t){return i(e),void 0===t?e:o?a(e,t):function(){return e.apply(t,arguments)}}},38482:function(e,t,n){var r=n(13315);e.exports=!r((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))},74908:function(e,t,n){"use strict";var r=n(32108),i=n(86148),o=n(66106),a=n(79728),s=n(76253),u=n(38482),c=Function,l=r([].concat),f=r([].join),d={},p=function(e,t,n){if(!a(d,t)){for(var r=[],i=0;i<t;i++)r[i]="a["+i+"]";d[t]=c("C,a","return new C("+f(r,",")+")")}return d[t](e,n)};e.exports=u?c.bind:function(e){var t=i(this),n=t.prototype,r=s(arguments,1),a=function(){var n=l(r,s(arguments));return this instanceof a?p(t,n.length,n):t.apply(e,n)};return o(n)&&(a.prototype=n),a}},93344:function(e,t,n){var r=n(38482),i=Function.prototype.call;e.exports=r?i.bind(i):function(){return i.apply(i,arguments)}},40637:function(e,t,n){var r=n(92290),i=n(79728),o=Function.prototype,a=r&&Object.getOwnPropertyDescriptor,s=i(o,"name"),u=s&&"something"===function(){}.name,c=s&&(!r||r&&a(o,"name").configurable);e.exports={EXISTS:s,PROPER:u,CONFIGURABLE:c}},40352:function(e,t,n){var r=n(80222),i=n(32108);e.exports=function(e){if("Function"===r(e))return i(e)}},32108:function(e,t,n){var r=n(38482),i=Function.prototype,o=i.call,a=r&&i.bind.bind(o,o);e.exports=r?a:function(e){return function(){return o.apply(e,arguments)}}},68520:function(e,t,n){var r=n(5058),i=n(82202),o=n(16615),a=function(e){return o(e)?e:void 0};e.exports=function(e,t){return arguments.length<2?a(r[e])||a(i[e]):r[e]&&r[e][t]||i[e]&&i[e][t]}},4187:function(e,t,n){var r=n(50176),i=n(72173),o=n(48056),a=n(87551),s=n(77431)("iterator");e.exports=function(e){if(!o(e))return i(e,s)||i(e,"@@iterator")||a[r(e)]}},27390:function(e,t,n){var r=n(93344),i=n(86148),o=n(64950),a=n(37254),s=n(4187),u=TypeError;e.exports=function(e,t){var n=arguments.length<2?s(e):t;if(i(n))return o(r(n,e));throw u(a(e)+" is not iterable")}},72173:function(e,t,n){var r=n(86148),i=n(48056);e.exports=function(e,t){var n=e[t];return i(n)?void 0:r(n)}},47029:function(e,t,n){var r=n(86148),i=n(64950),o=n(93344),a=n(36225),s=TypeError,u=function(e,t,n,r){this.set=e,this.size=t,this.has=n,this.keys=r};u.prototype={getIterator:function(){return i(o(this.keys,this.set))},includes:function(e){return o(this.has,this.set,e)}},e.exports=function(e){i(e);var t=+e.size;if(t!=t)throw s("Invalid size");return new u(e,a(t),r(e.has),r(e.keys))}},82202:function(e,t,n){var r=function(e){return e&&e.Math==Math&&e};e.exports=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof n.g&&n.g)||function(){return this}()||Function("return this")()},79728:function(e,t,n){var r=n(32108),i=n(66504),o=r({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,t){return o(i(e),t)}},3641:function(e){e.exports={}},22189:function(e,t,n){var r=n(82202);e.exports=function(e,t){var n=r.console;n&&n.error&&(1==arguments.length?n.error(e):n.error(e,t))}},48238:function(e,t,n){var r=n(68520);e.exports=r("document","documentElement")},61916:function(e,t,n){var r=n(92290),i=n(13315),o=n(13696);e.exports=!r&&!i((function(){return 7!=Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a}))},66864:function(e,t,n){var r=n(32108),i=n(13315),o=n(80222),a=Object,s=r("".split);e.exports=i((function(){return!a("z").propertyIsEnumerable(0)}))?function(e){return"String"==o(e)?s(e,""):a(e)}:a},78693:function(e,t,n){var r=n(32108),i=n(16615),o=n(24156),a=r(Function.toString);i(o.inspectSource)||(o.inspectSource=function(e){return a(e)}),e.exports=o.inspectSource},90249:function(e,t,n){var r=n(66106),i=n(93446);e.exports=function(e,t){r(t)&&"cause"in t&&i(e,"cause",t.cause)}},54581:function(e,t,n){var r=n(65609),i=n(32108),o=n(3641),a=n(66106),s=n(79728),u=n(26779).f,c=n(46289),l=n(32751),f=n(57380),d=n(60853),p=n(96959),h=!1,g=d("meta"),m=0,y=function(e){u(e,g,{value:{objectID:"O"+m++,weakData:{}}})},v=e.exports={enable:function(){v.enable=function(){},h=!0;var e=c.f,t=i([].splice),n={};n[g]=1,e(n).length&&(c.f=function(n){for(var r=e(n),i=0,o=r.length;i<o;i++)if(r[i]===g){t(r,i,1);break}return r},r({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:l.f}))},fastKey:function(e,t){if(!a(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!s(e,g)){if(!f(e))return"F";if(!t)return"E";y(e)}return e[g].objectID},getWeakData:function(e,t){if(!s(e,g)){if(!f(e))return!0;if(!t)return!1;y(e)}return e[g].weakData},onFreeze:function(e){return p&&h&&f(e)&&!s(e,g)&&y(e),e}};o[g]=!0},90293:function(e,t,n){var r,i,o,a=n(27103),s=n(82202),u=n(66106),c=n(93446),l=n(79728),f=n(24156),d=n(22434),p=n(3641),h="Object already initialized",g=s.TypeError,m=s.WeakMap;if(a||f.state){var y=f.state||(f.state=new m);y.get=y.get,y.has=y.has,y.set=y.set,r=function(e,t){if(y.has(e))throw g(h);return t.facade=e,y.set(e,t),t},i=function(e){return y.get(e)||{}},o=function(e){return y.has(e)}}else{var v=d("state");p[v]=!0,r=function(e,t){if(l(e,v))throw g(h);return t.facade=e,c(e,v,t),t},i=function(e){return l(e,v)?e[v]:{}},o=function(e){return l(e,v)}}e.exports={set:r,get:i,has:o,enforce:function(e){return o(e)?i(e):r(e,{})},getterFor:function(e){return function(t){var n;if(!u(t)||(n=i(t)).type!==e)throw g("Incompatible receiver, "+e+" required");return n}}}},57517:function(e,t,n){var r=n(77431),i=n(87551),o=r("iterator"),a=Array.prototype;e.exports=function(e){return void 0!==e&&(i.Array===e||a[o]===e)}},55345:function(e,t,n){var r=n(80222);e.exports=Array.isArray||function(e){return"Array"==r(e)}},16615:function(e,t,n){var r=n(794),i=r.all;e.exports=r.IS_HTMLDDA?function(e){return"function"==typeof e||e===i}:function(e){return"function"==typeof e}},68630:function(e,t,n){var r=n(32108),i=n(13315),o=n(16615),a=n(50176),s=n(68520),u=n(78693),c=function(){},l=[],f=s("Reflect","construct"),d=/^\s*(?:class|function)\b/,p=r(d.exec),h=!d.exec(c),g=function(e){if(!o(e))return!1;try{return f(c,l,e),!0}catch(e){return!1}},m=function(e){if(!o(e))return!1;switch(a(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return h||!!p(d,u(e))}catch(e){return!0}};m.sham=!0,e.exports=!f||i((function(){var e;return g(g.call)||!g(Object)||!g((function(){e=!0}))||e}))?m:g},24753:function(e,t,n){var r=n(79728);e.exports=function(e){return void 0!==e&&(r(e,"value")||r(e,"writable"))}},30646:function(e,t,n){var r=n(13315),i=n(16615),o=/#|\.prototype\./,a=function(e,t){var n=u[s(e)];return n==l||n!=c&&(i(t)?r(t):!!t)},s=a.normalize=function(e){return String(e).replace(o,".").toLowerCase()},u=a.data={},c=a.NATIVE="N",l=a.POLYFILL="P";e.exports=a},70832:function(e,t,n){var r=n(66106),i=Math.floor;e.exports=Number.isInteger||function(e){return!r(e)&&isFinite(e)&&i(e)===e}},15545:function(e,t,n){var r=n(50176),i=n(79728),o=n(48056),a=n(77431),s=n(87551),u=a("iterator"),c=Object;e.exports=function(e){if(o(e))return!1;var t=c(e);return void 0!==t[u]||"@@iterator"in t||i(s,r(t))}},48056:function(e){e.exports=function(e){return null==e}},66106:function(e,t,n){var r=n(16615),i=n(794),o=i.all;e.exports=i.IS_HTMLDDA?function(e){return"object"==typeof e?null!==e:r(e)||e===o}:function(e){return"object"==typeof e?null!==e:r(e)}},54956:function(e){e.exports=!0},42149:function(e,t,n){var r=n(66106),i=n(80222),o=n(77431)("match");e.exports=function(e){var t;return r(e)&&(void 0!==(t=e[o])?!!t:"RegExp"==i(e))}},23506:function(e,t,n){var r=n(68520),i=n(16615),o=n(41535),a=n(82754),s=Object;e.exports=a?function(e){return"symbol"==typeof e}:function(e){var t=r("Symbol");return i(t)&&o(t.prototype,s(e))}},71967:function(e,t,n){var r=n(93344);e.exports=function(e,t,n){for(var i,o,a=n||e.next;!(i=r(a,e)).done;)if(void 0!==(o=t(i.value)))return o}},4553:function(e,t,n){var r=n(1912),i=n(93344),o=n(64950),a=n(37254),s=n(57517),u=n(33268),c=n(41535),l=n(27390),f=n(4187),d=n(6861),p=TypeError,h=function(e,t){this.stopped=e,this.result=t},g=h.prototype;e.exports=function(e,t,n){var m,y,v,b,_,w,T,x=n&&n.that,S=!(!n||!n.AS_ENTRIES),k=!(!n||!n.IS_RECORD),E=!(!n||!n.IS_ITERATOR),O=!(!n||!n.INTERRUPTED),C=r(t,x),L=function(e){return m&&d(m,"normal",e),new h(!0,e)},A=function(e){return S?(o(e),O?C(e[0],e[1],L):C(e[0],e[1])):O?C(e,L):C(e)};if(k)m=e.iterator;else if(E)m=e;else{if(!(y=f(e)))throw p(a(e)+" is not iterable");if(s(y)){for(v=0,b=u(e);b>v;v++)if((_=A(e[v]))&&c(g,_))return _;return new h(!1)}m=l(e,y)}for(w=k?e.next:m.next;!(T=i(w,m)).done;){try{_=A(T.value)}catch(e){d(m,"throw",e)}if("object"==typeof _&&_&&c(g,_))return _}return new h(!1)}},6861:function(e,t,n){var r=n(93344),i=n(64950),o=n(72173);e.exports=function(e,t,n){var a,s;i(e);try{if(!(a=o(e,"return"))){if("throw"===t)throw n;return n}a=r(a,e)}catch(e){s=!0,a=e}if("throw"===t)throw n;if(s)throw a;return i(a),n}},8287:function(e,t,n){"use strict";var r=n(59718).IteratorPrototype,i=n(58743),o=n(42630),a=n(34026),s=n(87551),u=function(){return this};e.exports=function(e,t,n,c){var l=t+" Iterator";return e.prototype=i(r,{next:o(+!c,n)}),a(e,l,!1,!0),s[l]=u,e}},7112:function(e,t,n){"use strict";var r=n(65609),i=n(93344),o=n(54956),a=n(40637),s=n(16615),u=n(8287),c=n(29569),l=n(11244),f=n(34026),d=n(93446),p=n(46037),h=n(77431),g=n(87551),m=n(59718),y=a.PROPER,v=a.CONFIGURABLE,b=m.IteratorPrototype,_=m.BUGGY_SAFARI_ITERATORS,w=h("iterator"),T="keys",x="values",S="entries",k=function(){return this};e.exports=function(e,t,n,a,h,m,E){u(n,t,a);var O,C,L,A=function(e){if(e===h&&j)return j;if(!_&&e in M)return M[e];switch(e){case T:case x:case S:return function(){return new n(this,e)}}return function(){return new n(this)}},I=t+" Iterator",P=!1,M=e.prototype,R=M[w]||M["@@iterator"]||h&&M[h],j=!_&&R||A(h),D="Array"==t&&M.entries||R;if(D&&(O=c(D.call(new e)))!==Object.prototype&&O.next&&(o||c(O)===b||(l?l(O,b):s(O[w])||p(O,w,k)),f(O,I,!0,!0),o&&(g[I]=k)),y&&h==x&&R&&R.name!==x&&(!o&&v?d(M,"name",x):(P=!0,j=function(){return i(R,this)})),h)if(C={values:A(x),keys:m?j:A(T),entries:A(S)},E)for(L in C)(_||P||!(L in M))&&p(M,L,C[L]);else r({target:t,proto:!0,forced:_||P},C);return o&&!E||M[w]===j||p(M,w,j,{name:h}),g[t]=j,C}},59718:function(e,t,n){"use strict";var r,i,o,a=n(13315),s=n(16615),u=n(66106),c=n(58743),l=n(29569),f=n(46037),d=n(77431),p=n(54956),h=d("iterator"),g=!1;[].keys&&("next"in(o=[].keys())?(i=l(l(o)))!==Object.prototype&&(r=i):g=!0),!u(r)||a((function(){var e={};return r[h].call(e)!==e}))?r={}:p&&(r=c(r)),s(r[h])||f(r,h,(function(){return this})),e.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:g}},87551:function(e){e.exports={}},33268:function(e,t,n){var r=n(39875);e.exports=function(e){return r(e.length)}},74833:function(e,t,n){var r=n(68520),i=n(54341),o=r("Map");e.exports={Map:o,set:i("set",2),get:i("get",1),has:i("has",1),remove:i("delete",1),proto:o.prototype}},36686:function(e,t,n){var r=n(71967);e.exports=function(e,t,n){return n?r(e.entries(),(function(e){return t(e[1],e[0])})):e.forEach(t)}},92731:function(e,t,n){"use strict";var r=n(93344),i=n(86148),o=n(16615),a=n(64950),s=TypeError;e.exports=function(e,t){var n,u=a(this),c=i(u.get),l=i(u.has),f=i(u.set),d=arguments.length>2?arguments[2]:void 0;if(!o(t)&&!o(d))throw s("At least one callback required");return r(l,u,e)?(n=r(c,u,e),o(t)&&(n=t(n),r(f,u,e,n))):o(d)&&(n=d(),r(f,u,e,n)),n}},45475:function(e){var t=Math.log,n=Math.LOG10E;e.exports=Math.log10||function(e){return t(e)*n}},79014:function(e){e.exports=Math.sign||function(e){var t=+e;return 0==t||t!=t?t:t<0?-1:1}},59798:function(e){var t=Math.ceil,n=Math.floor;e.exports=Math.trunc||function(e){var r=+e;return(r>0?n:t)(r)}},75404:function(e,t,n){var r,i,o,a,s,u,c,l,f=n(82202),d=n(1912),p=n(40406).f,h=n(91085).set,g=n(87812),m=n(85697),y=n(51881),v=n(61353),b=f.MutationObserver||f.WebKitMutationObserver,_=f.document,w=f.process,T=f.Promise,x=p(f,"queueMicrotask"),S=x&&x.value;S||(r=function(){var e,t;for(v&&(e=w.domain)&&e.exit();i;){t=i.fn,i=i.next;try{t()}catch(e){throw i?a():o=void 0,e}}o=void 0,e&&e.enter()},g||v||y||!b||!_?!m&&T&&T.resolve?((c=T.resolve(void 0)).constructor=T,l=d(c.then,c),a=function(){l(r)}):v?a=function(){w.nextTick(r)}:(h=d(h,f),a=function(){h(r)}):(s=!0,u=_.createTextNode(""),new b(r).observe(u,{characterData:!0}),a=function(){u.data=s=!s})),e.exports=S||function(e){var t={fn:e,next:void 0};o&&(o.next=t),i||(i=t,a()),o=t}},12290:function(e,t,n){"use strict";var r=n(86148),i=TypeError,o=function(e){var t,n;this.promise=new e((function(e,r){if(void 0!==t||void 0!==n)throw i("Bad Promise constructor");t=e,n=r})),this.resolve=r(t),this.reject=r(n)};e.exports.f=function(e){return new o(e)}},46914:function(e,t,n){var r=n(91841);e.exports=function(e,t){return void 0===e?arguments.length<2?"":t:r(e)}},43708:function(e,t,n){var r=n(42149),i=TypeError;e.exports=function(e){if(r(e))throw i("The method doesn't accept regular expressions");return e}},13110:function(e,t,n){"use strict";var r=n(92290),i=n(32108),o=n(93344),a=n(13315),s=n(12569),u=n(74749),c=n(37222),l=n(66504),f=n(66864),d=Object.assign,p=Object.defineProperty,h=i([].concat);e.exports=!d||a((function(){if(r&&1!==d({b:1},d(p({},"a",{enumerable:!0,get:function(){p(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},n=Symbol(),i="abcdefghijklmnopqrst";return e[n]=7,i.split("").forEach((function(e){t[e]=e})),7!=d({},e)[n]||s(d({},t)).join("")!=i}))?function(e,t){for(var n=l(e),i=arguments.length,a=1,d=u.f,p=c.f;i>a;)for(var g,m=f(arguments[a++]),y=d?h(s(m),d(m)):s(m),v=y.length,b=0;v>b;)g=y[b++],r&&!o(p,m,g)||(n[g]=m[g]);return n}:d},58743:function(e,t,n){var r,i=n(64950),o=n(79297),a=n(51816),s=n(3641),u=n(48238),c=n(13696),l=n(22434),f=l("IE_PROTO"),d=function(){},p=function(e){return"<script>"+e+"</"+"script>"},h=function(e){e.write(p("")),e.close();var t=e.parentWindow.Object;return e=null,t},g=function(){try{r=new ActiveXObject("htmlfile")}catch(e){}var e,t;g="undefined"!=typeof document?document.domain&&r?h(r):((t=c("iframe")).style.display="none",u.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(p("document.F=Object")),e.close(),e.F):h(r);for(var n=a.length;n--;)delete g.prototype[a[n]];return g()};s[f]=!0,e.exports=Object.create||function(e,t){var n;return null!==e?(d.prototype=i(e),n=new d,d.prototype=null,n[f]=e):n=g(),void 0===t?n:o.f(n,t)}},79297:function(e,t,n){var r=n(92290),i=n(85262),o=n(26779),a=n(64950),s=n(51015),u=n(12569);t.f=r&&!i?Object.defineProperties:function(e,t){a(e);for(var n,r=s(t),i=u(t),c=i.length,l=0;c>l;)o.f(e,n=i[l++],r[n]);return e}},26779:function(e,t,n){var r=n(92290),i=n(61916),o=n(85262),a=n(64950),s=n(70738),u=TypeError,c=Object.defineProperty,l=Object.getOwnPropertyDescriptor,f="enumerable",d="configurable",p="writable";t.f=r?o?function(e,t,n){if(a(e),t=s(t),a(n),"function"==typeof e&&"prototype"===t&&"value"in n&&p in n&&!n.writable){var r=l(e,t);r&&r.writable&&(e[t]=n.value,n={configurable:d in n?n.configurable:r.configurable,enumerable:f in n?n.enumerable:r.enumerable,writable:!1})}return c(e,t,n)}:c:function(e,t,n){if(a(e),t=s(t),a(n),i)try{return c(e,t,n)}catch(e){}if("get"in n||"set"in n)throw u("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},40406:function(e,t,n){var r=n(92290),i=n(93344),o=n(37222),a=n(42630),s=n(51015),u=n(70738),c=n(79728),l=n(61916),f=Object.getOwnPropertyDescriptor;t.f=r?f:function(e,t){if(e=s(e),t=u(t),l)try{return f(e,t)}catch(e){}if(c(e,t))return a(!i(o.f,e,t),e[t])}},32751:function(e,t,n){var r=n(80222),i=n(51015),o=n(46289).f,a=n(21960),s="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(e){return s&&"Window"==r(e)?function(e){try{return o(e)}catch(e){return a(s)}}(e):o(i(e))}},46289:function(e,t,n){var r=n(33923),i=n(51816).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,i)}},74749:function(e,t){t.f=Object.getOwnPropertySymbols},29569:function(e,t,n){var r=n(79728),i=n(16615),o=n(66504),a=n(22434),s=n(49723),u=a("IE_PROTO"),c=Object,l=c.prototype;e.exports=s?c.getPrototypeOf:function(e){var t=o(e);if(r(t,u))return t[u];var n=t.constructor;return i(n)&&t instanceof n?n.prototype:t instanceof c?l:null}},57380:function(e,t,n){var r=n(13315),i=n(66106),o=n(80222),a=n(89724),s=Object.isExtensible,u=r((function(){s(1)}));e.exports=u||a?function(e){return!!i(e)&&((!a||"ArrayBuffer"!=o(e))&&(!s||s(e)))}:s},41535:function(e,t,n){var r=n(32108);e.exports=r({}.isPrototypeOf)},33923:function(e,t,n){var r=n(32108),i=n(79728),o=n(51015),a=n(89830).indexOf,s=n(3641),u=r([].push);e.exports=function(e,t){var n,r=o(e),c=0,l=[];for(n in r)!i(s,n)&&i(r,n)&&u(l,n);for(;t.length>c;)i(r,n=t[c++])&&(~a(l,n)||u(l,n));return l}},12569:function(e,t,n){var r=n(33923),i=n(51816);e.exports=Object.keys||function(e){return r(e,i)}},37222:function(e,t){"use strict";var n={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,i=r&&!n.call({1:2},1);t.f=i?function(e){var t=r(this,e);return!!t&&t.enumerable}:n},11244:function(e,t,n){var r=n(32108),i=n(64950),o=n(65838);e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=r(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(n,[]),t=n instanceof Array}catch(e){}return function(n,r){return i(n),o(r),t?e(n,r):n.__proto__=r,n}}():void 0)},11276:function(e,t,n){var r=n(92290),i=n(32108),o=n(12569),a=n(51015),s=i(n(37222).f),u=i([].push),c=function(e){return function(t){for(var n,i=a(t),c=o(i),l=c.length,f=0,d=[];l>f;)n=c[f++],r&&!s(i,n)||u(d,e?[n,i[n]]:i[n]);return d}};e.exports={entries:c(!0),values:c(!1)}},6350:function(e,t,n){"use strict";var r=n(60639),i=n(50176);e.exports=r?{}.toString:function(){return"[object "+i(this)+"]"}},3185:function(e,t,n){var r=n(93344),i=n(16615),o=n(66106),a=TypeError;e.exports=function(e,t){var n,s;if("string"===t&&i(n=e.toString)&&!o(s=r(n,e)))return s;if(i(n=e.valueOf)&&!o(s=r(n,e)))return s;if("string"!==t&&i(n=e.toString)&&!o(s=r(n,e)))return s;throw a("Can't convert object to primitive value")}},1271:function(e,t,n){var r=n(68520),i=n(32108),o=n(46289),a=n(74749),s=n(64950),u=i([].concat);e.exports=r("Reflect","ownKeys")||function(e){var t=o.f(s(e)),n=a.f;return n?u(t,n(e)):t}},5058:function(e){e.exports={}},90830:function(e){e.exports=function(e){try{return{error:!1,value:e()}}catch(e){return{error:!0,value:e}}}},61061:function(e,t,n){var r=n(82202),i=n(63463),o=n(16615),a=n(30646),s=n(78693),u=n(77431),c=n(60495),l=n(30880),f=n(54956),d=n(67544),p=i&&i.prototype,h=u("species"),g=!1,m=o(r.PromiseRejectionEvent),y=a("Promise",(function(){var e=s(i),t=e!==String(i);if(!t&&66===d)return!0;if(f&&(!p.catch||!p.finally))return!0;if(!d||d<51||!/native code/.test(e)){var n=new i((function(e){e(1)})),r=function(e){e((function(){}),(function(){}))};if((n.constructor={})[h]=r,!(g=n.then((function(){}))instanceof r))return!0}return!t&&(c||l)&&!m}));e.exports={CONSTRUCTOR:y,REJECTION_EVENT:m,SUBCLASSING:g}},63463:function(e,t,n){var r=n(82202);e.exports=r.Promise},86538:function(e,t,n){var r=n(64950),i=n(66106),o=n(12290);e.exports=function(e,t){if(r(e),i(t)&&t.constructor===e)return t;var n=o.f(e);return(0,n.resolve)(t),n.promise}},48240:function(e,t,n){var r=n(63463),i=n(94337),o=n(61061).CONSTRUCTOR;e.exports=o||!i((function(e){r.all(e).then(void 0,(function(){}))}))},73129:function(e){var t=function(){this.head=null,this.tail=null};t.prototype={add:function(e){var t={item:e,next:null};this.head?this.tail.next=t:this.head=t,this.tail=t},get:function(){var e=this.head;if(e)return this.head=e.next,this.tail===e&&(this.tail=null),e.item}},e.exports=t},96413:function(e,t,n){var r=n(48056),i=TypeError;e.exports=function(e){if(r(e))throw i("Can't call method on "+e);return e}},99428:function(e){e.exports=function(e,t){return e===t||e!=e&&t!=t}},77959:function(e){e.exports=Object.is||function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}},14272:function(e,t,n){var r=n(97869),i=n(84828),o=r.Set,a=r.add;e.exports=function(e){var t=new o;return i(e,(function(e){a(t,e)})),t}},70848:function(e,t,n){"use strict";var r=n(20902),i=n(97869),o=n(14272),a=n(75787),s=n(47029),u=n(84828),c=n(71967),l=i.has,f=i.remove;e.exports=function(e){var t=r(this),n=s(e),i=o(t);return a(t)<=n.size?u(t,(function(e){n.includes(e)&&f(i,e)})):c(n.getIterator(),(function(e){l(t,e)&&f(i,e)})),i}},97869:function(e,t,n){var r=n(68520),i=n(54341),o=r("Set"),a=o.prototype;e.exports={Set:o,add:i("add",1),has:i("has",1),remove:i("delete",1),proto:a,$has:a.has,$keys:a.keys}},4749:function(e,t,n){"use strict";var r=n(20902),i=n(97869),o=n(75787),a=n(47029),s=n(84828),u=n(71967),c=i.Set,l=i.add,f=i.has,d=i.$has,p=i.$keys;e.exports=function(e){var t,n=r(this),i=a(e),h=new c;if(((t=i).has!==d||t.keys!==p)&&o(n)>i.size){if(u(i.getIterator(),(function(e){f(n,e)&&l(h,e)})),o(h)<2)return h;var g=h;h=new c,s(n,(function(e){f(g,e)&&l(h,e)}))}else s(n,(function(e){i.includes(e)&&l(h,e)}));return h}},9789:function(e,t,n){"use strict";var r=n(20902),i=n(97869).has,o=n(75787),a=n(47029),s=n(84828),u=n(71967);e.exports=function(e){var t=r(this),n=a(e);return!1!==(o(t)<=n.size?s(t,(function(e){if(n.includes(e))return!1}),!0):u(n.getIterator(),(function(e){if(i(t,e))return!1})))}},36067:function(e,t,n){"use strict";var r=n(20902),i=n(75787),o=n(84828),a=n(47029);e.exports=function(e){var t=r(this),n=a(e);return!(i(t)>n.size)&&!1!==o(t,(function(e){if(!n.includes(e))return!1}),!0)}},42850:function(e,t,n){"use strict";var r=n(20902),i=n(97869).has,o=n(75787),a=n(47029),s=n(71967);e.exports=function(e){var t=r(this),n=a(e);return!(o(t)<n.size)&&!1!==s(n.getIterator(),(function(e){if(!1===i(t,e))return!1}))}},84828:function(e,t,n){var r=n(71967);e.exports=function(e,t,n){return n?r(e.keys(),t):e.forEach(t)}},78513:function(e){e.exports=function(){return!1}},75787:function(e){e.exports=function(e){return e.size}},971:function(e,t,n){"use strict";var r=n(68520),i=n(26779),o=n(77431),a=n(92290),s=o("species");e.exports=function(e){var t=r(e),n=i.f;a&&t&&!t[s]&&n(t,s,{configurable:!0,get:function(){return this}})}},76766:function(e,t,n){"use strict";var r=n(20902),i=n(97869),o=n(14272),a=n(47029),s=n(71967),u=i.add,c=i.has,l=i.remove;e.exports=function(e){var t=r(this),n=a(e).getIterator(),i=o(t);return s(n,(function(e){c(t,e)?l(i,e):u(i,e)})),i}},34026:function(e,t,n){var r=n(60639),i=n(26779).f,o=n(93446),a=n(79728),s=n(6350),u=n(77431)("toStringTag");e.exports=function(e,t,n,c){if(e){var l=n?e:e.prototype;a(l,u)||i(l,u,{configurable:!0,value:t}),c&&!r&&o(l,"toString",s)}}},41172:function(e,t,n){"use strict";var r=n(20902),i=n(97869).add,o=n(14272),a=n(47029),s=n(71967);e.exports=function(e){var t=r(this),n=a(e).getIterator(),u=o(t);return s(n,(function(e){i(u,e)})),u}},22434:function(e,t,n){var r=n(51887),i=n(60853),o=r("keys");e.exports=function(e){return o[e]||(o[e]=i(e))}},24156:function(e,t,n){var r=n(82202),i=n(13143),o="__core-js_shared__",a=r[o]||i(o,{});e.exports=a},51887:function(e,t,n){var r=n(54956),i=n(24156);(e.exports=function(e,t){return i[e]||(i[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.27.1",mode:r?"pure":"global",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.27.1/LICENSE",source:"https://github.com/zloirock/core-js"})},34237:function(e,t,n){var r=n(64950),i=n(31413),o=n(48056),a=n(77431)("species");e.exports=function(e,t){var n,s=r(e).constructor;return void 0===s||o(n=r(s)[a])?t:i(n)}},32495:function(e,t,n){var r=n(32108),i=n(36225),o=n(91841),a=n(96413),s=r("".charAt),u=r("".charCodeAt),c=r("".slice),l=function(e){return function(t,n){var r,l,f=o(a(t)),d=i(n),p=f.length;return d<0||d>=p?e?"":void 0:(r=u(f,d))<55296||r>56319||d+1===p||(l=u(f,d+1))<56320||l>57343?e?s(f,d):r:e?c(f,d,d+2):l-56320+(r-55296<<10)+65536}};e.exports={codeAt:l(!1),charAt:l(!0)}},70799:function(e,t,n){var r=n(26023);e.exports=/Version\/10(?:\.\d+){1,2}(?: [\w./]+)?(?: Mobile\/\w+)? Safari\//.test(r)},13702:function(e,t,n){var r=n(32108),i=n(39875),o=n(91841),a=n(96756),s=n(96413),u=r(a),c=r("".slice),l=Math.ceil,f=function(e){return function(t,n,r){var a,f,d=o(s(t)),p=i(n),h=d.length,g=void 0===r?" ":o(r);return p<=h||""==g?d:((f=u(g,l((a=p-h)/g.length))).length>a&&(f=c(f,0,a)),e?d+f:f+d)}};e.exports={start:f(!1),end:f(!0)}},42068:function(e,t,n){"use strict";var r=n(32108),i=2147483647,o=/[^\0-\u007E]/,a=/[.\u3002\uFF0E\uFF61]/g,s="Overflow: input needs wider integers to process",u=RangeError,c=r(a.exec),l=Math.floor,f=String.fromCharCode,d=r("".charCodeAt),p=r([].join),h=r([].push),g=r("".replace),m=r("".split),y=r("".toLowerCase),v=function(e){return e+22+75*(e<26)},b=function(e,t,n){var r=0;for(e=n?l(e/700):e>>1,e+=l(e/t);e>455;)e=l(e/35),r+=36;return l(r+36*e/(e+38))},_=function(e){var t=[];e=function(e){for(var t=[],n=0,r=e.length;n<r;){var i=d(e,n++);if(i>=55296&&i<=56319&&n<r){var o=d(e,n++);56320==(64512&o)?h(t,((1023&i)<<10)+(1023&o)+65536):(h(t,i),n--)}else h(t,i)}return t}(e);var n,r,o=e.length,a=128,c=0,g=72;for(n=0;n<e.length;n++)(r=e[n])<128&&h(t,f(r));var m=t.length,y=m;for(m&&h(t,"-");y<o;){var _=i;for(n=0;n<e.length;n++)(r=e[n])>=a&&r<_&&(_=r);var w=y+1;if(_-a>l((i-c)/w))throw u(s);for(c+=(_-a)*w,a=_,n=0;n<e.length;n++){if((r=e[n])<a&&++c>i)throw u(s);if(r==a){for(var T=c,x=36;;){var S=x<=g?1:x>=g+26?26:x-g;if(T<S)break;var k=T-S,E=36-S;h(t,f(v(S+k%E))),T=l(k/E),x+=36}h(t,f(v(T))),g=b(c,w,y==m),c=0,y++}}c++,a++}return p(t,"")};e.exports=function(e){var t,n,r=[],i=m(g(y(e),a,"."),".");for(t=0;t<i.length;t++)n=i[t],h(r,c(o,n)?"xn--"+_(n):n);return p(r,".")}},96756:function(e,t,n){"use strict";var r=n(36225),i=n(91841),o=n(96413),a=RangeError;e.exports=function(e){var t=i(o(this)),n="",s=r(e);if(s<0||s==1/0)throw a("Wrong number of repetitions");for(;s>0;(s>>>=1)&&(t+=t))1&s&&(n+=t);return n}},8052:function(e,t,n){var r=n(40637).PROPER,i=n(13315),o=n(9692);e.exports=function(e){return i((function(){return!!o[e]()||"​…᠎"!=="​…᠎"[e]()||r&&o[e].name!==e}))}},14545:function(e,t,n){var r=n(32108),i=n(96413),o=n(91841),a=n(9692),s=r("".replace),u="["+a+"]",c=RegExp("^"+u+u+"*"),l=RegExp(u+u+"*$"),f=function(e){return function(t){var n=o(i(t));return 1&e&&(n=s(n,c,"")),2&e&&(n=s(n,l,"")),n}};e.exports={start:f(1),end:f(2),trim:f(3)}},9009:function(e,t,n){var r=n(67544),i=n(13315);e.exports=!!Object.getOwnPropertySymbols&&!i((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&r&&r<41}))},59423:function(e,t,n){var r=n(93344),i=n(68520),o=n(77431),a=n(46037);e.exports=function(){var e=i("Symbol"),t=e&&e.prototype,n=t&&t.valueOf,s=o("toPrimitive");t&&!t[s]&&a(t,s,(function(e){return r(n,this)}),{arity:1})}},62243:function(e,t,n){var r=n(9009);e.exports=r&&!!Symbol.for&&!!Symbol.keyFor},91085:function(e,t,n){var r,i,o,a,s=n(82202),u=n(26477),c=n(1912),l=n(16615),f=n(79728),d=n(13315),p=n(48238),h=n(76253),g=n(13696),m=n(88163),y=n(87812),v=n(61353),b=s.setImmediate,_=s.clearImmediate,w=s.process,T=s.Dispatch,x=s.Function,S=s.MessageChannel,k=s.String,E=0,O={},C="onreadystatechange";try{r=s.location}catch(e){}var L=function(e){if(f(O,e)){var t=O[e];delete O[e],t()}},A=function(e){return function(){L(e)}},I=function(e){L(e.data)},P=function(e){s.postMessage(k(e),r.protocol+"//"+r.host)};b&&_||(b=function(e){m(arguments.length,1);var t=l(e)?e:x(e),n=h(arguments,1);return O[++E]=function(){u(t,void 0,n)},i(E),E},_=function(e){delete O[e]},v?i=function(e){w.nextTick(A(e))}:T&&T.now?i=function(e){T.now(A(e))}:S&&!y?(a=(o=new S).port2,o.port1.onmessage=I,i=c(a.postMessage,a)):s.addEventListener&&l(s.postMessage)&&!s.importScripts&&r&&"file:"!==r.protocol&&!d(P)?(i=P,s.addEventListener("message",I,!1)):i=C in g("script")?function(e){p.appendChild(g("script")).onreadystatechange=function(){p.removeChild(this),L(e)}}:function(e){setTimeout(A(e),0)}),e.exports={set:b,clear:_}},4351:function(e,t,n){var r=n(36225),i=Math.max,o=Math.min;e.exports=function(e,t){var n=r(e);return n<0?i(n+t,0):o(n,t)}},51015:function(e,t,n){var r=n(66864),i=n(96413);e.exports=function(e){return r(i(e))}},36225:function(e,t,n){var r=n(59798);e.exports=function(e){var t=+e;return t!=t||0===t?0:r(t)}},39875:function(e,t,n){var r=n(36225),i=Math.min;e.exports=function(e){return e>0?i(r(e),9007199254740991):0}},66504:function(e,t,n){var r=n(96413),i=Object;e.exports=function(e){return i(r(e))}},20865:function(e,t,n){var r=n(93344),i=n(66106),o=n(23506),a=n(72173),s=n(3185),u=n(77431),c=TypeError,l=u("toPrimitive");e.exports=function(e,t){if(!i(e)||o(e))return e;var n,u=a(e,l);if(u){if(void 0===t&&(t="default"),n=r(u,e,t),!i(n)||o(n))return n;throw c("Can't convert object to primitive value")}return void 0===t&&(t="number"),s(e,t)}},70738:function(e,t,n){var r=n(20865),i=n(23506);e.exports=function(e){var t=r(e,"string");return i(t)?t:t+""}},65961:function(e,t,n){var r=n(68520),i=n(16615),o=n(15545),a=n(66106),s=r("Set");e.exports=function(e){return function(e){return a(e)&&"number"==typeof e.size&&i(e.has)&&i(e.keys)}(e)?e:o(e)?new s(e):void 0}},60639:function(e,t,n){var r={};r[n(77431)("toStringTag")]="z",e.exports="[object z]"===String(r)},91841:function(e,t,n){var r=n(50176),i=String;e.exports=function(e){if("Symbol"===r(e))throw TypeError("Cannot convert a Symbol value to a string");return i(e)}},37254:function(e){var t=String;e.exports=function(e){try{return t(e)}catch(e){return"Object"}}},60853:function(e,t,n){var r=n(32108),i=0,o=Math.random(),a=r(1..toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+a(++i+o,36)}},44478:function(e,t,n){var r=n(13315),i=n(77431),o=n(54956),a=i("iterator");e.exports=!r((function(){var e=new URL("b?a=1&b=2&c=3","http://a"),t=e.searchParams,n="";return e.pathname="c%20d",t.forEach((function(e,r){t.delete("b"),n+=r+e})),o&&!e.toJSON||!t.sort||"http://a/c%20d?a=1&c=3"!==e.href||"3"!==t.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!t[a]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("http://тест").host||"#%D0%B1"!==new URL("http://a#б").hash||"a1c3"!==n||"x"!==new URL("http://x",void 0).host}))},82754:function(e,t,n){var r=n(9009);e.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},85262:function(e,t,n){var r=n(92290),i=n(13315);e.exports=r&&i((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},88163:function(e){var t=TypeError;e.exports=function(e,n){if(e<n)throw t("Not enough arguments");return e}},27103:function(e,t,n){var r=n(82202),i=n(16615),o=r.WeakMap;e.exports=i(o)&&/native code/.test(String(o))},1307:function(e,t,n){var r=n(68520),i=n(54341);e.exports={WeakMap:r("WeakMap"),set:i("set",2),get:i("get",1),has:i("has",1),remove:i("delete",1)}},84282:function(e,t,n){var r=n(5058),i=n(79728),o=n(88239),a=n(26779).f;e.exports=function(e){var t=r.Symbol||(r.Symbol={});i(t,e)||a(t,e,{value:o.f(e)})}},88239:function(e,t,n){var r=n(77431);t.f=r},77431:function(e,t,n){var r=n(82202),i=n(51887),o=n(79728),a=n(60853),s=n(9009),u=n(82754),c=i("wks"),l=r.Symbol,f=l&&l.for,d=u?l:l&&l.withoutSetter||a;e.exports=function(e){if(!o(c,e)||!s&&"string"!=typeof c[e]){var t="Symbol."+e;s&&o(l,e)?c[e]=l[e]:c[e]=u&&f?f(t):d(t)}return c[e]}},9692:function(e){e.exports="\t\n\v\f\r                 \u2028\u2029\ufeff"},12309:function(e,t,n){"use strict";var r=n(65609),i=n(41535),o=n(29569),a=n(11244),s=n(80359),u=n(58743),c=n(93446),l=n(42630),f=n(8604),d=n(90249),p=n(4553),h=n(46914),g=n(77431),m=n(44774),y=g("toStringTag"),v=Error,b=[].push,_=function(e,t){var n,r=arguments.length>2?arguments[2]:void 0,s=i(w,this);a?n=a(v(),s?o(this):w):(n=s?this:u(w),c(n,y,"Error")),void 0!==t&&c(n,"message",h(t)),m&&c(n,"stack",f(n.stack,1)),d(n,r);var l=[];return p(e,b,{that:l}),c(n,"errors",l),n};a?a(_,v):s(_,v,{name:!0});var w=_.prototype=u(v.prototype,{constructor:l(1,_),message:l(1,""),name:l(1,"AggregateError")});r({global:!0,constructor:!0,arity:2},{AggregateError:_})},72750:function(e,t,n){n(12309)},79398:function(e,t,n){"use strict";var r=n(65609),i=n(13315),o=n(55345),a=n(66106),s=n(66504),u=n(33268),c=n(58981),l=n(79869),f=n(48071),d=n(71319),p=n(77431),h=n(67544),g=p("isConcatSpreadable"),m=h>=51||!i((function(){var e=[];return e[g]=!1,e.concat()[0]!==e})),y=d("concat"),v=function(e){if(!a(e))return!1;var t=e[g];return void 0!==t?!!t:o(e)};r({target:"Array",proto:!0,arity:1,forced:!m||!y},{concat:function(e){var t,n,r,i,o,a=s(this),d=f(a,0),p=0;for(t=-1,r=arguments.length;t<r;t++)if(v(o=-1===t?a:arguments[t]))for(i=u(o),c(p+i),n=0;n<i;n++,p++)n in o&&l(d,p,o[n]);else c(p+1),l(d,p++,o);return d.length=p,d}})},99632:function(e,t,n){var r=n(65609),i=n(8660),o=n(7272);r({target:"Array",proto:!0},{fill:i}),o("fill")},38215:function(e,t,n){"use strict";var r=n(65609),i=n(2912).filter;r({target:"Array",proto:!0,forced:!n(71319)("filter")},{filter:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}})},11688:function(e,t,n){"use strict";var r=n(65609),i=n(2912).findIndex,o=n(7272),a="findIndex",s=!0;a in[]&&Array(1).findIndex((function(){s=!1})),r({target:"Array",proto:!0,forced:s},{findIndex:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}}),o(a)},79435:function(e,t,n){"use strict";var r=n(65609),i=n(2912).find,o=n(7272),a="find",s=!0;a in[]&&Array(1).find((function(){s=!1})),r({target:"Array",proto:!0,forced:s},{find:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}}),o(a)},82356:function(e,t,n){"use strict";var r=n(65609),i=n(99308);r({target:"Array",proto:!0,forced:[].forEach!=i},{forEach:i})},34521:function(e,t,n){var r=n(65609),i=n(4133);r({target:"Array",stat:!0,forced:!n(94337)((function(e){Array.from(e)}))},{from:i})},93455:function(e,t,n){"use strict";var r=n(65609),i=n(89830).includes,o=n(13315),a=n(7272);r({target:"Array",proto:!0,forced:o((function(){return!Array(1).includes()}))},{includes:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}}),a("includes")},25749:function(e,t,n){"use strict";var r=n(65609),i=n(40352),o=n(89830).indexOf,a=n(16680),s=i([].indexOf),u=!!s&&1/s([1],1,-0)<0,c=a("indexOf");r({target:"Array",proto:!0,forced:u||!c},{indexOf:function(e){var t=arguments.length>1?arguments[1]:void 0;return u?s(this,e,t)||0:o(this,e,t)}})},81847:function(e,t,n){n(65609)({target:"Array",stat:!0},{isArray:n(55345)})},30963:function(e,t,n){"use strict";var r=n(51015),i=n(7272),o=n(87551),a=n(90293),s=n(26779).f,u=n(7112),c=n(78462),l=n(54956),f=n(92290),d="Array Iterator",p=a.set,h=a.getterFor(d);e.exports=u(Array,"Array",(function(e,t){p(this,{type:d,target:r(e),index:0,kind:t})}),(function(){var e=h(this),t=e.target,n=e.kind,r=e.index++;return!t||r>=t.length?(e.target=void 0,c(void 0,!0)):c("keys"==n?r:"values"==n?t[r]:[r,t[r]],!1)}),"values");var g=o.Arguments=o.Array;if(i("keys"),i("values"),i("entries"),!l&&f&&"values"!==g.name)try{s(g,"name",{value:"values"})}catch(e){}},94889:function(e,t,n){"use strict";var r=n(65609),i=n(2912).map;r({target:"Array",proto:!0,forced:!n(71319)("map")},{map:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}})},11229:function(e,t,n){"use strict";var r=n(65609),i=n(32108),o=n(55345),a=i([].reverse),s=[1,2];r({target:"Array",proto:!0,forced:String(s)===String(s.reverse())},{reverse:function(){return o(this)&&(this.length=this.length),a(this)}})},1859:function(e,t,n){"use strict";var r=n(65609),i=n(55345),o=n(68630),a=n(66106),s=n(4351),u=n(33268),c=n(51015),l=n(79869),f=n(77431),d=n(71319),p=n(76253),h=d("slice"),g=f("species"),m=Array,y=Math.max;r({target:"Array",proto:!0,forced:!h},{slice:function(e,t){var n,r,f,d=c(this),h=u(d),v=s(e,h),b=s(void 0===t?h:t,h);if(i(d)&&(n=d.constructor,(o(n)&&(n===m||i(n.prototype))||a(n)&&null===(n=n[g]))&&(n=void 0),n===m||void 0===n))return p(d,v,b);for(r=new(void 0===n?m:n)(y(b-v,0)),f=0;v<b;v++,f++)v in d&&l(r,f,d[v]);return r.length=f,r}})},76237:function(e,t,n){"use strict";var r=n(65609),i=n(32108),o=n(86148),a=n(66504),s=n(33268),u=n(74114),c=n(91841),l=n(13315),f=n(65702),d=n(16680),p=n(38823),h=n(51918),g=n(67544),m=n(92323),y=[],v=i(y.sort),b=i(y.push),_=l((function(){y.sort(void 0)})),w=l((function(){y.sort(null)})),T=d("sort"),x=!l((function(){if(g)return g<70;if(!(p&&p>3)){if(h)return!0;if(m)return m<603;var e,t,n,r,i="";for(e=65;e<76;e++){switch(t=String.fromCharCode(e),e){case 66:case 69:case 70:case 72:n=3;break;case 68:case 71:n=4;break;default:n=2}for(r=0;r<47;r++)y.push({k:t+r,v:n})}for(y.sort((function(e,t){return t.v-e.v})),r=0;r<y.length;r++)t=y[r].k.charAt(0),i.charAt(i.length-1)!==t&&(i+=t);return"DGBEFHACIJK"!==i}}));r({target:"Array",proto:!0,forced:_||!w||!T||!x},{sort:function(e){void 0!==e&&o(e);var t=a(this);if(x)return void 0===e?v(t):v(t,e);var n,r,i=[],l=s(t);for(r=0;r<l;r++)r in t&&b(i,t[r]);for(f(i,function(e){return function(t,n){return void 0===n?-1:void 0===t?1:void 0!==e?+e(t,n)||0:c(t)>c(n)?1:-1}}(e)),n=s(i),r=0;r<n;)t[r]=i[r++];for(;r<l;)u(t,r++);return t}})},14109:function(){},98039:function(e,t,n){var r=n(65609),i=n(74908);r({target:"Function",proto:!0,forced:Function.bind!==i},{bind:i})},67399:function(e,t,n){var r=n(65609),i=n(82202);r({global:!0,forced:i.globalThis!==i},{globalThis:i})},19737:function(e,t,n){var r=n(65609),i=n(68520),o=n(26477),a=n(93344),s=n(32108),u=n(13315),c=n(55345),l=n(16615),f=n(66106),d=n(23506),p=n(76253),h=n(9009),g=i("JSON","stringify"),m=s(/./.exec),y=s("".charAt),v=s("".charCodeAt),b=s("".replace),_=s(1..toString),w=/[\uD800-\uDFFF]/g,T=/^[\uD800-\uDBFF]$/,x=/^[\uDC00-\uDFFF]$/,S=!h||u((function(){var e=i("Symbol")();return"[null]"!=g([e])||"{}"!=g({a:e})||"{}"!=g(Object(e))})),k=u((function(){return'"\\udf06\\ud834"'!==g("\udf06\ud834")||'"\\udead"'!==g("\udead")})),E=function(e,t){var n=p(arguments),r=t;if((f(t)||void 0!==e)&&!d(e))return c(t)||(t=function(e,t){if(l(r)&&(t=a(r,this,e,t)),!d(t))return t}),n[1]=t,o(g,null,n)},O=function(e,t,n){var r=y(n,t-1),i=y(n,t+1);return m(T,e)&&!m(x,i)||m(x,e)&&!m(T,r)?"\\u"+_(v(e,0),16):e};g&&r({target:"JSON",stat:!0,arity:3,forced:S||k},{stringify:function(e,t,n){var r=p(arguments),i=o(S?E:g,null,r);return k&&"string"==typeof i?b(i,w,O):i}})},78655:function(e,t,n){var r=n(82202);n(34026)(r.JSON,"JSON",!0)},6885:function(e,t,n){"use strict";n(27166)("Map",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),n(30870))},12297:function(e,t,n){n(6885)},8544:function(e,t,n){var r=n(65609),i=n(79014),o=Math.abs,a=Math.pow;r({target:"Math",stat:!0},{cbrt:function(e){var t=+e;return i(t)*a(o(t),1/3)}})},63041:function(e,t,n){n(65609)({target:"Math",stat:!0},{log10:n(45475)})},83560:function(e,t,n){n(65609)({target:"Math",stat:!0},{sign:n(79014)})},15913:function(){},39467:function(e,t,n){n(65609)({target:"Number",stat:!0},{isInteger:n(70832)})},504:function(e,t,n){n(65609)({target:"Number",stat:!0},{isNaN:function(e){return e!=e}})},99421:function(e,t,n){n(65609)({target:"Number",stat:!0,nonConfigurable:!0,nonWritable:!0},{MAX_SAFE_INTEGER:9007199254740991})},64564:function(e,t,n){var r=n(65609),i=n(13110);r({target:"Object",stat:!0,arity:2,forced:Object.assign!==i},{assign:i})},13365:function(e,t,n){n(65609)({target:"Object",stat:!0,sham:!n(92290)},{create:n(58743)})},42883:function(e,t,n){var r=n(65609),i=n(92290),o=n(26779).f;r({target:"Object",stat:!0,forced:Object.defineProperty!==o,sham:!i},{defineProperty:o})},74152:function(e,t,n){var r=n(65609),i=n(11276).entries;r({target:"Object",stat:!0},{entries:function(e){return i(e)}})},18909:function(e,t,n){var r=n(65609),i=n(13315),o=n(51015),a=n(40406).f,s=n(92290),u=i((function(){a(1)}));r({target:"Object",stat:!0,forced:!s||u,sham:!s},{getOwnPropertyDescriptor:function(e,t){return a(o(e),t)}})},51690:function(e,t,n){var r=n(65609),i=n(92290),o=n(1271),a=n(51015),s=n(40406),u=n(79869);r({target:"Object",stat:!0,sham:!i},{getOwnPropertyDescriptors:function(e){for(var t,n,r=a(e),i=s.f,c=o(r),l={},f=0;c.length>f;)void 0!==(n=i(r,t=c[f++]))&&u(l,t,n);return l}})},69169:function(e,t,n){var r=n(65609),i=n(9009),o=n(13315),a=n(74749),s=n(66504);r({target:"Object",stat:!0,forced:!i||o((function(){a.f(1)}))},{getOwnPropertySymbols:function(e){var t=a.f;return t?t(s(e)):[]}})},22569:function(e,t,n){var r=n(65609),i=n(13315),o=n(66504),a=n(29569),s=n(49723);r({target:"Object",stat:!0,forced:i((function(){a(1)})),sham:!s},{getPrototypeOf:function(e){return a(o(e))}})},93424:function(e,t,n){n(65609)({target:"Object",stat:!0},{is:n(77959)})},44261:function(e,t,n){var r=n(65609),i=n(66504),o=n(12569);r({target:"Object",stat:!0,forced:n(13315)((function(){o(1)}))},{keys:function(e){return o(i(e))}})},9652:function(e,t,n){n(65609)({target:"Object",stat:!0},{setPrototypeOf:n(11244)})},30277:function(){},76818:function(e,t,n){var r=n(65609),i=n(11276).values;r({target:"Object",stat:!0},{values:function(e){return i(e)}})},49230:function(e,t,n){"use strict";var r=n(65609),i=n(93344),o=n(86148),a=n(12290),s=n(90830),u=n(4553);r({target:"Promise",stat:!0},{allSettled:function(e){var t=this,n=a.f(t),r=n.resolve,c=n.reject,l=s((function(){var n=o(t.resolve),a=[],s=0,c=1;u(e,(function(e){var o=s++,u=!1;c++,i(n,t,e).then((function(e){u||(u=!0,a[o]={status:"fulfilled",value:e},--c||r(a))}),(function(e){u||(u=!0,a[o]={status:"rejected",reason:e},--c||r(a))}))})),--c||r(a)}));return l.error&&c(l.value),n.promise}})},29703:function(e,t,n){"use strict";var r=n(65609),i=n(93344),o=n(86148),a=n(12290),s=n(90830),u=n(4553);r({target:"Promise",stat:!0,forced:n(48240)},{all:function(e){var t=this,n=a.f(t),r=n.resolve,c=n.reject,l=s((function(){var n=o(t.resolve),a=[],s=0,l=1;u(e,(function(e){var o=s++,u=!1;l++,i(n,t,e).then((function(e){u||(u=!0,a[o]=e,--l||r(a))}),c)})),--l||r(a)}));return l.error&&c(l.value),n.promise}})},33978:function(e,t,n){"use strict";var r=n(65609),i=n(93344),o=n(86148),a=n(68520),s=n(12290),u=n(90830),c=n(4553),l="No one promise resolved";r({target:"Promise",stat:!0},{any:function(e){var t=this,n=a("AggregateError"),r=s.f(t),f=r.resolve,d=r.reject,p=u((function(){var r=o(t.resolve),a=[],s=0,u=1,p=!1;c(e,(function(e){var o=s++,c=!1;u++,i(r,t,e).then((function(e){c||p||(p=!0,f(e))}),(function(e){c||p||(c=!0,a[o]=e,--u||d(new n(a,l)))}))})),--u||d(new n(a,l))}));return p.error&&d(p.value),r.promise}})},12049:function(e,t,n){"use strict";var r=n(65609),i=n(54956),o=n(61061).CONSTRUCTOR,a=n(63463),s=n(68520),u=n(16615),c=n(46037),l=a&&a.prototype;if(r({target:"Promise",proto:!0,forced:o,real:!0},{catch:function(e){return this.then(void 0,e)}}),!i&&u(a)){var f=s("Promise").prototype.catch;l.catch!==f&&c(l,"catch",f,{unsafe:!0})}},84062:function(e,t,n){"use strict";var r,i,o,a=n(65609),s=n(54956),u=n(61353),c=n(82202),l=n(93344),f=n(46037),d=n(11244),p=n(34026),h=n(971),g=n(86148),m=n(16615),y=n(66106),v=n(77423),b=n(34237),_=n(91085).set,w=n(75404),T=n(22189),x=n(90830),S=n(73129),k=n(90293),E=n(63463),O=n(61061),C=n(12290),L="Promise",A=O.CONSTRUCTOR,I=O.REJECTION_EVENT,P=O.SUBCLASSING,M=k.getterFor(L),R=k.set,j=E&&E.prototype,D=E,N=j,B=c.TypeError,U=c.document,F=c.process,z=C.f,H=z,Z=!!(U&&U.createEvent&&c.dispatchEvent),q="unhandledrejection",V=function(e){var t;return!(!y(e)||!m(t=e.then))&&t},W=function(e,t){var n,r,i,o=t.value,a=1==t.state,s=a?e.ok:e.fail,u=e.resolve,c=e.reject,f=e.domain;try{s?(a||(2===t.rejection&&X(t),t.rejection=1),!0===s?n=o:(f&&f.enter(),n=s(o),f&&(f.exit(),i=!0)),n===e.promise?c(B("Promise-chain cycle")):(r=V(n))?l(r,n,u,c):u(n)):c(o)}catch(e){f&&!i&&f.exit(),c(e)}},G=function(e,t){e.notified||(e.notified=!0,w((function(){for(var n,r=e.reactions;n=r.get();)W(n,e);e.notified=!1,t&&!e.rejection&&Y(e)})))},$=function(e,t,n){var r,i;Z?((r=U.createEvent("Event")).promise=t,r.reason=n,r.initEvent(e,!1,!0),c.dispatchEvent(r)):r={promise:t,reason:n},!I&&(i=c["on"+e])?i(r):e===q&&T("Unhandled promise rejection",n)},Y=function(e){l(_,c,(function(){var t,n=e.facade,r=e.value;if(K(e)&&(t=x((function(){u?F.emit("unhandledRejection",r,n):$(q,n,r)})),e.rejection=u||K(e)?2:1,t.error))throw t.value}))},K=function(e){return 1!==e.rejection&&!e.parent},X=function(e){l(_,c,(function(){var t=e.facade;u?F.emit("rejectionHandled",t):$("rejectionhandled",t,e.value)}))},Q=function(e,t,n){return function(r){e(t,r,n)}},J=function(e,t,n){e.done||(e.done=!0,n&&(e=n),e.value=t,e.state=2,G(e,!0))},ee=function(e,t,n){if(!e.done){e.done=!0,n&&(e=n);try{if(e.facade===t)throw B("Promise can't be resolved itself");var r=V(t);r?w((function(){var n={done:!1};try{l(r,t,Q(ee,n,e),Q(J,n,e))}catch(t){J(n,t,e)}})):(e.value=t,e.state=1,G(e,!1))}catch(t){J({done:!1},t,e)}}};if(A&&(N=(D=function(e){v(this,N),g(e),l(r,this);var t=M(this);try{e(Q(ee,t),Q(J,t))}catch(e){J(t,e)}}).prototype,(r=function(e){R(this,{type:L,done:!1,notified:!1,parent:!1,reactions:new S,rejection:!1,state:0,value:void 0})}).prototype=f(N,"then",(function(e,t){var n=M(this),r=z(b(this,D));return n.parent=!0,r.ok=!m(e)||e,r.fail=m(t)&&t,r.domain=u?F.domain:void 0,0==n.state?n.reactions.add(r):w((function(){W(r,n)})),r.promise})),i=function(){var e=new r,t=M(e);this.promise=e,this.resolve=Q(ee,t),this.reject=Q(J,t)},C.f=z=function(e){return e===D||undefined===e?new i(e):H(e)},!s&&m(E)&&j!==Object.prototype)){o=j.then,P||f(j,"then",(function(e,t){var n=this;return new D((function(e,t){l(o,n,e,t)})).then(e,t)}),{unsafe:!0});try{delete j.constructor}catch(e){}d&&d(j,N)}a({global:!0,constructor:!0,wrap:!0,forced:A},{Promise:D}),p(D,L,!1,!0),h(L)},39952:function(e,t,n){"use strict";var r=n(65609),i=n(54956),o=n(63463),a=n(13315),s=n(68520),u=n(16615),c=n(34237),l=n(86538),f=n(46037),d=o&&o.prototype;if(r({target:"Promise",proto:!0,real:!0,forced:!!o&&a((function(){d.finally.call({then:function(){}},(function(){}))}))},{finally:function(e){var t=c(this,s("Promise")),n=u(e);return this.then(n?function(n){return l(t,e()).then((function(){return n}))}:e,n?function(n){return l(t,e()).then((function(){throw n}))}:e)}}),!i&&u(o)){var p=s("Promise").prototype.finally;d.finally!==p&&f(d,"finally",p,{unsafe:!0})}},57491:function(e,t,n){n(84062),n(29703),n(12049),n(68464),n(4361),n(10610)},68464:function(e,t,n){"use strict";var r=n(65609),i=n(93344),o=n(86148),a=n(12290),s=n(90830),u=n(4553);r({target:"Promise",stat:!0,forced:n(48240)},{race:function(e){var t=this,n=a.f(t),r=n.reject,c=s((function(){var a=o(t.resolve);u(e,(function(e){i(a,t,e).then(n.resolve,r)}))}));return c.error&&r(c.value),n.promise}})},4361:function(e,t,n){"use strict";var r=n(65609),i=n(93344),o=n(12290);r({target:"Promise",stat:!0,forced:n(61061).CONSTRUCTOR},{reject:function(e){var t=o.f(this);return i(t.reject,void 0,e),t.promise}})},10610:function(e,t,n){"use strict";var r=n(65609),i=n(68520),o=n(54956),a=n(63463),s=n(61061).CONSTRUCTOR,u=n(86538),c=i("Promise"),l=o&&!s;r({target:"Promise",stat:!0,forced:o||s},{resolve:function(e){return u(l&&this===c?a:this,e)}})},24679:function(e,t,n){var r=n(65609),i=n(68520),o=n(26477),a=n(74908),s=n(31413),u=n(64950),c=n(66106),l=n(58743),f=n(13315),d=i("Reflect","construct"),p=Object.prototype,h=[].push,g=f((function(){function e(){}return!(d((function(){}),[],e)instanceof e)})),m=!f((function(){d((function(){}))})),y=g||m;r({target:"Reflect",stat:!0,forced:y,sham:y},{construct:function(e,t){s(e),u(t);var n=arguments.length<3?e:s(arguments[2]);if(m&&!g)return d(e,t,n);if(e==n){switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3])}var r=[null];return o(h,r,t),new(o(a,e,r))}var i=n.prototype,f=l(c(i)?i:p),y=o(e,f,t);return c(y)?y:f}})},22382:function(e,t,n){var r=n(65609),i=n(93344),o=n(66106),a=n(64950),s=n(24753),u=n(40406),c=n(29569);r({target:"Reflect",stat:!0},{get:function e(t,n){var r,l,f=arguments.length<3?t:arguments[2];return a(t)===f?t[n]:(r=u.f(t,n))?s(r)?r.value:void 0===r.get?void 0:i(r.get,f):o(l=c(t))?e(l,n,f):void 0}})},77014:function(){},10466:function(e,t,n){"use strict";n(27166)("Set",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),n(30870))},1753:function(e,t,n){n(10466)},28107:function(e,t,n){"use strict";var r,i=n(65609),o=n(40352),a=n(40406).f,s=n(39875),u=n(91841),c=n(43708),l=n(96413),f=n(45023),d=n(54956),p=o("".endsWith),h=o("".slice),g=Math.min,m=f("endsWith");i({target:"String",proto:!0,forced:!!(d||m||(r=a(String.prototype,"endsWith"),!r||r.writable))&&!m},{endsWith:function(e){var t=u(l(this));c(e);var n=arguments.length>1?arguments[1]:void 0,r=t.length,i=void 0===n?r:g(s(n),r),o=u(e);return p?p(t,o,i):h(t,i-o.length,i)===o}})},2126:function(e,t,n){"use strict";var r=n(65609),i=n(32108),o=n(43708),a=n(96413),s=n(91841),u=n(45023),c=i("".indexOf);r({target:"String",proto:!0,forced:!u("includes")},{includes:function(e){return!!~c(s(a(this)),s(o(e)),arguments.length>1?arguments[1]:void 0)}})},70185:function(e,t,n){"use strict";var r=n(32495).charAt,i=n(91841),o=n(90293),a=n(7112),s=n(78462),u="String Iterator",c=o.set,l=o.getterFor(u);a(String,"String",(function(e){c(this,{type:u,string:i(e),index:0})}),(function(){var e,t=l(this),n=t.string,i=t.index;return i>=n.length?s(void 0,!0):(e=r(n,i),t.index+=e.length,s(e,!1))}))},28051:function(e,t,n){"use strict";var r=n(65609),i=n(13702).start;r({target:"String",proto:!0,forced:n(70799)},{padStart:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}})},914:function(e,t,n){"use strict";var r,i=n(65609),o=n(40352),a=n(40406).f,s=n(39875),u=n(91841),c=n(43708),l=n(96413),f=n(45023),d=n(54956),p=o("".startsWith),h=o("".slice),g=Math.min,m=f("startsWith");i({target:"String",proto:!0,forced:!!(d||m||(r=a(String.prototype,"startsWith"),!r||r.writable))&&!m},{startsWith:function(e){var t=u(l(this));c(e);var n=s(g(arguments.length>1?arguments[1]:void 0,t.length)),r=u(e);return p?p(t,r,n):h(t,n,n+r.length)===r}})},77485:function(e,t,n){"use strict";var r=n(65609),i=n(14545).trim;r({target:"String",proto:!0,forced:n(8052)("trim")},{trim:function(){return i(this)}})},63112:function(e,t,n){n(84282)("asyncIterator")},40520:function(e,t,n){"use strict";var r=n(65609),i=n(82202),o=n(93344),a=n(32108),s=n(54956),u=n(92290),c=n(9009),l=n(13315),f=n(79728),d=n(41535),p=n(64950),h=n(51015),g=n(70738),m=n(91841),y=n(42630),v=n(58743),b=n(12569),_=n(46289),w=n(32751),T=n(74749),x=n(40406),S=n(26779),k=n(79297),E=n(37222),O=n(46037),C=n(51887),L=n(22434),A=n(3641),I=n(60853),P=n(77431),M=n(88239),R=n(84282),j=n(59423),D=n(34026),N=n(90293),B=n(2912).forEach,U=L("hidden"),F="Symbol",z=N.set,H=N.getterFor(F),Z=Object.prototype,q=i.Symbol,V=q&&q.prototype,W=i.TypeError,G=i.QObject,$=x.f,Y=S.f,K=w.f,X=E.f,Q=a([].push),J=C("symbols"),ee=C("op-symbols"),te=C("wks"),ne=!G||!G.prototype||!G.prototype.findChild,re=u&&l((function(){return 7!=v(Y({},"a",{get:function(){return Y(this,"a",{value:7}).a}})).a}))?function(e,t,n){var r=$(Z,t);r&&delete Z[t],Y(e,t,n),r&&e!==Z&&Y(Z,t,r)}:Y,ie=function(e,t){var n=J[e]=v(V);return z(n,{type:F,tag:e,description:t}),u||(n.description=t),n},oe=function(e,t,n){e===Z&&oe(ee,t,n),p(e);var r=g(t);return p(n),f(J,r)?(n.enumerable?(f(e,U)&&e[U][r]&&(e[U][r]=!1),n=v(n,{enumerable:y(0,!1)})):(f(e,U)||Y(e,U,y(1,{})),e[U][r]=!0),re(e,r,n)):Y(e,r,n)},ae=function(e,t){p(e);var n=h(t),r=b(n).concat(le(n));return B(r,(function(t){u&&!o(se,n,t)||oe(e,t,n[t])})),e},se=function(e){var t=g(e),n=o(X,this,t);return!(this===Z&&f(J,t)&&!f(ee,t))&&(!(n||!f(this,t)||!f(J,t)||f(this,U)&&this[U][t])||n)},ue=function(e,t){var n=h(e),r=g(t);if(n!==Z||!f(J,r)||f(ee,r)){var i=$(n,r);return!i||!f(J,r)||f(n,U)&&n[U][r]||(i.enumerable=!0),i}},ce=function(e){var t=K(h(e)),n=[];return B(t,(function(e){f(J,e)||f(A,e)||Q(n,e)})),n},le=function(e){var t=e===Z,n=K(t?ee:h(e)),r=[];return B(n,(function(e){!f(J,e)||t&&!f(Z,e)||Q(r,J[e])})),r};c||(q=function(){if(d(V,this))throw W("Symbol is not a constructor");var e=arguments.length&&void 0!==arguments[0]?m(arguments[0]):void 0,t=I(e),n=function(e){this===Z&&o(n,ee,e),f(this,U)&&f(this[U],t)&&(this[U][t]=!1),re(this,t,y(1,e))};return u&&ne&&re(Z,t,{configurable:!0,set:n}),ie(t,e)},O(V=q.prototype,"toString",(function(){return H(this).tag})),O(q,"withoutSetter",(function(e){return ie(I(e),e)})),E.f=se,S.f=oe,k.f=ae,x.f=ue,_.f=w.f=ce,T.f=le,M.f=function(e){return ie(P(e),e)},u&&(Y(V,"description",{configurable:!0,get:function(){return H(this).description}}),s||O(Z,"propertyIsEnumerable",se,{unsafe:!0}))),r({global:!0,constructor:!0,wrap:!0,forced:!c,sham:!c},{Symbol:q}),B(b(te),(function(e){R(e)})),r({target:F,stat:!0,forced:!c},{useSetter:function(){ne=!0},useSimple:function(){ne=!1}}),r({target:"Object",stat:!0,forced:!c,sham:!u},{create:function(e,t){return void 0===t?v(e):ae(v(e),t)},defineProperty:oe,defineProperties:ae,getOwnPropertyDescriptor:ue}),r({target:"Object",stat:!0,forced:!c},{getOwnPropertyNames:ce}),j(),D(q,F),A[U]=!0},42019:function(){},52186:function(e,t,n){var r=n(65609),i=n(68520),o=n(79728),a=n(91841),s=n(51887),u=n(62243),c=s("string-to-symbol-registry"),l=s("symbol-to-string-registry");r({target:"Symbol",stat:!0,forced:!u},{for:function(e){var t=a(e);if(o(c,t))return c[t];var n=i("Symbol")(t);return c[t]=n,l[n]=t,n}})},24435:function(e,t,n){n(84282)("hasInstance")},93427:function(e,t,n){n(84282)("isConcatSpreadable")},42526:function(e,t,n){n(84282)("iterator")},21006:function(e,t,n){n(40520),n(52186),n(81936),n(19737),n(69169)},81936:function(e,t,n){var r=n(65609),i=n(79728),o=n(23506),a=n(37254),s=n(51887),u=n(62243),c=s("symbol-to-string-registry");r({target:"Symbol",stat:!0,forced:!u},{keyFor:function(e){if(!o(e))throw TypeError(a(e)+" is not a symbol");if(i(c,e))return c[e]}})},25202:function(e,t,n){n(84282)("matchAll")},3314:function(e,t,n){n(84282)("match")},46916:function(e,t,n){n(84282)("replace")},19206:function(e,t,n){n(84282)("search")},28458:function(e,t,n){n(84282)("species")},43743:function(e,t,n){n(84282)("split")},1283:function(e,t,n){var r=n(84282),i=n(59423);r("toPrimitive"),i()},17294:function(e,t,n){var r=n(68520),i=n(84282),o=n(34026);i("toStringTag"),o(r("Symbol"),"Symbol")},26287:function(e,t,n){n(84282)("unscopables")},53584:function(e,t,n){"use strict";var r,i=n(96959),o=n(82202),a=n(32108),s=n(92671),u=n(54581),c=n(27166),l=n(39017),f=n(66106),d=n(90293).enforce,p=n(13315),h=n(27103),g=Object,m=Array.isArray,y=g.isExtensible,v=g.isFrozen,b=g.isSealed,_=g.freeze,w=g.seal,T={},x={},S=!o.ActiveXObject&&"ActiveXObject"in o,k=function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}},E=c("WeakMap",k,l),O=E.prototype,C=a(O.set);if(h)if(S){r=l.getConstructor(k,"WeakMap",!0),u.enable();var L=a(O.delete),A=a(O.has),I=a(O.get);s(O,{delete:function(e){if(f(e)&&!y(e)){var t=d(this);return t.frozen||(t.frozen=new r),L(this,e)||t.frozen.delete(e)}return L(this,e)},has:function(e){if(f(e)&&!y(e)){var t=d(this);return t.frozen||(t.frozen=new r),A(this,e)||t.frozen.has(e)}return A(this,e)},get:function(e){if(f(e)&&!y(e)){var t=d(this);return t.frozen||(t.frozen=new r),A(this,e)?I(this,e):t.frozen.get(e)}return I(this,e)},set:function(e,t){if(f(e)&&!y(e)){var n=d(this);n.frozen||(n.frozen=new r),A(this,e)?C(this,e,t):n.frozen.set(e,t)}else C(this,e,t);return this}})}else i&&p((function(){var e=_([]);return C(new E,e,1),!v(e)}))&&s(O,{set:function(e,t){var n;return m(e)&&(v(e)?n=T:b(e)&&(n=x)),C(this,e,t),n==T&&_(e),n==x&&w(e),this}})},40140:function(e,t,n){n(53584)},33239:function(e,t,n){n(72750)},24031:function(e,t,n){n(67399)},17017:function(e,t,n){"use strict";var r=n(65609),i=n(7655),o=n(74833).remove;r({target:"Map",proto:!0,real:!0,forced:!0},{deleteAll:function(){for(var e,t=i(this),n=!0,r=0,a=arguments.length;r<a;r++)e=o(t,arguments[r]),n=n&&e;return!!n}})},85967:function(e,t,n){"use strict";var r=n(65609),i=n(7655),o=n(74833),a=o.get,s=o.has,u=o.set;r({target:"Map",proto:!0,real:!0,forced:!0},{emplace:function(e,t){var n,r,o=i(this);return s(o,e)?(n=a(o,e),"update"in t&&(n=t.update(n,e,o),u(o,e,n)),n):(r=t.insert(e,o),u(o,e,r),r)}})},16005:function(e,t,n){"use strict";var r=n(65609),i=n(1912),o=n(7655),a=n(36686);r({target:"Map",proto:!0,real:!0,forced:!0},{every:function(e){var t=o(this),n=i(e,arguments.length>1?arguments[1]:void 0);return!1!==a(t,(function(e,r){if(!n(e,r,t))return!1}),!0)}})},3556:function(e,t,n){"use strict";var r=n(65609),i=n(1912),o=n(7655),a=n(74833),s=n(36686),u=a.Map,c=a.set;r({target:"Map",proto:!0,real:!0,forced:!0},{filter:function(e){var t=o(this),n=i(e,arguments.length>1?arguments[1]:void 0),r=new u;return s(t,(function(e,i){n(e,i,t)&&c(r,i,e)})),r}})},72910:function(e,t,n){"use strict";var r=n(65609),i=n(1912),o=n(7655),a=n(36686);r({target:"Map",proto:!0,real:!0,forced:!0},{findKey:function(e){var t=o(this),n=i(e,arguments.length>1?arguments[1]:void 0),r=a(t,(function(e,r){if(n(e,r,t))return{key:r}}),!0);return r&&r.key}})},81582:function(e,t,n){"use strict";var r=n(65609),i=n(1912),o=n(7655),a=n(36686);r({target:"Map",proto:!0,real:!0,forced:!0},{find:function(e){var t=o(this),n=i(e,arguments.length>1?arguments[1]:void 0),r=a(t,(function(e,r){if(n(e,r,t))return{value:e}}),!0);return r&&r.value}})},45952:function(e,t,n){n(65609)({target:"Map",stat:!0,forced:!0},{from:n(37571)})},33709:function(e,t,n){"use strict";var r=n(65609),i=n(93344),o=n(32108),a=n(16615),s=n(86148),u=n(4553),c=n(74833).Map,l=o([].push);r({target:"Map",stat:!0,forced:!0},{groupBy:function(e,t){var n=new(a(this)?this:c);s(t);var r=s(n.has),o=s(n.get),f=s(n.set);return u(e,(function(e){var a=t(e);i(r,n,a)?l(i(o,n,a),e):i(f,n,a,[e])})),n}})},22547:function(e,t,n){"use strict";var r=n(65609),i=n(99428),o=n(7655),a=n(36686);r({target:"Map",proto:!0,real:!0,forced:!0},{includes:function(e){return!0===a(o(this),(function(t){if(i(t,e))return!0}),!0)}})},97803:function(e,t,n){"use strict";var r=n(65609),i=n(93344),o=n(4553),a=n(16615),s=n(86148),u=n(74833).Map;r({target:"Map",stat:!0,forced:!0},{keyBy:function(e,t){var n=new(a(this)?this:u);s(t);var r=s(n.set);return o(e,(function(e){i(r,n,t(e),e)})),n}})},53014:function(e,t,n){"use strict";var r=n(65609),i=n(7655),o=n(36686);r({target:"Map",proto:!0,real:!0,forced:!0},{keyOf:function(e){var t=o(i(this),(function(t,n){if(t===e)return{key:n}}),!0);return t&&t.key}})},91688:function(e,t,n){"use strict";var r=n(65609),i=n(1912),o=n(7655),a=n(74833),s=n(36686),u=a.Map,c=a.set;r({target:"Map",proto:!0,real:!0,forced:!0},{mapKeys:function(e){var t=o(this),n=i(e,arguments.length>1?arguments[1]:void 0),r=new u;return s(t,(function(e,i){c(r,n(e,i,t),e)})),r}})},26346:function(e,t,n){"use strict";var r=n(65609),i=n(1912),o=n(7655),a=n(74833),s=n(36686),u=a.Map,c=a.set;r({target:"Map",proto:!0,real:!0,forced:!0},{mapValues:function(e){var t=o(this),n=i(e,arguments.length>1?arguments[1]:void 0),r=new u;return s(t,(function(e,i){c(r,i,n(e,i,t))})),r}})},49459:function(e,t,n){"use strict";var r=n(65609),i=n(7655),o=n(4553),a=n(74833).set;r({target:"Map",proto:!0,real:!0,arity:1,forced:!0},{merge:function(e){for(var t=i(this),n=arguments.length,r=0;r<n;)o(arguments[r++],(function(e,n){a(t,e,n)}),{AS_ENTRIES:!0});return t}})},78043:function(e,t,n){n(65609)({target:"Map",stat:!0,forced:!0},{of:n(98836)})},15851:function(e,t,n){"use strict";var r=n(65609),i=n(86148),o=n(7655),a=n(36686),s=TypeError;r({target:"Map",proto:!0,real:!0,forced:!0},{reduce:function(e){var t=o(this),n=arguments.length<2,r=n?void 0:arguments[1];if(i(e),a(t,(function(i,o){n?(n=!1,r=i):r=e(r,i,o,t)})),n)throw s("Reduce of empty map with no initial value");return r}})},93434:function(e,t,n){"use strict";var r=n(65609),i=n(1912),o=n(7655),a=n(36686);r({target:"Map",proto:!0,real:!0,forced:!0},{some:function(e){var t=o(this),n=i(e,arguments.length>1?arguments[1]:void 0);return!0===a(t,(function(e,r){if(n(e,r,t))return!0}),!0)}})},59405:function(e,t,n){"use strict";n(65609)({target:"Map",proto:!0,real:!0,name:"upsert",forced:!0},{updateOrInsert:n(92731)})},88415:function(e,t,n){"use strict";var r=n(65609),i=n(86148),o=n(7655),a=n(74833),s=TypeError,u=a.get,c=a.has,l=a.set;r({target:"Map",proto:!0,real:!0,forced:!0},{update:function(e,t){var n=o(this),r=arguments.length;i(t);var a=c(n,e);if(!a&&r<3)throw s("Updating absent value");var f=a?u(n,e):i(r>2?arguments[2]:void 0)(e,n);return l(n,e,t(f,e,n)),n}})},49663:function(e,t,n){"use strict";n(65609)({target:"Map",proto:!0,real:!0,forced:!0},{upsert:n(92731)})},82564:function(e,t,n){n(49230)},94781:function(e,t,n){n(33978)},25361:function(e,t,n){"use strict";var r=n(65609),i=n(12290),o=n(90830);r({target:"Promise",stat:!0,forced:!0},{try:function(e){var t=i.f(this),n=o(e);return(n.error?t.reject:t.resolve)(n.value),t.promise}})},82745:function(e,t,n){"use strict";var r=n(65609),i=n(20902),o=n(97869).add;r({target:"Set",proto:!0,real:!0,forced:!0},{addAll:function(){for(var e=i(this),t=0,n=arguments.length;t<n;t++)o(e,arguments[t]);return e}})},84070:function(e,t,n){"use strict";var r=n(65609),i=n(20902),o=n(97869).remove;r({target:"Set",proto:!0,real:!0,forced:!0},{deleteAll:function(){for(var e,t=i(this),n=!0,r=0,a=arguments.length;r<a;r++)e=o(t,arguments[r]),n=n&&e;return!!n}})},34943:function(e,t,n){"use strict";var r=n(65609),i=n(93344),o=n(65961),a=n(70848);r({target:"Set",proto:!0,real:!0,forced:!0},{difference:function(e){return i(a,this,o(e))}})},52711:function(e,t,n){var r=n(65609),i=n(70848);r({target:"Set",proto:!0,real:!0,forced:!n(78513)("difference")},{difference:i})},25277:function(e,t,n){"use strict";var r=n(65609),i=n(1912),o=n(20902),a=n(84828);r({target:"Set",proto:!0,real:!0,forced:!0},{every:function(e){var t=o(this),n=i(e,arguments.length>1?arguments[1]:void 0);return!1!==a(t,(function(e){if(!n(e,e,t))return!1}),!0)}})},28404:function(e,t,n){"use strict";var r=n(65609),i=n(1912),o=n(20902),a=n(97869),s=n(84828),u=a.Set,c=a.add;r({target:"Set",proto:!0,real:!0,forced:!0},{filter:function(e){var t=o(this),n=i(e,arguments.length>1?arguments[1]:void 0),r=new u;return s(t,(function(e){n(e,e,t)&&c(r,e)})),r}})},40269:function(e,t,n){"use strict";var r=n(65609),i=n(1912),o=n(20902),a=n(84828);r({target:"Set",proto:!0,real:!0,forced:!0},{find:function(e){var t=o(this),n=i(e,arguments.length>1?arguments[1]:void 0),r=a(t,(function(e){if(n(e,e,t))return{value:e}}),!0);return r&&r.value}})},84170:function(e,t,n){n(65609)({target:"Set",stat:!0,forced:!0},{from:n(37571)})},91239:function(e,t,n){"use strict";var r=n(65609),i=n(93344),o=n(65961),a=n(4749);r({target:"Set",proto:!0,real:!0,forced:!0},{intersection:function(e){return i(a,this,o(e))}})},29097:function(e,t,n){var r=n(65609),i=n(4749);r({target:"Set",proto:!0,real:!0,forced:!n(78513)("intersection")},{intersection:i})},53180:function(e,t,n){"use strict";var r=n(65609),i=n(93344),o=n(65961),a=n(9789);r({target:"Set",proto:!0,real:!0,forced:!0},{isDisjointFrom:function(e){return i(a,this,o(e))}})},73225:function(e,t,n){var r=n(65609),i=n(9789);r({target:"Set",proto:!0,real:!0,forced:!n(78513)("isDisjointFrom")},{isDisjointFrom:i})},85405:function(e,t,n){"use strict";var r=n(65609),i=n(93344),o=n(65961),a=n(36067);r({target:"Set",proto:!0,real:!0,forced:!0},{isSubsetOf:function(e){return i(a,this,o(e))}})},45392:function(e,t,n){var r=n(65609),i=n(36067);r({target:"Set",proto:!0,real:!0,forced:!n(78513)("isSubsetOf")},{isSubsetOf:i})},81090:function(e,t,n){"use strict";var r=n(65609),i=n(93344),o=n(65961),a=n(42850);r({target:"Set",proto:!0,real:!0,forced:!0},{isSupersetOf:function(e){return i(a,this,o(e))}})},71638:function(e,t,n){var r=n(65609),i=n(42850);r({target:"Set",proto:!0,real:!0,forced:!n(78513)("isSupersetOf")},{isSupersetOf:i})},70146:function(e,t,n){"use strict";var r=n(65609),i=n(32108),o=n(20902),a=n(84828),s=n(91841),u=i([].join),c=i([].push);r({target:"Set",proto:!0,real:!0,forced:!0},{join:function(e){var t=o(this),n=void 0===e?",":s(e),r=[];return a(t,(function(e){c(r,e)})),u(r,n)}})},1240:function(e,t,n){"use strict";var r=n(65609),i=n(1912),o=n(20902),a=n(97869),s=n(84828),u=a.Set,c=a.add;r({target:"Set",proto:!0,real:!0,forced:!0},{map:function(e){var t=o(this),n=i(e,arguments.length>1?arguments[1]:void 0),r=new u;return s(t,(function(e){c(r,n(e,e,t))})),r}})},62808:function(e,t,n){n(65609)({target:"Set",stat:!0,forced:!0},{of:n(98836)})},80734:function(e,t,n){"use strict";var r=n(65609),i=n(86148),o=n(20902),a=n(84828),s=TypeError;r({target:"Set",proto:!0,real:!0,forced:!0},{reduce:function(e){var t=o(this),n=arguments.length<2,r=n?void 0:arguments[1];if(i(e),a(t,(function(i){n?(n=!1,r=i):r=e(r,i,i,t)})),n)throw s("Reduce of empty set with no initial value");return r}})},21946:function(e,t,n){"use strict";var r=n(65609),i=n(1912),o=n(20902),a=n(84828);r({target:"Set",proto:!0,real:!0,forced:!0},{some:function(e){var t=o(this),n=i(e,arguments.length>1?arguments[1]:void 0);return!0===a(t,(function(e){if(n(e,e,t))return!0}),!0)}})},20985:function(e,t,n){"use strict";var r=n(65609),i=n(93344),o=n(65961),a=n(76766);r({target:"Set",proto:!0,real:!0,forced:!0},{symmetricDifference:function(e){return i(a,this,o(e))}})},53933:function(e,t,n){var r=n(65609),i=n(76766);r({target:"Set",proto:!0,real:!0,forced:!n(78513)("symmetricDifference")},{symmetricDifference:i})},76035:function(e,t,n){"use strict";var r=n(65609),i=n(93344),o=n(65961),a=n(41172);r({target:"Set",proto:!0,real:!0,forced:!0},{union:function(e){return i(a,this,o(e))}})},21366:function(e,t,n){var r=n(65609),i=n(41172);r({target:"Set",proto:!0,real:!0,forced:!n(78513)("union")},{union:i})},34419:function(e,t,n){n(84282)("asyncDispose")},20795:function(e,t,n){n(84282)("dispose")},54596:function(e,t,n){n(84282)("matcher")},44505:function(e,t,n){n(84282)("metadataKey")},29545:function(e,t,n){n(84282)("metadata")},57049:function(e,t,n){n(84282)("observable")},72481:function(e,t,n){n(84282)("patternMatch")},52208:function(e,t,n){n(84282)("replaceAll")},38894:function(e,t,n){"use strict";var r=n(65609),i=n(82271),o=n(1307).remove;r({target:"WeakMap",proto:!0,real:!0,forced:!0},{deleteAll:function(){for(var e,t=i(this),n=!0,r=0,a=arguments.length;r<a;r++)e=o(t,arguments[r]),n=n&&e;return!!n}})},33976:function(e,t,n){"use strict";var r=n(65609),i=n(82271),o=n(1307),a=o.get,s=o.has,u=o.set;r({target:"WeakMap",proto:!0,real:!0,forced:!0},{emplace:function(e,t){var n,r,o=i(this);return s(o,e)?(n=a(o,e),"update"in t&&(n=t.update(n,e,o),u(o,e,n)),n):(r=t.insert(e,o),u(o,e,r),r)}})},58959:function(e,t,n){n(65609)({target:"WeakMap",stat:!0,forced:!0},{from:n(37571)})},63037:function(e,t,n){n(65609)({target:"WeakMap",stat:!0,forced:!0},{of:n(98836)})},4762:function(e,t,n){"use strict";n(65609)({target:"WeakMap",proto:!0,real:!0,forced:!0},{upsert:n(92731)})},57394:function(e,t,n){n(30963);var r=n(80196),i=n(82202),o=n(50176),a=n(93446),s=n(87551),u=n(77431)("toStringTag");for(var c in r){var l=i[c],f=l&&l.prototype;f&&o(f)!==u&&a(f,u,c),s[c]=s.Array}},47220:function(e,t,n){var r=n(65609),i=n(82202),o=n(75404),a=n(86148),s=n(88163),u=n(61353),c=i.process;r({global:!0,enumerable:!0,dontCallGetSet:!0},{queueMicrotask:function(e){s(arguments.length,1),a(e);var t=u&&c.domain;o(t?t.bind(e):e)}})},28112:function(e,t,n){"use strict";n(30963);var r=n(65609),i=n(82202),o=n(93344),a=n(32108),s=n(92290),u=n(44478),c=n(46037),l=n(92671),f=n(34026),d=n(8287),p=n(90293),h=n(77423),g=n(16615),m=n(79728),y=n(1912),v=n(50176),b=n(64950),_=n(66106),w=n(91841),T=n(58743),x=n(42630),S=n(27390),k=n(4187),E=n(88163),O=n(77431),C=n(65702),L=O("iterator"),A="URLSearchParams",I="URLSearchParamsIterator",P=p.set,M=p.getterFor(A),R=p.getterFor(I),j=Object.getOwnPropertyDescriptor,D=function(e){if(!s)return i[e];var t=j(i,e);return t&&t.value},N=D("fetch"),B=D("Request"),U=D("Headers"),F=B&&B.prototype,z=U&&U.prototype,H=i.RegExp,Z=i.TypeError,q=i.decodeURIComponent,V=i.encodeURIComponent,W=a("".charAt),G=a([].join),$=a([].push),Y=a("".replace),K=a([].shift),X=a([].splice),Q=a("".split),J=a("".slice),ee=/\+/g,te=Array(4),ne=function(e){return te[e-1]||(te[e-1]=H("((?:%[\\da-f]{2}){"+e+"})","gi"))},re=function(e){try{return q(e)}catch(t){return e}},ie=function(e){var t=Y(e,ee," "),n=4;try{return q(t)}catch(e){for(;n;)t=Y(t,ne(n--),re);return t}},oe=/[!'()~]|%20/g,ae={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},se=function(e){return ae[e]},ue=function(e){return Y(V(e),oe,se)},ce=d((function(e,t){P(this,{type:I,iterator:S(M(e).entries),kind:t})}),"Iterator",(function(){var e=R(this),t=e.kind,n=e.iterator.next(),r=n.value;return n.done||(n.value="keys"===t?r.key:"values"===t?r.value:[r.key,r.value]),n}),!0),le=function(e){this.entries=[],this.url=null,void 0!==e&&(_(e)?this.parseObject(e):this.parseQuery("string"==typeof e?"?"===W(e,0)?J(e,1):e:w(e)))};le.prototype={type:A,bindURL:function(e){this.url=e,this.update()},parseObject:function(e){var t,n,r,i,a,s,u,c=k(e);if(c)for(n=(t=S(e,c)).next;!(r=o(n,t)).done;){if(a=(i=S(b(r.value))).next,(s=o(a,i)).done||(u=o(a,i)).done||!o(a,i).done)throw Z("Expected sequence with length 2");$(this.entries,{key:w(s.value),value:w(u.value)})}else for(var l in e)m(e,l)&&$(this.entries,{key:l,value:w(e[l])})},parseQuery:function(e){if(e)for(var t,n,r=Q(e,"&"),i=0;i<r.length;)(t=r[i++]).length&&(n=Q(t,"="),$(this.entries,{key:ie(K(n)),value:ie(G(n,"="))}))},serialize:function(){for(var e,t=this.entries,n=[],r=0;r<t.length;)e=t[r++],$(n,ue(e.key)+"="+ue(e.value));return G(n,"&")},update:function(){this.entries.length=0,this.parseQuery(this.url.query)},updateURL:function(){this.url&&this.url.update()}};var fe=function(){h(this,de);var e=arguments.length>0?arguments[0]:void 0;P(this,new le(e))},de=fe.prototype;if(l(de,{append:function(e,t){E(arguments.length,2);var n=M(this);$(n.entries,{key:w(e),value:w(t)}),n.updateURL()},delete:function(e){E(arguments.length,1);for(var t=M(this),n=t.entries,r=w(e),i=0;i<n.length;)n[i].key===r?X(n,i,1):i++;t.updateURL()},get:function(e){E(arguments.length,1);for(var t=M(this).entries,n=w(e),r=0;r<t.length;r++)if(t[r].key===n)return t[r].value;return null},getAll:function(e){E(arguments.length,1);for(var t=M(this).entries,n=w(e),r=[],i=0;i<t.length;i++)t[i].key===n&&$(r,t[i].value);return r},has:function(e){E(arguments.length,1);for(var t=M(this).entries,n=w(e),r=0;r<t.length;)if(t[r++].key===n)return!0;return!1},set:function(e,t){E(arguments.length,1);for(var n,r=M(this),i=r.entries,o=!1,a=w(e),s=w(t),u=0;u<i.length;u++)(n=i[u]).key===a&&(o?X(i,u--,1):(o=!0,n.value=s));o||$(i,{key:a,value:s}),r.updateURL()},sort:function(){var e=M(this);C(e.entries,(function(e,t){return e.key>t.key?1:-1})),e.updateURL()},forEach:function(e){for(var t,n=M(this).entries,r=y(e,arguments.length>1?arguments[1]:void 0),i=0;i<n.length;)r((t=n[i++]).value,t.key,this)},keys:function(){return new ce(this,"keys")},values:function(){return new ce(this,"values")},entries:function(){return new ce(this,"entries")}},{enumerable:!0}),c(de,L,de.entries,{name:"entries"}),c(de,"toString",(function(){return M(this).serialize()}),{enumerable:!0}),f(fe,A),r({global:!0,constructor:!0,forced:!u},{URLSearchParams:fe}),!u&&g(U)){var pe=a(z.has),he=a(z.set),ge=function(e){if(_(e)){var t,n=e.body;if(v(n)===A)return t=e.headers?new U(e.headers):new U,pe(t,"content-type")||he(t,"content-type","application/x-www-form-urlencoded;charset=UTF-8"),T(e,{body:x(0,w(n)),headers:x(0,t)})}return e};if(g(N)&&r({global:!0,enumerable:!0,dontCallGetSet:!0,forced:!0},{fetch:function(e){return N(e,arguments.length>1?ge(arguments[1]):{})}}),g(B)){var me=function(e){return h(this,F),new B(e,arguments.length>1?ge(arguments[1]):{})};F.constructor=me,me.prototype=F,r({global:!0,constructor:!0,dontCallGetSet:!0,forced:!0},{Request:me})}}e.exports={URLSearchParams:fe,getState:M}},6974:function(e,t,n){n(28112)},80845:function(e,t,n){"use strict";n(70185);var r,i=n(65609),o=n(92290),a=n(44478),s=n(82202),u=n(1912),c=n(32108),l=n(46037),f=n(80674),d=n(77423),p=n(79728),h=n(13110),g=n(4133),m=n(21960),y=n(32495).codeAt,v=n(42068),b=n(91841),_=n(34026),w=n(88163),T=n(28112),x=n(90293),S=x.set,k=x.getterFor("URL"),E=T.URLSearchParams,O=T.getState,C=s.URL,L=s.TypeError,A=s.parseInt,I=Math.floor,P=Math.pow,M=c("".charAt),R=c(/./.exec),j=c([].join),D=c(1..toString),N=c([].pop),B=c([].push),U=c("".replace),F=c([].shift),z=c("".split),H=c("".slice),Z=c("".toLowerCase),q=c([].unshift),V="Invalid scheme",W="Invalid host",G="Invalid port",$=/[a-z]/i,Y=/[\d+-.a-z]/i,K=/\d/,X=/^0x/i,Q=/^[0-7]+$/,J=/^\d+$/,ee=/^[\da-f]+$/i,te=/[\0\t\n\r #%/:<>?@[\\\]^|]/,ne=/[\0\t\n\r #/:<>?@[\\\]^|]/,re=/^[\u0000-\u0020]+|[\u0000-\u0020]+$/g,ie=/[\t\n\r]/g,oe=function(e){var t,n,r,i;if("number"==typeof e){for(t=[],n=0;n<4;n++)q(t,e%256),e=I(e/256);return j(t,".")}if("object"==typeof e){for(t="",r=function(e){for(var t=null,n=1,r=null,i=0,o=0;o<8;o++)0!==e[o]?(i>n&&(t=r,n=i),r=null,i=0):(null===r&&(r=o),++i);return i>n&&(t=r,n=i),t}(e),n=0;n<8;n++)i&&0===e[n]||(i&&(i=!1),r===n?(t+=n?":":"::",i=!0):(t+=D(e[n],16),n<7&&(t+=":")));return"["+t+"]"}return e},ae={},se=h({},ae,{" ":1,'"':1,"<":1,">":1,"`":1}),ue=h({},se,{"#":1,"?":1,"{":1,"}":1}),ce=h({},ue,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),le=function(e,t){var n=y(e,0);return n>32&&n<127&&!p(t,e)?e:encodeURIComponent(e)},fe={ftp:21,file:null,http:80,https:443,ws:80,wss:443},de=function(e,t){var n;return 2==e.length&&R($,M(e,0))&&(":"==(n=M(e,1))||!t&&"|"==n)},pe=function(e){var t;return e.length>1&&de(H(e,0,2))&&(2==e.length||"/"===(t=M(e,2))||"\\"===t||"?"===t||"#"===t)},he=function(e){return"."===e||"%2e"===Z(e)},ge={},me={},ye={},ve={},be={},_e={},we={},Te={},xe={},Se={},ke={},Ee={},Oe={},Ce={},Le={},Ae={},Ie={},Pe={},Me={},Re={},je={},De=function(e,t,n){var r,i,o,a=b(e);if(t){if(i=this.parse(a))throw L(i);this.searchParams=null}else{if(void 0!==n&&(r=new De(n,!0)),i=this.parse(a,null,r))throw L(i);(o=O(new E)).bindURL(this),this.searchParams=o}};De.prototype={type:"URL",parse:function(e,t,n){var i,o,a,s,u,c=this,l=t||ge,f=0,d="",h=!1,y=!1,v=!1;for(e=b(e),t||(c.scheme="",c.username="",c.password="",c.host=null,c.port=null,c.path=[],c.query=null,c.fragment=null,c.cannotBeABaseURL=!1,e=U(e,re,"")),e=U(e,ie,""),i=g(e);f<=i.length;){switch(o=i[f],l){case ge:if(!o||!R($,o)){if(t)return V;l=ye;continue}d+=Z(o),l=me;break;case me:if(o&&(R(Y,o)||"+"==o||"-"==o||"."==o))d+=Z(o);else{if(":"!=o){if(t)return V;d="",l=ye,f=0;continue}if(t&&(c.isSpecial()!=p(fe,d)||"file"==d&&(c.includesCredentials()||null!==c.port)||"file"==c.scheme&&!c.host))return;if(c.scheme=d,t)return void(c.isSpecial()&&fe[c.scheme]==c.port&&(c.port=null));d="","file"==c.scheme?l=Ce:c.isSpecial()&&n&&n.scheme==c.scheme?l=ve:c.isSpecial()?l=Te:"/"==i[f+1]?(l=be,f++):(c.cannotBeABaseURL=!0,B(c.path,""),l=Me)}break;case ye:if(!n||n.cannotBeABaseURL&&"#"!=o)return V;if(n.cannotBeABaseURL&&"#"==o){c.scheme=n.scheme,c.path=m(n.path),c.query=n.query,c.fragment="",c.cannotBeABaseURL=!0,l=je;break}l="file"==n.scheme?Ce:_e;continue;case ve:if("/"!=o||"/"!=i[f+1]){l=_e;continue}l=xe,f++;break;case be:if("/"==o){l=Se;break}l=Pe;continue;case _e:if(c.scheme=n.scheme,o==r)c.username=n.username,c.password=n.password,c.host=n.host,c.port=n.port,c.path=m(n.path),c.query=n.query;else if("/"==o||"\\"==o&&c.isSpecial())l=we;else if("?"==o)c.username=n.username,c.password=n.password,c.host=n.host,c.port=n.port,c.path=m(n.path),c.query="",l=Re;else{if("#"!=o){c.username=n.username,c.password=n.password,c.host=n.host,c.port=n.port,c.path=m(n.path),c.path.length--,l=Pe;continue}c.username=n.username,c.password=n.password,c.host=n.host,c.port=n.port,c.path=m(n.path),c.query=n.query,c.fragment="",l=je}break;case we:if(!c.isSpecial()||"/"!=o&&"\\"!=o){if("/"!=o){c.username=n.username,c.password=n.password,c.host=n.host,c.port=n.port,l=Pe;continue}l=Se}else l=xe;break;case Te:if(l=xe,"/"!=o||"/"!=M(d,f+1))continue;f++;break;case xe:if("/"!=o&&"\\"!=o){l=Se;continue}break;case Se:if("@"==o){h&&(d="%40"+d),h=!0,a=g(d);for(var _=0;_<a.length;_++){var w=a[_];if(":"!=w||v){var T=le(w,ce);v?c.password+=T:c.username+=T}else v=!0}d=""}else if(o==r||"/"==o||"?"==o||"#"==o||"\\"==o&&c.isSpecial()){if(h&&""==d)return"Invalid authority";f-=g(d).length+1,d="",l=ke}else d+=o;break;case ke:case Ee:if(t&&"file"==c.scheme){l=Ae;continue}if(":"!=o||y){if(o==r||"/"==o||"?"==o||"#"==o||"\\"==o&&c.isSpecial()){if(c.isSpecial()&&""==d)return W;if(t&&""==d&&(c.includesCredentials()||null!==c.port))return;if(s=c.parseHost(d))return s;if(d="",l=Ie,t)return;continue}"["==o?y=!0:"]"==o&&(y=!1),d+=o}else{if(""==d)return W;if(s=c.parseHost(d))return s;if(d="",l=Oe,t==Ee)return}break;case Oe:if(!R(K,o)){if(o==r||"/"==o||"?"==o||"#"==o||"\\"==o&&c.isSpecial()||t){if(""!=d){var x=A(d,10);if(x>65535)return G;c.port=c.isSpecial()&&x===fe[c.scheme]?null:x,d=""}if(t)return;l=Ie;continue}return G}d+=o;break;case Ce:if(c.scheme="file","/"==o||"\\"==o)l=Le;else{if(!n||"file"!=n.scheme){l=Pe;continue}if(o==r)c.host=n.host,c.path=m(n.path),c.query=n.query;else if("?"==o)c.host=n.host,c.path=m(n.path),c.query="",l=Re;else{if("#"!=o){pe(j(m(i,f),""))||(c.host=n.host,c.path=m(n.path),c.shortenPath()),l=Pe;continue}c.host=n.host,c.path=m(n.path),c.query=n.query,c.fragment="",l=je}}break;case Le:if("/"==o||"\\"==o){l=Ae;break}n&&"file"==n.scheme&&!pe(j(m(i,f),""))&&(de(n.path[0],!0)?B(c.path,n.path[0]):c.host=n.host),l=Pe;continue;case Ae:if(o==r||"/"==o||"\\"==o||"?"==o||"#"==o){if(!t&&de(d))l=Pe;else if(""==d){if(c.host="",t)return;l=Ie}else{if(s=c.parseHost(d))return s;if("localhost"==c.host&&(c.host=""),t)return;d="",l=Ie}continue}d+=o;break;case Ie:if(c.isSpecial()){if(l=Pe,"/"!=o&&"\\"!=o)continue}else if(t||"?"!=o)if(t||"#"!=o){if(o!=r&&(l=Pe,"/"!=o))continue}else c.fragment="",l=je;else c.query="",l=Re;break;case Pe:if(o==r||"/"==o||"\\"==o&&c.isSpecial()||!t&&("?"==o||"#"==o)){if(".."===(u=Z(u=d))||"%2e."===u||".%2e"===u||"%2e%2e"===u?(c.shortenPath(),"/"==o||"\\"==o&&c.isSpecial()||B(c.path,"")):he(d)?"/"==o||"\\"==o&&c.isSpecial()||B(c.path,""):("file"==c.scheme&&!c.path.length&&de(d)&&(c.host&&(c.host=""),d=M(d,0)+":"),B(c.path,d)),d="","file"==c.scheme&&(o==r||"?"==o||"#"==o))for(;c.path.length>1&&""===c.path[0];)F(c.path);"?"==o?(c.query="",l=Re):"#"==o&&(c.fragment="",l=je)}else d+=le(o,ue);break;case Me:"?"==o?(c.query="",l=Re):"#"==o?(c.fragment="",l=je):o!=r&&(c.path[0]+=le(o,ae));break;case Re:t||"#"!=o?o!=r&&("'"==o&&c.isSpecial()?c.query+="%27":c.query+="#"==o?"%23":le(o,ae)):(c.fragment="",l=je);break;case je:o!=r&&(c.fragment+=le(o,se))}f++}},parseHost:function(e){var t,n,r;if("["==M(e,0)){if("]"!=M(e,e.length-1))return W;if(t=function(e){var t,n,r,i,o,a,s,u=[0,0,0,0,0,0,0,0],c=0,l=null,f=0,d=function(){return M(e,f)};if(":"==d()){if(":"!=M(e,1))return;f+=2,l=++c}for(;d();){if(8==c)return;if(":"!=d()){for(t=n=0;n<4&&R(ee,d());)t=16*t+A(d(),16),f++,n++;if("."==d()){if(0==n)return;if(f-=n,c>6)return;for(r=0;d();){if(i=null,r>0){if(!("."==d()&&r<4))return;f++}if(!R(K,d()))return;for(;R(K,d());){if(o=A(d(),10),null===i)i=o;else{if(0==i)return;i=10*i+o}if(i>255)return;f++}u[c]=256*u[c]+i,2!=++r&&4!=r||c++}if(4!=r)return;break}if(":"==d()){if(f++,!d())return}else if(d())return;u[c++]=t}else{if(null!==l)return;f++,l=++c}}if(null!==l)for(a=c-l,c=7;0!=c&&a>0;)s=u[c],u[c--]=u[l+a-1],u[l+--a]=s;else if(8!=c)return;return u}(H(e,1,-1)),!t)return W;this.host=t}else if(this.isSpecial()){if(e=v(e),R(te,e))return W;if(t=function(e){var t,n,r,i,o,a,s,u=z(e,".");if(u.length&&""==u[u.length-1]&&u.length--,(t=u.length)>4)return e;for(n=[],r=0;r<t;r++){if(""==(i=u[r]))return e;if(o=10,i.length>1&&"0"==M(i,0)&&(o=R(X,i)?16:8,i=H(i,8==o?1:2)),""===i)a=0;else{if(!R(10==o?J:8==o?Q:ee,i))return e;a=A(i,o)}B(n,a)}for(r=0;r<t;r++)if(a=n[r],r==t-1){if(a>=P(256,5-t))return null}else if(a>255)return null;for(s=N(n),r=0;r<n.length;r++)s+=n[r]*P(256,3-r);return s}(e),null===t)return W;this.host=t}else{if(R(ne,e))return W;for(t="",n=g(e),r=0;r<n.length;r++)t+=le(n[r],ae);this.host=t}},cannotHaveUsernamePasswordPort:function(){return!this.host||this.cannotBeABaseURL||"file"==this.scheme},includesCredentials:function(){return""!=this.username||""!=this.password},isSpecial:function(){return p(fe,this.scheme)},shortenPath:function(){var e=this.path,t=e.length;!t||"file"==this.scheme&&1==t&&de(e[0],!0)||e.length--},serialize:function(){var e=this,t=e.scheme,n=e.username,r=e.password,i=e.host,o=e.port,a=e.path,s=e.query,u=e.fragment,c=t+":";return null!==i?(c+="//",e.includesCredentials()&&(c+=n+(r?":"+r:"")+"@"),c+=oe(i),null!==o&&(c+=":"+o)):"file"==t&&(c+="//"),c+=e.cannotBeABaseURL?a[0]:a.length?"/"+j(a,"/"):"",null!==s&&(c+="?"+s),null!==u&&(c+="#"+u),c},setHref:function(e){var t=this.parse(e);if(t)throw L(t);this.searchParams.update()},getOrigin:function(){var e=this.scheme,t=this.port;if("blob"==e)try{return new Ne(e.path[0]).origin}catch(e){return"null"}return"file"!=e&&this.isSpecial()?e+"://"+oe(this.host)+(null!==t?":"+t:""):"null"},getProtocol:function(){return this.scheme+":"},setProtocol:function(e){this.parse(b(e)+":",ge)},getUsername:function(){return this.username},setUsername:function(e){var t=g(b(e));if(!this.cannotHaveUsernamePasswordPort()){this.username="";for(var n=0;n<t.length;n++)this.username+=le(t[n],ce)}},getPassword:function(){return this.password},setPassword:function(e){var t=g(b(e));if(!this.cannotHaveUsernamePasswordPort()){this.password="";for(var n=0;n<t.length;n++)this.password+=le(t[n],ce)}},getHost:function(){var e=this.host,t=this.port;return null===e?"":null===t?oe(e):oe(e)+":"+t},setHost:function(e){this.cannotBeABaseURL||this.parse(e,ke)},getHostname:function(){var e=this.host;return null===e?"":oe(e)},setHostname:function(e){this.cannotBeABaseURL||this.parse(e,Ee)},getPort:function(){var e=this.port;return null===e?"":b(e)},setPort:function(e){this.cannotHaveUsernamePasswordPort()||(""==(e=b(e))?this.port=null:this.parse(e,Oe))},getPathname:function(){var e=this.path;return this.cannotBeABaseURL?e[0]:e.length?"/"+j(e,"/"):""},setPathname:function(e){this.cannotBeABaseURL||(this.path=[],this.parse(e,Ie))},getSearch:function(){var e=this.query;return e?"?"+e:""},setSearch:function(e){""==(e=b(e))?this.query=null:("?"==M(e,0)&&(e=H(e,1)),this.query="",this.parse(e,Re)),this.searchParams.update()},getSearchParams:function(){return this.searchParams.facade},getHash:function(){var e=this.fragment;return e?"#"+e:""},setHash:function(e){""!=(e=b(e))?("#"==M(e,0)&&(e=H(e,1)),this.fragment="",this.parse(e,je)):this.fragment=null},update:function(){this.query=this.searchParams.serialize()||null}};var Ne=function(e){var t=d(this,Be),n=w(arguments.length,1)>1?arguments[1]:void 0,r=S(t,new De(e,!1,n));o||(t.href=r.serialize(),t.origin=r.getOrigin(),t.protocol=r.getProtocol(),t.username=r.getUsername(),t.password=r.getPassword(),t.host=r.getHost(),t.hostname=r.getHostname(),t.port=r.getPort(),t.pathname=r.getPathname(),t.search=r.getSearch(),t.searchParams=r.getSearchParams(),t.hash=r.getHash())},Be=Ne.prototype,Ue=function(e,t){return{get:function(){return k(this)[e]()},set:t&&function(e){return k(this)[t](e)},configurable:!0,enumerable:!0}};if(o&&(f(Be,"href",Ue("serialize","setHref")),f(Be,"origin",Ue("getOrigin")),f(Be,"protocol",Ue("getProtocol","setProtocol")),f(Be,"username",Ue("getUsername","setUsername")),f(Be,"password",Ue("getPassword","setPassword")),f(Be,"host",Ue("getHost","setHost")),f(Be,"hostname",Ue("getHostname","setHostname")),f(Be,"port",Ue("getPort","setPort")),f(Be,"pathname",Ue("getPathname","setPathname")),f(Be,"search",Ue("getSearch","setSearch")),f(Be,"searchParams",Ue("getSearchParams")),f(Be,"hash",Ue("getHash","setHash"))),l(Be,"toJSON",(function(){return k(this).serialize()}),{enumerable:!0}),l(Be,"toString",(function(){return k(this).serialize()}),{enumerable:!0}),C){var Fe=C.createObjectURL,ze=C.revokeObjectURL;Fe&&l(Ne,"createObjectURL",u(Fe,C)),ze&&l(Ne,"revokeObjectURL",u(ze,C))}_(Ne,"URL"),i({global:!0,constructor:!0,forced:!a,sham:!o},{URL:Ne})},89291:function(e,t,n){n(80845)},74710:function(){},80988:function(e,t,n){var r=n(89508);e.exports=r},59092:function(e,t,n){var r=n(10197);e.exports=r},74203:function(e,t,n){var r=n(53199);e.exports=r},62071:function(e,t,n){var r=n(36906);e.exports=r},20564:function(e,t,n){var r=n(41297);e.exports=r},97520:function(e,t,n){var r=n(82157);e.exports=r},533:function(e,t,n){var r=n(60047);n(57394),e.exports=r},38006:function(e,t,n){var r=n(23009);e.exports=r},77234:function(e,t,n){var r=n(78894);e.exports=r},18234:function(e,t,n){var r=n(15473);e.exports=r},21527:function(e,t,n){var r=n(90488);e.exports=r},12702:function(e,t,n){n(57394);var r=n(50176),i=n(79728),o=n(41535),a=n(74203),s=Array.prototype,u={DOMTokenList:!0,NodeList:!0};e.exports=function(e){var t=e.entries;return e===s||o(s,e)&&t===s.entries||i(u,r(e))?a:t}},56053:function(e,t,n){var r=n(42774);e.exports=r},42690:function(e,t,n){var r=n(74760);e.exports=r},97318:function(e,t,n){var r=n(91093);e.exports=r},46545:function(e,t,n){var r=n(52246);e.exports=r},1597:function(e,t,n){n(57394);var r=n(50176),i=n(79728),o=n(41535),a=n(62071),s=Array.prototype,u={DOMTokenList:!0,NodeList:!0};e.exports=function(e){var t=e.forEach;return e===s||o(s,e)&&t===s.forEach||i(u,r(e))?a:t}},76788:function(e,t,n){var r=n(23163);e.exports=r},58015:function(e,t,n){var r=n(97993);e.exports=r},10320:function(e,t,n){n(57394);var r=n(50176),i=n(79728),o=n(41535),a=n(20564),s=Array.prototype,u={DOMTokenList:!0,NodeList:!0};e.exports=function(e){var t=e.keys;return e===s||o(s,e)&&t===s.keys||i(u,r(e))?a:t}},11787:function(e,t,n){var r=n(51597);e.exports=r},69213:function(e,t,n){var r=n(27893);e.exports=r},844:function(e,t,n){var r=n(77276);e.exports=r},65012:function(e,t,n){var r=n(12066);e.exports=r},60073:function(e,t,n){var r=n(19721);e.exports=r},20996:function(e,t,n){var r=n(5783);e.exports=r},87935:function(e,t,n){var r=n(27866);e.exports=r},13437:function(e,t,n){n(57394);var r=n(50176),i=n(79728),o=n(41535),a=n(97520),s=Array.prototype,u={DOMTokenList:!0,NodeList:!0};e.exports=function(e){var t=e.values;return e===s||o(s,e)&&t===s.values||i(u,r(e))?a:t}},55085:function(e,t,n){var r=n(68563);e.exports=r},91156:function(e,t,n){var r=n(72627);n(57394),e.exports=r},96256:function(e,t,n){var r=n(3456);e.exports=r},4817:function(e,t,n){var r=n(55727);e.exports=r},39795:function(e,t,n){var r=n(83070);e.exports=r},112:function(e,t,n){var r=n(54358);e.exports=r},62586:function(e,t,n){var r=n(89345);e.exports=r},67837:function(e,t,n){var r=n(65028);e.exports=r},70216:function(e,t,n){var r=n(10273);e.exports=r},77426:function(e,t,n){var r=n(19999);e.exports=r},94998:function(e,t,n){var r=n(14116);e.exports=r},21845:function(e,t,n){var r=n(70060);e.exports=r},89281:function(e,t,n){var r=n(24573);e.exports=r},63353:function(e,t,n){var r=n(33298);e.exports=r},41930:function(e,t,n){var r=n(68561);e.exports=r},18350:function(e,t,n){var r=n(69304);e.exports=r},35802:function(e,t,n){var r=n(50688);e.exports=r},52102:function(e,t,n){var r=n(84802);e.exports=r},24033:function(e,t,n){var r=n(76929);e.exports=r},75049:function(e,t,n){var r=n(46660);e.exports=r},63802:function(e,t,n){var r=n(15716);n(57394),e.exports=r},12998:function(e,t,n){var r=n(35025);e.exports=r},43296:function(e,t,n){var r=n(27313);e.exports=r},86272:function(e,t,n){var r=n(78284);e.exports=r},86775:function(e,t,n){var r=n(70284);n(57394),e.exports=r},36866:function(e,t,n){var r=n(49457);n(57394),e.exports=r},17276:function(e,t,n){var r=n(71080);n(57394),e.exports=r},97698:function(e,t,n){var r=n(8025);e.exports=r},41314:function(e,t,n){var r=n(63898);n(57394),e.exports=r},34883:function(e,t,n){var r=n(10360);e.exports=r},78212:function(e,t,n){var r=n(37836);n(57394),e.exports=r},35025:function(e,t,n){n(47220);var r=n(5058);e.exports=r.queueMicrotask},63898:function(e,t,n){n(6974);var r=n(5058);e.exports=r.URLSearchParams},10360:function(e,t,n){n(89291),n(74710),n(6974);var r=n(5058);e.exports=r.URL},22851:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BLANK_URL=t.relativeFirstCharacters=t.urlSchemeRegex=t.ctrlCharactersRegex=t.htmlCtrlEntityRegex=t.htmlEntitiesRegex=t.invalidProtocolRegex=void 0,t.invalidProtocolRegex=/^([^\w]*)(javascript|data|vbscript)/im,t.htmlEntitiesRegex=/&#(\w+)(^\w|;)?/g,t.htmlCtrlEntityRegex=/&(newline|tab);/gi,t.ctrlCharactersRegex=/[\u0000-\u001F\u007F-\u009F\u2000-\u200D\uFEFF]/gim,t.urlSchemeRegex=/^.+(:|&colon;)/gim,t.relativeFirstCharacters=[".","/"],t.BLANK_URL="about:blank"},17967:function(e,t,n){"use strict";t.N=void 0;var r=n(22851);t.N=function(e){if(!e)return r.BLANK_URL;var t,n=(t=e,t.replace(r.ctrlCharactersRegex,"").replace(r.htmlEntitiesRegex,(function(e,t){return String.fromCharCode(t)}))).replace(r.htmlCtrlEntityRegex,"").replace(r.ctrlCharactersRegex,"").trim();if(!n)return r.BLANK_URL;if(function(e){return r.relativeFirstCharacters.indexOf(e[0])>-1}(n))return n;var i=n.match(r.urlSchemeRegex);if(!i)return n;var o=i[0];return r.invalidProtocolRegex.test(o)?r.BLANK_URL:n}},14201:function(e,t,n){"use strict";n.d(t,{fy:function(){return Kt}});var r={log:"log",debug:"debug",info:"info",warn:"warn",error:"error"},i=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];Object.prototype.hasOwnProperty.call(r,e)||(e=r.log),i[e].apply(i,t)};function o(e,t){return function(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];try{return e.apply(void 0,n)}catch(e){i.error(t,e)}}}i.debug=console.debug.bind(console),i.log=console.log.bind(console),i.info=console.info.bind(console),i.warn=console.warn.bind(console),i.error=console.error.bind(console);var a,s=function(e,t,n){if(n||2===arguments.length)for(var r,i=0,o=t.length;i<o;i++)!r&&i in t||(r||(r=Array.prototype.slice.call(t,0,i)),r[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))},u=!1;function c(e){u=e}function l(e,t,n){var r=n.value;n.value=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=a?f(r):r;return n.apply(this,e)}}function f(e){return function(){return d(e,this,arguments)}}function d(e,t,n){try{return e.apply(t,n)}catch(e){if(p(r.error,e),a)try{a(e)}catch(e){p(r.error,e)}}}function p(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];u&&i.apply(void 0,s([e,"[MONITOR]"],t,!1))}var h=1e3,g=6e4;function m(e,t,n){var r,i,o=!n||void 0===n.leading||n.leading,a=!n||void 0===n.trailing||n.trailing,s=!1;return{throttled:function(){for(var n=[],u=0;u<arguments.length;u++)n[u]=arguments[u];s?r=n:(o?e.apply(void 0,n):r=n,s=!0,i=setTimeout((function(){a&&r&&e.apply(void 0,r),s=!1,r=void 0}),t))},cancel:function(){clearTimeout(i),s=!1,r=void 0}}}function y(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return t.forEach((function(t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})),e}function v(e){return e?(parseInt(e,10)^16*Math.random()>>parseInt(e,10)/4).toString(16):"".concat(1e7,"-").concat(1e3,"-").concat(4e3,"-").concat(8e3,"-").concat(1e11).replace(/[018]/g,v)}function b(e){return 0!==e&&100*Math.random()<=e}function _(){}function w(e,t,n){if(null==e)return JSON.stringify(e);var r=[!1,void 0];T(e)&&(r=[!0,e.toJSON],delete e.toJSON);var i,o,a=[!1,void 0];"object"==typeof e&&T(i=Object.getPrototypeOf(e))&&(a=[!0,i.toJSON],delete i.toJSON);try{o=JSON.stringify(e,t,n)}catch(e){o="<error: unable to serialize object>"}finally{r[0]&&(e.toJSON=r[1]),a[0]&&(i.toJSON=a[1])}return o}function T(e){return"object"==typeof e&&null!==e&&Object.prototype.hasOwnProperty.call(e,"toJSON")}function x(e,t){return-1!==e.indexOf(t)}function S(e){return function(e){return"number"==typeof e}(e)&&e>=0&&e<=100}function k(e){return Object.keys(e).map((function(t){return e[t]}))}function E(){if("object"==typeof globalThis)return globalThis;Object.defineProperty(Object.prototype,"_dd_temp_",{get:function(){return this},configurable:!0});var e=_dd_temp_;return delete Object.prototype._dd_temp_,"object"!=typeof e&&(e="object"==typeof self?self:"object"==typeof window?window:{}),e}function O(e,t,n){void 0===n&&(n="");var r=e.charCodeAt(t-1),i=r>=55296&&r<=56319?t+1:t;return e.length<=i?e:"".concat(e.slice(0,i)).concat(n)}function C(e,t,n,r){return L(e,[t],n,r)}function L(e,t,n,r){var i=void 0===r?{}:r,o=i.once,a=i.capture,s=i.passive,u=f(o?function(e){l(),n(e)}:n),c=s?{capture:a,passive:s}:a;t.forEach((function(t){return e.addEventListener(t,u,c)}));var l=function(){return t.forEach((function(t){return e.removeEventListener(t,u,c)}))};return{stop:l}}function A(e,t,n){if(void 0===n&&(n=function(){if("undefined"!=typeof WeakSet){var e=new WeakSet;return{hasAlreadyBeenSeen:function(t){var n=e.has(t);return n||e.add(t),n}}}var t=[];return{hasAlreadyBeenSeen:function(e){var n=t.indexOf(e)>=0;return n||t.push(e),n}}}()),void 0===t)return e;if("object"!=typeof t||null===t)return t;if(t instanceof Date)return new Date(t.getTime());if(t instanceof RegExp){var r=t.flags||[t.global?"g":"",t.ignoreCase?"i":"",t.multiline?"m":"",t.sticky?"y":"",t.unicode?"u":""].join("");return new RegExp(t.source,r)}if(!n.hasAlreadyBeenSeen(t)){if(Array.isArray(t)){for(var i=Array.isArray(e)?e:[],o=0;o<t.length;++o)i[o]=A(i[o],t[o],n);return i}var a,s="object"==(null===(a=e)?"null":Array.isArray(a)?"array":typeof a)?e:{};for(var u in t)Object.prototype.hasOwnProperty.call(t,u)&&(s[u]=A(s[u],t[u],n));return s}}function I(e){return A(void 0,e)}function P(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];for(var r=0,i=t;r<i.length;r++){var o=i[r];null!=o&&(e=A(e,o))}return e}function M(){var e={};return{get:function(){return e},add:function(t,n){e[t]=n},remove:function(t){delete e[t]},set:function(t){e=t}}}var R,j=function(){function e(){this.buffer=[]}return e.prototype.add=function(e){this.buffer.push(e)>500&&this.buffer.splice(0,1)},e.prototype.drain=function(){this.buffer.forEach((function(e){return e()})),this.buffer.length=0},e}();function D(){return Date.now()}function N(){return performance.now()}function B(){return{relative:N(),timeStamp:D()}}function U(e,t){return t-e}function F(){return void 0===R&&(R=performance.timing.navigationStart),R}function z(){var e=E().DatadogEventBridge;if(e)return{getAllowedWebViewHosts:function(){return JSON.parse(e.getAllowedWebViewHosts())},send:function(t,n){e.send(JSON.stringify({eventType:t,event:n}))}}}function H(e){var t;void 0===e&&(e=null===(t=E().location)||void 0===t?void 0:t.hostname);var n=z();return!!n&&n.getAllowedWebViewHosts().some((function(t){var n=t.replace(/\./g,"\\.");return new RegExp("^(.+\\.)*".concat(n,"$")).test(e)}))}var Z,q,V;function W(e,t,n,r){var i=new Date;i.setTime(i.getTime()+n);var o="expires=".concat(i.toUTCString()),a=r&&r.crossSite?"none":"strict",s=r&&r.domain?";domain=".concat(r.domain):"",u=r&&r.secure?";secure":"";document.cookie="".concat(e,"=").concat(t,";").concat(o,";path=/;samesite=").concat(a).concat(s).concat(u)}function G(e){return function(e,t){var n=new RegExp("(?:^|;)\\s*".concat(t,"\\s*=\\s*([^;]+)")).exec(e);return n?n[1]:void 0}(document.cookie,e)}function $(e,t){W(e,"",0,t)}function Y(e){return!!q&&q.has(e)}function K(e){return X(e,function(e){if(e.origin)return e.origin;var t=e.host.replace(/(:80|:443)$/,"");return"".concat(e.protocol,"//").concat(t)}(window.location)).href}function X(e,t){if(function(){if(void 0!==V)return V;try{var e=new URL("http://test/path");return V="http://test/path"===e.href}catch(e){V=!1}return V}())return void 0!==t?new URL(e,t):new URL(e);if(void 0===t&&!/:/.test(e))throw new Error("Invalid URL: '".concat(e,"'"));var n=document,r=n.createElement("a");if(void 0!==t){var i=(n=document.implementation.createHTMLDocument("")).createElement("base");i.href=t,n.head.appendChild(i),n.body.appendChild(r)}return r.href=e,r}var Q="datadoghq.com",J={logs:"logs",rum:"rum",sessionReplay:"session-replay"},ee={logs:"logs",rum:"rum",sessionReplay:"replay"};function te(e,t,n){var r=e.site,i=void 0===r?Q:r,o=e.clientToken,a=i.split("."),s=a.pop(),u="".concat(J[t],".browser-intake-").concat(a.join("-"),".").concat(s),c="https://".concat(u,"/api/v2/").concat(ee[t]),l=e.proxyUrl&&K(e.proxyUrl);return{build:function(){var e="ddsource=browser"+"&ddtags=".concat(encodeURIComponent(["sdk_version:".concat("4.11.4")].concat(n).join(",")))+"&dd-api-key=".concat(o)+"&dd-evp-origin-version=".concat(encodeURIComponent("4.11.4"))+"&dd-evp-origin=browser"+"&dd-request-id=".concat(v());"rum"===t&&(e+="&batch_time=".concat(D()));var r="".concat(c,"?").concat(e);return l?"".concat(l,"?ddforward=").concat(encodeURIComponent(r)):r},buildIntakeUrl:function(){return l?"".concat(l,"?ddforward"):c},endpointType:t}}var ne=/[^a-z0-9_:./-]/;function re(e,t){var n=200-e.length-1;(t.length>n||ne.test(t))&&i.warn("".concat(e," value doesn't meet tag requirements and will be sanitized"));var r=t.replace(/,/g,"_");return"".concat(e,":").concat(r)}function ie(e){var t=function(e){var t=e.env,n=e.service,r=e.version,i=e.datacenter,o=[];return t&&o.push(re("env",t)),n&&o.push(re("service",n)),r&&o.push(re("version",r)),i&&o.push(re("datacenter",i)),o}(e),n=function(e,t){return{logsEndpointBuilder:te(e,"logs",t),rumEndpointBuilder:te(e,"rum",t),sessionReplayEndpointBuilder:te(e,"sessionReplay",t)}}(e,t),r=k(n).map((function(e){return e.buildIntakeUrl()})),i=function(e,t,n){if(!e.replica)return;var r=y({},e,{site:Q,clientToken:e.replica.clientToken}),i={logsEndpointBuilder:te(r,"logs",n),rumEndpointBuilder:te(r,"rum",n)};return t.push.apply(t,k(i).map((function(e){return e.buildIntakeUrl()}))),y({applicationId:e.replica.applicationId},i)}(e,r,t);return y({isIntakeUrl:function(e){return r.some((function(t){return 0===e.indexOf(t)}))},replica:i,site:e.site||Q},n)}function oe(e){var t,n;if(e&&e.clientToken)if(void 0===e.sampleRate||S(e.sampleRate)){var r;if(void 0===e.telemetrySampleRate||S(e.telemetrySampleRate))return r=e.enableExperimentalFeatures,Array.isArray(r)&&(q||(q=new Set(r)),r.filter((function(e){return"string"==typeof e})).forEach((function(e){q.add(e)}))),y({beforeSend:e.beforeSend&&o(e.beforeSend,"beforeSend threw an error:"),cookieOptions:ae(e),sampleRate:null!==(t=e.sampleRate)&&void 0!==t?t:100,telemetrySampleRate:null!==(n=e.telemetrySampleRate)&&void 0!==n?n:20,service:e.service,silentMultipleInit:!!e.silentMultipleInit,batchBytesLimit:Y("lower-batch-size")?10240:16384,eventRateLimiterThreshold:3e3,maxTelemetryEventsPerPage:15,flushTimeout:3e4,batchMessagesLimit:50,messageBytesLimit:262144},ie(e));i.error("Telemetry Sample Rate should be a number between 0 and 100")}else i.error("Sample Rate should be a number between 0 and 100");else i.error("Client Token is not configured, we will not send any data.")}function ae(e){var t={};return t.secure=function(e){return!!e.useSecureSessionCookie||!!e.useCrossSiteSessionCookie}(e),t.crossSite=!!e.useCrossSiteSessionCookie,e.trackSessionAcrossSubdomains&&(t.domain=function(){if(void 0===Z){for(var e="dd_site_test_".concat(v()),t=window.location.hostname.split("."),n=t.pop();t.length&&!G(e);)n="".concat(t.pop(),".").concat(n),W(e,"test",h,{domain:n});$(e,{domain:n}),Z=n}return Z}()),t}var se="?";function ue(e){var t=[],n=he(e,"stack");return n&&n.split("\n").forEach((function(e){var n=function(e){var t=ce.exec(e);if(!t)return;var n=t[2]&&0===t[2].indexOf("native"),r=t[2]&&0===t[2].indexOf("eval"),i=le.exec(t[2]);r&&i&&(t[2]=i[1],t[3]=i[2],t[4]=i[3]);return{args:n?[t[2]]:[],column:t[4]?+t[4]:void 0,func:t[1]||se,line:t[3]?+t[3]:void 0,url:n?void 0:t[2]}}(e)||function(e){var t=fe.exec(e);if(!t)return;return{args:[],column:t[4]?+t[4]:void 0,func:t[1]||se,line:+t[3],url:t[2]}}(e)||function(e){var t=de.exec(e);if(!t)return;var n=t[3]&&t[3].indexOf(" > eval")>-1,r=pe.exec(t[3]);n&&r&&(t[3]=r[1],t[4]=r[2],t[5]=void 0);return{args:t[2]?t[2].split(","):[],column:t[5]?+t[5]:void 0,func:t[1]||se,line:t[4]?+t[4]:void 0,url:t[3]}}(e);n&&(!n.func&&n.line&&(n.func=se),t.push(n))})),{message:he(e,"message"),name:he(e,"name"),stack:t}}var ce=/^\s*at (.*?) ?\(((?:file|https?|blob|chrome-extension|native|eval|webpack|<anonymous>|\/).*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,le=/\((\S*)(?::(\d+))(?::(\d+))\)/;var fe=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|webpack|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i;var de=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)((?:file|https?|blob|chrome|webpack|resource|capacitor|\[native).*?|[^@]*bundle)(?::(\d+))?(?::(\d+))?\s*$/i,pe=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i;function he(e,t){if("object"==typeof e&&e&&t in e){var n=e[t];return"string"==typeof n?n:void 0}}var ge="agent",me="console",ye="logger",ve="network",be="source",_e="report";function we(e){var t=Te(e);return e.stack.forEach((function(e){var n="?"===e.func?"<anonymous>":e.func,r=e.args&&e.args.length>0?"(".concat(e.args.join(", "),")"):"",i=e.line?":".concat(e.line):"",o=e.line&&e.column?":".concat(e.column):"";t+="\n  at ".concat(n).concat(r," @ ").concat(e.url).concat(i).concat(o)})),t}function Te(e){return"".concat(e.name||"Error",": ").concat(e.message)}function xe(){var e,t=new Error;if(!t.stack)try{throw t}catch(e){}return d((function(){var n=ue(t);n.stack=n.stack.slice(2),e=we(n)})),e}var Se=function(){function e(e){this.onFirstSubscribe=e,this.observers=[]}return e.prototype.subscribe=function(e){var t=this;return!this.observers.length&&this.onFirstSubscribe&&(this.onLastUnsubscribe=this.onFirstSubscribe()||void 0),this.observers.push(e),{unsubscribe:function(){t.observers=t.observers.filter((function(t){return e!==t})),!t.observers.length&&t.onLastUnsubscribe&&t.onLastUnsubscribe()}}},e.prototype.notify=function(e){this.observers.forEach((function(t){return t(e)}))},e}();function ke(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=new Se((function(){var t=e.map((function(e){return e.subscribe((function(e){return n.notify(e)}))}));return function(){return t.forEach((function(e){return e.unsubscribe()}))}}));return n}var Ee={intervention:"intervention",deprecation:"deprecation",cspViolation:"csp_violation"};function Oe(e){var t,n=[];x(e,Ee.cspViolation)&&n.push(t=new Se((function(){var e=f((function(e){t.notify(function(e){var t=Ee.cspViolation,n="'".concat(e.blockedURI,"' blocked by '").concat(e.effectiveDirective,"' directive");return{type:Ee.cspViolation,subtype:e.effectiveDirective,message:"".concat(t,": ").concat(n),stack:Ce(e.effectiveDirective,"".concat(n,' of the policy "').concat(O(e.originalPolicy,100,"..."),'"'),e.sourceFile,e.lineNumber,e.columnNumber)}}(e))}));return C(document,"securitypolicyviolation",e).stop})));var r=e.filter((function(e){return e!==Ee.cspViolation}));return r.length&&n.push(function(e){var t=new Se((function(){if(window.ReportingObserver){var n=f((function(e){return e.forEach((function(e){t.notify(function(e){var t=e.type,n=e.body;return{type:t,subtype:n.id,message:"".concat(t,": ").concat(n.message),stack:Ce(n.id,n.message,n.sourceFile,n.lineNumber,n.columnNumber)}}(e))}))})),r=new window.ReportingObserver(n,{types:e,buffered:!0});return r.observe(),function(){r.disconnect()}}}));return t}(r)),ke.apply(void 0,n)}function Ce(e,t,n,r,i){return n&&we({name:e,message:t,stack:[{func:"?",url:n,line:r,column:i}]})}function Le(e,t,n){return void 0===e?[]:"all"===e||Array.isArray(e)&&e.every((function(e){return x(t,e)}))?"all"===e?t:function(e){var t=new Set;return e.forEach((function(e){return t.add(e)})),function(e){var t=[];return e.forEach((function(e){return t.push(e)})),t}(t)}(e):void i.error("".concat(n,' should be "all" or an array with allowed values "').concat(t.join('", "'),'"'))}var Ae=function(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a},Ie={debug:"debug",error:"error",info:"info",warn:"warn"},Pe="console",Me="http",Re=Object.keys(Ie),je=function(){function e(e,t,n,r,i){void 0===n&&(n=Me),void 0===r&&(r=Ie.debug),void 0===i&&(i={}),this.handleLogStrategy=e,this.handlerType=n,this.level=r,this.contextManager=M(),this.contextManager.set(y({},i,t?{logger:{name:t}}:void 0))}return e.prototype.log=function(e,t,n){void 0===n&&(n=Ie.info),this.handleLogStrategy({message:e,context:I(t),status:n},this)},e.prototype.debug=function(e,t){this.log(e,t,Ie.debug)},e.prototype.info=function(e,t){this.log(e,t,Ie.info)},e.prototype.warn=function(e,t){this.log(e,t,Ie.warn)},e.prototype.error=function(e,t){var n={error:{origin:ye}};this.log(e,P(n,t),Ie.error)},e.prototype.setContext=function(e){this.contextManager.set(e)},e.prototype.getContext=function(){return this.contextManager.get()},e.prototype.addContext=function(e,t){this.contextManager.add(e,t)},e.prototype.removeContext=function(e){this.contextManager.remove(e)},e.prototype.setHandler=function(e){this.handlerType=e},e.prototype.getHandler=function(){return this.handlerType},e.prototype.setLevel=function(e){this.level=e},e.prototype.getLevel=function(){return this.level},Ae([l],e.prototype,"log",null),e}();var De,Ne=["https://www.datadoghq-browser-agent.com","https://www.datad0g-browser-agent.com","http://localhost","<anonymous>"],Be=["ddog-gov.com"],Ue={maxEventsPerPage:0,sentEventCount:0,telemetryEnabled:!1};function Fe(e){var t,n=new Se;return Ue.telemetryEnabled=b(e.telemetrySampleRate),De=function(r){!x(Be,e.site)&&Ue.telemetryEnabled&&n.notify(function(e){return P({type:"telemetry",date:D(),service:"browser-sdk",version:"4.11.4",source:"browser",_dd:{format_version:2},telemetry:e},void 0!==t?t():{})}(r))},a=ze,y(Ue,{maxEventsPerPage:e.maxTelemetryEventsPerPage,sentEventCount:0}),{setContextProvider:function(e){t=e},observable:n}}function ze(e){He(y({status:"error"},function(e){if(e instanceof Error){var t=ue(e);return{error:{kind:t.name,stack:we(Ze(t))},message:t.message}}return{error:{stack:"Not an instance of error"},message:"Uncaught ".concat(w(e))}}(e)))}function He(e){De&&Ue.sentEventCount<Ue.maxEventsPerPage&&(Ue.sentEventCount+=1,De(e))}function Ze(e){return e.stack=e.stack.filter((function(e){return!e.url||Ne.some((function(t){return n=e.url,r=t,n.slice(0,r.length)===r;var n,r}))})),e}var qe=/[^\u0000-\u007F]/,Ve=function(){function e(e,t,n,r,i,o){void 0===o&&(o=_),this.request=e,this.batchMessagesLimit=t,this.batchBytesLimit=n,this.messageBytesLimit=r,this.flushTimeout=i,this.beforeUnloadCallback=o,this.pushOnlyBuffer=[],this.upsertBuffer={},this.bufferBytesCount=0,this.bufferMessagesCount=0,this.flushOnVisibilityHidden(),this.flushPeriodically()}return e.prototype.add=function(e){this.addOrUpdate(e)},e.prototype.upsert=function(e,t){this.addOrUpdate(e,t)},e.prototype.flush=function(e){if(0!==this.bufferMessagesCount){var t=this.pushOnlyBuffer.concat(k(this.upsertBuffer));this.request.send(t.join("\n"),this.bufferBytesCount,e),this.pushOnlyBuffer=[],this.upsertBuffer={},this.bufferBytesCount=0,this.bufferMessagesCount=0}},e.prototype.computeBytesCount=function(e){return qe.test(e)?void 0!==window.TextEncoder?(new TextEncoder).encode(e).length:new Blob([e]).size:e.length},e.prototype.addOrUpdate=function(e,t){var n=this.process(e),r=n.processedMessage,o=n.messageBytesCount;o>=this.messageBytesLimit?i.warn("Discarded a message whose size was bigger than the maximum allowed size ".concat(this.messageBytesLimit,"KB.")):(this.hasMessageFor(t)&&this.remove(t),this.willReachedBytesLimitWith(o)&&this.flush("batch_bytes_limit"),this.push(r,o,t),this.isFull()&&this.flush("batch_messages_limit"))},e.prototype.process=function(e){var t=w(e);return{processedMessage:t,messageBytesCount:this.computeBytesCount(t)}},e.prototype.push=function(e,t,n){this.bufferMessagesCount>0&&(this.bufferBytesCount+=1),void 0!==n?this.upsertBuffer[n]=e:this.pushOnlyBuffer.push(e),this.bufferBytesCount+=t,this.bufferMessagesCount+=1},e.prototype.remove=function(e){var t=this.upsertBuffer[e];delete this.upsertBuffer[e];var n=this.computeBytesCount(t);this.bufferBytesCount-=n,this.bufferMessagesCount-=1,this.bufferMessagesCount>0&&(this.bufferBytesCount-=1)},e.prototype.hasMessageFor=function(e){return void 0!==e&&void 0!==this.upsertBuffer[e]},e.prototype.willReachedBytesLimitWith=function(e){return this.bufferBytesCount+e+1>=this.batchBytesLimit},e.prototype.isFull=function(){return this.bufferMessagesCount===this.batchMessagesLimit||this.bufferBytesCount>=this.batchBytesLimit},e.prototype.flushPeriodically=function(){var e=this;setTimeout(f((function(){e.flush("batch_flush_timeout"),e.flushPeriodically()})),this.flushTimeout)},e.prototype.flushOnVisibilityHidden=function(){var e=this;navigator.sendBeacon&&(C(window,"beforeunload",this.beforeUnloadCallback),C(document,"visibilitychange",(function(){"hidden"===document.visibilityState&&e.flush("visibility_hidden")})),C(window,"beforeunload",(function(){return e.flush("before_unload")})))},e}(),We="datadog-browser-sdk-failed-send-beacon";function Ge(e,t,n){if(Y("failed-sendbeacon")){var i,o,a={reason:n,endpointType:e,version:"4.11.4",connection:navigator.connection?navigator.connection.effectiveType:void 0,onLine:navigator.onLine,size:t};"before_unload"===n||"visibility_hidden"===n?window.localStorage.setItem("".concat(We,"-").concat(v()),JSON.stringify(a)):(p(r.debug,i="failed sendBeacon",o=a),He(y({message:i,status:"debug"},o)))}}var $e=function(){function e(e,t){this.endpointBuilder=e,this.bytesLimit=t}return e.prototype.send=function(e,t,n){var r=this.endpointBuilder.build();if(!!navigator.sendBeacon&&t<this.bytesLimit)try{if(navigator.sendBeacon(r,e))return;Ge(this.endpointBuilder.endpointType,t,n)}catch(e){!function(e){Ye||(Ye=!0,ze(e))}(e)}var i=new XMLHttpRequest;i.open("POST",r,!0),i.send(e)},e}(),Ye=!1;function Ke(e,t,n){var r,i=o(t);function o(t){return new Ve(new $e(t,e.batchBytesLimit),e.batchMessagesLimit,e.batchBytesLimit,e.messageBytesLimit,e.flushTimeout)}return n&&(r=o(n)),{add:function(e,t){void 0===t&&(t=!0),i.add(e),r&&t&&r.add(e)}}}var Xe=1/0,Qe=function(){function e(e){var t=this;this.expireDelay=e,this.entries=[],this.clearOldContextsInterval=setInterval((function(){return t.clearOldContexts()}),6e4)}return e.prototype.add=function(e,t){var n=this,r={context:e,startTime:t,endTime:Xe,remove:function(){var e=n.entries.indexOf(r);e>=0&&n.entries.splice(e,1)},close:function(e){r.endTime=e}};return this.entries.unshift(r),r},e.prototype.find=function(e){void 0===e&&(e=Xe);for(var t=0,n=this.entries;t<n.length;t++){var r=n[t];if(r.startTime<=e){if(e<=r.endTime)return r.context;break}}},e.prototype.closeActive=function(e){var t=this.entries[0];t&&t.endTime===Xe&&t.close(e)},e.prototype.findAll=function(e){return void 0===e&&(e=Xe),this.entries.filter((function(t){return t.startTime<=e&&e<=t.endTime})).map((function(e){return e.context}))},e.prototype.reset=function(){this.entries=[]},e.prototype.stop=function(){clearInterval(this.clearOldContextsInterval)},e.prototype.clearOldContexts=function(){for(var e=N()-this.expireDelay;this.entries.length>0&&this.entries[this.entries.length-1].endTime<e;)this.entries.pop()},e}();var Je,et=144e5,tt=9e5,nt=/^([a-z]+)=([a-z0-9-]+)$/,rt="&",it="_dd_s",ot=[];function at(e,t){var n;if(void 0===t&&(t=0),Je||(Je=e),e===Je)if(t>=100)ct();else{var r,i=dt();if(st()){if(i.lock)return void ut(e,t);if(r=v(),i.lock=r,ft(i,e.options),(i=dt()).lock!==r)return void ut(e,t)}var o=e.process(i);if(st()&&(i=dt()).lock!==r)ut(e,t);else{if(o&&lt(o,e.options),st()&&(!o||!pt(o))){if((i=dt()).lock!==r)return void ut(e,t);delete i.lock,ft(i,e.options),o=i}null===(n=e.after)||void 0===n||n.call(e,o||i),ct()}}else ot.push(e)}function st(){return!!window.chrome||/HeadlessChrome/.test(window.navigator.userAgent)}function ut(e,t){setTimeout(f((function(){at(e,t+1)})),10)}function ct(){Je=void 0;var e=ot.shift();e&&at(e)}function lt(e,t){pt(e)?function(e){W(it,"",0,e)}(t):(e.expire=String(Date.now()+tt),ft(e,t))}function ft(e,t){W(it,function(e){return(t=e,Object.keys(t).map((function(e){return[e,t[e]]}))).map((function(e){var t=e[0],n=e[1];return"".concat(t,"=").concat(n)})).join(rt);var t}(e),tt,t)}function dt(){var e=G(it),t={};return function(e){return void 0!==e&&(-1!==e.indexOf(rt)||nt.test(e))}(e)&&e.split(rt).forEach((function(e){var n=nt.exec(e);if(null!==n){var r=n[1],i=n[2];t[r]=i}})),t}function pt(e){return t=e,0===Object.keys(t).length;var t}function ht(e,t,n){var r=new Se,i=new Se,o=setInterval(f((function(){at({options:e,process:function(e){return c(e)?void 0:{}},after:s})})),1e3),a=function(){var e=dt();if(c(e))return e;return{}}();function s(e){return c(e)||(e={}),u()&&(!function(e){return a.id!==e.id||a[t]!==e[t]}(e)?a=e:(a={},i.notify())),e}function u(){return void 0!==a[t]}function c(e){return(void 0===e.created||Date.now()-Number(e.created)<et)&&(void 0===e.expire||Date.now()<Number(e.expire))}return{expandOrRenewSession:m(f((function(){var i;at({options:e,process:function(e){var r=s(e);return i=function(e){var r=n(e[t]),i=r.trackingType,o=r.isTracked;e[t]=i,o&&!e.id&&(e.id=v(),e.created=String(Date.now()));return o}(r),r},after:function(e){i&&!u()&&function(e){a=e,r.notify()}(e),a=e}})})),1e3).throttled,expandSession:function(){at({options:e,process:function(e){return u()?s(e):void 0}})},getSession:function(){return a},renewObservable:r,expireObservable:i,stop:function(){clearInterval(o)}}}var gt=[];function mt(e,t,n){!function(e){var t=G(it),n=G("_dd"),r=G("_dd_r"),i=G("_dd_l");if(!t){var o={};n&&(o.id=n),i&&/^[01]$/.test(i)&&(o.logs=i),r&&/^[012]$/.test(r)&&(o.rum=r),lt(o,e)}}(e);var r=ht(e,t,n);gt.push((function(){return r.stop()}));var i,o=new Qe(144e5);function a(){return{id:r.getSession().id,trackingType:r.getSession()[t]}}return gt.push((function(){return o.stop()})),r.renewObservable.subscribe((function(){o.add(a(),N())})),r.expireObservable.subscribe((function(){o.closeActive(N())})),r.expandOrRenewSession(),o.add(a(),[0,F()][0]),i=L(window,["click","touchstart","keydown","scroll"],(function(){return r.expandOrRenewSession()}),{capture:!0,passive:!0}).stop,gt.push(i),function(e){var t=f((function(){"visible"===document.visibilityState&&e()})),n=C(document,"visibilitychange",t).stop;gt.push(n);var r=setInterval(t,6e4);gt.push((function(){clearInterval(r)}))}((function(){return r.expandSession()})),{findActiveSession:function(e){return o.find(e)},renewObservable:r.renewObservable,expireObservable:r.expireObservable}}var yt;function vt(e){var t=mt(e.cookieOptions,"logs",(function(t){return function(e,t){var n=function(e){return"0"===e||"1"===e}(t)?t:bt(e);return{trackingType:n,isTracked:"1"===n}}(e,t)}));return{findTrackedSession:function(e){var n=t.findActiveSession(e);return n&&"1"===n.trackingType?{id:n.id}:void 0}}}function bt(e){return b(e.sampleRate)?"1":"0"}var _t=((yt={})[Ie.debug]=0,yt[Ie.info]=1,yt[Ie.warn]=2,yt[Ie.error]=3,yt);function wt(e,t,n){var r=n.getHandler(),i=Array.isArray(r)?r:[r];return _t[e]>=_t[n.getLevel()]&&x(i,t)}function Tt(e,t,n,r,i){var o=Re.concat(["custom"]),a={};o.forEach((function(e){var r,i,o,s,u;a[e]=(r=e,i=t.eventRateLimiterThreshold,o=function(e){return function(e,t){t.notify(0,{rawLogsEvent:{message:e.message,date:e.startClocks.timeStamp,error:{origin:ge},origin:ge,status:Ie.error}})}(e,n)},s=0,u=!1,{isLimitReached:function(){if(0===s&&setTimeout((function(){s=0}),g),(s+=1)<=i||u)return u=!1,!1;if(s===i+1){u=!0;try{o({message:"Reached max number of ".concat(r,"s by minute: ").concat(i),source:ge,startClocks:B()})}finally{u=!1}}return!0}})})),n.subscribe(0,(function(o){var s,u,c,l=o.rawLogsEvent,f=o.messageContext,d=void 0===f?void 0:f,p=o.savedCommonContext,h=void 0===p?void 0:p,g=o.logger,m=void 0===g?i:g,y=l.date-F(),v=e.findTrackedSession(y);if(v){var b=h||r(),_=P({service:t.service,session_id:v.id,view:b.view},b.context,xt(y),l,m.getContext(),d);!wt(l.status,Me,m)||!1===(null===(s=t.beforeSend)||void 0===s?void 0:s.call(t,_))||(null===(u=_.error)||void 0===u?void 0:u.origin)!==ge&&(null!==(c=a[_.status])&&void 0!==c?c:a.custom).isLimitReached()||n.notify(1,_)}}))}function xt(e){var t=window.DD_RUM;return t&&t.getInternalContext?t.getInternalContext(e):void 0}var St,kt={};function Et(e){var t=e.map((function(e){return kt[e]||(kt[e]=function(e){var t=new Se((function(){var n=console[e];return console[e]=function(){for(var r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];n.apply(console,r);var o=xe();d((function(){t.notify(Ot(r,e,o))}))},function(){console[e]=n}}));return t}(e)),kt[e]}));return ke.apply(void 0,t)}function Ot(e,t,n){var i,o=e.map((function(e){return function(e){if("string"==typeof e)return e;if(e instanceof Error)return Te(ue(e));return w(e,void 0,2)}(e)})).join(" ");if(t===r.error){var a=function(e,t){for(var n=0;n<e.length;n+=1){var r=e[n];if(t(r,n,e))return r}}(e,(function(e){return e instanceof Error}));i=a?we(ue(a)):void 0,o="console error: ".concat(o)}return{api:t,message:o,stack:i,handlingStack:n}}var Ct,Lt=((St={})[r.log]=Ie.info,St[r.debug]=Ie.debug,St[r.info]=Ie.info,St[r.warn]=Ie.warn,St[r.error]=Ie.error,St);var At,It=((Ct={})[Ee.cspViolation]=Ie.error,Ct[Ee.intervention]=Ie.error,Ct[Ee.deprecation]=Ie.warn,Ct);function Pt(e,t,n){var r=e[t],i=n(r),o=function(){return i.apply(this,arguments)};return e[t]=o,{stop:function(){e[t]===o?e[t]=r:i=r}}}function Mt(e,t,n){var r=n.before,i=n.after;return Pt(e,t,(function(e){return function(){var t,n=arguments;return r&&d(r,this,n),"function"==typeof e&&(t=e.apply(this,n)),i&&d(i,this,n),t}}))}var Rt,jt=new WeakMap;function Dt(){var e;return At||(e=new Se((function(){var t=Mt(XMLHttpRequest.prototype,"open",{before:Nt}).stop,n=Mt(XMLHttpRequest.prototype,"send",{before:function(){Bt.call(this,e)}}).stop,r=Mt(XMLHttpRequest.prototype,"abort",{before:Ut}).stop;return function(){t(),n(),r()}})),At=e),At}function Nt(e,t){jt.set(this,{state:"open",method:e,url:K(t.toString())})}function Bt(e){var t=this,n=jt.get(this);if(n){var r=n;r.state="start",r.startTime=N(),r.startClocks=B(),r.isAborted=!1,r.xhr=this;var i=!1,o=Mt(this,"onreadystatechange",{before:function(){this.readyState===XMLHttpRequest.DONE&&a()}}).stop,a=f((function(){if(t.removeEventListener("loadend",a),o(),!i){i=!0;var s=n;s.state="complete",s.duration=U(r.startClocks.timeStamp,D()),s.status=t.status,e.notify(y({},s))}}));this.addEventListener("loadend",a),e.notify(r)}}function Ut(){var e=jt.get(this);e&&(e.isAborted=!0)}function Ft(){var e;return Rt||(e=new Se((function(){if(window.fetch)return Pt(window,"fetch",(function(t){return function(n,r){var i,o=d(zt,null,[e,n,r]);return o?(i=t.call(this,o.input,o.init),d(Ht,null,[e,i,o])):i=t.call(this,n,r),i}})).stop})),Rt=e),Rt}function zt(e,t,n){var r=n&&n.method||"object"==typeof t&&t.method||"GET",i=K("object"==typeof t&&t.url||t),o={state:"start",init:n,input:t,method:r,startClocks:B(),url:i};return e.notify(o),o}function Ht(e,t,n){var r=function(t){var r=n;r.state="complete",r.duration=U(r.startClocks.timeStamp,D()),"stack"in t||t instanceof Error?(r.status=0,r.isAborted=t instanceof DOMException&&t.code===DOMException.ABORT_ERR,r.error=t,e.notify(r)):"status"in t&&(r.response=t,r.responseType=t.type,r.status=t.status,r.isAborted=!1,e.notify(r))};t.then(f(r),f(r))}function Zt(e,t){var n=Dt().subscribe((function(e){"complete"===e.state&&i("xhr",e)})),r=Ft().subscribe((function(e){"complete"===e.state&&i("fetch",e)}));function i(n,r){function i(e){t.notify(0,{rawLogsEvent:{message:"".concat(Vt(n)," error ").concat(r.method," ").concat(r.url),date:r.startClocks.timeStamp,error:{origin:ve,stack:e||"Failed to load"},http:{method:r.method,status_code:r.status,url:r.url},status:Ie.error,origin:ve}})}e.isIntakeUrl(r.url)||!function(e){return 0===e.status&&"opaque"!==e.responseType}(r)&&!function(e){return e.status>=500}(r)||("xhr"in r?function(e,t,n){"string"==typeof e.response?n(qt(e.response,t)):n(e.response)}(r.xhr,e,i):r.response?function(e,t,n){window.TextDecoder?e.body?function(e,t,n){!function(e,t,n){var r=e.getReader(),i=[],o=0;function a(){r.read().then(f((function(e){e.done?s():(i.push(e.value),(o+=e.value.length)>t?s():a())})),f((function(e){return n(e)})))}function s(){var e;if(r.cancel().catch(_),1===i.length)e=i[0];else{e=new Uint8Array(o);var a=0;i.forEach((function(t){e.set(t,a),a+=t.length}))}n(void 0,e.slice(0,t),e.length>t)}a()}(e,t,(function(e,t,r){if(e)n(e);else{var i=(new TextDecoder).decode(t);r&&(i+="..."),n(void 0,i)}}))}(e.clone().body,t.requestErrorResponseLengthLimit,(function(e,t){n(e?"Unable to retrieve response: ".concat(e):t)})):n():e.clone().text().then(f((function(e){return n(qt(e,t))})),f((function(e){return n("Unable to retrieve response: ".concat(e))})))}(r.response,e,i):r.error&&function(e,t,n){n(qt(we(ue(e)),t))}(r.error,e,i))}return{stop:function(){n.unsubscribe(),r.unsubscribe()}}}function qt(e,t){return e.length>t.requestErrorResponseLengthLimit?"".concat(e.substring(0,t.requestErrorResponseLengthLimit),"..."):e}function Vt(e){return"xhr"===e?"XHR":"Fetch"}var Wt=/^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?(.*)$/;function Gt(e){var t=function(e){return Mt(window,"onerror",{before:function(t,n,r,i,o){var a;if(o)a=ue(o),e(a,o);else{var s,u={url:n,column:i,line:r},c=t;if("[object String]"==={}.toString.call(t)){var l=Wt.exec(c);l&&(s=l[1],c=l[2])}e(a={name:s,message:"string"==typeof c?c:void 0,stack:[u]},t)}}})}(e).stop,n=function(e){return Mt(window,"onunhandledrejection",{before:function(t){var n=t.reason||"Empty reason",r=ue(n);e(r,n)}})}(e).stop;return{stop:function(){t(),n()}}}function $t(e){return Gt((function(t,n){var r=function(e,t,n,r){return e&&(void 0!==e.message||t instanceof Error)?{message:e.message||"Empty message",stack:we(e),handlingStack:r,type:e.name}:{message:"".concat(n," ").concat(w(t)),stack:"No stack, consider using an instance of Error",handlingStack:r,type:e&&e.name}}(t,n,"Uncaught"),i=r.stack,o=r.message,a=r.type;e.notify({message:o,stack:i,type:a,source:be,startClocks:B(),originalError:n,handling:"unhandled"})}))}var Yt=function(){function e(){this.callbacks={}}return e.prototype.notify=function(e,t){var n=this.callbacks[e];n&&n.forEach((function(e){return e(t)}))},e.prototype.subscribe=function(e,t){var n=this;return this.callbacks[e]||(this.callbacks[e]=[]),this.callbacks[e].push(t),{unsubscribe:function(){n.callbacks[e]=n.callbacks[e].filter((function(e){return t!==e}))}}},e}();var Kt=function(e){var t,n,o=!1,a=M(),s={},u=new j,l=function(e,t,n,r){void 0===n&&(n=I(h())),void 0===r&&(r=D()),u.add((function(){return l(e,t,n,r)}))},d=function(){},p=new je((function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return l.apply(void 0,e)}));function h(){return{view:{referrer:document.referrer,url:window.location.href},context:a.get()}}return t={logger:p,init:f((function(t){if(H()&&(t=function(e){return y({},e,{clientToken:"empty"})}(t)),function(e){return!o||(e.silentMultipleInit||i.error("DD_LOGS is already initialized."),!1)}(t)){var n=function(e){var t=oe(e),n=Le(e.forwardConsoleLogs,k(r),"Forward Console Logs"),i=Le(e.forwardReports,k(Ee),"Forward Reports");if(t&&n&&i)return e.forwardErrorsToLogs&&!x(n,r.error)&&n.push(r.error),y({forwardErrorsToLogs:!1!==e.forwardErrorsToLogs,forwardConsoleLogs:n,forwardReports:i,requestErrorResponseLengthLimit:32768},t)}(t);n&&(l=e(n,h,p).handleLog,d=function(){return I(t)},u.drain(),o=!0)}})),getLoggerGlobalContext:f(a.get),setLoggerGlobalContext:f(a.set),addLoggerGlobalContext:f(a.add),removeLoggerGlobalContext:f(a.remove),createLogger:f((function(e,t){return void 0===t&&(t={}),s[e]=new je((function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return l.apply(void 0,e)}),e,t.handler,t.level,t.context),s[e]})),getLogger:f((function(e){return s[e]})),getInitConfiguration:f((function(){return d()}))},n=y({version:"4.11.4",onReady:function(e){e()}},t),Object.defineProperty(n,"_setDebug",{get:function(){return c},enumerable:!1}),n}((function(e,t,n){var o=new Yt,a=function(e){var t,n=Fe(e);if(H()){var r=z();n.observable.subscribe((function(e){return r.send("internal_telemetry",e)}))}else{var i=Ke(e,e.rumEndpointBuilder,null===(t=e.replica)||void 0===t?void 0:t.rumEndpointBuilder);n.observable.subscribe((function(t){return i.add(t,function(e){return"datad0g.com"===e.site}(e))}))}return n}(e);a.setContextProvider((function(){var e,t,n,r,i,o;return{application:{id:null===(e=xt())||void 0===e?void 0:e.application_id},session:{id:null===(t=u.findTrackedSession())||void 0===t?void 0:t.id},view:{id:null===(r=null===(n=xt())||void 0===n?void 0:n.view)||void 0===r?void 0:r.id},action:{id:null===(o=null===(i=xt())||void 0===i?void 0:i.user_action)||void 0===o?void 0:o.id}}})),Zt(e,o),function(e,t,n){void 0===n&&(n=new Se),e.forwardErrorsToLogs&&$t(n);var r=n.subscribe((function(e){t.notify(0,{rawLogsEvent:{message:e.message,date:e.startClocks.timeStamp,error:{kind:e.type,origin:be,stack:e.stack},origin:be,status:Ie.error}})}))}(e,o),function(e,t){var n=Et(e.forwardConsoleLogs).subscribe((function(e){t.notify(0,{rawLogsEvent:{date:D(),message:e.message,origin:me,error:e.api===r.error?{origin:me,stack:e.stack}:void 0,status:Lt[e.api]}})}))}(e,o),function(e,t){var n=Oe(e.forwardReports).subscribe((function(e){var n,r=e.message,i=It[e.type];i===Ie.error?n={kind:e.subtype,origin:_e,stack:e.stack}:e.stack&&(r+=" Found in ".concat(function(e){var t;return null===(t=/@ (.+)/.exec(e))||void 0===t?void 0:t[1]}(e.stack))),t.notify(0,{rawLogsEvent:{date:D(),message:r,origin:_e,error:n,status:i}})}))}(e,o);var s=function(e){return{handleLog:function(t,n,r,o){var a=t.context;wt(t.status,Pe,n)&&i(t.status,t.message,P(n.getContext(),a)),e.notify(0,{rawLogsEvent:{date:o||D(),message:t.message,status:t.status,origin:ye},messageContext:a,savedCommonContext:r,logger:n})}}}(o).handleLog,u=function(e){if(void 0===document.cookie||null===document.cookie)return!1;try{var t="dd_cookie_test_".concat(v()),n="test";W(t,n,h,e);var r=G(t)===n;return $(t,e),r}catch(e){return i.error(e),!1}}(e.cookieOptions)&&!H()?vt(e):function(e){var t="1"===bt(e)?{}:void 0;return{findTrackedSession:function(){return t}}}(e);return Tt(u,e,o,t,n),H()?function(e){var t=z();e.subscribe(1,(function(e){t.send("log",e)}))}(o):function(e,t){var n,r=Ke(e,e.logsEndpointBuilder,null===(n=e.replica)||void 0===n?void 0:n.logsEndpointBuilder);t.subscribe(1,(function(e){r.add(e)}))}(e,o),{handleLog:s}}));!function(e,t,n){var r=e[t];e[t]=n,r&&r.q&&r.q.forEach((function(e){return o(e,"onReady callback threw an error:")()}))}(E(),"DD_LOGS",Kt)},96896:function(e,t,n){"use strict";n.d(t,{v:function(){return Bi}});var r=function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},r.apply(this,arguments)};function i(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var r=Array(e),i=0;for(t=0;t<n;t++)for(var o=arguments[t],a=0,s=o.length;a<s;a++,i++)r[i]=o[a];return r}var o={log:console.log.bind(console),warn:console.warn.bind(console),error:console.error.bind(console)},a="?";function s(e){var t=[],n=p(e,"stack");return n&&n.split("\n").forEach((function(e){var n=function(e){var t=u.exec(e);if(!t)return;var n=t[2]&&0===t[2].indexOf("native"),r=t[2]&&0===t[2].indexOf("eval"),i=c.exec(t[2]);r&&i&&(t[2]=i[1],t[3]=i[2],t[4]=i[3]);return{args:n?[t[2]]:[],column:t[4]?+t[4]:void 0,func:t[1]||a,line:t[3]?+t[3]:void 0,url:n?void 0:t[2]}}(e)||function(e){var t=l.exec(e);if(!t)return;return{args:[],column:t[4]?+t[4]:void 0,func:t[1]||a,line:+t[3],url:t[2]}}(e)||function(e){var t=f.exec(e);if(!t)return;var n=t[3]&&t[3].indexOf(" > eval")>-1,r=d.exec(t[3]);n&&r&&(t[3]=r[1],t[4]=r[2],t[5]=void 0);return{args:t[2]?t[2].split(","):[],column:t[5]?+t[5]:void 0,func:t[1]||a,line:t[4]?+t[4]:void 0,url:t[3]}}(e);n&&(!n.func&&n.line&&(n.func=a),t.push(n))})),{message:p(e,"message"),name:p(e,"name"),stack:t}}var u=/^\s*at (.*?) ?\(((?:file|https?|blob|chrome-extension|native|eval|webpack|<anonymous>|\/).*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,c=/\((\S*)(?::(\d+))(?::(\d+))\)/;var l=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|webpack|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i;var f=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)((?:file|https?|blob|chrome|webpack|resource|capacitor|\[native).*?|[^@]*bundle)(?::(\d+))?(?::(\d+))?\s*$/i,d=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i;function p(e,t){if("object"==typeof e&&e&&t in e){var n=e[t];return"string"==typeof n?n:void 0}}var h,g,m=1e3,y=6e4;function v(e,t,n){var r,i,o=!n||void 0===n.leading||n.leading,a=!n||void 0===n.trailing||n.trailing,s=!1;return{throttled:function(){for(var n=[],u=0;u<arguments.length;u++)n[u]=arguments[u];s?r=n:(o?e.apply(void 0,n):r=n,s=!0,i=setTimeout((function(){a&&r&&e.apply(void 0,r),s=!1,r=void 0}),t))},cancel:function(){clearTimeout(i),s=!1,r=void 0}}}function b(e){return e?(parseInt(e,10)^16*Math.random()>>parseInt(e,10)/4).toString(16):"10000000-1000-4000-8000-100000000000".replace(/[018]/g,b)}function _(e){return 0!==e&&100*Math.random()<=e}function w(e,t){return+e.toFixed(t)}function T(){}function x(e,t,n){if(null==e)return JSON.stringify(e);var r=[!1,void 0];S(e)&&(r=[!0,e.toJSON],delete e.toJSON);var i,o,a=[!1,void 0];"object"==typeof e&&S(i=Object.getPrototypeOf(e))&&(a=[!0,i.toJSON],delete i.toJSON);try{o=JSON.stringify(e,t,n)}catch(e){o="<error: unable to serialize object>"}finally{r[0]&&(e.toJSON=r[1]),a[0]&&(i.toJSON=a[1])}return o}function S(e){return"object"==typeof e&&null!==e&&Object.prototype.hasOwnProperty.call(e,"toJSON")}function k(e,t){return-1!==e.indexOf(t)}function E(e,t){for(var n=0;n<e.length;n+=1){var r=e[n];if(t(r,n,e))return r}}function O(e){return C(e)&&e>=0&&e<=100}function C(e){return"number"==typeof e}function L(e){return Object.keys(e).map((function(t){return e[t]}))}function A(e){return Object.keys(e).map((function(t){return[t,e[t]]}))}function I(e){return 0===Object.keys(e).length}function P(){if("object"==typeof globalThis)return globalThis;Object.defineProperty(Object.prototype,"_dd_temp_",{get:function(){return this},configurable:!0});var e=_dd_temp_;return delete Object.prototype._dd_temp_,"object"!=typeof e&&(e="object"==typeof self?self:"object"==typeof window?window:{}),e}function M(e){if(e.origin)return e.origin;var t=e.host.replace(/(:80|:443)$/,"");return e.protocol+"//"+t}function R(e,t){var n=new RegExp("(?:^|;)\\s*"+t+"\\s*=\\s*([^;]+)").exec(e);return n?n[1]:void 0}function j(e,t,n,r){return D(e,[t],n,r)}function D(e,t,n,r){var i=void 0===r?{}:r,o=i.once,a=i.capture,s=i.passive,u=ce(o?function(e){l(),n(e)}:n),c=s?{capture:a,passive:s}:a;t.forEach((function(t){return e.addEventListener(t,u,c)}));var l=function(){return t.forEach((function(t){return e.removeEventListener(t,u,c)}))};return{stop:l}}function N(e,t){document.readyState===e||"complete"===document.readyState?t():j(window,"complete"===e?"load":"DOMContentLoaded",t,{once:!0})}function B(e){return null===e?"null":Array.isArray(e)?"array":typeof e}function U(e,t,n){if(void 0===n&&(n=function(){if("undefined"!=typeof WeakSet){var e=new WeakSet;return{hasAlreadyBeenSeen:function(t){var n=e.has(t);return n||e.add(t),n}}}var t=[];return{hasAlreadyBeenSeen:function(e){var n=t.indexOf(e)>=0;return n||t.push(e),n}}}()),void 0===t)return e;if("object"!=typeof t||null===t)return t;if(t instanceof Date)return new Date(t.getTime());if(t instanceof RegExp){var r=t.flags||[t.global?"g":"",t.ignoreCase?"i":"",t.multiline?"m":"",t.sticky?"y":"",t.unicode?"u":""].join("");return new RegExp(t.source,r)}if(!n.hasAlreadyBeenSeen(t)){if(Array.isArray(t)){for(var i=Array.isArray(e)?e:[],o=0;o<t.length;++o)i[o]=U(i[o],t[o],n);return i}var a="object"===B(e)?e:{};for(var s in t)Object.prototype.hasOwnProperty.call(t,s)&&(a[s]=U(a[s],t[s],n));return a}}function F(e){return U(void 0,e)}function z(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];for(var r=0,i=t;r<i.length;r++){var o=i[r];null!=o&&(e=U(e,o))}return e}!function(e){e.DOCUMENT="document",e.XHR="xhr",e.BEACON="beacon",e.FETCH="fetch",e.CSS="css",e.JS="js",e.IMAGE="image",e.FONT="font",e.MEDIA="media",e.OTHER="other"}(h||(h={})),function(e){e.FETCH="fetch",e.XHR="xhr"}(g||(g={}));var H,Z="agent",q="console",V="custom",W="source";function G(e,t,n,r){return e&&(void 0!==e.message||t instanceof Error)?{message:e.message||"Empty message",stack:$(e),handlingStack:r,type:e.name}:{message:n+" "+x(t),stack:"No stack, consider using an instance of Error",handlingStack:r,type:e&&e.name}}function $(e){var t=Y(e);return e.stack.forEach((function(e){var n="?"===e.func?"<anonymous>":e.func,r=e.args&&e.args.length>0?"("+e.args.join(", ")+")":"",i=e.line?":"+e.line:"",o=e.line&&e.column?":"+e.column:"";t+="\n  at "+n+r+" @ "+e.url+i+o})),t}function Y(e){return(e.name||"Error")+": "+e.message}function K(){var e,t=new Error;if(!t.stack)try{throw t}catch(e){}return le((function(){var n=s(t);n.stack=n.stack.slice(2),e=$(n)})),e}function X(){var e=P().DatadogEventBridge;if(e)return{getAllowedWebViewHosts:function(){return JSON.parse(e.getAllowedWebViewHosts())},send:function(t,n){e.send(JSON.stringify({eventType:t,event:n}))}}}function Q(){var e=X();return!!e&&k(e.getAllowedWebViewHosts(),window.location.hostname)}!function(e){e.HANDLED="handled",e.UNHANDLED="unhandled"}(H||(H={}));var J,ee=/[^\u0000-\u007F]/,te=function(){function e(e,t,n,r,i,o){void 0===o&&(o=T),this.request=e,this.maxSize=t,this.bytesLimit=n,this.maxMessageSize=r,this.flushTimeout=i,this.beforeUnloadCallback=o,this.pushOnlyBuffer=[],this.upsertBuffer={},this.bufferBytesSize=0,this.bufferMessageCount=0,this.flushOnVisibilityHidden(),this.flushPeriodically()}return e.prototype.add=function(e){this.addOrUpdate(e)},e.prototype.upsert=function(e,t){this.addOrUpdate(e,t)},e.prototype.flush=function(e){if(0!==this.bufferMessageCount){var t=i(this.pushOnlyBuffer,L(this.upsertBuffer));this.request.send(t.join("\n"),this.bufferBytesSize,e),this.pushOnlyBuffer=[],this.upsertBuffer={},this.bufferBytesSize=0,this.bufferMessageCount=0}},e.prototype.sizeInBytes=function(e){return ee.test(e)?void 0!==window.TextEncoder?(new TextEncoder).encode(e).length:new Blob([e]).size:e.length},e.prototype.addOrUpdate=function(e,t){var n=this.process(e),r=n.processedMessage,i=n.messageBytesSize;i>=this.maxMessageSize?o.warn("Discarded a message whose size was bigger than the maximum allowed size "+this.maxMessageSize+"KB."):(this.hasMessageFor(t)&&this.remove(t),this.willReachedBytesLimitWith(i)&&this.flush("willReachedBytesLimitWith"),this.push(r,i,t),this.isFull()&&this.flush("isFull"))},e.prototype.process=function(e){var t=x(e);return{processedMessage:t,messageBytesSize:this.sizeInBytes(t)}},e.prototype.push=function(e,t,n){this.bufferMessageCount>0&&(this.bufferBytesSize+=1),void 0!==n?this.upsertBuffer[n]=e:this.pushOnlyBuffer.push(e),this.bufferBytesSize+=t,this.bufferMessageCount+=1},e.prototype.remove=function(e){var t=this.upsertBuffer[e];delete this.upsertBuffer[e];var n=this.sizeInBytes(t);this.bufferBytesSize-=n,this.bufferMessageCount-=1,this.bufferMessageCount>0&&(this.bufferBytesSize-=1)},e.prototype.hasMessageFor=function(e){return void 0!==e&&void 0!==this.upsertBuffer[e]},e.prototype.willReachedBytesLimitWith=function(e){return this.bufferBytesSize+e+1>=this.bytesLimit},e.prototype.isFull=function(){return this.bufferMessageCount===this.maxSize||this.bufferBytesSize>=this.bytesLimit},e.prototype.flushPeriodically=function(){var e=this;setTimeout(ce((function(){e.flush("flushPeriodically"),e.flushPeriodically()})),this.flushTimeout)},e.prototype.flushOnVisibilityHidden=function(){var e=this;navigator.sendBeacon&&(j(window,"beforeunload",this.beforeUnloadCallback),j(document,"visibilitychange",(function(){"hidden"===document.visibilityState&&e.flush("visibilitychange")})),j(window,"beforeunload",(function(){return e.flush("beforeunload")})))},e}(),ne=!1,re=function(){function e(e,t){this.endpointBuilder=e,this.bytesLimit=t}return e.prototype.send=function(e,t,n){var r=this.endpointBuilder.build(),i=!!navigator.sendBeacon&&t<this.bytesLimit;if(i)try{if(navigator.sendBeacon(r,e))return}catch(e){!function(e){ie||(ie=!0,de(e))}(e)}var o=new XMLHttpRequest;o.addEventListener("loadend",ce((function(e){return function(e){var o=null==e?void 0:e.currentTarget;o.status>=200&&o.status<300||ne||(ne=!0,fe("XHR fallback failed",{on_line:navigator.onLine,size:t,url:r,try_beacon:i,flush_reason:n,event:{is_trusted:e.isTrusted,total:e.total,loaded:e.loaded},request:{status:o.status,ready_state:o.readyState,response_text:o.responseText.slice(0,512)}}))}(e)}))),o.open("POST",r,!0),o.send(e)},e}(),ie=!1;!function(e){e.info="info",e.error="error"}(J||(J={}));var oe,ae,se={maxMessagesPerPage:0,sentMessageCount:0};function ue(e){var t;if(Q()){var n=X();oe=function(e){return n.send("internal_log",i(e))}}else if(e.internalMonitoringEndpointBuilder){var r=function(e){var t,n=r(e.internalMonitoringEndpointBuilder);function r(t){return new te(new re(t,e.batchBytesLimit),e.maxBatchSize,e.batchBytesLimit,e.maxMessageSize,e.flushTimeout)}return void 0!==e.replica&&(t=r(e.replica.internalMonitoringEndpointBuilder)),{add:function(e){n.add(e),t&&t.add(e)}}}(e);oe=function(e){return r.add(i(e))}}function i(e){return z({date:(new Date).getTime()},void 0!==t?t():{},e)}return function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];t.forEach((function(t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}))}(se,{maxMessagesPerPage:e.maxInternalMonitoringMessagesPerPage,sentMessageCount:0}),{setExternalContextProvider:function(e){t=e}}}function ce(e){return function(){return le(e,this,arguments)}}function le(e,t,n){try{return e.apply(t,n)}catch(e){ge(e);try{de(e)}catch(e){ge(e)}}}function fe(e,t){!function(e,t){se.debugMode&&o.log("[MONITORING MESSAGE]",e,t)}(e,t),pe(r(r({message:e},t),{status:J.info}))}function de(e){pe(r(r({},function(e){if(e instanceof Error){var t=s(e);return{error:{kind:t.name,stack:$(t)},message:t.message}}return{error:{stack:"Not an instance of error"},message:"Uncaught "+x(e)}}(e)),{status:J.error}))}function pe(e){oe&&se.sentMessageCount<se.maxMessagesPerPage&&(se.sentMessageCount+=1,oe(e))}function he(e){se.debugMode=e}function ge(e){se.debugMode&&o.error("[INTERNAL ERROR]",e)}function me(e,t){return function(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];try{return e.apply(void 0,n)}catch(e){o.error(t,e)}}}!function(e){e.RELEASE="release",e.CANARY="canary",e.E2E_TEST="e2e-test"}(ae||(ae={}));var ye=function(){return ye=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},ye.apply(this,arguments)};var ve,be=function(){function e(){this.buffer=[]}return e.prototype.add=function(e){this.buffer.push(e)>500&&this.buffer.splice(0,1)},e.prototype.drain=function(){this.buffer.forEach((function(e){return e()})),this.buffer.length=0},e}();function _e(e){return{relative:e,timeStamp:we(e)}}function we(e){var t=Date.now()-performance.now();return t>Ce()?Math.round(t+e):function(e){return Math.round(Ce()+e)}(e)}function Te(e){return C(e)?w(1e6*e,0):e}function xe(){return Date.now()}function Se(){return performance.now()}function ke(){return{relative:Se(),timeStamp:xe()}}function Ee(){return{relative:0,timeStamp:Ce()}}function Oe(e,t){return t-e}function Ce(){return void 0===ve&&(ve=performance.timing.navigationStart),ve}var Le,Ae,Ie;function Pe(e,t,n,r){var i=new Date;i.setTime(i.getTime()+n);var o="expires="+i.toUTCString(),a=r&&r.crossSite?"none":"strict",s=r&&r.domain?";domain="+r.domain:"",u=r&&r.secure?";secure":"";document.cookie=e+"="+t+";"+o+";path=/;samesite="+a+s+u}function Me(e){return R(document.cookie,e)}function Re(e,t){Pe(e,"",0,t)}function je(e){return Ne(e,M(window.location)).href}function De(e){return M(Ne(e))}function Ne(e,t){if(function(){if(void 0!==Ie)return Ie;try{var e=new URL("http://test/path");return Ie="http://test/path"===e.href}catch(e){Ie=!1}return Ie}())return void 0!==t?new URL(e,t):new URL(e);if(void 0===t&&!/:/.test(e))throw new Error("Invalid URL: '"+e+"'");var n=document,r=n.createElement("a");if(void 0!==t){var i=(n=document.implementation.createHTMLDocument("")).createElement("base");i.href=t,n.head.appendChild(i),n.body.appendChild(r)}return r.href=e,r}var Be={logs:"logs",rum:"rum",sessionReplay:"session-replay"},Ue={logs:"logs",rum:"rum",sessionReplay:"replay"},Fe="datadoghq.com";function ze(e,t,n,r,i){var o=e.site,a=void 0===o?Fe:o,s=e.clientToken,u=a.split("."),c=u.pop(),l="https://"+(Be[n]+".browser-intake-"+u.join("-")+"."+c)+"/api/v2/"+Ue[n],f=e.proxyUrl&&je(e.proxyUrl);return{build:function(){var e="ddsource="+(i||"browser")+"&ddtags="+encodeURIComponent(["sdk_version:"+t.sdkVersion].concat(r).join(","))+"&dd-api-key="+s+"&dd-evp-origin-version="+encodeURIComponent(t.sdkVersion)+"&dd-evp-origin=browser&dd-request-id="+b();"rum"===n&&(e+="&batch_time="+xe());var o=l+"?"+e;return f?f+"?ddforward="+encodeURIComponent(o):o},buildIntakeUrl:function(){return f?f+"?ddforward":l}}}var He=/[^a-z0-9_:./-]/;function Ze(e,t){var n=200-e.length-1;return(t.length>n||He.test(t))&&o.warn(e+" value doesn't meet tag requirements and will be sanitized"),e+":"+t.replace(/,/g,"_")}function qe(e,t){var n=function(e){var t=e.env,n=e.service,r=e.version,i=e.datacenter,o=[];return t&&o.push(Ze("env",t)),n&&o.push(Ze("service",n)),r&&o.push(Ze("version",r)),i&&o.push(Ze("datacenter",i)),o}(e),i=function(e,t,n){if(t.buildMode===ae.E2E_TEST){var i=function(e){return{build:function(){return e},buildIntakeUrl:function(){return e}}};return{logsEndpointBuilder:i("<<< E2E LOGS ENDPOINT >>>"),rumEndpointBuilder:i("<<< E2E RUM ENDPOINT >>>"),sessionReplayEndpointBuilder:i("<<< E2E SESSION REPLAY ENDPOINT >>>"),internalMonitoringEndpointBuilder:i("<<< E2E INTERNAL MONITORING ENDPOINT >>>")}}var o={logsEndpointBuilder:ze(e,t,"logs",n),rumEndpointBuilder:ze(e,t,"rum",n),sessionReplayEndpointBuilder:ze(e,t,"sessionReplay",n)};if(e.internalMonitoringApiKey)return r(r({},o),{internalMonitoringEndpointBuilder:ze(r(r({},e),{clientToken:e.internalMonitoringApiKey}),t,"logs",n,"browser-agent-internal-monitoring")});return o}(e,t,n),o=L(i).map((function(e){return e.buildIntakeUrl()})),a=function(e,t,n,i){if(!e.replica)return;var o=r(r({},e),{site:Fe,clientToken:e.replica.clientToken}),a={logsEndpointBuilder:ze(o,t,"logs",i),rumEndpointBuilder:ze(o,t,"rum",i),internalMonitoringEndpointBuilder:ze(o,t,"logs",i,"browser-agent-internal-monitoring")};return n.push.apply(n,L(a).map((function(e){return e.buildIntakeUrl()}))),r({applicationId:e.replica.applicationId},a)}(e,t,o,n);return r(r({isIntakeUrl:function(e){return o.some((function(t){return 0===e.indexOf(t)}))}},i),{replica:a})}var Ve,We,Ge,$e={ALLOW:"allow",MASK:"mask",MASK_USER_INPUT:"mask-user-input"};function Ye(e,t){var n;if(e&&e.clientToken){var i;if(void 0===e.sampleRate||O(e.sampleRate))return i=e.enableExperimentalFeatures,Array.isArray(i)&&(Ae||(Ae=new Set(i)),i.filter((function(e){return"string"==typeof e})).forEach((function(e){Ae.add(e)}))),r(r({},qe(e,t)),{beforeSend:e.beforeSend&&me(e.beforeSend,"beforeSend threw an error:"),cookieOptions:Ke(e),sampleRate:null!==(n=e.sampleRate)&&void 0!==n?n:100,service:e.service,silentMultipleInit:!!e.silentMultipleInit,batchBytesLimit:16384,eventRateLimiterThreshold:3e3,maxInternalMonitoringMessagesPerPage:15,flushTimeout:3e4,maxBatchSize:50,maxMessageSize:262144});o.error("Sample Rate should be a number between 0 and 100")}else o.error("Client Token is not configured, we will not send any data.")}function Ke(e){var t={};return t.secure=function(e){return!!e.useSecureSessionCookie||!!e.useCrossSiteSessionCookie}(e),t.crossSite=!!e.useCrossSiteSessionCookie,e.trackSessionAcrossSubdomains&&(t.domain=function(){if(void 0===Le){for(var e="dd_site_test_"+b(),t=window.location.hostname.split("."),n=t.pop();t.length&&!Me(e);)n=t.pop()+"."+n,Pe(e,"test",m,{domain:n});Re(e,{domain:n}),Le=n}return Le}()),t}!function(e){e.ACTION="action",e.ERROR="error",e.LONG_TASK="long_task",e.VIEW="view",e.RESOURCE="resource"}(Ve||(Ve={})),function(e){e.INITIAL_LOAD="initial_load",e.ROUTE_CHANGE="route_change"}(We||(We={})),function(e){e.CLICK="click",e.CUSTOM="custom"}(Ge||(Ge={}));function Xe(){return Boolean(window._DATADOG_SYNTHETICS_INJECTS_RUM||Me("datadog-synthetics-injects-rum"))}var Qe={buildMode:"release",sdkVersion:"4.5.0"};var Je,et=function(){function e(e){this.onFirstSubscribe=e,this.observers=[]}return e.prototype.subscribe=function(e){var t=this;return!this.observers.length&&this.onFirstSubscribe&&(this.onLastUnsubscribe=this.onFirstSubscribe()||void 0),this.observers.push(e),{unsubscribe:function(){t.observers=t.observers.filter((function(t){return e!==t})),!t.observers.length&&t.onLastUnsubscribe&&t.onLastUnsubscribe()}}},e.prototype.notify=function(e){this.observers.forEach((function(t){return t(e)}))},e}();function tt(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=new et((function(){var t=e.map((function(e){return e.subscribe((function(e){return n.notify(e)}))}));return function(){return t.forEach((function(e){return e.unsubscribe()}))}}));return n}function nt(){var e,t=window;if(t.Zone){var n=t.Zone.__symbol__("MutationObserver");e=t[n]}return e||(e=t.MutationObserver),e}!function(e){e[e.PERFORMANCE_ENTRIES_COLLECTED=0]="PERFORMANCE_ENTRIES_COLLECTED",e[e.AUTO_ACTION_CREATED=1]="AUTO_ACTION_CREATED",e[e.AUTO_ACTION_COMPLETED=2]="AUTO_ACTION_COMPLETED",e[e.AUTO_ACTION_DISCARDED=3]="AUTO_ACTION_DISCARDED",e[e.VIEW_CREATED=4]="VIEW_CREATED",e[e.VIEW_UPDATED=5]="VIEW_UPDATED",e[e.VIEW_ENDED=6]="VIEW_ENDED",e[e.REQUEST_STARTED=7]="REQUEST_STARTED",e[e.REQUEST_COMPLETED=8]="REQUEST_COMPLETED",e[e.SESSION_EXPIRED=9]="SESSION_EXPIRED",e[e.SESSION_RENEWED=10]="SESSION_RENEWED",e[e.BEFORE_UNLOAD=11]="BEFORE_UNLOAD",e[e.RAW_RUM_EVENT_COLLECTED=12]="RAW_RUM_EVENT_COLLECTED",e[e.RUM_EVENT_COLLECTED=13]="RUM_EVENT_COLLECTED",e[e.RAW_ERROR_COLLECTED=14]="RAW_ERROR_COLLECTED"}(Je||(Je={}));var rt=function(){function e(){this.callbacks={}}return e.prototype.notify=function(e,t){var n=this.callbacks[e];n&&n.forEach((function(e){return e(t)}))},e.prototype.subscribe=function(e,t){var n=this;return this.callbacks[e]||(this.callbacks[e]=[]),this.callbacks[e].push(t),{unsubscribe:function(){n.callbacks[e]=n.callbacks[e].filter((function(e){return t!==e}))}}},e}(),it="initial_document",ot=[[h.DOCUMENT,function(e){return it===e}],[h.XHR,function(e){return"xmlhttprequest"===e}],[h.FETCH,function(e){return"fetch"===e}],[h.BEACON,function(e){return"beacon"===e}],[h.CSS,function(e,t){return/\.css$/i.test(t)}],[h.JS,function(e,t){return/\.js$/i.test(t)}],[h.IMAGE,function(e,t){return k(["image","img","icon"],e)||null!==/\.(gif|jpg|jpeg|tiff|png|svg|ico)$/i.exec(t)}],[h.FONT,function(e,t){return null!==/\.(woff|eot|woff2|ttf)$/i.exec(t)}],[h.MEDIA,function(e,t){return k(["audio","video"],e)||null!==/\.(mp3|mp4)$/i.exec(t)}]];function at(e){var t=e.name;if(!function(e){try{return!!Ne(e)}catch(e){return!1}}(t))return fe('Failed to construct URL for "'+e.name+'"'),h.OTHER;for(var n=function(e){var t=Ne(e).pathname;return"/"===t[0]?t:"/"+t}(t),r=0,i=ot;r<i.length;r++){var o=i[r],a=o[0];if((0,o[1])(e.initiatorType,n))return a}return h.OTHER}function st(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n=1;n<e.length;n+=1)if(e[n-1]>e[n])return!1;return!0}function ut(e){var t=ct(e);if(t){var n=t.startTime,r=t.fetchStart,i=t.redirectStart,o=t.redirectEnd,a=t.domainLookupStart,s=t.domainLookupEnd,u=t.connectStart,c=t.secureConnectionStart,l=t.connectEnd,f=t.requestStart,d=t.responseStart,p={download:ft(n,d,t.responseEnd),first_byte:ft(n,f,d)};return l!==r&&(p.connect=ft(n,u,l),st(u,c,l)&&(p.ssl=ft(n,c,l))),s!==r&&(p.dns=ft(n,a,s)),lt(e)&&(p.redirect=ft(n,i,o)),p}}function ct(e){if(st(e.startTime,e.fetchStart,e.domainLookupStart,e.domainLookupEnd,e.connectStart,e.connectEnd,e.requestStart,e.responseStart,e.responseEnd)){if(!lt(e))return e;var t=e.redirectStart,n=e.redirectEnd;if(t<e.startTime&&(t=e.startTime),n<e.startTime&&(n=e.fetchStart),st(e.startTime,t,n,e.fetchStart))return ye(ye({},e),{redirectEnd:n,redirectStart:t})}}function lt(e){return e.fetchStart!==e.startTime}function ft(e,t,n){return{duration:Te(Oe(t,n)),start:Te(Oe(e,t))}}function dt(e){if(e.startTime<e.responseStart)return e.decodedBodySize}function pt(e,t){return t&&!e.isIntakeUrl(t)}function ht(e){var t=function(e){var t=e.querySelector("meta[name=dd-trace-id]"),n=e.querySelector("meta[name=dd-trace-time]");return gt(t&&t.content,n&&n.content)}(e)||function(e){var t=function(e){for(var t=0;t<e.childNodes.length;t+=1){if(n=mt(e.childNodes[t]))return n}if(e.body)for(t=e.body.childNodes.length-1;t>=0;t-=1){var n,r=e.body.childNodes[t];if(n=mt(r))return n;if(!yt(r))break}}(e);if(!t)return;return gt(R(t,"trace-id"),R(t,"trace-time"))}(e);if(t&&!(t.traceTime<=Date.now()-12e4))return t.traceId}function gt(e,t){var n=t&&Number(t);if(e&&n)return{traceId:e,traceTime:n}}function mt(e){if(e&&function(e){return"#comment"===e.nodeName}(e)){var t=/^\s*DATADOG;(.*?)\s*$/.exec(e.data);if(t)return t[1]}}function yt(e){return"#text"===e.nodeName}function vt(){return void 0!==window.performance&&"getEntries"in performance}function bt(e){return window.PerformanceObserver&&void 0!==PerformanceObserver.supportedEntryTypes&&PerformanceObserver.supportedEntryTypes.includes(e)}function _t(e,t){var n;if(n=function(n){Tt(e,t,[n])},N("interactive",(function(){var e,t={entryType:"resource",initiatorType:it,traceId:ht(document)};if(bt("navigation")&&performance.getEntriesByType("navigation").length>0){var r=performance.getEntriesByType("navigation")[0];e=ye(ye({},r.toJSON()),t)}else{var i=wt();e=ye(ye(ye({},i),{decodedBodySize:0,duration:i.responseEnd,name:window.location.href,startTime:0}),t)}n(e)})),vt()&&Tt(e,t,performance.getEntries()),window.PerformanceObserver){var r=ce((function(n){return Tt(e,t,n.getEntries())})),i=["resource","navigation","longtask","paint"],o=["largest-contentful-paint","first-input","layout-shift"];try{o.forEach((function(e){new PerformanceObserver(r).observe({type:e,buffered:!0})}))}catch(e){i.push.apply(i,o)}new PerformanceObserver(r).observe({entryTypes:i}),vt()&&"addEventListener"in performance&&performance.addEventListener("resourcetimingbufferfull",(function(){performance.clearResourceTimings()}))}bt("navigation")||function(e){function t(){e(ye(ye({},wt()),{entryType:"navigation"}))}N("complete",(function(){setTimeout(ce(t))}))}((function(n){Tt(e,t,[n])})),bt("first-input")||function(e){var t=Date.now(),n=!1,r=D(window,["click","mousedown","keydown","touchstart","pointerdown"],(function(e){if(e.cancelable){var t={entryType:"first-input",processingStart:Se(),startTime:e.timeStamp};"pointerdown"===e.type?i(t):o(t)}}),{passive:!0,capture:!0}).stop;function i(e){D(window,["pointerup","pointercancel"],(function(t){"pointerup"===t.type&&o(e)}),{once:!0})}function o(i){if(!n){n=!0,r();var o=i.processingStart-i.startTime;o>=0&&o<Date.now()-t&&e(i)}}}((function(n){Tt(e,t,[n])}))}function wt(){var e={},t=performance.timing;for(var n in t)if(C(t[n])){var r=n,i=t[r];e[r]=0===i?0:i-Ce()}return e}function Tt(e,t,n){var r=n.filter((function(e){return"resource"===e.entryType||"navigation"===e.entryType||"paint"===e.entryType||"longtask"===e.entryType||"largest-contentful-paint"===e.entryType||"first-input"===e.entryType||"layout-shift"===e.entryType})).filter((function(e){return!function(e){return"navigation"===e.entryType&&e.loadEventEnd<=0}(e)&&!function(e,t){return"resource"===t.entryType&&!pt(e,t.name)}(t,e)}));r.length&&e.notify(Je.PERFORMANCE_ENTRIES_COLLECTED,r)}function xt(e,t,n){var r=0,i=!1;return{isLimitReached:function(){if(0===r&&setTimeout((function(){r=0}),y),(r+=1)<=t||i)return i=!1,!1;if(r===t+1){i=!0;try{n({message:"Reached max number of "+e+"s by minute: "+t,source:Z,startClocks:ke()})}finally{i=!1}}return!0}}}function St(e,t){for(var n=e,r=0,i=t.split(".");r<i.length;r++){var o=i[r];if(!Et(n,o))return;n=n[o]}return n}function kt(e,t,n){for(var r=e,i=t.split("."),o=0;o<i.length;o+=1){var a=i[o];if(!Et(r,a))return;o!==i.length-1?r=r[a]:r[a]=n}}function Et(e,t){return"object"==typeof e&&null!==e&&t in e}var Ot=function(){function e(e){var t=this;this.expireDelay=e,this.previousContexts=[],this.clearOldContextsInterval=setInterval((function(){return t.clearOldContexts()}),6e4)}return e.prototype.find=function(e){if(void 0===e||void 0!==this.current&&void 0!==this.currentStart&&e>=this.currentStart)return this.current;for(var t=0,n=this.previousContexts;t<n.length;t++){var r=n[t];if(e>r.endTime)break;if(e>=r.startTime)return r.context}},e.prototype.setCurrent=function(e,t){this.current=e,this.currentStart=t},e.prototype.getCurrent=function(){return this.current},e.prototype.clearCurrent=function(){this.current=void 0,this.currentStart=void 0},e.prototype.closeCurrent=function(e){void 0!==this.current&&void 0!==this.currentStart&&(this.previousContexts.unshift({endTime:e,context:this.current,startTime:this.currentStart}),this.clearCurrent())},e.prototype.clearOldContexts=function(){for(var e=Se()-this.expireDelay;this.previousContexts.length>0&&this.previousContexts[this.previousContexts.length-1].startTime<e;)this.previousContexts.pop()},e.prototype.reset=function(){this.clearCurrent(),this.previousContexts=[]},e.prototype.stop=function(){clearInterval(this.clearOldContextsInterval)},e}();var Ct=9e5,Lt=144e5;function At(e,t,n){var r=new et,i=new et,o=setInterval(ce((function(){Dt({options:e,process:function(e){return c(e)?void 0:{}},after:s})})),1e3),a=function(){var e=Ht();if(c(e))return e;return{}}();function s(e){return c(e)||(e={}),u()&&(!function(e){return a.id!==e.id||a[t]!==e[t]}(e)?a=e:(a={},i.notify())),e}function u(){return void 0!==a[t]}function c(e){return(void 0===e.created||Date.now()-Number(e.created)<Lt)&&(void 0===e.expire||Date.now()<Number(e.expire))}return{expandOrRenewSession:v(ce((function(){var i;Dt({options:e,process:function(e){var r=s(e);return i=function(e){var r=n(e[t]),i=r.trackingType,o=r.isTracked;e[t]=i,o&&!e.id&&(e.id=b(),e.created=String(Date.now()));return o}(r),r},after:function(e){i&&!u()&&function(e){a=e,r.notify()}(e),a=e}})})),1e3).throttled,expandSession:function(){Dt({options:e,process:function(e){return u()?s(e):void 0}})},getSession:function(){return a},renewObservable:r,expireObservable:i,stop:function(){clearInterval(o)}}}var It,Pt=/^([a-z]+)=([a-z0-9-]+)$/,Mt="&",Rt="_dd_s",jt=[];function Dt(e,t){var n;if(void 0===t&&(t=0),It||(It=e),e===It)if(t>=100)Ut();else{var r,i=Ht();if(Nt()){if(i.lock)return void Bt(e,t);if(r=b(),i.lock=r,zt(i,e.options),(i=Ht()).lock!==r)return void Bt(e,t)}var o=e.process(i);if(Nt()&&(i=Ht()).lock!==r)Bt(e,t);else{if(o&&Ft(o,e.options),Nt()&&(!o||!Zt(o))){if((i=Ht()).lock!==r)return void Bt(e,t);delete i.lock,zt(i,e.options),o=i}null===(n=e.after)||void 0===n||n.call(e,o||i),Ut()}}else jt.push(e)}function Nt(){return!!window.chrome||/HeadlessChrome/.test(window.navigator.userAgent)}function Bt(e,t){setTimeout(ce((function(){Dt(e,t+1)})),10)}function Ut(){It=void 0;var e=jt.shift();e&&Dt(e)}function Ft(e,t){Zt(e)?function(e){Pe(Rt,"",0,e)}(t):(e.expire=String(Date.now()+Ct),zt(e,t))}function zt(e,t){Pe(Rt,function(e){return A(e).map((function(e){return e[0]+"="+e[1]})).join(Mt)}(e),Ct,t)}function Ht(){var e=Me(Rt),t={};return function(e){return void 0!==e&&(-1!==e.indexOf(Mt)||Pt.test(e))}(e)&&e.split(Mt).forEach((function(e){var n=Pt.exec(e);if(null!==n){var r=n[1],i=n[2];t[r]=i}})),t}function Zt(e){return I(e)}var qt=[];function Vt(e,t,n){!function(e){var t=Me(Rt),n=Me("_dd"),r=Me("_dd_r"),i=Me("_dd_l");if(!t){var o={};n&&(o.id=n),i&&/^[01]$/.test(i)&&(o.logs=i),r&&/^[012]$/.test(r)&&(o.rum=r),Ft(o,e)}}(e);var r=At(e,t,n);qt.push((function(){return r.stop()}));var i,o=new Ot(144e5);function a(){return{id:r.getSession().id,trackingType:r.getSession()[t]}}return qt.push((function(){return o.stop()})),r.renewObservable.subscribe((function(){o.setCurrent(a(),Se())})),r.expireObservable.subscribe((function(){o.closeCurrent(Se())})),r.expandOrRenewSession(),o.setCurrent(a(),Ee().relative),i=D(window,["click","touchstart","keydown","scroll"],(function(){return r.expandOrRenewSession()}),{capture:!0,passive:!0}).stop,qt.push(i),function(e){var t=ce((function(){"visible"===document.visibilityState&&e()})),n=j(document,"visibilitychange",t).stop;qt.push(n);var r=setInterval(t,6e4);qt.push((function(){clearInterval(r)}))}((function(){return r.expandSession()})),{findActiveSession:function(e){return o.find(e)},renewObservable:r.renewObservable,expireObservable:r.expireObservable}}var Wt,Gt,$t;function Yt(e,t){var n=Vt(e.cookieOptions,"rum",(function(t){return function(e,t){var n;n=function(e){return e===Gt.NOT_TRACKED||e===Gt.TRACKED_REPLAY||e===Gt.TRACKED_LITE}(t)?t:_(e.sampleRate)?_(e.replaySampleRate)?Gt.TRACKED_REPLAY:Gt.TRACKED_LITE:Gt.NOT_TRACKED;return{trackingType:n,isTracked:Kt(n)}}(e,t)}));return n.expireObservable.subscribe((function(){t.notify(Je.SESSION_EXPIRED)})),n.renewObservable.subscribe((function(){t.notify(Je.SESSION_RENEWED)})),{findTrackedSession:function(e){var t=n.findActiveSession(e);if(t&&Kt(t.trackingType))return{id:t.id,hasReplayPlan:t.trackingType===Gt.TRACKED_REPLAY,hasLitePlan:t.trackingType===Gt.TRACKED_LITE}}}}function Kt(e){return e===Gt.TRACKED_LITE||e===Gt.TRACKED_REPLAY}!function(e){e[e.LITE=1]="LITE",e[e.REPLAY=2]="REPLAY"}(Wt||(Wt={})),function(e){e.NOT_TRACKED="0",e.TRACKED_REPLAY="1",e.TRACKED_LITE="2"}(Gt||(Gt={})),function(e){e.SYNTHETICS="synthetics",e.USER="user",e.CI_TEST="ci_test"}($t||($t={}));var Xt=["view.url","view.referrer","action.target.name","error.message","error.stack","error.resource.url","resource.url"],Qt=function(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var r=Array(e),i=0;for(t=0;t<n;t++)for(var o=arguments[t],a=0,s=o.length;a<s;a++,i++)r[i]=o[a];return r}(Xt,["context"]);function Jt(e,t,n,r,i,a){var s,u=function(e){t.notify(Je.RAW_ERROR_COLLECTED,{error:e})},c=((s={})[Ve.ERROR]=xt(Ve.ERROR,e.eventRateLimiterThreshold,u),s[Ve.ACTION]=xt(Ve.ACTION,e.eventRateLimiterThreshold,u),s),l=function(){var e=window._DATADOG_SYNTHETICS_PUBLIC_ID||Me("datadog-synthetics-public-id"),t=window._DATADOG_SYNTHETICS_RESULT_ID||Me("datadog-synthetics-result-id");if("string"==typeof e&&"string"==typeof t)return{test_id:e,result_id:t,injected:Xe()}}(),f=function(){var e,t=null===(e=window.Cypress)||void 0===e?void 0:e.env("traceId");if("string"==typeof t)return{test_execution_id:t}}();t.subscribe(Je.RAW_RUM_EVENT_COLLECTED,(function(s){var u,d=s.startTime,p=s.rawRumEvent,h=s.domainContext,g=s.savedCommonContext,m=s.customerContext,y=r.findView(d),v=i.findUrl(d),b=n.findTrackedSession(p.type!==Ve.VIEW?d:void 0);if(b&&y&&v){var _=r.findAction(d),w=g||a(),T={_dd:{format_version:2,drift:Math.round(Date.now()-(Ce()+performance.now())),session:{plan:b.hasReplayPlan?Wt.REPLAY:Wt.LITE},browser_sdk_version:Q()?Qe.sdkVersion:void 0},application:{id:e.applicationId},date:xe(),service:e.service,source:"browser",session:{id:b.id,type:l?$t.SYNTHETICS:f?$t.CI_TEST:$t.USER},synthetics:l,ci_test:f},x=(u=p,-1!==[Ve.ERROR,Ve.RESOURCE,Ve.LONG_TASK].indexOf(u.type)?z(T,v,y,_,p):z(T,v,y,p));x.context=z(w.context,m),"has_replay"in x.session||(x.session.has_replay=w.hasReplay),I(w.user)||(x.usr=w.user),function(e,t,n,r){var i;if(t){var a=function(e,t,n){var r=F(e),i=n(r);return t.forEach((function(t){var n=St(e,t),i=St(r,t),o=B(n),a=B(i);a===o?kt(e,t,i):"object"!==o||"undefined"!==a&&"null"!==a||kt(e,t,{})})),i}(e,e.type===Ve.VIEW?Xt:Qt,(function(e){return t(e,n)}));if(!1===a&&e.type!==Ve.VIEW)return!1;!1===a&&o.warn("Can't dismiss view events using beforeSend!")}return!(null===(i=r[e.type])||void 0===i?void 0:i.isLimitReached())}(x,e.beforeSend,h,c)&&(I(x.context)&&delete x.context,t.notify(Je.RUM_EVENT_COLLECTED,x))}}))}var en=[];function tn(){document.hasFocus()&&nn();var e,t,n=(e=nn,j(window,"focus",(function(t){t.isTrusted&&e()}))).stop,r=(t=rn,j(window,"blur",(function(e){e.isTrusted&&t()}))).stop;return{isInForegroundAt:on,selectInForegroundPeriodsFor:an,stop:function(){en=[],n(),r()}}}function nn(){if(!(en.length>2500)){var e=en[en.length-1],t=Se();void 0!==e&&void 0===e.end||en.push({start:t})}}function rn(){if(0!==en.length){var e=en[en.length-1],t=Se();void 0===e.end&&(e.end=t)}}function on(e){for(var t=en.length-1;t>=0;t--){var n=en[t];if(void 0!==n.end&&e>n.end)break;if(e>n.start&&(void 0===n.end||e<n.end))return!0}return!1}function an(e,t){for(var n=e+t,r=[],i=Math.max(0,en.length-500),o=en.length-1;o>=i;o--){var a=en[o];if(void 0!==a.end&&e>a.end)break;if(!(n<a.start)){var s=e>a.start?e:a.start,u=Oe(e,s),c=Oe(s,void 0===a.end||n<a.end?n:a.end);r.unshift({start:Te(u),duration:Te(c)})}}return r}var sn;function un(e,t,n){var r=e[t],i=n(r),o=function(){return i.apply(this,arguments)};return e[t]=o,{stop:function(){e[t]===o?e[t]=r:i=r}}}function cn(e,t,n){var r=n.before,i=n.after;return un(e,t,(function(e){return function(){var t,n=arguments;return r&&le(r,this,n),"function"==typeof e&&(t=e.apply(this,n)),i&&le(i,this,n),t}}))}var ln,fn=new WeakMap;function dn(){var e;return sn||(e=new et((function(){var t=cn(XMLHttpRequest.prototype,"open",{before:pn}).stop,n=cn(XMLHttpRequest.prototype,"send",{before:function(){hn.call(this,e)}}).stop,r=cn(XMLHttpRequest.prototype,"abort",{before:gn}).stop;return function(){t(),n(),r()}})),sn=e),sn}function pn(e,t){fn.set(this,{state:"open",method:e,url:je(t)})}function hn(e){var t=this,n=fn.get(this);if(n){var i=n;i.state="start",i.startTime=Se(),i.startClocks=ke(),i.isAborted=!1,i.xhr=this;var o=!1,a=cn(this,"onreadystatechange",{before:function(){this.readyState===XMLHttpRequest.DONE&&s()}}).stop,s=ce((function(){if(t.removeEventListener("loadend",s),a(),!o){o=!0;var u=n;u.state="complete",u.duration=Oe(i.startClocks.timeStamp,xe()),u.status=t.status,e.notify(r({},u))}}));this.addEventListener("loadend",s),e.notify(i)}}function gn(){var e=fn.get(this);e&&(e.isAborted=!0)}function mn(){var e;return ln||(e=new et((function(){if(window.fetch)return un(window,"fetch",(function(t){return function(n,r){var i,o=le(yn,null,[e,n,r]);return o?(i=t.call(this,o.input,o.init),le(vn,null,[e,i,o])):i=t.call(this,n,r),i}})).stop})),ln=e),ln}function yn(e,t,n){var r=n&&n.method||"object"==typeof t&&t.method||"GET",i=je("object"==typeof t&&t.url||t),o={state:"start",init:n,input:t,method:r,startClocks:ke(),url:i};return e.notify(o),o}function vn(e,t,n){var r=function(t){var r=n;r.state="complete",r.duration=Oe(r.startClocks.timeStamp,xe()),"stack"in t||t instanceof Error?(r.status=0,r.isAborted=t instanceof DOMException&&t.code===DOMException.ABORT_ERR,r.error=t,e.notify(r)):"status"in t&&(r.response=t,r.responseType=t.type,r.status=t.status,r.isAborted=!1,e.notify(r))};t.then(ce(r),ce(r))}function bn(e){0!==e.status||e.isAborted||(e.traceId=void 0,e.spanId=void 0)}function _n(e,t,n,r){var i;void 0!==wn()&&function(e,t){for(var n=De(t),r=0,i=e.allowedTracingOrigins;r<i.length;r++){var o=i[r];if(n===o||o instanceof RegExp&&o.test(n))return!0}return!1}(e,t.url)&&n.findTrackedSession()&&(t.traceId=new Tn,t.spanId=new Tn,r((i=t.traceId,{"x-datadog-origin":"rum","x-datadog-parent-id":t.spanId.toDecimalString(),"x-datadog-sampled":"1","x-datadog-sampling-priority":"1","x-datadog-trace-id":i.toDecimalString()})))}function wn(){return window.crypto||window.msCrypto}var Tn=function(){function e(){this.buffer=new Uint8Array(8),wn().getRandomValues(this.buffer),this.buffer[0]=127&this.buffer[0]}return e.prototype.toString=function(e){var t=this.readInt32(0),n=this.readInt32(4),r="";do{var i=t%e*4294967296+n;t=Math.floor(t/e),n=Math.floor(i/e),r=(i%e).toString(e)+r}while(t||n);return r},e.prototype.toDecimalString=function(){return this.toString(10)},e.prototype.readInt32=function(e){return 16777216*this.buffer[e]+(this.buffer[e+1]<<16)+(this.buffer[e+2]<<8)+this.buffer[e+3]},e}(),xn=1;function Sn(e,t,n){var r=function(e,t){return{clearTracingIfNeeded:bn,traceFetch:function(n){return _n(e,n,t,(function(e){var t;if(n.input instanceof Request&&!(null===(t=n.init)||void 0===t?void 0:t.headers))n.input=new Request(n.input),Object.keys(e).forEach((function(t){n.input.headers.append(t,e[t])}));else{n.init=ye({},n.init);var r=[];n.init.headers instanceof Headers?n.init.headers.forEach((function(e,t){r.push([t,e])})):Array.isArray(n.init.headers)?n.init.headers.forEach((function(e){r.push(e)})):n.init.headers&&Object.keys(n.init.headers).forEach((function(e){r.push([e,n.init.headers[e]])})),n.init.headers=r.concat(A(e))}}))},traceXhr:function(n,r){return _n(e,n,t,(function(e){Object.keys(e).forEach((function(t){r.setRequestHeader(t,e[t])}))}))}}}(t,n);!function(e,t,n){var r=dn().subscribe((function(r){var i=r;if(pt(t,i.url))switch(i.state){case"start":n.traceXhr(i,i.xhr),i.requestIndex=kn(),e.notify(Je.REQUEST_STARTED,{requestIndex:i.requestIndex});break;case"complete":n.clearTracingIfNeeded(i),e.notify(Je.REQUEST_COMPLETED,{duration:i.duration,method:i.method,requestIndex:i.requestIndex,spanId:i.spanId,startClocks:i.startClocks,status:i.status,traceId:i.traceId,type:g.XHR,url:i.url,xhr:i.xhr})}}))}(e,t,r),function(e,t,n){var r=mn().subscribe((function(r){var i=r;if(pt(t,i.url))switch(i.state){case"start":n.traceFetch(i),i.requestIndex=kn(),e.notify(Je.REQUEST_STARTED,{requestIndex:i.requestIndex});break;case"complete":n.clearTracingIfNeeded(i),e.notify(Je.REQUEST_COMPLETED,{duration:i.duration,method:i.method,requestIndex:i.requestIndex,responseType:i.responseType,spanId:i.spanId,startClocks:i.startClocks,status:i.status,traceId:i.traceId,type:g.FETCH,url:i.url,response:i.response,init:i.init,input:i.input})}}))}(e,t,r)}function kn(){var e=xn;return xn+=1,e}function En(e,t){void 0===t&&(t=T);var n={errorCount:0,longTaskCount:0,resourceCount:0,userActionCount:0},r=e.subscribe(Je.RUM_EVENT_COLLECTED,(function(e){switch(e.type){case Ve.ERROR:n.errorCount+=1,t(n);break;case Ve.ACTION:n.userActionCount+=1,t(n);break;case Ve.LONG_TASK:n.longTaskCount+=1,t(n);break;case Ve.RESOURCE:n.resourceCount+=1,t(n)}}));return{stop:function(){r.unsubscribe()},eventCounts:n}}function On(e,t,n,r){var i=function(e,t){var n=new et((function(){var n,i=[],o=0;return i.push(t.subscribe((function(){return r(o)})),e.subscribe(Je.PERFORMANCE_ENTRIES_COLLECTED,(function(e){e.some((function(e){return"resource"===e.entryType}))&&r(o)})),e.subscribe(Je.REQUEST_STARTED,(function(e){void 0===n&&(n=e.requestIndex),r(++o)})),e.subscribe(Je.REQUEST_COMPLETED,(function(e){void 0===n||e.requestIndex<n||r(--o)}))),function(){return i.forEach((function(e){return e.unsubscribe()}))}}));function r(e){n.notify({isBusy:e>0})}return n}(e,t);return function(e,t,n){var r,i=!1,o=setTimeout(ce((function(){return c({hadActivity:!1})})),100),a=n&&setTimeout(ce((function(){return c({hadActivity:!0,end:xe()})})),n),s=e.subscribe((function(e){var t=e.isBusy;clearTimeout(o),clearTimeout(r);var n=xe();t||(r=setTimeout(ce((function(){return c({hadActivity:!0,end:n})})),100))})),u=function(){i=!0,clearTimeout(o),clearTimeout(r),clearTimeout(a),s.unsubscribe()};function c(e){i||(u(),t(e))}return{stop:u}}(i,n,r)}var Cn="data-dd-action-name";function Ln(e,t){var n;if(function(){void 0===In&&(In="closest"in HTMLElement.prototype);return In}())n=e.closest("["+t+"]");else for(var r=e;r;){if(r.hasAttribute(t)){n=r;break}r=r.parentElement}if(n)return Dn(jn(n.getAttribute(t).trim()))}var An,In,Pn=[function(e,t){if(function(){void 0===An&&(An="labels"in HTMLInputElement.prototype);return An}()){if("labels"in e&&e.labels&&e.labels.length>0)return Nn(e.labels[0],t)}else if(e.id){var n=e.ownerDocument&&e.ownerDocument.querySelector('label[for="'+e.id.replace('"','\\"')+'"]');return n&&Nn(n,t)}},function(e){if("INPUT"===e.nodeName){var t=e,n=t.getAttribute("type");if("button"===n||"submit"===n||"reset"===n)return t.value}},function(e,t){if("BUTTON"===e.nodeName||"LABEL"===e.nodeName||"button"===e.getAttribute("role"))return Nn(e,t)},function(e){return e.getAttribute("aria-label")},function(e,t){var n=e.getAttribute("aria-labelledby");if(n)return n.split(/\s+/).map((function(t){return function(e,t){return e.ownerDocument?e.ownerDocument.getElementById(t):null}(e,t)})).filter((function(e){return Boolean(e)})).map((function(e){return Nn(e,t)})).join(" ")},function(e){return e.getAttribute("alt")},function(e){return e.getAttribute("name")},function(e){return e.getAttribute("title")},function(e){return e.getAttribute("placeholder")},function(e,t){if("options"in e&&e.options.length>0)return Nn(e.options[0],t)}],Mn=[function(e,t){return Nn(e,t)}];function Rn(e,t,n){for(var r=e,i=0;i<=10&&r&&"BODY"!==r.nodeName&&"HTML"!==r.nodeName&&"HEAD"!==r.nodeName;){for(var o=0,a=n;o<a.length;o++){var s=(0,a[o])(r,t);if("string"==typeof s){var u=s.trim();if(u)return Dn(jn(u))}}if("FORM"===r.nodeName)break;r=r.parentElement,i+=1}}function jn(e){return e.replace(/\s+/g," ")}function Dn(e){return e.length>100?(n=100,((r=(t=e).charCodeAt(n-1))>=55296&&r<=56319?t.slice(0,n+1):t.slice(0,n))+" [...]"):e;var t,n,r}function Nn(e,t){if(!e.isContentEditable){if("innerText"in e){var n=e.innerText,r=function(t){for(var r=e.querySelectorAll(t),i=0;i<r.length;i+=1){var o=r[i];if("innerText"in o){var a=o.innerText;a&&a.trim().length>0&&(n=n.replace(a,""))}}};return Boolean(document.documentMode)&&r("script, style"),r("[data-dd-action-name]"),t&&r("["+t+"]"),n}return e.textContent}}function Bn(e,t,n){var r=n.actionNameAttribute,i=function(e,t){var n,r;return{create:function(i,o,a){if(!n){var s=new Un(e,i,o,a);n=s,r=On(e,t,(function(e){if(e.hadActivity){var t=Oe(s.startClocks.timeStamp,e.end);t>=0?s.complete(t):s.discard()}else s.discard();n=void 0}),1e4).stop}},discardCurrent:function(){n&&(r(),n.discard(),n=void 0)}}}(e,t);e.subscribe(Je.VIEW_CREATED,(function(){i.discardCurrent()}));var o=j(window,"click",(function(e){if(e.target instanceof Element){var t,n,o=(t=e.target,n=r,Ln(t,Cn)||n&&Ln(t,n)||Rn(t,n,Pn)||Rn(t,n,Mn)||"");o&&i.create(Ge.CLICK,o,e)}}),{capture:!0}).stop;return{stop:function(){i.discardCurrent(),o()}}}var Un=function(){function e(e,t,n,r){this.lifeCycle=e,this.type=t,this.name=n,this.event=r,this.id=b(),this.startClocks=ke(),this.eventCountsSubscription=En(e),this.lifeCycle.notify(Je.AUTO_ACTION_CREATED,{id:this.id,startClocks:this.startClocks})}return e.prototype.complete=function(e){var t=this.eventCountsSubscription.eventCounts;this.lifeCycle.notify(Je.AUTO_ACTION_COMPLETED,{counts:{errorCount:t.errorCount,longTaskCount:t.longTaskCount,resourceCount:t.resourceCount},duration:e,id:this.id,name:this.name,startClocks:this.startClocks,type:this.type,event:this.event}),this.eventCountsSubscription.stop()},e.prototype.discard=function(){this.lifeCycle.notify(Je.AUTO_ACTION_DISCARDED),this.eventCountsSubscription.stop()},e}();function Fn(e,t){var n=zn(e)?{action:{error:{count:e.counts.errorCount},id:e.id,loading_time:Te(e.duration),long_task:{count:e.counts.longTaskCount},resource:{count:e.counts.resourceCount}}}:void 0,r=zn(e)?void 0:e.context,i=z({action:{id:b(),target:{name:e.name},type:e.type},date:e.startClocks.timeStamp,type:Ve.ACTION},n),o=t.isInForegroundAt(e.startClocks.relative);return void 0!==o&&(i.view={in_foreground:o}),{customerContext:r,rawRumEvent:i,startTime:e.startClocks.relative,domainContext:zn(e)?{event:e.event}:{}}}function zn(e){return e.type!==Ge.CUSTOM}var Hn=/^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?(.*)$/;function Zn(e){var t=function(e){return cn(window,"onerror",{before:function(t,n,r,i,o){var a;if(o)a=s(o),e(a,o);else{var u,c={url:n,column:i,line:r},l=t;if("[object String]"==={}.toString.call(t)){var f=Hn.exec(l);f&&(u=f[1],l=f[2])}e(a={name:u,message:"string"==typeof l?l:void 0,stack:[c]},t)}}})}(e).stop,n=function(e){return cn(window,"onunhandledrejection",{before:function(t){var n=t.reason||"Empty reason",r=s(n);e(r,n)}})}(e).stop;return{stop:function(){t(),n()}}}var qn,Vn,Wn="error",Gn={};function $n(e){var t=e.map((function(e){return Gn[e]||(Gn[e]=function(e){var t=new et((function(){var n=console[e];return console[e]=function(){for(var r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];n.apply(console,r);var o=K();le((function(){t.notify(Yn(r,e,o))}))},function(){console[e]=n}}));return t}(e)),Gn[e]}));return tt.apply(void 0,t)}function Yn(e,t,n){var r={message:i(["console "+t+":"],e).map((function(e){return function(e){if("string"==typeof e)return e;if(e instanceof Error)return Y(s(e));return x(e,void 0,2)}(e)})).join(" "),api:t};if(t===Wn){var o=E(e,(function(e){return e instanceof Error}));r.stack=o?$(s(o)):void 0,r.handlingStack=n}return r}function Kn(e,t){var n=new et;return function(e){var t=$n([Wn]).subscribe((function(t){return e.notify({startClocks:ke(),message:t.message,stack:t.stack,source:q,handling:H.HANDLED,handlingStack:t.handlingStack})}))}(n),function(e){Zn((function(t,n){var r=G(t,n,"Uncaught"),i=r.stack,o=r.message,a=r.type;e.notify({message:o,stack:i,type:a,source:W,startClocks:ke(),originalError:n,handling:H.UNHANDLED})}))}(n),n.subscribe((function(t){return e.notify(Je.RAW_ERROR_COLLECTED,{error:t})})),function(e,t){return e.subscribe(Je.RAW_ERROR_COLLECTED,(function(n){var r=n.error,i=n.customerContext,o=n.savedCommonContext;e.notify(Je.RAW_RUM_EVENT_COLLECTED,ye({customerContext:i,savedCommonContext:o},function(e,t){var n={date:e.startClocks.timeStamp,error:{id:b(),message:e.message,resource:e.resource?{method:e.resource.method,status_code:e.resource.statusCode,url:e.resource.url}:void 0,source:e.source,stack:e.stack,handling_stack:e.handlingStack,type:e.type,handling:e.handling,source_type:"browser"},type:Ve.ERROR},r=t.isInForegroundAt(e.startClocks.relative);void 0!==r&&(n.view={in_foreground:r});return{rawRumEvent:n,startTime:e.startClocks.relative,domainContext:{error:e.originalError}}}(r,t)))})),{addError:function(t,n){var r=t.error,i=t.handlingStack,o=t.startClocks,a=t.context,u=function(e,t,n){var r=e instanceof Error?s(e):void 0;return ye(ye({startClocks:n,source:V,originalError:e},G(r,e,"Provided",t)),{handling:H.HANDLED})}(r,i,o);e.notify(Je.RAW_ERROR_COLLECTED,{customerContext:a,savedCommonContext:n,error:u})}}}(e,t)}function Xn(e){if(performance&&"getEntriesByName"in performance){var t=performance.getEntriesByName(e.url,"resource");if(t.length&&"toJSON"in t[0]){var n,r=t.map((function(e){return e.toJSON()})).filter(ct).filter((function(t){return n=t,r=e.startClocks.relative,i=Qn({startTime:e.startClocks.relative,duration:e.duration}),o=1,n.startTime>=r-o&&Qn(n)<=i+o;var n,r,i,o}));return 1===r.length?r[0]:2===r.length&&Qn((n=r)[0])<=n[1].startTime?r[1]:void 0}}}function Qn(e){return e.startTime+e.duration}function Jn(e){e.subscribe(Je.REQUEST_COMPLETED,(function(t){e.notify(Je.RAW_RUM_EVENT_COLLECTED,function(e){var t=e.type===g.XHR?h.XHR:h.FETCH,n=Xn(e),r=n?_e(n.startTime):e.startClocks,i=n?tr(n):void 0,o=function(e){if(!e.traceId||!e.spanId)return;return{_dd:{span_id:e.spanId.toDecimalString(),trace_id:e.traceId.toDecimalString()}}}(e),a=z({date:r.timeStamp,resource:{id:b(),type:t,duration:Te(e.duration),method:e.method,status_code:e.status,url:e.url},type:Ve.RESOURCE},o,i);return{startTime:r.relative,rawRumEvent:a,domainContext:{performanceEntry:n&&nr(n),xhr:e.xhr,response:e.response,requestInput:e.input,requestInit:e.init,error:e.error}}}(t))})),e.subscribe(Je.PERFORMANCE_ENTRIES_COLLECTED,(function(t){for(var n=0,r=t;n<r.length;n++){var i=r[n];"resource"===i.entryType&&("xmlhttprequest"!==(o=i).initiatorType&&"fetch"!==o.initiatorType)&&e.notify(Je.RAW_RUM_EVENT_COLLECTED,er(i))}var o}))}function er(e){var t=at(e),n=tr(e),r=function(e){return e.traceId?{_dd:{trace_id:e.traceId}}:void 0}(e),i=_e(e.startTime),o=z({date:i.timeStamp,resource:{id:b(),type:t,url:e.name},type:Ve.RESOURCE},r,n);return{startTime:i.relative,rawRumEvent:o,domainContext:{performanceEntry:nr(e)}}}function tr(e){return{resource:ye({duration:(t=e,n=t.duration,r=t.startTime,i=t.responseEnd,Te(0===n&&r<i?Oe(r,i):n)),size:dt(e)},ut(e))};var t,n,r,i}function nr(e){return"function"==typeof PerformanceEntry&&e instanceof PerformanceEntry&&e.toJSON(),e}function rr(e){return void 0===e&&(e=window),qn||("hidden"===document.visibilityState?qn={timeStamp:0}:(qn={timeStamp:1/0},Vn=D(e,["pagehide","visibilitychange"],(function(e){"pagehide"!==e.type&&"hidden"!==document.visibilityState||(qn.timeStamp=e.timeStamp,Vn())}),{capture:!0}).stop)),qn}var ir=6e5;function or(e,t){var n;function r(e){n=ye(ye({},n),e),t(n)}var i=function(e,t){return{stop:e.subscribe(Je.PERFORMANCE_ENTRIES_COLLECTED,(function(e){for(var n=0,r=e;n<r.length;n++){var i=r[n];"navigation"===i.entryType&&t({domComplete:i.domComplete,domContentLoaded:i.domContentLoadedEventEnd,domInteractive:i.domInteractive,loadEvent:i.loadEventEnd})}})).unsubscribe}}(e,r).stop,o=function(e,t){var n=rr();return{stop:e.subscribe(Je.PERFORMANCE_ENTRIES_COLLECTED,(function(e){var r=E(e,(function(e){return"paint"===e.entryType&&"first-contentful-paint"===e.name&&e.startTime<n.timeStamp&&e.startTime<ir}));r&&t(r.startTime)})).unsubscribe}}(e,(function(e){return r({firstContentfulPaint:e})})).stop,a=function(e,t,n){var r=rr(),i=1/0,o=D(t,["pointerdown","keydown"],(function(e){i=e.timeStamp}),{capture:!0,once:!0}).stop,a=e.subscribe(Je.PERFORMANCE_ENTRIES_COLLECTED,(function(e){var t=function(e,t){for(var n=e.length-1;n>=0;n-=1){var r=e[n];if(t(r,n,e))return r}}(e,(function(e){return"largest-contentful-paint"===e.entryType&&e.startTime<i&&e.startTime<r.timeStamp&&e.startTime<ir}));t&&n(t.startTime)})).unsubscribe;return{stop:function(){o(),a()}}}(e,window,(function(e){r({largestContentfulPaint:e})})).stop,s=function(e,t){var n=rr();return{stop:e.subscribe(Je.PERFORMANCE_ENTRIES_COLLECTED,(function(e){var r=E(e,(function(e){return"first-input"===e.entryType&&e.startTime<n.timeStamp}));if(r){var i=Oe(r.startTime,r.processingStart);t({firstInputDelay:i>=0?i:0,firstInputTime:r.startTime})}})).unsubscribe}}(e,(function(e){r({firstInputDelay:e.firstInputDelay,firstInputTime:e.firstInputTime})})).stop;return{stop:function(){i(),o(),a(),s()}}}function ar(e,t,n,r,i){var o,a={eventCounts:{errorCount:0,longTaskCount:0,resourceCount:0,userActionCount:0}},s=En(e,(function(e){a.eventCounts=e,n()})).stop,u=function(e,t,n,r,i){var o=n===We.INITIAL_LOAD,a=!0,s=[];function u(){!a&&!o&&s.length>0&&i(Math.max.apply(Math,s))}return{stop:On(e,t,(function(e){a&&(a=!1,e.hadActivity&&s.push(Oe(r.timeStamp,e.end)),u())})).stop,setLoadEvent:function(e){o&&(o=!1,s.push(e),u())}}}(e,t,r,i,(function(e){a.loadingTime=e,n()})),c=u.stop,l=u.setLoadEvent;return bt("layout-shift")?(a.cumulativeLayoutShift=0,o=function(e,t){var n=0,r=function(){var e,t,n=0;return{update:function(r){void 0===e||r.startTime-t>=m||r.startTime-e>=5e3?(e=t=r.startTime,n=r.value):(n+=r.value,t=r.startTime)},value:function(){return n}}}();return{stop:e.subscribe(Je.PERFORMANCE_ENTRIES_COLLECTED,(function(e){for(var i=0,o=e;i<o.length;i++){var a=o[i];"layout-shift"!==a.entryType||a.hadRecentInput||(r.update(a),r.value()>n&&(n=r.value(),t(w(n,4))))}})).unsubscribe}}(e,(function(e){a.cumulativeLayoutShift=e,n()})).stop):o=T,{stop:function(){s(),c(),o()},setLoadEvent:l,viewMetrics:a}}function sr(e,t,n,r,i,o){var a,s=function(r){var i=ur(t,n,e,We.INITIAL_LOAD,Ee(),r),o=or(t,(function(e){i.updateTimings(e),i.scheduleUpdate()})).stop;return{initialView:i,stop:o}}(o),u=s.stop,c=s.initialView,l=function(){t.subscribe(Je.SESSION_RENEWED,(function(){c.end(),c=f(void 0,c.name)})),t.subscribe(Je.BEFORE_UNLOAD,(function(){c.end(),c.triggerUpdate()}));var e=window.setInterval(ce((function(){c.triggerUpdate()})),3e5);return{stop:function(){clearInterval(e)}}}().stop;function f(r,i){return ur(t,n,e,We.ROUTE_CHANGE,r,i)}return i&&(a=function(e){return e.subscribe((function(e){var t,n,r,i,o=e.oldLocation,a=e.newLocation;if(n=a,(t=o).pathname!==n.pathname||(r=n.hash,i=r.substr(1),!document.getElementById(i)&&cr(n.hash)!==cr(t.hash)))return c.end(),c.triggerUpdate(),void(c=f())}))}(r)),{addTiming:function(e,t){void 0===t&&(t=xe()),c.addTiming(e,t),c.scheduleUpdate()},startView:function(e,t){c.end(t),c.triggerUpdate(),c=f(t,e)},stop:function(){null==a||a.unsubscribe(),u(),l(),c.end()}}}function ur(e,t,n,r,i,a){void 0===i&&(i=ke());var s,u=b(),c={},l={},f=0,d=ye({},n);e.notify(Je.VIEW_CREATED,{id:u,name:a,startClocks:i});var p=v(ce(T),3e3,{leading:!1}),h=p.throttled,g=p.cancel,m=ar(e,t,h,r,i),y=m.setLoadEvent,_=m.stop,w=m.viewMetrics;function T(){f+=1;var t=void 0===s?xe():s.timeStamp;e.notify(Je.VIEW_UPDATED,ye(ye({},w),{customTimings:l,documentVersion:f,id:u,name:a,loadingType:r,location:d,startClocks:i,timings:c,duration:Oe(i.timeStamp,t),isActive:void 0===s}))}return T(),{name:a,scheduleUpdate:h,end:function(t){void 0===t&&(t=ke()),s=t,_(),e.notify(Je.VIEW_ENDED,{endClocks:s})},triggerUpdate:function(){g(),T()},updateTimings:function(e){c=e,void 0!==e.loadEvent&&y(e.loadEvent)},addTiming:function(e,t){var n=function(e){return e<31536e6}(t)?t:Oe(i.timeStamp,t);l[function(e){var t=e.replace(/[^a-zA-Z0-9-_.@$]/g,"_");t!==e&&o.warn("Invalid timing name: "+e+", sanitized to: "+t);return t}(e)]=n}}}function cr(e){var t=e.indexOf("?");return t<0?e:e.slice(0,t)}function lr(e,t,n,r,i,o,a,s){return e.subscribe(Je.VIEW_UPDATED,(function(t){return e.notify(Je.RAW_RUM_EVENT_COLLECTED,function(e,t,n){var r=n.getReplayStats(e.id),i={_dd:{document_version:e.documentVersion,replay_stats:r},date:e.startClocks.timeStamp,type:Ve.VIEW,view:{action:{count:e.eventCounts.userActionCount},cumulative_layout_shift:e.cumulativeLayoutShift,dom_complete:Te(e.timings.domComplete),dom_content_loaded:Te(e.timings.domContentLoaded),dom_interactive:Te(e.timings.domInteractive),error:{count:e.eventCounts.errorCount},first_contentful_paint:Te(e.timings.firstContentfulPaint),first_input_delay:Te(e.timings.firstInputDelay),first_input_time:Te(e.timings.firstInputTime),is_active:e.isActive,name:e.name,largest_contentful_paint:Te(e.timings.largestContentfulPaint),load_event:Te(e.timings.loadEvent),loading_time:fr(Te(e.loadingTime)),loading_type:e.loadingType,long_task:{count:e.eventCounts.longTaskCount},resource:{count:e.eventCounts.resourceCount},time_spent:Te(e.duration),in_foreground_periods:t.selectInForegroundPeriodsFor(e.startClocks.relative,e.duration)},session:{has_replay:!!r||void 0}};I(e.customTimings)||(i.view.custom_timings=function(e,t){for(var n={},r=0,i=Object.keys(e);r<i.length;r++){var o=i[r];n[o]=t(e[o])}return n}(e.customTimings,Te));return{rawRumEvent:i,startTime:e.startClocks.relative,domainContext:{location:e.location}}}(t,o,a))})),sr(n,e,r,i,!t.trackViewsManually,s)}function fr(e){return C(e)&&e<0?void 0:e}function dr(e,t){var n=function(e,t){var n,r=o(e.rumEndpointBuilder,(function(){return t.notify(Je.BEFORE_UNLOAD)})),i=e.replica;void 0!==i&&(n=o(i.rumEndpointBuilder));function o(t,n){return new te(new re(t,e.batchBytesLimit),e.maxBatchSize,e.batchBytesLimit,e.maxMessageSize,e.flushTimeout,n)}function a(e){return z(e,{application:{id:i.applicationId}})}var s=!1;return{add:function(e){s||(r.add(e),n&&n.add(a(e)))},stop:function(){s=!0},upsert:function(e,t){s||(r.upsert(e,t),n&&n.upsert(a(e),t))}}}(e,t);return t.subscribe(Je.RUM_EVENT_COLLECTED,(function(e){e.type===Ve.VIEW?n.upsert(e,e.view.id):n.add(e)})),{stop:function(){return n.stop()}}}function pr(e){var t=ye({},e),n=new et((function(){var e,t,n,i,o,a=(e=r,t=cn(history,"pushState",{after:e}).stop,n=cn(history,"replaceState",{after:e}).stop,i=j(window,"popstate",e).stop,{stop:function(){t(),n(),i()}}).stop,s=(o=r,j(window,"hashchange",o)).stop;return function(){a(),s()}}));function r(){if(t.href!==e.href){var r=ye({},e);n.notify({newLocation:r,oldLocation:t}),t=r}}return n}var hr=function(){return hr=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},hr.apply(this,arguments)};var gr=2,mr=3,yr=4,vr=6,br=7,_r=8,wr=hr(hr({},$e),{IGNORE:"ignore",HIDDEN:"hidden"}),Tr="data-dd-privacy",xr="hidden",Sr="***",kr={INPUT:!0,OUTPUT:!0,TEXTAREA:!0,SELECT:!0,OPTION:!0,DATALIST:!0,OPTGROUP:!0};function Er(e,t){var n=e.parentNode?Er(e.parentNode,t):t;return Or(Cr(e),n)}function Or(e,t){switch(t){case wr.HIDDEN:case wr.IGNORE:return t}switch(e){case wr.ALLOW:case wr.MASK:case wr.MASK_USER_INPUT:case wr.HIDDEN:case wr.IGNORE:return e;default:return t}}function Cr(e){if(function(e){return e.nodeType===e.ELEMENT_NODE}(e)){var t=e.getAttribute(Tr);if("BASE"===e.tagName)return wr.ALLOW;if("INPUT"===e.tagName){var n=e;if("password"===n.type||"email"===n.type||"tel"===n.type)return wr.MASK;if("hidden"===n.type)return wr.MASK;var r=n.getAttribute("autocomplete");if(r&&0===r.indexOf("cc-"))return wr.MASK}return t===xr||e.classList.contains("dd-privacy-hidden")?wr.HIDDEN:"mask"===t||e.classList.contains("dd-privacy-mask")?wr.MASK:"mask-user-input"===t||e.classList.contains("dd-privacy-mask-user-input")?wr.MASK_USER_INPUT:"allow"===t||e.classList.contains("dd-privacy-allow")?wr.ALLOW:function(e){if("SCRIPT"===e.nodeName)return!0;if("LINK"===e.nodeName){return"preload"===(n=i("rel"))&&"script"===i("as")||"shortcut icon"===n||"icon"===n}if("META"===e.nodeName){var t=i("name"),n=i("rel"),r=i("property");return/^msapplication-tile(image|color)$/.test(t)||"application-name"===t||"icon"===n||"apple-touch-icon"===n||"shortcut icon"===n||"keywords"===t||"description"===t||/^(og|twitter|fb):/.test(r)||/^(og|twitter):/.test(t)||"pinterest"===t||"robots"===t||"googlebot"===t||"bingbot"===t||e.hasAttribute("http-equiv")||"author"===t||"generator"===t||"framework"===t||"publisher"===t||"progid"===t||/^article:/.test(r)||/^product:/.test(r)||"google-site-verification"===t||"yandex-verification"===t||"csrf-token"===t||"p:domain_verify"===t||"verify-v1"===t||"verification"===t||"shopify-checkout-api-token"===t}function i(t){return(e.getAttribute(t)||"").toLowerCase()}return!1}(e)?wr.IGNORE:void 0}}function Lr(e,t){switch(t){case wr.MASK:case wr.HIDDEN:case wr.IGNORE:return!0;case wr.MASK_USER_INPUT:return function(e){return e.nodeType===e.TEXT_NODE}(e)?Ar(e.parentNode):Ar(e);default:return!1}}function Ar(e){if(!e||e.nodeType!==e.ELEMENT_NODE)return!1;var t=e;if("INPUT"===t.tagName)switch(t.type){case"button":case"color":case"reset":case"submit":return!1}return!!kr[t.tagName]}var Ir;function Pr(e,t,n){var r,i=null===(r=e.parentElement)||void 0===r?void 0:r.tagName,o=e.textContent||"";if(!t||o.trim()){var a=n,s="STYLE"===i||void 0;if("SCRIPT"===i)o=Sr;else if(a===wr.HIDDEN)o=Sr;else if(Lr(e,a)&&!s)if("DATALIST"===i||"SELECT"===i||"OPTGROUP"===i){if(!o.trim())return}else o="OPTION"===i?Sr:o.replace(/\S/g,"x");return o}}!function(e){e[e.Mutation=0]="Mutation",e[e.MouseMove=1]="MouseMove",e[e.MouseInteraction=2]="MouseInteraction",e[e.Scroll=3]="Scroll",e[e.ViewportResize=4]="ViewportResize",e[e.Input=5]="Input",e[e.TouchMove=6]="TouchMove",e[e.MediaInteraction=7]="MediaInteraction",e[e.StyleSheetRule=8]="StyleSheetRule"}(Ir||(Ir={}));var Mr,Rr=0,jr=1,Dr=2,Nr=3,Br=4,Ur=5,Fr=6,zr=7,Hr=9,Zr=0,qr=1;!function(e){e[e.Document=0]="Document",e[e.DocumentType=1]="DocumentType",e[e.Element=2]="Element",e[e.Text=3]="Text",e[e.CDATA=4]="CDATA",e[e.Comment=5]="Comment"}(Mr||(Mr={}));var Vr=new WeakMap;function Wr(e){return Vr.has(e)}function Gr(e){return Vr.get(e)}function $r(e,t){var n=e.tagName,r=e.value;if(Lr(e,t)){var i=e.type;if("INPUT"===n&&("button"===i||"submit"===i||"reset"===i))return r;if(!r||"OPTION"===n)return;return Sr}return"OPTION"===n||"SELECT"===n?e.value:"INPUT"===n||"TEXTAREA"===n?r:void 0}function Yr(e){return Boolean(e.changedTouches)}function Kr(e,t){Array.prototype.forEach.call(e,t)}function Xr(e,t){return Qr(e,{document:e,parentNodePrivacyLevel:t})}function Qr(e,t){var n=function(e,t){switch(e.nodeType){case e.DOCUMENT_NODE:return function(e,t){return{type:Mr.Document,childNodes:Jr(e,t)}}(e,t);case e.DOCUMENT_TYPE_NODE:return n=e,{type:Mr.DocumentType,name:n.name,publicId:n.publicId,systemId:n.systemId};case e.ELEMENT_NODE:return function(e,t){var n,r=ri(e.tagName),i=(a=e,"svg"===a.tagName||a instanceof SVGElement||void 0),o=Or(Cr(e),t.parentNodePrivacyLevel);var a;if(o===wr.HIDDEN){var s=e.getBoundingClientRect(),u=s.width,c=s.height;return{type:Mr.Element,tagName:r,attributes:(n={rr_width:u+"px",rr_height:c+"px"},n[Tr]=xr,n),childNodes:[],isSVG:i}}if(o===wr.IGNORE)return;var l=function(e,t){if(t===wr.HIDDEN)return{};for(var n={},r=ri(e.tagName),i=e.ownerDocument,o=0;o<e.attributes.length;o+=1){var a=e.attributes.item(o).name,s=ei(e,t,a);null!==s&&(n[a]=s)}if(e.value&&("textarea"===r||"select"===r||"option"===r||"input"===r)){var u=$r(e,t);void 0!==u&&(n.value=u)}if("option"===r&&t===wr.ALLOW){var c=e;c.selected&&(n.selected=c.selected)}if("link"===r){var l=Array.from(i.styleSheets).find((function(t){return t.href===e.href}));(f=ii(l))&&l&&(delete n.rel,delete n.href,n._cssText=f)}if("style"===r&&e.sheet&&!(e.innerText||e.textContent||"").trim().length){var f;(f=ii(e.sheet))&&(n._cssText=f)}var d=e;"input"!==r||"radio"!==d.type&&"checkbox"!==d.type||(t===wr.ALLOW?n.checked=!!d.checked:Lr(d,t)&&(n.checked=Sr));if("audio"===r||"video"===r){var p=e;n.rr_mediaState=p.paused?"paused":"played"}e.scrollLeft&&(n.rr_scrollLeft=Math.round(e.scrollLeft));e.scrollTop&&(n.rr_scrollTop=Math.round(e.scrollTop));return n}(e,o),f=[];if(e.childNodes.length){f=Jr(e,t.parentNodePrivacyLevel===o&&t.ignoreWhiteSpace===("head"===r)?t:hr(hr({},t),{parentNodePrivacyLevel:o,ignoreWhiteSpace:"head"===r}))}return{type:Mr.Element,tagName:r,attributes:l,childNodes:f,isSVG:i}}(e,t);case e.TEXT_NODE:return function(e,t){var n,r=null===(n=e.parentElement)||void 0===n?void 0:n.tagName,i=Pr(e,t.ignoreWhiteSpace||!1,t.parentNodePrivacyLevel);if(!i)return;return{type:Mr.Text,textContent:i,isStyle:"STYLE"===r||void 0}}(e,t);case e.CDATA_SECTION_NODE:return{type:Mr.CDATA,textContent:""}}var n}(e,t);if(!n)return null;var r=Gr(e)||ti++,i=n;return i.id=r,function(e,t){Vr.set(e,t)}(e,r),t.serializedNodeIds&&t.serializedNodeIds.add(r),i}function Jr(e,t){var n=[];return Kr(e.childNodes,(function(e){var r=Qr(e,t);r&&n.push(r)})),n}function ei(e,t,n){if(t===wr.HIDDEN)return null;var r=e.getAttribute(n);if(t===wr.MASK){var i=e.tagName;switch(n){case"title":case"alt":return Sr}if(!("IMG"!==i&&"SOURCE"!==i||"src"!==n&&"srcset"!==n))return"data:image/gif;base64,R0lGODlhAQABAIAAAMLCwgAAACH5BAAAAAAALAAAAAABAAEAAAICRAEAOw==";if("A"===i&&"href"===n)return Sr;if(r&&0===n.indexOf("data-")&&n!==Tr)return Sr}return r&&"string"==typeof r&&r.length>1e5&&"data:"===r.slice(0,5)?"data:truncated":r}var ti=1;var ni=/[^a-z1-6-_]/;function ri(e){var t=e.toLowerCase().trim();return ni.test(t)?"div":t}function ii(e){try{var t=e.rules||e.cssRules;return t?Array.from(t).map(oi).join(""):null}catch(e){return null}}function oi(e){return function(e){return"styleSheet"in e}(e)?ii(e.styleSheet)||"":e.cssText}function ai(e){var t=T,n=[];function r(){t(),e(n),n=[]}return{addMutations:function(e){0===n.length&&(t=function(e){var t=window;if(t.requestIdleCallback){var n=t.requestIdleCallback(ce(e),{timeout:100});return function(){return t.cancelIdleCallback(n)}}var r=t.requestAnimationFrame(ce(e));return function(){return t.cancelAnimationFrame(r)}}(r)),n.push.apply(n,e)},flush:r,stop:function(){t()}}}function si(e,t,n){var r=nt();if(!r)return{stop:T};var i=ai((function(e){!function(e,t,n){var r=e.filter((function(e){return document.contains(e.target)&&function(e){for(var t=e;t;){if(!Wr(t))return!1;t=t.parentNode}return!0}(e.target)&&Er(e.target,n)!==wr.HIDDEN})),i=function(e,t){for(var n=new Set,r=new Map,i=function(e){Kr(e.addedNodes,(function(e){n.add(e)})),Kr(e.removedNodes,(function(t){n.has(t)||r.set(t,e.target),n.delete(t)}))},o=0,a=e;o<a.length;o++){i(a[o])}var s=Array.from(n);u=s,u.sort((function(e,t){var n=e.compareDocumentPosition(t);return n&Node.DOCUMENT_POSITION_CONTAINED_BY?-1:n&Node.DOCUMENT_POSITION_CONTAINS||n&Node.DOCUMENT_POSITION_FOLLOWING?1:n&Node.DOCUMENT_POSITION_PRECEDING?-1:0}));var u;for(var c=new Set,l=[],f=0,d=s;f<d.length;f++){var p=d[f];if(!y(p)){var h=Er(p.parentNode,t);if(h!==wr.HIDDEN&&h!==wr.IGNORE){var g=Qr(p,{document:document,serializedNodeIds:c,parentNodePrivacyLevel:h});g&&l.push({nextId:v(p),parentId:Gr(p.parentNode),node:g})}}}var m=[];return r.forEach((function(e,t){Wr(t)&&m.push({parentId:Gr(e),id:Gr(t)})})),{adds:l,removes:m,hasBeenSerialized:y};function y(e){return Wr(e)&&c.has(Gr(e))}function v(e){for(var t=e.nextSibling;t;){if(Wr(t))return Gr(t);t=t.nextSibling}return null}}(r.filter((function(e){return"childList"===e.type})),n),o=i.adds,a=i.removes,s=i.hasBeenSerialized,u=function(e,t){for(var n,r=[],i=new Set,o=e.filter((function(e){return!i.has(e.target)&&(i.add(e.target),!0)})),a=0,s=o;a<s.length;a++){var u=s[a];if(u.target.textContent!==u.oldValue){var c=Er(u.target.parentNode,t);c!==wr.HIDDEN&&c!==wr.IGNORE&&r.push({id:Gr(u.target),value:null!==(n=Pr(u.target,!1,c))&&void 0!==n?n:null})}}return r}(r.filter((function(e){return"characterData"===e.type&&!s(e.target)})),n),c=function(e,t){for(var n=[],r=new Map,i=e.filter((function(e){var t=r.get(e.target);return!(null==t?void 0:t.has(e.attributeName))&&(t?t.add(e.attributeName):r.set(e.target,new Set([e.attributeName])),!0)})),o=new Map,a=0,s=i;a<s.length;a++){var u=s[a];if(u.target.getAttribute(u.attributeName)!==u.oldValue){var c=Er(u.target,t),l=ei(u.target,c,u.attributeName),f=void 0;if("value"===u.attributeName){var d=$r(u.target,c);if(void 0===d)continue;f=d}else f=l&&"string"==typeof l?l:null;var p=o.get(u.target);p||(p={id:Gr(u.target),attributes:{}},n.push(p),o.set(u.target,p)),p.attributes[u.attributeName]=f}}return n}(r.filter((function(e){return"attributes"===e.type&&!s(e.target)})),n);if(!(u.length||c.length||a.length||o.length))return;t({adds:o,removes:a,texts:u,attributes:c})}(e.concat(o.takeRecords()),t,n)})),o=new r(ce(i.addMutations));return o.observe(document,{attributeOldValue:!0,attributes:!0,characterData:!0,characterDataOldValue:!0,childList:!0,subtree:!0}),e.onFlush(i.flush),{stop:function(){o.disconnect(),i.stop()}}}var ui=function(){function e(){}return e.prototype.flush=function(){var e;null===(e=this.flushListener)||void 0===e||e.call(this)},e.prototype.onFlush=function(e){this.flushListener=e},e}();var ci,li=function(e,t){var n=window.visualViewport,r={layoutViewportX:e,layoutViewportY:t,visualViewportX:e,visualViewportY:t};return n?(!function(){var e=window.visualViewport;return Math.abs(e.pageTop-e.offsetTop-window.scrollY)>25||Math.abs(e.pageLeft-e.offsetLeft-window.scrollX)>25}()?(r.visualViewportX=Math.round(e-n.offsetLeft),r.visualViewportY=Math.round(t-n.offsetTop)):(r.layoutViewportX=Math.round(e+n.offsetLeft),r.layoutViewportY=Math.round(t+n.offsetTop)),r):r},fi=function(){var e=window.visualViewport;return{scale:e.scale,offsetLeft:e.offsetLeft,offsetTop:e.offsetTop,pageLeft:e.pageLeft,pageTop:e.pageTop,height:e.height,width:e.width}};function di(){var e=window.visualViewport;return e?e.width*e.scale:window.innerWidth||0}function pi(){var e=window.visualViewport;return e?e.height*e.scale:window.innerHeight||0}function hi(){var e=window.visualViewport;return e?e.pageLeft-e.offsetLeft:void 0!==window.scrollX?window.scrollX:window.pageXOffset||0}function gi(){var e=window.visualViewport;return e?e.pageTop-e.offsetTop:void 0!==window.scrollY?window.scrollY:window.pageYOffset||0}function mi(e){var t,n,r,i,o=(t=e.mutationController,n=e.mutationCb,r=e.defaultPrivacyLevel,si(t,n,r).stop),a=function(e){var t=v(ce((function(t){var n=t.target;if(Wr(n)){var r=Yr(t)?t.changedTouches[0]:t,i=r.clientX,o=r.clientY,a={id:Gr(n),timeOffset:0,x:i,y:o};if(window.visualViewport){var s=li(i,o),u=s.visualViewportX,c=s.visualViewportY;a.x=u,a.y=c}e([a],Yr(t)?Ir.TouchMove:Ir.MouseMove)}})),50,{trailing:!1}).throttled;return D(document,["mousemove","touchmove"],t,{capture:!0,passive:!0}).stop}(e.mousemoveCb),s=function(e,t){var n=function(n){var r=n.target;if(Er(r,t)!==wr.HIDDEN&&Wr(r)){var i=Yr(n)?n.changedTouches[0]:n,o=i.clientX,a=i.clientY,s={id:Gr(r),type:yi[n.type],x:o,y:a};if(window.visualViewport){var u=li(o,a),c=u.visualViewportX,l=u.visualViewportY;s.x=c,s.y=l}e(s)}};return D(document,Object.keys(yi),n,{capture:!0,passive:!0}).stop}(e.mouseInteractionCb,e.defaultPrivacyLevel),u=function(e,t){var n=v(ce((function(n){var r=n.target;if(r&&Er(r,t)!==wr.HIDDEN&&Wr(r)){var i=Gr(r);r===document?e({id:i,x:hi(),y:gi()}):e({id:i,x:r.scrollLeft,y:r.scrollTop})}})),100).throttled;return j(document,"scroll",n,{capture:!0,passive:!0}).stop}(e.scrollCb,e.defaultPrivacyLevel),c=function(e){var t=v(ce((function(){var t=pi(),n=di();e({height:Number(t),width:Number(n)})})),200).throttled;return j(window,"resize",t,{capture:!0,passive:!0}).stop}(e.viewportResizeCb),l=function(e,t){function n(e){var n=e.target,i=Er(n,t);if(n&&n.tagName&&k(vi,n.tagName)&&i!==wr.HIDDEN){var o,a=n.type;if("radio"===a||"checkbox"===a){if(Lr(n,i))return;o={isChecked:n.checked}}else{var s=$r(n,i);if(void 0===s)return;o={text:s}}r(n,o);var u=n.name;"radio"===a&&u&&n.checked&&Kr(document.querySelectorAll('input[type="radio"][name="'+u+'"]'),(function(e){e!==n&&r(e,{isChecked:!1})}))}}function r(t,n){if(Wr(t)){var r=bi.get(t);r&&r.text===n.text&&r.isChecked===n.isChecked||(bi.set(t,n),e(hr(hr({},n),{id:Gr(t)})))}}var i=D(document,["input","change"],n,{capture:!0,passive:!0}).stop,o=Object.getOwnPropertyDescriptor(HTMLInputElement.prototype,"value"),a=[[HTMLInputElement.prototype,"value"],[HTMLInputElement.prototype,"checked"],[HTMLSelectElement.prototype,"value"],[HTMLTextAreaElement.prototype,"value"],[HTMLSelectElement.prototype,"selectedIndex"]],s=[];o&&o.set&&s.push.apply(s,a.map((function(e){return t=e[0],r=e[1],i={set:ce((function(){n({target:this})}))},o=Object.getOwnPropertyDescriptor(t,r),Object.defineProperty(t,r,{set:function(e){var t=this;setTimeout((function(){i.set.call(t,e)}),0),o&&o.set&&o.set.call(this,e)}}),function(){Object.defineProperty(t,r,o||{})};var t,r,i,o})));return function(){s.forEach((function(e){return e()})),i()}}(e.inputCb,e.defaultPrivacyLevel),f=function(e,t){return D(document,["play","pause"],(function(n){var r=n.target;r&&Er(r,t)!==wr.HIDDEN&&Wr(r)&&e({id:Gr(r),type:"play"===n.type?Zr:qr})}),{capture:!0,passive:!0}).stop}(e.mediaInteractionCb,e.defaultPrivacyLevel),d=function(e){var t=CSSStyleSheet.prototype.insertRule;CSSStyleSheet.prototype.insertRule=function(n,r){var i=this;return le((function(){Wr(i.ownerNode)&&e({id:Gr(i.ownerNode),adds:[{rule:n,index:r}]})})),t.call(this,n,r)};var n=CSSStyleSheet.prototype.deleteRule;return CSSStyleSheet.prototype.deleteRule=function(t){var r=this;return le((function(){Wr(r.ownerNode)&&e({id:Gr(r.ownerNode),removes:[{index:t}]})})),n.call(this,t)},function(){CSSStyleSheet.prototype.insertRule=t,CSSStyleSheet.prototype.deleteRule=n}}(e.styleSheetRuleCb),p=(i=e.focusCb,D(window,["focus","blur"],(function(){i({has_focus:document.hasFocus()})})).stop),h=function(e){if(!window.visualViewport)return T;var t=v(ce((function(){e(fi())})),200,{trailing:!1}),n=t.throttled,r=t.cancel,i=D(window.visualViewport,["resize","scroll"],n,{capture:!0,passive:!0}).stop;return function(){i(),r()}}(e.visualViewportResizeCb);return function(){o(),a(),s(),u(),c(),l(),f(),d(),p(),h()}}var yi=((ci={}).mouseup=Rr,ci.mousedown=jr,ci.click=Dr,ci.contextmenu=Nr,ci.dblclick=Br,ci.focus=Ur,ci.blur=Fr,ci.touchstart=zr,ci.touchend=Hr,ci);var vi=["INPUT","TEXTAREA","SELECT"],bi=new WeakMap;function _i(e,t,n,r,i){var o=new FormData;o.append("segment",new Blob([t],{type:"application/octet-stream"}),n.session.id+"-"+n.start),wi(n,(function(e,t){return o.append(e,t)})),o.append("raw_segment_size",r.toString()),new re(e,6e4).send(o,t.byteLength,i)}function wi(e,t,n){void 0===n&&(n=""),A(e).forEach((function(e){var r=e[0],i=e[1];"object"==typeof i&&null!==i?wi(i,t,""+n+r+"."):t(""+n+r,String(i))}))}var Ti;function xi(e){return Ei(e).segments_count}function Si(e){Ei(e).records_count+=1}function ki(e){return null==Ti?void 0:Ti.get(e)}function Ei(e){var t;return Ti||(Ti=new Map),Ti.has(e)?t=Ti.get(e):(t={records_count:0,segments_count:0,segments_total_raw_size:0},Ti.set(e,t),Ti.size>10&&function(){if(!Ti)return;if(Ti.keys)Ti.delete(Ti.keys().next().value);else{var e=!0;Ti.forEach((function(t,n){e&&(Ti.delete(n),e=!1)}))}}()),t}var Oi,Ci=0,Li=function(){function e(e,t,n,r,i,o){var a=this;this.worker=e,this.isFlushed=!1,this.id=Ci++;var s=t.view.id;this.metadata=hr({start:r.timestamp,end:r.timestamp,creation_reason:n,records_count:1,has_full_snapshot:r.type===gr,index_in_view:xi(s)},t),function(e){Ei(e).segments_count+=1}(s),Si(s);var u=ce((function(t){var n=t.data;"errored"!==n.type&&"initialized"!==n.type&&(n.id===a.id?(!function(e,t){Ei(e).segments_total_raw_size+=t}(s,n.additionalRawSize),"flushed"===n.type?(o(n.result,n.rawSize),e.removeEventListener("message",u)):i(n.compressedSize)):n.id>a.id&&(e.removeEventListener("message",u),fe("Segment did not receive a 'flush' response before being replaced.")))}));e.addEventListener("message",u),this.worker.postMessage({data:'{"records":['+JSON.stringify(r),id:this.id,action:"write"})}return e.prototype.addRecord=function(e){var t;this.metadata.end=e.timestamp,this.metadata.records_count+=1,Si(this.metadata.view.id),(t=this.metadata).has_full_snapshot||(t.has_full_snapshot=e.type===gr),this.worker.postMessage({data:","+JSON.stringify(e),id:this.id,action:"write"})},e.prototype.flush=function(e){this.worker.postMessage({data:"],"+JSON.stringify(this.metadata).slice(1)+"\n",id:this.id,action:"flush"}),this.isFlushed=!0,this.flushReason=e},e}(),Ai=6e4;function Ii(e,t,n,r,i,o){return function(e,t,n,r,i){void 0===i&&(i=window);var o={status:0,nextSegmentCreationReason:"init"},a=e.subscribe(Je.VIEW_CREATED,(function(){c("view_change")})).unsubscribe,s=e.subscribe(Je.BEFORE_UNLOAD,(function(){c("before_unload")})).unsubscribe,u=j(i,"visibilitychange",(function(){"hidden"===document.visibilityState&&c("visibility_hidden")}),{capture:!0}).stop;function c(e){1===o.status&&(o.segment.flush(e||"sdk_stopped"),clearTimeout(o.expirationTimeoutId)),o=e?{status:0,nextSegmentCreationReason:e}:{status:2}}function l(e,i){var a=t();if(a){var s=new Li(r,a,e,i,(function(e){!s.isFlushed&&e>Ai&&c("max_size")}),(function(e,t){n(e,s.metadata,t,s.flushReason)}));o={status:1,segment:s,expirationTimeoutId:setTimeout(ce((function(){c("max_duration")})),3e4)}}}return{addRecord:function(e){switch(o.status){case 0:l(o.nextSegmentCreationReason,e);break;case 1:o.segment.addRecord(e)}},stop:function(){c(),a(),s(),u()}}}(e,(function(){return function(e,t,n){var r=t.findTrackedSession(),i=n.findView();if(!r||!i)return;return{application:{id:e},session:{id:r.id},view:{id:i.view.id}}}(t,n,r)}),i,o)}function Pi(){return Oi||(Oi=URL.createObjectURL(new Blob(["("+Mi+")(self)"]))),new Worker(Oi)}function Mi(){function e(e){return function(){try{return e.apply(this,arguments)}catch(e){try{self.postMessage({type:"errored",error:e})}catch(t){self.postMessage({type:"errored",error:""+e})}}}}e((function(){var t=function(){var e=4,t=0,n=1,r=2;function i(e){for(var t=e.length;--t>=0;)e[t]=0}var o=0,a=1,s=2,u=3,c=258,l=29,f=256,d=f+1+l,p=30,h=19,g=2*d+1,m=15,y=16,v=7,b=256,_=16,w=17,T=18,x=new Uint8Array([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0]),S=new Uint8Array([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13]),k=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7]),E=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),O=512,C=new Array(2*(d+2));i(C);var L=new Array(2*p);i(L);var A=new Array(O);i(A);var I=new Array(c-u+1);i(I);var P=new Array(l);i(P);var M,R,j,D=new Array(p);function N(e,t,n,r,i){this.static_tree=e,this.extra_bits=t,this.extra_base=n,this.elems=r,this.max_length=i,this.has_stree=e&&e.length}function B(e,t){this.dyn_tree=e,this.max_code=0,this.stat_desc=t}i(D);var U=function(e){return e<256?A[e]:A[256+(e>>>7)]},F=function(e,t){e.pending_buf[e.pending++]=255&t,e.pending_buf[e.pending++]=t>>>8&255},z=function(e,t,n){e.bi_valid>y-n?(e.bi_buf|=t<<e.bi_valid&65535,F(e,e.bi_buf),e.bi_buf=t>>y-e.bi_valid,e.bi_valid+=n-y):(e.bi_buf|=t<<e.bi_valid&65535,e.bi_valid+=n)},H=function(e,t,n){z(e,n[2*t],n[2*t+1])},Z=function(e,t){var n=0;do{n|=1&e,e>>>=1,n<<=1}while(--t>0);return n>>>1},q=function(e){16===e.bi_valid?(F(e,e.bi_buf),e.bi_buf=0,e.bi_valid=0):e.bi_valid>=8&&(e.pending_buf[e.pending++]=255&e.bi_buf,e.bi_buf>>=8,e.bi_valid-=8)},V=function(e,t){var n,r,i,o,a,s,u=t.dyn_tree,c=t.max_code,l=t.stat_desc.static_tree,f=t.stat_desc.has_stree,d=t.stat_desc.extra_bits,p=t.stat_desc.extra_base,h=t.stat_desc.max_length,y=0;for(o=0;o<=m;o++)e.bl_count[o]=0;for(u[2*e.heap[e.heap_max]+1]=0,n=e.heap_max+1;n<g;n++)(o=u[2*u[2*(r=e.heap[n])+1]+1]+1)>h&&(o=h,y++),u[2*r+1]=o,r>c||(e.bl_count[o]++,a=0,r>=p&&(a=d[r-p]),s=u[2*r],e.opt_len+=s*(o+a),f&&(e.static_len+=s*(l[2*r+1]+a)));if(0!==y){do{for(o=h-1;0===e.bl_count[o];)o--;e.bl_count[o]--,e.bl_count[o+1]+=2,e.bl_count[h]--,y-=2}while(y>0);for(o=h;0!==o;o--)for(r=e.bl_count[o];0!==r;)(i=e.heap[--n])>c||(u[2*i+1]!==o&&(e.opt_len+=(o-u[2*i+1])*u[2*i],u[2*i+1]=o),r--)}},W=function(e,t,n){var r,i,o=new Array(m+1),a=0;for(r=1;r<=m;r++)o[r]=a=a+n[r-1]<<1;for(i=0;i<=t;i++){var s=e[2*i+1];0!==s&&(e[2*i]=Z(o[s]++,s))}},G=function(){var e,t,n,r,i,o=new Array(m+1);for(n=0,r=0;r<l-1;r++)for(P[r]=n,e=0;e<1<<x[r];e++)I[n++]=r;for(I[n-1]=r,i=0,r=0;r<16;r++)for(D[r]=i,e=0;e<1<<S[r];e++)A[i++]=r;for(i>>=7;r<p;r++)for(D[r]=i<<7,e=0;e<1<<S[r]-7;e++)A[256+i++]=r;for(t=0;t<=m;t++)o[t]=0;for(e=0;e<=143;)C[2*e+1]=8,e++,o[8]++;for(;e<=255;)C[2*e+1]=9,e++,o[9]++;for(;e<=279;)C[2*e+1]=7,e++,o[7]++;for(;e<=287;)C[2*e+1]=8,e++,o[8]++;for(W(C,d+1,o),e=0;e<p;e++)L[2*e+1]=5,L[2*e]=Z(e,5);M=new N(C,x,f+1,d,m),R=new N(L,S,0,p,m),j=new N(new Array(0),k,0,h,v)},$=function(e){var t;for(t=0;t<d;t++)e.dyn_ltree[2*t]=0;for(t=0;t<p;t++)e.dyn_dtree[2*t]=0;for(t=0;t<h;t++)e.bl_tree[2*t]=0;e.dyn_ltree[2*b]=1,e.opt_len=e.static_len=0,e.last_lit=e.matches=0},Y=function(e){e.bi_valid>8?F(e,e.bi_buf):e.bi_valid>0&&(e.pending_buf[e.pending++]=e.bi_buf),e.bi_buf=0,e.bi_valid=0},K=function(e,t,n,r){Y(e),r&&(F(e,n),F(e,~n)),e.pending_buf.set(e.window.subarray(t,t+n),e.pending),e.pending+=n},X=function(e,t,n,r){var i=2*t,o=2*n;return e[i]<e[o]||e[i]===e[o]&&r[t]<=r[n]},Q=function(e,t,n){for(var r=e.heap[n],i=n<<1;i<=e.heap_len&&(i<e.heap_len&&X(t,e.heap[i+1],e.heap[i],e.depth)&&i++,!X(t,r,e.heap[i],e.depth));)e.heap[n]=e.heap[i],n=i,i<<=1;e.heap[n]=r},J=function(e,t,n){var r,i,o,a,s=0;if(0!==e.last_lit)do{r=e.pending_buf[e.d_buf+2*s]<<8|e.pending_buf[e.d_buf+2*s+1],i=e.pending_buf[e.l_buf+s],s++,0===r?H(e,i,t):(o=I[i],H(e,o+f+1,t),0!==(a=x[o])&&(i-=P[o],z(e,i,a)),r--,o=U(r),H(e,o,n),0!==(a=S[o])&&(r-=D[o],z(e,r,a)))}while(s<e.last_lit);H(e,b,t)},ee=function(e,t){var n,r,i,o=t.dyn_tree,a=t.stat_desc.static_tree,s=t.stat_desc.has_stree,u=t.stat_desc.elems,c=-1;for(e.heap_len=0,e.heap_max=g,n=0;n<u;n++)0!==o[2*n]?(e.heap[++e.heap_len]=c=n,e.depth[n]=0):o[2*n+1]=0;for(;e.heap_len<2;)o[2*(i=e.heap[++e.heap_len]=c<2?++c:0)]=1,e.depth[i]=0,e.opt_len--,s&&(e.static_len-=a[2*i+1]);for(t.max_code=c,n=e.heap_len>>1;n>=1;n--)Q(e,o,n);i=u;do{n=e.heap[1],e.heap[1]=e.heap[e.heap_len--],Q(e,o,1),r=e.heap[1],e.heap[--e.heap_max]=n,e.heap[--e.heap_max]=r,o[2*i]=o[2*n]+o[2*r],e.depth[i]=(e.depth[n]>=e.depth[r]?e.depth[n]:e.depth[r])+1,o[2*n+1]=o[2*r+1]=i,e.heap[1]=i++,Q(e,o,1)}while(e.heap_len>=2);e.heap[--e.heap_max]=e.heap[1],V(e,t),W(o,c,e.bl_count)},te=function(e,t,n){var r,i,o=-1,a=t[1],s=0,u=7,c=4;for(0===a&&(u=138,c=3),t[2*(n+1)+1]=65535,r=0;r<=n;r++)i=a,a=t[2*(r+1)+1],++s<u&&i===a||(s<c?e.bl_tree[2*i]+=s:0!==i?(i!==o&&e.bl_tree[2*i]++,e.bl_tree[2*_]++):s<=10?e.bl_tree[2*w]++:e.bl_tree[2*T]++,s=0,o=i,0===a?(u=138,c=3):i===a?(u=6,c=3):(u=7,c=4))},ne=function(e,t,n){var r,i,o=-1,a=t[1],s=0,u=7,c=4;for(0===a&&(u=138,c=3),r=0;r<=n;r++)if(i=a,a=t[2*(r+1)+1],!(++s<u&&i===a)){if(s<c)do{H(e,i,e.bl_tree)}while(0!=--s);else 0!==i?(i!==o&&(H(e,i,e.bl_tree),s--),H(e,_,e.bl_tree),z(e,s-3,2)):s<=10?(H(e,w,e.bl_tree),z(e,s-3,3)):(H(e,T,e.bl_tree),z(e,s-11,7));s=0,o=i,0===a?(u=138,c=3):i===a?(u=6,c=3):(u=7,c=4)}},re=function(e){var t;for(te(e,e.dyn_ltree,e.l_desc.max_code),te(e,e.dyn_dtree,e.d_desc.max_code),ee(e,e.bl_desc),t=h-1;t>=3&&0===e.bl_tree[2*E[t]+1];t--);return e.opt_len+=3*(t+1)+5+5+4,t},ie=function(e,t,n,r){var i;for(z(e,t-257,5),z(e,n-1,5),z(e,r-4,4),i=0;i<r;i++)z(e,e.bl_tree[2*E[i]+1],3);ne(e,e.dyn_ltree,t-1),ne(e,e.dyn_dtree,n-1)},oe=function(e){var r,i=4093624447;for(r=0;r<=31;r++,i>>>=1)if(1&i&&0!==e.dyn_ltree[2*r])return t;if(0!==e.dyn_ltree[18]||0!==e.dyn_ltree[20]||0!==e.dyn_ltree[26])return n;for(r=32;r<f;r++)if(0!==e.dyn_ltree[2*r])return n;return t},ae=!1,se=function(e,t,n,r){z(e,(o<<1)+(r?1:0),3),K(e,t,n,!0)},ue=function(t,n,i,o){var u,c,l=0;t.level>0?(t.strm.data_type===r&&(t.strm.data_type=oe(t)),ee(t,t.l_desc),ee(t,t.d_desc),l=re(t),u=t.opt_len+3+7>>>3,(c=t.static_len+3+7>>>3)<=u&&(u=c)):u=c=i+5,i+4<=u&&-1!==n?se(t,n,i,o):t.strategy===e||c===u?(z(t,(a<<1)+(o?1:0),3),J(t,C,L)):(z(t,(s<<1)+(o?1:0),3),ie(t,t.l_desc.max_code+1,t.d_desc.max_code+1,l+1),J(t,t.dyn_ltree,t.dyn_dtree)),$(t),o&&Y(t)},ce={_tr_init:function(e){ae||(G(),ae=!0),e.l_desc=new B(e.dyn_ltree,M),e.d_desc=new B(e.dyn_dtree,R),e.bl_desc=new B(e.bl_tree,j),e.bi_buf=0,e.bi_valid=0,$(e)},_tr_stored_block:se,_tr_flush_block:ue,_tr_tally:function(e,t,n){return e.pending_buf[e.d_buf+2*e.last_lit]=t>>>8&255,e.pending_buf[e.d_buf+2*e.last_lit+1]=255&t,e.pending_buf[e.l_buf+e.last_lit]=255&n,e.last_lit++,0===t?e.dyn_ltree[2*n]++:(e.matches++,t--,e.dyn_ltree[2*(I[n]+f+1)]++,e.dyn_dtree[2*U(t)]++),e.last_lit===e.lit_bufsize-1},_tr_align:function(e){z(e,a<<1,3),H(e,b,C),q(e)}},le=function(e,t,n,r){for(var i=65535&e|0,o=e>>>16&65535|0,a=0;0!==n;){n-=a=n>2e3?2e3:n;do{o=o+(i=i+t[r++]|0)|0}while(--a);i%=65521,o%=65521}return i|o<<16|0},fe=new Uint32Array(function(){for(var e,t=[],n=0;n<256;n++){e=n;for(var r=0;r<8;r++)e=1&e?3988292384^e>>>1:e>>>1;t[n]=e}return t}()),de=function(e,t,n,r){var i=fe,o=r+n;e^=-1;for(var a=r;a<o;a++)e=e>>>8^i[255&(e^t[a])];return-1^e},pe={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"},he={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_MEM_ERROR:-4,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8},ge=ce._tr_init,me=ce._tr_stored_block,ye=ce._tr_flush_block,ve=ce._tr_tally,be=ce._tr_align,_e=he.Z_NO_FLUSH,we=he.Z_PARTIAL_FLUSH,Te=he.Z_FULL_FLUSH,xe=he.Z_FINISH,Se=he.Z_BLOCK,ke=he.Z_OK,Ee=he.Z_STREAM_END,Oe=he.Z_STREAM_ERROR,Ce=he.Z_DATA_ERROR,Le=he.Z_BUF_ERROR,Ae=he.Z_DEFAULT_COMPRESSION,Ie=he.Z_FILTERED,Pe=he.Z_HUFFMAN_ONLY,Me=he.Z_RLE,Re=he.Z_FIXED,je=he.Z_DEFAULT_STRATEGY,De=he.Z_UNKNOWN,Ne=he.Z_DEFLATED,Be=9,Ue=15,Fe=8,ze=286,He=30,Ze=19,qe=2*ze+1,Ve=15,We=3,Ge=258,$e=Ge+We+1,Ye=32,Ke=42,Xe=69,Qe=73,Je=91,et=103,tt=113,nt=666,rt=1,it=2,ot=3,at=4,st=3,ut=function(e,t){return e.msg=pe[t],t},ct=function(e){return(e<<1)-(e>4?9:0)},lt=function(e){for(var t=e.length;--t>=0;)e[t]=0},ft=function(e,t,n){return(t<<e.hash_shift^n)&e.hash_mask},dt=function(e){var t=e.state,n=t.pending;n>e.avail_out&&(n=e.avail_out),0!==n&&(e.output.set(t.pending_buf.subarray(t.pending_out,t.pending_out+n),e.next_out),e.next_out+=n,t.pending_out+=n,e.total_out+=n,e.avail_out-=n,t.pending-=n,0===t.pending&&(t.pending_out=0))},pt=function(e,t){ye(e,e.block_start>=0?e.block_start:-1,e.strstart-e.block_start,t),e.block_start=e.strstart,dt(e.strm)},ht=function(e,t){e.pending_buf[e.pending++]=t},gt=function(e,t){e.pending_buf[e.pending++]=t>>>8&255,e.pending_buf[e.pending++]=255&t},mt=function(e,t,n,r){var i=e.avail_in;return i>r&&(i=r),0===i?0:(e.avail_in-=i,t.set(e.input.subarray(e.next_in,e.next_in+i),n),1===e.state.wrap?e.adler=le(e.adler,t,i,n):2===e.state.wrap&&(e.adler=de(e.adler,t,i,n)),e.next_in+=i,e.total_in+=i,i)},yt=function(e,t){var n,r,i=e.max_chain_length,o=e.strstart,a=e.prev_length,s=e.nice_match,u=e.strstart>e.w_size-$e?e.strstart-(e.w_size-$e):0,c=e.window,l=e.w_mask,f=e.prev,d=e.strstart+Ge,p=c[o+a-1],h=c[o+a];e.prev_length>=e.good_match&&(i>>=2),s>e.lookahead&&(s=e.lookahead);do{if(c[(n=t)+a]===h&&c[n+a-1]===p&&c[n]===c[o]&&c[++n]===c[o+1]){o+=2,n++;do{}while(c[++o]===c[++n]&&c[++o]===c[++n]&&c[++o]===c[++n]&&c[++o]===c[++n]&&c[++o]===c[++n]&&c[++o]===c[++n]&&c[++o]===c[++n]&&c[++o]===c[++n]&&o<d);if(r=Ge-(d-o),o=d-Ge,r>a){if(e.match_start=t,a=r,r>=s)break;p=c[o+a-1],h=c[o+a]}}}while((t=f[t&l])>u&&0!=--i);return a<=e.lookahead?a:e.lookahead},vt=function(e){var t,n,r,i,o,a=e.w_size;do{if(i=e.window_size-e.lookahead-e.strstart,e.strstart>=a+(a-$e)){e.window.set(e.window.subarray(a,a+a),0),e.match_start-=a,e.strstart-=a,e.block_start-=a,t=n=e.hash_size;do{r=e.head[--t],e.head[t]=r>=a?r-a:0}while(--n);t=n=a;do{r=e.prev[--t],e.prev[t]=r>=a?r-a:0}while(--n);i+=a}if(0===e.strm.avail_in)break;if(n=mt(e.strm,e.window,e.strstart+e.lookahead,i),e.lookahead+=n,e.lookahead+e.insert>=We)for(o=e.strstart-e.insert,e.ins_h=e.window[o],e.ins_h=ft(e,e.ins_h,e.window[o+1]);e.insert&&(e.ins_h=ft(e,e.ins_h,e.window[o+We-1]),e.prev[o&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=o,o++,e.insert--,!(e.lookahead+e.insert<We)););}while(e.lookahead<$e&&0!==e.strm.avail_in)},bt=function(e,t){for(var n,r;;){if(e.lookahead<$e){if(vt(e),e.lookahead<$e&&t===_e)return rt;if(0===e.lookahead)break}if(n=0,e.lookahead>=We&&(e.ins_h=ft(e,e.ins_h,e.window[e.strstart+We-1]),n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),0!==n&&e.strstart-n<=e.w_size-$e&&(e.match_length=yt(e,n)),e.match_length>=We)if(r=ve(e,e.strstart-e.match_start,e.match_length-We),e.lookahead-=e.match_length,e.match_length<=e.max_lazy_match&&e.lookahead>=We){e.match_length--;do{e.strstart++,e.ins_h=ft(e,e.ins_h,e.window[e.strstart+We-1]),n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart}while(0!=--e.match_length);e.strstart++}else e.strstart+=e.match_length,e.match_length=0,e.ins_h=e.window[e.strstart],e.ins_h=ft(e,e.ins_h,e.window[e.strstart+1]);else r=ve(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++;if(r&&(pt(e,!1),0===e.strm.avail_out))return rt}return e.insert=e.strstart<We-1?e.strstart:We-1,t===xe?(pt(e,!0),0===e.strm.avail_out?ot:at):e.last_lit&&(pt(e,!1),0===e.strm.avail_out)?rt:it},_t=function(e,t){for(var n,r,i;;){if(e.lookahead<$e){if(vt(e),e.lookahead<$e&&t===_e)return rt;if(0===e.lookahead)break}if(n=0,e.lookahead>=We&&(e.ins_h=ft(e,e.ins_h,e.window[e.strstart+We-1]),n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),e.prev_length=e.match_length,e.prev_match=e.match_start,e.match_length=We-1,0!==n&&e.prev_length<e.max_lazy_match&&e.strstart-n<=e.w_size-$e&&(e.match_length=yt(e,n),e.match_length<=5&&(e.strategy===Ie||e.match_length===We&&e.strstart-e.match_start>4096)&&(e.match_length=We-1)),e.prev_length>=We&&e.match_length<=e.prev_length){i=e.strstart+e.lookahead-We,r=ve(e,e.strstart-1-e.prev_match,e.prev_length-We),e.lookahead-=e.prev_length-1,e.prev_length-=2;do{++e.strstart<=i&&(e.ins_h=ft(e,e.ins_h,e.window[e.strstart+We-1]),n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart)}while(0!=--e.prev_length);if(e.match_available=0,e.match_length=We-1,e.strstart++,r&&(pt(e,!1),0===e.strm.avail_out))return rt}else if(e.match_available){if((r=ve(e,0,e.window[e.strstart-1]))&&pt(e,!1),e.strstart++,e.lookahead--,0===e.strm.avail_out)return rt}else e.match_available=1,e.strstart++,e.lookahead--}return e.match_available&&(r=ve(e,0,e.window[e.strstart-1]),e.match_available=0),e.insert=e.strstart<We-1?e.strstart:We-1,t===xe?(pt(e,!0),0===e.strm.avail_out?ot:at):e.last_lit&&(pt(e,!1),0===e.strm.avail_out)?rt:it},wt=function(e,t){for(var n,r,i,o,a=e.window;;){if(e.lookahead<=Ge){if(vt(e),e.lookahead<=Ge&&t===_e)return rt;if(0===e.lookahead)break}if(e.match_length=0,e.lookahead>=We&&e.strstart>0&&(r=a[i=e.strstart-1])===a[++i]&&r===a[++i]&&r===a[++i]){o=e.strstart+Ge;do{}while(r===a[++i]&&r===a[++i]&&r===a[++i]&&r===a[++i]&&r===a[++i]&&r===a[++i]&&r===a[++i]&&r===a[++i]&&i<o);e.match_length=Ge-(o-i),e.match_length>e.lookahead&&(e.match_length=e.lookahead)}if(e.match_length>=We?(n=ve(e,1,e.match_length-We),e.lookahead-=e.match_length,e.strstart+=e.match_length,e.match_length=0):(n=ve(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++),n&&(pt(e,!1),0===e.strm.avail_out))return rt}return e.insert=0,t===xe?(pt(e,!0),0===e.strm.avail_out?ot:at):e.last_lit&&(pt(e,!1),0===e.strm.avail_out)?rt:it},Tt=function(e,t){for(var n;;){if(0===e.lookahead&&(vt(e),0===e.lookahead)){if(t===_e)return rt;break}if(e.match_length=0,n=ve(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++,n&&(pt(e,!1),0===e.strm.avail_out))return rt}return e.insert=0,t===xe?(pt(e,!0),0===e.strm.avail_out?ot:at):e.last_lit&&(pt(e,!1),0===e.strm.avail_out)?rt:it};function xt(e,t,n,r,i){this.good_length=e,this.max_lazy=t,this.nice_length=n,this.max_chain=r,this.func=i}var St=[new xt(0,0,0,0,(function(e,t){var n=65535;for(n>e.pending_buf_size-5&&(n=e.pending_buf_size-5);;){if(e.lookahead<=1){if(vt(e),0===e.lookahead&&t===_e)return rt;if(0===e.lookahead)break}e.strstart+=e.lookahead,e.lookahead=0;var r=e.block_start+n;if((0===e.strstart||e.strstart>=r)&&(e.lookahead=e.strstart-r,e.strstart=r,pt(e,!1),0===e.strm.avail_out))return rt;if(e.strstart-e.block_start>=e.w_size-$e&&(pt(e,!1),0===e.strm.avail_out))return rt}return e.insert=0,t===xe?(pt(e,!0),0===e.strm.avail_out?ot:at):(e.strstart>e.block_start&&(pt(e,!1),e.strm.avail_out),rt)})),new xt(4,4,8,4,bt),new xt(4,5,16,8,bt),new xt(4,6,32,32,bt),new xt(4,4,16,16,_t),new xt(8,16,32,32,_t),new xt(8,16,128,128,_t),new xt(8,32,128,256,_t),new xt(32,128,258,1024,_t),new xt(32,258,258,4096,_t)],kt=function(e){e.window_size=2*e.w_size,lt(e.head),e.max_lazy_match=St[e.level].max_lazy,e.good_match=St[e.level].good_length,e.nice_match=St[e.level].nice_length,e.max_chain_length=St[e.level].max_chain,e.strstart=0,e.block_start=0,e.lookahead=0,e.insert=0,e.match_length=e.prev_length=We-1,e.match_available=0,e.ins_h=0};function Et(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=Ne,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new Uint16Array(2*qe),this.dyn_dtree=new Uint16Array(2*(2*He+1)),this.bl_tree=new Uint16Array(2*(2*Ze+1)),lt(this.dyn_ltree),lt(this.dyn_dtree),lt(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new Uint16Array(Ve+1),this.heap=new Uint16Array(2*ze+1),lt(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new Uint16Array(2*ze+1),lt(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}var Ot=function(e){if(!e||!e.state)return ut(e,Oe);e.total_in=e.total_out=0,e.data_type=De;var t=e.state;return t.pending=0,t.pending_out=0,t.wrap<0&&(t.wrap=-t.wrap),t.status=t.wrap?Ke:tt,e.adler=2===t.wrap?0:1,t.last_flush=_e,ge(t),ke},Ct=function(e){var t=Ot(e);return t===ke&&kt(e.state),t},Lt=function(e,t,n,r,i,o){if(!e)return Oe;var a=1;if(t===Ae&&(t=6),r<0?(a=0,r=-r):r>15&&(a=2,r-=16),i<1||i>Be||n!==Ne||r<8||r>15||t<0||t>9||o<0||o>Re)return ut(e,Oe);8===r&&(r=9);var s=new Et;return e.state=s,s.strm=e,s.wrap=a,s.gzhead=null,s.w_bits=r,s.w_size=1<<s.w_bits,s.w_mask=s.w_size-1,s.hash_bits=i+7,s.hash_size=1<<s.hash_bits,s.hash_mask=s.hash_size-1,s.hash_shift=~~((s.hash_bits+We-1)/We),s.window=new Uint8Array(2*s.w_size),s.head=new Uint16Array(s.hash_size),s.prev=new Uint16Array(s.w_size),s.lit_bufsize=1<<i+6,s.pending_buf_size=4*s.lit_bufsize,s.pending_buf=new Uint8Array(s.pending_buf_size),s.d_buf=1*s.lit_bufsize,s.l_buf=3*s.lit_bufsize,s.level=t,s.strategy=o,s.method=n,Ct(e)},At=function(e,t){var n=t.length;if(!e||!e.state)return Oe;var r=e.state,i=r.wrap;if(2===i||1===i&&r.status!==Ke||r.lookahead)return Oe;if(1===i&&(e.adler=le(e.adler,t,n,0)),r.wrap=0,n>=r.w_size){0===i&&(lt(r.head),r.strstart=0,r.block_start=0,r.insert=0);var o=new Uint8Array(r.w_size);o.set(t.subarray(n-r.w_size,n),0),t=o,n=r.w_size}var a=e.avail_in,s=e.next_in,u=e.input;for(e.avail_in=n,e.next_in=0,e.input=t,vt(r);r.lookahead>=We;){var c=r.strstart,l=r.lookahead-(We-1);do{r.ins_h=ft(r,r.ins_h,r.window[c+We-1]),r.prev[c&r.w_mask]=r.head[r.ins_h],r.head[r.ins_h]=c,c++}while(--l);r.strstart=c,r.lookahead=We-1,vt(r)}return r.strstart+=r.lookahead,r.block_start=r.strstart,r.insert=r.lookahead,r.lookahead=0,r.match_length=r.prev_length=We-1,r.match_available=0,e.next_in=s,e.input=u,e.avail_in=a,r.wrap=i,ke},It={deflateInit:function(e,t){return Lt(e,t,Ne,Ue,Fe,je)},deflateInit2:Lt,deflateReset:Ct,deflateResetKeep:Ot,deflateSetHeader:function(e,t){return e&&e.state?2!==e.state.wrap?Oe:(e.state.gzhead=t,ke):Oe},deflate:function(e,t){var n,r;if(!e||!e.state||t>Se||t<0)return e?ut(e,Oe):Oe;var i=e.state;if(!e.output||!e.input&&0!==e.avail_in||i.status===nt&&t!==xe)return ut(e,0===e.avail_out?Le:Oe);i.strm=e;var o=i.last_flush;if(i.last_flush=t,i.status===Ke)if(2===i.wrap)e.adler=0,ht(i,31),ht(i,139),ht(i,8),i.gzhead?(ht(i,(i.gzhead.text?1:0)+(i.gzhead.hcrc?2:0)+(i.gzhead.extra?4:0)+(i.gzhead.name?8:0)+(i.gzhead.comment?16:0)),ht(i,255&i.gzhead.time),ht(i,i.gzhead.time>>8&255),ht(i,i.gzhead.time>>16&255),ht(i,i.gzhead.time>>24&255),ht(i,9===i.level?2:i.strategy>=Pe||i.level<2?4:0),ht(i,255&i.gzhead.os),i.gzhead.extra&&i.gzhead.extra.length&&(ht(i,255&i.gzhead.extra.length),ht(i,i.gzhead.extra.length>>8&255)),i.gzhead.hcrc&&(e.adler=de(e.adler,i.pending_buf,i.pending,0)),i.gzindex=0,i.status=Xe):(ht(i,0),ht(i,0),ht(i,0),ht(i,0),ht(i,0),ht(i,9===i.level?2:i.strategy>=Pe||i.level<2?4:0),ht(i,st),i.status=tt);else{var a=Ne+(i.w_bits-8<<4)<<8;a|=(i.strategy>=Pe||i.level<2?0:i.level<6?1:6===i.level?2:3)<<6,0!==i.strstart&&(a|=Ye),a+=31-a%31,i.status=tt,gt(i,a),0!==i.strstart&&(gt(i,e.adler>>>16),gt(i,65535&e.adler)),e.adler=1}if(i.status===Xe)if(i.gzhead.extra){for(n=i.pending;i.gzindex<(65535&i.gzhead.extra.length)&&(i.pending!==i.pending_buf_size||(i.gzhead.hcrc&&i.pending>n&&(e.adler=de(e.adler,i.pending_buf,i.pending-n,n)),dt(e),n=i.pending,i.pending!==i.pending_buf_size));)ht(i,255&i.gzhead.extra[i.gzindex]),i.gzindex++;i.gzhead.hcrc&&i.pending>n&&(e.adler=de(e.adler,i.pending_buf,i.pending-n,n)),i.gzindex===i.gzhead.extra.length&&(i.gzindex=0,i.status=Qe)}else i.status=Qe;if(i.status===Qe)if(i.gzhead.name){n=i.pending;do{if(i.pending===i.pending_buf_size&&(i.gzhead.hcrc&&i.pending>n&&(e.adler=de(e.adler,i.pending_buf,i.pending-n,n)),dt(e),n=i.pending,i.pending===i.pending_buf_size)){r=1;break}r=i.gzindex<i.gzhead.name.length?255&i.gzhead.name.charCodeAt(i.gzindex++):0,ht(i,r)}while(0!==r);i.gzhead.hcrc&&i.pending>n&&(e.adler=de(e.adler,i.pending_buf,i.pending-n,n)),0===r&&(i.gzindex=0,i.status=Je)}else i.status=Je;if(i.status===Je)if(i.gzhead.comment){n=i.pending;do{if(i.pending===i.pending_buf_size&&(i.gzhead.hcrc&&i.pending>n&&(e.adler=de(e.adler,i.pending_buf,i.pending-n,n)),dt(e),n=i.pending,i.pending===i.pending_buf_size)){r=1;break}r=i.gzindex<i.gzhead.comment.length?255&i.gzhead.comment.charCodeAt(i.gzindex++):0,ht(i,r)}while(0!==r);i.gzhead.hcrc&&i.pending>n&&(e.adler=de(e.adler,i.pending_buf,i.pending-n,n)),0===r&&(i.status=et)}else i.status=et;if(i.status===et&&(i.gzhead.hcrc?(i.pending+2>i.pending_buf_size&&dt(e),i.pending+2<=i.pending_buf_size&&(ht(i,255&e.adler),ht(i,e.adler>>8&255),e.adler=0,i.status=tt)):i.status=tt),0!==i.pending){if(dt(e),0===e.avail_out)return i.last_flush=-1,ke}else if(0===e.avail_in&&ct(t)<=ct(o)&&t!==xe)return ut(e,Le);if(i.status===nt&&0!==e.avail_in)return ut(e,Le);if(0!==e.avail_in||0!==i.lookahead||t!==_e&&i.status!==nt){var s=i.strategy===Pe?Tt(i,t):i.strategy===Me?wt(i,t):St[i.level].func(i,t);if(s!==ot&&s!==at||(i.status=nt),s===rt||s===ot)return 0===e.avail_out&&(i.last_flush=-1),ke;if(s===it&&(t===we?be(i):t!==Se&&(me(i,0,0,!1),t===Te&&(lt(i.head),0===i.lookahead&&(i.strstart=0,i.block_start=0,i.insert=0))),dt(e),0===e.avail_out))return i.last_flush=-1,ke}return t!==xe?ke:i.wrap<=0?Ee:(2===i.wrap?(ht(i,255&e.adler),ht(i,e.adler>>8&255),ht(i,e.adler>>16&255),ht(i,e.adler>>24&255),ht(i,255&e.total_in),ht(i,e.total_in>>8&255),ht(i,e.total_in>>16&255),ht(i,e.total_in>>24&255)):(gt(i,e.adler>>>16),gt(i,65535&e.adler)),dt(e),i.wrap>0&&(i.wrap=-i.wrap),0!==i.pending?ke:Ee)},deflateEnd:function(e){if(!e||!e.state)return Oe;var t=e.state.status;return t!==Ke&&t!==Xe&&t!==Qe&&t!==Je&&t!==et&&t!==tt&&t!==nt?ut(e,Oe):(e.state=null,t===tt?ut(e,Ce):ke)},deflateSetDictionary:At,deflateInfo:"pako deflate (from Nodeca project)"};function Pt(e){return Pt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Pt(e)}var Mt=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},Rt=function(e){for(var t=Array.prototype.slice.call(arguments,1);t.length;){var n=t.shift();if(n){if("object"!==Pt(n))throw new TypeError(n+"must be non-object");for(var r in n)Mt(n,r)&&(e[r]=n[r])}}return e},jt={assign:Rt,flattenChunks:function(e){for(var t=0,n=0,r=e.length;n<r;n++)t+=e[n].length;for(var i=new Uint8Array(t),o=0,a=0,s=e.length;o<s;o++){var u=e[o];i.set(u,a),a+=u.length}return i}};try{String.fromCharCode.apply(null,new Uint8Array(1))}catch(e){!1}for(var Dt=new Uint8Array(256),Nt=0;Nt<256;Nt++)Dt[Nt]=Nt>=252?6:Nt>=248?5:Nt>=240?4:Nt>=224?3:Nt>=192?2:1;function Bt(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}Dt[254]=Dt[254]=1;var Ut=Bt,Ft=Object.prototype.toString,zt=he.Z_NO_FLUSH,Ht=he.Z_SYNC_FLUSH,Zt=he.Z_FULL_FLUSH,qt=he.Z_FINISH,Vt=he.Z_OK,Wt=he.Z_STREAM_END,Gt=he.Z_DEFAULT_COMPRESSION,$t=he.Z_DEFAULT_STRATEGY,Yt=he.Z_DEFLATED;function Kt(e){this.options=jt.assign({level:Gt,method:Yt,chunkSize:16384,windowBits:15,memLevel:8,strategy:$t},e||{});var t=this.options;t.raw&&t.windowBits>0?t.windowBits=-t.windowBits:t.gzip&&t.windowBits>0&&t.windowBits<16&&(t.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new Ut,this.strm.avail_out=0;var n=It.deflateInit2(this.strm,t.level,t.method,t.windowBits,t.memLevel,t.strategy);if(n!==Vt)throw new Error(pe[n]);if(t.header&&It.deflateSetHeader(this.strm,t.header),t.dictionary){var r;if(r="[object ArrayBuffer]"===Ft.call(t.dictionary)?new Uint8Array(t.dictionary):t.dictionary,(n=It.deflateSetDictionary(this.strm,r))!==Vt)throw new Error(pe[n]);this._dict_set=!0}}function Xt(e){if("function"==typeof TextEncoder&&TextEncoder.prototype.encode)return(new TextEncoder).encode(e);var t,n,r,i,o,a=e.length,s=0;for(i=0;i<a;i++)55296==(64512&(n=e.charCodeAt(i)))&&i+1<a&&56320==(64512&(r=e.charCodeAt(i+1)))&&(n=65536+(n-55296<<10)+(r-56320),i++),s+=n<128?1:n<2048?2:n<65536?3:4;for(t=new Uint8Array(s),o=0,i=0;o<s;i++)55296==(64512&(n=e.charCodeAt(i)))&&i+1<a&&56320==(64512&(r=e.charCodeAt(i+1)))&&(n=65536+(n-55296<<10)+(r-56320),i++),n<128?t[o++]=n:n<2048?(t[o++]=192|n>>>6,t[o++]=128|63&n):n<65536?(t[o++]=224|n>>>12,t[o++]=128|n>>>6&63,t[o++]=128|63&n):(t[o++]=240|n>>>18,t[o++]=128|n>>>12&63,t[o++]=128|n>>>6&63,t[o++]=128|63&n);return t}return Kt.prototype.push=function(e,t){var n,r,i=this.strm,o=this.options.chunkSize;if(this.ended)return!1;for(r=t===~~t?t:!0===t?qt:zt,"[object ArrayBuffer]"===Ft.call(e)?i.input=new Uint8Array(e):i.input=e,i.next_in=0,i.avail_in=i.input.length;;)if(0===i.avail_out&&(i.output=new Uint8Array(o),i.next_out=0,i.avail_out=o),(r===Ht||r===Zt)&&i.avail_out<=6)this.onData(i.output.subarray(0,i.next_out)),i.avail_out=0;else{if((n=It.deflate(i,r))===Wt)return i.next_out>0&&this.onData(i.output.subarray(0,i.next_out)),n=It.deflateEnd(this.strm),this.onEnd(n),this.ended=!0,n===Vt;if(0!==i.avail_out){if(r>0&&i.next_out>0)this.onData(i.output.subarray(0,i.next_out)),i.avail_out=0;else if(0===i.avail_in)break}else this.onData(i.output)}return!0},Kt.prototype.onData=function(e){this.chunks.push(e)},Kt.prototype.onEnd=function(e){e===Vt&&(this.result=jt.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg},{Deflate:Kt,constants:he,string2buf:Xt}}(),n=t.Deflate,r=t.constants,i=t.string2buf,o=new n,a=0;function s(e){var t=i(e);return o.push(t,r.Z_SYNC_FLUSH),a+=t.length,t.length}self.addEventListener("message",e((function(e){var t=e.data;switch(t.action){case"init":self.postMessage({type:"initialized"});break;case"write":var i=s(t.data);self.postMessage({type:"wrote",id:t.id,compressedSize:o.chunks.reduce((function(e,t){return e+t.length}),0),additionalRawSize:i});break;case"flush":i=t.data?s(t.data):0;o.push("",r.Z_FINISH),self.postMessage({type:"flushed",id:t.id,result:o.result,additionalRawSize:i,rawSize:a}),o=new n,a=0}})))}))()}var Ri={status:0};function ji(e,t){switch(void 0===t&&(t=Pi),Ri.status){case 0:Ri={status:1,callbacks:[e]},function(e){void 0===e&&(e=Pi);try{var t=e();t.addEventListener("error",ce(Di)),t.addEventListener("message",ce((function(e){var n,r=e.data;"errored"===r.type?Di(r.error):"initialized"===r.type&&(n=t,1===Ri.status&&(Ri.callbacks.forEach((function(e){return e(n)})),Ri={status:3,worker:n}))}))),t.postMessage({action:"init"})}catch(e){Di(e)}}(t);break;case 1:Ri.callbacks.push(e);break;case 2:e();break;case 3:e(Ri.worker)}}function Di(e){1===Ri.status?(o.error("Session Replay recording failed to start: an error occurred while creating the Worker:",e),e instanceof Event||e instanceof Error&&k(e.message,"Content Security Policy")?o.error("Please make sure CSP is correctly configured https://docs.datadoghq.com/real_user_monitoring/faq/content_security_policy"):de(e),Ri.callbacks.forEach((function(e){return e()})),Ri={status:2}):de(e)}var Ni=function(e,t){if(void 0===t&&(t=ji),Q())return{start:T,stop:T,getReplayStats:function(){},onRumStart:T,isRecording:function(){return!1}};var n={status:0},r=function(){n={status:1}},i=function(){n={status:0}};return{start:function(){return r()},stop:function(){return i()},getReplayStats:ki,onRumStart:function(o,a,s,u){o.subscribe(Je.SESSION_EXPIRED,(function(){2!==n.status&&3!==n.status||(i(),n={status:1})})),o.subscribe(Je.SESSION_RENEWED,(function(){1===n.status&&r()})),r=function(){var r=s.findTrackedSession();r&&r.hasReplayPlan?2!==n.status&&3!==n.status&&(n={status:2},N("interactive",(function(){2===n.status&&t((function(t){if(2===n.status)if(t){var r=e(o,a,s,u,t).stop;n={status:3,stopRecording:r}}else n={status:0}}))}))):n={status:1}},i=function(){0!==n.status&&(3===n.status&&n.stopRecording(),n={status:0})},1===n.status&&r()},isRecording:function(){return 3===n.status}}}((function(e,t,n,r,i){var o=Ii(e,t.applicationId,n,r,(function(e,n,r,i){return _i(t.sessionReplayEndpointBuilder,e,n,r,i)}),i),a=o.addRecord,s=o.stop;function u(e){a(hr(hr({},e),{timestamp:Date.now()}))}var c=function(e){var t=e.emit;if(!t)throw new Error("emit function is required");var n=new ui,r=function(){n.flush(),t({data:{height:pi(),href:window.location.href,width:di()},type:yr}),t({data:{has_focus:document.hasFocus()},type:vr}),t({data:{node:Xr(document,e.defaultPrivacyLevel),initialOffset:{left:hi(),top:gi()}},type:gr}),window.visualViewport&&t({data:fi(),type:_r})};return r(),{stop:mi({mutationController:n,defaultPrivacyLevel:e.defaultPrivacyLevel,inputCb:function(e){return t({data:hr({source:Ir.Input},e),type:mr})},mediaInteractionCb:function(e){return t({data:hr({source:Ir.MediaInteraction},e),type:mr})},mouseInteractionCb:function(e){return t({data:hr({source:Ir.MouseInteraction},e),type:mr})},mousemoveCb:function(e,n){return t({data:{positions:e,source:n},type:mr})},mutationCb:function(e){return t({data:hr({source:Ir.Mutation},e),type:mr})},scrollCb:function(e){return t({data:hr({source:Ir.Scroll},e),type:mr})},styleSheetRuleCb:function(e){return t({data:hr({source:Ir.StyleSheetRule},e),type:mr})},viewportResizeCb:function(e){return t({data:hr({source:Ir.ViewportResize},e),type:mr})},focusCb:function(e){return t({type:vr,data:e})},visualViewportResizeCb:function(e){t({data:e,type:_r})}}),takeFullSnapshot:r,flushMutations:function(){return n.flush()}}}({emit:u,defaultPrivacyLevel:t.defaultPrivacyLevel}),l=c.stop,f=c.takeFullSnapshot,d=c.flushMutations,p=e.subscribe(Je.VIEW_ENDED,(function(){d(),u({type:br})})).unsubscribe,h=e.subscribe(Je.VIEW_CREATED,f).unsubscribe;return{stop:function(){p(),h(),l(),s()}}})),Bi=function(e,t,n){var i,a=(void 0===n?{}:n).ignoreInitIfSyntheticsWillInjectRum,s=void 0===a||a,u=!1,c=(i={},{get:function(){return i},add:function(e,t){i[e]=t},remove:function(e){delete i[e]},set:function(e){i=e}}),l={},f=function(){},d=function(){},p=new be,h=function(e,t){void 0===t&&(t=xe()),p.add((function(){return h(e,t)}))},g=function(e,t){void 0===t&&(t=ke()),p.add((function(){return g(e,t)}))},y=function(e,t){void 0===t&&(t=_()),p.add((function(){return y(e,t)}))},v=function(e,t){void 0===t&&(t=_()),p.add((function(){return v(e,t)}))};function _(){return F({context:c.get(),user:l})}function w(n,r,i){var o=e(n,r,(function(){return{user:l,context:c.get(),hasReplay:!!t.isRecording()||void 0}}),t,i);g=o.startView,y=o.addAction,v=o.addError,h=o.addTiming,f=o.getInternalContext,p.drain(),t.onRumStart(o.lifeCycle,n,o.session,o.parentContexts)}var T=function(e,t){var n=r(r({},t),{version:e.sdkVersion,onReady:function(e){e()}});return Object.defineProperty(n,"_setDebug",{get:function(){return he},enumerable:!1}),n}(Qe,{init:ce((function(e){if(!s||!Xe()){if(Q())e=function(e){return ye(ye({},e),{applicationId:"00000000-aaaa-0000-aaaa-000000000000",clientToken:"empty",sampleRate:100})}(e);else if(!function(e){if(!function(e){if(void 0===document.cookie||null===document.cookie)return!1;try{var t="dd_cookie_test_"+b(),n="test";Pe(t,n,m,e);var r=Me(t)===n;return Re(t,e),r}catch(e){return o.error(e),!1}}(Ke(e)))return o.warn("Cookies are not authorized, we will not send any data."),!1;if("file:"===window.location.protocol)return o.error("Execution is not allowed in the current context."),!1;return!0}(e))return;if(function(e){if(u)return e.silentMultipleInit||o.error("DD_RUM is already initialized."),!1;return!0}(e)){var t=function(e){var t,n;if(e.applicationId)if(void 0===e.replaySampleRate||O(e.replaySampleRate)){if(void 0!==e.allowedTracingOrigins){if(!Array.isArray(e.allowedTracingOrigins))return void o.error("Allowed Tracing Origins should be an array");if(0!==e.allowedTracingOrigins.length&&void 0===e.service)return void o.error("Service need to be configured when tracing is enabled")}var r,i,a=Ye(e,Qe);if(a)return ye(ye({},a),{applicationId:e.applicationId,actionNameAttribute:e.actionNameAttribute,replaySampleRate:null!==(t=e.replaySampleRate)&&void 0!==t?t:100,allowedTracingOrigins:null!==(n=e.allowedTracingOrigins)&&void 0!==n?n:[],trackInteractions:!!e.trackInteractions,trackViewsManually:!!e.trackViewsManually,defaultPrivacyLevel:(r=$e,i=e.defaultPrivacyLevel,Object.keys(r).some((function(e){return r[e]===i}))?e.defaultPrivacyLevel:$e.MASK_USER_INPUT)})}else o.error("Replay Sample Rate should be a number between 0 and 100");else o.error("Application ID is not configured, no RUM data will be collected.")}(e);if(t){var n=ue(t);if(t.trackViewsManually){var r=p;p=new be,g=function(e){w(t,n,e)},r.drain()}else w(t,n);d=function(){return F(e)},u=!0}}}})),addRumGlobalContext:ce(c.add),removeRumGlobalContext:ce(c.remove),getRumGlobalContext:ce(c.get),setRumGlobalContext:ce(c.set),getInternalContext:ce((function(e){return f(e)})),getInitConfiguration:ce((function(){return d()})),addAction:ce((function(e,t){y({name:e,context:F(t),startClocks:ke(),type:Ge.CUSTOM})})),addError:function(e,t){var n=K();le((function(){v({error:e,handlingStack:n,context:F(t),startClocks:ke()})}))},addTiming:ce((function(e,t){h(e,t)})),setUser:ce((function(e){var t=function(e){if("object"!=typeof e||!e)return;var t=F(e);"id"in t&&(t.id=String(t.id));"name"in t&&(t.name=String(t.name));"email"in t&&(t.email=String(t.email));return t}(e);t?l=t:o.error("Unsupported user:",e)})),removeUser:ce((function(){l={}})),startView:ce((function(e){g(e)})),startSessionReplayRecording:ce(t.start),stopSessionReplayRecording:ce(t.stop)});return T}((function(e,t,n,r,i){var o=new rt,a=Q()?function(){var e={id:"00000000-aaaa-0000-aaaa-000000000000",hasReplayPlan:!0,hasLitePlan:!1};return{findTrackedSession:function(){return e}}}():Yt(e,o),s=function(){var e=nt(),t=new et((function(){if(e){var n=new e(ce((function(){return t.notify()})));return n.observe(document,{attributes:!0,characterData:!0,childList:!0,subtree:!0}),function(){return n.disconnect()}}}));return t}(),u=pr(location);t.setExternalContextProvider((function(){var t;return z({application_id:e.applicationId,session:{id:null===(t=a.findTrackedSession())||void 0===t?void 0:t.id}},l.findView(),{view:{name:null}})}));var c=function(e,t,n,r,i,o){var a,s=function(e){var t=new Ot(144e5),n=new Ot(3e5);function r(e){return{view:{id:e.id,name:e.name}}}return e.subscribe(Je.VIEW_CREATED,(function(e){t.setCurrent(r(e),e.startClocks.relative)})),e.subscribe(Je.VIEW_UPDATED,(function(e){var n=t.getCurrent();n&&n.view.id===e.id&&t.setCurrent(r(e),e.startClocks.relative)})),e.subscribe(Je.VIEW_ENDED,(function(e){var n=e.endClocks;t.closeCurrent(n.relative)})),e.subscribe(Je.AUTO_ACTION_CREATED,(function(e){n.setCurrent(function(e){return{action:{id:e.id}}}(e),e.startClocks.relative)})),e.subscribe(Je.AUTO_ACTION_COMPLETED,(function(e){if(n.getCurrent()){var t=e.startClocks.relative+e.duration;n.closeCurrent(t)}})),e.subscribe(Je.AUTO_ACTION_DISCARDED,(function(){n.clearCurrent()})),e.subscribe(Je.SESSION_RENEWED,(function(){t.reset(),n.reset()})),{findAction:function(e){return n.find(e)},findView:function(e){return t.find(e)},stop:function(){t.stop(),n.stop()}}}(e),u=function(e,t,n){var r,i=new Ot(144e5);e.subscribe(Je.VIEW_ENDED,(function(e){var t=e.endClocks;i.closeCurrent(t.relative)})),e.subscribe(Je.VIEW_CREATED,(function(e){var t=e.startClocks,o=n.href;i.setCurrent(a({url:o,referrer:r||document.referrer}),t.relative),r=o}));var o=t.subscribe((function(e){var t=e.newLocation,n=i.getCurrent();if(n){var r=Se();i.closeCurrent(r),i.setCurrent(a({url:t.href,referrer:n.view.referrer}),r)}}));function a(e){return{view:{url:e.url,referrer:e.referrer}}}return{findUrl:function(e){return i.find(e)},stop:function(){o.unsubscribe(),i.stop()}}}(e,i,n),c=tn();Q()?function(e){var t=X();e.subscribe(Je.RUM_EVENT_COLLECTED,(function(e){t.send("rum",e)}))}(e):a=dr(t,e).stop;return Jt(t,e,r,s,u,o),{parentContexts:s,foregroundContexts:c,urlContexts:u,stop:function(){null==a||a(),s.stop(),c.stop()}}}(o,e,location,a,u,n),l=c.parentContexts,f=c.foregroundContexts,d=c.urlContexts;!function(e,t){e.subscribe(Je.PERFORMANCE_ENTRIES_COLLECTED,(function(n){for(var r=0,i=n;r<i.length;r++){var o=i[r];if("longtask"!==o.entryType)break;var a=t.findTrackedSession(o.startTime);if(!a||a.hasLitePlan)break;var s=_e(o.startTime),u={date:s.timeStamp,long_task:{id:b(),duration:Te(o.duration)},type:Ve.LONG_TASK};e.notify(Je.RAW_RUM_EVENT_COLLECTED,{rawRumEvent:u,startTime:s.relative,domainContext:{performanceEntry:o.toJSON()}})}}))}(o,a),Jn(o);var p=lr(o,e,location,s,u,f,r,i),h=p.addTiming,g=p.startView,m=Kn(o,f).addError,y=function(e,t,n,r){return e.subscribe(Je.AUTO_ACTION_COMPLETED,(function(t){return e.notify(Je.RAW_RUM_EVENT_COLLECTED,Fn(t,r))})),n.trackInteractions&&Bn(e,t,n),{addAction:function(t,n){e.notify(Je.RAW_RUM_EVENT_COLLECTED,ye({savedCommonContext:n},Fn(t,r)))}}}(o,s,e,f).addAction;Sn(o,e,a),_t(o,e);var v=function(e,t,n,r){return{get:function(i){var o=n.findView(i),a=r.findUrl(i),s=t.findTrackedSession(i);if(s&&o&&a){var u=n.findAction(i);return{application_id:e,session_id:s.id,user_action:u?{id:u.action.id}:void 0,view:ye(ye({},o.view),a.view)}}}}}(e.applicationId,a,l,d);return{addAction:y,addError:m,addTiming:h,startView:g,lifeCycle:o,parentContexts:l,session:a,getInternalContext:v.get}}),Ni);!function(e,t,n){var r=e[t];e[t]=n,r&&r.q&&r.q.forEach((function(e){return me(e,"onReady callback threw an error:")()}))}(P(),"DD_RUM",Bi)},89097:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isUnicodeLanguageSubtag=t.isUnicodeScriptSubtag=t.isUnicodeRegionSubtag=t.isStructurallyValidLanguageTag=t.parseUnicodeLanguageId=t.parseUnicodeLocaleId=t.getCanonicalLocales=void 0;var r=n(28197),i=n(33016),o=n(60825),a=n(69391);t.getCanonicalLocales=function(e){return function(e){if(void 0===e)return[];var t=[];"string"==typeof e&&(e=[e]);for(var n=0,r=e;n<r.length;n++){var s=r[n],u=o.emitUnicodeLocaleId(a.canonicalizeUnicodeLocaleId(i.parseUnicodeLocaleId(s)));t.indexOf(u)<0&&t.push(u)}return t}(e)};var s=n(33016);Object.defineProperty(t,"parseUnicodeLocaleId",{enumerable:!0,get:function(){return s.parseUnicodeLocaleId}}),Object.defineProperty(t,"parseUnicodeLanguageId",{enumerable:!0,get:function(){return s.parseUnicodeLanguageId}}),Object.defineProperty(t,"isStructurallyValidLanguageTag",{enumerable:!0,get:function(){return s.isStructurallyValidLanguageTag}}),Object.defineProperty(t,"isUnicodeRegionSubtag",{enumerable:!0,get:function(){return s.isUnicodeRegionSubtag}}),Object.defineProperty(t,"isUnicodeScriptSubtag",{enumerable:!0,get:function(){return s.isUnicodeScriptSubtag}}),Object.defineProperty(t,"isUnicodeLanguageSubtag",{enumerable:!0,get:function(){return s.isUnicodeLanguageSubtag}}),r.__exportStar(n(539),t),r.__exportStar(n(60825),t)},28197:function(e,t,n){"use strict";n.r(t),n.d(t,{__assign:function(){return o},__asyncDelegator:function(){return w},__asyncGenerator:function(){return _},__asyncValues:function(){return T},__await:function(){return b},__awaiter:function(){return l},__classPrivateFieldGet:function(){return O},__classPrivateFieldSet:function(){return C},__createBinding:function(){return d},__decorate:function(){return s},__exportStar:function(){return p},__extends:function(){return i},__generator:function(){return f},__importDefault:function(){return E},__importStar:function(){return k},__makeTemplateObject:function(){return x},__metadata:function(){return c},__param:function(){return u},__read:function(){return g},__rest:function(){return a},__spread:function(){return m},__spreadArray:function(){return v},__spreadArrays:function(){return y},__values:function(){return h}});var r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)};function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var o=function(){return o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},o.apply(this,arguments)};function a(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n}function s(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a}function u(e,t){return function(n,r){t(n,r,e)}}function c(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}function l(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{u(r.next(e))}catch(e){o(e)}}function s(e){try{u(r.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}u((r=r.apply(e,t||[])).next())}))}function f(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(i=a.trys,(i=i.length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}}var d=Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]};function p(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||d(t,e,n)}function h(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function g(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)a.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a}function m(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(g(arguments[t]));return e}function y(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var r=Array(e),i=0;for(t=0;t<n;t++)for(var o=arguments[t],a=0,s=o.length;a<s;a++,i++)r[i]=o[a];return r}function v(e,t){for(var n=0,r=t.length,i=e.length;n<r;n++,i++)e[i]=t[n];return e}function b(e){return this instanceof b?(this.v=e,this):new b(e)}function _(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,i=n.apply(e,t||[]),o=[];return r={},a("next"),a("throw"),a("return"),r[Symbol.asyncIterator]=function(){return this},r;function a(e){i[e]&&(r[e]=function(t){return new Promise((function(n,r){o.push([e,t,n,r])>1||s(e,t)}))})}function s(e,t){try{(n=i[e](t)).value instanceof b?Promise.resolve(n.value.v).then(u,c):l(o[0][2],n)}catch(e){l(o[0][3],e)}var n}function u(e){s("next",e)}function c(e){s("throw",e)}function l(e,t){e(t),o.shift(),o.length&&s(o[0][0],o[0][1])}}function w(e){var t,n;return t={},r("next"),r("throw",(function(e){throw e})),r("return"),t[Symbol.iterator]=function(){return this},t;function r(r,i){t[r]=e[r]?function(t){return(n=!n)?{value:b(e[r](t)),done:"return"===r}:i?i(t):t}:i}}function T(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=h(e),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(n){t[n]=e[n]&&function(t){return new Promise((function(r,i){(function(e,t,n,r){Promise.resolve(r).then((function(t){e({value:t,done:n})}),t)})(r,i,(t=e[n](t)).done,t.value)}))}}}function x(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}var S=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t};function k(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&d(t,e,n);return S(t,e),t}function E(e){return e&&e.__esModule?e:{default:e}}function O(e,t,n,r){if("a"===n&&!r)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!r:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===n?r:"a"===n?r.call(e):r?r.value:t.get(e)}function C(e,t,n,r,i){if("m"===r)throw new TypeError("Private method is not writable");if("a"===r&&!i)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!i:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===r?i.call(e,n):i?i.value=n:t.set(e,n),n}},71692:function(e,t,n){"use strict";var r=n(89097),i=n(65010);"undefined"==typeof Intl&&("undefined"!=typeof window?Object.defineProperty(window,"Intl",{value:{}}):void 0!==n.g&&Object.defineProperty(n.g,"Intl",{value:{}})),i.shouldPolyfill()&&Object.defineProperty(Intl,"getCanonicalLocales",{value:r.getCanonicalLocales,writable:!0,enumerable:!1,configurable:!0})},65010:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.shouldPolyfill=void 0,t.shouldPolyfill=function(){return"undefined"==typeof Intl||!("getCanonicalLocales"in Intl)||"x-private"===Intl.getCanonicalLocales("und-x-private")[0]}},69391:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.canonicalizeUnicodeLocaleId=t.canonicalizeUnicodeLanguageId=void 0;var r=n(28197),i=n(89713),o=n(33016),a=r.__importStar(n(2228)),s=n(60825);function u(e){for(var t={},n=[],r=0,i=e;r<i.length;r++){var o=i[r];o[0]in t||(t[o[0]]=1,o[1]&&"true"!==o[1]?n.push([o[0].toLowerCase(),o[1].toLowerCase()]):n.push([o[0].toLowerCase()]))}return n.sort(c)}function c(e,t){return e[0]<t[0]?-1:e[0]>t[0]?1:0}function l(e,t){return e.type<t.type?-1:e.type>t.type?1:0}function f(e,t){for(var n=r.__spreadArray([],e),i=0,o=t;i<o.length;i++){var a=o[i];e.indexOf(a)<0&&n.push(a)}return n}function d(e){var t=e;if(e.variants.length)for(var n="",r=0,u=e.variants;r<u.length;r++){var c=u[r];if(n=i.languageAlias[s.emitUnicodeLanguageId({lang:e.lang,variants:[c]})]){t={lang:(p=o.parseUnicodeLanguageId(n.split(o.SEPARATOR))).lang,script:t.script||p.script,region:t.region||p.region,variants:f(t.variants,p.variants)};break}}if(t.script&&t.region){var l=i.languageAlias[s.emitUnicodeLanguageId({lang:t.lang,script:t.script,region:t.region,variants:[]})];if(l)t={lang:(p=o.parseUnicodeLanguageId(l.split(o.SEPARATOR))).lang,script:p.script,region:p.region,variants:t.variants}}if(t.region){var d=i.languageAlias[s.emitUnicodeLanguageId({lang:t.lang,region:t.region,variants:[]})];if(d)t={lang:(p=o.parseUnicodeLanguageId(d.split(o.SEPARATOR))).lang,script:t.script||p.script,region:p.region,variants:t.variants}}var p,h=i.languageAlias[s.emitUnicodeLanguageId({lang:t.lang,variants:[]})];h&&(t={lang:(p=o.parseUnicodeLanguageId(h.split(o.SEPARATOR))).lang,script:t.script||p.script,region:t.region||p.region,variants:t.variants});if(t.region){var g=t.region.toUpperCase(),m=i.territoryAlias[g],y=void 0;if(m){var v=m.split(" ");y=v[0];var b=a.supplemental.likelySubtags[s.emitUnicodeLanguageId({lang:t.lang,script:t.script,variants:[]})];if(b){var _=o.parseUnicodeLanguageId(b.split(o.SEPARATOR)).region;_&&v.indexOf(_)>-1&&(y=_)}}y&&(t.region=y),t.region=t.region.toUpperCase()}if(t.script&&(t.script=t.script[0].toUpperCase()+t.script.slice(1).toLowerCase(),i.scriptAlias[t.script]&&(t.script=i.scriptAlias[t.script])),t.variants.length){for(var w=0;w<t.variants.length;w++){c=t.variants[w].toLowerCase();if(i.variantAlias[c]){var T=i.variantAlias[c];o.isUnicodeVariantSubtag(T)?t.variants[w]=T:o.isUnicodeLanguageSubtag(T)&&(t.lang=T)}}t.variants.sort()}return t}t.canonicalizeUnicodeLanguageId=d,t.canonicalizeUnicodeLocaleId=function(e){if(e.lang=d(e.lang),e.extensions){for(var t=0,n=e.extensions;t<n.length;t++){var r=n[t];switch(r.type){case"u":r.keywords=u(r.keywords),r.attributes&&(r.attributes=(i=r.attributes,Object.keys(i.reduce((function(e,t){return e[t.toLowerCase()]=1,e}),{})).sort()));break;case"t":r.lang&&(r.lang=d(r.lang)),r.fields=u(r.fields);break;default:r.value=r.value.toLowerCase()}}e.extensions.sort(l)}var i;return e}},89713:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.variantAlias=t.scriptAlias=t.territoryAlias=t.languageAlias=void 0,t.languageAlias={"aa-saaho":"ssy",aam:"aas",aar:"aa",abk:"ab",adp:"dz",afr:"af",agp:"apf",ais:"ami",aju:"jrb",aka:"ak",alb:"sq",als:"sq",amh:"am",ara:"ar",arb:"ar",arg:"an",arm:"hy","art-lojban":"jbo",asd:"snz",asm:"as",aue:"ktz",ava:"av",ave:"ae",aym:"ay",ayr:"ay",ayx:"nun",aze:"az",azj:"az",bak:"ba",bam:"bm",baq:"eu",baz:"nvo",bcc:"bal",bcl:"bik",bel:"be",ben:"bn",bgm:"bcg",bh:"bho",bhk:"fbl",bih:"bho",bis:"bi",bjd:"drl",bjq:"bzc",bkb:"ebk",bod:"bo",bos:"bs",bre:"br",btb:"beb",bul:"bg",bur:"my",bxk:"luy",bxr:"bua",cat:"ca",ccq:"rki","cel-gaulish":"xtg",ces:"cs",cha:"ch",che:"ce",chi:"zh",chu:"cu",chv:"cv",cjr:"mom",cka:"cmr",cld:"syr",cmk:"xch",cmn:"zh",cnr:"sr-ME",cor:"kw",cos:"co",coy:"pij",cqu:"quh",cre:"cr",cwd:"cr",cym:"cy",cze:"cs",daf:"dnj",dan:"da",dap:"njz",deu:"de",dgo:"doi",dhd:"mwr",dik:"din",diq:"zza",dit:"dif",div:"dv",djl:"dze",dkl:"aqd",drh:"mn",drr:"kzk",drw:"fa-AF",dud:"uth",duj:"dwu",dut:"nl",dwl:"dbt",dzo:"dz",ekk:"et",ell:"el",elp:"amq",emk:"man","en-GB-oed":"en-GB-oxendict",eng:"en",epo:"eo",esk:"ik",est:"et",eus:"eu",ewe:"ee",fao:"fo",fas:"fa",fat:"ak",fij:"fj",fin:"fi",fra:"fr",fre:"fr",fry:"fy",fuc:"ff",ful:"ff",gav:"dev",gaz:"om",gbc:"wny",gbo:"grb",geo:"ka",ger:"de",gfx:"vaj",ggn:"gvr",ggo:"esg",ggr:"gtu",gio:"aou",gla:"gd",gle:"ga",glg:"gl",gli:"kzk",glv:"gv",gno:"gon",gre:"el",grn:"gn",gti:"nyc",gug:"gn",guj:"gu",guv:"duz",gya:"gba",hat:"ht",hau:"ha",hbs:"sr-Latn",hdn:"hai",hea:"hmn",heb:"he",her:"hz",him:"srx",hin:"hi",hmo:"ho",hrr:"jal",hrv:"hr",hun:"hu","hy-arevmda":"hyw",hye:"hy","i-ami":"ami","i-bnn":"bnn","i-default":"en-x-i-default","i-enochian":"und-x-i-enochian","i-hak":"hak","i-klingon":"tlh","i-lux":"lb","i-mingo":"see-x-i-mingo","i-navajo":"nv","i-pwn":"pwn","i-tao":"tao","i-tay":"tay","i-tsu":"tsu",ibi:"opa",ibo:"ig",ice:"is",ido:"io",iii:"ii",ike:"iu",iku:"iu",ile:"ie",ill:"ilm",ilw:"gal",in:"id",ina:"ia",ind:"id",ipk:"ik",isl:"is",ita:"it",iw:"he",izi:"eza",jar:"jgk",jav:"jv",jeg:"oyb",ji:"yi",jpn:"ja",jw:"jv",kal:"kl",kan:"kn",kas:"ks",kat:"ka",kau:"kr",kaz:"kk",kdv:"zkd",kgc:"tdf",kgd:"ncq",kgh:"kml",khk:"mn",khm:"km",kik:"ki",kin:"rw",kir:"ky",kmr:"ku",knc:"kr",kng:"kg",knn:"kok",koj:"kwv",kom:"kv",kon:"kg",kor:"ko",kpp:"jkm",kpv:"kv",krm:"bmf",ktr:"dtp",kua:"kj",kur:"ku",kvs:"gdj",kwq:"yam",kxe:"tvd",kxl:"kru",kzh:"dgl",kzj:"dtp",kzt:"dtp",lao:"lo",lat:"la",lav:"lv",lbk:"bnc",leg:"enl",lii:"raq",lim:"li",lin:"ln",lit:"lt",llo:"ngt",lmm:"rmx",ltz:"lb",lub:"lu",lug:"lg",lvs:"lv",mac:"mk",mah:"mh",mal:"ml",mao:"mi",mar:"mr",may:"ms",meg:"cir",mgx:"jbk",mhr:"chm",mkd:"mk",mlg:"mg",mlt:"mt",mnk:"man",mnt:"wnn",mo:"ro",mof:"xnt",mol:"ro",mon:"mn",mri:"mi",msa:"ms",mst:"mry",mup:"raj",mwd:"dmw",mwj:"vaj",mya:"my",myd:"aog",myt:"mry",nad:"xny",nau:"na",nav:"nv",nbf:"nru",nbl:"nr",nbx:"ekc",ncp:"kdz",nde:"nd",ndo:"ng",nep:"ne",nld:"nl",nln:"azd",nlr:"nrk",nno:"nn",nns:"nbr",nnx:"ngv",no:"nb","no-bok":"nb","no-bokmal":"nb","no-nyn":"nn","no-nynorsk":"nn",nob:"nb",noo:"dtd",nor:"nb",npi:"ne",nts:"pij",nxu:"bpp",nya:"ny",oci:"oc",ojg:"oj",oji:"oj",ori:"or",orm:"om",ory:"or",oss:"os",oun:"vaj",pan:"pa",pbu:"ps",pcr:"adx",per:"fa",pes:"fa",pli:"pi",plt:"mg",pmc:"huw",pmu:"phr",pnb:"lah",pol:"pl",por:"pt",ppa:"bfy",ppr:"lcq",prs:"fa-AF",pry:"prt",pus:"ps",puz:"pub",que:"qu",quz:"qu",rmr:"emx",rmy:"rom",roh:"rm",ron:"ro",rum:"ro",run:"rn",rus:"ru",sag:"sg",san:"sa",sap:"aqt",sca:"hle",scc:"sr",scr:"hr",sgl:"isk","sgn-BE-FR":"sfb","sgn-BE-NL":"vgt","sgn-BR":"bzs","sgn-CH-DE":"sgg","sgn-CO":"csn","sgn-DE":"gsg","sgn-DK":"dsl","sgn-ES":"ssp","sgn-FR":"fsl","sgn-GB":"bfi","sgn-GR":"gss","sgn-IE":"isg","sgn-IT":"ise","sgn-JP":"jsl","sgn-MX":"mfs","sgn-NI":"ncs","sgn-NL":"dse","sgn-NO":"nsi","sgn-PT":"psr","sgn-SE":"swl","sgn-US":"ase","sgn-ZA":"sfs",sh:"sr-Latn",sin:"si",skk:"oyb",slk:"sk",slo:"sk",slv:"sl",sme:"se",smo:"sm",sna:"sn",snd:"sd",som:"so",sot:"st",spa:"es",spy:"kln",sqi:"sq",src:"sc",srd:"sc",srp:"sr",ssw:"ss",sul:"sgd",sum:"ulw",sun:"su",swa:"sw",swc:"sw-CD",swe:"sv",swh:"sw",tah:"ty",tam:"ta",tat:"tt",tdu:"dtp",tel:"te",tgg:"bjp",tgk:"tg",tgl:"fil",tha:"th",thc:"tpo",thw:"ola",thx:"oyb",tib:"bo",tid:"itd",tie:"ras",tir:"ti",tkk:"twm",tl:"fil",tlw:"weo",tmp:"tyj",tne:"kak",tnf:"fa-AF",ton:"to",tsf:"taj",tsn:"tn",tso:"ts",ttq:"tmh",tuk:"tk",tur:"tr",tw:"ak",twi:"ak",uig:"ug",ukr:"uk",umu:"del","und-aaland":"und-AX","und-arevela":"und","und-arevmda":"und","und-bokmal":"und","und-hakka":"und","und-hepburn-heploc":"und-alalc97","und-lojban":"und","und-nynorsk":"und","und-saaho":"und","und-xiang":"und",unp:"wro",uok:"ema",urd:"ur",uzb:"uz",uzn:"uz",ven:"ve",vie:"vi",vol:"vo",wel:"cy",wgw:"wgb",wit:"nol",wiw:"nwo",wln:"wa",wol:"wo",xba:"cax",xho:"xh",xia:"acn",xkh:"waw",xpe:"kpe",xrq:"dmw",xsj:"suj",xsl:"den",ybd:"rki",ydd:"yi",yen:"ynq",yid:"yi",yiy:"yrm",yma:"lrr",ymt:"mtm",yor:"yo",yos:"zom",yuu:"yug",zai:"zap","zh-cmn":"zh","zh-cmn-Hans":"zh-Hans","zh-cmn-Hant":"zh-Hant","zh-gan":"gan","zh-guoyu":"zh","zh-hakka":"hak","zh-min":"nan-x-zh-min","zh-min-nan":"nan","zh-wuu":"wuu","zh-xiang":"hsn","zh-yue":"yue",zha:"za",zho:"zh",zir:"scv",zsm:"ms",zul:"zu",zyb:"za"},t.territoryAlias={100:"BG",104:"MM",108:"BI",112:"BY",116:"KH",120:"CM",124:"CA",132:"CV",136:"KY",140:"CF",144:"LK",148:"TD",152:"CL",156:"CN",158:"TW",162:"CX",166:"CC",170:"CO",172:"RU AM AZ BY GE KG KZ MD TJ TM UA UZ",174:"KM",175:"YT",178:"CG",180:"CD",184:"CK",188:"CR",191:"HR",192:"CU",196:"CY",200:"CZ SK",203:"CZ",204:"BJ",208:"DK",212:"DM",214:"DO",218:"EC",222:"SV",226:"GQ",230:"ET",231:"ET",232:"ER",233:"EE",234:"FO",238:"FK",239:"GS",242:"FJ",246:"FI",248:"AX",249:"FR",250:"FR",254:"GF",258:"PF",260:"TF",262:"DJ",266:"GA",268:"GE",270:"GM",275:"PS",276:"DE",278:"DE",280:"DE",288:"GH",292:"GI",296:"KI",300:"GR",304:"GL",308:"GD",312:"GP",316:"GU",320:"GT",324:"GN",328:"GY",332:"HT",334:"HM",336:"VA",340:"HN",344:"HK",348:"HU",352:"IS",356:"IN",360:"ID",364:"IR",368:"IQ",372:"IE",376:"IL",380:"IT",384:"CI",388:"JM",392:"JP",398:"KZ",400:"JO",404:"KE",408:"KP",410:"KR",414:"KW",417:"KG",418:"LA",422:"LB",426:"LS",428:"LV",430:"LR",434:"LY",438:"LI",440:"LT",442:"LU",446:"MO",450:"MG",454:"MW",458:"MY",462:"MV",466:"ML",470:"MT",474:"MQ",478:"MR",480:"MU",484:"MX",492:"MC",496:"MN",498:"MD",499:"ME",500:"MS",504:"MA",508:"MZ",512:"OM",516:"NA",520:"NR",524:"NP",528:"NL",530:"CW SX BQ",531:"CW",532:"CW SX BQ",533:"AW",534:"SX",535:"BQ",536:"SA IQ",540:"NC",548:"VU",554:"NZ",558:"NI",562:"NE",566:"NG",570:"NU",574:"NF",578:"NO",580:"MP",581:"UM",582:"FM MH MP PW",583:"FM",584:"MH",585:"PW",586:"PK",591:"PA",598:"PG",600:"PY",604:"PE",608:"PH",612:"PN",616:"PL",620:"PT",624:"GW",626:"TL",630:"PR",634:"QA",638:"RE",642:"RO",643:"RU",646:"RW",652:"BL",654:"SH",659:"KN",660:"AI",662:"LC",663:"MF",666:"PM",670:"VC",674:"SM",678:"ST",682:"SA",686:"SN",688:"RS",690:"SC",694:"SL",702:"SG",703:"SK",704:"VN",705:"SI",706:"SO",710:"ZA",716:"ZW",720:"YE",724:"ES",728:"SS",729:"SD",732:"EH",736:"SD",740:"SR",744:"SJ",748:"SZ",752:"SE",756:"CH",760:"SY",762:"TJ",764:"TH",768:"TG",772:"TK",776:"TO",780:"TT",784:"AE",788:"TN",792:"TR",795:"TM",796:"TC",798:"TV",800:"UG",804:"UA",807:"MK",810:"RU AM AZ BY EE GE KZ KG LV LT MD TJ TM UA UZ",818:"EG",826:"GB",830:"JE GG",831:"GG",832:"JE",833:"IM",834:"TZ",840:"US",850:"VI",854:"BF",858:"UY",860:"UZ",862:"VE",876:"WF",882:"WS",886:"YE",887:"YE",890:"RS ME SI HR MK BA",891:"RS ME",894:"ZM",958:"AA",959:"QM",960:"QN",962:"QP",963:"QQ",964:"QR",965:"QS",966:"QT",967:"EU",968:"QV",969:"QW",970:"QX",971:"QY",972:"QZ",973:"XA",974:"XB",975:"XC",976:"XD",977:"XE",978:"XF",979:"XG",980:"XH",981:"XI",982:"XJ",983:"XK",984:"XL",985:"XM",986:"XN",987:"XO",988:"XP",989:"XQ",990:"XR",991:"XS",992:"XT",993:"XU",994:"XV",995:"XW",996:"XX",997:"XY",998:"XZ",999:"ZZ","004":"AF","008":"AL","010":"AQ","012":"DZ","016":"AS","020":"AD","024":"AO","028":"AG","031":"AZ","032":"AR","036":"AU","040":"AT","044":"BS","048":"BH","050":"BD","051":"AM","052":"BB","056":"BE","060":"BM","062":"034 143","064":"BT","068":"BO","070":"BA","072":"BW","074":"BV","076":"BR","084":"BZ","086":"IO","090":"SB","092":"VG","096":"BN",AAA:"AA",ABW:"AW",AFG:"AF",AGO:"AO",AIA:"AI",ALA:"AX",ALB:"AL",AN:"CW SX BQ",AND:"AD",ANT:"CW SX BQ",ARE:"AE",ARG:"AR",ARM:"AM",ASC:"AC",ASM:"AS",ATA:"AQ",ATF:"TF",ATG:"AG",AUS:"AU",AUT:"AT",AZE:"AZ",BDI:"BI",BEL:"BE",BEN:"BJ",BES:"BQ",BFA:"BF",BGD:"BD",BGR:"BG",BHR:"BH",BHS:"BS",BIH:"BA",BLM:"BL",BLR:"BY",BLZ:"BZ",BMU:"BM",BOL:"BO",BRA:"BR",BRB:"BB",BRN:"BN",BTN:"BT",BU:"MM",BUR:"MM",BVT:"BV",BWA:"BW",CAF:"CF",CAN:"CA",CCK:"CC",CHE:"CH",CHL:"CL",CHN:"CN",CIV:"CI",CMR:"CM",COD:"CD",COG:"CG",COK:"CK",COL:"CO",COM:"KM",CPT:"CP",CPV:"CV",CRI:"CR",CS:"RS ME",CT:"KI",CUB:"CU",CUW:"CW",CXR:"CX",CYM:"KY",CYP:"CY",CZE:"CZ",DD:"DE",DDR:"DE",DEU:"DE",DGA:"DG",DJI:"DJ",DMA:"DM",DNK:"DK",DOM:"DO",DY:"BJ",DZA:"DZ",ECU:"EC",EGY:"EG",ERI:"ER",ESH:"EH",ESP:"ES",EST:"EE",ETH:"ET",FIN:"FI",FJI:"FJ",FLK:"FK",FQ:"AQ TF",FRA:"FR",FRO:"FO",FSM:"FM",FX:"FR",FXX:"FR",GAB:"GA",GBR:"GB",GEO:"GE",GGY:"GG",GHA:"GH",GIB:"GI",GIN:"GN",GLP:"GP",GMB:"GM",GNB:"GW",GNQ:"GQ",GRC:"GR",GRD:"GD",GRL:"GL",GTM:"GT",GUF:"GF",GUM:"GU",GUY:"GY",HKG:"HK",HMD:"HM",HND:"HN",HRV:"HR",HTI:"HT",HUN:"HU",HV:"BF",IDN:"ID",IMN:"IM",IND:"IN",IOT:"IO",IRL:"IE",IRN:"IR",IRQ:"IQ",ISL:"IS",ISR:"IL",ITA:"IT",JAM:"JM",JEY:"JE",JOR:"JO",JPN:"JP",JT:"UM",KAZ:"KZ",KEN:"KE",KGZ:"KG",KHM:"KH",KIR:"KI",KNA:"KN",KOR:"KR",KWT:"KW",LAO:"LA",LBN:"LB",LBR:"LR",LBY:"LY",LCA:"LC",LIE:"LI",LKA:"LK",LSO:"LS",LTU:"LT",LUX:"LU",LVA:"LV",MAC:"MO",MAF:"MF",MAR:"MA",MCO:"MC",MDA:"MD",MDG:"MG",MDV:"MV",MEX:"MX",MHL:"MH",MI:"UM",MKD:"MK",MLI:"ML",MLT:"MT",MMR:"MM",MNE:"ME",MNG:"MN",MNP:"MP",MOZ:"MZ",MRT:"MR",MSR:"MS",MTQ:"MQ",MUS:"MU",MWI:"MW",MYS:"MY",MYT:"YT",NAM:"NA",NCL:"NC",NER:"NE",NFK:"NF",NGA:"NG",NH:"VU",NIC:"NI",NIU:"NU",NLD:"NL",NOR:"NO",NPL:"NP",NQ:"AQ",NRU:"NR",NT:"SA IQ",NTZ:"SA IQ",NZL:"NZ",OMN:"OM",PAK:"PK",PAN:"PA",PC:"FM MH MP PW",PCN:"PN",PER:"PE",PHL:"PH",PLW:"PW",PNG:"PG",POL:"PL",PRI:"PR",PRK:"KP",PRT:"PT",PRY:"PY",PSE:"PS",PU:"UM",PYF:"PF",PZ:"PA",QAT:"QA",QMM:"QM",QNN:"QN",QPP:"QP",QQQ:"QQ",QRR:"QR",QSS:"QS",QTT:"QT",QU:"EU",QUU:"EU",QVV:"QV",QWW:"QW",QXX:"QX",QYY:"QY",QZZ:"QZ",REU:"RE",RH:"ZW",ROU:"RO",RUS:"RU",RWA:"RW",SAU:"SA",SCG:"RS ME",SDN:"SD",SEN:"SN",SGP:"SG",SGS:"GS",SHN:"SH",SJM:"SJ",SLB:"SB",SLE:"SL",SLV:"SV",SMR:"SM",SOM:"SO",SPM:"PM",SRB:"RS",SSD:"SS",STP:"ST",SU:"RU AM AZ BY EE GE KZ KG LV LT MD TJ TM UA UZ",SUN:"RU AM AZ BY EE GE KZ KG LV LT MD TJ TM UA UZ",SUR:"SR",SVK:"SK",SVN:"SI",SWE:"SE",SWZ:"SZ",SXM:"SX",SYC:"SC",SYR:"SY",TAA:"TA",TCA:"TC",TCD:"TD",TGO:"TG",THA:"TH",TJK:"TJ",TKL:"TK",TKM:"TM",TLS:"TL",TMP:"TL",TON:"TO",TP:"TL",TTO:"TT",TUN:"TN",TUR:"TR",TUV:"TV",TWN:"TW",TZA:"TZ",UGA:"UG",UK:"GB",UKR:"UA",UMI:"UM",URY:"UY",USA:"US",UZB:"UZ",VAT:"VA",VCT:"VC",VD:"VN",VEN:"VE",VGB:"VG",VIR:"VI",VNM:"VN",VUT:"VU",WK:"UM",WLF:"WF",WSM:"WS",XAA:"XA",XBB:"XB",XCC:"XC",XDD:"XD",XEE:"XE",XFF:"XF",XGG:"XG",XHH:"XH",XII:"XI",XJJ:"XJ",XKK:"XK",XLL:"XL",XMM:"XM",XNN:"XN",XOO:"XO",XPP:"XP",XQQ:"XQ",XRR:"XR",XSS:"XS",XTT:"XT",XUU:"XU",XVV:"XV",XWW:"XW",XXX:"XX",XYY:"XY",XZZ:"XZ",YD:"YE",YEM:"YE",YMD:"YE",YU:"RS ME",YUG:"RS ME",ZAF:"ZA",ZAR:"CD",ZMB:"ZM",ZR:"CD",ZWE:"ZW",ZZZ:"ZZ"},t.scriptAlias={Qaai:"Zinh"},t.variantAlias={heploc:"alalc97",polytoni:"polyton"}},60825:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.emitUnicodeLocaleId=t.emitUnicodeLanguageId=void 0;var r=n(28197);function i(e){return e?r.__spreadArray([e.lang,e.script,e.region],e.variants||[]).filter(Boolean).join("-"):""}t.emitUnicodeLanguageId=i,t.emitUnicodeLocaleId=function(e){for(var t=e.lang,n=e.extensions,o=[i(t)],a=0,s=n;a<s.length;a++){var u=s[a];switch(o.push(u.type),u.type){case"u":o.push.apply(o,r.__spreadArray(r.__spreadArray([],u.attributes),u.keywords.reduce((function(e,t){return e.concat(t)}),[])));break;case"t":o.push.apply(o,r.__spreadArray([i(u.lang)],u.fields.reduce((function(e,t){return e.concat(t)}),[])));break;default:o.push(u.value)}}return o.filter(Boolean).join("-")}},33016:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.parseUnicodeLocaleId=t.parseUnicodeLanguageId=t.isUnicodeVariantSubtag=t.isUnicodeScriptSubtag=t.isUnicodeRegionSubtag=t.isStructurallyValidLanguageTag=t.isUnicodeLanguageSubtag=t.SEPARATOR=void 0;var r=n(28197),i=/^[a-z0-9]{1,8}$/i,o=/^[a-z0-9]{2,8}$/i,a=/^[a-z0-9]{3,8}$/i,s=/^[a-z0-9][a-z]$/i,u=/^[a-z0-9]{3,8}$/i,c=/^[a-z]{4}$/i,l=/^[0-9a-svwyz]$/i,f=/^([a-z]{2}|[0-9]{3})$/i,d=/^([a-z0-9]{5,8}|[0-9][a-z0-9]{3})$/i,p=/^([a-z]{2,3}|[a-z]{5,8})$/i,h=/^[a-z][0-9]$/i;function g(e){return p.test(e)}function m(e){return f.test(e)}function y(e){return c.test(e)}function v(e){return d.test(e)}function b(e){"string"==typeof e&&(e=e.split(t.SEPARATOR));var n,r,i=e.shift();if(!i)throw new RangeError("Missing unicode_language_subtag");if("root"===i)return{lang:"root",variants:[]};if(!g(i))throw new RangeError("Malformed unicode_language_subtag");e.length&&y(e[0])&&(n=e.shift()),e.length&&m(e[0])&&(r=e.shift());for(var o={};e.length&&v(e[0]);){var a=e.shift();if(a in o)throw new RangeError('Duplicate variant "'+a+'"');o[a]=1}return{lang:i,script:n,region:r,variants:Object.keys(o)}}function _(e){for(var t,n=[];e.length&&(t=w(e));)n.push(t);if(n.length)return{type:"u",keywords:n,attributes:[]};for(var r=[];e.length&&a.test(e[0]);)r.push(e.shift());for(;e.length&&(t=w(e));)n.push(t);if(n.length||r.length)return{type:"u",attributes:r,keywords:n};throw new RangeError("Malformed unicode_extension")}function w(e){var n;if(s.test(e[0])){n=e.shift();for(var r=[];e.length&&u.test(e[0]);)r.push(e.shift());var i="";return r.length&&(i=r.join(t.SEPARATOR)),[n,i]}}function T(e){var n;try{n=b(e)}catch(e){}for(var r=[];e.length&&h.test(e[0]);){for(var i=e.shift(),o=[];e.length&&a.test(e[0]);)o.push(e.shift());if(!o.length)throw new RangeError('Missing tvalue for tkey "'+i+'"');r.push([i,o.join(t.SEPARATOR)])}if(r.length)return{type:"t",fields:r,lang:n};throw new RangeError("Malformed transformed_extension")}function x(e){for(var n=[];e.length&&i.test(e[0]);)n.push(e.shift());if(n.length)return{type:"x",value:n.join(t.SEPARATOR)};throw new RangeError("Malformed private_use_extension")}function S(e){for(var n=[];e.length&&o.test(e[0]);)n.push(e.shift());return n.length?n.join(t.SEPARATOR):""}t.SEPARATOR="-",t.isUnicodeLanguageSubtag=g,t.isStructurallyValidLanguageTag=function(e){try{b(e.split(t.SEPARATOR))}catch(e){return!1}return!0},t.isUnicodeRegionSubtag=m,t.isUnicodeScriptSubtag=y,t.isUnicodeVariantSubtag=v,t.parseUnicodeLanguageId=b,t.parseUnicodeLocaleId=function(e){var n=e.split(t.SEPARATOR),i=b(n);return r.__assign({lang:i},function(e){if(!e.length)return{extensions:[]};var t,n,r,i=[],o={};do{var a=e.shift();switch(a){case"u":case"U":if(t)throw new RangeError("There can only be 1 -u- extension");t=_(e),i.push(t);break;case"t":case"T":if(n)throw new RangeError("There can only be 1 -t- extension");n=T(e),i.push(n);break;case"x":case"X":if(r)throw new RangeError("There can only be 1 -x- extension");r=x(e),i.push(r);break;default:if(!l.test(a))throw new RangeError("Malformed extension type");if(a in o)throw new RangeError("There can only be 1 -"+a+"- extension");var s={type:a,value:S(e)};o[s.type]=s,i.push(s)}}while(e.length);return{extensions:i}}(n))}},539:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},91504:function(e,t){"use strict";var n="circle-check",r=[61533,"check-circle"],i="f058",o=["M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM369 209L241 337c-9.4 9.4-24.6 9.4-33.9 0l-64-64c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l47 47L335 175c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9z","M369 175c9.4 9.4 9.4 24.6 0 33.9L241 337c-9.4 9.4-24.6 9.4-33.9 0l-64-64c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l47 47L335 175c9.4-9.4 24.6-9.4 33.9 0z"];t.DF={prefix:"fad",iconName:n,icon:[512,512,r,i,o]},t.fV=t.DF},687:function(e,t){"use strict";var n="file",r=[128196,128459,61462],i="f15b",o=["M64 0C28.7 0 0 28.7 0 64V448c0 35.3 28.7 64 64 64H320c35.3 0 64-28.7 64-64V160H256c-17.7 0-32-14.3-32-32V0H64z","M224 0L384 160H256c-17.7 0-32-14.3-32-32V0z"];t.DF={prefix:"fad",iconName:n,icon:[384,512,r,i,o]},t.gM=t.DF},1238:function(e,t){"use strict";var n="folder-open",r=[128194,128449,61717],i="f07c",o=["M461.4 461.1l16.2-27.9c-3 10.7-8.7 20.2-16.2 27.9zM480 224H144c-11.4 0-21.9 6-27.6 15.9l-112 192c-5.8 9.9-5.8 22.1-.1 32.1c1 1.7 2 3.2 3.2 4.6C2.8 463 0 455.8 0 448V96C0 60.7 28.7 32 64 32H181.5c17 0 33.3 6.7 45.3 18.7l26.5 26.5c12 12 28.3 18.7 45.3 18.7H416c35.3 0 64 28.7 64 64v64zM11.1 472.2c5.7 4.9 13.1 7.8 20.9 7.8c-8 0-15.3-2.9-20.9-7.8z","M144 224c-11.4 0-21.9 6-27.6 15.9l-112 192c-5.8 9.9-5.8 22.1-.1 32.1S20.5 480 32 480H432c11.4 0 21.9-6 27.6-15.9l112-192c5.8-9.9 5.8-22.1 .1-32.1S555.5 224 544 224H144z"];t.DF={prefix:"fad",iconName:n,icon:[576,512,r,i,o]},t.cC=t.DF},15073:function(e,t){"use strict";var n="users",r=[],i="f0c0",o=["M224 80A80 80 0 1 0 64 80a80 80 0 1 0 160 0zm368 0A80 80 0 1 0 432 80a80 80 0 1 0 160 0zM106.7 192C47.8 192 0 239.8 0 298.7C0 310.4 9.6 320 21.3 320H234.7c.2 0 .4 0 .7 0c-26.6-23.5-43.3-57.8-43.3-96c0-7.6 .7-15 1.9-22.3c-13.6-6.3-28.7-9.7-44.6-9.7H106.7zm298 128c.2 0 .4 0 .7 0H618.7c11.8 0 21.3-9.6 21.3-21.3C640 239.8 592.2 192 533.3 192H490.7c-15.9 0-31 3.5-44.6 9.7c1.3 7.2 1.9 14.7 1.9 22.3c0 38.2-16.8 72.5-43.3 96z","M320 320a96 96 0 1 0 0-192 96 96 0 1 0 0 192zm-58.7 32C187.7 352 128 411.7 128 485.3c0 14.7 11.9 26.7 26.7 26.7H485.3c14.7 0 26.7-11.9 26.7-26.7C512 411.7 452.3 352 378.7 352H261.3z"];t.DF={prefix:"fad",iconName:n,icon:[640,512,r,i,o]},t.FV=t.DF},22532:function(e,t){"use strict";var n="browser",r=[128468],i="f37e",o="M0 96C0 60.65 28.65 32 64 32H448C483.3 32 512 60.65 512 96V416C512 451.3 483.3 480 448 480H64C28.65 480 0 451.3 0 416V96zM160 128H480V96C480 78.33 465.7 64 448 64H160V128zM128 64H64C46.33 64 32 78.33 32 96V128H128V64zM32 160V416C32 433.7 46.33 448 64 448H448C465.7 448 480 433.7 480 416V160H32z";t.DF={prefix:"fal",iconName:n,icon:[512,512,r,i,o]},t.m6=t.DF},18944:function(e,t){"use strict";var n="building",r=[127970,61687],i="f1ad",o="M64 120C64 106.7 74.75 96 88 96H136C149.3 96 160 106.7 160 120V168C160 181.3 149.3 192 136 192H88C74.75 192 64 181.3 64 168V120zM96 128V160H128V128H96zM296 96C309.3 96 320 106.7 320 120V168C320 181.3 309.3 192 296 192H248C234.7 192 224 181.3 224 168V120C224 106.7 234.7 96 248 96H296zM288 160V128H256V160H288zM64 248C64 234.7 74.75 224 88 224H136C149.3 224 160 234.7 160 248V296C160 309.3 149.3 320 136 320H88C74.75 320 64 309.3 64 296V248zM96 256V288H128V256H96zM296 224C309.3 224 320 234.7 320 248V296C320 309.3 309.3 320 296 320H248C234.7 320 224 309.3 224 296V248C224 234.7 234.7 224 248 224H296zM288 288V256H256V288H288zM64 512C28.65 512 0 483.3 0 448V64C0 28.65 28.65 0 64 0H320C355.3 0 384 28.65 384 64V448C384 483.3 355.3 512 320 512H64zM32 64V448C32 465.7 46.33 480 64 480H128V416C128 380.7 156.7 352 192 352C227.3 352 256 380.7 256 416V480H320C337.7 480 352 465.7 352 448V64C352 46.33 337.7 32 320 32H64C46.33 32 32 46.33 32 64zM224 416C224 398.3 209.7 384 192 384C174.3 384 160 398.3 160 416V480H224V416z";t.DF={prefix:"fal",iconName:n,icon:[384,512,r,i,o]},t.P8=t.DF},75686:function(e,t){"use strict";var n=[128065],r="f06e",i="M117.2 136C160.3 96 217.6 64 288 64s127.7 32 170.8 72c43.1 40 71.9 88 85.2 120c-13.3 32-42.1 80-85.2 120c-43.1 40-100.4 72-170.8 72s-127.7-32-170.8-72C74.1 336 45.3 288 32 256c13.3-32 42.1-80 85.2-120zM288 32c-80.8 0-145.5 36.8-192.6 80.6C48.6 156 17.3 208 2.5 243.7c-3.3 7.9-3.3 16.7 0 24.6C17.3 304 48.6 356 95.4 399.4C142.5 443.2 207.2 480 288 480s145.5-36.8 192.6-80.6c46.8-43.5 78.1-95.4 93-131.1c3.3-7.9 3.3-16.7 0-24.6c-14.9-35.7-46.2-87.7-93-131.1C433.5 68.8 368.8 32 288 32zM192 256a96 96 0 1 1 192 0 96 96 0 1 1 -192 0zm224 0a128 128 0 1 0 -256 0 128 128 0 1 0 256 0z";t.DF={prefix:"fal",iconName:"eye",icon:[576,512,n,r,i]},t.Md=t.DF},83244:function(e,t){"use strict";var n="eye-slash",r=[],i="f070",o="M25.9 3.4C19-2 8.9-.8 3.4 6.1S-.8 23.1 6.1 28.6l608 480c6.9 5.5 17 4.3 22.5-2.6s4.3-17-2.6-22.5L25.9 3.4zM605.5 268.3c3.3-7.9 3.3-16.7 0-24.6c-14.9-35.7-46.2-87.7-93-131.1C465.5 68.8 400.8 32 320 32c-51.2 0-96 14.8-133.9 36.8l27.3 21.5C244.6 74.2 280.2 64 320 64c70.4 0 127.7 32 170.8 72c43.1 40 71.9 88 85.2 120c-9.2 22.1-25.9 52-49.5 81.5l25.1 19.8c25.6-32 43.7-64.4 53.9-89zM88.4 154.7c-25.6 32-43.7 64.4-53.9 89c-3.3 7.9-3.3 16.7 0 24.6c14.9 35.7 46.2 87.7 93 131.1C174.5 443.2 239.2 480 320 480c51.2 0 96-14.8 133.9-36.8l-27.3-21.5C395.4 437.8 359.8 448 320 448c-70.4 0-127.7-32-170.8-72C106.1 336 77.3 288 64 256c9.2-22.1 25.9-52 49.5-81.5L88.4 154.7zM320 384c16.7 0 32.7-3.2 47.4-9.1l-30.9-24.4c-5.4 .9-10.9 1.4-16.5 1.4c-51 0-92.8-39.8-95.8-90.1l-30.9-24.4c-.9 6-1.3 12.2-1.3 18.5c0 70.7 57.3 128 128 128zM448 256c0-70.7-57.3-128-128-128c-16.7 0-32.7 3.2-47.4 9.1l30.9 24.4c5.4-.9 10.9-1.4 16.5-1.4c51 0 92.8 39.8 95.8 90.1l30.9 24.4c.9-6 1.3-12.2 1.3-18.5z";t.DF={prefix:"fal",iconName:n,icon:[640,512,r,i,o]},t.Aq=t.DF},54135:function(e,t){"use strict";var n="file-export",r=["arrow-right-from-file"],i="f56e",o="M571.3 308.7l-96-96c-6.25-6.25-16.38-6.25-22.62 0s-6.25 16.38 0 22.62L521.4 304H208C199.2 304 192 311.2 192 320s7.156 16 16 16h313.4l-68.69 68.69c-6.25 6.25-6.25 16.38 0 22.62C455.8 430.4 459.9 432 464 432s8.188-1.562 11.31-4.688l96-96C577.6 325.1 577.6 314.9 571.3 308.7zM368 384c-8.836 0-16 7.164-16 16V448c0 17.67-14.33 32-32 32H64c-17.67 0-32-14.33-32-32V64c0-17.67 14.33-32 32-32h128v112C192 170.5 213.5 192 240 192H352v48C352 248.8 359.2 256 368 256C376.8 256 384 248.8 384 240V170.5c0-16.97-6.742-33.26-18.75-45.26L258.7 18.74C246.7 6.742 230.5 0 213.5 0H63.1C28.65 0 0 28.65 0 64l.0065 384c0 35.35 28.66 64 64 64H320c35.35 0 64-28.65 64-64v-48C384 391.2 376.8 384 368 384zM224 34.08c4.477 1.566 8.666 3.846 12.12 7.299l106.5 106.5C346.1 151.3 348.4 155.5 349.9 160H240C231.2 160 224 152.8 224 144V34.08z";t.DF={prefix:"fal",iconName:n,icon:[576,512,r,i,o]},t.c=t.DF},86579:function(e,t){"use strict";var n="file-pdf",r=[],i="f1c1",o="M64 480H96v32H64c-35.3 0-64-28.7-64-64V64C0 28.7 28.7 0 64 0H220.1c12.7 0 24.9 5.1 33.9 14.1L369.9 129.9c9 9 14.1 21.2 14.1 33.9V288H352V192H240c-26.5 0-48-21.5-48-48V32H64C46.3 32 32 46.3 32 64V448c0 17.7 14.3 32 32 32zM351.5 160c-.7-2.8-2.1-5.4-4.2-7.4L231.4 36.7c-2.1-2.1-4.6-3.5-7.4-4.2V144c0 8.8 7.2 16 16 16H351.5zM160 352h24c30.9 0 56 25.1 56 56s-25.1 56-56 56h-8v32c0 8.8-7.2 16-16 16s-16-7.2-16-16V448 368c0-8.8 7.2-16 16-16zm24 80c13.3 0 24-10.7 24-24s-10.7-24-24-24h-8v48h8zm72-64c0-8.8 7.2-16 16-16h24c26.5 0 48 21.5 48 48v64c0 26.5-21.5 48-48 48H272c-8.8 0-16-7.2-16-16V368zm32 112h8c8.8 0 16-7.2 16-16V400c0-8.8-7.2-16-16-16h-8v96zm96-128h48c8.8 0 16 7.2 16 16s-7.2 16-16 16H400v32h32c8.8 0 16 7.2 16 16s-7.2 16-16 16H400v48c0 8.8-7.2 16-16 16s-16-7.2-16-16V432 368c0-8.8 7.2-16 16-16z";t.DF={prefix:"fal",iconName:n,icon:[448,512,r,i,o]},t.gS=t.DF},83252:function(e,t){"use strict";var n="lock-keyhole",r=["lock-alt"],i="f30d",o="M240 392C240 400.8 232.8 408 224 408C215.2 408 208 400.8 208 392V312C208 303.2 215.2 296 224 296C232.8 296 240 303.2 240 312V392zM224 0C294.7 0 352 57.31 352 128V192H368C412.2 192 448 227.8 448 272V432C448 476.2 412.2 512 368 512H80C35.82 512 0 476.2 0 432V272C0 227.8 35.82 192 80 192H96V128C96 57.31 153.3 0 224 0zM224 32C170.1 32 128 74.98 128 128V192H320V128C320 74.98 277 32 224 32zM80 224C53.49 224 32 245.5 32 272V432C32 458.5 53.49 480 80 480H368C394.5 480 416 458.5 416 432V272C416 245.5 394.5 224 368 224H80z";t.DF={prefix:"fal",iconName:n,icon:[448,512,r,i,o]},t.HI=t.DF},48148:function(e,t){"use strict";var n="arrow-down",r=[8595],i="f063",o="M377.4 296.6l-168 176C204.8 477.3 198.6 480 192 480s-12.84-2.688-17.38-7.438l-168-176C-2.5 286.1-2.156 271.8 7.438 262.6c9.5-9.156 24.75-8.812 33.94 .8125L168 396.1V56.02c0-13.25 10.75-24.01 23.1-24.01S216 42.77 216 56.02v340.1l126.6-132.7c9.156-9.625 24.41-9.969 33.94-.8125C386.2 271.8 386.5 286.1 377.4 296.6z";t.DF={prefix:"far",iconName:n,icon:[384,512,r,i,o]},t.r5=t.DF},25215:function(e,t){"use strict";var n="arrow-right",r=[8594],i="f061",o="M264.6 70.63l176 168c4.75 4.531 7.438 10.81 7.438 17.38s-2.688 12.84-7.438 17.38l-176 168c-9.594 9.125-24.78 8.781-33.94-.8125c-9.156-9.5-8.812-24.75 .8125-33.94l132.7-126.6H24.01c-13.25 0-24.01-10.76-24.01-24.01s10.76-23.99 24.01-23.99h340.1l-132.7-126.6C221.8 96.23 221.5 80.98 230.6 71.45C239.8 61.85 254.1 61.51 264.6 70.63z";t.DF={prefix:"far",iconName:n,icon:[448,512,r,i,o]},t.eF=t.DF},9508:function(e,t){"use strict";var n="arrow-right-from-line",r=[8614,"arrow-from-left"],i="f343",o="M48.03 424V88c0-13.25-10.76-24-24.02-24S0 74.75 0 88v336c0 13.25 10.76 24 24.02 24S48.03 437.3 48.03 424zM271.7 145.5L363.7 232H120.1C106.8 232 96.03 242.8 96.03 256S106.8 280 120.1 280h243.6l-91.98 86.53C266.7 371.3 264.2 377.6 264.2 384c0 5.906 2.158 11.81 6.536 16.44c9.069 9.656 24.27 10.12 33.93 1.031l136.1-128c9.694-9.062 9.694-25.88 0-34.94l-136.1-128c-9.663-9.094-24.86-8.625-33.93 1.031C261.6 121.2 262 136.4 271.7 145.5z";t.DF={prefix:"far",iconName:n,icon:[448,512,r,i,o]},t.vT=t.DF},33450:function(e,t){"use strict";var n="arrow-rotate-left",r=[8634,"arrow-left-rotate","arrow-rotate-back","arrow-rotate-backward","undo"],i="f0e2",o="M40 16C53.25 16 64 26.75 64 40v102.1C103.7 75.57 176.3 32.11 256.1 32.11C379.6 32.11 480 132.5 480 256s-100.4 223.9-223.9 223.9c-52.31 0-103.3-18.33-143.5-51.77c-10.19-8.5-11.56-23.62-3.062-33.81c8.5-10.22 23.66-11.56 33.81-3.062C174.9 417.5 214.9 432 256 432c97.03 0 176-78.97 176-176S353 80 256 80c-66.54 0-126.8 38.28-156.5 96H200C213.3 176 224 186.8 224 200S213.3 224 200 224h-160C26.75 224 16 213.3 16 200v-160C16 26.75 26.75 16 40 16z";t.DF={prefix:"far",iconName:n,icon:[512,512,r,i,o]},t.p=t.DF},46487:function(e,t){"use strict";var n="arrow-up",r=[8593],i="f062",o="M6.625 215.5l168-176C179.2 34.7 185.4 32.02 192 32.02s12.84 2.688 17.38 7.438l168 176c9.125 9.594 8.781 24.78-.8125 33.94c-9.5 9.156-24.75 8.812-33.94-.8125L216 115.9V456c0 13.25-10.75 23.1-23.1 23.1S168 469.3 168 456V115.9l-126.6 132.7C32.22 258.2 16.97 258.5 7.438 249.4C-2.156 240.2-2.5 225 6.625 215.5z";t.DF={prefix:"far",iconName:n,icon:[384,512,r,i,o]},t.FP=t.DF},22990:function(e,t){"use strict";var n="arrow-up-from-bracket",r=[],i="e09a",o="M424 320c13.25 0 24 10.75 24 24V416c0 53.02-42.98 96-96 96H96c-53.02 0-96-42.98-96-96v-72C0 330.7 10.74 320 24 320c13.25 0 24 10.75 24 24V416c0 26.4 21.6 48 48 48h256c26.4 0 48-21.6 48-48v-72C400 330.7 410.7 320 424 320zM207.6 6.539l-136 127.1C61.88 143.6 61.44 158.8 70.53 168.4c9.062 9.656 24.25 10.12 33.91 1.031L200 79.56v248.4C200 341.3 210.8 352 224 352s24-10.75 24-23.1V79.56l95.56 89.92c9.656 9.094 24.84 8.625 33.91-1.031C381.8 163.8 384 157.9 384 152c0-6.375-2.531-12.75-7.562-17.47l-136-127.1C231.2-2.18 216.8-2.18 207.6 6.539z";t.DF={prefix:"far",iconName:n,icon:[448,512,r,i,o]},t.A$=t.DF},57255:function(e,t){"use strict";var n="arrow-up-right-from-square",r=["external-link"],i="f08e",o="M304 24c0 13.3 10.7 24 24 24H430.1L207 271c-9.4 9.4-9.4 24.6 0 33.9s24.6 9.4 33.9 0l223-223V184c0 13.3 10.7 24 24 24s24-10.7 24-24V24c0-13.3-10.7-24-24-24H328c-13.3 0-24 10.7-24 24zM72 32C32.2 32 0 64.2 0 104V440c0 39.8 32.2 72 72 72H408c39.8 0 72-32.2 72-72V312c0-13.3-10.7-24-24-24s-24 10.7-24 24V440c0 13.3-10.7 24-24 24H72c-13.3 0-24-10.7-24-24V104c0-13.3 10.7-24 24-24H200c13.3 0 24-10.7 24-24s-10.7-24-24-24H72z";t.DF={prefix:"far",iconName:n,icon:[512,512,r,i,o]},t.wl=t.DF},14104:function(e,t){"use strict";var n="book",r=[128212],i="f02d",o="M448 352V48C448 21.53 426.5 0 400 0h-320C35.89 0 0 35.88 0 80v352C0 476.1 35.89 512 80 512h344c13.25 0 24-10.75 24-24s-10.75-24-24-24H416v-66.95C434.6 390.4 448 372.8 448 352zM368 464h-288c-17.64 0-32-14.34-32-32s14.36-32 32-32h288V464zM400 352h-320c-11.38 0-22.2 2.375-32 6.688V80c0-17.66 14.36-32 32-32h320V352zM152 160h176C341.3 160 352 149.3 352 136S341.3 112 328 112h-176C138.8 112 128 122.8 128 136S138.8 160 152 160zM152 240h176C341.3 240 352 229.3 352 216S341.3 192 328 192h-176C138.8 192 128 202.8 128 216S138.8 240 152 240z";t.DF={prefix:"far",iconName:n,icon:[448,512,r,i,o]},t.FL=t.DF},20840:function(e,t){"use strict";var n="book-open",r=[128214,128366],i="f518",o="M540.9 56.77C493.8 39.74 449.6 31.58 410.9 32.02C352.2 32.96 308.3 50 288 59.74C267.7 50 223.9 32.98 165.2 32.04C125.8 31.35 82.18 39.72 35.1 56.77C14.02 64.41 0 84.67 0 107.2v292.1c0 16.61 7.594 31.95 20.84 42.08c13.73 10.53 31.34 13.91 48.2 9.344c118.1-32 202 22.92 205.5 25.2C278.6 478.6 283.3 480 287.1 480s9.37-1.359 13.43-4.078c3.516-2.328 87.59-57.21 205.5-25.25c16.92 4.563 34.5 1.188 48.22-9.344C568.4 431.2 576 415.9 576 399.2V107.2C576 84.67 561.1 64.41 540.9 56.77zM264 416.8c-27.86-11.61-69.84-24.13-121.4-24.13c-26.39 0-55.28 3.281-86.08 11.61C53.19 405.3 50.84 403.9 50 403.2C48 401.7 48 399.8 48 399.2V107.2c0-2.297 1.516-4.531 3.594-5.282c40.95-14.8 79.61-22.36 112.8-21.84C211.3 80.78 246.8 93.75 264 101.5V416.8zM528 399.2c0 .5938 0 2.422-2 3.969c-.8438 .6407-3.141 2.063-6.516 1.109c-90.98-24.6-165.4-5.032-207.5 12.53v-315.3c17.2-7.782 52.69-20.74 99.59-21.47c32.69-.5157 71.88 7.047 112.8 21.84C526.5 102.6 528 104.9 528 107.2V399.2z";t.DF={prefix:"far",iconName:n,icon:[576,512,r,i,o]},t.cn=t.DF},16092:function(e,t){"use strict";var n="browser",r=[128468],i="f37e",o="M7.724 65.49C13.36 55.11 21.79 46.47 32 40.56C39.63 36.15 48.25 33.26 57.46 32.33C59.61 32.11 61.79 32 64 32H448C483.3 32 512 60.65 512 96V416C512 451.3 483.3 480 448 480H64C28.65 480 0 451.3 0 416V96C0 93.79 .112 91.61 .3306 89.46C1.204 80.85 3.784 72.75 7.724 65.49V65.49zM48 416C48 424.8 55.16 432 64 432H448C456.8 432 464 424.8 464 416V160H48V416z";t.DF={prefix:"far",iconName:n,icon:[512,512,r,i,o]},t.m6=t.DF},6874:function(e,t){"use strict";var n="chevron-right",r=[9002],i="f054",o="M113.3 47.41l183.1 191.1c4.469 4.625 6.688 10.62 6.688 16.59s-2.219 11.97-6.688 16.59l-183.1 191.1c-9.152 9.594-24.34 9.906-33.9 .7187c-9.625-9.125-9.938-24.38-.7187-33.91l168-175.4L78.71 80.6c-9.219-9.5-8.906-24.78 .7187-33.91C88.99 37.5 104.2 37.82 113.3 47.41z";t.DF={prefix:"far",iconName:n,icon:[320,512,r,i,o]},t._t=t.DF},74253:function(e,t){"use strict";var n="chevron-up",r=[],i="f077",o="M15.41 302.7l191.1-183.1C212 114.2 218 111.1 224 111.1s11.97 2.219 16.59 6.688l191.1 183.1c9.594 9.152 9.906 24.34 .7187 33.9c-9.125 9.625-24.38 9.938-33.91 .7187L224 169.2l-175.4 168c-9.5 9.219-24.78 8.906-33.91-.7187C5.502 327 5.814 311.8 15.41 302.7z";t.DF={prefix:"far",iconName:n,icon:[448,512,r,i,o]},t.mT=t.DF},36522:function(e,t){"use strict";var n="circle-check",r=[61533,"check-circle"],i="f058",o="M243.8 339.8C232.9 350.7 215.1 350.7 204.2 339.8L140.2 275.8C129.3 264.9 129.3 247.1 140.2 236.2C151.1 225.3 168.9 225.3 179.8 236.2L224 280.4L332.2 172.2C343.1 161.3 360.9 161.3 371.8 172.2C382.7 183.1 382.7 200.9 371.8 211.8L243.8 339.8zM512 256C512 397.4 397.4 512 256 512C114.6 512 0 397.4 0 256C0 114.6 114.6 0 256 0C397.4 0 512 114.6 512 256zM256 48C141.1 48 48 141.1 48 256C48 370.9 141.1 464 256 464C370.9 464 464 370.9 464 256C464 141.1 370.9 48 256 48z";t.DF={prefix:"far",iconName:n,icon:[512,512,r,i,o]},t.fV=t.DF},94393:function(e,t){"use strict";var n="circle-dot",r=[128280,"dot-circle"],i="f192",o="M160 256C160 202.1 202.1 160 256 160C309 160 352 202.1 352 256C352 309 309 352 256 352C202.1 352 160 309 160 256zM512 256C512 397.4 397.4 512 256 512C114.6 512 0 397.4 0 256C0 114.6 114.6 0 256 0C397.4 0 512 114.6 512 256zM256 48C141.1 48 48 141.1 48 256C48 370.9 141.1 464 256 464C370.9 464 464 370.9 464 256C464 141.1 370.9 48 256 48z";t.DF={prefix:"far",iconName:n,icon:[512,512,r,i,o]},t.W3=t.DF},51546:function(e,t){"use strict";var n="circle-exclamation",r=["exclamation-circle"],i="f06a",o="M256 0C114.6 0 0 114.6 0 256s114.6 256 256 256s256-114.6 256-256S397.4 0 256 0zM256 464c-114.7 0-208-93.31-208-208S141.3 48 256 48s208 93.31 208 208S370.7 464 256 464zM256 304c13.25 0 24-10.75 24-24v-128C280 138.8 269.3 128 256 128S232 138.8 232 152v128C232 293.3 242.8 304 256 304zM256 337.1c-17.36 0-31.44 14.08-31.44 31.44C224.6 385.9 238.6 400 256 400s31.44-14.08 31.44-31.44C287.4 351.2 273.4 337.1 256 337.1z";t.DF={prefix:"far",iconName:n,icon:[512,512,r,i,o]},t.xH=t.DF},13718:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n="circle-info",r=["info-circle"],i="f05a",o="M256 0C114.6 0 0 114.6 0 256s114.6 256 256 256s256-114.6 256-256S397.4 0 256 0zM256 464c-114.7 0-208-93.31-208-208S141.3 48 256 48s208 93.31 208 208S370.7 464 256 464zM296 336h-16V248C280 234.8 269.3 224 256 224H224C210.8 224 200 234.8 200 248S210.8 272 224 272h8v64h-16C202.8 336 192 346.8 192 360S202.8 384 216 384h80c13.25 0 24-10.75 24-24S309.3 336 296 336zM256 192c17.67 0 32-14.33 32-32c0-17.67-14.33-32-32-32S224 142.3 224 160C224 177.7 238.3 192 256 192z";t.definition={prefix:"far",iconName:n,icon:[512,512,r,i,o]},t.faCircleInfo=t.definition,t.prefix="far",t.iconName=n,t.width=512,t.height=512,t.ligatures=r,t.unicode=i,t.svgPathData=o,t.aliases=r},82060:function(e,t){"use strict";var n="clone",r=[],i="f24d",o="M64 464H288C296.8 464 304 456.8 304 448V384H352V448C352 483.3 323.3 512 288 512H64C28.65 512 0 483.3 0 448V224C0 188.7 28.65 160 64 160H128V208H64C55.16 208 48 215.2 48 224V448C48 456.8 55.16 464 64 464zM160 64C160 28.65 188.7 0 224 0H448C483.3 0 512 28.65 512 64V288C512 323.3 483.3 352 448 352H224C188.7 352 160 323.3 160 288V64zM224 304H448C456.8 304 464 296.8 464 288V64C464 55.16 456.8 48 448 48H224C215.2 48 208 55.16 208 64V288C208 296.8 215.2 304 224 304z";t.DF={prefix:"far",iconName:n,icon:[512,512,r,i,o]},t.WM=t.DF},68678:function(e,t,n){"use strict";var r=n(67391);t.DF={prefix:r.prefix,iconName:r.iconName,icon:[r.width,r.height,r.aliases,r.unicode,r.svgPathData]},t.YI=t.DF,r.prefix,r.iconName,r.width,r.height,r.aliases,r.unicode,r.svgPathData,r.aliases},42025:function(e,t){"use strict";var n="comment",r=[128489,61669],i="f075",o="M256 32C114.6 32 .0272 125.1 .0272 240c0 47.63 19.91 91.25 52.91 126.2c-14.88 39.5-45.87 72.88-46.37 73.25c-6.625 7-8.375 17.25-4.625 26C5.818 474.2 14.38 480 24 480c61.5 0 109.1-25.75 139.1-46.25C191.1 442.8 223.3 448 256 448c141.4 0 255.1-93.13 255.1-208S397.4 32 256 32zM256.1 400c-26.75 0-53.12-4.125-78.38-12.12l-22.75-7.125l-19.5 13.75c-14.25 10.12-33.88 21.38-57.5 29c7.375-12.12 14.37-25.75 19.88-40.25l10.62-28l-20.62-21.87C69.82 314.1 48.07 282.2 48.07 240c0-88.25 93.25-160 208-160s208 71.75 208 160S370.8 400 256.1 400z";t.DF={prefix:"far",iconName:n,icon:[512,512,r,i,o]},t.Mz=t.DF},72498:function(e,t){"use strict";var n="copy",r=[],i="f0c5",o="M502.6 70.63l-61.25-61.25C435.4 3.371 427.2 0 418.7 0H255.1c-35.35 0-64 28.66-64 64l.0195 256C192 355.4 220.7 384 256 384h192c35.2 0 64-28.8 64-64V93.25C512 84.77 508.6 76.63 502.6 70.63zM464 320c0 8.836-7.164 16-16 16H255.1c-8.838 0-16-7.164-16-16L239.1 64.13c0-8.836 7.164-16 16-16h128L384 96c0 17.67 14.33 32 32 32h47.1V320zM272 448c0 8.836-7.164 16-16 16H63.1c-8.838 0-16-7.164-16-16L47.98 192.1c0-8.836 7.164-16 16-16H160V128H63.99c-35.35 0-64 28.65-64 64l.0098 256C.002 483.3 28.66 512 64 512h192c35.2 0 64-28.8 64-64v-32h-47.1L272 448z";t.DF={prefix:"far",iconName:n,icon:[512,512,r,i,o]},t.kZ=t.DF},69525:function(e,t){"use strict";var n="distribute-spacing-vertical",r=[],i="e366",o="M0 56C0 42.75 10.75 32 24 32H488C501.3 32 512 42.75 512 56C512 69.25 501.3 80 488 80H24C10.75 80 0 69.25 0 56zM368 160C394.5 160 416 181.5 416 208V304C416 330.5 394.5 352 368 352H144C117.5 352 96 330.5 96 304V208C96 181.5 117.5 160 144 160H368zM368 208H144V304H368V208zM488 432C501.3 432 512 442.7 512 456C512 469.3 501.3 480 488 480H24C10.75 480 0 469.3 0 456C0 442.7 10.75 432 24 432H488z";t.DF={prefix:"far",iconName:n,icon:[512,512,r,i,o]},t.ed=t.DF},22159:function(e,t){"use strict";var n="envelope",r=[128386,9993,61443],i="f0e0",o="M64 112c-8.8 0-16 7.2-16 16v22.1L220.5 291.7c20.7 17 50.4 17 71.1 0L464 150.1V128c0-8.8-7.2-16-16-16H64zM48 212.2V384c0 8.8 7.2 16 16 16H448c8.8 0 16-7.2 16-16V212.2L322 328.8c-38.4 31.5-93.7 31.5-132 0L48 212.2zM0 128C0 92.7 28.7 64 64 64H448c35.3 0 64 28.7 64 64V384c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V128z";t.DF={prefix:"far",iconName:n,icon:[512,512,r,i,o]},t.FU=t.DF},20829:function(e,t){"use strict";var n="file",r=[128196,128459,61462],i="f15b",o="M0 64C0 28.65 28.65 0 64 0H229.5C246.5 0 262.7 6.743 274.7 18.75L365.3 109.3C377.3 121.3 384 137.5 384 154.5V448C384 483.3 355.3 512 320 512H64C28.65 512 0 483.3 0 448V64zM336 448V160H256C238.3 160 224 145.7 224 128V48H64C55.16 48 48 55.16 48 64V448C48 456.8 55.16 464 64 464H320C328.8 464 336 456.8 336 448z";t.DF={prefix:"far",iconName:n,icon:[384,512,r,i,o]},t.gM=t.DF},49702:function(e,t){"use strict";var n="file-export",r=["arrow-right-from-file"],i="f56e",o="M568.1 303l-80-80c-9.375-9.375-24.56-9.375-33.94 0s-9.375 24.56 0 33.94L494.1 296H216C202.8 296 192 306.8 192 320s10.75 24 24 24h278.1l-39.03 39.03C450.3 387.7 448 393.8 448 400s2.344 12.28 7.031 16.97c9.375 9.375 24.56 9.375 33.94 0l80-80C578.3 327.6 578.3 312.4 568.1 303zM360 384c-13.25 0-24 10.74-24 24V448c0 8.836-7.164 16-16 16H64.02c-8.836 0-16-7.164-16-16L48 64.13c0-8.836 7.164-16 16-16h160L224 128c0 17.67 14.33 32 32 32h79.1v72c0 13.25 10.74 24 23.1 24S384 245.3 384 232V138.6c0-16.98-6.742-33.26-18.75-45.26l-74.63-74.64C278.6 6.742 262.3 0 245.4 0H63.1C28.65 0-.002 28.66 0 64l.0065 384c.002 35.34 28.65 64 64 64H320c35.2 0 64-28.8 64-64v-40C384 394.7 373.3 384 360 384z";t.DF={prefix:"far",iconName:n,icon:[576,512,r,i,o]},t.c=t.DF},24560:function(e,t){"use strict";var n="file-import",r=["arrow-right-to-file"],i="f56f",o="M263 383C258.3 387.7 256 393.8 256 400s2.344 12.28 7.031 16.97c9.375 9.375 24.56 9.375 33.94 0l80-80c9.375-9.375 9.375-24.56 0-33.94l-80-80c-9.375-9.375-24.56-9.375-33.94 0s-9.375 24.56 0 33.94L302.1 296H24C10.75 296 0 306.8 0 320s10.75 24 24 24h278.1L263 383zM493.3 93.38l-74.63-74.64C406.6 6.742 390.3 0 373.4 0H192C156.7 0 127.1 28.66 128 64l.0078 168c.002 13.26 10.75 24 24 24s24-10.75 23.1-24L176 64.13c0-8.836 7.162-16 16-16h160L352 128c0 17.67 14.33 32 32 32h79.1v288c0 8.836-7.164 16-16 16H192c-8.838 0-16-7.164-16-16l-.002-40C176 394.7 165.3 384 152 384s-24 10.75-23.1 24L128 448c.002 35.34 28.65 64 64 64H448c35.2 0 64-28.8 64-64V138.6C512 121.7 505.3 105.4 493.3 93.38z";t.DF={prefix:"far",iconName:n,icon:[512,512,r,i,o]},t.Vm=t.DF},30352:function(e,t){"use strict";var n="file-lines",r=[128441,128462,61686,"file-alt","file-text"],i="f15c",o="M365.3 93.38l-74.63-74.64C278.6 6.742 262.3 0 245.4 0L64-.0001c-35.35 0-64 28.65-64 64l.0065 384c0 35.34 28.65 64 64 64H320c35.2 0 64-28.8 64-64V138.6C384 121.7 377.3 105.4 365.3 93.38zM336 448c0 8.836-7.164 16-16 16H64.02c-8.838 0-16-7.164-16-16L48 64.13c0-8.836 7.164-16 16-16h160L224 128c0 17.67 14.33 32 32 32h79.1V448zM96 280C96 293.3 106.8 304 120 304h144C277.3 304 288 293.3 288 280S277.3 256 264 256h-144C106.8 256 96 266.8 96 280zM264 352h-144C106.8 352 96 362.8 96 376s10.75 24 24 24h144c13.25 0 24-10.75 24-24S277.3 352 264 352z";t.DF={prefix:"far",iconName:n,icon:[384,512,r,i,o]},t.nf=t.DF},19711:function(e,t){"use strict";var n="file-pdf",r=[],i="f1c1",o="M320 464C328.8 464 336 456.8 336 448V416H384V448C384 483.3 355.3 512 320 512H64C28.65 512 0 483.3 0 448V416H48V448C48 456.8 55.16 464 64 464H320zM256 160C238.3 160 224 145.7 224 128V48H64C55.16 48 48 55.16 48 64V192H0V64C0 28.65 28.65 0 64 0H229.5C246.5 0 262.7 6.743 274.7 18.75L365.3 109.3C377.3 121.3 384 137.5 384 154.5V192H336V160H256zM88 224C118.9 224 144 249.1 144 280C144 310.9 118.9 336 88 336H80V368C80 376.8 72.84 384 64 384C55.16 384 48 376.8 48 368V240C48 231.2 55.16 224 64 224H88zM112 280C112 266.7 101.3 256 88 256H80V304H88C101.3 304 112 293.3 112 280zM160 240C160 231.2 167.2 224 176 224H200C226.5 224 248 245.5 248 272V336C248 362.5 226.5 384 200 384H176C167.2 384 160 376.8 160 368V240zM192 352H200C208.8 352 216 344.8 216 336V272C216 263.2 208.8 256 200 256H192V352zM336 224C344.8 224 352 231.2 352 240C352 248.8 344.8 256 336 256H304V288H336C344.8 288 352 295.2 352 304C352 312.8 344.8 320 336 320H304V368C304 376.8 296.8 384 288 384C279.2 384 272 376.8 272 368V240C272 231.2 279.2 224 288 224H336z";t.DF={prefix:"far",iconName:n,icon:[384,512,r,i,o]},t.gS=t.DF},52368:function(e,t){"use strict";var n="gear",r=[9881,"cog"],i="f013",o="M160 256C160 202.1 202.1 160 256 160C309 160 352 202.1 352 256C352 309 309 352 256 352C202.1 352 160 309 160 256zM256 208C229.5 208 208 229.5 208 256C208 282.5 229.5 304 256 304C282.5 304 304 282.5 304 256C304 229.5 282.5 208 256 208zM293.1 .0003C315.3 .0003 334.6 15.19 339.8 36.74L347.6 69.21C356.1 73.36 364.2 78.07 371.9 83.28L404 73.83C425.3 67.56 448.1 76.67 459.2 95.87L496.3 160.1C507.3 179.3 503.8 203.6 487.8 218.9L463.5 241.1C463.8 246.6 464 251.3 464 256C464 260.7 463.8 265.4 463.5 270L487.8 293.1C503.8 308.4 507.3 332.7 496.3 351.9L459.2 416.1C448.1 435.3 425.3 444.4 404 438.2L371.9 428.7C364.2 433.9 356.1 438.6 347.6 442.8L339.8 475.3C334.6 496.8 315.3 512 293.1 512H218.9C196.7 512 177.4 496.8 172.2 475.3L164.4 442.8C155.9 438.6 147.8 433.9 140.1 428.7L107.1 438.2C86.73 444.4 63.94 435.3 52.85 416.1L15.75 351.9C4.66 332.7 8.168 308.4 24.23 293.1L48.47 270C48.16 265.4 48 260.7 48 255.1C48 251.3 48.16 246.6 48.47 241.1L24.23 218.9C8.167 203.6 4.66 179.3 15.75 160.1L52.85 95.87C63.94 76.67 86.73 67.56 107.1 73.83L140.1 83.28C147.8 78.07 155.9 73.36 164.4 69.21L172.2 36.74C177.4 15.18 196.7 0 218.9 0L293.1 .0003zM205.5 103.6L194.3 108.3C181.6 113.6 169.8 120.5 159.1 128.7L149.4 136.1L94.42 119.9L57.31 184.1L98.81 223.6L97.28 235.6C96.44 242.3 96 249.1 96 256C96 262.9 96.44 269.7 97.28 276.4L98.81 288.4L57.32 327.9L94.42 392.1L149.4 375.9L159.1 383.3C169.8 391.5 181.6 398.4 194.3 403.7L205.5 408.4L218.9 464H293.1L306.5 408.4L317.7 403.7C330.4 398.4 342.2 391.5 352.9 383.3L362.6 375.9L417.6 392.1L454.7 327.9L413.2 288.4L414.7 276.4C415.6 269.7 416 262.9 416 256C416 249.1 415.6 242.3 414.7 235.6L413.2 223.6L454.7 184.1L417.6 119.9L362.6 136.1L352.9 128.7C342.2 120.5 330.4 113.6 317.7 108.3L306.5 103.6L293.1 48H218.9L205.5 103.6z";t.DF={prefix:"far",iconName:n,icon:[512,512,r,i,o]},t.gr=t.DF},39650:function(e,t,n){"use strict";var r=n(13718);t.DF={prefix:r.prefix,iconName:r.iconName,icon:[r.width,r.height,r.aliases,r.unicode,r.svgPathData]},t.sq=t.DF,r.prefix,r.iconName,r.width,r.height,r.aliases,r.unicode,r.svgPathData,r.aliases},61322:function(e,t){"use strict";var n="layer-group",r=[],i="f5fd",o="M231.2 5.092C239 1.732 247.5 0 256 0C264.5 0 272.1 1.732 280.8 5.092L490.1 94.79C503.4 100.5 512 113.5 512 128C512 142.5 503.4 155.5 490.1 161.2L280.8 250.9C272.1 254.3 264.5 256 256 256C247.5 256 239 254.3 231.2 250.9L21.9 161.2C8.614 155.5 0 142.5 0 128C0 113.5 8.614 100.5 21.9 94.79L231.2 5.092zM256 48C253.1 48 251.1 48.41 250.1 49.21L66.26 128L250.1 206.8C251.1 207.6 253.1 208 256 208C258 208 260 207.6 261.9 206.8L445.7 128L261.9 49.21C260 48.41 258 48 256 48V48zM250.1 334.8C251.1 335.6 253.1 336 256 336C258 336 260 335.6 261.9 334.8L452 253.3C447.4 246.4 446.5 237.2 450.5 229.3C456.5 217.4 470.9 212.6 482.7 218.5L491.8 223.1C504.2 229.3 512 241.9 512 255.7C512 270.4 503.3 283.6 489.9 289.3L280.8 378.9C272.1 382.3 264.5 384 256 384C247.5 384 239 382.3 231.2 378.9L22.81 289.6C8.971 283.7 .0006 270.1 .0006 255C.0006 242.9 5.869 231.5 15.76 224.4L26.05 217C36.84 209.3 51.83 211.8 59.53 222.6C66.15 231.9 65.24 244.3 57.1 252.5L250.1 334.8zM59.53 350.6C66.15 359.9 65.24 372.3 57.1 380.5L250.1 462.8C251.1 463.6 253.1 464 256 464C258 464 260 463.6 261.9 462.8L452 381.3C447.4 374.4 446.5 365.2 450.5 357.3C456.5 345.4 470.9 340.6 482.7 346.5L491.8 351.1C504.2 357.3 512 369.9 512 383.7C512 398.4 503.3 411.6 489.9 417.3L280.8 506.9C272.1 510.3 264.5 512 256 512C247.5 512 239 510.3 231.2 506.9L22.81 417.6C8.971 411.7 .001 398.1 .001 383C.001 370.9 5.87 359.5 15.76 352.4L26.05 345C36.84 337.3 51.83 339.8 59.53 350.6L59.53 350.6z";t.DF={prefix:"far",iconName:n,icon:[512,512,r,i,o]},t.Kr=t.DF},87169:function(e,t){"use strict";var n="link-simple",r=[],i="e1cd",o="M0 256C0 167.6 71.6 96 160 96h72c13.3 0 24 10.7 24 24s-10.7 24-24 24H160C98.1 144 48 194.1 48 256s50.1 112 112 112h72c13.3 0 24 10.7 24 24s-10.7 24-24 24H160C71.6 416 0 344.4 0 256zm576 0c0 88.4-71.6 160-160 160H344c-13.3 0-24-10.7-24-24s10.7-24 24-24h72c61.9 0 112-50.1 112-112s-50.1-112-112-112H344c-13.3 0-24-10.7-24-24s10.7-24 24-24h72c88.4 0 160 71.6 160 160zM184 232H392c13.3 0 24 10.7 24 24s-10.7 24-24 24H184c-13.3 0-24-10.7-24-24s10.7-24 24-24z";t.DF={prefix:"far",iconName:n,icon:[576,512,r,i,o]},t.uW=t.DF},10010:function(e,t){"use strict";var n="link-simple-slash",r=[],i="e1ce",o="M38.8 5.1C28.4-3.1 13.3-1.2 5.1 9.2S-1.2 34.7 9.2 42.9l592 464c10.4 8.2 25.5 6.3 33.7-4.1s6.3-25.5-4.1-33.7L532.4 392c45.4-28.2 75.6-78.6 75.6-136c0-88.4-71.6-160-160-160H376c-13.3 0-24 10.7-24 24s10.7 24 24 24h72c61.9 0 112 50.1 112 112c0 46.6-28.5 86.6-69.1 103.5L389.5 280H424c13.3 0 24-10.7 24-24s-10.7-24-24-24H328.3L216 144h48c13.3 0 24-10.7 24-24s-10.7-24-24-24H192c-11.3 0-22.3 1.2-32.9 3.4L38.8 5.1zm69.6 176.3L70.7 151.7C46.6 179.7 32 216.1 32 256c0 88.4 71.6 160 160 160h72c13.3 0 24-10.7 24-24s-10.7-24-24-24H192c-61.9 0-112-50.1-112-112c0-28.6 10.7-54.8 28.4-74.6z";t.DF={prefix:"far",iconName:n,icon:[640,512,r,i,o]},t.aT=t.DF},73657:function(e,t){"use strict";var n="magnifying-glass",r=[128269,"search"],i="f002",o="M504.1 471l-134-134C399.1 301.5 415.1 256.8 415.1 208c0-114.9-93.13-208-208-208S-.0002 93.13-.0002 208S93.12 416 207.1 416c48.79 0 93.55-16.91 129-45.04l134 134C475.7 509.7 481.9 512 488 512s12.28-2.344 16.97-7.031C514.3 495.6 514.3 480.4 504.1 471zM48 208c0-88.22 71.78-160 160-160s160 71.78 160 160s-71.78 160-160 160S48 296.2 48 208z";t.DF={prefix:"far",iconName:n,icon:[512,512,r,i,o]},t.Y$=t.DF},18403:function(e,t){"use strict";var n="palette",r=[127912],i="f53f",o="M160 255.1C160 273.7 145.7 287.1 128 287.1C110.3 287.1 96 273.7 96 255.1C96 238.3 110.3 223.1 128 223.1C145.7 223.1 160 238.3 160 255.1zM128 159.1C128 142.3 142.3 127.1 160 127.1C177.7 127.1 192 142.3 192 159.1C192 177.7 177.7 191.1 160 191.1C142.3 191.1 128 177.7 128 159.1zM288 127.1C288 145.7 273.7 159.1 256 159.1C238.3 159.1 224 145.7 224 127.1C224 110.3 238.3 95.1 256 95.1C273.7 95.1 288 110.3 288 127.1zM320 159.1C320 142.3 334.3 127.1 352 127.1C369.7 127.1 384 142.3 384 159.1C384 177.7 369.7 191.1 352 191.1C334.3 191.1 320 177.7 320 159.1zM441.9 319.1H344C317.5 319.1 296 341.5 296 368C296 371.4 296.4 374.7 297 377.9C299.2 388.1 303.5 397.1 307.9 407.8C313.9 421.6 320 435.3 320 449.8C320 481.7 298.4 510.5 266.6 511.8C263.1 511.9 259.5 512 256 512C114.6 512 0 397.4 0 256C0 114.6 114.6 0 256 0C397.4 0 512 114.6 512 256C512 256.9 511.1 257.8 511.1 258.7C511.6 295.2 478.4 320 441.9 320V319.1zM463.1 258.2C463.1 257.4 464 256.7 464 255.1C464 141.1 370.9 47.1 256 47.1C141.1 47.1 48 141.1 48 255.1C48 370.9 141.1 464 256 464C258.9 464 261.8 463.9 264.6 463.8C265.4 463.8 265.9 463.6 266.2 463.5C266.6 463.2 267.3 462.8 268.2 461.7C270.1 459.4 272 455.2 272 449.8C272 448.1 271.4 444.3 266.4 432.7C265.8 431.5 265.2 430.1 264.5 428.5C260.2 418.9 253.4 403.5 250.1 387.8C248.7 381.4 248 374.8 248 368C248 314.1 290.1 271.1 344 271.1H441.9C449.6 271.1 455.1 269.3 459.7 266.2C463 263.4 463.1 260.9 463.1 258.2V258.2z";t.DF={prefix:"far",iconName:n,icon:[512,512,r,i,o]},t.q2=t.DF},42226:function(e,t){"use strict";var n="pen-line",r=[],i="e212",o="M36.37 360.9C40.53 346.8 48.16 333.9 58.57 323.5L362.7 19.32C387.7-5.678 428.3-5.678 453.3 19.32L492.7 58.75C495.8 61.87 498.5 65.24 500.9 68.79C517.3 93.63 514.6 127.4 492.7 149.3L188.5 453.4C187.2 454.7 185.9 455.1 184.5 457.2C174.9 465.7 163.5 471.1 151.1 475.6L30.77 511C22.35 513.5 13.24 511.2 7.03 504.1C.8198 498.8-1.502 489.7 .976 481.2L36.37 360.9zM59.44 452.6L137.6 429.6C143.1 427.7 149.8 424.2 154.6 419.5L383 191L320.1 128.1L92.51 357.4C91.92 358 91.35 358.6 90.8 359.3C86.94 363.6 84.07 368.8 82.42 374.4L59.44 452.6zM552 464C565.3 464 576 474.7 576 488C576 501.3 565.3 512 552 512H248C234.7 512 224 501.3 224 488C224 474.7 234.7 464 248 464H552z";t.DF={prefix:"far",iconName:n,icon:[576,512,r,i,o]},t.E8=t.DF},93763:function(e,t){"use strict";var n="pen-to-square",r=["edit"],i="f044",o="M373.1 24.97C401.2-3.147 446.8-3.147 474.9 24.97L487 37.09C515.1 65.21 515.1 110.8 487 138.9L289.8 336.2C281.1 344.8 270.4 351.1 258.6 354.5L158.6 383.1C150.2 385.5 141.2 383.1 135 376.1C128.9 370.8 126.5 361.8 128.9 353.4L157.5 253.4C160.9 241.6 167.2 230.9 175.8 222.2L373.1 24.97zM440.1 58.91C431.6 49.54 416.4 49.54 407 58.91L377.9 88L424 134.1L453.1 104.1C462.5 95.6 462.5 80.4 453.1 71.03L440.1 58.91zM203.7 266.6L186.9 325.1L245.4 308.3C249.4 307.2 252.9 305.1 255.8 302.2L390.1 168L344 121.9L209.8 256.2C206.9 259.1 204.8 262.6 203.7 266.6zM200 64C213.3 64 224 74.75 224 88C224 101.3 213.3 112 200 112H88C65.91 112 48 129.9 48 152V424C48 446.1 65.91 464 88 464H360C382.1 464 400 446.1 400 424V312C400 298.7 410.7 288 424 288C437.3 288 448 298.7 448 312V424C448 472.6 408.6 512 360 512H88C39.4 512 0 472.6 0 424V152C0 103.4 39.4 64 88 64H200z";t.DF={prefix:"far",iconName:n,icon:[512,512,r,i,o]},t.Y=t.DF},35120:function(e,t){"use strict";var n="pencil",r=[9999,61504,"pencil-alt"],i="f303",o="M36.4 360.9L13.4 439 1 481.2C-1.5 489.7 .8 498.8 7 505s15.3 8.5 23.7 6.1L73 498.6l78.1-23c10.4-3 20.1-8 28.6-14.5l.3 .2 .5-.8c1.4-1.1 2.7-2.2 4-3.3c1.4-1.2 2.7-2.5 4-3.8L492.7 149.3c21.9-21.9 24.6-55.6 8.2-80.5c-2.3-3.5-5.1-6.9-8.2-10L453.3 19.3c-25-25-65.5-25-90.5 0L58.6 323.5c-2.5 2.5-4.9 5.2-7.1 8l-.8 .5 .2 .3c-6.5 8.5-11.4 18.2-14.5 28.6zM383 191L197.4 376.6l-49.6-12.4-12.4-49.6L321 129 383 191zM97 358.9l7.7 31c2.1 8.6 8.9 15.3 17.5 17.5l31 7.7-7.4 11.2c-2.6 1.4-5.3 2.6-8.1 3.4l-23.4 6.9L59.4 452.6l16.1-54.8 6.9-23.4c.8-2.8 2-5.6 3.4-8.1L97 358.9zM315.3 218.7c6.2-6.2 6.2-16.4 0-22.6s-16.4-6.2-22.6 0l-96 96c-6.2 6.2-6.2 16.4 0 22.6s16.4 6.2 22.6 0l96-96z";t.DF={prefix:"far",iconName:n,icon:[512,512,r,i,o]},t.Tz=t.DF},13920:function(e,t){"use strict";var n="play",r=[9654],i="f04b",o="M24.52 38.13C39.66 29.64 58.21 29.99 73.03 39.04L361 215C375.3 223.8 384 239.3 384 256C384 272.7 375.3 288.2 361 296.1L73.03 472.1C58.21 482 39.66 482.4 24.52 473.9C9.377 465.4 0 449.4 0 432V80C0 62.64 9.377 46.63 24.52 38.13V38.13zM48 432L336 256L48 80V432z";t.DF={prefix:"far",iconName:n,icon:[384,512,r,i,o]},t.zc=t.DF},27940:function(e,t){"use strict";var n="rectangle",r=[9644,"rectangle-landscape"],i="f2fa",o="M448 64C483.3 64 512 92.65 512 128V384C512 419.3 483.3 448 448 448H64C28.65 448 0 419.3 0 384V128C0 92.65 28.65 64 64 64H448zM448 112H64C55.16 112 48 119.2 48 128V384C48 392.8 55.16 400 64 400H448C456.8 400 464 392.8 464 384V128C464 119.2 456.8 112 448 112z";t.DF={prefix:"far",iconName:n,icon:[512,512,r,i,o]},t.lC=t.DF},62955:function(e,t){"use strict";var n="rectangle-history-circle-plus",r=[],i="e4a3",o="M63.1 464H348.5C360.7 482.8 376.5 499.1 394.8 512H64C28.65 512 0 483.3 0 448V224C0 188.7 28.65 160 64 160H448C471.8 160 492.5 172.9 503.5 192.2C501 192.1 498.5 192 496 192C469.8 192 444.9 197.7 422.6 208H64C55.16 208 48 215.2 48 224V448C48 456.8 55.16 464 64 464H63.1zM440 80C453.3 80 464 90.75 464 104C464 117.3 453.3 128 440 128H71.1C58.74 128 47.1 117.3 47.1 104C47.1 90.75 58.74 80 71.1 80H440zM392 0C405.3 0 416 10.75 416 24C416 37.25 405.3 48 392 48H119.1C106.7 48 95.1 37.25 95.1 24C95.1 10.75 106.7 0 119.1 0H392zM352 368C352 288.5 416.5 224 496 224C575.5 224 640 288.5 640 368C640 447.5 575.5 512 496 512C416.5 512 352 447.5 352 368zM512 303.1C512 295.2 504.8 287.1 496 287.1C487.2 287.1 480 295.2 480 303.1V351.1H432C423.2 351.1 416 359.2 416 367.1C416 376.8 423.2 383.1 432 383.1H480V431.1C480 440.8 487.2 447.1 496 447.1C504.8 447.1 512 440.8 512 431.1V383.1H560C568.8 383.1 576 376.8 576 367.1C576 359.2 568.8 351.1 560 351.1H512V303.1z";t.DF={prefix:"far",iconName:n,icon:[640,512,r,i,o]},t.rZ=t.DF},55367:function(e,t){"use strict";var n="ruler-triangle",r=[128208],i="f61c",o="M256 384H128V256L256 384zM512 477.3V480C512 497.7 497.7 512 480 512H64C28.65 512 0 483.3 0 448V32C0 14.33 14.33 0 32 0H34.75C43.23 0 51.37 3.372 57.37 9.372L502.6 454.6C508.6 460.6 512 468.8 512 477.3zM64 464H444.1L377.4 397.3L363.3 411.3C357.1 417.6 346.9 417.6 340.7 411.3C334.4 405.1 334.4 394.9 340.7 388.7L354.7 374.6L297.4 317.3L283.3 331.3C277.1 337.6 266.9 337.6 260.7 331.3C254.4 325.1 254.4 314.9 260.7 308.7L274.7 294.6L217.4 237.3L203.3 251.3C197.1 257.6 186.9 257.6 180.7 251.3C174.4 245.1 174.4 234.9 180.7 228.7L194.7 214.6L137.4 157.3L123.3 171.3C117.1 177.6 106.9 177.6 100.7 171.3C94.44 165.1 94.44 154.9 100.7 148.7L114.7 134.6L47.1 67.88V448C47.1 456.8 55.16 464 63.1 464L64 464z";t.DF={prefix:"far",iconName:n,icon:[512,512,r,i,o]},t.iZ=t.DF},64316:function(e,t){"use strict";var n="sliders-simple",r=[],i="e253",o="M488 344C501.3 344 512 354.7 512 368C512 381.3 501.3 392 488 392H156.3C146.1 424.5 115.8 448 80 448C35.82 448 0 412.2 0 368C0 323.8 35.82 288 80 288C115.8 288 146.1 311.5 156.3 344H488zM48 368C48 385.7 62.33 400 80 400C97.67 400 112 385.7 112 368C112 350.3 97.67 336 80 336C62.33 336 48 350.3 48 368zM355.7 120C365.9 87.54 396.2 64 432 64C476.2 64 512 99.82 512 144C512 188.2 476.2 224 432 224C396.2 224 365.9 200.5 355.7 168H24C10.75 168 0 157.3 0 144C0 130.7 10.75 120 24 120H355.7zM432 176C449.7 176 464 161.7 464 144C464 126.3 449.7 112 432 112C414.3 112 400 126.3 400 144C400 161.7 414.3 176 432 176z";t.DF={prefix:"far",iconName:n,icon:[512,512,r,i,o]},t.pw=t.DF},71627:function(e,t){"use strict";var n="sparkles",r=[10024],i="f890",o="M327.5 85.19L384 64L405.2 7.491C406.9 2.985 411.2 0 416 0C420.8 0 425.1 2.985 426.8 7.491L448 64L504.5 85.19C509 86.88 512 91.19 512 96C512 100.8 509 105.1 504.5 106.8L448 128L426.8 184.5C425.1 189 420.8 192 416 192C411.2 192 406.9 189 405.2 184.5L384 128L327.5 106.8C322.1 105.1 320 100.8 320 96C320 91.19 322.1 86.88 327.5 85.19V85.19zM176 73.29C178.6 67.63 184.3 64 190.6 64C196.8 64 202.5 67.63 205.1 73.29L257.8 187.3L371.8 240C377.5 242.6 381.1 248.3 381.1 254.6C381.1 260.8 377.5 266.5 371.8 269.1L257.8 321.8L205.1 435.8C202.5 441.5 196.8 445.1 190.6 445.1C184.3 445.1 178.6 441.5 176 435.8L123.3 321.8L9.292 269.1C3.627 266.5 0 260.8 0 254.6C0 248.3 3.627 242.6 9.292 240L123.3 187.3L176 73.29zM166.9 207.5C162.1 217.8 153.8 226.1 143.5 230.9L92.32 254.6L143.5 278.2C153.8 282.1 162.1 291.3 166.9 301.6L190.6 352.8L214.2 301.6C218.1 291.3 227.3 282.1 237.6 278.2L288.8 254.6L237.6 230.9C227.3 226.1 218.1 217.8 214.2 207.5L190.6 156.3L166.9 207.5zM405.2 327.5C406.9 322.1 411.2 320 416 320C420.8 320 425.1 322.1 426.8 327.5L448 384L504.5 405.2C509 406.9 512 411.2 512 416C512 420.8 509 425.1 504.5 426.8L448 448L426.8 504.5C425.1 509 420.8 512 416 512C411.2 512 406.9 509 405.2 504.5L384 448L327.5 426.8C322.1 425.1 320 420.8 320 416C320 411.2 322.1 406.9 327.5 405.2L384 384L405.2 327.5z";t.DF={prefix:"far",iconName:n,icon:[512,512,r,i,o]},t.Jy=t.DF},1190:function(e,t){"use strict";var n="spinner-third",r=[],i="f3f4",o="M264 24C264 10.75 274.7 0 288 0C429.4 0 544 114.6 544 256C544 302.6 531.5 346.4 509.7 384C503.1 395.5 488.4 399.4 476.9 392.8C465.5 386.2 461.5 371.5 468.2 360C485.9 329.4 496 293.9 496 255.1C496 141.1 402.9 47.1 288 47.1C274.7 47.1 264 37.25 264 23.1V24z";t.DF={prefix:"far",iconName:n,icon:[576,512,r,i,o]},t.AX=t.DF},53664:function(e,t){"use strict";var n="square-arrow-right",r=["arrow-square-right"],i="f33b",o="M384 32H64C28.66 32 0 60.66 0 96v320c0 35.34 28.66 64 64 64h320c35.34 0 64-28.66 64-64V96C448 60.66 419.3 32 384 32zM400 416c0 8.82-7.18 16-16 16H64c-8.82 0-16-7.18-16-16V96c0-8.82 7.18-16 16-16h320c8.82 0 16 7.18 16 16V416zM232.3 134.4c-9.719-9-24.91-8.438-33.94 1.25c-9 9.719-8.469 24.88 1.25 33.94l67.21 62.41H120c-13.25 0-24 10.76-24 24.01c0 13.25 10.75 23.99 24 23.99h146.9l-67.21 62.41c-9.719 9.062-10.25 24.22-1.25 33.94c9.031 9.688 24.22 10.25 33.94 1.25l112-104C349.2 269 352 262.7 352 255.1s-2.781-13.04-7.656-17.6L232.3 134.4z";t.DF={prefix:"far",iconName:n,icon:[448,512,r,i,o]},t.JU=t.DF},27647:function(e,t){"use strict";var n="square-arrow-up-right",r=["external-link-square"],i="f14c",o="M312 144H156.7c-13.25 0-24 10.75-24 24S143.5 192 156.7 192h97.34l-135 135c-9.375 9.375-9.375 24.56 0 33.94C123.7 365.7 129.8 368 136 368s12.28-2.344 16.97-7.031L288 225.9v97.34c0 13.25 10.75 24 24 24s24-10.75 24-24V168C336 154.8 325.3 144 312 144zM384 32H64C28.65 32 0 60.66 0 96v320c0 35.34 28.65 64 64 64h320c35.35 0 64-28.66 64-64V96C448 60.66 419.3 32 384 32zM400 416c0 8.82-7.178 16-16 16H64c-8.822 0-16-7.18-16-16V96c0-8.82 7.178-16 16-16h320c8.822 0 16 7.18 16 16V416z";t.DF={prefix:"far",iconName:n,icon:[448,512,r,i,o]},t.ZE=t.DF},63005:function(e,t){"use strict";var n="square-check",r=[9745,9989,61510,"check-square"],i="f14a",o="M211.8 339.8C200.9 350.7 183.1 350.7 172.2 339.8L108.2 275.8C97.27 264.9 97.27 247.1 108.2 236.2C119.1 225.3 136.9 225.3 147.8 236.2L192 280.4L300.2 172.2C311.1 161.3 328.9 161.3 339.8 172.2C350.7 183.1 350.7 200.9 339.8 211.8L211.8 339.8zM0 96C0 60.65 28.65 32 64 32H384C419.3 32 448 60.65 448 96V416C448 451.3 419.3 480 384 480H64C28.65 480 0 451.3 0 416V96zM48 96V416C48 424.8 55.16 432 64 432H384C392.8 432 400 424.8 400 416V96C400 87.16 392.8 80 384 80H64C55.16 80 48 87.16 48 96z";t.DF={prefix:"far",iconName:n,icon:[448,512,r,i,o]},t.ch=t.DF},35155:function(e,t){"use strict";var n="trash-can",r=[61460,"trash-alt"],i="f2ed",o="M160 400C160 408.8 152.8 416 144 416C135.2 416 128 408.8 128 400V192C128 183.2 135.2 176 144 176C152.8 176 160 183.2 160 192V400zM240 400C240 408.8 232.8 416 224 416C215.2 416 208 408.8 208 400V192C208 183.2 215.2 176 224 176C232.8 176 240 183.2 240 192V400zM320 400C320 408.8 312.8 416 304 416C295.2 416 288 408.8 288 400V192C288 183.2 295.2 176 304 176C312.8 176 320 183.2 320 192V400zM317.5 24.94L354.2 80H424C437.3 80 448 90.75 448 104C448 117.3 437.3 128 424 128H416V432C416 476.2 380.2 512 336 512H112C67.82 512 32 476.2 32 432V128H24C10.75 128 0 117.3 0 104C0 90.75 10.75 80 24 80H93.82L130.5 24.94C140.9 9.357 158.4 0 177.1 0H270.9C289.6 0 307.1 9.358 317.5 24.94H317.5zM151.5 80H296.5L277.5 51.56C276 49.34 273.5 48 270.9 48H177.1C174.5 48 171.1 49.34 170.5 51.56L151.5 80zM80 432C80 449.7 94.33 464 112 464H336C353.7 464 368 449.7 368 432V128H80V432z";t.DF={prefix:"far",iconName:n,icon:[448,512,r,i,o]},t.Vu=t.DF},23452:function(e,t){"use strict";var n="video",r=["video-camera"],i="f03d",o="M557.6 102.3c-11.53-7.406-25.88-8.391-38.28-2.688L416 147V128c0-35.35-28.65-64-64-64H64C28.65 64 0 92.65 0 128v256c0 35.35 28.65 64 64 64h288c35.35 0 64-28.65 64-64v-19.02l103.3 47.36c5.344 2.453 11.03 3.672 16.69 3.672c7.531 0 15.02-2.141 21.59-6.359C569.1 402.3 576 389.7 576 375.1V136C576 122.3 569.1 109.8 557.6 102.3zM368 384c0 8.822-7.178 16-16 16H64c-8.822 0-16-7.178-16-16V128c0-8.822 7.178-16 16-16h288c8.822 0 16 7.178 16 16V384zM528 363.5L416 312.2V199.8l112-51.33V363.5z";t.DF={prefix:"far",iconName:n,icon:[576,512,r,i,o]},t.Iy=t.DF},67391:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n="xmark",r=[128473,10005,10006,10060,215,"close","multiply","remove","times"],i="f00d",o="M312.1 375c9.369 9.369 9.369 24.57 0 33.94s-24.57 9.369-33.94 0L160 289.9l-119 119c-9.369 9.369-24.57 9.369-33.94 0s-9.369-24.57 0-33.94L126.1 256L7.027 136.1c-9.369-9.369-9.369-24.57 0-33.94s24.57-9.369 33.94 0L160 222.1l119-119c9.369-9.369 24.57-9.369 33.94 0s9.369 24.57 0 33.94L193.9 256L312.1 375z";t.definition={prefix:"far",iconName:n,icon:[320,512,r,i,o]},t.faXmark=t.definition,t.prefix="far",t.iconName=n,t.width=320,t.height=512,t.ligatures=r,t.unicode=i,t.svgPathData=o,t.aliases=r},20655:function(e,t){"use strict";var n="align-left",r=[],i="f036",o="M288 64c0 17.7-14.3 32-32 32H32C14.3 96 0 81.7 0 64S14.3 32 32 32H256c17.7 0 32 14.3 32 32zm0 256c0 17.7-14.3 32-32 32H32c-17.7 0-32-14.3-32-32s14.3-32 32-32H256c17.7 0 32 14.3 32 32zM0 192c0-17.7 14.3-32 32-32H416c17.7 0 32 14.3 32 32s-14.3 32-32 32H32c-17.7 0-32-14.3-32-32zM448 448c0 17.7-14.3 32-32 32H32c-17.7 0-32-14.3-32-32s14.3-32 32-32H416c17.7 0 32 14.3 32 32z";t.DF={prefix:"fas",iconName:n,icon:[448,512,r,i,o]},t.el=t.DF},75028:function(e,t){"use strict";var n="bars",r=["navicon"],i="f0c9",o="M0 96C0 78.3 14.3 64 32 64H416c17.7 0 32 14.3 32 32s-14.3 32-32 32H32C14.3 128 0 113.7 0 96zM0 256c0-17.7 14.3-32 32-32H416c17.7 0 32 14.3 32 32s-14.3 32-32 32H32c-17.7 0-32-14.3-32-32zM448 416c0 17.7-14.3 32-32 32H32c-17.7 0-32-14.3-32-32s14.3-32 32-32H416c17.7 0 32 14.3 32 32z";t.DF={prefix:"fas",iconName:n,icon:[448,512,r,i,o]},t.xi=t.DF},903:function(e,t){"use strict";var n="check",r=[10003,10004],i="f00c",o="M470.6 105.4c12.5 12.5 12.5 32.8 0 45.3l-256 256c-12.5 12.5-32.8 12.5-45.3 0l-128-128c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0L192 338.7 425.4 105.4c12.5-12.5 32.8-12.5 45.3 0z";t.DF={prefix:"fas",iconName:n,icon:[512,512,r,i,o]},t.LE=t.DF},41778:function(e,t){"use strict";var n="chevron-down",r=[],i="f078",o="M233.4 406.6c12.5 12.5 32.8 12.5 45.3 0l192-192c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L256 338.7 86.6 169.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l192 192z";t.DF={prefix:"fas",iconName:n,icon:[512,512,r,i,o]},t.pt=t.DF},75334:function(e,t){"use strict";var n="chevron-left",r=[9001],i="f053",o="M41.4 233.4c-12.5 12.5-12.5 32.8 0 45.3l192 192c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L109.3 256 278.6 86.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-192 192z";t.DF={prefix:"fas",iconName:n,icon:[384,512,r,i,o]},t.A3=t.DF},64746:function(e,t){"use strict";var n="chevron-right",r=[9002],i="f054",o="M342.6 233.4c12.5 12.5 12.5 32.8 0 45.3l-192 192c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L274.7 256 105.4 86.6c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0l192 192z";t.DF={prefix:"fas",iconName:n,icon:[384,512,r,i,o]},t._t=t.DF},72821:function(e,t){"use strict";var n="chevron-up",r=[],i="f077",o="M233.4 105.4c12.5-12.5 32.8-12.5 45.3 0l192 192c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L256 173.3 86.6 342.6c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3l192-192z";t.DF={prefix:"fas",iconName:n,icon:[512,512,r,i,o]},t.mT=t.DF},55904:function(e,t){"use strict";var n="circle-check",r=[61533,"check-circle"],i="f058",o="M256 512c141.4 0 256-114.6 256-256S397.4 0 256 0S0 114.6 0 256S114.6 512 256 512zM369 209L241 337c-9.4 9.4-24.6 9.4-33.9 0l-64-64c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l47 47L335 175c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9z";t.DF={prefix:"fas",iconName:n,icon:[512,512,r,i,o]},t.fV=t.DF},16923:function(e,t){"use strict";var n="circle-plus",r=["plus-circle"],i="f055",o="M256 512c141.4 0 256-114.6 256-256S397.4 0 256 0S0 114.6 0 256S114.6 512 256 512zM232 344V280H168c-13.3 0-24-10.7-24-24s10.7-24 24-24h64V168c0-13.3 10.7-24 24-24s24 10.7 24 24v64h64c13.3 0 24 10.7 24 24s-10.7 24-24 24H280v64c0 13.3-10.7 24-24 24s-24-10.7-24-24z";t.DF={prefix:"fas",iconName:n,icon:[512,512,r,i,o]},t.EQ=t.DF},27898:function(e,t){"use strict";var n="grid-2",r=[],i="e196",o="M192 80c0-26.5-21.5-48-48-48H48C21.5 32 0 53.5 0 80v96c0 26.5 21.5 48 48 48h96c26.5 0 48-21.5 48-48V80zm0 256c0-26.5-21.5-48-48-48H48c-26.5 0-48 21.5-48 48v96c0 26.5 21.5 48 48 48h96c26.5 0 48-21.5 48-48V336zM256 80v96c0 26.5 21.5 48 48 48h96c26.5 0 48-21.5 48-48V80c0-26.5-21.5-48-48-48H304c-26.5 0-48 21.5-48 48zM448 336c0-26.5-21.5-48-48-48H304c-26.5 0-48 21.5-48 48v96c0 26.5 21.5 48 48 48h96c26.5 0 48-21.5 48-48V336z";t.DF={prefix:"fas",iconName:n,icon:[448,512,r,i,o]},t.em=t.DF},56931:function(e,t){"use strict";var n="lock",r=[128274],i="f023",o="M144 144v48H304V144c0-44.2-35.8-80-80-80s-80 35.8-80 80zM80 192V144C80 64.5 144.5 0 224 0s144 64.5 144 144v48h16c35.3 0 64 28.7 64 64V448c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V256c0-35.3 28.7-64 64-64H80z";t.DF={prefix:"fas",iconName:n,icon:[448,512,r,i,o]},t.by=t.DF},15941:function(e,t){"use strict";var n="sparkles",r=[10024],i="f890",o="M327.5 85.2c-4.5 1.7-7.5 6-7.5 10.8s3 9.1 7.5 10.8L384 128l21.2 56.5c1.7 4.5 6 7.5 10.8 7.5s9.1-3 10.8-7.5L448 128l56.5-21.2c4.5-1.7 7.5-6 7.5-10.8s-3-9.1-7.5-10.8L448 64 426.8 7.5C425.1 3 420.8 0 416 0s-9.1 3-10.8 7.5L384 64 327.5 85.2zM205.1 73.3c-2.6-5.7-8.3-9.3-14.5-9.3s-11.9 3.6-14.5 9.3L123.3 187.3 9.3 240C3.6 242.6 0 248.3 0 254.6s3.6 11.9 9.3 14.5l114.1 52.7L176 435.8c2.6 5.7 8.3 9.3 14.5 9.3s11.9-3.6 14.5-9.3l52.7-114.1 114.1-52.7c5.7-2.6 9.3-8.3 9.3-14.5s-3.6-11.9-9.3-14.5L257.8 187.4 205.1 73.3zM384 384l-56.5 21.2c-4.5 1.7-7.5 6-7.5 10.8s3 9.1 7.5 10.8L384 448l21.2 56.5c1.7 4.5 6 7.5 10.8 7.5s9.1-3 10.8-7.5L448 448l56.5-21.2c4.5-1.7 7.5-6 7.5-10.8s-3-9.1-7.5-10.8L448 384l-21.2-56.5c-1.7-4.5-6-7.5-10.8-7.5s-9.1 3-10.8 7.5L384 384z";t.DF={prefix:"fas",iconName:n,icon:[512,512,r,i,o]},t.Jy=t.DF},62037:function(e,t){"use strict";var n="user-group",r=[128101,"user-friends"],i="f500",o="M352 128c0 70.7-57.3 128-128 128s-128-57.3-128-128S153.3 0 224 0s128 57.3 128 128zM0 482.3C0 383.8 79.8 304 178.3 304h91.4C368.2 304 448 383.8 448 482.3c0 16.4-13.3 29.7-29.7 29.7H29.7C13.3 512 0 498.7 0 482.3zM609.3 512H471.4c5.4-9.4 8.6-20.3 8.6-32v-8c0-60.7-27.1-115.2-69.8-151.8c2.4-.1 4.7-.2 7.1-.2h61.4C567.8 320 640 392.2 640 481.3c0 17-13.8 30.7-30.7 30.7zM432 256c-31 0-59-12.6-79.3-32.9C372.4 196.5 384 163.6 384 128c0-26.8-6.6-52.1-18.3-74.3C384.3 40.1 407.2 32 432 32c61.9 0 112 50.1 112 112s-50.1 112-112 112z";t.DF={prefix:"fas",iconName:n,icon:[640,512,r,i,o]},t.Nd=t.DF},79066:function(e,t){"use strict";var n="xmark",r=[128473,10005,10006,10060,215,"close","multiply","remove","times"],i="f00d",o="M310.6 150.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L160 210.7 54.6 105.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L114.7 256 9.4 361.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L160 301.3 265.4 406.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L205.3 256 310.6 150.6z";t.DF={prefix:"fas",iconName:n,icon:[320,512,r,i,o]},t.g8=t.DF},67814:function(e,t,n){"use strict";n.d(t,{G:function(){return w}});var r=n(23636),i=n(89632),o=n.n(i),a=n(28416),s=n.n(a);function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function c(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u(Object(n),!0).forEach((function(t){f(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function l(e){return l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},l(e)}function f(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function d(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function p(e){return function(e){if(Array.isArray(e))return h(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return h(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return h(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function h(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function g(e){return t=e,(t-=0)==t?e:(e=e.replace(/[\-_\s]+(.)?/g,(function(e,t){return t?t.toUpperCase():""}))).substr(0,1).toLowerCase()+e.substr(1);var t}var m=["style"];function y(e){return e.split(";").map((function(e){return e.trim()})).filter((function(e){return e})).reduce((function(e,t){var n,r=t.indexOf(":"),i=g(t.slice(0,r)),o=t.slice(r+1).trim();return i.startsWith("webkit")?e[(n=i,n.charAt(0).toUpperCase()+n.slice(1))]=o:e[i]=o,e}),{})}var v=!1;try{v=!0}catch(e){}function b(e){return e&&"object"===l(e)&&e.prefix&&e.iconName&&e.icon?e:r.Qc.icon?r.Qc.icon(e):null===e?null:e&&"object"===l(e)&&e.prefix&&e.iconName?e:Array.isArray(e)&&2===e.length?{prefix:e[0],iconName:e[1]}:"string"==typeof e?{prefix:"fas",iconName:e}:void 0}function _(e,t){return Array.isArray(t)&&t.length>0||!Array.isArray(t)&&t?f({},e,t):{}}var w=s().forwardRef((function(e,t){var n=e.icon,i=e.mask,o=e.symbol,a=e.className,s=e.title,u=e.titleId,l=e.maskId,d=b(n),h=_("classes",[].concat(p(function(e){var t,n=e.beat,r=e.fade,i=e.beatFade,o=e.bounce,a=e.shake,s=e.flash,u=e.spin,c=e.spinPulse,l=e.spinReverse,d=e.pulse,p=e.fixedWidth,h=e.inverse,g=e.border,m=e.listItem,y=e.flip,v=e.size,b=e.rotation,_=e.pull,w=(f(t={"fa-beat":n,"fa-fade":r,"fa-beat-fade":i,"fa-bounce":o,"fa-shake":a,"fa-flash":s,"fa-spin":u,"fa-spin-reverse":l,"fa-spin-pulse":c,"fa-pulse":d,"fa-fw":p,"fa-inverse":h,"fa-border":g,"fa-li":m,"fa-flip":!0===y,"fa-flip-horizontal":"horizontal"===y||"both"===y,"fa-flip-vertical":"vertical"===y||"both"===y},"fa-".concat(v),null!=v),f(t,"fa-rotate-".concat(b),null!=b&&0!==b),f(t,"fa-pull-".concat(_),null!=_),f(t,"fa-swap-opacity",e.swapOpacity),t);return Object.keys(w).map((function(e){return w[e]?e:null})).filter((function(e){return e}))}(e)),p(a.split(" ")))),g=_("transform","string"==typeof e.transform?r.Qc.transform(e.transform):e.transform),m=_("mask",b(i)),y=(0,r.qv)(d,c(c(c(c({},h),g),m),{},{symbol:o,title:s,titleId:u,maskId:l}));if(!y)return function(){var e;!v&&console&&"function"==typeof console.error&&(e=console).error.apply(e,arguments)}("Could not find icon",d),null;var x=y.abstract,S={ref:t};return Object.keys(e).forEach((function(t){w.defaultProps.hasOwnProperty(t)||(S[t]=e[t])})),T(x[0],S)}));w.displayName="FontAwesomeIcon",w.propTypes={beat:o().bool,border:o().bool,beatFade:o().bool,bounce:o().bool,className:o().string,fade:o().bool,flash:o().bool,mask:o().oneOfType([o().object,o().array,o().string]),maskId:o().string,fixedWidth:o().bool,inverse:o().bool,flip:o().oneOf([!0,!1,"horizontal","vertical","both"]),icon:o().oneOfType([o().object,o().array,o().string]),listItem:o().bool,pull:o().oneOf(["right","left"]),pulse:o().bool,rotation:o().oneOf([0,90,180,270]),shake:o().bool,size:o().oneOf(["2xs","xs","sm","lg","xl","2xl","1x","2x","3x","4x","5x","6x","7x","8x","9x","10x"]),spin:o().bool,spinPulse:o().bool,spinReverse:o().bool,symbol:o().oneOfType([o().bool,o().string]),title:o().string,titleId:o().string,transform:o().oneOfType([o().string,o().object]),swapOpacity:o().bool},w.defaultProps={border:!1,className:"",mask:null,maskId:null,fixedWidth:!1,inverse:!1,flip:!1,icon:null,listItem:!1,pull:null,pulse:!1,rotation:null,size:null,spin:!1,spinPulse:!1,spinReverse:!1,beat:!1,fade:!1,beatFade:!1,bounce:!1,shake:!1,symbol:!1,title:"",titleId:null,transform:null,swapOpacity:!1};var T=function e(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if("string"==typeof n)return n;var i=(n.children||[]).map((function(n){return e(t,n)})),o=Object.keys(n.attributes||{}).reduce((function(e,t){var r=n.attributes[t];switch(t){case"class":e.attrs.className=r,delete n.attributes.class;break;case"style":e.attrs.style=y(r);break;default:0===t.indexOf("aria-")||0===t.indexOf("data-")?e.attrs[t.toLowerCase()]=r:e.attrs[g(t)]=r}return e}),{attrs:{}}),a=r.style,s=void 0===a?{}:a,u=d(r,m);return o.attrs.style=c(c({},o.attrs.style),s),t.apply(void 0,[n.tag,c(c({},o.attrs),u)].concat(p(i)))}.bind(null,s().createElement)},1516:function(e,t,n){"use strict";var r=n(90888);function i(){}function o(){}o.resetWarningCache=i,e.exports=function(){function e(e,t,n,i,o,a){if(a!==r){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:o,resetWarningCache:i};return n.PropTypes=n,n}},89632:function(e,t,n){e.exports=n(1516)()},90888:function(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},36618:function(e,t){"use strict";var n="fass",r="circle",i=[128308,128309,128992,128993,128994,128995,128996,9679,9898,9899,11044,61708,61915],o="f111",a="M256 512c141.4 0 256-114.6 256-256S397.4 0 256 0S0 114.6 0 256S114.6 512 256 512z";t.DF={prefix:n,iconName:r,icon:[512,512,i,o,a]},t.di=t.DF},40837:function(e,t){"use strict";var n="fass",r="pause",i=[9208],o="f04c",a="M128 64H0V448H128V64zm192 0H192V448H320V64z";t.DF={prefix:n,iconName:r,icon:[320,512,i,o,a]},t.XQ=t.DF},84734:function(e,t){"use strict";var n="fass",r="play",i=[9654],o="f04b",a="M384 256L0 32V480L384 256z";t.DF={prefix:n,iconName:r,icon:[384,512,i,o,a]},t.zc=t.DF},69898:function(e,t){"use strict";var n="fass",r="plus-large",i=[],o="e59e",a="M288 32l0-32H224l0 32 0 192H32 0v64H32 224V480v32h64V480 288l192 0 32 0 0-64-32 0-192 0 0-192z";t.DF={prefix:n,iconName:r,icon:[512,512,i,o,a]},t.RL=t.DF},27320:function(e,t){"use strict";function n(e){if(!Number.isSafeInteger(e)||e<0)throw new Error(`Wrong positive integer: ${e}`)}function r(e){if("boolean"!=typeof e)throw new Error(`Expected boolean, not ${e}`)}function i(e,...t){if(!((n=e)instanceof Uint8Array||null!=n&&"object"==typeof n&&"Uint8Array"===n.constructor.name))throw new Error("Expected Uint8Array");var n;if(t.length>0&&!t.includes(e.length))throw new Error(`Expected Uint8Array of length ${t}, not of length=${e.length}`)}function o(e){if("function"!=typeof e||"function"!=typeof e.create)throw new Error("Hash should be wrapped by utils.wrapConstructor");n(e.outputLen),n(e.blockLen)}function a(e,t=!0){if(e.destroyed)throw new Error("Hash instance has been destroyed");if(t&&e.finished)throw new Error("Hash#digest() has already been called")}function s(e,t){i(e);const n=t.outputLen;if(e.length<n)throw new Error(`digestInto() expects output buffer of length at least ${n}`)}Object.defineProperty(t,"__esModule",{value:!0}),t.output=t.exists=t.hash=t.bytes=t.bool=t.number=void 0,t.number=n,t.bool=r,t.bytes=i,t.hash=o,t.exists=a,t.output=s;const u={number:n,bool:r,bytes:i,hash:o,exists:a,output:s};t.default=u},6873:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.add5L=t.add5H=t.add4H=t.add4L=t.add3H=t.add3L=t.add=t.rotlBL=t.rotlBH=t.rotlSL=t.rotlSH=t.rotr32L=t.rotr32H=t.rotrBL=t.rotrBH=t.rotrSL=t.rotrSH=t.shrSL=t.shrSH=t.toBig=t.split=t.fromBig=void 0;const n=BigInt(2**32-1),r=BigInt(32);function i(e,t=!1){return t?{h:Number(e&n),l:Number(e>>r&n)}:{h:0|Number(e>>r&n),l:0|Number(e&n)}}function o(e,t=!1){let n=new Uint32Array(e.length),r=new Uint32Array(e.length);for(let o=0;o<e.length;o++){const{h:a,l:s}=i(e[o],t);[n[o],r[o]]=[a,s]}return[n,r]}t.fromBig=i,t.split=o;const a=(e,t)=>BigInt(e>>>0)<<r|BigInt(t>>>0);t.toBig=a;const s=(e,t,n)=>e>>>n;t.shrSH=s;const u=(e,t,n)=>e<<32-n|t>>>n;t.shrSL=u;const c=(e,t,n)=>e>>>n|t<<32-n;t.rotrSH=c;const l=(e,t,n)=>e<<32-n|t>>>n;t.rotrSL=l;const f=(e,t,n)=>e<<64-n|t>>>n-32;t.rotrBH=f;const d=(e,t,n)=>e>>>n-32|t<<64-n;t.rotrBL=d;const p=(e,t)=>t;t.rotr32H=p;const h=(e,t)=>e;t.rotr32L=h;const g=(e,t,n)=>e<<n|t>>>32-n;t.rotlSH=g;const m=(e,t,n)=>t<<n|e>>>32-n;t.rotlSL=m;const y=(e,t,n)=>t<<n-32|e>>>64-n;t.rotlBH=y;const v=(e,t,n)=>e<<n-32|t>>>64-n;function b(e,t,n,r){const i=(t>>>0)+(r>>>0);return{h:e+n+(i/2**32|0)|0,l:0|i}}t.rotlBL=v,t.add=b;const _=(e,t,n)=>(e>>>0)+(t>>>0)+(n>>>0);t.add3L=_;const w=(e,t,n,r)=>t+n+r+(e/2**32|0)|0;t.add3H=w;const T=(e,t,n,r)=>(e>>>0)+(t>>>0)+(n>>>0)+(r>>>0);t.add4L=T;const x=(e,t,n,r,i)=>t+n+r+i+(e/2**32|0)|0;t.add4H=x;const S=(e,t,n,r,i)=>(e>>>0)+(t>>>0)+(n>>>0)+(r>>>0)+(i>>>0);t.add5L=S;const k=(e,t,n,r,i,o)=>t+n+r+i+o+(e/2**32|0)|0;t.add5H=k;const E={fromBig:i,split:o,toBig:a,shrSH:s,shrSL:u,rotrSH:c,rotrSL:l,rotrBH:f,rotrBL:d,rotr32H:p,rotr32L:h,rotlSH:g,rotlSL:m,rotlBH:y,rotlBL:v,add:b,add3L:_,add3H:w,add4L:T,add4H:x,add5H:k,add5L:S};t.default=E},31945:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.crypto=void 0,t.crypto="object"==typeof globalThis&&"crypto"in globalThis?globalThis.crypto:void 0},85426:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.shake256=t.shake128=t.keccak_512=t.keccak_384=t.keccak_256=t.keccak_224=t.sha3_512=t.sha3_384=t.sha3_256=t.sha3_224=t.Keccak=t.keccakP=void 0;const r=n(27320),i=n(6873),o=n(98089),[a,s,u]=[[],[],[]],c=BigInt(0),l=BigInt(1),f=BigInt(2),d=BigInt(7),p=BigInt(256),h=BigInt(113);for(let e=0,t=l,n=1,r=0;e<24;e++){[n,r]=[r,(2*n+3*r)%5],a.push(2*(5*r+n)),s.push((e+1)*(e+2)/2%64);let i=c;for(let e=0;e<7;e++)t=(t<<l^(t>>d)*h)%p,t&f&&(i^=l<<(l<<BigInt(e))-l);u.push(i)}const[g,m]=(0,i.split)(u,!0),y=(e,t,n)=>n>32?(0,i.rotlBH)(e,t,n):(0,i.rotlSH)(e,t,n),v=(e,t,n)=>n>32?(0,i.rotlBL)(e,t,n):(0,i.rotlSL)(e,t,n);function b(e,t=24){const n=new Uint32Array(10);for(let r=24-t;r<24;r++){for(let t=0;t<10;t++)n[t]=e[t]^e[t+10]^e[t+20]^e[t+30]^e[t+40];for(let t=0;t<10;t+=2){const r=(t+8)%10,i=(t+2)%10,o=n[i],a=n[i+1],s=y(o,a,1)^n[r],u=v(o,a,1)^n[r+1];for(let n=0;n<50;n+=10)e[t+n]^=s,e[t+n+1]^=u}let t=e[2],i=e[3];for(let n=0;n<24;n++){const r=s[n],o=y(t,i,r),u=v(t,i,r),c=a[n];t=e[c],i=e[c+1],e[c]=o,e[c+1]=u}for(let t=0;t<50;t+=10){for(let r=0;r<10;r++)n[r]=e[t+r];for(let r=0;r<10;r++)e[t+r]^=~n[(r+2)%10]&n[(r+4)%10]}e[0]^=g[r],e[1]^=m[r]}n.fill(0)}t.keccakP=b;class _ extends o.Hash{constructor(e,t,n,i=!1,a=24){if(super(),this.blockLen=e,this.suffix=t,this.outputLen=n,this.enableXOF=i,this.rounds=a,this.pos=0,this.posOut=0,this.finished=!1,this.destroyed=!1,(0,r.number)(n),0>=this.blockLen||this.blockLen>=200)throw new Error("Sha3 supports only keccak-f1600 function");this.state=new Uint8Array(200),this.state32=(0,o.u32)(this.state)}keccak(){b(this.state32,this.rounds),this.posOut=0,this.pos=0}update(e){(0,r.exists)(this);const{blockLen:t,state:n}=this,i=(e=(0,o.toBytes)(e)).length;for(let r=0;r<i;){const o=Math.min(t-this.pos,i-r);for(let t=0;t<o;t++)n[this.pos++]^=e[r++];this.pos===t&&this.keccak()}return this}finish(){if(this.finished)return;this.finished=!0;const{state:e,suffix:t,pos:n,blockLen:r}=this;e[n]^=t,0!=(128&t)&&n===r-1&&this.keccak(),e[r-1]^=128,this.keccak()}writeInto(e){(0,r.exists)(this,!1),(0,r.bytes)(e),this.finish();const t=this.state,{blockLen:n}=this;for(let r=0,i=e.length;r<i;){this.posOut>=n&&this.keccak();const o=Math.min(n-this.posOut,i-r);e.set(t.subarray(this.posOut,this.posOut+o),r),this.posOut+=o,r+=o}return e}xofInto(e){if(!this.enableXOF)throw new Error("XOF is not possible for this instance");return this.writeInto(e)}xof(e){return(0,r.number)(e),this.xofInto(new Uint8Array(e))}digestInto(e){if((0,r.output)(e,this),this.finished)throw new Error("digest() was already called");return this.writeInto(e),this.destroy(),e}digest(){return this.digestInto(new Uint8Array(this.outputLen))}destroy(){this.destroyed=!0,this.state.fill(0)}_cloneInto(e){const{blockLen:t,suffix:n,outputLen:r,rounds:i,enableXOF:o}=this;return e||(e=new _(t,n,r,o,i)),e.state32.set(this.state32),e.pos=this.pos,e.posOut=this.posOut,e.finished=this.finished,e.rounds=i,e.suffix=n,e.outputLen=r,e.enableXOF=o,e.destroyed=this.destroyed,e}}t.Keccak=_;const w=(e,t,n)=>(0,o.wrapConstructor)((()=>new _(t,e,n)));t.sha3_224=w(6,144,28),t.sha3_256=w(6,136,32),t.sha3_384=w(6,104,48),t.sha3_512=w(6,72,64),t.keccak_224=w(1,144,28),t.keccak_256=w(1,136,32),t.keccak_384=w(1,104,48),t.keccak_512=w(1,72,64);const T=(e,t,n)=>(0,o.wrapXOFConstructorWithOpts)(((r={})=>new _(t,e,void 0===r.dkLen?n:r.dkLen,!0)));t.shake128=T(31,168,16),t.shake256=T(31,136,32)},98089:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.randomBytes=t.wrapXOFConstructorWithOpts=t.wrapConstructorWithOpts=t.wrapConstructor=t.checkOpts=t.Hash=t.concatBytes=t.toBytes=t.utf8ToBytes=t.asyncLoop=t.nextTick=t.hexToBytes=t.bytesToHex=t.isLE=t.rotr=t.createView=t.u32=t.u8=void 0;const r=n(31945);t.u8=e=>new Uint8Array(e.buffer,e.byteOffset,e.byteLength);function i(e){return e instanceof Uint8Array||null!=e&&"object"==typeof e&&"Uint8Array"===e.constructor.name}t.u32=e=>new Uint32Array(e.buffer,e.byteOffset,Math.floor(e.byteLength/4));t.createView=e=>new DataView(e.buffer,e.byteOffset,e.byteLength);if(t.rotr=(e,t)=>e<<32-t|e>>>t,t.isLE=68===new Uint8Array(new Uint32Array([287454020]).buffer)[0],!t.isLE)throw new Error("Non little-endian hardware is not supported");const o=Array.from({length:256},((e,t)=>t.toString(16).padStart(2,"0")));t.bytesToHex=function(e){if(!i(e))throw new Error("Uint8Array expected");let t="";for(let n=0;n<e.length;n++)t+=o[e[n]];return t};const a=48,s=57,u=65,c=70,l=97,f=102;function d(e){return e>=a&&e<=s?e-a:e>=u&&e<=c?e-(u-10):e>=l&&e<=f?e-(l-10):void 0}t.hexToBytes=function(e){if("string"!=typeof e)throw new Error("hex string expected, got "+typeof e);const t=e.length,n=t/2;if(t%2)throw new Error("padded hex string expected, got unpadded hex of length "+t);const r=new Uint8Array(n);for(let t=0,i=0;t<n;t++,i+=2){const n=d(e.charCodeAt(i)),o=d(e.charCodeAt(i+1));if(void 0===n||void 0===o){const t=e[i]+e[i+1];throw new Error('hex string expected, got non-hex character "'+t+'" at index '+i)}r[t]=16*n+o}return r};function p(e){if("string"!=typeof e)throw new Error("utf8ToBytes expected string, got "+typeof e);return new Uint8Array((new TextEncoder).encode(e))}function h(e){if("string"==typeof e&&(e=p(e)),!i(e))throw new Error("expected Uint8Array, got "+typeof e);return e}t.nextTick=async()=>{},t.asyncLoop=async function(e,n,r){let i=Date.now();for(let o=0;o<e;o++){r(o);const e=Date.now()-i;e>=0&&e<n||(await(0,t.nextTick)(),i+=e)}},t.utf8ToBytes=p,t.toBytes=h,t.concatBytes=function(...e){let t=0;for(let n=0;n<e.length;n++){const r=e[n];if(!i(r))throw new Error("Uint8Array expected");t+=r.length}const n=new Uint8Array(t);for(let t=0,r=0;t<e.length;t++){const i=e[t];n.set(i,r),r+=i.length}return n};t.Hash=class{clone(){return this._cloneInto()}};const g={}.toString;t.checkOpts=function(e,t){if(void 0!==t&&"[object Object]"!==g.call(t))throw new Error("Options should be object or undefined");return Object.assign(e,t)},t.wrapConstructor=function(e){const t=t=>e().update(h(t)).digest(),n=e();return t.outputLen=n.outputLen,t.blockLen=n.blockLen,t.create=()=>e(),t},t.wrapConstructorWithOpts=function(e){const t=(t,n)=>e(n).update(h(t)).digest(),n=e({});return t.outputLen=n.outputLen,t.blockLen=n.blockLen,t.create=t=>e(t),t},t.wrapXOFConstructorWithOpts=function(e){const t=(t,n)=>e(n).update(h(t)).digest(),n=e({});return t.outputLen=n.outputLen,t.blockLen=n.blockLen,t.create=t=>e(t),t},t.randomBytes=function(e=32){if(r.crypto&&"function"==typeof r.crypto.getRandomValues)return r.crypto.getRandomValues(new Uint8Array(e));throw new Error("crypto.getRandomValues must be defined")}},92981:function(e,t,n){const{createId:r,init:i,getConstants:o,isCuid:a}=n(3679);e.exports.createId=r,e.exports.init=i,e.exports.getConstants=o,e.exports.isCuid=a},3679:function(e,t,n){const{sha3_512:r}=n(85426),i=(e=4,t=Math.random)=>{let n="";for(;n.length<e;)n+=Math.floor(36*t()).toString(36);return n};function o(e){let t=8n,n=0n;for(const r of e.values()){n=(n<<t)+BigInt(r)}return n}const a=(e="")=>o(r(e)).toString(36).slice(1),s=Array.from({length:26},((e,t)=>String.fromCharCode(t+97))),u=({globalObj:e=(void 0!==n.g?n.g:"undefined"!=typeof window?window:{}),random:t=Math.random}={})=>{const r=Object.keys(e).toString(),o=r.length?r+i(32,t):i(32,t);return a(o).substring(0,32)},c=e=>()=>e++,l=({random:e=Math.random,counter:t=c(Math.floor(476782367*e())),length:n=24,fingerprint:r=u({random:e})}={})=>function(){const o=(e=>s[Math.floor(e()*s.length)])(e),u=Date.now().toString(36),c=t().toString(36),l=i(n,e);return`${o+a(`${u+l+c+r}`).substring(1,n)}`},f=l();e.exports.getConstants=()=>({defaultLength:24,bigLength:32}),e.exports.init=l,e.exports.createId=f,e.exports.bufToBigInt=o,e.exports.createCounter=c,e.exports.createFingerprint=u,e.exports.isCuid=(e,{minLength:t=2,maxLength:n=32}={})=>{const r=e.length,i=/^[0-9a-z]+$/;try{if("string"==typeof e&&r>=t&&r<=n&&i.test(e))return!0}finally{}return!1}},53735:function(e){"use strict";e.exports=function(e,t,n){var r=[],i=0;return n.replace(e,(function(){var e=Array.prototype.slice.call(arguments),n=e.length,o=e[0],a=e[n-1],s=e[n-2],u=a.slice(i,s),c="function"==typeof t?t.apply(null,e):t;r.push(u,c),i=s+o.length})),r.push(n.slice(i)),r}},36602:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=function(e,t,n){return void 0===n&&(n=0),Math.round(Math.sqrt((1-n)*Math.pow(e,2)+n*Math.pow(t,2)))},i=function(e,t,n){return void 0===n&&(n=0),Number(((1-n)*e+n*t).toFixed(2))},o=n(96895),a=function(e){var t=void 0===e?[]:e,n=t[0],r=void 0===n?0:n,i=t[1],o=void 0===i?0:i,a=t[2],s=void 0===a?0:a,u=t[3],c=void 0===u?1:u;return"#"+(1<<24|r<<16|o<<8|s).toString(16).slice(1)+(255*c).toString(16).padStart(2,"0").slice(0,2)},s=function(e,t,n){var s=(0,o.Z)(e),u=s[0],c=s[1],l=s[2],f=s[3],d=(0,o.Z)(t),p=d[0],h=d[1],g=d[2],m=d[3],y=a([r(u,p,n),r(c,h,n),r(l,g,n),i(f,m,n)]);return 1===f&&1===m?y.slice(0,7):y}},96895:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=function(e){void 0===e&&(e="");var t=e.replace(/^#/,""),n=t.length;return 3===n||4===n?function(e){return e.split("").map((function(e){return e+e})).join("")}(t):t},i=function(e){return e?parseFloat((parseInt(e,16)/255).toFixed(2)):1},o=function(e){var t=r(e),n=t.slice(0,6),o=t.slice(6),a=parseInt(n,16);return[a>>16&255,a>>8&255,a>>0&255,i(o)]}},4204:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(96895),i=function(e){var t=void 0===e?[]:e,n=t[0],r=void 0===n?0:n,i=t[1],o=void 0===i?0:i,a=t[2],s=void 0===a?0:a,u=t[3];return"rgba("+r+","+o+","+s+","+(void 0===u?1:u)+")"},o=function(e,t){var n=(0,r.Z)(e),o=n[0],a=n[1],s=n[2],u=n[3];return i([o,a,s,null!=t?t:u])}},3207:function(e,t,n){"use strict";n.d(t,{O:function(){return r}});var r=function(e,t,n,r){void 0===r&&(r=!1),n.addEventListener(e,t,r)}},5244:function(e,t,n){"use strict";n.d(t,{j:function(){return r}});var r=function(e,t){return t.appendChild(e)}},87965:function(e,t,n){"use strict";n.d(t,{y:function(){return r}});var r=function(e){null==e||e.blur()}},75524:function(e,t,n){"use strict";n.d(t,{T:function(){return r}});var r=function(e,t){return void 0===e&&(e=!0),t.cloneNode(e)}},17502:function(e,t,n){"use strict";n.d(t,{a:function(){return r}});var r=function(e){return document.createElement(e)}},88819:function(e,t,n){"use strict";n.d(t,{T:function(){return r}});var r=function(e,t){void 0===e&&(e={preventScroll:!1}),null==t||t.focus(e)}},25581:function(e,t,n){"use strict";n.d(t,{T:function(){return r}});var r=function(e,t){for(var n,r=(null===(n=t.parentNode)||void 0===n?void 0:n.children)||[],i=0;i<r.length;i++){var o=r[i];o&&o!==t&&e(o)}}},67839:function(e,t,n){"use strict";n.d(t,{I:function(){return r}});var r=function(e,t){return t.getAttribute(e)}},23637:function(e,t,n){"use strict";n.d(t,{L:function(){return r}});var r=function(e){return e?e.getBoundingClientRect():{bottom:0,height:0,left:0,right:0,top:0,width:0,x:0,y:0}}},60299:function(e,t,n){"use strict";n.d(t,{V:function(){return o}});var r=n(57367),i=n(73989),o=function(e,t,n){var o=(0,i.b)()/(e+n),a=(0,r.W)()/(t+n);return Math.min(o,a)}},79020:function(e,t,n){"use strict";n.d(t,{d:function(){return i}});var r=n(60299),i=function(e,t,n,i,o){var a=(0,r.V)(t,i,o),s=t>i?t/e:i/n;return a>1?s:a*s}},23675:function(e,t,n){"use strict";n.d(t,{$:function(){return r}});var r=function(e,t){return function(e){return e.style}(t)[e]}},57367:function(e,t,n){"use strict";n.d(t,{W:function(){return r}});var r=function(){return window.innerHeight}},73989:function(e,t,n){"use strict";n.d(t,{b:function(){return r}});var r=function(){return window.innerWidth}},41117:function(e,t,n){"use strict";n.d(t,{d:function(){return r}});var r=function(e,t){t.removeAttribute(e)}},33206:function(e,t,n){"use strict";n.d(t,{h:function(){return r}});var r=function(e,t){t.contains(e)&&t.removeChild(e)}},62050:function(e,t,n){"use strict";n.d(t,{x:function(){return r}});var r=function(e,t,n,r){void 0===r&&(r=!1),n.removeEventListener(e,t,r)}},89213:function(e,t,n){"use strict";n.d(t,{P:function(){return r}});var r=function(e,t,n){return n.setAttribute(e,t)}},27126:function(e,t,n){"use strict";n.d(t,{U:function(){return r}});var r=function(e,t,n,r){r.style.setProperty(t,n,e)}},68610:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Errors=t.ValueErrorIterator=t.ValueErrorsUnknownTypeError=t.ValueErrorType=void 0;const r=n(84672),i=n(19131),o=n(73833),a=n(74161),s=n(43835),u=n(759),c=n(16996),l=n(99562),f=n(65834),d=n(73621),p=n(91808);var h;!function(e){e[e.ArrayContains=0]="ArrayContains",e[e.ArrayMaxContains=1]="ArrayMaxContains",e[e.ArrayMaxItems=2]="ArrayMaxItems",e[e.ArrayMinContains=3]="ArrayMinContains",e[e.ArrayMinItems=4]="ArrayMinItems",e[e.ArrayUniqueItems=5]="ArrayUniqueItems",e[e.Array=6]="Array",e[e.AsyncIterator=7]="AsyncIterator",e[e.BigIntExclusiveMaximum=8]="BigIntExclusiveMaximum",e[e.BigIntExclusiveMinimum=9]="BigIntExclusiveMinimum",e[e.BigIntMaximum=10]="BigIntMaximum",e[e.BigIntMinimum=11]="BigIntMinimum",e[e.BigIntMultipleOf=12]="BigIntMultipleOf",e[e.BigInt=13]="BigInt",e[e.Boolean=14]="Boolean",e[e.DateExclusiveMaximumTimestamp=15]="DateExclusiveMaximumTimestamp",e[e.DateExclusiveMinimumTimestamp=16]="DateExclusiveMinimumTimestamp",e[e.DateMaximumTimestamp=17]="DateMaximumTimestamp",e[e.DateMinimumTimestamp=18]="DateMinimumTimestamp",e[e.DateMultipleOfTimestamp=19]="DateMultipleOfTimestamp",e[e.Date=20]="Date",e[e.Function=21]="Function",e[e.IntegerExclusiveMaximum=22]="IntegerExclusiveMaximum",e[e.IntegerExclusiveMinimum=23]="IntegerExclusiveMinimum",e[e.IntegerMaximum=24]="IntegerMaximum",e[e.IntegerMinimum=25]="IntegerMinimum",e[e.IntegerMultipleOf=26]="IntegerMultipleOf",e[e.Integer=27]="Integer",e[e.IntersectUnevaluatedProperties=28]="IntersectUnevaluatedProperties",e[e.Intersect=29]="Intersect",e[e.Iterator=30]="Iterator",e[e.Kind=31]="Kind",e[e.Literal=32]="Literal",e[e.Never=33]="Never",e[e.Not=34]="Not",e[e.Null=35]="Null",e[e.NumberExclusiveMaximum=36]="NumberExclusiveMaximum",e[e.NumberExclusiveMinimum=37]="NumberExclusiveMinimum",e[e.NumberMaximum=38]="NumberMaximum",e[e.NumberMinimum=39]="NumberMinimum",e[e.NumberMultipleOf=40]="NumberMultipleOf",e[e.Number=41]="Number",e[e.ObjectAdditionalProperties=42]="ObjectAdditionalProperties",e[e.ObjectMaxProperties=43]="ObjectMaxProperties",e[e.ObjectMinProperties=44]="ObjectMinProperties",e[e.ObjectRequiredProperty=45]="ObjectRequiredProperty",e[e.Object=46]="Object",e[e.Promise=47]="Promise",e[e.RegExp=48]="RegExp",e[e.StringFormatUnknown=49]="StringFormatUnknown",e[e.StringFormat=50]="StringFormat",e[e.StringMaxLength=51]="StringMaxLength",e[e.StringMinLength=52]="StringMinLength",e[e.StringPattern=53]="StringPattern",e[e.String=54]="String",e[e.Symbol=55]="Symbol",e[e.TupleLength=56]="TupleLength",e[e.Tuple=57]="Tuple",e[e.Uint8ArrayMaxByteLength=58]="Uint8ArrayMaxByteLength",e[e.Uint8ArrayMinByteLength=59]="Uint8ArrayMinByteLength",e[e.Uint8Array=60]="Uint8Array",e[e.Undefined=61]="Undefined",e[e.Union=62]="Union",e[e.Void=63]="Void"}(h||(t.ValueErrorType=h={}));class g extends u.TypeBoxError{constructor(e){super("Unknown type"),this.schema=e}}function m(e){return e.replace(/~/g,"~0").replace(/\//g,"~1")}function y(e){return void 0!==e}t.ValueErrorsUnknownTypeError=g;class v{constructor(e){this.iterator=e}[Symbol.iterator](){return this.iterator}First(){const e=this.iterator.next();return e.done?void 0:e.value}}function b(e,t,n,r){return{type:e,schema:t,path:n,value:r,message:(0,s.GetErrorFunction)()({errorType:e,path:n,schema:t,value:r})}}function*_(e,t,n,s){const u=y(e.$id)?[...t,e]:t,v=e;switch(v[f.Kind]){case"Any":case"Unknown":return yield*function*(e,t,n,r){}();case"Array":return yield*function*(e,t,n,r){if(!(0,p.IsArray)(r))return yield b(h.Array,e,n,r);!y(e.minItems)||r.length>=e.minItems||(yield b(h.ArrayMinItems,e,n,r)),!y(e.maxItems)||r.length<=e.maxItems||(yield b(h.ArrayMaxItems,e,n,r));for(let i=0;i<r.length;i++)yield*_(e.items,t,`${n}/${i}`,r[i]);if(!0!==e.uniqueItems||function(){const e=new Set;for(const t of r){const n=(0,l.Hash)(t);if(e.has(n))return!1;e.add(n)}return!0}()||(yield b(h.ArrayUniqueItems,e,n,r)),!(y(e.contains)||y(e.minContains)||y(e.maxContains)))return;const i=y(e.contains)?e.contains:(0,d.Never)(),o=r.reduce(((e,r,o)=>!0===_(i,t,`${n}${o}`,r).next().done?e+1:e),0);0===o&&(yield b(h.ArrayContains,e,n,r)),(0,p.IsNumber)(e.minContains)&&o<e.minContains&&(yield b(h.ArrayMinContains,e,n,r)),(0,p.IsNumber)(e.maxContains)&&o>e.maxContains&&(yield b(h.ArrayMaxContains,e,n,r))}(v,u,n,s);case"AsyncIterator":return yield*function*(e,t,n,r){(0,p.IsAsyncIterator)(r)||(yield b(h.AsyncIterator,e,n,r))}(v,0,n,s);case"BigInt":return yield*function*(e,t,n,r){if(!(0,p.IsBigInt)(r))return yield b(h.BigInt,e,n,r);!y(e.exclusiveMaximum)||r<e.exclusiveMaximum||(yield b(h.BigIntExclusiveMaximum,e,n,r)),!y(e.exclusiveMinimum)||r>e.exclusiveMinimum||(yield b(h.BigIntExclusiveMinimum,e,n,r)),!y(e.maximum)||r<=e.maximum||(yield b(h.BigIntMaximum,e,n,r)),!y(e.minimum)||r>=e.minimum||(yield b(h.BigIntMinimum,e,n,r)),y(e.multipleOf)&&r%e.multipleOf!==BigInt(0)&&(yield b(h.BigIntMultipleOf,e,n,r))}(v,0,n,s);case"Boolean":return yield*function*(e,t,n,r){(0,p.IsBoolean)(r)||(yield b(h.Boolean,e,n,r))}(v,0,n,s);case"Constructor":return yield*function*(e,t,n,r){yield*_(e.returns,t,n,r.prototype)}(v,u,n,s);case"Date":return yield*function*(e,t,n,r){if(!(0,p.IsDate)(r))return yield b(h.Date,e,n,r);!y(e.exclusiveMaximumTimestamp)||r.getTime()<e.exclusiveMaximumTimestamp||(yield b(h.DateExclusiveMaximumTimestamp,e,n,r)),!y(e.exclusiveMinimumTimestamp)||r.getTime()>e.exclusiveMinimumTimestamp||(yield b(h.DateExclusiveMinimumTimestamp,e,n,r)),!y(e.maximumTimestamp)||r.getTime()<=e.maximumTimestamp||(yield b(h.DateMaximumTimestamp,e,n,r)),!y(e.minimumTimestamp)||r.getTime()>=e.minimumTimestamp||(yield b(h.DateMinimumTimestamp,e,n,r)),y(e.multipleOfTimestamp)&&r.getTime()%e.multipleOfTimestamp!=0&&(yield b(h.DateMultipleOfTimestamp,e,n,r))}(v,0,n,s);case"Function":return yield*function*(e,t,n,r){(0,p.IsFunction)(r)||(yield b(h.Function,e,n,r))}(v,0,n,s);case"Integer":return yield*function*(e,t,n,r){if(!(0,p.IsInteger)(r))return yield b(h.Integer,e,n,r);!y(e.exclusiveMaximum)||r<e.exclusiveMaximum||(yield b(h.IntegerExclusiveMaximum,e,n,r)),!y(e.exclusiveMinimum)||r>e.exclusiveMinimum||(yield b(h.IntegerExclusiveMinimum,e,n,r)),!y(e.maximum)||r<=e.maximum||(yield b(h.IntegerMaximum,e,n,r)),!y(e.minimum)||r>=e.minimum||(yield b(h.IntegerMinimum,e,n,r)),y(e.multipleOf)&&r%e.multipleOf!=0&&(yield b(h.IntegerMultipleOf,e,n,r))}(v,0,n,s);case"Intersect":return yield*function*(e,t,n,r){for(const i of e.allOf){const o=_(i,t,n,r).next();o.done||(yield b(h.Intersect,e,n,r),yield o.value)}if(!1===e.unevaluatedProperties){const t=new RegExp((0,i.KeyOfPattern)(e));for(const i of Object.getOwnPropertyNames(r))t.test(i)||(yield b(h.IntersectUnevaluatedProperties,e,`${n}/${i}`,r))}if("object"==typeof e.unevaluatedProperties){const o=new RegExp((0,i.KeyOfPattern)(e));for(const i of Object.getOwnPropertyNames(r))if(!o.test(i)){const o=_(e.unevaluatedProperties,t,`${n}/${i}`,r[i]).next();o.done||(yield o.value)}}}(v,u,n,s);case"Iterator":return yield*function*(e,t,n,r){(0,p.IsIterator)(r)||(yield b(h.Iterator,e,n,r))}(v,0,n,s);case"Literal":return yield*function*(e,t,n,r){r!==e.const&&(yield b(h.Literal,e,n,r))}(v,0,n,s);case"Never":return yield*function*(e,t,n,r){yield b(h.Never,e,n,r)}(v,0,n,s);case"Not":return yield*function*(e,t,n,r){!0===_(e.not,t,n,r).next().done&&(yield b(h.Not,e,n,r))}(v,u,n,s);case"Null":return yield*function*(e,t,n,r){(0,p.IsNull)(r)||(yield b(h.Null,e,n,r))}(v,0,n,s);case"Number":return yield*function*(e,t,n,i){if(!r.TypeSystemPolicy.IsNumberLike(i))return yield b(h.Number,e,n,i);!y(e.exclusiveMaximum)||i<e.exclusiveMaximum||(yield b(h.NumberExclusiveMaximum,e,n,i)),!y(e.exclusiveMinimum)||i>e.exclusiveMinimum||(yield b(h.NumberExclusiveMinimum,e,n,i)),!y(e.maximum)||i<=e.maximum||(yield b(h.NumberMaximum,e,n,i)),!y(e.minimum)||i>=e.minimum||(yield b(h.NumberMinimum,e,n,i)),y(e.multipleOf)&&i%e.multipleOf!=0&&(yield b(h.NumberMultipleOf,e,n,i))}(v,0,n,s);case"Object":return yield*function*(e,t,n,i){if(!r.TypeSystemPolicy.IsObjectLike(i))return yield b(h.Object,e,n,i);!y(e.minProperties)||Object.getOwnPropertyNames(i).length>=e.minProperties||(yield b(h.ObjectMinProperties,e,n,i)),!y(e.maxProperties)||Object.getOwnPropertyNames(i).length<=e.maxProperties||(yield b(h.ObjectMaxProperties,e,n,i));const o=Array.isArray(e.required)?e.required:[],s=Object.getOwnPropertyNames(e.properties),u=Object.getOwnPropertyNames(i);for(const t of o)u.includes(t)||(yield b(h.ObjectRequiredProperty,e.properties[t],`${n}/${m(t)}`,void 0));if(!1===e.additionalProperties)for(const t of u)s.includes(t)||(yield b(h.ObjectAdditionalProperties,e,`${n}/${m(t)}`,i[t]));if("object"==typeof e.additionalProperties)for(const r of u)s.includes(r)||(yield*_(e.additionalProperties,t,`${n}/${m(r)}`,i[r]));for(const o of s){const s=e.properties[o];e.required&&e.required.includes(o)?(yield*_(s,t,`${n}/${m(o)}`,i[o]),(0,a.ExtendsUndefinedCheck)(e)&&!(o in i)&&(yield b(h.ObjectRequiredProperty,s,`${n}/${m(o)}`,void 0))):r.TypeSystemPolicy.IsExactOptionalProperty(i,o)&&(yield*_(s,t,`${n}/${m(o)}`,i[o]))}}(v,u,n,s);case"Promise":return yield*function*(e,t,n,r){(0,p.IsPromise)(r)||(yield b(h.Promise,e,n,r))}(v,0,n,s);case"Record":return yield*function*(e,t,n,i){if(!r.TypeSystemPolicy.IsRecordLike(i))return yield b(h.Object,e,n,i);!y(e.minProperties)||Object.getOwnPropertyNames(i).length>=e.minProperties||(yield b(h.ObjectMinProperties,e,n,i)),!y(e.maxProperties)||Object.getOwnPropertyNames(i).length<=e.maxProperties||(yield b(h.ObjectMaxProperties,e,n,i));const[o,a]=Object.entries(e.patternProperties)[0],s=new RegExp(o);for(const[e,r]of Object.entries(i))s.test(e)&&(yield*_(a,t,`${n}/${m(e)}`,r));if("object"==typeof e.additionalProperties)for(const[r,o]of Object.entries(i))s.test(r)||(yield*_(e.additionalProperties,t,`${n}/${m(r)}`,o));if(!1===e.additionalProperties)for(const[t,r]of Object.entries(i))if(!s.test(t))return yield b(h.ObjectAdditionalProperties,e,`${n}/${m(t)}`,r)}(v,u,n,s);case"Ref":case"This":return yield*function*(e,t,n,r){yield*_((0,c.Deref)(e,t),t,n,r)}(v,u,n,s);case"RegExp":return yield*function*(e,t,n,r){return(0,p.IsString)(r)?(!y(e.minLength)||r.length>=e.minLength||(yield b(h.StringMinLength,e,n,r)),!y(e.maxLength)||r.length<=e.maxLength||(yield b(h.StringMaxLength,e,n,r)),new RegExp(e.source,e.flags).test(r)?void 0:yield b(h.RegExp,e,n,r)):yield b(h.String,e,n,r)}(v,0,n,s);case"String":return yield*function*(e,t,n,r){if(!(0,p.IsString)(r))return yield b(h.String,e,n,r);!y(e.minLength)||r.length>=e.minLength||(yield b(h.StringMinLength,e,n,r)),!y(e.maxLength)||r.length<=e.maxLength||(yield b(h.StringMaxLength,e,n,r)),(0,p.IsString)(e.pattern)&&(new RegExp(e.pattern).test(r)||(yield b(h.StringPattern,e,n,r)));(0,p.IsString)(e.format)&&(o.FormatRegistry.Has(e.format)?o.FormatRegistry.Get(e.format)(r)||(yield b(h.StringFormat,e,n,r)):yield b(h.StringFormatUnknown,e,n,r))}(v,0,n,s);case"Symbol":return yield*function*(e,t,n,r){(0,p.IsSymbol)(r)||(yield b(h.Symbol,e,n,r))}(v,0,n,s);case"TemplateLiteral":return yield*function*(e,t,n,r){if(!(0,p.IsString)(r))return yield b(h.String,e,n,r);new RegExp(e.pattern).test(r)||(yield b(h.StringPattern,e,n,r))}(v,0,n,s);case"Tuple":return yield*function*(e,t,n,r){if(!(0,p.IsArray)(r))return yield b(h.Tuple,e,n,r);if(void 0===e.items&&0!==r.length)return yield b(h.TupleLength,e,n,r);if(r.length!==e.maxItems)return yield b(h.TupleLength,e,n,r);if(e.items)for(let i=0;i<e.items.length;i++)yield*_(e.items[i],t,`${n}/${i}`,r[i])}(v,u,n,s);case"Undefined":return yield*function*(e,t,n,r){(0,p.IsUndefined)(r)||(yield b(h.Undefined,e,n,r))}(v,0,n,s);case"Union":return yield*function*(e,t,n,r){let i=0;for(const o of e.anyOf){const e=[..._(o,t,n,r)];if(0===e.length)return;i+=e.length}i>0&&(yield b(h.Union,e,n,r))}(v,u,n,s);case"Uint8Array":return yield*function*(e,t,n,r){if(!(0,p.IsUint8Array)(r))return yield b(h.Uint8Array,e,n,r);!y(e.maxByteLength)||r.length<=e.maxByteLength||(yield b(h.Uint8ArrayMaxByteLength,e,n,r)),!y(e.minByteLength)||r.length>=e.minByteLength||(yield b(h.Uint8ArrayMinByteLength,e,n,r))}(v,0,n,s);case"Void":return yield*function*(e,t,n,i){r.TypeSystemPolicy.IsVoidLike(i)||(yield b(h.Void,e,n,i))}(v,0,n,s);default:if(!o.TypeRegistry.Has(v[f.Kind]))throw new g(e);return yield*function*(e,t,n,r){o.TypeRegistry.Get(e[f.Kind])(e,r)||(yield b(h.Kind,e,n,r))}(v,0,n,s)}}t.ValueErrorIterator=v,t.Errors=function(...e){const t=3===e.length?_(e[0],e[1],"",e[2]):_(e[0],[],"",e[1]);return new v(t)}},43835:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.GetErrorFunction=t.SetErrorFunction=t.DefaultErrorFunction=void 0;const r=n(65834),i=n(68610);function o(e){switch(e.errorType){case i.ValueErrorType.ArrayContains:return"Expected array to contain at least one matching value";case i.ValueErrorType.ArrayMaxContains:return`Expected array to contain no more than ${e.schema.maxContains} matching values`;case i.ValueErrorType.ArrayMinContains:return`Expected array to contain at least ${e.schema.minContains} matching values`;case i.ValueErrorType.ArrayMaxItems:return`Expected array length to be less or equal to ${e.schema.maxItems}`;case i.ValueErrorType.ArrayMinItems:return`Expected array length to be greater or equal to ${e.schema.minItems}`;case i.ValueErrorType.ArrayUniqueItems:return"Expected array elements to be unique";case i.ValueErrorType.Array:return"Expected array";case i.ValueErrorType.AsyncIterator:return"Expected AsyncIterator";case i.ValueErrorType.BigIntExclusiveMaximum:return`Expected bigint to be less than ${e.schema.exclusiveMaximum}`;case i.ValueErrorType.BigIntExclusiveMinimum:return`Expected bigint to be greater than ${e.schema.exclusiveMinimum}`;case i.ValueErrorType.BigIntMaximum:return`Expected bigint to be less or equal to ${e.schema.maximum}`;case i.ValueErrorType.BigIntMinimum:return`Expected bigint to be greater or equal to ${e.schema.minimum}`;case i.ValueErrorType.BigIntMultipleOf:return`Expected bigint to be a multiple of ${e.schema.multipleOf}`;case i.ValueErrorType.BigInt:return"Expected bigint";case i.ValueErrorType.Boolean:return"Expected boolean";case i.ValueErrorType.DateExclusiveMinimumTimestamp:return`Expected Date timestamp to be greater than ${e.schema.exclusiveMinimumTimestamp}`;case i.ValueErrorType.DateExclusiveMaximumTimestamp:return`Expected Date timestamp to be less than ${e.schema.exclusiveMaximumTimestamp}`;case i.ValueErrorType.DateMinimumTimestamp:return`Expected Date timestamp to be greater or equal to ${e.schema.minimumTimestamp}`;case i.ValueErrorType.DateMaximumTimestamp:return`Expected Date timestamp to be less or equal to ${e.schema.maximumTimestamp}`;case i.ValueErrorType.DateMultipleOfTimestamp:return`Expected Date timestamp to be a multiple of ${e.schema.multipleOfTimestamp}`;case i.ValueErrorType.Date:return"Expected Date";case i.ValueErrorType.Function:return"Expected function";case i.ValueErrorType.IntegerExclusiveMaximum:return`Expected integer to be less than ${e.schema.exclusiveMaximum}`;case i.ValueErrorType.IntegerExclusiveMinimum:return`Expected integer to be greater than ${e.schema.exclusiveMinimum}`;case i.ValueErrorType.IntegerMaximum:return`Expected integer to be less or equal to ${e.schema.maximum}`;case i.ValueErrorType.IntegerMinimum:return`Expected integer to be greater or equal to ${e.schema.minimum}`;case i.ValueErrorType.IntegerMultipleOf:return`Expected integer to be a multiple of ${e.schema.multipleOf}`;case i.ValueErrorType.Integer:return"Expected integer";case i.ValueErrorType.IntersectUnevaluatedProperties:return"Unexpected property";case i.ValueErrorType.Intersect:return"Expected all values to match";case i.ValueErrorType.Iterator:return"Expected Iterator";case i.ValueErrorType.Literal:return`Expected ${"string"==typeof e.schema.const?`'${e.schema.const}'`:e.schema.const}`;case i.ValueErrorType.Never:return"Never";case i.ValueErrorType.Not:return"Value should not match";case i.ValueErrorType.Null:return"Expected null";case i.ValueErrorType.NumberExclusiveMaximum:return`Expected number to be less than ${e.schema.exclusiveMaximum}`;case i.ValueErrorType.NumberExclusiveMinimum:return`Expected number to be greater than ${e.schema.exclusiveMinimum}`;case i.ValueErrorType.NumberMaximum:return`Expected number to be less or equal to ${e.schema.maximum}`;case i.ValueErrorType.NumberMinimum:return`Expected number to be greater or equal to ${e.schema.minimum}`;case i.ValueErrorType.NumberMultipleOf:return`Expected number to be a multiple of ${e.schema.multipleOf}`;case i.ValueErrorType.Number:return"Expected number";case i.ValueErrorType.Object:return"Expected object";case i.ValueErrorType.ObjectAdditionalProperties:return"Unexpected property";case i.ValueErrorType.ObjectMaxProperties:return`Expected object to have no more than ${e.schema.maxProperties} properties`;case i.ValueErrorType.ObjectMinProperties:return`Expected object to have at least ${e.schema.minProperties} properties`;case i.ValueErrorType.ObjectRequiredProperty:return"Required property";case i.ValueErrorType.Promise:return"Expected Promise";case i.ValueErrorType.RegExp:return"Expected string to match regular expression";case i.ValueErrorType.StringFormatUnknown:return`Unknown format '${e.schema.format}'`;case i.ValueErrorType.StringFormat:return`Expected string to match '${e.schema.format}' format`;case i.ValueErrorType.StringMaxLength:return`Expected string length less or equal to ${e.schema.maxLength}`;case i.ValueErrorType.StringMinLength:return`Expected string length greater or equal to ${e.schema.minLength}`;case i.ValueErrorType.StringPattern:return`Expected string to match '${e.schema.pattern}'`;case i.ValueErrorType.String:return"Expected string";case i.ValueErrorType.Symbol:return"Expected symbol";case i.ValueErrorType.TupleLength:return`Expected tuple to have ${e.schema.maxItems||0} elements`;case i.ValueErrorType.Tuple:return"Expected tuple";case i.ValueErrorType.Uint8ArrayMaxByteLength:return`Expected byte length less or equal to ${e.schema.maxByteLength}`;case i.ValueErrorType.Uint8ArrayMinByteLength:return`Expected byte length greater or equal to ${e.schema.minByteLength}`;case i.ValueErrorType.Uint8Array:return"Expected Uint8Array";case i.ValueErrorType.Undefined:return"Expected undefined";case i.ValueErrorType.Union:return"Expected union value";case i.ValueErrorType.Void:return"Expected void";case i.ValueErrorType.Kind:return`Expected kind '${e.schema[r.Kind]}'`;default:return"Unknown error type"}}t.DefaultErrorFunction=o;let a=o;t.SetErrorFunction=function(e){a=e},t.GetErrorFunction=function(){return a}},70530:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(68610),t),i(n(43835),t)},2098:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(9647),t),i(n(759),t),i(n(76553),t),i(n(50879),t),i(n(49940),t),i(n(73833),t),i(n(87900),t),i(n(65834),t),i(n(81977),t),i(n(42849),t),i(n(86345),t),i(n(38209),t),i(n(47932),t),i(n(35376),t),i(n(53422),t),i(n(48614),t),i(n(47959),t),i(n(51433),t),i(n(97137),t),i(n(44094),t),i(n(35287),t),i(n(96709),t),i(n(89866),t),i(n(71021),t),i(n(13992),t),i(n(42387),t),i(n(33102),t),i(n(13517),t),i(n(49823),t),i(n(19561),t),i(n(36486),t),i(n(19131),t),i(n(45348),t),i(n(47636),t),i(n(73621),t),i(n(15105),t),i(n(49246),t),i(n(74459),t),i(n(17152),t),i(n(64720),t),i(n(64203),t),i(n(13524),t),i(n(25835),t),i(n(64285),t),i(n(43814),t),i(n(66958),t),i(n(53775),t),i(n(60404),t),i(n(88883),t),i(n(33380),t),i(n(1471),t),i(n(63516),t),i(n(54903),t),i(n(39978),t),i(n(83780),t),i(n(88302),t),i(n(21221),t),i(n(95784),t),i(n(60919),t),i(n(90634),t),i(n(21253),t),i(n(5986),t),i(n(12914),t),i(n(35222),t),i(n(96484),t),i(n(48375),t),i(n(58324),t),i(n(95541),t),i(n(33214),t)},84672:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(57858),t),i(n(82308),t)},57858:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TypeSystemPolicy=void 0;const r=n(91808);var i;!function(e){function t(t){const n=(0,r.IsObject)(t);return e.AllowArrayObject?n:n&&!(0,r.IsArray)(t)}e.ExactOptionalPropertyTypes=!1,e.AllowArrayObject=!1,e.AllowNaN=!1,e.AllowNullVoid=!1,e.IsExactOptionalProperty=function(t,n){return e.ExactOptionalPropertyTypes?n in t:void 0!==t[n]},e.IsObjectLike=t,e.IsRecordLike=function(e){return t(e)&&!(e instanceof Date)&&!(e instanceof Uint8Array)},e.IsNumberLike=function(t){const n=(0,r.IsNumber)(t);return e.AllowNaN?n:n&&Number.isFinite(t)},e.IsVoidLike=function(t){const n=(0,r.IsUndefined)(t);return e.AllowNullVoid?n||null===t:n}}(i||(t.TypeSystemPolicy=i={}))},82308:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TypeSystem=t.TypeSystemDuplicateFormat=t.TypeSystemDuplicateTypeKind=void 0;const r=n(73833),i=n(58324),o=n(65834),a=n(759);class s extends a.TypeBoxError{constructor(e){super(`Duplicate type kind '${e}' detected`)}}t.TypeSystemDuplicateTypeKind=s;class u extends a.TypeBoxError{constructor(e){super(`Duplicate string format '${e}' detected`)}}var c;t.TypeSystemDuplicateFormat=u,function(e){e.Type=function(e,t){if(r.TypeRegistry.Has(e))throw new s(e);return r.TypeRegistry.Set(e,t),(t={})=>(0,i.Unsafe)({...t,[o.Kind]:e})},e.Format=function(e,t){if(r.FormatRegistry.Has(e))throw new u(e);return r.FormatRegistry.Set(e,t),e}}(c||(t.TypeSystem=c={}))},30731:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Any=void 0;const r=n(65834);t.Any=function(e={}){return{...e,[r.Kind]:"Any"}}},81977:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(30731),t)},55268:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Array=void 0;const r=n(59727),i=n(65834);t.Array=function(e,t={}){return{...t,[i.Kind]:"Array",type:"array",items:(0,r.CloneType)(e)}}},42849:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(55268),t)},28643:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AsyncIterator=void 0;const r=n(65834),i=n(59727);t.AsyncIterator=function(e,t={}){return{...t,[r.Kind]:"AsyncIterator",type:"AsyncIterator",items:(0,i.CloneType)(e)}}},86345:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(28643),t)},64195:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Awaited=void 0;const r=n(49823),i=n(96484),o=n(59727),a=n(48733);function s(e){return e.map((e=>u(e)))}function u(e){return(0,a.IsIntersect)(e)?function(e){return(0,r.Intersect)(s(e))}(e.allOf):(0,a.IsUnion)(e)?function(e){return(0,i.Union)(s(e))}(e.anyOf):(0,a.IsPromise)(e)?function(e){return u(e)}(e.item):e}t.Awaited=function(e,t={}){return(0,o.CloneType)(u(e),t)}},38209:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(64195),t)},4355:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BigInt=void 0;const r=n(65834);t.BigInt=function(e={}){return{...e,[r.Kind]:"BigInt",type:"bigint"}}},47932:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(4355),t)},94229:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Boolean=void 0;const r=n(65834);t.Boolean=function(e={}){return{...e,[r.Kind]:"Boolean",type:"boolean"}}},35376:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(94229),t)},9647:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(59727),t),i(n(67097),t)},59727:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CloneType=t.CloneRest=void 0;const r=n(67097);function i(e,t={}){return{...(0,r.Clone)(e),...t}}t.CloneRest=function(e){return e.map((e=>i(e)))},t.CloneType=i},67097:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Clone=void 0;const r=n(54132);function i(e){return r.IsArray(e)?function(e){return e.map((e=>i(e)))}(e):r.IsDate(e)?function(e){return new Date(e.getTime())}(e):r.IsUint8Array(e)?function(e){return new Uint8Array(e)}(e):r.IsRegExp(e)?function(e){return new RegExp(e.source,e.flags)}(e):r.IsObject(e)?function(e){return{...Object.getOwnPropertyNames(e).reduce(((t,n)=>({...t,[n]:i(e[n])})),{}),...Object.getOwnPropertySymbols(e).reduce(((t,n)=>({...t,[n]:i(e[n])})),{})}}(e):e}t.Clone=function(e){return i(e)}},40118:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Composite=void 0;const r=n(49823),i=n(42387),o=n(19131),a=n(17152),s=n(87900),u=n(48733);function c(e,t){return e.reduce(((e,n)=>function(e){return e.filter((e=>!(0,u.IsNever)(e)))}([...e,...(0,i.IndexFromPropertyKeys)(n,[t])])),[])}t.Composite=function(e,t={}){const n=function(e){return e.reduce(((e,t)=>(0,s.SetDistinct)([...e,...(0,o.KeyOfPropertyKeys)(t)])),[])}(e),i=function(e,t){return t.reduce(((t,n)=>({...t,[n]:(0,r.IntersectEvaluated)(c(e,n))})),{})}(e,n);return(0,a.Object)(i,t)}},53422:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(40118),t)},53442:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Const=void 0;const r=n(81977),i=n(47932),o=n(97137),a=n(13992),s=n(45348),u=n(49246),c=n(17152),l=n(60919),f=n(5986),d=n(66958),p=n(35222),h=n(12914),g=n(48375),m=n(9647),y=n(54132);function v(e,t){return!0===t?e:(0,d.Readonly)(e)}function b(e,t){return(0,y.IsAsyncIterator)(e)||(0,y.IsIterator)(e)?v((0,r.Any)(),t):(0,y.IsArray)(e)?(0,d.Readonly)((0,f.Tuple)(e.map((e=>b(e,!1))))):(0,y.IsUint8Array)(e)?(0,h.Uint8Array)():(0,y.IsDate)(e)?(0,o.Date)():(0,y.IsObject)(e)?v((0,c.Object)(function(e){return globalThis.Object.getOwnPropertyNames(e).reduce(((t,n)=>({...t,[n]:(0,d.Readonly)(b(e[n],!1))})),{})}(e)),t):(0,y.IsFunction)(e)?v((0,a.Function)([],(0,g.Unknown)()),t):(0,y.IsUndefined)(e)?(0,p.Undefined)():(0,y.IsNull)(e)?(0,u.Null)():(0,y.IsSymbol)(e)?(0,l.Symbol)():(0,y.IsBigInt)(e)?(0,i.BigInt)():(0,y.IsNumber)(e)||(0,y.IsBoolean)(e)||(0,y.IsString)(e)?(0,s.Literal)(e):(0,c.Object)({})}t.Const=function(e,t={}){return(0,m.CloneType)(b(e,!0),t)}},48614:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(53442),t)},67278:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ConstructorParameters=void 0;const r=n(5986),i=n(59727);t.ConstructorParameters=function(e,t={}){return(0,r.Tuple)((0,i.CloneRest)(e.parameters),{...t})}},51433:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(67278),t)},46727:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Constructor=void 0;const r=n(59727),i=n(65834);t.Constructor=function(e,t,n){return{...n,[i.Kind]:"Constructor",type:"Constructor",parameters:(0,r.CloneRest)(e),returns:(0,r.CloneType)(t)}}},47959:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(46727),t)},74905:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Date=void 0;const r=n(65834);t.Date=function(e={}){return{...e,[r.Kind]:"Date",type:"Date"}}},97137:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(74905),t)},70225:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Deref=void 0;const r=n(59727),i=n(20726),o=n(54132),a=n(48733);function s(e,t){return e.map((e=>l(e,t)))}function u(e,t){return e.properties=function(e,t){return globalThis.Object.getOwnPropertyNames(e).reduce(((n,r)=>({...n,[r]:l(e[r],t)})),{})}(e.properties,t),e}function c(e,t){return(0,a.IsConstructor)(e)||(0,a.IsFunction)(e)?function(e,t){return e.parameters=s(e.parameters,t),e.returns=l(e.returns,t),e}(e,t):(0,a.IsIntersect)(e)?function(e,t){return e.allOf=s(e.allOf,t),e}(e,t):(0,a.IsUnion)(e)?function(e,t){return e.anyOf=s(e.anyOf,t),e}(e,t):(0,a.IsTuple)(e)?function(e,t){return(0,o.IsUndefined)(e.items)||(e.items=s(e.items,t)),e}(e,t):(0,a.IsArray)(e)?function(e,t){return e.items=l(e.items,t),e}(e,t):(0,a.IsObject)(e)?u(e,t):(0,a.IsPromise)(e)?function(e,t){return e.item=l(e.item,t),e}(e,t):(0,a.IsAsyncIterator)(e)||(0,a.IsIterator)(e)?function(e,t){return e.items=l(e.items,t),e}(e,t):(0,a.IsRef)(e)?function(e,t){const n=t.find((t=>t.$id===e.$ref));if(void 0===n)throw Error(`Unable to dereference schema with $id ${e.$ref}`);return l((0,i.Discard)(n,["$id"]),t)}(e,t):e}function l(e,t){return c((0,r.CloneType)(e),(0,r.CloneRest)(t))}t.Deref=l},44094:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(70225),t)},99091:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Discard=void 0,t.Discard=function(e,t){return t.reduce(((e,t)=>function(e,t){const{[t]:n,...r}=e;return r}(e,t)),e)}},20726:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(99091),t)},20558:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Enum=void 0;const r=n(45348),i=n(65834),o=n(96484),a=n(54132);t.Enum=function(e,t={}){if((0,a.IsUndefined)(e))throw new Error("Enum undefined or empty");const n=globalThis.Object.getOwnPropertyNames(e).filter((e=>isNaN(e))).map((t=>e[t])),s=[...new Set(n)].map((e=>(0,r.Literal)(e)));return(0,o.Union)(s,{...t,[i.Hint]:"Enum"})}},35287:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(20558),t)},16906:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TypeBoxError=void 0;class n extends Error{constructor(e){super(e)}}t.TypeBoxError=n},759:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(16906),t)},70255:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ExcludeFromMappedResult=void 0;const r=n(47636),i=n(31737);function o(e,t){return n=e.properties,r=t,globalThis.Object.getOwnPropertyNames(n).reduce(((e,t)=>({...e,[t]:(0,i.Exclude)(n[t],r)})),{});var n,r}t.ExcludeFromMappedResult=function(e,t){const n=o(e,t);return(0,r.MappedResult)(n)}},1015:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ExcludeFromTemplateLiteral=void 0;const r=n(31737),i=n(90634);t.ExcludeFromTemplateLiteral=function(e,t){return(0,r.Exclude)((0,i.TemplateLiteralToUnion)(e),t)}},31737:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Exclude=void 0;const r=n(96484),i=n(73621),o=n(89866),a=n(59727),s=n(70255),u=n(1015),c=n(48733);t.Exclude=function(e,t,n={}){return(0,c.IsTemplateLiteral)(e)?(0,a.CloneType)((0,u.ExcludeFromTemplateLiteral)(e,t),n):(0,c.IsMappedResult)(e)?(0,a.CloneType)((0,s.ExcludeFromMappedResult)(e,t),n):(0,a.CloneType)((0,c.IsUnion)(e)?function(e,t){const n=e.filter((e=>(0,o.ExtendsCheck)(e,t)===o.ExtendsResult.False));return 1===n.length?n[0]:(0,r.Union)(n)}(e.anyOf,t):(0,o.ExtendsCheck)(e,t)!==o.ExtendsResult.False?(0,i.Never)():e,n)}},96709:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(70255),t),i(n(1015),t),i(n(31737),t)},63697:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ExtendsCheck=t.ExtendsResult=t.ExtendsResolverError=void 0;const r=n(81977),i=n(13992),o=n(74459),a=n(95784),s=n(48375),u=n(90634),c=n(49940),l=n(65834),f=n(759),d=n(76553);class p extends f.TypeBoxError{}var h;function g(e){return e===h.False?e:h.True}function m(e){throw new p(e)}function y(e){return d.TypeGuard.IsNever(e)||d.TypeGuard.IsIntersect(e)||d.TypeGuard.IsUnion(e)||d.TypeGuard.IsUnknown(e)||d.TypeGuard.IsAny(e)}function v(e,t){return d.TypeGuard.IsNever(t)?x(e,t):d.TypeGuard.IsIntersect(t)?T(e,t):d.TypeGuard.IsUnion(t)?z(e,t):d.TypeGuard.IsUnknown(t)?H(e,t):d.TypeGuard.IsAny(t)?b(e,t):m("StructuralRight")}function b(e,t){return h.True}function _(e,t){return d.TypeGuard.IsLiteralBoolean(e)||d.TypeGuard.IsBoolean(e)?h.True:h.False}function w(e,t){return d.TypeGuard.IsLiteral(e)&&d.ValueGuard.IsNumber(e.const)||d.TypeGuard.IsNumber(e)||d.TypeGuard.IsInteger(e)?h.True:h.False}function T(e,t){return t.allOf.every((t=>q(e,t)===h.True))?h.True:h.False}function x(e,t){return h.False}function S(e){let[t,n]=[e,0];for(;d.TypeGuard.IsNot(t);)t=t.not,n+=1;return n%2==0?t:(0,s.Unknown)()}function k(e,t){return d.TypeGuard.IsLiteralNumber(e)||d.TypeGuard.IsNumber(e)||d.TypeGuard.IsInteger(e)?h.True:h.False}function E(e,t){return Object.getOwnPropertyNames(e.properties).length===t}function O(e){return I(e)}function C(e){return E(e,0)||E(e,1)&&"description"in e.properties&&d.TypeGuard.IsUnion(e.properties.description)&&2===e.properties.description.anyOf.length&&(d.TypeGuard.IsString(e.properties.description.anyOf[0])&&d.TypeGuard.IsUndefined(e.properties.description.anyOf[1])||d.TypeGuard.IsString(e.properties.description.anyOf[1])&&d.TypeGuard.IsUndefined(e.properties.description.anyOf[0]))}function L(e){return E(e,0)}function A(e){return E(e,0)}function I(e){const t=(0,o.Number)();return E(e,0)||E(e,1)&&"length"in e.properties&&g(q(e.properties.length,t))===h.True}function P(e,t){return q(e,t)===h.False||d.TypeGuard.IsOptional(e)&&!d.TypeGuard.IsOptional(t)?h.False:h.True}function M(e,t){return d.TypeGuard.IsUnknown(e)?h.False:d.TypeGuard.IsAny(e)?h.Union:d.TypeGuard.IsNever(e)||d.TypeGuard.IsLiteralString(e)&&O(t)||d.TypeGuard.IsLiteralNumber(e)&&L(t)||d.TypeGuard.IsLiteralBoolean(e)&&A(t)||d.TypeGuard.IsSymbol(e)&&C(t)||d.TypeGuard.IsBigInt(e)&&E(t,0)||d.TypeGuard.IsString(e)&&O(t)||d.TypeGuard.IsSymbol(e)&&C(t)||d.TypeGuard.IsNumber(e)&&L(t)||d.TypeGuard.IsInteger(e)&&L(t)||d.TypeGuard.IsBoolean(e)&&A(t)||d.TypeGuard.IsUint8Array(e)&&function(e){return I(e)}(t)||d.TypeGuard.IsDate(e)&&function(e){return E(e,0)}(t)||d.TypeGuard.IsConstructor(e)&&function(e){return E(e,0)}(t)||d.TypeGuard.IsFunction(e)&&function(e){const t=(0,o.Number)();return E(e,0)||E(e,1)&&"length"in e.properties&&g(q(e.properties.length,t))===h.True}(t)?h.True:d.TypeGuard.IsRecord(e)&&d.TypeGuard.IsString(j(e))?"Record"===t[l.Hint]?h.True:h.False:d.TypeGuard.IsRecord(e)&&d.TypeGuard.IsNumber(j(e))&&E(t,0)?h.True:h.False}function R(e,t){return y(t)?v(e,t):d.TypeGuard.IsObject(t)&&function(e){const t=(0,i.Function)([(0,r.Any)()],(0,r.Any)());return E(e,0)||E(e,1)&&"then"in e.properties&&g(q(e.properties.then,t))===h.True}(t)?h.True:d.TypeGuard.IsPromise(t)?g(q(e.item,t.item)):h.False}function j(e){return c.PatternNumberExact in e.patternProperties?(0,o.Number)():c.PatternStringExact in e.patternProperties?(0,a.String)():m("Unknown record key pattern")}function D(e){return c.PatternNumberExact in e.patternProperties?e.patternProperties[c.PatternNumberExact]:c.PatternStringExact in e.patternProperties?e.patternProperties[c.PatternStringExact]:m("Unable to get record value schema")}function N(e,t){const[n,r]=[j(t),D(t)];return d.TypeGuard.IsLiteralString(e)&&d.TypeGuard.IsNumber(n)&&g(q(e,r))===h.True?h.True:d.TypeGuard.IsUint8Array(e)&&d.TypeGuard.IsNumber(n)||d.TypeGuard.IsString(e)&&d.TypeGuard.IsNumber(n)||d.TypeGuard.IsArray(e)&&d.TypeGuard.IsNumber(n)?q(e,r):d.TypeGuard.IsObject(e)?(()=>{for(const t of Object.getOwnPropertyNames(e.properties))if(P(r,e.properties[t])===h.False)return h.False;return h.True})():h.False}function B(e,t){return d.TypeGuard.IsLiteral(e)&&d.ValueGuard.IsString(e.const)||d.TypeGuard.IsString(e)?h.True:h.False}function U(e,t){return y(t)?v(e,t):d.TypeGuard.IsObject(t)&&I(t)||d.TypeGuard.IsArray(t)&&function(e,t){return d.TypeGuard.IsArray(t)&&void 0!==e.items&&e.items.every((e=>q(e,t.items)===h.True))}(e,t)?h.True:d.TypeGuard.IsTuple(t)?d.ValueGuard.IsUndefined(e.items)&&!d.ValueGuard.IsUndefined(t.items)||!d.ValueGuard.IsUndefined(e.items)&&d.ValueGuard.IsUndefined(t.items)?h.False:d.ValueGuard.IsUndefined(e.items)&&!d.ValueGuard.IsUndefined(t.items)||e.items.every(((e,n)=>q(e,t.items[n])===h.True))?h.True:h.False:h.False}function F(e,t){return y(t)?v(e,t):d.TypeGuard.IsObject(t)?M(e,t):d.TypeGuard.IsRecord(t)?N(e,t):d.TypeGuard.IsVoid(t)?function(e,t){return d.TypeGuard.IsUndefined(e)||d.TypeGuard.IsUndefined(e)?h.True:h.False}(e):d.TypeGuard.IsUndefined(t)?h.True:h.False}function z(e,t){return t.anyOf.some((t=>q(e,t)===h.True))?h.True:h.False}function H(e,t){return h.True}function Z(e,t){return d.TypeGuard.IsNever(t)?x():d.TypeGuard.IsIntersect(t)?T(e,t):d.TypeGuard.IsUnion(t)?z(e,t):d.TypeGuard.IsAny(t)?b():d.TypeGuard.IsString(t)?B(e):d.TypeGuard.IsNumber(t)?k(e):d.TypeGuard.IsInteger(t)?w(e):d.TypeGuard.IsBoolean(t)?_(e):d.TypeGuard.IsArray(t)?function(e,t){return d.TypeGuard.IsUnknown(e)?h.False:d.TypeGuard.IsAny(e)?h.Union:d.TypeGuard.IsNever(e)?h.True:h.False}(e):d.TypeGuard.IsTuple(t)?function(e,t){return d.TypeGuard.IsNever(e)?h.True:d.TypeGuard.IsUnknown(e)?h.False:d.TypeGuard.IsAny(e)?h.Union:h.False}(e):d.TypeGuard.IsObject(t)?M(e,t):d.TypeGuard.IsUnknown(t)?h.True:h.False}function q(e,t){return d.TypeGuard.IsTemplateLiteral(e)||d.TypeGuard.IsTemplateLiteral(t)?function(e,t){return d.TypeGuard.IsTemplateLiteral(e)?q((0,u.TemplateLiteralToUnion)(e),t):d.TypeGuard.IsTemplateLiteral(t)?q(e,(0,u.TemplateLiteralToUnion)(t)):m("Invalid fallthrough for TemplateLiteral")}(e,t):d.TypeGuard.IsRegExp(e)||d.TypeGuard.IsRegExp(t)?function(e,t){return q(d.TypeGuard.IsRegExp(e)?(0,a.String)():e,d.TypeGuard.IsRegExp(t)?(0,a.String)():t)}(e,t):d.TypeGuard.IsNot(e)||d.TypeGuard.IsNot(t)?function(e,t){return d.TypeGuard.IsNot(e)?q(S(e),t):d.TypeGuard.IsNot(t)?q(e,S(t)):m("Invalid fallthrough for Not")}(e,t):d.TypeGuard.IsAny(e)?function(e,t){return d.TypeGuard.IsIntersect(t)?T(e,t):d.TypeGuard.IsUnion(t)&&t.anyOf.some((e=>d.TypeGuard.IsAny(e)||d.TypeGuard.IsUnknown(e)))?h.True:d.TypeGuard.IsUnion(t)?h.Union:d.TypeGuard.IsUnknown(t)||d.TypeGuard.IsAny(t)?h.True:h.Union}(e,t):d.TypeGuard.IsArray(e)?function(e,t){return d.TypeGuard.IsObject(t)&&I(t)?h.True:y(t)?v(e,t):d.TypeGuard.IsArray(t)?g(q(e.items,t.items)):h.False}(e,t):d.TypeGuard.IsBigInt(e)?function(e,t){return y(t)?v(e,t):d.TypeGuard.IsObject(t)?M(e,t):d.TypeGuard.IsRecord(t)?N(e,t):d.TypeGuard.IsBigInt(t)?h.True:h.False}(e,t):d.TypeGuard.IsBoolean(e)?function(e,t){return y(t)?v(e,t):d.TypeGuard.IsObject(t)?M(e,t):d.TypeGuard.IsRecord(t)?N(e,t):d.TypeGuard.IsBoolean(t)?h.True:h.False}(e,t):d.TypeGuard.IsAsyncIterator(e)?function(e,t){return y(t)?v(e,t):d.TypeGuard.IsAsyncIterator(t)?g(q(e.items,t.items)):h.False}(e,t):d.TypeGuard.IsConstructor(e)?function(e,t){return y(t)?v(e,t):d.TypeGuard.IsObject(t)?M(e,t):d.TypeGuard.IsConstructor(t)?e.parameters.length>t.parameters.length?h.False:e.parameters.every(((e,n)=>g(q(t.parameters[n],e))===h.True))?g(q(e.returns,t.returns)):h.False:h.False}(e,t):d.TypeGuard.IsDate(e)?function(e,t){return y(t)?v(e,t):d.TypeGuard.IsObject(t)?M(e,t):d.TypeGuard.IsRecord(t)?N(e,t):d.TypeGuard.IsDate(t)?h.True:h.False}(e,t):d.TypeGuard.IsFunction(e)?function(e,t){return y(t)?v(e,t):d.TypeGuard.IsObject(t)?M(e,t):d.TypeGuard.IsFunction(t)?e.parameters.length>t.parameters.length?h.False:e.parameters.every(((e,n)=>g(q(t.parameters[n],e))===h.True))?g(q(e.returns,t.returns)):h.False:h.False}(e,t):d.TypeGuard.IsInteger(e)?function(e,t){return d.TypeGuard.IsInteger(t)||d.TypeGuard.IsNumber(t)?h.True:y(t)?v(e,t):d.TypeGuard.IsObject(t)?M(e,t):d.TypeGuard.IsRecord(t)?N(e,t):h.False}(e,t):d.TypeGuard.IsIntersect(e)?function(e,t){return e.allOf.some((e=>q(e,t)===h.True))?h.True:h.False}(e,t):d.TypeGuard.IsIterator(e)?function(e,t){return y(t)?v(e,t):d.TypeGuard.IsIterator(t)?g(q(e.items,t.items)):h.False}(e,t):d.TypeGuard.IsLiteral(e)?function(e,t){return d.TypeGuard.IsLiteral(t)&&t.const===e.const?h.True:y(t)?v(e,t):d.TypeGuard.IsObject(t)?M(e,t):d.TypeGuard.IsRecord(t)?N(e,t):d.TypeGuard.IsString(t)?B(e):d.TypeGuard.IsNumber(t)?k(e):d.TypeGuard.IsInteger(t)?w(e):d.TypeGuard.IsBoolean(t)?_(e):h.False}(e,t):d.TypeGuard.IsNever(e)?h.True:d.TypeGuard.IsNull(e)?function(e,t){return y(t)?v(e,t):d.TypeGuard.IsObject(t)?M(e,t):d.TypeGuard.IsRecord(t)?N(e,t):d.TypeGuard.IsNull(t)?h.True:h.False}(e,t):d.TypeGuard.IsNumber(e)?function(e,t){return y(t)?v(e,t):d.TypeGuard.IsObject(t)?M(e,t):d.TypeGuard.IsRecord(t)?N(e,t):d.TypeGuard.IsInteger(t)||d.TypeGuard.IsNumber(t)?h.True:h.False}(e,t):d.TypeGuard.IsObject(e)?function(e,t){return y(t)?v(e,t):d.TypeGuard.IsRecord(t)?N(e,t):d.TypeGuard.IsObject(t)?(()=>{for(const n of Object.getOwnPropertyNames(t.properties)){if(!(n in e.properties)&&!d.TypeGuard.IsOptional(t.properties[n]))return h.False;if(d.TypeGuard.IsOptional(t.properties[n]))return h.True;if(P(e.properties[n],t.properties[n])===h.False)return h.False}return h.True})():h.False}(e,t):d.TypeGuard.IsRecord(e)?function(e,t){return y(t)?v(e,t):d.TypeGuard.IsObject(t)?M(e,t):d.TypeGuard.IsRecord(t)?q(D(e),D(t)):h.False}(e,t):d.TypeGuard.IsString(e)?function(e,t){return y(t)?v(e,t):d.TypeGuard.IsObject(t)?M(e,t):d.TypeGuard.IsRecord(t)?N(e,t):d.TypeGuard.IsString(t)?h.True:h.False}(e,t):d.TypeGuard.IsSymbol(e)?function(e,t){return y(t)?v(e,t):d.TypeGuard.IsObject(t)?M(e,t):d.TypeGuard.IsRecord(t)?N(e,t):d.TypeGuard.IsSymbol(t)?h.True:h.False}(e,t):d.TypeGuard.IsTuple(e)?U(e,t):d.TypeGuard.IsPromise(e)?R(e,t):d.TypeGuard.IsUint8Array(e)?function(e,t){return y(t)?v(e,t):d.TypeGuard.IsObject(t)?M(e,t):d.TypeGuard.IsRecord(t)?N(e,t):d.TypeGuard.IsUint8Array(t)?h.True:h.False}(e,t):d.TypeGuard.IsUndefined(e)?F(e,t):d.TypeGuard.IsUnion(e)?function(e,t){return e.anyOf.every((e=>q(e,t)===h.True))?h.True:h.False}(e,t):d.TypeGuard.IsUnknown(e)?Z(e,t):d.TypeGuard.IsVoid(e)?function(e,t){return d.TypeGuard.IsIntersect(t)?T(e,t):d.TypeGuard.IsUnion(t)?z(e,t):d.TypeGuard.IsUnknown(t)?H():d.TypeGuard.IsAny(t)?b():d.TypeGuard.IsObject(t)?M(e,t):d.TypeGuard.IsVoid(t)?h.True:h.False}(e,t):m(`Unknown left type operand '${e[l.Kind]}'`)}t.ExtendsResolverError=p,function(e){e[e.Union=0]="Union",e[e.True=1]="True",e[e.False=2]="False"}(h||(t.ExtendsResult=h={})),t.ExtendsCheck=function(e,t){return q(e,t)}},89910:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ExtendsFromMappedKey=void 0;const r=n(47636),i=n(45348),o=n(76123);function a(e,t,n,r,a){return{[e]:(0,o.Extends)((0,i.Literal)(e),t,n,r,a)}}function s(e,t,n,r,i){return function(e,t,n,r,i){return e.reduce(((e,o)=>({...e,...a(o,t,n,r,i)})),{})}(e.keys,t,n,r,i)}t.ExtendsFromMappedKey=function(e,t,n,i,o){const a=s(e,t,n,i,o);return(0,r.MappedResult)(a)}},38432:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ExtendsFromMappedResult=void 0;const r=n(47636),i=n(76123);function o(e,t,n,r,o){return function(e,t,n,r,o){return globalThis.Object.getOwnPropertyNames(e).reduce(((a,s)=>({...a,[s]:(0,i.Extends)(e[s],t,n,r,o)})),{})}(e.properties,t,n,r,o)}t.ExtendsFromMappedResult=function(e,t,n,i,a){const s=o(e,t,n,i,a);return(0,r.MappedResult)(s)}},74161:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ExtendsUndefinedCheck=void 0;const r=n(65834);function i(e){return"Intersect"===e[r.Kind]?function(e){return e.allOf.every((e=>i(e)))}(e):"Union"===e[r.Kind]?function(e){return e.anyOf.some((e=>i(e)))}(e):"Not"===e[r.Kind]?function(e){return!i(e.not)}(e):"Undefined"===e[r.Kind]}t.ExtendsUndefinedCheck=i},76123:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Extends=void 0;const r=n(96484),i=n(63697),o=n(59727),a=n(89910),s=n(38432),u=n(48733);t.Extends=function(e,t,n,c,l={}){return(0,u.IsMappedResult)(e)?(0,s.ExtendsFromMappedResult)(e,t,n,c,l):(0,u.IsMappedKey)(e)?(0,o.CloneType)((0,a.ExtendsFromMappedKey)(e,t,n,c,l)):(0,o.CloneType)(function(e,t,n,o){const a=(0,i.ExtendsCheck)(e,t);return a===i.ExtendsResult.Union?(0,r.Union)([n,o]):a===i.ExtendsResult.True?n:o}(e,t,n,c),l)}},89866:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(63697),t),i(n(89910),t),i(n(38432),t),i(n(74161),t),i(n(76123),t)},31575:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ExtractFromMappedResult=void 0;const r=n(47636),i=n(16158);function o(e,t){return function(e,t){return globalThis.Object.getOwnPropertyNames(e).reduce(((n,r)=>({...n,[r]:(0,i.Extract)(e[r],t)})),{})}(e.properties,t)}t.ExtractFromMappedResult=function(e,t){const n=o(e,t);return(0,r.MappedResult)(n)}},97507:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ExtractFromTemplateLiteral=void 0;const r=n(16158),i=n(90634);t.ExtractFromTemplateLiteral=function(e,t){return(0,r.Extract)((0,i.TemplateLiteralToUnion)(e),t)}},16158:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Extract=void 0;const r=n(96484),i=n(73621),o=n(89866),a=n(59727),s=n(31575),u=n(97507),c=n(48733);t.Extract=function(e,t,n={}){return(0,c.IsTemplateLiteral)(e)?(0,a.CloneType)((0,u.ExtractFromTemplateLiteral)(e,t),n):(0,c.IsMappedResult)(e)?(0,a.CloneType)((0,s.ExtractFromMappedResult)(e,t),n):(0,a.CloneType)((0,c.IsUnion)(e)?function(e,t){const n=e.filter((e=>(0,o.ExtendsCheck)(e,t)!==o.ExtendsResult.False));return 1===n.length?n[0]:(0,r.Union)(n)}(e.anyOf,t):(0,o.ExtendsCheck)(e,t)!==o.ExtendsResult.False?e:(0,i.Never)(),n)}},71021:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(31575),t),i(n(97507),t),i(n(16158),t)},29920:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Function=void 0;const r=n(59727),i=n(65834);t.Function=function(e,t,n){return{...n,[i.Kind]:"Function",type:"Function",parameters:(0,r.CloneRest)(e),returns:(0,r.CloneType)(t)}}},13992:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(29920),t)},76553:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ValueGuard=t.TypeGuard=void 0,t.TypeGuard=n(48733),t.ValueGuard=n(54132)},48733:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.IsSchema=t.IsKind=t.IsVoid=t.IsUnsafe=t.IsUnknown=t.IsUint8Array=t.IsUnion=t.IsUnionLiteral=t.IsUndefined=t.IsTuple=t.IsTransform=t.IsThis=t.IsTemplateLiteral=t.IsSymbol=t.IsString=t.IsRegExp=t.IsRef=t.IsRecursive=t.IsRecord=t.IsPromise=t.IsObject=t.IsNumber=t.IsNull=t.IsNot=t.IsNever=t.IsMappedResult=t.IsMappedKey=t.IsLiteralValue=t.IsLiteral=t.IsLiteralBoolean=t.IsLiteralNumber=t.IsLiteralString=t.IsKindOf=t.IsIterator=t.IsIntersect=t.IsProperties=t.IsInteger=t.IsFunction=t.IsDate=t.IsConstructor=t.IsBoolean=t.IsBigInt=t.IsAsyncIterator=t.IsArray=t.IsAny=t.IsOptional=t.IsReadonly=t.TypeGuardUnknownTypeError=void 0;const r=n(54132),i=n(65834),o=n(759);class a extends o.TypeBoxError{}t.TypeGuardUnknownTypeError=a;const s=["Any","Array","AsyncIterator","BigInt","Boolean","Constructor","Date","Enum","Function","Integer","Intersect","Iterator","Literal","MappedKey","MappedResult","Not","Null","Number","Object","Promise","Record","Ref","RegExp","String","Symbol","TemplateLiteral","This","Tuple","Undefined","Union","Uint8Array","Unknown","Void"];function u(e){try{return new RegExp(e),!0}catch{return!1}}function c(e){if(!r.IsString(e))return!1;for(let t=0;t<e.length;t++){const n=e.charCodeAt(t);if(n>=7&&n<=13||27===n||127===n)return!1}return!0}function l(e){return p(e)||re(e)}function f(e){return r.IsUndefined(e)||r.IsBigInt(e)}function d(e){return r.IsUndefined(e)||r.IsNumber(e)}function p(e){return r.IsUndefined(e)||r.IsBoolean(e)}function h(e){return r.IsUndefined(e)||r.IsString(e)}function g(e){return r.IsUndefined(e)||re(e)}function m(e){return C(e,"Any")&&h(e.$id)}function y(e){return C(e,"Array")&&"array"===e.type&&h(e.$id)&&re(e.items)&&d(e.minItems)&&d(e.maxItems)&&p(e.uniqueItems)&&g(e.contains)&&d(e.minContains)&&d(e.maxContains)}function v(e){return C(e,"AsyncIterator")&&"AsyncIterator"===e.type&&h(e.$id)&&re(e.items)}function b(e){return C(e,"BigInt")&&"bigint"===e.type&&h(e.$id)&&f(e.exclusiveMaximum)&&f(e.exclusiveMinimum)&&f(e.maximum)&&f(e.minimum)&&f(e.multipleOf)}function _(e){return C(e,"Boolean")&&"boolean"===e.type&&h(e.$id)}function w(e){return C(e,"Constructor")&&"Constructor"===e.type&&h(e.$id)&&r.IsArray(e.parameters)&&e.parameters.every((e=>re(e)))&&re(e.returns)}function T(e){return C(e,"Date")&&"Date"===e.type&&h(e.$id)&&d(e.exclusiveMaximumTimestamp)&&d(e.exclusiveMinimumTimestamp)&&d(e.maximumTimestamp)&&d(e.minimumTimestamp)&&d(e.multipleOfTimestamp)}function x(e){return C(e,"Function")&&"Function"===e.type&&h(e.$id)&&r.IsArray(e.parameters)&&e.parameters.every((e=>re(e)))&&re(e.returns)}function S(e){return C(e,"Integer")&&"integer"===e.type&&h(e.$id)&&d(e.exclusiveMaximum)&&d(e.exclusiveMinimum)&&d(e.maximum)&&d(e.minimum)&&d(e.multipleOf)}function k(e){return r.IsObject(e)&&Object.entries(e).every((([e,t])=>c(e)&&re(t)))}function E(e){return C(e,"Intersect")&&(!r.IsString(e.type)||"object"===e.type)&&r.IsArray(e.allOf)&&e.allOf.every((e=>re(e)&&!$(e)))&&h(e.type)&&(p(e.unevaluatedProperties)||g(e.unevaluatedProperties))&&h(e.$id)}function O(e){return C(e,"Iterator")&&"Iterator"===e.type&&h(e.$id)&&re(e.items)}function C(e,t){return r.IsObject(e)&&i.Kind in e&&e[i.Kind]===t}function L(e){return I(e)&&r.IsString(e.const)}function A(e){return I(e)&&r.IsNumber(e.const)}function I(e){return C(e,"Literal")&&h(e.$id)&&P(e.const)}function P(e){return r.IsBoolean(e)||r.IsNumber(e)||r.IsString(e)}function M(e){return C(e,"MappedKey")&&r.IsArray(e.keys)&&e.keys.every((e=>r.IsNumber(e)||r.IsString(e)))}function R(e){return C(e,"MappedResult")&&k(e.properties)}function j(e){return C(e,"Never")&&r.IsObject(e.not)&&0===Object.getOwnPropertyNames(e.not).length}function D(e){return C(e,"Not")&&re(e.not)}function N(e){return C(e,"Null")&&"null"===e.type&&h(e.$id)}function B(e){return C(e,"Number")&&"number"===e.type&&h(e.$id)&&d(e.exclusiveMaximum)&&d(e.exclusiveMinimum)&&d(e.maximum)&&d(e.minimum)&&d(e.multipleOf)}function U(e){return C(e,"Object")&&"object"===e.type&&h(e.$id)&&k(e.properties)&&l(e.additionalProperties)&&d(e.minProperties)&&d(e.maxProperties)}function F(e){return C(e,"Promise")&&"Promise"===e.type&&h(e.$id)&&re(e.item)}function z(e){return C(e,"Record")&&"object"===e.type&&h(e.$id)&&l(e.additionalProperties)&&r.IsObject(e.patternProperties)&&(e=>{const t=Object.getOwnPropertyNames(e.patternProperties);return 1===t.length&&u(t[0])&&r.IsObject(e.patternProperties)&&re(e.patternProperties[t[0]])})(e)}function H(e){return C(e,"Ref")&&h(e.$id)&&r.IsString(e.$ref)}function Z(e){return C(e,"RegExp")&&h(e.$id)&&r.IsString(e.source)&&r.IsString(e.flags)&&d(e.maxLength)&&d(e.minLength)}function q(e){return C(e,"String")&&"string"===e.type&&h(e.$id)&&d(e.minLength)&&d(e.maxLength)&&function(e){return r.IsUndefined(e)||r.IsString(e)&&c(e)&&u(e)}(e.pattern)&&function(e){return r.IsUndefined(e)||r.IsString(e)&&c(e)}(e.format)}function V(e){return C(e,"Symbol")&&"symbol"===e.type&&h(e.$id)}function W(e){return C(e,"TemplateLiteral")&&"string"===e.type&&r.IsString(e.pattern)&&"^"===e.pattern[0]&&"$"===e.pattern[e.pattern.length-1]}function G(e){return C(e,"This")&&h(e.$id)&&r.IsString(e.$ref)}function $(e){return r.IsObject(e)&&i.TransformKind in e}function Y(e){return C(e,"Tuple")&&"array"===e.type&&h(e.$id)&&r.IsNumber(e.minItems)&&r.IsNumber(e.maxItems)&&e.minItems===e.maxItems&&(r.IsUndefined(e.items)&&r.IsUndefined(e.additionalItems)&&0===e.minItems||r.IsArray(e.items)&&e.items.every((e=>re(e))))}function K(e){return C(e,"Undefined")&&"undefined"===e.type&&h(e.$id)}function X(e){return C(e,"Union")&&h(e.$id)&&r.IsObject(e)&&r.IsArray(e.anyOf)&&e.anyOf.every((e=>re(e)))}function Q(e){return C(e,"Uint8Array")&&"Uint8Array"===e.type&&h(e.$id)&&d(e.minByteLength)&&d(e.maxByteLength)}function J(e){return C(e,"Unknown")&&h(e.$id)}function ee(e){return C(e,"Unsafe")}function te(e){return C(e,"Void")&&"void"===e.type&&h(e.$id)}function ne(e){return r.IsObject(e)&&i.Kind in e&&r.IsString(e[i.Kind])&&!s.includes(e[i.Kind])}function re(e){return r.IsObject(e)&&(m(e)||y(e)||_(e)||b(e)||v(e)||w(e)||T(e)||x(e)||S(e)||E(e)||O(e)||I(e)||M(e)||R(e)||j(e)||D(e)||N(e)||B(e)||U(e)||F(e)||z(e)||H(e)||Z(e)||q(e)||V(e)||W(e)||G(e)||Y(e)||K(e)||X(e)||Q(e)||J(e)||ee(e)||te(e)||ne(e))}t.IsReadonly=function(e){return r.IsObject(e)&&"Readonly"===e[i.ReadonlyKind]},t.IsOptional=function(e){return r.IsObject(e)&&"Optional"===e[i.OptionalKind]},t.IsAny=m,t.IsArray=y,t.IsAsyncIterator=v,t.IsBigInt=b,t.IsBoolean=_,t.IsConstructor=w,t.IsDate=T,t.IsFunction=x,t.IsInteger=S,t.IsProperties=k,t.IsIntersect=E,t.IsIterator=O,t.IsKindOf=C,t.IsLiteralString=L,t.IsLiteralNumber=A,t.IsLiteralBoolean=function(e){return I(e)&&r.IsBoolean(e.const)},t.IsLiteral=I,t.IsLiteralValue=P,t.IsMappedKey=M,t.IsMappedResult=R,t.IsNever=j,t.IsNot=D,t.IsNull=N,t.IsNumber=B,t.IsObject=U,t.IsPromise=F,t.IsRecord=z,t.IsRecursive=function(e){return r.IsObject(e)&&i.Hint in e&&"Recursive"===e[i.Hint]},t.IsRef=H,t.IsRegExp=Z,t.IsString=q,t.IsSymbol=V,t.IsTemplateLiteral=W,t.IsThis=G,t.IsTransform=$,t.IsTuple=Y,t.IsUndefined=K,t.IsUnionLiteral=function(e){return X(e)&&e.anyOf.every((e=>L(e)||A(e)))},t.IsUnion=X,t.IsUint8Array=Q,t.IsUnknown=J,t.IsUnsafe=ee,t.IsVoid=te,t.IsKind=ne,t.IsSchema=re},54132:function(e,t){"use strict";function n(e){return Array.isArray(e)}function r(e){return"object"==typeof e&&null!==e}function i(e){return e instanceof globalThis.Uint8Array}Object.defineProperty(t,"__esModule",{value:!0}),t.IsUndefined=t.IsUint8Array=t.IsSymbol=t.IsString=t.IsRegExp=t.IsObject=t.IsNumber=t.IsNull=t.IsIterator=t.IsFunction=t.IsDate=t.IsBoolean=t.IsBigInt=t.IsArray=t.IsAsyncIterator=void 0,t.IsAsyncIterator=function(e){return r(e)&&!n(e)&&!i(e)&&Symbol.asyncIterator in e},t.IsArray=n,t.IsBigInt=function(e){return"bigint"==typeof e},t.IsBoolean=function(e){return"boolean"==typeof e},t.IsDate=function(e){return e instanceof globalThis.Date},t.IsFunction=function(e){return"function"==typeof e},t.IsIterator=function(e){return r(e)&&!n(e)&&!i(e)&&Symbol.iterator in e},t.IsNull=function(e){return null===e},t.IsNumber=function(e){return"number"==typeof e},t.IsObject=r,t.IsRegExp=function(e){return e instanceof globalThis.RegExp},t.IsString=function(e){return"string"==typeof e},t.IsSymbol=function(e){return"symbol"==typeof e},t.IsUint8Array=i,t.IsUndefined=function(e){return void 0===e}},44896:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Increment=void 0,t.Increment=function(e){return(parseInt(e)+1).toString()}},50879:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(44896),t)},42387:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(33641),t),i(n(33805),t),i(n(78244),t),i(n(17817),t)},33641:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.IndexFromMappedKey=void 0;const r=n(17817),i=n(47636);function o(e,t,n){return{[t]:(0,r.Index)(e,[t],n)}}function a(e,t,n){return function(e,t,n){return t.reduce(((t,r)=>({...t,...o(e,r,n)})),{})}(e,t.keys,n)}t.IndexFromMappedKey=function(e,t,n){const r=a(e,t,n);return(0,i.MappedResult)(r)}},33805:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.IndexFromMappedResult=void 0;const r=n(47636),i=n(78244),o=n(42387);function a(e,t,n){return function(e,t,n){return globalThis.Object.getOwnPropertyNames(t).reduce(((r,a)=>({...r,[a]:(0,o.Index)(e,(0,i.IndexPropertyKeys)(t[a]),n)})),{})}(e,t.properties,n)}t.IndexFromMappedResult=function(e,t,n){const i=a(e,t,n);return(0,r.MappedResult)(i)}},78244:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.IndexPropertyKeys=void 0;const r=n(90634),i=n(48733);function o(e){return(0,r.TemplateLiteralGenerate)(e).map((e=>e.toString()))}function a(e){return e.reduce(((e,t)=>[...e,...u(t)]),[])}function s(e){return[e.toString()]}function u(e){return[...new Set((0,i.IsTemplateLiteral)(e)?o(e):(0,i.IsUnion)(e)?a(e.anyOf):(0,i.IsLiteral)(e)?s(e.const):(0,i.IsNumber)(e)||(0,i.IsInteger)(e)?["[number]"]:[])]}t.IndexPropertyKeys=u},17817:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Index=t.IndexFromPropertyKeys=t.IndexFromPropertyKey=void 0;const r=n(73621),i=n(49823),o=n(96484),a=n(59727),s=n(78244),u=n(33641),c=n(33805),l=n(48733);function f(e,t){return e.map((e=>h(e,t)))}function d(e,t){return(0,i.IntersectEvaluated)(function(e){return e.filter((e=>!(0,l.IsNever)(e)))}(f(e,t)))}function p(e,t){return(0,o.UnionEvaluated)(function(e){return e.some((e=>(0,l.IsNever)(e)))?[]:e}(f(e,t)))}function h(e,t){return(0,l.IsIntersect)(e)?d(e.allOf,t):(0,l.IsUnion)(e)?p(e.anyOf,t):(0,l.IsTuple)(e)?function(e,t){return t in e?e[t]:"[number]"===t?(0,o.UnionEvaluated)(e):(0,r.Never)()}(e.items??[],t):(0,l.IsArray)(e)?function(e,t){return"[number]"===t?e:(0,r.Never)()}(e.items,t):(0,l.IsObject)(e)?function(e,t){return t in e?e[t]:(0,r.Never)()}(e.properties,t):(0,r.Never)()}function g(e,t){return t.map((t=>h(e,t)))}function m(e,t){return(0,o.UnionEvaluated)(g(e,t))}t.IndexFromPropertyKey=h,t.IndexFromPropertyKeys=g,t.Index=function(e,t,n={}){return(0,l.IsMappedResult)(t)?(0,a.CloneType)((0,c.IndexFromMappedResult)(e,t,n)):(0,l.IsMappedKey)(t)?(0,a.CloneType)((0,u.IndexFromMappedKey)(e,t,n)):(0,l.IsSchema)(t)?(0,a.CloneType)(m(e,(0,s.IndexPropertyKeys)(t)),n):(0,a.CloneType)(m(e,t),n)}},33102:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(23566),t)},23566:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.InstanceType=void 0;const r=n(59727);t.InstanceType=function(e,t={}){return(0,r.CloneType)(e.returns,t)}},13517:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(48395),t)},48395:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Integer=void 0;const r=n(65834);t.Integer=function(e={}){return{...e,[r.Kind]:"Integer",type:"integer"}}},49823:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(15202),t),i(n(33106),t),i(n(32269),t)},63681:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.IntersectCreate=void 0;const r=n(65834),i=n(59727),o=n(48733);t.IntersectCreate=function(e,t){const n=e.every((e=>(0,o.IsObject)(e))),a=(0,o.IsSchema)(t.unevaluatedProperties)?{unevaluatedProperties:(0,i.CloneType)(t.unevaluatedProperties)}:{};return!1===t.unevaluatedProperties||(0,o.IsSchema)(t.unevaluatedProperties)||n?{...t,...a,[r.Kind]:"Intersect",type:"object",allOf:(0,i.CloneRest)(e)}:{...t,...a,[r.Kind]:"Intersect",allOf:(0,i.CloneRest)(e)}}},15202:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.IntersectEvaluated=void 0;const r=n(65834),i=n(59727),o=n(20726),a=n(73621),s=n(64203),u=n(63681),c=n(48733);function l(e){return e.map((e=>(0,c.IsOptional)(e)?function(e){return(0,o.Discard)(e,[r.OptionalKind])}(e):e))}function f(e,t){return function(e){return e.every((e=>(0,c.IsOptional)(e)))}(e)?(0,s.Optional)((0,u.IntersectCreate)(l(e),t)):(0,u.IntersectCreate)(l(e),t)}t.IntersectEvaluated=function(e,t={}){if(0===e.length)return(0,a.Never)(t);if(1===e.length)return(0,i.CloneType)(e[0],t);if(e.some((e=>(0,c.IsTransform)(e))))throw new Error("Cannot intersect transform types");return f(e,t)}},33106:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});n(65834)},32269:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Intersect=void 0;const r=n(59727),i=n(73621),o=n(63681),a=n(48733);t.Intersect=function(e,t={}){if(0===e.length)return(0,i.Never)(t);if(1===e.length)return(0,r.CloneType)(e[0],t);if(e.some((e=>(0,a.IsTransform)(e))))throw new Error("Cannot intersect transform types");return(0,o.IntersectCreate)(e,t)}},25124:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Capitalize=void 0;const r=n(61248);t.Capitalize=function(e,t={}){return(0,r.Intrinsic)(e,"Capitalize",t)}},36486:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(25124),t),i(n(24673),t),i(n(61248),t),i(n(94430),t),i(n(83728),t),i(n(43600),t)},24673:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.IntrinsicFromMappedKey=void 0;const r=n(47636),i=n(61248),o=n(45348);function a(e,t,n){return{[e]:(0,i.Intrinsic)((0,o.Literal)(e),t,n)}}function s(e,t,n){return function(e,t,n){return e.reduce(((e,r)=>({...e,...a(r,t,n)})),{})}(e.keys,t,n)}t.IntrinsicFromMappedKey=function(e,t,n){const i=s(e,t,n);return(0,r.MappedResult)(i)}},61248:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Intrinsic=void 0;const r=n(90634),i=n(24673),o=n(45348),a=n(96484),s=n(48733);function u(e,t){return"string"==typeof e?"Uncapitalize"===t?function(e){const[t,n]=[e.slice(0,1),e.slice(1)];return[t.toLowerCase(),n].join("")}(e):"Capitalize"===t?function(e){const[t,n]=[e.slice(0,1),e.slice(1)];return[t.toUpperCase(),n].join("")}(e):"Uppercase"===t?function(e){return e.toUpperCase()}(e):"Lowercase"===t?function(e){return e.toLowerCase()}(e):e:e.toString()}function c(e,t){return e.map((e=>l(e,t)))}function l(e,t,n={}){return(0,s.IsMappedKey)(e)?(0,i.IntrinsicFromMappedKey)(e,t,n):(0,s.IsTemplateLiteral)(e)?function(e,t,n){const i=(0,r.TemplateLiteralParseExact)(e.pattern);if(!(0,r.IsTemplateLiteralExpressionFinite)(i))return{...e,pattern:u(e.pattern,t)};const s=c([...(0,r.TemplateLiteralExpressionGenerate)(i)].map((e=>(0,o.Literal)(e))),t),l=(0,a.Union)(s);return(0,r.TemplateLiteral)([l],n)}(e,t,e):(0,s.IsUnion)(e)?(0,a.Union)(c(e.anyOf,t),n):(0,s.IsLiteral)(e)?(0,o.Literal)(u(e.const,t),n):e}t.Intrinsic=l},94430:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Lowercase=void 0;const r=n(61248);t.Lowercase=function(e,t={}){return(0,r.Intrinsic)(e,"Lowercase",t)}},83728:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Uncapitalize=void 0;const r=n(61248);t.Uncapitalize=function(e,t={}){return(0,r.Intrinsic)(e,"Uncapitalize",t)}},43600:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Uppercase=void 0;const r=n(61248);t.Uppercase=function(e,t={}){return(0,r.Intrinsic)(e,"Uppercase",t)}},19561:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(38885),t)},38885:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Iterator=void 0;const r=n(59727),i=n(65834);t.Iterator=function(e,t={}){return{...t,[i.Kind]:"Iterator",type:"Iterator",items:(0,r.CloneType)(e)}}},19131:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(82275),t),i(n(39197),t),i(n(86880),t)},82275:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.KeyOfFromMappedResult=void 0;const r=n(47636),i=n(86880);function o(e,t){return function(e,t){return globalThis.Object.getOwnPropertyNames(e).reduce(((n,r)=>({...n,[r]:(0,i.KeyOf)(e[r],t)})),{})}(e.properties,t)}t.KeyOfFromMappedResult=function(e,t){const n=o(e,t);return(0,r.MappedResult)(n)}},39197:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.KeyOfPattern=t.KeyOfPropertyKeys=void 0;const r=n(87900),i=n(48733);function o(e){return e.reduce(((e,t)=>[...e,a(t)]),[])}function a(e){return(0,i.IsIntersect)(e)?function(e){const t=o(e);return(0,r.SetUnionMany)(t)}(e.allOf):(0,i.IsUnion)(e)?function(e){const t=o(e);return(0,r.SetIntersectMany)(t)}(e.anyOf):(0,i.IsTuple)(e)?function(e){return e.map(((e,t)=>t.toString()))}(e.items??[]):(0,i.IsArray)(e)?(e.items,["[number]"]):(0,i.IsObject)(e)?function(e){return globalThis.Object.getOwnPropertyNames(e)}(e.properties):(0,i.IsRecord)(e)?(t=e.patternProperties,s?globalThis.Object.getOwnPropertyNames(t).map((e=>"^"===e[0]&&"$"===e[e.length-1]?e.slice(1,e.length-1):e)):[]):[];var t}t.KeyOfPropertyKeys=a;let s=!1;t.KeyOfPattern=function(e){s=!0;const t=a(e);return s=!1,`^(${t.map((e=>`(${e})`)).join("|")})$`}},86880:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.KeyOf=t.KeyOfPropertyKeysToRest=void 0;const r=n(45348),i=n(74459),o=n(39197),a=n(96484),s=n(59727),u=n(82275),c=n(48733);function l(e){return e.map((e=>"[number]"===e?(0,i.Number)():(0,r.Literal)(e)))}t.KeyOfPropertyKeysToRest=l,t.KeyOf=function(e,t={}){if((0,c.IsMappedResult)(e))return(0,u.KeyOfFromMappedResult)(e,t);{const n=l((0,o.KeyOfPropertyKeys)(e)),r=(0,a.UnionEvaluated)(n);return(0,s.CloneType)(r,t)}}},45348:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(33339),t)},33339:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Literal=void 0;const r=n(65834);t.Literal=function(e,t={}){return{...t,[r.Kind]:"Literal",const:e,type:typeof e}}},47636:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(41329),t),i(n(62987),t),i(n(81186),t)},41329:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MappedKey=void 0;const r=n(65834);t.MappedKey=function(e){return{[r.Kind]:"MappedKey",keys:e}}},62987:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MappedResult=void 0;const r=n(65834);t.MappedResult=function(e){return{[r.Kind]:"MappedResult",properties:e}}},81186:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Mapped=t.MappedFunctionReturnType=void 0;const r=n(65834),i=n(59727),o=n(20726),a=n(42849),s=n(86345),u=n(47959),c=n(13992),l=n(42387),f=n(49823),d=n(19561),p=n(45348),h=n(17152),g=n(64203),m=n(43814),y=n(66958),v=n(5986),b=n(96484),_=n(87900),w=n(62987),T=n(48733);function x(e,t){return e in t?E(e,t[e]):(0,w.MappedResult)(t)}function S(e,t){return(0,_.SetIncludes)(t,e)?function(e){return{[e]:(0,p.Literal)(e)}}(e):function(e){return e.reduce(((e,t)=>({...e,[t]:(0,p.Literal)(t)})),{})}(t)}function k(e,t){return t.map((t=>E(e,t)))}function E(e,t){return(0,T.IsOptional)(t)?(0,g.Optional)(E(e,(0,o.Discard)(t,[r.OptionalKind]))):(0,T.IsReadonly)(t)?(0,y.Readonly)(E(e,(0,o.Discard)(t,[r.ReadonlyKind]))):(0,T.IsMappedResult)(t)?x(e,t.properties):(0,T.IsMappedKey)(t)?function(e,t){return x(e,S(e,t))}(e,t.keys):(0,T.IsConstructor)(t)?(0,u.Constructor)(k(e,t.parameters),E(e,t.returns)):(0,T.IsFunction)(t)?(0,c.Function)(k(e,t.parameters),E(e,t.returns)):(0,T.IsAsyncIterator)(t)?(0,s.AsyncIterator)(E(e,t.items)):(0,T.IsIterator)(t)?(0,d.Iterator)(E(e,t.items)):(0,T.IsIntersect)(t)?(0,f.Intersect)(k(e,t.allOf)):(0,T.IsUnion)(t)?(0,b.Union)(k(e,t.anyOf)):(0,T.IsTuple)(t)?(0,v.Tuple)(k(e,t.items??[])):(0,T.IsObject)(t)?(0,h.Object)(function(e,t){return globalThis.Object.getOwnPropertyNames(t).reduce(((n,r)=>({...n,[r]:E(e,t[r])})),{})}(e,t.properties)):(0,T.IsArray)(t)?(0,a.Array)(E(e,t.items)):(0,T.IsPromise)(t)?(0,m.Promise)(E(e,t.item)):t}function O(e,t,n={}){return e.reduce(((e,n)=>({...e,[n]:E(n,t)})),{})}t.MappedFunctionReturnType=O,t.Mapped=function(e,t,n={}){const o=(0,T.IsSchema)(e)?(0,l.IndexPropertyKeys)(e):e,a=O(o,t({[r.Kind]:"MappedKey",keys:o}));return(0,i.CloneType)((0,h.Object)(a),n)}},73621:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(76428),t)},76428:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Never=void 0;const r=n(65834);t.Never=function(e={}){return{...e,[r.Kind]:"Never",not:{}}}},15105:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(58139),t)},58139:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Not=void 0;const r=n(59727),i=n(65834);t.Not=function(e,t){return{...t,[i.Kind]:"Not",not:(0,r.CloneType)(e)}}},49246:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(39958),t)},39958:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Null=void 0;const r=n(65834);t.Null=function(e={}){return{...e,[r.Kind]:"Null",type:"null"}}},74459:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(30505),t)},30505:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Number=void 0;const r=n(65834);t.Number=function(e={}){return{...e,[r.Kind]:"Number",type:"number"}}},17152:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(96434),t)},96434:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Object=void 0;const r=n(59727),i=n(65834),o=n(48733);t.Object=function(e,t={}){const n=globalThis.Object.getOwnPropertyNames(e),a=n.filter((t=>(0,o.IsOptional)(e[t]))),s=n.filter((e=>!a.includes(e))),u=(0,o.IsSchema)(t.additionalProperties)?{additionalProperties:(0,r.CloneType)(t.additionalProperties)}:{},c=n.reduce(((t,n)=>({...t,[n]:(0,r.CloneType)(e[n])})),{});return s.length>0?{...t,...u,[i.Kind]:"Object",type:"object",properties:c,required:s}:{...t,...u,[i.Kind]:"Object",type:"object",properties:c}}},64720:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(22889),t),i(n(69129),t),i(n(51067),t)},22889:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.OmitFromMappedKey=void 0;const r=n(47636),i=n(51067);function o(e,t,n){return{[t]:(0,i.Omit)(e,[t],n)}}function a(e,t,n){return function(e,t,n){return t.reduce(((t,r)=>({...t,...o(e,r,n)})),{})}(e,t.keys,n)}t.OmitFromMappedKey=function(e,t,n){const i=a(e,t,n);return(0,r.MappedResult)(i)}},69129:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.OmitFromMappedResult=void 0;const r=n(47636),i=n(51067);function o(e,t,n){return function(e,t,n){return globalThis.Object.getOwnPropertyNames(e).reduce(((r,o)=>({...r,[o]:(0,i.Omit)(e[o],t,n)})),{})}(e.properties,t,n)}t.OmitFromMappedResult=function(e,t,n){const i=o(e,t,n);return(0,r.MappedResult)(i)}},51067:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Omit=void 0;const r=n(49823),i=n(96484),o=n(17152),a=n(42387),s=n(20726),u=n(65834),c=n(59727),l=n(22889),f=n(69129),d=n(48733);function p(e,t){return(0,d.IsIntersect)(e)?(0,r.Intersect)(function(e,t){return e.map((e=>p(e,t)))}(e.allOf,t)):(0,d.IsUnion)(e)?(0,i.Union)(function(e,t){return e.map((e=>p(e,t)))}(e.anyOf,t)):(0,d.IsObject)(e)?(0,o.Object)(function(e,t){return t.reduce(((e,t)=>function(e,t){const{[t]:n,...r}=e;return r}(e,t)),e)}(e.properties,t)):(0,o.Object)({})}t.Omit=function(e,t,n={}){if((0,d.IsMappedKey)(t))return(0,l.OmitFromMappedKey)(e,t,n);if((0,d.IsMappedResult)(e))return(0,f.OmitFromMappedResult)(e,t,n);const r=(0,d.IsSchema)(t)?(0,a.IndexPropertyKeys)(t):t;return{...(0,s.Discard)(e,[u.TransformKind,"$id","required"]),...(0,c.CloneType)(p(e,r),n)}}},64203:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(79267),t),i(n(98846),t)},79267:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.OptionalFromMappedResult=void 0;const r=n(47636),i=n(98846);function o(e,t){return function(e,t){return globalThis.Object.getOwnPropertyNames(e).reduce(((n,r)=>({...n,[r]:(0,i.Optional)(e[r],t)})),{})}(e.properties,t)}t.OptionalFromMappedResult=function(e,t){const n=o(e,t);return(0,r.MappedResult)(n)}},98846:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Optional=void 0;const r=n(65834),i=n(59727),o=n(20726),a=n(79267),s=n(48733);function u(e,t){return!1===t?function(e){return(0,o.Discard)((0,i.CloneType)(e),[r.OptionalKind])}(e):function(e){return{...(0,i.CloneType)(e),[r.OptionalKind]:"Optional"}}(e)}t.Optional=function(e,t){const n=t??!0;return(0,s.IsMappedResult)(e)?(0,a.OptionalFromMappedResult)(e,n):u(e,n)}},13524:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(7718),t)},7718:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Parameters=void 0;const r=n(5986),i=n(59727);t.Parameters=function(e,t={}){return(0,r.Tuple)((0,i.CloneRest)(e.parameters),{...t})}},25835:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(24791),t),i(n(70144),t)},24791:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PartialFromMappedResult=void 0;const r=n(47636),i=n(70144);function o(e,t){return function(e,t){return globalThis.Object.getOwnPropertyNames(e).reduce(((n,r)=>({...n,[r]:(0,i.Partial)(e[r],t)})),{})}(e.properties,t)}t.PartialFromMappedResult=function(e,t){const n=o(e,t);return(0,r.MappedResult)(n)}},70144:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Partial=void 0;const r=n(64203),i=n(17152),o=n(49823),a=n(96484),s=n(20726),u=n(65834),c=n(59727),l=n(24791),f=n(48733);function d(e){return e.map((e=>p(e)))}function p(e){return(0,f.IsIntersect)(e)?(0,o.Intersect)(d(e.allOf)):(0,f.IsUnion)(e)?(0,a.Union)(d(e.anyOf)):(0,f.IsObject)(e)?(0,i.Object)(function(e){return globalThis.Object.getOwnPropertyNames(e).reduce(((t,n)=>({...t,[n]:(0,r.Optional)(e[n])})),{})}(e.properties)):(0,i.Object)({})}t.Partial=function(e,t={}){return(0,f.IsMappedResult)(e)?(0,l.PartialFromMappedResult)(e,t):{...(0,s.Discard)(e,[u.TransformKind,"$id","required"]),...(0,c.CloneType)(p(e),t)}}},49940:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(33642),t)},33642:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PatternStringExact=t.PatternNumberExact=t.PatternBooleanExact=t.PatternString=t.PatternNumber=t.PatternBoolean=void 0,t.PatternBoolean="(true|false)",t.PatternNumber="(0|[1-9][0-9]*)",t.PatternString="(.*)",t.PatternBooleanExact=`^${t.PatternBoolean}$`,t.PatternNumberExact=`^${t.PatternNumber}$`,t.PatternStringExact=`^${t.PatternString}$`},64285:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(7394),t),i(n(20152),t),i(n(15908),t)},7394:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PickFromMappedKey=void 0;const r=n(47636),i=n(15908);function o(e,t,n){return{[t]:(0,i.Pick)(e,[t],n)}}function a(e,t,n){return function(e,t,n){return t.reduce(((t,r)=>({...t,...o(e,r,n)})),{})}(e,t.keys,n)}t.PickFromMappedKey=function(e,t,n){const i=a(e,t,n);return(0,r.MappedResult)(i)}},20152:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PickFromMappedResult=void 0;const r=n(47636),i=n(15908);function o(e,t,n){return function(e,t,n){return globalThis.Object.getOwnPropertyNames(e).reduce(((r,o)=>({...r,[o]:(0,i.Pick)(e[o],t,n)})),{})}(e.properties,t,n)}t.PickFromMappedResult=function(e,t,n){const i=o(e,t,n);return(0,r.MappedResult)(i)}},15908:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Pick=void 0;const r=n(49823),i=n(96484),o=n(17152),a=n(42387),s=n(20726),u=n(65834),c=n(59727),l=n(7394),f=n(20152),d=n(48733);function p(e,t){return(0,d.IsIntersect)(e)?(0,r.Intersect)(function(e,t){return e.map((e=>p(e,t)))}(e.allOf,t)):(0,d.IsUnion)(e)?(0,i.Union)(function(e,t){return e.map((e=>p(e,t)))}(e.anyOf,t)):(0,d.IsObject)(e)?(0,o.Object)(function(e,t){return t.reduce(((t,n)=>n in e?{...t,[n]:e[n]}:t),{})}(e.properties,t)):(0,o.Object)({})}t.Pick=function(e,t,n={}){if((0,d.IsMappedKey)(t))return(0,l.PickFromMappedKey)(e,t,n);if((0,d.IsMappedResult)(e))return(0,f.PickFromMappedResult)(e,t,n);const r=(0,d.IsSchema)(t)?(0,a.IndexPropertyKeys)(t):t;return{...(0,s.Discard)(e,[u.TransformKind,"$id","required"]),...(0,c.CloneType)(p(e,r),n)}}},43814:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(37959),t)},37959:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Promise=void 0;const r=n(59727),i=n(65834);t.Promise=function(e,t={}){return{...t,[i.Kind]:"Promise",type:"Promise",item:(0,r.CloneType)(e)}}},53775:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(77449),t)},77449:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ReadonlyOptional=void 0;const r=n(66958),i=n(64203);t.ReadonlyOptional=function(e){return(0,r.Readonly)((0,i.Optional)(e))}},66958:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(72916),t),i(n(15538),t)},72916:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ReadonlyFromMappedResult=void 0;const r=n(47636),i=n(15538);function o(e,t){return function(e,t){return globalThis.Object.getOwnPropertyNames(e).reduce(((n,r)=>({...n,[r]:(0,i.Readonly)(e[r],t)})),{})}(e.properties,t)}t.ReadonlyFromMappedResult=function(e,t){const n=o(e,t);return(0,r.MappedResult)(n)}},15538:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Readonly=void 0;const r=n(65834),i=n(59727),o=n(20726),a=n(72916),s=n(48733);function u(e,t){return!1===t?function(e){return(0,o.Discard)((0,i.CloneType)(e),[r.ReadonlyKind])}(e):function(e){return{...(0,i.CloneType)(e),[r.ReadonlyKind]:"Readonly"}}(e)}t.Readonly=function(e,t){const n=t??!0;return(0,s.IsMappedResult)(e)?(0,a.ReadonlyFromMappedResult)(e,n):u(e,n)}},60404:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(31774),t)},31774:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Record=void 0;const r=n(17152),i=n(73621),o=n(96484),a=n(90634),s=n(49940),u=n(42387),c=n(65834),l=n(59727),f=n(54132),d=n(48733);function p(e,t,n){return{...n,[c.Kind]:"Record",type:"object",patternProperties:{[e]:(0,l.CloneType)(t)}}}function h(e,t,n){const i=e.reduce(((e,n)=>({...e,[n]:(0,l.CloneType)(t)})),{});return(0,r.Object)(i,{...n,[c.Hint]:"Record"})}t.Record=function(e,t,n={}){return(0,d.IsUnion)(e)?function(e,t,n){return h((0,u.IndexPropertyKeys)((0,o.Union)(e)),t,n)}(e.anyOf,t,n):(0,d.IsTemplateLiteral)(e)?function(e,t,n){return(0,a.IsTemplateLiteralFinite)(e)?h((0,u.IndexPropertyKeys)(e),t,n):p(e.pattern,t,n)}(e,t,n):(0,d.IsLiteral)(e)?function(e,t,n){return h([e.toString()],t,n)}(e.const,t,n):(0,d.IsInteger)(e)||(0,d.IsNumber)(e)?function(e,t,n){return p(s.PatternNumberExact,t,n)}(0,t,n):(0,d.IsRegExp)(e)?function(e,t,n){return p(e.source,t,n)}(e,t,n):(0,d.IsString)(e)?function(e,t,n){return p((0,f.IsUndefined)(e.pattern)?s.PatternStringExact:e.pattern,t,n)}(e,t,n):(0,i.Never)(n)}},88883:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(26930),t)},26930:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Recursive=void 0;const r=n(59727),i=n(54132),o=n(65834);let a=0;t.Recursive=function(e,t={}){(0,i.IsUndefined)(t.$id)&&(t.$id="T"+a++);const n=e({[o.Kind]:"This",$ref:`${t.$id}`});return n.$id=t.$id,(0,r.CloneType)({...t,[o.Hint]:"Recursive",...n})}},33380:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(54285),t)},54285:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Ref=void 0;const r=n(65834),i=n(54132);t.Ref=function(e,t={}){if((0,i.IsString)(e))return{...t,[r.Kind]:"Ref",$ref:e};if((0,i.IsUndefined)(e.$id))throw new Error("Reference target type must specify an $id");return{...t,[r.Kind]:"Ref",$ref:e.$id}}},1471:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(90613),t)},90613:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.RegExp=void 0;const r=n(54132),i=n(65834);t.RegExp=function(e,t={}){const n=(0,r.IsString)(e)?new globalThis.RegExp(e):e;return{...t,[i.Kind]:"RegExp",type:"RegExp",source:n.source,flags:n.flags}}},75026:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Get=t.Set=t.Has=t.Delete=t.Clear=t.Entries=void 0;const n=new Map;t.Entries=function(){return new Map(n)},t.Clear=function(){return n.clear()},t.Delete=function(e){return n.delete(e)},t.Has=function(e){return n.has(e)},t.Set=function(e,t){n.set(e,t)},t.Get=function(e){return n.get(e)}},73833:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TypeRegistry=t.FormatRegistry=void 0,t.FormatRegistry=n(75026),t.TypeRegistry=n(33493)},33493:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Get=t.Set=t.Has=t.Delete=t.Clear=t.Entries=void 0;const n=new Map;t.Entries=function(){return new Map(n)},t.Clear=function(){return n.clear()},t.Delete=function(e){return n.delete(e)},t.Has=function(e){return n.has(e)},t.Set=function(e,t){n.set(e,t)},t.Get=function(e){return n.get(e)}},63516:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(31129),t),i(n(95804),t)},31129:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.RequiredFromMappedResult=void 0;const r=n(47636),i=n(95804);function o(e,t){return function(e,t){return globalThis.Object.getOwnPropertyNames(e).reduce(((n,r)=>({...n,[r]:(0,i.Required)(e[r],t)})),{})}(e.properties,t)}t.RequiredFromMappedResult=function(e,t){const n=o(e,t);return(0,r.MappedResult)(n)}},95804:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Required=void 0;const r=n(49823),i=n(96484),o=n(17152),a=n(65834),s=n(59727),u=n(20726),c=n(31129),l=n(48733);function f(e){return e.map((e=>d(e)))}function d(e){return(0,l.IsIntersect)(e)?(0,r.Intersect)(f(e.allOf)):(0,l.IsUnion)(e)?(0,i.Union)(f(e.anyOf)):(0,l.IsObject)(e)?(0,o.Object)(function(e){return globalThis.Object.getOwnPropertyNames(e).reduce(((t,n)=>({...t,[n]:(0,u.Discard)(e[n],[a.OptionalKind])})),{})}(e.properties)):(0,o.Object)({})}t.Required=function(e,t={}){return(0,l.IsMappedResult)(e)?(0,c.RequiredFromMappedResult)(e,t):{...(0,u.Discard)(e,[a.TransformKind,"$id","required"]),...(0,s.CloneType)(d(e),t)}}},54903:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(37585),t)},37585:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Rest=void 0;const r=n(59727),i=n(48733);t.Rest=function(e){return(0,r.CloneRest)(function(e){return(0,i.IsIntersect)(e)?[...e.allOf]:(0,i.IsUnion)(e)?[...e.anyOf]:(0,i.IsTuple)(e)?[...e.items??[]]:[]}(e))}},39978:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(43939),t)},43939:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ReturnType=void 0;const r=n(59727);t.ReturnType=function(e,t={}){return(0,r.CloneType)(e.returns,t)}},17957:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},83780:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(17957),t),i(n(68009),t)},68009:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});n(65834)},87900:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(5255),t)},5255:function(e,t){"use strict";function n(e,t){return e.includes(t)}function r(e,t){return e.filter((e=>t.includes(e)))}Object.defineProperty(t,"__esModule",{value:!0}),t.SetUnionMany=t.SetIntersectMany=t.SetComplement=t.SetUnion=t.SetIntersect=t.SetDistinct=t.SetIsSubset=t.SetIncludes=void 0,t.SetIncludes=n,t.SetIsSubset=function(e,t){return e.every((e=>n(t,e)))},t.SetDistinct=function(e){return[...new Set(e)]},t.SetIntersect=r,t.SetUnion=function(e,t){return[...e,...t]},t.SetComplement=function(e,t){return e.filter((e=>!t.includes(e)))},t.SetIntersectMany=function(e){return 1===e.length?e[0]:e.length>1?function(e,t){return e.reduce(((e,t)=>r(e,t)),t)}(e.slice(1),e[0]):[]},t.SetUnionMany=function(e){return e.reduce(((e,t)=>[...e,...t]),[])}},88302:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(42344),t)},42344:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},21221:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(3726),t)},3726:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Strict=void 0,t.Strict=function(e){return JSON.parse(JSON.stringify(e))}},95784:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(10877),t)},10877:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.String=void 0;const r=n(65834);t.String=function(e={}){return{...e,[r.Kind]:"String",type:"string"}}},60919:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(12530),t)},12530:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Symbol=void 0;const r=n(65834);t.Symbol=function(e){return{...e,[r.Kind]:"Symbol",type:"symbol"}}},65834:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(67586),t)},67586:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Kind=t.Hint=t.OptionalKind=t.ReadonlyKind=t.TransformKind=void 0,t.TransformKind=Symbol.for("TypeBox.Transform"),t.ReadonlyKind=Symbol.for("TypeBox.Readonly"),t.OptionalKind=Symbol.for("TypeBox.Optional"),t.Hint=Symbol.for("TypeBox.Hint"),t.Kind=Symbol.for("TypeBox.Kind")},78770:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.IsTemplateLiteralFinite=t.IsTemplateLiteralExpressionFinite=t.TemplateLiteralFiniteError=void 0;const r=n(57989),i=n(759);class o extends i.TypeBoxError{}function a(e){return!function(e){return"or"===e.type&&2===e.expr.length&&"const"===e.expr[0].type&&"0"===e.expr[0].const&&"const"===e.expr[1].type&&"[1-9][0-9]*"===e.expr[1].const}(e)&&!function(e){return"const"===e.type&&".*"===e.const}(e)&&(!!function(e){return"or"===e.type&&2===e.expr.length&&"const"===e.expr[0].type&&"true"===e.expr[0].const&&"const"===e.expr[1].type&&"false"===e.expr[1].const}(e)||("and"===e.type||"or"===e.type?e.expr.every((e=>a(e))):"const"===e.type||(()=>{throw new o("Unknown expression type")})()))}t.TemplateLiteralFiniteError=o,t.IsTemplateLiteralExpressionFinite=a,t.IsTemplateLiteralFinite=function(e){return a((0,r.TemplateLiteralParseExact)(e.pattern))}},90731:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TemplateLiteralGenerate=t.TemplateLiteralExpressionGenerate=t.TemplateLiteralGenerateError=void 0;const r=n(78770),i=n(57989),o=n(759);class a extends o.TypeBoxError{}function*s(e){if(1===e.length)return yield*e[0];for(const t of e[0])for(const n of s(e.slice(1)))yield`${t}${n}`}function*u(e){return yield*s(e.expr.map((e=>[...c(e)])))}function*c(e){return"and"===e.type?yield*u(e):"or"===e.type?yield*function*(e){for(const t of e.expr)yield*c(t)}(e):"const"===e.type?yield*function*(e){return yield e.const}(e):(()=>{throw new a("Unknown expression")})()}t.TemplateLiteralGenerateError=a,t.TemplateLiteralExpressionGenerate=c,t.TemplateLiteralGenerate=function(e){const t=(0,i.TemplateLiteralParseExact)(e.pattern);return(0,r.IsTemplateLiteralExpressionFinite)(t)?[...c(t)]:[]}},90634:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(78770),t),i(n(90731),t),i(n(68427),t),i(n(57989),t),i(n(95459),t),i(n(45797),t),i(n(23468),t)},57989:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TemplateLiteralParseExact=t.TemplateLiteralParse=t.TemplateLiteralParserError=void 0;const r=n(759);class i extends r.TypeBoxError{}function o(e){return e.replace(/\\\$/g,"$").replace(/\\\*/g,"*").replace(/\\\^/g,"^").replace(/\\\|/g,"|").replace(/\\\(/g,"(").replace(/\\\)/g,")")}function a(e,t,n){return e[t]===n&&92!==e.charCodeAt(t-1)}function s(e,t){return a(e,t,"(")}function u(e,t){return a(e,t,")")}function c(e,t){return a(e,t,"|")}function l(e){return function(e){if(!s(e,0)||!u(e,e.length-1))return!1;let t=0;for(let n=0;n<e.length;n++)if(s(e,n)&&(t+=1),u(e,n)&&(t-=1),0===t&&n!==e.length-1)return!1;return!0}(e)?l(function(e){return e.slice(1,e.length-1)}(e)):function(e){let t=0;for(let n=0;n<e.length;n++)if(s(e,n)&&(t+=1),u(e,n)&&(t-=1),c(e,n)&&0===t)return!0;return!1}(e)?function(e){let[t,n]=[0,0];const r=[];for(let i=0;i<e.length;i++)if(s(e,i)&&(t+=1),u(e,i)&&(t-=1),c(e,i)&&0===t){const t=e.slice(n,i);t.length>0&&r.push(l(t)),n=i+1}const i=e.slice(n);return i.length>0&&r.push(l(i)),0===r.length?{type:"const",const:""}:1===r.length?r[0]:{type:"or",expr:r}}(e):function(e){for(let t=0;t<e.length;t++)if(s(e,t))return!0;return!1}(e)?function(e){function t(e,t){if(!s(e,t))throw new i("TemplateLiteralParser: Index must point to open parens");let n=0;for(let r=t;r<e.length;r++)if(s(e,r)&&(n+=1),u(e,r)&&(n-=1),0===n)return[t,r];throw new i("TemplateLiteralParser: Unclosed group parens in expression")}function n(e,t){for(let n=t;n<e.length;n++)if(s(e,n))return[t,n];return[t,e.length]}const r=[];for(let i=0;i<e.length;i++)if(s(e,i)){const[n,o]=t(e,i),a=e.slice(n,o+1);r.push(l(a)),i=o}else{const[t,o]=n(e,i),a=e.slice(t,o);a.length>0&&r.push(l(a)),i=o-1}return 0===r.length?{type:"const",const:""}:1===r.length?r[0]:{type:"and",expr:r}}(e):{type:"const",const:o(e)}}t.TemplateLiteralParserError=i,t.TemplateLiteralParse=l,t.TemplateLiteralParseExact=function(e){return l(e.slice(1,e.length-1))}},95459:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TemplateLiteralPattern=t.TemplateLiteralPatternError=void 0;const r=n(49940),i=n(65834),o=n(759),a=n(48733);class s extends o.TypeBoxError{}function u(e,t){return(0,a.IsTemplateLiteral)(e)?e.pattern.slice(1,e.pattern.length-1):(0,a.IsUnion)(e)?`(${e.anyOf.map((e=>u(e,t))).join("|")})`:(0,a.IsNumber)(e)||(0,a.IsInteger)(e)||(0,a.IsBigInt)(e)?`${t}${r.PatternNumber}`:(0,a.IsString)(e)?`${t}${r.PatternString}`:(0,a.IsLiteral)(e)?`${t}${n=e.const.toString(),n.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}`:(0,a.IsBoolean)(e)?`${t}${r.PatternBoolean}`:(()=>{throw new s(`Unexpected Kind '${e[i.Kind]}'`)})();var n}t.TemplateLiteralPatternError=s,t.TemplateLiteralPattern=function(e){return`^${e.map((e=>u(e,""))).join("")}$`}},68427:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TemplateLiteralSyntax=void 0;const r=n(45348),i=n(35376),o=n(47932),a=n(74459),s=n(95784),u=n(96484),c=n(73621);function*l(e){const t=e.trim().replace(/"|'/g,"");return"boolean"===t?yield(0,i.Boolean)():"number"===t?yield(0,a.Number)():"bigint"===t?yield(0,o.BigInt)():"string"===t?yield(0,s.String)():yield(()=>{const e=t.split("|").map((e=>(0,r.Literal)(e.trim())));return 0===e.length?(0,c.Never)():1===e.length?e[0]:(0,u.UnionEvaluated)(e)})()}function*f(e){if("{"!==e[1]){const t=(0,r.Literal)("$"),n=d(e.slice(1));return yield*[t,...n]}for(let t=2;t<e.length;t++)if("}"===e[t]){const n=l(e.slice(2,t)),r=d(e.slice(t+1));return yield*[...n,...r]}yield(0,r.Literal)(e)}function*d(e){for(let t=0;t<e.length;t++)if("$"===e[t]){const n=(0,r.Literal)(e.slice(0,t)),i=f(e.slice(t));return yield*[n,...i]}yield(0,r.Literal)(e)}t.TemplateLiteralSyntax=function(e){return[...d(e)]}},23468:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TemplateLiteral=void 0;const r=n(68427),i=n(95459),o=n(54132),a=n(65834);t.TemplateLiteral=function(e,t={}){const n=(0,o.IsString)(e)?(0,i.TemplateLiteralPattern)((0,r.TemplateLiteralSyntax)(e)):(0,i.TemplateLiteralPattern)(e);return{...t,[a.Kind]:"TemplateLiteral",type:"string",pattern:n}}},45797:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TemplateLiteralToUnion=void 0;const r=n(96484),i=n(45348),o=n(90731);t.TemplateLiteralToUnion=function(e){const t=(0,o.TemplateLiteralGenerate)(e).map((e=>(0,i.Literal)(e)));return(0,r.UnionEvaluated)(t)}},21253:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(6684),t)},6684:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Transform=t.TransformEncodeBuilder=t.TransformDecodeBuilder=void 0;const r=n(65834),i=n(59727),o=n(48733);class a{constructor(e){this.schema=e}Decode(e){return new s(this.schema,e)}}t.TransformDecodeBuilder=a;class s{constructor(e,t){this.schema=e,this.decode=t}EncodeTransform(e,t){const n={Encode:n=>t[r.TransformKind].Encode(e(n)),Decode:e=>this.decode(t[r.TransformKind].Decode(e))};return{...t,[r.TransformKind]:n}}EncodeSchema(e,t){const n={Decode:this.decode,Encode:e};return{...t,[r.TransformKind]:n}}Encode(e){const t=(0,i.CloneType)(this.schema);return(0,o.IsTransform)(t)?this.EncodeTransform(e,t):this.EncodeSchema(e,t)}}t.TransformEncodeBuilder=s,t.Transform=function(e){return new a(e)}},5986:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(27273),t)},27273:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Tuple=void 0;const r=n(59727),i=n(65834);t.Tuple=function(e,t={}){const[n,o,a]=[!1,e.length,e.length];return e.length>0?{...t,[i.Kind]:"Tuple",type:"array",items:(0,r.CloneRest)(e),additionalItems:n,minItems:o,maxItems:a}:{...t,[i.Kind]:"Tuple",type:"array",minItems:o,maxItems:a}}},33214:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Type=t.JavaScriptTypeBuilder=t.JsonTypeBuilder=void 0;var r=n(55862);Object.defineProperty(t,"JsonTypeBuilder",{enumerable:!0,get:function(){return r.JsonTypeBuilder}});const i=n(46973),o=n(96734);Object.defineProperty(t,"JavaScriptTypeBuilder",{enumerable:!0,get:function(){return o.JavaScriptTypeBuilder}});const a=i;t.Type=a},96734:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.JavaScriptTypeBuilder=void 0;const r=n(55862),i=n(86345),o=n(38209),a=n(47932),s=n(47959),u=n(51433),c=n(97137),l=n(13992),f=n(33102),d=n(19561),p=n(13524),h=n(43814),g=n(1471),m=n(39978),y=n(60919),v=n(12914),b=n(35222),_=n(95541);class w extends r.JsonTypeBuilder{AsyncIterator(e,t={}){return(0,i.AsyncIterator)(e,t)}Awaited(e,t={}){return(0,o.Awaited)(e,t)}BigInt(e={}){return(0,a.BigInt)(e)}ConstructorParameters(e,t={}){return(0,u.ConstructorParameters)(e,t)}Constructor(e,t,n){return(0,s.Constructor)(e,t,n)}Date(e={}){return(0,c.Date)(e)}Function(e,t,n){return(0,l.Function)(e,t,n)}InstanceType(e,t={}){return(0,f.InstanceType)(e,t)}Iterator(e,t={}){return(0,d.Iterator)(e,t)}Parameters(e,t={}){return(0,p.Parameters)(e,t)}Promise(e,t={}){return(0,h.Promise)(e,t)}RegExp(e,t={}){return(0,g.RegExp)(e,t)}ReturnType(e,t={}){return(0,m.ReturnType)(e,t)}Symbol(e){return(0,y.Symbol)(e)}Undefined(e={}){return(0,b.Undefined)(e)}Uint8Array(e={}){return(0,v.Uint8Array)(e)}Void(e={}){return(0,_.Void)(e)}}t.JavaScriptTypeBuilder=w},55862:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.JsonTypeBuilder=void 0;const r=n(81977),i=n(42849),o=n(35376),a=n(53422),s=n(48614),u=n(44094),c=n(35287),l=n(96709),f=n(89866),d=n(71021),p=n(42387),h=n(13517),g=n(49823),m=n(36486),y=n(19131),v=n(45348),b=n(47636),_=n(73621),w=n(15105),T=n(49246),x=n(74459),S=n(17152),k=n(64720),E=n(64203),O=n(25835),C=n(64285),L=n(66958),A=n(53775),I=n(60404),P=n(88883),M=n(33380),R=n(63516),j=n(54903),D=n(21221),N=n(95784),B=n(90634),U=n(21253),F=n(5986),z=n(96484),H=n(48375),Z=n(58324);t.JsonTypeBuilder=class{Strict(e){return(0,D.Strict)(e)}ReadonlyOptional(e){return(0,A.ReadonlyOptional)(e)}Readonly(e,t){return(0,L.Readonly)(e,t??!0)}Optional(e,t){return(0,E.Optional)(e,t??!0)}Any(e={}){return(0,r.Any)(e)}Array(e,t={}){return(0,i.Array)(e,t)}Boolean(e={}){return(0,o.Boolean)(e)}Capitalize(e,t={}){return(0,m.Capitalize)(e,t)}Composite(e,t){return(0,a.Composite)(e,t)}Const(e,t={}){return(0,s.Const)(e,t)}Deref(e,t){return(0,u.Deref)(e,t)}Enum(e,t={}){return(0,c.Enum)(e,t)}Exclude(e,t,n={}){return(0,l.Exclude)(e,t,n)}Extends(e,t,n,r,i={}){return(0,f.Extends)(e,t,n,r,i)}Extract(e,t,n={}){return(0,d.Extract)(e,t,n)}Index(e,t,n={}){return(0,p.Index)(e,t,n)}Integer(e={}){return(0,h.Integer)(e)}Intersect(e,t={}){return(0,g.Intersect)(e,t)}KeyOf(e,t={}){return(0,y.KeyOf)(e,t)}Literal(e,t={}){return(0,v.Literal)(e,t)}Lowercase(e,t={}){return(0,m.Lowercase)(e,t)}Mapped(e,t,n={}){return(0,b.Mapped)(e,t,n)}Never(e={}){return(0,_.Never)(e)}Not(e,t){return(0,w.Not)(e,t)}Null(e={}){return(0,T.Null)(e)}Number(e={}){return(0,x.Number)(e)}Object(e,t={}){return(0,S.Object)(e,t)}Omit(e,t,n={}){return(0,k.Omit)(e,t,n)}Partial(e,t={}){return(0,O.Partial)(e,t)}Pick(e,t,n={}){return(0,C.Pick)(e,t,n)}Record(e,t,n={}){return(0,I.Record)(e,t,n)}Recursive(e,t={}){return(0,P.Recursive)(e,t)}Ref(e,t={}){return(0,M.Ref)(e,t)}Required(e,t={}){return(0,R.Required)(e,t)}Rest(e){return(0,j.Rest)(e)}String(e={}){return(0,N.String)(e)}TemplateLiteral(e,t={}){return(0,B.TemplateLiteral)(e,t)}Transform(e){return(0,U.Transform)(e)}Tuple(e,t={}){return(0,F.Tuple)(e,t)}Uncapitalize(e,t={}){return(0,m.Uncapitalize)(e,t)}Union(e,t={}){return(0,z.Union)(e,t)}Unknown(e={}){return(0,H.Unknown)(e)}Unsafe(e={}){return(0,Z.Unsafe)(e)}Uppercase(e,t={}){return(0,m.Uppercase)(e,t)}}},46973:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Strict=t.ReturnType=t.Rest=t.Required=t.RegExp=t.Ref=t.Recursive=t.Record=t.ReadonlyOptional=t.Readonly=t.Promise=t.Pick=t.Partial=t.Parameters=t.Optional=t.Omit=t.Object=t.Number=t.Null=t.Not=t.Never=t.Mapped=t.Literal=t.KeyOf=t.Iterator=t.Uppercase=t.Lowercase=t.Uncapitalize=t.Capitalize=t.Intersect=t.Integer=t.InstanceType=t.Index=t.Function=t.Extract=t.Extends=t.Exclude=t.Enum=t.Deref=t.Date=t.ConstructorParameters=t.Constructor=t.Const=t.Composite=t.Boolean=t.BigInt=t.Awaited=t.AsyncIterator=t.Array=t.Any=void 0,t.Void=t.Unsafe=t.Unknown=t.Union=t.Undefined=t.Uint8Array=t.Tuple=t.Transform=t.TemplateLiteral=t.Symbol=t.String=void 0;var r=n(81977);Object.defineProperty(t,"Any",{enumerable:!0,get:function(){return r.Any}});var i=n(42849);Object.defineProperty(t,"Array",{enumerable:!0,get:function(){return i.Array}});var o=n(86345);Object.defineProperty(t,"AsyncIterator",{enumerable:!0,get:function(){return o.AsyncIterator}});var a=n(38209);Object.defineProperty(t,"Awaited",{enumerable:!0,get:function(){return a.Awaited}});var s=n(47932);Object.defineProperty(t,"BigInt",{enumerable:!0,get:function(){return s.BigInt}});var u=n(35376);Object.defineProperty(t,"Boolean",{enumerable:!0,get:function(){return u.Boolean}});var c=n(53422);Object.defineProperty(t,"Composite",{enumerable:!0,get:function(){return c.Composite}});var l=n(48614);Object.defineProperty(t,"Const",{enumerable:!0,get:function(){return l.Const}});var f=n(47959);Object.defineProperty(t,"Constructor",{enumerable:!0,get:function(){return f.Constructor}});var d=n(51433);Object.defineProperty(t,"ConstructorParameters",{enumerable:!0,get:function(){return d.ConstructorParameters}});var p=n(97137);Object.defineProperty(t,"Date",{enumerable:!0,get:function(){return p.Date}});var h=n(44094);Object.defineProperty(t,"Deref",{enumerable:!0,get:function(){return h.Deref}});var g=n(35287);Object.defineProperty(t,"Enum",{enumerable:!0,get:function(){return g.Enum}});var m=n(96709);Object.defineProperty(t,"Exclude",{enumerable:!0,get:function(){return m.Exclude}});var y=n(89866);Object.defineProperty(t,"Extends",{enumerable:!0,get:function(){return y.Extends}});var v=n(71021);Object.defineProperty(t,"Extract",{enumerable:!0,get:function(){return v.Extract}});var b=n(13992);Object.defineProperty(t,"Function",{enumerable:!0,get:function(){return b.Function}});var _=n(42387);Object.defineProperty(t,"Index",{enumerable:!0,get:function(){return _.Index}});var w=n(33102);Object.defineProperty(t,"InstanceType",{enumerable:!0,get:function(){return w.InstanceType}});var T=n(13517);Object.defineProperty(t,"Integer",{enumerable:!0,get:function(){return T.Integer}});var x=n(49823);Object.defineProperty(t,"Intersect",{enumerable:!0,get:function(){return x.Intersect}});var S=n(36486);Object.defineProperty(t,"Capitalize",{enumerable:!0,get:function(){return S.Capitalize}}),Object.defineProperty(t,"Uncapitalize",{enumerable:!0,get:function(){return S.Uncapitalize}}),Object.defineProperty(t,"Lowercase",{enumerable:!0,get:function(){return S.Lowercase}}),Object.defineProperty(t,"Uppercase",{enumerable:!0,get:function(){return S.Uppercase}});var k=n(19561);Object.defineProperty(t,"Iterator",{enumerable:!0,get:function(){return k.Iterator}});var E=n(19131);Object.defineProperty(t,"KeyOf",{enumerable:!0,get:function(){return E.KeyOf}});var O=n(45348);Object.defineProperty(t,"Literal",{enumerable:!0,get:function(){return O.Literal}});var C=n(47636);Object.defineProperty(t,"Mapped",{enumerable:!0,get:function(){return C.Mapped}});var L=n(73621);Object.defineProperty(t,"Never",{enumerable:!0,get:function(){return L.Never}});var A=n(15105);Object.defineProperty(t,"Not",{enumerable:!0,get:function(){return A.Not}});var I=n(49246);Object.defineProperty(t,"Null",{enumerable:!0,get:function(){return I.Null}});var P=n(74459);Object.defineProperty(t,"Number",{enumerable:!0,get:function(){return P.Number}});var M=n(17152);Object.defineProperty(t,"Object",{enumerable:!0,get:function(){return M.Object}});var R=n(64720);Object.defineProperty(t,"Omit",{enumerable:!0,get:function(){return R.Omit}});var j=n(64203);Object.defineProperty(t,"Optional",{enumerable:!0,get:function(){return j.Optional}});var D=n(13524);Object.defineProperty(t,"Parameters",{enumerable:!0,get:function(){return D.Parameters}});var N=n(25835);Object.defineProperty(t,"Partial",{enumerable:!0,get:function(){return N.Partial}});var B=n(64285);Object.defineProperty(t,"Pick",{enumerable:!0,get:function(){return B.Pick}});var U=n(43814);Object.defineProperty(t,"Promise",{enumerable:!0,get:function(){return U.Promise}});var F=n(66958);Object.defineProperty(t,"Readonly",{enumerable:!0,get:function(){return F.Readonly}});var z=n(53775);Object.defineProperty(t,"ReadonlyOptional",{enumerable:!0,get:function(){return z.ReadonlyOptional}});var H=n(60404);Object.defineProperty(t,"Record",{enumerable:!0,get:function(){return H.Record}});var Z=n(88883);Object.defineProperty(t,"Recursive",{enumerable:!0,get:function(){return Z.Recursive}});var q=n(33380);Object.defineProperty(t,"Ref",{enumerable:!0,get:function(){return q.Ref}});var V=n(1471);Object.defineProperty(t,"RegExp",{enumerable:!0,get:function(){return V.RegExp}});var W=n(63516);Object.defineProperty(t,"Required",{enumerable:!0,get:function(){return W.Required}});var G=n(54903);Object.defineProperty(t,"Rest",{enumerable:!0,get:function(){return G.Rest}});var $=n(39978);Object.defineProperty(t,"ReturnType",{enumerable:!0,get:function(){return $.ReturnType}});var Y=n(21221);Object.defineProperty(t,"Strict",{enumerable:!0,get:function(){return Y.Strict}});var K=n(95784);Object.defineProperty(t,"String",{enumerable:!0,get:function(){return K.String}});var X=n(60919);Object.defineProperty(t,"Symbol",{enumerable:!0,get:function(){return X.Symbol}});var Q=n(90634);Object.defineProperty(t,"TemplateLiteral",{enumerable:!0,get:function(){return Q.TemplateLiteral}});var J=n(21253);Object.defineProperty(t,"Transform",{enumerable:!0,get:function(){return J.Transform}});var ee=n(5986);Object.defineProperty(t,"Tuple",{enumerable:!0,get:function(){return ee.Tuple}});var te=n(12914);Object.defineProperty(t,"Uint8Array",{enumerable:!0,get:function(){return te.Uint8Array}});var ne=n(35222);Object.defineProperty(t,"Undefined",{enumerable:!0,get:function(){return ne.Undefined}});var re=n(96484);Object.defineProperty(t,"Union",{enumerable:!0,get:function(){return re.Union}});var ie=n(48375);Object.defineProperty(t,"Unknown",{enumerable:!0,get:function(){return ie.Unknown}});var oe=n(58324);Object.defineProperty(t,"Unsafe",{enumerable:!0,get:function(){return oe.Unsafe}});var ae=n(95541);Object.defineProperty(t,"Void",{enumerable:!0,get:function(){return ae.Void}})},12914:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(85948),t)},85948:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Uint8Array=void 0;const r=n(65834);t.Uint8Array=function(e={}){return{...e,[r.Kind]:"Uint8Array",type:"Uint8Array"}}},35222:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(23455),t)},23455:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Undefined=void 0;const r=n(65834);t.Undefined=function(e={}){return{...e,[r.Kind]:"Undefined",type:"undefined"}}},96484:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(49209),t),i(n(17762),t),i(n(18115),t)},71565:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UnionCreate=void 0;const r=n(59727),i=n(65834);t.UnionCreate=function(e,t){return{...t,[i.Kind]:"Union",anyOf:(0,r.CloneRest)(e)}}},49209:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UnionEvaluated=void 0;const r=n(65834),i=n(59727),o=n(20726),a=n(73621),s=n(64203),u=n(71565),c=n(48733);function l(e){return e.map((e=>(0,c.IsOptional)(e)?function(e){return(0,o.Discard)(e,[r.OptionalKind])}(e):e))}function f(e,t){return function(e){return e.some((e=>(0,c.IsOptional)(e)))}(e)?(0,s.Optional)((0,u.UnionCreate)(l(e),t)):(0,u.UnionCreate)(l(e),t)}t.UnionEvaluated=function(e,t={}){return 0===e.length?(0,a.Never)(t):1===e.length?(0,i.CloneType)(e[0],t):f(e,t)}},17762:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});n(65834)},18115:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Union=void 0;const r=n(73621),i=n(59727),o=n(71565);t.Union=function(e,t={}){return 0===e.length?(0,r.Never)(t):1===e.length?(0,i.CloneType)(e[0],t):(0,o.UnionCreate)(e,t)}},48375:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(48776),t)},48776:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Unknown=void 0;const r=n(65834);t.Unknown=function(e={}){return{...e,[r.Kind]:"Unknown"}}},58324:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(98906),t)},98906:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Unsafe=void 0;const r=n(65834);t.Unsafe=function(e={}){return{...e,[r.Kind]:e[r.Kind]??"Unsafe"}}},95541:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(13429),t)},13429:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Void=void 0;const r=n(65834);t.Void=function(e={}){return{...e,[r.Kind]:"Void",type:"void"}}},88123:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Cast=t.ValueCastError=void 0;const r=n(91808),i=n(759),o=n(65834),a=n(14392),s=n(30482),u=n(76466),c=n(16996);class l extends i.TypeBoxError{constructor(e,t){super(t),this.schema=e}}function f(e,t,n){if("Object"!==e[o.Kind]||"object"!=typeof n||(0,r.IsNull)(n))return(0,s.Check)(e,t,n)?1:0;{const r=e,i=Object.getOwnPropertyNames(n),a=Object.entries(r.properties),[u,c]=[1/a.length,a.length];return a.reduce(((e,[r,a])=>e+(("Literal"===a[o.Kind]&&a.const===n[r]?c:0)+((0,s.Check)(a,t,n[r])?u:0)+(i.includes(r)?u:0))),0)}}function d(e,t,n){if("default"in e)return"function"==typeof n?e.default:(0,u.Clone)(e.default);{const r=function(e,t,n){let[r,i]=[e.anyOf[0],0];for(const o of e.anyOf){const e=f(o,t,n);e>i&&(r=o,i=e)}return r}(e,t,n);return h(r,t,n)}}function p(e,t,n){const i=(0,r.IsString)(e.$id)?[...t,e]:t,f=e;switch(e[o.Kind]){case"Array":return function(e,t,n){if((0,s.Check)(e,t,n))return(0,u.Clone)(n);const i=(0,r.IsArray)(n)?(0,u.Clone)(n):(0,a.Create)(e,t),o=(0,r.IsNumber)(e.minItems)&&i.length<e.minItems?[...i,...Array.from({length:e.minItems-i.length},(()=>null))]:i,c=((0,r.IsNumber)(e.maxItems)&&o.length>e.maxItems?o.slice(0,e.maxItems):o).map((n=>p(e.items,t,n)));if(!0!==e.uniqueItems)return c;const f=[...new Set(c)];if(!(0,s.Check)(e,t,f))throw new l(e,"Array cast produced invalid data due to uniqueItems constraint");return f}(f,i,n);case"Constructor":return function(e,t,n){if((0,s.Check)(e,t,n))return(0,a.Create)(e,t);const r=new Set(e.returns.required||[]),i=function(){};for(const[o,a]of Object.entries(e.returns.properties))(r.has(o)||void 0!==n.prototype[o])&&(i.prototype[o]=p(a,t,n.prototype[o]));return i}(f,i,n);case"Intersect":return function(e,t,n){const i=(0,a.Create)(e,t),o=(0,r.IsStandardObject)(i)&&(0,r.IsStandardObject)(n)?{...i,...n}:n;return(0,s.Check)(e,t,o)?o:(0,a.Create)(e,t)}(f,i,n);case"Never":return function(e,t,n){throw new l(e,"Never types cannot be cast")}(f);case"Object":return function(e,t,n){if((0,s.Check)(e,t,n))return n;if(null===n||"object"!=typeof n)return(0,a.Create)(e,t);const r=new Set(e.required||[]),i={};for(const[o,a]of Object.entries(e.properties))(r.has(o)||void 0!==n[o])&&(i[o]=p(a,t,n[o]));if("object"==typeof e.additionalProperties){const r=Object.getOwnPropertyNames(e.properties);for(const o of Object.getOwnPropertyNames(n))r.includes(o)||(i[o]=p(e.additionalProperties,t,n[o]))}return i}(f,i,n);case"Record":return function(e,t,n){if((0,s.Check)(e,t,n))return(0,u.Clone)(n);if(null===n||"object"!=typeof n||Array.isArray(n)||n instanceof Date)return(0,a.Create)(e,t);const r=Object.getOwnPropertyNames(e.patternProperties)[0],i=e.patternProperties[r],o={};for(const[e,r]of Object.entries(n))o[e]=p(i,t,r);return o}(f,i,n);case"Ref":case"This":return function(e,t,n){return p((0,c.Deref)(e,t),t,n)}(f,i,n);case"Tuple":return function(e,t,n){return(0,s.Check)(e,t,n)?(0,u.Clone)(n):(0,r.IsArray)(n)?void 0===e.items?[]:e.items.map(((e,r)=>p(e,t,n[r]))):(0,a.Create)(e,t)}(f,i,n);case"Union":return function(e,t,n){return(0,s.Check)(e,t,n)?(0,u.Clone)(n):d(e,t,n)}(f,i,n);case"Date":case"Symbol":case"Uint8Array":return function(e,t,n){return(0,s.Check)(e,t,n)?(0,u.Clone)(n):(0,a.Create)(e,t)}(e,t,n);default:return function(e,t,n){return(0,s.Check)(e,t,n)?n:(0,a.Create)(e,t)}(f,i,n)}}function h(...e){return 3===e.length?p(e[0],e[1],e[2]):p(e[0],[],e[1])}t.ValueCastError=l,t.Cast=h},99756:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(88123),t)},96177:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Check=t.ValueCheckUnknownTypeError=void 0;const r=n(84672),i=n(16996),o=n(99562),a=n(65834),s=n(19131),u=n(89866),c=n(73833),l=n(759),f=n(73621),d=n(91808),p=n(48733);class h extends l.TypeBoxError{constructor(e){super("Unknown type"),this.schema=e}}function g(e){return"Any"===e[a.Kind]||"Unknown"===e[a.Kind]}function m(e){return void 0!==e}function y(e,t,n){const l=m(e.$id)?[...t,e]:t,v=e;switch(v[a.Kind]){case"Any":case"Unknown":return!0;case"Array":return function(e,t,n){if(!(0,d.IsArray)(n))return!1;if(m(e.minItems)&&!(n.length>=e.minItems))return!1;if(m(e.maxItems)&&!(n.length<=e.maxItems))return!1;if(!n.every((n=>y(e.items,t,n))))return!1;if(!0===e.uniqueItems&&!function(){const e=new Set;for(const t of n){const n=(0,o.Hash)(t);if(e.has(n))return!1;e.add(n)}return!0}())return!1;if(!(m(e.contains)||(0,d.IsNumber)(e.minContains)||(0,d.IsNumber)(e.maxContains)))return!0;const r=m(e.contains)?e.contains:(0,f.Never)(),i=n.reduce(((e,n)=>y(r,t,n)?e+1:e),0);return!(0===i||(0,d.IsNumber)(e.minContains)&&i<e.minContains||(0,d.IsNumber)(e.maxContains)&&i>e.maxContains)}(v,l,n);case"AsyncIterator":return function(e,t,n){return(0,d.IsAsyncIterator)(n)}(0,0,n);case"BigInt":return function(e,t,n){return!(!(0,d.IsBigInt)(n)||m(e.exclusiveMaximum)&&!(n<e.exclusiveMaximum)||m(e.exclusiveMinimum)&&!(n>e.exclusiveMinimum)||m(e.maximum)&&!(n<=e.maximum)||m(e.minimum)&&!(n>=e.minimum)||m(e.multipleOf)&&n%e.multipleOf!==BigInt(0))}(v,0,n);case"Boolean":return function(e,t,n){return(0,d.IsBoolean)(n)}(0,0,n);case"Constructor":return function(e,t,n){return y(e.returns,t,n.prototype)}(v,l,n);case"Date":return function(e,t,n){return!(!(0,d.IsDate)(n)||m(e.exclusiveMaximumTimestamp)&&!(n.getTime()<e.exclusiveMaximumTimestamp)||m(e.exclusiveMinimumTimestamp)&&!(n.getTime()>e.exclusiveMinimumTimestamp)||m(e.maximumTimestamp)&&!(n.getTime()<=e.maximumTimestamp)||m(e.minimumTimestamp)&&!(n.getTime()>=e.minimumTimestamp)||m(e.multipleOfTimestamp)&&n.getTime()%e.multipleOfTimestamp!=0)}(v,0,n);case"Function":return function(e,t,n){return(0,d.IsFunction)(n)}(0,0,n);case"Integer":return function(e,t,n){return!(!(0,d.IsInteger)(n)||m(e.exclusiveMaximum)&&!(n<e.exclusiveMaximum)||m(e.exclusiveMinimum)&&!(n>e.exclusiveMinimum)||m(e.maximum)&&!(n<=e.maximum)||m(e.minimum)&&!(n>=e.minimum)||m(e.multipleOf)&&n%e.multipleOf!=0)}(v,0,n);case"Intersect":return function(e,t,n){const r=e.allOf.every((e=>y(e,t,n)));if(!1===e.unevaluatedProperties){const t=new RegExp((0,s.KeyOfPattern)(e)),i=Object.getOwnPropertyNames(n).every((e=>t.test(e)));return r&&i}if((0,p.IsSchema)(e.unevaluatedProperties)){const i=new RegExp((0,s.KeyOfPattern)(e)),o=Object.getOwnPropertyNames(n).every((r=>i.test(r)||y(e.unevaluatedProperties,t,n[r])));return r&&o}return r}(v,l,n);case"Iterator":return function(e,t,n){return(0,d.IsIterator)(n)}(0,0,n);case"Literal":return function(e,t,n){return n===e.const}(v,0,n);case"Never":return!1;case"Not":return function(e,t,n){return!y(e.not,t,n)}(v,l,n);case"Null":return function(e,t,n){return(0,d.IsNull)(n)}(0,0,n);case"Number":return function(e,t,n){return!(!r.TypeSystemPolicy.IsNumberLike(n)||m(e.exclusiveMaximum)&&!(n<e.exclusiveMaximum)||m(e.exclusiveMinimum)&&!(n>e.exclusiveMinimum)||m(e.minimum)&&!(n>=e.minimum)||m(e.maximum)&&!(n<=e.maximum)||m(e.multipleOf)&&n%e.multipleOf!=0)}(v,0,n);case"Object":return function(e,t,n){if(!r.TypeSystemPolicy.IsObjectLike(n))return!1;if(m(e.minProperties)&&!(Object.getOwnPropertyNames(n).length>=e.minProperties))return!1;if(m(e.maxProperties)&&!(Object.getOwnPropertyNames(n).length<=e.maxProperties))return!1;const i=Object.getOwnPropertyNames(e.properties);for(const o of i){const i=e.properties[o];if(e.required&&e.required.includes(o)){if(!y(i,t,n[o]))return!1;if(((0,u.ExtendsUndefinedCheck)(i)||g(i))&&!(o in n))return!1}else if(r.TypeSystemPolicy.IsExactOptionalProperty(n,o)&&!y(i,t,n[o]))return!1}if(!1===e.additionalProperties){const t=Object.getOwnPropertyNames(n);return!(!e.required||e.required.length!==i.length||t.length!==i.length)||t.every((e=>i.includes(e)))}if("object"==typeof e.additionalProperties)return Object.getOwnPropertyNames(n).every((r=>i.includes(r)||y(e.additionalProperties,t,n[r])));return!0}(v,l,n);case"Promise":return function(e,t,n){return(0,d.IsPromise)(n)}(0,0,n);case"Record":return function(e,t,n){if(!r.TypeSystemPolicy.IsRecordLike(n))return!1;if(m(e.minProperties)&&!(Object.getOwnPropertyNames(n).length>=e.minProperties))return!1;if(m(e.maxProperties)&&!(Object.getOwnPropertyNames(n).length<=e.maxProperties))return!1;const[i,o]=Object.entries(e.patternProperties)[0],a=new RegExp(i),s=Object.entries(n).every((([e,n])=>!a.test(e)||y(o,t,n))),u="object"!=typeof e.additionalProperties||Object.entries(n).every((([n,r])=>!!a.test(n)||y(e.additionalProperties,t,r))),c=!1!==e.additionalProperties||Object.getOwnPropertyNames(n).every((e=>a.test(e)));return s&&u&&c}(v,l,n);case"Ref":case"This":return function(e,t,n){return y((0,i.Deref)(e,t),t,n)}(v,l,n);case"RegExp":return function(e,t,n){const r=new RegExp(e.source,e.flags);return(!m(e.minLength)||n.length>=e.minLength)&&(!m(e.maxLength)||n.length<=e.maxLength)&&r.test(n)}(v,0,n);case"String":return function(e,t,n){if(!(0,d.IsString)(n))return!1;if(m(e.minLength)&&!(n.length>=e.minLength))return!1;if(m(e.maxLength)&&!(n.length<=e.maxLength))return!1;if(m(e.pattern)&&!new RegExp(e.pattern).test(n))return!1;if(m(e.format))return!!c.FormatRegistry.Has(e.format)&&c.FormatRegistry.Get(e.format)(n);return!0}(v,0,n);case"Symbol":return function(e,t,n){return(0,d.IsSymbol)(n)}(0,0,n);case"TemplateLiteral":return function(e,t,n){return(0,d.IsString)(n)&&new RegExp(e.pattern).test(n)}(v,0,n);case"Tuple":return function(e,t,n){if(!(0,d.IsArray)(n))return!1;if(void 0===e.items&&0!==n.length)return!1;if(n.length!==e.maxItems)return!1;if(!e.items)return!0;for(let r=0;r<e.items.length;r++)if(!y(e.items[r],t,n[r]))return!1;return!0}(v,l,n);case"Undefined":return function(e,t,n){return(0,d.IsUndefined)(n)}(0,0,n);case"Union":return function(e,t,n){return e.anyOf.some((e=>y(e,t,n)))}(v,l,n);case"Uint8Array":return function(e,t,n){return!!(0,d.IsUint8Array)(n)&&(!m(e.maxByteLength)||n.length<=e.maxByteLength)&&(!m(e.minByteLength)||n.length>=e.minByteLength)}(v,0,n);case"Void":return function(e,t,n){return r.TypeSystemPolicy.IsVoidLike(n)}(0,0,n);default:if(!c.TypeRegistry.Has(v[a.Kind]))throw new h(v);return function(e,t,n){return!!c.TypeRegistry.Has(e[a.Kind])&&c.TypeRegistry.Get(e[a.Kind])(e,n)}(v,0,n)}}t.ValueCheckUnknownTypeError=h,t.Check=function(...e){return 3===e.length?y(e[0],e[1],e[2]):y(e[0],[],e[1])}},30482:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(96177),t)},72573:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Clean=void 0;const r=n(19131),i=n(30482),o=n(76466),a=n(16996),s=n(65834),u=n(91808),c=n(48733);function l(e){return(0,c.IsSchema)(e)&&"Unsafe"!==e[s.Kind]}function f(e,t,n){const d=(0,u.IsString)(e.$id)?[...t,e]:t,p=e;switch(p[s.Kind]){case"Array":return function(e,t,n){return(0,u.IsArray)(n)?n.map((n=>f(e.items,t,n))):n}(p,d,n);case"Intersect":return function(e,t,n){const a=e.unevaluatedProperties,s=e.allOf.map((e=>f(e,t,(0,o.Clone)(n)))).reduce(((e,t)=>(0,u.IsObject)(t)?{...e,...t}:t),{});if(!(0,u.IsObject)(n)||!(0,u.IsObject)(s)||!(0,c.IsSchema)(a))return s;const l=(0,r.KeyOfPropertyKeys)(e);for(const e of Object.getOwnPropertyNames(n))l.includes(e)||(0,i.Check)(a,t,n[e])&&(s[e]=f(a,t,n[e]));return s}(p,d,n);case"Object":return function(e,t,n){if(!(0,u.IsObject)(n)||(0,u.IsArray)(n))return n;const r=e.additionalProperties;for(const o of Object.getOwnPropertyNames(n))o in e.properties?n[o]=f(e.properties[o],t,n[o]):(0,c.IsSchema)(r)&&(0,i.Check)(r,t,n[o])?n[o]=f(r,t,n[o]):delete n[o];return n}(p,d,n);case"Record":return function(e,t,n){if(!(0,u.IsObject)(n))return n;const r=e.additionalProperties,o=Object.keys(n),[a,s]=Object.entries(e.patternProperties)[0],l=new RegExp(a);for(const e of o)l.test(e)?n[e]=f(s,t,n[e]):(0,c.IsSchema)(r)&&(0,i.Check)(r,t,n[e])?n[e]=f(r,t,n[e]):delete n[e];return n}(p,d,n);case"Ref":case"This":return function(e,t,n){return f((0,a.Deref)(e,t),t,n)}(p,d,n);case"Tuple":return function(e,t,n){if(!(0,u.IsArray)(n))return n;if((0,u.IsUndefined)(e.items))return[];const r=Math.min(n.length,e.items.length);for(let i=0;i<r;i++)n[i]=f(e.items[i],t,n[i]);return n.length>r?n.slice(0,r):n}(p,d,n);case"Union":return function(e,t,n){for(const r of e.anyOf)if(l(r)&&(0,i.Check)(r,n))return f(r,t,n);return n}(p,d,n);default:return n}}t.Clean=function(...e){return 3===e.length?f(e[0],e[1],e[2]):f(e[0],[],e[1])}},79644:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(72573),t)},72972:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Clone=void 0;const r=n(91808);function i(e){if((0,r.IsArray)(e))return function(e){return e.map((e=>i(e)))}(e);if((0,r.IsDate)(e))return function(e){return new Date(e.toISOString())}(e);if((0,r.IsStandardObject)(e))return function(e){return[...Object.getOwnPropertyNames(e),...Object.getOwnPropertySymbols(e)].reduce(((t,n)=>({...t,[n]:i(e[n])})),{})}(e);if((0,r.IsTypedArray)(e))return function(e){return e.slice()}(e);if((0,r.IsValueType)(e))return e;throw new Error("ValueClone: Unable to clone value")}t.Clone=i},76466:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(72972),t)},77539:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Convert=void 0;const r=n(76466),i=n(30482),o=n(16996),a=n(65834),s=n(91808);function u(e){return(0,s.IsString)(e)&&!isNaN(e)&&!isNaN(parseFloat(e))}function c(e){return!0===e||(0,s.IsNumber)(e)&&1===e||(0,s.IsBigInt)(e)&&e===BigInt("1")||(0,s.IsString)(e)&&("true"===e.toLowerCase()||"1"===e)}function l(e){return!1===e||(0,s.IsNumber)(e)&&(0===e||Object.is(e,-0))||(0,s.IsBigInt)(e)&&e===BigInt("0")||(0,s.IsString)(e)&&("false"===e.toLowerCase()||"0"===e||"-0"===e)}function f(e,t){return(0,s.IsString)(e.const)?function(e,t){const n=p(e);return n===t?n:e}(t,e.const):(0,s.IsNumber)(e.const)?function(e,t){const n=h(e);return n===t?n:e}(t,e.const):(0,s.IsBoolean)(e.const)?function(e,t){const n=d(e);return n===t?n:e}(t,e.const):(0,r.Clone)(t)}function d(e){return!!c(e)||!l(e)&&e}function p(e){return function(e){return(0,s.IsBigInt)(e)||(0,s.IsBoolean)(e)||(0,s.IsNumber)(e)}(e)?e.toString():(0,s.IsSymbol)(e)&&void 0!==e.description?e.description.toString():e}function h(e){return u(e)?parseFloat(e):c(e)?1:l(e)?0:e}function g(e){return(0,s.IsDate)(e)?e:(0,s.IsNumber)(e)?new Date(e):c(e)?new Date(1):l(e)?new Date(0):u(e)?new Date(parseInt(e)):function(e){return(0,s.IsString)(e)&&/^(?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)?$/i.test(e)}(e)?new Date(`1970-01-01T${e}.000Z`):function(e){return(0,s.IsString)(e)&&/^(?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)$/i.test(e)}(e)?new Date(`1970-01-01T${e}`):function(e){return(0,s.IsString)(e)&&/^\d\d\d\d-[0-1]\d-[0-3]\dt(?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)?$/i.test(e)}(e)?new Date(`${e}.000Z`):function(e){return(0,s.IsString)(e)&&/^\d\d\d\d-[0-1]\d-[0-3]\dt(?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)$/i.test(e)}(e)?new Date(e):function(e){return(0,s.IsString)(e)&&/^\d\d\d\d-[0-1]\d-[0-3]\d$/i.test(e)}(e)?new Date(`${e}T00:00:00.000Z`):e}function m(e,t,n){return function(e){return u(e)?BigInt(parseInt(e)):(0,s.IsNumber)(e)?BigInt(0|e):l(e)?BigInt(0):c(e)?BigInt(1):e}(n)}function y(e,t,n){return function(e){return u(e)?parseInt(e):(0,s.IsNumber)(e)?0|e:c(e)?1:l(e)?0:e}(n)}function v(e,t,n){return function(e){return(0,s.IsString)(e)&&"null"===e.toLowerCase()?null:e}(n)}function b(e,t,n){return function(e){return(0,s.IsString)(e)&&"undefined"===e?void 0:e}(n)}function _(e,t,n){const r=(0,s.IsString)(e.$id)?[...t,e]:t,u=e;switch(e[a.Kind]){case"Array":return function(e,t,n){return(0,s.IsArray)(n)?n.map((n=>_(e.items,t,n))):n}(u,r,n);case"BigInt":return m(0,0,n);case"Boolean":return function(e,t,n){return d(n)}(0,0,n);case"Date":return function(e,t,n){return g(n)}(0,0,n);case"Integer":return y(0,0,n);case"Intersect":return function(e,t,n){return e.allOf.reduce(((e,n)=>_(n,t,e)),n)}(u,r,n);case"Literal":return function(e,t,n){return f(e,n)}(u,0,n);case"Null":return v(0,0,n);case"Number":return function(e,t,n){return h(n)}(0,0,n);case"Object":return function(e,t,n){return(0,s.IsObject)(n)?Object.getOwnPropertyNames(e.properties).reduce(((n,r)=>(0,s.IsUndefined)(n[r])?{...n}:{...n,[r]:_(e.properties[r],t,n[r])}),n):n}(u,r,n);case"Record":return function(e,t,n){const r=Object.getOwnPropertyNames(e.patternProperties)[0],i=e.patternProperties[r],o={};for(const[e,r]of Object.entries(n))o[e]=_(i,t,r);return o}(u,r,n);case"Ref":case"This":return function(e,t,n){return _((0,o.Deref)(e,t),t,n)}(u,r,n);case"String":return function(e,t,n){return p(n)}(0,0,n);case"Symbol":return function(e,t,n){return(0,s.IsString)(n)||(0,s.IsNumber)(n)?Symbol(n):n}(0,0,n);case"Tuple":return function(e,t,n){return(0,s.IsArray)(n)&&!(0,s.IsUndefined)(e.items)?n.map(((n,r)=>r<e.items.length?_(e.items[r],t,n):n)):n}(u,r,n);case"Undefined":return b(0,0,n);case"Union":return function(e,t,n){for(const r of e.anyOf){const e=_(r,t,n);if((0,i.Check)(r,t,e))return e}return n}(u,r,n);default:return n}}t.Convert=function(...e){return 3===e.length?_(e[0],e[1],e[2]):_(e[0],[],e[1])}},68898:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(77539),t)},31348:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Create=t.ValueCreateError=void 0;const r=n(91808),i=n(30482),o=n(76466),a=n(16996),s=n(90634),u=n(49940),c=n(73833),l=n(65834),f=n(759);class d extends f.TypeBoxError{constructor(e,t){super(t),this.schema=e}}function p(e){return"function"==typeof e?e:(0,o.Clone)(e)}function h(e,t){const n=(0,r.IsString)(e.$id)?[...t,e]:t,o=e;switch(o[l.Kind]){case"Any":case"Unknown":return function(e,t){return(0,r.HasPropertyKey)(e,"default")?p(e.default):{}}(o);case"Array":return function(e,t){if(!0!==e.uniqueItems||(0,r.HasPropertyKey)(e,"default")){if("contains"in e&&!(0,r.HasPropertyKey)(e,"default"))throw new d(e,"Array with the contains constraint requires a default value");return"default"in e?p(e.default):void 0!==e.minItems?Array.from({length:e.minItems}).map((n=>h(e.items,t))):[]}throw new d(e,"Array with the uniqueItems constraint requires a default value")}(o,n);case"AsyncIterator":return function(e,t){return(0,r.HasPropertyKey)(e,"default")?p(e.default):async function*(){}()}(o);case"BigInt":return function(e,t){return(0,r.HasPropertyKey)(e,"default")?p(e.default):BigInt(0)}(o);case"Boolean":return function(e,t){return!!(0,r.HasPropertyKey)(e,"default")&&p(e.default)}(o);case"Constructor":return function(e,t){if((0,r.HasPropertyKey)(e,"default"))return p(e.default);{const n=h(e.returns,t);return"object"!=typeof n||Array.isArray(n)?class{}:class{constructor(){for(const[e,t]of Object.entries(n))this[e]=t}}}}(o,n);case"Date":return function(e,t){return(0,r.HasPropertyKey)(e,"default")?p(e.default):void 0!==e.minimumTimestamp?new Date(e.minimumTimestamp):new Date}(o);case"Function":return function(e,t){return(0,r.HasPropertyKey)(e,"default")?p(e.default):()=>h(e.returns,t)}(o,n);case"Integer":case"Number":return function(e,t){return(0,r.HasPropertyKey)(e,"default")?p(e.default):void 0!==e.minimum?e.minimum:0}(o);case"Intersect":return function(e,t){if((0,r.HasPropertyKey)(e,"default"))return p(e.default);{const n=e.allOf.reduce(((e,n)=>{const r=h(n,t);return"object"==typeof r?{...e,...r}:r}),{});if(!(0,i.Check)(e,t,n))throw new d(e,"Intersect produced invalid value. Consider using a default value.");return n}}(o,n);case"Iterator":return function(e,t){return(0,r.HasPropertyKey)(e,"default")?p(e.default):function*(){}()}(o);case"Literal":return function(e,t){return(0,r.HasPropertyKey)(e,"default")?p(e.default):e.const}(o);case"Never":return function(e,t){if((0,r.HasPropertyKey)(e,"default"))return p(e.default);throw new d(e,"Never types cannot be created. Consider using a default value.")}(o);case"Not":return function(e,t){if((0,r.HasPropertyKey)(e,"default"))return p(e.default);throw new d(e,"Not types must have a default value")}(o);case"Null":return function(e,t){return(0,r.HasPropertyKey)(e,"default")?p(e.default):null}(o);case"Object":return function(e,t){if((0,r.HasPropertyKey)(e,"default"))return p(e.default);{const n=new Set(e.required);return p(e.default)||Object.entries(e.properties).reduce(((e,[r,i])=>n.has(r)?{...e,[r]:h(i,t)}:{...e}),{})}}(o,n);case"Promise":return function(e,t){return(0,r.HasPropertyKey)(e,"default")?p(e.default):Promise.resolve(h(e.item,t))}(o,n);case"Record":return function(e,t){const[n,i]=Object.entries(e.patternProperties)[0];if((0,r.HasPropertyKey)(e,"default"))return p(e.default);if(n!==u.PatternStringExact&&n!==u.PatternNumberExact)return n.slice(1,n.length-1).split("|").reduce(((e,n)=>({...e,[n]:h(i,t)})),{});return{}}(o,n);case"Ref":return function(e,t){return(0,r.HasPropertyKey)(e,"default")?p(e.default):h((0,a.Deref)(e,t),t)}(o,n);case"RegExp":return function(e,t){if((0,r.HasPropertyKey)(e,"default"))return p(e.default);throw new d(e,"RegExp types cannot be created. Consider using a default value.")}(o);case"String":return function(e,t){if(void 0!==e.pattern){if((0,r.HasPropertyKey)(e,"default"))return p(e.default);throw new d(e,"String types with patterns must specify a default value")}if(void 0!==e.format){if((0,r.HasPropertyKey)(e,"default"))return p(e.default);throw new d(e,"String types with formats must specify a default value")}return(0,r.HasPropertyKey)(e,"default")?p(e.default):void 0!==e.minLength?Array.from({length:e.minLength}).map((()=>" ")).join(""):""}(o);case"Symbol":return function(e,t){return(0,r.HasPropertyKey)(e,"default")?p(e.default):"value"in e?Symbol.for(e.value):Symbol()}(o);case"TemplateLiteral":return function(e,t){if((0,r.HasPropertyKey)(e,"default"))return p(e.default);if(!(0,s.IsTemplateLiteralFinite)(e))throw new d(e,"Can only create template literals that produce a finite variants. Consider using a default value.");return(0,s.TemplateLiteralGenerate)(e)[0]}(o);case"This":return function(e,t){if(m++>g)throw new d(e,"Cannot create recursive type as it appears possibly infinite. Consider using a default.");return(0,r.HasPropertyKey)(e,"default")?p(e.default):h((0,a.Deref)(e,t),t)}(o,n);case"Tuple":return function(e,t){return(0,r.HasPropertyKey)(e,"default")?p(e.default):void 0===e.items?[]:Array.from({length:e.minItems}).map(((n,r)=>h(e.items[r],t)))}(o,n);case"Undefined":case"Void":return function(e,t){return(0,r.HasPropertyKey)(e,"default")?p(e.default):void 0}(o);case"Union":return function(e,t){if((0,r.HasPropertyKey)(e,"default"))return p(e.default);if(0===e.anyOf.length)throw new Error("ValueCreate.Union: Cannot create Union with zero variants");return h(e.anyOf[0],t)}(o,n);case"Uint8Array":return function(e,t){return(0,r.HasPropertyKey)(e,"default")?p(e.default):void 0!==e.minByteLength?new Uint8Array(e.minByteLength):new Uint8Array(0)}(o);default:if(!c.TypeRegistry.Has(o[l.Kind]))throw new d(o,"Unknown type");return function(e,t){if((0,r.HasPropertyKey)(e,"default"))return p(e.default);throw new Error("User defined types must specify a default value")}(o)}}t.ValueCreateError=d;const g=512;let m=0;t.Create=function(...e){return m=0,2===e.length?h(e[0],e[1]):h(e[0],[])}},14392:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(31348),t)},11935:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Default=void 0;const r=n(30482),i=n(76466),o=n(16996),a=n(65834),s=n(91808),u=n(48733);function c(e,t){return void 0===t&&"default"in e?(0,i.Clone)(e.default):t}function l(e){return(0,u.IsSchema)(e)&&"Unsafe"!==e[a.Kind]}function f(e){return(0,u.IsSchema)(e)&&"default"in e}function d(e,t,n){const i=(0,s.IsString)(e.$id)?[...t,e]:t,u=e;switch(u[a.Kind]){case"Array":return function(e,t,n){const r=c(e,n);if(!(0,s.IsArray)(r))return r;for(let n=0;n<r.length;n++)r[n]=d(e.items,t,r[n]);return r}(u,i,n);case"Intersect":return function(e,t,n){const r=c(e,n);return e.allOf.reduce(((e,n)=>{const i=d(n,t,r);return(0,s.IsObject)(i)?{...e,...i}:i}),{})}(u,i,n);case"Object":return function(e,t,n){const r=c(e,n);if(!(0,s.IsObject)(r))return r;const i=e.additionalProperties,o=Object.getOwnPropertyNames(e.properties);for(const n of o)f(e.properties[n])&&(r[n]=d(e.properties[n],t,r[n]));if(!f(i))return r;for(const e of Object.getOwnPropertyNames(r))o.includes(e)||(r[e]=d(i,t,r[e]));return r}(u,i,n);case"Record":return function(e,t,n){const r=c(e,n);if(!(0,s.IsObject)(r))return r;const i=e.additionalProperties,[o,a]=Object.entries(e.patternProperties)[0],u=new RegExp(o);for(const e of Object.getOwnPropertyNames(r))u.test(e)&&f(a)&&(r[e]=d(a,t,r[e]));if(!f(i))return r;for(const e of Object.getOwnPropertyNames(r))u.test(e)||(r[e]=d(i,t,r[e]));return r}(u,i,n);case"Ref":return function(e,t,n){return d((0,o.Deref)(e,t),t,c(e,n))}(u,i,n);case"This":return function(e,t,n){return d((0,o.Deref)(e,t),t,n)}(u,i,n);case"Tuple":return function(e,t,n){const r=c(e,n);if(!(0,s.IsArray)(r)||(0,s.IsUndefined)(e.items))return r;const[i,o]=[e.items,Math.max(e.items.length,r.length)];for(let e=0;e<o;e++)e<i.length&&(r[e]=d(i[e],t,r[e]));return r}(u,i,n);case"Union":return function(e,t,n){const i=c(e,n);for(const n of e.anyOf){const e=d(n,t,i);if(l(n)&&(0,r.Check)(n,e))return e}return i}(u,i,n);default:return c(u,n)}}t.Default=function(...e){return 3===e.length?d(e[0],e[1],e[2]):d(e[0],[],e[1])}},42823:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(11935),t)},75522:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Patch=t.Diff=t.ValueDeltaSymbolError=t.ValueDeltaError=t.Edit=t.Delete=t.Update=t.Insert=void 0;const r=n(91808),i=n(84384),o=n(76466),a=n(759),s=n(45348),u=n(17152),c=n(95784),l=n(48375),f=n(96484);t.Insert=(0,u.Object)({type:(0,s.Literal)("insert"),path:(0,c.String)(),value:(0,l.Unknown)()}),t.Update=(0,u.Object)({type:(0,s.Literal)("update"),path:(0,c.String)(),value:(0,l.Unknown)()}),t.Delete=(0,u.Object)({type:(0,s.Literal)("delete"),path:(0,c.String)()}),t.Edit=(0,f.Union)([t.Insert,t.Update,t.Delete]);class d extends a.TypeBoxError{constructor(e,t){super(t),this.value=e}}t.ValueDeltaError=d;class p extends d{constructor(e){super(e,"Cannot diff objects with symbol keys"),this.value=e}}function h(e,t){return{type:"update",path:e,value:t}}function g(e,t){return{type:"insert",path:e,value:t}}function m(e){return{type:"delete",path:e}}function*y(e,t,n){if((0,r.IsStandardObject)(t))return yield*function*(e,t,n){if(!(0,r.IsStandardObject)(n))return yield h(e,n);const i=[...globalThis.Object.keys(t),...globalThis.Object.getOwnPropertySymbols(t)],o=[...globalThis.Object.keys(n),...globalThis.Object.getOwnPropertySymbols(n)];for(const t of i){if((0,r.IsSymbol)(t))throw new p(t);(0,r.IsUndefined)(n[t])&&o.includes(t)&&(yield h(`${e}/${globalThis.String(t)}`,void 0))}for(const i of o)if(!(0,r.IsUndefined)(t[i])&&!(0,r.IsUndefined)(n[i])){if((0,r.IsSymbol)(i))throw new p(i);yield*y(`${e}/${globalThis.String(i)}`,t[i],n[i])}for(const i of o){if((0,r.IsSymbol)(i))throw new p(i);(0,r.IsUndefined)(t[i])&&(yield g(`${e}/${globalThis.String(i)}`,n[i]))}for(const t of i.reverse()){if((0,r.IsSymbol)(t))throw new p(t);(0,r.IsUndefined)(n[t])&&!o.includes(t)&&(yield m(`${e}/${globalThis.String(t)}`))}}(e,t,n);if((0,r.IsArray)(t))return yield*function*(e,t,n){if(!(0,r.IsArray)(n))return yield h(e,n);for(let r=0;r<Math.min(t.length,n.length);r++)yield*y(`${e}/${r}`,t[r],n[r]);for(let r=0;r<n.length;r++)r<t.length||(yield g(`${e}/${r}`,n[r]));for(let r=t.length-1;r>=0;r--)r<n.length||(yield m(`${e}/${r}`))}(e,t,n);if((0,r.IsTypedArray)(t))return yield*function*(e,t,n){if(!(0,r.IsTypedArray)(n)||t.length!==n.length||globalThis.Object.getPrototypeOf(t).constructor.name!==globalThis.Object.getPrototypeOf(n).constructor.name)return yield h(e,n);for(let r=0;r<Math.min(t.length,n.length);r++)yield*y(`${e}/${r}`,t[r],n[r])}(e,t,n);if((0,r.IsValueType)(t))return yield*function*(e,t,n){t!==n&&(yield h(e,n))}(e,t,n);throw new d(t,"Unable to create diff edits for unknown value")}t.ValueDeltaSymbolError=p,t.Diff=function(e,t){return[...y("",e,t)]},t.Patch=function(e,t){if(function(e){return e.length>0&&""===e[0].path&&"update"===e[0].type}(t))return(0,o.Clone)(t[0].value);if(function(e){return 0===e.length}(t))return(0,o.Clone)(e);const n=(0,o.Clone)(e);for(const e of t)switch(e.type){case"insert":case"update":i.ValuePointer.Set(n,e.path,e.value);break;case"delete":i.ValuePointer.Delete(n,e.path)}return n}},33005:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(75522),t)},63346:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Deref=t.TypeDereferenceError=void 0;const r=n(759);class i extends r.TypeBoxError{constructor(e){super(`Unable to dereference schema with $id '${e.$id}'`),this.schema=e}}t.TypeDereferenceError=i,t.Deref=function(e,t){const n=t.findIndex((t=>t.$id===e.$ref));if(-1===n)throw new i(e);return t[n]}},16996:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(63346),t)},2655:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Equal=void 0;const r=n(91808);function i(e,t){if((0,r.IsStandardObject)(e))return function(e,t){if(!(0,r.IsStandardObject)(t))return!1;const n=[...Object.keys(e),...Object.getOwnPropertySymbols(e)],o=[...Object.keys(t),...Object.getOwnPropertySymbols(t)];return n.length===o.length&&n.every((n=>i(e[n],t[n])))}(e,t);if((0,r.IsDate)(e))return function(e,t){return(0,r.IsDate)(t)&&e.getTime()===t.getTime()}(e,t);if((0,r.IsTypedArray)(e))return function(e,t){return!(!(0,r.IsTypedArray)(t)||e.length!==t.length||Object.getPrototypeOf(e).constructor.name!==Object.getPrototypeOf(t).constructor.name)&&e.every(((e,n)=>i(e,t[n])))}(e,t);if((0,r.IsArray)(e))return function(e,t){return!(!(0,r.IsArray)(t)||e.length!==t.length)&&e.every(((e,n)=>i(e,t[n])))}(e,t);if((0,r.IsValueType)(e))return function(e,t){return e===t}(e,t);throw new Error("ValueEquals: Unable to compare value")}t.Equal=i},54878:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(2655),t)},19115:function(e,t){"use strict";function n(e){return null!==e&&"object"==typeof e}function r(e){return Array.isArray(e)&&!ArrayBuffer.isView(e)}function i(e){return void 0===e}function o(e){return null===e}function a(e){return"boolean"==typeof e}function s(e){return"number"==typeof e}function u(e){return"bigint"==typeof e}function c(e){return"string"==typeof e}function l(e){return"function"==typeof e}function f(e){return"symbol"==typeof e}Object.defineProperty(t,"__esModule",{value:!0}),t.IsValueType=t.IsSymbol=t.IsFunction=t.IsString=t.IsBigInt=t.IsInteger=t.IsNumber=t.IsBoolean=t.IsNull=t.IsUndefined=t.IsArray=t.IsObject=t.HasPropertyKey=t.IsBigUint64Array=t.IsBigInt64Array=t.IsFloat64Array=t.IsFloat32Array=t.IsUint32Array=t.IsInt32Array=t.IsUint16Array=t.IsInt16Array=t.IsUint8ClampedArray=t.IsUint8Array=t.IsInt8Array=t.IsTypedArray=t.IsRegExp=t.IsSet=t.IsMap=t.IsDate=t.IsPromise=t.IsInstanceObject=t.IsStandardObject=t.IsIterator=t.IsAsyncIterator=void 0,t.IsAsyncIterator=function(e){return n(e)&&Symbol.asyncIterator in e},t.IsIterator=function(e){return n(e)&&Symbol.iterator in e},t.IsStandardObject=function(e){return n(e)&&!r(e)&&l(e.constructor)&&"Object"===e.constructor.name},t.IsInstanceObject=function(e){return n(e)&&!r(e)&&l(e.constructor)&&"Object"!==e.constructor.name},t.IsPromise=function(e){return e instanceof Promise},t.IsDate=function(e){return e instanceof Date&&Number.isFinite(e.getTime())},t.IsMap=function(e){return e instanceof globalThis.Map},t.IsSet=function(e){return e instanceof globalThis.Set},t.IsRegExp=function(e){return e instanceof globalThis.RegExp},t.IsTypedArray=function(e){return ArrayBuffer.isView(e)},t.IsInt8Array=function(e){return e instanceof globalThis.Int8Array},t.IsUint8Array=function(e){return e instanceof globalThis.Uint8Array},t.IsUint8ClampedArray=function(e){return e instanceof globalThis.Uint8ClampedArray},t.IsInt16Array=function(e){return e instanceof globalThis.Int16Array},t.IsUint16Array=function(e){return e instanceof globalThis.Uint16Array},t.IsInt32Array=function(e){return e instanceof globalThis.Int32Array},t.IsUint32Array=function(e){return e instanceof globalThis.Uint32Array},t.IsFloat32Array=function(e){return e instanceof globalThis.Float32Array},t.IsFloat64Array=function(e){return e instanceof globalThis.Float64Array},t.IsBigInt64Array=function(e){return e instanceof globalThis.BigInt64Array},t.IsBigUint64Array=function(e){return e instanceof globalThis.BigUint64Array},t.HasPropertyKey=function(e,t){return t in e},t.IsObject=n,t.IsArray=r,t.IsUndefined=i,t.IsNull=o,t.IsBoolean=a,t.IsNumber=s,t.IsInteger=function(e){return s(e)&&Number.isInteger(e)},t.IsBigInt=u,t.IsString=c,t.IsFunction=l,t.IsSymbol=f,t.IsValueType=function(e){return u(e)||a(e)||o(e)||s(e)||c(e)||f(e)||i(e)}},91808:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(19115),t)},37384:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Hash=t.ValueHashError=void 0;const r=n(91808),i=n(759);class o extends i.TypeBoxError{constructor(e){super("Unable to hash value"),this.value=e}}var a;t.ValueHashError=o,function(e){e[e.Undefined=0]="Undefined",e[e.Null=1]="Null",e[e.Boolean=2]="Boolean",e[e.Number=3]="Number",e[e.String=4]="String",e[e.Object=5]="Object",e[e.Array=6]="Array",e[e.Date=7]="Date",e[e.Uint8Array=8]="Uint8Array",e[e.Symbol=9]="Symbol",e[e.BigInt=10]="BigInt"}(a||(a={}));let s=BigInt("14695981039346656037");const[u,c]=[BigInt("1099511628211"),BigInt("2")**BigInt("64")],l=Array.from({length:256}).map(((e,t)=>BigInt(t))),f=new Float64Array(1),d=new DataView(f.buffer),p=new Uint8Array(f.buffer);function*h(e){const t=0===e?1:Math.ceil(Math.floor(Math.log2(e)+1)/8);for(let n=0;n<t;n++)yield e>>8*(t-1-n)&255}function g(e){if((0,r.IsArray)(e))return function(e){m(a.Array);for(const t of e)g(t)}(e);if((0,r.IsBoolean)(e))return function(e){m(a.Boolean),m(e?1:0)}(e);if((0,r.IsBigInt)(e))return function(e){m(a.BigInt),d.setBigInt64(0,e);for(const e of p)m(e)}(e);if((0,r.IsDate)(e))return function(e){m(a.Date),g(e.getTime())}(e);if(!(0,r.IsNull)(e)){if((0,r.IsNumber)(e))return function(e){m(a.Number),d.setFloat64(0,e);for(const e of p)m(e)}(e);if((0,r.IsStandardObject)(e))return function(e){m(a.Object);for(const t of globalThis.Object.keys(e).sort())g(t),g(e[t])}(e);if((0,r.IsString)(e))return function(e){m(a.String);for(let t=0;t<e.length;t++)for(const n of h(e.charCodeAt(t)))m(n)}(e);if((0,r.IsSymbol)(e))return function(e){m(a.Symbol),g(e.description)}(e);if((0,r.IsUint8Array)(e))return function(e){m(a.Uint8Array);for(let t=0;t<e.length;t++)m(e[t])}(e);if((0,r.IsUndefined)(e))return m(a.Undefined);throw new o(e)}m(a.Null)}function m(e){s^=l[e],s=s*u%c}t.Hash=function(e){return s=BigInt("14695981039346656037"),g(e),s}},99562:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(37384),t)},32477:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),t.Value=t.ValueErrorIterator=t.ValueErrorType=void 0;var o=n(70530);Object.defineProperty(t,"ValueErrorType",{enumerable:!0,get:function(){return o.ValueErrorType}}),Object.defineProperty(t,"ValueErrorIterator",{enumerable:!0,get:function(){return o.ValueErrorIterator}}),i(n(91808),t),i(n(99756),t),i(n(30482),t),i(n(79644),t),i(n(76466),t),i(n(68898),t),i(n(14392),t),i(n(42823),t),i(n(33005),t),i(n(54878),t),i(n(99562),t),i(n(55698),t),i(n(84384),t),i(n(20127),t);var a=n(40169);Object.defineProperty(t,"Value",{enumerable:!0,get:function(){return a.Value}})},55698:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(85764),t)},85764:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Mutate=t.ValueMutateError=void 0;const r=n(91808),i=n(84384),o=n(76466),a=n(759);class s extends a.TypeBoxError{constructor(e){super(e)}}function u(e,t,n,a){return(0,r.IsArray)(a)?function(e,t,n,a){if((0,r.IsArray)(n)){for(let r=0;r<a.length;r++)u(e,`${t}/${r}`,n[r],a[r]);n.splice(a.length)}else i.ValuePointer.Set(e,t,(0,o.Clone)(a))}(e,t,n,a):(0,r.IsTypedArray)(a)?function(e,t,n,a){if((0,r.IsTypedArray)(n)&&n.length===a.length)for(let e=0;e<n.length;e++)n[e]=a[e];else i.ValuePointer.Set(e,t,(0,o.Clone)(a))}(e,t,n,a):(0,r.IsStandardObject)(a)?function(e,t,n,a){if((0,r.IsStandardObject)(n)){const r=Object.keys(n),i=Object.keys(a);for(const e of r)i.includes(e)||delete n[e];for(const e of i)r.includes(e)||(n[e]=null);for(const r of i)u(e,`${t}/${r}`,n[r],a[r])}else i.ValuePointer.Set(e,t,(0,o.Clone)(a))}(e,t,n,a):(0,r.IsValueType)(a)?function(e,t,n,r){n!==r&&i.ValuePointer.Set(e,t,r)}(e,t,n,a):void 0}function c(e){return(0,r.IsTypedArray)(e)||(0,r.IsValueType)(e)}t.ValueMutateError=s,t.Mutate=function(e,t){if(c(e)||c(t))throw new s("Only object and array types can be mutated at the root level");if(function(e,t){return(0,r.IsStandardObject)(e)&&(0,r.IsArray)(t)||(0,r.IsArray)(e)&&(0,r.IsStandardObject)(t)}(e,t))throw new s("Cannot assign due type mismatch of assignable values");u(e,"",e,t)}},84384:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ValuePointer=void 0,t.ValuePointer=n(27087)},27087:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Get=t.Has=t.Delete=t.Set=t.Format=t.ValuePointerRootDeleteError=t.ValuePointerRootSetError=void 0;const r=n(759);class i extends r.TypeBoxError{constructor(e,t,n){super("Cannot set root value"),this.value=e,this.path=t,this.update=n}}t.ValuePointerRootSetError=i;class o extends r.TypeBoxError{constructor(e,t){super("Cannot delete root value"),this.value=e,this.path=t}}function a(e){return-1===e.indexOf("~")?e:e.replace(/~1/g,"/").replace(/~0/g,"~")}function*s(e){if(""===e)return;let[t,n]=[0,0];for(let r=0;r<e.length;r++){"/"===e.charAt(r)?(0===r||(n=r,yield a(e.slice(t,n))),t=r+1):n=r}yield a(e.slice(t))}t.ValuePointerRootDeleteError=o,t.Format=s,t.Set=function(e,t,n){if(""===t)throw new i(e,t,n);let[r,o,a]=[null,e,""];for(const e of s(t))void 0===o[e]&&(o[e]={}),r=o,o=o[e],a=e;r[a]=n},t.Delete=function(e,t){if(""===t)throw new o(e,t);let[n,r,i]=[null,e,""];for(const e of s(t)){if(void 0===r[e]||null===r[e])return;n=r,r=r[e],i=e}if(Array.isArray(n)){const e=parseInt(i);n.splice(e,1)}else delete n[i]},t.Has=function(e,t){if(""===t)return!0;let[n,r,i]=[null,e,""];for(const e of s(t)){if(void 0===r[e])return!1;n=r,r=r[e],i=e}return Object.getOwnPropertyNames(n).includes(i)},t.Get=function(e,t){if(""===t)return e;let n=e;for(const e of s(t)){if(void 0===n[e])return;n=n[e]}return n}},72857:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TransformDecode=t.TransformDecodeError=t.TransformDecodeCheckError=void 0;const r=n(65834),i=n(759),o=n(19131),a=n(42387),s=n(16996),u=n(30482),c=n(91808),l=n(48733);class f extends i.TypeBoxError{constructor(e,t,n){super("Unable to decode value as it does not match the expected schema"),this.schema=e,this.value=t,this.error=n}}t.TransformDecodeCheckError=f;class d extends i.TypeBoxError{constructor(e,t,n,r){super(r instanceof Error?r.message:"Unknown error"),this.schema=e,this.path=t,this.value=n,this.error=r}}function p(e,t,n){try{return(0,l.IsTransform)(e)?e[r.TransformKind].Decode(n):n}catch(r){throw new d(e,t,n,r)}}function h(e,t,n,i){const f="string"==typeof e.$id?[...t,e]:t,d=e;switch(e[r.Kind]){case"Array":return function(e,t,n,r){return(0,c.IsArray)(r)?p(e,n,r.map(((r,i)=>h(e.items,t,`${n}/${i}`,r)))):p(e,n,r)}(d,f,n,i);case"Intersect":return function(e,t,n,r){if(!(0,c.IsStandardObject)(r)||(0,c.IsValueType)(r))return p(e,n,r);const i=(0,o.KeyOfPropertyKeys)(e),s=i.reduce(((r,i)=>i in r?{...r,[i]:h((0,a.Index)(e,[i]),t,`${n}/${i}`,r[i])}:r),r);if(!(0,l.IsTransform)(e.unevaluatedProperties))return p(e,n,s);const u=Object.getOwnPropertyNames(s),f=e.unevaluatedProperties,d=u.reduce(((e,t)=>i.includes(t)?e:{...e,[t]:p(f,`${n}/${t}`,e[t])}),s);return p(e,n,d)}(d,f,n,i);case"Not":return function(e,t,n,r){return p(e,n,h(e.not,t,n,r))}(d,f,n,i);case"Object":return function(e,t,n,r){if(!(0,c.IsStandardObject)(r))return p(e,n,r);const i=(0,o.KeyOfPropertyKeys)(e),a=i.reduce(((r,i)=>i in r?{...r,[i]:h(e.properties[i],t,`${n}/${i}`,r[i])}:r),r);if(!(0,l.IsSchema)(e.additionalProperties))return p(e,n,a);const s=Object.getOwnPropertyNames(a),u=e.additionalProperties,f=s.reduce(((e,t)=>i.includes(t)?e:{...e,[t]:p(u,`${n}/${t}`,e[t])}),a);return p(e,n,f)}(d,f,n,i);case"Record":return function(e,t,n,r){if(!(0,c.IsStandardObject)(r))return p(e,n,r);const i=Object.getOwnPropertyNames(e.patternProperties)[0],o=new RegExp(i),a=Object.getOwnPropertyNames(r).reduce(((r,a)=>o.test(a)?{...r,[a]:h(e.patternProperties[i],t,`${n}/${a}`,r[a])}:r),r);if(!(0,l.IsSchema)(e.additionalProperties))return p(e,n,a);const s=Object.getOwnPropertyNames(a),u=e.additionalProperties,f=s.reduce(((e,t)=>o.test(t)?e:{...e,[t]:p(u,`${n}/${t}`,e[t])}),a);return p(e,n,f)}(d,f,n,i);case"Ref":case"This":return function(e,t,n,r){return p(e,n,h((0,s.Deref)(e,t),t,n,r))}(d,f,n,i);case"Symbol":default:return p(d,n,i);case"Tuple":return function(e,t,n,r){return(0,c.IsArray)(r)&&(0,c.IsArray)(e.items)?p(e,n,e.items.map(((e,i)=>h(e,t,`${n}/${i}`,r[i])))):p(e,n,r)}(d,f,n,i);case"Union":return function(e,t,n,r){for(const i of e.anyOf)if((0,u.Check)(i,t,r))return p(e,n,h(i,t,n,r));return p(e,n,r)}(d,f,n,i)}}t.TransformDecodeError=d,t.TransformDecode=function(e,t,n){return h(e,t,"",n)}},72009:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TransformEncode=t.TransformEncodeError=t.TransformEncodeCheckError=void 0;const r=n(65834),i=n(759),o=n(19131),a=n(42387),s=n(16996),u=n(30482),c=n(91808),l=n(48733);class f extends i.TypeBoxError{constructor(e,t,n){super("The encoded value does not match the expected schema"),this.schema=e,this.value=t,this.error=n}}t.TransformEncodeCheckError=f;class d extends i.TypeBoxError{constructor(e,t,n,r){super(`${r instanceof Error?r.message:"Unknown error"}`),this.schema=e,this.path=t,this.value=n,this.error=r}}function p(e,t,n){try{return(0,l.IsTransform)(e)?e[r.TransformKind].Encode(n):n}catch(r){throw new d(e,t,n,r)}}function h(e,t,n,i){const f="string"==typeof e.$id?[...t,e]:t,d=e;switch(e[r.Kind]){case"Array":return function(e,t,n,r){const i=p(e,n,r);return(0,c.IsArray)(i)?i.map(((r,i)=>h(e.items,t,`${n}/${i}`,r))):i}(d,f,n,i);case"Intersect":return function(e,t,n,r){const i=p(e,n,r);if(!(0,c.IsStandardObject)(r)||(0,c.IsValueType)(r))return i;const s=(0,o.KeyOfPropertyKeys)(e),u=s.reduce(((r,o)=>o in i?{...r,[o]:h((0,a.Index)(e,[o]),t,`${n}/${o}`,r[o])}:r),i);if(!(0,l.IsTransform)(e.unevaluatedProperties))return p(e,n,u);const f=Object.getOwnPropertyNames(u),d=e.unevaluatedProperties;return f.reduce(((e,t)=>s.includes(t)?e:{...e,[t]:p(d,`${n}/${t}`,e[t])}),u)}(d,f,n,i);case"Not":return function(e,t,n,r){return p(e.not,n,p(e,n,r))}(d,0,n,i);case"Object":return function(e,t,n,r){const i=p(e,n,r);if(!(0,c.IsStandardObject)(r))return i;const a=(0,o.KeyOfPropertyKeys)(e),s=a.reduce(((r,i)=>i in r?{...r,[i]:h(e.properties[i],t,`${n}/${i}`,r[i])}:r),i);if(!(0,l.IsSchema)(e.additionalProperties))return s;const u=Object.getOwnPropertyNames(s),f=e.additionalProperties;return u.reduce(((e,t)=>a.includes(t)?e:{...e,[t]:p(f,`${n}/${t}`,e[t])}),s)}(d,f,n,i);case"Record":return function(e,t,n,r){const i=p(e,n,r);if(!(0,c.IsStandardObject)(r))return i;const o=Object.getOwnPropertyNames(e.patternProperties)[0],a=new RegExp(o),s=Object.getOwnPropertyNames(r).reduce(((r,i)=>a.test(i)?{...r,[i]:h(e.patternProperties[o],t,`${n}/${i}`,r[i])}:r),i);if(!(0,l.IsSchema)(e.additionalProperties))return p(e,n,s);const u=Object.getOwnPropertyNames(s),f=e.additionalProperties;return u.reduce(((e,t)=>a.test(t)?e:{...e,[t]:p(f,`${n}/${t}`,e[t])}),s)}(d,f,n,i);case"Ref":case"This":return function(e,t,n,r){return p(e,n,h((0,s.Deref)(e,t),t,n,r))}(d,f,n,i);case"Tuple":return function(e,t,n,r){const i=p(e,n,r);return(0,c.IsArray)(e.items)?e.items.map(((e,r)=>h(e,t,`${n}/${r}`,i[r]))):[]}(d,f,n,i);case"Union":return function(e,t,n,r){for(const i of e.anyOf)if((0,u.Check)(i,t,r))return p(e,n,h(i,t,n,r));for(const i of e.anyOf){const o=h(i,t,n,r);if((0,u.Check)(e,t,o))return p(e,n,o)}return p(e,n,r)}(d,f,n,i);default:return p(d,n,i)}}t.TransformEncodeError=d,t.TransformEncode=function(e,t,n){return h(e,t,"",n)}},16197:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.HasTransform=void 0;const r=n(16996),i=n(65834),o=n(48733),a=n(91808);function s(e,t){const n=(0,a.IsString)(e.$id)?[...t,e]:t,c=e;if(e.$id&&u.has(e.$id))return!1;switch(e.$id&&u.add(e.$id),e[i.Kind]){case"Array":case"AsyncIterator":case"Iterator":return function(e,t){return(0,o.IsTransform)(e)||s(e.items,t)}(c,n);case"Constructor":case"Function":return function(e,t){return(0,o.IsTransform)(e)||s(e.returns,t)||e.parameters.some((e=>s(e,t)))}(c,n);case"Intersect":return function(e,t){return(0,o.IsTransform)(e)||(0,o.IsTransform)(e.unevaluatedProperties)||e.allOf.some((e=>s(e,t)))}(c,n);case"Not":return function(e,t){return(0,o.IsTransform)(e)||s(e.not,t)}(c,n);case"Object":return function(e,t){return(0,o.IsTransform)(e)||Object.values(e.properties).some((e=>s(e,t)))||(0,o.IsSchema)(e.additionalProperties)&&s(e.additionalProperties,t)}(c,n);case"Promise":return function(e,t){return(0,o.IsTransform)(e)||s(e.item,t)}(c,n);case"Record":return function(e,t){const n=Object.getOwnPropertyNames(e.patternProperties)[0],r=e.patternProperties[n];return(0,o.IsTransform)(e)||s(r,t)||(0,o.IsSchema)(e.additionalProperties)&&(0,o.IsTransform)(e.additionalProperties)}(c,n);case"Ref":case"This":return function(e,t){return!!(0,o.IsTransform)(e)||s((0,r.Deref)(e,t),t)}(c,n);case"Tuple":return function(e,t){return(0,o.IsTransform)(e)||!(0,a.IsUndefined)(e.items)&&e.items.some((e=>s(e,t)))}(c,n);case"Union":return function(e,t){return(0,o.IsTransform)(e)||e.anyOf.some((e=>s(e,t)))}(c,n);default:return(0,o.IsTransform)(e)}}const u=new Set;t.HasTransform=function(e,t){return u.clear(),s(e,t)}},20127:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(72857),t),i(n(72009),t),i(n(16197),t)},40169:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Value=void 0,t.Value=n(15675)},15675:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Mutate=t.Patch=t.Hash=t.Diff=t.Equal=t.Errors=t.Encode=t.Default=t.Decode=t.Clone=t.Convert=t.Clean=t.Check=t.Create=t.Cast=void 0;const r=n(20127),i=n(55698),o=n(99562),a=n(54878),s=n(99756),u=n(76466),c=n(68898),l=n(14392),f=n(79644),d=n(30482),p=n(42823),h=n(33005),g=n(70530);function m(...e){return d.Check.apply(d.Check,e)}function y(...e){return g.Errors.apply(g.Errors,e)}t.Cast=function(...e){return s.Cast.apply(s.Cast,e)},t.Create=function(...e){return l.Create.apply(l.Create,e)},t.Check=m,t.Clean=function(...e){return f.Clean.apply(f.Clean,e)},t.Convert=function(...e){return c.Convert.apply(c.Convert,e)},t.Clone=function(e){return(0,u.Clone)(e)},t.Decode=function(...e){const[t,n,i]=3===e.length?[e[0],e[1],e[2]]:[e[0],[],e[1]];if(!m(t,n,i))throw new r.TransformDecodeCheckError(t,i,y(t,n,i).First());return(0,r.TransformDecode)(t,n,i)},t.Default=function(...e){return p.Default.apply(p.Default,e)},t.Encode=function(...e){const[t,n,i]=3===e.length?[e[0],e[1],e[2]]:[e[0],[],e[1]],o=(0,r.TransformEncode)(t,n,i);if(!m(t,n,o))throw new r.TransformEncodeCheckError(t,o,y(t,n,o).First());return o},t.Errors=y,t.Equal=function(e,t){return(0,a.Equal)(e,t)},t.Diff=function(e,t){return(0,h.Diff)(e,t)},t.Hash=function(e){return(0,o.Hash)(e)},t.Patch=function(e,t){return(0,h.Patch)(e,t)},t.Mutate=function(e,t){(0,i.Mutate)(e,t)}},13490:function(e,t,n){"use strict";var r=n(58908);e.exports=function(e,t){return void 0===t&&(t=!1),function(n,i,o){if(n)e(n);else if(i.statusCode>=400&&i.statusCode<=599){var a=o;if(t)if(r.TextDecoder){var s=function(e){void 0===e&&(e="");return e.toLowerCase().split(";").reduce((function(e,t){var n=t.split("="),r=n[0],i=n[1];return"charset"===r.trim()?i.trim():e}),"utf-8")}(i.headers&&i.headers["content-type"]);try{a=new TextDecoder(s).decode(o)}catch(e){}}else a=String.fromCharCode.apply(null,new Uint8Array(o));e({cause:a})}else e(null,o)}}},9603:function(e,t,n){"use strict";var r=n(58908),i=n(10434),o=n(27376);s.httpHandler=n(13490);function a(e,t,n){var r=e;return o(t)?(n=t,"string"==typeof e&&(r={uri:e})):r=i({},t,{uri:e}),r.callback=n,r}function s(e,t,n){return u(t=a(e,t,n))}function u(e){if(void 0===e.callback)throw new Error("callback argument missing");var t=!1,n=function(n,r,i){t||(t=!0,e.callback(n,r,i))};function r(){var e=void 0;if(e=c.response?c.response:c.responseText||function(e){try{if("document"===e.responseType)return e.responseXML;var t=e.responseXML&&"parsererror"===e.responseXML.documentElement.nodeName;if(""===e.responseType&&!t)return e.responseXML}catch(e){}return null}(c),m)try{e=JSON.parse(e)}catch(e){}return e}function i(e){return clearTimeout(l),e instanceof Error||(e=new Error(""+(e||"Unknown XMLHttpRequest Error"))),e.statusCode=0,n(e,y)}function o(){if(!u){var t;clearTimeout(l),t=e.useXDR&&void 0===c.status?200:1223===c.status?204:c.status;var i=y,o=null;return 0!==t?(i={body:r(),statusCode:t,method:d,headers:{},url:f,rawRequest:c},c.getAllResponseHeaders&&(i.headers=function(e){var t={};return e?(e.trim().split("\n").forEach((function(e){var n=e.indexOf(":"),r=e.slice(0,n).trim().toLowerCase(),i=e.slice(n+1).trim();void 0===t[r]?t[r]=i:Array.isArray(t[r])?t[r].push(i):t[r]=[t[r],i]})),t):t}(c.getAllResponseHeaders()))):o=new Error("Internal XMLHttpRequest Error"),n(o,i,i.body)}}var a,u,c=e.xhr||null;c||(c=e.cors||e.useXDR?new s.XDomainRequest:new s.XMLHttpRequest);var l,f=c.url=e.uri||e.url,d=c.method=e.method||"GET",p=e.body||e.data,h=c.headers=e.headers||{},g=!!e.sync,m=!1,y={body:void 0,headers:{},statusCode:0,method:d,url:f,rawRequest:c};if("json"in e&&!1!==e.json&&(m=!0,h.accept||h.Accept||(h.Accept="application/json"),"GET"!==d&&"HEAD"!==d&&(h["content-type"]||h["Content-Type"]||(h["Content-Type"]="application/json"),p=JSON.stringify(!0===e.json?p:e.json))),c.onreadystatechange=function(){4===c.readyState&&setTimeout(o,0)},c.onload=o,c.onerror=i,c.onprogress=function(){},c.onabort=function(){u=!0},c.ontimeout=i,c.open(d,f,!g,e.username,e.password),g||(c.withCredentials=!!e.withCredentials),!g&&e.timeout>0&&(l=setTimeout((function(){if(!u){u=!0,c.abort("timeout");var e=new Error("XMLHttpRequest timeout");e.code="ETIMEDOUT",i(e)}}),e.timeout)),c.setRequestHeader)for(a in h)h.hasOwnProperty(a)&&c.setRequestHeader(a,h[a]);else if(e.headers&&!function(e){for(var t in e)if(e.hasOwnProperty(t))return!1;return!0}(e.headers))throw new Error("Headers cannot be set on an XDomainRequest object");return"responseType"in e&&(c.responseType=e.responseType),"beforeSend"in e&&"function"==typeof e.beforeSend&&e.beforeSend(c),c.send(p||null),c}e.exports=s,e.exports.default=s,s.XMLHttpRequest=r.XMLHttpRequest||function(){},s.XDomainRequest="withCredentials"in new s.XMLHttpRequest?s.XMLHttpRequest:r.XDomainRequest,function(e,t){for(var n=0;n<e.length;n++)t(e[n])}(["get","put","post","patch","head","delete"],(function(e){s["delete"===e?"del":e]=function(t,n,r){return(n=a(t,n,r)).method=e.toUpperCase(),u(n)}}))},72167:function(e,t){"use strict";function n(e,t){return void 0===t&&(t=Object),t&&"function"==typeof t.freeze?t.freeze(e):e}var r=n({HTML:"text/html",isHTML:function(e){return e===r.HTML},XML_APPLICATION:"application/xml",XML_TEXT:"text/xml",XML_XHTML_APPLICATION:"application/xhtml+xml",XML_SVG_IMAGE:"image/svg+xml"}),i=n({HTML:"http://www.w3.org/1999/xhtml",isHTML:function(e){return e===i.HTML},SVG:"http://www.w3.org/2000/svg",XML:"http://www.w3.org/XML/1998/namespace",XMLNS:"http://www.w3.org/2000/xmlns/"});t.assign=function(e,t){if(null===e||"object"!=typeof e)throw new TypeError("target is not an object");for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e},t.find=function(e,t,n){if(void 0===n&&(n=Array.prototype),e&&"function"==typeof n.find)return n.find.call(e,t);for(var r=0;r<e.length;r++)if(Object.prototype.hasOwnProperty.call(e,r)){var i=e[r];if(t.call(void 0,i,r,e))return i}},t.freeze=n,t.MIME_TYPE=r,t.NAMESPACE=i},86129:function(e,t,n){var r=n(72167),i=n(41146),o=n(31045),a=n(76925),s=i.DOMImplementation,u=r.NAMESPACE,c=a.ParseError,l=a.XMLReader;function f(e){return e.replace(/\r[\n\u0085]/g,"\n").replace(/[\r\u0085\u2028]/g,"\n")}function d(e){this.options=e||{locator:{}}}function p(){this.cdata=!1}function h(e,t){t.lineNumber=e.lineNumber,t.columnNumber=e.columnNumber}function g(e){if(e)return"\n@"+(e.systemId||"")+"#[line:"+e.lineNumber+",col:"+e.columnNumber+"]"}function m(e,t,n){return"string"==typeof e?e.substr(t,n):e.length>=t+n||t?new java.lang.String(e,t,n)+"":e}function y(e,t){e.currentElement?e.currentElement.appendChild(t):e.doc.appendChild(t)}d.prototype.parseFromString=function(e,t){var n=this.options,r=new l,i=n.domBuilder||new p,a=n.errorHandler,s=n.locator,c=n.xmlns||{},d=/\/x?html?$/.test(t),h=d?o.HTML_ENTITIES:o.XML_ENTITIES;s&&i.setDocumentLocator(s),r.errorHandler=function(e,t,n){if(!e){if(t instanceof p)return t;e=t}var r={},i=e instanceof Function;function o(t){var o=e[t];!o&&i&&(o=2==e.length?function(n){e(t,n)}:e),r[t]=o&&function(e){o("[xmldom "+t+"]\t"+e+g(n))}||function(){}}return n=n||{},o("warning"),o("error"),o("fatalError"),r}(a,i,s),r.domBuilder=n.domBuilder||i,d&&(c[""]=u.HTML),c.xml=c.xml||u.XML;var m=n.normalizeLineEndings||f;return e&&"string"==typeof e?r.parse(m(e),c,h):r.errorHandler.error("invalid doc source"),i.doc},p.prototype={startDocument:function(){this.doc=(new s).createDocument(null,null,null),this.locator&&(this.doc.documentURI=this.locator.systemId)},startElement:function(e,t,n,r){var i=this.doc,o=i.createElementNS(e,n||t),a=r.length;y(this,o),this.currentElement=o,this.locator&&h(this.locator,o);for(var s=0;s<a;s++){e=r.getURI(s);var u=r.getValue(s),c=(n=r.getQName(s),i.createAttributeNS(e,n));this.locator&&h(r.getLocator(s),c),c.value=c.nodeValue=u,o.setAttributeNode(c)}},endElement:function(e,t,n){var r=this.currentElement;r.tagName;this.currentElement=r.parentNode},startPrefixMapping:function(e,t){},endPrefixMapping:function(e){},processingInstruction:function(e,t){var n=this.doc.createProcessingInstruction(e,t);this.locator&&h(this.locator,n),y(this,n)},ignorableWhitespace:function(e,t,n){},characters:function(e,t,n){if(e=m.apply(this,arguments)){if(this.cdata)var r=this.doc.createCDATASection(e);else r=this.doc.createTextNode(e);this.currentElement?this.currentElement.appendChild(r):/^\s*$/.test(e)&&this.doc.appendChild(r),this.locator&&h(this.locator,r)}},skippedEntity:function(e){},endDocument:function(){this.doc.normalize()},setDocumentLocator:function(e){(this.locator=e)&&(e.lineNumber=0)},comment:function(e,t,n){e=m.apply(this,arguments);var r=this.doc.createComment(e);this.locator&&h(this.locator,r),y(this,r)},startCDATA:function(){this.cdata=!0},endCDATA:function(){this.cdata=!1},startDTD:function(e,t,n){var r=this.doc.implementation;if(r&&r.createDocumentType){var i=r.createDocumentType(e,t,n);this.locator&&h(this.locator,i),y(this,i),this.doc.doctype=i}},warning:function(e){console.warn("[xmldom warning]\t"+e,g(this.locator))},error:function(e){console.error("[xmldom error]\t"+e,g(this.locator))},fatalError:function(e){throw new c(e,this.locator)}},"endDTD,startEntity,endEntity,attributeDecl,elementDecl,externalEntityDecl,internalEntityDecl,resolveEntity,getExternalSubset,notationDecl,unparsedEntityDecl".replace(/\w+/g,(function(e){p.prototype[e]=function(){return null}})),t.DOMParser=d},41146:function(e,t,n){var r=n(72167),i=r.find,o=r.NAMESPACE;function a(e){return""!==e}function s(e,t){return e.hasOwnProperty(t)||(e[t]=!0),e}function u(e){if(!e)return[];var t=function(e){return e?e.split(/[\t\n\f\r ]+/).filter(a):[]}(e);return Object.keys(t.reduce(s,{}))}function c(e,t){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])}function l(e,t){var n=e.prototype;if(!(n instanceof t)){function r(){}r.prototype=t.prototype,c(n,r=new r),e.prototype=n=r}n.constructor!=e&&("function"!=typeof e&&console.error("unknown Class:"+e),n.constructor=e)}var f={},d=f.ELEMENT_NODE=1,p=f.ATTRIBUTE_NODE=2,h=f.TEXT_NODE=3,g=f.CDATA_SECTION_NODE=4,m=f.ENTITY_REFERENCE_NODE=5,y=f.ENTITY_NODE=6,v=f.PROCESSING_INSTRUCTION_NODE=7,b=f.COMMENT_NODE=8,_=f.DOCUMENT_NODE=9,w=f.DOCUMENT_TYPE_NODE=10,T=f.DOCUMENT_FRAGMENT_NODE=11,x=f.NOTATION_NODE=12,S={},k={},E=(S.INDEX_SIZE_ERR=(k[1]="Index size error",1),S.DOMSTRING_SIZE_ERR=(k[2]="DOMString size error",2),S.HIERARCHY_REQUEST_ERR=(k[3]="Hierarchy request error",3)),O=(S.WRONG_DOCUMENT_ERR=(k[4]="Wrong document",4),S.INVALID_CHARACTER_ERR=(k[5]="Invalid character",5),S.NO_DATA_ALLOWED_ERR=(k[6]="No data allowed",6),S.NO_MODIFICATION_ALLOWED_ERR=(k[7]="No modification allowed",7),S.NOT_FOUND_ERR=(k[8]="Not found",8)),C=(S.NOT_SUPPORTED_ERR=(k[9]="Not supported",9),S.INUSE_ATTRIBUTE_ERR=(k[10]="Attribute in use",10));S.INVALID_STATE_ERR=(k[11]="Invalid state",11),S.SYNTAX_ERR=(k[12]="Syntax error",12),S.INVALID_MODIFICATION_ERR=(k[13]="Invalid modification",13),S.NAMESPACE_ERR=(k[14]="Invalid namespace",14),S.INVALID_ACCESS_ERR=(k[15]="Invalid access",15);function L(e,t){if(t instanceof Error)var n=t;else n=this,Error.call(this,k[e]),this.message=k[e],Error.captureStackTrace&&Error.captureStackTrace(this,L);return n.code=e,t&&(this.message=this.message+": "+t),n}function A(){}function I(e,t){this._node=e,this._refresh=t,P(this)}function P(e){var t=e._node._inc||e._node.ownerDocument._inc;if(e._inc!=t){var n=e._refresh(e._node);be(e,"length",n.length),c(n,e),e._inc=t}}function M(){}function R(e,t){for(var n=e.length;n--;)if(e[n]===t)return n}function j(e,t,n,r){if(r?t[R(t,r)]=n:t[t.length++]=n,e){n.ownerElement=e;var i=e.ownerDocument;i&&(r&&H(i,e,r),function(e,t,n){e&&e._inc++,n.namespaceURI===o.XMLNS&&(t._nsMap[n.prefix?n.localName:""]=n.value)}(i,e,n))}}function D(e,t,n){var r=R(t,n);if(!(r>=0))throw new L(O,new Error(e.tagName+"@"+n));for(var i=t.length-1;r<i;)t[r]=t[++r];if(t.length=i,e){var o=e.ownerDocument;o&&(H(o,e,n),n.ownerElement=null)}}function N(){}function B(){}function U(e){return("<"==e?"&lt;":">"==e&&"&gt;")||"&"==e&&"&amp;"||'"'==e&&"&quot;"||"&#"+e.charCodeAt()+";"}function F(e,t){if(t(e))return!0;if(e=e.firstChild)do{if(F(e,t))return!0}while(e=e.nextSibling)}function z(){this.ownerDocument=this}function H(e,t,n,r){e&&e._inc++,n.namespaceURI===o.XMLNS&&delete t._nsMap[n.prefix?n.localName:""]}function Z(e,t,n){if(e&&e._inc){e._inc++;var r=t.childNodes;if(n)r[r.length++]=n;else{for(var i=t.firstChild,o=0;i;)r[o++]=i,i=i.nextSibling;r.length=o,delete r[r.length]}}}function q(e,t){var n=t.previousSibling,r=t.nextSibling;return n?n.nextSibling=r:e.firstChild=r,r?r.previousSibling=n:e.lastChild=n,t.parentNode=null,t.previousSibling=null,t.nextSibling=null,Z(e.ownerDocument,e),t}function V(e){return e&&e.nodeType===B.DOCUMENT_TYPE_NODE}function W(e){return e&&e.nodeType===B.ELEMENT_NODE}function G(e){return e&&e.nodeType===B.TEXT_NODE}function $(e,t){var n=e.childNodes||[];if(i(n,W)||V(t))return!1;var r=i(n,V);return!(t&&r&&n.indexOf(r)>n.indexOf(t))}function Y(e,t){var n=e.childNodes||[];if(i(n,(function(e){return W(e)&&e!==t})))return!1;var r=i(n,V);return!(t&&r&&n.indexOf(r)>n.indexOf(t))}function K(e,t,n){if(!function(e){return e&&(e.nodeType===B.DOCUMENT_NODE||e.nodeType===B.DOCUMENT_FRAGMENT_NODE||e.nodeType===B.ELEMENT_NODE)}(e))throw new L(E,"Unexpected parent node type "+e.nodeType);if(n&&n.parentNode!==e)throw new L(O,"child not in parent");if(!function(e){return e&&(W(e)||G(e)||V(e)||e.nodeType===B.DOCUMENT_FRAGMENT_NODE||e.nodeType===B.COMMENT_NODE||e.nodeType===B.PROCESSING_INSTRUCTION_NODE)}(t)||V(t)&&e.nodeType!==B.DOCUMENT_NODE)throw new L(E,"Unexpected node type "+t.nodeType+" for parent node type "+e.nodeType)}function X(e,t,n){var r=e.childNodes||[],o=t.childNodes||[];if(t.nodeType===B.DOCUMENT_FRAGMENT_NODE){var a=o.filter(W);if(a.length>1||i(o,G))throw new L(E,"More than one element or text in fragment");if(1===a.length&&!$(e,n))throw new L(E,"Element in fragment can not be inserted before doctype")}if(W(t)&&!$(e,n))throw new L(E,"Only one element can be added and only after doctype");if(V(t)){if(i(r,V))throw new L(E,"Only one doctype is allowed");var s=i(r,W);if(n&&r.indexOf(s)<r.indexOf(n))throw new L(E,"Doctype can only be inserted before an element");if(!n&&s)throw new L(E,"Doctype can not be appended since element is present")}}function Q(e,t,n){var r=e.childNodes||[],o=t.childNodes||[];if(t.nodeType===B.DOCUMENT_FRAGMENT_NODE){var a=o.filter(W);if(a.length>1||i(o,G))throw new L(E,"More than one element or text in fragment");if(1===a.length&&!Y(e,n))throw new L(E,"Element in fragment can not be inserted before doctype")}if(W(t)&&!Y(e,n))throw new L(E,"Only one element can be added and only after doctype");if(V(t)){if(i(r,(function(e){return V(e)&&e!==n})))throw new L(E,"Only one doctype is allowed");var s=i(r,W);if(n&&r.indexOf(s)<r.indexOf(n))throw new L(E,"Doctype can only be inserted before an element")}}function J(e,t,n,r){K(e,t,n),e.nodeType===B.DOCUMENT_NODE&&(r||X)(e,t,n);var i=t.parentNode;if(i&&i.removeChild(t),t.nodeType===T){var o=t.firstChild;if(null==o)return t;var a=t.lastChild}else o=a=t;var s=n?n.previousSibling:e.lastChild;o.previousSibling=s,a.nextSibling=n,s?s.nextSibling=o:e.firstChild=o,null==n?e.lastChild=a:n.previousSibling=a;do{o.parentNode=e}while(o!==a&&(o=o.nextSibling));return Z(e.ownerDocument||e,e),t.nodeType==T&&(t.firstChild=t.lastChild=null),t}function ee(){this._nsMap={}}function te(){}function ne(){}function re(){}function ie(){}function oe(){}function ae(){}function se(){}function ue(){}function ce(){}function le(){}function fe(){}function de(){}function pe(e,t){var n=[],r=9==this.nodeType&&this.documentElement||this,i=r.prefix,o=r.namespaceURI;if(o&&null==i&&null==(i=r.lookupPrefix(o)))var a=[{namespace:o,prefix:null}];return me(this,n,e,t,a),n.join("")}function he(e,t,n){var r=e.prefix||"",i=e.namespaceURI;if(!i)return!1;if("xml"===r&&i===o.XML||i===o.XMLNS)return!1;for(var a=n.length;a--;){var s=n[a];if(s.prefix===r)return s.namespace!==i}return!0}function ge(e,t,n){e.push(" ",t,'="',n.replace(/[<>&"\t\n\r]/g,U),'"')}function me(e,t,n,r,i){if(i||(i=[]),r){if(!(e=r(e)))return;if("string"==typeof e)return void t.push(e)}switch(e.nodeType){case d:var a=e.attributes,s=a.length,u=e.firstChild,c=e.tagName,l=c;if(!(n=o.isHTML(e.namespaceURI)||n)&&!e.prefix&&e.namespaceURI){for(var f,y=0;y<a.length;y++)if("xmlns"===a.item(y).name){f=a.item(y).value;break}if(!f)for(var x=i.length-1;x>=0;x--){if(""===(S=i[x]).prefix&&S.namespace===e.namespaceURI){f=S.namespace;break}}if(f!==e.namespaceURI)for(x=i.length-1;x>=0;x--){var S;if((S=i[x]).namespace===e.namespaceURI){S.prefix&&(l=S.prefix+":"+c);break}}}t.push("<",l);for(var k=0;k<s;k++){"xmlns"==(E=a.item(k)).prefix?i.push({prefix:E.localName,namespace:E.value}):"xmlns"==E.nodeName&&i.push({prefix:"",namespace:E.value})}for(k=0;k<s;k++){var E,O,C;if(he(E=a.item(k),0,i))ge(t,(O=E.prefix||"")?"xmlns:"+O:"xmlns",C=E.namespaceURI),i.push({prefix:O,namespace:C});me(E,t,n,r,i)}if(c===l&&he(e,0,i))ge(t,(O=e.prefix||"")?"xmlns:"+O:"xmlns",C=e.namespaceURI),i.push({prefix:O,namespace:C});if(u||n&&!/^(?:meta|link|img|br|hr|input)$/i.test(c)){if(t.push(">"),n&&/^script$/i.test(c))for(;u;)u.data?t.push(u.data):me(u,t,n,r,i.slice()),u=u.nextSibling;else for(;u;)me(u,t,n,r,i.slice()),u=u.nextSibling;t.push("</",l,">")}else t.push("/>");return;case _:case T:for(u=e.firstChild;u;)me(u,t,n,r,i.slice()),u=u.nextSibling;return;case p:return ge(t,e.name,e.value);case h:return t.push(e.data.replace(/[<&>]/g,U));case g:return t.push("<![CDATA[",e.data,"]]>");case b:return t.push("\x3c!--",e.data,"--\x3e");case w:var L=e.publicId,A=e.systemId;if(t.push("<!DOCTYPE ",e.name),L)t.push(" PUBLIC ",L),A&&"."!=A&&t.push(" ",A),t.push(">");else if(A&&"."!=A)t.push(" SYSTEM ",A,">");else{var I=e.internalSubset;I&&t.push(" [",I,"]"),t.push(">")}return;case v:return t.push("<?",e.target," ",e.data,"?>");case m:return t.push("&",e.nodeName,";");default:t.push("??",e.nodeName)}}function ye(e,t,n){var r;switch(t.nodeType){case d:(r=t.cloneNode(!1)).ownerDocument=e;case T:break;case p:n=!0}if(r||(r=t.cloneNode(!1)),r.ownerDocument=e,r.parentNode=null,n)for(var i=t.firstChild;i;)r.appendChild(ye(e,i,n)),i=i.nextSibling;return r}function ve(e,t,n){var r=new t.constructor;for(var i in t)if(Object.prototype.hasOwnProperty.call(t,i)){var o=t[i];"object"!=typeof o&&o!=r[i]&&(r[i]=o)}switch(t.childNodes&&(r.childNodes=new A),r.ownerDocument=e,r.nodeType){case d:var a=t.attributes,s=r.attributes=new M,u=a.length;s._ownerElement=r;for(var c=0;c<u;c++)r.setAttributeNode(ve(e,a.item(c),!0));break;case p:n=!0}if(n)for(var l=t.firstChild;l;)r.appendChild(ve(e,l,n)),l=l.nextSibling;return r}function be(e,t,n){e[t]=n}L.prototype=Error.prototype,c(S,L),A.prototype={length:0,item:function(e){return this[e]||null},toString:function(e,t){for(var n=[],r=0;r<this.length;r++)me(this[r],n,e,t);return n.join("")},filter:function(e){return Array.prototype.filter.call(this,e)},indexOf:function(e){return Array.prototype.indexOf.call(this,e)}},I.prototype.item=function(e){return P(this),this[e]},l(I,A),M.prototype={length:0,item:A.prototype.item,getNamedItem:function(e){for(var t=this.length;t--;){var n=this[t];if(n.nodeName==e)return n}},setNamedItem:function(e){var t=e.ownerElement;if(t&&t!=this._ownerElement)throw new L(C);var n=this.getNamedItem(e.nodeName);return j(this._ownerElement,this,e,n),n},setNamedItemNS:function(e){var t,n=e.ownerElement;if(n&&n!=this._ownerElement)throw new L(C);return t=this.getNamedItemNS(e.namespaceURI,e.localName),j(this._ownerElement,this,e,t),t},removeNamedItem:function(e){var t=this.getNamedItem(e);return D(this._ownerElement,this,t),t},removeNamedItemNS:function(e,t){var n=this.getNamedItemNS(e,t);return D(this._ownerElement,this,n),n},getNamedItemNS:function(e,t){for(var n=this.length;n--;){var r=this[n];if(r.localName==t&&r.namespaceURI==e)return r}return null}},N.prototype={hasFeature:function(e,t){return!0},createDocument:function(e,t,n){var r=new z;if(r.implementation=this,r.childNodes=new A,r.doctype=n||null,n&&r.appendChild(n),t){var i=r.createElementNS(e,t);r.appendChild(i)}return r},createDocumentType:function(e,t,n){var r=new ae;return r.name=e,r.nodeName=e,r.publicId=t||"",r.systemId=n||"",r}},B.prototype={firstChild:null,lastChild:null,previousSibling:null,nextSibling:null,attributes:null,parentNode:null,childNodes:null,ownerDocument:null,nodeValue:null,namespaceURI:null,prefix:null,localName:null,insertBefore:function(e,t){return J(this,e,t)},replaceChild:function(e,t){J(this,e,t,Q),t&&this.removeChild(t)},removeChild:function(e){return q(this,e)},appendChild:function(e){return this.insertBefore(e,null)},hasChildNodes:function(){return null!=this.firstChild},cloneNode:function(e){return ve(this.ownerDocument||this,this,e)},normalize:function(){for(var e=this.firstChild;e;){var t=e.nextSibling;t&&t.nodeType==h&&e.nodeType==h?(this.removeChild(t),e.appendData(t.data)):(e.normalize(),e=t)}},isSupported:function(e,t){return this.ownerDocument.implementation.hasFeature(e,t)},hasAttributes:function(){return this.attributes.length>0},lookupPrefix:function(e){for(var t=this;t;){var n=t._nsMap;if(n)for(var r in n)if(Object.prototype.hasOwnProperty.call(n,r)&&n[r]===e)return r;t=t.nodeType==p?t.ownerDocument:t.parentNode}return null},lookupNamespaceURI:function(e){for(var t=this;t;){var n=t._nsMap;if(n&&Object.prototype.hasOwnProperty.call(n,e))return n[e];t=t.nodeType==p?t.ownerDocument:t.parentNode}return null},isDefaultNamespace:function(e){return null==this.lookupPrefix(e)}},c(f,B),c(f,B.prototype),z.prototype={nodeName:"#document",nodeType:_,doctype:null,documentElement:null,_inc:1,insertBefore:function(e,t){if(e.nodeType==T){for(var n=e.firstChild;n;){var r=n.nextSibling;this.insertBefore(n,t),n=r}return e}return J(this,e,t),e.ownerDocument=this,null===this.documentElement&&e.nodeType===d&&(this.documentElement=e),e},removeChild:function(e){return this.documentElement==e&&(this.documentElement=null),q(this,e)},replaceChild:function(e,t){J(this,e,t,Q),e.ownerDocument=this,t&&this.removeChild(t),W(e)&&(this.documentElement=e)},importNode:function(e,t){return ye(this,e,t)},getElementById:function(e){var t=null;return F(this.documentElement,(function(n){if(n.nodeType==d&&n.getAttribute("id")==e)return t=n,!0})),t},getElementsByClassName:function(e){var t=u(e);return new I(this,(function(n){var r=[];return t.length>0&&F(n.documentElement,(function(i){if(i!==n&&i.nodeType===d){var o=i.getAttribute("class");if(o){var a=e===o;if(!a){var s=u(o);a=t.every((c=s,function(e){return c&&-1!==c.indexOf(e)}))}a&&r.push(i)}}var c})),r}))},createElement:function(e){var t=new ee;return t.ownerDocument=this,t.nodeName=e,t.tagName=e,t.localName=e,t.childNodes=new A,(t.attributes=new M)._ownerElement=t,t},createDocumentFragment:function(){var e=new le;return e.ownerDocument=this,e.childNodes=new A,e},createTextNode:function(e){var t=new re;return t.ownerDocument=this,t.appendData(e),t},createComment:function(e){var t=new ie;return t.ownerDocument=this,t.appendData(e),t},createCDATASection:function(e){var t=new oe;return t.ownerDocument=this,t.appendData(e),t},createProcessingInstruction:function(e,t){var n=new fe;return n.ownerDocument=this,n.tagName=n.target=e,n.nodeValue=n.data=t,n},createAttribute:function(e){var t=new te;return t.ownerDocument=this,t.name=e,t.nodeName=e,t.localName=e,t.specified=!0,t},createEntityReference:function(e){var t=new ce;return t.ownerDocument=this,t.nodeName=e,t},createElementNS:function(e,t){var n=new ee,r=t.split(":"),i=n.attributes=new M;return n.childNodes=new A,n.ownerDocument=this,n.nodeName=t,n.tagName=t,n.namespaceURI=e,2==r.length?(n.prefix=r[0],n.localName=r[1]):n.localName=t,i._ownerElement=n,n},createAttributeNS:function(e,t){var n=new te,r=t.split(":");return n.ownerDocument=this,n.nodeName=t,n.name=t,n.namespaceURI=e,n.specified=!0,2==r.length?(n.prefix=r[0],n.localName=r[1]):n.localName=t,n}},l(z,B),ee.prototype={nodeType:d,hasAttribute:function(e){return null!=this.getAttributeNode(e)},getAttribute:function(e){var t=this.getAttributeNode(e);return t&&t.value||""},getAttributeNode:function(e){return this.attributes.getNamedItem(e)},setAttribute:function(e,t){var n=this.ownerDocument.createAttribute(e);n.value=n.nodeValue=""+t,this.setAttributeNode(n)},removeAttribute:function(e){var t=this.getAttributeNode(e);t&&this.removeAttributeNode(t)},appendChild:function(e){return e.nodeType===T?this.insertBefore(e,null):function(e,t){return t.parentNode&&t.parentNode.removeChild(t),t.parentNode=e,t.previousSibling=e.lastChild,t.nextSibling=null,t.previousSibling?t.previousSibling.nextSibling=t:e.firstChild=t,e.lastChild=t,Z(e.ownerDocument,e,t),t}(this,e)},setAttributeNode:function(e){return this.attributes.setNamedItem(e)},setAttributeNodeNS:function(e){return this.attributes.setNamedItemNS(e)},removeAttributeNode:function(e){return this.attributes.removeNamedItem(e.nodeName)},removeAttributeNS:function(e,t){var n=this.getAttributeNodeNS(e,t);n&&this.removeAttributeNode(n)},hasAttributeNS:function(e,t){return null!=this.getAttributeNodeNS(e,t)},getAttributeNS:function(e,t){var n=this.getAttributeNodeNS(e,t);return n&&n.value||""},setAttributeNS:function(e,t,n){var r=this.ownerDocument.createAttributeNS(e,t);r.value=r.nodeValue=""+n,this.setAttributeNode(r)},getAttributeNodeNS:function(e,t){return this.attributes.getNamedItemNS(e,t)},getElementsByTagName:function(e){return new I(this,(function(t){var n=[];return F(t,(function(r){r===t||r.nodeType!=d||"*"!==e&&r.tagName!=e||n.push(r)})),n}))},getElementsByTagNameNS:function(e,t){return new I(this,(function(n){var r=[];return F(n,(function(i){i===n||i.nodeType!==d||"*"!==e&&i.namespaceURI!==e||"*"!==t&&i.localName!=t||r.push(i)})),r}))}},z.prototype.getElementsByTagName=ee.prototype.getElementsByTagName,z.prototype.getElementsByTagNameNS=ee.prototype.getElementsByTagNameNS,l(ee,B),te.prototype.nodeType=p,l(te,B),ne.prototype={data:"",substringData:function(e,t){return this.data.substring(e,e+t)},appendData:function(e){e=this.data+e,this.nodeValue=this.data=e,this.length=e.length},insertData:function(e,t){this.replaceData(e,0,t)},appendChild:function(e){throw new Error(k[E])},deleteData:function(e,t){this.replaceData(e,t,"")},replaceData:function(e,t,n){n=this.data.substring(0,e)+n+this.data.substring(e+t),this.nodeValue=this.data=n,this.length=n.length}},l(ne,B),re.prototype={nodeName:"#text",nodeType:h,splitText:function(e){var t=this.data,n=t.substring(e);t=t.substring(0,e),this.data=this.nodeValue=t,this.length=t.length;var r=this.ownerDocument.createTextNode(n);return this.parentNode&&this.parentNode.insertBefore(r,this.nextSibling),r}},l(re,ne),ie.prototype={nodeName:"#comment",nodeType:b},l(ie,ne),oe.prototype={nodeName:"#cdata-section",nodeType:g},l(oe,ne),ae.prototype.nodeType=w,l(ae,B),se.prototype.nodeType=x,l(se,B),ue.prototype.nodeType=y,l(ue,B),ce.prototype.nodeType=m,l(ce,B),le.prototype.nodeName="#document-fragment",le.prototype.nodeType=T,l(le,B),fe.prototype.nodeType=v,l(fe,B),de.prototype.serializeToString=function(e,t,n){return pe.call(e,t,n)},B.prototype.toString=pe;try{if(Object.defineProperty){function _e(e){switch(e.nodeType){case d:case T:var t=[];for(e=e.firstChild;e;)7!==e.nodeType&&8!==e.nodeType&&t.push(_e(e)),e=e.nextSibling;return t.join("");default:return e.nodeValue}}Object.defineProperty(I.prototype,"length",{get:function(){return P(this),this.$$length}}),Object.defineProperty(B.prototype,"textContent",{get:function(){return _e(this)},set:function(e){switch(this.nodeType){case d:case T:for(;this.firstChild;)this.removeChild(this.firstChild);(e||String(e))&&this.appendChild(this.ownerDocument.createTextNode(e));break;default:this.data=e,this.value=e,this.nodeValue=e}}}),be=function(e,t,n){e["$$"+t]=n}}}catch(we){}t.DocumentType=ae,t.DOMException=L,t.DOMImplementation=N,t.Element=ee,t.Node=B,t.NodeList=A,t.XMLSerializer=de},31045:function(e,t,n){var r=n(72167).freeze;t.XML_ENTITIES=r({amp:"&",apos:"'",gt:">",lt:"<",quot:'"'}),t.HTML_ENTITIES=r({lt:"<",gt:">",amp:"&",quot:'"',apos:"'",Agrave:"À",Aacute:"Á",Acirc:"Â",Atilde:"Ã",Auml:"Ä",Aring:"Å",AElig:"Æ",Ccedil:"Ç",Egrave:"È",Eacute:"É",Ecirc:"Ê",Euml:"Ë",Igrave:"Ì",Iacute:"Í",Icirc:"Î",Iuml:"Ï",ETH:"Ð",Ntilde:"Ñ",Ograve:"Ò",Oacute:"Ó",Ocirc:"Ô",Otilde:"Õ",Ouml:"Ö",Oslash:"Ø",Ugrave:"Ù",Uacute:"Ú",Ucirc:"Û",Uuml:"Ü",Yacute:"Ý",THORN:"Þ",szlig:"ß",agrave:"à",aacute:"á",acirc:"â",atilde:"ã",auml:"ä",aring:"å",aelig:"æ",ccedil:"ç",egrave:"è",eacute:"é",ecirc:"ê",euml:"ë",igrave:"ì",iacute:"í",icirc:"î",iuml:"ï",eth:"ð",ntilde:"ñ",ograve:"ò",oacute:"ó",ocirc:"ô",otilde:"õ",ouml:"ö",oslash:"ø",ugrave:"ù",uacute:"ú",ucirc:"û",uuml:"ü",yacute:"ý",thorn:"þ",yuml:"ÿ",nbsp:" ",iexcl:"¡",cent:"¢",pound:"£",curren:"¤",yen:"¥",brvbar:"¦",sect:"§",uml:"¨",copy:"©",ordf:"ª",laquo:"«",not:"¬",shy:"­­",reg:"®",macr:"¯",deg:"°",plusmn:"±",sup2:"²",sup3:"³",acute:"´",micro:"µ",para:"¶",middot:"·",cedil:"¸",sup1:"¹",ordm:"º",raquo:"»",frac14:"¼",frac12:"½",frac34:"¾",iquest:"¿",times:"×",divide:"÷",forall:"∀",part:"∂",exist:"∃",empty:"∅",nabla:"∇",isin:"∈",notin:"∉",ni:"∋",prod:"∏",sum:"∑",minus:"−",lowast:"∗",radic:"√",prop:"∝",infin:"∞",ang:"∠",and:"∧",or:"∨",cap:"∩",cup:"∪",int:"∫",there4:"∴",sim:"∼",cong:"≅",asymp:"≈",ne:"≠",equiv:"≡",le:"≤",ge:"≥",sub:"⊂",sup:"⊃",nsub:"⊄",sube:"⊆",supe:"⊇",oplus:"⊕",otimes:"⊗",perp:"⊥",sdot:"⋅",Alpha:"Α",Beta:"Β",Gamma:"Γ",Delta:"Δ",Epsilon:"Ε",Zeta:"Ζ",Eta:"Η",Theta:"Θ",Iota:"Ι",Kappa:"Κ",Lambda:"Λ",Mu:"Μ",Nu:"Ν",Xi:"Ξ",Omicron:"Ο",Pi:"Π",Rho:"Ρ",Sigma:"Σ",Tau:"Τ",Upsilon:"Υ",Phi:"Φ",Chi:"Χ",Psi:"Ψ",Omega:"Ω",alpha:"α",beta:"β",gamma:"γ",delta:"δ",epsilon:"ε",zeta:"ζ",eta:"η",theta:"θ",iota:"ι",kappa:"κ",lambda:"λ",mu:"μ",nu:"ν",xi:"ξ",omicron:"ο",pi:"π",rho:"ρ",sigmaf:"ς",sigma:"σ",tau:"τ",upsilon:"υ",phi:"φ",chi:"χ",psi:"ψ",omega:"ω",thetasym:"ϑ",upsih:"ϒ",piv:"ϖ",OElig:"Œ",oelig:"œ",Scaron:"Š",scaron:"š",Yuml:"Ÿ",fnof:"ƒ",circ:"ˆ",tilde:"˜",ensp:" ",emsp:" ",thinsp:" ",zwnj:"‌",zwj:"‍",lrm:"‎",rlm:"‏",ndash:"–",mdash:"—",lsquo:"‘",rsquo:"’",sbquo:"‚",ldquo:"“",rdquo:"”",bdquo:"„",dagger:"†",Dagger:"‡",bull:"•",hellip:"…",permil:"‰",prime:"′",Prime:"″",lsaquo:"‹",rsaquo:"›",oline:"‾",euro:"€",trade:"™",larr:"←",uarr:"↑",rarr:"→",darr:"↓",harr:"↔",crarr:"↵",lceil:"⌈",rceil:"⌉",lfloor:"⌊",rfloor:"⌋",loz:"◊",spades:"♠",clubs:"♣",hearts:"♥",diams:"♦"}),t.entityMap=t.HTML_ENTITIES},3969:function(e,t,n){var r=n(41146);r.DOMImplementation,r.XMLSerializer,t.DOMParser=n(86129).DOMParser},76925:function(e,t,n){var r=n(72167).NAMESPACE,i=/[A-Z_a-z\xC0-\xD6\xD8-\xF6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,o=new RegExp("[\\-\\.0-9"+i.source.slice(1,-1)+"\\u00B7\\u0300-\\u036F\\u203F-\\u2040]"),a=new RegExp("^"+i.source+o.source+"*(?::"+i.source+o.source+"*)?$");function s(e,t){this.message=e,this.locator=t,Error.captureStackTrace&&Error.captureStackTrace(this,s)}function u(){}function c(e,t){return t.lineNumber=e.lineNumber,t.columnNumber=e.columnNumber,t}function l(e,t,n,i,o,a){function s(e,t,r){n.attributeNames.hasOwnProperty(e)&&a.fatalError("Attribute "+e+" redefined"),n.addValue(e,t.replace(/[\t\n\r]/g," ").replace(/&#?\w+;/g,o),r)}for(var u,c=++t,l=0;;){var f=e.charAt(c);switch(f){case"=":if(1===l)u=e.slice(t,c),l=3;else{if(2!==l)throw new Error("attribute equal must after attrName");l=3}break;case"'":case'"':if(3===l||1===l){if(1===l&&(a.warning('attribute value must after "="'),u=e.slice(t,c)),t=c+1,!((c=e.indexOf(f,t))>0))throw new Error("attribute value no end '"+f+"' match");s(u,d=e.slice(t,c),t-1),l=5}else{if(4!=l)throw new Error('attribute value must after "="');s(u,d=e.slice(t,c),t),a.warning('attribute "'+u+'" missed start quot('+f+")!!"),t=c+1,l=5}break;case"/":switch(l){case 0:n.setTagName(e.slice(t,c));case 5:case 6:case 7:l=7,n.closed=!0;case 4:case 1:break;case 2:n.closed=!0;break;default:throw new Error("attribute invalid close char('/')")}break;case"":return a.error("unexpected end of input"),0==l&&n.setTagName(e.slice(t,c)),c;case">":switch(l){case 0:n.setTagName(e.slice(t,c));case 5:case 6:case 7:break;case 4:case 1:"/"===(d=e.slice(t,c)).slice(-1)&&(n.closed=!0,d=d.slice(0,-1));case 2:2===l&&(d=u),4==l?(a.warning('attribute "'+d+'" missed quot(")!'),s(u,d,t)):(r.isHTML(i[""])&&d.match(/^(?:disabled|checked|selected)$/i)||a.warning('attribute "'+d+'" missed value!! "'+d+'" instead!!'),s(d,d,t));break;case 3:throw new Error("attribute value missed!!")}return c;case"€":f=" ";default:if(f<=" ")switch(l){case 0:n.setTagName(e.slice(t,c)),l=6;break;case 1:u=e.slice(t,c),l=2;break;case 4:var d=e.slice(t,c);a.warning('attribute "'+d+'" missed quot(")!!'),s(u,d,t);case 5:l=6}else switch(l){case 2:n.tagName;r.isHTML(i[""])&&u.match(/^(?:disabled|checked|selected)$/i)||a.warning('attribute "'+u+'" missed value!! "'+u+'" instead2!!'),s(u,u,t),t=c,l=1;break;case 5:a.warning('attribute space is required"'+u+'"!!');case 6:l=1,t=c;break;case 3:l=4,t=c;break;case 7:throw new Error("elements closed character '/' and '>' must be connected to")}}c++}}function f(e,t,n){for(var i=e.tagName,o=null,a=e.length;a--;){var s=e[a],u=s.qName,c=s.value;if((p=u.indexOf(":"))>0)var l=s.prefix=u.slice(0,p),f=u.slice(p+1),d="xmlns"===l&&f;else f=u,l=null,d="xmlns"===u&&"";s.localName=f,!1!==d&&(null==o&&(o={},h(n,n={})),n[d]=o[d]=c,s.uri=r.XMLNS,t.startPrefixMapping(d,c))}for(a=e.length;a--;){(l=(s=e[a]).prefix)&&("xml"===l&&(s.uri=r.XML),"xmlns"!==l&&(s.uri=n[l||""]))}var p;(p=i.indexOf(":"))>0?(l=e.prefix=i.slice(0,p),f=e.localName=i.slice(p+1)):(l=null,f=e.localName=i);var g=e.uri=n[l||""];if(t.startElement(g,f,i,e),!e.closed)return e.currentNSMap=n,e.localNSMap=o,!0;if(t.endElement(g,f,i),o)for(l in o)Object.prototype.hasOwnProperty.call(o,l)&&t.endPrefixMapping(l)}function d(e,t,n,r,i){if(/^(?:script|textarea)$/i.test(n)){var o=e.indexOf("</"+n+">",t),a=e.substring(t+1,o);if(/[&<]/.test(a))return/^script$/i.test(n)?(i.characters(a,0,a.length),o):(a=a.replace(/&#?\w+;/g,r),i.characters(a,0,a.length),o)}return t+1}function p(e,t,n,r){var i=r[n];return null==i&&((i=e.lastIndexOf("</"+n+">"))<t&&(i=e.lastIndexOf("</"+n)),r[n]=i),i<t}function h(e,t){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])}function g(e,t,n,r){if("-"===e.charAt(t+2))return"-"===e.charAt(t+3)?(i=e.indexOf("--\x3e",t+4))>t?(n.comment(e,t+4,i-t-4),i+3):(r.error("Unclosed comment"),-1):-1;if("CDATA["==e.substr(t+3,6)){var i=e.indexOf("]]>",t+9);return n.startCDATA(),n.characters(e,t+9,i-t-9),n.endCDATA(),i+3}var o=function(e,t){var n,r=[],i=/'[^']+'|"[^"]+"|[^\s<>\/=]+=?|(\/?\s*>|<)/g;i.lastIndex=t,i.exec(e);for(;n=i.exec(e);)if(r.push(n),n[1])return r}(e,t),a=o.length;if(a>1&&/!doctype/i.test(o[0][0])){var s=o[1][0],u=!1,c=!1;a>3&&(/^public$/i.test(o[2][0])?(u=o[3][0],c=a>4&&o[4][0]):/^system$/i.test(o[2][0])&&(c=o[3][0]));var l=o[a-1];return n.startDTD(s,u,c),n.endDTD(),l.index+l[0].length}return-1}function m(e,t,n){var r=e.indexOf("?>",t);if(r){var i=e.substring(t,r).match(/^<\?(\S*)\s*([\s\S]*?)\s*$/);if(i){i[0].length;return n.processingInstruction(i[1],i[2]),r+2}return-1}return-1}function y(){this.attributeNames={}}s.prototype=new Error,s.prototype.name=s.name,u.prototype={parse:function(e,t,n){var i=this.domBuilder;i.startDocument(),h(t,t={}),function(e,t,n,i,o){function a(e){if(e>65535){var t=55296+((e-=65536)>>10),n=56320+(1023&e);return String.fromCharCode(t,n)}return String.fromCharCode(e)}function u(e){var t=e.slice(1,-1);return Object.hasOwnProperty.call(n,t)?n[t]:"#"===t.charAt(0)?a(parseInt(t.substr(1).replace("x","0x"))):(o.error("entity not found:"+e),e)}function h(t){if(t>k){var n=e.substring(k,t).replace(/&#?\w+;/g,u);T&&v(k),i.characters(n,0,t-k),k=t}}function v(t,n){for(;t>=_&&(n=w.exec(e));)b=n.index,_=b+n[0].length,T.lineNumber++;T.columnNumber=t-b+1}var b=0,_=0,w=/.*(?:\r\n?|\n)|.*$/g,T=i.locator,x=[{currentNSMap:t}],S={},k=0;for(;;){try{var E=e.indexOf("<",k);if(E<0){if(!e.substr(k).match(/^\s*$/)){var O=i.doc,C=O.createTextNode(e.substr(k));O.appendChild(C),i.currentElement=C}return}switch(E>k&&h(E),e.charAt(E+1)){case"/":var L=e.indexOf(">",E+3),A=e.substring(E+2,L).replace(/[ \t\n\r]+$/g,""),I=x.pop();L<0?(A=e.substring(E+2).replace(/[\s<].*/,""),o.error("end tag name: "+A+" is not complete:"+I.tagName),L=E+1+A.length):A.match(/\s</)&&(A=A.replace(/[\s<].*/,""),o.error("end tag name: "+A+" maybe not complete"),L=E+1+A.length);var P=I.localNSMap,M=I.tagName==A;if(M||I.tagName&&I.tagName.toLowerCase()==A.toLowerCase()){if(i.endElement(I.uri,I.localName,A),P)for(var R in P)Object.prototype.hasOwnProperty.call(P,R)&&i.endPrefixMapping(R);M||o.fatalError("end tag name: "+A+" is not match the current start tagName:"+I.tagName)}else x.push(I);L++;break;case"?":T&&v(E),L=m(e,E,i);break;case"!":T&&v(E),L=g(e,E,i,o);break;default:T&&v(E);var j=new y,D=x[x.length-1].currentNSMap,N=(L=l(e,E,j,D,u,o),j.length);if(!j.closed&&p(e,L,j.tagName,S)&&(j.closed=!0,n.nbsp||o.warning("unclosed xml attribute")),T&&N){for(var B=c(T,{}),U=0;U<N;U++){var F=j[U];v(F.offset),F.locator=c(T,{})}i.locator=B,f(j,i,D)&&x.push(j),i.locator=T}else f(j,i,D)&&x.push(j);r.isHTML(j.uri)&&!j.closed?L=d(e,L,j.tagName,u,i):L++}}catch(e){if(e instanceof s)throw e;o.error("element parse error: "+e),L=-1}L>k?k=L:h(Math.max(E,k)+1)}}(e,t,n,i,this.errorHandler),i.endDocument()}},y.prototype={setTagName:function(e){if(!a.test(e))throw new Error("invalid tagName:"+e);this.tagName=e},addValue:function(e,t,n){if(!a.test(e))throw new Error("invalid attribute:"+e);this.attributeNames[e]=this.length,this[this.length++]={qName:e,value:t,offset:n}},length:0,getLocalName:function(e){return this[e].localName},getLocator:function(e){return this[e].locator},getQName:function(e){return this[e].qName},getURI:function(e){return this[e].uri},getValue:function(e){return this[e].value}},t.XMLReader=u,t.ParseError=s},64666:function(e,t,n){"use strict";var r;"Set"in n.g?"function"==typeof Set.prototype.forEach&&(r=!1,new Set([!0]).forEach((function(e){r=e})),!0===r)?e.exports=function(e){var t=[];return new Set(e).forEach((function(e){t.push(e)})),t}:e.exports=function(e){var t=new Set;return e.filter((function(e){return!t.has(e)&&(t.add(e),!0)}))}:e.exports=function(e){for(var t=[],n=0;n<e.length;n++)-1===t.indexOf(e[n])&&t.push(e[n]);return t}},94098:function(e,t,n){"use strict";var r,i=n(62079),o=n.n(i),a=n(52020),s=n.n(a),u=n(73324),c=n.n(u),l=n(88546),f=n.n(l),d=n(66775),p=n.n(d),h=n(41266),g=n(44845),m=n(8571),y=n.n(m),v=n(35293),b=n.n(v),_=n(67552),w=n.n(_),T=n(28416),x=n.n(T),S=n(92148),k=n.n(S),E=n(79005),O=n.n(E),C=n(47187),L=n.n(C),A=n(2507),I=n.n(A),P=n(5917),M=n.n(P),R=n(40636),j=n.n(R),D=n(11806),N=n.n(D),B=n(58e3),U=n.n(B),F=n(25786),z=n.n(F),H=n(29732),Z=n.n(H),q=["alt"];function V(e,t){var n=o()(e);if(s()){var r=s()(e);t&&(r=c()(r).call(r,(function(t){return f()(e,t).enumerable}))),n.push.apply(n,r)}return n}function W(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?V(Object(n),!0).forEach((function(t){(0,g.Z)(e,t,n[t])})):p()?Object.defineProperties(e,p()(n)):V(Object(n)).forEach((function(t){Object.defineProperty(e,t,f()(n,t))}))}return e}var G=["a","alpha","b","background","c","colors","f","format","h","height","q","quality","r","rasterize","s","scale","w","width"];var $=N()(G),Y=function(e){return!b()(Number(e))},K=O()(2,(function(e){var t=Z()(Y,j()(e));return U()($,L()({h:t,height:t,w:t,width:t}),z(),M()(I()(":")),I()(","))})),X=function(e){var t=e.imagesUri,n=e.hidpi,r=e.imageKey;if(null!=r){var i=function(e,t,n){var r,i;return y()(r=y()(i="".concat(e,"/")).call(i,n,"/")).call(r,t)}(t,r,K(n?2:1,e));return{backgroundImage:'url("'.concat(i,'")')}}};var Q="styles_image__32Tdo";!function(e,t){void 0===t&&(t={});var n=t.insertAt;if(e&&"undefined"!=typeof document){var r=document.head||document.getElementsByTagName("head")[0],i=document.createElement("style");i.type="text/css","top"===n&&r.firstChild?r.insertBefore(i,r.firstChild):r.appendChild(i),i.styleSheet?i.styleSheet.cssText=e:i.appendChild(document.createTextNode(e))}}(".styles_image__32Tdo{display:inline-block}",{insertAt:"top"});var J=k()(y()(r=["imagesUri","imageKey","hidpi","style"]).call(r,G)),ee=function(e){return W(W({},e.style),X(e))},te=function(e){var t=e.alt,n=(0,h.Z)(e,q);return x().createElement("span",w()({"aria-label":t,className:Q,role:"img",style:ee(n)},J(n)))};te.defaultProps={alt:"Image",imagesUri:"",style:{}},t.Z=te},75183:function(e,t,n){var r=n(64410),i=n(84889)((function(e,t){return r(e.length,(function(){return e.apply(t,arguments)}))}));e.exports=i},70717:function(e,t,n){var r=n(64410),i=n(83499),o=n(84889),a=n(35934),s=o((function(e,t){return 1===e?i(t):r(e,a(e,[],t))}));e.exports=s},83160:function(e,t,n){var r=n(84889),i=n(67364),o=r((function(e,t){return i(e,t,[],[])}));e.exports=o},47187:function(e,t,n){var r=n(20474),i=n(84889)((function e(t,n){var i,o,a,s=n instanceof Array?[]:{};for(o in n)i=t[o],a=r(i),s[o]="function"===a?i(n[o]):i&&"object"===a?e(i,n[o]):n[o];return s}));e.exports=i},27134:function(e,t,n){var r=n(84889),i=n(29466),o=n(78276),a=n(83294),s=n(73506),u=n(45991),c=n(83669),l=r(i(["filter"],u,(function(e,t){return a(t)?s((function(n,r){return e(t[r])&&(n[r]=t[r]),n}),{},c(t)):o(e,t)})));e.exports=l},64410:function(e){e.exports=function(e,t){switch(e){case 0:return function(){return t.apply(this,arguments)};case 1:return function(e){return t.apply(this,arguments)};case 2:return function(e,n){return t.apply(this,arguments)};case 3:return function(e,n,r){return t.apply(this,arguments)};case 4:return function(e,n,r,i){return t.apply(this,arguments)};case 5:return function(e,n,r,i,o){return t.apply(this,arguments)};case 6:return function(e,n,r,i,o,a){return t.apply(this,arguments)};case 7:return function(e,n,r,i,o,a,s){return t.apply(this,arguments)};case 8:return function(e,n,r,i,o,a,s,u){return t.apply(this,arguments)};case 9:return function(e,n,r,i,o,a,s,u,c){return t.apply(this,arguments)};case 10:return function(e,n,r,i,o,a,s,u,c,l){return t.apply(this,arguments)};default:throw new Error("First argument to _arity must be a non-negative integer no greater than ten")}}},25320:function(e){e.exports=function(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}},79589:function(e,t,n){var r=n(35704),i=n(46102);e.exports=function(e,t){return function(){var n=arguments.length;if(0===n)return t();var o=arguments[n-1];return i(o)||"function"!=typeof o[e]?t.apply(this,arguments):o[e].apply(o,r(Array.prototype).call(arguments,0,n-1))}}},16627:function(e){e.exports=function(e){return function(){return!e.apply(this,arguments)}}},83499:function(e,t,n){var r=n(27695);e.exports=function(e){return function t(n){return 0===arguments.length||r(n)?t:e.apply(this,arguments)}}},84889:function(e,t,n){var r=n(83499),i=n(27695);e.exports=function(e){return function t(n,o){switch(arguments.length){case 0:return t;case 1:return i(n)?t:r((function(t){return e(n,t)}));default:return i(n)&&i(o)?t:i(n)?r((function(t){return e(t,o)})):i(o)?r((function(t){return e(n,t)})):e(n,o)}}}},36369:function(e,t,n){var r=n(83499),i=n(84889),o=n(27695);e.exports=function(e){return function t(n,a,s){switch(arguments.length){case 0:return t;case 1:return o(n)?t:i((function(t,r){return e(n,t,r)}));case 2:return o(n)&&o(a)?t:o(n)?i((function(t,n){return e(t,a,n)})):o(a)?i((function(t,r){return e(n,t,r)})):r((function(t){return e(n,a,t)}));default:return o(n)&&o(a)&&o(s)?t:o(n)&&o(a)?i((function(t,n){return e(t,n,s)})):o(n)&&o(s)?i((function(t,n){return e(t,a,n)})):o(a)&&o(s)?i((function(t,r){return e(n,t,r)})):o(n)?r((function(t){return e(t,a,s)})):o(a)?r((function(t){return e(n,t,s)})):o(s)?r((function(t){return e(n,a,t)})):e(n,a,s)}}}},35934:function(e,t,n){var r=n(64410),i=n(27695);e.exports=function e(t,n,o){return function(){for(var a=[],s=0,u=t,c=0;c<n.length||s<arguments.length;){var l;c<n.length&&(!i(n[c])||s>=arguments.length)?l=n[c]:(l=arguments[s],s+=1),a[c]=l,i(l)||(u-=1),c+=1}return u<=0?o.apply(this,a):r(u,e(t,a,o))}}},29466:function(e,t,n){var r=n(35704),i=n(46102),o=n(90659);e.exports=function(e,t,n){return function(){if(0===arguments.length)return n();var a=r(Array.prototype).call(arguments,0),s=a.pop();if(!i(s)){for(var u=0;u<e.length;){if("function"==typeof s[e[u]])return s[e[u]].apply(s,a);u+=1}if(o(s)){var c=t.apply(null,a);return c(s)}}return n.apply(this,arguments)}}},67364:function(e,t,n){var r=n(20474),i=n(35704),o=n(40703),a=n(8571),s=n(89221),u=n(25320),c=n(82514),l=n(24088),f=n(9861),d=n(5743),p=n(83669),h=n(18843);function g(e,t,n,r){var o=u(e),a=u(t);function s(e,t){return m(e,t,i(n).call(n),i(r).call(r))}return!c((function(e,t){return!c(s,t,e)}),a,o)}function m(e,t,n,i){if(d(e,t))return!0;var u=h(e);if(u!==h(t))return!1;if(null==e||null==t)return!1;if("function"==typeof e["fantasy-land/equals"]||"function"==typeof t["fantasy-land/equals"])return"function"==typeof e["fantasy-land/equals"]&&e["fantasy-land/equals"](t)&&"function"==typeof t["fantasy-land/equals"]&&t["fantasy-land/equals"](e);if("function"==typeof e.equals||"function"==typeof t.equals)return"function"==typeof e.equals&&e.equals(t)&&"function"==typeof t.equals&&t.equals(e);switch(u){case"Arguments":case"Array":case"Object":if("function"==typeof e.constructor&&"Promise"===l(e.constructor))return e===t;break;case"Boolean":case"Number":case"String":if(r(e)!==r(t)||!d(e.valueOf(),t.valueOf()))return!1;break;case"Date":if(!d(e.valueOf(),t.valueOf()))return!1;break;case"Error":return e.name===t.name&&e.message===t.message;case"RegExp":if(e.source!==t.source||e.global!==t.global||e.ignoreCase!==t.ignoreCase||e.multiline!==t.multiline||e.sticky!==t.sticky||e.unicode!==t.unicode)return!1}for(var c=n.length-1;c>=0;){if(n[c]===e)return i[c]===t;c-=1}switch(u){case"Map":return e.size===t.size&&g(o(e).call(e),o(t).call(t),a(n).call(n,[e]),a(i).call(i,[t]));case"Set":return e.size===t.size&&g(s(e).call(e),s(t).call(t),a(n).call(n,[e]),a(i).call(i,[t]));case"Arguments":case"Array":case"Object":case"Boolean":case"Number":case"String":case"Date":case"Error":case"RegExp":case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"ArrayBuffer":break;default:return!1}var y=p(e);if(y.length!==p(t).length)return!1;var v=a(n).call(n,[e]),b=a(i).call(i,[t]);for(c=y.length-1;c>=0;){var _=y[c];if(!f(_,t)||!m(t[_],e[_],v,b))return!1;c-=1}return!0}e.exports=m},78276:function(e){e.exports=function(e,t){for(var n=0,r=t.length,i=[];n<r;)e(t[n])&&(i[i.length]=t[n]),n+=1;return i}},24088:function(e){e.exports=function(e){var t=String(e).match(/^function (\w*)/);return null==t?"":t[1]}},9861:function(e){e.exports=function(e,t){return Object.prototype.hasOwnProperty.call(t,e)}},40620:function(e,t,n){var r=n(83054);e.exports=function(e,t){return r(t,e,0)>=0}},82514:function(e){e.exports=function(e,t,n){for(var r=0,i=n.length;r<i;){if(e(t,n[r]))return!0;r+=1}return!1}},83054:function(e,t,n){var r=n(20474),i=n(83160);e.exports=function(e,t,n){var o,a;if("function"==typeof e.indexOf)switch(r(t)){case"number":if(0===t){for(o=1/t;n<e.length;){if(0===(a=e[n])&&1/a===o)return n;n+=1}return-1}if(t!=t){for(;n<e.length;){if("number"==typeof(a=e[n])&&a!=a)return n;n+=1}return-1}return e.indexOf(t,n);case"string":case"boolean":case"function":case"undefined":return e.indexOf(t,n);case"object":if(null===t)return e.indexOf(t,n)}for(;n<e.length;){if(i(e[n],t))return n;n+=1}return-1}},64013:function(e,t,n){var r=n(9861),i=Object.prototype.toString,o=function(){return"[object Arguments]"===i.call(arguments)?function(e){return"[object Arguments]"===i.call(e)}:function(e){return r("callee",e)}}();e.exports=o},46102:function(e){e.exports=Array.isArray||function(e){return null!=e&&e.length>=0&&"[object Array]"===Object.prototype.toString.call(e)}},7721:function(e,t,n){var r=n(20474),i=n(83499),o=n(46102),a=n(86486),s=i((function(e){return!!o(e)||!!e&&("object"===r(e)&&(!a(e)&&(1===e.nodeType?!!e.length:0===e.length||e.length>0&&(e.hasOwnProperty(0)&&e.hasOwnProperty(e.length-1)))))}));e.exports=s},78041:function(e){e.exports=function(e){return"[object Function]"===Object.prototype.toString.call(e)}},83294:function(e){e.exports=function(e){return"[object Object]"===Object.prototype.toString.call(e)}},27695:function(e,t,n){var r=n(20474);e.exports=function(e){return null!=e&&"object"===r(e)&&!0===e["@@functional/placeholder"]}},86486:function(e){e.exports=function(e){return"[object String]"===Object.prototype.toString.call(e)}},90659:function(e){e.exports=function(e){return null!=e&&"function"==typeof e["@@transducer/step"]}},18096:function(e){e.exports=function(e,t){for(var n=0,r=t.length,i=Array(r);n<r;)i[n]=e(t[n]),n+=1;return i}},5743:function(e,t,n){var r=n(42692);e.exports="function"==typeof r?r:function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}},80266:function(e){e.exports=function(e,t){return function(){return t.call(this,e.apply(this,arguments))}}},16891:function(e){e.exports=function(e){return'"'+e.replace(/\\/g,"\\\\").replace(/[\b]/g,"\\b").replace(/\f/g,"\\f").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\t/g,"\\t").replace(/\v/g,"\\v").replace(/\0/g,"\\0").replace(/"/g,'\\"')+'"'}},73506:function(e,t,n){var r=n(52472),i=n(48994),o=n(7721),a=n(36098),s=n(75183);function u(e,t,n){for(var r=n.next();!r.done;){if((t=e["@@transducer/step"](t,r.value))&&t["@@transducer/reduced"]){t=t["@@transducer/value"];break}r=n.next()}return e["@@transducer/result"](t)}function c(e,t,n,r){return e["@@transducer/result"](n[r](s(e["@@transducer/step"],e),t))}var l=void 0!==r?i:"@@iterator";e.exports=function(e,t,n){if("function"==typeof e&&(e=a(e)),o(n))return function(e,t,n){for(var r=0,i=n.length;r<i;){if((t=e["@@transducer/step"](t,n[r]))&&t["@@transducer/reduced"]){t=t["@@transducer/value"];break}r+=1}return e["@@transducer/result"](t)}(e,t,n);if("function"==typeof n["fantasy-land/reduce"])return c(e,t,n,"fantasy-land/reduce");if(null!=n[l])return u(e,t,n[l]());if("function"==typeof n.next)return u(e,t,n);if("function"==typeof n.reduce)return c(e,t,n,"reduce");throw new TypeError("reduce: list must be array or iterable")}},61074:function(e,t,n){var r=n(35704),i=function(e){return(e<10?"0":"")+e},o="function"==typeof Date.prototype.toISOString?function(e){return e.toISOString()}:function(e){var t;return e.getUTCFullYear()+"-"+i(e.getUTCMonth()+1)+"-"+i(e.getUTCDate())+"T"+i(e.getUTCHours())+":"+i(e.getUTCMinutes())+":"+i(e.getUTCSeconds())+"."+r(t=(e.getUTCMilliseconds()/1e3).toFixed(3)).call(t,2,5)+"Z"};e.exports=o},88162:function(e,t,n){var r=n(20474),i=n(8571),o=n(76555),a=n(35704),s=n(40620),u=n(18096),c=n(16891),l=n(61074),f=n(83669),d=n(31029);e.exports=function e(t,n){var p,h=function(r){var o=i(n).call(n,[t]);return s(r,o)?"<Circular>":e(r,o)},g=function(e,t){var n;return u((function(t){return c(t)+": "+h(e[t])}),o(n=a(t).call(t)).call(n))};switch(Object.prototype.toString.call(t)){case"[object Arguments]":return"(function() { return arguments; }("+u(h,t).join(", ")+"))";case"[object Array]":return"["+i(p=u(h,t)).call(p,g(t,d((function(e){return/^\d+$/.test(e)}),f(t)))).join(", ")+"]";case"[object Boolean]":return"object"===r(t)?"new Boolean("+h(t.valueOf())+")":t.toString();case"[object Date]":return"new Date("+(isNaN(t.valueOf())?h(NaN):c(l(t)))+")";case"[object Null]":return"null";case"[object Number]":return"object"===r(t)?"new Number("+h(t.valueOf())+")":1/t==-1/0?"-0":t.toString(10);case"[object String]":return"object"===r(t)?"new String("+h(t.valueOf())+")":c(t);case"[object Undefined]":return"undefined";default:if("function"==typeof t.toString){var m=t.toString();if("[object Object]"!==m)return m}return"{"+g(t,f(t)).join(", ")+"}"}}},95882:function(e){e.exports={init:function(){return this.xf["@@transducer/init"]()},result:function(e){return this.xf["@@transducer/result"](e)}}},45991:function(e,t,n){var r=n(84889),i=n(95882),o=function(){function e(e,t){this.xf=t,this.f=e}return e.prototype["@@transducer/init"]=i.init,e.prototype["@@transducer/result"]=i.result,e.prototype["@@transducer/step"]=function(e,t){return this.f(t)?this.xf["@@transducer/step"](e,t):e},e}(),a=r((function(e,t){return new o(e,t)}));e.exports=a},69332:function(e,t,n){var r=n(84889),i=n(95882),o=function(){function e(e,t){this.xf=t,this.f=e}return e.prototype["@@transducer/init"]=i.init,e.prototype["@@transducer/result"]=i.result,e.prototype["@@transducer/step"]=function(e,t){return this.xf["@@transducer/step"](e,this.f(t))},e}(),a=r((function(e,t){return new o(e,t)}));e.exports=a},36098:function(e){var t=function(){function e(e){this.f=e}return e.prototype["@@transducer/init"]=function(){throw new Error("init not implemented on XWrap")},e.prototype["@@transducer/result"]=function(e){return e},e.prototype["@@transducer/step"]=function(e,t){return this.f(e,t)},e}();e.exports=function(e){return new t(e)}},37022:function(e,t,n){var r=n(35704),i=n(84889),o=n(78041),a=n(70717),s=n(21871),u=i((function(e,t){return a(e+1,(function(){var n=arguments[e];if(null!=n&&o(n[t]))return n[t].apply(n,r(Array.prototype).call(arguments,0,e));throw new TypeError(s(n)+' does not have a method named "'+t+'"')}))}));e.exports=u},2507:function(e,t,n){var r=n(37022)(1,"join");e.exports=r},83669:function(e,t,n){var r=n(62079),i=n(83499),o=n(9861),a=n(64013),s=!{toString:null}.propertyIsEnumerable("toString"),u=["constructor","valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],c=function(){"use strict";return arguments.propertyIsEnumerable("length")}(),l=function(e,t){for(var n=0;n<e.length;){if(e[n]===t)return!0;n+=1}return!1},f=i("function"!=typeof r||c?function(e){if(Object(e)!==e)return[];var t,n,r=[],i=c&&a(e);for(t in e)!o(t,e)||i&&"length"===t||(r[r.length]=t);if(s)for(n=u.length-1;n>=0;)o(t=u[n],e)&&!l(r,t)&&(r[r.length]=t),n-=1;return r}:function(e){return Object(e)!==e?[]:r(e)});e.exports=f},5917:function(e,t,n){var r=n(84889),i=n(29466),o=n(18096),a=n(73506),s=n(69332),u=n(70717),c=n(83669),l=r(i(["fantasy-land/map","map"],s,(function(e,t){switch(Object.prototype.toString.call(t)){case"[object Function]":return u(t.length,(function(){return e.call(this,t.apply(this,arguments))}));case"[object Object]":return a((function(n,r){return n[r]=e(t[r]),n}),{},c(t));default:return o(e,t)}})));e.exports=l},40636:function(e,t,n){var r=n(84889)((function(e,t){return e*t}));e.exports=r},92148:function(e,t,n){var r=n(84889)((function(e,t){for(var n={},r={},i=0,o=e.length;i<o;)r[e[i]]=1,i+=1;for(var a in t)r.hasOwnProperty(a)||(n[a]=t[a]);return n}));e.exports=r},11806:function(e,t,n){var r=n(84889)((function(e,t){for(var n={},r=0;r<e.length;)e[r]in t&&(n[e[r]]=t[e[r]]),r+=1;return n}));e.exports=r},58e3:function(e,t,n){var r=n(64410),i=n(80266),o=n(57721),a=n(85822);e.exports=function(){if(0===arguments.length)throw new Error("pipe requires at least one argument");return r(arguments[0].length,o(i,arguments[0],a(arguments)))}},57721:function(e,t,n){var r=n(36369)(n(73506));e.exports=r},31029:function(e,t,n){var r=n(16627),i=n(84889),o=n(27134),a=i((function(e,t){return o(r(e),t)}));e.exports=a},5151:function(e,t,n){var r=n(35704),i=n(79589),o=n(36369)(i("slice",(function(e,t,n){return r(Array.prototype).call(n,e,t)})));e.exports=o},85822:function(e,t,n){var r=n(79589),i=n(83499)(r("tail",n(5151)(1,1/0)));e.exports=i},25786:function(e,t,n){var r=n(83499),i=n(9861),o=r((function(e){var t=[];for(var n in e)i(n,e)&&(t[t.length]=[n,e[n]]);return t}));e.exports=o},21871:function(e,t,n){var r=n(83499),i=n(88162),o=r((function(e){return i(e,[])}));e.exports=o},18843:function(e,t,n){var r=n(35704),i=n(83499)((function(e){var t;return null===e?"Null":void 0===e?"Undefined":r(t=Object.prototype.toString.call(e)).call(t,8,-1)}));e.exports=i},79005:function(e,t,n){var r=n(35704),i=n(84889),o=n(70717),a=i((function(e,t){return o(e,(function(){for(var n,i=1,o=t,a=0;i<=e&&"function"==typeof o;)n=i===e?arguments.length:a+o.length,o=o.apply(this,r(Array.prototype).call(arguments,a,n)),i+=1,a=n;return o}))}));e.exports=a},29732:function(e,t,n){var r=n(36369)((function(e,t,n){return e(n)?t(n):n}));e.exports=r},32573:function(e,t,n){var r=n(35820),i=n(91500),o=n(20494),a=n(86619),s=n(84012),u=r.reject.bind(r),c=function(e,t){return t&&l(0,e*Math.pow(2,t))},l=function(e,t){return e+Math.random()*(t-e)};e.exports=o((function(e,t){void 0===e&&(e={});var n=e.base;void 0===n&&(n=250);var o=e.tries;void 0===o&&(o=10);var l=e.when;void 0===l&&(l=s);return function(){for(var e=[],s=arguments.length;s--;)e[s]=arguments[s];var f=0,d=function(){return new r((function(e,t){setTimeout((function(){p().then(e,t)}),c(n,f))}))},p=function(){return r.resolve(e).then(i(t)).catch(a(l,h,u))},h=function(e){return++f<o?d():u(e)};return p()}}))},10339:function(e,t,n){var r=n(35820),i=n(68389),o=n(71483),a=n(40109),s=n(37752),u=o(i(r.reject,r),s(a(Error),Error));e.exports=u},88257:function(e,t,n){"use strict";var r=n(84705),i=n(35704);t.parse=function(e,t){if("string"!=typeof e)throw new TypeError("argument str must be a string");var n={},o=(t||{}).decode||s,a=0;for(;a<e.length;){var u,l=e.indexOf("=",a);if(-1===l)break;var f=e.indexOf(";",a);if(-1===f)f=e.length;else if(f<l){a=e.lastIndexOf(";",l-1)+1;continue}var d=r(u=i(e).call(e,a,l)).call(u);if(void 0===n[d]){var p,h=r(p=i(e).call(e,l+1,f)).call(p);34===h.charCodeAt(0)&&(h=i(h).call(h,1,-1)),n[d]=c(h,o)}a=f+1}return n},t.serialize=function(e,t,n){var r=n||{},i=r.encode||u;if("function"!=typeof i)throw new TypeError("option encode is invalid");if(!a.test(e))throw new TypeError("argument name is invalid");var s=i(t);if(s&&!a.test(s))throw new TypeError("argument val is invalid");var c=e+"="+s;if(null!=r.maxAge){var l=r.maxAge-0;if(isNaN(l)||!isFinite(l))throw new TypeError("option maxAge is invalid");c+="; Max-Age="+Math.floor(l)}if(r.domain){if(!a.test(r.domain))throw new TypeError("option domain is invalid");c+="; Domain="+r.domain}if(r.path){if(!a.test(r.path))throw new TypeError("option path is invalid");c+="; Path="+r.path}if(r.expires){var f=r.expires;if(!function(e){return"[object Date]"===o.call(e)||e instanceof Date}(f)||isNaN(f.valueOf()))throw new TypeError("option expires is invalid");c+="; Expires="+f.toUTCString()}r.httpOnly&&(c+="; HttpOnly");r.secure&&(c+="; Secure");if(r.priority){switch("string"==typeof r.priority?r.priority.toLowerCase():r.priority){case"low":c+="; Priority=Low";break;case"medium":c+="; Priority=Medium";break;case"high":c+="; Priority=High";break;default:throw new TypeError("option priority is invalid")}}if(r.sameSite){switch("string"==typeof r.sameSite?r.sameSite.toLowerCase():r.sameSite){case!0:c+="; SameSite=Strict";break;case"lax":c+="; SameSite=Lax";break;case"strict":c+="; SameSite=Strict";break;case"none":c+="; SameSite=None";break;default:throw new TypeError("option sameSite is invalid")}}return c};var o=Object.prototype.toString,a=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/;function s(e){return-1!==e.indexOf("%")?decodeURIComponent(e):e}function u(e){return encodeURIComponent(e)}function c(e,t){try{return t(e)}catch(t){return e}}},14886:function(e,t,n){var r=n(8571),i=n(35820),o=n(88946),a=n(28449),s=n(81248),u=n(7961).type("Async"),c=n(7961).typeFn(u(),5),l=n(57345),f=n(76315),d=n(54800),p=n(77795),h=n(35606),g=n(22452),m=n(90702),y=n(12384),v=n(14932),b=n(34762),_=n(17430),w=function(e){return T((function(t,n){return n(e)}))};function T(e){var t;if(!y(e))throw new TypeError("Async: Function required");var n=w,r=function(){return"Async"+s(e)};function a(t,n,r){if(!y(t)||!y(n))throw new TypeError("Async.fork: Reject and resolve functions required");var i=!1,o=!1,a=y(r)?r:h,s=function(e,t){if(!o)return o=!0,i?h():e(t)},u=e(s.bind(null,t),s.bind(null,n)),c=y(u)?u:h;return p((function(){return a((c(),void(i=!0)))}))}function f(e){return function(t){if(!y(t))throw new TypeError("Async."+e+": Function required");return T((function(e,n){return a(e,d(n,t))}))}}function g(e){return function(t,n){if(!y(t)||!y(n))throw new TypeError("Async."+e+": Functions required for both arguments");return T((function(e,r){return a(d(e,t),d(r,n))}))}}function m(e){return function(t){if(!_(T,t))throw new TypeError("Async."+e+": Async required");return T((function(e,n){var r=h,i=h;return r=a((function(){i=t.fork(e,n)}),n),p((function(){return i(r())}))}))}}function v(e){return function(t){if(!y(t))throw new TypeError("Async."+e+": Async returning function required");return T((function(n,r){var i=h,o=h;return i=a(n,(function(i){var a=t(i);if(!_(T,a))throw new TypeError("Async."+e+": Function must return another Async");o=a.fork(n,r)})),p((function(){return o(i())}))}))}}return(t={fork:a,toPromise:function(){return new i((function(e,t){a(t,e)}))},inspect:r,toString:r,type:u,swap:function(e,t){if(!y(e)||!y(t))throw new TypeError("Async.swap: Functions required for both arguments");return T((function(n,r){return a(d(r,e),d(n,t))}))},race:function(e){if(!_(T,e))throw new TypeError("Async.race: Async required");return T((function(t,n){var r=p((function(e,r){return e?n(r):t(r)})),i=r.bind(null,!0),o=r.bind(null,!1),s=a(o,i),u=e.fork(o,i);return function(){s(),u()}}))},coalesce:function(e,t){if(!y(e)||!y(t))throw new TypeError("Async.coalesce: Functions required for both arguments");return T((function(n,r){return a(d(r,e),d(r,t))}))},ap:function(e){if(!_(T,e))throw new TypeError("Async.ap: Async required");return T((function(t,n){var r=null,i=null,o=!1,s=!1,u=!1,c=p(t);function l(){!u&&o&&s&&d(n,r)(i)}var f=a(c,(function(e){if(!y(e))throw new TypeError("Async.ap: Wrapped value must be a function");o=!0,r=e,l()})),h=e.fork(c,(function(e){s=!0,i=e,l()}));return function(){f(),h(),u=!0}}))},of:n,alt:m("alt"),bimap:g("bimap"),map:f("map"),chain:v("chain"),bichain:function(e,t){var n="Async.bichain: Both arguments must be Async returning functions";if(!y(e)||!y(t))throw new TypeError(n);return T((function(r,i){var o=h,s=h;function u(e){return function(t){var o=e(t);if(!_(T,o))throw new TypeError(n);s=o.fork(r,i)}}return o=a(u(e),u(t)),p((function(){return s(o())}))}))}})[l.of]=n,t[l.alt]=m(l.alt),t[l.bimap]=g(l.bimap),t[o(l)]=f(o(l)),t[l.chain]=v(l.chain),t["@@type"]=c,t.constructor=T,t}T.of=w,T.type=u,T[l.of]=w,T["@@type"]=c,T.Rejected=function(e){return T((function(t){return t(e)}))},T.Resolved=w,T.fromPromise=function(e){if(!y(e))throw new TypeError("Async.fromPromise: Promise returning function required");return function(){var t=arguments;return T((function(n,r){var i=e.apply(null,t);if(!b(i))throw new TypeError("Async.fromPromise: Promise returning function required");i.then(r,n)}))}},T.fromNode=function(e,t){if(!y(e))throw new TypeError("Async.fromNode: CPS function required");return function(){for(var n=[],i=arguments.length;i--;)n[i]=arguments[i];return T((function(i,o){e.apply(t,r(n).call(n,(function(e,t){return e?i(e):o(t)})))}))}},T.all=function(e){if(!m(e)||!e.reduce((function(e,t){return e&&_(T,t)}),!0))throw new TypeError("Async.all: Foldable structure of Asyncs required");return g(e)?f.sequence(T.of,e):e.sequence(T.of)},T.rejectAfter=function(e,t){if(!(v(e)&&e>=0))throw new TypeError("Async.rejectAfter: Positive Integer required for first argument");return T((function(n){var r=setTimeout((function(){n(t)}),e);return function(){clearTimeout(r)}}))},T.resolveAfter=function(e,t){if(!(v(e)&&e>=0))throw new TypeError("Async.resolveAfter: Positive Integer required for first argument");return T((function(n,r){var i=setTimeout((function(){r(t)}),e);return function(){clearTimeout(i)}}))},T["@@implements"]=a(["alt","ap","bimap","chain","map","of"]),e.exports=T},35606:function(e){e.exports=Function.prototype},62966:function(e,t,n){var r=n(96049),i=n(77847);e.exports=function(e){return function(t){return r(e)?e.of(t):i(Array,e)?[t]:e(t)}}},76315:function(e,t,n){var r=n(8571),i=n(88946),o=n(35704),a=n(1377),s=n(22452),u=n(87738),c=n(12384),l=n(17430),f=n(44340),d=n(62966),p=function(e){return e},h=function(e){return function(t){return r(e).call(e,t)}};function g(e,t){return function(n,r){var o=t(r);if(!a(n)&&!s(n)||!l(n,o))throw new TypeError("Array."+e+": Must wrap Applys of the same type");return s(o)?y(n,m((function(e){return h([e])}),o)):i(o).call(o,(function(e){return h([e])})).ap(n)}}var m=function(e,t){return i(t).call(t,(function(t){return e(t)}))};function y(e,t){if(!t.length||!t.reduce((function(e,t){return e&&c(t)}),!0))throw new TypeError("Array.ap: Second Array must all be functions");return t.reduce((function(t,n){return r(t).call(t,m(n,e))}),[])}e.exports={ap:y,chain:function(e,t){return t.reduce((function(t,n){var i=e(n);if(!s(i))throw new TypeError("Array.chain: Function must return an Array");return r(t).call(t,i)}),[])},fold:function(e){if(u(e))throw new TypeError("Array.fold: Non-empty Array of Semigroups required");var t=e[0];if(!f(t))throw new TypeError("Array.fold: Must contain Semigroups of the same type");return e.reduce((function(e,t){if(!l(e,t))throw new TypeError("Array.fold: Must contain Semigroups of the same type");return r(e).call(e,t)}))},foldMap:function(e,t){if(u(t))throw new TypeError("Array.foldMap: Non-empty Array required");var n=e(t[0]);if(!f(n))throw new TypeError("Array.foldMap: Provided function must return Semigroups of the same type");return 1===t.length?n:o(t).call(t,1).reduce((function(t,n){var i=e(n);if(!l(t,i)||!f(i))throw new TypeError("Array.foldMap: Provided function must return Semigroups of the same type");return r(t).call(t,i)}),n)},map:m,sequence:function(e,t){var n=d(e);return t.reduceRight(g("sequence",p),n([]))},set:function(e,t,n){var r=o(n).call(n);return r[e]=t,r},traverse:function(e,t,n){var r=d(e);return n.reduceRight(g("traverse",t),r([]))},unset:function(e,t){var n;return r(n=o(t).call(t,0,e)).call(n,o(t).call(t,e+1))}}},54800:function(e){e.exports=function(e,t){return function(n){return e(t(n))}}},94233:function(e,t,n){var r=n(8571),i=n(12384);function o(e,t){return i(e)?e.length>1?e.bind(null,t):e.call(null,t):e}e.exports=function e(t){return function(){for(var n=[],a=arguments.length;a--;)n[a]=arguments[a];var s,u=n.length?n:[void 0];if(u.length<t.length)return e(Function.bind.apply(t,r(s=[null]).call(s,u)));var c=u.length===t.length?t.apply(null,u):u.reduce(o,t);return i(c)?e(c):c}}},71426:function(e,t,n){var r=n(62079),i=n(17430),o=n(85957),a=n(82111),s=n(29560),u=n(57345),c=function(e,t){return e.valueOf()===t.valueOf()},l={Array:function(e,t){return e.length===t.length&&f(e,t)},Date:function(e,t){return o(e.valueOf(),t.valueOf())},Error:function(e,t){return e.name===t.name&&e.message===t.message},Object:function(e){function t(t,n){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t}((function(e,t){return r(e).length===r(t).length&&f(e,t)})),RegExp:function(e,t){return e.source===t.source&&e.ignoreCase===t.ignoreCase&&e.global===t.global&&e.multiline===t.multiline&&e.unicode===t.unicode}};function f(e,t){for(var n in e)if(!d(e[n],t[n]))return!1;return!0}function d(e,t){return!!o(e,t)||!!i(e,t)&&(a("equals",e)?(t[u.equals]||t.equals).call(t,e):(l[s(e)]||c)(e,t))}e.exports=d},57345:function(e){e.exports={alt:"fantasy-land/alt",bimap:"fantasy-land/bimap",chain:"fantasy-land/chain",compose:"fantasy-land/compose",concat:"fantasy-land/concat",contramap:"fantasy-land/contramap",empty:"fantasy-land/empty",equals:"fantasy-land/equals",extend:"fantasy-land/extend",filter:"fantasy-land/filter",id:"fantasy-land/id",map:"fantasy-land/map",of:"fantasy-land/of",promap:"fantasy-land/promap",reduce:"fantasy-land/reduce",zero:"fantasy-land/zero"}},82111:function(e,t,n){var r=n(12384),i=n(57345);e.exports=function(e,t){return!!t&&(function(e,t){return r(t[i[e]])||r(t[e])}(e,t)||function(e,t){return r(t["@@implements"])&&!!t["@@implements"](e)}(e,t))}},28449:function(e){e.exports=function(e){return function(t){return-1!==e.indexOf(t)}}},81248:function(e,t,n){var r=n(88946),i=n(62079),o=n(8571),a=n(22452),s=n(12384),u=n(38249),c=n(74251),l=n(57505),f=n(5684);function d(e){return e&&s(e.inspect)?" "+e.inspect():s(e)?" Function":a(e)?" ["+(((t=e).length?r(t).call(t,d).reduce((function(e,t){return e+","+t})):t)+" ]"):u(e)?" { "+i(e).reduce((function(t,n){return o(t).call(t,[n+":"+d(e[n])])}),[]).join(", ")+" }":c(e)?' "'+e+'"':l(e)||f(e)?" "+e.toString():" "+e;var t}e.exports=d},96049:function(e,t,n){var r=n(82111),i=n(1377);e.exports=function(e){return i(e)&&(r("of",e)||r("of",e.constructor))}},1377:function(e,t,n){var r=n(82111),i=n(68501);e.exports=function(e){return i(e)&&r("ap",e)}},22452:function(e){e.exports=function(e){return Array.isArray(e)}},5684:function(e){e.exports=function(e){return"[object Date]"===Object.prototype.toString.apply(e)&&!isNaN(e.valueOf())}},87738:function(e,t,n){var r=n(62079),i=n(38249),o=n(42e3),a=n(71426),s=n(57345);e.exports=function(e){if(o(e)){var t=e.constructor[s.empty]||e.constructor.empty||e.empty;return a(e,t())}return i(e)?!r(e).length:!e||void 0===e.length||!e.length}},90702:function(e,t,n){var r=n(82111);e.exports=function(e){return!!e&&r("reduce",e)}},12384:function(e){e.exports=function(e){return"function"==typeof e}},68501:function(e,t,n){var r=n(82111);e.exports=function(e){return!!e&&r("map",e)}},14932:function(e,t,n){var r=n(50162);e.exports=function(e){return r(e)&&isFinite(e)&&Math.floor(e)===e}},42e3:function(e,t,n){var r=n(82111),i=n(44340);e.exports=function(e){return i(e)&&(r("empty",e)||r("empty",e.constructor))}},50162:function(e){e.exports=function(e){return"number"==typeof e&&!isNaN(e)}},38249:function(e){var t=Object.prototype.toString;e.exports=function(e){return!!e&&"[object Object]"===t.call(e)}},34762:function(e,t,n){var r=n(12384);e.exports=function(e){return!!e&&r(e.then)&&r(e.catch)}},85957:function(e){e.exports=function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}},17430:function(e,t,n){var r=n(94233),i=n(12384),o=n(29560);e.exports=r((function(e,t){var n=o(e),r=o(t);return n===r||i(e)&&e.name===r||i(t)&&t.name===n}))},44340:function(e,t,n){var r=n(74251),i=n(82111);e.exports=function(e){return r(e)||!!e&&i("concat",e)}},74251:function(e){e.exports=function(e){return"string"==typeof e}},57505:function(e,t,n){var r=n(20474);e.exports=function(e){return"symbol"===r(e)}},77847:function(e,t,n){var r=n(12384);e.exports=function(e,t){return r(t)&&(e===t||e.name===t.name)}},77795:function(e){e.exports=function(e){var t,n;return function(){return t||(t=!0,n=e.apply(null,arguments)),n}}},29560:function(e,t,n){var r=n(35704),i=n(12384);e.exports=function(e){var t;return e&&i(e.type)?e.type():r(t={}.toString.call(e)).call(t,8,-1)}},7961:function(e){var t={unk:function(){return"unknown"},All:function(){return"All"},Any:function(){return"Any"},Arrow:function(){return"Arrow"},Assign:function(){return"Assign"},Async:function(){return"Async"},Const:function(e){return"Const("+e+")"},Either:function(){return"Either"},Endo:function(){return"Endo"},Equiv:function(){return"Equiv"},First:function(){return"First"},Identity:function(){return"Identity"},IO:function(){return"IO"},Last:function(){return"Last"},List:function(){return"List"},Max:function(){return"Max"},Maybe:function(){return"Maybe"},Min:function(){return"Min"},Pair:function(){return"Pair"},Pred:function(){return"Pred"},Prod:function(){return"Prod"},Reader:function(){return"Reader"},Result:function(){return"Result"},Star:function(){return"Star"},State:function(){return"State"},Sum:function(){return"Sum"},Tuple:function(e){return e+"-Tuple"},Unit:function(){return"Unit"},Writer:function(){return"Writer"}},n=function(e){return t[e]||t.unk};e.exports={proxy:function(e,t){return{type:function(){return n(e)(t)}}},type:n,typeFn:function(e,t,r){return"crocks/"+n(e)(r)+"@"+(t||0)}}},84012:function(e){e.exports=function(){return!0}},11137:function(e,t,n){var r=n(41833)((function(e){return function(){return e}}));e.exports=r},3249:function(e,t,n){var r=n(41901)((function(e,t){return e&&t}));e.exports=r},95788:function(e,t,n){var r=n(41833),i=n(63796),o=n(37857),a=n(74978),s=n(59611),u=r((function(e){return i(s(o,0,a("length",e)),(function(){for(var t=0,n=e.length;t<n;){if(e[t].apply(this,arguments))return!0;t+=1}return!1}))}));e.exports=u},31405:function(e,t,n){var r=n(90835),i=n(41901),o=n(29174),a=n(34981),s=i((function(e,t){return"function"==typeof t["fantasy-land/ap"]?t["fantasy-land/ap"](e):"function"==typeof e.ap?e.ap(t):"function"==typeof e?function(n){return e(n)(t(n))}:o((function(e,n){return r(e,a(n,t))}),[],e)}));e.exports=s},91500:function(e,t,n){var r=n(41901)((function(e,t){return e.apply(this,t)}));e.exports=r},68389:function(e,t,n){var r=n(53930),i=n(41901)((function(e,t){return r(e.length,(function(){return e.apply(t,arguments)}))}));e.exports=i},99983:function(e,t,n){var r=n(41901),i=n(33427),o=n(3249),a=n(29989),s=r((function(e,t){return i(e)?function(){return e.apply(this,arguments)&&t.apply(this,arguments)}:a(o)(e,t)}));e.exports=s},10646:function(e,t,n){var r=n(29989)(n(78948));e.exports=r},71483:function(e,t,n){var r=n(27779),i=n(7662);e.exports=function(){if(0===arguments.length)throw new Error("compose requires at least one argument");return r.apply(this,i(arguments))}},66604:function(e,t,n){var r=n(15950),i=n(7662);e.exports=function(){if(0===arguments.length)throw new Error("composeP requires at least one argument");return r.apply(this,i(arguments))}},8524:function(e,t,n){var r=n(8571),i=n(41901),o=n(25972),a=n(33427),s=n(33911),u=n(86207),c=i((function(e,t){if(o(e)){if(o(t))return r(e).call(e,t);throw new TypeError(u(t)+" is not an array")}if(s(e)){if(s(t))return e+t;throw new TypeError(u(t)+" is not a string")}if(null!=e&&a(e["fantasy-land/concat"]))return e["fantasy-land/concat"](t);if(null!=e&&a(r(e)))return r(e).call(e,t);throw new TypeError(u(e)+' does not have a method named "concat" or "fantasy-land/concat"')}));e.exports=c},20494:function(e,t,n){var r=n(41833),i=n(63796),o=r((function(e){return i(e.length,e)}));e.exports=o},63796:function(e,t,n){var r=n(53930),i=n(41833),o=n(41901),a=n(47963),s=o((function(e,t){return 1===e?i(t):r(e,a(e,[],t))}));e.exports=s},90036:function(e,t,n){var r=n(41901)((function(e,t){return null==t||t!=t?e:t}));e.exports=r},96852:function(e,t,n){var r=n(41901),i=n(51303),o=r((function(e,t){for(var n=[],r=0,o=e.length,a=t.length,s=new i,u=0;u<a;u+=1)s.add(t[u]);for(;r<o;)s.add(e[r])&&(n[n.length]=e[r]),r+=1;return n}));e.exports=o},29019:function(e,t,n){var r=n(41901)((function(e,t){var n={};for(var r in t)n[r]=t[r];return delete n[e],n}));e.exports=r},1241:function(e,t,n){var r=n(41901),i=n(33427),o=n(29989),a=n(97034),s=r((function(e,t){return i(e)?function(){return e.apply(this,arguments)||t.apply(this,arguments)}:o(a)(e,t)}));e.exports=s},9362:function(e,t,n){var r=n(41901),i=n(735),o=r((function(e,t){return i(e,t,[],[])}));e.exports=o},74638:function(e,t,n){var r=n(41901),i=n(82552),o=n(41882),a=n(42980),s=n(29174),u=n(67228),c=n(79817),l=r(i(["filter"],u,(function(e,t){return a(t)?s((function(n,r){return e(t[r])&&(n[r]=t[r]),n}),{},c(t)):o(e,t)})));e.exports=l},43936:function(e,t,n){var r=n(41901),i=n(65351),o=r((function(e,t){return i([e],t)}));e.exports=o},65351:function(e,t,n){var r=n(41901),i=n(29780),o=n(40850),a=r((function(e,t){if(0===e.length||o(t))return!1;for(var n=t,r=0;r<e.length;){if(o(n)||!i(e[r],n))return!1;n=n[e[r]],r+=1}return!0}));e.exports=a},86619:function(e,t,n){var r=n(82974),i=n(63796),o=r((function(e,t,n){return i(Math.max(e.length,t.length,n.length),(function(){return e.apply(this,arguments)?t.apply(this,arguments):n.apply(this,arguments)}))}));e.exports=o},51303:function(e,t,n){var r=n(20474),i=n(23513),o=n(11104),a=function(){function e(){this._nativeSet="function"==typeof i?new i:null,this._items={}}return e.prototype.add=function(e){return!s(e,!0,this)},e.prototype.has=function(e){return s(e,!1,this)},e}();function s(e,t,n){var i,a=r(e);switch(a){case"string":case"number":return 0===e&&1/e==-1/0?!!n._items["-0"]||(t&&(n._items["-0"]=!0),!1):null!==n._nativeSet?t?(i=n._nativeSet.size,n._nativeSet.add(e),n._nativeSet.size===i):n._nativeSet.has(e):a in n._items?e in n._items[a]||(t&&(n._items[a][e]=!0),!1):(t&&(n._items[a]={},n._items[a][e]=!0),!1);case"boolean":if(a in n._items){var s=e?1:0;return!!n._items[a][s]||(t&&(n._items[a][s]=!0),!1)}return t&&(n._items[a]=e?[!1,!0]:[!0,!1]),!1;case"function":return null!==n._nativeSet?t?(i=n._nativeSet.size,n._nativeSet.add(e),n._nativeSet.size===i):n._nativeSet.has(e):a in n._items?!!o(e,n._items[a])||(t&&n._items[a].push(e),!1):(t&&(n._items[a]=[e]),!1);case"undefined":return!!n._items[a]||(t&&(n._items[a]=!0),!1);case"object":if(null===e)return!!n._items.null||(t&&(n._items.null=!0),!1);default:return(a=Object.prototype.toString.call(e))in n._items?!!o(e,n._items[a])||(t&&n._items[a].push(e),!1):(t&&(n._items[a]=[e]),!1)}}e.exports=a},53930:function(e){e.exports=function(e,t){switch(e){case 0:return function(){return t.apply(this,arguments)};case 1:return function(e){return t.apply(this,arguments)};case 2:return function(e,n){return t.apply(this,arguments)};case 3:return function(e,n,r){return t.apply(this,arguments)};case 4:return function(e,n,r,i){return t.apply(this,arguments)};case 5:return function(e,n,r,i,o){return t.apply(this,arguments)};case 6:return function(e,n,r,i,o,a){return t.apply(this,arguments)};case 7:return function(e,n,r,i,o,a,s){return t.apply(this,arguments)};case 8:return function(e,n,r,i,o,a,s,u){return t.apply(this,arguments)};case 9:return function(e,n,r,i,o,a,s,u,c){return t.apply(this,arguments)};case 10:return function(e,n,r,i,o,a,s,u,c,l){return t.apply(this,arguments)};default:throw new Error("First argument to _arity must be a non-negative integer no greater than ten")}}},52769:function(e){e.exports=function(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}},56605:function(e,t,n){var r=n(35704),i=n(25972);e.exports=function(e,t){return function(){var n=arguments.length;if(0===n)return t();var o=arguments[n-1];return i(o)||"function"!=typeof o[e]?t.apply(this,arguments):o[e].apply(o,r(Array.prototype).call(arguments,0,n-1))}}},76915:function(e){e.exports=function(e){return function(){return!e.apply(this,arguments)}}},90835:function(e){e.exports=function(e,t){var n;t=t||[];var r=(e=e||[]).length,i=t.length,o=[];for(n=0;n<r;)o[o.length]=e[n],n+=1;for(n=0;n<i;)o[o.length]=t[n],n+=1;return o}},88676:function(e,t,n){var r=n(53930),i=n(41901);e.exports=function(e){return i((function(t,n){return r(Math.max(0,t.length-n.length),(function(){return t.apply(this,e(n,arguments))}))}))}},41833:function(e,t,n){var r=n(95906);e.exports=function(e){return function t(n){return 0===arguments.length||r(n)?t:e.apply(this,arguments)}}},41901:function(e,t,n){var r=n(41833),i=n(95906);e.exports=function(e){return function t(n,o){switch(arguments.length){case 0:return t;case 1:return i(n)?t:r((function(t){return e(n,t)}));default:return i(n)&&i(o)?t:i(n)?r((function(t){return e(t,o)})):i(o)?r((function(t){return e(n,t)})):e(n,o)}}}},82974:function(e,t,n){var r=n(41833),i=n(41901),o=n(95906);e.exports=function(e){return function t(n,a,s){switch(arguments.length){case 0:return t;case 1:return o(n)?t:i((function(t,r){return e(n,t,r)}));case 2:return o(n)&&o(a)?t:o(n)?i((function(t,n){return e(t,a,n)})):o(a)?i((function(t,r){return e(n,t,r)})):r((function(t){return e(n,a,t)}));default:return o(n)&&o(a)&&o(s)?t:o(n)&&o(a)?i((function(t,n){return e(t,n,s)})):o(n)&&o(s)?i((function(t,n){return e(t,a,n)})):o(a)&&o(s)?i((function(t,r){return e(n,t,r)})):o(n)?r((function(t){return e(t,a,s)})):o(a)?r((function(t){return e(n,t,s)})):o(s)?r((function(t){return e(n,a,t)})):e(n,a,s)}}}},47963:function(e,t,n){var r=n(53930),i=n(95906);e.exports=function e(t,n,o){return function(){for(var a=[],s=0,u=t,c=0;c<n.length||s<arguments.length;){var l;c<n.length&&(!i(n[c])||s>=arguments.length)?l=n[c]:(l=arguments[s],s+=1),a[c]=l,i(l)||(u-=1),c+=1}return u<=0?o.apply(this,a):r(u,e(t,a,o))}}},82552:function(e,t,n){var r=n(35704),i=n(25972),o=n(95084);e.exports=function(e,t,n){return function(){if(0===arguments.length)return n();var a=r(Array.prototype).call(arguments,0),s=a.pop();if(!i(s)){for(var u=0;u<e.length;){if("function"==typeof s[e[u]])return s[e[u]].apply(s,a);u+=1}if(o(s)){var c=t.apply(null,a);return c(s)}}return n.apply(this,arguments)}}},735:function(e,t,n){var r=n(20474),i=n(35704),o=n(40703),a=n(8571),s=n(89221),u=n(52769),c=n(95061),l=n(85477),f=n(29780),d=n(54978),p=n(79817),h=n(93743);function g(e,t,n,r){var o=u(e),a=u(t);function s(e,t){return m(e,t,i(n).call(n),i(r).call(r))}return!c((function(e,t){return!c(s,t,e)}),a,o)}function m(e,t,n,i){if(d(e,t))return!0;var u=h(e);if(u!==h(t))return!1;if(null==e||null==t)return!1;if("function"==typeof e["fantasy-land/equals"]||"function"==typeof t["fantasy-land/equals"])return"function"==typeof e["fantasy-land/equals"]&&e["fantasy-land/equals"](t)&&"function"==typeof t["fantasy-land/equals"]&&t["fantasy-land/equals"](e);if("function"==typeof e.equals||"function"==typeof t.equals)return"function"==typeof e.equals&&e.equals(t)&&"function"==typeof t.equals&&t.equals(e);switch(u){case"Arguments":case"Array":case"Object":if("function"==typeof e.constructor&&"Promise"===l(e.constructor))return e===t;break;case"Boolean":case"Number":case"String":if(r(e)!==r(t)||!d(e.valueOf(),t.valueOf()))return!1;break;case"Date":if(!d(e.valueOf(),t.valueOf()))return!1;break;case"Error":return e.name===t.name&&e.message===t.message;case"RegExp":if(e.source!==t.source||e.global!==t.global||e.ignoreCase!==t.ignoreCase||e.multiline!==t.multiline||e.sticky!==t.sticky||e.unicode!==t.unicode)return!1}for(var c=n.length-1;c>=0;){if(n[c]===e)return i[c]===t;c-=1}switch(u){case"Map":return e.size===t.size&&g(o(e).call(e),o(t).call(t),a(n).call(n,[e]),a(i).call(i,[t]));case"Set":return e.size===t.size&&g(s(e).call(e),s(t).call(t),a(n).call(n,[e]),a(i).call(i,[t]));case"Arguments":case"Array":case"Object":case"Boolean":case"Number":case"String":case"Date":case"Error":case"RegExp":case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"ArrayBuffer":break;default:return!1}var y=p(e);if(y.length!==p(t).length)return!1;var v=a(n).call(n,[e]),b=a(i).call(i,[t]);for(c=y.length-1;c>=0;){var _=y[c];if(!f(_,t)||!m(t[_],e[_],v,b))return!1;c-=1}return!0}e.exports=m},41882:function(e){e.exports=function(e,t){for(var n=0,r=t.length,i=[];n<r;)e(t[n])&&(i[i.length]=t[n]),n+=1;return i}},85477:function(e){e.exports=function(e){var t=String(e).match(/^function (\w*)/);return null==t?"":t[1]}},29780:function(e){e.exports=function(e,t){return Object.prototype.hasOwnProperty.call(t,e)}},11104:function(e,t,n){var r=n(80773);e.exports=function(e,t){return r(t,e,0)>=0}},95061:function(e){e.exports=function(e,t,n){for(var r=0,i=n.length;r<i;){if(e(t,n[r]))return!0;r+=1}return!1}},80773:function(e,t,n){var r=n(20474),i=n(9362);e.exports=function(e,t,n){var o,a;if("function"==typeof e.indexOf)switch(r(t)){case"number":if(0===t){for(o=1/t;n<e.length;){if(0===(a=e[n])&&1/a===o)return n;n+=1}return-1}if(t!=t){for(;n<e.length;){if("number"==typeof(a=e[n])&&a!=a)return n;n+=1}return-1}return e.indexOf(t,n);case"string":case"boolean":case"function":case"undefined":return e.indexOf(t,n);case"object":if(null===t)return e.indexOf(t,n)}for(;n<e.length;){if(i(e[n],t))return n;n+=1}return-1}},50614:function(e,t,n){var r=n(29780),i=Object.prototype.toString,o=function(){return"[object Arguments]"===i.call(arguments)?function(e){return"[object Arguments]"===i.call(e)}:function(e){return r("callee",e)}}();e.exports=o},25972:function(e){e.exports=Array.isArray||function(e){return null!=e&&e.length>=0&&"[object Array]"===Object.prototype.toString.call(e)}},36232:function(e,t,n){var r=n(20474),i=n(41833),o=n(25972),a=n(33911),s=i((function(e){return!!o(e)||!!e&&("object"===r(e)&&(!a(e)&&(1===e.nodeType?!!e.length:0===e.length||e.length>0&&(e.hasOwnProperty(0)&&e.hasOwnProperty(e.length-1)))))}));e.exports=s},33427:function(e){e.exports=function(e){var t=Object.prototype.toString.call(e);return"[object Function]"===t||"[object AsyncFunction]"===t||"[object GeneratorFunction]"===t||"[object AsyncGeneratorFunction]"===t}},10502:function(e,t,n){var r=n(60312);e.exports=r||function(e){return e<<0===e}},42980:function(e){e.exports=function(e){return"[object Object]"===Object.prototype.toString.call(e)}},95906:function(e,t,n){var r=n(20474);e.exports=function(e){return null!=e&&"object"===r(e)&&!0===e["@@functional/placeholder"]}},33911:function(e){e.exports=function(e){return"[object String]"===Object.prototype.toString.call(e)}},95084:function(e){e.exports=function(e){return null!=e&&"function"==typeof e["@@transducer/step"]}},85709:function(e){e.exports=function(e,t){for(var n=0,r=t.length,i=Array(r);n<r;)i[n]=e(t[n]),n+=1;return i}},54978:function(e,t,n){var r=n(42692);e.exports="function"==typeof r?r:function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}},28324:function(e){e.exports=function(e,t){return function(){return t.call(this,e.apply(this,arguments))}}},9030:function(e){e.exports=function(e,t){return function(){var n=this;return e.apply(n,arguments).then((function(e){return t.call(n,e)}))}}},26992:function(e){e.exports=function(e){return'"'+e.replace(/\\/g,"\\\\").replace(/[\b]/g,"\\b").replace(/\f/g,"\\f").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\t/g,"\\t").replace(/\v/g,"\\v").replace(/\0/g,"\\0").replace(/"/g,'\\"')+'"'}},29174:function(e,t,n){var r=n(52472),i=n(48994),o=n(36232),a=n(597),s=n(68389);function u(e,t,n){for(var r=n.next();!r.done;){if((t=e["@@transducer/step"](t,r.value))&&t["@@transducer/reduced"]){t=t["@@transducer/value"];break}r=n.next()}return e["@@transducer/result"](t)}function c(e,t,n,r){return e["@@transducer/result"](n[r](s(e["@@transducer/step"],e),t))}var l=void 0!==r?i:"@@iterator";e.exports=function(e,t,n){if("function"==typeof e&&(e=a(e)),o(n))return function(e,t,n){for(var r=0,i=n.length;r<i;){if((t=e["@@transducer/step"](t,n[r]))&&t["@@transducer/reduced"]){t=t["@@transducer/value"];break}r+=1}return e["@@transducer/result"](t)}(e,t,n);if("function"==typeof n["fantasy-land/reduce"])return c(e,t,n,"fantasy-land/reduce");if(null!=n[l])return u(e,t,n[l]());if("function"==typeof n.next)return u(e,t,n);if("function"==typeof n.reduce)return c(e,t,n,"reduce");throw new TypeError("reduce: list must be array or iterable")}},86662:function(e,t,n){var r=n(35704),i=function(e){return(e<10?"0":"")+e},o="function"==typeof Date.prototype.toISOString?function(e){return e.toISOString()}:function(e){var t;return e.getUTCFullYear()+"-"+i(e.getUTCMonth()+1)+"-"+i(e.getUTCDate())+"T"+i(e.getUTCHours())+":"+i(e.getUTCMinutes())+":"+i(e.getUTCSeconds())+"."+r(t=(e.getUTCMilliseconds()/1e3).toFixed(3)).call(t,2,5)+"Z"};e.exports=o},69165:function(e,t,n){var r=n(20474),i=n(8571),o=n(76555),a=n(35704),s=n(11104),u=n(85709),c=n(26992),l=n(86662),f=n(79817),d=n(94479);e.exports=function e(t,n){var p,h=function(r){var o=i(n).call(n,[t]);return s(r,o)?"<Circular>":e(r,o)},g=function(e,t){var n;return u((function(t){return c(t)+": "+h(e[t])}),o(n=a(t).call(t)).call(n))};switch(Object.prototype.toString.call(t)){case"[object Arguments]":return"(function() { return arguments; }("+u(h,t).join(", ")+"))";case"[object Array]":return"["+i(p=u(h,t)).call(p,g(t,d((function(e){return/^\d+$/.test(e)}),f(t)))).join(", ")+"]";case"[object Boolean]":return"object"===r(t)?"new Boolean("+h(t.valueOf())+")":t.toString();case"[object Date]":return"new Date("+(isNaN(t.valueOf())?h(NaN):c(l(t)))+")";case"[object Null]":return"null";case"[object Number]":return"object"===r(t)?"new Number("+h(t.valueOf())+")":1/t==-1/0?"-0":t.toString(10);case"[object String]":return"object"===r(t)?"new String("+h(t.valueOf())+")":c(t);case"[object Undefined]":return"undefined";default:if("function"==typeof t.toString){var m=t.toString();if("[object Object]"!==m)return m}return"{"+g(t,f(t)).join(", ")+"}"}}},51074:function(e){e.exports={init:function(){return this.xf["@@transducer/init"]()},result:function(e){return this.xf["@@transducer/result"](e)}}},67228:function(e,t,n){var r=n(41901),i=n(51074),o=function(){function e(e,t){this.xf=t,this.f=e}return e.prototype["@@transducer/init"]=i.init,e.prototype["@@transducer/result"]=i.result,e.prototype["@@transducer/step"]=function(e,t){return this.f(t)?this.xf["@@transducer/step"](e,t):e},e}(),a=r((function(e,t){return new o(e,t)}));e.exports=a},23871:function(e,t,n){var r=n(41901),i=n(51074),o=function(){function e(e,t){this.xf=t,this.f=e}return e.prototype["@@transducer/init"]=i.init,e.prototype["@@transducer/result"]=i.result,e.prototype["@@transducer/step"]=function(e,t){return this.xf["@@transducer/step"](e,this.f(t))},e}(),a=r((function(e,t){return new o(e,t)}));e.exports=a},96023:function(e,t,n){var r=n(41901),i=n(51074),o=function(){function e(e,t){this.xf=t,this.f=e}return e.prototype["@@transducer/init"]=i.init,e.prototype["@@transducer/result"]=i.result,e.prototype["@@transducer/step"]=function(e,t){return this.f(t),this.xf["@@transducer/step"](e,t)},e}(),a=r((function(e,t){return new o(e,t)}));e.exports=a},597:function(e){var t=function(){function e(e){this.f=e}return e.prototype["@@transducer/init"]=function(){throw new Error("init not implemented on XWrap")},e.prototype["@@transducer/result"]=function(e){return e},e.prototype["@@transducer/step"]=function(e,t){return this.f(e,t)},e}();e.exports=function(e){return new t(e)}},40109:function(e,t,n){var r=n(41901)((function(e,t){return null!=t&&t.constructor===e||t instanceof e}));e.exports=r},40850:function(e,t,n){var r=n(41833)((function(e){return null==e}));e.exports=r},79817:function(e,t,n){var r=n(62079),i=n(41833),o=n(29780),a=n(50614),s=!{toString:null}.propertyIsEnumerable("toString"),u=["constructor","valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],c=function(){"use strict";return arguments.propertyIsEnumerable("length")}(),l=function(e,t){for(var n=0;n<e.length;){if(e[n]===t)return!0;n+=1}return!1},f=i("function"!=typeof r||c?function(e){if(Object(e)!==e)return[];var t,n,r=[],i=c&&a(e);for(t in e)!o(t,e)||i&&"length"===t||(r[r.length]=t);if(s)for(n=u.length-1;n>=0;)o(t=u[n],e)&&!l(r,t)&&(r[r.length]=t),n-=1;return r}:function(e){return Object(e)!==e?[]:r(e)});e.exports=f},29989:function(e,t,n){var r=n(41833),i=n(20187),o=r((function(e){return i(e.length,e)}));e.exports=o},20187:function(e,t,n){var r=n(35704),i=n(41901),o=n(29174),a=n(31405),s=n(63796),u=n(34981),c=i((function(e,t){var n=s(e,t);return s(e,(function(){return o(a,u(n,arguments[0]),r(Array.prototype).call(arguments,1))}))}));e.exports=c},16738:function(e,t,n){var r=n(41901)((function(e,t){return e<=t}));e.exports=r},34981:function(e,t,n){var r=n(41901),i=n(82552),o=n(85709),a=n(29174),s=n(23871),u=n(63796),c=n(79817),l=r(i(["fantasy-land/map","map"],s,(function(e,t){switch(Object.prototype.toString.call(t)){case"[object Function]":return u(t.length,(function(){return e.call(this,t.apply(this,arguments))}));case"[object Object]":return a((function(n,r){return n[r]=e(t[r]),n}),{},c(t));default:return o(e,t)}})));e.exports=l},37857:function(e,t,n){var r=n(41901)((function(e,t){return t>e?t:e}));e.exports=r},54004:function(e,t,n){var r=n(53930),i=n(41901),o=n(29780),a=i((function(e,t){var n={};return r(t.length,(function(){var r=e.apply(this,arguments);return o(r,n)||(n[r]=t.apply(this,arguments)),n[r]}))}));e.exports=a},78948:function(e,t,n){var r=n(41833)((function(e){return!e}));e.exports=r},86820:function(e,t,n){var r=n(41901),i=n(33911),o=r((function(e,t){var n=e<0?t.length+e:e;return i(t)?t.charAt(n):t[n]}));e.exports=o},97034:function(e,t,n){var r=n(41901)((function(e,t){return e||t}));e.exports=r},40946:function(e,t,n){var r=n(90835),i=n(88676)(r);e.exports=i},55359:function(e,t,n){var r=n(41901),i=n(25803),o=r((function(e,t){return i([e],t)[0]}));e.exports=o},5912:function(e,t,n){var r=n(82974),i=n(9362),o=n(55359),a=r((function(e,t,n){return i(o(e,n),t)}));e.exports=a},81156:function(e,t,n){var r=n(82974),i=n(90036),o=n(55359),a=r((function(e,t,n){return i(e,o(t,n))}));e.exports=a},12814:function(e,t,n){var r=n(82974),i=n(55359),o=r((function(e,t,n){return e(i(t,n))}));e.exports=o},25803:function(e,t,n){var r=n(88946),i=n(41901),o=n(10502),a=n(86820),s=i((function(e,t){return r(e).call(e,(function(e){for(var n,r=t,i=0;i<e.length;){if(null==r)return;n=e[i],r=o(n)?a(n,r):r[n],i+=1}return r}))}));e.exports=s},27779:function(e,t,n){var r=n(53930),i=n(28324),o=n(59611),a=n(60039);e.exports=function(){if(0===arguments.length)throw new Error("pipe requires at least one argument");return r(arguments[0].length,o(i,arguments[0],a(arguments)))}},15950:function(e,t,n){var r=n(53930),i=n(9030),o=n(59611),a=n(60039);e.exports=function(){if(0===arguments.length)throw new Error("pipeP requires at least one argument");return r(arguments[0].length,o(i,arguments[0],a(arguments)))}},74978:function(e,t,n){var r=n(41901),i=n(34981),o=n(43203),a=r((function(e,t){return i(o(e),t)}));e.exports=a},43203:function(e,t,n){var r=n(41901),i=n(55359),o=r((function(e,t){return i([e],t)}));e.exports=o},47919:function(e,t,n){var r=n(82974)((function(e,t,n){return e(n[t])}));e.exports=r},59611:function(e,t,n){var r=n(82974)(n(29174));e.exports=r},94479:function(e,t,n){var r=n(76915),i=n(41901),o=n(74638),a=i((function(e,t){return o(r(e),t)}));e.exports=a},7662:function(e,t,n){var r=n(86526),i=n(35704),o=n(41833),a=n(33911),s=o((function(e){var t,n;return a(e)?r(t=e.split("")).call(t).join(""):r(n=i(Array.prototype).call(e,0)).call(n)}));e.exports=s},39760:function(e,t,n){var r=n(35704),i=n(56605),o=n(82974)(i("slice",(function(e,t,n){return r(Array.prototype).call(n,e,t)})));e.exports=o},66243:function(e,t,n){var r=n(41901),i=n(8524),o=n(96852),a=r((function(e,t){return i(o(e,t),o(t,e))}));e.exports=a},60039:function(e,t,n){var r=n(56605),i=n(41833)(r("tail",n(39760)(1,1/0)));e.exports=i},43745:function(e,t,n){var r=n(41901)(n(82552)([],n(96023),(function(e,t){return e(t),t})));e.exports=r},86207:function(e,t,n){var r=n(41833),i=n(69165),o=r((function(e){return i(e,[])}));e.exports=o},93743:function(e,t,n){var r=n(35704),i=n(41833)((function(e){var t;return null===e?"Null":void 0===e?"Undefined":r(t=Object.prototype.toString.call(e)).call(t,8,-1)}));e.exports=i},53626:function(e,t,n){var r=n(35704),i=n(41901),o=n(63796),a=i((function(e,t){return o(e,(function(){for(var n,i=1,o=t,a=0;i<=e&&"function"==typeof o;)n=i===e?arguments.length:a+o.length,o=o.apply(this,r(Array.prototype).call(arguments,a,n)),i+=1,a=n;return o}))}));e.exports=a},37752:function(e,t,n){var r=n(82974)((function(e,t,n){return e(n)?n:t(n)}));e.exports=r},66689:function(e,t,n){"use strict";n.d(t,{Z:function(){return _r}});var r=n(62079),i=n.n(r),o=n(52020),a=n.n(o),s=n(73324),u=n.n(s),c=n(88546),l=n.n(c),f=n(66775),d=n.n(f),p=n(44845),h=n(20494),g=n.n(h),m=n(34981),y=n.n(m),v=n(40946),b=n.n(v),_=n(33938),w=n(30222),T=n.n(w),x=n(63796),S=n.n(x),k=n(67552),E=n.n(k),O=n(71257),C=n(54004),L=n.n(C),A=L()(String,(function(e){return O.Z.create({baseURL:e,withCredentials:!0})}));function I(){return(I=(0,_.Z)(T().mark((function e(t,n,r){var i,o,a,s,u,c;return T().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return i=r.email,o=r.googleIdToken,a=r.password,s=r.tenantId,e.prev=1,u=o?{tenantId:s,token:o}:{password:a,tenantId:s,username:i},c=o?"google/signin":"signin",e.next=6,A(t.HEYOKRA_AUTH_SERVICE_URI).post(c,u);case 6:e.next=11;break;case 8:throw e.prev=8,e.t0=e.catch(1),E()(new Error,e.t0.response.data);case 11:case"end":return e.stop()}}),e,null,[[1,8]])})))).apply(this,arguments)}var P=S()(3,(function(e,t,n){return I.apply(this,arguments)})),M=n(8571),R=n.n(M),j=n(55359),D=n.n(j),N=n(5912),B=n.n(N);function U(){return(U=(0,_.Z)(T().mark((function e(t,n,r){var i,o,a,s,u,c,l;return T().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return i=r.email,o=r.login,a=r.oktaNamespace,s=r.password,e.prev=1,e.next=4,A(t.AUTH_SERVICE_URI).post("/api/v1/authn",{password:s,username:o||R()(u="".concat(a,"/")).call(u,i),options:{multiOptionalFactorEnroll:!1,warnBeforePasswordExpired:!1}});case 4:if(c=e.sent,!B()(["data","status"],"LOCKED_OUT",c)){e.next=9;break}throw(l=new Error("User Locked Out")).response={data:{errorCode:"USER_LOCKED_OUT"}},l;case 9:return e.abrupt("return",D()(["data","sessionToken"],c));case 12:throw e.prev=12,e.t0=e.catch(1),E()(new Error,e.t0.response.data);case 15:case"end":return e.stop()}}),e,null,[[1,12]])})))).apply(this,arguments)}var F=S()(3,(function(e,t,n){return U.apply(this,arguments)}));function z(){return(z=(0,_.Z)(T().mark((function e(t,n,r){return T().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if("heyokra"!==r.idp){e.next=7;break}return e.next=4,P(t,n,r);case 4:e.t0=e.sent,e.next=10;break;case 7:return e.next=9,F(t,n,r);case 9:e.t0=e.sent;case 10:return e.abrupt("return",e.t0);case 11:case"end":return e.stop()}}),e)})))).apply(this,arguments)}var H=S()(3,(function(e,t,n){return z.apply(this,arguments)})),Z=n(10339),q=n.n(Z),V=n(43745),W=n.n(V),G=n(37752),$=n.n(G);function Y(){return window.tenant&&"heyokra"===window.tenant.idp}function K(){return(K=(0,_.Z)(T().mark((function e(t,n,r,i){var o;return T().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return i.clear(),o=Y()?r.HEYOKRA_AUTH_SERVICE_URI:r.AUTH_SERVICE_URI,e.next=4,A(o).delete("/api/v1/sessions/me").then(W()((function(){return n.emit&&t.emit("session:closed")}))).catch($()(B()(["response","status"],404),q()));case 4:case"end":return e.stop()}}),e)})))).apply(this,arguments)}var X=S()(4,(function(e,t,n,r){return K.apply(this,arguments)})),Q=n(57170),J=n.n(Q),ee=n(81290),te=n.n(ee),ne=n(40850),re=n.n(ne),ie=n(94479),oe=n.n(ie),ae=n(93007),se=n.n(ae)()(9),ue=oe()(re());function ce(e){var t=e.client_id,n=e.issuer,r=e.idp,i=e.nonce,o=e.prompt,a=void 0===o?"none":o,s=e.redirect_uri,u=void 0===s?window.location.origin:s,c=e.response_mode,l=e.scope,f=e.sessionToken,d=e.state,p=new(J())(ue({client_id:t,idp:r,nonce:i||se(),prompt:a,redirect_uri:u,response_mode:c,response_type:"id_token token",scope:l,sessionToken:f,state:d}));return E()(new(te())("".concat(n,"/v1/authorize"),window.location.origin),{search:p.toString()}).toString()}var le=n(24835),fe=n.n(le),de=n(79349),pe=n(68420),he=n(27344),ge=n(5281),me=n(18486),ye=n(90306),ve=n(3020),be=n(3362),_e=n(26729),we=n.n(_e);function Te(e){var t=function(){if("undefined"==typeof Reflect||!fe())return!1;if(fe().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(fe()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,be.Z)(e);if(t){var i=(0,be.Z)(this).constructor;n=fe()(r,arguments,i)}else n=r.apply(this,arguments);return(0,ve.Z)(this,n)}}var xe=function(e){(0,ye.Z)(n,e);var t=Te(n);function n(){var e,r;(0,pe.Z)(this,n);for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];return r=t.call.apply(t,R()(e=[this]).call(e,o)),navigator.serviceWorker&&navigator.serviceWorker.addEventListener("message",r._handleMessage.bind((0,ge.Z)(r))),r}return(0,he.Z)(n,[{key:"emit",value:function(){for(var e,t,r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];(e=(0,me.Z)((0,be.Z)(n.prototype),"emit",this)).call.apply(e,R()(t=[this]).call(t,i)),navigator.serviceWorker&&navigator.serviceWorker.ready.then((function(e){e.active.postMessage({jsonrpc:"2.0",method:"emit",params:i})}))}},{key:"_handleMessage",value:function(e){var t,r;e.data&&"2.0"===e.data.jsonrpc&&"emit"===e.data.method&&(t=(0,me.Z)((0,be.Z)(n.prototype),"emit",this)).call.apply(t,R()(r=[this]).call(r,(0,de.Z)(e.data.params)))}}]),n}(we()),Se=n(59056),ke=n(35820),Ee=n.n(ke),Oe=n(88946),Ce=n.n(Oe),Le=n(91829),Ae=n.n(Le),Ie=n(14886),Pe=n.n(Ie),Me=n(11137),Re=n.n(Me),je=n(95788),De=n.n(je),Ne=n(97411),Be=n.n(Ne),Ue=n(32573),Fe=n.n(Ue),ze=n(99983),He=n.n(ze),Ze=n(10646),qe=n.n(Ze),Ve=n(66604),We=n.n(Ve),Ge=n(1241),$e=n.n(Ge),Ye=n(9362),Ke=n.n(Ye),Xe=n(43936),Qe=n.n(Xe),Je=n(86619),et=n.n(Je),tt=n(16738),nt=n.n(tt),rt=n(81156),it=n.n(rt),ot=n(43203),at=n.n(ot),st=n(47919),ut=n.n(st),ct=n(66243),lt=n.n(ct),ft=n(53626),dt=n.n(ft),pt=n(35704),ht=n.n(pt),gt=n(10349),mt=n.n(gt),yt=n(19389),vt=n.n(yt),bt=n(54847),_t=n.n(bt),wt=n(3841),Tt=n(62534),xt=n(51791);var St=n(48216);function kt(){if("undefined"==typeof Reflect||!le)return!1;if(le.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(le(Boolean,[],(function(){}))),!0}catch(e){return!1}}function Et(e,t,n){var r;kt()?Et=St(r=le).call(r):Et=function(e,t,n){var r=[null];r.push.apply(r,t);var i=new(St(Function).apply(e,r));return n&&(0,Tt.Z)(i,n.prototype),i};return Et.apply(null,arguments)}function Ot(e){var t="function"==typeof bt?new bt:void 0;return Ot=function(e){if(null===e||(n=e,-1===xt(r=Function.toString.call(n)).call(r,"[native code]")))return e;var n,r;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,i)}function i(){return Et(e,arguments,(0,be.Z)(this).constructor)}return i.prototype=wt(e.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}}),(0,Tt.Z)(i,e)},Ot(e)}var Ct=n(52472),Lt=n.n(Ct),At=n(89221),It=n.n(At),Pt=n(71483),Mt=n.n(Pt),Rt=n(84012),jt=n.n(Rt);function Dt(e,t){return t&&(n=0,r=e*Math.pow(t,2),Math.round(n+Math.random()+(r-n)));var n,r}var Nt=S()(2,(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0,n=e.base,r=void 0===n?700:n,i=e.tries,o=void 0===i?10:i,a=e.when,s=void 0===a?jt():a;function u(){for(var e=arguments.length,n=new Array(e),i=0;i<e;i++)n[i]=arguments[i];var a=0;function u(){return Pe().resolveAfter(Dt(r,a)).chain(l)}function c(e){return++a<o?u():Pe().Rejected(e)}function l(){return t.apply(void 0,n).bichain(et()(s,c,Pe().Rejected),Pe().of)}return l()}return u})),Bt=n(46489);function Ut(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}var Ft=function(e,t){var n;void 0===t&&(t=Ut);var r,i=[],o=!1;return function(){for(var a=[],s=0;s<arguments.length;s++)a[s]=arguments[s];return o&&n===this&&t(a,i)||(r=e.apply(this,a),o=!0,n=this,i=a),r}},zt=Ft(n.n(Bt)());function Ht(e,t){var n=void 0!==Lt()&&vt()(e)||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){var n;if(!e)return;if("string"==typeof e)return Zt(e,t);var r=ht()(n=Object.prototype.toString.call(e)).call(n,8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return mt()(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Zt(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,o=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw o}}}}function Zt(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function qt(e){var t=function(){if("undefined"==typeof Reflect||!fe())return!1;if(fe().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(fe()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,be.Z)(e);if(t){var i=(0,be.Z)(this).constructor;n=fe()(r,arguments,i)}else n=r.apply(this,arguments);return(0,ve.Z)(this,n)}}var Vt=Lt()("TimeoutError"),Wt=function(e){(0,ye.Z)(n,e);var t=qt(n);function n(){return(0,pe.Z)(this,n),t.call(this,"Authorization timed out")}return n}(Ot(Error));Wt.prototype[Vt]=!0;var Gt=Nt({tries:2,when:function(e){return e[Vt]}}),$t={},Yt=0,Kt=L()(at()("AUTH_SERVICE_URI"),(function(e){window.addEventListener("message",(function(t){var n=new(te())(e.AUTH_SERVICE_URI,window.location.origin).origin;if(t.origin===n){var r=t.data,i=(r=void 0===r?{}:r).access_token,o=r.error,a=r.error_description,s=r.id_token,u=r.state,c=$t[u];c&&(o?c.reject(new Error([o,a].join(", "))):c.resolve({access_token:i,id_token:s}))}}))}));var Xt=function(e,t){return[e.AUTH_SERVICE_URI,t].join("|")};var Qt,Jt,en=S()(3,(Qt=Gt((function(e,t,n){return new(Pe())((function(r,i){var o=W()((function(){delete $t[a],document.body.removeChild(u)}));Kt(e);var a=Yt++,s=se(),u=document.createElement("iframe");return u.style.display="none",document.body.appendChild(u),Pe()((function(t,r){var i=Y(),o={resolve:r,reject:t};$t[a]=o,u.addEventListener("error",Mt()(t,at()("error"))),u.src=ce({client_id:e.OKTA_CLIENT_ID,issuer:i?e.HEYOKRA_OIDC_ISSUER_URI:e.OIDC_ISSUER_URI,nonce:s,redirect_uri:e.REDIRECT_URI,response_mode:i?"post_message":"okta_post_message",scope:e.OIDC_SCOPE,sessionToken:n,state:a})})).race(Pe().rejectAfter(5e3,new Wt)).chain((function(e){var n,r=e.id_token,i=e.access_token,o=r?zt(r):null;return s!==o.nonce?Pe().Reject(new Error(R()(n="Expected nonce ".concat(s," but received ")).call(n,o.nonce))):(t.set(r,i),Pe().of(t.get()))})).bimap(o,o).fork(r,i,o)}))})),Jt={},function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return Pe()((function(e,n){var r={resolve:n,reject:e},i=Xt.apply(void 0,t),o=Lt()();null==Jt[i]&&(Jt[i]={listeners:new(_t())});var a=Jt[i];if(a.listeners.set(o,r),1===a.listeners.size){var s=function(e){return function(t){var n,r,o=[],s=Ht(It()(n=a.listeners).call(n));try{for(s.s();!(r=s.n()).done;){var u=r.value;try{u[e](t)}catch(e){o.push(e)}}}catch(e){s.e(e)}finally{s.f()}if(delete Jt[i],o.length>0)throw o[0]}};a.cancel=Qt.apply(void 0,t).fork(s("reject"),s("resolve"))}return function(){a.listeners.delete(o),0===a.listeners.size&&a.cancel&&a.cancel()}}))})),tn=Ee().reject.bind(Ee()),nn=function(e){return e instanceof Response},rn=function(e){return ut()(e,"status")},on=He()(nn,rn(nt()(500))),an=qe()(nn),sn=We()($()(at()("ok"),tn),(function(e){return window.fetch(e.clone())})),un=Fe()({when:$e()(on,an),tries:3},sn),cn=dt()(2,(function(e){return He()(Re()(Qe()("OKTA_CLIENT_ID",e)),rn(De()(y()(Ke(),[401,403]))))})),ln=it()([],["roles"]),fn=it()("",["subscription","status"]),dn=g()((function(e,t,n){var r,i,o=(0,Se.Z)(n,2)[1],a=Ce()(r=[t,o]).call(r,ln),s=(0,Se.Z)(a,2),u=s[0],c=s[1],l=Ce()(i=[t,o]).call(i,fn),f=(0,Se.Z)(l,2),d=f[0],p=f[1];lt()(u,c).length>0&&e.emit("change:roles",o,t),d!==p&&e.emit("change:status",o,t)})),pn=g()((function(e,t,n){var r,i=t.RISE_ACCOUNTS_URI;return function(e){var t;return Ae()(t=window.location.hostname).call(t,e)}(t.RISE_DOMAIN)&&i&&Ae()(r=n.message).call(r,"redirect_uri")?Be()({method:"GET",url:"".concat(i,"/api/subdomain_active")}).chain((function(t){return!1===t.data?e.emit("change:subdomain"):e.emit("unauthorized",n),Pe().Rejected(n)})).toPromise():(n instanceof DOMException&&"AbortError"===n.name||e.emit("unauthorized",n),Ee().reject(n))})),hn=g()((function(e,t,n,r){if(null!=n&&n.sub!==r[1].sub)throw e.emit("unauthorized",t),t;return r})),gn=g()((function(e,t,n,r,i){var o,a,s=n.get(),u=(0,Se.Z)(s,2)[1];return(o=en(t,n,void 0),a=r.signal,new(Ee())((function(e,t){if(a instanceof AbortSignal){var n=function(){return t(new DOMException("Aborted","AbortError"))};if(a.aborted)n();else{var r=Function.prototype,i=function(){return r()};a.addEventListener("abort",i);var s=function(e){return function(t){a.removeEventListener("abort",i),e(t)}};r=o.fork(s(t),s(e),s(n))}}else o.fork(t,e)}))).then(hn(e,i,u),pn(e,t)).then(W()(dn(e,u))).then((function(){return un(r)}))})),mn=dt()(5,(function(e,t,n,r){return et()(cn(t),gn(e,t,n,r),tn)})),yn=$()(nn,tn),vn=function(e){return function(t,n,r,i){var o=new Request(r,i);return un(o).catch(mn(e,t,n,o)).catch(yn)}},bn=n(51829),_n=n.n(bn),wn=n(19623);function Tn(e){return null!=e&&"object"===(0,wn.Z)(e)&&!0===e["@@functional/placeholder"]}function xn(e){return function t(n){return 0===arguments.length||Tn(n)?t:e.apply(this,arguments)}}function Sn(e){return function t(n,r){switch(arguments.length){case 0:return t;case 1:return Tn(n)?t:xn((function(t){return e(n,t)}));default:return Tn(n)&&Tn(r)?t:Tn(n)?xn((function(t){return e(t,r)})):Tn(r)?xn((function(t){return e(n,t)})):e(n,r)}}}var kn=Sn((function(e,t){for(var n={},r=0;r<e.length;)e[r]in t&&(n[e[r]]=t[e[r]]),r+=1;return n})),En=n(88541),On=S()(3,(function(){return en.apply(void 0,arguments).toPromise()})),Cn=new(J())(window.location.hash.substr(1)),Ln=Cn.get("id_token"),An=Cn.get("access_token");function In(e,t){return Pn.apply(this,arguments)}function Pn(){return(Pn=(0,_.Z)(T().mark((function e(t,n){return T().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!Ln){e.next=5;break}n.set(Ln,An),Ln=An=void 0,e.next=8;break;case 5:if(n.get()[0]){e.next=8;break}return e.next=8,On(t,n,void 0);case 8:return e.abrupt("return",n.get());case 9:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function Mn(e,t){return Rn.apply(this,arguments)}function Rn(){return(Rn=(0,_.Z)(T().mark((function e(t,n){return T().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n.clear(),e.next=3,In(t,n);case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function jn(e){var t=function(){if("undefined"==typeof Reflect||!fe())return!1;if(fe().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(fe()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,be.Z)(e);if(t){var i=(0,be.Z)(this).constructor;n=fe()(r,arguments,i)}else n=r.apply(this,arguments);return(0,ve.Z)(this,n)}}function Dn(e,t){var n=void 0!==Lt()&&vt()(e)||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){var n;if(!e)return;if("string"==typeof e)return Nn(e,t);var r=ht()(n=Object.prototype.toString.call(e)).call(n,8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return mt()(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Nn(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,o=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw o}}}}function Nn(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}Ln&&(Cn.delete("id_token"),window.history.replaceState(null,null,"#".concat(Cn.toString()))),An&&(Cn.delete("access_token"),Cn.delete("expires_in"),Cn.delete("scope"),Cn.delete("token_type"),window.history.replaceState(null,null,"#".concat(Cn.toString())));var Bn=function(){function e(t,n){(0,pe.Z)(this,e),this._emitErrorDelegate=this._emitError.bind(this),this._initDelegate=this._init.bind(this),this._onErrorDelegate=this._onError.bind(this),this._resetRetryTimesDelegate=this._resetRetryTimes.bind(this),this._onerror=this._onmessage=this._onopen=Function.prototype,this._env=t,this._state=n,this._errorEmitter=new(we()),this._closed=!1;for(var r=arguments.length,i=new Array(r>2?r-2:0),o=2;o<r;o++)i[o-2]=arguments[o];this._params=i,this._listeners={},this._resetRetryTimes(),this._init()}return(0,he.Z)(e,[{key:"_emitError",value:function(e){this._errorEmitter.emit("error",new ErrorEvent("error",{colno:e.colno,error:e,filename:e.filename,lineno:e.lineno,message:e.message}))}},{key:"_init",value:function(){if(!this._closed)for(var e in this._source=Et(En.EventSourcePolyfill,(0,de.Z)(this._params)),this._source.addEventListener("error",this._onErrorDelegate),this._source.addEventListener("open",this._resetRetryTimesDelegate),this._source.onerror=this._onerror,this._source.onmessage=this._onmessage,this._source.onopen=this._onopen,this._listeners){var t,n=Dn(this._listeners[e]);try{for(n.s();!(t=n.n()).done;){var r=t.value;this._source.addEventListener(e,r)}}catch(e){n.e(e)}finally{n.f()}}}},{key:"_onError",value:function(e){e.status>=500&&this._retryAttempts>0?(this._retryTimeout=setTimeout(this._initDelegate,this._retryIn),this._retryAttempts--,this._retryIn=250*Math.pow(2,2-this._retryAttempts+1)):401!==e.status&&403!==e.status||!this._retryAuthz?this._errorEmitter.emit("error",e):(Mn(this._env,this._state).then(this._initDelegate).catch(this._emitErrorDelegate),this._retryAuthz=!1)}},{key:"_resetRetryTimes",value:function(){this._retryAttempts=2,this._retryAuthz=!0,this._retryIn=250}},{key:"addEventListener",value:function(e,t){"error"===e?this._errorEmitter.on("error",t):(this._listeners[e]=this._listeners[e]||[],this._listeners[e].push(t),this._source.addEventListener(e,t))}},{key:"close",value:function(){return this._closed=!0,clearTimeout(this._retryTimeout),this._source.close()}},{key:"dispatchEvent",value:function(){var e;return(e=this._source).dispatchEvent.apply(e,arguments)}},{key:"removeEventListener",value:function(e,t){"error"===e?this._errorEmitter.off("error",t):(_n()(this._listeners[e],[t]),this._source.removeEventListener(e,t))}}]),e}();function Un(e,t){return function(n){(0,ye.Z)(i,n);var r=jn(i);function i(){var n;(0,pe.Z)(this,i);for(var o=arguments.length,a=new Array(o),s=0;s<o;s++)a[s]=arguments[s];return r.call.apply(r,R()(n=[this,e,t]).call(n,a))}return i}(Bn)}["onerror","onmessage","onopen"].forEach((function(e){Object.defineProperty(Bn.prototype,e,{get:function(){return this["_".concat(e)]},set:function(t){this["_".concat(e)]=this._source[e]=t}})})),["readyState","url","withCredentials"].forEach((function(e){Object.defineProperty(Bn.prototype,e,{get:function(){return this._source[e]}})})),E()(Bn.prototype,kn(["CONNECTING","OPEN","CLOSED"],En.EventSourcePolyfill.prototype));var Fn=B()(["response","status"],404),zn=function(e){return A(e).post("/api/v1/sessions/me/lifecycle/refresh",void 0,{headers:{Prefer:"return=minimal"}})};function Hn(){return(Hn=(0,_.Z)(T().mark((function e(t,n,r,i){var o;return T().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!Y()){e.next=2;break}return e.abrupt("return");case 2:return o={base:1e3,tries:5,when:function(e){return!Fn(e)}},e.next=5,Fe()(o,zn)(r.AUTH_SERVICE_URI).then(W()((function(){return n.emit&&t.emit("session:refreshed")}))).catch((function(e){throw Fn(e)&&(i.clear(),n.emit&&t.emit("session:closed")),e}));case 5:case"end":return e.stop()}}),e)})))).apply(this,arguments)}var Zn=S()(4,(function(e,t,n,r){return Hn.apply(this,arguments)})),qn=n(29019),Vn=n.n(qn),Wn=n(12814),Gn=n.n(Wn);var $n=S()(2,(function(e,t){return e?Pe()((function(n,r){var i=!1,o=function(e){return function(t){i=!0,clearTimeout(s),e(t)}},a=t.fork(o(n),o(r),o(Function.prototype)),s=setTimeout((function(){i||(a(),n(new Error("Timeout after ".concat(e,"ms"))))}),e);return a})):t})),Yn=function(e){return Gn()(e,["response","status"])},Kn=g()((function(e){return He()(Re()(Qe()("OKTA_CLIENT_ID",e)),Yn(De()(y()(Ke(),[401,403]))))})),Xn=Yn(nt()(500)),Qn=qe()(Yn(Boolean)),Jn=function(e){var t={base:e.backoffBase,when:$e()(Xn,Qn),tries:5};return Nt(t,Be())(e)},er=it()([],["roles"]),tr=it()("",["subscription","status"]),nr=g()((function(e,t,n){var r,i,o=(0,Se.Z)(n,2)[1],a=Ce()(r=[t,o]).call(r,er),s=(0,Se.Z)(a,2),u=s[0],c=s[1],l=Ce()(i=[t,o]).call(i,tr),f=(0,Se.Z)(l,2),d=f[0],p=f[1];lt()(u,c).length>0&&e.emit("change:roles",o,t),d!==p&&e.emit("change:status",o,t)})),rr=g()((function(e,t,n){var r,i=t.RISE_ACCOUNTS_URI;return function(e){var t;return Ae()(t=window.location.hostname).call(t,e)}(t.RISE_DOMAIN)&&i&&Ae()(r=n.message).call(r,"redirect_uri")?Be()({method:"GET",url:"".concat(i,"/api/subdomain_active")}).chain((function(t){return!1===t.data?e.emit("change:subdomain"):e.emit("unauthorized",n),Pe().Rejected(n)})):(e.emit("unauthorized",n),Pe().Rejected(n))})),ir=g()((function(e,t,n,r){return null!=n&&n.sub!==r[1].sub?(e.emit("unauthorized",t),Pe().Rejected(t)):Pe().of(r)})),or=g()((function(e,t,n,r,i){var o,a=n.get(),s=(0,Se.Z)(a,2)[1];return Ce()(o=en(t,n,void 0).bichain(rr(e,t),ir(e,i,s))).call(o,W()(nr(e,s))).chain((function(){return Jn(r)}))})),ar=dt()(4,(function(e,t,n,r){return et()(Kn(t),or(e,t,n,r),Pe().Rejected)})),sr=g()((function(e,t,n,r){return Jn(r).bichain(ar(e,t,n,r),Pe().of)})),ur=g()((function(e,t,n,r){return $n(r.timeout,sr(e,t,n,Vn()("timeout",r)))})),cr=function(e){return D()([1,"sub"],e.get())};function lr(){return(lr=(0,_.Z)(T().mark((function e(t,n,r,i){var o,a,s,u;return T().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return o=cr(r),e.next=3,X(t,{emit:!1},n,r);case 3:return e.prev=3,e.next=6,H(n,r,i);case 6:return a=e.sent,e.next=9,On(n,r,a);case 9:return s=e.sent,u=cr(r),o&&o!==u&&t.emit("session:closed"),e.abrupt("return",s);case 15:throw e.prev=15,e.t0=e.catch(3),o&&t.emit("session:closed"),e.t0;case 19:case"end":return e.stop()}}),e,null,[[3,15]])})))).apply(this,arguments)}var fr=S()(4,(function(e,t,n,r){return lr.apply(this,arguments)})),dr=n(88257);function pr(e){return dr.parse(document.cookie)[e]}var hr=S()(2,(function(e,t){var n=e.SESSION_COOKIE_DOMAIN||window.location.host;document.cookie=dr.serialize(t,"",{domain:n,expires:new Date(0),path:"/",secure:!0})}));var gr=S()(3,(function(e,t,n){var r=(0,Se.Z)(n,1)[0];if(t){var i=e.SESSION_COOKIE_DOMAIN||window.location.host;document.cookie=dr.serialize(t,r,{domain:i,path:"/",secure:!0})}}));function mr(e,t){var n=i()(e);if(a()){var r=a()(e);t&&(r=u()(r).call(r,(function(t){return l()(e,t).enumerable}))),n.push.apply(n,r)}return n}function yr(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?mr(Object(n),!0).forEach((function(t){(0,p.Z)(e,t,n[t])})):d()?Object.defineProperties(e,d()(n)):mr(Object(n)).forEach((function(t){Object.defineProperty(e,t,l()(n,t))}))}return e}var vr=["addListener","listenerCount","listeners","off","on","once","removeAllListeners","removeListener"],br=g()((function(e,t,n){return b()(n,[e,t])}));function _r(e){var t,n=new xe,r=function(e){return{clear:function(){hr(e,e.SESSION_COOKIE_NAME),hr(e,e.ACCESS_COOKIE_NAME)},get:function(){var t=pr(e.SESSION_COOKIE_NAME),n=pr(e.ACCESS_COOKIE_NAME);return[t,t?zt(t):null,n,n?zt(n):null]},set:function(t,n){var r=t?zt(t):null,i=n?zt(n):null;gr(e,e.SESSION_COOKIE_NAME,[t,r]),gr(e,e.ACCESS_COOKIE_NAME,[n,i])}}}(e);return yr(yr({getAuthorizationUrl:ce,EventSource:Un(e,r)},(t=n,vr.reduce((function(e,n){return e[n]=t[n].bind(t),e}),{}))),y()(br(e,r),{authenticate:H,closeSession:X(n,{emit:!0}),fetch:vn(n),refreshSession:Zn(n,{emit:!1}),request:ur(n),resetSession:Mn,resumeSession:In,startSession:fr(n)}))}},93007:function(e){"use strict";var t=function(e,t,n){var r=e.length;if(r==t)return e;for(var i=t-r,o="",a=1;a<=i;a++)o+=n;return o+e};e.exports=function(e){(null==e||e<1)&&(e=15);var n,r=parseInt(t("",e,"9")),i=0;return function(){var o=Math.floor(Math.random()*r);return o==n?i++:(i=0,n=o),t("".concat(o+=i),e,"0")}}},79742:function(e,t){"use strict";t.byteLength=function(e){var t=u(e),n=t[0],r=t[1];return 3*(n+r)/4-r},t.toByteArray=function(e){var t,n,o=u(e),a=o[0],s=o[1],c=new i(function(e,t,n){return 3*(t+n)/4-n}(0,a,s)),l=0,f=s>0?a-4:a;for(n=0;n<f;n+=4)t=r[e.charCodeAt(n)]<<18|r[e.charCodeAt(n+1)]<<12|r[e.charCodeAt(n+2)]<<6|r[e.charCodeAt(n+3)],c[l++]=t>>16&255,c[l++]=t>>8&255,c[l++]=255&t;2===s&&(t=r[e.charCodeAt(n)]<<2|r[e.charCodeAt(n+1)]>>4,c[l++]=255&t);1===s&&(t=r[e.charCodeAt(n)]<<10|r[e.charCodeAt(n+1)]<<4|r[e.charCodeAt(n+2)]>>2,c[l++]=t>>8&255,c[l++]=255&t);return c},t.fromByteArray=function(e){for(var t,r=e.length,i=r%3,o=[],a=16383,s=0,u=r-i;s<u;s+=a)o.push(c(e,s,s+a>u?u:s+a));1===i?(t=e[r-1],o.push(n[t>>2]+n[t<<4&63]+"==")):2===i&&(t=(e[r-2]<<8)+e[r-1],o.push(n[t>>10]+n[t>>4&63]+n[t<<2&63]+"="));return o.join("")};for(var n=[],r=[],i="undefined"!=typeof Uint8Array?Uint8Array:Array,o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=0,s=o.length;a<s;++a)n[a]=o[a],r[o.charCodeAt(a)]=a;function u(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var n=e.indexOf("=");return-1===n&&(n=t),[n,n===t?0:4-n%4]}function c(e,t,r){for(var i,o,a=[],s=t;s<r;s+=3)i=(e[s]<<16&16711680)+(e[s+1]<<8&65280)+(255&e[s+2]),a.push(n[(o=i)>>18&63]+n[o>>12&63]+n[o>>6&63]+n[63&o]);return a.join("")}r["-".charCodeAt(0)]=62,r["_".charCodeAt(0)]=63},22175:function(e){e.exports=function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=0)}([function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(1);t.ERROR_BLOCK_NAME_TYPE="Block name should be a string",t.ERROR_BLOCK_NAME_EMPTY="Block name should be non-empty";var i={ns:"",el:"__",mod:"_",modValue:"_"},o=function(e){return"string"==typeof e},a=function(e){return"string"!=typeof e},s=function(e,t){for(var n=[],i=2;i<arguments.length;i++)n[i-2]=arguments[i];var o=r.assign({},t);return o.mixes=o.mixes.concat(n),f(o,e)},u=function(e,t,n){for(var i=[],o=3;o<arguments.length;o++)i[o-3]=arguments[o];var a=r.assign({},t),s=r.assign({},a.states||{});return s[n]=r.assign.apply(void 0,[{},s[n]||{}].concat(i)),a.states=s,f(a,e)},c=function(e,t,n,r){return String.prototype.split.call(l(e,t),n,r)},l=function(e,t){var n=t.name,r=t.mods,i=t.mixes,o=t.states,a=[n];if(r&&(a=a.concat(Object.keys(r).filter((function(e){return r[e]})).map((function(t){var i=r[t];return!0===i?n+e.mod+t:n+e.mod+t+e.modValue+i})))),o&&Object.keys(o).forEach((function(e){var t=o[e];a=a.concat(Object.keys(t).filter((function(e){return t[e]})).map((function(t){return e+t})))})),e.ns&&(a=a.map((function(t){return e.ns+t}))),i&&(a=a.concat(function(e){return void 0===e&&(e=[]),e.map((function(e){return Array.isArray(e)?e.join(" "):"object"==typeof e&&null!==e||"function"==typeof e?e.toString():"string"==typeof e?e:""})).filter((function(e){return!!e}))}(i))),e.classMap){var s=e.classMap;a=a.map((function(e){return s[e]||e}))}return a.join(" ")},f=function(e,t){return{mix:s.bind(null,t,e),split:c.bind(null,t,e),is:u.bind(null,t,e,"is-"),has:u.bind(null,t,e,"has-"),state:u.bind(null,t,e,"is-"),toString:l.bind(null,t,e)}},d=function(e,t){var n={name:e,mods:{},mixes:[],states:{"is-":{},"has-":{}}},i=function(e,t){for(var n=[],i=2;i<arguments.length;i++)n[i-2]=arguments[i];if(!n.length)return l(e,t);var s=r.assign({},t),u=n.filter(o).reduce((function(t,n){return t+e.el+n}),"");u&&(s.name=s.name+u);var c=n.filter(a).reduce((function(e,t){return r.assign(e,t)}),{});return s.mods=r.assign({},s.mods,c),f(s,e)}.bind(null,t,n);return i.mix=s.bind(null,t,n),i.split=c.bind(null,t,n),i.is=u.bind(null,t,n,"is-"),i.has=u.bind(null,t,n,"has-"),i.state=u.bind(null,t,n,"is-"),i.toString=l.bind(null,t,n),i};t.setup=function(e){return void 0===e&&(e={}),function(n){if("string"!=typeof n)throw new Error(t.ERROR_BLOCK_NAME_TYPE);var o=n.trim();if(!o)throw new Error(t.ERROR_BLOCK_NAME_EMPTY);return d(o,r.assign({},i,e))}},t.block=t.setup(),t.default=t.block},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.assign=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];for(var r=0;r<t.length;r++){var i=t[r];for(var o in i)i.hasOwnProperty(o)&&(e[o]=i[o])}return e}}])},48764:function(e,t,n){"use strict";var r=n(79742),i=n(80645),o=n(5826);function a(){return u.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function s(e,t){if(a()<t)throw new RangeError("Invalid typed array length");return u.TYPED_ARRAY_SUPPORT?(e=new Uint8Array(t)).__proto__=u.prototype:(null===e&&(e=new u(t)),e.length=t),e}function u(e,t,n){if(!(u.TYPED_ARRAY_SUPPORT||this instanceof u))return new u(e,t,n);if("number"==typeof e){if("string"==typeof t)throw new Error("If encoding is specified then the first argument must be a string");return f(this,e)}return c(this,e,t,n)}function c(e,t,n,r){if("number"==typeof t)throw new TypeError('"value" argument must not be a number');return"undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer?function(e,t,n,r){if(t.byteLength,n<0||t.byteLength<n)throw new RangeError("'offset' is out of bounds");if(t.byteLength<n+(r||0))throw new RangeError("'length' is out of bounds");t=void 0===n&&void 0===r?new Uint8Array(t):void 0===r?new Uint8Array(t,n):new Uint8Array(t,n,r);u.TYPED_ARRAY_SUPPORT?(e=t).__proto__=u.prototype:e=d(e,t);return e}(e,t,n,r):"string"==typeof t?function(e,t,n){"string"==typeof n&&""!==n||(n="utf8");if(!u.isEncoding(n))throw new TypeError('"encoding" must be a valid string encoding');var r=0|h(t,n),i=(e=s(e,r)).write(t,n);i!==r&&(e=e.slice(0,i));return e}(e,t,n):function(e,t){if(u.isBuffer(t)){var n=0|p(t.length);return 0===(e=s(e,n)).length||t.copy(e,0,0,n),e}if(t){if("undefined"!=typeof ArrayBuffer&&t.buffer instanceof ArrayBuffer||"length"in t)return"number"!=typeof t.length||(r=t.length)!=r?s(e,0):d(e,t);if("Buffer"===t.type&&o(t.data))return d(e,t.data)}var r;throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}(e,t)}function l(e){if("number"!=typeof e)throw new TypeError('"size" argument must be a number');if(e<0)throw new RangeError('"size" argument must not be negative')}function f(e,t){if(l(t),e=s(e,t<0?0:0|p(t)),!u.TYPED_ARRAY_SUPPORT)for(var n=0;n<t;++n)e[n]=0;return e}function d(e,t){var n=t.length<0?0:0|p(t.length);e=s(e,n);for(var r=0;r<n;r+=1)e[r]=255&t[r];return e}function p(e){if(e>=a())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+a().toString(16)+" bytes");return 0|e}function h(e,t){if(u.isBuffer(e))return e.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!=typeof e&&(e=""+e);var n=e.length;if(0===n)return 0;for(var r=!1;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return z(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return H(e).length;default:if(r)return z(e).length;t=(""+t).toLowerCase(),r=!0}}function g(e,t,n){var r=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if((n>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return A(this,t,n);case"utf8":case"utf-8":return E(this,t,n);case"ascii":return C(this,t,n);case"latin1":case"binary":return L(this,t,n);case"base64":return k(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return I(this,t,n);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}function m(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function y(e,t,n,r,i){if(0===e.length)return-1;if("string"==typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=i?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(i)return-1;n=e.length-1}else if(n<0){if(!i)return-1;n=0}if("string"==typeof t&&(t=u.from(t,r)),u.isBuffer(t))return 0===t.length?-1:v(e,t,n,r,i);if("number"==typeof t)return t&=255,u.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):v(e,[t],n,r,i);throw new TypeError("val must be string, number or Buffer")}function v(e,t,n,r,i){var o,a=1,s=e.length,u=t.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(e.length<2||t.length<2)return-1;a=2,s/=2,u/=2,n/=2}function c(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}if(i){var l=-1;for(o=n;o<s;o++)if(c(e,o)===c(t,-1===l?0:o-l)){if(-1===l&&(l=o),o-l+1===u)return l*a}else-1!==l&&(o-=o-l),l=-1}else for(n+u>s&&(n=s-u),o=n;o>=0;o--){for(var f=!0,d=0;d<u;d++)if(c(e,o+d)!==c(t,d)){f=!1;break}if(f)return o}return-1}function b(e,t,n,r){n=Number(n)||0;var i=e.length-n;r?(r=Number(r))>i&&(r=i):r=i;var o=t.length;if(o%2!=0)throw new TypeError("Invalid hex string");r>o/2&&(r=o/2);for(var a=0;a<r;++a){var s=parseInt(t.substr(2*a,2),16);if(isNaN(s))return a;e[n+a]=s}return a}function _(e,t,n,r){return Z(z(t,e.length-n),e,n,r)}function w(e,t,n,r){return Z(function(e){for(var t=[],n=0;n<e.length;++n)t.push(255&e.charCodeAt(n));return t}(t),e,n,r)}function T(e,t,n,r){return w(e,t,n,r)}function x(e,t,n,r){return Z(H(t),e,n,r)}function S(e,t,n,r){return Z(function(e,t){for(var n,r,i,o=[],a=0;a<e.length&&!((t-=2)<0);++a)r=(n=e.charCodeAt(a))>>8,i=n%256,o.push(i),o.push(r);return o}(t,e.length-n),e,n,r)}function k(e,t,n){return 0===t&&n===e.length?r.fromByteArray(e):r.fromByteArray(e.slice(t,n))}function E(e,t,n){n=Math.min(e.length,n);for(var r=[],i=t;i<n;){var o,a,s,u,c=e[i],l=null,f=c>239?4:c>223?3:c>191?2:1;if(i+f<=n)switch(f){case 1:c<128&&(l=c);break;case 2:128==(192&(o=e[i+1]))&&(u=(31&c)<<6|63&o)>127&&(l=u);break;case 3:o=e[i+1],a=e[i+2],128==(192&o)&&128==(192&a)&&(u=(15&c)<<12|(63&o)<<6|63&a)>2047&&(u<55296||u>57343)&&(l=u);break;case 4:o=e[i+1],a=e[i+2],s=e[i+3],128==(192&o)&&128==(192&a)&&128==(192&s)&&(u=(15&c)<<18|(63&o)<<12|(63&a)<<6|63&s)>65535&&u<1114112&&(l=u)}null===l?(l=65533,f=1):l>65535&&(l-=65536,r.push(l>>>10&1023|55296),l=56320|1023&l),r.push(l),i+=f}return function(e){var t=e.length;if(t<=O)return String.fromCharCode.apply(String,e);var n="",r=0;for(;r<t;)n+=String.fromCharCode.apply(String,e.slice(r,r+=O));return n}(r)}t.Buffer=u,t.SlowBuffer=function(e){+e!=e&&(e=0);return u.alloc(+e)},t.INSPECT_MAX_BYTES=50,u.TYPED_ARRAY_SUPPORT=void 0!==n.g.TYPED_ARRAY_SUPPORT?n.g.TYPED_ARRAY_SUPPORT:function(){try{var e=new Uint8Array(1);return e.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===e.foo()&&"function"==typeof e.subarray&&0===e.subarray(1,1).byteLength}catch(e){return!1}}(),t.kMaxLength=a(),u.poolSize=8192,u._augment=function(e){return e.__proto__=u.prototype,e},u.from=function(e,t,n){return c(null,e,t,n)},u.TYPED_ARRAY_SUPPORT&&(u.prototype.__proto__=Uint8Array.prototype,u.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&u[Symbol.species]===u&&Object.defineProperty(u,Symbol.species,{value:null,configurable:!0})),u.alloc=function(e,t,n){return function(e,t,n,r){return l(t),t<=0?s(e,t):void 0!==n?"string"==typeof r?s(e,t).fill(n,r):s(e,t).fill(n):s(e,t)}(null,e,t,n)},u.allocUnsafe=function(e){return f(null,e)},u.allocUnsafeSlow=function(e){return f(null,e)},u.isBuffer=function(e){return!(null==e||!e._isBuffer)},u.compare=function(e,t){if(!u.isBuffer(e)||!u.isBuffer(t))throw new TypeError("Arguments must be Buffers");if(e===t)return 0;for(var n=e.length,r=t.length,i=0,o=Math.min(n,r);i<o;++i)if(e[i]!==t[i]){n=e[i],r=t[i];break}return n<r?-1:r<n?1:0},u.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},u.concat=function(e,t){if(!o(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return u.alloc(0);var n;if(void 0===t)for(t=0,n=0;n<e.length;++n)t+=e[n].length;var r=u.allocUnsafe(t),i=0;for(n=0;n<e.length;++n){var a=e[n];if(!u.isBuffer(a))throw new TypeError('"list" argument must be an Array of Buffers');a.copy(r,i),i+=a.length}return r},u.byteLength=h,u.prototype._isBuffer=!0,u.prototype.swap16=function(){var e=this.length;if(e%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)m(this,t,t+1);return this},u.prototype.swap32=function(){var e=this.length;if(e%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)m(this,t,t+3),m(this,t+1,t+2);return this},u.prototype.swap64=function(){var e=this.length;if(e%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)m(this,t,t+7),m(this,t+1,t+6),m(this,t+2,t+5),m(this,t+3,t+4);return this},u.prototype.toString=function(){var e=0|this.length;return 0===e?"":0===arguments.length?E(this,0,e):g.apply(this,arguments)},u.prototype.equals=function(e){if(!u.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e||0===u.compare(this,e)},u.prototype.inspect=function(){var e="",n=t.INSPECT_MAX_BYTES;return this.length>0&&(e=this.toString("hex",0,n).match(/.{2}/g).join(" "),this.length>n&&(e+=" ... ")),"<Buffer "+e+">"},u.prototype.compare=function(e,t,n,r,i){if(!u.isBuffer(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===r&&(r=0),void 0===i&&(i=this.length),t<0||n>e.length||r<0||i>this.length)throw new RangeError("out of range index");if(r>=i&&t>=n)return 0;if(r>=i)return-1;if(t>=n)return 1;if(this===e)return 0;for(var o=(i>>>=0)-(r>>>=0),a=(n>>>=0)-(t>>>=0),s=Math.min(o,a),c=this.slice(r,i),l=e.slice(t,n),f=0;f<s;++f)if(c[f]!==l[f]){o=c[f],a=l[f];break}return o<a?-1:a<o?1:0},u.prototype.includes=function(e,t,n){return-1!==this.indexOf(e,t,n)},u.prototype.indexOf=function(e,t,n){return y(this,e,t,n,!0)},u.prototype.lastIndexOf=function(e,t,n){return y(this,e,t,n,!1)},u.prototype.write=function(e,t,n,r){if(void 0===t)r="utf8",n=this.length,t=0;else if(void 0===n&&"string"==typeof t)r=t,n=this.length,t=0;else{if(!isFinite(t))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");t|=0,isFinite(n)?(n|=0,void 0===r&&(r="utf8")):(r=n,n=void 0)}var i=this.length-t;if((void 0===n||n>i)&&(n=i),e.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var o=!1;;)switch(r){case"hex":return b(this,e,t,n);case"utf8":case"utf-8":return _(this,e,t,n);case"ascii":return w(this,e,t,n);case"latin1":case"binary":return T(this,e,t,n);case"base64":return x(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return S(this,e,t,n);default:if(o)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),o=!0}},u.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var O=4096;function C(e,t,n){var r="";n=Math.min(e.length,n);for(var i=t;i<n;++i)r+=String.fromCharCode(127&e[i]);return r}function L(e,t,n){var r="";n=Math.min(e.length,n);for(var i=t;i<n;++i)r+=String.fromCharCode(e[i]);return r}function A(e,t,n){var r=e.length;(!t||t<0)&&(t=0),(!n||n<0||n>r)&&(n=r);for(var i="",o=t;o<n;++o)i+=F(e[o]);return i}function I(e,t,n){for(var r=e.slice(t,n),i="",o=0;o<r.length;o+=2)i+=String.fromCharCode(r[o]+256*r[o+1]);return i}function P(e,t,n){if(e%1!=0||e<0)throw new RangeError("offset is not uint");if(e+t>n)throw new RangeError("Trying to access beyond buffer length")}function M(e,t,n,r,i,o){if(!u.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>i||t<o)throw new RangeError('"value" argument is out of bounds');if(n+r>e.length)throw new RangeError("Index out of range")}function R(e,t,n,r){t<0&&(t=65535+t+1);for(var i=0,o=Math.min(e.length-n,2);i<o;++i)e[n+i]=(t&255<<8*(r?i:1-i))>>>8*(r?i:1-i)}function j(e,t,n,r){t<0&&(t=4294967295+t+1);for(var i=0,o=Math.min(e.length-n,4);i<o;++i)e[n+i]=t>>>8*(r?i:3-i)&255}function D(e,t,n,r,i,o){if(n+r>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function N(e,t,n,r,o){return o||D(e,0,n,4),i.write(e,t,n,r,23,4),n+4}function B(e,t,n,r,o){return o||D(e,0,n,8),i.write(e,t,n,r,52,8),n+8}u.prototype.slice=function(e,t){var n,r=this.length;if((e=~~e)<0?(e+=r)<0&&(e=0):e>r&&(e=r),(t=void 0===t?r:~~t)<0?(t+=r)<0&&(t=0):t>r&&(t=r),t<e&&(t=e),u.TYPED_ARRAY_SUPPORT)(n=this.subarray(e,t)).__proto__=u.prototype;else{var i=t-e;n=new u(i,void 0);for(var o=0;o<i;++o)n[o]=this[o+e]}return n},u.prototype.readUIntLE=function(e,t,n){e|=0,t|=0,n||P(e,t,this.length);for(var r=this[e],i=1,o=0;++o<t&&(i*=256);)r+=this[e+o]*i;return r},u.prototype.readUIntBE=function(e,t,n){e|=0,t|=0,n||P(e,t,this.length);for(var r=this[e+--t],i=1;t>0&&(i*=256);)r+=this[e+--t]*i;return r},u.prototype.readUInt8=function(e,t){return t||P(e,1,this.length),this[e]},u.prototype.readUInt16LE=function(e,t){return t||P(e,2,this.length),this[e]|this[e+1]<<8},u.prototype.readUInt16BE=function(e,t){return t||P(e,2,this.length),this[e]<<8|this[e+1]},u.prototype.readUInt32LE=function(e,t){return t||P(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},u.prototype.readUInt32BE=function(e,t){return t||P(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},u.prototype.readIntLE=function(e,t,n){e|=0,t|=0,n||P(e,t,this.length);for(var r=this[e],i=1,o=0;++o<t&&(i*=256);)r+=this[e+o]*i;return r>=(i*=128)&&(r-=Math.pow(2,8*t)),r},u.prototype.readIntBE=function(e,t,n){e|=0,t|=0,n||P(e,t,this.length);for(var r=t,i=1,o=this[e+--r];r>0&&(i*=256);)o+=this[e+--r]*i;return o>=(i*=128)&&(o-=Math.pow(2,8*t)),o},u.prototype.readInt8=function(e,t){return t||P(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},u.prototype.readInt16LE=function(e,t){t||P(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},u.prototype.readInt16BE=function(e,t){t||P(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},u.prototype.readInt32LE=function(e,t){return t||P(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},u.prototype.readInt32BE=function(e,t){return t||P(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},u.prototype.readFloatLE=function(e,t){return t||P(e,4,this.length),i.read(this,e,!0,23,4)},u.prototype.readFloatBE=function(e,t){return t||P(e,4,this.length),i.read(this,e,!1,23,4)},u.prototype.readDoubleLE=function(e,t){return t||P(e,8,this.length),i.read(this,e,!0,52,8)},u.prototype.readDoubleBE=function(e,t){return t||P(e,8,this.length),i.read(this,e,!1,52,8)},u.prototype.writeUIntLE=function(e,t,n,r){(e=+e,t|=0,n|=0,r)||M(this,e,t,n,Math.pow(2,8*n)-1,0);var i=1,o=0;for(this[t]=255&e;++o<n&&(i*=256);)this[t+o]=e/i&255;return t+n},u.prototype.writeUIntBE=function(e,t,n,r){(e=+e,t|=0,n|=0,r)||M(this,e,t,n,Math.pow(2,8*n)-1,0);var i=n-1,o=1;for(this[t+i]=255&e;--i>=0&&(o*=256);)this[t+i]=e/o&255;return t+n},u.prototype.writeUInt8=function(e,t,n){return e=+e,t|=0,n||M(this,e,t,1,255,0),u.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},u.prototype.writeUInt16LE=function(e,t,n){return e=+e,t|=0,n||M(this,e,t,2,65535,0),u.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):R(this,e,t,!0),t+2},u.prototype.writeUInt16BE=function(e,t,n){return e=+e,t|=0,n||M(this,e,t,2,65535,0),u.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):R(this,e,t,!1),t+2},u.prototype.writeUInt32LE=function(e,t,n){return e=+e,t|=0,n||M(this,e,t,4,4294967295,0),u.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):j(this,e,t,!0),t+4},u.prototype.writeUInt32BE=function(e,t,n){return e=+e,t|=0,n||M(this,e,t,4,4294967295,0),u.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):j(this,e,t,!1),t+4},u.prototype.writeIntLE=function(e,t,n,r){if(e=+e,t|=0,!r){var i=Math.pow(2,8*n-1);M(this,e,t,n,i-1,-i)}var o=0,a=1,s=0;for(this[t]=255&e;++o<n&&(a*=256);)e<0&&0===s&&0!==this[t+o-1]&&(s=1),this[t+o]=(e/a>>0)-s&255;return t+n},u.prototype.writeIntBE=function(e,t,n,r){if(e=+e,t|=0,!r){var i=Math.pow(2,8*n-1);M(this,e,t,n,i-1,-i)}var o=n-1,a=1,s=0;for(this[t+o]=255&e;--o>=0&&(a*=256);)e<0&&0===s&&0!==this[t+o+1]&&(s=1),this[t+o]=(e/a>>0)-s&255;return t+n},u.prototype.writeInt8=function(e,t,n){return e=+e,t|=0,n||M(this,e,t,1,127,-128),u.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},u.prototype.writeInt16LE=function(e,t,n){return e=+e,t|=0,n||M(this,e,t,2,32767,-32768),u.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):R(this,e,t,!0),t+2},u.prototype.writeInt16BE=function(e,t,n){return e=+e,t|=0,n||M(this,e,t,2,32767,-32768),u.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):R(this,e,t,!1),t+2},u.prototype.writeInt32LE=function(e,t,n){return e=+e,t|=0,n||M(this,e,t,4,2147483647,-2147483648),u.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):j(this,e,t,!0),t+4},u.prototype.writeInt32BE=function(e,t,n){return e=+e,t|=0,n||M(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),u.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):j(this,e,t,!1),t+4},u.prototype.writeFloatLE=function(e,t,n){return N(this,e,t,!0,n)},u.prototype.writeFloatBE=function(e,t,n){return N(this,e,t,!1,n)},u.prototype.writeDoubleLE=function(e,t,n){return B(this,e,t,!0,n)},u.prototype.writeDoubleBE=function(e,t,n){return B(this,e,t,!1,n)},u.prototype.copy=function(e,t,n,r){if(n||(n=0),r||0===r||(r=this.length),t>=e.length&&(t=e.length),t||(t=0),r>0&&r<n&&(r=n),r===n)return 0;if(0===e.length||0===this.length)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("sourceStart out of bounds");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),e.length-t<r-n&&(r=e.length-t+n);var i,o=r-n;if(this===e&&n<t&&t<r)for(i=o-1;i>=0;--i)e[i+t]=this[i+n];else if(o<1e3||!u.TYPED_ARRAY_SUPPORT)for(i=0;i<o;++i)e[i+t]=this[i+n];else Uint8Array.prototype.set.call(e,this.subarray(n,n+o),t);return o},u.prototype.fill=function(e,t,n,r){if("string"==typeof e){if("string"==typeof t?(r=t,t=0,n=this.length):"string"==typeof n&&(r=n,n=this.length),1===e.length){var i=e.charCodeAt(0);i<256&&(e=i)}if(void 0!==r&&"string"!=typeof r)throw new TypeError("encoding must be a string");if("string"==typeof r&&!u.isEncoding(r))throw new TypeError("Unknown encoding: "+r)}else"number"==typeof e&&(e&=255);if(t<0||this.length<t||this.length<n)throw new RangeError("Out of range index");if(n<=t)return this;var o;if(t>>>=0,n=void 0===n?this.length:n>>>0,e||(e=0),"number"==typeof e)for(o=t;o<n;++o)this[o]=e;else{var a=u.isBuffer(e)?e:z(new u(e,r).toString()),s=a.length;for(o=0;o<n-t;++o)this[o+t]=a[o%s]}return this};var U=/[^+\/0-9A-Za-z-_]/g;function F(e){return e<16?"0"+e.toString(16):e.toString(16)}function z(e,t){var n;t=t||1/0;for(var r=e.length,i=null,o=[],a=0;a<r;++a){if((n=e.charCodeAt(a))>55295&&n<57344){if(!i){if(n>56319){(t-=3)>-1&&o.push(239,191,189);continue}if(a+1===r){(t-=3)>-1&&o.push(239,191,189);continue}i=n;continue}if(n<56320){(t-=3)>-1&&o.push(239,191,189),i=n;continue}n=65536+(i-55296<<10|n-56320)}else i&&(t-=3)>-1&&o.push(239,191,189);if(i=null,n<128){if((t-=1)<0)break;o.push(n)}else if(n<2048){if((t-=2)<0)break;o.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;o.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;o.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return o}function H(e){return r.toByteArray(function(e){if((e=function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}(e).replace(U,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function Z(e,t,n,r){for(var i=0;i<r&&!(i+n>=t.length||i>=e.length);++i)t[i+n]=e[i];return i}},57028:function(e,t,n){"use strict";n.d(t,{Z:function(){return M}});var r=n(50713),i=n(23148),o=function(){if("undefined"!=typeof window){if(window.devicePixelRatio)return window.devicePixelRatio;var e=window.screen;if(e)return(e.deviceXDPI||1)/(e.logicalXDPI||1)}return 1}(),a=function(e){var t,n=[];for(e=[].concat(e);e.length;)"string"==typeof(t=e.pop())?n.unshift.apply(n,t.split("\n")):Array.isArray(t)?e.push.apply(e,t):(0,r.k)(e)||n.unshift(""+t);return n},s=function(e,t,n){var r,i=[].concat(t),o=i.length,a=e.font,s=0;for(e.font=n.string,r=0;r<o;++r)s=Math.max(e.measureText(i[r]).width,s);return e.font=a,{height:o*n.lineHeight,width:s}},u=function(e,t,n){return Math.max(e,Math.min(t,n))},c=function(e,t){var n,r,i,o,a=e.slice(),s=[];for(n=0,i=t.length;n<i;++n)o=t[n],-1===(r=a.indexOf(o))?s.push([o,1]):a.splice(r,1);for(n=0,i=a.length;n<i;++n)s.push([a[n],-1]);return s};function l(e,t){var n=t.x,r=t.y;if(null===n)return{x:0,y:-1};if(null===r)return{x:1,y:0};var i=e.x-n,o=e.y-r,a=Math.sqrt(i*i+o*o);return{x:a?i/a:0,y:a?o/a:-1}}function f(e,t,n){var r=0;return e<n.left?r|=1:e>n.right&&(r|=2),t<n.top?r|=8:t>n.bottom&&(r|=4),r}function d(e,t){var n,r,i=t.anchor,o=e;return t.clamp&&(o=function(e,t){for(var n,r,i,o=e.x0,a=e.y0,s=e.x1,u=e.y1,c=f(o,a,t),l=f(s,u,t);c|l&&!(c&l);)8&(n=c||l)?(r=o+(s-o)*(t.top-a)/(u-a),i=t.top):4&n?(r=o+(s-o)*(t.bottom-a)/(u-a),i=t.bottom):2&n?(i=a+(u-a)*(t.right-o)/(s-o),r=t.right):1&n&&(i=a+(u-a)*(t.left-o)/(s-o),r=t.left),n===c?c=f(o=r,a=i,t):l=f(s=r,u=i,t);return{x0:o,x1:s,y0:a,y1:u}}(o,t.area)),"start"===i?(n=o.x0,r=o.y0):"end"===i?(n=o.x1,r=o.y1):(n=(o.x0+o.x1)/2,r=(o.y0+o.y1)/2),function(e,t,n,r,i){switch(i){case"center":n=r=0;break;case"bottom":n=0,r=1;break;case"right":n=1,r=0;break;case"left":n=-1,r=0;break;case"top":n=0,r=-1;break;case"start":n=-n,r=-r;break;case"end":break;default:i*=Math.PI/180,n=Math.cos(i),r=Math.sin(i)}return{x:e,y:t,vx:n,vy:r}}(n,r,e.vx,e.vy,t.align)}var p=function(e,t){var n=(e.startAngle+e.endAngle)/2,r=Math.cos(n),i=Math.sin(n),o=e.innerRadius,a=e.outerRadius;return d({x0:e.x+r*o,y0:e.y+i*o,x1:e.x+r*a,y1:e.y+i*a,vx:r,vy:i},t)},h=function(e,t){var n=l(e,t.origin),r=n.x*e.options.radius,i=n.y*e.options.radius;return d({x0:e.x-r,y0:e.y-i,x1:e.x+r,y1:e.y+i,vx:n.x,vy:n.y},t)},g=function(e,t){var n=l(e,t.origin),r=e.x,i=e.y,o=0,a=0;return e.horizontal?(r=Math.min(e.x,e.base),o=Math.abs(e.base-e.x)):(i=Math.min(e.y,e.base),a=Math.abs(e.base-e.y)),d({x0:r,y0:i+a,x1:r+o,y1:i,vx:n.x,vy:n.y},t)},m=function(e,t){var n=l(e,t.origin);return d({x0:e.x,y0:e.y,x1:e.x+(e.width||0),y1:e.y+(e.height||0),vx:n.x,vy:n.y},t)},y=function(e){return Math.round(e*o)/o};function v(e,t){var n=t.chart.getDatasetMeta(t.datasetIndex).vScale;if(!n)return null;if(void 0!==n.xCenter&&void 0!==n.yCenter)return{x:n.xCenter,y:n.yCenter};var r=n.getBasePixel();return e.horizontal?{x:r,y:null}:{x:null,y:r}}function b(e,t,n){var r=n.backgroundColor,i=n.borderColor,o=n.borderWidth;(r||i&&o)&&(e.beginPath(),function(e,t,n,r,i,o){var a=Math.PI/2;if(o){var s=Math.min(o,i/2,r/2),u=t+s,c=n+s,l=t+r-s,f=n+i-s;e.moveTo(t,c),u<l&&c<f?(e.arc(u,c,s,-Math.PI,-a),e.arc(l,c,s,-a,0),e.arc(l,f,s,0,a),e.arc(u,f,s,a,Math.PI)):u<l?(e.moveTo(u,n),e.arc(l,c,s,-a,a),e.arc(u,c,s,a,Math.PI+a)):c<f?(e.arc(u,c,s,-Math.PI,0),e.arc(u,f,s,0,Math.PI)):e.arc(u,c,s,-Math.PI,Math.PI),e.closePath(),e.moveTo(t,n)}else e.rect(t,n,r,i)}(e,y(t.x)+o/2,y(t.y)+o/2,y(t.w)-o,y(t.h)-o,n.borderRadius),e.closePath(),r&&(e.fillStyle=r,e.fill()),i&&o&&(e.strokeStyle=i,e.lineWidth=o,e.lineJoin="miter",e.stroke()))}function _(e,t,n){var r=e.shadowBlur,i=n.stroked,o=y(n.x),a=y(n.y),s=y(n.w);i&&e.strokeText(t,o,a,s),n.filled&&(r&&i&&(e.shadowBlur=0),e.fillText(t,o,a,s),r&&i&&(e.shadowBlur=r))}var w=function(e,t,n,r){var i=this;i._config=e,i._index=r,i._model=null,i._rects=null,i._ctx=t,i._el=n};(0,r.a4)(w.prototype,{_modelize:function(e,t,n,o){var a,u=this,c=u._index,l=(0,r.a0)((0,r.a)([n.font,{}],o,c)),f=(0,r.a)([n.color,r.d.color],o,c);return{align:(0,r.a)([n.align,"center"],o,c),anchor:(0,r.a)([n.anchor,"center"],o,c),area:o.chart.chartArea,backgroundColor:(0,r.a)([n.backgroundColor,null],o,c),borderColor:(0,r.a)([n.borderColor,null],o,c),borderRadius:(0,r.a)([n.borderRadius,0],o,c),borderWidth:(0,r.a)([n.borderWidth,0],o,c),clamp:(0,r.a)([n.clamp,!1],o,c),clip:(0,r.a)([n.clip,!1],o,c),color:f,display:e,font:l,lines:t,offset:(0,r.a)([n.offset,4],o,c),opacity:(0,r.a)([n.opacity,1],o,c),origin:v(u._el,o),padding:(0,r.E)((0,r.a)([n.padding,4],o,c)),positioner:(a=u._el,a instanceof i.qi?p:a instanceof i.od?h:a instanceof i.ZL?g:m),rotation:(0,r.a)([n.rotation,0],o,c)*(Math.PI/180),size:s(u._ctx,t,l),textAlign:(0,r.a)([n.textAlign,"start"],o,c),textShadowBlur:(0,r.a)([n.textShadowBlur,0],o,c),textShadowColor:(0,r.a)([n.textShadowColor,f],o,c),textStrokeColor:(0,r.a)([n.textStrokeColor,f],o,c),textStrokeWidth:(0,r.a)([n.textStrokeWidth,0],o,c)}},update:function(e){var t,n,i,o=this,s=null,u=null,c=o._index,l=o._config,f=(0,r.a)([l.display,!0],e,c);f&&(t=e.dataset.data[c],n=(0,r.v)((0,r.Q)(l.formatter,[t,e]),t),(i=(0,r.k)(n)?[]:a(n)).length&&(u=function(e){var t=e.borderWidth||0,n=e.padding,r=e.size.height,i=e.size.width,o=-i/2,a=-r/2;return{frame:{x:o-n.left-t,y:a-n.top-t,w:i+n.width+2*t,h:r+n.height+2*t},text:{x:o,y:a,w:i,h:r}}}(s=o._modelize(f,i,l,e)))),o._model=s,o._rects=u},geometry:function(){return this._rects?this._rects.frame:{}},rotation:function(){return this._model?this._model.rotation:0},visible:function(){return this._model&&this._model.opacity},model:function(){return this._model},draw:function(e,t){var n,r=e.ctx,i=this._model,o=this._rects;this.visible()&&(r.save(),i.clip&&(n=i.area,r.beginPath(),r.rect(n.left,n.top,n.right-n.left,n.bottom-n.top),r.clip()),r.globalAlpha=u(0,i.opacity,1),r.translate(y(t.x),y(t.y)),r.rotate(i.rotation),b(r,o.frame,i),function(e,t,n,r){var i,o=r.textAlign,a=r.color,s=!!a,u=r.font,c=t.length,l=r.textStrokeColor,f=r.textStrokeWidth,d=l&&f;if(c&&(s||d))for(n=function(e,t,n){var r=n.lineHeight,i=e.w,o=e.x;return"center"===t?o+=i/2:"end"!==t&&"right"!==t||(o+=i),{h:r,w:i,x:o,y:e.y+r/2}}(n,o,u),e.font=u.string,e.textAlign=o,e.textBaseline="middle",e.shadowBlur=r.textShadowBlur,e.shadowColor=r.textShadowColor,s&&(e.fillStyle=a),d&&(e.lineJoin="round",e.lineWidth=f,e.strokeStyle=l),i=0,c=t.length;i<c;++i)_(e,t[i],{stroked:d,filled:s,w:n.w,x:n.x,y:n.y+n.h*i})}(r,i.lines,o.text,i),r.restore())}});var T=Number.MIN_SAFE_INTEGER||-9007199254740991,x=Number.MAX_SAFE_INTEGER||9007199254740991;function S(e,t,n){var r=Math.cos(n),i=Math.sin(n),o=t.x,a=t.y;return{x:o+r*(e.x-o)-i*(e.y-a),y:a+i*(e.x-o)+r*(e.y-a)}}function k(e,t){var n,r,i,o,a,s=x,u=T,c=t.origin;for(n=0;n<e.length;++n)i=(r=e[n]).x-c.x,o=r.y-c.y,a=t.vx*i+t.vy*o,s=Math.min(s,a),u=Math.max(u,a);return{min:s,max:u}}function E(e,t){var n=t.x-e.x,r=t.y-e.y,i=Math.sqrt(n*n+r*r);return{vx:(t.x-e.x)/i,vy:(t.y-e.y)/i,origin:e,ln:i}}var O=function(){this._rotation=0,this._rect={x:0,y:0,w:0,h:0}};function C(e,t,n){var r=t.positioner(e,t),i=r.vx,o=r.vy;if(!i&&!o)return{x:r.x,y:r.y};var a=n.w,s=n.h,u=t.rotation,c=Math.abs(a/2*Math.cos(u))+Math.abs(s/2*Math.sin(u)),l=Math.abs(a/2*Math.sin(u))+Math.abs(s/2*Math.cos(u)),f=1/Math.max(Math.abs(i),Math.abs(o));return c*=i*f,l*=o*f,c+=t.offset*i,l+=t.offset*o,{x:r.x+c,y:r.y+l}}(0,r.a4)(O.prototype,{center:function(){var e=this._rect;return{x:e.x+e.w/2,y:e.y+e.h/2}},update:function(e,t,n){this._rotation=n,this._rect={x:t.x+e.x,y:t.y+e.y,w:t.w,h:t.h}},contains:function(e){var t=this,n=t._rect;return!((e=S(e,t.center(),-t._rotation)).x<n.x-1||e.y<n.y-1||e.x>n.x+n.w+2||e.y>n.y+n.h+2)},intersects:function(e){var t,n,r,i=this._points(),o=e._points(),a=[E(i[0],i[1]),E(i[0],i[3])];for(this._rotation!==e._rotation&&a.push(E(o[0],o[1]),E(o[0],o[3])),t=0;t<a.length;++t)if(n=k(i,a[t]),r=k(o,a[t]),n.max<r.min||r.max<n.min)return!1;return!0},_points:function(){var e=this,t=e._rect,n=e._rotation,r=e.center();return[S({x:t.x,y:t.y},r,n),S({x:t.x+t.w,y:t.y},r,n),S({x:t.x+t.w,y:t.y+t.h},r,n),S({x:t.x,y:t.y+t.h},r,n)]}});var L={prepare:function(e){var t,n,r,i,o,a=[];for(t=0,r=e.length;t<r;++t)for(n=0,i=e[t].length;n<i;++n)o=e[t][n],a.push(o),o.$layout={_box:new O,_hidable:!1,_visible:!0,_set:t,_idx:o._index};return a.sort((function(e,t){var n=e.$layout,r=t.$layout;return n._idx===r._idx?r._set-n._set:r._idx-n._idx})),this.update(a),a},update:function(e){var t,n,r,i,o,a=!1;for(t=0,n=e.length;t<n;++t)i=(r=e[t]).model(),(o=r.$layout)._hidable=i&&"auto"===i.display,o._visible=r.visible(),a|=o._hidable;a&&function(e){var t,n,r,i,o,a,s;for(t=0,n=e.length;t<n;++t)(i=(r=e[t]).$layout)._visible&&(s=new Proxy(r._el,{get:(e,t)=>e.getProps([t],!0)[t]}),o=r.geometry(),a=C(s,r.model(),o),i._box.update(a,o,r.rotation()));(function(e,t){var n,r,i,o;for(n=e.length-1;n>=0;--n)for(i=e[n].$layout,r=n-1;r>=0&&i._visible;--r)(o=e[r].$layout)._visible&&i._box.intersects(o._box)&&t(i,o)})(e,(function(e,t){var n=e._hidable,r=t._hidable;n&&r||r?t._visible=!1:n&&(e._visible=!1)}))}(e)},lookup:function(e,t){var n,r;for(n=e.length-1;n>=0;--n)if((r=e[n].$layout)&&r._visible&&r._box.contains(t))return e[n];return null},draw:function(e,t){var n,r,i,o,a,s;for(n=0,r=t.length;n<r;++n)(o=(i=t[n]).$layout)._visible&&(a=i.geometry(),s=C(i._el,i.model(),a),o._box.update(s,a,i.rotation()),i.draw(e,s))}},A="$default";function I(e,t,n,i){if(t){var o,a=n.$context,s=n.$groups;t[s._set]&&(o=t[s._set][s._key])&&!0===(0,r.Q)(o,[a,i])&&(e.$datalabels._dirty=!0,n.update(a))}}function P(e,t){var n,r,i=e.$datalabels,o=i._listeners;if(o.enter||o.leave){if("mousemove"===t.type)r=L.lookup(i._labels,t);else if("mouseout"!==t.type)return;n=i._hovered,i._hovered=r,function(e,t,n,r,i){var o,a;(n||r)&&(n?r?n!==r&&(a=o=!0):a=!0:o=!0,a&&I(e,t.leave,n,i),o&&I(e,t.enter,r,i))}(e,o,n,r,t)}}var M={id:"datalabels",defaults:{align:"center",anchor:"center",backgroundColor:null,borderColor:null,borderRadius:0,borderWidth:0,clamp:!1,clip:!1,color:void 0,display:!0,font:{family:void 0,lineHeight:1.2,size:void 0,style:void 0,weight:null},formatter:function(e){if((0,r.k)(e))return null;var t,n,i,o=e;if((0,r.i)(e))if((0,r.k)(e.label))if((0,r.k)(e.r))for(o="",i=0,n=(t=Object.keys(e)).length;i<n;++i)o+=(0!==i?", ":"")+t[i]+": "+e[t[i]];else o=e.r;else o=e.label;return""+o},labels:void 0,listeners:{},offset:4,opacity:1,padding:{top:4,right:4,bottom:4,left:4},rotation:0,textAlign:"start",textStrokeColor:void 0,textStrokeWidth:0,textShadowBlur:0,textShadowColor:void 0},beforeInit:function(e){e.$datalabels={_actives:[]}},beforeUpdate:function(e){var t=e.$datalabels;t._listened=!1,t._listeners={},t._datasets=[],t._labels=[]},afterDatasetUpdate:function(e,t,n){var i,o,a,s,u,c,l,f,d=t.index,p=e.$datalabels,h=p._datasets[d]=[],g=e.isDatasetVisible(d),m=e.data.datasets[d],y=function(e,t){var n,i,o,a=e.datalabels,s=[];return!1===a?null:(!0===a&&(a={}),t=(0,r.a4)({},[t,a]),i=t.labels||{},o=Object.keys(i),delete t.labels,o.length?o.forEach((function(e){i[e]&&s.push((0,r.a4)({},[t,i[e],{_key:e}]))})):s.push(t),n=s.reduce((function(e,t){return(0,r.F)(t.listeners||{},(function(n,r){e[r]=e[r]||{},e[r][t._key||A]=n})),delete t.listeners,e}),{}),{labels:s,listeners:n})}(m,n),v=t.meta.data||[],b=e.ctx;for(b.save(),i=0,a=v.length;i<a;++i)if((l=v[i]).$datalabels=[],g&&l&&e.getDataVisibility(i)&&!l.skip)for(o=0,s=y.labels.length;o<s;++o)c=(u=y.labels[o])._key,(f=new w(u,b,l,i)).$groups={_set:d,_key:c||A},f.$context={active:!1,chart:e,dataIndex:i,dataset:m,datasetIndex:d},f.update(f.$context),l.$datalabels.push(f),h.push(f);b.restore(),(0,r.a4)(p._listeners,y.listeners,{merger:function(e,n,r){n[e]=n[e]||{},n[e][t.index]=r[e],p._listened=!0}})},afterUpdate:function(e){e.$datalabels._labels=L.prepare(e.$datalabels._datasets)},afterDatasetsDraw:function(e){L.draw(e,e.$datalabels._labels)},beforeEvent:function(e,t){if(e.$datalabels._listened){var n=t.event;switch(n.type){case"mousemove":case"mouseout":P(e,n);break;case"click":!function(e,t){var n=e.$datalabels,r=n._listeners.click,i=r&&L.lookup(n._labels,t);i&&I(e,r,i,t)}(e,n)}}},afterEvent:function(e){var t,n,r,i,o,a,s,u=e.$datalabels,l=u._actives,f=u._actives=e.getActiveElements(),d=c(l,f);for(t=0,n=d.length;t<n;++t)if((o=d[t])[1])for(r=0,i=(s=o[0].element.$datalabels||[]).length;r<i;++r)(a=s[r]).$context.active=1===o[1],a.update(a.$context);(u._dirty||d.length)&&(L.update(u._labels),e.render()),delete u._dirty}}},94184:function(e,t){var n;!function(){"use strict";var r={}.hasOwnProperty;function i(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var o=typeof n;if("string"===o||"number"===o)e.push(n);else if(Array.isArray(n))e.push(i.apply(null,n));else if("object"===o)for(var a in n)r.call(n,a)&&n[a]&&e.push(a)}}return e.join(" ")}e.exports?e.exports=i:void 0===(n=function(){return i}.apply(t,[]))||(e.exports=n)}()},76489:function(e,t){"use strict";t.parse=function(e,t){if("string"!=typeof e)throw new TypeError("argument str must be a string");for(var r={},o=t||{},s=e.split(i),u=o.decode||n,c=0;c<s.length;c++){var l=s[c],f=l.indexOf("=");if(!(f<0)){var d=l.substr(0,f).trim(),p=l.substr(++f,l.length).trim();'"'==p[0]&&(p=p.slice(1,-1)),null==r[d]&&(r[d]=a(p,u))}}return r},t.serialize=function(e,t,n){var i=n||{},a=i.encode||r;if("function"!=typeof a)throw new TypeError("option encode is invalid");if(!o.test(e))throw new TypeError("argument name is invalid");var s=a(t);if(s&&!o.test(s))throw new TypeError("argument val is invalid");var u=e+"="+s;if(null!=i.maxAge){var c=i.maxAge-0;if(isNaN(c))throw new Error("maxAge should be a Number");u+="; Max-Age="+Math.floor(c)}if(i.domain){if(!o.test(i.domain))throw new TypeError("option domain is invalid");u+="; Domain="+i.domain}if(i.path){if(!o.test(i.path))throw new TypeError("option path is invalid");u+="; Path="+i.path}if(i.expires){if("function"!=typeof i.expires.toUTCString)throw new TypeError("option expires is invalid");u+="; Expires="+i.expires.toUTCString()}i.httpOnly&&(u+="; HttpOnly");i.secure&&(u+="; Secure");if(i.sameSite){switch("string"==typeof i.sameSite?i.sameSite.toLowerCase():i.sameSite){case!0:u+="; SameSite=Strict";break;case"lax":u+="; SameSite=Lax";break;case"strict":u+="; SameSite=Strict";break;default:throw new TypeError("option sameSite is invalid")}}return u};var n=decodeURIComponent,r=encodeURIComponent,i=/; */,o=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/;function a(e,t){try{return t(e)}catch(t){return e}}},13099:function(e){e.exports=function(e){if("function"!=typeof e)throw TypeError(String(e)+" is not a function");return e}},51223:function(e,t,n){var r=n(5112)("unscopables"),i=n(70030),o=n(95185),a=Array.prototype;null==a[r]&&o(a,r,i(null)),e.exports=function(e){a[r][e]=!0}},31530:function(e,t,n){"use strict";var r=n(95866);e.exports=function(e,t,n){return t+(n?r(e,t,!0).length:1)}},25787:function(e){e.exports=function(e,t,n){if(!(e instanceof t))throw TypeError("Incorrect "+(n?n+" ":"")+"invocation");return e}},19670:function(e,t,n){var r=n(70111);e.exports=function(e){if(!r(e))throw TypeError(String(e)+" is not an object");return e}},90260:function(e,t,n){"use strict";var r,i=n(19781),o=n(17854),a=n(70111),s=n(86656),u=n(70648),c=n(95185),l=n(31320),f=n(3070).f,d=n(79518),p=n(27674),h=n(5112)("toStringTag"),g=n(69711)("TYPED_ARRAY_TAG"),m=o.DataView,y=m&&m.prototype,v=o.Int8Array,b=v&&v.prototype,_=o.Uint8ClampedArray,w=_&&_.prototype,T=v&&d(v),x=b&&d(b),S=Object.prototype,k=S.isPrototypeOf,E=!(!o.ArrayBuffer||!o.DataView),O=E&&!!p,C=!1,L={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},A=function(e){return a(e)&&s(L,u(e))};for(r in L)o[r]||(O=!1);if((!O||"function"!=typeof T||T===Function.prototype)&&(T=function(){throw TypeError("Incorrect invocation")},O))for(r in L)o[r]&&p(o[r],T);if((!O||!x||x===S)&&(x=T.prototype,O))for(r in L)o[r]&&p(o[r].prototype,x);if(O&&d(w)!==x&&p(w,x),i&&!s(x,h))for(r in C=!0,f(x,h,{get:function(){return a(this)?this[g]:void 0}}),L)o[r]&&c(o[r],g,r);E&&p&&d(y)!==S&&p(y,S),e.exports={NATIVE_ARRAY_BUFFER:E,NATIVE_ARRAY_BUFFER_VIEWS:O,TYPED_ARRAY_TAG:C&&g,aTypedArray:function(e){if(A(e))return e;throw TypeError("Target is not a typed array")},aTypedArrayConstructor:function(e){if(p){if(k.call(T,e))return e}else for(var t in L)if(s(L,r)){var n=o[t];if(n&&(e===n||k.call(n,e)))return e}throw TypeError("Target is not a typed array constructor")},exportProto:function(e,t,n){if(i){if(n)for(var r in L){var a=o[r];a&&s(a.prototype,e)&&delete a.prototype[e]}x[e]&&!n||l(x,e,n?t:O&&b[e]||t)}},exportStatic:function(e,t,n){var r,a;if(i){if(p){if(n)for(r in L)(a=o[r])&&s(a,e)&&delete a[e];if(T[e]&&!n)return;try{return l(T,e,n?t:O&&v[e]||t)}catch(e){}}for(r in L)!(a=o[r])||a[e]&&!n||l(a,e,t)}},isView:function(e){var t=u(e);return"DataView"===t||s(L,t)},isTypedArray:A,TypedArray:T,TypedArrayPrototype:x}},13331:function(e,t,n){"use strict";var r=n(17854),i=n(19781),o=n(90260).NATIVE_ARRAY_BUFFER,a=n(95185),s=n(12248),u=n(47293),c=n(25787),l=n(99958),f=n(17466),d=n(57067),p=n(8006).f,h=n(3070).f,g=n(21285),m=n(58003),y=n(29909),v=y.get,b=y.set,_="ArrayBuffer",w="DataView",T="Wrong index",x=r.ArrayBuffer,S=x,k=r.DataView,E=r.Math,O=r.RangeError,C=1/0,L=E.abs,A=E.pow,I=E.floor,P=E.log,M=E.LN2,R=function(e,t,n){var r,i,o,a=new Array(n),s=8*n-t-1,u=(1<<s)-1,c=u>>1,l=23===t?A(2,-24)-A(2,-77):0,f=e<0||0===e&&1/e<0?1:0,d=0;for((e=L(e))!=e||e===C?(i=e!=e?1:0,r=u):(r=I(P(e)/M),e*(o=A(2,-r))<1&&(r--,o*=2),(e+=r+c>=1?l/o:l*A(2,1-c))*o>=2&&(r++,o/=2),r+c>=u?(i=0,r=u):r+c>=1?(i=(e*o-1)*A(2,t),r+=c):(i=e*A(2,c-1)*A(2,t),r=0));t>=8;a[d++]=255&i,i/=256,t-=8);for(r=r<<t|i,s+=t;s>0;a[d++]=255&r,r/=256,s-=8);return a[--d]|=128*f,a},j=function(e,t){var n,r=e.length,i=8*r-t-1,o=(1<<i)-1,a=o>>1,s=i-7,u=r-1,c=e[u--],l=127&c;for(c>>=7;s>0;l=256*l+e[u],u--,s-=8);for(n=l&(1<<-s)-1,l>>=-s,s+=t;s>0;n=256*n+e[u],u--,s-=8);if(0===l)l=1-a;else{if(l===o)return n?NaN:c?-1/0:C;n+=A(2,t),l-=a}return(c?-1:1)*n*A(2,l-t)},D=function(e){return e[3]<<24|e[2]<<16|e[1]<<8|e[0]},N=function(e){return[255&e]},B=function(e){return[255&e,e>>8&255]},U=function(e){return[255&e,e>>8&255,e>>16&255,e>>24&255]},F=function(e){return R(e,23,4)},z=function(e){return R(e,52,8)},H=function(e,t){h(e.prototype,t,{get:function(){return v(this)[t]}})},Z=function(e,t,n,r){var i=d(+n),o=v(e);if(i+t>o.byteLength)throw O(T);var a=v(o.buffer).bytes,s=i+o.byteOffset,u=a.slice(s,s+t);return r?u:u.reverse()},q=function(e,t,n,r,i,o){var a=d(+n),s=v(e);if(a+t>s.byteLength)throw O(T);for(var u=v(s.buffer).bytes,c=a+s.byteOffset,l=r(+i),f=0;f<t;f++)u[c+f]=l[o?f:t-f-1]};if(o){if(!u((function(){x(1)}))||!u((function(){new x(-1)}))||u((function(){return new x,new x(1.5),new x(NaN),x.name!=_}))){for(var V,W=(S=function(e){return c(this,S),new x(d(e))}).prototype=x.prototype,G=p(x),$=0;G.length>$;)(V=G[$++])in S||a(S,V,x[V]);W.constructor=S}var Y=new k(new S(2)),K=k.prototype.setInt8;Y.setInt8(0,2147483648),Y.setInt8(1,2147483649),!Y.getInt8(0)&&Y.getInt8(1)||s(k.prototype,{setInt8:function(e,t){K.call(this,e,t<<24>>24)},setUint8:function(e,t){K.call(this,e,t<<24>>24)}},{unsafe:!0})}else S=function(e){c(this,S,_);var t=d(e);b(this,{bytes:g.call(new Array(t),0),byteLength:t}),i||(this.byteLength=t)},k=function(e,t,n){c(this,k,w),c(e,S,w);var r=v(e).byteLength,o=l(t);if(o<0||o>r)throw O("Wrong offset");if(o+(n=void 0===n?r-o:f(n))>r)throw O("Wrong length");b(this,{buffer:e,byteLength:n,byteOffset:o}),i||(this.buffer=e,this.byteLength=n,this.byteOffset=o)},i&&(H(S,"byteLength"),H(k,"buffer"),H(k,"byteLength"),H(k,"byteOffset")),s(k.prototype,{getInt8:function(e){return Z(this,1,e)[0]<<24>>24},getUint8:function(e){return Z(this,1,e)[0]},getInt16:function(e){var t=Z(this,2,e,arguments[1]);return(t[1]<<8|t[0])<<16>>16},getUint16:function(e){var t=Z(this,2,e,arguments[1]);return t[1]<<8|t[0]},getInt32:function(e){return D(Z(this,4,e,arguments[1]))},getUint32:function(e){return D(Z(this,4,e,arguments[1]))>>>0},getFloat32:function(e){return j(Z(this,4,e,arguments[1]),23)},getFloat64:function(e){return j(Z(this,8,e,arguments[1]),52)},setInt8:function(e,t){q(this,1,e,N,t)},setUint8:function(e,t){q(this,1,e,N,t)},setInt16:function(e,t){q(this,2,e,B,t,arguments[2])},setUint16:function(e,t){q(this,2,e,B,t,arguments[2])},setInt32:function(e,t){q(this,4,e,U,t,arguments[2])},setUint32:function(e,t){q(this,4,e,U,t,arguments[2])},setFloat32:function(e,t){q(this,4,e,F,t,arguments[2])},setFloat64:function(e,t){q(this,8,e,z,t,arguments[2])}});m(S,_),m(k,w),t.ArrayBuffer=S,t.DataView=k},1048:function(e,t,n){"use strict";var r=n(47908),i=n(51400),o=n(17466);e.exports=[].copyWithin||function(e,t){var n=r(this),a=o(n.length),s=i(e,a),u=i(t,a),c=arguments.length>2?arguments[2]:void 0,l=Math.min((void 0===c?a:i(c,a))-u,a-s),f=1;for(u<s&&s<u+l&&(f=-1,u+=l-1,s+=l-1);l-- >0;)u in n?n[s]=n[u]:delete n[s],s+=f,u+=f;return n}},21285:function(e,t,n){"use strict";var r=n(47908),i=n(51400),o=n(17466);e.exports=function(e){for(var t=r(this),n=o(t.length),a=arguments.length,s=i(a>1?arguments[1]:void 0,n),u=a>2?arguments[2]:void 0,c=void 0===u?n:i(u,n);c>s;)t[s++]=e;return t}},18533:function(e,t,n){"use strict";var r=[].forEach,i=n(77550)(0),o=n(36637)("forEach");e.exports=o?function(e){return i(this,e,arguments[1])}:r},48457:function(e,t,n){"use strict";var r=n(30244),i=n(47908),o=n(53411),a=n(97659),s=n(17466),u=n(86135),c=n(71246);e.exports=function(e){var t,n,l,f,d=i(e),p="function"==typeof this?this:Array,h=arguments.length,g=h>1?arguments[1]:void 0,m=void 0!==g,y=0,v=c(d);if(m&&(g=r(g,h>2?arguments[2]:void 0,2)),null==v||p==Array&&a(v))for(n=new p(t=s(d.length));t>y;y++)u(n,y,m?g(d[y],y):d[y]);else for(f=v.call(d),n=new p;!(l=f.next()).done;y++)u(n,y,m?o(f,g,[l.value,y],!0):l.value);return n.length=y,n}},41318:function(e,t,n){var r=n(45656),i=n(17466),o=n(51400);e.exports=function(e){return function(t,n,a){var s,u=r(t),c=i(u.length),l=o(a,c);if(e&&n!=n){for(;c>l;)if((s=u[l++])!=s)return!0}else for(;c>l;l++)if((e||l in u)&&u[l]===n)return e||l||0;return!e&&-1}}},86583:function(e,t,n){"use strict";var r=n(45656),i=n(99958),o=n(17466),a=[].lastIndexOf,s=!!a&&1/[1].lastIndexOf(1,-0)<0,u=n(36637)("lastIndexOf");e.exports=s||u?function(e){if(s)return a.apply(this,arguments)||0;var t=r(this),n=o(t.length),u=n-1;for(arguments.length>1&&(u=Math.min(u,i(arguments[1]))),u<0&&(u=n+u);u>=0;u--)if(u in t&&t[u]===e)return u||0;return-1}:a},81194:function(e,t,n){var r=n(47293),i=n(5112)("species");e.exports=function(e){return!r((function(){var t=[];return(t.constructor={})[i]=function(){return{foo:1}},1!==t[e](Boolean).foo}))}},77550:function(e,t,n){var r=n(30244),i=n(68361),o=n(47908),a=n(17466),s=n(65417);e.exports=function(e,t){var n=1==e,u=2==e,c=3==e,l=4==e,f=6==e,d=5==e||f,p=t||s;return function(t,s,h){for(var g,m,y=o(t),v=i(y),b=r(s,h,3),_=a(v.length),w=0,T=n?p(t,_):u?p(t,0):void 0;_>w;w++)if((d||w in v)&&(m=b(g=v[w],w,y),e))if(n)T[w]=m;else if(m)switch(e){case 3:return!0;case 5:return g;case 6:return w;case 2:T.push(g)}else if(l)return!1;return f?-1:c||l?l:T}}},65417:function(e,t,n){var r=n(70111),i=n(43157),o=n(5112)("species");e.exports=function(e,t){var n;return i(e)&&("function"!=typeof(n=e.constructor)||n!==Array&&!i(n.prototype)?r(n)&&null===(n=n[o])&&(n=void 0):n=void 0),new(void 0===n?Array:n)(0===t?0:t)}},30244:function(e,t,n){var r=n(13099);e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 0:return function(){return e.call(t)};case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,i){return e.call(t,n,r,i)}}return function(){return e.apply(t,arguments)}}},53411:function(e,t,n){var r=n(19670);e.exports=function(e,t,n,i){try{return i?t(r(n)[0],n[1]):t(n)}catch(t){var o=e.return;throw void 0!==o&&r(o.call(e)),t}}},17072:function(e,t,n){var r=n(5112)("iterator"),i=!1;try{var o=0,a={next:function(){return{done:!!o++}},return:function(){i=!0}};a[r]=function(){return this},Array.from(a,(function(){throw 2}))}catch(e){}e.exports=function(e,t){if(!t&&!i)return!1;var n=!1;try{var o={};o[r]=function(){return{next:function(){return{done:n=!0}}}},e(o)}catch(e){}return n}},84326:function(e){var t={}.toString;e.exports=function(e){return t.call(e).slice(8,-1)}},70648:function(e,t,n){var r=n(84326),i=n(5112)("toStringTag"),o="Arguments"==r(function(){return arguments}());e.exports=function(e){var t,n,a;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),i))?n:o?r(t):"Object"==(a=r(t))&&"function"==typeof t.callee?"Arguments":a}},95631:function(e,t,n){"use strict";var r=n(3070).f,i=n(70030),o=n(12248),a=n(30244),s=n(25787),u=n(20408),c=n(70654),l=n(96340),f=n(19781),d=n(62423).fastKey,p=n(29909),h=p.set,g=p.getterFor;e.exports={getConstructor:function(e,t,n,c){var l=e((function(e,r){s(e,l,t),h(e,{type:t,index:i(null),first:void 0,last:void 0,size:0}),f||(e.size=0),null!=r&&u(r,e[c],e,n)})),p=g(t),m=function(e,t,n){var r,i,o=p(e),a=y(e,t);return a?a.value=n:(o.last=a={index:i=d(t,!0),key:t,value:n,previous:r=o.last,next:void 0,removed:!1},o.first||(o.first=a),r&&(r.next=a),f?o.size++:e.size++,"F"!==i&&(o.index[i]=a)),e},y=function(e,t){var n,r=p(e),i=d(t);if("F"!==i)return r.index[i];for(n=r.first;n;n=n.next)if(n.key==t)return n};return o(l.prototype,{clear:function(){for(var e=p(this),t=e.index,n=e.first;n;)n.removed=!0,n.previous&&(n.previous=n.previous.next=void 0),delete t[n.index],n=n.next;e.first=e.last=void 0,f?e.size=0:this.size=0},delete:function(e){var t=this,n=p(t),r=y(t,e);if(r){var i=r.next,o=r.previous;delete n.index[r.index],r.removed=!0,o&&(o.next=i),i&&(i.previous=o),n.first==r&&(n.first=i),n.last==r&&(n.last=o),f?n.size--:t.size--}return!!r},forEach:function(e){for(var t,n=p(this),r=a(e,arguments.length>1?arguments[1]:void 0,3);t=t?t.next:n.first;)for(r(t.value,t.key,this);t&&t.removed;)t=t.previous},has:function(e){return!!y(this,e)}}),o(l.prototype,n?{get:function(e){var t=y(this,e);return t&&t.value},set:function(e,t){return m(this,0===e?0:e,t)}}:{add:function(e){return m(this,e=0===e?0:e,e)}}),f&&r(l.prototype,"size",{get:function(){return p(this).size}}),l},setStrong:function(e,t,n){var r=t+" Iterator",i=g(t),o=g(r);c(e,t,(function(e,t){h(this,{type:r,target:e,state:i(e),kind:t,last:void 0})}),(function(){for(var e=o(this),t=e.kind,n=e.last;n&&n.removed;)n=n.previous;return e.target&&(e.last=n=n?n.next:e.state.first)?"keys"==t?{value:n.key,done:!1}:"values"==t?{value:n.value,done:!1}:{value:[n.key,n.value],done:!1}:(e.target=void 0,{value:void 0,done:!0})}),n?"entries":"values",!n,!0),l(t)}}},29320:function(e,t,n){"use strict";var r=n(12248),i=n(62423).getWeakData,o=n(19670),a=n(70111),s=n(25787),u=n(20408),c=n(77550),l=n(86656),f=n(29909),d=f.set,p=f.getterFor,h=c(5),g=c(6),m=0,y=function(e){return e.frozen||(e.frozen=new v)},v=function(){this.entries=[]},b=function(e,t){return h(e.entries,(function(e){return e[0]===t}))};v.prototype={get:function(e){var t=b(this,e);if(t)return t[1]},has:function(e){return!!b(this,e)},set:function(e,t){var n=b(this,e);n?n[1]=t:this.entries.push([e,t])},delete:function(e){var t=g(this.entries,(function(t){return t[0]===e}));return~t&&this.entries.splice(t,1),!!~t}},e.exports={getConstructor:function(e,t,n,c){var f=e((function(e,r){s(e,f,t),d(e,{type:t,id:m++,frozen:void 0}),null!=r&&u(r,e[c],e,n)})),h=p(t),g=function(e,t,n){var r=h(e),a=i(o(t),!0);return!0===a?y(r).set(t,n):a[r.id]=n,e};return r(f.prototype,{delete:function(e){var t=h(this);if(!a(e))return!1;var n=i(e);return!0===n?y(t).delete(e):n&&l(n,t.id)&&delete n[t.id]},has:function(e){var t=h(this);if(!a(e))return!1;var n=i(e);return!0===n?y(t).has(e):n&&l(n,t.id)}}),r(f.prototype,n?{get:function(e){var t=h(this);if(a(e)){var n=i(e);return!0===n?y(t).get(e):n?n[t.id]:void 0}},set:function(e,t){return g(this,e,t)}}:{add:function(e){return g(this,e,!0)}}),f}}},77710:function(e,t,n){"use strict";var r=n(17854),i=n(54705),o=n(82109),a=n(31320),s=n(62423),u=n(20408),c=n(25787),l=n(70111),f=n(47293),d=n(17072),p=n(58003),h=n(79587);e.exports=function(e,t,n,g,m){var y=r[e],v=y&&y.prototype,b=y,_=g?"set":"add",w={},T=function(e){var t=v[e];a(v,e,"add"==e?function(e){return t.call(this,0===e?0:e),this}:"delete"==e?function(e){return!(m&&!l(e))&&t.call(this,0===e?0:e)}:"get"==e?function(e){return m&&!l(e)?void 0:t.call(this,0===e?0:e)}:"has"==e?function(e){return!(m&&!l(e))&&t.call(this,0===e?0:e)}:function(e,n){return t.call(this,0===e?0:e,n),this})};if(i(e,"function"!=typeof y||!(m||v.forEach&&!f((function(){(new y).entries().next()})))))b=n.getConstructor(t,e,g,_),s.REQUIRED=!0;else if(i(e,!0)){var x=new b,S=x[_](m?{}:-0,1)!=x,k=f((function(){x.has(1)})),E=d((function(e){new y(e)})),O=!m&&f((function(){for(var e=new y,t=5;t--;)e[_](t,t);return!e.has(-0)}));E||((b=t((function(t,n){c(t,b,e);var r=h(new y,t,b);return null!=n&&u(n,r[_],r,g),r}))).prototype=v,v.constructor=b),(k||O)&&(T("delete"),T("has"),g&&T("get")),(O||S)&&T(_),m&&v.clear&&delete v.clear}return w[e]=b,o({global:!0,forced:b!=y},w),p(b,e),m||n.setStrong(b,e,g),b}},99920:function(e,t,n){var r=n(86656),i=n(53887),o=n(31236),a=n(3070);e.exports=function(e,t){for(var n=i(t),s=a.f,u=o.f,c=0;c<n.length;c++){var l=n[c];r(e,l)||s(e,l,u(t,l))}}},84964:function(e,t,n){var r=n(5112)("match");e.exports=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[r]=!1,"/./"[e](t)}catch(e){}}return!1}},49920:function(e,t,n){e.exports=!n(47293)((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},14230:function(e,t,n){var r=n(84488),i=/"/g;e.exports=function(e,t,n,o){var a=String(r(e)),s="<"+t;return""!==n&&(s+=" "+n+'="'+String(o).replace(i,"&quot;")+'"'),s+">"+a+"</"+t+">"}},24994:function(e,t,n){"use strict";var r=n(13383).IteratorPrototype,i=n(70030),o=n(79114),a=n(58003),s=n(97497),u=function(){return this};e.exports=function(e,t,n){var c=t+" Iterator";return e.prototype=i(r,{next:o(1,n)}),a(e,c,!1,!0),s[c]=u,e}},79114:function(e){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},86135:function(e,t,n){"use strict";var r=n(57593),i=n(3070),o=n(79114);e.exports=function(e,t,n){var a=r(t);a in e?i.f(e,a,o(0,n)):e[a]=n}},38709:function(e,t,n){"use strict";var r=n(19670),i=n(57593);e.exports=function(e){if("string"!==e&&"number"!==e&&"default"!==e)throw TypeError("Incorrect hint");return i(r(this),"number"!==e)}},70654:function(e,t,n){"use strict";var r=n(82109),i=n(24994),o=n(79518),a=n(27674),s=n(58003),u=n(95185),c=n(31320),l=n(31913),f=n(5112)("iterator"),d=n(97497),p=n(13383),h=p.IteratorPrototype,g=p.BUGGY_SAFARI_ITERATORS,m="keys",y="values",v="entries",b=function(){return this};e.exports=function(e,t,n,p,_,w,T){i(n,t,p);var x,S,k,E=function(e){if(e===_&&I)return I;if(!g&&e in L)return L[e];switch(e){case m:case y:case v:return function(){return new n(this,e)}}return function(){return new n(this)}},O=t+" Iterator",C=!1,L=e.prototype,A=L[f]||L["@@iterator"]||_&&L[_],I=!g&&A||E(_),P="Array"==t&&L.entries||A;if(P&&(x=o(P.call(new e)),h!==Object.prototype&&x.next&&(l||o(x)===h||(a?a(x,h):"function"!=typeof x[f]&&u(x,f,b)),s(x,O,!0,!0),l&&(d[O]=b))),_==y&&A&&A.name!==y&&(C=!0,I=function(){return A.call(this)}),l&&!T||L[f]===I||u(L,f,I),d[t]=I,_)if(S={values:E(y),keys:w?I:E(m),entries:E(v)},T)for(k in S)(g||C||!(k in L))&&c(L,k,S[k]);else r({target:t,proto:!0,forced:g||C},S);return S}},97235:function(e,t,n){var r=n(40857),i=n(86656),o=n(96805),a=n(3070).f;e.exports=function(e){var t=r.Symbol||(r.Symbol={});i(t,e)||a(t,e,{value:o.f(e)})}},19781:function(e,t,n){e.exports=!n(47293)((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},80317:function(e,t,n){var r=n(70111),i=n(17854).document,o=r(i)&&r(i.createElement);e.exports=function(e){return o?i.createElement(e):{}}},48324:function(e){e.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},80748:function(e){e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},6294:function(e,t,n){var r=n(81956),i=n(25181),o=n(55296);e.exports=function(e){var t=r(e),n=i.f;if(n)for(var a,s=n(e),u=o.f,c=0;s.length>c;)u.call(e,a=s[c++])&&t.push(a);return t}},82109:function(e,t,n){var r=n(17854),i=n(31236).f,o=n(95185),a=n(31320),s=n(83505),u=n(99920),c=n(54705);e.exports=function(e,t){var n,l,f,d,p,h=e.target,g=e.global,m=e.stat;if(n=g?r:m?r[h]||s(h,{}):(r[h]||{}).prototype)for(l in t){if(d=t[l],f=e.noTargetGet?(p=i(n,l))&&p.value:n[l],!c(g?l:h+(m?".":"#")+l,e.forced)&&void 0!==f){if(typeof d==typeof f)continue;u(d,f)}(e.sham||f&&f.sham)&&o(d,"sham",!0),a(n,l,d,e)}}},47293:function(e){e.exports=function(e){try{return!!e()}catch(e){return!0}}},27007:function(e,t,n){"use strict";var r=n(95185),i=n(31320),o=n(47293),a=n(5112),s=n(22261),u=a("species"),c=!o((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")})),l=!o((function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var n="ab".split(e);return 2!==n.length||"a"!==n[0]||"b"!==n[1]}));e.exports=function(e,t,n,f){var d=a(e),p=!o((function(){var t={};return t[d]=function(){return 7},7!=""[e](t)})),h=p&&!o((function(){var t=!1,n=/a/;return n.exec=function(){return t=!0,null},"split"===e&&(n.constructor={},n.constructor[u]=function(){return n}),n[d](""),!t}));if(!p||!h||"replace"===e&&!c||"split"===e&&!l){var g=/./[d],m=n(d,""[e],(function(e,t,n,r,i){return t.exec===s?p&&!i?{done:!0,value:g.call(t,n,r)}:{done:!0,value:e.call(n,t,r)}:{done:!1}})),y=m[0],v=m[1];i(String.prototype,e,y),i(RegExp.prototype,d,2==t?function(e,t){return v.call(e,this,t)}:function(e){return v.call(e,this)}),f&&r(RegExp.prototype[d],"sham",!0)}}},6790:function(e,t,n){"use strict";var r=n(43157),i=n(17466),o=n(30244),a=function(e,t,n,s,u,c,l,f){for(var d,p=u,h=0,g=!!l&&o(l,f,3);h<s;){if(h in n){if(d=g?g(n[h],h,t):n[h],c>0&&r(d))p=a(e,t,d,i(d.length),p,c-1)-1;else{if(p>=9007199254740991)throw TypeError("Exceed the acceptable array length");e[p]=d}p++}h++}return p};e.exports=a},41301:function(e,t,n){"use strict";e.exports=n(31913)||!n(47293)((function(){var e=Math.random();__defineSetter__.call(null,e,(function(){})),delete n(17854)[e]}))},12098:function(e,t,n){var r=n(47293);e.exports=function(e){return r((function(){var t=""[e]('"');return t!==t.toLowerCase()||t.split('"').length>3}))}},8711:function(e,t,n){var r=n(47293),i=n(81361);e.exports=function(e){return r((function(){return!!i[e]()||"​…᠎"!="​…᠎"[e]()||i[e].name!==e}))}},76677:function(e,t,n){e.exports=!n(47293)((function(){return Object.isExtensible(Object.preventExtensions({}))}))},27065:function(e,t,n){"use strict";var r=n(13099),i=n(70111),o=[].slice,a={},s=function(e,t,n){if(!(t in a)){for(var r=[],i=0;i<t;i++)r[i]="a["+i+"]";a[t]=Function("C,a","return new C("+r.join(",")+")")}return a[t](e,n)};e.exports=Function.bind||function(e){var t=r(this),n=o.call(arguments,1),a=function(){var r=n.concat(o.call(arguments));return this instanceof a?s(t,r.length,r):t.apply(e,r)};return i(t.prototype)&&(a.prototype=t.prototype),a}},92521:function(e,t,n){e.exports=n(72309)("native-function-to-string",Function.toString)},35005:function(e,t,n){var r=n(40857),i=n(17854),o=function(e){return"function"==typeof e?e:void 0};e.exports=function(e,t){return arguments.length<2?o(r[e])||o(i[e]):r[e]&&r[e][t]||i[e]&&i[e][t]}},71246:function(e,t,n){var r=n(70648),i=n(5112)("iterator"),o=n(97497);e.exports=function(e){if(null!=e)return e[i]||e["@@iterator"]||o[r(e)]}},18554:function(e,t,n){var r=n(19670),i=n(71246);e.exports=function(e){var t=i(e);if("function"!=typeof t)throw TypeError(String(e)+" is not iterable");return r(t.call(e))}},17854:function(e){e.exports="object"==typeof window&&window&&window.Math==Math?window:"object"==typeof self&&self&&self.Math==Math?self:Function("return this")()},86656:function(e){var t={}.hasOwnProperty;e.exports=function(e,n){return t.call(e,n)}},3501:function(e){e.exports={}},95185:function(e,t,n){var r=n(3070),i=n(79114);e.exports=n(19781)?function(e,t,n){return r.f(e,t,i(1,n))}:function(e,t,n){return e[t]=n,e}},842:function(e,t,n){var r=n(17854);e.exports=function(e,t){var n=r.console;n&&n.error&&(1===arguments.length?n.error(e):n.error(e,t))}},60490:function(e,t,n){var r=n(17854).document;e.exports=r&&r.documentElement},64664:function(e,t,n){e.exports=!n(19781)&&!n(47293)((function(){return 7!=Object.defineProperty(n(80317)("div"),"a",{get:function(){return 7}}).a}))},68361:function(e,t,n){var r=n(47293),i=n(84326),o="".split;e.exports=r((function(){return!Object("z").propertyIsEnumerable(0)}))?function(e){return"String"==i(e)?o.call(e,""):Object(e)}:Object},79587:function(e,t,n){var r=n(70111),i=n(27674);e.exports=function(e,t,n){var o,a=t.constructor;return a!==n&&"function"==typeof a&&(o=a.prototype)!==n.prototype&&r(o)&&i&&i(e,o),e}},62423:function(e,t,n){var r=n(69711)("meta"),i=n(76677),o=n(70111),a=n(86656),s=n(3070).f,u=0,c=Object.isExtensible||function(){return!0},l=function(e){s(e,r,{value:{objectID:"O"+ ++u,weakData:{}}})},f=e.exports={REQUIRED:!1,fastKey:function(e,t){if(!o(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!a(e,r)){if(!c(e))return"F";if(!t)return"E";l(e)}return e[r].objectID},getWeakData:function(e,t){if(!a(e,r)){if(!c(e))return!0;if(!t)return!1;l(e)}return e[r].weakData},onFreeze:function(e){return i&&f.REQUIRED&&c(e)&&!a(e,r)&&l(e),e}};n(3501)[r]=!0},29909:function(e,t,n){var r,i,o,a=n(68536),s=n(70111),u=n(95185),c=n(86656),l=n(6200),f=n(3501),d=n(17854).WeakMap;if(a){var p=new d,h=p.get,g=p.has,m=p.set;r=function(e,t){return m.call(p,e,t),t},i=function(e){return h.call(p,e)||{}},o=function(e){return g.call(p,e)}}else{var y=l("state");f[y]=!0,r=function(e,t){return u(e,y,t),t},i=function(e){return c(e,y)?e[y]:{}},o=function(e){return c(e,y)}}e.exports={set:r,get:i,has:o,enforce:function(e){return o(e)?i(e):r(e,{})},getterFor:function(e){return function(t){var n;if(!s(t)||(n=i(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return n}}}},97659:function(e,t,n){var r=n(97497),i=n(5112)("iterator"),o=Array.prototype;e.exports=function(e){return void 0!==e&&(r.Array===e||o[i]===e)}},43157:function(e,t,n){var r=n(84326);e.exports=Array.isArray||function(e){return"Array"==r(e)}},54705:function(e,t,n){var r=n(47293),i=/#|\.prototype\./,o=function(e,t){var n=s[a(e)];return n==c||n!=u&&("function"==typeof t?r(t):!!t)},a=o.normalize=function(e){return String(e).replace(i,".").toLowerCase()},s=o.data={},u=o.NATIVE="N",c=o.POLYFILL="P";e.exports=o},18730:function(e,t,n){var r=n(70111),i=Math.floor;e.exports=function(e){return!r(e)&&isFinite(e)&&i(e)===e}},70111:function(e){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},31913:function(e){e.exports=!1},47850:function(e,t,n){var r=n(70111),i=n(84326),o=n(5112)("match");e.exports=function(e){var t;return r(e)&&(void 0!==(t=e[o])?!!t:"RegExp"==i(e))}},20408:function(e,t,n){var r=n(19670),i=n(97659),o=n(17466),a=n(30244),s=n(71246),u=n(53411),c={};(e.exports=function(e,t,n,l,f){var d,p,h,g,m,y=a(t,n,l?2:1);if(f)d=e;else{if("function"!=typeof(p=s(e)))throw TypeError("Target is not iterable");if(i(p)){for(h=0,g=o(e.length);g>h;h++)if((l?y(r(m=e[h])[0],m[1]):y(e[h]))===c)return c;return}d=p.call(e)}for(;!(m=d.next()).done;)if(u(d,y,m.value,l)===c)return c}).BREAK=c},13383:function(e,t,n){"use strict";var r,i,o,a=n(79518),s=n(95185),u=n(86656),c=n(31913),l=n(5112)("iterator"),f=!1;[].keys&&("next"in(o=[].keys())?(i=a(a(o)))!==Object.prototype&&(r=i):f=!0),null==r&&(r={}),c||u(r,l)||s(r,l,(function(){return this})),e.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:f}},97497:function(e){e.exports={}},66736:function(e){var t=Math.expm1;e.exports=!t||t(10)>22025.465794806718||t(10)<22025.465794806718||-2e-17!=t(-2e-17)?function(e){return 0==(e=+e)?e:e>-1e-6&&e<1e-6?e+e*e/2:Math.exp(e)-1}:t},26130:function(e,t,n){var r=n(64310),i=Math.pow,o=i(2,-52),a=i(2,-23),s=i(2,127)*(2-a),u=i(2,-126);e.exports=Math.fround||function(e){var t,n,i=Math.abs(e),c=r(e);return i<u?c*(i/u/a+1/o-1/o)*u*a:(n=(t=(1+a/o)*i)-(t-i))>s||n!=n?c*(1/0):c*n}},26513:function(e){e.exports=Math.log1p||function(e){return(e=+e)>-1e-8&&e<1e-8?e-e*e/2:Math.log(1+e)}},64310:function(e){e.exports=Math.sign||function(e){return 0==(e=+e)||e!=e?e:e<0?-1:1}},95948:function(e,t,n){var r,i,o,a,s,u,c,l=n(17854),f=n(31236).f,d=n(84326),p=n(20261).set,h=n(20227),g=l.MutationObserver||l.WebKitMutationObserver,m=l.process,y=l.Promise,v="process"==d(m),b=f(l,"queueMicrotask"),_=b&&b.value;_||(r=function(){var e,t;for(v&&(e=m.domain)&&e.exit();i;){t=i.fn,i=i.next;try{t()}catch(e){throw i?a():o=void 0,e}}o=void 0,e&&e.enter()},v?a=function(){m.nextTick(r)}:g&&!/(iPhone|iPod|iPad).*AppleWebKit/i.test(h)?(s=!0,u=document.createTextNode(""),new g(r).observe(u,{characterData:!0}),a=function(){u.data=s=!s}):y&&y.resolve?(c=y.resolve(void 0),a=function(){c.then(r)}):a=function(){p.call(l,r)}),e.exports=_||function(e){var t={fn:e,next:void 0};o&&(o.next=t),i||(i=t,a()),o=t}},30133:function(e,t,n){e.exports=!n(47293)((function(){return!String(Symbol())}))},590:function(e,t,n){var r=n(31913),i=n(5112)("iterator");e.exports=!n(47293)((function(){var e=new URL("b?e=1","http://a"),t=e.searchParams;return e.pathname="c%20d",r&&!e.toJSON||!t.sort||"http://a/c%20d?e=1"!==e.href||"1"!==t.get("e")||"a=1"!==String(new URLSearchParams("?a=1"))||!t[i]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("http://тест").host||"#%D0%B1"!==new URL("http://a#б").hash}))},68536:function(e,t,n){var r=n(92521),i=n(17854).WeakMap;e.exports="function"==typeof i&&/native code/.test(r.call(i))},78523:function(e,t,n){"use strict";var r=n(13099),i=function(e){var t,n;this.promise=new e((function(e,r){if(void 0!==t||void 0!==n)throw TypeError("Bad Promise constructor");t=e,n=r})),this.resolve=r(t),this.reject=r(n)};e.exports.f=function(e){return new i(e)}},77023:function(e,t,n){var r=n(17854).isFinite;e.exports=Number.isFinite||function(e){return"number"==typeof e&&r(e)}},21574:function(e,t,n){"use strict";var r=n(81956),i=n(25181),o=n(55296),a=n(47908),s=n(68361),u=Object.assign;e.exports=!u||n(47293)((function(){var e={},t={},n=Symbol(),i="abcdefghijklmnopqrst";return e[n]=7,i.split("").forEach((function(e){t[e]=e})),7!=u({},e)[n]||r(u({},t)).join("")!=i}))?function(e,t){for(var n=a(e),u=arguments.length,c=1,l=i.f,f=o.f;u>c;)for(var d,p=s(arguments[c++]),h=l?r(p).concat(l(p)):r(p),g=h.length,m=0;g>m;)f.call(p,d=h[m++])&&(n[d]=p[d]);return n}:u},70030:function(e,t,n){var r=n(19670),i=n(36048),o=n(80748),a=n(60490),s=n(80317),u=n(6200)("IE_PROTO"),c=function(){},l=function(){var e,t=s("iframe"),n=o.length;for(t.style.display="none",a.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write("<script>document.F=Object<\/script>"),e.close(),l=e.F;n--;)delete l.prototype[o[n]];return l()};e.exports=Object.create||function(e,t){var n;return null!==e?(c.prototype=r(e),n=new c,c.prototype=null,n[u]=e):n=l(),void 0===t?n:i(n,t)},n(3501)[u]=!0},36048:function(e,t,n){var r=n(19781),i=n(3070),o=n(19670),a=n(81956);e.exports=r?Object.defineProperties:function(e,t){o(e);for(var n,r=a(t),s=r.length,u=0;s>u;)i.f(e,n=r[u++],t[n]);return e}},3070:function(e,t,n){var r=n(19781),i=n(64664),o=n(19670),a=n(57593),s=Object.defineProperty;t.f=r?s:function(e,t,n){if(o(e),t=a(t,!0),o(n),i)try{return s(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},31236:function(e,t,n){var r=n(19781),i=n(55296),o=n(79114),a=n(45656),s=n(57593),u=n(86656),c=n(64664),l=Object.getOwnPropertyDescriptor;t.f=r?l:function(e,t){if(e=a(e),t=s(t,!0),c)try{return l(e,t)}catch(e){}if(u(e,t))return o(!i.f.call(e,t),e[t])}},1156:function(e,t,n){var r=n(45656),i=n(8006).f,o={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(e){return a&&"[object Window]"==o.call(e)?function(e){try{return i(e)}catch(e){return a.slice()}}(e):i(r(e))}},8006:function(e,t,n){var r=n(16324),i=n(80748).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,i)}},25181:function(e,t){t.f=Object.getOwnPropertySymbols},79518:function(e,t,n){var r=n(86656),i=n(47908),o=n(6200)("IE_PROTO"),a=n(49920),s=Object.prototype;e.exports=a?Object.getPrototypeOf:function(e){return e=i(e),r(e,o)?e[o]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?s:null}},16324:function(e,t,n){var r=n(86656),i=n(45656),o=n(41318)(!1),a=n(3501);e.exports=function(e,t){var n,s=i(e),u=0,c=[];for(n in s)!r(a,n)&&r(s,n)&&c.push(n);for(;t.length>u;)r(s,n=t[u++])&&(~o(c,n)||c.push(n));return c}},81956:function(e,t,n){var r=n(16324),i=n(80748);e.exports=Object.keys||function(e){return r(e,i)}},55296:function(e,t){"use strict";var n={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,i=r&&!n.call({1:2},1);t.f=i?function(e){var t=r(this,e);return!!t&&t.enumerable}:n},27674:function(e,t,n){var r=n(99475);e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(n,[]),t=n instanceof Array}catch(e){}return function(n,i){return r(n,i),t?e.call(n,i):n.__proto__=i,n}}():void 0)},44699:function(e,t,n){var r=n(81956),i=n(45656),o=n(55296).f;e.exports=function(e,t){for(var n,a=i(e),s=r(a),u=s.length,c=0,l=[];u>c;)o.call(a,n=s[c++])&&l.push(t?[n,a[n]]:a[n]);return l}},90288:function(e,t,n){"use strict";var r=n(70648),i={};i[n(5112)("toStringTag")]="z",e.exports="[object z]"!==String(i)?function(){return"[object "+r(this)+"]"}:i.toString},53887:function(e,t,n){var r=n(8006),i=n(25181),o=n(19670),a=n(17854).Reflect;e.exports=a&&a.ownKeys||function(e){var t=r.f(o(e)),n=i.f;return n?t.concat(n(e)):t}},3677:function(e,t,n){var r=n(17854).parseFloat,i=n(53111),o=n(81361),a=1/r(o+"-0")!=-1/0;e.exports=a?function(e){var t=i(String(e),3),n=r(t);return 0===n&&"-"==t.charAt(0)?-0:n}:r},88620:function(e,t,n){var r=n(17854).parseInt,i=n(53111),o=n(81361),a=/^[-+]?0[xX]/,s=8!==r(o+"08")||22!==r(o+"0x16");e.exports=s?function(e,t){var n=i(String(e),3);return r(n,t>>>0||(a.test(n)?16:10))}:r},40857:function(e,t,n){e.exports=n(17854)},12534:function(e){e.exports=function(e){try{return{error:!1,value:e()}}catch(e){return{error:!0,value:e}}}},69478:function(e,t,n){var r=n(19670),i=n(70111),o=n(78523);e.exports=function(e,t){if(r(e),i(t)&&t.constructor===e)return t;var n=o.f(e);return(0,n.resolve)(t),n.promise}},33611:function(e){"use strict";var t=2147483647,n=/[^\0-\u007E]/,r=/[\u002E\u3002\uFF0E\uFF61]/g,i="Overflow: input needs wider integers to process",o=Math.floor,a=String.fromCharCode,s=function(e){return e+22+75*(e<26)},u=function(e,t,n){var r=0;for(e=n?o(e/700):e>>1,e+=o(e/t);e>455;r+=36)e=o(e/35);return o(r+36*e/(e+38))},c=function(e){var n=[];e=function(e){for(var t=[],n=0,r=e.length;n<r;){var i=e.charCodeAt(n++);if(i>=55296&&i<=56319&&n<r){var o=e.charCodeAt(n++);56320==(64512&o)?t.push(((1023&i)<<10)+(1023&o)+65536):(t.push(i),n--)}else t.push(i)}return t}(e);var r,c,l=e.length,f=128,d=0,p=72;for(r=0;r<e.length;r++)(c=e[r])<128&&n.push(a(c));var h=n.length,g=h;for(h&&n.push("-");g<l;){var m=t;for(r=0;r<e.length;r++)(c=e[r])>=f&&c<m&&(m=c);var y=g+1;if(m-f>o((t-d)/y))throw RangeError(i);for(d+=(m-f)*y,f=m,r=0;r<e.length;r++){if((c=e[r])<f&&++d>t)throw RangeError(i);if(c==f){for(var v=d,b=36;;b+=36){var _=b<=p?1:b>=p+26?26:b-p;if(v<_)break;var w=v-_,T=36-_;n.push(a(s(_+w%T))),v=o(w/T)}n.push(a(s(v))),p=u(d,y,g==h),d=0,++g}}++d,++f}return n.join("")};e.exports=function(e){var t,i,o=[],a=e.toLowerCase().replace(r,".").split(".");for(t=0;t<a.length;t++)i=a[t],o.push(n.test(i)?"xn--"+c(i):i);return o.join(".")}},12248:function(e,t,n){var r=n(31320);e.exports=function(e,t,n){for(var i in t)r(e,i,t[i],n);return e}},31320:function(e,t,n){var r=n(17854),i=n(95185),o=n(86656),a=n(83505),s=n(92521),u=n(29909),c=u.get,l=u.enforce,f=String(s).split("toString");n(72309)("inspectSource",(function(e){return s.call(e)})),(e.exports=function(e,t,n,s){var u=!!s&&!!s.unsafe,c=!!s&&!!s.enumerable,d=!!s&&!!s.noTargetGet;"function"==typeof n&&("string"!=typeof t||o(n,"name")||i(n,"name",t),l(n).source=f.join("string"==typeof t?t:"")),e!==r?(u?!d&&e[t]&&(c=!0):delete e[t],c?e[t]=n:i(e,t,n)):c?e[t]=n:a(t,n)})(Function.prototype,"toString",(function(){return"function"==typeof this&&c(this).source||s.call(this)}))},97651:function(e,t,n){var r=n(84326),i=n(22261);e.exports=function(e,t){var n=e.exec;if("function"==typeof n){var o=n.call(e,t);if("object"!=typeof o)throw TypeError("RegExp exec method returned something other than an Object or null");return o}if("RegExp"!==r(e))throw TypeError("RegExp#exec called on incompatible receiver");return i.call(e,t)}},22261:function(e,t,n){"use strict";var r,i,o=n(67066),a=RegExp.prototype.exec,s=String.prototype.replace,u=a,c=(r=/a/,i=/b*/g,a.call(r,"a"),a.call(i,"a"),0!==r.lastIndex||0!==i.lastIndex),l=void 0!==/()??/.exec("")[1];(c||l)&&(u=function(e){var t,n,r,i,u=this;return l&&(n=new RegExp("^"+u.source+"$(?!\\s)",o.call(u))),c&&(t=u.lastIndex),r=a.call(u,e),c&&r&&(u.lastIndex=u.global?r.index+r[0].length:t),l&&r&&r.length>1&&s.call(r[0],n,(function(){for(i=1;i<arguments.length-2;i++)void 0===arguments[i]&&(r[i]=void 0)})),r}),e.exports=u},67066:function(e,t,n){"use strict";var r=n(19670);e.exports=function(){var e=r(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t}},84488:function(e){e.exports=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e}},81150:function(e){e.exports=Object.is||function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}},83505:function(e,t,n){var r=n(17854),i=n(95185);e.exports=function(e,t){try{i(r,e,t)}catch(n){r[e]=t}return t}},96340:function(e,t,n){"use strict";var r=n(35005),i=n(3070),o=n(19781),a=n(5112)("species");e.exports=function(e){var t=r(e),n=i.f;o&&t&&!t[a]&&n(t,a,{configurable:!0,get:function(){return this}})}},58003:function(e,t,n){var r=n(3070).f,i=n(86656),o=n(5112)("toStringTag");e.exports=function(e,t,n){e&&!i(e=n?e:e.prototype,o)&&r(e,o,{configurable:!0,value:t})}},6200:function(e,t,n){var r=n(72309)("keys"),i=n(69711);e.exports=function(e){return r[e]||(r[e]=i(e))}},72309:function(e,t,n){var r=n(17854),i=n(83505),o="__core-js_shared__",a=r[o]||i(o,{});(e.exports=function(e,t){return a[e]||(a[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.0.1",mode:n(31913)?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},36637:function(e,t,n){"use strict";var r=n(47293);e.exports=function(e,t){var n=[][e];return!n||!r((function(){n.call(null,t||function(){throw 1},1)}))}},36707:function(e,t,n){var r=n(19670),i=n(13099),o=n(5112)("species");e.exports=function(e,t){var n,a=r(e).constructor;return void 0===a||null==(n=r(a)[o])?t:i(n)}},95866:function(e,t,n){var r=n(99958),i=n(84488);e.exports=function(e,t,n){var o,a,s=String(i(e)),u=r(t),c=s.length;return u<0||u>=c?n?"":void 0:(o=s.charCodeAt(u))<55296||o>56319||u+1===c||(a=s.charCodeAt(u+1))<56320||a>57343?n?s.charAt(u):o:n?s.slice(u,u+2):a-56320+(o-55296<<10)+65536}},76650:function(e,t,n){var r=n(17466),i=n(38415),o=n(84488);e.exports=function(e,t,n,a){var s,u,c=String(o(e)),l=c.length,f=void 0===n?" ":String(n),d=r(t);return d<=l||""==f?c:(s=d-l,(u=i.call(f,Math.ceil(s/f.length))).length>s&&(u=u.slice(0,s)),a?u+c:c+u)}},38415:function(e,t,n){"use strict";var r=n(99958),i=n(84488);e.exports="".repeat||function(e){var t=String(i(this)),n="",o=r(e);if(o<0||o==1/0)throw RangeError("Wrong number of repetitions");for(;o>0;(o>>>=1)&&(t+=t))1&o&&(n+=t);return n}},53111:function(e,t,n){var r=n(84488),i="["+n(81361)+"]",o=RegExp("^"+i+i+"*"),a=RegExp(i+i+"*$");e.exports=function(e,t){return e=String(r(e)),1&t&&(e=e.replace(o,"")),2&t&&(e=e.replace(a,"")),e}},20261:function(e,t,n){var r,i,o,a=n(17854),s=n(84326),u=n(30244),c=n(60490),l=n(80317),f=a.setImmediate,d=a.clearImmediate,p=a.process,h=a.MessageChannel,g=a.Dispatch,m=0,y={},v="onreadystatechange",b=function(){var e=+this;if(y.hasOwnProperty(e)){var t=y[e];delete y[e],t()}},_=function(e){b.call(e.data)};f&&d||(f=function(e){for(var t=[],n=1;arguments.length>n;)t.push(arguments[n++]);return y[++m]=function(){("function"==typeof e?e:Function(e)).apply(void 0,t)},r(m),m},d=function(e){delete y[e]},"process"==s(p)?r=function(e){p.nextTick(u(b,e,1))}:g&&g.now?r=function(e){g.now(u(b,e,1))}:h?(o=(i=new h).port2,i.port1.onmessage=_,r=u(o.postMessage,o,1)):a.addEventListener&&"function"==typeof postMessage&&!a.importScripts?(r=function(e){a.postMessage(e+"","*")},a.addEventListener("message",_,!1)):r=v in l("script")?function(e){c.appendChild(l("script")).onreadystatechange=function(){c.removeChild(this),b.call(e)}}:function(e){setTimeout(u(b,e,1),0)}),e.exports={set:f,clear:d}},50863:function(e,t,n){var r=n(84326);e.exports=function(e){if("number"!=typeof e&&"Number"!=r(e))throw TypeError("Incorrect invocation");return+e}},51400:function(e,t,n){var r=n(99958),i=Math.max,o=Math.min;e.exports=function(e,t){var n=r(e);return n<0?i(n+t,0):o(n,t)}},57067:function(e,t,n){var r=n(99958),i=n(17466);e.exports=function(e){if(void 0===e)return 0;var t=r(e),n=i(t);if(t!==n)throw RangeError("Wrong length or index");return n}},45656:function(e,t,n){var r=n(68361),i=n(84488);e.exports=function(e){return r(i(e))}},99958:function(e){var t=Math.ceil,n=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?n:t)(e)}},17466:function(e,t,n){var r=n(99958),i=Math.min;e.exports=function(e){return e>0?i(r(e),9007199254740991):0}},47908:function(e,t,n){var r=n(84488);e.exports=function(e){return Object(r(e))}},84590:function(e,t,n){var r=n(99958);e.exports=function(e,t){var n=r(e);if(n<0||n%t)throw RangeError("Wrong offset");return n}},57593:function(e,t,n){var r=n(70111);e.exports=function(e,t){if(!r(e))return e;var n,i;if(t&&"function"==typeof(n=e.toString)&&!r(i=n.call(e)))return i;if("function"==typeof(n=e.valueOf)&&!r(i=n.call(e)))return i;if(!t&&"function"==typeof(n=e.toString)&&!r(i=n.call(e)))return i;throw TypeError("Can't convert object to primitive value")}},19843:function(e,t,n){"use strict";if(n(19781)){var r=n(17854),i=n(82109),o=n(6500),a=n(90260),s=n(13331),u=n(25787),c=n(79114),l=n(95185),f=n(17466),d=n(57067),p=n(84590),h=n(57593),g=n(86656),m=n(70648),y=n(70111),v=n(70030),b=n(27674),_=n(8006).f,w=n(97321),T=n(77550)(0),x=n(96340),S=n(3070),k=n(31236),E=n(29909),O=E.get,C=E.set,L=S.f,A=k.f,I=r.RangeError,P=s.ArrayBuffer,M=s.DataView,R=a.NATIVE_ARRAY_BUFFER_VIEWS,j=a.TYPED_ARRAY_TAG,D=a.TypedArray,N=a.TypedArrayPrototype,B=a.aTypedArrayConstructor,U=a.isTypedArray,F="BYTES_PER_ELEMENT",z="Wrong length",H=function(e,t){for(var n=0,r=t.length,i=new(B(e))(r);r>n;)i[n]=t[n++];return i},Z=function(e,t){L(e,t,{get:function(){return O(this)[t]}})},q=function(e){var t;return e instanceof P||"ArrayBuffer"==(t=m(e))||"SharedArrayBuffer"==t},V=function(e,t){return U(e)&&"symbol"!=typeof t&&t in e&&String(+t)==String(t)},W=function(e,t){return V(e,t=h(t,!0))?c(2,e[t]):A(e,t)},G=function(e,t,n){return!(V(e,t=h(t,!0))&&y(n)&&g(n,"value"))||g(n,"get")||g(n,"set")||n.configurable||g(n,"writable")&&!n.writable||g(n,"enumerable")&&!n.enumerable?L(e,t,n):(e[t]=n.value,e)};R||(k.f=W,S.f=G,Z(N,"buffer"),Z(N,"byteOffset"),Z(N,"byteLength"),Z(N,"length")),i({target:"Object",stat:!0,forced:!R},{getOwnPropertyDescriptor:W,defineProperty:G}),e.exports=function(e,t,n,a){var s=e+(a?"Clamped":"")+"Array",c="get"+e,h="set"+e,g=r[s],m=g,S=m&&m.prototype,k={},E=function(e,n){L(e,n,{get:function(){return function(e,n){var r=O(e);return r.view[c](n*t+r.byteOffset,!0)}(this,n)},set:function(e){return function(e,n,r){var i=O(e);a&&(r=(r=Math.round(r))<0?0:r>255?255:255&r),i.view[h](n*t+i.byteOffset,r,!0)}(this,n,e)},enumerable:!0})};R?o&&(m=n((function(e,n,r,i){return u(e,m,s),y(n)?q(n)?void 0!==i?new g(n,p(r,t),i):void 0!==r?new g(n,p(r,t)):new g(n):U(n)?H(m,n):w.call(m,n):new g(d(n))})),b&&b(m,D),T(_(g),(function(e){e in m||l(m,e,g[e])})),m.prototype=S):(m=n((function(e,n,r,i){u(e,m,s);var o,a,c,l=0,h=0;if(y(n)){if(!q(n))return U(n)?H(m,n):w.call(m,n);o=n,h=p(r,t);var g=n.byteLength;if(void 0===i){if(g%t)throw I(z);if((a=g-h)<0)throw I(z)}else if((a=f(i)*t)+h>g)throw I(z);c=a/t}else c=d(n),o=new P(a=c*t);for(C(e,{buffer:o,byteOffset:h,byteLength:a,length:c,view:new M(o)});l<c;)E(e,l++)})),b&&b(m,D),S=m.prototype=v(N)),S.constructor!==m&&l(S,"constructor",m),j&&l(S,j,s),k[s]=m,i({global:!0,forced:m!=g,sham:!R},k),F in m||l(m,F,t),F in S||l(S,F,t),x(s)}}else e.exports=function(){}},97321:function(e,t,n){var r=n(47908),i=n(17466),o=n(71246),a=n(97659),s=n(30244),u=n(90260).aTypedArrayConstructor;e.exports=function(e){var t,n,c,l,f,d=r(e),p=arguments.length,h=p>1?arguments[1]:void 0,g=void 0!==h,m=o(d);if(null!=m&&!a(m))for(f=m.call(d),d=[];!(l=f.next()).done;)d.push(l.value);for(g&&p>2&&(h=s(h,arguments[2],2)),n=i(d.length),c=new(u(this))(n),t=0;n>t;t++)c[t]=g?h(d[t],t):d[t];return c}},6500:function(e,t,n){var r=n(17854),i=n(47293),o=n(17072),a=n(90260).NATIVE_ARRAY_BUFFER_VIEWS,s=r.ArrayBuffer,u=r.Int8Array;e.exports=!a||!i((function(){u(1)}))||!i((function(){new u(-1)}))||!o((function(e){new u,new u(null),new u(1.5),new u(e)}),!0)||i((function(){return 1!==new u(new s(2),1,void 0).length}))},69711:function(e){var t=0,n=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++t+n).toString(36))}},20227:function(e,t,n){var r=n(17854).navigator;e.exports=r&&r.userAgent||""},99475:function(e,t,n){var r=n(70111),i=n(19670);e.exports=function(e,t){if(i(e),!r(t)&&null!==t)throw TypeError("Can't set "+String(t)+" as a prototype")}},28468:function(e,t,n){var r=n(47850),i=n(84488);e.exports=function(e,t,n){if(r(t))throw TypeError("String.prototype."+n+" doesn't accept regex");return String(i(e))}},27428:function(e,t,n){var r=n(20227);e.exports=/Version\/10\.\d+(\.\d+)?( Mobile\/\w+)? Safari\//.test(r)},5112:function(e,t,n){var r=n(72309)("wks"),i=n(69711),o=n(17854).Symbol,a=n(30133);e.exports=function(e){return r[e]||(r[e]=a&&o[e]||(a?o:i)("Symbol."+e))}},81361:function(e){e.exports="\t\n\v\f\r                 \u2028\u2029\ufeff"},96805:function(e,t,n){t.f=n(5112)},18264:function(e,t,n){"use strict";var r="ArrayBuffer",i=n(13331).ArrayBuffer,o=n(17854).ArrayBuffer;n(82109)({global:!0,forced:o!==i},{ArrayBuffer:i}),n(96340)(r)},39575:function(e,t,n){"use strict";var r=n(13331),i=n(19670),o=n(51400),a=n(17466),s=n(36707),u=r.ArrayBuffer,c=r.DataView,l=u.prototype.slice,f=n(47293)((function(){return!new u(2).slice(1,void 0).byteLength}));n(82109)({target:"ArrayBuffer",proto:!0,unsafe:!0,forced:f},{slice:function(e,t){if(void 0!==l&&void 0===t)return l.call(i(this),e);for(var n=i(this).byteLength,r=o(e,n),f=o(void 0===t?n:t,n),d=new(s(this,u))(a(f-r)),p=new c(this),h=new c(d),g=0;r<f;)h.setUint8(g++,p.getUint8(r++));return d}})},92222:function(e,t,n){"use strict";var r=n(43157),i=n(70111),o=n(47908),a=n(17466),s=n(86135),u=n(65417),c=n(5112)("isConcatSpreadable"),l=9007199254740991,f="Maximum allowed index exceeded",d=!n(47293)((function(){var e=[];return e[c]=!1,e.concat()[0]!==e})),p=n(81194)("concat"),h=function(e){if(!i(e))return!1;var t=e[c];return void 0!==t?!!t:r(e)},g=!d||!p;n(82109)({target:"Array",proto:!0,forced:g},{concat:function(e){var t,n,r,i,c,d=o(this),p=u(d,0),g=0;for(t=-1,r=arguments.length;t<r;t++)if(h(c=-1===t?d:arguments[t])){if(g+(i=a(c.length))>l)throw TypeError(f);for(n=0;n<i;n++,g++)n in c&&s(p,g,c[n])}else{if(g>=l)throw TypeError(f);s(p,g++,c)}return p.length=g,p}})},50545:function(e,t,n){n(82109)({target:"Array",proto:!0},{copyWithin:n(1048)}),n(51223)("copyWithin")},43290:function(e,t,n){n(82109)({target:"Array",proto:!0},{fill:n(21285)}),n(51223)("fill")},57327:function(e,t,n){"use strict";var r=n(77550)(2),i=n(81194)("filter");n(82109)({target:"Array",proto:!0,forced:!i},{filter:function(e){return r(this,e,arguments[1])}})},34553:function(e,t,n){"use strict";var r=n(77550)(6),i="findIndex",o=!0;i in[]&&Array(1).findIndex((function(){o=!1})),n(82109)({target:"Array",proto:!0,forced:o},{findIndex:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}}),n(51223)(i)},69826:function(e,t,n){"use strict";var r=n(77550)(5),i="find",o=!0;i in[]&&Array(1).find((function(){o=!1})),n(82109)({target:"Array",proto:!0,forced:o},{find:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}}),n(51223)(i)},86535:function(e,t,n){"use strict";var r=n(6790),i=n(47908),o=n(17466),a=n(13099),s=n(65417);n(82109)({target:"Array",proto:!0},{flatMap:function(e){var t,n=i(this),u=o(n.length);return a(e),(t=s(n,0)).length=r(t,n,n,u,0,1,e,arguments[1]),t}})},84944:function(e,t,n){"use strict";var r=n(6790),i=n(47908),o=n(17466),a=n(99958),s=n(65417);n(82109)({target:"Array",proto:!0},{flat:function(){var e=arguments[0],t=i(this),n=o(t.length),u=s(t,0);return u.length=r(u,t,t,n,0,void 0===e?1:a(e)),u}})},91038:function(e,t,n){var r=!n(17072)((function(e){Array.from(e)}));n(82109)({target:"Array",stat:!0,forced:r},{from:n(48457)})},26699:function(e,t,n){"use strict";var r=n(41318)(!0);n(82109)({target:"Array",proto:!0},{includes:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}}),n(51223)("includes")},66992:function(e,t,n){"use strict";var r=n(45656),i=n(51223),o=n(97497),a=n(29909),s=n(70654),u="Array Iterator",c=a.set,l=a.getterFor(u);e.exports=s(Array,"Array",(function(e,t){c(this,{type:u,target:r(e),index:0,kind:t})}),(function(){var e=l(this),t=e.target,n=e.kind,r=e.index++;return!t||r>=t.length?(e.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:r,done:!1}:"values"==n?{value:t[r],done:!1}:{value:[r,t[r]],done:!1}}),"values"),o.Arguments=o.Array,i("keys"),i("values"),i("entries")},69600:function(e,t,n){"use strict";var r=n(45656),i=[].join,o=n(68361)!=Object,a=n(36637)("join",",");n(82109)({target:"Array",proto:!0,forced:o||a},{join:function(e){return i.call(r(this),void 0===e?",":e)}})},21249:function(e,t,n){"use strict";var r=n(77550)(1),i=n(81194)("map");n(82109)({target:"Array",proto:!0,forced:!i},{map:function(e){return r(this,e,arguments[1])}})},26572:function(e,t,n){"use strict";var r=n(86135),i=n(47293)((function(){function e(){}return!(Array.of.call(e)instanceof e)}));n(82109)({target:"Array",stat:!0,forced:i},{of:function(){for(var e=0,t=arguments.length,n=new("function"==typeof this?this:Array)(t);t>e;)r(n,e,arguments[e++]);return n.length=t,n}})},65069:function(e,t,n){"use strict";var r=n(43157),i=[].reverse,o=[1,2];n(82109)({target:"Array",proto:!0,forced:String(o)===String(o.reverse())},{reverse:function(){return r(this)&&(this.length=this.length),i.call(this)}})},47042:function(e,t,n){"use strict";var r=n(70111),i=n(43157),o=n(51400),a=n(17466),s=n(45656),u=n(86135),c=n(5112)("species"),l=[].slice,f=Math.max,d=n(81194)("slice");n(82109)({target:"Array",proto:!0,forced:!d},{slice:function(e,t){var n,d,p,h=s(this),g=a(h.length),m=o(e,g),y=o(void 0===t?g:t,g);if(i(h)&&("function"!=typeof(n=h.constructor)||n!==Array&&!i(n.prototype)?r(n)&&null===(n=n[c])&&(n=void 0):n=void 0,n===Array||void 0===n))return l.call(h,m,y);for(d=new(void 0===n?Array:n)(f(y-m,0)),p=0;m<y;m++,p++)m in h&&u(d,p,h[m]);return d.length=p,d}})},2707:function(e,t,n){"use strict";var r=n(13099),i=n(47908),o=n(47293),a=[].sort,s=[1,2,3],u=o((function(){s.sort(void 0)})),c=o((function(){s.sort(null)})),l=n(36637)("sort"),f=u||!c||l;n(82109)({target:"Array",proto:!0,forced:f},{sort:function(e){return void 0===e?a.call(i(this)):a.call(i(this),r(e))}})},38706:function(e,t,n){n(96340)("Array")},40561:function(e,t,n){"use strict";var r=n(51400),i=n(99958),o=n(17466),a=n(47908),s=n(65417),u=n(86135),c=Math.max,l=Math.min,f=9007199254740991,d="Maximum allowed length exceeded",p=n(81194)("splice");n(82109)({target:"Array",proto:!0,forced:!p},{splice:function(e,t){var n,p,h,g,m,y,v=a(this),b=o(v.length),_=r(e,b),w=arguments.length;if(0===w?n=p=0:1===w?(n=0,p=b-_):(n=w-2,p=l(c(i(t),0),b-_)),b+n-p>f)throw TypeError(d);for(h=s(v,p),g=0;g<p;g++)(m=_+g)in v&&u(h,g,v[m]);if(h.length=p,n<p){for(g=_;g<b-p;g++)y=g+n,(m=g+p)in v?v[y]=v[m]:delete v[y];for(g=b;g>b-p+n;g--)delete v[g-1]}else if(n>p)for(g=b-p;g>_;g--)y=g+n-1,(m=g+p-1)in v?v[y]=v[m]:delete v[y];for(g=0;g<n;g++)v[g+_]=arguments[g+2];return v.length=b-p+n,h}})},99244:function(e,t,n){n(51223)("flatMap")},33792:function(e,t,n){n(51223)("flat")},96078:function(e,t,n){var r=n(95185),i=n(5112)("toPrimitive"),o=n(38709),a=Date.prototype;i in a||r(a,i,o)},4855:function(e,t,n){"use strict";var r=n(70111),i=n(3070),o=n(79518),a=n(5112)("hasInstance"),s=Function.prototype;a in s||i.f(s,a,{value:function(e){if("function"!=typeof this||!r(e))return!1;if(!r(this.prototype))return e instanceof this;for(;e=o(e);)if(this.prototype===e)return!0;return!1}})},68309:function(e,t,n){var r=n(19781),i=n(3070).f,o=Function.prototype,a=o.toString,s=/^\s*function ([^ (]*)/,u="name";r&&!(u in o)&&i(o,u,{configurable:!0,get:function(){try{return a.call(this).match(s)[1]}catch(e){return""}}})},73706:function(e,t,n){n(58003)(n(17854).JSON,"JSON",!0)},51532:function(e,t,n){"use strict";e.exports=n(77710)("Map",(function(e){return function(){return e(this,arguments.length>0?arguments[0]:void 0)}}),n(95631),!0)},99752:function(e,t,n){var r=n(26513),i=Math.acosh,o=Math.log,a=Math.sqrt,s=Math.LN2,u=!i||710!=Math.floor(i(Number.MAX_VALUE))||i(1/0)!=1/0;n(82109)({target:"Math",stat:!0,forced:u},{acosh:function(e){return(e=+e)<1?NaN:e>94906265.62425156?o(e)+s:r(e-1+a(e-1)*a(e+1))}})},82376:function(e,t,n){var r=Math.asinh,i=Math.log,o=Math.sqrt;n(82109)({target:"Math",stat:!0,forced:!(r&&1/r(0)>0)},{asinh:function e(t){return isFinite(t=+t)&&0!=t?t<0?-e(-t):i(t+o(t*t+1)):t}})},73181:function(e,t,n){var r=Math.atanh,i=Math.log;n(82109)({target:"Math",stat:!0,forced:!(r&&1/r(-0)<0)},{atanh:function(e){return 0==(e=+e)?e:i((1+e)/(1-e))/2}})},23484:function(e,t,n){var r=n(64310),i=Math.abs,o=Math.pow;n(82109)({target:"Math",stat:!0},{cbrt:function(e){return r(e=+e)*o(i(e),1/3)}})},2388:function(e,t,n){var r=Math.floor,i=Math.log,o=Math.LOG2E;n(82109)({target:"Math",stat:!0},{clz32:function(e){return(e>>>=0)?31-r(i(e+.5)*o):32}})},88621:function(e,t,n){var r=n(66736),i=Math.cosh,o=Math.abs,a=Math.E;n(82109)({target:"Math",stat:!0,forced:!i||i(710)===1/0},{cosh:function(e){var t=r(o(e)-1)+1;return(t+1/(t*a*a))*(a/2)}})},60403:function(e,t,n){var r=n(66736);n(82109)({target:"Math",stat:!0,forced:r!=Math.expm1},{expm1:r})},84755:function(e,t,n){n(82109)({target:"Math",stat:!0},{fround:n(26130)})},25438:function(e,t,n){var r=Math.abs,i=Math.sqrt;n(82109)({target:"Math",stat:!0},{hypot:function(e,t){for(var n,o,a=0,s=0,u=arguments.length,c=0;s<u;)c<(n=r(arguments[s++]))?(a=a*(o=c/n)*o+1,c=n):a+=n>0?(o=n/c)*o:n;return c===1/0?1/0:c*i(a)}})},90332:function(e,t,n){var r=Math.imul,i=n(47293)((function(){return-5!=r(4294967295,5)||2!=r.length}));n(82109)({target:"Math",stat:!0,forced:i},{imul:function(e,t){var n=65535,r=+e,i=+t,o=n&r,a=n&i;return 0|o*a+((n&r>>>16)*a+o*(n&i>>>16)<<16>>>0)}})},40658:function(e,t,n){var r=Math.log,i=Math.LOG10E;n(82109)({target:"Math",stat:!0},{log10:function(e){return r(e)*i}})},40197:function(e,t,n){n(82109)({target:"Math",stat:!0},{log1p:n(26513)})},44914:function(e,t,n){var r=Math.log,i=Math.LN2;n(82109)({target:"Math",stat:!0},{log2:function(e){return r(e)/i}})},52420:function(e,t,n){n(82109)({target:"Math",stat:!0},{sign:n(64310)})},60160:function(e,t,n){var r=n(66736),i=Math.abs,o=Math.exp,a=Math.E,s=n(47293)((function(){return-2e-17!=Math.sinh(-2e-17)}));n(82109)({target:"Math",stat:!0,forced:s},{sinh:function(e){return i(e=+e)<1?(r(e)-r(-e))/2:(o(e-1)-o(-e-1))*(a/2)}})},60970:function(e,t,n){var r=n(66736),i=Math.exp;n(82109)({target:"Math",stat:!0},{tanh:function(e){var t=r(e=+e),n=r(-e);return t==1/0?1:n==1/0?-1:(t-n)/(i(e)+i(-e))}})},10408:function(e,t,n){n(58003)(Math,"Math",!0)},73689:function(e,t,n){var r=Math.ceil,i=Math.floor;n(82109)({target:"Math",stat:!0},{trunc:function(e){return(e>0?i:r)(e)}})},9653:function(e,t,n){"use strict";var r=n(17854),i=n(54705),o=n(86656),a=n(84326),s=n(79587),u=n(57593),c=n(47293),l=n(8006).f,f=n(31236).f,d=n(3070).f,p=n(53111),h="Number",g=r.Number,m=g.prototype,y=a(n(70030)(m))==h,v="trim"in String.prototype,b=function(e){var t,n,r,i,o,a,s,c,l=u(e,!1);if("string"==typeof l&&l.length>2)if(43===(t=(l=v?l.trim():p(l,3)).charCodeAt(0))||45===t){if(88===(n=l.charCodeAt(2))||120===n)return NaN}else if(48===t){switch(l.charCodeAt(1)){case 66:case 98:r=2,i=49;break;case 79:case 111:r=8,i=55;break;default:return+l}for(a=(o=l.slice(2)).length,s=0;s<a;s++)if((c=o.charCodeAt(s))<48||c>i)return NaN;return parseInt(o,r)}return+l};if(i(h,!g(" 0o1")||!g("0b1")||g("+0x1"))){for(var _,w=function(e){var t=arguments.length<1?0:e,n=this;return n instanceof w&&(y?c((function(){m.valueOf.call(n)})):a(n)!=h)?s(new g(b(t)),n,w):b(t)},T=n(19781)?l(g):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),x=0;T.length>x;x++)o(g,_=T[x])&&!o(w,_)&&d(w,_,f(g,_));w.prototype=m,m.constructor=w,n(31320)(r,h,w)}},93299:function(e,t,n){n(82109)({target:"Number",stat:!0},{EPSILON:Math.pow(2,-52)})},35192:function(e,t,n){n(82109)({target:"Number",stat:!0},{isFinite:n(77023)})},33161:function(e,t,n){n(82109)({target:"Number",stat:!0},{isInteger:n(18730)})},44048:function(e,t,n){n(82109)({target:"Number",stat:!0},{isNaN:function(e){return e!=e}})},78285:function(e,t,n){var r=n(18730),i=Math.abs;n(82109)({target:"Number",stat:!0},{isSafeInteger:function(e){return r(e)&&i(e)<=9007199254740991}})},44363:function(e,t,n){n(82109)({target:"Number",stat:!0},{MAX_SAFE_INTEGER:9007199254740991})},55994:function(e,t,n){n(82109)({target:"Number",stat:!0},{MIN_SAFE_INTEGER:-9007199254740991})},61874:function(e,t,n){var r=n(3677);n(82109)({target:"Number",stat:!0,forced:Number.parseFloat!=r},{parseFloat:r})},9494:function(e,t,n){var r=n(88620);n(82109)({target:"Number",stat:!0,forced:Number.parseInt!=r},{parseInt:r})},56977:function(e,t,n){"use strict";var r=n(99958),i=n(50863),o=n(38415),a=1..toFixed,s=Math.floor,u=[0,0,0,0,0,0],c=function(e,t){for(var n=-1,r=t;++n<6;)r+=e*u[n],u[n]=r%1e7,r=s(r/1e7)},l=function(e){for(var t=6,n=0;--t>=0;)n+=u[t],u[t]=s(n/e),n=n%e*1e7},f=function(){for(var e=6,t="";--e>=0;)if(""!==t||0===e||0!==u[e]){var n=String(u[e]);t=""===t?n:t+o.call("0",7-n.length)+n}return t},d=function(e,t,n){return 0===t?n:t%2==1?d(e,t-1,n*e):d(e*e,t/2,n)};n(82109)({target:"Number",proto:!0,forced:a&&("0.000"!==8e-5.toFixed(3)||"1"!==.9.toFixed(0)||"1.25"!==1.255.toFixed(2)||"1000000000000000128"!==(0xde0b6b3a7640080).toFixed(0))||!n(47293)((function(){a.call({})}))},{toFixed:function(e){var t,n,a,s,u=i(this),p=r(e),h="",g="0";if(p<0||p>20)throw RangeError("Incorrect fraction digits");if(u!=u)return"NaN";if(u<=-1e21||u>=1e21)return String(u);if(u<0&&(h="-",u=-u),u>1e-21)if(t=function(e){for(var t=0,n=e;n>=4096;)t+=12,n/=4096;for(;n>=2;)t+=1,n/=2;return t}(u*d(2,69,1))-69,n=t<0?u*d(2,-t,1):u/d(2,t,1),n*=4503599627370496,(t=52-t)>0){for(c(0,n),a=p;a>=7;)c(1e7,0),a-=7;for(c(d(10,a,1),0),a=t-1;a>=23;)l(1<<23),a-=23;l(1<<a),c(1,1),l(2),g=f()}else c(0,n),c(1<<-t,0),g=f()+o.call("0",p);return g=p>0?h+((s=g.length)<=p?"0."+o.call("0",p-s)+g:g.slice(0,s-p)+"."+g.slice(s-p)):h+g}})},19601:function(e,t,n){var r=n(21574);n(82109)({target:"Object",stat:!0,forced:Object.assign!==r},{assign:r})},59595:function(e,t,n){"use strict";var r=n(47908),i=n(13099),o=n(3070),a=n(41301);n(19781)&&n(82109)({target:"Object",proto:!0,forced:a},{__defineGetter__:function(e,t){o.f(r(this),e,{get:i(t),enumerable:!0,configurable:!0})}})},35500:function(e,t,n){"use strict";var r=n(47908),i=n(13099),o=n(3070),a=n(41301);n(19781)&&n(82109)({target:"Object",proto:!0,forced:a},{__defineSetter__:function(e,t){o.f(r(this),e,{set:i(t),enumerable:!0,configurable:!0})}})},69720:function(e,t,n){var r=n(44699);n(82109)({target:"Object",stat:!0},{entries:function(e){return r(e,!0)}})},43371:function(e,t,n){var r=n(70111),i=n(62423).onFreeze,o=Object.freeze,a=n(76677),s=n(47293)((function(){o(1)}));n(82109)({target:"Object",stat:!0,forced:s,sham:!a},{freeze:function(e){return o&&r(e)?o(i(e)):e}})},38559:function(e,t,n){var r=n(20408),i=n(86135);n(82109)({target:"Object",stat:!0},{fromEntries:function(e){var t={};return r(e,(function(e,n){i(t,e,n)}),void 0,!0),t}})},38880:function(e,t,n){var r=n(45656),i=n(31236).f,o=n(19781),a=n(47293)((function(){i(1)})),s=!o||a;n(82109)({target:"Object",stat:!0,forced:s,sham:!o},{getOwnPropertyDescriptor:function(e,t){return i(r(e),t)}})},49337:function(e,t,n){var r=n(19781),i=n(53887),o=n(45656),a=n(31236),s=n(86135);n(82109)({target:"Object",stat:!0,sham:!r},{getOwnPropertyDescriptors:function(e){for(var t,n,r=o(e),u=a.f,c=i(r),l={},f=0;c.length>f;)void 0!==(n=u(r,t=c[f++]))&&s(l,t,n);return l}})},36210:function(e,t,n){var r=n(1156).f,i=n(47293)((function(){Object.getOwnPropertyNames(1)}));n(82109)({target:"Object",stat:!0,forced:i},{getOwnPropertyNames:r})},30489:function(e,t,n){var r=n(47908),i=n(79518),o=n(49920),a=n(47293)((function(){i(1)}));n(82109)({target:"Object",stat:!0,forced:a,sham:!o},{getPrototypeOf:function(e){return i(r(e))}})},41825:function(e,t,n){var r=n(70111),i=Object.isExtensible,o=n(47293)((function(){i(1)}));n(82109)({target:"Object",stat:!0,forced:o},{isExtensible:function(e){return!!r(e)&&(!i||i(e))}})},98410:function(e,t,n){var r=n(70111),i=Object.isFrozen,o=n(47293)((function(){i(1)}));n(82109)({target:"Object",stat:!0,forced:o},{isFrozen:function(e){return!r(e)||!!i&&i(e)}})},72200:function(e,t,n){var r=n(70111),i=Object.isSealed,o=n(47293)((function(){i(1)}));n(82109)({target:"Object",stat:!0,forced:o},{isSealed:function(e){return!r(e)||!!i&&i(e)}})},43304:function(e,t,n){n(82109)({target:"Object",stat:!0},{is:n(81150)})},47941:function(e,t,n){var r=n(47908),i=n(81956),o=n(47293)((function(){i(1)}));n(82109)({target:"Object",stat:!0,forced:o},{keys:function(e){return i(r(e))}})},94869:function(e,t,n){"use strict";var r=n(47908),i=n(57593),o=n(79518),a=n(31236).f,s=n(41301);n(19781)&&n(82109)({target:"Object",proto:!0,forced:s},{__lookupGetter__:function(e){var t,n=r(this),s=i(e,!0);do{if(t=a(n,s))return t.get}while(n=o(n))}})},33952:function(e,t,n){"use strict";var r=n(47908),i=n(57593),o=n(79518),a=n(31236).f,s=n(41301);n(19781)&&n(82109)({target:"Object",proto:!0,forced:s},{__lookupSetter__:function(e){var t,n=r(this),s=i(e,!0);do{if(t=a(n,s))return t.set}while(n=o(n))}})},57227:function(e,t,n){var r=n(70111),i=n(62423).onFreeze,o=Object.preventExtensions,a=n(76677),s=n(47293)((function(){o(1)}));n(82109)({target:"Object",stat:!0,forced:s,sham:!a},{preventExtensions:function(e){return o&&r(e)?o(i(e)):e}})},60514:function(e,t,n){var r=n(70111),i=n(62423).onFreeze,o=Object.seal,a=n(76677),s=n(47293)((function(){o(1)}));n(82109)({target:"Object",stat:!0,forced:s,sham:!a},{seal:function(e){return o&&r(e)?o(i(e)):e}})},41539:function(e,t,n){var r=n(90288),i=Object.prototype;r!==i.toString&&n(31320)(i,"toString",r,{unsafe:!0})},26833:function(e,t,n){var r=n(44699);n(82109)({target:"Object",stat:!0},{values:function(e){return r(e)}})},17727:function(e,t,n){"use strict";var r=n(35005),i=n(36707),o=n(69478);n(82109)({target:"Promise",proto:!0,real:!0},{finally:function(e){var t=i(this,r("Promise")),n="function"==typeof e;return this.then(n?function(n){return o(t,e()).then((function(){return n}))}:e,n?function(n){return o(t,e()).then((function(){throw n}))}:e)}})},88674:function(e,t,n){"use strict";var r,i,o,a="Promise",s=n(31913),u=n(17854),c=n(82109),l=n(70111),f=n(13099),d=n(25787),p=n(84326),h=n(20408),g=n(17072),m=n(36707),y=n(20261).set,v=n(95948),b=n(69478),_=n(842),w=n(78523),T=n(12534),x=n(20227),S=n(5112)("species"),k=n(29909),E=n(54705),O=k.get,C=k.set,L=k.getterFor(a),A=u.Promise,I=u.TypeError,P=u.document,M=u.process,R=u.fetch,j=M&&M.versions,D=j&&j.v8||"",N=w.f,B=N,U="process"==p(M),F=!!(P&&P.createEvent&&u.dispatchEvent),z="unhandledrejection",H=E(a,(function(){var e=A.resolve(1),t=function(){},n=(e.constructor={})[S]=function(e){e(t,t)};return!((U||"function"==typeof PromiseRejectionEvent)&&(!s||e.finally)&&e.then(t)instanceof n&&0!==D.indexOf("6.6")&&-1===x.indexOf("Chrome/66"))})),Z=H||!g((function(e){A.all(e).catch((function(){}))})),q=function(e){var t;return!(!l(e)||"function"!=typeof(t=e.then))&&t},V=function(e,t,n){if(!t.notified){t.notified=!0;var r=t.reactions;v((function(){for(var i=t.value,o=1==t.state,a=0,s=function(n){var r,a,s,u=o?n.ok:n.fail,c=n.resolve,l=n.reject,f=n.domain;try{u?(o||(2===t.rejection&&Y(e,t),t.rejection=1),!0===u?r=i:(f&&f.enter(),r=u(i),f&&(f.exit(),s=!0)),r===n.promise?l(I("Promise-chain cycle")):(a=q(r))?a.call(r,c,l):c(r)):l(i)}catch(e){f&&!s&&f.exit(),l(e)}};r.length>a;)s(r[a++]);t.reactions=[],t.notified=!1,n&&!t.rejection&&G(e,t)}))}},W=function(e,t,n){var r,i;F?((r=P.createEvent("Event")).promise=t,r.reason=n,r.initEvent(e,!1,!0),u.dispatchEvent(r)):r={promise:t,reason:n},(i=u["on"+e])?i(r):e===z&&_("Unhandled promise rejection",n)},G=function(e,t){y.call(u,(function(){var n,r=t.value;if($(t)&&(n=T((function(){U?M.emit("unhandledRejection",r,e):W(z,e,r)})),t.rejection=U||$(t)?2:1,n.error))throw n.value}))},$=function(e){return 1!==e.rejection&&!e.parent},Y=function(e,t){y.call(u,(function(){U?M.emit("rejectionHandled",e):W("rejectionhandled",e,t.value)}))},K=function(e,t,n,r){return function(i){e(t,n,i,r)}},X=function(e,t,n,r){t.done||(t.done=!0,r&&(t=r),t.value=n,t.state=2,V(e,t,!0))},Q=function(e,t,n,r){if(!t.done){t.done=!0,r&&(t=r);try{if(e===n)throw I("Promise can't be resolved itself");var i=q(n);i?v((function(){var r={done:!1};try{i.call(n,K(Q,e,r,t),K(X,e,r,t))}catch(n){X(e,r,n,t)}})):(t.value=n,t.state=1,V(e,t,!1))}catch(n){X(e,{done:!1},n,t)}}};H&&(A=function(e){d(this,A,a),f(e),r.call(this);var t=O(this);try{e(K(Q,this,t),K(X,this,t))}catch(e){X(this,t,e)}},(r=function(e){C(this,{type:a,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=n(12248)(A.prototype,{then:function(e,t){var n=L(this),r=N(m(this,A));return r.ok="function"!=typeof e||e,r.fail="function"==typeof t&&t,r.domain=U?M.domain:void 0,n.parent=!0,n.reactions.push(r),0!=n.state&&V(this,n,!1),r.promise},catch:function(e){return this.then(void 0,e)}}),i=function(){var e=new r,t=O(e);this.promise=e,this.resolve=K(Q,e,t),this.reject=K(X,e,t)},w.f=N=function(e){return e===A||e===o?new i(e):B(e)},s||"function"!=typeof R||c({global:!0,enumerable:!0,forced:!0},{fetch:function(e){return b(A,R.apply(u,arguments))}})),c({global:!0,wrap:!0,forced:H},{Promise:A}),n(58003)(A,a,!1,!0),n(96340)(a),o=n(40857).Promise,c({target:a,stat:!0,forced:H},{reject:function(e){var t=N(this);return t.reject.call(void 0,e),t.promise}}),c({target:a,stat:!0,forced:s||H},{resolve:function(e){return b(s&&this===o?A:this,e)}}),c({target:a,stat:!0,forced:Z},{all:function(e){var t=this,n=N(t),r=n.resolve,i=n.reject,o=T((function(){var n=[],o=0,a=1;h(e,(function(e){var s=o++,u=!1;n.push(void 0),a++,t.resolve(e).then((function(e){u||(u=!0,n[s]=e,--a||r(n))}),i)})),--a||r(n)}));return o.error&&i(o.value),n.promise},race:function(e){var t=this,n=N(t),r=n.reject,i=T((function(){h(e,(function(e){t.resolve(e).then(n.resolve,r)}))}));return i.error&&r(i.value),n.promise}})},36535:function(e,t,n){var r=n(13099),i=n(19670),o=(n(17854).Reflect||{}).apply,a=Function.apply,s=!n(47293)((function(){o((function(){}))}));n(82109)({target:"Reflect",stat:!0,forced:s},{apply:function(e,t,n){return r(e),i(n),o?o(e,t,n):a.call(e,t,n)}})},12419:function(e,t,n){var r=n(70030),i=n(13099),o=n(19670),a=n(70111),s=n(47293),u=n(27065),c=(n(17854).Reflect||{}).construct,l=s((function(){function e(){}return!(c((function(){}),[],e)instanceof e)})),f=!s((function(){c((function(){}))})),d=l||f;n(82109)({target:"Reflect",stat:!0,forced:d,sham:d},{construct:function(e,t){i(e),o(t);var n=arguments.length<3?e:i(arguments[2]);if(f&&!l)return c(e,t,n);if(e==n){switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3])}var s=[null];return s.push.apply(s,t),new(u.apply(e,s))}var d=n.prototype,p=r(a(d)?d:Object.prototype),h=Function.apply.call(e,p,t);return a(h)?h:p}})},69596:function(e,t,n){var r=n(3070),i=n(19670),o=n(57593),a=n(19781),s=n(47293)((function(){Reflect.defineProperty(r.f({},1,{value:1}),1,{value:2})}));n(82109)({target:"Reflect",stat:!0,forced:s,sham:!a},{defineProperty:function(e,t,n){i(e),t=o(t,!0),i(n);try{return r.f(e,t,n),!0}catch(e){return!1}}})},52586:function(e,t,n){var r=n(31236).f,i=n(19670);n(82109)({target:"Reflect",stat:!0},{deleteProperty:function(e,t){var n=r(i(e),t);return!(n&&!n.configurable)&&delete e[t]}})},95683:function(e,t,n){var r=n(31236),i=n(19670),o=n(19781);n(82109)({target:"Reflect",stat:!0,sham:!o},{getOwnPropertyDescriptor:function(e,t){return r.f(i(e),t)}})},39361:function(e,t,n){var r=n(79518),i=n(19670),o=n(49920);n(82109)({target:"Reflect",stat:!0,sham:!o},{getPrototypeOf:function(e){return r(i(e))}})},74819:function(e,t,n){var r=n(31236),i=n(79518),o=n(86656),a=n(70111),s=n(19670);n(82109)({target:"Reflect",stat:!0},{get:function e(t,n){var u,c,l=arguments.length<3?t:arguments[2];return s(t)===l?t[n]:(u=r.f(t,n))?o(u,"value")?u.value:void 0===u.get?void 0:u.get.call(l):a(c=i(t))?e(c,n,l):void 0}})},51037:function(e,t,n){n(82109)({target:"Reflect",stat:!0},{has:function(e,t){return t in e}})},5898:function(e,t,n){var r=n(19670),i=Object.isExtensible;n(82109)({target:"Reflect",stat:!0},{isExtensible:function(e){return r(e),!i||i(e)}})},67556:function(e,t,n){n(82109)({target:"Reflect",stat:!0},{ownKeys:n(53887)})},14361:function(e,t,n){var r=n(35005),i=n(19670),o=n(76677);n(82109)({target:"Reflect",stat:!0,sham:!o},{preventExtensions:function(e){i(e);try{var t=r("Object","preventExtensions");return t&&t(e),!0}catch(e){return!1}}})},39532:function(e,t,n){var r=n(27674),i=n(99475);r&&n(82109)({target:"Reflect",stat:!0},{setPrototypeOf:function(e,t){i(e,t);try{return r(e,t),!0}catch(e){return!1}}})},83593:function(e,t,n){var r=n(3070),i=n(31236),o=n(79518),a=n(86656),s=n(79114),u=n(19670),c=n(70111);n(82109)({target:"Reflect",stat:!0},{set:function e(t,n,l){var f,d,p=arguments.length<4?t:arguments[3],h=i.f(u(t),n);if(!h){if(c(d=o(t)))return e(d,n,l,p);h=s(0)}if(a(h,"value")){if(!1===h.writable||!c(p))return!1;if(f=i.f(p,n)){if(f.get||f.set||!1===f.writable)return!1;f.value=l,r.f(p,n,f)}else r.f(p,n,s(0,l));return!0}return void 0!==h.set&&(h.set.call(p,l),!0)}})},24603:function(e,t,n){var r=n(19781),i=n(5112)("match"),o=n(17854),a=n(54705),s=n(79587),u=n(3070).f,c=n(8006).f,l=n(47850),f=n(67066),d=n(31320),p=n(47293),h=o.RegExp,g=h.prototype,m=/a/g,y=/a/g,v=new h(m)!==m;if(a("RegExp",r&&(!v||p((function(){return y[i]=!1,h(m)!=m||h(y)==y||"/a/i"!=h(m,"i")}))))){for(var b=function(e,t){var n=this instanceof b,r=l(e),i=void 0===t;return!n&&r&&e.constructor===b&&i?e:s(v?new h(r&&!i?e.source:e,t):h((r=e instanceof b)?e.source:e,r&&i?f.call(e):t),n?this:g,b)},_=function(e){e in b||u(b,e,{configurable:!0,get:function(){return h[e]},set:function(t){h[e]=t}})},w=c(h),T=0;T<w.length;)_(w[T++]);g.constructor=b,b.prototype=g,d(o,"RegExp",b)}n(96340)("RegExp")},74916:function(e,t,n){"use strict";var r=n(22261);n(82109)({target:"RegExp",proto:!0,forced:/./.exec!==r},{exec:r})},92087:function(e,t,n){n(19781)&&"g"!=/./g.flags&&n(3070).f(RegExp.prototype,"flags",{configurable:!0,get:n(67066)})},39714:function(e,t,n){"use strict";var r=n(19670),i=n(47293),o=n(67066),a=n(19781),s="toString",u=/./.toString,c=i((function(){return"/a/b"!=u.call({source:"a",flags:"b"})})),l=u.name!=s;(c||l)&&n(31320)(RegExp.prototype,s,(function(){var e=r(this);return"/".concat(e.source,"/","flags"in e?e.flags:!a&&e instanceof RegExp?o.call(e):void 0)}),{unsafe:!0})},70189:function(e,t,n){"use strict";e.exports=n(77710)("Set",(function(e){return function(){return e(this,arguments.length>0?arguments[0]:void 0)}}),n(95631))},15218:function(e,t,n){"use strict";var r=n(14230),i=n(12098)("anchor");n(82109)({target:"String",proto:!0,forced:i},{anchor:function(e){return r(this,"a","name",e)}})},74475:function(e,t,n){"use strict";var r=n(14230),i=n(12098)("big");n(82109)({target:"String",proto:!0,forced:i},{big:function(){return r(this,"big","","")}})},57929:function(e,t,n){"use strict";var r=n(14230),i=n(12098)("blink");n(82109)({target:"String",proto:!0,forced:i},{blink:function(){return r(this,"blink","","")}})},50915:function(e,t,n){"use strict";var r=n(14230),i=n(12098)("bold");n(82109)({target:"String",proto:!0,forced:i},{bold:function(){return r(this,"b","","")}})},79841:function(e,t,n){"use strict";var r=n(95866);n(82109)({target:"String",proto:!0},{codePointAt:function(e){return r(this,e)}})},27852:function(e,t,n){"use strict";var r=n(17466),i=n(28468),o="endsWith",a="".endsWith,s=Math.min,u=n(84964)(o);n(82109)({target:"String",proto:!0,forced:!u},{endsWith:function(e){var t=i(this,e,o),n=arguments.length>1?arguments[1]:void 0,u=r(t.length),c=void 0===n?u:s(r(n),u),l=String(e);return a?a.call(t,l,c):t.slice(c-l.length,c)===l}})},29253:function(e,t,n){"use strict";var r=n(14230),i=n(12098)("fixed");n(82109)({target:"String",proto:!0,forced:i},{fixed:function(){return r(this,"tt","","")}})},42125:function(e,t,n){"use strict";var r=n(14230),i=n(12098)("fontcolor");n(82109)({target:"String",proto:!0,forced:i},{fontcolor:function(e){return r(this,"font","color",e)}})},78830:function(e,t,n){"use strict";var r=n(14230),i=n(12098)("fontsize");n(82109)({target:"String",proto:!0,forced:i},{fontsize:function(e){return r(this,"font","size",e)}})},94953:function(e,t,n){var r=n(51400),i=String.fromCharCode,o=String.fromCodePoint,a=!!o&&1!=o.length;n(82109)({target:"String",stat:!0,forced:a},{fromCodePoint:function(e){for(var t,n=[],o=arguments.length,a=0;o>a;){if(t=+arguments[a++],r(t,1114111)!==t)throw RangeError(t+" is not a valid code point");n.push(t<65536?i(t):i(55296+((t-=65536)>>10),t%1024+56320))}return n.join("")}})},32023:function(e,t,n){"use strict";var r=n(28468),i="includes",o=n(84964)(i);n(82109)({target:"String",proto:!0,forced:!o},{includes:function(e){return!!~r(this,e,i).indexOf(e,arguments.length>1?arguments[1]:void 0)}})},58734:function(e,t,n){"use strict";var r=n(14230),i=n(12098)("italics");n(82109)({target:"String",proto:!0,forced:i},{italics:function(){return r(this,"i","","")}})},78783:function(e,t,n){"use strict";var r=n(95866),i=n(29909),o=n(70654),a="String Iterator",s=i.set,u=i.getterFor(a);o(String,"String",(function(e){s(this,{type:a,string:String(e),index:0})}),(function(){var e,t=u(this),n=t.string,i=t.index;return i>=n.length?{value:void 0,done:!0}:(e=r(n,i,!0),t.index+=e.length,{value:e,done:!1})}))},29254:function(e,t,n){"use strict";var r=n(14230),i=n(12098)("link");n(82109)({target:"String",proto:!0,forced:i},{link:function(e){return r(this,"a","href",e)}})},4723:function(e,t,n){"use strict";var r=n(19670),i=n(17466),o=n(84488),a=n(31530),s=n(97651);n(27007)("match",1,(function(e,t,n){return[function(t){var n=o(this),r=null==t?void 0:t[e];return void 0!==r?r.call(t,n):new RegExp(t)[e](String(n))},function(e){var o=n(t,e,this);if(o.done)return o.value;var u=r(e),c=String(this);if(!u.global)return s(u,c);var l=u.unicode;u.lastIndex=0;for(var f,d=[],p=0;null!==(f=s(u,c));){var h=String(f[0]);d[p]=h,""===h&&(u.lastIndex=a(c,i(u.lastIndex),l)),p++}return 0===p?null:d}]}))},66528:function(e,t,n){"use strict";var r=n(76650),i=n(27428);n(82109)({target:"String",proto:!0,forced:i},{padEnd:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0,!1)}})},83112:function(e,t,n){"use strict";var r=n(76650),i=n(27428);n(82109)({target:"String",proto:!0,forced:i},{padStart:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0,!0)}})},38992:function(e,t,n){var r=n(45656),i=n(17466);n(82109)({target:"String",stat:!0},{raw:function(e){for(var t=r(e.raw),n=i(t.length),o=arguments.length,a=[],s=0;n>s;)a.push(String(t[s++])),s<o&&a.push(String(arguments[s]));return a.join("")}})},82481:function(e,t,n){n(82109)({target:"String",proto:!0},{repeat:n(38415)})},15306:function(e,t,n){"use strict";var r=n(19670),i=n(47908),o=n(17466),a=n(99958),s=n(84488),u=n(31530),c=n(97651),l=Math.max,f=Math.min,d=Math.floor,p=/\$([$&`']|\d\d?|<[^>]*>)/g,h=/\$([$&`']|\d\d?)/g;n(27007)("replace",2,(function(e,t,n){return[function(n,r){var i=s(this),o=null==n?void 0:n[e];return void 0!==o?o.call(n,i,r):t.call(String(i),n,r)},function(e,i){var s=n(t,e,this,i);if(s.done)return s.value;var d=r(e),p=String(this),h="function"==typeof i;h||(i=String(i));var m=d.global;if(m){var y=d.unicode;d.lastIndex=0}for(var v=[];;){var b=c(d,p);if(null===b)break;if(v.push(b),!m)break;""===String(b[0])&&(d.lastIndex=u(p,o(d.lastIndex),y))}for(var _,w="",T=0,x=0;x<v.length;x++){b=v[x];for(var S=String(b[0]),k=l(f(a(b.index),p.length),0),E=[],O=1;O<b.length;O++)E.push(void 0===(_=b[O])?_:String(_));var C=b.groups;if(h){var L=[S].concat(E,k,p);void 0!==C&&L.push(C);var A=String(i.apply(void 0,L))}else A=g(S,p,k,E,C,i);k>=T&&(w+=p.slice(T,k)+A,T=k+S.length)}return w+p.slice(T)}];function g(e,n,r,o,a,s){var u=r+e.length,c=o.length,l=h;return void 0!==a&&(a=i(a),l=p),t.call(s,l,(function(t,i){var s;switch(i.charAt(0)){case"$":return"$";case"&":return e;case"`":return n.slice(0,r);case"'":return n.slice(u);case"<":s=a[i.slice(1,-1)];break;default:var l=+i;if(0===l)return t;if(l>c){var f=d(l/10);return 0===f?t:f<=c?void 0===o[f-1]?i.charAt(1):o[f-1]+i.charAt(1):t}s=o[l-1]}return void 0===s?"":s}))}}))},64765:function(e,t,n){"use strict";var r=n(19670),i=n(84488),o=n(81150),a=n(97651);n(27007)("search",1,(function(e,t,n){return[function(t){var n=i(this),r=null==t?void 0:t[e];return void 0!==r?r.call(t,n):new RegExp(t)[e](String(n))},function(e){var i=n(t,e,this);if(i.done)return i.value;var s=r(e),u=String(this),c=s.lastIndex;o(c,0)||(s.lastIndex=0);var l=a(s,u);return o(s.lastIndex,c)||(s.lastIndex=c),null===l?-1:l.index}]}))},37268:function(e,t,n){"use strict";var r=n(14230),i=n(12098)("small");n(82109)({target:"String",proto:!0,forced:i},{small:function(){return r(this,"small","","")}})},23123:function(e,t,n){"use strict";var r=n(47850),i=n(19670),o=n(84488),a=n(36707),s=n(31530),u=n(17466),c=n(97651),l=n(22261),f=n(47293),d=[].push,p=Math.min,h=4294967295,g=!f((function(){return!RegExp(h,"y")}));n(27007)("split",2,(function(e,t,n){var f;return f="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(e,n){var i=String(o(this)),a=void 0===n?h:n>>>0;if(0===a)return[];if(void 0===e)return[i];if(!r(e))return t.call(i,e,a);for(var s,u,c,f=[],p=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),g=0,m=new RegExp(e.source,p+"g");(s=l.call(m,i))&&!((u=m.lastIndex)>g&&(f.push(i.slice(g,s.index)),s.length>1&&s.index<i.length&&d.apply(f,s.slice(1)),c=s[0].length,g=u,f.length>=a));)m.lastIndex===s.index&&m.lastIndex++;return g===i.length?!c&&m.test("")||f.push(""):f.push(i.slice(g)),f.length>a?f.slice(0,a):f}:"0".split(void 0,0).length?function(e,n){return void 0===e&&0===n?[]:t.call(this,e,n)}:t,[function(t,n){var r=o(this),i=null==t?void 0:t[e];return void 0!==i?i.call(t,r,n):f.call(String(r),t,n)},function(e,r){var o=n(f,e,this,r,f!==t);if(o.done)return o.value;var l=i(e),d=String(this),m=a(l,RegExp),y=l.unicode,v=(l.ignoreCase?"i":"")+(l.multiline?"m":"")+(l.unicode?"u":"")+(g?"y":"g"),b=new m(g?l:"^(?:"+l.source+")",v),_=void 0===r?h:r>>>0;if(0===_)return[];if(0===d.length)return null===c(b,d)?[d]:[];for(var w=0,T=0,x=[];T<d.length;){b.lastIndex=g?T:0;var S,k=c(b,g?d:d.slice(T));if(null===k||(S=p(u(b.lastIndex+(g?0:T)),d.length))===w)T=s(d,T,y);else{if(x.push(d.slice(w,T)),x.length===_)return x;for(var E=1;E<=k.length-1;E++)if(x.push(k[E]),x.length===_)return x;T=w=S}}return x.push(d.slice(w)),x}]}),!g)},23157:function(e,t,n){"use strict";var r=n(17466),i=n(28468),o="startsWith",a=n(84964)(o),s="".startsWith;n(82109)({target:"String",proto:!0,forced:!a},{startsWith:function(e){var t=i(this,e,o),n=r(Math.min(arguments.length>1?arguments[1]:void 0,t.length)),a=String(e);return s?s.call(t,a,n):t.slice(n,n+a.length)===a}})},7397:function(e,t,n){"use strict";var r=n(14230),i=n(12098)("strike");n(82109)({target:"String",proto:!0,forced:i},{strike:function(){return r(this,"strike","","")}})},60086:function(e,t,n){"use strict";var r=n(14230),i=n(12098)("sub");n(82109)({target:"String",proto:!0,forced:i},{sub:function(){return r(this,"sub","","")}})},80623:function(e,t,n){"use strict";var r=n(14230),i=n(12098)("sup");n(82109)({target:"String",proto:!0,forced:i},{sup:function(){return r(this,"sup","","")}})},48702:function(e,t,n){"use strict";var r=n(53111),i=n(8711)("trimEnd"),o=i?function(){return r(this,2)}:"".trimEnd;n(82109)({target:"String",proto:!0,forced:i},{trimEnd:o,trimRight:o})},55674:function(e,t,n){"use strict";var r=n(53111),i=n(8711)("trimStart"),o=i?function(){return r(this,1)}:"".trimStart;n(82109)({target:"String",proto:!0,forced:i},{trimStart:o,trimLeft:o})},73210:function(e,t,n){"use strict";var r=n(53111),i=n(8711)("trim");n(82109)({target:"String",proto:!0,forced:i},{trim:function(){return r(this,3)}})},72443:function(e,t,n){n(97235)("asyncIterator")},41817:function(e,t,n){"use strict";var r=n(19781),i=n(86656),o=n(70111),a=n(3070).f,s=n(99920),u=n(17854).Symbol;if(r&&"function"==typeof u&&(!("description"in u.prototype)||void 0!==u().description)){var c={},l=function(){var e=arguments.length<1||void 0===arguments[0]?void 0:String(arguments[0]),t=this instanceof l?new u(e):void 0===e?u():u(e);return""===e&&(c[t]=!0),t};s(l,u);var f=l.prototype=u.prototype;f.constructor=l;var d=f.toString,p="Symbol(test)"==String(u("test")),h=/^Symbol\((.*)\)[^)]+$/;a(f,"description",{configurable:!0,get:function(){var e=o(this)?this.valueOf():this,t=d.call(e);if(i(c,e))return"";var n=p?t.slice(7,-1):t.replace(h,"$1");return""===n?void 0:n}}),n(82109)({global:!0,forced:!0},{Symbol:l})}},92401:function(e,t,n){n(97235)("hasInstance")},8722:function(e,t,n){n(97235)("isConcatSpreadable")},32165:function(e,t,n){n(97235)("iterator")},82526:function(e,t,n){"use strict";var r=n(17854),i=n(86656),o=n(19781),a=n(31913),s=n(82109),u=n(31320),c=n(3501),l=n(47293),f=n(72309),d=n(58003),p=n(69711),h=n(5112),g=n(96805),m=n(97235),y=n(6294),v=n(43157),b=n(19670),_=n(70111),w=n(45656),T=n(57593),x=n(79114),S=n(70030),k=n(1156),E=n(31236),O=n(3070),C=n(55296),L=n(95185),A=n(81956),I=n(6200)("hidden"),P=n(29909),M="Symbol",R=P.set,j=P.getterFor(M),D=E.f,N=O.f,B=k.f,U=r.Symbol,F=r.JSON,z=F&&F.stringify,H=h("toPrimitive"),Z=C.f,q=f("symbol-registry"),V=f("symbols"),W=f("op-symbols"),G=f("wks"),$=Object.prototype,Y=r.QObject,K=n(30133),X=!Y||!Y.prototype||!Y.prototype.findChild,Q=o&&l((function(){return 7!=S(N({},"a",{get:function(){return N(this,"a",{value:7}).a}})).a}))?function(e,t,n){var r=D($,t);r&&delete $[t],N(e,t,n),r&&e!==$&&N($,t,r)}:N,J=function(e,t){var n=V[e]=S(U.prototype);return R(n,{type:M,tag:e,description:t}),o||(n.description=t),n},ee=K&&"symbol"==typeof U.iterator?function(e){return"symbol"==typeof e}:function(e){return Object(e)instanceof U},te=function(e,t,n){return e===$&&te(W,t,n),b(e),t=T(t,!0),b(n),i(V,t)?(n.enumerable?(i(e,I)&&e[I][t]&&(e[I][t]=!1),n=S(n,{enumerable:x(0,!1)})):(i(e,I)||N(e,I,x(1,{})),e[I][t]=!0),Q(e,t,n)):N(e,t,n)},ne=function(e,t){b(e);for(var n,r=y(t=w(t)),i=0,o=r.length;o>i;)te(e,n=r[i++],t[n]);return e},re=function(e){var t=Z.call(this,e=T(e,!0));return!(this===$&&i(V,e)&&!i(W,e))&&(!(t||!i(this,e)||!i(V,e)||i(this,I)&&this[I][e])||t)},ie=function(e,t){if(e=w(e),t=T(t,!0),e!==$||!i(V,t)||i(W,t)){var n=D(e,t);return!n||!i(V,t)||i(e,I)&&e[I][t]||(n.enumerable=!0),n}},oe=function(e){for(var t,n=B(w(e)),r=[],o=0;n.length>o;)i(V,t=n[o++])||i(c,t)||r.push(t);return r},ae=function(e){for(var t,n=e===$,r=B(n?W:w(e)),o=[],a=0;r.length>a;)!i(V,t=r[a++])||n&&!i($,t)||o.push(V[t]);return o};K||(U=function(){if(this instanceof U)throw TypeError("Symbol is not a constructor");var e=void 0===arguments[0]?void 0:String(arguments[0]),t=p(e),n=function(e){this===$&&n.call(W,e),i(this,I)&&i(this[I],t)&&(this[I][t]=!1),Q(this,t,x(1,e))};return o&&X&&Q($,t,{configurable:!0,set:n}),J(t,e)},u(U.prototype,"toString",(function(){return j(this).tag})),C.f=re,O.f=te,E.f=ie,n(8006).f=k.f=oe,n(25181).f=ae,o&&(N(U.prototype,"description",{configurable:!0,get:function(){return j(this).description}}),a||u($,"propertyIsEnumerable",re,{unsafe:!0})),g.f=function(e){return J(h(e),e)}),s({global:!0,wrap:!0,forced:!K,sham:!K},{Symbol:U});for(var se=A(G),ue=0;se.length>ue;)m(se[ue++]);s({target:M,stat:!0,forced:!K},{for:function(e){return i(q,e+="")?q[e]:q[e]=U(e)},keyFor:function(e){if(!ee(e))throw TypeError(e+" is not a symbol");for(var t in q)if(q[t]===e)return t},useSetter:function(){X=!0},useSimple:function(){X=!1}}),s({target:"Object",stat:!0,forced:!K,sham:!o},{create:function(e,t){return void 0===t?S(e):ne(S(e),t)},defineProperty:te,defineProperties:ne,getOwnPropertyDescriptor:ie}),s({target:"Object",stat:!0,forced:!K},{getOwnPropertyNames:oe,getOwnPropertySymbols:ae}),F&&s({target:"JSON",stat:!0,forced:!K||l((function(){var e=U();return"[null]"!=z([e])||"{}"!=z({a:e})||"{}"!=z(Object(e))}))},{stringify:function(e){for(var t,n,r=[e],i=1;arguments.length>i;)r.push(arguments[i++]);if(n=t=r[1],(_(t)||void 0!==e)&&!ee(e))return v(t)||(t=function(e,t){if("function"==typeof n&&(t=n.call(this,e,t)),!ee(t))return t}),r[1]=t,z.apply(F,r)}}),U.prototype[H]||L(U.prototype,H,U.prototype.valueOf),d(U,M),c[I]=!0},69007:function(e,t,n){n(97235)("match")},83510:function(e,t,n){n(97235)("replace")},41840:function(e,t,n){n(97235)("search")},6982:function(e,t,n){n(97235)("species")},32159:function(e,t,n){n(97235)("split")},96649:function(e,t,n){n(97235)("toPrimitive")},39341:function(e,t,n){n(97235)("toStringTag")},60543:function(e,t,n){n(97235)("unscopables")},92990:function(e,t,n){"use strict";var r=n(1048),i=n(90260),o=i.aTypedArray;i.exportProto("copyWithin",(function(e,t){return r.call(o(this),e,t,arguments.length>2?arguments[2]:void 0)}))},18927:function(e,t,n){"use strict";var r=n(77550)(4),i=n(90260),o=i.aTypedArray;i.exportProto("every",(function(e){return r(o(this),e,arguments.length>1?arguments[1]:void 0)}))},33105:function(e,t,n){"use strict";var r=n(21285),i=n(90260),o=i.aTypedArray;i.exportProto("fill",(function(e){return r.apply(o(this),arguments)}))},35035:function(e,t,n){"use strict";var r=n(36707),i=n(90260),o=n(77550)(2),a=i.aTypedArray,s=i.aTypedArrayConstructor;i.exportProto("filter",(function(e){for(var t=o(a(this),e,arguments.length>1?arguments[1]:void 0),n=r(this,this.constructor),i=0,u=t.length,c=new(s(n))(u);u>i;)c[i]=t[i++];return c}))},7174:function(e,t,n){"use strict";var r=n(77550)(6),i=n(90260),o=i.aTypedArray;i.exportProto("findIndex",(function(e){return r(o(this),e,arguments.length>1?arguments[1]:void 0)}))},74345:function(e,t,n){"use strict";var r=n(77550)(5),i=n(90260),o=i.aTypedArray;i.exportProto("find",(function(e){return r(o(this),e,arguments.length>1?arguments[1]:void 0)}))},44197:function(e,t,n){n(19843)("Float32",4,(function(e){return function(t,n,r){return e(this,t,n,r)}}))},76495:function(e,t,n){n(19843)("Float64",8,(function(e){return function(t,n,r){return e(this,t,n,r)}}))},32846:function(e,t,n){"use strict";var r=n(77550)(0),i=n(90260),o=i.aTypedArray;i.exportProto("forEach",(function(e){r(o(this),e,arguments.length>1?arguments[1]:void 0)}))},98145:function(e,t,n){"use strict";var r=n(6500),i=n(90260),o=n(97321);i.exportStatic("from",o,r)},44731:function(e,t,n){"use strict";var r=n(41318)(!0),i=n(90260),o=i.aTypedArray;i.exportProto("includes",(function(e){return r(o(this),e,arguments.length>1?arguments[1]:void 0)}))},77209:function(e,t,n){"use strict";var r=n(41318)(!1),i=n(90260),o=i.aTypedArray;i.exportProto("indexOf",(function(e){return r(o(this),e,arguments.length>1?arguments[1]:void 0)}))},35109:function(e,t,n){n(19843)("Int16",2,(function(e){return function(t,n,r){return e(this,t,n,r)}}))},65125:function(e,t,n){n(19843)("Int32",4,(function(e){return function(t,n,r){return e(this,t,n,r)}}))},87145:function(e,t,n){n(19843)("Int8",1,(function(e){return function(t,n,r){return e(this,t,n,r)}}))},96319:function(e,t,n){"use strict";var r=n(66992),i=n(17854).Uint8Array,o=n(90260),a=n(5112)("iterator"),s=r.values,u=r.keys,c=r.entries,l=o.aTypedArray,f=o.exportProto,d=i&&i.prototype[a],p=!!d&&("values"==d.name||null==d.name),h=function(){return s.call(l(this))};f("entries",(function(){return c.call(l(this))})),f("keys",(function(){return u.call(l(this))})),f("values",h,!p),f(a,h,!p)},58867:function(e,t,n){"use strict";var r=n(90260),i=r.aTypedArray,o=[].join;r.exportProto("join",(function(e){return o.apply(i(this),arguments)}))},37789:function(e,t,n){"use strict";var r=n(86583),i=n(90260),o=i.aTypedArray;i.exportProto("lastIndexOf",(function(e){return r.apply(o(this),arguments)}))},33739:function(e,t,n){"use strict";var r=n(36707),i=n(90260),o=i.aTypedArray,a=i.aTypedArrayConstructor,s=n(77550)(1,(function(e,t){return new(a(r(e,e.constructor)))(t)}));i.exportProto("map",(function(e){return s(o(this),e,arguments.length>1?arguments[1]:void 0)}))},95206:function(e,t,n){"use strict";var r=n(6500),i=n(90260),o=i.aTypedArrayConstructor;i.exportStatic("of",(function(){for(var e=0,t=arguments.length,n=new(o(this))(t);t>e;)n[e]=arguments[e++];return n}),r)},14483:function(e,t,n){"use strict";var r=n(90260),i=r.aTypedArray,o=[].reduceRight;r.exportProto("reduceRight",(function(e){return o.apply(i(this),arguments)}))},29368:function(e,t,n){"use strict";var r=n(90260),i=r.aTypedArray,o=[].reduce;r.exportProto("reduce",(function(e){return o.apply(i(this),arguments)}))},12056:function(e,t,n){"use strict";var r=n(90260),i=r.aTypedArray;r.exportProto("reverse",(function(){for(var e,t=this,n=i(t).length,r=Math.floor(n/2),o=0;o<r;)e=t[o],t[o++]=t[--n],t[n]=e;return t}))},3462:function(e,t,n){"use strict";var r=n(17466),i=n(84590),o=n(47908),a=n(90260),s=a.aTypedArray,u=n(47293)((function(){new Int8Array(1).set({})}));a.exportProto("set",(function(e){s(this);var t=i(arguments[1],1),n=this.length,a=o(e),u=r(a.length),c=0;if(u+t>n)throw RangeError("Wrong length");for(;c<u;)this[t+c]=a[c++]}),u)},30678:function(e,t,n){"use strict";var r=n(36707),i=n(90260),o=i.aTypedArray,a=i.aTypedArrayConstructor,s=[].slice,u=n(47293)((function(){new Int8Array(1).slice()}));i.exportProto("slice",(function(e,t){for(var n=s.call(o(this),e,t),i=r(this,this.constructor),u=0,c=n.length,l=new(a(i))(c);c>u;)l[u]=n[u++];return l}),u)},27462:function(e,t,n){"use strict";var r=n(77550)(3),i=n(90260),o=i.aTypedArray;i.exportProto("some",(function(e){return r(o(this),e,arguments.length>1?arguments[1]:void 0)}))},33824:function(e,t,n){"use strict";var r=n(90260),i=r.aTypedArray,o=[].sort;r.exportProto("sort",(function(e){return o.call(i(this),e)}))},55021:function(e,t,n){"use strict";var r=n(17466),i=n(51400),o=n(36707),a=n(90260),s=a.aTypedArray;a.exportProto("subarray",(function(e,t){var n=s(this),a=n.length,u=i(e,a);return new(o(n,n.constructor))(n.buffer,n.byteOffset+u*n.BYTES_PER_ELEMENT,r((void 0===t?a:i(t,a))-u))}))},12974:function(e,t,n){"use strict";var r=n(17854).Int8Array,i=n(47293),o=n(90260),a=o.aTypedArray,s=[].toLocaleString,u=[].slice,c=!!r&&i((function(){s.call(new r(1))})),l=i((function(){return[1,2].toLocaleString()!=new r([1,2]).toLocaleString()}))||!i((function(){r.prototype.toLocaleString.call([1,2])}));o.exportProto("toLocaleString",(function(){return s.apply(c?u.call(a(this)):a(this),arguments)}),l)},15016:function(e,t,n){"use strict";var r=n(17854).Uint8Array,i=r&&r.prototype,o=n(90260),a=[].toString,s=[].join;n(47293)((function(){a.call({})}))&&(a=function(){return s.call(this)}),o.exportProto("toString",a,(i||{}).toString!=a)},8255:function(e,t,n){n(19843)("Uint16",2,(function(e){return function(t,n,r){return e(this,t,n,r)}}))},29135:function(e,t,n){n(19843)("Uint32",4,(function(e){return function(t,n,r){return e(this,t,n,r)}}))},82472:function(e,t,n){n(19843)("Uint8",1,(function(e){return function(t,n,r){return e(this,t,n,r)}}))},49743:function(e,t,n){n(19843)("Uint8",1,(function(e){return function(t,n,r){return e(this,t,n,r)}}),!0)},4129:function(e,t,n){"use strict";var r,i=n(17854),o=n(12248),a=n(62423),s=n(29320),u=n(70111),c=n(29909).enforce,l=n(68536),f=!i.ActiveXObject&&"ActiveXObject"in i,d=Object.isExtensible,p=function(e){return function(){return e(this,arguments.length>0?arguments[0]:void 0)}},h=e.exports=n(77710)("WeakMap",p,s,!0,!0);if(l&&f){r=s.getConstructor(p,"WeakMap",!0),a.REQUIRED=!0;var g=h.prototype,m=g.delete,y=g.has,v=g.get,b=g.set;o(g,{delete:function(e){if(u(e)&&!d(e)){var t=c(this);return t.frozen||(t.frozen=new r),m.call(this,e)||t.frozen.delete(e)}return m.call(this,e)},has:function(e){if(u(e)&&!d(e)){var t=c(this);return t.frozen||(t.frozen=new r),y.call(this,e)||t.frozen.has(e)}return y.call(this,e)},get:function(e){if(u(e)&&!d(e)){var t=c(this);return t.frozen||(t.frozen=new r),y.call(this,e)?v.call(this,e):t.frozen.get(e)}return v.call(this,e)},set:function(e,t){if(u(e)&&!d(e)){var n=c(this);n.frozen||(n.frozen=new r),y.call(this,e)?b.call(this,e,t):n.frozen.set(e,t)}else b.call(this,e,t);return this}})}},38478:function(e,t,n){"use strict";n(77710)("WeakSet",(function(e){return function(){return e(this,arguments.length>0?arguments[0]:void 0)}}),n(29320),!1,!0)},54747:function(e,t,n){var r=n(48324),i=n(18533),o=n(95185),a=n(17854);for(var s in r){var u=a[s],c=u&&u.prototype;if(c&&c.forEach!==i)try{o(c,"forEach",i)}catch(e){c.forEach=i}}},33948:function(e,t,n){var r=n(48324),i=n(66992),o=n(17854),a=n(95185),s=n(5112),u=s("iterator"),c=s("toStringTag"),l=i.values;for(var f in r){var d=o[f],p=d&&d.prototype;if(p){if(p[u]!==l)try{a(p,u,l)}catch(e){p[u]=l}if(p[c]||a(p,c,f),r[f])for(var h in i)if(p[h]!==i[h])try{a(p,h,i[h])}catch(e){p[h]=i[h]}}}},84633:function(e,t,n){var r=n(17854),i=n(20261),o=!r.setImmediate||!r.clearImmediate;n(82109)({global:!0,bind:!0,enumerable:!0,forced:o},{setImmediate:i.set,clearImmediate:i.clear})},85844:function(e,t,n){var r=n(95948),i=n(17854).process,o="process"==n(84326)(i);n(82109)({global:!0,enumerable:!0,noTargetGet:!0},{queueMicrotask:function(e){var t=o&&i.domain;r(t?t.bind(e):e)}})},41637:function(e,t,n){"use strict";n(66992);var r=n(590),i=n(31320),o=n(12248),a=n(24994),s=n(29909),u=n(25787),c=n(86656),l=n(30244),f=n(19670),d=n(70111),p=n(18554),h=n(71246),g=n(5112)("iterator"),m="URLSearchParams",y="URLSearchParamsIterator",v=s.set,b=s.getterFor(m),_=s.getterFor(y),w=/\+/g,T=Array(4),x=function(e){return T[e-1]||(T[e-1]=RegExp("((?:%[\\da-f]{2}){"+e+"})","gi"))},S=function(e){try{return decodeURIComponent(e)}catch(t){return e}},k=function(e){for(var t=e.replace(w," "),n=4;n;)t=t.replace(x(n--),S);return t},E=/[!'()~]|%20/g,O={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},C=function(e){return O[e]},L=function(e){return encodeURIComponent(e).replace(E,C)},A=function(e,t){if(t)for(var n,r,i=t.split("&"),o=0;o<i.length;)(n=i[o++]).length&&(r=n.split("="),e.push({key:k(r.shift()),value:k(r.join("="))}));return e},I=function(e){this.entries.length=0,A(this.entries,e)},P=function(e,t){if(e<t)throw TypeError("Not enough arguments")},M=a((function(e,t){v(this,{type:y,iterator:p(b(e).entries),kind:t})}),"Iterator",(function(){var e=_(this),t=e.kind,n=e.iterator.next(),r=n.value;return n.done||(n.value="keys"===t?r.key:"values"===t?r.value:[r.key,r.value]),n})),R=function(){u(this,R,m);var e,t,n,r,i,o,a,s=arguments.length>0?arguments[0]:void 0,l=this,g=[];if(v(l,{type:m,entries:g,updateURL:null,updateSearchParams:I}),void 0!==s)if(d(s))if("function"==typeof(e=h(s)))for(t=e.call(s);!(n=t.next()).done;){if((i=(r=p(f(n.value))).next()).done||(o=r.next()).done||!r.next().done)throw TypeError("Expected sequence with length 2");g.push({key:i.value+"",value:o.value+""})}else for(a in s)c(s,a)&&g.push({key:a,value:s[a]+""});else A(g,"string"==typeof s?"?"===s.charAt(0)?s.slice(1):s:s+"")},j=R.prototype;o(j,{append:function(e,t){P(arguments.length,2);var n=b(this);n.entries.push({key:e+"",value:t+""}),n.updateURL&&n.updateURL()},delete:function(e){P(arguments.length,1);for(var t=b(this),n=t.entries,r=e+"",i=0;i<n.length;)n[i].key===r?n.splice(i,1):i++;t.updateURL&&t.updateURL()},get:function(e){P(arguments.length,1);for(var t=b(this).entries,n=e+"",r=0;r<t.length;r++)if(t[r].key===n)return t[r].value;return null},getAll:function(e){P(arguments.length,1);for(var t=b(this).entries,n=e+"",r=[],i=0;i<t.length;i++)t[i].key===n&&r.push(t[i].value);return r},has:function(e){P(arguments.length,1);for(var t=b(this).entries,n=e+"",r=0;r<t.length;)if(t[r++].key===n)return!0;return!1},set:function(e,t){P(arguments.length,1);for(var n,r=b(this),i=r.entries,o=!1,a=e+"",s=t+"",u=0;u<i.length;u++)(n=i[u]).key===a&&(o?i.splice(u--,1):(o=!0,n.value=s));o||i.push({key:a,value:s}),r.updateURL&&r.updateURL()},sort:function(){var e,t,n,r=b(this),i=r.entries,o=i.slice();for(i.length=0,t=0;t<o.length;t++){for(e=o[t],n=0;n<t;n++)if(i[n].key>e.key){i.splice(n,0,e);break}n===t&&i.push(e)}r.updateURL&&r.updateURL()},forEach:function(e){for(var t,n=b(this).entries,r=l(e,arguments.length>1?arguments[1]:void 0,3),i=0;i<n.length;)r((t=n[i++]).value,t.key,this)},keys:function(){return new M(this,"keys")},values:function(){return new M(this,"values")},entries:function(){return new M(this,"entries")}},{enumerable:!0}),i(j,g,j.entries),i(j,"toString",(function(){for(var e,t=b(this).entries,n=[],r=0;r<t.length;)e=t[r++],n.push(L(e.key)+"="+L(e.value));return n.join("&")}),{enumerable:!0}),n(58003)(R,m),n(82109)({global:!0,forced:!r},{URLSearchParams:R}),e.exports={URLSearchParams:R,getState:b}},60285:function(e,t,n){"use strict";n(78783);var r,i=n(19781),o=n(590),a=n(17854).URL,s=n(36048),u=n(31320),c=n(25787),l=n(86656),f=n(21574),d=n(48457),p=n(95866),h=n(33611),g=n(41637),m=g.URLSearchParams,y=g.getState,v=n(29909),b=v.set,_=v.getterFor("URL"),w=Math.pow,T="Invalid scheme",x="Invalid host",S="Invalid port",k=/[a-zA-Z]/,E=/[a-zA-Z0-9+\-.]/,O=/\d/,C=/^(0x|0X)/,L=/^[0-7]+$/,A=/^\d+$/,I=/^[0-9A-Fa-f]+$/,P=/\u0000|\u0009|\u000A|\u000D|\u0020|#|%|\/|:|\?|@|\[|\\|\]/,M=/\u0000|\u0009|\u000A|\u000D|\u0020|#|\/|:|\?|@|\[|\\|\]/,R=/^[\u0000-\u001F\u0020]+|[\u0000-\u001F\u0020]+$/g,j=/\u0009|\u000A|\u000D/g,D=function(e,t){var n,r,i;if("["==t.charAt(0)){if("]"!=t.charAt(t.length-1))return x;if(!(n=B(t.slice(1,-1))))return x;e.host=n}else if(W(e)){if(t=h(t),P.test(t))return x;if(null===(n=N(t)))return x;e.host=n}else{if(M.test(t))return x;for(n="",r=d(t),i=0;i<r.length;i++)n+=q(r[i],F);e.host=n}},N=function(e){var t,n,r,i,o,a,s,u=e.split(".");if(""==u[u.length-1]&&u.length&&u.pop(),(t=u.length)>4)return e;for(n=[],r=0;r<t;r++){if(""==(i=u[r]))return e;if(o=10,i.length>1&&"0"==i.charAt(0)&&(o=C.test(i)?16:8,i=i.slice(8==o?1:2)),""===i)a=0;else{if(!(10==o?A:8==o?L:I).test(i))return e;a=parseInt(i,o)}n.push(a)}for(r=0;r<t;r++)if(a=n[r],r==t-1){if(a>=w(256,5-t))return null}else if(a>255)return null;for(s=n.pop(),r=0;r<n.length;r++)s+=n[r]*w(256,3-r);return s},B=function(e){var t,n,r,i,o,a,s,u=[0,0,0,0,0,0,0,0],c=0,l=null,f=0,d=function(){return e.charAt(f)};if(":"==d()){if(":"!=e.charAt(1))return;f+=2,l=++c}for(;d();){if(8==c)return;if(":"!=d()){for(t=n=0;n<4&&I.test(d());)t=16*t+parseInt(d(),16),f++,n++;if("."==d()){if(0==n)return;if(f-=n,c>6)return;for(r=0;d();){if(i=null,r>0){if(!("."==d()&&r<4))return;f++}if(!O.test(d()))return;for(;O.test(d());){if(o=parseInt(d(),10),null===i)i=o;else{if(0==i)return;i=10*i+o}if(i>255)return;f++}u[c]=256*u[c]+i,2!=++r&&4!=r||c++}if(4!=r)return;break}if(":"==d()){if(f++,!d())return}else if(d())return;u[c++]=t}else{if(null!==l)return;f++,l=++c}}if(null!==l)for(a=c-l,c=7;0!=c&&a>0;)s=u[c],u[c--]=u[l+a-1],u[l+--a]=s;else if(8!=c)return;return u},U=function(e){var t,n,r,i;if("number"==typeof e){for(t=[],n=0;n<4;n++)t.unshift(e%256),e=Math.floor(e/256);return t.join(".")}if("object"==typeof e){for(t="",r=function(e){for(var t=null,n=1,r=null,i=0,o=0;o<8;o++)0!==e[o]?(i>n&&(t=r,n=i),r=null,i=0):(null===r&&(r=o),++i);return i>n&&(t=r,n=i),t}(e),n=0;n<8;n++)i&&0===e[n]||(i&&(i=!1),r===n?(t+=n?":":"::",i=!0):(t+=e[n].toString(16),n<7&&(t+=":")));return"["+t+"]"}return e},F={},z=f({},F,{" ":1,'"':1,"<":1,">":1,"`":1}),H=f({},z,{"#":1,"?":1,"{":1,"}":1}),Z=f({},H,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),q=function(e,t){var n=p(e,0);return n>32&&n<127&&!l(t,e)?e:encodeURIComponent(e)},V={ftp:21,file:null,gopher:70,http:80,https:443,ws:80,wss:443},W=function(e){return l(V,e.scheme)},G=function(e){return""!=e.username||""!=e.password},$=function(e){return!e.host||e.cannotBeABaseURL||"file"==e.scheme},Y=function(e,t){var n;return 2==e.length&&k.test(e.charAt(0))&&(":"==(n=e.charAt(1))||!t&&"|"==n)},K=function(e){var t;return e.length>1&&Y(e.slice(0,2))&&(2==e.length||"/"===(t=e.charAt(2))||"\\"===t||"?"===t||"#"===t)},X=function(e){var t=e.path,n=t.length;!n||"file"==e.scheme&&1==n&&Y(t[0],!0)||t.pop()},Q=function(e){return"."===e||"%2e"===e.toLowerCase()},J={},ee={},te={},ne={},re={},ie={},oe={},ae={},se={},ue={},ce={},le={},fe={},de={},pe={},he={},ge={},me={},ye={},ve={},be={},_e=function(e,t,n,i){var o,a,s,u,c,f=n||J,p=0,h="",g=!1,m=!1,y=!1;for(n||(e.scheme="",e.username="",e.password="",e.host=null,e.port=null,e.path=[],e.query=null,e.fragment=null,e.cannotBeABaseURL=!1,t=t.replace(R,"")),t=t.replace(j,""),o=d(t);p<=o.length;){switch(a=o[p],f){case J:if(!a||!k.test(a)){if(n)return T;f=te;continue}h+=a.toLowerCase(),f=ee;break;case ee:if(a&&(E.test(a)||"+"==a||"-"==a||"."==a))h+=a.toLowerCase();else{if(":"!=a){if(n)return T;h="",f=te,p=0;continue}if(n&&(W(e)!=l(V,h)||"file"==h&&(G(e)||null!==e.port)||"file"==e.scheme&&!e.host))return;if(e.scheme=h,n)return void(W(e)&&V[e.scheme]==e.port&&(e.port=null));h="","file"==e.scheme?f=de:W(e)&&i&&i.scheme==e.scheme?f=ne:W(e)?f=ae:"/"==o[p+1]?(f=re,p++):(e.cannotBeABaseURL=!0,e.path.push(""),f=ye)}break;case te:if(!i||i.cannotBeABaseURL&&"#"!=a)return T;if(i.cannotBeABaseURL&&"#"==a){e.scheme=i.scheme,e.path=i.path.slice(),e.query=i.query,e.fragment="",e.cannotBeABaseURL=!0,f=be;break}f="file"==i.scheme?de:ie;continue;case ne:if("/"!=a||"/"!=o[p+1]){f=ie;continue}f=se,p++;break;case re:if("/"==a){f=ue;break}f=me;continue;case ie:if(e.scheme=i.scheme,a==r)e.username=i.username,e.password=i.password,e.host=i.host,e.port=i.port,e.path=i.path.slice(),e.query=i.query;else if("/"==a||"\\"==a&&W(e))f=oe;else if("?"==a)e.username=i.username,e.password=i.password,e.host=i.host,e.port=i.port,e.path=i.path.slice(),e.query="",f=ve;else{if("#"!=a){e.username=i.username,e.password=i.password,e.host=i.host,e.port=i.port,e.path=i.path.slice(),e.path.pop(),f=me;continue}e.username=i.username,e.password=i.password,e.host=i.host,e.port=i.port,e.path=i.path.slice(),e.query=i.query,e.fragment="",f=be}break;case oe:if(!W(e)||"/"!=a&&"\\"!=a){if("/"!=a){e.username=i.username,e.password=i.password,e.host=i.host,e.port=i.port,f=me;continue}f=ue}else f=se;break;case ae:if(f=se,"/"!=a||"/"!=h.charAt(p+1))continue;p++;break;case se:if("/"!=a&&"\\"!=a){f=ue;continue}break;case ue:if("@"==a){g&&(h="%40"+h),g=!0,s=d(h);for(var v=0;v<s.length;v++){var b=s[v];if(":"!=b||y){var _=q(b,Z);y?e.password+=_:e.username+=_}else y=!0}h=""}else if(a==r||"/"==a||"?"==a||"#"==a||"\\"==a&&W(e)){if(g&&""==h)return"Invalid authority";p-=d(h).length+1,h="",f=ce}else h+=a;break;case ce:case le:if(n&&"file"==e.scheme){f=he;continue}if(":"!=a||m){if(a==r||"/"==a||"?"==a||"#"==a||"\\"==a&&W(e)){if(W(e)&&""==h)return x;if(n&&""==h&&(G(e)||null!==e.port))return;if(u=D(e,h))return u;if(h="",f=ge,n)return;continue}"["==a?m=!0:"]"==a&&(m=!1),h+=a}else{if(""==h)return x;if(u=D(e,h))return u;if(h="",f=fe,n==le)return}break;case fe:if(!O.test(a)){if(a==r||"/"==a||"?"==a||"#"==a||"\\"==a&&W(e)||n){if(""!=h){var w=parseInt(h,10);if(w>65535)return S;e.port=W(e)&&w===V[e.scheme]?null:w,h=""}if(n)return;f=ge;continue}return S}h+=a;break;case de:if(e.scheme="file","/"==a||"\\"==a)f=pe;else{if(!i||"file"!=i.scheme){f=me;continue}if(a==r)e.host=i.host,e.path=i.path.slice(),e.query=i.query;else if("?"==a)e.host=i.host,e.path=i.path.slice(),e.query="",f=ve;else{if("#"!=a){K(o.slice(p).join(""))||(e.host=i.host,e.path=i.path.slice(),X(e)),f=me;continue}e.host=i.host,e.path=i.path.slice(),e.query=i.query,e.fragment="",f=be}}break;case pe:if("/"==a||"\\"==a){f=he;break}i&&"file"==i.scheme&&!K(o.slice(p).join(""))&&(Y(i.path[0],!0)?e.path.push(i.path[0]):e.host=i.host),f=me;continue;case he:if(a==r||"/"==a||"\\"==a||"?"==a||"#"==a){if(!n&&Y(h))f=me;else if(""==h){if(e.host="",n)return;f=ge}else{if(u=D(e,h))return u;if("localhost"==e.host&&(e.host=""),n)return;h="",f=ge}continue}h+=a;break;case ge:if(W(e)){if(f=me,"/"!=a&&"\\"!=a)continue}else if(n||"?"!=a)if(n||"#"!=a){if(a!=r&&(f=me,"/"!=a))continue}else e.fragment="",f=be;else e.query="",f=ve;break;case me:if(a==r||"/"==a||"\\"==a&&W(e)||!n&&("?"==a||"#"==a)){if(".."===(c=(c=h).toLowerCase())||"%2e."===c||".%2e"===c||"%2e%2e"===c?(X(e),"/"==a||"\\"==a&&W(e)||e.path.push("")):Q(h)?"/"==a||"\\"==a&&W(e)||e.path.push(""):("file"==e.scheme&&!e.path.length&&Y(h)&&(e.host&&(e.host=""),h=h.charAt(0)+":"),e.path.push(h)),h="","file"==e.scheme&&(a==r||"?"==a||"#"==a))for(;e.path.length>1&&""===e.path[0];)e.path.shift();"?"==a?(e.query="",f=ve):"#"==a&&(e.fragment="",f=be)}else h+=q(a,H);break;case ye:"?"==a?(e.query="",f=ve):"#"==a?(e.fragment="",f=be):a!=r&&(e.path[0]+=q(a,F));break;case ve:n||"#"!=a?a!=r&&("'"==a&&W(e)?e.query+="%27":e.query+="#"==a?"%23":q(a,F)):(e.fragment="",f=be);break;case be:a!=r&&(e.fragment+=q(a,z))}p++}},we=function(e){var t,n,r=c(this,we,"URL"),o=arguments.length>1?arguments[1]:void 0,a=String(e),s=b(r,{type:"URL"});if(void 0!==o)if(o instanceof we)t=_(o);else if(n=_e(t={},String(o)))throw TypeError(n);if(n=_e(s,a,null,t))throw TypeError(n);var u=s.searchParams=new m,l=y(u);l.updateSearchParams(s.query),l.updateURL=function(){s.query=String(u)||null},i||(r.href=xe.call(r),r.origin=Se.call(r),r.protocol=ke.call(r),r.username=Ee.call(r),r.password=Oe.call(r),r.host=Ce.call(r),r.hostname=Le.call(r),r.port=Ae.call(r),r.pathname=Ie.call(r),r.search=Pe.call(r),r.searchParams=Me.call(r),r.hash=Re.call(r))},Te=we.prototype,xe=function(){var e=_(this),t=e.scheme,n=e.username,r=e.password,i=e.host,o=e.port,a=e.path,s=e.query,u=e.fragment,c=t+":";return null!==i?(c+="//",G(e)&&(c+=n+(r?":"+r:"")+"@"),c+=U(i),null!==o&&(c+=":"+o)):"file"==t&&(c+="//"),c+=e.cannotBeABaseURL?a[0]:a.length?"/"+a.join("/"):"",null!==s&&(c+="?"+s),null!==u&&(c+="#"+u),c},Se=function(){var e=_(this),t=e.scheme,n=e.port;if("blob"==t)try{return new URL(t.path[0]).origin}catch(e){return"null"}return"file"!=t&&W(e)?t+"://"+U(e.host)+(null!==n?":"+n:""):"null"},ke=function(){return _(this).scheme+":"},Ee=function(){return _(this).username},Oe=function(){return _(this).password},Ce=function(){var e=_(this),t=e.host,n=e.port;return null===t?"":null===n?U(t):U(t)+":"+n},Le=function(){var e=_(this).host;return null===e?"":U(e)},Ae=function(){var e=_(this).port;return null===e?"":String(e)},Ie=function(){var e=_(this),t=e.path;return e.cannotBeABaseURL?t[0]:t.length?"/"+t.join("/"):""},Pe=function(){var e=_(this).query;return e?"?"+e:""},Me=function(){return _(this).searchParams},Re=function(){var e=_(this).fragment;return e?"#"+e:""},je=function(e,t){return{get:e,set:t,configurable:!0,enumerable:!0}};if(i&&s(Te,{href:je(xe,(function(e){var t=_(this),n=String(e),r=_e(t,n);if(r)throw TypeError(r);y(t.searchParams).updateSearchParams(t.query)})),origin:je(Se),protocol:je(ke,(function(e){var t=_(this);_e(t,String(e)+":",J)})),username:je(Ee,(function(e){var t=_(this),n=d(String(e));if(!$(t)){t.username="";for(var r=0;r<n.length;r++)t.username+=q(n[r],Z)}})),password:je(Oe,(function(e){var t=_(this),n=d(String(e));if(!$(t)){t.password="";for(var r=0;r<n.length;r++)t.password+=q(n[r],Z)}})),host:je(Ce,(function(e){var t=_(this);t.cannotBeABaseURL||_e(t,String(e),ce)})),hostname:je(Le,(function(e){var t=_(this);t.cannotBeABaseURL||_e(t,String(e),le)})),port:je(Ae,(function(e){var t=_(this);$(t)||(""==(e=String(e))?t.port=null:_e(t,e,fe))})),pathname:je(Ie,(function(e){var t=_(this);t.cannotBeABaseURL||(t.path=[],_e(t,e+"",ge))})),search:je(Pe,(function(e){var t=_(this);""==(e=String(e))?t.query=null:("?"==e.charAt(0)&&(e=e.slice(1)),t.query="",_e(t,e,ve)),y(t.searchParams).updateSearchParams(t.query)})),searchParams:je(Me),hash:je(Re,(function(e){var t=_(this);""!=(e=String(e))?("#"==e.charAt(0)&&(e=e.slice(1)),t.fragment="",_e(t,e,be)):t.fragment=null}))}),u(Te,"toJSON",(function(){return xe.call(this)}),{enumerable:!0}),u(Te,"toString",(function(){return xe.call(this)}),{enumerable:!0}),a){var De=a.createObjectURL,Ne=a.revokeObjectURL;De&&u(we,"createObjectURL",(function(e){return De.apply(a,arguments)})),Ne&&u(we,"revokeObjectURL",(function(e){return Ne.apply(a,arguments)}))}n(58003)(we,"URL"),n(82109)({global:!0,forced:!o,sham:!i},{URL:we})},83753:function(e,t,n){"use strict";n(82109)({target:"URL",proto:!0,enumerable:!0},{toJSON:function(){return URL.prototype.toString.call(this)}})},49420:function(e,t,n){var r=n(13621),i=n(37729),o=n(3724),a=n(15408).type("Any"),s=n(15408).typeFn(a(),2),u=n(84863),c=n(37356),l=n(36352),f=n(49439),d=function(){return p(!1)};function p(e){var t,n=l(e)?d().valueOf():e;if(!arguments.length||c(n))throw new TypeError("Any: Non-function value required");var r=function(){return!!n},h=d,g=function(){return"Any"+i(r())},m=function(e){return f(p,e)&&o(n,e.valueOf())};function y(e){return function(t){if(!f(p,t))throw new TypeError("Any."+e+": Any required");return p(t.valueOf()||r())}}return(t={inspect:g,toString:g,equals:m,valueOf:r,type:a,empty:h})["@@type"]=s,t.concat=y("concat"),t[u.equals]=m,t[u.concat]=y(u.concat),t[u.empty]=h,t.constructor=p,t}p["@@implements"]=r(["equals","concat","empty"]),p.empty=d,p.type=a,p[u.empty]=d,p["@@type"]=s,e.exports=p},94066:function(e,t,n){var r=n(13621),i=n(37729),o=n(15408).type("Async"),a=n(15408).typeFn(o(),5),s=n(84863),u=n(42319),c=n(89064),l=n(21825),f=n(49177),d=n(33385),p=n(34798),h=n(37356),g=n(65224),m=n(79753),y=n(49439),v=function(e){return b((function(t,n){return n(e)}))};function b(e){var t;if(!h(e))throw new TypeError("Async: Function required");var n=v,r=function(){return"Async"+i(e)};function u(t,n,r){if(!h(t)||!h(n))throw new TypeError("Async.fork: Reject and resolve functions required");var i=!1,o=!1,a=h(r)?r:f,s=function(e,t){if(!o)return o=!0,i?f():e(t)},u=e(s.bind(null,t),s.bind(null,n)),c=h(u)?u:f;return l((function(){return a((c(),void(i=!0)))}))}function d(e){return function(t){if(!h(t))throw new TypeError("Async."+e+": Function required");return b((function(e,n){return u(e,c(n,t))}))}}function p(e){return function(t,n){if(!h(t)||!h(n))throw new TypeError("Async."+e+": Functions required for both arguments");return b((function(e,r){return u(c(e,t),c(r,n))}))}}function g(e){return function(t){if(!y(b,t))throw new TypeError("Async."+e+": Async required");return b((function(e,n){var r=f,i=f;return r=u((function(){i=t.fork(e,n)}),n),l((function(){return i(r())}))}))}}function m(e){return function(t){if(!h(t))throw new TypeError("Async."+e+": Async returning function required");return b((function(n,r){var i=f,o=f;return i=u(n,(function(i){var a=t(i);if(!y(b,a))throw new TypeError("Async."+e+": Function must return another Async");o=a.fork(n,r)})),l((function(){return o(i())}))}))}}return(t={fork:u,toPromise:function(){return new Promise((function(e,t){u(t,e)}))},inspect:r,toString:r,type:o,swap:function(e,t){if(!h(e)||!h(t))throw new TypeError("Async.swap: Functions required for both arguments");return b((function(n,r){return u(c(r,e),c(n,t))}))},race:function(e){if(!y(b,e))throw new TypeError("Async.race: Async required");return b((function(t,n){var r=l((function(e,r){return e?n(r):t(r)})),i=r.bind(null,!0),o=r.bind(null,!1),a=u(o,i),s=e.fork(o,i);return function(){a(),s()}}))},coalesce:function(e,t){if(!h(e)||!h(t))throw new TypeError("Async.coalesce: Functions required for both arguments");return b((function(n,r){return u(c(r,e),c(r,t))}))},ap:function(e){if(!y(b,e))throw new TypeError("Async.ap: Async required");return b((function(t,n){var r=null,i=null,o=!1,a=!1,s=!1,f=l(t);function d(){!s&&o&&a&&c(n,r)(i)}var p=u(f,(function(e){if(!h(e))throw new TypeError("Async.ap: Wrapped value must be a function");o=!0,r=e,d()})),g=e.fork(f,(function(e){a=!0,i=e,d()}));return function(){p(),g(),s=!0}}))},of:n,alt:g("alt"),bimap:p("bimap"),map:d("map"),chain:m("chain"),bichain:function(e,t){var n="Async.bichain: Both arguments must be Async returning functions";if(!h(e)||!h(t))throw new TypeError(n);return b((function(r,i){var o=f,a=f;function s(e){return function(t){var o=e(t);if(!y(b,o))throw new TypeError(n);a=o.fork(r,i)}}return o=u(s(e),s(t)),l((function(){return a(o())}))}))}})[s.of]=n,t[s.alt]=g(s.alt),t[s.bimap]=p(s.bimap),t[s.map]=d(s.map),t[s.chain]=m(s.chain),t["@@type"]=a,t.constructor=b,t}b.of=v,b.type=o,b[s.of]=v,b["@@type"]=a,b.Rejected=function(e){return b((function(t){return t(e)}))},b.Resolved=v,b.fromPromise=function(e){if(!h(e))throw new TypeError("Async.fromPromise: Promise returning function required");return function(){var t=arguments;return b((function(n,r){var i=e.apply(null,t);if(!m(i))throw new TypeError("Async.fromPromise: Promise returning function required");i.then(r,n)}))}},b.fromNode=function(e,t){if(!h(e))throw new TypeError("Async.fromNode: CPS function required");return function(){for(var n=[],r=arguments.length;r--;)n[r]=arguments[r];return b((function(r,i){e.apply(t,n.concat((function(e,t){return e?r(e):i(t)})))}))}},b.all=function(e){if(!p(e)||!e.reduce((function(e,t){return e&&y(b,t)}),!0))throw new TypeError("Async.all: Foldable structure of Asyncs required");return d(e)?u.sequence(b.of,e):e.sequence(b.of)},b.rejectAfter=function(e,t){if(!(g(e)&&e>=0))throw new TypeError("Async.rejectAfter: Positive Integer required for first argument");return b((function(n){var r=setTimeout((function(){n(t)}),e);return function(){clearTimeout(r)}}))},b.resolveAfter=function(e,t){if(!(g(e)&&e>=0))throw new TypeError("Async.resolveAfter: Positive Integer required for first argument");return b((function(n,r){var i=setTimeout((function(){r(t)}),e);return function(){clearTimeout(i)}}))},b["@@implements"]=r(["alt","ap","bimap","chain","map","of"]),e.exports=b},72956:function(e,t,n){var r=n(78310),i=r.Nothing,o=r.Just,a=n(81097),s=n(87201),u=n(89339);e.exports=s((function(e,t){if(!u(e))throw new TypeError("safe: Pred or predicate function required for first argument");return a(e,t)?o(t):i()}))},83023:function(e,t,n){var r=n(89064),i=n(87201),o=n(89339),a=n(37356),s=n(72956);e.exports=i((function(e,t){if(!o(e))throw new TypeError("safeLift: Pred or predicate function required for first argument");if(!a(t))throw new TypeError("safeLift: Function required for second argument");return r(function(e){return function(t){return t.map(e)}}(t),s(e))}))},68621:function(e,t,n){var r=n(14917),i=n(87201),o=n(60280),a=n(37356),s=n(49439),u=n(92715);e.exports=i((function(e,t){if(a(e)&&a(t))return function(n){return r(e(n),t(n))};if(s(n=e,t)&&u(n)&&o(n)&&a(n.first)&&a(n.second))return e.first().compose(t.second()).contramap((function(e){return r(e,e)}));var n;throw new TypeError("fanout: Arrows, Functions or Stars of the same type required for both arguments")}))},56169:function(e,t,n){e.exports=n(5655)},98038:function(e,t,n){var r=n(87201),i=n(37356);e.exports=r((function(e,t){if(!i(t))throw new TypeError("applyTo: Function required for second argument");return t(e)}))},23385:function(e,t,n){var r=n(87201),i=n(37356);e.exports=r((function(e,t,n,o){if(!i(e)||!i(t)||!i(n))throw new TypeError("converge: Functions required for first three arguments");return r(e)(t(o),n(o))}))},9730:function(e,t,n){var r=n(87201),i=n(37356);e.exports=r((function(e,t,n){if(!i(e))throw new TypeError("flip: Function required for first argument");return r(e)(n,t)}))},60740:function(e){e.exports=function(e){return e}},47088:function(e,t,n){var r=n(87201),i=n(37356);e.exports=r((function(e,t,n){if(!i(e)||!i(t))throw new TypeError("substitution: Functions required for first two arguments");return r(e)(n,t(n))}))},78310:function(e,t,n){var r=n(55841),i=n(3724),o=n(13621),a=n(41519),s=n(37729),u=n(15408).type("Maybe"),c=n(15408).typeFn(u(),4),l=n(84863),f=n(68534),d=n(89064),p=n(38142),h=n(15909),g=n(33385),m=n(37356),y=n(49439),v=function(e){return function(){return e}},b=function(e){return e},_=r({Nothing:[],Just:["a"]}),w=_.Nothing,T=_.Just;E.Nothing=d(E,w),E.Just=d(E,T);var x=d(E,T),S=d(E,w);function k(e){if(!h(e)&&!g(e))throw new TypeError("Maybe.sequence: Must wrap an Apply");return e.map(x)}function E(e){var t;if(!arguments.length)throw new TypeError("Maybe: Must wrap something, try using Nothing or Just constructors");var n=_.includes(e)?e:T(e),r=x,o=S,w=function(e){return L(v(e),b)},O=function(e){return y(E,e)&&L(v(e.either(v(!0),v(!1))),(function(t){return e.either(v(!1),(function(e){return i(e,t)}))}))},C=function(){return L(v("Nothing"),(function(e){return"Just"+s(e)}))};function L(e,t){if(!m(e)||!m(t))throw new TypeError("Maybe.either: Requires both left and right functions");return _.caseOf({Nothing:e,Just:t},n)}function A(e){return function(t){if(!y(E,t))throw new TypeError("Maybe."+e+": Maybe of Semigroup required");return L(E.Nothing,a("Maybe."+e,t))}}function I(e,t){if(!m(e)||!m(t))throw new TypeError("Maybe.coalesce: Requires both left and right functions");return E.Just(L(e,t))}function P(e,t){var n="Maybe.bichain: Both arguments must be Maybe returning functions";if(!m(e)||!m(t))throw new TypeError(n);var r=L(e,t);if(!y(E,r))throw new TypeError(n);return r}function M(e){return function(t){if(!m(t))throw new TypeError("Maybe."+e+": Function required");return L(E.Nothing,d(E.Just,t))}}function R(e){return function(t){if(!y(E,t))throw new TypeError("Maybe."+e+": Maybe required");return L(v(t),E.Just)}}function j(e){var t=w(v(void 0));if(!m(t))throw new TypeError("Maybe.ap: Wrapped value must be a function");if(!y(E,e))throw new TypeError("Maybe.ap: Maybe required");return L(E.Nothing,e.map)}function D(e){return function(t){if(!m(t))throw new TypeError("Maybe."+e+": Function required");var n=L(E.Nothing,t);if(!y(E,n))throw new TypeError("Maybe."+e+": Function must return a Maybe");return n}}function N(e){if(!p(e)&&!m(e))throw new TypeError("Maybe.sequence: Applicative TypeRep or Apply returning function required");var t=f(e);return L(d(t,E.Nothing),k)}function B(e,t){if(!p(e)&&!m(e))throw new TypeError("Maybe.traverse: Applicative TypeRep or Apply returning function required for first argument");if(!m(t))throw new TypeError("Maybe.traverse: Apply returning function required for second argument");var n=f(e),r=L(d(n,E.Nothing),t);if(!h(r)&&!g(r))throw new TypeError("Maybe.traverse: Both functions must return an Apply of the same type");return L(v(r),v(r.map(x)))}return(t={inspect:C,toString:C,either:L,option:w,type:u,equals:O,bichain:P,coalesce:I,zero:o,ap:j,of:r,sequence:N,traverse:B,alt:R("alt"),chain:D("chain"),concat:A("concat"),map:M("map")})[l.zero]=o,t[l.of]=r,t[l.equals]=O,t[l.alt]=R(l.alt),t[l.concat]=A(l.concat),t[l.map]=M(l.map),t[l.chain]=D(l.chain),t["@@type"]=c,t.constructor=E,t}E.of=x,E.zero=S,E.type=u,E[l.of]=x,E[l.zero]=S,E["@@type"]=c,E["@@implements"]=o(["alt","ap","chain","concat","equals","map","of","traverse","zero"]),e.exports=E},14917:function(e,t,n){var r=n(3724),i=n(13621),o=n(37729),a=n(15408).type("Pair"),s=n(15408).typeFn(a(),4),u=n(84863),c=n(38142),l=n(15909),f=n(33385),d=n(37356),p=n(49439),h=n(32105);function g(e,t){var n;if(arguments.length<2)throw new TypeError("Pair: Must provide a first and second value");var i=function(){return e},m=function(){return t},y=function(){return"Pair("+o(e)+","+o(t)+" )"},v=function(){return[e,t]};function b(e){if(!d(e))throw new TypeError("Pair.merge: Binary function required");return e(i(),m())}function _(e){return p(g,e)&&r(e.fst(),i())&&r(e.snd(),m())}function w(e){return function(t){if(!p(g,t))throw new TypeError("Pair."+e+": Pair required");var n=i(),r=m(),o=t.fst(),a=t.snd();if(!h(n)||!h(r))throw new TypeError("Pair."+e+": Both Pairs must contain Semigroups of the same type");if(!p(n,o)||!p(r,a))throw new TypeError("Pair."+e+": Both Pairs must contain Semigroups of the same type");return g(n.concat(o),r.concat(a))}}function T(n,r){if(!d(n)||!d(r))throw new TypeError("Pair.swap: Requires both left and right functions");return g(r(t),n(e))}function x(n){return function(r){if(!d(r))throw new TypeError("Pair."+n+": Function required");return g(e,r(t))}}function S(n){return function(r,i){if(!d(r)||!d(i))throw new TypeError("Pair."+n+": Function required for both arguments");return g(r(e),i(t))}}function k(e){if(!p(g,e))throw new TypeError("Pair.ap: Pair required");var t=m();if(!d(t))throw new TypeError("Pair.ap: Function required for second value");var n=i(),r=e.fst();if(!h(n)||!p(n,r))throw new TypeError("Pair.ap: Semigroups of the same type is required for first values");return g(n.concat(r),t(e.snd()))}function E(e){return function(t){var n=i();if(!d(t))throw new TypeError("Pair."+e+": Function required");if(!h(n))throw new TypeError("Pair."+e+": Semigroups of the same type required for first values");var r=t(m());if(!p(g,r))throw new TypeError("Pair."+e+": Function must return a Pair");var o=r.fst();if(!p(n,o))throw new TypeError("Pair."+e+": Semigroups of the same type required for first values");return g(n.concat(o),r.snd())}}function O(n){if(!c(n)&&!d(n))throw new TypeError("Pair.sequence: Applicative TypeRep or Apply returning function required");if(!l(t)&&!f(t))throw new TypeError("Pair.sequence: Must wrap an Apply in the second");return t.map((function(t){return g(e,t)}))}function C(n,r){if(!c(n)&&!d(n))throw new TypeError("Pair.traverse: Applicative TypeRep or Apply returning function required for first argument");if(!d(r))throw new TypeError("Pair.traverse: Apply returning function required for second argument");var i=r(t);if(!l(i)&&!f(i))throw new TypeError("Pair.traverse: Both functions must return an Apply of the same type");return i.map((function(t){return g(e,t)}))}function L(n){return function(r){if(!d(r))throw new TypeError("Pair."+n+": Function required");return g(e,r(g(e,t)))}}return(n={inspect:y,toString:y,fst:i,snd:m,toArray:v,type:a,merge:b,equals:_,swap:T,ap:k,sequence:O,traverse:C,concat:w("concat"),map:x("map"),bimap:S("bimap"),chain:E("chain"),extend:L("extend")})[u.equals]=_,n[u.concat]=w(u.concat),n[u.map]=x(u.map),n[u.bimap]=S(u.bimap),n[u.chain]=E(u.chain),n[u.extend]=L(u.extend),n["@@type"]=s,n.constructor=g,n}g.type=a,g["@@type"]=s,g["@@implements"]=i(["ap","bimap","chain","concat","extend","equals","map","traverse"]),e.exports=g},5655:function(e,t,n){var r=n(13621),i=n(37729),o=n(15408).type("Pred"),a=n(15408).typeFn(o(),2),s=n(84863),u=n(89064),c=n(37356),l=n(49439),f=function(){return d((function(){return!0}))};function d(e){var t;if(!c(e))throw new TypeError("Pred: Predicate function required");var n=function(t){return!!e(t)},r=function(){return"Pred"+i(n)},p=f;function h(e){return function(t){if(!l(d,t))throw new TypeError("Pred."+e+": Pred required");return d((function(e){return!!n(e)&&!!t.runWith(e)}))}}function g(e){return function(t){if(!c(t))throw new TypeError("Pred."+e+": Function required");return d(u(n,t))}}return(t={inspect:r,toString:r,runWith:n,type:o,valueOf:function(){return n},empty:p,concat:h("concat"),contramap:g("contramap")})[s.empty]=p,t[s.concat]=h(s.concat),t[s.contramap]=g(s.contramap),t["@@type"]=a,t.constructor=d,t}d.empty=f,d.type=o,d[s.empty]=f,d["@@type"]=a,d["@@implements"]=r(["concat","contramap","empty"]),e.exports=d},49177:function(e){e.exports=Function.prototype},68534:function(e,t,n){var r=n(38142),i=n(55881);e.exports=function(e){return function(t){return r(e)?e.of(t):i(Array,e)?[t]:e(t)}}},42319:function(e,t,n){var r=n(15909),i=n(33385),o=n(84926),a=n(37356),s=n(49439),u=n(32105),c=n(68534),l=function(e){return e},f=function(e){return function(t){return e.concat(t)}};function d(e,t){return function(n,o){var a=t(o);if(!r(n)&&!i(n)||!s(n,a))throw new TypeError("Array."+e+": Must wrap Applys of the same type");return i(a)?h(n,p((function(e){return f([e])}),a)):a.map((function(e){return f([e])})).ap(n)}}var p=function(e,t){return t.map((function(t){return e(t)}))};function h(e,t){if(!t.length||!t.reduce((function(e,t){return e&&a(t)}),!0))throw new TypeError("Array.ap: Second Array must all be functions");return t.reduce((function(t,n){return t.concat(p(n,e))}),[])}e.exports={ap:h,chain:function(e,t){return t.reduce((function(t,n){var r=e(n);if(!i(r))throw new TypeError("Array.chain: Function must return an Array");return t.concat(r)}),[])},fold:function(e){if(o(e))throw new TypeError("Array.fold: Non-empty Array of Semigroups required");var t=e[0];if(!u(t))throw new TypeError("Array.fold: Must contain Semigroups of the same type");return e.reduce((function(e,t){if(!s(e,t))throw new TypeError("Array.fold: Must contain Semigroups of the same type");return e.concat(t)}))},foldMap:function(e,t){if(o(t))throw new TypeError("Array.foldMap: Non-empty Array required");var n=e(t[0]);if(!u(n))throw new TypeError("Array.foldMap: Provided function must return Semigroups of the same type");return 1===t.length?n:t.slice(1).reduce((function(t,n){var r=e(n);if(!s(t,r)||!u(r))throw new TypeError("Array.foldMap: Provided function must return Semigroups of the same type");return t.concat(r)}),n)},map:p,sequence:function(e,t){var n=c(e);return t.reduceRight(d("sequence",l),n([]))},set:function(e,t,n){var r=n.slice();return r[e]=t,r},traverse:function(e,t,n){var r=c(e);return n.reduceRight(d("traverse",t),r([]))},unset:function(e,t){return t.slice(0,e).concat(t.slice(e+1))}}},89064:function(e){e.exports=function(e,t){return function(n){return e(t(n))}}},87201:function(e,t,n){var r=n(37356),i="@@crocks/curried";function o(e,t){return r(e)?e.length>1?e.bind(null,t):e.call(null,t):e}e.exports=function e(t){if(t[i])return t;function n(){for(var n=[],i=arguments.length;i--;)n[i]=arguments[i];var a=n.length?n:[void 0];if(a.length<t.length)return e(Function.bind.apply(t,[null].concat(a)));var s=a.length===t.length?t.apply(null,a):a.reduce(o,t);return r(s)?e(s):s}return Object.defineProperty(n,i,{enumerable:!1,writable:!1,value:!0}),n}},55841:function(e,t,n){var r=n(87201),i=n(33385),o=n(84926),a=n(37356),s=n(77531),u=n(84340),c=function(e){return function(){return e}};function l(e){return function(t,n){var r=n.tag,i=e[r()].reduce((function(e,t){return e.concat([n[t].value()])}),[]);return t[r()].apply(null,i)}}var f=function(e){return function(t){return!!t&&a(t.tag)&&-1!==Object.keys(e).indexOf(t.tag())}};e.exports=function(e){if(!s(e)||o(e))throw new TypeError("defineUnion: Argument must be an Object containing definition lists");return Object.keys(e).reduce((function(t,n){var r=e[n];if(!i(r)||!r.reduce((function(e,t){return e&&function(e){return u(e)&&e.length}(t)}),!0))throw new TypeError("defineUnion: Definitions must be a list of non-empty string identifiers");return t[n]=function(e,t){return function(){for(var n=[],r=arguments.length;r--;)n[r]=arguments[r];return e.reduce((function(e,t,r){return e[t]={value:c(n[r])},e}),{tag:c(t)})}}(r,n),t}),{caseOf:r(l(e)),includes:r(f(e))})}},3724:function(e,t,n){var r=n(49439),i=n(64803),o=n(4828),a=n(66130),s=n(84863),u=function(e,t){return e.valueOf()===t.valueOf()},c={Array:function(e,t){return e.length===t.length&&l(e,t)},Date:function(e,t){return i(e.valueOf(),t.valueOf())},Error:function(e,t){return e.name===t.name&&e.message===t.message},Object:function(e,t){return Object.keys(e).length===Object.keys(t).length&&l(e,t)},RegExp:function(e,t){return e.source===t.source&&e.ignoreCase===t.ignoreCase&&e.global===t.global&&e.multiline===t.multiline&&e.unicode===t.unicode}};function l(e,t){for(var n in e)if(!f(e[n],t[n]))return!1;return!0}function f(e,t){return!!i(e,t)||!!r(e,t)&&(o("equals",e)?(t[s.equals]||t.equals).call(t,e):(c[a(e)]||u)(e,t))}e.exports=f},84863:function(e){e.exports={alt:"fantasy-land/alt",bimap:"fantasy-land/bimap",chain:"fantasy-land/chain",compose:"fantasy-land/compose",concat:"fantasy-land/concat",contramap:"fantasy-land/contramap",empty:"fantasy-land/empty",equals:"fantasy-land/equals",extend:"fantasy-land/extend",filter:"fantasy-land/filter",id:"fantasy-land/id",map:"fantasy-land/map",of:"fantasy-land/of",promap:"fantasy-land/promap",reduce:"fantasy-land/reduce",zero:"fantasy-land/zero"}},4828:function(e,t,n){var r=n(37356),i=n(84863);e.exports=function(e,t){return!!t&&(function(e,t){return r(t[i[e]])||r(t[e])}(e,t)||function(e,t){return r(t["@@implements"])&&!!t["@@implements"](e)}(e,t))}},13621:function(e){e.exports=function(e){return function(t){return-1!==e.indexOf(t)}}},41519:function(e,t,n){var r=n(49439),i=n(32105);e.exports=function(e,t){return function(n){if(!i(n))throw new TypeError(e+": Both containers must contain Semigroups of the same type");return t.map((function(t){if(!r(n,t))throw new TypeError(e+": Both containers must contain Semigroups of the same type");return n.concat(t)}))}}},37729:function(e,t,n){var r=n(33385),i=n(37356),o=n(77531),a=n(84340),s=n(22296),u=n(10757);function c(e){return e&&i(e.inspect)?" "+e.inspect():i(e)?" Function":r(e)?" ["+(((t=e).length?t.map(c).reduce((function(e,t){return e+","+t})):t)+" ]"):o(e)?" { "+Object.keys(e).reduce((function(t,n){return t.concat([n+":"+c(e[n])])}),[]).join(", ")+" }":a(e)?' "'+e+'"':s(e)||u(e)?" "+e.toString():" "+e;var t}e.exports=c},38142:function(e,t,n){var r=n(4828),i=n(15909);e.exports=function(e){return i(e)&&(r("of",e)||r("of",e.constructor))}},15909:function(e,t,n){var r=n(4828),i=n(13264);e.exports=function(e){return i(e)&&r("ap",e)}},33385:function(e){e.exports=function(e){return Array.isArray(e)}},83317:function(e,t,n){var r=n(4828),i=n(13264);e.exports=function(e){return i(e)&&r("bimap",e)}},47455:function(e,t,n){var r=n(4828),i=n(15909);e.exports=function(e){return i(e)&&r("chain",e)}},60280:function(e,t,n){var r=n(4828);e.exports=function(e){return!!e&&r("contramap",e)}},10757:function(e){e.exports=function(e){return"[object Date]"===Object.prototype.toString.apply(e)&&!isNaN(e.valueOf())}},84926:function(e,t,n){var r=n(77531),i=n(52803),o=n(3724),a=n(84863);e.exports=function(e){if(i(e)){var t=e.constructor[a.empty]||e.constructor.empty||e.empty;return o(e,t())}return r(e)?!Object.keys(e).length:!e||void 0===e.length||!e.length}},34798:function(e,t,n){var r=n(4828);e.exports=function(e){return!!e&&r("reduce",e)}},37356:function(e){e.exports=function(e){return"function"==typeof e}},13264:function(e,t,n){var r=n(4828);e.exports=function(e){return!!e&&r("map",e)}},65224:function(e,t,n){var r=n(19724);e.exports=function(e){return r(e)&&isFinite(e)&&Math.floor(e)===e}},52803:function(e,t,n){var r=n(4828),i=n(32105);e.exports=function(e){return i(e)&&(r("empty",e)||r("empty",e.constructor))}},36352:function(e){e.exports=function(e){return null==e||e!=e}},19724:function(e){e.exports=function(e){return"number"==typeof e&&!isNaN(e)}},77531:function(e){var t=Object.prototype.toString;e.exports=function(e){return!!e&&"[object Object]"===t.call(e)}},89339:function(e,t,n){var r=n(15408).proxy("Pred"),i=n(37356),o=n(49439);e.exports=function(e){return i(e)||o(r,e)}},79753:function(e,t,n){var r=n(37356);e.exports=function(e){return!!e&&r(e.then)&&r(e.catch)}},64803:function(e){e.exports=function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}},49439:function(e,t,n){var r=n(87201),i=n(37356),o=n(66130);e.exports=r((function(e,t){var n=o(e),r=o(t);return n===r||i(e)&&e.name===r||i(t)&&t.name===n}))},32105:function(e,t,n){var r=n(84340),i=n(4828);e.exports=function(e){return r(e)||!!e&&i("concat",e)}},92715:function(e,t,n){var r=n(4828);e.exports=function(e){return!!e&&r("compose",e)}},84340:function(e){e.exports=function(e){return"string"==typeof e}},22296:function(e){e.exports=function(e){return"symbol"==typeof e}},55881:function(e,t,n){var r=n(37356);e.exports=function(e,t){return r(t)&&(e===t||e.name===t.name)}},32271:function(e,t,n){var r=n(89064);e.exports=function(e,t,n){return n.reduce((i=r(e,t),function(e,t){return e.concat(i(t))}),e.empty());var i}},50694:function(e){function t(e){return function(t,n){var r=e[n];return void 0!==r&&(t[n]=r),t}}function n(e,n){var r=Object.keys(n).reduce(t(n),{});return Object.keys(e).reduce(t(e),r)}e.exports={assign:n,filter:function(e,t){return Object.keys(t).reduce((function(n,r){return e(t[r])&&(n[r]=t[r]),n}),{})},map:function(e,t){return Object.keys(t).reduce((function(n,r){return n[r]=e(t[r]),n}),{})},set:function(e,t,r){var i;return n(((i={})[e]=t,i),r)},unset:function(e,t){return Object.keys(t).reduce((function(n,r){return void 0!==t[r]&&r!==e&&(n[r]=t[r]),n}),{})}}},21825:function(e){e.exports=function(e){var t,n;return function(){return t||(t=!0,n=e.apply(null,arguments)),n}}},81097:function(e,t,n){var r=n(37356);e.exports=function(e,t){return r(e)?e(t):e.runWith(t)}},66130:function(e,t,n){var r=n(37356);e.exports=function(e){return e&&r(e.type)?e.type():{}.toString.call(e).slice(8,-1)}},15408:function(e){var t={unk:function(){return"unknown"},All:function(){return"All"},Any:function(){return"Any"},Arrow:function(){return"Arrow"},Assign:function(){return"Assign"},Async:function(){return"Async"},Const:function(e){return"Const("+e+")"},Either:function(){return"Either"},Endo:function(){return"Endo"},Equiv:function(){return"Equiv"},First:function(){return"First"},Identity:function(){return"Identity"},IO:function(){return"IO"},Last:function(){return"Last"},List:function(){return"List"},Max:function(){return"Max"},Maybe:function(){return"Maybe"},Min:function(){return"Min"},Pair:function(){return"Pair"},Pred:function(){return"Pred"},Prod:function(){return"Prod"},Reader:function(){return"Reader"},Result:function(){return"Result"},Star:function(){return"Star"},State:function(){return"State"},Sum:function(){return"Sum"},Tuple:function(e){return e+"-Tuple"},Unit:function(){return"Unit"},Writer:function(){return"Writer"}},n=function(e){return t[e]||t.unk};e.exports={proxy:function(e,t){return{type:function(){return n(e)(t)}}},type:n,typeFn:function(e,t,r){return"crocks/"+n(e)(r)+"@"+(t||0)}}},92373:function(e,t,n){var r=n(87201),i=n(77531),o=n(50694);e.exports=r((function(e,t){if(!i(e)||!i(t))throw new TypeError("assign: Objects required for both arguments");return o.assign(e,t)}))},16896:function(e,t,n){var r=n(94709);e.exports=r.origFn("assoc")},30269:function(e,t,n){var r=n(37356),i="compose: Functions required";function o(e,t){if(!r(t))throw new TypeError(i);return function(){for(var n=[],r=arguments.length;r--;)n[r]=arguments[r];return t.call(null,e.apply(null,n))}}e.exports=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];if(!arguments.length)throw new TypeError(i);var n=e.slice().reverse(),a=n[0];if(!r(a))throw new TypeError(i);var s=n.slice(1).concat((function(e){return e}));return s.reduce(o,a)}},32207:function(e,t,n){var r=n(87201),i=n(37356);e.exports=function(e){if(!i(e))throw new TypeError("curry: Function required");return r(e)}},54547:function(e,t,n){var r=n(87201),i=n(34798),o=n(37356),a=n(52803),s=n(32271);e.exports=r((function(e,t,n){if(!a(e))throw new TypeError("mreduceMap: Monoid required for first argument");if(!o(t))throw new TypeError("mreduceMap: Function required for second argument");if(!i(n))throw new TypeError("mreduceMap: Foldable required for third argument");return s(e,t,n).valueOf()}))},74646:function(e,t,n){var r=n(87201),i=n(34798),o=n(77531);e.exports=r((function(e,t){if(!i(e))throw new TypeError("omit: Foldable required for first argument");if(!o(t))throw new TypeError("omit: Object required for second argument");return Object.keys(t).reduce(function(e,t){return function(n,r){var i;return-1===e.indexOf(r)&&void 0!==t[r]?Object.assign(n,((i={})[r]=t[r],i)):n}}(e,t),{})}))},94709:function(e,t,n){var r=n(87201),i=n(33385),o=n(65224),a=n(77531),s=n(84340),u=n(42319),c=n(50694);function l(e){return r((function(t,n,r){if(a(r)){if(s(t))return c.set(t,n,r);throw new TypeError(e+": String required for first argument when third argument is an Object")}if(i(r)){if(o(t)&&t>=0)return u.set(t,n,r);throw new TypeError(e+": Positive Integer required for first argument when third argument is an Array")}throw new TypeError(e+": Object or Array required for third argument")}))}var f=l("setProp");f.origFn=l,e.exports=f},55130:function(e,t,n){var r=n(87201),i=n(89339),o=n(81097);e.exports=r((function(e,t){if(!i(e)||!i(t))throw new TypeError("and: Preds or predicate functions required for first two arguments");return function(n){return!(!o(e,n)||!o(t,n))}}))},99325:function(e,t,n){var r=n(87201),i=n(89339),o=n(81097);e.exports=r((function(e,t){if(!i(e))throw new TypeError("not: Pred or predicate function required for first argument");return!o(e,t)}))},79963:function(e,t,n){var r=n(87201),i=n(89339),o=n(81097);e.exports=r((function(e,t){if(!i(e)||!i(t))throw new TypeError("or: Preds or predicate functions required for first two arguments");return function(n){return!(!o(e,n)&&!o(t,n))}}))},99993:function(e,t,n){var r=n(87201),i=n(83317),o=n(37356),a=n(84863);e.exports=r((function(e,t,n){if(!o(e)||!o(t))throw new TypeError("bimap: Functions required for first two arguments");if(!i(n))throw new TypeError("bimap: Bifunctor required for third argument");return(n[a.bimap]||n.bimap).call(n,e,t)}))},85745:function(e,t,n){var r=n(42319).chain,i=n(87201),o=n(33385),a=n(47455),s=n(37356),u=n(84863);e.exports=i((function(e,t){if(!s(e))throw new TypeError("chain: Chain returning function required for first argument");if(!a(t)&&!o(t))throw new TypeError("chain: Chain of the same type required for second argument");return o(t)?r(e,t):(t[u.chain]||t.chain).call(t,e)}))},46164:function(e,t,n){var r=n(87201),i=n(49439),o=n(32105),a=n(84863);e.exports=r((function(e,t){if(!o(t)||!i(e,t))throw new TypeError("concat: Semigroups of the same type required for both arguments");return(t[a.concat]||t.concat).call(t,e)}))},69879:function(e,t,n){var r=n(89064),i=n(87201),o=n(37356),a=n(60280),s=n(84863);e.exports=i((function(e,t){if(!o(e))throw new TypeError("contramap: Function required for first argument");if(o(t))return r(t,e);if(a(t))return(t[s.contramap]||t.contramap).call(t,e);throw new TypeError("contramap: Function or Contavariant Functor of the same type required for second argument")}))},33796:function(e,t,n){var r=n(89064),i=n(87201),o=n(33385),a=n(77531),s=n(37356),u=n(13264),c=n(42319),l=n(50694),f=n(84863);e.exports=i((function(e,t){if(!s(e))throw new TypeError("map: Function required for first argument");if(s(t))return r(e,t);if(o(t))return c.map(e,t);if(t&&u(t))return(t[f.map]||t.map).call(t,e);if(a(t))return l.map(e,t);throw new TypeError("map: Object, Function or Functor of the same type required for second argument")}))},4549:function(e,t,n){var r=n(87201),i=n(37356);e.exports=r((function(e,t){if(!i(e))throw new TypeError("merge: Function required for first argument");if(!t||!i(t.merge))throw new TypeError("merge: Pair or Tuple required for second argument");return t.merge(e)}))},52788:function(e,t,n){var r=n(87201),i=n(37356);e.exports=r((function(e,t){if(!t||!i(t.option))throw new TypeError("option: Last argument must be a Maybe, First or Last");return t.option(e)}))},9386:function(e,t,n){var r=n(87201),i=n(34798),o=n(37356),a=n(84863);e.exports=r((function(e,t,n){if(!o(e))throw new TypeError("reduce: Function required for first argument");if(!i(n))throw new TypeError("reduce: Foldable required for third argument");return(n[a.reduce]||n.reduce).call(n,e,t)}))},93530:function(e,t,n){e.exports=n(33385)},53485:function(e,t,n){e.exports=n(84926)},7578:function(e,t,n){e.exports=n(37356)},99062:function(e,t,n){e.exports=n(36352)},59837:function(e,t,n){e.exports=n(19724)},27632:function(e,t,n){e.exports=n(77531)},47392:function(e,t,n){e.exports=n(84340)},9449:function(e){!function(t){"use strict";var n=0,r=Math.pow(36,4),i=function(e,t){var n="000000000"+e;return n.substr(n.length-t)},o=function(){return i((Math.random()*r<<0).toString(36),4)},a=function(){return n=n<r?n:0,++n-1},s=function(){var e=(new Date).getTime().toString(36),t=s.fingerprint(),n=o()+o();return"c"+e+i(a().toString(36),4)+t+n};s.slug=function(){var e,t=(new Date).getTime().toString(36),n=s.fingerprint().slice(0,1)+s.fingerprint().slice(-1),r=o().slice(-2);return e=a().toString(36).slice(-4),t.slice(-2)+e+n+r},s.globalCount=function(){var e=function(){var e,t=0;for(e in window)t++;return t}();return s.globalCount=function(){return e},e},s.fingerprint=function(){return i((navigator.mimeTypes.length+navigator.userAgent.length).toString(36)+s.globalCount().toString(36),4)},t.register?t.register("cuid",s):e.exports=s}(this.applitude||this)},46138:function(e,t,n){var r=n(53850),i=n(45863),o=n(69933);o.elementNames.__proto__=null,o.attributeNames.__proto__=null;var a={__proto__:null,style:!0,script:!0,xmp:!0,iframe:!0,noembed:!0,noframes:!0,plaintext:!0,noscript:!0};var s={__proto__:null,area:!0,base:!0,basefont:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,isindex:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0},u=e.exports=function(e,t){Array.isArray(e)||e.cheerio||(e=[e]),t=t||{};for(var n="",i=0;i<e.length;i++){var o=e[i];"root"===o.type?n+=u(o.children,t):r.isTag(o)?n+=l(o,t):o.type===r.Directive?n+=f(o):o.type===r.Comment?n+=h(o):o.type===r.CDATA?n+=p(o):n+=d(o,t)}return n},c=["mi","mo","mn","ms","mtext","annotation-xml","foreignObject","desc","title"];function l(e,t){"foreign"===t.xmlMode&&(e.name=o.elementNames[e.name]||e.name,e.parent&&c.indexOf(e.parent.name)>=0&&(t=Object.assign({},t,{xmlMode:!1}))),!t.xmlMode&&["svg","math"].indexOf(e.name)>=0&&(t=Object.assign({},t,{xmlMode:"foreign"}));var n="<"+e.name,r=function(e,t){if(e){var n,r="";for(var a in e)n=e[a],r&&(r+=" "),"foreign"===t.xmlMode&&(a=o.attributeNames[a]||a),r+=a,(null!==n&&""!==n||t.xmlMode)&&(r+='="'+(t.decodeEntities?i.encodeXML(n):n.replace(/\"/g,"&quot;"))+'"');return r}}(e.attribs,t);return r&&(n+=" "+r),!t.xmlMode||e.children&&0!==e.children.length?(n+=">",e.children&&(n+=u(e.children,t)),s[e.name]&&!t.xmlMode||(n+="</"+e.name+">")):n+="/>",n}function f(e){return"<"+e.data+">"}function d(e,t){var n=e.data||"";return!t.decodeEntities||e.parent&&e.parent.name in a||(n=i.encodeXML(n)),n}function p(e){return"<![CDATA["+e.children[0].data+"]]>"}function h(e){return"\x3c!--"+e.data+"--\x3e"}},53850:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isTag=function(e){return"tag"===e.type||"script"===e.type||"style"===e.type},t.Text="text",t.Directive="directive",t.Comment="comment",t.Script="script",t.Style="style",t.Tag="tag",t.CDATA="cdata",t.Doctype="doctype"},64431:function(e){e.exports={Text:"text",Directive:"directive",Comment:"comment",Script:"script",Style:"style",Tag:"tag",CDATA:"cdata",Doctype:"doctype",isTag:function(e){return"tag"===e.type||"script"===e.type||"style"===e.type}}},12417:function(e,t,n){var r=e.exports;[n(43346),n(85010),n(26765),n(98043),n(23905),n(74975)].forEach((function(e){Object.keys(e).forEach((function(t){r[t]=e[t].bind(r)}))}))},74975:function(e,t){t.removeSubsets=function(e){for(var t,n,r,i=e.length;--i>-1;){for(t=n=e[i],e[i]=null,r=!0;n;){if(e.indexOf(n)>-1){r=!1,e.splice(i,1);break}n=n.parent}r&&(e[i]=t)}return e};var n=1,r=2,i=4,o=8,a=16,s=t.compareDocumentPosition=function(e,t){var s,u,c,l,f,d,p=[],h=[];if(e===t)return 0;for(s=e;s;)p.unshift(s),s=s.parent;for(s=t;s;)h.unshift(s),s=s.parent;for(d=0;p[d]===h[d];)d++;return 0===d?n:(c=(u=p[d-1]).children,l=p[d],f=h[d],c.indexOf(l)>c.indexOf(f)?u===t?i|a:i:u===e?r|o:r)};t.uniqueSort=function(e){var t,n,o=e.length;for(e=e.slice();--o>-1;)t=e[o],(n=e.indexOf(t))>-1&&n<o&&e.splice(o,1);return e.sort((function(e,t){var n=s(e,t);return n&r?-1:n&i?1:0})),e}},23905:function(e,t,n){var r=n(64431),i=t.isTag=r.isTag;t.testElement=function(e,t){for(var n in e)if(e.hasOwnProperty(n)){if("tag_name"===n){if(!i(t)||!e.tag_name(t.name))return!1}else if("tag_type"===n){if(!e.tag_type(t.type))return!1}else if("tag_contains"===n){if(i(t)||!e.tag_contains(t.data))return!1}else if(!t.attribs||!e[n](t.attribs[n]))return!1}else;return!0};var o={tag_name:function(e){return"function"==typeof e?function(t){return i(t)&&e(t.name)}:"*"===e?i:function(t){return i(t)&&t.name===e}},tag_type:function(e){return"function"==typeof e?function(t){return e(t.type)}:function(t){return t.type===e}},tag_contains:function(e){return"function"==typeof e?function(t){return!i(t)&&e(t.data)}:function(t){return!i(t)&&t.data===e}}};function a(e,t){return"function"==typeof t?function(n){return n.attribs&&t(n.attribs[e])}:function(n){return n.attribs&&n.attribs[e]===t}}function s(e,t){return function(n){return e(n)||t(n)}}t.getElements=function(e,t,n,r){var i=Object.keys(e).map((function(t){var n=e[t];return t in o?o[t](n):a(t,n)}));return 0===i.length?[]:this.filter(i.reduce(s),t,n,r)},t.getElementById=function(e,t,n){return Array.isArray(t)||(t=[t]),this.findOne(a("id",e),t,!1!==n)},t.getElementsByTagName=function(e,t,n,r){return this.filter(o.tag_name(e),t,n,r)},t.getElementsByTagType=function(e,t,n,r){return this.filter(o.tag_type(e),t,n,r)}},26765:function(e,t){t.removeElement=function(e){if(e.prev&&(e.prev.next=e.next),e.next&&(e.next.prev=e.prev),e.parent){var t=e.parent.children;t.splice(t.lastIndexOf(e),1)}},t.replaceElement=function(e,t){var n=t.prev=e.prev;n&&(n.next=t);var r=t.next=e.next;r&&(r.prev=t);var i=t.parent=e.parent;if(i){var o=i.children;o[o.lastIndexOf(e)]=t}},t.appendChild=function(e,t){if(t.parent=e,1!==e.children.push(t)){var n=e.children[e.children.length-2];n.next=t,t.prev=n,t.next=null}},t.append=function(e,t){var n=e.parent,r=e.next;if(t.next=r,t.prev=e,e.next=t,t.parent=n,r){if(r.prev=t,n){var i=n.children;i.splice(i.lastIndexOf(r),0,t)}}else n&&n.children.push(t)},t.prepend=function(e,t){var n=e.parent;if(n){var r=n.children;r.splice(r.lastIndexOf(e),0,t)}e.prev&&(e.prev.next=t),t.parent=n,t.prev=e.prev,t.next=e,e.prev=t}},98043:function(e,t,n){var r=n(64431).isTag;function i(e,t,n,r){for(var o,a=[],s=0,u=t.length;s<u&&!(e(t[s])&&(a.push(t[s]),--r<=0))&&(o=t[s].children,!(n&&o&&o.length>0&&(o=i(e,o,n,r),a=a.concat(o),(r-=o.length)<=0)));s++);return a}e.exports={filter:function(e,t,n,r){Array.isArray(t)||(t=[t]);"number"==typeof r&&isFinite(r)||(r=1/0);return i(e,t,!1!==n,r)},find:i,findOneChild:function(e,t){for(var n=0,r=t.length;n<r;n++)if(e(t[n]))return t[n];return null},findOne:function e(t,n){for(var i=null,o=0,a=n.length;o<a&&!i;o++)r(n[o])&&(t(n[o])?i=n[o]:n[o].children.length>0&&(i=e(t,n[o].children)));return i},existsOne:function e(t,n){for(var i=0,o=n.length;i<o;i++)if(r(n[i])&&(t(n[i])||n[i].children.length>0&&e(t,n[i].children)))return!0;return!1},findAll:function(e,t){var n=[],i=t.slice();for(;i.length;){var o=i.shift();r(o)&&(o.children&&o.children.length>0&&i.unshift.apply(i,o.children),e(o)&&n.push(o))}return n}}},43346:function(e,t,n){var r=n(64431),i=n(46138),o=r.isTag;e.exports={getInnerHTML:function(e,t){return e.children?e.children.map((function(e){return i(e,t)})).join(""):""},getOuterHTML:i,getText:function e(t){return Array.isArray(t)?t.map(e).join(""):o(t)?"br"===t.name?"\n":e(t.children):t.type===r.CDATA?e(t.children):t.type===r.Text?t.data:""}}},85010:function(e,t){var n=t.getChildren=function(e){return e.children},r=t.getParent=function(e){return e.parent};t.getSiblings=function(e){var t=r(e);return t?n(t):[e]},t.getAttributeValue=function(e,t){return e.attribs&&e.attribs[t]},t.hasAttrib=function(e,t){return!!e.attribs&&hasOwnProperty.call(e.attribs,t)},t.getName=function(e){return e.name}},62988:function(e,t,n){var r=n(61755),i=n(26665).each;function o(e,t){this.query=e,this.isUnconditional=t,this.handlers=[],this.mql=window.matchMedia(e);var n=this;this.listener=function(e){n.mql=e.currentTarget||e,n.assess()},this.mql.addListener(this.listener)}o.prototype={constuctor:o,addHandler:function(e){var t=new r(e);this.handlers.push(t),this.matches()&&t.on()},removeHandler:function(e){var t=this.handlers;i(t,(function(n,r){if(n.equals(e))return n.destroy(),!t.splice(r,1)}))},matches:function(){return this.mql.matches||this.isUnconditional},clear:function(){i(this.handlers,(function(e){e.destroy()})),this.mql.removeListener(this.listener),this.handlers.length=0},assess:function(){var e=this.matches()?"on":"off";i(this.handlers,(function(t){t[e]()}))}},e.exports=o},38177:function(e,t,n){var r=n(62988),i=n(26665),o=i.each,a=i.isFunction,s=i.isArray;function u(){if(!window.matchMedia)throw new Error("matchMedia not present, legacy browsers require a polyfill");this.queries={},this.browserIsIncapable=!window.matchMedia("only all").matches}u.prototype={constructor:u,register:function(e,t,n){var i=this.queries,u=n&&this.browserIsIncapable;return i[e]||(i[e]=new r(e,u)),a(t)&&(t={match:t}),s(t)||(t=[t]),o(t,(function(t){a(t)&&(t={match:t}),i[e].addHandler(t)})),this},unregister:function(e,t){var n=this.queries[e];return n&&(t?n.removeHandler(t):(n.clear(),delete this.queries[e])),this}},e.exports=u},61755:function(e){function t(e){this.options=e,!e.deferSetup&&this.setup()}t.prototype={constructor:t,setup:function(){this.options.setup&&this.options.setup(),this.initialised=!0},on:function(){!this.initialised&&this.setup(),this.options.match&&this.options.match()},off:function(){this.options.unmatch&&this.options.unmatch()},destroy:function(){this.options.destroy?this.options.destroy():this.off()},equals:function(e){return this.options===e||this.options.match===e}},e.exports=t},26665:function(e){e.exports={isFunction:function(e){return"function"==typeof e},isArray:function(e){return"[object Array]"===Object.prototype.toString.apply(e)},each:function(e,t){for(var n=0,r=e.length;n<r&&!1!==t(e[n],n);n++);}}},24974:function(e,t,n){var r=n(38177);e.exports=new r},44076:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var i=r(n(59323)),o=r(n(29591)),a=r(n(2586)),s=r(n(26));function u(e){var t=Object.keys(e).join("|"),n=l(e),r=new RegExp("&(?:"+(t+="|#[xX][\\da-fA-F]+|#\\d+")+");","g");return function(e){return String(e).replace(r,n)}}t.decodeXML=u(a.default),t.decodeHTMLStrict=u(i.default);var c=function(e,t){return e<t?1:-1};function l(e){return function(t){return"#"===t.charAt(1)?"X"===t.charAt(2)||"x"===t.charAt(2)?s.default(parseInt(t.substr(3),16)):s.default(parseInt(t.substr(2),10)):e[t.slice(1,-1)]}}t.decodeHTML=function(){for(var e=Object.keys(o.default).sort(c),t=Object.keys(i.default).sort(c),n=0,r=0;n<t.length;n++)e[r]===t[n]?(t[n]+=";?",r++):t[n]+=";";var a=new RegExp("&(?:"+t.join("|")+"|#[xX][\\da-fA-F]+;?|#\\d+;?)","g"),s=l(i.default);function u(e){return";"!==e.substr(-1)&&(e+=";"),s(e)}return function(e){return String(e).replace(a,u)}}()},26:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var i=r(n(33600));t.default=function(e){if(e>=55296&&e<=57343||e>1114111)return"�";e in i.default&&(e=i.default[e]);var t="";return e>65535&&(e-=65536,t+=String.fromCharCode(e>>>10&1023|55296),e=56320|1023&e),t+=String.fromCharCode(e)}},87322:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var i=u(r(n(2586)).default),o=c(i);t.encodeXML=h(i,o);var a=u(r(n(59323)).default),s=c(a);function u(e){return Object.keys(e).sort().reduce((function(t,n){return t[e[n]]="&"+n+";",t}),{})}function c(e){var t=[],n=[];return Object.keys(e).forEach((function(e){return 1===e.length?t.push("\\"+e):n.push(e)})),n.unshift("["+t.join("")+"]"),new RegExp(n.join("|"),"g")}t.encodeHTML=h(a,s);var l=/[^\0-\x7F]/g,f=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g;function d(e){return"&#x"+e.charCodeAt(0).toString(16).toUpperCase()+";"}function p(e,t){return"&#x"+(1024*(e.charCodeAt(0)-55296)+e.charCodeAt(1)-56320+65536).toString(16).toUpperCase()+";"}function h(e,t){return function(n){return n.replace(t,(function(t){return e[t]})).replace(f,p).replace(l,d)}}var g=c(i);t.escape=function(e){return e.replace(g,d).replace(f,p).replace(l,d)}},45863:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(44076),i=n(87322);t.decode=function(e,t){return(!t||t<=0?r.decodeXML:r.decodeHTML)(e)},t.decodeStrict=function(e,t){return(!t||t<=0?r.decodeXML:r.decodeHTMLStrict)(e)},t.encode=function(e,t){return(!t||t<=0?i.encodeXML:i.encodeHTML)(e)};var o=n(87322);t.encodeXML=o.encodeXML,t.encodeHTML=o.encodeHTML,t.escape=o.escape,t.encodeHTML4=o.encodeHTML,t.encodeHTML5=o.encodeHTML;var a=n(44076);t.decodeXML=a.decodeXML,t.decodeHTML=a.decodeHTML,t.decodeHTMLStrict=a.decodeHTMLStrict,t.decodeHTML4=a.decodeHTML,t.decodeHTML5=a.decodeHTML,t.decodeHTML4Strict=a.decodeHTMLStrict,t.decodeHTML5Strict=a.decodeHTMLStrict,t.decodeXMLStrict=a.decodeXML},88541:function(e,t){var n,r,i;!function(o){"use strict";var a=o.setTimeout,s=o.clearTimeout,u=o.XMLHttpRequest,c=o.XDomainRequest,l=o.ActiveXObject,f=o.EventSource,d=o.document,p=o.Promise,h=o.fetch,g=o.Response,m=o.TextDecoder,y=o.TextEncoder,v=o.AbortController;if("undefined"==typeof window||"readyState"in d||null!=d.body||(d.readyState="loading",window.addEventListener("load",(function(e){d.readyState="complete"}),!1)),null==u&&(u=function(){return new l("Microsoft.XMLHTTP")}),null==Object.create&&(Object.create=function(e){function t(){}return t.prototype=e,new t}),null==v){var b=h;h=function(e,t){var n=t.signal;return b(e,{headers:t.headers,credentials:t.credentials,cache:t.cache}).then((function(e){var t=e.body.getReader();return n._reader=t,n._aborted&&n._reader.cancel(),{status:e.status,statusText:e.statusText,headers:e.headers,body:{getReader:function(){return t}}}}))},v=function(){this.signal={_reader:null,_aborted:!1},this.abort=function(){null!=this.signal._reader&&this.signal._reader.cancel(),this.signal._aborted=!0}}}function _(){this.bitsNeeded=0,this.codePoint=0}_.prototype.decode=function(e){function t(e,t,n){if(1===n)return e>=128>>t&&e<<t<=2047;if(2===n)return e>=2048>>t&&e<<t<=55295||e>=57344>>t&&e<<t<=65535;if(3===n)return e>=65536>>t&&e<<t<=1114111;throw new Error}function n(e,t){if(6===e)return t>>6>15?3:t>31?2:1;if(12===e)return t>15?3:2;if(18===e)return 3;throw new Error}for(var r=65533,i="",o=this.bitsNeeded,a=this.codePoint,s=0;s<e.length;s+=1){var u=e[s];0!==o&&(u<128||u>191||!t(a<<6|63&u,o-6,n(o,a)))&&(o=0,a=r,i+=String.fromCharCode(a)),0===o?(u>=0&&u<=127?(o=0,a=u):u>=192&&u<=223?(o=6,a=31&u):u>=224&&u<=239?(o=12,a=15&u):u>=240&&u<=247?(o=18,a=7&u):(o=0,a=r),0===o||t(a,o,n(o,a))||(o=0,a=r)):(o-=6,a=a<<6|63&u),0===o&&(a<=65535?i+=String.fromCharCode(a):(i+=String.fromCharCode(55296+(a-65535-1>>10)),i+=String.fromCharCode(56320+(a-65535-1&1023))))}return this.bitsNeeded=o,this.codePoint=a,i};null!=m&&null!=y&&function(){try{return"test"===(new m).decode((new y).encode("test"),{stream:!0})}catch(e){console.debug("TextDecoder does not support streaming option. Using polyfill instead: "+e)}return!1}()||(m=_);var w=function(){};function T(e){this.withCredentials=!1,this.readyState=0,this.status=0,this.statusText="",this.responseText="",this.onprogress=w,this.onload=w,this.onerror=w,this.onreadystatechange=w,this._contentType="",this._xhr=e,this._sendTimeout=0,this._abort=w}function x(e){return e.replace(/[A-Z]/g,(function(e){return String.fromCharCode(e.charCodeAt(0)+32)}))}function S(e){for(var t=Object.create(null),n=e.split("\r\n"),r=0;r<n.length;r+=1){var i=n[r].split(": "),o=i.shift(),a=i.join(": ");t[x(o)]=a}this._map=t}function k(){}function E(e){this._headers=e}function O(){}function C(){this._listeners=Object.create(null)}function L(e){a((function(){throw e}),0)}function A(e){this.type=e,this.target=void 0}function I(e,t){A.call(this,e),this.data=t.data,this.lastEventId=t.lastEventId}function P(e,t){A.call(this,e),this.status=t.status,this.statusText=t.statusText,this.headers=t.headers}function M(e,t){A.call(this,e),this.error=t.error}T.prototype.open=function(e,t){this._abort(!0);var n=this,r=this._xhr,i=1,o=0;this._abort=function(e){0!==n._sendTimeout&&(s(n._sendTimeout),n._sendTimeout=0),1!==i&&2!==i&&3!==i||(i=4,r.onload=w,r.onerror=w,r.onabort=w,r.onprogress=w,r.onreadystatechange=w,r.abort(),0!==o&&(s(o),o=0),e||(n.readyState=4,n.onabort(null),n.onreadystatechange())),i=0};var c=function(){if(1===i){var e=0,t="",o=void 0;if("contentType"in r)e=200,t="OK",o=r.contentType;else try{e=r.status,t=r.statusText,o=r.getResponseHeader("Content-Type")}catch(n){e=0,t="",o=void 0}0!==e&&(i=2,n.readyState=2,n.status=e,n.statusText=t,n._contentType=o,n.onreadystatechange())}},l=function(){if(c(),2===i||3===i){i=3;var e="";try{e=r.responseText}catch(e){}n.readyState=3,n.responseText=e,n.onprogress()}},f=function(e,t){if(null!=t&&null!=t.preventDefault||(t={preventDefault:w}),l(),1===i||2===i||3===i){if(i=4,0!==o&&(s(o),o=0),n.readyState=4,"load"===e)n.onload(t);else if("error"===e)n.onerror(t);else{if("abort"!==e)throw new TypeError;n.onabort(t)}n.onreadystatechange()}},d=function(){o=a((function(){d()}),500),3===r.readyState&&l()};"onload"in r&&(r.onload=function(e){f("load",e)}),"onerror"in r&&(r.onerror=function(e){f("error",e)}),"onabort"in r&&(r.onabort=function(e){f("abort",e)}),"onprogress"in r&&(r.onprogress=l),"onreadystatechange"in r&&(r.onreadystatechange=function(e){!function(e){null!=r&&(4===r.readyState?"onload"in r&&"onerror"in r&&"onabort"in r||f(""===r.responseText?"error":"load",e):3===r.readyState?"onprogress"in r||l():2===r.readyState&&c())}(e)}),!("contentType"in r)&&"ontimeout"in u.prototype||(t+=(-1===t.indexOf("?")?"?":"&")+"padding=true"),r.open(e,t,!0),"readyState"in r&&(o=a((function(){d()}),0))},T.prototype.abort=function(){this._abort(!1)},T.prototype.getResponseHeader=function(e){return this._contentType},T.prototype.setRequestHeader=function(e,t){var n=this._xhr;"setRequestHeader"in n&&n.setRequestHeader(e,t)},T.prototype.getAllResponseHeaders=function(){return null!=this._xhr.getAllResponseHeaders&&this._xhr.getAllResponseHeaders()||""},T.prototype.send=function(){if("ontimeout"in u.prototype&&("sendAsBinary"in u.prototype||"mozAnon"in u.prototype)||null==d||null==d.readyState||"complete"===d.readyState){var e=this._xhr;"withCredentials"in e&&(e.withCredentials=this.withCredentials);try{e.send(void 0)}catch(e){throw e}}else{var t=this;t._sendTimeout=a((function(){t._sendTimeout=0,t.send()}),4)}},S.prototype.get=function(e){return this._map[x(e)]},null!=u&&null==u.HEADERS_RECEIVED&&(u.HEADERS_RECEIVED=2),k.prototype.open=function(e,t,n,r,i,o,a){e.open("GET",i);var s=0;for(var c in e.onprogress=function(){var t=e.responseText.slice(s);s+=t.length,n(t)},e.onerror=function(e){e.preventDefault(),r(new Error("NetworkError"))},e.onload=function(){r(null)},e.onabort=function(){r(null)},e.onreadystatechange=function(){if(e.readyState===u.HEADERS_RECEIVED){var n=e.status,r=e.statusText,i=e.getResponseHeader("Content-Type"),o=e.getAllResponseHeaders();t(n,r,i,new S(o))}},e.withCredentials=o,a)Object.prototype.hasOwnProperty.call(a,c)&&e.setRequestHeader(c,a[c]);return e.send(),e},E.prototype.get=function(e){return this._headers.get(e)},O.prototype.open=function(e,t,n,r,i,o,a){var s=null,u=new v,c=u.signal,l=new m;return h(i,{headers:a,credentials:o?"include":"same-origin",signal:c,cache:"no-store"}).then((function(e){return s=e.body.getReader(),t(e.status,e.statusText,e.headers.get("Content-Type"),new E(e.headers)),new p((function(e,t){var r=function(){s.read().then((function(t){if(t.done)e(void 0);else{var i=l.decode(t.value,{stream:!0});n(i),r()}})).catch((function(e){t(e)}))};r()}))})).catch((function(e){return"AbortError"===e.name?void 0:e})).then((function(e){r(e)})),{abort:function(){null!=s&&s.cancel(),u.abort()}}},C.prototype.dispatchEvent=function(e){e.target=this;var t=this._listeners[e.type];if(null!=t)for(var n=t.length,r=0;r<n;r+=1){var i=t[r];try{"function"==typeof i.handleEvent?i.handleEvent(e):i.call(this,e)}catch(e){L(e)}}},C.prototype.addEventListener=function(e,t){e=String(e);var n=this._listeners,r=n[e];null==r&&(r=[],n[e]=r);for(var i=!1,o=0;o<r.length;o+=1)r[o]===t&&(i=!0);i||r.push(t)},C.prototype.removeEventListener=function(e,t){e=String(e);var n=this._listeners,r=n[e];if(null!=r){for(var i=[],o=0;o<r.length;o+=1)r[o]!==t&&i.push(r[o]);0===i.length?delete n[e]:n[e]=i}},I.prototype=Object.create(A.prototype),P.prototype=Object.create(A.prototype),M.prototype=Object.create(A.prototype);var R=-1,j=-1,D=/^text\/event\-stream;?(\s*charset\=utf\-8)?$/i,N=function(e,t){var n=null==e?t:parseInt(e,10);return n!=n&&(n=t),B(n)},B=function(e){return Math.min(Math.max(e,1e3),18e6)},U=function(e,t,n){try{"function"==typeof t&&t.call(e,n)}catch(e){L(e)}};function F(e,t){C.call(this),t=t||{},this.onopen=void 0,this.onmessage=void 0,this.onerror=void 0,this.url=void 0,this.readyState=void 0,this.withCredentials=void 0,this.headers=void 0,this._close=void 0,function(e,t,n){t=String(t);var r=Boolean(n.withCredentials),i=B(1e3),o=N(n.heartbeatTimeout,45e3),l="",f=i,d=!1,p=0,h=n.headers||{},g=n.Transport,m=z&&null==g?void 0:new T(null!=g?new g:null!=u&&"withCredentials"in u.prototype||null==c?new u:new c),y=null!=g&&"string"!=typeof g?new g:null==m?new O:new k,v=void 0,b=0,_=R,w="",x="",S="",E="",C=0,L=0,A=0,F=function(t,n,r,o){if(0===_)if(200===t&&null!=r&&D.test(r)){_=1,d=!0,f=i,e.readyState=1;var a=new P("open",{status:t,statusText:n,headers:o});e.dispatchEvent(a),U(e,e.onopen,a)}else{var s="";200!==t?(n&&(n=n.replace(/\s+/g," ")),s="EventSource's response has a status "+t+" "+n+" that is not 200. Aborting the connection."):s="EventSource's response has a Content-Type specifying an unsupported type: "+(null==r?"-":r.replace(/\s+/g," "))+". Aborting the connection.",q();a=new P("error",{status:t,statusText:n,headers:o});e.dispatchEvent(a),U(e,e.onerror,a),console.error(s)}},H=function(t){if(1===_){for(var n=-1,r=0;r<t.length;r+=1){(h=t.charCodeAt(r))!=="\n".charCodeAt(0)&&h!=="\r".charCodeAt(0)||(n=r)}var u=(-1!==n?E:"")+t.slice(0,n+1);E=(-1===n?E:"")+t.slice(n+1),""!==t&&(d=!0,p+=t.length);for(var c=0;c<u.length;c+=1){var h=u.charCodeAt(c);if(C===j&&h==="\n".charCodeAt(0))C=0;else if(C===j&&(C=0),h==="\r".charCodeAt(0)||h==="\n".charCodeAt(0)){if(0!==C){1===C&&(A=c+1);var g=u.slice(L,A-1),m=u.slice(A+(A<c&&u.charCodeAt(A)===" ".charCodeAt(0)?1:0),c);"data"===g?(w+="\n",w+=m):"id"===g?x=m:"event"===g?S=m:"retry"===g?(i=N(m,i),f=i):"heartbeatTimeout"===g&&(o=N(m,o),0!==b&&(s(b),b=a((function(){V()}),o)))}if(0===C){if(""!==w){l=x,""===S&&(S="message");var y=new I(S,{data:w.slice(1),lastEventId:x});if(e.dispatchEvent(y),"open"===S?U(e,e.onopen,y):"message"===S?U(e,e.onmessage,y):"error"===S&&U(e,e.onerror,y),2===_)return}w="",S=""}C=h==="\r".charCodeAt(0)?j:0}else 0===C&&(L=c,C=1),1===C?h===":".charCodeAt(0)&&(A=c+1,C=2):2===C&&(C=3)}}},Z=function(t){if(1===_||0===_){_=R,0!==b&&(s(b),b=0),b=a((function(){V()}),f),f=B(Math.min(16*i,2*f)),e.readyState=0;var n=new M("error",{error:t});e.dispatchEvent(n),U(e,e.onerror,n)}},q=function(){_=2,null!=v&&(v.abort(),v=void 0),0!==b&&(s(b),b=0),e.readyState=2},V=function(){if(b=0,_===R){d=!1,p=0,b=a((function(){V()}),o),_=0,w="",S="",x=l,E="",L=0,A=0,C=0;var n=t;"data:"!==t.slice(0,5)&&"blob:"!==t.slice(0,5)&&""!==l&&(n+=(-1===t.indexOf("?")?"?":"&")+"lastEventId="+encodeURIComponent(l));var r=e.withCredentials,i={Accept:"text/event-stream"},s=e.headers;if(null!=s)for(var u in s)Object.prototype.hasOwnProperty.call(s,u)&&(i[u]=s[u]);try{v=y.open(m,F,H,Z,n,r,i)}catch(e){throw q(),e}}else d||null==v?(d=!1,b=a((function(){V()}),o)):(Z(new Error("No activity within "+o+" milliseconds. "+(0===_?"No response received.":p+" chars received.")+" Reconnecting.")),null!=v&&(v.abort(),v=void 0))};e.url=t,e.readyState=0,e.withCredentials=r,e.headers=h,e._close=q,V()}(this,e,t)}var z=null!=h&&null!=g&&"body"in g.prototype;F.prototype=Object.create(C.prototype),F.prototype.CONNECTING=0,F.prototype.OPEN=1,F.prototype.CLOSED=2,F.prototype.close=function(){this._close()},F.CONNECTING=0,F.OPEN=1,F.CLOSED=2,F.prototype.withCredentials=void 0;var H=f;null==u||null!=f&&"withCredentials"in f.prototype||(H=F),function(o){if("object"==typeof e.exports){var a=o(t);void 0!==a&&(e.exports=a)}else r=[t],void 0===(i="function"==typeof(n=o)?n.apply(t,r):n)||(e.exports=i)}((function(e){e.EventSourcePolyfill=F,e.NativeEventSource=f,e.EventSource=H}))}("undefined"!=typeof window?window:"undefined"!=typeof self?self:this)},26729:function(e){"use strict";var t=Object.prototype.hasOwnProperty,n="~";function r(){}function i(e,t,n){this.fn=e,this.context=t,this.once=n||!1}function o(e,t,r,o,a){if("function"!=typeof r)throw new TypeError("The listener must be a function");var s=new i(r,o||e,a),u=n?n+t:t;return e._events[u]?e._events[u].fn?e._events[u]=[e._events[u],s]:e._events[u].push(s):(e._events[u]=s,e._eventsCount++),e}function a(e,t){0==--e._eventsCount?e._events=new r:delete e._events[t]}function s(){this._events=new r,this._eventsCount=0}Object.create&&(r.prototype=Object.create(null),(new r).__proto__||(n=!1)),s.prototype.eventNames=function(){var e,r,i=[];if(0===this._eventsCount)return i;for(r in e=this._events)t.call(e,r)&&i.push(n?r.slice(1):r);return Object.getOwnPropertySymbols?i.concat(Object.getOwnPropertySymbols(e)):i},s.prototype.listeners=function(e){var t=n?n+e:e,r=this._events[t];if(!r)return[];if(r.fn)return[r.fn];for(var i=0,o=r.length,a=new Array(o);i<o;i++)a[i]=r[i].fn;return a},s.prototype.listenerCount=function(e){var t=n?n+e:e,r=this._events[t];return r?r.fn?1:r.length:0},s.prototype.emit=function(e,t,r,i,o,a){var s=n?n+e:e;if(!this._events[s])return!1;var u,c,l=this._events[s],f=arguments.length;if(l.fn){switch(l.once&&this.removeListener(e,l.fn,void 0,!0),f){case 1:return l.fn.call(l.context),!0;case 2:return l.fn.call(l.context,t),!0;case 3:return l.fn.call(l.context,t,r),!0;case 4:return l.fn.call(l.context,t,r,i),!0;case 5:return l.fn.call(l.context,t,r,i,o),!0;case 6:return l.fn.call(l.context,t,r,i,o,a),!0}for(c=1,u=new Array(f-1);c<f;c++)u[c-1]=arguments[c];l.fn.apply(l.context,u)}else{var d,p=l.length;for(c=0;c<p;c++)switch(l[c].once&&this.removeListener(e,l[c].fn,void 0,!0),f){case 1:l[c].fn.call(l[c].context);break;case 2:l[c].fn.call(l[c].context,t);break;case 3:l[c].fn.call(l[c].context,t,r);break;case 4:l[c].fn.call(l[c].context,t,r,i);break;default:if(!u)for(d=1,u=new Array(f-1);d<f;d++)u[d-1]=arguments[d];l[c].fn.apply(l[c].context,u)}}return!0},s.prototype.on=function(e,t,n){return o(this,e,t,n,!1)},s.prototype.once=function(e,t,n){return o(this,e,t,n,!0)},s.prototype.removeListener=function(e,t,r,i){var o=n?n+e:e;if(!this._events[o])return this;if(!t)return a(this,o),this;var s=this._events[o];if(s.fn)s.fn!==t||i&&!s.once||r&&s.context!==r||a(this,o);else{for(var u=0,c=[],l=s.length;u<l;u++)(s[u].fn!==t||i&&!s[u].once||r&&s[u].context!==r)&&c.push(s[u]);c.length?this._events[o]=1===c.length?c[0]:c:a(this,o)}return this},s.prototype.removeAllListeners=function(e){var t;return e?(t=n?n+e:e,this._events[t]&&a(this,t)):(this._events=new r,this._eventsCount=0),this},s.prototype.off=s.prototype.removeListener,s.prototype.addListener=s.prototype.on,s.prefixed=n,s.EventEmitter=s,e.exports=s},17187:function(e){"use strict";var t,n="object"==typeof Reflect?Reflect:null,r=n&&"function"==typeof n.apply?n.apply:function(e,t,n){return Function.prototype.apply.call(e,t,n)};t=n&&"function"==typeof n.ownKeys?n.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)};var i=Number.isNaN||function(e){return e!=e};function o(){o.init.call(this)}e.exports=o,e.exports.once=function(e,t){return new Promise((function(n,r){function i(n){e.removeListener(t,o),r(n)}function o(){"function"==typeof e.removeListener&&e.removeListener("error",i),n([].slice.call(arguments))}g(e,t,o,{once:!0}),"error"!==t&&function(e,t,n){"function"==typeof e.on&&g(e,"error",t,n)}(e,i,{once:!0})}))},o.EventEmitter=o,o.prototype._events=void 0,o.prototype._eventsCount=0,o.prototype._maxListeners=void 0;var a=10;function s(e){if("function"!=typeof e)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}function u(e){return void 0===e._maxListeners?o.defaultMaxListeners:e._maxListeners}function c(e,t,n,r){var i,o,a;if(s(n),void 0===(o=e._events)?(o=e._events=Object.create(null),e._eventsCount=0):(void 0!==o.newListener&&(e.emit("newListener",t,n.listener?n.listener:n),o=e._events),a=o[t]),void 0===a)a=o[t]=n,++e._eventsCount;else if("function"==typeof a?a=o[t]=r?[n,a]:[a,n]:r?a.unshift(n):a.push(n),(i=u(e))>0&&a.length>i&&!a.warned){a.warned=!0;var c=new Error("Possible EventEmitter memory leak detected. "+a.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");c.name="MaxListenersExceededWarning",c.emitter=e,c.type=t,c.count=a.length,function(e){console&&console.warn&&console.warn(e)}(c)}return e}function l(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function f(e,t,n){var r={fired:!1,wrapFn:void 0,target:e,type:t,listener:n},i=l.bind(r);return i.listener=n,r.wrapFn=i,i}function d(e,t,n){var r=e._events;if(void 0===r)return[];var i=r[t];return void 0===i?[]:"function"==typeof i?n?[i.listener||i]:[i]:n?function(e){for(var t=new Array(e.length),n=0;n<t.length;++n)t[n]=e[n].listener||e[n];return t}(i):h(i,i.length)}function p(e){var t=this._events;if(void 0!==t){var n=t[e];if("function"==typeof n)return 1;if(void 0!==n)return n.length}return 0}function h(e,t){for(var n=new Array(t),r=0;r<t;++r)n[r]=e[r];return n}function g(e,t,n,r){if("function"==typeof e.on)r.once?e.once(t,n):e.on(t,n);else{if("function"!=typeof e.addEventListener)throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof e);e.addEventListener(t,(function i(o){r.once&&e.removeEventListener(t,i),n(o)}))}}Object.defineProperty(o,"defaultMaxListeners",{enumerable:!0,get:function(){return a},set:function(e){if("number"!=typeof e||e<0||i(e))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+e+".");a=e}}),o.init=function(){void 0!==this._events&&this._events!==Object.getPrototypeOf(this)._events||(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},o.prototype.setMaxListeners=function(e){if("number"!=typeof e||e<0||i(e))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+e+".");return this._maxListeners=e,this},o.prototype.getMaxListeners=function(){return u(this)},o.prototype.emit=function(e){for(var t=[],n=1;n<arguments.length;n++)t.push(arguments[n]);var i="error"===e,o=this._events;if(void 0!==o)i=i&&void 0===o.error;else if(!i)return!1;if(i){var a;if(t.length>0&&(a=t[0]),a instanceof Error)throw a;var s=new Error("Unhandled error."+(a?" ("+a.message+")":""));throw s.context=a,s}var u=o[e];if(void 0===u)return!1;if("function"==typeof u)r(u,this,t);else{var c=u.length,l=h(u,c);for(n=0;n<c;++n)r(l[n],this,t)}return!0},o.prototype.addListener=function(e,t){return c(this,e,t,!1)},o.prototype.on=o.prototype.addListener,o.prototype.prependListener=function(e,t){return c(this,e,t,!0)},o.prototype.once=function(e,t){return s(t),this.on(e,f(this,e,t)),this},o.prototype.prependOnceListener=function(e,t){return s(t),this.prependListener(e,f(this,e,t)),this},o.prototype.removeListener=function(e,t){var n,r,i,o,a;if(s(t),void 0===(r=this._events))return this;if(void 0===(n=r[e]))return this;if(n===t||n.listener===t)0==--this._eventsCount?this._events=Object.create(null):(delete r[e],r.removeListener&&this.emit("removeListener",e,n.listener||t));else if("function"!=typeof n){for(i=-1,o=n.length-1;o>=0;o--)if(n[o]===t||n[o].listener===t){a=n[o].listener,i=o;break}if(i<0)return this;0===i?n.shift():function(e,t){for(;t+1<e.length;t++)e[t]=e[t+1];e.pop()}(n,i),1===n.length&&(r[e]=n[0]),void 0!==r.removeListener&&this.emit("removeListener",e,a||t)}return this},o.prototype.off=o.prototype.removeListener,o.prototype.removeAllListeners=function(e){var t,n,r;if(void 0===(n=this._events))return this;if(void 0===n.removeListener)return 0===arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==n[e]&&(0==--this._eventsCount?this._events=Object.create(null):delete n[e]),this;if(0===arguments.length){var i,o=Object.keys(n);for(r=0;r<o.length;++r)"removeListener"!==(i=o[r])&&this.removeAllListeners(i);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if("function"==typeof(t=n[e]))this.removeListener(e,t);else if(void 0!==t)for(r=t.length-1;r>=0;r--)this.removeListener(e,t[r]);return this},o.prototype.listeners=function(e){return d(this,e,!0)},o.prototype.rawListeners=function(e){return d(this,e,!1)},o.listenerCount=function(e,t){return"function"==typeof e.listenerCount?e.listenerCount(t):p.call(e,t)},o.prototype.listenerCount=p,o.prototype.eventNames=function(){return this._eventsCount>0?t(this._events):[]}},64063:function(e){"use strict";e.exports=function e(t,n){if(t===n)return!0;if(t&&n&&"object"==typeof t&&"object"==typeof n){if(t.constructor!==n.constructor)return!1;var r,i,o;if(Array.isArray(t)){if((r=t.length)!=n.length)return!1;for(i=r;0!=i--;)if(!e(t[i],n[i]))return!1;return!0}if(t.constructor===RegExp)return t.source===n.source&&t.flags===n.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===n.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===n.toString();if((r=(o=Object.keys(t)).length)!==Object.keys(n).length)return!1;for(i=r;0!=i--;)if(!Object.prototype.hasOwnProperty.call(n,o[i]))return!1;for(i=r;0!=i--;){var a=o[i];if(!e(t[a],n[a]))return!1}return!0}return t!=t&&n!=n}},38252:function(e){"use strict";e.exports=function e(t,n){if(t===n)return!0;if(t&&n&&"object"==typeof t&&"object"==typeof n){if(t.constructor!==n.constructor)return!1;var r,i,o;if(Array.isArray(t)){if((r=t.length)!=n.length)return!1;for(i=r;0!=i--;)if(!e(t[i],n[i]))return!1;return!0}if(t.constructor===RegExp)return t.source===n.source&&t.flags===n.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===n.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===n.toString();if((r=(o=Object.keys(t)).length)!==Object.keys(n).length)return!1;for(i=r;0!=i--;)if(!Object.prototype.hasOwnProperty.call(n,o[i]))return!1;for(i=r;0!=i--;){var a=o[i];if(("_owner"!==a||!t.$$typeof)&&!e(t[a],n[a]))return!1}return!0}return t!=t&&n!=n}},99376:function(e,t){var n=Object.keys;t.D=function(e,t){if(e===t)return!0;if(!(e instanceof Object&&t instanceof Object))return!1;for(var r=n(e),i=r.length,o=0;o<i;o++)if(!(r[o]in t))return!1;for(o=0;o<i;o++)if(e[r[o]]!==t[r[o]])return!1;return i===n(t).length}},42317:function(e,t,n){"use strict";!function(t){var n=/^(b|B)$/,r={iec:{bits:["b","Kib","Mib","Gib","Tib","Pib","Eib","Zib","Yib"],bytes:["B","KiB","MiB","GiB","TiB","PiB","EiB","ZiB","YiB"]},jedec:{bits:["b","Kb","Mb","Gb","Tb","Pb","Eb","Zb","Yb"],bytes:["B","KB","MB","GB","TB","PB","EB","ZB","YB"]}},i={iec:["","kibi","mebi","gibi","tebi","pebi","exbi","zebi","yobi"],jedec:["","kilo","mega","giga","tera","peta","exa","zetta","yotta"]};function o(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=[],a=0,s=void 0,u=void 0,c=void 0,l=void 0,f=void 0,d=void 0,p=void 0,h=void 0,g=void 0,m=void 0,y=void 0,v=void 0,b=void 0,_=void 0;if(isNaN(e))throw new Error("Invalid arguments");return c=!0===t.bits,y=!0===t.unix,u=t.base||2,m=void 0!==t.round?t.round:y?1:2,v=void 0!==t.spacer?t.spacer:y?"":" ",_=t.symbols||t.suffixes||{},b=2===u&&t.standard||"jedec",g=t.output||"string",f=!0===t.fullform,d=t.fullforms instanceof Array?t.fullforms:[],s=void 0!==t.exponent?t.exponent:-1,l=u>2?1e3:1024,(p=(h=Number(e))<0)&&(h=-h),(-1===s||isNaN(s))&&(s=Math.floor(Math.log(h)/Math.log(l)))<0&&(s=0),s>8&&(s=8),0===h?(o[0]=0,o[1]=y?"":r[b][c?"bits":"bytes"][s]):(a=h/(2===u?Math.pow(2,10*s):Math.pow(1e3,s)),c&&(a*=8)>=l&&s<8&&(a/=l,s++),o[0]=Number(a.toFixed(s>0?m:0)),o[1]=10===u&&1===s?c?"kb":"kB":r[b][c?"bits":"bytes"][s],y&&(o[1]="jedec"===b?o[1].charAt(0):s>0?o[1].replace(/B$/,""):o[1],n.test(o[1])&&(o[0]=Math.floor(o[0]),o[1]=""))),p&&(o[0]=-o[0]),o[1]=_[o[1]]||o[1],"array"===g?o:"exponent"===g?s:"object"===g?{value:o[0],suffix:o[1],symbol:o[1]}:(f&&(o[1]=d[s]?d[s]:i[b][s]+(c?"bit":"byte")+(1===o[0]?"":"s")),o.join(v))}o.partial=function(e){return function(t){return o(t,e)}},e.exports=o}("undefined"!=typeof window?window:n.g)},70936:function(e,t,n){"use strict";t.__esModule=!0,t.isFSA=function(e){return o.default(e)&&void 0!==e.type&&Object.keys(e).every(s)},t.isError=function(e){return!0===e.error};var r,i=n(8146),o=(r=i)&&r.__esModule?r:{default:r},a=["type","payload","error","meta"];function s(e){return a.indexOf(e)>-1}},11334:function(){!function(){if("undefined"!=typeof window&&"undefined"!=typeof document&&"undefined"!=typeof HTMLElement){var e=!1;try{var t=document.createElement("div");t.addEventListener("focus",(function(e){e.preventDefault(),e.stopPropagation()}),!0),t.focus(Object.defineProperty({},"preventScroll",{get:function(){e=!0}}))}catch(e){}if(void 0===HTMLElement.prototype.nativeFocus&&!e){HTMLElement.prototype.nativeFocus=HTMLElement.prototype.focus;var n=function(e){for(var t=0;t<e.length;t++)e[t][0].scrollTop=e[t][1],e[t][0].scrollLeft=e[t][2];e=[]};HTMLElement.prototype.focus=function(e){if(e&&e.preventScroll){var t=function(e){for(var t=e.parentNode,n=[],r=document.scrollingElement||document.documentElement;t&&t!==r;)(t.offsetHeight<t.scrollHeight||t.offsetWidth<t.scrollWidth)&&n.push([t,t.scrollTop,t.scrollLeft]),t=t.parentNode;return t=r,n.push([t,t.scrollTop,t.scrollLeft]),n}(this);this.nativeFocus(),"function"==typeof setTimeout?setTimeout((function(){n(t)}),0):n(t)}else this.nativeFocus()}}}}()},86382:function(){"use strict";!function(){function e(e){for(var t=[];e=e.parentNode||e.host||e.defaultView;)t.push(e);return t}function t(e){return function(t){var n=void 0!==t.getAttribute?t.getAttribute("class")||"":void 0;void 0!==n&&-1===n.indexOf(e)&&t.setAttribute("class",n.concat(" ",e).trim())}}var n=["\n","\t"," ","\r"];try{"undefined"!=typeof window&&document.querySelector(":focus-within")}catch(r){return function(){var r=function(r){if(!i){window.requestAnimationFrame((function(){i=!1,"blur"===r.type&&Array.prototype.slice.call(e(r.target)).forEach(function(e){return function(t){var r=void 0!==t.getAttribute?t.getAttribute("class")||"":void 0;if(r){var i=r.indexOf(e);0<=i&&(0===i||0<=n.indexOf(r.charAt(i-1)))&&(""===(r=r.replace(e,"").trim())?t.removeAttribute("class"):t.setAttribute("class",r))}}}("focus-within")),"focus"===r.type&&Array.prototype.slice.call(e(r.target)).forEach(t("focus-within"))}));var i=!0}};return document.addEventListener("focus",r,!0),document.addEventListener("blur",r,!0),t("js-focus-within")(document.body),!0}()}}()},37347:function(e){!function(){function t(e,t){document.addEventListener?e.addEventListener("scroll",t,!1):e.attachEvent("scroll",t)}function n(e){this.a=document.createElement("div"),this.a.setAttribute("aria-hidden","true"),this.a.appendChild(document.createTextNode(e)),this.b=document.createElement("span"),this.c=document.createElement("span"),this.h=document.createElement("span"),this.f=document.createElement("span"),this.g=-1,this.b.style.cssText="max-width:none;display:inline-block;position:absolute;height:100%;width:100%;overflow:scroll;font-size:16px;",this.c.style.cssText="max-width:none;display:inline-block;position:absolute;height:100%;width:100%;overflow:scroll;font-size:16px;",this.f.style.cssText="max-width:none;display:inline-block;position:absolute;height:100%;width:100%;overflow:scroll;font-size:16px;",this.h.style.cssText="display:inline-block;width:200%;height:200%;font-size:16px;max-width:none;",this.b.appendChild(this.h),this.c.appendChild(this.f),this.a.appendChild(this.b),this.a.appendChild(this.c)}function r(e,t){e.a.style.cssText="max-width:none;min-width:20px;min-height:20px;display:inline-block;overflow:hidden;position:absolute;width:auto;margin:0;padding:0;top:-999px;white-space:nowrap;font-synthesis:none;font:"+t+";"}function i(e){var t=e.a.offsetWidth,n=t+100;return e.f.style.width=n+"px",e.c.scrollLeft=n,e.b.scrollLeft=e.b.scrollWidth+100,e.g!==t&&(e.g=t,!0)}function o(e,n){function r(){var e=o;i(e)&&e.a.parentNode&&n(e.g)}var o=e;t(e.b,r),t(e.c,r),i(e)}function a(e,t){var n=t||{};this.family=e,this.style=n.style||"normal",this.weight=n.weight||"normal",this.stretch=n.stretch||"normal"}var s=null,u=null,c=null,l=null;function f(){return null===l&&(l=!!document.fonts),l}function d(){if(null===c){var e=document.createElement("div");try{e.style.font="condensed 100px sans-serif"}catch(e){}c=""!==e.style.font}return c}function p(e,t){return[e.style,e.weight,d()?e.stretch:"","100px",t].join(" ")}a.prototype.load=function(e,t){var i=this,a=e||"BESbswy",c=0,l=t||3e3,d=(new Date).getTime();return new Promise((function(e,t){if(f()&&!function(){if(null===u)if(f()&&/Apple/.test(window.navigator.vendor)){var e=/AppleWebKit\/([0-9]+)(?:\.([0-9]+))(?:\.([0-9]+))/.exec(window.navigator.userAgent);u=!!e&&603>parseInt(e[1],10)}else u=!1;return u}()){var h=new Promise((function(e,t){!function n(){(new Date).getTime()-d>=l?t(Error(l+"ms timeout exceeded")):document.fonts.load(p(i,'"'+i.family+'"'),a).then((function(t){1<=t.length?e():setTimeout(n,25)}),t)}()})),g=new Promise((function(e,t){c=setTimeout((function(){t(Error(l+"ms timeout exceeded"))}),l)}));Promise.race([g,h]).then((function(){clearTimeout(c),e(i)}),t)}else!function(e){document.body?e():document.addEventListener?document.addEventListener("DOMContentLoaded",(function t(){document.removeEventListener("DOMContentLoaded",t),e()})):document.attachEvent("onreadystatechange",(function t(){"interactive"!=document.readyState&&"complete"!=document.readyState||(document.detachEvent("onreadystatechange",t),e())}))}((function(){function u(){var t;(t=-1!=m&&-1!=y||-1!=m&&-1!=v||-1!=y&&-1!=v)&&((t=m!=y&&m!=v&&y!=v)||(null===s&&(t=/AppleWebKit\/([0-9]+)(?:\.([0-9]+))/.exec(window.navigator.userAgent),s=!!t&&(536>parseInt(t[1],10)||536===parseInt(t[1],10)&&11>=parseInt(t[2],10))),t=s&&(m==b&&y==b&&v==b||m==_&&y==_&&v==_||m==w&&y==w&&v==w)),t=!t),t&&(T.parentNode&&T.parentNode.removeChild(T),clearTimeout(c),e(i))}var f=new n(a),h=new n(a),g=new n(a),m=-1,y=-1,v=-1,b=-1,_=-1,w=-1,T=document.createElement("div");T.dir="ltr",r(f,p(i,"sans-serif")),r(h,p(i,"serif")),r(g,p(i,"monospace")),T.appendChild(f.a),T.appendChild(h.a),T.appendChild(g.a),document.body.appendChild(T),b=f.a.offsetWidth,_=h.a.offsetWidth,w=g.a.offsetWidth,function e(){if((new Date).getTime()-d>=l)T.parentNode&&T.parentNode.removeChild(T),t(Error(l+"ms timeout exceeded"));else{var n=document.hidden;!0!==n&&void 0!==n||(m=f.a.offsetWidth,y=h.a.offsetWidth,v=g.a.offsetWidth,u()),c=setTimeout(e,50)}}(),o(f,(function(e){m=e,u()})),r(f,p(i,'"'+i.family+'",sans-serif')),o(h,(function(e){y=e,u()})),r(h,p(i,'"'+i.family+'",serif')),o(g,(function(e){v=e,u()})),r(g,p(i,'"'+i.family+'",monospace'))}))}))},e.exports=a}()},89144:function(e,t,n){var r,i=void 0!==n.g?n.g:"undefined"!=typeof window?window:{},o=n(25893);"undefined"!=typeof document?r=document:(r=i["__GLOBAL_DOCUMENT_CACHE@4"])||(r=i["__GLOBAL_DOCUMENT_CACHE@4"]=o),e.exports=r},58908:function(e,t,n){var r;r="undefined"!=typeof window?window:void 0!==n.g?n.g:"undefined"!=typeof self?self:{},e.exports=r},52121:function(e,t,n){"use strict";n.d(t,{q_:function(){return M}});var r=n(30670),i=n.n(r),o=n(41143),a=n.n(o);function s(e){return"/"===e.charAt(0)}function u(e,t){for(var n=t,r=n+1,i=e.length;r<i;n+=1,r+=1)e[n]=e[r];e.pop()}var c=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=e&&e.split("/")||[],r=t&&t.split("/")||[],i=e&&s(e),o=t&&s(t),a=i||o;if(e&&s(e)?r=n:n.length&&(r.pop(),r=r.concat(n)),!r.length)return"/";var c=void 0;if(r.length){var l=r[r.length-1];c="."===l||".."===l||""===l}else c=!1;for(var f=0,d=r.length;d>=0;d--){var p=r[d];"."===p?u(r,d):".."===p?(u(r,d),f++):f&&(u(r,d),f--)}if(!a)for(;f--;f)r.unshift("..");!a||""===r[0]||r[0]&&s(r[0])||r.unshift("");var h=r.join("/");return c&&"/"!==h.substr(-1)&&(h+="/"),h},l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};var f=function e(t,n){if(t===n)return!0;if(null==t||null==n)return!1;if(Array.isArray(t))return Array.isArray(n)&&t.length===n.length&&t.every((function(t,r){return e(t,n[r])}));var r=void 0===t?"undefined":l(t);if(r!==(void 0===n?"undefined":l(n)))return!1;if("object"===r){var i=t.valueOf(),o=n.valueOf();if(i!==t||o!==n)return e(i,o);var a=Object.keys(t),s=Object.keys(n);return a.length===s.length&&a.every((function(r){return e(t[r],n[r])}))}return!1},d=function(e){return"/"===e.charAt(0)?e:"/"+e},p=function(e){return"/"===e.charAt(0)?e.substr(1):e},h=function(e,t){return new RegExp("^"+t+"(\\/|\\?|#|$)","i").test(e)},g=function(e,t){return h(e,t)?e.substr(t.length):e},m=function(e){return"/"===e.charAt(e.length-1)?e.slice(0,-1):e},y=function(e){var t=e.pathname,n=e.search,r=e.hash,i=t||"/";return n&&"?"!==n&&(i+="?"===n.charAt(0)?n:"?"+n),r&&"#"!==r&&(i+="#"===r.charAt(0)?r:"#"+r),i},v=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},b=function(e,t,n,r){var i=void 0;"string"==typeof e?(i=function(e){var t=e||"/",n="",r="",i=t.indexOf("#");-1!==i&&(r=t.substr(i),t=t.substr(0,i));var o=t.indexOf("?");return-1!==o&&(n=t.substr(o),t=t.substr(0,o)),{pathname:t,search:"?"===n?"":n,hash:"#"===r?"":r}}(e),i.state=t):(void 0===(i=v({},e)).pathname&&(i.pathname=""),i.search?"?"!==i.search.charAt(0)&&(i.search="?"+i.search):i.search="",i.hash?"#"!==i.hash.charAt(0)&&(i.hash="#"+i.hash):i.hash="",void 0!==t&&void 0===i.state&&(i.state=t));try{i.pathname=decodeURI(i.pathname)}catch(e){throw e instanceof URIError?new URIError('Pathname "'+i.pathname+'" could not be decoded. This is likely caused by an invalid percent-encoding.'):e}return n&&(i.key=n),r?i.pathname?"/"!==i.pathname.charAt(0)&&(i.pathname=c(i.pathname,r.pathname)):i.pathname=r.pathname:i.pathname||(i.pathname="/"),i},_=function(e,t){return e.pathname===t.pathname&&e.search===t.search&&e.hash===t.hash&&e.key===t.key&&f(e.state,t.state)},w=function(){var e=null,t=[];return{setPrompt:function(t){return i()(null==e,"A history supports only one prompt at a time"),e=t,function(){e===t&&(e=null)}},confirmTransitionTo:function(t,n,r,o){if(null!=e){var a="function"==typeof e?e(t,n):e;"string"==typeof a?"function"==typeof r?r(a,o):(i()(!1,"A history needs a getUserConfirmation function in order to use a prompt message"),o(!0)):o(!1!==a)}else o(!0)},appendListener:function(e){var n=!0,r=function(){n&&e.apply(void 0,arguments)};return t.push(r),function(){n=!1,t=t.filter((function(e){return e!==r}))}},notifyListeners:function(){for(var e=arguments.length,n=Array(e),r=0;r<e;r++)n[r]=arguments[r];t.forEach((function(e){return e.apply(void 0,n)}))}}},T=!("undefined"==typeof window||!window.document||!window.document.createElement),x=function(e,t,n){return e.addEventListener?e.addEventListener(t,n,!1):e.attachEvent("on"+t,n)},S=function(e,t,n){return e.removeEventListener?e.removeEventListener(t,n,!1):e.detachEvent("on"+t,n)},k=function(e,t){return t(window.confirm(e))},E=function(){return-1===window.navigator.userAgent.indexOf("Firefox")},O=("function"==typeof Symbol&&Symbol.iterator,Object.assign,Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}),C="hashchange",L={hashbang:{encodePath:function(e){return"!"===e.charAt(0)?e:"!/"+p(e)},decodePath:function(e){return"!"===e.charAt(0)?e.substr(1):e}},noslash:{encodePath:p,decodePath:d},slash:{encodePath:d,decodePath:d}},A=function(){var e=window.location.href,t=e.indexOf("#");return-1===t?"":e.substring(t+1)},I=function(e){return window.location.hash=e},P=function(e){var t=window.location.href.indexOf("#");window.location.replace(window.location.href.slice(0,t>=0?t:0)+"#"+e)},M=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};a()(T,"Hash history needs a DOM");var t=window.history,n=E(),r=e.getUserConfirmation,o=void 0===r?k:r,s=e.hashType,u=void 0===s?"slash":s,c=e.basename?m(d(e.basename)):"",l=L[u],f=l.encodePath,p=l.decodePath,v=function(){var e=p(A());return i()(!c||h(e,c),'You are attempting to use a basename on a page whose URL path does not begin with the basename. Expected path "'+e+'" to begin with "'+c+'".'),c&&(e=g(e,c)),b(e)},M=w(),R=function(e){O(te,e),te.length=t.length,M.notifyListeners(te.location,te.action)},j=!1,D=null,N=function(){var e=A(),t=f(e);if(e!==t)P(t);else{var n=v(),r=te.location;if(!j&&_(r,n))return;if(D===y(n))return;D=null,B(n)}},B=function(e){if(j)j=!1,R();else{M.confirmTransitionTo(e,"POP",o,(function(t){t?R({action:"POP",location:e}):U(e)}))}},U=function(e){var t=te.location,n=Z.lastIndexOf(y(t));-1===n&&(n=0);var r=Z.lastIndexOf(y(e));-1===r&&(r=0);var i=n-r;i&&(j=!0,G(i))},F=A(),z=f(F);F!==z&&P(z);var H=v(),Z=[y(H)],q=function(e){return"#"+f(c+y(e))},V=function(e,t){i()(void 0===t,"Hash history cannot push state; it is ignored");var n="PUSH",r=b(e,void 0,void 0,te.location);M.confirmTransitionTo(r,n,o,(function(e){if(e){var t=y(r),o=f(c+t);if(A()!==o){D=t,I(o);var a=Z.lastIndexOf(y(te.location)),s=Z.slice(0,-1===a?0:a+1);s.push(t),Z=s,R({action:n,location:r})}else i()(!1,"Hash history cannot PUSH the same path; a new entry will not be added to the history stack"),R()}}))},W=function(e,t){i()(void 0===t,"Hash history cannot replace state; it is ignored");var n="REPLACE",r=b(e,void 0,void 0,te.location);M.confirmTransitionTo(r,n,o,(function(e){if(e){var t=y(r),i=f(c+t);A()!==i&&(D=t,P(i));var o=Z.indexOf(y(te.location));-1!==o&&(Z[o]=t),R({action:n,location:r})}}))},G=function(e){i()(n,"Hash history go(n) causes a full page reload in this browser"),t.go(e)},$=function(){return G(-1)},Y=function(){return G(1)},K=0,X=function(e){1===(K+=e)?x(window,C,N):0===K&&S(window,C,N)},Q=!1,J=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=M.setPrompt(e);return Q||(X(1),Q=!0),function(){return Q&&(Q=!1,X(-1)),t()}},ee=function(e){var t=M.appendListener(e);return X(1),function(){X(-1),t()}},te={length:t.length,action:"POP",location:H,createHref:q,push:V,replace:W,go:G,goBack:$,goForward:Y,block:J,listen:ee};return te};"function"==typeof Symbol&&Symbol.iterator,Object.assign},8679:function(e,t,n){"use strict";var r=n(59864),i={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},o={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function u(e){return r.isMemo(e)?a:s[e.$$typeof]||i}s[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[r.Memo]=a;var c=Object.defineProperty,l=Object.getOwnPropertyNames,f=Object.getOwnPropertySymbols,d=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,h=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(h){var i=p(n);i&&i!==h&&e(t,i,r)}var a=l(n);f&&(a=a.concat(f(n)));for(var s=u(t),g=u(n),m=0;m<a.length;++m){var y=a[m];if(!(o[y]||r&&r[y]||g&&g[y]||s&&s[y])){var v=d(n,y);try{c(t,y,v)}catch(e){}}}}return t}},95449:function(e,t,n){function r(e){this._cbs=e||{},this.events=[]}e.exports=r;var i=n(23719).EVENTS;Object.keys(i).forEach((function(e){if(0===i[e])e="on"+e,r.prototype[e]=function(){this.events.push([e]),this._cbs[e]&&this._cbs[e]()};else if(1===i[e])e="on"+e,r.prototype[e]=function(t){this.events.push([e,t]),this._cbs[e]&&this._cbs[e](t)};else{if(2!==i[e])throw Error("wrong number of arguments");e="on"+e,r.prototype[e]=function(t,n){this.events.push([e,t,n]),this._cbs[e]&&this._cbs[e](t,n)}}})),r.prototype.onreset=function(){this.events=[],this._cbs.onreset&&this._cbs.onreset()},r.prototype.restart=function(){this._cbs.onreset&&this._cbs.onreset();for(var e=0,t=this.events.length;e<t;e++)if(this._cbs[this.events[e][0]]){var n=this.events[e].length;1===n?this._cbs[this.events[e][0]]():2===n?this._cbs[this.events[e][0]](this.events[e][1]):this._cbs[this.events[e][0]](this.events[e][1],this.events[e][2])}}},63870:function(e,t,n){var r=n(23719),i=r.DomHandler,o=r.DomUtils;function a(e,t){this.init(e,t)}function s(e,t){return o.getElementsByTagName(e,t,!0)}function u(e,t){return o.getElementsByTagName(e,t,!0,1)[0]}function c(e,t,n){return o.getText(o.getElementsByTagName(e,t,n,1)).trim()}function l(e,t,n,r,i){var o=c(n,r,i);o&&(e[t]=o)}n(35717)(a,i),a.prototype.init=i;var f=function(e){return"rss"===e||"feed"===e||"rdf:RDF"===e};a.prototype.onend=function(){var e,t,n={},r=u(f,this.dom);r&&("feed"===r.name?(t=r.children,n.type="atom",l(n,"id","id",t),l(n,"title","title",t),(e=u("link",t))&&(e=e.attribs)&&(e=e.href)&&(n.link=e),l(n,"description","subtitle",t),(e=c("updated",t))&&(n.updated=new Date(e)),l(n,"author","email",t,!0),n.items=s("entry",t).map((function(e){var t,n={};return l(n,"id","id",e=e.children),l(n,"title","title",e),(t=u("link",e))&&(t=t.attribs)&&(t=t.href)&&(n.link=t),(t=c("summary",e)||c("content",e))&&(n.description=t),(t=c("updated",e))&&(n.pubDate=new Date(t)),n}))):(t=u("channel",r.children).children,n.type=r.name.substr(0,3),n.id="",l(n,"title","title",t),l(n,"link","link",t),l(n,"description","description",t),(e=c("lastBuildDate",t))&&(n.updated=new Date(e)),l(n,"author","managingEditor",t,!0),n.items=s("item",r.children).map((function(e){var t,n={};return l(n,"id","guid",e=e.children),l(n,"title","title",e),l(n,"link","link",e),l(n,"description","description",e),(t=c("pubDate",e))&&(n.pubDate=new Date(t)),n})))),this.dom=n,i.prototype._handleCallback.call(this,r?null:Error("couldn't find root of feed"))},e.exports=a},50763:function(e,t,n){var r=n(39889),i={input:!0,option:!0,optgroup:!0,select:!0,button:!0,datalist:!0,textarea:!0},o={tr:{tr:!0,th:!0,td:!0},th:{th:!0},td:{thead:!0,th:!0,td:!0},body:{head:!0,link:!0,script:!0},li:{li:!0},p:{p:!0},h1:{p:!0},h2:{p:!0},h3:{p:!0},h4:{p:!0},h5:{p:!0},h6:{p:!0},select:i,input:i,output:i,button:i,datalist:i,textarea:i,option:{option:!0},optgroup:{optgroup:!0}},a={__proto__:null,area:!0,base:!0,basefont:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,isindex:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0,path:!0,circle:!0,ellipse:!0,line:!0,rect:!0,use:!0,stop:!0,polyline:!0,polygon:!0},s=/\s|\//;function u(e,t){this._options=t||{},this._cbs=e||{},this._tagname="",this._attribname="",this._attribvalue="",this._attribs=null,this._stack=[],this.startIndex=0,this.endIndex=null,this._lowerCaseTagNames="lowerCaseTags"in this._options?!!this._options.lowerCaseTags:!this._options.xmlMode,this._lowerCaseAttributeNames="lowerCaseAttributeNames"in this._options?!!this._options.lowerCaseAttributeNames:!this._options.xmlMode,this._options.Tokenizer&&(r=this._options.Tokenizer),this._tokenizer=new r(this._options,this),this._cbs.onparserinit&&this._cbs.onparserinit(this)}n(35717)(u,n(17187).EventEmitter),u.prototype._updatePosition=function(e){null===this.endIndex?this._tokenizer._sectionStart<=e?this.startIndex=0:this.startIndex=this._tokenizer._sectionStart-e:this.startIndex=this.endIndex+1,this.endIndex=this._tokenizer.getAbsoluteIndex()},u.prototype.ontext=function(e){this._updatePosition(1),this.endIndex--,this._cbs.ontext&&this._cbs.ontext(e)},u.prototype.onopentagname=function(e){if(this._lowerCaseTagNames&&(e=e.toLowerCase()),this._tagname=e,!this._options.xmlMode&&e in o)for(var t;(t=this._stack[this._stack.length-1])in o[e];this.onclosetag(t));!this._options.xmlMode&&e in a||this._stack.push(e),this._cbs.onopentagname&&this._cbs.onopentagname(e),this._cbs.onopentag&&(this._attribs={})},u.prototype.onopentagend=function(){this._updatePosition(1),this._attribs&&(this._cbs.onopentag&&this._cbs.onopentag(this._tagname,this._attribs),this._attribs=null),!this._options.xmlMode&&this._cbs.onclosetag&&this._tagname in a&&this._cbs.onclosetag(this._tagname),this._tagname=""},u.prototype.onclosetag=function(e){if(this._updatePosition(1),this._lowerCaseTagNames&&(e=e.toLowerCase()),!this._stack.length||e in a&&!this._options.xmlMode)this._options.xmlMode||"br"!==e&&"p"!==e||(this.onopentagname(e),this._closeCurrentTag());else{var t=this._stack.lastIndexOf(e);if(-1!==t)if(this._cbs.onclosetag)for(t=this._stack.length-t;t--;)this._cbs.onclosetag(this._stack.pop());else this._stack.length=t;else"p"!==e||this._options.xmlMode||(this.onopentagname(e),this._closeCurrentTag())}},u.prototype.onselfclosingtag=function(){this._options.xmlMode||this._options.recognizeSelfClosing?this._closeCurrentTag():this.onopentagend()},u.prototype._closeCurrentTag=function(){var e=this._tagname;this.onopentagend(),this._stack[this._stack.length-1]===e&&(this._cbs.onclosetag&&this._cbs.onclosetag(e),this._stack.pop())},u.prototype.onattribname=function(e){this._lowerCaseAttributeNames&&(e=e.toLowerCase()),this._attribname=e},u.prototype.onattribdata=function(e){this._attribvalue+=e},u.prototype.onattribend=function(){this._cbs.onattribute&&this._cbs.onattribute(this._attribname,this._attribvalue),this._attribs&&!Object.prototype.hasOwnProperty.call(this._attribs,this._attribname)&&(this._attribs[this._attribname]=this._attribvalue),this._attribname="",this._attribvalue=""},u.prototype._getInstructionName=function(e){var t=e.search(s),n=t<0?e:e.substr(0,t);return this._lowerCaseTagNames&&(n=n.toLowerCase()),n},u.prototype.ondeclaration=function(e){if(this._cbs.onprocessinginstruction){var t=this._getInstructionName(e);this._cbs.onprocessinginstruction("!"+t,"!"+e)}},u.prototype.onprocessinginstruction=function(e){if(this._cbs.onprocessinginstruction){var t=this._getInstructionName(e);this._cbs.onprocessinginstruction("?"+t,"?"+e)}},u.prototype.oncomment=function(e){this._updatePosition(4),this._cbs.oncomment&&this._cbs.oncomment(e),this._cbs.oncommentend&&this._cbs.oncommentend()},u.prototype.oncdata=function(e){this._updatePosition(1),this._options.xmlMode||this._options.recognizeCDATA?(this._cbs.oncdatastart&&this._cbs.oncdatastart(),this._cbs.ontext&&this._cbs.ontext(e),this._cbs.oncdataend&&this._cbs.oncdataend()):this.oncomment("[CDATA["+e+"]]")},u.prototype.onerror=function(e){this._cbs.onerror&&this._cbs.onerror(e)},u.prototype.onend=function(){if(this._cbs.onclosetag)for(var e=this._stack.length;e>0;this._cbs.onclosetag(this._stack[--e]));this._cbs.onend&&this._cbs.onend()},u.prototype.reset=function(){this._cbs.onreset&&this._cbs.onreset(),this._tokenizer.reset(),this._tagname="",this._attribname="",this._attribs=null,this._stack=[],this._cbs.onparserinit&&this._cbs.onparserinit(this)},u.prototype.parseComplete=function(e){this.reset(),this.end(e)},u.prototype.write=function(e){this._tokenizer.write(e)},u.prototype.end=function(e){this._tokenizer.end(e)},u.prototype.pause=function(){this._tokenizer.pause()},u.prototype.resume=function(){this._tokenizer.resume()},u.prototype.parseChunk=u.prototype.write,u.prototype.done=u.prototype.end,e.exports=u},76321:function(e,t,n){function r(e){this._cbs=e||{}}e.exports=r;var i=n(23719).EVENTS;Object.keys(i).forEach((function(e){if(0===i[e])e="on"+e,r.prototype[e]=function(){this._cbs[e]&&this._cbs[e]()};else if(1===i[e])e="on"+e,r.prototype[e]=function(t){this._cbs[e]&&this._cbs[e](t)};else{if(2!==i[e])throw Error("wrong number of arguments");e="on"+e,r.prototype[e]=function(t,n){this._cbs[e]&&this._cbs[e](t,n)}}}))},89924:function(e,t,n){e.exports=i;var r=n(83621);function i(e){r.call(this,new o(this),e)}function o(e){this.scope=e}n(35717)(i,r),i.prototype.readable=!0;var a=n(23719).EVENTS;Object.keys(a).forEach((function(e){if(0===a[e])o.prototype["on"+e]=function(){this.scope.emit(e)};else if(1===a[e])o.prototype["on"+e]=function(t){this.scope.emit(e,t)};else{if(2!==a[e])throw Error("wrong number of arguments!");o.prototype["on"+e]=function(t,n){this.scope.emit(e,t,n)}}}))},39889:function(e,t,n){e.exports=ve;var r,i,o=n(58894),a=n(23042),s=n(60317),u=n(51373),c=0,l=c++,f=c++,d=c++,p=c++,h=c++,g=c++,m=c++,y=c++,v=c++,b=c++,_=c++,w=c++,T=c++,x=c++,S=c++,k=c++,E=c++,O=c++,C=c++,L=c++,A=c++,I=c++,P=c++,M=c++,R=c++,j=c++,D=c++,N=c++,B=c++,U=c++,F=c++,z=c++,H=c++,Z=c++,q=c++,V=c++,W=c++,G=c++,$=c++,Y=c++,K=c++,X=c++,Q=c++,J=c++,ee=c++,te=c++,ne=c++,re=c++,ie=c++,oe=c++,ae=c++,se=c++,ue=c++,ce=c++,le=c++,fe=0,de=fe++,pe=fe++,he=fe++;function ge(e){return" "===e||"\n"===e||"\t"===e||"\f"===e||"\r"===e}function me(e,t,n){var r=e.toLowerCase();return e===r?function(e){e===r?this._state=t:(this._state=n,this._index--)}:function(i){i===r||i===e?this._state=t:(this._state=n,this._index--)}}function ye(e,t){var n=e.toLowerCase();return function(r){r===n||r===e?this._state=t:(this._state=d,this._index--)}}function ve(e,t){this._state=l,this._buffer="",this._sectionStart=0,this._index=0,this._bufferOffset=0,this._baseState=l,this._special=de,this._cbs=t,this._running=!0,this._ended=!1,this._xmlMode=!(!e||!e.xmlMode),this._decodeEntities=!(!e||!e.decodeEntities)}ve.prototype._stateText=function(e){"<"===e?(this._index>this._sectionStart&&this._cbs.ontext(this._getSection()),this._state=f,this._sectionStart=this._index):this._decodeEntities&&this._special===de&&"&"===e&&(this._index>this._sectionStart&&this._cbs.ontext(this._getSection()),this._baseState=l,this._state=ae,this._sectionStart=this._index)},ve.prototype._stateBeforeTagName=function(e){"/"===e?this._state=h:"<"===e?(this._cbs.ontext(this._getSection()),this._sectionStart=this._index):">"===e||this._special!==de||ge(e)?this._state=l:"!"===e?(this._state=S,this._sectionStart=this._index+1):"?"===e?(this._state=E,this._sectionStart=this._index+1):(this._state=this._xmlMode||"s"!==e&&"S"!==e?d:F,this._sectionStart=this._index)},ve.prototype._stateInTagName=function(e){("/"===e||">"===e||ge(e))&&(this._emitToken("onopentagname"),this._state=y,this._index--)},ve.prototype._stateBeforeCloseingTagName=function(e){ge(e)||(">"===e?this._state=l:this._special!==de?"s"===e||"S"===e?this._state=z:(this._state=l,this._index--):(this._state=g,this._sectionStart=this._index))},ve.prototype._stateInCloseingTagName=function(e){(">"===e||ge(e))&&(this._emitToken("onclosetag"),this._state=m,this._index--)},ve.prototype._stateAfterCloseingTagName=function(e){">"===e&&(this._state=l,this._sectionStart=this._index+1)},ve.prototype._stateBeforeAttributeName=function(e){">"===e?(this._cbs.onopentagend(),this._state=l,this._sectionStart=this._index+1):"/"===e?this._state=p:ge(e)||(this._state=v,this._sectionStart=this._index)},ve.prototype._stateInSelfClosingTag=function(e){">"===e?(this._cbs.onselfclosingtag(),this._state=l,this._sectionStart=this._index+1):ge(e)||(this._state=y,this._index--)},ve.prototype._stateInAttributeName=function(e){("="===e||"/"===e||">"===e||ge(e))&&(this._cbs.onattribname(this._getSection()),this._sectionStart=-1,this._state=b,this._index--)},ve.prototype._stateAfterAttributeName=function(e){"="===e?this._state=_:"/"===e||">"===e?(this._cbs.onattribend(),this._state=y,this._index--):ge(e)||(this._cbs.onattribend(),this._state=v,this._sectionStart=this._index)},ve.prototype._stateBeforeAttributeValue=function(e){'"'===e?(this._state=w,this._sectionStart=this._index+1):"'"===e?(this._state=T,this._sectionStart=this._index+1):ge(e)||(this._state=x,this._sectionStart=this._index,this._index--)},ve.prototype._stateInAttributeValueDoubleQuotes=function(e){'"'===e?(this._emitToken("onattribdata"),this._cbs.onattribend(),this._state=y):this._decodeEntities&&"&"===e&&(this._emitToken("onattribdata"),this._baseState=this._state,this._state=ae,this._sectionStart=this._index)},ve.prototype._stateInAttributeValueSingleQuotes=function(e){"'"===e?(this._emitToken("onattribdata"),this._cbs.onattribend(),this._state=y):this._decodeEntities&&"&"===e&&(this._emitToken("onattribdata"),this._baseState=this._state,this._state=ae,this._sectionStart=this._index)},ve.prototype._stateInAttributeValueNoQuotes=function(e){ge(e)||">"===e?(this._emitToken("onattribdata"),this._cbs.onattribend(),this._state=y,this._index--):this._decodeEntities&&"&"===e&&(this._emitToken("onattribdata"),this._baseState=this._state,this._state=ae,this._sectionStart=this._index)},ve.prototype._stateBeforeDeclaration=function(e){this._state="["===e?I:"-"===e?O:k},ve.prototype._stateInDeclaration=function(e){">"===e&&(this._cbs.ondeclaration(this._getSection()),this._state=l,this._sectionStart=this._index+1)},ve.prototype._stateInProcessingInstruction=function(e){">"===e&&(this._cbs.onprocessinginstruction(this._getSection()),this._state=l,this._sectionStart=this._index+1)},ve.prototype._stateBeforeComment=function(e){"-"===e?(this._state=C,this._sectionStart=this._index+1):this._state=k},ve.prototype._stateInComment=function(e){"-"===e&&(this._state=L)},ve.prototype._stateAfterComment1=function(e){this._state="-"===e?A:C},ve.prototype._stateAfterComment2=function(e){">"===e?(this._cbs.oncomment(this._buffer.substring(this._sectionStart,this._index-2)),this._state=l,this._sectionStart=this._index+1):"-"!==e&&(this._state=C)},ve.prototype._stateBeforeCdata1=me("C",P,k),ve.prototype._stateBeforeCdata2=me("D",M,k),ve.prototype._stateBeforeCdata3=me("A",R,k),ve.prototype._stateBeforeCdata4=me("T",j,k),ve.prototype._stateBeforeCdata5=me("A",D,k),ve.prototype._stateBeforeCdata6=function(e){"["===e?(this._state=N,this._sectionStart=this._index+1):(this._state=k,this._index--)},ve.prototype._stateInCdata=function(e){"]"===e&&(this._state=B)},ve.prototype._stateAfterCdata1=(r="]",i=U,function(e){e===r&&(this._state=i)}),ve.prototype._stateAfterCdata2=function(e){">"===e?(this._cbs.oncdata(this._buffer.substring(this._sectionStart,this._index-2)),this._state=l,this._sectionStart=this._index+1):"]"!==e&&(this._state=N)},ve.prototype._stateBeforeSpecial=function(e){"c"===e||"C"===e?this._state=H:"t"===e||"T"===e?this._state=Q:(this._state=d,this._index--)},ve.prototype._stateBeforeSpecialEnd=function(e){this._special!==pe||"c"!==e&&"C"!==e?this._special!==he||"t"!==e&&"T"!==e?this._state=l:this._state=ne:this._state=G},ve.prototype._stateBeforeScript1=ye("R",Z),ve.prototype._stateBeforeScript2=ye("I",q),ve.prototype._stateBeforeScript3=ye("P",V),ve.prototype._stateBeforeScript4=ye("T",W),ve.prototype._stateBeforeScript5=function(e){("/"===e||">"===e||ge(e))&&(this._special=pe),this._state=d,this._index--},ve.prototype._stateAfterScript1=me("R",$,l),ve.prototype._stateAfterScript2=me("I",Y,l),ve.prototype._stateAfterScript3=me("P",K,l),ve.prototype._stateAfterScript4=me("T",X,l),ve.prototype._stateAfterScript5=function(e){">"===e||ge(e)?(this._special=de,this._state=g,this._sectionStart=this._index-6,this._index--):this._state=l},ve.prototype._stateBeforeStyle1=ye("Y",J),ve.prototype._stateBeforeStyle2=ye("L",ee),ve.prototype._stateBeforeStyle3=ye("E",te),ve.prototype._stateBeforeStyle4=function(e){("/"===e||">"===e||ge(e))&&(this._special=he),this._state=d,this._index--},ve.prototype._stateAfterStyle1=me("Y",re,l),ve.prototype._stateAfterStyle2=me("L",ie,l),ve.prototype._stateAfterStyle3=me("E",oe,l),ve.prototype._stateAfterStyle4=function(e){">"===e||ge(e)?(this._special=de,this._state=g,this._sectionStart=this._index-5,this._index--):this._state=l},ve.prototype._stateBeforeEntity=me("#",se,ue),ve.prototype._stateBeforeNumericEntity=me("X",le,ce),ve.prototype._parseNamedEntityStrict=function(){if(this._sectionStart+1<this._index){var e=this._buffer.substring(this._sectionStart+1,this._index),t=this._xmlMode?u:a;t.hasOwnProperty(e)&&(this._emitPartial(t[e]),this._sectionStart=this._index+1)}},ve.prototype._parseLegacyEntity=function(){var e=this._sectionStart+1,t=this._index-e;for(t>6&&(t=6);t>=2;){var n=this._buffer.substr(e,t);if(s.hasOwnProperty(n))return this._emitPartial(s[n]),void(this._sectionStart+=t+1);t--}},ve.prototype._stateInNamedEntity=function(e){";"===e?(this._parseNamedEntityStrict(),this._sectionStart+1<this._index&&!this._xmlMode&&this._parseLegacyEntity(),this._state=this._baseState):(e<"a"||e>"z")&&(e<"A"||e>"Z")&&(e<"0"||e>"9")&&(this._xmlMode||this._sectionStart+1===this._index||(this._baseState!==l?"="!==e&&this._parseNamedEntityStrict():this._parseLegacyEntity()),this._state=this._baseState,this._index--)},ve.prototype._decodeNumericEntity=function(e,t){var n=this._sectionStart+e;if(n!==this._index){var r=this._buffer.substring(n,this._index),i=parseInt(r,t);this._emitPartial(o(i)),this._sectionStart=this._index}else this._sectionStart--;this._state=this._baseState},ve.prototype._stateInNumericEntity=function(e){";"===e?(this._decodeNumericEntity(2,10),this._sectionStart++):(e<"0"||e>"9")&&(this._xmlMode?this._state=this._baseState:this._decodeNumericEntity(2,10),this._index--)},ve.prototype._stateInHexEntity=function(e){";"===e?(this._decodeNumericEntity(3,16),this._sectionStart++):(e<"a"||e>"f")&&(e<"A"||e>"F")&&(e<"0"||e>"9")&&(this._xmlMode?this._state=this._baseState:this._decodeNumericEntity(3,16),this._index--)},ve.prototype._cleanup=function(){this._sectionStart<0?(this._buffer="",this._bufferOffset+=this._index,this._index=0):this._running&&(this._state===l?(this._sectionStart!==this._index&&this._cbs.ontext(this._buffer.substr(this._sectionStart)),this._buffer="",this._bufferOffset+=this._index,this._index=0):this._sectionStart===this._index?(this._buffer="",this._bufferOffset+=this._index,this._index=0):(this._buffer=this._buffer.substr(this._sectionStart),this._index-=this._sectionStart,this._bufferOffset+=this._sectionStart),this._sectionStart=0)},ve.prototype.write=function(e){this._ended&&this._cbs.onerror(Error(".write() after done!")),this._buffer+=e,this._parse()},ve.prototype._parse=function(){for(;this._index<this._buffer.length&&this._running;){var e=this._buffer.charAt(this._index);this._state===l?this._stateText(e):this._state===f?this._stateBeforeTagName(e):this._state===d?this._stateInTagName(e):this._state===h?this._stateBeforeCloseingTagName(e):this._state===g?this._stateInCloseingTagName(e):this._state===m?this._stateAfterCloseingTagName(e):this._state===p?this._stateInSelfClosingTag(e):this._state===y?this._stateBeforeAttributeName(e):this._state===v?this._stateInAttributeName(e):this._state===b?this._stateAfterAttributeName(e):this._state===_?this._stateBeforeAttributeValue(e):this._state===w?this._stateInAttributeValueDoubleQuotes(e):this._state===T?this._stateInAttributeValueSingleQuotes(e):this._state===x?this._stateInAttributeValueNoQuotes(e):this._state===S?this._stateBeforeDeclaration(e):this._state===k?this._stateInDeclaration(e):this._state===E?this._stateInProcessingInstruction(e):this._state===O?this._stateBeforeComment(e):this._state===C?this._stateInComment(e):this._state===L?this._stateAfterComment1(e):this._state===A?this._stateAfterComment2(e):this._state===I?this._stateBeforeCdata1(e):this._state===P?this._stateBeforeCdata2(e):this._state===M?this._stateBeforeCdata3(e):this._state===R?this._stateBeforeCdata4(e):this._state===j?this._stateBeforeCdata5(e):this._state===D?this._stateBeforeCdata6(e):this._state===N?this._stateInCdata(e):this._state===B?this._stateAfterCdata1(e):this._state===U?this._stateAfterCdata2(e):this._state===F?this._stateBeforeSpecial(e):this._state===z?this._stateBeforeSpecialEnd(e):this._state===H?this._stateBeforeScript1(e):this._state===Z?this._stateBeforeScript2(e):this._state===q?this._stateBeforeScript3(e):this._state===V?this._stateBeforeScript4(e):this._state===W?this._stateBeforeScript5(e):this._state===G?this._stateAfterScript1(e):this._state===$?this._stateAfterScript2(e):this._state===Y?this._stateAfterScript3(e):this._state===K?this._stateAfterScript4(e):this._state===X?this._stateAfterScript5(e):this._state===Q?this._stateBeforeStyle1(e):this._state===J?this._stateBeforeStyle2(e):this._state===ee?this._stateBeforeStyle3(e):this._state===te?this._stateBeforeStyle4(e):this._state===ne?this._stateAfterStyle1(e):this._state===re?this._stateAfterStyle2(e):this._state===ie?this._stateAfterStyle3(e):this._state===oe?this._stateAfterStyle4(e):this._state===ae?this._stateBeforeEntity(e):this._state===se?this._stateBeforeNumericEntity(e):this._state===ue?this._stateInNamedEntity(e):this._state===ce?this._stateInNumericEntity(e):this._state===le?this._stateInHexEntity(e):this._cbs.onerror(Error("unknown _state"),this._state),this._index++}this._cleanup()},ve.prototype.pause=function(){this._running=!1},ve.prototype.resume=function(){this._running=!0,this._index<this._buffer.length&&this._parse(),this._ended&&this._finish()},ve.prototype.end=function(e){this._ended&&this._cbs.onerror(Error(".end() after done!")),e&&this.write(e),this._ended=!0,this._running&&this._finish()},ve.prototype._finish=function(){this._sectionStart<this._index&&this._handleTrailingData(),this._cbs.onend()},ve.prototype._handleTrailingData=function(){var e=this._buffer.substr(this._sectionStart);this._state===N||this._state===B||this._state===U?this._cbs.oncdata(e):this._state===C||this._state===L||this._state===A?this._cbs.oncomment(e):this._state!==ue||this._xmlMode?this._state!==ce||this._xmlMode?this._state!==le||this._xmlMode?this._state!==d&&this._state!==y&&this._state!==_&&this._state!==b&&this._state!==v&&this._state!==T&&this._state!==w&&this._state!==x&&this._state!==g&&this._cbs.ontext(e):(this._decodeNumericEntity(3,16),this._sectionStart<this._index&&(this._state=this._baseState,this._handleTrailingData())):(this._decodeNumericEntity(2,10),this._sectionStart<this._index&&(this._state=this._baseState,this._handleTrailingData())):(this._parseLegacyEntity(),this._sectionStart<this._index&&(this._state=this._baseState,this._handleTrailingData()))},ve.prototype.reset=function(){ve.call(this,{xmlMode:this._xmlMode,decodeEntities:this._decodeEntities},this._cbs)},ve.prototype.getAbsoluteIndex=function(){return this._bufferOffset+this._index},ve.prototype._getSection=function(){return this._buffer.substring(this._sectionStart,this._index)},ve.prototype._emitToken=function(e){this._cbs[e](this._getSection()),this._sectionStart=-1},ve.prototype._emitPartial=function(e){this._baseState!==l?this._cbs.onattribdata(e):this._cbs.ontext(e)}},83621:function(e,t,n){e.exports=s;var r=n(50763),i=n(42830).Writable||n(50247).Writable,o=n(32553).s,a=n(48764).Buffer;function s(e,t){var n=this._parser=new r(e,t),a=this._decoder=new o;i.call(this,{decodeStrings:!1}),this.once("finish",(function(){n.end(a.end())}))}n(35717)(s,i),i.prototype._write=function(e,t,n){e instanceof a&&(e=this._decoder.write(e)),this._parser.write(e),n()}},23719:function(e,t,n){var r=n(50763),i=n(29730);function o(t,n){return delete e.exports[t],e.exports[t]=n,n}e.exports={Parser:r,Tokenizer:n(39889),ElementType:n(64431),DomHandler:i,get FeedHandler(){return o("FeedHandler",n(63870))},get Stream(){return o("Stream",n(89924))},get WritableStream(){return o("WritableStream",n(83621))},get ProxyHandler(){return o("ProxyHandler",n(76321))},get DomUtils(){return o("DomUtils",n(12417))},get CollectingHandler(){return o("CollectingHandler",n(95449))},DefaultHandler:i,get RssHandler(){return o("RssHandler",this.FeedHandler)},parseDOM:function(e,t){var n=new i(t);return new r(n,t).end(e),n.dom},parseFeed:function(t,n){var i=new e.exports.FeedHandler(n);return new r(i,n).end(t),i.dom},createDomStream:function(e,t,n){var o=new i(e,t,n);return new r(o,t)},EVENTS:{attribute:2,cdatastart:0,cdataend:0,text:1,processinginstruction:2,comment:1,commentend:0,closetag:1,opentag:2,opentagname:1,error:1,end:0}}},29730:function(e,t,n){var r=n(64431),i=/\s+/g,o=n(16805),a=n(7359);function s(e,t,n){"object"==typeof e?(n=t,t=e,e=null):"function"==typeof t&&(n=t,t=u),this._callback=e,this._options=t||u,this._elementCB=n,this.dom=[],this._done=!1,this._tagStack=[],this._parser=this._parser||null}var u={normalizeWhitespace:!1,withStartIndices:!1,withEndIndices:!1};s.prototype.onparserinit=function(e){this._parser=e},s.prototype.onreset=function(){s.call(this,this._callback,this._options,this._elementCB)},s.prototype.onend=function(){this._done||(this._done=!0,this._parser=null,this._handleCallback(null))},s.prototype._handleCallback=s.prototype.onerror=function(e){if("function"==typeof this._callback)this._callback(e,this.dom);else if(e)throw e},s.prototype.onclosetag=function(){var e=this._tagStack.pop();this._options.withEndIndices&&e&&(e.endIndex=this._parser.endIndex),this._elementCB&&this._elementCB(e)},s.prototype._createDomElement=function(e){if(!this._options.withDomLvl1)return e;var t;for(var n in t="tag"===e.type?Object.create(a):Object.create(o),e)e.hasOwnProperty(n)&&(t[n]=e[n]);return t},s.prototype._addDomElement=function(e){var t=this._tagStack[this._tagStack.length-1],n=t?t.children:this.dom,r=n[n.length-1];e.next=null,this._options.withStartIndices&&(e.startIndex=this._parser.startIndex),this._options.withEndIndices&&(e.endIndex=this._parser.endIndex),r?(e.prev=r,r.next=e):e.prev=null,n.push(e),e.parent=t||null},s.prototype.onopentag=function(e,t){var n={type:"script"===e?r.Script:"style"===e?r.Style:r.Tag,name:e,attribs:t,children:[]},i=this._createDomElement(n);this._addDomElement(i),this._tagStack.push(i)},s.prototype.ontext=function(e){var t,n=this._options.normalizeWhitespace||this._options.ignoreWhitespace;if(!this._tagStack.length&&this.dom.length&&(t=this.dom[this.dom.length-1]).type===r.Text)n?t.data=(t.data+e).replace(i," "):t.data+=e;else if(this._tagStack.length&&(t=this._tagStack[this._tagStack.length-1])&&(t=t.children[t.children.length-1])&&t.type===r.Text)n?t.data=(t.data+e).replace(i," "):t.data+=e;else{n&&(e=e.replace(i," "));var o=this._createDomElement({data:e,type:r.Text});this._addDomElement(o)}},s.prototype.oncomment=function(e){var t=this._tagStack[this._tagStack.length-1];if(t&&t.type===r.Comment)t.data+=e;else{var n={data:e,type:r.Comment},i=this._createDomElement(n);this._addDomElement(i),this._tagStack.push(i)}},s.prototype.oncdatastart=function(){var e={children:[{data:"",type:r.Text}],type:r.CDATA},t=this._createDomElement(e);this._addDomElement(t),this._tagStack.push(t)},s.prototype.oncommentend=s.prototype.oncdataend=function(){this._tagStack.pop()},s.prototype.onprocessinginstruction=function(e,t){var n=this._createDomElement({name:e,data:t,type:r.Directive});this._addDomElement(n)},e.exports=s},7359:function(e,t,n){var r=n(16805),i=e.exports=Object.create(r),o={tagName:"name"};Object.keys(o).forEach((function(e){var t=o[e];Object.defineProperty(i,e,{get:function(){return this[t]||null},set:function(e){return this[t]=e,e}})}))},16805:function(e){var t=e.exports={get firstChild(){var e=this.children;return e&&e[0]||null},get lastChild(){var e=this.children;return e&&e[e.length-1]||null},get nodeType(){return r[this.type]||r.element}},n={tagName:"name",childNodes:"children",parentNode:"parent",previousSibling:"prev",nextSibling:"next",nodeValue:"data"},r={element:1,text:3,cdata:4,comment:8};Object.keys(n).forEach((function(e){var r=n[e];Object.defineProperty(t,e,{get:function(){return this[r]||null},set:function(e){return this[r]=e,e}})}))},58894:function(e,t,n){var r=n(42968);e.exports=function(e){if(e>=55296&&e<=57343||e>1114111)return"�";e in r&&(e=r[e]);var t="";e>65535&&(e-=65536,t+=String.fromCharCode(e>>>10&1023|55296),e=56320|1023&e);return t+=String.fromCharCode(e)}},26071:function(e,t,n){"use strict";var r=n(15671),i=n(43144),o=[],a=o.forEach,s=o.slice;function u(e){return a.call(s.call(arguments,1),(function(t){if(t)for(var n in t)void 0===e[n]&&(e[n]=t[n])})),e}var c=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/,l=function(e,t,n){var r=n||{};r.path=r.path||"/";var i=e+"="+encodeURIComponent(t);if(r.maxAge>0){var o=r.maxAge-0;if(isNaN(o))throw new Error("maxAge should be a Number");i+="; Max-Age="+Math.floor(o)}if(r.domain){if(!c.test(r.domain))throw new TypeError("option domain is invalid");i+="; Domain="+r.domain}if(r.path){if(!c.test(r.path))throw new TypeError("option path is invalid");i+="; Path="+r.path}if(r.expires){if("function"!=typeof r.expires.toUTCString)throw new TypeError("option expires is invalid");i+="; Expires="+r.expires.toUTCString()}if(r.httpOnly&&(i+="; HttpOnly"),r.secure&&(i+="; Secure"),r.sameSite)switch("string"==typeof r.sameSite?r.sameSite.toLowerCase():r.sameSite){case!0:i+="; SameSite=Strict";break;case"lax":i+="; SameSite=Lax";break;case"strict":i+="; SameSite=Strict";break;case"none":i+="; SameSite=None";break;default:throw new TypeError("option sameSite is invalid")}return i},f=function(e,t,n,r){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{path:"/",sameSite:"strict"};n&&(i.expires=new Date,i.expires.setTime(i.expires.getTime()+60*n*1e3)),r&&(i.domain=r),document.cookie=l(e,encodeURIComponent(t),i)},d=function(e){for(var t=e+"=",n=document.cookie.split(";"),r=0;r<n.length;r++){for(var i=n[r];" "===i.charAt(0);)i=i.substring(1,i.length);if(0===i.indexOf(t))return i.substring(t.length,i.length)}return null},p={name:"cookie",lookup:function(e){var t;if(e.lookupCookie&&"undefined"!=typeof document){var n=d(e.lookupCookie);n&&(t=n)}return t},cacheUserLanguage:function(e,t){t.lookupCookie&&"undefined"!=typeof document&&f(t.lookupCookie,e,t.cookieMinutes,t.cookieDomain,t.cookieOptions)}},h={name:"querystring",lookup:function(e){var t;if("undefined"!=typeof window)for(var n=window.location.search.substring(1).split("&"),r=0;r<n.length;r++){var i=n[r].indexOf("=");if(i>0)n[r].substring(0,i)===e.lookupQuerystring&&(t=n[r].substring(i+1))}return t}},g=null,m=function(){if(null!==g)return g;try{g="undefined"!==window&&null!==window.localStorage;var e="i18next.translate.boo";window.localStorage.setItem(e,"foo"),window.localStorage.removeItem(e)}catch(e){g=!1}return g},y={name:"localStorage",lookup:function(e){var t;if(e.lookupLocalStorage&&m()){var n=window.localStorage.getItem(e.lookupLocalStorage);n&&(t=n)}return t},cacheUserLanguage:function(e,t){t.lookupLocalStorage&&m()&&window.localStorage.setItem(t.lookupLocalStorage,e)}},v=null,b=function(){if(null!==v)return v;try{v="undefined"!==window&&null!==window.sessionStorage;var e="i18next.translate.boo";window.sessionStorage.setItem(e,"foo"),window.sessionStorage.removeItem(e)}catch(e){v=!1}return v},_={name:"sessionStorage",lookup:function(e){var t;if(e.lookupSessionStorage&&b()){var n=window.sessionStorage.getItem(e.lookupSessionStorage);n&&(t=n)}return t},cacheUserLanguage:function(e,t){t.lookupSessionStorage&&b()&&window.sessionStorage.setItem(t.lookupSessionStorage,e)}},w={name:"navigator",lookup:function(e){var t=[];if("undefined"!=typeof navigator){if(navigator.languages)for(var n=0;n<navigator.languages.length;n++)t.push(navigator.languages[n]);navigator.userLanguage&&t.push(navigator.userLanguage),navigator.language&&t.push(navigator.language)}return t.length>0?t:void 0}},T={name:"htmlTag",lookup:function(e){var t,n=e.htmlTag||("undefined"!=typeof document?document.documentElement:null);return n&&"function"==typeof n.getAttribute&&(t=n.getAttribute("lang")),t}},x={name:"path",lookup:function(e){var t;if("undefined"!=typeof window){var n=window.location.pathname.match(/\/([a-zA-Z-]*)/g);if(n instanceof Array)if("number"==typeof e.lookupFromPathIndex){if("string"!=typeof n[e.lookupFromPathIndex])return;t=n[e.lookupFromPathIndex].replace("/","")}else t=n[0].replace("/","")}return t}},S={name:"subdomain",lookup:function(e){var t;if("undefined"!=typeof window){var n=window.location.href.match(/(?:http[s]*\:\/\/)*(.*?)\.(?=[^\/]*\..{2,5})/gi);n instanceof Array&&(t="number"==typeof e.lookupFromSubdomainIndex?n[e.lookupFromSubdomainIndex].replace("http://","").replace("https://","").replace(".",""):n[0].replace("http://","").replace("https://","").replace(".",""))}return t}};var k=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};(0,r.Z)(this,e),this.type="languageDetector",this.detectors={},this.init(t,n)}return(0,i.Z)(e,[{key:"init",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.services=e,this.options=u(t,this.options||{},{order:["querystring","cookie","localStorage","sessionStorage","navigator","htmlTag"],lookupQuerystring:"lng",lookupCookie:"i18next",lookupLocalStorage:"i18nextLng",lookupSessionStorage:"i18nextLng",caches:["localStorage"],excludeCacheFor:["cimode"]}),this.options.lookupFromUrlIndex&&(this.options.lookupFromPathIndex=this.options.lookupFromUrlIndex),this.i18nOptions=n,this.addDetector(p),this.addDetector(h),this.addDetector(y),this.addDetector(_),this.addDetector(w),this.addDetector(T),this.addDetector(x),this.addDetector(S)}},{key:"addDetector",value:function(e){this.detectors[e.name]=e}},{key:"detect",value:function(e){var t=this;e||(e=this.options.order);var n=[];return e.forEach((function(e){if(t.detectors[e]){var r=t.detectors[e].lookup(t.options);r&&"string"==typeof r&&(r=[r]),r&&(n=n.concat(r))}})),this.services.languageUtils.getBestMatchFromCodes?n:n.length>0?n[0]:null}},{key:"cacheUserLanguage",value:function(e,t){var n=this;t||(t=this.options.caches),t&&(this.options.excludeCacheFor&&this.options.excludeCacheFor.indexOf(e)>-1||t.forEach((function(t){n.detectors[t]&&n.detectors[t].cacheUserLanguage(e,n.options)})))}}]),e}();k.type="languageDetector",t.Z=k},80578:function(e,t,n){"use strict";n.d(t,{Z:function(){return V}});var r=n(71002),i=n(4942);function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&r.push.apply(r,Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach((function(t){(0,i.Z)(e,t,n[t])}))}return e}var a=n(15671),s=n(43144),u=n(97326);function c(e,t){if(t&&("object"===(0,r.Z)(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return(0,u.Z)(e)}function l(e){return l=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},l(e)}var f=n(89611);function d(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&(0,f.Z)(e,t)}var p={type:"logger",log:function(e){this.output("log",e)},warn:function(e){this.output("warn",e)},error:function(e){this.output("error",e)},output:function(e,t){console&&console[e]&&console[e].apply(console,t)}},h=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};(0,a.Z)(this,e),this.init(t,n)}return(0,s.Z)(e,[{key:"init",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.prefix=t.prefix||"i18next:",this.logger=e||p,this.options=t,this.debug=t.debug}},{key:"setDebug",value:function(e){this.debug=e}},{key:"log",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.forward(t,"log","",!0)}},{key:"warn",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.forward(t,"warn","",!0)}},{key:"error",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.forward(t,"error","")}},{key:"deprecate",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.forward(t,"warn","WARNING DEPRECATED: ",!0)}},{key:"forward",value:function(e,t,n,r){return r&&!this.debug?null:("string"==typeof e[0]&&(e[0]="".concat(n).concat(this.prefix," ").concat(e[0])),this.logger[t](e))}},{key:"create",value:function(t){return new e(this.logger,o({},{prefix:"".concat(this.prefix,":").concat(t,":")},this.options))}}]),e}(),g=new h,m=function(){function e(){(0,a.Z)(this,e),this.observers={}}return(0,s.Z)(e,[{key:"on",value:function(e,t){var n=this;return e.split(" ").forEach((function(e){n.observers[e]=n.observers[e]||[],n.observers[e].push(t)})),this}},{key:"off",value:function(e,t){this.observers[e]&&(t?this.observers[e]=this.observers[e].filter((function(e){return e!==t})):delete this.observers[e])}},{key:"emit",value:function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];if(this.observers[e]){var i=[].concat(this.observers[e]);i.forEach((function(e){e.apply(void 0,n)}))}if(this.observers["*"]){var o=[].concat(this.observers["*"]);o.forEach((function(t){t.apply(t,[e].concat(n))}))}}}]),e}();function y(){var e,t,n=new Promise((function(n,r){e=n,t=r}));return n.resolve=e,n.reject=t,n}function v(e){return null==e?"":""+e}function b(e,t,n){e.forEach((function(e){t[e]&&(n[e]=t[e])}))}function _(e,t,n){function r(e){return e&&e.indexOf("###")>-1?e.replace(/###/g,"."):e}function i(){return!e||"string"==typeof e}for(var o="string"!=typeof t?[].concat(t):t.split(".");o.length>1;){if(i())return{};var a=r(o.shift());!e[a]&&n&&(e[a]=new n),e=Object.prototype.hasOwnProperty.call(e,a)?e[a]:{}}return i()?{}:{obj:e,k:r(o.shift())}}function w(e,t,n){var r=_(e,t,Object);r.obj[r.k]=n}function T(e,t){var n=_(e,t),r=n.obj,i=n.k;if(r)return r[i]}function x(e,t,n){var r=T(e,n);return void 0!==r?r:T(t,n)}function S(e,t,n){for(var r in t)"__proto__"!==r&&"constructor"!==r&&(r in e?"string"==typeof e[r]||e[r]instanceof String||"string"==typeof t[r]||t[r]instanceof String?n&&(e[r]=t[r]):S(e[r],t[r],n):e[r]=t[r]);return e}function k(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}var E={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#x2F;"};function O(e){return"string"==typeof e?e.replace(/[&<>"'\/]/g,(function(e){return E[e]})):e}var C="undefined"!=typeof window&&window.navigator&&window.navigator.userAgent&&window.navigator.userAgent.indexOf("MSIE")>-1,L=function(e){function t(e){var n,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{ns:["translation"],defaultNS:"translation"};return(0,a.Z)(this,t),n=c(this,l(t).call(this)),C&&m.call((0,u.Z)(n)),n.data=e||{},n.options=r,void 0===n.options.keySeparator&&(n.options.keySeparator="."),n}return d(t,e),(0,s.Z)(t,[{key:"addNamespaces",value:function(e){this.options.ns.indexOf(e)<0&&this.options.ns.push(e)}},{key:"removeNamespaces",value:function(e){var t=this.options.ns.indexOf(e);t>-1&&this.options.ns.splice(t,1)}},{key:"getResource",value:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},i=void 0!==r.keySeparator?r.keySeparator:this.options.keySeparator,o=[e,t];return n&&"string"!=typeof n&&(o=o.concat(n)),n&&"string"==typeof n&&(o=o.concat(i?n.split(i):n)),e.indexOf(".")>-1&&(o=e.split(".")),T(this.data,o)}},{key:"addResource",value:function(e,t,n,r){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{silent:!1},o=this.options.keySeparator;void 0===o&&(o=".");var a=[e,t];n&&(a=a.concat(o?n.split(o):n)),e.indexOf(".")>-1&&(r=t,t=(a=e.split("."))[1]),this.addNamespaces(t),w(this.data,a,r),i.silent||this.emit("added",e,t,n,r)}},{key:"addResources",value:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{silent:!1};for(var i in n)"string"!=typeof n[i]&&"[object Array]"!==Object.prototype.toString.apply(n[i])||this.addResource(e,t,i,n[i],{silent:!0});r.silent||this.emit("added",e,t,n)}},{key:"addResourceBundle",value:function(e,t,n,r,i){var a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{silent:!1},s=[e,t];e.indexOf(".")>-1&&(r=n,n=t,t=(s=e.split("."))[1]),this.addNamespaces(t);var u=T(this.data,s)||{};r?S(u,n,i):u=o({},u,n),w(this.data,s,u),a.silent||this.emit("added",e,t,n)}},{key:"removeResourceBundle",value:function(e,t){this.hasResourceBundle(e,t)&&delete this.data[e][t],this.removeNamespaces(t),this.emit("removed",e,t)}},{key:"hasResourceBundle",value:function(e,t){return void 0!==this.getResource(e,t)}},{key:"getResourceBundle",value:function(e,t){return t||(t=this.options.defaultNS),"v1"===this.options.compatibilityAPI?o({},{},this.getResource(e,t)):this.getResource(e,t)}},{key:"getDataByLanguage",value:function(e){return this.data[e]}},{key:"toJSON",value:function(){return this.data}}]),t}(m),A={processors:{},addPostProcessor:function(e){this.processors[e.name]=e},handle:function(e,t,n,r,i){var o=this;return e.forEach((function(e){o.processors[e]&&(t=o.processors[e].process(t,n,r,i))})),t}},I={},P=function(e){function t(e){var n,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return(0,a.Z)(this,t),n=c(this,l(t).call(this)),C&&m.call((0,u.Z)(n)),b(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"],e,(0,u.Z)(n)),n.options=r,void 0===n.options.keySeparator&&(n.options.keySeparator="."),n.logger=g.create("translator"),n}return d(t,e),(0,s.Z)(t,[{key:"changeLanguage",value:function(e){e&&(this.language=e)}},{key:"exists",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{interpolation:{}},n=this.resolve(e,t);return n&&void 0!==n.res}},{key:"extractFromKey",value:function(e,t){var n=void 0!==t.nsSeparator?t.nsSeparator:this.options.nsSeparator;void 0===n&&(n=":");var r=void 0!==t.keySeparator?t.keySeparator:this.options.keySeparator,i=t.ns||this.options.defaultNS;if(n&&e.indexOf(n)>-1){var o=e.match(this.interpolator.nestingRegexp);if(o&&o.length>0)return{key:e,namespaces:i};var a=e.split(n);(n!==r||n===r&&this.options.ns.indexOf(a[0])>-1)&&(i=a.shift()),e=a.join(r)}return"string"==typeof i&&(i=[i]),{key:e,namespaces:i}}},{key:"translate",value:function(e,n,i){var a=this;if("object"!==(0,r.Z)(n)&&this.options.overloadTranslationOptionHandler&&(n=this.options.overloadTranslationOptionHandler(arguments)),n||(n={}),null==e)return"";Array.isArray(e)||(e=[String(e)]);var s=void 0!==n.keySeparator?n.keySeparator:this.options.keySeparator,u=this.extractFromKey(e[e.length-1],n),c=u.key,l=u.namespaces,f=l[l.length-1],d=n.lng||this.language,p=n.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(d&&"cimode"===d.toLowerCase()){if(p){var h=n.nsSeparator||this.options.nsSeparator;return f+h+c}return c}var g=this.resolve(e,n),m=g&&g.res,y=g&&g.usedKey||c,v=g&&g.exactUsedKey||c,b=Object.prototype.toString.apply(m),_=["[object Number]","[object Function]","[object RegExp]"],w=void 0!==n.joinArrays?n.joinArrays:this.options.joinArrays,T=!this.i18nFormat||this.i18nFormat.handleAsObject,x="string"!=typeof m&&"boolean"!=typeof m&&"number"!=typeof m;if(T&&m&&x&&_.indexOf(b)<0&&("string"!=typeof w||"[object Array]"!==b)){if(!n.returnObjects&&!this.options.returnObjects)return this.logger.warn("accessing an object - but returnObjects options is not enabled!"),this.options.returnedObjectHandler?this.options.returnedObjectHandler(y,m,n):"key '".concat(c," (").concat(this.language,")' returned an object instead of string.");if(s){var S="[object Array]"===b,k=S?[]:{},E=S?v:y;for(var O in m)if(Object.prototype.hasOwnProperty.call(m,O)){var C="".concat(E).concat(s).concat(O);k[O]=this.translate(C,o({},n,{joinArrays:!1,ns:l})),k[O]===C&&(k[O]=m[O])}m=k}}else if(T&&"string"==typeof w&&"[object Array]"===b)(m=m.join(w))&&(m=this.extendTranslation(m,e,n,i));else{var L=!1,A=!1,I=void 0!==n.count&&"string"!=typeof n.count,P=t.hasDefaultValue(n),M=I?this.pluralResolver.getSuffix(d,n.count):"",R=n["defaultValue".concat(M)]||n.defaultValue;!this.isValidLookup(m)&&P&&(L=!0,m=R),this.isValidLookup(m)||(A=!0,m=c);var j=P&&R!==m&&this.options.updateMissing;if(A||L||j){if(this.logger.log(j?"updateKey":"missingKey",d,f,c,j?R:m),s){var D=this.resolve(c,o({},n,{keySeparator:!1}));D&&D.res&&this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.")}var N=[],B=this.languageUtils.getFallbackCodes(this.options.fallbackLng,n.lng||this.language);if("fallback"===this.options.saveMissingTo&&B&&B[0])for(var U=0;U<B.length;U++)N.push(B[U]);else"all"===this.options.saveMissingTo?N=this.languageUtils.toResolveHierarchy(n.lng||this.language):N.push(n.lng||this.language);var F=function(e,t,r){a.options.missingKeyHandler?a.options.missingKeyHandler(e,f,t,j?r:m,j,n):a.backendConnector&&a.backendConnector.saveMissing&&a.backendConnector.saveMissing(e,f,t,j?r:m,j,n),a.emit("missingKey",e,f,t,m)};this.options.saveMissing&&(this.options.saveMissingPlurals&&I?N.forEach((function(e){a.pluralResolver.getSuffixes(e).forEach((function(t){F([e],c+t,n["defaultValue".concat(t)]||R)}))})):F(N,c,R))}m=this.extendTranslation(m,e,n,g,i),A&&m===c&&this.options.appendNamespaceToMissingKey&&(m="".concat(f,":").concat(c)),A&&this.options.parseMissingKeyHandler&&(m=this.options.parseMissingKeyHandler(m))}return m}},{key:"extendTranslation",value:function(e,t,n,r,i){var a=this;if(this.i18nFormat&&this.i18nFormat.parse)e=this.i18nFormat.parse(e,n,r.usedLng,r.usedNS,r.usedKey,{resolved:r});else if(!n.skipInterpolation){n.interpolation&&this.interpolator.init(o({},n,{interpolation:o({},this.options.interpolation,n.interpolation)}));var s,u=n.interpolation&&n.interpolation.skipOnVariables||this.options.interpolation.skipOnVariables;if(u){var c=e.match(this.interpolator.nestingRegexp);s=c&&c.length}var l=n.replace&&"string"!=typeof n.replace?n.replace:n;if(this.options.interpolation.defaultVariables&&(l=o({},this.options.interpolation.defaultVariables,l)),e=this.interpolator.interpolate(e,l,n.lng||this.language,n),u){var f=e.match(this.interpolator.nestingRegexp);s<(f&&f.length)&&(n.nest=!1)}!1!==n.nest&&(e=this.interpolator.nest(e,(function(){for(var e=arguments.length,r=new Array(e),o=0;o<e;o++)r[o]=arguments[o];return i&&i[0]===r[0]&&!n.context?(a.logger.warn("It seems you are nesting recursively key: ".concat(r[0]," in key: ").concat(t[0])),null):a.translate.apply(a,r.concat([t]))}),n)),n.interpolation&&this.interpolator.reset()}var d=n.postProcess||this.options.postProcess,p="string"==typeof d?[d]:d;return null!=e&&p&&p.length&&!1!==n.applyPostProcessor&&(e=A.handle(p,e,t,this.options&&this.options.postProcessPassResolved?o({i18nResolved:r},n):n,this)),e}},{key:"resolve",value:function(e){var t,n,r,i,o,a=this,s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return"string"==typeof e&&(e=[e]),e.forEach((function(e){if(!a.isValidLookup(t)){var u=a.extractFromKey(e,s),c=u.key;n=c;var l=u.namespaces;a.options.fallbackNS&&(l=l.concat(a.options.fallbackNS));var f=void 0!==s.count&&"string"!=typeof s.count,d=void 0!==s.context&&"string"==typeof s.context&&""!==s.context,p=s.lngs?s.lngs:a.languageUtils.toResolveHierarchy(s.lng||a.language,s.fallbackLng);l.forEach((function(e){a.isValidLookup(t)||(o=e,!I["".concat(p[0],"-").concat(e)]&&a.utils&&a.utils.hasLoadedNamespace&&!a.utils.hasLoadedNamespace(o)&&(I["".concat(p[0],"-").concat(e)]=!0,a.logger.warn('key "'.concat(n,'" for languages "').concat(p.join(", "),'" won\'t get resolved as namespace "').concat(o,'" was not yet loaded'),"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")),p.forEach((function(n){if(!a.isValidLookup(t)){i=n;var o,u,l=c,p=[l];if(a.i18nFormat&&a.i18nFormat.addLookupKeys)a.i18nFormat.addLookupKeys(p,c,n,e,s);else f&&(o=a.pluralResolver.getSuffix(n,s.count)),f&&d&&p.push(l+o),d&&p.push(l+="".concat(a.options.contextSeparator).concat(s.context)),f&&p.push(l+=o);for(;u=p.pop();)a.isValidLookup(t)||(r=u,t=a.getResource(n,e,u,s))}})))}))}})),{res:t,usedKey:n,exactUsedKey:r,usedLng:i,usedNS:o}}},{key:"isValidLookup",value:function(e){return!(void 0===e||!this.options.returnNull&&null===e||!this.options.returnEmptyString&&""===e)}},{key:"getResource",value:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return this.i18nFormat&&this.i18nFormat.getResource?this.i18nFormat.getResource(e,t,n,r):this.resourceStore.getResource(e,t,n,r)}}],[{key:"hasDefaultValue",value:function(e){var t="defaultValue";for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&t===n.substring(0,t.length)&&void 0!==e[n])return!0;return!1}}]),t}(m);function M(e){return e.charAt(0).toUpperCase()+e.slice(1)}var R=function(){function e(t){(0,a.Z)(this,e),this.options=t,this.whitelist=this.options.supportedLngs||!1,this.supportedLngs=this.options.supportedLngs||!1,this.logger=g.create("languageUtils")}return(0,s.Z)(e,[{key:"getScriptPartFromCode",value:function(e){if(!e||e.indexOf("-")<0)return null;var t=e.split("-");return 2===t.length?null:(t.pop(),"x"===t[t.length-1].toLowerCase()?null:this.formatLanguageCode(t.join("-")))}},{key:"getLanguagePartFromCode",value:function(e){if(!e||e.indexOf("-")<0)return e;var t=e.split("-");return this.formatLanguageCode(t[0])}},{key:"formatLanguageCode",value:function(e){if("string"==typeof e&&e.indexOf("-")>-1){var t=["hans","hant","latn","cyrl","cans","mong","arab"],n=e.split("-");return this.options.lowerCaseLng?n=n.map((function(e){return e.toLowerCase()})):2===n.length?(n[0]=n[0].toLowerCase(),n[1]=n[1].toUpperCase(),t.indexOf(n[1].toLowerCase())>-1&&(n[1]=M(n[1].toLowerCase()))):3===n.length&&(n[0]=n[0].toLowerCase(),2===n[1].length&&(n[1]=n[1].toUpperCase()),"sgn"!==n[0]&&2===n[2].length&&(n[2]=n[2].toUpperCase()),t.indexOf(n[1].toLowerCase())>-1&&(n[1]=M(n[1].toLowerCase())),t.indexOf(n[2].toLowerCase())>-1&&(n[2]=M(n[2].toLowerCase()))),n.join("-")}return this.options.cleanCode||this.options.lowerCaseLng?e.toLowerCase():e}},{key:"isWhitelisted",value:function(e){return this.logger.deprecate("languageUtils.isWhitelisted",'function "isWhitelisted" will be renamed to "isSupportedCode" in the next major - please make sure to rename it\'s usage asap.'),this.isSupportedCode(e)}},{key:"isSupportedCode",value:function(e){return("languageOnly"===this.options.load||this.options.nonExplicitSupportedLngs)&&(e=this.getLanguagePartFromCode(e)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(e)>-1}},{key:"getBestMatchFromCodes",value:function(e){var t,n=this;return e?(e.forEach((function(e){if(!t){var r=n.formatLanguageCode(e);n.options.supportedLngs&&!n.isSupportedCode(r)||(t=r)}})),!t&&this.options.supportedLngs&&e.forEach((function(e){if(!t){var r=n.getLanguagePartFromCode(e);if(n.isSupportedCode(r))return t=r;t=n.options.supportedLngs.find((function(e){if(0===e.indexOf(r))return e}))}})),t||(t=this.getFallbackCodes(this.options.fallbackLng)[0]),t):null}},{key:"getFallbackCodes",value:function(e,t){if(!e)return[];if("function"==typeof e&&(e=e(t)),"string"==typeof e&&(e=[e]),"[object Array]"===Object.prototype.toString.apply(e))return e;if(!t)return e.default||[];var n=e[t];return n||(n=e[this.getScriptPartFromCode(t)]),n||(n=e[this.formatLanguageCode(t)]),n||(n=e[this.getLanguagePartFromCode(t)]),n||(n=e.default),n||[]}},{key:"toResolveHierarchy",value:function(e,t){var n=this,r=this.getFallbackCodes(t||this.options.fallbackLng||[],e),i=[],o=function(e){e&&(n.isSupportedCode(e)?i.push(e):n.logger.warn("rejecting language code not found in supportedLngs: ".concat(e)))};return"string"==typeof e&&e.indexOf("-")>-1?("languageOnly"!==this.options.load&&o(this.formatLanguageCode(e)),"languageOnly"!==this.options.load&&"currentOnly"!==this.options.load&&o(this.getScriptPartFromCode(e)),"currentOnly"!==this.options.load&&o(this.getLanguagePartFromCode(e))):"string"==typeof e&&o(this.formatLanguageCode(e)),r.forEach((function(e){i.indexOf(e)<0&&o(n.formatLanguageCode(e))})),i}}]),e}(),j=[{lngs:["ach","ak","am","arn","br","fil","gun","ln","mfe","mg","mi","oc","pt","pt-BR","tg","tl","ti","tr","uz","wa"],nr:[1,2],fc:1},{lngs:["af","an","ast","az","bg","bn","ca","da","de","dev","el","en","eo","es","et","eu","fi","fo","fur","fy","gl","gu","ha","hi","hu","hy","ia","it","kn","ku","lb","mai","ml","mn","mr","nah","nap","nb","ne","nl","nn","no","nso","pa","pap","pms","ps","pt-PT","rm","sco","se","si","so","son","sq","sv","sw","ta","te","tk","ur","yo"],nr:[1,2],fc:2},{lngs:["ay","bo","cgg","fa","ht","id","ja","jbo","ka","kk","km","ko","ky","lo","ms","sah","su","th","tt","ug","vi","wo","zh"],nr:[1],fc:3},{lngs:["be","bs","cnr","dz","hr","ru","sr","uk"],nr:[1,2,5],fc:4},{lngs:["ar"],nr:[0,1,2,3,11,100],fc:5},{lngs:["cs","sk"],nr:[1,2,5],fc:6},{lngs:["csb","pl"],nr:[1,2,5],fc:7},{lngs:["cy"],nr:[1,2,3,8],fc:8},{lngs:["fr"],nr:[1,2],fc:9},{lngs:["ga"],nr:[1,2,3,7,11],fc:10},{lngs:["gd"],nr:[1,2,3,20],fc:11},{lngs:["is"],nr:[1,2],fc:12},{lngs:["jv"],nr:[0,1],fc:13},{lngs:["kw"],nr:[1,2,3,4],fc:14},{lngs:["lt"],nr:[1,2,10],fc:15},{lngs:["lv"],nr:[1,2,0],fc:16},{lngs:["mk"],nr:[1,2],fc:17},{lngs:["mnk"],nr:[0,1,2],fc:18},{lngs:["mt"],nr:[1,2,11,20],fc:19},{lngs:["or"],nr:[2,1],fc:2},{lngs:["ro"],nr:[1,2,20],fc:20},{lngs:["sl"],nr:[5,1,2,3],fc:21},{lngs:["he","iw"],nr:[1,2,20,21],fc:22}],D={1:function(e){return Number(e>1)},2:function(e){return Number(1!=e)},3:function(e){return 0},4:function(e){return Number(e%10==1&&e%100!=11?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2)},5:function(e){return Number(0==e?0:1==e?1:2==e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5)},6:function(e){return Number(1==e?0:e>=2&&e<=4?1:2)},7:function(e){return Number(1==e?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2)},8:function(e){return Number(1==e?0:2==e?1:8!=e&&11!=e?2:3)},9:function(e){return Number(e>=2)},10:function(e){return Number(1==e?0:2==e?1:e<7?2:e<11?3:4)},11:function(e){return Number(1==e||11==e?0:2==e||12==e?1:e>2&&e<20?2:3)},12:function(e){return Number(e%10!=1||e%100==11)},13:function(e){return Number(0!==e)},14:function(e){return Number(1==e?0:2==e?1:3==e?2:3)},15:function(e){return Number(e%10==1&&e%100!=11?0:e%10>=2&&(e%100<10||e%100>=20)?1:2)},16:function(e){return Number(e%10==1&&e%100!=11?0:0!==e?1:2)},17:function(e){return Number(1==e||e%10==1&&e%100!=11?0:1)},18:function(e){return Number(0==e?0:1==e?1:2)},19:function(e){return Number(1==e?0:0==e||e%100>1&&e%100<11?1:e%100>10&&e%100<20?2:3)},20:function(e){return Number(1==e?0:0==e||e%100>0&&e%100<20?1:2)},21:function(e){return Number(e%100==1?1:e%100==2?2:e%100==3||e%100==4?3:0)},22:function(e){return Number(1==e?0:2==e?1:(e<0||e>10)&&e%10==0?2:3)}};function N(){var e={};return j.forEach((function(t){t.lngs.forEach((function(n){e[n]={numbers:t.nr,plurals:D[t.fc]}}))})),e}var B=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};(0,a.Z)(this,e),this.languageUtils=t,this.options=n,this.logger=g.create("pluralResolver"),this.rules=N()}return(0,s.Z)(e,[{key:"addRule",value:function(e,t){this.rules[e]=t}},{key:"getRule",value:function(e){return this.rules[e]||this.rules[this.languageUtils.getLanguagePartFromCode(e)]}},{key:"needsPlural",value:function(e){var t=this.getRule(e);return t&&t.numbers.length>1}},{key:"getPluralFormsOfKey",value:function(e,t){return this.getSuffixes(e).map((function(e){return t+e}))}},{key:"getSuffixes",value:function(e){var t=this,n=this.getRule(e);return n?n.numbers.map((function(n){return t.getSuffix(e,n)})):[]}},{key:"getSuffix",value:function(e,t){var n=this,r=this.getRule(e);if(r){var i=r.noAbs?r.plurals(t):r.plurals(Math.abs(t)),o=r.numbers[i];this.options.simplifyPluralSuffix&&2===r.numbers.length&&1===r.numbers[0]&&(2===o?o="plural":1===o&&(o=""));var a=function(){return n.options.prepend&&o.toString()?n.options.prepend+o.toString():o.toString()};return"v1"===this.options.compatibilityJSON?1===o?"":"number"==typeof o?"_plural_".concat(o.toString()):a():"v2"===this.options.compatibilityJSON||this.options.simplifyPluralSuffix&&2===r.numbers.length&&1===r.numbers[0]?a():this.options.prepend&&i.toString()?this.options.prepend+i.toString():i.toString()}return this.logger.warn("no plural rule found for: ".concat(e)),""}}]),e}(),U=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};(0,a.Z)(this,e),this.logger=g.create("interpolator"),this.options=t,this.format=t.interpolation&&t.interpolation.format||function(e){return e},this.init(t)}return(0,s.Z)(e,[{key:"init",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};e.interpolation||(e.interpolation={escapeValue:!0});var t=e.interpolation;this.escape=void 0!==t.escape?t.escape:O,this.escapeValue=void 0===t.escapeValue||t.escapeValue,this.useRawValueToEscape=void 0!==t.useRawValueToEscape&&t.useRawValueToEscape,this.prefix=t.prefix?k(t.prefix):t.prefixEscaped||"{{",this.suffix=t.suffix?k(t.suffix):t.suffixEscaped||"}}",this.formatSeparator=t.formatSeparator?t.formatSeparator:t.formatSeparator||",",this.unescapePrefix=t.unescapeSuffix?"":t.unescapePrefix||"-",this.unescapeSuffix=this.unescapePrefix?"":t.unescapeSuffix||"",this.nestingPrefix=t.nestingPrefix?k(t.nestingPrefix):t.nestingPrefixEscaped||k("$t("),this.nestingSuffix=t.nestingSuffix?k(t.nestingSuffix):t.nestingSuffixEscaped||k(")"),this.nestingOptionsSeparator=t.nestingOptionsSeparator?t.nestingOptionsSeparator:t.nestingOptionsSeparator||",",this.maxReplaces=t.maxReplaces?t.maxReplaces:1e3,this.alwaysFormat=void 0!==t.alwaysFormat&&t.alwaysFormat,this.resetRegExp()}},{key:"reset",value:function(){this.options&&this.init(this.options)}},{key:"resetRegExp",value:function(){var e="".concat(this.prefix,"(.+?)").concat(this.suffix);this.regexp=new RegExp(e,"g");var t="".concat(this.prefix).concat(this.unescapePrefix,"(.+?)").concat(this.unescapeSuffix).concat(this.suffix);this.regexpUnescape=new RegExp(t,"g");var n="".concat(this.nestingPrefix,"(.+?)").concat(this.nestingSuffix);this.nestingRegexp=new RegExp(n,"g")}},{key:"interpolate",value:function(e,t,n,r){var i,o,a,s=this,u=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{};function c(e){return e.replace(/\$/g,"$$$$")}var l=function(e){if(e.indexOf(s.formatSeparator)<0){var i=x(t,u,e);return s.alwaysFormat?s.format(i,void 0,n):i}var o=e.split(s.formatSeparator),a=o.shift().trim(),c=o.join(s.formatSeparator).trim();return s.format(x(t,u,a),c,n,r)};this.resetRegExp();var f=r&&r.missingInterpolationHandler||this.options.missingInterpolationHandler,d=r&&r.interpolation&&r.interpolation.skipOnVariables||this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:function(e){return c(e)}},{regex:this.regexp,safeValue:function(e){return s.escapeValue?c(s.escape(e)):c(e)}}].forEach((function(t){for(a=0;i=t.regex.exec(e);){if(void 0===(o=l(i[1].trim())))if("function"==typeof f){var n=f(e,i,r);o="string"==typeof n?n:""}else{if(d){o=i[0];continue}s.logger.warn("missed to pass in variable ".concat(i[1]," for interpolating ").concat(e)),o=""}else"string"==typeof o||s.useRawValueToEscape||(o=v(o));if(e=e.replace(i[0],t.safeValue(o)),t.regex.lastIndex=0,++a>=s.maxReplaces)break}})),e}},{key:"nest",value:function(e,t){var n,r,i=this,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},s=o({},a);function u(e,t){var n=this.nestingOptionsSeparator;if(e.indexOf(n)<0)return e;var r=e.split(new RegExp("".concat(n,"[ ]*{"))),i="{".concat(r[1]);e=r[0],i=(i=this.interpolate(i,s)).replace(/'/g,'"');try{s=JSON.parse(i),t&&(s=o({},t,s))}catch(t){return this.logger.warn("failed parsing options string in nesting for key ".concat(e),t),"".concat(e).concat(n).concat(i)}return delete s.defaultValue,e}for(s.applyPostProcessor=!1,delete s.defaultValue;n=this.nestingRegexp.exec(e);){var c=[],l=!1;if(n[0].includes(this.formatSeparator)&&!/{.*}/.test(n[1])){var f=n[1].split(this.formatSeparator).map((function(e){return e.trim()}));n[1]=f.shift(),c=f,l=!0}if((r=t(u.call(this,n[1].trim(),s),s))&&n[0]===e&&"string"!=typeof r)return r;"string"!=typeof r&&(r=v(r)),r||(this.logger.warn("missed to resolve ".concat(n[1]," for nesting ").concat(e)),r=""),l&&(r=c.reduce((function(e,t){return i.format(e,t,a.lng,a)}),r.trim())),e=e.replace(n[0],r),this.regexp.lastIndex=0}return e}}]),e}();var F=function(e){function t(e,n,r){var i,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return(0,a.Z)(this,t),i=c(this,l(t).call(this)),C&&m.call((0,u.Z)(i)),i.backend=e,i.store=n,i.services=r,i.languageUtils=r.languageUtils,i.options=o,i.logger=g.create("backendConnector"),i.state={},i.queue=[],i.backend&&i.backend.init&&i.backend.init(r,o.backend,o),i}return d(t,e),(0,s.Z)(t,[{key:"queueLoad",value:function(e,t,n,r){var i=this,o=[],a=[],s=[],u=[];return e.forEach((function(e){var r=!0;t.forEach((function(t){var s="".concat(e,"|").concat(t);!n.reload&&i.store.hasResourceBundle(e,t)?i.state[s]=2:i.state[s]<0||(1===i.state[s]?a.indexOf(s)<0&&a.push(s):(i.state[s]=1,r=!1,a.indexOf(s)<0&&a.push(s),o.indexOf(s)<0&&o.push(s),u.indexOf(t)<0&&u.push(t)))})),r||s.push(e)})),(o.length||a.length)&&this.queue.push({pending:a,loaded:{},errors:[],callback:r}),{toLoad:o,pending:a,toLoadLanguages:s,toLoadNamespaces:u}}},{key:"loaded",value:function(e,t,n){var r=e.split("|"),i=r[0],o=r[1];t&&this.emit("failedLoading",i,o,t),n&&this.store.addResourceBundle(i,o,n),this.state[e]=t?-1:2;var a={};this.queue.forEach((function(n){var r,s,u,c,l,f;r=n.loaded,s=o,c=_(r,[i],Object),l=c.obj,f=c.k,l[f]=l[f]||[],u&&(l[f]=l[f].concat(s)),u||l[f].push(s),function(e,t){for(var n=e.indexOf(t);-1!==n;)e.splice(n,1),n=e.indexOf(t)}(n.pending,e),t&&n.errors.push(t),0!==n.pending.length||n.done||(Object.keys(n.loaded).forEach((function(e){a[e]||(a[e]=[]),n.loaded[e].length&&n.loaded[e].forEach((function(t){a[e].indexOf(t)<0&&a[e].push(t)}))})),n.done=!0,n.errors.length?n.callback(n.errors):n.callback())})),this.emit("loaded",a),this.queue=this.queue.filter((function(e){return!e.done}))}},{key:"read",value:function(e,t,n){var r=this,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:350,a=arguments.length>5?arguments[5]:void 0;return e.length?this.backend[n](e,t,(function(s,u){s&&u&&i<5?setTimeout((function(){r.read.call(r,e,t,n,i+1,2*o,a)}),o):a(s,u)})):a(null,{})}},{key:"prepareLoading",value:function(e,t){var n=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=arguments.length>3?arguments[3]:void 0;if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),i&&i();"string"==typeof e&&(e=this.languageUtils.toResolveHierarchy(e)),"string"==typeof t&&(t=[t]);var o=this.queueLoad(e,t,r,i);if(!o.toLoad.length)return o.pending.length||i(),null;o.toLoad.forEach((function(e){n.loadOne(e)}))}},{key:"load",value:function(e,t,n){this.prepareLoading(e,t,{},n)}},{key:"reload",value:function(e,t,n){this.prepareLoading(e,t,{reload:!0},n)}},{key:"loadOne",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r=e.split("|"),i=r[0],o=r[1];this.read(i,o,"read",void 0,void 0,(function(r,a){r&&t.logger.warn("".concat(n,"loading namespace ").concat(o," for language ").concat(i," failed"),r),!r&&a&&t.logger.log("".concat(n,"loaded namespace ").concat(o," for language ").concat(i),a),t.loaded(e,r,a)}))}},{key:"saveMissing",value:function(e,t,n,r,i){var a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{};this.services.utils&&this.services.utils.hasLoadedNamespace&&!this.services.utils.hasLoadedNamespace(t)?this.logger.warn('did not save key "'.concat(n,'" as the namespace "').concat(t,'" was not yet loaded'),"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!"):null!=n&&""!==n&&(this.backend&&this.backend.create&&this.backend.create(e,t,n,r,null,o({},a,{isUpdate:i})),e&&e[0]&&this.store.addResource(e[0],t,n,r))}}]),t}(m);function z(){return{debug:!1,initImmediate:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,whitelist:!1,nonExplicitWhitelist:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!0,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:function(e){var t={};if("object"===(0,r.Z)(e[1])&&(t=e[1]),"string"==typeof e[1]&&(t.defaultValue=e[1]),"string"==typeof e[2]&&(t.tDescription=e[2]),"object"===(0,r.Z)(e[2])||"object"===(0,r.Z)(e[3])){var n=e[3]||e[2];Object.keys(n).forEach((function(e){t[e]=n[e]}))}return t},interpolation:{escapeValue:!0,format:function(e,t,n,r){return e},prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!1}}}function H(e){return"string"==typeof e.ns&&(e.ns=[e.ns]),"string"==typeof e.fallbackLng&&(e.fallbackLng=[e.fallbackLng]),"string"==typeof e.fallbackNS&&(e.fallbackNS=[e.fallbackNS]),e.whitelist&&(e.whitelist&&e.whitelist.indexOf("cimode")<0&&(e.whitelist=e.whitelist.concat(["cimode"])),e.supportedLngs=e.whitelist),e.nonExplicitWhitelist&&(e.nonExplicitSupportedLngs=e.nonExplicitWhitelist),e.supportedLngs&&e.supportedLngs.indexOf("cimode")<0&&(e.supportedLngs=e.supportedLngs.concat(["cimode"])),e}function Z(){}var q=function(e){function t(){var e,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1?arguments[1]:void 0;if((0,a.Z)(this,t),e=c(this,l(t).call(this)),C&&m.call((0,u.Z)(e)),e.options=H(n),e.services={},e.logger=g,e.modules={external:[]},r&&!e.isInitialized&&!n.isClone){if(!e.options.initImmediate)return e.init(n,r),c(e,(0,u.Z)(e));setTimeout((function(){e.init(n,r)}),0)}return e}return d(t,e),(0,s.Z)(t,[{key:"init",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;function r(e){return e?"function"==typeof e?new e:e:null}if("function"==typeof t&&(n=t,t={}),t.whitelist&&!t.supportedLngs&&this.logger.deprecate("whitelist",'option "whitelist" will be renamed to "supportedLngs" in the next major - please make sure to rename this option asap.'),t.nonExplicitWhitelist&&!t.nonExplicitSupportedLngs&&this.logger.deprecate("whitelist",'options "nonExplicitWhitelist" will be renamed to "nonExplicitSupportedLngs" in the next major - please make sure to rename this option asap.'),this.options=o({},z(),this.options,H(t)),this.format=this.options.interpolation.format,n||(n=Z),!this.options.isClone){this.modules.logger?g.init(r(this.modules.logger),this.options):g.init(null,this.options);var i=new R(this.options);this.store=new L(this.options.resources,this.options);var a=this.services;a.logger=g,a.resourceStore=this.store,a.languageUtils=i,a.pluralResolver=new B(i,{prepend:this.options.pluralSeparator,compatibilityJSON:this.options.compatibilityJSON,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),a.interpolator=new U(this.options),a.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},a.backendConnector=new F(r(this.modules.backend),a.resourceStore,a,this.options),a.backendConnector.on("*",(function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];e.emit.apply(e,[t].concat(r))})),this.modules.languageDetector&&(a.languageDetector=r(this.modules.languageDetector),a.languageDetector.init(a,this.options.detection,this.options)),this.modules.i18nFormat&&(a.i18nFormat=r(this.modules.i18nFormat),a.i18nFormat.init&&a.i18nFormat.init(this)),this.translator=new P(this.services,this.options),this.translator.on("*",(function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];e.emit.apply(e,[t].concat(r))})),this.modules.external.forEach((function(t){t.init&&t.init(e)}))}if(this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){var s=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);s.length>0&&"dev"!==s[0]&&(this.options.lng=s[0])}this.services.languageDetector||this.options.lng||this.logger.warn("init: no languageDetector is used and no lng is defined");var u=["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"];u.forEach((function(t){e[t]=function(){var n;return(n=e.store)[t].apply(n,arguments)}}));var c=["addResource","addResources","addResourceBundle","removeResourceBundle"];c.forEach((function(t){e[t]=function(){var n;return(n=e.store)[t].apply(n,arguments),e}}));var l=y(),f=function(){var t=function(t,r){e.isInitialized&&e.logger.warn("init: i18next is already initialized. You should call init just once!"),e.isInitialized=!0,e.options.isClone||e.logger.log("initialized",e.options),e.emit("initialized",e.options),l.resolve(r),n(t,r)};if(e.languages&&"v1"!==e.options.compatibilityAPI&&!e.isInitialized)return t(null,e.t.bind(e));e.changeLanguage(e.options.lng,t)};return this.options.resources||!this.options.initImmediate?f():setTimeout(f,0),l}},{key:"loadResources",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Z,r=n,i="string"==typeof e?e:this.language;if("function"==typeof e&&(r=e),!this.options.resources||this.options.partialBundledLanguages){if(i&&"cimode"===i.toLowerCase())return r();var o=[],a=function(e){e&&t.services.languageUtils.toResolveHierarchy(e).forEach((function(e){o.indexOf(e)<0&&o.push(e)}))};if(i)a(i);else{var s=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);s.forEach((function(e){return a(e)}))}this.options.preload&&this.options.preload.forEach((function(e){return a(e)})),this.services.backendConnector.load(o,this.options.ns,r)}else r(null)}},{key:"reloadResources",value:function(e,t,n){var r=y();return e||(e=this.languages),t||(t=this.options.ns),n||(n=Z),this.services.backendConnector.reload(e,t,(function(e){r.resolve(),n(e)})),r}},{key:"use",value:function(e){if(!e)throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!e.type)throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return"backend"===e.type&&(this.modules.backend=e),("logger"===e.type||e.log&&e.warn&&e.error)&&(this.modules.logger=e),"languageDetector"===e.type&&(this.modules.languageDetector=e),"i18nFormat"===e.type&&(this.modules.i18nFormat=e),"postProcessor"===e.type&&A.addPostProcessor(e),"3rdParty"===e.type&&this.modules.external.push(e),this}},{key:"changeLanguage",value:function(e,t){var n=this;this.isLanguageChangingTo=e;var r=y();this.emit("languageChanging",e);var i=function(e){var i="string"==typeof e?e:n.services.languageUtils.getBestMatchFromCodes(e);i&&(n.language||(n.language=i,n.languages=n.services.languageUtils.toResolveHierarchy(i)),n.translator.language||n.translator.changeLanguage(i),n.services.languageDetector&&n.services.languageDetector.cacheUserLanguage(i)),n.loadResources(i,(function(e){!function(e,i){i?(n.language=i,n.languages=n.services.languageUtils.toResolveHierarchy(i),n.translator.changeLanguage(i),n.isLanguageChangingTo=void 0,n.emit("languageChanged",i),n.logger.log("languageChanged",i)):n.isLanguageChangingTo=void 0,r.resolve((function(){return n.t.apply(n,arguments)})),t&&t(e,(function(){return n.t.apply(n,arguments)}))}(e,i)}))};return e||!this.services.languageDetector||this.services.languageDetector.async?!e&&this.services.languageDetector&&this.services.languageDetector.async?this.services.languageDetector.detect(i):i(e):i(this.services.languageDetector.detect()),r}},{key:"getFixedT",value:function(e,t){var n=this,i=function e(t,i){var a;if("object"!==(0,r.Z)(i)){for(var s=arguments.length,u=new Array(s>2?s-2:0),c=2;c<s;c++)u[c-2]=arguments[c];a=n.options.overloadTranslationOptionHandler([t,i].concat(u))}else a=o({},i);return a.lng=a.lng||e.lng,a.lngs=a.lngs||e.lngs,a.ns=a.ns||e.ns,n.t(t,a)};return"string"==typeof e?i.lng=e:i.lngs=e,i.ns=t,i}},{key:"t",value:function(){var e;return this.translator&&(e=this.translator).translate.apply(e,arguments)}},{key:"exists",value:function(){var e;return this.translator&&(e=this.translator).exists.apply(e,arguments)}},{key:"setDefaultNamespace",value:function(e){this.options.defaultNS=e}},{key:"hasLoadedNamespace",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;var r=this.languages[0],i=!!this.options&&this.options.fallbackLng,o=this.languages[this.languages.length-1];if("cimode"===r.toLowerCase())return!0;var a=function(e,n){var r=t.services.backendConnector.state["".concat(e,"|").concat(n)];return-1===r||2===r};if(n.precheck){var s=n.precheck(this,a);if(void 0!==s)return s}return!!this.hasResourceBundle(r,e)||(!this.services.backendConnector.backend||!(!a(r,e)||i&&!a(o,e)))}},{key:"loadNamespaces",value:function(e,t){var n=this,r=y();return this.options.ns?("string"==typeof e&&(e=[e]),e.forEach((function(e){n.options.ns.indexOf(e)<0&&n.options.ns.push(e)})),this.loadResources((function(e){r.resolve(),t&&t(e)})),r):(t&&t(),Promise.resolve())}},{key:"loadLanguages",value:function(e,t){var n=y();"string"==typeof e&&(e=[e]);var r=this.options.preload||[],i=e.filter((function(e){return r.indexOf(e)<0}));return i.length?(this.options.preload=r.concat(i),this.loadResources((function(e){n.resolve(),t&&t(e)})),n):(t&&t(),Promise.resolve())}},{key:"dir",value:function(e){if(e||(e=this.languages&&this.languages.length>0?this.languages[0]:this.language),!e)return"rtl";return["ar","shu","sqr","ssh","xaa","yhd","yud","aao","abh","abv","acm","acq","acw","acx","acy","adf","ads","aeb","aec","afb","ajp","apc","apd","arb","arq","ars","ary","arz","auz","avl","ayh","ayl","ayn","ayp","bbz","pga","he","iw","ps","pbt","pbu","pst","prp","prd","ug","ur","ydd","yds","yih","ji","yi","hbo","men","xmn","fa","jpr","peo","pes","prs","dv","sam"].indexOf(this.services.languageUtils.getLanguagePartFromCode(e))>=0?"rtl":"ltr"}},{key:"createInstance",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;return new t(e,n)}},{key:"cloneInstance",value:function(){var e=this,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Z,i=o({},this.options,n,{isClone:!0}),a=new t(i),s=["store","services","language"];return s.forEach((function(t){a[t]=e[t]})),a.services=o({},this.services),a.services.utils={hasLoadedNamespace:a.hasLoadedNamespace.bind(a)},a.translator=new P(a.services,a.options),a.translator.on("*",(function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];a.emit.apply(a,[e].concat(n))})),a.init(i,r),a.translator.options=a.options,a.translator.backendConnector.services.utils={hasLoadedNamespace:a.hasLoadedNamespace.bind(a)},a}}]),t}(m),V=new q},80645:function(e,t){t.read=function(e,t,n,r,i){var o,a,s=8*i-r-1,u=(1<<s)-1,c=u>>1,l=-7,f=n?i-1:0,d=n?-1:1,p=e[t+f];for(f+=d,o=p&(1<<-l)-1,p>>=-l,l+=s;l>0;o=256*o+e[t+f],f+=d,l-=8);for(a=o&(1<<-l)-1,o>>=-l,l+=r;l>0;a=256*a+e[t+f],f+=d,l-=8);if(0===o)o=1-c;else{if(o===u)return a?NaN:1/0*(p?-1:1);a+=Math.pow(2,r),o-=c}return(p?-1:1)*a*Math.pow(2,o-r)},t.write=function(e,t,n,r,i,o){var a,s,u,c=8*o-i-1,l=(1<<c)-1,f=l>>1,d=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,p=r?0:o-1,h=r?1:-1,g=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,a=l):(a=Math.floor(Math.log(t)/Math.LN2),t*(u=Math.pow(2,-a))<1&&(a--,u*=2),(t+=a+f>=1?d/u:d*Math.pow(2,1-f))*u>=2&&(a++,u/=2),a+f>=l?(s=0,a=l):a+f>=1?(s=(t*u-1)*Math.pow(2,i),a+=f):(s=t*Math.pow(2,f-1)*Math.pow(2,i),a=0));i>=8;e[n+p]=255&s,p+=h,s/=256,i-=8);for(a=a<<i|s,c+=i;c>0;e[n+p]=255&a,p+=h,a/=256,c-=8);e[n+p-h]|=128*g}},35717:function(e){"function"==typeof Object.create?e.exports=function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:e.exports=function(e,t){if(t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}}},31425:function(e){!function(t){var n=0,r=!1,i=function(e){for(var t=e.target;t!==document.body&&t!==document;){var r=window.getComputedStyle(t);if(!r)break;if("INPUT"===t.nodeName&&"range"===t.getAttribute("type"))return;var i=r.getPropertyValue("-webkit-overflow-scrolling"),o=r.getPropertyValue("overflow-y"),a=parseInt(r.getPropertyValue("height"),10),s="touch"===i&&("auto"===o||"scroll"===o),u=t.scrollHeight>t.offsetHeight;if(s&&u){var c=e.touches?e.touches[0].screenY:e.screenY,l=n<=c&&0===t.scrollTop,f=n>=c&&t.scrollHeight-t.scrollTop===a;return void((l||f)&&e.preventDefault())}t=t.parentNode}e.preventDefault()},o=function(e){n=e.touches?e.touches[0].screenY:e.screenY},a=function(){window.addEventListener("touchstart",o,!1),window.addEventListener("touchmove",i,!1),r=!0},s=document.createElement("div");document.documentElement.appendChild(s),s.style.WebkitOverflowScrolling="touch";var u="getComputedStyle"in window&&"touch"===window.getComputedStyle(s)["-webkit-overflow-scrolling"];document.documentElement.removeChild(s),u&&a();var c={enable:a,disable:function(){window.removeEventListener("touchstart",o,!1),window.removeEventListener("touchmove",i,!1),r=!1},isEnabled:function(){return r}};e.exports&&(e.exports=c),"function"==typeof t.define?(0,t.define)("iNoBounce",[],(function(){return c})):t.iNoBounce=c}(this)},43083:function(e){e.exports=function e(t,n,r){function i(a,s){if(!n[a]){if(!t[a]){if(o)return o(a,!0);var u=new Error("Cannot find module '"+a+"'");throw u.code="MODULE_NOT_FOUND",u}var c=n[a]={exports:{}};t[a][0].call(c.exports,(function(e){var n=t[a][1][e];return i(n||e)}),c,c.exports,e,t,n,r)}return n[a].exports}for(var o=void 0,a=0;a<r.length;a++)i(r[a]);return i}({1:[function(e,t,n){"use strict";"undefined"==typeof window?t.exports=function(t){return e("./src/utils/window").init(t),e("./src/index")}:t.exports=e("./src/index")},{"./src/index":19,"./src/utils/window":52}],2:[function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var i=e("./utils/extend.js");function o(e,t){for(var n=0;n<t.length;n++){var r=t[n];if(e.immediatePropagationStopped)break;r(e)}}var a=function(){function e(t){r(this,e),this.options=i({},t||{})}return e.prototype.fire=function(e){var t=void 0,n="on"+e.type,r=this.global;(t=this[e.type])&&o(e,t),this[n]&&this[n](e),!e.propagationStopped&&r&&(t=r[e.type])&&o(e,t)},e.prototype.on=function(e,t){this[e]?this[e].push(t):this[e]=[t]},e.prototype.off=function(e,t){var n=this[e],r=n?n.indexOf(t):-1;-1!==r&&n.splice(r,1),(n&&0===n.length||!t)&&(this[e]=void 0)},e}();t.exports=a},{"./utils/extend.js":41}],3:[function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var i=e("./utils/extend"),o=e("./utils/getOriginXY"),a=e("./defaultOptions"),s=e("./utils/Signals").new(),u=function(){function e(t,n,u,c,l,f){var d=arguments.length>6&&void 0!==arguments[6]&&arguments[6];r(this,e);var p=t.target,h=(p&&p.options||a).deltaSource,g=o(p,l,u),m="start"===c,y="end"===c,v=m?t.startCoords:t.curCoords,b=t.prevEvent;l=l||t.element;var _=i({},v.page),w=i({},v.client);_.x-=g.x,_.y-=g.y,w.x-=g.x,w.y-=g.y,this.ctrlKey=n.ctrlKey,this.altKey=n.altKey,this.shiftKey=n.shiftKey,this.metaKey=n.metaKey,this.button=n.button,this.buttons=n.buttons,this.target=l,this.currentTarget=l,this.relatedTarget=f||null,this.preEnd=d,this.type=u+(c||""),this.interaction=t,this.interactable=p,this.t0=m?t.downTimes[t.downTimes.length-1]:b.t0;var T={interaction:t,event:n,action:u,phase:c,element:l,related:f,page:_,client:w,coords:v,starting:m,ending:y,deltaSource:h,iEvent:this};s.fire("set-xy",T),y?(this.pageX=b.pageX,this.pageY=b.pageY,this.clientX=b.clientX,this.clientY=b.clientY):(this.pageX=_.x,this.pageY=_.y,this.clientX=w.x,this.clientY=w.y),this.x0=t.startCoords.page.x-g.x,this.y0=t.startCoords.page.y-g.y,this.clientX0=t.startCoords.client.x-g.x,this.clientY0=t.startCoords.client.y-g.y,s.fire("set-delta",T),this.timeStamp=v.timeStamp,this.dt=t.pointerDelta.timeStamp,this.duration=this.timeStamp-this.t0,this.speed=t.pointerDelta[h].speed,this.velocityX=t.pointerDelta[h].vx,this.velocityY=t.pointerDelta[h].vy,this.swipe=y||"inertiastart"===c?this.getSwipe():null,s.fire("new",T)}return e.prototype.getSwipe=function(){var e=this.interaction;if(e.prevEvent.speed<600||this.timeStamp-e.prevEvent.timeStamp>150)return null;var t=180*Math.atan2(e.prevEvent.velocityY,e.prevEvent.velocityX)/Math.PI,n=22.5;t<0&&(t+=360);var r=135-n<=t&&t<225+n,i=225-n<=t&&t<315+n;return{up:i,down:!i&&45-n<=t&&t<135+n,left:r,right:!r&&(315-n<=t||t<45+n),angle:t,speed:e.prevEvent.speed,velocity:{x:e.prevEvent.velocityX,y:e.prevEvent.velocityY}}},e.prototype.preventDefault=function(){},e.prototype.stopImmediatePropagation=function(){this.immediatePropagationStopped=this.propagationStopped=!0},e.prototype.stopPropagation=function(){this.propagationStopped=!0},e}();s.on("set-delta",(function(e){var t=e.iEvent,n=e.interaction,r=e.starting,i=e.deltaSource,o=r?t:n.prevEvent;"client"===i?(t.dx=t.clientX-o.clientX,t.dy=t.clientY-o.clientY):(t.dx=t.pageX-o.pageX,t.dy=t.pageY-o.pageY)})),u.signals=s,t.exports=u},{"./defaultOptions":18,"./utils/Signals":34,"./utils/extend":41,"./utils/getOriginXY":42}],4:[function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var i=e("./utils/clone"),o=e("./utils/is"),a=e("./utils/events"),s=e("./utils/extend"),u=e("./actions/base"),c=e("./scope"),l=e("./Eventable"),f=e("./defaultOptions"),d=e("./utils/Signals").new(),p=e("./utils/domUtils"),h=p.getElementRect,g=p.nodeContains,m=p.trySelector,y=p.matchesSelector,v=e("./utils/window").getWindow,b=e("./utils/arr").contains,_=e("./utils/browser").wheelEvent;c.interactables=[];var w=function(){function e(t,n){r(this,e),n=n||{},this.target=t,this.events=new l,this._context=n.context||c.document,this._win=v(m(t)?this._context:t),this._doc=this._win.document,d.fire("new",{target:t,options:n,interactable:this,win:this._win}),c.addDocument(this._doc,this._win),c.interactables.push(this),this.set(n)}return e.prototype.setOnEvents=function(e,t){var n="on"+e;return o.function(t.onstart)&&(this.events[n+"start"]=t.onstart),o.function(t.onmove)&&(this.events[n+"move"]=t.onmove),o.function(t.onend)&&(this.events[n+"end"]=t.onend),o.function(t.oninertiastart)&&(this.events[n+"inertiastart"]=t.oninertiastart),this},e.prototype.setPerAction=function(e,t){for(var n in t)n in f[e]&&(o.object(t[n])?(this.options[e][n]=i(this.options[e][n]||{}),s(this.options[e][n],t[n]),o.object(f.perAction[n])&&"enabled"in f.perAction[n]&&(this.options[e][n].enabled=!1!==t[n].enabled)):o.bool(t[n])&&o.object(f.perAction[n])?this.options[e][n].enabled=t[n]:void 0!==t[n]&&(this.options[e][n]=t[n]))},e.prototype.getRect=function(e){return e=e||this.target,o.string(this.target)&&!o.element(e)&&(e=this._context.querySelector(this.target)),h(e)},e.prototype.rectChecker=function(e){return o.function(e)?(this.getRect=e,this):null===e?(delete this.options.getRect,this):this.getRect},e.prototype._backCompatOption=function(e,t){if(m(t)||o.object(t)){this.options[e]=t;for(var n=0;n<u.names.length;n++){var r=u.names[n];this.options[r][e]=t}return this}return this.options[e]},e.prototype.origin=function(e){return this._backCompatOption("origin",e)},e.prototype.deltaSource=function(e){return"page"===e||"client"===e?(this.options.deltaSource=e,this):this.options.deltaSource},e.prototype.context=function(){return this._context},e.prototype.inContext=function(e){return this._context===e.ownerDocument||g(this._context,e)},e.prototype.fire=function(e){return this.events.fire(e),this},e.prototype._onOffMultiple=function(e,t,n,r){if(o.string(t)&&-1!==t.search(" ")&&(t=t.trim().split(/ +/)),o.array(t)){for(var i=0;i<t.length;i++){var a=t[i];this[e](a,n,r)}return!0}if(o.object(t)){for(var s in t)this[e](s,t[s],n);return!0}},e.prototype.on=function(t,n,r){return this._onOffMultiple("on",t,n,r)||("wheel"===t&&(t=_),b(e.eventTypes,t)?this.events.on(t,n):o.string(this.target)?a.addDelegate(this.target,this._context,t,n,r):a.add(this.target,t,n,r)),this},e.prototype.off=function(t,n,r){return this._onOffMultiple("off",t,n,r)||("wheel"===t&&(t=_),b(e.eventTypes,t)?this.events.off(t,n):o.string(this.target)?a.removeDelegate(this.target,this._context,t,n,r):a.remove(this.target,t,n,r)),this},e.prototype.set=function(t){o.object(t)||(t={}),this.options=i(f.base);var n=i(f.perAction);for(var r in u.methodDict){var a=u.methodDict[r];this.options[r]=i(f[r]),this.setPerAction(r,n),this[a](t[r])}for(var s=0;s<e.settingsMethods.length;s++){var c=e.settingsMethods[s];this.options[c]=f.base[c],c in t&&this[c](t[c])}return d.fire("set",{options:t,interactable:this}),this},e.prototype.unset=function(){if(a.remove(this.target,"all"),o.string(this.target))for(var e in a.delegatedEvents){var t=a.delegatedEvents[e];t.selectors[0]===this.target&&t.contexts[0]===this._context&&(t.selectors.splice(0,1),t.contexts.splice(0,1),t.listeners.splice(0,1),t.selectors.length||(t[e]=null)),a.remove(this._context,e,a.delegateListener),a.remove(this._context,e,a.delegateUseCapture,!0)}else a.remove(this,"all");d.fire("unset",{interactable:this}),c.interactables.splice(c.interactables.indexOf(this),1);for(var n=0;n<(c.interactions||[]).length;n++){var r=(c.interactions||[])[n];r.target===this&&r.interacting()&&!r._ending&&r.stop()}return c.interact},e}();c.interactables.indexOfElement=function(e,t){t=t||c.document;for(var n=0;n<this.length;n++){var r=this[n];if(r.target===e&&r._context===t)return n}return-1},c.interactables.get=function(e,t,n){var r=this[this.indexOfElement(e,t&&t.context)];return r&&(o.string(e)||n||r.inContext(e))?r:null},c.interactables.forEachMatch=function(e,t){for(var n=0;n<this.length;n++){var r=this[n],i=void 0;if((o.string(r.target)?o.element(e)&&y(e,r.target):e===r.target)&&r.inContext(e)&&(i=t(r)),void 0!==i)return i}},w.eventTypes=c.eventTypes=[],w.signals=d,w.settingsMethods=["deltaSource","origin","preventDefault","rectChecker"],t.exports=w},{"./Eventable":2,"./actions/base":6,"./defaultOptions":18,"./scope":33,"./utils/Signals":34,"./utils/arr":35,"./utils/browser":36,"./utils/clone":37,"./utils/domUtils":39,"./utils/events":40,"./utils/extend":41,"./utils/is":46,"./utils/window":52}],5:[function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var i=e("./scope"),o=e("./utils"),a=e("./utils/events"),s=e("./utils/browser"),u=e("./utils/domObjects"),c=e("./utils/interactionFinder"),l=e("./utils/Signals").new(),f={},d=["pointerDown","pointerMove","pointerUp","updatePointer","removePointer"],p=0;i.interactions=[];for(var h=function(){function e(t){var n=t.pointerType;r(this,e),this.target=null,this.element=null,this.prepared={name:null,axis:null,edges:null},this.pointers=[],this.pointerIds=[],this.downTargets=[],this.downTimes=[],this.prevCoords={page:{x:0,y:0},client:{x:0,y:0},timeStamp:0},this.curCoords={page:{x:0,y:0},client:{x:0,y:0},timeStamp:0},this.startCoords={page:{x:0,y:0},client:{x:0,y:0},timeStamp:0},this.pointerDelta={page:{x:0,y:0,vx:0,vy:0,speed:0},client:{x:0,y:0,vx:0,vy:0,speed:0},timeStamp:0},this.downEvent=null,this.downPointer={},this._eventTarget=null,this._curEventTarget=null,this.prevEvent=null,this.pointerIsDown=!1,this.pointerWasMoved=!1,this._interacting=!1,this._ending=!1,this.pointerType=n,l.fire("new",this),i.interactions.push(this)}return e.prototype.pointerDown=function(e,t,n){var r=this.updatePointer(e,t,!0);l.fire("down",{pointer:e,event:t,eventTarget:n,pointerIndex:r,interaction:this})},e.prototype.start=function(e,t,n){this.interacting()||!this.pointerIsDown||this.pointerIds.length<("gesture"===e.name?2:1)||(-1===i.interactions.indexOf(this)&&i.interactions.push(this),o.copyAction(this.prepared,e),this.target=t,this.element=n,l.fire("action-start",{interaction:this,event:this.downEvent}))},e.prototype.pointerMove=function(t,n,r){this.simulation||(this.updatePointer(t),o.setCoords(this.curCoords,this.pointers));var i=this.curCoords.page.x===this.prevCoords.page.x&&this.curCoords.page.y===this.prevCoords.page.y&&this.curCoords.client.x===this.prevCoords.client.x&&this.curCoords.client.y===this.prevCoords.client.y,a=void 0,s=void 0;this.pointerIsDown&&!this.pointerWasMoved&&(a=this.curCoords.client.x-this.startCoords.client.x,s=this.curCoords.client.y-this.startCoords.client.y,this.pointerWasMoved=o.hypot(a,s)>e.pointerMoveTolerance);var u={pointer:t,pointerIndex:this.getPointerIndex(t),event:n,eventTarget:r,dx:a,dy:s,duplicate:i,interaction:this,interactingBeforeMove:this.interacting()};i||o.setCoordDeltas(this.pointerDelta,this.prevCoords,this.curCoords),l.fire("move",u),i||(this.interacting()&&this.doMove(u),this.pointerWasMoved&&o.copyCoords(this.prevCoords,this.curCoords))},e.prototype.doMove=function(e){e=o.extend({pointer:this.pointers[0],event:this.prevEvent,eventTarget:this._eventTarget,interaction:this},e||{}),l.fire("before-action-move",e),this._dontFireMove||l.fire("action-move",e),this._dontFireMove=!1},e.prototype.pointerUp=function(e,t,n,r){var i=this.getPointerIndex(e);l.fire(/cancel$/i.test(t.type)?"cancel":"up",{pointer:e,pointerIndex:i,event:t,eventTarget:n,curEventTarget:r,interaction:this}),this.simulation||this.end(t),this.pointerIsDown=!1,this.removePointer(e,t)},e.prototype.end=function(e){this._ending=!0,e=e||this.prevEvent,this.interacting()&&l.fire("action-end",{event:e,interaction:this}),this.stop(),this._ending=!1},e.prototype.currentAction=function(){return this._interacting?this.prepared.name:null},e.prototype.interacting=function(){return this._interacting},e.prototype.stop=function(){l.fire("stop",{interaction:this}),this._interacting&&(l.fire("stop-active",{interaction:this}),l.fire("stop-"+this.prepared.name,{interaction:this})),this.target=this.element=null,this._interacting=!1,this.prepared.name=this.prevEvent=null},e.prototype.getPointerIndex=function(e){return"mouse"===this.pointerType||"pen"===this.pointerType?0:this.pointerIds.indexOf(o.getPointerId(e))},e.prototype.updatePointer=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:t&&/(down|start)$/i.test(t.type),r=o.getPointerId(e),i=this.getPointerIndex(e);return-1===i&&(i=this.pointerIds.length,this.pointerIds[i]=r),n&&l.fire("update-pointer-down",{pointer:e,event:t,down:n,pointerId:r,pointerIndex:i,interaction:this}),this.pointers[i]=e,i},e.prototype.removePointer=function(e,t){var n=this.getPointerIndex(e);-1!==n&&(l.fire("remove-pointer",{pointer:e,event:t,pointerIndex:n,interaction:this}),this.pointers.splice(n,1),this.pointerIds.splice(n,1),this.downTargets.splice(n,1),this.downTimes.splice(n,1))},e.prototype._updateEventTargets=function(e,t){this._eventTarget=e,this._curEventTarget=t},e}(),g=0;g<d.length;g++){var m=d[g];f[m]=y(m)}function y(e){return function(t){var n=o.getPointerType(t),r=o.getEventTargets(t),a=r[0],u=r[1],l=[];if(s.supportsTouch&&/touch/.test(t.type)){p=(new Date).getTime();for(var f=0;f<t.changedTouches.length;f++){var d=t.changedTouches[f],g=c.search(d,t.type,a);l.push([d,g||new h({pointerType:n})])}}else{var m=!1;if(!s.supportsPointerEvent&&/mouse/.test(t.type)){for(var y=0;y<i.interactions.length&&!m;y++)m="mouse"!==i.interactions[y].pointerType&&i.interactions[y].pointerIsDown;m=m||(new Date).getTime()-p<500||0===t.timeStamp}if(!m){var v=c.search(t,t.type,a);v||(v=new h({pointerType:n})),l.push([t,v])}}for(var b=0;b<l.length;b++){var _=l[b],w=_[0],T=_[1];T._updateEventTargets(a,u),T[e](w,t,a,u)}}}function v(e){for(var t=0;t<i.interactions.length;t++){var n=i.interactions[t];n.end(e),l.fire("endall",{event:e,interaction:n})}}var b={},_=s.pEventTypes;function w(e,t){var n=e.doc,r=0===t.indexOf("add")?a.add:a.remove;for(var o in i.delegatedEvents)r(n,o,a.delegateListener),r(n,o,a.delegateUseCapture,!0);for(var u in b)r(n,u,b[u],s.isIOS?{passive:!1}:void 0)}u.PointerEvent?(b[_.down]=f.pointerDown,b[_.move]=f.pointerMove,b[_.up]=f.pointerUp,b[_.cancel]=f.pointerUp):(b.mousedown=f.pointerDown,b.mousemove=f.pointerMove,b.mouseup=f.pointerUp,b.touchstart=f.pointerDown,b.touchmove=f.pointerMove,b.touchend=f.pointerUp,b.touchcancel=f.pointerUp),b.blur=v,l.on("update-pointer-down",(function(e){var t=e.interaction,n=e.pointer,r=e.pointerId,i=e.pointerIndex,a=e.event,s=e.eventTarget,u=e.down;t.pointerIds[i]=r,t.pointers[i]=n,u&&(t.pointerIsDown=!0),t.interacting()||(o.setCoords(t.startCoords,t.pointers),o.copyCoords(t.curCoords,t.startCoords),o.copyCoords(t.prevCoords,t.startCoords),t.downEvent=a,t.downTimes[i]=t.curCoords.timeStamp,t.downTargets[i]=s||a&&o.getEventTargets(a)[0],t.pointerWasMoved=!1,o.pointerExtend(t.downPointer,n))})),i.signals.on("add-document",w),i.signals.on("remove-document",w),h.pointerMoveTolerance=1,h.doOnInteractions=y,h.endAll=v,h.signals=l,h.docEvents=b,i.endAllInteractions=v,t.exports=h},{"./scope":33,"./utils":44,"./utils/Signals":34,"./utils/browser":36,"./utils/domObjects":38,"./utils/events":40,"./utils/interactionFinder":45}],6:[function(e,t,n){"use strict";var r=e("../Interaction"),i=e("../InteractEvent"),o={firePrepared:a,names:[],methodDict:{}};function a(e,t,n,r){var o=e.prepared.name,a=new i(e,t,o,n,e.element,null,r);e.target.fire(a),e.prevEvent=a}r.signals.on("action-start",(function(e){var t=e.interaction,n=e.event;t._interacting=!0,a(t,n,"start")})),r.signals.on("action-move",(function(e){var t=e.interaction;if(a(t,e.event,"move",e.preEnd),!t.interacting())return!1})),r.signals.on("action-end",(function(e){a(e.interaction,e.event,"end")})),t.exports=o},{"../InteractEvent":3,"../Interaction":5}],7:[function(e,t,n){"use strict";var r=e("./base"),i=e("../utils"),o=e("../InteractEvent"),a=e("../Interactable"),s=e("../Interaction"),u=e("../defaultOptions"),c={defaults:{enabled:!1,mouseButtons:null,origin:null,snap:null,restrict:null,inertia:null,autoScroll:null,startAxis:"xy",lockAxis:"xy"},checker:function(e,t,n){var r=n.options.drag;return r.enabled?{name:"drag",axis:"start"===r.lockAxis?r.startAxis:r.lockAxis}:null},getCursor:function(){return"move"}};s.signals.on("before-action-move",(function(e){var t=e.interaction;if("drag"===t.prepared.name){var n=t.prepared.axis;"x"===n?(t.curCoords.page.y=t.startCoords.page.y,t.curCoords.client.y=t.startCoords.client.y,t.pointerDelta.page.speed=Math.abs(t.pointerDelta.page.vx),t.pointerDelta.client.speed=Math.abs(t.pointerDelta.client.vx),t.pointerDelta.client.vy=0,t.pointerDelta.page.vy=0):"y"===n&&(t.curCoords.page.x=t.startCoords.page.x,t.curCoords.client.x=t.startCoords.client.x,t.pointerDelta.page.speed=Math.abs(t.pointerDelta.page.vy),t.pointerDelta.client.speed=Math.abs(t.pointerDelta.client.vy),t.pointerDelta.client.vx=0,t.pointerDelta.page.vx=0)}})),o.signals.on("new",(function(e){var t=e.iEvent,n=e.interaction;if("dragmove"===t.type){var r=n.prepared.axis;"x"===r?(t.pageY=n.startCoords.page.y,t.clientY=n.startCoords.client.y,t.dy=0):"y"===r&&(t.pageX=n.startCoords.page.x,t.clientX=n.startCoords.client.x,t.dx=0)}})),a.prototype.draggable=function(e){return i.is.object(e)?(this.options.drag.enabled=!1!==e.enabled,this.setPerAction("drag",e),this.setOnEvents("drag",e),/^(xy|x|y|start)$/.test(e.lockAxis)&&(this.options.drag.lockAxis=e.lockAxis),/^(xy|x|y)$/.test(e.startAxis)&&(this.options.drag.startAxis=e.startAxis),this):i.is.bool(e)?(this.options.drag.enabled=e,e||(this.ondragstart=this.ondragstart=this.ondragend=null),this):this.options.drag},r.drag=c,r.names.push("drag"),i.merge(a.eventTypes,["dragstart","dragmove","draginertiastart","draginertiaresume","dragend"]),r.methodDict.drag="draggable",u.drag=c.defaults,t.exports=c},{"../InteractEvent":3,"../Interactable":4,"../Interaction":5,"../defaultOptions":18,"../utils":44,"./base":6}],8:[function(e,t,n){"use strict";var r=e("./base"),i=e("../utils"),o=e("../scope"),a=e("../interact"),s=e("../InteractEvent"),u=e("../Interactable"),c=e("../Interaction"),l=e("../defaultOptions"),f={defaults:{enabled:!1,accept:null,overlap:"pointer"}},d=!1;function p(e,t){for(var n=[],r=[],a=0;a<o.interactables.length;a++){var s=o.interactables[a];if(s.options.drop.enabled){var u=s.options.drop.accept;if(!(i.is.element(u)&&u!==t||i.is.string(u)&&!i.matchesSelector(t,u)))for(var c=i.is.string(s.target)?s._context.querySelectorAll(s.target):[s.target],l=0;l<c.length;l++){var f=c[l];f!==t&&(n.push(s),r.push(f))}}}return{elements:r,dropzones:n}}function h(e,t){for(var n=void 0,r=0;r<e.dropzones.length;r++){var i=e.dropzones[r],o=e.elements[r];o!==n&&(t.target=o,i.fire(t)),n=o}}function g(e,t){var n=p(e,t);e.dropzones=n.dropzones,e.elements=n.elements,e.rects=[];for(var r=0;r<e.dropzones.length;r++)e.rects[r]=e.dropzones[r].getRect(e.elements[r])}function m(e,t,n){var r=e.interaction,o=[];d&&g(r.activeDrops,n);for(var a=0;a<r.activeDrops.dropzones.length;a++){var s=r.activeDrops.dropzones[a],u=r.activeDrops.elements[a],c=r.activeDrops.rects[a];o.push(s.dropCheck(e,t,r.target,n,u,c)?u:null)}var l=i.indexOfDeepestElement(o);return{dropzone:r.activeDrops.dropzones[l]||null,element:r.activeDrops.elements[l]||null}}function y(e,t,n){var r={enter:null,leave:null,activate:null,deactivate:null,move:null,drop:null},o={dragEvent:n,interaction:e,target:e.dropElement,dropzone:e.dropTarget,relatedTarget:n.target,draggable:n.interactable,timeStamp:n.timeStamp};return e.dropElement!==e.prevDropElement&&(e.prevDropTarget&&(r.leave=i.extend({type:"dragleave"},o),n.dragLeave=r.leave.target=e.prevDropElement,n.prevDropzone=r.leave.dropzone=e.prevDropTarget),e.dropTarget&&(r.enter={dragEvent:n,interaction:e,target:e.dropElement,dropzone:e.dropTarget,relatedTarget:n.target,draggable:n.interactable,timeStamp:n.timeStamp,type:"dragenter"},n.dragEnter=e.dropElement,n.dropzone=e.dropTarget)),"dragend"===n.type&&e.dropTarget&&(r.drop=i.extend({type:"drop"},o),n.dropzone=e.dropTarget,n.relatedTarget=e.dropElement),"dragstart"===n.type&&(r.activate=i.extend({type:"dropactivate"},o),r.activate.target=null,r.activate.dropzone=null),"dragend"===n.type&&(r.deactivate=i.extend({type:"dropdeactivate"},o),r.deactivate.target=null,r.deactivate.dropzone=null),"dragmove"===n.type&&e.dropTarget&&(r.move=i.extend({dragmove:n,type:"dropmove"},o),n.dropzone=e.dropTarget),r}function v(e,t){var n=e.activeDrops,r=e.prevDropTarget,i=e.dropTarget,o=e.dropElement;t.leave&&r.fire(t.leave),t.move&&i.fire(t.move),t.enter&&i.fire(t.enter),t.drop&&i.fire(t.drop),t.deactivate&&h(n,t.deactivate),e.prevDropTarget=i,e.prevDropElement=o}c.signals.on("action-start",(function(e){var t=e.interaction,n=e.event;if("drag"===t.prepared.name){t.activeDrops.dropzones=[],t.activeDrops.elements=[],t.activeDrops.rects=[],t.dropEvents=null,t.dynamicDrop||g(t.activeDrops,t.element);var r=y(t,n,t.prevEvent);r.activate&&h(t.activeDrops,r.activate)}})),s.signals.on("new",(function(e){var t=e.interaction,n=e.iEvent,r=e.event;if("dragmove"===n.type||"dragend"===n.type){var i=n,o=m(i,r,t.element);t.dropTarget=o.dropzone,t.dropElement=o.element,t.dropEvents=y(t,r,i)}})),c.signals.on("action-move",(function(e){var t=e.interaction;"drag"===t.prepared.name&&v(t,t.dropEvents)})),c.signals.on("action-end",(function(e){var t=e.interaction;"drag"===t.prepared.name&&v(t,t.dropEvents)})),c.signals.on("stop-drag",(function(e){var t=e.interaction;t.activeDrops={dropzones:null,elements:null,rects:null},t.dropEvents=null})),u.prototype.dropzone=function(e){return i.is.object(e)?(this.options.drop.enabled=!1!==e.enabled,i.is.function(e.ondrop)&&(this.events.ondrop=e.ondrop),i.is.function(e.ondropactivate)&&(this.events.ondropactivate=e.ondropactivate),i.is.function(e.ondropdeactivate)&&(this.events.ondropdeactivate=e.ondropdeactivate),i.is.function(e.ondragenter)&&(this.events.ondragenter=e.ondragenter),i.is.function(e.ondragleave)&&(this.events.ondragleave=e.ondragleave),i.is.function(e.ondropmove)&&(this.events.ondropmove=e.ondropmove),/^(pointer|center)$/.test(e.overlap)?this.options.drop.overlap=e.overlap:i.is.number(e.overlap)&&(this.options.drop.overlap=Math.max(Math.min(1,e.overlap),0)),"accept"in e&&(this.options.drop.accept=e.accept),"checker"in e&&(this.options.drop.checker=e.checker),this):i.is.bool(e)?(this.options.drop.enabled=e,e||(this.ondragenter=this.ondragleave=this.ondrop=this.ondropactivate=this.ondropdeactivate=null),this):this.options.drop},u.prototype.dropCheck=function(e,t,n,r,o,a){var s=!1;if(!(a=a||this.getRect(o)))return!!this.options.drop.checker&&this.options.drop.checker(e,t,s,this,o,n,r);var u=this.options.drop.overlap;if("pointer"===u){var c=i.getOriginXY(n,r,"drag"),l=i.getPageXY(e);l.x+=c.x,l.y+=c.y;var f=l.x>a.left&&l.x<a.right,d=l.y>a.top&&l.y<a.bottom;s=f&&d}var p=n.getRect(r);if(p&&"center"===u){var h=p.left+p.width/2,g=p.top+p.height/2;s=h>=a.left&&h<=a.right&&g>=a.top&&g<=a.bottom}return p&&i.is.number(u)&&(s=Math.max(0,Math.min(a.right,p.right)-Math.max(a.left,p.left))*Math.max(0,Math.min(a.bottom,p.bottom)-Math.max(a.top,p.top))/(p.width*p.height)>=u),this.options.drop.checker&&(s=this.options.drop.checker(e,t,s,this,o,n,r)),s},u.signals.on("unset",(function(e){e.interactable.dropzone(!1)})),u.settingsMethods.push("dropChecker"),c.signals.on("new",(function(e){e.dropTarget=null,e.dropElement=null,e.prevDropTarget=null,e.prevDropElement=null,e.dropEvents=null,e.activeDrops={dropzones:[],elements:[],rects:[]}})),c.signals.on("stop",(function(e){var t=e.interaction;t.dropTarget=t.dropElement=t.prevDropTarget=t.prevDropElement=null})),a.dynamicDrop=function(e){return i.is.bool(e)?(d=e,a):d},i.merge(u.eventTypes,["dragenter","dragleave","dropactivate","dropdeactivate","dropmove","drop"]),r.methodDict.drop="dropzone",l.drop=f.defaults,t.exports=f},{"../InteractEvent":3,"../Interactable":4,"../Interaction":5,"../defaultOptions":18,"../interact":21,"../scope":33,"../utils":44,"./base":6}],9:[function(e,t,n){"use strict";var r=e("./base"),i=e("../utils"),o=e("../InteractEvent"),a=e("../Interactable"),s=e("../Interaction"),u=e("../defaultOptions"),c={defaults:{enabled:!1,origin:null,restrict:null},checker:function(e,t,n,r,i){return i.pointerIds.length>=2?{name:"gesture"}:null},getCursor:function(){return""}};o.signals.on("new",(function(e){var t=e.iEvent,n=e.interaction;"gesturestart"===t.type&&(t.ds=0,n.gesture.startDistance=n.gesture.prevDistance=t.distance,n.gesture.startAngle=n.gesture.prevAngle=t.angle,n.gesture.scale=1)})),o.signals.on("new",(function(e){var t=e.iEvent,n=e.interaction;"gesturemove"===t.type&&(t.ds=t.scale-n.gesture.scale,n.target.fire(t),n.gesture.prevAngle=t.angle,n.gesture.prevDistance=t.distance,t.scale===1/0||null===t.scale||void 0===t.scale||isNaN(t.scale)||(n.gesture.scale=t.scale))})),a.prototype.gesturable=function(e){return i.is.object(e)?(this.options.gesture.enabled=!1!==e.enabled,this.setPerAction("gesture",e),this.setOnEvents("gesture",e),this):i.is.bool(e)?(this.options.gesture.enabled=e,e||(this.ongesturestart=this.ongesturestart=this.ongestureend=null),this):this.options.gesture},o.signals.on("set-delta",(function(e){var t=e.interaction,n=e.iEvent,r=e.action,a=e.event,s=e.starting,u=e.ending,c=e.deltaSource;if("gesture"===r){var l=t.pointers;n.touches=[l[0],l[1]],s?(n.distance=i.touchDistance(l,c),n.box=i.touchBBox(l),n.scale=1,n.ds=0,n.angle=i.touchAngle(l,void 0,c),n.da=0):u||a instanceof o?(n.distance=t.prevEvent.distance,n.box=t.prevEvent.box,n.scale=t.prevEvent.scale,n.ds=n.scale-1,n.angle=t.prevEvent.angle,n.da=n.angle-t.gesture.startAngle):(n.distance=i.touchDistance(l,c),n.box=i.touchBBox(l),n.scale=n.distance/t.gesture.startDistance,n.angle=i.touchAngle(l,t.gesture.prevAngle,c),n.ds=n.scale-t.gesture.prevScale,n.da=n.angle-t.gesture.prevAngle)}})),s.signals.on("new",(function(e){e.gesture={start:{x:0,y:0},startDistance:0,prevDistance:0,distance:0,scale:1,startAngle:0,prevAngle:0}})),r.gesture=c,r.names.push("gesture"),i.merge(a.eventTypes,["gesturestart","gesturemove","gestureend"]),r.methodDict.gesture="gesturable",u.gesture=c.defaults,t.exports=c},{"../InteractEvent":3,"../Interactable":4,"../Interaction":5,"../defaultOptions":18,"../utils":44,"./base":6}],10:[function(e,t,n){"use strict";var r=e("./base"),i=e("../utils"),o=e("../utils/browser"),a=e("../InteractEvent"),s=e("../Interactable"),u=e("../Interaction"),c=e("../defaultOptions"),l=o.supportsTouch||o.supportsPointerEvent?20:10,f={defaults:{enabled:!1,mouseButtons:null,origin:null,snap:null,restrict:null,inertia:null,autoScroll:null,square:!1,preserveAspectRatio:!1,axis:"xy",margin:NaN,edges:null,invert:"none"},checker:function(e,t,n,r,o,a){if(!a)return null;var s=i.extend({},o.curCoords.page),u=n.options;if(u.resize.enabled){var c=u.resize,f={left:!1,right:!1,top:!1,bottom:!1};if(i.is.object(c.edges)){for(var p in f)f[p]=d(p,c.edges[p],s,o._eventTarget,r,a,c.margin||l);if(f.left=f.left&&!f.right,f.top=f.top&&!f.bottom,f.left||f.right||f.top||f.bottom)return{name:"resize",edges:f}}else{var h="y"!==u.resize.axis&&s.x>a.right-l,g="x"!==u.resize.axis&&s.y>a.bottom-l;if(h||g)return{name:"resize",axes:(h?"x":"")+(g?"y":"")}}}return null},cursors:o.isIe9?{x:"e-resize",y:"s-resize",xy:"se-resize",top:"n-resize",left:"w-resize",bottom:"s-resize",right:"e-resize",topleft:"se-resize",bottomright:"se-resize",topright:"ne-resize",bottomleft:"ne-resize"}:{x:"ew-resize",y:"ns-resize",xy:"nwse-resize",top:"ns-resize",left:"ew-resize",bottom:"ns-resize",right:"ew-resize",topleft:"nwse-resize",bottomright:"nwse-resize",topright:"nesw-resize",bottomleft:"nesw-resize"},getCursor:function(e){if(e.axis)return f.cursors[e.name+e.axis];if(e.edges){for(var t="",n=["top","bottom","left","right"],r=0;r<4;r++)e.edges[n[r]]&&(t+=n[r]);return f.cursors[t]}}};function d(e,t,n,r,o,a,s){if(!t)return!1;if(!0===t){var u=i.is.number(a.width)?a.width:a.right-a.left,c=i.is.number(a.height)?a.height:a.bottom-a.top;if(u<0&&("left"===e?e="right":"right"===e&&(e="left")),c<0&&("top"===e?e="bottom":"bottom"===e&&(e="top")),"left"===e)return n.x<(u>=0?a.left:a.right)+s;if("top"===e)return n.y<(c>=0?a.top:a.bottom)+s;if("right"===e)return n.x>(u>=0?a.right:a.left)-s;if("bottom"===e)return n.y>(c>=0?a.bottom:a.top)-s}return!!i.is.element(r)&&(i.is.element(t)?t===r:i.matchesUpTo(r,t,o))}a.signals.on("new",(function(e){var t=e.iEvent,n=e.interaction;if("resizestart"===t.type&&n.prepared.edges){var r=n.target.getRect(n.element),o=n.target.options.resize;if(o.square||o.preserveAspectRatio){var a=i.extend({},n.prepared.edges);a.top=a.top||a.left&&!a.bottom,a.left=a.left||a.top&&!a.right,a.bottom=a.bottom||a.right&&!a.top,a.right=a.right||a.bottom&&!a.left,n.prepared._linkedEdges=a}else n.prepared._linkedEdges=null;o.preserveAspectRatio&&(n.resizeStartAspectRatio=r.width/r.height),n.resizeRects={start:r,current:i.extend({},r),inverted:i.extend({},r),previous:i.extend({},r),delta:{left:0,right:0,width:0,top:0,bottom:0,height:0}},t.rect=n.resizeRects.inverted,t.deltaRect=n.resizeRects.delta}})),a.signals.on("new",(function(e){var t=e.iEvent,n=e.phase,r=e.interaction;if("move"===n&&r.prepared.edges){var o=r.target.options.resize,a=o.invert,s="reposition"===a||"negate"===a,u=r.prepared.edges,c=r.resizeRects.start,l=r.resizeRects.current,f=r.resizeRects.inverted,d=r.resizeRects.delta,p=i.extend(r.resizeRects.previous,f),h=u,g=t.dx,m=t.dy;if(o.preserveAspectRatio||o.square){var y=o.preserveAspectRatio?r.resizeStartAspectRatio:1;u=r.prepared._linkedEdges,h.left&&h.bottom||h.right&&h.top?m=-g/y:h.left||h.right?m=g/y:(h.top||h.bottom)&&(g=m*y)}if(u.top&&(l.top+=m),u.bottom&&(l.bottom+=m),u.left&&(l.left+=g),u.right&&(l.right+=g),s){if(i.extend(f,l),"reposition"===a){var v=void 0;f.top>f.bottom&&(v=f.top,f.top=f.bottom,f.bottom=v),f.left>f.right&&(v=f.left,f.left=f.right,f.right=v)}}else f.top=Math.min(l.top,c.bottom),f.bottom=Math.max(l.bottom,c.top),f.left=Math.min(l.left,c.right),f.right=Math.max(l.right,c.left);for(var b in f.width=f.right-f.left,f.height=f.bottom-f.top,f)d[b]=f[b]-p[b];t.edges=r.prepared.edges,t.rect=f,t.deltaRect=d}})),s.prototype.resizable=function(e){return i.is.object(e)?(this.options.resize.enabled=!1!==e.enabled,this.setPerAction("resize",e),this.setOnEvents("resize",e),/^x$|^y$|^xy$/.test(e.axis)?this.options.resize.axis=e.axis:null===e.axis&&(this.options.resize.axis=c.resize.axis),i.is.bool(e.preserveAspectRatio)?this.options.resize.preserveAspectRatio=e.preserveAspectRatio:i.is.bool(e.square)&&(this.options.resize.square=e.square),this):i.is.bool(e)?(this.options.resize.enabled=e,e||(this.onresizestart=this.onresizestart=this.onresizeend=null),this):this.options.resize},u.signals.on("new",(function(e){e.resizeAxes="xy"})),a.signals.on("set-delta",(function(e){var t=e.interaction,n=e.iEvent;"resize"===e.action&&t.resizeAxes&&(t.target.options.resize.square?("y"===t.resizeAxes?n.dx=n.dy:n.dy=n.dx,n.axes="xy"):(n.axes=t.resizeAxes,"x"===t.resizeAxes?n.dy=0:"y"===t.resizeAxes&&(n.dx=0)))})),r.resize=f,r.names.push("resize"),i.merge(s.eventTypes,["resizestart","resizemove","resizeinertiastart","resizeinertiaresume","resizeend"]),r.methodDict.resize="resizable",c.resize=f.defaults,t.exports=f},{"../InteractEvent":3,"../Interactable":4,"../Interaction":5,"../defaultOptions":18,"../utils":44,"../utils/browser":36,"./base":6}],11:[function(e,t,n){"use strict";var r=e("./utils/raf"),i=e("./utils/window").getWindow,o=e("./utils/is"),a=e("./utils/domUtils"),s=e("./Interaction"),u=e("./defaultOptions"),c={defaults:{enabled:!1,container:null,margin:60,speed:300},interaction:null,i:null,x:0,y:0,isScrolling:!1,prevTime:0,start:function(e){c.isScrolling=!0,r.cancel(c.i),c.interaction=e,c.prevTime=(new Date).getTime(),c.i=r.request(c.scroll)},stop:function(){c.isScrolling=!1,r.cancel(c.i)},scroll:function(){var e=c.interaction.target.options[c.interaction.prepared.name].autoScroll,t=e.container||i(c.interaction.element),n=(new Date).getTime(),a=(n-c.prevTime)/1e3,s=e.speed*a;s>=1&&(o.window(t)?t.scrollBy(c.x*s,c.y*s):t&&(t.scrollLeft+=c.x*s,t.scrollTop+=c.y*s),c.prevTime=n),c.isScrolling&&(r.cancel(c.i),c.i=r.request(c.scroll))},check:function(e,t){var n=e.options;return n[t].autoScroll&&n[t].autoScroll.enabled},onInteractionMove:function(e){var t=e.interaction,n=e.pointer;if(t.interacting()&&c.check(t.target,t.prepared.name))if(t.simulation)c.x=c.y=0;else{var r=void 0,s=void 0,u=void 0,l=void 0,f=t.target.options[t.prepared.name].autoScroll,d=f.container||i(t.element);if(o.window(d))l=n.clientX<c.margin,r=n.clientY<c.margin,s=n.clientX>d.innerWidth-c.margin,u=n.clientY>d.innerHeight-c.margin;else{var p=a.getElementClientRect(d);l=n.clientX<p.left+c.margin,r=n.clientY<p.top+c.margin,s=n.clientX>p.right-c.margin,u=n.clientY>p.bottom-c.margin}c.x=s?1:l?-1:0,c.y=u?1:r?-1:0,c.isScrolling||(c.margin=f.margin,c.speed=f.speed,c.start(t))}}};s.signals.on("stop-active",(function(){c.stop()})),s.signals.on("action-move",c.onInteractionMove),u.perAction.autoScroll=c.defaults,t.exports=c},{"./Interaction":5,"./defaultOptions":18,"./utils/domUtils":39,"./utils/is":46,"./utils/raf":50,"./utils/window":52}],12:[function(e,t,n){"use strict";var r=e("../Interactable"),i=e("../actions/base"),o=e("../utils/is"),a=e("../utils/domUtils"),s=e("../utils").warnOnce;r.prototype.getAction=function(e,t,n,r){var i=this.defaultActionChecker(e,t,n,r);return this.options.actionChecker?this.options.actionChecker(e,t,i,this,r,n):i},r.prototype.ignoreFrom=s((function(e){return this._backCompatOption("ignoreFrom",e)}),"Interactable.ignoreForm() has been deprecated. Use Interactble.draggable({ignoreFrom: newValue})."),r.prototype.allowFrom=s((function(e){return this._backCompatOption("allowFrom",e)}),"Interactable.allowForm() has been deprecated. Use Interactble.draggable({allowFrom: newValue})."),r.prototype.testIgnore=function(e,t,n){return!(!e||!o.element(n))&&(o.string(e)?a.matchesUpTo(n,e,t):!!o.element(e)&&a.nodeContains(e,n))},r.prototype.testAllow=function(e,t,n){return!e||!!o.element(n)&&(o.string(e)?a.matchesUpTo(n,e,t):!!o.element(e)&&a.nodeContains(e,n))},r.prototype.testIgnoreAllow=function(e,t,n){return!this.testIgnore(e.ignoreFrom,t,n)&&this.testAllow(e.allowFrom,t,n)},r.prototype.actionChecker=function(e){return o.function(e)?(this.options.actionChecker=e,this):null===e?(delete this.options.actionChecker,this):this.options.actionChecker},r.prototype.styleCursor=function(e){return o.bool(e)?(this.options.styleCursor=e,this):null===e?(delete this.options.styleCursor,this):this.options.styleCursor},r.prototype.defaultActionChecker=function(e,t,n,r){for(var o=this.getRect(r),a=t.buttons||{0:1,1:4,3:8,4:16}[t.button],s=null,u=0;u<i.names.length;u++){var c=i.names[u];if((!n.pointerIsDown||!/mouse|pointer/.test(n.pointerType)||0!=(a&this.options[c].mouseButtons))&&(s=i[c].checker(e,t,this,r,n,o)))return s}}},{"../Interactable":4,"../actions/base":6,"../utils":44,"../utils/domUtils":39,"../utils/is":46}],13:[function(e,t,n){"use strict";var r=e("../interact"),i=e("../Interactable"),o=e("../Interaction"),a=e("../actions/base"),s=e("../defaultOptions"),u=e("../scope"),c=e("../utils"),l=e("../utils/Signals").new();e("./InteractableMethods");var f={signals:l,withinInteractionLimit:m,maxInteractions:1/0,defaults:{perAction:{manualStart:!1,max:1/0,maxPerElement:1,allowFrom:null,ignoreFrom:null,mouseButtons:1}},setActionDefaults:function(e){c.extend(e.defaults,f.defaults.perAction)},validateAction:d};function d(e,t,n,r){return c.is.object(e)&&t.testIgnoreAllow(t.options[e.name],n,r)&&t.options[e.name].enabled&&m(t,n,e)?e:null}function p(e,t,n,r,i,o){for(var a=0,s=r.length;a<s;a++){var u=r[a],c=i[a],l=d(u.getAction(t,n,e,c),u,c,o);if(l)return{action:l,target:u,element:c}}return{}}function h(e,t,n,r){var i=[],o=[],a=r;function s(e){i.push(e),o.push(a)}for(;c.is.element(a);){i=[],o=[],u.interactables.forEachMatch(a,s);var l=p(e,t,n,i,o,r);if(l.action&&!l.target.options[l.action.name].manualStart)return l;a=c.parentNode(a)}return{}}function g(e,t){var n=t.action,r=t.target,i=t.element;if(n=n||{},e.target&&e.target.options.styleCursor&&(e.target._doc.documentElement.style.cursor=""),e.target=r,e.element=i,c.copyAction(e.prepared,n),r&&r.options.styleCursor){var o=n?a[n.name].getCursor(n):"";e.target._doc.documentElement.style.cursor=o}l.fire("prepared",{interaction:e})}function m(e,t,n){var r=e.options,i=r[n.name].max,o=r[n.name].maxPerElement,a=0,s=0,c=0;if(i&&o&&f.maxInteractions){for(var l=0;l<u.interactions.length;l++){var d=u.interactions[l],p=d.prepared.name;if(d.interacting()){if(++a>=f.maxInteractions)return!1;if(d.target===e){if((s+=p===n.name|0)>=i)return!1;if(d.element===t&&(c++,p!==n.name||c>=o))return!1}}}return f.maxInteractions>0}}o.signals.on("down",(function(e){var t=e.interaction,n=e.pointer,r=e.event,i=e.eventTarget;t.interacting()||g(t,h(t,n,r,i))})),o.signals.on("move",(function(e){var t=e.interaction,n=e.pointer,r=e.event,i=e.eventTarget;"mouse"!==t.pointerType||t.pointerIsDown||t.interacting()||g(t,h(t,n,r,i))})),o.signals.on("move",(function(e){var t=e.interaction,n=e.event;if(t.pointerIsDown&&!t.interacting()&&t.pointerWasMoved&&t.prepared.name){l.fire("before-start",e);var r=t.target;t.prepared.name&&r&&(r.options[t.prepared.name].manualStart||!m(r,t.element,t.prepared)?t.stop(n):t.start(t.prepared,r,t.element))}})),o.signals.on("stop",(function(e){var t=e.interaction.target;t&&t.options.styleCursor&&(t._doc.documentElement.style.cursor="")})),r.maxInteractions=function(e){return c.is.number(e)?(f.maxInteractions=e,r):f.maxInteractions},i.settingsMethods.push("styleCursor"),i.settingsMethods.push("actionChecker"),i.settingsMethods.push("ignoreFrom"),i.settingsMethods.push("allowFrom"),s.base.actionChecker=null,s.base.styleCursor=!0,c.extend(s.perAction,f.defaults.perAction),t.exports=f},{"../Interactable":4,"../Interaction":5,"../actions/base":6,"../defaultOptions":18,"../interact":21,"../scope":33,"../utils":44,"../utils/Signals":34,"./InteractableMethods":12}],14:[function(e,t,n){"use strict";var r=e("./base"),i=e("../scope"),o=e("../utils/is"),a=e("../utils/domUtils").parentNode;function s(e,t){if(!t)return!1;var n=t.options.drag.startAxis;return"xy"===e||"xy"===n||n===e}r.setActionDefaults(e("../actions/drag")),r.signals.on("before-start",(function(e){var t=e.interaction,n=e.eventTarget,u=e.dx,c=e.dy;if("drag"===t.prepared.name){var l=Math.abs(u),f=Math.abs(c),d=t.target.options.drag,p=d.startAxis,h=l>f?"x":l<f?"y":"xy";if(t.prepared.axis="start"===d.lockAxis?h[0]:d.lockAxis,"xy"!==h&&"xy"!==p&&p!==h){t.prepared.name=null;for(var g=n,m=function(e){if(e!==t.target){var i=t.target.options.drag;if(!i.manualStart&&e.testIgnoreAllow(i,g,n)){var o=e.getAction(t.downPointer,t.downEvent,t,g);if(o&&"drag"===o.name&&s(h,e)&&r.validateAction(o,e,g,n))return e}}};o.element(g);){var y=i.interactables.forEachMatch(g,m);if(y){t.prepared.name="drag",t.target=y,t.element=g;break}g=a(g)}}}}))},{"../actions/drag":7,"../scope":33,"../utils/domUtils":39,"../utils/is":46,"./base":13}],15:[function(e,t,n){"use strict";e("./base").setActionDefaults(e("../actions/gesture"))},{"../actions/gesture":9,"./base":13}],16:[function(e,t,n){"use strict";var r=e("./base"),i=e("../Interaction");function o(e){var t=e.prepared&&e.prepared.name;if(!t)return null;var n=e.target.options;return n[t].hold||n[t].delay}r.defaults.perAction.hold=0,r.defaults.perAction.delay=0,i.signals.on("new",(function(e){e.autoStartHoldTimer=null})),r.signals.on("prepared",(function(e){var t=e.interaction,n=o(t);n>0&&(t.autoStartHoldTimer=setTimeout((function(){t.start(t.prepared,t.target,t.element)}),n))})),i.signals.on("move",(function(e){var t=e.interaction,n=e.duplicate;t.pointerWasMoved&&!n&&clearTimeout(t.autoStartHoldTimer)})),r.signals.on("before-start",(function(e){var t=e.interaction;o(t)>0&&(t.prepared.name=null)})),t.exports={getHoldDuration:o}},{"../Interaction":5,"./base":13}],17:[function(e,t,n){"use strict";e("./base").setActionDefaults(e("../actions/resize"))},{"../actions/resize":10,"./base":13}],18:[function(e,t,n){"use strict";t.exports={base:{accept:null,preventDefault:"auto",deltaSource:"page"},perAction:{origin:{x:0,y:0},inertia:{enabled:!1,resistance:10,minSpeed:100,endSpeed:10,allowResume:!0,smoothEndDuration:300}}}},{}],19:[function(e,t,n){"use strict";e("./inertia"),e("./modifiers/snap"),e("./modifiers/restrict"),e("./pointerEvents/base"),e("./pointerEvents/holdRepeat"),e("./pointerEvents/interactableTargets"),e("./autoStart/hold"),e("./actions/gesture"),e("./actions/resize"),e("./actions/drag"),e("./actions/drop"),e("./modifiers/snapSize"),e("./modifiers/restrictEdges"),e("./modifiers/restrictSize"),e("./autoStart/gesture"),e("./autoStart/resize"),e("./autoStart/drag"),e("./interactablePreventDefault.js"),e("./autoScroll"),t.exports=e("./interact")},{"./actions/drag":7,"./actions/drop":8,"./actions/gesture":9,"./actions/resize":10,"./autoScroll":11,"./autoStart/drag":14,"./autoStart/gesture":15,"./autoStart/hold":16,"./autoStart/resize":17,"./inertia":20,"./interact":21,"./interactablePreventDefault.js":22,"./modifiers/restrict":24,"./modifiers/restrictEdges":25,"./modifiers/restrictSize":26,"./modifiers/snap":27,"./modifiers/snapSize":28,"./pointerEvents/base":30,"./pointerEvents/holdRepeat":31,"./pointerEvents/interactableTargets":32}],20:[function(e,t,n){"use strict";var r=e("./InteractEvent"),i=e("./Interaction"),o=e("./modifiers/base"),a=e("./utils"),s=e("./utils/raf");function u(e,t){var n=e.target.options[e.prepared.name].inertia,r=n.resistance,i=-Math.log(n.endSpeed/t.v0)/r;t.x0=e.prevEvent.pageX,t.y0=e.prevEvent.pageY,t.t0=t.startEvent.timeStamp/1e3,t.sx=t.sy=0,t.modifiedXe=t.xe=(t.vx0-i)/r,t.modifiedYe=t.ye=(t.vy0-i)/r,t.te=i,t.lambda_v0=r/t.v0,t.one_ve_v0=1-n.endSpeed/t.v0}function c(){f(this),a.setCoordDeltas(this.pointerDelta,this.prevCoords,this.curCoords);var e=this.inertiaStatus,t=this.target.options[this.prepared.name].inertia.resistance,n=(new Date).getTime()/1e3-e.t0;if(n<e.te){var r=1-(Math.exp(-t*n)-e.lambda_v0)/e.one_ve_v0;if(e.modifiedXe===e.xe&&e.modifiedYe===e.ye)e.sx=e.xe*r,e.sy=e.ye*r;else{var i=a.getQuadraticCurvePoint(0,0,e.xe,e.ye,e.modifiedXe,e.modifiedYe,r);e.sx=i.x,e.sy=i.y}this.doMove(),e.i=s.request(this.boundInertiaFrame)}else e.sx=e.modifiedXe,e.sy=e.modifiedYe,this.doMove(),this.end(e.startEvent),e.active=!1,this.simulation=null;a.copyCoords(this.prevCoords,this.curCoords)}function l(){f(this);var e=this.inertiaStatus,t=(new Date).getTime()-e.t0,n=this.target.options[this.prepared.name].inertia.smoothEndDuration;t<n?(e.sx=a.easeOutQuad(t,0,e.xe,n),e.sy=a.easeOutQuad(t,0,e.ye,n),this.pointerMove(e.startEvent,e.startEvent),e.i=s.request(this.boundSmoothEndFrame)):(e.sx=e.xe,e.sy=e.ye,this.pointerMove(e.startEvent,e.startEvent),this.end(e.startEvent),e.smoothEnd=e.active=!1,this.simulation=null)}function f(e){var t=e.inertiaStatus;if(t.active){var n=t.upCoords.page,r=t.upCoords.client;a.setCoords(e.curCoords,[{pageX:n.x+t.sx,pageY:n.y+t.sy,clientX:r.x+t.sx,clientY:r.y+t.sy}])}}i.signals.on("new",(function(e){e.inertiaStatus={active:!1,smoothEnd:!1,allowResume:!1,startEvent:null,upCoords:{},xe:0,ye:0,sx:0,sy:0,t0:0,vx0:0,vys:0,duration:0,lambda_v0:0,one_ve_v0:0,i:null},e.boundInertiaFrame=function(){return c.apply(e)},e.boundSmoothEndFrame=function(){return l.apply(e)}})),i.signals.on("down",(function(e){var t=e.interaction,n=e.event,u=e.pointer,c=e.eventTarget,l=t.inertiaStatus;if(l.active)for(var f=c;a.is.element(f);){if(f===t.element){s.cancel(l.i),l.active=!1,t.simulation=null,t.updatePointer(u),a.setCoords(t.curCoords,t.pointers);var d={interaction:t};i.signals.fire("before-action-move",d),i.signals.fire("action-resume",d);var p=new r(t,n,t.prepared.name,"inertiaresume",t.element);t.target.fire(p),t.prevEvent=p,o.resetStatuses(t.modifierStatuses),a.copyCoords(t.prevCoords,t.curCoords);break}f=a.parentNode(f)}})),i.signals.on("up",(function(e){var t=e.interaction,n=e.event,i=t.inertiaStatus;if(t.interacting()&&!i.active){var c=t.target,l=c&&c.options,f=l&&t.prepared.name&&l[t.prepared.name].inertia,d=(new Date).getTime(),p={},h=a.extend({},t.curCoords.page),g=t.pointerDelta.client.speed,m=!1,y=void 0,v=f&&f.enabled&&"gesture"!==t.prepared.name&&n!==i.startEvent,b=v&&d-t.curCoords.timeStamp<50&&g>f.minSpeed&&g>f.endSpeed,_={interaction:t,pageCoords:h,statuses:p,preEnd:!0,requireEndOnly:!0};v&&!b&&(o.resetStatuses(p),(y=o.setAll(_)).shouldMove&&y.locked&&(m=!0)),(b||m)&&(a.copyCoords(i.upCoords,t.curCoords),t.pointers[0]=i.startEvent=new r(t,n,t.prepared.name,"inertiastart",t.element),i.t0=d,i.active=!0,i.allowResume=f.allowResume,t.simulation=i,c.fire(i.startEvent),b?(i.vx0=t.pointerDelta.client.vx,i.vy0=t.pointerDelta.client.vy,i.v0=g,u(t,i),a.extend(h,t.curCoords.page),h.x+=i.xe,h.y+=i.ye,o.resetStatuses(p),y=o.setAll(_),i.modifiedXe+=y.dx,i.modifiedYe+=y.dy,i.i=s.request(t.boundInertiaFrame)):(i.smoothEnd=!0,i.xe=y.dx,i.ye=y.dy,i.sx=i.sy=0,i.i=s.request(t.boundSmoothEndFrame)))}})),i.signals.on("stop-active",(function(e){var t=e.interaction,n=t.inertiaStatus;n.active&&(s.cancel(n.i),n.active=!1,t.simulation=null)}))},{"./InteractEvent":3,"./Interaction":5,"./modifiers/base":23,"./utils":44,"./utils/raf":50}],21:[function(e,t,n){"use strict";var r=e("./utils/browser"),i=e("./utils/events"),o=e("./utils"),a=e("./scope"),s=e("./Interactable"),u=e("./Interaction"),c={};function l(e,t){var n=a.interactables.get(e,t);return n||((n=new s(e,t)).events.global=c),n}l.isSet=function(e,t){return-1!==a.interactables.indexOfElement(e,t&&t.context)},l.on=function(e,t,n){if(o.is.string(e)&&-1!==e.search(" ")&&(e=e.trim().split(/ +/)),o.is.array(e)){for(var r=0;r<e.length;r++){var u=e[r];l.on(u,t,n)}return l}if(o.is.object(e)){for(var f in e)l.on(f,e[f],t);return l}return o.contains(s.eventTypes,e)?c[e]?c[e].push(t):c[e]=[t]:i.add(a.document,e,t,{options:n}),l},l.off=function(e,t,n){if(o.is.string(e)&&-1!==e.search(" ")&&(e=e.trim().split(/ +/)),o.is.array(e)){for(var r=0;r<e.length;r++){var u=e[r];l.off(u,t,n)}return l}if(o.is.object(e)){for(var f in e)l.off(f,e[f],t);return l}if(o.contains(s.eventTypes,e)){var d=void 0;e in c&&-1!==(d=c[e].indexOf(t))&&c[e].splice(d,1)}else i.remove(a.document,e,t,n);return l},l.debug=function(){return a},l.getPointerAverage=o.pointerAverage,l.getTouchBBox=o.touchBBox,l.getTouchDistance=o.touchDistance,l.getTouchAngle=o.touchAngle,l.getElementRect=o.getElementRect,l.getElementClientRect=o.getElementClientRect,l.matchesSelector=o.matchesSelector,l.closest=o.closest,l.supportsTouch=function(){return r.supportsTouch},l.supportsPointerEvent=function(){return r.supportsPointerEvent},l.stop=function(e){for(var t=a.interactions.length-1;t>=0;t--)a.interactions[t].stop(e);return l},l.pointerMoveTolerance=function(e){return o.is.number(e)?(u.pointerMoveTolerance=e,l):u.pointerMoveTolerance},l.addDocument=a.addDocument,l.removeDocument=a.removeDocument,a.interact=l,t.exports=l},{"./Interactable":4,"./Interaction":5,"./scope":33,"./utils":44,"./utils/browser":36,"./utils/events":40}],22:[function(e,t,n){"use strict";var r=e("./Interactable"),i=e("./Interaction"),o=e("./scope"),a=e("./utils/is"),s=e("./utils/events"),u=e("./utils/browser"),c=e("./utils/domUtils"),l=c.nodeContains,f=c.matchesSelector;function d(e){var t=e.interaction,n=e.event;t.target&&t.target.checkAndPreventDefault(n)}r.prototype.preventDefault=function(e){return/^(always|never|auto)$/.test(e)?(this.options.preventDefault=e,this):a.bool(e)?(this.options.preventDefault=e?"always":"never",this):this.options.preventDefault},r.prototype.checkAndPreventDefault=function(e){var t=this.options.preventDefault;"never"!==t&&("always"!==t&&(s.supportsPassive&&/^touch(start|move)$/.test(e.type)&&!u.isIOS||/^(mouse|pointer|touch)*(down|start)/i.test(e.type)||a.element(e.target)&&f(e.target,"input,select,textarea,[contenteditable=true],[contenteditable=true] *"))||e.preventDefault())};for(var p=["down","move","up","cancel"],h=0;h<p.length;h++){var g=p[h];i.signals.on(g,d)}i.docEvents.dragstart=function(e){for(var t=0;t<o.interactions.length;t++){var n=o.interactions[t];if(n.element&&(n.element===e.target||l(n.element,e.target)))return void n.target.checkAndPreventDefault(e)}}},{"./Interactable":4,"./Interaction":5,"./scope":33,"./utils/browser":36,"./utils/domUtils":39,"./utils/events":40,"./utils/is":46}],23:[function(e,t,n){"use strict";var r=e("../InteractEvent"),i=e("../Interaction"),o=e("../utils/extend"),a={names:[],setOffsets:function(e){var t=e.interaction,n=e.pageCoords,r=t.target,i=t.element,o=t.startOffset,s=r.getRect(i);s?(o.left=n.x-s.left,o.top=n.y-s.top,o.right=s.right-n.x,o.bottom=s.bottom-n.y,"width"in s||(s.width=s.right-s.left),"height"in s||(s.height=s.bottom-s.top)):o.left=o.top=o.right=o.bottom=0,e.rect=s,e.interactable=r,e.element=i;for(var u=0;u<a.names.length;u++){var c=a.names[u];e.options=r.options[t.prepared.name][c],e.options&&(t.modifierOffsets[c]=a[c].setOffset(e))}},setAll:function(e){var t=e.interaction,n=e.statuses,r=e.preEnd,i=e.requireEndOnly,u={dx:0,dy:0,changed:!1,locked:!1,shouldMove:!0};e.modifiedCoords=o({},e.pageCoords);for(var c=0;c<a.names.length;c++){var l=a.names[c],f=a[l],d=t.target.options[t.prepared.name][l];s(d,r,i)&&(e.status=e.status=n[l],e.options=d,e.offset=e.interaction.modifierOffsets[l],f.set(e),e.status.locked&&(e.modifiedCoords.x+=e.status.dx,e.modifiedCoords.y+=e.status.dy,u.dx+=e.status.dx,u.dy+=e.status.dy,u.locked=!0))}return u.shouldMove=!e.status||!u.locked||e.status.changed,u},resetStatuses:function(e){for(var t=0;t<a.names.length;t++){var n=a.names[t],r=e[n]||{};r.dx=r.dy=0,r.modifiedX=r.modifiedY=NaN,r.locked=!1,r.changed=!0,e[n]=r}return e},start:function(e,t){var n=e.interaction,r={interaction:n,pageCoords:("action-resume"===t?n.curCoords:n.startCoords).page,startOffset:n.startOffset,statuses:n.modifierStatuses,preEnd:!1,requireEndOnly:!1};a.setOffsets(r),a.resetStatuses(r.statuses),r.pageCoords=o({},n.startCoords.page),n.modifierResult=a.setAll(r)},beforeMove:function(e){var t=e.interaction,n=e.preEnd,r=e.interactingBeforeMove,i=a.setAll({interaction:t,preEnd:n,pageCoords:t.curCoords.page,statuses:t.modifierStatuses,requireEndOnly:!1});!i.shouldMove&&r&&(t._dontFireMove=!0),t.modifierResult=i},end:function(e){for(var t=e.interaction,n=e.event,r=0;r<a.names.length;r++){var i=a.names[r];if(s(t.target.options[t.prepared.name][i],!0,!0)){t.doMove({event:n,preEnd:!0});break}}},setXY:function(e){for(var t=e.iEvent,n=e.interaction,r=o({},e),i=0;i<a.names.length;i++){var s=a.names[i];if(r.options=n.target.options[n.prepared.name][s],r.options){var u=a[s];r.status=n.modifierStatuses[s],t[s]=u.modifyCoords(r)}}}};function s(e,t,n){return e&&e.enabled&&(t||!e.endOnly)&&(!n||e.endOnly)}i.signals.on("new",(function(e){e.startOffset={left:0,right:0,top:0,bottom:0},e.modifierOffsets={},e.modifierStatuses=a.resetStatuses({}),e.modifierResult=null})),i.signals.on("action-start",a.start),i.signals.on("action-resume",a.start),i.signals.on("before-action-move",a.beforeMove),i.signals.on("action-end",a.end),r.signals.on("set-xy",a.setXY),t.exports=a},{"../InteractEvent":3,"../Interaction":5,"../utils/extend":41}],24:[function(e,t,n){"use strict";var r=e("./base"),i=e("../utils"),o=e("../defaultOptions"),a={defaults:{enabled:!1,endOnly:!1,restriction:null,elementRect:null},setOffset:function(e){var t=e.rect,n=e.startOffset,r=e.options,i=r&&r.elementRect,o={};return t&&i?(o.left=n.left-t.width*i.left,o.top=n.top-t.height*i.top,o.right=n.right-t.width*(1-i.right),o.bottom=n.bottom-t.height*(1-i.bottom)):o.left=o.top=o.right=o.bottom=0,o},set:function(e){var t=e.modifiedCoords,n=e.interaction,r=e.status,o=e.options;if(!o)return r;var a=r.useStatusXY?{x:r.x,y:r.y}:i.extend({},t),u=s(o.restriction,n,a);if(!u)return r;r.dx=0,r.dy=0,r.locked=!1;var c=u,l=a.x,f=a.y,d=n.modifierOffsets.restrict;"x"in u&&"y"in u?(l=Math.max(Math.min(c.x+c.width-d.right,a.x),c.x+d.left),f=Math.max(Math.min(c.y+c.height-d.bottom,a.y),c.y+d.top)):(l=Math.max(Math.min(c.right-d.right,a.x),c.left+d.left),f=Math.max(Math.min(c.bottom-d.bottom,a.y),c.top+d.top)),r.dx=l-a.x,r.dy=f-a.y,r.changed=r.modifiedX!==l||r.modifiedY!==f,r.locked=!(!r.dx&&!r.dy),r.modifiedX=l,r.modifiedY=f},modifyCoords:function(e){var t=e.page,n=e.client,r=e.status,i=e.phase,o=e.options,a=o&&o.elementRect;if(o&&o.enabled&&("start"!==i||!a||!r.locked)&&r.locked)return t.x+=r.dx,t.y+=r.dy,n.x+=r.dx,n.y+=r.dy,{dx:r.dx,dy:r.dy}},getRestrictionRect:s};function s(e,t,n){return i.is.function(e)?i.resolveRectLike(e,t.target,t.element,[n.x,n.y,t]):i.resolveRectLike(e,t.target,t.element)}r.restrict=a,r.names.push("restrict"),o.perAction.restrict=a.defaults,t.exports=a},{"../defaultOptions":18,"../utils":44,"./base":23}],25:[function(e,t,n){"use strict";var r=e("./base"),i=e("../utils"),o=e("../utils/rect"),a=e("../defaultOptions"),s=e("../actions/resize"),u=e("./restrict").getRestrictionRect,c={top:1/0,left:1/0,bottom:-1/0,right:-1/0},l={top:-1/0,left:-1/0,bottom:1/0,right:1/0},f={defaults:{enabled:!1,endOnly:!1,min:null,max:null,offset:null},setOffset:function(e){var t=e.interaction,n=e.startOffset,r=e.options;if(!r)return i.extend({},n);var o=u(r.offset,t,t.startCoords.page);return o?{top:n.top+o.y,left:n.left+o.x,bottom:n.bottom+o.y,right:n.right+o.x}:n},set:function(e){var t=e.modifiedCoords,n=e.interaction,r=e.status,a=e.offset,s=e.options,f=n.prepared.linkedEdges||n.prepared.edges;if(n.interacting()&&f){var d=r.useStatusXY?{x:r.x,y:r.y}:i.extend({},t),p=o.xywhToTlbr(u(s.inner,n,d))||c,h=o.xywhToTlbr(u(s.outer,n,d))||l,g=d.x,m=d.y;r.dx=0,r.dy=0,r.locked=!1,f.top?m=Math.min(Math.max(h.top+a.top,d.y),p.top+a.top):f.bottom&&(m=Math.max(Math.min(h.bottom-a.bottom,d.y),p.bottom-a.bottom)),f.left?g=Math.min(Math.max(h.left+a.left,d.x),p.left+a.left):f.right&&(g=Math.max(Math.min(h.right-a.right,d.x),p.right-a.right)),r.dx=g-d.x,r.dy=m-d.y,r.changed=r.modifiedX!==g||r.modifiedY!==m,r.locked=!(!r.dx&&!r.dy),r.modifiedX=g,r.modifiedY=m}},modifyCoords:function(e){var t=e.page,n=e.client,r=e.status,i=e.phase,o=e.options;if(o&&o.enabled&&("start"!==i||!r.locked)&&r.locked)return t.x+=r.dx,t.y+=r.dy,n.x+=r.dx,n.y+=r.dy,{dx:r.dx,dy:r.dy}},noInner:c,noOuter:l,getRestrictionRect:u};r.restrictEdges=f,r.names.push("restrictEdges"),a.perAction.restrictEdges=f.defaults,s.defaults.restrictEdges=f.defaults,t.exports=f},{"../actions/resize":10,"../defaultOptions":18,"../utils":44,"../utils/rect":51,"./base":23,"./restrict":24}],26:[function(e,t,n){"use strict";var r=e("./base"),i=e("./restrictEdges"),o=e("../utils"),a=e("../utils/rect"),s=e("../defaultOptions"),u=e("../actions/resize"),c={width:-1/0,height:-1/0},l={width:1/0,height:1/0},f={defaults:{enabled:!1,endOnly:!1,min:null,max:null},setOffset:function(e){return e.interaction.startOffset},set:function(e){var t=e.interaction,n=e.options,r=t.prepared.linkedEdges||t.prepared.edges;if(t.interacting()&&r){var s=a.xywhToTlbr(t.resizeRects.inverted),u=a.tlbrToXywh(i.getRestrictionRect(n.min,t))||c,f=a.tlbrToXywh(i.getRestrictionRect(n.max,t))||l;e.options={enabled:n.enabled,endOnly:n.endOnly,inner:o.extend({},i.noInner),outer:o.extend({},i.noOuter)},r.top?(e.options.inner.top=s.bottom-u.height,e.options.outer.top=s.bottom-f.height):r.bottom&&(e.options.inner.bottom=s.top+u.height,e.options.outer.bottom=s.top+f.height),r.left?(e.options.inner.left=s.right-u.width,e.options.outer.left=s.right-f.width):r.right&&(e.options.inner.right=s.left+u.width,e.options.outer.right=s.left+f.width),i.set(e)}},modifyCoords:i.modifyCoords};r.restrictSize=f,r.names.push("restrictSize"),s.perAction.restrictSize=f.defaults,u.defaults.restrictSize=f.defaults,t.exports=f},{"../actions/resize":10,"../defaultOptions":18,"../utils":44,"../utils/rect":51,"./base":23,"./restrictEdges":25}],27:[function(e,t,n){"use strict";var r=e("./base"),i=e("../interact"),o=e("../utils"),a=e("../defaultOptions"),s={defaults:{enabled:!1,endOnly:!1,range:1/0,targets:null,offsets:null,relativePoints:null},setOffset:function(e){var t=e.interaction,n=e.interactable,r=e.element,i=e.rect,a=e.startOffset,s=e.options,u=[],c=o.rectToXY(o.resolveRectLike(s.origin))||o.getOriginXY(n,r,t.prepared.name),l=void 0;if("startCoords"===(s=s||n.options[t.prepared.name].snap||{}).offset)l={x:t.startCoords.page.x-c.x,y:t.startCoords.page.y-c.y};else{var f=o.resolveRectLike(s.offset,n,r,[t]);l=o.rectToXY(f)||{x:0,y:0}}if(i&&s.relativePoints&&s.relativePoints.length)for(var d=0;d<s.relativePoints.length;d++){var p=s.relativePoints[d],h=p.x,g=p.y;u.push({x:a.left-i.width*h+l.x,y:a.top-i.height*g+l.y})}else u.push(l);return u},set:function(e){var t=e.interaction,n=e.modifiedCoords,r=e.status,i=e.options,a=e.offset,s=[],u=void 0,c=void 0,l=void 0;if(r.useStatusXY)c={x:r.x,y:r.y};else{var f=o.getOriginXY(t.target,t.element,t.prepared.name);(c=o.extend({},n)).x-=f.x,c.y-=f.y}r.realX=c.x,r.realY=c.y;for(var d=i.targets?i.targets.length:0,p=0;p<a.length;p++)for(var h=a[p],g=h.x,m=h.y,y=c.x-g,v=c.y-m,b=0;b<(i.targets||[]).length;b++){var _=(i.targets||[])[b];(u=o.is.function(_)?_(y,v,t):_)&&s.push({x:o.is.number(u.x)?u.x+g:y,y:o.is.number(u.y)?u.y+m:v,range:o.is.number(u.range)?u.range:i.range})}var w={target:null,inRange:!1,distance:0,range:0,dx:0,dy:0};for(l=0,d=s.length;l<d;l++){var T=(u=s[l]).range,x=u.x-c.x,S=u.y-c.y,k=o.hypot(x,S),E=k<=T;T===1/0&&w.inRange&&w.range!==1/0&&(E=!1),w.target&&!(E?w.inRange&&T!==1/0?k/T<w.distance/w.range:T===1/0&&w.range!==1/0||k<w.distance:!w.inRange&&k<w.distance)||(w.target=u,w.distance=k,w.range=T,w.inRange=E,w.dx=x,w.dy=S,r.range=T)}var O=void 0;w.target?(O=r.modifiedX!==w.target.x||r.modifiedY!==w.target.y,r.modifiedX=w.target.x,r.modifiedY=w.target.y):(O=!0,r.modifiedX=NaN,r.modifiedY=NaN),r.dx=w.dx,r.dy=w.dy,r.changed=O||w.inRange&&!r.locked,r.locked=w.inRange},modifyCoords:function(e){var t=e.page,n=e.client,r=e.status,i=e.phase,o=e.options,a=o&&o.relativePoints;if(o&&o.enabled&&("start"!==i||!a||!a.length))return r.locked&&(t.x+=r.dx,t.y+=r.dy,n.x+=r.dx,n.y+=r.dy),{range:r.range,locked:r.locked,x:r.modifiedX,y:r.modifiedY,realX:r.realX,realY:r.realY,dx:r.dx,dy:r.dy}}};i.createSnapGrid=function(e){return function(t,n){var r=e.limits||{left:-1/0,right:1/0,top:-1/0,bottom:1/0},i=0,a=0;o.is.object(e.offset)&&(i=e.offset.x,a=e.offset.y);var s=Math.round((t-i)/e.x),u=Math.round((n-a)/e.y);return{x:Math.max(r.left,Math.min(r.right,s*e.x+i)),y:Math.max(r.top,Math.min(r.bottom,u*e.y+a)),range:e.range}}},r.snap=s,r.names.push("snap"),a.perAction.snap=s.defaults,t.exports=s},{"../defaultOptions":18,"../interact":21,"../utils":44,"./base":23}],28:[function(e,t,n){"use strict";var r=e("./base"),i=e("./snap"),o=e("../defaultOptions"),a=e("../actions/resize"),s=e("../utils/"),u={defaults:{enabled:!1,endOnly:!1,range:1/0,targets:null,offsets:null},setOffset:function(e){var t=e.interaction,n=e.options,r=t.prepared.edges;if(r){e.options={relativePoints:[{x:r.left?0:1,y:r.top?0:1}],origin:{x:0,y:0},offset:"self",range:n.range};var o=i.setOffset(e);return e.options=n,o}},set:function(e){var t=e.interaction,n=e.options,r=e.offset,o=e.modifiedCoords,a=s.extend({},o),u=a.x-r[0].x,c=a.y-r[0].y;e.options=s.extend({},n),e.options.targets=[];for(var l=0;l<(n.targets||[]).length;l++){var f=(n.targets||[])[l],d=void 0;(d=s.is.function(f)?f(u,c,t):f)&&("width"in d&&"height"in d&&(d.x=d.width,d.y=d.height),e.options.targets.push(d))}i.set(e)},modifyCoords:function(e){var t=e.options;e.options=s.extend({},t),e.options.enabled=t.enabled,e.options.relativePoints=[null],i.modifyCoords(e)}};r.snapSize=u,r.names.push("snapSize"),o.perAction.snapSize=u.defaults,a.defaults.snapSize=u.defaults,t.exports=u},{"../actions/resize":10,"../defaultOptions":18,"../utils/":44,"./base":23,"./snap":27}],29:[function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var i=e("../utils/pointerUtils");t.exports=function(){function e(t,n,o,a,s){if(r(this,e),i.pointerExtend(this,o),o!==n&&i.pointerExtend(this,n),this.interaction=s,this.timeStamp=(new Date).getTime(),this.originalEvent=o,this.type=t,this.pointerId=i.getPointerId(n),this.pointerType=i.getPointerType(n),this.target=a,this.currentTarget=null,"tap"===t){var u=s.getPointerIndex(n);this.dt=this.timeStamp-s.downTimes[u];var c=this.timeStamp-s.tapTime;this.double=!!(s.prevTap&&"doubletap"!==s.prevTap.type&&s.prevTap.target===this.target&&c<500)}else"doubletap"===t&&(this.dt=n.timeStamp-s.tapTime)}return e.prototype.subtractOrigin=function(e){var t=e.x,n=e.y;return this.pageX-=t,this.pageY-=n,this.clientX-=t,this.clientY-=n,this},e.prototype.addOrigin=function(e){var t=e.x,n=e.y;return this.pageX+=t,this.pageY+=n,this.clientX+=t,this.clientY+=n,this},e.prototype.preventDefault=function(){this.originalEvent.preventDefault()},e.prototype.stopPropagation=function(){this.propagationStopped=!0},e.prototype.stopImmediatePropagation=function(){this.immediatePropagationStopped=this.propagationStopped=!0},e}()},{"../utils/pointerUtils":49}],30:[function(e,t,n){"use strict";var r=e("./PointerEvent"),i=e("../Interaction"),o=e("../utils"),a=e("../defaultOptions"),s=e("../utils/Signals").new(),u=["down","up","cancel"],c=["down","up","cancel"],l={PointerEvent:r,fire:f,collectEventTargets:d,signals:s,defaults:{holdDuration:600,ignoreFrom:null,allowFrom:null,origin:{x:0,y:0}},types:["down","move","up","cancel","tap","doubletap","hold"]};function f(e){for(var t=e.interaction,n=e.pointer,i=e.event,a=e.eventTarget,u=e.type,c=void 0===u?e.pointerEvent.type:u,l=e.targets,p=void 0===l?d(e):l,h=e.pointerEvent,g=void 0===h?new r(c,n,i,a,t):h,m={interaction:t,pointer:n,event:i,eventTarget:a,targets:p,type:c,pointerEvent:g},y=0;y<p.length;y++){var v=p[y];for(var b in v.props||{})g[b]=v.props[b];var _=o.getOriginXY(v.eventable,v.element);if(g.subtractOrigin(_),g.eventable=v.eventable,g.currentTarget=v.element,v.eventable.fire(g),g.addOrigin(_),g.immediatePropagationStopped||g.propagationStopped&&y+1<p.length&&p[y+1].element!==g.currentTarget)break}if(s.fire("fired",m),"tap"===c){var w=g.double?f({interaction:t,pointer:n,event:i,eventTarget:a,type:"doubletap"}):g;t.prevTap=w,t.tapTime=w.timeStamp}return g}function d(e){var t=e.interaction,n=e.pointer,r=e.event,i=e.eventTarget,a=e.type,u=t.getPointerIndex(n);if("tap"===a&&(t.pointerWasMoved||!t.downTargets[u]||t.downTargets[u]!==i))return[];for(var c=o.getPath(i),l={interaction:t,pointer:n,event:r,eventTarget:i,type:a,path:c,targets:[],element:null},f=0;f<c.length;f++){var d=c[f];l.element=d,s.fire("collect-targets",l)}return"hold"===a&&(l.targets=l.targets.filter((function(e){return e.eventable.options.holdDuration===t.holdTimers[u].duration}))),l.targets}i.signals.on("update-pointer-down",(function(e){var t=e.interaction,n=e.pointerIndex;t.holdTimers[n]={duration:1/0,timeout:null}})),i.signals.on("remove-pointer",(function(e){var t=e.interaction,n=e.pointerIndex;t.holdTimers.splice(n,1)})),i.signals.on("move",(function(e){var t=e.interaction,n=e.pointer,r=e.event,i=e.eventTarget,o=e.duplicateMove,a=t.getPointerIndex(n);o||t.pointerIsDown&&!t.pointerWasMoved||(t.pointerIsDown&&clearTimeout(t.holdTimers[a].timeout),f({interaction:t,pointer:n,event:r,eventTarget:i,type:"move"}))})),i.signals.on("down",(function(e){for(var t=e.interaction,n=e.pointer,r=e.event,i=e.eventTarget,a=e.pointerIndex,u=t.holdTimers[a],c=o.getPath(i),l={interaction:t,pointer:n,event:r,eventTarget:i,type:"hold",targets:[],path:c,element:null},d=0;d<c.length;d++){var p=c[d];l.element=p,s.fire("collect-targets",l)}if(l.targets.length){for(var h=1/0,g=0;g<l.targets.length;g++){var m=l.targets[g].eventable.options.holdDuration;m<h&&(h=m)}u.duration=h,u.timeout=setTimeout((function(){f({interaction:t,eventTarget:i,pointer:n,event:r,type:"hold"})}),h)}})),i.signals.on("up",(function(e){var t=e.interaction,n=e.pointer,r=e.event,i=e.eventTarget;t.pointerWasMoved||f({interaction:t,eventTarget:i,pointer:n,event:r,type:"tap"})}));for(var p=["up","cancel"],h=0;h<p.length;h++){var g=p[h];i.signals.on(g,(function(e){var t=e.interaction,n=e.pointerIndex;t.holdTimers[n]&&clearTimeout(t.holdTimers[n].timeout)}))}function m(e){return function(t){var n=t.interaction,r=t.pointer,i=t.event;f({interaction:n,eventTarget:t.eventTarget,pointer:r,event:i,type:e})}}for(var y=0;y<u.length;y++)i.signals.on(u[y],m(c[y]));i.signals.on("new",(function(e){e.prevTap=null,e.tapTime=0,e.holdTimers=[]})),a.pointerEvents=l.defaults,t.exports=l},{"../Interaction":5,"../defaultOptions":18,"../utils":44,"../utils/Signals":34,"./PointerEvent":29}],31:[function(e,t,n){"use strict";var r=e("./base"),i=e("../Interaction");r.signals.on("new",u),r.signals.on("fired",c);for(var o=["move","up","cancel","endall"],a=0;a<o.length;a++){var s=o[a];i.signals.on(s,l)}function u(e){var t=e.pointerEvent;"hold"===t.type&&(t.count=(t.count||0)+1)}function c(e){var t=e.interaction,n=e.pointerEvent,i=e.eventTarget,o=e.targets;if("hold"===n.type&&o.length){var a=o[0].eventable.options.holdRepeatInterval;a<=0||(t.holdIntervalHandle=setTimeout((function(){r.fire({interaction:t,eventTarget:i,type:"hold",pointer:n,event:n})}),a))}}function l(e){var t=e.interaction;t.holdIntervalHandle&&(clearInterval(t.holdIntervalHandle),t.holdIntervalHandle=null)}r.defaults.holdRepeatInterval=0,r.types.push("holdrepeat"),t.exports={onNew:u,onFired:c,endHoldRepeat:l}},{"../Interaction":5,"./base":30}],32:[function(e,t,n){"use strict";var r=e("./base"),i=e("../Interactable"),o=e("../utils/is"),a=e("../scope"),s=e("../utils/extend"),u=e("../utils/arr").merge;r.signals.on("collect-targets",(function(e){var t=e.targets,n=e.element,r=e.type,i=e.eventTarget;a.interactables.forEachMatch(n,(function(e){var a=e.events,s=a.options;a[r]&&o.element(n)&&e.testIgnoreAllow(s,n,i)&&t.push({element:n,eventable:a,props:{interactable:e}})}))})),i.signals.on("new",(function(e){var t=e.interactable;t.events.getRect=function(e){return t.getRect(e)}})),i.signals.on("set",(function(e){var t=e.interactable,n=e.options;s(t.events.options,r.defaults),s(t.events.options,n)})),u(i.eventTypes,r.types),i.prototype.pointerEvents=function(e){return s(this.events.options,e),this};var c=i.prototype._backCompatOption;i.prototype._backCompatOption=function(e,t){var n=c.call(this,e,t);return n===this&&(this.events.options[e]=t),n},i.settingsMethods.push("pointerEvents")},{"../Interactable":4,"../scope":33,"../utils/arr":35,"../utils/extend":41,"../utils/is":46,"./base":30}],33:[function(e,t,n){"use strict";var r=e("./utils"),i=e("./utils/events"),o=e("./utils/Signals").new(),a=e("./utils/window").getWindow,s={signals:o,events:i,utils:r,document:e("./utils/domObjects").document,documents:[],addDocument:function(e,t){if(r.contains(s.documents,e))return!1;t=t||a(e),s.documents.push(e),i.documents.push(e),e!==s.document&&i.add(t,"unload",s.onWindowUnload),o.fire("add-document",{doc:e,win:t})},removeDocument:function(e,t){var n=s.documents.indexOf(e);t=t||a(e),i.remove(t,"unload",s.onWindowUnload),s.documents.splice(n,1),i.documents.splice(n,1),o.fire("remove-document",{win:t,doc:e})},onWindowUnload:function(){s.removeDocument(this.document,this)}};t.exports=s},{"./utils":44,"./utils/Signals":34,"./utils/domObjects":38,"./utils/events":40,"./utils/window":52}],34:[function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var i=function(){function e(){r(this,e),this.listeners={}}return e.prototype.on=function(e,t){this.listeners[e]?this.listeners[e].push(t):this.listeners[e]=[t]},e.prototype.off=function(e,t){if(this.listeners[e]){var n=this.listeners[e].indexOf(t);-1!==n&&this.listeners[e].splice(n,1)}},e.prototype.fire=function(e,t){var n=this.listeners[e];if(n)for(var r=0;r<n.length;r++)if(!1===(0,n[r])(t,e))return},e}();i.new=function(){return new i},t.exports=i},{}],35:[function(e,t,n){"use strict";function r(e,t){return-1!==e.indexOf(t)}function i(e,t){for(var n=0;n<t.length;n++){var r=t[n];e.push(r)}return e}t.exports={contains:r,merge:i}},{}],36:[function(e,t,n){"use strict";var r=e("./window").window,i=e("./is"),o=e("./domObjects"),a=o.Element,s=r.navigator,u={supportsTouch:!!("ontouchstart"in r||i.function(r.DocumentTouch)&&o.document instanceof r.DocumentTouch),supportsPointerEvent:!!o.PointerEvent,isIOS:/iP(hone|od|ad)/.test(s.platform),isIOS7:/iP(hone|od|ad)/.test(s.platform)&&/OS 7[^\d]/.test(s.appVersion),isIe9:/MSIE 9/.test(s.userAgent),prefixedMatchesSelector:"matches"in a.prototype?"matches":"webkitMatchesSelector"in a.prototype?"webkitMatchesSelector":"mozMatchesSelector"in a.prototype?"mozMatchesSelector":"oMatchesSelector"in a.prototype?"oMatchesSelector":"msMatchesSelector",pEventTypes:o.PointerEvent?o.PointerEvent===r.MSPointerEvent?{up:"MSPointerUp",down:"MSPointerDown",over:"mouseover",out:"mouseout",move:"MSPointerMove",cancel:"MSPointerCancel"}:{up:"pointerup",down:"pointerdown",over:"pointerover",out:"pointerout",move:"pointermove",cancel:"pointercancel"}:null,wheelEvent:"onmousewheel"in o.document?"mousewheel":"wheel"};u.isOperaMobile="Opera"===s.appName&&u.supportsTouch&&s.userAgent.match("Presto"),t.exports=u},{"./domObjects":38,"./is":46,"./window":52}],37:[function(e,t,n){"use strict";var r=e("./is");t.exports=function e(t){var n={};for(var i in t)r.plainObject(t[i])?n[i]=e(t[i]):n[i]=t[i];return n}},{"./is":46}],38:[function(e,t,n){"use strict";var r={},i=e("./window").window;function o(){}r.document=i.document,r.DocumentFragment=i.DocumentFragment||o,r.SVGElement=i.SVGElement||o,r.SVGSVGElement=i.SVGSVGElement||o,r.SVGElementInstance=i.SVGElementInstance||o,r.Element=i.Element||o,r.HTMLElement=i.HTMLElement||r.Element,r.Event=i.Event,r.Touch=i.Touch||o,r.PointerEvent=i.PointerEvent||i.MSPointerEvent,t.exports=r},{"./window":52}],39:[function(e,t,n){"use strict";var r=e("./window"),i=e("./browser"),o=e("./is"),a=e("./domObjects"),s={nodeContains:function(e,t){for(;t;){if(t===e)return!0;t=t.parentNode}return!1},closest:function(e,t){for(;o.element(e);){if(s.matchesSelector(e,t))return e;e=s.parentNode(e)}return null},parentNode:function(e){var t=e.parentNode;if(o.docFrag(t)){for(;(t=t.host)&&o.docFrag(t););return t}return t},matchesSelector:function(e,t){return r.window!==r.realWindow&&(t=t.replace(/\/deep\//g," ")),e[i.prefixedMatchesSelector](t)},indexOfDeepestElement:function(e){var t=[],n=[],r=void 0,i=e[0],o=i?0:-1,s=void 0,u=void 0,c=void 0,l=void 0;for(c=1;c<e.length;c++)if((r=e[c])&&r!==i)if(i){if(r.parentNode!==r.ownerDocument)if(i.parentNode!==r.ownerDocument){if(!t.length)for(s=i;s.parentNode&&s.parentNode!==s.ownerDocument;)t.unshift(s),s=s.parentNode;if(i instanceof a.HTMLElement&&r instanceof a.SVGElement&&!(r instanceof a.SVGSVGElement)){if(r===i.parentNode)continue;s=r.ownerSVGElement}else s=r;for(n=[];s.parentNode!==s.ownerDocument;)n.unshift(s),s=s.parentNode;for(l=0;n[l]&&n[l]===t[l];)l++;var f=[n[l-1],n[l],t[l]];for(u=f[0].lastChild;u;){if(u===f[1]){i=r,o=c,t=[];break}if(u===f[2])break;u=u.previousSibling}}else i=r,o=c}else i=r,o=c;return o},matchesUpTo:function(e,t,n){for(;o.element(e);){if(s.matchesSelector(e,t))return!0;if((e=s.parentNode(e))===n)return s.matchesSelector(e,t)}return!1},getActualElement:function(e){return e instanceof a.SVGElementInstance?e.correspondingUseElement:e},getScrollXY:function(e){return{x:(e=e||r.window).scrollX||e.document.documentElement.scrollLeft,y:e.scrollY||e.document.documentElement.scrollTop}},getElementClientRect:function(e){var t=e instanceof a.SVGElement?e.getBoundingClientRect():e.getClientRects()[0];return t&&{left:t.left,right:t.right,top:t.top,bottom:t.bottom,width:t.width||t.right-t.left,height:t.height||t.bottom-t.top}},getElementRect:function(e){var t=s.getElementClientRect(e);if(!i.isIOS7&&t){var n=s.getScrollXY(r.getWindow(e));t.left+=n.x,t.right+=n.x,t.top+=n.y,t.bottom+=n.y}return t},getPath:function(e){for(var t=[];e;)t.push(e),e=s.parentNode(e);return t},trySelector:function(e){return!!o.string(e)&&(a.document.querySelector(e),!0)}};t.exports=s},{"./browser":36,"./domObjects":38,"./is":46,"./window":52}],40:[function(e,t,n){"use strict";var r,i=e("./is"),o=e("./domUtils"),a=e("./pointerUtils"),s=e("./pointerExtend"),u=e("./window").window,c=e("./arr").contains,l=[],f=[],d={},p=[],h=(r=!1,u.document.createElement("div").addEventListener("test",null,{get capture(){r=!0}}),r);function g(e,t,n,r){var i=T(r),o=l.indexOf(e),a=f[o];a||(a={events:{},typeCount:0},o=l.push(e)-1,f.push(a)),a.events[t]||(a.events[t]=[],a.typeCount++),c(a.events[t],n)||(e.addEventListener(t,n,h?i:!!i.capture),a.events[t].push(n))}function m(e,t,n,r){var i=T(r),o=l.indexOf(e),a=f[o];if(a&&a.events)if("all"!==t){if(a.events[t]){var s=a.events[t].length;if("all"===n){for(var u=0;u<s;u++)m(e,t,a.events[t][u],i);return}for(var c=0;c<s;c++)if(a.events[t][c]===n){e.removeEventListener("on"+t,n,h?i:!!i.capture),a.events[t].splice(c,1);break}a.events[t]&&0===a.events[t].length&&(a.events[t]=null,a.typeCount--)}a.typeCount||(f.splice(o,1),l.splice(o,1))}else for(t in a.events)a.events.hasOwnProperty(t)&&m(e,t,"all")}function y(e,t,n,r,i){var o=T(i);if(!d[n]){d[n]={selectors:[],contexts:[],listeners:[]};for(var a=0;a<p.length;a++){var s=p[a];g(s,n,b),g(s,n,_,!0)}}var u=d[n],c=void 0;for(c=u.selectors.length-1;c>=0&&(u.selectors[c]!==e||u.contexts[c]!==t);c--);-1===c&&(c=u.selectors.length,u.selectors.push(e),u.contexts.push(t),u.listeners.push([])),u.listeners[c].push([r,!!o.capture,o.passive])}function v(e,t,n,r,i){var o=T(i),a=d[n],s=!1,u=void 0;if(a)for(u=a.selectors.length-1;u>=0;u--)if(a.selectors[u]===e&&a.contexts[u]===t){for(var c=a.listeners[u],l=c.length-1;l>=0;l--){var f=c[l],p=f[0],h=f[1],g=f[2];if(p===r&&h===!!o.capture&&g===o.passive){c.splice(l,1),c.length||(a.selectors.splice(u,1),a.contexts.splice(u,1),a.listeners.splice(u,1),m(t,n,b),m(t,n,_,!0),a.selectors.length||(d[n]=null)),s=!0;break}}if(s)break}}function b(e,t){var n=T(t),r={},u=d[e.type],c=a.getEventTargets(e)[0],l=c;for(s(r,e),r.originalEvent=e,r.preventDefault=w;i.element(l);){for(var f=0;f<u.selectors.length;f++){var p=u.selectors[f],h=u.contexts[f];if(o.matchesSelector(l,p)&&o.nodeContains(h,c)&&o.nodeContains(h,l)){var g=u.listeners[f];r.currentTarget=l;for(var m=0;m<g.length;m++){var y=g[m],v=y[0],b=y[1],_=y[2];b===!!n.capture&&_===n.passive&&v(r)}}}l=o.parentNode(l)}}function _(e){return b.call(this,e,!0)}function w(){this.originalEvent.preventDefault()}function T(e){return i.object(e)?e:{capture:e}}t.exports={add:g,remove:m,addDelegate:y,removeDelegate:v,delegateListener:b,delegateUseCapture:_,delegatedEvents:d,documents:p,supportsOptions:h,_elements:l,_targets:f}},{"./arr":35,"./domUtils":39,"./is":46,"./pointerExtend":48,"./pointerUtils":49,"./window":52}],41:[function(e,t,n){"use strict";t.exports=function(e,t){for(var n in t)e[n]=t[n];return e}},{}],42:[function(e,t,n){"use strict";var r=e("./rect"),i=r.resolveRectLike,o=r.rectToXY;t.exports=function(e,t,n){var r=e.options[n],a=r&&r.origin||e.options.origin,s=i(a,e,t,[e&&t]);return o(s)||{x:0,y:0}}},{"./rect":51}],43:[function(e,t,n){"use strict";t.exports=function(e,t){return Math.sqrt(e*e+t*t)}},{}],44:[function(e,t,n){"use strict";var r=e("./extend"),i=e("./window"),o={warnOnce:function(e,t){var n=!1;return function(){return n||(i.window.console.warn(t),n=!0),e.apply(this,arguments)}},_getQBezierValue:function(e,t,n,r){var i=1-e;return i*i*t+2*i*e*n+e*e*r},getQuadraticCurvePoint:function(e,t,n,r,i,a,s){return{x:o._getQBezierValue(s,e,n,i),y:o._getQBezierValue(s,t,r,a)}},easeOutQuad:function(e,t,n,r){return-n*(e/=r)*(e-2)+t},copyAction:function(e,t){return e.name=t.name,e.axis=t.axis,e.edges=t.edges,e},is:e("./is"),extend:r,hypot:e("./hypot"),getOriginXY:e("./getOriginXY")};r(o,e("./arr")),r(o,e("./domUtils")),r(o,e("./pointerUtils")),r(o,e("./rect")),t.exports=o},{"./arr":35,"./domUtils":39,"./extend":41,"./getOriginXY":42,"./hypot":43,"./is":46,"./pointerUtils":49,"./rect":51,"./window":52}],45:[function(e,t,n){"use strict";var r=e("../scope"),i=e("./index"),o={methodOrder:["simulationResume","mouseOrPen","hasPointer","idle"],search:function(e,t,n){for(var r=i.getPointerType(e),a={pointer:e,pointerId:i.getPointerId(e),pointerType:r,eventType:t,eventTarget:n},s=0;s<o.methodOrder.length;s++){var u;u=o.methodOrder[s];var c=o[u](a);if(c)return c}},simulationResume:function(e){var t=e.pointerType,n=e.eventType,o=e.eventTarget;if(!/down|start/i.test(n))return null;for(var a=0;a<r.interactions.length;a++){var s=r.interactions[a],u=o;if(s.simulation&&s.simulation.allowResume&&s.pointerType===t)for(;u;){if(u===s.element)return s;u=i.parentNode(u)}}return null},mouseOrPen:function(e){var t=e.pointerId,n=e.pointerType,o=e.eventType;if("mouse"!==n&&"pen"!==n)return null;for(var a=void 0,s=0;s<r.interactions.length;s++){var u=r.interactions[s];if(u.pointerType===n){if(u.simulation&&!i.contains(u.pointerIds,t))continue;if(u.interacting())return u;a||(a=u)}}if(a)return a;for(var c=0;c<r.interactions.length;c++){var l=r.interactions[c];if(!(l.pointerType!==n||/down/i.test(o)&&l.simulation))return l}return null},hasPointer:function(e){for(var t=e.pointerId,n=0;n<r.interactions.length;n++){var o=r.interactions[n];if(i.contains(o.pointerIds,t))return o}},idle:function(e){for(var t=e.pointerType,n=0;n<r.interactions.length;n++){var i=r.interactions[n];if(1===i.pointerIds.length){var o=i.target;if(o&&!o.options.gesture.enabled)continue}else if(i.pointerIds.length>=2)continue;if(!i.interacting()&&t===i.pointerType)return i}return null}};t.exports=o},{"../scope":33,"./index":44}],46:[function(e,t,n){"use strict";var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=e("./window"),o=e("./isWindow"),a={array:function(){},window:function(e){return e===i.window||o(e)},docFrag:function(e){return a.object(e)&&11===e.nodeType},object:function(e){return!!e&&"object"===(void 0===e?"undefined":r(e))},function:function(e){return"function"==typeof e},number:function(e){return"number"==typeof e},bool:function(e){return"boolean"==typeof e},string:function(e){return"string"==typeof e},element:function(e){if(!e||"object"!==(void 0===e?"undefined":r(e)))return!1;var t=i.getWindow(e)||i.window;return/object|function/.test(r(t.Element))?e instanceof t.Element:1===e.nodeType&&"string"==typeof e.nodeName},plainObject:function(e){return a.object(e)&&"Object"===e.constructor.name}};a.array=function(e){return a.object(e)&&void 0!==e.length&&a.function(e.splice)},t.exports=a},{"./isWindow":47,"./window":52}],47:[function(e,t,n){"use strict";t.exports=function(e){return!(!e||!e.Window)&&e instanceof e.Window}},{}],48:[function(e,t,n){"use strict";function r(e,n){for(var r in n){var i=t.exports.prefixedPropREs,o=!1;for(var a in i)if(0===r.indexOf(a)&&i[a].test(r)){o=!0;break}o||"function"==typeof n[r]||(e[r]=n[r])}return e}r.prefixedPropREs={webkit:/(Movement[XY]|Radius[XY]|RotationAngle|Force)$/},t.exports=r},{}],49:[function(e,t,n){"use strict";var r=e("./hypot"),i=e("./browser"),o=e("./domObjects"),a=e("./domUtils"),s=e("./domObjects"),u=e("./is"),c={copyCoords:function(e,t){e.page=e.page||{},e.page.x=t.page.x,e.page.y=t.page.y,e.client=e.client||{},e.client.x=t.client.x,e.client.y=t.client.y,e.timeStamp=t.timeStamp},setCoordDeltas:function(e,t,n){e.page.x=n.page.x-t.page.x,e.page.y=n.page.y-t.page.y,e.client.x=n.client.x-t.client.x,e.client.y=n.client.y-t.client.y,e.timeStamp=n.timeStamp-t.timeStamp;var i=Math.max(e.timeStamp/1e3,.001);e.page.speed=r(e.page.x,e.page.y)/i,e.page.vx=e.page.x/i,e.page.vy=e.page.y/i,e.client.speed=r(e.client.x,e.page.y)/i,e.client.vx=e.client.x/i,e.client.vy=e.client.y/i},isNativePointer:function(e){return e instanceof o.Event||e instanceof o.Touch},getXY:function(e,t,n){return e=e||"page",(n=n||{}).x=t[e+"X"],n.y=t[e+"Y"],n},getPageXY:function(e,t){return t=t||{},i.isOperaMobile&&c.isNativePointer(e)?(c.getXY("screen",e,t),t.x+=window.scrollX,t.y+=window.scrollY):c.getXY("page",e,t),t},getClientXY:function(e,t){return t=t||{},i.isOperaMobile&&c.isNativePointer(e)?c.getXY("screen",e,t):c.getXY("client",e,t),t},getPointerId:function(e){return u.number(e.pointerId)?e.pointerId:e.identifier},setCoords:function(e,t,n){var r=t.length>1?c.pointerAverage(t):t[0],i={};c.getPageXY(r,i),e.page.x=i.x,e.page.y=i.y,c.getClientXY(r,i),e.client.x=i.x,e.client.y=i.y,e.timeStamp=u.number(n)?n:(new Date).getTime()},pointerExtend:e("./pointerExtend"),getTouchPair:function(e){var t=[];return u.array(e)?(t[0]=e[0],t[1]=e[1]):"touchend"===e.type?1===e.touches.length?(t[0]=e.touches[0],t[1]=e.changedTouches[0]):0===e.touches.length&&(t[0]=e.changedTouches[0],t[1]=e.changedTouches[1]):(t[0]=e.touches[0],t[1]=e.touches[1]),t},pointerAverage:function(e){for(var t={pageX:0,pageY:0,clientX:0,clientY:0,screenX:0,screenY:0},n=0;n<e.length;n++){var r=e[n];for(var i in t)t[i]+=r[i]}for(var o in t)t[o]/=e.length;return t},touchBBox:function(e){if(e.length||e.touches&&e.touches.length>1){var t=c.getTouchPair(e),n=Math.min(t[0].pageX,t[1].pageX),r=Math.min(t[0].pageY,t[1].pageY);return{x:n,y:r,left:n,top:r,width:Math.max(t[0].pageX,t[1].pageX)-n,height:Math.max(t[0].pageY,t[1].pageY)-r}}},touchDistance:function(e,t){var n=t+"X",i=t+"Y",o=c.getTouchPair(e),a=o[0][n]-o[1][n],s=o[0][i]-o[1][i];return r(a,s)},touchAngle:function(e,t,n){var r=n+"X",i=n+"Y",o=c.getTouchPair(e),a=o[1][r]-o[0][r],s=o[1][i]-o[0][i];return 180*Math.atan2(s,a)/Math.PI},getPointerType:function(e){return u.string(e.pointerType)?e.pointerType:u.number(e.pointerType)?[void 0,void 0,"touch","pen","mouse"][e.pointerType]:/touch/.test(e.type)||e instanceof s.Touch?"touch":"mouse"},getEventTargets:function(e){var t=u.function(e.composedPath)?e.composedPath():e.path;return[a.getActualElement(t?t[0]:e.target),a.getActualElement(e.currentTarget)]}};t.exports=c},{"./browser":36,"./domObjects":38,"./domUtils":39,"./hypot":43,"./is":46,"./pointerExtend":48}],50:[function(e,t,n){"use strict";for(var r=e("./window").window,i=["ms","moz","webkit","o"],o=0,a=void 0,s=void 0,u=0;u<i.length&&!r.requestAnimationFrame;u++)a=r[i[u]+"RequestAnimationFrame"],s=r[i[u]+"CancelAnimationFrame"]||r[i[u]+"CancelRequestAnimationFrame"];a||(a=function(e){var t=(new Date).getTime(),n=Math.max(0,16-(t-o)),r=setTimeout((function(){e(t+n)}),n);return o=t+n,r}),s||(s=function(e){clearTimeout(e)}),t.exports={request:a,cancel:s}},{"./window":52}],51:[function(e,t,n){"use strict";var r=e("./extend"),i=e("./is"),o=e("./domUtils"),a=o.closest,s=o.parentNode,u=o.getElementRect,c={getStringOptionResult:function(e,t,n){return i.string(e)?e="parent"===e?s(n):"self"===e?t.getRect(n):a(n,e):null},resolveRectLike:function(e,t,n,r){return e=c.getStringOptionResult(e,t,n)||e,i.function(e)&&(e=e.apply(null,r)),i.element(e)&&(e=u(e)),e},rectToXY:function(e){return e&&{x:"x"in e?e.x:e.left,y:"y"in e?e.y:e.top}},xywhToTlbr:function(e){return!e||"left"in e&&"top"in e||((e=r({},e)).left=e.x||0,e.top=e.y||0,e.right=e.right||e.left+e.width,e.bottom=e.bottom||e.top+e.height),e},tlbrToXywh:function(e){return!e||"x"in e&&"y"in e||((e=r({},e)).x=e.left||0,e.top=e.top||0,e.width=e.width||e.right-e.x,e.height=e.height||e.bottom-e.y),e}};t.exports=c},{"./domUtils":39,"./extend":41,"./is":46}],52:[function(e,t,n){"use strict";var r=t.exports,i=e("./isWindow");function o(e){r.realWindow=e;var t=e.document.createTextNode("");t.ownerDocument!==e.document&&"function"==typeof e.wrap&&e.wrap(t)===t&&(e=e.wrap(e)),r.window=e}"undefined"==typeof window?(r.window=void 0,r.realWindow=void 0):o(window),r.getWindow=function(e){if(i(e))return e;var t=e.ownerDocument||e;return t.defaultView||t.parentWindow||r.window},r.init=o},{"./isWindow":47}]},{},[1])(1)},66337:function(){!function(){"use strict";if("object"==typeof window)if("IntersectionObserver"in window&&"IntersectionObserverEntry"in window&&"intersectionRatio"in window.IntersectionObserverEntry.prototype)"isIntersecting"in window.IntersectionObserverEntry.prototype||Object.defineProperty(window.IntersectionObserverEntry.prototype,"isIntersecting",{get:function(){return this.intersectionRatio>0}});else{var e=function(e){for(var t=window.document,n=i(t);n;)n=i(t=n.ownerDocument);return t}(),t=[],n=null,r=null;a.prototype.THROTTLE_TIMEOUT=100,a.prototype.POLL_INTERVAL=null,a.prototype.USE_MUTATION_OBSERVER=!0,a._setupCrossOriginUpdater=function(){return n||(n=function(e,n){r=e&&n?f(e,n):{top:0,bottom:0,left:0,right:0,width:0,height:0},t.forEach((function(e){e._checkForIntersections()}))}),n},a._resetCrossOriginUpdater=function(){n=null,r=null},a.prototype.observe=function(e){if(!this._observationTargets.some((function(t){return t.element==e}))){if(!e||1!=e.nodeType)throw new Error("target must be an Element");this._registerInstance(),this._observationTargets.push({element:e,entry:null}),this._monitorIntersections(e.ownerDocument),this._checkForIntersections()}},a.prototype.unobserve=function(e){this._observationTargets=this._observationTargets.filter((function(t){return t.element!=e})),this._unmonitorIntersections(e.ownerDocument),0==this._observationTargets.length&&this._unregisterInstance()},a.prototype.disconnect=function(){this._observationTargets=[],this._unmonitorAllIntersections(),this._unregisterInstance()},a.prototype.takeRecords=function(){var e=this._queuedEntries.slice();return this._queuedEntries=[],e},a.prototype._initThresholds=function(e){var t=e||[0];return Array.isArray(t)||(t=[t]),t.sort().filter((function(e,t,n){if("number"!=typeof e||isNaN(e)||e<0||e>1)throw new Error("threshold must be a number between 0 and 1 inclusively");return e!==n[t-1]}))},a.prototype._parseRootMargin=function(e){var t=(e||"0px").split(/\s+/).map((function(e){var t=/^(-?\d*\.?\d+)(px|%)$/.exec(e);if(!t)throw new Error("rootMargin must be specified in pixels or percent");return{value:parseFloat(t[1]),unit:t[2]}}));return t[1]=t[1]||t[0],t[2]=t[2]||t[0],t[3]=t[3]||t[1],t},a.prototype._monitorIntersections=function(t){var n=t.defaultView;if(n&&-1==this._monitoringDocuments.indexOf(t)){var r=this._checkForIntersections,o=null,a=null;this.POLL_INTERVAL?o=n.setInterval(r,this.POLL_INTERVAL):(s(n,"resize",r,!0),s(t,"scroll",r,!0),this.USE_MUTATION_OBSERVER&&"MutationObserver"in n&&(a=new n.MutationObserver(r)).observe(t,{attributes:!0,childList:!0,characterData:!0,subtree:!0})),this._monitoringDocuments.push(t),this._monitoringUnsubscribes.push((function(){var e=t.defaultView;e&&(o&&e.clearInterval(o),u(e,"resize",r,!0)),u(t,"scroll",r,!0),a&&a.disconnect()}));var c=this.root&&(this.root.ownerDocument||this.root)||e;if(t!=c){var l=i(t);l&&this._monitorIntersections(l.ownerDocument)}}},a.prototype._unmonitorIntersections=function(t){var n=this._monitoringDocuments.indexOf(t);if(-1!=n){var r=this.root&&(this.root.ownerDocument||this.root)||e,o=this._observationTargets.some((function(e){var n=e.element.ownerDocument;if(n==t)return!0;for(;n&&n!=r;){var o=i(n);if((n=o&&o.ownerDocument)==t)return!0}return!1}));if(!o){var a=this._monitoringUnsubscribes[n];if(this._monitoringDocuments.splice(n,1),this._monitoringUnsubscribes.splice(n,1),a(),t!=r){var s=i(t);s&&this._unmonitorIntersections(s.ownerDocument)}}}},a.prototype._unmonitorAllIntersections=function(){var e=this._monitoringUnsubscribes.slice(0);this._monitoringDocuments.length=0,this._monitoringUnsubscribes.length=0;for(var t=0;t<e.length;t++)e[t]()},a.prototype._checkForIntersections=function(){if(this.root||!n||r){var e=this._rootIsInDom(),t=e?this._getRootRect():{top:0,bottom:0,left:0,right:0,width:0,height:0};this._observationTargets.forEach((function(r){var i=r.element,a=c(i),s=this._rootContainsTarget(i),u=r.entry,l=e&&s&&this._computeTargetAndRootIntersection(i,a,t),f=null;this._rootContainsTarget(i)?n&&!this.root||(f=t):f={top:0,bottom:0,left:0,right:0,width:0,height:0};var d=r.entry=new o({time:window.performance&&performance.now&&performance.now(),target:i,boundingClientRect:a,rootBounds:f,intersectionRect:l});u?e&&s?this._hasCrossedThreshold(u,d)&&this._queuedEntries.push(d):u&&u.isIntersecting&&this._queuedEntries.push(d):this._queuedEntries.push(d)}),this),this._queuedEntries.length&&this._callback(this.takeRecords(),this)}},a.prototype._computeTargetAndRootIntersection=function(t,i,o){if("none"!=window.getComputedStyle(t).display){for(var a,s,u,l,d,h,g,m,y=i,v=p(t),b=!1;!b&&v;){var _=null,w=1==v.nodeType?window.getComputedStyle(v):{};if("none"==w.display)return null;if(v==this.root||9==v.nodeType)if(b=!0,v==this.root||v==e)n&&!this.root?!r||0==r.width&&0==r.height?(v=null,_=null,y=null):_=r:_=o;else{var T=p(v),x=T&&c(T),S=T&&this._computeTargetAndRootIntersection(T,x,o);x&&S?(v=T,_=f(x,S)):(v=null,y=null)}else{var k=v.ownerDocument;v!=k.body&&v!=k.documentElement&&"visible"!=w.overflow&&(_=c(v))}if(_&&(a=_,s=y,u=void 0,l=void 0,d=void 0,h=void 0,g=void 0,m=void 0,u=Math.max(a.top,s.top),l=Math.min(a.bottom,s.bottom),d=Math.max(a.left,s.left),h=Math.min(a.right,s.right),m=l-u,y=(g=h-d)>=0&&m>=0&&{top:u,bottom:l,left:d,right:h,width:g,height:m}||null),!y)break;v=v&&p(v)}return y}},a.prototype._getRootRect=function(){var t;if(this.root&&!h(this.root))t=c(this.root);else{var n=h(this.root)?this.root:e,r=n.documentElement,i=n.body;t={top:0,left:0,right:r.clientWidth||i.clientWidth,width:r.clientWidth||i.clientWidth,bottom:r.clientHeight||i.clientHeight,height:r.clientHeight||i.clientHeight}}return this._expandRectByRootMargin(t)},a.prototype._expandRectByRootMargin=function(e){var t=this._rootMarginValues.map((function(t,n){return"px"==t.unit?t.value:t.value*(n%2?e.width:e.height)/100})),n={top:e.top-t[0],right:e.right+t[1],bottom:e.bottom+t[2],left:e.left-t[3]};return n.width=n.right-n.left,n.height=n.bottom-n.top,n},a.prototype._hasCrossedThreshold=function(e,t){var n=e&&e.isIntersecting?e.intersectionRatio||0:-1,r=t.isIntersecting?t.intersectionRatio||0:-1;if(n!==r)for(var i=0;i<this.thresholds.length;i++){var o=this.thresholds[i];if(o==n||o==r||o<n!=o<r)return!0}},a.prototype._rootIsInDom=function(){return!this.root||d(e,this.root)},a.prototype._rootContainsTarget=function(t){var n=this.root&&(this.root.ownerDocument||this.root)||e;return d(n,t)&&(!this.root||n==t.ownerDocument)},a.prototype._registerInstance=function(){t.indexOf(this)<0&&t.push(this)},a.prototype._unregisterInstance=function(){var e=t.indexOf(this);-1!=e&&t.splice(e,1)},window.IntersectionObserver=a,window.IntersectionObserverEntry=o}function i(e){try{return e.defaultView&&e.defaultView.frameElement||null}catch(e){return null}}function o(e){this.time=e.time,this.target=e.target,this.rootBounds=l(e.rootBounds),this.boundingClientRect=l(e.boundingClientRect),this.intersectionRect=l(e.intersectionRect||{top:0,bottom:0,left:0,right:0,width:0,height:0}),this.isIntersecting=!!e.intersectionRect;var t=this.boundingClientRect,n=t.width*t.height,r=this.intersectionRect,i=r.width*r.height;this.intersectionRatio=n?Number((i/n).toFixed(4)):this.isIntersecting?1:0}function a(e,t){var n,r,i,o=t||{};if("function"!=typeof e)throw new Error("callback must be a function");if(o.root&&1!=o.root.nodeType&&9!=o.root.nodeType)throw new Error("root must be a Document or Element");this._checkForIntersections=(n=this._checkForIntersections.bind(this),r=this.THROTTLE_TIMEOUT,i=null,function(){i||(i=setTimeout((function(){n(),i=null}),r))}),this._callback=e,this._observationTargets=[],this._queuedEntries=[],this._rootMarginValues=this._parseRootMargin(o.rootMargin),this.thresholds=this._initThresholds(o.threshold),this.root=o.root||null,this.rootMargin=this._rootMarginValues.map((function(e){return e.value+e.unit})).join(" "),this._monitoringDocuments=[],this._monitoringUnsubscribes=[]}function s(e,t,n,r){"function"==typeof e.addEventListener?e.addEventListener(t,n,r||!1):"function"==typeof e.attachEvent&&e.attachEvent("on"+t,n)}function u(e,t,n,r){"function"==typeof e.removeEventListener?e.removeEventListener(t,n,r||!1):"function"==typeof e.detatchEvent&&e.detatchEvent("on"+t,n)}function c(e){var t;try{t=e.getBoundingClientRect()}catch(e){}return t?(t.width&&t.height||(t={top:t.top,right:t.right,bottom:t.bottom,left:t.left,width:t.right-t.left,height:t.bottom-t.top}),t):{top:0,bottom:0,left:0,right:0,width:0,height:0}}function l(e){return!e||"x"in e?e:{top:e.top,y:e.top,bottom:e.bottom,left:e.left,x:e.left,right:e.right,width:e.width,height:e.height}}function f(e,t){var n=t.top-e.top,r=t.left-e.left;return{top:n,left:r,height:t.height,width:t.width,bottom:n+t.height,right:r+t.width}}function d(e,t){for(var n=t;n;){if(n==e)return!0;n=p(n)}return!1}function p(t){var n=t.parentNode;return 9==t.nodeType&&t!=e?i(t):(n&&n.assignedSlot&&(n=n.assignedSlot.parentNode),n&&11==n.nodeType&&n.host?n.host:n)}function h(e){return e&&9===e.nodeType}}()},41143:function(e){"use strict";e.exports=function(e,t,n,r,i,o,a,s){if(!e){var u;if(void 0===t)u=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[n,r,i,o,a,s],l=0;(u=new Error(t.replace(/%s/g,(function(){return c[l++]})))).name="Invariant Violation"}throw u.framesToPop=1,u}}},27376:function(e){e.exports=function(e){var n=t.call(e);return"[object Function]"===n||"function"==typeof e&&"[object RegExp]"!==n||"undefined"!=typeof window&&(e===window.setTimeout||e===window.alert||e===window.confirm||e===window.prompt)};var t=Object.prototype.toString},5826:function(e){var t={}.toString;e.exports=Array.isArray||function(e){return"[object Array]"==t.call(e)}},19755:function(e,t){var n;!function(t,n){"use strict";"object"==typeof e.exports?e.exports=t.document?n(t,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return n(e)}:n(t)}("undefined"!=typeof window?window:this,(function(r,i){"use strict";var o=[],a=Object.getPrototypeOf,s=o.slice,u=o.flat?function(e){return o.flat.call(e)}:function(e){return o.concat.apply([],e)},c=o.push,l=o.indexOf,f={},d=f.toString,p=f.hasOwnProperty,h=p.toString,g=h.call(Object),m={},y=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType&&"function"!=typeof e.item},v=function(e){return null!=e&&e===e.window},b=r.document,_={type:!0,src:!0,nonce:!0,noModule:!0};function w(e,t,n){var r,i,o=(n=n||b).createElement("script");if(o.text=e,t)for(r in _)(i=t[r]||t.getAttribute&&t.getAttribute(r))&&o.setAttribute(r,i);n.head.appendChild(o).parentNode.removeChild(o)}function T(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?f[d.call(e)]||"object":typeof e}var x="3.6.0",S=function(e,t){return new S.fn.init(e,t)};function k(e){var t=!!e&&"length"in e&&e.length,n=T(e);return!y(e)&&!v(e)&&("array"===n||0===t||"number"==typeof t&&t>0&&t-1 in e)}S.fn=S.prototype={jquery:x,constructor:S,length:0,toArray:function(){return s.call(this)},get:function(e){return null==e?s.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=S.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return S.each(this,e)},map:function(e){return this.pushStack(S.map(this,(function(t,n){return e.call(t,n,t)})))},slice:function(){return this.pushStack(s.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(S.grep(this,(function(e,t){return(t+1)%2})))},odd:function(){return this.pushStack(S.grep(this,(function(e,t){return t%2})))},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(n>=0&&n<t?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:c,sort:o.sort,splice:o.splice},S.extend=S.fn.extend=function(){var e,t,n,r,i,o,a=arguments[0]||{},s=1,u=arguments.length,c=!1;for("boolean"==typeof a&&(c=a,a=arguments[s]||{},s++),"object"==typeof a||y(a)||(a={}),s===u&&(a=this,s--);s<u;s++)if(null!=(e=arguments[s]))for(t in e)r=e[t],"__proto__"!==t&&a!==r&&(c&&r&&(S.isPlainObject(r)||(i=Array.isArray(r)))?(n=a[t],o=i&&!Array.isArray(n)?[]:i||S.isPlainObject(n)?n:{},i=!1,a[t]=S.extend(c,o,r)):void 0!==r&&(a[t]=r));return a},S.extend({expando:"jQuery"+(x+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isPlainObject:function(e){var t,n;return!(!e||"[object Object]"!==d.call(e))&&(!(t=a(e))||"function"==typeof(n=p.call(t,"constructor")&&t.constructor)&&h.call(n)===g)},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},globalEval:function(e,t,n){w(e,{nonce:t&&t.nonce},n)},each:function(e,t){var n,r=0;if(k(e))for(n=e.length;r<n&&!1!==t.call(e[r],r,e[r]);r++);else for(r in e)if(!1===t.call(e[r],r,e[r]))break;return e},makeArray:function(e,t){var n=t||[];return null!=e&&(k(Object(e))?S.merge(n,"string"==typeof e?[e]:e):c.call(n,e)),n},inArray:function(e,t,n){return null==t?-1:l.call(t,e,n)},merge:function(e,t){for(var n=+t.length,r=0,i=e.length;r<n;r++)e[i++]=t[r];return e.length=i,e},grep:function(e,t,n){for(var r=[],i=0,o=e.length,a=!n;i<o;i++)!t(e[i],i)!==a&&r.push(e[i]);return r},map:function(e,t,n){var r,i,o=0,a=[];if(k(e))for(r=e.length;o<r;o++)null!=(i=t(e[o],o,n))&&a.push(i);else for(o in e)null!=(i=t(e[o],o,n))&&a.push(i);return u(a)},guid:1,support:m}),"function"==typeof Symbol&&(S.fn[Symbol.iterator]=o[Symbol.iterator]),S.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),(function(e,t){f["[object "+t+"]"]=t.toLowerCase()}));var E=function(e){var t,n,r,i,o,a,s,u,c,l,f,d,p,h,g,m,y,v,b,_="sizzle"+1*new Date,w=e.document,T=0,x=0,S=ue(),k=ue(),E=ue(),O=ue(),C=function(e,t){return e===t&&(f=!0),0},L={}.hasOwnProperty,A=[],I=A.pop,P=A.push,M=A.push,R=A.slice,j=function(e,t){for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1},D="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",N="[\\x20\\t\\r\\n\\f]",B="(?:\\\\[\\da-fA-F]{1,6}[\\x20\\t\\r\\n\\f]?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",U="\\[[\\x20\\t\\r\\n\\f]*("+B+")(?:"+N+"*([*^$|!~]?=)"+N+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+B+"))|)"+N+"*\\]",F=":("+B+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+U+")*)|.*)\\)|)",z=new RegExp(N+"+","g"),H=new RegExp("^[\\x20\\t\\r\\n\\f]+|((?:^|[^\\\\])(?:\\\\.)*)[\\x20\\t\\r\\n\\f]+$","g"),Z=new RegExp("^[\\x20\\t\\r\\n\\f]*,[\\x20\\t\\r\\n\\f]*"),q=new RegExp("^[\\x20\\t\\r\\n\\f]*([>+~]|[\\x20\\t\\r\\n\\f])[\\x20\\t\\r\\n\\f]*"),V=new RegExp(N+"|>"),W=new RegExp(F),G=new RegExp("^"+B+"$"),$={ID:new RegExp("^#("+B+")"),CLASS:new RegExp("^\\.("+B+")"),TAG:new RegExp("^("+B+"|[*])"),ATTR:new RegExp("^"+U),PSEUDO:new RegExp("^"+F),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\([\\x20\\t\\r\\n\\f]*(even|odd|(([+-]|)(\\d*)n|)[\\x20\\t\\r\\n\\f]*(?:([+-]|)[\\x20\\t\\r\\n\\f]*(\\d+)|))[\\x20\\t\\r\\n\\f]*\\)|)","i"),bool:new RegExp("^(?:"+D+")$","i"),needsContext:new RegExp("^[\\x20\\t\\r\\n\\f]*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\([\\x20\\t\\r\\n\\f]*((?:-\\d)?\\d*)[\\x20\\t\\r\\n\\f]*\\)|)(?=[^-]|$)","i")},Y=/HTML$/i,K=/^(?:input|select|textarea|button)$/i,X=/^h\d$/i,Q=/^[^{]+\{\s*\[native \w/,J=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ee=/[+~]/,te=new RegExp("\\\\[\\da-fA-F]{1,6}[\\x20\\t\\r\\n\\f]?|\\\\([^\\r\\n\\f])","g"),ne=function(e,t){var n="0x"+e.slice(1)-65536;return t||(n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320))},re=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,ie=function(e,t){return t?"\0"===e?"�":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},oe=function(){d()},ae=_e((function(e){return!0===e.disabled&&"fieldset"===e.nodeName.toLowerCase()}),{dir:"parentNode",next:"legend"});try{M.apply(A=R.call(w.childNodes),w.childNodes),A[w.childNodes.length].nodeType}catch(e){M={apply:A.length?function(e,t){P.apply(e,R.call(t))}:function(e,t){for(var n=e.length,r=0;e[n++]=t[r++];);e.length=n-1}}}function se(e,t,r,i){var o,s,c,l,f,h,y,v=t&&t.ownerDocument,w=t?t.nodeType:9;if(r=r||[],"string"!=typeof e||!e||1!==w&&9!==w&&11!==w)return r;if(!i&&(d(t),t=t||p,g)){if(11!==w&&(f=J.exec(e)))if(o=f[1]){if(9===w){if(!(c=t.getElementById(o)))return r;if(c.id===o)return r.push(c),r}else if(v&&(c=v.getElementById(o))&&b(t,c)&&c.id===o)return r.push(c),r}else{if(f[2])return M.apply(r,t.getElementsByTagName(e)),r;if((o=f[3])&&n.getElementsByClassName&&t.getElementsByClassName)return M.apply(r,t.getElementsByClassName(o)),r}if(n.qsa&&!O[e+" "]&&(!m||!m.test(e))&&(1!==w||"object"!==t.nodeName.toLowerCase())){if(y=e,v=t,1===w&&(V.test(e)||q.test(e))){for((v=ee.test(e)&&ye(t.parentNode)||t)===t&&n.scope||((l=t.getAttribute("id"))?l=l.replace(re,ie):t.setAttribute("id",l=_)),s=(h=a(e)).length;s--;)h[s]=(l?"#"+l:":scope")+" "+be(h[s]);y=h.join(",")}try{return M.apply(r,v.querySelectorAll(y)),r}catch(t){O(e,!0)}finally{l===_&&t.removeAttribute("id")}}}return u(e.replace(H,"$1"),t,r,i)}function ue(){var e=[];return function t(n,i){return e.push(n+" ")>r.cacheLength&&delete t[e.shift()],t[n+" "]=i}}function ce(e){return e[_]=!0,e}function le(e){var t=p.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function fe(e,t){for(var n=e.split("|"),i=n.length;i--;)r.attrHandle[n[i]]=t}function de(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(r)return r;if(n)for(;n=n.nextSibling;)if(n===t)return-1;return e?1:-1}function pe(e){return function(t){return"input"===t.nodeName.toLowerCase()&&t.type===e}}function he(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}}function ge(e){return function(t){return"form"in t?t.parentNode&&!1===t.disabled?"label"in t?"label"in t.parentNode?t.parentNode.disabled===e:t.disabled===e:t.isDisabled===e||t.isDisabled!==!e&&ae(t)===e:t.disabled===e:"label"in t&&t.disabled===e}}function me(e){return ce((function(t){return t=+t,ce((function(n,r){for(var i,o=e([],n.length,t),a=o.length;a--;)n[i=o[a]]&&(n[i]=!(r[i]=n[i]))}))}))}function ye(e){return e&&void 0!==e.getElementsByTagName&&e}for(t in n=se.support={},o=se.isXML=function(e){var t=e&&e.namespaceURI,n=e&&(e.ownerDocument||e).documentElement;return!Y.test(t||n&&n.nodeName||"HTML")},d=se.setDocument=function(e){var t,i,a=e?e.ownerDocument||e:w;return a!=p&&9===a.nodeType&&a.documentElement?(h=(p=a).documentElement,g=!o(p),w!=p&&(i=p.defaultView)&&i.top!==i&&(i.addEventListener?i.addEventListener("unload",oe,!1):i.attachEvent&&i.attachEvent("onunload",oe)),n.scope=le((function(e){return h.appendChild(e).appendChild(p.createElement("div")),void 0!==e.querySelectorAll&&!e.querySelectorAll(":scope fieldset div").length})),n.attributes=le((function(e){return e.className="i",!e.getAttribute("className")})),n.getElementsByTagName=le((function(e){return e.appendChild(p.createComment("")),!e.getElementsByTagName("*").length})),n.getElementsByClassName=Q.test(p.getElementsByClassName),n.getById=le((function(e){return h.appendChild(e).id=_,!p.getElementsByName||!p.getElementsByName(_).length})),n.getById?(r.filter.ID=function(e){var t=e.replace(te,ne);return function(e){return e.getAttribute("id")===t}},r.find.ID=function(e,t){if(void 0!==t.getElementById&&g){var n=t.getElementById(e);return n?[n]:[]}}):(r.filter.ID=function(e){var t=e.replace(te,ne);return function(e){var n=void 0!==e.getAttributeNode&&e.getAttributeNode("id");return n&&n.value===t}},r.find.ID=function(e,t){if(void 0!==t.getElementById&&g){var n,r,i,o=t.getElementById(e);if(o){if((n=o.getAttributeNode("id"))&&n.value===e)return[o];for(i=t.getElementsByName(e),r=0;o=i[r++];)if((n=o.getAttributeNode("id"))&&n.value===e)return[o]}return[]}}),r.find.TAG=n.getElementsByTagName?function(e,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(e):n.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,r=[],i=0,o=t.getElementsByTagName(e);if("*"===e){for(;n=o[i++];)1===n.nodeType&&r.push(n);return r}return o},r.find.CLASS=n.getElementsByClassName&&function(e,t){if(void 0!==t.getElementsByClassName&&g)return t.getElementsByClassName(e)},y=[],m=[],(n.qsa=Q.test(p.querySelectorAll))&&(le((function(e){var t;h.appendChild(e).innerHTML="<a id='"+_+"'></a><select id='"+_+"-\r\\' msallowcapture=''><option selected=''></option></select>",e.querySelectorAll("[msallowcapture^='']").length&&m.push("[*^$]=[\\x20\\t\\r\\n\\f]*(?:''|\"\")"),e.querySelectorAll("[selected]").length||m.push("\\[[\\x20\\t\\r\\n\\f]*(?:value|"+D+")"),e.querySelectorAll("[id~="+_+"-]").length||m.push("~="),(t=p.createElement("input")).setAttribute("name",""),e.appendChild(t),e.querySelectorAll("[name='']").length||m.push("\\[[\\x20\\t\\r\\n\\f]*name[\\x20\\t\\r\\n\\f]*=[\\x20\\t\\r\\n\\f]*(?:''|\"\")"),e.querySelectorAll(":checked").length||m.push(":checked"),e.querySelectorAll("a#"+_+"+*").length||m.push(".#.+[+~]"),e.querySelectorAll("\\\f"),m.push("[\\r\\n\\f]")})),le((function(e){e.innerHTML="<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";var t=p.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&m.push("name[\\x20\\t\\r\\n\\f]*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&m.push(":enabled",":disabled"),h.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&m.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),m.push(",.*:")}))),(n.matchesSelector=Q.test(v=h.matches||h.webkitMatchesSelector||h.mozMatchesSelector||h.oMatchesSelector||h.msMatchesSelector))&&le((function(e){n.disconnectedMatch=v.call(e,"*"),v.call(e,"[s!='']:x"),y.push("!=",F)})),m=m.length&&new RegExp(m.join("|")),y=y.length&&new RegExp(y.join("|")),t=Q.test(h.compareDocumentPosition),b=t||Q.test(h.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},C=t?function(e,t){if(e===t)return f=!0,0;var r=!e.compareDocumentPosition-!t.compareDocumentPosition;return r||(1&(r=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!n.sortDetached&&t.compareDocumentPosition(e)===r?e==p||e.ownerDocument==w&&b(w,e)?-1:t==p||t.ownerDocument==w&&b(w,t)?1:l?j(l,e)-j(l,t):0:4&r?-1:1)}:function(e,t){if(e===t)return f=!0,0;var n,r=0,i=e.parentNode,o=t.parentNode,a=[e],s=[t];if(!i||!o)return e==p?-1:t==p?1:i?-1:o?1:l?j(l,e)-j(l,t):0;if(i===o)return de(e,t);for(n=e;n=n.parentNode;)a.unshift(n);for(n=t;n=n.parentNode;)s.unshift(n);for(;a[r]===s[r];)r++;return r?de(a[r],s[r]):a[r]==w?-1:s[r]==w?1:0},p):p},se.matches=function(e,t){return se(e,null,null,t)},se.matchesSelector=function(e,t){if(d(e),n.matchesSelector&&g&&!O[t+" "]&&(!y||!y.test(t))&&(!m||!m.test(t)))try{var r=v.call(e,t);if(r||n.disconnectedMatch||e.document&&11!==e.document.nodeType)return r}catch(e){O(t,!0)}return se(t,p,null,[e]).length>0},se.contains=function(e,t){return(e.ownerDocument||e)!=p&&d(e),b(e,t)},se.attr=function(e,t){(e.ownerDocument||e)!=p&&d(e);var i=r.attrHandle[t.toLowerCase()],o=i&&L.call(r.attrHandle,t.toLowerCase())?i(e,t,!g):void 0;return void 0!==o?o:n.attributes||!g?e.getAttribute(t):(o=e.getAttributeNode(t))&&o.specified?o.value:null},se.escape=function(e){return(e+"").replace(re,ie)},se.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},se.uniqueSort=function(e){var t,r=[],i=0,o=0;if(f=!n.detectDuplicates,l=!n.sortStable&&e.slice(0),e.sort(C),f){for(;t=e[o++];)t===e[o]&&(i=r.push(o));for(;i--;)e.splice(r[i],1)}return l=null,e},i=se.getText=function(e){var t,n="",r=0,o=e.nodeType;if(o){if(1===o||9===o||11===o){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=i(e)}else if(3===o||4===o)return e.nodeValue}else for(;t=e[r++];)n+=i(t);return n},r=se.selectors={cacheLength:50,createPseudo:ce,match:$,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(te,ne),e[3]=(e[3]||e[4]||e[5]||"").replace(te,ne),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||se.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&se.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return $.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&W.test(n)&&(t=a(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(te,ne).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=S[e+" "];return t||(t=new RegExp("(^|[\\x20\\t\\r\\n\\f])"+e+"("+N+"|$)"))&&S(e,(function(e){return t.test("string"==typeof e.className&&e.className||void 0!==e.getAttribute&&e.getAttribute("class")||"")}))},ATTR:function(e,t,n){return function(r){var i=se.attr(r,e);return null==i?"!="===t:!t||(i+="","="===t?i===n:"!="===t?i!==n:"^="===t?n&&0===i.indexOf(n):"*="===t?n&&i.indexOf(n)>-1:"$="===t?n&&i.slice(-n.length)===n:"~="===t?(" "+i.replace(z," ")+" ").indexOf(n)>-1:"|="===t&&(i===n||i.slice(0,n.length+1)===n+"-"))}},CHILD:function(e,t,n,r,i){var o="nth"!==e.slice(0,3),a="last"!==e.slice(-4),s="of-type"===t;return 1===r&&0===i?function(e){return!!e.parentNode}:function(t,n,u){var c,l,f,d,p,h,g=o!==a?"nextSibling":"previousSibling",m=t.parentNode,y=s&&t.nodeName.toLowerCase(),v=!u&&!s,b=!1;if(m){if(o){for(;g;){for(d=t;d=d[g];)if(s?d.nodeName.toLowerCase()===y:1===d.nodeType)return!1;h=g="only"===e&&!h&&"nextSibling"}return!0}if(h=[a?m.firstChild:m.lastChild],a&&v){for(b=(p=(c=(l=(f=(d=m)[_]||(d[_]={}))[d.uniqueID]||(f[d.uniqueID]={}))[e]||[])[0]===T&&c[1])&&c[2],d=p&&m.childNodes[p];d=++p&&d&&d[g]||(b=p=0)||h.pop();)if(1===d.nodeType&&++b&&d===t){l[e]=[T,p,b];break}}else if(v&&(b=p=(c=(l=(f=(d=t)[_]||(d[_]={}))[d.uniqueID]||(f[d.uniqueID]={}))[e]||[])[0]===T&&c[1]),!1===b)for(;(d=++p&&d&&d[g]||(b=p=0)||h.pop())&&((s?d.nodeName.toLowerCase()!==y:1!==d.nodeType)||!++b||(v&&((l=(f=d[_]||(d[_]={}))[d.uniqueID]||(f[d.uniqueID]={}))[e]=[T,b]),d!==t)););return(b-=i)===r||b%r==0&&b/r>=0}}},PSEUDO:function(e,t){var n,i=r.pseudos[e]||r.setFilters[e.toLowerCase()]||se.error("unsupported pseudo: "+e);return i[_]?i(t):i.length>1?(n=[e,e,"",t],r.setFilters.hasOwnProperty(e.toLowerCase())?ce((function(e,n){for(var r,o=i(e,t),a=o.length;a--;)e[r=j(e,o[a])]=!(n[r]=o[a])})):function(e){return i(e,0,n)}):i}},pseudos:{not:ce((function(e){var t=[],n=[],r=s(e.replace(H,"$1"));return r[_]?ce((function(e,t,n,i){for(var o,a=r(e,null,i,[]),s=e.length;s--;)(o=a[s])&&(e[s]=!(t[s]=o))})):function(e,i,o){return t[0]=e,r(t,null,o,n),t[0]=null,!n.pop()}})),has:ce((function(e){return function(t){return se(e,t).length>0}})),contains:ce((function(e){return e=e.replace(te,ne),function(t){return(t.textContent||i(t)).indexOf(e)>-1}})),lang:ce((function(e){return G.test(e||"")||se.error("unsupported lang: "+e),e=e.replace(te,ne).toLowerCase(),function(t){var n;do{if(n=g?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return(n=n.toLowerCase())===e||0===n.indexOf(e+"-")}while((t=t.parentNode)&&1===t.nodeType);return!1}})),target:function(t){var n=e.location&&e.location.hash;return n&&n.slice(1)===t.id},root:function(e){return e===h},focus:function(e){return e===p.activeElement&&(!p.hasFocus||p.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:ge(!1),disabled:ge(!0),checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!r.pseudos.empty(e)},header:function(e){return X.test(e.nodeName)},input:function(e){return K.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:me((function(){return[0]})),last:me((function(e,t){return[t-1]})),eq:me((function(e,t,n){return[n<0?n+t:n]})),even:me((function(e,t){for(var n=0;n<t;n+=2)e.push(n);return e})),odd:me((function(e,t){for(var n=1;n<t;n+=2)e.push(n);return e})),lt:me((function(e,t,n){for(var r=n<0?n+t:n>t?t:n;--r>=0;)e.push(r);return e})),gt:me((function(e,t,n){for(var r=n<0?n+t:n;++r<t;)e.push(r);return e}))}},r.pseudos.nth=r.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})r.pseudos[t]=pe(t);for(t in{submit:!0,reset:!0})r.pseudos[t]=he(t);function ve(){}function be(e){for(var t=0,n=e.length,r="";t<n;t++)r+=e[t].value;return r}function _e(e,t,n){var r=t.dir,i=t.next,o=i||r,a=n&&"parentNode"===o,s=x++;return t.first?function(t,n,i){for(;t=t[r];)if(1===t.nodeType||a)return e(t,n,i);return!1}:function(t,n,u){var c,l,f,d=[T,s];if(u){for(;t=t[r];)if((1===t.nodeType||a)&&e(t,n,u))return!0}else for(;t=t[r];)if(1===t.nodeType||a)if(l=(f=t[_]||(t[_]={}))[t.uniqueID]||(f[t.uniqueID]={}),i&&i===t.nodeName.toLowerCase())t=t[r]||t;else{if((c=l[o])&&c[0]===T&&c[1]===s)return d[2]=c[2];if(l[o]=d,d[2]=e(t,n,u))return!0}return!1}}function we(e){return e.length>1?function(t,n,r){for(var i=e.length;i--;)if(!e[i](t,n,r))return!1;return!0}:e[0]}function Te(e,t,n,r,i){for(var o,a=[],s=0,u=e.length,c=null!=t;s<u;s++)(o=e[s])&&(n&&!n(o,r,i)||(a.push(o),c&&t.push(s)));return a}function xe(e,t,n,r,i,o){return r&&!r[_]&&(r=xe(r)),i&&!i[_]&&(i=xe(i,o)),ce((function(o,a,s,u){var c,l,f,d=[],p=[],h=a.length,g=o||function(e,t,n){for(var r=0,i=t.length;r<i;r++)se(e,t[r],n);return n}(t||"*",s.nodeType?[s]:s,[]),m=!e||!o&&t?g:Te(g,d,e,s,u),y=n?i||(o?e:h||r)?[]:a:m;if(n&&n(m,y,s,u),r)for(c=Te(y,p),r(c,[],s,u),l=c.length;l--;)(f=c[l])&&(y[p[l]]=!(m[p[l]]=f));if(o){if(i||e){if(i){for(c=[],l=y.length;l--;)(f=y[l])&&c.push(m[l]=f);i(null,y=[],c,u)}for(l=y.length;l--;)(f=y[l])&&(c=i?j(o,f):d[l])>-1&&(o[c]=!(a[c]=f))}}else y=Te(y===a?y.splice(h,y.length):y),i?i(null,a,y,u):M.apply(a,y)}))}function Se(e){for(var t,n,i,o=e.length,a=r.relative[e[0].type],s=a||r.relative[" "],u=a?1:0,l=_e((function(e){return e===t}),s,!0),f=_e((function(e){return j(t,e)>-1}),s,!0),d=[function(e,n,r){var i=!a&&(r||n!==c)||((t=n).nodeType?l(e,n,r):f(e,n,r));return t=null,i}];u<o;u++)if(n=r.relative[e[u].type])d=[_e(we(d),n)];else{if((n=r.filter[e[u].type].apply(null,e[u].matches))[_]){for(i=++u;i<o&&!r.relative[e[i].type];i++);return xe(u>1&&we(d),u>1&&be(e.slice(0,u-1).concat({value:" "===e[u-2].type?"*":""})).replace(H,"$1"),n,u<i&&Se(e.slice(u,i)),i<o&&Se(e=e.slice(i)),i<o&&be(e))}d.push(n)}return we(d)}return ve.prototype=r.filters=r.pseudos,r.setFilters=new ve,a=se.tokenize=function(e,t){var n,i,o,a,s,u,c,l=k[e+" "];if(l)return t?0:l.slice(0);for(s=e,u=[],c=r.preFilter;s;){for(a in n&&!(i=Z.exec(s))||(i&&(s=s.slice(i[0].length)||s),u.push(o=[])),n=!1,(i=q.exec(s))&&(n=i.shift(),o.push({value:n,type:i[0].replace(H," ")}),s=s.slice(n.length)),r.filter)!(i=$[a].exec(s))||c[a]&&!(i=c[a](i))||(n=i.shift(),o.push({value:n,type:a,matches:i}),s=s.slice(n.length));if(!n)break}return t?s.length:s?se.error(e):k(e,u).slice(0)},s=se.compile=function(e,t){var n,i=[],o=[],s=E[e+" "];if(!s){for(t||(t=a(e)),n=t.length;n--;)(s=Se(t[n]))[_]?i.push(s):o.push(s);s=E(e,function(e,t){var n=t.length>0,i=e.length>0,o=function(o,a,s,u,l){var f,h,m,y=0,v="0",b=o&&[],_=[],w=c,x=o||i&&r.find.TAG("*",l),S=T+=null==w?1:Math.random()||.1,k=x.length;for(l&&(c=a==p||a||l);v!==k&&null!=(f=x[v]);v++){if(i&&f){for(h=0,a||f.ownerDocument==p||(d(f),s=!g);m=e[h++];)if(m(f,a||p,s)){u.push(f);break}l&&(T=S)}n&&((f=!m&&f)&&y--,o&&b.push(f))}if(y+=v,n&&v!==y){for(h=0;m=t[h++];)m(b,_,a,s);if(o){if(y>0)for(;v--;)b[v]||_[v]||(_[v]=I.call(u));_=Te(_)}M.apply(u,_),l&&!o&&_.length>0&&y+t.length>1&&se.uniqueSort(u)}return l&&(T=S,c=w),b};return n?ce(o):o}(o,i)),s.selector=e}return s},u=se.select=function(e,t,n,i){var o,u,c,l,f,d="function"==typeof e&&e,p=!i&&a(e=d.selector||e);if(n=n||[],1===p.length){if((u=p[0]=p[0].slice(0)).length>2&&"ID"===(c=u[0]).type&&9===t.nodeType&&g&&r.relative[u[1].type]){if(!(t=(r.find.ID(c.matches[0].replace(te,ne),t)||[])[0]))return n;d&&(t=t.parentNode),e=e.slice(u.shift().value.length)}for(o=$.needsContext.test(e)?0:u.length;o--&&(c=u[o],!r.relative[l=c.type]);)if((f=r.find[l])&&(i=f(c.matches[0].replace(te,ne),ee.test(u[0].type)&&ye(t.parentNode)||t))){if(u.splice(o,1),!(e=i.length&&be(u)))return M.apply(n,i),n;break}}return(d||s(e,p))(i,t,!g,n,!t||ee.test(e)&&ye(t.parentNode)||t),n},n.sortStable=_.split("").sort(C).join("")===_,n.detectDuplicates=!!f,d(),n.sortDetached=le((function(e){return 1&e.compareDocumentPosition(p.createElement("fieldset"))})),le((function(e){return e.innerHTML="<a href='#'></a>","#"===e.firstChild.getAttribute("href")}))||fe("type|href|height|width",(function(e,t,n){if(!n)return e.getAttribute(t,"type"===t.toLowerCase()?1:2)})),n.attributes&&le((function(e){return e.innerHTML="<input/>",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")}))||fe("value",(function(e,t,n){if(!n&&"input"===e.nodeName.toLowerCase())return e.defaultValue})),le((function(e){return null==e.getAttribute("disabled")}))||fe(D,(function(e,t,n){var r;if(!n)return!0===e[t]?t.toLowerCase():(r=e.getAttributeNode(t))&&r.specified?r.value:null})),se}(r);S.find=E,S.expr=E.selectors,S.expr[":"]=S.expr.pseudos,S.uniqueSort=S.unique=E.uniqueSort,S.text=E.getText,S.isXMLDoc=E.isXML,S.contains=E.contains,S.escapeSelector=E.escape;var O=function(e,t,n){for(var r=[],i=void 0!==n;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(i&&S(e).is(n))break;r.push(e)}return r},C=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},L=S.expr.match.needsContext;function A(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}var I=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function P(e,t,n){return y(t)?S.grep(e,(function(e,r){return!!t.call(e,r,e)!==n})):t.nodeType?S.grep(e,(function(e){return e===t!==n})):"string"!=typeof t?S.grep(e,(function(e){return l.call(t,e)>-1!==n})):S.filter(t,e,n)}S.filter=function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?S.find.matchesSelector(r,e)?[r]:[]:S.find.matches(e,S.grep(t,(function(e){return 1===e.nodeType})))},S.fn.extend({find:function(e){var t,n,r=this.length,i=this;if("string"!=typeof e)return this.pushStack(S(e).filter((function(){for(t=0;t<r;t++)if(S.contains(i[t],this))return!0})));for(n=this.pushStack([]),t=0;t<r;t++)S.find(e,i[t],n);return r>1?S.uniqueSort(n):n},filter:function(e){return this.pushStack(P(this,e||[],!1))},not:function(e){return this.pushStack(P(this,e||[],!0))},is:function(e){return!!P(this,"string"==typeof e&&L.test(e)?S(e):e||[],!1).length}});var M,R=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(S.fn.init=function(e,t,n){var r,i;if(!e)return this;if(n=n||M,"string"==typeof e){if(!(r="<"===e[0]&&">"===e[e.length-1]&&e.length>=3?[null,e,null]:R.exec(e))||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof S?t[0]:t,S.merge(this,S.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:b,!0)),I.test(r[1])&&S.isPlainObject(t))for(r in t)y(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return(i=b.getElementById(r[2]))&&(this[0]=i,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):y(e)?void 0!==n.ready?n.ready(e):e(S):S.makeArray(e,this)}).prototype=S.fn,M=S(b);var j=/^(?:parents|prev(?:Until|All))/,D={children:!0,contents:!0,next:!0,prev:!0};function N(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}S.fn.extend({has:function(e){var t=S(e,this),n=t.length;return this.filter((function(){for(var e=0;e<n;e++)if(S.contains(this,t[e]))return!0}))},closest:function(e,t){var n,r=0,i=this.length,o=[],a="string"!=typeof e&&S(e);if(!L.test(e))for(;r<i;r++)for(n=this[r];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(a?a.index(n)>-1:1===n.nodeType&&S.find.matchesSelector(n,e))){o.push(n);break}return this.pushStack(o.length>1?S.uniqueSort(o):o)},index:function(e){return e?"string"==typeof e?l.call(S(e),this[0]):l.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(S.uniqueSort(S.merge(this.get(),S(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),S.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return O(e,"parentNode")},parentsUntil:function(e,t,n){return O(e,"parentNode",n)},next:function(e){return N(e,"nextSibling")},prev:function(e){return N(e,"previousSibling")},nextAll:function(e){return O(e,"nextSibling")},prevAll:function(e){return O(e,"previousSibling")},nextUntil:function(e,t,n){return O(e,"nextSibling",n)},prevUntil:function(e,t,n){return O(e,"previousSibling",n)},siblings:function(e){return C((e.parentNode||{}).firstChild,e)},children:function(e){return C(e.firstChild)},contents:function(e){return null!=e.contentDocument&&a(e.contentDocument)?e.contentDocument:(A(e,"template")&&(e=e.content||e),S.merge([],e.childNodes))}},(function(e,t){S.fn[e]=function(n,r){var i=S.map(this,t,n);return"Until"!==e.slice(-5)&&(r=n),r&&"string"==typeof r&&(i=S.filter(r,i)),this.length>1&&(D[e]||S.uniqueSort(i),j.test(e)&&i.reverse()),this.pushStack(i)}}));var B=/[^\x20\t\r\n\f]+/g;function U(e){return e}function F(e){throw e}function z(e,t,n,r){var i;try{e&&y(i=e.promise)?i.call(e).done(t).fail(n):e&&y(i=e.then)?i.call(e,t,n):t.apply(void 0,[e].slice(r))}catch(e){n.apply(void 0,[e])}}S.Callbacks=function(e){e="string"==typeof e?function(e){var t={};return S.each(e.match(B)||[],(function(e,n){t[n]=!0})),t}(e):S.extend({},e);var t,n,r,i,o=[],a=[],s=-1,u=function(){for(i=i||e.once,r=t=!0;a.length;s=-1)for(n=a.shift();++s<o.length;)!1===o[s].apply(n[0],n[1])&&e.stopOnFalse&&(s=o.length,n=!1);e.memory||(n=!1),t=!1,i&&(o=n?[]:"")},c={add:function(){return o&&(n&&!t&&(s=o.length-1,a.push(n)),function t(n){S.each(n,(function(n,r){y(r)?e.unique&&c.has(r)||o.push(r):r&&r.length&&"string"!==T(r)&&t(r)}))}(arguments),n&&!t&&u()),this},remove:function(){return S.each(arguments,(function(e,t){for(var n;(n=S.inArray(t,o,n))>-1;)o.splice(n,1),n<=s&&s--})),this},has:function(e){return e?S.inArray(e,o)>-1:o.length>0},empty:function(){return o&&(o=[]),this},disable:function(){return i=a=[],o=n="",this},disabled:function(){return!o},lock:function(){return i=a=[],n||t||(o=n=""),this},locked:function(){return!!i},fireWith:function(e,n){return i||(n=[e,(n=n||[]).slice?n.slice():n],a.push(n),t||u()),this},fire:function(){return c.fireWith(this,arguments),this},fired:function(){return!!r}};return c},S.extend({Deferred:function(e){var t=[["notify","progress",S.Callbacks("memory"),S.Callbacks("memory"),2],["resolve","done",S.Callbacks("once memory"),S.Callbacks("once memory"),0,"resolved"],["reject","fail",S.Callbacks("once memory"),S.Callbacks("once memory"),1,"rejected"]],n="pending",i={state:function(){return n},always:function(){return o.done(arguments).fail(arguments),this},catch:function(e){return i.then(null,e)},pipe:function(){var e=arguments;return S.Deferred((function(n){S.each(t,(function(t,r){var i=y(e[r[4]])&&e[r[4]];o[r[1]]((function(){var e=i&&i.apply(this,arguments);e&&y(e.promise)?e.promise().progress(n.notify).done(n.resolve).fail(n.reject):n[r[0]+"With"](this,i?[e]:arguments)}))})),e=null})).promise()},then:function(e,n,i){var o=0;function a(e,t,n,i){return function(){var s=this,u=arguments,c=function(){var r,c;if(!(e<o)){if((r=n.apply(s,u))===t.promise())throw new TypeError("Thenable self-resolution");c=r&&("object"==typeof r||"function"==typeof r)&&r.then,y(c)?i?c.call(r,a(o,t,U,i),a(o,t,F,i)):(o++,c.call(r,a(o,t,U,i),a(o,t,F,i),a(o,t,U,t.notifyWith))):(n!==U&&(s=void 0,u=[r]),(i||t.resolveWith)(s,u))}},l=i?c:function(){try{c()}catch(r){S.Deferred.exceptionHook&&S.Deferred.exceptionHook(r,l.stackTrace),e+1>=o&&(n!==F&&(s=void 0,u=[r]),t.rejectWith(s,u))}};e?l():(S.Deferred.getStackHook&&(l.stackTrace=S.Deferred.getStackHook()),r.setTimeout(l))}}return S.Deferred((function(r){t[0][3].add(a(0,r,y(i)?i:U,r.notifyWith)),t[1][3].add(a(0,r,y(e)?e:U)),t[2][3].add(a(0,r,y(n)?n:F))})).promise()},promise:function(e){return null!=e?S.extend(e,i):i}},o={};return S.each(t,(function(e,r){var a=r[2],s=r[5];i[r[1]]=a.add,s&&a.add((function(){n=s}),t[3-e][2].disable,t[3-e][3].disable,t[0][2].lock,t[0][3].lock),a.add(r[3].fire),o[r[0]]=function(){return o[r[0]+"With"](this===o?void 0:this,arguments),this},o[r[0]+"With"]=a.fireWith})),i.promise(o),e&&e.call(o,o),o},when:function(e){var t=arguments.length,n=t,r=Array(n),i=s.call(arguments),o=S.Deferred(),a=function(e){return function(n){r[e]=this,i[e]=arguments.length>1?s.call(arguments):n,--t||o.resolveWith(r,i)}};if(t<=1&&(z(e,o.done(a(n)).resolve,o.reject,!t),"pending"===o.state()||y(i[n]&&i[n].then)))return o.then();for(;n--;)z(i[n],a(n),o.reject);return o.promise()}});var H=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;S.Deferred.exceptionHook=function(e,t){r.console&&r.console.warn&&e&&H.test(e.name)&&r.console.warn("jQuery.Deferred exception: "+e.message,e.stack,t)},S.readyException=function(e){r.setTimeout((function(){throw e}))};var Z=S.Deferred();function q(){b.removeEventListener("DOMContentLoaded",q),r.removeEventListener("load",q),S.ready()}S.fn.ready=function(e){return Z.then(e).catch((function(e){S.readyException(e)})),this},S.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--S.readyWait:S.isReady)||(S.isReady=!0,!0!==e&&--S.readyWait>0||Z.resolveWith(b,[S]))}}),S.ready.then=Z.then,"complete"===b.readyState||"loading"!==b.readyState&&!b.documentElement.doScroll?r.setTimeout(S.ready):(b.addEventListener("DOMContentLoaded",q),r.addEventListener("load",q));var V=function(e,t,n,r,i,o,a){var s=0,u=e.length,c=null==n;if("object"===T(n))for(s in i=!0,n)V(e,t,s,n[s],!0,o,a);else if(void 0!==r&&(i=!0,y(r)||(a=!0),c&&(a?(t.call(e,r),t=null):(c=t,t=function(e,t,n){return c.call(S(e),n)})),t))for(;s<u;s++)t(e[s],n,a?r:r.call(e[s],s,t(e[s],n)));return i?e:c?t.call(e):u?t(e[0],n):o},W=/^-ms-/,G=/-([a-z])/g;function $(e,t){return t.toUpperCase()}function Y(e){return e.replace(W,"ms-").replace(G,$)}var K=function(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType};function X(){this.expando=S.expando+X.uid++}X.uid=1,X.prototype={cache:function(e){var t=e[this.expando];return t||(t={},K(e)&&(e.nodeType?e[this.expando]=t:Object.defineProperty(e,this.expando,{value:t,configurable:!0}))),t},set:function(e,t,n){var r,i=this.cache(e);if("string"==typeof t)i[Y(t)]=n;else for(r in t)i[Y(r)]=t[r];return i},get:function(e,t){return void 0===t?this.cache(e):e[this.expando]&&e[this.expando][Y(t)]},access:function(e,t,n){return void 0===t||t&&"string"==typeof t&&void 0===n?this.get(e,t):(this.set(e,t,n),void 0!==n?n:t)},remove:function(e,t){var n,r=e[this.expando];if(void 0!==r){if(void 0!==t){n=(t=Array.isArray(t)?t.map(Y):(t=Y(t))in r?[t]:t.match(B)||[]).length;for(;n--;)delete r[t[n]]}(void 0===t||S.isEmptyObject(r))&&(e.nodeType?e[this.expando]=void 0:delete e[this.expando])}},hasData:function(e){var t=e[this.expando];return void 0!==t&&!S.isEmptyObject(t)}};var Q=new X,J=new X,ee=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,te=/[A-Z]/g;function ne(e,t,n){var r;if(void 0===n&&1===e.nodeType)if(r="data-"+t.replace(te,"-$&").toLowerCase(),"string"==typeof(n=e.getAttribute(r))){try{n=function(e){return"true"===e||"false"!==e&&("null"===e?null:e===+e+""?+e:ee.test(e)?JSON.parse(e):e)}(n)}catch(e){}J.set(e,t,n)}else n=void 0;return n}S.extend({hasData:function(e){return J.hasData(e)||Q.hasData(e)},data:function(e,t,n){return J.access(e,t,n)},removeData:function(e,t){J.remove(e,t)},_data:function(e,t,n){return Q.access(e,t,n)},_removeData:function(e,t){Q.remove(e,t)}}),S.fn.extend({data:function(e,t){var n,r,i,o=this[0],a=o&&o.attributes;if(void 0===e){if(this.length&&(i=J.get(o),1===o.nodeType&&!Q.get(o,"hasDataAttrs"))){for(n=a.length;n--;)a[n]&&0===(r=a[n].name).indexOf("data-")&&(r=Y(r.slice(5)),ne(o,r,i[r]));Q.set(o,"hasDataAttrs",!0)}return i}return"object"==typeof e?this.each((function(){J.set(this,e)})):V(this,(function(t){var n;if(o&&void 0===t)return void 0!==(n=J.get(o,e))||void 0!==(n=ne(o,e))?n:void 0;this.each((function(){J.set(this,e,t)}))}),null,t,arguments.length>1,null,!0)},removeData:function(e){return this.each((function(){J.remove(this,e)}))}}),S.extend({queue:function(e,t,n){var r;if(e)return t=(t||"fx")+"queue",r=Q.get(e,t),n&&(!r||Array.isArray(n)?r=Q.access(e,t,S.makeArray(n)):r.push(n)),r||[]},dequeue:function(e,t){t=t||"fx";var n=S.queue(e,t),r=n.length,i=n.shift(),o=S._queueHooks(e,t);"inprogress"===i&&(i=n.shift(),r--),i&&("fx"===t&&n.unshift("inprogress"),delete o.stop,i.call(e,(function(){S.dequeue(e,t)}),o)),!r&&o&&o.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return Q.get(e,n)||Q.access(e,n,{empty:S.Callbacks("once memory").add((function(){Q.remove(e,[t+"queue",n])}))})}}),S.fn.extend({queue:function(e,t){var n=2;return"string"!=typeof e&&(t=e,e="fx",n--),arguments.length<n?S.queue(this[0],e):void 0===t?this:this.each((function(){var n=S.queue(this,e,t);S._queueHooks(this,e),"fx"===e&&"inprogress"!==n[0]&&S.dequeue(this,e)}))},dequeue:function(e){return this.each((function(){S.dequeue(this,e)}))},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var n,r=1,i=S.Deferred(),o=this,a=this.length,s=function(){--r||i.resolveWith(o,[o])};for("string"!=typeof e&&(t=e,e=void 0),e=e||"fx";a--;)(n=Q.get(o[a],e+"queueHooks"))&&n.empty&&(r++,n.empty.add(s));return s(),i.promise(t)}});var re=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,ie=new RegExp("^(?:([+-])=|)("+re+")([a-z%]*)$","i"),oe=["Top","Right","Bottom","Left"],ae=b.documentElement,se=function(e){return S.contains(e.ownerDocument,e)},ue={composed:!0};ae.getRootNode&&(se=function(e){return S.contains(e.ownerDocument,e)||e.getRootNode(ue)===e.ownerDocument});var ce=function(e,t){return"none"===(e=t||e).style.display||""===e.style.display&&se(e)&&"none"===S.css(e,"display")};function le(e,t,n,r){var i,o,a=20,s=r?function(){return r.cur()}:function(){return S.css(e,t,"")},u=s(),c=n&&n[3]||(S.cssNumber[t]?"":"px"),l=e.nodeType&&(S.cssNumber[t]||"px"!==c&&+u)&&ie.exec(S.css(e,t));if(l&&l[3]!==c){for(u/=2,c=c||l[3],l=+u||1;a--;)S.style(e,t,l+c),(1-o)*(1-(o=s()/u||.5))<=0&&(a=0),l/=o;l*=2,S.style(e,t,l+c),n=n||[]}return n&&(l=+l||+u||0,i=n[1]?l+(n[1]+1)*n[2]:+n[2],r&&(r.unit=c,r.start=l,r.end=i)),i}var fe={};function de(e){var t,n=e.ownerDocument,r=e.nodeName,i=fe[r];return i||(t=n.body.appendChild(n.createElement(r)),i=S.css(t,"display"),t.parentNode.removeChild(t),"none"===i&&(i="block"),fe[r]=i,i)}function pe(e,t){for(var n,r,i=[],o=0,a=e.length;o<a;o++)(r=e[o]).style&&(n=r.style.display,t?("none"===n&&(i[o]=Q.get(r,"display")||null,i[o]||(r.style.display="")),""===r.style.display&&ce(r)&&(i[o]=de(r))):"none"!==n&&(i[o]="none",Q.set(r,"display",n)));for(o=0;o<a;o++)null!=i[o]&&(e[o].style.display=i[o]);return e}S.fn.extend({show:function(){return pe(this,!0)},hide:function(){return pe(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each((function(){ce(this)?S(this).show():S(this).hide()}))}});var he,ge,me=/^(?:checkbox|radio)$/i,ye=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,ve=/^$|^module$|\/(?:java|ecma)script/i;he=b.createDocumentFragment().appendChild(b.createElement("div")),(ge=b.createElement("input")).setAttribute("type","radio"),ge.setAttribute("checked","checked"),ge.setAttribute("name","t"),he.appendChild(ge),m.checkClone=he.cloneNode(!0).cloneNode(!0).lastChild.checked,he.innerHTML="<textarea>x</textarea>",m.noCloneChecked=!!he.cloneNode(!0).lastChild.defaultValue,he.innerHTML="<option></option>",m.option=!!he.lastChild;var be={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,"",""]};function _e(e,t){var n;return n=void 0!==e.getElementsByTagName?e.getElementsByTagName(t||"*"):void 0!==e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&A(e,t)?S.merge([e],n):n}function we(e,t){for(var n=0,r=e.length;n<r;n++)Q.set(e[n],"globalEval",!t||Q.get(t[n],"globalEval"))}be.tbody=be.tfoot=be.colgroup=be.caption=be.thead,be.th=be.td,m.option||(be.optgroup=be.option=[1,"<select multiple='multiple'>","</select>"]);var Te=/<|&#?\w+;/;function xe(e,t,n,r,i){for(var o,a,s,u,c,l,f=t.createDocumentFragment(),d=[],p=0,h=e.length;p<h;p++)if((o=e[p])||0===o)if("object"===T(o))S.merge(d,o.nodeType?[o]:o);else if(Te.test(o)){for(a=a||f.appendChild(t.createElement("div")),s=(ye.exec(o)||["",""])[1].toLowerCase(),u=be[s]||be._default,a.innerHTML=u[1]+S.htmlPrefilter(o)+u[2],l=u[0];l--;)a=a.lastChild;S.merge(d,a.childNodes),(a=f.firstChild).textContent=""}else d.push(t.createTextNode(o));for(f.textContent="",p=0;o=d[p++];)if(r&&S.inArray(o,r)>-1)i&&i.push(o);else if(c=se(o),a=_e(f.appendChild(o),"script"),c&&we(a),n)for(l=0;o=a[l++];)ve.test(o.type||"")&&n.push(o);return f}var Se=/^([^.]*)(?:\.(.+)|)/;function ke(){return!0}function Ee(){return!1}function Oe(e,t){return e===function(){try{return b.activeElement}catch(e){}}()==("focus"===t)}function Ce(e,t,n,r,i,o){var a,s;if("object"==typeof t){for(s in"string"!=typeof n&&(r=r||n,n=void 0),t)Ce(e,s,n,r,t[s],o);return e}if(null==r&&null==i?(i=n,r=n=void 0):null==i&&("string"==typeof n?(i=r,r=void 0):(i=r,r=n,n=void 0)),!1===i)i=Ee;else if(!i)return e;return 1===o&&(a=i,i=function(e){return S().off(e),a.apply(this,arguments)},i.guid=a.guid||(a.guid=S.guid++)),e.each((function(){S.event.add(this,t,i,r,n)}))}function Le(e,t,n){n?(Q.set(e,t,!1),S.event.add(e,t,{namespace:!1,handler:function(e){var r,i,o=Q.get(this,t);if(1&e.isTrigger&&this[t]){if(o.length)(S.event.special[t]||{}).delegateType&&e.stopPropagation();else if(o=s.call(arguments),Q.set(this,t,o),r=n(this,t),this[t](),o!==(i=Q.get(this,t))||r?Q.set(this,t,!1):i={},o!==i)return e.stopImmediatePropagation(),e.preventDefault(),i&&i.value}else o.length&&(Q.set(this,t,{value:S.event.trigger(S.extend(o[0],S.Event.prototype),o.slice(1),this)}),e.stopImmediatePropagation())}})):void 0===Q.get(e,t)&&S.event.add(e,t,ke)}S.event={global:{},add:function(e,t,n,r,i){var o,a,s,u,c,l,f,d,p,h,g,m=Q.get(e);if(K(e))for(n.handler&&(n=(o=n).handler,i=o.selector),i&&S.find.matchesSelector(ae,i),n.guid||(n.guid=S.guid++),(u=m.events)||(u=m.events=Object.create(null)),(a=m.handle)||(a=m.handle=function(t){return void 0!==S&&S.event.triggered!==t.type?S.event.dispatch.apply(e,arguments):void 0}),c=(t=(t||"").match(B)||[""]).length;c--;)p=g=(s=Se.exec(t[c])||[])[1],h=(s[2]||"").split(".").sort(),p&&(f=S.event.special[p]||{},p=(i?f.delegateType:f.bindType)||p,f=S.event.special[p]||{},l=S.extend({type:p,origType:g,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&S.expr.match.needsContext.test(i),namespace:h.join(".")},o),(d=u[p])||((d=u[p]=[]).delegateCount=0,f.setup&&!1!==f.setup.call(e,r,h,a)||e.addEventListener&&e.addEventListener(p,a)),f.add&&(f.add.call(e,l),l.handler.guid||(l.handler.guid=n.guid)),i?d.splice(d.delegateCount++,0,l):d.push(l),S.event.global[p]=!0)},remove:function(e,t,n,r,i){var o,a,s,u,c,l,f,d,p,h,g,m=Q.hasData(e)&&Q.get(e);if(m&&(u=m.events)){for(c=(t=(t||"").match(B)||[""]).length;c--;)if(p=g=(s=Se.exec(t[c])||[])[1],h=(s[2]||"").split(".").sort(),p){for(f=S.event.special[p]||{},d=u[p=(r?f.delegateType:f.bindType)||p]||[],s=s[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=o=d.length;o--;)l=d[o],!i&&g!==l.origType||n&&n.guid!==l.guid||s&&!s.test(l.namespace)||r&&r!==l.selector&&("**"!==r||!l.selector)||(d.splice(o,1),l.selector&&d.delegateCount--,f.remove&&f.remove.call(e,l));a&&!d.length&&(f.teardown&&!1!==f.teardown.call(e,h,m.handle)||S.removeEvent(e,p,m.handle),delete u[p])}else for(p in u)S.event.remove(e,p+t[c],n,r,!0);S.isEmptyObject(u)&&Q.remove(e,"handle events")}},dispatch:function(e){var t,n,r,i,o,a,s=new Array(arguments.length),u=S.event.fix(e),c=(Q.get(this,"events")||Object.create(null))[u.type]||[],l=S.event.special[u.type]||{};for(s[0]=u,t=1;t<arguments.length;t++)s[t]=arguments[t];if(u.delegateTarget=this,!l.preDispatch||!1!==l.preDispatch.call(this,u)){for(a=S.event.handlers.call(this,u,c),t=0;(i=a[t++])&&!u.isPropagationStopped();)for(u.currentTarget=i.elem,n=0;(o=i.handlers[n++])&&!u.isImmediatePropagationStopped();)u.rnamespace&&!1!==o.namespace&&!u.rnamespace.test(o.namespace)||(u.handleObj=o,u.data=o.data,void 0!==(r=((S.event.special[o.origType]||{}).handle||o.handler).apply(i.elem,s))&&!1===(u.result=r)&&(u.preventDefault(),u.stopPropagation()));return l.postDispatch&&l.postDispatch.call(this,u),u.result}},handlers:function(e,t){var n,r,i,o,a,s=[],u=t.delegateCount,c=e.target;if(u&&c.nodeType&&!("click"===e.type&&e.button>=1))for(;c!==this;c=c.parentNode||this)if(1===c.nodeType&&("click"!==e.type||!0!==c.disabled)){for(o=[],a={},n=0;n<u;n++)void 0===a[i=(r=t[n]).selector+" "]&&(a[i]=r.needsContext?S(i,this).index(c)>-1:S.find(i,this,null,[c]).length),a[i]&&o.push(r);o.length&&s.push({elem:c,handlers:o})}return c=this,u<t.length&&s.push({elem:c,handlers:t.slice(u)}),s},addProp:function(e,t){Object.defineProperty(S.Event.prototype,e,{enumerable:!0,configurable:!0,get:y(t)?function(){if(this.originalEvent)return t(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[e]},set:function(t){Object.defineProperty(this,e,{enumerable:!0,configurable:!0,writable:!0,value:t})}})},fix:function(e){return e[S.expando]?e:new S.Event(e)},special:{load:{noBubble:!0},click:{setup:function(e){var t=this||e;return me.test(t.type)&&t.click&&A(t,"input")&&Le(t,"click",ke),!1},trigger:function(e){var t=this||e;return me.test(t.type)&&t.click&&A(t,"input")&&Le(t,"click"),!0},_default:function(e){var t=e.target;return me.test(t.type)&&t.click&&A(t,"input")&&Q.get(t,"click")||A(t,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}},S.removeEvent=function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n)},S.Event=function(e,t){if(!(this instanceof S.Event))return new S.Event(e,t);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&!1===e.returnValue?ke:Ee,this.target=e.target&&3===e.target.nodeType?e.target.parentNode:e.target,this.currentTarget=e.currentTarget,this.relatedTarget=e.relatedTarget):this.type=e,t&&S.extend(this,t),this.timeStamp=e&&e.timeStamp||Date.now(),this[S.expando]=!0},S.Event.prototype={constructor:S.Event,isDefaultPrevented:Ee,isPropagationStopped:Ee,isImmediatePropagationStopped:Ee,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=ke,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=ke,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=ke,e&&!this.isSimulated&&e.stopImmediatePropagation(),this.stopPropagation()}},S.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,code:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:!0},S.event.addProp),S.each({focus:"focusin",blur:"focusout"},(function(e,t){S.event.special[e]={setup:function(){return Le(this,e,Oe),!1},trigger:function(){return Le(this,e),!0},_default:function(){return!0},delegateType:t}})),S.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},(function(e,t){S.event.special[e]={delegateType:t,bindType:t,handle:function(e){var n,r=this,i=e.relatedTarget,o=e.handleObj;return i&&(i===r||S.contains(r,i))||(e.type=o.origType,n=o.handler.apply(this,arguments),e.type=t),n}}})),S.fn.extend({on:function(e,t,n,r){return Ce(this,e,t,n,r)},one:function(e,t,n,r){return Ce(this,e,t,n,r,1)},off:function(e,t,n){var r,i;if(e&&e.preventDefault&&e.handleObj)return r=e.handleObj,S(e.delegateTarget).off(r.namespace?r.origType+"."+r.namespace:r.origType,r.selector,r.handler),this;if("object"==typeof e){for(i in e)this.off(i,t,e[i]);return this}return!1!==t&&"function"!=typeof t||(n=t,t=void 0),!1===n&&(n=Ee),this.each((function(){S.event.remove(this,e,n,t)}))}});var Ae=/<script|<style|<link/i,Ie=/checked\s*(?:[^=]|=\s*.checked.)/i,Pe=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;function Me(e,t){return A(e,"table")&&A(11!==t.nodeType?t:t.firstChild,"tr")&&S(e).children("tbody")[0]||e}function Re(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function je(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function De(e,t){var n,r,i,o,a,s;if(1===t.nodeType){if(Q.hasData(e)&&(s=Q.get(e).events))for(i in Q.remove(t,"handle events"),s)for(n=0,r=s[i].length;n<r;n++)S.event.add(t,i,s[i][n]);J.hasData(e)&&(o=J.access(e),a=S.extend({},o),J.set(t,a))}}function Ne(e,t){var n=t.nodeName.toLowerCase();"input"===n&&me.test(e.type)?t.checked=e.checked:"input"!==n&&"textarea"!==n||(t.defaultValue=e.defaultValue)}function Be(e,t,n,r){t=u(t);var i,o,a,s,c,l,f=0,d=e.length,p=d-1,h=t[0],g=y(h);if(g||d>1&&"string"==typeof h&&!m.checkClone&&Ie.test(h))return e.each((function(i){var o=e.eq(i);g&&(t[0]=h.call(this,i,o.html())),Be(o,t,n,r)}));if(d&&(o=(i=xe(t,e[0].ownerDocument,!1,e,r)).firstChild,1===i.childNodes.length&&(i=o),o||r)){for(s=(a=S.map(_e(i,"script"),Re)).length;f<d;f++)c=i,f!==p&&(c=S.clone(c,!0,!0),s&&S.merge(a,_e(c,"script"))),n.call(e[f],c,f);if(s)for(l=a[a.length-1].ownerDocument,S.map(a,je),f=0;f<s;f++)c=a[f],ve.test(c.type||"")&&!Q.access(c,"globalEval")&&S.contains(l,c)&&(c.src&&"module"!==(c.type||"").toLowerCase()?S._evalUrl&&!c.noModule&&S._evalUrl(c.src,{nonce:c.nonce||c.getAttribute("nonce")},l):w(c.textContent.replace(Pe,""),c,l))}return e}function Ue(e,t,n){for(var r,i=t?S.filter(t,e):e,o=0;null!=(r=i[o]);o++)n||1!==r.nodeType||S.cleanData(_e(r)),r.parentNode&&(n&&se(r)&&we(_e(r,"script")),r.parentNode.removeChild(r));return e}S.extend({htmlPrefilter:function(e){return e},clone:function(e,t,n){var r,i,o,a,s=e.cloneNode(!0),u=se(e);if(!(m.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||S.isXMLDoc(e)))for(a=_e(s),r=0,i=(o=_e(e)).length;r<i;r++)Ne(o[r],a[r]);if(t)if(n)for(o=o||_e(e),a=a||_e(s),r=0,i=o.length;r<i;r++)De(o[r],a[r]);else De(e,s);return(a=_e(s,"script")).length>0&&we(a,!u&&_e(e,"script")),s},cleanData:function(e){for(var t,n,r,i=S.event.special,o=0;void 0!==(n=e[o]);o++)if(K(n)){if(t=n[Q.expando]){if(t.events)for(r in t.events)i[r]?S.event.remove(n,r):S.removeEvent(n,r,t.handle);n[Q.expando]=void 0}n[J.expando]&&(n[J.expando]=void 0)}}}),S.fn.extend({detach:function(e){return Ue(this,e,!0)},remove:function(e){return Ue(this,e)},text:function(e){return V(this,(function(e){return void 0===e?S.text(this):this.empty().each((function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=e)}))}),null,e,arguments.length)},append:function(){return Be(this,arguments,(function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||Me(this,e).appendChild(e)}))},prepend:function(){return Be(this,arguments,(function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=Me(this,e);t.insertBefore(e,t.firstChild)}}))},before:function(){return Be(this,arguments,(function(e){this.parentNode&&this.parentNode.insertBefore(e,this)}))},after:function(){return Be(this,arguments,(function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)}))},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(S.cleanData(_e(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map((function(){return S.clone(this,e,t)}))},html:function(e){return V(this,(function(e){var t=this[0]||{},n=0,r=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!Ae.test(e)&&!be[(ye.exec(e)||["",""])[1].toLowerCase()]){e=S.htmlPrefilter(e);try{for(;n<r;n++)1===(t=this[n]||{}).nodeType&&(S.cleanData(_e(t,!1)),t.innerHTML=e);t=0}catch(e){}}t&&this.empty().append(e)}),null,e,arguments.length)},replaceWith:function(){var e=[];return Be(this,arguments,(function(t){var n=this.parentNode;S.inArray(this,e)<0&&(S.cleanData(_e(this)),n&&n.replaceChild(t,this))}),e)}}),S.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},(function(e,t){S.fn[e]=function(e){for(var n,r=[],i=S(e),o=i.length-1,a=0;a<=o;a++)n=a===o?this:this.clone(!0),S(i[a])[t](n),c.apply(r,n.get());return this.pushStack(r)}}));var Fe=new RegExp("^("+re+")(?!px)[a-z%]+$","i"),ze=function(e){var t=e.ownerDocument.defaultView;return t&&t.opener||(t=r),t.getComputedStyle(e)},He=function(e,t,n){var r,i,o={};for(i in t)o[i]=e.style[i],e.style[i]=t[i];for(i in r=n.call(e),t)e.style[i]=o[i];return r},Ze=new RegExp(oe.join("|"),"i");function qe(e,t,n){var r,i,o,a,s=e.style;return(n=n||ze(e))&&(""!==(a=n.getPropertyValue(t)||n[t])||se(e)||(a=S.style(e,t)),!m.pixelBoxStyles()&&Fe.test(a)&&Ze.test(t)&&(r=s.width,i=s.minWidth,o=s.maxWidth,s.minWidth=s.maxWidth=s.width=a,a=n.width,s.width=r,s.minWidth=i,s.maxWidth=o)),void 0!==a?a+"":a}function Ve(e,t){return{get:function(){if(!e())return(this.get=t).apply(this,arguments);delete this.get}}}!function(){function e(){if(l){c.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",l.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",ae.appendChild(c).appendChild(l);var e=r.getComputedStyle(l);n="1%"!==e.top,u=12===t(e.marginLeft),l.style.right="60%",a=36===t(e.right),i=36===t(e.width),l.style.position="absolute",o=12===t(l.offsetWidth/3),ae.removeChild(c),l=null}}function t(e){return Math.round(parseFloat(e))}var n,i,o,a,s,u,c=b.createElement("div"),l=b.createElement("div");l.style&&(l.style.backgroundClip="content-box",l.cloneNode(!0).style.backgroundClip="",m.clearCloneStyle="content-box"===l.style.backgroundClip,S.extend(m,{boxSizingReliable:function(){return e(),i},pixelBoxStyles:function(){return e(),a},pixelPosition:function(){return e(),n},reliableMarginLeft:function(){return e(),u},scrollboxSize:function(){return e(),o},reliableTrDimensions:function(){var e,t,n,i;return null==s&&(e=b.createElement("table"),t=b.createElement("tr"),n=b.createElement("div"),e.style.cssText="position:absolute;left:-11111px;border-collapse:separate",t.style.cssText="border:1px solid",t.style.height="1px",n.style.height="9px",n.style.display="block",ae.appendChild(e).appendChild(t).appendChild(n),i=r.getComputedStyle(t),s=parseInt(i.height,10)+parseInt(i.borderTopWidth,10)+parseInt(i.borderBottomWidth,10)===t.offsetHeight,ae.removeChild(e)),s}}))}();var We=["Webkit","Moz","ms"],Ge=b.createElement("div").style,$e={};function Ye(e){var t=S.cssProps[e]||$e[e];return t||(e in Ge?e:$e[e]=function(e){for(var t=e[0].toUpperCase()+e.slice(1),n=We.length;n--;)if((e=We[n]+t)in Ge)return e}(e)||e)}var Ke=/^(none|table(?!-c[ea]).+)/,Xe=/^--/,Qe={position:"absolute",visibility:"hidden",display:"block"},Je={letterSpacing:"0",fontWeight:"400"};function et(e,t,n){var r=ie.exec(t);return r?Math.max(0,r[2]-(n||0))+(r[3]||"px"):t}function tt(e,t,n,r,i,o){var a="width"===t?1:0,s=0,u=0;if(n===(r?"border":"content"))return 0;for(;a<4;a+=2)"margin"===n&&(u+=S.css(e,n+oe[a],!0,i)),r?("content"===n&&(u-=S.css(e,"padding"+oe[a],!0,i)),"margin"!==n&&(u-=S.css(e,"border"+oe[a]+"Width",!0,i))):(u+=S.css(e,"padding"+oe[a],!0,i),"padding"!==n?u+=S.css(e,"border"+oe[a]+"Width",!0,i):s+=S.css(e,"border"+oe[a]+"Width",!0,i));return!r&&o>=0&&(u+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-o-u-s-.5))||0),u}function nt(e,t,n){var r=ze(e),i=(!m.boxSizingReliable()||n)&&"border-box"===S.css(e,"boxSizing",!1,r),o=i,a=qe(e,t,r),s="offset"+t[0].toUpperCase()+t.slice(1);if(Fe.test(a)){if(!n)return a;a="auto"}return(!m.boxSizingReliable()&&i||!m.reliableTrDimensions()&&A(e,"tr")||"auto"===a||!parseFloat(a)&&"inline"===S.css(e,"display",!1,r))&&e.getClientRects().length&&(i="border-box"===S.css(e,"boxSizing",!1,r),(o=s in e)&&(a=e[s])),(a=parseFloat(a)||0)+tt(e,t,n||(i?"border":"content"),o,r,a)+"px"}function rt(e,t,n,r,i){return new rt.prototype.init(e,t,n,r,i)}S.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=qe(e,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{},style:function(e,t,n,r){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var i,o,a,s=Y(t),u=Xe.test(t),c=e.style;if(u||(t=Ye(s)),a=S.cssHooks[t]||S.cssHooks[s],void 0===n)return a&&"get"in a&&void 0!==(i=a.get(e,!1,r))?i:c[t];"string"===(o=typeof n)&&(i=ie.exec(n))&&i[1]&&(n=le(e,t,i),o="number"),null!=n&&n==n&&("number"!==o||u||(n+=i&&i[3]||(S.cssNumber[s]?"":"px")),m.clearCloneStyle||""!==n||0!==t.indexOf("background")||(c[t]="inherit"),a&&"set"in a&&void 0===(n=a.set(e,n,r))||(u?c.setProperty(t,n):c[t]=n))}},css:function(e,t,n,r){var i,o,a,s=Y(t);return Xe.test(t)||(t=Ye(s)),(a=S.cssHooks[t]||S.cssHooks[s])&&"get"in a&&(i=a.get(e,!0,n)),void 0===i&&(i=qe(e,t,r)),"normal"===i&&t in Je&&(i=Je[t]),""===n||n?(o=parseFloat(i),!0===n||isFinite(o)?o||0:i):i}}),S.each(["height","width"],(function(e,t){S.cssHooks[t]={get:function(e,n,r){if(n)return!Ke.test(S.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?nt(e,t,r):He(e,Qe,(function(){return nt(e,t,r)}))},set:function(e,n,r){var i,o=ze(e),a=!m.scrollboxSize()&&"absolute"===o.position,s=(a||r)&&"border-box"===S.css(e,"boxSizing",!1,o),u=r?tt(e,t,r,s,o):0;return s&&a&&(u-=Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-parseFloat(o[t])-tt(e,t,"border",!1,o)-.5)),u&&(i=ie.exec(n))&&"px"!==(i[3]||"px")&&(e.style[t]=n,n=S.css(e,t)),et(0,n,u)}}})),S.cssHooks.marginLeft=Ve(m.reliableMarginLeft,(function(e,t){if(t)return(parseFloat(qe(e,"marginLeft"))||e.getBoundingClientRect().left-He(e,{marginLeft:0},(function(){return e.getBoundingClientRect().left})))+"px"})),S.each({margin:"",padding:"",border:"Width"},(function(e,t){S.cssHooks[e+t]={expand:function(n){for(var r=0,i={},o="string"==typeof n?n.split(" "):[n];r<4;r++)i[e+oe[r]+t]=o[r]||o[r-2]||o[0];return i}},"margin"!==e&&(S.cssHooks[e+t].set=et)})),S.fn.extend({css:function(e,t){return V(this,(function(e,t,n){var r,i,o={},a=0;if(Array.isArray(t)){for(r=ze(e),i=t.length;a<i;a++)o[t[a]]=S.css(e,t[a],!1,r);return o}return void 0!==n?S.style(e,t,n):S.css(e,t)}),e,t,arguments.length>1)}}),S.Tween=rt,rt.prototype={constructor:rt,init:function(e,t,n,r,i,o){this.elem=e,this.prop=n,this.easing=i||S.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=o||(S.cssNumber[n]?"":"px")},cur:function(){var e=rt.propHooks[this.prop];return e&&e.get?e.get(this):rt.propHooks._default.get(this)},run:function(e){var t,n=rt.propHooks[this.prop];return this.options.duration?this.pos=t=S.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):rt.propHooks._default.set(this),this}},rt.prototype.init.prototype=rt.prototype,rt.propHooks={_default:{get:function(e){var t;return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(t=S.css(e.elem,e.prop,""))&&"auto"!==t?t:0},set:function(e){S.fx.step[e.prop]?S.fx.step[e.prop](e):1!==e.elem.nodeType||!S.cssHooks[e.prop]&&null==e.elem.style[Ye(e.prop)]?e.elem[e.prop]=e.now:S.style(e.elem,e.prop,e.now+e.unit)}}},rt.propHooks.scrollTop=rt.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},S.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},S.fx=rt.prototype.init,S.fx.step={};var it,ot,at=/^(?:toggle|show|hide)$/,st=/queueHooks$/;function ut(){ot&&(!1===b.hidden&&r.requestAnimationFrame?r.requestAnimationFrame(ut):r.setTimeout(ut,S.fx.interval),S.fx.tick())}function ct(){return r.setTimeout((function(){it=void 0})),it=Date.now()}function lt(e,t){var n,r=0,i={height:e};for(t=t?1:0;r<4;r+=2-t)i["margin"+(n=oe[r])]=i["padding"+n]=e;return t&&(i.opacity=i.width=e),i}function ft(e,t,n){for(var r,i=(dt.tweeners[t]||[]).concat(dt.tweeners["*"]),o=0,a=i.length;o<a;o++)if(r=i[o].call(n,t,e))return r}function dt(e,t,n){var r,i,o=0,a=dt.prefilters.length,s=S.Deferred().always((function(){delete u.elem})),u=function(){if(i)return!1;for(var t=it||ct(),n=Math.max(0,c.startTime+c.duration-t),r=1-(n/c.duration||0),o=0,a=c.tweens.length;o<a;o++)c.tweens[o].run(r);return s.notifyWith(e,[c,r,n]),r<1&&a?n:(a||s.notifyWith(e,[c,1,0]),s.resolveWith(e,[c]),!1)},c=s.promise({elem:e,props:S.extend({},t),opts:S.extend(!0,{specialEasing:{},easing:S.easing._default},n),originalProperties:t,originalOptions:n,startTime:it||ct(),duration:n.duration,tweens:[],createTween:function(t,n){var r=S.Tween(e,c.opts,t,n,c.opts.specialEasing[t]||c.opts.easing);return c.tweens.push(r),r},stop:function(t){var n=0,r=t?c.tweens.length:0;if(i)return this;for(i=!0;n<r;n++)c.tweens[n].run(1);return t?(s.notifyWith(e,[c,1,0]),s.resolveWith(e,[c,t])):s.rejectWith(e,[c,t]),this}}),l=c.props;for(!function(e,t){var n,r,i,o,a;for(n in e)if(i=t[r=Y(n)],o=e[n],Array.isArray(o)&&(i=o[1],o=e[n]=o[0]),n!==r&&(e[r]=o,delete e[n]),(a=S.cssHooks[r])&&"expand"in a)for(n in o=a.expand(o),delete e[r],o)n in e||(e[n]=o[n],t[n]=i);else t[r]=i}(l,c.opts.specialEasing);o<a;o++)if(r=dt.prefilters[o].call(c,e,l,c.opts))return y(r.stop)&&(S._queueHooks(c.elem,c.opts.queue).stop=r.stop.bind(r)),r;return S.map(l,ft,c),y(c.opts.start)&&c.opts.start.call(e,c),c.progress(c.opts.progress).done(c.opts.done,c.opts.complete).fail(c.opts.fail).always(c.opts.always),S.fx.timer(S.extend(u,{elem:e,anim:c,queue:c.opts.queue})),c}S.Animation=S.extend(dt,{tweeners:{"*":[function(e,t){var n=this.createTween(e,t);return le(n.elem,e,ie.exec(t),n),n}]},tweener:function(e,t){y(e)?(t=e,e=["*"]):e=e.match(B);for(var n,r=0,i=e.length;r<i;r++)n=e[r],dt.tweeners[n]=dt.tweeners[n]||[],dt.tweeners[n].unshift(t)},prefilters:[function(e,t,n){var r,i,o,a,s,u,c,l,f="width"in t||"height"in t,d=this,p={},h=e.style,g=e.nodeType&&ce(e),m=Q.get(e,"fxshow");for(r in n.queue||(null==(a=S._queueHooks(e,"fx")).unqueued&&(a.unqueued=0,s=a.empty.fire,a.empty.fire=function(){a.unqueued||s()}),a.unqueued++,d.always((function(){d.always((function(){a.unqueued--,S.queue(e,"fx").length||a.empty.fire()}))}))),t)if(i=t[r],at.test(i)){if(delete t[r],o=o||"toggle"===i,i===(g?"hide":"show")){if("show"!==i||!m||void 0===m[r])continue;g=!0}p[r]=m&&m[r]||S.style(e,r)}if((u=!S.isEmptyObject(t))||!S.isEmptyObject(p))for(r in f&&1===e.nodeType&&(n.overflow=[h.overflow,h.overflowX,h.overflowY],null==(c=m&&m.display)&&(c=Q.get(e,"display")),"none"===(l=S.css(e,"display"))&&(c?l=c:(pe([e],!0),c=e.style.display||c,l=S.css(e,"display"),pe([e]))),("inline"===l||"inline-block"===l&&null!=c)&&"none"===S.css(e,"float")&&(u||(d.done((function(){h.display=c})),null==c&&(l=h.display,c="none"===l?"":l)),h.display="inline-block")),n.overflow&&(h.overflow="hidden",d.always((function(){h.overflow=n.overflow[0],h.overflowX=n.overflow[1],h.overflowY=n.overflow[2]}))),u=!1,p)u||(m?"hidden"in m&&(g=m.hidden):m=Q.access(e,"fxshow",{display:c}),o&&(m.hidden=!g),g&&pe([e],!0),d.done((function(){for(r in g||pe([e]),Q.remove(e,"fxshow"),p)S.style(e,r,p[r])}))),u=ft(g?m[r]:0,r,d),r in m||(m[r]=u.start,g&&(u.end=u.start,u.start=0))}],prefilter:function(e,t){t?dt.prefilters.unshift(e):dt.prefilters.push(e)}}),S.speed=function(e,t,n){var r=e&&"object"==typeof e?S.extend({},e):{complete:n||!n&&t||y(e)&&e,duration:e,easing:n&&t||t&&!y(t)&&t};return S.fx.off?r.duration=0:"number"!=typeof r.duration&&(r.duration in S.fx.speeds?r.duration=S.fx.speeds[r.duration]:r.duration=S.fx.speeds._default),null!=r.queue&&!0!==r.queue||(r.queue="fx"),r.old=r.complete,r.complete=function(){y(r.old)&&r.old.call(this),r.queue&&S.dequeue(this,r.queue)},r},S.fn.extend({fadeTo:function(e,t,n,r){return this.filter(ce).css("opacity",0).show().end().animate({opacity:t},e,n,r)},animate:function(e,t,n,r){var i=S.isEmptyObject(e),o=S.speed(t,n,r),a=function(){var t=dt(this,S.extend({},e),o);(i||Q.get(this,"finish"))&&t.stop(!0)};return a.finish=a,i||!1===o.queue?this.each(a):this.queue(o.queue,a)},stop:function(e,t,n){var r=function(e){var t=e.stop;delete e.stop,t(n)};return"string"!=typeof e&&(n=t,t=e,e=void 0),t&&this.queue(e||"fx",[]),this.each((function(){var t=!0,i=null!=e&&e+"queueHooks",o=S.timers,a=Q.get(this);if(i)a[i]&&a[i].stop&&r(a[i]);else for(i in a)a[i]&&a[i].stop&&st.test(i)&&r(a[i]);for(i=o.length;i--;)o[i].elem!==this||null!=e&&o[i].queue!==e||(o[i].anim.stop(n),t=!1,o.splice(i,1));!t&&n||S.dequeue(this,e)}))},finish:function(e){return!1!==e&&(e=e||"fx"),this.each((function(){var t,n=Q.get(this),r=n[e+"queue"],i=n[e+"queueHooks"],o=S.timers,a=r?r.length:0;for(n.finish=!0,S.queue(this,e,[]),i&&i.stop&&i.stop.call(this,!0),t=o.length;t--;)o[t].elem===this&&o[t].queue===e&&(o[t].anim.stop(!0),o.splice(t,1));for(t=0;t<a;t++)r[t]&&r[t].finish&&r[t].finish.call(this);delete n.finish}))}}),S.each(["toggle","show","hide"],(function(e,t){var n=S.fn[t];S.fn[t]=function(e,r,i){return null==e||"boolean"==typeof e?n.apply(this,arguments):this.animate(lt(t,!0),e,r,i)}})),S.each({slideDown:lt("show"),slideUp:lt("hide"),slideToggle:lt("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},(function(e,t){S.fn[e]=function(e,n,r){return this.animate(t,e,n,r)}})),S.timers=[],S.fx.tick=function(){var e,t=0,n=S.timers;for(it=Date.now();t<n.length;t++)(e=n[t])()||n[t]!==e||n.splice(t--,1);n.length||S.fx.stop(),it=void 0},S.fx.timer=function(e){S.timers.push(e),S.fx.start()},S.fx.interval=13,S.fx.start=function(){ot||(ot=!0,ut())},S.fx.stop=function(){ot=null},S.fx.speeds={slow:600,fast:200,_default:400},S.fn.delay=function(e,t){return e=S.fx&&S.fx.speeds[e]||e,t=t||"fx",this.queue(t,(function(t,n){var i=r.setTimeout(t,e);n.stop=function(){r.clearTimeout(i)}}))},function(){var e=b.createElement("input"),t=b.createElement("select").appendChild(b.createElement("option"));e.type="checkbox",m.checkOn=""!==e.value,m.optSelected=t.selected,(e=b.createElement("input")).value="t",e.type="radio",m.radioValue="t"===e.value}();var pt,ht=S.expr.attrHandle;S.fn.extend({attr:function(e,t){return V(this,S.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each((function(){S.removeAttr(this,e)}))}}),S.extend({attr:function(e,t,n){var r,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return void 0===e.getAttribute?S.prop(e,t,n):(1===o&&S.isXMLDoc(e)||(i=S.attrHooks[t.toLowerCase()]||(S.expr.match.bool.test(t)?pt:void 0)),void 0!==n?null===n?void S.removeAttr(e,t):i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:(e.setAttribute(t,n+""),n):i&&"get"in i&&null!==(r=i.get(e,t))?r:null==(r=S.find.attr(e,t))?void 0:r)},attrHooks:{type:{set:function(e,t){if(!m.radioValue&&"radio"===t&&A(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,r=0,i=t&&t.match(B);if(i&&1===e.nodeType)for(;n=i[r++];)e.removeAttribute(n)}}),pt={set:function(e,t,n){return!1===t?S.removeAttr(e,n):e.setAttribute(n,n),n}},S.each(S.expr.match.bool.source.match(/\w+/g),(function(e,t){var n=ht[t]||S.find.attr;ht[t]=function(e,t,r){var i,o,a=t.toLowerCase();return r||(o=ht[a],ht[a]=i,i=null!=n(e,t,r)?a:null,ht[a]=o),i}}));var gt=/^(?:input|select|textarea|button)$/i,mt=/^(?:a|area)$/i;function yt(e){return(e.match(B)||[]).join(" ")}function vt(e){return e.getAttribute&&e.getAttribute("class")||""}function bt(e){return Array.isArray(e)?e:"string"==typeof e&&e.match(B)||[]}S.fn.extend({prop:function(e,t){return V(this,S.prop,e,t,arguments.length>1)},removeProp:function(e){return this.each((function(){delete this[S.propFix[e]||e]}))}}),S.extend({prop:function(e,t,n){var r,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return 1===o&&S.isXMLDoc(e)||(t=S.propFix[t]||t,i=S.propHooks[t]),void 0!==n?i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:e[t]=n:i&&"get"in i&&null!==(r=i.get(e,t))?r:e[t]},propHooks:{tabIndex:{get:function(e){var t=S.find.attr(e,"tabindex");return t?parseInt(t,10):gt.test(e.nodeName)||mt.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),m.optSelected||(S.propHooks.selected={get:function(e){var t=e.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null},set:function(e){var t=e.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}}),S.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],(function(){S.propFix[this.toLowerCase()]=this})),S.fn.extend({addClass:function(e){var t,n,r,i,o,a,s,u=0;if(y(e))return this.each((function(t){S(this).addClass(e.call(this,t,vt(this)))}));if((t=bt(e)).length)for(;n=this[u++];)if(i=vt(n),r=1===n.nodeType&&" "+yt(i)+" "){for(a=0;o=t[a++];)r.indexOf(" "+o+" ")<0&&(r+=o+" ");i!==(s=yt(r))&&n.setAttribute("class",s)}return this},removeClass:function(e){var t,n,r,i,o,a,s,u=0;if(y(e))return this.each((function(t){S(this).removeClass(e.call(this,t,vt(this)))}));if(!arguments.length)return this.attr("class","");if((t=bt(e)).length)for(;n=this[u++];)if(i=vt(n),r=1===n.nodeType&&" "+yt(i)+" "){for(a=0;o=t[a++];)for(;r.indexOf(" "+o+" ")>-1;)r=r.replace(" "+o+" "," ");i!==(s=yt(r))&&n.setAttribute("class",s)}return this},toggleClass:function(e,t){var n=typeof e,r="string"===n||Array.isArray(e);return"boolean"==typeof t&&r?t?this.addClass(e):this.removeClass(e):y(e)?this.each((function(n){S(this).toggleClass(e.call(this,n,vt(this),t),t)})):this.each((function(){var t,i,o,a;if(r)for(i=0,o=S(this),a=bt(e);t=a[i++];)o.hasClass(t)?o.removeClass(t):o.addClass(t);else void 0!==e&&"boolean"!==n||((t=vt(this))&&Q.set(this,"__className__",t),this.setAttribute&&this.setAttribute("class",t||!1===e?"":Q.get(this,"__className__")||""))}))},hasClass:function(e){var t,n,r=0;for(t=" "+e+" ";n=this[r++];)if(1===n.nodeType&&(" "+yt(vt(n))+" ").indexOf(t)>-1)return!0;return!1}});var _t=/\r/g;S.fn.extend({val:function(e){var t,n,r,i=this[0];return arguments.length?(r=y(e),this.each((function(n){var i;1===this.nodeType&&(null==(i=r?e.call(this,n,S(this).val()):e)?i="":"number"==typeof i?i+="":Array.isArray(i)&&(i=S.map(i,(function(e){return null==e?"":e+""}))),(t=S.valHooks[this.type]||S.valHooks[this.nodeName.toLowerCase()])&&"set"in t&&void 0!==t.set(this,i,"value")||(this.value=i))}))):i?(t=S.valHooks[i.type]||S.valHooks[i.nodeName.toLowerCase()])&&"get"in t&&void 0!==(n=t.get(i,"value"))?n:"string"==typeof(n=i.value)?n.replace(_t,""):null==n?"":n:void 0}}),S.extend({valHooks:{option:{get:function(e){var t=S.find.attr(e,"value");return null!=t?t:yt(S.text(e))}},select:{get:function(e){var t,n,r,i=e.options,o=e.selectedIndex,a="select-one"===e.type,s=a?null:[],u=a?o+1:i.length;for(r=o<0?u:a?o:0;r<u;r++)if(((n=i[r]).selected||r===o)&&!n.disabled&&(!n.parentNode.disabled||!A(n.parentNode,"optgroup"))){if(t=S(n).val(),a)return t;s.push(t)}return s},set:function(e,t){for(var n,r,i=e.options,o=S.makeArray(t),a=i.length;a--;)((r=i[a]).selected=S.inArray(S.valHooks.option.get(r),o)>-1)&&(n=!0);return n||(e.selectedIndex=-1),o}}}}),S.each(["radio","checkbox"],(function(){S.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=S.inArray(S(e).val(),t)>-1}},m.checkOn||(S.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})})),m.focusin="onfocusin"in r;var wt=/^(?:focusinfocus|focusoutblur)$/,Tt=function(e){e.stopPropagation()};S.extend(S.event,{trigger:function(e,t,n,i){var o,a,s,u,c,l,f,d,h=[n||b],g=p.call(e,"type")?e.type:e,m=p.call(e,"namespace")?e.namespace.split("."):[];if(a=d=s=n=n||b,3!==n.nodeType&&8!==n.nodeType&&!wt.test(g+S.event.triggered)&&(g.indexOf(".")>-1&&(m=g.split("."),g=m.shift(),m.sort()),c=g.indexOf(":")<0&&"on"+g,(e=e[S.expando]?e:new S.Event(g,"object"==typeof e&&e)).isTrigger=i?2:3,e.namespace=m.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+m.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=n),t=null==t?[e]:S.makeArray(t,[e]),f=S.event.special[g]||{},i||!f.trigger||!1!==f.trigger.apply(n,t))){if(!i&&!f.noBubble&&!v(n)){for(u=f.delegateType||g,wt.test(u+g)||(a=a.parentNode);a;a=a.parentNode)h.push(a),s=a;s===(n.ownerDocument||b)&&h.push(s.defaultView||s.parentWindow||r)}for(o=0;(a=h[o++])&&!e.isPropagationStopped();)d=a,e.type=o>1?u:f.bindType||g,(l=(Q.get(a,"events")||Object.create(null))[e.type]&&Q.get(a,"handle"))&&l.apply(a,t),(l=c&&a[c])&&l.apply&&K(a)&&(e.result=l.apply(a,t),!1===e.result&&e.preventDefault());return e.type=g,i||e.isDefaultPrevented()||f._default&&!1!==f._default.apply(h.pop(),t)||!K(n)||c&&y(n[g])&&!v(n)&&((s=n[c])&&(n[c]=null),S.event.triggered=g,e.isPropagationStopped()&&d.addEventListener(g,Tt),n[g](),e.isPropagationStopped()&&d.removeEventListener(g,Tt),S.event.triggered=void 0,s&&(n[c]=s)),e.result}},simulate:function(e,t,n){var r=S.extend(new S.Event,n,{type:e,isSimulated:!0});S.event.trigger(r,null,t)}}),S.fn.extend({trigger:function(e,t){return this.each((function(){S.event.trigger(e,t,this)}))},triggerHandler:function(e,t){var n=this[0];if(n)return S.event.trigger(e,t,n,!0)}}),m.focusin||S.each({focus:"focusin",blur:"focusout"},(function(e,t){var n=function(e){S.event.simulate(t,e.target,S.event.fix(e))};S.event.special[t]={setup:function(){var r=this.ownerDocument||this.document||this,i=Q.access(r,t);i||r.addEventListener(e,n,!0),Q.access(r,t,(i||0)+1)},teardown:function(){var r=this.ownerDocument||this.document||this,i=Q.access(r,t)-1;i?Q.access(r,t,i):(r.removeEventListener(e,n,!0),Q.remove(r,t))}}}));var xt=r.location,St={guid:Date.now()},kt=/\?/;S.parseXML=function(e){var t,n;if(!e||"string"!=typeof e)return null;try{t=(new r.DOMParser).parseFromString(e,"text/xml")}catch(e){}return n=t&&t.getElementsByTagName("parsererror")[0],t&&!n||S.error("Invalid XML: "+(n?S.map(n.childNodes,(function(e){return e.textContent})).join("\n"):e)),t};var Et=/\[\]$/,Ot=/\r?\n/g,Ct=/^(?:submit|button|image|reset|file)$/i,Lt=/^(?:input|select|textarea|keygen)/i;function At(e,t,n,r){var i;if(Array.isArray(t))S.each(t,(function(t,i){n||Et.test(e)?r(e,i):At(e+"["+("object"==typeof i&&null!=i?t:"")+"]",i,n,r)}));else if(n||"object"!==T(t))r(e,t);else for(i in t)At(e+"["+i+"]",t[i],n,r)}S.param=function(e,t){var n,r=[],i=function(e,t){var n=y(t)?t():t;r[r.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==n?"":n)};if(null==e)return"";if(Array.isArray(e)||e.jquery&&!S.isPlainObject(e))S.each(e,(function(){i(this.name,this.value)}));else for(n in e)At(n,e[n],t,i);return r.join("&")},S.fn.extend({serialize:function(){return S.param(this.serializeArray())},serializeArray:function(){return this.map((function(){var e=S.prop(this,"elements");return e?S.makeArray(e):this})).filter((function(){var e=this.type;return this.name&&!S(this).is(":disabled")&&Lt.test(this.nodeName)&&!Ct.test(e)&&(this.checked||!me.test(e))})).map((function(e,t){var n=S(this).val();return null==n?null:Array.isArray(n)?S.map(n,(function(e){return{name:t.name,value:e.replace(Ot,"\r\n")}})):{name:t.name,value:n.replace(Ot,"\r\n")}})).get()}});var It=/%20/g,Pt=/#.*$/,Mt=/([?&])_=[^&]*/,Rt=/^(.*?):[ \t]*([^\r\n]*)$/gm,jt=/^(?:GET|HEAD)$/,Dt=/^\/\//,Nt={},Bt={},Ut="*/".concat("*"),Ft=b.createElement("a");function zt(e){return function(t,n){"string"!=typeof t&&(n=t,t="*");var r,i=0,o=t.toLowerCase().match(B)||[];if(y(n))for(;r=o[i++];)"+"===r[0]?(r=r.slice(1)||"*",(e[r]=e[r]||[]).unshift(n)):(e[r]=e[r]||[]).push(n)}}function Ht(e,t,n,r){var i={},o=e===Bt;function a(s){var u;return i[s]=!0,S.each(e[s]||[],(function(e,s){var c=s(t,n,r);return"string"!=typeof c||o||i[c]?o?!(u=c):void 0:(t.dataTypes.unshift(c),a(c),!1)})),u}return a(t.dataTypes[0])||!i["*"]&&a("*")}function Zt(e,t){var n,r,i=S.ajaxSettings.flatOptions||{};for(n in t)void 0!==t[n]&&((i[n]?e:r||(r={}))[n]=t[n]);return r&&S.extend(!0,e,r),e}Ft.href=xt.href,S.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:xt.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(xt.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Ut,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":S.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?Zt(Zt(e,S.ajaxSettings),t):Zt(S.ajaxSettings,e)},ajaxPrefilter:zt(Nt),ajaxTransport:zt(Bt),ajax:function(e,t){"object"==typeof e&&(t=e,e=void 0),t=t||{};var n,i,o,a,s,u,c,l,f,d,p=S.ajaxSetup({},t),h=p.context||p,g=p.context&&(h.nodeType||h.jquery)?S(h):S.event,m=S.Deferred(),y=S.Callbacks("once memory"),v=p.statusCode||{},_={},w={},T="canceled",x={readyState:0,getResponseHeader:function(e){var t;if(c){if(!a)for(a={};t=Rt.exec(o);)a[t[1].toLowerCase()+" "]=(a[t[1].toLowerCase()+" "]||[]).concat(t[2]);t=a[e.toLowerCase()+" "]}return null==t?null:t.join(", ")},getAllResponseHeaders:function(){return c?o:null},setRequestHeader:function(e,t){return null==c&&(e=w[e.toLowerCase()]=w[e.toLowerCase()]||e,_[e]=t),this},overrideMimeType:function(e){return null==c&&(p.mimeType=e),this},statusCode:function(e){var t;if(e)if(c)x.always(e[x.status]);else for(t in e)v[t]=[v[t],e[t]];return this},abort:function(e){var t=e||T;return n&&n.abort(t),k(0,t),this}};if(m.promise(x),p.url=((e||p.url||xt.href)+"").replace(Dt,xt.protocol+"//"),p.type=t.method||t.type||p.method||p.type,p.dataTypes=(p.dataType||"*").toLowerCase().match(B)||[""],null==p.crossDomain){u=b.createElement("a");try{u.href=p.url,u.href=u.href,p.crossDomain=Ft.protocol+"//"+Ft.host!=u.protocol+"//"+u.host}catch(e){p.crossDomain=!0}}if(p.data&&p.processData&&"string"!=typeof p.data&&(p.data=S.param(p.data,p.traditional)),Ht(Nt,p,t,x),c)return x;for(f in(l=S.event&&p.global)&&0==S.active++&&S.event.trigger("ajaxStart"),p.type=p.type.toUpperCase(),p.hasContent=!jt.test(p.type),i=p.url.replace(Pt,""),p.hasContent?p.data&&p.processData&&0===(p.contentType||"").indexOf("application/x-www-form-urlencoded")&&(p.data=p.data.replace(It,"+")):(d=p.url.slice(i.length),p.data&&(p.processData||"string"==typeof p.data)&&(i+=(kt.test(i)?"&":"?")+p.data,delete p.data),!1===p.cache&&(i=i.replace(Mt,"$1"),d=(kt.test(i)?"&":"?")+"_="+St.guid+++d),p.url=i+d),p.ifModified&&(S.lastModified[i]&&x.setRequestHeader("If-Modified-Since",S.lastModified[i]),S.etag[i]&&x.setRequestHeader("If-None-Match",S.etag[i])),(p.data&&p.hasContent&&!1!==p.contentType||t.contentType)&&x.setRequestHeader("Content-Type",p.contentType),x.setRequestHeader("Accept",p.dataTypes[0]&&p.accepts[p.dataTypes[0]]?p.accepts[p.dataTypes[0]]+("*"!==p.dataTypes[0]?", "+Ut+"; q=0.01":""):p.accepts["*"]),p.headers)x.setRequestHeader(f,p.headers[f]);if(p.beforeSend&&(!1===p.beforeSend.call(h,x,p)||c))return x.abort();if(T="abort",y.add(p.complete),x.done(p.success),x.fail(p.error),n=Ht(Bt,p,t,x)){if(x.readyState=1,l&&g.trigger("ajaxSend",[x,p]),c)return x;p.async&&p.timeout>0&&(s=r.setTimeout((function(){x.abort("timeout")}),p.timeout));try{c=!1,n.send(_,k)}catch(e){if(c)throw e;k(-1,e)}}else k(-1,"No Transport");function k(e,t,a,u){var f,d,b,_,w,T=t;c||(c=!0,s&&r.clearTimeout(s),n=void 0,o=u||"",x.readyState=e>0?4:0,f=e>=200&&e<300||304===e,a&&(_=function(e,t,n){for(var r,i,o,a,s=e.contents,u=e.dataTypes;"*"===u[0];)u.shift(),void 0===r&&(r=e.mimeType||t.getResponseHeader("Content-Type"));if(r)for(i in s)if(s[i]&&s[i].test(r)){u.unshift(i);break}if(u[0]in n)o=u[0];else{for(i in n){if(!u[0]||e.converters[i+" "+u[0]]){o=i;break}a||(a=i)}o=o||a}if(o)return o!==u[0]&&u.unshift(o),n[o]}(p,x,a)),!f&&S.inArray("script",p.dataTypes)>-1&&S.inArray("json",p.dataTypes)<0&&(p.converters["text script"]=function(){}),_=function(e,t,n,r){var i,o,a,s,u,c={},l=e.dataTypes.slice();if(l[1])for(a in e.converters)c[a.toLowerCase()]=e.converters[a];for(o=l.shift();o;)if(e.responseFields[o]&&(n[e.responseFields[o]]=t),!u&&r&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),u=o,o=l.shift())if("*"===o)o=u;else if("*"!==u&&u!==o){if(!(a=c[u+" "+o]||c["* "+o]))for(i in c)if((s=i.split(" "))[1]===o&&(a=c[u+" "+s[0]]||c["* "+s[0]])){!0===a?a=c[i]:!0!==c[i]&&(o=s[0],l.unshift(s[1]));break}if(!0!==a)if(a&&e.throws)t=a(t);else try{t=a(t)}catch(e){return{state:"parsererror",error:a?e:"No conversion from "+u+" to "+o}}}return{state:"success",data:t}}(p,_,x,f),f?(p.ifModified&&((w=x.getResponseHeader("Last-Modified"))&&(S.lastModified[i]=w),(w=x.getResponseHeader("etag"))&&(S.etag[i]=w)),204===e||"HEAD"===p.type?T="nocontent":304===e?T="notmodified":(T=_.state,d=_.data,f=!(b=_.error))):(b=T,!e&&T||(T="error",e<0&&(e=0))),x.status=e,x.statusText=(t||T)+"",f?m.resolveWith(h,[d,T,x]):m.rejectWith(h,[x,T,b]),x.statusCode(v),v=void 0,l&&g.trigger(f?"ajaxSuccess":"ajaxError",[x,p,f?d:b]),y.fireWith(h,[x,T]),l&&(g.trigger("ajaxComplete",[x,p]),--S.active||S.event.trigger("ajaxStop")))}return x},getJSON:function(e,t,n){return S.get(e,t,n,"json")},getScript:function(e,t){return S.get(e,void 0,t,"script")}}),S.each(["get","post"],(function(e,t){S[t]=function(e,n,r,i){return y(n)&&(i=i||r,r=n,n=void 0),S.ajax(S.extend({url:e,type:t,dataType:i,data:n,success:r},S.isPlainObject(e)&&e))}})),S.ajaxPrefilter((function(e){var t;for(t in e.headers)"content-type"===t.toLowerCase()&&(e.contentType=e.headers[t]||"")})),S._evalUrl=function(e,t,n){return S.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(e){S.globalEval(e,t,n)}})},S.fn.extend({wrapAll:function(e){var t;return this[0]&&(y(e)&&(e=e.call(this[0])),t=S(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map((function(){for(var e=this;e.firstElementChild;)e=e.firstElementChild;return e})).append(this)),this},wrapInner:function(e){return y(e)?this.each((function(t){S(this).wrapInner(e.call(this,t))})):this.each((function(){var t=S(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)}))},wrap:function(e){var t=y(e);return this.each((function(n){S(this).wrapAll(t?e.call(this,n):e)}))},unwrap:function(e){return this.parent(e).not("body").each((function(){S(this).replaceWith(this.childNodes)})),this}}),S.expr.pseudos.hidden=function(e){return!S.expr.pseudos.visible(e)},S.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},S.ajaxSettings.xhr=function(){try{return new r.XMLHttpRequest}catch(e){}};var qt={0:200,1223:204},Vt=S.ajaxSettings.xhr();m.cors=!!Vt&&"withCredentials"in Vt,m.ajax=Vt=!!Vt,S.ajaxTransport((function(e){var t,n;if(m.cors||Vt&&!e.crossDomain)return{send:function(i,o){var a,s=e.xhr();if(s.open(e.type,e.url,e.async,e.username,e.password),e.xhrFields)for(a in e.xhrFields)s[a]=e.xhrFields[a];for(a in e.mimeType&&s.overrideMimeType&&s.overrideMimeType(e.mimeType),e.crossDomain||i["X-Requested-With"]||(i["X-Requested-With"]="XMLHttpRequest"),i)s.setRequestHeader(a,i[a]);t=function(e){return function(){t&&(t=n=s.onload=s.onerror=s.onabort=s.ontimeout=s.onreadystatechange=null,"abort"===e?s.abort():"error"===e?"number"!=typeof s.status?o(0,"error"):o(s.status,s.statusText):o(qt[s.status]||s.status,s.statusText,"text"!==(s.responseType||"text")||"string"!=typeof s.responseText?{binary:s.response}:{text:s.responseText},s.getAllResponseHeaders()))}},s.onload=t(),n=s.onerror=s.ontimeout=t("error"),void 0!==s.onabort?s.onabort=n:s.onreadystatechange=function(){4===s.readyState&&r.setTimeout((function(){t&&n()}))},t=t("abort");try{s.send(e.hasContent&&e.data||null)}catch(e){if(t)throw e}},abort:function(){t&&t()}}})),S.ajaxPrefilter((function(e){e.crossDomain&&(e.contents.script=!1)})),S.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return S.globalEval(e),e}}}),S.ajaxPrefilter("script",(function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")})),S.ajaxTransport("script",(function(e){var t,n;if(e.crossDomain||e.scriptAttrs)return{send:function(r,i){t=S("<script>").attr(e.scriptAttrs||{}).prop({charset:e.scriptCharset,src:e.url}).on("load error",n=function(e){t.remove(),n=null,e&&i("error"===e.type?404:200,e.type)}),b.head.appendChild(t[0])},abort:function(){n&&n()}}}));var Wt,Gt=[],$t=/(=)\?(?=&|$)|\?\?/;S.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Gt.pop()||S.expando+"_"+St.guid++;return this[e]=!0,e}}),S.ajaxPrefilter("json jsonp",(function(e,t,n){var i,o,a,s=!1!==e.jsonp&&($t.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&$t.test(e.data)&&"data");if(s||"jsonp"===e.dataTypes[0])return i=e.jsonpCallback=y(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,s?e[s]=e[s].replace($t,"$1"+i):!1!==e.jsonp&&(e.url+=(kt.test(e.url)?"&":"?")+e.jsonp+"="+i),e.converters["script json"]=function(){return a||S.error(i+" was not called"),a[0]},e.dataTypes[0]="json",o=r[i],r[i]=function(){a=arguments},n.always((function(){void 0===o?S(r).removeProp(i):r[i]=o,e[i]&&(e.jsonpCallback=t.jsonpCallback,Gt.push(i)),a&&y(o)&&o(a[0]),a=o=void 0})),"script"})),m.createHTMLDocument=((Wt=b.implementation.createHTMLDocument("").body).innerHTML="<form></form><form></form>",2===Wt.childNodes.length),S.parseHTML=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(m.createHTMLDocument?((r=(t=b.implementation.createHTMLDocument("")).createElement("base")).href=b.location.href,t.head.appendChild(r)):t=b),o=!n&&[],(i=I.exec(e))?[t.createElement(i[1])]:(i=xe([e],t,o),o&&o.length&&S(o).remove(),S.merge([],i.childNodes)));var r,i,o},S.fn.load=function(e,t,n){var r,i,o,a=this,s=e.indexOf(" ");return s>-1&&(r=yt(e.slice(s)),e=e.slice(0,s)),y(t)?(n=t,t=void 0):t&&"object"==typeof t&&(i="POST"),a.length>0&&S.ajax({url:e,type:i||"GET",dataType:"html",data:t}).done((function(e){o=arguments,a.html(r?S("<div>").append(S.parseHTML(e)).find(r):e)})).always(n&&function(e,t){a.each((function(){n.apply(this,o||[e.responseText,t,e])}))}),this},S.expr.pseudos.animated=function(e){return S.grep(S.timers,(function(t){return e===t.elem})).length},S.offset={setOffset:function(e,t,n){var r,i,o,a,s,u,c=S.css(e,"position"),l=S(e),f={};"static"===c&&(e.style.position="relative"),s=l.offset(),o=S.css(e,"top"),u=S.css(e,"left"),("absolute"===c||"fixed"===c)&&(o+u).indexOf("auto")>-1?(a=(r=l.position()).top,i=r.left):(a=parseFloat(o)||0,i=parseFloat(u)||0),y(t)&&(t=t.call(e,n,S.extend({},s))),null!=t.top&&(f.top=t.top-s.top+a),null!=t.left&&(f.left=t.left-s.left+i),"using"in t?t.using.call(e,f):l.css(f)}},S.fn.extend({offset:function(e){if(arguments.length)return void 0===e?this:this.each((function(t){S.offset.setOffset(this,e,t)}));var t,n,r=this[0];return r?r.getClientRects().length?(t=r.getBoundingClientRect(),n=r.ownerDocument.defaultView,{top:t.top+n.pageYOffset,left:t.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n,r=this[0],i={top:0,left:0};if("fixed"===S.css(r,"position"))t=r.getBoundingClientRect();else{for(t=this.offset(),n=r.ownerDocument,e=r.offsetParent||n.documentElement;e&&(e===n.body||e===n.documentElement)&&"static"===S.css(e,"position");)e=e.parentNode;e&&e!==r&&1===e.nodeType&&((i=S(e).offset()).top+=S.css(e,"borderTopWidth",!0),i.left+=S.css(e,"borderLeftWidth",!0))}return{top:t.top-i.top-S.css(r,"marginTop",!0),left:t.left-i.left-S.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map((function(){for(var e=this.offsetParent;e&&"static"===S.css(e,"position");)e=e.offsetParent;return e||ae}))}}),S.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},(function(e,t){var n="pageYOffset"===t;S.fn[e]=function(r){return V(this,(function(e,r,i){var o;if(v(e)?o=e:9===e.nodeType&&(o=e.defaultView),void 0===i)return o?o[t]:e[r];o?o.scrollTo(n?o.pageXOffset:i,n?i:o.pageYOffset):e[r]=i}),e,r,arguments.length)}})),S.each(["top","left"],(function(e,t){S.cssHooks[t]=Ve(m.pixelPosition,(function(e,n){if(n)return n=qe(e,t),Fe.test(n)?S(e).position()[t]+"px":n}))})),S.each({Height:"height",Width:"width"},(function(e,t){S.each({padding:"inner"+e,content:t,"":"outer"+e},(function(n,r){S.fn[r]=function(i,o){var a=arguments.length&&(n||"boolean"!=typeof i),s=n||(!0===i||!0===o?"margin":"border");return V(this,(function(t,n,i){var o;return v(t)?0===r.indexOf("outer")?t["inner"+e]:t.document.documentElement["client"+e]:9===t.nodeType?(o=t.documentElement,Math.max(t.body["scroll"+e],o["scroll"+e],t.body["offset"+e],o["offset"+e],o["client"+e])):void 0===i?S.css(t,n,s):S.style(t,n,i,s)}),t,a?i:void 0,a)}}))})),S.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],(function(e,t){S.fn[t]=function(e){return this.on(t,e)}})),S.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)},hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),S.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),(function(e,t){S.fn[t]=function(e,n){return arguments.length>0?this.on(t,null,e,n):this.trigger(t)}}));var Yt=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;S.proxy=function(e,t){var n,r,i;if("string"==typeof t&&(n=e[t],t=e,e=n),y(e))return r=s.call(arguments,2),i=function(){return e.apply(t||this,r.concat(s.call(arguments)))},i.guid=e.guid=e.guid||S.guid++,i},S.holdReady=function(e){e?S.readyWait++:S.ready(!0)},S.isArray=Array.isArray,S.parseJSON=JSON.parse,S.nodeName=A,S.isFunction=y,S.isWindow=v,S.camelCase=Y,S.type=T,S.now=Date.now,S.isNumeric=function(e){var t=S.type(e);return("number"===t||"string"===t)&&!isNaN(e-parseFloat(e))},S.trim=function(e){return null==e?"":(e+"").replace(Yt,"")},void 0===(n=function(){return S}.apply(t,[]))||(e.exports=n);var Kt=r.jQuery,Xt=r.$;return S.noConflict=function(e){return r.$===S&&(r.$=Xt),e&&r.jQuery===S&&(r.jQuery=Kt),S},void 0===i&&(r.jQuery=r.$=S),S}))},19575:function(e,t,n){var r;!function(n,i){e.exports=function(n){"use strict";var i,o=(n=n||{}).Base64,a="2.6.4",s="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",u=function(e){for(var t={},n=0,r=e.length;n<r;n++)t[e.charAt(n)]=n;return t}(s),c=String.fromCharCode,l=function(e){if(e.length<2)return(t=e.charCodeAt(0))<128?e:t<2048?c(192|t>>>6)+c(128|63&t):c(224|t>>>12&15)+c(128|t>>>6&63)+c(128|63&t);var t=65536+1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320);return c(240|t>>>18&7)+c(128|t>>>12&63)+c(128|t>>>6&63)+c(128|63&t)},f=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,d=function(e){return e.replace(f,l)},p=function(e){var t=[0,2,1][e.length%3],n=e.charCodeAt(0)<<16|(e.length>1?e.charCodeAt(1):0)<<8|(e.length>2?e.charCodeAt(2):0);return[s.charAt(n>>>18),s.charAt(n>>>12&63),t>=2?"=":s.charAt(n>>>6&63),t>=1?"=":s.charAt(63&n)].join("")},h=n.btoa&&"function"==typeof n.btoa?function(e){return n.btoa(e)}:function(e){if(e.match(/[^\x00-\xFF]/))throw new RangeError("The string contains invalid characters.");return e.replace(/[\s\S]{1,3}/g,p)},g=function(e){return h(d(String(e)))},m=function(e){return e.replace(/[+\/]/g,(function(e){return"+"==e?"-":"_"})).replace(/=/g,"")},y=function(e,t){return t?m(g(e)):g(e)},v=function(e){return y(e,!0)};n.Uint8Array&&(i=function(e,t){for(var n="",r=0,i=e.length;r<i;r+=3){var o=e[r],a=e[r+1],u=e[r+2],c=o<<16|a<<8|u;n+=s.charAt(c>>>18)+s.charAt(c>>>12&63)+(void 0!==a?s.charAt(c>>>6&63):"=")+(void 0!==u?s.charAt(63&c):"=")}return t?m(n):n});var b,_=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,w=function(e){switch(e.length){case 4:var t=((7&e.charCodeAt(0))<<18|(63&e.charCodeAt(1))<<12|(63&e.charCodeAt(2))<<6|63&e.charCodeAt(3))-65536;return c(55296+(t>>>10))+c(56320+(1023&t));case 3:return c((15&e.charCodeAt(0))<<12|(63&e.charCodeAt(1))<<6|63&e.charCodeAt(2));default:return c((31&e.charCodeAt(0))<<6|63&e.charCodeAt(1))}},T=function(e){return e.replace(_,w)},x=function(e){var t=e.length,n=t%4,r=(t>0?u[e.charAt(0)]<<18:0)|(t>1?u[e.charAt(1)]<<12:0)|(t>2?u[e.charAt(2)]<<6:0)|(t>3?u[e.charAt(3)]:0),i=[c(r>>>16),c(r>>>8&255),c(255&r)];return i.length-=[0,0,2,1][n],i.join("")},S=n.atob&&"function"==typeof n.atob?function(e){return n.atob(e)}:function(e){return e.replace(/\S{1,4}/g,x)},k=function(e){return S(String(e).replace(/[^A-Za-z0-9\+\/]/g,""))},E=function(e){return T(S(e))},O=function(e){return String(e).replace(/[-_]/g,(function(e){return"-"==e?"+":"/"})).replace(/[^A-Za-z0-9\+\/]/g,"")},C=function(e){return E(O(e))};n.Uint8Array&&(b=function(e){return Uint8Array.from(k(O(e)),(function(e){return e.charCodeAt(0)}))});var L=function(){var e=n.Base64;return n.Base64=o,e};if(n.Base64={VERSION:a,atob:k,btoa:h,fromBase64:C,toBase64:y,utob:d,encode:y,encodeURI:v,btou:T,decode:C,noConflict:L,fromUint8Array:i,toUint8Array:b},"function"==typeof Object.defineProperty){var A=function(e){return{value:e,enumerable:!1,writable:!0,configurable:!0}};n.Base64.extendString=function(){Object.defineProperty(String.prototype,"fromBase64",A((function(){return C(this)}))),Object.defineProperty(String.prototype,"toBase64",A((function(e){return y(this,e)}))),Object.defineProperty(String.prototype,"toBase64URI",A((function(){return y(this,!0)})))}}n.Meteor&&(Base64=n.Base64);e.exports?e.exports.Base64=n.Base64:void 0===(r=function(){return n.Base64}.apply(t,[]))||(e.exports=r);return{Base64:n.Base64}}(n)}("undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==n.g?n.g:this)},65605:function(e,t,n){var r;!function(){"use strict";var t="object"==typeof window?window:{};!t.JS_HTMLENCODE_NO_NODE_JS&&"object"==typeof process&&process.versions&&process.versions.node&&(t=n.g);var i=!t.JS_HTMLENCODE_NO_COMMON_JS&&e.exports,o=n.amdO,a={"&nbsp;":" ","&iexcl;":"¡","&cent;":"¢","&pound;":"£","&curren;":"¤","&yen;":"¥","&brvbar;":"¦","&sect;":"§","&uml;":"¨","&copy;":"©","&ordf;":"ª","&laquo;":"«","&not;":"¬","&shy;":"­","&reg;":"®","&macr;":"¯","&deg;":"°","&plusmn;":"±","&sup2;":"²","&sup3;":"³","&acute;":"´","&micro;":"µ","&para;":"¶","&middot;":"·","&cedil;":"¸","&sup1;":"¹","&ordm;":"º","&raquo;":"»","&frac14;":"¼","&frac12;":"½","&frac34;":"¾","&iquest;":"¿","&Agrave;":"À","&Aacute;":"Á","&Acirc;":"Â","&Atilde;":"Ã","&Auml;":"Ä","&Aring;":"Å","&AElig;":"Æ","&Ccedil;":"Ç","&Egrave;":"È","&Eacute;":"É","&Ecirc;":"Ê","&Euml;":"Ë","&Igrave;":"Ì","&Iacute;":"Í","&Icirc;":"Î","&Iuml;":"Ï","&ETH;":"Ð","&Ntilde;":"Ñ","&Ograve;":"Ò","&Oacute;":"Ó","&Ocirc;":"Ô","&Otilde;":"Õ","&Ouml;":"Ö","&times;":"×","&Oslash;":"Ø","&Ugrave;":"Ù","&Uacute;":"Ú","&Ucirc;":"Û","&Uuml;":"Ü","&Yacute;":"Ý","&THORN;":"Þ","&szlig;":"ß","&agrave;":"à","&aacute;":"á","&acirc;":"â","&atilde;":"ã","&auml;":"ä","&aring;":"å","&aelig;":"æ","&ccedil;":"ç","&egrave;":"è","&eacute;":"é","&ecirc;":"ê","&euml;":"ë","&igrave;":"ì","&iacute;":"í","&icirc;":"î","&iuml;":"ï","&eth;":"ð","&ntilde;":"ñ","&ograve;":"ò","&oacute;":"ó","&ocirc;":"ô","&otilde;":"õ","&ouml;":"ö","&divide;":"÷","&oslash;":"ø","&ugrave;":"ù","&uacute;":"ú","&ucirc;":"û","&uuml;":"ü","&yacute;":"ý","&thorn;":"þ","&yuml;":"ÿ","&quot;":'"',"&amp;":"&","&lt;":"<","&gt;":">","&apos;":"'","&OElig;":"Œ","&oelig;":"œ","&Scaron;":"Š","&scaron;":"š","&Yuml;":"Ÿ","&circ;":"ˆ","&tilde;":"˜","&ensp;":" ","&emsp;":" ","&thinsp;":" ","&zwnj;":"‌","&zwj;":"‍","&lrm;":"‎","&rlm;":"‏","&ndash;":"–","&mdash;":"—","&lsquo;":"‘","&rsquo;":"’","&sbquo;":"‚","&ldquo;":"“","&rdquo;":"”","&bdquo;":"„","&dagger;":"†","&Dagger;":"‡","&permil;":"‰","&lsaquo;":"‹","&rsaquo;":"›","&euro;":"€","&fnof;":"ƒ","&Alpha;":"Α","&Beta;":"Β","&Gamma;":"Γ","&Delta;":"Δ","&Epsilon;":"Ε","&Zeta;":"Ζ","&Eta;":"Η","&Theta;":"Θ","&Iota;":"Ι","&Kappa;":"Κ","&Lambda;":"Λ","&Mu;":"Μ","&Nu;":"Ν","&Xi;":"Ξ","&Omicron;":"Ο","&Pi;":"Π","&Rho;":"Ρ","&Sigma;":"Σ","&Tau;":"Τ","&Upsilon;":"Υ","&Phi;":"Φ","&Chi;":"Χ","&Psi;":"Ψ","&Omega;":"Ω","&alpha;":"α","&beta;":"β","&gamma;":"γ","&delta;":"δ","&epsilon;":"ε","&zeta;":"ζ","&eta;":"η","&theta;":"θ","&iota;":"ι","&kappa;":"κ","&lambda;":"λ","&mu;":"μ","&nu;":"ν","&xi;":"ξ","&omicron;":"ο","&pi;":"π","&rho;":"ρ","&sigmaf;":"ς","&sigma;":"σ","&tau;":"τ","&upsilon;":"υ","&phi;":"φ","&chi;":"χ","&psi;":"ψ","&omega;":"ω","&thetasym;":"ϑ","&upsih;":"ϒ","&piv;":"ϖ","&bull;":"•","&hellip;":"…","&prime;":"′","&Prime;":"″","&oline;":"‾","&frasl;":"⁄","&weierp;":"℘","&image;":"ℑ","&real;":"ℜ","&trade;":"™","&alefsym;":"ℵ","&larr;":"←","&uarr;":"↑","&rarr;":"→","&darr;":"↓","&harr;":"↔","&crarr;":"↵","&lArr;":"⇐","&uArr;":"⇑","&rArr;":"⇒","&dArr;":"⇓","&hArr;":"⇔","&forall;":"∀","&part;":"∂","&exist;":"∃","&empty;":"∅","&nabla;":"∇","&isin;":"∈","&notin;":"∉","&ni;":"∋","&prod;":"∏","&sum;":"∑","&minus;":"−","&lowast;":"∗","&radic;":"√","&prop;":"∝","&infin;":"∞","&ang;":"∠","&and;":"∧","&or;":"∨","&cap;":"∩","&cup;":"∪","&int;":"∫","&there4;":"∴","&sim;":"∼","&cong;":"≅","&asymp;":"≈","&ne;":"≠","&equiv;":"≡","&le;":"≤","&ge;":"≥","&sub;":"⊂","&sup;":"⊃","&nsub;":"⊄","&sube;":"⊆","&supe;":"⊇","&oplus;":"⊕","&otimes;":"⊗","&perp;":"⊥","&sdot;":"⋅","&lceil;":"⌈","&rceil;":"⌉","&lfloor;":"⌊","&rfloor;":"⌋","&lang;":"〈","&rang;":"〉","&loz;":"◊","&spades;":"♠","&clubs;":"♣","&hearts;":"♥","&diams;":"♦"},s=function(e){if("#"!==e.charAt(1))return a[e]||e;var t,n=e.charAt(2);return"x"===n||"X"===n?(n=e.substring(3,e.length-1),t=parseInt(n,16)):(n=e.substring(2,e.length-1),t=parseInt(n)),isNaN(t)?e:String.fromCharCode(t)},u=function(e){return e.replace(/&/g,"&amp;").replace(/"/g,"&quot;").replace(/'/g,"&#39;").replace(/</g,"&lt;").replace(/>/g,"&gt;")},c=function(e){return e.replace(/&#?\w+;/g,s)},l=u;u.htmlEncode=u,u.htmlDecode=c,i?e.exports=l:(t.htmlEncode=u,t.htmlDecode=c,o&&(void 0===(r=function(){return l}.call(l,n,l,e))||(e.exports=r)))}()},80973:function(e,t,n){var r=n(71169),i=function(e){var t="",n=Object.keys(e);return n.forEach((function(i,o){var a=e[i];(function(e){return/[height|width]$/.test(e)})(i=r(i))&&"number"==typeof a&&(a+="px"),t+=!0===a?i:!1===a?"not "+i:"("+i+": "+a+")",o<n.length-1&&(t+=" and ")})),t};e.exports=function(e){var t="";return"string"==typeof e?e:e instanceof Array?(e.forEach((function(n,r){t+=i(n),r<e.length-1&&(t+=", ")})),t):i(e)}},71168:function(e){function t(e){this.message=e}t.prototype=new Error,t.prototype.name="InvalidCharacterError",e.exports="undefined"!=typeof window&&window.atob&&window.atob.bind(window)||function(e){var n=String(e).replace(/=+$/,"");if(n.length%4==1)throw new t("'atob' failed: The string to be decoded is not correctly encoded.");for(var r,i,o=0,a=0,s="";i=n.charAt(a++);~i&&(r=o%4?64*r+i:i,o++%4)?s+=String.fromCharCode(255&r>>(-2*o&6)):0)i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf(i);return s}},84491:function(e,t,n){var r=n(71168);e.exports=function(e){var t=e.replace(/-/g,"+").replace(/_/g,"/");switch(t.length%4){case 0:break;case 2:t+="==";break;case 3:t+="=";break;default:throw"Illegal base64url string!"}try{return function(e){return decodeURIComponent(r(e).replace(/(.)/g,(function(e,t){var n=t.charCodeAt(0).toString(16).toUpperCase();return n.length<2&&(n="0"+n),"%"+n})))}(t)}catch(e){return r(t)}}},46489:function(e,t,n){"use strict";var r=n(84491);function i(e){this.message=e}i.prototype=new Error,i.prototype.name="InvalidTokenError",e.exports=function(e,t){if("string"!=typeof e)throw new i("Invalid token specified");var n=!0===(t=t||{}).header?0:1;try{return JSON.parse(r(e.split(".")[n]))}catch(e){throw new i("Invalid token specified: "+e.message)}},e.exports.InvalidTokenError=i},54366:function(e,t,n){e.exports=n(18518)},18518:function(e,t){t.KEY_TAB=9,t.KEY_RETURN=13,t.KEY_ESCAPE=27,t.KEY_SPACE=32,t.KEY_END=35,t.KEY_HOME=36,t.KEY_LEFT=37,t.KEY_UP=38,t.KEY_RIGHT=39,t.KEY_DOWN=40},27537:function(e,t){function n(e){if(e&&"object"==typeof e){var t=e.which||e.keyCode||e.charCode;t&&(e=t)}if("number"==typeof e)return a[e];var n,o=String(e);return(n=r[o.toLowerCase()])?n:(n=i[o.toLowerCase()])||(1===o.length?o.charCodeAt(0):void 0)}n.isEventKey=function(e,t){if(e&&"object"==typeof e){var n=e.which||e.keyCode||e.charCode;if(null==n)return!1;if("string"==typeof t){var o;if(o=r[t.toLowerCase()])return o===n;if(o=i[t.toLowerCase()])return o===n}else if("number"==typeof t)return t===n;return!1}};var r=(t=e.exports=n).code=t.codes={backspace:8,tab:9,enter:13,shift:16,ctrl:17,alt:18,"pause/break":19,"caps lock":20,esc:27,space:32,"page up":33,"page down":34,end:35,home:36,left:37,up:38,right:39,down:40,insert:45,delete:46,command:91,"left command":91,"right command":93,"numpad *":106,"numpad +":107,"numpad -":109,"numpad .":110,"numpad /":111,"num lock":144,"scroll lock":145,"my computer":182,"my calculator":183,";":186,"=":187,",":188,"-":189,".":190,"/":191,"`":192,"[":219,"\\":220,"]":221,"'":222},i=t.aliases={windows:91,"⇧":16,"⌥":18,"⌃":17,"⌘":91,ctl:17,control:17,option:18,pause:19,break:19,caps:20,return:13,escape:27,spc:32,spacebar:32,pgup:33,pgdn:34,ins:45,del:46,cmd:91};for(o=97;o<123;o++)r[String.fromCharCode(o)]=o-32;for(var o=48;o<58;o++)r[o-48]=o;for(o=1;o<13;o++)r["f"+o]=o+111;for(o=0;o<10;o++)r["numpad "+o]=o+96;var a=t.names=t.title={};for(o in r)a[r[o]]=o;for(var s in i)r[s]=i[s]},13192:function(e){"use strict";e.exports=function(e){var t,n={};if(!(e instanceof Object)||Array.isArray(e))throw new Error("keyMirror(...): Argument must be an object.");for(t in e)e.hasOwnProperty(t)&&(n[t]=t);return n}},30563:function(e){var t,n=function(e,n,r){for(var i=-1,o=Object(e),a=r(e),s=a.length;s--;){var u=a[t?s:++i];if(!1===n(o[u],u,o))break}return e};e.exports=n},31730:function(e){var t=9007199254740991,n="[object Arguments]",r="[object Function]",i="[object GeneratorFunction]",o=/^(?:0|[1-9]\d*)$/;function a(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}var s,u,c=Object.prototype,l=c.hasOwnProperty,f=c.toString,d=c.propertyIsEnumerable,p=(s=Object.keys,u=Object,function(e){return s(u(e))}),h=Math.max,g=!d.call({valueOf:1},"valueOf");function m(e,t){var r=w(e)||function(e){return function(e){return function(e){return!!e&&"object"==typeof e}(e)&&T(e)}(e)&&l.call(e,"callee")&&(!d.call(e,"callee")||f.call(e)==n)}(e)?function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}(e.length,String):[],i=r.length,o=!!i;for(var a in e)!t&&!l.call(e,a)||o&&("length"==a||v(a,i))||r.push(a);return r}function y(e,t,n){var r=e[t];l.call(e,t)&&_(r,n)&&(void 0!==n||t in e)||(e[t]=n)}function v(e,n){return!!(n=null==n?t:n)&&("number"==typeof e||o.test(e))&&e>-1&&e%1==0&&e<n}function b(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||c)}function _(e,t){return e===t||e!=e&&t!=t}var w=Array.isArray;function T(e){return null!=e&&function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=t}(e.length)&&!function(e){var t=x(e)?f.call(e):"";return t==r||t==i}(e)}function x(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}var S,k=(S=function(e,t){if(g||b(t)||T(t))!function(e,t,n,r){n||(n={});for(var i=-1,o=t.length;++i<o;){var a=t[i],s=r?r(n[a],e[a],a,n,e):void 0;y(n,a,void 0===s?e[a]:s)}}(t,function(e){return T(e)?m(e):function(e){if(!b(e))return p(e);var t=[];for(var n in Object(e))l.call(e,n)&&"constructor"!=n&&t.push(n);return t}(e)}(t),e);else for(var n in t)l.call(t,n)&&y(e,n,t[n])},function(e,t){return t=h(void 0===t?e.length-1:t,0),function(){for(var n=arguments,r=-1,i=h(n.length-t,0),o=Array(i);++r<i;)o[r]=n[t+r];r=-1;for(var s=Array(t+1);++r<t;)s[r]=n[r];return s[t]=o,a(e,this,s)}}((function(e,t){var n=-1,r=t.length,i=r>1?t[r-1]:void 0,o=r>2?t[2]:void 0;for(i=S.length>3&&"function"==typeof i?(r--,i):void 0,o&&function(e,t,n){if(!x(n))return!1;var r=typeof t;return!!("number"==r?T(n)&&v(t,n.length):"string"==r&&t in n)&&_(n[t],e)}(t[0],t[1],o)&&(i=r<3?void 0:i,r=1),e=Object(e);++n<r;){var a=t[n];a&&S(e,a,n,i)}return e})));e.exports=k},83465:function(e,t,n){e=n.nmd(e);var r="__lodash_hash_undefined__",i=9007199254740991,o="[object Arguments]",a="[object Boolean]",s="[object Date]",u="[object Function]",c="[object GeneratorFunction]",l="[object Map]",f="[object Number]",d="[object Object]",p="[object Promise]",h="[object RegExp]",g="[object Set]",m="[object String]",y="[object Symbol]",v="[object WeakMap]",b="[object ArrayBuffer]",_="[object DataView]",w="[object Float32Array]",T="[object Float64Array]",x="[object Int8Array]",S="[object Int16Array]",k="[object Int32Array]",E="[object Uint8Array]",O="[object Uint8ClampedArray]",C="[object Uint16Array]",L="[object Uint32Array]",A=/\w*$/,I=/^\[object .+?Constructor\]$/,P=/^(?:0|[1-9]\d*)$/,M={};M[o]=M["[object Array]"]=M[b]=M[_]=M[a]=M[s]=M[w]=M[T]=M[x]=M[S]=M[k]=M[l]=M[f]=M[d]=M[h]=M[g]=M[m]=M[y]=M[E]=M[O]=M[C]=M[L]=!0,M["[object Error]"]=M[u]=M[v]=!1;var R="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,j="object"==typeof self&&self&&self.Object===Object&&self,D=R||j||Function("return this")(),N=t&&!t.nodeType&&t,B=N&&e&&!e.nodeType&&e,U=B&&B.exports===N;function F(e,t){return e.set(t[0],t[1]),e}function z(e,t){return e.add(t),e}function H(e,t,n,r){var i=-1,o=e?e.length:0;for(r&&o&&(n=e[++i]);++i<o;)n=t(n,e[i],i,e);return n}function Z(e){var t=!1;if(null!=e&&"function"!=typeof e.toString)try{t=!!(e+"")}catch(e){}return t}function q(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}function V(e,t){return function(n){return e(t(n))}}function W(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}var G,$=Array.prototype,Y=Function.prototype,K=Object.prototype,X=D["__core-js_shared__"],Q=(G=/[^.]+$/.exec(X&&X.keys&&X.keys.IE_PROTO||""))?"Symbol(src)_1."+G:"",J=Y.toString,ee=K.hasOwnProperty,te=K.toString,ne=RegExp("^"+J.call(ee).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),re=U?D.Buffer:void 0,ie=D.Symbol,oe=D.Uint8Array,ae=V(Object.getPrototypeOf,Object),se=Object.create,ue=K.propertyIsEnumerable,ce=$.splice,le=Object.getOwnPropertySymbols,fe=re?re.isBuffer:void 0,de=V(Object.keys,Object),pe=Be(D,"DataView"),he=Be(D,"Map"),ge=Be(D,"Promise"),me=Be(D,"Set"),ye=Be(D,"WeakMap"),ve=Be(Object,"create"),be=Ze(pe),_e=Ze(he),we=Ze(ge),Te=Ze(me),xe=Ze(ye),Se=ie?ie.prototype:void 0,ke=Se?Se.valueOf:void 0;function Ee(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Oe(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Ce(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Le(e){this.__data__=new Oe(e)}function Ae(e,t){var n=Ve(e)||function(e){return function(e){return function(e){return!!e&&"object"==typeof e}(e)&&We(e)}(e)&&ee.call(e,"callee")&&(!ue.call(e,"callee")||te.call(e)==o)}(e)?function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}(e.length,String):[],r=n.length,i=!!r;for(var a in e)!t&&!ee.call(e,a)||i&&("length"==a||ze(a,r))||n.push(a);return n}function Ie(e,t,n){var r=e[t];ee.call(e,t)&&qe(r,n)&&(void 0!==n||t in e)||(e[t]=n)}function Pe(e,t){for(var n=e.length;n--;)if(qe(e[n][0],t))return n;return-1}function Me(e,t,n,r,i,p,v){var I;if(r&&(I=p?r(e,i,p,v):r(e)),void 0!==I)return I;if(!Ye(e))return e;var P=Ve(e);if(P){if(I=function(e){var t=e.length,n=e.constructor(t);t&&"string"==typeof e[0]&&ee.call(e,"index")&&(n.index=e.index,n.input=e.input);return n}(e),!t)return function(e,t){var n=-1,r=e.length;t||(t=Array(r));for(;++n<r;)t[n]=e[n];return t}(e,I)}else{var R=Fe(e),j=R==u||R==c;if(Ge(e))return function(e,t){if(t)return e.slice();var n=new e.constructor(e.length);return e.copy(n),n}(e,t);if(R==d||R==o||j&&!p){if(Z(e))return p?e:{};if(I=function(e){return"function"!=typeof e.constructor||He(e)?{}:(t=ae(e),Ye(t)?se(t):{});var t}(j?{}:e),!t)return function(e,t){return De(e,Ue(e),t)}(e,function(e,t){return e&&De(t,Ke(t),e)}(I,e))}else{if(!M[R])return p?e:{};I=function(e,t,n,r){var i=e.constructor;switch(t){case b:return je(e);case a:case s:return new i(+e);case _:return function(e,t){var n=t?je(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}(e,r);case w:case T:case x:case S:case k:case E:case O:case C:case L:return function(e,t){var n=t?je(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}(e,r);case l:return function(e,t,n){return H(t?n(q(e),!0):q(e),F,new e.constructor)}(e,r,n);case f:case m:return new i(e);case h:return function(e){var t=new e.constructor(e.source,A.exec(e));return t.lastIndex=e.lastIndex,t}(e);case g:return function(e,t,n){return H(t?n(W(e),!0):W(e),z,new e.constructor)}(e,r,n);case y:return o=e,ke?Object(ke.call(o)):{}}var o}(e,R,Me,t)}}v||(v=new Le);var D=v.get(e);if(D)return D;if(v.set(e,I),!P)var N=n?function(e){return function(e,t,n){var r=t(e);return Ve(e)?r:function(e,t){for(var n=-1,r=t.length,i=e.length;++n<r;)e[i+n]=t[n];return e}(r,n(e))}(e,Ke,Ue)}(e):Ke(e);return function(e,t){for(var n=-1,r=e?e.length:0;++n<r&&!1!==t(e[n],n,e););}(N||e,(function(i,o){N&&(i=e[o=i]),Ie(I,o,Me(i,t,n,r,o,e,v))})),I}function Re(e){return!(!Ye(e)||(t=e,Q&&Q in t))&&($e(e)||Z(e)?ne:I).test(Ze(e));var t}function je(e){var t=new e.constructor(e.byteLength);return new oe(t).set(new oe(e)),t}function De(e,t,n,r){n||(n={});for(var i=-1,o=t.length;++i<o;){var a=t[i],s=r?r(n[a],e[a],a,n,e):void 0;Ie(n,a,void 0===s?e[a]:s)}return n}function Ne(e,t){var n,r,i=e.__data__;return("string"==(r=typeof(n=t))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?i["string"==typeof t?"string":"hash"]:i.map}function Be(e,t){var n=function(e,t){return null==e?void 0:e[t]}(e,t);return Re(n)?n:void 0}Ee.prototype.clear=function(){this.__data__=ve?ve(null):{}},Ee.prototype.delete=function(e){return this.has(e)&&delete this.__data__[e]},Ee.prototype.get=function(e){var t=this.__data__;if(ve){var n=t[e];return n===r?void 0:n}return ee.call(t,e)?t[e]:void 0},Ee.prototype.has=function(e){var t=this.__data__;return ve?void 0!==t[e]:ee.call(t,e)},Ee.prototype.set=function(e,t){return this.__data__[e]=ve&&void 0===t?r:t,this},Oe.prototype.clear=function(){this.__data__=[]},Oe.prototype.delete=function(e){var t=this.__data__,n=Pe(t,e);return!(n<0)&&(n==t.length-1?t.pop():ce.call(t,n,1),!0)},Oe.prototype.get=function(e){var t=this.__data__,n=Pe(t,e);return n<0?void 0:t[n][1]},Oe.prototype.has=function(e){return Pe(this.__data__,e)>-1},Oe.prototype.set=function(e,t){var n=this.__data__,r=Pe(n,e);return r<0?n.push([e,t]):n[r][1]=t,this},Ce.prototype.clear=function(){this.__data__={hash:new Ee,map:new(he||Oe),string:new Ee}},Ce.prototype.delete=function(e){return Ne(this,e).delete(e)},Ce.prototype.get=function(e){return Ne(this,e).get(e)},Ce.prototype.has=function(e){return Ne(this,e).has(e)},Ce.prototype.set=function(e,t){return Ne(this,e).set(e,t),this},Le.prototype.clear=function(){this.__data__=new Oe},Le.prototype.delete=function(e){return this.__data__.delete(e)},Le.prototype.get=function(e){return this.__data__.get(e)},Le.prototype.has=function(e){return this.__data__.has(e)},Le.prototype.set=function(e,t){var n=this.__data__;if(n instanceof Oe){var r=n.__data__;if(!he||r.length<199)return r.push([e,t]),this;n=this.__data__=new Ce(r)}return n.set(e,t),this};var Ue=le?V(le,Object):function(){return[]},Fe=function(e){return te.call(e)};function ze(e,t){return!!(t=null==t?i:t)&&("number"==typeof e||P.test(e))&&e>-1&&e%1==0&&e<t}function He(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||K)}function Ze(e){if(null!=e){try{return J.call(e)}catch(e){}try{return e+""}catch(e){}}return""}function qe(e,t){return e===t||e!=e&&t!=t}(pe&&Fe(new pe(new ArrayBuffer(1)))!=_||he&&Fe(new he)!=l||ge&&Fe(ge.resolve())!=p||me&&Fe(new me)!=g||ye&&Fe(new ye)!=v)&&(Fe=function(e){var t=te.call(e),n=t==d?e.constructor:void 0,r=n?Ze(n):void 0;if(r)switch(r){case be:return _;case _e:return l;case we:return p;case Te:return g;case xe:return v}return t});var Ve=Array.isArray;function We(e){return null!=e&&function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=i}(e.length)&&!$e(e)}var Ge=fe||function(){return!1};function $e(e){var t=Ye(e)?te.call(e):"";return t==u||t==c}function Ye(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function Ke(e){return We(e)?Ae(e):function(e){if(!He(e))return de(e);var t=[];for(var n in Object(e))ee.call(e,n)&&"constructor"!=n&&t.push(n);return t}(e)}e.exports=function(e){return Me(e,!0,!0)}},91296:function(e,t,n){var r=/^\s+|\s+$/g,i=/^[-+]0x[0-9a-f]+$/i,o=/^0b[01]+$/i,a=/^0o[0-7]+$/i,s=parseInt,u="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,c="object"==typeof self&&self&&self.Object===Object&&self,l=u||c||Function("return this")(),f=Object.prototype.toString,d=Math.max,p=Math.min,h=function(){return l.Date.now()};function g(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function m(e){if("number"==typeof e)return e;if(function(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&"[object Symbol]"==f.call(e)}(e))return NaN;if(g(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=g(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(r,"");var n=o.test(e);return n||a.test(e)?s(e.slice(2),n?2:8):i.test(e)?NaN:+e}e.exports=function(e,t,n){var r,i,o,a,s,u,c=0,l=!1,f=!1,y=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function v(t){var n=r,o=i;return r=i=void 0,c=t,a=e.apply(o,n)}function b(e){return c=e,s=setTimeout(w,t),l?v(e):a}function _(e){var n=e-u;return void 0===u||n>=t||n<0||f&&e-c>=o}function w(){var e=h();if(_(e))return T(e);s=setTimeout(w,function(e){var n=t-(e-u);return f?p(n,o-(e-c)):n}(e))}function T(e){return s=void 0,y&&r?v(e):(r=i=void 0,a)}function x(){var e=h(),n=_(e);if(r=arguments,i=this,u=e,n){if(void 0===s)return b(u);if(f)return s=setTimeout(w,t),v(u)}return void 0===s&&(s=setTimeout(w,t)),a}return t=m(t)||0,g(n)&&(l=!!n.leading,o=(f="maxWait"in n)?d(m(n.maxWait)||0,t):o,y="trailing"in n?!!n.trailing:y),x.cancel=function(){void 0!==s&&clearTimeout(s),c=0,r=u=i=s=void 0},x.flush=function(){return void 0===s?a:T(h())},x}},91658:function(e,t,n){var r="[object Symbol]",i=/[\\^$.*+?()[\]{}|]/g,o=RegExp(i.source),a="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,s="object"==typeof self&&self&&self.Object===Object&&self,u=a||s||Function("return this")(),c=Object.prototype.toString,l=u.Symbol,f=l?l.prototype:void 0,d=f?f.toString:void 0;function p(e){if("string"==typeof e)return e;if(function(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&c.call(e)==r}(e))return d?d.call(e):"";var t=e+"";return"0"==t&&1/e==-Infinity?"-0":t}e.exports=function(e){var t;return(e=null==(t=e)?"":p(t))&&o.test(e)?e.replace(i,"\\$&"):e}},35757:function(e){var t=9007199254740991,n="[object Function]",r="[object GeneratorFunction]",i=Object.prototype,o=i.hasOwnProperty,a=i.toString,s=i.propertyIsEnumerable;e.exports=function(e){return function(e){return function(e){return!!e&&"object"==typeof e}(e)&&function(e){return null!=e&&function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=t}(e.length)&&!function(e){var t=function(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}(e)?a.call(e):"";return t==n||t==r}(e)}(e)}(e)&&o.call(e,"callee")&&(!s.call(e,"callee")||"[object Arguments]"==a.call(e))}},53778:function(e){var t="[object Function]",n=/^\[object .+?Constructor\]$/;function r(e){return!!e&&"object"==typeof e}var i,o,a,s=Object.prototype,u=Function.prototype.toString,c=s.hasOwnProperty,l=s.toString,f=RegExp("^"+u.call(c).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),d=(o="isArray",function(e){return null!=e&&(function(e){return function(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}(e)&&l.call(e)==t}(e)?f.test(u.call(e)):r(e)&&n.test(e))}(a=null==(i=Array)?void 0:i[o])?a:void 0);var p=d||function(e){return r(e)&&function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}(e.length)&&"[object Array]"==l.call(e)};e.exports=p},8146:function(e,t,n){var r=n(30563),i=n(35757),o=n(58720);var a=Object.prototype,s=a.hasOwnProperty,u=a.toString;e.exports=function(e){var t,n;return!(!function(e){return!!e&&"object"==typeof e}(e)||"[object Object]"!=u.call(e)||i(e)||!(s.call(e,"constructor")||"function"!=typeof(t=e.constructor)||t instanceof t))&&(r(e,(function(e,t){n=t}),o),void 0===n||s.call(e,n))}},58720:function(e,t,n){var r=n(35757),i=n(53778),o=/^\d+$/,a=Object.prototype.hasOwnProperty,s=9007199254740991;function u(e,t){return e="number"==typeof e||o.test(e)?+e:-1,t=null==t?s:t,e>-1&&e%1==0&&e<t}e.exports=function(e){if(null==e)return[];var t,n;n=typeof(t=e),(!t||"object"!=n&&"function"!=n)&&(e=Object(e));var o=e.length;o=o&&function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=s}(o)&&(i(e)||r(e))&&o||0;for(var c=e.constructor,l=-1,f="function"==typeof c&&c.prototype===e,d=Array(o),p=o>0;++l<o;)d[l]=l+"";for(var h in e)p&&u(h,o)||"constructor"==h&&(f||!a.call(e,h))||d.push(h);return d}},38554:function(e,t,n){e=n.nmd(e);var r="__lodash_hash_undefined__",i=9007199254740991,o="[object Arguments]",a="[object Function]",s="[object Object]",u=/^\[object .+?Constructor\]$/,c=/^(?:0|[1-9]\d*)$/,l={};l["[object Float32Array]"]=l["[object Float64Array]"]=l["[object Int8Array]"]=l["[object Int16Array]"]=l["[object Int32Array]"]=l["[object Uint8Array]"]=l["[object Uint8ClampedArray]"]=l["[object Uint16Array]"]=l["[object Uint32Array]"]=!0,l[o]=l["[object Array]"]=l["[object ArrayBuffer]"]=l["[object Boolean]"]=l["[object DataView]"]=l["[object Date]"]=l["[object Error]"]=l[a]=l["[object Map]"]=l["[object Number]"]=l[s]=l["[object RegExp]"]=l["[object Set]"]=l["[object String]"]=l["[object WeakMap]"]=!1;var f="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,d="object"==typeof self&&self&&self.Object===Object&&self,p=f||d||Function("return this")(),h=t&&!t.nodeType&&t,g=h&&e&&!e.nodeType&&e,m=g&&g.exports===h,y=m&&f.process,v=function(){try{var e=g&&g.require&&g.require("util").types;return e||y&&y.binding&&y.binding("util")}catch(e){}}(),b=v&&v.isTypedArray;function _(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}var w,T,x,S=Array.prototype,k=Function.prototype,E=Object.prototype,O=p["__core-js_shared__"],C=k.toString,L=E.hasOwnProperty,A=(w=/[^.]+$/.exec(O&&O.keys&&O.keys.IE_PROTO||""))?"Symbol(src)_1."+w:"",I=E.toString,P=C.call(Object),M=RegExp("^"+C.call(L).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),R=m?p.Buffer:void 0,j=p.Symbol,D=p.Uint8Array,N=R?R.allocUnsafe:void 0,B=(T=Object.getPrototypeOf,x=Object,function(e){return T(x(e))}),U=Object.create,F=E.propertyIsEnumerable,z=S.splice,H=j?j.toStringTag:void 0,Z=function(){try{var e=ge(Object,"defineProperty");return e({},"",{}),e}catch(e){}}(),q=R?R.isBuffer:void 0,V=Math.max,W=Date.now,G=ge(p,"Map"),$=ge(Object,"create"),Y=function(){function e(){}return function(t){if(!Oe(t))return{};if(U)return U(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();function K(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function X(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Q(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function J(e){var t=this.__data__=new X(e);this.size=t.size}function ee(e,t){var n=Te(e),r=!n&&we(e),i=!n&&!r&&Se(e),o=!n&&!r&&!i&&Le(e),a=n||r||i||o,s=a?function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}(e.length,String):[],u=s.length;for(var c in e)!t&&!L.call(e,c)||a&&("length"==c||i&&("offset"==c||"parent"==c)||o&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||me(c,u))||s.push(c);return s}function te(e,t,n){(void 0!==n&&!_e(e[t],n)||void 0===n&&!(t in e))&&ie(e,t,n)}function ne(e,t,n){var r=e[t];L.call(e,t)&&_e(r,n)&&(void 0!==n||t in e)||ie(e,t,n)}function re(e,t){for(var n=e.length;n--;)if(_e(e[n][0],t))return n;return-1}function ie(e,t,n){"__proto__"==t&&Z?Z(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}K.prototype.clear=function(){this.__data__=$?$(null):{},this.size=0},K.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},K.prototype.get=function(e){var t=this.__data__;if($){var n=t[e];return n===r?void 0:n}return L.call(t,e)?t[e]:void 0},K.prototype.has=function(e){var t=this.__data__;return $?void 0!==t[e]:L.call(t,e)},K.prototype.set=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=$&&void 0===t?r:t,this},X.prototype.clear=function(){this.__data__=[],this.size=0},X.prototype.delete=function(e){var t=this.__data__,n=re(t,e);return!(n<0)&&(n==t.length-1?t.pop():z.call(t,n,1),--this.size,!0)},X.prototype.get=function(e){var t=this.__data__,n=re(t,e);return n<0?void 0:t[n][1]},X.prototype.has=function(e){return re(this.__data__,e)>-1},X.prototype.set=function(e,t){var n=this.__data__,r=re(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this},Q.prototype.clear=function(){this.size=0,this.__data__={hash:new K,map:new(G||X),string:new K}},Q.prototype.delete=function(e){var t=he(this,e).delete(e);return this.size-=t?1:0,t},Q.prototype.get=function(e){return he(this,e).get(e)},Q.prototype.has=function(e){return he(this,e).has(e)},Q.prototype.set=function(e,t){var n=he(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this},J.prototype.clear=function(){this.__data__=new X,this.size=0},J.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},J.prototype.get=function(e){return this.__data__.get(e)},J.prototype.has=function(e){return this.__data__.has(e)},J.prototype.set=function(e,t){var n=this.__data__;if(n instanceof X){var r=n.__data__;if(!G||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new Q(r)}return n.set(e,t),this.size=n.size,this};var oe,ae=function(e,t,n){for(var r=-1,i=Object(e),o=n(e),a=o.length;a--;){var s=o[oe?a:++r];if(!1===t(i[s],s,i))break}return e};function se(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":H&&H in Object(e)?function(e){var t=L.call(e,H),n=e[H];try{e[H]=void 0;var r=!0}catch(e){}var i=I.call(e);r&&(t?e[H]=n:delete e[H]);return i}(e):function(e){return I.call(e)}(e)}function ue(e){return Ce(e)&&se(e)==o}function ce(e){return!(!Oe(e)||function(e){return!!A&&A in e}(e))&&(ke(e)?M:u).test(function(e){if(null!=e){try{return C.call(e)}catch(e){}try{return e+""}catch(e){}}return""}(e))}function le(e){if(!Oe(e))return function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}(e);var t=ye(e),n=[];for(var r in e)("constructor"!=r||!t&&L.call(e,r))&&n.push(r);return n}function fe(e,t,n,r,i){e!==t&&ae(t,(function(o,a){if(i||(i=new J),Oe(o))!function(e,t,n,r,i,o,a){var u=ve(e,n),c=ve(t,n),l=a.get(c);if(l)return void te(e,n,l);var f=o?o(u,c,n+"",e,t,a):void 0,d=void 0===f;if(d){var p=Te(c),h=!p&&Se(c),g=!p&&!h&&Le(c);f=c,p||h||g?Te(u)?f=u:Ce(_=u)&&xe(_)?f=function(e,t){var n=-1,r=e.length;t||(t=Array(r));for(;++n<r;)t[n]=e[n];return t}(u):h?(d=!1,f=function(e,t){if(t)return e.slice();var n=e.length,r=N?N(n):new e.constructor(n);return e.copy(r),r}(c,!0)):g?(d=!1,m=c,y=!0?(v=m.buffer,b=new v.constructor(v.byteLength),new D(b).set(new D(v)),b):m.buffer,f=new m.constructor(y,m.byteOffset,m.length)):f=[]:function(e){if(!Ce(e)||se(e)!=s)return!1;var t=B(e);if(null===t)return!0;var n=L.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&C.call(n)==P}(c)||we(c)?(f=u,we(u)?f=function(e){return function(e,t,n,r){var i=!n;n||(n={});var o=-1,a=t.length;for(;++o<a;){var s=t[o],u=r?r(n[s],e[s],s,n,e):void 0;void 0===u&&(u=e[s]),i?ie(n,s,u):ne(n,s,u)}return n}(e,Ae(e))}(u):Oe(u)&&!ke(u)||(f=function(e){return"function"!=typeof e.constructor||ye(e)?{}:Y(B(e))}(c))):d=!1}var m,y,v,b;var _;d&&(a.set(c,f),i(f,c,r,o,a),a.delete(c));te(e,n,f)}(e,t,a,n,fe,r,i);else{var u=r?r(ve(e,a),o,a+"",e,t,i):void 0;void 0===u&&(u=o),te(e,a,u)}}),Ae)}function de(e,t){return be(function(e,t,n){return t=V(void 0===t?e.length-1:t,0),function(){for(var r=arguments,i=-1,o=V(r.length-t,0),a=Array(o);++i<o;)a[i]=r[t+i];i=-1;for(var s=Array(t+1);++i<t;)s[i]=r[i];return s[t]=n(a),_(e,this,s)}}(e,t,Me),e+"")}var pe=Z?function(e,t){return Z(e,"toString",{configurable:!0,enumerable:!1,value:(n=t,function(){return n}),writable:!0});var n}:Me;function he(e,t){var n,r,i=e.__data__;return("string"==(r=typeof(n=t))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?i["string"==typeof t?"string":"hash"]:i.map}function ge(e,t){var n=function(e,t){return null==e?void 0:e[t]}(e,t);return ce(n)?n:void 0}function me(e,t){var n=typeof e;return!!(t=null==t?i:t)&&("number"==n||"symbol"!=n&&c.test(e))&&e>-1&&e%1==0&&e<t}function ye(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||E)}function ve(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}var be=function(e){var t=0,n=0;return function(){var r=W(),i=16-(r-n);if(n=r,i>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}(pe);function _e(e,t){return e===t||e!=e&&t!=t}var we=ue(function(){return arguments}())?ue:function(e){return Ce(e)&&L.call(e,"callee")&&!F.call(e,"callee")},Te=Array.isArray;function xe(e){return null!=e&&Ee(e.length)&&!ke(e)}var Se=q||function(){return!1};function ke(e){if(!Oe(e))return!1;var t=se(e);return t==a||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}function Ee(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=i}function Oe(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function Ce(e){return null!=e&&"object"==typeof e}var Le=b?function(e){return function(t){return e(t)}}(b):function(e){return Ce(e)&&Ee(e.length)&&!!l[se(e)]};function Ae(e){return xe(e)?ee(e,!0):le(e)}var Ie,Pe=(Ie=function(e,t,n,r){fe(e,t,n,r)},de((function(e,t){var n=-1,r=t.length,i=r>1?t[r-1]:void 0,o=r>2?t[2]:void 0;for(i=Ie.length>3&&"function"==typeof i?(r--,i):void 0,o&&function(e,t,n){if(!Oe(n))return!1;var r=typeof t;return!!("number"==r?xe(n)&&me(t,n.length):"string"==r&&t in n)&&_e(n[t],e)}(t[0],t[1],o)&&(i=r<3?void 0:i,r=1),e=Object(e);++n<r;){var a=t[n];a&&Ie(e,a,n,i)}return e})));function Me(e){return e}e.exports=Pe},51829:function(e){function t(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function n(e,t,n){if(t!=t)return function(e,t,n,r){for(var i=e.length,o=n+(r?1:-1);r?o--:++o<i;)if(t(e[o],o,e))return o;return-1}(e,i,n);for(var r=n-1,o=e.length;++r<o;)if(e[r]===t)return r;return-1}function r(e,t,n,r){for(var i=n-1,o=e.length;++i<o;)if(r(e[i],t))return i;return-1}function i(e){return e!=e}var o=Array.prototype.splice,a=Math.max;function s(e,t,i,a){var s,u=a?r:n,c=-1,l=t.length,f=e;for(e===t&&(t=function(e,t){var n=-1,r=e.length;t||(t=Array(r));for(;++n<r;)t[n]=e[n];return t}(t)),i&&(f=function(e,t){for(var n=-1,r=e?e.length:0,i=Array(r);++n<r;)i[n]=t(e[n],n,e);return i}(e,(s=i,function(e){return s(e)})));++c<l;)for(var d=0,p=t[c],h=i?i(p):p;(d=u(f,h,d,a))>-1;)f!==e&&o.call(f,d,1),o.call(e,d,1);return e}var u,c,l=(u=function(e,t){return e&&e.length&&t&&t.length?s(e,t):e},c=a(void 0===c?u.length-1:c,0),function(){for(var e=arguments,n=-1,r=a(e.length-c,0),i=Array(r);++n<r;)i[n]=e[c+n];n=-1;for(var o=Array(c+1);++n<c;)o[n]=e[n];return o[c]=i,t(u,this,o)});e.exports=l},93096:function(e,t,n){var r="Expected a function",i=/^\s+|\s+$/g,o=/^[-+]0x[0-9a-f]+$/i,a=/^0b[01]+$/i,s=/^0o[0-7]+$/i,u=parseInt,c="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,l="object"==typeof self&&self&&self.Object===Object&&self,f=c||l||Function("return this")(),d=Object.prototype.toString,p=Math.max,h=Math.min,g=function(){return f.Date.now()};function m(e,t,n){var i,o,a,s,u,c,l=0,f=!1,d=!1,m=!0;if("function"!=typeof e)throw new TypeError(r);function b(t){var n=i,r=o;return i=o=void 0,l=t,s=e.apply(r,n)}function _(e){return l=e,u=setTimeout(T,t),f?b(e):s}function w(e){var n=e-c;return void 0===c||n>=t||n<0||d&&e-l>=a}function T(){var e=g();if(w(e))return x(e);u=setTimeout(T,function(e){var n=t-(e-c);return d?h(n,a-(e-l)):n}(e))}function x(e){return u=void 0,m&&i?b(e):(i=o=void 0,s)}function S(){var e=g(),n=w(e);if(i=arguments,o=this,c=e,n){if(void 0===u)return _(c);if(d)return u=setTimeout(T,t),b(c)}return void 0===u&&(u=setTimeout(T,t)),s}return t=v(t)||0,y(n)&&(f=!!n.leading,a=(d="maxWait"in n)?p(v(n.maxWait)||0,t):a,m="trailing"in n?!!n.trailing:m),S.cancel=function(){void 0!==u&&clearTimeout(u),l=0,i=c=o=u=void 0},S.flush=function(){return void 0===u?s:x(g())},S}function y(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function v(e){if("number"==typeof e)return e;if(function(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&"[object Symbol]"==d.call(e)}(e))return NaN;if(y(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=y(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(i,"");var n=a.test(e);return n||s.test(e)?u(e.slice(2),n?2:8):o.test(e)?NaN:+e}e.exports=function(e,t,n){var i=!0,o=!0;if("function"!=typeof e)throw new TypeError(r);return y(n)&&(i="leading"in n?!!n.leading:i,o="trailing"in n?!!n.trailing:o),m(e,t,{leading:i,maxWait:t,trailing:o})}},18552:function(e,t,n){var r=n(10852)(n(55639),"DataView");e.exports=r},1989:function(e,t,n){var r=n(51789),i=n(80401),o=n(57667),a=n(21327),s=n(81866);function u(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}u.prototype.clear=r,u.prototype.delete=i,u.prototype.get=o,u.prototype.has=a,u.prototype.set=s,e.exports=u},38407:function(e,t,n){var r=n(27040),i=n(14125),o=n(82117),a=n(67518),s=n(13399);function u(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}u.prototype.clear=r,u.prototype.delete=i,u.prototype.get=o,u.prototype.has=a,u.prototype.set=s,e.exports=u},57071:function(e,t,n){var r=n(10852)(n(55639),"Map");e.exports=r},83369:function(e,t,n){var r=n(24785),i=n(11285),o=n(96e3),a=n(49916),s=n(95265);function u(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}u.prototype.clear=r,u.prototype.delete=i,u.prototype.get=o,u.prototype.has=a,u.prototype.set=s,e.exports=u},53818:function(e,t,n){var r=n(10852)(n(55639),"Promise");e.exports=r},58525:function(e,t,n){var r=n(10852)(n(55639),"Set");e.exports=r},88668:function(e,t,n){var r=n(83369),i=n(90619),o=n(72385);function a(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new r;++t<n;)this.add(e[t])}a.prototype.add=a.prototype.push=i,a.prototype.has=o,e.exports=a},46384:function(e,t,n){var r=n(38407),i=n(37465),o=n(63779),a=n(67599),s=n(44758),u=n(34309);function c(e){var t=this.__data__=new r(e);this.size=t.size}c.prototype.clear=i,c.prototype.delete=o,c.prototype.get=a,c.prototype.has=s,c.prototype.set=u,e.exports=c},62705:function(e,t,n){var r=n(55639).Symbol;e.exports=r},11149:function(e,t,n){var r=n(55639).Uint8Array;e.exports=r},70577:function(e,t,n){var r=n(10852)(n(55639),"WeakMap");e.exports=r},77412:function(e){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r&&!1!==t(e[n],n,e););return e}},34963:function(e){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length,i=0,o=[];++n<r;){var a=e[n];t(a,n,e)&&(o[i++]=a)}return o}},14636:function(e,t,n){var r=n(22545),i=n(35694),o=n(1469),a=n(44144),s=n(65776),u=n(36719),c=Object.prototype.hasOwnProperty;e.exports=function(e,t){var n=o(e),l=!n&&i(e),f=!n&&!l&&a(e),d=!n&&!l&&!f&&u(e),p=n||l||f||d,h=p?r(e.length,String):[],g=h.length;for(var m in e)!t&&!c.call(e,m)||p&&("length"==m||f&&("offset"==m||"parent"==m)||d&&("buffer"==m||"byteLength"==m||"byteOffset"==m)||s(m,g))||h.push(m);return h}},29932:function(e){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length,i=Array(r);++n<r;)i[n]=t(e[n],n,e);return i}},62488:function(e){e.exports=function(e,t){for(var n=-1,r=t.length,i=e.length;++n<r;)e[i+n]=t[n];return e}},62663:function(e){e.exports=function(e,t,n,r){var i=-1,o=null==e?0:e.length;for(r&&o&&(n=e[++i]);++i<o;)n=t(n,e[i],i,e);return n}},70151:function(e,t,n){var r=n(278),i=n(73480);e.exports=function(e){return i(r(e))}},82908:function(e){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}},48983:function(e,t,n){var r=n(40371)("length");e.exports=r},44286:function(e){e.exports=function(e){return e.split("")}},49029:function(e){var t=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;e.exports=function(e){return e.match(t)||[]}},34865:function(e,t,n){var r=n(89465),i=n(77813),o=Object.prototype.hasOwnProperty;e.exports=function(e,t,n){var a=e[t];o.call(e,t)&&i(a,n)&&(void 0!==n||t in e)||r(e,t,n)}},18470:function(e,t,n){var r=n(77813);e.exports=function(e,t){for(var n=e.length;n--;)if(r(e[n][0],t))return n;return-1}},44037:function(e,t,n){var r=n(98363),i=n(3674);e.exports=function(e,t){return e&&r(t,i(t),e)}},63886:function(e,t,n){var r=n(98363),i=n(81704);e.exports=function(e,t){return e&&r(t,i(t),e)}},89465:function(e,t,n){var r=n(38777);e.exports=function(e,t,n){"__proto__"==t&&r?r(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}},85990:function(e,t,n){var r=n(46384),i=n(77412),o=n(34865),a=n(44037),s=n(63886),u=n(64626),c=n(278),l=n(18805),f=n(1911),d=n(58234),p=n(46904),h=n(64160),g=n(43824),m=n(29148),y=n(38517),v=n(1469),b=n(44144),_=n(56688),w=n(13218),T=n(72928),x=n(3674),S="[object Arguments]",k="[object Function]",E="[object Object]",O={};O[S]=O["[object Array]"]=O["[object ArrayBuffer]"]=O["[object DataView]"]=O["[object Boolean]"]=O["[object Date]"]=O["[object Float32Array]"]=O["[object Float64Array]"]=O["[object Int8Array]"]=O["[object Int16Array]"]=O["[object Int32Array]"]=O["[object Map]"]=O["[object Number]"]=O[E]=O["[object RegExp]"]=O["[object Set]"]=O["[object String]"]=O["[object Symbol]"]=O["[object Uint8Array]"]=O["[object Uint8ClampedArray]"]=O["[object Uint16Array]"]=O["[object Uint32Array]"]=!0,O["[object Error]"]=O[k]=O["[object WeakMap]"]=!1,e.exports=function e(t,n,C,L,A,I){var P,M=1&n,R=2&n,j=4&n;if(C&&(P=A?C(t,L,A,I):C(t)),void 0!==P)return P;if(!w(t))return t;var D=v(t);if(D){if(P=g(t),!M)return c(t,P)}else{var N=h(t),B=N==k||"[object GeneratorFunction]"==N;if(b(t))return u(t,M);if(N==E||N==S||B&&!A){if(P=R||B?{}:y(t),!M)return R?f(t,s(P,t)):l(t,a(P,t))}else{if(!O[N])return A?t:{};P=m(t,N,M)}}I||(I=new r);var U=I.get(t);if(U)return U;I.set(t,P),T(t)?t.forEach((function(r){P.add(e(r,n,C,r,t,I))})):_(t)&&t.forEach((function(r,i){P.set(i,e(r,n,C,i,t,I))}));var F=j?R?p:d:R?keysIn:x,z=D?void 0:F(t);return i(z||t,(function(r,i){z&&(r=t[i=r]),o(P,i,e(r,n,C,i,t,I))})),P}},3118:function(e,t,n){var r=n(13218),i=Object.create,o=function(){function e(){}return function(t){if(!r(t))return{};if(i)return i(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();e.exports=o},41848:function(e){e.exports=function(e,t,n,r){for(var i=e.length,o=n+(r?1:-1);r?o--:++o<i;)if(t(e[o],o,e))return o;return-1}},97786:function(e,t,n){var r=n(71811),i=n(40327);e.exports=function(e,t){for(var n=0,o=(t=r(t,e)).length;null!=e&&n<o;)e=e[i(t[n++])];return n&&n==o?e:void 0}},68866:function(e,t,n){var r=n(62488),i=n(1469);e.exports=function(e,t,n){var o=t(e);return i(e)?o:r(o,n(e))}},44239:function(e,t,n){var r=n(62705),i=n(89607),o=n(2333),a=r?r.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":a&&a in Object(e)?i(e):o(e)}},13:function(e){e.exports=function(e,t){return null!=e&&t in Object(e)}},9454:function(e,t,n){var r=n(44239),i=n(37005);e.exports=function(e){return i(e)&&"[object Arguments]"==r(e)}},90939:function(e,t,n){var r=n(2492),i=n(37005);e.exports=function e(t,n,o,a,s){return t===n||(null==t||null==n||!i(t)&&!i(n)?t!=t&&n!=n:r(t,n,o,a,e,s))}},2492:function(e,t,n){var r=n(46384),i=n(67114),o=n(18351),a=n(16096),s=n(64160),u=n(1469),c=n(44144),l=n(36719),f="[object Arguments]",d="[object Array]",p="[object Object]",h=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,g,m,y){var v=u(e),b=u(t),_=v?d:s(e),w=b?d:s(t),T=(_=_==f?p:_)==p,x=(w=w==f?p:w)==p,S=_==w;if(S&&c(e)){if(!c(t))return!1;v=!0,T=!1}if(S&&!T)return y||(y=new r),v||l(e)?i(e,t,n,g,m,y):o(e,t,_,n,g,m,y);if(!(1&n)){var k=T&&h.call(e,"__wrapped__"),E=x&&h.call(t,"__wrapped__");if(k||E){var O=k?e.value():e,C=E?t.value():t;return y||(y=new r),m(O,C,n,g,y)}}return!!S&&(y||(y=new r),a(e,t,n,g,m,y))}},25588:function(e,t,n){var r=n(64160),i=n(37005);e.exports=function(e){return i(e)&&"[object Map]"==r(e)}},2958:function(e,t,n){var r=n(46384),i=n(90939);e.exports=function(e,t,n,o){var a=n.length,s=a,u=!o;if(null==e)return!s;for(e=Object(e);a--;){var c=n[a];if(u&&c[2]?c[1]!==e[c[0]]:!(c[0]in e))return!1}for(;++a<s;){var l=(c=n[a])[0],f=e[l],d=c[1];if(u&&c[2]){if(void 0===f&&!(l in e))return!1}else{var p=new r;if(o)var h=o(f,d,l,e,t,p);if(!(void 0===h?i(d,f,3,o,p):h))return!1}}return!0}},79190:function(e,t,n){var r=n(23560),i=n(15346),o=n(13218),a=n(80346),s=/^\[object .+?Constructor\]$/,u=Function.prototype,c=Object.prototype,l=u.toString,f=c.hasOwnProperty,d=RegExp("^"+l.call(f).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!o(e)||i(e))&&(r(e)?d:s).test(a(e))}},23933:function(e,t,n){var r=n(44239),i=n(37005);e.exports=function(e){return i(e)&&"[object RegExp]"==r(e)}},29221:function(e,t,n){var r=n(64160),i=n(37005);e.exports=function(e){return i(e)&&"[object Set]"==r(e)}},38749:function(e,t,n){var r=n(44239),i=n(41780),o=n(37005),a={};a["[object Float32Array]"]=a["[object Float64Array]"]=a["[object Int8Array]"]=a["[object Int16Array]"]=a["[object Int32Array]"]=a["[object Uint8Array]"]=a["[object Uint8ClampedArray]"]=a["[object Uint16Array]"]=a["[object Uint32Array]"]=!0,a["[object Arguments]"]=a["[object Array]"]=a["[object ArrayBuffer]"]=a["[object Boolean]"]=a["[object DataView]"]=a["[object Date]"]=a["[object Error]"]=a["[object Function]"]=a["[object Map]"]=a["[object Number]"]=a["[object Object]"]=a["[object RegExp]"]=a["[object Set]"]=a["[object String]"]=a["[object WeakMap]"]=!1,e.exports=function(e){return o(e)&&i(e.length)&&!!a[r(e)]}},67206:function(e,t,n){var r=n(91573),i=n(16432),o=n(6557),a=n(1469),s=n(39601);e.exports=function(e){return"function"==typeof e?e:null==e?o:"object"==typeof e?a(e)?i(e[0],e[1]):r(e):s(e)}},280:function(e,t,n){var r=n(25726),i=n(86916),o=Object.prototype.hasOwnProperty;e.exports=function(e){if(!r(e))return i(e);var t=[];for(var n in Object(e))o.call(e,n)&&"constructor"!=n&&t.push(n);return t}},10313:function(e,t,n){var r=n(13218),i=n(25726),o=n(33498),a=Object.prototype.hasOwnProperty;e.exports=function(e){if(!r(e))return o(e);var t=i(e),n=[];for(var s in e)("constructor"!=s||!t&&a.call(e,s))&&n.push(s);return n}},91573:function(e,t,n){var r=n(2958),i=n(1499),o=n(42634);e.exports=function(e){var t=i(e);return 1==t.length&&t[0][2]?o(t[0][0],t[0][1]):function(n){return n===e||r(n,e,t)}}},16432:function(e,t,n){var r=n(90939),i=n(27361),o=n(79095),a=n(15403),s=n(89162),u=n(42634),c=n(40327);e.exports=function(e,t){return a(e)&&s(t)?u(c(e),t):function(n){var a=i(n,e);return void 0===a&&a===t?o(n,e):r(t,a,3)}}},40371:function(e){e.exports=function(e){return function(t){return null==t?void 0:t[e]}}},79152:function(e,t,n){var r=n(97786);e.exports=function(e){return function(t){return r(t,e)}}},18674:function(e){e.exports=function(e){return function(t){return null==e?void 0:e[t]}}},69877:function(e){var t=Math.floor,n=Math.random;e.exports=function(e,r){return e+t(n()*(r-e+1))}},40098:function(e){var t=Math.ceil,n=Math.max;e.exports=function(e,r,i,o){for(var a=-1,s=n(t((r-e)/(i||1)),0),u=Array(s);s--;)u[o?s:++a]=e,e+=i;return u}},25127:function(e,t,n){var r=n(73480),i=n(52628);e.exports=function(e){return r(i(e))}},14259:function(e){e.exports=function(e,t,n){var r=-1,i=e.length;t<0&&(t=-t>i?0:i+t),(n=n>i?i:n)<0&&(n+=i),i=t>n?0:n-t>>>0,t>>>=0;for(var o=Array(i);++r<i;)o[r]=e[r+t];return o}},22545:function(e){e.exports=function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}},80531:function(e,t,n){var r=n(62705),i=n(29932),o=n(1469),a=n(33448),s=r?r.prototype:void 0,u=s?s.toString:void 0;e.exports=function e(t){if("string"==typeof t)return t;if(o(t))return i(t,e)+"";if(a(t))return u?u.call(t):"";var n=t+"";return"0"==n&&1/t==-Infinity?"-0":n}},7518:function(e){e.exports=function(e){return function(t){return e(t)}}},47415:function(e,t,n){var r=n(29932);e.exports=function(e,t){return r(t,(function(t){return e[t]}))}},74757:function(e){e.exports=function(e,t){return e.has(t)}},71811:function(e,t,n){var r=n(1469),i=n(15403),o=n(55514),a=n(79833);e.exports=function(e,t){return r(e)?e:i(e,t)?[e]:o(a(e))}},40180:function(e,t,n){var r=n(14259);e.exports=function(e,t,n){var i=e.length;return n=void 0===n?i:n,!t&&n>=i?e:r(e,t,n)}},74318:function(e,t,n){var r=n(11149);e.exports=function(e){var t=new e.constructor(e.byteLength);return new r(t).set(new r(e)),t}},64626:function(e,t,n){e=n.nmd(e);var r=n(55639),i=t&&!t.nodeType&&t,o=i&&e&&!e.nodeType&&e,a=o&&o.exports===i?r.Buffer:void 0,s=a?a.allocUnsafe:void 0;e.exports=function(e,t){if(t)return e.slice();var n=e.length,r=s?s(n):new e.constructor(n);return e.copy(r),r}},57157:function(e,t,n){var r=n(74318);e.exports=function(e,t){var n=t?r(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}},93147:function(e){var t=/\w*$/;e.exports=function(e){var n=new e.constructor(e.source,t.exec(e));return n.lastIndex=e.lastIndex,n}},40419:function(e,t,n){var r=n(62705),i=r?r.prototype:void 0,o=i?i.valueOf:void 0;e.exports=function(e){return o?Object(o.call(e)):{}}},77133:function(e,t,n){var r=n(74318);e.exports=function(e,t){var n=t?r(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}},278:function(e){e.exports=function(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t}},98363:function(e,t,n){var r=n(34865),i=n(89465);e.exports=function(e,t,n,o){var a=!n;n||(n={});for(var s=-1,u=t.length;++s<u;){var c=t[s],l=o?o(n[c],e[c],c,n,e):void 0;void 0===l&&(l=e[c]),a?i(n,c,l):r(n,c,l)}return n}},18805:function(e,t,n){var r=n(98363),i=n(99551);e.exports=function(e,t){return r(e,i(e),t)}},1911:function(e,t,n){var r=n(98363),i=n(51442);e.exports=function(e,t){return r(e,i(e),t)}},14429:function(e,t,n){var r=n(55639)["__core-js_shared__"];e.exports=r},98805:function(e,t,n){var r=n(40180),i=n(62689),o=n(52710),a=n(79833);e.exports=function(e){return function(t){t=a(t);var n=i(t)?o(t):void 0,s=n?n[0]:t.charAt(0),u=n?r(n,1).join(""):t.slice(1);return s[e]()+u}}},35393:function(e,t,n){var r=n(62663),i=n(53816),o=n(58748),a=RegExp("['’]","g");e.exports=function(e){return function(t){return r(o(i(t).replace(a,"")),e,"")}}},67740:function(e,t,n){var r=n(67206),i=n(98612),o=n(3674);e.exports=function(e){return function(t,n,a){var s=Object(t);if(!i(t)){var u=r(n,3);t=o(t),n=function(e){return u(s[e],e,s)}}var c=e(t,n,a);return c>-1?s[u?t[c]:c]:void 0}}},47445:function(e,t,n){var r=n(40098),i=n(16612),o=n(18601);e.exports=function(e){return function(t,n,a){return a&&"number"!=typeof a&&i(t,n,a)&&(n=a=void 0),t=o(t),void 0===n?(n=t,t=0):n=o(n),a=void 0===a?t<n?1:-1:o(a),r(t,n,a,e)}}},69389:function(e,t,n){var r=n(18674)({"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"});e.exports=r},38777:function(e,t,n){var r=n(10852),i=function(){try{var e=r(Object,"defineProperty");return e({},"",{}),e}catch(e){}}();e.exports=i},67114:function(e,t,n){var r=n(88668),i=n(82908),o=n(74757);e.exports=function(e,t,n,a,s,u){var c=1&n,l=e.length,f=t.length;if(l!=f&&!(c&&f>l))return!1;var d=u.get(e);if(d&&u.get(t))return d==t;var p=-1,h=!0,g=2&n?new r:void 0;for(u.set(e,t),u.set(t,e);++p<l;){var m=e[p],y=t[p];if(a)var v=c?a(y,m,p,t,e,u):a(m,y,p,e,t,u);if(void 0!==v){if(v)continue;h=!1;break}if(g){if(!i(t,(function(e,t){if(!o(g,t)&&(m===e||s(m,e,n,a,u)))return g.push(t)}))){h=!1;break}}else if(m!==y&&!s(m,y,n,a,u)){h=!1;break}}return u.delete(e),u.delete(t),h}},18351:function(e,t,n){var r=n(62705),i=n(11149),o=n(77813),a=n(67114),s=n(68776),u=n(21814),c=r?r.prototype:void 0,l=c?c.valueOf:void 0;e.exports=function(e,t,n,r,c,f,d){switch(n){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=t.byteLength||!f(new i(e),new i(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return o(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case"[object Map]":var p=s;case"[object Set]":var h=1&r;if(p||(p=u),e.size!=t.size&&!h)return!1;var g=d.get(e);if(g)return g==t;r|=2,d.set(e,t);var m=a(p(e),p(t),r,c,f,d);return d.delete(e),m;case"[object Symbol]":if(l)return l.call(e)==l.call(t)}return!1}},16096:function(e,t,n){var r=n(58234),i=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,o,a,s){var u=1&n,c=r(e),l=c.length;if(l!=r(t).length&&!u)return!1;for(var f=l;f--;){var d=c[f];if(!(u?d in t:i.call(t,d)))return!1}var p=s.get(e);if(p&&s.get(t))return p==t;var h=!0;s.set(e,t),s.set(t,e);for(var g=u;++f<l;){var m=e[d=c[f]],y=t[d];if(o)var v=u?o(y,m,d,t,e,s):o(m,y,d,e,t,s);if(!(void 0===v?m===y||a(m,y,n,o,s):v)){h=!1;break}g||(g="constructor"==d)}if(h&&!g){var b=e.constructor,_=t.constructor;b==_||!("constructor"in e)||!("constructor"in t)||"function"==typeof b&&b instanceof b&&"function"==typeof _&&_ instanceof _||(h=!1)}return s.delete(e),s.delete(t),h}},31957:function(e,t,n){var r="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g;e.exports=r},58234:function(e,t,n){var r=n(68866),i=n(99551),o=n(3674);e.exports=function(e){return r(e,o,i)}},46904:function(e,t,n){var r=n(68866),i=n(51442),o=n(81704);e.exports=function(e){return r(e,o,i)}},45050:function(e,t,n){var r=n(37019);e.exports=function(e,t){var n=e.__data__;return r(t)?n["string"==typeof t?"string":"hash"]:n.map}},1499:function(e,t,n){var r=n(89162),i=n(3674);e.exports=function(e){for(var t=i(e),n=t.length;n--;){var o=t[n],a=e[o];t[n]=[o,a,r(a)]}return t}},10852:function(e,t,n){var r=n(79190),i=n(47801);e.exports=function(e,t){var n=i(e,t);return r(n)?n:void 0}},85924:function(e,t,n){var r=n(5569)(Object.getPrototypeOf,Object);e.exports=r},89607:function(e,t,n){var r=n(62705),i=Object.prototype,o=i.hasOwnProperty,a=i.toString,s=r?r.toStringTag:void 0;e.exports=function(e){var t=o.call(e,s),n=e[s];try{e[s]=void 0;var r=!0}catch(e){}var i=a.call(e);return r&&(t?e[s]=n:delete e[s]),i}},99551:function(e,t,n){var r=n(34963),i=n(70479),o=Object.prototype.propertyIsEnumerable,a=Object.getOwnPropertySymbols,s=a?function(e){return null==e?[]:(e=Object(e),r(a(e),(function(t){return o.call(e,t)})))}:i;e.exports=s},51442:function(e,t,n){var r=n(62488),i=n(85924),o=n(99551),a=n(70479),s=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)r(t,o(e)),e=i(e);return t}:a;e.exports=s},64160:function(e,t,n){var r=n(18552),i=n(57071),o=n(53818),a=n(58525),s=n(70577),u=n(44239),c=n(80346),l="[object Map]",f="[object Promise]",d="[object Set]",p="[object WeakMap]",h="[object DataView]",g=c(r),m=c(i),y=c(o),v=c(a),b=c(s),_=u;(r&&_(new r(new ArrayBuffer(1)))!=h||i&&_(new i)!=l||o&&_(o.resolve())!=f||a&&_(new a)!=d||s&&_(new s)!=p)&&(_=function(e){var t=u(e),n="[object Object]"==t?e.constructor:void 0,r=n?c(n):"";if(r)switch(r){case g:return h;case m:return l;case y:return f;case v:return d;case b:return p}return t}),e.exports=_},47801:function(e){e.exports=function(e,t){return null==e?void 0:e[t]}},222:function(e,t,n){var r=n(71811),i=n(35694),o=n(1469),a=n(65776),s=n(41780),u=n(40327);e.exports=function(e,t,n){for(var c=-1,l=(t=r(t,e)).length,f=!1;++c<l;){var d=u(t[c]);if(!(f=null!=e&&n(e,d)))break;e=e[d]}return f||++c!=l?f:!!(l=null==e?0:e.length)&&s(l)&&a(d,l)&&(o(e)||i(e))}},62689:function(e){var t=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");e.exports=function(e){return t.test(e)}},93157:function(e){var t=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;e.exports=function(e){return t.test(e)}},51789:function(e,t,n){var r=n(94536);e.exports=function(){this.__data__=r?r(null):{},this.size=0}},80401:function(e){e.exports=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}},57667:function(e,t,n){var r=n(94536),i=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;if(r){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return i.call(t,e)?t[e]:void 0}},21327:function(e,t,n){var r=n(94536),i=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return r?void 0!==t[e]:i.call(t,e)}},81866:function(e,t,n){var r=n(94536);e.exports=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=r&&void 0===t?"__lodash_hash_undefined__":t,this}},43824:function(e){var t=Object.prototype.hasOwnProperty;e.exports=function(e){var n=e.length,r=new e.constructor(n);return n&&"string"==typeof e[0]&&t.call(e,"index")&&(r.index=e.index,r.input=e.input),r}},29148:function(e,t,n){var r=n(74318),i=n(57157),o=n(93147),a=n(40419),s=n(77133);e.exports=function(e,t,n){var u=e.constructor;switch(t){case"[object ArrayBuffer]":return r(e);case"[object Boolean]":case"[object Date]":return new u(+e);case"[object DataView]":return i(e,n);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return s(e,n);case"[object Map]":case"[object Set]":return new u;case"[object Number]":case"[object String]":return new u(e);case"[object RegExp]":return o(e);case"[object Symbol]":return a(e)}}},38517:function(e,t,n){var r=n(3118),i=n(85924),o=n(25726);e.exports=function(e){return"function"!=typeof e.constructor||o(e)?{}:r(i(e))}},65776:function(e){var t=/^(?:0|[1-9]\d*)$/;e.exports=function(e,n){var r=typeof e;return!!(n=null==n?9007199254740991:n)&&("number"==r||"symbol"!=r&&t.test(e))&&e>-1&&e%1==0&&e<n}},16612:function(e,t,n){var r=n(77813),i=n(98612),o=n(65776),a=n(13218);e.exports=function(e,t,n){if(!a(n))return!1;var s=typeof t;return!!("number"==s?i(n)&&o(t,n.length):"string"==s&&t in n)&&r(n[t],e)}},15403:function(e,t,n){var r=n(1469),i=n(33448),o=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,a=/^\w*$/;e.exports=function(e,t){if(r(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!i(e))||(a.test(e)||!o.test(e)||null!=t&&e in Object(t))}},37019:function(e){e.exports=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}},15346:function(e,t,n){var r,i=n(14429),o=(r=/[^.]+$/.exec(i&&i.keys&&i.keys.IE_PROTO||""))?"Symbol(src)_1."+r:"";e.exports=function(e){return!!o&&o in e}},25726:function(e){var t=Object.prototype;e.exports=function(e){var n=e&&e.constructor;return e===("function"==typeof n&&n.prototype||t)}},89162:function(e,t,n){var r=n(13218);e.exports=function(e){return e==e&&!r(e)}},27040:function(e){e.exports=function(){this.__data__=[],this.size=0}},14125:function(e,t,n){var r=n(18470),i=Array.prototype.splice;e.exports=function(e){var t=this.__data__,n=r(t,e);return!(n<0)&&(n==t.length-1?t.pop():i.call(t,n,1),--this.size,!0)}},82117:function(e,t,n){var r=n(18470);e.exports=function(e){var t=this.__data__,n=r(t,e);return n<0?void 0:t[n][1]}},67518:function(e,t,n){var r=n(18470);e.exports=function(e){return r(this.__data__,e)>-1}},13399:function(e,t,n){var r=n(18470);e.exports=function(e,t){var n=this.__data__,i=r(n,e);return i<0?(++this.size,n.push([e,t])):n[i][1]=t,this}},24785:function(e,t,n){var r=n(1989),i=n(38407),o=n(57071);e.exports=function(){this.size=0,this.__data__={hash:new r,map:new(o||i),string:new r}}},11285:function(e,t,n){var r=n(45050);e.exports=function(e){var t=r(this,e).delete(e);return this.size-=t?1:0,t}},96e3:function(e,t,n){var r=n(45050);e.exports=function(e){return r(this,e).get(e)}},49916:function(e,t,n){var r=n(45050);e.exports=function(e){return r(this,e).has(e)}},95265:function(e,t,n){var r=n(45050);e.exports=function(e,t){var n=r(this,e),i=n.size;return n.set(e,t),this.size+=n.size==i?0:1,this}},68776:function(e){e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}},42634:function(e){e.exports=function(e,t){return function(n){return null!=n&&(n[e]===t&&(void 0!==t||e in Object(n)))}}},24523:function(e,t,n){var r=n(88306);e.exports=function(e){var t=r(e,(function(e){return 500===n.size&&n.clear(),e})),n=t.cache;return t}},94536:function(e,t,n){var r=n(10852)(Object,"create");e.exports=r},86916:function(e,t,n){var r=n(5569)(Object.keys,Object);e.exports=r},33498:function(e){e.exports=function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}},31167:function(e,t,n){e=n.nmd(e);var r=n(31957),i=t&&!t.nodeType&&t,o=i&&e&&!e.nodeType&&e,a=o&&o.exports===i&&r.process,s=function(){try{var e=o&&o.require&&o.require("util").types;return e||a&&a.binding&&a.binding("util")}catch(e){}}();e.exports=s},2333:function(e){var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},5569:function(e){e.exports=function(e,t){return function(n){return e(t(n))}}},55639:function(e,t,n){var r=n(31957),i="object"==typeof self&&self&&self.Object===Object&&self,o=r||i||Function("return this")();e.exports=o},90619:function(e){e.exports=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this}},72385:function(e){e.exports=function(e){return this.__data__.has(e)}},21814:function(e){e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}},73480:function(e,t,n){var r=n(69877);e.exports=function(e,t){var n=-1,i=e.length,o=i-1;for(t=void 0===t?i:t;++n<t;){var a=r(n,o),s=e[a];e[a]=e[n],e[n]=s}return e.length=t,e}},37465:function(e,t,n){var r=n(38407);e.exports=function(){this.__data__=new r,this.size=0}},63779:function(e){e.exports=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}},67599:function(e){e.exports=function(e){return this.__data__.get(e)}},44758:function(e){e.exports=function(e){return this.__data__.has(e)}},34309:function(e,t,n){var r=n(38407),i=n(57071),o=n(83369);e.exports=function(e,t){var n=this.__data__;if(n instanceof r){var a=n.__data__;if(!i||a.length<199)return a.push([e,t]),this.size=++n.size,this;n=this.__data__=new o(a)}return n.set(e,t),this.size=n.size,this}},88016:function(e,t,n){var r=n(48983),i=n(62689),o=n(21903);e.exports=function(e){return i(e)?o(e):r(e)}},52710:function(e,t,n){var r=n(44286),i=n(62689),o=n(676);e.exports=function(e){return i(e)?o(e):r(e)}},55514:function(e,t,n){var r=n(24523),i=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,o=/\\(\\)?/g,a=r((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(i,(function(e,n,r,i){t.push(r?i.replace(o,"$1"):n||e)})),t}));e.exports=a},40327:function(e,t,n){var r=n(33448);e.exports=function(e){if("string"==typeof e||r(e))return e;var t=e+"";return"0"==t&&1/e==-Infinity?"-0":t}},80346:function(e){var t=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return t.call(e)}catch(e){}try{return e+""}catch(e){}}return""}},21903:function(e){var t="[\\ud800-\\udfff]",n="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",r="\\ud83c[\\udffb-\\udfff]",i="[^\\ud800-\\udfff]",o="(?:\\ud83c[\\udde6-\\uddff]){2}",a="[\\ud800-\\udbff][\\udc00-\\udfff]",s="(?:"+n+"|"+r+")"+"?",u="[\\ufe0e\\ufe0f]?",c=u+s+("(?:\\u200d(?:"+[i,o,a].join("|")+")"+u+s+")*"),l="(?:"+[i+n+"?",n,o,a,t].join("|")+")",f=RegExp(r+"(?="+r+")|"+l+c,"g");e.exports=function(e){for(var t=f.lastIndex=0;f.test(e);)++t;return t}},676:function(e){var t="[\\ud800-\\udfff]",n="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",r="\\ud83c[\\udffb-\\udfff]",i="[^\\ud800-\\udfff]",o="(?:\\ud83c[\\udde6-\\uddff]){2}",a="[\\ud800-\\udbff][\\udc00-\\udfff]",s="(?:"+n+"|"+r+")"+"?",u="[\\ufe0e\\ufe0f]?",c=u+s+("(?:\\u200d(?:"+[i,o,a].join("|")+")"+u+s+")*"),l="(?:"+[i+n+"?",n,o,a,t].join("|")+")",f=RegExp(r+"(?="+r+")|"+l+c,"g");e.exports=function(e){return e.match(f)||[]}},2757:function(e){var t="\\u2700-\\u27bf",n="a-z\\xdf-\\xf6\\xf8-\\xff",r="A-Z\\xc0-\\xd6\\xd8-\\xde",i="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",o="["+i+"]",a="\\d+",s="[\\u2700-\\u27bf]",u="["+n+"]",c="[^\\ud800-\\udfff"+i+a+t+n+r+"]",l="(?:\\ud83c[\\udde6-\\uddff]){2}",f="[\\ud800-\\udbff][\\udc00-\\udfff]",d="["+r+"]",p="(?:"+u+"|"+c+")",h="(?:"+d+"|"+c+")",g="(?:['’](?:d|ll|m|re|s|t|ve))?",m="(?:['’](?:D|LL|M|RE|S|T|VE))?",y="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?",v="[\\ufe0e\\ufe0f]?",b=v+y+("(?:\\u200d(?:"+["[^\\ud800-\\udfff]",l,f].join("|")+")"+v+y+")*"),_="(?:"+[s,l,f].join("|")+")"+b,w=RegExp([d+"?"+u+"+"+g+"(?="+[o,d,"$"].join("|")+")",h+"+"+m+"(?="+[o,d+p,"$"].join("|")+")",d+"?"+p+"+"+g,d+"+"+m,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",a,_].join("|"),"g");e.exports=function(e){return e.match(w)||[]}},68929:function(e,t,n){var r=n(48403),i=n(35393)((function(e,t,n){return t=t.toLowerCase(),e+(n?r(t):t)}));e.exports=i},48403:function(e,t,n){var r=n(79833),i=n(11700);e.exports=function(e){return i(r(e).toLowerCase())}},50361:function(e,t,n){var r=n(85990);e.exports=function(e){return r(e,5)}},23279:function(e,t,n){var r=n(13218),i=n(7771),o=n(14841),a=Math.max,s=Math.min;e.exports=function(e,t,n){var u,c,l,f,d,p,h=0,g=!1,m=!1,y=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function v(t){var n=u,r=c;return u=c=void 0,h=t,f=e.apply(r,n)}function b(e){return h=e,d=setTimeout(w,t),g?v(e):f}function _(e){var n=e-p;return void 0===p||n>=t||n<0||m&&e-h>=l}function w(){var e=i();if(_(e))return T(e);d=setTimeout(w,function(e){var n=t-(e-p);return m?s(n,l-(e-h)):n}(e))}function T(e){return d=void 0,y&&u?v(e):(u=c=void 0,f)}function x(){var e=i(),n=_(e);if(u=arguments,c=this,p=e,n){if(void 0===d)return b(p);if(m)return clearTimeout(d),d=setTimeout(w,t),v(p)}return void 0===d&&(d=setTimeout(w,t)),f}return t=o(t)||0,r(n)&&(g=!!n.leading,l=(m="maxWait"in n)?a(o(n.maxWait)||0,t):l,y="trailing"in n?!!n.trailing:y),x.cancel=function(){void 0!==d&&clearTimeout(d),h=0,u=p=c=d=void 0},x.flush=function(){return void 0===d?f:T(i())},x}},53816:function(e,t,n){var r=n(69389),i=n(79833),o=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,a=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g");e.exports=function(e){return(e=i(e))&&e.replace(o,r).replace(a,"")}},77813:function(e){e.exports=function(e,t){return e===t||e!=e&&t!=t}},3522:function(e,t,n){var r=n(79833),i=/[\\^$.*+?()[\]{}|]/g,o=RegExp(i.source);e.exports=function(e){return(e=r(e))&&o.test(e)?e.replace(i,"\\$&"):e}},13311:function(e,t,n){var r=n(67740)(n(30998));e.exports=r},30998:function(e,t,n){var r=n(41848),i=n(67206),o=n(40554),a=Math.max;e.exports=function(e,t,n){var s=null==e?0:e.length;if(!s)return-1;var u=null==n?0:o(n);return u<0&&(u=a(s+u,0)),r(e,i(t,3),u)}},27361:function(e,t,n){var r=n(97786);e.exports=function(e,t,n){var i=null==e?void 0:r(e,t);return void 0===i?n:i}},79095:function(e,t,n){var r=n(13),i=n(222);e.exports=function(e,t){return null!=e&&i(e,t,r)}},6557:function(e){e.exports=function(e){return e}},35694:function(e,t,n){var r=n(9454),i=n(37005),o=Object.prototype,a=o.hasOwnProperty,s=o.propertyIsEnumerable,u=r(function(){return arguments}())?r:function(e){return i(e)&&a.call(e,"callee")&&!s.call(e,"callee")};e.exports=u},1469:function(e){var t=Array.isArray;e.exports=t},98612:function(e,t,n){var r=n(23560),i=n(41780);e.exports=function(e){return null!=e&&i(e.length)&&!r(e)}},44144:function(e,t,n){e=n.nmd(e);var r=n(55639),i=n(95062),o=t&&!t.nodeType&&t,a=o&&e&&!e.nodeType&&e,s=a&&a.exports===o?r.Buffer:void 0,u=(s?s.isBuffer:void 0)||i;e.exports=u},23560:function(e,t,n){var r=n(44239),i=n(13218);e.exports=function(e){if(!i(e))return!1;var t=r(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},41780:function(e){e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},56688:function(e,t,n){var r=n(25588),i=n(7518),o=n(31167),a=o&&o.isMap,s=a?i(a):r;e.exports=s},13218:function(e){e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},37005:function(e){e.exports=function(e){return null!=e&&"object"==typeof e}},96347:function(e,t,n){var r=n(23933),i=n(7518),o=n(31167),a=o&&o.isRegExp,s=a?i(a):r;e.exports=s},72928:function(e,t,n){var r=n(29221),i=n(7518),o=n(31167),a=o&&o.isSet,s=a?i(a):r;e.exports=s},33448:function(e,t,n){var r=n(44239),i=n(37005);e.exports=function(e){return"symbol"==typeof e||i(e)&&"[object Symbol]"==r(e)}},36719:function(e,t,n){var r=n(38749),i=n(7518),o=n(31167),a=o&&o.isTypedArray,s=a?i(a):r;e.exports=s},21804:function(e,t,n){var r=n(35393)((function(e,t,n){return e+(n?"-":"")+t.toLowerCase()}));e.exports=r},3674:function(e,t,n){var r=n(14636),i=n(280),o=n(98612);e.exports=function(e){return o(e)?r(e):i(e)}},81704:function(e,t,n){var r=n(14636),i=n(10313),o=n(98612);e.exports=function(e){return o(e)?r(e,!0):i(e)}},88306:function(e,t,n){var r=n(83369);function i(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError("Expected a function");var n=function(){var r=arguments,i=t?t.apply(this,r):r[0],o=n.cache;if(o.has(i))return o.get(i);var a=e.apply(this,r);return n.cache=o.set(i,a)||o,a};return n.cache=new(i.Cache||r),n}i.Cache=r,e.exports=i},7771:function(e,t,n){var r=n(55639);e.exports=function(){return r.Date.now()}},39601:function(e,t,n){var r=n(40371),i=n(79152),o=n(15403),a=n(40327);e.exports=function(e){return o(e)?r(a(e)):i(e)}},96026:function(e,t,n){var r=n(47445)();e.exports=r},69983:function(e,t,n){var r=n(70151),i=n(25127),o=n(1469);e.exports=function(e){return(o(e)?r:i)(e)}},11865:function(e,t,n){var r=n(35393)((function(e,t,n){return e+(n?"_":"")+t.toLowerCase()}));e.exports=r},70479:function(e){e.exports=function(){return[]}},95062:function(e){e.exports=function(){return!1}},23493:function(e,t,n){var r=n(23279),i=n(13218);e.exports=function(e,t,n){var o=!0,a=!0;if("function"!=typeof e)throw new TypeError("Expected a function");return i(n)&&(o="leading"in n?!!n.leading:o,a="trailing"in n?!!n.trailing:a),r(e,t,{leading:o,maxWait:t,trailing:a})}},18601:function(e,t,n){var r=n(14841),i=1/0;e.exports=function(e){return e?(e=r(e))===i||e===-1/0?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0}},40554:function(e,t,n){var r=n(18601);e.exports=function(e){var t=r(e),n=t%1;return t==t?n?t-n:t:0}},14841:function(e,t,n){var r=n(13218),i=n(33448),o=/^\s+|\s+$/g,a=/^[-+]0x[0-9a-f]+$/i,s=/^0b[01]+$/i,u=/^0o[0-7]+$/i,c=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(i(e))return NaN;if(r(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=r(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(o,"");var n=s.test(e);return n||u.test(e)?c(e.slice(2),n?2:8):a.test(e)?NaN:+e}},79833:function(e,t,n){var r=n(80531);e.exports=function(e){return null==e?"":r(e)}},39138:function(e,t,n){var r=n(80531),i=n(40180),o=n(62689),a=n(13218),s=n(96347),u=n(88016),c=n(52710),l=n(40554),f=n(79833),d=/\w*$/;e.exports=function(e,t){var n=30,p="...";if(a(t)){var h="separator"in t?t.separator:h;n="length"in t?l(t.length):n,p="omission"in t?r(t.omission):p}var g=(e=f(e)).length;if(o(e)){var m=c(e);g=m.length}if(n>=g)return e;var y=n-u(p);if(y<1)return p;var v=m?i(m,0,y).join(""):e.slice(0,y);if(void 0===h)return v+p;if(m&&(y+=v.length-y),s(h)){if(e.slice(y).search(h)){var b,_=v;for(h.global||(h=RegExp(h.source,f(d.exec(h))+"g")),h.lastIndex=0;b=h.exec(_);)var w=b.index;v=v.slice(0,void 0===w?y:w)}}else if(e.indexOf(r(h),y)!=y){var T=v.lastIndexOf(h);T>-1&&(v=v.slice(0,T))}return v+p}},73955:function(e,t,n){var r=n(79833),i=0;e.exports=function(e){var t=++i;return r(e)+t}},11700:function(e,t,n){var r=n(98805)("toUpperCase");e.exports=r},52628:function(e,t,n){var r=n(47415),i=n(3674);e.exports=function(e){return null==e?[]:r(e,i(e))}},58748:function(e,t,n){var r=n(49029),i=n(93157),o=n(79833),a=n(2757);e.exports=function(e,t,n){return e=o(e),void 0===(t=n?void 0:t)?i(e)?a(e):r(e):e.match(t)||[]}},78348:function(e,t,n){!function(e){"use strict";e.defineLocale("en-au",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d 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"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(n(30381))},77925:function(e,t,n){!function(e){"use strict";e.defineLocale("en-ca",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"YYYY-MM-DD",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d 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"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}})}(n(30381))},22243:function(e,t,n){!function(e){"use strict";e.defineLocale("en-gb",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d 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"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(n(30381))},46436:function(e,t,n){!function(e){"use strict";e.defineLocale("en-ie",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d 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"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(n(30381))},76319:function(e,t,n){!function(e){"use strict";e.defineLocale("en-nz",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d 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"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(n(30381))},30381:function(e,t,n){(e=n.nmd(e)).exports=function(){"use strict";var t,r;function i(){return t.apply(null,arguments)}function o(e){t=e}function a(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function s(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function u(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;var t;for(t in e)if(e.hasOwnProperty(t))return!1;return!0}function c(e){return void 0===e}function l(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function f(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function d(e,t){var n,r=[];for(n=0;n<e.length;++n)r.push(t(e[n],n));return r}function p(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function h(e,t){for(var n in t)p(t,n)&&(e[n]=t[n]);return p(t,"toString")&&(e.toString=t.toString),p(t,"valueOf")&&(e.valueOf=t.valueOf),e}function g(e,t,n,r){return Gn(e,t,n,r,!0).utc()}function m(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],meridiem:null,rfc2822:!1,weekdayMismatch:!1}}function y(e){return null==e._pf&&(e._pf=m()),e._pf}function v(e){if(null==e._isValid){var t=y(e),n=r.call(t.parsedDateParts,(function(e){return null!=e})),i=!isNaN(e._d.getTime())&&t.overflow<0&&!t.empty&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&n);if(e._strict&&(i=i&&0===t.charsLeftOver&&0===t.unusedTokens.length&&void 0===t.bigHour),null!=Object.isFrozen&&Object.isFrozen(e))return i;e._isValid=i}return e._isValid}function b(e){var t=g(NaN);return null!=e?h(y(t),e):y(t).userInvalidated=!0,t}r=Array.prototype.some?Array.prototype.some:function(e){for(var t=Object(this),n=t.length>>>0,r=0;r<n;r++)if(r in t&&e.call(this,t[r],r,t))return!0;return!1};var _=i.momentProperties=[];function w(e,t){var n,r,i;if(c(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),c(t._i)||(e._i=t._i),c(t._f)||(e._f=t._f),c(t._l)||(e._l=t._l),c(t._strict)||(e._strict=t._strict),c(t._tzm)||(e._tzm=t._tzm),c(t._isUTC)||(e._isUTC=t._isUTC),c(t._offset)||(e._offset=t._offset),c(t._pf)||(e._pf=y(t)),c(t._locale)||(e._locale=t._locale),_.length>0)for(n=0;n<_.length;n++)c(i=t[r=_[n]])||(e[r]=i);return e}var T=!1;function x(e){w(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===T&&(T=!0,i.updateOffset(this),T=!1)}function S(e){return e instanceof x||null!=e&&null!=e._isAMomentObject}function k(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function E(e){var t=+e,n=0;return 0!==t&&isFinite(t)&&(n=k(t)),n}function O(e,t,n){var r,i=Math.min(e.length,t.length),o=Math.abs(e.length-t.length),a=0;for(r=0;r<i;r++)(n&&e[r]!==t[r]||!n&&E(e[r])!==E(t[r]))&&a++;return a+o}function C(e){!1===i.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function L(e,t){var n=!0;return h((function(){if(null!=i.deprecationHandler&&i.deprecationHandler(null,e),n){for(var r,o=[],a=0;a<arguments.length;a++){if(r="","object"==typeof arguments[a]){for(var s in r+="\n["+a+"] ",arguments[0])r+=s+": "+arguments[0][s]+", ";r=r.slice(0,-2)}else r=arguments[a];o.push(r)}C(e+"\nArguments: "+Array.prototype.slice.call(o).join("")+"\n"+(new Error).stack),n=!1}return t.apply(this,arguments)}),t)}var A,I={};function P(e,t){null!=i.deprecationHandler&&i.deprecationHandler(e,t),I[e]||(C(t),I[e]=!0)}function M(e){return e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function R(e){var t,n;for(n in e)M(t=e[n])?this[n]=t:this["_"+n]=t;this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function j(e,t){var n,r=h({},e);for(n in t)p(t,n)&&(s(e[n])&&s(t[n])?(r[n]={},h(r[n],e[n]),h(r[n],t[n])):null!=t[n]?r[n]=t[n]:delete r[n]);for(n in e)p(e,n)&&!p(t,n)&&s(e[n])&&(r[n]=h({},r[n]));return r}function D(e){null!=e&&this.set(e)}i.suppressDeprecationWarnings=!1,i.deprecationHandler=null,A=Object.keys?Object.keys:function(e){var t,n=[];for(t in e)p(e,t)&&n.push(t);return n};var N={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function B(e,t,n){var r=this._calendar[e]||this._calendar.sameElse;return M(r)?r.call(t,n):r}var U={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};function F(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.replace(/MMMM|MM|DD|dddd/g,(function(e){return e.slice(1)})),this._longDateFormat[e])}var z="Invalid date";function H(){return this._invalidDate}var Z="%d",q=/\d{1,2}/;function V(e){return this._ordinal.replace("%d",e)}var W={future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d 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"};function G(e,t,n,r){var i=this._relativeTime[n];return M(i)?i(e,t,n,r):i.replace(/%d/i,e)}function $(e,t){var n=this._relativeTime[e>0?"future":"past"];return M(n)?n(t):n.replace(/%s/i,t)}var Y={};function K(e,t){var n=e.toLowerCase();Y[n]=Y[n+"s"]=Y[t]=e}function X(e){return"string"==typeof e?Y[e]||Y[e.toLowerCase()]:void 0}function Q(e){var t,n,r={};for(n in e)p(e,n)&&(t=X(n))&&(r[t]=e[n]);return r}var J={};function ee(e,t){J[e]=t}function te(e){var t=[];for(var n in e)t.push({unit:n,priority:J[n]});return t.sort((function(e,t){return e.priority-t.priority})),t}function ne(e,t,n){var r=""+Math.abs(e),i=t-r.length;return(e>=0?n?"+":"":"-")+Math.pow(10,Math.max(0,i)).toString().substr(1)+r}var re=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|YYYYYY|YYYYY|YYYY|YY|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,ie=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,oe={},ae={};function se(e,t,n,r){var i=r;"string"==typeof r&&(i=function(){return this[r]()}),e&&(ae[e]=i),t&&(ae[t[0]]=function(){return ne(i.apply(this,arguments),t[1],t[2])}),n&&(ae[n]=function(){return this.localeData().ordinal(i.apply(this,arguments),e)})}function ue(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function ce(e){var t,n,r=e.match(re);for(t=0,n=r.length;t<n;t++)ae[r[t]]?r[t]=ae[r[t]]:r[t]=ue(r[t]);return function(t){var i,o="";for(i=0;i<n;i++)o+=M(r[i])?r[i].call(t,e):r[i];return o}}function le(e,t){return e.isValid()?(t=fe(t,e.localeData()),oe[t]=oe[t]||ce(t),oe[t](e)):e.localeData().invalidDate()}function fe(e,t){var n=5;function r(e){return t.longDateFormat(e)||e}for(ie.lastIndex=0;n>=0&&ie.test(e);)e=e.replace(ie,r),ie.lastIndex=0,n-=1;return e}var de=/\d/,pe=/\d\d/,he=/\d{3}/,ge=/\d{4}/,me=/[+-]?\d{6}/,ye=/\d\d?/,ve=/\d\d\d\d?/,be=/\d\d\d\d\d\d?/,_e=/\d{1,3}/,we=/\d{1,4}/,Te=/[+-]?\d{1,6}/,xe=/\d+/,Se=/[+-]?\d+/,ke=/Z|[+-]\d\d:?\d\d/gi,Ee=/Z|[+-]\d\d(?::?\d\d)?/gi,Oe=/[+-]?\d+(\.\d{1,3})?/,Ce=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,Le={};function Ae(e,t,n){Le[e]=M(t)?t:function(e,r){return e&&n?n:t}}function Ie(e,t){return p(Le,e)?Le[e](t._strict,t._locale):new RegExp(Pe(e))}function Pe(e){return Me(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,(function(e,t,n,r,i){return t||n||r||i})))}function Me(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var Re={};function je(e,t){var n,r=t;for("string"==typeof e&&(e=[e]),l(t)&&(r=function(e,n){n[t]=E(e)}),n=0;n<e.length;n++)Re[e[n]]=r}function De(e,t){je(e,(function(e,n,r,i){r._w=r._w||{},t(e,r._w,r,i)}))}function Ne(e,t,n){null!=t&&p(Re,e)&&Re[e](t,n._a,n,e)}var Be=0,Ue=1,Fe=2,ze=3,He=4,Ze=5,qe=6,Ve=7,We=8;function Ge(e){return $e(e)?366:365}function $e(e){return e%4==0&&e%100!=0||e%400==0}se("Y",0,0,(function(){var e=this.year();return e<=9999?""+e:"+"+e})),se(0,["YY",2],0,(function(){return this.year()%100})),se(0,["YYYY",4],0,"year"),se(0,["YYYYY",5],0,"year"),se(0,["YYYYYY",6,!0],0,"year"),K("year","y"),ee("year",1),Ae("Y",Se),Ae("YY",ye,pe),Ae("YYYY",we,ge),Ae("YYYYY",Te,me),Ae("YYYYYY",Te,me),je(["YYYYY","YYYYYY"],Be),je("YYYY",(function(e,t){t[Be]=2===e.length?i.parseTwoDigitYear(e):E(e)})),je("YY",(function(e,t){t[Be]=i.parseTwoDigitYear(e)})),je("Y",(function(e,t){t[Be]=parseInt(e,10)})),i.parseTwoDigitYear=function(e){return E(e)+(E(e)>68?1900:2e3)};var Ye,Ke=Qe("FullYear",!0);function Xe(){return $e(this.year())}function Qe(e,t){return function(n){return null!=n?(et(this,e,n),i.updateOffset(this,t),this):Je(this,e)}}function Je(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function et(e,t,n){e.isValid()&&!isNaN(n)&&("FullYear"===t&&$e(e.year())&&1===e.month()&&29===e.date()?e._d["set"+(e._isUTC?"UTC":"")+t](n,e.month(),it(n,e.month())):e._d["set"+(e._isUTC?"UTC":"")+t](n))}function tt(e){return M(this[e=X(e)])?this[e]():this}function nt(e,t){if("object"==typeof e)for(var n=te(e=Q(e)),r=0;r<n.length;r++)this[n[r].unit](e[n[r].unit]);else if(M(this[e=X(e)]))return this[e](t);return this}function rt(e,t){return(e%t+t)%t}function it(e,t){if(isNaN(e)||isNaN(t))return NaN;var n=rt(t,12);return e+=(t-n)/12,1===n?$e(e)?29:28:31-n%7%2}Ye=Array.prototype.indexOf?Array.prototype.indexOf:function(e){var t;for(t=0;t<this.length;++t)if(this[t]===e)return t;return-1},se("M",["MM",2],"Mo",(function(){return this.month()+1})),se("MMM",0,0,(function(e){return this.localeData().monthsShort(this,e)})),se("MMMM",0,0,(function(e){return this.localeData().months(this,e)})),K("month","M"),ee("month",8),Ae("M",ye),Ae("MM",ye,pe),Ae("MMM",(function(e,t){return t.monthsShortRegex(e)})),Ae("MMMM",(function(e,t){return t.monthsRegex(e)})),je(["M","MM"],(function(e,t){t[Ue]=E(e)-1})),je(["MMM","MMMM"],(function(e,t,n,r){var i=n._locale.monthsParse(e,r,n._strict);null!=i?t[Ue]=i:y(n).invalidMonth=e}));var ot=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,at="January_February_March_April_May_June_July_August_September_October_November_December".split("_");function st(e,t){return e?a(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||ot).test(t)?"format":"standalone"][e.month()]:a(this._months)?this._months:this._months.standalone}var ut="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_");function ct(e,t){return e?a(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[ot.test(t)?"format":"standalone"][e.month()]:a(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function lt(e,t,n){var r,i,o,a=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],r=0;r<12;++r)o=g([2e3,r]),this._shortMonthsParse[r]=this.monthsShort(o,"").toLocaleLowerCase(),this._longMonthsParse[r]=this.months(o,"").toLocaleLowerCase();return n?"MMM"===t?-1!==(i=Ye.call(this._shortMonthsParse,a))?i:null:-1!==(i=Ye.call(this._longMonthsParse,a))?i:null:"MMM"===t?-1!==(i=Ye.call(this._shortMonthsParse,a))||-1!==(i=Ye.call(this._longMonthsParse,a))?i:null:-1!==(i=Ye.call(this._longMonthsParse,a))||-1!==(i=Ye.call(this._shortMonthsParse,a))?i:null}function ft(e,t,n){var r,i,o;if(this._monthsParseExact)return lt.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),r=0;r<12;r++){if(i=g([2e3,r]),n&&!this._longMonthsParse[r]&&(this._longMonthsParse[r]=new RegExp("^"+this.months(i,"").replace(".","")+"$","i"),this._shortMonthsParse[r]=new RegExp("^"+this.monthsShort(i,"").replace(".","")+"$","i")),n||this._monthsParse[r]||(o="^"+this.months(i,"")+"|^"+this.monthsShort(i,""),this._monthsParse[r]=new RegExp(o.replace(".",""),"i")),n&&"MMMM"===t&&this._longMonthsParse[r].test(e))return r;if(n&&"MMM"===t&&this._shortMonthsParse[r].test(e))return r;if(!n&&this._monthsParse[r].test(e))return r}}function dt(e,t){var n;if(!e.isValid())return e;if("string"==typeof t)if(/^\d+$/.test(t))t=E(t);else if(!l(t=e.localeData().monthsParse(t)))return e;return n=Math.min(e.date(),it(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,n),e}function pt(e){return null!=e?(dt(this,e),i.updateOffset(this,!0),this):Je(this,"Month")}function ht(){return it(this.year(),this.month())}var gt=Ce;function mt(e){return this._monthsParseExact?(p(this,"_monthsRegex")||bt.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(p(this,"_monthsShortRegex")||(this._monthsShortRegex=gt),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)}var yt=Ce;function vt(e){return this._monthsParseExact?(p(this,"_monthsRegex")||bt.call(this),e?this._monthsStrictRegex:this._monthsRegex):(p(this,"_monthsRegex")||(this._monthsRegex=yt),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)}function bt(){function e(e,t){return t.length-e.length}var t,n,r=[],i=[],o=[];for(t=0;t<12;t++)n=g([2e3,t]),r.push(this.monthsShort(n,"")),i.push(this.months(n,"")),o.push(this.months(n,"")),o.push(this.monthsShort(n,""));for(r.sort(e),i.sort(e),o.sort(e),t=0;t<12;t++)r[t]=Me(r[t]),i[t]=Me(i[t]);for(t=0;t<24;t++)o[t]=Me(o[t]);this._monthsRegex=new RegExp("^("+o.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+i.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+r.join("|")+")","i")}function _t(e,t,n,r,i,o,a){var s=new Date(e,t,n,r,i,o,a);return e<100&&e>=0&&isFinite(s.getFullYear())&&s.setFullYear(e),s}function wt(e){var t=new Date(Date.UTC.apply(null,arguments));return e<100&&e>=0&&isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e),t}function Tt(e,t,n){var r=7+t-n;return-(7+wt(e,0,r).getUTCDay()-t)%7+r-1}function xt(e,t,n,r,i){var o,a,s=1+7*(t-1)+(7+n-r)%7+Tt(e,r,i);return s<=0?a=Ge(o=e-1)+s:s>Ge(e)?(o=e+1,a=s-Ge(e)):(o=e,a=s),{year:o,dayOfYear:a}}function St(e,t,n){var r,i,o=Tt(e.year(),t,n),a=Math.floor((e.dayOfYear()-o-1)/7)+1;return a<1?r=a+kt(i=e.year()-1,t,n):a>kt(e.year(),t,n)?(r=a-kt(e.year(),t,n),i=e.year()+1):(i=e.year(),r=a),{week:r,year:i}}function kt(e,t,n){var r=Tt(e,t,n),i=Tt(e+1,t,n);return(Ge(e)-r+i)/7}function Et(e){return St(e,this._week.dow,this._week.doy).week}se("w",["ww",2],"wo","week"),se("W",["WW",2],"Wo","isoWeek"),K("week","w"),K("isoWeek","W"),ee("week",5),ee("isoWeek",5),Ae("w",ye),Ae("ww",ye,pe),Ae("W",ye),Ae("WW",ye,pe),De(["w","ww","W","WW"],(function(e,t,n,r){t[r.substr(0,1)]=E(e)}));var Ot={dow:0,doy:6};function Ct(){return this._week.dow}function Lt(){return this._week.doy}function At(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")}function It(e){var t=St(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")}function Pt(e,t){return"string"!=typeof e?e:isNaN(e)?"number"==typeof(e=t.weekdaysParse(e))?e:null:parseInt(e,10)}function Mt(e,t){return"string"==typeof e?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}se("d",0,"do","day"),se("dd",0,0,(function(e){return this.localeData().weekdaysMin(this,e)})),se("ddd",0,0,(function(e){return this.localeData().weekdaysShort(this,e)})),se("dddd",0,0,(function(e){return this.localeData().weekdays(this,e)})),se("e",0,0,"weekday"),se("E",0,0,"isoWeekday"),K("day","d"),K("weekday","e"),K("isoWeekday","E"),ee("day",11),ee("weekday",11),ee("isoWeekday",11),Ae("d",ye),Ae("e",ye),Ae("E",ye),Ae("dd",(function(e,t){return t.weekdaysMinRegex(e)})),Ae("ddd",(function(e,t){return t.weekdaysShortRegex(e)})),Ae("dddd",(function(e,t){return t.weekdaysRegex(e)})),De(["dd","ddd","dddd"],(function(e,t,n,r){var i=n._locale.weekdaysParse(e,r,n._strict);null!=i?t.d=i:y(n).invalidWeekday=e})),De(["d","e","E"],(function(e,t,n,r){t[r]=E(e)}));var Rt="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_");function jt(e,t){return e?a(this._weekdays)?this._weekdays[e.day()]:this._weekdays[this._weekdays.isFormat.test(t)?"format":"standalone"][e.day()]:a(this._weekdays)?this._weekdays:this._weekdays.standalone}var Dt="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_");function Nt(e){return e?this._weekdaysShort[e.day()]:this._weekdaysShort}var Bt="Su_Mo_Tu_We_Th_Fr_Sa".split("_");function Ut(e){return e?this._weekdaysMin[e.day()]:this._weekdaysMin}function Ft(e,t,n){var r,i,o,a=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)o=g([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(o,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(o,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(o,"").toLocaleLowerCase();return n?"dddd"===t?-1!==(i=Ye.call(this._weekdaysParse,a))?i:null:"ddd"===t?-1!==(i=Ye.call(this._shortWeekdaysParse,a))?i:null:-1!==(i=Ye.call(this._minWeekdaysParse,a))?i:null:"dddd"===t?-1!==(i=Ye.call(this._weekdaysParse,a))||-1!==(i=Ye.call(this._shortWeekdaysParse,a))||-1!==(i=Ye.call(this._minWeekdaysParse,a))?i:null:"ddd"===t?-1!==(i=Ye.call(this._shortWeekdaysParse,a))||-1!==(i=Ye.call(this._weekdaysParse,a))||-1!==(i=Ye.call(this._minWeekdaysParse,a))?i:null:-1!==(i=Ye.call(this._minWeekdaysParse,a))||-1!==(i=Ye.call(this._weekdaysParse,a))||-1!==(i=Ye.call(this._shortWeekdaysParse,a))?i:null}function zt(e,t,n){var r,i,o;if(this._weekdaysParseExact)return Ft.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(i=g([2e3,1]).day(r),n&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp("^"+this.weekdays(i,"").replace(".",".?")+"$","i"),this._shortWeekdaysParse[r]=new RegExp("^"+this.weekdaysShort(i,"").replace(".",".?")+"$","i"),this._minWeekdaysParse[r]=new RegExp("^"+this.weekdaysMin(i,"").replace(".",".?")+"$","i")),this._weekdaysParse[r]||(o="^"+this.weekdays(i,"")+"|^"+this.weekdaysShort(i,"")+"|^"+this.weekdaysMin(i,""),this._weekdaysParse[r]=new RegExp(o.replace(".",""),"i")),n&&"dddd"===t&&this._fullWeekdaysParse[r].test(e))return r;if(n&&"ddd"===t&&this._shortWeekdaysParse[r].test(e))return r;if(n&&"dd"===t&&this._minWeekdaysParse[r].test(e))return r;if(!n&&this._weekdaysParse[r].test(e))return r}}function Ht(e){if(!this.isValid())return null!=e?this:NaN;var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(e=Pt(e,this.localeData()),this.add(e-t,"d")):t}function Zt(e){if(!this.isValid())return null!=e?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return null==e?t:this.add(e-t,"d")}function qt(e){if(!this.isValid())return null!=e?this:NaN;if(null!=e){var t=Mt(e,this.localeData());return this.day(this.day()%7?t:t-7)}return this.day()||7}var Vt=Ce;function Wt(e){return this._weekdaysParseExact?(p(this,"_weekdaysRegex")||Xt.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(p(this,"_weekdaysRegex")||(this._weekdaysRegex=Vt),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}var Gt=Ce;function $t(e){return this._weekdaysParseExact?(p(this,"_weekdaysRegex")||Xt.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(p(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Gt),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}var Yt=Ce;function Kt(e){return this._weekdaysParseExact?(p(this,"_weekdaysRegex")||Xt.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(p(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Yt),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function Xt(){function e(e,t){return t.length-e.length}var t,n,r,i,o,a=[],s=[],u=[],c=[];for(t=0;t<7;t++)n=g([2e3,1]).day(t),r=this.weekdaysMin(n,""),i=this.weekdaysShort(n,""),o=this.weekdays(n,""),a.push(r),s.push(i),u.push(o),c.push(r),c.push(i),c.push(o);for(a.sort(e),s.sort(e),u.sort(e),c.sort(e),t=0;t<7;t++)s[t]=Me(s[t]),u[t]=Me(u[t]),c[t]=Me(c[t]);this._weekdaysRegex=new RegExp("^("+c.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+u.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+a.join("|")+")","i")}function Qt(){return this.hours()%12||12}function Jt(){return this.hours()||24}function en(e,t){se(e,0,0,(function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)}))}function tn(e,t){return t._meridiemParse}function nn(e){return"p"===(e+"").toLowerCase().charAt(0)}se("H",["HH",2],0,"hour"),se("h",["hh",2],0,Qt),se("k",["kk",2],0,Jt),se("hmm",0,0,(function(){return""+Qt.apply(this)+ne(this.minutes(),2)})),se("hmmss",0,0,(function(){return""+Qt.apply(this)+ne(this.minutes(),2)+ne(this.seconds(),2)})),se("Hmm",0,0,(function(){return""+this.hours()+ne(this.minutes(),2)})),se("Hmmss",0,0,(function(){return""+this.hours()+ne(this.minutes(),2)+ne(this.seconds(),2)})),en("a",!0),en("A",!1),K("hour","h"),ee("hour",13),Ae("a",tn),Ae("A",tn),Ae("H",ye),Ae("h",ye),Ae("k",ye),Ae("HH",ye,pe),Ae("hh",ye,pe),Ae("kk",ye,pe),Ae("hmm",ve),Ae("hmmss",be),Ae("Hmm",ve),Ae("Hmmss",be),je(["H","HH"],ze),je(["k","kk"],(function(e,t,n){var r=E(e);t[ze]=24===r?0:r})),je(["a","A"],(function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e})),je(["h","hh"],(function(e,t,n){t[ze]=E(e),y(n).bigHour=!0})),je("hmm",(function(e,t,n){var r=e.length-2;t[ze]=E(e.substr(0,r)),t[He]=E(e.substr(r)),y(n).bigHour=!0})),je("hmmss",(function(e,t,n){var r=e.length-4,i=e.length-2;t[ze]=E(e.substr(0,r)),t[He]=E(e.substr(r,2)),t[Ze]=E(e.substr(i)),y(n).bigHour=!0})),je("Hmm",(function(e,t,n){var r=e.length-2;t[ze]=E(e.substr(0,r)),t[He]=E(e.substr(r))})),je("Hmmss",(function(e,t,n){var r=e.length-4,i=e.length-2;t[ze]=E(e.substr(0,r)),t[He]=E(e.substr(r,2)),t[Ze]=E(e.substr(i))}));var rn=/[ap]\.?m?\.?/i;function on(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"}var an,sn=Qe("Hours",!0),un={calendar:N,longDateFormat:U,invalidDate:z,ordinal:Z,dayOfMonthOrdinalParse:q,relativeTime:W,months:at,monthsShort:ut,week:Ot,weekdays:Rt,weekdaysMin:Bt,weekdaysShort:Dt,meridiemParse:rn},cn={},ln={};function fn(e){return e?e.toLowerCase().replace("_","-"):e}function dn(e){for(var t,n,r,i,o=0;o<e.length;){for(t=(i=fn(e[o]).split("-")).length,n=(n=fn(e[o+1]))?n.split("-"):null;t>0;){if(r=pn(i.slice(0,t).join("-")))return r;if(n&&n.length>=t&&O(i,n,!0)>=t-1)break;t--}o++}return null}function pn(t){var r=null;if(!cn[t]&&e&&e.exports)try{r=an._abbr,n(44009)("./"+t),hn(r)}catch(e){}return cn[t]}function hn(e,t){var n;return e&&(n=c(t)?yn(e):gn(e,t))&&(an=n),an._abbr}function gn(e,t){if(null!==t){var n=un;if(t.abbr=e,null!=cn[e])P("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),n=cn[e]._config;else if(null!=t.parentLocale){if(null==cn[t.parentLocale])return ln[t.parentLocale]||(ln[t.parentLocale]=[]),ln[t.parentLocale].push({name:e,config:t}),null;n=cn[t.parentLocale]._config}return cn[e]=new D(j(n,t)),ln[e]&&ln[e].forEach((function(e){gn(e.name,e.config)})),hn(e),cn[e]}return delete cn[e],null}function mn(e,t){if(null!=t){var n,r,i=un;null!=(r=pn(e))&&(i=r._config),(n=new D(t=j(i,t))).parentLocale=cn[e],cn[e]=n,hn(e)}else null!=cn[e]&&(null!=cn[e].parentLocale?cn[e]=cn[e].parentLocale:null!=cn[e]&&delete cn[e]);return cn[e]}function yn(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return an;if(!a(e)){if(t=pn(e))return t;e=[e]}return dn(e)}function vn(){return A(cn)}function bn(e){var t,n=e._a;return n&&-2===y(e).overflow&&(t=n[Ue]<0||n[Ue]>11?Ue:n[Fe]<1||n[Fe]>it(n[Be],n[Ue])?Fe:n[ze]<0||n[ze]>24||24===n[ze]&&(0!==n[He]||0!==n[Ze]||0!==n[qe])?ze:n[He]<0||n[He]>59?He:n[Ze]<0||n[Ze]>59?Ze:n[qe]<0||n[qe]>999?qe:-1,y(e)._overflowDayOfYear&&(t<Be||t>Fe)&&(t=Fe),y(e)._overflowWeeks&&-1===t&&(t=Ve),y(e)._overflowWeekday&&-1===t&&(t=We),y(e).overflow=t),e}function _n(e,t,n){return null!=e?e:null!=t?t:n}function wn(e){var t=new Date(i.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}function Tn(e){var t,n,r,i,o,a=[];if(!e._d){for(r=wn(e),e._w&&null==e._a[Fe]&&null==e._a[Ue]&&xn(e),null!=e._dayOfYear&&(o=_n(e._a[Be],r[Be]),(e._dayOfYear>Ge(o)||0===e._dayOfYear)&&(y(e)._overflowDayOfYear=!0),n=wt(o,0,e._dayOfYear),e._a[Ue]=n.getUTCMonth(),e._a[Fe]=n.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=a[t]=r[t];for(;t<7;t++)e._a[t]=a[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[ze]&&0===e._a[He]&&0===e._a[Ze]&&0===e._a[qe]&&(e._nextDay=!0,e._a[ze]=0),e._d=(e._useUTC?wt:_t).apply(null,a),i=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[ze]=24),e._w&&void 0!==e._w.d&&e._w.d!==i&&(y(e).weekdayMismatch=!0)}}function xn(e){var t,n,r,i,o,a,s,u;if(null!=(t=e._w).GG||null!=t.W||null!=t.E)o=1,a=4,n=_n(t.GG,e._a[Be],St($n(),1,4).year),r=_n(t.W,1),((i=_n(t.E,1))<1||i>7)&&(u=!0);else{o=e._locale._week.dow,a=e._locale._week.doy;var c=St($n(),o,a);n=_n(t.gg,e._a[Be],c.year),r=_n(t.w,c.week),null!=t.d?((i=t.d)<0||i>6)&&(u=!0):null!=t.e?(i=t.e+o,(t.e<0||t.e>6)&&(u=!0)):i=o}r<1||r>kt(n,o,a)?y(e)._overflowWeeks=!0:null!=u?y(e)._overflowWeekday=!0:(s=xt(n,r,i,o,a),e._a[Be]=s.year,e._dayOfYear=s.dayOfYear)}var Sn=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,kn=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,En=/Z|[+-]\d\d(?::?\d\d)?/,On=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/]],Cn=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],Ln=/^\/?Date\((\-?\d+)/i;function An(e){var t,n,r,i,o,a,s=e._i,u=Sn.exec(s)||kn.exec(s);if(u){for(y(e).iso=!0,t=0,n=On.length;t<n;t++)if(On[t][1].exec(u[1])){i=On[t][0],r=!1!==On[t][2];break}if(null==i)return void(e._isValid=!1);if(u[3]){for(t=0,n=Cn.length;t<n;t++)if(Cn[t][1].exec(u[3])){o=(u[2]||" ")+Cn[t][0];break}if(null==o)return void(e._isValid=!1)}if(!r&&null!=o)return void(e._isValid=!1);if(u[4]){if(!En.exec(u[4]))return void(e._isValid=!1);a="Z"}e._f=i+(o||"")+(a||""),Fn(e)}else e._isValid=!1}var In=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/;function Pn(e,t,n,r,i,o){var a=[Mn(e),ut.indexOf(t),parseInt(n,10),parseInt(r,10),parseInt(i,10)];return o&&a.push(parseInt(o,10)),a}function Mn(e){var t=parseInt(e,10);return t<=49?2e3+t:t<=999?1900+t:t}function Rn(e){return e.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}function jn(e,t,n){return!e||Dt.indexOf(e)===new Date(t[0],t[1],t[2]).getDay()||(y(n).weekdayMismatch=!0,n._isValid=!1,!1)}var Dn={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Nn(e,t,n){if(e)return Dn[e];if(t)return 0;var r=parseInt(n,10),i=r%100;return(r-i)/100*60+i}function Bn(e){var t=In.exec(Rn(e._i));if(t){var n=Pn(t[4],t[3],t[2],t[5],t[6],t[7]);if(!jn(t[1],n,e))return;e._a=n,e._tzm=Nn(t[8],t[9],t[10]),e._d=wt.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),y(e).rfc2822=!0}else e._isValid=!1}function Un(e){var t=Ln.exec(e._i);null===t?(An(e),!1===e._isValid&&(delete e._isValid,Bn(e),!1===e._isValid&&(delete e._isValid,i.createFromInputFallback(e)))):e._d=new Date(+t[1])}function Fn(e){if(e._f!==i.ISO_8601)if(e._f!==i.RFC_2822){e._a=[],y(e).empty=!0;var t,n,r,o,a,s=""+e._i,u=s.length,c=0;for(r=fe(e._f,e._locale).match(re)||[],t=0;t<r.length;t++)o=r[t],(n=(s.match(Ie(o,e))||[])[0])&&((a=s.substr(0,s.indexOf(n))).length>0&&y(e).unusedInput.push(a),s=s.slice(s.indexOf(n)+n.length),c+=n.length),ae[o]?(n?y(e).empty=!1:y(e).unusedTokens.push(o),Ne(o,n,e)):e._strict&&!n&&y(e).unusedTokens.push(o);y(e).charsLeftOver=u-c,s.length>0&&y(e).unusedInput.push(s),e._a[ze]<=12&&!0===y(e).bigHour&&e._a[ze]>0&&(y(e).bigHour=void 0),y(e).parsedDateParts=e._a.slice(0),y(e).meridiem=e._meridiem,e._a[ze]=zn(e._locale,e._a[ze],e._meridiem),Tn(e),bn(e)}else Bn(e);else An(e)}function zn(e,t,n){var r;return null==n?t:null!=e.meridiemHour?e.meridiemHour(t,n):null!=e.isPM?((r=e.isPM(n))&&t<12&&(t+=12),r||12!==t||(t=0),t):t}function Hn(e){var t,n,r,i,o;if(0===e._f.length)return y(e).invalidFormat=!0,void(e._d=new Date(NaN));for(i=0;i<e._f.length;i++)o=0,t=w({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[i],Fn(t),v(t)&&(o+=y(t).charsLeftOver,o+=10*y(t).unusedTokens.length,y(t).score=o,(null==r||o<r)&&(r=o,n=t));h(e,n||t)}function Zn(e){if(!e._d){var t=Q(e._i);e._a=d([t.year,t.month,t.day||t.date,t.hour,t.minute,t.second,t.millisecond],(function(e){return e&&parseInt(e,10)})),Tn(e)}}function qn(e){var t=new x(bn(Vn(e)));return t._nextDay&&(t.add(1,"d"),t._nextDay=void 0),t}function Vn(e){var t=e._i,n=e._f;return e._locale=e._locale||yn(e._l),null===t||void 0===n&&""===t?b({nullInput:!0}):("string"==typeof t&&(e._i=t=e._locale.preparse(t)),S(t)?new x(bn(t)):(f(t)?e._d=t:a(n)?Hn(e):n?Fn(e):Wn(e),v(e)||(e._d=null),e))}function Wn(e){var t=e._i;c(t)?e._d=new Date(i.now()):f(t)?e._d=new Date(t.valueOf()):"string"==typeof t?Un(e):a(t)?(e._a=d(t.slice(0),(function(e){return parseInt(e,10)})),Tn(e)):s(t)?Zn(e):l(t)?e._d=new Date(t):i.createFromInputFallback(e)}function Gn(e,t,n,r,i){var o={};return!0!==n&&!1!==n||(r=n,n=void 0),(s(e)&&u(e)||a(e)&&0===e.length)&&(e=void 0),o._isAMomentObject=!0,o._useUTC=o._isUTC=i,o._l=n,o._i=e,o._f=t,o._strict=r,qn(o)}function $n(e,t,n,r){return Gn(e,t,n,r,!1)}i.createFromInputFallback=L("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged and will be removed in an upcoming major release. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",(function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))})),i.ISO_8601=function(){},i.RFC_2822=function(){};var Yn=L("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var e=$n.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:b()})),Kn=L("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var e=$n.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:b()}));function Xn(e,t){var n,r;if(1===t.length&&a(t[0])&&(t=t[0]),!t.length)return $n();for(n=t[0],r=1;r<t.length;++r)t[r].isValid()&&!t[r][e](n)||(n=t[r]);return n}function Qn(){return Xn("isBefore",[].slice.call(arguments,0))}function Jn(){return Xn("isAfter",[].slice.call(arguments,0))}var er=function(){return Date.now?Date.now():+new Date},tr=["year","quarter","month","week","day","hour","minute","second","millisecond"];function nr(e){for(var t in e)if(-1===Ye.call(tr,t)||null!=e[t]&&isNaN(e[t]))return!1;for(var n=!1,r=0;r<tr.length;++r)if(e[tr[r]]){if(n)return!1;parseFloat(e[tr[r]])!==E(e[tr[r]])&&(n=!0)}return!0}function rr(){return this._isValid}function ir(){return Er(NaN)}function or(e){var t=Q(e),n=t.year||0,r=t.quarter||0,i=t.month||0,o=t.week||0,a=t.day||0,s=t.hour||0,u=t.minute||0,c=t.second||0,l=t.millisecond||0;this._isValid=nr(t),this._milliseconds=+l+1e3*c+6e4*u+1e3*s*60*60,this._days=+a+7*o,this._months=+i+3*r+12*n,this._data={},this._locale=yn(),this._bubble()}function ar(e){return e instanceof or}function sr(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function ur(e,t){se(e,0,0,(function(){var e=this.utcOffset(),n="+";return e<0&&(e=-e,n="-"),n+ne(~~(e/60),2)+t+ne(~~e%60,2)}))}ur("Z",":"),ur("ZZ",""),Ae("Z",Ee),Ae("ZZ",Ee),je(["Z","ZZ"],(function(e,t,n){n._useUTC=!0,n._tzm=lr(Ee,e)}));var cr=/([\+\-]|\d\d)/gi;function lr(e,t){var n=(t||"").match(e);if(null===n)return null;var r=((n[n.length-1]||[])+"").match(cr)||["-",0,0],i=60*r[1]+E(r[2]);return 0===i?0:"+"===r[0]?i:-i}function fr(e,t){var n,r;return t._isUTC?(n=t.clone(),r=(S(e)||f(e)?e.valueOf():$n(e).valueOf())-n.valueOf(),n._d.setTime(n._d.valueOf()+r),i.updateOffset(n,!1),n):$n(e).local()}function dr(e){return 15*-Math.round(e._d.getTimezoneOffset()/15)}function pr(e,t,n){var r,o=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null!=e){if("string"==typeof e){if(null===(e=lr(Ee,e)))return this}else Math.abs(e)<16&&!n&&(e*=60);return!this._isUTC&&t&&(r=dr(this)),this._offset=e,this._isUTC=!0,null!=r&&this.add(r,"m"),o!==e&&(!t||this._changeInProgress?Ir(this,Er(e-o,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,i.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?o:dr(this)}function hr(e,t){return null!=e?("string"!=typeof e&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}function gr(e){return this.utcOffset(0,e)}function mr(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(dr(this),"m")),this}function yr(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var e=lr(ke,this._i);null!=e?this.utcOffset(e):this.utcOffset(0,!0)}return this}function vr(e){return!!this.isValid()&&(e=e?$n(e).utcOffset():0,(this.utcOffset()-e)%60==0)}function br(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function _r(){if(!c(this._isDSTShifted))return this._isDSTShifted;var e={};if(w(e,this),(e=Vn(e))._a){var t=e._isUTC?g(e._a):$n(e._a);this._isDSTShifted=this.isValid()&&O(e._a,t.toArray())>0}else this._isDSTShifted=!1;return this._isDSTShifted}function wr(){return!!this.isValid()&&!this._isUTC}function Tr(){return!!this.isValid()&&this._isUTC}function xr(){return!!this.isValid()&&this._isUTC&&0===this._offset}i.updateOffset=function(){};var Sr=/^(\-|\+)?(?:(\d*)[. ])?(\d+)\:(\d+)(?:\:(\d+)(\.\d*)?)?$/,kr=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Er(e,t){var n,r,i,o=e,a=null;return ar(e)?o={ms:e._milliseconds,d:e._days,M:e._months}:l(e)?(o={},t?o[t]=e:o.milliseconds=e):(a=Sr.exec(e))?(n="-"===a[1]?-1:1,o={y:0,d:E(a[Fe])*n,h:E(a[ze])*n,m:E(a[He])*n,s:E(a[Ze])*n,ms:E(sr(1e3*a[qe]))*n}):(a=kr.exec(e))?(n="-"===a[1]?-1:(a[1],1),o={y:Or(a[2],n),M:Or(a[3],n),w:Or(a[4],n),d:Or(a[5],n),h:Or(a[6],n),m:Or(a[7],n),s:Or(a[8],n)}):null==o?o={}:"object"==typeof o&&("from"in o||"to"in o)&&(i=Lr($n(o.from),$n(o.to)),(o={}).ms=i.milliseconds,o.M=i.months),r=new or(o),ar(e)&&p(e,"_locale")&&(r._locale=e._locale),r}function Or(e,t){var n=e&&parseFloat(e.replace(",","."));return(isNaN(n)?0:n)*t}function Cr(e,t){var n={milliseconds:0,months:0};return n.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(n.months,"M").isAfter(t)&&--n.months,n.milliseconds=+t-+e.clone().add(n.months,"M"),n}function Lr(e,t){var n;return e.isValid()&&t.isValid()?(t=fr(t,e),e.isBefore(t)?n=Cr(e,t):((n=Cr(t,e)).milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0}}function Ar(e,t){return function(n,r){var i;return null===r||isNaN(+r)||(P(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),i=n,n=r,r=i),Ir(this,Er(n="string"==typeof n?+n:n,r),e),this}}function Ir(e,t,n,r){var o=t._milliseconds,a=sr(t._days),s=sr(t._months);e.isValid()&&(r=null==r||r,s&&dt(e,Je(e,"Month")+s*n),a&&et(e,"Date",Je(e,"Date")+a*n),o&&e._d.setTime(e._d.valueOf()+o*n),r&&i.updateOffset(e,a||s))}Er.fn=or.prototype,Er.invalid=ir;var Pr=Ar(1,"add"),Mr=Ar(-1,"subtract");function Rr(e,t){var n=e.diff(t,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"}function jr(e,t){var n=e||$n(),r=fr(n,this).startOf("day"),o=i.calendarFormat(this,r)||"sameElse",a=t&&(M(t[o])?t[o].call(this,n):t[o]);return this.format(a||this.localeData().calendar(o,this,$n(n)))}function Dr(){return new x(this)}function Nr(e,t){var n=S(e)?e:$n(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=X(c(t)?"millisecond":t))?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(t).valueOf())}function Br(e,t){var n=S(e)?e:$n(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=X(c(t)?"millisecond":t))?this.valueOf()<n.valueOf():this.clone().endOf(t).valueOf()<n.valueOf())}function Ur(e,t,n,r){return("("===(r=r||"()")[0]?this.isAfter(e,n):!this.isBefore(e,n))&&(")"===r[1]?this.isBefore(t,n):!this.isAfter(t,n))}function Fr(e,t){var n,r=S(e)?e:$n(e);return!(!this.isValid()||!r.isValid())&&("millisecond"===(t=X(t||"millisecond"))?this.valueOf()===r.valueOf():(n=r.valueOf(),this.clone().startOf(t).valueOf()<=n&&n<=this.clone().endOf(t).valueOf()))}function zr(e,t){return this.isSame(e,t)||this.isAfter(e,t)}function Hr(e,t){return this.isSame(e,t)||this.isBefore(e,t)}function Zr(e,t,n){var r,i,o;if(!this.isValid())return NaN;if(!(r=fr(e,this)).isValid())return NaN;switch(i=6e4*(r.utcOffset()-this.utcOffset()),t=X(t)){case"year":o=qr(this,r)/12;break;case"month":o=qr(this,r);break;case"quarter":o=qr(this,r)/3;break;case"second":o=(this-r)/1e3;break;case"minute":o=(this-r)/6e4;break;case"hour":o=(this-r)/36e5;break;case"day":o=(this-r-i)/864e5;break;case"week":o=(this-r-i)/6048e5;break;default:o=this-r}return n?o:k(o)}function qr(e,t){var n=12*(t.year()-e.year())+(t.month()-e.month()),r=e.clone().add(n,"months");return-(n+(t-r<0?(t-r)/(r-e.clone().add(n-1,"months")):(t-r)/(e.clone().add(n+1,"months")-r)))||0}function Vr(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function Wr(e){if(!this.isValid())return null;var t=!0!==e,n=t?this.clone().utc():this;return n.year()<0||n.year()>9999?le(n,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):M(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this._d.valueOf()).toISOString().replace("Z",le(n,"Z")):le(n,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function Gr(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e="moment",t="";this.isLocal()||(e=0===this.utcOffset()?"moment.utc":"moment.parseZone",t="Z");var n="["+e+'("]',r=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",i="-MM-DD[T]HH:mm:ss.SSS",o=t+'[")]';return this.format(n+r+i+o)}function $r(e){e||(e=this.isUtc()?i.defaultFormatUtc:i.defaultFormat);var t=le(this,e);return this.localeData().postformat(t)}function Yr(e,t){return this.isValid()&&(S(e)&&e.isValid()||$n(e).isValid())?Er({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function Kr(e){return this.from($n(),e)}function Xr(e,t){return this.isValid()&&(S(e)&&e.isValid()||$n(e).isValid())?Er({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function Qr(e){return this.to($n(),e)}function Jr(e){var t;return void 0===e?this._locale._abbr:(null!=(t=yn(e))&&(this._locale=t),this)}i.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",i.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var ei=L("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",(function(e){return void 0===e?this.localeData():this.locale(e)}));function ti(){return this._locale}function ni(e){switch(e=X(e)){case"year":this.month(0);case"quarter":case"month":this.date(1);case"week":case"isoWeek":case"day":case"date":this.hours(0);case"hour":this.minutes(0);case"minute":this.seconds(0);case"second":this.milliseconds(0)}return"week"===e&&this.weekday(0),"isoWeek"===e&&this.isoWeekday(1),"quarter"===e&&this.month(3*Math.floor(this.month()/3)),this}function ri(e){return void 0===(e=X(e))||"millisecond"===e?this:("date"===e&&(e="day"),this.startOf(e).add(1,"isoWeek"===e?"week":e).subtract(1,"ms"))}function ii(){return this._d.valueOf()-6e4*(this._offset||0)}function oi(){return Math.floor(this.valueOf()/1e3)}function ai(){return new Date(this.valueOf())}function si(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function ui(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}}function ci(){return this.isValid()?this.toISOString():null}function li(){return v(this)}function fi(){return h({},y(this))}function di(){return y(this).overflow}function pi(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}function hi(e,t){se(0,[e,e.length],0,t)}function gi(e){return bi.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)}function mi(e){return bi.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)}function yi(){return kt(this.year(),1,4)}function vi(){var e=this.localeData()._week;return kt(this.year(),e.dow,e.doy)}function bi(e,t,n,r,i){var o;return null==e?St(this,r,i).year:(t>(o=kt(e,r,i))&&(t=o),_i.call(this,e,t,n,r,i))}function _i(e,t,n,r,i){var o=xt(e,t,n,r,i),a=wt(o.year,0,o.dayOfYear);return this.year(a.getUTCFullYear()),this.month(a.getUTCMonth()),this.date(a.getUTCDate()),this}function wi(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)}se(0,["gg",2],0,(function(){return this.weekYear()%100})),se(0,["GG",2],0,(function(){return this.isoWeekYear()%100})),hi("gggg","weekYear"),hi("ggggg","weekYear"),hi("GGGG","isoWeekYear"),hi("GGGGG","isoWeekYear"),K("weekYear","gg"),K("isoWeekYear","GG"),ee("weekYear",1),ee("isoWeekYear",1),Ae("G",Se),Ae("g",Se),Ae("GG",ye,pe),Ae("gg",ye,pe),Ae("GGGG",we,ge),Ae("gggg",we,ge),Ae("GGGGG",Te,me),Ae("ggggg",Te,me),De(["gggg","ggggg","GGGG","GGGGG"],(function(e,t,n,r){t[r.substr(0,2)]=E(e)})),De(["gg","GG"],(function(e,t,n,r){t[r]=i.parseTwoDigitYear(e)})),se("Q",0,"Qo","quarter"),K("quarter","Q"),ee("quarter",7),Ae("Q",de),je("Q",(function(e,t){t[Ue]=3*(E(e)-1)})),se("D",["DD",2],"Do","date"),K("date","D"),ee("date",9),Ae("D",ye),Ae("DD",ye,pe),Ae("Do",(function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient})),je(["D","DD"],Fe),je("Do",(function(e,t){t[Fe]=E(e.match(ye)[0])}));var Ti=Qe("Date",!0);function xi(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")}se("DDD",["DDDD",3],"DDDo","dayOfYear"),K("dayOfYear","DDD"),ee("dayOfYear",4),Ae("DDD",_e),Ae("DDDD",he),je(["DDD","DDDD"],(function(e,t,n){n._dayOfYear=E(e)})),se("m",["mm",2],0,"minute"),K("minute","m"),ee("minute",14),Ae("m",ye),Ae("mm",ye,pe),je(["m","mm"],He);var Si=Qe("Minutes",!1);se("s",["ss",2],0,"second"),K("second","s"),ee("second",15),Ae("s",ye),Ae("ss",ye,pe),je(["s","ss"],Ze);var ki,Ei=Qe("Seconds",!1);for(se("S",0,0,(function(){return~~(this.millisecond()/100)})),se(0,["SS",2],0,(function(){return~~(this.millisecond()/10)})),se(0,["SSS",3],0,"millisecond"),se(0,["SSSS",4],0,(function(){return 10*this.millisecond()})),se(0,["SSSSS",5],0,(function(){return 100*this.millisecond()})),se(0,["SSSSSS",6],0,(function(){return 1e3*this.millisecond()})),se(0,["SSSSSSS",7],0,(function(){return 1e4*this.millisecond()})),se(0,["SSSSSSSS",8],0,(function(){return 1e5*this.millisecond()})),se(0,["SSSSSSSSS",9],0,(function(){return 1e6*this.millisecond()})),K("millisecond","ms"),ee("millisecond",16),Ae("S",_e,de),Ae("SS",_e,pe),Ae("SSS",_e,he),ki="SSSS";ki.length<=9;ki+="S")Ae(ki,xe);function Oi(e,t){t[qe]=E(1e3*("0."+e))}for(ki="S";ki.length<=9;ki+="S")je(ki,Oi);var Ci=Qe("Milliseconds",!1);function Li(){return this._isUTC?"UTC":""}function Ai(){return this._isUTC?"Coordinated Universal Time":""}se("z",0,0,"zoneAbbr"),se("zz",0,0,"zoneName");var Ii=x.prototype;function Pi(e){return $n(1e3*e)}function Mi(){return $n.apply(null,arguments).parseZone()}function Ri(e){return e}Ii.add=Pr,Ii.calendar=jr,Ii.clone=Dr,Ii.diff=Zr,Ii.endOf=ri,Ii.format=$r,Ii.from=Yr,Ii.fromNow=Kr,Ii.to=Xr,Ii.toNow=Qr,Ii.get=tt,Ii.invalidAt=di,Ii.isAfter=Nr,Ii.isBefore=Br,Ii.isBetween=Ur,Ii.isSame=Fr,Ii.isSameOrAfter=zr,Ii.isSameOrBefore=Hr,Ii.isValid=li,Ii.lang=ei,Ii.locale=Jr,Ii.localeData=ti,Ii.max=Kn,Ii.min=Yn,Ii.parsingFlags=fi,Ii.set=nt,Ii.startOf=ni,Ii.subtract=Mr,Ii.toArray=si,Ii.toObject=ui,Ii.toDate=ai,Ii.toISOString=Wr,Ii.inspect=Gr,Ii.toJSON=ci,Ii.toString=Vr,Ii.unix=oi,Ii.valueOf=ii,Ii.creationData=pi,Ii.year=Ke,Ii.isLeapYear=Xe,Ii.weekYear=gi,Ii.isoWeekYear=mi,Ii.quarter=Ii.quarters=wi,Ii.month=pt,Ii.daysInMonth=ht,Ii.week=Ii.weeks=At,Ii.isoWeek=Ii.isoWeeks=It,Ii.weeksInYear=vi,Ii.isoWeeksInYear=yi,Ii.date=Ti,Ii.day=Ii.days=Ht,Ii.weekday=Zt,Ii.isoWeekday=qt,Ii.dayOfYear=xi,Ii.hour=Ii.hours=sn,Ii.minute=Ii.minutes=Si,Ii.second=Ii.seconds=Ei,Ii.millisecond=Ii.milliseconds=Ci,Ii.utcOffset=pr,Ii.utc=gr,Ii.local=mr,Ii.parseZone=yr,Ii.hasAlignedHourOffset=vr,Ii.isDST=br,Ii.isLocal=wr,Ii.isUtcOffset=Tr,Ii.isUtc=xr,Ii.isUTC=xr,Ii.zoneAbbr=Li,Ii.zoneName=Ai,Ii.dates=L("dates accessor is deprecated. Use date instead.",Ti),Ii.months=L("months accessor is deprecated. Use month instead",pt),Ii.years=L("years accessor is deprecated. Use year instead",Ke),Ii.zone=L("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",hr),Ii.isDSTShifted=L("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",_r);var ji=D.prototype;function Di(e,t,n,r){var i=yn(),o=g().set(r,t);return i[n](o,e)}function Ni(e,t,n){if(l(e)&&(t=e,e=void 0),e=e||"",null!=t)return Di(e,t,n,"month");var r,i=[];for(r=0;r<12;r++)i[r]=Di(e,r,n,"month");return i}function Bi(e,t,n,r){"boolean"==typeof e?(l(t)&&(n=t,t=void 0),t=t||""):(n=t=e,e=!1,l(t)&&(n=t,t=void 0),t=t||"");var i,o=yn(),a=e?o._week.dow:0;if(null!=n)return Di(t,(n+a)%7,r,"day");var s=[];for(i=0;i<7;i++)s[i]=Di(t,(i+a)%7,r,"day");return s}function Ui(e,t){return Ni(e,t,"months")}function Fi(e,t){return Ni(e,t,"monthsShort")}function zi(e,t,n){return Bi(e,t,n,"weekdays")}function Hi(e,t,n){return Bi(e,t,n,"weekdaysShort")}function Zi(e,t,n){return Bi(e,t,n,"weekdaysMin")}ji.calendar=B,ji.longDateFormat=F,ji.invalidDate=H,ji.ordinal=V,ji.preparse=Ri,ji.postformat=Ri,ji.relativeTime=G,ji.pastFuture=$,ji.set=R,ji.months=st,ji.monthsShort=ct,ji.monthsParse=ft,ji.monthsRegex=vt,ji.monthsShortRegex=mt,ji.week=Et,ji.firstDayOfYear=Lt,ji.firstDayOfWeek=Ct,ji.weekdays=jt,ji.weekdaysMin=Ut,ji.weekdaysShort=Nt,ji.weekdaysParse=zt,ji.weekdaysRegex=Wt,ji.weekdaysShortRegex=$t,ji.weekdaysMinRegex=Kt,ji.isPM=nn,ji.meridiem=on,hn("en",{dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1===E(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}}),i.lang=L("moment.lang is deprecated. Use moment.locale instead.",hn),i.langData=L("moment.langData is deprecated. Use moment.localeData instead.",yn);var qi=Math.abs;function Vi(){var e=this._data;return this._milliseconds=qi(this._milliseconds),this._days=qi(this._days),this._months=qi(this._months),e.milliseconds=qi(e.milliseconds),e.seconds=qi(e.seconds),e.minutes=qi(e.minutes),e.hours=qi(e.hours),e.months=qi(e.months),e.years=qi(e.years),this}function Wi(e,t,n,r){var i=Er(t,n);return e._milliseconds+=r*i._milliseconds,e._days+=r*i._days,e._months+=r*i._months,e._bubble()}function Gi(e,t){return Wi(this,e,t,1)}function $i(e,t){return Wi(this,e,t,-1)}function Yi(e){return e<0?Math.floor(e):Math.ceil(e)}function Ki(){var e,t,n,r,i,o=this._milliseconds,a=this._days,s=this._months,u=this._data;return o>=0&&a>=0&&s>=0||o<=0&&a<=0&&s<=0||(o+=864e5*Yi(Qi(s)+a),a=0,s=0),u.milliseconds=o%1e3,e=k(o/1e3),u.seconds=e%60,t=k(e/60),u.minutes=t%60,n=k(t/60),u.hours=n%24,a+=k(n/24),s+=i=k(Xi(a)),a-=Yi(Qi(i)),r=k(s/12),s%=12,u.days=a,u.months=s,u.years=r,this}function Xi(e){return 4800*e/146097}function Qi(e){return 146097*e/4800}function Ji(e){if(!this.isValid())return NaN;var t,n,r=this._milliseconds;if("month"===(e=X(e))||"year"===e)return t=this._days+r/864e5,n=this._months+Xi(t),"month"===e?n:n/12;switch(t=this._days+Math.round(Qi(this._months)),e){case"week":return t/7+r/6048e5;case"day":return t+r/864e5;case"hour":return 24*t+r/36e5;case"minute":return 1440*t+r/6e4;case"second":return 86400*t+r/1e3;case"millisecond":return Math.floor(864e5*t)+r;default:throw new Error("Unknown unit "+e)}}function eo(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*E(this._months/12):NaN}function to(e){return function(){return this.as(e)}}var no=to("ms"),ro=to("s"),io=to("m"),oo=to("h"),ao=to("d"),so=to("w"),uo=to("M"),co=to("y");function lo(){return Er(this)}function fo(e){return e=X(e),this.isValid()?this[e+"s"]():NaN}function po(e){return function(){return this.isValid()?this._data[e]:NaN}}var ho=po("milliseconds"),go=po("seconds"),mo=po("minutes"),yo=po("hours"),vo=po("days"),bo=po("months"),_o=po("years");function wo(){return k(this.days()/7)}var To=Math.round,xo={ss:44,s:45,m:45,h:22,d:26,M:11};function So(e,t,n,r,i){return i.relativeTime(t||1,!!n,e,r)}function ko(e,t,n){var r=Er(e).abs(),i=To(r.as("s")),o=To(r.as("m")),a=To(r.as("h")),s=To(r.as("d")),u=To(r.as("M")),c=To(r.as("y")),l=i<=xo.ss&&["s",i]||i<xo.s&&["ss",i]||o<=1&&["m"]||o<xo.m&&["mm",o]||a<=1&&["h"]||a<xo.h&&["hh",a]||s<=1&&["d"]||s<xo.d&&["dd",s]||u<=1&&["M"]||u<xo.M&&["MM",u]||c<=1&&["y"]||["yy",c];return l[2]=t,l[3]=+e>0,l[4]=n,So.apply(null,l)}function Eo(e){return void 0===e?To:"function"==typeof e&&(To=e,!0)}function Oo(e,t){return void 0!==xo[e]&&(void 0===t?xo[e]:(xo[e]=t,"s"===e&&(xo.ss=t-1),!0))}function Co(e){if(!this.isValid())return this.localeData().invalidDate();var t=this.localeData(),n=ko(this,!e,t);return e&&(n=t.pastFuture(+this,n)),t.postformat(n)}var Lo=Math.abs;function Ao(e){return(e>0)-(e<0)||+e}function Io(){if(!this.isValid())return this.localeData().invalidDate();var e,t,n=Lo(this._milliseconds)/1e3,r=Lo(this._days),i=Lo(this._months);e=k(n/60),t=k(e/60),n%=60,e%=60;var o=k(i/12),a=i%=12,s=r,u=t,c=e,l=n?n.toFixed(3).replace(/\.?0+$/,""):"",f=this.asSeconds();if(!f)return"P0D";var d=f<0?"-":"",p=Ao(this._months)!==Ao(f)?"-":"",h=Ao(this._days)!==Ao(f)?"-":"",g=Ao(this._milliseconds)!==Ao(f)?"-":"";return d+"P"+(o?p+o+"Y":"")+(a?p+a+"M":"")+(s?h+s+"D":"")+(u||c||l?"T":"")+(u?g+u+"H":"")+(c?g+c+"M":"")+(l?g+l+"S":"")}var Po=or.prototype;return Po.isValid=rr,Po.abs=Vi,Po.add=Gi,Po.subtract=$i,Po.as=Ji,Po.asMilliseconds=no,Po.asSeconds=ro,Po.asMinutes=io,Po.asHours=oo,Po.asDays=ao,Po.asWeeks=so,Po.asMonths=uo,Po.asYears=co,Po.valueOf=eo,Po._bubble=Ki,Po.clone=lo,Po.get=fo,Po.milliseconds=ho,Po.seconds=go,Po.minutes=mo,Po.hours=yo,Po.days=vo,Po.weeks=wo,Po.months=bo,Po.years=_o,Po.humanize=Co,Po.toISOString=Io,Po.toString=Io,Po.toJSON=Io,Po.locale=Jr,Po.localeData=ti,Po.toIsoString=L("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Io),Po.lang=ei,se("X",0,0,"unix"),se("x",0,0,"valueOf"),Ae("x",Se),Ae("X",Oe),je("X",(function(e,t,n){n._d=new Date(1e3*parseFloat(e,10))})),je("x",(function(e,t,n){n._d=new Date(E(e))})),i.version="2.20.1",o($n),i.fn=Ii,i.min=Qn,i.max=Jn,i.now=er,i.utc=g,i.unix=Pi,i.months=Ui,i.isDate=f,i.locale=hn,i.invalid=b,i.duration=Er,i.isMoment=S,i.weekdays=zi,i.parseZone=Mi,i.localeData=yn,i.isDuration=ar,i.monthsShort=Fi,i.weekdaysMin=Zi,i.defineLocale=gn,i.updateLocale=mn,i.locales=vn,i.weekdaysShort=Hi,i.normalizeUnits=X,i.relativeTimeRounding=Eo,i.relativeTimeThreshold=Oo,i.calendarFormat=Rr,i.prototype=Ii,i.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"YYYY-[W]WW",MONTH:"YYYY-MM"},i}()},84221:function(e,t,n){var r=n(46894).getUint64;e.exports=function(e){var t=new DataView(e.buffer,e.byteOffset,e.byteLength),n={version:e[0],flags:new Uint8Array(e.subarray(1,4)),references:[],referenceId:t.getUint32(4),timescale:t.getUint32(8)},i=12;0===n.version?(n.earliestPresentationTime=t.getUint32(i),n.firstOffset=t.getUint32(i+4),i+=8):(n.earliestPresentationTime=r(e.subarray(i)),n.firstOffset=r(e.subarray(i+8)),i+=16),i+=2;var o=t.getUint16(i);for(i+=2;o>0;i+=12,o--)n.references.push({referenceType:(128&e[i])>>>7,referencedSize:2147483647&t.getUint32(i),subsegmentDuration:t.getUint32(i+4),startsWithSap:!!(128&e[i+8]),sapType:(112&e[i+8])>>>4,sapDeltaTime:268435455&t.getUint32(i+8)});return n}},51489:function(e){var t,n,r,i,o,a,s,u=9e4;t=function(e){return e*u},n=function(e,t){return e*t},r=function(e){return e/u},i=function(e,t){return e/t},o=function(e,n){return t(i(e,n))},a=function(e,t){return n(r(e),t)},s=function(e,t,n){return r(n?e:e-t)},e.exports={ONE_SECOND_IN_TS:u,secondsToVideoTs:t,secondsToAudioTs:n,videoTsToSeconds:r,audioTsToSeconds:i,audioTsToVideoTs:o,videoTsToAudioTs:a,metadataTsToSeconds:s}},46894:function(e){var t=Math.pow(2,32);e.exports={getUint64:function(e){var n,r=new DataView(e.buffer,e.byteOffset,e.byteLength);return r.getBigUint64?(n=r.getBigUint64(0))<Number.MAX_SAFE_INTEGER?Number(n):n:r.getUint32(0)*t+r.getUint32(4)},MAX_UINT32:t}},82120:function(e){"use strict";e.exports=Number.isNaN||function(e){return e!=e}},92077:function(e,t,n){var r,i;r=function(){var e,t,n,r,i,o="2.0.6",a={},s={},u={currentLocale:"en",zeroFormat:null,nullFormat:null,defaultFormat:"0,0",scalePercentBy100:!0},c={currentLocale:u.currentLocale,zeroFormat:u.zeroFormat,nullFormat:u.nullFormat,defaultFormat:u.defaultFormat,scalePercentBy100:u.scalePercentBy100};function l(e,t){this._input=e,this._value=t}return(e=function(n){var r,i,o,s;if(e.isNumeral(n))r=n.value();else if(0===n||void 0===n)r=0;else if(null===n||t.isNaN(n))r=null;else if("string"==typeof n)if(c.zeroFormat&&n===c.zeroFormat)r=0;else if(c.nullFormat&&n===c.nullFormat||!n.replace(/[^0-9]+/g,"").length)r=null;else{for(i in a)if((s="function"==typeof a[i].regexps.unformat?a[i].regexps.unformat():a[i].regexps.unformat)&&n.match(s)){o=a[i].unformat;break}r=(o=o||e._.stringToNumber)(n)}else r=Number(n)||null;return new l(n,r)}).version=o,e.isNumeral=function(e){return e instanceof l},e._=t={numberToFormat:function(t,n,r){var i,o,a,u,c,l,f,d=s[e.options.currentLocale],p=!1,h=!1,g=0,m="",y=1e12,v=1e9,b=1e6,_=1e3,w="",T=!1;if(t=t||0,o=Math.abs(t),e._.includes(n,"(")?(p=!0,n=n.replace(/[\(|\)]/g,"")):(e._.includes(n,"+")||e._.includes(n,"-"))&&(c=e._.includes(n,"+")?n.indexOf("+"):t<0?n.indexOf("-"):-1,n=n.replace(/[\+|\-]/g,"")),e._.includes(n,"a")&&(i=!!(i=n.match(/a(k|m|b|t)?/))&&i[1],e._.includes(n," a")&&(m=" "),n=n.replace(new RegExp(m+"a[kmbt]?"),""),o>=y&&!i||"t"===i?(m+=d.abbreviations.trillion,t/=y):o<y&&o>=v&&!i||"b"===i?(m+=d.abbreviations.billion,t/=v):o<v&&o>=b&&!i||"m"===i?(m+=d.abbreviations.million,t/=b):(o<b&&o>=_&&!i||"k"===i)&&(m+=d.abbreviations.thousand,t/=_)),e._.includes(n,"[.]")&&(h=!0,n=n.replace("[.]",".")),a=t.toString().split(".")[0],u=n.split(".")[1],l=n.indexOf(","),g=(n.split(".")[0].split(",")[0].match(/0/g)||[]).length,u?(e._.includes(u,"[")?(u=(u=u.replace("]","")).split("["),w=e._.toFixed(t,u[0].length+u[1].length,r,u[1].length)):w=e._.toFixed(t,u.length,r),a=w.split(".")[0],w=e._.includes(w,".")?d.delimiters.decimal+w.split(".")[1]:"",h&&0===Number(w.slice(1))&&(w="")):a=e._.toFixed(t,0,r),m&&!i&&Number(a)>=1e3&&m!==d.abbreviations.trillion)switch(a=String(Number(a)/1e3),m){case d.abbreviations.thousand:m=d.abbreviations.million;break;case d.abbreviations.million:m=d.abbreviations.billion;break;case d.abbreviations.billion:m=d.abbreviations.trillion}if(e._.includes(a,"-")&&(a=a.slice(1),T=!0),a.length<g)for(var x=g-a.length;x>0;x--)a="0"+a;return l>-1&&(a=a.toString().replace(/(\d)(?=(\d{3})+(?!\d))/g,"$1"+d.delimiters.thousands)),0===n.indexOf(".")&&(a=""),f=a+w+(m||""),p?f=(p&&T?"(":"")+f+(p&&T?")":""):c>=0?f=0===c?(T?"-":"+")+f:f+(T?"-":"+"):T&&(f="-"+f),f},stringToNumber:function(e){var t,n,r,i=s[c.currentLocale],o=e,a={thousand:3,million:6,billion:9,trillion:12};if(c.zeroFormat&&e===c.zeroFormat)n=0;else if(c.nullFormat&&e===c.nullFormat||!e.replace(/[^0-9]+/g,"").length)n=null;else{for(t in n=1,"."!==i.delimiters.decimal&&(e=e.replace(/\./g,"").replace(i.delimiters.decimal,".")),a)if(r=new RegExp("[^a-zA-Z]"+i.abbreviations[t]+"(?:\\)|(\\"+i.currency.symbol+")?(?:\\))?)?$"),o.match(r)){n*=Math.pow(10,a[t]);break}n*=(e.split("-").length+Math.min(e.split("(").length-1,e.split(")").length-1))%2?1:-1,e=e.replace(/[^0-9\.]+/g,""),n*=Number(e)}return n},isNaN:function(e){return"number"==typeof e&&isNaN(e)},includes:function(e,t){return-1!==e.indexOf(t)},insert:function(e,t,n){return e.slice(0,n)+t+e.slice(n)},reduce:function(e,t){if(null===this)throw new TypeError("Array.prototype.reduce called on null or undefined");if("function"!=typeof t)throw new TypeError(t+" is not a function");var n,r=Object(e),i=r.length>>>0,o=0;if(3===arguments.length)n=arguments[2];else{for(;o<i&&!(o in r);)o++;if(o>=i)throw new TypeError("Reduce of empty array with no initial value");n=r[o++]}for(;o<i;o++)o in r&&(n=t(n,r[o],o,r));return n},multiplier:function(e){var t=e.toString().split(".");return t.length<2?1:Math.pow(10,t[1].length)},correctionFactor:function(){return Array.prototype.slice.call(arguments).reduce((function(e,n){var r=t.multiplier(n);return e>r?e:r}),1)},toFixed:function(e,t,n,r){var i,o,a,s,u=e.toString().split("."),c=t-(r||0);return i=2===u.length?Math.min(Math.max(u[1].length,c),t):c,a=Math.pow(10,i),s=(n(e+"e+"+i)/a).toFixed(i),r>t-i&&(o=new RegExp("\\.?0{1,"+(r-(t-i))+"}$"),s=s.replace(o,"")),s}},e.options=c,e.formats=a,e.locales=s,e.locale=function(e){return e&&(c.currentLocale=e.toLowerCase()),c.currentLocale},e.localeData=function(e){if(!e)return s[c.currentLocale];if(e=e.toLowerCase(),!s[e])throw new Error("Unknown locale : "+e);return s[e]},e.reset=function(){for(var e in u)c[e]=u[e]},e.zeroFormat=function(e){c.zeroFormat="string"==typeof e?e:null},e.nullFormat=function(e){c.nullFormat="string"==typeof e?e:null},e.defaultFormat=function(e){c.defaultFormat="string"==typeof e?e:"0.0"},e.register=function(e,t,n){if(t=t.toLowerCase(),this[e+"s"][t])throw new TypeError(t+" "+e+" already registered.");return this[e+"s"][t]=n,n},e.validate=function(t,n){var r,i,o,a,s,u,c,l;if("string"!=typeof t&&(t+="",console.warn&&console.warn("Numeral.js: Value is not string. It has been co-erced to: ",t)),(t=t.trim()).match(/^\d+$/))return!0;if(""===t)return!1;try{c=e.localeData(n)}catch(t){c=e.localeData(e.locale())}return o=c.currency.symbol,s=c.abbreviations,r=c.delimiters.decimal,i="."===c.delimiters.thousands?"\\.":c.delimiters.thousands,!(null!==(l=t.match(/^[^\d]+/))&&(t=t.substr(1),l[0]!==o)||null!==(l=t.match(/[^\d]+$/))&&(t=t.slice(0,-1),l[0]!==s.thousand&&l[0]!==s.million&&l[0]!==s.billion&&l[0]!==s.trillion)||(u=new RegExp(i+"{2}"),t.match(/[^\d.,]/g)||(a=t.split(r)).length>2||(a.length<2?!a[0].match(/^\d+.*\d$/)||a[0].match(u):1===a[0].length?!a[0].match(/^\d+$/)||a[0].match(u)||!a[1].match(/^\d+$/):!a[0].match(/^\d+.*\d$/)||a[0].match(u)||!a[1].match(/^\d+$/))))},e.fn=l.prototype={clone:function(){return e(this)},format:function(t,n){var r,i,o,s=this._value,u=t||c.defaultFormat;if(n=n||Math.round,0===s&&null!==c.zeroFormat)i=c.zeroFormat;else if(null===s&&null!==c.nullFormat)i=c.nullFormat;else{for(r in a)if(u.match(a[r].regexps.format)){o=a[r].format;break}i=(o=o||e._.numberToFormat)(s,u,n)}return i},value:function(){return this._value},input:function(){return this._input},set:function(e){return this._value=Number(e),this},add:function(e){var n=t.correctionFactor.call(null,this._value,e);function r(e,t,r,i){return e+Math.round(n*t)}return this._value=t.reduce([this._value,e],r,0)/n,this},subtract:function(e){var n=t.correctionFactor.call(null,this._value,e);function r(e,t,r,i){return e-Math.round(n*t)}return this._value=t.reduce([e],r,Math.round(this._value*n))/n,this},multiply:function(e){function n(e,n,r,i){var o=t.correctionFactor(e,n);return Math.round(e*o)*Math.round(n*o)/Math.round(o*o)}return this._value=t.reduce([this._value,e],n,1),this},divide:function(e){function n(e,n,r,i){var o=t.correctionFactor(e,n);return Math.round(e*o)/Math.round(n*o)}return this._value=t.reduce([this._value,e],n),this},difference:function(t){return Math.abs(e(this._value).subtract(t).value())}},e.register("locale","en",{delimiters:{thousands:",",decimal:"."},abbreviations:{thousand:"k",million:"m",billion:"b",trillion:"t"},ordinal:function(e){var t=e%10;return 1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th"},currency:{symbol:"$"}}),e.register("format","bps",{regexps:{format:/(BPS)/,unformat:/(BPS)/},format:function(t,n,r){var i,o=e._.includes(n," BPS")?" ":"";return t*=1e4,n=n.replace(/\s?BPS/,""),i=e._.numberToFormat(t,n,r),e._.includes(i,")")?((i=i.split("")).splice(-1,0,o+"BPS"),i=i.join("")):i=i+o+"BPS",i},unformat:function(t){return+(1e-4*e._.stringToNumber(t)).toFixed(15)}}),r={base:1024,suffixes:["B","KiB","MiB","GiB","TiB","PiB","EiB","ZiB","YiB"]},i="("+(i=(n={base:1e3,suffixes:["B","KB","MB","GB","TB","PB","EB","ZB","YB"]}).suffixes.concat(r.suffixes.filter((function(e){return n.suffixes.indexOf(e)<0}))).join("|")).replace("B","B(?!PS)")+")",e.register("format","bytes",{regexps:{format:/([0\s]i?b)/,unformat:new RegExp(i)},format:function(t,i,o){var a,s,u,c=e._.includes(i,"ib")?r:n,l=e._.includes(i," b")||e._.includes(i," ib")?" ":"";for(i=i.replace(/\s?i?b/,""),a=0;a<=c.suffixes.length;a++)if(s=Math.pow(c.base,a),u=Math.pow(c.base,a+1),null===t||0===t||t>=s&&t<u){l+=c.suffixes[a],s>0&&(t/=s);break}return e._.numberToFormat(t,i,o)+l},unformat:function(t){var i,o,a=e._.stringToNumber(t);if(a){for(i=n.suffixes.length-1;i>=0;i--){if(e._.includes(t,n.suffixes[i])){o=Math.pow(n.base,i);break}if(e._.includes(t,r.suffixes[i])){o=Math.pow(r.base,i);break}}a*=o||1}return a}}),e.register("format","currency",{regexps:{format:/(\$)/},format:function(t,n,r){var i,o,a=e.locales[e.options.currentLocale],s={before:n.match(/^([\+|\-|\(|\s|\$]*)/)[0],after:n.match(/([\+|\-|\)|\s|\$]*)$/)[0]};for(n=n.replace(/\s?\$\s?/,""),i=e._.numberToFormat(t,n,r),t>=0?(s.before=s.before.replace(/[\-\(]/,""),s.after=s.after.replace(/[\-\)]/,"")):t<0&&!e._.includes(s.before,"-")&&!e._.includes(s.before,"(")&&(s.before="-"+s.before),o=0;o<s.before.length;o++)switch(s.before[o]){case"$":i=e._.insert(i,a.currency.symbol,o);break;case" ":i=e._.insert(i," ",o+a.currency.symbol.length-1)}for(o=s.after.length-1;o>=0;o--)switch(s.after[o]){case"$":i=o===s.after.length-1?i+a.currency.symbol:e._.insert(i,a.currency.symbol,-(s.after.length-(1+o)));break;case" ":i=o===s.after.length-1?i+" ":e._.insert(i," ",-(s.after.length-(1+o)+a.currency.symbol.length-1))}return i}}),e.register("format","exponential",{regexps:{format:/(e\+|e-)/,unformat:/(e\+|e-)/},format:function(t,n,r){var i=("number"!=typeof t||e._.isNaN(t)?"0e+0":t.toExponential()).split("e");return n=n.replace(/e[\+|\-]{1}0/,""),e._.numberToFormat(Number(i[0]),n,r)+"e"+i[1]},unformat:function(t){var n=e._.includes(t,"e+")?t.split("e+"):t.split("e-"),r=Number(n[0]),i=Number(n[1]);function o(t,n,r,i){var o=e._.correctionFactor(t,n);return t*o*(n*o)/(o*o)}return i=e._.includes(t,"e-")?i*=-1:i,e._.reduce([r,Math.pow(10,i)],o,1)}}),e.register("format","ordinal",{regexps:{format:/(o)/},format:function(t,n,r){var i=e.locales[e.options.currentLocale],o=e._.includes(n," o")?" ":"";return n=n.replace(/\s?o/,""),o+=i.ordinal(t),e._.numberToFormat(t,n,r)+o}}),e.register("format","percentage",{regexps:{format:/(%)/,unformat:/(%)/},format:function(t,n,r){var i,o=e._.includes(n," %")?" ":"";return e.options.scalePercentBy100&&(t*=100),n=n.replace(/\s?\%/,""),i=e._.numberToFormat(t,n,r),e._.includes(i,")")?((i=i.split("")).splice(-1,0,o+"%"),i=i.join("")):i=i+o+"%",i},unformat:function(t){var n=e._.stringToNumber(t);return e.options.scalePercentBy100?.01*n:n}}),e.register("format","time",{regexps:{format:/(:)/,unformat:/(:)/},format:function(e,t,n){var r=Math.floor(e/60/60),i=Math.floor((e-60*r*60)/60),o=Math.round(e-60*r*60-60*i);return r+":"+(i<10?"0"+i:i)+":"+(o<10?"0"+o:o)},unformat:function(e){var t=e.split(":"),n=0;return 3===t.length?(n+=60*Number(t[0])*60,n+=60*Number(t[1]),n+=Number(t[2])):2===t.length&&(n+=60*Number(t[0]),n+=Number(t[1])),Number(n)}}),e},void 0===(i="function"==typeof r?r.call(t,n,t,e):r)||(e.exports=i)},26470:function(e){"use strict";function t(e){if("string"!=typeof e)throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}function n(e,t){for(var n,r="",i=0,o=-1,a=0,s=0;s<=e.length;++s){if(s<e.length)n=e.charCodeAt(s);else{if(47===n)break;n=47}if(47===n){if(o===s-1||1===a);else if(o!==s-1&&2===a){if(r.length<2||2!==i||46!==r.charCodeAt(r.length-1)||46!==r.charCodeAt(r.length-2))if(r.length>2){var u=r.lastIndexOf("/");if(u!==r.length-1){-1===u?(r="",i=0):i=(r=r.slice(0,u)).length-1-r.lastIndexOf("/"),o=s,a=0;continue}}else if(2===r.length||1===r.length){r="",i=0,o=s,a=0;continue}t&&(r.length>0?r+="/..":r="..",i=2)}else r.length>0?r+="/"+e.slice(o+1,s):r=e.slice(o+1,s),i=s-o-1;o=s,a=0}else 46===n&&-1!==a?++a:a=-1}return r}var r={resolve:function(){for(var e,r="",i=!1,o=arguments.length-1;o>=-1&&!i;o--){var a;o>=0?a=arguments[o]:(void 0===e&&(e=process.cwd()),a=e),t(a),0!==a.length&&(r=a+"/"+r,i=47===a.charCodeAt(0))}return r=n(r,!i),i?r.length>0?"/"+r:"/":r.length>0?r:"."},normalize:function(e){if(t(e),0===e.length)return".";var r=47===e.charCodeAt(0),i=47===e.charCodeAt(e.length-1);return 0!==(e=n(e,!r)).length||r||(e="."),e.length>0&&i&&(e+="/"),r?"/"+e:e},isAbsolute:function(e){return t(e),e.length>0&&47===e.charCodeAt(0)},join:function(){if(0===arguments.length)return".";for(var e,n=0;n<arguments.length;++n){var i=arguments[n];t(i),i.length>0&&(void 0===e?e=i:e+="/"+i)}return void 0===e?".":r.normalize(e)},relative:function(e,n){if(t(e),t(n),e===n)return"";if((e=r.resolve(e))===(n=r.resolve(n)))return"";for(var i=1;i<e.length&&47===e.charCodeAt(i);++i);for(var o=e.length,a=o-i,s=1;s<n.length&&47===n.charCodeAt(s);++s);for(var u=n.length-s,c=a<u?a:u,l=-1,f=0;f<=c;++f){if(f===c){if(u>c){if(47===n.charCodeAt(s+f))return n.slice(s+f+1);if(0===f)return n.slice(s+f)}else a>c&&(47===e.charCodeAt(i+f)?l=f:0===f&&(l=0));break}var d=e.charCodeAt(i+f);if(d!==n.charCodeAt(s+f))break;47===d&&(l=f)}var p="";for(f=i+l+1;f<=o;++f)f!==o&&47!==e.charCodeAt(f)||(0===p.length?p+="..":p+="/..");return p.length>0?p+n.slice(s+l):(s+=l,47===n.charCodeAt(s)&&++s,n.slice(s))},_makeLong:function(e){return e},dirname:function(e){if(t(e),0===e.length)return".";for(var n=e.charCodeAt(0),r=47===n,i=-1,o=!0,a=e.length-1;a>=1;--a)if(47===(n=e.charCodeAt(a))){if(!o){i=a;break}}else o=!1;return-1===i?r?"/":".":r&&1===i?"//":e.slice(0,i)},basename:function(e,n){if(void 0!==n&&"string"!=typeof n)throw new TypeError('"ext" argument must be a string');t(e);var r,i=0,o=-1,a=!0;if(void 0!==n&&n.length>0&&n.length<=e.length){if(n.length===e.length&&n===e)return"";var s=n.length-1,u=-1;for(r=e.length-1;r>=0;--r){var c=e.charCodeAt(r);if(47===c){if(!a){i=r+1;break}}else-1===u&&(a=!1,u=r+1),s>=0&&(c===n.charCodeAt(s)?-1==--s&&(o=r):(s=-1,o=u))}return i===o?o=u:-1===o&&(o=e.length),e.slice(i,o)}for(r=e.length-1;r>=0;--r)if(47===e.charCodeAt(r)){if(!a){i=r+1;break}}else-1===o&&(a=!1,o=r+1);return-1===o?"":e.slice(i,o)},extname:function(e){t(e);for(var n=-1,r=0,i=-1,o=!0,a=0,s=e.length-1;s>=0;--s){var u=e.charCodeAt(s);if(47!==u)-1===i&&(o=!1,i=s+1),46===u?-1===n?n=s:1!==a&&(a=1):-1!==n&&(a=-1);else if(!o){r=s+1;break}}return-1===n||-1===i||0===a||1===a&&n===i-1&&n===r+1?"":e.slice(n,i)},format:function(e){if(null===e||"object"!=typeof e)throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof e);return function(e,t){var n=t.dir||t.root,r=t.base||(t.name||"")+(t.ext||"");return n?n===t.root?n+r:n+e+r:r}("/",e)},parse:function(e){t(e);var n={root:"",dir:"",base:"",ext:"",name:""};if(0===e.length)return n;var r,i=e.charCodeAt(0),o=47===i;o?(n.root="/",r=1):r=0;for(var a=-1,s=0,u=-1,c=!0,l=e.length-1,f=0;l>=r;--l)if(47!==(i=e.charCodeAt(l)))-1===u&&(c=!1,u=l+1),46===i?-1===a?a=l:1!==f&&(f=1):-1!==a&&(f=-1);else if(!c){s=l+1;break}return-1===a||-1===u||0===f||1===f&&a===u-1&&a===s+1?-1!==u&&(n.base=n.name=0===s&&o?e.slice(1,u):e.slice(s,u)):(0===s&&o?(n.name=e.slice(1,a),n.base=e.slice(1,u)):(n.name=e.slice(s,a),n.base=e.slice(s,u)),n.ext=e.slice(a,u)),s>0?n.dir=e.slice(0,s-1):o&&(n.dir="/"),n},sep:"/",delimiter:":",win32:null,posix:null};r.posix=r,e.exports=r},92703:function(e,t,n){"use strict";var r=n(50414);function i(){}function o(){}o.resetWarningCache=i,e.exports=function(){function e(e,t,n,i,o,a){if(a!==r){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:o,resetWarningCache:i};return n.PropTypes=n,n}},45697:function(e,t,n){e.exports=n(92703)()},50414:function(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},74971:function(e,t,n){var r;e=n.nmd(e),function(i){t&&t.nodeType,e&&e.nodeType;var o="object"==typeof n.g&&n.g;o.global!==o&&o.window!==o&&o.self;var a,s=2147483647,u=36,c=/^xn--/,l=/[^\x20-\x7E]/,f=/[\x2E\u3002\uFF0E\uFF61]/g,d={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},p=Math.floor,h=String.fromCharCode;function g(e){throw RangeError(d[e])}function m(e,t){for(var n=e.length,r=[];n--;)r[n]=t(e[n]);return r}function y(e,t){var n=e.split("@"),r="";return n.length>1&&(r=n[0]+"@",e=n[1]),r+m((e=e.replace(f,".")).split("."),t).join(".")}function v(e){for(var t,n,r=[],i=0,o=e.length;i<o;)(t=e.charCodeAt(i++))>=55296&&t<=56319&&i<o?56320==(64512&(n=e.charCodeAt(i++)))?r.push(((1023&t)<<10)+(1023&n)+65536):(r.push(t),i--):r.push(t);return r}function b(e){return m(e,(function(e){var t="";return e>65535&&(t+=h((e-=65536)>>>10&1023|55296),e=56320|1023&e),t+=h(e)})).join("")}function _(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function w(e,t,n){var r=0;for(e=n?p(e/700):e>>1,e+=p(e/t);e>455;r+=u)e=p(e/35);return p(r+36*e/(e+38))}function T(e){var t,n,r,i,o,a,c,l,f,d,h,m=[],y=e.length,v=0,_=128,T=72;for((n=e.lastIndexOf("-"))<0&&(n=0),r=0;r<n;++r)e.charCodeAt(r)>=128&&g("not-basic"),m.push(e.charCodeAt(r));for(i=n>0?n+1:0;i<y;){for(o=v,a=1,c=u;i>=y&&g("invalid-input"),((l=(h=e.charCodeAt(i++))-48<10?h-22:h-65<26?h-65:h-97<26?h-97:u)>=u||l>p((s-v)/a))&&g("overflow"),v+=l*a,!(l<(f=c<=T?1:c>=T+26?26:c-T));c+=u)a>p(s/(d=u-f))&&g("overflow"),a*=d;T=w(v-o,t=m.length+1,0==o),p(v/t)>s-_&&g("overflow"),_+=p(v/t),v%=t,m.splice(v++,0,_)}return b(m)}function x(e){var t,n,r,i,o,a,c,l,f,d,m,y,b,T,x,S=[];for(y=(e=v(e)).length,t=128,n=0,o=72,a=0;a<y;++a)(m=e[a])<128&&S.push(h(m));for(r=i=S.length,i&&S.push("-");r<y;){for(c=s,a=0;a<y;++a)(m=e[a])>=t&&m<c&&(c=m);for(c-t>p((s-n)/(b=r+1))&&g("overflow"),n+=(c-t)*b,t=c,a=0;a<y;++a)if((m=e[a])<t&&++n>s&&g("overflow"),m==t){for(l=n,f=u;!(l<(d=f<=o?1:f>=o+26?26:f-o));f+=u)x=l-d,T=u-d,S.push(h(_(d+x%T,0))),l=p(x/T);S.push(h(_(l,0))),o=w(n,b,r==i),n=0,++r}++n,++t}return S.join("")}a={version:"1.3.2",ucs2:{decode:v,encode:b},decode:T,encode:x,toASCII:function(e){return y(e,(function(e){return l.test(e)?"xn--"+x(e):e}))},toUnicode:function(e){return y(e,(function(e){return c.test(e)?T(e.slice(4).toLowerCase()):e}))}},void 0===(r=function(){return a}.call(t,n,t,e))||(e.exports=r)}()},55798:function(e){"use strict";var t=String.prototype.replace,n=/%20/g,r="RFC1738",i="RFC3986";e.exports={default:i,formatters:{RFC1738:function(e){return t.call(e,n,"+")},RFC3986:function(e){return String(e)}},RFC1738:r,RFC3986:i}},80129:function(e,t,n){"use strict";var r=n(58261),i=n(55235),o=n(55798);e.exports={formats:o,parse:i,stringify:r}},55235:function(e,t,n){"use strict";var r=n(12769),i=Object.prototype.hasOwnProperty,o=Array.isArray,a={allowDots:!1,allowPrototypes:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:r.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},s=function(e){return e.replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(parseInt(t,10))}))},u=function(e,t){return e&&"string"==typeof e&&t.comma&&e.indexOf(",")>-1?e.split(","):e},c=function(e,t,n,r){if(e){var o=n.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e,a=/(\[[^[\]]*])/g,s=n.depth>0&&/(\[[^[\]]*])/.exec(o),c=s?o.slice(0,s.index):o,l=[];if(c){if(!n.plainObjects&&i.call(Object.prototype,c)&&!n.allowPrototypes)return;l.push(c)}for(var f=0;n.depth>0&&null!==(s=a.exec(o))&&f<n.depth;){if(f+=1,!n.plainObjects&&i.call(Object.prototype,s[1].slice(1,-1))&&!n.allowPrototypes)return;l.push(s[1])}return s&&l.push("["+o.slice(s.index)+"]"),function(e,t,n,r){for(var i=r?t:u(t,n),o=e.length-1;o>=0;--o){var a,s=e[o];if("[]"===s&&n.parseArrays)a=[].concat(i);else{a=n.plainObjects?Object.create(null):{};var c="["===s.charAt(0)&&"]"===s.charAt(s.length-1)?s.slice(1,-1):s,l=parseInt(c,10);n.parseArrays||""!==c?!isNaN(l)&&s!==c&&String(l)===c&&l>=0&&n.parseArrays&&l<=n.arrayLimit?(a=[])[l]=i:"__proto__"!==c&&(a[c]=i):a={0:i}}i=a}return i}(l,t,n,r)}};e.exports=function(e,t){var n=function(e){if(!e)return a;if(null!==e.decoder&&void 0!==e.decoder&&"function"!=typeof e.decoder)throw new TypeError("Decoder has to be a function.");if(void 0!==e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var t=void 0===e.charset?a.charset:e.charset;return{allowDots:void 0===e.allowDots?a.allowDots:!!e.allowDots,allowPrototypes:"boolean"==typeof e.allowPrototypes?e.allowPrototypes:a.allowPrototypes,arrayLimit:"number"==typeof e.arrayLimit?e.arrayLimit:a.arrayLimit,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:a.charsetSentinel,comma:"boolean"==typeof e.comma?e.comma:a.comma,decoder:"function"==typeof e.decoder?e.decoder:a.decoder,delimiter:"string"==typeof e.delimiter||r.isRegExp(e.delimiter)?e.delimiter:a.delimiter,depth:"number"==typeof e.depth||!1===e.depth?+e.depth:a.depth,ignoreQueryPrefix:!0===e.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof e.interpretNumericEntities?e.interpretNumericEntities:a.interpretNumericEntities,parameterLimit:"number"==typeof e.parameterLimit?e.parameterLimit:a.parameterLimit,parseArrays:!1!==e.parseArrays,plainObjects:"boolean"==typeof e.plainObjects?e.plainObjects:a.plainObjects,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:a.strictNullHandling}}(t);if(""===e||null==e)return n.plainObjects?Object.create(null):{};for(var l="string"==typeof e?function(e,t){var n,c={},l=t.ignoreQueryPrefix?e.replace(/^\?/,""):e,f=t.parameterLimit===1/0?void 0:t.parameterLimit,d=l.split(t.delimiter,f),p=-1,h=t.charset;if(t.charsetSentinel)for(n=0;n<d.length;++n)0===d[n].indexOf("utf8=")&&("utf8=%E2%9C%93"===d[n]?h="utf-8":"utf8=%26%2310003%3B"===d[n]&&(h="iso-8859-1"),p=n,n=d.length);for(n=0;n<d.length;++n)if(n!==p){var g,m,y=d[n],v=y.indexOf("]="),b=-1===v?y.indexOf("="):v+1;-1===b?(g=t.decoder(y,a.decoder,h,"key"),m=t.strictNullHandling?null:""):(g=t.decoder(y.slice(0,b),a.decoder,h,"key"),m=r.maybeMap(u(y.slice(b+1),t),(function(e){return t.decoder(e,a.decoder,h,"value")}))),m&&t.interpretNumericEntities&&"iso-8859-1"===h&&(m=s(m)),y.indexOf("[]=")>-1&&(m=o(m)?[m]:m),i.call(c,g)?c[g]=r.combine(c[g],m):c[g]=m}return c}(e,n):e,f=n.plainObjects?Object.create(null):{},d=Object.keys(l),p=0;p<d.length;++p){var h=d[p],g=c(h,l[h],n,"string"==typeof e);f=r.merge(f,g,n)}return r.compact(f)}},58261:function(e,t,n){"use strict";var r=n(12769),i=n(55798),o=Object.prototype.hasOwnProperty,a={brackets:function(e){return e+"[]"},comma:"comma",indices:function(e,t){return e+"["+t+"]"},repeat:function(e){return e}},s=Array.isArray,u=String.prototype.split,c=Array.prototype.push,l=function(e,t){c.apply(e,s(t)?t:[t])},f=Date.prototype.toISOString,d=i.default,p={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:r.encode,encodeValuesOnly:!1,format:d,formatter:i.formatters[d],indices:!1,serializeDate:function(e){return f.call(e)},skipNulls:!1,strictNullHandling:!1},h=function e(t,n,i,o,a,c,f,d,h,g,m,y,v,b){var _,w=t;if("function"==typeof f?w=f(n,w):w instanceof Date?w=g(w):"comma"===i&&s(w)&&(w=r.maybeMap(w,(function(e){return e instanceof Date?g(e):e}))),null===w){if(o)return c&&!v?c(n,p.encoder,b,"key",m):n;w=""}if("string"==typeof(_=w)||"number"==typeof _||"boolean"==typeof _||"symbol"==typeof _||"bigint"==typeof _||r.isBuffer(w)){if(c){var T=v?n:c(n,p.encoder,b,"key",m);if("comma"===i&&v){for(var x=u.call(String(w),","),S="",k=0;k<x.length;++k)S+=(0===k?"":",")+y(c(x[k],p.encoder,b,"value",m));return[y(T)+"="+S]}return[y(T)+"="+y(c(w,p.encoder,b,"value",m))]}return[y(n)+"="+y(String(w))]}var E,O=[];if(void 0===w)return O;if("comma"===i&&s(w))E=[{value:w.length>0?w.join(",")||null:void 0}];else if(s(f))E=f;else{var C=Object.keys(w);E=d?C.sort(d):C}for(var L=0;L<E.length;++L){var A=E[L],I="object"==typeof A&&void 0!==A.value?A.value:w[A];if(!a||null!==I){var P=s(w)?"function"==typeof i?i(n,A):n:n+(h?"."+A:"["+A+"]");l(O,e(I,P,i,o,a,c,f,d,h,g,m,y,v,b))}}return O};e.exports=function(e,t){var n,r=e,u=function(e){if(!e)return p;if(null!==e.encoder&&void 0!==e.encoder&&"function"!=typeof e.encoder)throw new TypeError("Encoder has to be a function.");var t=e.charset||p.charset;if(void 0!==e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var n=i.default;if(void 0!==e.format){if(!o.call(i.formatters,e.format))throw new TypeError("Unknown format option provided.");n=e.format}var r=i.formatters[n],a=p.filter;return("function"==typeof e.filter||s(e.filter))&&(a=e.filter),{addQueryPrefix:"boolean"==typeof e.addQueryPrefix?e.addQueryPrefix:p.addQueryPrefix,allowDots:void 0===e.allowDots?p.allowDots:!!e.allowDots,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:p.charsetSentinel,delimiter:void 0===e.delimiter?p.delimiter:e.delimiter,encode:"boolean"==typeof e.encode?e.encode:p.encode,encoder:"function"==typeof e.encoder?e.encoder:p.encoder,encodeValuesOnly:"boolean"==typeof e.encodeValuesOnly?e.encodeValuesOnly:p.encodeValuesOnly,filter:a,format:n,formatter:r,serializeDate:"function"==typeof e.serializeDate?e.serializeDate:p.serializeDate,skipNulls:"boolean"==typeof e.skipNulls?e.skipNulls:p.skipNulls,sort:"function"==typeof e.sort?e.sort:null,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:p.strictNullHandling}}(t);"function"==typeof u.filter?r=(0,u.filter)("",r):s(u.filter)&&(n=u.filter);var c,f=[];if("object"!=typeof r||null===r)return"";c=t&&t.arrayFormat in a?t.arrayFormat:t&&"indices"in t?t.indices?"indices":"repeat":"indices";var d=a[c];n||(n=Object.keys(r)),u.sort&&n.sort(u.sort);for(var g=0;g<n.length;++g){var m=n[g];u.skipNulls&&null===r[m]||l(f,h(r[m],m,d,u.strictNullHandling,u.skipNulls,u.encode?u.encoder:null,u.filter,u.sort,u.allowDots,u.serializeDate,u.format,u.formatter,u.encodeValuesOnly,u.charset))}var y=f.join(u.delimiter),v=!0===u.addQueryPrefix?"?":"";return u.charsetSentinel&&("iso-8859-1"===u.charset?v+="utf8=%26%2310003%3B&":v+="utf8=%E2%9C%93&"),y.length>0?v+y:""}},12769:function(e,t,n){"use strict";var r=n(55798),i=Object.prototype.hasOwnProperty,o=Array.isArray,a=function(){for(var e=[],t=0;t<256;++t)e.push("%"+((t<16?"0":"")+t.toString(16)).toUpperCase());return e}(),s=function(e,t){for(var n=t&&t.plainObjects?Object.create(null):{},r=0;r<e.length;++r)void 0!==e[r]&&(n[r]=e[r]);return n};e.exports={arrayToObject:s,assign:function(e,t){return Object.keys(t).reduce((function(e,n){return e[n]=t[n],e}),e)},combine:function(e,t){return[].concat(e,t)},compact:function(e){for(var t=[{obj:{o:e},prop:"o"}],n=[],r=0;r<t.length;++r)for(var i=t[r],a=i.obj[i.prop],s=Object.keys(a),u=0;u<s.length;++u){var c=s[u],l=a[c];"object"==typeof l&&null!==l&&-1===n.indexOf(l)&&(t.push({obj:a,prop:c}),n.push(l))}return function(e){for(;e.length>1;){var t=e.pop(),n=t.obj[t.prop];if(o(n)){for(var r=[],i=0;i<n.length;++i)void 0!==n[i]&&r.push(n[i]);t.obj[t.prop]=r}}}(t),e},decode:function(e,t,n){var r=e.replace(/\+/g," ");if("iso-8859-1"===n)return r.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(r)}catch(e){return r}},encode:function(e,t,n,i,o){if(0===e.length)return e;var s=e;if("symbol"==typeof e?s=Symbol.prototype.toString.call(e):"string"!=typeof e&&(s=String(e)),"iso-8859-1"===n)return escape(s).replace(/%u[0-9a-f]{4}/gi,(function(e){return"%26%23"+parseInt(e.slice(2),16)+"%3B"}));for(var u="",c=0;c<s.length;++c){var l=s.charCodeAt(c);45===l||46===l||95===l||126===l||l>=48&&l<=57||l>=65&&l<=90||l>=97&&l<=122||o===r.RFC1738&&(40===l||41===l)?u+=s.charAt(c):l<128?u+=a[l]:l<2048?u+=a[192|l>>6]+a[128|63&l]:l<55296||l>=57344?u+=a[224|l>>12]+a[128|l>>6&63]+a[128|63&l]:(c+=1,l=65536+((1023&l)<<10|1023&s.charCodeAt(c)),u+=a[240|l>>18]+a[128|l>>12&63]+a[128|l>>6&63]+a[128|63&l])}return u},isBuffer:function(e){return!(!e||"object"!=typeof e)&&!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))},isRegExp:function(e){return"[object RegExp]"===Object.prototype.toString.call(e)},maybeMap:function(e,t){if(o(e)){for(var n=[],r=0;r<e.length;r+=1)n.push(t(e[r]));return n}return t(e)},merge:function e(t,n,r){if(!n)return t;if("object"!=typeof n){if(o(t))t.push(n);else{if(!t||"object"!=typeof t)return[t,n];(r&&(r.plainObjects||r.allowPrototypes)||!i.call(Object.prototype,n))&&(t[n]=!0)}return t}if(!t||"object"!=typeof t)return[t].concat(n);var a=t;return o(t)&&!o(n)&&(a=s(t,r)),o(t)&&o(n)?(n.forEach((function(n,o){if(i.call(t,o)){var a=t[o];a&&"object"==typeof a&&n&&"object"==typeof n?t[o]=e(a,n,r):t.push(n)}else t[o]=n})),t):Object.keys(n).reduce((function(t,o){var a=n[o];return i.call(t,o)?t[o]=e(t[o],a,r):t[o]=a,t}),a)}}},62587:function(e){"use strict";function t(e,t){return Object.prototype.hasOwnProperty.call(e,t)}e.exports=function(e,n,r,i){n=n||"&",r=r||"=";var o={};if("string"!=typeof e||0===e.length)return o;var a=/\+/g;e=e.split(n);var s=1e3;i&&"number"==typeof i.maxKeys&&(s=i.maxKeys);var u=e.length;s>0&&u>s&&(u=s);for(var c=0;c<u;++c){var l,f,d,p,h=e[c].replace(a,"%20"),g=h.indexOf(r);g>=0?(l=h.substr(0,g),f=h.substr(g+1)):(l=h,f=""),d=decodeURIComponent(l),p=decodeURIComponent(f),t(o,d)?Array.isArray(o[d])?o[d].push(p):o[d]=[o[d],p]:o[d]=p}return o}},12361:function(e){"use strict";var t=function(e){switch(typeof e){case"string":return e;case"boolean":return e?"true":"false";case"number":return isFinite(e)?e:"";default:return""}};e.exports=function(e,n,r,i){return n=n||"&",r=r||"=",null===e&&(e=void 0),"object"==typeof e?Object.keys(e).map((function(i){var o=encodeURIComponent(t(i))+r;return Array.isArray(e[i])?e[i].map((function(e){return o+encodeURIComponent(t(e))})).join(n):o+encodeURIComponent(t(e[i]))})).join(n):i?encodeURIComponent(t(i))+r+encodeURIComponent(t(e)):""}},17673:function(e,t,n){"use strict";t.decode=t.parse=n(62587),t.encode=t.stringify=n(12361)},74249:function(e,t,n){"use strict";n.d(t,{Z:function(){return f}});var r=n(77897),i=null,o=null;try{i=new Function("return function* () {}")().constructor,o=(0,r.is)(i)}catch(e){o=r.F}var a=(0,r.curryN)(1,(0,r.either)((0,r.pipe)(r.type,(0,r.identical)("GeneratorFunction")),o)),s=(0,r.curryN)(1,(0,r.pipe)(r.type,(0,r.identical)("AsyncFunction"))),u=(0,r.anyPass)([(0,r.pipe)(r.type,(0,r.identical)("Function")),a,s]),c=(0,r.curryN)(1,u(Array.isArray)?Array.isArray:(0,r.pipe)(r.type,(0,r.identical)("Array"))),l=(0,r.complement)(c),f=(0,r.when)(l,r.of)},58726:function(e,t,n){"use strict";var r=n(77897),i=(0,r.curryN)(1,(0,r.either)(r.isNil,r.isEmpty));t.Z=i},62234:function(e,t,n){"use strict";var r=n(77897),i=(0,r.complement)(r.isEmpty);t.Z=i},40476:function(e,t,n){"use strict";var r=n(77897),i=(0,r.complement)(r.isNil);t.Z=i},23298:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(77897),i=(0,r.equals)(null),o=(0,r.complement)(i)},77897:function(e,t,n){e.exports={F:n(91369),T:n(53007),__:n(34923),add:n(63073),addIndex:n(45582),adjust:n(82515),all:n(22626),allPass:n(57735),always:n(54115),and:n(42537),any:n(78095),anyPass:n(98766),ap:n(77693),aperture:n(85133),append:n(89576),apply:n(75748),applySpec:n(58375),ascend:n(7772),assoc:n(66497),assocPath:n(32423),binary:n(70962),bind:n(63195),both:n(23018),call:n(2703),chain:n(79098),clamp:n(11),clone:n(91549),comparator:n(83428),complement:n(36573),compose:n(50557),composeK:n(37013),composeP:n(33784),concat:n(54405),cond:n(17794),construct:n(27448),constructN:n(96809),contains:n(61949),converge:n(38907),countBy:n(78324),curry:n(3087),curryN:n(2220),dec:n(17919),defaultTo:n(52892),descend:n(78045),difference:n(34226),differenceWith:n(22013),dissoc:n(92650),dissocPath:n(72337),divide:n(47166),drop:n(78821),dropLast:n(50898),dropLastWhile:n(62520),dropRepeats:n(74649),dropRepeatsWith:n(43432),dropWhile:n(51008),either:n(14087),empty:n(8403),endsWith:n(30796),eqBy:n(24486),eqProps:n(54228),equals:n(51481),evolve:n(22624),filter:n(51383),find:n(46376),findIndex:n(53523),findLast:n(79605),findLastIndex:n(52417),flatten:n(77414),flip:n(9134),forEach:n(15636),forEachObjIndexed:n(28860),fromPairs:n(425),groupBy:n(10449),groupWith:n(17233),gt:n(72038),gte:n(88524),has:n(97877),hasIn:n(85809),head:n(46408),identical:n(35713),identity:n(69105),ifElse:n(23710),inc:n(40486),indexBy:n(40731),indexOf:n(73411),init:n(51010),innerJoin:n(99496),insert:n(27938),insertAll:n(87449),intersection:n(26921),intersectionWith:n(33183),intersperse:n(72577),into:n(33795),invert:n(92778),invertObj:n(62380),invoker:n(25189),is:n(9443),isEmpty:n(42157),isNil:n(13657),join:n(18231),juxt:n(55389),keys:n(90368),keysIn:n(17716),last:n(27601),lastIndexOf:n(43448),length:n(24234),lens:n(83087),lensIndex:n(76584),lensPath:n(13207),lensProp:n(25677),lift:n(4041),liftN:n(1272),lt:n(97560),lte:n(13594),map:n(61894),mapAccum:n(11282),mapAccumRight:n(51187),mapObjIndexed:n(90013),match:n(6087),mathMod:n(39175),max:n(21186),maxBy:n(91121),mean:n(70182),median:n(98442),memoize:n(54749),memoizeWith:n(37365),merge:n(20780),mergeAll:n(51493),mergeDeepLeft:n(88576),mergeDeepRight:n(57046),mergeDeepWith:n(71334),mergeDeepWithKey:n(39036),mergeWith:n(71008),mergeWithKey:n(56027),min:n(25624),minBy:n(72121),modulo:n(52395),multiply:n(1102),nAry:n(40864),negate:n(709),none:n(79916),not:n(22184),nth:n(87041),nthArg:n(33367),o:n(62809),objOf:n(144),of:n(70682),omit:n(61584),once:n(79487),or:n(18384),over:n(92738),pair:n(68380),partial:n(96942),partialRight:n(69025),partition:n(38135),path:n(87430),pathEq:n(40437),pathOr:n(54782),pathSatisfies:n(4991),pick:n(5206),pickAll:n(68976),pickBy:n(12964),pipe:n(4603),pipeK:n(84136),pipeP:n(96828),pluck:n(84585),prepend:n(80409),product:n(18890),project:n(61391),prop:n(52478),propEq:n(18371),propIs:n(58426),propOr:n(53176),propSatisfies:n(67430),props:n(64691),range:n(56396),reduce:n(20793),reduceBy:n(44285),reduceRight:n(47981),reduceWhile:n(16392),reduced:n(39280),reject:n(63266),remove:n(99072),repeat:n(33633),replace:n(5683),reverse:n(65814),scan:n(95485),sequence:n(233),set:n(5994),slice:n(81753),sort:n(36218),sortBy:n(1667),sortWith:n(39153),split:n(12601),splitAt:n(68959),splitEvery:n(59241),splitWhen:n(9781),startsWith:n(60830),subtract:n(29454),sum:n(36945),symmetricDifference:n(16722),symmetricDifferenceWith:n(7776),tail:n(43656),take:n(94744),takeLast:n(18703),takeLastWhile:n(96412),takeWhile:n(27050),tap:n(6037),test:n(73495),times:n(32250),toLower:n(80620),toPairs:n(98313),toPairsIn:n(44739),toString:n(15243),toUpper:n(74633),transduce:n(63158),transpose:n(5466),traverse:n(40231),trim:n(67031),tryCatch:n(55105),type:n(36433),unapply:n(59378),unary:n(51380),uncurryN:n(1465),unfold:n(32936),union:n(30275),unionWith:n(90014),uniq:n(90086),uniqBy:n(54025),uniqWith:n(77263),unless:n(61937),unnest:n(51497),until:n(51800),update:n(67964),useWith:n(40517),values:n(33411),valuesIn:n(75988),view:n(43931),when:n(47176),where:n(39629),whereEq:n(15598),without:n(76290),xprod:n(90482),zip:n(5086),zipObj:n(47858),zipWith:n(30635)}},91369:function(e,t,n){var r=n(54115);e.exports=r(!1)},53007:function(e,t,n){var r=n(54115);e.exports=r(!0)},34923:function(e){e.exports={"@@functional/placeholder":!0}},63073:function(e,t,n){var r=n(79002);e.exports=r((function(e,t){return Number(e)+Number(t)}))},45582:function(e,t,n){var r=n(14011),i=n(76224),o=n(2220);e.exports=i((function(e){return o(e.length,(function(){var t=0,n=arguments[0],i=arguments[arguments.length-1],o=Array.prototype.slice.call(arguments,0);return o[0]=function(){var e=n.apply(this,r(arguments,[t,i]));return t+=1,e},e.apply(this,o)}))}))},82515:function(e,t,n){var r=n(14011),i=n(16370);e.exports=i((function(e,t,n){if(t>=n.length||t<-n.length)return n;var i=(t<0?n.length:0)+t,o=r(n);return o[i]=e(n[i]),o}))},22626:function(e,t,n){var r=n(79002),i=n(34793),o=n(15750);e.exports=r(i(["all"],o,(function(e,t){for(var n=0;n<t.length;){if(!e(t[n]))return!1;n+=1}return!0})))},57735:function(e,t,n){var r=n(76224),i=n(2220),o=n(21186),a=n(84585),s=n(20793);e.exports=r((function(e){return i(s(o,0,a("length",e)),(function(){for(var t=0,n=e.length;t<n;){if(!e[t].apply(this,arguments))return!1;t+=1}return!0}))}))},54115:function(e,t,n){var r=n(76224);e.exports=r((function(e){return function(){return e}}))},42537:function(e,t,n){var r=n(79002);e.exports=r((function(e,t){return e&&t}))},78095:function(e,t,n){var r=n(79002),i=n(34793),o=n(43622);e.exports=r(i(["any"],o,(function(e,t){for(var n=0;n<t.length;){if(e(t[n]))return!0;n+=1}return!1})))},98766:function(e,t,n){var r=n(76224),i=n(2220),o=n(21186),a=n(84585),s=n(20793);e.exports=r((function(e){return i(s(o,0,a("length",e)),(function(){for(var t=0,n=e.length;t<n;){if(e[t].apply(this,arguments))return!0;t+=1}return!1}))}))},77693:function(e,t,n){var r=n(14011),i=n(79002),o=n(39488),a=n(61894);e.exports=i((function(e,t){return"function"==typeof t["fantasy-land/ap"]?t["fantasy-land/ap"](e):"function"==typeof e.ap?e.ap(t):"function"==typeof e?function(n){return e(n)(t(n))}:o((function(e,n){return r(e,a(n,t))}),[],e)}))},85133:function(e,t,n){var r=n(45179),i=n(79002),o=n(34793),a=n(76020);e.exports=i(o([],a,r))},89576:function(e,t,n){var r=n(14011),i=n(79002);e.exports=i((function(e,t){return r(t,[e])}))},75748:function(e,t,n){var r=n(79002);e.exports=r((function(e,t){return e.apply(this,t)}))},58375:function(e,t,n){var r=n(76224),i=n(75748),o=n(2220),a=n(61894),s=n(21186),u=n(84585),c=n(20793),l=n(33411);e.exports=r((function e(t){return t=a((function(t){return"function"==typeof t?t:e(t)}),t),o(c(s,0,u("length",l(t))),(function(){var e=arguments;return a((function(t){return i(t,e)}),t)}))}))},7772:function(e,t,n){var r=n(16370);e.exports=r((function(e,t,n){var r=e(t),i=e(n);return r<i?-1:r>i?1:0}))},66497:function(e,t,n){var r=n(16370);e.exports=r((function(e,t,n){var r={};for(var i in n)r[i]=n[i];return r[e]=t,r}))},32423:function(e,t,n){var r=n(16370),i=n(87684),o=n(20219),a=n(37e3),s=n(66497),u=n(13657);e.exports=r((function e(t,n,r){if(0===t.length)return n;var c=t[0];if(t.length>1){var l=!u(r)&&i(c,r)?r[c]:a(t[1])?[]:{};n=e(Array.prototype.slice.call(t,1),n,l)}if(a(c)&&o(r)){var f=[].concat(r);return f[c]=n,f}return s(c,n,r)}))},70962:function(e,t,n){var r=n(76224),i=n(40864);e.exports=r((function(e){return i(2,e)}))},63195:function(e,t,n){var r=n(7455),i=n(79002);e.exports=i((function(e,t){return r(e.length,(function(){return e.apply(t,arguments)}))}))},23018:function(e,t,n){var r=n(79002),i=n(62144),o=n(42537),a=n(4041);e.exports=r((function(e,t){return i(e)?function(){return e.apply(this,arguments)&&t.apply(this,arguments)}:a(o)(e,t)}))},2703:function(e,t,n){var r=n(3087);e.exports=r((function(e){return e.apply(this,Array.prototype.slice.call(arguments,1))}))},79098:function(e,t,n){var r=n(79002),i=n(34793),o=n(55161),a=n(64814),s=n(61894);e.exports=r(i(["fantasy-land/chain","chain"],a,(function(e,t){return"function"==typeof t?function(n){return e(t(n))(n)}:o(!1)(s(e,t))})))},11:function(e,t,n){var r=n(16370);e.exports=r((function(e,t,n){if(e>t)throw new Error("min must not be greater than max in clamp(min, max, value)");return n<e?e:n>t?t:n}))},91549:function(e,t,n){var r=n(45114),i=n(76224);e.exports=i((function(e){return null!=e&&"function"==typeof e.clone?e.clone():r(e,[],[],!0)}))},83428:function(e,t,n){var r=n(76224);e.exports=r((function(e){return function(t,n){return e(t,n)?-1:e(n,t)?1:0}}))},36573:function(e,t,n){var r=n(4041),i=n(22184);e.exports=r(i)},50557:function(e,t,n){var r=n(4603),i=n(65814);e.exports=function(){if(0===arguments.length)throw new Error("compose requires at least one argument");return r.apply(this,i(arguments))}},37013:function(e,t,n){var r=n(79098),i=n(50557),o=n(61894);e.exports=function(){if(0===arguments.length)throw new Error("composeK requires at least one argument");var e=Array.prototype.slice.call(arguments),t=e.pop();return i(i.apply(this,o(r,e)),t)}},33784:function(e,t,n){var r=n(96828),i=n(65814);e.exports=function(){if(0===arguments.length)throw new Error("composeP requires at least one argument");return r.apply(this,i(arguments))}},54405:function(e,t,n){var r=n(79002),i=n(20219),o=n(62144),a=n(20190),s=n(15243);e.exports=r((function(e,t){if(i(e)){if(i(t))return e.concat(t);throw new TypeError(s(t)+" is not an array")}if(a(e)){if(a(t))return e+t;throw new TypeError(s(t)+" is not a string")}if(null!=e&&o(e["fantasy-land/concat"]))return e["fantasy-land/concat"](t);if(null!=e&&o(e.concat))return e.concat(t);throw new TypeError(s(e)+' does not have a method named "concat" or "fantasy-land/concat"')}))},17794:function(e,t,n){var r=n(7455),i=n(76224),o=n(61894),a=n(21186),s=n(20793);e.exports=i((function(e){var t=s(a,0,o((function(e){return e[0].length}),e));return r(t,(function(){for(var t=0;t<e.length;){if(e[t][0].apply(this,arguments))return e[t][1].apply(this,arguments);t+=1}}))}))},27448:function(e,t,n){var r=n(76224),i=n(96809);e.exports=r((function(e){return i(e.length,e)}))},96809:function(e,t,n){var r=n(79002),i=n(3087),o=n(40864);e.exports=r((function(e,t){if(e>10)throw new Error("Constructor with greater than ten arguments");return 0===e?function(){return new t}:i(o(e,(function(e,n,r,i,o,a,s,u,c,l){switch(arguments.length){case 1:return new t(e);case 2:return new t(e,n);case 3:return new t(e,n,r);case 4:return new t(e,n,r,i);case 5:return new t(e,n,r,i,o);case 6:return new t(e,n,r,i,o,a);case 7:return new t(e,n,r,i,o,a,s);case 8:return new t(e,n,r,i,o,a,s,u);case 9:return new t(e,n,r,i,o,a,s,u,c);case 10:return new t(e,n,r,i,o,a,s,u,c,l)}})))}))},61949:function(e,t,n){var r=n(64281),i=n(79002);e.exports=i(r)},38907:function(e,t,n){var r=n(79002),i=n(36692),o=n(2220),a=n(21186),s=n(84585),u=n(20793);e.exports=r((function(e,t){return o(u(a,0,s("length",t)),(function(){var n=arguments,r=this;return e.apply(r,i((function(e){return e.apply(r,n)}),t))}))}))},78324:function(e,t,n){var r=n(44285);e.exports=r((function(e,t){return e+1}),0)},3087:function(e,t,n){var r=n(76224),i=n(2220);e.exports=r((function(e){return i(e.length,e)}))},2220:function(e,t,n){var r=n(7455),i=n(76224),o=n(79002),a=n(32738);e.exports=o((function(e,t){return 1===e?i(t):r(e,a(e,[],t))}))},17919:function(e,t,n){var r=n(63073);e.exports=r(-1)},52892:function(e,t,n){var r=n(79002);e.exports=r((function(e,t){return null==t||t!=t?e:t}))},78045:function(e,t,n){var r=n(16370);e.exports=r((function(e,t,n){var r=e(t),i=e(n);return r>i?-1:r<i?1:0}))},34226:function(e,t,n){var r=n(64281),i=n(79002);e.exports=i((function(e,t){for(var n=[],i=0,o=e.length;i<o;)r(e[i],t)||r(e[i],n)||(n[n.length]=e[i]),i+=1;return n}))},22013:function(e,t,n){var r=n(28247),i=n(16370);e.exports=i((function(e,t,n){for(var i=[],o=0,a=t.length;o<a;)r(e,t[o],n)||r(e,t[o],i)||i.push(t[o]),o+=1;return i}))},92650:function(e,t,n){var r=n(79002);e.exports=r((function(e,t){var n={};for(var r in t)n[r]=t[r];return delete n[e],n}))},72337:function(e,t,n){var r=n(79002),i=n(37e3),o=n(66497),a=n(92650),s=n(99072),u=n(67964);e.exports=r((function e(t,n){switch(t.length){case 0:return n;case 1:return i(t[0])?s(t[0],1,n):a(t[0],n);default:var r=t[0],c=Array.prototype.slice.call(t,1);return null==n[r]?n:i(t[0])?u(r,e(c,n[r]),n):o(r,e(c,n[r]),n)}}))},47166:function(e,t,n){var r=n(79002);e.exports=r((function(e,t){return e/t}))},78821:function(e,t,n){var r=n(79002),i=n(34793),o=n(41700),a=n(81753);e.exports=r(i(["drop"],o,(function(e,t){return a(Math.max(0,e),1/0,t)})))},50898:function(e,t,n){var r=n(79002),i=n(34793),o=n(11247),a=n(4534);e.exports=r(i([],a,o))},62520:function(e,t,n){var r=n(79002),i=n(34793),o=n(57288),a=n(34783);e.exports=r(i([],a,o))},74649:function(e,t,n){var r=n(76224),i=n(34793),o=n(6234),a=n(43432),s=n(51481);e.exports=r(i([],o(s),a(s)))},43432:function(e,t,n){var r=n(79002),i=n(34793),o=n(6234),a=n(27601);e.exports=r(i([],o,(function(e,t){var n=[],r=1,i=t.length;if(0!==i)for(n[0]=t[0];r<i;)e(a(n),t[r])||(n[n.length]=t[r]),r+=1;return n})))},51008:function(e,t,n){var r=n(79002),i=n(34793),o=n(1908);e.exports=r(i(["dropWhile"],o,(function(e,t){for(var n=0,r=t.length;n<r&&e(t[n]);)n+=1;return Array.prototype.slice.call(t,n)})))},14087:function(e,t,n){var r=n(79002),i=n(62144),o=n(4041),a=n(18384);e.exports=r((function(e,t){return i(e)?function(){return e.apply(this,arguments)||t.apply(this,arguments)}:o(a)(e,t)}))},8403:function(e,t,n){var r=n(76224),i=n(97587),o=n(20219),a=n(8291),s=n(20190);e.exports=r((function(e){return null!=e&&"function"==typeof e["fantasy-land/empty"]?e["fantasy-land/empty"]():null!=e&&null!=e.constructor&&"function"==typeof e.constructor["fantasy-land/empty"]?e.constructor["fantasy-land/empty"]():null!=e&&"function"==typeof e.empty?e.empty():null!=e&&null!=e.constructor&&"function"==typeof e.constructor.empty?e.constructor.empty():o(e)?[]:s(e)?"":a(e)?{}:i(e)?function(){return arguments}():void 0}))},30796:function(e,t,n){var r=n(79002),i=n(51481),o=n(18703);e.exports=r((function(e,t){return i(o(e.length,t),e)}))},24486:function(e,t,n){var r=n(16370),i=n(51481);e.exports=r((function(e,t,n){return i(e(t),e(n))}))},54228:function(e,t,n){var r=n(16370),i=n(51481);e.exports=r((function(e,t,n){return i(t[e],n[e])}))},51481:function(e,t,n){var r=n(79002),i=n(74023);e.exports=r((function(e,t){return i(e,t,[],[])}))},22624:function(e,t,n){var r=n(79002);e.exports=r((function e(t,n){var r,i,o,a={};for(i in n)o=typeof(r=t[i]),a[i]="function"===o?r(n[i]):r&&"object"===o?e(r,n[i]):n[i];return a}))},51383:function(e,t,n){var r=n(79002),i=n(34793),o=n(34877),a=n(8291),s=n(39488),u=n(11383),c=n(90368);e.exports=r(i(["filter"],u,(function(e,t){return a(t)?s((function(n,r){return e(t[r])&&(n[r]=t[r]),n}),{},c(t)):o(e,t)})))},46376:function(e,t,n){var r=n(79002),i=n(34793),o=n(47855);e.exports=r(i(["find"],o,(function(e,t){for(var n=0,r=t.length;n<r;){if(e(t[n]))return t[n];n+=1}})))},53523:function(e,t,n){var r=n(79002),i=n(34793),o=n(20834);e.exports=r(i([],o,(function(e,t){for(var n=0,r=t.length;n<r;){if(e(t[n]))return n;n+=1}return-1})))},79605:function(e,t,n){var r=n(79002),i=n(34793),o=n(28922);e.exports=r(i([],o,(function(e,t){for(var n=t.length-1;n>=0;){if(e(t[n]))return t[n];n-=1}})))},52417:function(e,t,n){var r=n(79002),i=n(34793),o=n(36626);e.exports=r(i([],o,(function(e,t){for(var n=t.length-1;n>=0;){if(e(t[n]))return n;n-=1}return-1})))},77414:function(e,t,n){var r=n(76224),i=n(55161);e.exports=r(i(!0))},9134:function(e,t,n){var r=n(76224),i=n(3087);e.exports=r((function(e){return i((function(t,n){var r=Array.prototype.slice.call(arguments,0);return r[0]=n,r[1]=t,e.apply(this,r)}))}))},15636:function(e,t,n){var r=n(73542),i=n(79002);e.exports=i(r("forEach",(function(e,t){for(var n=t.length,r=0;r<n;)e(t[r]),r+=1;return t})))},28860:function(e,t,n){var r=n(79002),i=n(90368);e.exports=r((function(e,t){for(var n=i(t),r=0;r<n.length;){var o=n[r];e(t[o],o,t),r+=1}return t}))},425:function(e,t,n){var r=n(76224);e.exports=r((function(e){for(var t={},n=0;n<e.length;)t[e[n][0]]=e[n][1],n+=1;return t}))},10449:function(e,t,n){var r=n(73542),i=n(79002),o=n(44285);e.exports=i(r("groupBy",o((function(e,t){return null==e&&(e=[]),e.push(t),e}),null)))},17233:function(e,t,n){var r=n(79002);e.exports=r((function(e,t){for(var n=[],r=0,i=t.length;r<i;){for(var o=r+1;o<i&&e(t[o-1],t[o]);)o+=1;n.push(t.slice(r,o)),r=o}return n}))},72038:function(e,t,n){var r=n(79002);e.exports=r((function(e,t){return e>t}))},88524:function(e,t,n){var r=n(79002);e.exports=r((function(e,t){return e>=t}))},97877:function(e,t,n){var r=n(79002),i=n(87684);e.exports=r(i)},85809:function(e,t,n){var r=n(79002);e.exports=r((function(e,t){return e in t}))},46408:function(e,t,n){var r=n(87041);e.exports=r(0)},35713:function(e,t,n){var r=n(79002);e.exports=r((function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}))},69105:function(e,t,n){var r=n(76224),i=n(50339);e.exports=r(i)},23710:function(e,t,n){var r=n(16370),i=n(2220);e.exports=r((function(e,t,n){return i(Math.max(e.length,t.length,n.length),(function(){return e.apply(this,arguments)?t.apply(this,arguments):n.apply(this,arguments)}))}))},40486:function(e,t,n){var r=n(63073);e.exports=r(1)},40731:function(e,t,n){var r=n(44285);e.exports=r((function(e,t){return t}),null)},73411:function(e,t,n){var r=n(79002),i=n(96069),o=n(20219);e.exports=r((function(e,t){return"function"!=typeof t.indexOf||o(t)?i(t,e,0):t.indexOf(e)}))},51010:function(e,t,n){var r=n(81753);e.exports=r(0,-1)},99496:function(e,t,n){var r=n(28247),i=n(16370),o=n(34877);e.exports=i((function(e,t,n){return o((function(t){return r(e,t,n)}),t)}))},27938:function(e,t,n){var r=n(16370);e.exports=r((function(e,t,n){e=e<n.length&&e>=0?e:n.length;var r=Array.prototype.slice.call(n,0);return r.splice(e,0,t),r}))},87449:function(e,t,n){var r=n(16370);e.exports=r((function(e,t,n){return e=e<n.length&&e>=0?e:n.length,[].concat(Array.prototype.slice.call(n,0,e),t,Array.prototype.slice.call(n,e))}))},8876:function(e,t,n){var r=n(64281);e.exports=function(){function e(){this._nativeSet="function"==typeof Set?new Set:null,this._items={}}function t(e,t,n){var i,o=typeof e;switch(o){case"string":case"number":return 0===e&&1/e==-1/0?!!n._items["-0"]||(t&&(n._items["-0"]=!0),!1):null!==n._nativeSet?t?(i=n._nativeSet.size,n._nativeSet.add(e),n._nativeSet.size===i):n._nativeSet.has(e):o in n._items?e in n._items[o]||(t&&(n._items[o][e]=!0),!1):(t&&(n._items[o]={},n._items[o][e]=!0),!1);case"boolean":if(o in n._items){var a=e?1:0;return!!n._items[o][a]||(t&&(n._items[o][a]=!0),!1)}return t&&(n._items[o]=e?[!1,!0]:[!0,!1]),!1;case"function":return null!==n._nativeSet?t?(i=n._nativeSet.size,n._nativeSet.add(e),n._nativeSet.size===i):n._nativeSet.has(e):o in n._items?!!r(e,n._items[o])||(t&&n._items[o].push(e),!1):(t&&(n._items[o]=[e]),!1);case"undefined":return!!n._items[o]||(t&&(n._items[o]=!0),!1);case"object":if(null===e)return!!n._items.null||(t&&(n._items.null=!0),!1);default:return(o=Object.prototype.toString.call(e))in n._items?!!r(e,n._items[o])||(t&&n._items[o].push(e),!1):(t&&(n._items[o]=[e]),!1)}}return e.prototype.add=function(e){return!t(e,!0,this)},e.prototype.has=function(e){return t(e,!1,this)},e}()},45179:function(e){e.exports=function(e,t){for(var n=0,r=t.length-(e-1),i=new Array(r>=0?r:0);n<r;)i[n]=Array.prototype.slice.call(t,n,n+e),n+=1;return i}},7455:function(e){e.exports=function(e,t){switch(e){case 0:return function(){return t.apply(this,arguments)};case 1:return function(e){return t.apply(this,arguments)};case 2:return function(e,n){return t.apply(this,arguments)};case 3:return function(e,n,r){return t.apply(this,arguments)};case 4:return function(e,n,r,i){return t.apply(this,arguments)};case 5:return function(e,n,r,i,o){return t.apply(this,arguments)};case 6:return function(e,n,r,i,o,a){return t.apply(this,arguments)};case 7:return function(e,n,r,i,o,a,s){return t.apply(this,arguments)};case 8:return function(e,n,r,i,o,a,s,u){return t.apply(this,arguments)};case 9:return function(e,n,r,i,o,a,s,u,c){return t.apply(this,arguments)};case 10:return function(e,n,r,i,o,a,s,u,c,l){return t.apply(this,arguments)};default:throw new Error("First argument to _arity must be a non-negative integer no greater than ten")}}},54118:function(e){e.exports=function(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}},82512:function(e,t,n){var r=n(4778);e.exports="function"==typeof Object.assign?Object.assign:r},73542:function(e,t,n){var r=n(20219);e.exports=function(e,t){return function(){var n=arguments.length;if(0===n)return t();var i=arguments[n-1];return r(i)||"function"!=typeof i[e]?t.apply(this,arguments):i[e].apply(i,Array.prototype.slice.call(arguments,0,n-1))}}},45114:function(e,t,n){var r=n(9039),i=n(36433);e.exports=function e(t,n,o,a){var s=function(r){for(var i=n.length,s=0;s<i;){if(t===n[s])return o[s];s+=1}for(var u in n[s+1]=t,o[s+1]=r,t)r[u]=a?e(t[u],n,o,!0):t[u];return r};switch(i(t)){case"Object":return s({});case"Array":return s([]);case"Date":return new Date(t.valueOf());case"RegExp":return r(t);default:return t}}},9039:function(e){e.exports=function(e){return new RegExp(e.source,(e.global?"g":"")+(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.sticky?"y":"")+(e.unicode?"u":""))}},48770:function(e){e.exports=function(e){return function(){return!e.apply(this,arguments)}}},14011:function(e){e.exports=function(e,t){var n;t=t||[];var r=(e=e||[]).length,i=t.length,o=[];for(n=0;n<r;)o[o.length]=e[n],n+=1;for(n=0;n<i;)o[o.length]=t[n],n+=1;return o}},64281:function(e,t,n){var r=n(96069);e.exports=function(e,t){return r(t,e,0)>=0}},28247:function(e){e.exports=function(e,t,n){for(var r=0,i=n.length;r<i;){if(e(t,n[r]))return!0;r+=1}return!1}},57994:function(e,t,n){var r=n(7455),i=n(79002);e.exports=function(e){return i((function(t,n){return r(Math.max(0,t.length-n.length),(function(){return t.apply(this,e(n,arguments))}))}))}},76224:function(e,t,n){var r=n(36464);e.exports=function(e){return function t(n){return 0===arguments.length||r(n)?t:e.apply(this,arguments)}}},79002:function(e,t,n){var r=n(76224),i=n(36464);e.exports=function(e){return function t(n,o){switch(arguments.length){case 0:return t;case 1:return i(n)?t:r((function(t){return e(n,t)}));default:return i(n)&&i(o)?t:i(n)?r((function(t){return e(t,o)})):i(o)?r((function(t){return e(n,t)})):e(n,o)}}}},16370:function(e,t,n){var r=n(76224),i=n(79002),o=n(36464);e.exports=function(e){return function t(n,a,s){switch(arguments.length){case 0:return t;case 1:return o(n)?t:i((function(t,r){return e(n,t,r)}));case 2:return o(n)&&o(a)?t:o(n)?i((function(t,n){return e(t,a,n)})):o(a)?i((function(t,r){return e(n,t,r)})):r((function(t){return e(n,a,t)}));default:return o(n)&&o(a)&&o(s)?t:o(n)&&o(a)?i((function(t,n){return e(t,n,s)})):o(n)&&o(s)?i((function(t,n){return e(t,a,n)})):o(a)&&o(s)?i((function(t,r){return e(n,t,r)})):o(n)?r((function(t){return e(t,a,s)})):o(a)?r((function(t){return e(n,t,s)})):o(s)?r((function(t){return e(n,a,t)})):e(n,a,s)}}}},32738:function(e,t,n){var r=n(7455),i=n(36464);e.exports=function e(t,n,o){return function(){for(var a=[],s=0,u=t,c=0;c<n.length||s<arguments.length;){var l;c<n.length&&(!i(n[c])||s>=arguments.length)?l=n[c]:(l=arguments[s],s+=1),a[c]=l,i(l)||(u-=1),c+=1}return u<=0?o.apply(this,a):r(u,e(t,a,o))}}},34793:function(e,t,n){var r=n(20219),i=n(69082);e.exports=function(e,t,n){return function(){if(0===arguments.length)return n();var o=Array.prototype.slice.call(arguments,0),a=o.pop();if(!r(a)){for(var s=0;s<e.length;){if("function"==typeof a[e[s]])return a[e[s]].apply(a,o);s+=1}if(i(a)){var u=t.apply(null,o);return u(a)}}return n.apply(this,arguments)}}},11247:function(e,t,n){var r=n(94744);e.exports=function(e,t){return r(e<t.length?t.length-e:0,t)}},57288:function(e){e.exports=function(e,t){for(var n=t.length-1;n>=0&&e(t[n]);)n-=1;return Array.prototype.slice.call(t,0,n+1)}},74023:function(e,t,n){var r=n(54118),i=n(4931),o=n(87684),a=n(35713),s=n(90368),u=n(36433);e.exports=function e(t,n,c,l){if(a(t,n))return!0;if(u(t)!==u(n))return!1;if(null==t||null==n)return!1;if("function"==typeof t["fantasy-land/equals"]||"function"==typeof n["fantasy-land/equals"])return"function"==typeof t["fantasy-land/equals"]&&t["fantasy-land/equals"](n)&&"function"==typeof n["fantasy-land/equals"]&&n["fantasy-land/equals"](t);if("function"==typeof t.equals||"function"==typeof n.equals)return"function"==typeof t.equals&&t.equals(n)&&"function"==typeof n.equals&&n.equals(t);switch(u(t)){case"Arguments":case"Array":case"Object":if("function"==typeof t.constructor&&"Promise"===i(t.constructor))return t===n;break;case"Boolean":case"Number":case"String":if(typeof t!=typeof n||!a(t.valueOf(),n.valueOf()))return!1;break;case"Date":if(!a(t.valueOf(),n.valueOf()))return!1;break;case"Error":return t.name===n.name&&t.message===n.message;case"RegExp":if(t.source!==n.source||t.global!==n.global||t.ignoreCase!==n.ignoreCase||t.multiline!==n.multiline||t.sticky!==n.sticky||t.unicode!==n.unicode)return!1;break;case"Map":case"Set":if(!e(r(t.entries()),r(n.entries()),c,l))return!1;break;case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"ArrayBuffer":break;default:return!1}var f=s(t);if(f.length!==s(n).length)return!1;for(var d=c.length-1;d>=0;){if(c[d]===t)return l[d]===n;d-=1}for(c.push(t),l.push(n),d=f.length-1;d>=0;){var p=f[d];if(!o(p,n)||!e(n[p],t[p],c,l))return!1;d-=1}return c.pop(),l.pop(),!0}},34877:function(e){e.exports=function(e,t){for(var n=0,r=t.length,i=[];n<r;)e(t[n])&&(i[i.length]=t[n]),n+=1;return i}},8530:function(e,t,n){var r=n(50600),i=n(3219),o=n(39488),a=n(93714);e.exports=function(e){var t=function(e){return{"@@transducer/init":a.init,"@@transducer/result":function(t){return e["@@transducer/result"](t)},"@@transducer/step":function(t,n){var i=e["@@transducer/step"](t,n);return i["@@transducer/reduced"]?r(i):i}}}(e);return{"@@transducer/init":a.init,"@@transducer/result":function(e){return t["@@transducer/result"](e)},"@@transducer/step":function(e,n){return i(n)?o(t,e,n):o(t,e,[n])}}}},50600:function(e){e.exports=function(e){return{"@@transducer/value":e,"@@transducer/reduced":!0}}},4931:function(e){e.exports=function(e){var t=String(e).match(/^function (\w*)/);return null==t?"":t[1]}},87684:function(e){e.exports=function(e,t){return Object.prototype.hasOwnProperty.call(t,e)}},50339:function(e){e.exports=function(e){return e}},96069:function(e,t,n){var r=n(51481);e.exports=function(e,t,n){var i,o;if("function"==typeof e.indexOf)switch(typeof t){case"number":if(0===t){for(i=1/t;n<e.length;){if(0===(o=e[n])&&1/o===i)return n;n+=1}return-1}if(t!=t){for(;n<e.length;){if("number"==typeof(o=e[n])&&o!=o)return n;n+=1}return-1}return e.indexOf(t,n);case"string":case"boolean":case"function":case"undefined":return e.indexOf(t,n);case"object":if(null===t)return e.indexOf(t,n)}for(;n<e.length;){if(r(e[n],t))return n;n+=1}return-1}},97587:function(e,t,n){var r=n(87684);e.exports=function(){var e=Object.prototype.toString;return"[object Arguments]"===e.call(arguments)?function(t){return"[object Arguments]"===e.call(t)}:function(e){return r("callee",e)}}()},20219:function(e){e.exports=Array.isArray||function(e){return null!=e&&e.length>=0&&"[object Array]"===Object.prototype.toString.call(e)}},3219:function(e,t,n){var r=n(76224),i=n(20219),o=n(20190);e.exports=r((function(e){return!!i(e)||!!e&&("object"==typeof e&&(!o(e)&&(1===e.nodeType?!!e.length:0===e.length||e.length>0&&(e.hasOwnProperty(0)&&e.hasOwnProperty(e.length-1)))))}))},62144:function(e){e.exports=function(e){return"[object Function]"===Object.prototype.toString.call(e)}},37e3:function(e){e.exports=Number.isInteger||function(e){return e<<0===e}},58591:function(e){e.exports=function(e){return"[object Number]"===Object.prototype.toString.call(e)}},8291:function(e){e.exports=function(e){return"[object Object]"===Object.prototype.toString.call(e)}},36464:function(e){e.exports=function(e){return null!=e&&"object"==typeof e&&!0===e["@@functional/placeholder"]}},79725:function(e){e.exports=function(e){return"[object RegExp]"===Object.prototype.toString.call(e)}},20190:function(e){e.exports=function(e){return"[object String]"===Object.prototype.toString.call(e)}},69082:function(e){e.exports=function(e){return"function"==typeof e["@@transducer/step"]}},55161:function(e,t,n){var r=n(3219);e.exports=function(e){return function t(n){for(var i,o,a,s=[],u=0,c=n.length;u<c;){if(r(n[u]))for(a=0,o=(i=e?t(n[u]):n[u]).length;a<o;)s[s.length]=i[a],a+=1;else s[s.length]=n[u];u+=1}return s}}},36692:function(e){e.exports=function(e,t){for(var n=0,r=t.length,i=Array(r);n<r;)i[n]=e(t[n]),n+=1;return i}},4778:function(e,t,n){var r=n(87684);e.exports=function(e){if(null==e)throw new TypeError("Cannot convert undefined or null to object");for(var t=Object(e),n=1,i=arguments.length;n<i;){var o=arguments[n];if(null!=o)for(var a in o)r(a,o)&&(t[a]=o[a]);n+=1}return t}},58791:function(e){e.exports=function(e){return[e]}},56015:function(e){e.exports=function(e,t){return function(){return t.call(this,e.apply(this,arguments))}}},60829:function(e){e.exports=function(e,t){return function(){var n=this;return e.apply(n,arguments).then((function(e){return t.call(n,e)}))}}},76001:function(e){e.exports=function(e){return'"'+e.replace(/\\/g,"\\\\").replace(/[\b]/g,"\\b").replace(/\f/g,"\\f").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\t/g,"\\t").replace(/\v/g,"\\v").replace(/\0/g,"\\0").replace(/"/g,'\\"')+'"'}},39488:function(e,t,n){var r=n(3219),i=n(39874),o=n(63195);e.exports=function(){function e(e,t,n){for(var r=n.next();!r.done;){if((t=e["@@transducer/step"](t,r.value))&&t["@@transducer/reduced"]){t=t["@@transducer/value"];break}r=n.next()}return e["@@transducer/result"](t)}function t(e,t,n,r){return e["@@transducer/result"](n[r](o(e["@@transducer/step"],e),t))}var n="undefined"!=typeof Symbol?Symbol.iterator:"@@iterator";return function(o,a,s){if("function"==typeof o&&(o=i(o)),r(s))return function(e,t,n){for(var r=0,i=n.length;r<i;){if((t=e["@@transducer/step"](t,n[r]))&&t["@@transducer/reduced"]){t=t["@@transducer/value"];break}r+=1}return e["@@transducer/result"](t)}(o,a,s);if("function"==typeof s["fantasy-land/reduce"])return t(o,a,s,"fantasy-land/reduce");if(null!=s[n])return e(o,a,s[n]());if("function"==typeof s.next)return e(o,a,s);if("function"==typeof s.reduce)return t(o,a,s,"reduce");throw new TypeError("reduce: list must be array or iterable")}}()},22157:function(e){e.exports=function(e){return e&&e["@@transducer/reduced"]?e:{"@@transducer/value":e,"@@transducer/reduced":!0}}},74745:function(e,t,n){var r,i,o,a=n(82512),s=n(50339),u=n(3219),c=n(69082),l=n(144);e.exports=(r={"@@transducer/init":Array,"@@transducer/step":function(e,t){return e.push(t),e},"@@transducer/result":s},i={"@@transducer/init":String,"@@transducer/step":function(e,t){return e+t},"@@transducer/result":s},o={"@@transducer/init":Object,"@@transducer/step":function(e,t){return a(e,u(t)?l(t[0],t[1]):t)},"@@transducer/result":s},function(e){if(c(e))return e;if(u(e))return r;if("string"==typeof e)return i;if("object"==typeof e)return o;throw new Error("Cannot create transformer for "+e)})},5123:function(e){var t;e.exports=(t=function(e){return(e<10?"0":"")+e},"function"==typeof Date.prototype.toISOString?function(e){return e.toISOString()}:function(e){return e.getUTCFullYear()+"-"+t(e.getUTCMonth()+1)+"-"+t(e.getUTCDate())+"T"+t(e.getUTCHours())+":"+t(e.getUTCMinutes())+":"+t(e.getUTCSeconds())+"."+(e.getUTCMilliseconds()/1e3).toFixed(3).slice(2,5)+"Z"})},31136:function(e,t,n){var r=n(64281),i=n(36692),o=n(76001),a=n(5123),s=n(90368),u=n(63266);e.exports=function e(t,n){var c=function(i){var o=n.concat([t]);return r(i,o)?"<Circular>":e(i,o)},l=function(e,t){return i((function(t){return o(t)+": "+c(e[t])}),t.slice().sort())};switch(Object.prototype.toString.call(t)){case"[object Arguments]":return"(function() { return arguments; }("+i(c,t).join(", ")+"))";case"[object Array]":return"["+i(c,t).concat(l(t,u((function(e){return/^\d+$/.test(e)}),s(t)))).join(", ")+"]";case"[object Boolean]":return"object"==typeof t?"new Boolean("+c(t.valueOf())+")":t.toString();case"[object Date]":return"new Date("+(isNaN(t.valueOf())?c(NaN):o(a(t)))+")";case"[object Null]":return"null";case"[object Number]":return"object"==typeof t?"new Number("+c(t.valueOf())+")":1/t==-1/0?"-0":t.toString(10);case"[object String]":return"object"==typeof t?"new String("+c(t.valueOf())+")":o(t);case"[object Undefined]":return"undefined";default:if("function"==typeof t.toString){var f=t.toString();if("[object Object]"!==f)return f}return"{"+l(t,s(t)).join(", ")+"}"}}},15750:function(e,t,n){var r=n(79002),i=n(22157),o=n(93714);e.exports=function(){function e(e,t){this.xf=t,this.f=e,this.all=!0}return e.prototype["@@transducer/init"]=o.init,e.prototype["@@transducer/result"]=function(e){return this.all&&(e=this.xf["@@transducer/step"](e,!0)),this.xf["@@transducer/result"](e)},e.prototype["@@transducer/step"]=function(e,t){return this.f(t)||(this.all=!1,e=i(this.xf["@@transducer/step"](e,!1))),e},r((function(t,n){return new e(t,n)}))}()},43622:function(e,t,n){var r=n(79002),i=n(22157),o=n(93714);e.exports=function(){function e(e,t){this.xf=t,this.f=e,this.any=!1}return e.prototype["@@transducer/init"]=o.init,e.prototype["@@transducer/result"]=function(e){return this.any||(e=this.xf["@@transducer/step"](e,!1)),this.xf["@@transducer/result"](e)},e.prototype["@@transducer/step"]=function(e,t){return this.f(t)&&(this.any=!0,e=i(this.xf["@@transducer/step"](e,!0))),e},r((function(t,n){return new e(t,n)}))}()},76020:function(e,t,n){var r=n(14011),i=n(79002),o=n(93714);e.exports=function(){function e(e,t){this.xf=t,this.pos=0,this.full=!1,this.acc=new Array(e)}return e.prototype["@@transducer/init"]=o.init,e.prototype["@@transducer/result"]=function(e){return this.acc=null,this.xf["@@transducer/result"](e)},e.prototype["@@transducer/step"]=function(e,t){return this.store(t),this.full?this.xf["@@transducer/step"](e,this.getCopy()):e},e.prototype.store=function(e){this.acc[this.pos]=e,this.pos+=1,this.pos===this.acc.length&&(this.pos=0,this.full=!0)},e.prototype.getCopy=function(){return r(Array.prototype.slice.call(this.acc,this.pos),Array.prototype.slice.call(this.acc,0,this.pos))},i((function(t,n){return new e(t,n)}))}()},64814:function(e,t,n){var r=n(79002),i=n(8530),o=n(61894);e.exports=r((function(e,t){return o(e,i(t))}))},41700:function(e,t,n){var r=n(79002),i=n(93714);e.exports=function(){function e(e,t){this.xf=t,this.n=e}return e.prototype["@@transducer/init"]=i.init,e.prototype["@@transducer/result"]=i.result,e.prototype["@@transducer/step"]=function(e,t){return this.n>0?(this.n-=1,e):this.xf["@@transducer/step"](e,t)},r((function(t,n){return new e(t,n)}))}()},4534:function(e,t,n){var r=n(79002),i=n(93714);e.exports=function(){function e(e,t){this.xf=t,this.pos=0,this.full=!1,this.acc=new Array(e)}return e.prototype["@@transducer/init"]=i.init,e.prototype["@@transducer/result"]=function(e){return this.acc=null,this.xf["@@transducer/result"](e)},e.prototype["@@transducer/step"]=function(e,t){return this.full&&(e=this.xf["@@transducer/step"](e,this.acc[this.pos])),this.store(t),e},e.prototype.store=function(e){this.acc[this.pos]=e,this.pos+=1,this.pos===this.acc.length&&(this.pos=0,this.full=!0)},r((function(t,n){return new e(t,n)}))}()},34783:function(e,t,n){var r=n(79002),i=n(39488),o=n(93714);e.exports=function(){function e(e,t){this.f=e,this.retained=[],this.xf=t}return e.prototype["@@transducer/init"]=o.init,e.prototype["@@transducer/result"]=function(e){return this.retained=null,this.xf["@@transducer/result"](e)},e.prototype["@@transducer/step"]=function(e,t){return this.f(t)?this.retain(e,t):this.flush(e,t)},e.prototype.flush=function(e,t){return e=i(this.xf["@@transducer/step"],e,this.retained),this.retained=[],this.xf["@@transducer/step"](e,t)},e.prototype.retain=function(e,t){return this.retained.push(t),e},r((function(t,n){return new e(t,n)}))}()},6234:function(e,t,n){var r=n(79002),i=n(93714);e.exports=function(){function e(e,t){this.xf=t,this.pred=e,this.lastValue=void 0,this.seenFirstValue=!1}return e.prototype["@@transducer/init"]=i.init,e.prototype["@@transducer/result"]=i.result,e.prototype["@@transducer/step"]=function(e,t){var n=!1;return this.seenFirstValue?this.pred(this.lastValue,t)&&(n=!0):this.seenFirstValue=!0,this.lastValue=t,n?e:this.xf["@@transducer/step"](e,t)},r((function(t,n){return new e(t,n)}))}()},1908:function(e,t,n){var r=n(79002),i=n(93714);e.exports=function(){function e(e,t){this.xf=t,this.f=e}return e.prototype["@@transducer/init"]=i.init,e.prototype["@@transducer/result"]=i.result,e.prototype["@@transducer/step"]=function(e,t){if(this.f){if(this.f(t))return e;this.f=null}return this.xf["@@transducer/step"](e,t)},r((function(t,n){return new e(t,n)}))}()},93714:function(e){e.exports={init:function(){return this.xf["@@transducer/init"]()},result:function(e){return this.xf["@@transducer/result"](e)}}},11383:function(e,t,n){var r=n(79002),i=n(93714);e.exports=function(){function e(e,t){this.xf=t,this.f=e}return e.prototype["@@transducer/init"]=i.init,e.prototype["@@transducer/result"]=i.result,e.prototype["@@transducer/step"]=function(e,t){return this.f(t)?this.xf["@@transducer/step"](e,t):e},r((function(t,n){return new e(t,n)}))}()},47855:function(e,t,n){var r=n(79002),i=n(22157),o=n(93714);e.exports=function(){function e(e,t){this.xf=t,this.f=e,this.found=!1}return e.prototype["@@transducer/init"]=o.init,e.prototype["@@transducer/result"]=function(e){return this.found||(e=this.xf["@@transducer/step"](e,void 0)),this.xf["@@transducer/result"](e)},e.prototype["@@transducer/step"]=function(e,t){return this.f(t)&&(this.found=!0,e=i(this.xf["@@transducer/step"](e,t))),e},r((function(t,n){return new e(t,n)}))}()},20834:function(e,t,n){var r=n(79002),i=n(22157),o=n(93714);e.exports=function(){function e(e,t){this.xf=t,this.f=e,this.idx=-1,this.found=!1}return e.prototype["@@transducer/init"]=o.init,e.prototype["@@transducer/result"]=function(e){return this.found||(e=this.xf["@@transducer/step"](e,-1)),this.xf["@@transducer/result"](e)},e.prototype["@@transducer/step"]=function(e,t){return this.idx+=1,this.f(t)&&(this.found=!0,e=i(this.xf["@@transducer/step"](e,this.idx))),e},r((function(t,n){return new e(t,n)}))}()},28922:function(e,t,n){var r=n(79002),i=n(93714);e.exports=function(){function e(e,t){this.xf=t,this.f=e}return e.prototype["@@transducer/init"]=i.init,e.prototype["@@transducer/result"]=function(e){return this.xf["@@transducer/result"](this.xf["@@transducer/step"](e,this.last))},e.prototype["@@transducer/step"]=function(e,t){return this.f(t)&&(this.last=t),e},r((function(t,n){return new e(t,n)}))}()},36626:function(e,t,n){var r=n(79002),i=n(93714);e.exports=function(){function e(e,t){this.xf=t,this.f=e,this.idx=-1,this.lastIdx=-1}return e.prototype["@@transducer/init"]=i.init,e.prototype["@@transducer/result"]=function(e){return this.xf["@@transducer/result"](this.xf["@@transducer/step"](e,this.lastIdx))},e.prototype["@@transducer/step"]=function(e,t){return this.idx+=1,this.f(t)&&(this.lastIdx=this.idx),e},r((function(t,n){return new e(t,n)}))}()},72894:function(e,t,n){var r=n(79002),i=n(93714);e.exports=function(){function e(e,t){this.xf=t,this.f=e}return e.prototype["@@transducer/init"]=i.init,e.prototype["@@transducer/result"]=i.result,e.prototype["@@transducer/step"]=function(e,t){return this.xf["@@transducer/step"](e,this.f(t))},r((function(t,n){return new e(t,n)}))}()},57744:function(e,t,n){var r=n(32738),i=n(87684),o=n(93714);e.exports=function(){function e(e,t,n,r){this.valueFn=e,this.valueAcc=t,this.keyFn=n,this.xf=r,this.inputs={}}return e.prototype["@@transducer/init"]=o.init,e.prototype["@@transducer/result"]=function(e){var t;for(t in this.inputs)if(i(t,this.inputs)&&(e=this.xf["@@transducer/step"](e,this.inputs[t]))["@@transducer/reduced"]){e=e["@@transducer/value"];break}return this.inputs=null,this.xf["@@transducer/result"](e)},e.prototype["@@transducer/step"]=function(e,t){var n=this.keyFn(t);return this.inputs[n]=this.inputs[n]||[n,this.valueAcc],this.inputs[n][1]=this.valueFn(this.inputs[n][1],t),e},r(4,[],(function(t,n,r,i){return new e(t,n,r,i)}))}()},49184:function(e,t,n){var r=n(79002),i=n(22157),o=n(93714);e.exports=function(){function e(e,t){this.xf=t,this.n=e,this.i=0}return e.prototype["@@transducer/init"]=o.init,e.prototype["@@transducer/result"]=o.result,e.prototype["@@transducer/step"]=function(e,t){this.i+=1;var n=0===this.n?e:this.xf["@@transducer/step"](e,t);return this.n>=0&&this.i>=this.n?i(n):n},r((function(t,n){return new e(t,n)}))}()},89963:function(e,t,n){var r=n(79002),i=n(22157),o=n(93714);e.exports=function(){function e(e,t){this.xf=t,this.f=e}return e.prototype["@@transducer/init"]=o.init,e.prototype["@@transducer/result"]=o.result,e.prototype["@@transducer/step"]=function(e,t){return this.f(t)?this.xf["@@transducer/step"](e,t):i(e)},r((function(t,n){return new e(t,n)}))}()},39874:function(e){e.exports=function(){function e(e){this.f=e}return e.prototype["@@transducer/init"]=function(){throw new Error("init not implemented on XWrap")},e.prototype["@@transducer/result"]=function(e){return e},e.prototype["@@transducer/step"]=function(e,t){return this.f(e,t)},function(t){return new e(t)}}()},26921:function(e,t,n){var r=n(64281),i=n(79002),o=n(34877),a=n(9134),s=n(90086);e.exports=i((function(e,t){var n,i;return e.length>t.length?(n=e,i=t):(n=t,i=e),s(o(a(r)(n),i))}))},33183:function(e,t,n){var r=n(28247),i=n(16370),o=n(77263);e.exports=i((function(e,t,n){var i,a;t.length>n.length?(i=t,a=n):(i=n,a=t);for(var s=[],u=0;u<a.length;)r(e,a[u],i)&&(s[s.length]=a[u]),u+=1;return o(e,s)}))},72577:function(e,t,n){var r=n(73542),i=n(79002);e.exports=i(r("intersperse",(function(e,t){for(var n=[],r=0,i=t.length;r<i;)r===i-1?n.push(t[r]):n.push(t[r],e),r+=1;return n})))},33795:function(e,t,n){var r=n(45114),i=n(16370),o=n(69082),a=n(39488),s=n(74745);e.exports=i((function(e,t,n){return o(e)?a(t(e),e["@@transducer/init"](),n):a(t(s(e)),r(e,[],[],!1),n)}))},92778:function(e,t,n){var r=n(76224),i=n(87684),o=n(90368);e.exports=r((function(e){for(var t=o(e),n=t.length,r=0,a={};r<n;){var s=t[r],u=e[s],c=i(u,a)?a[u]:a[u]=[];c[c.length]=s,r+=1}return a}))},62380:function(e,t,n){var r=n(76224),i=n(90368);e.exports=r((function(e){for(var t=i(e),n=t.length,r=0,o={};r<n;){var a=t[r];o[e[a]]=a,r+=1}return o}))},25189:function(e,t,n){var r=n(79002),i=n(62144),o=n(2220),a=n(15243);e.exports=r((function(e,t){return o(e+1,(function(){var n=arguments[e];if(null!=n&&i(n[t]))return n[t].apply(n,Array.prototype.slice.call(arguments,0,e));throw new TypeError(a(n)+' does not have a method named "'+t+'"')}))}))},9443:function(e,t,n){var r=n(79002);e.exports=r((function(e,t){return null!=t&&t.constructor===e||t instanceof e}))},42157:function(e,t,n){var r=n(76224),i=n(8403),o=n(51481);e.exports=r((function(e){return null!=e&&o(e,i(e))}))},13657:function(e,t,n){var r=n(76224);e.exports=r((function(e){return null==e}))},18231:function(e,t,n){var r=n(25189);e.exports=r(1,"join")},55389:function(e,t,n){var r=n(76224),i=n(38907);e.exports=r((function(e){return i((function(){return Array.prototype.slice.call(arguments,0)}),e)}))},90368:function(e,t,n){var r,i,o,a,s=n(76224),u=n(87684),c=n(97587);e.exports=(r=!{toString:null}.propertyIsEnumerable("toString"),i=["constructor","valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],o=function(){"use strict";return arguments.propertyIsEnumerable("length")}(),a=function(e,t){for(var n=0;n<e.length;){if(e[n]===t)return!0;n+=1}return!1},"function"!=typeof Object.keys||o?s((function(e){if(Object(e)!==e)return[];var t,n,s=[],l=o&&c(e);for(t in e)!u(t,e)||l&&"length"===t||(s[s.length]=t);if(r)for(n=i.length-1;n>=0;)u(t=i[n],e)&&!a(s,t)&&(s[s.length]=t),n-=1;return s})):s((function(e){return Object(e)!==e?[]:Object.keys(e)})))},17716:function(e,t,n){var r=n(76224);e.exports=r((function(e){var t,n=[];for(t in e)n[n.length]=t;return n}))},27601:function(e,t,n){var r=n(87041);e.exports=r(-1)},43448:function(e,t,n){var r=n(79002),i=n(20219),o=n(51481);e.exports=r((function(e,t){if("function"!=typeof t.lastIndexOf||i(t)){for(var n=t.length-1;n>=0;){if(o(t[n],e))return n;n-=1}return-1}return t.lastIndexOf(e)}))},24234:function(e,t,n){var r=n(76224),i=n(58591);e.exports=r((function(e){return null!=e&&i(e.length)?e.length:NaN}))},83087:function(e,t,n){var r=n(79002),i=n(61894);e.exports=r((function(e,t){return function(n){return function(r){return i((function(e){return t(e,r)}),n(e(r)))}}}))},76584:function(e,t,n){var r=n(76224),i=n(83087),o=n(87041),a=n(67964);e.exports=r((function(e){return i(o(e),a(e))}))},13207:function(e,t,n){var r=n(76224),i=n(32423),o=n(83087),a=n(87430);e.exports=r((function(e){return o(a(e),i(e))}))},25677:function(e,t,n){var r=n(76224),i=n(66497),o=n(83087),a=n(52478);e.exports=r((function(e){return o(a(e),i(e))}))},4041:function(e,t,n){var r=n(76224),i=n(1272);e.exports=r((function(e){return i(e.length,e)}))},1272:function(e,t,n){var r=n(79002),i=n(39488),o=n(77693),a=n(2220),s=n(61894);e.exports=r((function(e,t){var n=a(e,t);return a(e,(function(){return i(o,s(n,arguments[0]),Array.prototype.slice.call(arguments,1))}))}))},97560:function(e,t,n){var r=n(79002);e.exports=r((function(e,t){return e<t}))},13594:function(e,t,n){var r=n(79002);e.exports=r((function(e,t){return e<=t}))},61894:function(e,t,n){var r=n(79002),i=n(34793),o=n(36692),a=n(39488),s=n(72894),u=n(2220),c=n(90368);e.exports=r(i(["fantasy-land/map","map"],s,(function(e,t){switch(Object.prototype.toString.call(t)){case"[object Function]":return u(t.length,(function(){return e.call(this,t.apply(this,arguments))}));case"[object Object]":return a((function(n,r){return n[r]=e(t[r]),n}),{},c(t));default:return o(e,t)}})))},11282:function(e,t,n){var r=n(16370);e.exports=r((function(e,t,n){for(var r=0,i=n.length,o=[],a=[t];r<i;)a=e(a[0],n[r]),o[r]=a[1],r+=1;return[a[0],o]}))},51187:function(e,t,n){var r=n(16370);e.exports=r((function(e,t,n){for(var r=n.length-1,i=[],o=[t];r>=0;)o=e(n[r],o[0]),i[r]=o[1],r-=1;return[i,o[0]]}))},90013:function(e,t,n){var r=n(79002),i=n(39488),o=n(90368);e.exports=r((function(e,t){return i((function(n,r){return n[r]=e(t[r],r,t),n}),{},o(t))}))},6087:function(e,t,n){var r=n(79002);e.exports=r((function(e,t){return t.match(e)||[]}))},39175:function(e,t,n){var r=n(79002),i=n(37e3);e.exports=r((function(e,t){return i(e)?!i(t)||t<1?NaN:(e%t+t)%t:NaN}))},21186:function(e,t,n){var r=n(79002);e.exports=r((function(e,t){return t>e?t:e}))},91121:function(e,t,n){var r=n(16370);e.exports=r((function(e,t,n){return e(n)>e(t)?n:t}))},70182:function(e,t,n){var r=n(76224),i=n(36945);e.exports=r((function(e){return i(e)/e.length}))},98442:function(e,t,n){var r=n(76224),i=n(70182);e.exports=r((function(e){var t=e.length;if(0===t)return NaN;var n=2-t%2,r=(t-n)/2;return i(Array.prototype.slice.call(e,0).sort((function(e,t){return e<t?-1:e>t?1:0})).slice(r,r+n))}))},54749:function(e,t,n){var r=n(37365),i=n(15243);e.exports=r((function(){return i(arguments)}))},37365:function(e,t,n){var r=n(7455),i=n(79002),o=n(87684);e.exports=i((function(e,t){var n={};return r(t.length,(function(){var r=e.apply(this,arguments);return o(r,n)||(n[r]=t.apply(this,arguments)),n[r]}))}))},20780:function(e,t,n){var r=n(82512),i=n(79002);e.exports=i((function(e,t){return r({},e,t)}))},51493:function(e,t,n){var r=n(82512),i=n(76224);e.exports=i((function(e){return r.apply(null,[{}].concat(e))}))},88576:function(e,t,n){var r=n(79002),i=n(39036);e.exports=r((function(e,t){return i((function(e,t,n){return t}),e,t)}))},57046:function(e,t,n){var r=n(79002),i=n(39036);e.exports=r((function(e,t){return i((function(e,t,n){return n}),e,t)}))},71334:function(e,t,n){var r=n(16370),i=n(39036);e.exports=r((function(e,t,n){return i((function(t,n,r){return e(n,r)}),t,n)}))},39036:function(e,t,n){var r=n(16370),i=n(8291),o=n(56027);e.exports=r((function e(t,n,r){return o((function(n,r,o){return i(r)&&i(o)?e(t,r,o):t(n,r,o)}),n,r)}))},71008:function(e,t,n){var r=n(16370),i=n(56027);e.exports=r((function(e,t,n){return i((function(t,n,r){return e(n,r)}),t,n)}))},56027:function(e,t,n){var r=n(16370),i=n(87684);e.exports=r((function(e,t,n){var r,o={};for(r in t)i(r,t)&&(o[r]=i(r,n)?e(r,t[r],n[r]):t[r]);for(r in n)i(r,n)&&!i(r,o)&&(o[r]=n[r]);return o}))},25624:function(e,t,n){var r=n(79002);e.exports=r((function(e,t){return t<e?t:e}))},72121:function(e,t,n){var r=n(16370);e.exports=r((function(e,t,n){return e(n)<e(t)?n:t}))},52395:function(e,t,n){var r=n(79002);e.exports=r((function(e,t){return e%t}))},1102:function(e,t,n){var r=n(79002);e.exports=r((function(e,t){return e*t}))},40864:function(e,t,n){var r=n(79002);e.exports=r((function(e,t){switch(e){case 0:return function(){return t.call(this)};case 1:return function(e){return t.call(this,e)};case 2:return function(e,n){return t.call(this,e,n)};case 3:return function(e,n,r){return t.call(this,e,n,r)};case 4:return function(e,n,r,i){return t.call(this,e,n,r,i)};case 5:return function(e,n,r,i,o){return t.call(this,e,n,r,i,o)};case 6:return function(e,n,r,i,o,a){return t.call(this,e,n,r,i,o,a)};case 7:return function(e,n,r,i,o,a,s){return t.call(this,e,n,r,i,o,a,s)};case 8:return function(e,n,r,i,o,a,s,u){return t.call(this,e,n,r,i,o,a,s,u)};case 9:return function(e,n,r,i,o,a,s,u,c){return t.call(this,e,n,r,i,o,a,s,u,c)};case 10:return function(e,n,r,i,o,a,s,u,c,l){return t.call(this,e,n,r,i,o,a,s,u,c,l)};default:throw new Error("First argument to nAry must be a non-negative integer no greater than ten")}}))},709:function(e,t,n){var r=n(76224);e.exports=r((function(e){return-e}))},79916:function(e,t,n){var r=n(48770),i=n(79002),o=n(34793),a=n(43622),s=n(78095);e.exports=i(r(o(["any"],a,s)))},22184:function(e,t,n){var r=n(76224);e.exports=r((function(e){return!e}))},87041:function(e,t,n){var r=n(79002),i=n(20190);e.exports=r((function(e,t){var n=e<0?t.length+e:e;return i(t)?t.charAt(n):t[n]}))},33367:function(e,t,n){var r=n(76224),i=n(2220),o=n(87041);e.exports=r((function(e){return i(e<0?1:e+1,(function(){return o(e,arguments)}))}))},62809:function(e,t,n){var r=n(16370);e.exports=r((function(e,t,n){return e(t(n))}))},144:function(e,t,n){var r=n(79002);e.exports=r((function(e,t){var n={};return n[e]=t,n}))},70682:function(e,t,n){var r=n(76224),i=n(58791);e.exports=r(i)},61584:function(e,t,n){var r=n(64281),i=n(79002);e.exports=i((function(e,t){var n={};for(var i in t)r(i,e)||(n[i]=t[i]);return n}))},79487:function(e,t,n){var r=n(7455),i=n(76224);e.exports=i((function(e){var t,n=!1;return r(e.length,(function(){return n?t:(n=!0,t=e.apply(this,arguments))}))}))},18384:function(e,t,n){var r=n(79002);e.exports=r((function(e,t){return e||t}))},92738:function(e,t,n){var r,i=n(16370);e.exports=(r=function(e){return{value:e,map:function(t){return r(t(e))}}},i((function(e,t,n){return e((function(e){return r(t(e))}))(n).value})))},68380:function(e,t,n){var r=n(79002);e.exports=r((function(e,t){return[e,t]}))},96942:function(e,t,n){var r=n(14011),i=n(57994);e.exports=i(r)},69025:function(e,t,n){var r=n(14011),i=n(57994),o=n(9134);e.exports=i(o(r))},38135:function(e,t,n){var r=n(51383),i=n(55389),o=n(63266);e.exports=i([r,o])},87430:function(e,t,n){var r=n(79002);e.exports=r((function(e,t){for(var n=t,r=0;r<e.length;){if(null==n)return;n=n[e[r]],r+=1}return n}))},40437:function(e,t,n){var r=n(16370),i=n(51481),o=n(87430);e.exports=r((function(e,t,n){return i(o(e,n),t)}))},54782:function(e,t,n){var r=n(16370),i=n(52892),o=n(87430);e.exports=r((function(e,t,n){return i(e,o(t,n))}))},4991:function(e,t,n){var r=n(16370),i=n(87430);e.exports=r((function(e,t,n){return t.length>0&&e(i(t,n))}))},5206:function(e,t,n){var r=n(79002);e.exports=r((function(e,t){for(var n={},r=0;r<e.length;)e[r]in t&&(n[e[r]]=t[e[r]]),r+=1;return n}))},68976:function(e,t,n){var r=n(79002);e.exports=r((function(e,t){for(var n={},r=0,i=e.length;r<i;){var o=e[r];n[o]=t[o],r+=1}return n}))},12964:function(e,t,n){var r=n(79002);e.exports=r((function(e,t){var n={};for(var r in t)e(t[r],r,t)&&(n[r]=t[r]);return n}))},4603:function(e,t,n){var r=n(7455),i=n(56015),o=n(20793),a=n(43656);e.exports=function(){if(0===arguments.length)throw new Error("pipe requires at least one argument");return r(arguments[0].length,o(i,arguments[0],a(arguments)))}},84136:function(e,t,n){var r=n(37013),i=n(65814);e.exports=function(){if(0===arguments.length)throw new Error("pipeK requires at least one argument");return r.apply(this,i(arguments))}},96828:function(e,t,n){var r=n(7455),i=n(60829),o=n(20793),a=n(43656);e.exports=function(){if(0===arguments.length)throw new Error("pipeP requires at least one argument");return r(arguments[0].length,o(i,arguments[0],a(arguments)))}},84585:function(e,t,n){var r=n(79002),i=n(61894),o=n(52478);e.exports=r((function(e,t){return i(o(e),t)}))},80409:function(e,t,n){var r=n(14011),i=n(79002);e.exports=i((function(e,t){return r([e],t)}))},18890:function(e,t,n){var r=n(1102),i=n(20793);e.exports=i(r,1)},61391:function(e,t,n){var r=n(36692),i=n(69105),o=n(68976),a=n(40517);e.exports=a(r,[o,i])},52478:function(e,t,n){var r=n(79002);e.exports=r((function(e,t){return t[e]}))},18371:function(e,t,n){var r=n(16370),i=n(51481);e.exports=r((function(e,t,n){return i(t,n[e])}))},58426:function(e,t,n){var r=n(16370),i=n(9443);e.exports=r((function(e,t,n){return i(e,n[t])}))},53176:function(e,t,n){var r=n(16370),i=n(87684);e.exports=r((function(e,t,n){return null!=n&&i(t,n)?n[t]:e}))},67430:function(e,t,n){var r=n(16370);e.exports=r((function(e,t,n){return e(n[t])}))},64691:function(e,t,n){var r=n(79002);e.exports=r((function(e,t){for(var n=e.length,r=[],i=0;i<n;)r[i]=t[e[i]],i+=1;return r}))},56396:function(e,t,n){var r=n(79002),i=n(58591);e.exports=r((function(e,t){if(!i(e)||!i(t))throw new TypeError("Both arguments to range must be numbers");for(var n=[],r=e;r<t;)n.push(r),r+=1;return n}))},20793:function(e,t,n){var r=n(16370),i=n(39488);e.exports=r(i)},44285:function(e,t,n){var r=n(32738),i=n(34793),o=n(87684),a=n(39488),s=n(57744);e.exports=r(4,[],i([],s,(function(e,t,n,r){return a((function(r,i){var a=n(i);return r[a]=e(o(a,r)?r[a]:t,i),r}),{},r)})))},47981:function(e,t,n){var r=n(16370);e.exports=r((function(e,t,n){for(var r=n.length-1;r>=0;)t=e(n[r],t),r-=1;return t}))},16392:function(e,t,n){var r=n(32738),i=n(39488),o=n(22157);e.exports=r(4,[],(function(e,t,n,r){return i((function(n,r){return e(n,r)?t(n,r):o(n)}),n,r)}))},39280:function(e,t,n){var r=n(76224),i=n(22157);e.exports=r(i)},63266:function(e,t,n){var r=n(48770),i=n(79002),o=n(51383);e.exports=i((function(e,t){return o(r(e),t)}))},99072:function(e,t,n){var r=n(16370);e.exports=r((function(e,t,n){var r=Array.prototype.slice.call(n,0);return r.splice(e,t),r}))},33633:function(e,t,n){var r=n(79002),i=n(54115),o=n(32250);e.exports=r((function(e,t){return o(i(e),t)}))},5683:function(e,t,n){var r=n(16370);e.exports=r((function(e,t,n){return n.replace(e,t)}))},65814:function(e,t,n){var r=n(76224),i=n(20190);e.exports=r((function(e){return i(e)?e.split("").reverse().join(""):Array.prototype.slice.call(e,0).reverse()}))},95485:function(e,t,n){var r=n(16370);e.exports=r((function(e,t,n){for(var r=0,i=n.length,o=[t];r<i;)t=e(t,n[r]),o[r+1]=t,r+=1;return o}))},233:function(e,t,n){var r=n(79002),i=n(77693),o=n(61894),a=n(80409),s=n(47981);e.exports=r((function(e,t){return"function"==typeof t.sequence?t.sequence(e):s((function(e,t){return i(o(a,e),t)}),e([]),t)}))},5994:function(e,t,n){var r=n(16370),i=n(54115),o=n(92738);e.exports=r((function(e,t,n){return o(e,i(t),n)}))},81753:function(e,t,n){var r=n(73542),i=n(16370);e.exports=i(r("slice",(function(e,t,n){return Array.prototype.slice.call(n,e,t)})))},36218:function(e,t,n){var r=n(79002);e.exports=r((function(e,t){return Array.prototype.slice.call(t,0).sort(e)}))},1667:function(e,t,n){var r=n(79002);e.exports=r((function(e,t){return Array.prototype.slice.call(t,0).sort((function(t,n){var r=e(t),i=e(n);return r<i?-1:r>i?1:0}))}))},39153:function(e,t,n){var r=n(79002);e.exports=r((function(e,t){return Array.prototype.slice.call(t,0).sort((function(t,n){for(var r=0,i=0;0===r&&i<e.length;)r=e[i](t,n),i+=1;return r}))}))},12601:function(e,t,n){var r=n(25189);e.exports=r(1,"split")},68959:function(e,t,n){var r=n(79002),i=n(24234),o=n(81753);e.exports=r((function(e,t){return[o(0,e,t),o(e,i(t),t)]}))},59241:function(e,t,n){var r=n(79002),i=n(81753);e.exports=r((function(e,t){if(e<=0)throw new Error("First argument to splitEvery must be a positive integer");for(var n=[],r=0;r<t.length;)n.push(i(r,r+=e,t));return n}))},9781:function(e,t,n){var r=n(79002);e.exports=r((function(e,t){for(var n=0,r=t.length,i=[];n<r&&!e(t[n]);)i.push(t[n]),n+=1;return[i,Array.prototype.slice.call(t,n)]}))},60830:function(e,t,n){var r=n(79002),i=n(51481),o=n(94744);e.exports=r((function(e,t){return i(o(e.length,t),e)}))},29454:function(e,t,n){var r=n(79002);e.exports=r((function(e,t){return Number(e)-Number(t)}))},36945:function(e,t,n){var r=n(63073),i=n(20793);e.exports=i(r,0)},16722:function(e,t,n){var r=n(79002),i=n(54405),o=n(34226);e.exports=r((function(e,t){return i(o(e,t),o(t,e))}))},7776:function(e,t,n){var r=n(16370),i=n(54405),o=n(22013);e.exports=r((function(e,t,n){return i(o(e,t,n),o(e,n,t))}))},43656:function(e,t,n){var r=n(73542),i=n(76224),o=n(81753);e.exports=i(r("tail",o(1,1/0)))},94744:function(e,t,n){var r=n(79002),i=n(34793),o=n(49184),a=n(81753);e.exports=r(i(["take"],o,(function(e,t){return a(0,e<0?1/0:e,t)})))},18703:function(e,t,n){var r=n(79002),i=n(78821);e.exports=r((function(e,t){return i(e>=0?t.length-e:0,t)}))},96412:function(e,t,n){var r=n(79002);e.exports=r((function(e,t){for(var n=t.length-1;n>=0&&e(t[n]);)n-=1;return Array.prototype.slice.call(t,n+1)}))},27050:function(e,t,n){var r=n(79002),i=n(34793),o=n(89963);e.exports=r(i(["takeWhile"],o,(function(e,t){for(var n=0,r=t.length;n<r&&e(t[n]);)n+=1;return Array.prototype.slice.call(t,0,n)})))},6037:function(e,t,n){var r=n(79002);e.exports=r((function(e,t){return e(t),t}))},73495:function(e,t,n){var r=n(9039),i=n(79002),o=n(79725),a=n(15243);e.exports=i((function(e,t){if(!o(e))throw new TypeError("‘test’ requires a value of type RegExp as its first argument; received "+a(e));return r(e).test(t)}))},32250:function(e,t,n){var r=n(79002);e.exports=r((function(e,t){var n,r=Number(t),i=0;if(r<0||isNaN(r))throw new RangeError("n must be a non-negative number");for(n=new Array(r);i<r;)n[i]=e(i),i+=1;return n}))},80620:function(e,t,n){var r=n(25189);e.exports=r(0,"toLowerCase")},98313:function(e,t,n){var r=n(76224),i=n(87684);e.exports=r((function(e){var t=[];for(var n in e)i(n,e)&&(t[t.length]=[n,e[n]]);return t}))},44739:function(e,t,n){var r=n(76224);e.exports=r((function(e){var t=[];for(var n in e)t[t.length]=[n,e[n]];return t}))},15243:function(e,t,n){var r=n(76224),i=n(31136);e.exports=r((function(e){return i(e,[])}))},74633:function(e,t,n){var r=n(25189);e.exports=r(0,"toUpperCase")},63158:function(e,t,n){var r=n(39488),i=n(39874),o=n(2220);e.exports=o(4,(function(e,t,n,o){return r(e("function"==typeof t?i(t):t),n,o)}))},5466:function(e,t,n){var r=n(76224);e.exports=r((function(e){for(var t=0,n=[];t<e.length;){for(var r=e[t],i=0;i<r.length;)void 0===n[i]&&(n[i]=[]),n[i].push(r[i]),i+=1;t+=1}return n}))},40231:function(e,t,n){var r=n(16370),i=n(61894),o=n(233);e.exports=r((function(e,t,n){return"function"==typeof n["fantasy-land/traverse"]?n["fantasy-land/traverse"](t,e):o(e,i(t,n))}))},67031:function(e,t,n){var r,i=n(76224);e.exports=(r="\t\n\v\f\r   ᠎              \u2028\u2029\ufeff","function"==typeof String.prototype.trim&&!r.trim()&&"​".trim()?i((function(e){return e.trim()})):i((function(e){var t=new RegExp("^["+r+"]["+r+"]*"),n=new RegExp("["+r+"]["+r+"]*$");return e.replace(t,"").replace(n,"")})))},55105:function(e,t,n){var r=n(7455),i=n(14011),o=n(79002);e.exports=o((function(e,t){return r(e.length,(function(){try{return e.apply(this,arguments)}catch(e){return t.apply(this,i([e],arguments))}}))}))},36433:function(e,t,n){var r=n(76224);e.exports=r((function(e){return null===e?"Null":void 0===e?"Undefined":Object.prototype.toString.call(e).slice(8,-1)}))},59378:function(e,t,n){var r=n(76224);e.exports=r((function(e){return function(){return e(Array.prototype.slice.call(arguments,0))}}))},51380:function(e,t,n){var r=n(76224),i=n(40864);e.exports=r((function(e){return i(1,e)}))},1465:function(e,t,n){var r=n(79002),i=n(2220);e.exports=r((function(e,t){return i(e,(function(){for(var n,r=1,i=t,o=0;r<=e&&"function"==typeof i;)n=r===e?arguments.length:o+i.length,i=i.apply(this,Array.prototype.slice.call(arguments,o,n)),r+=1,o=n;return i}))}))},32936:function(e,t,n){var r=n(79002);e.exports=r((function(e,t){for(var n=e(t),r=[];n&&n.length;)r[r.length]=n[0],n=e(n[1]);return r}))},30275:function(e,t,n){var r=n(14011),i=n(79002),o=n(50557),a=n(90086);e.exports=i(o(a,r))},90014:function(e,t,n){var r=n(14011),i=n(16370),o=n(77263);e.exports=i((function(e,t,n){return o(e,r(t,n))}))},90086:function(e,t,n){var r=n(69105),i=n(54025);e.exports=i(r)},54025:function(e,t,n){var r=n(8876),i=n(79002);e.exports=i((function(e,t){for(var n,i,o=new r,a=[],s=0;s<t.length;)n=e(i=t[s]),o.add(n)&&a.push(i),s+=1;return a}))},77263:function(e,t,n){var r=n(28247),i=n(79002);e.exports=i((function(e,t){for(var n,i=0,o=t.length,a=[];i<o;)n=t[i],r(e,n,a)||(a[a.length]=n),i+=1;return a}))},61937:function(e,t,n){var r=n(16370);e.exports=r((function(e,t,n){return e(n)?n:t(n)}))},51497:function(e,t,n){var r=n(50339),i=n(79098);e.exports=i(r)},51800:function(e,t,n){var r=n(16370);e.exports=r((function(e,t,n){for(var r=n;!e(r);)r=t(r);return r}))},67964:function(e,t,n){var r=n(16370),i=n(82515),o=n(54115);e.exports=r((function(e,t,n){return i(o(t),e,n)}))},40517:function(e,t,n){var r=n(79002),i=n(2220);e.exports=r((function(e,t){return i(t.length,(function(){for(var n=[],r=0;r<t.length;)n.push(t[r].call(this,arguments[r])),r+=1;return e.apply(this,n.concat(Array.prototype.slice.call(arguments,t.length)))}))}))},33411:function(e,t,n){var r=n(76224),i=n(90368);e.exports=r((function(e){for(var t=i(e),n=t.length,r=[],o=0;o<n;)r[o]=e[t[o]],o+=1;return r}))},75988:function(e,t,n){var r=n(76224);e.exports=r((function(e){var t,n=[];for(t in e)n[n.length]=e[t];return n}))},43931:function(e,t,n){var r,i=n(79002);e.exports=(r=function(e){return{value:e,"fantasy-land/map":function(){return this}}},i((function(e,t){return e(r)(t).value})))},47176:function(e,t,n){var r=n(16370);e.exports=r((function(e,t,n){return e(n)?t(n):n}))},39629:function(e,t,n){var r=n(79002),i=n(87684);e.exports=r((function(e,t){for(var n in e)if(i(n,e)&&!e[n](t[n]))return!1;return!0}))},15598:function(e,t,n){var r=n(79002),i=n(51481),o=n(61894),a=n(39629);e.exports=r((function(e,t){return a(o(i,e),t)}))},76290:function(e,t,n){var r=n(64281),i=n(79002),o=n(9134),a=n(63266);e.exports=i((function(e,t){return a(o(r)(e),t)}))},90482:function(e,t,n){var r=n(79002);e.exports=r((function(e,t){for(var n,r=0,i=e.length,o=t.length,a=[];r<i;){for(n=0;n<o;)a[a.length]=[e[r],t[n]],n+=1;r+=1}return a}))},5086:function(e,t,n){var r=n(79002);e.exports=r((function(e,t){for(var n=[],r=0,i=Math.min(e.length,t.length);r<i;)n[r]=[e[r],t[r]],r+=1;return n}))},47858:function(e,t,n){var r=n(79002);e.exports=r((function(e,t){for(var n=0,r=Math.min(e.length,t.length),i={};n<r;)i[e[n]]=t[n],n+=1;return i}))},30635:function(e,t,n){var r=n(16370);e.exports=r((function(e,t,n){for(var r=[],i=0,o=Math.min(t.length,n.length);i<o;)r[i]=e(t[i],n[i]),i+=1;return r}))},40725:function(e,t,n){var r;"undefined"!=typeof self&&self,e.exports=(r=n(28416),function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=2)}([function(e,t){e.exports=r},function(e,t,n){"use strict";var r={linear:function(e,t,n,r){return(n-t)*e/r+t},easeInQuad:function(e,t,n,r){return(n-t)*(e/=r)*e+t},easeOutQuad:function(e,t,n,r){return-(n-t)*(e/=r)*(e-2)+t},easeInOutQuad:function(e,t,n,r){var i=n-t;return(e/=r/2)<1?i/2*e*e+t:-i/2*(--e*(e-2)-1)+t},easeInCubic:function(e,t,n,r){return(n-t)*(e/=r)*e*e+t},easeOutCubic:function(e,t,n,r){return(n-t)*((e=e/r-1)*e*e+1)+t},easeInOutCubic:function(e,t,n,r){var i=n-t;return(e/=r/2)<1?i/2*e*e*e+t:i/2*((e-=2)*e*e+2)+t},easeInQuart:function(e,t,n,r){return(n-t)*(e/=r)*e*e*e+t},easeOutQuart:function(e,t,n,r){return-(n-t)*((e=e/r-1)*e*e*e-1)+t},easeInOutQuart:function(e,t,n,r){var i=n-t;return(e/=r/2)<1?i/2*e*e*e*e+t:-i/2*((e-=2)*e*e*e-2)+t},easeInQuint:function(e,t,n,r){return(n-t)*(e/=r)*e*e*e*e+t},easeOutQuint:function(e,t,n,r){return(n-t)*((e=e/r-1)*e*e*e*e+1)+t},easeInOutQuint:function(e,t,n,r){var i=n-t;return(e/=r/2)<1?i/2*e*e*e*e*e+t:i/2*((e-=2)*e*e*e*e+2)+t},easeInSine:function(e,t,n,r){var i=n-t;return-i*Math.cos(e/r*(Math.PI/2))+i+t},easeOutSine:function(e,t,n,r){return(n-t)*Math.sin(e/r*(Math.PI/2))+t},easeInOutSine:function(e,t,n,r){return-(n-t)/2*(Math.cos(Math.PI*e/r)-1)+t},easeInExpo:function(e,t,n,r){return 0==e?t:(n-t)*Math.pow(2,10*(e/r-1))+t},easeOutExpo:function(e,t,n,r){var i=n-t;return e==r?t+i:i*(1-Math.pow(2,-10*e/r))+t},easeInOutExpo:function(e,t,n,r){var i=n-t;return 0===e?t:e===r?t+i:(e/=r/2)<1?i/2*Math.pow(2,10*(e-1))+t:i/2*(2-Math.pow(2,-10*--e))+t},easeInCirc:function(e,t,n,r){return-(n-t)*(Math.sqrt(1-(e/=r)*e)-1)+t},easeOutCirc:function(e,t,n,r){return(n-t)*Math.sqrt(1-(e=e/r-1)*e)+t},easeInOutCirc:function(e,t,n,r){var i=n-t;return(e/=r/2)<1?-i/2*(Math.sqrt(1-e*e)-1)+t:i/2*(Math.sqrt(1-(e-=2)*e)+1)+t},easeInElastic:function(e,t,n,r){var i,o,a,s=n-t;return a=1.70158,0===e?t:1==(e/=r)?t+s:((o=0)||(o=.3*r),(i=s)<Math.abs(s)?(i=s,a=o/4):a=o/(2*Math.PI)*Math.asin(s/i),-i*Math.pow(2,10*(e-=1))*Math.sin((e*r-a)*(2*Math.PI)/o)+t)},easeOutElastic:function(e,t,n,r){var i,o,a,s=n-t;return a=1.70158,0===e?t:1==(e/=r)?t+s:((o=0)||(o=.3*r),(i=s)<Math.abs(s)?(i=s,a=o/4):a=o/(2*Math.PI)*Math.asin(s/i),i*Math.pow(2,-10*e)*Math.sin((e*r-a)*(2*Math.PI)/o)+s+t)},easeInOutElastic:function(e,t,n,r){var i,o,a,s=n-t;return a=1.70158,0===e?t:2==(e/=r/2)?t+s:((o=0)||(o=r*(.3*1.5)),(i=s)<Math.abs(s)?(i=s,a=o/4):a=o/(2*Math.PI)*Math.asin(s/i),e<1?i*Math.pow(2,10*(e-=1))*Math.sin((e*r-a)*(2*Math.PI)/o)*-.5+t:i*Math.pow(2,-10*(e-=1))*Math.sin((e*r-a)*(2*Math.PI)/o)*.5+s+t)},easeInBack:function(e,t,n,r,i){return void 0===i&&(i=1.70158),(n-t)*(e/=r)*e*((i+1)*e-i)+t},easeOutBack:function(e,t,n,r,i){return void 0===i&&(i=1.70158),(n-t)*((e=e/r-1)*e*((i+1)*e+i)+1)+t},easeInOutBack:function(e,t,n,r,i){var o=n-t;return void 0===i&&(i=1.70158),(e/=r/2)<1?o/2*(e*e*((1+(i*=1.525))*e-i))+t:o/2*((e-=2)*e*((1+(i*=1.525))*e+i)+2)+t},easeInBounce:function(e,t,n,i){var o=n-t;return o-r.easeOutBounce(i-e,0,o,i)+t},easeOutBounce:function(e,t,n,r){var i=n-t;return(e/=r)<1/2.75?i*(7.5625*e*e)+t:e<2/2.75?i*(7.5625*(e-=1.5/2.75)*e+.75)+t:e<2.5/2.75?i*(7.5625*(e-=2.25/2.75)*e+.9375)+t:i*(7.5625*(e-=2.625/2.75)*e+.984375)+t},easeInOutBounce:function(e,t,n,i){var o=n-t;return e<i/2?.5*r.easeInBounce(2*e,0,o,i)+t:.5*r.easeOutBounce(2*e-i,0,o,i)+.5*o+t}};e.exports=r},function(e,t,n){e.exports=n(3)},function(e,t,n){"use strict";n.r(t);var r,i,o=n(0),a=n.n(o),s=n(1),u=n.n(s);function c(e,t){return e+Math.random()*(t-e)}function l(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function f(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}!function(e){e[e.Circle=0]="Circle",e[e.Square=1]="Square",e[e.Strip=2]="Strip"}(r||(r={})),function(e){e[e.Positive=1]="Positive",e[e.Negative=-1]="Negative"}(i||(i={}));var d=function(){function e(t,n,r,o){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),f(this,"context",void 0),f(this,"radius",void 0),f(this,"x",void 0),f(this,"y",void 0),f(this,"w",void 0),f(this,"h",void 0),f(this,"vx",void 0),f(this,"vy",void 0),f(this,"shape",void 0),f(this,"angle",void 0),f(this,"angularSpin",void 0),f(this,"color",void 0),f(this,"rotateY",void 0),f(this,"rotationDirection",void 0),f(this,"getOptions",void 0),this.getOptions=n;var a,s,u=this.getOptions(),l=u.colors,d=u.initialVelocityX,p=u.initialVelocityY;this.context=t,this.x=r,this.y=o,this.w=c(5,20),this.h=c(5,20),this.radius=c(5,10),this.vx=c(-d,d),this.vy=c(-p,0),this.shape=(a=0,s=2,Math.floor(a+Math.random()*(s-a+1))),this.angle=c(0,360)*Math.PI/180,this.angularSpin=c(-.2,.2),this.color=l[Math.floor(Math.random()*l.length)],this.rotateY=c(0,1),this.rotationDirection=c(0,1)?i.Positive:i.Negative}var t,n,o;return t=e,(n=[{key:"update",value:function(){var e=this.getOptions(),t=e.gravity,n=e.wind,o=e.friction,a=e.opacity,s=e.drawShape;this.x+=this.vx,this.y+=this.vy,this.vy+=t,this.vx+=n,this.vx*=o,this.vy*=o,this.rotateY>=1&&this.rotationDirection===i.Positive?this.rotationDirection=i.Negative:this.rotateY<=-1&&this.rotationDirection===i.Negative&&(this.rotationDirection=i.Positive);var u=.1*this.rotationDirection;if(this.rotateY+=u,this.angle+=this.angularSpin,this.context.save(),this.context.translate(this.x,this.y),this.context.rotate(this.angle),this.context.scale(1,this.rotateY),this.context.rotate(this.angle),this.context.beginPath(),this.context.fillStyle=this.color,this.context.strokeStyle=this.color,this.context.globalAlpha=a,this.context.lineCap="round",this.context.lineWidth=2,s&&"function"==typeof s)s.call(this,this.context);else switch(this.shape){case r.Circle:this.context.beginPath(),this.context.arc(0,0,this.radius,0,2*Math.PI),this.context.fill();break;case r.Square:this.context.fillRect(-this.w/2,-this.h/2,this.w,this.h);break;case r.Strip:this.context.fillRect(-this.w/6,-this.h/2,this.w/3,this.h)}this.context.closePath(),this.context.restore()}}])&&l(t.prototype,n),o&&l(t,o),e}();function p(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var h=function e(t,n){var r=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),p(this,"canvas",void 0),p(this,"context",void 0),p(this,"getOptions",void 0),p(this,"x",0),p(this,"y",0),p(this,"w",0),p(this,"h",0),p(this,"lastNumberOfPieces",0),p(this,"tweenInitTime",Date.now()),p(this,"particles",[]),p(this,"particlesGenerated",0),p(this,"removeParticleAt",(function(e){r.particles.splice(e,1)})),p(this,"getParticle",(function(){var e=c(r.x,r.w+r.x),t=c(r.y,r.h+r.y);return new d(r.context,r.getOptions,e,t)})),p(this,"animate",(function(){var e=r.canvas,t=r.context,n=r.particlesGenerated,i=r.lastNumberOfPieces,o=r.getOptions(),a=o.run,s=o.recycle,u=o.numberOfPieces,c=o.debug,l=o.tweenFunction,f=o.tweenDuration;if(!a)return!1;var d=r.particles.length,p=s?d:n,h=Date.now();if(p<u){i!==u&&(r.tweenInitTime=h,r.lastNumberOfPieces=u);for(var g=r.tweenInitTime,m=l(h-g>f?f:Math.max(0,h-g),p,u,f),y=Math.round(m-p),v=0;v<y;v++)r.particles.push(r.getParticle());r.particlesGenerated+=y}return c&&(t.font="12px sans-serif",t.fillStyle="#333",t.textAlign="right",t.fillText("Particles: ".concat(d),e.width-10,e.height-20)),r.particles.forEach((function(t,n){t.update(),(t.y>e.height||t.y<-100||t.x>e.width+100||t.x<-100)&&(s&&p<=u?r.particles[n]=r.getParticle():r.removeParticleAt(n))})),d>0||p<u})),this.canvas=t;var i=this.canvas.getContext("2d");if(!i)throw new Error("Could not get canvas context");this.context=i,this.getOptions=n};function g(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function m(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function y(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var v={width:"undefined"!=typeof window?window.innerWidth:300,height:"undefined"!=typeof window?window.innerHeight:200,numberOfPieces:200,friction:.99,wind:0,gravity:.1,initialVelocityX:4,initialVelocityY:10,colors:["#f44336","#e91e63","#9c27b0","#673ab7","#3f51b5","#2196f3","#03a9f4","#00bcd4","#009688","#4CAF50","#8BC34A","#CDDC39","#FFEB3B","#FFC107","#FF9800","#FF5722","#795548"],opacity:1,debug:!1,tweenFunction:u.a.easeInOutQuad,tweenDuration:5e3,recycle:!0,run:!0},b=function(){function e(t,n){var r=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),y(this,"canvas",void 0),y(this,"context",void 0),y(this,"_options",void 0),y(this,"generator",void 0),y(this,"rafId",void 0),y(this,"setOptionsWithDefaults",(function(e){var t={confettiSource:{x:0,y:0,w:r.canvas.width,h:0}};r._options=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?g(n,!0).forEach((function(t){y(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):g(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},t,{},v,{},e),Object.assign(r,e.confettiSource)})),y(this,"update",(function(){var e=r.options,t=e.run,n=e.onConfettiComplete,i=r.canvas,o=r.context;t&&(o.fillStyle="white",o.clearRect(0,0,i.width,i.height)),r.generator.animate()?r.rafId=requestAnimationFrame(r.update):(n&&"function"==typeof n&&r.generator.particlesGenerated>0&&n.call(r,r),r._options.run=!1)})),y(this,"reset",(function(){r.generator&&r.generator.particlesGenerated>0&&(r.generator.particlesGenerated=0,r.generator.particles=[],r.generator.lastNumberOfPieces=0)})),y(this,"stop",(function(){r.options={run:!1},r.rafId&&(cancelAnimationFrame(r.rafId),r.rafId=void 0)})),this.canvas=t;var i=this.canvas.getContext("2d");if(!i)throw new Error("Could not get canvas context");this.context=i,this.generator=new h(this.canvas,(function(){return r.options})),this.options=n,this.update()}var t,n,r;return t=e,(n=[{key:"options",get:function(){return this._options},set:function(e){var t=this._options&&this._options.run,n=this._options&&this._options.recycle;this.setOptionsWithDefaults(e),this.generator&&(Object.assign(this.generator,this.options.confettiSource),"boolean"==typeof e.recycle&&e.recycle&&!1===n&&(this.generator.lastNumberOfPieces=this.generator.particles.length)),"boolean"==typeof e.run&&e.run&&!1===t&&this.update()}}])&&m(t.prototype,n),r&&m(t,r),e}();function _(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function w(e){return(w="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function T(){return(T=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function x(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function S(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?x(n,!0).forEach((function(t){A(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):x(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function k(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){i=!0,o=e}finally{try{r||null==s.return||s.return()}finally{if(i)throw o}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function E(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function O(e){return(O=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function C(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function L(e,t){return(L=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function A(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,"ReactConfetti",(function(){return M}));var I=function(e){function t(e){var n,r;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var i=arguments.length,o=new Array(i>1?i-1:0),s=1;s<i;s++)o[s-1]=arguments[s];return r=function(e,t){return!t||"object"!==w(t)&&"function"!=typeof t?C(e):t}(this,(n=O(t)).call.apply(n,[this,e].concat(o))),A(C(r),"canvas",a.a.createRef()),A(C(r),"confetti",void 0),r.canvas=e.canvasRef||a.a.createRef(),r}var n,r,i;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&L(e,t)}(t,o.Component),n=t,(r=[{key:"componentDidMount",value:function(){if(this.canvas.current){var e=P(this.props)[0];this.confetti=new b(this.canvas.current,e)}}},{key:"componentWillReceiveProps",value:function(e){var t=P(e)[0];this.confetti&&(this.confetti.options=t)}},{key:"componentWillUnmount",value:function(){this.confetti&&this.confetti.stop(),this.confetti=void 0}},{key:"render",value:function(){var e=k(P(this.props),2),t=e[0],n=e[1],r=S({zIndex:2,position:"absolute",pointerEvents:"none",top:0,left:0,bottom:0,right:0},n.style);return a.a.createElement("canvas",T({width:t.width,height:t.height,ref:this.canvas},n,{style:r}))}}])&&E(n.prototype,r),i&&E(n,i),t}();function P(e){var t={},n={},r=[].concat(_(Object.keys(v)),["confettiSource","drawShape","onConfettiComplete"]),i=["canvasRef"];for(var o in e){var a=e[o];r.includes(o)?t[o]=a:i.includes(o)?i[o]=a:n[o]=a}return[t,n,{}]}A(I,"defaultProps",S({},v)),A(I,"displayName","ReactConfetti");var M=a.a.forwardRef((function(e,t){return a.a.createElement(I,T({canvasRef:t},e))}));t.default=M}]).default)},86869:function(e,t,n){var r=n(76489);"function"!=typeof Object.assign&&(Object.assign=function(e){"use strict";if(null==e)throw new TypeError("Cannot convert undefined or null to object");e=Object(e);for(var t=1;t<arguments.length;t++){var n=arguments[t];if(null!=n)for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e});var i={},o=void 0;function a(){return!!o&&!0!==o.headersSent}function s(e){i=e?r.parse(e):{}}var u={load:function(e,t){var n="undefined"==typeof document?i:r.parse(document.cookie),o=n&&n[e];if(void 0===t&&(t=!o||"{"!==o[0]&&"["!==o[0]),!t)try{o=JSON.parse(o)}catch(e){}return o},select:function(e){var t="undefined"==typeof document?i:r.parse(document.cookie);return t?e?Object.keys(t).reduce((function(n,r){if(!e.test(r))return n;var i={};return i[r]=t[r],Object.assign({},n,i)}),{}):t:{}},save:function(e,t,n){i[e]=t,"object"==typeof t&&(i[e]=JSON.stringify(t)),"undefined"!=typeof document&&(document.cookie=r.serialize(e,i[e],n)),a()&&o.cookie&&o.cookie(e,t,n)},remove:function(e,t){delete i[e],t=void 0===t?{}:"string"==typeof t?{path:t}:Object.assign({},t),"undefined"!=typeof document&&(t.expires=new Date(1970,1,1,0,0,1),t.maxAge=0,document.cookie=r.serialize(e,"",t)),a()&&o.clearCookie&&o.clearCookie(e,t)},setRawCookie:s,plugToRequest:function(e,t){return e.cookie?i=e.cookie:e.cookies?i=e.cookies:e.headers&&e.headers.cookie?s(e.headers.cookie):i={},o=t,function(){o=null,i={}}}};"undefined"!=typeof window&&(window.reactCookie=u),e.exports=u},64448:function(e,t,n){"use strict";var r=n(28416),i=n(63840);function o(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var a=new Set,s={};function u(e,t){c(e,t),c(e+"Capture",t)}function c(e,t){for(s[e]=t,e=0;e<t.length;e++)a.add(t[e])}var l=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),f=Object.prototype.hasOwnProperty,d=/^[: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][: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\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,p={},h={};function g(e,t,n,r,i,o,a){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=a}var m={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){m[e]=new g(e,0,!1,e,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];m[t]=new g(t,1,!1,e[1],null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){m[e]=new g(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){m[e]=new g(e,2,!1,e,null,!1,!1)})),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach((function(e){m[e]=new g(e,3,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(e){m[e]=new g(e,3,!0,e,null,!1,!1)})),["capture","download"].forEach((function(e){m[e]=new g(e,4,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((function(e){m[e]=new g(e,6,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((function(e){m[e]=new g(e,5,!1,e.toLowerCase(),null,!1,!1)}));var y=/[\-:]([a-z])/g;function v(e){return e[1].toUpperCase()}function b(e,t,n,r){var i=m.hasOwnProperty(t)?m[t]:null;(null!==i?0!==i.type:r||!(2<t.length)||"o"!==t[0]&&"O"!==t[0]||"n"!==t[1]&&"N"!==t[1])&&(function(e,t,n,r){if(null==t||function(e,t,n,r){if(null!==n&&0===n.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return!r&&(null!==n?!n.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}(e,t,n,r))return!0;if(r)return!1;if(null!==n)switch(n.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}(t,n,i,r)&&(n=null),r||null===i?function(e){return!!f.call(h,e)||!f.call(p,e)&&(d.test(e)?h[e]=!0:(p[e]=!0,!1))}(t)&&(null===n?e.removeAttribute(t):e.setAttribute(t,""+n)):i.mustUseProperty?e[i.propertyName]=null===n?3!==i.type&&"":n:(t=i.attributeName,r=i.attributeNamespace,null===n?e.removeAttribute(t):(n=3===(i=i.type)||4===i&&!0===n?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach((function(e){var t=e.replace(y,v);m[t]=new g(t,1,!1,e,null,!1,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(e){var t=e.replace(y,v);m[t]=new g(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(y,v);m[t]=new g(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(e){m[e]=new g(e,1,!1,e.toLowerCase(),null,!1,!1)})),m.xlinkHref=new g("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(e){m[e]=new g(e,1,!1,e.toLowerCase(),null,!0,!0)}));var _=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,w=Symbol.for("react.element"),T=Symbol.for("react.portal"),x=Symbol.for("react.fragment"),S=Symbol.for("react.strict_mode"),k=Symbol.for("react.profiler"),E=Symbol.for("react.provider"),O=Symbol.for("react.context"),C=Symbol.for("react.forward_ref"),L=Symbol.for("react.suspense"),A=Symbol.for("react.suspense_list"),I=Symbol.for("react.memo"),P=Symbol.for("react.lazy");Symbol.for("react.scope"),Symbol.for("react.debug_trace_mode");var M=Symbol.for("react.offscreen");Symbol.for("react.legacy_hidden"),Symbol.for("react.cache"),Symbol.for("react.tracing_marker");var R=Symbol.iterator;function j(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=R&&e[R]||e["@@iterator"])?e:null}var D,N=Object.assign;function B(e){if(void 0===D)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);D=t&&t[1]||""}return"\n"+D+e}var U=!1;function F(e,t){if(!e||U)return"";U=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(t,[])}catch(e){var r=e}Reflect.construct(e,[],t)}else{try{t.call()}catch(e){r=e}e.call(t.prototype)}else{try{throw Error()}catch(e){r=e}e()}}catch(t){if(t&&r&&"string"==typeof t.stack){for(var i=t.stack.split("\n"),o=r.stack.split("\n"),a=i.length-1,s=o.length-1;1<=a&&0<=s&&i[a]!==o[s];)s--;for(;1<=a&&0<=s;a--,s--)if(i[a]!==o[s]){if(1!==a||1!==s)do{if(a--,0>--s||i[a]!==o[s]){var u="\n"+i[a].replace(" at new "," at ");return e.displayName&&u.includes("<anonymous>")&&(u=u.replace("<anonymous>",e.displayName)),u}}while(1<=a&&0<=s);break}}}finally{U=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?B(e):""}function z(e){switch(e.tag){case 5:return B(e.type);case 16:return B("Lazy");case 13:return B("Suspense");case 19:return B("SuspenseList");case 0:case 2:case 15:return e=F(e.type,!1);case 11:return e=F(e.type.render,!1);case 1:return e=F(e.type,!0);default:return""}}function H(e){if(null==e)return null;if("function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case x:return"Fragment";case T:return"Portal";case k:return"Profiler";case S:return"StrictMode";case L:return"Suspense";case A:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case O:return(e.displayName||"Context")+".Consumer";case E:return(e._context.displayName||"Context")+".Provider";case C:var t=e.render;return(e=e.displayName)||(e=""!==(e=t.displayName||t.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case I:return null!==(t=e.displayName||null)?t:H(e.type)||"Memo";case P:t=e._payload,e=e._init;try{return H(e(t))}catch(e){}}return null}function Z(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=(e=t.render).displayName||e.name||"",t.displayName||(""!==e?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return H(t);case 8:return t===S?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if("function"==typeof t)return t.displayName||t.name||null;if("string"==typeof t)return t}return null}function q(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":case"object":return e;default:return""}}function V(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function W(e){e._valueTracker||(e._valueTracker=function(e){var t=V(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&void 0!==n&&"function"==typeof n.get&&"function"==typeof n.set){var i=n.get,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(e){r=""+e,o.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(e){r=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function G(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=V(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function $(e){if(void 0===(e=e||("undefined"!=typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function Y(e,t){var n=t.checked;return N({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function K(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=q(null!=t.value?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function X(e,t){null!=(t=t.checked)&&b(e,"checked",t,!1)}function Q(e,t){X(e,t);var n=q(t.value),r=t.type;if(null!=n)"number"===r?(0===n&&""===e.value||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if("submit"===r||"reset"===r)return void e.removeAttribute("value");t.hasOwnProperty("value")?ee(e,t.type,n):t.hasOwnProperty("defaultValue")&&ee(e,t.type,q(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function J(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!("submit"!==r&&"reset"!==r||void 0!==t.value&&null!==t.value))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}""!==(n=e.name)&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,""!==n&&(e.name=n)}function ee(e,t,n){"number"===t&&$(e.ownerDocument)===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var te=Array.isArray;function ne(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i<n.length;i++)t["$"+n[i]]=!0;for(n=0;n<e.length;n++)i=t.hasOwnProperty("$"+e[n].value),e[n].selected!==i&&(e[n].selected=i),i&&r&&(e[n].defaultSelected=!0)}else{for(n=""+q(n),t=null,i=0;i<e.length;i++){if(e[i].value===n)return e[i].selected=!0,void(r&&(e[i].defaultSelected=!0));null!==t||e[i].disabled||(t=e[i])}null!==t&&(t.selected=!0)}}function re(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(o(91));return N({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function ie(e,t){var n=t.value;if(null==n){if(n=t.children,t=t.defaultValue,null!=n){if(null!=t)throw Error(o(92));if(te(n)){if(1<n.length)throw Error(o(93));n=n[0]}t=n}null==t&&(t=""),n=t}e._wrapperState={initialValue:q(n)}}function oe(e,t){var n=q(t.value),r=q(t.defaultValue);null!=n&&((n=""+n)!==e.value&&(e.value=n),null==t.defaultValue&&e.defaultValue!==n&&(e.defaultValue=n)),null!=r&&(e.defaultValue=""+r)}function ae(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}function se(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function ue(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?se(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var ce,le,fe=(le=function(e,t){if("http://www.w3.org/2000/svg"!==e.namespaceURI||"innerHTML"in e)e.innerHTML=t;else{for((ce=ce||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=ce.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}},"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(e,t,n,r){MSApp.execUnsafeLocalFunction((function(){return le(e,t)}))}:le);function de(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}var pe={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!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},he=["Webkit","ms","Moz","O"];function ge(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||pe.hasOwnProperty(e)&&pe[e]?(""+t).trim():t+"px"}function me(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),i=ge(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}Object.keys(pe).forEach((function(e){he.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),pe[t]=pe[e]}))}));var ye=N({menuitem:!0},{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});function ve(e,t){if(t){if(ye[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(o(137,e));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(o(60));if("object"!=typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(o(61))}if(null!=t.style&&"object"!=typeof t.style)throw Error(o(62))}}function be(e,t){if(-1===e.indexOf("-"))return"string"==typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var _e=null;function we(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var Te=null,xe=null,Se=null;function ke(e){if(e=bi(e)){if("function"!=typeof Te)throw Error(o(280));var t=e.stateNode;t&&(t=wi(t),Te(e.stateNode,e.type,t))}}function Ee(e){xe?Se?Se.push(e):Se=[e]:xe=e}function Oe(){if(xe){var e=xe,t=Se;if(Se=xe=null,ke(e),t)for(e=0;e<t.length;e++)ke(t[e])}}function Ce(e,t){return e(t)}function Le(){}var Ae=!1;function Ie(e,t,n){if(Ae)return e(t,n);Ae=!0;try{return Ce(e,t,n)}finally{Ae=!1,(null!==xe||null!==Se)&&(Le(),Oe())}}function Pe(e,t){var n=e.stateNode;if(null===n)return null;var r=wi(n);if(null===r)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(r=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!r;break e;default:e=!1}if(e)return null;if(n&&"function"!=typeof n)throw Error(o(231,t,typeof n));return n}var Me=!1;if(l)try{var Re={};Object.defineProperty(Re,"passive",{get:function(){Me=!0}}),window.addEventListener("test",Re,Re),window.removeEventListener("test",Re,Re)}catch(le){Me=!1}function je(e,t,n,r,i,o,a,s,u){var c=Array.prototype.slice.call(arguments,3);try{t.apply(n,c)}catch(e){this.onError(e)}}var De=!1,Ne=null,Be=!1,Ue=null,Fe={onError:function(e){De=!0,Ne=e}};function ze(e,t,n,r,i,o,a,s,u){De=!1,Ne=null,je.apply(Fe,arguments)}function He(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{0!=(4098&(t=e).flags)&&(n=t.return),e=t.return}while(e)}return 3===t.tag?n:null}function Ze(e){if(13===e.tag){var t=e.memoizedState;if(null===t&&(null!==(e=e.alternate)&&(t=e.memoizedState)),null!==t)return t.dehydrated}return null}function qe(e){if(He(e)!==e)throw Error(o(188))}function Ve(e){return null!==(e=function(e){var t=e.alternate;if(!t){if(null===(t=He(e)))throw Error(o(188));return t!==e?null:e}for(var n=e,r=t;;){var i=n.return;if(null===i)break;var a=i.alternate;if(null===a){if(null!==(r=i.return)){n=r;continue}break}if(i.child===a.child){for(a=i.child;a;){if(a===n)return qe(i),e;if(a===r)return qe(i),t;a=a.sibling}throw Error(o(188))}if(n.return!==r.return)n=i,r=a;else{for(var s=!1,u=i.child;u;){if(u===n){s=!0,n=i,r=a;break}if(u===r){s=!0,r=i,n=a;break}u=u.sibling}if(!s){for(u=a.child;u;){if(u===n){s=!0,n=a,r=i;break}if(u===r){s=!0,r=a,n=i;break}u=u.sibling}if(!s)throw Error(o(189))}}if(n.alternate!==r)throw Error(o(190))}if(3!==n.tag)throw Error(o(188));return n.stateNode.current===n?e:t}(e))?We(e):null}function We(e){if(5===e.tag||6===e.tag)return e;for(e=e.child;null!==e;){var t=We(e);if(null!==t)return t;e=e.sibling}return null}var Ge=i.unstable_scheduleCallback,$e=i.unstable_cancelCallback,Ye=i.unstable_shouldYield,Ke=i.unstable_requestPaint,Xe=i.unstable_now,Qe=i.unstable_getCurrentPriorityLevel,Je=i.unstable_ImmediatePriority,et=i.unstable_UserBlockingPriority,tt=i.unstable_NormalPriority,nt=i.unstable_LowPriority,rt=i.unstable_IdlePriority,it=null,ot=null;var at=Math.clz32?Math.clz32:function(e){return 0===(e>>>=0)?32:31-(st(e)/ut|0)|0},st=Math.log,ut=Math.LN2;var ct=64,lt=4194304;function ft(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return 4194240&e;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return 130023424&e;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function dt(e,t){var n=e.pendingLanes;if(0===n)return 0;var r=0,i=e.suspendedLanes,o=e.pingedLanes,a=268435455&n;if(0!==a){var s=a&~i;0!==s?r=ft(s):0!==(o&=a)&&(r=ft(o))}else 0!==(a=n&~i)?r=ft(a):0!==o&&(r=ft(o));if(0===r)return 0;if(0!==t&&t!==r&&0==(t&i)&&((i=r&-r)>=(o=t&-t)||16===i&&0!=(4194240&o)))return t;if(0!=(4&r)&&(r|=16&n),0!==(t=e.entangledLanes))for(e=e.entanglements,t&=r;0<t;)i=1<<(n=31-at(t)),r|=e[n],t&=~i;return r}function pt(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;default:return-1}}function ht(e){return 0!==(e=-1073741825&e.pendingLanes)?e:1073741824&e?1073741824:0}function gt(){var e=ct;return 0==(4194240&(ct<<=1))&&(ct=64),e}function mt(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function yt(e,t,n){e.pendingLanes|=t,536870912!==t&&(e.suspendedLanes=0,e.pingedLanes=0),(e=e.eventTimes)[t=31-at(t)]=n}function vt(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-at(n),i=1<<r;i&t|e[r]&t&&(e[r]|=t),n&=~i}}var bt=0;function _t(e){return 1<(e&=-e)?4<e?0!=(268435455&e)?16:536870912:4:1}var wt,Tt,xt,St,kt,Et=!1,Ot=[],Ct=null,Lt=null,At=null,It=new Map,Pt=new Map,Mt=[],Rt="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function jt(e,t){switch(e){case"focusin":case"focusout":Ct=null;break;case"dragenter":case"dragleave":Lt=null;break;case"mouseover":case"mouseout":At=null;break;case"pointerover":case"pointerout":It.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Pt.delete(t.pointerId)}}function Dt(e,t,n,r,i,o){return null===e||e.nativeEvent!==o?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:o,targetContainers:[i]},null!==t&&(null!==(t=bi(t))&&Tt(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,null!==i&&-1===t.indexOf(i)&&t.push(i),e)}function Nt(e){var t=vi(e.target);if(null!==t){var n=He(t);if(null!==n)if(13===(t=n.tag)){if(null!==(t=Ze(n)))return e.blockedOn=t,void kt(e.priority,(function(){xt(n)}))}else if(3===t&&n.stateNode.current.memoizedState.isDehydrated)return void(e.blockedOn=3===n.tag?n.stateNode.containerInfo:null)}e.blockedOn=null}function Bt(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var n=Yt(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n)return null!==(t=bi(n))&&Tt(t),e.blockedOn=n,!1;var r=new(n=e.nativeEvent).constructor(n.type,n);_e=r,n.target.dispatchEvent(r),_e=null,t.shift()}return!0}function Ut(e,t,n){Bt(e)&&n.delete(t)}function Ft(){Et=!1,null!==Ct&&Bt(Ct)&&(Ct=null),null!==Lt&&Bt(Lt)&&(Lt=null),null!==At&&Bt(At)&&(At=null),It.forEach(Ut),Pt.forEach(Ut)}function zt(e,t){e.blockedOn===t&&(e.blockedOn=null,Et||(Et=!0,i.unstable_scheduleCallback(i.unstable_NormalPriority,Ft)))}function Ht(e){function t(t){return zt(t,e)}if(0<Ot.length){zt(Ot[0],e);for(var n=1;n<Ot.length;n++){var r=Ot[n];r.blockedOn===e&&(r.blockedOn=null)}}for(null!==Ct&&zt(Ct,e),null!==Lt&&zt(Lt,e),null!==At&&zt(At,e),It.forEach(t),Pt.forEach(t),n=0;n<Mt.length;n++)(r=Mt[n]).blockedOn===e&&(r.blockedOn=null);for(;0<Mt.length&&null===(n=Mt[0]).blockedOn;)Nt(n),null===n.blockedOn&&Mt.shift()}var Zt=_.ReactCurrentBatchConfig,qt=!0;function Vt(e,t,n,r){var i=bt,o=Zt.transition;Zt.transition=null;try{bt=1,Gt(e,t,n,r)}finally{bt=i,Zt.transition=o}}function Wt(e,t,n,r){var i=bt,o=Zt.transition;Zt.transition=null;try{bt=4,Gt(e,t,n,r)}finally{bt=i,Zt.transition=o}}function Gt(e,t,n,r){if(qt){var i=Yt(e,t,n,r);if(null===i)qr(e,t,r,$t,n),jt(e,r);else if(function(e,t,n,r,i){switch(t){case"focusin":return Ct=Dt(Ct,e,t,n,r,i),!0;case"dragenter":return Lt=Dt(Lt,e,t,n,r,i),!0;case"mouseover":return At=Dt(At,e,t,n,r,i),!0;case"pointerover":var o=i.pointerId;return It.set(o,Dt(It.get(o)||null,e,t,n,r,i)),!0;case"gotpointercapture":return o=i.pointerId,Pt.set(o,Dt(Pt.get(o)||null,e,t,n,r,i)),!0}return!1}(i,e,t,n,r))r.stopPropagation();else if(jt(e,r),4&t&&-1<Rt.indexOf(e)){for(;null!==i;){var o=bi(i);if(null!==o&&wt(o),null===(o=Yt(e,t,n,r))&&qr(e,t,r,$t,n),o===i)break;i=o}null!==i&&r.stopPropagation()}else qr(e,t,r,null,n)}}var $t=null;function Yt(e,t,n,r){if($t=null,null!==(e=vi(e=we(r))))if(null===(t=He(e)))e=null;else if(13===(n=t.tag)){if(null!==(e=Ze(t)))return e;e=null}else if(3===n){if(t.stateNode.current.memoizedState.isDehydrated)return 3===t.tag?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return $t=e,null}function Kt(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(Qe()){case Je:return 1;case et:return 4;case tt:case nt:return 16;case rt:return 536870912;default:return 16}default:return 16}}var Xt=null,Qt=null,Jt=null;function en(){if(Jt)return Jt;var e,t,n=Qt,r=n.length,i="value"in Xt?Xt.value:Xt.textContent,o=i.length;for(e=0;e<r&&n[e]===i[e];e++);var a=r-e;for(t=1;t<=a&&n[r-t]===i[o-t];t++);return Jt=i.slice(e,1<t?1-t:void 0)}function tn(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}function nn(){return!0}function rn(){return!1}function on(e){function t(t,n,r,i,o){for(var a in this._reactName=t,this._targetInst=r,this.type=n,this.nativeEvent=i,this.target=o,this.currentTarget=null,e)e.hasOwnProperty(a)&&(t=e[a],this[a]=t?t(i):i[a]);return this.isDefaultPrevented=(null!=i.defaultPrevented?i.defaultPrevented:!1===i.returnValue)?nn:rn,this.isPropagationStopped=rn,this}return N(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=nn)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=nn)},persist:function(){},isPersistent:nn}),t}var an,sn,un,cn={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},ln=on(cn),fn=N({},cn,{view:0,detail:0}),dn=on(fn),pn=N({},fn,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:kn,button:0,buttons:0,relatedTarget:function(e){return void 0===e.relatedTarget?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==un&&(un&&"mousemove"===e.type?(an=e.screenX-un.screenX,sn=e.screenY-un.screenY):sn=an=0,un=e),an)},movementY:function(e){return"movementY"in e?e.movementY:sn}}),hn=on(pn),gn=on(N({},pn,{dataTransfer:0})),mn=on(N({},fn,{relatedTarget:0})),yn=on(N({},cn,{animationName:0,elapsedTime:0,pseudoElement:0})),vn=N({},cn,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),bn=on(vn),_n=on(N({},cn,{data:0})),wn={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Tn={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"},xn={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Sn(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=xn[e])&&!!t[e]}function kn(){return Sn}var En=N({},fn,{key:function(e){if(e.key){var t=wn[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=tn(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?Tn[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:kn,charCode:function(e){return"keypress"===e.type?tn(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?tn(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),On=on(En),Cn=on(N({},pn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),Ln=on(N({},fn,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:kn})),An=on(N({},cn,{propertyName:0,elapsedTime:0,pseudoElement:0})),In=N({},pn,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),Pn=on(In),Mn=[9,13,27,32],Rn=l&&"CompositionEvent"in window,jn=null;l&&"documentMode"in document&&(jn=document.documentMode);var Dn=l&&"TextEvent"in window&&!jn,Nn=l&&(!Rn||jn&&8<jn&&11>=jn),Bn=String.fromCharCode(32),Un=!1;function Fn(e,t){switch(e){case"keyup":return-1!==Mn.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function zn(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var Hn=!1;var Zn={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};function qn(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!Zn[e.type]:"textarea"===t}function Vn(e,t,n,r){Ee(r),0<(t=Wr(t,"onChange")).length&&(n=new ln("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var Wn=null,Gn=null;function $n(e){Br(e,0)}function Yn(e){if(G(_i(e)))return e}function Kn(e,t){if("change"===e)return t}var Xn=!1;if(l){var Qn;if(l){var Jn="oninput"in document;if(!Jn){var er=document.createElement("div");er.setAttribute("oninput","return;"),Jn="function"==typeof er.oninput}Qn=Jn}else Qn=!1;Xn=Qn&&(!document.documentMode||9<document.documentMode)}function tr(){Wn&&(Wn.detachEvent("onpropertychange",nr),Gn=Wn=null)}function nr(e){if("value"===e.propertyName&&Yn(Gn)){var t=[];Vn(t,Gn,e,we(e)),Ie($n,t)}}function rr(e,t,n){"focusin"===e?(tr(),Gn=n,(Wn=t).attachEvent("onpropertychange",nr)):"focusout"===e&&tr()}function ir(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return Yn(Gn)}function or(e,t){if("click"===e)return Yn(t)}function ar(e,t){if("input"===e||"change"===e)return Yn(t)}var sr="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t};function ur(e,t){if(sr(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var i=n[r];if(!f.call(t,i)||!sr(e[i],t[i]))return!1}return!0}function cr(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function lr(e,t){var n,r=cr(e);for(e=0;r;){if(3===r.nodeType){if(n=e+r.textContent.length,e<=t&&n>=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=cr(r)}}function fr(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?fr(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function dr(){for(var e=window,t=$();t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href}catch(e){n=!1}if(!n)break;t=$((e=t.contentWindow).document)}return t}function pr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}function hr(e){var t=dr(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&fr(n.ownerDocument.documentElement,n)){if(null!==r&&pr(n))if(t=r.start,void 0===(e=r.end)&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if((e=(t=n.ownerDocument||document)&&t.defaultView||window).getSelection){e=e.getSelection();var i=n.textContent.length,o=Math.min(r.start,i);r=void 0===r.end?o:Math.min(r.end,i),!e.extend&&o>r&&(i=r,r=o,o=i),i=lr(n,o);var a=lr(n,r);i&&a&&(1!==e.rangeCount||e.anchorNode!==i.node||e.anchorOffset!==i.offset||e.focusNode!==a.node||e.focusOffset!==a.offset)&&((t=t.createRange()).setStart(i.node,i.offset),e.removeAllRanges(),o>r?(e.addRange(t),e.extend(a.node,a.offset)):(t.setEnd(a.node,a.offset),e.addRange(t)))}for(t=[],e=n;e=e.parentNode;)1===e.nodeType&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for("function"==typeof n.focus&&n.focus(),n=0;n<t.length;n++)(e=t[n]).element.scrollLeft=e.left,e.element.scrollTop=e.top}}var gr=l&&"documentMode"in document&&11>=document.documentMode,mr=null,yr=null,vr=null,br=!1;function _r(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;br||null==mr||mr!==$(r)||("selectionStart"in(r=mr)&&pr(r)?r={start:r.selectionStart,end:r.selectionEnd}:r={anchorNode:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset},vr&&ur(vr,r)||(vr=r,0<(r=Wr(yr,"onSelect")).length&&(t=new ln("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=mr)))}function wr(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var Tr={animationend:wr("Animation","AnimationEnd"),animationiteration:wr("Animation","AnimationIteration"),animationstart:wr("Animation","AnimationStart"),transitionend:wr("Transition","TransitionEnd")},xr={},Sr={};function kr(e){if(xr[e])return xr[e];if(!Tr[e])return e;var t,n=Tr[e];for(t in n)if(n.hasOwnProperty(t)&&t in Sr)return xr[e]=n[t];return e}l&&(Sr=document.createElement("div").style,"AnimationEvent"in window||(delete Tr.animationend.animation,delete Tr.animationiteration.animation,delete Tr.animationstart.animation),"TransitionEvent"in window||delete Tr.transitionend.transition);var Er=kr("animationend"),Or=kr("animationiteration"),Cr=kr("animationstart"),Lr=kr("transitionend"),Ar=new Map,Ir="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function Pr(e,t){Ar.set(e,t),u(t,[e])}for(var Mr=0;Mr<Ir.length;Mr++){var Rr=Ir[Mr];Pr(Rr.toLowerCase(),"on"+(Rr[0].toUpperCase()+Rr.slice(1)))}Pr(Er,"onAnimationEnd"),Pr(Or,"onAnimationIteration"),Pr(Cr,"onAnimationStart"),Pr("dblclick","onDoubleClick"),Pr("focusin","onFocus"),Pr("focusout","onBlur"),Pr(Lr,"onTransitionEnd"),c("onMouseEnter",["mouseout","mouseover"]),c("onMouseLeave",["mouseout","mouseover"]),c("onPointerEnter",["pointerout","pointerover"]),c("onPointerLeave",["pointerout","pointerover"]),u("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),u("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),u("onBeforeInput",["compositionend","keypress","textInput","paste"]),u("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),u("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),u("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var jr="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Dr=new Set("cancel close invalid load scroll toggle".split(" ").concat(jr));function Nr(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,function(e,t,n,r,i,a,s,u,c){if(ze.apply(this,arguments),De){if(!De)throw Error(o(198));var l=Ne;De=!1,Ne=null,Be||(Be=!0,Ue=l)}}(r,t,void 0,e),e.currentTarget=null}function Br(e,t){t=0!=(4&t);for(var n=0;n<e.length;n++){var r=e[n],i=r.event;r=r.listeners;e:{var o=void 0;if(t)for(var a=r.length-1;0<=a;a--){var s=r[a],u=s.instance,c=s.currentTarget;if(s=s.listener,u!==o&&i.isPropagationStopped())break e;Nr(i,s,c),o=u}else for(a=0;a<r.length;a++){if(u=(s=r[a]).instance,c=s.currentTarget,s=s.listener,u!==o&&i.isPropagationStopped())break e;Nr(i,s,c),o=u}}}if(Be)throw e=Ue,Be=!1,Ue=null,e}function Ur(e,t){var n=t[gi];void 0===n&&(n=t[gi]=new Set);var r=e+"__bubble";n.has(r)||(Zr(t,e,2,!1),n.add(r))}function Fr(e,t,n){var r=0;t&&(r|=4),Zr(n,e,r,t)}var zr="_reactListening"+Math.random().toString(36).slice(2);function Hr(e){if(!e[zr]){e[zr]=!0,a.forEach((function(t){"selectionchange"!==t&&(Dr.has(t)||Fr(t,!1,e),Fr(t,!0,e))}));var t=9===e.nodeType?e:e.ownerDocument;null===t||t[zr]||(t[zr]=!0,Fr("selectionchange",!1,t))}}function Zr(e,t,n,r){switch(Kt(t)){case 1:var i=Vt;break;case 4:i=Wt;break;default:i=Gt}n=i.bind(null,t,n,e),i=void 0,!Me||"touchstart"!==t&&"touchmove"!==t&&"wheel"!==t||(i=!0),r?void 0!==i?e.addEventListener(t,n,{capture:!0,passive:i}):e.addEventListener(t,n,!0):void 0!==i?e.addEventListener(t,n,{passive:i}):e.addEventListener(t,n,!1)}function qr(e,t,n,r,i){var o=r;if(0==(1&t)&&0==(2&t)&&null!==r)e:for(;;){if(null===r)return;var a=r.tag;if(3===a||4===a){var s=r.stateNode.containerInfo;if(s===i||8===s.nodeType&&s.parentNode===i)break;if(4===a)for(a=r.return;null!==a;){var u=a.tag;if((3===u||4===u)&&((u=a.stateNode.containerInfo)===i||8===u.nodeType&&u.parentNode===i))return;a=a.return}for(;null!==s;){if(null===(a=vi(s)))return;if(5===(u=a.tag)||6===u){r=o=a;continue e}s=s.parentNode}}r=r.return}Ie((function(){var r=o,i=we(n),a=[];e:{var s=Ar.get(e);if(void 0!==s){var u=ln,c=e;switch(e){case"keypress":if(0===tn(n))break e;case"keydown":case"keyup":u=On;break;case"focusin":c="focus",u=mn;break;case"focusout":c="blur",u=mn;break;case"beforeblur":case"afterblur":u=mn;break;case"click":if(2===n.button)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":u=hn;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":u=gn;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":u=Ln;break;case Er:case Or:case Cr:u=yn;break;case Lr:u=An;break;case"scroll":u=dn;break;case"wheel":u=Pn;break;case"copy":case"cut":case"paste":u=bn;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":u=Cn}var l=0!=(4&t),f=!l&&"scroll"===e,d=l?null!==s?s+"Capture":null:s;l=[];for(var p,h=r;null!==h;){var g=(p=h).stateNode;if(5===p.tag&&null!==g&&(p=g,null!==d&&(null!=(g=Pe(h,d))&&l.push(Vr(h,g,p)))),f)break;h=h.return}0<l.length&&(s=new u(s,c,null,n,i),a.push({event:s,listeners:l}))}}if(0==(7&t)){if(u="mouseout"===e||"pointerout"===e,(!(s="mouseover"===e||"pointerover"===e)||n===_e||!(c=n.relatedTarget||n.fromElement)||!vi(c)&&!c[hi])&&(u||s)&&(s=i.window===i?i:(s=i.ownerDocument)?s.defaultView||s.parentWindow:window,u?(u=r,null!==(c=(c=n.relatedTarget||n.toElement)?vi(c):null)&&(c!==(f=He(c))||5!==c.tag&&6!==c.tag)&&(c=null)):(u=null,c=r),u!==c)){if(l=hn,g="onMouseLeave",d="onMouseEnter",h="mouse","pointerout"!==e&&"pointerover"!==e||(l=Cn,g="onPointerLeave",d="onPointerEnter",h="pointer"),f=null==u?s:_i(u),p=null==c?s:_i(c),(s=new l(g,h+"leave",u,n,i)).target=f,s.relatedTarget=p,g=null,vi(i)===r&&((l=new l(d,h+"enter",c,n,i)).target=p,l.relatedTarget=f,g=l),f=g,u&&c)e:{for(d=c,h=0,p=l=u;p;p=Gr(p))h++;for(p=0,g=d;g;g=Gr(g))p++;for(;0<h-p;)l=Gr(l),h--;for(;0<p-h;)d=Gr(d),p--;for(;h--;){if(l===d||null!==d&&l===d.alternate)break e;l=Gr(l),d=Gr(d)}l=null}else l=null;null!==u&&$r(a,s,u,l,!1),null!==c&&null!==f&&$r(a,f,c,l,!0)}if("select"===(u=(s=r?_i(r):window).nodeName&&s.nodeName.toLowerCase())||"input"===u&&"file"===s.type)var m=Kn;else if(qn(s))if(Xn)m=ar;else{m=ir;var y=rr}else(u=s.nodeName)&&"input"===u.toLowerCase()&&("checkbox"===s.type||"radio"===s.type)&&(m=or);switch(m&&(m=m(e,r))?Vn(a,m,n,i):(y&&y(e,s,r),"focusout"===e&&(y=s._wrapperState)&&y.controlled&&"number"===s.type&&ee(s,"number",s.value)),y=r?_i(r):window,e){case"focusin":(qn(y)||"true"===y.contentEditable)&&(mr=y,yr=r,vr=null);break;case"focusout":vr=yr=mr=null;break;case"mousedown":br=!0;break;case"contextmenu":case"mouseup":case"dragend":br=!1,_r(a,n,i);break;case"selectionchange":if(gr)break;case"keydown":case"keyup":_r(a,n,i)}var v;if(Rn)e:{switch(e){case"compositionstart":var b="onCompositionStart";break e;case"compositionend":b="onCompositionEnd";break e;case"compositionupdate":b="onCompositionUpdate";break e}b=void 0}else Hn?Fn(e,n)&&(b="onCompositionEnd"):"keydown"===e&&229===n.keyCode&&(b="onCompositionStart");b&&(Nn&&"ko"!==n.locale&&(Hn||"onCompositionStart"!==b?"onCompositionEnd"===b&&Hn&&(v=en()):(Qt="value"in(Xt=i)?Xt.value:Xt.textContent,Hn=!0)),0<(y=Wr(r,b)).length&&(b=new _n(b,e,null,n,i),a.push({event:b,listeners:y}),v?b.data=v:null!==(v=zn(n))&&(b.data=v))),(v=Dn?function(e,t){switch(e){case"compositionend":return zn(t);case"keypress":return 32!==t.which?null:(Un=!0,Bn);case"textInput":return(e=t.data)===Bn&&Un?null:e;default:return null}}(e,n):function(e,t){if(Hn)return"compositionend"===e||!Rn&&Fn(e,t)?(e=en(),Jt=Qt=Xt=null,Hn=!1,e):null;switch(e){case"paste":default:return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return Nn&&"ko"!==t.locale?null:t.data}}(e,n))&&(0<(r=Wr(r,"onBeforeInput")).length&&(i=new _n("onBeforeInput","beforeinput",null,n,i),a.push({event:i,listeners:r}),i.data=v))}Br(a,t)}))}function Vr(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Wr(e,t){for(var n=t+"Capture",r=[];null!==e;){var i=e,o=i.stateNode;5===i.tag&&null!==o&&(i=o,null!=(o=Pe(e,n))&&r.unshift(Vr(e,o,i)),null!=(o=Pe(e,t))&&r.push(Vr(e,o,i))),e=e.return}return r}function Gr(e){if(null===e)return null;do{e=e.return}while(e&&5!==e.tag);return e||null}function $r(e,t,n,r,i){for(var o=t._reactName,a=[];null!==n&&n!==r;){var s=n,u=s.alternate,c=s.stateNode;if(null!==u&&u===r)break;5===s.tag&&null!==c&&(s=c,i?null!=(u=Pe(n,o))&&a.unshift(Vr(n,u,s)):i||null!=(u=Pe(n,o))&&a.push(Vr(n,u,s))),n=n.return}0!==a.length&&e.push({event:t,listeners:a})}var Yr=/\r\n?/g,Kr=/\u0000|\uFFFD/g;function Xr(e){return("string"==typeof e?e:""+e).replace(Yr,"\n").replace(Kr,"")}function Qr(e,t,n){if(t=Xr(t),Xr(e)!==t&&n)throw Error(o(425))}function Jr(){}var ei=null,ti=null;function ni(e,t){return"textarea"===e||"noscript"===e||"string"==typeof t.children||"number"==typeof t.children||"object"==typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var ri="function"==typeof setTimeout?setTimeout:void 0,ii="function"==typeof clearTimeout?clearTimeout:void 0,oi="function"==typeof Promise?Promise:void 0,ai="function"==typeof queueMicrotask?queueMicrotask:void 0!==oi?function(e){return oi.resolve(null).then(e).catch(si)}:ri;function si(e){setTimeout((function(){throw e}))}function ui(e,t){var n=t,r=0;do{var i=n.nextSibling;if(e.removeChild(n),i&&8===i.nodeType)if("/$"===(n=i.data)){if(0===r)return e.removeChild(i),void Ht(t);r--}else"$"!==n&&"$?"!==n&&"$!"!==n||r++;n=i}while(n);Ht(t)}function ci(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break;if(8===t){if("$"===(t=e.data)||"$!"===t||"$?"===t)break;if("/$"===t)return null}}return e}function li(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if("$"===n||"$!"===n||"$?"===n){if(0===t)return e;t--}else"/$"===n&&t++}e=e.previousSibling}return null}var fi=Math.random().toString(36).slice(2),di="__reactFiber$"+fi,pi="__reactProps$"+fi,hi="__reactContainer$"+fi,gi="__reactEvents$"+fi,mi="__reactListeners$"+fi,yi="__reactHandles$"+fi;function vi(e){var t=e[di];if(t)return t;for(var n=e.parentNode;n;){if(t=n[hi]||n[di]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=li(e);null!==e;){if(n=e[di])return n;e=li(e)}return t}n=(e=n).parentNode}return null}function bi(e){return!(e=e[di]||e[hi])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function _i(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(o(33))}function wi(e){return e[pi]||null}var Ti=[],xi=-1;function Si(e){return{current:e}}function ki(e){0>xi||(e.current=Ti[xi],Ti[xi]=null,xi--)}function Ei(e,t){xi++,Ti[xi]=e.current,e.current=t}var Oi={},Ci=Si(Oi),Li=Si(!1),Ai=Oi;function Ii(e,t){var n=e.type.contextTypes;if(!n)return Oi;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i,o={};for(i in n)o[i]=t[i];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function Pi(e){return null!=(e=e.childContextTypes)}function Mi(){ki(Li),ki(Ci)}function Ri(e,t,n){if(Ci.current!==Oi)throw Error(o(168));Ei(Ci,t),Ei(Li,n)}function ji(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,"function"!=typeof r.getChildContext)return n;for(var i in r=r.getChildContext())if(!(i in t))throw Error(o(108,Z(e)||"Unknown",i));return N({},n,r)}function Di(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Oi,Ai=Ci.current,Ei(Ci,e),Ei(Li,Li.current),!0}function Ni(e,t,n){var r=e.stateNode;if(!r)throw Error(o(169));n?(e=ji(e,t,Ai),r.__reactInternalMemoizedMergedChildContext=e,ki(Li),ki(Ci),Ei(Ci,e)):ki(Li),Ei(Li,n)}var Bi=null,Ui=!1,Fi=!1;function zi(e){null===Bi?Bi=[e]:Bi.push(e)}function Hi(){if(!Fi&&null!==Bi){Fi=!0;var e=0,t=bt;try{var n=Bi;for(bt=1;e<n.length;e++){var r=n[e];do{r=r(!0)}while(null!==r)}Bi=null,Ui=!1}catch(t){throw null!==Bi&&(Bi=Bi.slice(e+1)),Ge(Je,Hi),t}finally{bt=t,Fi=!1}}return null}var Zi=[],qi=0,Vi=null,Wi=0,Gi=[],$i=0,Yi=null,Ki=1,Xi="";function Qi(e,t){Zi[qi++]=Wi,Zi[qi++]=Vi,Vi=e,Wi=t}function Ji(e,t,n){Gi[$i++]=Ki,Gi[$i++]=Xi,Gi[$i++]=Yi,Yi=e;var r=Ki;e=Xi;var i=32-at(r)-1;r&=~(1<<i),n+=1;var o=32-at(t)+i;if(30<o){var a=i-i%5;o=(r&(1<<a)-1).toString(32),r>>=a,i-=a,Ki=1<<32-at(t)+i|n<<i|r,Xi=o+e}else Ki=1<<o|n<<i|r,Xi=e}function eo(e){null!==e.return&&(Qi(e,1),Ji(e,1,0))}function to(e){for(;e===Vi;)Vi=Zi[--qi],Zi[qi]=null,Wi=Zi[--qi],Zi[qi]=null;for(;e===Yi;)Yi=Gi[--$i],Gi[$i]=null,Xi=Gi[--$i],Gi[$i]=null,Ki=Gi[--$i],Gi[$i]=null}var no=null,ro=null,io=!1,oo=null;function ao(e,t){var n=Ic(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,null===(t=e.deletions)?(e.deletions=[n],e.flags|=16):t.push(n)}function so(e,t){switch(e.tag){case 5:var n=e.type;return null!==(t=1!==t.nodeType||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,no=e,ro=ci(t.firstChild),!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,no=e,ro=null,!0);case 13:return null!==(t=8!==t.nodeType?null:t)&&(n=null!==Yi?{id:Ki,overflow:Xi}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},(n=Ic(18,null,null,0)).stateNode=t,n.return=e,e.child=n,no=e,ro=null,!0);default:return!1}}function uo(e){return 0!=(1&e.mode)&&0==(128&e.flags)}function co(e){if(io){var t=ro;if(t){var n=t;if(!so(e,t)){if(uo(e))throw Error(o(418));t=ci(n.nextSibling);var r=no;t&&so(e,t)?ao(r,n):(e.flags=-4097&e.flags|2,io=!1,no=e)}}else{if(uo(e))throw Error(o(418));e.flags=-4097&e.flags|2,io=!1,no=e}}}function lo(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;no=e}function fo(e){if(e!==no)return!1;if(!io)return lo(e),io=!0,!1;var t;if((t=3!==e.tag)&&!(t=5!==e.tag)&&(t="head"!==(t=e.type)&&"body"!==t&&!ni(e.type,e.memoizedProps)),t&&(t=ro)){if(uo(e))throw po(),Error(o(418));for(;t;)ao(e,t),t=ci(t.nextSibling)}if(lo(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(o(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var n=e.data;if("/$"===n){if(0===t){ro=ci(e.nextSibling);break e}t--}else"$"!==n&&"$!"!==n&&"$?"!==n||t++}e=e.nextSibling}ro=null}}else ro=no?ci(e.stateNode.nextSibling):null;return!0}function po(){for(var e=ro;e;)e=ci(e.nextSibling)}function ho(){ro=no=null,io=!1}function go(e){null===oo?oo=[e]:oo.push(e)}var mo=_.ReactCurrentBatchConfig;function yo(e,t){if(e&&e.defaultProps){for(var n in t=N({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}return t}var vo=Si(null),bo=null,_o=null,wo=null;function To(){wo=_o=bo=null}function xo(e){var t=vo.current;ki(vo),e._currentValue=t}function So(e,t,n){for(;null!==e;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,null!==r&&(r.childLanes|=t)):null!==r&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function ko(e,t){bo=e,wo=_o=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(0!=(e.lanes&t)&&(_s=!0),e.firstContext=null)}function Eo(e){var t=e._currentValue;if(wo!==e)if(e={context:e,memoizedValue:t,next:null},null===_o){if(null===bo)throw Error(o(308));_o=e,bo.dependencies={lanes:0,firstContext:e}}else _o=_o.next=e;return t}var Oo=null;function Co(e){null===Oo?Oo=[e]:Oo.push(e)}function Lo(e,t,n,r){var i=t.interleaved;return null===i?(n.next=n,Co(t)):(n.next=i.next,i.next=n),t.interleaved=n,Ao(e,r)}function Ao(e,t){e.lanes|=t;var n=e.alternate;for(null!==n&&(n.lanes|=t),n=e,e=e.return;null!==e;)e.childLanes|=t,null!==(n=e.alternate)&&(n.childLanes|=t),n=e,e=e.return;return 3===n.tag?n.stateNode:null}var Io=!1;function Po(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Mo(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function Ro(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function jo(e,t,n){var r=e.updateQueue;if(null===r)return null;if(r=r.shared,0!=(2&Cu)){var i=r.pending;return null===i?t.next=t:(t.next=i.next,i.next=t),r.pending=t,Ao(e,n)}return null===(i=r.interleaved)?(t.next=t,Co(r)):(t.next=i.next,i.next=t),r.interleaved=t,Ao(e,n)}function Do(e,t,n){if(null!==(t=t.updateQueue)&&(t=t.shared,0!=(4194240&n))){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,vt(e,n)}}function No(e,t){var n=e.updateQueue,r=e.alternate;if(null!==r&&n===(r=r.updateQueue)){var i=null,o=null;if(null!==(n=n.firstBaseUpdate)){do{var a={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};null===o?i=o=a:o=o.next=a,n=n.next}while(null!==n);null===o?i=o=t:o=o.next=t}else i=o=t;return n={baseState:r.baseState,firstBaseUpdate:i,lastBaseUpdate:o,shared:r.shared,effects:r.effects},void(e.updateQueue=n)}null===(e=n.lastBaseUpdate)?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function Bo(e,t,n,r){var i=e.updateQueue;Io=!1;var o=i.firstBaseUpdate,a=i.lastBaseUpdate,s=i.shared.pending;if(null!==s){i.shared.pending=null;var u=s,c=u.next;u.next=null,null===a?o=c:a.next=c,a=u;var l=e.alternate;null!==l&&((s=(l=l.updateQueue).lastBaseUpdate)!==a&&(null===s?l.firstBaseUpdate=c:s.next=c,l.lastBaseUpdate=u))}if(null!==o){var f=i.baseState;for(a=0,l=c=u=null,s=o;;){var d=s.lane,p=s.eventTime;if((r&d)===d){null!==l&&(l=l.next={eventTime:p,lane:0,tag:s.tag,payload:s.payload,callback:s.callback,next:null});e:{var h=e,g=s;switch(d=t,p=n,g.tag){case 1:if("function"==typeof(h=g.payload)){f=h.call(p,f,d);break e}f=h;break e;case 3:h.flags=-65537&h.flags|128;case 0:if(null==(d="function"==typeof(h=g.payload)?h.call(p,f,d):h))break e;f=N({},f,d);break e;case 2:Io=!0}}null!==s.callback&&0!==s.lane&&(e.flags|=64,null===(d=i.effects)?i.effects=[s]:d.push(s))}else p={eventTime:p,lane:d,tag:s.tag,payload:s.payload,callback:s.callback,next:null},null===l?(c=l=p,u=f):l=l.next=p,a|=d;if(null===(s=s.next)){if(null===(s=i.shared.pending))break;s=(d=s).next,d.next=null,i.lastBaseUpdate=d,i.shared.pending=null}}if(null===l&&(u=f),i.baseState=u,i.firstBaseUpdate=c,i.lastBaseUpdate=l,null!==(t=i.shared.interleaved)){i=t;do{a|=i.lane,i=i.next}while(i!==t)}else null===o&&(i.shared.lanes=0);Du|=a,e.lanes=a,e.memoizedState=f}}function Uo(e,t,n){if(e=t.effects,t.effects=null,null!==e)for(t=0;t<e.length;t++){var r=e[t],i=r.callback;if(null!==i){if(r.callback=null,r=n,"function"!=typeof i)throw Error(o(191,i));i.call(r)}}}var Fo=(new r.Component).refs;function zo(e,t,n,r){n=null==(n=n(r,t=e.memoizedState))?t:N({},t,n),e.memoizedState=n,0===e.lanes&&(e.updateQueue.baseState=n)}var Ho={isMounted:function(e){return!!(e=e._reactInternals)&&He(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=ec(),i=tc(e),o=Ro(r,i);o.payload=t,null!=n&&(o.callback=n),null!==(t=jo(e,o,i))&&(nc(t,e,i,r),Do(t,e,i))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=ec(),i=tc(e),o=Ro(r,i);o.tag=1,o.payload=t,null!=n&&(o.callback=n),null!==(t=jo(e,o,i))&&(nc(t,e,i,r),Do(t,e,i))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=ec(),r=tc(e),i=Ro(n,r);i.tag=2,null!=t&&(i.callback=t),null!==(t=jo(e,i,r))&&(nc(t,e,r,n),Do(t,e,r))}};function Zo(e,t,n,r,i,o,a){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,o,a):!t.prototype||!t.prototype.isPureReactComponent||(!ur(n,r)||!ur(i,o))}function qo(e,t,n){var r=!1,i=Oi,o=t.contextType;return"object"==typeof o&&null!==o?o=Eo(o):(i=Pi(t)?Ai:Ci.current,o=(r=null!=(r=t.contextTypes))?Ii(e,i):Oi),t=new t(n,o),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=Ho,e.stateNode=t,t._reactInternals=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=i,e.__reactInternalMemoizedMaskedChildContext=o),t}function Vo(e,t,n,r){e=t.state,"function"==typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),"function"==typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&Ho.enqueueReplaceState(t,t.state,null)}function Wo(e,t,n,r){var i=e.stateNode;i.props=n,i.state=e.memoizedState,i.refs=Fo,Po(e);var o=t.contextType;"object"==typeof o&&null!==o?i.context=Eo(o):(o=Pi(t)?Ai:Ci.current,i.context=Ii(e,o)),i.state=e.memoizedState,"function"==typeof(o=t.getDerivedStateFromProps)&&(zo(e,t,o,n),i.state=e.memoizedState),"function"==typeof t.getDerivedStateFromProps||"function"==typeof i.getSnapshotBeforeUpdate||"function"!=typeof i.UNSAFE_componentWillMount&&"function"!=typeof i.componentWillMount||(t=i.state,"function"==typeof i.componentWillMount&&i.componentWillMount(),"function"==typeof i.UNSAFE_componentWillMount&&i.UNSAFE_componentWillMount(),t!==i.state&&Ho.enqueueReplaceState(i,i.state,null),Bo(e,n,i,r),i.state=e.memoizedState),"function"==typeof i.componentDidMount&&(e.flags|=4194308)}function Go(e,t,n){if(null!==(e=n.ref)&&"function"!=typeof e&&"object"!=typeof e){if(n._owner){if(n=n._owner){if(1!==n.tag)throw Error(o(309));var r=n.stateNode}if(!r)throw Error(o(147,e));var i=r,a=""+e;return null!==t&&null!==t.ref&&"function"==typeof t.ref&&t.ref._stringRef===a?t.ref:(t=function(e){var t=i.refs;t===Fo&&(t=i.refs={}),null===e?delete t[a]:t[a]=e},t._stringRef=a,t)}if("string"!=typeof e)throw Error(o(284));if(!n._owner)throw Error(o(290,e))}return e}function $o(e,t){throw e=Object.prototype.toString.call(t),Error(o(31,"[object Object]"===e?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function Yo(e){return(0,e._init)(e._payload)}function Ko(e){function t(t,n){if(e){var r=t.deletions;null===r?(t.deletions=[n],t.flags|=16):r.push(n)}}function n(n,r){if(!e)return null;for(;null!==r;)t(n,r),r=r.sibling;return null}function r(e,t){for(e=new Map;null!==t;)null!==t.key?e.set(t.key,t):e.set(t.index,t),t=t.sibling;return e}function i(e,t){return(e=Mc(e,t)).index=0,e.sibling=null,e}function a(t,n,r){return t.index=r,e?null!==(r=t.alternate)?(r=r.index)<n?(t.flags|=2,n):r:(t.flags|=2,n):(t.flags|=1048576,n)}function s(t){return e&&null===t.alternate&&(t.flags|=2),t}function u(e,t,n,r){return null===t||6!==t.tag?((t=Nc(n,e.mode,r)).return=e,t):((t=i(t,n)).return=e,t)}function c(e,t,n,r){var o=n.type;return o===x?f(e,t,n.props.children,r,n.key):null!==t&&(t.elementType===o||"object"==typeof o&&null!==o&&o.$$typeof===P&&Yo(o)===t.type)?((r=i(t,n.props)).ref=Go(e,t,n),r.return=e,r):((r=Rc(n.type,n.key,n.props,null,e.mode,r)).ref=Go(e,t,n),r.return=e,r)}function l(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=Bc(n,e.mode,r)).return=e,t):((t=i(t,n.children||[])).return=e,t)}function f(e,t,n,r,o){return null===t||7!==t.tag?((t=jc(n,e.mode,r,o)).return=e,t):((t=i(t,n)).return=e,t)}function d(e,t,n){if("string"==typeof t&&""!==t||"number"==typeof t)return(t=Nc(""+t,e.mode,n)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case w:return(n=Rc(t.type,t.key,t.props,null,e.mode,n)).ref=Go(e,null,t),n.return=e,n;case T:return(t=Bc(t,e.mode,n)).return=e,t;case P:return d(e,(0,t._init)(t._payload),n)}if(te(t)||j(t))return(t=jc(t,e.mode,n,null)).return=e,t;$o(e,t)}return null}function p(e,t,n,r){var i=null!==t?t.key:null;if("string"==typeof n&&""!==n||"number"==typeof n)return null!==i?null:u(e,t,""+n,r);if("object"==typeof n&&null!==n){switch(n.$$typeof){case w:return n.key===i?c(e,t,n,r):null;case T:return n.key===i?l(e,t,n,r):null;case P:return p(e,t,(i=n._init)(n._payload),r)}if(te(n)||j(n))return null!==i?null:f(e,t,n,r,null);$o(e,n)}return null}function h(e,t,n,r,i){if("string"==typeof r&&""!==r||"number"==typeof r)return u(t,e=e.get(n)||null,""+r,i);if("object"==typeof r&&null!==r){switch(r.$$typeof){case w:return c(t,e=e.get(null===r.key?n:r.key)||null,r,i);case T:return l(t,e=e.get(null===r.key?n:r.key)||null,r,i);case P:return h(e,t,n,(0,r._init)(r._payload),i)}if(te(r)||j(r))return f(t,e=e.get(n)||null,r,i,null);$o(t,r)}return null}function g(i,o,s,u){for(var c=null,l=null,f=o,g=o=0,m=null;null!==f&&g<s.length;g++){f.index>g?(m=f,f=null):m=f.sibling;var y=p(i,f,s[g],u);if(null===y){null===f&&(f=m);break}e&&f&&null===y.alternate&&t(i,f),o=a(y,o,g),null===l?c=y:l.sibling=y,l=y,f=m}if(g===s.length)return n(i,f),io&&Qi(i,g),c;if(null===f){for(;g<s.length;g++)null!==(f=d(i,s[g],u))&&(o=a(f,o,g),null===l?c=f:l.sibling=f,l=f);return io&&Qi(i,g),c}for(f=r(i,f);g<s.length;g++)null!==(m=h(f,i,g,s[g],u))&&(e&&null!==m.alternate&&f.delete(null===m.key?g:m.key),o=a(m,o,g),null===l?c=m:l.sibling=m,l=m);return e&&f.forEach((function(e){return t(i,e)})),io&&Qi(i,g),c}function m(i,s,u,c){var l=j(u);if("function"!=typeof l)throw Error(o(150));if(null==(u=l.call(u)))throw Error(o(151));for(var f=l=null,g=s,m=s=0,y=null,v=u.next();null!==g&&!v.done;m++,v=u.next()){g.index>m?(y=g,g=null):y=g.sibling;var b=p(i,g,v.value,c);if(null===b){null===g&&(g=y);break}e&&g&&null===b.alternate&&t(i,g),s=a(b,s,m),null===f?l=b:f.sibling=b,f=b,g=y}if(v.done)return n(i,g),io&&Qi(i,m),l;if(null===g){for(;!v.done;m++,v=u.next())null!==(v=d(i,v.value,c))&&(s=a(v,s,m),null===f?l=v:f.sibling=v,f=v);return io&&Qi(i,m),l}for(g=r(i,g);!v.done;m++,v=u.next())null!==(v=h(g,i,m,v.value,c))&&(e&&null!==v.alternate&&g.delete(null===v.key?m:v.key),s=a(v,s,m),null===f?l=v:f.sibling=v,f=v);return e&&g.forEach((function(e){return t(i,e)})),io&&Qi(i,m),l}return function e(r,o,a,u){if("object"==typeof a&&null!==a&&a.type===x&&null===a.key&&(a=a.props.children),"object"==typeof a&&null!==a){switch(a.$$typeof){case w:e:{for(var c=a.key,l=o;null!==l;){if(l.key===c){if((c=a.type)===x){if(7===l.tag){n(r,l.sibling),(o=i(l,a.props.children)).return=r,r=o;break e}}else if(l.elementType===c||"object"==typeof c&&null!==c&&c.$$typeof===P&&Yo(c)===l.type){n(r,l.sibling),(o=i(l,a.props)).ref=Go(r,l,a),o.return=r,r=o;break e}n(r,l);break}t(r,l),l=l.sibling}a.type===x?((o=jc(a.props.children,r.mode,u,a.key)).return=r,r=o):((u=Rc(a.type,a.key,a.props,null,r.mode,u)).ref=Go(r,o,a),u.return=r,r=u)}return s(r);case T:e:{for(l=a.key;null!==o;){if(o.key===l){if(4===o.tag&&o.stateNode.containerInfo===a.containerInfo&&o.stateNode.implementation===a.implementation){n(r,o.sibling),(o=i(o,a.children||[])).return=r,r=o;break e}n(r,o);break}t(r,o),o=o.sibling}(o=Bc(a,r.mode,u)).return=r,r=o}return s(r);case P:return e(r,o,(l=a._init)(a._payload),u)}if(te(a))return g(r,o,a,u);if(j(a))return m(r,o,a,u);$o(r,a)}return"string"==typeof a&&""!==a||"number"==typeof a?(a=""+a,null!==o&&6===o.tag?(n(r,o.sibling),(o=i(o,a)).return=r,r=o):(n(r,o),(o=Nc(a,r.mode,u)).return=r,r=o),s(r)):n(r,o)}}var Xo=Ko(!0),Qo=Ko(!1),Jo={},ea=Si(Jo),ta=Si(Jo),na=Si(Jo);function ra(e){if(e===Jo)throw Error(o(174));return e}function ia(e,t){switch(Ei(na,t),Ei(ta,e),Ei(ea,Jo),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:ue(null,"");break;default:t=ue(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}ki(ea),Ei(ea,t)}function oa(){ki(ea),ki(ta),ki(na)}function aa(e){ra(na.current);var t=ra(ea.current),n=ue(t,e.type);t!==n&&(Ei(ta,e),Ei(ea,n))}function sa(e){ta.current===e&&(ki(ea),ki(ta))}var ua=Si(0);function ca(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||"$?"===n.data||"$!"===n.data))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(0!=(128&t.flags))return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var la=[];function fa(){for(var e=0;e<la.length;e++)la[e]._workInProgressVersionPrimary=null;la.length=0}var da=_.ReactCurrentDispatcher,pa=_.ReactCurrentBatchConfig,ha=0,ga=null,ma=null,ya=null,va=!1,ba=!1,_a=0,wa=0;function Ta(){throw Error(o(321))}function xa(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!sr(e[n],t[n]))return!1;return!0}function Sa(e,t,n,r,i,a){if(ha=a,ga=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,da.current=null===e||null===e.memoizedState?ss:us,e=n(r,i),ba){a=0;do{if(ba=!1,_a=0,25<=a)throw Error(o(301));a+=1,ya=ma=null,t.updateQueue=null,da.current=cs,e=n(r,i)}while(ba)}if(da.current=as,t=null!==ma&&null!==ma.next,ha=0,ya=ma=ga=null,va=!1,t)throw Error(o(300));return e}function ka(){var e=0!==_a;return _a=0,e}function Ea(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===ya?ga.memoizedState=ya=e:ya=ya.next=e,ya}function Oa(){if(null===ma){var e=ga.alternate;e=null!==e?e.memoizedState:null}else e=ma.next;var t=null===ya?ga.memoizedState:ya.next;if(null!==t)ya=t,ma=e;else{if(null===e)throw Error(o(310));e={memoizedState:(ma=e).memoizedState,baseState:ma.baseState,baseQueue:ma.baseQueue,queue:ma.queue,next:null},null===ya?ga.memoizedState=ya=e:ya=ya.next=e}return ya}function Ca(e,t){return"function"==typeof t?t(e):t}function La(e){var t=Oa(),n=t.queue;if(null===n)throw Error(o(311));n.lastRenderedReducer=e;var r=ma,i=r.baseQueue,a=n.pending;if(null!==a){if(null!==i){var s=i.next;i.next=a.next,a.next=s}r.baseQueue=i=a,n.pending=null}if(null!==i){a=i.next,r=r.baseState;var u=s=null,c=null,l=a;do{var f=l.lane;if((ha&f)===f)null!==c&&(c=c.next={lane:0,action:l.action,hasEagerState:l.hasEagerState,eagerState:l.eagerState,next:null}),r=l.hasEagerState?l.eagerState:e(r,l.action);else{var d={lane:f,action:l.action,hasEagerState:l.hasEagerState,eagerState:l.eagerState,next:null};null===c?(u=c=d,s=r):c=c.next=d,ga.lanes|=f,Du|=f}l=l.next}while(null!==l&&l!==a);null===c?s=r:c.next=u,sr(r,t.memoizedState)||(_s=!0),t.memoizedState=r,t.baseState=s,t.baseQueue=c,n.lastRenderedState=r}if(null!==(e=n.interleaved)){i=e;do{a=i.lane,ga.lanes|=a,Du|=a,i=i.next}while(i!==e)}else null===i&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function Aa(e){var t=Oa(),n=t.queue;if(null===n)throw Error(o(311));n.lastRenderedReducer=e;var r=n.dispatch,i=n.pending,a=t.memoizedState;if(null!==i){n.pending=null;var s=i=i.next;do{a=e(a,s.action),s=s.next}while(s!==i);sr(a,t.memoizedState)||(_s=!0),t.memoizedState=a,null===t.baseQueue&&(t.baseState=a),n.lastRenderedState=a}return[a,r]}function Ia(){}function Pa(e,t){var n=ga,r=Oa(),i=t(),a=!sr(r.memoizedState,i);if(a&&(r.memoizedState=i,_s=!0),r=r.queue,qa(ja.bind(null,n,r,e),[e]),r.getSnapshot!==t||a||null!==ya&&1&ya.memoizedState.tag){if(n.flags|=2048,Ua(9,Ra.bind(null,n,r,i,t),void 0,null),null===Lu)throw Error(o(349));0!=(30&ha)||Ma(n,t,i)}return i}function Ma(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},null===(t=ga.updateQueue)?(t={lastEffect:null,stores:null},ga.updateQueue=t,t.stores=[e]):null===(n=t.stores)?t.stores=[e]:n.push(e)}function Ra(e,t,n,r){t.value=n,t.getSnapshot=r,Da(t)&&Na(e)}function ja(e,t,n){return n((function(){Da(t)&&Na(e)}))}function Da(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!sr(e,n)}catch(e){return!0}}function Na(e){var t=Ao(e,1);null!==t&&nc(t,e,1,-1)}function Ba(e){var t=Ea();return"function"==typeof e&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Ca,lastRenderedState:e},t.queue=e,e=e.dispatch=ns.bind(null,ga,e),[t.memoizedState,e]}function Ua(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===(t=ga.updateQueue)?(t={lastEffect:null,stores:null},ga.updateQueue=t,t.lastEffect=e.next=e):null===(n=t.lastEffect)?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e),e}function Fa(){return Oa().memoizedState}function za(e,t,n,r){var i=Ea();ga.flags|=e,i.memoizedState=Ua(1|t,n,void 0,void 0===r?null:r)}function Ha(e,t,n,r){var i=Oa();r=void 0===r?null:r;var o=void 0;if(null!==ma){var a=ma.memoizedState;if(o=a.destroy,null!==r&&xa(r,a.deps))return void(i.memoizedState=Ua(t,n,o,r))}ga.flags|=e,i.memoizedState=Ua(1|t,n,o,r)}function Za(e,t){return za(8390656,8,e,t)}function qa(e,t){return Ha(2048,8,e,t)}function Va(e,t){return Ha(4,2,e,t)}function Wa(e,t){return Ha(4,4,e,t)}function Ga(e,t){return"function"==typeof t?(e=e(),t(e),function(){t(null)}):null!=t?(e=e(),t.current=e,function(){t.current=null}):void 0}function $a(e,t,n){return n=null!=n?n.concat([e]):null,Ha(4,4,Ga.bind(null,t,e),n)}function Ya(){}function Ka(e,t){var n=Oa();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&xa(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function Xa(e,t){var n=Oa();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&xa(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function Qa(e,t,n){return 0==(21&ha)?(e.baseState&&(e.baseState=!1,_s=!0),e.memoizedState=n):(sr(n,t)||(n=gt(),ga.lanes|=n,Du|=n,e.baseState=!0),t)}function Ja(e,t){var n=bt;bt=0!==n&&4>n?n:4,e(!0);var r=pa.transition;pa.transition={};try{e(!1),t()}finally{bt=n,pa.transition=r}}function es(){return Oa().memoizedState}function ts(e,t,n){var r=tc(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},rs(e))is(t,n);else if(null!==(n=Lo(e,t,n,r))){nc(n,e,r,ec()),os(n,t,r)}}function ns(e,t,n){var r=tc(e),i={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(rs(e))is(t,i);else{var o=e.alternate;if(0===e.lanes&&(null===o||0===o.lanes)&&null!==(o=t.lastRenderedReducer))try{var a=t.lastRenderedState,s=o(a,n);if(i.hasEagerState=!0,i.eagerState=s,sr(s,a)){var u=t.interleaved;return null===u?(i.next=i,Co(t)):(i.next=u.next,u.next=i),void(t.interleaved=i)}}catch(e){}null!==(n=Lo(e,t,i,r))&&(nc(n,e,r,i=ec()),os(n,t,r))}}function rs(e){var t=e.alternate;return e===ga||null!==t&&t===ga}function is(e,t){ba=va=!0;var n=e.pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function os(e,t,n){if(0!=(4194240&n)){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,vt(e,n)}}var as={readContext:Eo,useCallback:Ta,useContext:Ta,useEffect:Ta,useImperativeHandle:Ta,useInsertionEffect:Ta,useLayoutEffect:Ta,useMemo:Ta,useReducer:Ta,useRef:Ta,useState:Ta,useDebugValue:Ta,useDeferredValue:Ta,useTransition:Ta,useMutableSource:Ta,useSyncExternalStore:Ta,useId:Ta,unstable_isNewReconciler:!1},ss={readContext:Eo,useCallback:function(e,t){return Ea().memoizedState=[e,void 0===t?null:t],e},useContext:Eo,useEffect:Za,useImperativeHandle:function(e,t,n){return n=null!=n?n.concat([e]):null,za(4194308,4,Ga.bind(null,t,e),n)},useLayoutEffect:function(e,t){return za(4194308,4,e,t)},useInsertionEffect:function(e,t){return za(4,2,e,t)},useMemo:function(e,t){var n=Ea();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Ea();return t=void 0!==n?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=ts.bind(null,ga,e),[r.memoizedState,e]},useRef:function(e){return e={current:e},Ea().memoizedState=e},useState:Ba,useDebugValue:Ya,useDeferredValue:function(e){return Ea().memoizedState=e},useTransition:function(){var e=Ba(!1),t=e[0];return e=Ja.bind(null,e[1]),Ea().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=ga,i=Ea();if(io){if(void 0===n)throw Error(o(407));n=n()}else{if(n=t(),null===Lu)throw Error(o(349));0!=(30&ha)||Ma(r,t,n)}i.memoizedState=n;var a={value:n,getSnapshot:t};return i.queue=a,Za(ja.bind(null,r,a,e),[e]),r.flags|=2048,Ua(9,Ra.bind(null,r,a,n,t),void 0,null),n},useId:function(){var e=Ea(),t=Lu.identifierPrefix;if(io){var n=Xi;t=":"+t+"R"+(n=(Ki&~(1<<32-at(Ki)-1)).toString(32)+n),0<(n=_a++)&&(t+="H"+n.toString(32)),t+=":"}else t=":"+t+"r"+(n=wa++).toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},us={readContext:Eo,useCallback:Ka,useContext:Eo,useEffect:qa,useImperativeHandle:$a,useInsertionEffect:Va,useLayoutEffect:Wa,useMemo:Xa,useReducer:La,useRef:Fa,useState:function(){return La(Ca)},useDebugValue:Ya,useDeferredValue:function(e){return Qa(Oa(),ma.memoizedState,e)},useTransition:function(){return[La(Ca)[0],Oa().memoizedState]},useMutableSource:Ia,useSyncExternalStore:Pa,useId:es,unstable_isNewReconciler:!1},cs={readContext:Eo,useCallback:Ka,useContext:Eo,useEffect:qa,useImperativeHandle:$a,useInsertionEffect:Va,useLayoutEffect:Wa,useMemo:Xa,useReducer:Aa,useRef:Fa,useState:function(){return Aa(Ca)},useDebugValue:Ya,useDeferredValue:function(e){var t=Oa();return null===ma?t.memoizedState=e:Qa(t,ma.memoizedState,e)},useTransition:function(){return[Aa(Ca)[0],Oa().memoizedState]},useMutableSource:Ia,useSyncExternalStore:Pa,useId:es,unstable_isNewReconciler:!1};function ls(e,t){try{var n="",r=t;do{n+=z(r),r=r.return}while(r);var i=n}catch(e){i="\nError generating stack: "+e.message+"\n"+e.stack}return{value:e,source:t,stack:i,digest:null}}function fs(e,t,n){return{value:e,source:null,stack:null!=n?n:null,digest:null!=t?t:null}}function ds(e,t){try{console.error(t.value)}catch(e){setTimeout((function(){throw e}))}}var ps="function"==typeof WeakMap?WeakMap:Map;function hs(e,t,n){(n=Ro(-1,n)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){qu||(qu=!0,Vu=r),ds(0,t)},n}function gs(e,t,n){(n=Ro(-1,n)).tag=3;var r=e.type.getDerivedStateFromError;if("function"==typeof r){var i=t.value;n.payload=function(){return r(i)},n.callback=function(){ds(0,t)}}var o=e.stateNode;return null!==o&&"function"==typeof o.componentDidCatch&&(n.callback=function(){ds(0,t),"function"!=typeof r&&(null===Wu?Wu=new Set([this]):Wu.add(this));var e=t.stack;this.componentDidCatch(t.value,{componentStack:null!==e?e:""})}),n}function ms(e,t,n){var r=e.pingCache;if(null===r){r=e.pingCache=new ps;var i=new Set;r.set(t,i)}else void 0===(i=r.get(t))&&(i=new Set,r.set(t,i));i.has(n)||(i.add(n),e=kc.bind(null,e,t,n),t.then(e,e))}function ys(e){do{var t;if((t=13===e.tag)&&(t=null===(t=e.memoizedState)||null!==t.dehydrated),t)return e;e=e.return}while(null!==e);return null}function vs(e,t,n,r,i){return 0==(1&e.mode)?(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,1===n.tag&&(null===n.alternate?n.tag=17:((t=Ro(-1,1)).tag=2,jo(n,t,1))),n.lanes|=1),e):(e.flags|=65536,e.lanes=i,e)}var bs=_.ReactCurrentOwner,_s=!1;function ws(e,t,n,r){t.child=null===e?Qo(t,null,n,r):Xo(t,e.child,n,r)}function Ts(e,t,n,r,i){n=n.render;var o=t.ref;return ko(t,i),r=Sa(e,t,n,r,o,i),n=ka(),null===e||_s?(io&&n&&eo(t),t.flags|=1,ws(e,t,r,i),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,qs(e,t,i))}function xs(e,t,n,r,i){if(null===e){var o=n.type;return"function"!=typeof o||Pc(o)||void 0!==o.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=Rc(n.type,null,r,t,t.mode,i)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=o,Ss(e,t,o,r,i))}if(o=e.child,0==(e.lanes&i)){var a=o.memoizedProps;if((n=null!==(n=n.compare)?n:ur)(a,r)&&e.ref===t.ref)return qs(e,t,i)}return t.flags|=1,(e=Mc(o,r)).ref=t.ref,e.return=t,t.child=e}function Ss(e,t,n,r,i){if(null!==e){var o=e.memoizedProps;if(ur(o,r)&&e.ref===t.ref){if(_s=!1,t.pendingProps=r=o,0==(e.lanes&i))return t.lanes=e.lanes,qs(e,t,i);0!=(131072&e.flags)&&(_s=!0)}}return Os(e,t,n,r,i)}function ks(e,t,n){var r=t.pendingProps,i=r.children,o=null!==e?e.memoizedState:null;if("hidden"===r.mode)if(0==(1&t.mode))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},Ei(Mu,Pu),Pu|=n;else{if(0==(1073741824&n))return e=null!==o?o.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,Ei(Mu,Pu),Pu|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=null!==o?o.baseLanes:n,Ei(Mu,Pu),Pu|=r}else null!==o?(r=o.baseLanes|n,t.memoizedState=null):r=n,Ei(Mu,Pu),Pu|=r;return ws(e,t,i,n),t.child}function Es(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function Os(e,t,n,r,i){var o=Pi(n)?Ai:Ci.current;return o=Ii(t,o),ko(t,i),n=Sa(e,t,n,r,o,i),r=ka(),null===e||_s?(io&&r&&eo(t),t.flags|=1,ws(e,t,n,i),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,qs(e,t,i))}function Cs(e,t,n,r,i){if(Pi(n)){var o=!0;Di(t)}else o=!1;if(ko(t,i),null===t.stateNode)Zs(e,t),qo(t,n,r),Wo(t,n,r,i),r=!0;else if(null===e){var a=t.stateNode,s=t.memoizedProps;a.props=s;var u=a.context,c=n.contextType;"object"==typeof c&&null!==c?c=Eo(c):c=Ii(t,c=Pi(n)?Ai:Ci.current);var l=n.getDerivedStateFromProps,f="function"==typeof l||"function"==typeof a.getSnapshotBeforeUpdate;f||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||(s!==r||u!==c)&&Vo(t,a,r,c),Io=!1;var d=t.memoizedState;a.state=d,Bo(t,r,a,i),u=t.memoizedState,s!==r||d!==u||Li.current||Io?("function"==typeof l&&(zo(t,n,l,r),u=t.memoizedState),(s=Io||Zo(t,n,s,r,d,u,c))?(f||"function"!=typeof a.UNSAFE_componentWillMount&&"function"!=typeof a.componentWillMount||("function"==typeof a.componentWillMount&&a.componentWillMount(),"function"==typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount()),"function"==typeof a.componentDidMount&&(t.flags|=4194308)):("function"==typeof a.componentDidMount&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=u),a.props=r,a.state=u,a.context=c,r=s):("function"==typeof a.componentDidMount&&(t.flags|=4194308),r=!1)}else{a=t.stateNode,Mo(e,t),s=t.memoizedProps,c=t.type===t.elementType?s:yo(t.type,s),a.props=c,f=t.pendingProps,d=a.context,"object"==typeof(u=n.contextType)&&null!==u?u=Eo(u):u=Ii(t,u=Pi(n)?Ai:Ci.current);var p=n.getDerivedStateFromProps;(l="function"==typeof p||"function"==typeof a.getSnapshotBeforeUpdate)||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||(s!==f||d!==u)&&Vo(t,a,r,u),Io=!1,d=t.memoizedState,a.state=d,Bo(t,r,a,i);var h=t.memoizedState;s!==f||d!==h||Li.current||Io?("function"==typeof p&&(zo(t,n,p,r),h=t.memoizedState),(c=Io||Zo(t,n,c,r,d,h,u)||!1)?(l||"function"!=typeof a.UNSAFE_componentWillUpdate&&"function"!=typeof a.componentWillUpdate||("function"==typeof a.componentWillUpdate&&a.componentWillUpdate(r,h,u),"function"==typeof a.UNSAFE_componentWillUpdate&&a.UNSAFE_componentWillUpdate(r,h,u)),"function"==typeof a.componentDidUpdate&&(t.flags|=4),"function"==typeof a.getSnapshotBeforeUpdate&&(t.flags|=1024)):("function"!=typeof a.componentDidUpdate||s===e.memoizedProps&&d===e.memoizedState||(t.flags|=4),"function"!=typeof a.getSnapshotBeforeUpdate||s===e.memoizedProps&&d===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=h),a.props=r,a.state=h,a.context=u,r=c):("function"!=typeof a.componentDidUpdate||s===e.memoizedProps&&d===e.memoizedState||(t.flags|=4),"function"!=typeof a.getSnapshotBeforeUpdate||s===e.memoizedProps&&d===e.memoizedState||(t.flags|=1024),r=!1)}return Ls(e,t,n,r,o,i)}function Ls(e,t,n,r,i,o){Es(e,t);var a=0!=(128&t.flags);if(!r&&!a)return i&&Ni(t,n,!1),qs(e,t,o);r=t.stateNode,bs.current=t;var s=a&&"function"!=typeof n.getDerivedStateFromError?null:r.render();return t.flags|=1,null!==e&&a?(t.child=Xo(t,e.child,null,o),t.child=Xo(t,null,s,o)):ws(e,t,s,o),t.memoizedState=r.state,i&&Ni(t,n,!0),t.child}function As(e){var t=e.stateNode;t.pendingContext?Ri(0,t.pendingContext,t.pendingContext!==t.context):t.context&&Ri(0,t.context,!1),ia(e,t.containerInfo)}function Is(e,t,n,r,i){return ho(),go(i),t.flags|=256,ws(e,t,n,r),t.child}var Ps,Ms,Rs,js={dehydrated:null,treeContext:null,retryLane:0};function Ds(e){return{baseLanes:e,cachePool:null,transitions:null}}function Ns(e,t,n){var r,i=t.pendingProps,a=ua.current,s=!1,u=0!=(128&t.flags);if((r=u)||(r=(null===e||null!==e.memoizedState)&&0!=(2&a)),r?(s=!0,t.flags&=-129):null!==e&&null===e.memoizedState||(a|=1),Ei(ua,1&a),null===e)return co(t),null!==(e=t.memoizedState)&&null!==(e=e.dehydrated)?(0==(1&t.mode)?t.lanes=1:"$!"===e.data?t.lanes=8:t.lanes=1073741824,null):(u=i.children,e=i.fallback,s?(i=t.mode,s=t.child,u={mode:"hidden",children:u},0==(1&i)&&null!==s?(s.childLanes=0,s.pendingProps=u):s=Dc(u,i,0,null),e=jc(e,i,n,null),s.return=t,e.return=t,s.sibling=e,t.child=s,t.child.memoizedState=Ds(n),t.memoizedState=js,e):Bs(t,u));if(null!==(a=e.memoizedState)&&null!==(r=a.dehydrated))return function(e,t,n,r,i,a,s){if(n)return 256&t.flags?(t.flags&=-257,Us(e,t,s,r=fs(Error(o(422))))):null!==t.memoizedState?(t.child=e.child,t.flags|=128,null):(a=r.fallback,i=t.mode,r=Dc({mode:"visible",children:r.children},i,0,null),(a=jc(a,i,s,null)).flags|=2,r.return=t,a.return=t,r.sibling=a,t.child=r,0!=(1&t.mode)&&Xo(t,e.child,null,s),t.child.memoizedState=Ds(s),t.memoizedState=js,a);if(0==(1&t.mode))return Us(e,t,s,null);if("$!"===i.data){if(r=i.nextSibling&&i.nextSibling.dataset)var u=r.dgst;return r=u,Us(e,t,s,r=fs(a=Error(o(419)),r,void 0))}if(u=0!=(s&e.childLanes),_s||u){if(null!==(r=Lu)){switch(s&-s){case 4:i=2;break;case 16:i=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:i=32;break;case 536870912:i=268435456;break;default:i=0}0!==(i=0!=(i&(r.suspendedLanes|s))?0:i)&&i!==a.retryLane&&(a.retryLane=i,Ao(e,i),nc(r,e,i,-1))}return gc(),Us(e,t,s,r=fs(Error(o(421))))}return"$?"===i.data?(t.flags|=128,t.child=e.child,t=Oc.bind(null,e),i._reactRetry=t,null):(e=a.treeContext,ro=ci(i.nextSibling),no=t,io=!0,oo=null,null!==e&&(Gi[$i++]=Ki,Gi[$i++]=Xi,Gi[$i++]=Yi,Ki=e.id,Xi=e.overflow,Yi=t),(t=Bs(t,r.children)).flags|=4096,t)}(e,t,u,i,r,a,n);if(s){s=i.fallback,u=t.mode,r=(a=e.child).sibling;var c={mode:"hidden",children:i.children};return 0==(1&u)&&t.child!==a?((i=t.child).childLanes=0,i.pendingProps=c,t.deletions=null):(i=Mc(a,c)).subtreeFlags=14680064&a.subtreeFlags,null!==r?s=Mc(r,s):(s=jc(s,u,n,null)).flags|=2,s.return=t,i.return=t,i.sibling=s,t.child=i,i=s,s=t.child,u=null===(u=e.child.memoizedState)?Ds(n):{baseLanes:u.baseLanes|n,cachePool:null,transitions:u.transitions},s.memoizedState=u,s.childLanes=e.childLanes&~n,t.memoizedState=js,i}return e=(s=e.child).sibling,i=Mc(s,{mode:"visible",children:i.children}),0==(1&t.mode)&&(i.lanes=n),i.return=t,i.sibling=null,null!==e&&(null===(n=t.deletions)?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=i,t.memoizedState=null,i}function Bs(e,t){return(t=Dc({mode:"visible",children:t},e.mode,0,null)).return=e,e.child=t}function Us(e,t,n,r){return null!==r&&go(r),Xo(t,e.child,null,n),(e=Bs(t,t.pendingProps.children)).flags|=2,t.memoizedState=null,e}function Fs(e,t,n){e.lanes|=t;var r=e.alternate;null!==r&&(r.lanes|=t),So(e.return,t,n)}function zs(e,t,n,r,i){var o=e.memoizedState;null===o?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:i}:(o.isBackwards=t,o.rendering=null,o.renderingStartTime=0,o.last=r,o.tail=n,o.tailMode=i)}function Hs(e,t,n){var r=t.pendingProps,i=r.revealOrder,o=r.tail;if(ws(e,t,r.children,n),0!=(2&(r=ua.current)))r=1&r|2,t.flags|=128;else{if(null!==e&&0!=(128&e.flags))e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&Fs(e,n,t);else if(19===e.tag)Fs(e,n,t);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(Ei(ua,r),0==(1&t.mode))t.memoizedState=null;else switch(i){case"forwards":for(n=t.child,i=null;null!==n;)null!==(e=n.alternate)&&null===ca(e)&&(i=n),n=n.sibling;null===(n=i)?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null),zs(t,!1,i,n,o);break;case"backwards":for(n=null,i=t.child,t.child=null;null!==i;){if(null!==(e=i.alternate)&&null===ca(e)){t.child=i;break}e=i.sibling,i.sibling=n,n=i,i=e}zs(t,!0,n,null,o);break;case"together":zs(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Zs(e,t){0==(1&t.mode)&&null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2)}function qs(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),Du|=t.lanes,0==(n&t.childLanes))return null;if(null!==e&&t.child!==e.child)throw Error(o(153));if(null!==t.child){for(n=Mc(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=Mc(e,e.pendingProps)).return=t;n.sibling=null}return t.child}function Vs(e,t){if(!io)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;null!==t;)null!==t.alternate&&(n=t),t=t.sibling;null===n?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?t||null===e.tail?e.tail=null:e.tail.sibling=null:r.sibling=null}}function Ws(e){var t=null!==e.alternate&&e.alternate.child===e.child,n=0,r=0;if(t)for(var i=e.child;null!==i;)n|=i.lanes|i.childLanes,r|=14680064&i.subtreeFlags,r|=14680064&i.flags,i.return=e,i=i.sibling;else for(i=e.child;null!==i;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags,r|=i.flags,i.return=e,i=i.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function Gs(e,t,n){var r=t.pendingProps;switch(to(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Ws(t),null;case 1:case 17:return Pi(t.type)&&Mi(),Ws(t),null;case 3:return r=t.stateNode,oa(),ki(Li),ki(Ci),fa(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),null!==e&&null!==e.child||(fo(t)?t.flags|=4:null===e||e.memoizedState.isDehydrated&&0==(256&t.flags)||(t.flags|=1024,null!==oo&&(ac(oo),oo=null))),Ws(t),null;case 5:sa(t);var i=ra(na.current);if(n=t.type,null!==e&&null!=t.stateNode)Ms(e,t,n,r),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(null===t.stateNode)throw Error(o(166));return Ws(t),null}if(e=ra(ea.current),fo(t)){r=t.stateNode,n=t.type;var a=t.memoizedProps;switch(r[di]=t,r[pi]=a,e=0!=(1&t.mode),n){case"dialog":Ur("cancel",r),Ur("close",r);break;case"iframe":case"object":case"embed":Ur("load",r);break;case"video":case"audio":for(i=0;i<jr.length;i++)Ur(jr[i],r);break;case"source":Ur("error",r);break;case"img":case"image":case"link":Ur("error",r),Ur("load",r);break;case"details":Ur("toggle",r);break;case"input":K(r,a),Ur("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!a.multiple},Ur("invalid",r);break;case"textarea":ie(r,a),Ur("invalid",r)}for(var u in ve(n,a),i=null,a)if(a.hasOwnProperty(u)){var c=a[u];"children"===u?"string"==typeof c?r.textContent!==c&&(!0!==a.suppressHydrationWarning&&Qr(r.textContent,c,e),i=["children",c]):"number"==typeof c&&r.textContent!==""+c&&(!0!==a.suppressHydrationWarning&&Qr(r.textContent,c,e),i=["children",""+c]):s.hasOwnProperty(u)&&null!=c&&"onScroll"===u&&Ur("scroll",r)}switch(n){case"input":W(r),J(r,a,!0);break;case"textarea":W(r),ae(r);break;case"select":case"option":break;default:"function"==typeof a.onClick&&(r.onclick=Jr)}r=i,t.updateQueue=r,null!==r&&(t.flags|=4)}else{u=9===i.nodeType?i:i.ownerDocument,"http://www.w3.org/1999/xhtml"===e&&(e=se(n)),"http://www.w3.org/1999/xhtml"===e?"script"===n?((e=u.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"==typeof r.is?e=u.createElement(n,{is:r.is}):(e=u.createElement(n),"select"===n&&(u=e,r.multiple?u.multiple=!0:r.size&&(u.size=r.size))):e=u.createElementNS(e,n),e[di]=t,e[pi]=r,Ps(e,t),t.stateNode=e;e:{switch(u=be(n,r),n){case"dialog":Ur("cancel",e),Ur("close",e),i=r;break;case"iframe":case"object":case"embed":Ur("load",e),i=r;break;case"video":case"audio":for(i=0;i<jr.length;i++)Ur(jr[i],e);i=r;break;case"source":Ur("error",e),i=r;break;case"img":case"image":case"link":Ur("error",e),Ur("load",e),i=r;break;case"details":Ur("toggle",e),i=r;break;case"input":K(e,r),i=Y(e,r),Ur("invalid",e);break;case"option":default:i=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},i=N({},r,{value:void 0}),Ur("invalid",e);break;case"textarea":ie(e,r),i=re(e,r),Ur("invalid",e)}for(a in ve(n,i),c=i)if(c.hasOwnProperty(a)){var l=c[a];"style"===a?me(e,l):"dangerouslySetInnerHTML"===a?null!=(l=l?l.__html:void 0)&&fe(e,l):"children"===a?"string"==typeof l?("textarea"!==n||""!==l)&&de(e,l):"number"==typeof l&&de(e,""+l):"suppressContentEditableWarning"!==a&&"suppressHydrationWarning"!==a&&"autoFocus"!==a&&(s.hasOwnProperty(a)?null!=l&&"onScroll"===a&&Ur("scroll",e):null!=l&&b(e,a,l,u))}switch(n){case"input":W(e),J(e,r,!1);break;case"textarea":W(e),ae(e);break;case"option":null!=r.value&&e.setAttribute("value",""+q(r.value));break;case"select":e.multiple=!!r.multiple,null!=(a=r.value)?ne(e,!!r.multiple,a,!1):null!=r.defaultValue&&ne(e,!!r.multiple,r.defaultValue,!0);break;default:"function"==typeof i.onClick&&(e.onclick=Jr)}switch(n){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}}r&&(t.flags|=4)}null!==t.ref&&(t.flags|=512,t.flags|=2097152)}return Ws(t),null;case 6:if(e&&null!=t.stateNode)Rs(0,t,e.memoizedProps,r);else{if("string"!=typeof r&&null===t.stateNode)throw Error(o(166));if(n=ra(na.current),ra(ea.current),fo(t)){if(r=t.stateNode,n=t.memoizedProps,r[di]=t,(a=r.nodeValue!==n)&&null!==(e=no))switch(e.tag){case 3:Qr(r.nodeValue,n,0!=(1&e.mode));break;case 5:!0!==e.memoizedProps.suppressHydrationWarning&&Qr(r.nodeValue,n,0!=(1&e.mode))}a&&(t.flags|=4)}else(r=(9===n.nodeType?n:n.ownerDocument).createTextNode(r))[di]=t,t.stateNode=r}return Ws(t),null;case 13:if(ki(ua),r=t.memoizedState,null===e||null!==e.memoizedState&&null!==e.memoizedState.dehydrated){if(io&&null!==ro&&0!=(1&t.mode)&&0==(128&t.flags))po(),ho(),t.flags|=98560,a=!1;else if(a=fo(t),null!==r&&null!==r.dehydrated){if(null===e){if(!a)throw Error(o(318));if(!(a=null!==(a=t.memoizedState)?a.dehydrated:null))throw Error(o(317));a[di]=t}else ho(),0==(128&t.flags)&&(t.memoizedState=null),t.flags|=4;Ws(t),a=!1}else null!==oo&&(ac(oo),oo=null),a=!0;if(!a)return 65536&t.flags?t:null}return 0!=(128&t.flags)?(t.lanes=n,t):((r=null!==r)!==(null!==e&&null!==e.memoizedState)&&r&&(t.child.flags|=8192,0!=(1&t.mode)&&(null===e||0!=(1&ua.current)?0===Ru&&(Ru=3):gc())),null!==t.updateQueue&&(t.flags|=4),Ws(t),null);case 4:return oa(),null===e&&Hr(t.stateNode.containerInfo),Ws(t),null;case 10:return xo(t.type._context),Ws(t),null;case 19:if(ki(ua),null===(a=t.memoizedState))return Ws(t),null;if(r=0!=(128&t.flags),null===(u=a.rendering))if(r)Vs(a,!1);else{if(0!==Ru||null!==e&&0!=(128&e.flags))for(e=t.child;null!==e;){if(null!==(u=ca(e))){for(t.flags|=128,Vs(a,!1),null!==(r=u.updateQueue)&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;null!==n;)e=r,(a=n).flags&=14680066,null===(u=a.alternate)?(a.childLanes=0,a.lanes=e,a.child=null,a.subtreeFlags=0,a.memoizedProps=null,a.memoizedState=null,a.updateQueue=null,a.dependencies=null,a.stateNode=null):(a.childLanes=u.childLanes,a.lanes=u.lanes,a.child=u.child,a.subtreeFlags=0,a.deletions=null,a.memoizedProps=u.memoizedProps,a.memoizedState=u.memoizedState,a.updateQueue=u.updateQueue,a.type=u.type,e=u.dependencies,a.dependencies=null===e?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return Ei(ua,1&ua.current|2),t.child}e=e.sibling}null!==a.tail&&Xe()>Hu&&(t.flags|=128,r=!0,Vs(a,!1),t.lanes=4194304)}else{if(!r)if(null!==(e=ca(u))){if(t.flags|=128,r=!0,null!==(n=e.updateQueue)&&(t.updateQueue=n,t.flags|=4),Vs(a,!0),null===a.tail&&"hidden"===a.tailMode&&!u.alternate&&!io)return Ws(t),null}else 2*Xe()-a.renderingStartTime>Hu&&1073741824!==n&&(t.flags|=128,r=!0,Vs(a,!1),t.lanes=4194304);a.isBackwards?(u.sibling=t.child,t.child=u):(null!==(n=a.last)?n.sibling=u:t.child=u,a.last=u)}return null!==a.tail?(t=a.tail,a.rendering=t,a.tail=t.sibling,a.renderingStartTime=Xe(),t.sibling=null,n=ua.current,Ei(ua,r?1&n|2:1&n),t):(Ws(t),null);case 22:case 23:return fc(),r=null!==t.memoizedState,null!==e&&null!==e.memoizedState!==r&&(t.flags|=8192),r&&0!=(1&t.mode)?0!=(1073741824&Pu)&&(Ws(t),6&t.subtreeFlags&&(t.flags|=8192)):Ws(t),null;case 24:case 25:return null}throw Error(o(156,t.tag))}function $s(e,t){switch(to(t),t.tag){case 1:return Pi(t.type)&&Mi(),65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 3:return oa(),ki(Li),ki(Ci),fa(),0!=(65536&(e=t.flags))&&0==(128&e)?(t.flags=-65537&e|128,t):null;case 5:return sa(t),null;case 13:if(ki(ua),null!==(e=t.memoizedState)&&null!==e.dehydrated){if(null===t.alternate)throw Error(o(340));ho()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 19:return ki(ua),null;case 4:return oa(),null;case 10:return xo(t.type._context),null;case 22:case 23:return fc(),null;default:return null}}Ps=function(e,t){for(var n=t.child;null!==n;){if(5===n.tag||6===n.tag)e.appendChild(n.stateNode);else if(4!==n.tag&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===t)break;for(;null===n.sibling;){if(null===n.return||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},Ms=function(e,t,n,r){var i=e.memoizedProps;if(i!==r){e=t.stateNode,ra(ea.current);var o,a=null;switch(n){case"input":i=Y(e,i),r=Y(e,r),a=[];break;case"select":i=N({},i,{value:void 0}),r=N({},r,{value:void 0}),a=[];break;case"textarea":i=re(e,i),r=re(e,r),a=[];break;default:"function"!=typeof i.onClick&&"function"==typeof r.onClick&&(e.onclick=Jr)}for(l in ve(n,r),n=null,i)if(!r.hasOwnProperty(l)&&i.hasOwnProperty(l)&&null!=i[l])if("style"===l){var u=i[l];for(o in u)u.hasOwnProperty(o)&&(n||(n={}),n[o]="")}else"dangerouslySetInnerHTML"!==l&&"children"!==l&&"suppressContentEditableWarning"!==l&&"suppressHydrationWarning"!==l&&"autoFocus"!==l&&(s.hasOwnProperty(l)?a||(a=[]):(a=a||[]).push(l,null));for(l in r){var c=r[l];if(u=null!=i?i[l]:void 0,r.hasOwnProperty(l)&&c!==u&&(null!=c||null!=u))if("style"===l)if(u){for(o in u)!u.hasOwnProperty(o)||c&&c.hasOwnProperty(o)||(n||(n={}),n[o]="");for(o in c)c.hasOwnProperty(o)&&u[o]!==c[o]&&(n||(n={}),n[o]=c[o])}else n||(a||(a=[]),a.push(l,n)),n=c;else"dangerouslySetInnerHTML"===l?(c=c?c.__html:void 0,u=u?u.__html:void 0,null!=c&&u!==c&&(a=a||[]).push(l,c)):"children"===l?"string"!=typeof c&&"number"!=typeof c||(a=a||[]).push(l,""+c):"suppressContentEditableWarning"!==l&&"suppressHydrationWarning"!==l&&(s.hasOwnProperty(l)?(null!=c&&"onScroll"===l&&Ur("scroll",e),a||u===c||(a=[])):(a=a||[]).push(l,c))}n&&(a=a||[]).push("style",n);var l=a;(t.updateQueue=l)&&(t.flags|=4)}},Rs=function(e,t,n,r){n!==r&&(t.flags|=4)};var Ys=!1,Ks=!1,Xs="function"==typeof WeakSet?WeakSet:Set,Qs=null;function Js(e,t){var n=e.ref;if(null!==n)if("function"==typeof n)try{n(null)}catch(n){Sc(e,t,n)}else n.current=null}function eu(e,t,n){try{n()}catch(n){Sc(e,t,n)}}var tu=!1;function nu(e,t,n){var r=t.updateQueue;if(null!==(r=null!==r?r.lastEffect:null)){var i=r=r.next;do{if((i.tag&e)===e){var o=i.destroy;i.destroy=void 0,void 0!==o&&eu(t,n,o)}i=i.next}while(i!==r)}}function ru(e,t){if(null!==(t=null!==(t=t.updateQueue)?t.lastEffect:null)){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function iu(e){var t=e.ref;if(null!==t){var n=e.stateNode;e.tag,e=n,"function"==typeof t?t(e):t.current=e}}function ou(e){var t=e.alternate;null!==t&&(e.alternate=null,ou(t)),e.child=null,e.deletions=null,e.sibling=null,5===e.tag&&(null!==(t=e.stateNode)&&(delete t[di],delete t[pi],delete t[gi],delete t[mi],delete t[yi])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function au(e){return 5===e.tag||3===e.tag||4===e.tag}function su(e){e:for(;;){for(;null===e.sibling;){if(null===e.return||au(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;5!==e.tag&&6!==e.tag&&18!==e.tag;){if(2&e.flags)continue e;if(null===e.child||4===e.tag)continue e;e.child.return=e,e=e.child}if(!(2&e.flags))return e.stateNode}}function uu(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?8===n.nodeType?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(8===n.nodeType?(t=n.parentNode).insertBefore(e,n):(t=n).appendChild(e),null!=(n=n._reactRootContainer)||null!==t.onclick||(t.onclick=Jr));else if(4!==r&&null!==(e=e.child))for(uu(e,t,n),e=e.sibling;null!==e;)uu(e,t,n),e=e.sibling}function cu(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(4!==r&&null!==(e=e.child))for(cu(e,t,n),e=e.sibling;null!==e;)cu(e,t,n),e=e.sibling}var lu=null,fu=!1;function du(e,t,n){for(n=n.child;null!==n;)pu(e,t,n),n=n.sibling}function pu(e,t,n){if(ot&&"function"==typeof ot.onCommitFiberUnmount)try{ot.onCommitFiberUnmount(it,n)}catch(e){}switch(n.tag){case 5:Ks||Js(n,t);case 6:var r=lu,i=fu;lu=null,du(e,t,n),fu=i,null!==(lu=r)&&(fu?(e=lu,n=n.stateNode,8===e.nodeType?e.parentNode.removeChild(n):e.removeChild(n)):lu.removeChild(n.stateNode));break;case 18:null!==lu&&(fu?(e=lu,n=n.stateNode,8===e.nodeType?ui(e.parentNode,n):1===e.nodeType&&ui(e,n),Ht(e)):ui(lu,n.stateNode));break;case 4:r=lu,i=fu,lu=n.stateNode.containerInfo,fu=!0,du(e,t,n),lu=r,fu=i;break;case 0:case 11:case 14:case 15:if(!Ks&&(null!==(r=n.updateQueue)&&null!==(r=r.lastEffect))){i=r=r.next;do{var o=i,a=o.destroy;o=o.tag,void 0!==a&&(0!=(2&o)||0!=(4&o))&&eu(n,t,a),i=i.next}while(i!==r)}du(e,t,n);break;case 1:if(!Ks&&(Js(n,t),"function"==typeof(r=n.stateNode).componentWillUnmount))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(e){Sc(n,t,e)}du(e,t,n);break;case 21:du(e,t,n);break;case 22:1&n.mode?(Ks=(r=Ks)||null!==n.memoizedState,du(e,t,n),Ks=r):du(e,t,n);break;default:du(e,t,n)}}function hu(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new Xs),t.forEach((function(t){var r=Cc.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))}))}}function gu(e,t){var n=t.deletions;if(null!==n)for(var r=0;r<n.length;r++){var i=n[r];try{var a=e,s=t,u=s;e:for(;null!==u;){switch(u.tag){case 5:lu=u.stateNode,fu=!1;break e;case 3:case 4:lu=u.stateNode.containerInfo,fu=!0;break e}u=u.return}if(null===lu)throw Error(o(160));pu(a,s,i),lu=null,fu=!1;var c=i.alternate;null!==c&&(c.return=null),i.return=null}catch(e){Sc(i,t,e)}}if(12854&t.subtreeFlags)for(t=t.child;null!==t;)mu(t,e),t=t.sibling}function mu(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(gu(t,e),yu(e),4&r){try{nu(3,e,e.return),ru(3,e)}catch(t){Sc(e,e.return,t)}try{nu(5,e,e.return)}catch(t){Sc(e,e.return,t)}}break;case 1:gu(t,e),yu(e),512&r&&null!==n&&Js(n,n.return);break;case 5:if(gu(t,e),yu(e),512&r&&null!==n&&Js(n,n.return),32&e.flags){var i=e.stateNode;try{de(i,"")}catch(t){Sc(e,e.return,t)}}if(4&r&&null!=(i=e.stateNode)){var a=e.memoizedProps,s=null!==n?n.memoizedProps:a,u=e.type,c=e.updateQueue;if(e.updateQueue=null,null!==c)try{"input"===u&&"radio"===a.type&&null!=a.name&&X(i,a),be(u,s);var l=be(u,a);for(s=0;s<c.length;s+=2){var f=c[s],d=c[s+1];"style"===f?me(i,d):"dangerouslySetInnerHTML"===f?fe(i,d):"children"===f?de(i,d):b(i,f,d,l)}switch(u){case"input":Q(i,a);break;case"textarea":oe(i,a);break;case"select":var p=i._wrapperState.wasMultiple;i._wrapperState.wasMultiple=!!a.multiple;var h=a.value;null!=h?ne(i,!!a.multiple,h,!1):p!==!!a.multiple&&(null!=a.defaultValue?ne(i,!!a.multiple,a.defaultValue,!0):ne(i,!!a.multiple,a.multiple?[]:"",!1))}i[pi]=a}catch(t){Sc(e,e.return,t)}}break;case 6:if(gu(t,e),yu(e),4&r){if(null===e.stateNode)throw Error(o(162));i=e.stateNode,a=e.memoizedProps;try{i.nodeValue=a}catch(t){Sc(e,e.return,t)}}break;case 3:if(gu(t,e),yu(e),4&r&&null!==n&&n.memoizedState.isDehydrated)try{Ht(t.containerInfo)}catch(t){Sc(e,e.return,t)}break;case 4:default:gu(t,e),yu(e);break;case 13:gu(t,e),yu(e),8192&(i=e.child).flags&&(a=null!==i.memoizedState,i.stateNode.isHidden=a,!a||null!==i.alternate&&null!==i.alternate.memoizedState||(zu=Xe())),4&r&&hu(e);break;case 22:if(f=null!==n&&null!==n.memoizedState,1&e.mode?(Ks=(l=Ks)||f,gu(t,e),Ks=l):gu(t,e),yu(e),8192&r){if(l=null!==e.memoizedState,(e.stateNode.isHidden=l)&&!f&&0!=(1&e.mode))for(Qs=e,f=e.child;null!==f;){for(d=Qs=f;null!==Qs;){switch(h=(p=Qs).child,p.tag){case 0:case 11:case 14:case 15:nu(4,p,p.return);break;case 1:Js(p,p.return);var g=p.stateNode;if("function"==typeof g.componentWillUnmount){r=p,n=p.return;try{t=r,g.props=t.memoizedProps,g.state=t.memoizedState,g.componentWillUnmount()}catch(e){Sc(r,n,e)}}break;case 5:Js(p,p.return);break;case 22:if(null!==p.memoizedState){wu(d);continue}}null!==h?(h.return=p,Qs=h):wu(d)}f=f.sibling}e:for(f=null,d=e;;){if(5===d.tag){if(null===f){f=d;try{i=d.stateNode,l?"function"==typeof(a=i.style).setProperty?a.setProperty("display","none","important"):a.display="none":(u=d.stateNode,s=null!=(c=d.memoizedProps.style)&&c.hasOwnProperty("display")?c.display:null,u.style.display=ge("display",s))}catch(t){Sc(e,e.return,t)}}}else if(6===d.tag){if(null===f)try{d.stateNode.nodeValue=l?"":d.memoizedProps}catch(t){Sc(e,e.return,t)}}else if((22!==d.tag&&23!==d.tag||null===d.memoizedState||d===e)&&null!==d.child){d.child.return=d,d=d.child;continue}if(d===e)break e;for(;null===d.sibling;){if(null===d.return||d.return===e)break e;f===d&&(f=null),d=d.return}f===d&&(f=null),d.sibling.return=d.return,d=d.sibling}}break;case 19:gu(t,e),yu(e),4&r&&hu(e);case 21:}}function yu(e){var t=e.flags;if(2&t){try{e:{for(var n=e.return;null!==n;){if(au(n)){var r=n;break e}n=n.return}throw Error(o(160))}switch(r.tag){case 5:var i=r.stateNode;32&r.flags&&(de(i,""),r.flags&=-33),cu(e,su(e),i);break;case 3:case 4:var a=r.stateNode.containerInfo;uu(e,su(e),a);break;default:throw Error(o(161))}}catch(t){Sc(e,e.return,t)}e.flags&=-3}4096&t&&(e.flags&=-4097)}function vu(e,t,n){Qs=e,bu(e,t,n)}function bu(e,t,n){for(var r=0!=(1&e.mode);null!==Qs;){var i=Qs,o=i.child;if(22===i.tag&&r){var a=null!==i.memoizedState||Ys;if(!a){var s=i.alternate,u=null!==s&&null!==s.memoizedState||Ks;s=Ys;var c=Ks;if(Ys=a,(Ks=u)&&!c)for(Qs=i;null!==Qs;)u=(a=Qs).child,22===a.tag&&null!==a.memoizedState?Tu(i):null!==u?(u.return=a,Qs=u):Tu(i);for(;null!==o;)Qs=o,bu(o,t,n),o=o.sibling;Qs=i,Ys=s,Ks=c}_u(e)}else 0!=(8772&i.subtreeFlags)&&null!==o?(o.return=i,Qs=o):_u(e)}}function _u(e){for(;null!==Qs;){var t=Qs;if(0!=(8772&t.flags)){var n=t.alternate;try{if(0!=(8772&t.flags))switch(t.tag){case 0:case 11:case 15:Ks||ru(5,t);break;case 1:var r=t.stateNode;if(4&t.flags&&!Ks)if(null===n)r.componentDidMount();else{var i=t.elementType===t.type?n.memoizedProps:yo(t.type,n.memoizedProps);r.componentDidUpdate(i,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var a=t.updateQueue;null!==a&&Uo(t,a,r);break;case 3:var s=t.updateQueue;if(null!==s){if(n=null,null!==t.child)switch(t.child.tag){case 5:case 1:n=t.child.stateNode}Uo(t,s,n)}break;case 5:var u=t.stateNode;if(null===n&&4&t.flags){n=u;var c=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":c.autoFocus&&n.focus();break;case"img":c.src&&(n.src=c.src)}}break;case 6:case 4:case 12:case 19:case 17:case 21:case 22:case 23:case 25:break;case 13:if(null===t.memoizedState){var l=t.alternate;if(null!==l){var f=l.memoizedState;if(null!==f){var d=f.dehydrated;null!==d&&Ht(d)}}}break;default:throw Error(o(163))}Ks||512&t.flags&&iu(t)}catch(e){Sc(t,t.return,e)}}if(t===e){Qs=null;break}if(null!==(n=t.sibling)){n.return=t.return,Qs=n;break}Qs=t.return}}function wu(e){for(;null!==Qs;){var t=Qs;if(t===e){Qs=null;break}var n=t.sibling;if(null!==n){n.return=t.return,Qs=n;break}Qs=t.return}}function Tu(e){for(;null!==Qs;){var t=Qs;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{ru(4,t)}catch(e){Sc(t,n,e)}break;case 1:var r=t.stateNode;if("function"==typeof r.componentDidMount){var i=t.return;try{r.componentDidMount()}catch(e){Sc(t,i,e)}}var o=t.return;try{iu(t)}catch(e){Sc(t,o,e)}break;case 5:var a=t.return;try{iu(t)}catch(e){Sc(t,a,e)}}}catch(e){Sc(t,t.return,e)}if(t===e){Qs=null;break}var s=t.sibling;if(null!==s){s.return=t.return,Qs=s;break}Qs=t.return}}var xu,Su=Math.ceil,ku=_.ReactCurrentDispatcher,Eu=_.ReactCurrentOwner,Ou=_.ReactCurrentBatchConfig,Cu=0,Lu=null,Au=null,Iu=0,Pu=0,Mu=Si(0),Ru=0,ju=null,Du=0,Nu=0,Bu=0,Uu=null,Fu=null,zu=0,Hu=1/0,Zu=null,qu=!1,Vu=null,Wu=null,Gu=!1,$u=null,Yu=0,Ku=0,Xu=null,Qu=-1,Ju=0;function ec(){return 0!=(6&Cu)?Xe():-1!==Qu?Qu:Qu=Xe()}function tc(e){return 0==(1&e.mode)?1:0!=(2&Cu)&&0!==Iu?Iu&-Iu:null!==mo.transition?(0===Ju&&(Ju=gt()),Ju):0!==(e=bt)?e:e=void 0===(e=window.event)?16:Kt(e.type)}function nc(e,t,n,r){if(50<Ku)throw Ku=0,Xu=null,Error(o(185));yt(e,n,r),0!=(2&Cu)&&e===Lu||(e===Lu&&(0==(2&Cu)&&(Nu|=n),4===Ru&&sc(e,Iu)),rc(e,r),1===n&&0===Cu&&0==(1&t.mode)&&(Hu=Xe()+500,Ui&&Hi()))}function rc(e,t){var n=e.callbackNode;!function(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,i=e.expirationTimes,o=e.pendingLanes;0<o;){var a=31-at(o),s=1<<a,u=i[a];-1===u?0!=(s&n)&&0==(s&r)||(i[a]=pt(s,t)):u<=t&&(e.expiredLanes|=s),o&=~s}}(e,t);var r=dt(e,e===Lu?Iu:0);if(0===r)null!==n&&$e(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(null!=n&&$e(n),1===t)0===e.tag?function(e){Ui=!0,zi(e)}(uc.bind(null,e)):zi(uc.bind(null,e)),ai((function(){0==(6&Cu)&&Hi()})),n=null;else{switch(_t(r)){case 1:n=Je;break;case 4:n=et;break;case 16:default:n=tt;break;case 536870912:n=rt}n=Lc(n,ic.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function ic(e,t){if(Qu=-1,Ju=0,0!=(6&Cu))throw Error(o(327));var n=e.callbackNode;if(Tc()&&e.callbackNode!==n)return null;var r=dt(e,e===Lu?Iu:0);if(0===r)return null;if(0!=(30&r)||0!=(r&e.expiredLanes)||t)t=mc(e,r);else{t=r;var i=Cu;Cu|=2;var a=hc();for(Lu===e&&Iu===t||(Zu=null,Hu=Xe()+500,dc(e,t));;)try{vc();break}catch(t){pc(e,t)}To(),ku.current=a,Cu=i,null!==Au?t=0:(Lu=null,Iu=0,t=Ru)}if(0!==t){if(2===t&&(0!==(i=ht(e))&&(r=i,t=oc(e,i))),1===t)throw n=ju,dc(e,0),sc(e,r),rc(e,Xe()),n;if(6===t)sc(e,r);else{if(i=e.current.alternate,0==(30&r)&&!function(e){for(var t=e;;){if(16384&t.flags){var n=t.updateQueue;if(null!==n&&null!==(n=n.stores))for(var r=0;r<n.length;r++){var i=n[r],o=i.getSnapshot;i=i.value;try{if(!sr(o(),i))return!1}catch(e){return!1}}}if(n=t.child,16384&t.subtreeFlags&&null!==n)n.return=t,t=n;else{if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}(i)&&(2===(t=mc(e,r))&&(0!==(a=ht(e))&&(r=a,t=oc(e,a))),1===t))throw n=ju,dc(e,0),sc(e,r),rc(e,Xe()),n;switch(e.finishedWork=i,e.finishedLanes=r,t){case 0:case 1:throw Error(o(345));case 2:case 5:wc(e,Fu,Zu);break;case 3:if(sc(e,r),(130023424&r)===r&&10<(t=zu+500-Xe())){if(0!==dt(e,0))break;if(((i=e.suspendedLanes)&r)!==r){ec(),e.pingedLanes|=e.suspendedLanes&i;break}e.timeoutHandle=ri(wc.bind(null,e,Fu,Zu),t);break}wc(e,Fu,Zu);break;case 4:if(sc(e,r),(4194240&r)===r)break;for(t=e.eventTimes,i=-1;0<r;){var s=31-at(r);a=1<<s,(s=t[s])>i&&(i=s),r&=~a}if(r=i,10<(r=(120>(r=Xe()-r)?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*Su(r/1960))-r)){e.timeoutHandle=ri(wc.bind(null,e,Fu,Zu),r);break}wc(e,Fu,Zu);break;default:throw Error(o(329))}}}return rc(e,Xe()),e.callbackNode===n?ic.bind(null,e):null}function oc(e,t){var n=Uu;return e.current.memoizedState.isDehydrated&&(dc(e,t).flags|=256),2!==(e=mc(e,t))&&(t=Fu,Fu=n,null!==t&&ac(t)),e}function ac(e){null===Fu?Fu=e:Fu.push.apply(Fu,e)}function sc(e,t){for(t&=~Bu,t&=~Nu,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-at(t),r=1<<n;e[n]=-1,t&=~r}}function uc(e){if(0!=(6&Cu))throw Error(o(327));Tc();var t=dt(e,0);if(0==(1&t))return rc(e,Xe()),null;var n=mc(e,t);if(0!==e.tag&&2===n){var r=ht(e);0!==r&&(t=r,n=oc(e,r))}if(1===n)throw n=ju,dc(e,0),sc(e,t),rc(e,Xe()),n;if(6===n)throw Error(o(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,wc(e,Fu,Zu),rc(e,Xe()),null}function cc(e,t){var n=Cu;Cu|=1;try{return e(t)}finally{0===(Cu=n)&&(Hu=Xe()+500,Ui&&Hi())}}function lc(e){null!==$u&&0===$u.tag&&0==(6&Cu)&&Tc();var t=Cu;Cu|=1;var n=Ou.transition,r=bt;try{if(Ou.transition=null,bt=1,e)return e()}finally{bt=r,Ou.transition=n,0==(6&(Cu=t))&&Hi()}}function fc(){Pu=Mu.current,ki(Mu)}function dc(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,ii(n)),null!==Au)for(n=Au.return;null!==n;){var r=n;switch(to(r),r.tag){case 1:null!=(r=r.type.childContextTypes)&&Mi();break;case 3:oa(),ki(Li),ki(Ci),fa();break;case 5:sa(r);break;case 4:oa();break;case 13:case 19:ki(ua);break;case 10:xo(r.type._context);break;case 22:case 23:fc()}n=n.return}if(Lu=e,Au=e=Mc(e.current,null),Iu=Pu=t,Ru=0,ju=null,Bu=Nu=Du=0,Fu=Uu=null,null!==Oo){for(t=0;t<Oo.length;t++)if(null!==(r=(n=Oo[t]).interleaved)){n.interleaved=null;var i=r.next,o=n.pending;if(null!==o){var a=o.next;o.next=i,r.next=a}n.pending=r}Oo=null}return e}function pc(e,t){for(;;){var n=Au;try{if(To(),da.current=as,va){for(var r=ga.memoizedState;null!==r;){var i=r.queue;null!==i&&(i.pending=null),r=r.next}va=!1}if(ha=0,ya=ma=ga=null,ba=!1,_a=0,Eu.current=null,null===n||null===n.return){Ru=1,ju=t,Au=null;break}e:{var a=e,s=n.return,u=n,c=t;if(t=Iu,u.flags|=32768,null!==c&&"object"==typeof c&&"function"==typeof c.then){var l=c,f=u,d=f.tag;if(0==(1&f.mode)&&(0===d||11===d||15===d)){var p=f.alternate;p?(f.updateQueue=p.updateQueue,f.memoizedState=p.memoizedState,f.lanes=p.lanes):(f.updateQueue=null,f.memoizedState=null)}var h=ys(s);if(null!==h){h.flags&=-257,vs(h,s,u,0,t),1&h.mode&&ms(a,l,t),c=l;var g=(t=h).updateQueue;if(null===g){var m=new Set;m.add(c),t.updateQueue=m}else g.add(c);break e}if(0==(1&t)){ms(a,l,t),gc();break e}c=Error(o(426))}else if(io&&1&u.mode){var y=ys(s);if(null!==y){0==(65536&y.flags)&&(y.flags|=256),vs(y,s,u,0,t),go(ls(c,u));break e}}a=c=ls(c,u),4!==Ru&&(Ru=2),null===Uu?Uu=[a]:Uu.push(a),a=s;do{switch(a.tag){case 3:a.flags|=65536,t&=-t,a.lanes|=t,No(a,hs(0,c,t));break e;case 1:u=c;var v=a.type,b=a.stateNode;if(0==(128&a.flags)&&("function"==typeof v.getDerivedStateFromError||null!==b&&"function"==typeof b.componentDidCatch&&(null===Wu||!Wu.has(b)))){a.flags|=65536,t&=-t,a.lanes|=t,No(a,gs(a,u,t));break e}}a=a.return}while(null!==a)}_c(n)}catch(e){t=e,Au===n&&null!==n&&(Au=n=n.return);continue}break}}function hc(){var e=ku.current;return ku.current=as,null===e?as:e}function gc(){0!==Ru&&3!==Ru&&2!==Ru||(Ru=4),null===Lu||0==(268435455&Du)&&0==(268435455&Nu)||sc(Lu,Iu)}function mc(e,t){var n=Cu;Cu|=2;var r=hc();for(Lu===e&&Iu===t||(Zu=null,dc(e,t));;)try{yc();break}catch(t){pc(e,t)}if(To(),Cu=n,ku.current=r,null!==Au)throw Error(o(261));return Lu=null,Iu=0,Ru}function yc(){for(;null!==Au;)bc(Au)}function vc(){for(;null!==Au&&!Ye();)bc(Au)}function bc(e){var t=xu(e.alternate,e,Pu);e.memoizedProps=e.pendingProps,null===t?_c(e):Au=t,Eu.current=null}function _c(e){var t=e;do{var n=t.alternate;if(e=t.return,0==(32768&t.flags)){if(null!==(n=Gs(n,t,Pu)))return void(Au=n)}else{if(null!==(n=$s(n,t)))return n.flags&=32767,void(Au=n);if(null===e)return Ru=6,void(Au=null);e.flags|=32768,e.subtreeFlags=0,e.deletions=null}if(null!==(t=t.sibling))return void(Au=t);Au=t=e}while(null!==t);0===Ru&&(Ru=5)}function wc(e,t,n){var r=bt,i=Ou.transition;try{Ou.transition=null,bt=1,function(e,t,n,r){do{Tc()}while(null!==$u);if(0!=(6&Cu))throw Error(o(327));n=e.finishedWork;var i=e.finishedLanes;if(null===n)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(o(177));e.callbackNode=null,e.callbackPriority=0;var a=n.lanes|n.childLanes;if(function(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0<n;){var i=31-at(n),o=1<<i;t[i]=0,r[i]=-1,e[i]=-1,n&=~o}}(e,a),e===Lu&&(Au=Lu=null,Iu=0),0==(2064&n.subtreeFlags)&&0==(2064&n.flags)||Gu||(Gu=!0,Lc(tt,(function(){return Tc(),null}))),a=0!=(15990&n.flags),0!=(15990&n.subtreeFlags)||a){a=Ou.transition,Ou.transition=null;var s=bt;bt=1;var u=Cu;Cu|=4,Eu.current=null,function(e,t){if(ei=qt,pr(e=dr())){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{var r=(n=(n=e.ownerDocument)&&n.defaultView||window).getSelection&&n.getSelection();if(r&&0!==r.rangeCount){n=r.anchorNode;var i=r.anchorOffset,a=r.focusNode;r=r.focusOffset;try{n.nodeType,a.nodeType}catch(e){n=null;break e}var s=0,u=-1,c=-1,l=0,f=0,d=e,p=null;t:for(;;){for(var h;d!==n||0!==i&&3!==d.nodeType||(u=s+i),d!==a||0!==r&&3!==d.nodeType||(c=s+r),3===d.nodeType&&(s+=d.nodeValue.length),null!==(h=d.firstChild);)p=d,d=h;for(;;){if(d===e)break t;if(p===n&&++l===i&&(u=s),p===a&&++f===r&&(c=s),null!==(h=d.nextSibling))break;p=(d=p).parentNode}d=h}n=-1===u||-1===c?null:{start:u,end:c}}else n=null}n=n||{start:0,end:0}}else n=null;for(ti={focusedElem:e,selectionRange:n},qt=!1,Qs=t;null!==Qs;)if(e=(t=Qs).child,0!=(1028&t.subtreeFlags)&&null!==e)e.return=t,Qs=e;else for(;null!==Qs;){t=Qs;try{var g=t.alternate;if(0!=(1024&t.flags))switch(t.tag){case 0:case 11:case 15:case 5:case 6:case 4:case 17:break;case 1:if(null!==g){var m=g.memoizedProps,y=g.memoizedState,v=t.stateNode,b=v.getSnapshotBeforeUpdate(t.elementType===t.type?m:yo(t.type,m),y);v.__reactInternalSnapshotBeforeUpdate=b}break;case 3:var _=t.stateNode.containerInfo;1===_.nodeType?_.textContent="":9===_.nodeType&&_.documentElement&&_.removeChild(_.documentElement);break;default:throw Error(o(163))}}catch(e){Sc(t,t.return,e)}if(null!==(e=t.sibling)){e.return=t.return,Qs=e;break}Qs=t.return}g=tu,tu=!1}(e,n),mu(n,e),hr(ti),qt=!!ei,ti=ei=null,e.current=n,vu(n,e,i),Ke(),Cu=u,bt=s,Ou.transition=a}else e.current=n;if(Gu&&(Gu=!1,$u=e,Yu=i),0===(a=e.pendingLanes)&&(Wu=null),function(e){if(ot&&"function"==typeof ot.onCommitFiberRoot)try{ot.onCommitFiberRoot(it,e,void 0,128==(128&e.current.flags))}catch(e){}}(n.stateNode),rc(e,Xe()),null!==t)for(r=e.onRecoverableError,n=0;n<t.length;n++)i=t[n],r(i.value,{componentStack:i.stack,digest:i.digest});if(qu)throw qu=!1,e=Vu,Vu=null,e;0!=(1&Yu)&&0!==e.tag&&Tc(),0!=(1&(a=e.pendingLanes))?e===Xu?Ku++:(Ku=0,Xu=e):Ku=0,Hi()}(e,t,n,r)}finally{Ou.transition=i,bt=r}return null}function Tc(){if(null!==$u){var e=_t(Yu),t=Ou.transition,n=bt;try{if(Ou.transition=null,bt=16>e?16:e,null===$u)var r=!1;else{if(e=$u,$u=null,Yu=0,0!=(6&Cu))throw Error(o(331));var i=Cu;for(Cu|=4,Qs=e.current;null!==Qs;){var a=Qs,s=a.child;if(0!=(16&Qs.flags)){var u=a.deletions;if(null!==u){for(var c=0;c<u.length;c++){var l=u[c];for(Qs=l;null!==Qs;){var f=Qs;switch(f.tag){case 0:case 11:case 15:nu(8,f,a)}var d=f.child;if(null!==d)d.return=f,Qs=d;else for(;null!==Qs;){var p=(f=Qs).sibling,h=f.return;if(ou(f),f===l){Qs=null;break}if(null!==p){p.return=h,Qs=p;break}Qs=h}}}var g=a.alternate;if(null!==g){var m=g.child;if(null!==m){g.child=null;do{var y=m.sibling;m.sibling=null,m=y}while(null!==m)}}Qs=a}}if(0!=(2064&a.subtreeFlags)&&null!==s)s.return=a,Qs=s;else e:for(;null!==Qs;){if(0!=(2048&(a=Qs).flags))switch(a.tag){case 0:case 11:case 15:nu(9,a,a.return)}var v=a.sibling;if(null!==v){v.return=a.return,Qs=v;break e}Qs=a.return}}var b=e.current;for(Qs=b;null!==Qs;){var _=(s=Qs).child;if(0!=(2064&s.subtreeFlags)&&null!==_)_.return=s,Qs=_;else e:for(s=b;null!==Qs;){if(0!=(2048&(u=Qs).flags))try{switch(u.tag){case 0:case 11:case 15:ru(9,u)}}catch(e){Sc(u,u.return,e)}if(u===s){Qs=null;break e}var w=u.sibling;if(null!==w){w.return=u.return,Qs=w;break e}Qs=u.return}}if(Cu=i,Hi(),ot&&"function"==typeof ot.onPostCommitFiberRoot)try{ot.onPostCommitFiberRoot(it,e)}catch(e){}r=!0}return r}finally{bt=n,Ou.transition=t}}return!1}function xc(e,t,n){e=jo(e,t=hs(0,t=ls(n,t),1),1),t=ec(),null!==e&&(yt(e,1,t),rc(e,t))}function Sc(e,t,n){if(3===e.tag)xc(e,e,n);else for(;null!==t;){if(3===t.tag){xc(t,e,n);break}if(1===t.tag){var r=t.stateNode;if("function"==typeof t.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===Wu||!Wu.has(r))){t=jo(t,e=gs(t,e=ls(n,e),1),1),e=ec(),null!==t&&(yt(t,1,e),rc(t,e));break}}t=t.return}}function kc(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),t=ec(),e.pingedLanes|=e.suspendedLanes&n,Lu===e&&(Iu&n)===n&&(4===Ru||3===Ru&&(130023424&Iu)===Iu&&500>Xe()-zu?dc(e,0):Bu|=n),rc(e,t)}function Ec(e,t){0===t&&(0==(1&e.mode)?t=1:(t=lt,0==(130023424&(lt<<=1))&&(lt=4194304)));var n=ec();null!==(e=Ao(e,t))&&(yt(e,t,n),rc(e,n))}function Oc(e){var t=e.memoizedState,n=0;null!==t&&(n=t.retryLane),Ec(e,n)}function Cc(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,i=e.memoizedState;null!==i&&(n=i.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(o(314))}null!==r&&r.delete(t),Ec(e,n)}function Lc(e,t){return Ge(e,t)}function Ac(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Ic(e,t,n,r){return new Ac(e,t,n,r)}function Pc(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Mc(e,t){var n=e.alternate;return null===n?((n=Ic(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=14680064&e.flags,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Rc(e,t,n,r,i,a){var s=2;if(r=e,"function"==typeof e)Pc(e)&&(s=1);else if("string"==typeof e)s=5;else e:switch(e){case x:return jc(n.children,i,a,t);case S:s=8,i|=8;break;case k:return(e=Ic(12,n,t,2|i)).elementType=k,e.lanes=a,e;case L:return(e=Ic(13,n,t,i)).elementType=L,e.lanes=a,e;case A:return(e=Ic(19,n,t,i)).elementType=A,e.lanes=a,e;case M:return Dc(n,i,a,t);default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case E:s=10;break e;case O:s=9;break e;case C:s=11;break e;case I:s=14;break e;case P:s=16,r=null;break e}throw Error(o(130,null==e?e:typeof e,""))}return(t=Ic(s,n,t,i)).elementType=e,t.type=r,t.lanes=a,t}function jc(e,t,n,r){return(e=Ic(7,e,r,t)).lanes=n,e}function Dc(e,t,n,r){return(e=Ic(22,e,r,t)).elementType=M,e.lanes=n,e.stateNode={isHidden:!1},e}function Nc(e,t,n){return(e=Ic(6,e,null,t)).lanes=n,e}function Bc(e,t,n){return(t=Ic(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Uc(e,t,n,r,i){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=mt(0),this.expirationTimes=mt(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=mt(0),this.identifierPrefix=r,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function Fc(e,t,n,r,i,o,a,s,u){return e=new Uc(e,t,n,s,u),1===t?(t=1,!0===o&&(t|=8)):t=0,o=Ic(3,null,null,t),e.current=o,o.stateNode=e,o.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Po(o),e}function zc(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:T,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}function Hc(e){if(!e)return Oi;e:{if(He(e=e._reactInternals)!==e||1!==e.tag)throw Error(o(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(Pi(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(null!==t);throw Error(o(171))}if(1===e.tag){var n=e.type;if(Pi(n))return ji(e,n,t)}return t}function Zc(e,t,n,r,i,o,a,s,u){return(e=Fc(n,r,!0,e,0,o,0,s,u)).context=Hc(null),n=e.current,(o=Ro(r=ec(),i=tc(n))).callback=null!=t?t:null,jo(n,o,i),e.current.lanes=i,yt(e,i,r),rc(e,r),e}function qc(e,t,n,r){var i=t.current,o=ec(),a=tc(i);return n=Hc(n),null===t.context?t.context=n:t.pendingContext=n,(t=Ro(o,a)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),null!==(e=jo(i,t,a))&&(nc(e,i,a,o),Do(e,i,a)),a}function Vc(e){return(e=e.current).child?(e.child.tag,e.child.stateNode):null}function Wc(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n<t?n:t}}function Gc(e,t){Wc(e,t),(e=e.alternate)&&Wc(e,t)}xu=function(e,t,n){if(null!==e)if(e.memoizedProps!==t.pendingProps||Li.current)_s=!0;else{if(0==(e.lanes&n)&&0==(128&t.flags))return _s=!1,function(e,t,n){switch(t.tag){case 3:As(t),ho();break;case 5:aa(t);break;case 1:Pi(t.type)&&Di(t);break;case 4:ia(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,i=t.memoizedProps.value;Ei(vo,r._currentValue),r._currentValue=i;break;case 13:if(null!==(r=t.memoizedState))return null!==r.dehydrated?(Ei(ua,1&ua.current),t.flags|=128,null):0!=(n&t.child.childLanes)?Ns(e,t,n):(Ei(ua,1&ua.current),null!==(e=qs(e,t,n))?e.sibling:null);Ei(ua,1&ua.current);break;case 19:if(r=0!=(n&t.childLanes),0!=(128&e.flags)){if(r)return Hs(e,t,n);t.flags|=128}if(null!==(i=t.memoizedState)&&(i.rendering=null,i.tail=null,i.lastEffect=null),Ei(ua,ua.current),r)break;return null;case 22:case 23:return t.lanes=0,ks(e,t,n)}return qs(e,t,n)}(e,t,n);_s=0!=(131072&e.flags)}else _s=!1,io&&0!=(1048576&t.flags)&&Ji(t,Wi,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Zs(e,t),e=t.pendingProps;var i=Ii(t,Ci.current);ko(t,n),i=Sa(null,t,r,e,i,n);var a=ka();return t.flags|=1,"object"==typeof i&&null!==i&&"function"==typeof i.render&&void 0===i.$$typeof?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Pi(r)?(a=!0,Di(t)):a=!1,t.memoizedState=null!==i.state&&void 0!==i.state?i.state:null,Po(t),i.updater=Ho,t.stateNode=i,i._reactInternals=t,Wo(t,r,e,n),t=Ls(null,t,r,!0,a,n)):(t.tag=0,io&&a&&eo(t),ws(null,t,i,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Zs(e,t),e=t.pendingProps,r=(i=r._init)(r._payload),t.type=r,i=t.tag=function(e){if("function"==typeof e)return Pc(e)?1:0;if(null!=e){if((e=e.$$typeof)===C)return 11;if(e===I)return 14}return 2}(r),e=yo(r,e),i){case 0:t=Os(null,t,r,e,n);break e;case 1:t=Cs(null,t,r,e,n);break e;case 11:t=Ts(null,t,r,e,n);break e;case 14:t=xs(null,t,r,yo(r.type,e),n);break e}throw Error(o(306,r,""))}return t;case 0:return r=t.type,i=t.pendingProps,Os(e,t,r,i=t.elementType===r?i:yo(r,i),n);case 1:return r=t.type,i=t.pendingProps,Cs(e,t,r,i=t.elementType===r?i:yo(r,i),n);case 3:e:{if(As(t),null===e)throw Error(o(387));r=t.pendingProps,i=(a=t.memoizedState).element,Mo(e,t),Bo(t,r,null,n);var s=t.memoizedState;if(r=s.element,a.isDehydrated){if(a={element:r,isDehydrated:!1,cache:s.cache,pendingSuspenseBoundaries:s.pendingSuspenseBoundaries,transitions:s.transitions},t.updateQueue.baseState=a,t.memoizedState=a,256&t.flags){t=Is(e,t,r,n,i=ls(Error(o(423)),t));break e}if(r!==i){t=Is(e,t,r,n,i=ls(Error(o(424)),t));break e}for(ro=ci(t.stateNode.containerInfo.firstChild),no=t,io=!0,oo=null,n=Qo(t,null,r,n),t.child=n;n;)n.flags=-3&n.flags|4096,n=n.sibling}else{if(ho(),r===i){t=qs(e,t,n);break e}ws(e,t,r,n)}t=t.child}return t;case 5:return aa(t),null===e&&co(t),r=t.type,i=t.pendingProps,a=null!==e?e.memoizedProps:null,s=i.children,ni(r,i)?s=null:null!==a&&ni(r,a)&&(t.flags|=32),Es(e,t),ws(e,t,s,n),t.child;case 6:return null===e&&co(t),null;case 13:return Ns(e,t,n);case 4:return ia(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=Xo(t,null,r,n):ws(e,t,r,n),t.child;case 11:return r=t.type,i=t.pendingProps,Ts(e,t,r,i=t.elementType===r?i:yo(r,i),n);case 7:return ws(e,t,t.pendingProps,n),t.child;case 8:case 12:return ws(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,i=t.pendingProps,a=t.memoizedProps,s=i.value,Ei(vo,r._currentValue),r._currentValue=s,null!==a)if(sr(a.value,s)){if(a.children===i.children&&!Li.current){t=qs(e,t,n);break e}}else for(null!==(a=t.child)&&(a.return=t);null!==a;){var u=a.dependencies;if(null!==u){s=a.child;for(var c=u.firstContext;null!==c;){if(c.context===r){if(1===a.tag){(c=Ro(-1,n&-n)).tag=2;var l=a.updateQueue;if(null!==l){var f=(l=l.shared).pending;null===f?c.next=c:(c.next=f.next,f.next=c),l.pending=c}}a.lanes|=n,null!==(c=a.alternate)&&(c.lanes|=n),So(a.return,n,t),u.lanes|=n;break}c=c.next}}else if(10===a.tag)s=a.type===t.type?null:a.child;else if(18===a.tag){if(null===(s=a.return))throw Error(o(341));s.lanes|=n,null!==(u=s.alternate)&&(u.lanes|=n),So(s,n,t),s=a.sibling}else s=a.child;if(null!==s)s.return=a;else for(s=a;null!==s;){if(s===t){s=null;break}if(null!==(a=s.sibling)){a.return=s.return,s=a;break}s=s.return}a=s}ws(e,t,i.children,n),t=t.child}return t;case 9:return i=t.type,r=t.pendingProps.children,ko(t,n),r=r(i=Eo(i)),t.flags|=1,ws(e,t,r,n),t.child;case 14:return i=yo(r=t.type,t.pendingProps),xs(e,t,r,i=yo(r.type,i),n);case 15:return Ss(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:yo(r,i),Zs(e,t),t.tag=1,Pi(r)?(e=!0,Di(t)):e=!1,ko(t,n),qo(t,r,i),Wo(t,r,i,n),Ls(null,t,r,!0,e,n);case 19:return Hs(e,t,n);case 22:return ks(e,t,n)}throw Error(o(156,t.tag))};var $c="function"==typeof reportError?reportError:function(e){console.error(e)};function Yc(e){this._internalRoot=e}function Kc(e){this._internalRoot=e}function Xc(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType)}function Qc(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function Jc(){}function el(e,t,n,r,i){var o=n._reactRootContainer;if(o){var a=o;if("function"==typeof i){var s=i;i=function(){var e=Vc(a);s.call(e)}}qc(t,a,e,i)}else a=function(e,t,n,r,i){if(i){if("function"==typeof r){var o=r;r=function(){var e=Vc(a);o.call(e)}}var a=Zc(t,r,e,0,null,!1,0,"",Jc);return e._reactRootContainer=a,e[hi]=a.current,Hr(8===e.nodeType?e.parentNode:e),lc(),a}for(;i=e.lastChild;)e.removeChild(i);if("function"==typeof r){var s=r;r=function(){var e=Vc(u);s.call(e)}}var u=Fc(e,0,!1,null,0,!1,0,"",Jc);return e._reactRootContainer=u,e[hi]=u.current,Hr(8===e.nodeType?e.parentNode:e),lc((function(){qc(t,u,n,r)})),u}(n,t,e,i,r);return Vc(a)}Kc.prototype.render=Yc.prototype.render=function(e){var t=this._internalRoot;if(null===t)throw Error(o(409));qc(e,t,null,null)},Kc.prototype.unmount=Yc.prototype.unmount=function(){var e=this._internalRoot;if(null!==e){this._internalRoot=null;var t=e.containerInfo;lc((function(){qc(null,e,null,null)})),t[hi]=null}},Kc.prototype.unstable_scheduleHydration=function(e){if(e){var t=St();e={blockedOn:null,target:e,priority:t};for(var n=0;n<Mt.length&&0!==t&&t<Mt[n].priority;n++);Mt.splice(n,0,e),0===n&&Nt(e)}},wt=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=ft(t.pendingLanes);0!==n&&(vt(t,1|n),rc(t,Xe()),0==(6&Cu)&&(Hu=Xe()+500,Hi()))}break;case 13:lc((function(){var t=Ao(e,1);if(null!==t){var n=ec();nc(t,e,1,n)}})),Gc(e,1)}},Tt=function(e){if(13===e.tag){var t=Ao(e,134217728);if(null!==t)nc(t,e,134217728,ec());Gc(e,134217728)}},xt=function(e){if(13===e.tag){var t=tc(e),n=Ao(e,t);if(null!==n)nc(n,e,t,ec());Gc(e,t)}},St=function(){return bt},kt=function(e,t){var n=bt;try{return bt=e,t()}finally{bt=n}},Te=function(e,t,n){switch(t){case"input":if(Q(e,n),t=n.name,"radio"===n.type&&null!=t){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var i=wi(r);if(!i)throw Error(o(90));G(r),Q(r,i)}}}break;case"textarea":oe(e,n);break;case"select":null!=(t=n.value)&&ne(e,!!n.multiple,t,!1)}},Ce=cc,Le=lc;var tl={usingClientEntryPoint:!1,Events:[bi,_i,wi,Ee,Oe,cc]},nl={findFiberByHostInstance:vi,bundleType:0,version:"18.2.0",rendererPackageName:"react-dom"},rl={bundleType:nl.bundleType,version:nl.version,rendererPackageName:nl.rendererPackageName,rendererConfig:nl.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:_.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=Ve(e))?null:e.stateNode},findFiberByHostInstance:nl.findFiberByHostInstance||function(){return null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.2.0-next-9e3b772b8-20220608"};if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var il=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!il.isDisabled&&il.supportsFiber)try{it=il.inject(rl),ot=il}catch(le){}}t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=tl,t.createPortal=function(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!Xc(t))throw Error(o(200));return zc(e,t,null,n)},t.createRoot=function(e,t){if(!Xc(e))throw Error(o(299));var n=!1,r="",i=$c;return null!=t&&(!0===t.unstable_strictMode&&(n=!0),void 0!==t.identifierPrefix&&(r=t.identifierPrefix),void 0!==t.onRecoverableError&&(i=t.onRecoverableError)),t=Fc(e,1,!1,null,0,n,0,r,i),e[hi]=t.current,Hr(8===e.nodeType?e.parentNode:e),new Yc(t)},t.findDOMNode=function(e){if(null==e)return null;if(1===e.nodeType)return e;var t=e._reactInternals;if(void 0===t){if("function"==typeof e.render)throw Error(o(188));throw e=Object.keys(e).join(","),Error(o(268,e))}return e=null===(e=Ve(t))?null:e.stateNode},t.flushSync=function(e){return lc(e)},t.hydrate=function(e,t,n){if(!Qc(t))throw Error(o(200));return el(null,e,t,!0,n)},t.hydrateRoot=function(e,t,n){if(!Xc(e))throw Error(o(405));var r=null!=n&&n.hydratedSources||null,i=!1,a="",s=$c;if(null!=n&&(!0===n.unstable_strictMode&&(i=!0),void 0!==n.identifierPrefix&&(a=n.identifierPrefix),void 0!==n.onRecoverableError&&(s=n.onRecoverableError)),t=Zc(t,null,e,1,null!=n?n:null,i,0,a,s),e[hi]=t.current,Hr(e),r)for(e=0;e<r.length;e++)i=(i=(n=r[e])._getVersion)(n._source),null==t.mutableSourceEagerHydrationData?t.mutableSourceEagerHydrationData=[n,i]:t.mutableSourceEagerHydrationData.push(n,i);return new Kc(t)},t.render=function(e,t,n){if(!Qc(t))throw Error(o(200));return el(null,e,t,!1,n)},t.unmountComponentAtNode=function(e){if(!Qc(e))throw Error(o(40));return!!e._reactRootContainer&&(lc((function(){el(null,null,e,!1,(function(){e._reactRootContainer=null,e[hi]=null}))})),!0)},t.unstable_batchedUpdates=cc,t.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!Qc(n))throw Error(o(200));if(null==e||void 0===e._reactInternals)throw Error(o(38));return el(e,t,n,!1,r)},t.version="18.2.0-next-9e3b772b8-20220608"},20745:function(e,t,n){"use strict";var r=n(73935);t.s=r.createRoot,r.hydrateRoot},73935:function(e,t,n){"use strict";!function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}(),e.exports=n(64448)},69921:function(e,t){"use strict";var n="function"==typeof Symbol&&Symbol.for,r=n?Symbol.for("react.element"):60103,i=n?Symbol.for("react.portal"):60106,o=n?Symbol.for("react.fragment"):60107,a=n?Symbol.for("react.strict_mode"):60108,s=n?Symbol.for("react.profiler"):60114,u=n?Symbol.for("react.provider"):60109,c=n?Symbol.for("react.context"):60110,l=n?Symbol.for("react.async_mode"):60111,f=n?Symbol.for("react.concurrent_mode"):60111,d=n?Symbol.for("react.forward_ref"):60112,p=n?Symbol.for("react.suspense"):60113,h=n?Symbol.for("react.suspense_list"):60120,g=n?Symbol.for("react.memo"):60115,m=n?Symbol.for("react.lazy"):60116,y=n?Symbol.for("react.block"):60121,v=n?Symbol.for("react.fundamental"):60117,b=n?Symbol.for("react.responder"):60118,_=n?Symbol.for("react.scope"):60119;function w(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case l:case f:case o:case s:case a:case p:return e;default:switch(e=e&&e.$$typeof){case c:case d:case m:case g:case u:return e;default:return t}}case i:return t}}}function T(e){return w(e)===f}t.AsyncMode=l,t.ConcurrentMode=f,t.ContextConsumer=c,t.ContextProvider=u,t.Element=r,t.ForwardRef=d,t.Fragment=o,t.Lazy=m,t.Memo=g,t.Portal=i,t.Profiler=s,t.StrictMode=a,t.Suspense=p,t.isAsyncMode=function(e){return T(e)||w(e)===l},t.isConcurrentMode=T,t.isContextConsumer=function(e){return w(e)===c},t.isContextProvider=function(e){return w(e)===u},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return w(e)===d},t.isFragment=function(e){return w(e)===o},t.isLazy=function(e){return w(e)===m},t.isMemo=function(e){return w(e)===g},t.isPortal=function(e){return w(e)===i},t.isProfiler=function(e){return w(e)===s},t.isStrictMode=function(e){return w(e)===a},t.isSuspense=function(e){return w(e)===p},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===o||e===f||e===s||e===a||e===p||e===h||"object"==typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===g||e.$$typeof===u||e.$$typeof===c||e.$$typeof===d||e.$$typeof===v||e.$$typeof===b||e.$$typeof===_||e.$$typeof===y)},t.typeOf=w},59864:function(e,t,n){"use strict";e.exports=n(69921)},14494:function(e,t,n){"use strict";n.d(t,{zt:function(){return f},$j:function(){return F},I0:function(){return V},v9:function(){return Y}});var r=n(28416),i=n.n(r),o=(n(45697),i().createContext(null));var a=function(e){e()},s=function(){return a},u={notify:function(){}};var c=function(){function e(e,t){this.store=e,this.parentSub=t,this.unsubscribe=null,this.listeners=u,this.handleChangeWrapper=this.handleChangeWrapper.bind(this)}var t=e.prototype;return t.addNestedSub=function(e){return this.trySubscribe(),this.listeners.subscribe(e)},t.notifyNestedSubs=function(){this.listeners.notify()},t.handleChangeWrapper=function(){this.onStateChange&&this.onStateChange()},t.isSubscribed=function(){return Boolean(this.unsubscribe)},t.trySubscribe=function(){this.unsubscribe||(this.unsubscribe=this.parentSub?this.parentSub.addNestedSub(this.handleChangeWrapper):this.store.subscribe(this.handleChangeWrapper),this.listeners=function(){var e=s(),t=null,n=null;return{clear:function(){t=null,n=null},notify:function(){e((function(){for(var e=t;e;)e.callback(),e=e.next}))},get:function(){for(var e=[],n=t;n;)e.push(n),n=n.next;return e},subscribe:function(e){var r=!0,i=n={callback:e,next:null,prev:n};return i.prev?i.prev.next=i:t=i,function(){r&&null!==t&&(r=!1,i.next?i.next.prev=i.prev:n=i.prev,i.prev?i.prev.next=i.next:t=i.next)}}}}())},t.tryUnsubscribe=function(){this.unsubscribe&&(this.unsubscribe(),this.unsubscribe=null,this.listeners.clear(),this.listeners=u)},e}(),l="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement?r.useLayoutEffect:r.useEffect;var f=function(e){var t=e.store,n=e.context,a=e.children,s=(0,r.useMemo)((function(){var e=new c(t);return e.onStateChange=e.notifyNestedSubs,{store:t,subscription:e}}),[t]),u=(0,r.useMemo)((function(){return t.getState()}),[t]);l((function(){var e=s.subscription;return e.trySubscribe(),u!==t.getState()&&e.notifyNestedSubs(),function(){e.tryUnsubscribe(),e.onStateChange=null}}),[s,u]);var f=n||o;return i().createElement(f.Provider,{value:s},a)},d=n(87462),p=n(63366),h=n(8679),g=n.n(h),m=n(59864),y=[],v=[null,null];function b(e,t){var n=e[1];return[t.payload,n+1]}function _(e,t,n){l((function(){return e.apply(void 0,t)}),n)}function w(e,t,n,r,i,o,a){e.current=r,t.current=i,n.current=!1,o.current&&(o.current=null,a())}function T(e,t,n,r,i,o,a,s,u,c){if(e){var l=!1,f=null,d=function(){if(!l){var e,n,d=t.getState();try{e=r(d,i.current)}catch(e){n=e,f=e}n||(f=null),e===o.current?a.current||u():(o.current=e,s.current=e,a.current=!0,c({type:"STORE_UPDATED",payload:{error:n}}))}};n.onStateChange=d,n.trySubscribe(),d();return function(){if(l=!0,n.tryUnsubscribe(),n.onStateChange=null,f)throw f}}}var x=function(){return[null,0]};function S(e,t){void 0===t&&(t={});var n=t,a=n.getDisplayName,s=void 0===a?function(e){return"ConnectAdvanced("+e+")"}:a,u=n.methodName,l=void 0===u?"connectAdvanced":u,f=n.renderCountProp,h=void 0===f?void 0:f,S=n.shouldHandleStateChanges,k=void 0===S||S,E=n.storeKey,O=void 0===E?"store":E,C=(n.withRef,n.forwardRef),L=void 0!==C&&C,A=n.context,I=void 0===A?o:A,P=(0,p.Z)(n,["getDisplayName","methodName","renderCountProp","shouldHandleStateChanges","storeKey","withRef","forwardRef","context"]),M=I;return function(t){var n=t.displayName||t.name||"Component",o=s(n),a=(0,d.Z)({},P,{getDisplayName:s,methodName:l,renderCountProp:h,shouldHandleStateChanges:k,storeKey:O,displayName:o,wrappedComponentName:n,WrappedComponent:t}),u=P.pure;var f=u?r.useMemo:function(e){return e()};function S(n){var o=(0,r.useMemo)((function(){var e=n.reactReduxForwardedRef,t=(0,p.Z)(n,["reactReduxForwardedRef"]);return[n.context,e,t]}),[n]),s=o[0],u=o[1],l=o[2],h=(0,r.useMemo)((function(){return s&&s.Consumer&&(0,m.isContextConsumer)(i().createElement(s.Consumer,null))?s:M}),[s,M]),g=(0,r.useContext)(h),S=Boolean(n.store)&&Boolean(n.store.getState)&&Boolean(n.store.dispatch);Boolean(g)&&Boolean(g.store);var E=S?n.store:g.store,O=(0,r.useMemo)((function(){return function(t){return e(t.dispatch,a)}(E)}),[E]),C=(0,r.useMemo)((function(){if(!k)return v;var e=new c(E,S?null:g.subscription),t=e.notifyNestedSubs.bind(e);return[e,t]}),[E,S,g]),L=C[0],A=C[1],I=(0,r.useMemo)((function(){return S?g:(0,d.Z)({},g,{subscription:L})}),[S,g,L]),P=(0,r.useReducer)(b,y,x),R=P[0][0],j=P[1];if(R&&R.error)throw R.error;var D=(0,r.useRef)(),N=(0,r.useRef)(l),B=(0,r.useRef)(),U=(0,r.useRef)(!1),F=f((function(){return B.current&&l===N.current?B.current:O(E.getState(),l)}),[E,R,l]);_(w,[N,D,U,l,F,B,A]),_(T,[k,E,L,O,N,D,U,B,A,j],[E,L,O]);var z=(0,r.useMemo)((function(){return i().createElement(t,(0,d.Z)({},F,{ref:u}))}),[u,t,F]);return(0,r.useMemo)((function(){return k?i().createElement(h.Provider,{value:I},z):z}),[h,z,I])}var E=u?i().memo(S):S;if(E.WrappedComponent=t,E.displayName=S.displayName=o,L){var C=i().forwardRef((function(e,t){return i().createElement(E,(0,d.Z)({},e,{reactReduxForwardedRef:t}))}));return C.displayName=o,C.WrappedComponent=t,g()(C,t)}return g()(E,t)}}function k(e,t){return e===t?0!==e||0!==t||1/e==1/t:e!=e&&t!=t}function E(e,t){if(k(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(var i=0;i<n.length;i++)if(!Object.prototype.hasOwnProperty.call(t,n[i])||!k(e[n[i]],t[n[i]]))return!1;return!0}function O(e){return function(t,n){var r=e(t,n);function i(){return r}return i.dependsOnOwnProps=!1,i}}function C(e){return null!==e.dependsOnOwnProps&&void 0!==e.dependsOnOwnProps?Boolean(e.dependsOnOwnProps):1!==e.length}function L(e,t){return function(t,n){n.displayName;var r=function(e,t){return r.dependsOnOwnProps?r.mapToProps(e,t):r.mapToProps(e)};return r.dependsOnOwnProps=!0,r.mapToProps=function(t,n){r.mapToProps=e,r.dependsOnOwnProps=C(e);var i=r(t,n);return"function"==typeof i&&(r.mapToProps=i,r.dependsOnOwnProps=C(i),i=r(t,n)),i},r}}var A=[function(e){return"function"==typeof e?L(e):void 0},function(e){return e?void 0:O((function(e){return{dispatch:e}}))},function(e){return e&&"object"==typeof e?O((function(t){return function(e,t){var n={},r=function(r){var i=e[r];"function"==typeof i&&(n[r]=function(){return t(i.apply(void 0,arguments))})};for(var i in e)r(i);return n}(e,t)})):void 0}];var I=[function(e){return"function"==typeof e?L(e):void 0},function(e){return e?void 0:O((function(){return{}}))}];function P(e,t,n){return(0,d.Z)({},n,e,t)}var M=[function(e){return"function"==typeof e?function(e){return function(t,n){n.displayName;var r,i=n.pure,o=n.areMergedPropsEqual,a=!1;return function(t,n,s){var u=e(t,n,s);return a?i&&o(u,r)||(r=u):(a=!0,r=u),r}}}(e):void 0},function(e){return e?void 0:function(){return P}}];function R(e,t,n,r){return function(i,o){return n(e(i,o),t(r,o),o)}}function j(e,t,n,r,i){var o,a,s,u,c,l=i.areStatesEqual,f=i.areOwnPropsEqual,d=i.areStatePropsEqual,p=!1;function h(i,p){var h,g,m=!f(p,a),y=!l(i,o);return o=i,a=p,m&&y?(s=e(o,a),t.dependsOnOwnProps&&(u=t(r,a)),c=n(s,u,a)):m?(e.dependsOnOwnProps&&(s=e(o,a)),t.dependsOnOwnProps&&(u=t(r,a)),c=n(s,u,a)):y?(h=e(o,a),g=!d(h,s),s=h,g&&(c=n(s,u,a)),c):c}return function(i,l){return p?h(i,l):(s=e(o=i,a=l),u=t(r,a),c=n(s,u,a),p=!0,c)}}function D(e,t){var n=t.initMapStateToProps,r=t.initMapDispatchToProps,i=t.initMergeProps,o=(0,p.Z)(t,["initMapStateToProps","initMapDispatchToProps","initMergeProps"]),a=n(e,o),s=r(e,o),u=i(e,o);return(o.pure?j:R)(a,s,u,e,o)}function N(e,t,n){for(var r=t.length-1;r>=0;r--){var i=t[r](e);if(i)return i}return function(t,r){throw new Error("Invalid value of type "+typeof e+" for "+n+" argument when connecting component "+r.wrappedComponentName+".")}}function B(e,t){return e===t}function U(e){var t=void 0===e?{}:e,n=t.connectHOC,r=void 0===n?S:n,i=t.mapStateToPropsFactories,o=void 0===i?I:i,a=t.mapDispatchToPropsFactories,s=void 0===a?A:a,u=t.mergePropsFactories,c=void 0===u?M:u,l=t.selectorFactory,f=void 0===l?D:l;return function(e,t,n,i){void 0===i&&(i={});var a=i,u=a.pure,l=void 0===u||u,h=a.areStatesEqual,g=void 0===h?B:h,m=a.areOwnPropsEqual,y=void 0===m?E:m,v=a.areStatePropsEqual,b=void 0===v?E:v,_=a.areMergedPropsEqual,w=void 0===_?E:_,T=(0,p.Z)(a,["pure","areStatesEqual","areOwnPropsEqual","areStatePropsEqual","areMergedPropsEqual"]),x=N(e,o,"mapStateToProps"),S=N(t,s,"mapDispatchToProps"),k=N(n,c,"mergeProps");return r(f,(0,d.Z)({methodName:"connect",getDisplayName:function(e){return"Connect("+e+")"},shouldHandleStateChanges:Boolean(e),initMapStateToProps:x,initMapDispatchToProps:S,initMergeProps:k,pure:l,areStatesEqual:g,areOwnPropsEqual:y,areStatePropsEqual:b,areMergedPropsEqual:w},T))}}var F=U();function z(){return(0,r.useContext)(o)}function H(e){void 0===e&&(e=o);var t=e===o?z:function(){return(0,r.useContext)(e)};return function(){return t().store}}var Z=H();function q(e){void 0===e&&(e=o);var t=e===o?Z:H(e);return function(){return t().dispatch}}var V=q(),W=function(e,t){return e===t};function G(e){void 0===e&&(e=o);var t=e===o?z:function(){return(0,r.useContext)(e)};return function(e,n){void 0===n&&(n=W);var i=t(),o=function(e,t,n,i){var o,a=(0,r.useReducer)((function(e){return e+1}),0)[1],s=(0,r.useMemo)((function(){return new c(n,i)}),[n,i]),u=(0,r.useRef)(),f=(0,r.useRef)(),d=(0,r.useRef)(),p=(0,r.useRef)(),h=n.getState();try{if(e!==f.current||h!==d.current||u.current){var g=e(h);o=void 0!==p.current&&t(g,p.current)?p.current:g}else o=p.current}catch(e){throw u.current&&(e.message+="\nThe error may be correlated with this previous error:\n"+u.current.stack+"\n\n"),e}return l((function(){f.current=e,d.current=h,p.current=o,u.current=void 0})),l((function(){function e(){try{var e=n.getState(),r=f.current(e);if(t(r,p.current))return;p.current=r,d.current=e}catch(e){u.current=e}a()}return s.onStateChange=e,s.trySubscribe(),e(),function(){return s.tryUnsubscribe()}}),[n,s]),o}(e,n,i.store,i.subscription);return(0,r.useDebugValue)(o),o}}var $,Y=G(),K=n(73935);$=K.unstable_batchedUpdates,a=$},2909:function(e,t,n){"use strict";n.d(t,{rU:function(){return N},OL:function(){return F}});var r=n(6223),i=n(94578),o=n(28416),a=n.n(o),s=n(87462);function u(e){return"/"===e.charAt(0)}function c(e,t){for(var n=t,r=n+1,i=e.length;r<i;n+=1,r+=1)e[n]=e[r];e.pop()}var l=function(e,t){void 0===t&&(t="");var n,r=e&&e.split("/")||[],i=t&&t.split("/")||[],o=e&&u(e),a=t&&u(t),s=o||a;if(e&&u(e)?i=r:r.length&&(i.pop(),i=i.concat(r)),!i.length)return"/";if(i.length){var l=i[i.length-1];n="."===l||".."===l||""===l}else n=!1;for(var f=0,d=i.length;d>=0;d--){var p=i[d];"."===p?c(i,d):".."===p?(c(i,d),f++):f&&(c(i,d),f--)}if(!s)for(;f--;f)i.unshift("..");!s||""===i[0]||i[0]&&u(i[0])||i.unshift("");var h=i.join("/");return n&&"/"!==h.substr(-1)&&(h+="/"),h},f=n(38776);function d(e){return"/"===e.charAt(0)?e:"/"+e}function p(e){return"/"===e.charAt(0)?e.substr(1):e}function h(e,t){return function(e,t){return 0===e.toLowerCase().indexOf(t.toLowerCase())&&-1!=="/?#".indexOf(e.charAt(t.length))}(e,t)?e.substr(t.length):e}function g(e){return"/"===e.charAt(e.length-1)?e.slice(0,-1):e}function m(e){var t=e.pathname,n=e.search,r=e.hash,i=t||"/";return n&&"?"!==n&&(i+="?"===n.charAt(0)?n:"?"+n),r&&"#"!==r&&(i+="#"===r.charAt(0)?r:"#"+r),i}function y(e,t,n,r){var i;"string"==typeof e?(i=function(e){var t=e||"/",n="",r="",i=t.indexOf("#");-1!==i&&(r=t.substr(i),t=t.substr(0,i));var o=t.indexOf("?");return-1!==o&&(n=t.substr(o),t=t.substr(0,o)),{pathname:t,search:"?"===n?"":n,hash:"#"===r?"":r}}(e),i.state=t):(void 0===(i=(0,s.Z)({},e)).pathname&&(i.pathname=""),i.search?"?"!==i.search.charAt(0)&&(i.search="?"+i.search):i.search="",i.hash?"#"!==i.hash.charAt(0)&&(i.hash="#"+i.hash):i.hash="",void 0!==t&&void 0===i.state&&(i.state=t));try{i.pathname=decodeURI(i.pathname)}catch(e){throw e instanceof URIError?new URIError('Pathname "'+i.pathname+'" could not be decoded. This is likely caused by an invalid percent-encoding.'):e}return n&&(i.key=n),r?i.pathname?"/"!==i.pathname.charAt(0)&&(i.pathname=l(i.pathname,r.pathname)):i.pathname=r.pathname:i.pathname||(i.pathname="/"),i}function v(){var e=null;var t=[];return{setPrompt:function(t){return e=t,function(){e===t&&(e=null)}},confirmTransitionTo:function(t,n,r,i){if(null!=e){var o="function"==typeof e?e(t,n):e;"string"==typeof o?"function"==typeof r?r(o,i):i(!0):i(!1!==o)}else i(!0)},appendListener:function(e){var n=!0;function r(){n&&e.apply(void 0,arguments)}return t.push(r),function(){n=!1,t=t.filter((function(e){return e!==r}))}},notifyListeners:function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];t.forEach((function(e){return e.apply(void 0,n)}))}}}var b=!("undefined"==typeof window||!window.document||!window.document.createElement);function _(e,t){t(window.confirm(e))}var w="popstate",T="hashchange";function x(){try{return window.history.state||{}}catch(e){return{}}}function S(e){void 0===e&&(e={}),b||(0,f.Z)(!1);var t,n=window.history,r=(-1===(t=window.navigator.userAgent).indexOf("Android 2.")&&-1===t.indexOf("Android 4.0")||-1===t.indexOf("Mobile Safari")||-1!==t.indexOf("Chrome")||-1!==t.indexOf("Windows Phone"))&&window.history&&"pushState"in window.history,i=!(-1===window.navigator.userAgent.indexOf("Trident")),o=e,a=o.forceRefresh,u=void 0!==a&&a,c=o.getUserConfirmation,l=void 0===c?_:c,p=o.keyLength,S=void 0===p?6:p,k=e.basename?g(d(e.basename)):"";function E(e){var t=e||{},n=t.key,r=t.state,i=window.location,o=i.pathname+i.search+i.hash;return k&&(o=h(o,k)),y(o,r,n)}function O(){return Math.random().toString(36).substr(2,S)}var C=v();function L(e){(0,s.Z)(z,e),z.length=n.length,C.notifyListeners(z.location,z.action)}function A(e){(function(e){return void 0===e.state&&-1===navigator.userAgent.indexOf("CriOS")})(e)||M(E(e.state))}function I(){M(E(x()))}var P=!1;function M(e){if(P)P=!1,L();else{C.confirmTransitionTo(e,"POP",l,(function(t){t?L({action:"POP",location:e}):function(e){var t=z.location,n=j.indexOf(t.key);-1===n&&(n=0);var r=j.indexOf(e.key);-1===r&&(r=0);var i=n-r;i&&(P=!0,N(i))}(e)}))}}var R=E(x()),j=[R.key];function D(e){return k+m(e)}function N(e){n.go(e)}var B=0;function U(e){1===(B+=e)&&1===e?(window.addEventListener(w,A),i&&window.addEventListener(T,I)):0===B&&(window.removeEventListener(w,A),i&&window.removeEventListener(T,I))}var F=!1;var z={length:n.length,action:"POP",location:R,createHref:D,push:function(e,t){var i="PUSH",o=y(e,t,O(),z.location);C.confirmTransitionTo(o,i,l,(function(e){if(e){var t=D(o),a=o.key,s=o.state;if(r)if(n.pushState({key:a,state:s},null,t),u)window.location.href=t;else{var c=j.indexOf(z.location.key),l=j.slice(0,c+1);l.push(o.key),j=l,L({action:i,location:o})}else window.location.href=t}}))},replace:function(e,t){var i="REPLACE",o=y(e,t,O(),z.location);C.confirmTransitionTo(o,i,l,(function(e){if(e){var t=D(o),a=o.key,s=o.state;if(r)if(n.replaceState({key:a,state:s},null,t),u)window.location.replace(t);else{var c=j.indexOf(z.location.key);-1!==c&&(j[c]=o.key),L({action:i,location:o})}else window.location.replace(t)}}))},go:N,goBack:function(){N(-1)},goForward:function(){N(1)},block:function(e){void 0===e&&(e=!1);var t=C.setPrompt(e);return F||(U(1),F=!0),function(){return F&&(F=!1,U(-1)),t()}},listen:function(e){var t=C.appendListener(e);return U(1),function(){U(-1),t()}}};return z}var k="hashchange",E={hashbang:{encodePath:function(e){return"!"===e.charAt(0)?e:"!/"+p(e)},decodePath:function(e){return"!"===e.charAt(0)?e.substr(1):e}},noslash:{encodePath:p,decodePath:d},slash:{encodePath:d,decodePath:d}};function O(e){var t=e.indexOf("#");return-1===t?e:e.slice(0,t)}function C(){var e=window.location.href,t=e.indexOf("#");return-1===t?"":e.substring(t+1)}function L(e){window.location.replace(O(window.location.href)+"#"+e)}function A(e){void 0===e&&(e={}),b||(0,f.Z)(!1);var t=window.history,n=(window.navigator.userAgent.indexOf("Firefox"),e),r=n.getUserConfirmation,i=void 0===r?_:r,o=n.hashType,a=void 0===o?"slash":o,u=e.basename?g(d(e.basename)):"",c=E[a],l=c.encodePath,p=c.decodePath;function w(){var e=p(C());return u&&(e=h(e,u)),y(e)}var T=v();function x(e){(0,s.Z)(F,e),F.length=t.length,T.notifyListeners(F.location,F.action)}var S=!1,A=null;function I(){var e,t,n=C(),r=l(n);if(n!==r)L(r);else{var o=w(),a=F.location;if(!S&&(t=o,(e=a).pathname===t.pathname&&e.search===t.search&&e.hash===t.hash))return;if(A===m(o))return;A=null,function(e){if(S)S=!1,x();else{var t="POP";T.confirmTransitionTo(e,t,i,(function(n){n?x({action:t,location:e}):function(e){var t=F.location,n=j.lastIndexOf(m(t));-1===n&&(n=0);var r=j.lastIndexOf(m(e));-1===r&&(r=0);var i=n-r;i&&(S=!0,D(i))}(e)}))}}(o)}}var P=C(),M=l(P);P!==M&&L(M);var R=w(),j=[m(R)];function D(e){t.go(e)}var N=0;function B(e){1===(N+=e)&&1===e?window.addEventListener(k,I):0===N&&window.removeEventListener(k,I)}var U=!1;var F={length:t.length,action:"POP",location:R,createHref:function(e){var t=document.querySelector("base"),n="";return t&&t.getAttribute("href")&&(n=O(window.location.href)),n+"#"+l(u+m(e))},push:function(e,t){var n="PUSH",r=y(e,void 0,void 0,F.location);T.confirmTransitionTo(r,n,i,(function(e){if(e){var t=m(r),i=l(u+t);if(C()!==i){A=t,function(e){window.location.hash=e}(i);var o=j.lastIndexOf(m(F.location)),a=j.slice(0,o+1);a.push(t),j=a,x({action:n,location:r})}else x()}}))},replace:function(e,t){var n="REPLACE",r=y(e,void 0,void 0,F.location);T.confirmTransitionTo(r,n,i,(function(e){if(e){var t=m(r),i=l(u+t);C()!==i&&(A=t,L(i));var o=j.indexOf(m(F.location));-1!==o&&(j[o]=t),x({action:n,location:r})}}))},go:D,goBack:function(){D(-1)},goForward:function(){D(1)},block:function(e){void 0===e&&(e=!1);var t=T.setPrompt(e);return U||(B(1),U=!0),function(){return U&&(U=!1,B(-1)),t()}},listen:function(e){var t=T.appendListener(e);return B(1),function(){B(-1),t()}}};return F}var I=n(63366);a().Component;a().Component;var P=function(e,t){return"function"==typeof e?e(t):e},M=function(e,t){return"string"==typeof e?y(e,null,null,t):e},R=function(e){return e},j=a().forwardRef;void 0===j&&(j=R);var D=j((function(e,t){var n=e.innerRef,r=e.navigate,i=e.onClick,o=(0,I.Z)(e,["innerRef","navigate","onClick"]),u=o.target,c=(0,s.Z)({},o,{onClick:function(e){try{i&&i(e)}catch(t){throw e.preventDefault(),t}e.defaultPrevented||0!==e.button||u&&"_self"!==u||function(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}(e)||(e.preventDefault(),r())}});return c.ref=R!==j&&t||n,a().createElement("a",c)}));var N=j((function(e,t){var n=e.component,i=void 0===n?D:n,o=e.replace,u=e.to,c=e.innerRef,l=(0,I.Z)(e,["component","replace","to","innerRef"]);return a().createElement(r.s6.Consumer,null,(function(e){e||(0,f.Z)(!1);var n=e.history,r=M(P(u,e.location),e.location),d=r?n.createHref(r):"",p=(0,s.Z)({},l,{href:d,navigate:function(){var t=P(u,e.location),r=m(e.location)===m(M(t));(o||r?n.replace:n.push)(t)}});return R!==j?p.ref=t||c:p.innerRef=c,a().createElement(i,p)}))})),B=function(e){return e},U=a().forwardRef;void 0===U&&(U=B);var F=U((function(e,t){var n=e["aria-current"],i=void 0===n?"page":n,o=e.activeClassName,u=void 0===o?"active":o,c=e.activeStyle,l=e.className,d=e.exact,p=e.isActive,h=e.location,g=e.sensitive,m=e.strict,y=e.style,v=e.to,b=e.innerRef,_=(0,I.Z)(e,["aria-current","activeClassName","activeStyle","className","exact","isActive","location","sensitive","strict","style","to","innerRef"]);return a().createElement(r.s6.Consumer,null,(function(e){e||(0,f.Z)(!1);var n=h||e.location,o=M(P(v,n),n),w=o.pathname,T=w&&w.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1"),x=T?(0,r.LX)(n.pathname,{path:T,exact:d,sensitive:g,strict:m}):null,S=!!(p?p(x,n):x),k="function"==typeof l?l(S):l,E="function"==typeof y?y(S):y;S&&(k=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.filter((function(e){return e})).join(" ")}(k,u),E=(0,s.Z)({},E,c));var O=(0,s.Z)({"aria-current":S&&i||null,className:k,style:E,to:o},_);return B!==U?O.ref=t||b:O.innerRef=b,a().createElement(N,O)}))}))},6223:function(e,t,n){"use strict";n.d(t,{l_:function(){return N},AW:function(){return z},F0:function(){return P},rs:function(){return G},s6:function(){return I},LX:function(){return F},k6:function(){return K},TH:function(){return X},UO:function(){return Q},$B:function(){return J},EN:function(){return $}});var r=n(94578),i=n(28416),o=n.n(i),a=n(88462),s=n.n(a),u=n(87462);function c(e){return"/"===e.charAt(0)}function l(e,t){for(var n=t,r=n+1,i=e.length;r<i;n+=1,r+=1)e[n]=e[r];e.pop()}var f=function(e,t){void 0===t&&(t="");var n,r=e&&e.split("/")||[],i=t&&t.split("/")||[],o=e&&c(e),a=t&&c(t),s=o||a;if(e&&c(e)?i=r:r.length&&(i.pop(),i=i.concat(r)),!i.length)return"/";if(i.length){var u=i[i.length-1];n="."===u||".."===u||""===u}else n=!1;for(var f=0,d=i.length;d>=0;d--){var p=i[d];"."===p?l(i,d):".."===p?(l(i,d),f++):f&&(l(i,d),f--)}if(!s)for(;f--;f)i.unshift("..");!s||""===i[0]||i[0]&&c(i[0])||i.unshift("");var h=i.join("/");return n&&"/"!==h.substr(-1)&&(h+="/"),h};function d(e){return e.valueOf?e.valueOf():Object.prototype.valueOf.call(e)}var p=function e(t,n){if(t===n)return!0;if(null==t||null==n)return!1;if(Array.isArray(t))return Array.isArray(n)&&t.length===n.length&&t.every((function(t,r){return e(t,n[r])}));if("object"==typeof t||"object"==typeof n){var r=d(t),i=d(n);return r!==t||i!==n?e(r,i):Object.keys(Object.assign({},t,n)).every((function(r){return e(t[r],n[r])}))}return!1};function h(e){var t=e.pathname,n=e.search,r=e.hash,i=t||"/";return n&&"?"!==n&&(i+="?"===n.charAt(0)?n:"?"+n),r&&"#"!==r&&(i+="#"===r.charAt(0)?r:"#"+r),i}function g(e,t,n,r){var i;"string"==typeof e?(i=function(e){var t=e||"/",n="",r="",i=t.indexOf("#");-1!==i&&(r=t.substr(i),t=t.substr(0,i));var o=t.indexOf("?");return-1!==o&&(n=t.substr(o),t=t.substr(0,o)),{pathname:t,search:"?"===n?"":n,hash:"#"===r?"":r}}(e),i.state=t):(void 0===(i=(0,u.Z)({},e)).pathname&&(i.pathname=""),i.search?"?"!==i.search.charAt(0)&&(i.search="?"+i.search):i.search="",i.hash?"#"!==i.hash.charAt(0)&&(i.hash="#"+i.hash):i.hash="",void 0!==t&&void 0===i.state&&(i.state=t));try{i.pathname=decodeURI(i.pathname)}catch(e){throw e instanceof URIError?new URIError('Pathname "'+i.pathname+'" could not be decoded. This is likely caused by an invalid percent-encoding.'):e}return n&&(i.key=n),r?i.pathname?"/"!==i.pathname.charAt(0)&&(i.pathname=f(i.pathname,r.pathname)):i.pathname=r.pathname:i.pathname||(i.pathname="/"),i}function m(){var e=null;var t=[];return{setPrompt:function(t){return e=t,function(){e===t&&(e=null)}},confirmTransitionTo:function(t,n,r,i){if(null!=e){var o="function"==typeof e?e(t,n):e;"string"==typeof o?"function"==typeof r?r(o,i):i(!0):i(!1!==o)}else i(!0)},appendListener:function(e){var n=!0;function r(){n&&e.apply(void 0,arguments)}return t.push(r),function(){n=!1,t=t.filter((function(e){return e!==r}))}},notifyListeners:function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];t.forEach((function(e){return e.apply(void 0,n)}))}}}"undefined"==typeof window||!window.document||window.document.createElement;function y(e,t,n){return Math.min(Math.max(e,t),n)}function v(e){void 0===e&&(e={});var t=e,n=t.getUserConfirmation,r=t.initialEntries,i=void 0===r?["/"]:r,o=t.initialIndex,a=void 0===o?0:o,s=t.keyLength,c=void 0===s?6:s,l=m();function f(e){(0,u.Z)(w,e),w.length=w.entries.length,l.notifyListeners(w.location,w.action)}function d(){return Math.random().toString(36).substr(2,c)}var p=y(a,0,i.length-1),v=i.map((function(e){return g(e,void 0,"string"==typeof e?d():e.key||d())})),b=h;function _(e){var t=y(w.index+e,0,w.entries.length-1),r=w.entries[t];l.confirmTransitionTo(r,"POP",n,(function(e){e?f({action:"POP",location:r,index:t}):f()}))}var w={length:v.length,action:"POP",location:v[p],index:p,entries:v,createHref:b,push:function(e,t){var r="PUSH",i=g(e,t,d(),w.location);l.confirmTransitionTo(i,r,n,(function(e){if(e){var t=w.index+1,n=w.entries.slice(0);n.length>t?n.splice(t,n.length-t,i):n.push(i),f({action:r,location:i,index:t,entries:n})}}))},replace:function(e,t){var r="REPLACE",i=g(e,t,d(),w.location);l.confirmTransitionTo(i,r,n,(function(e){e&&(w.entries[w.index]=i,f({action:r,location:i}))}))},go:_,goBack:function(){_(-1)},goForward:function(){_(1)},canGo:function(e){var t=w.index+e;return t>=0&&t<w.entries.length},block:function(e){return void 0===e&&(e=!1),l.setPrompt(e)},listen:function(e){return l.appendListener(e)}};return w}var b=n(38776),_=n(39658),w=n.n(_),T=(n(59864),n(63366)),x=n(8679),S=n.n(x),k=1073741823,E="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==n.g?n.g:{};function O(e){var t=[];return{on:function(e){t.push(e)},off:function(e){t=t.filter((function(t){return t!==e}))},get:function(){return e},set:function(n,r){e=n,t.forEach((function(t){return t(e,r)}))}}}var C=o().createContext||function(e,t){var n,i,a="__create-react-context-"+function(){var e="__global_unique_id__";return E[e]=(E[e]||0)+1}()+"__",u=function(e){function n(){for(var t,n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return(t=e.call.apply(e,[this].concat(r))||this).emitter=O(t.props.value),t}(0,r.Z)(n,e);var i=n.prototype;return i.getChildContext=function(){var e;return(e={})[a]=this.emitter,e},i.componentWillReceiveProps=function(e){if(this.props.value!==e.value){var n,r=this.props.value,i=e.value;((o=r)===(a=i)?0!==o||1/o==1/a:o!=o&&a!=a)?n=0:(n="function"==typeof t?t(r,i):k,0!==(n|=0)&&this.emitter.set(e.value,n))}var o,a},i.render=function(){return this.props.children},n}(o().Component);u.childContextTypes=((n={})[a]=s().object.isRequired,n);var c=function(t){function n(){for(var e,n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return(e=t.call.apply(t,[this].concat(r))||this).observedBits=void 0,e.state={value:e.getValue()},e.onUpdate=function(t,n){0!=((0|e.observedBits)&n)&&e.setState({value:e.getValue()})},e}(0,r.Z)(n,t);var i=n.prototype;return i.componentWillReceiveProps=function(e){var t=e.observedBits;this.observedBits=null==t?k:t},i.componentDidMount=function(){this.context[a]&&this.context[a].on(this.onUpdate);var e=this.props.observedBits;this.observedBits=null==e?k:e},i.componentWillUnmount=function(){this.context[a]&&this.context[a].off(this.onUpdate)},i.getValue=function(){return this.context[a]?this.context[a].get():e},i.render=function(){return(e=this.props.children,Array.isArray(e)?e[0]:e)(this.state.value);var e},n}(o().Component);return c.contextTypes=((i={})[a]=s().object,i),{Provider:u,Consumer:c}},L=function(e){var t=C();return t.displayName=e,t},A=L("Router-History"),I=L("Router"),P=function(e){function t(t){var n;return(n=e.call(this,t)||this).state={location:t.history.location},n._isMounted=!1,n._pendingLocation=null,t.staticContext||(n.unlisten=t.history.listen((function(e){n._pendingLocation=e}))),n}(0,r.Z)(t,e),t.computeRootMatch=function(e){return{path:"/",url:"/",params:{},isExact:"/"===e}};var n=t.prototype;return n.componentDidMount=function(){var e=this;this._isMounted=!0,this.unlisten&&this.unlisten(),this.props.staticContext||(this.unlisten=this.props.history.listen((function(t){e._isMounted&&e.setState({location:t})}))),this._pendingLocation&&this.setState({location:this._pendingLocation})},n.componentWillUnmount=function(){this.unlisten&&(this.unlisten(),this._isMounted=!1,this._pendingLocation=null)},n.render=function(){return o().createElement(I.Provider,{value:{history:this.props.history,location:this.state.location,match:t.computeRootMatch(this.state.location.pathname),staticContext:this.props.staticContext}},o().createElement(A.Provider,{children:this.props.children||null,value:this.props.history}))},t}(o().Component);o().Component;var M=function(e){function t(){return e.apply(this,arguments)||this}(0,r.Z)(t,e);var n=t.prototype;return n.componentDidMount=function(){this.props.onMount&&this.props.onMount.call(this,this)},n.componentDidUpdate=function(e){this.props.onUpdate&&this.props.onUpdate.call(this,this,e)},n.componentWillUnmount=function(){this.props.onUnmount&&this.props.onUnmount.call(this,this)},n.render=function(){return null},t}(o().Component);var R={},j=0;function D(e,t){return void 0===e&&(e="/"),void 0===t&&(t={}),"/"===e?e:function(e){if(R[e])return R[e];var t=w().compile(e);return j<1e4&&(R[e]=t,j++),t}(e)(t,{pretty:!0})}function N(e){var t=e.computedMatch,n=e.to,r=e.push,i=void 0!==r&&r;return o().createElement(I.Consumer,null,(function(e){e||(0,b.Z)(!1);var r=e.history,a=e.staticContext,s=i?r.push:r.replace,c=g(t?"string"==typeof n?D(n,t.params):(0,u.Z)({},n,{pathname:D(n.pathname,t.params)}):n);return a?(s(c),null):o().createElement(M,{onMount:function(){s(c)},onUpdate:function(e,t){var n,r,i=g(t.to);n=i,r=(0,u.Z)({},c,{key:i.key}),n.pathname===r.pathname&&n.search===r.search&&n.hash===r.hash&&n.key===r.key&&p(n.state,r.state)||s(c)},to:n})}))}var B={},U=0;function F(e,t){void 0===t&&(t={}),("string"==typeof t||Array.isArray(t))&&(t={path:t});var n=t,r=n.path,i=n.exact,o=void 0!==i&&i,a=n.strict,s=void 0!==a&&a,u=n.sensitive,c=void 0!==u&&u;return[].concat(r).reduce((function(t,n){if(!n&&""!==n)return null;if(t)return t;var r=function(e,t){var n=""+t.end+t.strict+t.sensitive,r=B[n]||(B[n]={});if(r[e])return r[e];var i=[],o={regexp:w()(e,i,t),keys:i};return U<1e4&&(r[e]=o,U++),o}(n,{end:o,strict:s,sensitive:c}),i=r.regexp,a=r.keys,u=i.exec(e);if(!u)return null;var l=u[0],f=u.slice(1),d=e===l;return o&&!d?null:{path:n,url:"/"===n&&""===l?"/":l,isExact:d,params:a.reduce((function(e,t,n){return e[t.name]=f[n],e}),{})}}),null)}var z=function(e){function t(){return e.apply(this,arguments)||this}return(0,r.Z)(t,e),t.prototype.render=function(){var e=this;return o().createElement(I.Consumer,null,(function(t){t||(0,b.Z)(!1);var n=e.props.location||t.location,r=e.props.computedMatch?e.props.computedMatch:e.props.path?F(n.pathname,e.props):t.match,i=(0,u.Z)({},t,{location:n,match:r}),a=e.props,s=a.children,c=a.component,l=a.render;return Array.isArray(s)&&function(e){return 0===o().Children.count(e)}(s)&&(s=null),o().createElement(I.Provider,{value:i},i.match?s?"function"==typeof s?s(i):s:c?o().createElement(c,i):l?l(i):null:"function"==typeof s?s(i):null)}))},t}(o().Component);function H(e){return"/"===e.charAt(0)?e:"/"+e}function Z(e,t){if(!e)return t;var n=H(e);return 0!==t.pathname.indexOf(n)?t:(0,u.Z)({},t,{pathname:t.pathname.substr(n.length)})}function q(e){return"string"==typeof e?e:h(e)}function V(e){return function(){(0,b.Z)(!1)}}function W(){}o().Component;var G=function(e){function t(){return e.apply(this,arguments)||this}return(0,r.Z)(t,e),t.prototype.render=function(){var e=this;return o().createElement(I.Consumer,null,(function(t){t||(0,b.Z)(!1);var n,r,i=e.props.location||t.location;return o().Children.forEach(e.props.children,(function(e){if(null==r&&o().isValidElement(e)){n=e;var a=e.props.path||e.props.from;r=a?F(i.pathname,(0,u.Z)({},e.props,{path:a})):t.match}})),r?o().cloneElement(n,{location:i,computedMatch:r}):null}))},t}(o().Component);function $(e){var t="withRouter("+(e.displayName||e.name)+")",n=function(t){var n=t.wrappedComponentRef,r=(0,T.Z)(t,["wrappedComponentRef"]);return o().createElement(I.Consumer,null,(function(t){return t||(0,b.Z)(!1),o().createElement(e,(0,u.Z)({},r,t,{ref:n}))}))};return n.displayName=t,n.WrappedComponent=e,S()(n,e)}var Y=o().useContext;function K(){return Y(A)}function X(){return Y(I).location}function Q(){var e=Y(I).match;return e?e.params:{}}function J(e){var t=X(),n=Y(I).match;return e?F(t.pathname,e):n}},76585:function(e){e.exports=Array.isArray||function(e){return"[object Array]"==Object.prototype.toString.call(e)}},39658:function(e,t,n){var r=n(76585);e.exports=p,e.exports.parse=o,e.exports.compile=function(e,t){return s(o(e,t),t)},e.exports.tokensToFunction=s,e.exports.tokensToRegExp=d;var i=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");function o(e,t){for(var n,r=[],o=0,a=0,s="",l=t&&t.delimiter||"/";null!=(n=i.exec(e));){var f=n[0],d=n[1],p=n.index;if(s+=e.slice(a,p),a=p+f.length,d)s+=d[1];else{var h=e[a],g=n[2],m=n[3],y=n[4],v=n[5],b=n[6],_=n[7];s&&(r.push(s),s="");var w=null!=g&&null!=h&&h!==g,T="+"===b||"*"===b,x="?"===b||"*"===b,S=n[2]||l,k=y||v;r.push({name:m||o++,prefix:g||"",delimiter:S,optional:x,repeat:T,partial:w,asterisk:!!_,pattern:k?c(k):_?".*":"[^"+u(S)+"]+?"})}}return a<e.length&&(s+=e.substr(a)),s&&r.push(s),r}function a(e){return encodeURI(e).replace(/[\/?#]/g,(function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()}))}function s(e,t){for(var n=new Array(e.length),i=0;i<e.length;i++)"object"==typeof e[i]&&(n[i]=new RegExp("^(?:"+e[i].pattern+")$",f(t)));return function(t,i){for(var o="",s=t||{},u=(i||{}).pretty?a:encodeURIComponent,c=0;c<e.length;c++){var l=e[c];if("string"!=typeof l){var f,d=s[l.name];if(null==d){if(l.optional){l.partial&&(o+=l.prefix);continue}throw new TypeError('Expected "'+l.name+'" to be defined')}if(r(d)){if(!l.repeat)throw new TypeError('Expected "'+l.name+'" to not repeat, but received `'+JSON.stringify(d)+"`");if(0===d.length){if(l.optional)continue;throw new TypeError('Expected "'+l.name+'" to not be empty')}for(var p=0;p<d.length;p++){if(f=u(d[p]),!n[c].test(f))throw new TypeError('Expected all "'+l.name+'" to match "'+l.pattern+'", but received `'+JSON.stringify(f)+"`");o+=(0===p?l.prefix:l.delimiter)+f}}else{if(f=l.asterisk?encodeURI(d).replace(/[?#]/g,(function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()})):u(d),!n[c].test(f))throw new TypeError('Expected "'+l.name+'" to match "'+l.pattern+'", but received "'+f+'"');o+=l.prefix+f}}else o+=l}return o}}function u(e){return e.replace(/([.+*?=^!:${}()[\]|\/\\])/g,"\\$1")}function c(e){return e.replace(/([=!:$\/()])/g,"\\$1")}function l(e,t){return e.keys=t,e}function f(e){return e&&e.sensitive?"":"i"}function d(e,t,n){r(t)||(n=t||n,t=[]);for(var i=(n=n||{}).strict,o=!1!==n.end,a="",s=0;s<e.length;s++){var c=e[s];if("string"==typeof c)a+=u(c);else{var d=u(c.prefix),p="(?:"+c.pattern+")";t.push(c),c.repeat&&(p+="(?:"+d+p+")*"),a+=p=c.optional?c.partial?d+"("+p+")?":"(?:"+d+"("+p+"))?":d+"("+p+")"}}var h=u(n.delimiter||"/"),g=a.slice(-h.length)===h;return i||(a=(g?a.slice(0,-h.length):a)+"(?:"+h+"(?=$))?"),a+=o?"$":i&&g?"":"(?="+h+"|$)",l(new RegExp("^"+a,f(n)),t)}function p(e,t,n){return r(t)||(n=t||n,t=[]),n=n||{},e instanceof RegExp?function(e,t){var n=e.source.match(/\((?!\?)/g);if(n)for(var r=0;r<n.length;r++)t.push({name:r,prefix:null,delimiter:null,optional:!1,repeat:!1,partial:!1,asterisk:!1,pattern:null});return l(e,t)}(e,t):r(e)?function(e,t,n){for(var r=[],i=0;i<e.length;i++)r.push(p(e[i],t,n).source);return l(new RegExp("(?:"+r.join("|")+")",f(n)),t)}(e,t,n):function(e,t,n){return d(o(e,n),t,n)}(e,t,n)}},45872:function(e,t,n){"use strict";var r=n(4795);function i(){}function o(){}o.resetWarningCache=i,e.exports=function(){function e(e,t,n,i,o,a){if(a!==r){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:o,resetWarningCache:i};return n.PropTypes=n,n}},88462:function(e,t,n){e.exports=n(45872)()},4795:function(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},48477:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=a(n(28416)),o=a(n(31093));function a(e){return e&&e.__esModule?e:{default:e}}function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var c=function(e){function t(){return s(this,t),u(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),r(t,[{key:"render",value:function(){return i.default.createElement("input",this.props,this.props.children)}}]),t}(i.default.Component);t.default=(0,o.default)(c)},35343:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=u(n(28416)),a=u(n(18e3)),s=u(n(52987));function u(e){return e&&e.__esModule?e:{default:e}}function c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function l(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var f=function(e){function t(){return c(this,t),l(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),i(t,[{key:"render",value:function(){var e=this,t=r({},this.props);return t.parentBindings&&delete t.parentBindings,o.default.createElement("div",r({},t,{ref:function(t){e.props.parentBindings.domNode=t}}),this.props.children)}}]),t}(o.default.Component);f.propTypes={name:s.default.string,id:s.default.string},t.default=(0,a.default)(f)},68939:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=o(n(28416)),i=o(n(31093));function o(e){return e&&e.__esModule?e:{default:e}}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var u=function(e){function t(){var e,n,i;a(this,t);for(var o=arguments.length,u=Array(o),c=0;c<o;c++)u[c]=arguments[c];return n=i=s(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(u))),i.render=function(){return r.default.createElement("a",i.props,i.props.children)},s(i,n)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t}(r.default.Component);t.default=(0,i.default)(u)},66261:function(e,t,n){"use strict";t.zW=void 0;var r=p(n(68939)),i=p(n(48477)),o=p(n(35343)),a=p(n(82628)),s=p(n(64592)),u=p(n(87606)),c=p(n(53200)),l=p(n(31093)),f=p(n(18e3)),d=p(n(98482));function p(e){return e&&e.__esModule?e:{default:e}}r.default,i.default,o.default,a.default,t.zW=s.default,u.default,c.default,l.default,f.default,d.default,t.ZP={Link:r.default,Button:i.default,Element:o.default,scroller:a.default,Events:s.default,scrollSpy:u.default,animateScroll:c.default,ScrollLink:l.default,ScrollElement:f.default,Helpers:d.default}},98482:function(e,t,n){"use strict";var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var u=n(28416),c=(n(73935),n(54259),n(87606)),l=n(82628),f=n(52987),d=n(29678),p={to:f.string.isRequired,containerId:f.string,container:f.object,activeClass:f.string,spy:f.bool,smooth:f.oneOfType([f.bool,f.string]),offset:f.number,delay:f.number,isDynamic:f.bool,onClick:f.func,duration:f.oneOfType([f.number,f.func]),absolute:f.bool,onSetActive:f.func,onSetInactive:f.func,ignoreCancelEvents:f.bool,hashSpy:f.bool},h={Scroll:function(e,t){console.warn("Helpers.Scroll is deprecated since v1.7.0");var n=t||l,f=function(t){function l(e){o(this,l);var t=a(this,(l.__proto__||Object.getPrototypeOf(l)).call(this,e));return h.call(t),t.state={active:!1},t}return s(l,t),i(l,[{key:"getScrollSpyContainer",value:function(){var e=this.props.containerId,t=this.props.container;return e?document.getElementById(e):t&&t.nodeType?t:document}},{key:"componentDidMount",value:function(){if(this.props.spy||this.props.hashSpy){var e=this.getScrollSpyContainer();c.isMounted(e)||c.mount(e),this.props.hashSpy&&(d.isMounted()||d.mount(n),d.mapContainer(this.props.to,e)),this.props.spy&&c.addStateHandler(this.stateHandler),c.addSpyHandler(this.spyHandler,e),this.setState({container:e})}}},{key:"componentWillUnmount",value:function(){c.unmount(this.stateHandler,this.spyHandler)}},{key:"render",value:function(){var t="";t=this.state&&this.state.active?((this.props.className||"")+" "+(this.props.activeClass||"active")).trim():this.props.className;var n=r({},this.props);for(var i in p)n.hasOwnProperty(i)&&delete n[i];return n.className=t,n.onClick=this.handleClick,u.createElement(e,n)}}]),l}(u.Component),h=function(){var e=this;this.scrollTo=function(t,i){n.scrollTo(t,r({},e.state,i))},this.handleClick=function(t){e.props.onClick&&e.props.onClick(t),t.stopPropagation&&t.stopPropagation(),t.preventDefault&&t.preventDefault(),e.scrollTo(e.props.to,e.props)},this.stateHandler=function(){n.getActiveLink()!==e.props.to&&(null!==e.state&&e.state.active&&e.props.onSetInactive&&e.props.onSetInactive(),e.setState({active:!1}))},this.spyHandler=function(t){var r=e.getScrollSpyContainer();if(!d.isMounted()||d.isInitialized()){var i=e.props.to,o=null,a=0,s=0,u=0;if(r.getBoundingClientRect)u=r.getBoundingClientRect().top;if(!o||e.props.isDynamic){if(!(o=n.get(i)))return;var l=o.getBoundingClientRect();s=(a=l.top-u+t)+l.height}var f=t-e.props.offset,p=f>=Math.floor(a)&&f<Math.floor(s),h=f<Math.floor(a)||f>=Math.floor(s),g=n.getActiveLink();return h?(i===g&&n.setActiveLink(void 0),e.props.hashSpy&&d.getHash()===i&&d.changeHash(),e.props.spy&&e.state.active&&(e.setState({active:!1}),e.props.onSetInactive&&e.props.onSetInactive()),c.updateStates()):p&&g!==i?(n.setActiveLink(i),e.props.hashSpy&&d.changeHash(i),e.props.spy&&(e.setState({active:!0}),e.props.onSetActive&&e.props.onSetActive(i)),c.updateStates()):void 0}}};return f.propTypes=p,f.defaultProps={offset:0},f},Element:function(e){console.warn("Helpers.Element is deprecated since v1.7.0");var t=function(t){function n(e){o(this,n);var t=a(this,(n.__proto__||Object.getPrototypeOf(n)).call(this,e));return t.childBindings={domNode:null},t}return s(n,t),i(n,[{key:"componentDidMount",value:function(){if("undefined"==typeof window)return!1;this.registerElems(this.props.name)}},{key:"componentWillReceiveProps",value:function(e){this.props.name!==e.name&&this.registerElems(e.name)}},{key:"componentWillUnmount",value:function(){if("undefined"==typeof window)return!1;l.unregister(this.props.name)}},{key:"registerElems",value:function(e){l.register(e,this.childBindings.domNode)}},{key:"render",value:function(){return u.createElement(e,r({},this.props,{parentBindings:this.childBindings}))}}]),n}(u.Component);return t.propTypes={name:f.string,id:f.string},t}};e.exports=h},53200:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i=(s(n(54259)),s(n(89765))),o=s(n(50140)),a=s(n(64592));function s(e){return e&&e.__esModule?e:{default:e}}var u=function(e){return i.default[e.smooth]||i.default.defaultEasing},c=function(){if("undefined"!=typeof window)return window.requestAnimationFrame||window.webkitRequestAnimationFrame}()||function(e,t,n){window.setTimeout(e,n||1e3/60,(new Date).getTime())},l=function(e){var t=e.data.containerElement;if(t&&t!==document&&t!==document.body)return t.scrollTop;var n=void 0!==window.pageXOffset,r="CSS1Compat"===(document.compatMode||"");return n?window.pageYOffset:r?document.documentElement.scrollTop:document.body.scrollTop},f=function e(t,n,r){var i=n.data;if(n.ignoreCancelEvents||!i.cancel)if(i.deltaTop=Math.round(i.targetPositionY-i.startPositionY),null===i.start&&(i.start=r),i.progress=r-i.start,i.percent=i.progress>=i.duration?1:t(i.progress/i.duration),i.currentPositionY=i.startPositionY+Math.ceil(i.deltaTop*i.percent),i.containerElement&&i.containerElement!==document&&i.containerElement!==document.body?i.containerElement.scrollTop=i.currentPositionY:window.scrollTo(0,i.currentPositionY),i.percent<1){var o=e.bind(null,t,n);c.call(window,o)}else a.default.registered.end&&a.default.registered.end(i.to,i.target,i.currentPositionY);else a.default.registered.end&&a.default.registered.end(i.to,i.target,i.currentPositionY)},d=function(e){e.data.containerElement=e?e.containerId?document.getElementById(e.containerId):e.container&&e.container.nodeType?e.container:document:null},p=function(e,t,n,r){if(t.data=t.data||{currentPositionY:0,startPositionY:0,targetPositionY:0,progress:0,duration:0,cancel:!1,target:null,containerElement:null,to:null,start:null,deltaTop:null,percent:null,delayTimeout:null},window.clearTimeout(t.data.delayTimeout),o.default.subscribe((function(){t.data.cancel=!0})),d(t),t.data.start=null,t.data.cancel=!1,t.data.startPositionY=l(t),t.data.targetPositionY=t.absolute?e:e+t.data.startPositionY,t.data.startPositionY!==t.data.targetPositionY){var i;t.data.deltaTop=Math.round(t.data.targetPositionY-t.data.startPositionY),t.data.duration=("function"==typeof(i=t.duration)?i:function(){return i})(t.data.deltaTop),t.data.duration=isNaN(parseFloat(t.data.duration))?1e3:parseFloat(t.data.duration),t.data.to=n,t.data.target=r;var s=u(t),p=f.bind(null,s,t);t&&t.delay>0?t.data.delayTimeout=window.setTimeout((function(){c.call(window,p)}),t.delay):c.call(window,p)}else a.default.registered.end&&a.default.registered.end(t.data.to,t.data.target,t.data.currentPositionY)},h=function(e){return(e=r({},e)).data=e.data||{currentPositionY:0,startPositionY:0,targetPositionY:0,progress:0,duration:0,cancel:!1,target:null,containerElement:null,to:null,start:null,deltaTop:null,percent:null,delayTimeout:null},e.absolute=!0,e};t.default={animateTopScroll:p,getAnimationType:u,scrollToTop:function(e){p(0,h(e))},scrollToBottom:function(e){e=h(e),d(e),p(function(e){var t=e.data.containerElement;if(t&&t!==document&&t!==document.body)return Math.max(t.scrollHeight,t.offsetHeight,t.clientHeight);var n=document.body,r=document.documentElement;return Math.max(n.scrollHeight,n.offsetHeight,r.clientHeight,r.scrollHeight,r.offsetHeight)}(e),e)},scrollTo:function(e,t){p(e,h(t))},scrollMore:function(e,t){t=h(t),d(t),p(l(t)+e,t)}}},50140:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(55236),i=["mousedown","mousewheel","touchmove","keydown"];t.default={subscribe:function(e){return"undefined"!=typeof document&&i.forEach((function(t){return(0,r.addPassiveEventListener)(document,t,e)}))}}},55236:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.addPassiveEventListener=function(e,t,n){var r=function(){var e=!1;try{var t=Object.defineProperty({},"passive",{get:function(){e=!0}});window.addEventListener("test",null,t)}catch(e){}return e}();e.addEventListener(t,n,!!r&&{passive:!0})},t.removePassiveEventListener=function(e,t,n){e.removeEventListener(t,n)}},18e3:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=u(n(28416)),a=(u(n(73935)),u(n(82628))),s=u(n(52987));function u(e){return e&&e.__esModule?e:{default:e}}t.default=function(e){var t=function(t){function n(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n);var t=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(n.__proto__||Object.getPrototypeOf(n)).call(this,e));return t.childBindings={domNode:null},t}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(n,t),i(n,[{key:"componentDidMount",value:function(){if("undefined"==typeof window)return!1;this.registerElems(this.props.name)}},{key:"componentWillReceiveProps",value:function(e){this.props.name!==e.name&&this.registerElems(e.name)}},{key:"componentWillUnmount",value:function(){if("undefined"==typeof window)return!1;a.default.unregister(this.props.name)}},{key:"registerElems",value:function(e){a.default.register(e,this.childBindings.domNode)}},{key:"render",value:function(){return o.default.createElement(e,r({},this.props,{parentBindings:this.childBindings}))}}]),n}(o.default.Component);return t.propTypes={name:s.default.string,id:s.default.string},t}},64592:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n={registered:{},scrollEvent:{register:function(e,t){n.registered[e]=t},remove:function(e){n.registered[e]=null}}};t.default=n},29678:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});n(55236);var r,i=n(54259),o=(r=i)&&r.__esModule?r:{default:r};var a={mountFlag:!1,initialized:!1,scroller:null,containers:{},mount:function(e){this.scroller=e,this.handleHashChange=this.handleHashChange.bind(this),window.addEventListener("hashchange",this.handleHashChange),this.initStateFromHash(),this.mountFlag=!0},mapContainer:function(e,t){this.containers[e]=t},isMounted:function(){return this.mountFlag},isInitialized:function(){return this.initialized},initStateFromHash:function(){var e=this,t=this.getHash();t?window.setTimeout((function(){e.scrollTo(t,!0),e.initialized=!0}),10):this.initialized=!0},scrollTo:function(e,t){var n=this.scroller;if(n.get(e)&&(t||e!==n.getActiveLink())){var r=this.containers[e]||document;n.scrollTo(e,{container:r})}},getHash:function(){return o.default.getHash()},changeHash:function(e){this.isInitialized()&&o.default.getHash()!==e&&o.default.pushHash(e)},handleHashChange:function(){this.scrollTo(this.getHash())},unmount:function(){this.scroller=null,this.containers=null,window.removeEventListener("hashchange",this.handleHashChange)}};t.default=a},31093:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=l(n(28416)),a=(l(n(73935)),l(n(54259)),l(n(87606))),s=l(n(82628)),u=l(n(52987)),c=l(n(29678));function l(e){return e&&e.__esModule?e:{default:e}}var f={to:u.default.string.isRequired,containerId:u.default.string,container:u.default.object,activeClass:u.default.string,spy:u.default.bool,smooth:u.default.oneOfType([u.default.bool,u.default.string]),offset:u.default.number,delay:u.default.number,isDynamic:u.default.bool,onClick:u.default.func,duration:u.default.oneOfType([u.default.number,u.default.func]),absolute:u.default.bool,onSetActive:u.default.func,onSetInactive:u.default.func,ignoreCancelEvents:u.default.bool,hashSpy:u.default.bool};t.default=function(e,t){var n=t||s.default,u=function(t){function s(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s);var t=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(s.__proto__||Object.getPrototypeOf(s)).call(this,e));return l.call(t),t.state={active:!1},t}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(s,t),i(s,[{key:"getScrollSpyContainer",value:function(){var e=this.props.containerId,t=this.props.container;return e&&!t?document.getElementById(e):t&&t.nodeType?t:document}},{key:"componentDidMount",value:function(){if(this.props.spy||this.props.hashSpy){var e=this.getScrollSpyContainer();a.default.isMounted(e)||a.default.mount(e),this.props.hashSpy&&(c.default.isMounted()||c.default.mount(n),c.default.mapContainer(this.props.to,e)),a.default.addSpyHandler(this.spyHandler,e),this.setState({container:e})}}},{key:"componentWillUnmount",value:function(){a.default.unmount(this.stateHandler,this.spyHandler)}},{key:"render",value:function(){var t="";t=this.state&&this.state.active?((this.props.className||"")+" "+(this.props.activeClass||"active")).trim():this.props.className;var n=r({},this.props);for(var i in f)n.hasOwnProperty(i)&&delete n[i];return n.className=t,n.onClick=this.handleClick,o.default.createElement(e,n)}}]),s}(o.default.PureComponent),l=function(){var e=this;this.scrollTo=function(t,i){n.scrollTo(t,r({},e.state,i))},this.handleClick=function(t){e.props.onClick&&e.props.onClick(t),t.stopPropagation&&t.stopPropagation(),t.preventDefault&&t.preventDefault(),e.scrollTo(e.props.to,e.props)},this.spyHandler=function(t){var r=e.getScrollSpyContainer();if(!c.default.isMounted()||c.default.isInitialized()){var i=e.props.to,o=null,a=0,s=0,u=0;if(r.getBoundingClientRect)u=r.getBoundingClientRect().top;if(!o||e.props.isDynamic){if(!(o=n.get(i)))return;var l=o.getBoundingClientRect();s=(a=l.top-u+t)+l.height}var f=t-e.props.offset,d=f>=Math.floor(a)&&f<Math.floor(s),p=f<Math.floor(a)||f>=Math.floor(s),h=n.getActiveLink();p&&(i===h&&n.setActiveLink(void 0),e.props.hashSpy&&c.default.getHash()===i&&c.default.changeHash(),e.props.spy&&e.state.active&&(e.setState({active:!1}),e.props.onSetInactive&&e.props.onSetInactive(i,o))),!d||h===i&&!1!==e.state.active||(n.setActiveLink(i),e.props.hashSpy&&c.default.changeHash(i),e.props.spy&&(e.setState({active:!0}),e.props.onSetActive&&e.props.onSetActive(i,o)))}}};return u.propTypes=f,u.defaultProps={offset:0},u}},87606:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,i=n(93096),o=(r=i)&&r.__esModule?r:{default:r},a=n(55236);var s={spyCallbacks:[],spySetState:[],scrollSpyContainers:[],mount:function(e){if(e){var t=function(e){return(0,o.default)(e,66)}((function(t){s.scrollHandler(e)}));s.scrollSpyContainers.push(e),(0,a.addPassiveEventListener)(e,"scroll",t)}},isMounted:function(e){return-1!==s.scrollSpyContainers.indexOf(e)},currentPositionY:function(e){if(e===document){var t=void 0!==window.pageXOffset,n="CSS1Compat"===(document.compatMode||"");return t?window.pageYOffset:n?document.documentElement.scrollTop:document.body.scrollTop}return e.scrollTop},scrollHandler:function(e){(s.scrollSpyContainers[s.scrollSpyContainers.indexOf(e)].spyCallbacks||[]).forEach((function(t){return t(s.currentPositionY(e))}))},addStateHandler:function(e){s.spySetState.push(e)},addSpyHandler:function(e,t){var n=s.scrollSpyContainers[s.scrollSpyContainers.indexOf(t)];n.spyCallbacks||(n.spyCallbacks=[]),n.spyCallbacks.push(e),e(s.currentPositionY(t))},updateStates:function(){s.spySetState.forEach((function(e){return e()}))},unmount:function(e,t){s.scrollSpyContainers.forEach((function(e){return e.spyCallbacks&&e.spyCallbacks.length&&e.spyCallbacks.splice(e.spyCallbacks.indexOf(t),1)})),s.spySetState&&s.spySetState.length&&s.spySetState.splice(s.spySetState.indexOf(e),1),document.removeEventListener("scroll",s.scrollHandler)},update:function(){return s.scrollSpyContainers.forEach((function(e){return s.scrollHandler(e)}))}};t.default=s},82628:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i=s(n(54259)),o=s(n(53200)),a=s(n(64592));function s(e){return e&&e.__esModule?e:{default:e}}var u={},c=void 0;t.default={unmount:function(){u={}},register:function(e,t){u[e]=t},unregister:function(e){delete u[e]},get:function(e){return u[e]||document.getElementById(e)||document.getElementsByName(e)[0]||document.getElementsByClassName(e)[0]},setActiveLink:function(e){return c=e},getActiveLink:function(){return c},scrollTo:function(e,t){var n=this.get(e);if(n){var s=(t=r({},t,{absolute:!1})).containerId,u=t.container,c=void 0;c=s?document.getElementById(s):u&&u.nodeType?u:document,a.default.registered.begin&&a.default.registered.begin(e,n),t.absolute=!0;var l=i.default.scrollOffset(c,n)+(t.offset||0);if(!t.smooth)return c===document?window.scrollTo(0,l):c.scrollTop=l,void(a.default.registered.end&&a.default.registered.end(e,n));o.default.animateTopScroll(l,t,e,n)}else console.warn("target Element not found")}}},89765:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={defaultEasing:function(e){return e<.5?Math.pow(2*e,2)/2:1-Math.pow(2*(1-e),2)/2},linear:function(e){return e},easeInQuad:function(e){return e*e},easeOutQuad:function(e){return e*(2-e)},easeInOutQuad:function(e){return e<.5?2*e*e:(4-2*e)*e-1},easeInCubic:function(e){return e*e*e},easeOutCubic:function(e){return--e*e*e+1},easeInOutCubic:function(e){return e<.5?4*e*e*e:(e-1)*(2*e-2)*(2*e-2)+1},easeInQuart:function(e){return e*e*e*e},easeOutQuart:function(e){return 1- --e*e*e*e},easeInOutQuart:function(e){return e<.5?8*e*e*e*e:1-8*--e*e*e*e},easeInQuint:function(e){return e*e*e*e*e},easeOutQuint:function(e){return 1+--e*e*e*e*e},easeInOutQuint:function(e){return e<.5?16*e*e*e*e*e:1+16*--e*e*e*e*e}}},54259:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.default={pushHash:function(e){if(e=e?0===e.indexOf("#")?e:"#"+e:"",history.pushState){var t=window.location;history.pushState(null,null,e?t.pathname+t.search+e:t.pathname+t.search)}else location.hash=e},getHash:function(){return window.location.hash.replace(/^#/,"")},filterElementInContainer:function(e){return function(t){return e.contains?e!=t&&e.contains(t):!!(16&e.compareDocumentPosition(t))}},scrollOffset:function(e,t){return e===document?t.getBoundingClientRect().top+(window.scrollY||window.pageYOffset):"static"!==getComputedStyle(e).position?t.offsetTop:t.getBoundingClientRect().top+e.scrollTop}}},55480:function(e){"use strict";function t(e){return function(){return e}}var n=function(){};n.thatReturns=t,n.thatReturnsFalse=t(!1),n.thatReturnsTrue=t(!0),n.thatReturnsNull=t(null),n.thatReturnsThis=function(){return this},n.thatReturnsArgument=function(e){return e},e.exports=n},45198:function(e){"use strict";e.exports=function(e,t,n,r,i,o,a,s){if(!e){var u;if(void 0===t)u=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[n,r,i,o,a,s],l=0;(u=new Error(t.replace(/%s/g,(function(){return c[l++]})))).name="Invariant Violation"}throw u.framesToPop=1,u}}},68423:function(e,t,n){"use strict";var r=n(55480),i=n(45198),o=n(38606);e.exports=function(){function e(e,t,n,r,a,s){s!==o&&i(!1,"Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types")}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t};return n.checkPropTypes=r,n.PropTypes=n,n}},52987:function(e,t,n){e.exports=n(68423)()},38606:function(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},8205:function(e,t,n){"use strict";t.__esModule=!0,t.NextArrow=t.PrevArrow=void 0;var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i=s(n(28416)),o=s(n(94184)),a=n(15518);function s(e){return e&&e.__esModule?e:{default:e}}function u(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function l(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.PrevArrow=function(e){function t(){return u(this,t),c(this,e.apply(this,arguments))}return l(t,e),t.prototype.clickHandler=function(e,t){t&&t.preventDefault(),this.props.clickHandler(e,t)},t.prototype.render=function(){var e={"slick-arrow":!0,"slick-prev":!0},t=this.clickHandler.bind(this,{message:"previous"});!this.props.infinite&&(0===this.props.currentSlide||this.props.slideCount<=this.props.slidesToShow)&&(e["slick-disabled"]=!0,t=null);var n={key:"0","data-role":"none",className:(0,o.default)(e),style:{display:"block"},onClick:t},a={currentSlide:this.props.currentSlide,slideCount:this.props.slideCount};return this.props.prevArrow?i.default.cloneElement(this.props.prevArrow,r({},n,a)):i.default.createElement("button",r({key:"0",type:"button"},n)," ","Previous")},t}(i.default.PureComponent),t.NextArrow=function(e){function t(){return u(this,t),c(this,e.apply(this,arguments))}return l(t,e),t.prototype.clickHandler=function(e,t){t&&t.preventDefault(),this.props.clickHandler(e,t)},t.prototype.render=function(){var e={"slick-arrow":!0,"slick-next":!0},t=this.clickHandler.bind(this,{message:"next"});(0,a.canGoNext)(this.props)||(e["slick-disabled"]=!0,t=null);var n={key:"1","data-role":"none",className:(0,o.default)(e),style:{display:"block"},onClick:t},s={currentSlide:this.props.currentSlide,slideCount:this.props.slideCount};return this.props.nextArrow?i.default.cloneElement(this.props.nextArrow,r({},n,s)):i.default.createElement("button",r({key:"1",type:"button"},n)," ","Next")},t}(i.default.PureComponent)},23492:function(e,t,n){"use strict";t.__esModule=!0;var r,i=n(28416),o=(r=i)&&r.__esModule?r:{default:r};var a={accessibility:!0,adaptiveHeight:!1,afterChange:null,appendDots:function(e){return o.default.createElement("ul",{style:{display:"block"}},e)},arrows:!0,autoplay:!1,autoplaySpeed:3e3,beforeChange:null,centerMode:!1,centerPadding:"50px",className:"",cssEase:"ease",customPaging:function(e){return o.default.createElement("button",null,e+1)},dots:!1,dotsClass:"slick-dots",draggable:!0,easing:"linear",edgeFriction:.35,fade:!1,focusOnSelect:!1,infinite:!0,initialSlide:0,lazyLoad:null,nextArrow:null,onEdge:null,onInit:null,onLazyLoadError:null,onReInit:null,pauseOnDotsHover:!1,pauseOnFocus:!1,pauseOnHover:!0,prevArrow:null,responsive:null,rows:1,rtl:!1,slide:"div",slidesPerRow:1,slidesToScroll:1,slidesToShow:1,speed:500,swipe:!0,swipeEvent:null,swipeToSlide:!1,touchMove:!0,touchThreshold:5,useCSS:!0,useTransform:!0,variableWidth:!1,vertical:!1,waitForAnimate:!0};t.default=a},16329:function(e,t,n){"use strict";t.__esModule=!0,t.Dots=void 0;var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i=a(n(28416)),o=a(n(94184));function a(e){return e&&e.__esModule?e:{default:e}}function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}t.Dots=function(e){function t(){return s(this,t),u(this,e.apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t.prototype.clickHandler=function(e,t){t.preventDefault(),this.props.clickHandler(e)},t.prototype.render=function(){var e,t=this,n=(e={slideCount:this.props.slideCount,slidesToScroll:this.props.slidesToScroll,slidesToShow:this.props.slidesToShow,infinite:this.props.infinite}).infinite?Math.ceil(e.slideCount/e.slidesToScroll):Math.ceil((e.slideCount-e.slidesToShow)/e.slidesToScroll)+1,a=this.props,s={onMouseEnter:a.onMouseEnter,onMouseOver:a.onMouseOver,onMouseLeave:a.onMouseLeave},u=Array.apply(null,Array(n+1).join("0").split("")).map((function(e,n){var r=n*t.props.slidesToScroll,a=n*t.props.slidesToScroll+(t.props.slidesToScroll-1),s=(0,o.default)({"slick-active":t.props.currentSlide>=r&&t.props.currentSlide<=a}),u={message:"dots",index:n,slidesToScroll:t.props.slidesToScroll,currentSlide:t.props.currentSlide},c=t.clickHandler.bind(t,u);return i.default.createElement("li",{key:n,className:s},i.default.cloneElement(t.props.customPaging(n),{onClick:c}))}));return i.default.cloneElement(this.props.appendDots(u),r({className:this.props.dotsClass},s))},t}(i.default.PureComponent)},46066:function(e,t,n){"use strict";var r,i=n(5798),o=(r=i)&&r.__esModule?r:{default:r};t.Z=o.default},46948:function(e,t){"use strict";t.__esModule=!0;t.default={animating:!1,autoplaying:null,currentDirection:0,currentLeft:null,currentSlide:0,direction:1,dragging:!1,edgeDragged:!1,initialized:!1,lazyLoadedList:[],listHeight:null,listWidth:null,scrolling:!1,slideCount:null,slideHeight:null,slideWidth:null,swipeLeft:null,swiped:!1,swiping:!1,touchObject:{startX:0,startY:0,curX:0,curY:0},trackStyle:{},trackWidth:0}},58517:function(e,t,n){"use strict";t.__esModule=!0,t.InnerSlider=void 0;var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=g(n(28416)),a=g(n(73935)),s=g(n(46948)),u=g(n(91296)),c=g(n(94184)),l=n(15518),f=n(64740),d=n(16329),p=n(8205),h=g(n(64207));function g(e){return e&&e.__esModule?e:{default:e}}function m(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}t.InnerSlider=function(e){function t(n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var g=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,e.call(this,n));return g.listRefHandler=function(e){return g.list=e},g.trackRefHandler=function(e){return g.track=e},g.adaptHeight=function(){if(g.props.adaptiveHeight&&g.list){var e=g.list.querySelector('[data-index="'+g.state.currentSlide+'"]');g.list.style.height=(0,l.getHeight)(e)+"px"}},g.componentWillMount=function(){if(g.ssrInit(),g.props.onInit&&g.props.onInit(),g.props.lazyLoad){var e=(0,l.getOnDemandLazySlides)(i({},g.props,g.state));e.length>0&&(g.setState((function(t){return{lazyLoadedList:t.lazyLoadedList.concat(e)}})),g.props.onLazyLoad&&g.props.onLazyLoad(e))}},g.componentDidMount=function(){var e=i({listRef:g.list,trackRef:g.track},g.props);g.updateState(e,!0,(function(){g.adaptHeight(),g.props.autoplay&&g.autoPlay("update")})),"progressive"===g.props.lazyLoad&&(g.lazyLoadTimer=setInterval(g.progressiveLazyLoad,1e3)),g.ro=new h.default((function(){g.state.animating?(g.onWindowResized(!1),g.callbackTimers.push(setTimeout((function(){return g.onWindowResized()}),g.props.speed))):g.onWindowResized()})),g.ro.observe(g.list),Array.prototype.forEach.call(document.querySelectorAll(".slick-slide"),(function(e){e.onfocus=g.props.pauseOnFocus?g.onSlideFocus:null,e.onblur=g.props.pauseOnFocus?g.onSlideBlur:null})),window&&(window.addEventListener?window.addEventListener("resize",g.onWindowResized):window.attachEvent("onresize",g.onWindowResized))},g.componentWillUnmount=function(){g.animationEndCallback&&clearTimeout(g.animationEndCallback),g.lazyLoadTimer&&clearInterval(g.lazyLoadTimer),g.callbackTimers.length&&(g.callbackTimers.forEach((function(e){return clearTimeout(e)})),g.callbackTimers=[]),window.addEventListener?window.removeEventListener("resize",g.onWindowResized):window.detachEvent("onresize",g.onWindowResized),g.autoplayTimer&&clearInterval(g.autoplayTimer)},g.componentWillReceiveProps=function(e){var t=i({listRef:g.list,trackRef:g.track},e,g.state),n=!1,a=Object.keys(g.props),s=Array.isArray(a),u=0;for(a=s?a:a[Symbol.iterator]();;){var c;if(s){if(u>=a.length)break;c=a[u++]}else{if((u=a.next()).done)break;c=u.value}var l=c;if(!e.hasOwnProperty(l)){n=!0;break}if("object"!==r(e[l])&&"function"!=typeof e[l]&&e[l]!==g.props[l]){n=!0;break}}g.updateState(t,n,(function(){g.state.currentSlide>=o.default.Children.count(e.children)&&g.changeSlide({message:"index",index:o.default.Children.count(e.children)-e.slidesToShow,currentSlide:g.state.currentSlide}),e.autoplay?g.autoPlay("update"):g.pause("paused")}))},g.componentDidUpdate=function(){if(g.checkImagesLoad(),g.props.onReInit&&g.props.onReInit(),g.props.lazyLoad){var e=(0,l.getOnDemandLazySlides)(i({},g.props,g.state));e.length>0&&(g.setState((function(t){return{lazyLoadedList:t.lazyLoadedList.concat(e)}})),g.props.onLazyLoad&&g.props.onLazyLoad(e))}g.adaptHeight()},g.onWindowResized=function(e){g.debouncedResize&&g.debouncedResize.cancel(),g.debouncedResize=(0,u.default)((function(){return g.resizeWindow(e)}),50),g.debouncedResize()},g.resizeWindow=function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];if(a.default.findDOMNode(g.track)){var t=i({listRef:g.list,trackRef:g.track},g.props,g.state);g.updateState(t,e,(function(){g.props.autoplay?g.autoPlay("update"):g.pause("paused")})),g.setState({animating:!1}),clearTimeout(g.animationEndCallback),delete g.animationEndCallback}},g.updateState=function(e,t,n){var r=(0,l.initializedState)(e);e=i({},e,r,{slideIndex:r.currentSlide});var a=(0,l.getTrackLeft)(e);e=i({},e,{left:a});var s=(0,l.getTrackCSS)(e);(t||o.default.Children.count(g.props.children)!==o.default.Children.count(e.children))&&(r.trackStyle=s),g.setState(r,n)},g.ssrInit=function(){if(g.props.variableWidth){var e=0,t=0,n=[],r=(0,l.getPreClones)(i({},g.props,g.state,{slideCount:g.props.children.length})),a=(0,l.getPostClones)(i({},g.props,g.state,{slideCount:g.props.children.length}));g.props.children.forEach((function(t){n.push(t.props.style.width),e+=t.props.style.width}));for(var s=0;s<r;s++)t+=n[n.length-1-s],e+=n[n.length-1-s];for(var u=0;u<a;u++)e+=n[u];for(var c=0;c<g.state.currentSlide;c++)t+=n[c];var f={width:e+"px",left:-t+"px"};if(g.props.centerMode){var d=n[g.state.currentSlide]+"px";f.left="calc("+f.left+" + (100% - "+d+") / 2 ) "}g.setState({trackStyle:f})}else{var p=o.default.Children.count(g.props.children),h=i({},g.props,g.state,{slideCount:p}),m=(0,l.getPreClones)(h)+(0,l.getPostClones)(h)+p,y=100/g.props.slidesToShow*m,v=100/m,b=-v*((0,l.getPreClones)(h)+g.state.currentSlide)*y/100;g.props.centerMode&&(b+=(100-v*y/100)/2);var _={width:y+"%",left:b+"%"};g.setState({slideWidth:v+"%",trackStyle:_})}},g.checkImagesLoad=function(){var e=document.querySelectorAll(".slick-slide img"),t=e.length,n=0;Array.prototype.forEach.call(e,(function(e){var r=function(){return++n&&n>=t&&g.onWindowResized()};if(e.onclick){var i=e.onclick;e.onclick=function(){i(),e.parentNode.focus()}}else e.onclick=function(){return e.parentNode.focus()};e.onload||(g.props.lazyLoad?e.onload=function(){g.adaptHeight(),g.callbackTimers.push(setTimeout(g.onWindowResized,g.props.speed))}:(e.onload=r,e.onerror=function(){r(),g.props.onLazyLoadError&&g.props.onLazyLoadError()}))}))},g.progressiveLazyLoad=function(){for(var e=[],t=i({},g.props,g.state),n=g.state.currentSlide;n<g.state.slideCount+(0,l.getPostClones)(t);n++)if(g.state.lazyLoadedList.indexOf(n)<0){e.push(n);break}for(var r=g.state.currentSlide-1;r>=-(0,l.getPreClones)(t);r--)if(g.state.lazyLoadedList.indexOf(r)<0){e.push(r);break}e.length>0?(g.setState((function(t){return{lazyLoadedList:t.lazyLoadedList.concat(e)}})),g.props.onLazyLoad&&g.props.onLazyLoad(e)):g.lazyLoadTimer&&(clearInterval(g.lazyLoadTimer),delete g.lazyLoadTimer)},g.slideHandler=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=g.props,r=n.asNavFor,o=n.beforeChange,a=n.onLazyLoad,s=n.speed,u=n.afterChange,c=g.state.currentSlide,f=(0,l.slideHandler)(i({index:e},g.props,g.state,{trackRef:g.track,useCSS:g.props.useCSS&&!t})),d=f.state,p=f.nextState;if(d){o&&o(c,d.currentSlide);var h=d.lazyLoadedList.filter((function(e){return g.state.lazyLoadedList.indexOf(e)<0}));a&&h.length>0&&a(h),g.setState(d,(function(){r&&r.innerSlider.state.currentSlide!==c&&r.innerSlider.slideHandler(e),p&&(g.animationEndCallback=setTimeout((function(){var e=p.animating,t=m(p,["animating"]);g.setState(t,(function(){g.callbackTimers.push(setTimeout((function(){return g.setState({animating:e})}),10)),u&&u(d.currentSlide),delete g.animationEndCallback}))}),s))}))}},g.changeSlide=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=i({},g.props,g.state),r=(0,l.changeSlide)(n,e);(0===r||r)&&(!0===t?g.slideHandler(r,t):g.slideHandler(r))},g.clickHandler=function(e){!1===g.clickable&&(e.stopPropagation(),e.preventDefault()),g.clickable=!0},g.keyHandler=function(e){var t=(0,l.keyHandler)(e,g.props.accessibility,g.props.rtl);""!==t&&g.changeSlide({message:t})},g.selectHandler=function(e){g.changeSlide(e)},g.disableBodyScroll=function(){window.ontouchmove=function(e){(e=e||window.event).preventDefault&&e.preventDefault(),e.returnValue=!1}},g.enableBodyScroll=function(){window.ontouchmove=null},g.swipeStart=function(e){g.props.verticalSwiping&&g.disableBodyScroll();var t=(0,l.swipeStart)(e,g.props.swipe,g.props.draggable);""!==t&&g.setState(t)},g.swipeMove=function(e){var t=(0,l.swipeMove)(e,i({},g.props,g.state,{trackRef:g.track,listRef:g.list,slideIndex:g.state.currentSlide}));t&&(t.swiping&&(g.clickable=!1),g.setState(t))},g.swipeEnd=function(e){var t=(0,l.swipeEnd)(e,i({},g.props,g.state,{trackRef:g.track,listRef:g.list,slideIndex:g.state.currentSlide}));if(t){var n=t.triggerSlideHandler;delete t.triggerSlideHandler,g.setState(t),void 0!==n&&(g.slideHandler(n),g.props.verticalSwiping&&g.enableBodyScroll())}},g.slickPrev=function(){g.callbackTimers.push(setTimeout((function(){return g.changeSlide({message:"previous"})}),0))},g.slickNext=function(){g.callbackTimers.push(setTimeout((function(){return g.changeSlide({message:"next"})}),0))},g.slickGoTo=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(e=Number(e),isNaN(e))return"";g.callbackTimers.push(setTimeout((function(){return g.changeSlide({message:"index",index:e,currentSlide:g.state.currentSlide},t)}),0))},g.play=function(){var e;if(g.props.rtl)e=g.state.currentSlide-g.props.slidesToScroll;else{if(!(0,l.canGoNext)(i({},g.props,g.state)))return!1;e=g.state.currentSlide+g.props.slidesToScroll}g.slideHandler(e)},g.autoPlay=function(e){g.autoplayTimer&&clearInterval(g.autoplayTimer);var t=g.state.autoplaying;if("update"===e){if("hovered"===t||"focused"===t||"paused"===t)return}else if("leave"===e){if("paused"===t||"focused"===t)return}else if("blur"===e&&("paused"===t||"hovered"===t))return;g.autoplayTimer=setInterval(g.play,g.props.autoplaySpeed+50),g.setState({autoplaying:"playing"})},g.pause=function(e){g.autoplayTimer&&(clearInterval(g.autoplayTimer),g.autoplayTimer=null);var t=g.state.autoplaying;"paused"===e?g.setState({autoplaying:"paused"}):"focused"===e?"hovered"!==t&&"playing"!==t||g.setState({autoplaying:"focused"}):"playing"===t&&g.setState({autoplaying:"hovered"})},g.onDotsOver=function(){return g.props.autoplay&&g.pause("hovered")},g.onDotsLeave=function(){return g.props.autoplay&&"hovered"===g.state.autoplaying&&g.autoPlay("leave")},g.onTrackOver=function(){return g.props.autoplay&&g.pause("hovered")},g.onTrackLeave=function(){return g.props.autoplay&&"hovered"===g.state.autoplaying&&g.autoPlay("leave")},g.onSlideFocus=function(){return g.props.autoplay&&g.pause("focused")},g.onSlideBlur=function(){return g.props.autoplay&&"focused"===g.state.autoplaying&&g.autoPlay("blur")},g.render=function(){var e,t,n,r=(0,c.default)("slick-slider",g.props.className,{"slick-vertical":g.props.vertical,"slick-initialized":!0}),a=i({},g.props,g.state),s=(0,l.extractObject)(a,["fade","cssEase","speed","infinite","centerMode","focusOnSelect","currentSlide","lazyLoad","lazyLoadedList","rtl","slideWidth","slideHeight","listHeight","vertical","slidesToShow","slidesToScroll","slideCount","trackStyle","variableWidth","unslick","centerPadding"]),u=g.props.pauseOnHover;if(s=i({},s,{onMouseEnter:u?g.onTrackOver:null,onMouseLeave:u?g.onTrackLeave:null,onMouseOver:u?g.onTrackOver:null,focusOnSelect:g.props.focusOnSelect?g.selectHandler:null}),!0===g.props.dots&&g.state.slideCount>=g.props.slidesToShow){var h=(0,l.extractObject)(a,["dotsClass","slideCount","slidesToShow","currentSlide","slidesToScroll","clickHandler","children","customPaging","infinite","appendDots"]),m=g.props.pauseOnDotsHover;h=i({},h,{clickHandler:g.changeSlide,onMouseEnter:m?g.onDotsLeave:null,onMouseOver:m?g.onDotsOver:null,onMouseLeave:m?g.onDotsLeave:null}),e=o.default.createElement(d.Dots,h)}var y=(0,l.extractObject)(a,["infinite","centerMode","currentSlide","slideCount","slidesToShow","prevArrow","nextArrow"]);y.clickHandler=g.changeSlide,g.props.arrows&&(t=o.default.createElement(p.PrevArrow,y),n=o.default.createElement(p.NextArrow,y));var v=null;g.props.vertical&&(v={height:g.state.listHeight});var b=null;!1===g.props.vertical?!0===g.props.centerMode&&(b={padding:"0px "+g.props.centerPadding}):!0===g.props.centerMode&&(b={padding:g.props.centerPadding+" 0px"});var _=i({},v,b),w=g.props.touchMove,T={className:"slick-list",style:_,onClick:g.clickHandler,onMouseDown:w?g.swipeStart:null,onMouseMove:g.state.dragging&&w?g.swipeMove:null,onMouseUp:w?g.swipeEnd:null,onMouseLeave:g.state.dragging&&w?g.swipeEnd:null,onTouchStart:w?g.swipeStart:null,onTouchMove:g.state.dragging&&w?g.swipeMove:null,onTouchEnd:w?g.swipeEnd:null,onTouchCancel:g.state.dragging&&w?g.swipeEnd:null,onKeyDown:g.props.accessibility?g.keyHandler:null},x={className:r,dir:"ltr"};return g.props.unslick&&(T={className:"slick-list"},x={className:r}),o.default.createElement("div",x,g.props.unslick?"":t,o.default.createElement("div",i({ref:g.listRefHandler},T),o.default.createElement(f.Track,i({ref:g.trackRefHandler},s),g.props.children)),g.props.unslick?"":n,g.props.unslick?"":e)},g.list=null,g.track=null,g.state=i({},s.default,{currentSlide:g.props.initialSlide,slideCount:o.default.Children.count(g.props.children)}),g.callbackTimers=[],g.clickable=!0,g.debouncedResize=null,g}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t}(o.default.Component)},5798:function(e,t,n){"use strict";t.__esModule=!0;var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i=c(n(28416)),o=n(58517),a=c(n(80973)),s=c(n(23492)),u=n(15518);function c(e){return e&&e.__esModule?e:{default:e}}var l=(0,u.canUseDOM)()&&n(24974),f=function(e){function t(n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var r=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,e.call(this,n));return r.innerSliderRefHandler=function(e){return r.innerSlider=e},r.slickPrev=function(){return r.innerSlider.slickPrev()},r.slickNext=function(){return r.innerSlider.slickNext()},r.slickGoTo=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return r.innerSlider.slickGoTo(e,t)},r.slickPause=function(){return r.innerSlider.pause("paused")},r.slickPlay=function(){return r.innerSlider.autoPlay("play")},r.state={breakpoint:null},r._responsiveMediaHandlers=[],r}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t.prototype.media=function(e,t){l.register(e,t),this._responsiveMediaHandlers.push({query:e,handler:t})},t.prototype.componentWillMount=function(){var e=this;if(this.props.responsive){var t=this.props.responsive.map((function(e){return e.breakpoint}));t.sort((function(e,t){return e-t})),t.forEach((function(n,r){var i=void 0;i=0===r?(0,a.default)({minWidth:0,maxWidth:n}):(0,a.default)({minWidth:t[r-1]+1,maxWidth:n}),(0,u.canUseDOM)()&&e.media(i,(function(){e.setState({breakpoint:n})}))}));var n=(0,a.default)({minWidth:t.slice(-1)[0]});(0,u.canUseDOM)()&&this.media(n,(function(){e.setState({breakpoint:null})}))}},t.prototype.componentWillUnmount=function(){this._responsiveMediaHandlers.forEach((function(e){l.unregister(e.query,e.handler)}))},t.prototype.render=function(){var e,t,n=this;(e=this.state.breakpoint?"unslick"===(t=this.props.responsive.filter((function(e){return e.breakpoint===n.state.breakpoint})))[0].settings?"unslick":r({},s.default,this.props,t[0].settings):r({},s.default,this.props)).centerMode&&(e.slidesToScroll,e.slidesToScroll=1),e.fade&&(e.slidesToShow,e.slidesToScroll,e.slidesToShow=1,e.slidesToScroll=1);var a=i.default.Children.toArray(this.props.children);a=a.filter((function(e){return"string"==typeof e?!!e.trim():!!e})),e.variableWidth&&(e.rows>1||e.slidesPerRow>1)&&(console.warn("variableWidth is not supported in case of rows > 1 or slidesPerRow > 1"),e.variableWidth=!1);for(var u=[],c=null,l=0;l<a.length;l+=e.rows*e.slidesPerRow){for(var f=[],d=l;d<l+e.rows*e.slidesPerRow;d+=e.slidesPerRow){for(var p=[],h=d;h<d+e.slidesPerRow&&(e.variableWidth&&a[h].props.style&&(c=a[h].props.style.width),!(h>=a.length));h+=1)p.push(i.default.cloneElement(a[h],{key:100*l+10*d+h,tabIndex:-1,style:{width:100/e.slidesPerRow+"%",display:"inline-block"}}));f.push(i.default.createElement("div",{key:10*l+d},p))}e.variableWidth?u.push(i.default.createElement("div",{key:l,style:{width:c}},f)):u.push(i.default.createElement("div",{key:l},f))}if("unslick"===e){var g="regular slider "+(this.props.className||"");return i.default.createElement("div",{className:g},u)}return u.length<=e.slidesToShow&&(e.unslick=!0),i.default.createElement(o.InnerSlider,r({ref:this.innerSliderRefHandler},e),u)},t}(i.default.Component);t.default=f},64740:function(e,t,n){"use strict";t.__esModule=!0,t.Track=void 0;var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i=s(n(28416)),o=s(n(94184)),a=n(15518);function s(e){return e&&e.__esModule?e:{default:e}}function u(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var l=function(e){var t,n,r,i,o;return r=(o=e.rtl?e.slideCount-1-e.index:e.index)<0||o>=e.slideCount,e.centerMode?(i=Math.floor(e.slidesToShow/2),n=(o-e.currentSlide)%e.slideCount==0,o>e.currentSlide-i-1&&o<=e.currentSlide+i&&(t=!0)):t=e.currentSlide<=o&&o<e.currentSlide+e.slidesToShow,{"slick-slide":!0,"slick-active":t,"slick-center":n,"slick-cloned":r,"slick-current":o===e.currentSlide}},f=function(e,t){return e.key||t},d=function(e){var t,n=[],s=[],u=[],c=i.default.Children.count(e.children),d=(0,a.lazyStartIndex)(e),p=(0,a.lazyEndIndex)(e);return i.default.Children.forEach(e.children,(function(h,g){var m=void 0,y={message:"children",index:g,slidesToScroll:e.slidesToScroll,currentSlide:e.currentSlide};m=!e.lazyLoad||e.lazyLoad&&e.lazyLoadedList.indexOf(g)>=0?h:i.default.createElement("div",null);var v=function(e){var t={};return void 0!==e.variableWidth&&!1!==e.variableWidth||(t.width=e.slideWidth),e.fade&&(t.position="relative",e.vertical?t.top=-e.index*parseInt(e.slideHeight):t.left=-e.index*parseInt(e.slideWidth),t.opacity=e.currentSlide===e.index?1:0,t.transition="opacity "+e.speed+"ms "+e.cssEase+", visibility "+e.speed+"ms "+e.cssEase,t.WebkitTransition="opacity "+e.speed+"ms "+e.cssEase+", visibility "+e.speed+"ms "+e.cssEase),t}(r({},e,{index:g})),b=m.props.className||"",_=l(r({},e,{index:g}));if(n.push(i.default.cloneElement(m,{key:"original"+f(m,g),"data-index":g,className:(0,o.default)(_,b),tabIndex:"-1","aria-hidden":!_["slick-active"],style:r({outline:"none"},m.props.style||{},v),onClick:function(t){m.props&&m.props.onClick&&m.props.onClick(t),e.focusOnSelect&&e.focusOnSelect(y)}})),e.infinite&&!1===e.fade){var w=c-g;w<=(0,a.getPreClones)(e)&&c!==e.slidesToShow&&((t=-w)>=d&&(m=h),_=l(r({},e,{index:t})),s.push(i.default.cloneElement(m,{key:"precloned"+f(m,t),"data-index":t,tabIndex:"-1",className:(0,o.default)(_,b),"aria-hidden":!_["slick-active"],style:r({},m.props.style||{},v),onClick:function(t){m.props&&m.props.onClick&&m.props.onClick(t),e.focusOnSelect&&e.focusOnSelect(y)}}))),c!==e.slidesToShow&&((t=c+g)<p&&(m=h),_=l(r({},e,{index:t})),u.push(i.default.cloneElement(m,{key:"postcloned"+f(m,t),"data-index":t,tabIndex:"-1",className:(0,o.default)(_,b),"aria-hidden":!_["slick-active"],style:r({},m.props.style||{},v),onClick:function(t){m.props&&m.props.onClick&&m.props.onClick(t),e.focusOnSelect&&e.focusOnSelect(y)}})))}})),e.rtl?s.concat(n,u).reverse():s.concat(n,u)};t.Track=function(e){function t(){return u(this,t),c(this,e.apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t.prototype.render=function(){var e=d(this.props),t=this.props,n={onMouseEnter:t.onMouseEnter,onMouseOver:t.onMouseOver,onMouseLeave:t.onMouseLeave};return i.default.createElement("div",r({className:"slick-track",style:this.props.trackStyle},n),e)},t}(i.default.PureComponent)},15518:function(e,t,n){"use strict";t.__esModule=!0,t.canUseDOM=t.slidesOnLeft=t.slidesOnRight=t.siblingDirection=t.getTotalSlides=t.getPostClones=t.getPreClones=t.getTrackLeft=t.getTrackAnimateCSS=t.getTrackCSS=t.checkSpecKeys=t.getSlideCount=t.checkNavigable=t.getNavigableIndexes=t.swipeEnd=t.swipeMove=t.swipeStart=t.keyHandler=t.changeSlide=t.slideHandler=t.initializedState=t.extractObject=t.canGoNext=t.getSwipeDirection=t.getHeight=t.getWidth=t.lazySlidesOnRight=t.lazySlidesOnLeft=t.lazyEndIndex=t.lazyStartIndex=t.getRequiredLazySlides=t.getOnDemandLazySlides=void 0;var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i=a(n(28416)),o=a(n(73935));function a(e){return e&&e.__esModule?e:{default:e}}var s=t.getOnDemandLazySlides=function(e){for(var t=[],n=u(e),r=c(e),i=n;i<r;i++)e.lazyLoadedList.indexOf(i)<0&&t.push(i);return t},u=(t.getRequiredLazySlides=function(e){for(var t=[],n=u(e),r=c(e),i=n;i<r;i++)t.push(i);return t},t.lazyStartIndex=function(e){return e.currentSlide-l(e)}),c=t.lazyEndIndex=function(e){return e.currentSlide+f(e)},l=t.lazySlidesOnLeft=function(e){return e.centerMode?Math.floor(e.slidesToShow/2)+(parseInt(e.centerPadding)>0?1:0):0},f=t.lazySlidesOnRight=function(e){return e.centerMode?Math.floor((e.slidesToShow-1)/2)+1+(parseInt(e.centerPadding)>0?1:0):e.slidesToShow},d=t.getWidth=function(e){return e&&e.offsetWidth||0},p=t.getHeight=function(e){return e&&e.offsetHeight||0},h=t.getSwipeDirection=function(e){var t,n,r,i,o=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return t=e.startX-e.curX,n=e.startY-e.curY,r=Math.atan2(n,t),(i=Math.round(180*r/Math.PI))<0&&(i=360-Math.abs(i)),i<=45&&i>=0||i<=360&&i>=315?"left":i>=135&&i<=225?"right":!0===o?i>=35&&i<=135?"up":"down":"vertical"},g=t.canGoNext=function(e){var t=!0;return e.infinite||(e.centerMode&&e.currentSlide>=e.slideCount-1||e.slideCount<=e.slidesToShow||e.currentSlide>=e.slideCount-e.slidesToShow)&&(t=!1),t},m=(t.extractObject=function(e,t){var n={};return t.forEach((function(t){return n[t]=e[t]})),n},t.initializedState=function(e){var t=i.default.Children.count(e.children),n=Math.ceil(d(o.default.findDOMNode(e.listRef))),r=Math.ceil(d(o.default.findDOMNode(e.trackRef))),a=void 0;if(e.vertical)a=n;else{var u=e.centerMode&&2*parseInt(e.centerPadding);"string"==typeof e.centerPadding&&"%"===e.centerPadding.slice(-1)&&(u*=n/100),a=Math.ceil((n-u)/e.slidesToShow)}var c=o.default.findDOMNode(e.listRef)&&p(o.default.findDOMNode(e.listRef).querySelector('[data-index="0"]')),l=c*e.slidesToShow,f=void 0===e.currentSlide?e.initialSlide:e.currentSlide;e.rtl&&void 0===e.currentSlide&&(f=t-1-e.initialSlide);var h=e.lazyLoadedList||[],g=s({currentSlide:f,lazyLoadedList:h},e);h.concat(g);var m={slideCount:t,slideWidth:a,listWidth:n,trackWidth:r,currentSlide:f,slideHeight:c,listHeight:l,lazyLoadedList:h};return null===e.autoplaying&&e.autoplay&&(m.autoplaying="playing"),m},t.slideHandler=function(e){var t=e.waitForAnimate,n=e.animating,i=e.fade,o=e.infinite,a=e.index,u=e.slideCount,c=e.lazyLoadedList,l=e.lazyLoad,f=e.currentSlide,d=e.centerMode,p=e.slidesToScroll,h=e.slidesToShow,m=e.useCSS;if(t&&n)return{};var y=a,v=void 0,b=void 0,x=void 0,S={},k={};if(i){if(!o&&(a<0||a>=u))return{};a<0?y=a+u:a>=u&&(y=a-u),l&&c.indexOf(y)<0&&c.push(y),S={animating:!0,currentSlide:y,lazyLoadedList:c},k={animating:!1}}else v=y,y<0?(v=y+u,o?u%p!=0&&(v=u-u%p):v=0):!g(e)&&y>f?y=v=f:d&&y>=u?(y=o?u:u-1,v=o?0:u-1):y>=u&&(v=y-u,o?u%p!=0&&(v=0):v=u-h),b=T(r({},e,{slideIndex:y})),x=T(r({},e,{slideIndex:v})),o||(b===x&&(y=v),b=x),l&&c.concat(s(r({},e,{currentSlide:y}))),m?(S={animating:!0,currentSlide:v,trackStyle:w(r({},e,{left:b})),lazyLoadedList:c},k={animating:!1,currentSlide:v,trackStyle:_(r({},e,{left:x})),swipeLeft:null}):S={currentSlide:v,trackStyle:_(r({},e,{left:x})),lazyLoadedList:c};return{state:S,nextState:k}},t.changeSlide=function(e,t){var n,i,o,a,s=e.slidesToScroll,u=e.slidesToShow,c=e.slideCount,l=e.currentSlide,f=e.lazyLoad,d=e.infinite;if(n=c%s!=0?0:(c-l)%s,"previous"===t.message)a=l-(o=0===n?s:u-n),f&&!d&&(a=-1===(i=l-o)?c-1:i);else if("next"===t.message)a=l+(o=0===n?s:n),f&&!d&&(a=(l+s)%c+n);else if("dots"===t.message){if((a=t.index*t.slidesToScroll)===t.currentSlide)return null}else if("children"===t.message){if((a=t.index)===t.currentSlide)return null;if(d){var p=E(r({},e,{targetSlide:a}));a>t.currentSlide&&"left"===p?a-=c:a<t.currentSlide&&"right"===p&&(a+=c)}}else if("index"===t.message&&(a=Number(t.index))===t.currentSlide)return null;return a},t.keyHandler=function(e,t,n){return e.target.tagName.match("TEXTAREA|INPUT|SELECT")||!t?"":37===e.keyCode?n?"next":"previous":39===e.keyCode?n?"previous":"next":""},t.swipeStart=function(e,t,n){return"IMG"===e.target.tagName&&e.preventDefault(),!t||!n&&-1!==e.type.indexOf("mouse")?"":{dragging:!0,touchObject:{startX:e.touches?e.touches[0].pageX:e.clientX,startY:e.touches?e.touches[0].pageY:e.clientY,curX:e.touches?e.touches[0].pageX:e.clientX,curY:e.touches?e.touches[0].pageY:e.clientY}}},t.swipeMove=function(e,t){var n=t.scrolling,i=t.animating,o=t.vertical,a=t.swipeToSlide,s=t.verticalSwiping,u=t.rtl,c=t.currentSlide,l=t.edgeFriction,f=t.edgeDragged,d=t.onEdge,p=t.swiped,m=t.swiping,y=t.slideCount,v=t.slidesToScroll,b=t.infinite,w=t.touchObject,x=t.swipeEvent,S=t.listHeight,k=t.listWidth;if(!n){if(i)return e.preventDefault();o&&a&&s&&e.preventDefault();var E=void 0,O={},C=T(t);w.curX=e.touches?e.touches[0].pageX:e.clientX,w.curY=e.touches?e.touches[0].pageY:e.clientY,w.swipeLength=Math.round(Math.sqrt(Math.pow(w.curX-w.startX,2)));var L=Math.round(Math.sqrt(Math.pow(w.curY-w.startY,2)));if(!s&&!m&&L>10)return{scrolling:!0};s&&(w.swipeLength=L);var A=(u?-1:1)*(w.curX>w.startX?1:-1);s&&(A=w.curY>w.startY?1:-1);var I=Math.ceil(y/v),P=h(t.touchObject,s),M=w.swipeLength;return b||(0===c&&"right"===P||c+1>=I&&"left"===P||!g(t)&&"left"===P)&&(M=w.swipeLength*l,!1===f&&d&&(d(P),O.edgeDragged=!0)),!p&&x&&(x(P),O.swiped=!0),E=o?C+M*(S/k)*A:u?C-M*A:C+M*A,s&&(E=C+M*A),O=r({},O,{touchObject:w,swipeLeft:E,trackStyle:_(r({},t,{left:E}))}),Math.abs(w.curX-w.startX)<.8*Math.abs(w.curY-w.startY)?O:(w.swipeLength>10&&(O.swiping=!0,e.preventDefault()),O)}},t.swipeEnd=function(e,t){var n=t.dragging,i=t.swipe,o=t.touchObject,a=t.listWidth,s=t.touchThreshold,u=t.verticalSwiping,c=t.listHeight,l=t.currentSlide,f=t.swipeToSlide,d=t.scrolling,p=t.onSwipe;if(!n)return i&&e.preventDefault(),{};var g=u?c/s:a/s,m=h(o,u),b={dragging:!1,edgeDragged:!1,scrolling:!1,swiping:!1,swiped:!1,swipeLeft:null,touchObject:{}};if(d)return b;if(!o.swipeLength)return b;if(o.swipeLength>g){e.preventDefault(),p&&p(m);var _=void 0,x=void 0;switch(m){case"left":case"up":x=l+v(t),_=f?y(t,x):x,b.currentDirection=0;break;case"right":case"down":x=l-v(t),_=f?y(t,x):x,b.currentDirection=1;break;default:_=l}b.triggerSlideHandler=_}else{var S=T(t);b.trackStyle=w(r({},t,{left:S}))}return b},t.getNavigableIndexes=function(e){for(var t=e.infinite?2*e.slideCount:e.slideCount,n=e.infinite?-1*e.slidesToShow:0,r=e.infinite?-1*e.slidesToShow:0,i=[];n<t;)i.push(n),n=r+e.slidesToScroll,r+=Math.min(e.slidesToScroll,e.slidesToShow);return i}),y=t.checkNavigable=function(e,t){var n=m(e),r=0;if(t>n[n.length-1])t=n[n.length-1];else for(var i in n){if(t<n[i]){t=r;break}r=n[i]}return t},v=t.getSlideCount=function(e){var t=e.centerMode?e.slideWidth*Math.floor(e.slidesToShow/2):0;if(e.swipeToSlide){var n=void 0,r=o.default.findDOMNode(e.listRef).querySelectorAll(".slick-slide");if(Array.from(r).every((function(r){if(e.vertical){if(r.offsetTop+p(r)/2>-1*e.swipeLeft)return n=r,!1}else if(r.offsetLeft-t+d(r)/2>-1*e.swipeLeft)return n=r,!1;return!0})),!n)return 0;var i=!0===e.rtl?e.slideCount-e.currentSlide:e.currentSlide;return Math.abs(n.dataset.index-i)||1}return e.slidesToScroll},b=t.checkSpecKeys=function(e,t){return t.reduce((function(t,n){return t&&e.hasOwnProperty(n)}),!0)?null:console.error("Keys Missing:",e)},_=t.getTrackCSS=function(e){b(e,["left","variableWidth","slideCount","slidesToShow","slideWidth"]);var t=void 0,n=void 0,i=e.slideCount+2*e.slidesToShow;e.vertical?n=i*e.slideHeight:t=k(e)*e.slideWidth;var o={opacity:1,transition:"",WebkitTransition:""};if(e.useTransform){var a=e.vertical?"translate3d(0px, "+e.left+"px, 0px)":"translate3d("+e.left+"px, 0px, 0px)",s=e.vertical?"translate3d(0px, "+e.left+"px, 0px)":"translate3d("+e.left+"px, 0px, 0px)",u=e.vertical?"translateY("+e.left+"px)":"translateX("+e.left+"px)";o=r({},o,{WebkitTransform:a,transform:s,msTransform:u})}else e.vertical?o.top=e.left:o.left=e.left;return e.fade&&(o={opacity:1}),t&&(o.width=t),n&&(o.height=n),window&&!window.addEventListener&&window.attachEvent&&(e.vertical?o.marginTop=e.left+"px":o.marginLeft=e.left+"px"),o},w=t.getTrackAnimateCSS=function(e){b(e,["left","variableWidth","slideCount","slidesToShow","slideWidth","speed","cssEase"]);var t=_(e);return e.useTransform?(t.WebkitTransition="-webkit-transform "+e.speed+"ms "+e.cssEase,t.transition="transform "+e.speed+"ms "+e.cssEase):e.vertical?t.transition="top "+e.speed+"ms "+e.cssEase:t.transition="left "+e.speed+"ms "+e.cssEase,t},T=t.getTrackLeft=function(e){if(e.unslick)return 0;b(e,["slideIndex","trackRef","infinite","centerMode","slideCount","slidesToShow","slidesToScroll","slideWidth","listWidth","variableWidth","slideHeight"]);var t,n,r=e.slideIndex,i=e.trackRef,a=e.infinite,s=e.centerMode,u=e.slideCount,c=e.slidesToShow,l=e.slidesToScroll,f=e.slideWidth,d=e.listWidth,p=e.variableWidth,h=e.slideHeight,g=e.fade,m=e.vertical;if(g||1===e.slideCount)return 0;var y=0;if(a?(y=-x(e),u%l!=0&&r+l>u&&(y=-(r>u?c-(r-u):u%l)),s&&(y+=parseInt(c/2))):(u%l!=0&&r+l>u&&(y=c-u%l),s&&(y=parseInt(c/2))),t=m?r*h*-1+y*h:r*f*-1+y*f,!0===p){var v,_=o.default.findDOMNode(i);if(v=r+x(e),t=(n=_&&_.childNodes[v])?-1*n.offsetLeft:0,!0===s){v=a?r+x(e):r,n=_&&_.children[v],t=0;for(var w=0;w<v;w++)t-=_&&_.children[w]&&_.children[w].offsetWidth;t-=parseInt(e.centerPadding),t+=n&&(d-n.offsetWidth)/2}}return t},x=t.getPreClones=function(e){return e.unslick||!e.infinite?0:e.variableWidth?e.slideCount:e.slidesToShow+(e.centerMode?1:0)},S=t.getPostClones=function(e){return e.unslick||!e.infinite?0:e.slideCount},k=t.getTotalSlides=function(e){return 1===e.slideCount?1:x(e)+e.slideCount+S(e)},E=t.siblingDirection=function(e){return e.targetSlide>e.currentSlide?e.targetSlide>e.currentSlide+O(e)?"left":"right":e.targetSlide<e.currentSlide-C(e)?"right":"left"},O=t.slidesOnRight=function(e){var t=e.slidesToShow,n=e.centerMode,r=e.rtl,i=e.centerPadding;if(n){var o=(t-1)/2+1;return parseInt(i)>0&&(o+=1),r&&t%2==0&&(o+=1),o}return r?0:t-1},C=t.slidesOnLeft=function(e){var t=e.slidesToShow,n=e.centerMode,r=e.rtl,i=e.centerPadding;if(n){var o=(t-1)/2+1;return parseInt(i)>0&&(o+=1),r||t%2!=0||(o+=1),o}return r?t-1:0};t.canUseDOM=function(){return!("undefined"==typeof window||!window.document||!window.document.createElement)}},64207:function(e,t,n){"use strict";n.r(t);var r=function(){if("undefined"!=typeof Map)return Map;function e(e,t){var n=-1;return e.some((function(e,r){return e[0]===t&&(n=r,!0)})),n}return function(){function t(){this.__entries__=[]}var n={size:{configurable:!0}};return n.size.get=function(){return this.__entries__.length},t.prototype.get=function(t){var n=e(this.__entries__,t),r=this.__entries__[n];return r&&r[1]},t.prototype.set=function(t,n){var r=e(this.__entries__,t);~r?this.__entries__[r][1]=n:this.__entries__.push([t,n])},t.prototype.delete=function(t){var n=this.__entries__,r=e(n,t);~r&&n.splice(r,1)},t.prototype.has=function(t){return!!~e(this.__entries__,t)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(e,t){void 0===t&&(t=null);for(var n=0,r=this.__entries__;n<r.length;n+=1){var i=r[n];e.call(t,i[1],i[0])}},Object.defineProperties(t.prototype,n),t}()}(),i="undefined"!=typeof window&&"undefined"!=typeof document&&window.document===document,o=void 0!==n.g&&n.g.Math===Math?n.g:"undefined"!=typeof self&&self.Math===Math?self:"undefined"!=typeof window&&window.Math===Math?window:Function("return this")(),a="function"==typeof requestAnimationFrame?requestAnimationFrame.bind(o):function(e){return setTimeout((function(){return e(Date.now())}),1e3/60)},s=["top","right","bottom","left","width","height","size","weight"],u="undefined"!=typeof MutationObserver,c=function(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=function(e,t){var n=!1,r=!1,i=0;function o(){n&&(n=!1,e()),r&&u()}function s(){a(o)}function u(){var e=Date.now();if(n){if(e-i<2)return;r=!0}else n=!0,r=!1,setTimeout(s,t);i=e}return u}(this.refresh.bind(this),20)};c.prototype.addObserver=function(e){~this.observers_.indexOf(e)||this.observers_.push(e),this.connected_||this.connect_()},c.prototype.removeObserver=function(e){var t=this.observers_,n=t.indexOf(e);~n&&t.splice(n,1),!t.length&&this.connected_&&this.disconnect_()},c.prototype.refresh=function(){this.updateObservers_()&&this.refresh()},c.prototype.updateObservers_=function(){var e=this.observers_.filter((function(e){return e.gatherActive(),e.hasActive()}));return e.forEach((function(e){return e.broadcastActive()})),e.length>0},c.prototype.connect_=function(){i&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),u?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},c.prototype.disconnect_=function(){i&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},c.prototype.onTransitionEnd_=function(e){var t=e.propertyName;void 0===t&&(t=""),s.some((function(e){return!!~t.indexOf(e)}))&&this.refresh()},c.getInstance=function(){return this.instance_||(this.instance_=new c),this.instance_},c.instance_=null;var l=function(e,t){for(var n=0,r=Object.keys(t);n<r.length;n+=1){var i=r[n];Object.defineProperty(e,i,{value:t[i],enumerable:!1,writable:!1,configurable:!0})}return e},f=function(e){return e&&e.ownerDocument&&e.ownerDocument.defaultView||o},d=v(0,0,0,0);function p(e){return parseFloat(e)||0}function h(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];return t.reduce((function(t,n){return t+p(e["border-"+n+"-width"])}),0)}function g(e){var t=e.clientWidth,n=e.clientHeight;if(!t&&!n)return d;var r=f(e).getComputedStyle(e),i=function(e){for(var t={},n=0,r=["top","right","bottom","left"];n<r.length;n+=1){var i=r[n],o=e["padding-"+i];t[i]=p(o)}return t}(r),o=i.left+i.right,a=i.top+i.bottom,s=p(r.width),u=p(r.height);if("border-box"===r.boxSizing&&(Math.round(s+o)!==t&&(s-=h(r,"left","right")+o),Math.round(u+a)!==n&&(u-=h(r,"top","bottom")+a)),!function(e){return e===f(e).document.documentElement}(e)){var c=Math.round(s+o)-t,l=Math.round(u+a)-n;1!==Math.abs(c)&&(s-=c),1!==Math.abs(l)&&(u-=l)}return v(i.left,i.top,s,u)}var m="undefined"!=typeof SVGGraphicsElement?function(e){return e instanceof f(e).SVGGraphicsElement}:function(e){return e instanceof f(e).SVGElement&&"function"==typeof e.getBBox};function y(e){return i?m(e)?function(e){var t=e.getBBox();return v(0,0,t.width,t.height)}(e):g(e):d}function v(e,t,n,r){return{x:e,y:t,width:n,height:r}}var b=function(e){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=v(0,0,0,0),this.target=e};b.prototype.isActive=function(){var e=y(this.target);return this.contentRect_=e,e.width!==this.broadcastWidth||e.height!==this.broadcastHeight},b.prototype.broadcastRect=function(){var e=this.contentRect_;return this.broadcastWidth=e.width,this.broadcastHeight=e.height,e};var _=function(e,t){var n,r,i,o,a,s,u,c=(r=(n=t).x,i=n.y,o=n.width,a=n.height,s="undefined"!=typeof DOMRectReadOnly?DOMRectReadOnly:Object,u=Object.create(s.prototype),l(u,{x:r,y:i,width:o,height:a,top:i,right:r+o,bottom:a+i,left:r}),u);l(this,{target:e,contentRect:c})},w=function(e,t,n){if(this.activeObservations_=[],this.observations_=new r,"function"!=typeof e)throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=e,this.controller_=t,this.callbackCtx_=n};w.prototype.observe=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(e instanceof f(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)||(t.set(e,new b(e)),this.controller_.addObserver(this),this.controller_.refresh())}},w.prototype.unobserve=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(e instanceof f(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)&&(t.delete(e),t.size||this.controller_.removeObserver(this))}},w.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},w.prototype.gatherActive=function(){var e=this;this.clearActive(),this.observations_.forEach((function(t){t.isActive()&&e.activeObservations_.push(t)}))},w.prototype.broadcastActive=function(){if(this.hasActive()){var e=this.callbackCtx_,t=this.activeObservations_.map((function(e){return new _(e.target,e.broadcastRect())}));this.callback_.call(e,t,e),this.clearActive()}},w.prototype.clearActive=function(){this.activeObservations_.splice(0)},w.prototype.hasActive=function(){return this.activeObservations_.length>0};var T="undefined"!=typeof WeakMap?new WeakMap:new r,x=function(e){if(!(this instanceof x))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var t=c.getInstance(),n=new w(e,t,this);T.set(this,n)};["observe","unobserve","disconnect"].forEach((function(e){x.prototype[e]=function(){return(t=T.get(this))[e].apply(t,arguments);var t}}));var S=void 0!==o.ResizeObserver?o.ResizeObserver:x;t.default=S},37723:function(e,t,n){"use strict";n.d(t,{Z:function(){return p}});var r=n(87462),i=n(63366),o=n(94578);function a(e,t){return e.replace(new RegExp("(^|\\s)"+t+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}var s=n(28416),u=n.n(s),c=n(12666),l=n(59391),f=function(e,t){return e&&t&&t.split(" ").forEach((function(t){return r=t,void((n=e).classList?n.classList.remove(r):"string"==typeof n.className?n.className=a(n.className,r):n.setAttribute("class",a(n.className&&n.className.baseVal||"",r)));var n,r}))},d=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return(t=e.call.apply(e,[this].concat(r))||this).appliedClasses={appear:{},enter:{},exit:{}},t.onEnter=function(e,n){var r=t.resolveArguments(e,n),i=r[0],o=r[1];t.removeClasses(i,"exit"),t.addClass(i,o?"appear":"enter","base"),t.props.onEnter&&t.props.onEnter(e,n)},t.onEntering=function(e,n){var r=t.resolveArguments(e,n),i=r[0],o=r[1]?"appear":"enter";t.addClass(i,o,"active"),t.props.onEntering&&t.props.onEntering(e,n)},t.onEntered=function(e,n){var r=t.resolveArguments(e,n),i=r[0],o=r[1]?"appear":"enter";t.removeClasses(i,o),t.addClass(i,o,"done"),t.props.onEntered&&t.props.onEntered(e,n)},t.onExit=function(e){var n=t.resolveArguments(e)[0];t.removeClasses(n,"appear"),t.removeClasses(n,"enter"),t.addClass(n,"exit","base"),t.props.onExit&&t.props.onExit(e)},t.onExiting=function(e){var n=t.resolveArguments(e)[0];t.addClass(n,"exit","active"),t.props.onExiting&&t.props.onExiting(e)},t.onExited=function(e){var n=t.resolveArguments(e)[0];t.removeClasses(n,"exit"),t.addClass(n,"exit","done"),t.props.onExited&&t.props.onExited(e)},t.resolveArguments=function(e,n){return t.props.nodeRef?[t.props.nodeRef.current,e]:[e,n]},t.getClassNames=function(e){var n=t.props.classNames,r="string"==typeof n,i=r?""+(r&&n?n+"-":"")+e:n[e];return{baseClassName:i,activeClassName:r?i+"-active":n[e+"Active"],doneClassName:r?i+"-done":n[e+"Done"]}},t}(0,o.Z)(t,e);var n=t.prototype;return n.addClass=function(e,t,n){var r=this.getClassNames(t)[n+"ClassName"],i=this.getClassNames("enter").doneClassName;"appear"===t&&"done"===n&&i&&(r+=" "+i),"active"===n&&e&&(0,l.Q)(e),r&&(this.appliedClasses[t][n]=r,function(e,t){e&&t&&t.split(" ").forEach((function(t){return r=t,void((n=e).classList?n.classList.add(r):function(e,t){return e.classList?!!t&&e.classList.contains(t):-1!==(" "+(e.className.baseVal||e.className)+" ").indexOf(" "+t+" ")}(n,r)||("string"==typeof n.className?n.className=n.className+" "+r:n.setAttribute("class",(n.className&&n.className.baseVal||"")+" "+r)));var n,r}))}(e,r))},n.removeClasses=function(e,t){var n=this.appliedClasses[t],r=n.base,i=n.active,o=n.done;this.appliedClasses[t]={},r&&f(e,r),i&&f(e,i),o&&f(e,o)},n.render=function(){var e=this.props,t=(e.classNames,(0,i.Z)(e,["classNames"]));return u().createElement(c.ZP,(0,r.Z)({},t,{onEnter:this.onEnter,onEntered:this.onEntered,onEntering:this.onEntering,onExit:this.onExit,onExiting:this.onExiting,onExited:this.onExited}))},t}(u().Component);d.defaultProps={classNames:""},d.propTypes={};var p=d},12666:function(e,t,n){"use strict";n.d(t,{ZP:function(){return v}});var r=n(63366),i=n(94578),o=n(28416),a=n.n(o),s=n(73935),u=!1,c=n(220),l=n(59391),f="unmounted",d="exited",p="entering",h="entered",g="exiting",m=function(e){function t(t,n){var r;r=e.call(this,t,n)||this;var i,o=n&&!n.isMounting?t.enter:t.appear;return r.appearStatus=null,t.in?o?(i=d,r.appearStatus=p):i=h:i=t.unmountOnExit||t.mountOnEnter?f:d,r.state={status:i},r.nextCallback=null,r}(0,i.Z)(t,e),t.getDerivedStateFromProps=function(e,t){return e.in&&t.status===f?{status:d}:null};var n=t.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(e){var t=null;if(e!==this.props){var n=this.state.status;this.props.in?n!==p&&n!==h&&(t=p):n!==p&&n!==h||(t=g)}this.updateStatus(!1,t)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var e,t,n,r=this.props.timeout;return e=t=n=r,null!=r&&"number"!=typeof r&&(e=r.exit,t=r.enter,n=void 0!==r.appear?r.appear:t),{exit:e,enter:t,appear:n}},n.updateStatus=function(e,t){if(void 0===e&&(e=!1),null!==t)if(this.cancelNextCallback(),t===p){if(this.props.unmountOnExit||this.props.mountOnEnter){var n=this.props.nodeRef?this.props.nodeRef.current:s.findDOMNode(this);n&&(0,l.Q)(n)}this.performEnter(e)}else this.performExit();else this.props.unmountOnExit&&this.state.status===d&&this.setState({status:f})},n.performEnter=function(e){var t=this,n=this.props.enter,r=this.context?this.context.isMounting:e,i=this.props.nodeRef?[r]:[s.findDOMNode(this),r],o=i[0],a=i[1],c=this.getTimeouts(),l=r?c.appear:c.enter;!e&&!n||u?this.safeSetState({status:h},(function(){t.props.onEntered(o)})):(this.props.onEnter(o,a),this.safeSetState({status:p},(function(){t.props.onEntering(o,a),t.onTransitionEnd(l,(function(){t.safeSetState({status:h},(function(){t.props.onEntered(o,a)}))}))})))},n.performExit=function(){var e=this,t=this.props.exit,n=this.getTimeouts(),r=this.props.nodeRef?void 0:s.findDOMNode(this);t&&!u?(this.props.onExit(r),this.safeSetState({status:g},(function(){e.props.onExiting(r),e.onTransitionEnd(n.exit,(function(){e.safeSetState({status:d},(function(){e.props.onExited(r)}))}))}))):this.safeSetState({status:d},(function(){e.props.onExited(r)}))},n.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},n.setNextCallback=function(e){var t=this,n=!0;return this.nextCallback=function(r){n&&(n=!1,t.nextCallback=null,e(r))},this.nextCallback.cancel=function(){n=!1},this.nextCallback},n.onTransitionEnd=function(e,t){this.setNextCallback(t);var n=this.props.nodeRef?this.props.nodeRef.current:s.findDOMNode(this),r=null==e&&!this.props.addEndListener;if(n&&!r){if(this.props.addEndListener){var i=this.props.nodeRef?[this.nextCallback]:[n,this.nextCallback],o=i[0],a=i[1];this.props.addEndListener(o,a)}null!=e&&setTimeout(this.nextCallback,e)}else setTimeout(this.nextCallback,0)},n.render=function(){var e=this.state.status;if(e===f)return null;var t=this.props,n=t.children,i=(t.in,t.mountOnEnter,t.unmountOnExit,t.appear,t.enter,t.exit,t.timeout,t.addEndListener,t.onEnter,t.onEntering,t.onEntered,t.onExit,t.onExiting,t.onExited,t.nodeRef,(0,r.Z)(t,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]));return a().createElement(c.Z.Provider,{value:null},"function"==typeof n?n(e,i):a().cloneElement(a().Children.only(n),i))},t}(a().Component);function y(){}m.contextType=c.Z,m.propTypes={},m.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:y,onEntering:y,onEntered:y,onExit:y,onExiting:y,onExited:y},m.UNMOUNTED=f,m.EXITED=d,m.ENTERING=p,m.ENTERED=h,m.EXITING=g;var v=m},94537:function(e,t,n){"use strict";n.d(t,{Z:function(){return g}});var r=n(63366),i=n(87462),o=n(97326),a=n(94578),s=n(28416),u=n.n(s),c=n(220);function l(e,t){var n=Object.create(null);return e&&s.Children.map(e,(function(e){return e})).forEach((function(e){n[e.key]=function(e){return t&&(0,s.isValidElement)(e)?t(e):e}(e)})),n}function f(e,t,n){return null!=n[t]?n[t]:e.props[t]}function d(e,t,n){var r=l(e.children),i=function(e,t){function n(n){return n in t?t[n]:e[n]}e=e||{},t=t||{};var r,i=Object.create(null),o=[];for(var a in e)a in t?o.length&&(i[a]=o,o=[]):o.push(a);var s={};for(var u in t){if(i[u])for(r=0;r<i[u].length;r++){var c=i[u][r];s[i[u][r]]=n(c)}s[u]=n(u)}for(r=0;r<o.length;r++)s[o[r]]=n(o[r]);return s}(t,r);return Object.keys(i).forEach((function(o){var a=i[o];if((0,s.isValidElement)(a)){var u=o in t,c=o in r,l=t[o],d=(0,s.isValidElement)(l)&&!l.props.in;!c||u&&!d?c||!u||d?c&&u&&(0,s.isValidElement)(l)&&(i[o]=(0,s.cloneElement)(a,{onExited:n.bind(null,a),in:l.props.in,exit:f(a,"exit",e),enter:f(a,"enter",e)})):i[o]=(0,s.cloneElement)(a,{in:!1}):i[o]=(0,s.cloneElement)(a,{onExited:n.bind(null,a),in:!0,exit:f(a,"exit",e),enter:f(a,"enter",e)})}})),i}var p=Object.values||function(e){return Object.keys(e).map((function(t){return e[t]}))},h=function(e){function t(t,n){var r,i=(r=e.call(this,t,n)||this).handleExited.bind((0,o.Z)(r));return r.state={contextValue:{isMounting:!0},handleExited:i,firstRender:!0},r}(0,a.Z)(t,e);var n=t.prototype;return n.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},n.componentWillUnmount=function(){this.mounted=!1},t.getDerivedStateFromProps=function(e,t){var n,r,i=t.children,o=t.handleExited;return{children:t.firstRender?(n=e,r=o,l(n.children,(function(e){return(0,s.cloneElement)(e,{onExited:r.bind(null,e),in:!0,appear:f(e,"appear",n),enter:f(e,"enter",n),exit:f(e,"exit",n)})}))):d(e,i,o),firstRender:!1}},n.handleExited=function(e,t){var n=l(this.props.children);e.key in n||(e.props.onExited&&e.props.onExited(t),this.mounted&&this.setState((function(t){var n=(0,i.Z)({},t.children);return delete n[e.key],{children:n}})))},n.render=function(){var e=this.props,t=e.component,n=e.childFactory,i=(0,r.Z)(e,["component","childFactory"]),o=this.state.contextValue,a=p(this.state.children).map(n);return delete i.appear,delete i.enter,delete i.exit,null===t?u().createElement(c.Z.Provider,{value:o},a):u().createElement(c.Z.Provider,{value:o},u().createElement(t,i,a))},t}(u().Component);h.propTypes={},h.defaultProps={component:"div",childFactory:function(e){return e}};var g=h},220:function(e,t,n){"use strict";var r=n(28416),i=n.n(r);t.Z=i().createContext(null)},59391:function(e,t,n){"use strict";n.d(t,{Q:function(){return r}});var r=function(e){return e.scrollTop}},18127:function(e,t,n){"use strict";var r=n(28416);t.Z=function(e){(0,r.useEffect)(e,[])}},97809:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=n(28416),i="object"==typeof window,o=(n(38252),i?window:null),a=function(e){return!!e.addEventListener},s=function(e){return!!e.on},u=function(e,t,n,i){void 0===n&&(n=o),(0,r.useEffect)((function(){if(t&&n)return a(n)?n.addEventListener(e,t,i):s(n)&&n.on(e,t,i),function(){a(n)?n.removeEventListener(e,t,i):s(n)&&n.off(e,t,i)}}),[e,t,n,JSON.stringify(i)])}},30644:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(28416);function i(){var e=(0,r.useRef)(!0);return e.current?(e.current=!1,!0):e.current}},80621:function(e,t,n){"use strict";var r=n(28416);t.Z=function(e,t){var n=(0,r.useState)(null),i=n[0],o=n[1];return(0,r.useEffect)((function(){if(e.current&&"function"==typeof IntersectionObserver){var n=new IntersectionObserver((function(e){o(e[0])}),t);return n.observe(e.current),function(){o(null),n.disconnect()}}return function(){}}),[e.current,t.threshold,t.root,t.rootMargin]),i}},38477:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(28416),i=n(97809),o=function(){},a=function(e,t,n,a){void 0===t&&(t=o),void 0===n&&(n={}),void 0===a&&(a=[e]);var s=n.event,u=void 0===s?"keydown":s,c=n.target,l=n.options,f=(0,r.useMemo)((function(){var n,r="function"==typeof(n=e)?n:"string"==typeof n?function(e){return e.key===n}:n?function(){return!0}:function(){return!1};return function(e){if(r(e))return t(e)}}),a);(0,i.Z)(u,f,c,l)},s=function(e){var t=(0,r.useState)([!1,null]),n=t[0],i=t[1];return a(e,(function(e){return i([!0,e])}),{event:"keydown"},[n]),a(e,(function(e){return i([!1,e])}),{event:"keyup"},[n]),n},u=n(30644),c=function(e,t){var n=(0,u.Z)();(0,r.useEffect)((function(){if(!n)return e()}),t)},l=function(e,t,n,r){void 0===r&&(r=s);var i=r(e),o=i[0],a=i[1];c((function(){!o&&n?n(a):o&&t&&t(a)}),[o])}},74753:function(e,t,n){"use strict";var r=n(28416);t.Z=function(e,t){(0,r.useEffect)((function(){return e&&e(),function(){t&&t()}}),[])}},89048:function(e,t,n){"use strict";var r=n(18127);t.Z=function(e){(0,r.Z)((function(){e()}))}},37176:function(e,t,n){"use strict";var r=n(28416);t.Z=function(e){var t=(0,r.useRef)();return(0,r.useEffect)((function(){t.current=e})),t.current}},15451:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(99376),i=n(28416),o=function(e,t,n){var r=(0,i.useRef)(void 0);r.current&&n(t,r.current)||(r.current=t),(0,i.useEffect)(e,r.current)},a=function(e,t){return e.every((function(e,n){return(0,r.D)(e,t[n])}))},s=function(e,t){o(e,t,a)}},14428:function(e,t,n){"use strict";var r=n(28416),i={restoreOnUnmount:!1};t.Z="undefined"!=typeof document?function(e,t){void 0===t&&(t=i);var n=(0,r.useRef)(document.title);document.title=e,(0,r.useEffect)((function(){return t&&t.restoreOnUnmount?function(){document.title=n.current}:void 0}),[])}:function(e){}},77823:function(e,t,n){"use strict";var r=n(28416),i=n(18127);t.Z=function(e){var t=(0,r.useRef)(e);t.current=e,(0,i.Z)((function(){return function(){return t.current()}}))}},16713:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(28416);t.default=function(e){r.useEffect(e,[])}},73969:function(e,t,n){"use strict";var r=n(28416),i=n(85987).isClient?window:null,o=function(e){return!!e.addEventListener},a=function(e){return!!e.on};t.Z=function(e,t,n,s){void 0===n&&(n=i),r.useEffect((function(){if(t&&n)return o(n)?n.addEventListener(e,t,s):a(n)&&n.on(e,t,s),function(){o(n)?n.removeEventListener(e,t,s):a(n)&&n.off(e,t,s)}}),[e,t,n,JSON.stringify(s)])}},70902:function(e,t,n){"use strict";var r=n(5272).__importDefault(n(16713));t.Z=function(e){r.default((function(){e()}))}},68434:function(e,t,n){"use strict";var r=n(28416);t.Z=function(e){var t=r.useRef();return r.useEffect((function(){t.current=e})),t.current}},85987:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isClient="object"==typeof window,t.on=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return e.addEventListener.apply(e,t)},t.off=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return e.removeEventListener.apply(e,t)},t.isDeepEqual=n(38252)},5272:function(e,t,n){"use strict";n.r(t),n.d(t,{__assign:function(){return o},__asyncDelegator:function(){return b},__asyncGenerator:function(){return v},__asyncValues:function(){return _},__await:function(){return y},__awaiter:function(){return l},__classPrivateFieldGet:function(){return S},__classPrivateFieldSet:function(){return k},__decorate:function(){return s},__exportStar:function(){return d},__extends:function(){return i},__generator:function(){return f},__importDefault:function(){return x},__importStar:function(){return T},__makeTemplateObject:function(){return w},__metadata:function(){return c},__param:function(){return u},__read:function(){return h},__rest:function(){return a},__spread:function(){return g},__spreadArrays:function(){return m},__values:function(){return p}});var r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},r(e,t)};function i(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var o=function(){return o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},o.apply(this,arguments)};function a(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n}function s(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a}function u(e,t){return function(n,r){t(n,r,e)}}function c(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}function l(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{u(r.next(e))}catch(e){o(e)}}function s(e){try{u(r.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}u((r=r.apply(e,t||[])).next())}))}function f(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(i=a.trys,(i=i.length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}}function d(e,t){for(var n in e)t.hasOwnProperty(n)||(t[n]=e[n])}function p(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function h(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)a.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a}function g(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(h(arguments[t]));return e}function m(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var r=Array(e),i=0;for(t=0;t<n;t++)for(var o=arguments[t],a=0,s=o.length;a<s;a++,i++)r[i]=o[a];return r}function y(e){return this instanceof y?(this.v=e,this):new y(e)}function v(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,i=n.apply(e,t||[]),o=[];return r={},a("next"),a("throw"),a("return"),r[Symbol.asyncIterator]=function(){return this},r;function a(e){i[e]&&(r[e]=function(t){return new Promise((function(n,r){o.push([e,t,n,r])>1||s(e,t)}))})}function s(e,t){try{(n=i[e](t)).value instanceof y?Promise.resolve(n.value.v).then(u,c):l(o[0][2],n)}catch(e){l(o[0][3],e)}var n}function u(e){s("next",e)}function c(e){s("throw",e)}function l(e,t){e(t),o.shift(),o.length&&s(o[0][0],o[0][1])}}function b(e){var t,n;return t={},r("next"),r("throw",(function(e){throw e})),r("return"),t[Symbol.iterator]=function(){return this},t;function r(r,i){t[r]=e[r]?function(t){return(n=!n)?{value:y(e[r](t)),done:"return"===r}:i?i(t):t}:i}}function _(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=p(e),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(n){t[n]=e[n]&&function(t){return new Promise((function(r,i){(function(e,t,n,r){Promise.resolve(r).then((function(t){e({value:t,done:n})}),t)})(r,i,(t=e[n](t)).done,t.value)}))}}}function w(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}function T(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function x(e){return e&&e.__esModule?e:{default:e}}function S(e,t){if(!t.has(e))throw new TypeError("attempted to get private field on non-instance");return t.get(e)}function k(e,t,n){if(!t.has(e))throw new TypeError("attempted to set private field on non-instance");return t.set(e,n),n}},80533:function(e,t,n){"use strict";n.d(t,{Z:function(){return O}});var r=n(28416),i=n.n(r),o=!("undefined"==typeof window||!window.document||!window.document.createElement);var a=void 0;function s(){return void 0===a&&(a=function(){if(!o)return!1;if(!window.addEventListener||!window.removeEventListener||!Object.defineProperty)return!1;var e=!1;try{var t=Object.defineProperty({},"passive",{get:function(){e=!0}}),n=function(){};window.addEventListener("testPassiveEventSupport",n,t),window.removeEventListener("testPassiveEventSupport",n,t)}catch(e){}return e}()),a}function u(e){e.handlers===e.nextHandlers&&(e.nextHandlers=e.handlers.slice())}function c(e){this.target=e,this.events={}}c.prototype.getEventHandlers=function(e,t){var n,r=String(e)+" "+String((n=t)?!0===n?100:(n.capture<<0)+(n.passive<<1)+(n.once<<2):0);return this.events[r]||(this.events[r]={handlers:[],handleEvent:void 0},this.events[r].nextHandlers=this.events[r].handlers),this.events[r]},c.prototype.handleEvent=function(e,t,n){var r=this.getEventHandlers(e,t);r.handlers=r.nextHandlers,r.handlers.forEach((function(e){e&&e(n)}))},c.prototype.add=function(e,t,n){var r=this,i=this.getEventHandlers(e,n);u(i),0===i.nextHandlers.length&&(i.handleEvent=this.handleEvent.bind(this,e,n),this.target.addEventListener(e,i.handleEvent,n)),i.nextHandlers.push(t);var o=!0;return function(){if(o){o=!1,u(i);var a=i.nextHandlers.indexOf(t);i.nextHandlers.splice(a,1),0===i.nextHandlers.length&&(r.target&&r.target.removeEventListener(e,i.handleEvent,n),i.handleEvent=void 0)}}};var l="__consolidated_events_handlers__";function f(e,t,n,r){e[l]||(e[l]=new c(e));var i=function(e){if(e)return s()?e:!!e.capture}(r);return e[l].add(t,n,i)}var d=n(98022),p=n.n(d);function h(e,t){var n,r=(n=e,!isNaN(parseFloat(n))&&isFinite(n)?parseFloat(n):"px"===n.slice(-2)?parseFloat(n.slice(0,-2)):void 0);if("number"==typeof r)return r;var i=function(e){if("%"===e.slice(-1))return parseFloat(e.slice(0,-1))/100}(e);return"number"==typeof i?i*t:void 0}var g="above",m="inside",y="below",v="invisible";function b(e){if(e)try{i().Children.only(e)}catch(e){throw new Error("<Waypoint> expected to receive a single React element child.\n\nSee https://goo.gl/LrBNgw for more info.")}}function _(e){return"string"==typeof e.type}var w=void 0,T=[];function x(e){T.push(e),w||(w=setTimeout((function(){w=null;for(var e=void 0;e=T.shift();)e()}),0));var t=!0;return function(){if(t){t=!1;var n=T.indexOf(e);-1!==n&&(T.splice(n,1),!T.length&&w&&(clearTimeout(w),w=null))}}}var S=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();var k={topOffset:"0px",bottomOffset:"0px",horizontal:!1,onEnter:function(){},onLeave:function(){},onPositionChange:function(){},fireOnRapidScroll:!0},E=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.refElement=function(e){return n._ref=e},n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),S(t,[{key:"componentWillMount",value:function(){b(this.props.children)}},{key:"componentDidMount",value:function(){var e=this;t.getWindow()&&(this.cancelOnNextTick=x((function(){e.cancelOnNextTick=null,function(e,t){if(e&&!_(e)&&!t)throw new Error("<Waypoint> needs a DOM element to compute boundaries. The child you passed is neither a DOM element (e.g. <div>) nor does it use the innerRef prop.\n\nSee https://goo.gl/LrBNgw for more info.")}(e.props.children,e._ref),e._handleScroll=e._handleScroll.bind(e),e.scrollableAncestor=e._findScrollableAncestor(),e.scrollEventListenerUnsubscribe=f(e.scrollableAncestor,"scroll",e._handleScroll,{passive:!0}),e.resizeEventListenerUnsubscribe=f(window,"resize",e._handleScroll,{passive:!0}),e._handleScroll(null)})))}},{key:"componentWillReceiveProps",value:function(e){b(e.children)}},{key:"componentDidUpdate",value:function(){var e=this;t.getWindow()&&this.scrollableAncestor&&(this.cancelOnNextTick||(this.cancelOnNextTick=x((function(){e.cancelOnNextTick=null,e._handleScroll(null)}))))}},{key:"componentWillUnmount",value:function(){t.getWindow()&&(this.scrollEventListenerUnsubscribe&&this.scrollEventListenerUnsubscribe(),this.resizeEventListenerUnsubscribe&&this.resizeEventListenerUnsubscribe(),this.cancelOnNextTick&&this.cancelOnNextTick())}},{key:"_findScrollableAncestor",value:function(){var e=this.props,t=e.horizontal,r=e.scrollableAncestor;if(r)return function(e){return"window"===e?n.g.window:e}(r);for(var i=this._ref;i.parentNode;){if((i=i.parentNode)===document.body)return window;var o=window.getComputedStyle(i),a=(t?o.getPropertyValue("overflow-x"):o.getPropertyValue("overflow-y"))||o.getPropertyValue("overflow");if("auto"===a||"scroll"===a)return i}return window}},{key:"_handleScroll",value:function(e){if(this._ref){var t=this._getBounds(),n=function(e){return e.viewportBottom-e.viewportTop==0?v:e.viewportTop<=e.waypointTop&&e.waypointTop<=e.viewportBottom||e.viewportTop<=e.waypointBottom&&e.waypointBottom<=e.viewportBottom||e.waypointTop<=e.viewportTop&&e.viewportBottom<=e.waypointBottom?m:e.viewportBottom<e.waypointTop?y:e.waypointTop<e.viewportTop?g:v}(t),r=this._previousPosition;if(this._previousPosition=n,r!==n){var i={currentPosition:n,previousPosition:r,event:e,waypointTop:t.waypointTop,waypointBottom:t.waypointBottom,viewportTop:t.viewportTop,viewportBottom:t.viewportBottom};this.props.onPositionChange.call(this,i),n===m?this.props.onEnter.call(this,i):r===m&&this.props.onLeave.call(this,i);var o=r===y&&n===g,a=r===g&&n===y;this.props.fireOnRapidScroll&&(o||a)&&(this.props.onEnter.call(this,{currentPosition:m,previousPosition:r,event:e,waypointTop:t.waypointTop,waypointBottom:t.waypointBottom,viewportTop:t.viewportTop,viewportBottom:t.viewportBottom}),this.props.onLeave.call(this,{currentPosition:n,previousPosition:m,event:e,waypointTop:t.waypointTop,waypointBottom:t.waypointBottom,viewportTop:t.viewportTop,viewportBottom:t.viewportBottom}))}}}},{key:"_getBounds",value:function(){var e=this.props.horizontal,t=this._ref.getBoundingClientRect(),n=t.left,r=t.top,i=t.right,o=t.bottom,a=e?n:r,s=e?i:o,u=void 0,c=void 0;this.scrollableAncestor===window?(u=e?window.innerWidth:window.innerHeight,c=0):(u=e?this.scrollableAncestor.offsetWidth:this.scrollableAncestor.offsetHeight,c=e?this.scrollableAncestor.getBoundingClientRect().left:this.scrollableAncestor.getBoundingClientRect().top);var l=this.props,f=l.bottomOffset;return{waypointTop:a,waypointBottom:s,viewportTop:c+h(l.topOffset,u),viewportBottom:c+u-h(f,u)}}},{key:"render",value:function(){var e=this,t=this.props.children;if(!t)return i().createElement("span",{ref:this.refElement,style:{fontSize:0}});if(_(t)){var n=function(n){e.refElement(n),t.ref&&t.ref(n)};return i().cloneElement(t,{ref:n})}return i().cloneElement(t,{innerRef:this.refElement})}}]),t}(void 0!==i().PureComponent?i().PureComponent:i().Component);E.propTypes={children:p().node,debug:p().bool,onEnter:p().func,onLeave:p().func,onPositionChange:p().func,fireOnRapidScroll:p().bool,scrollableAncestor:p().any,horizontal:p().bool,topOffset:p().oneOfType([p().string,p().number]),bottomOffset:p().oneOfType([p().string,p().number])},E.above=g,E.below=y,E.inside=m,E.invisible=v,E.getWindow=function(){if("undefined"!=typeof window)return window},E.defaultProps=k,E.displayName="Waypoint";var O=E},65700:function(e){"use strict";function t(e){return function(){return e}}var n=function(){};n.thatReturns=t,n.thatReturnsFalse=t(!1),n.thatReturnsTrue=t(!0),n.thatReturnsNull=t(null),n.thatReturnsThis=function(){return this},n.thatReturnsArgument=function(e){return e},e.exports=n},82165:function(e){"use strict";e.exports=function(e,t,n,r,i,o,a,s){if(!e){var u;if(void 0===t)u=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[n,r,i,o,a,s],l=0;(u=new Error(t.replace(/%s/g,(function(){return c[l++]})))).name="Invariant Violation"}throw u.framesToPop=1,u}}},17635:function(e,t,n){"use strict";var r=n(65700),i=n(82165),o=n(36684);e.exports=function(){function e(e,t,n,r,a,s){s!==o&&i(!1,"Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types")}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t};return n.checkPropTypes=r,n.PropTypes=n,n}},98022:function(e,t,n){e.exports=n(17635)()},36684:function(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},38439:function(e,t,n){"use strict";e.exports=n(60698)},60698:function(e,t,n){"use strict";t.default=void 0;var r=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var r=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,n):{};r.get||r.set?Object.defineProperty(t,n,r):t[n]=e[n]}return t.default=e,t}(n(28416));function i(){return i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i.apply(this,arguments)}var o=function(e){var t=function(t,n){return r.default.createElement(e,i({},t,{forwardedRef:n}))},n=e.displayName||e.name;return t.displayName="withForwardedRef(".concat(n,")"),(0,r.forwardRef)(t)};t.default=o},89524:function(e){e.exports=function(e){return function(t){return function(n){n&&"function"==typeof n.fork?n.fork(e.dispatch,e.dispatch):t(n)}}}},43372:function(e,t,n){"use strict";var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};var i=n(70936);var o,a=(o="function",function(e){return(void 0===e?"undefined":(t=e)&&"undefined"!=typeof Symbol&&t.constructor===Symbol?"symbol":typeof t)===o;var t});t.Z=function(e){return function(t){var n=t.dispatch,o=function(t){return t&&a(t[e])};return function(t){return function(a){return(0,i.isFSA)(a)?o(a.payload)?n(r({},a,{payload:a.payload[e]()})):t(a):o(a)?n(a[e]()):t(a)}}}}},97196:function(e,t,n){"use strict";t.__esModule=!0;var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t.default=function(e){var t=e.dispatch;return function(e){return function(n){return i.isFSA(n)?o(n.payload)?n.payload.then((function(e){return t(r({},n,{payload:e}))}),(function(e){return t(r({},n,{payload:e,error:!0}))})):e(n):o(n)?n.then(t):e(n)}}};var i=n(70936);function o(e){return e&&"function"==typeof e.then}e.exports=t.default},59681:function(e,t){"use strict";function n(e){return function(t){var n=t.dispatch,r=t.getState;return function(t){return function(i){return"function"==typeof i?i(n,r,e):t(i)}}}}var r=n();r.withExtraArgument=n,t.Z=r},97779:function(e,t,n){"use strict";n.d(t,{md:function(){return h},UY:function(){return d},MT:function(){return f}});var r=n(4942);function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?i(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function a(e){return"Minified Redux error #"+e+"; visit https://redux.js.org/Errors?code="+e+" for the full message or use the non-minified dev environment for full errors. "}var s="function"==typeof Symbol&&Symbol.observable||"@@observable",u=function(){return Math.random().toString(36).substring(7).split("").join(".")},c={INIT:"@@redux/INIT"+u(),REPLACE:"@@redux/REPLACE"+u(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+u()}};function l(e){if("object"!=typeof e||null===e)return!1;for(var t=e;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function f(e,t,n){var r;if("function"==typeof t&&"function"==typeof n||"function"==typeof n&&"function"==typeof arguments[3])throw new Error(a(0));if("function"==typeof t&&void 0===n&&(n=t,t=void 0),void 0!==n){if("function"!=typeof n)throw new Error(a(1));return n(f)(e,t)}if("function"!=typeof e)throw new Error(a(2));var i=e,o=t,u=[],d=u,p=!1;function h(){d===u&&(d=u.slice())}function g(){if(p)throw new Error(a(3));return o}function m(e){if("function"!=typeof e)throw new Error(a(4));if(p)throw new Error(a(5));var t=!0;return h(),d.push(e),function(){if(t){if(p)throw new Error(a(6));t=!1,h();var n=d.indexOf(e);d.splice(n,1),u=null}}}function y(e){if(!l(e))throw new Error(a(7));if(void 0===e.type)throw new Error(a(8));if(p)throw new Error(a(9));try{p=!0,o=i(o,e)}finally{p=!1}for(var t=u=d,n=0;n<t.length;n++){(0,t[n])()}return e}function v(e){if("function"!=typeof e)throw new Error(a(10));i=e,y({type:c.REPLACE})}function b(){var e,t=m;return(e={subscribe:function(e){if("object"!=typeof e||null===e)throw new Error(a(11));function n(){e.next&&e.next(g())}return n(),{unsubscribe:t(n)}}})[s]=function(){return this},e}return y({type:c.INIT}),(r={dispatch:y,subscribe:m,getState:g,replaceReducer:v})[s]=b,r}function d(e){for(var t=Object.keys(e),n={},r=0;r<t.length;r++){var i=t[r];0,"function"==typeof e[i]&&(n[i]=e[i])}var o,s=Object.keys(n);try{!function(e){Object.keys(e).forEach((function(t){var n=e[t];if(void 0===n(void 0,{type:c.INIT}))throw new Error(a(12));if(void 0===n(void 0,{type:c.PROBE_UNKNOWN_ACTION()}))throw new Error(a(13))}))}(n)}catch(e){o=e}return function(e,t){if(void 0===e&&(e={}),o)throw o;for(var r=!1,i={},u=0;u<s.length;u++){var c=s[u],l=n[c],f=e[c],d=l(f,t);if(void 0===d){t&&t.type;throw new Error(a(14))}i[c]=d,r=r||d!==f}return(r=r||s.length!==Object.keys(e).length)?i:e}}function p(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return 0===t.length?function(e){return e}:1===t.length?t[0]:t.reduce((function(e,t){return function(){return e(t.apply(void 0,arguments))}}))}function h(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){return function(){var n=e.apply(void 0,arguments),r=function(){throw new Error(a(15))},i={getState:n.getState,dispatch:function(){return r.apply(void 0,arguments)}},s=t.map((function(e){return e(i)}));return r=p.apply(void 0,s)(n.dispatch),o(o({},n),{},{dispatch:r})}}}},35666:function(e){var t=function(e){"use strict";var t,n=Object.prototype,r=n.hasOwnProperty,i="function"==typeof Symbol?Symbol:{},o=i.iterator||"@@iterator",a=i.asyncIterator||"@@asyncIterator",s=i.toStringTag||"@@toStringTag";function u(e,t,n,r){var i=t&&t.prototype instanceof g?t:g,o=Object.create(i.prototype),a=new O(r||[]);return o._invoke=function(e,t,n){var r=l;return function(i,o){if(r===d)throw new Error("Generator is already running");if(r===p){if("throw"===i)throw o;return L()}for(n.method=i,n.arg=o;;){var a=n.delegate;if(a){var s=S(a,n);if(s){if(s===h)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(r===l)throw r=p,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=d;var u=c(e,t,n);if("normal"===u.type){if(r=n.done?p:f,u.arg===h)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(r=p,n.method="throw",n.arg=u.arg)}}}(e,n,a),o}function c(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}e.wrap=u;var l="suspendedStart",f="suspendedYield",d="executing",p="completed",h={};function g(){}function m(){}function y(){}var v={};v[o]=function(){return this};var b=Object.getPrototypeOf,_=b&&b(b(C([])));_&&_!==n&&r.call(_,o)&&(v=_);var w=y.prototype=g.prototype=Object.create(v);function T(e){["next","throw","return"].forEach((function(t){e[t]=function(e){return this._invoke(t,e)}}))}function x(e){function t(n,i,o,a){var s=c(e[n],e,i);if("throw"!==s.type){var u=s.arg,l=u.value;return l&&"object"==typeof l&&r.call(l,"__await")?Promise.resolve(l.__await).then((function(e){t("next",e,o,a)}),(function(e){t("throw",e,o,a)})):Promise.resolve(l).then((function(e){u.value=e,o(u)}),(function(e){return t("throw",e,o,a)}))}a(s.arg)}var n;this._invoke=function(e,r){function i(){return new Promise((function(n,i){t(e,r,n,i)}))}return n=n?n.then(i,i):i()}}function S(e,n){var r=e.iterator[n.method];if(r===t){if(n.delegate=null,"throw"===n.method){if(e.iterator.return&&(n.method="return",n.arg=t,S(e,n),"throw"===n.method))return h;n.method="throw",n.arg=new TypeError("The iterator does not provide a 'throw' method")}return h}var i=c(r,e.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,h;var o=i.arg;return o?o.done?(n[e.resultName]=o.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,h):o:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,h)}function k(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function E(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function O(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(k,this),this.reset(!0)}function C(e){if(e){var n=e[o];if(n)return n.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var i=-1,a=function n(){for(;++i<e.length;)if(r.call(e,i))return n.value=e[i],n.done=!1,n;return n.value=t,n.done=!0,n};return a.next=a}}return{next:L}}function L(){return{value:t,done:!0}}return m.prototype=w.constructor=y,y.constructor=m,y[s]=m.displayName="GeneratorFunction",e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===m||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,y):(e.__proto__=y,s in e||(e[s]="GeneratorFunction")),e.prototype=Object.create(w),e},e.awrap=function(e){return{__await:e}},T(x.prototype),x.prototype[a]=function(){return this},e.AsyncIterator=x,e.async=function(t,n,r,i){var o=new x(u(t,n,r,i));return e.isGeneratorFunction(n)?o:o.next().then((function(e){return e.done?e.value:o.next()}))},T(w),w[s]="Generator",w[o]=function(){return this},w.toString=function(){return"[object Generator]"},e.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var r=t.pop();if(r in e)return n.value=r,n.done=!1,n}return n.done=!0,n}},e.values=C,O.prototype={constructor:O,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(E),!e)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=t)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var n=this;function i(r,i){return s.type="throw",s.arg=e,n.next=r,i&&(n.method="next",n.arg=t),!!i}for(var o=this.tryEntries.length-1;o>=0;--o){var a=this.tryEntries[o],s=a.completion;if("root"===a.tryLoc)return i("end");if(a.tryLoc<=this.prev){var u=r.call(a,"catchLoc"),c=r.call(a,"finallyLoc");if(u&&c){if(this.prev<a.catchLoc)return i(a.catchLoc,!0);if(this.prev<a.finallyLoc)return i(a.finallyLoc)}else if(u){if(this.prev<a.catchLoc)return i(a.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return i(a.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var i=this.tryEntries[n];if(i.tryLoc<=this.prev&&r.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var o=i;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=e,a.arg=t,o?(this.method="next",this.next=o.finallyLoc,h):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),h},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),E(n),h}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var i=r.arg;E(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:C(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),h}},e}(e.exports);try{regeneratorRuntime=t}catch(e){Function("r","regeneratorRuntime = r")(t)}},22222:function(e,t,n){"use strict";function r(e,t){return e===t}function i(e,t,n){if(null===t||null===n||t.length!==n.length)return!1;for(var r=t.length,i=0;i<r;i++)if(!e(t[i],n[i]))return!1;return!0}function o(e){var t=Array.isArray(e[0])?e[0]:e;if(!t.every((function(e){return"function"==typeof e}))){var n=t.map((function(e){return typeof e})).join(", ");throw new Error("Selector creators expect all input-selectors to be functions, instead received the following types: ["+n+"]")}return t}n.d(t,{P1:function(){return a}});var a=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return function(){for(var t=arguments.length,r=Array(t),i=0;i<t;i++)r[i]=arguments[i];var a=0,s=r.pop(),u=o(r),c=e.apply(void 0,[function(){return a++,s.apply(null,arguments)}].concat(n)),l=e((function(){for(var e=[],t=u.length,n=0;n<t;n++)e.push(u[n].apply(null,arguments));return c.apply(null,e)}));return l.resultFunc=s,l.dependencies=u,l.recomputations=function(){return a},l.resetRecomputations=function(){return a=0},l}}((function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:r,n=null,o=null;return function(){return i(t,n,arguments)||(o=e.apply(null,arguments)),n=arguments,o}}))},91033:function(e,t,n){"use strict";var r=function(){if("undefined"!=typeof Map)return Map;function e(e,t){var n=-1;return e.some((function(e,r){return e[0]===t&&(n=r,!0)})),n}return function(){function t(){this.__entries__=[]}return Object.defineProperty(t.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),t.prototype.get=function(t){var n=e(this.__entries__,t),r=this.__entries__[n];return r&&r[1]},t.prototype.set=function(t,n){var r=e(this.__entries__,t);~r?this.__entries__[r][1]=n:this.__entries__.push([t,n])},t.prototype.delete=function(t){var n=this.__entries__,r=e(n,t);~r&&n.splice(r,1)},t.prototype.has=function(t){return!!~e(this.__entries__,t)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(e,t){void 0===t&&(t=null);for(var n=0,r=this.__entries__;n<r.length;n++){var i=r[n];e.call(t,i[1],i[0])}},t}()}(),i="undefined"!=typeof window&&"undefined"!=typeof document&&window.document===document,o=void 0!==n.g&&n.g.Math===Math?n.g:"undefined"!=typeof self&&self.Math===Math?self:"undefined"!=typeof window&&window.Math===Math?window:Function("return this")(),a="function"==typeof requestAnimationFrame?requestAnimationFrame.bind(o):function(e){return setTimeout((function(){return e(Date.now())}),1e3/60)};var s=["top","right","bottom","left","width","height","size","weight"],u="undefined"!=typeof MutationObserver,c=function(){function e(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=function(e,t){var n=!1,r=!1,i=0;function o(){n&&(n=!1,e()),r&&u()}function s(){a(o)}function u(){var e=Date.now();if(n){if(e-i<2)return;r=!0}else n=!0,r=!1,setTimeout(s,t);i=e}return u}(this.refresh.bind(this),20)}return e.prototype.addObserver=function(e){~this.observers_.indexOf(e)||this.observers_.push(e),this.connected_||this.connect_()},e.prototype.removeObserver=function(e){var t=this.observers_,n=t.indexOf(e);~n&&t.splice(n,1),!t.length&&this.connected_&&this.disconnect_()},e.prototype.refresh=function(){this.updateObservers_()&&this.refresh()},e.prototype.updateObservers_=function(){var e=this.observers_.filter((function(e){return e.gatherActive(),e.hasActive()}));return e.forEach((function(e){return e.broadcastActive()})),e.length>0},e.prototype.connect_=function(){i&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),u?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},e.prototype.disconnect_=function(){i&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},e.prototype.onTransitionEnd_=function(e){var t=e.propertyName,n=void 0===t?"":t;s.some((function(e){return!!~n.indexOf(e)}))&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=new e),this.instance_},e.instance_=null,e}(),l=function(e,t){for(var n=0,r=Object.keys(t);n<r.length;n++){var i=r[n];Object.defineProperty(e,i,{value:t[i],enumerable:!1,writable:!1,configurable:!0})}return e},f=function(e){return e&&e.ownerDocument&&e.ownerDocument.defaultView||o},d=v(0,0,0,0);function p(e){return parseFloat(e)||0}function h(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return t.reduce((function(t,n){return t+p(e["border-"+n+"-width"])}),0)}function g(e){var t=e.clientWidth,n=e.clientHeight;if(!t&&!n)return d;var r=f(e).getComputedStyle(e),i=function(e){for(var t={},n=0,r=["top","right","bottom","left"];n<r.length;n++){var i=r[n],o=e["padding-"+i];t[i]=p(o)}return t}(r),o=i.left+i.right,a=i.top+i.bottom,s=p(r.width),u=p(r.height);if("border-box"===r.boxSizing&&(Math.round(s+o)!==t&&(s-=h(r,"left","right")+o),Math.round(u+a)!==n&&(u-=h(r,"top","bottom")+a)),!function(e){return e===f(e).document.documentElement}(e)){var c=Math.round(s+o)-t,l=Math.round(u+a)-n;1!==Math.abs(c)&&(s-=c),1!==Math.abs(l)&&(u-=l)}return v(i.left,i.top,s,u)}var m="undefined"!=typeof SVGGraphicsElement?function(e){return e instanceof f(e).SVGGraphicsElement}:function(e){return e instanceof f(e).SVGElement&&"function"==typeof e.getBBox};function y(e){return i?m(e)?function(e){var t=e.getBBox();return v(0,0,t.width,t.height)}(e):g(e):d}function v(e,t,n,r){return{x:e,y:t,width:n,height:r}}var b=function(){function e(e){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=v(0,0,0,0),this.target=e}return e.prototype.isActive=function(){var e=y(this.target);return this.contentRect_=e,e.width!==this.broadcastWidth||e.height!==this.broadcastHeight},e.prototype.broadcastRect=function(){var e=this.contentRect_;return this.broadcastWidth=e.width,this.broadcastHeight=e.height,e},e}(),_=function(e,t){var n,r,i,o,a,s,u,c=(r=(n=t).x,i=n.y,o=n.width,a=n.height,s="undefined"!=typeof DOMRectReadOnly?DOMRectReadOnly:Object,u=Object.create(s.prototype),l(u,{x:r,y:i,width:o,height:a,top:i,right:r+o,bottom:a+i,left:r}),u);l(this,{target:e,contentRect:c})},w=function(){function e(e,t,n){if(this.activeObservations_=[],this.observations_=new r,"function"!=typeof e)throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=e,this.controller_=t,this.callbackCtx_=n}return e.prototype.observe=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(e instanceof f(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)||(t.set(e,new b(e)),this.controller_.addObserver(this),this.controller_.refresh())}},e.prototype.unobserve=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(e instanceof f(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)&&(t.delete(e),t.size||this.controller_.removeObserver(this))}},e.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},e.prototype.gatherActive=function(){var e=this;this.clearActive(),this.observations_.forEach((function(t){t.isActive()&&e.activeObservations_.push(t)}))},e.prototype.broadcastActive=function(){if(this.hasActive()){var e=this.callbackCtx_,t=this.activeObservations_.map((function(e){return new _(e.target,e.broadcastRect())}));this.callback_.call(e,t,e),this.clearActive()}},e.prototype.clearActive=function(){this.activeObservations_.splice(0)},e.prototype.hasActive=function(){return this.activeObservations_.length>0},e}(),T="undefined"!=typeof WeakMap?new WeakMap:new r,x=function e(t){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var n=c.getInstance(),r=new w(t,n,this);T.set(this,r)};["observe","unobserve","disconnect"].forEach((function(e){x.prototype[e]=function(){var t;return(t=T.get(this))[e].apply(t,arguments)}}));var S=void 0!==o.ResizeObserver?o.ResizeObserver:x;t.Z=S},89509:function(e,t,n){var r=n(48764),i=r.Buffer;function o(e,t){for(var n in e)t[n]=e[n]}function a(e,t,n){return i(e,t,n)}i.from&&i.alloc&&i.allocUnsafe&&i.allocUnsafeSlow?e.exports=r:(o(r,t),t.Buffer=a),o(i,a),a.from=function(e,t,n){if("number"==typeof e)throw new TypeError("Argument must not be a number");return i(e,t,n)},a.alloc=function(e,t,n){if("number"!=typeof e)throw new TypeError("Argument must be a number");var r=i(e);return void 0!==t?"string"==typeof n?r.fill(t,n):r.fill(t):r.fill(0),r},a.allocUnsafe=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return i(e)},a.allocUnsafeSlow=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return r.SlowBuffer(e)}},75974:function(e){e.exports=function(e,t){var n,r=null;try{n=JSON.parse(e,t)}catch(e){r=e}return[r,n]}},38289:function(e,t,n){"use strict";var r=n(23719),i=n(47529),o=n(91658),a=n(83465),s=n(38554),u=n(36084),c=n(13200);function l(e,t){e&&Object.keys(e).forEach((function(n){t(e[n],n)}))}function f(e,t){return{}.hasOwnProperty.call(e,t)}function d(e,t){var n=[];return l(e,(function(e){t(e)&&n.push(e)})),n}e.exports=h;var p=/^[^\0\t\n\f\r /<=>]+$/;function h(e,t,n){var m="";function y(e,t){var n=this;this.tag=e,this.attribs=t||{},this.tagPosition=m.length,this.text="",this.updateParentNodeText=function(){k.length&&(k[k.length-1].text+=n.text)}}t?(t=i(h.defaults,t)).parser?t.parser=i(g,t.parser):t.parser=g:(t=h.defaults).parser=g;var v,b,_=t.nonTextTags||["script","style","textarea"];t.allowedAttributes&&(v={},b={},l(t.allowedAttributes,(function(e,t){v[t]=[];var n=[];e.forEach((function(e){e.indexOf("*")>=0?n.push(o(e).replace(/\\\*/g,".*")):v[t].push(e)})),b[t]=new RegExp("^("+n.join("|")+")$")})));var w={};l(t.allowedClasses,(function(e,t){v&&(f(v,t)||(v[t]=[]),v[t].push("class")),w[t]=e}));var T,x={};l(t.transformTags,(function(e,t){var n;"function"==typeof e?n=e:"string"==typeof e&&(n=h.simpleTransform(e)),"*"===t?T=n:x[t]=n}));var S=0,k=[],E={},O={},C=!1,L=0,A=new r.Parser({onopentag:function(e,n){if(C)L++;else{var r=new y(e,n);k.push(r);var i,o=!1,h=!!r.text;f(x,e)&&(i=x[e](e,n),r.attribs=n=i.attribs,void 0!==i.text&&(r.innerText=i.text),e!==i.tagName&&(r.name=e=i.tagName,O[S]=i.tagName)),T&&(i=T(e,n),r.attribs=n=i.attribs,e!==i.tagName&&(r.name=e=i.tagName,O[S]=i.tagName)),t.allowedTags&&-1===t.allowedTags.indexOf(e)&&(o=!0,-1!==_.indexOf(e)&&(C=!0,L=1),E[S]=!0),S++,o||(m+="<"+e,(!v||f(v,e)||v["*"])&&l(n,(function(n,i){if(p.test(i))if(!v||f(v,e)&&-1!==v[e].indexOf(i)||v["*"]&&-1!==v["*"].indexOf(i)||f(b,e)&&b[e].test(i)||b["*"]&&b["*"].test(i)){if(("href"===i||"src"===i)&&P(e,n))return void delete r.attribs[i];if("srcset"===i)try{var o;if(l(o=u.parse(n),(function(e){P("srcset",e.url)&&(e.evil=!0)})),!(o=d(o,(function(e){return!e.evil}))).length)return void delete r.attribs[i];n=u.stringify(d(o,(function(e){return!e.evil}))),r.attribs[i]=n}catch(e){return void delete r.attribs[i]}if("class"===i&&!(n=function(e,t){if(!t)return e;return(e=e.split(/\s+/)).filter((function(e){return-1!==t.indexOf(e)})).join(" ")}(n,w[e])).length)return void delete r.attribs[i];if("style"===i)try{var h=function(e,t){if(!t)return e;var n,r=a(e),i=e.nodes[0];n=t[i.selector]&&t["*"]?s(a(t[i.selector]),t["*"],(function(e,t){if(Array.isArray(e))return e.concat(t)})):t[i.selector]||t["*"];n&&(r.nodes[0].nodes=i.nodes.reduce(function(e){return function(t,n){e.hasOwnProperty(n.prop)&&(e[n.prop].some((function(e){return e.test(n.value)}))&&t.push(n));return t}}(n),[]));return r}(c.parse(e+" {"+n+"}"),t.allowedStyles);if(n=function(e){return e.nodes[0].nodes.reduce((function(e,t){return e.push(t.prop+":"+t.value+";"),e}),[]).join("")}(h),0===n.length)return void delete r.attribs[i]}catch(e){return void delete r.attribs[i]}m+=" "+i,n.length&&(m+='="'+I(n)+'"')}else delete r.attribs[i];else delete r.attribs[i]})),-1!==t.selfClosing.indexOf(e)?m+=" />":(m+=">",!r.innerText||h||t.textFilter||(m+=r.innerText)))}},ontext:function(e){if(!C){var n,r=k[k.length-1];if(r&&(n=r.tag,e=void 0!==r.innerText?r.innerText:e),"script"===n||"style"===n)m+=e;else{var i=I(e);t.textFilter?m+=t.textFilter(i):m+=i}if(k.length)k[k.length-1].text+=e}},onclosetag:function(e){if(C){if(--L)return;C=!1}var n=k.pop();if(n){if(C=!1,S--,E[S])return delete E[S],void n.updateParentNodeText();O[S]&&(e=O[S],delete O[S]),t.exclusiveFilter&&t.exclusiveFilter(n)?m=m.substr(0,n.tagPosition):(n.updateParentNodeText(),-1===t.selfClosing.indexOf(e)&&(m+="</"+e+">"))}}},t.parser);return A.write(e),A.end(),m;function I(e){return"string"!=typeof e&&(e+=""),e.replace(/\&/g,"&amp;").replace(/</g,"&lt;").replace(/\>/g,"&gt;").replace(/\"/g,"&quot;")}function P(e,n){var r=(n=(n=n.replace(/[\x00-\x20]+/g,"")).replace(/<\!\-\-.*?\-\-\>/g,"")).match(/^([a-zA-Z]+)\:/);if(!r)return!!n.match(/^[\/\\]{2}/)&&!t.allowProtocolRelative;var i=r[1].toLowerCase();return f(t.allowedSchemesByTag,e)?-1===t.allowedSchemesByTag[e].indexOf(i):!t.allowedSchemes||-1===t.allowedSchemes.indexOf(i)}}var g={decodeEntities:!0};h.defaults={allowedTags:["h3","h4","h5","h6","blockquote","p","a","ul","ol","nl","li","b","i","strong","em","strike","code","hr","br","div","table","thead","caption","tbody","tr","th","td","pre"],allowedAttributes:{a:["href","name","target"],img:["src"]},selfClosing:["img","br","hr","area","base","basefont","input","link","meta"],allowedSchemes:["http","https","ftp","mailto"],allowedSchemesByTag:{},allowProtocolRelative:!0},h.simpleTransform=function(e,t,n){return n=void 0===n||n,t=t||{},function(r,i){var o;if(n)for(o in t)i[o]=t[o];else i=t;return{tagName:e,attribs:i}}}},12650:function(e,t,n){"use strict";t.__esModule=!0;var r,i=n(66808);var o=function(e){function t(n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var r=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,e.call(this,n));return r.type="atrule",r}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t.prototype.append=function(){var t;this.nodes||(this.nodes=[]);for(var n=arguments.length,r=Array(n),i=0;i<n;i++)r[i]=arguments[i];return(t=e.prototype.append).call.apply(t,[this].concat(r))},t.prototype.prepend=function(){var t;this.nodes||(this.nodes=[]);for(var n=arguments.length,r=Array(n),i=0;i<n;i++)r[i]=arguments[i];return(t=e.prototype.prepend).call.apply(t,[this].concat(r))},t}(((r=i)&&r.__esModule?r:{default:r}).default);t.default=o,e.exports=t.default},91569:function(e,t,n){"use strict";t.__esModule=!0;var r,i=n(83454);var o=function(e){function t(n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var r=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,e.call(this,n));return r.type="comment",r}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t}(((r=i)&&r.__esModule?r:{default:r}).default);t.default=o,e.exports=t.default},66808:function(e,t,n){"use strict";t.__esModule=!0;var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=a(n(85232)),o=a(n(91569));function a(e){return e&&e.__esModule?e:{default:e}}function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function c(e){return e.map((function(e){return e.nodes&&(e.nodes=c(e.nodes)),delete e.source,e}))}var l=function(e){function t(){return s(this,t),u(this,e.apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t.prototype.push=function(e){return e.parent=this,this.nodes.push(e),this},t.prototype.each=function(e){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach+=1;var t=this.lastEach;if(this.indexes[t]=0,this.nodes){for(var n=void 0,r=void 0;this.indexes[t]<this.nodes.length&&(n=this.indexes[t],!1!==(r=e(this.nodes[n],n)));)this.indexes[t]+=1;return delete this.indexes[t],r}},t.prototype.walk=function(e){return this.each((function(t,n){var r=e(t,n);return!1!==r&&t.walk&&(r=t.walk(e)),r}))},t.prototype.walkDecls=function(e,t){return t?e instanceof RegExp?this.walk((function(n,r){if("decl"===n.type&&e.test(n.prop))return t(n,r)})):this.walk((function(n,r){if("decl"===n.type&&n.prop===e)return t(n,r)})):(t=e,this.walk((function(e,n){if("decl"===e.type)return t(e,n)})))},t.prototype.walkRules=function(e,t){return t?e instanceof RegExp?this.walk((function(n,r){if("rule"===n.type&&e.test(n.selector))return t(n,r)})):this.walk((function(n,r){if("rule"===n.type&&n.selector===e)return t(n,r)})):(t=e,this.walk((function(e,n){if("rule"===e.type)return t(e,n)})))},t.prototype.walkAtRules=function(e,t){return t?e instanceof RegExp?this.walk((function(n,r){if("atrule"===n.type&&e.test(n.name))return t(n,r)})):this.walk((function(n,r){if("atrule"===n.type&&n.name===e)return t(n,r)})):(t=e,this.walk((function(e,n){if("atrule"===e.type)return t(e,n)})))},t.prototype.walkComments=function(e){return this.walk((function(t,n){if("comment"===t.type)return e(t,n)}))},t.prototype.append=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=t,i=Array.isArray(r),o=0;for(r=i?r:r[Symbol.iterator]();;){var a;if(i){if(o>=r.length)break;a=r[o++]}else{if((o=r.next()).done)break;a=o.value}var s=a,u=this.normalize(s,this.last),c=u,l=Array.isArray(c),f=0;for(c=l?c:c[Symbol.iterator]();;){var d;if(l){if(f>=c.length)break;d=c[f++]}else{if((f=c.next()).done)break;d=f.value}var p=d;this.nodes.push(p)}}return this},t.prototype.prepend=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=t=t.reverse(),i=Array.isArray(r),o=0;for(r=i?r:r[Symbol.iterator]();;){var a;if(i){if(o>=r.length)break;a=r[o++]}else{if((o=r.next()).done)break;a=o.value}var s=a,u=this.normalize(s,this.first,"prepend").reverse(),c=u,l=Array.isArray(c),f=0;for(c=l?c:c[Symbol.iterator]();;){var d;if(l){if(f>=c.length)break;d=c[f++]}else{if((f=c.next()).done)break;d=f.value}var p=d;this.nodes.unshift(p)}for(var h in this.indexes)this.indexes[h]=this.indexes[h]+u.length}return this},t.prototype.cleanRaws=function(t){if(e.prototype.cleanRaws.call(this,t),this.nodes){var n=this.nodes,r=Array.isArray(n),i=0;for(n=r?n:n[Symbol.iterator]();;){var o;if(r){if(i>=n.length)break;o=n[i++]}else{if((i=n.next()).done)break;o=i.value}o.cleanRaws(t)}}},t.prototype.insertBefore=function(e,t){var n=0===(e=this.index(e))&&"prepend",r=this.normalize(t,this.nodes[e],n).reverse(),i=r,o=Array.isArray(i),a=0;for(i=o?i:i[Symbol.iterator]();;){var s;if(o){if(a>=i.length)break;s=i[a++]}else{if((a=i.next()).done)break;s=a.value}var u=s;this.nodes.splice(e,0,u)}var c=void 0;for(var l in this.indexes)e<=(c=this.indexes[l])&&(this.indexes[l]=c+r.length);return this},t.prototype.insertAfter=function(e,t){e=this.index(e);var n=this.normalize(t,this.nodes[e]).reverse(),r=n,i=Array.isArray(r),o=0;for(r=i?r:r[Symbol.iterator]();;){var a;if(i){if(o>=r.length)break;a=r[o++]}else{if((o=r.next()).done)break;a=o.value}var s=a;this.nodes.splice(e+1,0,s)}var u=void 0;for(var c in this.indexes)e<(u=this.indexes[c])&&(this.indexes[c]=u+n.length);return this},t.prototype.removeChild=function(e){e=this.index(e),this.nodes[e].parent=void 0,this.nodes.splice(e,1);var t=void 0;for(var n in this.indexes)(t=this.indexes[n])>=e&&(this.indexes[n]=t-1);return this},t.prototype.removeAll=function(){var e=this.nodes,t=Array.isArray(e),n=0;for(e=t?e:e[Symbol.iterator]();;){var r;if(t){if(n>=e.length)break;r=e[n++]}else{if((n=e.next()).done)break;r=n.value}r.parent=void 0}return this.nodes=[],this},t.prototype.replaceValues=function(e,t,n){return n||(n=t,t={}),this.walkDecls((function(r){t.props&&-1===t.props.indexOf(r.prop)||t.fast&&-1===r.value.indexOf(t.fast)||(r.value=r.value.replace(e,n))})),this},t.prototype.every=function(e){return this.nodes.every(e)},t.prototype.some=function(e){return this.nodes.some(e)},t.prototype.index=function(e){return"number"==typeof e?e:this.nodes.indexOf(e)},t.prototype.normalize=function(e,t){var r=this;if("string"==typeof e)e=c(n(11665)(e).nodes);else if(Array.isArray(e)){var a=e=e.slice(0),s=Array.isArray(a),u=0;for(a=s?a:a[Symbol.iterator]();;){var l;if(s){if(u>=a.length)break;l=a[u++]}else{if((u=a.next()).done)break;l=u.value}var f=l;f.parent&&f.parent.removeChild(f,"ignore")}}else if("root"===e.type){var d=e=e.nodes.slice(0),p=Array.isArray(d),h=0;for(d=p?d:d[Symbol.iterator]();;){var g;if(p){if(h>=d.length)break;g=d[h++]}else{if((h=d.next()).done)break;g=h.value}var m=g;m.parent&&m.parent.removeChild(m,"ignore")}}else if(e.type)e=[e];else if(e.prop){if(void 0===e.value)throw new Error("Value field is missed in node creation");"string"!=typeof e.value&&(e.value=String(e.value)),e=[new i.default(e)]}else if(e.selector){e=[new(n(4485))(e)]}else if(e.name){e=[new(n(12650))(e)]}else{if(!e.text)throw new Error("Unknown node type in node creation");e=[new o.default(e)]}var y=e.map((function(e){return"function"!=typeof e.before&&(e=r.rebuild(e)),e.parent&&e.parent.removeChild(e),void 0===e.raws.before&&t&&void 0!==t.raws.before&&(e.raws.before=t.raws.before.replace(/[^\s]/g,"")),e.parent=r,e}));return y},t.prototype.rebuild=function(e,t){var r=this,a=void 0;if("root"===e.type){var s=n(71283);a=new s}else if("atrule"===e.type){var u=n(12650);a=new u}else if("rule"===e.type){var c=n(4485);a=new c}else"decl"===e.type?a=new i.default:"comment"===e.type&&(a=new o.default);for(var l in e)"nodes"===l?a.nodes=e.nodes.map((function(e){return r.rebuild(e,a)})):"parent"===l&&t?a.parent=t:e.hasOwnProperty(l)&&(a[l]=e[l]);return a},r(t,[{key:"first",get:function(){if(this.nodes)return this.nodes[0]}},{key:"last",get:function(){if(this.nodes)return this.nodes[this.nodes.length-1]}}]),t}(a(n(83454)).default);t.default=l,e.exports=t.default},95373:function(e,t,n){"use strict";t.__esModule=!0;var r=a(n(89917)),i=a(n(30717)),o=a(n(84903));function a(e){return e&&e.__esModule?e:{default:e}}var s=function(){function e(t,n,r,i,o,a){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.name="CssSyntaxError",this.reason=t,o&&(this.file=o),i&&(this.source=i),a&&(this.plugin=a),void 0!==n&&void 0!==r&&(this.line=n,this.column=r),this.setMessage(),Error.captureStackTrace&&Error.captureStackTrace(this,e)}return e.prototype.setMessage=function(){this.message=this.plugin?this.plugin+": ":"",this.message+=this.file?this.file:"<css input>",void 0!==this.line&&(this.message+=":"+this.line+":"+this.column),this.message+=": "+this.reason},e.prototype.showSourceCode=function(e){var t=this;if(!this.source)return"";var n=this.source;void 0===e&&(e=r.default.stdout),e&&(n=(0,o.default)(n));var a=n.split(/\r?\n/),s=Math.max(this.line-3,0),u=Math.min(this.line+2,a.length),c=String(u).length;function l(t){return e&&i.default.red?i.default.red.bold(t):t}function f(t){return e&&i.default.gray?i.default.gray(t):t}return a.slice(s,u).map((function(e,n){var r=s+1+n,i=" "+(" "+r).slice(-c)+" | ";if(r===t.line){var o=f(i.replace(/\d/g," "))+e.slice(0,t.column-1).replace(/[^\t]/g," ");return l(">")+f(i)+e+"\n "+o+l("^")}return" "+f(i)+e})).join("\n")},e.prototype.toString=function(){var e=this.showSourceCode();return e&&(e="\n\n"+e+"\n"),this.name+": "+this.message+e},e}();t.default=s,e.exports=t.default},85232:function(e,t,n){"use strict";t.__esModule=!0;var r,i=n(83454);var o=function(e){function t(n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var r=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,e.call(this,n));return r.type="decl",r}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t}(((r=i)&&r.__esModule?r:{default:r}).default);t.default=o,e.exports=t.default},62627:function(e,t,n){"use strict";t.__esModule=!0;var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=s(n(95373)),o=s(n(49470)),a=s(n(26470));function s(e){return e&&e.__esModule?e:{default:e}}function u(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var c=0,l=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};u(this,e),this.css=t.toString(),"\ufeff"!==this.css[0]&&"￾"!==this.css[0]||(this.css=this.css.slice(1)),n.from&&(/^\w+:\/\//.test(n.from)?this.file=n.from:this.file=a.default.resolve(n.from));var r=new o.default(this.css,n);if(r.text){this.map=r;var i=r.consumer().file;!this.file&&i&&(this.file=this.mapResolve(i))}this.file||(c+=1,this.id="<input css "+c+">"),this.map&&(this.map.file=this.from)}return e.prototype.error=function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=void 0,a=this.origin(t,n);return(o=a?new i.default(e,a.line,a.column,a.source,a.file,r.plugin):new i.default(e,t,n,this.css,this.file,r.plugin)).input={line:t,column:n,source:this.css},this.file&&(o.input.file=this.file),o},e.prototype.origin=function(e,t){if(!this.map)return!1;var n=this.map.consumer(),r=n.originalPositionFor({line:e,column:t});if(!r.source)return!1;var i={file:this.mapResolve(r.source),line:r.line,column:r.column},o=n.sourceContentFor(r.source);return o&&(i.source=o),i},e.prototype.mapResolve=function(e){return/^\w+:\/\//.test(e)?e:a.default.resolve(this.map.consumer().sourceRoot||".",e)},r(e,[{key:"from",get:function(){return this.file||this.id}}]),e}();t.default=l,e.exports=t.default},75673:function(e,t,n){"use strict";t.__esModule=!0;var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o=l(n(40429)),a=l(n(23179)),s=l(n(84133)),u=l(n(96641)),c=l(n(11665));function l(e){return e&&e.__esModule?e:{default:e}}function f(e){return"object"===(void 0===e?"undefined":i(e))&&"function"==typeof e.then}var d=function(){function e(t,n,r){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.stringified=!1,this.processed=!1;var o=void 0;if("object"===(void 0===n?"undefined":i(n))&&"root"===n.type)o=n;else if(n instanceof e||n instanceof u.default)o=n.root,n.map&&(void 0===r.map&&(r.map={}),r.map.inline||(r.map.inline=!1),r.map.prev=n.map);else{var a=c.default;r.syntax&&(a=r.syntax.parse),r.parser&&(a=r.parser),a.parse&&(a=a.parse);try{o=a(n,r)}catch(e){this.error=e}}this.result=new u.default(t,o,r)}return e.prototype.warnings=function(){return this.sync().warnings()},e.prototype.toString=function(){return this.css},e.prototype.then=function(e,t){return"from"in this.opts||(0,s.default)("Without `from` option PostCSS could generate wrong source map and will not find Browserslist config. Set it to CSS file path or to `undefined` to prevent this warning."),this.async().then(e,t)},e.prototype.catch=function(e){return this.async().catch(e)},e.prototype.handleError=function(e,t){try{if(this.error=e,"CssSyntaxError"!==e.name||e.plugin){if(t.postcssVersion){var n=t.postcssPlugin,r=t.postcssVersion,i=this.result.processor.version,o=r.split("."),a=i.split(".");(o[0]!==a[0]||parseInt(o[1])>parseInt(a[1]))&&console.error("Unknown error from PostCSS plugin. Your current PostCSS version is "+i+", but "+n+" uses "+r+". Perhaps this is the source of the error below.")}}else e.plugin=t.postcssPlugin,e.setMessage()}catch(e){console&&console.error&&console.error(e)}},e.prototype.asyncTick=function(e,t){var n=this;if(this.plugin>=this.processor.plugins.length)return this.processed=!0,e();try{var r=this.processor.plugins[this.plugin],i=this.run(r);this.plugin+=1,f(i)?i.then((function(){n.asyncTick(e,t)})).catch((function(e){n.handleError(e,r),n.processed=!0,t(e)})):this.asyncTick(e,t)}catch(e){this.processed=!0,t(e)}},e.prototype.async=function(){var e=this;return this.processed?new Promise((function(t,n){e.error?n(e.error):t(e.stringify())})):(this.processing||(this.processing=new Promise((function(t,n){if(e.error)return n(e.error);e.plugin=0,e.asyncTick(t,n)})).then((function(){return e.processed=!0,e.stringify()}))),this.processing)},e.prototype.sync=function(){if(this.processed)return this.result;if(this.processed=!0,this.processing)throw new Error("Use process(css).then(cb) to work with async plugins");if(this.error)throw this.error;var e=this.result.processor.plugins,t=Array.isArray(e),n=0;for(e=t?e:e[Symbol.iterator]();;){var r;if(t){if(n>=e.length)break;r=e[n++]}else{if((n=e.next()).done)break;r=n.value}var i=r;if(f(this.run(i)))throw new Error("Use process(css).then(cb) to work with async plugins")}return this.result},e.prototype.run=function(e){this.result.lastPlugin=e;try{return e(this.result.root,this.result)}catch(t){throw this.handleError(t,e),t}},e.prototype.stringify=function(){if(this.stringified)return this.result;this.stringified=!0,this.sync();var e=this.result.opts,t=a.default;e.syntax&&(t=e.syntax.stringify),e.stringifier&&(t=e.stringifier),t.stringify&&(t=t.stringify);var n=new o.default(t,this.result.root,this.result.opts).generate();return this.result.css=n[0],this.result.map=n[1],this.result},r(e,[{key:"processor",get:function(){return this.result.processor}},{key:"opts",get:function(){return this.result.opts}},{key:"css",get:function(){return this.stringify().css}},{key:"content",get:function(){return this.stringify().content}},{key:"map",get:function(){return this.stringify().map}},{key:"root",get:function(){return this.sync().root}},{key:"messages",get:function(){return this.sync().messages}}]),e}();t.default=d,e.exports=t.default},30416:function(e,t){"use strict";t.__esModule=!0;var n={split:function(e,t,n){for(var r=[],i="",o=!1,a=0,s=!1,u=!1,c=0;c<e.length;c++){var l=e[c];s?u?u=!1:"\\"===l?u=!0:l===s&&(s=!1):'"'===l||"'"===l?s=l:"("===l?a+=1:")"===l?a>0&&(a-=1):0===a&&-1!==t.indexOf(l)&&(o=!0),o?(""!==i&&r.push(i.trim()),i="",o=!1):i+=l}return(n||""!==i)&&r.push(i.trim()),r},space:function(e){return n.split(e,[" ","\n","\t"])},comma:function(e){return n.split(e,[","],!0)}};t.default=n,e.exports=t.default},40429:function(e,t,n){"use strict";t.__esModule=!0;var r=o(n(49125)),i=o(n(26470));function o(e){return e&&e.__esModule?e:{default:e}}var a=function(){function e(t,n,r){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.stringify=t,this.mapOpts=r.map||{},this.root=n,this.opts=r}return e.prototype.isMap=function(){return void 0!==this.opts.map?!!this.opts.map:this.previous().length>0},e.prototype.previous=function(){var e=this;return this.previousMaps||(this.previousMaps=[],this.root.walk((function(t){if(t.source&&t.source.input.map){var n=t.source.input.map;-1===e.previousMaps.indexOf(n)&&e.previousMaps.push(n)}}))),this.previousMaps},e.prototype.isInline=function(){if(void 0!==this.mapOpts.inline)return this.mapOpts.inline;var e=this.mapOpts.annotation;return(void 0===e||!0===e)&&(!this.previous().length||this.previous().some((function(e){return e.inline})))},e.prototype.isSourcesContent=function(){return void 0!==this.mapOpts.sourcesContent?this.mapOpts.sourcesContent:!this.previous().length||this.previous().some((function(e){return e.withContent()}))},e.prototype.clearAnnotation=function(){if(!1!==this.mapOpts.annotation)for(var e=void 0,t=this.root.nodes.length-1;t>=0;t--)"comment"===(e=this.root.nodes[t]).type&&0===e.text.indexOf("# sourceMappingURL=")&&this.root.removeChild(t)},e.prototype.setSourcesContent=function(){var e=this,t={};this.root.walk((function(n){if(n.source){var r=n.source.input.from;if(r&&!t[r]){t[r]=!0;var i=e.relative(r);e.map.setSourceContent(i,n.source.input.css)}}}))},e.prototype.applyPrevMaps=function(){var e=this.previous(),t=Array.isArray(e),n=0;for(e=t?e:e[Symbol.iterator]();;){var o;if(t){if(n>=e.length)break;o=e[n++]}else{if((n=e.next()).done)break;o=n.value}var a=o,s=this.relative(a.file),u=a.root||i.default.dirname(a.file),c=void 0;!1===this.mapOpts.sourcesContent?(c=new r.default.SourceMapConsumer(a.text)).sourcesContent&&(c.sourcesContent=c.sourcesContent.map((function(){return null}))):c=a.consumer(),this.map.applySourceMap(c,s,this.relative(u))}},e.prototype.isAnnotation=function(){return!!this.isInline()||(void 0!==this.mapOpts.annotation?this.mapOpts.annotation:!this.previous().length||this.previous().some((function(e){return e.annotation})))},e.prototype.toBase64=function(e){return Buffer?Buffer.from&&Buffer.from!==Uint8Array.from?Buffer.from(e).toString("base64"):new Buffer(e).toString("base64"):window.btoa(unescape(encodeURIComponent(e)))},e.prototype.addAnnotation=function(){var e=void 0;e=this.isInline()?"data:application/json;base64,"+this.toBase64(this.map.toString()):"string"==typeof this.mapOpts.annotation?this.mapOpts.annotation:this.outputFile()+".map";var t="\n";-1!==this.css.indexOf("\r\n")&&(t="\r\n"),this.css+=t+"/*# sourceMappingURL="+e+" */"},e.prototype.outputFile=function(){return this.opts.to?this.relative(this.opts.to):this.opts.from?this.relative(this.opts.from):"to.css"},e.prototype.generateMap=function(){return this.generateString(),this.isSourcesContent()&&this.setSourcesContent(),this.previous().length>0&&this.applyPrevMaps(),this.isAnnotation()&&this.addAnnotation(),this.isInline()?[this.css]:[this.css,this.map]},e.prototype.relative=function(e){if(0===e.indexOf("<"))return e;if(/^\w+:\/\//.test(e))return e;var t=this.opts.to?i.default.dirname(this.opts.to):".";return"string"==typeof this.mapOpts.annotation&&(t=i.default.dirname(i.default.resolve(t,this.mapOpts.annotation))),e=i.default.relative(t,e),"\\"===i.default.sep?e.replace(/\\/g,"/"):e},e.prototype.sourcePath=function(e){return this.mapOpts.from?this.mapOpts.from:this.relative(e.source.input.from)},e.prototype.generateString=function(){var e=this;this.css="",this.map=new r.default.SourceMapGenerator({file:this.outputFile()});var t=1,n=1,i=void 0,o=void 0;this.stringify(this.root,(function(r,a,s){e.css+=r,a&&"end"!==s&&(a.source&&a.source.start?e.map.addMapping({source:e.sourcePath(a),generated:{line:t,column:n-1},original:{line:a.source.start.line,column:a.source.start.column-1}}):e.map.addMapping({source:"<no source>",original:{line:1,column:0},generated:{line:t,column:n-1}})),(i=r.match(/\n/g))?(t+=i.length,o=r.lastIndexOf("\n"),n=r.length-o):n+=r.length,a&&"start"!==s&&(a.source&&a.source.end?e.map.addMapping({source:e.sourcePath(a),generated:{line:t,column:n-1},original:{line:a.source.end.line,column:a.source.end.column}}):e.map.addMapping({source:"<no source>",original:{line:1,column:0},generated:{line:t,column:n-1}}))}))},e.prototype.generate=function(){if(this.clearAnnotation(),this.isMap())return this.generateMap();var e="";return this.stringify(this.root,(function(t){e+=t})),[e]},e}();t.default=a,e.exports=t.default},83454:function(e,t,n){"use strict";t.__esModule=!0;var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=u(n(95373)),o=u(n(7843)),a=u(n(23179)),s=u(n(84133));function u(e){return e&&e.__esModule?e:{default:e}}function c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var l=function e(t,n){var i=new t.constructor;for(var o in t)if(t.hasOwnProperty(o)){var a=t[o],s=void 0===a?"undefined":r(a);"parent"===o&&"object"===s?n&&(i[o]=n):"source"===o?i[o]=a:a instanceof Array?i[o]=a.map((function(t){return e(t,i)})):("object"===s&&null!==a&&(a=e(a)),i[o]=a)}return i},f=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(c(this,e),this.raws={},"object"!==(void 0===t?"undefined":r(t))&&void 0!==t)throw new Error("PostCSS nodes constructor accepts object, not "+JSON.stringify(t));for(var n in t)this[n]=t[n]}return e.prototype.error=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(this.source){var n=this.positionBy(t);return this.source.input.error(e,n.line,n.column,t)}return new i.default(e)},e.prototype.warn=function(e,t,n){var r={node:this};for(var i in n)r[i]=n[i];return e.warn(t,r)},e.prototype.remove=function(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this},e.prototype.toString=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:a.default;e.stringify&&(e=e.stringify);var t="";return e(this,(function(e){t+=e})),t},e.prototype.clone=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=l(this);for(var n in e)t[n]=e[n];return t},e.prototype.cloneBefore=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=this.clone(e);return this.parent.insertBefore(this,t),t},e.prototype.cloneAfter=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=this.clone(e);return this.parent.insertAfter(this,t),t},e.prototype.replaceWith=function(){if(this.parent){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=t,i=Array.isArray(r),o=0;for(r=i?r:r[Symbol.iterator]();;){var a;if(i){if(o>=r.length)break;a=r[o++]}else{if((o=r.next()).done)break;a=o.value}var s=a;this.parent.insertBefore(this,s)}this.remove()}return this},e.prototype.moveTo=function(e){return(0,s.default)("Node#moveTo was deprecated. Use Container#append."),this.cleanRaws(this.root()===e.root()),this.remove(),e.append(this),this},e.prototype.moveBefore=function(e){return(0,s.default)("Node#moveBefore was deprecated. Use Node#before."),this.cleanRaws(this.root()===e.root()),this.remove(),e.parent.insertBefore(e,this),this},e.prototype.moveAfter=function(e){return(0,s.default)("Node#moveAfter was deprecated. Use Node#after."),this.cleanRaws(this.root()===e.root()),this.remove(),e.parent.insertAfter(e,this),this},e.prototype.next=function(){var e=this.parent.index(this);return this.parent.nodes[e+1]},e.prototype.prev=function(){var e=this.parent.index(this);return this.parent.nodes[e-1]},e.prototype.before=function(e){return this.parent.insertBefore(this,e),this},e.prototype.after=function(e){return this.parent.insertAfter(this,e),this},e.prototype.toJSON=function(){var e={};for(var t in this)if(this.hasOwnProperty(t)&&"parent"!==t){var n=this[t];n instanceof Array?e[t]=n.map((function(e){return"object"===(void 0===e?"undefined":r(e))&&e.toJSON?e.toJSON():e})):"object"===(void 0===n?"undefined":r(n))&&n.toJSON?e[t]=n.toJSON():e[t]=n}return e},e.prototype.raw=function(e,t){return(new o.default).raw(this,e,t)},e.prototype.root=function(){for(var e=this;e.parent;)e=e.parent;return e},e.prototype.cleanRaws=function(e){delete this.raws.before,delete this.raws.after,e||delete this.raws.between},e.prototype.positionInside=function(e){for(var t=this.toString(),n=this.source.start.column,r=this.source.start.line,i=0;i<e;i++)"\n"===t[i]?(n=1,r+=1):n+=1;return{line:r,column:n}},e.prototype.positionBy=function(e){var t=this.source.start;if(e.index)t=this.positionInside(e.index);else if(e.word){var n=this.toString().indexOf(e.word);-1!==n&&(t=this.positionInside(n))}return t},e}();t.default=f,e.exports=t.default},11665:function(e,t,n){"use strict";t.__esModule=!0,t.default=function(e,t){if(t&&t.safe)throw new Error('Option safe was removed. Use parser: require("postcss-safe-parser")');var n=new i.default(e,t),o=new r.default(n);try{o.parse()}catch(e){throw"CssSyntaxError"===e.name&&t&&t.from&&(/\.scss$/i.test(t.from)?e.message+="\nYou tried to parse SCSS with the standard CSS parser; try again with the postcss-scss parser":/\.sass/i.test(t.from)?e.message+="\nYou tried to parse Sass with the standard CSS parser; try again with the postcss-sass parser":/\.less$/i.test(t.from)&&(e.message+="\nYou tried to parse Less with the standard CSS parser; try again with the postcss-less parser")),e}return o.root};var r=o(n(92972)),i=o(n(62627));function o(e){return e&&e.__esModule?e:{default:e}}e.exports=t.default},92972:function(e,t,n){"use strict";t.__esModule=!0;var r=c(n(85232)),i=c(n(53240)),o=c(n(91569)),a=c(n(12650)),s=c(n(71283)),u=c(n(4485));function c(e){return e&&e.__esModule?e:{default:e}}var l=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.input=t,this.root=new s.default,this.current=this.root,this.spaces="",this.semicolon=!1,this.createTokenizer(),this.root.source={input:t,start:{line:1,column:1}}}return e.prototype.createTokenizer=function(){this.tokenizer=(0,i.default)(this.input)},e.prototype.parse=function(){for(var e=void 0;!this.tokenizer.endOfFile();)switch((e=this.tokenizer.nextToken())[0]){case"space":this.spaces+=e[1];break;case";":this.freeSemicolon(e);break;case"}":this.end(e);break;case"comment":this.comment(e);break;case"at-word":this.atrule(e);break;case"{":this.emptyRule(e);break;default:this.other(e)}this.endFile()},e.prototype.comment=function(e){var t=new o.default;this.init(t,e[2],e[3]),t.source.end={line:e[4],column:e[5]};var n=e[1].slice(2,-2);if(/^\s*$/.test(n))t.text="",t.raws.left=n,t.raws.right="";else{var r=n.match(/^(\s*)([^]*[^\s])(\s*)$/);t.text=r[2],t.raws.left=r[1],t.raws.right=r[3]}},e.prototype.emptyRule=function(e){var t=new u.default;this.init(t,e[2],e[3]),t.selector="",t.raws.between="",this.current=t},e.prototype.other=function(e){for(var t=!1,n=null,r=!1,i=null,o=[],a=[],s=e;s;){if(n=s[0],a.push(s),"("===n||"["===n)i||(i=s),o.push("("===n?")":"]");else if(0===o.length){if(";"===n){if(r)return void this.decl(a);break}if("{"===n)return void this.rule(a);if("}"===n){this.tokenizer.back(a.pop()),t=!0;break}":"===n&&(r=!0)}else n===o[o.length-1]&&(o.pop(),0===o.length&&(i=null));s=this.tokenizer.nextToken()}if(this.tokenizer.endOfFile()&&(t=!0),o.length>0&&this.unclosedBracket(i),t&&r){for(;a.length&&("space"===(s=a[a.length-1][0])||"comment"===s);)this.tokenizer.back(a.pop());this.decl(a)}else this.unknownWord(a)},e.prototype.rule=function(e){e.pop();var t=new u.default;this.init(t,e[0][2],e[0][3]),t.raws.between=this.spacesAndCommentsFromEnd(e),this.raw(t,"selector",e),this.current=t},e.prototype.decl=function(e){var t=new r.default;this.init(t);var n=e[e.length-1];for(";"===n[0]&&(this.semicolon=!0,e.pop()),n[4]?t.source.end={line:n[4],column:n[5]}:t.source.end={line:n[2],column:n[3]};"word"!==e[0][0];)1===e.length&&this.unknownWord(e),t.raws.before+=e.shift()[1];for(t.source.start={line:e[0][2],column:e[0][3]},t.prop="";e.length;){var i=e[0][0];if(":"===i||"space"===i||"comment"===i)break;t.prop+=e.shift()[1]}t.raws.between="";for(var o=void 0;e.length;){if(":"===(o=e.shift())[0]){t.raws.between+=o[1];break}t.raws.between+=o[1]}"_"!==t.prop[0]&&"*"!==t.prop[0]||(t.raws.before+=t.prop[0],t.prop=t.prop.slice(1)),t.raws.between+=this.spacesAndCommentsFromStart(e),this.precheckMissedSemicolon(e);for(var a=e.length-1;a>0;a--){if("!important"===(o=e[a])[1].toLowerCase()){t.important=!0;var s=this.stringFrom(e,a);" !important"!==(s=this.spacesFromEnd(e)+s)&&(t.raws.important=s);break}if("important"===o[1].toLowerCase()){for(var u=e.slice(0),c="",l=a;l>0;l--){var f=u[l][0];if(0===c.trim().indexOf("!")&&"space"!==f)break;c=u.pop()[1]+c}0===c.trim().indexOf("!")&&(t.important=!0,t.raws.important=c,e=u)}if("space"!==o[0]&&"comment"!==o[0])break}this.raw(t,"value",e),-1!==t.value.indexOf(":")&&this.checkMissedSemicolon(e)},e.prototype.atrule=function(e){var t=new a.default;t.name=e[1].slice(1),""===t.name&&this.unnamedAtrule(t,e),this.init(t,e[2],e[3]);for(var n=void 0,r=void 0,i=!1,o=!1,s=[];!this.tokenizer.endOfFile();){if(";"===(e=this.tokenizer.nextToken())[0]){t.source.end={line:e[2],column:e[3]},this.semicolon=!0;break}if("{"===e[0]){o=!0;break}if("}"===e[0]){if(s.length>0){for(n=s[r=s.length-1];n&&"space"===n[0];)n=s[--r];n&&(t.source.end={line:n[4],column:n[5]})}this.end(e);break}if(s.push(e),this.tokenizer.endOfFile()){i=!0;break}}t.raws.between=this.spacesAndCommentsFromEnd(s),s.length?(t.raws.afterName=this.spacesAndCommentsFromStart(s),this.raw(t,"params",s),i&&(e=s[s.length-1],t.source.end={line:e[4],column:e[5]},this.spaces=t.raws.between,t.raws.between="")):(t.raws.afterName="",t.params=""),o&&(t.nodes=[],this.current=t)},e.prototype.end=function(e){this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.semicolon=!1,this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.spaces="",this.current.parent?(this.current.source.end={line:e[2],column:e[3]},this.current=this.current.parent):this.unexpectedClose(e)},e.prototype.endFile=function(){this.current.parent&&this.unclosedBlock(),this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.current.raws.after=(this.current.raws.after||"")+this.spaces},e.prototype.freeSemicolon=function(e){if(this.spaces+=e[1],this.current.nodes){var t=this.current.nodes[this.current.nodes.length-1];t&&"rule"===t.type&&!t.raws.ownSemicolon&&(t.raws.ownSemicolon=this.spaces,this.spaces="")}},e.prototype.init=function(e,t,n){this.current.push(e),e.source={start:{line:t,column:n},input:this.input},e.raws.before=this.spaces,this.spaces="","comment"!==e.type&&(this.semicolon=!1)},e.prototype.raw=function(e,t,n){for(var r=void 0,i=void 0,o=n.length,a="",s=!0,u=0;u<o;u+=1)"comment"===(i=(r=n[u])[0])||"space"===i&&u===o-1?s=!1:a+=r[1];if(!s){var c=n.reduce((function(e,t){return e+t[1]}),"");e.raws[t]={value:a,raw:c}}e[t]=a},e.prototype.spacesAndCommentsFromEnd=function(e){for(var t=void 0,n="";e.length&&("space"===(t=e[e.length-1][0])||"comment"===t);)n=e.pop()[1]+n;return n},e.prototype.spacesAndCommentsFromStart=function(e){for(var t=void 0,n="";e.length&&("space"===(t=e[0][0])||"comment"===t);)n+=e.shift()[1];return n},e.prototype.spacesFromEnd=function(e){for(var t="";e.length&&"space"===e[e.length-1][0];)t=e.pop()[1]+t;return t},e.prototype.stringFrom=function(e,t){for(var n="",r=t;r<e.length;r++)n+=e[r][1];return e.splice(t,e.length-t),n},e.prototype.colon=function(e){for(var t=0,n=void 0,r=void 0,i=void 0,o=0;o<e.length;o++){if("("===(r=(n=e[o])[0]))t+=1;else if(")"===r)t-=1;else if(0===t&&":"===r){if(i){if("word"===i[0]&&"progid"===i[1])continue;return o}this.doubleColon(n)}i=n}return!1},e.prototype.unclosedBracket=function(e){throw this.input.error("Unclosed bracket",e[2],e[3])},e.prototype.unknownWord=function(e){throw this.input.error("Unknown word",e[0][2],e[0][3])},e.prototype.unexpectedClose=function(e){throw this.input.error("Unexpected }",e[2],e[3])},e.prototype.unclosedBlock=function(){var e=this.current.source.start;throw this.input.error("Unclosed block",e.line,e.column)},e.prototype.doubleColon=function(e){throw this.input.error("Double colon",e[2],e[3])},e.prototype.unnamedAtrule=function(e,t){throw this.input.error("At-rule without name",t[2],t[3])},e.prototype.precheckMissedSemicolon=function(e){},e.prototype.checkMissedSemicolon=function(e){var t=this.colon(e);if(!1!==t){for(var n=0,r=void 0,i=t-1;i>=0&&("space"===(r=e[i])[0]||2!==(n+=1));i--);throw this.input.error("Missed semicolon",r[2],r[3])}},e}();t.default=l,e.exports=t.default},13200:function(e,t,n){"use strict";t.__esModule=!0;var r=p(n(85232)),i=p(n(46580)),o=p(n(23179)),a=p(n(91569)),s=p(n(12650)),u=p(n(20435)),c=p(n(11665)),l=p(n(30416)),f=p(n(4485)),d=p(n(71283));function p(e){return e&&e.__esModule?e:{default:e}}function h(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return 1===t.length&&Array.isArray(t[0])&&(t=t[0]),new i.default(t)}h.plugin=function(e,t){var n=function(){var n=t.apply(void 0,arguments);return n.postcssPlugin=e,n.postcssVersion=(new i.default).version,n},r=void 0;return Object.defineProperty(n,"postcss",{get:function(){return r||(r=n()),r}}),n.process=function(e,t,r){return h([n(r)]).process(e,t)},n},h.stringify=o.default,h.parse=c.default,h.vendor=u.default,h.list=l.default,h.comment=function(e){return new a.default(e)},h.atRule=function(e){return new s.default(e)},h.decl=function(e){return new r.default(e)},h.rule=function(e){return new f.default(e)},h.root=function(e){return new d.default(e)},t.default=h,e.exports=t.default},49470:function(e,t,n){"use strict";t.__esModule=!0;var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=s(n(49125)),o=s(n(26470)),a=s(n(31777));function s(e){return e&&e.__esModule?e:{default:e}}var u=function(){function e(t,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.loadAnnotation(t),this.inline=this.startWith(this.annotation,"data:");var r=n.map?n.map.prev:void 0,i=this.loadMap(n.from,r);i&&(this.text=i)}return e.prototype.consumer=function(){return this.consumerCache||(this.consumerCache=new i.default.SourceMapConsumer(this.text)),this.consumerCache},e.prototype.withContent=function(){return!!(this.consumer().sourcesContent&&this.consumer().sourcesContent.length>0)},e.prototype.startWith=function(e,t){return!!e&&e.substr(0,t.length)===t},e.prototype.loadAnnotation=function(e){var t=e.match(/\/\*\s*# sourceMappingURL=(.*)\s*\*\//);t&&(this.annotation=t[1].trim())},e.prototype.decodeInline=function(e){var t="data:application/json,";if(this.startWith(e,t))return decodeURIComponent(e.substr(t.length));if(/^data:application\/json;(?:charset=utf-?8;)?base64,/.test(e))return n=e.substr(RegExp.lastMatch.length),Buffer?Buffer.from&&Buffer.from!==Uint8Array.from?Buffer.from(n,"base64").toString():new Buffer(n,"base64").toString():window.atob(n);var n,r=e.match(/data:application\/json;([^,]+),/)[1];throw new Error("Unsupported source map encoding "+r)},e.prototype.loadMap=function(e,t){if(!1===t)return!1;if(t){if("string"==typeof t)return t;if("function"==typeof t){var n=t(e);if(n&&a.default.existsSync&&a.default.existsSync(n))return a.default.readFileSync(n,"utf-8").toString().trim();throw new Error("Unable to load previous source map: "+n.toString())}if(t instanceof i.default.SourceMapConsumer)return i.default.SourceMapGenerator.fromSourceMap(t).toString();if(t instanceof i.default.SourceMapGenerator)return t.toString();if(this.isMap(t))return JSON.stringify(t);throw new Error("Unsupported previous source map format: "+t.toString())}if(this.inline)return this.decodeInline(this.annotation);if(this.annotation){var r=this.annotation;return e&&(r=o.default.join(o.default.dirname(e),r)),this.root=o.default.dirname(r),!(!a.default.existsSync||!a.default.existsSync(r))&&a.default.readFileSync(r,"utf-8").toString().trim()}},e.prototype.isMap=function(e){return"object"===(void 0===e?"undefined":r(e))&&("string"==typeof e.mappings||"string"==typeof e._mappings)},e}();t.default=u,e.exports=t.default},46580:function(e,t,n){"use strict";t.__esModule=!0;var r,i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o=n(75673),a=(r=o)&&r.__esModule?r:{default:r};function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var u=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];s(this,e),this.version="6.0.16",this.plugins=this.normalize(t)}return e.prototype.use=function(e){return this.plugins=this.plugins.concat(this.normalize([e])),this},e.prototype.process=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return new a.default(this,e,t)},e.prototype.normalize=function(e){var t=[],n=e,r=Array.isArray(n),o=0;for(n=r?n:n[Symbol.iterator]();;){var a;if(r){if(o>=n.length)break;a=n[o++]}else{if((o=n.next()).done)break;a=o.value}var s=a;if(s.postcss&&(s=s.postcss),"object"===(void 0===s?"undefined":i(s))&&Array.isArray(s.plugins))t=t.concat(s.plugins);else{if("function"!=typeof s)throw"object"===(void 0===s?"undefined":i(s))&&(s.parse||s.stringify)?new Error("PostCSS syntaxes cannot be used as plugins. Instead, please use one of the syntax/parser/stringifier options as outlined in your PostCSS runner documentation."):new Error(s+" is not a PostCSS plugin");t.push(s)}}return t},e}();t.default=u,e.exports=t.default},96641:function(e,t,n){"use strict";t.__esModule=!0;var r,i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=n(3061),a=(r=o)&&r.__esModule?r:{default:r};var s=function(){function e(t,n,r){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.processor=t,this.messages=[],this.root=n,this.opts=r,this.css=void 0,this.map=void 0}return e.prototype.toString=function(){return this.css},e.prototype.warn=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};t.plugin||this.lastPlugin&&this.lastPlugin.postcssPlugin&&(t.plugin=this.lastPlugin.postcssPlugin);var n=new a.default(e,t);return this.messages.push(n),n},e.prototype.warnings=function(){return this.messages.filter((function(e){return"warning"===e.type}))},i(e,[{key:"content",get:function(){return this.css}}]),e}();t.default=s,e.exports=t.default},71283:function(e,t,n){"use strict";t.__esModule=!0;var r,i=n(66808);var o=function(e){function t(n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var r=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,e.call(this,n));return r.type="root",r.nodes||(r.nodes=[]),r}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t.prototype.removeChild=function(t,n){var r=this.index(t);return!n&&0===r&&this.nodes.length>1&&(this.nodes[1].raws.before=this.nodes[r].raws.before),e.prototype.removeChild.call(this,t)},t.prototype.normalize=function(t,n,r){var i=e.prototype.normalize.call(this,t);if(n)if("prepend"===r)this.nodes.length>1?n.raws.before=this.nodes[1].raws.before:delete n.raws.before;else if(this.first!==n){var o=i,a=Array.isArray(o),s=0;for(o=a?o:o[Symbol.iterator]();;){var u;if(a){if(s>=o.length)break;u=o[s++]}else{if((s=o.next()).done)break;u=s.value}u.raws.before=n.raws.before}}return i},t.prototype.toResult=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=n(75673),r=n(46580),i=new t(new r,this,e);return i.stringify()},t}(((r=i)&&r.__esModule?r:{default:r}).default);t.default=o,e.exports=t.default},4485:function(e,t,n){"use strict";t.__esModule=!0;var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=a(n(66808)),o=a(n(30416));function a(e){return e&&e.__esModule?e:{default:e}}var s=function(e){function t(n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var r=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,e.call(this,n));return r.type="rule",r.nodes||(r.nodes=[]),r}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),r(t,[{key:"selectors",get:function(){return o.default.comma(this.selector)},set:function(e){var t=this.selector?this.selector.match(/,\s*/):null,n=t?t[0]:","+this.raw("between","beforeOpen");this.selector=e.join(n)}}]),t}(i.default);t.default=s,e.exports=t.default},7843:function(e,t){"use strict";t.__esModule=!0;var n={colon:": ",indent:"    ",beforeDecl:"\n",beforeRule:"\n",beforeOpen:" ",beforeClose:"\n",beforeComment:"\n",after:"\n",emptyBody:"",commentLeft:" ",commentRight:" "};var r=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.builder=t}return e.prototype.stringify=function(e,t){this[e.type](e,t)},e.prototype.root=function(e){this.body(e),e.raws.after&&this.builder(e.raws.after)},e.prototype.comment=function(e){var t=this.raw(e,"left","commentLeft"),n=this.raw(e,"right","commentRight");this.builder("/*"+t+e.text+n+"*/",e)},e.prototype.decl=function(e,t){var n=this.raw(e,"between","colon"),r=e.prop+n+this.rawValue(e,"value");e.important&&(r+=e.raws.important||" !important"),t&&(r+=";"),this.builder(r,e)},e.prototype.rule=function(e){this.block(e,this.rawValue(e,"selector")),e.raws.ownSemicolon&&this.builder(e.raws.ownSemicolon,e,"end")},e.prototype.atrule=function(e,t){var n="@"+e.name,r=e.params?this.rawValue(e,"params"):"";if(void 0!==e.raws.afterName?n+=e.raws.afterName:r&&(n+=" "),e.nodes)this.block(e,n+r);else{var i=(e.raws.between||"")+(t?";":"");this.builder(n+r+i,e)}},e.prototype.body=function(e){for(var t=e.nodes.length-1;t>0&&"comment"===e.nodes[t].type;)t-=1;for(var n=this.raw(e,"semicolon"),r=0;r<e.nodes.length;r++){var i=e.nodes[r],o=this.raw(i,"before");o&&this.builder(o),this.stringify(i,t!==r||n)}},e.prototype.block=function(e,t){var n=this.raw(e,"between","beforeOpen");this.builder(t+n+"{",e,"start");var r=void 0;e.nodes&&e.nodes.length?(this.body(e),r=this.raw(e,"after")):r=this.raw(e,"after","emptyBody"),r&&this.builder(r),this.builder("}",e,"end")},e.prototype.raw=function(e,t,r){var i=void 0;if(r||(r=t),t&&void 0!==(i=e.raws[t]))return i;var o=e.parent;if("before"===r&&(!o||"root"===o.type&&o.first===e))return"";if(!o)return n[r];var a=e.root();if(a.rawCache||(a.rawCache={}),void 0!==a.rawCache[r])return a.rawCache[r];if("before"===r||"after"===r)return this.beforeAfter(e,r);var s,u="raw"+((s=r)[0].toUpperCase()+s.slice(1));return this[u]?i=this[u](a,e):a.walk((function(e){if(void 0!==(i=e.raws[t]))return!1})),void 0===i&&(i=n[r]),a.rawCache[r]=i,i},e.prototype.rawSemicolon=function(e){var t=void 0;return e.walk((function(e){if(e.nodes&&e.nodes.length&&"decl"===e.last.type&&void 0!==(t=e.raws.semicolon))return!1})),t},e.prototype.rawEmptyBody=function(e){var t=void 0;return e.walk((function(e){if(e.nodes&&0===e.nodes.length&&void 0!==(t=e.raws.after))return!1})),t},e.prototype.rawIndent=function(e){if(e.raws.indent)return e.raws.indent;var t=void 0;return e.walk((function(n){var r=n.parent;if(r&&r!==e&&r.parent&&r.parent===e&&void 0!==n.raws.before){var i=n.raws.before.split("\n");return t=(t=i[i.length-1]).replace(/[^\s]/g,""),!1}})),t},e.prototype.rawBeforeComment=function(e,t){var n=void 0;return e.walkComments((function(e){if(void 0!==e.raws.before)return-1!==(n=e.raws.before).indexOf("\n")&&(n=n.replace(/[^\n]+$/,"")),!1})),void 0===n?n=this.raw(t,null,"beforeDecl"):n&&(n=n.replace(/[^\s]/g,"")),n},e.prototype.rawBeforeDecl=function(e,t){var n=void 0;return e.walkDecls((function(e){if(void 0!==e.raws.before)return-1!==(n=e.raws.before).indexOf("\n")&&(n=n.replace(/[^\n]+$/,"")),!1})),void 0===n?n=this.raw(t,null,"beforeRule"):n&&(n=n.replace(/[^\s]/g,"")),n},e.prototype.rawBeforeRule=function(e){var t=void 0;return e.walk((function(n){if(n.nodes&&(n.parent!==e||e.first!==n)&&void 0!==n.raws.before)return-1!==(t=n.raws.before).indexOf("\n")&&(t=t.replace(/[^\n]+$/,"")),!1})),t&&(t=t.replace(/[^\s]/g,"")),t},e.prototype.rawBeforeClose=function(e){var t=void 0;return e.walk((function(e){if(e.nodes&&e.nodes.length>0&&void 0!==e.raws.after)return-1!==(t=e.raws.after).indexOf("\n")&&(t=t.replace(/[^\n]+$/,"")),!1})),t&&(t=t.replace(/[^\s]/g,"")),t},e.prototype.rawBeforeOpen=function(e){var t=void 0;return e.walk((function(e){if("decl"!==e.type&&void 0!==(t=e.raws.between))return!1})),t},e.prototype.rawColon=function(e){var t=void 0;return e.walkDecls((function(e){if(void 0!==e.raws.between)return t=e.raws.between.replace(/[^\s:]/g,""),!1})),t},e.prototype.beforeAfter=function(e,t){var n=void 0;n="decl"===e.type?this.raw(e,null,"beforeDecl"):"comment"===e.type?this.raw(e,null,"beforeComment"):"before"===t?this.raw(e,null,"beforeRule"):this.raw(e,null,"beforeClose");for(var r=e.parent,i=0;r&&"root"!==r.type;)i+=1,r=r.parent;if(-1!==n.indexOf("\n")){var o=this.raw(e,null,"indent");if(o.length)for(var a=0;a<i;a++)n+=o}return n},e.prototype.rawValue=function(e,t){var n=e[t],r=e.raws[t];return r&&r.value===n?r.raw:n},e}();t.default=r,e.exports=t.default},23179:function(e,t,n){"use strict";t.__esModule=!0,t.default=function(e,t){new o.default(t).stringify(e)};var r,i=n(7843),o=(r=i)&&r.__esModule?r:{default:r};e.exports=t.default},84903:function(e,t,n){"use strict";t.__esModule=!0;var r=a(n(30717)),i=a(n(53240)),o=a(n(62627));function a(e){return e&&e.__esModule?e:{default:e}}var s={brackets:r.default.cyan,"at-word":r.default.cyan,call:r.default.cyan,comment:r.default.gray,string:r.default.green,class:r.default.yellow,hash:r.default.magenta,"(":r.default.cyan,")":r.default.cyan,"{":r.default.yellow,"}":r.default.yellow,"[":r.default.yellow,"]":r.default.yellow,":":r.default.yellow,";":r.default.yellow};t.default=function(e){for(var t=(0,i.default)(new o.default(e),{ignoreErrors:!0}),n="",r=function(){var e=t.nextToken(),r=s[function(e,t){var n=e[0],r=e[1];if("word"===n){if("."===r[0])return"class";if("#"===r[0])return"hash"}if(!t.endOfFile()){var i=t.nextToken();if(t.back(i),"brackets"===i[0]||"("===i[0])return"call"}return n}(e,t)];n+=r?e[1].split(/\r?\n/).map((function(e){return r(e)})).join("\n"):e[1]};!t.endOfFile();)r();return n},e.exports=t.default},53240:function(e,t){"use strict";t.__esModule=!0,t.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},d=e.css.valueOf(),p=t.ignoreErrors,h=void 0,g=void 0,m=void 0,y=void 0,v=void 0,b=void 0,_=void 0,w=void 0,T=void 0,x=void 0,S=void 0,k=void 0,E=void 0,O=void 0,C=d.length,L=-1,A=1,I=0,P=[],M=[];function R(t){throw e.error("Unclosed "+t,A,I-L)}function j(){return 0===M.length&&I>=C}function D(){if(M.length)return M.pop();if(!(I>=C)){switch(((h=d.charCodeAt(I))===i||h===a||h===s&&d.charCodeAt(I+1)!==i)&&(L=I,A+=1),h){case i:case o:case 9:case s:case a:g=I;do{g+=1,(h=d.charCodeAt(g))===i&&(L=g,A+=1)}while(h===o||h===i||9===h||h===s||h===a);O=["space",d.slice(I,g)],I=g-1;break;case 91:O=["[","[",A,I-L];break;case 93:O=["]","]",A,I-L];break;case 123:O=["{","{",A,I-L];break;case 125:O=["}","}",A,I-L];break;case 58:O=[":",":",A,I-L];break;case 59:O=[";",";",A,I-L];break;case 40:if(k=P.length?P.pop()[1]:"",E=d.charCodeAt(I+1),"url"===k&&E!==n&&34!==E&&E!==o&&E!==i&&9!==E&&E!==a&&E!==s){g=I;do{if(x=!1,-1===(g=d.indexOf(")",g+1))){if(p){g=I;break}R("bracket")}for(S=g;d.charCodeAt(S-1)===r;)S-=1,x=!x}while(x);O=["brackets",d.slice(I,g+1),A,I-L,A,g-L],I=g}else g=d.indexOf(")",I+1),b=d.slice(I,g+1),-1===g||l.test(b)?O=["(","(",A,I-L]:(O=["brackets",b,A,I-L,A,g-L],I=g);break;case 41:O=[")",")",A,I-L];break;case n:case 34:m=h===n?"'":'"',g=I;do{if(x=!1,-1===(g=d.indexOf(m,g+1))){if(p){g=I+1;break}R("string")}for(S=g;d.charCodeAt(S-1)===r;)S-=1,x=!x}while(x);b=d.slice(I,g+1),y=b.split("\n"),(v=y.length-1)>0?(w=A+v,T=g-y[v].length):(w=A,T=L),O=["string",d.slice(I,g+1),A,I-L,w,g-T],L=T,A=w,I=g;break;case 64:u.lastIndex=I+1,u.test(d),g=0===u.lastIndex?d.length-1:u.lastIndex-2,O=["at-word",d.slice(I,g+1),A,I-L,A,g-L],I=g;break;case r:for(g=I,_=!0;d.charCodeAt(g+1)===r;)g+=1,_=!_;if(h=d.charCodeAt(g+1),_&&47!==h&&h!==o&&h!==i&&9!==h&&h!==s&&h!==a&&(g+=1,f.test(d.charAt(g)))){for(;f.test(d.charAt(g+1));)g+=1;d.charCodeAt(g+1)===o&&(g+=1)}O=["word",d.slice(I,g+1),A,I-L,A,g-L],I=g;break;default:47===h&&42===d.charCodeAt(I+1)?(0===(g=d.indexOf("*/",I+2)+1)&&(p?g=d.length:R("comment")),b=d.slice(I,g+1),y=b.split("\n"),(v=y.length-1)>0?(w=A+v,T=g-y[v].length):(w=A,T=L),O=["comment",b,A,I-L,w,g-T],L=T,A=w,I=g):(c.lastIndex=I+1,c.test(d),g=0===c.lastIndex?d.length-1:c.lastIndex-2,O=["word",d.slice(I,g+1),A,I-L,A,g-L],P.push(O),I=g)}return I++,O}}function N(e){M.push(e)}return{back:N,nextToken:D,endOfFile:j}};var n=39,r=92,i=10,o=32,a=12,s=13,u=/[ \n\t\r\f\{\(\)'"\\;/\[\]#]/g,c=/[ \n\t\r\f\(\)\{\}:;@!'"\\\]\[#]|\/(?=\*)/g,l=/.[\\\/\("'\n]/,f=/[a-f0-9]/i;e.exports=t.default},20435:function(e,t){"use strict";t.__esModule=!0;t.default={prefix:function(e){var t=e.match(/^(-\w+-)/);return t?t[0]:""},unprefixed:function(e){return e.replace(/^-\w+-/,"")}},e.exports=t.default},84133:function(e,t){"use strict";t.__esModule=!0,t.default=function(e){if(n[e])return;n[e]=!0,"undefined"!=typeof console&&console.warn&&console.warn(e)};var n={};e.exports=t.default},3061:function(e,t){"use strict";function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}t.__esModule=!0;var r=function(){function e(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(n(this,e),this.type="warning",this.text=t,r.node&&r.node.source){var i=r.node.positionBy(r);this.line=i.line,this.column=i.column}for(var o in r)this[o]=r[o]}return e.prototype.toString=function(){return this.node?this.node.error(this.text,{plugin:this.plugin,index:this.index,word:this.word}).message:this.plugin?this.plugin+": "+this.text:this.text},e}();t.default=r,e.exports=t.default},60053:function(e,t){"use strict";function n(e,t){var n=e.length;e.push(t);e:for(;0<n;){var r=n-1>>>1,i=e[r];if(!(0<o(i,t)))break e;e[r]=t,e[n]=i,n=r}}function r(e){return 0===e.length?null:e[0]}function i(e){if(0===e.length)return null;var t=e[0],n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,i=e.length,a=i>>>1;r<a;){var s=2*(r+1)-1,u=e[s],c=s+1,l=e[c];if(0>o(u,n))c<i&&0>o(l,u)?(e[r]=l,e[c]=n,r=c):(e[r]=u,e[s]=n,r=s);else{if(!(c<i&&0>o(l,n)))break e;e[r]=l,e[c]=n,r=c}}}return t}function o(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}if("object"==typeof performance&&"function"==typeof performance.now){var a=performance;t.unstable_now=function(){return a.now()}}else{var s=Date,u=s.now();t.unstable_now=function(){return s.now()-u}}var c=[],l=[],f=1,d=null,p=3,h=!1,g=!1,m=!1,y="function"==typeof setTimeout?setTimeout:null,v="function"==typeof clearTimeout?clearTimeout:null,b="undefined"!=typeof setImmediate?setImmediate:null;function _(e){for(var t=r(l);null!==t;){if(null===t.callback)i(l);else{if(!(t.startTime<=e))break;i(l),t.sortIndex=t.expirationTime,n(c,t)}t=r(l)}}function w(e){if(m=!1,_(e),!g)if(null!==r(c))g=!0,M(T);else{var t=r(l);null!==t&&R(w,t.startTime-e)}}function T(e,n){g=!1,m&&(m=!1,v(E),E=-1),h=!0;var o=p;try{for(_(n),d=r(c);null!==d&&(!(d.expirationTime>n)||e&&!L());){var a=d.callback;if("function"==typeof a){d.callback=null,p=d.priorityLevel;var s=a(d.expirationTime<=n);n=t.unstable_now(),"function"==typeof s?d.callback=s:d===r(c)&&i(c),_(n)}else i(c);d=r(c)}if(null!==d)var u=!0;else{var f=r(l);null!==f&&R(w,f.startTime-n),u=!1}return u}finally{d=null,p=o,h=!1}}"undefined"!=typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var x,S=!1,k=null,E=-1,O=5,C=-1;function L(){return!(t.unstable_now()-C<O)}function A(){if(null!==k){var e=t.unstable_now();C=e;var n=!0;try{n=k(!0,e)}finally{n?x():(S=!1,k=null)}}else S=!1}if("function"==typeof b)x=function(){b(A)};else if("undefined"!=typeof MessageChannel){var I=new MessageChannel,P=I.port2;I.port1.onmessage=A,x=function(){P.postMessage(null)}}else x=function(){y(A,0)};function M(e){k=e,S||(S=!0,x())}function R(e,n){E=y((function(){e(t.unstable_now())}),n)}t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_continueExecution=function(){g||h||(g=!0,M(T))},t.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):O=0<e?Math.floor(1e3/e):5},t.unstable_getCurrentPriorityLevel=function(){return p},t.unstable_getFirstCallbackNode=function(){return r(c)},t.unstable_next=function(e){switch(p){case 1:case 2:case 3:var t=3;break;default:t=p}var n=p;p=t;try{return e()}finally{p=n}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=function(){},t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=p;p=e;try{return t()}finally{p=n}},t.unstable_scheduleCallback=function(e,i,o){var a=t.unstable_now();switch("object"==typeof o&&null!==o?o="number"==typeof(o=o.delay)&&0<o?a+o:a:o=a,e){case 1:var s=-1;break;case 2:s=250;break;case 5:s=1073741823;break;case 4:s=1e4;break;default:s=5e3}return e={id:f++,callback:i,priorityLevel:e,startTime:o,expirationTime:s=o+s,sortIndex:-1},o>a?(e.sortIndex=o,n(l,e),null===r(c)&&e===r(l)&&(m?(v(E),E=-1):m=!0,R(w,o-a))):(e.sortIndex=s,n(c,e),g||h||(g=!0,M(T))),e},t.unstable_shouldYield=L,t.unstable_wrapCallback=function(e){var t=p;return function(){var n=p;p=t;try{return e.apply(this,arguments)}finally{p=n}}}},63840:function(e,t,n){"use strict";e.exports=n(60053)},3675:function(e,t,n){"use strict";function r(e){return null!=e&&"object"==typeof e&&(1===e.nodeType||11===e.nodeType)}function i(e,t){return(!t||"hidden"!==e)&&("visible"!==e&&"clip"!==e)}function o(e,t){if(e.clientHeight<e.scrollHeight||e.clientWidth<e.scrollWidth){var n=getComputedStyle(e,null);return i(n.overflowY,t)||i(n.overflowX,t)}return!1}function a(e,t,n,r,i,o,a,s){return o<e&&a>t||o>e&&a<t?0:o<e&&s<n||a>t&&s>n?o-e-r:a>t&&s<n||o<e&&s>n?a-t+i:0}n.d(t,{Z:function(){return c}});var s=function(e,t){var n=t.scrollMode,i=t.block,s=t.inline,u=t.boundary,c=t.skipOverflowHiddenElements,l="function"==typeof u?u:function(e){return e!==u};if(!r(e))throw new TypeError("Invalid target");for(var f=document.scrollingElement||document.documentElement,d=[],p=e;r(p)&&l(p);){if((p=p.parentNode||p.host)===f){d.push(p);break}p===document.body&&o(p)&&!o(document.documentElement)||o(p,c)&&d.push(p)}for(var h=window.visualViewport?visualViewport.width:innerWidth,g=window.visualViewport?visualViewport.height:innerHeight,m=window.scrollX||pageXOffset,y=window.scrollY||pageYOffset,v=e.getBoundingClientRect(),b=v.height,_=v.width,w=v.top,T=v.right,x=v.bottom,S=v.left,k="start"===i||"nearest"===i?w:"end"===i?x:w+b/2,E="center"===s?S+_/2:"end"===s?T:S,O=[],C=0;C<d.length;C++){var L=d[C],A=L.getBoundingClientRect(),I=A.height,P=A.width,M=A.top,R=A.right,j=A.bottom,D=A.left;if("if-needed"===n&&w>=0&&S>=0&&x<=g&&T<=h&&w>=M&&x<=j&&S>=D&&T<=R)return O;var N=getComputedStyle(L),B=parseInt(N.borderLeftWidth,10),U=parseInt(N.borderTopWidth,10),F=parseInt(N.borderRightWidth,10),z=parseInt(N.borderBottomWidth,10),H=0,Z=0,q="offsetWidth"in L?L.offsetWidth-L.clientWidth-B-F:0,V="offsetHeight"in L?L.offsetHeight-L.clientHeight-U-z:0;if(f===L)H="start"===i?k:"end"===i?k-g:"nearest"===i?a(y,y+g,g,U,z,y+k,y+k+b,b):k-g/2,Z="start"===s?E:"center"===s?E-h/2:"end"===s?E-h:a(m,m+h,h,B,F,m+E,m+E+_,_),H=Math.max(0,H+y),Z=Math.max(0,Z+m);else{H="start"===i?k-M-U:"end"===i?k-j+z+V:"nearest"===i?a(M,j,I,U,z+V,k,k+b,b):k-(M+I/2)+V/2,Z="start"===s?E-D-B:"center"===s?E-(D+P/2)+q/2:"end"===s?E-R+F+q:a(D,R,P,B,F+q,E,E+_,_);var W=L.scrollLeft,G=L.scrollTop;k+=G-(H=Math.max(0,Math.min(G+H,L.scrollHeight-I+V))),E+=W-(Z=Math.max(0,Math.min(W+Z,L.scrollWidth-P+q)))}O.push({el:L,top:H,left:Z})}return O};function u(e){return e===Object(e)&&0!==Object.keys(e).length}var c=function(e,t){if(u(t)&&"function"==typeof t.behavior)return t.behavior(s(e,t));var n=function(e){return!1===e?{block:"end",inline:"nearest"}:u(e)?e:{block:"start",inline:"nearest"}}(t);return function(e,t){void 0===t&&(t="auto");var n="scrollBehavior"in document.body.style;e.forEach((function(e){var r=e.el,i=e.top,o=e.left;r.scroll&&n?r.scroll({top:i,left:o,behavior:t}):(r.scrollTop=i,r.scrollLeft=o)}))}(s(e,n),n.behavior)}},78213:function(e,t,n){var r=n(32728),i=Object.prototype.hasOwnProperty,o="undefined"!=typeof Map;function a(){this._array=[],this._set=o?new Map:Object.create(null)}a.fromArray=function(e,t){for(var n=new a,r=0,i=e.length;r<i;r++)n.add(e[r],t);return n},a.prototype.size=function(){return o?this._set.size:Object.getOwnPropertyNames(this._set).length},a.prototype.add=function(e,t){var n=o?e:r.toSetString(e),a=o?this.has(e):i.call(this._set,n),s=this._array.length;a&&!t||this._array.push(e),a||(o?this._set.set(e,s):this._set[n]=s)},a.prototype.has=function(e){if(o)return this._set.has(e);var t=r.toSetString(e);return i.call(this._set,t)},a.prototype.indexOf=function(e){if(o){var t=this._set.get(e);if(t>=0)return t}else{var n=r.toSetString(e);if(i.call(this._set,n))return this._set[n]}throw new Error('"'+e+'" is not in the set.')},a.prototype.at=function(e){if(e>=0&&e<this._array.length)return this._array[e];throw new Error("No element indexed by "+e)},a.prototype.toArray=function(){return this._array.slice()},t.I=a},16400:function(e,t,n){var r=n(67923);t.encode=function(e){var t,n="",i=function(e){return e<0?1+(-e<<1):0+(e<<1)}(e);do{t=31&i,(i>>>=5)>0&&(t|=32),n+=r.encode(t)}while(i>0);return n},t.decode=function(e,t,n){var i,o,a,s,u=e.length,c=0,l=0;do{if(t>=u)throw new Error("Expected more digits in base 64 VLQ value.");if(-1===(o=r.decode(e.charCodeAt(t++))))throw new Error("Invalid base64 digit: "+e.charAt(t-1));i=!!(32&o),c+=(o&=31)<<l,l+=5}while(i);n.value=(s=(a=c)>>1,1==(1&a)?-s:s),n.rest=t}},67923:function(e,t){var n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");t.encode=function(e){if(0<=e&&e<n.length)return n[e];throw new TypeError("Must be between 0 and 63: "+e)},t.decode=function(e){return 65<=e&&e<=90?e-65:97<=e&&e<=122?e-97+26:48<=e&&e<=57?e-48+52:43==e?62:47==e?63:-1}},9216:function(e,t){function n(e,r,i,o,a,s){var u=Math.floor((r-e)/2)+e,c=a(i,o[u],!0);return 0===c?u:c>0?r-u>1?n(u,r,i,o,a,s):s==t.LEAST_UPPER_BOUND?r<o.length?r:-1:u:u-e>1?n(e,u,i,o,a,s):s==t.LEAST_UPPER_BOUND?u:e<0?-1:e}t.GREATEST_LOWER_BOUND=1,t.LEAST_UPPER_BOUND=2,t.search=function(e,r,i,o){if(0===r.length)return-1;var a=n(-1,r.length,e,r,i,o||t.GREATEST_LOWER_BOUND);if(a<0)return-1;for(;a-1>=0&&0===i(r[a],r[a-1],!0);)--a;return a}},21188:function(e,t,n){var r=n(32728);function i(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}i.prototype.unsortedForEach=function(e,t){this._array.forEach(e,t)},i.prototype.add=function(e){var t,n,i,o,a,s;t=this._last,n=e,i=t.generatedLine,o=n.generatedLine,a=t.generatedColumn,s=n.generatedColumn,o>i||o==i&&s>=a||r.compareByGeneratedPositionsInflated(t,n)<=0?(this._last=e,this._array.push(e)):(this._sorted=!1,this._array.push(e))},i.prototype.toArray=function(){return this._sorted||(this._array.sort(r.compareByGeneratedPositionsInflated),this._sorted=!0),this._array},t.H=i},22826:function(e,t){function n(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function r(e,t,i,o){if(i<o){var a=i-1;n(e,(l=i,f=o,Math.round(l+Math.random()*(f-l))),o);for(var s=e[o],u=i;u<o;u++)t(e[u],s)<=0&&n(e,a+=1,u);n(e,a+1,u);var c=a+1;r(e,t,i,c-1),r(e,t,c+1,o)}var l,f}t.U=function(e,t){r(e,t,0,e.length-1)}},76771:function(e,t,n){var r=n(32728),i=n(9216),o=n(78213).I,a=n(16400),s=n(22826).U;function u(e,t){var n=e;return"string"==typeof e&&(n=r.parseSourceMapInput(e)),null!=n.sections?new f(n,t):new c(n,t)}function c(e,t){var n=e;"string"==typeof e&&(n=r.parseSourceMapInput(e));var i=r.getArg(n,"version"),a=r.getArg(n,"sources"),s=r.getArg(n,"names",[]),u=r.getArg(n,"sourceRoot",null),c=r.getArg(n,"sourcesContent",null),l=r.getArg(n,"mappings"),f=r.getArg(n,"file",null);if(i!=this._version)throw new Error("Unsupported version: "+i);u&&(u=r.normalize(u)),a=a.map(String).map(r.normalize).map((function(e){return u&&r.isAbsolute(u)&&r.isAbsolute(e)?r.relative(u,e):e})),this._names=o.fromArray(s.map(String),!0),this._sources=o.fromArray(a,!0),this._absoluteSources=this._sources.toArray().map((function(e){return r.computeSourceURL(u,e,t)})),this.sourceRoot=u,this.sourcesContent=c,this._mappings=l,this._sourceMapURL=t,this.file=f}function l(){this.generatedLine=0,this.generatedColumn=0,this.source=null,this.originalLine=null,this.originalColumn=null,this.name=null}function f(e,t){var n=e;"string"==typeof e&&(n=r.parseSourceMapInput(e));var i=r.getArg(n,"version"),a=r.getArg(n,"sections");if(i!=this._version)throw new Error("Unsupported version: "+i);this._sources=new o,this._names=new o;var s={line:-1,column:0};this._sections=a.map((function(e){if(e.url)throw new Error("Support for url field in sections not implemented.");var n=r.getArg(e,"offset"),i=r.getArg(n,"line"),o=r.getArg(n,"column");if(i<s.line||i===s.line&&o<s.column)throw new Error("Section offsets must be ordered and non-overlapping.");return s=n,{generatedOffset:{generatedLine:i+1,generatedColumn:o+1},consumer:new u(r.getArg(e,"map"),t)}}))}u.fromSourceMap=function(e,t){return c.fromSourceMap(e,t)},u.prototype._version=3,u.prototype.__generatedMappings=null,Object.defineProperty(u.prototype,"_generatedMappings",{configurable:!0,enumerable:!0,get:function(){return this.__generatedMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__generatedMappings}}),u.prototype.__originalMappings=null,Object.defineProperty(u.prototype,"_originalMappings",{configurable:!0,enumerable:!0,get:function(){return this.__originalMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__originalMappings}}),u.prototype._charIsMappingSeparator=function(e,t){var n=e.charAt(t);return";"===n||","===n},u.prototype._parseMappings=function(e,t){throw new Error("Subclasses must implement _parseMappings")},u.GENERATED_ORDER=1,u.ORIGINAL_ORDER=2,u.GREATEST_LOWER_BOUND=1,u.LEAST_UPPER_BOUND=2,u.prototype.eachMapping=function(e,t,n){var i,o=t||null;switch(n||u.GENERATED_ORDER){case u.GENERATED_ORDER:i=this._generatedMappings;break;case u.ORIGINAL_ORDER:i=this._originalMappings;break;default:throw new Error("Unknown order of iteration.")}var a=this.sourceRoot;i.map((function(e){var t=null===e.source?null:this._sources.at(e.source);return{source:t=r.computeSourceURL(a,t,this._sourceMapURL),generatedLine:e.generatedLine,generatedColumn:e.generatedColumn,originalLine:e.originalLine,originalColumn:e.originalColumn,name:null===e.name?null:this._names.at(e.name)}}),this).forEach(e,o)},u.prototype.allGeneratedPositionsFor=function(e){var t=r.getArg(e,"line"),n={source:r.getArg(e,"source"),originalLine:t,originalColumn:r.getArg(e,"column",0)};if(n.source=this._findSourceIndex(n.source),n.source<0)return[];var o=[],a=this._findMapping(n,this._originalMappings,"originalLine","originalColumn",r.compareByOriginalPositions,i.LEAST_UPPER_BOUND);if(a>=0){var s=this._originalMappings[a];if(void 0===e.column)for(var u=s.originalLine;s&&s.originalLine===u;)o.push({line:r.getArg(s,"generatedLine",null),column:r.getArg(s,"generatedColumn",null),lastColumn:r.getArg(s,"lastGeneratedColumn",null)}),s=this._originalMappings[++a];else for(var c=s.originalColumn;s&&s.originalLine===t&&s.originalColumn==c;)o.push({line:r.getArg(s,"generatedLine",null),column:r.getArg(s,"generatedColumn",null),lastColumn:r.getArg(s,"lastGeneratedColumn",null)}),s=this._originalMappings[++a]}return o},t.SourceMapConsumer=u,c.prototype=Object.create(u.prototype),c.prototype.consumer=u,c.prototype._findSourceIndex=function(e){var t,n=e;if(null!=this.sourceRoot&&(n=r.relative(this.sourceRoot,n)),this._sources.has(n))return this._sources.indexOf(n);for(t=0;t<this._absoluteSources.length;++t)if(this._absoluteSources[t]==e)return t;return-1},c.fromSourceMap=function(e,t){var n=Object.create(c.prototype),i=n._names=o.fromArray(e._names.toArray(),!0),a=n._sources=o.fromArray(e._sources.toArray(),!0);n.sourceRoot=e._sourceRoot,n.sourcesContent=e._generateSourcesContent(n._sources.toArray(),n.sourceRoot),n.file=e._file,n._sourceMapURL=t,n._absoluteSources=n._sources.toArray().map((function(e){return r.computeSourceURL(n.sourceRoot,e,t)}));for(var u=e._mappings.toArray().slice(),f=n.__generatedMappings=[],d=n.__originalMappings=[],p=0,h=u.length;p<h;p++){var g=u[p],m=new l;m.generatedLine=g.generatedLine,m.generatedColumn=g.generatedColumn,g.source&&(m.source=a.indexOf(g.source),m.originalLine=g.originalLine,m.originalColumn=g.originalColumn,g.name&&(m.name=i.indexOf(g.name)),d.push(m)),f.push(m)}return s(n.__originalMappings,r.compareByOriginalPositions),n},c.prototype._version=3,Object.defineProperty(c.prototype,"sources",{get:function(){return this._absoluteSources.slice()}}),c.prototype._parseMappings=function(e,t){for(var n,i,o,u,c,f=1,d=0,p=0,h=0,g=0,m=0,y=e.length,v=0,b={},_={},w=[],T=[];v<y;)if(";"===e.charAt(v))f++,v++,d=0;else if(","===e.charAt(v))v++;else{for((n=new l).generatedLine=f,u=v;u<y&&!this._charIsMappingSeparator(e,u);u++);if(o=b[i=e.slice(v,u)])v+=i.length;else{for(o=[];v<u;)a.decode(e,v,_),c=_.value,v=_.rest,o.push(c);if(2===o.length)throw new Error("Found a source, but no line and column");if(3===o.length)throw new Error("Found a source and line, but no column");b[i]=o}n.generatedColumn=d+o[0],d=n.generatedColumn,o.length>1&&(n.source=g+o[1],g+=o[1],n.originalLine=p+o[2],p=n.originalLine,n.originalLine+=1,n.originalColumn=h+o[3],h=n.originalColumn,o.length>4&&(n.name=m+o[4],m+=o[4])),T.push(n),"number"==typeof n.originalLine&&w.push(n)}s(T,r.compareByGeneratedPositionsDeflated),this.__generatedMappings=T,s(w,r.compareByOriginalPositions),this.__originalMappings=w},c.prototype._findMapping=function(e,t,n,r,o,a){if(e[n]<=0)throw new TypeError("Line must be greater than or equal to 1, got "+e[n]);if(e[r]<0)throw new TypeError("Column must be greater than or equal to 0, got "+e[r]);return i.search(e,t,o,a)},c.prototype.computeColumnSpans=function(){for(var e=0;e<this._generatedMappings.length;++e){var t=this._generatedMappings[e];if(e+1<this._generatedMappings.length){var n=this._generatedMappings[e+1];if(t.generatedLine===n.generatedLine){t.lastGeneratedColumn=n.generatedColumn-1;continue}}t.lastGeneratedColumn=1/0}},c.prototype.originalPositionFor=function(e){var t={generatedLine:r.getArg(e,"line"),generatedColumn:r.getArg(e,"column")},n=this._findMapping(t,this._generatedMappings,"generatedLine","generatedColumn",r.compareByGeneratedPositionsDeflated,r.getArg(e,"bias",u.GREATEST_LOWER_BOUND));if(n>=0){var i=this._generatedMappings[n];if(i.generatedLine===t.generatedLine){var o=r.getArg(i,"source",null);null!==o&&(o=this._sources.at(o),o=r.computeSourceURL(this.sourceRoot,o,this._sourceMapURL));var a=r.getArg(i,"name",null);return null!==a&&(a=this._names.at(a)),{source:o,line:r.getArg(i,"originalLine",null),column:r.getArg(i,"originalColumn",null),name:a}}}return{source:null,line:null,column:null,name:null}},c.prototype.hasContentsOfAllSources=function(){return!!this.sourcesContent&&(this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some((function(e){return null==e})))},c.prototype.sourceContentFor=function(e,t){if(!this.sourcesContent)return null;var n=this._findSourceIndex(e);if(n>=0)return this.sourcesContent[n];var i,o=e;if(null!=this.sourceRoot&&(o=r.relative(this.sourceRoot,o)),null!=this.sourceRoot&&(i=r.urlParse(this.sourceRoot))){var a=o.replace(/^file:\/\//,"");if("file"==i.scheme&&this._sources.has(a))return this.sourcesContent[this._sources.indexOf(a)];if((!i.path||"/"==i.path)&&this._sources.has("/"+o))return this.sourcesContent[this._sources.indexOf("/"+o)]}if(t)return null;throw new Error('"'+o+'" is not in the SourceMap.')},c.prototype.generatedPositionFor=function(e){var t=r.getArg(e,"source");if((t=this._findSourceIndex(t))<0)return{line:null,column:null,lastColumn:null};var n={source:t,originalLine:r.getArg(e,"line"),originalColumn:r.getArg(e,"column")},i=this._findMapping(n,this._originalMappings,"originalLine","originalColumn",r.compareByOriginalPositions,r.getArg(e,"bias",u.GREATEST_LOWER_BOUND));if(i>=0){var o=this._originalMappings[i];if(o.source===n.source)return{line:r.getArg(o,"generatedLine",null),column:r.getArg(o,"generatedColumn",null),lastColumn:r.getArg(o,"lastGeneratedColumn",null)}}return{line:null,column:null,lastColumn:null}},f.prototype=Object.create(u.prototype),f.prototype.constructor=u,f.prototype._version=3,Object.defineProperty(f.prototype,"sources",{get:function(){for(var e=[],t=0;t<this._sections.length;t++)for(var n=0;n<this._sections[t].consumer.sources.length;n++)e.push(this._sections[t].consumer.sources[n]);return e}}),f.prototype.originalPositionFor=function(e){var t={generatedLine:r.getArg(e,"line"),generatedColumn:r.getArg(e,"column")},n=i.search(t,this._sections,(function(e,t){var n=e.generatedLine-t.generatedOffset.generatedLine;return n||e.generatedColumn-t.generatedOffset.generatedColumn})),o=this._sections[n];return o?o.consumer.originalPositionFor({line:t.generatedLine-(o.generatedOffset.generatedLine-1),column:t.generatedColumn-(o.generatedOffset.generatedLine===t.generatedLine?o.generatedOffset.generatedColumn-1:0),bias:e.bias}):{source:null,line:null,column:null,name:null}},f.prototype.hasContentsOfAllSources=function(){return this._sections.every((function(e){return e.consumer.hasContentsOfAllSources()}))},f.prototype.sourceContentFor=function(e,t){for(var n=0;n<this._sections.length;n++){var r=this._sections[n].consumer.sourceContentFor(e,!0);if(r)return r}if(t)return null;throw new Error('"'+e+'" is not in the SourceMap.')},f.prototype.generatedPositionFor=function(e){for(var t=0;t<this._sections.length;t++){var n=this._sections[t];if(-1!==n.consumer._findSourceIndex(r.getArg(e,"source"))){var i=n.consumer.generatedPositionFor(e);if(i)return{line:i.line+(n.generatedOffset.generatedLine-1),column:i.column+(n.generatedOffset.generatedLine===i.line?n.generatedOffset.generatedColumn-1:0)}}}return{line:null,column:null}},f.prototype._parseMappings=function(e,t){this.__generatedMappings=[],this.__originalMappings=[];for(var n=0;n<this._sections.length;n++)for(var i=this._sections[n],o=i.consumer._generatedMappings,a=0;a<o.length;a++){var u=o[a],c=i.consumer._sources.at(u.source);c=r.computeSourceURL(i.consumer.sourceRoot,c,this._sourceMapURL),this._sources.add(c),c=this._sources.indexOf(c);var l=null;u.name&&(l=i.consumer._names.at(u.name),this._names.add(l),l=this._names.indexOf(l));var f={source:c,generatedLine:u.generatedLine+(i.generatedOffset.generatedLine-1),generatedColumn:u.generatedColumn+(i.generatedOffset.generatedLine===u.generatedLine?i.generatedOffset.generatedColumn-1:0),originalLine:u.originalLine,originalColumn:u.originalColumn,name:l};this.__generatedMappings.push(f),"number"==typeof f.originalLine&&this.__originalMappings.push(f)}s(this.__generatedMappings,r.compareByGeneratedPositionsDeflated),s(this.__originalMappings,r.compareByOriginalPositions)}},34433:function(e,t,n){var r=n(16400),i=n(32728),o=n(78213).I,a=n(21188).H;function s(e){e||(e={}),this._file=i.getArg(e,"file",null),this._sourceRoot=i.getArg(e,"sourceRoot",null),this._skipValidation=i.getArg(e,"skipValidation",!1),this._sources=new o,this._names=new o,this._mappings=new a,this._sourcesContents=null}s.prototype._version=3,s.fromSourceMap=function(e){var t=e.sourceRoot,n=new s({file:e.file,sourceRoot:t});return e.eachMapping((function(e){var r={generated:{line:e.generatedLine,column:e.generatedColumn}};null!=e.source&&(r.source=e.source,null!=t&&(r.source=i.relative(t,r.source)),r.original={line:e.originalLine,column:e.originalColumn},null!=e.name&&(r.name=e.name)),n.addMapping(r)})),e.sources.forEach((function(r){var o=r;null!==t&&(o=i.relative(t,r)),n._sources.has(o)||n._sources.add(o);var a=e.sourceContentFor(r);null!=a&&n.setSourceContent(r,a)})),n},s.prototype.addMapping=function(e){var t=i.getArg(e,"generated"),n=i.getArg(e,"original",null),r=i.getArg(e,"source",null),o=i.getArg(e,"name",null);this._skipValidation||this._validateMapping(t,n,r,o),null!=r&&(r=String(r),this._sources.has(r)||this._sources.add(r)),null!=o&&(o=String(o),this._names.has(o)||this._names.add(o)),this._mappings.add({generatedLine:t.line,generatedColumn:t.column,originalLine:null!=n&&n.line,originalColumn:null!=n&&n.column,source:r,name:o})},s.prototype.setSourceContent=function(e,t){var n=e;null!=this._sourceRoot&&(n=i.relative(this._sourceRoot,n)),null!=t?(this._sourcesContents||(this._sourcesContents=Object.create(null)),this._sourcesContents[i.toSetString(n)]=t):this._sourcesContents&&(delete this._sourcesContents[i.toSetString(n)],0===Object.keys(this._sourcesContents).length&&(this._sourcesContents=null))},s.prototype.applySourceMap=function(e,t,n){var r=t;if(null==t){if(null==e.file)throw new Error('SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, or the source map\'s "file" property. Both were omitted.');r=e.file}var a=this._sourceRoot;null!=a&&(r=i.relative(a,r));var s=new o,u=new o;this._mappings.unsortedForEach((function(t){if(t.source===r&&null!=t.originalLine){var o=e.originalPositionFor({line:t.originalLine,column:t.originalColumn});null!=o.source&&(t.source=o.source,null!=n&&(t.source=i.join(n,t.source)),null!=a&&(t.source=i.relative(a,t.source)),t.originalLine=o.line,t.originalColumn=o.column,null!=o.name&&(t.name=o.name))}var c=t.source;null==c||s.has(c)||s.add(c);var l=t.name;null==l||u.has(l)||u.add(l)}),this),this._sources=s,this._names=u,e.sources.forEach((function(t){var r=e.sourceContentFor(t);null!=r&&(null!=n&&(t=i.join(n,t)),null!=a&&(t=i.relative(a,t)),this.setSourceContent(t,r))}),this)},s.prototype._validateMapping=function(e,t,n,r){if(t&&"number"!=typeof t.line&&"number"!=typeof t.column)throw new Error("original.line and original.column are not numbers -- you probably meant to omit the original mapping entirely and only map the generated position. If so, pass null for the original mapping instead of an object with empty or null values.");if((!(e&&"line"in e&&"column"in e&&e.line>0&&e.column>=0)||t||n||r)&&!(e&&"line"in e&&"column"in e&&t&&"line"in t&&"column"in t&&e.line>0&&e.column>=0&&t.line>0&&t.column>=0&&n))throw new Error("Invalid mapping: "+JSON.stringify({generated:e,source:n,original:t,name:r}))},s.prototype._serializeMappings=function(){for(var e,t,n,o,a=0,s=1,u=0,c=0,l=0,f=0,d="",p=this._mappings.toArray(),h=0,g=p.length;h<g;h++){if(e="",(t=p[h]).generatedLine!==s)for(a=0;t.generatedLine!==s;)e+=";",s++;else if(h>0){if(!i.compareByGeneratedPositionsInflated(t,p[h-1]))continue;e+=","}e+=r.encode(t.generatedColumn-a),a=t.generatedColumn,null!=t.source&&(o=this._sources.indexOf(t.source),e+=r.encode(o-f),f=o,e+=r.encode(t.originalLine-1-c),c=t.originalLine-1,e+=r.encode(t.originalColumn-u),u=t.originalColumn,null!=t.name&&(n=this._names.indexOf(t.name),e+=r.encode(n-l),l=n)),d+=e}return d},s.prototype._generateSourcesContent=function(e,t){return e.map((function(e){if(!this._sourcesContents)return null;null!=t&&(e=i.relative(t,e));var n=i.toSetString(e);return Object.prototype.hasOwnProperty.call(this._sourcesContents,n)?this._sourcesContents[n]:null}),this)},s.prototype.toJSON=function(){var e={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};return null!=this._file&&(e.file=this._file),null!=this._sourceRoot&&(e.sourceRoot=this._sourceRoot),this._sourcesContents&&(e.sourcesContent=this._generateSourcesContent(e.sources,e.sourceRoot)),e},s.prototype.toString=function(){return JSON.stringify(this.toJSON())},t.SourceMapGenerator=s},17085:function(e,t,n){var r=n(34433).SourceMapGenerator,i=n(32728),o=/(\r?\n)/,a="$$$isSourceNode$$$";function s(e,t,n,r,i){this.children=[],this.sourceContents={},this.line=null==e?null:e,this.column=null==t?null:t,this.source=null==n?null:n,this.name=null==i?null:i,this[a]=!0,null!=r&&this.add(r)}s.fromStringWithSourceMap=function(e,t,n){var r=new s,a=e.split(o),u=0,c=function(){return e()+(e()||"");function e(){return u<a.length?a[u++]:void 0}},l=1,f=0,d=null;return t.eachMapping((function(e){if(null!==d){if(!(l<e.generatedLine)){var t=(n=a[u]||"").substr(0,e.generatedColumn-f);return a[u]=n.substr(e.generatedColumn-f),f=e.generatedColumn,p(d,t),void(d=e)}p(d,c()),l++,f=0}for(;l<e.generatedLine;)r.add(c()),l++;if(f<e.generatedColumn){var n=a[u]||"";r.add(n.substr(0,e.generatedColumn)),a[u]=n.substr(e.generatedColumn),f=e.generatedColumn}d=e}),this),u<a.length&&(d&&p(d,c()),r.add(a.splice(u).join(""))),t.sources.forEach((function(e){var o=t.sourceContentFor(e);null!=o&&(null!=n&&(e=i.join(n,e)),r.setSourceContent(e,o))})),r;function p(e,t){if(null===e||void 0===e.source)r.add(t);else{var o=n?i.join(n,e.source):e.source;r.add(new s(e.originalLine,e.originalColumn,o,t,e.name))}}},s.prototype.add=function(e){if(Array.isArray(e))e.forEach((function(e){this.add(e)}),this);else{if(!e[a]&&"string"!=typeof e)throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+e);e&&this.children.push(e)}return this},s.prototype.prepend=function(e){if(Array.isArray(e))for(var t=e.length-1;t>=0;t--)this.prepend(e[t]);else{if(!e[a]&&"string"!=typeof e)throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+e);this.children.unshift(e)}return this},s.prototype.walk=function(e){for(var t,n=0,r=this.children.length;n<r;n++)(t=this.children[n])[a]?t.walk(e):""!==t&&e(t,{source:this.source,line:this.line,column:this.column,name:this.name})},s.prototype.join=function(e){var t,n,r=this.children.length;if(r>0){for(t=[],n=0;n<r-1;n++)t.push(this.children[n]),t.push(e);t.push(this.children[n]),this.children=t}return this},s.prototype.replaceRight=function(e,t){var n=this.children[this.children.length-1];return n[a]?n.replaceRight(e,t):"string"==typeof n?this.children[this.children.length-1]=n.replace(e,t):this.children.push("".replace(e,t)),this},s.prototype.setSourceContent=function(e,t){this.sourceContents[i.toSetString(e)]=t},s.prototype.walkSourceContents=function(e){for(var t=0,n=this.children.length;t<n;t++)this.children[t][a]&&this.children[t].walkSourceContents(e);var r=Object.keys(this.sourceContents);for(t=0,n=r.length;t<n;t++)e(i.fromSetString(r[t]),this.sourceContents[r[t]])},s.prototype.toString=function(){var e="";return this.walk((function(t){e+=t})),e},s.prototype.toStringWithSourceMap=function(e){var t={code:"",line:1,column:0},n=new r(e),i=!1,o=null,a=null,s=null,u=null;return this.walk((function(e,r){t.code+=e,null!==r.source&&null!==r.line&&null!==r.column?(o===r.source&&a===r.line&&s===r.column&&u===r.name||n.addMapping({source:r.source,original:{line:r.line,column:r.column},generated:{line:t.line,column:t.column},name:r.name}),o=r.source,a=r.line,s=r.column,u=r.name,i=!0):i&&(n.addMapping({generated:{line:t.line,column:t.column}}),o=null,i=!1);for(var c=0,l=e.length;c<l;c++)10===e.charCodeAt(c)?(t.line++,t.column=0,c+1===l?(o=null,i=!1):i&&n.addMapping({source:r.source,original:{line:r.line,column:r.column},generated:{line:t.line,column:t.column},name:r.name})):t.column++})),this.walkSourceContents((function(e,t){n.setSourceContent(e,t)})),{code:t.code,map:n}},t.SourceNode=s},32728:function(e,t){t.getArg=function(e,t,n){if(t in e)return e[t];if(3===arguments.length)return n;throw new Error('"'+t+'" is a required argument.')};var n=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/,r=/^data:.+\,.+$/;function i(e){var t=e.match(n);return t?{scheme:t[1],auth:t[2],host:t[3],port:t[4],path:t[5]}:null}function o(e){var t="";return e.scheme&&(t+=e.scheme+":"),t+="//",e.auth&&(t+=e.auth+"@"),e.host&&(t+=e.host),e.port&&(t+=":"+e.port),e.path&&(t+=e.path),t}function a(e){var n=e,r=i(e);if(r){if(!r.path)return e;n=r.path}for(var a,s=t.isAbsolute(n),u=n.split(/\/+/),c=0,l=u.length-1;l>=0;l--)"."===(a=u[l])?u.splice(l,1):".."===a?c++:c>0&&(""===a?(u.splice(l+1,c),c=0):(u.splice(l,2),c--));return""===(n=u.join("/"))&&(n=s?"/":"."),r?(r.path=n,o(r)):n}function s(e,t){""===e&&(e="."),""===t&&(t=".");var n=i(t),s=i(e);if(s&&(e=s.path||"/"),n&&!n.scheme)return s&&(n.scheme=s.scheme),o(n);if(n||t.match(r))return t;if(s&&!s.host&&!s.path)return s.host=t,o(s);var u="/"===t.charAt(0)?t:a(e.replace(/\/+$/,"")+"/"+t);return s?(s.path=u,o(s)):u}t.urlParse=i,t.urlGenerate=o,t.normalize=a,t.join=s,t.isAbsolute=function(e){return"/"===e.charAt(0)||n.test(e)},t.relative=function(e,t){""===e&&(e="."),e=e.replace(/\/$/,"");for(var n=0;0!==t.indexOf(e+"/");){var r=e.lastIndexOf("/");if(r<0)return t;if((e=e.slice(0,r)).match(/^([^\/]+:\/)?\/*$/))return t;++n}return Array(n+1).join("../")+t.substr(e.length+1)};var u=!("__proto__"in Object.create(null));function c(e){return e}function l(e){if(!e)return!1;var t=e.length;if(t<9)return!1;if(95!==e.charCodeAt(t-1)||95!==e.charCodeAt(t-2)||111!==e.charCodeAt(t-3)||116!==e.charCodeAt(t-4)||111!==e.charCodeAt(t-5)||114!==e.charCodeAt(t-6)||112!==e.charCodeAt(t-7)||95!==e.charCodeAt(t-8)||95!==e.charCodeAt(t-9))return!1;for(var n=t-10;n>=0;n--)if(36!==e.charCodeAt(n))return!1;return!0}function f(e,t){return e===t?0:null===e?1:null===t?-1:e>t?1:-1}t.toSetString=u?c:function(e){return l(e)?"$"+e:e},t.fromSetString=u?c:function(e){return l(e)?e.slice(1):e},t.compareByOriginalPositions=function(e,t,n){var r=f(e.source,t.source);return 0!==r||0!==(r=e.originalLine-t.originalLine)||0!==(r=e.originalColumn-t.originalColumn)||n||0!==(r=e.generatedColumn-t.generatedColumn)||0!==(r=e.generatedLine-t.generatedLine)?r:f(e.name,t.name)},t.compareByGeneratedPositionsDeflated=function(e,t,n){var r=e.generatedLine-t.generatedLine;return 0!==r||0!==(r=e.generatedColumn-t.generatedColumn)||n||0!==(r=f(e.source,t.source))||0!==(r=e.originalLine-t.originalLine)||0!==(r=e.originalColumn-t.originalColumn)?r:f(e.name,t.name)},t.compareByGeneratedPositionsInflated=function(e,t){var n=e.generatedLine-t.generatedLine;return 0!==n||0!==(n=e.generatedColumn-t.generatedColumn)||0!==(n=f(e.source,t.source))||0!==(n=e.originalLine-t.originalLine)||0!==(n=e.originalColumn-t.originalColumn)?n:f(e.name,t.name)},t.parseSourceMapInput=function(e){return JSON.parse(e.replace(/^\)]}'[^\n]*\n/,""))},t.computeSourceURL=function(e,t,n){if(t=t||"",e&&("/"!==e[e.length-1]&&"/"!==t[0]&&(e+="/"),t=e+t),n){var r=i(n);if(!r)throw new Error("sourceMapURL could not be parsed");if(r.path){var u=r.path.lastIndexOf("/");u>=0&&(r.path=r.path.substring(0,u+1))}t=s(o(r),t)}return a(t)}},49125:function(e,t,n){t.SourceMapGenerator=n(34433).SourceMapGenerator,t.SourceMapConsumer=n(76771).SourceMapConsumer,t.SourceNode=n(17085).SourceNode},36084:function(e,t,n){"use strict";var r=n(82120),i=n(64666),o=/^\d+$/;t.parse=function(e){return(t=e.split(",").map((function(e){var t={};return e.trim().split(/\s+/).forEach((function(e,n){if(0===n)return t.url=e;var i=e.substring(0,e.length-1),a=e[e.length-1],s=parseInt(i,10),u=parseFloat(i);if("w"===a&&o.test(i))t.width=s;else if("h"===a&&o.test(i))t.height=s;else{if("x"!==a||r(u))throw new Error("Invalid srcset descriptor: "+e+".");t.density=u}})),t}))).sort().filter((function(e,n){return JSON.stringify(e)!==JSON.stringify(t[n-1])}));var t},t.stringify=function(e){return i(e.map((function(e){if(!e.url)throw new Error("URL is required.");var t=[e.url];return e.width&&t.push(e.width+"w"),e.height&&t.push(e.height+"h"),e.density&&t.push(e.density+"x"),t.join(" ")}))).join(", ")}},42830:function(e,t,n){e.exports=i;var r=n(17187).EventEmitter;function i(){r.call(this)}n(35717)(i,r),i.Readable=n(56577),i.Writable=n(20323),i.Duplex=n(68656),i.Transform=n(94473),i.PassThrough=n(2366),i.finished=n(81086),i.pipeline=n(56472),i.Stream=i,i.prototype.pipe=function(e,t){var n=this;function i(t){e.writable&&!1===e.write(t)&&n.pause&&n.pause()}function o(){n.readable&&n.resume&&n.resume()}n.on("data",i),e.on("drain",o),e._isStdio||t&&!1===t.end||(n.on("end",s),n.on("close",u));var a=!1;function s(){a||(a=!0,e.end())}function u(){a||(a=!0,"function"==typeof e.destroy&&e.destroy())}function c(e){if(l(),0===r.listenerCount(this,"error"))throw e}function l(){n.removeListener("data",i),e.removeListener("drain",o),n.removeListener("end",s),n.removeListener("close",u),n.removeListener("error",c),e.removeListener("error",c),n.removeListener("end",l),n.removeListener("close",l),e.removeListener("close",l)}return n.on("error",c),e.on("error",c),n.on("end",l),n.on("close",l),e.on("close",l),e.emit("pipe",n),e}},58106:function(e){"use strict";var t={};function n(e,n,r){r||(r=Error);var i=function(e){var t,r;function i(t,r,i){return e.call(this,function(e,t,r){return"string"==typeof n?n:n(e,t,r)}(t,r,i))||this}return r=e,(t=i).prototype=Object.create(r.prototype),t.prototype.constructor=t,t.__proto__=r,i}(r);i.prototype.name=r.name,i.prototype.code=e,t[e]=i}function r(e,t){if(Array.isArray(e)){var n=e.length;return e=e.map((function(e){return String(e)})),n>2?"one of ".concat(t," ").concat(e.slice(0,n-1).join(", "),", or ")+e[n-1]:2===n?"one of ".concat(t," ").concat(e[0]," or ").concat(e[1]):"of ".concat(t," ").concat(e[0])}return"of ".concat(t," ").concat(String(e))}n("ERR_INVALID_OPT_VALUE",(function(e,t){return'The value "'+t+'" is invalid for option "'+e+'"'}),TypeError),n("ERR_INVALID_ARG_TYPE",(function(e,t,n){var i,o,a,s;if("string"==typeof t&&(o="not ",t.substr(!a||a<0?0:+a,o.length)===o)?(i="must not be",t=t.replace(/^not /,"")):i="must be",function(e,t,n){return(void 0===n||n>e.length)&&(n=e.length),e.substring(n-t.length,n)===t}(e," argument"))s="The ".concat(e," ").concat(i," ").concat(r(t,"type"));else{var u=function(e,t,n){return"number"!=typeof n&&(n=0),!(n+t.length>e.length)&&-1!==e.indexOf(t,n)}(e,".")?"property":"argument";s='The "'.concat(e,'" ').concat(u," ").concat(i," ").concat(r(t,"type"))}return s+=". Received type ".concat(typeof n)}),TypeError),n("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),n("ERR_METHOD_NOT_IMPLEMENTED",(function(e){return"The "+e+" method is not implemented"})),n("ERR_STREAM_PREMATURE_CLOSE","Premature close"),n("ERR_STREAM_DESTROYED",(function(e){return"Cannot call "+e+" after a stream was destroyed"})),n("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),n("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),n("ERR_STREAM_WRITE_AFTER_END","write after end"),n("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),n("ERR_UNKNOWN_ENCODING",(function(e){return"Unknown encoding: "+e}),TypeError),n("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),e.exports.q=t},68656:function(e,t,n){"use strict";var r=Object.keys||function(e){var t=[];for(var n in e)t.push(n);return t};e.exports=c;var i=n(56577),o=n(20323);n(35717)(c,i);for(var a=r(o.prototype),s=0;s<a.length;s++){var u=a[s];c.prototype[u]||(c.prototype[u]=o.prototype[u])}function c(e){if(!(this instanceof c))return new c(e);i.call(this,e),o.call(this,e),this.allowHalfOpen=!0,e&&(!1===e.readable&&(this.readable=!1),!1===e.writable&&(this.writable=!1),!1===e.allowHalfOpen&&(this.allowHalfOpen=!1,this.once("end",l)))}function l(){this._writableState.ended||process.nextTick(f,this)}function f(e){e.end()}Object.defineProperty(c.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(c.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(c.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(c.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed&&this._writableState.destroyed)},set:function(e){void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed=e,this._writableState.destroyed=e)}})},2366:function(e,t,n){"use strict";e.exports=i;var r=n(94473);function i(e){if(!(this instanceof i))return new i(e);r.call(this,e)}n(35717)(i,r),i.prototype._transform=function(e,t,n){n(null,e)}},56577:function(e,t,n){"use strict";var r;e.exports=S,S.ReadableState=x;n(17187).EventEmitter;var i=function(e,t){return e.listeners(t).length},o=n(83194),a=n(48764).Buffer,s=n.g.Uint8Array||function(){};var u,c=n(40964);u=c&&c.debuglog?c.debuglog("stream"):function(){};var l,f,d,p=n(39686),h=n(71029),g=n(30094).getHighWaterMark,m=n(58106).q,y=m.ERR_INVALID_ARG_TYPE,v=m.ERR_STREAM_PUSH_AFTER_EOF,b=m.ERR_METHOD_NOT_IMPLEMENTED,_=m.ERR_STREAM_UNSHIFT_AFTER_END_EVENT;n(35717)(S,o);var w=h.errorOrDestroy,T=["error","close","destroy","pause","resume"];function x(e,t,i){r=r||n(68656),e=e||{},"boolean"!=typeof i&&(i=t instanceof r),this.objectMode=!!e.objectMode,i&&(this.objectMode=this.objectMode||!!e.readableObjectMode),this.highWaterMark=g(this,e,"readableHighWaterMark",i),this.buffer=new p,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.paused=!0,this.emitClose=!1!==e.emitClose,this.autoDestroy=!!e.autoDestroy,this.destroyed=!1,this.defaultEncoding=e.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,e.encoding&&(l||(l=n(54729).s),this.decoder=new l(e.encoding),this.encoding=e.encoding)}function S(e){if(r=r||n(68656),!(this instanceof S))return new S(e);var t=this instanceof r;this._readableState=new x(e,this,t),this.readable=!0,e&&("function"==typeof e.read&&(this._read=e.read),"function"==typeof e.destroy&&(this._destroy=e.destroy)),o.call(this)}function k(e,t,n,r,i){u("readableAddChunk",t);var o,c=e._readableState;if(null===t)c.reading=!1,function(e,t){if(u("onEofChunk"),t.ended)return;if(t.decoder){var n=t.decoder.end();n&&n.length&&(t.buffer.push(n),t.length+=t.objectMode?1:n.length)}t.ended=!0,t.sync?L(e):(t.needReadable=!1,t.emittedReadable||(t.emittedReadable=!0,A(e)))}(e,c);else if(i||(o=function(e,t){var n;r=t,a.isBuffer(r)||r instanceof s||"string"==typeof t||void 0===t||e.objectMode||(n=new y("chunk",["string","Buffer","Uint8Array"],t));var r;return n}(c,t)),o)w(e,o);else if(c.objectMode||t&&t.length>0)if("string"==typeof t||c.objectMode||Object.getPrototypeOf(t)===a.prototype||(t=function(e){return a.from(e)}(t)),r)c.endEmitted?w(e,new _):E(e,c,t,!0);else if(c.ended)w(e,new v);else{if(c.destroyed)return!1;c.reading=!1,c.decoder&&!n?(t=c.decoder.write(t),c.objectMode||0!==t.length?E(e,c,t,!1):I(e,c)):E(e,c,t,!1)}else r||(c.reading=!1,I(e,c));return!c.ended&&(c.length<c.highWaterMark||0===c.length)}function E(e,t,n,r){t.flowing&&0===t.length&&!t.sync?(t.awaitDrain=0,e.emit("data",n)):(t.length+=t.objectMode?1:n.length,r?t.buffer.unshift(n):t.buffer.push(n),t.needReadable&&L(e)),I(e,t)}Object.defineProperty(S.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._readableState&&this._readableState.destroyed},set:function(e){this._readableState&&(this._readableState.destroyed=e)}}),S.prototype.destroy=h.destroy,S.prototype._undestroy=h.undestroy,S.prototype._destroy=function(e,t){t(e)},S.prototype.push=function(e,t){var n,r=this._readableState;return r.objectMode?n=!0:"string"==typeof e&&((t=t||r.defaultEncoding)!==r.encoding&&(e=a.from(e,t),t=""),n=!0),k(this,e,t,!1,n)},S.prototype.unshift=function(e){return k(this,e,null,!0,!1)},S.prototype.isPaused=function(){return!1===this._readableState.flowing},S.prototype.setEncoding=function(e){l||(l=n(54729).s);var t=new l(e);this._readableState.decoder=t,this._readableState.encoding=this._readableState.decoder.encoding;for(var r=this._readableState.buffer.head,i="";null!==r;)i+=t.write(r.data),r=r.next;return this._readableState.buffer.clear(),""!==i&&this._readableState.buffer.push(i),this._readableState.length=i.length,this};var O=1073741824;function C(e,t){return e<=0||0===t.length&&t.ended?0:t.objectMode?1:e!=e?t.flowing&&t.length?t.buffer.head.data.length:t.length:(e>t.highWaterMark&&(t.highWaterMark=function(e){return e>=O?e=O:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}(e)),e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0))}function L(e){var t=e._readableState;u("emitReadable",t.needReadable,t.emittedReadable),t.needReadable=!1,t.emittedReadable||(u("emitReadable",t.flowing),t.emittedReadable=!0,process.nextTick(A,e))}function A(e){var t=e._readableState;u("emitReadable_",t.destroyed,t.length,t.ended),t.destroyed||!t.length&&!t.ended||(e.emit("readable"),t.emittedReadable=!1),t.needReadable=!t.flowing&&!t.ended&&t.length<=t.highWaterMark,D(e)}function I(e,t){t.readingMore||(t.readingMore=!0,process.nextTick(P,e,t))}function P(e,t){for(;!t.reading&&!t.ended&&(t.length<t.highWaterMark||t.flowing&&0===t.length);){var n=t.length;if(u("maybeReadMore read 0"),e.read(0),n===t.length)break}t.readingMore=!1}function M(e){var t=e._readableState;t.readableListening=e.listenerCount("readable")>0,t.resumeScheduled&&!t.paused?t.flowing=!0:e.listenerCount("data")>0&&e.resume()}function R(e){u("readable nexttick read 0"),e.read(0)}function j(e,t){u("resume",t.reading),t.reading||e.read(0),t.resumeScheduled=!1,e.emit("resume"),D(e),t.flowing&&!t.reading&&e.read(0)}function D(e){var t=e._readableState;for(u("flow",t.flowing);t.flowing&&null!==e.read(););}function N(e,t){return 0===t.length?null:(t.objectMode?n=t.buffer.shift():!e||e>=t.length?(n=t.decoder?t.buffer.join(""):1===t.buffer.length?t.buffer.first():t.buffer.concat(t.length),t.buffer.clear()):n=t.buffer.consume(e,t.decoder),n);var n}function B(e){var t=e._readableState;u("endReadable",t.endEmitted),t.endEmitted||(t.ended=!0,process.nextTick(U,t,e))}function U(e,t){if(u("endReadableNT",e.endEmitted,e.length),!e.endEmitted&&0===e.length&&(e.endEmitted=!0,t.readable=!1,t.emit("end"),e.autoDestroy)){var n=t._writableState;(!n||n.autoDestroy&&n.finished)&&t.destroy()}}function F(e,t){for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1}S.prototype.read=function(e){u("read",e),e=parseInt(e,10);var t=this._readableState,n=e;if(0!==e&&(t.emittedReadable=!1),0===e&&t.needReadable&&((0!==t.highWaterMark?t.length>=t.highWaterMark:t.length>0)||t.ended))return u("read: emitReadable",t.length,t.ended),0===t.length&&t.ended?B(this):L(this),null;if(0===(e=C(e,t))&&t.ended)return 0===t.length&&B(this),null;var r,i=t.needReadable;return u("need readable",i),(0===t.length||t.length-e<t.highWaterMark)&&u("length less than watermark",i=!0),t.ended||t.reading?u("reading or ended",i=!1):i&&(u("do read"),t.reading=!0,t.sync=!0,0===t.length&&(t.needReadable=!0),this._read(t.highWaterMark),t.sync=!1,t.reading||(e=C(n,t))),null===(r=e>0?N(e,t):null)?(t.needReadable=t.length<=t.highWaterMark,e=0):(t.length-=e,t.awaitDrain=0),0===t.length&&(t.ended||(t.needReadable=!0),n!==e&&t.ended&&B(this)),null!==r&&this.emit("data",r),r},S.prototype._read=function(e){w(this,new b("_read()"))},S.prototype.pipe=function(e,t){var n=this,r=this._readableState;switch(r.pipesCount){case 0:r.pipes=e;break;case 1:r.pipes=[r.pipes,e];break;default:r.pipes.push(e)}r.pipesCount+=1,u("pipe count=%d opts=%j",r.pipesCount,t);var o=(!t||!1!==t.end)&&e!==process.stdout&&e!==process.stderr?s:g;function a(t,i){u("onunpipe"),t===n&&i&&!1===i.hasUnpiped&&(i.hasUnpiped=!0,u("cleanup"),e.removeListener("close",p),e.removeListener("finish",h),e.removeListener("drain",c),e.removeListener("error",d),e.removeListener("unpipe",a),n.removeListener("end",s),n.removeListener("end",g),n.removeListener("data",f),l=!0,!r.awaitDrain||e._writableState&&!e._writableState.needDrain||c())}function s(){u("onend"),e.end()}r.endEmitted?process.nextTick(o):n.once("end",o),e.on("unpipe",a);var c=function(e){return function(){var t=e._readableState;u("pipeOnDrain",t.awaitDrain),t.awaitDrain&&t.awaitDrain--,0===t.awaitDrain&&i(e,"data")&&(t.flowing=!0,D(e))}}(n);e.on("drain",c);var l=!1;function f(t){u("ondata");var i=e.write(t);u("dest.write",i),!1===i&&((1===r.pipesCount&&r.pipes===e||r.pipesCount>1&&-1!==F(r.pipes,e))&&!l&&(u("false write response, pause",r.awaitDrain),r.awaitDrain++),n.pause())}function d(t){u("onerror",t),g(),e.removeListener("error",d),0===i(e,"error")&&w(e,t)}function p(){e.removeListener("finish",h),g()}function h(){u("onfinish"),e.removeListener("close",p),g()}function g(){u("unpipe"),n.unpipe(e)}return n.on("data",f),function(e,t,n){if("function"==typeof e.prependListener)return e.prependListener(t,n);e._events&&e._events[t]?Array.isArray(e._events[t])?e._events[t].unshift(n):e._events[t]=[n,e._events[t]]:e.on(t,n)}(e,"error",d),e.once("close",p),e.once("finish",h),e.emit("pipe",n),r.flowing||(u("pipe resume"),n.resume()),e},S.prototype.unpipe=function(e){var t=this._readableState,n={hasUnpiped:!1};if(0===t.pipesCount)return this;if(1===t.pipesCount)return e&&e!==t.pipes||(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit("unpipe",this,n)),this;if(!e){var r=t.pipes,i=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var o=0;o<i;o++)r[o].emit("unpipe",this,{hasUnpiped:!1});return this}var a=F(t.pipes,e);return-1===a||(t.pipes.splice(a,1),t.pipesCount-=1,1===t.pipesCount&&(t.pipes=t.pipes[0]),e.emit("unpipe",this,n)),this},S.prototype.on=function(e,t){var n=o.prototype.on.call(this,e,t),r=this._readableState;return"data"===e?(r.readableListening=this.listenerCount("readable")>0,!1!==r.flowing&&this.resume()):"readable"===e&&(r.endEmitted||r.readableListening||(r.readableListening=r.needReadable=!0,r.flowing=!1,r.emittedReadable=!1,u("on readable",r.length,r.reading),r.length?L(this):r.reading||process.nextTick(R,this))),n},S.prototype.addListener=S.prototype.on,S.prototype.removeListener=function(e,t){var n=o.prototype.removeListener.call(this,e,t);return"readable"===e&&process.nextTick(M,this),n},S.prototype.removeAllListeners=function(e){var t=o.prototype.removeAllListeners.apply(this,arguments);return"readable"!==e&&void 0!==e||process.nextTick(M,this),t},S.prototype.resume=function(){var e=this._readableState;return e.flowing||(u("resume"),e.flowing=!e.readableListening,function(e,t){t.resumeScheduled||(t.resumeScheduled=!0,process.nextTick(j,e,t))}(this,e)),e.paused=!1,this},S.prototype.pause=function(){return u("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(u("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this},S.prototype.wrap=function(e){var t=this,n=this._readableState,r=!1;for(var i in e.on("end",(function(){if(u("wrapped end"),n.decoder&&!n.ended){var e=n.decoder.end();e&&e.length&&t.push(e)}t.push(null)})),e.on("data",(function(i){(u("wrapped data"),n.decoder&&(i=n.decoder.write(i)),n.objectMode&&null==i)||(n.objectMode||i&&i.length)&&(t.push(i)||(r=!0,e.pause()))})),e)void 0===this[i]&&"function"==typeof e[i]&&(this[i]=function(t){return function(){return e[t].apply(e,arguments)}}(i));for(var o=0;o<T.length;o++)e.on(T[o],this.emit.bind(this,T[o]));return this._read=function(t){u("wrapped _read",t),r&&(r=!1,e.resume())},this},"function"==typeof Symbol&&(S.prototype[Symbol.asyncIterator]=function(){return void 0===f&&(f=n(20828)),f(this)}),Object.defineProperty(S.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),Object.defineProperty(S.prototype,"readableBuffer",{enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}}),Object.defineProperty(S.prototype,"readableFlowing",{enumerable:!1,get:function(){return this._readableState.flowing},set:function(e){this._readableState&&(this._readableState.flowing=e)}}),S._fromList=N,Object.defineProperty(S.prototype,"readableLength",{enumerable:!1,get:function(){return this._readableState.length}}),"function"==typeof Symbol&&(S.from=function(e,t){return void 0===d&&(d=n(31265)),d(S,e,t)})},94473:function(e,t,n){"use strict";e.exports=l;var r=n(58106).q,i=r.ERR_METHOD_NOT_IMPLEMENTED,o=r.ERR_MULTIPLE_CALLBACK,a=r.ERR_TRANSFORM_ALREADY_TRANSFORMING,s=r.ERR_TRANSFORM_WITH_LENGTH_0,u=n(68656);function c(e,t){var n=this._transformState;n.transforming=!1;var r=n.writecb;if(null===r)return this.emit("error",new o);n.writechunk=null,n.writecb=null,null!=t&&this.push(t),r(e);var i=this._readableState;i.reading=!1,(i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}function l(e){if(!(this instanceof l))return new l(e);u.call(this,e),this._transformState={afterTransform:c.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,e&&("function"==typeof e.transform&&(this._transform=e.transform),"function"==typeof e.flush&&(this._flush=e.flush)),this.on("prefinish",f)}function f(){var e=this;"function"!=typeof this._flush||this._readableState.destroyed?d(this,null,null):this._flush((function(t,n){d(e,t,n)}))}function d(e,t,n){if(t)return e.emit("error",t);if(null!=n&&e.push(n),e._writableState.length)throw new s;if(e._transformState.transforming)throw new a;return e.push(null)}n(35717)(l,u),l.prototype.push=function(e,t){return this._transformState.needTransform=!1,u.prototype.push.call(this,e,t)},l.prototype._transform=function(e,t,n){n(new i("_transform()"))},l.prototype._write=function(e,t,n){var r=this._transformState;if(r.writecb=n,r.writechunk=e,r.writeencoding=t,!r.transforming){var i=this._readableState;(r.needTransform||i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}},l.prototype._read=function(e){var t=this._transformState;null===t.writechunk||t.transforming?t.needTransform=!0:(t.transforming=!0,this._transform(t.writechunk,t.writeencoding,t.afterTransform))},l.prototype._destroy=function(e,t){u.prototype._destroy.call(this,e,(function(e){t(e)}))}},20323:function(e,t,n){"use strict";function r(e){var t=this;this.next=null,this.entry=null,this.finish=function(){!function(e,t,n){var r=e.entry;e.entry=null;for(;r;){var i=r.callback;t.pendingcb--,i(n),r=r.next}t.corkedRequestsFree.next=e}(t,e)}}var i;e.exports=S,S.WritableState=x;var o={deprecate:n(94927)},a=n(83194),s=n(48764).Buffer,u=n.g.Uint8Array||function(){};var c,l=n(71029),f=n(30094).getHighWaterMark,d=n(58106).q,p=d.ERR_INVALID_ARG_TYPE,h=d.ERR_METHOD_NOT_IMPLEMENTED,g=d.ERR_MULTIPLE_CALLBACK,m=d.ERR_STREAM_CANNOT_PIPE,y=d.ERR_STREAM_DESTROYED,v=d.ERR_STREAM_NULL_VALUES,b=d.ERR_STREAM_WRITE_AFTER_END,_=d.ERR_UNKNOWN_ENCODING,w=l.errorOrDestroy;function T(){}function x(e,t,o){i=i||n(68656),e=e||{},"boolean"!=typeof o&&(o=t instanceof i),this.objectMode=!!e.objectMode,o&&(this.objectMode=this.objectMode||!!e.writableObjectMode),this.highWaterMark=f(this,e,"writableHighWaterMark",o),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var a=!1===e.decodeStrings;this.decodeStrings=!a,this.defaultEncoding=e.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(e){!function(e,t){var n=e._writableState,r=n.sync,i=n.writecb;if("function"!=typeof i)throw new g;if(function(e){e.writing=!1,e.writecb=null,e.length-=e.writelen,e.writelen=0}(n),t)!function(e,t,n,r,i){--t.pendingcb,n?(process.nextTick(i,r),process.nextTick(A,e,t),e._writableState.errorEmitted=!0,w(e,r)):(i(r),e._writableState.errorEmitted=!0,w(e,r),A(e,t))}(e,n,r,t,i);else{var o=C(n)||e.destroyed;o||n.corked||n.bufferProcessing||!n.bufferedRequest||O(e,n),r?process.nextTick(E,e,n,o,i):E(e,n,o,i)}}(t,e)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=!1!==e.emitClose,this.autoDestroy=!!e.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new r(this)}function S(e){var t=this instanceof(i=i||n(68656));if(!t&&!c.call(S,this))return new S(e);this._writableState=new x(e,this,t),this.writable=!0,e&&("function"==typeof e.write&&(this._write=e.write),"function"==typeof e.writev&&(this._writev=e.writev),"function"==typeof e.destroy&&(this._destroy=e.destroy),"function"==typeof e.final&&(this._final=e.final)),a.call(this)}function k(e,t,n,r,i,o,a){t.writelen=r,t.writecb=a,t.writing=!0,t.sync=!0,t.destroyed?t.onwrite(new y("write")):n?e._writev(i,t.onwrite):e._write(i,o,t.onwrite),t.sync=!1}function E(e,t,n,r){n||function(e,t){0===t.length&&t.needDrain&&(t.needDrain=!1,e.emit("drain"))}(e,t),t.pendingcb--,r(),A(e,t)}function O(e,t){t.bufferProcessing=!0;var n=t.bufferedRequest;if(e._writev&&n&&n.next){var i=t.bufferedRequestCount,o=new Array(i),a=t.corkedRequestsFree;a.entry=n;for(var s=0,u=!0;n;)o[s]=n,n.isBuf||(u=!1),n=n.next,s+=1;o.allBuffers=u,k(e,t,!0,t.length,o,"",a.finish),t.pendingcb++,t.lastBufferedRequest=null,a.next?(t.corkedRequestsFree=a.next,a.next=null):t.corkedRequestsFree=new r(t),t.bufferedRequestCount=0}else{for(;n;){var c=n.chunk,l=n.encoding,f=n.callback;if(k(e,t,!1,t.objectMode?1:c.length,c,l,f),n=n.next,t.bufferedRequestCount--,t.writing)break}null===n&&(t.lastBufferedRequest=null)}t.bufferedRequest=n,t.bufferProcessing=!1}function C(e){return e.ending&&0===e.length&&null===e.bufferedRequest&&!e.finished&&!e.writing}function L(e,t){e._final((function(n){t.pendingcb--,n&&w(e,n),t.prefinished=!0,e.emit("prefinish"),A(e,t)}))}function A(e,t){var n=C(t);if(n&&(function(e,t){t.prefinished||t.finalCalled||("function"!=typeof e._final||t.destroyed?(t.prefinished=!0,e.emit("prefinish")):(t.pendingcb++,t.finalCalled=!0,process.nextTick(L,e,t)))}(e,t),0===t.pendingcb&&(t.finished=!0,e.emit("finish"),t.autoDestroy))){var r=e._readableState;(!r||r.autoDestroy&&r.endEmitted)&&e.destroy()}return n}n(35717)(S,a),x.prototype.getBuffer=function(){for(var e=this.bufferedRequest,t=[];e;)t.push(e),e=e.next;return t},function(){try{Object.defineProperty(x.prototype,"buffer",{get:o.deprecate((function(){return this.getBuffer()}),"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(e){}}(),"function"==typeof Symbol&&Symbol.hasInstance&&"function"==typeof Function.prototype[Symbol.hasInstance]?(c=Function.prototype[Symbol.hasInstance],Object.defineProperty(S,Symbol.hasInstance,{value:function(e){return!!c.call(this,e)||this===S&&(e&&e._writableState instanceof x)}})):c=function(e){return e instanceof this},S.prototype.pipe=function(){w(this,new m)},S.prototype.write=function(e,t,n){var r,i=this._writableState,o=!1,a=!i.objectMode&&(r=e,s.isBuffer(r)||r instanceof u);return a&&!s.isBuffer(e)&&(e=function(e){return s.from(e)}(e)),"function"==typeof t&&(n=t,t=null),a?t="buffer":t||(t=i.defaultEncoding),"function"!=typeof n&&(n=T),i.ending?function(e,t){var n=new b;w(e,n),process.nextTick(t,n)}(this,n):(a||function(e,t,n,r){var i;return null===n?i=new v:"string"==typeof n||t.objectMode||(i=new p("chunk",["string","Buffer"],n)),!i||(w(e,i),process.nextTick(r,i),!1)}(this,i,e,n))&&(i.pendingcb++,o=function(e,t,n,r,i,o){if(!n){var a=function(e,t,n){e.objectMode||!1===e.decodeStrings||"string"!=typeof t||(t=s.from(t,n));return t}(t,r,i);r!==a&&(n=!0,i="buffer",r=a)}var u=t.objectMode?1:r.length;t.length+=u;var c=t.length<t.highWaterMark;c||(t.needDrain=!0);if(t.writing||t.corked){var l=t.lastBufferedRequest;t.lastBufferedRequest={chunk:r,encoding:i,isBuf:n,callback:o,next:null},l?l.next=t.lastBufferedRequest:t.bufferedRequest=t.lastBufferedRequest,t.bufferedRequestCount+=1}else k(e,t,!1,u,r,i,o);return c}(this,i,a,e,t,n)),o},S.prototype.cork=function(){this._writableState.corked++},S.prototype.uncork=function(){var e=this._writableState;e.corked&&(e.corked--,e.writing||e.corked||e.bufferProcessing||!e.bufferedRequest||O(this,e))},S.prototype.setDefaultEncoding=function(e){if("string"==typeof e&&(e=e.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((e+"").toLowerCase())>-1))throw new _(e);return this._writableState.defaultEncoding=e,this},Object.defineProperty(S.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(S.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),S.prototype._write=function(e,t,n){n(new h("_write()"))},S.prototype._writev=null,S.prototype.end=function(e,t,n){var r=this._writableState;return"function"==typeof e?(n=e,e=null,t=null):"function"==typeof t&&(n=t,t=null),null!=e&&this.write(e,t),r.corked&&(r.corked=1,this.uncork()),r.ending||function(e,t,n){t.ending=!0,A(e,t),n&&(t.finished?process.nextTick(n):e.once("finish",n));t.ended=!0,e.writable=!1}(this,r,n),this},Object.defineProperty(S.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(S.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(e){this._writableState&&(this._writableState.destroyed=e)}}),S.prototype.destroy=l.destroy,S.prototype._undestroy=l.undestroy,S.prototype._destroy=function(e,t){t(e)}},20828:function(e,t,n){"use strict";var r;function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var o=n(81086),a=Symbol("lastResolve"),s=Symbol("lastReject"),u=Symbol("error"),c=Symbol("ended"),l=Symbol("lastPromise"),f=Symbol("handlePromise"),d=Symbol("stream");function p(e,t){return{value:e,done:t}}function h(e){var t=e[a];if(null!==t){var n=e[d].read();null!==n&&(e[l]=null,e[a]=null,e[s]=null,t(p(n,!1)))}}function g(e){process.nextTick(h,e)}var m=Object.getPrototypeOf((function(){})),y=Object.setPrototypeOf((i(r={get stream(){return this[d]},next:function(){var e=this,t=this[u];if(null!==t)return Promise.reject(t);if(this[c])return Promise.resolve(p(void 0,!0));if(this[d].destroyed)return new Promise((function(t,n){process.nextTick((function(){e[u]?n(e[u]):t(p(void 0,!0))}))}));var n,r=this[l];if(r)n=new Promise(function(e,t){return function(n,r){e.then((function(){t[c]?n(p(void 0,!0)):t[f](n,r)}),r)}}(r,this));else{var i=this[d].read();if(null!==i)return Promise.resolve(p(i,!1));n=new Promise(this[f])}return this[l]=n,n}},Symbol.asyncIterator,(function(){return this})),i(r,"return",(function(){var e=this;return new Promise((function(t,n){e[d].destroy(null,(function(e){e?n(e):t(p(void 0,!0))}))}))})),r),m);e.exports=function(e){var t,n=Object.create(y,(i(t={},d,{value:e,writable:!0}),i(t,a,{value:null,writable:!0}),i(t,s,{value:null,writable:!0}),i(t,u,{value:null,writable:!0}),i(t,c,{value:e._readableState.endEmitted,writable:!0}),i(t,f,{value:function(e,t){var r=n[d].read();r?(n[l]=null,n[a]=null,n[s]=null,e(p(r,!1))):(n[a]=e,n[s]=t)},writable:!0}),t));return n[l]=null,o(e,(function(e){if(e&&"ERR_STREAM_PREMATURE_CLOSE"!==e.code){var t=n[s];return null!==t&&(n[l]=null,n[a]=null,n[s]=null,t(e)),void(n[u]=e)}var r=n[a];null!==r&&(n[l]=null,n[a]=null,n[s]=null,r(p(void 0,!0))),n[c]=!0})),e.on("readable",g.bind(null,n)),n}},39686:function(e,t,n){"use strict";function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var a=n(48764).Buffer,s=n(69862).inspect,u=s&&s.custom||"inspect";e.exports=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.head=null,this.tail=null,this.length=0}var t,n,c;return t=e,n=[{key:"push",value:function(e){var t={data:e,next:null};this.length>0?this.tail.next=t:this.head=t,this.tail=t,++this.length}},{key:"unshift",value:function(e){var t={data:e,next:this.head};0===this.length&&(this.tail=t),this.head=t,++this.length}},{key:"shift",value:function(){if(0!==this.length){var e=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,e}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(e){if(0===this.length)return"";for(var t=this.head,n=""+t.data;t=t.next;)n+=e+t.data;return n}},{key:"concat",value:function(e){if(0===this.length)return a.alloc(0);for(var t,n,r,i=a.allocUnsafe(e>>>0),o=this.head,s=0;o;)t=o.data,n=i,r=s,a.prototype.copy.call(t,n,r),s+=o.data.length,o=o.next;return i}},{key:"consume",value:function(e,t){var n;return e<this.head.data.length?(n=this.head.data.slice(0,e),this.head.data=this.head.data.slice(e)):n=e===this.head.data.length?this.shift():t?this._getString(e):this._getBuffer(e),n}},{key:"first",value:function(){return this.head.data}},{key:"_getString",value:function(e){var t=this.head,n=1,r=t.data;for(e-=r.length;t=t.next;){var i=t.data,o=e>i.length?i.length:e;if(o===i.length?r+=i:r+=i.slice(0,e),0==(e-=o)){o===i.length?(++n,t.next?this.head=t.next:this.head=this.tail=null):(this.head=t,t.data=i.slice(o));break}++n}return this.length-=n,r}},{key:"_getBuffer",value:function(e){var t=a.allocUnsafe(e),n=this.head,r=1;for(n.data.copy(t),e-=n.data.length;n=n.next;){var i=n.data,o=e>i.length?i.length:e;if(i.copy(t,t.length-e,0,o),0==(e-=o)){o===i.length?(++r,n.next?this.head=n.next:this.head=this.tail=null):(this.head=n,n.data=i.slice(o));break}++r}return this.length-=r,t}},{key:u,value:function(e,t){return s(this,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(Object(n),!0).forEach((function(t){i(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},t,{depth:0,customInspect:!1}))}}],n&&o(t.prototype,n),c&&o(t,c),e}()},71029:function(e){"use strict";function t(e,t){r(e,t),n(e)}function n(e){e._writableState&&!e._writableState.emitClose||e._readableState&&!e._readableState.emitClose||e.emit("close")}function r(e,t){e.emit("error",t)}e.exports={destroy:function(e,i){var o=this,a=this._readableState&&this._readableState.destroyed,s=this._writableState&&this._writableState.destroyed;return a||s?(i?i(e):e&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,process.nextTick(r,this,e)):process.nextTick(r,this,e)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(e||null,(function(e){!i&&e?o._writableState?o._writableState.errorEmitted?process.nextTick(n,o):(o._writableState.errorEmitted=!0,process.nextTick(t,o,e)):process.nextTick(t,o,e):i?(process.nextTick(n,o),i(e)):process.nextTick(n,o)})),this)},undestroy:function(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)},errorOrDestroy:function(e,t){var n=e._readableState,r=e._writableState;n&&n.autoDestroy||r&&r.autoDestroy?e.destroy(t):e.emit("error",t)}}},81086:function(e,t,n){"use strict";var r=n(58106).q.ERR_STREAM_PREMATURE_CLOSE;function i(){}e.exports=function e(t,n,o){if("function"==typeof n)return e(t,null,n);n||(n={}),o=function(e){var t=!1;return function(){if(!t){t=!0;for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];e.apply(this,r)}}}(o||i);var a=n.readable||!1!==n.readable&&t.readable,s=n.writable||!1!==n.writable&&t.writable,u=function(){t.writable||l()},c=t._writableState&&t._writableState.finished,l=function(){s=!1,c=!0,a||o.call(t)},f=t._readableState&&t._readableState.endEmitted,d=function(){a=!1,f=!0,s||o.call(t)},p=function(e){o.call(t,e)},h=function(){var e;return a&&!f?(t._readableState&&t._readableState.ended||(e=new r),o.call(t,e)):s&&!c?(t._writableState&&t._writableState.ended||(e=new r),o.call(t,e)):void 0},g=function(){t.req.on("finish",l)};return!function(e){return e.setHeader&&"function"==typeof e.abort}(t)?s&&!t._writableState&&(t.on("end",u),t.on("close",u)):(t.on("complete",l),t.on("abort",h),t.req?g():t.on("request",g)),t.on("end",d),t.on("finish",l),!1!==n.error&&t.on("error",p),t.on("close",h),function(){t.removeListener("complete",l),t.removeListener("abort",h),t.removeListener("request",g),t.req&&t.req.removeListener("finish",l),t.removeListener("end",u),t.removeListener("close",u),t.removeListener("finish",l),t.removeListener("end",d),t.removeListener("error",p),t.removeListener("close",h)}}},31265:function(e){e.exports=function(){throw new Error("Readable.from is not available in the browser")}},56472:function(e,t,n){"use strict";var r;var i=n(58106).q,o=i.ERR_MISSING_ARGS,a=i.ERR_STREAM_DESTROYED;function s(e){if(e)throw e}function u(e,t,i,o){o=function(e){var t=!1;return function(){t||(t=!0,e.apply(void 0,arguments))}}(o);var s=!1;e.on("close",(function(){s=!0})),void 0===r&&(r=n(81086)),r(e,{readable:t,writable:i},(function(e){if(e)return o(e);s=!0,o()}));var u=!1;return function(t){if(!s&&!u)return u=!0,function(e){return e.setHeader&&"function"==typeof e.abort}(e)?e.abort():"function"==typeof e.destroy?e.destroy():void o(t||new a("pipe"))}}function c(e){e()}function l(e,t){return e.pipe(t)}function f(e){return e.length?"function"!=typeof e[e.length-1]?s:e.pop():s}e.exports=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r,i=f(t);if(Array.isArray(t[0])&&(t=t[0]),t.length<2)throw new o("streams");var a=t.map((function(e,n){var o=n<t.length-1;return u(e,o,n>0,(function(e){r||(r=e),e&&a.forEach(c),o||(a.forEach(c),i(r))}))}));return t.reduce(l)}},30094:function(e,t,n){"use strict";var r=n(58106).q.ERR_INVALID_OPT_VALUE;e.exports={getHighWaterMark:function(e,t,n,i){var o=function(e,t,n){return null!=e.highWaterMark?e.highWaterMark:t?e[n]:null}(t,i,n);if(null!=o){if(!isFinite(o)||Math.floor(o)!==o||o<0)throw new r(i?n:"highWaterMark",o);return Math.floor(o)}return e.objectMode?16:16384}}},83194:function(e,t,n){e.exports=n(17187).EventEmitter},56422:function(e,t,n){var r=n(48764),i=r.Buffer;function o(e,t){for(var n in e)t[n]=e[n]}function a(e,t,n){return i(e,t,n)}i.from&&i.alloc&&i.allocUnsafe&&i.allocUnsafeSlow?e.exports=r:(o(r,t),t.Buffer=a),a.prototype=Object.create(i.prototype),o(i,a),a.from=function(e,t,n){if("number"==typeof e)throw new TypeError("Argument must not be a number");return i(e,t,n)},a.alloc=function(e,t,n){if("number"!=typeof e)throw new TypeError("Argument must be a number");var r=i(e);return void 0!==t?"string"==typeof n?r.fill(t,n):r.fill(t):r.fill(0),r},a.allocUnsafe=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return i(e)},a.allocUnsafeSlow=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return r.SlowBuffer(e)}},54729:function(e,t,n){"use strict";var r=n(56422).Buffer,i=r.isEncoding||function(e){switch((e=""+e)&&e.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function o(e){var t;switch(this.encoding=function(e){var t=function(e){if(!e)return"utf8";for(var t;;)switch(e){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return e;default:if(t)return;e=(""+e).toLowerCase(),t=!0}}(e);if("string"!=typeof t&&(r.isEncoding===i||!i(e)))throw new Error("Unknown encoding: "+e);return t||e}(e),this.encoding){case"utf16le":this.text=u,this.end=c,t=4;break;case"utf8":this.fillLast=s,t=4;break;case"base64":this.text=l,this.end=f,t=3;break;default:return this.write=d,void(this.end=p)}this.lastNeed=0,this.lastTotal=0,this.lastChar=r.allocUnsafe(t)}function a(e){return e<=127?0:e>>5==6?2:e>>4==14?3:e>>3==30?4:e>>6==2?-1:-2}function s(e){var t=this.lastTotal-this.lastNeed,n=function(e,t,n){if(128!=(192&t[0]))return e.lastNeed=0,"�";if(e.lastNeed>1&&t.length>1){if(128!=(192&t[1]))return e.lastNeed=1,"�";if(e.lastNeed>2&&t.length>2&&128!=(192&t[2]))return e.lastNeed=2,"�"}}(this,e);return void 0!==n?n:this.lastNeed<=e.length?(e.copy(this.lastChar,t,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(e.copy(this.lastChar,t,0,e.length),void(this.lastNeed-=e.length))}function u(e,t){if((e.length-t)%2==0){var n=e.toString("utf16le",t);if(n){var r=n.charCodeAt(n.length-1);if(r>=55296&&r<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1],n.slice(0,-1)}return n}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=e[e.length-1],e.toString("utf16le",t,e.length-1)}function c(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed){var n=this.lastTotal-this.lastNeed;return t+this.lastChar.toString("utf16le",0,n)}return t}function l(e,t){var n=(e.length-t)%3;return 0===n?e.toString("base64",t):(this.lastNeed=3-n,this.lastTotal=3,1===n?this.lastChar[0]=e[e.length-1]:(this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1]),e.toString("base64",t,e.length-n))}function f(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function d(e){return e.toString(this.encoding)}function p(e){return e&&e.length?this.write(e):""}t.s=o,o.prototype.write=function(e){if(0===e.length)return"";var t,n;if(this.lastNeed){if(void 0===(t=this.fillLast(e)))return"";n=this.lastNeed,this.lastNeed=0}else n=0;return n<e.length?t?t+this.text(e,n):this.text(e,n):t||""},o.prototype.end=function(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+"�":t},o.prototype.text=function(e,t){var n=function(e,t,n){var r=t.length-1;if(r<n)return 0;var i=a(t[r]);if(i>=0)return i>0&&(e.lastNeed=i-1),i;if(--r<n||-2===i)return 0;if((i=a(t[r]))>=0)return i>0&&(e.lastNeed=i-2),i;if(--r<n||-2===i)return 0;if((i=a(t[r]))>=0)return i>0&&(2===i?i=0:e.lastNeed=i-3),i;return 0}(this,e,t);if(!this.lastNeed)return e.toString("utf8",t);this.lastTotal=n;var r=e.length-(n-this.lastNeed);return e.copy(this.lastChar,0,r),e.toString("utf8",t,r)},o.prototype.fillLast=function(e){if(this.lastNeed<=e.length)return e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,e.length),this.lastNeed-=e.length}},71169:function(e){e.exports=function(e){return e.replace(/[A-Z]/g,(function(e){return"-"+e.toLowerCase()})).toLowerCase()}},32553:function(e,t,n){"use strict";var r=n(89509).Buffer,i=r.isEncoding||function(e){switch((e=""+e)&&e.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function o(e){var t;switch(this.encoding=function(e){var t=function(e){if(!e)return"utf8";for(var t;;)switch(e){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return e;default:if(t)return;e=(""+e).toLowerCase(),t=!0}}(e);if("string"!=typeof t&&(r.isEncoding===i||!i(e)))throw new Error("Unknown encoding: "+e);return t||e}(e),this.encoding){case"utf16le":this.text=u,this.end=c,t=4;break;case"utf8":this.fillLast=s,t=4;break;case"base64":this.text=l,this.end=f,t=3;break;default:return this.write=d,void(this.end=p)}this.lastNeed=0,this.lastTotal=0,this.lastChar=r.allocUnsafe(t)}function a(e){return e<=127?0:e>>5==6?2:e>>4==14?3:e>>3==30?4:e>>6==2?-1:-2}function s(e){var t=this.lastTotal-this.lastNeed,n=function(e,t,n){if(128!=(192&t[0]))return e.lastNeed=0,"�";if(e.lastNeed>1&&t.length>1){if(128!=(192&t[1]))return e.lastNeed=1,"�";if(e.lastNeed>2&&t.length>2&&128!=(192&t[2]))return e.lastNeed=2,"�"}}(this,e);return void 0!==n?n:this.lastNeed<=e.length?(e.copy(this.lastChar,t,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(e.copy(this.lastChar,t,0,e.length),void(this.lastNeed-=e.length))}function u(e,t){if((e.length-t)%2==0){var n=e.toString("utf16le",t);if(n){var r=n.charCodeAt(n.length-1);if(r>=55296&&r<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1],n.slice(0,-1)}return n}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=e[e.length-1],e.toString("utf16le",t,e.length-1)}function c(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed){var n=this.lastTotal-this.lastNeed;return t+this.lastChar.toString("utf16le",0,n)}return t}function l(e,t){var n=(e.length-t)%3;return 0===n?e.toString("base64",t):(this.lastNeed=3-n,this.lastTotal=3,1===n?this.lastChar[0]=e[e.length-1]:(this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1]),e.toString("base64",t,e.length-n))}function f(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function d(e){return e.toString(this.encoding)}function p(e){return e&&e.length?this.write(e):""}t.s=o,o.prototype.write=function(e){if(0===e.length)return"";var t,n;if(this.lastNeed){if(void 0===(t=this.fillLast(e)))return"";n=this.lastNeed,this.lastNeed=0}else n=0;return n<e.length?t?t+this.text(e,n):this.text(e,n):t||""},o.prototype.end=function(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+"�":t},o.prototype.text=function(e,t){var n=function(e,t,n){var r=t.length-1;if(r<n)return 0;var i=a(t[r]);if(i>=0)return i>0&&(e.lastNeed=i-1),i;if(--r<n||-2===i)return 0;if((i=a(t[r]))>=0)return i>0&&(e.lastNeed=i-2),i;if(--r<n||-2===i)return 0;if((i=a(t[r]))>=0)return i>0&&(2===i?i=0:e.lastNeed=i-3),i;return 0}(this,e,t);if(!this.lastNeed)return e.toString("utf8",t);this.lastTotal=n;var r=e.length-(n-this.lastNeed);return e.copy(this.lastChar,0,r),e.toString("utf8",t,r)},o.prototype.fillLast=function(e){if(this.lastNeed<=e.length)return e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,e.length),this.lastNeed-=e.length}},5238:function(e){e.exports=function(){"use strict";var e=Math.cos,t=Math.sin,n=Math.pow,r=Math.abs,i=Math.sqrt,o=Math.asin,a=Math.PI,s=Math.max,u=Math.min,c=Math.round,l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},f=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},d=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),p=n(2,53)-1,h={};function g(e){return null==e?"":"object"===(void 0===e?"undefined":l(e))||"function"==typeof e?h[Object.prototype.toString.call(e)]||"object":void 0===e?"undefined":l(e)}function m(e){return"number"===g(e)}function y(e){return"string"===g(e)}function v(e){return"function"===g(e)}function b(e){return Array.isArray(e)}function _(e){var t=null==e?null:e.length;return m(t)&&t>=0&&t<=p}function w(e){return!b(e)&&e-parseFloat(e)+1>=0}function T(e){return!b(e)&&"object"===g(e)}function x(e,t){return e&&e.hasOwnProperty(t)}function S(e,t,n){if(null==e)return e;var r=n||e;if(T(e)){for(var i in e)if(x(e,i)&&!1===t.call(r,e[i],i))break}else if(_(e))for(var o=0;o<e.length&&!1!==t.call(r,e[o],o);o++);return e}function k(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return S(n,(function(t){S(t,(function(t,n){e[n]=t}))})),e}function E(e){return e.replace(/\s*/g,"")||""}function O(e){"undefined"!=typeof console&&"function"==typeof console.error&&console.error(e);try{throw new Error(e)}catch(e){}}["Boolean","Number","String","Function","Array","Object"].forEach((function(e){h["[object "+e+"]"]=e.toLowerCase()}));var C=!("undefined"==typeof window||!window.document||!window.document.createElement),L=function(){if(!C)return!1;var e=navigator.userAgent;return(-1===e.indexOf("Android 2.")&&-1===e.indexOf("Android 4.0")||-1===e.indexOf("Mobile Safari")||-1!==e.indexOf("Chrome")||-1!==e.indexOf("Windows Phone"))&&window.history&&"pushState"in window.history&&"file:"!==window.location.protocol}(),A=C?window:null,I=C?document:null;function P(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(e)return(null==t?I:t).querySelector(e)}function M(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(e)return(null==t?I:t).querySelectorAll(e)}function R(e,t){for(var n=(e.document||e.ownerDocument).querySelectorAll(t),r=n.length;--r>=0&&n.item(r)!==e;);return r>-1}var j={y:"scrollTop",x:"scrollLeft"},D={y:"pageYOffset",x:"pageXOffset"};function N(e){return e===I.documentElement||e===I.body}function B(){var e=A.outerWidth,t=A.innerWidth;return e?e/t:1}function U(e){for(var t=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],n=j[arguments.length>1&&void 0!==arguments[1]?arguments[1]:"y"],r=e instanceof Element?[e]:M(e),i=[],o=I.createElement("div"),a=0;a<r.length;a++){var s=r[a];if(s[n]>0?i.push(s):(o.style.width=s.clientWidth+1+"px",o.style.height=s.clientHeight+1+"px",s.appendChild(o),s[n]=1.5/B(),s[n]>0&&i.push(s),s[n]=0,s.removeChild(o)),!t&&i.length>0)break}return i}function F(e,t){var n=U(e,t,!1);return n.length>=1?n[0]:null}function z(e){return null!=e&&e===e.window?e:9===e.nodeType&&e.defaultView}function H(e){return s(e.scrollHeight,e.clientHeight,e.offsetHeight)}function Z(e){return s(e.scrollWidth,e.clientWidth,e.offsetWidth)}function q(e){return{width:Z(e),height:H(e)}}function V(){return{width:s(Z(I.body),Z(I.documentElement)),height:s(H(I.body),H(I.documentElement))}}function W(e){return N(e)?{viewport:{width:u(A.innerWidth,I.documentElement.clientWidth),height:A.innerHeight},size:V()}:{viewport:{width:e.clientWidth,height:e.clientHeight},size:q(e)}}function G(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"y",n=z(e);return n?n[D[t]]:e[j[t]]}function $(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"y",r=z(e),i="y"===n;r?r.scrollTo(i?r[D.x]:t,i?t:r[D.y]):e[j[n]]=t}function Y(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(!e||e&&!e.getClientRects().length)return{top:0,left:0};var n=e.getBoundingClientRect();if(n.width||n.height){var r={},i=null;if(null==t||N(t))i=e.ownerDocument.documentElement,r.top=A.pageYOffset,r.left=A.pageXOffset;else{var o=(i=t).getBoundingClientRect();r.top=-1*o.top+i.scrollTop,r.left=-1*o.left+i.scrollLeft}return{top:n.top+r.top-i.clientTop,left:n.left+r.left-i.clientLeft}}return n}function K(e,t,n){t.split(",").forEach((function(t){e.addEventListener(t.trim(),n,!1)}))}function X(e,t,n){t.split(",").forEach((function(t){e.removeEventListener(t.trim(),n,!1)}))}function Q(e){return e}function J(e,t,n,r,i){return r*(t/=i)*t+n}function ee(e,t,n,r,i){return-r*(t/=i)*(t-2)+n}function te(e,t,n,r,i){return(t/=i/2)<1?r/2*t*t+n:-r/2*(--t*(t-2)-1)+n}function ne(e,t,n,r,i){return r*(t/=i)*t*t+n}function re(e,t,n,r,i){return r*((t=t/i-1)*t*t+1)+n}function ie(e,t,n,r,i){return(t/=i/2)<1?r/2*t*t*t+n:r/2*((t-=2)*t*t+2)+n}function oe(e,t,n,r,i){return r*(t/=i)*t*t*t+n}function ae(e,t,n,r,i){return-r*((t=t/i-1)*t*t*t-1)+n}function se(e,t,n,r,i){return(t/=i/2)<1?r/2*t*t*t*t+n:-r/2*((t-=2)*t*t*t-2)+n}function ue(e,t,n,r,i){return r*(t/=i)*t*t*t*t+n}function ce(e,t,n,r,i){return r*((t=t/i-1)*t*t*t*t+1)+n}function le(e,t,n,r,i){return(t/=i/2)<1?r/2*t*t*t*t*t+n:r/2*((t-=2)*t*t*t*t+2)+n}function fe(t,n,r,i,o){return-i*e(n/o*(a/2))+i+r}function de(e,n,r,i,o){return i*t(n/o*(a/2))+r}function pe(t,n,r,i,o){return-i/2*(e(a*n/o)-1)+r}function he(e,t,r,i,o){return 0===t?r:i*n(2,10*(t/o-1))+r}function ge(e,t,r,i,o){return t===o?r+i:i*(1-n(2,-10*t/o))+r}function me(e,t,r,i,o){return 0===t?r:t===o?r+i:(t/=o/2)<1?i/2*n(2,10*(t-1))+r:i/2*(2-n(2,-10*--t))+r}function ye(e,t,n,r,o){return-r*(i(1-(t/=o)*t)-1)+n}function ve(e,t,n,r,o){return r*i(1-(t=t/o-1)*t)+n}function be(e,t,n,r,o){return(t/=o/2)<1?-r/2*(i(1-t*t)-1)+n:r/2*(i(1-(t-=2)*t)+1)+n}function _e(e,i,s,u,c){var l=1.70158,f=0,d=u;return 0===i?s:1==(i/=c)?s+u:(f||(f=.3*c),d<r(u)?(d=u,l=f/4):l=f/(2*a)*o(u/d),-d*n(2,10*(i-=1))*t(2*a*(i*c-l)/f)+s)}function we(e,i,s,u,c){var l=1.70158,f=0,d=u;return 0===i?s:1==(i/=c)?s+u:(f||(f=.3*c),d<r(u)?(d=u,l=f/4):l=f/(2*a)*o(u/d),d*n(2,-10*i)*t(2*a*(i*c-l)/f)+u+s)}function Te(e,i,s,u,c){var l=1.70158,f=0,d=u;return 0===i?s:2==(i/=c/2)?s+u:(f||(f=c*(.3*1.5)),d<r(u)?(d=u,l=f/4):l=f/(2*a)*o(u/d),i<1?d*n(2,10*(i-=1))*t(2*a*(i*c-l)/f)*-.5+s:d*n(2,-10*(i-=1))*t(2*a*(i*c-l)/f)*.5+u+s)}function xe(e,t,n,r,i){var o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:1.70158;return r*(t/=i)*t*((o+1)*t-o)+n}function Se(e,t,n,r,i){var o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:1.70158;return r*((t=t/i-1)*t*((o+1)*t+o)+1)+n}function ke(e,t,n,r,i){var o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:1.70158;return(t/=i/2)<1?r/2*(t*t*((1+(o*=1.525))*t-o))+n:r/2*((t-=2)*t*((1+(o*=1.525))*t+o)+2)+n}function Ee(e,t,n,r,i){return(t/=i)<1/2.75?r*(7.5625*t*t)+n:t<2/2.75?r*(7.5625*(t-=1.5/2.75)*t+.75)+n:t<2.5/2.75?r*(7.5625*(t-=2.25/2.75)*t+.9375)+n:r*(7.5625*(t-=2.625/2.75)*t+.984375)+n}function Oe(e,t,n,r,i){return r-Ee(e,i-t,0,r,i)+n}function Ce(e,t,n,r,i){return t<i/2?.5*Oe(e,2*t,0,r,i)+n:.5*Ee(e,2*t-i,0,r,i)+.5*r+n}var Le=Object.freeze({linear:Q,InQuad:J,OutQuad:ee,InOutQuad:te,InCubic:ne,OutCubic:re,InOutCubic:ie,InQuart:oe,OutQuart:ae,InOutQuart:se,InQuint:ue,OutQuint:ce,InOutQuint:le,InSine:fe,OutSine:de,InOutSine:pe,InExpo:he,OutExpo:ge,InOutExpo:me,InCirc:ye,OutCirc:ve,InOutCirc:be,InElastic:_e,OutElastic:we,InOutElastic:Te,InBack:xe,OutBack:Se,InOutBack:ke,OutBounce:Ee,InBounce:Oe,InOutBounce:Ce}),Ae=["ms","moz","webkit"],Ie=0,Pe=C?A.requestAnimationFrame:null,Me=C?A.cancelAnimationFrame:null;if(C){for(var Re=0;Re<Ae.length&&!Pe;++Re)Pe=A[Ae[Re]+"RequestAnimationFrame"],Me=A[Ae[Re]+"CancelAnimationFrame"]||A[Ae[Re]+"CancelRequestAnimationFrame"];Pe||(Pe=function(e){var t=Date.now(),n=s(0,16-(t-Ie)),r=setTimeout((function(){e(t+n)}),n);return Ie=t+n,r}),Me||(Me=function(e){clearTimeout(e)})}var je=function(){function e(t){f(this,e),this.el=t,this.props={},this.options={},this.progress=!1,this.easing=null,this.startTime=null,this.rafId=null}return d(e,[{key:"run",value:function(e,t,n){var r=this;this.progress||(this.props={x:e,y:t},this.options=n,this.easing=v(n.easing)?n.easing:Le[n.easing.replace("ease","")],this.progress=!0,setTimeout((function(){r.startProps=r.calcStartProps(e,t),r.rafId=Pe((function(e){return r._loop(e)}))}),this.options.delay))}},{key:"stop",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=this.options.complete;this.startTime=null,this.progress=!1,Me(this.rafId),e&&($(this.el,this.props.x,"x"),$(this.el,this.props.y,"y")),v(t)&&(t.call(this),this.options.complete=null)}},{key:"_loop",value:function(e){var t=this;if(this.startTime||(this.startTime=e),this.progress){var n=this.el,r=this.props,i=this.options,o=this.startTime,a=this.startProps,l=this.easing,f=i.duration,d=i.step,p={},h=e-o,g=u(1,s(h/f,0));S(r,(function(e,t){var n=a[t],r=e-n;if(0===r)return!0;var i=l(g,f*g,0,1,f);p[t]=c(n+r*i)})),S(p,(function(e,t){$(n,e,t)})),h<=f?(d.call(this,g,p),this.rafId=Pe((function(e){return t._loop(e)}))):this.stop(!0)}else this.stop(!1)}},{key:"calcStartProps",value:function(e,t){var n={x:G(this.el,"x"),y:G(this.el,"y")};if(this.options.quickMode){var i=W(this.el).viewport,o=i.width,a=i.height;r(n.y-t)>a&&(n.y=n.y>t?t+a:t-a),r(n.x-e)>o&&(n.x=n.x>e?e+o:e-o)}return n}}]),e}(),De=(C?"onwheel"in I?"wheel":"onmousewheel"in I?"mousewheel":"DOMMouseScroll":"wheel")+", touchstart, touchmove",Ne=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body, html";f(this,e),this.isSSR=!C,this.options=k({},e.defaults,t),this.container=this.getContainer(n),null==this.container?(this.header=null,this.tween=null,this.isSSR||(/comp|inter|loaded/.test(I.readyState)?this.log('Not found scrollable container. => "'+n+'"'):this.log("Should be initialize later than DOMContentLoaded."))):(this.header=P(this.options.header),this.tween=new je(this.container),this._trigger=null,this._shouldCallCancelScroll=!1,this.bindContainerClick())}return d(e,[{key:"log",value:function(e){this.options.outputLog&&O("[SweetScroll] "+e)}},{key:"getScrollOffset",value:function(e,t){var n=this.container,r=this.header,i=this.parseCoodinate(t.offset),o=this.parseCoodinate(e);if(!o&&y(e))if("#"===e)o={top:0,left:0};else{var a=Y(P(e),n);if(!a)return;o=a}return o?(i&&(o.top+=i.top,o.left+=i.left),r&&(o.top=s(0,o.top-q(r).height)),o):null}},{key:"normalizeScrollOffset",value:function(e,t){var n=this.container,r=k({},e),i=W(n),o=i.viewport,a=i.size;return r.top=t.verticalScroll?s(0,u(a.height-o.height,r.top)):G(n,"y"),r.left=t.horizontalScroll?s(0,u(a.width-o.width,r.left)):G(n,"x"),r}},{key:"to",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!this.isSSR){var r=this.container,i=k({},this.options,n),o=this._trigger,a=y(e)&&/^#/.test(e)?e:null;if(this._options=i,this._trigger=null,this._shouldCallCancelScroll=!1,this.stop(),!r)return this.log("Not found container element.");var s=this.getScrollOffset(e,i);if(!s)return this.log("Invalid parameter of distance. => "+e);!1!==this.hook(i,"beforeScroll",s,o)?(s=this.normalizeScrollOffset(s,i),this.tween.run(s.left,s.top,{duration:i.duration,delay:i.delay,easing:i.easing,quickMode:i.quickMode,complete:function(){null!=a&&a!==A.location.hash&&t.updateURLHash(a,i.updateURL),t.unbindContainerStop(),t._options=null,t._shouldCallCancelScroll?t.hook(i,"cancelScroll"):t.hook(i,"afterScroll",s,o),t.hook(i,"completeScroll",t._shouldCallCancelScroll)},step:function(e,n){t.hook(i,"stepScroll",e,n)}}),this.bindContainerStop()):this._options=null}}},{key:"toTop",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.to(e,k({},t,{verticalScroll:!0,horizontalScroll:!1}))}},{key:"toLeft",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.to(e,k({},t,{verticalScroll:!1,horizontalScroll:!0}))}},{key:"toElement",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!this.isSSR)if(e instanceof Element){var n=Y(e,this.container);this.to(n,k({},t))}else this.log("Invalid parameter.")}},{key:"stop",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.isSSR||(this.container?(this._stopScrollListener&&(this._shouldCallCancelScroll=!0),this.tween.stop(e)):this.log("Not found scrollable container."))}},{key:"update",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.container?(this.stop(),this.unbindContainerClick(),this.unbindContainerStop(),this.options=k({},this.options,e),this.header=P(this.options.header),this.bindContainerClick()):this.isSSR||this.log("Not found scrollable container.")}},{key:"destroy",value:function(){this.container?(this.stop(),this.unbindContainerClick(),this.unbindContainerStop(),this.container=null,this.header=null,this.tween=null):this.isSSR||this.log("Not found scrollable container.")}},{key:"beforeScroll",value:function(e,t){return!0}},{key:"cancelScroll",value:function(){}},{key:"afterScroll",value:function(e,t){}},{key:"completeScroll",value:function(e){}},{key:"stepScroll",value:function(e,t){}},{key:"parseCoodinate",value:function(e){var t=this._options?this._options.verticalScroll:this.options.verticalScroll,n={top:0,left:0};if(x(e,"top")||x(e,"left"))n=k(n,e);else if(b(e))2===e.length?(n.top=e[0],n.left=e[1]):(n.top=t?e[0]:0,n.left=t?0:e[0]);else if(w(e))n.top=t?e:0,n.left=t?0:e;else{if(!y(e))return null;var r=E(e);if(/^\d+,\d+$/.test(r))r=r.split(","),n.top=r[0],n.left=r[1];else if(/^(top|left):\d+,?(?:(top|left):\d+)?$/.test(r)){var i=r.match(/top:(\d+)/),o=r.match(/left:(\d+)/);n.top=i?i[1]:0,n.left=o?o[1]:0}else{if(!this.container||!/^(\+|-)=(\d+)$/.test(r))return null;var a=G(this.container,t?"y":"x"),s=r.match(/^(\+|-)=(\d+)$/),u=s[1],c=parseInt(s[2],10);"+"===u?(n.top=t?a+c:0,n.left=t?0:a+c):(n.top=t?a-c:0,n.left=t?0:a-c)}}return n.top=parseInt(n.top,10),n.left=parseInt(n.left,10),n}},{key:"updateURLHash",value:function(e,t){!this.isSSR&&L&&t&&A.history["replace"===t?"replaceState":"pushState"](null,null,e)}},{key:"getContainer",value:function(e){var t=this.options,n=t.verticalScroll,r=t.horizontalScroll,i=null;return this.isSSR||(n&&(i=F(e,"y")),!i&&r&&(i=F(e,"x"))),i}},{key:"bindContainerClick",value:function(){var e=this.container;e&&(this._containerClickListener=this.handleContainerClick.bind(this),K(e,"click",this._containerClickListener))}},{key:"unbindContainerClick",value:function(){var e=this.container;e&&this._containerClickListener&&(X(e,"click",this._containerClickListener),this._containerClickListener=null)}},{key:"bindContainerStop",value:function(){var e=this.container;e&&(this._stopScrollListener=this.handleStopScroll.bind(this),K(e,De,this._stopScrollListener))}},{key:"unbindContainerStop",value:function(){var e=this.container;e&&this._stopScrollListener&&(X(e,De,this._stopScrollListener),this._stopScrollListener=null)}},{key:"hook",value:function(e,t){for(var n=e[t],r=arguments.length,i=Array(r>2?r-2:0),o=2;o<r;o++)i[o-2]=arguments[o];if(v(n)){var a=n.apply(this,i);if(void 0===a)return a}return this[t].apply(this,i)}},{key:"handleStopScroll",value:function(e){(this._options?this._options.stopScroll:this.options.stopScroll)?this.stop():e.preventDefault()}},{key:"handleContainerClick",value:function(e){for(var t=this.options,n=e.target;n&&n!==I;n=n.parentNode)if(R(n,t.trigger)){var r=n.getAttribute("data-scroll"),i=this.parseDataOptions(n),o=r||n.getAttribute("href");(t=k({},t,i)).preventDefault&&e.preventDefault(),t.stopPropagation&&e.stopPropagation(),this._trigger=n,t.horizontalScroll&&t.verticalScroll?this.to(o,t):t.verticalScroll?this.toTop(o,t):t.horizontalScroll&&this.toLeft(o,t)}}},{key:"parseDataOptions",value:function(e){var t=e.getAttribute("data-scroll-options");return t?JSON.parse(t):{}}}]),e}();return Ne.defaults={trigger:"[data-scroll]",header:"[data-scroll-header]",duration:1e3,delay:0,easing:"easeOutQuint",offset:0,verticalScroll:!0,horizontalScroll:!1,stopScroll:!0,updateURL:!1,preventDefault:!0,stopPropagation:!0,outputLog:!1,quickMode:!1,beforeScroll:null,afterScroll:null,cancelScroll:null,completeScroll:null,stepScroll:null},Ne}()},84463:function(e,t,n){"use strict";function r(e){var t,n,r,o,a,s,u=Object.create(null);if(this[l]=u,e)if("string"==typeof e)for("?"===e.charAt(0)&&(e=e.slice(1)),a=0,s=(o=e.split("&")).length;a<s;a++)-1<(t=(r=o[a]).indexOf("="))?d(u,p(r.slice(0,t)),p(r.slice(t+1))):r.length&&d(u,p(r),"");else if(i(e))for(a=0,s=e.length;a<s;a++)d(u,(r=e[a])[0],r[1]);else if(e.forEach)e.forEach(f,u);else for(n in e)d(u,n,e[n])}var i=Array.isArray,o=r.prototype,a=/[!'\(\)~]|%20|%00/g,s=/\+/g,u={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"},c=function(e){return u[e]},l="__URLSearchParams__:"+Math.random();function f(e,t){d(this,t,e)}function d(e,t,n){var r=i(n)?n.join(","):n;t in e?e[t].push(r):e[t]=[r]}function p(e){return decodeURIComponent(e.replace(s," "))}function h(e){return encodeURIComponent(e).replace(a,c)}o.append=function(e,t){d(this[l],e,t)},o.delete=function(e){delete this[l][e]},o.get=function(e){var t=this[l];return e in t?t[e][0]:null},o.getAll=function(e){var t=this[l];return e in t?t[e].slice(0):[]},o.has=function(e){return e in this[l]},o.set=function(e,t){this[l][e]=[""+t]},o.forEach=function(e,t){var n=this[l];Object.getOwnPropertyNames(n).forEach((function(r){n[r].forEach((function(n){e.call(t,n,r,this)}),this)}),this)},o.toJSON=function(){return{}},o.toString=function(){var e,t,n,r,i=this[l],o=[];for(t in i)for(n=h(t),e=0,r=i[t];e<r.length;e++)o.push(n+"="+h(r[e]));return o.join("&")},function(e){var t=function(){try{return!!Symbol.iterator}catch(e){return!1}}();"forEach"in e||(e.forEach=function(e,t){var n=Object.create(null);this.toString().replace(/=[\s\S]*?(?:&|$)/g,"=").split("=").forEach((function(r){r.length&&!(r in n)&&(n[r]=this.getAll(r)).forEach((function(n){e.call(t,n,r,this)}),this)}),this)}),"keys"in e||(e.keys=function(){var e=[];this.forEach((function(t,n){e.push(n)}));var n={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return t&&(n[Symbol.iterator]=function(){return n}),n}),"values"in e||(e.values=function(){var e=[];this.forEach((function(t){e.push(t)}));var n={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return t&&(n[Symbol.iterator]=function(){return n}),n}),"entries"in e||(e.entries=function(){var e=[];this.forEach((function(t,n){e.push([n,t])}));var n={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return t&&(n[Symbol.iterator]=function(){return n}),n}),t&&!(Symbol.iterator in e)&&(e[Symbol.iterator]=e.entries),"sort"in e||(e.sort=function(){for(var e,t,n,r=this.entries(),i=r.next(),o=i.done,a=[],s=Object.create(null);!o;)t=(n=i.value)[0],a.push(t),t in s||(s[t]=[]),s[t].push(n[1]),o=(i=r.next()).done;for(a.sort(),e=0;e<a.length;e++)this.delete(a[e]);for(e=0;e<a.length;e++)t=a[e],this.append(t,s[t].shift())})}((r=e.exports=n.g.URLSearchParams||r).prototype)},49945:function(e){var t,n,r,i,o;t=/^(?=((?:[a-zA-Z0-9+\-.]+:)?))\1(?=((?:\/\/[^\/?#]*)?))\2(?=((?:(?:[^?#\/]*\/)*[^;?#\/]*)?))\3((?:;[^?#]*)?)(\?[^#]*)?(#[^]*)?$/,n=/^(?=([^\/?#]*))\1([^]*)$/,r=/(?:\/|^)\.(?=\/)/g,i=/(?:\/|^)\.\.\/(?!\.\.\/)[^\/]*(?=\/)/g,o={buildAbsoluteURL:function(e,t,r){if(r=r||{},e=e.trim(),!(t=t.trim())){if(!r.alwaysNormalize)return e;var i=o.parseURL(e);if(!i)throw new Error("Error trying to parse base URL.");return i.path=o.normalizePath(i.path),o.buildURLFromParts(i)}var a=o.parseURL(t);if(!a)throw new Error("Error trying to parse relative URL.");if(a.scheme)return r.alwaysNormalize?(a.path=o.normalizePath(a.path),o.buildURLFromParts(a)):t;var s=o.parseURL(e);if(!s)throw new Error("Error trying to parse base URL.");if(!s.netLoc&&s.path&&"/"!==s.path[0]){var u=n.exec(s.path);s.netLoc=u[1],s.path=u[2]}s.netLoc&&!s.path&&(s.path="/");var c={scheme:s.scheme,netLoc:a.netLoc,path:null,params:a.params,query:a.query,fragment:a.fragment};if(!a.netLoc&&(c.netLoc=s.netLoc,"/"!==a.path[0]))if(a.path){var l=s.path,f=l.substring(0,l.lastIndexOf("/")+1)+a.path;c.path=o.normalizePath(f)}else c.path=s.path,a.params||(c.params=s.params,a.query||(c.query=s.query));return null===c.path&&(c.path=r.alwaysNormalize?o.normalizePath(a.path):a.path),o.buildURLFromParts(c)},parseURL:function(e){var n=t.exec(e);return n?{scheme:n[1]||"",netLoc:n[2]||"",path:n[3]||"",params:n[4]||"",query:n[5]||"",fragment:n[6]||""}:null},normalizePath:function(e){for(e=e.split("").reverse().join("").replace(r,"");e.length!==(e=e.replace(i,"")).length;);return e.split("").reverse().join("")},buildURLFromParts:function(e){return e.scheme+e.netLoc+e.path+e.params+e.query+e.fragment}},e.exports=o},8575:function(e,t,n){"use strict";var r=n(74971),i=n(62502);function o(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}t.parse=b,t.resolve=function(e,t){return b(e,!1,!0).resolve(t)},t.resolveObject=function(e,t){return e?b(e,!1,!0).resolveObject(t):t},t.format=function(e){i.isString(e)&&(e=b(e));return e instanceof o?e.format():o.prototype.format.call(e)},t.Url=o;var a=/^([a-z0-9.+-]+:)/i,s=/:[0-9]*$/,u=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,c=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),l=["'"].concat(c),f=["%","/","?",";","#"].concat(l),d=["/","?","#"],p=/^[+a-z0-9A-Z_-]{0,63}$/,h=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,g={javascript:!0,"javascript:":!0},m={javascript:!0,"javascript:":!0},y={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},v=n(17673);function b(e,t,n){if(e&&i.isObject(e)&&e instanceof o)return e;var r=new o;return r.parse(e,t,n),r}o.prototype.parse=function(e,t,n){if(!i.isString(e))throw new TypeError("Parameter 'url' must be a string, not "+typeof e);var o=e.indexOf("?"),s=-1!==o&&o<e.indexOf("#")?"?":"#",c=e.split(s);c[0]=c[0].replace(/\\/g,"/");var b=e=c.join(s);if(b=b.trim(),!n&&1===e.split("#").length){var _=u.exec(b);if(_)return this.path=b,this.href=b,this.pathname=_[1],_[2]?(this.search=_[2],this.query=t?v.parse(this.search.substr(1)):this.search.substr(1)):t&&(this.search="",this.query={}),this}var w=a.exec(b);if(w){var T=(w=w[0]).toLowerCase();this.protocol=T,b=b.substr(w.length)}if(n||w||b.match(/^\/\/[^@\/]+@[^@\/]+/)){var x="//"===b.substr(0,2);!x||w&&m[w]||(b=b.substr(2),this.slashes=!0)}if(!m[w]&&(x||w&&!y[w])){for(var S,k,E=-1,O=0;O<d.length;O++){-1!==(C=b.indexOf(d[O]))&&(-1===E||C<E)&&(E=C)}-1!==(k=-1===E?b.lastIndexOf("@"):b.lastIndexOf("@",E))&&(S=b.slice(0,k),b=b.slice(k+1),this.auth=decodeURIComponent(S)),E=-1;for(O=0;O<f.length;O++){var C;-1!==(C=b.indexOf(f[O]))&&(-1===E||C<E)&&(E=C)}-1===E&&(E=b.length),this.host=b.slice(0,E),b=b.slice(E),this.parseHost(),this.hostname=this.hostname||"";var L="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!L)for(var A=this.hostname.split(/\./),I=(O=0,A.length);O<I;O++){var P=A[O];if(P&&!P.match(p)){for(var M="",R=0,j=P.length;R<j;R++)P.charCodeAt(R)>127?M+="x":M+=P[R];if(!M.match(p)){var D=A.slice(0,O),N=A.slice(O+1),B=P.match(h);B&&(D.push(B[1]),N.unshift(B[2])),N.length&&(b="/"+N.join(".")+b),this.hostname=D.join(".");break}}}this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),L||(this.hostname=r.toASCII(this.hostname));var U=this.port?":"+this.port:"",F=this.hostname||"";this.host=F+U,this.href+=this.host,L&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==b[0]&&(b="/"+b))}if(!g[T])for(O=0,I=l.length;O<I;O++){var z=l[O];if(-1!==b.indexOf(z)){var H=encodeURIComponent(z);H===z&&(H=escape(z)),b=b.split(z).join(H)}}var Z=b.indexOf("#");-1!==Z&&(this.hash=b.substr(Z),b=b.slice(0,Z));var q=b.indexOf("?");if(-1!==q?(this.search=b.substr(q),this.query=b.substr(q+1),t&&(this.query=v.parse(this.query)),b=b.slice(0,q)):t&&(this.search="",this.query={}),b&&(this.pathname=b),y[T]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){U=this.pathname||"";var V=this.search||"";this.path=U+V}return this.href=this.format(),this},o.prototype.format=function(){var e=this.auth||"";e&&(e=(e=encodeURIComponent(e)).replace(/%3A/i,":"),e+="@");var t=this.protocol||"",n=this.pathname||"",r=this.hash||"",o=!1,a="";this.host?o=e+this.host:this.hostname&&(o=e+(-1===this.hostname.indexOf(":")?this.hostname:"["+this.hostname+"]"),this.port&&(o+=":"+this.port)),this.query&&i.isObject(this.query)&&Object.keys(this.query).length&&(a=v.stringify(this.query));var s=this.search||a&&"?"+a||"";return t&&":"!==t.substr(-1)&&(t+=":"),this.slashes||(!t||y[t])&&!1!==o?(o="//"+(o||""),n&&"/"!==n.charAt(0)&&(n="/"+n)):o||(o=""),r&&"#"!==r.charAt(0)&&(r="#"+r),s&&"?"!==s.charAt(0)&&(s="?"+s),t+o+(n=n.replace(/[?#]/g,(function(e){return encodeURIComponent(e)})))+(s=s.replace("#","%23"))+r},o.prototype.resolve=function(e){return this.resolveObject(b(e,!1,!0)).format()},o.prototype.resolveObject=function(e){if(i.isString(e)){var t=new o;t.parse(e,!1,!0),e=t}for(var n=new o,r=Object.keys(this),a=0;a<r.length;a++){var s=r[a];n[s]=this[s]}if(n.hash=e.hash,""===e.href)return n.href=n.format(),n;if(e.slashes&&!e.protocol){for(var u=Object.keys(e),c=0;c<u.length;c++){var l=u[c];"protocol"!==l&&(n[l]=e[l])}return y[n.protocol]&&n.hostname&&!n.pathname&&(n.path=n.pathname="/"),n.href=n.format(),n}if(e.protocol&&e.protocol!==n.protocol){if(!y[e.protocol]){for(var f=Object.keys(e),d=0;d<f.length;d++){var p=f[d];n[p]=e[p]}return n.href=n.format(),n}if(n.protocol=e.protocol,e.host||m[e.protocol])n.pathname=e.pathname;else{for(var h=(e.pathname||"").split("/");h.length&&!(e.host=h.shift()););e.host||(e.host=""),e.hostname||(e.hostname=""),""!==h[0]&&h.unshift(""),h.length<2&&h.unshift(""),n.pathname=h.join("/")}if(n.search=e.search,n.query=e.query,n.host=e.host||"",n.auth=e.auth,n.hostname=e.hostname||e.host,n.port=e.port,n.pathname||n.search){var g=n.pathname||"",v=n.search||"";n.path=g+v}return n.slashes=n.slashes||e.slashes,n.href=n.format(),n}var b=n.pathname&&"/"===n.pathname.charAt(0),_=e.host||e.pathname&&"/"===e.pathname.charAt(0),w=_||b||n.host&&e.pathname,T=w,x=n.pathname&&n.pathname.split("/")||[],S=(h=e.pathname&&e.pathname.split("/")||[],n.protocol&&!y[n.protocol]);if(S&&(n.hostname="",n.port=null,n.host&&(""===x[0]?x[0]=n.host:x.unshift(n.host)),n.host="",e.protocol&&(e.hostname=null,e.port=null,e.host&&(""===h[0]?h[0]=e.host:h.unshift(e.host)),e.host=null),w=w&&(""===h[0]||""===x[0])),_)n.host=e.host||""===e.host?e.host:n.host,n.hostname=e.hostname||""===e.hostname?e.hostname:n.hostname,n.search=e.search,n.query=e.query,x=h;else if(h.length)x||(x=[]),x.pop(),x=x.concat(h),n.search=e.search,n.query=e.query;else if(!i.isNullOrUndefined(e.search)){if(S)n.hostname=n.host=x.shift(),(L=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@"))&&(n.auth=L.shift(),n.host=n.hostname=L.shift());return n.search=e.search,n.query=e.query,i.isNull(n.pathname)&&i.isNull(n.search)||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.href=n.format(),n}if(!x.length)return n.pathname=null,n.search?n.path="/"+n.search:n.path=null,n.href=n.format(),n;for(var k=x.slice(-1)[0],E=(n.host||e.host||x.length>1)&&("."===k||".."===k)||""===k,O=0,C=x.length;C>=0;C--)"."===(k=x[C])?x.splice(C,1):".."===k?(x.splice(C,1),O++):O&&(x.splice(C,1),O--);if(!w&&!T)for(;O--;O)x.unshift("..");!w||""===x[0]||x[0]&&"/"===x[0].charAt(0)||x.unshift(""),E&&"/"!==x.join("/").substr(-1)&&x.push("");var L,A=""===x[0]||x[0]&&"/"===x[0].charAt(0);S&&(n.hostname=n.host=A?"":x.length?x.shift():"",(L=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@"))&&(n.auth=L.shift(),n.host=n.hostname=L.shift()));return(w=w||n.host&&x.length)&&!A&&x.unshift(""),x.length?n.pathname=x.join("/"):(n.pathname=null,n.path=null),i.isNull(n.pathname)&&i.isNull(n.search)||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.auth=e.auth||n.auth,n.slashes=n.slashes||e.slashes,n.href=n.format(),n},o.prototype.parseHost=function(){var e=this.host,t=s.exec(e);t&&(":"!==(t=t[0])&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)}},62502:function(e){"use strict";e.exports={isString:function(e){return"string"==typeof e},isObject:function(e){return"object"==typeof e&&null!==e},isNull:function(e){return null===e},isNullOrUndefined:function(e){return null==e}}},191:function(e,t,n){"use strict";var r=this&&this.__read||function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)a.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a};Object.defineProperty(t,"__esModule",{value:!0});var i=n(28416);t.default=function(){var e=r(i.useState(Object.create(null)),2)[1];return i.useCallback((function(){e(Object.create(null))}),[e])}},94927:function(e,t,n){function r(e){try{if(!n.g.localStorage)return!1}catch(e){return!1}var t=n.g.localStorage[e];return null!=t&&"true"===String(t).toLowerCase()}e.exports=function(e,t){if(r("noDeprecation"))return e;var n=!1;return function(){if(!n){if(r("throwDeprecation"))throw new Error(t);r("traceDeprecation")?console.trace(t):console.warn(t),n=!0}return e.apply(this,arguments)}}},28721:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r={randomUUID:"undefined"!=typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};let i;const o=new Uint8Array(16);function a(){if(!i&&(i="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!i))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return i(o)}const s=[];for(let e=0;e<256;++e)s.push((e+256).toString(16).slice(1));function u(e,t=0){return(s[e[t+0]]+s[e[t+1]]+s[e[t+2]]+s[e[t+3]]+"-"+s[e[t+4]]+s[e[t+5]]+"-"+s[e[t+6]]+s[e[t+7]]+"-"+s[e[t+8]]+s[e[t+9]]+"-"+s[e[t+10]]+s[e[t+11]]+s[e[t+12]]+s[e[t+13]]+s[e[t+14]]+s[e[t+15]]).toLowerCase()}var c=function(e,t,n){if(r.randomUUID&&!t&&!e)return r.randomUUID();const i=(e=e||{}).random||(e.rng||a)();if(i[6]=15&i[6]|64,i[8]=63&i[8]|128,t){n=n||0;for(let e=0;e<16;++e)t[n+e]=i[e];return t}return u(i)}},90285:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return Ta}});var r=n(58908),i=n.n(r),o=n(89144),a=n.n(o),s=n(27537),u=n.n(s),c=n(75974),l=n.n(c),f=n(9603),d=n.n(f),p=n(13407),h=n.n(p),g=n(49945),m=n.n(g),y="http://example.com",v=function(e,t){if(/^[a-z]+:/i.test(t))return t;/^data:/.test(e)&&(e=i().location&&i().location.href||"");var n="function"==typeof i().URL,r=/^\/\//.test(e),o=!i().location&&!/\/\//i.test(e);if(n?e=new(i().URL)(e,i().location||y):/\/\//i.test(e)||(e=m().buildAbsoluteURL(i().location&&i().location.href||"",e)),n){var a=new URL(t,e);return o?a.href.slice(y.length):r?a.href.slice(a.protocol.length):a.href}return m().buildAbsoluteURL(e,t)},b=n(87462),_=function(){function e(){this.listeners={}}var t=e.prototype;return t.on=function(e,t){this.listeners[e]||(this.listeners[e]=[]),this.listeners[e].push(t)},t.off=function(e,t){if(!this.listeners[e])return!1;var n=this.listeners[e].indexOf(t);return this.listeners[e]=this.listeners[e].slice(0),this.listeners[e].splice(n,1),n>-1},t.trigger=function(e){var t=this.listeners[e];if(t)if(2===arguments.length)for(var n=t.length,r=0;r<n;++r)t[r].call(this,arguments[1]);else for(var i=Array.prototype.slice.call(arguments,1),o=t.length,a=0;a<o;++a)t[a].apply(this,i)},t.dispose=function(){this.listeners={}},t.pipe=function(e){this.on("data",(function(t){e.push(t)}))},e}();function w(e){for(var t,n=(t=e,i().atob?i().atob(t):Buffer.from(t,"base64").toString("binary")),r=new Uint8Array(n.length),o=0;o<n.length;o++)r[o]=n.charCodeAt(o);return r}class T extends _{constructor(){super(),this.buffer=""}push(e){let t;for(this.buffer+=e,t=this.buffer.indexOf("\n");t>-1;t=this.buffer.indexOf("\n"))this.trigger("data",this.buffer.substring(0,t)),this.buffer=this.buffer.substring(t+1)}}const x=String.fromCharCode(9),S=function(e){const t=/([0-9.]*)?@?([0-9.]*)?/.exec(e||""),n={};return t[1]&&(n.length=parseInt(t[1],10)),t[2]&&(n.offset=parseInt(t[2],10)),n},k=function(e){const t={};if(!e)return t;const n=e.split(new RegExp('(?:^|,)((?:[^=]*)=(?:"[^"]*"|[^,]*))'));let r,i=n.length;for(;i--;)""!==n[i]&&(r=/([^=]*)=(.*)/.exec(n[i]).slice(1),r[0]=r[0].replace(/^\s+|\s+$/g,""),r[1]=r[1].replace(/^\s+|\s+$/g,""),r[1]=r[1].replace(/^['"](.*)['"]$/g,"$1"),t[r[0]]=r[1]);return t};class E extends _{constructor(){super(),this.customParsers=[],this.tagMappers=[]}push(e){let t,n;if(0===(e=e.trim()).length)return;if("#"!==e[0])return void this.trigger("data",{type:"uri",uri:e});this.tagMappers.reduce(((t,n)=>{const r=n(e);return r===e?t:t.concat([r])}),[e]).forEach((e=>{for(let t=0;t<this.customParsers.length;t++)if(this.customParsers[t].call(this,e))return;if(0===e.indexOf("#EXT"))if(e=e.replace("\r",""),t=/^#EXTM3U/.exec(e),t)this.trigger("data",{type:"tag",tagType:"m3u"});else{if(t=/^#EXTINF:([0-9\.]*)?,?(.*)?$/.exec(e),t)return n={type:"tag",tagType:"inf"},t[1]&&(n.duration=parseFloat(t[1])),t[2]&&(n.title=t[2]),void this.trigger("data",n);if(t=/^#EXT-X-TARGETDURATION:([0-9.]*)?/.exec(e),t)return n={type:"tag",tagType:"targetduration"},t[1]&&(n.duration=parseInt(t[1],10)),void this.trigger("data",n);if(t=/^#EXT-X-VERSION:([0-9.]*)?/.exec(e),t)return n={type:"tag",tagType:"version"},t[1]&&(n.version=parseInt(t[1],10)),void this.trigger("data",n);if(t=/^#EXT-X-MEDIA-SEQUENCE:(\-?[0-9.]*)?/.exec(e),t)return n={type:"tag",tagType:"media-sequence"},t[1]&&(n.number=parseInt(t[1],10)),void this.trigger("data",n);if(t=/^#EXT-X-DISCONTINUITY-SEQUENCE:(\-?[0-9.]*)?/.exec(e),t)return n={type:"tag",tagType:"discontinuity-sequence"},t[1]&&(n.number=parseInt(t[1],10)),void this.trigger("data",n);if(t=/^#EXT-X-PLAYLIST-TYPE:(.*)?$/.exec(e),t)return n={type:"tag",tagType:"playlist-type"},t[1]&&(n.playlistType=t[1]),void this.trigger("data",n);if(t=/^#EXT-X-BYTERANGE:(.*)?$/.exec(e),t)return n=(0,b.Z)(S(t[1]),{type:"tag",tagType:"byterange"}),void this.trigger("data",n);if(t=/^#EXT-X-ALLOW-CACHE:(YES|NO)?/.exec(e),t)return n={type:"tag",tagType:"allow-cache"},t[1]&&(n.allowed=!/NO/.test(t[1])),void this.trigger("data",n);if(t=/^#EXT-X-MAP:(.*)$/.exec(e),t){if(n={type:"tag",tagType:"map"},t[1]){const e=k(t[1]);e.URI&&(n.uri=e.URI),e.BYTERANGE&&(n.byterange=S(e.BYTERANGE))}this.trigger("data",n)}else if(t=/^#EXT-X-STREAM-INF:(.*)$/.exec(e),t){if(n={type:"tag",tagType:"stream-inf"},t[1]){if(n.attributes=k(t[1]),n.attributes.RESOLUTION){const e=n.attributes.RESOLUTION.split("x"),t={};e[0]&&(t.width=parseInt(e[0],10)),e[1]&&(t.height=parseInt(e[1],10)),n.attributes.RESOLUTION=t}n.attributes.BANDWIDTH&&(n.attributes.BANDWIDTH=parseInt(n.attributes.BANDWIDTH,10)),n.attributes["FRAME-RATE"]&&(n.attributes["FRAME-RATE"]=parseFloat(n.attributes["FRAME-RATE"])),n.attributes["PROGRAM-ID"]&&(n.attributes["PROGRAM-ID"]=parseInt(n.attributes["PROGRAM-ID"],10))}this.trigger("data",n)}else{if(t=/^#EXT-X-MEDIA:(.*)$/.exec(e),t)return n={type:"tag",tagType:"media"},t[1]&&(n.attributes=k(t[1])),void this.trigger("data",n);if(t=/^#EXT-X-ENDLIST/.exec(e),t)this.trigger("data",{type:"tag",tagType:"endlist"});else if(t=/^#EXT-X-DISCONTINUITY/.exec(e),t)this.trigger("data",{type:"tag",tagType:"discontinuity"});else{if(t=/^#EXT-X-PROGRAM-DATE-TIME:(.*)$/.exec(e),t)return n={type:"tag",tagType:"program-date-time"},t[1]&&(n.dateTimeString=t[1],n.dateTimeObject=new Date(t[1])),void this.trigger("data",n);if(t=/^#EXT-X-KEY:(.*)$/.exec(e),t)return n={type:"tag",tagType:"key"},t[1]&&(n.attributes=k(t[1]),n.attributes.IV&&("0x"===n.attributes.IV.substring(0,2).toLowerCase()&&(n.attributes.IV=n.attributes.IV.substring(2)),n.attributes.IV=n.attributes.IV.match(/.{8}/g),n.attributes.IV[0]=parseInt(n.attributes.IV[0],16),n.attributes.IV[1]=parseInt(n.attributes.IV[1],16),n.attributes.IV[2]=parseInt(n.attributes.IV[2],16),n.attributes.IV[3]=parseInt(n.attributes.IV[3],16),n.attributes.IV=new Uint32Array(n.attributes.IV))),void this.trigger("data",n);if(t=/^#EXT-X-START:(.*)$/.exec(e),t)return n={type:"tag",tagType:"start"},t[1]&&(n.attributes=k(t[1]),n.attributes["TIME-OFFSET"]=parseFloat(n.attributes["TIME-OFFSET"]),n.attributes.PRECISE=/YES/.test(n.attributes.PRECISE)),void this.trigger("data",n);if(t=/^#EXT-X-CUE-OUT-CONT:(.*)?$/.exec(e),t)return n={type:"tag",tagType:"cue-out-cont"},t[1]?n.data=t[1]:n.data="",void this.trigger("data",n);if(t=/^#EXT-X-CUE-OUT:(.*)?$/.exec(e),t)return n={type:"tag",tagType:"cue-out"},t[1]?n.data=t[1]:n.data="",void this.trigger("data",n);if(t=/^#EXT-X-CUE-IN:(.*)?$/.exec(e),t)return n={type:"tag",tagType:"cue-in"},t[1]?n.data=t[1]:n.data="",void this.trigger("data",n);if(t=/^#EXT-X-SKIP:(.*)$/.exec(e),t&&t[1])return n={type:"tag",tagType:"skip"},n.attributes=k(t[1]),n.attributes.hasOwnProperty("SKIPPED-SEGMENTS")&&(n.attributes["SKIPPED-SEGMENTS"]=parseInt(n.attributes["SKIPPED-SEGMENTS"],10)),n.attributes.hasOwnProperty("RECENTLY-REMOVED-DATERANGES")&&(n.attributes["RECENTLY-REMOVED-DATERANGES"]=n.attributes["RECENTLY-REMOVED-DATERANGES"].split(x)),void this.trigger("data",n);if(t=/^#EXT-X-PART:(.*)$/.exec(e),t&&t[1])return n={type:"tag",tagType:"part"},n.attributes=k(t[1]),["DURATION"].forEach((function(e){n.attributes.hasOwnProperty(e)&&(n.attributes[e]=parseFloat(n.attributes[e]))})),["INDEPENDENT","GAP"].forEach((function(e){n.attributes.hasOwnProperty(e)&&(n.attributes[e]=/YES/.test(n.attributes[e]))})),n.attributes.hasOwnProperty("BYTERANGE")&&(n.attributes.byterange=S(n.attributes.BYTERANGE)),void this.trigger("data",n);if(t=/^#EXT-X-SERVER-CONTROL:(.*)$/.exec(e),t&&t[1])return n={type:"tag",tagType:"server-control"},n.attributes=k(t[1]),["CAN-SKIP-UNTIL","PART-HOLD-BACK","HOLD-BACK"].forEach((function(e){n.attributes.hasOwnProperty(e)&&(n.attributes[e]=parseFloat(n.attributes[e]))})),["CAN-SKIP-DATERANGES","CAN-BLOCK-RELOAD"].forEach((function(e){n.attributes.hasOwnProperty(e)&&(n.attributes[e]=/YES/.test(n.attributes[e]))})),void this.trigger("data",n);if(t=/^#EXT-X-PART-INF:(.*)$/.exec(e),t&&t[1])return n={type:"tag",tagType:"part-inf"},n.attributes=k(t[1]),["PART-TARGET"].forEach((function(e){n.attributes.hasOwnProperty(e)&&(n.attributes[e]=parseFloat(n.attributes[e]))})),void this.trigger("data",n);if(t=/^#EXT-X-PRELOAD-HINT:(.*)$/.exec(e),t&&t[1])return n={type:"tag",tagType:"preload-hint"},n.attributes=k(t[1]),["BYTERANGE-START","BYTERANGE-LENGTH"].forEach((function(e){if(n.attributes.hasOwnProperty(e)){n.attributes[e]=parseInt(n.attributes[e],10);const t="BYTERANGE-LENGTH"===e?"length":"offset";n.attributes.byterange=n.attributes.byterange||{},n.attributes.byterange[t]=n.attributes[e],delete n.attributes[e]}})),void this.trigger("data",n);if(t=/^#EXT-X-RENDITION-REPORT:(.*)$/.exec(e),t&&t[1])return n={type:"tag",tagType:"rendition-report"},n.attributes=k(t[1]),["LAST-MSN","LAST-PART"].forEach((function(e){n.attributes.hasOwnProperty(e)&&(n.attributes[e]=parseInt(n.attributes[e],10))})),void this.trigger("data",n);if(t=/^#EXT-X-DATERANGE:(.*)$/.exec(e),t&&t[1]){n={type:"tag",tagType:"daterange"},n.attributes=k(t[1]),["ID","CLASS"].forEach((function(e){n.attributes.hasOwnProperty(e)&&(n.attributes[e]=String(n.attributes[e]))})),["START-DATE","END-DATE"].forEach((function(e){n.attributes.hasOwnProperty(e)&&(n.attributes[e]=new Date(n.attributes[e]))})),["DURATION","PLANNED-DURATION"].forEach((function(e){n.attributes.hasOwnProperty(e)&&(n.attributes[e]=parseFloat(n.attributes[e]))})),["END-ON-NEXT"].forEach((function(e){n.attributes.hasOwnProperty(e)&&(n.attributes[e]=/YES/i.test(n.attributes[e]))})),["SCTE35-CMD"," SCTE35-OUT","SCTE35-IN"].forEach((function(e){n.attributes.hasOwnProperty(e)&&(n.attributes[e]=n.attributes[e].toString(16))}));const e=/^X-([A-Z]+-)+[A-Z]+$/;for(const t in n.attributes){if(!e.test(t))continue;const r=/[0-9A-Fa-f]{6}/g.test(n.attributes[t]),i=/^\d+(\.\d+)?$/.test(n.attributes[t]);n.attributes[t]=r?n.attributes[t].toString(16):i?parseFloat(n.attributes[t]):String(n.attributes[t])}this.trigger("data",n)}else this.trigger("data",{type:"tag",data:e.slice(4)})}}}else this.trigger("data",{type:"comment",text:e.slice(1)})}))}addParser({expression:e,customType:t,dataParser:n,segment:r}){"function"!=typeof n&&(n=e=>e),this.customParsers.push((i=>{if(e.exec(i))return this.trigger("data",{type:"custom",data:n(i),customType:t,segment:r}),!0}))}addTagMapper({expression:e,map:t}){this.tagMappers.push((n=>e.test(n)?t(n):n))}}const O=function(e){const t={};return Object.keys(e).forEach((function(n){var r;t[(r=n,r.toLowerCase().replace(/-(\w)/g,(e=>e[1].toUpperCase())))]=e[n]})),t},C=function(e){const{serverControl:t,targetDuration:n,partTargetDuration:r}=e;if(!t)return;const i="#EXT-X-SERVER-CONTROL",o="holdBack",a="partHoldBack",s=n&&3*n,u=r&&2*r;n&&!t.hasOwnProperty(o)&&(t[o]=s,this.trigger("info",{message:`${i} defaulting HOLD-BACK to targetDuration * 3 (${s}).`})),s&&t[o]<s&&(this.trigger("warn",{message:`${i} clamping HOLD-BACK (${t[o]}) to targetDuration * 3 (${s})`}),t[o]=s),r&&!t.hasOwnProperty(a)&&(t[a]=3*r,this.trigger("info",{message:`${i} defaulting PART-HOLD-BACK to partTargetDuration * 3 (${t[a]}).`})),r&&t[a]<u&&(this.trigger("warn",{message:`${i} clamping PART-HOLD-BACK (${t[a]}) to partTargetDuration * 2 (${u}).`}),t[a]=u)};class L extends _{constructor(){super(),this.lineStream=new T,this.parseStream=new E,this.lineStream.pipe(this.parseStream);const e=this,t=[];let n,r,i={},o=!1;const a=function(){},s={AUDIO:{},VIDEO:{},"CLOSED-CAPTIONS":{},SUBTITLES:{}};let u=0;this.manifest={allowCache:!0,discontinuityStarts:[],segments:[]};let c=0,l=0;const f={};this.on("end",(()=>{i.uri||!i.parts&&!i.preloadHints||(!i.map&&n&&(i.map=n),!i.key&&r&&(i.key=r),i.timeline||"number"!=typeof u||(i.timeline=u),this.manifest.preloadSegment=i)})),this.parseStream.on("data",(function(d){let p,h;({tag(){({version(){d.version&&(this.manifest.version=d.version)},"allow-cache"(){this.manifest.allowCache=d.allowed,"allowed"in d||(this.trigger("info",{message:"defaulting allowCache to YES"}),this.manifest.allowCache=!0)},byterange(){const e={};"length"in d&&(i.byterange=e,e.length=d.length,"offset"in d||(d.offset=c)),"offset"in d&&(i.byterange=e,e.offset=d.offset),c=e.offset+e.length},endlist(){this.manifest.endList=!0},inf(){"mediaSequence"in this.manifest||(this.manifest.mediaSequence=0,this.trigger("info",{message:"defaulting media sequence to zero"})),"discontinuitySequence"in this.manifest||(this.manifest.discontinuitySequence=0,this.trigger("info",{message:"defaulting discontinuity sequence to zero"})),d.duration>0&&(i.duration=d.duration),0===d.duration&&(i.duration=.01,this.trigger("info",{message:"updating zero segment duration to a small value"})),this.manifest.segments=t},key(){if(d.attributes)if("NONE"!==d.attributes.METHOD)if(d.attributes.URI){if("com.apple.streamingkeydelivery"===d.attributes.KEYFORMAT)return this.manifest.contentProtection=this.manifest.contentProtection||{},void(this.manifest.contentProtection["com.apple.fps.1_0"]={attributes:d.attributes});if("com.microsoft.playready"===d.attributes.KEYFORMAT)return this.manifest.contentProtection=this.manifest.contentProtection||{},void(this.manifest.contentProtection["com.microsoft.playready"]={uri:d.attributes.URI});if("urn:uuid:edef8ba9-79d6-4ace-a3c8-27dcd51d21ed"===d.attributes.KEYFORMAT){return-1===["SAMPLE-AES","SAMPLE-AES-CTR","SAMPLE-AES-CENC"].indexOf(d.attributes.METHOD)?void this.trigger("warn",{message:"invalid key method provided for Widevine"}):("SAMPLE-AES-CENC"===d.attributes.METHOD&&this.trigger("warn",{message:"SAMPLE-AES-CENC is deprecated, please use SAMPLE-AES-CTR instead"}),"data:text/plain;base64,"!==d.attributes.URI.substring(0,23)?void this.trigger("warn",{message:"invalid key URI provided for Widevine"}):d.attributes.KEYID&&"0x"===d.attributes.KEYID.substring(0,2)?(this.manifest.contentProtection=this.manifest.contentProtection||{},void(this.manifest.contentProtection["com.widevine.alpha"]={attributes:{schemeIdUri:d.attributes.KEYFORMAT,keyId:d.attributes.KEYID.substring(2)},pssh:w(d.attributes.URI.split(",")[1])})):void this.trigger("warn",{message:"invalid key ID provided for Widevine"}))}d.attributes.METHOD||this.trigger("warn",{message:"defaulting key method to AES-128"}),r={method:d.attributes.METHOD||"AES-128",uri:d.attributes.URI},void 0!==d.attributes.IV&&(r.iv=d.attributes.IV)}else this.trigger("warn",{message:"ignoring key declaration without URI"});else r=null;else this.trigger("warn",{message:"ignoring key declaration without attribute list"})},"media-sequence"(){isFinite(d.number)?this.manifest.mediaSequence=d.number:this.trigger("warn",{message:"ignoring invalid media sequence: "+d.number})},"discontinuity-sequence"(){isFinite(d.number)?(this.manifest.discontinuitySequence=d.number,u=d.number):this.trigger("warn",{message:"ignoring invalid discontinuity sequence: "+d.number})},"playlist-type"(){/VOD|EVENT/.test(d.playlistType)?this.manifest.playlistType=d.playlistType:this.trigger("warn",{message:"ignoring unknown playlist type: "+d.playlist})},map(){n={},d.uri&&(n.uri=d.uri),d.byterange&&(n.byterange=d.byterange),r&&(n.key=r)},"stream-inf"(){this.manifest.playlists=t,this.manifest.mediaGroups=this.manifest.mediaGroups||s,d.attributes?(i.attributes||(i.attributes={}),(0,b.Z)(i.attributes,d.attributes)):this.trigger("warn",{message:"ignoring empty stream-inf attributes"})},media(){if(this.manifest.mediaGroups=this.manifest.mediaGroups||s,!(d.attributes&&d.attributes.TYPE&&d.attributes["GROUP-ID"]&&d.attributes.NAME))return void this.trigger("warn",{message:"ignoring incomplete or missing media group"});const e=this.manifest.mediaGroups[d.attributes.TYPE];e[d.attributes["GROUP-ID"]]=e[d.attributes["GROUP-ID"]]||{},p=e[d.attributes["GROUP-ID"]],h={default:/yes/i.test(d.attributes.DEFAULT)},h.default?h.autoselect=!0:h.autoselect=/yes/i.test(d.attributes.AUTOSELECT),d.attributes.LANGUAGE&&(h.language=d.attributes.LANGUAGE),d.attributes.URI&&(h.uri=d.attributes.URI),d.attributes["INSTREAM-ID"]&&(h.instreamId=d.attributes["INSTREAM-ID"]),d.attributes.CHARACTERISTICS&&(h.characteristics=d.attributes.CHARACTERISTICS),d.attributes.FORCED&&(h.forced=/yes/i.test(d.attributes.FORCED)),p[d.attributes.NAME]=h},discontinuity(){u+=1,i.discontinuity=!0,this.manifest.discontinuityStarts.push(t.length)},"program-date-time"(){void 0===this.manifest.dateTimeString&&(this.manifest.dateTimeString=d.dateTimeString,this.manifest.dateTimeObject=d.dateTimeObject),i.dateTimeString=d.dateTimeString,i.dateTimeObject=d.dateTimeObject},targetduration(){!isFinite(d.duration)||d.duration<0?this.trigger("warn",{message:"ignoring invalid target duration: "+d.duration}):(this.manifest.targetDuration=d.duration,C.call(this,this.manifest))},start(){d.attributes&&!isNaN(d.attributes["TIME-OFFSET"])?this.manifest.start={timeOffset:d.attributes["TIME-OFFSET"],precise:d.attributes.PRECISE}:this.trigger("warn",{message:"ignoring start declaration without appropriate attribute list"})},"cue-out"(){i.cueOut=d.data},"cue-out-cont"(){i.cueOutCont=d.data},"cue-in"(){i.cueIn=d.data},skip(){this.manifest.skip=O(d.attributes),this.warnOnMissingAttributes_("#EXT-X-SKIP",d.attributes,["SKIPPED-SEGMENTS"])},part(){o=!0;const e=this.manifest.segments.length,t=O(d.attributes);i.parts=i.parts||[],i.parts.push(t),t.byterange&&(t.byterange.hasOwnProperty("offset")||(t.byterange.offset=l),l=t.byterange.offset+t.byterange.length);const n=i.parts.length-1;this.warnOnMissingAttributes_(`#EXT-X-PART #${n} for segment #${e}`,d.attributes,["URI","DURATION"]),this.manifest.renditionReports&&this.manifest.renditionReports.forEach(((e,t)=>{e.hasOwnProperty("lastPart")||this.trigger("warn",{message:`#EXT-X-RENDITION-REPORT #${t} lacks required attribute(s): LAST-PART`})}))},"server-control"(){const e=this.manifest.serverControl=O(d.attributes);e.hasOwnProperty("canBlockReload")||(e.canBlockReload=!1,this.trigger("info",{message:"#EXT-X-SERVER-CONTROL defaulting CAN-BLOCK-RELOAD to false"})),C.call(this,this.manifest),e.canSkipDateranges&&!e.hasOwnProperty("canSkipUntil")&&this.trigger("warn",{message:"#EXT-X-SERVER-CONTROL lacks required attribute CAN-SKIP-UNTIL which is required when CAN-SKIP-DATERANGES is set"})},"preload-hint"(){const e=this.manifest.segments.length,t=O(d.attributes),n=t.type&&"PART"===t.type;i.preloadHints=i.preloadHints||[],i.preloadHints.push(t),t.byterange&&(t.byterange.hasOwnProperty("offset")||(t.byterange.offset=n?l:0,n&&(l=t.byterange.offset+t.byterange.length)));const r=i.preloadHints.length-1;if(this.warnOnMissingAttributes_(`#EXT-X-PRELOAD-HINT #${r} for segment #${e}`,d.attributes,["TYPE","URI"]),t.type)for(let n=0;n<i.preloadHints.length-1;n++){const o=i.preloadHints[n];o.type&&(o.type===t.type&&this.trigger("warn",{message:`#EXT-X-PRELOAD-HINT #${r} for segment #${e} has the same TYPE ${t.type} as preload hint #${n}`}))}},"rendition-report"(){const e=O(d.attributes);this.manifest.renditionReports=this.manifest.renditionReports||[],this.manifest.renditionReports.push(e);const t=this.manifest.renditionReports.length-1,n=["LAST-MSN","URI"];o&&n.push("LAST-PART"),this.warnOnMissingAttributes_(`#EXT-X-RENDITION-REPORT #${t}`,d.attributes,n)},"part-inf"(){this.manifest.partInf=O(d.attributes),this.warnOnMissingAttributes_("#EXT-X-PART-INF",d.attributes,["PART-TARGET"]),this.manifest.partInf.partTarget&&(this.manifest.partTargetDuration=this.manifest.partInf.partTarget),C.call(this,this.manifest)},daterange(){this.manifest.daterange=this.manifest.daterange||[],this.manifest.daterange.push(O(d.attributes));const e=this.manifest.daterange.length-1;this.warnOnMissingAttributes_(`#EXT-X-DATERANGE #${e}`,d.attributes,["ID","START-DATE"]);const t=this.manifest.daterange[e];t.endDate&&t.startDate&&new Date(t.endDate)<new Date(t.startDate)&&this.trigger("warn",{message:"EXT-X-DATERANGE END-DATE must be equal to or later than the value of the START-DATE"}),t.duration&&t.duration<0&&this.trigger("warn",{message:"EXT-X-DATERANGE DURATION must not be negative"}),t.plannedDuration&&t.plannedDuration<0&&this.trigger("warn",{message:"EXT-X-DATERANGE PLANNED-DURATION must not be negative"});const n=!!t.endOnNext;if(n&&!t.class&&this.trigger("warn",{message:"EXT-X-DATERANGE with an END-ON-NEXT=YES attribute must have a CLASS attribute"}),n&&(t.duration||t.endDate)&&this.trigger("warn",{message:"EXT-X-DATERANGE with an END-ON-NEXT=YES attribute must not contain DURATION or END-DATE attributes"}),t.duration&&t.endDate){const n=t.startDate,r=n.setSeconds(n.getSeconds()+t.duration);this.manifest.daterange[e].endDate=new Date(r)}if(t&&!this.manifest.dateTimeString&&this.trigger("warn",{message:"A playlist with EXT-X-DATERANGE tag must contain atleast one EXT-X-PROGRAM-DATE-TIME tag"}),f[t.id]){for(const e in f[t.id])if(f[t.id][e]!==t[e]){this.trigger("warn",{message:"EXT-X-DATERANGE tags with the same ID in a playlist must have the same attributes and same attribute values"});break}}else f[t.id]=t}}[d.tagType]||a).call(e)},uri(){i.uri=d.uri,t.push(i),this.manifest.targetDuration&&!("duration"in i)&&(this.trigger("warn",{message:"defaulting segment duration to the target duration"}),i.duration=this.manifest.targetDuration),r&&(i.key=r),i.timeline=u,n&&(i.map=n),l=0,i={}},comment(){},custom(){d.segment?(i.custom=i.custom||{},i.custom[d.customType]=d.data):(this.manifest.custom=this.manifest.custom||{},this.manifest.custom[d.customType]=d.data)}})[d.type].call(e)}))}warnOnMissingAttributes_(e,t,n){const r=[];n.forEach((function(e){t.hasOwnProperty(e)||r.push(e)})),r.length&&this.trigger("warn",{message:`${e} lacks required attribute(s): ${r.join(", ")}`})}push(e){this.lineStream.push(e)}end(){this.lineStream.push("\n"),this.trigger("end")}addParser(e){this.parseStream.addParser(e)}addTagMapper(e){this.parseStream.addTagMapper(e)}}var A,I,P={mp4:/^(av0?1|avc0?[1234]|vp0?9|flac|opus|mp3|mp4a|mp4v|stpp.ttml.im1t)/,webm:/^(vp0?[89]|av0?1|opus|vorbis)/,ogg:/^(vp0?[89]|theora|flac|opus|vorbis)/,video:/^(av0?1|avc0?[1234]|vp0?[89]|hvc1|hev1|theora|mp4v)/,audio:/^(mp4a|flac|vorbis|opus|ac-[34]|ec-3|alac|mp3|speex|aac)/,text:/^(stpp.ttml.im1t)/,muxerVideo:/^(avc0?1)/,muxerAudio:/^(mp4a)/,muxerText:/a^/},M=["video","audio","text"],R=["Video","Audio","Text"],j=function(e){return e?e.replace(/avc1\.(\d+)\.(\d+)/i,(function(e,t,n){return"avc1."+("00"+Number(t).toString(16)).slice(-2)+"00"+("00"+Number(n).toString(16)).slice(-2)})):e},D=function(e){void 0===e&&(e="");var t=e.split(","),n=[];return t.forEach((function(e){var t;e=e.trim(),M.forEach((function(r){var i=P[r].exec(e.toLowerCase());if(i&&!(i.length<=1)){t=r;var o=e.substring(0,i[1].length),a=e.replace(o,"");n.push({type:o,details:a,mediaType:r})}})),t||n.push({type:e,details:"",mediaType:"unknown"})})),n},N=function(e){return void 0===e&&(e=""),P.audio.test(e.trim().toLowerCase())},B=function(e){if(e&&"string"==typeof e){var t,n=e.toLowerCase().split(",").map((function(e){return j(e.trim())})),r="video";1===n.length&&N(n[0])?r="audio":1===n.length&&(void 0===(t=n[0])&&(t=""),P.text.test(t.trim().toLowerCase()))&&(r="application");var i="mp4";return n.every((function(e){return P.mp4.test(e)}))?i="mp4":n.every((function(e){return P.webm.test(e)}))?i="webm":n.every((function(e){return P.ogg.test(e)}))&&(i="ogg"),r+"/"+i+';codecs="'+e+'"'}},U=function(e){return void 0===e&&(e=""),i().MediaSource&&i().MediaSource.isTypeSupported&&i().MediaSource.isTypeSupported(B(e))||!1},F=function(e){return void 0===e&&(e=""),e.toLowerCase().split(",").every((function(e){e=e.trim();for(var t=0;t<R.length;t++){if(P["muxer"+R[t]].test(e))return!0}return!1}))},z="mp4a.40.2",H=/^(audio|video|application)\/(x-|vnd\.apple\.)?mpegurl/i,Z=/^application\/dash\+xml/i,q=function(e){return H.test(e)?"hls":Z.test(e)?"dash":"application/vnd.videojs.vhs+json"===e?"vhs-json":null},V=function(e){return"function"===ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer instanceof ArrayBuffer},W=function(e){return e instanceof Uint8Array?e:(Array.isArray(e)||V(e)||e instanceof ArrayBuffer||(e="number"!=typeof e||"number"==typeof e&&e!=e?0:[e]),new Uint8Array(e&&e.buffer||e,e&&e.byteOffset||0,e&&e.byteLength||0))},G=i().BigInt||Number,$=[G("0x1"),G("0x100"),G("0x10000"),G("0x1000000"),G("0x100000000"),G("0x10000000000"),G("0x1000000000000"),G("0x100000000000000"),G("0x10000000000000000")],Y=(A=new Uint16Array([65484]),255===(I=new Uint8Array(A.buffer,A.byteOffset,A.byteLength))[0]||I[0],function(e,t){var n=void 0===t?{}:t,r=n.signed,i=void 0!==r&&r,o=n.le,a=void 0!==o&&o;e=W(e);var s=a?"reduce":"reduceRight",u=(e[s]?e[s]:Array.prototype[s]).call(e,(function(t,n,r){var i=a?r:Math.abs(r+1-e.length);return t+G(n)*$[i]}),G(0));if(i){var c=$[e.length]/G(2)-G(1);(u=G(u))>c&&(u-=c,u-=c,u-=G(2))}return Number(u)}),K=function(e,t){var n=(void 0===t?{}:t).le,r=void 0!==n&&n;("bigint"!=typeof e&&"number"!=typeof e||"number"==typeof e&&e!=e)&&(e=0),e=G(e);for(var i,o=(i=e,Math.ceil(function(e){return e.toString(2).length}(i)/8)),a=new Uint8Array(new ArrayBuffer(o)),s=0;s<o;s++){var u=r?s:Math.abs(s+1-a.length);a[u]=Number(e/$[s]&G(255)),e<0&&(a[u]=Math.abs(~a[u]),a[u]-=0===s?1:2)}return a},X=function(e,t){if("string"!=typeof e&&e&&"function"==typeof e.toString&&(e=e.toString()),"string"!=typeof e)return new Uint8Array;t||(e=unescape(encodeURIComponent(e)));for(var n=new Uint8Array(e.length),r=0;r<e.length;r++)n[r]=e.charCodeAt(r);return n},Q=function(e,t,n){var r=void 0===n?{}:n,i=r.offset,o=void 0===i?0:i,a=r.mask,s=void 0===a?[]:a;e=W(e);var u=(t=W(t)).every?t.every:Array.prototype.every;return t.length&&e.length-o>=t.length&&u.call(t,(function(t,n){return t===(s[n]?s[n]&e[o+n]:e[o+n])}))},J="http://example.com",ee=function(e,t){if(/^[a-z]+:/i.test(t))return t;/^data:/.test(e)&&(e=i().location&&i().location.href||"");var n="function"==typeof i().URL,r=/^\/\//.test(e),o=!i().location&&!/\/\//i.test(e);if(n?e=new(i().URL)(e,i().location||J):/\/\//i.test(e)||(e=m().buildAbsoluteURL(i().location&&i().location.href||"",e)),n){var a=new URL(t,e);return o?a.href.slice(J.length):r?a.href.slice(a.protocol.length):a.href}return m().buildAbsoluteURL(e,t)},te=n(3969);const ne=e=>!!e&&"object"==typeof e,re=(...e)=>e.reduce(((e,t)=>("object"!=typeof t||Object.keys(t).forEach((n=>{Array.isArray(e[n])&&Array.isArray(t[n])?e[n]=e[n].concat(t[n]):ne(e[n])&&ne(t[n])?e[n]=re(e[n],t[n]):e[n]=t[n]})),e)),{}),ie=e=>Object.keys(e).map((t=>e[t])),oe=e=>e.reduce(((e,t)=>e.concat(t)),[]),ae=e=>{if(!e.length)return[];const t=[];for(let n=0;n<e.length;n++)t.push(e[n]);return t};var se="INVALID_NUMBER_OF_PERIOD",ue="DASH_EMPTY_MANIFEST",ce="DASH_INVALID_XML",le="NO_BASE_URL",fe="SEGMENT_TIME_UNSPECIFIED",de="UNSUPPORTED_UTC_TIMING_SCHEME";const pe=({baseUrl:e="",source:t="",range:n="",indexRange:r=""})=>{const o={uri:t,resolvedUri:ee(e||"",t)};if(n||r){const e=(n||r).split("-");let t,a=i().BigInt?i().BigInt(e[0]):parseInt(e[0],10),s=i().BigInt?i().BigInt(e[1]):parseInt(e[1],10);a<Number.MAX_SAFE_INTEGER&&"bigint"==typeof a&&(a=Number(a)),s<Number.MAX_SAFE_INTEGER&&"bigint"==typeof s&&(s=Number(s)),t="bigint"==typeof s||"bigint"==typeof a?i().BigInt(s)-i().BigInt(a)+i().BigInt(1):s-a+1,"bigint"==typeof t&&t<Number.MAX_SAFE_INTEGER&&(t=Number(t)),o.byterange={length:t,offset:a}}return o},he=e=>(e&&"number"!=typeof e&&(e=parseInt(e,10)),isNaN(e)?null:e),ge={static(e){const{duration:t,timescale:n=1,sourceDuration:r,periodDuration:i}=e,o=he(e.endNumber),a=t/n;return"number"==typeof o?{start:0,end:o}:"number"==typeof i?{start:0,end:i/a}:{start:0,end:r/a}},dynamic(e){const{NOW:t,clientOffset:n,availabilityStartTime:r,timescale:i=1,duration:o,periodStart:a=0,minimumUpdatePeriod:s=0,timeShiftBufferDepth:u=1/0}=e,c=he(e.endNumber),l=(t+n)/1e3,f=r+a,d=l+s-f,p=Math.ceil(d*i/o),h=Math.floor((l-f-u)*i/o),g=Math.floor((l-f)*i/o);return{start:Math.max(0,h),end:"number"==typeof c?c:Math.min(p,g)}}},me=e=>{const{type:t,duration:n,timescale:r=1,periodDuration:i,sourceDuration:o}=e,{start:a,end:s}=ge[t](e),u=((e,t)=>{const n=[];for(let r=e;r<t;r++)n.push(r);return n})(a,s).map((e=>t=>{const{duration:n,timescale:r=1,periodStart:i,startNumber:o=1}=e;return{number:o+t,duration:n/r,timeline:i,time:t*n}})(e));if("static"===t){const e=u.length-1,t="number"==typeof i?i:o;u[e].duration=t-n/r*e}return u},ye=e=>{const{baseUrl:t,initialization:n={},sourceDuration:r,indexRange:i="",periodStart:o,presentationTime:a,number:s=0,duration:u}=e;if(!t)throw new Error(le);const c=pe({baseUrl:t,source:n.sourceURL,range:n.range}),l=pe({baseUrl:t,source:t,indexRange:i});if(l.map=c,u){const t=me(e);t.length&&(l.duration=t[0].duration,l.timeline=t[0].timeline)}else r&&(l.duration=r,l.timeline=o);return l.presentationTime=a||o,l.number=s,[l]},ve=(e,t,n)=>{const r=e.sidx.map?e.sidx.map:null,o=e.sidx.duration,a=e.timeline||0,s=e.sidx.byterange,u=s.offset+s.length,c=t.timescale,l=t.references.filter((e=>1!==e.referenceType)),f=[],d=e.endList?"static":"dynamic",p=e.sidx.timeline;let h,g=p,m=e.mediaSequence||0;h="bigint"==typeof t.firstOffset?i().BigInt(u)+t.firstOffset:u+t.firstOffset;for(let e=0;e<l.length;e++){const s=t.references[e],u=s.referencedSize,l=s.subsegmentDuration;let y;y="bigint"==typeof h?h+i().BigInt(u)-i().BigInt(1):h+u-1;const v=ye({baseUrl:n,timescale:c,timeline:a,periodStart:p,presentationTime:g,number:m,duration:l,sourceDuration:o,indexRange:`${h}-${y}`,type:d})[0];r&&(v.map=r),f.push(v),h+="bigint"==typeof h?i().BigInt(u):u,g+=l/c,m++}return e.segments=f,e},be=["AUDIO","SUBTITLES"],_e=e=>{return(t=e,n=({timeline:e})=>e,ie(t.reduce(((e,t)=>(t.forEach((t=>{e[n(t)]=t})),e)),{}))).sort(((e,t)=>e.timeline>t.timeline?1:-1));var t,n},we=e=>{let t=[];var n,r;return n=e,r=(e,n,r,i)=>{t=t.concat(e.playlists||[])},be.forEach((function(e){for(var t in n.mediaGroups[e])for(var i in n.mediaGroups[e][t]){var o=n.mediaGroups[e][t][i];r(o,e,t,i)}})),t},Te=({playlist:e,mediaSequence:t})=>{e.mediaSequence=t,e.segments.forEach(((t,n)=>{t.number=e.mediaSequence+n}))},xe=({oldManifest:e,newManifest:t})=>{const n=e.playlists.concat(we(e)),r=t.playlists.concat(we(t));return t.timelineStarts=_e([e.timelineStarts,t.timelineStarts]),(({oldPlaylists:e,newPlaylists:t,timelineStarts:n})=>{t.forEach((t=>{t.discontinuitySequence=n.findIndex((function({timeline:e}){return e===t.timeline}));const r=((e,t)=>{for(let n=0;n<e.length;n++)if(e[n].attributes.NAME===t)return e[n];return null})(e,t.attributes.NAME);if(!r)return;if(t.sidx)return;const i=t.segments[0],o=r.segments.findIndex((function(e){return Math.abs(e.presentationTime-i.presentationTime)<.016666666666666666}));if(-1===o)return Te({playlist:t,mediaSequence:r.mediaSequence+r.segments.length}),t.segments[0].discontinuity=!0,t.discontinuityStarts.unshift(0),void((!r.segments.length&&t.timeline>r.timeline||r.segments.length&&t.timeline>r.segments[r.segments.length-1].timeline)&&t.discontinuitySequence--);r.segments[o].discontinuity&&!i.discontinuity&&(i.discontinuity=!0,t.discontinuityStarts.unshift(0),t.discontinuitySequence--),Te({playlist:t,mediaSequence:r.segments[o].number})}))})({oldPlaylists:n,newPlaylists:r,timelineStarts:t.timelineStarts}),t},Se=e=>e&&e.uri+"-"+(e=>{let t;return t="bigint"==typeof e.offset||"bigint"==typeof e.length?i().BigInt(e.offset)+i().BigInt(e.length)-i().BigInt(1):e.offset+e.length-1,`${e.offset}-${t}`})(e.byterange),ke=e=>ie(e.reduce(((e,t)=>{const n=t.attributes.id+(t.attributes.lang||"");return e[n]?(t.segments&&(t.segments[0]&&(t.segments[0].discontinuity=!0),e[n].segments.push(...t.segments)),t.attributes.contentProtection&&(e[n].attributes.contentProtection=t.attributes.contentProtection)):(e[n]=t,e[n].attributes.timelineStarts=[]),e[n].attributes.timelineStarts.push({start:t.attributes.periodStart,timeline:t.attributes.periodStart}),e}),{})).map((e=>{var t,n;return e.discontinuityStarts=(t=e.segments||[],n="discontinuity",t.reduce(((e,t,r)=>(t[n]&&e.push(r),e)),[])),e})),Ee=(e,t)=>{const n=Se(e.sidx),r=n&&t[n]&&t[n].sidx;return r&&ve(e,r,e.sidx.resolvedUri),e},Oe=(e,t={})=>{if(!Object.keys(t).length)return e;for(const n in e)e[n]=Ee(e[n],t);return e},Ce=({attributes:e,segments:t,sidx:n,discontinuityStarts:r})=>{const i={attributes:{NAME:e.id,AUDIO:"audio",SUBTITLES:"subs",RESOLUTION:{width:e.width,height:e.height},CODECS:e.codecs,BANDWIDTH:e.bandwidth,"PROGRAM-ID":1},uri:"",endList:"static"===e.type,timeline:e.periodStart,resolvedUri:"",targetDuration:e.duration,discontinuityStarts:r,timelineStarts:e.timelineStarts,segments:t};return e.frameRate&&(i.attributes["FRAME-RATE"]=e.frameRate),e.contentProtection&&(i.contentProtection=e.contentProtection),n&&(i.sidx=n),i},Le=({attributes:e})=>"video/mp4"===e.mimeType||"video/webm"===e.mimeType||"video"===e.contentType,Ae=({attributes:e})=>"audio/mp4"===e.mimeType||"audio/webm"===e.mimeType||"audio"===e.contentType,Ie=({attributes:e})=>"text/vtt"===e.mimeType||"text"===e.contentType,Pe=e=>e?Object.keys(e).reduce(((t,n)=>{const r=e[n];return t.concat(r.playlists)}),[]):[],Me=({dashPlaylists:e,locations:t,sidxMapping:n={},previousManifest:r,eventStream:i})=>{if(!e.length)return{};const{sourceDuration:o,type:a,suggestedPresentationDelay:s,minimumUpdatePeriod:u}=e[0].attributes,c=ke(e.filter(Le)).map(Ce),l=ke(e.filter(Ae)),f=ke(e.filter(Ie)),d=e.map((e=>e.attributes.captionServices)).filter(Boolean),p={allowCache:!0,discontinuityStarts:[],segments:[],endList:!0,mediaGroups:{AUDIO:{},VIDEO:{},"CLOSED-CAPTIONS":{},SUBTITLES:{}},uri:"",duration:o,playlists:Oe(c,n)};u>=0&&(p.minimumUpdatePeriod=1e3*u),t&&(p.locations=t),"dynamic"===a&&(p.suggestedPresentationDelay=s),i&&i.length>0&&(p.eventStream=i);const h=0===p.playlists.length,g=l.length?((e,t={},n=!1)=>{let r;const i=e.reduce(((e,i)=>{const o=i.attributes.role&&i.attributes.role.value||"",a=i.attributes.lang||"";let s=i.attributes.label||"main";if(a&&!i.attributes.label){const e=o?` (${o})`:"";s=`${i.attributes.lang}${e}`}e[s]||(e[s]={language:a,autoselect:!0,default:"main"===o,playlists:[],uri:""});const u=Ee((({attributes:e,segments:t,sidx:n,mediaSequence:r,discontinuitySequence:i,discontinuityStarts:o},a)=>{const s={attributes:{NAME:e.id,BANDWIDTH:e.bandwidth,CODECS:e.codecs,"PROGRAM-ID":1},uri:"",endList:"static"===e.type,timeline:e.periodStart,resolvedUri:"",targetDuration:e.duration,discontinuitySequence:i,discontinuityStarts:o,timelineStarts:e.timelineStarts,mediaSequence:r,segments:t};return e.contentProtection&&(s.contentProtection=e.contentProtection),n&&(s.sidx=n),a&&(s.attributes.AUDIO="audio",s.attributes.SUBTITLES="subs"),s})(i,n),t);return e[s].playlists.push(u),void 0===r&&"main"===o&&(r=i,r.default=!0),e}),{});r||(i[Object.keys(i)[0]].default=!0);return i})(l,n,h):null,m=f.length?((e,t={})=>e.reduce(((e,n)=>{const r=n.attributes.label||n.attributes.lang||"text";return e[r]||(e[r]={language:r,default:!1,autoselect:!1,playlists:[],uri:""}),e[r].playlists.push(Ee((({attributes:e,segments:t,mediaSequence:n,discontinuityStarts:r,discontinuitySequence:i})=>{void 0===t&&(t=[{uri:e.baseUrl,timeline:e.periodStart,resolvedUri:e.baseUrl||"",duration:e.sourceDuration,number:0}],e.duration=e.sourceDuration);const o={NAME:e.id,BANDWIDTH:e.bandwidth,"PROGRAM-ID":1};return e.codecs&&(o.CODECS=e.codecs),{attributes:o,uri:"",endList:"static"===e.type,timeline:e.periodStart,resolvedUri:e.baseUrl||"",targetDuration:e.duration,timelineStarts:e.timelineStarts,discontinuityStarts:r,discontinuitySequence:i,mediaSequence:n,segments:t}})(n),t)),e}),{}))(f,n):null,y=c.concat(Pe(g),Pe(m)),v=y.map((({timelineStarts:e})=>e));var b,_;return p.timelineStarts=_e(v),b=y,_=p.timelineStarts,b.forEach((e=>{e.mediaSequence=0,e.discontinuitySequence=_.findIndex((function({timeline:t}){return t===e.timeline})),e.segments&&e.segments.forEach(((e,t)=>{e.number=t}))})),g&&(p.mediaGroups.AUDIO.audio=g),m&&(p.mediaGroups.SUBTITLES.subs=m),d.length&&(p.mediaGroups["CLOSED-CAPTIONS"].cc=d.reduce(((e,t)=>t?(t.forEach((t=>{const{channel:n,language:r}=t;e[r]={autoselect:!1,default:!1,instreamId:n,language:r},t.hasOwnProperty("aspectRatio")&&(e[r].aspectRatio=t.aspectRatio),t.hasOwnProperty("easyReader")&&(e[r].easyReader=t.easyReader),t.hasOwnProperty("3D")&&(e[r]["3D"]=t["3D"])})),e):e),{})),r?xe({oldManifest:r,newManifest:p}):p},Re=(e,t,n)=>{const{NOW:r,clientOffset:i,availabilityStartTime:o,timescale:a=1,periodStart:s=0,minimumUpdatePeriod:u=0}=e,c=(r+i)/1e3+u-(o+s);return Math.ceil((c*a-t)/n)},je=(e,t)=>{const{type:n,minimumUpdatePeriod:r=0,media:i="",sourceDuration:o,timescale:a=1,startNumber:s=1,periodStart:u}=e,c=[];let l=-1;for(let f=0;f<t.length;f++){const d=t[f],p=d.d,h=d.r||0,g=d.t||0;let m;if(l<0&&(l=g),g&&g>l&&(l=g),h<0){const s=f+1;m=s===t.length?"dynamic"===n&&r>0&&i.indexOf("$Number$")>0?Re(e,l,p):(o*a-l)/p:(t[s].t-l)/p}else m=h+1;const y=s+c.length+m;let v=s+c.length;for(;v<y;)c.push({number:v,duration:p/a,time:l,timeline:u}),l+=p,v++}return c},De=/\$([A-z]*)(?:(%0)([0-9]+)d)?\$/g,Ne=(e,t)=>e.replace(De,(e=>(t,n,r,i)=>{if("$$"===t)return"$";if(void 0===e[n])return t;const o=""+e[n];return"RepresentationID"===n?o:(i=r?parseInt(i,10):1,o.length>=i?o:`${new Array(i-o.length+1).join("0")}${o}`)})(t)),Be=(e,t)=>{const n={RepresentationID:e.id,Bandwidth:e.bandwidth||0},{initialization:r={sourceURL:"",range:""}}=e,i=pe({baseUrl:e.baseUrl,source:Ne(r.sourceURL,n),range:r.range}),o=((e,t)=>e.duration||t?e.duration?me(e):je(e,t):[{number:e.startNumber||1,duration:e.sourceDuration,time:0,timeline:e.periodStart}])(e,t);return o.map((t=>{n.Number=t.number,n.Time=t.time;const r=Ne(e.media||"",n),o=e.timescale||1,a=e.presentationTimeOffset||0,s=e.periodStart+(t.time-a)/o;return{uri:r,timeline:t.timeline,duration:t.duration,resolvedUri:ee(e.baseUrl||"",r),map:i,number:t.number,presentationTime:s}}))},Ue=(e,t)=>{const{duration:n,segmentUrls:r=[],periodStart:i}=e;if(!n&&!t||n&&t)throw new Error(fe);const o=r.map((t=>((e,t)=>{const{baseUrl:n,initialization:r={}}=e,i=pe({baseUrl:n,source:r.sourceURL,range:r.range}),o=pe({baseUrl:n,source:t.media,range:t.mediaRange});return o.map=i,o})(e,t)));let a;n&&(a=me(e)),t&&(a=je(e,t));return a.map(((t,n)=>{if(o[n]){const r=o[n],a=e.timescale||1,s=e.presentationTimeOffset||0;return r.timeline=t.timeline,r.duration=t.duration,r.number=t.number,r.presentationTime=i+(t.time-s)/a,r}})).filter((e=>e))},Fe=({attributes:e,segmentInfo:t})=>{let n,r;t.template?(r=Be,n=re(e,t.template)):t.base?(r=ye,n=re(e,t.base)):t.list&&(r=Ue,n=re(e,t.list));const i={attributes:e};if(!r)return i;const o=r(n,t.segmentTimeline);if(n.duration){const{duration:e,timescale:t=1}=n;n.duration=e/t}else o.length?n.duration=o.reduce(((e,t)=>Math.max(e,Math.ceil(t.duration))),0):n.duration=0;return i.attributes=n,i.segments=o,t.base&&n.indexRange&&(i.sidx=o[0],i.segments=[]),i},ze=(e,t)=>ae(e.childNodes).filter((({tagName:e})=>e===t)),He=e=>e.textContent.trim(),Ze=e=>{const t=/P(?:(\d*)Y)?(?:(\d*)M)?(?:(\d*)D)?(?:T(?:(\d*)H)?(?:(\d*)M)?(?:([\d.]*)S)?)?/.exec(e);if(!t)return 0;const[n,r,i,o,a,s]=t.slice(1);return 31536e3*parseFloat(n||0)+2592e3*parseFloat(r||0)+86400*parseFloat(i||0)+3600*parseFloat(o||0)+60*parseFloat(a||0)+parseFloat(s||0)},qe={mediaPresentationDuration:e=>Ze(e),availabilityStartTime(e){return/^\d+-\d+-\d+T\d+:\d+:\d+(\.\d+)?$/.test(t=e)&&(t+="Z"),Date.parse(t)/1e3;var t},minimumUpdatePeriod:e=>Ze(e),suggestedPresentationDelay:e=>Ze(e),type:e=>e,timeShiftBufferDepth:e=>Ze(e),start:e=>Ze(e),width:e=>parseInt(e,10),height:e=>parseInt(e,10),bandwidth:e=>parseInt(e,10),frameRate:e=>(e=>parseFloat(e.split("/").reduce(((e,t)=>e/t))))(e),startNumber:e=>parseInt(e,10),timescale:e=>parseInt(e,10),presentationTimeOffset:e=>parseInt(e,10),duration(e){const t=parseInt(e,10);return isNaN(t)?Ze(e):t},d:e=>parseInt(e,10),t:e=>parseInt(e,10),r:e=>parseInt(e,10),presentationTime:e=>parseInt(e,10),DEFAULT:e=>e},Ve=e=>e&&e.attributes?ae(e.attributes).reduce(((e,t)=>{const n=qe[t.name]||qe.DEFAULT;return e[t.name]=n(t.value),e}),{}):{},We={"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"},Ge=(e,t)=>t.length?oe(e.map((function(e){return t.map((function(t){return ee(e,He(t))}))}))):e,$e=e=>{const t=ze(e,"SegmentTemplate")[0],n=ze(e,"SegmentList")[0],r=n&&ze(n,"SegmentURL").map((e=>re({tag:"SegmentURL"},Ve(e)))),i=ze(e,"SegmentBase")[0],o=n||t,a=o&&ze(o,"SegmentTimeline")[0],s=n||i||t,u=s&&ze(s,"Initialization")[0],c=t&&Ve(t);c&&u?c.initialization=u&&Ve(u):c&&c.initialization&&(c.initialization={sourceURL:c.initialization});const l={template:c,segmentTimeline:a&&ze(a,"S").map((e=>Ve(e))),list:n&&re(Ve(n),{segmentUrls:r,initialization:Ve(u)}),base:i&&re(Ve(i),{initialization:Ve(u)})};return Object.keys(l).forEach((e=>{l[e]||delete l[e]})),l},Ye=e=>oe(ze(e.node,"EventStream").map((t=>{const n=Ve(t),r=n.schemeIdUri;return ze(t,"Event").map((t=>{const i=Ve(t),o=i.presentationTime||0,a=n.timescale||1,s=i.duration||0,u=o/a+e.attributes.start;return{schemeIdUri:r,value:n.value,id:i.id,start:u,end:u+s/a,messageData:He(t)||i.messageData,contentEncoding:n.contentEncoding,presentationTimeOffset:n.presentationTimeOffset||0}}))}))),Ke=(e,t,n)=>r=>{const i=Ve(r),o=Ge(t,ze(r,"BaseURL")),a=ze(r,"Role")[0],s={role:Ve(a)};let u=re(e,i,s);const c=ze(r,"Accessibility")[0],l=(e=>{if("urn:scte:dash:cc:cea-608:2015"===e.schemeIdUri)return("string"!=typeof e.value?[]:e.value.split(";")).map((e=>{let t,n;return n=e,/^CC\d=/.test(e)?[t,n]=e.split("="):/^CC\d$/.test(e)&&(t=e),{channel:t,language:n}}));if("urn:scte:dash:cc:cea-708:2015"===e.schemeIdUri)return("string"!=typeof e.value?[]:e.value.split(";")).map((e=>{const t={channel:void 0,language:void 0,aspectRatio:1,easyReader:0,"3D":0};if(/=/.test(e)){const[n,r=""]=e.split("=");t.channel=n,t.language=e,r.split(",").forEach((e=>{const[n,r]=e.split(":");"lang"===n?t.language=r:"er"===n?t.easyReader=Number(r):"war"===n?t.aspectRatio=Number(r):"3D"===n&&(t["3D"]=Number(r))}))}else t.language=e;return t.channel&&(t.channel="SERVICE"+t.channel),t}))})(Ve(c));l&&(u=re(u,{captionServices:l}));const f=ze(r,"Label")[0];if(f&&f.childNodes.length){const e=f.childNodes[0].nodeValue.trim();u=re(u,{label:e})}const d=ze(r,"ContentProtection").reduce(((e,t)=>{const n=Ve(t);n.schemeIdUri&&(n.schemeIdUri=n.schemeIdUri.toLowerCase());const r=We[n.schemeIdUri];if(r){e[r]={attributes:n};const i=ze(t,"cenc:pssh")[0];if(i){const t=He(i);e[r].pssh=t&&w(t)}}return e}),{});Object.keys(d).length&&(u=re(u,{contentProtection:d}));const p=$e(r),h=ze(r,"Representation"),g=re(n,p);return oe(h.map(((e,t,n)=>r=>{const i=ze(r,"BaseURL"),o=Ge(t,i),a=re(e,Ve(r)),s=$e(r);return o.map((e=>({segmentInfo:re(n,s),attributes:re(a,{baseUrl:e})})))})(u,o,g)))},Xe=(e,t)=>(n,r)=>{const i=Ge(t,ze(n.node,"BaseURL")),o=re(e,{periodStart:n.attributes.start});"number"==typeof n.attributes.duration&&(o.periodDuration=n.attributes.duration);const a=ze(n.node,"AdaptationSet"),s=$e(n.node);return oe(a.map(Ke(o,i,s)))},Qe=e=>{if(""===e)throw new Error(ue);const t=new te.DOMParser;let n,r;try{n=t.parseFromString(e,"application/xml"),r=n&&"MPD"===n.documentElement.tagName?n.documentElement:null}catch(e){}if(!r||r&&r.getElementsByTagName("parsererror").length>0)throw new Error(ce);return r},Je=(e,t={})=>{const n=((e,t={})=>{const{manifestUri:n="",NOW:r=Date.now(),clientOffset:i=0}=t,o=ze(e,"Period");if(!o.length)throw new Error(se);const a=ze(e,"Location"),s=Ve(e),u=Ge([n],ze(e,"BaseURL"));s.type=s.type||"static",s.sourceDuration=s.mediaPresentationDuration||0,s.NOW=r,s.clientOffset=i,a.length&&(s.locations=a.map(He));const c=[];return o.forEach(((e,t)=>{const n=Ve(e),r=c[t-1];n.start=(({attributes:e,priorPeriodAttributes:t,mpdType:n})=>"number"==typeof e.start?e.start:t&&"number"==typeof t.start&&"number"==typeof t.duration?t.start+t.duration:t||"static"!==n?null:0)({attributes:n,priorPeriodAttributes:r?r.attributes:null,mpdType:s.type}),c.push({node:e,attributes:n})})),{locations:s.locations,representationInfo:oe(c.map(Xe(s,u))),eventStream:oe(c.map(Ye))}})(Qe(e),t),r=n.representationInfo.map(Fe);return Me({dashPlaylists:r,locations:n.locations,sidxMapping:t.sidxMapping,previousManifest:t.previousManifest,eventStream:n.eventStream})},et=e=>(e=>{const t=ze(e,"UTCTiming")[0];if(!t)return null;const n=Ve(t);switch(n.schemeIdUri){case"urn:mpeg:dash:utc:http-head:2014":case"urn:mpeg:dash:utc:http-head:2012":n.method="HEAD";break;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":n.method="GET";break;case"urn:mpeg:dash:utc:direct:2014":case"urn:mpeg:dash:utc:direct:2012":n.method="DIRECT",n.value=Date.parse(n.value);break;default:throw new Error(de)}return n})(Qe(e));var tt,nt=n(84221),rt=n.n(nt),it=W([73,68,51]),ot=function e(t,n){return void 0===n&&(n=0),(t=W(t)).length-n<10||!Q(t,it,{offset:n})?n:(n+=function(e,t){void 0===t&&(t=0);var n=(e=W(e))[t+5],r=e[t+6]<<21|e[t+7]<<14|e[t+8]<<7|e[t+9];return(16&n)>>4?r+20:r+10}(t,n),e(t,n))},at=(new Uint8Array([79,112,117,115,72,101,97,100]),function(e){return"string"==typeof e?X(e):e}),st=function(e){e=W(e);for(var t=[],n=0;e.length>n;){var r=e[n],i=0,o=0,a=e[++o];for(o++;128&a;)i=(127&a)<<7,a=e[o],o++;i+=127&a;for(var s=0;s<tt.length;s++){var u=tt[s],c=u.id,l=u.parser;if(r===c){t.push(l(e.subarray(o,o+i)));break}}n+=i+o}return t};tt=[{id:3,parser:function(e){var t={tag:3,id:e[0]<<8|e[1],flags:e[2],size:3,dependsOnEsId:0,ocrEsId:0,descriptors:[],url:""};if(128&t.flags&&(t.dependsOnEsId=e[t.size]<<8|e[t.size+1],t.size+=2),64&t.flags){var n=e[t.size];t.url=function(e){if(!e)return"";e=Array.prototype.slice.call(e);var t=String.fromCharCode.apply(null,W(e));try{return decodeURIComponent(escape(t))}catch(e){}return t}(e.subarray(t.size+1,t.size+1+n)),t.size+=n}return 32&t.flags&&(t.ocrEsId=e[t.size]<<8|e[t.size+1],t.size+=2),t.descriptors=st(e.subarray(t.size))||[],t}},{id:4,parser:function(e){return{tag:4,oti:e[0],streamType:e[1],bufferSize:e[2]<<16|e[3]<<8|e[4],maxBitrate:e[5]<<24|e[6]<<16|e[7]<<8|e[8],avgBitrate:e[9]<<24|e[10]<<16|e[11]<<8|e[12],descriptors:st(e.subarray(13))}}},{id:5,parser:function(e){return{tag:5,bytes:e}}},{id:6,parser:function(e){return{tag:6,bytes:e}}}];var ut=function e(t,n,r){void 0===r&&(r=!1),n=function(e){return Array.isArray(e)?e.map((function(e){return at(e)})):[at(e)]}(n),t=W(t);var i=[];if(!n.length)return i;for(var o=0;o<t.length;){var a=(t[o]<<24|t[o+1]<<16|t[o+2]<<8|t[o+3])>>>0,s=t.subarray(o+4,o+8);if(0===a)break;var u=o+a;if(u>t.length){if(r)break;u=t.length}var c=t.subarray(o+8,u);Q(s,n[0])&&(1===n.length?i.push(c):i.push.apply(i,e(c,n.slice(1),r))),o=u}return i},ct={EBML:W([26,69,223,163]),DocType:W([66,130]),Segment:W([24,83,128,103]),SegmentInfo:W([21,73,169,102]),Tracks:W([22,84,174,107]),Track:W([174]),TrackNumber:W([215]),DefaultDuration:W([35,227,131]),TrackEntry:W([174]),TrackType:W([131]),FlagDefault:W([136]),CodecID:W([134]),CodecPrivate:W([99,162]),VideoTrack:W([224]),AudioTrack:W([225]),Cluster:W([31,67,182,117]),Timestamp:W([231]),TimestampScale:W([42,215,177]),BlockGroup:W([160]),BlockDuration:W([155]),Block:W([161]),SimpleBlock:W([163])},lt=[128,64,32,16,8,4,2,1],ft=function(e,t,n,r){void 0===n&&(n=!0),void 0===r&&(r=!1);var i=function(e){for(var t=1,n=0;n<lt.length&&!(e&lt[n]);n++)t++;return t}(e[t]),o=e.subarray(t,t+i);return n&&((o=Array.prototype.slice.call(e,t,t+i))[0]^=lt[i-1]),{length:i,value:Y(o,{signed:r}),bytes:o}},dt=function e(t){return"string"==typeof t?t.match(/.{1,2}/g).map((function(t){return e(t)})):"number"==typeof t?K(t):t},pt=function e(t,n,r){if(r>=n.length)return n.length;var i=ft(n,r,!1);if(Q(t.bytes,i.bytes))return r;var o=ft(n,r+i.length);return e(t,n,r+o.length+o.value+i.length)},ht=function e(t,n){n=function(e){return Array.isArray(e)?e.map((function(e){return dt(e)})):[dt(e)]}(n),t=W(t);var r=[];if(!n.length)return r;for(var i=0;i<t.length;){var o=ft(t,i,!1),a=ft(t,i+o.length),s=i+o.length+a.length;127===a.value&&(a.value=pt(o,t,s),a.value!==t.length&&(a.value-=s));var u=s+a.value>t.length?t.length:s+a.value,c=t.subarray(s,u);Q(n[0],o.bytes)&&(1===n.length?r.push(c):r=r.concat(e(c,n.slice(1)))),i+=o.length+a.length+c.length}return r},gt=W([0,0,0,1]),mt=W([0,0,1]),yt=W([0,0,3]),vt=function(e){for(var t=[],n=1;n<e.length-2;)Q(e.subarray(n,n+3),yt)&&(t.push(n+2),n++),n++;if(0===t.length)return e;var r=e.length-t.length,i=new Uint8Array(r),o=0;for(n=0;n<r;o++,n++)o===t[0]&&(o++,t.shift()),i[n]=e[o];return i},bt=function(e,t,n,r){void 0===r&&(r=1/0),e=W(e),n=[].concat(n);for(var i,o=0,a=0;o<e.length&&(a<r||i);){var s=void 0;if(Q(e.subarray(o),gt)?s=4:Q(e.subarray(o),mt)&&(s=3),s){if(a++,i)return vt(e.subarray(i,o));var u=void 0;"h264"===t?u=31&e[o+s]:"h265"===t&&(u=e[o+s]>>1&63),-1!==n.indexOf(u)&&(i=o+s),o+=s+("h264"===t?1:2)}else o++}return e.subarray(0,0)},_t={webm:W([119,101,98,109]),matroska:W([109,97,116,114,111,115,107,97]),flac:W([102,76,97,67]),ogg:W([79,103,103,83]),ac3:W([11,119]),riff:W([82,73,70,70]),avi:W([65,86,73]),wav:W([87,65,86,69]),"3gp":W([102,116,121,112,51,103]),mp4:W([102,116,121,112]),fmp4:W([115,116,121,112]),mov:W([102,116,121,112,113,116]),moov:W([109,111,111,118]),moof:W([109,111,111,102])},wt={aac:function(e){var t=ot(e);return Q(e,[255,16],{offset:t,mask:[255,22]})},mp3:function(e){var t=ot(e);return Q(e,[255,2],{offset:t,mask:[255,6]})},webm:function(e){var t=ht(e,[ct.EBML,ct.DocType])[0];return Q(t,_t.webm)},mkv:function(e){var t=ht(e,[ct.EBML,ct.DocType])[0];return Q(t,_t.matroska)},mp4:function(e){return!wt["3gp"](e)&&!wt.mov(e)&&(!(!Q(e,_t.mp4,{offset:4})&&!Q(e,_t.fmp4,{offset:4}))||(!(!Q(e,_t.moof,{offset:4})&&!Q(e,_t.moov,{offset:4}))||void 0))},mov:function(e){return Q(e,_t.mov,{offset:4})},"3gp":function(e){return Q(e,_t["3gp"],{offset:4})},ac3:function(e){var t=ot(e);return Q(e,_t.ac3,{offset:t})},ts:function(e){if(e.length<189&&e.length>=1)return 71===e[0];for(var t=0;t+188<e.length&&t<188;){if(71===e[t]&&71===e[t+188])return!0;t+=1}return!1},flac:function(e){var t=ot(e);return Q(e,_t.flac,{offset:t})},ogg:function(e){return Q(e,_t.ogg)},avi:function(e){return Q(e,_t.riff)&&Q(e,_t.avi,{offset:8})},wav:function(e){return Q(e,_t.riff)&&Q(e,_t.wav,{offset:8})},h264:function(e){return function(e,t,n){return bt(e,"h264",t,n)}(e,7,3).length},h265:function(e){return function(e,t,n){return bt(e,"h265",t,n)}(e,[32,33],3).length}},Tt=Object.keys(wt).filter((function(e){return"ts"!==e&&"h264"!==e&&"h265"!==e})).concat(["ts","h264","h265"]);Tt.forEach((function(e){var t=wt[e];wt[e]=function(e){return t(W(e))}}));var xt=wt,St=function(e){e=W(e);for(var t=0;t<Tt.length;t++){var n=Tt[t];if(xt[n](e))return n}return""},kt=n(51489),Et="8.3.0";const Ot={},Ct=function(e,t){return Ot[e]=Ot[e]||[],t&&(Ot[e]=Ot[e].concat(t)),Ot[e]},Lt=function(e,t){const n=Ct(e).indexOf(t);return!(n<=-1)&&(Ot[e]=Ot[e].slice(),Ot[e].splice(n,1),!0)},At={prefixed:!0},It=[["requestFullscreen","exitFullscreen","fullscreenElement","fullscreenEnabled","fullscreenchange","fullscreenerror","fullscreen"],["webkitRequestFullscreen","webkitExitFullscreen","webkitFullscreenElement","webkitFullscreenEnabled","webkitfullscreenchange","webkitfullscreenerror","-webkit-full-screen"],["mozRequestFullScreen","mozCancelFullScreen","mozFullScreenElement","mozFullScreenEnabled","mozfullscreenchange","mozfullscreenerror","-moz-full-screen"],["msRequestFullscreen","msExitFullscreen","msFullscreenElement","msFullscreenEnabled","MSFullscreenChange","MSFullscreenError","-ms-fullscreen"]],Pt=It[0];let Mt;for(let e=0;e<It.length;e++)if(It[e][1]in a()){Mt=It[e];break}if(Mt){for(let e=0;e<Mt.length;e++)At[Pt[e]]=Mt[e];At.prefixed=Mt[0]!==Pt[0]}let Rt=[];const jt=function e(t){let n,r="info";const o=function(...e){n("log",r,e)};return n=((e,t)=>(n,r,o)=>{const a=t.levels[r],s=new RegExp(`^(${a})$`);if("log"!==n&&o.unshift(n.toUpperCase()+":"),o.unshift(e+":"),Rt){Rt.push([].concat(o));const e=Rt.length-1e3;Rt.splice(0,e>0?e:0)}if(!i().console)return;let u=i().console[n];u||"debug"!==n||(u=i().console.info||i().console.log),u&&a&&s.test(n)&&u[Array.isArray(o)?"apply":"call"](i().console,o)})(t,o),o.createLogger=n=>e(t+": "+n),o.levels={all:"debug|log|warn|error",off:"",debug:"debug|log|warn|error",info:"log|warn|error",warn:"warn|error",error:"error",DEFAULT:r},o.level=e=>{if("string"==typeof e){if(!o.levels.hasOwnProperty(e))throw new Error(`"${e}" in not a valid log level`);r=e}return r},(o.history=()=>Rt?[].concat(Rt):[]).filter=e=>(Rt||[]).filter((t=>new RegExp(`.*${e}.*`).test(t[0]))),o.history.clear=()=>{Rt&&(Rt.length=0)},o.history.disable=()=>{null!==Rt&&(Rt.length=0,Rt=null)},o.history.enable=()=>{null===Rt&&(Rt=[])},o.error=(...e)=>n("error",r,e),o.warn=(...e)=>n("warn",r,e),o.debug=(...e)=>n("debug",r,e),o}("VIDEOJS"),Dt=jt.createLogger,Nt=Object.prototype.toString,Bt=function(e){return zt(e)?Object.keys(e):[]};function Ut(e,t){Bt(e).forEach((n=>t(e[n],n)))}function Ft(e,t,n=0){return Bt(e).reduce(((n,r)=>t(n,e[r],r)),n)}function zt(e){return!!e&&"object"==typeof e}function Ht(e){return zt(e)&&"[object Object]"===Nt.call(e)&&e.constructor===Object}function Zt(...e){const t={};return e.forEach((e=>{e&&Ut(e,((e,n)=>{Ht(e)?(Ht(t[n])||(t[n]={}),t[n]=Zt(t[n],e)):t[n]=e}))})),t}function qt(e,t,n,r=!0){const i=n=>Object.defineProperty(e,t,{value:n,enumerable:!0,writable:!0}),o={configurable:!0,enumerable:!0,get(){const e=n();return i(e),e}};return r&&(o.set=i),Object.defineProperty(e,t,o)}var Vt=Object.freeze({__proto__:null,each:Ut,reduce:Ft,isObject:zt,isPlain:Ht,merge:Zt,defineLazyProperty:qt});let Wt,Gt=!1,$t=null,Yt=!1,Kt=!1,Xt=!1,Qt=!1,Jt=!1,en=null,tn=null,nn=null,rn=!1,on=!1,an=!1,sn=!1;const un=Boolean(hn()&&("ontouchstart"in i()||i().navigator.maxTouchPoints||i().DocumentTouch&&i().document instanceof i().DocumentTouch)),cn=i().navigator&&i().navigator.userAgentData;if(cn&&(Yt="Android"===cn.platform,Xt=Boolean(cn.brands.find((e=>"Microsoft Edge"===e.brand))),Qt=Boolean(cn.brands.find((e=>"Chromium"===e.brand))),Jt=!Xt&&Qt,en=tn=(cn.brands.find((e=>"Chromium"===e.brand))||{}).version||null,on="Windows"===cn.platform),!Qt){const e=i().navigator&&i().navigator.userAgent||"";Gt=/iPod/i.test(e),$t=function(){const t=e.match(/OS (\d+)_/i);return t&&t[1]?t[1]:null}(),Yt=/Android/i.test(e),Wt=function(){const t=e.match(/Android (\d+)(?:\.(\d+))?(?:\.(\d+))*/i);if(!t)return null;const n=t[1]&&parseFloat(t[1]),r=t[2]&&parseFloat(t[2]);return n&&r?parseFloat(t[1]+"."+t[2]):n||null}(),Kt=/Firefox/i.test(e),Xt=/Edg/i.test(e),Qt=/Chrome/i.test(e)||/CriOS/i.test(e),Jt=!Xt&&Qt,en=tn=function(){const t=e.match(/(Chrome|CriOS)\/(\d+)/);return t&&t[2]?parseFloat(t[2]):null}(),nn=function(){const t=/MSIE\s(\d+)\.\d/.exec(e);let n=t&&parseFloat(t[1]);return!n&&/Trident\/7.0/i.test(e)&&/rv:11.0/.test(e)&&(n=11),n}(),rn=/Safari/i.test(e)&&!Jt&&!Yt&&!Xt,on=/Windows/i.test(e),an=/iPad/i.test(e)||rn&&un&&!/iPhone/i.test(e),sn=/iPhone/i.test(e)&&!an}const ln=sn||an||Gt,fn=(rn||ln)&&!Jt;var dn=Object.freeze({__proto__:null,get IS_IPOD(){return Gt},get IOS_VERSION(){return $t},get IS_ANDROID(){return Yt},get ANDROID_VERSION(){return Wt},get IS_FIREFOX(){return Kt},get IS_EDGE(){return Xt},get IS_CHROMIUM(){return Qt},get IS_CHROME(){return Jt},get CHROMIUM_VERSION(){return en},get CHROME_VERSION(){return tn},get IE_VERSION(){return nn},get IS_SAFARI(){return rn},get IS_WINDOWS(){return on},get IS_IPAD(){return an},get IS_IPHONE(){return sn},TOUCH_ENABLED:un,IS_IOS:ln,IS_ANY_SAFARI:fn});function pn(e){return"string"==typeof e&&Boolean(e.trim())}function hn(){return a()===i().document}function gn(e){return zt(e)&&1===e.nodeType}function mn(){try{return i().parent!==i().self}catch(e){return!0}}function yn(e){return function(t,n){if(!pn(t))return a()[e](null);pn(n)&&(n=a().querySelector(n));const r=gn(n)?n:a();return r[e]&&r[e](t)}}function vn(e="div",t={},n={},r){const i=a().createElement(e);return Object.getOwnPropertyNames(t).forEach((function(e){const n=t[e];"textContent"===e?bn(i,n):i[e]===n&&"tabIndex"!==e||(i[e]=n)})),Object.getOwnPropertyNames(n).forEach((function(e){i.setAttribute(e,n[e])})),r&&Bn(i,r),i}function bn(e,t){return void 0===e.textContent?e.innerText=t:e.textContent=t,e}function _n(e,t){t.firstChild?t.insertBefore(e,t.firstChild):t.appendChild(e)}function wn(e,t){return function(e){if(e.indexOf(" ")>=0)throw new Error("class has illegal whitespace characters")}(t),e.classList.contains(t)}function Tn(e,...t){return e.classList.add(...t.reduce(((e,t)=>e.concat(t.split(/\s+/))),[])),e}function xn(e,...t){return e?(e.classList.remove(...t.reduce(((e,t)=>e.concat(t.split(/\s+/))),[])),e):(jt.warn("removeClass was called with an element that doesn't exist"),null)}function Sn(e,t,n){return"function"==typeof n&&(n=n(e,t)),"boolean"!=typeof n&&(n=void 0),t.split(/\s+/).forEach((t=>e.classList.toggle(t,n))),e}function kn(e,t){Object.getOwnPropertyNames(t).forEach((function(n){const r=t[n];null==r||!1===r?e.removeAttribute(n):e.setAttribute(n,!0===r?"":r)}))}function En(e){const t={},n=",autoplay,controls,playsinline,loop,muted,default,defaultMuted,";if(e&&e.attributes&&e.attributes.length>0){const r=e.attributes;for(let i=r.length-1;i>=0;i--){const o=r[i].name;let a=r[i].value;"boolean"!=typeof e[o]&&-1===n.indexOf(","+o+",")||(a=null!==a),t[o]=a}}return t}function On(e,t){return e.getAttribute(t)}function Cn(e,t,n){e.setAttribute(t,n)}function Ln(e,t){e.removeAttribute(t)}function An(){a().body.focus(),a().onselectstart=function(){return!1}}function In(){a().onselectstart=function(){return!0}}function Pn(e){if(e&&e.getBoundingClientRect&&e.parentNode){const t=e.getBoundingClientRect(),n={};return["bottom","height","left","right","top","width"].forEach((e=>{void 0!==t[e]&&(n[e]=t[e])})),n.height||(n.height=parseFloat(Zn(e,"height"))),n.width||(n.width=parseFloat(Zn(e,"width"))),n}}function Mn(e){if(!e||e&&!e.offsetParent)return{left:0,top:0,width:0,height:0};const t=e.offsetWidth,n=e.offsetHeight;let r=0,i=0;for(;e.offsetParent&&e!==a()[At.fullscreenElement];)r+=e.offsetLeft,i+=e.offsetTop,e=e.offsetParent;return{left:r,top:i,width:t,height:n}}function Rn(e,t){const n={x:0,y:0};if(ln){let t=e;for(;t&&"html"!==t.nodeName.toLowerCase();){const e=Zn(t,"transform");if(/^matrix/.test(e)){const t=e.slice(7,-1).split(/,\s/).map(Number);n.x+=t[4],n.y+=t[5]}else if(/^matrix3d/.test(e)){const t=e.slice(9,-1).split(/,\s/).map(Number);n.x+=t[12],n.y+=t[13]}t=t.parentNode}}const r={},i=Mn(t.target),o=Mn(e),a=o.width,s=o.height;let u=t.offsetY-(o.top-i.top),c=t.offsetX-(o.left-i.left);return t.changedTouches&&(c=t.changedTouches[0].pageX-o.left,u=t.changedTouches[0].pageY+o.top,ln&&(c-=n.x,u-=n.y)),r.y=1-Math.max(0,Math.min(1,u/s)),r.x=Math.max(0,Math.min(1,c/a)),r}function jn(e){return zt(e)&&3===e.nodeType}function Dn(e){for(;e.firstChild;)e.removeChild(e.firstChild);return e}function Nn(e){return"function"==typeof e&&(e=e()),(Array.isArray(e)?e:[e]).map((e=>("function"==typeof e&&(e=e()),gn(e)||jn(e)?e:"string"==typeof e&&/\S/.test(e)?a().createTextNode(e):void 0))).filter((e=>e))}function Bn(e,t){return Nn(t).forEach((t=>e.appendChild(t))),e}function Un(e,t){return Bn(Dn(e),t)}function Fn(e){return void 0===e.button&&void 0===e.buttons||(0===e.button&&void 0===e.buttons||("mouseup"===e.type&&0===e.button&&0===e.buttons||0===e.button&&1===e.buttons))}const zn=yn("querySelector"),Hn=yn("querySelectorAll");function Zn(e,t){if(!e||!t)return"";if("function"==typeof i().getComputedStyle){let n;try{n=i().getComputedStyle(e)}catch(e){return""}return n?n.getPropertyValue(t)||n[t]:""}return""}var qn=Object.freeze({__proto__:null,isReal:hn,isEl:gn,isInFrame:mn,createEl:vn,textContent:bn,prependTo:_n,hasClass:wn,addClass:Tn,removeClass:xn,toggleClass:Sn,setAttributes:kn,getAttributes:En,getAttribute:On,setAttribute:Cn,removeAttribute:Ln,blockTextSelection:An,unblockTextSelection:In,getBoundingClientRect:Pn,findPosition:Mn,getPointerPosition:Rn,isTextNode:jn,emptyEl:Dn,normalizeContent:Nn,appendContent:Bn,insertContent:Un,isSingleLeftClick:Fn,$:zn,$$:Hn,computedStyle:Zn});let Vn,Wn=!1;const Gn=function(){if(!1===Vn.options.autoSetup)return;const e=Array.prototype.slice.call(a().getElementsByTagName("video")),t=Array.prototype.slice.call(a().getElementsByTagName("audio")),n=Array.prototype.slice.call(a().getElementsByTagName("video-js")),r=e.concat(t,n);if(r&&r.length>0)for(let e=0,t=r.length;e<t;e++){const t=r[e];if(!t||!t.getAttribute){$n(1);break}if(void 0===t.player){null!==t.getAttribute("data-setup")&&Vn(t)}}else Wn||$n(1)};function $n(e,t){hn()&&(t&&(Vn=t),i().setTimeout(Gn,e))}function Yn(){Wn=!0,i().removeEventListener("load",Yn)}hn()&&("complete"===a().readyState?Yn():i().addEventListener("load",Yn));const Kn=function(e){const t=a().createElement("style");return t.className=e,t},Xn=function(e,t){e.styleSheet?e.styleSheet.cssText=t:e.textContent=t};var Qn=new WeakMap;let Jn,er=3;function tr(){return er++}function nr(e,t){if(!Qn.has(e))return;const n=Qn.get(e);0===n.handlers[t].length&&(delete n.handlers[t],e.removeEventListener?e.removeEventListener(t,n.dispatcher,!1):e.detachEvent&&e.detachEvent("on"+t,n.dispatcher)),Object.getOwnPropertyNames(n.handlers).length<=0&&(delete n.handlers,delete n.dispatcher,delete n.disabled),0===Object.getOwnPropertyNames(n).length&&Qn.delete(e)}function rr(e,t,n,r){n.forEach((function(n){e(t,n,r)}))}function ir(e){if(e.fixed_)return e;function t(){return!0}function n(){return!1}if(!e||!e.isPropagationStopped||!e.isImmediatePropagationStopped){const r=e||i().event;e={};for(const t in r)"layerX"!==t&&"layerY"!==t&&"keyLocation"!==t&&"webkitMovementX"!==t&&"webkitMovementY"!==t&&"path"!==t&&("returnValue"===t&&r.preventDefault||(e[t]=r[t]));if(e.target||(e.target=e.srcElement||a()),e.relatedTarget||(e.relatedTarget=e.fromElement===e.target?e.toElement:e.fromElement),e.preventDefault=function(){r.preventDefault&&r.preventDefault(),e.returnValue=!1,r.returnValue=!1,e.defaultPrevented=!0},e.defaultPrevented=!1,e.stopPropagation=function(){r.stopPropagation&&r.stopPropagation(),e.cancelBubble=!0,r.cancelBubble=!0,e.isPropagationStopped=t},e.isPropagationStopped=n,e.stopImmediatePropagation=function(){r.stopImmediatePropagation&&r.stopImmediatePropagation(),e.isImmediatePropagationStopped=t,e.stopPropagation()},e.isImmediatePropagationStopped=n,null!==e.clientX&&void 0!==e.clientX){const t=a().documentElement,n=a().body;e.pageX=e.clientX+(t&&t.scrollLeft||n&&n.scrollLeft||0)-(t&&t.clientLeft||n&&n.clientLeft||0),e.pageY=e.clientY+(t&&t.scrollTop||n&&n.scrollTop||0)-(t&&t.clientTop||n&&n.clientTop||0)}e.which=e.charCode||e.keyCode,null!==e.button&&void 0!==e.button&&(e.button=1&e.button?0:4&e.button?1:2&e.button?2:0)}return e.fixed_=!0,e}const or=["touchstart","touchmove"];function ar(e,t,n){if(Array.isArray(t))return rr(ar,e,t,n);Qn.has(e)||Qn.set(e,{});const r=Qn.get(e);if(r.handlers||(r.handlers={}),r.handlers[t]||(r.handlers[t]=[]),n.guid||(n.guid=tr()),r.handlers[t].push(n),r.dispatcher||(r.disabled=!1,r.dispatcher=function(t,n){if(r.disabled)return;t=ir(t);const i=r.handlers[t.type];if(i){const r=i.slice(0);for(let i=0,o=r.length;i<o&&!t.isImmediatePropagationStopped();i++)try{r[i].call(e,t,n)}catch(e){jt.error(e)}}}),1===r.handlers[t].length)if(e.addEventListener){let n=!1;(function(){if("boolean"!=typeof Jn){Jn=!1;try{const e=Object.defineProperty({},"passive",{get(){Jn=!0}});i().addEventListener("test",null,e),i().removeEventListener("test",null,e)}catch(e){}}return Jn})()&&or.indexOf(t)>-1&&(n={passive:!0}),e.addEventListener(t,r.dispatcher,n)}else e.attachEvent&&e.attachEvent("on"+t,r.dispatcher)}function sr(e,t,n){if(!Qn.has(e))return;const r=Qn.get(e);if(!r.handlers)return;if(Array.isArray(t))return rr(sr,e,t,n);const i=function(e,t){r.handlers[t]=[],nr(e,t)};if(void 0===t){for(const t in r.handlers)Object.prototype.hasOwnProperty.call(r.handlers||{},t)&&i(e,t);return}const o=r.handlers[t];if(o)if(n){if(n.guid)for(let e=0;e<o.length;e++)o[e].guid===n.guid&&o.splice(e--,1);nr(e,t)}else i(e,t)}function ur(e,t,n){const r=Qn.has(e)?Qn.get(e):{},i=e.parentNode||e.ownerDocument;if("string"==typeof t?t={type:t,target:e}:t.target||(t.target=e),t=ir(t),r.dispatcher&&r.dispatcher.call(e,t,n),i&&!t.isPropagationStopped()&&!0===t.bubbles)ur.call(null,i,t,n);else if(!i&&!t.defaultPrevented&&t.target&&t.target[t.type]){Qn.has(t.target)||Qn.set(t.target,{});const e=Qn.get(t.target);t.target[t.type]&&(e.disabled=!0,"function"==typeof t.target[t.type]&&t.target[t.type](),e.disabled=!1)}return!t.defaultPrevented}function cr(e,t,n){if(Array.isArray(t))return rr(cr,e,t,n);const r=function(){sr(e,t,r),n.apply(this,arguments)};r.guid=n.guid=n.guid||tr(),ar(e,t,r)}function lr(e,t,n){const r=function(){sr(e,t,r),n.apply(this,arguments)};r.guid=n.guid=n.guid||tr(),ar(e,t,r)}var fr=Object.freeze({__proto__:null,fixEvent:ir,on:ar,off:sr,trigger:ur,one:cr,any:lr});const dr=30,pr=function(e,t,n){t.guid||(t.guid=tr());const r=t.bind(e);return r.guid=n?n+"_"+t.guid:t.guid,r},hr=function(e,t){let n=i().performance.now();return function(...r){const o=i().performance.now();o-n>=t&&(e(...r),n=o)}},gr=function(e,t,n,r=i()){let o;const a=function(){const i=this,a=arguments;let s=function(){o=null,s=null,n||e.apply(i,a)};!o&&n&&e.apply(i,a),r.clearTimeout(o),o=r.setTimeout(s,t)};return a.cancel=()=>{r.clearTimeout(o),o=null},a};var mr=Object.freeze({__proto__:null,UPDATE_REFRESH_INTERVAL:dr,bind_:pr,throttle:hr,debounce:gr});let yr;class vr{on(e,t){const n=this.addEventListener;this.addEventListener=()=>{},ar(this,e,t),this.addEventListener=n}off(e,t){sr(this,e,t)}one(e,t){const n=this.addEventListener;this.addEventListener=()=>{},cr(this,e,t),this.addEventListener=n}any(e,t){const n=this.addEventListener;this.addEventListener=()=>{},lr(this,e,t),this.addEventListener=n}trigger(e){const t=e.type||e;"string"==typeof e&&(e={type:t}),e=ir(e),this.allowedEvents_[t]&&this["on"+t]&&this["on"+t](e),ur(this,e)}queueTrigger(e){yr||(yr=new Map);const t=e.type||e;let n=yr.get(this);n||(n=new Map,yr.set(this,n));const r=n.get(t);n.delete(t),i().clearTimeout(r);const o=i().setTimeout((()=>{n.delete(t),0===n.size&&(n=null,yr.delete(this)),this.trigger(e)}),0);n.set(t,o)}}vr.prototype.allowedEvents_={},vr.prototype.addEventListener=vr.prototype.on,vr.prototype.removeEventListener=vr.prototype.off,vr.prototype.dispatchEvent=vr.prototype.trigger;const br=e=>"function"==typeof e.name?e.name():"string"==typeof e.name?e.name:e.name_?e.name_:e.constructor&&e.constructor.name?e.constructor.name:typeof e,_r=e=>e instanceof vr||!!e.eventBusEl_&&["on","one","off","trigger"].every((t=>"function"==typeof e[t])),wr=e=>"string"==typeof e&&/\S/.test(e)||Array.isArray(e)&&!!e.length,Tr=(e,t,n)=>{if(!e||!e.nodeName&&!_r(e))throw new Error(`Invalid target for ${br(t)}#${n}; must be a DOM node or evented object.`)},xr=(e,t,n)=>{if(!wr(e))throw new Error(`Invalid event type for ${br(t)}#${n}; must be a non-empty string or array.`)},Sr=(e,t,n)=>{if("function"!=typeof e)throw new Error(`Invalid listener for ${br(t)}#${n}; must be a function.`)},kr=(e,t,n)=>{const r=t.length<3||t[0]===e||t[0]===e.eventBusEl_;let i,o,a;return r?(i=e.eventBusEl_,t.length>=3&&t.shift(),[o,a]=t):[i,o,a]=t,Tr(i,e,n),xr(o,e,n),Sr(a,e,n),a=pr(e,a),{isTargetingSelf:r,target:i,type:o,listener:a}},Er=(e,t,n,r)=>{Tr(e,e,t),e.nodeName?fr[t](e,n,r):e[t](n,r)},Or={on(...e){const{isTargetingSelf:t,target:n,type:r,listener:i}=kr(this,e,"on");if(Er(n,"on",r,i),!t){const e=()=>this.off(n,r,i);e.guid=i.guid;const t=()=>this.off("dispose",e);t.guid=i.guid,Er(this,"on","dispose",e),Er(n,"on","dispose",t)}},one(...e){const{isTargetingSelf:t,target:n,type:r,listener:i}=kr(this,e,"one");if(t)Er(n,"one",r,i);else{const e=(...t)=>{this.off(n,r,e),i.apply(null,t)};e.guid=i.guid,Er(n,"one",r,e)}},any(...e){const{isTargetingSelf:t,target:n,type:r,listener:i}=kr(this,e,"any");if(t)Er(n,"any",r,i);else{const e=(...t)=>{this.off(n,r,e),i.apply(null,t)};e.guid=i.guid,Er(n,"any",r,e)}},off(e,t,n){if(!e||wr(e))sr(this.eventBusEl_,e,t);else{const r=e,i=t;Tr(r,this,"off"),xr(i,this,"off"),Sr(n,this,"off"),n=pr(this,n),this.off("dispose",n),r.nodeName?(sr(r,i,n),sr(r,"dispose",n)):_r(r)&&(r.off(i,n),r.off("dispose",n))}},trigger(e,t){Tr(this.eventBusEl_,this,"trigger");const n=e&&"string"!=typeof e?e.type:e;if(!wr(n))throw new Error(`Invalid event type for ${br(this)}#trigger; must be a non-empty string or object with a type key that has a non-empty value.`);return ur(this.eventBusEl_,e,t)}};function Cr(e,t={}){const{eventBusKey:n}=t;if(n){if(!e[n].nodeName)throw new Error(`The eventBusKey "${n}" does not refer to an element.`);e.eventBusEl_=e[n]}else e.eventBusEl_=vn("span",{className:"vjs-event-bus"});return Object.assign(e,Or),e.eventedCallbacks&&e.eventedCallbacks.forEach((e=>{e()})),e.on("dispose",(()=>{e.off(),[e,e.el_,e.eventBusEl_].forEach((function(e){e&&Qn.has(e)&&Qn.delete(e)})),i().setTimeout((()=>{e.eventBusEl_=null}),0)})),e}const Lr={state:{},setState(e){let t;return"function"==typeof e&&(e=e()),Ut(e,((e,n)=>{this.state[n]!==e&&(t=t||{},t[n]={from:this.state[n],to:e}),this.state[n]=e})),t&&_r(this)&&this.trigger({changes:t,type:"statechanged"}),t}};function Ar(e,t){return Object.assign(e,Lr),e.state=Object.assign({},e.state,t),"function"==typeof e.handleStateChanged&&_r(e)&&e.on("statechanged",e.handleStateChanged),e}const Ir=function(e){return"string"!=typeof e?e:e.replace(/./,(e=>e.toLowerCase()))},Pr=function(e){return"string"!=typeof e?e:e.replace(/./,(e=>e.toUpperCase()))},Mr=function(e,t){return Pr(e)===Pr(t)};var Rr=Object.freeze({__proto__:null,toLowerCase:Ir,toTitleCase:Pr,titleCaseEquals:Mr});class jr{constructor(e,t,n){if(!e&&this.play?this.player_=e=this:this.player_=e,this.isDisposed_=!1,this.parentComponent_=null,this.options_=Zt({},this.options_),t=this.options_=Zt(this.options_,t),this.id_=t.id||t.el&&t.el.id,!this.id_){const t=e&&e.id&&e.id()||"no_player";this.id_=`${t}_component_${tr()}`}this.name_=t.name||null,t.el?this.el_=t.el:!1!==t.createEl&&(this.el_=this.createEl()),t.className&&this.el_&&t.className.split(" ").forEach((e=>this.addClass(e))),["on","off","one","any","trigger"].forEach((e=>{this[e]=void 0})),!1!==t.evented&&(Cr(this,{eventBusKey:this.el_?"el_":null}),this.handleLanguagechange=this.handleLanguagechange.bind(this),this.on(this.player_,"languagechange",this.handleLanguagechange)),Ar(this,this.constructor.defaultState),this.children_=[],this.childIndex_={},this.childNameIndex_={},this.setTimeoutIds_=new Set,this.setIntervalIds_=new Set,this.rafIds_=new Set,this.namedRafs_=new Map,this.clearingTimersOnDispose_=!1,!1!==t.initChildren&&this.initChildren(),this.ready(n),!1!==t.reportTouchActivity&&this.enableTouchActivity()}on(e,t){}off(e,t){}one(e,t){}any(e,t){}trigger(e){}dispose(e={}){if(!this.isDisposed_){if(this.readyQueue_&&(this.readyQueue_.length=0),this.trigger({type:"dispose",bubbles:!1}),this.isDisposed_=!0,this.children_)for(let e=this.children_.length-1;e>=0;e--)this.children_[e].dispose&&this.children_[e].dispose();this.children_=null,this.childIndex_=null,this.childNameIndex_=null,this.parentComponent_=null,this.el_&&(this.el_.parentNode&&(e.restoreEl?this.el_.parentNode.replaceChild(e.restoreEl,this.el_):this.el_.parentNode.removeChild(this.el_)),this.el_=null),this.player_=null}}isDisposed(){return Boolean(this.isDisposed_)}player(){return this.player_}options(e){return e?(this.options_=Zt(this.options_,e),this.options_):this.options_}el(){return this.el_}createEl(e,t,n){return vn(e,t,n)}localize(e,t,n=e){const r=this.player_.language&&this.player_.language(),i=this.player_.languages&&this.player_.languages(),o=i&&i[r],a=r&&r.split("-")[0],s=i&&i[a];let u=n;return o&&o[e]?u=o[e]:s&&s[e]&&(u=s[e]),t&&(u=u.replace(/\{(\d+)\}/g,(function(e,n){const r=t[n-1];let i=r;return void 0===r&&(i=e),i}))),u}handleLanguagechange(){}contentEl(){return this.contentEl_||this.el_}id(){return this.id_}name(){return this.name_}children(){return this.children_}getChildById(e){return this.childIndex_[e]}getChild(e){if(e)return this.childNameIndex_[e]}getDescendant(...e){e=e.reduce(((e,t)=>e.concat(t)),[]);let t=this;for(let n=0;n<e.length;n++)if(t=t.getChild(e[n]),!t||!t.getChild)return;return t}addChild(e,t={},n=this.children_.length){let r,i;if("string"==typeof e){i=Pr(e);const n=t.componentClass||i;t.name=i;const o=jr.getComponent(n);if(!o)throw new Error(`Component ${n} does not exist`);if("function"!=typeof o)return null;r=new o(this.player_||this,t)}else r=e;if(r.parentComponent_&&r.parentComponent_.removeChild(r),this.children_.splice(n,0,r),r.parentComponent_=this,"function"==typeof r.id&&(this.childIndex_[r.id()]=r),i=i||r.name&&Pr(r.name()),i&&(this.childNameIndex_[i]=r,this.childNameIndex_[Ir(i)]=r),"function"==typeof r.el&&r.el()){let e=null;this.children_[n+1]&&(this.children_[n+1].el_?e=this.children_[n+1].el_:gn(this.children_[n+1])&&(e=this.children_[n+1])),this.contentEl().insertBefore(r.el(),e)}return r}removeChild(e){if("string"==typeof e&&(e=this.getChild(e)),!e||!this.children_)return;let t=!1;for(let n=this.children_.length-1;n>=0;n--)if(this.children_[n]===e){t=!0,this.children_.splice(n,1);break}if(!t)return;e.parentComponent_=null,this.childIndex_[e.id()]=null,this.childNameIndex_[Pr(e.name())]=null,this.childNameIndex_[Ir(e.name())]=null;const n=e.el();n&&n.parentNode===this.contentEl()&&this.contentEl().removeChild(e.el())}initChildren(){const e=this.options_.children;if(e){const t=this.options_,n=e=>{const n=e.name;let r=e.opts;if(void 0!==t[n]&&(r=t[n]),!1===r)return;!0===r&&(r={}),r.playerOptions=this.options_.playerOptions;const i=this.addChild(n,r);i&&(this[n]=i)};let r;const i=jr.getComponent("Tech");r=Array.isArray(e)?e:Object.keys(e),r.concat(Object.keys(this.options_).filter((function(e){return!r.some((function(t){return"string"==typeof t?e===t:e===t.name}))}))).map((t=>{let n,r;return"string"==typeof t?(n=t,r=e[n]||this.options_[n]||{}):(n=t.name,r=t),{name:n,opts:r}})).filter((e=>{const t=jr.getComponent(e.opts.componentClass||Pr(e.name));return t&&!i.isTech(t)})).forEach(n)}}buildCSSClass(){return""}ready(e,t=!1){if(e)return this.isReady_?void(t?e.call(this):this.setTimeout(e,1)):(this.readyQueue_=this.readyQueue_||[],void this.readyQueue_.push(e))}triggerReady(){this.isReady_=!0,this.setTimeout((function(){const e=this.readyQueue_;this.readyQueue_=[],e&&e.length>0&&e.forEach((function(e){e.call(this)}),this),this.trigger("ready")}),1)}$(e,t){return zn(e,t||this.contentEl())}$$(e,t){return Hn(e,t||this.contentEl())}hasClass(e){return wn(this.el_,e)}addClass(...e){Tn(this.el_,...e)}removeClass(...e){xn(this.el_,...e)}toggleClass(e,t){Sn(this.el_,e,t)}show(){this.removeClass("vjs-hidden")}hide(){this.addClass("vjs-hidden")}lockShowing(){this.addClass("vjs-lock-showing")}unlockShowing(){this.removeClass("vjs-lock-showing")}getAttribute(e){return On(this.el_,e)}setAttribute(e,t){Cn(this.el_,e,t)}removeAttribute(e){Ln(this.el_,e)}width(e,t){return this.dimension("width",e,t)}height(e,t){return this.dimension("height",e,t)}dimensions(e,t){this.width(e,!0),this.height(t)}dimension(e,t,n){if(void 0!==t)return null!==t&&t==t||(t=0),-1!==(""+t).indexOf("%")||-1!==(""+t).indexOf("px")?this.el_.style[e]=t:this.el_.style[e]="auto"===t?"":t+"px",void(n||this.trigger("componentresize"));if(!this.el_)return 0;const r=this.el_.style[e],i=r.indexOf("px");return-1!==i?parseInt(r.slice(0,i),10):parseInt(this.el_["offset"+Pr(e)],10)}currentDimension(e){let t=0;if("width"!==e&&"height"!==e)throw new Error("currentDimension only accepts width or height value");if(t=Zn(this.el_,e),t=parseFloat(t),0===t||isNaN(t)){const n=`offset${Pr(e)}`;t=this.el_[n]}return t}currentDimensions(){return{width:this.currentDimension("width"),height:this.currentDimension("height")}}currentWidth(){return this.currentDimension("width")}currentHeight(){return this.currentDimension("height")}focus(){this.el_.focus()}blur(){this.el_.blur()}handleKeyDown(e){this.player_&&(u().isEventKey(e,"Tab")||e.stopPropagation(),this.player_.handleKeyDown(e))}handleKeyPress(e){this.handleKeyDown(e)}emitTapEvents(){let e=0,t=null;let n;this.on("touchstart",(function(r){1===r.touches.length&&(t={pageX:r.touches[0].pageX,pageY:r.touches[0].pageY},e=i().performance.now(),n=!0)})),this.on("touchmove",(function(e){if(e.touches.length>1)n=!1;else if(t){const r=e.touches[0].pageX-t.pageX,i=e.touches[0].pageY-t.pageY;Math.sqrt(r*r+i*i)>10&&(n=!1)}}));const r=function(){n=!1};this.on("touchleave",r),this.on("touchcancel",r),this.on("touchend",(function(r){if(t=null,!0===n){i().performance.now()-e<200&&(r.preventDefault(),this.trigger("tap"))}}))}enableTouchActivity(){if(!this.player()||!this.player().reportUserActivity)return;const e=pr(this.player(),this.player().reportUserActivity);let t;this.on("touchstart",(function(){e(),this.clearInterval(t),t=this.setInterval(e,250)}));const n=function(n){e(),this.clearInterval(t)};this.on("touchmove",e),this.on("touchend",n),this.on("touchcancel",n)}setTimeout(e,t){var n;return e=pr(this,e),this.clearTimersOnDispose_(),n=i().setTimeout((()=>{this.setTimeoutIds_.has(n)&&this.setTimeoutIds_.delete(n),e()}),t),this.setTimeoutIds_.add(n),n}clearTimeout(e){return this.setTimeoutIds_.has(e)&&(this.setTimeoutIds_.delete(e),i().clearTimeout(e)),e}setInterval(e,t){e=pr(this,e),this.clearTimersOnDispose_();const n=i().setInterval(e,t);return this.setIntervalIds_.add(n),n}clearInterval(e){return this.setIntervalIds_.has(e)&&(this.setIntervalIds_.delete(e),i().clearInterval(e)),e}requestAnimationFrame(e){var t;return this.clearTimersOnDispose_(),e=pr(this,e),t=i().requestAnimationFrame((()=>{this.rafIds_.has(t)&&this.rafIds_.delete(t),e()})),this.rafIds_.add(t),t}requestNamedAnimationFrame(e,t){if(this.namedRafs_.has(e))return;this.clearTimersOnDispose_(),t=pr(this,t);const n=this.requestAnimationFrame((()=>{t(),this.namedRafs_.has(e)&&this.namedRafs_.delete(e)}));return this.namedRafs_.set(e,n),e}cancelNamedAnimationFrame(e){this.namedRafs_.has(e)&&(this.cancelAnimationFrame(this.namedRafs_.get(e)),this.namedRafs_.delete(e))}cancelAnimationFrame(e){return this.rafIds_.has(e)&&(this.rafIds_.delete(e),i().cancelAnimationFrame(e)),e}clearTimersOnDispose_(){this.clearingTimersOnDispose_||(this.clearingTimersOnDispose_=!0,this.one("dispose",(()=>{[["namedRafs_","cancelNamedAnimationFrame"],["rafIds_","cancelAnimationFrame"],["setTimeoutIds_","clearTimeout"],["setIntervalIds_","clearInterval"]].forEach((([e,t])=>{this[e].forEach(((e,n)=>this[t](n)))})),this.clearingTimersOnDispose_=!1})))}static registerComponent(e,t){if("string"!=typeof e||!e)throw new Error(`Illegal component name, "${e}"; must be a non-empty string.`);const n=jr.getComponent("Tech"),r=n&&n.isTech(t),i=jr===t||jr.prototype.isPrototypeOf(t.prototype);if(r||!i){let t;throw t=r?"techs must be registered using Tech.registerTech()":"must be a Component subclass",new Error(`Illegal component, "${e}"; ${t}.`)}e=Pr(e),jr.components_||(jr.components_={});const o=jr.getComponent("Player");if("Player"===e&&o&&o.players){const e=o.players,t=Object.keys(e);if(e&&t.length>0&&t.map((t=>e[t])).every(Boolean))throw new Error("Can not register Player component after player has been created.")}return jr.components_[e]=t,jr.components_[Ir(e)]=t,t}static getComponent(e){if(e&&jr.components_)return jr.components_[e]}}function Dr(e,t,n,r){return function(e,t,n){if("number"!=typeof t||t<0||t>n)throw new Error(`Failed to execute '${e}' on 'TimeRanges': The index provided (${t}) is non-numeric or out of bounds (0-${n}).`)}(e,r,n.length-1),n[r][t]}function Nr(e){let t;return t=void 0===e||0===e.length?{length:0,start(){throw new Error("This TimeRanges object is empty")},end(){throw new Error("This TimeRanges object is empty")}}:{length:e.length,start:Dr.bind(null,"start",0,e),end:Dr.bind(null,"end",1,e)},i().Symbol&&i().Symbol.iterator&&(t[i().Symbol.iterator]=()=>(e||[]).values()),t}function Br(e,t){return Array.isArray(e)?Nr(e):void 0===e||void 0===t?Nr():Nr([[e,t]])}jr.registerComponent("Component",jr);const Ur=function(e,t){e=e<0?0:e;let n=Math.floor(e%60),r=Math.floor(e/60%60),i=Math.floor(e/3600);const o=Math.floor(t/60%60),a=Math.floor(t/3600);return(isNaN(e)||e===1/0)&&(i=r=n="-"),i=i>0||a>0?i+":":"",r=((i||o>=10)&&r<10?"0"+r:r)+":",n=n<10?"0"+n:n,i+r+n};let Fr=Ur;function zr(e){Fr=e}function Hr(){Fr=Ur}function Zr(e,t=e){return Fr(e,t)}var qr=Object.freeze({__proto__:null,createTimeRanges:Br,createTimeRange:Br,setFormatTime:zr,resetFormatTime:Hr,formatTime:Zr});function Vr(e,t){let n,r,i=0;if(!t)return 0;e&&e.length||(e=Br(0,0));for(let o=0;o<e.length;o++)n=e.start(o),r=e.end(o),r>t&&(r=t),i+=r-n;return i/t}function Wr(e){if(e instanceof Wr)return e;"number"==typeof e?this.code=e:"string"==typeof e?this.message=e:zt(e)&&("number"==typeof e.code&&(this.code=e.code),Object.assign(this,e)),this.message||(this.message=Wr.defaultMessages[this.code]||"")}Wr.prototype.code=0,Wr.prototype.message="",Wr.prototype.status=null,Wr.errorTypes=["MEDIA_ERR_CUSTOM","MEDIA_ERR_ABORTED","MEDIA_ERR_NETWORK","MEDIA_ERR_DECODE","MEDIA_ERR_SRC_NOT_SUPPORTED","MEDIA_ERR_ENCRYPTED"],Wr.defaultMessages={1:"You aborted the media playback",2:"A network error caused the media download to fail part-way.",3:"The media playback was aborted due to a corruption problem or because the media used features your browser did not support.",4:"The media could not be loaded, either because the server or network failed or because the format is not supported.",5:"The media is encrypted and we do not have the keys to decrypt it."};for(let e=0;e<Wr.errorTypes.length;e++)Wr[Wr.errorTypes[e]]=e,Wr.prototype[Wr.errorTypes[e]]=e;function Gr(e){return null!=e&&"function"==typeof e.then}function $r(e){Gr(e)&&e.then(null,(e=>{}))}const Yr=function(e){return["kind","label","language","id","inBandMetadataTrackDispatchType","mode","src"].reduce(((t,n,r)=>(e[n]&&(t[n]=e[n]),t)),{cues:e.cues&&Array.prototype.map.call(e.cues,(function(e){return{startTime:e.startTime,endTime:e.endTime,text:e.text,id:e.id}}))})};var Kr=function(e){const t=e.$$("track"),n=Array.prototype.map.call(t,(e=>e.track));return Array.prototype.map.call(t,(function(e){const t=Yr(e.track);return e.src&&(t.src=e.src),t})).concat(Array.prototype.filter.call(e.textTracks(),(function(e){return-1===n.indexOf(e)})).map(Yr))},Xr=function(e,t){return e.forEach((function(e){const n=t.addRemoteTextTrack(e).track;!e.src&&e.cues&&e.cues.forEach((e=>n.addCue(e)))})),t.textTracks()};class Qr extends jr{constructor(e,t){super(e,t),this.handleKeyDown_=e=>this.handleKeyDown(e),this.close_=e=>this.close(e),this.opened_=this.hasBeenOpened_=this.hasBeenFilled_=!1,this.closeable(!this.options_.uncloseable),this.content(this.options_.content),this.contentEl_=vn("div",{className:"vjs-modal-dialog-content"},{role:"document"}),this.descEl_=vn("p",{className:"vjs-modal-dialog-description vjs-control-text",id:this.el().getAttribute("aria-describedby")}),bn(this.descEl_,this.description()),this.el_.appendChild(this.descEl_),this.el_.appendChild(this.contentEl_)}createEl(){return super.createEl("div",{className:this.buildCSSClass(),tabIndex:-1},{"aria-describedby":`${this.id()}_description`,"aria-hidden":"true","aria-label":this.label(),role:"dialog"})}dispose(){this.contentEl_=null,this.descEl_=null,this.previouslyActiveEl_=null,super.dispose()}buildCSSClass(){return`vjs-modal-dialog vjs-hidden ${super.buildCSSClass()}`}label(){return this.localize(this.options_.label||"Modal Window")}description(){let e=this.options_.description||this.localize("This is a modal window.");return this.closeable()&&(e+=" "+this.localize("This modal can be closed by pressing the Escape key or activating the close button.")),e}open(){if(!this.opened_){const e=this.player();this.trigger("beforemodalopen"),this.opened_=!0,(this.options_.fillAlways||!this.hasBeenOpened_&&!this.hasBeenFilled_)&&this.fill(),this.wasPlaying_=!e.paused(),this.options_.pauseOnOpen&&this.wasPlaying_&&e.pause(),this.on("keydown",this.handleKeyDown_),this.hadControls_=e.controls(),e.controls(!1),this.show(),this.conditionalFocus_(),this.el().setAttribute("aria-hidden","false"),this.trigger("modalopen"),this.hasBeenOpened_=!0}}opened(e){return"boolean"==typeof e&&this[e?"open":"close"](),this.opened_}close(){if(!this.opened_)return;const e=this.player();this.trigger("beforemodalclose"),this.opened_=!1,this.wasPlaying_&&this.options_.pauseOnOpen&&e.play(),this.off("keydown",this.handleKeyDown_),this.hadControls_&&e.controls(!0),this.hide(),this.el().setAttribute("aria-hidden","true"),this.trigger("modalclose"),this.conditionalBlur_(),this.options_.temporary&&this.dispose()}closeable(e){if("boolean"==typeof e){const t=this.closeable_=!!e;let n=this.getChild("closeButton");if(t&&!n){const e=this.contentEl_;this.contentEl_=this.el_,n=this.addChild("closeButton",{controlText:"Close Modal Dialog"}),this.contentEl_=e,this.on(n,"close",this.close_)}!t&&n&&(this.off(n,"close",this.close_),this.removeChild(n),n.dispose())}return this.closeable_}fill(){this.fillWith(this.content())}fillWith(e){const t=this.contentEl(),n=t.parentNode,r=t.nextSibling;this.trigger("beforemodalfill"),this.hasBeenFilled_=!0,n.removeChild(t),this.empty(),Un(t,e),this.trigger("modalfill"),r?n.insertBefore(t,r):n.appendChild(t);const i=this.getChild("closeButton");i&&n.appendChild(i.el_)}empty(){this.trigger("beforemodalempty"),Dn(this.contentEl()),this.trigger("modalempty")}content(e){return void 0!==e&&(this.content_=e),this.content_}conditionalFocus_(){const e=a().activeElement,t=this.player_.el_;this.previouslyActiveEl_=null,(t.contains(e)||t===e)&&(this.previouslyActiveEl_=e,this.focus())}conditionalBlur_(){this.previouslyActiveEl_&&(this.previouslyActiveEl_.focus(),this.previouslyActiveEl_=null)}handleKeyDown(e){if(e.stopPropagation(),u().isEventKey(e,"Escape")&&this.closeable())return e.preventDefault(),void this.close();if(!u().isEventKey(e,"Tab"))return;const t=this.focusableEls_(),n=this.el_.querySelector(":focus");let r;for(let e=0;e<t.length;e++)if(n===t[e]){r=e;break}a().activeElement===this.el_&&(r=0),e.shiftKey&&0===r?(t[t.length-1].focus(),e.preventDefault()):e.shiftKey||r!==t.length-1||(t[0].focus(),e.preventDefault())}focusableEls_(){const e=this.el_.querySelectorAll("*");return Array.prototype.filter.call(e,(e=>(e instanceof i().HTMLAnchorElement||e instanceof i().HTMLAreaElement)&&e.hasAttribute("href")||(e instanceof i().HTMLInputElement||e instanceof i().HTMLSelectElement||e instanceof i().HTMLTextAreaElement||e instanceof i().HTMLButtonElement)&&!e.hasAttribute("disabled")||e instanceof i().HTMLIFrameElement||e instanceof i().HTMLObjectElement||e instanceof i().HTMLEmbedElement||e.hasAttribute("tabindex")&&-1!==e.getAttribute("tabindex")||e.hasAttribute("contenteditable")))}}Qr.prototype.options_={pauseOnOpen:!0,temporary:!0},jr.registerComponent("ModalDialog",Qr);class Jr extends vr{constructor(e=[]){super(),this.tracks_=[],Object.defineProperty(this,"length",{get(){return this.tracks_.length}});for(let t=0;t<e.length;t++)this.addTrack(e[t])}addTrack(e){const t=this.tracks_.length;""+t in this||Object.defineProperty(this,t,{get(){return this.tracks_[t]}}),-1===this.tracks_.indexOf(e)&&(this.tracks_.push(e),this.trigger({track:e,type:"addtrack",target:this})),e.labelchange_=()=>{this.trigger({track:e,type:"labelchange",target:this})},_r(e)&&e.addEventListener("labelchange",e.labelchange_)}removeTrack(e){let t;for(let n=0,r=this.length;n<r;n++)if(this[n]===e){t=this[n],t.off&&t.off(),this.tracks_.splice(n,1);break}t&&this.trigger({track:t,type:"removetrack",target:this})}getTrackById(e){let t=null;for(let n=0,r=this.length;n<r;n++){const r=this[n];if(r.id===e){t=r;break}}return t}}Jr.prototype.allowedEvents_={change:"change",addtrack:"addtrack",removetrack:"removetrack",labelchange:"labelchange"};for(const e in Jr.prototype.allowedEvents_)Jr.prototype["on"+e]=null;const ei=function(e,t){for(let n=0;n<e.length;n++)Object.keys(e[n]).length&&t.id!==e[n].id&&(e[n].enabled=!1)};const ti=function(e,t){for(let n=0;n<e.length;n++)Object.keys(e[n]).length&&t.id!==e[n].id&&(e[n].selected=!1)};class ni extends Jr{addTrack(e){super.addTrack(e),this.queueChange_||(this.queueChange_=()=>this.queueTrigger("change")),this.triggerSelectedlanguagechange||(this.triggerSelectedlanguagechange_=()=>this.trigger("selectedlanguagechange")),e.addEventListener("modechange",this.queueChange_);-1===["metadata","chapters"].indexOf(e.kind)&&e.addEventListener("modechange",this.triggerSelectedlanguagechange_)}removeTrack(e){super.removeTrack(e),e.removeEventListener&&(this.queueChange_&&e.removeEventListener("modechange",this.queueChange_),this.selectedlanguagechange_&&e.removeEventListener("modechange",this.triggerSelectedlanguagechange_))}}class ri{constructor(e){ri.prototype.setCues_.call(this,e),Object.defineProperty(this,"length",{get(){return this.length_}})}setCues_(e){const t=this.length||0;let n=0;const r=e.length;this.cues_=e,this.length_=e.length;const i=function(e){""+e in this||Object.defineProperty(this,""+e,{get(){return this.cues_[e]}})};if(t<r)for(n=t;n<r;n++)i.call(this,n)}getCueById(e){let t=null;for(let n=0,r=this.length;n<r;n++){const r=this[n];if(r.id===e){t=r;break}}return t}}const ii={alternative:"alternative",captions:"captions",main:"main",sign:"sign",subtitles:"subtitles",commentary:"commentary"},oi={alternative:"alternative",descriptions:"descriptions",main:"main","main-desc":"main-desc",translation:"translation",commentary:"commentary"},ai={subtitles:"subtitles",captions:"captions",descriptions:"descriptions",chapters:"chapters",metadata:"metadata"},si={disabled:"disabled",hidden:"hidden",showing:"showing"};class ui extends vr{constructor(e={}){super();const t={id:e.id||"vjs_track_"+tr(),kind:e.kind||"",language:e.language||""};let n=e.label||"";for(const e in t)Object.defineProperty(this,e,{get:()=>t[e],set(){}});Object.defineProperty(this,"label",{get:()=>n,set(e){e!==n&&(n=e,this.trigger("labelchange"))}})}}const ci=function(e){const t=["protocol","hostname","port","pathname","search","hash","host"],n=a().createElement("a");n.href=e;const r={};for(let e=0;e<t.length;e++)r[t[e]]=n[t[e]];return"http:"===r.protocol&&(r.host=r.host.replace(/:80$/,"")),"https:"===r.protocol&&(r.host=r.host.replace(/:443$/,"")),r.protocol||(r.protocol=i().location.protocol),r.host||(r.host=i().location.host),r},li=function(e){if(!e.match(/^https?:\/\//)){const t=a().createElement("a");t.href=e,e=t.href}return e},fi=function(e){if("string"==typeof e){const t=/^(\/?)([\s\S]*?)((?:\.{1,2}|[^\/]+?)(\.([^\.\/\?]+)))(?:[\/]*|[\?].*)$/.exec(e);if(t)return t.pop().toLowerCase()}return""},di=function(e,t=i().location){const n=ci(e);return(":"===n.protocol?t.protocol:n.protocol)+n.host!==t.protocol+t.host};var pi=Object.freeze({__proto__:null,parseUrl:ci,getAbsoluteURL:li,getFileExtension:fi,isCrossOrigin:di});const hi=function(e,t){const n=new(i().WebVTT.Parser)(i(),i().vttjs,i().WebVTT.StringDecoder()),r=[];n.oncue=function(e){t.addCue(e)},n.onparsingerror=function(e){r.push(e)},n.onflush=function(){t.trigger({type:"loadeddata",target:t})},n.parse(e),r.length>0&&(i().console&&i().console.groupCollapsed&&i().console.groupCollapsed(`Text Track parsing errors for ${t.src}`),r.forEach((e=>jt.error(e))),i().console&&i().console.groupEnd&&i().console.groupEnd()),n.flush()},gi=function(e,t){const n={uri:e},r=di(e);r&&(n.cors=r);const o="use-credentials"===t.tech_.crossOrigin();o&&(n.withCredentials=o),d()(n,pr(this,(function(e,n,r){if(e)return jt.error(e,n);t.loaded_=!0,"function"!=typeof i().WebVTT?t.tech_&&t.tech_.any(["vttjsloaded","vttjserror"],(e=>{if("vttjserror"!==e.type)return hi(r,t);jt.error(`vttjs failed to load, stopping trying to process ${t.src}`)})):hi(r,t)})))};class mi extends ui{constructor(e={}){if(!e.tech)throw new Error("A tech was not provided.");const t=Zt(e,{kind:ai[e.kind]||"subtitles",language:e.language||e.srclang||""});let n=si[t.mode]||"disabled";const r=t.default;"metadata"!==t.kind&&"chapters"!==t.kind||(n="hidden"),super(t),this.tech_=t.tech,this.cues_=[],this.activeCues_=[],this.preload_=!1!==this.tech_.preloadTextTracks;const i=new ri(this.cues_),o=new ri(this.activeCues_);let a=!1;this.timeupdateHandler=pr(this,(function(e={}){this.tech_.isDisposed()||(this.tech_.isReady_?(this.activeCues=this.activeCues,a&&(this.trigger("cuechange"),a=!1),"timeupdate"!==e.type&&(this.rvf_=this.tech_.requestVideoFrameCallback(this.timeupdateHandler))):"timeupdate"!==e.type&&(this.rvf_=this.tech_.requestVideoFrameCallback(this.timeupdateHandler)))}));this.tech_.one("dispose",(()=>{this.stopTracking()})),"disabled"!==n&&this.startTracking(),Object.defineProperties(this,{default:{get:()=>r,set(){}},mode:{get:()=>n,set(e){si[e]&&n!==e&&(n=e,this.preload_||"disabled"===n||0!==this.cues.length||gi(this.src,this),this.stopTracking(),"disabled"!==n&&this.startTracking(),this.trigger("modechange"))}},cues:{get(){return this.loaded_?i:null},set(){}},activeCues:{get(){if(!this.loaded_)return null;if(0===this.cues.length)return o;const e=this.tech_.currentTime(),t=[];for(let n=0,r=this.cues.length;n<r;n++){const r=this.cues[n];r.startTime<=e&&r.endTime>=e&&t.push(r)}if(a=!1,t.length!==this.activeCues_.length)a=!0;else for(let e=0;e<t.length;e++)-1===this.activeCues_.indexOf(t[e])&&(a=!0);return this.activeCues_=t,o.setCues_(this.activeCues_),o},set(){}}}),t.src?(this.src=t.src,this.preload_||(this.loaded_=!0),(this.preload_||"subtitles"!==t.kind&&"captions"!==t.kind)&&gi(this.src,this)):this.loaded_=!0}startTracking(){this.rvf_=this.tech_.requestVideoFrameCallback(this.timeupdateHandler),this.tech_.on("timeupdate",this.timeupdateHandler)}stopTracking(){this.rvf_&&(this.tech_.cancelVideoFrameCallback(this.rvf_),this.rvf_=void 0),this.tech_.off("timeupdate",this.timeupdateHandler)}addCue(e){let t=e;if(i().vttjs&&!(e instanceof i().vttjs.VTTCue)){t=new(i().vttjs.VTTCue)(e.startTime,e.endTime,e.text);for(const n in e)n in t||(t[n]=e[n]);t.id=e.id,t.originalCue_=e}const n=this.tech_.textTracks();for(let e=0;e<n.length;e++)n[e]!==this&&n[e].removeCue(t);this.cues_.push(t),this.cues.setCues_(this.cues_)}removeCue(e){let t=this.cues_.length;for(;t--;){const n=this.cues_[t];if(n===e||n.originalCue_&&n.originalCue_===e){this.cues_.splice(t,1),this.cues.setCues_(this.cues_);break}}}}mi.prototype.allowedEvents_={cuechange:"cuechange"};class yi extends ui{constructor(e={}){const t=Zt(e,{kind:oi[e.kind]||""});super(t);let n=!1;Object.defineProperty(this,"enabled",{get:()=>n,set(e){"boolean"==typeof e&&e!==n&&(n=e,this.trigger("enabledchange"))}}),t.enabled&&(this.enabled=t.enabled),this.loaded_=!0}}class vi extends ui{constructor(e={}){const t=Zt(e,{kind:ii[e.kind]||""});super(t);let n=!1;Object.defineProperty(this,"selected",{get:()=>n,set(e){"boolean"==typeof e&&e!==n&&(n=e,this.trigger("selectedchange"))}}),t.selected&&(this.selected=t.selected)}}class bi extends vr{constructor(e={}){let t;super();const n=new mi(e);this.kind=n.kind,this.src=n.src,this.srclang=n.language,this.label=n.label,this.default=n.default,Object.defineProperties(this,{readyState:{get:()=>t},track:{get:()=>n}}),t=bi.NONE,n.addEventListener("loadeddata",(()=>{t=bi.LOADED,this.trigger({type:"load",target:this})}))}}bi.prototype.allowedEvents_={load:"load"},bi.NONE=0,bi.LOADING=1,bi.LOADED=2,bi.ERROR=3;const _i={audio:{ListClass:class extends Jr{constructor(e=[]){for(let t=e.length-1;t>=0;t--)if(e[t].enabled){ei(e,e[t]);break}super(e),this.changing_=!1}addTrack(e){e.enabled&&ei(this,e),super.addTrack(e),e.addEventListener&&(e.enabledChange_=()=>{this.changing_||(this.changing_=!0,ei(this,e),this.changing_=!1,this.trigger("change"))},e.addEventListener("enabledchange",e.enabledChange_))}removeTrack(e){super.removeTrack(e),e.removeEventListener&&e.enabledChange_&&(e.removeEventListener("enabledchange",e.enabledChange_),e.enabledChange_=null)}},TrackClass:yi,capitalName:"Audio"},video:{ListClass:class extends Jr{constructor(e=[]){for(let t=e.length-1;t>=0;t--)if(e[t].selected){ti(e,e[t]);break}super(e),this.changing_=!1,Object.defineProperty(this,"selectedIndex",{get(){for(let e=0;e<this.length;e++)if(this[e].selected)return e;return-1},set(){}})}addTrack(e){e.selected&&ti(this,e),super.addTrack(e),e.addEventListener&&(e.selectedChange_=()=>{this.changing_||(this.changing_=!0,ti(this,e),this.changing_=!1,this.trigger("change"))},e.addEventListener("selectedchange",e.selectedChange_))}removeTrack(e){super.removeTrack(e),e.removeEventListener&&e.selectedChange_&&(e.removeEventListener("selectedchange",e.selectedChange_),e.selectedChange_=null)}},TrackClass:vi,capitalName:"Video"},text:{ListClass:ni,TrackClass:mi,capitalName:"Text"}};Object.keys(_i).forEach((function(e){_i[e].getterName=`${e}Tracks`,_i[e].privateName=`${e}Tracks_`}));const wi={remoteText:{ListClass:ni,TrackClass:mi,capitalName:"RemoteText",getterName:"remoteTextTracks",privateName:"remoteTextTracks_"},remoteTextEl:{ListClass:class{constructor(e=[]){this.trackElements_=[],Object.defineProperty(this,"length",{get(){return this.trackElements_.length}});for(let t=0,n=e.length;t<n;t++)this.addTrackElement_(e[t])}addTrackElement_(e){const t=this.trackElements_.length;""+t in this||Object.defineProperty(this,t,{get(){return this.trackElements_[t]}}),-1===this.trackElements_.indexOf(e)&&this.trackElements_.push(e)}getTrackElementByTrack_(e){let t;for(let n=0,r=this.trackElements_.length;n<r;n++)if(e===this.trackElements_[n].track){t=this.trackElements_[n];break}return t}removeTrackElement_(e){for(let t=0,n=this.trackElements_.length;t<n;t++)if(e===this.trackElements_[t]){this.trackElements_[t].track&&"function"==typeof this.trackElements_[t].track.off&&this.trackElements_[t].track.off(),"function"==typeof this.trackElements_[t].off&&this.trackElements_[t].off(),this.trackElements_.splice(t,1);break}}},TrackClass:bi,capitalName:"RemoteTextTrackEls",getterName:"remoteTextTrackEls",privateName:"remoteTextTrackEls_"}},Ti=Object.assign({},_i,wi);wi.names=Object.keys(wi),_i.names=Object.keys(_i),Ti.names=[].concat(wi.names).concat(_i.names);class xi extends jr{constructor(e={},t=function(){}){e.reportTouchActivity=!1,super(null,e,t),this.onDurationChange_=e=>this.onDurationChange(e),this.trackProgress_=e=>this.trackProgress(e),this.trackCurrentTime_=e=>this.trackCurrentTime(e),this.stopTrackingCurrentTime_=e=>this.stopTrackingCurrentTime(e),this.disposeSourceHandler_=e=>this.disposeSourceHandler(e),this.queuedHanders_=new Set,this.hasStarted_=!1,this.on("playing",(function(){this.hasStarted_=!0})),this.on("loadstart",(function(){this.hasStarted_=!1})),Ti.names.forEach((t=>{const n=Ti[t];e&&e[n.getterName]&&(this[n.privateName]=e[n.getterName])})),this.featuresProgressEvents||this.manualProgressOn(),this.featuresTimeupdateEvents||this.manualTimeUpdatesOn(),["Text","Audio","Video"].forEach((t=>{!1===e[`native${t}Tracks`]&&(this[`featuresNative${t}Tracks`]=!1)})),!1===e.nativeCaptions||!1===e.nativeTextTracks?this.featuresNativeTextTracks=!1:!0!==e.nativeCaptions&&!0!==e.nativeTextTracks||(this.featuresNativeTextTracks=!0),this.featuresNativeTextTracks||this.emulateTextTracks(),this.preloadTextTracks=!1!==e.preloadTextTracks,this.autoRemoteTextTracks_=new Ti.text.ListClass,this.initTrackListeners(),e.nativeControlsForTouch||this.emitTapEvents(),this.constructor&&(this.name_=this.constructor.name||"Unknown Tech")}triggerSourceset(e){this.isReady_||this.one("ready",(()=>this.setTimeout((()=>this.triggerSourceset(e)),1))),this.trigger({src:e,type:"sourceset"})}manualProgressOn(){this.on("durationchange",this.onDurationChange_),this.manualProgress=!0,this.one("ready",this.trackProgress_)}manualProgressOff(){this.manualProgress=!1,this.stopTrackingProgress(),this.off("durationchange",this.onDurationChange_)}trackProgress(e){this.stopTrackingProgress(),this.progressInterval=this.setInterval(pr(this,(function(){const e=this.bufferedPercent();this.bufferedPercent_!==e&&this.trigger("progress"),this.bufferedPercent_=e,1===e&&this.stopTrackingProgress()})),500)}onDurationChange(e){this.duration_=this.duration()}buffered(){return Br(0,0)}bufferedPercent(){return Vr(this.buffered(),this.duration_)}stopTrackingProgress(){this.clearInterval(this.progressInterval)}manualTimeUpdatesOn(){this.manualTimeUpdates=!0,this.on("play",this.trackCurrentTime_),this.on("pause",this.stopTrackingCurrentTime_)}manualTimeUpdatesOff(){this.manualTimeUpdates=!1,this.stopTrackingCurrentTime(),this.off("play",this.trackCurrentTime_),this.off("pause",this.stopTrackingCurrentTime_)}trackCurrentTime(){this.currentTimeInterval&&this.stopTrackingCurrentTime(),this.currentTimeInterval=this.setInterval((function(){this.trigger({type:"timeupdate",target:this,manuallyTriggered:!0})}),250)}stopTrackingCurrentTime(){this.clearInterval(this.currentTimeInterval),this.trigger({type:"timeupdate",target:this,manuallyTriggered:!0})}dispose(){this.clearTracks(_i.names),this.manualProgress&&this.manualProgressOff(),this.manualTimeUpdates&&this.manualTimeUpdatesOff(),super.dispose()}clearTracks(e){(e=[].concat(e)).forEach((e=>{const t=this[`${e}Tracks`]()||[];let n=t.length;for(;n--;){const r=t[n];"text"===e&&this.removeRemoteTextTrack(r),t.removeTrack(r)}}))}cleanupAutoTextTracks(){const e=this.autoRemoteTextTracks_||[];let t=e.length;for(;t--;){const n=e[t];this.removeRemoteTextTrack(n)}}reset(){}crossOrigin(){}setCrossOrigin(){}error(e){return void 0!==e&&(this.error_=new Wr(e),this.trigger("error")),this.error_}played(){return this.hasStarted_?Br(0,0):Br()}play(){}setScrubbing(e){}scrubbing(){}setCurrentTime(e){this.manualTimeUpdates&&this.trigger({type:"timeupdate",target:this,manuallyTriggered:!0})}initTrackListeners(){_i.names.forEach((e=>{const t=_i[e],n=()=>{this.trigger(`${e}trackchange`)},r=this[t.getterName]();r.addEventListener("removetrack",n),r.addEventListener("addtrack",n),this.on("dispose",(()=>{r.removeEventListener("removetrack",n),r.removeEventListener("addtrack",n)}))}))}addWebVttScript_(){if(!i().WebVTT)if(a().body.contains(this.el())){if(!this.options_["vtt.js"]&&Ht(h())&&Object.keys(h()).length>0)return void this.trigger("vttjsloaded");const e=a().createElement("script");e.src=this.options_["vtt.js"]||"https://vjs.zencdn.net/vttjs/0.14.1/vtt.min.js",e.onload=()=>{this.trigger("vttjsloaded")},e.onerror=()=>{this.trigger("vttjserror")},this.on("dispose",(()=>{e.onload=null,e.onerror=null})),i().WebVTT=!0,this.el().parentNode.appendChild(e)}else this.ready(this.addWebVttScript_)}emulateTextTracks(){const e=this.textTracks(),t=this.remoteTextTracks(),n=t=>e.addTrack(t.track),r=t=>e.removeTrack(t.track);t.on("addtrack",n),t.on("removetrack",r),this.addWebVttScript_();const i=()=>this.trigger("texttrackchange"),o=()=>{i();for(let t=0;t<e.length;t++){const n=e[t];n.removeEventListener("cuechange",i),"showing"===n.mode&&n.addEventListener("cuechange",i)}};o(),e.addEventListener("change",o),e.addEventListener("addtrack",o),e.addEventListener("removetrack",o),this.on("dispose",(function(){t.off("addtrack",n),t.off("removetrack",r),e.removeEventListener("change",o),e.removeEventListener("addtrack",o),e.removeEventListener("removetrack",o);for(let t=0;t<e.length;t++){e[t].removeEventListener("cuechange",i)}}))}addTextTrack(e,t,n){if(!e)throw new Error("TextTrack kind is required but was not provided");return function(e,t,n,r,i={}){const o=e.textTracks();i.kind=t,n&&(i.label=n),r&&(i.language=r),i.tech=e;const a=new Ti.text.TrackClass(i);return o.addTrack(a),a}(this,e,t,n)}createRemoteTextTrack(e){const t=Zt(e,{tech:this});return new wi.remoteTextEl.TrackClass(t)}addRemoteTextTrack(e={},t){const n=this.createRemoteTextTrack(e);return"boolean"!=typeof t&&(t=!1),this.remoteTextTrackEls().addTrackElement_(n),this.remoteTextTracks().addTrack(n.track),!1===t&&this.ready((()=>this.autoRemoteTextTracks_.addTrack(n.track))),n}removeRemoteTextTrack(e){const t=this.remoteTextTrackEls().getTrackElementByTrack_(e);this.remoteTextTrackEls().removeTrackElement_(t),this.remoteTextTracks().removeTrack(e),this.autoRemoteTextTracks_.removeTrack(e)}getVideoPlaybackQuality(){return{}}requestPictureInPicture(){return Promise.reject()}disablePictureInPicture(){return!0}setDisablePictureInPicture(){}requestVideoFrameCallback(e){const t=tr();return!this.isReady_||this.paused()?(this.queuedHanders_.add(t),this.one("playing",(()=>{this.queuedHanders_.has(t)&&(this.queuedHanders_.delete(t),e())}))):this.requestNamedAnimationFrame(t,e),t}cancelVideoFrameCallback(e){this.queuedHanders_.has(e)?this.queuedHanders_.delete(e):this.cancelNamedAnimationFrame(e)}setPoster(){}playsinline(){}setPlaysinline(){}overrideNativeAudioTracks(e){}overrideNativeVideoTracks(e){}canPlayType(e){return""}static canPlayType(e){return""}static canPlaySource(e,t){return xi.canPlayType(e.type)}static isTech(e){return e.prototype instanceof xi||e instanceof xi||e===xi}static registerTech(e,t){if(xi.techs_||(xi.techs_={}),!xi.isTech(t))throw new Error(`Tech ${e} must be a Tech`);if(!xi.canPlayType)throw new Error("Techs must have a static canPlayType method on them");if(!xi.canPlaySource)throw new Error("Techs must have a static canPlaySource method on them");return e=Pr(e),xi.techs_[e]=t,xi.techs_[Ir(e)]=t,"Tech"!==e&&xi.defaultTechOrder_.push(e),t}static getTech(e){if(e)return xi.techs_&&xi.techs_[e]?xi.techs_[e]:(e=Pr(e),i()&&i().videojs&&i().videojs[e]?(jt.warn(`The ${e} tech was added to the videojs object when it should be registered using videojs.registerTech(name, tech)`),i().videojs[e]):void 0)}}Ti.names.forEach((function(e){const t=Ti[e];xi.prototype[t.getterName]=function(){return this[t.privateName]=this[t.privateName]||new t.ListClass,this[t.privateName]}})),xi.prototype.featuresVolumeControl=!0,xi.prototype.featuresMuteControl=!0,xi.prototype.featuresFullscreenResize=!1,xi.prototype.featuresPlaybackRate=!1,xi.prototype.featuresProgressEvents=!1,xi.prototype.featuresSourceset=!1,xi.prototype.featuresTimeupdateEvents=!1,xi.prototype.featuresNativeTextTracks=!1,xi.prototype.featuresVideoFrameCallback=!1,xi.withSourceHandlers=function(e){e.registerSourceHandler=function(t,n){let r=e.sourceHandlers;r||(r=e.sourceHandlers=[]),void 0===n&&(n=r.length),r.splice(n,0,t)},e.canPlayType=function(t){const n=e.sourceHandlers||[];let r;for(let e=0;e<n.length;e++)if(r=n[e].canPlayType(t),r)return r;return""},e.selectSourceHandler=function(t,n){const r=e.sourceHandlers||[];let i;for(let e=0;e<r.length;e++)if(i=r[e].canHandleSource(t,n),i)return r[e];return null},e.canPlaySource=function(t,n){const r=e.selectSourceHandler(t,n);return r?r.canHandleSource(t,n):""};["seekable","seeking","duration"].forEach((function(e){const t=this[e];"function"==typeof t&&(this[e]=function(){return this.sourceHandler_&&this.sourceHandler_[e]?this.sourceHandler_[e].apply(this.sourceHandler_,arguments):t.apply(this,arguments)})}),e.prototype),e.prototype.setSource=function(t){let n=e.selectSourceHandler(t,this.options_);n||(e.nativeSourceHandler?n=e.nativeSourceHandler:jt.error("No source handler found for the current source.")),this.disposeSourceHandler(),this.off("dispose",this.disposeSourceHandler_),n!==e.nativeSourceHandler&&(this.currentSource_=t),this.sourceHandler_=n.handleSource(t,this,this.options_),this.one("dispose",this.disposeSourceHandler_)},e.prototype.disposeSourceHandler=function(){this.currentSource_&&(this.clearTracks(["audio","video"]),this.currentSource_=null),this.cleanupAutoTextTracks(),this.sourceHandler_&&(this.sourceHandler_.dispose&&this.sourceHandler_.dispose(),this.sourceHandler_=null)}},jr.registerComponent("Tech",xi),xi.registerTech("Tech",xi),xi.defaultTechOrder_=[];const Si={},ki={},Ei={};function Oi(e,t,n){e.setTimeout((()=>Mi(t,Si[t.type],n,e)),1)}function Ci(e,t,n,r=null){const i="call"+Pr(n),o=e.reduce(Pi(i),r),a=o===Ei,s=a?null:t[n](o);return function(e,t,n,r){for(let i=e.length-1;i>=0;i--){const o=e[i];o[t]&&o[t](r,n)}}(e,n,s,a),s}const Li={buffered:1,currentTime:1,duration:1,muted:1,played:1,paused:1,seekable:1,volume:1,ended:1},Ai={setCurrentTime:1,setMuted:1,setVolume:1},Ii={play:1,pause:1};function Pi(e){return(t,n)=>t===Ei?Ei:n[e]?n[e](t):t}function Mi(e={},t=[],n,r,i=[],o=!1){const[a,...s]=t;if("string"==typeof a)Mi(e,Si[a],n,r,i,o);else if(a){const t=function(e,t){const n=ki[e.id()];let r=null;if(null==n)return r=t(e),ki[e.id()]=[[t,r]],r;for(let e=0;e<n.length;e++){const[i,o]=n[e];i===t&&(r=o)}return null===r&&(r=t(e),n.push([t,r])),r}(r,a);if(!t.setSource)return i.push(t),Mi(e,s,n,r,i,o);t.setSource(Object.assign({},e),(function(a,u){if(a)return Mi(e,s,n,r,i,o);i.push(t),Mi(u,e.type===u.type?s:Si[u.type],n,r,i,o)}))}else s.length?Mi(e,s,n,r,i,o):o?n(e,i):Mi(e,Si["*"],n,r,i,!0)}const Ri={opus:"video/ogg",ogv:"video/ogg",mp4:"video/mp4",mov:"video/mp4",m4v:"video/mp4",mkv:"video/x-matroska",m4a:"audio/mp4",mp3:"audio/mpeg",aac:"audio/aac",caf:"audio/x-caf",flac:"audio/flac",oga:"audio/ogg",wav:"audio/wav",m3u8:"application/x-mpegURL",mpd:"application/dash+xml",jpg:"image/jpeg",jpeg:"image/jpeg",gif:"image/gif",png:"image/png",svg:"image/svg+xml",webp:"image/webp"},ji=function(e=""){const t=fi(e);return Ri[t.toLowerCase()]||""},Di=function(e){if(Array.isArray(e)){let t=[];e.forEach((function(e){e=Di(e),Array.isArray(e)?t=t.concat(e):zt(e)&&t.push(e)})),e=t}else e="string"==typeof e&&e.trim()?[Ni({src:e})]:zt(e)&&"string"==typeof e.src&&e.src&&e.src.trim()?[Ni(e)]:[];return e};function Ni(e){if(!e.type){const t=ji(e.src);t&&(e.type=t)}return e}jr.registerComponent("MediaLoader",class extends jr{constructor(e,t,n){if(super(e,Zt({createEl:!1},t),n),t.playerOptions.sources&&0!==t.playerOptions.sources.length)e.src(t.playerOptions.sources);else for(let n=0,r=t.playerOptions.techOrder;n<r.length;n++){const t=Pr(r[n]);let i=xi.getTech(t);if(t||(i=jr.getComponent(t)),i&&i.isSupported()){e.loadTech_(t);break}}}});class Bi extends jr{constructor(e,t){super(e,t),this.options_.controlText&&this.controlText(this.options_.controlText),this.handleMouseOver_=e=>this.handleMouseOver(e),this.handleMouseOut_=e=>this.handleMouseOut(e),this.handleClick_=e=>this.handleClick(e),this.handleKeyDown_=e=>this.handleKeyDown(e),this.emitTapEvents(),this.enable()}createEl(e="div",t={},n={}){t=Object.assign({className:this.buildCSSClass(),tabIndex:0},t),"button"===e&&jt.error(`Creating a ClickableComponent with an HTML element of ${e} is not supported; use a Button instead.`),n=Object.assign({role:"button"},n),this.tabIndex_=t.tabIndex;const r=vn(e,t,n);return r.appendChild(vn("span",{className:"vjs-icon-placeholder"},{"aria-hidden":!0})),this.createControlTextEl(r),r}dispose(){this.controlTextEl_=null,super.dispose()}createControlTextEl(e){return this.controlTextEl_=vn("span",{className:"vjs-control-text"},{"aria-live":"polite"}),e&&e.appendChild(this.controlTextEl_),this.controlText(this.controlText_,e),this.controlTextEl_}controlText(e,t=this.el()){if(void 0===e)return this.controlText_||"Need Text";const n=this.localize(e);this.controlText_=e,bn(this.controlTextEl_,n),this.nonIconControl||this.player_.options_.noUITitleAttributes||t.setAttribute("title",n)}buildCSSClass(){return`vjs-control vjs-button ${super.buildCSSClass()}`}enable(){this.enabled_||(this.enabled_=!0,this.removeClass("vjs-disabled"),this.el_.setAttribute("aria-disabled","false"),void 0!==this.tabIndex_&&this.el_.setAttribute("tabIndex",this.tabIndex_),this.on(["tap","click"],this.handleClick_),this.on("keydown",this.handleKeyDown_))}disable(){this.enabled_=!1,this.addClass("vjs-disabled"),this.el_.setAttribute("aria-disabled","true"),void 0!==this.tabIndex_&&this.el_.removeAttribute("tabIndex"),this.off("mouseover",this.handleMouseOver_),this.off("mouseout",this.handleMouseOut_),this.off(["tap","click"],this.handleClick_),this.off("keydown",this.handleKeyDown_)}handleLanguagechange(){this.controlText(this.controlText_)}handleClick(e){this.options_.clickHandler&&this.options_.clickHandler.call(this,arguments)}handleKeyDown(e){u().isEventKey(e,"Space")||u().isEventKey(e,"Enter")?(e.preventDefault(),e.stopPropagation(),this.trigger("click")):super.handleKeyDown(e)}}jr.registerComponent("ClickableComponent",Bi);class Ui extends Bi{constructor(e,t){super(e,t),this.update(),this.update_=e=>this.update(e),e.on("posterchange",this.update_)}dispose(){this.player().off("posterchange",this.update_),super.dispose()}createEl(){return vn("div",{className:"vjs-poster"})}crossOrigin(e){if(void 0===e)return this.$("img")?this.$("img").crossOrigin:this.player_.tech_&&this.player_.tech_.isReady_?this.player_.crossOrigin():this.player_.options_.crossOrigin||this.player_.options_.crossorigin||null;null===e||"anonymous"===e||"use-credentials"===e?this.$("img")&&(this.$("img").crossOrigin=e):this.player_.log.warn(`crossOrigin must be null,  "anonymous" or "use-credentials", given "${e}"`)}update(e){const t=this.player().poster();this.setSrc(t),t?this.show():this.hide()}setSrc(e){e?(this.$("img")||this.el_.appendChild(vn("picture",{className:"vjs-poster",tabIndex:-1},{},vn("img",{loading:"lazy",crossOrigin:this.crossOrigin()},{alt:""}))),this.$("img").src=e):this.el_.textContent=""}handleClick(e){this.player_.controls()&&(this.player_.tech(!0)&&this.player_.tech(!0).focus(),this.player_.paused()?$r(this.player_.play()):this.player_.pause())}}Ui.prototype.crossorigin=Ui.prototype.crossOrigin,jr.registerComponent("PosterImage",Ui);const Fi={monospace:"monospace",sansSerif:"sans-serif",serif:"serif",monospaceSansSerif:'"Andale Mono", "Lucida Console", monospace',monospaceSerif:'"Courier New", monospace',proportionalSansSerif:"sans-serif",proportionalSerif:"serif",casual:'"Comic Sans MS", Impact, fantasy',script:'"Monotype Corsiva", cursive',smallcaps:'"Andale Mono", "Lucida Console", monospace, sans-serif'};function zi(e,t){let n;if(4===e.length)n=e[1]+e[1]+e[2]+e[2]+e[3]+e[3];else{if(7!==e.length)throw new Error("Invalid color code provided, "+e+"; must be formatted as e.g. #f0e or #f604e2.");n=e.slice(1)}return"rgba("+parseInt(n.slice(0,2),16)+","+parseInt(n.slice(2,4),16)+","+parseInt(n.slice(4,6),16)+","+t+")"}function Hi(e,t,n){try{e.style[t]=n}catch(e){return}}jr.registerComponent("TextTrackDisplay",class extends jr{constructor(e,t,n){super(e,t,n);const r=e=>this.updateDisplay(e);e.on("loadstart",(e=>this.toggleDisplay(e))),e.on("texttrackchange",r),e.on("loadedmetadata",(e=>this.preselectTrack(e))),e.ready(pr(this,(function(){if(e.tech_&&e.tech_.featuresNativeTextTracks)return void this.hide();e.on("fullscreenchange",r),e.on("playerresize",r);const t=i().screen.orientation||i(),n=i().screen.orientation?"change":"orientationchange";t.addEventListener(n,r),e.on("dispose",(()=>t.removeEventListener(n,r)));const o=this.options_.playerOptions.tracks||[];for(let e=0;e<o.length;e++)this.player_.addRemoteTextTrack(o[e],!0);this.preselectTrack()})))}preselectTrack(){const e={captions:1,subtitles:1},t=this.player_.textTracks(),n=this.player_.cache_.selectedLanguage;let r,i,o;for(let a=0;a<t.length;a++){const s=t[a];n&&n.enabled&&n.language&&n.language===s.language&&s.kind in e?s.kind===n.kind?o=s:o||(o=s):n&&!n.enabled?(o=null,r=null,i=null):s.default&&("descriptions"!==s.kind||r?s.kind in e&&!i&&(i=s):r=s)}o?o.mode="showing":i?i.mode="showing":r&&(r.mode="showing")}toggleDisplay(){this.player_.tech_&&this.player_.tech_.featuresNativeTextTracks?this.hide():this.show()}createEl(){return super.createEl("div",{className:"vjs-text-track-display"},{translate:"yes","aria-live":"off","aria-atomic":"true"})}clearDisplay(){"function"==typeof i().WebVTT&&i().WebVTT.processCues(i(),[],this.el_)}updateDisplay(){const e=this.player_.textTracks(),t=this.options_.allowMultipleShowingTracks;if(this.clearDisplay(),t){const t=[];for(let n=0;n<e.length;++n){const r=e[n];"showing"===r.mode&&t.push(r)}return void this.updateForTrack(t)}let n=null,r=null,i=e.length;for(;i--;){const t=e[i];"showing"===t.mode&&("descriptions"===t.kind?n=t:r=t)}r?("off"!==this.getAttribute("aria-live")&&this.setAttribute("aria-live","off"),this.updateForTrack(r)):n&&("assertive"!==this.getAttribute("aria-live")&&this.setAttribute("aria-live","assertive"),this.updateForTrack(n))}updateDisplayState(e){const t=this.player_.textTrackSettings.getValues(),n=e.activeCues;let r=n.length;for(;r--;){const e=n[r];if(!e)continue;const o=e.displayState;if(t.color&&(o.firstChild.style.color=t.color),t.textOpacity&&Hi(o.firstChild,"color",zi(t.color||"#fff",t.textOpacity)),t.backgroundColor&&(o.firstChild.style.backgroundColor=t.backgroundColor),t.backgroundOpacity&&Hi(o.firstChild,"backgroundColor",zi(t.backgroundColor||"#000",t.backgroundOpacity)),t.windowColor&&(t.windowOpacity?Hi(o,"backgroundColor",zi(t.windowColor,t.windowOpacity)):o.style.backgroundColor=t.windowColor),t.edgeStyle&&("dropshadow"===t.edgeStyle?o.firstChild.style.textShadow="2px 2px 3px #222, 2px 2px 4px #222, 2px 2px 5px #222":"raised"===t.edgeStyle?o.firstChild.style.textShadow="1px 1px #222, 2px 2px #222, 3px 3px #222":"depressed"===t.edgeStyle?o.firstChild.style.textShadow="1px 1px #ccc, 0 1px #ccc, -1px -1px #222, 0 -1px #222":"uniform"===t.edgeStyle&&(o.firstChild.style.textShadow="0 0 4px #222, 0 0 4px #222, 0 0 4px #222, 0 0 4px #222")),t.fontPercent&&1!==t.fontPercent){const e=i().parseFloat(o.style.fontSize);o.style.fontSize=e*t.fontPercent+"px",o.style.height="auto",o.style.top="auto"}t.fontFamily&&"default"!==t.fontFamily&&("small-caps"===t.fontFamily?o.firstChild.style.fontVariant="small-caps":o.firstChild.style.fontFamily=Fi[t.fontFamily])}}updateForTrack(e){if(Array.isArray(e)||(e=[e]),"function"!=typeof i().WebVTT||e.every((e=>!e.activeCues)))return;const t=[];for(let n=0;n<e.length;++n){const r=e[n];for(let e=0;e<r.activeCues.length;++e)t.push(r.activeCues[e])}i().WebVTT.processCues(i(),t,this.el_);for(let t=0;t<e.length;++t){const n=e[t];for(let e=0;e<n.activeCues.length;++e){const r=n.activeCues[e].displayState;Tn(r,"vjs-text-track-cue","vjs-text-track-cue-"+(n.language?n.language:t)),n.language&&Cn(r,"lang",n.language)}this.player_.textTrackSettings&&this.updateDisplayState(n)}}});jr.registerComponent("LoadingSpinner",class extends jr{createEl(){const e=this.player_.isAudio(),t=this.localize(e?"Audio Player":"Video Player"),n=vn("span",{className:"vjs-control-text",textContent:this.localize("{1} is loading.",[t])}),r=super.createEl("div",{className:"vjs-loading-spinner",dir:"ltr"});return r.appendChild(n),r}handleLanguagechange(){this.$(".vjs-control-text").textContent=this.localize("{1} is loading.",[this.player_.isAudio()?"Audio Player":"Video Player"])}});class Zi extends Bi{createEl(e,t={},n={}){const r=vn("button",t=Object.assign({className:this.buildCSSClass()},t),n=Object.assign({type:"button"},n));return r.appendChild(vn("span",{className:"vjs-icon-placeholder"},{"aria-hidden":!0})),this.createControlTextEl(r),r}addChild(e,t={}){const n=this.constructor.name;return jt.warn(`Adding an actionable (user controllable) child to a Button (${n}) is not supported; use a ClickableComponent instead.`),jr.prototype.addChild.call(this,e,t)}enable(){super.enable(),this.el_.removeAttribute("disabled")}disable(){super.disable(),this.el_.setAttribute("disabled","disabled")}handleKeyDown(e){u().isEventKey(e,"Space")||u().isEventKey(e,"Enter")?e.stopPropagation():super.handleKeyDown(e)}}jr.registerComponent("Button",Zi);class qi extends Zi{constructor(e,t){super(e,t),this.mouseused_=!1,this.on("mousedown",(e=>this.handleMouseDown(e)))}buildCSSClass(){return"vjs-big-play-button"}handleClick(e){const t=this.player_.play();if(this.mouseused_&&e.clientX&&e.clientY)return $r(t),void(this.player_.tech(!0)&&this.player_.tech(!0).focus());const n=this.player_.getChild("controlBar"),r=n&&n.getChild("playToggle");if(!r)return void this.player_.tech(!0).focus();const i=()=>r.focus();Gr(t)?t.then(i,(()=>{})):this.setTimeout(i,1)}handleKeyDown(e){this.mouseused_=!1,super.handleKeyDown(e)}handleMouseDown(e){this.mouseused_=!0}}qi.prototype.controlText_="Play Video",jr.registerComponent("BigPlayButton",qi);jr.registerComponent("CloseButton",class extends Zi{constructor(e,t){super(e,t),this.controlText(t&&t.controlText||this.localize("Close"))}buildCSSClass(){return`vjs-close-button ${super.buildCSSClass()}`}handleClick(e){this.trigger({type:"close",bubbles:!1})}handleKeyDown(e){u().isEventKey(e,"Esc")?(e.preventDefault(),e.stopPropagation(),this.trigger("click")):super.handleKeyDown(e)}});class Vi extends Zi{constructor(e,t={}){super(e,t),t.replay=void 0===t.replay||t.replay,this.on(e,"play",(e=>this.handlePlay(e))),this.on(e,"pause",(e=>this.handlePause(e))),t.replay&&this.on(e,"ended",(e=>this.handleEnded(e)))}buildCSSClass(){return`vjs-play-control ${super.buildCSSClass()}`}handleClick(e){this.player_.paused()?$r(this.player_.play()):this.player_.pause()}handleSeeked(e){this.removeClass("vjs-ended"),this.player_.paused()?this.handlePause(e):this.handlePlay(e)}handlePlay(e){this.removeClass("vjs-ended","vjs-paused"),this.addClass("vjs-playing"),this.controlText("Pause")}handlePause(e){this.removeClass("vjs-playing"),this.addClass("vjs-paused"),this.controlText("Play")}handleEnded(e){this.removeClass("vjs-playing"),this.addClass("vjs-ended"),this.controlText("Replay"),this.one(this.player_,"seeked",(e=>this.handleSeeked(e)))}}Vi.prototype.controlText_="Play",jr.registerComponent("PlayToggle",Vi);class Wi extends jr{constructor(e,t){super(e,t),this.on(e,["timeupdate","ended"],(e=>this.updateContent(e))),this.updateTextNode_()}createEl(){const e=this.buildCSSClass(),t=super.createEl("div",{className:`${e} vjs-time-control vjs-control`}),n=vn("span",{className:"vjs-control-text",textContent:`${this.localize(this.labelText_)} `},{role:"presentation"});return t.appendChild(n),this.contentEl_=vn("span",{className:`${e}-display`},{role:"presentation"}),t.appendChild(this.contentEl_),t}dispose(){this.contentEl_=null,this.textNode_=null,super.dispose()}updateTextNode_(e=0){e=Zr(e),this.formattedTime_!==e&&(this.formattedTime_=e,this.requestNamedAnimationFrame("TimeDisplay#updateTextNode_",(()=>{if(!this.contentEl_)return;let e=this.textNode_;e&&this.contentEl_.firstChild!==e&&(e=null,jt.warn("TimeDisplay#updateTextnode_: Prevented replacement of text node element since it was no longer a child of this node. Appending a new node instead.")),this.textNode_=a().createTextNode(this.formattedTime_),this.textNode_&&(e?this.contentEl_.replaceChild(this.textNode_,e):this.contentEl_.appendChild(this.textNode_))})))}updateContent(e){}}Wi.prototype.labelText_="Time",Wi.prototype.controlText_="Time",jr.registerComponent("TimeDisplay",Wi);class Gi extends Wi{buildCSSClass(){return"vjs-current-time"}updateContent(e){let t;t=this.player_.ended()?this.player_.duration():this.player_.scrubbing()?this.player_.getCache().currentTime:this.player_.currentTime(),this.updateTextNode_(t)}}Gi.prototype.labelText_="Current Time",Gi.prototype.controlText_="Current Time",jr.registerComponent("CurrentTimeDisplay",Gi);class $i extends Wi{constructor(e,t){super(e,t);const n=e=>this.updateContent(e);this.on(e,"durationchange",n),this.on(e,"loadstart",n),this.on(e,"loadedmetadata",n)}buildCSSClass(){return"vjs-duration"}updateContent(e){const t=this.player_.duration();this.updateTextNode_(t)}}$i.prototype.labelText_="Duration",$i.prototype.controlText_="Duration",jr.registerComponent("DurationDisplay",$i);jr.registerComponent("TimeDivider",class extends jr{createEl(){const e=super.createEl("div",{className:"vjs-time-control vjs-time-divider"},{"aria-hidden":!0}),t=super.createEl("div"),n=super.createEl("span",{textContent:"/"});return t.appendChild(n),e.appendChild(t),e}});class Yi extends Wi{constructor(e,t){super(e,t),this.on(e,"durationchange",(e=>this.updateContent(e)))}buildCSSClass(){return"vjs-remaining-time"}createEl(){const e=super.createEl();return!1!==this.options_.displayNegative&&e.insertBefore(vn("span",{},{"aria-hidden":!0},"-"),this.contentEl_),e}updateContent(e){if("number"!=typeof this.player_.duration())return;let t;t=this.player_.ended()?0:this.player_.remainingTimeDisplay?this.player_.remainingTimeDisplay():this.player_.remainingTime(),this.updateTextNode_(t)}}Yi.prototype.labelText_="Remaining Time",Yi.prototype.controlText_="Remaining Time",jr.registerComponent("RemainingTimeDisplay",Yi);jr.registerComponent("LiveDisplay",class extends jr{constructor(e,t){super(e,t),this.updateShowing(),this.on(this.player(),"durationchange",(e=>this.updateShowing(e)))}createEl(){const e=super.createEl("div",{className:"vjs-live-control vjs-control"});return this.contentEl_=vn("div",{className:"vjs-live-display"},{"aria-live":"off"}),this.contentEl_.appendChild(vn("span",{className:"vjs-control-text",textContent:`${this.localize("Stream Type")} `})),this.contentEl_.appendChild(a().createTextNode(this.localize("LIVE"))),e.appendChild(this.contentEl_),e}dispose(){this.contentEl_=null,super.dispose()}updateShowing(e){this.player().duration()===1/0?this.show():this.hide()}});class Ki extends Zi{constructor(e,t){super(e,t),this.updateLiveEdgeStatus(),this.player_.liveTracker&&(this.updateLiveEdgeStatusHandler_=e=>this.updateLiveEdgeStatus(e),this.on(this.player_.liveTracker,"liveedgechange",this.updateLiveEdgeStatusHandler_))}createEl(){const e=super.createEl("button",{className:"vjs-seek-to-live-control vjs-control"});return this.textEl_=vn("span",{className:"vjs-seek-to-live-text",textContent:this.localize("LIVE")},{"aria-hidden":"true"}),e.appendChild(this.textEl_),e}updateLiveEdgeStatus(){!this.player_.liveTracker||this.player_.liveTracker.atLiveEdge()?(this.setAttribute("aria-disabled",!0),this.addClass("vjs-at-live-edge"),this.controlText("Seek to live, currently playing live")):(this.setAttribute("aria-disabled",!1),this.removeClass("vjs-at-live-edge"),this.controlText("Seek to live, currently behind live"))}handleClick(){this.player_.liveTracker.seekToLiveEdge()}dispose(){this.player_.liveTracker&&this.off(this.player_.liveTracker,"liveedgechange",this.updateLiveEdgeStatusHandler_),this.textEl_=null,super.dispose()}}function Xi(e,t,n){return e=Number(e),Math.min(n,Math.max(t,isNaN(e)?t:e))}Ki.prototype.controlText_="Seek to live, currently playing live",jr.registerComponent("SeekToLive",Ki);var Qi=Object.freeze({__proto__:null,clamp:Xi});class Ji extends jr{constructor(e,t){super(e,t),this.handleMouseDown_=e=>this.handleMouseDown(e),this.handleMouseUp_=e=>this.handleMouseUp(e),this.handleKeyDown_=e=>this.handleKeyDown(e),this.handleClick_=e=>this.handleClick(e),this.handleMouseMove_=e=>this.handleMouseMove(e),this.update_=e=>this.update(e),this.bar=this.getChild(this.options_.barName),this.vertical(!!this.options_.vertical),this.enable()}enabled(){return this.enabled_}enable(){this.enabled()||(this.on("mousedown",this.handleMouseDown_),this.on("touchstart",this.handleMouseDown_),this.on("keydown",this.handleKeyDown_),this.on("click",this.handleClick_),this.on(this.player_,"controlsvisible",this.update),this.playerEvent&&this.on(this.player_,this.playerEvent,this.update),this.removeClass("disabled"),this.setAttribute("tabindex",0),this.enabled_=!0)}disable(){if(!this.enabled())return;const e=this.bar.el_.ownerDocument;this.off("mousedown",this.handleMouseDown_),this.off("touchstart",this.handleMouseDown_),this.off("keydown",this.handleKeyDown_),this.off("click",this.handleClick_),this.off(this.player_,"controlsvisible",this.update_),this.off(e,"mousemove",this.handleMouseMove_),this.off(e,"mouseup",this.handleMouseUp_),this.off(e,"touchmove",this.handleMouseMove_),this.off(e,"touchend",this.handleMouseUp_),this.removeAttribute("tabindex"),this.addClass("disabled"),this.playerEvent&&this.off(this.player_,this.playerEvent,this.update),this.enabled_=!1}createEl(e,t={},n={}){return t.className=t.className+" vjs-slider",t=Object.assign({tabIndex:0},t),n=Object.assign({role:"slider","aria-valuenow":0,"aria-valuemin":0,"aria-valuemax":100},n),super.createEl(e,t,n)}handleMouseDown(e){const t=this.bar.el_.ownerDocument;"mousedown"===e.type&&e.preventDefault(),"touchstart"!==e.type||Jt||e.preventDefault(),An(),this.addClass("vjs-sliding"),this.trigger("slideractive"),this.on(t,"mousemove",this.handleMouseMove_),this.on(t,"mouseup",this.handleMouseUp_),this.on(t,"touchmove",this.handleMouseMove_),this.on(t,"touchend",this.handleMouseUp_),this.handleMouseMove(e,!0)}handleMouseMove(e){}handleMouseUp(e){const t=this.bar.el_.ownerDocument;In(),this.removeClass("vjs-sliding"),this.trigger("sliderinactive"),this.off(t,"mousemove",this.handleMouseMove_),this.off(t,"mouseup",this.handleMouseUp_),this.off(t,"touchmove",this.handleMouseMove_),this.off(t,"touchend",this.handleMouseUp_),this.update()}update(){if(!this.el_||!this.bar)return;const e=this.getProgress();return e===this.progress_||(this.progress_=e,this.requestNamedAnimationFrame("Slider#update",(()=>{const t=this.vertical()?"height":"width";this.bar.el().style[t]=(100*e).toFixed(2)+"%"}))),e}getProgress(){return Number(Xi(this.getPercent(),0,1).toFixed(4))}calculateDistance(e){const t=Rn(this.el_,e);return this.vertical()?t.y:t.x}handleKeyDown(e){u().isEventKey(e,"Left")||u().isEventKey(e,"Down")?(e.preventDefault(),e.stopPropagation(),this.stepBack()):u().isEventKey(e,"Right")||u().isEventKey(e,"Up")?(e.preventDefault(),e.stopPropagation(),this.stepForward()):super.handleKeyDown(e)}handleClick(e){e.stopPropagation(),e.preventDefault()}vertical(e){if(void 0===e)return this.vertical_||!1;this.vertical_=!!e,this.vertical_?this.addClass("vjs-slider-vertical"):this.addClass("vjs-slider-horizontal")}}jr.registerComponent("Slider",Ji);const eo=(e,t)=>Xi(e/t*100,0,100).toFixed(2)+"%";jr.registerComponent("LoadProgressBar",class extends jr{constructor(e,t){super(e,t),this.partEls_=[],this.on(e,"progress",(e=>this.update(e)))}createEl(){const e=super.createEl("div",{className:"vjs-load-progress"}),t=vn("span",{className:"vjs-control-text"}),n=vn("span",{textContent:this.localize("Loaded")}),r=a().createTextNode(": ");return this.percentageEl_=vn("span",{className:"vjs-control-text-loaded-percentage",textContent:"0%"}),e.appendChild(t),t.appendChild(n),t.appendChild(r),t.appendChild(this.percentageEl_),e}dispose(){this.partEls_=null,this.percentageEl_=null,super.dispose()}update(e){this.requestNamedAnimationFrame("LoadProgressBar#update",(()=>{const e=this.player_.liveTracker,t=this.player_.buffered(),n=e&&e.isLive()?e.seekableEnd():this.player_.duration(),r=this.player_.bufferedEnd(),i=this.partEls_,o=eo(r,n);this.percent_!==o&&(this.el_.style.width=o,bn(this.percentageEl_,o),this.percent_=o);for(let e=0;e<t.length;e++){const n=t.start(e),o=t.end(e);let a=i[e];a||(a=this.el_.appendChild(vn()),i[e]=a),a.dataset.start===n&&a.dataset.end===o||(a.dataset.start=n,a.dataset.end=o,a.style.left=eo(n,r),a.style.width=eo(o-n,r))}for(let e=i.length;e>t.length;e--)this.el_.removeChild(i[e-1]);i.length=t.length}))}});jr.registerComponent("TimeTooltip",class extends jr{constructor(e,t){super(e,t),this.update=hr(pr(this,this.update),dr)}createEl(){return super.createEl("div",{className:"vjs-time-tooltip"},{"aria-hidden":"true"})}update(e,t,n){const r=Mn(this.el_),i=Pn(this.player_.el()),o=e.width*t;if(!i||!r)return;const a=e.left-i.left+o,s=e.width-o+(i.right-e.right);let u=r.width/2;a<u?u+=u-a:s<u&&(u=s),u<0?u=0:u>r.width&&(u=r.width),u=Math.round(u),this.el_.style.right=`-${u}px`,this.write(n)}write(e){bn(this.el_,e)}updateTime(e,t,n,r){this.requestNamedAnimationFrame("TimeTooltip#updateTime",(()=>{let i;const o=this.player_.duration();if(this.player_.liveTracker&&this.player_.liveTracker.isLive()){const e=this.player_.liveTracker.liveWindow(),n=e-t*e;i=(n<1?"":"-")+Zr(n,e)}else i=Zr(n,o);this.update(e,t,i),r&&r()}))}});class to extends jr{constructor(e,t){super(e,t),this.update=hr(pr(this,this.update),dr)}createEl(){return super.createEl("div",{className:"vjs-play-progress vjs-slider-bar"},{"aria-hidden":"true"})}update(e,t){const n=this.getChild("timeTooltip");if(!n)return;const r=this.player_.scrubbing()?this.player_.getCache().currentTime:this.player_.currentTime();n.updateTime(e,t,r)}}to.prototype.options_={children:[]},ln||Yt||to.prototype.options_.children.push("timeTooltip"),jr.registerComponent("PlayProgressBar",to);class no extends jr{constructor(e,t){super(e,t),this.update=hr(pr(this,this.update),dr)}createEl(){return super.createEl("div",{className:"vjs-mouse-display"})}update(e,t){const n=t*this.player_.duration();this.getChild("timeTooltip").updateTime(e,t,n,(()=>{this.el_.style.left=e.width*t+"px"}))}}no.prototype.options_={children:["timeTooltip"]},jr.registerComponent("MouseTimeDisplay",no);class ro extends Ji{constructor(e,t){super(e,t),this.setEventHandlers_()}setEventHandlers_(){this.update_=pr(this,this.update),this.update=hr(this.update_,dr),this.on(this.player_,["ended","durationchange","timeupdate"],this.update),this.player_.liveTracker&&this.on(this.player_.liveTracker,"liveedgechange",this.update),this.updateInterval=null,this.enableIntervalHandler_=e=>this.enableInterval_(e),this.disableIntervalHandler_=e=>this.disableInterval_(e),this.on(this.player_,["playing"],this.enableIntervalHandler_),this.on(this.player_,["ended","pause","waiting"],this.disableIntervalHandler_),"hidden"in a()&&"visibilityState"in a()&&this.on(a(),"visibilitychange",this.toggleVisibility_)}toggleVisibility_(e){"hidden"===a().visibilityState?(this.cancelNamedAnimationFrame("SeekBar#update"),this.cancelNamedAnimationFrame("Slider#update"),this.disableInterval_(e)):(this.player_.ended()||this.player_.paused()||this.enableInterval_(),this.update())}enableInterval_(){this.updateInterval||(this.updateInterval=this.setInterval(this.update,dr))}disableInterval_(e){this.player_.liveTracker&&this.player_.liveTracker.isLive()&&e&&"ended"!==e.type||this.updateInterval&&(this.clearInterval(this.updateInterval),this.updateInterval=null)}createEl(){return super.createEl("div",{className:"vjs-progress-holder"},{"aria-label":this.localize("Progress Bar")})}update(e){if("hidden"===a().visibilityState)return;const t=super.update();return this.requestNamedAnimationFrame("SeekBar#update",(()=>{const e=this.player_.ended()?this.player_.duration():this.getCurrentTime_(),n=this.player_.liveTracker;let r=this.player_.duration();n&&n.isLive()&&(r=this.player_.liveTracker.liveCurrentTime()),this.percent_!==t&&(this.el_.setAttribute("aria-valuenow",(100*t).toFixed(2)),this.percent_=t),this.currentTime_===e&&this.duration_===r||(this.el_.setAttribute("aria-valuetext",this.localize("progress bar timing: currentTime={1} duration={2}",[Zr(e,r),Zr(r,r)],"{1} of {2}")),this.currentTime_=e,this.duration_=r),this.bar&&this.bar.update(Pn(this.el()),this.getProgress())})),t}userSeek_(e){this.player_.liveTracker&&this.player_.liveTracker.isLive()&&this.player_.liveTracker.nextSeekedFromUser(),this.player_.currentTime(e)}getCurrentTime_(){return this.player_.scrubbing()?this.player_.getCache().currentTime:this.player_.currentTime()}getPercent(){const e=this.getCurrentTime_();let t;const n=this.player_.liveTracker;return n&&n.isLive()?(t=(e-n.seekableStart())/n.liveWindow(),n.atLiveEdge()&&(t=1)):t=e/this.player_.duration(),t}handleMouseDown(e){Fn(e)&&(e.stopPropagation(),this.videoWasPlaying=!this.player_.paused(),this.player_.pause(),super.handleMouseDown(e))}handleMouseMove(e,t=!1){if(!Fn(e))return;let n;t||this.player_.scrubbing()||this.player_.scrubbing(!0);const r=this.calculateDistance(e),i=this.player_.liveTracker;if(i&&i.isLive()){if(r>=.99)return void i.seekToLiveEdge();const e=i.seekableStart(),t=i.liveCurrentTime();if(n=e+r*i.liveWindow(),n>=t&&(n=t),n<=e&&(n=e+.1),n===1/0)return}else n=r*this.player_.duration(),n===this.player_.duration()&&(n-=.1);this.userSeek_(n)}enable(){super.enable();const e=this.getChild("mouseTimeDisplay");e&&e.show()}disable(){super.disable();const e=this.getChild("mouseTimeDisplay");e&&e.hide()}handleMouseUp(e){super.handleMouseUp(e),e&&e.stopPropagation(),this.player_.scrubbing(!1),this.player_.trigger({type:"timeupdate",target:this,manuallyTriggered:!0}),this.videoWasPlaying?$r(this.player_.play()):this.update_()}stepForward(){this.userSeek_(this.player_.currentTime()+5)}stepBack(){this.userSeek_(this.player_.currentTime()-5)}handleAction(e){this.player_.paused()?this.player_.play():this.player_.pause()}handleKeyDown(e){const t=this.player_.liveTracker;if(u().isEventKey(e,"Space")||u().isEventKey(e,"Enter"))e.preventDefault(),e.stopPropagation(),this.handleAction(e);else if(u().isEventKey(e,"Home"))e.preventDefault(),e.stopPropagation(),this.userSeek_(0);else if(u().isEventKey(e,"End"))e.preventDefault(),e.stopPropagation(),t&&t.isLive()?this.userSeek_(t.liveCurrentTime()):this.userSeek_(this.player_.duration());else if(/^[0-9]$/.test(u()(e))){e.preventDefault(),e.stopPropagation();const n=10*(u().codes[u()(e)]-u().codes[0])/100;t&&t.isLive()?this.userSeek_(t.seekableStart()+t.liveWindow()*n):this.userSeek_(this.player_.duration()*n)}else u().isEventKey(e,"PgDn")?(e.preventDefault(),e.stopPropagation(),this.userSeek_(this.player_.currentTime()-60)):u().isEventKey(e,"PgUp")?(e.preventDefault(),e.stopPropagation(),this.userSeek_(this.player_.currentTime()+60)):super.handleKeyDown(e)}dispose(){this.disableInterval_(),this.off(this.player_,["ended","durationchange","timeupdate"],this.update),this.player_.liveTracker&&this.off(this.player_.liveTracker,"liveedgechange",this.update),this.off(this.player_,["playing"],this.enableIntervalHandler_),this.off(this.player_,["ended","pause","waiting"],this.disableIntervalHandler_),"hidden"in a()&&"visibilityState"in a()&&this.off(a(),"visibilitychange",this.toggleVisibility_),super.dispose()}}ro.prototype.options_={children:["loadProgressBar","playProgressBar"],barName:"playProgressBar"},ln||Yt||ro.prototype.options_.children.splice(1,0,"mouseTimeDisplay"),jr.registerComponent("SeekBar",ro);class io extends jr{constructor(e,t){super(e,t),this.handleMouseMove=hr(pr(this,this.handleMouseMove),dr),this.throttledHandleMouseSeek=hr(pr(this,this.handleMouseSeek),dr),this.handleMouseUpHandler_=e=>this.handleMouseUp(e),this.handleMouseDownHandler_=e=>this.handleMouseDown(e),this.enable()}createEl(){return super.createEl("div",{className:"vjs-progress-control vjs-control"})}handleMouseMove(e){const t=this.getChild("seekBar");if(!t)return;const n=t.getChild("playProgressBar"),r=t.getChild("mouseTimeDisplay");if(!n&&!r)return;const i=t.el(),o=Mn(i);let a=Rn(i,e).x;a=Xi(a,0,1),r&&r.update(o,a),n&&n.update(o,t.getProgress())}handleMouseSeek(e){const t=this.getChild("seekBar");t&&t.handleMouseMove(e)}enabled(){return this.enabled_}disable(){if(this.children().forEach((e=>e.disable&&e.disable())),this.enabled()&&(this.off(["mousedown","touchstart"],this.handleMouseDownHandler_),this.off(this.el_,"mousemove",this.handleMouseMove),this.removeListenersAddedOnMousedownAndTouchstart(),this.addClass("disabled"),this.enabled_=!1,this.player_.scrubbing())){const e=this.getChild("seekBar");this.player_.scrubbing(!1),e.videoWasPlaying&&$r(this.player_.play())}}enable(){this.children().forEach((e=>e.enable&&e.enable())),this.enabled()||(this.on(["mousedown","touchstart"],this.handleMouseDownHandler_),this.on(this.el_,"mousemove",this.handleMouseMove),this.removeClass("disabled"),this.enabled_=!0)}removeListenersAddedOnMousedownAndTouchstart(){const e=this.el_.ownerDocument;this.off(e,"mousemove",this.throttledHandleMouseSeek),this.off(e,"touchmove",this.throttledHandleMouseSeek),this.off(e,"mouseup",this.handleMouseUpHandler_),this.off(e,"touchend",this.handleMouseUpHandler_)}handleMouseDown(e){const t=this.el_.ownerDocument,n=this.getChild("seekBar");n&&n.handleMouseDown(e),this.on(t,"mousemove",this.throttledHandleMouseSeek),this.on(t,"touchmove",this.throttledHandleMouseSeek),this.on(t,"mouseup",this.handleMouseUpHandler_),this.on(t,"touchend",this.handleMouseUpHandler_)}handleMouseUp(e){const t=this.getChild("seekBar");t&&t.handleMouseUp(e),this.removeListenersAddedOnMousedownAndTouchstart()}}io.prototype.options_={children:["seekBar"]},jr.registerComponent("ProgressControl",io);class oo extends Zi{constructor(e,t){super(e,t),this.on(e,["enterpictureinpicture","leavepictureinpicture"],(e=>this.handlePictureInPictureChange(e))),this.on(e,["disablepictureinpicturechanged","loadedmetadata"],(e=>this.handlePictureInPictureEnabledChange(e))),this.on(e,["loadedmetadata","audioonlymodechange","audiopostermodechange"],(()=>{"audio"===e.currentType().substring(0,5)||e.audioPosterMode()||e.audioOnlyMode()?(e.isInPictureInPicture()&&e.exitPictureInPicture(),this.hide()):this.show()})),this.disable()}buildCSSClass(){return`vjs-picture-in-picture-control ${super.buildCSSClass()}`}handlePictureInPictureEnabledChange(){a().pictureInPictureEnabled&&!1===this.player_.disablePictureInPicture()||this.player_.options_.enableDocumentPictureInPicture&&"documentPictureInPicture"in i()?this.enable():this.disable()}handlePictureInPictureChange(e){this.player_.isInPictureInPicture()?this.controlText("Exit Picture-in-Picture"):this.controlText("Picture-in-Picture"),this.handlePictureInPictureEnabledChange()}handleClick(e){this.player_.isInPictureInPicture()?this.player_.exitPictureInPicture():this.player_.requestPictureInPicture()}}oo.prototype.controlText_="Picture-in-Picture",jr.registerComponent("PictureInPictureToggle",oo);class ao extends Zi{constructor(e,t){super(e,t),this.on(e,"fullscreenchange",(e=>this.handleFullscreenChange(e))),!1===a()[e.fsApi_.fullscreenEnabled]&&this.disable()}buildCSSClass(){return`vjs-fullscreen-control ${super.buildCSSClass()}`}handleFullscreenChange(e){this.player_.isFullscreen()?this.controlText("Exit Fullscreen"):this.controlText("Fullscreen")}handleClick(e){this.player_.isFullscreen()?this.player_.exitFullscreen():this.player_.requestFullscreen()}}ao.prototype.controlText_="Fullscreen",jr.registerComponent("FullscreenToggle",ao);jr.registerComponent("VolumeLevel",class extends jr{createEl(){const e=super.createEl("div",{className:"vjs-volume-level"});return e.appendChild(super.createEl("span",{className:"vjs-control-text"})),e}});jr.registerComponent("VolumeLevelTooltip",class extends jr{constructor(e,t){super(e,t),this.update=hr(pr(this,this.update),dr)}createEl(){return super.createEl("div",{className:"vjs-volume-tooltip"},{"aria-hidden":"true"})}update(e,t,n,r){if(!n){const n=Pn(this.el_),r=Pn(this.player_.el()),i=e.width*t;if(!r||!n)return;const o=e.left-r.left+i,a=e.width-i+(r.right-e.right);let s=n.width/2;o<s?s+=s-o:a<s&&(s=a),s<0?s=0:s>n.width&&(s=n.width),this.el_.style.right=`-${s}px`}this.write(`${r}%`)}write(e){bn(this.el_,e)}updateVolume(e,t,n,r,i){this.requestNamedAnimationFrame("VolumeLevelTooltip#updateVolume",(()=>{this.update(e,t,n,r.toFixed(0)),i&&i()}))}});class so extends jr{constructor(e,t){super(e,t),this.update=hr(pr(this,this.update),dr)}createEl(){return super.createEl("div",{className:"vjs-mouse-display"})}update(e,t,n){const r=100*t;this.getChild("volumeLevelTooltip").updateVolume(e,t,n,r,(()=>{n?this.el_.style.bottom=e.height*t+"px":this.el_.style.left=e.width*t+"px"}))}}so.prototype.options_={children:["volumeLevelTooltip"]},jr.registerComponent("MouseVolumeLevelDisplay",so);class uo extends Ji{constructor(e,t){super(e,t),this.on("slideractive",(e=>this.updateLastVolume_(e))),this.on(e,"volumechange",(e=>this.updateARIAAttributes(e))),e.ready((()=>this.updateARIAAttributes()))}createEl(){return super.createEl("div",{className:"vjs-volume-bar vjs-slider-bar"},{"aria-label":this.localize("Volume Level"),"aria-live":"polite"})}handleMouseDown(e){Fn(e)&&super.handleMouseDown(e)}handleMouseMove(e){const t=this.getChild("mouseVolumeLevelDisplay");if(t){const n=this.el(),r=Pn(n),i=this.vertical();let o=Rn(n,e);o=i?o.y:o.x,o=Xi(o,0,1),t.update(r,o,i)}Fn(e)&&(this.checkMuted(),this.player_.volume(this.calculateDistance(e)))}checkMuted(){this.player_.muted()&&this.player_.muted(!1)}getPercent(){return this.player_.muted()?0:this.player_.volume()}stepForward(){this.checkMuted(),this.player_.volume(this.player_.volume()+.1)}stepBack(){this.checkMuted(),this.player_.volume(this.player_.volume()-.1)}updateARIAAttributes(e){const t=this.player_.muted()?0:this.volumeAsPercentage_();this.el_.setAttribute("aria-valuenow",t),this.el_.setAttribute("aria-valuetext",t+"%")}volumeAsPercentage_(){return Math.round(100*this.player_.volume())}updateLastVolume_(){const e=this.player_.volume();this.one("sliderinactive",(()=>{0===this.player_.volume()&&this.player_.lastVolume_(e)}))}}uo.prototype.options_={children:["volumeLevel"],barName:"volumeLevel"},ln||Yt||uo.prototype.options_.children.splice(0,0,"mouseVolumeLevelDisplay"),uo.prototype.playerEvent="volumechange",jr.registerComponent("VolumeBar",uo);class co extends jr{constructor(e,t={}){t.vertical=t.vertical||!1,(void 0===t.volumeBar||Ht(t.volumeBar))&&(t.volumeBar=t.volumeBar||{},t.volumeBar.vertical=t.vertical),super(e,t),function(e,t){t.tech_&&!t.tech_.featuresVolumeControl&&e.addClass("vjs-hidden"),e.on(t,"loadstart",(function(){t.tech_.featuresVolumeControl?e.removeClass("vjs-hidden"):e.addClass("vjs-hidden")}))}(this,e),this.throttledHandleMouseMove=hr(pr(this,this.handleMouseMove),dr),this.handleMouseUpHandler_=e=>this.handleMouseUp(e),this.on("mousedown",(e=>this.handleMouseDown(e))),this.on("touchstart",(e=>this.handleMouseDown(e))),this.on("mousemove",(e=>this.handleMouseMove(e))),this.on(this.volumeBar,["focus","slideractive"],(()=>{this.volumeBar.addClass("vjs-slider-active"),this.addClass("vjs-slider-active"),this.trigger("slideractive")})),this.on(this.volumeBar,["blur","sliderinactive"],(()=>{this.volumeBar.removeClass("vjs-slider-active"),this.removeClass("vjs-slider-active"),this.trigger("sliderinactive")}))}createEl(){let e="vjs-volume-horizontal";return this.options_.vertical&&(e="vjs-volume-vertical"),super.createEl("div",{className:`vjs-volume-control vjs-control ${e}`})}handleMouseDown(e){const t=this.el_.ownerDocument;this.on(t,"mousemove",this.throttledHandleMouseMove),this.on(t,"touchmove",this.throttledHandleMouseMove),this.on(t,"mouseup",this.handleMouseUpHandler_),this.on(t,"touchend",this.handleMouseUpHandler_)}handleMouseUp(e){const t=this.el_.ownerDocument;this.off(t,"mousemove",this.throttledHandleMouseMove),this.off(t,"touchmove",this.throttledHandleMouseMove),this.off(t,"mouseup",this.handleMouseUpHandler_),this.off(t,"touchend",this.handleMouseUpHandler_)}handleMouseMove(e){this.volumeBar.handleMouseMove(e)}}co.prototype.options_={children:["volumeBar"]},jr.registerComponent("VolumeControl",co);class lo extends Zi{constructor(e,t){super(e,t),function(e,t){t.tech_&&!t.tech_.featuresMuteControl&&e.addClass("vjs-hidden"),e.on(t,"loadstart",(function(){t.tech_.featuresMuteControl?e.removeClass("vjs-hidden"):e.addClass("vjs-hidden")}))}(this,e),this.on(e,["loadstart","volumechange"],(e=>this.update(e)))}buildCSSClass(){return`vjs-mute-control ${super.buildCSSClass()}`}handleClick(e){const t=this.player_.volume(),n=this.player_.lastVolume_();if(0===t){const e=n<.1?.1:n;this.player_.volume(e),this.player_.muted(!1)}else this.player_.muted(!this.player_.muted())}update(e){this.updateIcon_(),this.updateControlText_()}updateIcon_(){const e=this.player_.volume();let t=3;ln&&this.player_.tech_&&this.player_.tech_.el_&&this.player_.muted(this.player_.tech_.el_.muted),0===e||this.player_.muted()?t=0:e<.33?t=1:e<.67&&(t=2),xn(this.el_,[0,1,2,3].reduce(((e,t)=>e+`${t?" ":""}vjs-vol-${t}`),"")),Tn(this.el_,`vjs-vol-${t}`)}updateControlText_(){const e=this.player_.muted()||0===this.player_.volume()?"Unmute":"Mute";this.controlText()!==e&&this.controlText(e)}}lo.prototype.controlText_="Mute",jr.registerComponent("MuteToggle",lo);class fo extends jr{constructor(e,t={}){void 0!==t.inline?t.inline=t.inline:t.inline=!0,(void 0===t.volumeControl||Ht(t.volumeControl))&&(t.volumeControl=t.volumeControl||{},t.volumeControl.vertical=!t.inline),super(e,t),this.handleKeyPressHandler_=e=>this.handleKeyPress(e),this.on(e,["loadstart"],(e=>this.volumePanelState_(e))),this.on(this.muteToggle,"keyup",(e=>this.handleKeyPress(e))),this.on(this.volumeControl,"keyup",(e=>this.handleVolumeControlKeyUp(e))),this.on("keydown",(e=>this.handleKeyPress(e))),this.on("mouseover",(e=>this.handleMouseOver(e))),this.on("mouseout",(e=>this.handleMouseOut(e))),this.on(this.volumeControl,["slideractive"],this.sliderActive_),this.on(this.volumeControl,["sliderinactive"],this.sliderInactive_)}sliderActive_(){this.addClass("vjs-slider-active")}sliderInactive_(){this.removeClass("vjs-slider-active")}volumePanelState_(){this.volumeControl.hasClass("vjs-hidden")&&this.muteToggle.hasClass("vjs-hidden")&&this.addClass("vjs-hidden"),this.volumeControl.hasClass("vjs-hidden")&&!this.muteToggle.hasClass("vjs-hidden")&&this.addClass("vjs-mute-toggle-only")}createEl(){let e="vjs-volume-panel-horizontal";return this.options_.inline||(e="vjs-volume-panel-vertical"),super.createEl("div",{className:`vjs-volume-panel vjs-control ${e}`})}dispose(){this.handleMouseOut(),super.dispose()}handleVolumeControlKeyUp(e){u().isEventKey(e,"Esc")&&this.muteToggle.focus()}handleMouseOver(e){this.addClass("vjs-hover"),ar(a(),"keyup",this.handleKeyPressHandler_)}handleMouseOut(e){this.removeClass("vjs-hover"),sr(a(),"keyup",this.handleKeyPressHandler_)}handleKeyPress(e){u().isEventKey(e,"Esc")&&this.handleMouseOut()}}fo.prototype.options_={children:["muteToggle","volumeControl"]},jr.registerComponent("VolumePanel",fo);jr.registerComponent("SkipForward",class extends Zi{constructor(e,t){super(e,t),this.validOptions=[5,10,30],this.skipTime=this.getSkipForwardTime(),this.skipTime&&this.validOptions.includes(this.skipTime)?(this.controlText(this.localize("Skip forward {1} seconds",[this.skipTime])),this.show()):this.hide()}getSkipForwardTime(){const e=this.options_.playerOptions;return e.controlBar&&e.controlBar.skipButtons&&e.controlBar.skipButtons.forward}buildCSSClass(){return`vjs-skip-forward-${this.getSkipForwardTime()} ${super.buildCSSClass()}`}handleClick(e){const t=this.player_.currentTime(),n=this.player_.liveTracker,r=n&&n.isLive()?n.seekableEnd():this.player_.duration();let i;i=t+this.skipTime<=r?t+this.skipTime:r,this.player_.currentTime(i)}handleLanguagechange(){this.controlText(this.localize("Skip forward {1} seconds",[this.skipTime]))}});class po extends Zi{constructor(e,t){super(e,t),this.validOptions=[5,10,30],this.skipTime=this.getSkipBackwardTime(),this.skipTime&&this.validOptions.includes(this.skipTime)?(this.controlText(this.localize("Skip backward {1} seconds",[this.skipTime])),this.show()):this.hide()}getSkipBackwardTime(){const e=this.options_.playerOptions;return e.controlBar&&e.controlBar.skipButtons&&e.controlBar.skipButtons.backward}buildCSSClass(){return`vjs-skip-backward-${this.getSkipBackwardTime()} ${super.buildCSSClass()}`}handleClick(e){const t=this.player_.currentTime(),n=this.player_.liveTracker,r=n&&n.isLive()&&n.seekableStart();let i;i=r&&t-this.skipTime<=r?r:t>=this.skipTime?t-this.skipTime:0,this.player_.currentTime(i)}handleLanguagechange(){this.controlText(this.localize("Skip backward {1} seconds",[this.skipTime]))}}po.prototype.controlText_="Skip Backward",jr.registerComponent("SkipBackward",po);class ho extends jr{constructor(e,t){super(e,t),t&&(this.menuButton_=t.menuButton),this.focusedChild_=-1,this.on("keydown",(e=>this.handleKeyDown(e))),this.boundHandleBlur_=e=>this.handleBlur(e),this.boundHandleTapClick_=e=>this.handleTapClick(e)}addEventListenerForItem(e){e instanceof jr&&(this.on(e,"blur",this.boundHandleBlur_),this.on(e,["tap","click"],this.boundHandleTapClick_))}removeEventListenerForItem(e){e instanceof jr&&(this.off(e,"blur",this.boundHandleBlur_),this.off(e,["tap","click"],this.boundHandleTapClick_))}removeChild(e){"string"==typeof e&&(e=this.getChild(e)),this.removeEventListenerForItem(e),super.removeChild(e)}addItem(e){const t=this.addChild(e);t&&this.addEventListenerForItem(t)}createEl(){const e=this.options_.contentElType||"ul";this.contentEl_=vn(e,{className:"vjs-menu-content"}),this.contentEl_.setAttribute("role","menu");const t=super.createEl("div",{append:this.contentEl_,className:"vjs-menu"});return t.appendChild(this.contentEl_),ar(t,"click",(function(e){e.preventDefault(),e.stopImmediatePropagation()})),t}dispose(){this.contentEl_=null,this.boundHandleBlur_=null,this.boundHandleTapClick_=null,super.dispose()}handleBlur(e){const t=e.relatedTarget||a().activeElement;if(!this.children().some((e=>e.el()===t))){const e=this.menuButton_;e&&e.buttonPressed_&&t!==e.el().firstChild&&e.unpressButton()}}handleTapClick(e){if(this.menuButton_){this.menuButton_.unpressButton();const t=this.children();if(!Array.isArray(t))return;const n=t.filter((t=>t.el()===e.target))[0];if(!n)return;"CaptionSettingsMenuItem"!==n.name()&&this.menuButton_.focus()}}handleKeyDown(e){u().isEventKey(e,"Left")||u().isEventKey(e,"Down")?(e.preventDefault(),e.stopPropagation(),this.stepForward()):(u().isEventKey(e,"Right")||u().isEventKey(e,"Up"))&&(e.preventDefault(),e.stopPropagation(),this.stepBack())}stepForward(){let e=0;void 0!==this.focusedChild_&&(e=this.focusedChild_+1),this.focus(e)}stepBack(){let e=0;void 0!==this.focusedChild_&&(e=this.focusedChild_-1),this.focus(e)}focus(e=0){const t=this.children().slice();t.length&&t[0].hasClass("vjs-menu-title")&&t.shift(),t.length>0&&(e<0?e=0:e>=t.length&&(e=t.length-1),this.focusedChild_=e,t[e].el_.focus())}}jr.registerComponent("Menu",ho);class go extends jr{constructor(e,t={}){super(e,t),this.menuButton_=new Zi(e,t),this.menuButton_.controlText(this.controlText_),this.menuButton_.el_.setAttribute("aria-haspopup","true");const n=Zi.prototype.buildCSSClass();this.menuButton_.el_.className=this.buildCSSClass()+" "+n,this.menuButton_.removeClass("vjs-control"),this.addChild(this.menuButton_),this.update(),this.enabled_=!0;const r=e=>this.handleClick(e);this.handleMenuKeyUp_=e=>this.handleMenuKeyUp(e),this.on(this.menuButton_,"tap",r),this.on(this.menuButton_,"click",r),this.on(this.menuButton_,"keydown",(e=>this.handleKeyDown(e))),this.on(this.menuButton_,"mouseenter",(()=>{this.addClass("vjs-hover"),this.menu.show(),ar(a(),"keyup",this.handleMenuKeyUp_)})),this.on("mouseleave",(e=>this.handleMouseLeave(e))),this.on("keydown",(e=>this.handleSubmenuKeyDown(e)))}update(){const e=this.createMenu();this.menu&&(this.menu.dispose(),this.removeChild(this.menu)),this.menu=e,this.addChild(e),this.buttonPressed_=!1,this.menuButton_.el_.setAttribute("aria-expanded","false"),this.items&&this.items.length<=this.hideThreshold_?(this.hide(),this.menu.contentEl_.removeAttribute("role")):(this.show(),this.menu.contentEl_.setAttribute("role","menu"))}createMenu(){const e=new ho(this.player_,{menuButton:this});if(this.hideThreshold_=0,this.options_.title){const t=vn("li",{className:"vjs-menu-title",textContent:Pr(this.options_.title),tabIndex:-1}),n=new jr(this.player_,{el:t});e.addItem(n)}if(this.items=this.createItems(),this.items)for(let t=0;t<this.items.length;t++)e.addItem(this.items[t]);return e}createItems(){}createEl(){return super.createEl("div",{className:this.buildWrapperCSSClass()},{})}buildWrapperCSSClass(){let e="vjs-menu-button";!0===this.options_.inline?e+="-inline":e+="-popup";return`vjs-menu-button ${e} ${Zi.prototype.buildCSSClass()} ${super.buildCSSClass()}`}buildCSSClass(){let e="vjs-menu-button";return!0===this.options_.inline?e+="-inline":e+="-popup",`vjs-menu-button ${e} ${super.buildCSSClass()}`}controlText(e,t=this.menuButton_.el()){return this.menuButton_.controlText(e,t)}dispose(){this.handleMouseLeave(),super.dispose()}handleClick(e){this.buttonPressed_?this.unpressButton():this.pressButton()}handleMouseLeave(e){this.removeClass("vjs-hover"),sr(a(),"keyup",this.handleMenuKeyUp_)}focus(){this.menuButton_.focus()}blur(){this.menuButton_.blur()}handleKeyDown(e){u().isEventKey(e,"Esc")||u().isEventKey(e,"Tab")?(this.buttonPressed_&&this.unpressButton(),u().isEventKey(e,"Tab")||(e.preventDefault(),this.menuButton_.focus())):(u().isEventKey(e,"Up")||u().isEventKey(e,"Down"))&&(this.buttonPressed_||(e.preventDefault(),this.pressButton()))}handleMenuKeyUp(e){(u().isEventKey(e,"Esc")||u().isEventKey(e,"Tab"))&&this.removeClass("vjs-hover")}handleSubmenuKeyPress(e){this.handleSubmenuKeyDown(e)}handleSubmenuKeyDown(e){(u().isEventKey(e,"Esc")||u().isEventKey(e,"Tab"))&&(this.buttonPressed_&&this.unpressButton(),u().isEventKey(e,"Tab")||(e.preventDefault(),this.menuButton_.focus()))}pressButton(){if(this.enabled_){if(this.buttonPressed_=!0,this.menu.show(),this.menu.lockShowing(),this.menuButton_.el_.setAttribute("aria-expanded","true"),ln&&mn())return;this.menu.focus()}}unpressButton(){this.enabled_&&(this.buttonPressed_=!1,this.menu.unlockShowing(),this.menu.hide(),this.menuButton_.el_.setAttribute("aria-expanded","false"))}disable(){this.unpressButton(),this.enabled_=!1,this.addClass("vjs-disabled"),this.menuButton_.disable()}enable(){this.enabled_=!0,this.removeClass("vjs-disabled"),this.menuButton_.enable()}}jr.registerComponent("MenuButton",go);class mo extends go{constructor(e,t){const n=t.tracks;if(super(e,t),this.items.length<=1&&this.hide(),!n)return;const r=pr(this,this.update);n.addEventListener("removetrack",r),n.addEventListener("addtrack",r),n.addEventListener("labelchange",r),this.player_.on("ready",r),this.player_.on("dispose",(function(){n.removeEventListener("removetrack",r),n.removeEventListener("addtrack",r),n.removeEventListener("labelchange",r)}))}}jr.registerComponent("TrackButton",mo);const yo=["Tab","Esc","Up","Down","Right","Left"];class vo extends Bi{constructor(e,t){super(e,t),this.selectable=t.selectable,this.isSelected_=t.selected||!1,this.multiSelectable=t.multiSelectable,this.selected(this.isSelected_),this.selectable?this.multiSelectable?this.el_.setAttribute("role","menuitemcheckbox"):this.el_.setAttribute("role","menuitemradio"):this.el_.setAttribute("role","menuitem")}createEl(e,t,n){this.nonIconControl=!0;const r=super.createEl("li",Object.assign({className:"vjs-menu-item",tabIndex:-1},t),n);return r.replaceChild(vn("span",{className:"vjs-menu-item-text",textContent:this.localize(this.options_.label)}),r.querySelector(".vjs-icon-placeholder")),r}handleKeyDown(e){yo.some((t=>u().isEventKey(e,t)))||super.handleKeyDown(e)}handleClick(e){this.selected(!0)}selected(e){this.selectable&&(e?(this.addClass("vjs-selected"),this.el_.setAttribute("aria-checked","true"),this.controlText(", selected"),this.isSelected_=!0):(this.removeClass("vjs-selected"),this.el_.setAttribute("aria-checked","false"),this.controlText(""),this.isSelected_=!1))}}jr.registerComponent("MenuItem",vo);class bo extends vo{constructor(e,t){const n=t.track,r=e.textTracks();t.label=n.label||n.language||"Unknown",t.selected="showing"===n.mode,super(e,t),this.track=n,this.kinds=(t.kinds||[t.kind||this.track.kind]).filter(Boolean);const o=(...e)=>{this.handleTracksChange.apply(this,e)},s=(...e)=>{this.handleSelectedLanguageChange.apply(this,e)};if(e.on(["loadstart","texttrackchange"],o),r.addEventListener("change",o),r.addEventListener("selectedlanguagechange",s),this.on("dispose",(function(){e.off(["loadstart","texttrackchange"],o),r.removeEventListener("change",o),r.removeEventListener("selectedlanguagechange",s)})),void 0===r.onchange){let e;this.on(["tap","click"],(function(){if("object"!=typeof i().Event)try{e=new(i().Event)("change")}catch(e){}e||(e=a().createEvent("Event"),e.initEvent("change",!0,!0)),r.dispatchEvent(e)}))}this.handleTracksChange()}handleClick(e){const t=this.track,n=this.player_.textTracks();if(super.handleClick(e),n)for(let e=0;e<n.length;e++){const r=n[e];-1!==this.kinds.indexOf(r.kind)&&(r===t?"showing"!==r.mode&&(r.mode="showing"):"disabled"!==r.mode&&(r.mode="disabled"))}}handleTracksChange(e){const t="showing"===this.track.mode;t!==this.isSelected_&&this.selected(t)}handleSelectedLanguageChange(e){if("showing"===this.track.mode){const e=this.player_.cache_.selectedLanguage;if(e&&e.enabled&&e.language===this.track.language&&e.kind!==this.track.kind)return;this.player_.cache_.selectedLanguage={enabled:!0,language:this.track.language,kind:this.track.kind}}}dispose(){this.track=null,super.dispose()}}jr.registerComponent("TextTrackMenuItem",bo);class _o extends bo{constructor(e,t){t.track={player:e,kind:t.kind,kinds:t.kinds,default:!1,mode:"disabled"},t.kinds||(t.kinds=[t.kind]),t.label?t.track.label=t.label:t.track.label=t.kinds.join(" and ")+" off",t.selectable=!0,t.multiSelectable=!1,super(e,t)}handleTracksChange(e){const t=this.player().textTracks();let n=!0;for(let e=0,r=t.length;e<r;e++){const r=t[e];if(this.options_.kinds.indexOf(r.kind)>-1&&"showing"===r.mode){n=!1;break}}n!==this.isSelected_&&this.selected(n)}handleSelectedLanguageChange(e){const t=this.player().textTracks();let n=!0;for(let e=0,r=t.length;e<r;e++){const r=t[e];if(["captions","descriptions","subtitles"].indexOf(r.kind)>-1&&"showing"===r.mode){n=!1;break}}n&&(this.player_.cache_.selectedLanguage={enabled:!1})}handleLanguagechange(){this.$(".vjs-menu-item-text").textContent=this.player_.localize(this.options_.label),super.handleLanguagechange()}}jr.registerComponent("OffTextTrackMenuItem",_o);class wo extends mo{constructor(e,t={}){t.tracks=e.textTracks(),super(e,t)}createItems(e=[],t=bo){let n;this.label_&&(n=`${this.label_} off`),e.push(new _o(this.player_,{kinds:this.kinds_,kind:this.kind_,label:n})),this.hideThreshold_+=1;const r=this.player_.textTracks();Array.isArray(this.kinds_)||(this.kinds_=[this.kind_]);for(let n=0;n<r.length;n++){const i=r[n];if(this.kinds_.indexOf(i.kind)>-1){const n=new t(this.player_,{track:i,kinds:this.kinds_,kind:this.kind_,selectable:!0,multiSelectable:!1});n.addClass(`vjs-${i.kind}-menu-item`),e.push(n)}}return e}}jr.registerComponent("TextTrackButton",wo);class To extends vo{constructor(e,t){const n=t.track,r=t.cue,i=e.currentTime();t.selectable=!0,t.multiSelectable=!1,t.label=r.text,t.selected=r.startTime<=i&&i<r.endTime,super(e,t),this.track=n,this.cue=r}handleClick(e){super.handleClick(),this.player_.currentTime(this.cue.startTime)}}jr.registerComponent("ChaptersTrackMenuItem",To);class xo extends wo{constructor(e,t,n){super(e,t,n),this.selectCurrentItem_=()=>{this.items.forEach((e=>{e.selected(this.track_.activeCues[0]===e.cue)}))}}buildCSSClass(){return`vjs-chapters-button ${super.buildCSSClass()}`}buildWrapperCSSClass(){return`vjs-chapters-button ${super.buildWrapperCSSClass()}`}update(e){if(e&&e.track&&"chapters"!==e.track.kind)return;const t=this.findChaptersTrack();t!==this.track_?(this.setTrack(t),super.update()):(!this.items||t&&t.cues&&t.cues.length!==this.items.length)&&super.update()}setTrack(e){if(this.track_!==e){if(this.updateHandler_||(this.updateHandler_=this.update.bind(this)),this.track_){const e=this.player_.remoteTextTrackEls().getTrackElementByTrack_(this.track_);e&&e.removeEventListener("load",this.updateHandler_),this.track_.removeEventListener("cuechange",this.selectCurrentItem_),this.track_=null}if(this.track_=e,this.track_){this.track_.mode="hidden";const e=this.player_.remoteTextTrackEls().getTrackElementByTrack_(this.track_);e&&e.addEventListener("load",this.updateHandler_),this.track_.addEventListener("cuechange",this.selectCurrentItem_)}}}findChaptersTrack(){const e=this.player_.textTracks()||[];for(let t=e.length-1;t>=0;t--){const n=e[t];if(n.kind===this.kind_)return n}}getMenuCaption(){return this.track_&&this.track_.label?this.track_.label:this.localize(Pr(this.kind_))}createMenu(){return this.options_.title=this.getMenuCaption(),super.createMenu()}createItems(){const e=[];if(!this.track_)return e;const t=this.track_.cues;if(!t)return e;for(let n=0,r=t.length;n<r;n++){const r=t[n],i=new To(this.player_,{track:this.track_,cue:r});e.push(i)}return e}}xo.prototype.kind_="chapters",xo.prototype.controlText_="Chapters",jr.registerComponent("ChaptersButton",xo);class So extends wo{constructor(e,t,n){super(e,t,n);const r=e.textTracks(),i=pr(this,this.handleTracksChange);r.addEventListener("change",i),this.on("dispose",(function(){r.removeEventListener("change",i)}))}handleTracksChange(e){const t=this.player().textTracks();let n=!1;for(let e=0,r=t.length;e<r;e++){const r=t[e];if(r.kind!==this.kind_&&"showing"===r.mode){n=!0;break}}n?this.disable():this.enable()}buildCSSClass(){return`vjs-descriptions-button ${super.buildCSSClass()}`}buildWrapperCSSClass(){return`vjs-descriptions-button ${super.buildWrapperCSSClass()}`}}So.prototype.kind_="descriptions",So.prototype.controlText_="Descriptions",jr.registerComponent("DescriptionsButton",So);class ko extends wo{constructor(e,t,n){super(e,t,n)}buildCSSClass(){return`vjs-subtitles-button ${super.buildCSSClass()}`}buildWrapperCSSClass(){return`vjs-subtitles-button ${super.buildWrapperCSSClass()}`}}ko.prototype.kind_="subtitles",ko.prototype.controlText_="Subtitles",jr.registerComponent("SubtitlesButton",ko);class Eo extends bo{constructor(e,t){t.track={player:e,kind:t.kind,label:t.kind+" settings",selectable:!1,default:!1,mode:"disabled"},t.selectable=!1,t.name="CaptionSettingsMenuItem",super(e,t),this.addClass("vjs-texttrack-settings"),this.controlText(", opens "+t.kind+" settings dialog")}handleClick(e){this.player().getChild("textTrackSettings").open()}handleLanguagechange(){this.$(".vjs-menu-item-text").textContent=this.player_.localize(this.options_.kind+" settings"),super.handleLanguagechange()}}jr.registerComponent("CaptionSettingsMenuItem",Eo);class Oo extends wo{constructor(e,t,n){super(e,t,n)}buildCSSClass(){return`vjs-captions-button ${super.buildCSSClass()}`}buildWrapperCSSClass(){return`vjs-captions-button ${super.buildWrapperCSSClass()}`}createItems(){const e=[];return this.player().tech_&&this.player().tech_.featuresNativeTextTracks||!this.player().getChild("textTrackSettings")||(e.push(new Eo(this.player_,{kind:this.kind_})),this.hideThreshold_+=1),super.createItems(e)}}Oo.prototype.kind_="captions",Oo.prototype.controlText_="Captions",jr.registerComponent("CaptionsButton",Oo);class Co extends bo{createEl(e,t,n){const r=super.createEl(e,t,n),i=r.querySelector(".vjs-menu-item-text");return"captions"===this.options_.track.kind&&(i.appendChild(vn("span",{className:"vjs-icon-placeholder"},{"aria-hidden":!0})),i.appendChild(vn("span",{className:"vjs-control-text",textContent:` ${this.localize("Captions")}`}))),r}}jr.registerComponent("SubsCapsMenuItem",Co);class Lo extends wo{constructor(e,t={}){super(e,t),this.label_="subtitles",["en","en-us","en-ca","fr-ca"].indexOf(this.player_.language_)>-1&&(this.label_="captions"),this.menuButton_.controlText(Pr(this.label_))}buildCSSClass(){return`vjs-subs-caps-button ${super.buildCSSClass()}`}buildWrapperCSSClass(){return`vjs-subs-caps-button ${super.buildWrapperCSSClass()}`}createItems(){let e=[];return this.player().tech_&&this.player().tech_.featuresNativeTextTracks||!this.player().getChild("textTrackSettings")||(e.push(new Eo(this.player_,{kind:this.label_})),this.hideThreshold_+=1),e=super.createItems(e,Co),e}}Lo.prototype.kinds_=["captions","subtitles"],Lo.prototype.controlText_="Subtitles",jr.registerComponent("SubsCapsButton",Lo);class Ao extends vo{constructor(e,t){const n=t.track,r=e.audioTracks();t.label=n.label||n.language||"Unknown",t.selected=n.enabled,super(e,t),this.track=n,this.addClass(`vjs-${n.kind}-menu-item`);const i=(...e)=>{this.handleTracksChange.apply(this,e)};r.addEventListener("change",i),this.on("dispose",(()=>{r.removeEventListener("change",i)}))}createEl(e,t,n){const r=super.createEl(e,t,n),i=r.querySelector(".vjs-menu-item-text");return"main-desc"===this.options_.track.kind&&(i.appendChild(vn("span",{className:"vjs-icon-placeholder"},{"aria-hidden":!0})),i.appendChild(vn("span",{className:"vjs-control-text",textContent:" "+this.localize("Descriptions")}))),r}handleClick(e){if(super.handleClick(e),this.track.enabled=!0,this.player_.tech_.featuresNativeAudioTracks){const e=this.player_.audioTracks();for(let t=0;t<e.length;t++){const n=e[t];n!==this.track&&(n.enabled=n===this.track)}}}handleTracksChange(e){this.selected(this.track.enabled)}}jr.registerComponent("AudioTrackMenuItem",Ao);class Io extends mo{constructor(e,t={}){t.tracks=e.audioTracks(),super(e,t)}buildCSSClass(){return`vjs-audio-button ${super.buildCSSClass()}`}buildWrapperCSSClass(){return`vjs-audio-button ${super.buildWrapperCSSClass()}`}createItems(e=[]){this.hideThreshold_=1;const t=this.player_.audioTracks();for(let n=0;n<t.length;n++){const r=t[n];e.push(new Ao(this.player_,{track:r,selectable:!0,multiSelectable:!1}))}return e}}Io.prototype.controlText_="Audio Track",jr.registerComponent("AudioTrackButton",Io);class Po extends vo{constructor(e,t){const n=t.rate,r=parseFloat(n,10);t.label=n,t.selected=r===e.playbackRate(),t.selectable=!0,t.multiSelectable=!1,super(e,t),this.label=n,this.rate=r,this.on(e,"ratechange",(e=>this.update(e)))}handleClick(e){super.handleClick(),this.player().playbackRate(this.rate)}update(e){this.selected(this.player().playbackRate()===this.rate)}}Po.prototype.contentElType="button",jr.registerComponent("PlaybackRateMenuItem",Po);class Mo extends go{constructor(e,t){super(e,t),this.menuButton_.el_.setAttribute("aria-describedby",this.labelElId_),this.updateVisibility(),this.updateLabel(),this.on(e,"loadstart",(e=>this.updateVisibility(e))),this.on(e,"ratechange",(e=>this.updateLabel(e))),this.on(e,"playbackrateschange",(e=>this.handlePlaybackRateschange(e)))}createEl(){const e=super.createEl();return this.labelElId_="vjs-playback-rate-value-label-"+this.id_,this.labelEl_=vn("div",{className:"vjs-playback-rate-value",id:this.labelElId_,textContent:"1x"}),e.appendChild(this.labelEl_),e}dispose(){this.labelEl_=null,super.dispose()}buildCSSClass(){return`vjs-playback-rate ${super.buildCSSClass()}`}buildWrapperCSSClass(){return`vjs-playback-rate ${super.buildWrapperCSSClass()}`}createItems(){const e=this.playbackRates(),t=[];for(let n=e.length-1;n>=0;n--)t.push(new Po(this.player(),{rate:e[n]+"x"}));return t}handlePlaybackRateschange(e){this.update()}playbackRates(){const e=this.player();return e.playbackRates&&e.playbackRates()||[]}playbackRateSupported(){return this.player().tech_&&this.player().tech_.featuresPlaybackRate&&this.playbackRates()&&this.playbackRates().length>0}updateVisibility(e){this.playbackRateSupported()?this.removeClass("vjs-hidden"):this.addClass("vjs-hidden")}updateLabel(e){this.playbackRateSupported()&&(this.labelEl_.textContent=this.player().playbackRate()+"x")}}Mo.prototype.controlText_="Playback Rate",jr.registerComponent("PlaybackRateMenuButton",Mo);class Ro extends jr{buildCSSClass(){return`vjs-spacer ${super.buildCSSClass()}`}createEl(e="div",t={},n={}){return t.className||(t.className=this.buildCSSClass()),super.createEl(e,t,n)}}jr.registerComponent("Spacer",Ro);jr.registerComponent("CustomControlSpacer",class extends Ro{buildCSSClass(){return`vjs-custom-control-spacer ${super.buildCSSClass()}`}createEl(){return super.createEl("div",{className:this.buildCSSClass(),textContent:" "})}});class jo extends jr{createEl(){return super.createEl("div",{className:"vjs-control-bar",dir:"ltr"})}}jo.prototype.options_={children:["playToggle","skipBackward","skipForward","volumePanel","currentTimeDisplay","timeDivider","durationDisplay","progressControl","liveDisplay","seekToLive","remainingTimeDisplay","customControlSpacer","playbackRateMenuButton","chaptersButton","descriptionsButton","subsCapsButton","audioTrackButton","fullscreenToggle"]},"exitPictureInPicture"in a()&&jo.prototype.options_.children.splice(jo.prototype.options_.children.length-1,0,"pictureInPictureToggle"),jr.registerComponent("ControlBar",jo);class Do extends Qr{constructor(e,t){super(e,t),this.on(e,"error",(e=>this.open(e)))}buildCSSClass(){return`vjs-error-display ${super.buildCSSClass()}`}content(){const e=this.player().error();return e?this.localize(e.message):""}}Do.prototype.options_=Object.assign({},Qr.prototype.options_,{pauseOnOpen:!1,fillAlways:!0,temporary:!1,uncloseable:!0}),jr.registerComponent("ErrorDisplay",Do);const No="vjs-text-track-settings",Bo=["#000","Black"],Uo=["#00F","Blue"],Fo=["#0FF","Cyan"],zo=["#0F0","Green"],Ho=["#F0F","Magenta"],Zo=["#F00","Red"],qo=["#FFF","White"],Vo=["#FF0","Yellow"],Wo=["1","Opaque"],Go=["0.5","Semi-Transparent"],$o=["0","Transparent"],Yo={backgroundColor:{selector:".vjs-bg-color > select",id:"captions-background-color-%s",label:"Color",options:[Bo,qo,Zo,zo,Uo,Vo,Ho,Fo]},backgroundOpacity:{selector:".vjs-bg-opacity > select",id:"captions-background-opacity-%s",label:"Opacity",options:[Wo,Go,$o]},color:{selector:".vjs-text-color > select",id:"captions-foreground-color-%s",label:"Color",options:[qo,Bo,Zo,zo,Uo,Vo,Ho,Fo]},edgeStyle:{selector:".vjs-edge-style > select",id:"%s",label:"Text Edge Style",options:[["none","None"],["raised","Raised"],["depressed","Depressed"],["uniform","Uniform"],["dropshadow","Dropshadow"]]},fontFamily:{selector:".vjs-font-family > select",id:"captions-font-family-%s",label:"Font Family",options:[["proportionalSansSerif","Proportional Sans-Serif"],["monospaceSansSerif","Monospace Sans-Serif"],["proportionalSerif","Proportional Serif"],["monospaceSerif","Monospace Serif"],["casual","Casual"],["script","Script"],["small-caps","Small Caps"]]},fontPercent:{selector:".vjs-font-percent > select",id:"captions-font-size-%s",label:"Font Size",options:[["0.50","50%"],["0.75","75%"],["1.00","100%"],["1.25","125%"],["1.50","150%"],["1.75","175%"],["2.00","200%"],["3.00","300%"],["4.00","400%"]],default:2,parser:e=>"1.00"===e?null:Number(e)},textOpacity:{selector:".vjs-text-opacity > select",id:"captions-foreground-opacity-%s",label:"Opacity",options:[Wo,Go]},windowColor:{selector:".vjs-window-color > select",id:"captions-window-color-%s",label:"Color"},windowOpacity:{selector:".vjs-window-opacity > select",id:"captions-window-opacity-%s",label:"Opacity",options:[$o,Go,Wo]}};function Ko(e,t){if(t&&(e=t(e)),e&&"none"!==e)return e}Yo.windowColor.options=Yo.backgroundColor.options;jr.registerComponent("TextTrackSettings",class extends Qr{constructor(e,t){t.temporary=!1,super(e,t),this.updateDisplay=this.updateDisplay.bind(this),this.fill(),this.hasBeenOpened_=this.hasBeenFilled_=!0,this.endDialog=vn("p",{className:"vjs-control-text",textContent:this.localize("End of dialog window.")}),this.el().appendChild(this.endDialog),this.setDefaults(),void 0===t.persistTextTrackSettings&&(this.options_.persistTextTrackSettings=this.options_.playerOptions.persistTextTrackSettings),this.on(this.$(".vjs-done-button"),"click",(()=>{this.saveSettings(),this.close()})),this.on(this.$(".vjs-default-button"),"click",(()=>{this.setDefaults(),this.updateDisplay()})),Ut(Yo,(e=>{this.on(this.$(e.selector),"change",this.updateDisplay)})),this.options_.persistTextTrackSettings&&this.restoreSettings()}dispose(){this.endDialog=null,super.dispose()}createElSelect_(e,t="",n="label"){const r=Yo[e],i=r.id.replace("%s",this.id_),o=[t,i].join(" ").trim();return[`<${n} id="${i}" class="${"label"===n?"vjs-label":""}">`,this.localize(r.label),`</${n}>`,`<select aria-labelledby="${o}">`].concat(r.options.map((e=>{const t=i+"-"+e[1].replace(/\W+/g,"");return[`<option id="${t}" value="${e[0]}" `,`aria-labelledby="${o} ${t}">`,this.localize(e[1]),"</option>"].join("")}))).concat("</select>").join("")}createElFgColor_(){const e=`captions-text-legend-${this.id_}`;return['<fieldset class="vjs-fg vjs-track-setting">',`<legend id="${e}">`,this.localize("Text"),"</legend>",'<span class="vjs-text-color">',this.createElSelect_("color",e),"</span>",'<span class="vjs-text-opacity vjs-opacity">',this.createElSelect_("textOpacity",e),"</span>","</fieldset>"].join("")}createElBgColor_(){const e=`captions-background-${this.id_}`;return['<fieldset class="vjs-bg vjs-track-setting">',`<legend id="${e}">`,this.localize("Text Background"),"</legend>",'<span class="vjs-bg-color">',this.createElSelect_("backgroundColor",e),"</span>",'<span class="vjs-bg-opacity vjs-opacity">',this.createElSelect_("backgroundOpacity",e),"</span>","</fieldset>"].join("")}createElWinColor_(){const e=`captions-window-${this.id_}`;return['<fieldset class="vjs-window vjs-track-setting">',`<legend id="${e}">`,this.localize("Caption Area Background"),"</legend>",'<span class="vjs-window-color">',this.createElSelect_("windowColor",e),"</span>",'<span class="vjs-window-opacity vjs-opacity">',this.createElSelect_("windowOpacity",e),"</span>","</fieldset>"].join("")}createElColors_(){return vn("div",{className:"vjs-track-settings-colors",innerHTML:[this.createElFgColor_(),this.createElBgColor_(),this.createElWinColor_()].join("")})}createElFont_(){return vn("div",{className:"vjs-track-settings-font",innerHTML:['<fieldset class="vjs-font-percent vjs-track-setting">',this.createElSelect_("fontPercent","","legend"),"</fieldset>",'<fieldset class="vjs-edge-style vjs-track-setting">',this.createElSelect_("edgeStyle","","legend"),"</fieldset>",'<fieldset class="vjs-font-family vjs-track-setting">',this.createElSelect_("fontFamily","","legend"),"</fieldset>"].join("")})}createElControls_(){const e=this.localize("restore all settings to the default values");return vn("div",{className:"vjs-track-settings-controls",innerHTML:[`<button type="button" class="vjs-default-button" title="${e}">`,this.localize("Reset"),`<span class="vjs-control-text"> ${e}</span>`,"</button>",`<button type="button" class="vjs-done-button">${this.localize("Done")}</button>`].join("")})}content(){return[this.createElColors_(),this.createElFont_(),this.createElControls_()]}label(){return this.localize("Caption Settings Dialog")}description(){return this.localize("Beginning of dialog window. Escape will cancel and close the window.")}buildCSSClass(){return super.buildCSSClass()+" vjs-text-track-settings"}getValues(){return Ft(Yo,((e,t,n)=>{const r=(i=this.$(t.selector),o=t.parser,Ko(i.options[i.options.selectedIndex].value,o));var i,o;return void 0!==r&&(e[n]=r),e}),{})}setValues(e){Ut(Yo,((t,n)=>{!function(e,t,n){if(t)for(let r=0;r<e.options.length;r++)if(Ko(e.options[r].value,n)===t){e.selectedIndex=r;break}}(this.$(t.selector),e[n],t.parser)}))}setDefaults(){Ut(Yo,(e=>{const t=e.hasOwnProperty("default")?e.default:0;this.$(e.selector).selectedIndex=t}))}restoreSettings(){let e;try{e=JSON.parse(i().localStorage.getItem(No))}catch(e){jt.warn(e)}e&&this.setValues(e)}saveSettings(){if(!this.options_.persistTextTrackSettings)return;const e=this.getValues();try{Object.keys(e).length?i().localStorage.setItem(No,JSON.stringify(e)):i().localStorage.removeItem(No)}catch(e){jt.warn(e)}}updateDisplay(){const e=this.player_.getChild("textTrackDisplay");e&&e.updateDisplay()}conditionalBlur_(){this.previouslyActiveEl_=null;const e=this.player_.controlBar,t=e&&e.subsCapsButton,n=e&&e.captionsButton;t?t.focus():n&&n.focus()}handleLanguagechange(){this.fill()}});jr.registerComponent("ResizeManager",class extends jr{constructor(e,t){let n=t.ResizeObserver||i().ResizeObserver;null===t.ResizeObserver&&(n=!1);super(e,Zt({createEl:!n,reportTouchActivity:!1},t)),this.ResizeObserver=t.ResizeObserver||i().ResizeObserver,this.loadListener_=null,this.resizeObserver_=null,this.debouncedHandler_=gr((()=>{this.resizeHandler()}),100,!1,this),n?(this.resizeObserver_=new this.ResizeObserver(this.debouncedHandler_),this.resizeObserver_.observe(e.el())):(this.loadListener_=()=>{if(!this.el_||!this.el_.contentWindow)return;const e=this.debouncedHandler_;let t=this.unloadListener_=function(){sr(this,"resize",e),sr(this,"unload",t),t=null};ar(this.el_.contentWindow,"unload",t),ar(this.el_.contentWindow,"resize",e)},this.one("load",this.loadListener_))}createEl(){return super.createEl("iframe",{className:"vjs-resize-manager",tabIndex:-1,title:this.localize("No content")},{"aria-hidden":"true"})}resizeHandler(){this.player_&&this.player_.trigger&&this.player_.trigger("playerresize")}dispose(){this.debouncedHandler_&&this.debouncedHandler_.cancel(),this.resizeObserver_&&(this.player_.el()&&this.resizeObserver_.unobserve(this.player_.el()),this.resizeObserver_.disconnect()),this.loadListener_&&this.off("load",this.loadListener_),this.el_&&this.el_.contentWindow&&this.unloadListener_&&this.unloadListener_.call(this.el_.contentWindow),this.ResizeObserver=null,this.resizeObserver=null,this.debouncedHandler_=null,this.loadListener_=null,super.dispose()}});const Xo={trackingThreshold:20,liveTolerance:15};jr.registerComponent("LiveTracker",class extends jr{constructor(e,t){super(e,Zt(Xo,t,{createEl:!1})),this.trackLiveHandler_=()=>this.trackLive_(),this.handlePlay_=e=>this.handlePlay(e),this.handleFirstTimeupdate_=e=>this.handleFirstTimeupdate(e),this.handleSeeked_=e=>this.handleSeeked(e),this.seekToLiveEdge_=e=>this.seekToLiveEdge(e),this.reset_(),this.on(this.player_,"durationchange",(e=>this.handleDurationchange(e))),this.on(this.player_,"canplay",(()=>this.toggleTracking()))}trackLive_(){const e=this.player_.seekable();if(!e||!e.length)return;const t=Number(i().performance.now().toFixed(4)),n=-1===this.lastTime_?0:(t-this.lastTime_)/1e3;this.lastTime_=t,this.pastSeekEnd_=this.pastSeekEnd()+n;const r=this.liveCurrentTime(),o=this.player_.currentTime();let a=this.player_.paused()||this.seekedBehindLive_||Math.abs(r-o)>this.options_.liveTolerance;this.timeupdateSeen_&&r!==1/0||(a=!1),a!==this.behindLiveEdge_&&(this.behindLiveEdge_=a,this.trigger("liveedgechange"))}handleDurationchange(){this.toggleTracking()}toggleTracking(){this.player_.duration()===1/0&&this.liveWindow()>=this.options_.trackingThreshold?(this.player_.options_.liveui&&this.player_.addClass("vjs-liveui"),this.startTracking()):(this.player_.removeClass("vjs-liveui"),this.stopTracking())}startTracking(){this.isTracking()||(this.timeupdateSeen_||(this.timeupdateSeen_=this.player_.hasStarted()),this.trackingInterval_=this.setInterval(this.trackLiveHandler_,dr),this.trackLive_(),this.on(this.player_,["play","pause"],this.trackLiveHandler_),this.timeupdateSeen_?this.on(this.player_,"seeked",this.handleSeeked_):(this.one(this.player_,"play",this.handlePlay_),this.one(this.player_,"timeupdate",this.handleFirstTimeupdate_)))}handleFirstTimeupdate(){this.timeupdateSeen_=!0,this.on(this.player_,"seeked",this.handleSeeked_)}handleSeeked(){const e=Math.abs(this.liveCurrentTime()-this.player_.currentTime());this.seekedBehindLive_=this.nextSeekedFromUser_&&e>2,this.nextSeekedFromUser_=!1,this.trackLive_()}handlePlay(){this.one(this.player_,"timeupdate",this.seekToLiveEdge_)}reset_(){this.lastTime_=-1,this.pastSeekEnd_=0,this.lastSeekEnd_=-1,this.behindLiveEdge_=!0,this.timeupdateSeen_=!1,this.seekedBehindLive_=!1,this.nextSeekedFromUser_=!1,this.clearInterval(this.trackingInterval_),this.trackingInterval_=null,this.off(this.player_,["play","pause"],this.trackLiveHandler_),this.off(this.player_,"seeked",this.handleSeeked_),this.off(this.player_,"play",this.handlePlay_),this.off(this.player_,"timeupdate",this.handleFirstTimeupdate_),this.off(this.player_,"timeupdate",this.seekToLiveEdge_)}nextSeekedFromUser(){this.nextSeekedFromUser_=!0}stopTracking(){this.isTracking()&&(this.reset_(),this.trigger("liveedgechange"))}seekableEnd(){const e=this.player_.seekable(),t=[];let n=e?e.length:0;for(;n--;)t.push(e.end(n));return t.length?t.sort()[t.length-1]:1/0}seekableStart(){const e=this.player_.seekable(),t=[];let n=e?e.length:0;for(;n--;)t.push(e.start(n));return t.length?t.sort()[0]:0}liveWindow(){const e=this.liveCurrentTime();return e===1/0?0:e-this.seekableStart()}isLive(){return this.isTracking()}atLiveEdge(){return!this.behindLiveEdge()}liveCurrentTime(){return this.pastSeekEnd()+this.seekableEnd()}pastSeekEnd(){const e=this.seekableEnd();return-1!==this.lastSeekEnd_&&e!==this.lastSeekEnd_&&(this.pastSeekEnd_=0),this.lastSeekEnd_=e,this.pastSeekEnd_}behindLiveEdge(){return this.behindLiveEdge_}isTracking(){return"number"==typeof this.trackingInterval_}seekToLiveEdge(){this.seekedBehindLive_=!1,this.atLiveEdge()||(this.nextSeekedFromUser_=!1,this.player_.currentTime(this.liveCurrentTime()))}dispose(){this.stopTracking(),super.dispose()}});jr.registerComponent("TitleBar",class extends jr{constructor(e,t){super(e,t),this.on("statechanged",(e=>this.updateDom_())),this.updateDom_()}createEl(){return this.els={title:vn("div",{className:"vjs-title-bar-title",id:`vjs-title-bar-title-${tr()}`}),description:vn("div",{className:"vjs-title-bar-description",id:`vjs-title-bar-description-${tr()}`})},vn("div",{className:"vjs-title-bar"},{},Object.values(this.els))}updateDom_(){const e=this.player_.tech_,t=e&&e.el_,n={title:"aria-labelledby",description:"aria-describedby"};["title","description"].forEach((e=>{const r=this.state[e],i=this.els[e],o=n[e];Dn(i),r&&bn(i,r),t&&(t.removeAttribute(o),r&&t.setAttribute(o,i.id))})),this.state.title||this.state.description?this.show():this.hide()}update(e){this.setState(e)}dispose(){const e=this.player_.tech_,t=e&&e.el_;t&&(t.removeAttribute("aria-labelledby"),t.removeAttribute("aria-describedby")),super.dispose(),this.els=null}});const Qo=e=>{const t=e.el();if(t.hasAttribute("src"))return e.triggerSourceset(t.src),!0;const n=e.$$("source"),r=[];let i="";if(!n.length)return!1;for(let e=0;e<n.length;e++){const t=n[e].src;t&&-1===r.indexOf(t)&&r.push(t)}return!!r.length&&(1===r.length&&(i=r[0]),e.triggerSourceset(i),!0)},Jo=Object.defineProperty({},"innerHTML",{get(){return this.cloneNode(!0).innerHTML},set(e){const t=a().createElement(this.nodeName.toLowerCase());t.innerHTML=e;const n=a().createDocumentFragment();for(;t.childNodes.length;)n.appendChild(t.childNodes[0]);return this.innerText="",i().Element.prototype.appendChild.call(this,n),this.innerHTML}}),ea=(e,t)=>{let n={};for(let r=0;r<e.length&&(n=Object.getOwnPropertyDescriptor(e[r],t),!(n&&n.set&&n.get));r++);return n.enumerable=!0,n.configurable=!0,n},ta=function(e){const t=e.el();if(t.resetSourceWatch_)return;const n={},r=(e=>ea([e.el(),i().HTMLMediaElement.prototype,i().Element.prototype,Jo],"innerHTML"))(e),o=n=>(...r)=>{const i=n.apply(t,r);return Qo(e),i};["append","appendChild","insertAdjacentHTML"].forEach((e=>{t[e]&&(n[e]=t[e],t[e]=o(n[e]))})),Object.defineProperty(t,"innerHTML",Zt(r,{set:o(r.set)})),t.resetSourceWatch_=()=>{t.resetSourceWatch_=null,Object.keys(n).forEach((e=>{t[e]=n[e]})),Object.defineProperty(t,"innerHTML",r)},e.one("sourceset",t.resetSourceWatch_)},na=Object.defineProperty({},"src",{get(){return this.hasAttribute("src")?li(i().Element.prototype.getAttribute.call(this,"src")):""},set(e){return i().Element.prototype.setAttribute.call(this,"src",e),e}}),ra=function(e){if(!e.featuresSourceset)return;const t=e.el();if(t.resetSourceset_)return;const n=(e=>ea([e.el(),i().HTMLMediaElement.prototype,na],"src"))(e),r=t.setAttribute,o=t.load;Object.defineProperty(t,"src",Zt(n,{set:r=>{const i=n.set.call(t,r);return e.triggerSourceset(t.src),i}})),t.setAttribute=(n,i)=>{const o=r.call(t,n,i);return/src/i.test(n)&&e.triggerSourceset(t.src),o},t.load=()=>{const n=o.call(t);return Qo(e)||(e.triggerSourceset(""),ta(e)),n},t.currentSrc?e.triggerSourceset(t.currentSrc):Qo(e)||ta(e),t.resetSourceset_=()=>{t.resetSourceset_=null,t.load=o,t.setAttribute=r,Object.defineProperty(t,"src",n),t.resetSourceWatch_&&t.resetSourceWatch_()}};class ia extends xi{constructor(e,t){super(e,t);const n=e.source;let r=!1;if(this.featuresVideoFrameCallback=this.featuresVideoFrameCallback&&"VIDEO"===this.el_.tagName,n&&(this.el_.currentSrc!==n.src||e.tag&&3===e.tag.initNetworkState_)?this.setSource(n):this.handleLateInit_(this.el_),e.enableSourceset&&this.setupSourcesetHandling_(),this.isScrubbing_=!1,this.el_.hasChildNodes()){const e=this.el_.childNodes;let t=e.length;const n=[];for(;t--;){const i=e[t];"track"===i.nodeName.toLowerCase()&&(this.featuresNativeTextTracks?(this.remoteTextTrackEls().addTrackElement_(i),this.remoteTextTracks().addTrack(i.track),this.textTracks().addTrack(i.track),r||this.el_.hasAttribute("crossorigin")||!di(i.src)||(r=!0)):n.push(i))}for(let e=0;e<n.length;e++)this.el_.removeChild(n[e])}this.proxyNativeTracks_(),this.featuresNativeTextTracks&&r&&jt.warn("Text Tracks are being loaded from another origin but the crossorigin attribute isn't used.\nThis may prevent text tracks from loading."),this.restoreMetadataTracksInIOSNativePlayer_(),(un||sn)&&!0===e.nativeControlsForTouch&&this.setControls(!0),this.proxyWebkitFullscreen_(),this.triggerReady()}dispose(){this.el_&&this.el_.resetSourceset_&&this.el_.resetSourceset_(),ia.disposeMediaElement(this.el_),this.options_=null,super.dispose()}setupSourcesetHandling_(){ra(this)}restoreMetadataTracksInIOSNativePlayer_(){const e=this.textTracks();let t;const n=()=>{t=[];for(let n=0;n<e.length;n++){const r=e[n];"metadata"===r.kind&&t.push({track:r,storedMode:r.mode})}};n(),e.addEventListener("change",n),this.on("dispose",(()=>e.removeEventListener("change",n)));const r=()=>{for(let e=0;e<t.length;e++){const n=t[e];"disabled"===n.track.mode&&n.track.mode!==n.storedMode&&(n.track.mode=n.storedMode)}e.removeEventListener("change",r)};this.on("webkitbeginfullscreen",(()=>{e.removeEventListener("change",n),e.removeEventListener("change",r),e.addEventListener("change",r)})),this.on("webkitendfullscreen",(()=>{e.removeEventListener("change",n),e.addEventListener("change",n),e.removeEventListener("change",r)}))}overrideNative_(e,t){if(t!==this[`featuresNative${e}Tracks`])return;const n=e.toLowerCase();this[`${n}TracksListeners_`]&&Object.keys(this[`${n}TracksListeners_`]).forEach((e=>{this.el()[`${n}Tracks`].removeEventListener(e,this[`${n}TracksListeners_`][e])})),this[`featuresNative${e}Tracks`]=!t,this[`${n}TracksListeners_`]=null,this.proxyNativeTracksForType_(n)}overrideNativeAudioTracks(e){this.overrideNative_("Audio",e)}overrideNativeVideoTracks(e){this.overrideNative_("Video",e)}proxyNativeTracksForType_(e){const t=_i[e],n=this.el()[t.getterName],r=this[t.getterName]();if(!this[`featuresNative${t.capitalName}Tracks`]||!n||!n.addEventListener)return;const i={change:t=>{const n={type:"change",target:r,currentTarget:r,srcElement:r};r.trigger(n),"text"===e&&this[wi.remoteText.getterName]().trigger(n)},addtrack(e){r.addTrack(e.track)},removetrack(e){r.removeTrack(e.track)}},o=function(){const e=[];for(let t=0;t<r.length;t++){let i=!1;for(let e=0;e<n.length;e++)if(n[e]===r[t]){i=!0;break}i||e.push(r[t])}for(;e.length;)r.removeTrack(e.shift())};this[t.getterName+"Listeners_"]=i,Object.keys(i).forEach((e=>{const t=i[e];n.addEventListener(e,t),this.on("dispose",(r=>n.removeEventListener(e,t)))})),this.on("loadstart",o),this.on("dispose",(e=>this.off("loadstart",o)))}proxyNativeTracks_(){_i.names.forEach((e=>{this.proxyNativeTracksForType_(e)}))}createEl(){let e=this.options_.tag;if(!e||!this.options_.playerElIngest&&!this.movingMediaElementInDOM){if(e){const t=e.cloneNode(!0);e.parentNode&&e.parentNode.insertBefore(t,e),ia.disposeMediaElement(e),e=t}else{e=a().createElement("video");const t=Zt({},this.options_.tag&&En(this.options_.tag));un&&!0===this.options_.nativeControlsForTouch||delete t.controls,kn(e,Object.assign(t,{id:this.options_.techId,class:"vjs-tech"}))}e.playerId=this.options_.playerId}void 0!==this.options_.preload&&Cn(e,"preload",this.options_.preload),void 0!==this.options_.disablePictureInPicture&&(e.disablePictureInPicture=this.options_.disablePictureInPicture);const t=["loop","muted","playsinline","autoplay"];for(let n=0;n<t.length;n++){const r=t[n],i=this.options_[r];void 0!==i&&(i?Cn(e,r,r):Ln(e,r),e[r]=i)}return e}handleLateInit_(e){if(0===e.networkState||3===e.networkState)return;if(0===e.readyState){let e=!1;const t=function(){e=!0};this.on("loadstart",t);const n=function(){e||this.trigger("loadstart")};return this.on("loadedmetadata",n),void this.ready((function(){this.off("loadstart",t),this.off("loadedmetadata",n),e||this.trigger("loadstart")}))}const t=["loadstart"];t.push("loadedmetadata"),e.readyState>=2&&t.push("loadeddata"),e.readyState>=3&&t.push("canplay"),e.readyState>=4&&t.push("canplaythrough"),this.ready((function(){t.forEach((function(e){this.trigger(e)}),this)}))}setScrubbing(e){this.isScrubbing_=e}scrubbing(){return this.isScrubbing_}setCurrentTime(e){try{this.isScrubbing_&&this.el_.fastSeek&&fn?this.el_.fastSeek(e):this.el_.currentTime=e}catch(e){jt(e,"Video is not ready. (Video.js)")}}duration(){if(this.el_.duration===1/0&&Yt&&Jt&&0===this.el_.currentTime){const e=()=>{this.el_.currentTime>0&&(this.el_.duration===1/0&&this.trigger("durationchange"),this.off("timeupdate",e))};return this.on("timeupdate",e),NaN}return this.el_.duration||NaN}width(){return this.el_.offsetWidth}height(){return this.el_.offsetHeight}proxyWebkitFullscreen_(){if(!("webkitDisplayingFullscreen"in this.el_))return;const e=function(){this.trigger("fullscreenchange",{isFullscreen:!1}),this.el_.controls&&!this.options_.nativeControlsForTouch&&this.controls()&&(this.el_.controls=!1)},t=function(){"webkitPresentationMode"in this.el_&&"picture-in-picture"!==this.el_.webkitPresentationMode&&(this.one("webkitendfullscreen",e),this.trigger("fullscreenchange",{isFullscreen:!0,nativeIOSFullscreen:!0}))};this.on("webkitbeginfullscreen",t),this.on("dispose",(()=>{this.off("webkitbeginfullscreen",t),this.off("webkitendfullscreen",e)}))}supportsFullScreen(){return"function"==typeof this.el_.webkitEnterFullScreen}enterFullScreen(){const e=this.el_;if(e.paused&&e.networkState<=e.HAVE_METADATA)$r(this.el_.play()),this.setTimeout((function(){e.pause();try{e.webkitEnterFullScreen()}catch(e){this.trigger("fullscreenerror",e)}}),0);else try{e.webkitEnterFullScreen()}catch(e){this.trigger("fullscreenerror",e)}}exitFullScreen(){this.el_.webkitDisplayingFullscreen?this.el_.webkitExitFullScreen():this.trigger("fullscreenerror",new Error("The video is not fullscreen"))}requestPictureInPicture(){return this.el_.requestPictureInPicture()}requestVideoFrameCallback(e){return this.featuresVideoFrameCallback&&!this.el_.webkitKeys?this.el_.requestVideoFrameCallback(e):super.requestVideoFrameCallback(e)}cancelVideoFrameCallback(e){this.featuresVideoFrameCallback&&!this.el_.webkitKeys?this.el_.cancelVideoFrameCallback(e):super.cancelVideoFrameCallback(e)}src(e){if(void 0===e)return this.el_.src;this.setSrc(e)}reset(){ia.resetMediaElement(this.el_)}currentSrc(){return this.currentSource_?this.currentSource_.src:this.el_.currentSrc}setControls(e){this.el_.controls=!!e}addTextTrack(e,t,n){return this.featuresNativeTextTracks?this.el_.addTextTrack(e,t,n):super.addTextTrack(e,t,n)}createRemoteTextTrack(e){if(!this.featuresNativeTextTracks)return super.createRemoteTextTrack(e);const t=a().createElement("track");return e.kind&&(t.kind=e.kind),e.label&&(t.label=e.label),(e.language||e.srclang)&&(t.srclang=e.language||e.srclang),e.default&&(t.default=e.default),e.id&&(t.id=e.id),e.src&&(t.src=e.src),t}addRemoteTextTrack(e,t){const n=super.addRemoteTextTrack(e,t);return this.featuresNativeTextTracks&&this.el().appendChild(n),n}removeRemoteTextTrack(e){if(super.removeRemoteTextTrack(e),this.featuresNativeTextTracks){const t=this.$$("track");let n=t.length;for(;n--;)e!==t[n]&&e!==t[n].track||this.el().removeChild(t[n])}}getVideoPlaybackQuality(){if("function"==typeof this.el().getVideoPlaybackQuality)return this.el().getVideoPlaybackQuality();const e={};return void 0!==this.el().webkitDroppedFrameCount&&void 0!==this.el().webkitDecodedFrameCount&&(e.droppedVideoFrames=this.el().webkitDroppedFrameCount,e.totalVideoFrames=this.el().webkitDecodedFrameCount),i().performance&&(e.creationTime=i().performance.now()),e}}qt(ia,"TEST_VID",(function(){if(!hn())return;const e=a().createElement("video"),t=a().createElement("track");return t.kind="captions",t.srclang="en",t.label="English",e.appendChild(t),e})),ia.isSupported=function(){try{ia.TEST_VID.volume=.5}catch(e){return!1}return!(!ia.TEST_VID||!ia.TEST_VID.canPlayType)},ia.canPlayType=function(e){return ia.TEST_VID.canPlayType(e)},ia.canPlaySource=function(e,t){return ia.canPlayType(e.type)},ia.canControlVolume=function(){try{const e=ia.TEST_VID.volume;ia.TEST_VID.volume=e/2+.1;const t=e!==ia.TEST_VID.volume;return t&&ln?(i().setTimeout((()=>{ia&&ia.prototype&&(ia.prototype.featuresVolumeControl=e!==ia.TEST_VID.volume)})),!1):t}catch(e){return!1}},ia.canMuteVolume=function(){try{const e=ia.TEST_VID.muted;return ia.TEST_VID.muted=!e,ia.TEST_VID.muted?Cn(ia.TEST_VID,"muted","muted"):Ln(ia.TEST_VID,"muted"),e!==ia.TEST_VID.muted}catch(e){return!1}},ia.canControlPlaybackRate=function(){if(Yt&&Jt&&tn<58)return!1;try{const e=ia.TEST_VID.playbackRate;return ia.TEST_VID.playbackRate=e/2+.1,e!==ia.TEST_VID.playbackRate}catch(e){return!1}},ia.canOverrideAttributes=function(){try{const e=()=>{};Object.defineProperty(a().createElement("video"),"src",{get:e,set:e}),Object.defineProperty(a().createElement("audio"),"src",{get:e,set:e}),Object.defineProperty(a().createElement("video"),"innerHTML",{get:e,set:e}),Object.defineProperty(a().createElement("audio"),"innerHTML",{get:e,set:e})}catch(e){return!1}return!0},ia.supportsNativeTextTracks=function(){return fn||ln&&Jt},ia.supportsNativeVideoTracks=function(){return!(!ia.TEST_VID||!ia.TEST_VID.videoTracks)},ia.supportsNativeAudioTracks=function(){return!(!ia.TEST_VID||!ia.TEST_VID.audioTracks)},ia.Events=["loadstart","suspend","abort","error","emptied","stalled","loadedmetadata","loadeddata","canplay","canplaythrough","playing","waiting","seeking","seeked","ended","durationchange","timeupdate","progress","play","pause","ratechange","resize","volumechange"],[["featuresMuteControl","canMuteVolume"],["featuresPlaybackRate","canControlPlaybackRate"],["featuresSourceset","canOverrideAttributes"],["featuresNativeTextTracks","supportsNativeTextTracks"],["featuresNativeVideoTracks","supportsNativeVideoTracks"],["featuresNativeAudioTracks","supportsNativeAudioTracks"]].forEach((function([e,t]){qt(ia.prototype,e,(()=>ia[t]()),!0)})),ia.prototype.featuresVolumeControl=ia.canControlVolume(),ia.prototype.movingMediaElementInDOM=!ln,ia.prototype.featuresFullscreenResize=!0,ia.prototype.featuresProgressEvents=!0,ia.prototype.featuresTimeupdateEvents=!0,ia.prototype.featuresVideoFrameCallback=!(!ia.TEST_VID||!ia.TEST_VID.requestVideoFrameCallback),ia.disposeMediaElement=function(e){if(e){for(e.parentNode&&e.parentNode.removeChild(e);e.hasChildNodes();)e.removeChild(e.firstChild);e.removeAttribute("src"),"function"==typeof e.load&&function(){try{e.load()}catch(e){}}()}},ia.resetMediaElement=function(e){if(!e)return;const t=e.querySelectorAll("source");let n=t.length;for(;n--;)e.removeChild(t[n]);e.removeAttribute("src"),"function"==typeof e.load&&function(){try{e.load()}catch(e){}}()},["muted","defaultMuted","autoplay","controls","loop","playsinline"].forEach((function(e){ia.prototype[e]=function(){return this.el_[e]||this.el_.hasAttribute(e)}})),["muted","defaultMuted","autoplay","loop","playsinline"].forEach((function(e){ia.prototype["set"+Pr(e)]=function(t){this.el_[e]=t,t?this.el_.setAttribute(e,e):this.el_.removeAttribute(e)}})),["paused","currentTime","buffered","volume","poster","preload","error","seeking","seekable","ended","playbackRate","defaultPlaybackRate","disablePictureInPicture","played","networkState","readyState","videoWidth","videoHeight","crossOrigin"].forEach((function(e){ia.prototype[e]=function(){return this.el_[e]}})),["volume","src","poster","preload","playbackRate","defaultPlaybackRate","disablePictureInPicture","crossOrigin"].forEach((function(e){ia.prototype["set"+Pr(e)]=function(t){this.el_[e]=t}})),["pause","load","play"].forEach((function(e){ia.prototype[e]=function(){return this.el_[e]()}})),xi.withSourceHandlers(ia),ia.nativeSourceHandler={},ia.nativeSourceHandler.canPlayType=function(e){try{return ia.TEST_VID.canPlayType(e)}catch(e){return""}},ia.nativeSourceHandler.canHandleSource=function(e,t){if(e.type)return ia.nativeSourceHandler.canPlayType(e.type);if(e.src){const t=fi(e.src);return ia.nativeSourceHandler.canPlayType(`video/${t}`)}return""},ia.nativeSourceHandler.handleSource=function(e,t,n){t.setSrc(e.src)},ia.nativeSourceHandler.dispose=function(){},ia.registerSourceHandler(ia.nativeSourceHandler),xi.registerTech("Html5",ia);const oa=["progress","abort","suspend","emptied","stalled","loadedmetadata","loadeddata","timeupdate","resize","volumechange","texttrackchange"],aa={canplay:"CanPlay",canplaythrough:"CanPlayThrough",playing:"Playing",seeked:"Seeked"},sa=["tiny","xsmall","small","medium","large","xlarge","huge"],ua={};sa.forEach((e=>{const t="x"===e.charAt(0)?`x-${e.substring(1)}`:e;ua[e]=`vjs-layout-${t}`}));const ca={tiny:210,xsmall:320,small:425,medium:768,large:1440,xlarge:2560,huge:1/0};class la extends jr{constructor(e,t,n){if(e.id=e.id||t.id||`vjs_video_${tr()}`,(t=Object.assign(la.getTagSettings(e),t)).initChildren=!1,t.createEl=!1,t.evented=!1,t.reportTouchActivity=!1,!t.language){const n=e.closest("[lang]");n&&(t.language=n.getAttribute("lang"))}if(super(null,t,n),this.boundDocumentFullscreenChange_=e=>this.documentFullscreenChange_(e),this.boundFullWindowOnEscKey_=e=>this.fullWindowOnEscKey(e),this.boundUpdateStyleEl_=e=>this.updateStyleEl_(e),this.boundApplyInitTime_=e=>this.applyInitTime_(e),this.boundUpdateCurrentBreakpoint_=e=>this.updateCurrentBreakpoint_(e),this.boundHandleTechClick_=e=>this.handleTechClick_(e),this.boundHandleTechDoubleClick_=e=>this.handleTechDoubleClick_(e),this.boundHandleTechTouchStart_=e=>this.handleTechTouchStart_(e),this.boundHandleTechTouchMove_=e=>this.handleTechTouchMove_(e),this.boundHandleTechTouchEnd_=e=>this.handleTechTouchEnd_(e),this.boundHandleTechTap_=e=>this.handleTechTap_(e),this.isFullscreen_=!1,this.log=Dt(this.id_),this.fsApi_=At,this.isPosterFromTech_=!1,this.queuedCallbacks_=[],this.isReady_=!1,this.hasStarted_=!1,this.userActive_=!1,this.debugEnabled_=!1,this.audioOnlyMode_=!1,this.audioPosterMode_=!1,this.audioOnlyCache_={playerHeight:null,hiddenChildren:[]},!this.options_||!this.options_.techOrder||!this.options_.techOrder.length)throw new Error("No techOrder specified. Did you overwrite videojs.options instead of just changing the properties you want to override?");if(this.tag=e,this.tagAttributes=e&&En(e),this.language(this.options_.language),t.languages){const e={};Object.getOwnPropertyNames(t.languages).forEach((function(n){e[n.toLowerCase()]=t.languages[n]})),this.languages_=e}else this.languages_=la.prototype.options_.languages;this.resetCache_(),this.poster_=t.poster||"",this.controls_=!!t.controls,e.controls=!1,e.removeAttribute("controls"),this.changingSrc_=!1,this.playCallbacks_=[],this.playTerminatedQueue_=[],e.hasAttribute("autoplay")?this.autoplay(!0):this.autoplay(this.options_.autoplay),t.plugins&&Object.keys(t.plugins).forEach((e=>{if("function"!=typeof this[e])throw new Error(`plugin "${e}" does not exist`)})),this.scrubbing_=!1,this.el_=this.createEl(),Cr(this,{eventBusKey:"el_"}),this.fsApi_.requestFullscreen&&(ar(a(),this.fsApi_.fullscreenchange,this.boundDocumentFullscreenChange_),this.on(this.fsApi_.fullscreenchange,this.boundDocumentFullscreenChange_)),this.fluid_&&this.on(["playerreset","resize"],this.boundUpdateStyleEl_);const r=Zt(this.options_);t.plugins&&Object.keys(t.plugins).forEach((e=>{this[e](t.plugins[e])})),t.debug&&this.debug(!0),this.options_.playerOptions=r,this.middleware_=[],this.playbackRates(t.playbackRates),this.initChildren(),this.isAudio("audio"===e.nodeName.toLowerCase()),this.controls()?this.addClass("vjs-controls-enabled"):this.addClass("vjs-controls-disabled"),this.el_.setAttribute("role","region"),this.isAudio()?this.el_.setAttribute("aria-label",this.localize("Audio Player")):this.el_.setAttribute("aria-label",this.localize("Video Player")),this.isAudio()&&this.addClass("vjs-audio"),un&&this.addClass("vjs-touch-enabled"),ln||this.addClass("vjs-workinghover"),la.players[this.id_]=this;const i=Et.split(".")[0];this.addClass(`vjs-v${i}`),this.userActive(!0),this.reportUserActivity(),this.one("play",(e=>this.listenForUserActivity_(e))),this.on("keydown",(e=>this.handleKeyDown(e))),this.on("languagechange",(e=>this.handleLanguagechange(e))),this.breakpoints(this.options_.breakpoints),this.responsive(this.options_.responsive),this.on("ready",(()=>{this.audioPosterMode(this.options_.audioPosterMode),this.audioOnlyMode(this.options_.audioOnlyMode)}))}dispose(){this.trigger("dispose"),this.off("dispose"),sr(a(),this.fsApi_.fullscreenchange,this.boundDocumentFullscreenChange_),sr(a(),"keydown",this.boundFullWindowOnEscKey_),this.styleEl_&&this.styleEl_.parentNode&&(this.styleEl_.parentNode.removeChild(this.styleEl_),this.styleEl_=null),la.players[this.id_]=null,this.tag&&this.tag.player&&(this.tag.player=null),this.el_&&this.el_.player&&(this.el_.player=null),this.tech_&&(this.tech_.dispose(),this.isPosterFromTech_=!1,this.poster_=""),this.playerElIngest_&&(this.playerElIngest_=null),this.tag&&(this.tag=null),ki[this.id()]=null,Ti.names.forEach((e=>{const t=this[Ti[e].getterName]();t&&t.off&&t.off()})),super.dispose({restoreEl:this.options_.restoreEl})}createEl(){let e,t=this.tag,n=this.playerElIngest_=t.parentNode&&t.parentNode.hasAttribute&&t.parentNode.hasAttribute("data-vjs-player");const r="video-js"===this.tag.tagName.toLowerCase();n?e=this.el_=t.parentNode:r||(e=this.el_=super.createEl("div"));const o=En(t);if(r){for(e=this.el_=t,t=this.tag=a().createElement("video");e.children.length;)t.appendChild(e.firstChild);wn(e,"video-js")||Tn(e,"video-js"),e.appendChild(t),n=this.playerElIngest_=e,Object.keys(e).forEach((n=>{try{t[n]=e[n]}catch(e){}}))}if(t.setAttribute("tabindex","-1"),o.tabindex="-1",Jt&&on&&(t.setAttribute("role","application"),o.role="application"),t.removeAttribute("width"),t.removeAttribute("height"),"width"in o&&delete o.width,"height"in o&&delete o.height,Object.getOwnPropertyNames(o).forEach((function(n){r&&"class"===n||e.setAttribute(n,o[n]),r&&t.setAttribute(n,o[n])})),t.playerId=t.id,t.id+="_html5_api",t.className="vjs-tech",t.player=e.player=this,this.addClass("vjs-paused"),!0!==i().VIDEOJS_NO_DYNAMIC_STYLE){this.styleEl_=Kn("vjs-styles-dimensions");const e=zn(".vjs-styles-defaults"),t=zn("head");t.insertBefore(this.styleEl_,e?e.nextSibling:t.firstChild)}this.fill_=!1,this.fluid_=!1,this.width(this.options_.width),this.height(this.options_.height),this.fill(this.options_.fill),this.fluid(this.options_.fluid),this.aspectRatio(this.options_.aspectRatio),this.crossOrigin(this.options_.crossOrigin||this.options_.crossorigin);const s=t.getElementsByTagName("a");for(let e=0;e<s.length;e++){const t=s.item(e);Tn(t,"vjs-hidden"),t.setAttribute("hidden","hidden")}return t.initNetworkState_=t.networkState,t.parentNode&&!n&&t.parentNode.insertBefore(e,t),_n(t,e),this.children_.unshift(t),this.el_.setAttribute("lang",this.language_),this.el_.setAttribute("translate","no"),this.el_=e,e}crossOrigin(e){if(void 0===e)return this.techGet_("crossOrigin");null===e||"anonymous"===e||"use-credentials"===e?(this.techCall_("setCrossOrigin",e),this.posterImage&&this.posterImage.crossOrigin(e)):jt.warn(`crossOrigin must be null,  "anonymous" or "use-credentials", given "${e}"`)}width(e){return this.dimension("width",e)}height(e){return this.dimension("height",e)}dimension(e,t){const n=e+"_";if(void 0===t)return this[n]||0;if(""===t||"auto"===t)return this[n]=void 0,void this.updateStyleEl_();const r=parseFloat(t);isNaN(r)?jt.error(`Improper value "${t}" supplied for for ${e}`):(this[n]=r,this.updateStyleEl_())}fluid(e){if(void 0===e)return!!this.fluid_;var t,n;this.fluid_=!!e,_r(this)&&this.off(["playerreset","resize"],this.boundUpdateStyleEl_),e?(this.addClass("vjs-fluid"),this.fill(!1),n=()=>{this.on(["playerreset","resize"],this.boundUpdateStyleEl_)},_r(t=this)?n():(t.eventedCallbacks||(t.eventedCallbacks=[]),t.eventedCallbacks.push(n))):this.removeClass("vjs-fluid"),this.updateStyleEl_()}fill(e){if(void 0===e)return!!this.fill_;this.fill_=!!e,e?(this.addClass("vjs-fill"),this.fluid(!1)):this.removeClass("vjs-fill")}aspectRatio(e){if(void 0===e)return this.aspectRatio_;if(!/^\d+\:\d+$/.test(e))throw new Error("Improper value supplied for aspect ratio. The format should be width:height, for example 16:9.");this.aspectRatio_=e,this.fluid(!0),this.updateStyleEl_()}updateStyleEl_(){if(!0===i().VIDEOJS_NO_DYNAMIC_STYLE){const e="number"==typeof this.width_?this.width_:this.options_.width,t="number"==typeof this.height_?this.height_:this.options_.height,n=this.tech_&&this.tech_.el();return void(n&&(e>=0&&(n.width=e),t>=0&&(n.height=t)))}let e,t,n,r;n=void 0!==this.aspectRatio_&&"auto"!==this.aspectRatio_?this.aspectRatio_:this.videoWidth()>0?this.videoWidth()+":"+this.videoHeight():"16:9";const o=n.split(":"),a=o[1]/o[0];e=void 0!==this.width_?this.width_:void 0!==this.height_?this.height_/a:this.videoWidth()||300,t=void 0!==this.height_?this.height_:e*a,r=/^[^a-zA-Z]/.test(this.id())?"dimensions-"+this.id():this.id()+"-dimensions",this.addClass(r),Xn(this.styleEl_,`\n      .${r} {\n        width: ${e}px;\n        height: ${t}px;\n      }\n\n      .${r}.vjs-fluid:not(.vjs-audio-only-mode) {\n        padding-top: ${100*a}%;\n      }\n    `)}loadTech_(e,t){this.tech_&&this.unloadTech_();const n=Pr(e),r=e.charAt(0).toLowerCase()+e.slice(1);"Html5"!==n&&this.tag&&(xi.getTech("Html5").disposeMediaElement(this.tag),this.tag.player=null,this.tag=null),this.techName_=n,this.isReady_=!1;let i=this.autoplay();("string"==typeof this.autoplay()||!0===this.autoplay()&&this.options_.normalizeAutoplay)&&(i=!1);const o={source:t,autoplay:i,nativeControlsForTouch:this.options_.nativeControlsForTouch,playerId:this.id(),techId:`${this.id()}_${r}_api`,playsinline:this.options_.playsinline,preload:this.options_.preload,loop:this.options_.loop,disablePictureInPicture:this.options_.disablePictureInPicture,muted:this.options_.muted,poster:this.poster(),language:this.language(),playerElIngest:this.playerElIngest_||!1,"vtt.js":this.options_["vtt.js"],canOverridePoster:!!this.options_.techCanOverridePoster,enableSourceset:this.options_.enableSourceset};Ti.names.forEach((e=>{const t=Ti[e];o[t.getterName]=this[t.privateName]})),Object.assign(o,this.options_[n]),Object.assign(o,this.options_[r]),Object.assign(o,this.options_[e.toLowerCase()]),this.tag&&(o.tag=this.tag),t&&t.src===this.cache_.src&&this.cache_.currentTime>0&&(o.startTime=this.cache_.currentTime);const a=xi.getTech(e);if(!a)throw new Error(`No Tech named '${n}' exists! '${n}' should be registered using videojs.registerTech()'`);this.tech_=new a(o),this.tech_.ready(pr(this,this.handleTechReady_),!0),Xr(this.textTracksJson_||[],this.tech_),oa.forEach((e=>{this.on(this.tech_,e,(t=>this[`handleTech${Pr(e)}_`](t)))})),Object.keys(aa).forEach((e=>{this.on(this.tech_,e,(t=>{0===this.tech_.playbackRate()&&this.tech_.seeking()?this.queuedCallbacks_.push({callback:this[`handleTech${aa[e]}_`].bind(this),event:t}):this[`handleTech${aa[e]}_`](t)}))})),this.on(this.tech_,"loadstart",(e=>this.handleTechLoadStart_(e))),this.on(this.tech_,"sourceset",(e=>this.handleTechSourceset_(e))),this.on(this.tech_,"waiting",(e=>this.handleTechWaiting_(e))),this.on(this.tech_,"ended",(e=>this.handleTechEnded_(e))),this.on(this.tech_,"seeking",(e=>this.handleTechSeeking_(e))),this.on(this.tech_,"play",(e=>this.handleTechPlay_(e))),this.on(this.tech_,"pause",(e=>this.handleTechPause_(e))),this.on(this.tech_,"durationchange",(e=>this.handleTechDurationChange_(e))),this.on(this.tech_,"fullscreenchange",((e,t)=>this.handleTechFullscreenChange_(e,t))),this.on(this.tech_,"fullscreenerror",((e,t)=>this.handleTechFullscreenError_(e,t))),this.on(this.tech_,"enterpictureinpicture",(e=>this.handleTechEnterPictureInPicture_(e))),this.on(this.tech_,"leavepictureinpicture",(e=>this.handleTechLeavePictureInPicture_(e))),this.on(this.tech_,"error",(e=>this.handleTechError_(e))),this.on(this.tech_,"posterchange",(e=>this.handleTechPosterChange_(e))),this.on(this.tech_,"textdata",(e=>this.handleTechTextData_(e))),this.on(this.tech_,"ratechange",(e=>this.handleTechRateChange_(e))),this.on(this.tech_,"loadedmetadata",this.boundUpdateStyleEl_),this.usingNativeControls(this.techGet_("controls")),this.controls()&&!this.usingNativeControls()&&this.addTechControlsListeners_(),this.tech_.el().parentNode===this.el()||"Html5"===n&&this.tag||_n(this.tech_.el(),this.el()),this.tag&&(this.tag.player=null,this.tag=null)}unloadTech_(){Ti.names.forEach((e=>{const t=Ti[e];this[t.privateName]=this[t.getterName]()})),this.textTracksJson_=Kr(this.tech_),this.isReady_=!1,this.tech_.dispose(),this.tech_=!1,this.isPosterFromTech_&&(this.poster_="",this.trigger("posterchange")),this.isPosterFromTech_=!1}tech(e){return void 0===e&&jt.warn("Using the tech directly can be dangerous. I hope you know what you're doing.\nSee https://github.com/videojs/video.js/issues/2617 for more info.\n"),this.tech_}addTechControlsListeners_(){this.removeTechControlsListeners_(),this.on(this.tech_,"click",this.boundHandleTechClick_),this.on(this.tech_,"dblclick",this.boundHandleTechDoubleClick_),this.on(this.tech_,"touchstart",this.boundHandleTechTouchStart_),this.on(this.tech_,"touchmove",this.boundHandleTechTouchMove_),this.on(this.tech_,"touchend",this.boundHandleTechTouchEnd_),this.on(this.tech_,"tap",this.boundHandleTechTap_)}removeTechControlsListeners_(){this.off(this.tech_,"tap",this.boundHandleTechTap_),this.off(this.tech_,"touchstart",this.boundHandleTechTouchStart_),this.off(this.tech_,"touchmove",this.boundHandleTechTouchMove_),this.off(this.tech_,"touchend",this.boundHandleTechTouchEnd_),this.off(this.tech_,"click",this.boundHandleTechClick_),this.off(this.tech_,"dblclick",this.boundHandleTechDoubleClick_)}handleTechReady_(){this.triggerReady(),this.cache_.volume&&this.techCall_("setVolume",this.cache_.volume),this.handleTechPosterChange_(),this.handleTechDurationChange_()}handleTechLoadStart_(){this.removeClass("vjs-ended","vjs-seeking"),this.error(null),this.handleTechDurationChange_(),this.paused()?(this.hasStarted(!1),this.trigger("loadstart")):this.trigger("loadstart"),this.manualAutoplay_(!0===this.autoplay()&&this.options_.normalizeAutoplay?"play":this.autoplay())}manualAutoplay_(e){if(!this.tech_||"string"!=typeof e)return;const t=()=>{const e=this.muted();this.muted(!0);const t=()=>{this.muted(e)};this.playTerminatedQueue_.push(t);const n=this.play();if(Gr(n))return n.catch((e=>{throw t(),new Error(`Rejection at manualAutoplay. Restoring muted value. ${e||""}`)}))};let n;return"any"!==e||this.muted()?n="muted"!==e||this.muted()?this.play():t():(n=this.play(),Gr(n)&&(n=n.catch(t))),Gr(n)?n.then((()=>{this.trigger({type:"autoplay-success",autoplay:e})})).catch((()=>{this.trigger({type:"autoplay-failure",autoplay:e})})):void 0}updateSourceCaches_(e=""){let t=e,n="";"string"!=typeof t&&(t=e.src,n=e.type),this.cache_.source=this.cache_.source||{},this.cache_.sources=this.cache_.sources||[],t&&!n&&(n=((e,t)=>{if(!t)return"";if(e.cache_.source.src===t&&e.cache_.source.type)return e.cache_.source.type;const n=e.cache_.sources.filter((e=>e.src===t));if(n.length)return n[0].type;const r=e.$$("source");for(let e=0;e<r.length;e++){const n=r[e];if(n.type&&n.src&&n.src===t)return n.type}return ji(t)})(this,t)),this.cache_.source=Zt({},e,{src:t,type:n});const r=this.cache_.sources.filter((e=>e.src&&e.src===t)),i=[],o=this.$$("source"),a=[];for(let e=0;e<o.length;e++){const n=En(o[e]);i.push(n),n.src&&n.src===t&&a.push(n.src)}a.length&&!r.length?this.cache_.sources=i:r.length||(this.cache_.sources=[this.cache_.source]),this.cache_.src=t}handleTechSourceset_(e){if(!this.changingSrc_){let t=e=>this.updateSourceCaches_(e);const n=this.currentSource().src,r=e.src;n&&!/^blob:/.test(n)&&/^blob:/.test(r)&&(!this.lastSource_||this.lastSource_.tech!==r&&this.lastSource_.player!==n)&&(t=()=>{}),t(r),e.src||this.tech_.any(["sourceset","loadstart"],(e=>{if("sourceset"===e.type)return;const t=this.techGet("currentSrc");this.lastSource_.tech=t,this.updateSourceCaches_(t)}))}this.lastSource_={player:this.currentSource().src,tech:e.src},this.trigger({src:e.src,type:"sourceset"})}hasStarted(e){if(void 0===e)return this.hasStarted_;e!==this.hasStarted_&&(this.hasStarted_=e,this.hasStarted_?this.addClass("vjs-has-started"):this.removeClass("vjs-has-started"))}handleTechPlay_(){this.removeClass("vjs-ended","vjs-paused"),this.addClass("vjs-playing"),this.hasStarted(!0),this.trigger("play")}handleTechRateChange_(){this.tech_.playbackRate()>0&&0===this.cache_.lastPlaybackRate&&(this.queuedCallbacks_.forEach((e=>e.callback(e.event))),this.queuedCallbacks_=[]),this.cache_.lastPlaybackRate=this.tech_.playbackRate(),this.trigger("ratechange")}handleTechWaiting_(){this.addClass("vjs-waiting"),this.trigger("waiting");const e=this.currentTime(),t=()=>{e!==this.currentTime()&&(this.removeClass("vjs-waiting"),this.off("timeupdate",t))};this.on("timeupdate",t)}handleTechCanPlay_(){this.removeClass("vjs-waiting"),this.trigger("canplay")}handleTechCanPlayThrough_(){this.removeClass("vjs-waiting"),this.trigger("canplaythrough")}handleTechPlaying_(){this.removeClass("vjs-waiting"),this.trigger("playing")}handleTechSeeking_(){this.addClass("vjs-seeking"),this.trigger("seeking")}handleTechSeeked_(){this.removeClass("vjs-seeking","vjs-ended"),this.trigger("seeked")}handleTechPause_(){this.removeClass("vjs-playing"),this.addClass("vjs-paused"),this.trigger("pause")}handleTechEnded_(){this.addClass("vjs-ended"),this.removeClass("vjs-waiting"),this.options_.loop?(this.currentTime(0),this.play()):this.paused()||this.pause(),this.trigger("ended")}handleTechDurationChange_(){this.duration(this.techGet_("duration"))}handleTechClick_(e){this.controls_&&(void 0!==this.options_&&void 0!==this.options_.userActions&&void 0!==this.options_.userActions.click&&!1===this.options_.userActions.click||(void 0!==this.options_&&void 0!==this.options_.userActions&&"function"==typeof this.options_.userActions.click?this.options_.userActions.click.call(this,e):this.paused()?$r(this.play()):this.pause()))}handleTechDoubleClick_(e){if(!this.controls_)return;Array.prototype.some.call(this.$$(".vjs-control-bar, .vjs-modal-dialog"),(t=>t.contains(e.target)))||void 0!==this.options_&&void 0!==this.options_.userActions&&void 0!==this.options_.userActions.doubleClick&&!1===this.options_.userActions.doubleClick||(void 0!==this.options_&&void 0!==this.options_.userActions&&"function"==typeof this.options_.userActions.doubleClick?this.options_.userActions.doubleClick.call(this,e):this.isFullscreen()?this.exitFullscreen():this.requestFullscreen())}handleTechTap_(){this.userActive(!this.userActive())}handleTechTouchStart_(){this.userWasActive=this.userActive()}handleTechTouchMove_(){this.userWasActive&&this.reportUserActivity()}handleTechTouchEnd_(e){e.cancelable&&e.preventDefault()}toggleFullscreenClass_(){this.isFullscreen()?this.addClass("vjs-fullscreen"):this.removeClass("vjs-fullscreen")}documentFullscreenChange_(e){const t=e.target.player;if(t&&t!==this)return;const n=this.el();let r=a()[this.fsApi_.fullscreenElement]===n;!r&&n.matches?r=n.matches(":"+this.fsApi_.fullscreen):!r&&n.msMatchesSelector&&(r=n.msMatchesSelector(":"+this.fsApi_.fullscreen)),this.isFullscreen(r)}handleTechFullscreenChange_(e,t){t&&(t.nativeIOSFullscreen&&(this.addClass("vjs-ios-native-fs"),this.tech_.one("webkitendfullscreen",(()=>{this.removeClass("vjs-ios-native-fs")}))),this.isFullscreen(t.isFullscreen))}handleTechFullscreenError_(e,t){this.trigger("fullscreenerror",t)}togglePictureInPictureClass_(){this.isInPictureInPicture()?this.addClass("vjs-picture-in-picture"):this.removeClass("vjs-picture-in-picture")}handleTechEnterPictureInPicture_(e){this.isInPictureInPicture(!0)}handleTechLeavePictureInPicture_(e){this.isInPictureInPicture(!1)}handleTechError_(){const e=this.tech_.error();this.error(e)}handleTechTextData_(){let e=null;arguments.length>1&&(e=arguments[1]),this.trigger("textdata",e)}getCache(){return this.cache_}resetCache_(){this.cache_={currentTime:0,initTime:0,inactivityTimeout:this.options_.inactivityTimeout,duration:NaN,lastVolume:1,lastPlaybackRate:this.defaultPlaybackRate(),media:null,src:"",source:{},sources:[],playbackRates:[],volume:1}}techCall_(e,t){this.ready((function(){if(e in Ai)return function(e,t,n,r){return t[n](e.reduce(Pi(n),r))}(this.middleware_,this.tech_,e,t);if(e in Ii)return Ci(this.middleware_,this.tech_,e,t);try{this.tech_&&this.tech_[e](t)}catch(e){throw jt(e),e}}),!0)}techGet_(e){if(this.tech_&&this.tech_.isReady_){if(e in Li)return function(e,t,n){return e.reduceRight(Pi(n),t[n]())}(this.middleware_,this.tech_,e);if(e in Ii)return Ci(this.middleware_,this.tech_,e);try{return this.tech_[e]()}catch(t){if(void 0===this.tech_[e])throw jt(`Video.js: ${e} method not defined for ${this.techName_} playback technology.`,t),t;if("TypeError"===t.name)throw jt(`Video.js: ${e} unavailable on ${this.techName_} playback technology element.`,t),this.tech_.isReady_=!1,t;throw jt(t),t}}}play(){return new Promise((e=>{this.play_(e)}))}play_(e=$r){this.playCallbacks_.push(e);const t=Boolean(!this.changingSrc_&&(this.src()||this.currentSrc())),n=Boolean(fn||ln);if(this.waitToPlay_&&(this.off(["ready","loadstart"],this.waitToPlay_),this.waitToPlay_=null),!this.isReady_||!t)return this.waitToPlay_=e=>{this.play_()},this.one(["ready","loadstart"],this.waitToPlay_),void(!t&&n&&this.load());const r=this.techGet_("play");n&&this.hasClass("vjs-ended")&&this.resetProgressBar_(),null===r?this.runPlayTerminatedQueue_():this.runPlayCallbacks_(r)}runPlayTerminatedQueue_(){const e=this.playTerminatedQueue_.slice(0);this.playTerminatedQueue_=[],e.forEach((function(e){e()}))}runPlayCallbacks_(e){const t=this.playCallbacks_.slice(0);this.playCallbacks_=[],this.playTerminatedQueue_=[],t.forEach((function(t){t(e)}))}pause(){this.techCall_("pause")}paused(){return!1!==this.techGet_("paused")}played(){return this.techGet_("played")||Br(0,0)}scrubbing(e){if(void 0===e)return this.scrubbing_;this.scrubbing_=!!e,this.techCall_("setScrubbing",this.scrubbing_),e?this.addClass("vjs-scrubbing"):this.removeClass("vjs-scrubbing")}currentTime(e){return void 0!==e?(e<0&&(e=0),this.isReady_&&!this.changingSrc_&&this.tech_&&this.tech_.isReady_?(this.techCall_("setCurrentTime",e),void(this.cache_.initTime=0)):(this.cache_.initTime=e,this.off("canplay",this.boundApplyInitTime_),void this.one("canplay",this.boundApplyInitTime_))):(this.cache_.currentTime=this.techGet_("currentTime")||0,this.cache_.currentTime)}applyInitTime_(){this.currentTime(this.cache_.initTime)}duration(e){if(void 0===e)return void 0!==this.cache_.duration?this.cache_.duration:NaN;(e=parseFloat(e))<0&&(e=1/0),e!==this.cache_.duration&&(this.cache_.duration=e,e===1/0?this.addClass("vjs-live"):this.removeClass("vjs-live"),isNaN(e)||this.trigger("durationchange"))}remainingTime(){return this.duration()-this.currentTime()}remainingTimeDisplay(){return Math.floor(this.duration())-Math.floor(this.currentTime())}buffered(){let e=this.techGet_("buffered");return e&&e.length||(e=Br(0,0)),e}bufferedPercent(){return Vr(this.buffered(),this.duration())}bufferedEnd(){const e=this.buffered(),t=this.duration();let n=e.end(e.length-1);return n>t&&(n=t),n}volume(e){let t;return void 0!==e?(t=Math.max(0,Math.min(1,parseFloat(e))),this.cache_.volume=t,this.techCall_("setVolume",t),void(t>0&&this.lastVolume_(t))):(t=parseFloat(this.techGet_("volume")),isNaN(t)?1:t)}muted(e){if(void 0===e)return this.techGet_("muted")||!1;this.techCall_("setMuted",e)}defaultMuted(e){return void 0!==e?this.techCall_("setDefaultMuted",e):this.techGet_("defaultMuted")||!1}lastVolume_(e){if(void 0===e||0===e)return this.cache_.lastVolume;this.cache_.lastVolume=e}supportsFullScreen(){return this.techGet_("supportsFullScreen")||!1}isFullscreen(e){if(void 0!==e){const t=this.isFullscreen_;return this.isFullscreen_=Boolean(e),this.isFullscreen_!==t&&this.fsApi_.prefixed&&this.trigger("fullscreenchange"),void this.toggleFullscreenClass_()}return this.isFullscreen_}requestFullscreen(e){this.isInPictureInPicture()&&this.exitPictureInPicture();const t=this;return new Promise(((n,r)=>{function i(){t.off("fullscreenerror",a),t.off("fullscreenchange",o)}function o(){i(),n()}function a(e,t){i(),r(t)}t.one("fullscreenchange",o),t.one("fullscreenerror",a);const s=t.requestFullscreenHelper_(e);s&&(s.then(i,i),s.then(n,r))}))}requestFullscreenHelper_(e){let t;if(this.fsApi_.prefixed||(t=this.options_.fullscreen&&this.options_.fullscreen.options||{},void 0!==e&&(t=e)),this.fsApi_.requestFullscreen){const e=this.el_[this.fsApi_.requestFullscreen](t);return e&&e.then((()=>this.isFullscreen(!0)),(()=>this.isFullscreen(!1))),e}this.tech_.supportsFullScreen()&&!0==!this.options_.preferFullWindow?this.techCall_("enterFullScreen"):this.enterFullWindow()}exitFullscreen(){const e=this;return new Promise(((t,n)=>{function r(){e.off("fullscreenerror",o),e.off("fullscreenchange",i)}function i(){r(),t()}function o(e,t){r(),n(t)}e.one("fullscreenchange",i),e.one("fullscreenerror",o);const a=e.exitFullscreenHelper_();a&&(a.then(r,r),a.then(t,n))}))}exitFullscreenHelper_(){if(this.fsApi_.requestFullscreen){const e=a()[this.fsApi_.exitFullscreen]();return e&&$r(e.then((()=>this.isFullscreen(!1)))),e}this.tech_.supportsFullScreen()&&!0==!this.options_.preferFullWindow?this.techCall_("exitFullScreen"):this.exitFullWindow()}enterFullWindow(){this.isFullscreen(!0),this.isFullWindow=!0,this.docOrigOverflow=a().documentElement.style.overflow,ar(a(),"keydown",this.boundFullWindowOnEscKey_),a().documentElement.style.overflow="hidden",Tn(a().body,"vjs-full-window"),this.trigger("enterFullWindow")}fullWindowOnEscKey(e){u().isEventKey(e,"Esc")&&!0===this.isFullscreen()&&(this.isFullWindow?this.exitFullWindow():this.exitFullscreen())}exitFullWindow(){this.isFullscreen(!1),this.isFullWindow=!1,sr(a(),"keydown",this.boundFullWindowOnEscKey_),a().documentElement.style.overflow=this.docOrigOverflow,xn(a().body,"vjs-full-window"),this.trigger("exitFullWindow")}disablePictureInPicture(e){if(void 0===e)return this.techGet_("disablePictureInPicture");this.techCall_("setDisablePictureInPicture",e),this.options_.disablePictureInPicture=e,this.trigger("disablepictureinpicturechanged")}isInPictureInPicture(e){return void 0!==e?(this.isInPictureInPicture_=!!e,void this.togglePictureInPictureClass_()):!!this.isInPictureInPicture_}requestPictureInPicture(){if(this.options_.enableDocumentPictureInPicture&&i().documentPictureInPicture){const e=a().createElement(this.el().tagName);return e.classList=this.el().classList,e.classList.add("vjs-pip-container"),this.posterImage&&e.appendChild(this.posterImage.el().cloneNode(!0)),this.titleBar&&e.appendChild(this.titleBar.el().cloneNode(!0)),e.appendChild(vn("p",{className:"vjs-pip-text"},{},this.localize("Playing in picture-in-picture"))),i().documentPictureInPicture.requestWindow({initialAspectRatio:this.videoWidth()/this.videoHeight(),copyStyleSheets:!0}).then((t=>(this.el_.parentNode.insertBefore(e,this.el_),t.document.body.append(this.el_),t.document.body.classList.add("vjs-pip-window"),this.player_.isInPictureInPicture(!0),this.player_.trigger("enterpictureinpicture"),t.addEventListener("unload",(t=>{const n=t.target.querySelector(".video-js");e.replaceWith(n),this.player_.isInPictureInPicture(!1),this.player_.trigger("leavepictureinpicture")})),t)))}return"pictureInPictureEnabled"in a()&&!1===this.disablePictureInPicture()?this.techGet_("requestPictureInPicture"):Promise.reject("No PiP mode is available")}exitPictureInPicture(){return i().documentPictureInPicture&&i().documentPictureInPicture.window?(i().documentPictureInPicture.window.close(),Promise.resolve()):"pictureInPictureEnabled"in a()?a().exitPictureInPicture():void 0}handleKeyDown(e){const{userActions:t}=this.options_;if(!t||!t.hotkeys)return;(e=>{const t=e.tagName.toLowerCase();if(e.isContentEditable)return!0;if("input"===t)return-1===["button","checkbox","hidden","radio","reset","submit"].indexOf(e.type);return-1!==["textarea"].indexOf(t)})(this.el_.ownerDocument.activeElement)||("function"==typeof t.hotkeys?t.hotkeys.call(this,e):this.handleHotkeys(e))}handleHotkeys(e){const t=this.options_.userActions?this.options_.userActions.hotkeys:{},{fullscreenKey:n=(e=>u().isEventKey(e,"f")),muteKey:r=(e=>u().isEventKey(e,"m")),playPauseKey:i=(e=>u().isEventKey(e,"k")||u().isEventKey(e,"Space"))}=t;if(n.call(this,e)){e.preventDefault(),e.stopPropagation();const t=jr.getComponent("FullscreenToggle");!1!==a()[this.fsApi_.fullscreenEnabled]&&t.prototype.handleClick.call(this,e)}else if(r.call(this,e)){e.preventDefault(),e.stopPropagation();jr.getComponent("MuteToggle").prototype.handleClick.call(this,e)}else if(i.call(this,e)){e.preventDefault(),e.stopPropagation();jr.getComponent("PlayToggle").prototype.handleClick.call(this,e)}}canPlayType(e){let t;for(let n=0,r=this.options_.techOrder;n<r.length;n++){const i=r[n];let o=xi.getTech(i);if(o||(o=jr.getComponent(i)),o){if(o.isSupported()&&(t=o.canPlayType(e),t))return t}else jt.error(`The "${i}" tech is undefined. Skipped browser support check for that tech.`)}return""}selectSource(e){const t=this.options_.techOrder.map((e=>[e,xi.getTech(e)])).filter((([e,t])=>t?t.isSupported():(jt.error(`The "${e}" tech is undefined. Skipped browser support check for that tech.`),!1))),n=function(e,t,n){let r;return e.some((e=>t.some((t=>{if(r=n(e,t),r)return!0})))),r};let r;const i=([e,t],n)=>{if(t.canPlaySource(n,this.options_[e.toLowerCase()]))return{source:n,tech:e}};var o;return r=this.options_.sourceOrder?n(e,t,(o=i,(e,t)=>o(t,e))):n(t,e,i),r||!1}handleSrc_(e,t){if(void 0===e)return this.cache_.src||"";this.resetRetryOnError_&&this.resetRetryOnError_();const n=Di(e);if(n.length){if(this.changingSrc_=!0,t||(this.cache_.sources=n),this.updateSourceCaches_(n[0]),Oi(this,n[0],((e,r)=>{this.middleware_=r,t||(this.cache_.sources=n),this.updateSourceCaches_(e);if(this.src_(e))return n.length>1?this.handleSrc_(n.slice(1)):(this.changingSrc_=!1,this.setTimeout((function(){this.error({code:4,message:this.options_.notSupportedMessage})}),0),void this.triggerReady());var i,o;i=r,o=this.tech_,i.forEach((e=>e.setTech&&e.setTech(o)))})),n.length>1){const e=()=>{this.error(null),this.handleSrc_(n.slice(1),!0)},t=()=>{this.off("error",e)};this.one("error",e),this.one("playing",t),this.resetRetryOnError_=()=>{this.off("error",e),this.off("playing",t)}}}else this.setTimeout((function(){this.error({code:4,message:this.options_.notSupportedMessage})}),0)}src(e){return this.handleSrc_(e,!1)}src_(e){const t=this.selectSource([e]);return!t||(Mr(t.tech,this.techName_)?(this.ready((function(){this.tech_.constructor.prototype.hasOwnProperty("setSource")?this.techCall_("setSource",e):this.techCall_("src",e.src),this.changingSrc_=!1}),!0),!1):(this.changingSrc_=!0,this.loadTech_(t.tech,t.source),this.tech_.ready((()=>{this.changingSrc_=!1})),!1))}load(){this.techCall_("load")}reset(){if(this.paused())this.doReset_();else{$r(this.play().then((()=>this.doReset_())))}}doReset_(){this.tech_&&this.tech_.clearTracks("text"),this.resetCache_(),this.poster(""),this.loadTech_(this.options_.techOrder[0],null),this.techCall_("reset"),this.resetControlBarUI_(),_r(this)&&this.trigger("playerreset")}resetControlBarUI_(){this.resetProgressBar_(),this.resetPlaybackRate_(),this.resetVolumeBar_()}resetProgressBar_(){this.currentTime(0);const{currentTimeDisplay:e,durationDisplay:t,progressControl:n,remainingTimeDisplay:r}=this.controlBar||{},{seekBar:i}=n||{};e&&e.updateContent(),t&&t.updateContent(),r&&r.updateContent(),i&&(i.update(),i.loadProgressBar&&i.loadProgressBar.update())}resetPlaybackRate_(){this.playbackRate(this.defaultPlaybackRate()),this.handleTechRateChange_()}resetVolumeBar_(){this.volume(1),this.trigger("volumechange")}currentSources(){const e=this.currentSource(),t=[];return 0!==Object.keys(e).length&&t.push(e),this.cache_.sources||t}currentSource(){return this.cache_.source||{}}currentSrc(){return this.currentSource()&&this.currentSource().src||""}currentType(){return this.currentSource()&&this.currentSource().type||""}preload(e){return void 0!==e?(this.techCall_("setPreload",e),void(this.options_.preload=e)):this.techGet_("preload")}autoplay(e){if(void 0===e)return this.options_.autoplay||!1;let t;"string"==typeof e&&/(any|play|muted)/.test(e)||!0===e&&this.options_.normalizeAutoplay?(this.options_.autoplay=e,this.manualAutoplay_("string"==typeof e?e:"play"),t=!1):this.options_.autoplay=!!e,t=void 0===t?this.options_.autoplay:t,this.tech_&&this.techCall_("setAutoplay",t)}playsinline(e){return void 0!==e?(this.techCall_("setPlaysinline",e),this.options_.playsinline=e,this):this.techGet_("playsinline")}loop(e){return void 0!==e?(this.techCall_("setLoop",e),void(this.options_.loop=e)):this.techGet_("loop")}poster(e){if(void 0===e)return this.poster_;e||(e=""),e!==this.poster_&&(this.poster_=e,this.techCall_("setPoster",e),this.isPosterFromTech_=!1,this.trigger("posterchange"))}handleTechPosterChange_(){if((!this.poster_||this.options_.techCanOverridePoster)&&this.tech_&&this.tech_.poster){const e=this.tech_.poster()||"";e!==this.poster_&&(this.poster_=e,this.isPosterFromTech_=!0,this.trigger("posterchange"))}}controls(e){if(void 0===e)return!!this.controls_;e=!!e,this.controls_!==e&&(this.controls_=e,this.usingNativeControls()&&this.techCall_("setControls",e),this.controls_?(this.removeClass("vjs-controls-disabled"),this.addClass("vjs-controls-enabled"),this.trigger("controlsenabled"),this.usingNativeControls()||this.addTechControlsListeners_()):(this.removeClass("vjs-controls-enabled"),this.addClass("vjs-controls-disabled"),this.trigger("controlsdisabled"),this.usingNativeControls()||this.removeTechControlsListeners_()))}usingNativeControls(e){if(void 0===e)return!!this.usingNativeControls_;e=!!e,this.usingNativeControls_!==e&&(this.usingNativeControls_=e,this.usingNativeControls_?(this.addClass("vjs-using-native-controls"),this.trigger("usingnativecontrols")):(this.removeClass("vjs-using-native-controls"),this.trigger("usingcustomcontrols")))}error(e){if(void 0===e)return this.error_||null;if(Ct("beforeerror").forEach((t=>{const n=t(this,e);zt(n)&&!Array.isArray(n)||"string"==typeof n||"number"==typeof n||null===n?e=n:this.log.error("please return a value that MediaError expects in beforeerror hooks")})),this.options_.suppressNotSupportedError&&e&&4===e.code){const t=function(){this.error(e)};return this.options_.suppressNotSupportedError=!1,this.any(["click","touchstart"],t),void this.one("loadstart",(function(){this.off(["click","touchstart"],t)}))}if(null===e)return this.error_=e,this.removeClass("vjs-error"),void(this.errorDisplay&&this.errorDisplay.close());this.error_=new Wr(e),this.addClass("vjs-error"),jt.error(`(CODE:${this.error_.code} ${Wr.errorTypes[this.error_.code]})`,this.error_.message,this.error_),this.trigger("error"),Ct("error").forEach((e=>e(this,this.error_)))}reportUserActivity(e){this.userActivity_=!0}userActive(e){if(void 0===e)return this.userActive_;if((e=!!e)!==this.userActive_){if(this.userActive_=e,this.userActive_)return this.userActivity_=!0,this.removeClass("vjs-user-inactive"),this.addClass("vjs-user-active"),void this.trigger("useractive");this.tech_&&this.tech_.one("mousemove",(function(e){e.stopPropagation(),e.preventDefault()})),this.userActivity_=!1,this.removeClass("vjs-user-active"),this.addClass("vjs-user-inactive"),this.trigger("userinactive")}}listenForUserActivity_(){let e,t,n;const r=pr(this,this.reportUserActivity),i=function(t){r(),this.clearInterval(e)};this.on("mousedown",(function(){r(),this.clearInterval(e),e=this.setInterval(r,250)})),this.on("mousemove",(function(e){e.screenX===t&&e.screenY===n||(t=e.screenX,n=e.screenY,r())})),this.on("mouseup",i),this.on("mouseleave",i);const o=this.getChild("controlBar");let a;!o||ln||Yt||(o.on("mouseenter",(function(e){0!==this.player().options_.inactivityTimeout&&(this.player().cache_.inactivityTimeout=this.player().options_.inactivityTimeout),this.player().options_.inactivityTimeout=0})),o.on("mouseleave",(function(e){this.player().options_.inactivityTimeout=this.player().cache_.inactivityTimeout}))),this.on("keydown",r),this.on("keyup",r),this.setInterval((function(){if(!this.userActivity_)return;this.userActivity_=!1,this.userActive(!0),this.clearTimeout(a);const e=this.options_.inactivityTimeout;e<=0||(a=this.setTimeout((function(){this.userActivity_||this.userActive(!1)}),e))}),250)}playbackRate(e){if(void 0===e)return this.tech_&&this.tech_.featuresPlaybackRate?this.cache_.lastPlaybackRate||this.techGet_("playbackRate"):1;this.techCall_("setPlaybackRate",e)}defaultPlaybackRate(e){return void 0!==e?this.techCall_("setDefaultPlaybackRate",e):this.tech_&&this.tech_.featuresPlaybackRate?this.techGet_("defaultPlaybackRate"):1}isAudio(e){if(void 0===e)return!!this.isAudio_;this.isAudio_=!!e}enableAudioOnlyUI_(){this.addClass("vjs-audio-only-mode");const e=this.children(),t=this.getChild("ControlBar"),n=t&&t.currentHeight();e.forEach((e=>{e!==t&&e.el_&&!e.hasClass("vjs-hidden")&&(e.hide(),this.audioOnlyCache_.hiddenChildren.push(e))})),this.audioOnlyCache_.playerHeight=this.currentHeight(),this.height(n),this.trigger("audioonlymodechange")}disableAudioOnlyUI_(){this.removeClass("vjs-audio-only-mode"),this.audioOnlyCache_.hiddenChildren.forEach((e=>e.show())),this.height(this.audioOnlyCache_.playerHeight),this.trigger("audioonlymodechange")}audioOnlyMode(e){if("boolean"!=typeof e||e===this.audioOnlyMode_)return this.audioOnlyMode_;if(this.audioOnlyMode_=e,e){const e=[];return this.isInPictureInPicture()&&e.push(this.exitPictureInPicture()),this.isFullscreen()&&e.push(this.exitFullscreen()),this.audioPosterMode()&&e.push(this.audioPosterMode(!1)),Promise.all(e).then((()=>this.enableAudioOnlyUI_()))}return Promise.resolve().then((()=>this.disableAudioOnlyUI_()))}enablePosterModeUI_(){(this.tech_&&this.tech_).hide(),this.addClass("vjs-audio-poster-mode"),this.trigger("audiopostermodechange")}disablePosterModeUI_(){(this.tech_&&this.tech_).show(),this.removeClass("vjs-audio-poster-mode"),this.trigger("audiopostermodechange")}audioPosterMode(e){if("boolean"!=typeof e||e===this.audioPosterMode_)return this.audioPosterMode_;if(this.audioPosterMode_=e,e){if(this.audioOnlyMode()){return this.audioOnlyMode(!1).then((()=>{this.enablePosterModeUI_()}))}return Promise.resolve().then((()=>{this.enablePosterModeUI_()}))}return Promise.resolve().then((()=>{this.disablePosterModeUI_()}))}addTextTrack(e,t,n){if(this.tech_)return this.tech_.addTextTrack(e,t,n)}addRemoteTextTrack(e,t){if(this.tech_)return this.tech_.addRemoteTextTrack(e,t)}removeRemoteTextTrack(e={}){let{track:t}=e;if(t||(t=e),this.tech_)return this.tech_.removeRemoteTextTrack(t)}getVideoPlaybackQuality(){return this.techGet_("getVideoPlaybackQuality")}videoWidth(){return this.tech_&&this.tech_.videoWidth&&this.tech_.videoWidth()||0}videoHeight(){return this.tech_&&this.tech_.videoHeight&&this.tech_.videoHeight()||0}language(e){if(void 0===e)return this.language_;this.language_!==String(e).toLowerCase()&&(this.language_=String(e).toLowerCase(),_r(this)&&this.trigger("languagechange"))}languages(){return Zt(la.prototype.options_.languages,this.languages_)}toJSON(){const e=Zt(this.options_),t=e.tracks;e.tracks=[];for(let n=0;n<t.length;n++){let r=t[n];r=Zt(r),r.player=void 0,e.tracks[n]=r}return e}createModal(e,t){(t=t||{}).content=e||"";const n=new Qr(this,t);return this.addChild(n),n.on("dispose",(()=>{this.removeChild(n)})),n.open(),n}updateCurrentBreakpoint_(){if(!this.responsive())return;const e=this.currentBreakpoint(),t=this.currentWidth();for(let n=0;n<sa.length;n++){const r=sa[n];if(t<=this.breakpoints_[r]){if(e===r)return;e&&this.removeClass(ua[e]),this.addClass(ua[r]),this.breakpoint_=r;break}}}removeCurrentBreakpoint_(){const e=this.currentBreakpointClass();this.breakpoint_="",e&&this.removeClass(e)}breakpoints(e){return void 0===e||(this.breakpoint_="",this.breakpoints_=Object.assign({},ca,e),this.updateCurrentBreakpoint_()),Object.assign(this.breakpoints_)}responsive(e){if(void 0===e)return this.responsive_;return(e=Boolean(e))!==this.responsive_?(this.responsive_=e,e?(this.on("playerresize",this.boundUpdateCurrentBreakpoint_),this.updateCurrentBreakpoint_()):(this.off("playerresize",this.boundUpdateCurrentBreakpoint_),this.removeCurrentBreakpoint_()),e):void 0}currentBreakpoint(){return this.breakpoint_}currentBreakpointClass(){return ua[this.breakpoint_]||""}loadMedia(e,t){if(!e||"object"!=typeof e)return;this.reset(),this.cache_.media=Zt(e);const{artist:n,artwork:r,description:i,poster:o,src:a,textTracks:s,title:u}=this.cache_.media;!r&&o&&(this.cache_.media.artwork=[{src:o,type:ji(o)}]),a&&this.src(a),o&&this.poster(o),Array.isArray(s)&&s.forEach((e=>this.addRemoteTextTrack(e,!1))),this.titleBar&&this.titleBar.update({title:u,description:i||n||""}),this.ready(t)}getMedia(){if(!this.cache_.media){const e=this.poster(),t={src:this.currentSources(),textTracks:Array.prototype.map.call(this.remoteTextTracks(),(e=>({kind:e.kind,label:e.label,language:e.language,src:e.src})))};return e&&(t.poster=e,t.artwork=[{src:t.poster,type:ji(t.poster)}]),t}return Zt(this.cache_.media)}static getTagSettings(e){const t={sources:[],tracks:[]},n=En(e),r=n["data-setup"];if(wn(e,"vjs-fill")&&(n.fill=!0),wn(e,"vjs-fluid")&&(n.fluid=!0),null!==r){const[e,t]=l()(r||"{}");e&&jt.error(e),Object.assign(n,t)}if(Object.assign(t,n),e.hasChildNodes()){const n=e.childNodes;for(let e=0,r=n.length;e<r;e++){const r=n[e],i=r.nodeName.toLowerCase();"source"===i?t.sources.push(En(r)):"track"===i&&t.tracks.push(En(r))}}return t}debug(e){if(void 0===e)return this.debugEnabled_;e?(this.trigger("debugon"),this.previousLogLevel_=this.log.level,this.log.level("debug"),this.debugEnabled_=!0):(this.trigger("debugoff"),this.log.level(this.previousLogLevel_),this.previousLogLevel_=void 0,this.debugEnabled_=!1)}playbackRates(e){if(void 0===e)return this.cache_.playbackRates;Array.isArray(e)&&e.every((e=>"number"==typeof e))&&(this.cache_.playbackRates=e,this.trigger("playbackrateschange"))}}Ti.names.forEach((function(e){const t=Ti[e];la.prototype[t.getterName]=function(){return this.tech_?this.tech_[t.getterName]():(this[t.privateName]=this[t.privateName]||new t.ListClass,this[t.privateName])}})),la.prototype.crossorigin=la.prototype.crossOrigin,la.players={};const fa=i().navigator;la.prototype.options_={techOrder:xi.defaultTechOrder_,html5:{},enableSourceset:!0,inactivityTimeout:2e3,playbackRates:[],liveui:!1,children:["mediaLoader","posterImage","titleBar","textTrackDisplay","loadingSpinner","bigPlayButton","liveTracker","controlBar","errorDisplay","textTrackSettings","resizeManager"],language:fa&&(fa.languages&&fa.languages[0]||fa.userLanguage||fa.language)||"en",languages:{},notSupportedMessage:"No compatible source was found for this media.",normalizeAutoplay:!1,fullscreen:{options:{navigationUI:"hide"}},breakpoints:{},responsive:!1,audioOnlyMode:!1,audioPosterMode:!1},["ended","seeking","seekable","networkState","readyState"].forEach((function(e){la.prototype[e]=function(){return this.techGet_(e)}})),oa.forEach((function(e){la.prototype[`handleTech${Pr(e)}_`]=function(){return this.trigger(e)}})),jr.registerComponent("Player",la);const da="plugin",pa={},ha=e=>pa.hasOwnProperty(e),ga=e=>ha(e)?pa[e]:void 0,ma=(e,t)=>{e.activePlugins_=e.activePlugins_||{},e.activePlugins_[t]=!0},ya=(e,t,n)=>{const r=(n?"before":"")+"pluginsetup";e.trigger(r,t),e.trigger(r+":"+t.name,t)},va=(e,t)=>(t.prototype.name=e,function(...n){ya(this,{name:e,plugin:t,instance:null},!0);const r=new t(...[this,...n]);return this[e]=()=>r,ya(this,r.getEventHash()),r});class ba{constructor(e){if(this.constructor===ba)throw new Error("Plugin must be sub-classed; not directly instantiated.");this.player=e,this.log||(this.log=this.player.log.createLogger(this.name)),Cr(this),delete this.trigger,Ar(this,this.constructor.defaultState),ma(e,this.name),this.dispose=this.dispose.bind(this),e.on("dispose",this.dispose)}version(){return this.constructor.VERSION}getEventHash(e={}){return e.name=this.name,e.plugin=this.constructor,e.instance=this,e}trigger(e,t={}){return ur(this.eventBusEl_,e,this.getEventHash(t))}handleStateChanged(e){}dispose(){const{name:e,player:t}=this;this.trigger("dispose"),this.off(),t.off("dispose",this.dispose),t.activePlugins_[e]=!1,this.player=this.state=null,t[e]=va(e,pa[e])}static isBasic(e){const t="string"==typeof e?ga(e):e;return"function"==typeof t&&!ba.prototype.isPrototypeOf(t.prototype)}static registerPlugin(e,t){if("string"!=typeof e)throw new Error(`Illegal plugin name, "${e}", must be a string, was ${typeof e}.`);if(ha(e))jt.warn(`A plugin named "${e}" already exists. You may want to avoid re-registering plugins!`);else if(la.prototype.hasOwnProperty(e))throw new Error(`Illegal plugin name, "${e}", cannot share a name with an existing player method!`);if("function"!=typeof t)throw new Error(`Illegal plugin for "${e}", must be a function, was ${typeof t}.`);return pa[e]=t,e!==da&&(ba.isBasic(t)?la.prototype[e]=function(e,t){const n=function(){ya(this,{name:e,plugin:t,instance:null},!0);const n=t.apply(this,arguments);return ma(this,e),ya(this,{name:e,plugin:t,instance:n}),n};return Object.keys(t).forEach((function(e){n[e]=t[e]})),n}(e,t):la.prototype[e]=va(e,t)),t}static deregisterPlugin(e){if(e===da)throw new Error("Cannot de-register base plugin.");ha(e)&&(delete pa[e],delete la.prototype[e])}static getPlugins(e=Object.keys(pa)){let t;return e.forEach((e=>{const n=ga(e);n&&(t=t||{},t[e]=n)})),t}static getPluginVersion(e){const t=ga(e);return t&&t.VERSION||""}}function _a(e,t,n,r){return function(e,t){let n=!1;return function(...r){return n||jt.warn(e),n=!0,t.apply(this,r)}}(`${t} is deprecated and will be removed in ${e}.0; please use ${n} instead.`,r)}ba.getPlugin=ga,ba.BASE_PLUGIN_NAME=da,ba.registerPlugin(da,ba),la.prototype.usingPlugin=function(e){return!!this.activePlugins_&&!0===this.activePlugins_[e]},la.prototype.hasPlugin=function(e){return!!ha(e)};const wa=e=>0===e.indexOf("#")?e.slice(1):e;function Ta(e,t,n){let r=Ta.getPlayer(e);if(r)return t&&jt.warn(`Player "${e}" is already initialised. Options will not be applied.`),n&&r.ready(n),r;const i="string"==typeof e?zn("#"+wa(e)):e;if(!gn(i))throw new TypeError("The element or ID supplied is not valid. (videojs)");i.ownerDocument.defaultView&&i.ownerDocument.body.contains(i)||jt.warn("The element supplied is not included in the DOM"),!0===(t=t||{}).restoreEl&&(t.restoreEl=(i.parentNode&&i.parentNode.hasAttribute("data-vjs-player")?i.parentNode:i).cloneNode(!0)),Ct("beforesetup").forEach((e=>{const n=e(i,Zt(t));zt(n)&&!Array.isArray(n)?t=Zt(t,n):jt.error("please return an object in beforesetup hooks")}));const o=jr.getComponent("Player");return r=new o(i,t,n),Ct("setup").forEach((e=>e(r))),r}if(Ta.hooks_=Ot,Ta.hooks=Ct,Ta.hook=function(e,t){Ct(e,t)},Ta.hookOnce=function(e,t){Ct(e,[].concat(t).map((t=>{const n=(...r)=>(Lt(e,n),t(...r));return n})))},Ta.removeHook=Lt,!0!==i().VIDEOJS_NO_DYNAMIC_STYLE&&hn()){let e=zn(".vjs-styles-defaults");if(!e){e=Kn("vjs-styles-defaults");const t=zn("head");t&&t.insertBefore(e,t.firstChild),Xn(e,"\n      .video-js {\n        width: 300px;\n        height: 150px;\n      }\n\n      .vjs-fluid:not(.vjs-audio-only-mode) {\n        padding-top: 56.25%\n      }\n    ")}}$n(1,Ta),Ta.VERSION=Et,Ta.options=la.prototype.options_,Ta.getPlayers=()=>la.players,Ta.getPlayer=e=>{const t=la.players;let n;if("string"==typeof e){const r=wa(e),i=t[r];if(i)return i;n=zn("#"+r)}else n=e;if(gn(n)){const{player:e,playerId:r}=n;if(e||t[r])return e||t[r]}},Ta.getAllPlayers=()=>Object.keys(la.players).map((e=>la.players[e])).filter(Boolean),Ta.players=la.players,Ta.getComponent=jr.getComponent,Ta.registerComponent=(e,t)=>{xi.isTech(t)&&jt.warn(`The ${e} tech was registered as a component. It should instead be registered using videojs.registerTech(name, tech)`),jr.registerComponent.call(jr,e,t)},Ta.getTech=xi.getTech,Ta.registerTech=xi.registerTech,Ta.use=function(e,t){Si[e]=Si[e]||[],Si[e].push(t)},Object.defineProperty(Ta,"middleware",{value:{},writeable:!1,enumerable:!0}),Object.defineProperty(Ta.middleware,"TERMINATOR",{value:Ei,writeable:!1,enumerable:!0}),Ta.browser=dn,Ta.obj=Vt,Ta.mergeOptions=_a(9,"videojs.mergeOptions","videojs.obj.merge",Zt),Ta.defineLazyProperty=_a(9,"videojs.defineLazyProperty","videojs.obj.defineLazyProperty",qt),Ta.bind=_a(9,"videojs.bind","native Function.prototype.bind",pr),Ta.registerPlugin=ba.registerPlugin,Ta.deregisterPlugin=ba.deregisterPlugin,Ta.plugin=(e,t)=>(jt.warn("videojs.plugin() is deprecated; use videojs.registerPlugin() instead"),ba.registerPlugin(e,t)),Ta.getPlugins=ba.getPlugins,Ta.getPlugin=ba.getPlugin,Ta.getPluginVersion=ba.getPluginVersion,Ta.addLanguage=function(e,t){return e=(""+e).toLowerCase(),Ta.options.languages=Zt(Ta.options.languages,{[e]:t}),Ta.options.languages[e]},Ta.log=jt,Ta.createLogger=Dt,Ta.time=qr,Ta.createTimeRange=_a(9,"videojs.createTimeRange","videojs.time.createTimeRanges",Br),Ta.createTimeRanges=_a(9,"videojs.createTimeRanges","videojs.time.createTimeRanges",Br),Ta.formatTime=_a(9,"videojs.formatTime","videojs.time.formatTime",Zr),Ta.setFormatTime=_a(9,"videojs.setFormatTime","videojs.time.setFormatTime",zr),Ta.resetFormatTime=_a(9,"videojs.resetFormatTime","videojs.time.resetFormatTime",Hr),Ta.parseUrl=_a(9,"videojs.parseUrl","videojs.url.parseUrl",ci),Ta.isCrossOrigin=_a(9,"videojs.isCrossOrigin","videojs.url.isCrossOrigin",di),Ta.EventTarget=vr,Ta.any=lr,Ta.on=ar,Ta.one=cr,Ta.off=sr,Ta.trigger=ur,Ta.xhr=d(),Ta.TextTrack=mi,Ta.AudioTrack=yi,Ta.VideoTrack=vi,["isEl","isTextNode","createEl","hasClass","addClass","removeClass","toggleClass","setAttributes","getAttributes","emptyEl","appendContent","insertContent"].forEach((e=>{Ta[e]=function(){return jt.warn(`videojs.${e}() is deprecated; use videojs.dom.${e}() instead`),qn[e].apply(null,arguments)}})),Ta.computedStyle=_a(9,"videojs.computedStyle","videojs.dom.computedStyle",Zn),Ta.dom=qn,Ta.fn=mr,Ta.num=Qi,Ta.str=Rr,Ta.url=pi;class xa{constructor(e){let t=this;return t.id=e.id,t.label=t.id,t.width=e.width,t.height=e.height,t.bitrate=e.bandwidth,t.frameRate=e.frameRate,t.enabled_=e.enabled,Object.defineProperty(t,"enabled",{get:()=>t.enabled_(),set(e){t.enabled_(e)}}),t}}class Sa extends Ta.EventTarget{constructor(){super();let e=this;return e.levels_=[],e.selectedIndex_=-1,Object.defineProperty(e,"selectedIndex",{get:()=>e.selectedIndex_}),Object.defineProperty(e,"length",{get:()=>e.levels_.length}),e}addQualityLevel(e){let t=this.getQualityLevelById(e.id);if(t)return t;const n=this.levels_.length;return t=new xa(e),""+n in this||Object.defineProperty(this,n,{get(){return this.levels_[n]}}),this.levels_.push(t),this.trigger({qualityLevel:t,type:"addqualitylevel"}),t}removeQualityLevel(e){let t=null;for(let n=0,r=this.length;n<r;n++)if(this[n]===e){t=this.levels_.splice(n,1)[0],this.selectedIndex_===n?this.selectedIndex_=-1:this.selectedIndex_>n&&this.selectedIndex_--;break}return t&&this.trigger({qualityLevel:e,type:"removequalitylevel"}),t}getQualityLevelById(e){for(let t=0,n=this.length;t<n;t++){const n=this[t];if(n.id===e)return n}return null}dispose(){this.selectedIndex_=-1,this.levels_.length=0}}Sa.prototype.allowedEvents_={change:"change",addqualitylevel:"addqualitylevel",removequalitylevel:"removequalitylevel"};for(const e in Sa.prototype.allowedEvents_)Sa.prototype["on"+e]=null;var ka="3.0.0";const Ea=Ta.registerPlugin||Ta.plugin,Oa=function(e){return function(e,t){const n=e.qualityLevels,r=new Sa,i=function(){r.dispose(),e.qualityLevels=n,e.off("dispose",i)};return e.on("dispose",i),e.qualityLevels=()=>r,e.qualityLevels.VERSION=ka,r}(this,Ta.mergeOptions({},e))};Ea("qualityLevels",Oa),Oa.VERSION=ka;const Ca=v,La=(e,t)=>t&&t.responseURL&&e!==t.responseURL?t.responseURL:e,Aa=e=>Ta.log.debug?Ta.log.debug.bind(Ta,"VHS:",`${e} >`):function(){};function Ia(...e){const t=Ta.obj||Ta;return(t.merge||t.mergeOptions).apply(t,e)}function Pa(...e){const t=Ta.time||Ta;return(t.createTimeRanges||t.createTimeRanges).apply(t,e)}const Ma=1/30,Ra=.1,ja=function(e,t){const n=[];let r;if(e&&e.length)for(r=0;r<e.length;r++)t(e.start(r),e.end(r))&&n.push([e.start(r),e.end(r)]);return Pa(n)},Da=function(e,t){return ja(e,(function(e,n){return e-Ra<=t&&n+Ra>=t}))},Na=function(e,t){return ja(e,(function(e){return e-Ma>=t}))},Ba=e=>{const t=[];if(!e||!e.length)return"";for(let n=0;n<e.length;n++)t.push(e.start(n)+" => "+e.end(n));return t.join(", ")},Ua=e=>{const t=[];for(let n=0;n<e.length;n++)t.push({start:e.start(n),end:e.end(n)});return t},Fa=function(e){if(e&&e.length&&e.end)return e.end(e.length-1)},za=function(e,t){let n=0;if(!e||!e.length)return n;for(let r=0;r<e.length;r++){const i=e.start(r),o=e.end(r);t>o||(n+=t>i&&t<=o?o-t:o-i)}return n},Ha=(e,t)=>{if(!t.preload)return t.duration;let n=0;return(t.parts||[]).forEach((function(e){n+=e.duration})),(t.preloadHints||[]).forEach((function(t){"PART"===t.type&&(n+=e.partTargetDuration)})),n},Za=e=>(e.segments||[]).reduce(((e,t,n)=>(t.parts?t.parts.forEach((function(r,i){e.push({duration:r.duration,segmentIndex:n,partIndex:i,part:r,segment:t})})):e.push({duration:t.duration,segmentIndex:n,partIndex:null,segment:t,part:null}),e)),[]),qa=e=>{const t=e.segments&&e.segments.length&&e.segments[e.segments.length-1];return t&&t.parts||[]},Va=({preloadSegment:e})=>{if(!e)return;const{parts:t,preloadHints:n}=e;let r=(n||[]).reduce(((e,t)=>e+("PART"===t.type?1:0)),0);return r+=t&&t.length?t.length:0,r},Wa=(e,t)=>{if(t.endList)return 0;if(e&&e.suggestedPresentationDelay)return e.suggestedPresentationDelay;const n=qa(t).length>0;return n&&t.serverControl&&t.serverControl.partHoldBack?t.serverControl.partHoldBack:n&&t.partTargetDuration?3*t.partTargetDuration:t.serverControl&&t.serverControl.holdBack?t.serverControl.holdBack:t.targetDuration?3*t.targetDuration:0},Ga=function(e,t,n){if(void 0===t&&(t=e.mediaSequence+e.segments.length),t<e.mediaSequence)return 0;const r=function(e,t){let n=0,r=t-e.mediaSequence,i=e.segments[r];if(i){if(void 0!==i.start)return{result:i.start,precise:!0};if(void 0!==i.end)return{result:i.end-i.duration,precise:!0}}for(;r--;){if(i=e.segments[r],void 0!==i.end)return{result:n+i.end,precise:!0};if(n+=Ha(e,i),void 0!==i.start)return{result:n+i.start,precise:!0}}return{result:n,precise:!1}}(e,t);if(r.precise)return r.result;const i=function(e,t){let n,r=0,i=t-e.mediaSequence;for(;i<e.segments.length;i++){if(n=e.segments[i],void 0!==n.start)return{result:n.start-r,precise:!0};if(r+=Ha(e,n),void 0!==n.end)return{result:n.end-r,precise:!0}}return{result:-1,precise:!1}}(e,t);return i.precise?i.result:r.result+n},$a=function(e,t,n){if(!e)return 0;if("number"!=typeof n&&(n=0),void 0===t){if(e.totalDuration)return e.totalDuration;if(!e.endList)return i()[1/0]}return Ga(e,t,n)},Ya=function({defaultDuration:e,durationList:t,startIndex:n,endIndex:r}){let i=0;if(n>r&&([n,r]=[r,n]),n<0){for(let t=n;t<Math.min(0,r);t++)i+=e;n=0}for(let e=n;e<r;e++)i+=t[e].duration;return i},Ka=function(e,t,n,r){if(!e||!e.segments)return null;if(e.endList)return $a(e);if(null===t)return null;t=t||0;let i=Ga(e,e.mediaSequence+e.segments.length,t);return n&&(i-=r="number"==typeof r?r:Wa(null,e)),Math.max(0,i)},Xa=function(e){return e.excludeUntil&&e.excludeUntil>Date.now()},Qa=function(e){return e.excludeUntil&&e.excludeUntil===1/0},Ja=function(e){const t=Xa(e);return!e.disabled&&!t},es=function(e,t){return t.attributes&&t.attributes[e]},ts=(e,t)=>{if(1===e.playlists.length)return!0;const n=t.attributes.BANDWIDTH||Number.MAX_VALUE;return 0===e.playlists.filter((e=>!!Ja(e)&&(e.attributes.BANDWIDTH||0)<n)).length},ns=(e,t)=>!(!e&&!t||!e&&t||e&&!t)&&(e===t||(!(!e.id||!t.id||e.id!==t.id)||(!(!e.resolvedUri||!t.resolvedUri||e.resolvedUri!==t.resolvedUri)||!(!e.uri||!t.uri||e.uri!==t.uri)))),rs=function(e,t){const n=e&&e.mediaGroups&&e.mediaGroups.AUDIO||{};let r=!1;for(const e in n){for(const i in n[e])if(r=t(n[e][i]),r)break;if(r)break}return!!r},is=e=>{if(!e||!e.playlists||!e.playlists.length){return rs(e,(e=>e.playlists&&e.playlists.length||e.uri))}for(let t=0;t<e.playlists.length;t++){const n=e.playlists[t],r=n.attributes&&n.attributes.CODECS;if(r&&r.split(",").every((e=>N(e))))continue;if(!rs(e,(e=>ns(n,e))))return!1}return!0};var os={liveEdgeDelay:Wa,duration:$a,seekable:function(e,t,n){const r=t||0,i=Ka(e,t,!0,n);return null===i?Pa():Pa(r,i)},getMediaInfoForTime:function({playlist:e,currentTime:t,startingSegmentIndex:n,startingPartIndex:r,startTime:i,exactManifestTimings:o}){let a=t-i;const s=Za(e);let u=0;for(let e=0;e<s.length;e++){const t=s[e];if(n===t.segmentIndex&&("number"!=typeof r||"number"!=typeof t.partIndex||r===t.partIndex)){u=e;break}}if(a<0){if(u>0)for(let t=u-1;t>=0;t--){const n=s[t];if(a+=n.duration,o){if(a<0)continue}else if(a+Ma<=0)continue;return{partIndex:n.partIndex,segmentIndex:n.segmentIndex,startTime:i-Ya({defaultDuration:e.targetDuration,durationList:s,startIndex:u,endIndex:t})}}return{partIndex:s[0]&&s[0].partIndex||null,segmentIndex:s[0]&&s[0].segmentIndex||0,startTime:t}}if(u<0){for(let n=u;n<0;n++)if(a-=e.targetDuration,a<0)return{partIndex:s[0]&&s[0].partIndex||null,segmentIndex:s[0]&&s[0].segmentIndex||0,startTime:t};u=0}for(let t=u;t<s.length;t++){const n=s[t];if(a-=n.duration,o){if(a>0)continue}else if(a-Ma>=0)continue;return{partIndex:n.partIndex,segmentIndex:n.segmentIndex,startTime:i+Ya({defaultDuration:e.targetDuration,durationList:s,startIndex:u,endIndex:t})}}return{segmentIndex:s[s.length-1].segmentIndex,partIndex:s[s.length-1].partIndex,startTime:t}},isEnabled:Ja,isDisabled:function(e){return e.disabled},isExcluded:Xa,isIncompatible:Qa,playlistEnd:Ka,isAes:function(e){for(let t=0;t<e.segments.length;t++)if(e.segments[t].key)return!0;return!1},hasAttribute:es,estimateSegmentRequestTime:function(e,t,n,r=0){if(!es("BANDWIDTH",n))return NaN;return(e*n.attributes.BANDWIDTH-8*r)/t},isLowestEnabledRendition:ts,isAudioOnly:is,playlistMatch:ns,segmentDurationWithParts:Ha};const{log:as}=Ta,ss=(e,t)=>`${e}-${t}`,us=(e,t,n)=>`placeholder-uri-${e}-${t}-${n}`,cs=(e,t)=>{e.mediaGroups&&["AUDIO","SUBTITLES"].forEach((n=>{if(e.mediaGroups[n])for(const r in e.mediaGroups[n])for(const i in e.mediaGroups[n][r]){const o=e.mediaGroups[n][r][i];t(o,n,r,i)}}))},ls=({playlist:e,uri:t,id:n})=>{e.id=n,e.playlistErrors_=0,t&&(e.uri=t),e.attributes=e.attributes||{}},fs=(e,t,n=us)=>{e.uri=t;for(let t=0;t<e.playlists.length;t++)if(!e.playlists[t].uri){const n=`placeholder-uri-${t}`;e.playlists[t].uri=n}const r=is(e);cs(e,((t,i,o,a)=>{if(!t.playlists||!t.playlists.length){if(r&&"AUDIO"===i&&!t.uri)for(let t=0;t<e.playlists.length;t++){const n=e.playlists[t];if(n.attributes&&n.attributes.AUDIO&&n.attributes.AUDIO===o)return}t.playlists=[(0,b.Z)({},t)]}t.playlists.forEach((function(t,r){const s=n(i,o,a,t),u=ss(r,s);t.uri?t.resolvedUri=t.resolvedUri||Ca(e.uri,t.uri):(t.uri=0===r?s:u,t.resolvedUri=t.uri),t.id=t.id||u,t.attributes=t.attributes||{},e.playlists[t.id]=t,e.playlists[t.uri]=t}))})),(e=>{let t=e.playlists.length;for(;t--;){const n=e.playlists[t];ls({playlist:n,id:ss(t,n.uri)}),n.resolvedUri=Ca(e.uri,n.uri),e.playlists[n.id]=n,e.playlists[n.uri]=n,n.attributes.BANDWIDTH||as.warn("Invalid playlist STREAM-INF detected. Missing BANDWIDTH attribute.")}})(e),(e=>{cs(e,(t=>{t.uri&&(t.resolvedUri=Ca(e.uri,t.uri))}))})(e)},{EventTarget:ds}=Ta,ps=(e,t)=>{if(!e)return t;const n=Ia(e,t);if(e.preloadHints&&!t.preloadHints&&delete n.preloadHints,e.parts&&!t.parts)delete n.parts;else if(e.parts&&t.parts)for(let r=0;r<t.parts.length;r++)e.parts&&e.parts[r]&&(n.parts[r]=Ia(e.parts[r],t.parts[r]));return!e.skipped&&t.skipped&&(n.skipped=!1),e.preload&&!t.preload&&(n.preload=!1),n},hs=(e,t)=>{!e.resolvedUri&&e.uri&&(e.resolvedUri=Ca(t,e.uri)),e.key&&!e.key.resolvedUri&&(e.key.resolvedUri=Ca(t,e.key.uri)),e.map&&!e.map.resolvedUri&&(e.map.resolvedUri=Ca(t,e.map.uri)),e.map&&e.map.key&&!e.map.key.resolvedUri&&(e.map.key.resolvedUri=Ca(t,e.map.key.uri)),e.parts&&e.parts.length&&e.parts.forEach((e=>{e.resolvedUri||(e.resolvedUri=Ca(t,e.uri))})),e.preloadHints&&e.preloadHints.length&&e.preloadHints.forEach((e=>{e.resolvedUri||(e.resolvedUri=Ca(t,e.uri))}))},gs=function(e){const t=e.segments||[],n=e.preloadSegment;if(n&&n.parts&&n.parts.length){if(n.preloadHints)for(let e=0;e<n.preloadHints.length;e++)if("MAP"===n.preloadHints[e].type)return t;n.duration=e.targetDuration,n.preload=!0,t.push(n)}return t},ms=(e,t)=>e===t||e.segments&&t.segments&&e.segments.length===t.segments.length&&e.endList===t.endList&&e.mediaSequence===t.mediaSequence&&e.preloadSegment===t.preloadSegment,ys=(e,t,n=ms)=>{const r=Ia(e,{}),i=r.playlists[t.id];if(!i)return null;if(n(i,t))return null;t.segments=gs(t);const o=Ia(i,t);if(o.preloadSegment&&!t.preloadSegment&&delete o.preloadSegment,i.segments){if(t.skip){t.segments=t.segments||[];for(let e=0;e<t.skip.skippedSegments;e++)t.segments.unshift({skipped:!0})}o.segments=((e,t,n)=>{const r=e.slice(),i=t.slice();n=n||0;const o=[];let a;for(let e=0;e<i.length;e++){const t=r[e+n],s=i[e];t?(a=t.map||a,o.push(ps(t,s))):(a&&!s.map&&(s.map=a),o.push(s))}return o})(i.segments,t.segments,t.mediaSequence-i.mediaSequence)}o.segments.forEach((e=>{hs(e,o.resolvedUri)}));for(let e=0;e<r.playlists.length;e++)r.playlists[e].id===t.id&&(r.playlists[e]=o);return r.playlists[t.id]=o,r.playlists[t.uri]=o,cs(e,((e,n,r,i)=>{if(e.playlists)for(let n=0;n<e.playlists.length;n++)t.id===e.playlists[n].id&&(e.playlists[n]=o)})),r},vs=(e,t)=>{const n=e.segments||[],r=n[n.length-1],i=r&&r.parts&&r.parts[r.parts.length-1],o=i&&i.duration||r&&r.duration;return t&&o?1e3*o:500*(e.partTargetDuration||e.targetDuration||10)};class bs extends ds{constructor(e,t,n={}){if(super(),!e)throw new Error("A non-empty playlist URL or object is required");this.logger_=Aa("PlaylistLoader");const{withCredentials:r=!1}=n;this.src=e,this.vhs_=t,this.withCredentials=r;const i=t.options_;this.customTagParsers=i&&i.customTagParsers||[],this.customTagMappers=i&&i.customTagMappers||[],this.llhls=i&&i.llhls,this.state="HAVE_NOTHING",this.handleMediaupdatetimeout_=this.handleMediaupdatetimeout_.bind(this),this.on("mediaupdatetimeout",this.handleMediaupdatetimeout_)}handleMediaupdatetimeout_(){if("HAVE_METADATA"!==this.state)return;const e=this.media();let t=Ca(this.main.uri,e.uri);this.llhls&&(t=((e,t)=>{if(t.endList||!t.serverControl)return e;const n={};if(t.serverControl.canBlockReload){const{preloadSegment:e}=t;let r=t.mediaSequence+t.segments.length;if(e){const i=e.parts||[],o=Va(t)-1;o>-1&&o!==i.length-1&&(n._HLS_part=o),(o>-1||i.length)&&r--}n._HLS_msn=r}if(t.serverControl&&t.serverControl.canSkipUntil&&(n._HLS_skip=t.serverControl.canSkipDateranges?"v2":"YES"),Object.keys(n).length){const t=new(i().URL)(e);["_HLS_skip","_HLS_msn","_HLS_part"].forEach((function(e){n.hasOwnProperty(e)&&t.searchParams.set(e,n[e])})),e=t.toString()}return e})(t,e)),this.state="HAVE_CURRENT_METADATA",this.request=this.vhs_.xhr({uri:t,withCredentials:this.withCredentials},((e,t)=>{if(this.request)return e?this.playlistRequestError(this.request,this.media(),"HAVE_METADATA"):void this.haveMetadata({playlistString:this.request.responseText,url:this.media().uri,id:this.media().id})}))}playlistRequestError(e,t,n){const{uri:r,id:i}=t;this.request=null,n&&(this.state=n),this.error={playlist:this.main.playlists[i],status:e.status,message:`HLS playlist request error at URL: ${r}.`,responseText:e.responseText,code:e.status>=500?4:2},this.trigger("error")}parseManifest_({url:e,manifestString:t}){return(({onwarn:e,oninfo:t,manifestString:n,customTagParsers:r=[],customTagMappers:i=[],llhls:o})=>{const a=new L;e&&a.on("warn",e),t&&a.on("info",t),r.forEach((e=>a.addParser(e))),i.forEach((e=>a.addTagMapper(e))),a.push(n),a.end();const s=a.manifest;if(o||(["preloadSegment","skip","serverControl","renditionReports","partInf","partTargetDuration"].forEach((function(e){s.hasOwnProperty(e)&&delete s[e]})),s.segments&&s.segments.forEach((function(e){["parts","preloadHints"].forEach((function(t){e.hasOwnProperty(t)&&delete e[t]}))}))),!s.targetDuration){let t=10;s.segments&&s.segments.length&&(t=s.segments.reduce(((e,t)=>Math.max(e,t.duration)),0)),e&&e(`manifest has no targetDuration defaulting to ${t}`),s.targetDuration=t}const u=qa(s);if(u.length&&!s.partTargetDuration){const t=u.reduce(((e,t)=>Math.max(e,t.duration)),0);e&&(e(`manifest has no partTargetDuration defaulting to ${t}`),as.error("LL-HLS manifest has parts but lacks required #EXT-X-PART-INF:PART-TARGET value. See https://datatracker.ietf.org/doc/html/draft-pantos-hls-rfc8216bis-09#section-4.4.3.7. Playback is not guaranteed.")),s.partTargetDuration=t}return s})({onwarn:({message:t})=>this.logger_(`m3u8-parser warn for ${e}: ${t}`),oninfo:({message:t})=>this.logger_(`m3u8-parser info for ${e}: ${t}`),manifestString:t,customTagParsers:this.customTagParsers,customTagMappers:this.customTagMappers,llhls:this.llhls})}haveMetadata({playlistString:e,playlistObject:t,url:n,id:r}){this.request=null,this.state="HAVE_METADATA";const i=t||this.parseManifest_({url:n,manifestString:e});i.lastRequest=Date.now(),ls({playlist:i,uri:n,id:r});const o=ys(this.main,i);this.targetDuration=i.partTargetDuration||i.targetDuration,this.pendingMedia_=null,o?(this.main=o,this.media_=this.main.playlists[r]):this.trigger("playlistunchanged"),this.updateMediaUpdateTimeout_(vs(this.media(),!!o)),this.trigger("loadedplaylist")}dispose(){this.trigger("dispose"),this.stopRequest(),i().clearTimeout(this.mediaUpdateTimeout),i().clearTimeout(this.finalRenditionTimeout),this.off()}stopRequest(){if(this.request){const e=this.request;this.request=null,e.onreadystatechange=null,e.abort()}}media(e,t){if(!e)return this.media_;if("HAVE_NOTHING"===this.state)throw new Error("Cannot switch media playlist from "+this.state);if("string"==typeof e){if(!this.main.playlists[e])throw new Error("Unknown playlist URI: "+e);e=this.main.playlists[e]}if(i().clearTimeout(this.finalRenditionTimeout),t){const t=(e.partTargetDuration||e.targetDuration)/2*1e3||5e3;return void(this.finalRenditionTimeout=i().setTimeout(this.media.bind(this,e,!1),t))}const n=this.state,r=!this.media_||e.id!==this.media_.id,o=this.main.playlists[e.id];if(o&&o.endList||e.endList&&e.segments.length)return this.request&&(this.request.onreadystatechange=null,this.request.abort(),this.request=null),this.state="HAVE_METADATA",this.media_=e,void(r&&(this.trigger("mediachanging"),"HAVE_MAIN_MANIFEST"===n?this.trigger("loadedmetadata"):this.trigger("mediachange")));if(this.updateMediaUpdateTimeout_(vs(e,!0)),r){if(this.state="SWITCHING_MEDIA",this.request){if(e.resolvedUri===this.request.url)return;this.request.onreadystatechange=null,this.request.abort(),this.request=null}this.media_&&this.trigger("mediachanging"),this.pendingMedia_=e,this.request=this.vhs_.xhr({uri:e.resolvedUri,withCredentials:this.withCredentials},((t,r)=>{if(this.request){if(e.lastRequest=Date.now(),e.resolvedUri=La(e.resolvedUri,r),t)return this.playlistRequestError(this.request,e,n);this.haveMetadata({playlistString:r.responseText,url:e.uri,id:e.id}),"HAVE_MAIN_MANIFEST"===n?this.trigger("loadedmetadata"):this.trigger("mediachange")}}))}}pause(){this.mediaUpdateTimeout&&(i().clearTimeout(this.mediaUpdateTimeout),this.mediaUpdateTimeout=null),this.stopRequest(),"HAVE_NOTHING"===this.state&&(this.started=!1),"SWITCHING_MEDIA"===this.state?this.media_?this.state="HAVE_METADATA":this.state="HAVE_MAIN_MANIFEST":"HAVE_CURRENT_METADATA"===this.state&&(this.state="HAVE_METADATA")}load(e){this.mediaUpdateTimeout&&(i().clearTimeout(this.mediaUpdateTimeout),this.mediaUpdateTimeout=null);const t=this.media();if(e){const e=t?(t.partTargetDuration||t.targetDuration)/2*1e3:5e3;this.mediaUpdateTimeout=i().setTimeout((()=>{this.mediaUpdateTimeout=null,this.load()}),e)}else this.started?t&&!t.endList?this.trigger("mediaupdatetimeout"):this.trigger("loadedplaylist"):this.start()}updateMediaUpdateTimeout_(e){this.mediaUpdateTimeout&&(i().clearTimeout(this.mediaUpdateTimeout),this.mediaUpdateTimeout=null),this.media()&&!this.media().endList&&(this.mediaUpdateTimeout=i().setTimeout((()=>{this.mediaUpdateTimeout=null,this.trigger("mediaupdatetimeout"),this.updateMediaUpdateTimeout_(e)}),e))}start(){if(this.started=!0,"object"==typeof this.src)return this.src.uri||(this.src.uri=i().location.href),this.src.resolvedUri=this.src.uri,void setTimeout((()=>{this.setupInitialPlaylist(this.src)}),0);this.request=this.vhs_.xhr({uri:this.src,withCredentials:this.withCredentials},((e,t)=>{if(!this.request)return;if(this.request=null,e)return this.error={status:t.status,message:`HLS playlist request error at URL: ${this.src}.`,responseText:t.responseText,code:2},"HAVE_NOTHING"===this.state&&(this.started=!1),this.trigger("error");this.src=La(this.src,t);const n=this.parseManifest_({manifestString:t.responseText,url:this.src});this.setupInitialPlaylist(n)}))}srcUri(){return"string"==typeof this.src?this.src:this.src.uri}setupInitialPlaylist(e){if(this.state="HAVE_MAIN_MANIFEST",e.playlists)return this.main=e,fs(this.main,this.srcUri()),e.playlists.forEach((e=>{e.segments=gs(e),e.segments.forEach((t=>{hs(t,e.resolvedUri)}))})),this.trigger("loadedplaylist"),void(this.request||this.media(this.main.playlists[0]));const t=this.srcUri()||i().location.href;this.main=((e,t)=>{const n=ss(0,t),r={mediaGroups:{AUDIO:{},VIDEO:{},"CLOSED-CAPTIONS":{},SUBTITLES:{}},uri:i().location.href,resolvedUri:i().location.href,playlists:[{uri:t,id:n,resolvedUri:t,attributes:{}}]};return r.playlists[n]=r.playlists[0],r.playlists[t]=r.playlists[0],r})(0,t),this.haveMetadata({playlistObject:e,url:t,id:this.main.playlists[0].id}),this.trigger("loadedmetadata")}}const{xhr:_s}=Ta,ws=function(e,t,n,r){const i="arraybuffer"===e.responseType?e.response:e.responseText;!t&&i&&(e.responseTime=Date.now(),e.roundTripTime=e.responseTime-e.requestTime,e.bytesReceived=i.byteLength||i.length,e.bandwidth||(e.bandwidth=Math.floor(e.bytesReceived/e.roundTripTime*8*1e3))),n.headers&&(e.responseHeaders=n.headers),t&&"ETIMEDOUT"===t.code&&(e.timedout=!0),t||e.aborted||200===n.statusCode||206===n.statusCode||0===n.statusCode||(t=new Error("XHR Failed with a response of: "+(e&&(i||e.responseText)))),r(t,e)},Ts=function(){const e=function e(t,n){t=Ia({timeout:45e3},t);const r=e.beforeRequest||Ta.Vhs.xhr.beforeRequest;if(r&&"function"==typeof r){const e=r(t);e&&(t=e)}const i=(!0===Ta.Vhs.xhr.original?_s:Ta.Vhs.xhr)(t,(function(e,t){return ws(i,e,t,n)})),o=i.abort;return i.abort=function(){return i.aborted=!0,o.apply(i,arguments)},i.uri=t.uri,i.requestTime=Date.now(),i};return e.original=!0,e},xs=function(e){const t={};return e.byterange&&(t.Range=function(e){let t;const n=e.offset;return t="bigint"==typeof e.offset||"bigint"==typeof e.length?i().BigInt(e.offset)+i().BigInt(e.length)-i().BigInt(1):e.offset+e.length-1,"bytes="+n+"-"+t}(e.byterange)),t},Ss=function(e,t){return e.start(t)+"-"+e.end(t)},ks=function(e,t){const n=e.toString(16);return"00".substring(0,2-n.length)+n+(t%2?" ":"")},Es=function(e){return e>=32&&e<126?String.fromCharCode(e):"."},Os=function(e){const t={};return Object.keys(e).forEach((n=>{const r=e[n];V(r)?t[n]={bytes:r.buffer,byteOffset:r.byteOffset,byteLength:r.byteLength}:t[n]=r})),t},Cs=function(e){const t=e.byterange||{length:1/0,offset:0};return[t.length,t.offset,e.resolvedUri].join(",")},Ls=function(e){return e.resolvedUri},As=e=>{const t=Array.prototype.slice.call(e),n=16;let r,i,o="";for(let e=0;e<t.length/n;e++)r=t.slice(e*n,e*n+n).map(ks).join(""),i=t.slice(e*n,e*n+n).map(Es).join(""),o+=r+" "+i+"\n";return o};var Is=Object.freeze({__proto__:null,createTransferableMessage:Os,initSegmentId:Cs,segmentKeyId:Ls,hexDump:As,tagDump:({bytes:e})=>As(e),textRanges:e=>{let t,n="";for(t=0;t<e.length;t++)n+=Ss(e,t)+" ";return n}});const Ps=({playlist:e,time:t,callback:n})=>{if(!n)throw new Error("getProgramTime: callback must be provided");if(!e||void 0===t)return n({message:"getProgramTime: playlist and time must be provided"});const r=((e,t)=>{if(!t||!t.segments||0===t.segments.length)return null;let n,r=0;for(let i=0;i<t.segments.length&&(n=t.segments[i],r=n.videoTimingInfo?n.videoTimingInfo.transmuxedPresentationEnd:r+n.duration,!(e<=r));i++);const i=t.segments[t.segments.length-1];if(i.videoTimingInfo&&i.videoTimingInfo.transmuxedPresentationEnd<e)return null;if(e>r){if(e>r+.25*i.duration)return null;n=i}return{segment:n,estimatedStart:n.videoTimingInfo?n.videoTimingInfo.transmuxedPresentationStart:r-n.duration,type:n.videoTimingInfo?"accurate":"estimate"}})(t,e);if(!r)return n({message:"valid programTime was not found"});if("estimate"===r.type)return n({message:"Accurate programTime could not be determined. Please seek to e.seekTime and try again",seekTime:r.estimatedStart});const i={mediaSeconds:t},o=((e,t)=>{if(!t.dateTimeObject)return null;const n=t.videoTimingInfo.transmuxerPrependedSeconds,r=e-(t.videoTimingInfo.transmuxedPresentationStart+n);return new Date(t.dateTimeObject.getTime()+1e3*r)})(t,r.segment);return o&&(i.programDateTime=o.toISOString()),n(null,i)},Ms=({programTime:e,playlist:t,retryCount:n=2,seekTo:r,pauseAfterSeek:i=!0,tech:o,callback:a})=>{if(!a)throw new Error("seekToProgramTime: callback must be provided");if(void 0===e||!t||!r)return a({message:"seekToProgramTime: programTime, seekTo and playlist must be provided"});if(!t.endList&&!o.hasStarted_)return a({message:"player must be playing a live stream to start buffering"});if(!(e=>{if(!e.segments||0===e.segments.length)return!1;for(let t=0;t<e.segments.length;t++)if(!e.segments[t].dateTimeObject)return!1;return!0})(t))return a({message:"programDateTime tags must be provided in the manifest "+t.resolvedUri});const s=((e,t)=>{let n;try{n=new Date(e)}catch(e){return null}if(!t||!t.segments||0===t.segments.length)return null;let r=t.segments[0];if(n<r.dateTimeObject)return null;for(let e=0;e<t.segments.length-1&&(r=t.segments[e],!(n<t.segments[e+1].dateTimeObject));e++);const i=t.segments[t.segments.length-1],o=i.dateTimeObject,a=i.videoTimingInfo?(s=i.videoTimingInfo).transmuxedPresentationEnd-s.transmuxedPresentationStart-s.transmuxerPrependedSeconds:i.duration+.25*i.duration;var s;return n>new Date(o.getTime()+1e3*a)?null:(n>o&&(r=i),{segment:r,estimatedStart:r.videoTimingInfo?r.videoTimingInfo.transmuxedPresentationStart:os.duration(t,t.mediaSequence+t.segments.indexOf(r)),type:r.videoTimingInfo?"accurate":"estimate"})})(e,t);if(!s)return a({message:`${e} was not found in the stream`});const u=s.segment,c=((e,t)=>{let n,r;try{n=new Date(e),r=new Date(t)}catch(e){}const i=n.getTime();return(r.getTime()-i)/1e3})(u.dateTimeObject,e);if("estimate"===s.type)return 0===n?a({message:`${e} is not buffered yet. Try again`}):(r(s.estimatedStart+c),void o.one("seeked",(()=>{Ms({programTime:e,playlist:t,retryCount:n-1,seekTo:r,pauseAfterSeek:i,tech:o,callback:a})})));const l=u.start+c;o.one("seeked",(()=>a(null,o.currentTime()))),i&&o.pause(),r(l)},Rs=(e,t)=>{if(4===e.readyState)return t()},js=(e,t,n)=>{let r,i=[],o=!1;const a=function(e,t,r,i){return t.abort(),o=!0,n(e,t,r,i)},s=function(e,t){if(o)return;if(e)return a(e,t,"",i);const n=t.responseText.substring(i&&i.byteLength||0,t.responseText.length);if(i=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];if(t=t.filter((function(e){return e&&(e.byteLength||e.length)&&"string"!=typeof e})),t.length<=1)return W(t[0]);var r=t.reduce((function(e,t,n){return e+(t.byteLength||t.length)}),0),i=new Uint8Array(r),o=0;return t.forEach((function(e){e=W(e),i.set(e,o),o+=e.byteLength})),i}(i,X(n,!0)),r=r||ot(i),i.length<10||r&&i.length<r+2)return Rs(t,(()=>a(e,t,"",i)));const s=St(i);return"ts"===s&&i.length<188||!s&&i.length<376?Rs(t,(()=>a(e,t,"",i))):a(null,t,s,i)},u={uri:e,beforeSend(e){e.overrideMimeType("text/plain; charset=x-user-defined"),e.addEventListener("progress",(function({total:t,loaded:n}){return ws(e,null,{statusCode:e.status},s)}))}},c=t(u,(function(e,t){return ws(c,e,t,s)}));return c},{EventTarget:Ds}=Ta,Ns=function(e,t){if(!ms(e,t))return!1;if(e.sidx&&t.sidx&&(e.sidx.offset!==t.sidx.offset||e.sidx.length!==t.sidx.length))return!1;if(!e.sidx&&t.sidx||e.sidx&&!t.sidx)return!1;if(e.segments&&!t.segments||!e.segments&&t.segments)return!1;if(!e.segments&&!t.segments)return!0;for(let n=0;n<e.segments.length;n++){const r=e.segments[n],i=t.segments[n];if(r.uri!==i.uri)return!1;if(!r.byterange&&!i.byterange)continue;const o=r.byterange,a=i.byterange;if(o&&!a||!o&&a)return!1;if(o.offset!==a.offset||o.length!==a.length)return!1}return!0},Bs=(e,t,n,r)=>`placeholder-uri-${e}-${t}-${r.attributes.NAME||n}`,Us=(e,t,n)=>{let r=!0,i=Ia(e,{duration:t.duration,minimumUpdatePeriod:t.minimumUpdatePeriod,timelineStarts:t.timelineStarts});for(let e=0;e<t.playlists.length;e++){const o=t.playlists[e];if(o.sidx){const e=Se(o.sidx);n&&n[e]&&n[e].sidx&&ve(o,n[e].sidx,o.sidx.resolvedUri)}const a=ys(i,o,Ns);a&&(i=a,r=!1)}return cs(t,((e,t,n,o)=>{if(e.playlists&&e.playlists.length){const a=e.playlists[0].id,s=ys(i,e.playlists[0],Ns);s&&(i=s,o in i.mediaGroups[t][n]||(i.mediaGroups[t][n][o]=e),i.mediaGroups[t][n][o].playlists[0]=i.playlists[a],r=!1)}})),((e,t)=>{cs(e,((n,r,i,o)=>{o in t.mediaGroups[r][i]||delete e.mediaGroups[r][i][o]}))})(i,t),t.minimumUpdatePeriod!==e.minimumUpdatePeriod&&(r=!1),r?null:i},Fs=(e,t)=>(Boolean(!e.map&&!t.map)||Boolean(e.map&&t.map&&e.map.byterange.offset===t.map.byterange.offset&&e.map.byterange.length===t.map.byterange.length))&&e.uri===t.uri&&e.byterange.offset===t.byterange.offset&&e.byterange.length===t.byterange.length,zs=(e,t)=>{const n={};for(const r in e){const i=e[r].sidx;if(i){const e=Se(i);if(!t[e])break;const r=t[e].sidxInfo;Fs(r,i)&&(n[e]=t[e])}}return n};class Hs extends Ds{constructor(e,t,n={},r){super(),this.mainPlaylistLoader_=r||this,r||(this.isMain_=!0);const{withCredentials:i=!1}=n;if(this.vhs_=t,this.withCredentials=i,!e)throw new Error("A non-empty playlist URL or object is required");this.on("minimumUpdatePeriod",(()=>{this.refreshXml_()})),this.on("mediaupdatetimeout",(()=>{this.refreshMedia_(this.media().id)})),this.state="HAVE_NOTHING",this.loadedPlaylists_={},this.logger_=Aa("DashPlaylistLoader"),this.isMain_?(this.mainPlaylistLoader_.srcUrl=e,this.mainPlaylistLoader_.sidxMapping_={}):this.childPlaylist_=e}requestErrored_(e,t,n){return!this.request||(this.request=null,e?(this.error="object"!=typeof e||e instanceof Error?{status:t.status,message:"DASH request error at URL: "+t.uri,response:t.response,code:2}:e,n&&(this.state=n),this.trigger("error"),!0):void 0)}addSidxSegments_(e,t,n){const r=e.sidx&&Se(e.sidx);if(!e.sidx||!r||this.mainPlaylistLoader_.sidxMapping_[r])return void(this.mediaRequest_=i().setTimeout((()=>n(!1)),0));const o=La(e.sidx.resolvedUri),a=(i,o)=>{if(this.requestErrored_(i,o,t))return;const a=this.mainPlaylistLoader_.sidxMapping_;let s;try{s=rt()(W(o.response).subarray(8))}catch(e){return void this.requestErrored_(e,o,t)}return a[r]={sidxInfo:e.sidx,sidx:s},ve(e,s,e.sidx.resolvedUri),n(!0)};this.request=js(o,this.vhs_.xhr,((t,n,r,i)=>{if(t)return a(t,n);if(!r||"mp4"!==r)return a({status:n.status,message:`Unsupported ${r||"unknown"} container type for sidx segment at URL: ${o}`,response:"",playlist:e,internal:!0,playlistExclusionDuration:1/0,code:2},n);const{offset:s,length:u}=e.sidx.byterange;if(i.length>=u+s)return a(t,{response:i.subarray(s,s+u),status:n.status,uri:n.uri});this.request=this.vhs_.xhr({uri:o,responseType:"arraybuffer",headers:xs({byterange:e.sidx.byterange})},a)}))}dispose(){this.trigger("dispose"),this.stopRequest(),this.loadedPlaylists_={},i().clearTimeout(this.minimumUpdatePeriodTimeout_),i().clearTimeout(this.mediaRequest_),i().clearTimeout(this.mediaUpdateTimeout),this.mediaUpdateTimeout=null,this.mediaRequest_=null,this.minimumUpdatePeriodTimeout_=null,this.mainPlaylistLoader_.createMupOnMedia_&&(this.off("loadedmetadata",this.mainPlaylistLoader_.createMupOnMedia_),this.mainPlaylistLoader_.createMupOnMedia_=null),this.off()}hasPendingRequest(){return this.request||this.mediaRequest_}stopRequest(){if(this.request){const e=this.request;this.request=null,e.onreadystatechange=null,e.abort()}}media(e){if(!e)return this.media_;if("HAVE_NOTHING"===this.state)throw new Error("Cannot switch media playlist from "+this.state);const t=this.state;if("string"==typeof e){if(!this.mainPlaylistLoader_.main.playlists[e])throw new Error("Unknown playlist URI: "+e);e=this.mainPlaylistLoader_.main.playlists[e]}const n=!this.media_||e.id!==this.media_.id;if(n&&this.loadedPlaylists_[e.id]&&this.loadedPlaylists_[e.id].endList)return this.state="HAVE_METADATA",this.media_=e,void(n&&(this.trigger("mediachanging"),this.trigger("mediachange")));n&&(this.media_&&this.trigger("mediachanging"),this.addSidxSegments_(e,t,(n=>{this.haveMetadata({startingState:t,playlist:e})})))}haveMetadata({startingState:e,playlist:t}){this.state="HAVE_METADATA",this.loadedPlaylists_[t.id]=t,this.mediaRequest_=null,this.refreshMedia_(t.id),"HAVE_MAIN_MANIFEST"===e?this.trigger("loadedmetadata"):this.trigger("mediachange")}pause(){this.mainPlaylistLoader_.createMupOnMedia_&&(this.off("loadedmetadata",this.mainPlaylistLoader_.createMupOnMedia_),this.mainPlaylistLoader_.createMupOnMedia_=null),this.stopRequest(),i().clearTimeout(this.mediaUpdateTimeout),this.mediaUpdateTimeout=null,this.isMain_&&(i().clearTimeout(this.mainPlaylistLoader_.minimumUpdatePeriodTimeout_),this.mainPlaylistLoader_.minimumUpdatePeriodTimeout_=null),"HAVE_NOTHING"===this.state&&(this.started=!1)}load(e){i().clearTimeout(this.mediaUpdateTimeout),this.mediaUpdateTimeout=null;const t=this.media();if(e){const e=t?t.targetDuration/2*1e3:5e3;this.mediaUpdateTimeout=i().setTimeout((()=>this.load()),e)}else this.started?t&&!t.endList?(this.isMain_&&!this.minimumUpdatePeriodTimeout_&&(this.trigger("minimumUpdatePeriod"),this.updateMinimumUpdatePeriodTimeout_()),this.trigger("mediaupdatetimeout")):this.trigger("loadedplaylist"):this.start()}start(){this.started=!0,this.isMain_?this.requestMain_(((e,t)=>{this.haveMain_(),this.hasPendingRequest()||this.media_||this.media(this.mainPlaylistLoader_.main.playlists[0])})):this.mediaRequest_=i().setTimeout((()=>this.haveMain_()),0)}requestMain_(e){this.request=this.vhs_.xhr({uri:this.mainPlaylistLoader_.srcUrl,withCredentials:this.withCredentials},((t,n)=>{if(this.requestErrored_(t,n))return void("HAVE_NOTHING"===this.state&&(this.started=!1));const r=n.responseText!==this.mainPlaylistLoader_.mainXml_;return this.mainPlaylistLoader_.mainXml_=n.responseText,n.responseHeaders&&n.responseHeaders.date?this.mainLoaded_=Date.parse(n.responseHeaders.date):this.mainLoaded_=Date.now(),this.mainPlaylistLoader_.srcUrl=La(this.mainPlaylistLoader_.srcUrl,n),r?(this.handleMain_(),void this.syncClientServerClock_((()=>e(n,r)))):e(n,r)}))}syncClientServerClock_(e){const t=et(this.mainPlaylistLoader_.mainXml_);return null===t?(this.mainPlaylistLoader_.clientOffset_=this.mainLoaded_-Date.now(),e()):"DIRECT"===t.method?(this.mainPlaylistLoader_.clientOffset_=t.value-Date.now(),e()):void(this.request=this.vhs_.xhr({uri:Ca(this.mainPlaylistLoader_.srcUrl,t.value),method:t.method,withCredentials:this.withCredentials},((n,r)=>{if(!this.request)return;if(n)return this.mainPlaylistLoader_.clientOffset_=this.mainLoaded_-Date.now(),e();let i;i="HEAD"===t.method?r.responseHeaders&&r.responseHeaders.date?Date.parse(r.responseHeaders.date):this.mainLoaded_:Date.parse(r.responseText),this.mainPlaylistLoader_.clientOffset_=i-Date.now(),e()})))}haveMain_(){this.state="HAVE_MAIN_MANIFEST",this.isMain_?this.trigger("loadedplaylist"):this.media_||this.media(this.childPlaylist_)}handleMain_(){this.mediaRequest_=null;const e=this.mainPlaylistLoader_.main;let t=(({mainXml:e,srcUrl:t,clientOffset:n,sidxMapping:r,previousManifest:i})=>{const o=Je(e,{manifestUri:t,clientOffset:n,sidxMapping:r,previousManifest:i});return fs(o,t,Bs),o})({mainXml:this.mainPlaylistLoader_.mainXml_,srcUrl:this.mainPlaylistLoader_.srcUrl,clientOffset:this.mainPlaylistLoader_.clientOffset_,sidxMapping:this.mainPlaylistLoader_.sidxMapping_,previousManifest:e});e&&(t=Us(e,t,this.mainPlaylistLoader_.sidxMapping_)),this.mainPlaylistLoader_.main=t||e;const n=this.mainPlaylistLoader_.main.locations&&this.mainPlaylistLoader_.main.locations[0];return n&&n!==this.mainPlaylistLoader_.srcUrl&&(this.mainPlaylistLoader_.srcUrl=n),(!e||t&&t.minimumUpdatePeriod!==e.minimumUpdatePeriod)&&this.updateMinimumUpdatePeriodTimeout_(),Boolean(t)}updateMinimumUpdatePeriodTimeout_(){const e=this.mainPlaylistLoader_;e.createMupOnMedia_&&(e.off("loadedmetadata",e.createMupOnMedia_),e.createMupOnMedia_=null),e.minimumUpdatePeriodTimeout_&&(i().clearTimeout(e.minimumUpdatePeriodTimeout_),e.minimumUpdatePeriodTimeout_=null);let t=e.main&&e.main.minimumUpdatePeriod;0===t&&(e.media()?t=1e3*e.media().targetDuration:(e.createMupOnMedia_=e.updateMinimumUpdatePeriodTimeout_,e.one("loadedmetadata",e.createMupOnMedia_))),"number"!=typeof t||t<=0?t<0&&this.logger_(`found invalid minimumUpdatePeriod of ${t}, not setting a timeout`):this.createMUPTimeout_(t)}createMUPTimeout_(e){const t=this.mainPlaylistLoader_;t.minimumUpdatePeriodTimeout_=i().setTimeout((()=>{t.minimumUpdatePeriodTimeout_=null,t.trigger("minimumUpdatePeriod"),t.createMUPTimeout_(e)}),e)}refreshXml_(){this.requestMain_(((e,t)=>{t&&(this.media_&&(this.media_=this.mainPlaylistLoader_.main.playlists[this.media_.id]),this.mainPlaylistLoader_.sidxMapping_=((e,t)=>{let n=zs(e.playlists,t);return cs(e,((e,r,i,o)=>{if(e.playlists&&e.playlists.length){const r=e.playlists;n=Ia(n,zs(r,t))}})),n})(this.mainPlaylistLoader_.main,this.mainPlaylistLoader_.sidxMapping_),this.addSidxSegments_(this.media(),this.state,(e=>{this.refreshMedia_(this.media().id)})))}))}refreshMedia_(e){if(!e)throw new Error("refreshMedia_ must take a media id");this.media_&&this.isMain_&&this.handleMain_();const t=this.mainPlaylistLoader_.main.playlists,n=!this.media_||this.media_!==t[e];if(n?this.media_=t[e]:this.trigger("playlistunchanged"),!this.mediaUpdateTimeout){const e=()=>{this.media().endList||(this.mediaUpdateTimeout=i().setTimeout((()=>{this.trigger("mediaupdatetimeout"),e()}),vs(this.media(),Boolean(n))))};e()}this.trigger("loadedplaylist")}}var Zs={GOAL_BUFFER_LENGTH:30,MAX_GOAL_BUFFER_LENGTH:60,BACK_BUFFER_LENGTH:30,GOAL_BUFFER_LENGTH_RATE:1,INITIAL_BANDWIDTH:4194304,BANDWIDTH_VARIANCE:1.2,BUFFER_LOW_WATER_LINE:0,MAX_BUFFER_LOW_WATER_LINE:30,EXPERIMENTAL_MAX_BUFFER_LOW_WATER_LINE:16,BUFFER_LOW_WATER_LINE_RATE:1,BUFFER_HIGH_WATER_LINE:30};const qs=function(e){return e.on=e.addEventListener,e.off=e.removeEventListener,e},Vs=function(e){return function(){const t=function(e){try{return URL.createObjectURL(new Blob([e],{type:"application/javascript"}))}catch(t){const n=new BlobBuilder;return n.append(e),URL.createObjectURL(n.getBlob())}}(e),n=qs(new Worker(t));n.objURL=t;const r=n.terminate;return n.on=n.addEventListener,n.off=n.removeEventListener,n.terminate=function(){return URL.revokeObjectURL(t),r.call(this)},n}},Ws=function(e){return`var browserWorkerPolyFill = ${qs.toString()};\nbrowserWorkerPolyFill(self);\n`+e},Gs=function(e){return e.toString().replace(/^function.+?{/,"").slice(0,-1)},$s=Ws(Gs((function(){var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==n.g?n.g:"undefined"!=typeof self?self:{},t=function(){this.init=function(){var e={};this.on=function(t,n){e[t]||(e[t]=[]),e[t]=e[t].concat(n)},this.off=function(t,n){var r;return!!e[t]&&(r=e[t].indexOf(n),e[t]=e[t].slice(),e[t].splice(r,1),r>-1)},this.trigger=function(t){var n,r,i,o;if(n=e[t])if(2===arguments.length)for(i=n.length,r=0;r<i;++r)n[r].call(this,arguments[1]);else{for(o=[],r=arguments.length,r=1;r<arguments.length;++r)o.push(arguments[r]);for(i=n.length,r=0;r<i;++r)n[r].apply(this,o)}},this.dispose=function(){e={}}}};t.prototype.pipe=function(e){return this.on("data",(function(t){e.push(t)})),this.on("done",(function(t){e.flush(t)})),this.on("partialdone",(function(t){e.partialFlush(t)})),this.on("endedtimeline",(function(t){e.endTimeline(t)})),this.on("reset",(function(t){e.reset(t)})),e},t.prototype.push=function(e){this.trigger("data",e)},t.prototype.flush=function(e){this.trigger("done",e)},t.prototype.partialFlush=function(e){this.trigger("partialdone",e)},t.prototype.endTimeline=function(e){this.trigger("endedtimeline",e)},t.prototype.reset=function(e){this.trigger("reset",e)};var r,i,o,a,s,u,c,l,f,d,p,h,g,m,y,v,b,_,w,T,x,S,k,E,O,C,L,A,I,P,M,R,j,D,N,B,U,F,z,H,Z=t,q=Math.pow(2,32),V={getUint64:function(e){var t,n=new DataView(e.buffer,e.byteOffset,e.byteLength);return n.getBigUint64?(t=n.getBigUint64(0))<Number.MAX_SAFE_INTEGER?Number(t):t:n.getUint32(0)*q+n.getUint32(4)},MAX_UINT32:q},W=V.MAX_UINT32;!function(){var e;if(S={avc1:[],avcC:[],btrt:[],dinf:[],dref:[],esds:[],ftyp:[],hdlr:[],mdat:[],mdhd:[],mdia:[],mfhd:[],minf:[],moof:[],moov:[],mp4a:[],mvex:[],mvhd:[],pasp:[],sdtp:[],smhd:[],stbl:[],stco:[],stsc:[],stsd:[],stsz:[],stts:[],styp:[],tfdt:[],tfhd:[],traf:[],trak:[],trun:[],trex:[],tkhd:[],vmhd:[]},"undefined"!=typeof Uint8Array){for(e in S)S.hasOwnProperty(e)&&(S[e]=[e.charCodeAt(0),e.charCodeAt(1),e.charCodeAt(2),e.charCodeAt(3)]);k=new Uint8Array(["i".charCodeAt(0),"s".charCodeAt(0),"o".charCodeAt(0),"m".charCodeAt(0)]),O=new Uint8Array(["a".charCodeAt(0),"v".charCodeAt(0),"c".charCodeAt(0),"1".charCodeAt(0)]),E=new Uint8Array([0,0,0,1]),C=new Uint8Array([0,0,0,0,0,0,0,0,118,105,100,101,0,0,0,0,0,0,0,0,0,0,0,0,86,105,100,101,111,72,97,110,100,108,101,114,0]),L=new Uint8Array([0,0,0,0,0,0,0,0,115,111,117,110,0,0,0,0,0,0,0,0,0,0,0,0,83,111,117,110,100,72,97,110,100,108,101,114,0]),A={video:C,audio:L},M=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,12,117,114,108,32,0,0,0,1]),P=new Uint8Array([0,0,0,0,0,0,0,0]),R=new Uint8Array([0,0,0,0,0,0,0,0]),j=R,D=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0]),N=R,I=new Uint8Array([0,0,0,1,0,0,0,0,0,0,0,0])}}(),r=function(e){var t,n,r=[],i=0;for(t=1;t<arguments.length;t++)r.push(arguments[t]);for(t=r.length;t--;)i+=r[t].byteLength;for(n=new Uint8Array(i+8),new DataView(n.buffer,n.byteOffset,n.byteLength).setUint32(0,n.byteLength),n.set(e,4),t=0,i=8;t<r.length;t++)n.set(r[t],i),i+=r[t].byteLength;return n},i=function(){return r(S.dinf,r(S.dref,M))},o=function(e){return r(S.esds,new Uint8Array([0,0,0,0,3,25,0,0,0,4,17,64,21,0,6,0,0,0,218,192,0,0,218,192,5,2,e.audioobjecttype<<3|e.samplingfrequencyindex>>>1,e.samplingfrequencyindex<<7|e.channelcount<<3,6,1,2]))},y=function(e){return r(S.hdlr,A[e])},m=function(e){var t=new Uint8Array([0,0,0,0,0,0,0,2,0,0,0,3,0,1,95,144,e.duration>>>24&255,e.duration>>>16&255,e.duration>>>8&255,255&e.duration,85,196,0,0]);return e.samplerate&&(t[12]=e.samplerate>>>24&255,t[13]=e.samplerate>>>16&255,t[14]=e.samplerate>>>8&255,t[15]=255&e.samplerate),r(S.mdhd,t)},g=function(e){return r(S.mdia,m(e),y(e.type),u(e))},s=function(e){return r(S.mfhd,new Uint8Array([0,0,0,0,(4278190080&e)>>24,(16711680&e)>>16,(65280&e)>>8,255&e]))},u=function(e){return r(S.minf,"video"===e.type?r(S.vmhd,I):r(S.smhd,P),i(),b(e))},c=function(e,t){for(var n=[],i=t.length;i--;)n[i]=w(t[i]);return r.apply(null,[S.moof,s(e)].concat(n))},l=function(e){for(var t=e.length,n=[];t--;)n[t]=p(e[t]);return r.apply(null,[S.moov,d(4294967295)].concat(n).concat(f(e)))},f=function(e){for(var t=e.length,n=[];t--;)n[t]=T(e[t]);return r.apply(null,[S.mvex].concat(n))},d=function(e){var t=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,2,0,1,95,144,(4278190080&e)>>24,(16711680&e)>>16,(65280&e)>>8,255&e,0,1,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,64,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,255,255,255,255]);return r(S.mvhd,t)},v=function(e){var t,n,i=e.samples||[],o=new Uint8Array(4+i.length);for(n=0;n<i.length;n++)t=i[n].flags,o[n+4]=t.dependsOn<<4|t.isDependedOn<<2|t.hasRedundancy;return r(S.sdtp,o)},b=function(e){return r(S.stbl,_(e),r(S.stts,N),r(S.stsc,j),r(S.stsz,D),r(S.stco,R))},_=function(e){return r(S.stsd,new Uint8Array([0,0,0,0,0,0,0,1]),"video"===e.type?B(e):U(e))},B=function(e){var t,n,i=e.sps||[],o=e.pps||[],a=[],s=[];for(t=0;t<i.length;t++)a.push((65280&i[t].byteLength)>>>8),a.push(255&i[t].byteLength),a=a.concat(Array.prototype.slice.call(i[t]));for(t=0;t<o.length;t++)s.push((65280&o[t].byteLength)>>>8),s.push(255&o[t].byteLength),s=s.concat(Array.prototype.slice.call(o[t]));if(n=[S.avc1,new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,(65280&e.width)>>8,255&e.width,(65280&e.height)>>8,255&e.height,0,72,0,0,0,72,0,0,0,0,0,0,0,1,19,118,105,100,101,111,106,115,45,99,111,110,116,114,105,98,45,104,108,115,0,0,0,0,0,0,0,0,0,0,0,0,0,24,17,17]),r(S.avcC,new Uint8Array([1,e.profileIdc,e.profileCompatibility,e.levelIdc,255].concat([i.length],a,[o.length],s))),r(S.btrt,new Uint8Array([0,28,156,128,0,45,198,192,0,45,198,192]))],e.sarRatio){var u=e.sarRatio[0],c=e.sarRatio[1];n.push(r(S.pasp,new Uint8Array([(4278190080&u)>>24,(16711680&u)>>16,(65280&u)>>8,255&u,(4278190080&c)>>24,(16711680&c)>>16,(65280&c)>>8,255&c])))}return r.apply(null,n)},U=function(e){return r(S.mp4a,new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,(65280&e.channelcount)>>8,255&e.channelcount,(65280&e.samplesize)>>8,255&e.samplesize,0,0,0,0,(65280&e.samplerate)>>8,255&e.samplerate,0,0]),o(e))},h=function(e){var t=new Uint8Array([0,0,0,7,0,0,0,0,0,0,0,0,(4278190080&e.id)>>24,(16711680&e.id)>>16,(65280&e.id)>>8,255&e.id,0,0,0,0,(4278190080&e.duration)>>24,(16711680&e.duration)>>16,(65280&e.duration)>>8,255&e.duration,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,64,0,0,0,(65280&e.width)>>8,255&e.width,0,0,(65280&e.height)>>8,255&e.height,0,0]);return r(S.tkhd,t)},w=function(e){var t,n,i,o,a,s;return t=r(S.tfhd,new Uint8Array([0,0,0,58,(4278190080&e.id)>>24,(16711680&e.id)>>16,(65280&e.id)>>8,255&e.id,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0])),a=Math.floor(e.baseMediaDecodeTime/W),s=Math.floor(e.baseMediaDecodeTime%W),n=r(S.tfdt,new Uint8Array([1,0,0,0,a>>>24&255,a>>>16&255,a>>>8&255,255&a,s>>>24&255,s>>>16&255,s>>>8&255,255&s])),92,"audio"===e.type?(i=x(e,92),r(S.traf,t,n,i)):(o=v(e),i=x(e,o.length+92),r(S.traf,t,n,i,o))},p=function(e){return e.duration=e.duration||4294967295,r(S.trak,h(e),g(e))},T=function(e){var t=new Uint8Array([0,0,0,0,(4278190080&e.id)>>24,(16711680&e.id)>>16,(65280&e.id)>>8,255&e.id,0,0,0,1,0,0,0,0,0,0,0,0,0,1,0,1]);return"video"!==e.type&&(t[t.length-1]=0),r(S.trex,t)},H=function(e,t){var n=0,r=0,i=0,o=0;return e.length&&(void 0!==e[0].duration&&(n=1),void 0!==e[0].size&&(r=2),void 0!==e[0].flags&&(i=4),void 0!==e[0].compositionTimeOffset&&(o=8)),[0,0,n|r|i|o,1,(4278190080&e.length)>>>24,(16711680&e.length)>>>16,(65280&e.length)>>>8,255&e.length,(4278190080&t)>>>24,(16711680&t)>>>16,(65280&t)>>>8,255&t]},z=function(e,t){var n,i,o,a,s,u;for(t+=20+16*(a=e.samples||[]).length,o=H(a,t),(i=new Uint8Array(o.length+16*a.length)).set(o),n=o.length,u=0;u<a.length;u++)s=a[u],i[n++]=(4278190080&s.duration)>>>24,i[n++]=(16711680&s.duration)>>>16,i[n++]=(65280&s.duration)>>>8,i[n++]=255&s.duration,i[n++]=(4278190080&s.size)>>>24,i[n++]=(16711680&s.size)>>>16,i[n++]=(65280&s.size)>>>8,i[n++]=255&s.size,i[n++]=s.flags.isLeading<<2|s.flags.dependsOn,i[n++]=s.flags.isDependedOn<<6|s.flags.hasRedundancy<<4|s.flags.paddingValue<<1|s.flags.isNonSyncSample,i[n++]=61440&s.flags.degradationPriority,i[n++]=15&s.flags.degradationPriority,i[n++]=(4278190080&s.compositionTimeOffset)>>>24,i[n++]=(16711680&s.compositionTimeOffset)>>>16,i[n++]=(65280&s.compositionTimeOffset)>>>8,i[n++]=255&s.compositionTimeOffset;return r(S.trun,i)},F=function(e,t){var n,i,o,a,s,u;for(t+=20+8*(a=e.samples||[]).length,o=H(a,t),(n=new Uint8Array(o.length+8*a.length)).set(o),i=o.length,u=0;u<a.length;u++)s=a[u],n[i++]=(4278190080&s.duration)>>>24,n[i++]=(16711680&s.duration)>>>16,n[i++]=(65280&s.duration)>>>8,n[i++]=255&s.duration,n[i++]=(4278190080&s.size)>>>24,n[i++]=(16711680&s.size)>>>16,n[i++]=(65280&s.size)>>>8,n[i++]=255&s.size;return r(S.trun,n)},x=function(e,t){return"audio"===e.type?F(e,t):z(e,t)};var G,$,Y,K,X,Q,J,ee,te={ftyp:a=function(){return r(S.ftyp,k,E,k,O)},mdat:function(e){return r(S.mdat,e)},moof:c,moov:l,initSegment:function(e){var t,n=a(),r=l(e);return(t=new Uint8Array(n.byteLength+r.byteLength)).set(n),t.set(r,n.byteLength),t}},ne=function(e,t){var n={size:0,flags:{isLeading:0,dependsOn:1,isDependedOn:0,hasRedundancy:0,degradationPriority:0,isNonSyncSample:1}};return n.dataOffset=t,n.compositionTimeOffset=e.pts-e.dts,n.duration=e.duration,n.size=4*e.length,n.size+=e.byteLength,e.keyFrame&&(n.flags.dependsOn=2,n.flags.isNonSyncSample=0),n},re={groupNalsIntoFrames:function(e){var t,n,r=[],i=[];for(i.byteLength=0,i.nalCount=0,i.duration=0,r.byteLength=0,t=0;t<e.length;t++)"access_unit_delimiter_rbsp"===(n=e[t]).nalUnitType?(r.length&&(r.duration=n.dts-r.dts,i.byteLength+=r.byteLength,i.nalCount+=r.length,i.duration+=r.duration,i.push(r)),(r=[n]).byteLength=n.data.byteLength,r.pts=n.pts,r.dts=n.dts):("slice_layer_without_partitioning_rbsp_idr"===n.nalUnitType&&(r.keyFrame=!0),r.duration=n.dts-r.dts,r.byteLength+=n.data.byteLength,r.push(n));return i.length&&(!r.duration||r.duration<=0)&&(r.duration=i[i.length-1].duration),i.byteLength+=r.byteLength,i.nalCount+=r.length,i.duration+=r.duration,i.push(r),i},groupFramesIntoGops:function(e){var t,n,r=[],i=[];for(r.byteLength=0,r.nalCount=0,r.duration=0,r.pts=e[0].pts,r.dts=e[0].dts,i.byteLength=0,i.nalCount=0,i.duration=0,i.pts=e[0].pts,i.dts=e[0].dts,t=0;t<e.length;t++)(n=e[t]).keyFrame?(r.length&&(i.push(r),i.byteLength+=r.byteLength,i.nalCount+=r.nalCount,i.duration+=r.duration),(r=[n]).nalCount=n.length,r.byteLength=n.byteLength,r.pts=n.pts,r.dts=n.dts,r.duration=n.duration):(r.duration+=n.duration,r.nalCount+=n.length,r.byteLength+=n.byteLength,r.push(n));return i.length&&r.duration<=0&&(r.duration=i[i.length-1].duration),i.byteLength+=r.byteLength,i.nalCount+=r.nalCount,i.duration+=r.duration,i.push(r),i},extendFirstKeyFrame:function(e){var t;return!e[0][0].keyFrame&&e.length>1&&(t=e.shift(),e.byteLength-=t.byteLength,e.nalCount-=t.nalCount,e[0][0].dts=t.dts,e[0][0].pts=t.pts,e[0][0].duration+=t.duration),e},generateSampleTable:function(e,t){var n,r,i,o,a,s=t||0,u=[];for(n=0;n<e.length;n++)for(o=e[n],r=0;r<o.length;r++)a=o[r],s+=(i=ne(a,s)).size,u.push(i);return u},concatenateNalData:function(e){var t,n,r,i,o,a,s=0,u=e.byteLength,c=e.nalCount,l=new Uint8Array(u+4*c),f=new DataView(l.buffer);for(t=0;t<e.length;t++)for(i=e[t],n=0;n<i.length;n++)for(o=i[n],r=0;r<o.length;r++)a=o[r],f.setUint32(s,a.data.byteLength),s+=4,l.set(a.data,s),s+=a.data.byteLength;return l},generateSampleTableForFrame:function(e,t){var n,r=[];return n=ne(e,t||0),r.push(n),r},concatenateNalDataForFrame:function(e){var t,n,r=0,i=e.byteLength,o=e.length,a=new Uint8Array(i+4*o),s=new DataView(a.buffer);for(t=0;t<e.length;t++)n=e[t],s.setUint32(r,n.data.byteLength),r+=4,a.set(n.data,r),r+=n.data.byteLength;return a}},ie=[33,16,5,32,164,27],oe=[33,65,108,84,1,2,4,8,168,2,4,8,17,191,252],ae=function(e){for(var t=[];e--;)t.push(0);return t},se=9e4;Q=function(e,t){return $(X(e,t))},J=function(e,t){return Y(K(e),t)},ee=function(e,t,n){return K(n?e:e-t)};var ue={ONE_SECOND_IN_TS:se,secondsToVideoTs:$=function(e){return e*se},secondsToAudioTs:Y=function(e,t){return e*t},videoTsToSeconds:K=function(e){return e/se},audioTsToSeconds:X=function(e,t){return e/t},audioTsToVideoTs:Q,videoTsToAudioTs:J,metadataTsToSeconds:ee},ce=function(){if(!G){var e={96e3:[ie,[227,64],ae(154),[56]],88200:[ie,[231],ae(170),[56]],64e3:[ie,[248,192],ae(240),[56]],48e3:[ie,[255,192],ae(268),[55,148,128],ae(54),[112]],44100:[ie,[255,192],ae(268),[55,163,128],ae(84),[112]],32e3:[ie,[255,192],ae(268),[55,234],ae(226),[112]],24e3:[ie,[255,192],ae(268),[55,255,128],ae(268),[111,112],ae(126),[224]],16e3:[ie,[255,192],ae(268),[55,255,128],ae(268),[111,255],ae(269),[223,108],ae(195),[1,192]],12e3:[oe,ae(268),[3,127,248],ae(268),[6,255,240],ae(268),[13,255,224],ae(268),[27,253,128],ae(259),[56]],11025:[oe,ae(268),[3,127,248],ae(268),[6,255,240],ae(268),[13,255,224],ae(268),[27,255,192],ae(268),[55,175,128],ae(108),[112]],8e3:[oe,ae(268),[3,121,16],ae(47),[7]]};t=e,G=Object.keys(t).reduce((function(e,n){return e[n]=new Uint8Array(t[n].reduce((function(e,t){return e.concat(t)}),[])),e}),{})}var t;return G},le=ue,fe={prefixWithSilence:function(e,t,n,r){var i,o,a,s,u,c=0,l=0,f=0;if(t.length&&(i=le.audioTsToVideoTs(e.baseMediaDecodeTime,e.samplerate),o=Math.ceil(le.ONE_SECOND_IN_TS/(e.samplerate/1024)),n&&r&&(c=i-Math.max(n,r),f=(l=Math.floor(c/o))*o),!(l<1||f>le.ONE_SECOND_IN_TS/2))){for((a=ce()[e.samplerate])||(a=t[0].data),s=0;s<l;s++)u=t[0],t.splice(0,0,{data:a,dts:u.dts-o,pts:u.pts-o});return e.baseMediaDecodeTime-=Math.floor(le.videoTsToAudioTs(f,e.samplerate)),f}},trimAdtsFramesByEarliestDts:function(e,t,n){return t.minSegmentDts>=n?e:(t.minSegmentDts=1/0,e.filter((function(e){return e.dts>=n&&(t.minSegmentDts=Math.min(t.minSegmentDts,e.dts),t.minSegmentPts=t.minSegmentDts,!0)})))},generateSampleTable:function(e){var t,n,r=[];for(t=0;t<e.length;t++)n=e[t],r.push({size:n.data.byteLength,duration:1024});return r},concatenateFrameData:function(e){var t,n,r=0,i=new Uint8Array(function(e){var t,n=0;for(t=0;t<e.length;t++)n+=e[t].data.byteLength;return n}(e));for(t=0;t<e.length;t++)n=e[t],i.set(n.data,r),r+=n.data.byteLength;return i}},de=ue.ONE_SECOND_IN_TS,pe={clearDtsInfo:function(e){delete e.minSegmentDts,delete e.maxSegmentDts,delete e.minSegmentPts,delete e.maxSegmentPts},calculateTrackBaseMediaDecodeTime:function(e,t){var n,r=e.minSegmentDts;return t||(r-=e.timelineStartInfo.dts),n=e.timelineStartInfo.baseMediaDecodeTime,n+=r,n=Math.max(0,n),"audio"===e.type&&(n*=e.samplerate/de,n=Math.floor(n)),n},collectDtsInfo:function(e,t){"number"==typeof t.pts&&(void 0===e.timelineStartInfo.pts&&(e.timelineStartInfo.pts=t.pts),void 0===e.minSegmentPts?e.minSegmentPts=t.pts:e.minSegmentPts=Math.min(e.minSegmentPts,t.pts),void 0===e.maxSegmentPts?e.maxSegmentPts=t.pts:e.maxSegmentPts=Math.max(e.maxSegmentPts,t.pts)),"number"==typeof t.dts&&(void 0===e.timelineStartInfo.dts&&(e.timelineStartInfo.dts=t.dts),void 0===e.minSegmentDts?e.minSegmentDts=t.dts:e.minSegmentDts=Math.min(e.minSegmentDts,t.dts),void 0===e.maxSegmentDts?e.maxSegmentDts=t.dts:e.maxSegmentDts=Math.max(e.maxSegmentDts,t.dts))}},he={parseSei:function(e){for(var t=0,n={payloadType:-1,payloadSize:0},r=0,i=0;t<e.byteLength&&128!==e[t];){for(;255===e[t];)r+=255,t++;for(r+=e[t++];255===e[t];)i+=255,t++;if(i+=e[t++],!n.payload&&4===r){if("GA94"===String.fromCharCode(e[t+3],e[t+4],e[t+5],e[t+6])){n.payloadType=r,n.payloadSize=i,n.payload=e.subarray(t,t+i);break}n.payload=void 0}t+=i,r=0,i=0}return n},parseUserData:function(e){return 181!==e.payload[0]||49!=(e.payload[1]<<8|e.payload[2])||"GA94"!==String.fromCharCode(e.payload[3],e.payload[4],e.payload[5],e.payload[6])||3!==e.payload[7]?null:e.payload.subarray(8,e.payload.length-1)},parseCaptionPackets:function(e,t){var n,r,i,o,a=[];if(!(64&t[0]))return a;for(r=31&t[0],n=0;n<r;n++)o={type:3&t[(i=3*n)+2],pts:e},4&t[i+2]&&(o.ccData=t[i+3]<<8|t[i+4],a.push(o));return a},discardEmulationPreventionBytes:function(e){for(var t,n,r=e.byteLength,i=[],o=1;o<r-2;)0===e[o]&&0===e[o+1]&&3===e[o+2]?(i.push(o+2),o+=2):o++;if(0===i.length)return e;t=r-i.length,n=new Uint8Array(t);var a=0;for(o=0;o<t;a++,o++)a===i[0]&&(a++,i.shift()),n[o]=e[a];return n},USER_DATA_REGISTERED_ITU_T_T35:4},ge=Z,me=he,ye=function(e){e=e||{},ye.prototype.init.call(this),this.parse708captions_="boolean"!=typeof e.parse708captions||e.parse708captions,this.captionPackets_=[],this.ccStreams_=[new Oe(0,0),new Oe(0,1),new Oe(1,0),new Oe(1,1)],this.parse708captions_&&(this.cc708Stream_=new Te({captionServices:e.captionServices})),this.reset(),this.ccStreams_.forEach((function(e){e.on("data",this.trigger.bind(this,"data")),e.on("partialdone",this.trigger.bind(this,"partialdone")),e.on("done",this.trigger.bind(this,"done"))}),this),this.parse708captions_&&(this.cc708Stream_.on("data",this.trigger.bind(this,"data")),this.cc708Stream_.on("partialdone",this.trigger.bind(this,"partialdone")),this.cc708Stream_.on("done",this.trigger.bind(this,"done")))};ye.prototype=new ge,ye.prototype.push=function(e){var t,n,r;if("sei_rbsp"===e.nalUnitType&&(t=me.parseSei(e.escapedRBSP)).payload&&t.payloadType===me.USER_DATA_REGISTERED_ITU_T_T35&&(n=me.parseUserData(t)))if(e.dts<this.latestDts_)this.ignoreNextEqualDts_=!0;else{if(e.dts===this.latestDts_&&this.ignoreNextEqualDts_)return this.numSameDts_--,void(this.numSameDts_||(this.ignoreNextEqualDts_=!1));r=me.parseCaptionPackets(e.pts,n),this.captionPackets_=this.captionPackets_.concat(r),this.latestDts_!==e.dts&&(this.numSameDts_=0),this.numSameDts_++,this.latestDts_=e.dts}},ye.prototype.flushCCStreams=function(e){this.ccStreams_.forEach((function(t){return"flush"===e?t.flush():t.partialFlush()}),this)},ye.prototype.flushStream=function(e){this.captionPackets_.length?(this.captionPackets_.forEach((function(e,t){e.presortIndex=t})),this.captionPackets_.sort((function(e,t){return e.pts===t.pts?e.presortIndex-t.presortIndex:e.pts-t.pts})),this.captionPackets_.forEach((function(e){e.type<2?this.dispatchCea608Packet(e):this.dispatchCea708Packet(e)}),this),this.captionPackets_.length=0,this.flushCCStreams(e)):this.flushCCStreams(e)},ye.prototype.flush=function(){return this.flushStream("flush")},ye.prototype.partialFlush=function(){return this.flushStream("partialFlush")},ye.prototype.reset=function(){this.latestDts_=null,this.ignoreNextEqualDts_=!1,this.numSameDts_=0,this.activeCea608Channel_=[null,null],this.ccStreams_.forEach((function(e){e.reset()}))},ye.prototype.dispatchCea608Packet=function(e){this.setsTextOrXDSActive(e)?this.activeCea608Channel_[e.type]=null:this.setsChannel1Active(e)?this.activeCea608Channel_[e.type]=0:this.setsChannel2Active(e)&&(this.activeCea608Channel_[e.type]=1),null!==this.activeCea608Channel_[e.type]&&this.ccStreams_[(e.type<<1)+this.activeCea608Channel_[e.type]].push(e)},ye.prototype.setsChannel1Active=function(e){return 4096==(30720&e.ccData)},ye.prototype.setsChannel2Active=function(e){return 6144==(30720&e.ccData)},ye.prototype.setsTextOrXDSActive=function(e){return 256==(28928&e.ccData)||4138==(30974&e.ccData)||6186==(30974&e.ccData)},ye.prototype.dispatchCea708Packet=function(e){this.parse708captions_&&this.cc708Stream_.push(e)};var ve={127:9834,4128:32,4129:160,4133:8230,4138:352,4140:338,4144:9608,4145:8216,4146:8217,4147:8220,4148:8221,4149:8226,4153:8482,4154:353,4156:339,4157:8480,4159:376,4214:8539,4215:8540,4216:8541,4217:8542,4218:9168,4219:9124,4220:9123,4221:9135,4222:9126,4223:9121,4256:12600},be=function(e){return 32<=e&&e<=127||160<=e&&e<=255},_e=function(e){this.windowNum=e,this.reset()};_e.prototype.reset=function(){this.clearText(),this.pendingNewLine=!1,this.winAttr={},this.penAttr={},this.penLoc={},this.penColor={},this.visible=0,this.rowLock=0,this.columnLock=0,this.priority=0,this.relativePositioning=0,this.anchorVertical=0,this.anchorHorizontal=0,this.anchorPoint=0,this.rowCount=1,this.virtualRowCount=this.rowCount+1,this.columnCount=41,this.windowStyle=0,this.penStyle=0},_e.prototype.getText=function(){return this.rows.join("\n")},_e.prototype.clearText=function(){this.rows=[""],this.rowIdx=0},_e.prototype.newLine=function(e){for(this.rows.length>=this.virtualRowCount&&"function"==typeof this.beforeRowOverflow&&this.beforeRowOverflow(e),this.rows.length>0&&(this.rows.push(""),this.rowIdx++);this.rows.length>this.virtualRowCount;)this.rows.shift(),this.rowIdx--},_e.prototype.isEmpty=function(){return 0===this.rows.length||1===this.rows.length&&""===this.rows[0]},_e.prototype.addText=function(e){this.rows[this.rowIdx]+=e},_e.prototype.backspace=function(){if(!this.isEmpty()){var e=this.rows[this.rowIdx];this.rows[this.rowIdx]=e.substr(0,e.length-1)}};var we=function(e,t,n){this.serviceNum=e,this.text="",this.currentWindow=new _e(-1),this.windows=[],this.stream=n,"string"==typeof t&&this.createTextDecoder(t)};we.prototype.init=function(e,t){this.startPts=e;for(var n=0;n<8;n++)this.windows[n]=new _e(n),"function"==typeof t&&(this.windows[n].beforeRowOverflow=t)},we.prototype.setCurrentWindow=function(e){this.currentWindow=this.windows[e]},we.prototype.createTextDecoder=function(e){if("undefined"==typeof TextDecoder)this.stream.trigger("log",{level:"warn",message:"The `encoding` option is unsupported without TextDecoder support"});else try{this.textDecoder_=new TextDecoder(e)}catch(t){this.stream.trigger("log",{level:"warn",message:"TextDecoder could not be created with "+e+" encoding. "+t})}};var Te=function(e){e=e||{},Te.prototype.init.call(this);var t,n=this,r=e.captionServices||{},i={};Object.keys(r).forEach((e=>{t=r[e],/^SERVICE/.test(e)&&(i[e]=t.encoding)})),this.serviceEncodings=i,this.current708Packet=null,this.services={},this.push=function(e){3===e.type?(n.new708Packet(),n.add708Bytes(e)):(null===n.current708Packet&&n.new708Packet(),n.add708Bytes(e))}};Te.prototype=new ge,Te.prototype.new708Packet=function(){null!==this.current708Packet&&this.push708Packet(),this.current708Packet={data:[],ptsVals:[]}},Te.prototype.add708Bytes=function(e){var t=e.ccData,n=t>>>8,r=255&t;this.current708Packet.ptsVals.push(e.pts),this.current708Packet.data.push(n),this.current708Packet.data.push(r)},Te.prototype.push708Packet=function(){var e=this.current708Packet,t=e.data,n=null,r=null,i=0,o=t[i++];for(e.seq=o>>6,e.sizeCode=63&o;i<t.length;i++)r=31&(o=t[i++]),7===(n=o>>5)&&r>0&&(n=o=t[i++]),this.pushServiceBlock(n,i,r),r>0&&(i+=r-1)},Te.prototype.pushServiceBlock=function(e,t,n){var r,i=t,o=this.current708Packet.data,a=this.services[e];for(a||(a=this.initService(e,i));i<t+n&&i<o.length;i++)r=o[i],be(r)?i=this.handleText(i,a):24===r?i=this.multiByteCharacter(i,a):16===r?i=this.extendedCommands(i,a):128<=r&&r<=135?i=this.setCurrentWindow(i,a):152<=r&&r<=159?i=this.defineWindow(i,a):136===r?i=this.clearWindows(i,a):140===r?i=this.deleteWindows(i,a):137===r?i=this.displayWindows(i,a):138===r?i=this.hideWindows(i,a):139===r?i=this.toggleWindows(i,a):151===r?i=this.setWindowAttributes(i,a):144===r?i=this.setPenAttributes(i,a):145===r?i=this.setPenColor(i,a):146===r?i=this.setPenLocation(i,a):143===r?a=this.reset(i,a):8===r?a.currentWindow.backspace():12===r?a.currentWindow.clearText():13===r?a.currentWindow.pendingNewLine=!0:14===r?a.currentWindow.clearText():141===r&&i++},Te.prototype.extendedCommands=function(e,t){var n=this.current708Packet.data[++e];return be(n)&&(e=this.handleText(e,t,{isExtended:!0})),e},Te.prototype.getPts=function(e){return this.current708Packet.ptsVals[Math.floor(e/2)]},Te.prototype.initService=function(e,t){var n,r,i=this;return(n="SERVICE"+e)in this.serviceEncodings&&(r=this.serviceEncodings[n]),this.services[e]=new we(e,r,i),this.services[e].init(this.getPts(t),(function(t){i.flushDisplayed(t,i.services[e])})),this.services[e]},Te.prototype.handleText=function(e,t,n){var r,i,o,a,s=n&&n.isExtended,u=n&&n.isMultiByte,c=this.current708Packet.data,l=s?4096:0,f=c[e],d=c[e+1],p=t.currentWindow;return t.textDecoder_&&!s?(u?(i=[f,d],e++):i=[f],r=t.textDecoder_.decode(new Uint8Array(i))):(a=ve[o=l|f]||o,r=4096&o&&o===a?"":String.fromCharCode(a)),p.pendingNewLine&&!p.isEmpty()&&p.newLine(this.getPts(e)),p.pendingNewLine=!1,p.addText(r),e},Te.prototype.multiByteCharacter=function(e,t){var n=this.current708Packet.data,r=n[e+1],i=n[e+2];return be(r)&&be(i)&&(e=this.handleText(++e,t,{isMultiByte:!0})),e},Te.prototype.setCurrentWindow=function(e,t){var n=7&this.current708Packet.data[e];return t.setCurrentWindow(n),e},Te.prototype.defineWindow=function(e,t){var n=this.current708Packet.data,r=n[e],i=7&r;t.setCurrentWindow(i);var o=t.currentWindow;return r=n[++e],o.visible=(32&r)>>5,o.rowLock=(16&r)>>4,o.columnLock=(8&r)>>3,o.priority=7&r,r=n[++e],o.relativePositioning=(128&r)>>7,o.anchorVertical=127&r,r=n[++e],o.anchorHorizontal=r,r=n[++e],o.anchorPoint=(240&r)>>4,o.rowCount=15&r,r=n[++e],o.columnCount=63&r,r=n[++e],o.windowStyle=(56&r)>>3,o.penStyle=7&r,o.virtualRowCount=o.rowCount+1,e},Te.prototype.setWindowAttributes=function(e,t){var n=this.current708Packet.data,r=n[e],i=t.currentWindow.winAttr;return r=n[++e],i.fillOpacity=(192&r)>>6,i.fillRed=(48&r)>>4,i.fillGreen=(12&r)>>2,i.fillBlue=3&r,r=n[++e],i.borderType=(192&r)>>6,i.borderRed=(48&r)>>4,i.borderGreen=(12&r)>>2,i.borderBlue=3&r,r=n[++e],i.borderType+=(128&r)>>5,i.wordWrap=(64&r)>>6,i.printDirection=(48&r)>>4,i.scrollDirection=(12&r)>>2,i.justify=3&r,r=n[++e],i.effectSpeed=(240&r)>>4,i.effectDirection=(12&r)>>2,i.displayEffect=3&r,e},Te.prototype.flushDisplayed=function(e,t){for(var n=[],r=0;r<8;r++)t.windows[r].visible&&!t.windows[r].isEmpty()&&n.push(t.windows[r].getText());t.endPts=e,t.text=n.join("\n\n"),this.pushCaption(t),t.startPts=e},Te.prototype.pushCaption=function(e){""!==e.text&&(this.trigger("data",{startPts:e.startPts,endPts:e.endPts,text:e.text,stream:"cc708_"+e.serviceNum}),e.text="",e.startPts=e.endPts)},Te.prototype.displayWindows=function(e,t){var n=this.current708Packet.data[++e],r=this.getPts(e);this.flushDisplayed(r,t);for(var i=0;i<8;i++)n&1<<i&&(t.windows[i].visible=1);return e},Te.prototype.hideWindows=function(e,t){var n=this.current708Packet.data[++e],r=this.getPts(e);this.flushDisplayed(r,t);for(var i=0;i<8;i++)n&1<<i&&(t.windows[i].visible=0);return e},Te.prototype.toggleWindows=function(e,t){var n=this.current708Packet.data[++e],r=this.getPts(e);this.flushDisplayed(r,t);for(var i=0;i<8;i++)n&1<<i&&(t.windows[i].visible^=1);return e},Te.prototype.clearWindows=function(e,t){var n=this.current708Packet.data[++e],r=this.getPts(e);this.flushDisplayed(r,t);for(var i=0;i<8;i++)n&1<<i&&t.windows[i].clearText();return e},Te.prototype.deleteWindows=function(e,t){var n=this.current708Packet.data[++e],r=this.getPts(e);this.flushDisplayed(r,t);for(var i=0;i<8;i++)n&1<<i&&t.windows[i].reset();return e},Te.prototype.setPenAttributes=function(e,t){var n=this.current708Packet.data,r=n[e],i=t.currentWindow.penAttr;return r=n[++e],i.textTag=(240&r)>>4,i.offset=(12&r)>>2,i.penSize=3&r,r=n[++e],i.italics=(128&r)>>7,i.underline=(64&r)>>6,i.edgeType=(56&r)>>3,i.fontStyle=7&r,e},Te.prototype.setPenColor=function(e,t){var n=this.current708Packet.data,r=n[e],i=t.currentWindow.penColor;return r=n[++e],i.fgOpacity=(192&r)>>6,i.fgRed=(48&r)>>4,i.fgGreen=(12&r)>>2,i.fgBlue=3&r,r=n[++e],i.bgOpacity=(192&r)>>6,i.bgRed=(48&r)>>4,i.bgGreen=(12&r)>>2,i.bgBlue=3&r,r=n[++e],i.edgeRed=(48&r)>>4,i.edgeGreen=(12&r)>>2,i.edgeBlue=3&r,e},Te.prototype.setPenLocation=function(e,t){var n=this.current708Packet.data,r=n[e],i=t.currentWindow.penLoc;return t.currentWindow.pendingNewLine=!0,r=n[++e],i.row=15&r,r=n[++e],i.column=63&r,e},Te.prototype.reset=function(e,t){var n=this.getPts(e);return this.flushDisplayed(n,t),this.initService(t.serviceNum,e)};var xe={42:225,92:233,94:237,95:243,96:250,123:231,124:247,125:209,126:241,127:9608,304:174,305:176,306:189,307:191,308:8482,309:162,310:163,311:9834,312:224,313:160,314:232,315:226,316:234,317:238,318:244,319:251,544:193,545:201,546:211,547:218,548:220,549:252,550:8216,551:161,552:42,553:39,554:8212,555:169,556:8480,557:8226,558:8220,559:8221,560:192,561:194,562:199,563:200,564:202,565:203,566:235,567:206,568:207,569:239,570:212,571:217,572:249,573:219,574:171,575:187,800:195,801:227,802:205,803:204,804:236,805:210,806:242,807:213,808:245,809:123,810:125,811:92,812:94,813:95,814:124,815:126,816:196,817:228,818:214,819:246,820:223,821:165,822:164,823:9474,824:197,825:229,826:216,827:248,828:9484,829:9488,830:9492,831:9496},Se=function(e){return null===e?"":(e=xe[e]||e,String.fromCharCode(e))},ke=[4352,4384,4608,4640,5376,5408,5632,5664,5888,5920,4096,4864,4896,5120,5152],Ee=function(){for(var e=[],t=15;t--;)e.push("");return e},Oe=function(e,t){Oe.prototype.init.call(this),this.field_=e||0,this.dataChannel_=t||0,this.name_="CC"+(1+(this.field_<<1|this.dataChannel_)),this.setConstants(),this.reset(),this.push=function(e){var t,n,r,i,o;if((t=32639&e.ccData)!==this.lastControlCode_){if(4096==(61440&t)?this.lastControlCode_=t:t!==this.PADDING_&&(this.lastControlCode_=null),r=t>>>8,i=255&t,t!==this.PADDING_)if(t===this.RESUME_CAPTION_LOADING_)this.mode_="popOn";else if(t===this.END_OF_CAPTION_)this.mode_="popOn",this.clearFormatting(e.pts),this.flushDisplayed(e.pts),n=this.displayed_,this.displayed_=this.nonDisplayed_,this.nonDisplayed_=n,this.startPts_=e.pts;else if(t===this.ROLL_UP_2_ROWS_)this.rollUpRows_=2,this.setRollUp(e.pts);else if(t===this.ROLL_UP_3_ROWS_)this.rollUpRows_=3,this.setRollUp(e.pts);else if(t===this.ROLL_UP_4_ROWS_)this.rollUpRows_=4,this.setRollUp(e.pts);else if(t===this.CARRIAGE_RETURN_)this.clearFormatting(e.pts),this.flushDisplayed(e.pts),this.shiftRowsUp_(),this.startPts_=e.pts;else if(t===this.BACKSPACE_)"popOn"===this.mode_?this.nonDisplayed_[this.row_]=this.nonDisplayed_[this.row_].slice(0,-1):this.displayed_[this.row_]=this.displayed_[this.row_].slice(0,-1);else if(t===this.ERASE_DISPLAYED_MEMORY_)this.flushDisplayed(e.pts),this.displayed_=Ee();else if(t===this.ERASE_NON_DISPLAYED_MEMORY_)this.nonDisplayed_=Ee();else if(t===this.RESUME_DIRECT_CAPTIONING_)"paintOn"!==this.mode_&&(this.flushDisplayed(e.pts),this.displayed_=Ee()),this.mode_="paintOn",this.startPts_=e.pts;else if(this.isSpecialCharacter(r,i))o=Se((r=(3&r)<<8)|i),this[this.mode_](e.pts,o),this.column_++;else if(this.isExtCharacter(r,i))"popOn"===this.mode_?this.nonDisplayed_[this.row_]=this.nonDisplayed_[this.row_].slice(0,-1):this.displayed_[this.row_]=this.displayed_[this.row_].slice(0,-1),o=Se((r=(3&r)<<8)|i),this[this.mode_](e.pts,o),this.column_++;else if(this.isMidRowCode(r,i))this.clearFormatting(e.pts),this[this.mode_](e.pts," "),this.column_++,14==(14&i)&&this.addFormatting(e.pts,["i"]),1==(1&i)&&this.addFormatting(e.pts,["u"]);else if(this.isOffsetControlCode(r,i))this.column_+=3&i;else if(this.isPAC(r,i)){var a=ke.indexOf(7968&t);"rollUp"===this.mode_&&(a-this.rollUpRows_+1<0&&(a=this.rollUpRows_-1),this.setRollUp(e.pts,a)),a!==this.row_&&(this.clearFormatting(e.pts),this.row_=a),1&i&&-1===this.formatting_.indexOf("u")&&this.addFormatting(e.pts,["u"]),16==(16&t)&&(this.column_=4*((14&t)>>1)),this.isColorPAC(i)&&14==(14&i)&&this.addFormatting(e.pts,["i"])}else this.isNormalChar(r)&&(0===i&&(i=null),o=Se(r),o+=Se(i),this[this.mode_](e.pts,o),this.column_+=o.length)}else this.lastControlCode_=null}};Oe.prototype=new ge,Oe.prototype.flushDisplayed=function(e){var t=this.displayed_.map((function(e,t){try{return e.trim()}catch(e){return this.trigger("log",{level:"warn",message:"Skipping a malformed 608 caption at index "+t+"."}),""}}),this).join("\n").replace(/^\n+|\n+$/g,"");t.length&&this.trigger("data",{startPts:this.startPts_,endPts:e,text:t,stream:this.name_})},Oe.prototype.reset=function(){this.mode_="popOn",this.topRow_=0,this.startPts_=0,this.displayed_=Ee(),this.nonDisplayed_=Ee(),this.lastControlCode_=null,this.column_=0,this.row_=14,this.rollUpRows_=2,this.formatting_=[]},Oe.prototype.setConstants=function(){0===this.dataChannel_?(this.BASE_=16,this.EXT_=17,this.CONTROL_=(20|this.field_)<<8,this.OFFSET_=23):1===this.dataChannel_&&(this.BASE_=24,this.EXT_=25,this.CONTROL_=(28|this.field_)<<8,this.OFFSET_=31),this.PADDING_=0,this.RESUME_CAPTION_LOADING_=32|this.CONTROL_,this.END_OF_CAPTION_=47|this.CONTROL_,this.ROLL_UP_2_ROWS_=37|this.CONTROL_,this.ROLL_UP_3_ROWS_=38|this.CONTROL_,this.ROLL_UP_4_ROWS_=39|this.CONTROL_,this.CARRIAGE_RETURN_=45|this.CONTROL_,this.RESUME_DIRECT_CAPTIONING_=41|this.CONTROL_,this.BACKSPACE_=33|this.CONTROL_,this.ERASE_DISPLAYED_MEMORY_=44|this.CONTROL_,this.ERASE_NON_DISPLAYED_MEMORY_=46|this.CONTROL_},Oe.prototype.isSpecialCharacter=function(e,t){return e===this.EXT_&&t>=48&&t<=63},Oe.prototype.isExtCharacter=function(e,t){return(e===this.EXT_+1||e===this.EXT_+2)&&t>=32&&t<=63},Oe.prototype.isMidRowCode=function(e,t){return e===this.EXT_&&t>=32&&t<=47},Oe.prototype.isOffsetControlCode=function(e,t){return e===this.OFFSET_&&t>=33&&t<=35},Oe.prototype.isPAC=function(e,t){return e>=this.BASE_&&e<this.BASE_+8&&t>=64&&t<=127},Oe.prototype.isColorPAC=function(e){return e>=64&&e<=79||e>=96&&e<=127},Oe.prototype.isNormalChar=function(e){return e>=32&&e<=127},Oe.prototype.setRollUp=function(e,t){if("rollUp"!==this.mode_&&(this.row_=14,this.mode_="rollUp",this.flushDisplayed(e),this.nonDisplayed_=Ee(),this.displayed_=Ee()),void 0!==t&&t!==this.row_)for(var n=0;n<this.rollUpRows_;n++)this.displayed_[t-n]=this.displayed_[this.row_-n],this.displayed_[this.row_-n]="";void 0===t&&(t=this.row_),this.topRow_=t-this.rollUpRows_+1},Oe.prototype.addFormatting=function(e,t){this.formatting_=this.formatting_.concat(t);var n=t.reduce((function(e,t){return e+"<"+t+">"}),"");this[this.mode_](e,n)},Oe.prototype.clearFormatting=function(e){if(this.formatting_.length){var t=this.formatting_.reverse().reduce((function(e,t){return e+"</"+t+">"}),"");this.formatting_=[],this[this.mode_](e,t)}},Oe.prototype.popOn=function(e,t){var n=this.nonDisplayed_[this.row_];n+=t,this.nonDisplayed_[this.row_]=n},Oe.prototype.rollUp=function(e,t){var n=this.displayed_[this.row_];n+=t,this.displayed_[this.row_]=n},Oe.prototype.shiftRowsUp_=function(){var e;for(e=0;e<this.topRow_;e++)this.displayed_[e]="";for(e=this.row_+1;e<15;e++)this.displayed_[e]="";for(e=this.topRow_;e<this.row_;e++)this.displayed_[e]=this.displayed_[e+1];this.displayed_[this.row_]=""},Oe.prototype.paintOn=function(e,t){var n=this.displayed_[this.row_];n+=t,this.displayed_[this.row_]=n};var Ce={CaptionStream:ye,Cea608Stream:Oe,Cea708Stream:Te},Le={H264_STREAM_TYPE:27,ADTS_STREAM_TYPE:15,METADATA_STREAM_TYPE:21},Ae=Z,Ie="shared",Pe=function(e,t){var n=1;for(e>t&&(n=-1);Math.abs(t-e)>4294967296;)e+=8589934592*n;return e},Me=function(e){var t,n;Me.prototype.init.call(this),this.type_=e||Ie,this.push=function(e){this.type_!==Ie&&e.type!==this.type_||(void 0===n&&(n=e.dts),e.dts=Pe(e.dts,n),e.pts=Pe(e.pts,n),t=e.dts,this.trigger("data",e))},this.flush=function(){n=t,this.trigger("done")},this.endTimeline=function(){this.flush(),this.trigger("endedtimeline")},this.discontinuity=function(){n=void 0,t=void 0},this.reset=function(){this.discontinuity(),this.trigger("reset")}};Me.prototype=new Ae;var Re,je={TimestampRolloverStream:Me,handleRollover:Pe},De=(e,t,n)=>{if(!e)return-1;for(var r=n;r<e.length;r++)if(e[r]===t)return r;return-1},Ne=De,Be=3,Ue=function(e,t,n){var r,i="";for(r=t;r<n;r++)i+="%"+("00"+e[r].toString(16)).slice(-2);return i},Fe=function(e,t,n){return decodeURIComponent(Ue(e,t,n))},ze=function(e,t,n){return unescape(Ue(e,t,n))},He=function(e){return e[0]<<21|e[1]<<14|e[2]<<7|e[3]},Ze={APIC:function(e){var t,n,r=1;e.data[0]===Be&&((t=Ne(e.data,0,r))<0||(e.mimeType=ze(e.data,r,t),r=t+1,e.pictureType=e.data[r],r++,(n=Ne(e.data,0,r))<0||(e.description=Fe(e.data,r,n),r=n+1,"--\x3e"===e.mimeType?e.url=ze(e.data,r,e.data.length):e.pictureData=e.data.subarray(r,e.data.length))))},"T*":function(e){e.data[0]===Be&&(e.value=Fe(e.data,1,e.data.length).replace(/\0*$/,""),e.values=e.value.split("\0"))},TXXX:function(e){var t;e.data[0]===Be&&-1!==(t=Ne(e.data,0,1))&&(e.description=Fe(e.data,1,t),e.value=Fe(e.data,t+1,e.data.length).replace(/\0*$/,""),e.data=e.value)},"W*":function(e){e.url=ze(e.data,0,e.data.length).replace(/\0.*$/,"")},WXXX:function(e){var t;e.data[0]===Be&&-1!==(t=Ne(e.data,0,1))&&(e.description=Fe(e.data,1,t),e.url=ze(e.data,t+1,e.data.length).replace(/\0.*$/,""))},PRIV:function(e){var t;for(t=0;t<e.data.length;t++)if(0===e.data[t]){e.owner=ze(e.data,0,t);break}e.privateData=e.data.subarray(t+1),e.data=e.privateData}},qe={parseId3Frames:function(e){var t,n=10,r=0,i=[];if(!(e.length<10||e[0]!=="I".charCodeAt(0)||e[1]!=="D".charCodeAt(0)||e[2]!=="3".charCodeAt(0))){r=He(e.subarray(6,10)),r+=10,64&e[5]&&(n+=4,n+=He(e.subarray(10,14)),r-=He(e.subarray(16,20)));do{if((t=He(e.subarray(n+4,n+8)))<1)break;var o={id:String.fromCharCode(e[n],e[n+1],e[n+2],e[n+3]),data:e.subarray(n+10,n+t+10)};o.key=o.id,Ze[o.id]?Ze[o.id](o):"T"===o.id[0]?Ze["T*"](o):"W"===o.id[0]&&Ze["W*"](o),i.push(o),n+=10,n+=t}while(n<r);return i}},parseSyncSafeInteger:He,frameParsers:Ze},Ve=Le,We=qe;(Re=function(e){var t,n={descriptor:e&&e.descriptor},r=0,i=[],o=0;if(Re.prototype.init.call(this),this.dispatchType=Ve.METADATA_STREAM_TYPE.toString(16),n.descriptor)for(t=0;t<n.descriptor.length;t++)this.dispatchType+=("00"+n.descriptor[t].toString(16)).slice(-2);this.push=function(e){var t,n,a,s,u;if("timed-metadata"===e.type)if(e.dataAlignmentIndicator&&(o=0,i.length=0),0===i.length&&(e.data.length<10||e.data[0]!=="I".charCodeAt(0)||e.data[1]!=="D".charCodeAt(0)||e.data[2]!=="3".charCodeAt(0)))this.trigger("log",{level:"warn",message:"Skipping unrecognized metadata packet"});else if(i.push(e),o+=e.data.byteLength,1===i.length&&(r=We.parseSyncSafeInteger(e.data.subarray(6,10)),r+=10),!(o<r)){for(t={data:new Uint8Array(r),frames:[],pts:i[0].pts,dts:i[0].dts},u=0;u<r;)t.data.set(i[0].data.subarray(0,r-u),u),u+=i[0].data.byteLength,o-=i[0].data.byteLength,i.shift();n=10,64&t.data[5]&&(n+=4,n+=We.parseSyncSafeInteger(t.data.subarray(10,14)),r-=We.parseSyncSafeInteger(t.data.subarray(16,20)));do{if((a=We.parseSyncSafeInteger(t.data.subarray(n+4,n+8)))<1){this.trigger("log",{level:"warn",message:"Malformed ID3 frame encountered. Skipping remaining metadata parsing."});break}if((s={id:String.fromCharCode(t.data[n],t.data[n+1],t.data[n+2],t.data[n+3]),data:t.data.subarray(n+10,n+a+10)}).key=s.id,We.frameParsers[s.id]?We.frameParsers[s.id](s):"T"===s.id[0]?We.frameParsers["T*"](s):"W"===s.id[0]&&We.frameParsers["W*"](s),"com.apple.streaming.transportStreamTimestamp"===s.owner){var c=s.data,l=(1&c[3])<<30|c[4]<<22|c[5]<<14|c[6]<<6|c[7]>>>2;l*=4,l+=3&c[7],s.timeStamp=l,void 0===t.pts&&void 0===t.dts&&(t.pts=s.timeStamp,t.dts=s.timeStamp),this.trigger("timestamp",s)}t.frames.push(s),n+=10,n+=a}while(n<r);this.trigger("data",t)}}}).prototype=new Z;var Ge,$e,Ye,Ke=Re,Xe=Z,Qe=Ce,Je=Le,et=je.TimestampRolloverStream,tt=188;(Ge=function(){var e=new Uint8Array(tt),t=0;Ge.prototype.init.call(this),this.push=function(n){var r,i=0,o=tt;for(t?((r=new Uint8Array(n.byteLength+t)).set(e.subarray(0,t)),r.set(n,t),t=0):r=n;o<r.byteLength;)71!==r[i]||71!==r[o]?(i++,o++):(this.trigger("data",r.subarray(i,o)),i+=tt,o+=tt);i<r.byteLength&&(e.set(r.subarray(i),0),t=r.byteLength-i)},this.flush=function(){t===tt&&71===e[0]&&(this.trigger("data",e),t=0),this.trigger("done")},this.endTimeline=function(){this.flush(),this.trigger("endedtimeline")},this.reset=function(){t=0,this.trigger("reset")}}).prototype=new Xe,$e=function(){var e,t,n,r;$e.prototype.init.call(this),r=this,this.packetsWaitingForPmt=[],this.programMapTable=void 0,e=function(e,r){var i=0;r.payloadUnitStartIndicator&&(i+=e[i]+1),"pat"===r.type?t(e.subarray(i),r):n(e.subarray(i),r)},t=function(e,t){t.section_number=e[7],t.last_section_number=e[8],r.pmtPid=(31&e[10])<<8|e[11],t.pmtPid=r.pmtPid},n=function(e,t){var n,i;if(1&e[5]){for(r.programMapTable={video:null,audio:null,"timed-metadata":{}},n=3+((15&e[1])<<8|e[2])-4,i=12+((15&e[10])<<8|e[11]);i<n;){var o=e[i],a=(31&e[i+1])<<8|e[i+2];o===Je.H264_STREAM_TYPE&&null===r.programMapTable.video?r.programMapTable.video=a:o===Je.ADTS_STREAM_TYPE&&null===r.programMapTable.audio?r.programMapTable.audio=a:o===Je.METADATA_STREAM_TYPE&&(r.programMapTable["timed-metadata"][a]=o),i+=5+((15&e[i+3])<<8|e[i+4])}t.programMapTable=r.programMapTable}},this.push=function(t){var n={},r=4;if(n.payloadUnitStartIndicator=!!(64&t[1]),n.pid=31&t[1],n.pid<<=8,n.pid|=t[2],(48&t[3])>>>4>1&&(r+=t[r]+1),0===n.pid)n.type="pat",e(t.subarray(r),n),this.trigger("data",n);else if(n.pid===this.pmtPid)for(n.type="pmt",e(t.subarray(r),n),this.trigger("data",n);this.packetsWaitingForPmt.length;)this.processPes_.apply(this,this.packetsWaitingForPmt.shift());else void 0===this.programMapTable?this.packetsWaitingForPmt.push([t,r,n]):this.processPes_(t,r,n)},this.processPes_=function(e,t,n){n.pid===this.programMapTable.video?n.streamType=Je.H264_STREAM_TYPE:n.pid===this.programMapTable.audio?n.streamType=Je.ADTS_STREAM_TYPE:n.streamType=this.programMapTable["timed-metadata"][n.pid],n.type="pes",n.data=e.subarray(t),this.trigger("data",n)}},$e.prototype=new Xe,$e.STREAM_TYPES={h264:27,adts:15},Ye=function(){var e,t=this,n=!1,r={data:[],size:0},i={data:[],size:0},o={data:[],size:0},a=function(e,n,r){var i,o,a=new Uint8Array(e.size),s={type:n},u=0,c=0;if(e.data.length&&!(e.size<9)){for(s.trackId=e.data[0].pid,u=0;u<e.data.length;u++)o=e.data[u],a.set(o.data,c),c+=o.data.byteLength;!function(e,t){var n;const r=e[0]<<16|e[1]<<8|e[2];t.data=new Uint8Array,1===r&&(t.packetLength=6+(e[4]<<8|e[5]),t.dataAlignmentIndicator=0!=(4&e[6]),192&(n=e[7])&&(t.pts=(14&e[9])<<27|(255&e[10])<<20|(254&e[11])<<12|(255&e[12])<<5|(254&e[13])>>>3,t.pts*=4,t.pts+=(6&e[13])>>>1,t.dts=t.pts,64&n&&(t.dts=(14&e[14])<<27|(255&e[15])<<20|(254&e[16])<<12|(255&e[17])<<5|(254&e[18])>>>3,t.dts*=4,t.dts+=(6&e[18])>>>1)),t.data=e.subarray(9+e[8]))}(a,s),i="video"===n||s.packetLength<=e.size,(r||i)&&(e.size=0,e.data.length=0),i&&t.trigger("data",s)}};Ye.prototype.init.call(this),this.push=function(s){({pat:function(){},pes:function(){var e,t;switch(s.streamType){case Je.H264_STREAM_TYPE:e=r,t="video";break;case Je.ADTS_STREAM_TYPE:e=i,t="audio";break;case Je.METADATA_STREAM_TYPE:e=o,t="timed-metadata";break;default:return}s.payloadUnitStartIndicator&&a(e,t,!0),e.data.push(s),e.size+=s.data.byteLength},pmt:function(){var r={type:"metadata",tracks:[]};null!==(e=s.programMapTable).video&&r.tracks.push({timelineStartInfo:{baseMediaDecodeTime:0},id:+e.video,codec:"avc",type:"video"}),null!==e.audio&&r.tracks.push({timelineStartInfo:{baseMediaDecodeTime:0},id:+e.audio,codec:"adts",type:"audio"}),n=!0,t.trigger("data",r)}})[s.type]()},this.reset=function(){r.size=0,r.data.length=0,i.size=0,i.data.length=0,this.trigger("reset")},this.flushStreams_=function(){a(r,"video"),a(i,"audio"),a(o,"timed-metadata")},this.flush=function(){if(!n&&e){var r={type:"metadata",tracks:[]};null!==e.video&&r.tracks.push({timelineStartInfo:{baseMediaDecodeTime:0},id:+e.video,codec:"avc",type:"video"}),null!==e.audio&&r.tracks.push({timelineStartInfo:{baseMediaDecodeTime:0},id:+e.audio,codec:"adts",type:"audio"}),t.trigger("data",r)}n=!1,this.flushStreams_(),this.trigger("done")}},Ye.prototype=new Xe;var nt={PAT_PID:0,MP2T_PACKET_LENGTH:tt,TransportPacketStream:Ge,TransportParseStream:$e,ElementaryStream:Ye,TimestampRolloverStream:et,CaptionStream:Qe.CaptionStream,Cea608Stream:Qe.Cea608Stream,Cea708Stream:Qe.Cea708Stream,MetadataStream:Ke};for(var rt in Je)Je.hasOwnProperty(rt)&&(nt[rt]=Je[rt]);var it,ot=nt,at=ue.ONE_SECOND_IN_TS,st=[96e3,88200,64e3,48e3,44100,32e3,24e3,22050,16e3,12e3,11025,8e3,7350];(it=function(e){var t,n=0;it.prototype.init.call(this),this.skipWarn_=function(e,t){this.trigger("log",{level:"warn",message:`adts skiping bytes ${e} to ${t} in frame ${n} outside syncword`})},this.push=function(r){var i,o,a,s,u,c=0;if(e||(n=0),"audio"===r.type){var l;for(t&&t.length?(a=t,(t=new Uint8Array(a.byteLength+r.data.byteLength)).set(a),t.set(r.data,a.byteLength)):t=r.data;c+7<t.length;)if(255===t[c]&&240==(246&t[c+1])){if("number"==typeof l&&(this.skipWarn_(l,c),l=null),o=2*(1&~t[c+1]),i=(3&t[c+3])<<11|t[c+4]<<3|(224&t[c+5])>>5,u=(s=1024*(1+(3&t[c+6])))*at/st[(60&t[c+2])>>>2],t.byteLength-c<i)break;this.trigger("data",{pts:r.pts+n*u,dts:r.dts+n*u,sampleCount:s,audioobjecttype:1+(t[c+2]>>>6&3),channelcount:(1&t[c+2])<<2|(192&t[c+3])>>>6,samplerate:st[(60&t[c+2])>>>2],samplingfrequencyindex:(60&t[c+2])>>>2,samplesize:16,data:t.subarray(c+7+o,c+i)}),n++,c+=i}else"number"!=typeof l&&(l=c),c++;"number"==typeof l&&(this.skipWarn_(l,c),l=null),t=t.subarray(c)}},this.flush=function(){n=0,this.trigger("done")},this.reset=function(){t=void 0,this.trigger("reset")},this.endTimeline=function(){t=void 0,this.trigger("endedtimeline")}}).prototype=new Z;var ut,ct,lt,ft=it,dt=Z,pt=function(e){var t=e.byteLength,n=0,r=0;this.length=function(){return 8*t},this.bitsAvailable=function(){return 8*t+r},this.loadWord=function(){var i=e.byteLength-t,o=new Uint8Array(4),a=Math.min(4,t);if(0===a)throw new Error("no bytes available");o.set(e.subarray(i,i+a)),n=new DataView(o.buffer).getUint32(0),r=8*a,t-=a},this.skipBits=function(e){var i;r>e?(n<<=e,r-=e):(e-=r,e-=8*(i=Math.floor(e/8)),t-=i,this.loadWord(),n<<=e,r-=e)},this.readBits=function(e){var i=Math.min(r,e),o=n>>>32-i;return(r-=i)>0?n<<=i:t>0&&this.loadWord(),(i=e-i)>0?o<<i|this.readBits(i):o},this.skipLeadingZeros=function(){var e;for(e=0;e<r;++e)if(0!=(n&2147483648>>>e))return n<<=e,r-=e,e;return this.loadWord(),e+this.skipLeadingZeros()},this.skipUnsignedExpGolomb=function(){this.skipBits(1+this.skipLeadingZeros())},this.skipExpGolomb=function(){this.skipBits(1+this.skipLeadingZeros())},this.readUnsignedExpGolomb=function(){var e=this.skipLeadingZeros();return this.readBits(e+1)-1},this.readExpGolomb=function(){var e=this.readUnsignedExpGolomb();return 1&e?1+e>>>1:-1*(e>>>1)},this.readBoolean=function(){return 1===this.readBits(1)},this.readUnsignedByte=function(){return this.readBits(8)},this.loadWord()};(ct=function(){var e,t,n=0;ct.prototype.init.call(this),this.push=function(r){var i;t?((i=new Uint8Array(t.byteLength+r.data.byteLength)).set(t),i.set(r.data,t.byteLength),t=i):t=r.data;for(var o=t.byteLength;n<o-3;n++)if(1===t[n+2]){e=n+5;break}for(;e<o;)switch(t[e]){case 0:if(0!==t[e-1]){e+=2;break}if(0!==t[e-2]){e++;break}n+3!==e-2&&this.trigger("data",t.subarray(n+3,e-2));do{e++}while(1!==t[e]&&e<o);n=e-2,e+=3;break;case 1:if(0!==t[e-1]||0!==t[e-2]){e+=3;break}this.trigger("data",t.subarray(n+3,e-2)),n=e-2,e+=3;break;default:e+=3}t=t.subarray(n),e-=n,n=0},this.reset=function(){t=null,n=0,this.trigger("reset")},this.flush=function(){t&&t.byteLength>3&&this.trigger("data",t.subarray(n+3)),t=null,n=0,this.trigger("done")},this.endTimeline=function(){this.flush(),this.trigger("endedtimeline")}}).prototype=new dt,lt={100:!0,110:!0,122:!0,244:!0,44:!0,83:!0,86:!0,118:!0,128:!0,138:!0,139:!0,134:!0},ut=function(){var e,t,n,r,i,o,a,s=new ct;ut.prototype.init.call(this),e=this,this.push=function(e){"video"===e.type&&(t=e.trackId,n=e.pts,r=e.dts,s.push(e))},s.on("data",(function(a){var s={trackId:t,pts:n,dts:r,data:a,nalUnitTypeCode:31&a[0]};switch(s.nalUnitTypeCode){case 5:s.nalUnitType="slice_layer_without_partitioning_rbsp_idr";break;case 6:s.nalUnitType="sei_rbsp",s.escapedRBSP=i(a.subarray(1));break;case 7:s.nalUnitType="seq_parameter_set_rbsp",s.escapedRBSP=i(a.subarray(1)),s.config=o(s.escapedRBSP);break;case 8:s.nalUnitType="pic_parameter_set_rbsp";break;case 9:s.nalUnitType="access_unit_delimiter_rbsp"}e.trigger("data",s)})),s.on("done",(function(){e.trigger("done")})),s.on("partialdone",(function(){e.trigger("partialdone")})),s.on("reset",(function(){e.trigger("reset")})),s.on("endedtimeline",(function(){e.trigger("endedtimeline")})),this.flush=function(){s.flush()},this.partialFlush=function(){s.partialFlush()},this.reset=function(){s.reset()},this.endTimeline=function(){s.endTimeline()},a=function(e,t){var n,r=8,i=8;for(n=0;n<e;n++)0!==i&&(i=(r+t.readExpGolomb()+256)%256),r=0===i?r:i},i=function(e){for(var t,n,r=e.byteLength,i=[],o=1;o<r-2;)0===e[o]&&0===e[o+1]&&3===e[o+2]?(i.push(o+2),o+=2):o++;if(0===i.length)return e;t=r-i.length,n=new Uint8Array(t);var a=0;for(o=0;o<t;a++,o++)a===i[0]&&(a++,i.shift()),n[o]=e[a];return n},o=function(e){var t,n,r,i,o,s,u,c,l,f,d,p,h=0,g=0,m=0,y=0,v=[1,1];if(n=(t=new pt(e)).readUnsignedByte(),i=t.readUnsignedByte(),r=t.readUnsignedByte(),t.skipUnsignedExpGolomb(),lt[n]&&(3===(o=t.readUnsignedExpGolomb())&&t.skipBits(1),t.skipUnsignedExpGolomb(),t.skipUnsignedExpGolomb(),t.skipBits(1),t.readBoolean()))for(d=3!==o?8:12,p=0;p<d;p++)t.readBoolean()&&a(p<6?16:64,t);if(t.skipUnsignedExpGolomb(),0===(s=t.readUnsignedExpGolomb()))t.readUnsignedExpGolomb();else if(1===s)for(t.skipBits(1),t.skipExpGolomb(),t.skipExpGolomb(),u=t.readUnsignedExpGolomb(),p=0;p<u;p++)t.skipExpGolomb();if(t.skipUnsignedExpGolomb(),t.skipBits(1),c=t.readUnsignedExpGolomb(),l=t.readUnsignedExpGolomb(),0===(f=t.readBits(1))&&t.skipBits(1),t.skipBits(1),t.readBoolean()&&(h=t.readUnsignedExpGolomb(),g=t.readUnsignedExpGolomb(),m=t.readUnsignedExpGolomb(),y=t.readUnsignedExpGolomb()),t.readBoolean()&&t.readBoolean()){switch(t.readUnsignedByte()){case 1:v=[1,1];break;case 2:v=[12,11];break;case 3:v=[10,11];break;case 4:v=[16,11];break;case 5:v=[40,33];break;case 6:v=[24,11];break;case 7:v=[20,11];break;case 8:v=[32,11];break;case 9:v=[80,33];break;case 10:v=[18,11];break;case 11:v=[15,11];break;case 12:v=[64,33];break;case 13:v=[160,99];break;case 14:v=[4,3];break;case 15:v=[3,2];break;case 16:v=[2,1];break;case 255:v=[t.readUnsignedByte()<<8|t.readUnsignedByte(),t.readUnsignedByte()<<8|t.readUnsignedByte()]}v&&(v[0],v[1])}return{profileIdc:n,levelIdc:r,profileCompatibility:i,width:16*(c+1)-2*h-2*g,height:(2-f)*(l+1)*16-2*m-2*y,sarRatio:v}}},ut.prototype=new dt;var ht,gt={H264Stream:ut,NalByteStream:ct},mt=[96e3,88200,64e3,48e3,44100,32e3,24e3,22050,16e3,12e3,11025,8e3,7350],yt=function(e,t){var n=e[t+6]<<21|e[t+7]<<14|e[t+8]<<7|e[t+9];return n=n>=0?n:0,(16&e[t+5])>>4?n+20:n+10},vt=function(e,t){return e.length-t<10||e[t]!=="I".charCodeAt(0)||e[t+1]!=="D".charCodeAt(0)||e[t+2]!=="3".charCodeAt(0)?t:(t+=yt(e,t),vt(e,t))},bt=function(e){return e[0]<<21|e[1]<<14|e[2]<<7|e[3]},_t={isLikelyAacData:function(e){var t=vt(e,0);return e.length>=t+2&&255==(255&e[t])&&240==(240&e[t+1])&&16==(22&e[t+1])},parseId3TagSize:yt,parseAdtsSize:function(e,t){var n=(224&e[t+5])>>5,r=e[t+4]<<3;return 6144&e[t+3]|r|n},parseType:function(e,t){return e[t]==="I".charCodeAt(0)&&e[t+1]==="D".charCodeAt(0)&&e[t+2]==="3".charCodeAt(0)?"timed-metadata":!0&e[t]&&240==(240&e[t+1])?"audio":null},parseSampleRate:function(e){for(var t=0;t+5<e.length;){if(255===e[t]&&240==(246&e[t+1]))return mt[(60&e[t+2])>>>2];t++}return null},parseAacTimestamp:function(e){var t,n,r;t=10,64&e[5]&&(t+=4,t+=bt(e.subarray(10,14)));do{if((n=bt(e.subarray(t+4,t+8)))<1)return null;if("PRIV"===String.fromCharCode(e[t],e[t+1],e[t+2],e[t+3])){r=e.subarray(t+10,t+n+10);for(var i=0;i<r.byteLength;i++)if(0===r[i]){var o=unescape(function(e,t,n){var r,i="";for(r=t;r<n;r++)i+="%"+("00"+e[r].toString(16)).slice(-2);return i}(r,0,i));if("com.apple.streaming.transportStreamTimestamp"===o){var a=r.subarray(i+1),s=(1&a[3])<<30|a[4]<<22|a[5]<<14|a[6]<<6|a[7]>>>2;return s*=4,s+=3&a[7]}break}}t+=10,t+=n}while(t<e.byteLength);return null}},wt=_t;(ht=function(){var e=new Uint8Array,t=0;ht.prototype.init.call(this),this.setTimestamp=function(e){t=e},this.push=function(n){var r,i,o,a,s=0,u=0;for(e.length?(a=e.length,(e=new Uint8Array(n.byteLength+a)).set(e.subarray(0,a)),e.set(n,a)):e=n;e.length-u>=3;)if(e[u]!=="I".charCodeAt(0)||e[u+1]!=="D".charCodeAt(0)||e[u+2]!=="3".charCodeAt(0))if(255!=(255&e[u])||240!=(240&e[u+1]))u++;else{if(e.length-u<7)break;if(u+(s=wt.parseAdtsSize(e,u))>e.length)break;o={type:"audio",data:e.subarray(u,u+s),pts:t,dts:t},this.trigger("data",o),u+=s}else{if(e.length-u<10)break;if(u+(s=wt.parseId3TagSize(e,u))>e.length)break;i={type:"timed-metadata",data:e.subarray(u,u+s)},this.trigger("data",i),u+=s}r=e.length-u,e=r>0?e.subarray(u):new Uint8Array},this.reset=function(){e=new Uint8Array,this.trigger("reset")},this.endTimeline=function(){e=new Uint8Array,this.trigger("endedtimeline")}}).prototype=new Z;var Tt,xt,St,kt,Et=Z,Ot=te,Ct=re,Lt=fe,At=pe,It=ot,Pt=ue,Mt=ft,Rt=gt.H264Stream,jt=ht,Dt=_t.isLikelyAacData,Nt=ue.ONE_SECOND_IN_TS,Bt=["audioobjecttype","channelcount","samplerate","samplingfrequencyindex","samplesize"],Ut=["width","height","profileIdc","levelIdc","profileCompatibility","sarRatio"],Ft=function(e,t){t.stream=e,this.trigger("log",t)},zt=function(e,t){for(var n=Object.keys(t),r=0;r<n.length;r++){var i=n[r];"headOfPipeline"!==i&&t[i].on&&t[i].on("log",Ft.bind(e,i))}},Ht=function(e,t){var n;if(e.length!==t.length)return!1;for(n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0},Zt=function(e,t,n,r,i,o){return{start:{dts:e,pts:e+(n-t)},end:{dts:e+(r-t),pts:e+(i-n)},prependedContentDuration:o,baseMediaDecodeTime:e}};xt=function(e,t){var n,r=[],i=0,o=0,a=1/0;n=(t=t||{}).firstSequenceNumber||0,xt.prototype.init.call(this),this.push=function(t){At.collectDtsInfo(e,t),e&&Bt.forEach((function(n){e[n]=t[n]})),r.push(t)},this.setEarliestDts=function(e){i=e},this.setVideoBaseMediaDecodeTime=function(e){a=e},this.setAudioAppendStart=function(e){o=e},this.flush=function(){var s,u,c,l,f,d,p;0!==r.length?(s=Lt.trimAdtsFramesByEarliestDts(r,e,i),e.baseMediaDecodeTime=At.calculateTrackBaseMediaDecodeTime(e,t.keepOriginalTimestamps),p=Lt.prefixWithSilence(e,s,o,a),e.samples=Lt.generateSampleTable(s),c=Ot.mdat(Lt.concatenateFrameData(s)),r=[],u=Ot.moof(n,[e]),l=new Uint8Array(u.byteLength+c.byteLength),n++,l.set(u),l.set(c,u.byteLength),At.clearDtsInfo(e),f=Math.ceil(1024*Nt/e.samplerate),s.length&&(d=s.length*f,this.trigger("segmentTimingInfo",Zt(Pt.audioTsToVideoTs(e.baseMediaDecodeTime,e.samplerate),s[0].dts,s[0].pts,s[0].dts+d,s[0].pts+d,p||0)),this.trigger("timingInfo",{start:s[0].pts,end:s[0].pts+d})),this.trigger("data",{track:e,boxes:l}),this.trigger("done","AudioSegmentStream")):this.trigger("done","AudioSegmentStream")},this.reset=function(){At.clearDtsInfo(e),r=[],this.trigger("reset")}},xt.prototype=new Et,Tt=function(e,t){var n,r,i,o=[],a=[];n=(t=t||{}).firstSequenceNumber||0,Tt.prototype.init.call(this),delete e.minPTS,this.gopCache_=[],this.push=function(t){At.collectDtsInfo(e,t),"seq_parameter_set_rbsp"!==t.nalUnitType||r||(r=t.config,e.sps=[t.data],Ut.forEach((function(t){e[t]=r[t]}),this)),"pic_parameter_set_rbsp"!==t.nalUnitType||i||(i=t.data,e.pps=[t.data]),o.push(t)},this.flush=function(){for(var r,i,s,u,c,l,f,d,p=0;o.length&&"access_unit_delimiter_rbsp"!==o[0].nalUnitType;)o.shift();if(0===o.length)return this.resetStream_(),void this.trigger("done","VideoSegmentStream");if(r=Ct.groupNalsIntoFrames(o),(s=Ct.groupFramesIntoGops(r))[0][0].keyFrame||((i=this.getGopForFusion_(o[0],e))?(p=i.duration,s.unshift(i),s.byteLength+=i.byteLength,s.nalCount+=i.nalCount,s.pts=i.pts,s.dts=i.dts,s.duration+=i.duration):s=Ct.extendFirstKeyFrame(s)),a.length){var h;if(!(h=t.alignGopsAtEnd?this.alignGopsAtEnd_(s):this.alignGopsAtStart_(s)))return this.gopCache_.unshift({gop:s.pop(),pps:e.pps,sps:e.sps}),this.gopCache_.length=Math.min(6,this.gopCache_.length),o=[],this.resetStream_(),void this.trigger("done","VideoSegmentStream");At.clearDtsInfo(e),s=h}At.collectDtsInfo(e,s),e.samples=Ct.generateSampleTable(s),c=Ot.mdat(Ct.concatenateNalData(s)),e.baseMediaDecodeTime=At.calculateTrackBaseMediaDecodeTime(e,t.keepOriginalTimestamps),this.trigger("processedGopsInfo",s.map((function(e){return{pts:e.pts,dts:e.dts,byteLength:e.byteLength}}))),f=s[0],d=s[s.length-1],this.trigger("segmentTimingInfo",Zt(e.baseMediaDecodeTime,f.dts,f.pts,d.dts+d.duration,d.pts+d.duration,p)),this.trigger("timingInfo",{start:s[0].pts,end:s[s.length-1].pts+s[s.length-1].duration}),this.gopCache_.unshift({gop:s.pop(),pps:e.pps,sps:e.sps}),this.gopCache_.length=Math.min(6,this.gopCache_.length),o=[],this.trigger("baseMediaDecodeTime",e.baseMediaDecodeTime),this.trigger("timelineStartInfo",e.timelineStartInfo),u=Ot.moof(n,[e]),l=new Uint8Array(u.byteLength+c.byteLength),n++,l.set(u),l.set(c,u.byteLength),this.trigger("data",{track:e,boxes:l}),this.resetStream_(),this.trigger("done","VideoSegmentStream")},this.reset=function(){this.resetStream_(),o=[],this.gopCache_.length=0,a.length=0,this.trigger("reset")},this.resetStream_=function(){At.clearDtsInfo(e),r=void 0,i=void 0},this.getGopForFusion_=function(t){var n,r,i,o,a,s=1/0;for(a=0;a<this.gopCache_.length;a++)i=(o=this.gopCache_[a]).gop,e.pps&&Ht(e.pps[0],o.pps[0])&&e.sps&&Ht(e.sps[0],o.sps[0])&&(i.dts<e.timelineStartInfo.dts||(n=t.dts-i.dts-i.duration)>=-1e4&&n<=45e3&&(!r||s>n)&&(r=o,s=n));return r?r.gop:null},this.alignGopsAtStart_=function(e){var t,n,r,i,o,s,u,c;for(o=e.byteLength,s=e.nalCount,u=e.duration,t=n=0;t<a.length&&n<e.length&&(r=a[t],i=e[n],r.pts!==i.pts);)i.pts>r.pts?t++:(n++,o-=i.byteLength,s-=i.nalCount,u-=i.duration);return 0===n?e:n===e.length?null:((c=e.slice(n)).byteLength=o,c.duration=u,c.nalCount=s,c.pts=c[0].pts,c.dts=c[0].dts,c)},this.alignGopsAtEnd_=function(e){var t,n,r,i,o,s,u;for(t=a.length-1,n=e.length-1,o=null,s=!1;t>=0&&n>=0;){if(r=a[t],i=e[n],r.pts===i.pts){s=!0;break}r.pts>i.pts?t--:(t===a.length-1&&(o=n),n--)}if(!s&&null===o)return null;if(0===(u=s?n:o))return e;var c=e.slice(u),l=c.reduce((function(e,t){return e.byteLength+=t.byteLength,e.duration+=t.duration,e.nalCount+=t.nalCount,e}),{byteLength:0,duration:0,nalCount:0});return c.byteLength=l.byteLength,c.duration=l.duration,c.nalCount=l.nalCount,c.pts=c[0].pts,c.dts=c[0].dts,c},this.alignGopsWith=function(e){a=e}},Tt.prototype=new Et,kt=function(e,t){this.numberOfTracks=0,this.metadataStream=t,void 0!==(e=e||{}).remux?this.remuxTracks=!!e.remux:this.remuxTracks=!0,"boolean"==typeof e.keepOriginalTimestamps?this.keepOriginalTimestamps=e.keepOriginalTimestamps:this.keepOriginalTimestamps=!1,this.pendingTracks=[],this.videoTrack=null,this.pendingBoxes=[],this.pendingCaptions=[],this.pendingMetadata=[],this.pendingBytes=0,this.emittedTracks=0,kt.prototype.init.call(this),this.push=function(e){return e.text?this.pendingCaptions.push(e):e.frames?this.pendingMetadata.push(e):(this.pendingTracks.push(e.track),this.pendingBytes+=e.boxes.byteLength,"video"===e.track.type&&(this.videoTrack=e.track,this.pendingBoxes.push(e.boxes)),void("audio"===e.track.type&&(this.audioTrack=e.track,this.pendingBoxes.unshift(e.boxes))))}},kt.prototype=new Et,kt.prototype.flush=function(e){var t,n,r,i,o=0,a={captions:[],captionStreams:{},metadata:[],info:{}},s=0;if(this.pendingTracks.length<this.numberOfTracks){if("VideoSegmentStream"!==e&&"AudioSegmentStream"!==e)return;if(this.remuxTracks)return;if(0===this.pendingTracks.length)return this.emittedTracks++,void(this.emittedTracks>=this.numberOfTracks&&(this.trigger("done"),this.emittedTracks=0))}if(this.videoTrack?(s=this.videoTrack.timelineStartInfo.pts,Ut.forEach((function(e){a.info[e]=this.videoTrack[e]}),this)):this.audioTrack&&(s=this.audioTrack.timelineStartInfo.pts,Bt.forEach((function(e){a.info[e]=this.audioTrack[e]}),this)),this.videoTrack||this.audioTrack){for(1===this.pendingTracks.length?a.type=this.pendingTracks[0].type:a.type="combined",this.emittedTracks+=this.pendingTracks.length,r=Ot.initSegment(this.pendingTracks),a.initSegment=new Uint8Array(r.byteLength),a.initSegment.set(r),a.data=new Uint8Array(this.pendingBytes),i=0;i<this.pendingBoxes.length;i++)a.data.set(this.pendingBoxes[i],o),o+=this.pendingBoxes[i].byteLength;for(i=0;i<this.pendingCaptions.length;i++)(t=this.pendingCaptions[i]).startTime=Pt.metadataTsToSeconds(t.startPts,s,this.keepOriginalTimestamps),t.endTime=Pt.metadataTsToSeconds(t.endPts,s,this.keepOriginalTimestamps),a.captionStreams[t.stream]=!0,a.captions.push(t);for(i=0;i<this.pendingMetadata.length;i++)(n=this.pendingMetadata[i]).cueTime=Pt.metadataTsToSeconds(n.pts,s,this.keepOriginalTimestamps),a.metadata.push(n);for(a.metadata.dispatchType=this.metadataStream.dispatchType,this.pendingTracks.length=0,this.videoTrack=null,this.pendingBoxes.length=0,this.pendingCaptions.length=0,this.pendingBytes=0,this.pendingMetadata.length=0,this.trigger("data",a),i=0;i<a.captions.length;i++)t=a.captions[i],this.trigger("caption",t);for(i=0;i<a.metadata.length;i++)n=a.metadata[i],this.trigger("id3Frame",n)}this.emittedTracks>=this.numberOfTracks&&(this.trigger("done"),this.emittedTracks=0)},kt.prototype.setRemux=function(e){this.remuxTracks=e},(St=function(e){var t,n,r=this,i=!0;St.prototype.init.call(this),e=e||{},this.baseMediaDecodeTime=e.baseMediaDecodeTime||0,this.transmuxPipeline_={},this.setupAacPipeline=function(){var i={};this.transmuxPipeline_=i,i.type="aac",i.metadataStream=new It.MetadataStream,i.aacStream=new jt,i.audioTimestampRolloverStream=new It.TimestampRolloverStream("audio"),i.timedMetadataTimestampRolloverStream=new It.TimestampRolloverStream("timed-metadata"),i.adtsStream=new Mt,i.coalesceStream=new kt(e,i.metadataStream),i.headOfPipeline=i.aacStream,i.aacStream.pipe(i.audioTimestampRolloverStream).pipe(i.adtsStream),i.aacStream.pipe(i.timedMetadataTimestampRolloverStream).pipe(i.metadataStream).pipe(i.coalesceStream),i.metadataStream.on("timestamp",(function(e){i.aacStream.setTimestamp(e.timeStamp)})),i.aacStream.on("data",(function(o){"timed-metadata"!==o.type&&"audio"!==o.type||i.audioSegmentStream||(n=n||{timelineStartInfo:{baseMediaDecodeTime:r.baseMediaDecodeTime},codec:"adts",type:"audio"},i.coalesceStream.numberOfTracks++,i.audioSegmentStream=new xt(n,e),i.audioSegmentStream.on("log",r.getLogTrigger_("audioSegmentStream")),i.audioSegmentStream.on("timingInfo",r.trigger.bind(r,"audioTimingInfo")),i.adtsStream.pipe(i.audioSegmentStream).pipe(i.coalesceStream),r.trigger("trackinfo",{hasAudio:!!n,hasVideo:!!t}))})),i.coalesceStream.on("data",this.trigger.bind(this,"data")),i.coalesceStream.on("done",this.trigger.bind(this,"done")),zt(this,i)},this.setupTsPipeline=function(){var i={};this.transmuxPipeline_=i,i.type="ts",i.metadataStream=new It.MetadataStream,i.packetStream=new It.TransportPacketStream,i.parseStream=new It.TransportParseStream,i.elementaryStream=new It.ElementaryStream,i.timestampRolloverStream=new It.TimestampRolloverStream,i.adtsStream=new Mt,i.h264Stream=new Rt,i.captionStream=new It.CaptionStream(e),i.coalesceStream=new kt(e,i.metadataStream),i.headOfPipeline=i.packetStream,i.packetStream.pipe(i.parseStream).pipe(i.elementaryStream).pipe(i.timestampRolloverStream),i.timestampRolloverStream.pipe(i.h264Stream),i.timestampRolloverStream.pipe(i.adtsStream),i.timestampRolloverStream.pipe(i.metadataStream).pipe(i.coalesceStream),i.h264Stream.pipe(i.captionStream).pipe(i.coalesceStream),i.elementaryStream.on("data",(function(o){var a;if("metadata"===o.type){for(a=o.tracks.length;a--;)t||"video"!==o.tracks[a].type?n||"audio"!==o.tracks[a].type||((n=o.tracks[a]).timelineStartInfo.baseMediaDecodeTime=r.baseMediaDecodeTime):(t=o.tracks[a]).timelineStartInfo.baseMediaDecodeTime=r.baseMediaDecodeTime;t&&!i.videoSegmentStream&&(i.coalesceStream.numberOfTracks++,i.videoSegmentStream=new Tt(t,e),i.videoSegmentStream.on("log",r.getLogTrigger_("videoSegmentStream")),i.videoSegmentStream.on("timelineStartInfo",(function(t){n&&!e.keepOriginalTimestamps&&(n.timelineStartInfo=t,i.audioSegmentStream.setEarliestDts(t.dts-r.baseMediaDecodeTime))})),i.videoSegmentStream.on("processedGopsInfo",r.trigger.bind(r,"gopInfo")),i.videoSegmentStream.on("segmentTimingInfo",r.trigger.bind(r,"videoSegmentTimingInfo")),i.videoSegmentStream.on("baseMediaDecodeTime",(function(e){n&&i.audioSegmentStream.setVideoBaseMediaDecodeTime(e)})),i.videoSegmentStream.on("timingInfo",r.trigger.bind(r,"videoTimingInfo")),i.h264Stream.pipe(i.videoSegmentStream).pipe(i.coalesceStream)),n&&!i.audioSegmentStream&&(i.coalesceStream.numberOfTracks++,i.audioSegmentStream=new xt(n,e),i.audioSegmentStream.on("log",r.getLogTrigger_("audioSegmentStream")),i.audioSegmentStream.on("timingInfo",r.trigger.bind(r,"audioTimingInfo")),i.audioSegmentStream.on("segmentTimingInfo",r.trigger.bind(r,"audioSegmentTimingInfo")),i.adtsStream.pipe(i.audioSegmentStream).pipe(i.coalesceStream)),r.trigger("trackinfo",{hasAudio:!!n,hasVideo:!!t})}})),i.coalesceStream.on("data",this.trigger.bind(this,"data")),i.coalesceStream.on("id3Frame",(function(e){e.dispatchType=i.metadataStream.dispatchType,r.trigger("id3Frame",e)})),i.coalesceStream.on("caption",this.trigger.bind(this,"caption")),i.coalesceStream.on("done",this.trigger.bind(this,"done")),zt(this,i)},this.setBaseMediaDecodeTime=function(r){var i=this.transmuxPipeline_;e.keepOriginalTimestamps||(this.baseMediaDecodeTime=r),n&&(n.timelineStartInfo.dts=void 0,n.timelineStartInfo.pts=void 0,At.clearDtsInfo(n),i.audioTimestampRolloverStream&&i.audioTimestampRolloverStream.discontinuity()),t&&(i.videoSegmentStream&&(i.videoSegmentStream.gopCache_=[]),t.timelineStartInfo.dts=void 0,t.timelineStartInfo.pts=void 0,At.clearDtsInfo(t),i.captionStream.reset()),i.timestampRolloverStream&&i.timestampRolloverStream.discontinuity()},this.setAudioAppendStart=function(e){n&&this.transmuxPipeline_.audioSegmentStream.setAudioAppendStart(e)},this.setRemux=function(t){var n=this.transmuxPipeline_;e.remux=t,n&&n.coalesceStream&&n.coalesceStream.setRemux(t)},this.alignGopsWith=function(e){t&&this.transmuxPipeline_.videoSegmentStream&&this.transmuxPipeline_.videoSegmentStream.alignGopsWith(e)},this.getLogTrigger_=function(e){var t=this;return function(n){n.stream=e,t.trigger("log",n)}},this.push=function(e){if(i){var t=Dt(e);t&&"aac"!==this.transmuxPipeline_.type?this.setupAacPipeline():t||"ts"===this.transmuxPipeline_.type||this.setupTsPipeline(),i=!1}this.transmuxPipeline_.headOfPipeline.push(e)},this.flush=function(){i=!0,this.transmuxPipeline_.headOfPipeline.flush()},this.endTimeline=function(){this.transmuxPipeline_.headOfPipeline.endTimeline()},this.reset=function(){this.transmuxPipeline_.headOfPipeline&&this.transmuxPipeline_.headOfPipeline.reset()},this.resetCaptions=function(){this.transmuxPipeline_.captionStream&&this.transmuxPipeline_.captionStream.reset()}}).prototype=new Et;var qt,Vt,Wt,Gt,$t={Transmuxer:St,VideoSegmentStream:Tt,AudioSegmentStream:xt,AUDIO_PROPERTIES:Bt,VIDEO_PROPERTIES:Ut,generateSegmentTimingInfo:Zt},Yt=function(e){return e>>>0},Kt=function(e){var t="";return t+=String.fromCharCode(e[0]),t+=String.fromCharCode(e[1]),t+=String.fromCharCode(e[2]),t+=String.fromCharCode(e[3])},Xt=Yt,Qt=Kt,Jt=function(e,t){var n,r,i,o,a,s=[];if(!t.length)return null;for(n=0;n<e.byteLength;)r=Xt(e[n]<<24|e[n+1]<<16|e[n+2]<<8|e[n+3]),i=Qt(e.subarray(n+4,n+8)),o=r>1?n+r:e.byteLength,i===t[0]&&(1===t.length?s.push(e.subarray(n+8,o)):(a=Jt(e.subarray(n+8,o),t.slice(1))).length&&(s=s.concat(a))),n=o;return s},en=Yt,tn=V.getUint64,nn=function(e){var t={version:e[0],flags:new Uint8Array(e.subarray(1,4))};return 1===t.version?t.baseMediaDecodeTime=tn(e.subarray(4)):t.baseMediaDecodeTime=en(e[4]<<24|e[5]<<16|e[6]<<8|e[7]),t},rn=function(e){return{isLeading:(12&e[0])>>>2,dependsOn:3&e[0],isDependedOn:(192&e[1])>>>6,hasRedundancy:(48&e[1])>>>4,paddingValue:(14&e[1])>>>1,isNonSyncSample:1&e[1],degradationPriority:e[2]<<8|e[3]}},on=function(e){var t,n={version:e[0],flags:new Uint8Array(e.subarray(1,4)),samples:[]},r=new DataView(e.buffer,e.byteOffset,e.byteLength),i=1&n.flags[2],o=4&n.flags[2],a=1&n.flags[1],s=2&n.flags[1],u=4&n.flags[1],c=8&n.flags[1],l=r.getUint32(4),f=8;for(i&&(n.dataOffset=r.getInt32(f),f+=4),o&&l&&(t={flags:rn(e.subarray(f,f+4))},f+=4,a&&(t.duration=r.getUint32(f),f+=4),s&&(t.size=r.getUint32(f),f+=4),c&&(1===n.version?t.compositionTimeOffset=r.getInt32(f):t.compositionTimeOffset=r.getUint32(f),f+=4),n.samples.push(t),l--);l--;)t={},a&&(t.duration=r.getUint32(f),f+=4),s&&(t.size=r.getUint32(f),f+=4),u&&(t.flags=rn(e.subarray(f,f+4)),f+=4),c&&(1===n.version?t.compositionTimeOffset=r.getInt32(f):t.compositionTimeOffset=r.getUint32(f),f+=4),n.samples.push(t);return n},an=function(e){var t,n=new DataView(e.buffer,e.byteOffset,e.byteLength),r={version:e[0],flags:new Uint8Array(e.subarray(1,4)),trackId:n.getUint32(4)},i=1&r.flags[2],o=2&r.flags[2],a=8&r.flags[2],s=16&r.flags[2],u=32&r.flags[2],c=65536&r.flags[0],l=131072&r.flags[0];return t=8,i&&(t+=4,r.baseDataOffset=n.getUint32(12),t+=4),o&&(r.sampleDescriptionIndex=n.getUint32(t),t+=4),a&&(r.defaultSampleDuration=n.getUint32(t),t+=4),s&&(r.defaultSampleSize=n.getUint32(t),t+=4),u&&(r.defaultSampleFlags=n.getUint32(t)),c&&(r.durationIsEmpty=!0),!i&&l&&(r.baseDataOffsetIsMoof=!0),r},sn=(qt="undefined"!=typeof window?window:void 0!==e?e:"undefined"!=typeof self?self:{},he.discardEmulationPreventionBytes),un=Ce.CaptionStream,cn=Jt,ln=nn,fn=on,dn=an,pn=qt,hn=function(e,t){for(var n=e,r=0;r<t.length;r++){var i=t[r];if(n<i.size)return i;n-=i.size}return null},gn=function(e,t){var n=cn(e,["moof","traf"]),r=cn(e,["mdat"]),i={},o=[];return r.forEach((function(e,t){var r=n[t];o.push({mdat:e,traf:r})})),o.forEach((function(e){var n,r,o=e.mdat,a=e.traf,s=cn(a,["tfhd"]),u=dn(s[0]),c=u.trackId,l=cn(a,["tfdt"]),f=l.length>0?ln(l[0]).baseMediaDecodeTime:0,d=cn(a,["trun"]);t===c&&d.length>0&&(n=function(e,t,n){var r=t,i=n.defaultSampleDuration||0,o=n.defaultSampleSize||0,a=n.trackId,s=[];return e.forEach((function(e){var t=fn(e).samples;t.forEach((function(e){void 0===e.duration&&(e.duration=i),void 0===e.size&&(e.size=o),e.trackId=a,e.dts=r,void 0===e.compositionTimeOffset&&(e.compositionTimeOffset=0),"bigint"==typeof r?(e.pts=r+pn.BigInt(e.compositionTimeOffset),r+=pn.BigInt(e.duration)):(e.pts=r+e.compositionTimeOffset,r+=e.duration)})),s=s.concat(t)})),s}(d,f,u),r=function(e,t,n){var r,i,o,a,s=new DataView(e.buffer,e.byteOffset,e.byteLength),u={logs:[],seiNals:[]};for(i=0;i+4<e.length;i+=o)if(o=s.getUint32(i),i+=4,!(o<=0))switch(31&e[i]){case 6:var c=e.subarray(i+1,i+1+o),l=hn(i,t);if(r={nalUnitType:"sei_rbsp",size:o,data:c,escapedRBSP:sn(c),trackId:n},l)r.pts=l.pts,r.dts=l.dts,a=l;else{if(!a){u.logs.push({level:"warn",message:"We've encountered a nal unit without data at "+i+" for trackId "+n+". See mux.js#223."});break}r.pts=a.pts,r.dts=a.dts}u.seiNals.push(r)}return u}(o,n,c),i[c]||(i[c]={seiNals:[],logs:[]}),i[c].seiNals=i[c].seiNals.concat(r.seiNals),i[c].logs=i[c].logs.concat(r.logs))})),i},mn=function(){var e,t,n,r,i,o,a=!1;this.isInitialized=function(){return a},this.init=function(t){e=new un,a=!0,o=!!t&&t.isPartial,e.on("data",(function(e){e.startTime=e.startPts/r,e.endTime=e.endPts/r,i.captions.push(e),i.captionStreams[e.stream]=!0})),e.on("log",(function(e){i.logs.push(e)}))},this.isNewInit=function(e,t){return!(e&&0===e.length||t&&"object"==typeof t&&0===Object.keys(t).length)&&(n!==e[0]||r!==t[n])},this.parse=function(e,o,a){var s;if(!this.isInitialized())return null;if(!o||!a)return null;if(this.isNewInit(o,a))n=o[0],r=a[n];else if(null===n||!r)return t.push(e),null;for(;t.length>0;){var u=t.shift();this.parse(u,o,a)}return s=function(e,t,n){if(null===t)return null;var r=gn(e,t)[t]||{};return{seiNals:r.seiNals,logs:r.logs,timescale:n}}(e,n,r),s&&s.logs&&(i.logs=i.logs.concat(s.logs)),null!==s&&s.seiNals?(this.pushNals(s.seiNals),this.flushStream(),i):i.logs.length?{logs:i.logs,captions:[],captionStreams:[]}:null},this.pushNals=function(t){if(!this.isInitialized()||!t||0===t.length)return null;t.forEach((function(t){e.push(t)}))},this.flushStream=function(){if(!this.isInitialized())return null;o?e.partialFlush():e.flush()},this.clearParsedCaptions=function(){i.captions=[],i.captionStreams={},i.logs=[]},this.resetCaptionStream=function(){if(!this.isInitialized())return null;e.reset()},this.clearAllCaptions=function(){this.clearParsedCaptions(),this.resetCaptionStream()},this.reset=function(){t=[],n=null,r=null,i?this.clearParsedCaptions():i={captions:[],captionStreams:{},logs:[]},this.resetCaptionStream()},this.reset()},yn=function(e){for(var t=0,n=String.fromCharCode(e[t]),r="";"\0"!==n;)r+=n,t++,n=String.fromCharCode(e[t]);return r+=n},vn=V.getUint64,bn=function(e,t){var n="\0"!==t.scheme_id_uri,r=0===e&&_n(t.presentation_time_delta)&&n,i=1===e&&_n(t.presentation_time)&&n;return!(e>1)&&r||i},_n=function(e){return void 0!==e||null!==e},wn={parseEmsgBox:function(e){var t,n,r,i,o,a,s,u=4,c=e[0];if(0===c)u+=(t=yn(e.subarray(u))).length,u+=(n=yn(e.subarray(u))).length,r=(l=new DataView(e.buffer)).getUint32(u),u+=4,o=l.getUint32(u),u+=4,a=l.getUint32(u),u+=4,s=l.getUint32(u),u+=4;else if(1===c){var l;r=(l=new DataView(e.buffer)).getUint32(u),u+=4,i=vn(e.subarray(u)),u+=8,a=l.getUint32(u),u+=4,s=l.getUint32(u),u+=4,u+=(t=yn(e.subarray(u))).length,u+=(n=yn(e.subarray(u))).length}var f={scheme_id_uri:t,value:n,timescale:r||1,presentation_time:i,presentation_time_delta:o,event_duration:a,id:s,message_data:new Uint8Array(e.subarray(u,e.byteLength))};return bn(c,f)?f:void 0},scaleTime:function(e,t,n,r){return e||0===e?e/t:r+n/t}},Tn=Yt,xn=function(e){return("00"+e.toString(16)).slice(-2)},Sn=Jt,kn=Kt,En=wn,On=an,Cn=on,Ln=nn,An=V.getUint64,In=qt,Pn=qe.parseId3Frames;Vt=function(e,t){var n=Sn(t,["moof","traf"]).reduce((function(t,n){var r,i=Sn(n,["tfhd"])[0],o=Tn(i[4]<<24|i[5]<<16|i[6]<<8|i[7]),a=e[o]||9e4,s=Sn(n,["tfdt"])[0],u=new DataView(s.buffer,s.byteOffset,s.byteLength);let c;return"bigint"==typeof(r=1===s[0]?An(s.subarray(4,12)):u.getUint32(4))?c=r/In.BigInt(a):"number"!=typeof r||isNaN(r)||(c=r/a),c<Number.MAX_SAFE_INTEGER&&(c=Number(c)),c<t&&(t=c),t}),1/0);return"bigint"==typeof n||isFinite(n)?n:0},Gt=function(e){var t=0===e[0]?12:20;return Tn(e[t]<<24|e[t+1]<<16|e[t+2]<<8|e[t+3])},Wt=function(e){var t=Sn(e,["moov","trak"]),n=[];return t.forEach((function(e){var t,r,i={},o=Sn(e,["tkhd"])[0];o&&(r=(t=new DataView(o.buffer,o.byteOffset,o.byteLength)).getUint8(0),i.id=0===r?t.getUint32(12):t.getUint32(20));var a=Sn(e,["mdia","hdlr"])[0];if(a){var s=kn(a.subarray(8,12));i.type="vide"===s?"video":"soun"===s?"audio":s}var u=Sn(e,["mdia","minf","stbl","stsd"])[0];if(u){var c=u.subarray(8);i.codec=kn(c.subarray(4,8));var l,f=Sn(c,[i.codec])[0];f&&(/^[asm]vc[1-9]$/i.test(i.codec)?(l=f.subarray(78),"avcC"===kn(l.subarray(4,8))&&l.length>11?(i.codec+=".",i.codec+=xn(l[9]),i.codec+=xn(l[10]),i.codec+=xn(l[11])):i.codec="avc1.4d400d"):/^mp4[a,v]$/i.test(i.codec)?(l=f.subarray(28),"esds"===kn(l.subarray(4,8))&&l.length>20&&0!==l[19]?(i.codec+="."+xn(l[19]),i.codec+="."+xn(l[20]>>>2&63).replace(/^0/,"")):i.codec="mp4a.40.2"):i.codec=i.codec.toLowerCase())}var d=Sn(e,["mdia","mdhd"])[0];d&&(i.timescale=Gt(d)),n.push(i)})),n};var Mn=Vt,Rn=Wt,jn=Le,Dn=function(e){var t=31&e[1];return t<<=8,t|=e[2]},Nn=function(e){return!!(64&e[1])},Bn=function(e){var t=0;return(48&e[3])>>>4>1&&(t+=e[4]+1),t},Un=function(e){switch(e){case 5:return"slice_layer_without_partitioning_rbsp_idr";case 6:return"sei_rbsp";case 7:return"seq_parameter_set_rbsp";case 8:return"pic_parameter_set_rbsp";case 9:return"access_unit_delimiter_rbsp";default:return null}},Fn={parseType:function(e,t){var n=Dn(e);return 0===n?"pat":n===t?"pmt":t?"pes":null},parsePat:function(e){var t=Nn(e),n=4+Bn(e);return t&&(n+=e[n]+1),(31&e[n+10])<<8|e[n+11]},parsePmt:function(e){var t={},n=Nn(e),r=4+Bn(e);if(n&&(r+=e[r]+1),1&e[r+5]){var i;i=3+((15&e[r+1])<<8|e[r+2])-4;for(var o=12+((15&e[r+10])<<8|e[r+11]);o<i;){var a=r+o;t[(31&e[a+1])<<8|e[a+2]]=e[a],o+=5+((15&e[a+3])<<8|e[a+4])}return t}},parsePayloadUnitStartIndicator:Nn,parsePesType:function(e,t){switch(t[Dn(e)]){case jn.H264_STREAM_TYPE:return"video";case jn.ADTS_STREAM_TYPE:return"audio";case jn.METADATA_STREAM_TYPE:return"timed-metadata";default:return null}},parsePesTime:function(e){if(!Nn(e))return null;var t=4+Bn(e);if(t>=e.byteLength)return null;var n,r=null;return 192&(n=e[t+7])&&((r={}).pts=(14&e[t+9])<<27|(255&e[t+10])<<20|(254&e[t+11])<<12|(255&e[t+12])<<5|(254&e[t+13])>>>3,r.pts*=4,r.pts+=(6&e[t+13])>>>1,r.dts=r.pts,64&n&&(r.dts=(14&e[t+14])<<27|(255&e[t+15])<<20|(254&e[t+16])<<12|(255&e[t+17])<<5|(254&e[t+18])>>>3,r.dts*=4,r.dts+=(6&e[t+18])>>>1)),r},videoPacketContainsKeyFrame:function(e){for(var t=4+Bn(e),n=e.subarray(t),r=0,i=0,o=!1;i<n.byteLength-3;i++)if(1===n[i+2]){r=i+5;break}for(;r<n.byteLength;)switch(n[r]){case 0:if(0!==n[r-1]){r+=2;break}if(0!==n[r-2]){r++;break}i+3!==r-2&&"slice_layer_without_partitioning_rbsp_idr"===Un(31&n[i+3])&&(o=!0);do{r++}while(1!==n[r]&&r<n.length);i=r-2,r+=3;break;case 1:if(0!==n[r-1]||0!==n[r-2]){r+=3;break}"slice_layer_without_partitioning_rbsp_idr"===Un(31&n[i+3])&&(o=!0),i=r-2,r+=3;break;default:r+=3}return n=n.subarray(i),r-=i,i=0,n&&n.byteLength>3&&"slice_layer_without_partitioning_rbsp_idr"===Un(31&n[i+3])&&(o=!0),o}},zn=Le,Hn=je.handleRollover,Zn={};Zn.ts=Fn,Zn.aac=_t;var qn=ue.ONE_SECOND_IN_TS,Vn=188,Wn=71,Gn=function(e,t,n){for(var r,i,o,a,s=0,u=Vn,c=!1;u<=e.byteLength;)if(e[s]!==Wn||e[u]!==Wn&&u!==e.byteLength)s++,u++;else{if(r=e.subarray(s,u),"pes"===Zn.ts.parseType(r,t.pid))i=Zn.ts.parsePesType(r,t.table),o=Zn.ts.parsePayloadUnitStartIndicator(r),"audio"===i&&o&&(a=Zn.ts.parsePesTime(r))&&(a.type="audio",n.audio.push(a),c=!0);if(c)break;s+=Vn,u+=Vn}for(s=(u=e.byteLength)-Vn,c=!1;s>=0;)if(e[s]!==Wn||e[u]!==Wn&&u!==e.byteLength)s--,u--;else{if(r=e.subarray(s,u),"pes"===Zn.ts.parseType(r,t.pid))i=Zn.ts.parsePesType(r,t.table),o=Zn.ts.parsePayloadUnitStartIndicator(r),"audio"===i&&o&&(a=Zn.ts.parsePesTime(r))&&(a.type="audio",n.audio.push(a),c=!0);if(c)break;s-=Vn,u-=Vn}},$n=function(e,t,n){for(var r,i,o,a,s,u,c,l=0,f=Vn,d=!1,p={data:[],size:0};f<e.byteLength;)if(e[l]!==Wn||e[f]!==Wn)l++,f++;else{if(r=e.subarray(l,f),"pes"===Zn.ts.parseType(r,t.pid))if(i=Zn.ts.parsePesType(r,t.table),o=Zn.ts.parsePayloadUnitStartIndicator(r),"video"===i&&(o&&!d&&(a=Zn.ts.parsePesTime(r))&&(a.type="video",n.video.push(a),d=!0),!n.firstKeyFrame)){if(o&&0!==p.size){for(s=new Uint8Array(p.size),u=0;p.data.length;)c=p.data.shift(),s.set(c,u),u+=c.byteLength;if(Zn.ts.videoPacketContainsKeyFrame(s)){var h=Zn.ts.parsePesTime(s);h?(n.firstKeyFrame=h,n.firstKeyFrame.type="video"):console.warn("Failed to extract PTS/DTS from PES at first keyframe. This could be an unusual TS segment, or else mux.js did not parse your TS segment correctly. If you know your TS segments do contain PTS/DTS on keyframes please file a bug report! You can try ffprobe to double check for yourself.")}p.size=0}p.data.push(r),p.size+=r.byteLength}if(d&&n.firstKeyFrame)break;l+=Vn,f+=Vn}for(l=(f=e.byteLength)-Vn,d=!1;l>=0;)if(e[l]!==Wn||e[f]!==Wn)l--,f--;else{if(r=e.subarray(l,f),"pes"===Zn.ts.parseType(r,t.pid))i=Zn.ts.parsePesType(r,t.table),o=Zn.ts.parsePayloadUnitStartIndicator(r),"video"===i&&o&&(a=Zn.ts.parsePesTime(r))&&(a.type="video",n.video.push(a),d=!0);if(d)break;l-=Vn,f-=Vn}},Yn=function(e){var t={pid:null,table:null},n={};for(var r in function(e,t){for(var n,r=0,i=Vn;i<e.byteLength;)if(e[r]!==Wn||e[i]!==Wn)r++,i++;else{switch(n=e.subarray(r,i),Zn.ts.parseType(n,t.pid)){case"pat":t.pid=Zn.ts.parsePat(n);break;case"pmt":var o=Zn.ts.parsePmt(n);t.table=t.table||{},Object.keys(o).forEach((function(e){t.table[e]=o[e]}))}r+=Vn,i+=Vn}}(e,t),t.table){if(t.table.hasOwnProperty(r))switch(t.table[r]){case zn.H264_STREAM_TYPE:n.video=[],$n(e,t,n),0===n.video.length&&delete n.video;break;case zn.ADTS_STREAM_TYPE:n.audio=[],Gn(e,t,n),0===n.audio.length&&delete n.audio}}return n},Kn=function(e,t){var n;return n=Zn.aac.isLikelyAacData(e)?function(e){for(var t,n=!1,r=0,i=null,o=null,a=0,s=0;e.length-s>=3;){switch(Zn.aac.parseType(e,s)){case"timed-metadata":if(e.length-s<10){n=!0;break}if((a=Zn.aac.parseId3TagSize(e,s))>e.length){n=!0;break}null===o&&(t=e.subarray(s,s+a),o=Zn.aac.parseAacTimestamp(t)),s+=a;break;case"audio":if(e.length-s<7){n=!0;break}if((a=Zn.aac.parseAdtsSize(e,s))>e.length){n=!0;break}null===i&&(t=e.subarray(s,s+a),i=Zn.aac.parseSampleRate(t)),r++,s+=a;break;default:s++}if(n)return null}if(null===i||null===o)return null;var u=qn/i;return{audio:[{type:"audio",dts:o,pts:o},{type:"audio",dts:o+1024*r*u,pts:o+1024*r*u}]}}(e):Yn(e),n&&(n.audio||n.video)?(function(e,t){if(e.audio&&e.audio.length){var n=t;(void 0===n||isNaN(n))&&(n=e.audio[0].dts),e.audio.forEach((function(e){e.dts=Hn(e.dts,n),e.pts=Hn(e.pts,n),e.dtsTime=e.dts/qn,e.ptsTime=e.pts/qn}))}if(e.video&&e.video.length){var r=t;if((void 0===r||isNaN(r))&&(r=e.video[0].dts),e.video.forEach((function(e){e.dts=Hn(e.dts,r),e.pts=Hn(e.pts,r),e.dtsTime=e.dts/qn,e.ptsTime=e.pts/qn})),e.firstKeyFrame){var i=e.firstKeyFrame;i.dts=Hn(i.dts,r),i.pts=Hn(i.pts,r),i.dtsTime=i.dts/qn,i.ptsTime=i.pts/qn}}}(n,t),n):null};class Xn{constructor(e,t){this.options=t||{},this.self=e,this.init()}init(){this.transmuxer&&this.transmuxer.dispose(),this.transmuxer=new $t.Transmuxer(this.options),function(e,t){t.on("data",(function(t){const n=t.initSegment;t.initSegment={data:n.buffer,byteOffset:n.byteOffset,byteLength:n.byteLength};const r=t.data;t.data=r.buffer,e.postMessage({action:"data",segment:t,byteOffset:r.byteOffset,byteLength:r.byteLength},[t.data])})),t.on("done",(function(t){e.postMessage({action:"done"})})),t.on("gopInfo",(function(t){e.postMessage({action:"gopInfo",gopInfo:t})})),t.on("videoSegmentTimingInfo",(function(t){const n={start:{decode:ue.videoTsToSeconds(t.start.dts),presentation:ue.videoTsToSeconds(t.start.pts)},end:{decode:ue.videoTsToSeconds(t.end.dts),presentation:ue.videoTsToSeconds(t.end.pts)},baseMediaDecodeTime:ue.videoTsToSeconds(t.baseMediaDecodeTime)};t.prependedContentDuration&&(n.prependedContentDuration=ue.videoTsToSeconds(t.prependedContentDuration)),e.postMessage({action:"videoSegmentTimingInfo",videoSegmentTimingInfo:n})})),t.on("audioSegmentTimingInfo",(function(t){const n={start:{decode:ue.videoTsToSeconds(t.start.dts),presentation:ue.videoTsToSeconds(t.start.pts)},end:{decode:ue.videoTsToSeconds(t.end.dts),presentation:ue.videoTsToSeconds(t.end.pts)},baseMediaDecodeTime:ue.videoTsToSeconds(t.baseMediaDecodeTime)};t.prependedContentDuration&&(n.prependedContentDuration=ue.videoTsToSeconds(t.prependedContentDuration)),e.postMessage({action:"audioSegmentTimingInfo",audioSegmentTimingInfo:n})})),t.on("id3Frame",(function(t){e.postMessage({action:"id3Frame",id3Frame:t})})),t.on("caption",(function(t){e.postMessage({action:"caption",caption:t})})),t.on("trackinfo",(function(t){e.postMessage({action:"trackinfo",trackInfo:t})})),t.on("audioTimingInfo",(function(t){e.postMessage({action:"audioTimingInfo",audioTimingInfo:{start:ue.videoTsToSeconds(t.start),end:ue.videoTsToSeconds(t.end)}})})),t.on("videoTimingInfo",(function(t){e.postMessage({action:"videoTimingInfo",videoTimingInfo:{start:ue.videoTsToSeconds(t.start),end:ue.videoTsToSeconds(t.end)}})})),t.on("log",(function(t){e.postMessage({action:"log",log:t})}))}(this.self,this.transmuxer)}pushMp4Captions(e){this.captionParser||(this.captionParser=new mn,this.captionParser.init());const t=new Uint8Array(e.data,e.byteOffset,e.byteLength),n=this.captionParser.parse(t,e.trackIds,e.timescales);this.self.postMessage({action:"mp4Captions",captions:n&&n.captions||[],logs:n&&n.logs||[],data:t.buffer},[t.buffer])}probeMp4StartTime({timescales:e,data:t}){const n=Mn(e,t);this.self.postMessage({action:"probeMp4StartTime",startTime:n,data:t},[t.buffer])}probeMp4Tracks({data:e}){const t=Rn(e);this.self.postMessage({action:"probeMp4Tracks",tracks:t,data:e},[e.buffer])}probeTs({data:e,baseStartTime:t}){const n="number"!=typeof t||isNaN(t)?void 0:t*ue.ONE_SECOND_IN_TS,r=Kn(e,n);let i=null;r&&(i={hasVideo:r.video&&2===r.video.length||!1,hasAudio:r.audio&&2===r.audio.length||!1},i.hasVideo&&(i.videoStart=r.video[0].ptsTime),i.hasAudio&&(i.audioStart=r.audio[0].ptsTime)),this.self.postMessage({action:"probeTs",result:i,data:e},[e.buffer])}clearAllMp4Captions(){this.captionParser&&this.captionParser.clearAllCaptions()}clearParsedMp4Captions(){this.captionParser&&this.captionParser.clearParsedCaptions()}push(e){const t=new Uint8Array(e.data,e.byteOffset,e.byteLength);this.transmuxer.push(t)}reset(){this.transmuxer.reset()}setTimestampOffset(e){const t=e.timestampOffset||0;this.transmuxer.setBaseMediaDecodeTime(Math.round(ue.secondsToVideoTs(t)))}setAudioAppendStart(e){this.transmuxer.setAudioAppendStart(Math.ceil(ue.secondsToVideoTs(e.appendStart)))}setRemux(e){this.transmuxer.setRemux(e.remux)}flush(e){this.transmuxer.flush(),self.postMessage({action:"done",type:"transmuxed"})}endTimeline(){this.transmuxer.endTimeline(),self.postMessage({action:"endedtimeline",type:"transmuxed"})}alignGopsWith(e){this.transmuxer.alignGopsWith(e.gopsToAlignWith.slice())}}self.onmessage=function(e){"init"===e.data.action&&e.data.options?this.messageHandlers=new Xn(self,e.data.options):(this.messageHandlers||(this.messageHandlers=new Xn(self)),e.data&&e.data.action&&"init"!==e.data.action&&this.messageHandlers[e.data.action]&&this.messageHandlers[e.data.action](e.data))}})));var Ys=Vs($s);const Ks=e=>{const{transmuxer:t,bytes:n,audioAppendStart:r,gopsToAlignWith:i,remux:o,onData:a,onTrackInfo:s,onAudioTimingInfo:u,onVideoTimingInfo:c,onVideoSegmentTimingInfo:l,onAudioSegmentTimingInfo:f,onId3:d,onCaptions:p,onDone:h,onEndedTimeline:g,onTransmuxerLog:m,isEndOfTimeline:y}=e,v={buffer:[]};let b=y;if(t.onmessage=n=>{t.currentTransmux===e&&("data"===n.data.action&&((e,t,n)=>{const{type:r,initSegment:i,captions:o,captionStreams:a,metadata:s,videoFrameDtsTime:u,videoFramePtsTime:c}=e.data.segment;t.buffer.push({captions:o,captionStreams:a,metadata:s});const l=e.data.segment.boxes||{data:e.data.segment.data},f={type:r,data:new Uint8Array(l.data,l.data.byteOffset,l.data.byteLength),initSegment:new Uint8Array(i.data,i.byteOffset,i.byteLength)};void 0!==u&&(f.videoFrameDtsTime=u),void 0!==c&&(f.videoFramePtsTime=c),n(f)})(n,v,a),"trackinfo"===n.data.action&&s(n.data.trackInfo),"gopInfo"===n.data.action&&((e,t)=>{t.gopInfo=e.data.gopInfo})(n,v),"audioTimingInfo"===n.data.action&&u(n.data.audioTimingInfo),"videoTimingInfo"===n.data.action&&c(n.data.videoTimingInfo),"videoSegmentTimingInfo"===n.data.action&&l(n.data.videoSegmentTimingInfo),"audioSegmentTimingInfo"===n.data.action&&f(n.data.audioSegmentTimingInfo),"id3Frame"===n.data.action&&d([n.data.id3Frame],n.data.id3Frame.dispatchType),"caption"===n.data.action&&p(n.data.caption),"endedtimeline"===n.data.action&&(b=!1,g()),"log"===n.data.action&&m(n.data.log),"transmuxed"===n.data.type&&(b||(t.onmessage=null,(({transmuxedData:e,callback:t})=>{e.buffer=[],t(e)})({transmuxedData:v,callback:h}),Xs(t))))},r&&t.postMessage({action:"setAudioAppendStart",appendStart:r}),Array.isArray(i)&&t.postMessage({action:"alignGopsWith",gopsToAlignWith:i}),void 0!==o&&t.postMessage({action:"setRemux",remux:o}),n.byteLength){const e=n instanceof ArrayBuffer?n:n.buffer,r=n instanceof ArrayBuffer?0:n.byteOffset;t.postMessage({action:"push",data:e,byteOffset:r,byteLength:n.byteLength},[e])}y&&t.postMessage({action:"endTimeline"}),t.postMessage({action:"flush"})},Xs=e=>{e.currentTransmux=null,e.transmuxQueue.length&&(e.currentTransmux=e.transmuxQueue.shift(),"function"==typeof e.currentTransmux?e.currentTransmux():Ks(e.currentTransmux))},Qs=(e,t)=>{e.postMessage({action:t}),Xs(e)},Js=(e,t)=>{if(!t.currentTransmux)return t.currentTransmux=e,void Qs(t,e);t.transmuxQueue.push(Qs.bind(null,t,e))},eu=e=>{if(!e.transmuxer.currentTransmux)return e.transmuxer.currentTransmux=e,void Ks(e);e.transmuxer.transmuxQueue.push(e)};var tu=e=>{Js("reset",e)},nu=e=>{const t=new Ys;t.currentTransmux=null,t.transmuxQueue=[];const n=t.terminate;return t.terminate=()=>(t.currentTransmux=null,t.transmuxQueue.length=0,n.call(t)),t.postMessage({action:"init",options:e}),t};const ru=function(e){const t=e.transmuxer,n=e.endAction||e.action,r=e.callback,i=(0,b.Z)({},e,{endAction:null,transmuxer:null,callback:null}),o=i=>{i.data.action===n&&(t.removeEventListener("message",o),i.data.data&&(i.data.data=new Uint8Array(i.data.data,e.byteOffset||0,e.byteLength||i.data.data.byteLength),e.data&&(e.data=i.data.data)),r(i.data))};if(t.addEventListener("message",o),e.data){const n=e.data instanceof ArrayBuffer;i.byteOffset=n?0:e.data.byteOffset,i.byteLength=e.data.byteLength;const r=[n?e.data:e.data.buffer];t.postMessage(i,r)}else t.postMessage(i)},iu=2,ou=-101,au=-102,su=e=>{e.forEach((e=>{e.abort()}))},uu=(e,t)=>t.timedout?{status:t.status,message:"HLS request timed-out at URL: "+t.uri,code:ou,xhr:t}:t.aborted?{status:t.status,message:"HLS request aborted at URL: "+t.uri,code:au,xhr:t}:e?{status:t.status,message:"HLS request errored at URL: "+t.uri,code:iu,xhr:t}:"arraybuffer"===t.responseType&&0===t.response.byteLength?{status:t.status,message:"Empty HLS response at URL: "+t.uri,code:iu,xhr:t}:null,cu=(e,t,n)=>(r,i)=>{const o=i.response,a=uu(r,i);if(a)return n(a,e);if(16!==o.byteLength)return n({status:i.status,message:"Invalid HLS key at URL: "+i.uri,code:iu,xhr:i},e);const s=new DataView(o),u=new Uint32Array([s.getUint32(0),s.getUint32(4),s.getUint32(8),s.getUint32(12)]);for(let e=0;e<t.length;e++)t[e].bytes=u;return n(null,e)},lu=(e,t)=>{const n=St(e.map.bytes);if("mp4"!==n){const r=e.map.resolvedUri||e.map.uri;return t({internal:!0,message:`Found unsupported ${n||"unknown"} container for initialization segment at URL: ${r}`,code:iu})}ru({action:"probeMp4Tracks",data:e.map.bytes,transmuxer:e.transmuxer,callback:({tracks:n,data:r})=>(e.map.bytes=r,n.forEach((function(t){e.map.tracks=e.map.tracks||{},e.map.tracks[t.type]||(e.map.tracks[t.type]=t,"number"==typeof t.id&&t.timescale&&(e.map.timescales=e.map.timescales||{},e.map.timescales[t.id]=t.timescale))})),t(null))})},fu=({segment:e,finishProcessingFn:t,responseType:n})=>(r,i)=>{const o=uu(r,i);if(o)return t(o,e);const a="arraybuffer"!==n&&i.responseText?(e=>{const t=new Uint8Array(new ArrayBuffer(e.length));for(let n=0;n<e.length;n++)t[n]=e.charCodeAt(n);return t.buffer})(i.responseText.substring(e.lastReachedChar||0)):i.response;return e.stats=(e=>({bandwidth:e.bandwidth,bytesReceived:e.bytesReceived||0,roundTripTime:e.roundTripTime||0}))(i),e.key?e.encryptedBytes=new Uint8Array(a):e.bytes=new Uint8Array(a),t(null,e)},du=({segment:e,bytes:t,trackInfoFn:n,timingInfoFn:r,videoSegmentTimingInfoFn:i,audioSegmentTimingInfoFn:o,id3Fn:a,captionsFn:s,isEndOfTimeline:u,endedTimelineFn:c,dataFn:l,doneFn:f,onTransmuxerLog:d})=>{const p=e.map&&e.map.tracks||{},h=Boolean(p.audio&&p.video);let g=r.bind(null,e,"audio","start");const m=r.bind(null,e,"audio","end");let y=r.bind(null,e,"video","start");const v=r.bind(null,e,"video","end");ru({action:"probeTs",transmuxer:e.transmuxer,data:t,baseStartTime:e.baseStartTime,callback:r=>{e.bytes=t=r.data;const p=r.result;p&&(n(e,{hasAudio:p.hasAudio,hasVideo:p.hasVideo,isMuxed:h}),n=null,p.hasAudio&&!h&&g(p.audioStart),p.hasVideo&&y(p.videoStart),g=null,y=null),eu({bytes:t,transmuxer:e.transmuxer,audioAppendStart:e.audioAppendStart,gopsToAlignWith:e.gopsToAlignWith,remux:h,onData:t=>{t.type="combined"===t.type?"video":t.type,l(e,t)},onTrackInfo:t=>{n&&(h&&(t.isMuxed=!0),n(e,t))},onAudioTimingInfo:e=>{g&&void 0!==e.start&&(g(e.start),g=null),m&&void 0!==e.end&&m(e.end)},onVideoTimingInfo:e=>{y&&void 0!==e.start&&(y(e.start),y=null),v&&void 0!==e.end&&v(e.end)},onVideoSegmentTimingInfo:e=>{i(e)},onAudioSegmentTimingInfo:e=>{o(e)},onId3:(t,n)=>{a(e,t,n)},onCaptions:t=>{s(e,[t])},isEndOfTimeline:u,onEndedTimeline:()=>{c()},onTransmuxerLog:d,onDone:t=>{f&&(t.type="combined"===t.type?"video":t.type,f(null,e,t))}})}})},pu=({segment:e,bytes:t,trackInfoFn:n,timingInfoFn:r,videoSegmentTimingInfoFn:i,audioSegmentTimingInfoFn:o,id3Fn:a,captionsFn:s,isEndOfTimeline:u,endedTimelineFn:c,dataFn:l,doneFn:f,onTransmuxerLog:d})=>{let p=new Uint8Array(t);if(function(e){return ut(e,["moof"]).length>0}(p)){e.isFmp4=!0;const{tracks:i}=e.map,o={isFmp4:!0,hasVideo:!!i.video,hasAudio:!!i.audio};i.audio&&i.audio.codec&&"enca"!==i.audio.codec&&(o.audioCodec=i.audio.codec),i.video&&i.video.codec&&"encv"!==i.video.codec&&(o.videoCodec=i.video.codec),i.video&&i.audio&&(o.isMuxed=!0),n(e,o);const a=t=>{l(e,{data:p,type:o.hasAudio&&!o.isMuxed?"audio":"video"}),t&&t.length&&s(e,t),f(null,e,{})};ru({action:"probeMp4StartTime",timescales:e.map.timescales,data:p,transmuxer:e.transmuxer,callback:({data:n,startTime:s})=>{t=n.buffer,e.bytes=p=n,o.hasAudio&&!o.isMuxed&&r(e,"audio","start",s),o.hasVideo&&r(e,"video","start",s),i.video&&n.byteLength&&e.transmuxer?ru({action:"pushMp4Captions",endAction:"mp4Captions",transmuxer:e.transmuxer,data:p,timescales:e.map.timescales,trackIds:[i.video.id],callback:n=>{t=n.data.buffer,e.bytes=p=n.data,n.logs.forEach((function(e){d(Ia(e,{stream:"mp4CaptionParser"}))})),a(n.captions)}}):a()}})}else if(e.transmuxer){if(void 0===e.container&&(e.container=St(p)),"ts"!==e.container&&"aac"!==e.container)return n(e,{hasAudio:!1,hasVideo:!1}),void f(null,e,{});du({segment:e,bytes:t,trackInfoFn:n,timingInfoFn:r,videoSegmentTimingInfoFn:i,audioSegmentTimingInfoFn:o,id3Fn:a,captionsFn:s,isEndOfTimeline:u,endedTimelineFn:c,dataFn:l,doneFn:f,onTransmuxerLog:d})}else f(null,e,{})},hu=function({id:e,key:t,encryptedBytes:n,decryptionWorker:r},i){const o=t=>{if(t.data.source===e){r.removeEventListener("message",o);const e=t.data.decrypted;i(new Uint8Array(e.bytes,e.byteOffset,e.byteLength))}};let a;r.addEventListener("message",o),a=t.bytes.slice?t.bytes.slice():new Uint32Array(Array.prototype.slice.call(t.bytes)),r.postMessage(Os({source:e,encrypted:n,key:a,iv:t.iv}),[n.buffer,a.buffer])},gu=({activeXhrs:e,decryptionWorker:t,trackInfoFn:n,timingInfoFn:r,videoSegmentTimingInfoFn:i,audioSegmentTimingInfoFn:o,id3Fn:a,captionsFn:s,isEndOfTimeline:u,endedTimelineFn:c,dataFn:l,doneFn:f,onTransmuxerLog:d})=>{let p=0,h=!1;return(g,m)=>{if(!h){if(g)return h=!0,su(e),f(g,m);if(p+=1,p===e.length){const p=function(){if(m.encryptedBytes)return(({decryptionWorker:e,segment:t,trackInfoFn:n,timingInfoFn:r,videoSegmentTimingInfoFn:i,audioSegmentTimingInfoFn:o,id3Fn:a,captionsFn:s,isEndOfTimeline:u,endedTimelineFn:c,dataFn:l,doneFn:f,onTransmuxerLog:d})=>{hu({id:t.requestId,key:t.key,encryptedBytes:t.encryptedBytes,decryptionWorker:e},(e=>{t.bytes=e,pu({segment:t,bytes:t.bytes,trackInfoFn:n,timingInfoFn:r,videoSegmentTimingInfoFn:i,audioSegmentTimingInfoFn:o,id3Fn:a,captionsFn:s,isEndOfTimeline:u,endedTimelineFn:c,dataFn:l,doneFn:f,onTransmuxerLog:d})}))})({decryptionWorker:t,segment:m,trackInfoFn:n,timingInfoFn:r,videoSegmentTimingInfoFn:i,audioSegmentTimingInfoFn:o,id3Fn:a,captionsFn:s,isEndOfTimeline:u,endedTimelineFn:c,dataFn:l,doneFn:f,onTransmuxerLog:d});pu({segment:m,bytes:m.bytes,trackInfoFn:n,timingInfoFn:r,videoSegmentTimingInfoFn:i,audioSegmentTimingInfoFn:o,id3Fn:a,captionsFn:s,isEndOfTimeline:u,endedTimelineFn:c,dataFn:l,doneFn:f,onTransmuxerLog:d})};if(m.endOfAllRequests=Date.now(),m.map&&m.map.encryptedBytes&&!m.map.bytes)return hu({decryptionWorker:t,id:m.requestId+"-init",encryptedBytes:m.map.encryptedBytes,key:m.map.key},(t=>{m.map.bytes=t,lu(m,(t=>{if(t)return su(e),f(t,m);p()}))}));p()}}}},mu=({segment:e,progressFn:t,trackInfoFn:n,timingInfoFn:r,videoSegmentTimingInfoFn:i,audioSegmentTimingInfoFn:o,id3Fn:a,captionsFn:s,isEndOfTimeline:u,endedTimelineFn:c,dataFn:l})=>n=>{if(!n.target.aborted)return e.stats=Ia(e.stats,(e=>{const t=e.target,n={bandwidth:1/0,bytesReceived:0,roundTripTime:Date.now()-t.requestTime||0};return n.bytesReceived=e.loaded,n.bandwidth=Math.floor(n.bytesReceived/n.roundTripTime*8*1e3),n})(n)),!e.stats.firstBytesReceivedAt&&e.stats.bytesReceived&&(e.stats.firstBytesReceivedAt=Date.now()),t(n,e)},yu=({xhr:e,xhrOptions:t,decryptionWorker:n,segment:r,abortFn:i,progressFn:o,trackInfoFn:a,timingInfoFn:s,videoSegmentTimingInfoFn:u,audioSegmentTimingInfoFn:c,id3Fn:l,captionsFn:f,isEndOfTimeline:d,endedTimelineFn:p,dataFn:h,doneFn:g,onTransmuxerLog:m})=>{const y=[],v=gu({activeXhrs:y,decryptionWorker:n,trackInfoFn:a,timingInfoFn:s,videoSegmentTimingInfoFn:u,audioSegmentTimingInfoFn:c,id3Fn:l,captionsFn:f,isEndOfTimeline:d,endedTimelineFn:p,dataFn:h,doneFn:g,onTransmuxerLog:m});if(r.key&&!r.key.bytes){const n=[r.key];r.map&&!r.map.bytes&&r.map.key&&r.map.key.resolvedUri===r.key.resolvedUri&&n.push(r.map.key);const i=e(Ia(t,{uri:r.key.resolvedUri,responseType:"arraybuffer"}),cu(r,n,v));y.push(i)}if(r.map&&!r.map.bytes){if(r.map.key&&(!r.key||r.key.resolvedUri!==r.map.key.resolvedUri)){const n=e(Ia(t,{uri:r.map.key.resolvedUri,responseType:"arraybuffer"}),cu(r,[r.map.key],v));y.push(n)}const n=Ia(t,{uri:r.map.resolvedUri,responseType:"arraybuffer",headers:xs(r.map)}),i=(({segment:e,finishProcessingFn:t})=>(n,r)=>{const i=uu(n,r);if(i)return t(i,e);const o=new Uint8Array(r.response);if(e.map.key)return e.map.encryptedBytes=o,t(null,e);e.map.bytes=o,lu(e,(function(n){if(n)return n.xhr=r,n.status=r.status,t(n,e);t(null,e)}))})({segment:r,finishProcessingFn:v}),o=e(n,i);y.push(o)}const b=Ia(t,{uri:r.part&&r.part.resolvedUri||r.resolvedUri,responseType:"arraybuffer",headers:xs(r)}),_=e(b,fu({segment:r,finishProcessingFn:v,responseType:b.responseType}));_.addEventListener("progress",mu({segment:r,progressFn:o,trackInfoFn:a,timingInfoFn:s,videoSegmentTimingInfoFn:u,audioSegmentTimingInfoFn:c,id3Fn:l,captionsFn:f,isEndOfTimeline:d,endedTimelineFn:p,dataFn:h})),y.push(_);const w={};return y.forEach((e=>{e.addEventListener("loadend",(({loadendState:e,abortFn:t})=>n=>{n.target.aborted&&t&&!e.calledAbortFn&&(t(),e.calledAbortFn=!0)})({loadendState:w,abortFn:i}))})),()=>su(y)},vu=Aa("CodecUtils"),bu=(e,t)=>{const n=t.attributes||{};return e&&e.mediaGroups&&e.mediaGroups.AUDIO&&n.AUDIO&&e.mediaGroups.AUDIO[n.AUDIO]},_u=function(e){const t={};return e.forEach((({mediaType:e,type:n,details:r})=>{t[e]=t[e]||[],t[e].push(j(`${n}${r}`))})),Object.keys(t).forEach((function(e){if(t[e].length>1)return vu(`multiple ${e} codecs found as attributes: ${t[e].join(", ")}. Setting playlist codecs to null so that we wait for mux.js to probe segments for real codecs.`),void(t[e]=null);t[e]=t[e][0]})),t},wu=function(e){let t=0;return e.audio&&t++,e.video&&t++,t},Tu=function(e,t){const n=t.attributes||{},r=_u(function(e){const t=e.attributes||{};if(t.CODECS)return D(t.CODECS)}(t)||[]);if(bu(e,t)&&!r.audio&&!((e,t)=>{if(!bu(e,t))return!0;const n=t.attributes||{},r=e.mediaGroups.AUDIO[n.AUDIO];for(const e in r)if(!r[e].uri&&!r[e].playlists)return!0;return!1})(e,t)){const t=_u(function(e,t){if(!e.mediaGroups.AUDIO||!t)return null;var n=e.mediaGroups.AUDIO[t];if(!n)return null;for(var r in n){var i=n[r];if(i.default&&i.playlists)return D(i.playlists[0].attributes.CODECS)}return null}(e,n.AUDIO)||[]);t.audio&&(r.audio=t.audio)}return r},xu=Aa("PlaylistSelector"),Su=function(e){if(!e||!e.playlist)return;const t=e.playlist;return JSON.stringify({id:t.id,bandwidth:e.bandwidth,width:e.width,height:e.height,codecs:t.attributes&&t.attributes.CODECS||""})},ku=function(e,t){if(!e)return"";const n=i().getComputedStyle(e);return n?n[t]:""},Eu=function(e,t){const n=e.slice();e.sort((function(e,r){const i=t(e,r);return 0===i?n.indexOf(e)-n.indexOf(r):i}))},Ou=function(e,t){let n,r;return e.attributes.BANDWIDTH&&(n=e.attributes.BANDWIDTH),n=n||i().Number.MAX_VALUE,t.attributes.BANDWIDTH&&(r=t.attributes.BANDWIDTH),r=r||i().Number.MAX_VALUE,n-r};let Cu=function(e,t,n,r,o,a){if(!e)return;const s={bandwidth:t,width:n,height:r,limitRenditionByPlayerDimensions:o};let u=e.playlists;os.isAudioOnly(e)&&(u=a.getAudioTrackPlaylists_(),s.audioOnly=!0);let c=u.map((e=>{let t;const n=e.attributes&&e.attributes.RESOLUTION&&e.attributes.RESOLUTION.width,r=e.attributes&&e.attributes.RESOLUTION&&e.attributes.RESOLUTION.height;return t=e.attributes&&e.attributes.BANDWIDTH,t=t||i().Number.MAX_VALUE,{bandwidth:t,width:n,height:r,playlist:e}}));Eu(c,((e,t)=>e.bandwidth-t.bandwidth)),c=c.filter((e=>!os.isIncompatible(e.playlist)));let l=c.filter((e=>os.isEnabled(e.playlist)));l.length||(l=c.filter((e=>!os.isDisabled(e.playlist))));const f=l.filter((e=>e.bandwidth*Zs.BANDWIDTH_VARIANCE<t));let d=f[f.length-1];const p=f.filter((e=>e.bandwidth===d.bandwidth))[0];if(!1===o){const e=p||l[0]||c[0];if(e&&e.playlist){let t="sortedPlaylistReps";return p&&(t="bandwidthBestRep"),l[0]&&(t="enabledPlaylistReps"),xu(`choosing ${Su(e)} using ${t} with options`,s),e.playlist}return xu("could not choose a playlist with options",s),null}const h=f.filter((e=>e.width&&e.height));Eu(h,((e,t)=>e.width-t.width));const g=h.filter((e=>e.width===n&&e.height===r));d=g[g.length-1];const m=g.filter((e=>e.bandwidth===d.bandwidth))[0];let y,v,b,_;if(m||(y=h.filter((e=>e.width>n||e.height>r)),v=y.filter((e=>e.width===y[0].width&&e.height===y[0].height)),d=v[v.length-1],b=v.filter((e=>e.bandwidth===d.bandwidth))[0]),a.leastPixelDiffSelector){const e=h.map((e=>(e.pixelDiff=Math.abs(e.width-n)+Math.abs(e.height-r),e)));Eu(e,((e,t)=>e.pixelDiff===t.pixelDiff?t.bandwidth-e.bandwidth:e.pixelDiff-t.pixelDiff)),_=e[0]}const w=_||b||m||p||l[0]||c[0];if(w&&w.playlist){let e="sortedPlaylistReps";return _?e="leastPixelDiffRep":b?e="resolutionPlusOneRep":m?e="resolutionBestRep":p?e="bandwidthBestRep":l[0]&&(e="enabledPlaylistReps"),xu(`choosing ${Su(w)} using ${e} with options`,s),w.playlist}return xu("could not choose a playlist with options",s),null};const Lu=function(){const e=this.useDevicePixelRatio&&i().devicePixelRatio||1;return Cu(this.playlists.main,this.systemBandwidth,parseInt(ku(this.tech_.el(),"width"),10)*e,parseInt(ku(this.tech_.el(),"height"),10)*e,this.limitRenditionByPlayerDimensions,this.playlistController_)},Au=({inbandTextTracks:e,metadataArray:t,timestampOffset:n,videoDuration:r})=>{if(!t)return;const o=i().WebKitDataCue||i().VTTCue,a=e.metadataTrack_;if(!a)return;if(t.forEach((e=>{const t=e.cueTime+n;!("number"!=typeof t||i().isNaN(t)||t<0)&&t<1/0&&e.frames.forEach((e=>{const n=new o(t,t,e.value||e.url||e.data||"");n.frame=e,n.value=e,function(e){Object.defineProperties(e.frame,{id:{get:()=>(Ta.log.warn("cue.frame.id is deprecated. Use cue.value.key instead."),e.value.key)},value:{get:()=>(Ta.log.warn("cue.frame.value is deprecated. Use cue.value.data instead."),e.value.data)},privateData:{get:()=>(Ta.log.warn("cue.frame.privateData is deprecated. Use cue.value.data instead."),e.value.data)}})}(n),a.addCue(n)}))})),!a.cues||!a.cues.length)return;const s=a.cues,u=[];for(let e=0;e<s.length;e++)s[e]&&u.push(s[e]);const c=u.reduce(((e,t)=>{const n=e[t.startTime]||[];return n.push(t),e[t.startTime]=n,e}),{}),l=Object.keys(c).sort(((e,t)=>Number(e)-Number(t)));l.forEach(((e,t)=>{const n=c[e],i=Number(l[t+1])||r;n.forEach((e=>{e.endTime=i}))}))},Iu=function(e,t,n){let r,i;if(n&&n.cues)for(r=n.cues.length;r--;)i=n.cues[r],i.startTime>=e&&i.endTime<=t&&n.removeCue(i)},Pu=e=>"number"==typeof e&&isFinite(e),Mu=1/60,Ru=e=>{const{startOfSegment:t,duration:n,segment:r,part:i,playlist:{mediaSequence:o,id:a,segments:s=[]},mediaIndex:u,partIndex:c,timeline:l}=e,f=s.length-1;let d="mediaIndex/partIndex increment";e.getMediaInfoForTime?d=`getMediaInfoForTime (${e.getMediaInfoForTime})`:e.isSyncRequest&&(d="getSyncSegmentCandidate (isSyncRequest)"),e.independent&&(d+=` with independent ${e.independent}`);const p="number"==typeof c,h=e.segment.uri?"segment":"pre-segment",g=p?Va({preloadSegment:r})-1:0;return`${h} [${o+u}/${o+f}]`+(p?` part [${c}/${g}]`:"")+` segment start/end [${r.start} => ${r.end}]`+(p?` part start/end [${i.start} => ${i.end}]`:"")+` startOfSegment [${t}]`+` duration [${n}]`+` timeline [${l}]`+` selected by [${d}]`+` playlist [${a}]`},ju=e=>`${e}TimingInfo`,Du=({timelineChangeController:e,currentTimeline:t,segmentTimeline:n,loaderType:r,audioDisabled:i})=>{if(t===n)return!1;if("audio"===r){const t=e.lastTimelineChange({type:"main"});return!t||t.to!==n}if("main"===r&&i){const t=e.pendingTimelineChange({type:"audio"});return!t||t.to!==n}return!1},Nu=({segmentDuration:e,maxDuration:t})=>!!e&&Math.round(e)>t+Ma,Bu=(e,t)=>{if("hls"!==t)return null;const n=(e=>{let t=0;return["video","audio"].forEach((function(n){const r=e[`${n}TimingInfo`];if(!r)return;const{start:o,end:a}=r;let s;"bigint"==typeof o||"bigint"==typeof a?s=i().BigInt(a)-i().BigInt(o):"number"==typeof o&&"number"==typeof a&&(s=a-o),void 0!==s&&s>t&&(t=s)})),"bigint"==typeof t&&t<Number.MAX_SAFE_INTEGER&&(t=Number(t)),t})({audioTimingInfo:e.audioTimingInfo,videoTimingInfo:e.videoTimingInfo});if(!n)return null;const r=e.playlist.targetDuration,o=Nu({segmentDuration:n,maxDuration:2*r}),a=Nu({segmentDuration:n,maxDuration:r}),s=`Segment with index ${e.mediaIndex} from playlist ${e.playlist.id} has a duration of ${n} when the reported duration is ${e.duration} and the target duration is ${r}. For HLS content, a duration in excess of the target duration may result in playback issues. See the HLS specification section on EXT-X-TARGETDURATION for more details: https://tools.ietf.org/html/draft-pantos-http-live-streaming-23#section-4.3.3.1`;return o||a?{severity:o?"warn":"info",message:s}:null};class Uu extends Ta.EventTarget{constructor(e,t={}){if(super(),!e)throw new TypeError("Initialization settings are required");if("function"!=typeof e.currentTime)throw new TypeError("No currentTime getter specified");if(!e.mediaSource)throw new TypeError("No MediaSource specified");this.bandwidth=e.bandwidth,this.throughput={rate:0,count:0},this.roundTrip=NaN,this.resetStats_(),this.mediaIndex=null,this.partIndex=null,this.hasPlayed_=e.hasPlayed,this.currentTime_=e.currentTime,this.seekable_=e.seekable,this.seeking_=e.seeking,this.duration_=e.duration,this.mediaSource_=e.mediaSource,this.vhs_=e.vhs,this.loaderType_=e.loaderType,this.currentMediaInfo_=void 0,this.startingMediaInfo_=void 0,this.segmentMetadataTrack_=e.segmentMetadataTrack,this.goalBufferLength_=e.goalBufferLength,this.sourceType_=e.sourceType,this.sourceUpdater_=e.sourceUpdater,this.inbandTextTracks_=e.inbandTextTracks,this.state_="INIT",this.timelineChangeController_=e.timelineChangeController,this.shouldSaveSegmentTimingInfo_=!0,this.parse708captions_=e.parse708captions,this.useDtsForTimestampOffset_=e.useDtsForTimestampOffset,this.captionServices_=e.captionServices,this.exactManifestTimings=e.exactManifestTimings,this.checkBufferTimeout_=null,this.error_=void 0,this.currentTimeline_=-1,this.pendingSegment_=null,this.xhrOptions_=null,this.pendingSegments_=[],this.audioDisabled_=!1,this.isPendingTimestampOffset_=!1,this.gopBuffer_=[],this.timeMapping_=0,this.safeAppend_=Ta.browser.IE_VERSION>=11,this.appendInitSegment_={audio:!0,video:!0},this.playlistOfLastInitSegment_={audio:null,video:null},this.callQueue_=[],this.loadQueue_=[],this.metadataQueue_={id3:[],caption:[]},this.waitingOnRemove_=!1,this.quotaExceededErrorRetryTimeout_=null,this.activeInitSegmentId_=null,this.initSegments_={},this.cacheEncryptionKeys_=e.cacheEncryptionKeys,this.keyCache_={},this.decrypter_=e.decrypter,this.syncController_=e.syncController,this.syncPoint_={segmentIndex:0,time:0},this.transmuxer_=this.createTransmuxer_(),this.triggerSyncInfoUpdate_=()=>this.trigger("syncinfoupdate"),this.syncController_.on("syncinfoupdate",this.triggerSyncInfoUpdate_),this.mediaSource_.addEventListener("sourceopen",(()=>{this.isEndOfStream_()||(this.ended_=!1)})),this.fetchAtBuffer_=!1,this.logger_=Aa(`SegmentLoader[${this.loaderType_}]`),Object.defineProperty(this,"state",{get(){return this.state_},set(e){e!==this.state_&&(this.logger_(`${this.state_} -> ${e}`),this.state_=e,this.trigger("statechange"))}}),this.sourceUpdater_.on("ready",(()=>{this.hasEnoughInfoToAppend_()&&this.processCallQueue_()})),"main"===this.loaderType_&&this.timelineChangeController_.on("pendingtimelinechange",(()=>{this.hasEnoughInfoToAppend_()&&this.processCallQueue_()})),"audio"===this.loaderType_&&this.timelineChangeController_.on("timelinechange",(()=>{this.hasEnoughInfoToLoad_()&&this.processLoadQueue_(),this.hasEnoughInfoToAppend_()&&this.processCallQueue_()}))}createTransmuxer_(){return nu({remux:!1,alignGopsAtEnd:this.safeAppend_,keepOriginalTimestamps:!0,parse708captions:this.parse708captions_,captionServices:this.captionServices_})}resetStats_(){this.mediaBytesTransferred=0,this.mediaRequests=0,this.mediaRequestsAborted=0,this.mediaRequestsTimedout=0,this.mediaRequestsErrored=0,this.mediaTransferDuration=0,this.mediaSecondsLoaded=0,this.mediaAppends=0}dispose(){this.trigger("dispose"),this.state="DISPOSED",this.pause(),this.abort_(),this.transmuxer_&&this.transmuxer_.terminate(),this.resetStats_(),this.checkBufferTimeout_&&i().clearTimeout(this.checkBufferTimeout_),this.syncController_&&this.triggerSyncInfoUpdate_&&this.syncController_.off("syncinfoupdate",this.triggerSyncInfoUpdate_),this.off()}setAudio(e){this.audioDisabled_=!e,e?this.appendInitSegment_.audio=!0:this.sourceUpdater_.removeAudio(0,this.duration_())}abort(){"WAITING"===this.state?(this.abort_(),this.state="READY",this.paused()||this.monitorBuffer_()):this.pendingSegment_&&(this.pendingSegment_=null)}abort_(){this.pendingSegment_&&this.pendingSegment_.abortRequests&&this.pendingSegment_.abortRequests(),this.pendingSegment_=null,this.callQueue_=[],this.loadQueue_=[],this.metadataQueue_.id3=[],this.metadataQueue_.caption=[],this.timelineChangeController_.clearPendingTimelineChange(this.loaderType_),this.waitingOnRemove_=!1,i().clearTimeout(this.quotaExceededErrorRetryTimeout_),this.quotaExceededErrorRetryTimeout_=null}checkForAbort_(e){return"APPENDING"!==this.state||this.pendingSegment_?!this.pendingSegment_||this.pendingSegment_.requestId!==e:(this.state="READY",!0)}error(e){return void 0!==e&&(this.logger_("error occurred:",e),this.error_=e),this.pendingSegment_=null,this.error_}endOfStream(){this.ended_=!0,this.transmuxer_&&tu(this.transmuxer_),this.gopBuffer_.length=0,this.pause(),this.trigger("ended")}buffered_(){const e=this.getMediaInfo_();if(!this.sourceUpdater_||!e)return Pa();if("main"===this.loaderType_){const{hasAudio:t,hasVideo:n,isMuxed:r}=e;if(n&&t&&!this.audioDisabled_&&!r)return this.sourceUpdater_.buffered();if(n)return this.sourceUpdater_.videoBuffered()}return this.sourceUpdater_.audioBuffered()}initSegmentForMap(e,t=!1){if(!e)return null;const n=Cs(e);let r=this.initSegments_[n];return t&&!r&&e.bytes&&(this.initSegments_[n]=r={resolvedUri:e.resolvedUri,byterange:e.byterange,bytes:e.bytes,tracks:e.tracks,timescales:e.timescales}),r||e}segmentKey(e,t=!1){if(!e)return null;const n=Ls(e);let r=this.keyCache_[n];this.cacheEncryptionKeys_&&t&&!r&&e.bytes&&(this.keyCache_[n]=r={resolvedUri:e.resolvedUri,bytes:e.bytes});const i={resolvedUri:(r||e).resolvedUri};return r&&(i.bytes=r.bytes),i}couldBeginLoading_(){return this.playlist_&&!this.paused()}load(){if(this.monitorBuffer_(),this.playlist_)return"INIT"===this.state&&this.couldBeginLoading_()?this.init_():void(!this.couldBeginLoading_()||"READY"!==this.state&&"INIT"!==this.state||(this.state="READY"))}init_(){return this.state="READY",this.resetEverything(),this.monitorBuffer_()}playlist(e,t={}){if(!e)return;const n=this.playlist_,r=this.pendingSegment_;this.playlist_=e,this.xhrOptions_=t,"INIT"===this.state&&(e.syncInfo={mediaSequence:e.mediaSequence,time:0},"main"===this.loaderType_&&this.syncController_.setDateTimeMappingForStart(e));let i=null;if(n&&(n.id?i=n.id:n.uri&&(i=n.uri)),this.logger_(`playlist update [${i} => ${e.id||e.uri}]`),this.trigger("syncinfoupdate"),"INIT"===this.state&&this.couldBeginLoading_())return this.init_();if(!n||n.uri!==e.uri)return null!==this.mediaIndex&&(e.endList?this.resyncLoader():this.resetLoader()),this.currentMediaInfo_=void 0,void this.trigger("playlistupdate");const o=e.mediaSequence-n.mediaSequence;if(this.logger_(`live window shift [${o}]`),null!==this.mediaIndex)if(this.mediaIndex-=o,this.mediaIndex<0)this.mediaIndex=null,this.partIndex=null;else{const e=this.playlist_.segments[this.mediaIndex];if(this.partIndex&&(!e.parts||!e.parts.length||!e.parts[this.partIndex])){const e=this.mediaIndex;this.logger_(`currently processing part (index ${this.partIndex}) no longer exists.`),this.resetLoader(),this.mediaIndex=e}}r&&(r.mediaIndex-=o,r.mediaIndex<0?(r.mediaIndex=null,r.partIndex=null):(r.mediaIndex>=0&&(r.segment=e.segments[r.mediaIndex]),r.partIndex>=0&&r.segment.parts&&(r.part=r.segment.parts[r.partIndex]))),this.syncController_.saveExpiredSegmentInfo(n,e)}pause(){this.checkBufferTimeout_&&(i().clearTimeout(this.checkBufferTimeout_),this.checkBufferTimeout_=null)}paused(){return null===this.checkBufferTimeout_}resetEverything(e){this.ended_=!1,this.activeInitSegmentId_=null,this.appendInitSegment_={audio:!0,video:!0},this.resetLoader(),this.remove(0,1/0,e),this.transmuxer_&&(this.transmuxer_.postMessage({action:"clearAllMp4Captions"}),this.transmuxer_.postMessage({action:"reset"}))}resetLoader(){this.fetchAtBuffer_=!1,this.resyncLoader()}resyncLoader(){this.transmuxer_&&tu(this.transmuxer_),this.mediaIndex=null,this.partIndex=null,this.syncPoint_=null,this.isPendingTimestampOffset_=!1,this.callQueue_=[],this.loadQueue_=[],this.metadataQueue_.id3=[],this.metadataQueue_.caption=[],this.abort(),this.transmuxer_&&this.transmuxer_.postMessage({action:"clearParsedMp4Captions"})}remove(e,t,n=(()=>{}),r=!1){if(t===1/0&&(t=this.duration_()),t<=e)return void this.logger_("skipping remove because end ${end} is <= start ${start}");if(!this.sourceUpdater_||!this.getMediaInfo_())return void this.logger_("skipping remove because no source updater or starting media info");let i=1;const o=()=>{i--,0===i&&n()};!r&&this.audioDisabled_||(i++,this.sourceUpdater_.removeAudio(e,t,o)),(r||"main"===this.loaderType_)&&(this.gopBuffer_=((e,t,n,r)=>{const i=Math.ceil((t-r)*kt.ONE_SECOND_IN_TS),o=Math.ceil((n-r)*kt.ONE_SECOND_IN_TS),a=e.slice();let s=e.length;for(;s--&&!(e[s].pts<=o););if(-1===s)return a;let u=s+1;for(;u--&&!(e[u].pts<=i););return u=Math.max(u,0),a.splice(u,s-u+1),a})(this.gopBuffer_,e,t,this.timeMapping_),i++,this.sourceUpdater_.removeVideo(e,t,o));for(const n in this.inbandTextTracks_)Iu(e,t,this.inbandTextTracks_[n]);Iu(e,t,this.segmentMetadataTrack_),o()}monitorBuffer_(){this.checkBufferTimeout_&&i().clearTimeout(this.checkBufferTimeout_),this.checkBufferTimeout_=i().setTimeout(this.monitorBufferTick_.bind(this),1)}monitorBufferTick_(){"READY"===this.state&&this.fillBuffer_(),this.checkBufferTimeout_&&i().clearTimeout(this.checkBufferTimeout_),this.checkBufferTimeout_=i().setTimeout(this.monitorBufferTick_.bind(this),500)}fillBuffer_(){if(this.sourceUpdater_.updating())return;const e=this.chooseNextRequest_();e&&("number"==typeof e.timestampOffset&&(this.isPendingTimestampOffset_=!1,this.timelineChangeController_.pendingTimelineChange({type:this.loaderType_,from:this.currentTimeline_,to:e.timeline})),this.loadSegment_(e))}isEndOfStream_(e=this.mediaIndex,t=this.playlist_,n=this.partIndex){if(!t||!this.mediaSource_)return!1;const r="number"==typeof e&&t.segments[e],i=e+1===t.segments.length,o=!r||!r.parts||n+1===r.parts.length;return t.endList&&"open"===this.mediaSource_.readyState&&i&&o}chooseNextRequest_(){const e=this.buffered_(),t=Fa(e)||0,n=za(e,this.currentTime_()),r=!this.hasPlayed_()&&n>=1,i=n>=this.goalBufferLength_(),o=this.playlist_.segments;if(!o.length||r||i)return null;this.syncPoint_=this.syncPoint_||this.syncController_.getSyncPoint(this.playlist_,this.duration_(),this.currentTimeline_,this.currentTime_());const a={partIndex:null,mediaIndex:null,startOfSegment:null,playlist:this.playlist_,isSyncRequest:Boolean(!this.syncPoint_)};if(a.isSyncRequest)a.mediaIndex=function(e,t,n){t=t||[];const r=[];let i=0;for(let o=0;o<t.length;o++){const a=t[o];if(e===a.timeline&&(r.push(o),i+=a.duration,i>n))return o}return 0===r.length?0:r[r.length-1]}(this.currentTimeline_,o,t);else if(null!==this.mediaIndex){const e=o[this.mediaIndex],n="number"==typeof this.partIndex?this.partIndex:-1;a.startOfSegment=e.end?e.end:t,e.parts&&e.parts[n+1]?(a.mediaIndex=this.mediaIndex,a.partIndex=n+1):a.mediaIndex=this.mediaIndex+1}else{const{segmentIndex:e,startTime:n,partIndex:r}=os.getMediaInfoForTime({exactManifestTimings:this.exactManifestTimings,playlist:this.playlist_,currentTime:this.fetchAtBuffer_?t:this.currentTime_(),startingPartIndex:this.syncPoint_.partIndex,startingSegmentIndex:this.syncPoint_.segmentIndex,startTime:this.syncPoint_.time});a.getMediaInfoForTime=this.fetchAtBuffer_?`bufferedEnd ${t}`:`currentTime ${this.currentTime_()}`,a.mediaIndex=e,a.startOfSegment=n,a.partIndex=r}const s=o[a.mediaIndex];let u=s&&"number"==typeof a.partIndex&&s.parts&&s.parts[a.partIndex];if(!s||"number"==typeof a.partIndex&&!u)return null;if("number"!=typeof a.partIndex&&s.parts&&(a.partIndex=0,u=s.parts[0]),!n&&u&&!u.independent)if(0===a.partIndex){const e=o[a.mediaIndex-1],t=e.parts&&e.parts.length&&e.parts[e.parts.length-1];t&&t.independent&&(a.mediaIndex-=1,a.partIndex=e.parts.length-1,a.independent="previous segment")}else s.parts[a.partIndex-1].independent&&(a.partIndex-=1,a.independent="previous part");const c=this.mediaSource_&&"ended"===this.mediaSource_.readyState;return a.mediaIndex>=o.length-1&&c&&!this.seeking_()?null:this.generateSegmentInfo_(a)}generateSegmentInfo_(e){const{independent:t,playlist:n,mediaIndex:r,startOfSegment:i,isSyncRequest:o,partIndex:a,forceTimestampOffset:s,getMediaInfoForTime:u}=e,c=n.segments[r],l="number"==typeof a&&c.parts[a],f={requestId:"segment-loader-"+Math.random(),uri:l&&l.resolvedUri||c.resolvedUri,mediaIndex:r,partIndex:l?a:null,isSyncRequest:o,startOfSegment:i,playlist:n,bytes:null,encryptedBytes:null,timestampOffset:null,timeline:c.timeline,duration:l&&l.duration||c.duration,segment:c,part:l,byteLength:0,transmuxer:this.transmuxer_,getMediaInfoForTime:u,independent:t},d=void 0!==s?s:this.isPendingTimestampOffset_;f.timestampOffset=this.timestampOffsetForSegment_({segmentTimeline:c.timeline,currentTimeline:this.currentTimeline_,startOfSegment:i,buffered:this.buffered_(),overrideCheck:d});const p=Fa(this.sourceUpdater_.audioBuffered());return"number"==typeof p&&(f.audioAppendStart=p-this.sourceUpdater_.audioTimestampOffset()),this.sourceUpdater_.videoBuffered().length&&(f.gopsToAlignWith=((e,t,n)=>{if(null==t||!e.length)return[];const r=Math.ceil((t-n+3)*kt.ONE_SECOND_IN_TS);let i;for(i=0;i<e.length&&!(e[i].pts>r);i++);return e.slice(i)})(this.gopBuffer_,this.currentTime_()-this.sourceUpdater_.videoTimestampOffset(),this.timeMapping_)),f}timestampOffsetForSegment_(e){return(({segmentTimeline:e,currentTimeline:t,startOfSegment:n,buffered:r,overrideCheck:i})=>i||e!==t?e<t?n:r.length?r.end(r.length-1):n:null)(e)}earlyAbortWhenNeeded_(e){if(this.vhs_.tech_.paused()||!this.xhrOptions_.timeout||!this.playlist_.attributes.BANDWIDTH)return;if(Date.now()-(e.firstBytesReceivedAt||Date.now())<1e3)return;const t=this.currentTime_(),n=e.bandwidth,r=this.pendingSegment_.duration,i=os.estimateSegmentRequestTime(r,n,this.playlist_,e.bytesReceived),o=function(e,t,n=1){return((e.length?e.end(e.length-1):0)-t)/n}(this.buffered_(),t,this.vhs_.tech_.playbackRate())-1;if(i<=o)return;const a=function(e){const{main:t,currentTime:n,bandwidth:r,duration:i,segmentDuration:o,timeUntilRebuffer:a,currentTimeline:s,syncController:u}=e,c=t.playlists.filter((e=>!os.isIncompatible(e)));let l=c.filter(os.isEnabled);l.length||(l=c.filter((e=>!os.isDisabled(e))));const f=l.filter(os.hasAttribute.bind(null,"BANDWIDTH")).map((e=>{const t=u.getSyncPoint(e,i,s,n)?1:2;return{playlist:e,rebufferingImpact:os.estimateSegmentRequestTime(o,r,e)*t-a}})),d=f.filter((e=>e.rebufferingImpact<=0));return Eu(d,((e,t)=>Ou(t.playlist,e.playlist))),d.length?d[0]:(Eu(f,((e,t)=>e.rebufferingImpact-t.rebufferingImpact)),f[0]||null)}({main:this.vhs_.playlists.main,currentTime:t,bandwidth:n,duration:this.duration_(),segmentDuration:r,timeUntilRebuffer:o,currentTimeline:this.currentTimeline_,syncController:this.syncController_});if(!a)return;const s=i-o-a.rebufferingImpact;let u=.5;o<=Ma&&(u=1),!a.playlist||a.playlist.uri===this.playlist_.uri||s<u||(this.bandwidth=a.playlist.attributes.BANDWIDTH*Zs.BANDWIDTH_VARIANCE+1,this.trigger("earlyabort"))}handleAbort_(e){this.logger_(`Aborting ${Ru(e)}`),this.mediaRequestsAborted+=1}handleProgress_(e,t){this.earlyAbortWhenNeeded_(t.stats),this.checkForAbort_(t.requestId)||this.trigger("progress")}handleTrackInfo_(e,t){this.earlyAbortWhenNeeded_(e.stats),this.checkForAbort_(e.requestId)||this.checkForIllegalMediaSwitch(t)||(t=t||{},function(e,t){if(!e&&!t||!e&&t||e&&!t)return!1;if(e===t)return!0;const n=Object.keys(e).sort(),r=Object.keys(t).sort();if(n.length!==r.length)return!1;for(let i=0;i<n.length;i++){const o=n[i];if(o!==r[i])return!1;if(e[o]!==t[o])return!1}return!0}(this.currentMediaInfo_,t)||(this.appendInitSegment_={audio:!0,video:!0},this.startingMediaInfo_=t,this.currentMediaInfo_=t,this.logger_("trackinfo update",t),this.trigger("trackinfo")),this.checkForAbort_(e.requestId)||(this.pendingSegment_.trackInfo=t,this.hasEnoughInfoToAppend_()&&this.processCallQueue_()))}handleTimingInfo_(e,t,n,r){if(this.earlyAbortWhenNeeded_(e.stats),this.checkForAbort_(e.requestId))return;const i=this.pendingSegment_,o=ju(t);i[o]=i[o]||{},i[o][n]=r,this.logger_(`timinginfo: ${t} - ${n} - ${r}`),this.hasEnoughInfoToAppend_()&&this.processCallQueue_()}handleCaptions_(e,t){if(this.earlyAbortWhenNeeded_(e.stats),this.checkForAbort_(e.requestId))return;if(0===t.length)return void this.logger_("SegmentLoader received no captions from a caption event");if(!this.pendingSegment_.hasAppendedData_)return void this.metadataQueue_.caption.push(this.handleCaptions_.bind(this,e,t));const n=null===this.sourceUpdater_.videoTimestampOffset()?this.sourceUpdater_.audioTimestampOffset():this.sourceUpdater_.videoTimestampOffset(),r={};t.forEach((e=>{r[e.stream]=r[e.stream]||{startTime:1/0,captions:[],endTime:0};const t=r[e.stream];t.startTime=Math.min(t.startTime,e.startTime+n),t.endTime=Math.max(t.endTime,e.endTime+n),t.captions.push(e)})),Object.keys(r).forEach((e=>{const{startTime:t,endTime:o,captions:a}=r[e],s=this.inbandTextTracks_;this.logger_(`adding cues from ${t} -> ${o} for ${e}`),function(e,t,n){if(!e[n]){t.trigger({type:"usage",name:"vhs-608"});let r=n;/^cc708_/.test(n)&&(r="SERVICE"+n.split("_")[1]);const i=t.textTracks().getTrackById(r);if(i)e[n]=i;else{let i=n,o=n,a=!1;const s=(t.options_.vhs&&t.options_.vhs.captionServices||{})[r];s&&(i=s.label,o=s.language,a=s.default),e[n]=t.addRemoteTextTrack({kind:"captions",id:r,default:a,label:i,language:o},!1).track}}}(s,this.vhs_.tech_,e),Iu(t,o,s[e]),function({inbandTextTracks:e,captionArray:t,timestampOffset:n}){if(!t)return;const r=i().WebKitDataCue||i().VTTCue;t.forEach((t=>{const i=t.stream;e[i].addCue(new r(t.startTime+n,t.endTime+n,t.text))}))}({captionArray:a,inbandTextTracks:s,timestampOffset:n})})),this.transmuxer_&&this.transmuxer_.postMessage({action:"clearParsedMp4Captions"})}handleId3_(e,t,n){if(this.earlyAbortWhenNeeded_(e.stats),this.checkForAbort_(e.requestId))return;if(!this.pendingSegment_.hasAppendedData_)return void this.metadataQueue_.id3.push(this.handleId3_.bind(this,e,t,n));const r=null===this.sourceUpdater_.videoTimestampOffset()?this.sourceUpdater_.audioTimestampOffset():this.sourceUpdater_.videoTimestampOffset();((e,t,n)=>{e.metadataTrack_||(e.metadataTrack_=n.addRemoteTextTrack({kind:"metadata",label:"Timed Metadata"},!1).track,e.metadataTrack_.inBandMetadataTrackDispatchType=t)})(this.inbandTextTracks_,n,this.vhs_.tech_),Au({inbandTextTracks:this.inbandTextTracks_,metadataArray:t,timestampOffset:r,videoDuration:this.duration_()})}processMetadataQueue_(){this.metadataQueue_.id3.forEach((e=>e())),this.metadataQueue_.caption.forEach((e=>e())),this.metadataQueue_.id3=[],this.metadataQueue_.caption=[]}processCallQueue_(){const e=this.callQueue_;this.callQueue_=[],e.forEach((e=>e()))}processLoadQueue_(){const e=this.loadQueue_;this.loadQueue_=[],e.forEach((e=>e()))}hasEnoughInfoToLoad_(){if("audio"!==this.loaderType_)return!0;const e=this.pendingSegment_;return!!e&&(!this.getCurrentMediaInfo_()||!Du({timelineChangeController:this.timelineChangeController_,currentTimeline:this.currentTimeline_,segmentTimeline:e.timeline,loaderType:this.loaderType_,audioDisabled:this.audioDisabled_}))}getCurrentMediaInfo_(e=this.pendingSegment_){return e&&e.trackInfo||this.currentMediaInfo_}getMediaInfo_(e=this.pendingSegment_){return this.getCurrentMediaInfo_(e)||this.startingMediaInfo_}getPendingSegmentPlaylist(){return this.pendingSegment_?this.pendingSegment_.playlist:null}hasEnoughInfoToAppend_(){if(!this.sourceUpdater_.ready())return!1;if(this.waitingOnRemove_||this.quotaExceededErrorRetryTimeout_)return!1;const e=this.pendingSegment_,t=this.getCurrentMediaInfo_();if(!e||!t)return!1;const{hasAudio:n,hasVideo:r,isMuxed:i}=t;return!(r&&!e.videoTimingInfo)&&(!(n&&!this.audioDisabled_&&!i&&!e.audioTimingInfo)&&!Du({timelineChangeController:this.timelineChangeController_,currentTimeline:this.currentTimeline_,segmentTimeline:e.timeline,loaderType:this.loaderType_,audioDisabled:this.audioDisabled_}))}handleData_(e,t){if(this.earlyAbortWhenNeeded_(e.stats),this.checkForAbort_(e.requestId))return;if(this.callQueue_.length||!this.hasEnoughInfoToAppend_())return void this.callQueue_.push(this.handleData_.bind(this,e,t));const n=this.pendingSegment_;if(this.setTimeMapping_(n.timeline),this.updateMediaSecondsLoaded_(n.part||n.segment),"closed"!==this.mediaSource_.readyState){if(e.map&&(e.map=this.initSegmentForMap(e.map,!0),n.segment.map=e.map),e.key&&this.segmentKey(e.key,!0),n.isFmp4=e.isFmp4,n.timingInfo=n.timingInfo||{},n.isFmp4)this.trigger("fmp4"),n.timingInfo.start=n[ju(t.type)].start;else{const e=this.getCurrentMediaInfo_(),t="main"===this.loaderType_&&e&&e.hasVideo;let r;t&&(r=n.videoTimingInfo.start),n.timingInfo.start=this.trueSegmentStart_({currentStart:n.timingInfo.start,playlist:n.playlist,mediaIndex:n.mediaIndex,currentVideoTimestampOffset:this.sourceUpdater_.videoTimestampOffset(),useVideoTimingInfo:t,firstVideoFrameTimeForData:r,videoTimingInfo:n.videoTimingInfo,audioTimingInfo:n.audioTimingInfo})}if(this.updateAppendInitSegmentStatus(n,t.type),this.updateSourceBufferTimestampOffset_(n),n.isSyncRequest){this.updateTimingInfoEnd_(n),this.syncController_.saveSegmentTimingInfo({segmentInfo:n,shouldSaveTimelineMapping:"main"===this.loaderType_});const e=this.chooseNextRequest_();if(e.mediaIndex!==n.mediaIndex||e.partIndex!==n.partIndex)return void this.logger_("sync segment was incorrect, not appending");this.logger_("sync segment was correct, appending")}n.hasAppendedData_=!0,this.processMetadataQueue_(),this.appendData_(n,t)}}updateAppendInitSegmentStatus(e,t){"main"!==this.loaderType_||"number"!=typeof e.timestampOffset||e.changedTimestampOffset||(this.appendInitSegment_={audio:!0,video:!0}),this.playlistOfLastInitSegment_[t]!==e.playlist&&(this.appendInitSegment_[t]=!0)}getInitSegmentAndUpdateState_({type:e,initSegment:t,map:n,playlist:r}){if(n){const e=Cs(n);if(this.activeInitSegmentId_===e)return null;t=this.initSegmentForMap(n,!0).bytes,this.activeInitSegmentId_=e}return t&&this.appendInitSegment_[e]?(this.playlistOfLastInitSegment_[e]=r,this.appendInitSegment_[e]=!1,this.activeInitSegmentId_=null,t):null}handleQuotaExceededError_({segmentInfo:e,type:t,bytes:n},r){const o=this.sourceUpdater_.audioBuffered(),a=this.sourceUpdater_.videoBuffered();o.length>1&&this.logger_("On QUOTA_EXCEEDED_ERR, found gaps in the audio buffer: "+Ua(o).join(", ")),a.length>1&&this.logger_("On QUOTA_EXCEEDED_ERR, found gaps in the video buffer: "+Ua(a).join(", "));const s=o.length?o.start(0):0,u=o.length?o.end(o.length-1):0,c=a.length?a.start(0):0,l=a.length?a.end(a.length-1):0;if(u-s<=1&&l-c<=1)return this.logger_(`On QUOTA_EXCEEDED_ERR, single segment too large to append to buffer, triggering an error. Appended byte length: ${n.byteLength}, audio buffer: ${Ua(o).join(", ")}, video buffer: ${Ua(a).join(", ")}, `),this.error({message:"Quota exceeded error with append of a single segment of content",excludeUntil:1/0}),void this.trigger("error");this.waitingOnRemove_=!0,this.callQueue_.push(this.appendToSourceBuffer_.bind(this,{segmentInfo:e,type:t,bytes:n}));const f=this.currentTime_()-1;this.logger_(`On QUOTA_EXCEEDED_ERR, removing audio/video from 0 to ${f}`),this.remove(0,f,(()=>{this.logger_("On QUOTA_EXCEEDED_ERR, retrying append in 1s"),this.waitingOnRemove_=!1,this.quotaExceededErrorRetryTimeout_=i().setTimeout((()=>{this.logger_("On QUOTA_EXCEEDED_ERR, re-processing call queue"),this.quotaExceededErrorRetryTimeout_=null,this.processCallQueue_()}),1e3)}),!0)}handleAppendError_({segmentInfo:e,type:t,bytes:n},r){r&&(22!==r.code?(this.logger_("Received non QUOTA_EXCEEDED_ERR on append",r),this.error(`${t} append of ${n.length}b failed for segment #${e.mediaIndex} in playlist ${e.playlist.id}`),this.trigger("appenderror")):this.handleQuotaExceededError_({segmentInfo:e,type:t,bytes:n}))}appendToSourceBuffer_({segmentInfo:e,type:t,initSegment:n,data:r,bytes:i}){if(!i){const e=[r];let t=r.byteLength;n&&(e.unshift(n),t+=n.byteLength),i=(e=>{let t,n=0;return e.bytes&&(t=new Uint8Array(e.bytes),e.segments.forEach((e=>{t.set(e,n),n+=e.byteLength}))),t})({bytes:t,segments:e})}this.sourceUpdater_.appendBuffer({segmentInfo:e,type:t,bytes:i},this.handleAppendError_.bind(this,{segmentInfo:e,type:t,bytes:i}))}handleSegmentTimingInfo_(e,t,n){if(!this.pendingSegment_||t!==this.pendingSegment_.requestId)return;const r=this.pendingSegment_.segment,i=`${e}TimingInfo`;r[i]||(r[i]={}),r[i].transmuxerPrependedSeconds=n.prependedContentDuration||0,r[i].transmuxedPresentationStart=n.start.presentation,r[i].transmuxedDecodeStart=n.start.decode,r[i].transmuxedPresentationEnd=n.end.presentation,r[i].transmuxedDecodeEnd=n.end.decode,r[i].baseMediaDecodeTime=n.baseMediaDecodeTime}appendData_(e,t){const{type:n,data:r}=t;if(!r||!r.byteLength)return;if("audio"===n&&this.audioDisabled_)return;const i=this.getInitSegmentAndUpdateState_({type:n,initSegment:t.initSegment,playlist:e.playlist,map:e.isFmp4?e.segment.map:null});this.appendToSourceBuffer_({segmentInfo:e,type:n,initSegment:i,data:r})}loadSegment_(e){this.state="WAITING",this.pendingSegment_=e,this.trimBackBuffer_(e),"number"==typeof e.timestampOffset&&this.transmuxer_&&this.transmuxer_.postMessage({action:"clearAllMp4Captions"}),this.hasEnoughInfoToLoad_()?this.updateTransmuxerAndRequestSegment_(e):this.loadQueue_.push((()=>{const t=(0,b.Z)({},e,{forceTimestampOffset:!0});(0,b.Z)(e,this.generateSegmentInfo_(t)),this.isPendingTimestampOffset_=!1,this.updateTransmuxerAndRequestSegment_(e)}))}updateTransmuxerAndRequestSegment_(e){this.shouldUpdateTransmuxerTimestampOffset_(e.timestampOffset)&&(this.gopBuffer_.length=0,e.gopsToAlignWith=[],this.timeMapping_=0,this.transmuxer_.postMessage({action:"reset"}),this.transmuxer_.postMessage({action:"setTimestampOffset",timestampOffset:e.timestampOffset}));const t=this.createSimplifiedSegmentObj_(e),n=this.isEndOfStream_(e.mediaIndex,e.playlist,e.partIndex),r=null!==this.mediaIndex,i=e.timeline!==this.currentTimeline_&&e.timeline>0,o=n||r&&i;this.logger_(`Requesting ${Ru(e)}`),t.map&&!t.map.bytes&&(this.logger_("going to request init segment."),this.appendInitSegment_={video:!0,audio:!0}),e.abortRequests=yu({xhr:this.vhs_.xhr,xhrOptions:this.xhrOptions_,decryptionWorker:this.decrypter_,segment:t,abortFn:this.handleAbort_.bind(this,e),progressFn:this.handleProgress_.bind(this),trackInfoFn:this.handleTrackInfo_.bind(this),timingInfoFn:this.handleTimingInfo_.bind(this),videoSegmentTimingInfoFn:this.handleSegmentTimingInfo_.bind(this,"video",e.requestId),audioSegmentTimingInfoFn:this.handleSegmentTimingInfo_.bind(this,"audio",e.requestId),captionsFn:this.handleCaptions_.bind(this),isEndOfTimeline:o,endedTimelineFn:()=>{this.logger_("received endedtimeline callback")},id3Fn:this.handleId3_.bind(this),dataFn:this.handleData_.bind(this),doneFn:this.segmentRequestFinished_.bind(this),onTransmuxerLog:({message:t,level:n,stream:r})=>{this.logger_(`${Ru(e)} logged from transmuxer stream ${r} as a ${n}: ${t}`)}})}trimBackBuffer_(e){const t=((e,t,n)=>{let r=t-Zs.BACK_BUFFER_LENGTH;e.length&&(r=Math.max(r,e.start(0)));const i=t-n;return Math.min(i,r)})(this.seekable_(),this.currentTime_(),this.playlist_.targetDuration||10);t>0&&this.remove(0,t)}createSimplifiedSegmentObj_(e){const t=e.segment,n=e.part,r={resolvedUri:n?n.resolvedUri:t.resolvedUri,byterange:n?n.byterange:t.byterange,requestId:e.requestId,transmuxer:e.transmuxer,audioAppendStart:e.audioAppendStart,gopsToAlignWith:e.gopsToAlignWith,part:e.part},i=e.playlist.segments[e.mediaIndex-1];if(i&&i.timeline===t.timeline&&(i.videoTimingInfo?r.baseStartTime=i.videoTimingInfo.transmuxedDecodeEnd:i.audioTimingInfo&&(r.baseStartTime=i.audioTimingInfo.transmuxedDecodeEnd)),t.key){const n=t.key.iv||new Uint32Array([0,0,0,e.mediaIndex+e.playlist.mediaSequence]);r.key=this.segmentKey(t.key),r.key.iv=n}return t.map&&(r.map=this.initSegmentForMap(t.map)),r}saveTransferStats_(e){this.mediaRequests+=1,e&&(this.mediaBytesTransferred+=e.bytesReceived,this.mediaTransferDuration+=e.roundTripTime)}saveBandwidthRelatedStats_(e,t){this.pendingSegment_.byteLength=t.bytesReceived,e<Mu?this.logger_(`Ignoring segment's bandwidth because its duration of ${e} is less than the min to record 0.016666666666666666`):(this.bandwidth=t.bandwidth,this.roundTrip=t.roundTripTime)}handleTimeout_(){this.mediaRequestsTimedout+=1,this.bandwidth=1,this.roundTrip=NaN,this.trigger("bandwidthupdate"),this.trigger("timeout")}segmentRequestFinished_(e,t,n){if(this.callQueue_.length)return void this.callQueue_.push(this.segmentRequestFinished_.bind(this,e,t,n));if(this.saveTransferStats_(t.stats),!this.pendingSegment_)return;if(t.requestId!==this.pendingSegment_.requestId)return;if(e){if(this.pendingSegment_=null,this.state="READY",e.code===au)return;return this.pause(),e.code===ou?void this.handleTimeout_():(this.mediaRequestsErrored+=1,this.error(e),void this.trigger("error"))}const r=this.pendingSegment_;this.saveBandwidthRelatedStats_(r.duration,t.stats),r.endOfAllRequests=t.endOfAllRequests,n.gopInfo&&(this.gopBuffer_=((e,t,n)=>{if(!t.length)return e;if(n)return t.slice();const r=t[0].pts;let i=0;for(;i<e.length&&!(e[i].pts>=r);i++);return e.slice(0,i).concat(t)})(this.gopBuffer_,n.gopInfo,this.safeAppend_)),this.state="APPENDING",this.trigger("appending"),this.waitForAppendsToComplete_(r)}setTimeMapping_(e){const t=this.syncController_.mappingForTimeline(e);null!==t&&(this.timeMapping_=t)}updateMediaSecondsLoaded_(e){"number"==typeof e.start&&"number"==typeof e.end?this.mediaSecondsLoaded+=e.end-e.start:this.mediaSecondsLoaded+=e.duration}shouldUpdateTransmuxerTimestampOffset_(e){return null!==e&&("main"===this.loaderType_&&e!==this.sourceUpdater_.videoTimestampOffset()||!this.audioDisabled_&&e!==this.sourceUpdater_.audioTimestampOffset())}trueSegmentStart_({currentStart:e,playlist:t,mediaIndex:n,firstVideoFrameTimeForData:r,currentVideoTimestampOffset:i,useVideoTimingInfo:o,videoTimingInfo:a,audioTimingInfo:s}){if(void 0!==e)return e;if(!o)return s.start;const u=t.segments[n-1];return 0!==n&&u&&void 0!==u.start&&u.end===r+i?a.start:r}waitForAppendsToComplete_(e){const t=this.getCurrentMediaInfo_(e);if(!t)return this.error({message:"No starting media returned, likely due to an unsupported media format.",playlistExclusionDuration:1/0}),void this.trigger("error");const{hasAudio:n,hasVideo:r,isMuxed:i}=t,o="main"===this.loaderType_&&r,a=!this.audioDisabled_&&n&&!i;if(e.waitingOnAppends=0,!e.hasAppendedData_)return e.timingInfo||"number"!=typeof e.timestampOffset||(this.isPendingTimestampOffset_=!0),e.timingInfo={start:0},e.waitingOnAppends++,this.isPendingTimestampOffset_||(this.updateSourceBufferTimestampOffset_(e),this.processMetadataQueue_()),void this.checkAppendsDone_(e);o&&e.waitingOnAppends++,a&&e.waitingOnAppends++,o&&this.sourceUpdater_.videoQueueCallback(this.checkAppendsDone_.bind(this,e)),a&&this.sourceUpdater_.audioQueueCallback(this.checkAppendsDone_.bind(this,e))}checkAppendsDone_(e){this.checkForAbort_(e.requestId)||(e.waitingOnAppends--,0===e.waitingOnAppends&&this.handleAppendsDone_())}checkForIllegalMediaSwitch(e){const t=((e,t,n)=>"main"===e&&t&&n?n.hasAudio||n.hasVideo?t.hasVideo&&!n.hasVideo?"Only audio found in segment when we expected video. We can't switch to audio only from a stream that had video. To get rid of this message, please add codec information to the manifest.":!t.hasVideo&&n.hasVideo?"Video found in segment when we expected only audio. We can't switch to a stream with video from an audio only stream. To get rid of this message, please add codec information to the manifest.":null:"Neither audio nor video found in segment.":null)(this.loaderType_,this.getCurrentMediaInfo_(),e);return!!t&&(this.error({message:t,playlistExclusionDuration:1/0}),this.trigger("error"),!0)}updateSourceBufferTimestampOffset_(e){if(null===e.timestampOffset||"number"!=typeof e.timingInfo.start||e.changedTimestampOffset||"main"!==this.loaderType_)return;let t=!1;e.timestampOffset-=this.getSegmentStartTimeForTimestampOffsetCalculation_({videoTimingInfo:e.segment.videoTimingInfo,audioTimingInfo:e.segment.audioTimingInfo,timingInfo:e.timingInfo}),e.changedTimestampOffset=!0,e.timestampOffset!==this.sourceUpdater_.videoTimestampOffset()&&(this.sourceUpdater_.videoTimestampOffset(e.timestampOffset),t=!0),e.timestampOffset!==this.sourceUpdater_.audioTimestampOffset()&&(this.sourceUpdater_.audioTimestampOffset(e.timestampOffset),t=!0),t&&this.trigger("timestampoffset")}getSegmentStartTimeForTimestampOffsetCalculation_({videoTimingInfo:e,audioTimingInfo:t,timingInfo:n}){return this.useDtsForTimestampOffset_?e&&"number"==typeof e.transmuxedDecodeStart?e.transmuxedDecodeStart:t&&"number"==typeof t.transmuxedDecodeStart?t.transmuxedDecodeStart:n.start:n.start}updateTimingInfoEnd_(e){e.timingInfo=e.timingInfo||{};const t=this.getMediaInfo_(),n="main"===this.loaderType_&&t&&t.hasVideo&&e.videoTimingInfo?e.videoTimingInfo:e.audioTimingInfo;n&&(e.timingInfo.end="number"==typeof n.end?n.end:n.start+e.duration)}handleAppendsDone_(){if(this.pendingSegment_&&this.trigger("appendsdone"),!this.pendingSegment_)return this.state="READY",void(this.paused()||this.monitorBuffer_());const e=this.pendingSegment_;this.updateTimingInfoEnd_(e),this.shouldSaveSegmentTimingInfo_&&this.syncController_.saveSegmentTimingInfo({segmentInfo:e,shouldSaveTimelineMapping:"main"===this.loaderType_});const t=Bu(e,this.sourceType_);if(t&&("warn"===t.severity?Ta.log.warn(t.message):this.logger_(t.message)),this.recordThroughput_(e),this.pendingSegment_=null,this.state="READY",e.isSyncRequest&&(this.trigger("syncinfoupdate"),!e.hasAppendedData_))return void this.logger_(`Throwing away un-appended sync request ${Ru(e)}`);this.logger_(`Appended ${Ru(e)}`),this.addSegmentMetadataCue_(e),this.fetchAtBuffer_=!0,this.currentTimeline_!==e.timeline&&(this.timelineChangeController_.lastTimelineChange({type:this.loaderType_,from:this.currentTimeline_,to:e.timeline}),"main"!==this.loaderType_||this.audioDisabled_||this.timelineChangeController_.lastTimelineChange({type:"audio",from:this.currentTimeline_,to:e.timeline})),this.currentTimeline_=e.timeline,this.trigger("syncinfoupdate");const n=e.segment,r=e.part,i=n.end&&this.currentTime_()-n.end>3*e.playlist.targetDuration,o=r&&r.end&&this.currentTime_()-r.end>3*e.playlist.partTargetDuration;if(i||o)return this.logger_(`bad ${i?"segment":"part"} ${Ru(e)}`),void this.resetEverything();null!==this.mediaIndex&&this.trigger("bandwidthupdate"),this.trigger("progress"),this.mediaIndex=e.mediaIndex,this.partIndex=e.partIndex,this.isEndOfStream_(e.mediaIndex,e.playlist,e.partIndex)&&this.endOfStream(),this.trigger("appended"),e.hasAppendedData_&&this.mediaAppends++,this.paused()||this.monitorBuffer_()}recordThroughput_(e){if(e.duration<Mu)return void this.logger_(`Ignoring segment's throughput because its duration of ${e.duration} is less than the min to record 0.016666666666666666`);const t=this.throughput.rate,n=Date.now()-e.endOfAllRequests+1,r=Math.floor(e.byteLength/n*8*1e3);this.throughput.rate+=(r-t)/++this.throughput.count}addSegmentMetadataCue_(e){if(!this.segmentMetadataTrack_)return;const t=e.segment,n=t.start,r=t.end;if(!Pu(n)||!Pu(r))return;Iu(n,r,this.segmentMetadataTrack_);const o=i().WebKitDataCue||i().VTTCue,a={custom:t.custom,dateTimeObject:t.dateTimeObject,dateTimeString:t.dateTimeString,bandwidth:e.playlist.attributes.BANDWIDTH,resolution:e.playlist.attributes.RESOLUTION,codecs:e.playlist.attributes.CODECS,byteLength:e.byteLength,uri:e.uri,timeline:e.timeline,playlist:e.playlist.id,start:n,end:r},s=new o(n,r,JSON.stringify(a));s.value=a,this.segmentMetadataTrack_.addCue(s)}}function Fu(){}const zu=function(e){return"string"!=typeof e?e:e.replace(/./,(e=>e.toUpperCase()))},Hu=["video","audio"],Zu=(e,t)=>{const n=t[`${e}Buffer`];return n&&n.updating||t.queuePending[e]},qu=(e,t)=>{if(0===t.queue.length)return;let n=0,r=t.queue[n];if("mediaSource"!==r.type){if("mediaSource"!==e&&t.ready()&&"closed"!==t.mediaSource.readyState&&!Zu(e,t)){if(r.type!==e){if(n=((e,t)=>{for(let n=0;n<t.length;n++){const r=t[n];if("mediaSource"===r.type)return null;if(r.type===e)return n}return null})(e,t.queue),null===n)return;r=t.queue[n]}return t.queue.splice(n,1),t.queuePending[e]=r,r.action(e,t),r.doneFn?void 0:(t.queuePending[e]=null,void qu(e,t))}}else t.updating()||"closed"===t.mediaSource.readyState||(t.queue.shift(),r.action(t),r.doneFn&&r.doneFn(),qu("audio",t),qu("video",t))},Vu=(e,t)=>{const n=t[`${e}Buffer`],r=zu(e);n&&(n.removeEventListener("updateend",t[`on${r}UpdateEnd_`]),n.removeEventListener("error",t[`on${r}Error_`]),t.codecs[e]=null,t[`${e}Buffer`]=null)},Wu=(e,t)=>e&&t&&-1!==Array.prototype.indexOf.call(e.sourceBuffers,t),Gu=(e,t,n)=>(r,i)=>{const o=i[`${r}Buffer`];if(Wu(i.mediaSource,o)){i.logger_(`Appending segment ${t.mediaIndex}'s ${e.length} bytes to ${r}Buffer`);try{o.appendBuffer(e)}catch(e){i.logger_(`Error with code ${e.code} `+(22===e.code?"(QUOTA_EXCEEDED_ERR) ":"")+`when appending segment ${t.mediaIndex} to ${r}Buffer`),i.queuePending[r]=null,n(e)}}},$u=(e,t)=>(n,r)=>{const i=r[`${n}Buffer`];if(Wu(r.mediaSource,i)){r.logger_(`Removing ${e} to ${t} from ${n}Buffer`);try{i.remove(e,t)}catch(i){r.logger_(`Remove ${e} to ${t} from ${n}Buffer failed`)}}},Yu=e=>(t,n)=>{const r=n[`${t}Buffer`];Wu(n.mediaSource,r)&&(n.logger_(`Setting ${t}timestampOffset to ${e}`),r.timestampOffset=e)},Ku=e=>(t,n)=>{e()},Xu=e=>t=>{if("open"===t.mediaSource.readyState){t.logger_(`Calling mediaSource endOfStream(${e||""})`);try{t.mediaSource.endOfStream(e)}catch(e){Ta.log.warn("Failed to call media source endOfStream",e)}}},Qu=e=>t=>{t.logger_(`Setting mediaSource duration to ${e}`);try{t.mediaSource.duration=e}catch(e){Ta.log.warn("Failed to set media source duration",e)}},Ju=()=>(e,t)=>{if("open"!==t.mediaSource.readyState)return;const n=t[`${e}Buffer`];if(Wu(t.mediaSource,n)){t.logger_(`calling abort on ${e}Buffer`);try{n.abort()}catch(t){Ta.log.warn(`Failed to abort on ${e}Buffer`,t)}}},ec=(e,t)=>n=>{const r=zu(e),i=B(t);n.logger_(`Adding ${e}Buffer with codec ${t} to mediaSource`);const o=n.mediaSource.addSourceBuffer(i);o.addEventListener("updateend",n[`on${r}UpdateEnd_`]),o.addEventListener("error",n[`on${r}Error_`]),n.codecs[e]=t,n[`${e}Buffer`]=o},tc=e=>t=>{const n=t[`${e}Buffer`];if(Vu(e,t),Wu(t.mediaSource,n)){t.logger_(`Removing ${e}Buffer with codec ${t.codecs[e]} from mediaSource`);try{t.mediaSource.removeSourceBuffer(n)}catch(t){Ta.log.warn(`Failed to removeSourceBuffer ${e}Buffer`,t)}}},nc=e=>(t,n)=>{const r=n[`${t}Buffer`],i=B(e);Wu(n.mediaSource,r)&&n.codecs[t]!==e&&(n.logger_(`changing ${t}Buffer codec from ${n.codecs[t]} to ${e}`),r.changeType(i),n.codecs[t]=e)},rc=({type:e,sourceUpdater:t,action:n,doneFn:r,name:i})=>{t.queue.push({type:e,action:n,doneFn:r,name:i}),qu(e,t)},ic=(e,t)=>n=>{if(t.queuePending[e]){const n=t.queuePending[e].doneFn;t.queuePending[e]=null,n&&n(t[`${e}Error_`])}qu(e,t)};class oc extends Ta.EventTarget{constructor(e){super(),this.mediaSource=e,this.sourceopenListener_=()=>qu("mediaSource",this),this.mediaSource.addEventListener("sourceopen",this.sourceopenListener_),this.logger_=Aa("SourceUpdater"),this.audioTimestampOffset_=0,this.videoTimestampOffset_=0,this.queue=[],this.queuePending={audio:null,video:null},this.delayedAudioAppendQueue_=[],this.videoAppendQueued_=!1,this.codecs={},this.onVideoUpdateEnd_=ic("video",this),this.onAudioUpdateEnd_=ic("audio",this),this.onVideoError_=e=>{this.videoError_=e},this.onAudioError_=e=>{this.audioError_=e},this.createdSourceBuffers_=!1,this.initializedEme_=!1,this.triggeredReady_=!1}initializedEme(){this.initializedEme_=!0,this.triggerReady()}hasCreatedSourceBuffers(){return this.createdSourceBuffers_}hasInitializedAnyEme(){return this.initializedEme_}ready(){return this.hasCreatedSourceBuffers()&&this.hasInitializedAnyEme()}createSourceBuffers(e){this.hasCreatedSourceBuffers()||(this.addOrChangeSourceBuffers(e),this.createdSourceBuffers_=!0,this.trigger("createdsourcebuffers"),this.triggerReady())}triggerReady(){this.ready()&&!this.triggeredReady_&&(this.triggeredReady_=!0,this.trigger("ready"))}addSourceBuffer(e,t){rc({type:"mediaSource",sourceUpdater:this,action:ec(e,t),name:"addSourceBuffer"})}abort(e){rc({type:e,sourceUpdater:this,action:Ju(e),name:"abort"})}removeSourceBuffer(e){this.canRemoveSourceBuffer()?rc({type:"mediaSource",sourceUpdater:this,action:tc(e),name:"removeSourceBuffer"}):Ta.log.error("removeSourceBuffer is not supported!")}canRemoveSourceBuffer(){return!Ta.browser.IE_VERSION&&!Ta.browser.IS_FIREFOX&&i().MediaSource&&i().MediaSource.prototype&&"function"==typeof i().MediaSource.prototype.removeSourceBuffer}static canChangeType(){return i().SourceBuffer&&i().SourceBuffer.prototype&&"function"==typeof i().SourceBuffer.prototype.changeType}canChangeType(){return this.constructor.canChangeType()}changeType(e,t){this.canChangeType()?rc({type:e,sourceUpdater:this,action:nc(t),name:"changeType"}):Ta.log.error("changeType is not supported!")}addOrChangeSourceBuffers(e){if(!e||"object"!=typeof e||0===Object.keys(e).length)throw new Error("Cannot addOrChangeSourceBuffers to undefined codecs");Object.keys(e).forEach((t=>{const n=e[t];if(!this.hasCreatedSourceBuffers())return this.addSourceBuffer(t,n);this.canChangeType()&&this.changeType(t,n)}))}appendBuffer(e,t){const{segmentInfo:n,type:r,bytes:i}=e;if(this.processedAppend_=!0,"audio"===r&&this.videoBuffer&&!this.videoAppendQueued_)return this.delayedAudioAppendQueue_.push([e,t]),void this.logger_(`delayed audio append of ${i.length} until video append`);if(rc({type:r,sourceUpdater:this,action:Gu(i,n||{mediaIndex:-1},t),doneFn:t,name:"appendBuffer"}),"video"===r){if(this.videoAppendQueued_=!0,!this.delayedAudioAppendQueue_.length)return;const e=this.delayedAudioAppendQueue_.slice();this.logger_(`queuing delayed audio ${e.length} appendBuffers`),this.delayedAudioAppendQueue_.length=0,e.forEach((e=>{this.appendBuffer.apply(this,e)}))}}audioBuffered(){return Wu(this.mediaSource,this.audioBuffer)&&this.audioBuffer.buffered?this.audioBuffer.buffered:Pa()}videoBuffered(){return Wu(this.mediaSource,this.videoBuffer)&&this.videoBuffer.buffered?this.videoBuffer.buffered:Pa()}buffered(){const e=Wu(this.mediaSource,this.videoBuffer)?this.videoBuffer:null,t=Wu(this.mediaSource,this.audioBuffer)?this.audioBuffer:null;return t&&!e?this.audioBuffered():e&&!t?this.videoBuffered():function(e,t){let n=null,r=null,i=0;const o=[],a=[];if(!(e&&e.length&&t&&t.length))return Pa();let s=e.length;for(;s--;)o.push({time:e.start(s),type:"start"}),o.push({time:e.end(s),type:"end"});for(s=t.length;s--;)o.push({time:t.start(s),type:"start"}),o.push({time:t.end(s),type:"end"});for(o.sort((function(e,t){return e.time-t.time})),s=0;s<o.length;s++)"start"===o[s].type?(i++,2===i&&(n=o[s].time)):"end"===o[s].type&&(i--,1===i&&(r=o[s].time)),null!==n&&null!==r&&(a.push([n,r]),n=null,r=null);return Pa(a)}(this.audioBuffered(),this.videoBuffered())}setDuration(e,t=Fu){rc({type:"mediaSource",sourceUpdater:this,action:Qu(e),name:"duration",doneFn:t})}endOfStream(e=null,t=Fu){"string"!=typeof e&&(e=void 0),rc({type:"mediaSource",sourceUpdater:this,action:Xu(e),name:"endOfStream",doneFn:t})}removeAudio(e,t,n=Fu){this.audioBuffered().length&&0!==this.audioBuffered().end(0)?rc({type:"audio",sourceUpdater:this,action:$u(e,t),doneFn:n,name:"remove"}):n()}removeVideo(e,t,n=Fu){this.videoBuffered().length&&0!==this.videoBuffered().end(0)?rc({type:"video",sourceUpdater:this,action:$u(e,t),doneFn:n,name:"remove"}):n()}updating(){return!(!Zu("audio",this)&&!Zu("video",this))}audioTimestampOffset(e){return void 0!==e&&this.audioBuffer&&this.audioTimestampOffset_!==e&&(rc({type:"audio",sourceUpdater:this,action:Yu(e),name:"timestampOffset"}),this.audioTimestampOffset_=e),this.audioTimestampOffset_}videoTimestampOffset(e){return void 0!==e&&this.videoBuffer&&this.videoTimestampOffset!==e&&(rc({type:"video",sourceUpdater:this,action:Yu(e),name:"timestampOffset"}),this.videoTimestampOffset_=e),this.videoTimestampOffset_}audioQueueCallback(e){this.audioBuffer&&rc({type:"audio",sourceUpdater:this,action:Ku(e),name:"callback"})}videoQueueCallback(e){this.videoBuffer&&rc({type:"video",sourceUpdater:this,action:Ku(e),name:"callback"})}dispose(){this.trigger("dispose"),Hu.forEach((e=>{this.abort(e),this.canRemoveSourceBuffer()?this.removeSourceBuffer(e):this[`${e}QueueCallback`]((()=>Vu(e,this)))})),this.videoAppendQueued_=!1,this.delayedAudioAppendQueue_.length=0,this.sourceopenListener_&&this.mediaSource.removeEventListener("sourceopen",this.sourceopenListener_),this.off()}}const ac=e=>decodeURIComponent(escape(String.fromCharCode.apply(null,e))),sc=new Uint8Array("\n\n".split("").map((e=>e.charCodeAt(0))));class uc extends Error{constructor(){super("Trying to parse received VTT cues, but there is no WebVTT. Make sure vtt.js is loaded.")}}class cc extends Uu{constructor(e,t={}){super(e,t),this.mediaSource_=null,this.subtitlesTrack_=null,this.loaderType_="subtitle",this.featuresNativeTextTracks_=e.featuresNativeTextTracks,this.loadVttJs=e.loadVttJs,this.shouldSaveSegmentTimingInfo_=!1}createTransmuxer_(){return null}buffered_(){if(!this.subtitlesTrack_||!this.subtitlesTrack_.cues||!this.subtitlesTrack_.cues.length)return Pa();const e=this.subtitlesTrack_.cues;return Pa([[e[0].startTime,e[e.length-1].startTime]])}initSegmentForMap(e,t=!1){if(!e)return null;const n=Cs(e);let r=this.initSegments_[n];if(t&&!r&&e.bytes){const t=sc.byteLength+e.bytes.byteLength,i=new Uint8Array(t);i.set(e.bytes),i.set(sc,e.bytes.byteLength),this.initSegments_[n]=r={resolvedUri:e.resolvedUri,byterange:e.byterange,bytes:i}}return r||e}couldBeginLoading_(){return this.playlist_&&this.subtitlesTrack_&&!this.paused()}init_(){return this.state="READY",this.resetEverything(),this.monitorBuffer_()}track(e){return void 0===e||(this.subtitlesTrack_=e,"INIT"===this.state&&this.couldBeginLoading_()&&this.init_()),this.subtitlesTrack_}remove(e,t){Iu(e,t,this.subtitlesTrack_)}fillBuffer_(){const e=this.chooseNextRequest_();if(e){if(null===this.syncController_.timestampOffsetForTimeline(e.timeline)){const e=()=>{this.state="READY",this.paused()||this.monitorBuffer_()};return this.syncController_.one("timestampoffset",e),void(this.state="WAITING_ON_TIMELINE")}this.loadSegment_(e)}}timestampOffsetForSegment_(){return null}chooseNextRequest_(){return this.skipEmptySegments_(super.chooseNextRequest_())}skipEmptySegments_(e){for(;e&&e.segment.empty;){if(e.mediaIndex+1>=e.playlist.segments.length){e=null;break}e=this.generateSegmentInfo_({playlist:e.playlist,mediaIndex:e.mediaIndex+1,startOfSegment:e.startOfSegment+e.duration,isSyncRequest:e.isSyncRequest})}return e}stopForError(e){this.error(e),this.state="READY",this.pause(),this.trigger("error")}segmentRequestFinished_(e,t,n){if(!this.subtitlesTrack_)return void(this.state="READY");if(this.saveTransferStats_(t.stats),!this.pendingSegment_)return this.state="READY",void(this.mediaRequestsAborted+=1);if(e)return e.code===ou&&this.handleTimeout_(),e.code===au?this.mediaRequestsAborted+=1:this.mediaRequestsErrored+=1,void this.stopForError(e);const r=this.pendingSegment_;this.saveBandwidthRelatedStats_(r.duration,t.stats),t.key&&this.segmentKey(t.key,!0),this.state="APPENDING",this.trigger("appending");const o=r.segment;if(o.map&&(o.map.bytes=t.map.bytes),r.bytes=t.bytes,"function"!=typeof i().WebVTT&&"function"==typeof this.loadVttJs)return this.state="WAITING_ON_VTTJS",void this.loadVttJs().then((()=>this.segmentRequestFinished_(e,t,n)),(()=>this.stopForError({message:"Error loading vtt.js"})));o.requested=!0;try{this.parseVTTCues_(r)}catch(e){return void this.stopForError({message:e.message})}if(this.updateTimeMapping_(r,this.syncController_.timelines[r.timeline],this.playlist_),r.cues.length?r.timingInfo={start:r.cues[0].startTime,end:r.cues[r.cues.length-1].endTime}:r.timingInfo={start:r.startOfSegment,end:r.startOfSegment+r.duration},r.isSyncRequest)return this.trigger("syncinfoupdate"),this.pendingSegment_=null,void(this.state="READY");r.byteLength=r.bytes.byteLength,this.mediaSecondsLoaded+=o.duration,r.cues.forEach((e=>{this.subtitlesTrack_.addCue(this.featuresNativeTextTracks_?new(i().VTTCue)(e.startTime,e.endTime,e.text):e)})),function(e){const t=e.cues;if(t)for(let n=0;n<t.length;n++){const r=[];let i=0;for(let e=0;e<t.length;e++)t[n].startTime===t[e].startTime&&t[n].endTime===t[e].endTime&&t[n].text===t[e].text&&(i++,i>1&&r.push(t[e]));r.length&&r.forEach((t=>e.removeCue(t)))}}(this.subtitlesTrack_),this.handleAppendsDone_()}handleData_(){}updateTimingInfoEnd_(){}parseVTTCues_(e){let t,n=!1;if("function"!=typeof i().WebVTT)throw new uc;"function"==typeof i().TextDecoder?t=new(i().TextDecoder)("utf8"):(t=i().WebVTT.StringDecoder(),n=!0);const r=new(i().WebVTT.Parser)(i(),i().vttjs,t);if(e.cues=[],e.timestampmap={MPEGTS:0,LOCAL:0},r.oncue=e.cues.push.bind(e.cues),r.ontimestampmap=t=>{e.timestampmap=t},r.onparsingerror=e=>{Ta.log.warn("Error encountered when parsing cues: "+e.message)},e.segment.map){let t=e.segment.map.bytes;n&&(t=ac(t)),r.parse(t)}let o=e.bytes;n&&(o=ac(o)),r.parse(o),r.flush()}updateTimeMapping_(e,t,n){const r=e.segment;if(!t)return;if(!e.cues.length)return void(r.empty=!0);const i=e.timestampmap,o=i.MPEGTS/kt.ONE_SECOND_IN_TS-i.LOCAL+t.mapping;if(e.cues.forEach((e=>{e.startTime+=o,e.endTime+=o})),!n.syncInfo){const t=e.cues[0].startTime,i=e.cues[e.cues.length-1].startTime;n.syncInfo={mediaSequence:n.mediaSequence+e.mediaIndex,time:Math.min(t,i-r.duration)}}}}const lc=function(e,t){const n=e.cues;for(let e=0;e<n.length;e++){const r=n[e];if(t>=r.adStartTime&&t<=r.adEndTime)return r}return null},fc=[{name:"VOD",run:(e,t,n,r,i)=>{if(n!==1/0){return{time:0,segmentIndex:0,partIndex:null}}return null}},{name:"ProgramDateTime",run:(e,t,n,r,i)=>{if(!Object.keys(e.timelineToDatetimeMappings).length)return null;let o=null,a=null;const s=Za(t);i=i||0;for(let n=0;n<s.length;n++){const r=s[t.endList||0===i?n:s.length-(n+1)],u=r.segment,c=e.timelineToDatetimeMappings[u.timeline];if(!c||!u.dateTimeObject)continue;let l=u.dateTimeObject.getTime()/1e3+c;if(u.parts&&"number"==typeof r.partIndex)for(let e=0;e<r.partIndex;e++)l+=u.parts[e].duration;const f=Math.abs(i-l);if(null!==a&&(0===f||a<f))break;a=f,o={time:l,segmentIndex:r.segmentIndex,partIndex:r.partIndex}}return o}},{name:"Segment",run:(e,t,n,r,i)=>{let o=null,a=null;i=i||0;const s=Za(t);for(let e=0;e<s.length;e++){const n=s[t.endList||0===i?e:s.length-(e+1)],u=n.segment,c=n.part&&n.part.start||u&&u.start;if(u.timeline===r&&void 0!==c){const e=Math.abs(i-c);if(null!==a&&a<e)break;(!o||null===a||a>=e)&&(a=e,o={time:c,segmentIndex:n.segmentIndex,partIndex:n.partIndex})}}return o}},{name:"Discontinuity",run:(e,t,n,r,i)=>{let o=null;if(i=i||0,t.discontinuityStarts&&t.discontinuityStarts.length){let n=null;for(let r=0;r<t.discontinuityStarts.length;r++){const a=t.discontinuityStarts[r],s=t.discontinuitySequence+r+1,u=e.discontinuities[s];if(u){const e=Math.abs(i-u.time);if(null!==n&&n<e)break;(!o||null===n||n>=e)&&(n=e,o={time:u.time,segmentIndex:a,partIndex:null})}}}return o}},{name:"Playlist",run:(e,t,n,r,i)=>{if(t.syncInfo){return{time:t.syncInfo.time,segmentIndex:t.syncInfo.mediaSequence-t.mediaSequence,partIndex:null}}return null}}];class dc extends Ta.EventTarget{constructor(e={}){super(),this.timelines=[],this.discontinuities=[],this.timelineToDatetimeMappings={},this.logger_=Aa("SyncController")}getSyncPoint(e,t,n,r){const i=this.runStrategies_(e,t,n,r);return i.length?this.selectSyncPoint_(i,{key:"time",value:r}):null}getExpiredTime(e,t){if(!e||!e.segments)return null;const n=this.runStrategies_(e,t,e.discontinuitySequence,0);if(!n.length)return null;const r=this.selectSyncPoint_(n,{key:"segmentIndex",value:0});return r.segmentIndex>0&&(r.time*=-1),Math.abs(r.time+Ya({defaultDuration:e.targetDuration,durationList:e.segments,startIndex:r.segmentIndex,endIndex:0}))}runStrategies_(e,t,n,r){const i=[];for(let o=0;o<fc.length;o++){const a=fc[o],s=a.run(this,e,t,n,r);s&&(s.strategy=a.name,i.push({strategy:a.name,syncPoint:s}))}return i}selectSyncPoint_(e,t){let n=e[0].syncPoint,r=Math.abs(e[0].syncPoint[t.key]-t.value),i=e[0].strategy;for(let o=1;o<e.length;o++){const a=Math.abs(e[o].syncPoint[t.key]-t.value);a<r&&(r=a,n=e[o].syncPoint,i=e[o].strategy)}return this.logger_(`syncPoint for [${t.key}: ${t.value}] chosen with strategy [${i}]: [time:${n.time}, segmentIndex:${n.segmentIndex}`+("number"==typeof n.partIndex?`,partIndex:${n.partIndex}`:"")+"]"),n}saveExpiredSegmentInfo(e,t){const n=t.mediaSequence-e.mediaSequence;if(n>86400)Ta.log.warn(`Not saving expired segment info. Media sequence gap ${n} is too large.`);else for(let r=n-1;r>=0;r--){const n=e.segments[r];if(n&&void 0!==n.start){t.syncInfo={mediaSequence:e.mediaSequence+r,time:n.start},this.logger_(`playlist refresh sync: [time:${t.syncInfo.time}, mediaSequence: ${t.syncInfo.mediaSequence}]`),this.trigger("syncinfoupdate");break}}}setDateTimeMappingForStart(e){if(this.timelineToDatetimeMappings={},e.segments&&e.segments.length&&e.segments[0].dateTimeObject){const t=e.segments[0],n=t.dateTimeObject.getTime()/1e3;this.timelineToDatetimeMappings[t.timeline]=-n}}saveSegmentTimingInfo({segmentInfo:e,shouldSaveTimelineMapping:t}){const n=this.calculateSegmentTimeMapping_(e,e.timingInfo,t),r=e.segment;n&&(this.saveDiscontinuitySyncInfo_(e),e.playlist.syncInfo||(e.playlist.syncInfo={mediaSequence:e.playlist.mediaSequence+e.mediaIndex,time:r.start}));const i=r.dateTimeObject;r.discontinuity&&t&&i&&(this.timelineToDatetimeMappings[r.timeline]=-i.getTime()/1e3)}timestampOffsetForTimeline(e){return void 0===this.timelines[e]?null:this.timelines[e].time}mappingForTimeline(e){return void 0===this.timelines[e]?null:this.timelines[e].mapping}calculateSegmentTimeMapping_(e,t,n){const r=e.segment,i=e.part;let o,a,s=this.timelines[e.timeline];if("number"==typeof e.timestampOffset)s={time:e.startOfSegment,mapping:e.startOfSegment-t.start},n&&(this.timelines[e.timeline]=s,this.trigger("timestampoffset"),this.logger_(`time mapping for timeline ${e.timeline}: [time: ${s.time}] [mapping: ${s.mapping}]`)),o=e.startOfSegment,a=t.end+s.mapping;else{if(!s)return!1;o=t.start+s.mapping,a=t.end+s.mapping}return i&&(i.start=o,i.end=a),(!r.start||o<r.start)&&(r.start=o),r.end=a,!0}saveDiscontinuitySyncInfo_(e){const t=e.playlist,n=e.segment;if(n.discontinuity)this.discontinuities[n.timeline]={time:n.start,accuracy:0};else if(t.discontinuityStarts&&t.discontinuityStarts.length)for(let r=0;r<t.discontinuityStarts.length;r++){const i=t.discontinuityStarts[r],o=t.discontinuitySequence+r+1,a=i-e.mediaIndex,s=Math.abs(a);if(!this.discontinuities[o]||this.discontinuities[o].accuracy>s){let r;r=a<0?n.start-Ya({defaultDuration:t.targetDuration,durationList:t.segments,startIndex:e.mediaIndex,endIndex:i}):n.end+Ya({defaultDuration:t.targetDuration,durationList:t.segments,startIndex:e.mediaIndex+1,endIndex:i}),this.discontinuities[o]={time:r,accuracy:s}}}}dispose(){this.trigger("dispose"),this.off()}}class pc extends Ta.EventTarget{constructor(){super(),this.pendingTimelineChanges_={},this.lastTimelineChanges_={}}clearPendingTimelineChange(e){this.pendingTimelineChanges_[e]=null,this.trigger("pendingtimelinechange")}pendingTimelineChange({type:e,from:t,to:n}){return"number"==typeof t&&"number"==typeof n&&(this.pendingTimelineChanges_[e]={type:e,from:t,to:n},this.trigger("pendingtimelinechange")),this.pendingTimelineChanges_[e]}lastTimelineChange({type:e,from:t,to:n}){return"number"==typeof t&&"number"==typeof n&&(this.lastTimelineChanges_[e]={type:e,from:t,to:n},delete this.pendingTimelineChanges_[e],this.trigger("timelinechange")),this.lastTimelineChanges_[e]}dispose(){this.trigger("dispose"),this.pendingTimelineChanges_={},this.lastTimelineChanges_={},this.off()}}const hc=Ws(Gs((function(){var e=function(){function e(){this.listeners={}}var t=e.prototype;return t.on=function(e,t){this.listeners[e]||(this.listeners[e]=[]),this.listeners[e].push(t)},t.off=function(e,t){if(!this.listeners[e])return!1;var n=this.listeners[e].indexOf(t);return this.listeners[e]=this.listeners[e].slice(0),this.listeners[e].splice(n,1),n>-1},t.trigger=function(e){var t=this.listeners[e];if(t)if(2===arguments.length)for(var n=t.length,r=0;r<n;++r)t[r].call(this,arguments[1]);else for(var i=Array.prototype.slice.call(arguments,1),o=t.length,a=0;a<o;++a)t[a].apply(this,i)},t.dispose=function(){this.listeners={}},t.pipe=function(e){this.on("data",(function(t){e.push(t)}))},e}();let t=null;class r{constructor(e){let n,r,i;t||(t=function(){const e=[[[],[],[],[],[]],[[],[],[],[],[]]],t=e[0],n=e[1],r=t[4],i=n[4];let o,a,s;const u=[],c=[];let l,f,d,p,h,g;for(o=0;o<256;o++)c[(u[o]=o<<1^283*(o>>7))^o]=o;for(a=s=0;!r[a];a^=l||1,s=c[s]||1)for(p=s^s<<1^s<<2^s<<3^s<<4,p=p>>8^255&p^99,r[a]=p,i[p]=a,d=u[f=u[l=u[a]]],g=16843009*d^65537*f^257*l^16843008*a,h=257*u[p]^16843008*p,o=0;o<4;o++)t[o][a]=h=h<<24^h>>>8,n[o][p]=g=g<<24^g>>>8;for(o=0;o<5;o++)t[o]=t[o].slice(0),n[o]=n[o].slice(0);return e}()),this._tables=[[t[0][0].slice(),t[0][1].slice(),t[0][2].slice(),t[0][3].slice(),t[0][4].slice()],[t[1][0].slice(),t[1][1].slice(),t[1][2].slice(),t[1][3].slice(),t[1][4].slice()]];const o=this._tables[0][4],a=this._tables[1],s=e.length;let u=1;if(4!==s&&6!==s&&8!==s)throw new Error("Invalid aes key size");const c=e.slice(0),l=[];for(this._key=[c,l],n=s;n<4*s+28;n++)i=c[n-1],(n%s==0||8===s&&n%s==4)&&(i=o[i>>>24]<<24^o[i>>16&255]<<16^o[i>>8&255]<<8^o[255&i],n%s==0&&(i=i<<8^i>>>24^u<<24,u=u<<1^283*(u>>7))),c[n]=c[n-s]^i;for(r=0;n;r++,n--)i=c[3&r?n:n-4],l[r]=n<=4||r<4?i:a[0][o[i>>>24]]^a[1][o[i>>16&255]]^a[2][o[i>>8&255]]^a[3][o[255&i]]}decrypt(e,t,n,r,i,o){const a=this._key[1];let s,u,c,l=e^a[0],f=r^a[1],d=n^a[2],p=t^a[3];const h=a.length/4-2;let g,m=4;const y=this._tables[1],v=y[0],b=y[1],_=y[2],w=y[3],T=y[4];for(g=0;g<h;g++)s=v[l>>>24]^b[f>>16&255]^_[d>>8&255]^w[255&p]^a[m],u=v[f>>>24]^b[d>>16&255]^_[p>>8&255]^w[255&l]^a[m+1],c=v[d>>>24]^b[p>>16&255]^_[l>>8&255]^w[255&f]^a[m+2],p=v[p>>>24]^b[l>>16&255]^_[f>>8&255]^w[255&d]^a[m+3],m+=4,l=s,f=u,d=c;for(g=0;g<4;g++)i[(3&-g)+o]=T[l>>>24]<<24^T[f>>16&255]<<16^T[d>>8&255]<<8^T[255&p]^a[m++],s=l,l=f,f=d,d=p,p=s}}class i extends e{constructor(){super(e),this.jobs=[],this.delay=1,this.timeout_=null}processJob_(){this.jobs.shift()(),this.jobs.length?this.timeout_=setTimeout(this.processJob_.bind(this),this.delay):this.timeout_=null}push(e){this.jobs.push(e),this.timeout_||(this.timeout_=setTimeout(this.processJob_.bind(this),this.delay))}}const o=function(e){return e<<24|(65280&e)<<8|(16711680&e)>>8|e>>>24};class a{constructor(e,t,n,r){const s=a.STEP,u=new Int32Array(e.buffer),c=new Uint8Array(e.byteLength);let l=0;for(this.asyncStream_=new i,this.asyncStream_.push(this.decryptChunk_(u.subarray(l,l+s),t,n,c)),l=s;l<u.length;l+=s)n=new Uint32Array([o(u[l-4]),o(u[l-3]),o(u[l-2]),o(u[l-1])]),this.asyncStream_.push(this.decryptChunk_(u.subarray(l,l+s),t,n,c));this.asyncStream_.push((function(){var e;r(null,(e=c).subarray(0,e.byteLength-e[e.byteLength-1]))}))}static get STEP(){return 32e3}decryptChunk_(e,t,n,i){return function(){const a=function(e,t,n){const i=new Int32Array(e.buffer,e.byteOffset,e.byteLength>>2),a=new r(Array.prototype.slice.call(t)),s=new Uint8Array(e.byteLength),u=new Int32Array(s.buffer);let c,l,f,d,p,h,g,m,y;for(c=n[0],l=n[1],f=n[2],d=n[3],y=0;y<i.length;y+=4)p=o(i[y]),h=o(i[y+1]),g=o(i[y+2]),m=o(i[y+3]),a.decrypt(p,h,g,m,u,y),u[y]=o(u[y]^c),u[y+1]=o(u[y+1]^l),u[y+2]=o(u[y+2]^f),u[y+3]=o(u[y+3]^d),c=p,l=h,f=g,d=m;return s}(e,t,n);i.set(a,e.byteOffset)}}}var s,u="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==n.g?n.g:"undefined"!=typeof self?self:{};s="undefined"!=typeof window?window:void 0!==u?u:"undefined"!=typeof self?self:{};var c=s.BigInt||Number;c("0x1"),c("0x100"),c("0x10000"),c("0x1000000"),c("0x100000000"),c("0x10000000000"),c("0x1000000000000"),c("0x100000000000000"),c("0x10000000000000000"),function(){var e=new Uint16Array([65484]),t=new Uint8Array(e.buffer,e.byteOffset,e.byteLength);255===t[0]||t[0]}();const l=function(e){const t={};return Object.keys(e).forEach((n=>{const r=e[n];var i;i=r,("function"===ArrayBuffer.isView?ArrayBuffer.isView(i):i&&i.buffer instanceof ArrayBuffer)?t[n]={bytes:r.buffer,byteOffset:r.byteOffset,byteLength:r.byteLength}:t[n]=r})),t};self.onmessage=function(e){const t=e.data,n=new Uint8Array(t.encrypted.bytes,t.encrypted.byteOffset,t.encrypted.byteLength),r=new Uint32Array(t.key.bytes,t.key.byteOffset,t.key.byteLength/4),i=new Uint32Array(t.iv.bytes,t.iv.byteOffset,t.iv.byteLength/4);new a(n,r,i,(function(e,n){self.postMessage(l({source:t.source,decrypted:n}),[n.buffer])}))}})));var gc=Vs(hc);const mc=e=>{let t=e.default?"main":"alternative";return e.characteristics&&e.characteristics.indexOf("public.accessibility.describes-video")>=0&&(t="main-desc"),t},yc=(e,t)=>{e.abort(),e.pause(),t&&t.activePlaylistLoader&&(t.activePlaylistLoader.pause(),t.activePlaylistLoader=null)},vc=(e,t)=>{t.activePlaylistLoader=e,e.load()},bc={AUDIO:(e,t)=>()=>{const{segmentLoaders:{[e]:n},mediaTypes:{[e]:r},excludePlaylist:i}=t;yc(n,r);const o=r.activeTrack(),a=r.activeGroup(),s=(a.filter((e=>e.default))[0]||a[0]).id,u=r.tracks[s];if(o!==u){Ta.log.warn("Problem encountered loading the alternate audio track.Switching back to default.");for(const e in r.tracks)r.tracks[e].enabled=r.tracks[e]===u;r.onTrackChanged()}else i({error:{message:"Problem encountered loading the default audio track."}})},SUBTITLES:(e,t)=>()=>{const{segmentLoaders:{[e]:n},mediaTypes:{[e]:r}}=t;Ta.log.warn("Problem encountered loading the subtitle track.Disabling subtitle track."),yc(n,r);const i=r.activeTrack();i&&(i.mode="disabled"),r.onTrackChanged()}},_c={AUDIO:(e,t,n)=>{if(!t)return;const{tech:r,requestOptions:i,segmentLoaders:{[e]:o}}=n;t.on("loadedmetadata",(()=>{const e=t.media();o.playlist(e,i),(!r.paused()||e.endList&&"none"!==r.preload())&&o.load()})),t.on("loadedplaylist",(()=>{o.playlist(t.media(),i),r.paused()||o.load()})),t.on("error",bc[e](e,n))},SUBTITLES:(e,t,n)=>{const{tech:r,requestOptions:i,segmentLoaders:{[e]:o},mediaTypes:{[e]:a}}=n;t.on("loadedmetadata",(()=>{const e=t.media();o.playlist(e,i),o.track(a.activeTrack()),(!r.paused()||e.endList&&"none"!==r.preload())&&o.load()})),t.on("loadedplaylist",(()=>{o.playlist(t.media(),i),r.paused()||o.load()})),t.on("error",bc[e](e,n))}},wc={AUDIO:(e,t)=>{const{vhs:n,sourceType:r,segmentLoaders:{[e]:i},requestOptions:o,main:{mediaGroups:a},mediaTypes:{[e]:{groups:s,tracks:u,logger_:c}},mainPlaylistLoader:l}=t,f=is(l.main);a[e]&&0!==Object.keys(a[e]).length||(a[e]={main:{default:{default:!0}}},f&&(a[e].main.default.playlists=l.main.playlists));for(const i in a[e]){s[i]||(s[i]=[]);for(const d in a[e][i]){let p,h=a[e][i][d];if(f?(c(`AUDIO group '${i}' label '${d}' is a main playlist`),h.isMainPlaylist=!0,p=null):p="vhs-json"===r&&h.playlists?new bs(h.playlists[0],n,o):h.resolvedUri?new bs(h.resolvedUri,n,o):h.playlists&&"dash"===r?new Hs(h.playlists[0],n,o,l):null,h=Ia({id:d,playlistLoader:p},h),_c[e](e,h.playlistLoader,t),s[i].push(h),void 0===u[d]){const e=new Ta.AudioTrack({id:d,kind:mc(h),enabled:!1,language:h.language,default:h.default,label:d});u[d]=e}}}i.on("error",bc[e](e,t))},SUBTITLES:(e,t)=>{const{tech:n,vhs:r,sourceType:i,segmentLoaders:{[e]:o},requestOptions:a,main:{mediaGroups:s},mediaTypes:{[e]:{groups:u,tracks:c}},mainPlaylistLoader:l}=t;for(const o in s[e]){u[o]||(u[o]=[]);for(const f in s[e][o]){if(s[e][o][f].forced)continue;let d,p=s[e][o][f];if("hls"===i)d=new bs(p.resolvedUri,r,a);else if("dash"===i){if(!p.playlists.filter((e=>e.excludeUntil!==1/0)).length)return;d=new Hs(p.playlists[0],r,a,l)}else"vhs-json"===i&&(d=new bs(p.playlists?p.playlists[0]:p.resolvedUri,r,a));if(p=Ia({id:f,playlistLoader:d},p),_c[e](e,p.playlistLoader,t),u[o].push(p),void 0===c[f]){const e=n.addRemoteTextTrack({id:f,kind:"subtitles",default:p.default&&p.autoselect,language:p.language,label:f},!1).track;c[f]=e}}}o.on("error",bc[e](e,t))},"CLOSED-CAPTIONS":(e,t)=>{const{tech:n,main:{mediaGroups:r},mediaTypes:{[e]:{groups:i,tracks:o}}}=t;for(const t in r[e]){i[t]||(i[t]=[]);for(const a in r[e][t]){const s=r[e][t][a];if(!/^(?:CC|SERVICE)/.test(s.instreamId))continue;const u=n.options_.vhs&&n.options_.vhs.captionServices||{};let c={label:a,language:s.language,instreamId:s.instreamId,default:s.default&&s.autoselect};if(u[c.instreamId]&&(c=Ia(c,u[c.instreamId])),void 0===c.default&&delete c.default,i[t].push(Ia({id:a},s)),void 0===o[a]){const e=n.addRemoteTextTrack({id:c.instreamId,kind:"captions",default:c.default,language:c.language,label:c.label},!1).track;o[a]=e}}}}},Tc=(e,t)=>{for(let n=0;n<e.length;n++){if(ns(t,e[n]))return!0;if(e[n].playlists&&Tc(e[n].playlists,t))return!0}return!1},xc={AUDIO:(e,t)=>()=>{const{mediaTypes:{[e]:{tracks:n}}}=t;for(const e in n)if(n[e].enabled)return n[e];return null},SUBTITLES:(e,t)=>()=>{const{mediaTypes:{[e]:{tracks:n}}}=t;for(const e in n)if("showing"===n[e].mode||"hidden"===n[e].mode)return n[e];return null}},Sc=e=>{["AUDIO","SUBTITLES","CLOSED-CAPTIONS"].forEach((t=>{wc[t](t,e)}));const{mediaTypes:t,mainPlaylistLoader:n,tech:r,vhs:i,segmentLoaders:{AUDIO:o,main:a}}=e;["AUDIO","SUBTITLES"].forEach((n=>{t[n].activeGroup=((e,t)=>n=>{const{mainPlaylistLoader:r,mediaTypes:{[e]:{groups:i}}}=t,o=r.media();if(!o)return null;let a=null;o.attributes[e]&&(a=i[o.attributes[e]]);const s=Object.keys(i);if(!a)if("AUDIO"===e&&s.length>1&&is(t.main))for(let e=0;e<s.length;e++){const t=i[s[e]];if(Tc(t,o)){a=t;break}}else i.main?a=i.main:1===s.length&&(a=i[s[0]]);return void 0===n?a:null!==n&&a&&a.filter((e=>e.id===n.id))[0]||null})(n,e),t[n].activeTrack=xc[n](n,e),t[n].onGroupChanged=((e,t)=>()=>{const{segmentLoaders:{[e]:n,main:r},mediaTypes:{[e]:i}}=t,o=i.activeTrack(),a=i.getActiveGroup(),s=i.activePlaylistLoader,u=i.lastGroup_;a&&u&&a.id===u.id||(i.lastGroup_=a,i.lastTrack_=o,yc(n,i),a&&!a.isMainPlaylist&&(a.playlistLoader?(n.resyncLoader(),vc(a.playlistLoader,i)):s&&r.resetEverything()))})(n,e),t[n].onGroupChanging=((e,t)=>()=>{const{segmentLoaders:{[e]:n},mediaTypes:{[e]:r}}=t;r.lastGroup_=null,n.abort(),n.pause()})(n,e),t[n].onTrackChanged=((e,t)=>()=>{const{mainPlaylistLoader:n,segmentLoaders:{[e]:r,main:i},mediaTypes:{[e]:o}}=t,a=o.activeTrack(),s=o.getActiveGroup(),u=o.activePlaylistLoader,c=o.lastTrack_;if((!c||!a||c.id!==a.id)&&(o.lastGroup_=s,o.lastTrack_=a,yc(r,o),s)){if(s.isMainPlaylist){if(!a||!c||a.id===c.id)return;const e=t.vhs.playlistController_,r=e.selectPlaylist();if(e.media()===r)return;return o.logger_(`track change. Switching main audio from ${c.id} to ${a.id}`),n.pause(),i.resetEverything(),void e.fastQualityChange_(r)}if("AUDIO"===e){if(!s.playlistLoader)return i.setAudio(!0),void i.resetEverything();r.setAudio(!0),i.setAudio(!1)}u!==s.playlistLoader?(r.track&&r.track(a),r.resetEverything(),vc(s.playlistLoader,o)):vc(s.playlistLoader,o)}})(n,e),t[n].getActiveGroup=((e,{mediaTypes:t})=>()=>{const n=t[e].activeTrack();return n?t[e].activeGroup(n):null})(n,e)}));const s=t.AUDIO.activeGroup();if(s){const e=(s.filter((e=>e.default))[0]||s[0]).id;t.AUDIO.tracks[e].enabled=!0,t.AUDIO.onGroupChanged(),t.AUDIO.onTrackChanged();t.AUDIO.getActiveGroup().playlistLoader?(a.setAudio(!1),o.setAudio(!0)):a.setAudio(!0)}n.on("mediachange",(()=>{["AUDIO","SUBTITLES"].forEach((e=>t[e].onGroupChanged()))})),n.on("mediachanging",(()=>{["AUDIO","SUBTITLES"].forEach((e=>t[e].onGroupChanging()))}));const u=()=>{t.AUDIO.onTrackChanged(),r.trigger({type:"usage",name:"vhs-audio-change"})};r.audioTracks().addEventListener("change",u),r.remoteTextTracks().addEventListener("change",t.SUBTITLES.onTrackChanged),i.on("dispose",(()=>{r.audioTracks().removeEventListener("change",u),r.remoteTextTracks().removeEventListener("change",t.SUBTITLES.onTrackChanged)})),r.clearTracks("audio");for(const e in t.AUDIO.tracks)r.audioTracks().addTrack(t.AUDIO.tracks[e])};let kc;const Ec=["mediaRequests","mediaRequestsAborted","mediaRequestsTimedout","mediaRequestsErrored","mediaTransferDuration","mediaBytesTransferred","mediaAppends"],Oc=function(e){return this.audioSegmentLoader_[e]+this.mainSegmentLoader_[e]};class Cc extends Ta.EventTarget{constructor(e){super();const{src:t,withCredentials:n,tech:r,bandwidth:o,externVhs:a,useCueTags:s,playlistExclusionDuration:u,enableLowInitialPlaylist:c,sourceType:l,cacheEncryptionKeys:f,bufferBasedABR:d,leastPixelDiffSelector:p,captionServices:h}=e;if(!t)throw new Error("A non-empty playlist URL or JSON manifest string is required");let{maxPlaylistRetries:g}=e;null==g&&(g=1/0),kc=a,this.bufferBasedABR=Boolean(d),this.leastPixelDiffSelector=Boolean(p),this.withCredentials=n,this.tech_=r,this.vhs_=r.vhs,this.sourceType_=l,this.useCueTags_=s,this.playlistExclusionDuration=u,this.maxPlaylistRetries=g,this.enableLowInitialPlaylist=c,this.useCueTags_&&(this.cueTagsTrack_=this.tech_.addTextTrack("metadata","ad-cues"),this.cueTagsTrack_.inBandMetadataTrackDispatchType=""),this.requestOptions_={withCredentials:n,maxPlaylistRetries:g,timeout:null},this.on("error",this.pauseLoading),this.mediaTypes_=(()=>{const e={};return["AUDIO","SUBTITLES","CLOSED-CAPTIONS"].forEach((t=>{e[t]={groups:{},tracks:{},activePlaylistLoader:null,activeGroup:Fu,activeTrack:Fu,getActiveGroup:Fu,onGroupChanged:Fu,onTrackChanged:Fu,lastTrack_:null,logger_:Aa(`MediaGroups[${t}]`)}})),e})(),this.mediaSource=new(i().MediaSource),this.handleDurationChange_=this.handleDurationChange_.bind(this),this.handleSourceOpen_=this.handleSourceOpen_.bind(this),this.handleSourceEnded_=this.handleSourceEnded_.bind(this),this.mediaSource.addEventListener("durationchange",this.handleDurationChange_),this.mediaSource.addEventListener("sourceopen",this.handleSourceOpen_),this.mediaSource.addEventListener("sourceended",this.handleSourceEnded_),this.seekable_=Pa(),this.hasPlayed_=!1,this.syncController_=new dc(e),this.segmentMetadataTrack_=r.addRemoteTextTrack({kind:"metadata",label:"segment-metadata"},!1).track,this.decrypter_=new gc,this.sourceUpdater_=new oc(this.mediaSource),this.inbandTextTracks_={},this.timelineChangeController_=new pc;const m={vhs:this.vhs_,parse708captions:e.parse708captions,useDtsForTimestampOffset:e.useDtsForTimestampOffset,captionServices:h,mediaSource:this.mediaSource,currentTime:this.tech_.currentTime.bind(this.tech_),seekable:()=>this.seekable(),seeking:()=>this.tech_.seeking(),duration:()=>this.duration(),hasPlayed:()=>this.hasPlayed_,goalBufferLength:()=>this.goalBufferLength(),bandwidth:o,syncController:this.syncController_,decrypter:this.decrypter_,sourceType:this.sourceType_,inbandTextTracks:this.inbandTextTracks_,cacheEncryptionKeys:f,sourceUpdater:this.sourceUpdater_,timelineChangeController:this.timelineChangeController_,exactManifestTimings:e.exactManifestTimings};this.mainPlaylistLoader_="dash"===this.sourceType_?new Hs(t,this.vhs_,this.requestOptions_):new bs(t,this.vhs_,this.requestOptions_),this.setupMainPlaylistLoaderListeners_(),this.mainSegmentLoader_=new Uu(Ia(m,{segmentMetadataTrack:this.segmentMetadataTrack_,loaderType:"main"}),e),this.audioSegmentLoader_=new Uu(Ia(m,{loaderType:"audio"}),e),this.subtitleSegmentLoader_=new cc(Ia(m,{loaderType:"vtt",featuresNativeTextTracks:this.tech_.featuresNativeTextTracks,loadVttJs:()=>new Promise(((e,t)=>{function n(){r.off("vttjserror",i),e()}function i(){r.off("vttjsloaded",n),t()}r.one("vttjsloaded",n),r.one("vttjserror",i),r.addWebVttScript_()}))}),e),this.setupSegmentLoaderListeners_(),this.bufferBasedABR&&(this.mainPlaylistLoader_.one("loadedplaylist",(()=>this.startABRTimer_())),this.tech_.on("pause",(()=>this.stopABRTimer_())),this.tech_.on("play",(()=>this.startABRTimer_()))),Ec.forEach((e=>{this[e+"_"]=Oc.bind(this,e)})),this.logger_=Aa("pc"),this.triggeredFmp4Usage=!1,"none"===this.tech_.preload()?(this.loadOnPlay_=()=>{this.loadOnPlay_=null,this.mainPlaylistLoader_.load()},this.tech_.one("play",this.loadOnPlay_)):this.mainPlaylistLoader_.load(),this.timeToLoadedData__=-1,this.mainAppendsToLoadedData__=-1,this.audioAppendsToLoadedData__=-1;const y="none"===this.tech_.preload()?"play":"loadstart";this.tech_.one(y,(()=>{const e=Date.now();this.tech_.one("loadeddata",(()=>{this.timeToLoadedData__=Date.now()-e,this.mainAppendsToLoadedData__=this.mainSegmentLoader_.mediaAppends,this.audioAppendsToLoadedData__=this.audioSegmentLoader_.mediaAppends}))}))}mainAppendsToLoadedData_(){return this.mainAppendsToLoadedData__}audioAppendsToLoadedData_(){return this.audioAppendsToLoadedData__}appendsToLoadedData_(){const e=this.mainAppendsToLoadedData_(),t=this.audioAppendsToLoadedData_();return-1===e||-1===t?-1:e+t}timeToLoadedData_(){return this.timeToLoadedData__}checkABR_(e="abr"){const t=this.selectPlaylist();t&&this.shouldSwitchToMedia_(t)&&this.switchMedia_(t,e)}switchMedia_(e,t,n){const r=this.media(),i=r&&(r.id||r.uri),o=e.id||e.uri;i&&i!==o&&(this.logger_(`switch media ${i} -> ${o} from ${t}`),this.tech_.trigger({type:"usage",name:`vhs-rendition-change-${t}`})),this.mainPlaylistLoader_.media(e,n)}startABRTimer_(){this.stopABRTimer_(),this.abrTimer_=i().setInterval((()=>this.checkABR_()),250)}stopABRTimer_(){this.tech_.scrubbing&&this.tech_.scrubbing()||(i().clearInterval(this.abrTimer_),this.abrTimer_=null)}getAudioTrackPlaylists_(){const e=this.main(),t=e&&e.playlists||[];if(!e||!e.mediaGroups||!e.mediaGroups.AUDIO)return t;const n=e.mediaGroups.AUDIO,r=Object.keys(n);let i;if(Object.keys(this.mediaTypes_.AUDIO.groups).length)i=this.mediaTypes_.AUDIO.activeTrack();else{const e=n.main||r.length&&n[r[0]];for(const t in e)if(e[t].default){i={label:t};break}}if(!i)return t;const o=[];for(const t in n)if(n[t][i.label]){const r=n[t][i.label];if(r.playlists&&r.playlists.length)o.push.apply(o,r.playlists);else if(r.uri)o.push(r);else if(e.playlists.length)for(let n=0;n<e.playlists.length;n++){const r=e.playlists[n];r.attributes&&r.attributes.AUDIO&&r.attributes.AUDIO===t&&o.push(r)}}return o.length?o:t}setupMainPlaylistLoaderListeners_(){this.mainPlaylistLoader_.on("loadedmetadata",(()=>{const e=this.mainPlaylistLoader_.media(),t=1.5*e.targetDuration*1e3;ts(this.mainPlaylistLoader_.main,this.mainPlaylistLoader_.media())?this.requestOptions_.timeout=0:this.requestOptions_.timeout=t,e.endList&&"none"!==this.tech_.preload()&&(this.mainSegmentLoader_.playlist(e,this.requestOptions_),this.mainSegmentLoader_.load()),Sc({sourceType:this.sourceType_,segmentLoaders:{AUDIO:this.audioSegmentLoader_,SUBTITLES:this.subtitleSegmentLoader_,main:this.mainSegmentLoader_},tech:this.tech_,requestOptions:this.requestOptions_,mainPlaylistLoader:this.mainPlaylistLoader_,vhs:this.vhs_,main:this.main(),mediaTypes:this.mediaTypes_,excludePlaylist:this.excludePlaylist.bind(this)}),this.triggerPresenceUsage_(this.main(),e),this.setupFirstPlay(),!this.mediaTypes_.AUDIO.activePlaylistLoader||this.mediaTypes_.AUDIO.activePlaylistLoader.media()?this.trigger("selectedinitialmedia"):this.mediaTypes_.AUDIO.activePlaylistLoader.one("loadedmetadata",(()=>{this.trigger("selectedinitialmedia")}))})),this.mainPlaylistLoader_.on("loadedplaylist",(()=>{this.loadOnPlay_&&this.tech_.off("play",this.loadOnPlay_);let e=this.mainPlaylistLoader_.media();if(!e){let t;if(this.excludeUnsupportedVariants_(),this.enableLowInitialPlaylist&&(t=this.selectInitialPlaylist()),t||(t=this.selectPlaylist()),!t||!this.shouldSwitchToMedia_(t))return;this.initialMedia_=t,this.switchMedia_(this.initialMedia_,"initial");if(!("vhs-json"===this.sourceType_&&this.initialMedia_.segments))return;e=this.initialMedia_}this.handleUpdatedMediaPlaylist(e)})),this.mainPlaylistLoader_.on("error",(()=>{const e=this.mainPlaylistLoader_.error;this.excludePlaylist({playlistToExclude:e.playlist,error:e})})),this.mainPlaylistLoader_.on("mediachanging",(()=>{this.mainSegmentLoader_.abort(),this.mainSegmentLoader_.pause()})),this.mainPlaylistLoader_.on("mediachange",(()=>{const e=this.mainPlaylistLoader_.media(),t=1.5*e.targetDuration*1e3;ts(this.mainPlaylistLoader_.main,this.mainPlaylistLoader_.media())?this.requestOptions_.timeout=0:this.requestOptions_.timeout=t,this.mainPlaylistLoader_.load(),this.mainSegmentLoader_.playlist(e,this.requestOptions_),this.mainSegmentLoader_.load(),this.tech_.trigger({type:"mediachange",bubbles:!0})})),this.mainPlaylistLoader_.on("playlistunchanged",(()=>{const e=this.mainPlaylistLoader_.media();if("playlist-unchanged"===e.lastExcludeReason_)return;this.stuckAtPlaylistEnd_(e)&&(this.excludePlaylist({error:{message:"Playlist no longer updating.",reason:"playlist-unchanged"}}),this.tech_.trigger("playliststuck"))})),this.mainPlaylistLoader_.on("renditiondisabled",(()=>{this.tech_.trigger({type:"usage",name:"vhs-rendition-disabled"})})),this.mainPlaylistLoader_.on("renditionenabled",(()=>{this.tech_.trigger({type:"usage",name:"vhs-rendition-enabled"})}))}handleUpdatedMediaPlaylist(e){this.useCueTags_&&this.updateAdCues_(e),this.mainSegmentLoader_.playlist(e,this.requestOptions_),this.updateDuration(!e.endList),this.tech_.paused()||(this.mainSegmentLoader_.load(),this.audioSegmentLoader_&&this.audioSegmentLoader_.load())}triggerPresenceUsage_(e,t){const n=e.mediaGroups||{};let r=!0;const i=Object.keys(n.AUDIO);for(const e in n.AUDIO)for(const t in n.AUDIO[e]){n.AUDIO[e][t].uri||(r=!1)}r&&this.tech_.trigger({type:"usage",name:"vhs-demuxed"}),Object.keys(n.SUBTITLES).length&&this.tech_.trigger({type:"usage",name:"vhs-webvtt"}),kc.Playlist.isAes(t)&&this.tech_.trigger({type:"usage",name:"vhs-aes"}),i.length&&Object.keys(n.AUDIO[i[0]]).length>1&&this.tech_.trigger({type:"usage",name:"vhs-alternate-audio"}),this.useCueTags_&&this.tech_.trigger({type:"usage",name:"vhs-playlist-cue-tags"})}shouldSwitchToMedia_(e){const t=this.mainPlaylistLoader_.media()||this.mainPlaylistLoader_.pendingMedia_,n=this.tech_.currentTime(),r=this.bufferLowWaterLine(),i=this.bufferHighWaterLine();return function({currentPlaylist:e,buffered:t,currentTime:n,nextPlaylist:r,bufferLowWaterLine:i,bufferHighWaterLine:o,duration:a,bufferBasedABR:s,log:u}){if(!r)return Ta.log.warn("We received no playlist to switch to. Please check your stream."),!1;const c=`allowing switch ${e&&e.id||"null"} -> ${r.id}`;if(!e)return u(`${c} as current playlist is not set`),!0;if(r.id===e.id)return!1;const l=Boolean(Da(t,n).length);if(!e.endList)return l||"number"!=typeof e.partTargetDuration?(u(`${c} as current playlist is live`),!0):(u(`not ${c} as current playlist is live llhls, but currentTime isn't in buffered.`),!1);const f=za(t,n),d=s?Zs.EXPERIMENTAL_MAX_BUFFER_LOW_WATER_LINE:Zs.MAX_BUFFER_LOW_WATER_LINE;if(a<d)return u(`${c} as duration < max low water line (${a} < ${d})`),!0;const p=r.attributes.BANDWIDTH,h=e.attributes.BANDWIDTH;if(p<h&&(!s||f<o)){let e=`${c} as next bandwidth < current bandwidth (${p} < ${h})`;return s&&(e+=` and forwardBuffer < bufferHighWaterLine (${f} < ${o})`),u(e),!0}if((!s||p>h)&&f>=i){let e=`${c} as forwardBuffer >= bufferLowWaterLine (${f} >= ${i})`;return s&&(e+=` and next bandwidth > current bandwidth (${p} > ${h})`),u(e),!0}return u(`not ${c} as no switching criteria met`),!1}({buffered:this.tech_.buffered(),currentTime:n,currentPlaylist:t,nextPlaylist:e,bufferLowWaterLine:r,bufferHighWaterLine:i,duration:this.duration(),bufferBasedABR:this.bufferBasedABR,log:this.logger_})}setupSegmentLoaderListeners_(){this.mainSegmentLoader_.on("bandwidthupdate",(()=>{this.checkABR_("bandwidthupdate"),this.tech_.trigger("bandwidthupdate")})),this.mainSegmentLoader_.on("timeout",(()=>{this.bufferBasedABR&&this.mainSegmentLoader_.load()})),this.bufferBasedABR||this.mainSegmentLoader_.on("progress",(()=>{this.trigger("progress")})),this.mainSegmentLoader_.on("error",(()=>{const e=this.mainSegmentLoader_.error();this.excludePlaylist({playlistToExclude:e.playlist,error:e})})),this.mainSegmentLoader_.on("appenderror",(()=>{this.error=this.mainSegmentLoader_.error_,this.trigger("error")})),this.mainSegmentLoader_.on("syncinfoupdate",(()=>{this.onSyncInfoUpdate_()})),this.mainSegmentLoader_.on("timestampoffset",(()=>{this.tech_.trigger({type:"usage",name:"vhs-timestamp-offset"})})),this.audioSegmentLoader_.on("syncinfoupdate",(()=>{this.onSyncInfoUpdate_()})),this.audioSegmentLoader_.on("appenderror",(()=>{this.error=this.audioSegmentLoader_.error_,this.trigger("error")})),this.mainSegmentLoader_.on("ended",(()=>{this.logger_("main segment loader ended"),this.onEndOfStream()})),this.mainSegmentLoader_.on("earlyabort",(e=>{this.bufferBasedABR||(this.delegateLoaders_("all",["abort"]),this.excludePlaylist({error:{message:"Aborted early because there isn't enough bandwidth to complete the request without rebuffering."},playlistExclusionDuration:120}))}));const e=()=>{if(!this.sourceUpdater_.hasCreatedSourceBuffers())return this.tryToCreateSourceBuffers_();const e=this.getCodecsOrExclude_();e&&this.sourceUpdater_.addOrChangeSourceBuffers(e)};this.mainSegmentLoader_.on("trackinfo",e),this.audioSegmentLoader_.on("trackinfo",e),this.mainSegmentLoader_.on("fmp4",(()=>{this.triggeredFmp4Usage||(this.tech_.trigger({type:"usage",name:"vhs-fmp4"}),this.triggeredFmp4Usage=!0)})),this.audioSegmentLoader_.on("fmp4",(()=>{this.triggeredFmp4Usage||(this.tech_.trigger({type:"usage",name:"vhs-fmp4"}),this.triggeredFmp4Usage=!0)})),this.audioSegmentLoader_.on("ended",(()=>{this.logger_("audioSegmentLoader ended"),this.onEndOfStream()}))}mediaSecondsLoaded_(){return Math.max(this.audioSegmentLoader_.mediaSecondsLoaded+this.mainSegmentLoader_.mediaSecondsLoaded)}load(){this.mainSegmentLoader_.load(),this.mediaTypes_.AUDIO.activePlaylistLoader&&this.audioSegmentLoader_.load(),this.mediaTypes_.SUBTITLES.activePlaylistLoader&&this.subtitleSegmentLoader_.load()}fastQualityChange_(e=this.selectPlaylist()){e!==this.mainPlaylistLoader_.media()?(this.switchMedia_(e,"fast-quality"),this.mainSegmentLoader_.resetEverything((()=>{Ta.browser.IE_VERSION||Ta.browser.IS_EDGE?this.tech_.setCurrentTime(this.tech_.currentTime()+.04):this.tech_.setCurrentTime(this.tech_.currentTime())}))):this.logger_("skipping fastQualityChange because new media is same as old")}play(){if(this.setupFirstPlay())return;this.tech_.ended()&&this.tech_.setCurrentTime(0),this.hasPlayed_&&this.load();const e=this.tech_.seekable();return this.tech_.duration()===1/0&&this.tech_.currentTime()<e.start(0)?this.tech_.setCurrentTime(e.end(e.length-1)):void 0}setupFirstPlay(){const e=this.mainPlaylistLoader_.media();if(!e||this.tech_.paused()||this.hasPlayed_)return!1;if(!e.endList){const e=this.seekable();if(!e.length)return!1;if(Ta.browser.IE_VERSION&&0===this.tech_.readyState())return this.tech_.one("loadedmetadata",(()=>{this.trigger("firstplay"),this.tech_.setCurrentTime(e.end(0)),this.hasPlayed_=!0})),!1;this.trigger("firstplay"),this.tech_.setCurrentTime(e.end(0))}return this.hasPlayed_=!0,this.load(),!0}handleSourceOpen_(){if(this.tryToCreateSourceBuffers_(),this.tech_.autoplay()){const e=this.tech_.play();void 0!==e&&"function"==typeof e.then&&e.then(null,(e=>{}))}this.trigger("sourceopen")}handleSourceEnded_(){if(!this.inbandTextTracks_.metadataTrack_)return;const e=this.inbandTextTracks_.metadataTrack_.cues;if(!e||!e.length)return;const t=this.duration();e[e.length-1].endTime=isNaN(t)||Math.abs(t)===1/0?Number.MAX_VALUE:t}handleDurationChange_(){this.tech_.trigger("durationchange")}onEndOfStream(){let e=this.mainSegmentLoader_.ended_;if(this.mediaTypes_.AUDIO.activePlaylistLoader){const t=this.mainSegmentLoader_.getCurrentMediaInfo_();e=!t||t.hasVideo?e&&this.audioSegmentLoader_.ended_:this.audioSegmentLoader_.ended_}e&&(this.stopABRTimer_(),this.sourceUpdater_.endOfStream())}stuckAtPlaylistEnd_(e){if(!this.seekable().length)return!1;const t=this.syncController_.getExpiredTime(e,this.duration());if(null===t)return!1;const n=kc.Playlist.playlistEnd(e,t),r=this.tech_.currentTime(),i=this.tech_.buffered();if(!i.length)return n-r<=Ra;const o=i.end(i.length-1);return o-r<=Ra&&n-o<=Ra}excludePlaylist({playlistToExclude:e=this.mainPlaylistLoader_.media(),error:t={},playlistExclusionDuration:n}){if(e=e||this.mainPlaylistLoader_.media(),n=n||t.playlistExclusionDuration||this.playlistExclusionDuration,!e)return this.error=t,void("open"!==this.mediaSource.readyState?this.trigger("error"):this.sourceUpdater_.endOfStream("network"));e.playlistErrors_++;const r=this.mainPlaylistLoader_.main.playlists,i=r.filter(Ja),o=1===i.length&&i[0]===e;if(1===r.length&&n!==1/0)return Ta.log.warn(`Problem encountered with playlist ${e.id}. Trying again since it is the only playlist.`),this.tech_.trigger("retryplaylist"),this.mainPlaylistLoader_.load(o);if(o){let t=!1;r.forEach((n=>{if(n===e)return;const r=n.excludeUntil;void 0!==r&&r!==1/0&&(t=!0,delete n.excludeUntil)})),t&&(Ta.log.warn("Removing other playlists from the exclusion list because the last rendition is about to be excluded."),this.tech_.trigger("retryplaylist"))}let a;a=e.playlistErrors_>this.maxPlaylistRetries?1/0:Date.now()+1e3*n,e.excludeUntil=a,t.reason&&(e.lastExcludeReason_=t.reason),this.tech_.trigger("excludeplaylist"),this.tech_.trigger({type:"usage",name:"vhs-rendition-excluded"});const s=this.selectPlaylist();if(!s)return this.error="Playback cannot continue. No available working or supported playlists.",void this.trigger("error");const u=t.internal?this.logger_:Ta.log.warn,c=t.message?" "+t.message:"";u(`${t.internal?"Internal problem":"Problem"} encountered with playlist ${e.id}.${c} Switching to playlist ${s.id}.`),s.attributes.AUDIO!==e.attributes.AUDIO&&this.delegateLoaders_("audio",["abort","pause"]),s.attributes.SUBTITLES!==e.attributes.SUBTITLES&&this.delegateLoaders_("subtitle",["abort","pause"]),this.delegateLoaders_("main",["abort","pause"]);const l=s.targetDuration/2*1e3||5e3,f="number"==typeof s.lastRequest&&Date.now()-s.lastRequest<=l;return this.switchMedia_(s,"exclude",o||f)}pauseLoading(){this.delegateLoaders_("all",["abort","pause"]),this.stopABRTimer_()}delegateLoaders_(e,t){const n=[],r="all"===e;(r||"main"===e)&&n.push(this.mainPlaylistLoader_);const i=[];(r||"audio"===e)&&i.push("AUDIO"),(r||"subtitle"===e)&&(i.push("CLOSED-CAPTIONS"),i.push("SUBTITLES")),i.forEach((e=>{const t=this.mediaTypes_[e]&&this.mediaTypes_[e].activePlaylistLoader;t&&n.push(t)})),["main","audio","subtitle"].forEach((t=>{const r=this[`${t}SegmentLoader_`];!r||e!==t&&"all"!==e||n.push(r)})),n.forEach((e=>t.forEach((t=>{"function"==typeof e[t]&&e[t]()}))))}setCurrentTime(e){const t=Da(this.tech_.buffered(),e);return this.mainPlaylistLoader_&&this.mainPlaylistLoader_.media()&&this.mainPlaylistLoader_.media().segments?t&&t.length?e:(this.mainSegmentLoader_.resetEverything(),this.mainSegmentLoader_.abort(),this.mediaTypes_.AUDIO.activePlaylistLoader&&(this.audioSegmentLoader_.resetEverything(),this.audioSegmentLoader_.abort()),this.mediaTypes_.SUBTITLES.activePlaylistLoader&&(this.subtitleSegmentLoader_.resetEverything(),this.subtitleSegmentLoader_.abort()),void this.load()):0}duration(){if(!this.mainPlaylistLoader_)return 0;const e=this.mainPlaylistLoader_.media();return e?e.endList?this.mediaSource?this.mediaSource.duration:kc.Playlist.duration(e):1/0:0}seekable(){return this.seekable_}onSyncInfoUpdate_(){let e;if(!this.mainPlaylistLoader_)return;let t=this.mainPlaylistLoader_.media();if(!t)return;let n=this.syncController_.getExpiredTime(t,this.duration());if(null===n)return;const r=this.mainPlaylistLoader_.main,i=kc.Playlist.seekable(t,n,kc.Playlist.liveEdgeDelay(r,t));if(0===i.length)return;if(this.mediaTypes_.AUDIO.activePlaylistLoader){if(t=this.mediaTypes_.AUDIO.activePlaylistLoader.media(),n=this.syncController_.getExpiredTime(t,this.duration()),null===n)return;if(e=kc.Playlist.seekable(t,n,kc.Playlist.liveEdgeDelay(r,t)),0===e.length)return}let o,a;this.seekable_&&this.seekable_.length&&(o=this.seekable_.end(0),a=this.seekable_.start(0)),e?e.start(0)>i.end(0)||i.start(0)>e.end(0)?this.seekable_=i:this.seekable_=Pa([[e.start(0)>i.start(0)?e.start(0):i.start(0),e.end(0)<i.end(0)?e.end(0):i.end(0)]]):this.seekable_=i,this.seekable_&&this.seekable_.length&&this.seekable_.end(0)===o&&this.seekable_.start(0)===a||(this.logger_(`seekable updated [${Ba(this.seekable_)}]`),this.tech_.trigger("seekablechanged"))}updateDuration(e){if(this.updateDuration_&&(this.mediaSource.removeEventListener("sourceopen",this.updateDuration_),this.updateDuration_=null),"open"!==this.mediaSource.readyState)return this.updateDuration_=this.updateDuration.bind(this,e),void this.mediaSource.addEventListener("sourceopen",this.updateDuration_);if(e){const e=this.seekable();if(!e.length)return;return void((isNaN(this.mediaSource.duration)||this.mediaSource.duration<e.end(e.length-1))&&this.sourceUpdater_.setDuration(e.end(e.length-1)))}const t=this.tech_.buffered();let n=kc.Playlist.duration(this.mainPlaylistLoader_.media());t.length>0&&(n=Math.max(n,t.end(t.length-1))),this.mediaSource.duration!==n&&this.sourceUpdater_.setDuration(n)}dispose(){this.trigger("dispose"),this.decrypter_.terminate(),this.mainPlaylistLoader_.dispose(),this.mainSegmentLoader_.dispose(),this.loadOnPlay_&&this.tech_.off("play",this.loadOnPlay_),["AUDIO","SUBTITLES"].forEach((e=>{const t=this.mediaTypes_[e].groups;for(const e in t)t[e].forEach((e=>{e.playlistLoader&&e.playlistLoader.dispose()}))})),this.audioSegmentLoader_.dispose(),this.subtitleSegmentLoader_.dispose(),this.sourceUpdater_.dispose(),this.timelineChangeController_.dispose(),this.stopABRTimer_(),this.updateDuration_&&this.mediaSource.removeEventListener("sourceopen",this.updateDuration_),this.mediaSource.removeEventListener("durationchange",this.handleDurationChange_),this.mediaSource.removeEventListener("sourceopen",this.handleSourceOpen_),this.mediaSource.removeEventListener("sourceended",this.handleSourceEnded_),this.off()}main(){return this.mainPlaylistLoader_.main}media(){return this.mainPlaylistLoader_.media()||this.initialMedia_}areMediaTypesKnown_(){const e=!!this.mediaTypes_.AUDIO.activePlaylistLoader,t=!!this.mainSegmentLoader_.getCurrentMediaInfo_(),n=!e||!!this.audioSegmentLoader_.getCurrentMediaInfo_();return!(!t||!n)}getCodecsOrExclude_(){const e={main:this.mainSegmentLoader_.getCurrentMediaInfo_()||{},audio:this.audioSegmentLoader_.getCurrentMediaInfo_()||{}},t=this.mainSegmentLoader_.getPendingSegmentPlaylist()||this.media();e.video=e.main;const n=Tu(this.main(),t),r={},i=!!this.mediaTypes_.AUDIO.activePlaylistLoader;if(e.main.hasVideo&&(r.video=n.video||e.main.videoCodec||"avc1.4d400d"),e.main.isMuxed&&(r.video+=`,${n.audio||e.main.audioCodec||z}`),(e.main.hasAudio&&!e.main.isMuxed||e.audio.hasAudio||i)&&(r.audio=n.audio||e.main.audioCodec||e.audio.audioCodec||z,e.audio.isFmp4=e.main.hasAudio&&!e.main.isMuxed?e.main.isFmp4:e.audio.isFmp4),!r.audio&&!r.video)return void this.excludePlaylist({playlistToExclude:t,error:{message:"Could not determine codecs for playlist."},playlistExclusionDuration:1/0});const o={};let a;if(["video","audio"].forEach((function(t){if(r.hasOwnProperty(t)&&(n=e[t].isFmp4,i=r[t],!(n?U(i):F(i)))){const n=e[t].isFmp4?"browser":"muxer";o[n]=o[n]||[],o[n].push(r[t]),"audio"===t&&(a=n)}var n,i})),i&&a&&t.attributes.AUDIO){const e=t.attributes.AUDIO;this.main().playlists.forEach((n=>{(n.attributes&&n.attributes.AUDIO)===e&&n!==t&&(n.excludeUntil=1/0)})),this.logger_(`excluding audio group ${e} as ${a} does not support codec(s): "${r.audio}"`)}if(!Object.keys(o).length){if(this.sourceUpdater_.hasCreatedSourceBuffers()&&!this.sourceUpdater_.canChangeType()){const e=[];if(["video","audio"].forEach((t=>{const n=(D(this.sourceUpdater_.codecs[t]||"")[0]||{}).type,i=(D(r[t]||"")[0]||{}).type;n&&i&&n.toLowerCase()!==i.toLowerCase()&&e.push(`"${this.sourceUpdater_.codecs[t]}" -> "${r[t]}"`)})),e.length)return void this.excludePlaylist({playlistToExclude:t,error:{message:`Codec switching not supported: ${e.join(", ")}.`,internal:!0},playlistExclusionDuration:1/0})}return r}{const e=Object.keys(o).reduce(((e,t)=>(e&&(e+=", "),e+=`${t} does not support codec(s): "${o[t].join(",")}"`)),"")+".";this.excludePlaylist({playlistToExclude:t,error:{internal:!0,message:e},playlistExclusionDuration:1/0})}}tryToCreateSourceBuffers_(){if("open"!==this.mediaSource.readyState||this.sourceUpdater_.hasCreatedSourceBuffers())return;if(!this.areMediaTypesKnown_())return;const e=this.getCodecsOrExclude_();if(!e)return;this.sourceUpdater_.createSourceBuffers(e);const t=[e.video,e.audio].filter(Boolean).join(",");this.excludeIncompatibleVariants_(t)}excludeUnsupportedVariants_(){const e=this.main().playlists,t=[];Object.keys(e).forEach((n=>{const r=e[n];if(-1!==t.indexOf(r.id))return;t.push(r.id);const i=Tu(this.main,r),o=[];!i.audio||F(i.audio)||U(i.audio)||o.push(`audio codec ${i.audio}`),!i.video||F(i.video)||U(i.video)||o.push(`video codec ${i.video}`),i.text&&"stpp.ttml.im1t"===i.text&&o.push(`text codec ${i.text}`),o.length&&(r.excludeUntil=1/0,this.logger_(`excluding ${r.id} for unsupported: ${o.join(", ")}`))}))}excludeIncompatibleVariants_(e){const t=[],n=this.main().playlists,r=_u(D(e)),i=wu(r),o=r.video&&D(r.video)[0]||null,a=r.audio&&D(r.audio)[0]||null;Object.keys(n).forEach((e=>{const r=n[e];if(-1!==t.indexOf(r.id)||r.excludeUntil===1/0)return;t.push(r.id);const s=[],u=Tu(this.mainPlaylistLoader_.main,r),c=wu(u);if(u.audio||u.video){if(c!==i&&s.push(`codec count "${c}" !== "${i}"`),!this.sourceUpdater_.canChangeType()){const e=u.video&&D(u.video)[0]||null,t=u.audio&&D(u.audio)[0]||null;e&&o&&e.type.toLowerCase()!==o.type.toLowerCase()&&s.push(`video codec "${e.type}" !== "${o.type}"`),t&&a&&t.type.toLowerCase()!==a.type.toLowerCase()&&s.push(`audio codec "${t.type}" !== "${a.type}"`)}s.length&&(r.excludeUntil=1/0,this.logger_(`excluding ${r.id}: ${s.join(" && ")}`))}}))}updateAdCues_(e){let t=0;const n=this.seekable();n.length&&(t=n.start(0)),function(e,t,n=0){if(!e.segments)return;let r,o=n;for(let n=0;n<e.segments.length;n++){const a=e.segments[n];if(r||(r=lc(t,o+a.duration/2)),r){if("cueIn"in a){r.endTime=o,r.adEndTime=o,o+=a.duration,r=null;continue}if(o<r.endTime){o+=a.duration;continue}r.endTime+=a.duration}else if("cueOut"in a&&(r=new(i().VTTCue)(o,o+a.duration,a.cueOut),r.adStartTime=o,r.adEndTime=o+parseFloat(a.cueOut),t.addCue(r)),"cueOutCont"in a){const[e,n]=a.cueOutCont.split("/").map(parseFloat);r=new(i().VTTCue)(o,o+a.duration,""),r.adStartTime=o-e,r.adEndTime=r.adStartTime+n,t.addCue(r)}o+=a.duration}}(e,this.cueTagsTrack_,t)}goalBufferLength(){const e=this.tech_.currentTime(),t=Zs.GOAL_BUFFER_LENGTH,n=Zs.GOAL_BUFFER_LENGTH_RATE,r=Math.max(t,Zs.MAX_GOAL_BUFFER_LENGTH);return Math.min(t+e*n,r)}bufferLowWaterLine(){const e=this.tech_.currentTime(),t=Zs.BUFFER_LOW_WATER_LINE,n=Zs.BUFFER_LOW_WATER_LINE_RATE,r=Math.max(t,Zs.MAX_BUFFER_LOW_WATER_LINE),i=Math.max(t,Zs.EXPERIMENTAL_MAX_BUFFER_LOW_WATER_LINE);return Math.min(t+e*n,this.bufferBasedABR?i:r)}bufferHighWaterLine(){return Zs.BUFFER_HIGH_WATER_LINE}}class Lc{constructor(e,t,n){const{playlistController_:r}=e,i=r.fastQualityChange_.bind(r);if(t.attributes){const e=t.attributes.RESOLUTION;this.width=e&&e.width,this.height=e&&e.height,this.bandwidth=t.attributes.BANDWIDTH,this.frameRate=t.attributes["FRAME-RATE"]}var o,a,s;this.codecs=Tu(r.main(),t),this.playlist=t,this.id=n,this.enabled=(o=e.playlists,a=t.id,s=i,e=>{const t=o.main.playlists[a],n=Qa(t),r=Ja(t);return void 0===e?r:(e?delete t.disabled:t.disabled=!0,e===r||n||(s(),e?o.trigger("renditionenabled"):o.trigger("renditiondisabled")),e)})}}const Ac=["seeking","seeked","pause","playing","error"];class Ic{constructor(e){this.playlistController_=e.playlistController,this.tech_=e.tech,this.seekable=e.seekable,this.allowSeeksWithinUnsafeLiveWindow=e.allowSeeksWithinUnsafeLiveWindow,this.liveRangeSafeTimeDelta=e.liveRangeSafeTimeDelta,this.media=e.media,this.consecutiveUpdates=0,this.lastRecordedTime=null,this.checkCurrentTimeTimeout_=null,this.logger_=Aa("PlaybackWatcher"),this.logger_("initialize");const t=()=>this.monitorCurrentTime_(),n=()=>this.monitorCurrentTime_(),r=()=>this.techWaiting_(),o=()=>this.resetTimeUpdate_(),a=this.playlistController_,s=["main","subtitle","audio"],u={};s.forEach((e=>{u[e]={reset:()=>this.resetSegmentDownloads_(e),updateend:()=>this.checkSegmentDownloads_(e)},a[`${e}SegmentLoader_`].on("appendsdone",u[e].updateend),a[`${e}SegmentLoader_`].on("playlistupdate",u[e].reset),this.tech_.on(["seeked","seeking"],u[e].reset)}));const c=e=>{["main","audio"].forEach((t=>{a[`${t}SegmentLoader_`][e]("appended",this.seekingAppendCheck_)}))};this.seekingAppendCheck_=()=>{this.fixesBadSeeks_()&&(this.consecutiveUpdates=0,this.lastRecordedTime=this.tech_.currentTime(),c("off"))},this.clearSeekingAppendCheck_=()=>c("off"),this.watchForBadSeeking_=()=>{this.clearSeekingAppendCheck_(),c("on")},this.tech_.on("seeked",this.clearSeekingAppendCheck_),this.tech_.on("seeking",this.watchForBadSeeking_),this.tech_.on("waiting",r),this.tech_.on(Ac,o),this.tech_.on("canplay",n),this.tech_.one("play",t),this.dispose=()=>{this.clearSeekingAppendCheck_(),this.logger_("dispose"),this.tech_.off("waiting",r),this.tech_.off(Ac,o),this.tech_.off("canplay",n),this.tech_.off("play",t),this.tech_.off("seeking",this.watchForBadSeeking_),this.tech_.off("seeked",this.clearSeekingAppendCheck_),s.forEach((e=>{a[`${e}SegmentLoader_`].off("appendsdone",u[e].updateend),a[`${e}SegmentLoader_`].off("playlistupdate",u[e].reset),this.tech_.off(["seeked","seeking"],u[e].reset)})),this.checkCurrentTimeTimeout_&&i().clearTimeout(this.checkCurrentTimeTimeout_),this.resetTimeUpdate_()}}monitorCurrentTime_(){this.checkCurrentTime_(),this.checkCurrentTimeTimeout_&&i().clearTimeout(this.checkCurrentTimeTimeout_),this.checkCurrentTimeTimeout_=i().setTimeout(this.monitorCurrentTime_.bind(this),250)}resetSegmentDownloads_(e){const t=this.playlistController_[`${e}SegmentLoader_`];this[`${e}StalledDownloads_`]>0&&this.logger_(`resetting possible stalled download count for ${e} loader`),this[`${e}StalledDownloads_`]=0,this[`${e}Buffered_`]=t.buffered_()}checkSegmentDownloads_(e){const t=this.playlistController_,n=t[`${e}SegmentLoader_`],r=n.buffered_(),i=function(e,t){if(e===t)return!1;if(!e&&t||!t&&e)return!0;if(e.length!==t.length)return!0;for(let n=0;n<e.length;n++)if(e.start(n)!==t.start(n)||e.end(n)!==t.end(n))return!0;return!1}(this[`${e}Buffered_`],r);this[`${e}Buffered_`]=r,i?this.resetSegmentDownloads_(e):(this[`${e}StalledDownloads_`]++,this.logger_(`found #${this[`${e}StalledDownloads_`]} ${e} appends that did not increase buffer (possible stalled download)`,{playlistId:n.playlist_&&n.playlist_.id,buffered:Ua(r)}),this[`${e}StalledDownloads_`]<10||(this.logger_(`${e} loader stalled download exclusion`),this.resetSegmentDownloads_(e),this.tech_.trigger({type:"usage",name:`vhs-${e}-download-exclusion`}),"subtitle"!==e&&t.excludePlaylist({error:{message:`Excessive ${e} segment downloading detected.`},playlistExclusionDuration:1/0})))}checkCurrentTime_(){if(this.tech_.paused()||this.tech_.seeking())return;const e=this.tech_.currentTime(),t=this.tech_.buffered();if(this.lastRecordedTime===e&&(!t.length||e+Ra>=t.end(t.length-1)))return this.techWaiting_();this.consecutiveUpdates>=5&&e===this.lastRecordedTime?(this.consecutiveUpdates++,this.waiting_()):e===this.lastRecordedTime?this.consecutiveUpdates++:(this.consecutiveUpdates=0,this.lastRecordedTime=e)}resetTimeUpdate_(){this.consecutiveUpdates=0}fixesBadSeeks_(){if(!this.tech_.seeking())return!1;const e=this.seekable(),t=this.tech_.currentTime();let n;if(this.afterSeekableWindow_(e,t,this.media(),this.allowSeeksWithinUnsafeLiveWindow)){n=e.end(e.length-1)}if(this.beforeSeekableWindow_(e,t)){const t=e.start(0);n=t+(t===e.end(0)?0:Ra)}if(void 0!==n)return this.logger_(`Trying to seek outside of seekable at time ${t} with seekable range ${Ba(e)}. Seeking to ${n}.`),this.tech_.setCurrentTime(n),!0;const r=this.playlistController_.sourceUpdater_,i=this.tech_.buffered(),o=r.audioBuffer?r.audioBuffered():null,a=r.videoBuffer?r.videoBuffered():null,s=this.media(),u=s.partTargetDuration?s.partTargetDuration:2*(s.targetDuration-Ma),c=[o,a];for(let e=0;e<c.length;e++){if(!c[e])continue;if(za(c[e],t)<u)return!1}const l=Na(i,t);return 0!==l.length&&(n=l.start(0)+Ra,this.logger_(`Buffered region starts (${l.start(0)})  just beyond seek point (${t}). Seeking to ${n}.`),this.tech_.setCurrentTime(n),!0)}waiting_(){if(this.techWaiting_())return;const e=this.tech_.currentTime(),t=this.tech_.buffered(),n=Da(t,e);return n.length&&e+3<=n.end(0)?(this.resetTimeUpdate_(),this.tech_.setCurrentTime(e),this.logger_(`Stopped at ${e} while inside a buffered region [${n.start(0)} -> ${n.end(0)}]. Attempting to resume playback by seeking to the current time.`),void this.tech_.trigger({type:"usage",name:"vhs-unknown-waiting"})):void 0}techWaiting_(){const e=this.seekable(),t=this.tech_.currentTime();if(this.tech_.seeking())return!0;if(this.beforeSeekableWindow_(e,t)){const n=e.end(e.length-1);return this.logger_(`Fell out of live window at time ${t}. Seeking to live point (seekable end) ${n}`),this.resetTimeUpdate_(),this.tech_.setCurrentTime(n),this.tech_.trigger({type:"usage",name:"vhs-live-resync"}),!0}const n=this.tech_.vhs.playlistController_.sourceUpdater_,r=this.tech_.buffered();if(this.videoUnderflow_({audioBuffered:n.audioBuffered(),videoBuffered:n.videoBuffered(),currentTime:t}))return this.resetTimeUpdate_(),this.tech_.setCurrentTime(t),this.tech_.trigger({type:"usage",name:"vhs-video-underflow"}),!0;const i=Na(r,t);return i.length>0&&(this.logger_(`Stopped at ${t} and seeking to ${i.start(0)}`),this.resetTimeUpdate_(),this.skipTheGap_(t),!0)}afterSeekableWindow_(e,t,n,r=!1){if(!e.length)return!1;let i=e.end(e.length-1)+Ra;return!n.endList&&r&&(i=e.end(e.length-1)+3*n.targetDuration),t>i}beforeSeekableWindow_(e,t){return!!(e.length&&e.start(0)>0&&t<e.start(0)-this.liveRangeSafeTimeDelta)}videoUnderflow_({videoBuffered:e,audioBuffered:t,currentTime:n}){if(!e)return;let r;if(e.length&&t.length){const i=Da(e,n-3),o=Da(e,n),a=Da(t,n);a.length&&!o.length&&i.length&&(r={start:i.end(0),end:a.end(0)})}else{Na(e,n).length||(r=this.gapFromVideoUnderflow_(e,n))}return!!r&&(this.logger_(`Encountered a gap in video from ${r.start} to ${r.end}. Seeking to current time ${n}`),!0)}skipTheGap_(e){const t=this.tech_.buffered(),n=this.tech_.currentTime(),r=Na(t,n);this.resetTimeUpdate_(),0!==r.length&&n===e&&(this.logger_("skipTheGap_:","currentTime:",n,"scheduled currentTime:",e,"nextRange start:",r.start(0)),this.tech_.setCurrentTime(r.start(0)+Ma),this.tech_.trigger({type:"usage",name:"vhs-gap-skip"}))}gapFromVideoUnderflow_(e,t){const n=function(e){if(e.length<2)return Pa();const t=[];for(let n=1;n<e.length;n++){const r=e.end(n-1),i=e.start(n);t.push([r,i])}return Pa(t)}(e);for(let e=0;e<n.length;e++){const r=n.start(e),i=n.end(e);if(t-r<4&&t-r>2)return{start:r,end:i}}return null}}const Pc={errorInterval:30,getSource(e){return e(this.tech({IWillNotUseThisInPlugins:!0}).currentSource_||this.currentSource())}},Mc=function(e,t){let n=0,r=0;const i=Ia(Pc,t);e.ready((()=>{e.trigger({type:"usage",name:"vhs-error-reload-initialized"})}));const o=function(){r&&e.currentTime(r)},a=function(t){null!=t&&(r=e.duration()!==1/0&&e.currentTime()||0,e.one("loadedmetadata",o),e.src(t),e.trigger({type:"usage",name:"vhs-error-reload"}),e.play())},s=function(){if(Date.now()-n<1e3*i.errorInterval)e.trigger({type:"usage",name:"vhs-error-reload-canceled"});else{if(i.getSource&&"function"==typeof i.getSource)return n=Date.now(),i.getSource.call(e,a);Ta.log.error("ERROR: reloadSourceOnError - The option getSource must be a function!")}},u=function(){e.off("loadedmetadata",o),e.off("error",s),e.off("dispose",u)};e.on("error",s),e.on("dispose",u),e.reloadSourceOnError=function(t){u(),Mc(e,t)}},Rc=function(e){Mc(this,e)};var jc="3.0.2";const Dc={PlaylistLoader:bs,Playlist:os,utils:Is,STANDARD_PLAYLIST_SELECTOR:Lu,INITIAL_PLAYLIST_SELECTOR:function(){const e=this.playlists.main.playlists.filter(os.isEnabled);Eu(e,((e,t)=>Ou(e,t)));return e.filter((e=>!!Tu(this.playlists.main,e).video))[0]||null},lastBandwidthSelector:Lu,movingAverageBandwidthSelector:function(e){let t=-1,n=-1;if(e<0||e>1)throw new Error("Moving average bandwidth decay must be between 0 and 1.");return function(){const r=this.useDevicePixelRatio&&i().devicePixelRatio||1;return t<0&&(t=this.systemBandwidth,n=this.systemBandwidth),this.systemBandwidth>0&&this.systemBandwidth!==n&&(t=e*this.systemBandwidth+(1-e)*t,n=this.systemBandwidth),Cu(this.playlists.main,t,parseInt(ku(this.tech_.el(),"width"),10)*r,parseInt(ku(this.tech_.el(),"height"),10)*r,this.limitRenditionByPlayerDimensions,this.playlistController_)}},comparePlaylistBandwidth:Ou,comparePlaylistResolution:function(e,t){let n,r;return e.attributes.RESOLUTION&&e.attributes.RESOLUTION.width&&(n=e.attributes.RESOLUTION.width),n=n||i().Number.MAX_VALUE,t.attributes.RESOLUTION&&t.attributes.RESOLUTION.width&&(r=t.attributes.RESOLUTION.width),r=r||i().Number.MAX_VALUE,n===r&&e.attributes.BANDWIDTH&&t.attributes.BANDWIDTH?e.attributes.BANDWIDTH-t.attributes.BANDWIDTH:n-r},xhr:Ts()};Object.keys(Zs).forEach((e=>{Object.defineProperty(Dc,e,{get:()=>(Ta.log.warn(`using Vhs.${e} is UNSAFE be sure you know what you are doing`),Zs[e]),set(t){Ta.log.warn(`using Vhs.${e} is UNSAFE be sure you know what you are doing`),"number"!=typeof t||t<0?Ta.log.warn(`value of Vhs.${e} must be greater than or equal to 0`):Zs[e]=t}})}));const Nc="videojs-vhs",Bc=function(e,t){const n=t.media();let r=-1;for(let t=0;t<e.length;t++)if(e[t].id===n.id){r=t;break}e.selectedIndex_=r,e.trigger({selectedIndex:r,type:"change"})};Dc.canPlaySource=function(){return Ta.log.warn("VHS is no longer a tech. Please remove it from your player's techOrder.")};const Uc=({player:e,sourceKeySystems:t,audioMedia:n,mainPlaylists:r})=>{if(!e.eme.initializeMediaKeys)return Promise.resolve();const i=((e,t)=>e.reduce(((e,n)=>{if(!n.contentProtection)return e;const r=t.reduce(((e,t)=>{const r=n.contentProtection[t];return r&&r.pssh&&(e[t]={pssh:r.pssh}),e}),{});return Object.keys(r).length&&e.push(r),e}),[]))(n?r.concat([n]):r,Object.keys(t)),o=[],a=[];return i.forEach((t=>{a.push(new Promise(((t,n)=>{e.tech_.one("keysessioncreated",t)}))),o.push(new Promise(((n,r)=>{e.eme.initializeMediaKeys({keySystems:t},(e=>{e?r(e):n()}))})))})),Promise.race([Promise.all(o),Promise.race(a)])},Fc=({player:e,sourceKeySystems:t,media:n,audioMedia:r})=>{const i=((e,t,n)=>{if(!e)return e;let r={};t&&t.attributes&&t.attributes.CODECS&&(r=_u(D(t.attributes.CODECS))),n&&n.attributes&&n.attributes.CODECS&&(r.audio=n.attributes.CODECS);const i=B(r.video),o=B(r.audio),a={};for(const n in e)a[n]={},o&&(a[n].audioContentType=o),i&&(a[n].videoContentType=i),t.contentProtection&&t.contentProtection[n]&&t.contentProtection[n].pssh&&(a[n].pssh=t.contentProtection[n].pssh),"string"==typeof e[n]&&(a[n].url=e[n]);return Ia(e,a)})(t,n,r);return!!i&&(e.currentSource().keySystems=i,!(i&&!e.eme)||(Ta.log.warn("DRM encrypted source cannot be decrypted without a DRM plugin"),!1))},zc=()=>{if(!i().localStorage)return null;const e=i().localStorage.getItem(Nc);if(!e)return null;try{return JSON.parse(e)}catch(e){return null}};Dc.supportsNativeHls=function(){if(!a()||!a().createElement)return!1;const e=a().createElement("video");if(!Ta.getTech("Html5").isSupported())return!1;return["application/vnd.apple.mpegurl","audio/mpegurl","audio/x-mpegurl","application/x-mpegurl","video/x-mpegurl","video/mpegurl","application/mpegurl"].some((function(t){return/maybe|probably/i.test(e.canPlayType(t))}))}(),Dc.supportsNativeDash=!!(a()&&a().createElement&&Ta.getTech("Html5").isSupported())&&/maybe|probably/i.test(a().createElement("video").canPlayType("application/dash+xml")),Dc.supportsTypeNatively=e=>"hls"===e?Dc.supportsNativeHls:"dash"===e&&Dc.supportsNativeDash,Dc.isSupported=function(){return Ta.log.warn("VHS is no longer a tech. Please remove it from your player's techOrder.")};const Hc=Ta.getComponent("Component");class Zc extends Hc{constructor(e,t,n){if(super(t,n.vhs),"number"==typeof n.initialBandwidth&&(this.options_.bandwidth=n.initialBandwidth),this.logger_=Aa("VhsHandler"),t.options_&&t.options_.playerId){const e=Ta.getPlayer(t.options_.playerId);this.player_=e}if(this.tech_=t,this.source_=e,this.stats={},this.ignoreNextSeekingEvent_=!1,this.setOptions_(),this.options_.overrideNative&&t.overrideNativeAudioTracks&&t.overrideNativeVideoTracks)t.overrideNativeAudioTracks(!0),t.overrideNativeVideoTracks(!0);else if(this.options_.overrideNative&&(t.featuresNativeVideoTracks||t.featuresNativeAudioTracks))throw new Error("Overriding native VHS requires emulated tracks. See https://git.io/vMpjB");this.on(a(),["fullscreenchange","webkitfullscreenchange","mozfullscreenchange","MSFullscreenChange"],(e=>{const t=a().fullscreenElement||a().webkitFullscreenElement||a().mozFullScreenElement||a().msFullscreenElement;t&&t.contains(this.tech_.el())?this.playlistController_.fastQualityChange_():this.playlistController_.checkABR_()})),this.on(this.tech_,"seeking",(function(){this.ignoreNextSeekingEvent_?this.ignoreNextSeekingEvent_=!1:this.setCurrentTime(this.tech_.currentTime())})),this.on(this.tech_,"error",(function(){this.tech_.error()&&this.playlistController_&&this.playlistController_.pauseLoading()})),this.on(this.tech_,"play",this.play)}setOptions_(){if(this.options_.withCredentials=this.options_.withCredentials||!1,this.options_.limitRenditionByPlayerDimensions=!1!==this.options_.limitRenditionByPlayerDimensions,this.options_.useDevicePixelRatio=this.options_.useDevicePixelRatio||!1,this.options_.useBandwidthFromLocalStorage=void 0!==this.source_.useBandwidthFromLocalStorage?this.source_.useBandwidthFromLocalStorage:this.options_.useBandwidthFromLocalStorage||!1,this.options_.useNetworkInformationApi=this.options_.useNetworkInformationApi||!1,this.options_.useDtsForTimestampOffset=this.options_.useDtsForTimestampOffset||!1,this.options_.customTagParsers=this.options_.customTagParsers||[],this.options_.customTagMappers=this.options_.customTagMappers||[],this.options_.cacheEncryptionKeys=this.options_.cacheEncryptionKeys||!1,this.options_.llhls=!1!==this.options_.llhls,this.options_.bufferBasedABR=this.options_.bufferBasedABR||!1,"number"!=typeof this.options_.playlistExclusionDuration&&(this.options_.playlistExclusionDuration=300),"number"!=typeof this.options_.bandwidth&&this.options_.useBandwidthFromLocalStorage){const e=zc();e&&e.bandwidth&&(this.options_.bandwidth=e.bandwidth,this.tech_.trigger({type:"usage",name:"vhs-bandwidth-from-local-storage"})),e&&e.throughput&&(this.options_.throughput=e.throughput,this.tech_.trigger({type:"usage",name:"vhs-throughput-from-local-storage"}))}"number"!=typeof this.options_.bandwidth&&(this.options_.bandwidth=Zs.INITIAL_BANDWIDTH),this.options_.enableLowInitialPlaylist=this.options_.enableLowInitialPlaylist&&this.options_.bandwidth===Zs.INITIAL_BANDWIDTH,["withCredentials","useDevicePixelRatio","limitRenditionByPlayerDimensions","bandwidth","customTagParsers","customTagMappers","cacheEncryptionKeys","playlistSelector","initialPlaylistSelector","bufferBasedABR","liveRangeSafeTimeDelta","llhls","useNetworkInformationApi","useDtsForTimestampOffset","exactManifestTimings","leastPixelDiffSelector"].forEach((e=>{void 0!==this.source_[e]&&(this.options_[e]=this.source_[e])})),this.limitRenditionByPlayerDimensions=this.options_.limitRenditionByPlayerDimensions,this.useDevicePixelRatio=this.options_.useDevicePixelRatio}src(e,t){if(!e)return;var n;this.setOptions_(),this.options_.src=0===(n=this.source_.src).toLowerCase().indexOf("data:application/vnd.videojs.vhs+json,")?JSON.parse(n.substring(n.indexOf(",")+1)):n,this.options_.tech=this.tech_,this.options_.externVhs=Dc,this.options_.sourceType=q(t),this.options_.seekTo=e=>{this.tech_.setCurrentTime(e)},this.playlistController_=new Cc(this.options_);const r=Ia({liveRangeSafeTimeDelta:Ra},this.options_,{seekable:()=>this.seekable(),media:()=>this.playlistController_.media(),playlistController:this.playlistController_});this.playbackWatcher_=new Ic(r),this.playlistController_.on("error",(()=>{const e=Ta.players[this.tech_.options_.playerId];let t=this.playlistController_.error;"object"!=typeof t||t.code?"string"==typeof t&&(t={message:t,code:3}):t.code=3,e.error(t)}));const o=this.options_.bufferBasedABR?Dc.movingAverageBandwidthSelector(.55):Dc.STANDARD_PLAYLIST_SELECTOR;this.playlistController_.selectPlaylist=this.selectPlaylist?this.selectPlaylist.bind(this):o.bind(this),this.playlistController_.selectInitialPlaylist=Dc.INITIAL_PLAYLIST_SELECTOR.bind(this),this.playlists=this.playlistController_.mainPlaylistLoader_,this.mediaSource=this.playlistController_.mediaSource,Object.defineProperties(this,{selectPlaylist:{get(){return this.playlistController_.selectPlaylist},set(e){this.playlistController_.selectPlaylist=e.bind(this)}},throughput:{get(){return this.playlistController_.mainSegmentLoader_.throughput.rate},set(e){this.playlistController_.mainSegmentLoader_.throughput.rate=e,this.playlistController_.mainSegmentLoader_.throughput.count=1}},bandwidth:{get(){let e=this.playlistController_.mainSegmentLoader_.bandwidth;const t=i().navigator.connection||i().navigator.mozConnection||i().navigator.webkitConnection,n=1e7;if(this.options_.useNetworkInformationApi&&t){const r=1e3*t.downlink*1e3;e=r>=n&&e>=n?Math.max(e,r):r}return e},set(e){this.playlistController_.mainSegmentLoader_.bandwidth=e,this.playlistController_.mainSegmentLoader_.throughput={rate:0,count:0}}},systemBandwidth:{get(){const e=1/(this.bandwidth||1);let t;t=this.throughput>0?1/this.throughput:0;return Math.floor(1/(e+t))},set(){Ta.log.error('The "systemBandwidth" property is read-only')}}}),this.options_.bandwidth&&(this.bandwidth=this.options_.bandwidth),this.options_.throughput&&(this.throughput=this.options_.throughput),Object.defineProperties(this.stats,{bandwidth:{get:()=>this.bandwidth||0,enumerable:!0},mediaRequests:{get:()=>this.playlistController_.mediaRequests_()||0,enumerable:!0},mediaRequestsAborted:{get:()=>this.playlistController_.mediaRequestsAborted_()||0,enumerable:!0},mediaRequestsTimedout:{get:()=>this.playlistController_.mediaRequestsTimedout_()||0,enumerable:!0},mediaRequestsErrored:{get:()=>this.playlistController_.mediaRequestsErrored_()||0,enumerable:!0},mediaTransferDuration:{get:()=>this.playlistController_.mediaTransferDuration_()||0,enumerable:!0},mediaBytesTransferred:{get:()=>this.playlistController_.mediaBytesTransferred_()||0,enumerable:!0},mediaSecondsLoaded:{get:()=>this.playlistController_.mediaSecondsLoaded_()||0,enumerable:!0},mediaAppends:{get:()=>this.playlistController_.mediaAppends_()||0,enumerable:!0},mainAppendsToLoadedData:{get:()=>this.playlistController_.mainAppendsToLoadedData_()||0,enumerable:!0},audioAppendsToLoadedData:{get:()=>this.playlistController_.audioAppendsToLoadedData_()||0,enumerable:!0},appendsToLoadedData:{get:()=>this.playlistController_.appendsToLoadedData_()||0,enumerable:!0},timeToLoadedData:{get:()=>this.playlistController_.timeToLoadedData_()||0,enumerable:!0},buffered:{get:()=>Ua(this.tech_.buffered()),enumerable:!0},currentTime:{get:()=>this.tech_.currentTime(),enumerable:!0},currentSource:{get:()=>this.tech_.currentSource_,enumerable:!0},currentTech:{get:()=>this.tech_.name_,enumerable:!0},duration:{get:()=>this.tech_.duration(),enumerable:!0},main:{get:()=>this.playlists.main,enumerable:!0},playerDimensions:{get:()=>this.tech_.currentDimensions(),enumerable:!0},seekable:{get:()=>Ua(this.tech_.seekable()),enumerable:!0},timestamp:{get:()=>Date.now(),enumerable:!0},videoPlaybackQuality:{get:()=>this.tech_.getVideoPlaybackQuality(),enumerable:!0}}),this.tech_.one("canplay",this.playlistController_.setupFirstPlay.bind(this.playlistController_)),this.tech_.on("bandwidthupdate",(()=>{this.options_.useBandwidthFromLocalStorage&&(e=>{if(!i().localStorage)return!1;let t=zc();t=t?Ia(t,e):e;try{i().localStorage.setItem(Nc,JSON.stringify(t))}catch(e){return!1}})({bandwidth:this.bandwidth,throughput:Math.round(this.throughput)})})),this.playlistController_.on("selectedinitialmedia",(()=>{var e;(e=this).representations=()=>{const t=e.playlistController_.main(),n=is(t)?e.playlistController_.getAudioTrackPlaylists_():t.playlists;return n?n.filter((e=>!Qa(e))).map(((t,n)=>new Lc(e,t,t.id))):[]}})),this.playlistController_.sourceUpdater_.on("createdsourcebuffers",(()=>{this.setupEme_()})),this.on(this.playlistController_,"progress",(function(){this.tech_.trigger("progress")})),this.on(this.playlistController_,"firstplay",(function(){this.ignoreNextSeekingEvent_=!0})),this.setupQualityLevels_(),this.tech_.el()&&(this.mediaSourceUrl_=i().URL.createObjectURL(this.playlistController_.mediaSource),this.tech_.src(this.mediaSourceUrl_))}createKeySessions_(){const e=this.playlistController_.mediaTypes_.AUDIO.activePlaylistLoader;this.logger_("waiting for EME key session creation"),Uc({player:this.player_,sourceKeySystems:this.source_.keySystems,audioMedia:e&&e.media(),mainPlaylists:this.playlists.main.playlists}).then((()=>{this.logger_("created EME key session"),this.playlistController_.sourceUpdater_.initializedEme()})).catch((e=>{this.logger_("error while creating EME key session",e),this.player_.error({message:"Failed to initialize media keys for EME",code:3})}))}handleWaitingForKey_(){this.logger_("waitingforkey fired, attempting to create any new key sessions"),this.createKeySessions_()}setupEme_(){const e=this.playlistController_.mediaTypes_.AUDIO.activePlaylistLoader,t=Fc({player:this.player_,sourceKeySystems:this.source_.keySystems,media:this.playlists.media(),audioMedia:e&&e.media()});this.player_.tech_.on("keystatuschange",(e=>{if("output-restricted"!==e.status)return;const t=this.playlistController_.main();if(!t||!t.playlists)return;const n=[];t.playlists.forEach((e=>{e&&e.attributes&&e.attributes.RESOLUTION&&e.attributes.RESOLUTION.height>=720&&(!e.excludeUntil||e.excludeUntil<1/0)&&(e.excludeUntil=1/0,n.push(e))})),n.length&&(Ta.log.warn('DRM keystatus changed to "output-restricted." Removing the following HD playlists that will most likely fail to play and clearing the buffer. This may be due to HDCP restrictions on the stream and the capabilities of the current device.',...n),this.playlistController_.fastQualityChange_())})),this.handleWaitingForKey_=this.handleWaitingForKey_.bind(this),this.player_.tech_.on("waitingforkey",this.handleWaitingForKey_),11!==Ta.browser.IE_VERSION&&t?this.createKeySessions_():this.playlistController_.sourceUpdater_.initializedEme()}setupQualityLevels_(){const e=Ta.players[this.tech_.options_.playerId];e&&e.qualityLevels&&!this.qualityLevels_&&(this.qualityLevels_=e.qualityLevels(),this.playlistController_.on("selectedinitialmedia",(()=>{!function(e,t){t.representations().forEach((t=>{e.addQualityLevel(t)})),Bc(e,t.playlists)}(this.qualityLevels_,this)})),this.playlists.on("mediachange",(()=>{Bc(this.qualityLevels_,this.playlists)})))}static version(){return{"@videojs/http-streaming":jc,"mux.js":"6.3.0","mpd-parser":"1.0.1","m3u8-parser":"6.0.0","aes-decrypter":"4.0.1"}}version(){return this.constructor.version()}canChangeType(){return oc.canChangeType()}play(){this.playlistController_.play()}setCurrentTime(e){this.playlistController_.setCurrentTime(e)}duration(){return this.playlistController_.duration()}seekable(){return this.playlistController_.seekable()}dispose(){this.playbackWatcher_&&this.playbackWatcher_.dispose(),this.playlistController_&&this.playlistController_.dispose(),this.qualityLevels_&&this.qualityLevels_.dispose(),this.tech_&&this.tech_.vhs&&delete this.tech_.vhs,this.mediaSourceUrl_&&i().URL.revokeObjectURL&&(i().URL.revokeObjectURL(this.mediaSourceUrl_),this.mediaSourceUrl_=null),this.tech_&&this.tech_.off("waitingforkey",this.handleWaitingForKey_),super.dispose()}convertToProgramTime(e,t){return Ps({playlist:this.playlistController_.media(),time:e,callback:t})}seekToProgramTime(e,t,n=!0,r=2){return Ms({programTime:e,playlist:this.playlistController_.media(),retryCount:r,pauseAfterSeek:n,seekTo:this.options_.seekTo,tech:this.options_.tech,callback:t})}}const qc={name:"videojs-http-streaming",VERSION:jc,canHandleSource(e,t={}){const n=Ia(Ta.options,t);return qc.canPlayType(e.type,n)},handleSource(e,t,n={}){const r=Ia(Ta.options,n);return t.vhs=new Zc(e,t,r),t.vhs.xhr=Ts(),t.vhs.src(e.src,e.type),t.vhs},canPlayType(e,t){const n=q(e);if(!n)return"";const r=qc.getOverrideNative(t);return!Dc.supportsTypeNatively(n)||r?"maybe":""},getOverrideNative(e={}){const{vhs:t={}}=e,n=!(Ta.browser.IS_ANY_SAFARI||Ta.browser.IS_IOS),{overrideNative:r=n}=t;return r}};U("avc1.4d400d,mp4a.40.2")&&Ta.getTech("Html5").registerSourceHandler(qc,0),Ta.VhsHandler=Zc,Ta.VhsSourceHandler=qc,Ta.Vhs=Dc,Ta.use||Ta.registerComponent("Vhs",Dc),Ta.options.vhs=Ta.options.vhs||{},Ta.getPlugin&&Ta.getPlugin("reloadSourceOnError")||Ta.registerPlugin("reloadSourceOnError",Rc)},13407:function(e,t,n){var r=n(58908),i=e.exports={WebVTT:n(63706),VTTCue:n(22230),VTTRegion:n(13710)};r.vttjs=i,r.WebVTT=i.WebVTT;var o=i.VTTCue,a=i.VTTRegion,s=r.VTTCue,u=r.VTTRegion;i.shim=function(){r.VTTCue=o,r.VTTRegion=a},i.restore=function(){r.VTTCue=s,r.VTTRegion=u},r.VTTCue||i.shim()},63706:function(e,t,n){var r=n(89144),i=Object.create||function(){function e(){}return function(t){if(1!==arguments.length)throw new Error("Object.create shim only accepts one parameter.");return e.prototype=t,new e}}();function o(e,t){this.name="ParsingError",this.code=e.code,this.message=t||e.message}function a(e){function t(e,t,n,r){return 3600*(0|e)+60*(0|t)+(0|n)+(0|r)/1e3}var n=e.match(/^(\d+):(\d{1,2})(:\d{1,2})?\.(\d{3})/);return n?n[3]?t(n[1],n[2],n[3].replace(":",""),n[4]):n[1]>59?t(n[1],n[2],0,n[4]):t(0,n[1],n[2],n[4]):null}function s(){this.values=i(null)}function u(e,t,n,r){var i=r?e.split(r):[e];for(var o in i)if("string"==typeof i[o]){var a=i[o].split(n);if(2===a.length)t(a[0].trim(),a[1].trim())}}function c(e,t,n){var r=e;function i(){var t=a(e);if(null===t)throw new o(o.Errors.BadTimeStamp,"Malformed timestamp: "+r);return e=e.replace(/^[^\sa-zA-Z-]+/,""),t}function c(){e=e.replace(/^\s+/,"")}if(c(),t.startTime=i(),c(),"--\x3e"!==e.substr(0,3))throw new o(o.Errors.BadTimeStamp,"Malformed time stamp (time stamps must be separated by '--\x3e'): "+r);e=e.substr(3),c(),t.endTime=i(),c(),function(e,t){var r=new s;u(e,(function(e,t){switch(e){case"region":for(var i=n.length-1;i>=0;i--)if(n[i].id===t){r.set(e,n[i].region);break}break;case"vertical":r.alt(e,t,["rl","lr"]);break;case"line":var o=t.split(","),a=o[0];r.integer(e,a),r.percent(e,a)&&r.set("snapToLines",!1),r.alt(e,a,["auto"]),2===o.length&&r.alt("lineAlign",o[1],["start","center","end"]);break;case"position":o=t.split(","),r.percent(e,o[0]),2===o.length&&r.alt("positionAlign",o[1],["start","center","end"]);break;case"size":r.percent(e,t);break;case"align":r.alt(e,t,["start","center","end","left","right"])}}),/:/,/\s/),t.region=r.get("region",null),t.vertical=r.get("vertical","");try{t.line=r.get("line","auto")}catch(e){}t.lineAlign=r.get("lineAlign","start"),t.snapToLines=r.get("snapToLines",!0),t.size=r.get("size",100);try{t.align=r.get("align","center")}catch(e){t.align=r.get("align","middle")}try{t.position=r.get("position","auto")}catch(e){t.position=r.get("position",{start:0,left:0,center:50,middle:50,end:100,right:100},t.align)}t.positionAlign=r.get("positionAlign",{start:"start",left:"start",center:"center",middle:"center",end:"end",right:"end"},t.align)}(e,t)}o.prototype=i(Error.prototype),o.prototype.constructor=o,o.Errors={BadSignature:{code:0,message:"Malformed WebVTT signature."},BadTimeStamp:{code:1,message:"Malformed time stamp."}},s.prototype={set:function(e,t){this.get(e)||""===t||(this.values[e]=t)},get:function(e,t,n){return n?this.has(e)?this.values[e]:t[n]:this.has(e)?this.values[e]:t},has:function(e){return e in this.values},alt:function(e,t,n){for(var r=0;r<n.length;++r)if(t===n[r]){this.set(e,t);break}},integer:function(e,t){/^-?\d+$/.test(t)&&this.set(e,parseInt(t,10))},percent:function(e,t){return!!(t.match(/^([\d]{1,3})(\.[\d]*)?%$/)&&(t=parseFloat(t))>=0&&t<=100)&&(this.set(e,t),!0)}};var l=r.createElement&&r.createElement("textarea"),f={c:"span",i:"i",b:"b",u:"u",ruby:"ruby",rt:"rt",v:"span",lang:"span"},d={white:"rgba(255,255,255,1)",lime:"rgba(0,255,0,1)",cyan:"rgba(0,255,255,1)",red:"rgba(255,0,0,1)",yellow:"rgba(255,255,0,1)",magenta:"rgba(255,0,255,1)",blue:"rgba(0,0,255,1)",black:"rgba(0,0,0,1)"},p={v:"title",lang:"lang"},h={rt:"ruby"};function g(e,t){function n(){if(!t)return null;var e,n=t.match(/^([^<]*)(<[^>]*>?)?/);return e=n[1]?n[1]:n[2],t=t.substr(e.length),e}function r(e,t){return!h[t.localName]||h[t.localName]===e.localName}function i(t,n){var r=f[t];if(!r)return null;var i=e.document.createElement(r),o=p[t];return o&&n&&(i[o]=n.trim()),i}for(var o,s,u=e.document.createElement("div"),c=u,g=[];null!==(o=n());)if("<"!==o[0])c.appendChild(e.document.createTextNode((s=o,l.innerHTML=s,s=l.textContent,l.textContent="",s)));else{if("/"===o[1]){g.length&&g[g.length-1]===o.substr(2).replace(">","")&&(g.pop(),c=c.parentNode);continue}var m,y=a(o.substr(1,o.length-2));if(y){m=e.document.createProcessingInstruction("timestamp",y),c.appendChild(m);continue}var v=o.match(/^<([^.\s/0-9>]+)(\.[^\s\\>]+)?([^>\\]+)?(\\?)>?$/);if(!v)continue;if(!(m=i(v[1],v[3])))continue;if(!r(c,m))continue;if(v[2]){var b=v[2].split(".");b.forEach((function(e){var t=/^bg_/.test(e),n=t?e.slice(3):e;if(d.hasOwnProperty(n)){var r=t?"background-color":"color",i=d[n];m.style[r]=i}})),m.className=b.join(" ")}g.push(v[1]),c.appendChild(m),c=m}return u}var m=[[1470,1470],[1472,1472],[1475,1475],[1478,1478],[1488,1514],[1520,1524],[1544,1544],[1547,1547],[1549,1549],[1563,1563],[1566,1610],[1645,1647],[1649,1749],[1765,1766],[1774,1775],[1786,1805],[1807,1808],[1810,1839],[1869,1957],[1969,1969],[1984,2026],[2036,2037],[2042,2042],[2048,2069],[2074,2074],[2084,2084],[2088,2088],[2096,2110],[2112,2136],[2142,2142],[2208,2208],[2210,2220],[8207,8207],[64285,64285],[64287,64296],[64298,64310],[64312,64316],[64318,64318],[64320,64321],[64323,64324],[64326,64449],[64467,64829],[64848,64911],[64914,64967],[65008,65020],[65136,65140],[65142,65276],[67584,67589],[67592,67592],[67594,67637],[67639,67640],[67644,67644],[67647,67669],[67671,67679],[67840,67867],[67872,67897],[67903,67903],[67968,68023],[68030,68031],[68096,68096],[68112,68115],[68117,68119],[68121,68147],[68160,68167],[68176,68184],[68192,68223],[68352,68405],[68416,68437],[68440,68466],[68472,68479],[68608,68680],[126464,126467],[126469,126495],[126497,126498],[126500,126500],[126503,126503],[126505,126514],[126516,126519],[126521,126521],[126523,126523],[126530,126530],[126535,126535],[126537,126537],[126539,126539],[126541,126543],[126545,126546],[126548,126548],[126551,126551],[126553,126553],[126555,126555],[126557,126557],[126559,126559],[126561,126562],[126564,126564],[126567,126570],[126572,126578],[126580,126583],[126585,126588],[126590,126590],[126592,126601],[126603,126619],[126625,126627],[126629,126633],[126635,126651],[1114109,1114109]];function y(e){for(var t=0;t<m.length;t++){var n=m[t];if(e>=n[0]&&e<=n[1])return!0}return!1}function v(e){var t=[],n="";if(!e||!e.childNodes)return"ltr";function r(e,t){for(var n=t.childNodes.length-1;n>=0;n--)e.push(t.childNodes[n])}function i(e){if(!e||!e.length)return null;var t=e.pop(),n=t.textContent||t.innerText;if(n){var o=n.match(/^.*(\n|\r)/);return o?(e.length=0,o[0]):n}return"ruby"===t.tagName?i(e):t.childNodes?(r(e,t),i(e)):void 0}for(r(t,e);n=i(t);)for(var o=0;o<n.length;o++)if(y(n.charCodeAt(o)))return"rtl";return"ltr"}function b(){}function _(e,t,n){b.call(this),this.cue=t,this.cueDiv=g(e,t.text);var r={color:"rgba(255, 255, 255, 1)",backgroundColor:"rgba(0, 0, 0, 0.8)",position:"relative",left:0,right:0,top:0,bottom:0,display:"inline",writingMode:""===t.vertical?"horizontal-tb":"lr"===t.vertical?"vertical-lr":"vertical-rl",unicodeBidi:"plaintext"};this.applyStyles(r,this.cueDiv),this.div=e.document.createElement("div"),r={direction:v(this.cueDiv),writingMode:""===t.vertical?"horizontal-tb":"lr"===t.vertical?"vertical-lr":"vertical-rl",unicodeBidi:"plaintext",textAlign:"middle"===t.align?"center":t.align,font:n.font,whiteSpace:"pre-line",position:"absolute"},this.applyStyles(r),this.div.appendChild(this.cueDiv);var i=0;switch(t.positionAlign){case"start":i=t.position;break;case"center":i=t.position-t.size/2;break;case"end":i=t.position-t.size}""===t.vertical?this.applyStyles({left:this.formatStyle(i,"%"),width:this.formatStyle(t.size,"%")}):this.applyStyles({top:this.formatStyle(i,"%"),height:this.formatStyle(t.size,"%")}),this.move=function(e){this.applyStyles({top:this.formatStyle(e.top,"px"),bottom:this.formatStyle(e.bottom,"px"),left:this.formatStyle(e.left,"px"),right:this.formatStyle(e.right,"px"),height:this.formatStyle(e.height,"px"),width:this.formatStyle(e.width,"px")})}}function w(e){var t,n,r,i;if(e.div){n=e.div.offsetHeight,r=e.div.offsetWidth,i=e.div.offsetTop;var o=(o=e.div.childNodes)&&(o=o[0])&&o.getClientRects&&o.getClientRects();e=e.div.getBoundingClientRect(),t=o?Math.max(o[0]&&o[0].height||0,e.height/o.length):0}this.left=e.left,this.right=e.right,this.top=e.top||i,this.height=e.height||n,this.bottom=e.bottom||i+(e.height||n),this.width=e.width||r,this.lineHeight=void 0!==t?t:e.lineHeight}function T(e,t,n,r){var i=new w(t),o=t.cue,a=function(e){if("number"==typeof e.line&&(e.snapToLines||e.line>=0&&e.line<=100))return e.line;if(!e.track||!e.track.textTrackList||!e.track.textTrackList.mediaElement)return-1;for(var t=e.track,n=t.textTrackList,r=0,i=0;i<n.length&&n[i]!==t;i++)"showing"===n[i].mode&&r++;return-1*++r}(o),s=[];if(o.snapToLines){var u;switch(o.vertical){case"":s=["+y","-y"],u="height";break;case"rl":s=["+x","-x"],u="width";break;case"lr":s=["-x","+x"],u="width"}var c=i.lineHeight,l=c*Math.round(a),f=n[u]+c,d=s[0];Math.abs(l)>f&&(l=l<0?-1:1,l*=Math.ceil(f/c)*c),a<0&&(l+=""===o.vertical?n.height:n.width,s=s.reverse()),i.move(d,l)}else{var p=i.lineHeight/n.height*100;switch(o.lineAlign){case"center":a-=p/2;break;case"end":a-=p}switch(o.vertical){case"":t.applyStyles({top:t.formatStyle(a,"%")});break;case"rl":t.applyStyles({left:t.formatStyle(a,"%")});break;case"lr":t.applyStyles({right:t.formatStyle(a,"%")})}s=["+y","-x","+x","-y"],i=new w(t)}var h=function(e,t){for(var i,o=new w(e),a=1,s=0;s<t.length;s++){for(;e.overlapsOppositeAxis(n,t[s])||e.within(n)&&e.overlapsAny(r);)e.move(t[s]);if(e.within(n))return e;var u=e.intersectPercentage(n);a>u&&(i=new w(e),a=u),e=new w(o)}return i||o}(i,s);t.move(h.toCSSCompatValues(n))}function x(){}b.prototype.applyStyles=function(e,t){for(var n in t=t||this.div,e)e.hasOwnProperty(n)&&(t.style[n]=e[n])},b.prototype.formatStyle=function(e,t){return 0===e?0:e+t},_.prototype=i(b.prototype),_.prototype.constructor=_,w.prototype.move=function(e,t){switch(t=void 0!==t?t:this.lineHeight,e){case"+x":this.left+=t,this.right+=t;break;case"-x":this.left-=t,this.right-=t;break;case"+y":this.top+=t,this.bottom+=t;break;case"-y":this.top-=t,this.bottom-=t}},w.prototype.overlaps=function(e){return this.left<e.right&&this.right>e.left&&this.top<e.bottom&&this.bottom>e.top},w.prototype.overlapsAny=function(e){for(var t=0;t<e.length;t++)if(this.overlaps(e[t]))return!0;return!1},w.prototype.within=function(e){return this.top>=e.top&&this.bottom<=e.bottom&&this.left>=e.left&&this.right<=e.right},w.prototype.overlapsOppositeAxis=function(e,t){switch(t){case"+x":return this.left<e.left;case"-x":return this.right>e.right;case"+y":return this.top<e.top;case"-y":return this.bottom>e.bottom}},w.prototype.intersectPercentage=function(e){return Math.max(0,Math.min(this.right,e.right)-Math.max(this.left,e.left))*Math.max(0,Math.min(this.bottom,e.bottom)-Math.max(this.top,e.top))/(this.height*this.width)},w.prototype.toCSSCompatValues=function(e){return{top:this.top-e.top,bottom:e.bottom-this.bottom,left:this.left-e.left,right:e.right-this.right,height:this.height,width:this.width}},w.getSimpleBoxPosition=function(e){var t=e.div?e.div.offsetHeight:e.tagName?e.offsetHeight:0,n=e.div?e.div.offsetWidth:e.tagName?e.offsetWidth:0,r=e.div?e.div.offsetTop:e.tagName?e.offsetTop:0;return{left:(e=e.div?e.div.getBoundingClientRect():e.tagName?e.getBoundingClientRect():e).left,right:e.right,top:e.top||r,height:e.height||t,bottom:e.bottom||r+(e.height||t),width:e.width||n}},x.StringDecoder=function(){return{decode:function(e){if(!e)return"";if("string"!=typeof e)throw new Error("Error - expected string data.");return decodeURIComponent(encodeURIComponent(e))}}},x.convertCueToDOMTree=function(e,t){return e&&t?g(e,t):null};x.processCues=function(e,t,n){if(!e||!t||!n)return null;for(;n.firstChild;)n.removeChild(n.firstChild);var r=e.document.createElement("div");if(r.style.position="absolute",r.style.left="0",r.style.right="0",r.style.top="0",r.style.bottom="0",r.style.margin="1.5%",n.appendChild(r),function(e){for(var t=0;t<e.length;t++)if(e[t].hasBeenReset||!e[t].displayState)return!0;return!1}(t)){var i=[],o=w.getSimpleBoxPosition(r),a={font:Math.round(.05*o.height*100)/100+"px sans-serif"};!function(){for(var n,s,u=0;u<t.length;u++)s=t[u],n=new _(e,s,a),r.appendChild(n.div),T(0,n,o,i),s.displayState=n.div,i.push(w.getSimpleBoxPosition(n))}()}else for(var s=0;s<t.length;s++)r.appendChild(t[s].displayState)},x.Parser=function(e,t,n){n||(n=t,t={}),t||(t={}),this.window=e,this.vttjs=t,this.state="INITIAL",this.buffer="",this.decoder=n||new TextDecoder("utf8"),this.regionList=[]},x.Parser.prototype={reportOrThrowError:function(e){if(!(e instanceof o))throw e;this.onparsingerror&&this.onparsingerror(e)},parse:function(e){var t=this;function n(){for(var e=t.buffer,n=0;n<e.length&&"\r"!==e[n]&&"\n"!==e[n];)++n;var r=e.substr(0,n);return"\r"===e[n]&&++n,"\n"===e[n]&&++n,t.buffer=e.substr(n),r}function r(e){e.match(/X-TIMESTAMP-MAP/)?u(e,(function(e,n){if("X-TIMESTAMP-MAP"===e)!function(e){var n=new s;u(e,(function(e,t){switch(e){case"MPEGT":n.integer(e+"S",t);break;case"LOCA":n.set(e+"L",a(t))}}),/[^\d]:/,/,/),t.ontimestampmap&&t.ontimestampmap({MPEGTS:n.get("MPEGTS"),LOCAL:n.get("LOCAL")})}(n)}),/=/):u(e,(function(e,n){if("Region"===e)!function(e){var n=new s;if(u(e,(function(e,t){switch(e){case"id":n.set(e,t);break;case"width":n.percent(e,t);break;case"lines":n.integer(e,t);break;case"regionanchor":case"viewportanchor":var r=t.split(",");if(2!==r.length)break;var i=new s;if(i.percent("x",r[0]),i.percent("y",r[1]),!i.has("x")||!i.has("y"))break;n.set(e+"X",i.get("x")),n.set(e+"Y",i.get("y"));break;case"scroll":n.alt(e,t,["up"])}}),/=/,/\s/),n.has("id")){var r=new(t.vttjs.VTTRegion||t.window.VTTRegion);r.width=n.get("width",100),r.lines=n.get("lines",3),r.regionAnchorX=n.get("regionanchorX",0),r.regionAnchorY=n.get("regionanchorY",100),r.viewportAnchorX=n.get("viewportanchorX",0),r.viewportAnchorY=n.get("viewportanchorY",100),r.scroll=n.get("scroll",""),t.onregion&&t.onregion(r),t.regionList.push({id:n.get("id"),region:r})}}(n)}),/:/)}e&&(t.buffer+=t.decoder.decode(e,{stream:!0}));try{var i;if("INITIAL"===t.state){if(!/\r\n|\n/.test(t.buffer))return this;var l=(i=n()).match(/^WEBVTT([ \t].*)?$/);if(!l||!l[0])throw new o(o.Errors.BadSignature);t.state="HEADER"}for(var f=!1;t.buffer;){if(!/\r\n|\n/.test(t.buffer))return this;switch(f?f=!1:i=n(),t.state){case"HEADER":/:/.test(i)?r(i):i||(t.state="ID");continue;case"NOTE":i||(t.state="ID");continue;case"ID":if(/^NOTE($|[ \t])/.test(i)){t.state="NOTE";break}if(!i)continue;t.cue=new(t.vttjs.VTTCue||t.window.VTTCue)(0,0,"");try{t.cue.align="center"}catch(e){t.cue.align="middle"}if(t.state="CUE",-1===i.indexOf("--\x3e")){t.cue.id=i;continue}case"CUE":try{c(i,t.cue,t.regionList)}catch(e){t.reportOrThrowError(e),t.cue=null,t.state="BADCUE";continue}t.state="CUETEXT";continue;case"CUETEXT":var d=-1!==i.indexOf("--\x3e");if(!i||d&&(f=!0)){t.oncue&&t.oncue(t.cue),t.cue=null,t.state="ID";continue}t.cue.text&&(t.cue.text+="\n"),t.cue.text+=i.replace(/\u2028/g,"\n").replace(/u2029/g,"\n");continue;case"BADCUE":i||(t.state="ID");continue}}}catch(e){t.reportOrThrowError(e),"CUETEXT"===t.state&&t.cue&&t.oncue&&t.oncue(t.cue),t.cue=null,t.state="INITIAL"===t.state?"BADWEBVTT":"BADCUE"}return this},flush:function(){var e=this;try{if(e.buffer+=e.decoder.decode(),(e.cue||"HEADER"===e.state)&&(e.buffer+="\n\n",e.parse()),"INITIAL"===e.state)throw new o(o.Errors.BadSignature)}catch(t){e.reportOrThrowError(t)}return e.onflush&&e.onflush(),this}},e.exports=x},22230:function(e){var t={"":1,lr:1,rl:1},n={start:1,center:1,end:1,left:1,right:1,auto:1,"line-left":1,"line-right":1};function r(e){return"string"==typeof e&&(!!n[e.toLowerCase()]&&e.toLowerCase())}function i(e,n,i){this.hasBeenReset=!1;var o="",a=!1,s=e,u=n,c=i,l=null,f="",d=!0,p="auto",h="start",g="auto",m="auto",y=100,v="center";Object.defineProperties(this,{id:{enumerable:!0,get:function(){return o},set:function(e){o=""+e}},pauseOnExit:{enumerable:!0,get:function(){return a},set:function(e){a=!!e}},startTime:{enumerable:!0,get:function(){return s},set:function(e){if("number"!=typeof e)throw new TypeError("Start time must be set to a number.");s=e,this.hasBeenReset=!0}},endTime:{enumerable:!0,get:function(){return u},set:function(e){if("number"!=typeof e)throw new TypeError("End time must be set to a number.");u=e,this.hasBeenReset=!0}},text:{enumerable:!0,get:function(){return c},set:function(e){c=""+e,this.hasBeenReset=!0}},region:{enumerable:!0,get:function(){return l},set:function(e){l=e,this.hasBeenReset=!0}},vertical:{enumerable:!0,get:function(){return f},set:function(e){var n=function(e){return"string"==typeof e&&!!t[e.toLowerCase()]&&e.toLowerCase()}(e);if(!1===n)throw new SyntaxError("Vertical: an invalid or illegal direction string was specified.");f=n,this.hasBeenReset=!0}},snapToLines:{enumerable:!0,get:function(){return d},set:function(e){d=!!e,this.hasBeenReset=!0}},line:{enumerable:!0,get:function(){return p},set:function(e){if("number"!=typeof e&&"auto"!==e)throw new SyntaxError("Line: an invalid number or illegal string was specified.");p=e,this.hasBeenReset=!0}},lineAlign:{enumerable:!0,get:function(){return h},set:function(e){var t=r(e);t?(h=t,this.hasBeenReset=!0):console.warn("lineAlign: an invalid or illegal string was specified.")}},position:{enumerable:!0,get:function(){return g},set:function(e){if(e<0||e>100)throw new Error("Position must be between 0 and 100.");g=e,this.hasBeenReset=!0}},positionAlign:{enumerable:!0,get:function(){return m},set:function(e){var t=r(e);t?(m=t,this.hasBeenReset=!0):console.warn("positionAlign: an invalid or illegal string was specified.")}},size:{enumerable:!0,get:function(){return y},set:function(e){if(e<0||e>100)throw new Error("Size must be between 0 and 100.");y=e,this.hasBeenReset=!0}},align:{enumerable:!0,get:function(){return v},set:function(e){var t=r(e);if(!t)throw new SyntaxError("align: an invalid or illegal alignment string was specified.");v=t,this.hasBeenReset=!0}}}),this.displayState=void 0}i.prototype.getCueAsHTML=function(){return WebVTT.convertCueToDOMTree(window,this.text)},e.exports=i},13710:function(e){var t={"":!0,up:!0};function n(e){return"number"==typeof e&&e>=0&&e<=100}e.exports=function(){var e=100,r=3,i=0,o=100,a=0,s=100,u="";Object.defineProperties(this,{width:{enumerable:!0,get:function(){return e},set:function(t){if(!n(t))throw new Error("Width must be between 0 and 100.");e=t}},lines:{enumerable:!0,get:function(){return r},set:function(e){if("number"!=typeof e)throw new TypeError("Lines must be set to a number.");r=e}},regionAnchorY:{enumerable:!0,get:function(){return o},set:function(e){if(!n(e))throw new Error("RegionAnchorX must be between 0 and 100.");o=e}},regionAnchorX:{enumerable:!0,get:function(){return i},set:function(e){if(!n(e))throw new Error("RegionAnchorY must be between 0 and 100.");i=e}},viewportAnchorY:{enumerable:!0,get:function(){return s},set:function(e){if(!n(e))throw new Error("ViewportAnchorY must be between 0 and 100.");s=e}},viewportAnchorX:{enumerable:!0,get:function(){return a},set:function(e){if(!n(e))throw new Error("ViewportAnchorX must be between 0 and 100.");a=e}},scroll:{enumerable:!0,get:function(){return u},set:function(e){var n=function(e){return"string"==typeof e&&!!t[e.toLowerCase()]&&e.toLowerCase()}(e);!1===n?console.warn("Scroll: an invalid or illegal string was specified."):u=n}}})}},30670:function(e){"use strict";e.exports=function(){}},75933:function(e,t,n){var r;!function(){function i(e,t,n){return e.call.apply(e.bind,arguments)}function o(e,t,n){if(!e)throw Error();if(2<arguments.length){var r=Array.prototype.slice.call(arguments,2);return function(){var n=Array.prototype.slice.call(arguments);return Array.prototype.unshift.apply(n,r),e.apply(t,n)}}return function(){return e.apply(t,arguments)}}function a(e,t,n){return(a=Function.prototype.bind&&-1!=Function.prototype.bind.toString().indexOf("native code")?i:o).apply(null,arguments)}var s=Date.now||function(){return+new Date};function u(e,t){this.a=e,this.o=t||e,this.c=this.o.document}var c=!!window.FontFace;function l(e,t,n,r){if(t=e.c.createElement(t),n)for(var i in n)n.hasOwnProperty(i)&&("style"==i?t.style.cssText=n[i]:t.setAttribute(i,n[i]));return r&&t.appendChild(e.c.createTextNode(r)),t}function f(e,t,n){(e=e.c.getElementsByTagName(t)[0])||(e=document.documentElement),e.insertBefore(n,e.lastChild)}function d(e){e.parentNode&&e.parentNode.removeChild(e)}function p(e,t,n){t=t||[],n=n||[];for(var r=e.className.split(/\s+/),i=0;i<t.length;i+=1){for(var o=!1,a=0;a<r.length;a+=1)if(t[i]===r[a]){o=!0;break}o||r.push(t[i])}for(t=[],i=0;i<r.length;i+=1){for(o=!1,a=0;a<n.length;a+=1)if(r[i]===n[a]){o=!0;break}o||t.push(r[i])}e.className=t.join(" ").replace(/\s+/g," ").replace(/^\s+|\s+$/,"")}function h(e,t){for(var n=e.className.split(/\s+/),r=0,i=n.length;r<i;r++)if(n[r]==t)return!0;return!1}function g(e,t,n){function r(){s&&i&&o&&(s(a),s=null)}t=l(e,"link",{rel:"stylesheet",href:t,media:"all"});var i=!1,o=!0,a=null,s=n||null;c?(t.onload=function(){i=!0,r()},t.onerror=function(){i=!0,a=Error("Stylesheet failed to load"),r()}):setTimeout((function(){i=!0,r()}),0),f(e,"head",t)}function m(e,t,n,r){var i=e.c.getElementsByTagName("head")[0];if(i){var o=l(e,"script",{src:t}),a=!1;return o.onload=o.onreadystatechange=function(){a||this.readyState&&"loaded"!=this.readyState&&"complete"!=this.readyState||(a=!0,n&&n(null),o.onload=o.onreadystatechange=null,"HEAD"==o.parentNode.tagName&&i.removeChild(o))},i.appendChild(o),setTimeout((function(){a||(a=!0,n&&n(Error("Script load timeout")))}),r||5e3),o}return null}function y(){this.a=0,this.c=null}function v(e){return e.a++,function(){e.a--,_(e)}}function b(e,t){e.c=t,_(e)}function _(e){0==e.a&&e.c&&(e.c(),e.c=null)}function w(e){this.a=e||"-"}function T(e,t){this.c=e,this.f=4,this.a="n";var n=(t||"n4").match(/^([nio])([1-9])$/i);n&&(this.a=n[1],this.f=parseInt(n[2],10))}function x(e){var t=[];e=e.split(/,\s*/);for(var n=0;n<e.length;n++){var r=e[n].replace(/['"]/g,"");-1!=r.indexOf(" ")||/^\d/.test(r)?t.push("'"+r+"'"):t.push(r)}return t.join(",")}function S(e){return e.a+e.f}function k(e){var t="normal";return"o"===e.a?t="oblique":"i"===e.a&&(t="italic"),t}function E(e){var t=4,n="n",r=null;return e&&((r=e.match(/(normal|oblique|italic)/i))&&r[1]&&(n=r[1].substr(0,1).toLowerCase()),(r=e.match(/([1-9]00|normal|bold)/i))&&r[1]&&(/bold/i.test(r[1])?t=7:/[1-9]00/.test(r[1])&&(t=parseInt(r[1].substr(0,1),10)))),n+t}function O(e,t){this.c=e,this.f=e.o.document.documentElement,this.h=t,this.a=new w("-"),this.j=!1!==t.events,this.g=!1!==t.classes}function C(e){if(e.g){var t=h(e.f,e.a.c("wf","active")),n=[],r=[e.a.c("wf","loading")];t||n.push(e.a.c("wf","inactive")),p(e.f,n,r)}L(e,"inactive")}function L(e,t,n){e.j&&e.h[t]&&(n?e.h[t](n.c,S(n)):e.h[t]())}function A(){this.c={}}function I(e,t){this.c=e,this.f=t,this.a=l(this.c,"span",{"aria-hidden":"true"},this.f)}function P(e){f(e.c,"body",e.a)}function M(e){return"display:block;position:absolute;top:-9999px;left:-9999px;font-size:300px;width:auto;height:auto;line-height:normal;margin:0;padding:0;font-variant:normal;white-space:nowrap;font-family:"+x(e.c)+";font-style:"+k(e)+";font-weight:"+e.f+"00;"}function R(e,t,n,r,i,o){this.g=e,this.j=t,this.a=r,this.c=n,this.f=i||3e3,this.h=o||void 0}function j(e,t,n,r,i,o,a){this.v=e,this.B=t,this.c=n,this.a=r,this.s=a||"BESbswy",this.f={},this.w=i||3e3,this.u=o||null,this.m=this.j=this.h=this.g=null,this.g=new I(this.c,this.s),this.h=new I(this.c,this.s),this.j=new I(this.c,this.s),this.m=new I(this.c,this.s),e=M(e=new T(this.a.c+",serif",S(this.a))),this.g.a.style.cssText=e,e=M(e=new T(this.a.c+",sans-serif",S(this.a))),this.h.a.style.cssText=e,e=M(e=new T("serif",S(this.a))),this.j.a.style.cssText=e,e=M(e=new T("sans-serif",S(this.a))),this.m.a.style.cssText=e,P(this.g),P(this.h),P(this.j),P(this.m)}w.prototype.c=function(e){for(var t=[],n=0;n<arguments.length;n++)t.push(arguments[n].replace(/[\W_]+/g,"").toLowerCase());return t.join(this.a)},R.prototype.start=function(){var e=this.c.o.document,t=this,n=s(),r=new Promise((function(r,i){!function o(){s()-n>=t.f?i():e.fonts.load(function(e){return k(e)+" "+e.f+"00 300px "+x(e.c)}(t.a),t.h).then((function(e){1<=e.length?r():setTimeout(o,25)}),(function(){i()}))}()})),i=null,o=new Promise((function(e,n){i=setTimeout(n,t.f)}));Promise.race([o,r]).then((function(){i&&(clearTimeout(i),i=null),t.g(t.a)}),(function(){t.j(t.a)}))};var D={D:"serif",C:"sans-serif"},N=null;function B(){if(null===N){var e=/AppleWebKit\/([0-9]+)(?:\.([0-9]+))/.exec(window.navigator.userAgent);N=!!e&&(536>parseInt(e[1],10)||536===parseInt(e[1],10)&&11>=parseInt(e[2],10))}return N}function U(e,t,n){for(var r in D)if(D.hasOwnProperty(r)&&t===e.f[D[r]]&&n===e.f[D[r]])return!0;return!1}function F(e){var t,n=e.g.a.offsetWidth,r=e.h.a.offsetWidth;(t=n===e.f.serif&&r===e.f["sans-serif"])||(t=B()&&U(e,n,r)),t?s()-e.A>=e.w?B()&&U(e,n,r)&&(null===e.u||e.u.hasOwnProperty(e.a.c))?z(e,e.v):z(e,e.B):function(e){setTimeout(a((function(){F(this)}),e),50)}(e):z(e,e.v)}function z(e,t){setTimeout(a((function(){d(this.g.a),d(this.h.a),d(this.j.a),d(this.m.a),t(this.a)}),e),0)}function H(e,t,n){this.c=e,this.a=t,this.f=0,this.m=this.j=!1,this.s=n}j.prototype.start=function(){this.f.serif=this.j.a.offsetWidth,this.f["sans-serif"]=this.m.a.offsetWidth,this.A=s(),F(this)};var Z=null;function q(e){0==--e.f&&e.j&&(e.m?((e=e.a).g&&p(e.f,[e.a.c("wf","active")],[e.a.c("wf","loading"),e.a.c("wf","inactive")]),L(e,"active")):C(e.a))}function V(e){this.j=e,this.a=new A,this.h=0,this.f=this.g=!0}function W(e,t,n,r,i){var o=0==--e.h;(e.f||e.g)&&setTimeout((function(){var e=i||null,s=r||{};if(0===n.length&&o)C(t.a);else{t.f+=n.length,o&&(t.j=o);var u,c=[];for(u=0;u<n.length;u++){var l=n[u],f=s[l.c],d=t.a,h=l;if(d.g&&p(d.f,[d.a.c("wf",h.c,S(h).toString(),"loading")]),L(d,"fontloading",h),d=null,null===Z)if(window.FontFace){h=/Gecko.*Firefox\/(\d+)/.exec(window.navigator.userAgent);var g=/OS X.*Version\/10\..*Safari/.exec(window.navigator.userAgent)&&/Apple/.exec(window.navigator.vendor);Z=h?42<parseInt(h[1],10):!g}else Z=!1;d=Z?new R(a(t.g,t),a(t.h,t),t.c,l,t.s,f):new j(a(t.g,t),a(t.h,t),t.c,l,t.s,e,f),c.push(d)}for(u=0;u<c.length;u++)c[u].start()}}),0)}function G(e,t){this.c=e,this.a=t}function $(e,t){this.c=e,this.a=t}function Y(e,t){this.c=e||K,this.a=[],this.f=[],this.g=t||""}H.prototype.g=function(e){var t=this.a;t.g&&p(t.f,[t.a.c("wf",e.c,S(e).toString(),"active")],[t.a.c("wf",e.c,S(e).toString(),"loading"),t.a.c("wf",e.c,S(e).toString(),"inactive")]),L(t,"fontactive",e),this.m=!0,q(this)},H.prototype.h=function(e){var t=this.a;if(t.g){var n=h(t.f,t.a.c("wf",e.c,S(e).toString(),"active")),r=[],i=[t.a.c("wf",e.c,S(e).toString(),"loading")];n||r.push(t.a.c("wf",e.c,S(e).toString(),"inactive")),p(t.f,r,i)}L(t,"fontinactive",e),q(this)},V.prototype.load=function(e){this.c=new u(this.j,e.context||this.j),this.g=!1!==e.events,this.f=!1!==e.classes,function(e,t,n){var r=[],i=n.timeout;!function(e){e.g&&p(e.f,[e.a.c("wf","loading")]),L(e,"loading")}(t);r=function(e,t,n){var r,i=[];for(r in t)if(t.hasOwnProperty(r)){var o=e.c[r];o&&i.push(o(t[r],n))}return i}(e.a,n,e.c);var o=new H(e.c,t,i);for(e.h=r.length,t=0,n=r.length;t<n;t++)r[t].load((function(t,n,r){W(e,o,t,n,r)}))}(this,new O(this.c,e),e)},G.prototype.load=function(e){function t(){if(o["__mti_fntLst"+r]){var n,i=o["__mti_fntLst"+r](),a=[];if(i)for(var s=0;s<i.length;s++){var u=i[s].fontfamily;null!=i[s].fontStyle&&null!=i[s].fontWeight?(n=i[s].fontStyle+i[s].fontWeight,a.push(new T(u,n))):a.push(new T(u))}e(a)}else setTimeout((function(){t()}),50)}var n=this,r=n.a.projectId,i=n.a.version;if(r){var o=n.c.o;m(this.c,(n.a.api||"https://fast.fonts.net/jsapi")+"/"+r+".js"+(i?"?v="+i:""),(function(i){i?e([]):(o["__MonotypeConfiguration__"+r]=function(){return n.a},t())})).id="__MonotypeAPIScript__"+r}else e([])},$.prototype.load=function(e){var t,n,r=this.a.urls||[],i=this.a.families||[],o=this.a.testStrings||{},a=new y;for(t=0,n=r.length;t<n;t++)g(this.c,r[t],v(a));var s=[];for(t=0,n=i.length;t<n;t++)if((r=i[t].split(":"))[1])for(var u=r[1].split(","),c=0;c<u.length;c+=1)s.push(new T(r[0],u[c]));else s.push(new T(r[0]));b(a,(function(){e(s,o)}))};var K="https://fonts.googleapis.com/css";function X(e){this.f=e,this.a=[],this.c={}}var Q={latin:"BESbswy","latin-ext":"çöüğş",cyrillic:"йяЖ",greek:"αβΣ",khmer:"កខគ",Hanuman:"កខគ"},J={thin:"1",extralight:"2","extra-light":"2",ultralight:"2","ultra-light":"2",light:"3",regular:"4",book:"4",medium:"5","semi-bold":"6",semibold:"6","demi-bold":"6",demibold:"6",bold:"7","extra-bold":"8",extrabold:"8","ultra-bold":"8",ultrabold:"8",black:"9",heavy:"9",l:"3",r:"4",b:"7"},ee={i:"i",italic:"i",n:"n",normal:"n"},te=/^(thin|(?:(?:extra|ultra)-?)?light|regular|book|medium|(?:(?:semi|demi|extra|ultra)-?)?bold|black|heavy|l|r|b|[1-9]00)?(n|i|normal|italic)?$/;function ne(e,t){this.c=e,this.a=t}var re={Arimo:!0,Cousine:!0,Tinos:!0};function ie(e,t){this.c=e,this.a=t}function oe(e,t){this.c=e,this.f=t,this.a=[]}ne.prototype.load=function(e){var t=new y,n=this.c,r=new Y(this.a.api,this.a.text),i=this.a.families;!function(e,t){for(var n=t.length,r=0;r<n;r++){var i=t[r].split(":");3==i.length&&e.f.push(i.pop());var o="";2==i.length&&""!=i[1]&&(o=":"),e.a.push(i.join(o))}}(r,i);var o=new X(i);!function(e){for(var t=e.f.length,n=0;n<t;n++){var r=e.f[n].split(":"),i=r[0].replace(/\+/g," "),o=["n4"];if(2<=r.length){var a;if(a=[],s=r[1])for(var s,u=(s=s.split(",")).length,c=0;c<u;c++){var l;if((l=s[c]).match(/^[\w-]+$/))if(null==(f=te.exec(l.toLowerCase())))l="";else{if(l=null==(l=f[2])||""==l?"n":ee[l],null==(f=f[1])||""==f)f="4";else var f=J[f]||(isNaN(f)?"4":f.substr(0,1));l=[l,f].join("")}else l="";l&&a.push(l)}0<a.length&&(o=a),3==r.length&&(a=[],0<(r=(r=r[2])?r.split(","):a).length&&(r=Q[r[0]])&&(e.c[i]=r))}for(e.c[i]||(r=Q[i])&&(e.c[i]=r),r=0;r<o.length;r+=1)e.a.push(new T(i,o[r]))}}(o),g(n,function(e){if(0==e.a.length)throw Error("No fonts to load!");if(-1!=e.c.indexOf("kit="))return e.c;for(var t=e.a.length,n=[],r=0;r<t;r++)n.push(e.a[r].replace(/ /g,"+"));return t=e.c+"?family="+n.join("%7C"),0<e.f.length&&(t+="&subset="+e.f.join(",")),0<e.g.length&&(t+="&text="+encodeURIComponent(e.g)),t}(r),v(t)),b(t,(function(){e(o.a,o.c,re)}))},ie.prototype.load=function(e){var t=this.a.id,n=this.c.o;t?m(this.c,(this.a.api||"https://use.typekit.net")+"/"+t+".js",(function(t){if(t)e([]);else if(n.Typekit&&n.Typekit.config&&n.Typekit.config.fn){t=n.Typekit.config.fn;for(var r=[],i=0;i<t.length;i+=2)for(var o=t[i],a=t[i+1],s=0;s<a.length;s++)r.push(new T(o,a[s]));try{n.Typekit.load({events:!1,classes:!1,async:!0})}catch(e){}e(r)}}),2e3):e([])},oe.prototype.load=function(e){var t=this.f.id,n=this.c.o,r=this;t?(n.__webfontfontdeckmodule__||(n.__webfontfontdeckmodule__={}),n.__webfontfontdeckmodule__[t]=function(t,n){for(var i=0,o=n.fonts.length;i<o;++i){var a=n.fonts[i];r.a.push(new T(a.name,E("font-weight:"+a.weight+";font-style:"+a.style)))}e(r.a)},m(this.c,(this.f.api||"https://f.fontdeck.com/s/css/js/")+function(e){return e.o.location.hostname||e.a.location.hostname}(this.c)+"/"+t+".js",(function(t){t&&e([])}))):e([])};var ae=new V(window);ae.a.c.custom=function(e,t){return new $(t,e)},ae.a.c.fontdeck=function(e,t){return new oe(t,e)},ae.a.c.monotype=function(e,t){return new G(t,e)},ae.a.c.typekit=function(e,t){return new ie(t,e)},ae.a.c.google=function(e,t){return new ne(t,e)};var se={load:a(ae.load,ae)};void 0===(r=function(){return se}.call(t,n,t,e))||(e.exports=r)}()},47529:function(e){e.exports=function(){for(var e={},n=0;n<arguments.length;n++){var r=arguments[n];for(var i in r)t.call(r,i)&&(e[i]=r[i])}return e};var t=Object.prototype.hasOwnProperty},10349:function(e,t,n){e.exports=n(51714)},98235:function(e,t,n){e.exports=n(25122)},19389:function(e,t,n){e.exports=n(78458)},92381:function(e,t,n){e.exports=n(34153)},48216:function(e,t,n){e.exports=n(65600)},8571:function(e,t,n){e.exports=n(28266)},61539:function(e,t,n){e.exports=n(44399)},40703:function(e,t,n){e.exports=n(39367)},18033:function(e,t,n){e.exports=n(22005)},73324:function(e,t,n){e.exports=n(34748)},13464:function(e,t,n){e.exports=n(83696)},86981:function(e,t,n){e.exports=n(76516)},99595:function(e,t,n){e.exports=n(56368)},91829:function(e,t,n){e.exports=n(93739)},51791:function(e,t,n){e.exports=n(89151)},29898:function(e,t,n){e.exports=n(17654)},88946:function(e,t,n){e.exports=n(57762)},7488:function(e,t,n){e.exports=n(81004)},86526:function(e,t,n){e.exports=n(13885)},35704:function(e,t,n){e.exports=n(89329)},76555:function(e,t,n){e.exports=n(38755)},45181:function(e,t,n){e.exports=n(55781)},84705:function(e,t,n){e.exports=n(53185)},89221:function(e,t,n){e.exports=n(88235)},58218:function(e,t,n){e.exports=n(59829)},54847:function(e,t,n){e.exports=n(65560)},59898:function(e,t,n){e.exports=n(41047)},31634:function(e,t,n){e.exports=n(40911)},14051:function(e,t,n){e.exports=n(85655)},60312:function(e,t,n){e.exports=n(23482)},35293:function(e,t,n){e.exports=n(87034)},73672:function(e,t,n){e.exports=n(83734)},67552:function(e,t,n){e.exports=n(20711)},3841:function(e,t,n){e.exports=n(86488)},57445:function(e,t,n){e.exports=n(8827)},39290:function(e,t,n){e.exports=n(56581)},88546:function(e,t,n){e.exports=n(41633)},66775:function(e,t,n){e.exports=n(20344)},52020:function(e,t,n){e.exports=n(48909)},39272:function(e,t,n){e.exports=n(6258)},42692:function(e,t,n){e.exports=n(57602)},62079:function(e,t,n){e.exports=n(11024)},92984:function(e,t,n){e.exports=n(44705)},31082:function(e,t,n){e.exports=n(12232)},35820:function(e,t,n){e.exports=n(44565)},3563:function(e,t,n){e.exports=n(73637)},24835:function(e,t,n){e.exports=n(80407)},25926:function(e,t,n){e.exports=n(19502)},23513:function(e,t,n){e.exports=n(63969)},52472:function(e,t,n){e.exports=n(21085)},48994:function(e,t,n){e.exports=n(21277)},40024:function(e,t,n){e.exports=n(90007)},57170:function(e,t,n){e.exports=n(34976)},81290:function(e,t,n){e.exports=n(41680)},98186:function(e,t,n){e.exports=n(95214)},5177:function(e,t,n){var r=n(20474).default,i=n(57445),o=n(52472),a=n(3841),s=n(39272),u=n(99595),c=n(92984),l=n(35820),f=n(86526),d=n(35704);function p(){"use strict";e.exports=p=function(){return t},e.exports.__esModule=!0,e.exports.default=e.exports;var t={},n=Object.prototype,h=n.hasOwnProperty,g=i||function(e,t,n){e[t]=n.value},m="function"==typeof o?o:{},y=m.iterator||"@@iterator",v=m.asyncIterator||"@@asyncIterator",b=m.toStringTag||"@@toStringTag";function _(e,t,n){return i(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{_({},"")}catch(e){_=function(e,t,n){return e[t]=n}}function w(e,t,n,r){var i=t&&t.prototype instanceof S?t:S,o=a(i.prototype),s=new D(r||[]);return g(o,"_invoke",{value:P(e,n,s)}),o}function T(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}t.wrap=w;var x={};function S(){}function k(){}function E(){}var O={};_(O,y,(function(){return this}));var C=s&&s(s(N([])));C&&C!==n&&h.call(C,y)&&(O=C);var L=E.prototype=S.prototype=a(O);function A(e){var t;u(t=["next","throw","return"]).call(t,(function(t){_(e,t,(function(e){return this._invoke(t,e)}))}))}function I(e,t){function n(i,o,a,s){var u=T(e[i],e,o);if("throw"!==u.type){var c=u.arg,l=c.value;return l&&"object"==r(l)&&h.call(l,"__await")?t.resolve(l.__await).then((function(e){n("next",e,a,s)}),(function(e){n("throw",e,a,s)})):t.resolve(l).then((function(e){c.value=e,a(c)}),(function(e){return n("throw",e,a,s)}))}s(u.arg)}var i;g(this,"_invoke",{value:function(e,r){function o(){return new t((function(t,i){n(e,r,t,i)}))}return i=i?i.then(o,o):o()}})}function P(e,t,n){var r="suspendedStart";return function(i,o){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===i)throw o;return B()}for(n.method=i,n.arg=o;;){var a=n.delegate;if(a){var s=M(a,n);if(s){if(s===x)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var u=T(e,t,n);if("normal"===u.type){if(r=n.done?"completed":"suspendedYield",u.arg===x)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(r="completed",n.method="throw",n.arg=u.arg)}}}function M(e,t){var n=t.method,r=e.iterator[n];if(void 0===r)return t.delegate=null,"throw"===n&&e.iterator.return&&(t.method="return",t.arg=void 0,M(e,t),"throw"===t.method)||"return"!==n&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+n+"' method")),x;var i=T(r,e.iterator,t.arg);if("throw"===i.type)return t.method="throw",t.arg=i.arg,t.delegate=null,x;var o=i.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,x):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,x)}function R(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function j(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function D(e){this.tryEntries=[{tryLoc:"root"}],u(e).call(e,R,this),this.reset(!0)}function N(e){if(e){var t=e[y];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,r=function t(){for(;++n<e.length;)if(h.call(e,n))return t.value=e[n],t.done=!1,t;return t.value=void 0,t.done=!0,t};return r.next=r}}return{next:B}}function B(){return{value:void 0,done:!0}}return k.prototype=E,g(L,"constructor",{value:E,configurable:!0}),g(E,"constructor",{value:k,configurable:!0}),k.displayName=_(E,b,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===k||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return c?c(e,E):(e.__proto__=E,_(e,b,"GeneratorFunction")),e.prototype=a(L),e},t.awrap=function(e){return{__await:e}},A(I.prototype),_(I.prototype,v,(function(){return this})),t.AsyncIterator=I,t.async=function(e,n,r,i,o){void 0===o&&(o=l);var a=new I(w(e,n,r,i),o);return t.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},A(L),_(L,b,"Generator"),_(L,y,(function(){return this})),_(L,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return f(n).call(n),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},t.values=N,D.prototype={constructor:D,reset:function(e){var t;if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,u(t=this.tryEntries).call(t,j),!e)for(var n in this)"t"===n.charAt(0)&&h.call(this,n)&&!isNaN(+d(n).call(n,1))&&(this[n]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function n(n,r){return o.type="throw",o.arg=e,t.next=n,r&&(t.method="next",t.arg=void 0),!!r}for(var r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r],o=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var a=h.call(i,"catchLoc"),s=h.call(i,"finallyLoc");if(a&&s){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(a){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&h.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var i=r;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var o=i?i.completion:{};return o.type=e,o.arg=t,i?(this.method="next",this.next=i.finallyLoc,x):this.complete(o)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),x},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),j(n),x}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var i=r.arg;j(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:N(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),x}},t}e.exports=p,e.exports.__esModule=!0,e.exports.default=e.exports},20474:function(e,t,n){var r=n(52472),i=n(48994);function o(t){return e.exports=o="function"==typeof r&&"symbol"==typeof i?function(e){return typeof e}:function(e){return e&&"function"==typeof r&&e.constructor===r&&e!==r.prototype?"symbol":typeof e},e.exports.__esModule=!0,e.exports.default=e.exports,o(t)}e.exports=o,e.exports.__esModule=!0,e.exports.default=e.exports},30222:function(e,t,n){var r=n(5177)();e.exports=r;try{regeneratorRuntime=r}catch(e){"object"==typeof globalThis?globalThis.regeneratorRuntime=r:Function("r","regeneratorRuntime = r")(r)}},10434:function(e){function t(){return e.exports=t=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},e.exports.__esModule=!0,e.exports.default=e.exports,t.apply(this,arguments)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},97218:function(e,t,n){"use strict";function r(e,t){return function(){return e.apply(t,arguments)}}const{toString:i}=Object.prototype,{getPrototypeOf:o}=Object,a=(s=Object.create(null),e=>{const t=i.call(e);return s[t]||(s[t]=t.slice(8,-1).toLowerCase())});var s;const u=e=>(e=e.toLowerCase(),t=>a(t)===e),c=e=>t=>typeof t===e,{isArray:l}=Array,f=c("undefined");const d=u("ArrayBuffer");const p=c("string"),h=c("function"),g=c("number"),m=e=>null!==e&&"object"==typeof e,y=e=>{if("object"!==a(e))return!1;const t=o(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||Symbol.toStringTag in e||Symbol.iterator in e)},v=u("Date"),b=u("File"),_=u("Blob"),w=u("FileList"),T=u("URLSearchParams");function x(e,t,{allOwnKeys:n=!1}={}){if(null==e)return;let r,i;if("object"!=typeof e&&(e=[e]),l(e))for(r=0,i=e.length;r<i;r++)t.call(null,e[r],r,e);else{const i=n?Object.getOwnPropertyNames(e):Object.keys(e),o=i.length;let a;for(r=0;r<o;r++)a=i[r],t.call(null,e[a],a,e)}}function S(e,t){t=t.toLowerCase();const n=Object.keys(e);let r,i=n.length;for(;i-- >0;)if(r=n[i],t===r.toLowerCase())return r;return null}const k="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:n.g,E=e=>!f(e)&&e!==k;const O=(C="undefined"!=typeof Uint8Array&&o(Uint8Array),e=>C&&e instanceof C);var C;const L=u("HTMLFormElement"),A=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),I=u("RegExp"),P=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};x(n,((n,i)=>{let o;!1!==(o=t(n,i,e))&&(r[i]=o||n)})),Object.defineProperties(e,r)},M="abcdefghijklmnopqrstuvwxyz",R="0123456789",j={DIGIT:R,ALPHA:M,ALPHA_DIGIT:M+M.toUpperCase()+R};const D=u("AsyncFunction");var N={isArray:l,isArrayBuffer:d,isBuffer:function(e){return null!==e&&!f(e)&&null!==e.constructor&&!f(e.constructor)&&h(e.constructor.isBuffer)&&e.constructor.isBuffer(e)},isFormData:e=>{let t;return e&&("function"==typeof FormData&&e instanceof FormData||h(e.append)&&("formdata"===(t=a(e))||"object"===t&&h(e.toString)&&"[object FormData]"===e.toString()))},isArrayBufferView:function(e){let t;return t="undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&d(e.buffer),t},isString:p,isNumber:g,isBoolean:e=>!0===e||!1===e,isObject:m,isPlainObject:y,isUndefined:f,isDate:v,isFile:b,isBlob:_,isRegExp:I,isFunction:h,isStream:e=>m(e)&&h(e.pipe),isURLSearchParams:T,isTypedArray:O,isFileList:w,forEach:x,merge:function e(){const{caseless:t}=E(this)&&this||{},n={},r=(r,i)=>{const o=t&&S(n,i)||i;y(n[o])&&y(r)?n[o]=e(n[o],r):y(r)?n[o]=e({},r):l(r)?n[o]=r.slice():n[o]=r};for(let e=0,t=arguments.length;e<t;e++)arguments[e]&&x(arguments[e],r);return n},extend:(e,t,n,{allOwnKeys:i}={})=>(x(t,((t,i)=>{n&&h(t)?e[i]=r(t,n):e[i]=t}),{allOwnKeys:i}),e),trim:e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),stripBOM:e=>(65279===e.charCodeAt(0)&&(e=e.slice(1)),e),inherits:(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},toFlatObject:(e,t,n,r)=>{let i,a,s;const u={};if(t=t||{},null==e)return t;do{for(i=Object.getOwnPropertyNames(e),a=i.length;a-- >0;)s=i[a],r&&!r(s,e,t)||u[s]||(t[s]=e[s],u[s]=!0);e=!1!==n&&o(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},kindOf:a,kindOfTest:u,endsWith:(e,t,n)=>{e=String(e),(void 0===n||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return-1!==r&&r===n},toArray:e=>{if(!e)return null;if(l(e))return e;let t=e.length;if(!g(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},forEachEntry:(e,t)=>{const n=(e&&e[Symbol.iterator]).call(e);let r;for(;(r=n.next())&&!r.done;){const n=r.value;t.call(e,n[0],n[1])}},matchAll:(e,t)=>{let n;const r=[];for(;null!==(n=e.exec(t));)r.push(n);return r},isHTMLForm:L,hasOwnProperty:A,hasOwnProp:A,reduceDescriptors:P,freezeMethods:e=>{P(e,((t,n)=>{if(h(e)&&-1!==["arguments","caller","callee"].indexOf(n))return!1;const r=e[n];h(r)&&(t.enumerable=!1,"writable"in t?t.writable=!1:t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")}))}))},toObjectSet:(e,t)=>{const n={},r=e=>{e.forEach((e=>{n[e]=!0}))};return l(e)?r(e):r(String(e).split(t)),n},toCamelCase:e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,(function(e,t,n){return t.toUpperCase()+n})),noop:()=>{},toFiniteNumber:(e,t)=>(e=+e,Number.isFinite(e)?e:t),findKey:S,global:k,isContextDefined:E,ALPHABET:j,generateString:(e=16,t=j.ALPHA_DIGIT)=>{let n="";const{length:r}=t;for(;e--;)n+=t[Math.random()*r|0];return n},isSpecCompliantForm:function(e){return!!(e&&h(e.append)&&"FormData"===e[Symbol.toStringTag]&&e[Symbol.iterator])},toJSONObject:e=>{const t=new Array(10),n=(e,r)=>{if(m(e)){if(t.indexOf(e)>=0)return;if(!("toJSON"in e)){t[r]=e;const i=l(e)?[]:{};return x(e,((e,t)=>{const o=n(e,r+1);!f(o)&&(i[t]=o)})),t[r]=void 0,i}}return e};return n(e,0)},isAsyncFn:D,isThenable:e=>e&&(m(e)||h(e))&&h(e.then)&&h(e.catch)};function B(e,t,n,r,i){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),i&&(this.response=i)}N.inherits(B,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:N.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const U=B.prototype,F={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach((e=>{F[e]={value:e}})),Object.defineProperties(B,F),Object.defineProperty(U,"isAxiosError",{value:!0}),B.from=(e,t,n,r,i,o)=>{const a=Object.create(U);return N.toFlatObject(e,a,(function(e){return e!==Error.prototype}),(e=>"isAxiosError"!==e)),B.call(a,e.message,t,n,r,i),a.cause=e,a.name=e.name,o&&Object.assign(a,o),a};function z(e){return N.isPlainObject(e)||N.isArray(e)}function H(e){return N.endsWith(e,"[]")?e.slice(0,-2):e}function Z(e,t,n){return e?e.concat(t).map((function(e,t){return e=H(e),!n&&t?"["+e+"]":e})).join(n?".":""):t}const q=N.toFlatObject(N,{},null,(function(e){return/^is[A-Z]/.test(e)}));function V(e,t,n){if(!N.isObject(e))throw new TypeError("target must be an object");t=t||new FormData;const r=(n=N.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,(function(e,t){return!N.isUndefined(t[e])}))).metaTokens,i=n.visitor||c,o=n.dots,a=n.indexes,s=(n.Blob||"undefined"!=typeof Blob&&Blob)&&N.isSpecCompliantForm(t);if(!N.isFunction(i))throw new TypeError("visitor must be a function");function u(e){if(null===e)return"";if(N.isDate(e))return e.toISOString();if(!s&&N.isBlob(e))throw new B("Blob is not supported. Use a Buffer instead.");return N.isArrayBuffer(e)||N.isTypedArray(e)?s&&"function"==typeof Blob?new Blob([e]):Buffer.from(e):e}function c(e,n,i){let s=e;if(e&&!i&&"object"==typeof e)if(N.endsWith(n,"{}"))n=r?n:n.slice(0,-2),e=JSON.stringify(e);else if(N.isArray(e)&&function(e){return N.isArray(e)&&!e.some(z)}(e)||(N.isFileList(e)||N.endsWith(n,"[]"))&&(s=N.toArray(e)))return n=H(n),s.forEach((function(e,r){!N.isUndefined(e)&&null!==e&&t.append(!0===a?Z([n],r,o):null===a?n:n+"[]",u(e))})),!1;return!!z(e)||(t.append(Z(i,n,o),u(e)),!1)}const l=[],f=Object.assign(q,{defaultVisitor:c,convertValue:u,isVisitable:z});if(!N.isObject(e))throw new TypeError("data must be an object");return function e(n,r){if(!N.isUndefined(n)){if(-1!==l.indexOf(n))throw Error("Circular reference detected in "+r.join("."));l.push(n),N.forEach(n,(function(n,o){!0===(!(N.isUndefined(n)||null===n)&&i.call(t,n,N.isString(o)?o.trim():o,r,f))&&e(n,r?r.concat(o):[o])})),l.pop()}}(e),t}function W(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,(function(e){return t[e]}))}function G(e,t){this._pairs=[],e&&V(e,this,t)}const $=G.prototype;function Y(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function K(e,t,n){if(!t)return e;const r=n&&n.encode||Y,i=n&&n.serialize;let o;if(o=i?i(t,n):N.isURLSearchParams(t)?t.toString():new G(t,n).toString(r),o){const t=e.indexOf("#");-1!==t&&(e=e.slice(0,t)),e+=(-1===e.indexOf("?")?"?":"&")+o}return e}$.append=function(e,t){this._pairs.push([e,t])},$.toString=function(e){const t=e?function(t){return e.call(this,t,W)}:W;return this._pairs.map((function(e){return t(e[0])+"="+t(e[1])}),"").join("&")};var X=class{constructor(){this.handlers=[]}use(e,t,n){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){N.forEach(this.handlers,(function(t){null!==t&&e(t)}))}},Q={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},J={isBrowser:!0,classes:{URLSearchParams:"undefined"!=typeof URLSearchParams?URLSearchParams:G,FormData:"undefined"!=typeof FormData?FormData:null,Blob:"undefined"!=typeof Blob?Blob:null},protocols:["http","https","file","blob","url","data"]};const ee="undefined"!=typeof window&&"undefined"!=typeof document,te=(ne="undefined"!=typeof navigator&&navigator.product,ee&&["ReactNative","NativeScript","NS"].indexOf(ne)<0);var ne;const re="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts;var ie={...Object.freeze({__proto__:null,hasBrowserEnv:ee,hasStandardBrowserWebWorkerEnv:re,hasStandardBrowserEnv:te}),...J};function oe(e){function t(e,n,r,i){let o=e[i++];if("__proto__"===o)return!0;const a=Number.isFinite(+o),s=i>=e.length;if(o=!o&&N.isArray(r)?r.length:o,s)return N.hasOwnProp(r,o)?r[o]=[r[o],n]:r[o]=n,!a;r[o]&&N.isObject(r[o])||(r[o]=[]);return t(e,n,r[o],i)&&N.isArray(r[o])&&(r[o]=function(e){const t={},n=Object.keys(e);let r;const i=n.length;let o;for(r=0;r<i;r++)o=n[r],t[o]=e[o];return t}(r[o])),!a}if(N.isFormData(e)&&N.isFunction(e.entries)){const n={};return N.forEachEntry(e,((e,r)=>{t(function(e){return N.matchAll(/\w+|\[(\w*)]/g,e).map((e=>"[]"===e[0]?"":e[1]||e[0]))}(e),r,n,0)})),n}return null}const ae={transitional:Q,adapter:["xhr","http"],transformRequest:[function(e,t){const n=t.getContentType()||"",r=n.indexOf("application/json")>-1,i=N.isObject(e);i&&N.isHTMLForm(e)&&(e=new FormData(e));if(N.isFormData(e))return r?JSON.stringify(oe(e)):e;if(N.isArrayBuffer(e)||N.isBuffer(e)||N.isStream(e)||N.isFile(e)||N.isBlob(e))return e;if(N.isArrayBufferView(e))return e.buffer;if(N.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let o;if(i){if(n.indexOf("application/x-www-form-urlencoded")>-1)return function(e,t){return V(e,new ie.classes.URLSearchParams,Object.assign({visitor:function(e,t,n,r){return ie.isNode&&N.isBuffer(e)?(this.append(t,e.toString("base64")),!1):r.defaultVisitor.apply(this,arguments)}},t))}(e,this.formSerializer).toString();if((o=N.isFileList(e))||n.indexOf("multipart/form-data")>-1){const t=this.env&&this.env.FormData;return V(o?{"files[]":e}:e,t&&new t,this.formSerializer)}}return i||r?(t.setContentType("application/json",!1),function(e,t,n){if(N.isString(e))try{return(t||JSON.parse)(e),N.trim(e)}catch(e){if("SyntaxError"!==e.name)throw e}return(n||JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){const t=this.transitional||ae.transitional,n=t&&t.forcedJSONParsing,r="json"===this.responseType;if(e&&N.isString(e)&&(n&&!this.responseType||r)){const n=!(t&&t.silentJSONParsing)&&r;try{return JSON.parse(e)}catch(e){if(n){if("SyntaxError"===e.name)throw B.from(e,B.ERR_BAD_RESPONSE,this,null,this.response);throw e}}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:ie.classes.FormData,Blob:ie.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};N.forEach(["delete","get","head","post","put","patch"],(e=>{ae.headers[e]={}}));var se=ae;const ue=N.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]);const ce=Symbol("internals");function le(e){return e&&String(e).trim().toLowerCase()}function fe(e){return!1===e||null==e?e:N.isArray(e)?e.map(fe):String(e)}function de(e,t,n,r,i){return N.isFunction(r)?r.call(this,t,n):(i&&(t=n),N.isString(t)?N.isString(r)?-1!==t.indexOf(r):N.isRegExp(r)?r.test(t):void 0:void 0)}class pe{constructor(e){e&&this.set(e)}set(e,t,n){const r=this;function i(e,t,n){const i=le(t);if(!i)throw new Error("header name must be a non-empty string");const o=N.findKey(r,i);(!o||void 0===r[o]||!0===n||void 0===n&&!1!==r[o])&&(r[o||t]=fe(e))}const o=(e,t)=>N.forEach(e,((e,n)=>i(e,n,t)));return N.isPlainObject(e)||e instanceof this.constructor?o(e,t):N.isString(e)&&(e=e.trim())&&!/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim())?o((e=>{const t={};let n,r,i;return e&&e.split("\n").forEach((function(e){i=e.indexOf(":"),n=e.substring(0,i).trim().toLowerCase(),r=e.substring(i+1).trim(),!n||t[n]&&ue[n]||("set-cookie"===n?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)})),t})(e),t):null!=e&&i(t,e,n),this}get(e,t){if(e=le(e)){const n=N.findKey(this,e);if(n){const e=this[n];if(!t)return e;if(!0===t)return function(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}(e);if(N.isFunction(t))return t.call(this,e,n);if(N.isRegExp(t))return t.exec(e);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,t){if(e=le(e)){const n=N.findKey(this,e);return!(!n||void 0===this[n]||t&&!de(0,this[n],n,t))}return!1}delete(e,t){const n=this;let r=!1;function i(e){if(e=le(e)){const i=N.findKey(n,e);!i||t&&!de(0,n[i],i,t)||(delete n[i],r=!0)}}return N.isArray(e)?e.forEach(i):i(e),r}clear(e){const t=Object.keys(this);let n=t.length,r=!1;for(;n--;){const i=t[n];e&&!de(0,this[i],i,e,!0)||(delete this[i],r=!0)}return r}normalize(e){const t=this,n={};return N.forEach(this,((r,i)=>{const o=N.findKey(n,i);if(o)return t[o]=fe(r),void delete t[i];const a=e?function(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,((e,t,n)=>t.toUpperCase()+n))}(i):String(i).trim();a!==i&&delete t[i],t[a]=fe(r),n[a]=!0})),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const t=Object.create(null);return N.forEach(this,((n,r)=>{null!=n&&!1!==n&&(t[r]=e&&N.isArray(n)?n.join(", "):n)})),t}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map((([e,t])=>e+": "+t)).join("\n")}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...t){const n=new this(e);return t.forEach((e=>n.set(e))),n}static accessor(e){const t=(this[ce]=this[ce]={accessors:{}}).accessors,n=this.prototype;function r(e){const r=le(e);t[r]||(!function(e,t){const n=N.toCamelCase(" "+t);["get","set","has"].forEach((r=>{Object.defineProperty(e,r+n,{value:function(e,n,i){return this[r].call(this,t,e,n,i)},configurable:!0})}))}(n,e),t[r]=!0)}return N.isArray(e)?e.forEach(r):r(e),this}}pe.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),N.reduceDescriptors(pe.prototype,(({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(e){this[n]=e}}})),N.freezeMethods(pe);var he=pe;function ge(e,t){const n=this||se,r=t||n,i=he.from(r.headers);let o=r.data;return N.forEach(e,(function(e){o=e.call(n,o,i.normalize(),t?t.status:void 0)})),i.normalize(),o}function me(e){return!(!e||!e.__CANCEL__)}function ye(e,t,n){B.call(this,null==e?"canceled":e,B.ERR_CANCELED,t,n),this.name="CanceledError"}N.inherits(ye,B,{__CANCEL__:!0});var ve=ie.hasStandardBrowserEnv?{write(e,t,n,r,i,o){const a=[e+"="+encodeURIComponent(t)];N.isNumber(n)&&a.push("expires="+new Date(n).toGMTString()),N.isString(r)&&a.push("path="+r),N.isString(i)&&a.push("domain="+i),!0===o&&a.push("secure"),document.cookie=a.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read:()=>null,remove(){}};function be(e,t){return e&&!/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)?function(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}(e,t):t}var _e=ie.hasStandardBrowserEnv?function(){const e=/(msie|trident)/i.test(navigator.userAgent),t=document.createElement("a");let n;function r(n){let r=n;return e&&(t.setAttribute("href",r),r=t.href),t.setAttribute("href",r),{href:t.href,protocol:t.protocol?t.protocol.replace(/:$/,""):"",host:t.host,search:t.search?t.search.replace(/^\?/,""):"",hash:t.hash?t.hash.replace(/^#/,""):"",hostname:t.hostname,port:t.port,pathname:"/"===t.pathname.charAt(0)?t.pathname:"/"+t.pathname}}return n=r(window.location.href),function(e){const t=N.isString(e)?r(e):e;return t.protocol===n.protocol&&t.host===n.host}}():function(){return!0};function we(e,t){let n=0;const r=function(e,t){e=e||10;const n=new Array(e),r=new Array(e);let i,o=0,a=0;return t=void 0!==t?t:1e3,function(s){const u=Date.now(),c=r[a];i||(i=u),n[o]=s,r[o]=u;let l=a,f=0;for(;l!==o;)f+=n[l++],l%=e;if(o=(o+1)%e,o===a&&(a=(a+1)%e),u-i<t)return;const d=c&&u-c;return d?Math.round(1e3*f/d):void 0}}(50,250);return i=>{const o=i.loaded,a=i.lengthComputable?i.total:void 0,s=o-n,u=r(s);n=o;const c={loaded:o,total:a,progress:a?o/a:void 0,bytes:s,rate:u||void 0,estimated:u&&a&&o<=a?(a-o)/u:void 0,event:i};c[t?"download":"upload"]=!0,e(c)}}const Te={http:null,xhr:"undefined"!=typeof XMLHttpRequest&&function(e){return new Promise((function(t,n){let r=e.data;const i=he.from(e.headers).normalize();let o,a,{responseType:s,withXSRFToken:u}=e;function c(){e.cancelToken&&e.cancelToken.unsubscribe(o),e.signal&&e.signal.removeEventListener("abort",o)}if(N.isFormData(r))if(ie.hasStandardBrowserEnv||ie.hasStandardBrowserWebWorkerEnv)i.setContentType(!1);else if(!1!==(a=i.getContentType())){const[e,...t]=a?a.split(";").map((e=>e.trim())).filter(Boolean):[];i.setContentType([e||"multipart/form-data",...t].join("; "))}let l=new XMLHttpRequest;if(e.auth){const t=e.auth.username||"",n=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";i.set("Authorization","Basic "+btoa(t+":"+n))}const f=be(e.baseURL,e.url);function d(){if(!l)return;const r=he.from("getAllResponseHeaders"in l&&l.getAllResponseHeaders());!function(e,t,n){const r=n.config.validateStatus;n.status&&r&&!r(n.status)?t(new B("Request failed with status code "+n.status,[B.ERR_BAD_REQUEST,B.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n)):e(n)}((function(e){t(e),c()}),(function(e){n(e),c()}),{data:s&&"text"!==s&&"json"!==s?l.response:l.responseText,status:l.status,statusText:l.statusText,headers:r,config:e,request:l}),l=null}if(l.open(e.method.toUpperCase(),K(f,e.params,e.paramsSerializer),!0),l.timeout=e.timeout,"onloadend"in l?l.onloadend=d:l.onreadystatechange=function(){l&&4===l.readyState&&(0!==l.status||l.responseURL&&0===l.responseURL.indexOf("file:"))&&setTimeout(d)},l.onabort=function(){l&&(n(new B("Request aborted",B.ECONNABORTED,e,l)),l=null)},l.onerror=function(){n(new B("Network Error",B.ERR_NETWORK,e,l)),l=null},l.ontimeout=function(){let t=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded";const r=e.transitional||Q;e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),n(new B(t,r.clarifyTimeoutError?B.ETIMEDOUT:B.ECONNABORTED,e,l)),l=null},ie.hasStandardBrowserEnv&&(u&&N.isFunction(u)&&(u=u(e)),u||!1!==u&&_e(f))){const t=e.xsrfHeaderName&&e.xsrfCookieName&&ve.read(e.xsrfCookieName);t&&i.set(e.xsrfHeaderName,t)}void 0===r&&i.setContentType(null),"setRequestHeader"in l&&N.forEach(i.toJSON(),(function(e,t){l.setRequestHeader(t,e)})),N.isUndefined(e.withCredentials)||(l.withCredentials=!!e.withCredentials),s&&"json"!==s&&(l.responseType=e.responseType),"function"==typeof e.onDownloadProgress&&l.addEventListener("progress",we(e.onDownloadProgress,!0)),"function"==typeof e.onUploadProgress&&l.upload&&l.upload.addEventListener("progress",we(e.onUploadProgress)),(e.cancelToken||e.signal)&&(o=t=>{l&&(n(!t||t.type?new ye(null,e,l):t),l.abort(),l=null)},e.cancelToken&&e.cancelToken.subscribe(o),e.signal&&(e.signal.aborted?o():e.signal.addEventListener("abort",o)));const p=function(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}(f);p&&-1===ie.protocols.indexOf(p)?n(new B("Unsupported protocol "+p+":",B.ERR_BAD_REQUEST,e)):l.send(r||null)}))}};N.forEach(Te,((e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch(e){}Object.defineProperty(e,"adapterName",{value:t})}}));const xe=e=>`- ${e}`,Se=e=>N.isFunction(e)||null===e||!1===e;var ke=e=>{e=N.isArray(e)?e:[e];const{length:t}=e;let n,r;const i={};for(let o=0;o<t;o++){let t;if(n=e[o],r=n,!Se(n)&&(r=Te[(t=String(n)).toLowerCase()],void 0===r))throw new B(`Unknown adapter '${t}'`);if(r)break;i[t||"#"+o]=r}if(!r){const e=Object.entries(i).map((([e,t])=>`adapter ${e} `+(!1===t?"is not supported by the environment":"is not available in the build")));throw new B("There is no suitable adapter to dispatch the request "+(t?e.length>1?"since :\n"+e.map(xe).join("\n"):" "+xe(e[0]):"as no adapter specified"),"ERR_NOT_SUPPORT")}return r};function Ee(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new ye(null,e)}function Oe(e){Ee(e),e.headers=he.from(e.headers),e.data=ge.call(e,e.transformRequest),-1!==["post","put","patch"].indexOf(e.method)&&e.headers.setContentType("application/x-www-form-urlencoded",!1);return ke(e.adapter||se.adapter)(e).then((function(t){return Ee(e),t.data=ge.call(e,e.transformResponse,t),t.headers=he.from(t.headers),t}),(function(t){return me(t)||(Ee(e),t&&t.response&&(t.response.data=ge.call(e,e.transformResponse,t.response),t.response.headers=he.from(t.response.headers))),Promise.reject(t)}))}const Ce=e=>e instanceof he?e.toJSON():e;function Le(e,t){t=t||{};const n={};function r(e,t,n){return N.isPlainObject(e)&&N.isPlainObject(t)?N.merge.call({caseless:n},e,t):N.isPlainObject(t)?N.merge({},t):N.isArray(t)?t.slice():t}function i(e,t,n){return N.isUndefined(t)?N.isUndefined(e)?void 0:r(void 0,e,n):r(e,t,n)}function o(e,t){if(!N.isUndefined(t))return r(void 0,t)}function a(e,t){return N.isUndefined(t)?N.isUndefined(e)?void 0:r(void 0,e):r(void 0,t)}function s(n,i,o){return o in t?r(n,i):o in e?r(void 0,n):void 0}const u={url:o,method:o,data:o,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,withXSRFToken:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:s,headers:(e,t)=>i(Ce(e),Ce(t),!0)};return N.forEach(Object.keys(Object.assign({},e,t)),(function(r){const o=u[r]||i,a=o(e[r],t[r],r);N.isUndefined(a)&&o!==s||(n[r]=a)})),n}const Ae="1.6.7",Ie={};["object","boolean","number","function","string","symbol"].forEach(((e,t)=>{Ie[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}}));const Pe={};Ie.transitional=function(e,t,n){function r(e,t){return"[Axios v1.6.7] Transitional option '"+e+"'"+t+(n?". "+n:"")}return(n,i,o)=>{if(!1===e)throw new B(r(i," has been removed"+(t?" in "+t:"")),B.ERR_DEPRECATED);return t&&!Pe[i]&&(Pe[i]=!0,console.warn(r(i," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(n,i,o)}};var Me={assertOptions:function(e,t,n){if("object"!=typeof e)throw new B("options must be an object",B.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let i=r.length;for(;i-- >0;){const o=r[i],a=t[o];if(a){const t=e[o],n=void 0===t||a(t,o,e);if(!0!==n)throw new B("option "+o+" must be "+n,B.ERR_BAD_OPTION_VALUE)}else if(!0!==n)throw new B("Unknown option "+o,B.ERR_BAD_OPTION)}},validators:Ie};const Re=Me.validators;class je{constructor(e){this.defaults=e,this.interceptors={request:new X,response:new X}}async request(e,t){try{return await this._request(e,t)}catch(e){if(e instanceof Error){let t;Error.captureStackTrace?Error.captureStackTrace(t={}):t=new Error;const n=t.stack?t.stack.replace(/^.+\n/,""):"";e.stack?n&&!String(e.stack).endsWith(n.replace(/^.+\n.+\n/,""))&&(e.stack+="\n"+n):e.stack=n}throw e}}_request(e,t){"string"==typeof e?(t=t||{}).url=e:t=e||{},t=Le(this.defaults,t);const{transitional:n,paramsSerializer:r,headers:i}=t;void 0!==n&&Me.assertOptions(n,{silentJSONParsing:Re.transitional(Re.boolean),forcedJSONParsing:Re.transitional(Re.boolean),clarifyTimeoutError:Re.transitional(Re.boolean)},!1),null!=r&&(N.isFunction(r)?t.paramsSerializer={serialize:r}:Me.assertOptions(r,{encode:Re.function,serialize:Re.function},!0)),t.method=(t.method||this.defaults.method||"get").toLowerCase();let o=i&&N.merge(i.common,i[t.method]);i&&N.forEach(["delete","get","head","post","put","patch","common"],(e=>{delete i[e]})),t.headers=he.concat(o,i);const a=[];let s=!0;this.interceptors.request.forEach((function(e){"function"==typeof e.runWhen&&!1===e.runWhen(t)||(s=s&&e.synchronous,a.unshift(e.fulfilled,e.rejected))}));const u=[];let c;this.interceptors.response.forEach((function(e){u.push(e.fulfilled,e.rejected)}));let l,f=0;if(!s){const e=[Oe.bind(this),void 0];for(e.unshift.apply(e,a),e.push.apply(e,u),l=e.length,c=Promise.resolve(t);f<l;)c=c.then(e[f++],e[f++]);return c}l=a.length;let d=t;for(f=0;f<l;){const e=a[f++],t=a[f++];try{d=e(d)}catch(e){t.call(this,e);break}}try{c=Oe.call(this,d)}catch(e){return Promise.reject(e)}for(f=0,l=u.length;f<l;)c=c.then(u[f++],u[f++]);return c}getUri(e){return K(be((e=Le(this.defaults,e)).baseURL,e.url),e.params,e.paramsSerializer)}}N.forEach(["delete","get","head","options"],(function(e){je.prototype[e]=function(t,n){return this.request(Le(n||{},{method:e,url:t,data:(n||{}).data}))}})),N.forEach(["post","put","patch"],(function(e){function t(t){return function(n,r,i){return this.request(Le(i||{},{method:e,headers:t?{"Content-Type":"multipart/form-data"}:{},url:n,data:r}))}}je.prototype[e]=t(),je.prototype[e+"Form"]=t(!0)}));var De=je;class Ne{constructor(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");let t;this.promise=new Promise((function(e){t=e}));const n=this;this.promise.then((e=>{if(!n._listeners)return;let t=n._listeners.length;for(;t-- >0;)n._listeners[t](e);n._listeners=null})),this.promise.then=e=>{let t;const r=new Promise((e=>{n.subscribe(e),t=e})).then(e);return r.cancel=function(){n.unsubscribe(t)},r},e((function(e,r,i){n.reason||(n.reason=new ye(e,r,i),t(n.reason))}))}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;const t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}static source(){let e;return{token:new Ne((function(t){e=t})),cancel:e}}}var Be=Ne;const Ue={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(Ue).forEach((([e,t])=>{Ue[t]=e}));var Fe=Ue;const ze=function e(t){const n=new De(t),i=r(De.prototype.request,n);return N.extend(i,De.prototype,n,{allOwnKeys:!0}),N.extend(i,n,null,{allOwnKeys:!0}),i.create=function(n){return e(Le(t,n))},i}(se);ze.Axios=De,ze.CanceledError=ye,ze.CancelToken=Be,ze.isCancel=me,ze.VERSION=Ae,ze.toFormData=V,ze.AxiosError=B,ze.Cancel=ze.CanceledError,ze.all=function(e){return Promise.all(e)},ze.spread=function(e){return function(t){return e.apply(null,t)}},ze.isAxiosError=function(e){return N.isObject(e)&&!0===e.isAxiosError},ze.mergeConfig=Le,ze.AxiosHeaders=he,ze.formToJSON=e=>oe(N.isHTMLForm(e)?new FormData(e):e),ze.getAdapter=ke,ze.HttpStatusCode=Fe,ze.default=ze,e.exports=ze},84406:function(e,t,n){"use strict";function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}n.d(t,{Z:function(){return r}})},9869:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(98235);function i(e){if(r(e))return e}},5281:function(e,t,n){"use strict";function r(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}n.d(t,{Z:function(){return r}})},33938:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(35820);function i(e,t,n,i,o,a,s){try{var u=e[a](s),c=u.value}catch(e){return void n(e)}u.done?t(c):r.resolve(c).then(i,o)}function o(e){return function(){var t=this,n=arguments;return new r((function(r,o){var a=e.apply(t,n);function s(e){i(a,r,o,s,u,"next",e)}function u(e){i(a,r,o,s,u,"throw",e)}s(void 0)}))}}},68420:function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}n.d(t,{Z:function(){return r}})},27344:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(57445),i=n(35991);function o(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),r(e,(0,i.Z)(o.key),o)}}function a(e,t,n){return t&&o(e.prototype,t),n&&o(e,n),r(e,"prototype",{writable:!1}),e}},44845:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(57445),i=n(35991);function o(e,t,n){return(t=(0,i.Z)(t))in e?r(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},73126:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(67552),i=n(48216);function o(){var e;return o=r?i(e=r).call(e):function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o.apply(this,arguments)}},18486:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=n(25926),i=n(48216),o=n(88546),a=n(3362);function s(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=(0,a.Z)(e)););return e}function u(){var e;"undefined"!=typeof Reflect&&r?u=i(e=r).call(e):u=function(e,t,n){var r=s(e,t);if(r){var i=o(r,t);return i.get?i.get.call(arguments.length<3?e:n):i.value}};return u.apply(this,arguments)}},3362:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(92984),i=n(48216),o=n(39272);function a(e){var t;return a=r?i(t=o).call(t):function(e){return e.__proto__||o(e)},a(e)}},90306:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(3841),i=n(57445),o=n(62534);function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=r(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),i(e,"prototype",{writable:!1}),t&&(0,o.Z)(e,t)}},24713:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(52472),i=n(19389),o=n(10349);function a(e){if(void 0!==r&&null!=i(e)||null!=e["@@iterator"])return o(e)}},13743:function(e,t,n){"use strict";function r(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}n.d(t,{Z:function(){return r}})},41266:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(52020),i=n(51791),o=n(62079);function a(e,t){if(null==e)return{};var n,a,s=function(e,t){if(null==e)return{};var n,r,a={},s=o(e);for(r=0;r<s.length;r++)n=s[r],i(t).call(t,n)>=0||(a[n]=e[n]);return a}(e,t);if(r){var u=r(e);for(a=0;a<u.length;a++)n=u[a],i(t).call(t,n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(s[n]=e[n])}return s}},3020:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(19623),i=n(5281);function o(e,t){if(t&&("object"===(0,r.Z)(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return(0,i.Z)(e)}},62534:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(92984),i=n(48216);function o(e,t){var n;return o=r?i(n=r).call(n):function(e,t){return e.__proto__=t,e},o(e,t)}},59056:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=n(9869),i=n(52472),o=n(19389);var a=n(71518),s=n(13743);function u(e,t){return(0,r.Z)(e)||function(e,t){var n=null==e?null:void 0!==i&&o(e)||e["@@iterator"];if(null!=n){var r,a,s,u,c=[],l=!0,f=!1;try{if(s=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=s.call(n)).done)&&(c.push(r.value),c.length!==t);l=!0);}catch(e){f=!0,a=e}finally{try{if(!l&&null!=n.return&&(u=n.return(),Object(u)!==u))return}finally{if(f)throw a}}return c}}(e,t)||(0,a.Z)(e,t)||(0,s.Z)()}},15713:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(9869),i=n(24713),o=n(71518),a=n(13743);function s(e){return(0,r.Z)(e)||(0,i.Z)(e)||(0,o.Z)(e)||(0,a.Z)()}},79349:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(98235),i=n(84406);var o=n(24713),a=n(71518);function s(e){return function(e){if(r(e))return(0,i.Z)(e)}(e)||(0,o.Z)(e)||(0,a.Z)(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},35991:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(19623),i=n(40024);function o(e){var t=function(e,t){if("object"!==(0,r.Z)(e)||null===e)return e;var n=e[i];if(void 0!==n){var o=n.call(e,t||"default");if("object"!==(0,r.Z)(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===(0,r.Z)(t)?t:String(t)}},19623:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(52472),i=n(48994);function o(e){return o="function"==typeof r&&"symbol"==typeof i?function(e){return typeof e}:function(e){return e&&"function"==typeof r&&e.constructor===r&&e!==r.prototype?"symbol":typeof e},o(e)}},71518:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(35704),i=n(10349),o=n(84406);function a(e,t){var n;if(e){if("string"==typeof e)return(0,o.Z)(e,t);var a=r(n=Object.prototype.toString.call(e)).call(n,8,-1);return"Object"===a&&e.constructor&&(a=e.constructor.name),"Map"===a||"Set"===a?i(e):"Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?(0,o.Z)(e,t):void 0}}},97326:function(e,t,n){"use strict";function r(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}n.d(t,{Z:function(){return r}})},15671:function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}n.d(t,{Z:function(){return r}})},43144:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(49142);function i(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,(0,r.Z)(i.key),i)}}function o(e,t,n){return t&&i(e.prototype,t),n&&i(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}},4942:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(49142);function i(e,t,n){return(t=(0,r.Z)(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},87462:function(e,t,n){"use strict";function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},r.apply(this,arguments)}n.d(t,{Z:function(){return r}})},94578:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(89611);function i(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,(0,r.Z)(e,t)}},63366:function(e,t,n){"use strict";function r(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}n.d(t,{Z:function(){return r}})},89611:function(e,t,n){"use strict";function r(e,t){return r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},r(e,t)}n.d(t,{Z:function(){return r}})},49142:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(71002);function i(e){var t=function(e,t){if("object"!=(0,r.Z)(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var i=n.call(e,t||"default");if("object"!=(0,r.Z)(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==(0,r.Z)(t)?t:t+""}},71002:function(e,t,n){"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}n.d(t,{Z:function(){return r}})},23636:function(e,t,n){"use strict";function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function i(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(Object(n),!0).forEach((function(t){s(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function o(e){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o(e)}function a(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function s(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function u(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,i,o=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(o.push(r.value),!t||o.length!==t);a=!0);}catch(e){s=!0,i=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw i}}return o}(e,t)||l(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function c(e){return function(e){if(Array.isArray(e))return f(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||l(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function l(e,t){if(e){if("string"==typeof e)return f(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?f(e,t):void 0}}function f(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}n.d(t,{Qc:function(){return yn},qv:function(){return vn},vI:function(){return gn},vz:function(){return mn}});var d=function(){},p={},h={},g=null,m={mark:d,measure:d};try{"undefined"!=typeof window&&(p=window),"undefined"!=typeof document&&(h=document),"undefined"!=typeof MutationObserver&&(g=MutationObserver),"undefined"!=typeof performance&&(m=performance)}catch(e){}var y,v,b,_,w,T=(p.navigator||{}).userAgent,x=void 0===T?"":T,S=p,k=h,E=g,O=m,C=(S.document,!!k.documentElement&&!!k.head&&"function"==typeof k.addEventListener&&"function"==typeof k.createElement),L=~x.indexOf("MSIE")||~x.indexOf("Trident/"),A="svg-inline--fa",I="data-fa-i2svg",P="data-fa-pseudo-element",M="data-prefix",R="data-icon",j="fontawesome-i2svg",D=["HTML","HEAD","STYLE","SCRIPT"],N=function(){try{return!0}catch(e){return!1}}(),B="classic",U="sharp",F=[B,U];function z(e){return new Proxy(e,{get:function(e,t){return t in e?e[t]:e.classic}})}var H=z((s(y={},B,{fa:"solid",fas:"solid","fa-solid":"solid",far:"regular","fa-regular":"regular",fal:"light","fa-light":"light",fat:"thin","fa-thin":"thin",fad:"duotone","fa-duotone":"duotone",fab:"brands","fa-brands":"brands",fak:"kit","fa-kit":"kit"}),s(y,U,{fa:"solid",fass:"solid","fa-solid":"solid"}),y)),Z=z((s(v={},B,{solid:"fas",regular:"far",light:"fal",thin:"fat",duotone:"fad",brands:"fab",kit:"fak"}),s(v,U,{solid:"fass"}),v)),q=z((s(b={},B,{fab:"fa-brands",fad:"fa-duotone",fak:"fa-kit",fal:"fa-light",far:"fa-regular",fas:"fa-solid",fat:"fa-thin"}),s(b,U,{fass:"fa-solid"}),b)),V=z((s(_={},B,{"fa-brands":"fab","fa-duotone":"fad","fa-kit":"fak","fa-light":"fal","fa-regular":"far","fa-solid":"fas","fa-thin":"fat"}),s(_,U,{"fa-solid":"fass"}),_)),W=/fa(s|r|l|t|d|b|k|ss)?[\-\ ]/,G="fa-layers-text",$=/Font ?Awesome ?([56 ]*)(Solid|Regular|Light|Thin|Duotone|Brands|Free|Pro|Sharp|Kit)?.*/i,Y=z((s(w={},B,{900:"fas",400:"far",normal:"far",300:"fal",100:"fat"}),s(w,U,{900:"fass"}),w)),K=[1,2,3,4,5,6,7,8,9,10],X=K.concat([11,12,13,14,15,16,17,18,19,20]),Q=["class","data-prefix","data-icon","data-fa-transform","data-fa-mask"],J="duotone-group",ee="swap-opacity",te="primary",ne="secondary",re=new Set;Object.keys(Z.classic).map(re.add.bind(re)),Object.keys(Z.sharp).map(re.add.bind(re));var ie=[].concat(F,c(re),["2xs","xs","sm","lg","xl","2xl","beat","border","fade","beat-fade","bounce","flip-both","flip-horizontal","flip-vertical","flip","fw","inverse","layers-counter","layers-text","layers","li","pull-left","pull-right","pulse","rotate-180","rotate-270","rotate-90","rotate-by","shake","spin-pulse","spin-reverse","spin","stack-1x","stack-2x","stack","ul",J,ee,te,ne]).concat(K.map((function(e){return"".concat(e,"x")}))).concat(X.map((function(e){return"w-".concat(e)}))),oe=S.FontAwesomeConfig||{};if(k&&"function"==typeof k.querySelector){[["data-family-prefix","familyPrefix"],["data-css-prefix","cssPrefix"],["data-family-default","familyDefault"],["data-style-default","styleDefault"],["data-replacement-class","replacementClass"],["data-auto-replace-svg","autoReplaceSvg"],["data-auto-add-css","autoAddCss"],["data-auto-a11y","autoA11y"],["data-search-pseudo-elements","searchPseudoElements"],["data-observe-mutations","observeMutations"],["data-mutate-approach","mutateApproach"],["data-keep-original-source","keepOriginalSource"],["data-measure-performance","measurePerformance"],["data-show-missing-icons","showMissingIcons"]].forEach((function(e){var t=u(e,2),n=t[0],r=t[1],i=function(e){return""===e||"false"!==e&&("true"===e||e)}(function(e){var t=k.querySelector("script["+e+"]");if(t)return t.getAttribute(e)}(n));null!=i&&(oe[r]=i)}))}var ae={styleDefault:"solid",familyDefault:"classic",cssPrefix:"fa",replacementClass:A,autoReplaceSvg:!0,autoAddCss:!0,autoA11y:!0,searchPseudoElements:!1,observeMutations:!0,mutateApproach:"async",keepOriginalSource:!0,measurePerformance:!1,showMissingIcons:!0};oe.familyPrefix&&(oe.cssPrefix=oe.familyPrefix);var se=i(i({},ae),oe);se.autoReplaceSvg||(se.observeMutations=!1);var ue={};Object.keys(ae).forEach((function(e){Object.defineProperty(ue,e,{enumerable:!0,set:function(t){se[e]=t,ce.forEach((function(e){return e(ue)}))},get:function(){return se[e]}})})),Object.defineProperty(ue,"familyPrefix",{enumerable:!0,set:function(e){se.cssPrefix=e,ce.forEach((function(e){return e(ue)}))},get:function(){return se.cssPrefix}}),S.FontAwesomeConfig=ue;var ce=[];var le=16,fe={size:16,x:0,y:0,rotate:0,flipX:!1,flipY:!1};function de(){for(var e=12,t="";e-- >0;)t+="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"[62*Math.random()|0];return t}function pe(e){for(var t=[],n=(e||[]).length>>>0;n--;)t[n]=e[n];return t}function he(e){return e.classList?pe(e.classList):(e.getAttribute("class")||"").split(" ").filter((function(e){return e}))}function ge(e){return"".concat(e).replace(/&/g,"&amp;").replace(/"/g,"&quot;").replace(/'/g,"&#39;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}function me(e){return Object.keys(e||{}).reduce((function(t,n){return t+"".concat(n,": ").concat(e[n].trim(),";")}),"")}function ye(e){return e.size!==fe.size||e.x!==fe.x||e.y!==fe.y||e.rotate!==fe.rotate||e.flipX||e.flipY}function ve(){var e="fa",t=A,n=ue.cssPrefix,r=ue.replacementClass,i=':root, :host {\n  --fa-font-solid: normal 900 1em/1 "Font Awesome 6 Solid";\n  --fa-font-regular: normal 400 1em/1 "Font Awesome 6 Regular";\n  --fa-font-light: normal 300 1em/1 "Font Awesome 6 Light";\n  --fa-font-thin: normal 100 1em/1 "Font Awesome 6 Thin";\n  --fa-font-duotone: normal 900 1em/1 "Font Awesome 6 Duotone";\n  --fa-font-sharp-solid: normal 900 1em/1 "Font Awesome 6 Sharp";\n  --fa-font-brands: normal 400 1em/1 "Font Awesome 6 Brands";\n}\n\nsvg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {\n  overflow: visible;\n  box-sizing: content-box;\n}\n\n.svg-inline--fa {\n  display: var(--fa-display, inline-block);\n  height: 1em;\n  overflow: visible;\n  vertical-align: -0.125em;\n}\n.svg-inline--fa.fa-2xs {\n  vertical-align: 0.1em;\n}\n.svg-inline--fa.fa-xs {\n  vertical-align: 0em;\n}\n.svg-inline--fa.fa-sm {\n  vertical-align: -0.0714285705em;\n}\n.svg-inline--fa.fa-lg {\n  vertical-align: -0.2em;\n}\n.svg-inline--fa.fa-xl {\n  vertical-align: -0.25em;\n}\n.svg-inline--fa.fa-2xl {\n  vertical-align: -0.3125em;\n}\n.svg-inline--fa.fa-pull-left {\n  margin-right: var(--fa-pull-margin, 0.3em);\n  width: auto;\n}\n.svg-inline--fa.fa-pull-right {\n  margin-left: var(--fa-pull-margin, 0.3em);\n  width: auto;\n}\n.svg-inline--fa.fa-li {\n  width: var(--fa-li-width, 2em);\n  top: 0.25em;\n}\n.svg-inline--fa.fa-fw {\n  width: var(--fa-fw-width, 1.25em);\n}\n\n.fa-layers svg.svg-inline--fa {\n  bottom: 0;\n  left: 0;\n  margin: auto;\n  position: absolute;\n  right: 0;\n  top: 0;\n}\n\n.fa-layers-counter, .fa-layers-text {\n  display: inline-block;\n  position: absolute;\n  text-align: center;\n}\n\n.fa-layers {\n  display: inline-block;\n  height: 1em;\n  position: relative;\n  text-align: center;\n  vertical-align: -0.125em;\n  width: 1em;\n}\n.fa-layers svg.svg-inline--fa {\n  -webkit-transform-origin: center center;\n          transform-origin: center center;\n}\n\n.fa-layers-text {\n  left: 50%;\n  top: 50%;\n  -webkit-transform: translate(-50%, -50%);\n          transform: translate(-50%, -50%);\n  -webkit-transform-origin: center center;\n          transform-origin: center center;\n}\n\n.fa-layers-counter {\n  background-color: var(--fa-counter-background-color, #ff253a);\n  border-radius: var(--fa-counter-border-radius, 1em);\n  box-sizing: border-box;\n  color: var(--fa-inverse, #fff);\n  line-height: var(--fa-counter-line-height, 1);\n  max-width: var(--fa-counter-max-width, 5em);\n  min-width: var(--fa-counter-min-width, 1.5em);\n  overflow: hidden;\n  padding: var(--fa-counter-padding, 0.25em 0.5em);\n  right: var(--fa-right, 0);\n  text-overflow: ellipsis;\n  top: var(--fa-top, 0);\n  -webkit-transform: scale(var(--fa-counter-scale, 0.25));\n          transform: scale(var(--fa-counter-scale, 0.25));\n  -webkit-transform-origin: top right;\n          transform-origin: top right;\n}\n\n.fa-layers-bottom-right {\n  bottom: var(--fa-bottom, 0);\n  right: var(--fa-right, 0);\n  top: auto;\n  -webkit-transform: scale(var(--fa-layers-scale, 0.25));\n          transform: scale(var(--fa-layers-scale, 0.25));\n  -webkit-transform-origin: bottom right;\n          transform-origin: bottom right;\n}\n\n.fa-layers-bottom-left {\n  bottom: var(--fa-bottom, 0);\n  left: var(--fa-left, 0);\n  right: auto;\n  top: auto;\n  -webkit-transform: scale(var(--fa-layers-scale, 0.25));\n          transform: scale(var(--fa-layers-scale, 0.25));\n  -webkit-transform-origin: bottom left;\n          transform-origin: bottom left;\n}\n\n.fa-layers-top-right {\n  top: var(--fa-top, 0);\n  right: var(--fa-right, 0);\n  -webkit-transform: scale(var(--fa-layers-scale, 0.25));\n          transform: scale(var(--fa-layers-scale, 0.25));\n  -webkit-transform-origin: top right;\n          transform-origin: top right;\n}\n\n.fa-layers-top-left {\n  left: var(--fa-left, 0);\n  right: auto;\n  top: var(--fa-top, 0);\n  -webkit-transform: scale(var(--fa-layers-scale, 0.25));\n          transform: scale(var(--fa-layers-scale, 0.25));\n  -webkit-transform-origin: top left;\n          transform-origin: top left;\n}\n\n.fa-1x {\n  font-size: 1em;\n}\n\n.fa-2x {\n  font-size: 2em;\n}\n\n.fa-3x {\n  font-size: 3em;\n}\n\n.fa-4x {\n  font-size: 4em;\n}\n\n.fa-5x {\n  font-size: 5em;\n}\n\n.fa-6x {\n  font-size: 6em;\n}\n\n.fa-7x {\n  font-size: 7em;\n}\n\n.fa-8x {\n  font-size: 8em;\n}\n\n.fa-9x {\n  font-size: 9em;\n}\n\n.fa-10x {\n  font-size: 10em;\n}\n\n.fa-2xs {\n  font-size: 0.625em;\n  line-height: 0.1em;\n  vertical-align: 0.225em;\n}\n\n.fa-xs {\n  font-size: 0.75em;\n  line-height: 0.0833333337em;\n  vertical-align: 0.125em;\n}\n\n.fa-sm {\n  font-size: 0.875em;\n  line-height: 0.0714285718em;\n  vertical-align: 0.0535714295em;\n}\n\n.fa-lg {\n  font-size: 1.25em;\n  line-height: 0.05em;\n  vertical-align: -0.075em;\n}\n\n.fa-xl {\n  font-size: 1.5em;\n  line-height: 0.0416666682em;\n  vertical-align: -0.125em;\n}\n\n.fa-2xl {\n  font-size: 2em;\n  line-height: 0.03125em;\n  vertical-align: -0.1875em;\n}\n\n.fa-fw {\n  text-align: center;\n  width: 1.25em;\n}\n\n.fa-ul {\n  list-style-type: none;\n  margin-left: var(--fa-li-margin, 2.5em);\n  padding-left: 0;\n}\n.fa-ul > li {\n  position: relative;\n}\n\n.fa-li {\n  left: calc(var(--fa-li-width, 2em) * -1);\n  position: absolute;\n  text-align: center;\n  width: var(--fa-li-width, 2em);\n  line-height: inherit;\n}\n\n.fa-border {\n  border-color: var(--fa-border-color, #eee);\n  border-radius: var(--fa-border-radius, 0.1em);\n  border-style: var(--fa-border-style, solid);\n  border-width: var(--fa-border-width, 0.08em);\n  padding: var(--fa-border-padding, 0.2em 0.25em 0.15em);\n}\n\n.fa-pull-left {\n  float: left;\n  margin-right: var(--fa-pull-margin, 0.3em);\n}\n\n.fa-pull-right {\n  float: right;\n  margin-left: var(--fa-pull-margin, 0.3em);\n}\n\n.fa-beat {\n  -webkit-animation-name: fa-beat;\n          animation-name: fa-beat;\n  -webkit-animation-delay: var(--fa-animation-delay, 0s);\n          animation-delay: var(--fa-animation-delay, 0s);\n  -webkit-animation-direction: var(--fa-animation-direction, normal);\n          animation-direction: var(--fa-animation-direction, normal);\n  -webkit-animation-duration: var(--fa-animation-duration, 1s);\n          animation-duration: var(--fa-animation-duration, 1s);\n  -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n          animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n  -webkit-animation-timing-function: var(--fa-animation-timing, ease-in-out);\n          animation-timing-function: var(--fa-animation-timing, ease-in-out);\n}\n\n.fa-bounce {\n  -webkit-animation-name: fa-bounce;\n          animation-name: fa-bounce;\n  -webkit-animation-delay: var(--fa-animation-delay, 0s);\n          animation-delay: var(--fa-animation-delay, 0s);\n  -webkit-animation-direction: var(--fa-animation-direction, normal);\n          animation-direction: var(--fa-animation-direction, normal);\n  -webkit-animation-duration: var(--fa-animation-duration, 1s);\n          animation-duration: var(--fa-animation-duration, 1s);\n  -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n          animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n  -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1));\n          animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1));\n}\n\n.fa-fade {\n  -webkit-animation-name: fa-fade;\n          animation-name: fa-fade;\n  -webkit-animation-delay: var(--fa-animation-delay, 0s);\n          animation-delay: var(--fa-animation-delay, 0s);\n  -webkit-animation-direction: var(--fa-animation-direction, normal);\n          animation-direction: var(--fa-animation-direction, normal);\n  -webkit-animation-duration: var(--fa-animation-duration, 1s);\n          animation-duration: var(--fa-animation-duration, 1s);\n  -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n          animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n  -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n          animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n}\n\n.fa-beat-fade {\n  -webkit-animation-name: fa-beat-fade;\n          animation-name: fa-beat-fade;\n  -webkit-animation-delay: var(--fa-animation-delay, 0s);\n          animation-delay: var(--fa-animation-delay, 0s);\n  -webkit-animation-direction: var(--fa-animation-direction, normal);\n          animation-direction: var(--fa-animation-direction, normal);\n  -webkit-animation-duration: var(--fa-animation-duration, 1s);\n          animation-duration: var(--fa-animation-duration, 1s);\n  -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n          animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n  -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n          animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n}\n\n.fa-flip {\n  -webkit-animation-name: fa-flip;\n          animation-name: fa-flip;\n  -webkit-animation-delay: var(--fa-animation-delay, 0s);\n          animation-delay: var(--fa-animation-delay, 0s);\n  -webkit-animation-direction: var(--fa-animation-direction, normal);\n          animation-direction: var(--fa-animation-direction, normal);\n  -webkit-animation-duration: var(--fa-animation-duration, 1s);\n          animation-duration: var(--fa-animation-duration, 1s);\n  -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n          animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n  -webkit-animation-timing-function: var(--fa-animation-timing, ease-in-out);\n          animation-timing-function: var(--fa-animation-timing, ease-in-out);\n}\n\n.fa-shake {\n  -webkit-animation-name: fa-shake;\n          animation-name: fa-shake;\n  -webkit-animation-delay: var(--fa-animation-delay, 0s);\n          animation-delay: var(--fa-animation-delay, 0s);\n  -webkit-animation-direction: var(--fa-animation-direction, normal);\n          animation-direction: var(--fa-animation-direction, normal);\n  -webkit-animation-duration: var(--fa-animation-duration, 1s);\n          animation-duration: var(--fa-animation-duration, 1s);\n  -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n          animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n  -webkit-animation-timing-function: var(--fa-animation-timing, linear);\n          animation-timing-function: var(--fa-animation-timing, linear);\n}\n\n.fa-spin {\n  -webkit-animation-name: fa-spin;\n          animation-name: fa-spin;\n  -webkit-animation-delay: var(--fa-animation-delay, 0s);\n          animation-delay: var(--fa-animation-delay, 0s);\n  -webkit-animation-direction: var(--fa-animation-direction, normal);\n          animation-direction: var(--fa-animation-direction, normal);\n  -webkit-animation-duration: var(--fa-animation-duration, 2s);\n          animation-duration: var(--fa-animation-duration, 2s);\n  -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n          animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n  -webkit-animation-timing-function: var(--fa-animation-timing, linear);\n          animation-timing-function: var(--fa-animation-timing, linear);\n}\n\n.fa-spin-reverse {\n  --fa-animation-direction: reverse;\n}\n\n.fa-pulse,\n.fa-spin-pulse {\n  -webkit-animation-name: fa-spin;\n          animation-name: fa-spin;\n  -webkit-animation-direction: var(--fa-animation-direction, normal);\n          animation-direction: var(--fa-animation-direction, normal);\n  -webkit-animation-duration: var(--fa-animation-duration, 1s);\n          animation-duration: var(--fa-animation-duration, 1s);\n  -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n          animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n  -webkit-animation-timing-function: var(--fa-animation-timing, steps(8));\n          animation-timing-function: var(--fa-animation-timing, steps(8));\n}\n\n@media (prefers-reduced-motion: reduce) {\n  .fa-beat,\n.fa-bounce,\n.fa-fade,\n.fa-beat-fade,\n.fa-flip,\n.fa-pulse,\n.fa-shake,\n.fa-spin,\n.fa-spin-pulse {\n    -webkit-animation-delay: -1ms;\n            animation-delay: -1ms;\n    -webkit-animation-duration: 1ms;\n            animation-duration: 1ms;\n    -webkit-animation-iteration-count: 1;\n            animation-iteration-count: 1;\n    transition-delay: 0s;\n    transition-duration: 0s;\n  }\n}\n@-webkit-keyframes fa-beat {\n  0%, 90% {\n    -webkit-transform: scale(1);\n            transform: scale(1);\n  }\n  45% {\n    -webkit-transform: scale(var(--fa-beat-scale, 1.25));\n            transform: scale(var(--fa-beat-scale, 1.25));\n  }\n}\n@keyframes fa-beat {\n  0%, 90% {\n    -webkit-transform: scale(1);\n            transform: scale(1);\n  }\n  45% {\n    -webkit-transform: scale(var(--fa-beat-scale, 1.25));\n            transform: scale(var(--fa-beat-scale, 1.25));\n  }\n}\n@-webkit-keyframes fa-bounce {\n  0% {\n    -webkit-transform: scale(1, 1) translateY(0);\n            transform: scale(1, 1) translateY(0);\n  }\n  10% {\n    -webkit-transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n            transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n  }\n  30% {\n    -webkit-transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n            transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n  }\n  50% {\n    -webkit-transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n            transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n  }\n  57% {\n    -webkit-transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n            transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n  }\n  64% {\n    -webkit-transform: scale(1, 1) translateY(0);\n            transform: scale(1, 1) translateY(0);\n  }\n  100% {\n    -webkit-transform: scale(1, 1) translateY(0);\n            transform: scale(1, 1) translateY(0);\n  }\n}\n@keyframes fa-bounce {\n  0% {\n    -webkit-transform: scale(1, 1) translateY(0);\n            transform: scale(1, 1) translateY(0);\n  }\n  10% {\n    -webkit-transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n            transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n  }\n  30% {\n    -webkit-transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n            transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n  }\n  50% {\n    -webkit-transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n            transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n  }\n  57% {\n    -webkit-transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n            transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n  }\n  64% {\n    -webkit-transform: scale(1, 1) translateY(0);\n            transform: scale(1, 1) translateY(0);\n  }\n  100% {\n    -webkit-transform: scale(1, 1) translateY(0);\n            transform: scale(1, 1) translateY(0);\n  }\n}\n@-webkit-keyframes fa-fade {\n  50% {\n    opacity: var(--fa-fade-opacity, 0.4);\n  }\n}\n@keyframes fa-fade {\n  50% {\n    opacity: var(--fa-fade-opacity, 0.4);\n  }\n}\n@-webkit-keyframes fa-beat-fade {\n  0%, 100% {\n    opacity: var(--fa-beat-fade-opacity, 0.4);\n    -webkit-transform: scale(1);\n            transform: scale(1);\n  }\n  50% {\n    opacity: 1;\n    -webkit-transform: scale(var(--fa-beat-fade-scale, 1.125));\n            transform: scale(var(--fa-beat-fade-scale, 1.125));\n  }\n}\n@keyframes fa-beat-fade {\n  0%, 100% {\n    opacity: var(--fa-beat-fade-opacity, 0.4);\n    -webkit-transform: scale(1);\n            transform: scale(1);\n  }\n  50% {\n    opacity: 1;\n    -webkit-transform: scale(var(--fa-beat-fade-scale, 1.125));\n            transform: scale(var(--fa-beat-fade-scale, 1.125));\n  }\n}\n@-webkit-keyframes fa-flip {\n  50% {\n    -webkit-transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n            transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n  }\n}\n@keyframes fa-flip {\n  50% {\n    -webkit-transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n            transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n  }\n}\n@-webkit-keyframes fa-shake {\n  0% {\n    -webkit-transform: rotate(-15deg);\n            transform: rotate(-15deg);\n  }\n  4% {\n    -webkit-transform: rotate(15deg);\n            transform: rotate(15deg);\n  }\n  8%, 24% {\n    -webkit-transform: rotate(-18deg);\n            transform: rotate(-18deg);\n  }\n  12%, 28% {\n    -webkit-transform: rotate(18deg);\n            transform: rotate(18deg);\n  }\n  16% {\n    -webkit-transform: rotate(-22deg);\n            transform: rotate(-22deg);\n  }\n  20% {\n    -webkit-transform: rotate(22deg);\n            transform: rotate(22deg);\n  }\n  32% {\n    -webkit-transform: rotate(-12deg);\n            transform: rotate(-12deg);\n  }\n  36% {\n    -webkit-transform: rotate(12deg);\n            transform: rotate(12deg);\n  }\n  40%, 100% {\n    -webkit-transform: rotate(0deg);\n            transform: rotate(0deg);\n  }\n}\n@keyframes fa-shake {\n  0% {\n    -webkit-transform: rotate(-15deg);\n            transform: rotate(-15deg);\n  }\n  4% {\n    -webkit-transform: rotate(15deg);\n            transform: rotate(15deg);\n  }\n  8%, 24% {\n    -webkit-transform: rotate(-18deg);\n            transform: rotate(-18deg);\n  }\n  12%, 28% {\n    -webkit-transform: rotate(18deg);\n            transform: rotate(18deg);\n  }\n  16% {\n    -webkit-transform: rotate(-22deg);\n            transform: rotate(-22deg);\n  }\n  20% {\n    -webkit-transform: rotate(22deg);\n            transform: rotate(22deg);\n  }\n  32% {\n    -webkit-transform: rotate(-12deg);\n            transform: rotate(-12deg);\n  }\n  36% {\n    -webkit-transform: rotate(12deg);\n            transform: rotate(12deg);\n  }\n  40%, 100% {\n    -webkit-transform: rotate(0deg);\n            transform: rotate(0deg);\n  }\n}\n@-webkit-keyframes fa-spin {\n  0% {\n    -webkit-transform: rotate(0deg);\n            transform: rotate(0deg);\n  }\n  100% {\n    -webkit-transform: rotate(360deg);\n            transform: rotate(360deg);\n  }\n}\n@keyframes fa-spin {\n  0% {\n    -webkit-transform: rotate(0deg);\n            transform: rotate(0deg);\n  }\n  100% {\n    -webkit-transform: rotate(360deg);\n            transform: rotate(360deg);\n  }\n}\n.fa-rotate-90 {\n  -webkit-transform: rotate(90deg);\n          transform: rotate(90deg);\n}\n\n.fa-rotate-180 {\n  -webkit-transform: rotate(180deg);\n          transform: rotate(180deg);\n}\n\n.fa-rotate-270 {\n  -webkit-transform: rotate(270deg);\n          transform: rotate(270deg);\n}\n\n.fa-flip-horizontal {\n  -webkit-transform: scale(-1, 1);\n          transform: scale(-1, 1);\n}\n\n.fa-flip-vertical {\n  -webkit-transform: scale(1, -1);\n          transform: scale(1, -1);\n}\n\n.fa-flip-both,\n.fa-flip-horizontal.fa-flip-vertical {\n  -webkit-transform: scale(-1, -1);\n          transform: scale(-1, -1);\n}\n\n.fa-rotate-by {\n  -webkit-transform: rotate(var(--fa-rotate-angle, none));\n          transform: rotate(var(--fa-rotate-angle, none));\n}\n\n.fa-stack {\n  display: inline-block;\n  vertical-align: middle;\n  height: 2em;\n  position: relative;\n  width: 2.5em;\n}\n\n.fa-stack-1x,\n.fa-stack-2x {\n  bottom: 0;\n  left: 0;\n  margin: auto;\n  position: absolute;\n  right: 0;\n  top: 0;\n  z-index: var(--fa-stack-z-index, auto);\n}\n\n.svg-inline--fa.fa-stack-1x {\n  height: 1em;\n  width: 1.25em;\n}\n.svg-inline--fa.fa-stack-2x {\n  height: 2em;\n  width: 2.5em;\n}\n\n.fa-inverse {\n  color: var(--fa-inverse, #fff);\n}\n\n.sr-only,\n.fa-sr-only {\n  position: absolute;\n  width: 1px;\n  height: 1px;\n  padding: 0;\n  margin: -1px;\n  overflow: hidden;\n  clip: rect(0, 0, 0, 0);\n  white-space: nowrap;\n  border-width: 0;\n}\n\n.sr-only-focusable:not(:focus),\n.fa-sr-only-focusable:not(:focus) {\n  position: absolute;\n  width: 1px;\n  height: 1px;\n  padding: 0;\n  margin: -1px;\n  overflow: hidden;\n  clip: rect(0, 0, 0, 0);\n  white-space: nowrap;\n  border-width: 0;\n}\n\n.svg-inline--fa .fa-primary {\n  fill: var(--fa-primary-color, currentColor);\n  opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa .fa-secondary {\n  fill: var(--fa-secondary-color, currentColor);\n  opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-primary {\n  opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-secondary {\n  opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa mask .fa-primary,\n.svg-inline--fa mask .fa-secondary {\n  fill: black;\n}\n\n.fad.fa-inverse,\n.fa-duotone.fa-inverse {\n  color: var(--fa-inverse, #fff);\n}';if(n!==e||r!==t){var o=new RegExp("\\.".concat(e,"\\-"),"g"),a=new RegExp("\\--".concat(e,"\\-"),"g"),s=new RegExp("\\.".concat(t),"g");i=i.replace(o,".".concat(n,"-")).replace(a,"--".concat(n,"-")).replace(s,".".concat(r))}return i}var be=!1;function _e(){ue.autoAddCss&&!be&&(!function(e){if(e&&C){var t=k.createElement("style");t.setAttribute("type","text/css"),t.innerHTML=e;for(var n=k.head.childNodes,r=null,i=n.length-1;i>-1;i--){var o=n[i],a=(o.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(a)>-1&&(r=o)}k.head.insertBefore(t,r)}}(ve()),be=!0)}var we={mixout:function(){return{dom:{css:ve,insertCss:_e}}},hooks:function(){return{beforeDOMElementCreation:function(){_e()},beforeI2svg:function(){_e()}}}},Te=S||{};Te.___FONT_AWESOME___||(Te.___FONT_AWESOME___={}),Te.___FONT_AWESOME___.styles||(Te.___FONT_AWESOME___.styles={}),Te.___FONT_AWESOME___.hooks||(Te.___FONT_AWESOME___.hooks={}),Te.___FONT_AWESOME___.shims||(Te.___FONT_AWESOME___.shims=[]);var xe=Te.___FONT_AWESOME___,Se=[],ke=!1;function Ee(e){C&&(ke?setTimeout(e,0):Se.push(e))}function Oe(e){var t=e.tag,n=e.attributes,r=void 0===n?{}:n,i=e.children,o=void 0===i?[]:i;return"string"==typeof e?ge(e):"<".concat(t," ").concat(function(e){return Object.keys(e||{}).reduce((function(t,n){return t+"".concat(n,'="').concat(ge(e[n]),'" ')}),"").trim()}(r),">").concat(o.map(Oe).join(""),"</").concat(t,">")}function Ce(e,t,n){if(e&&e[t]&&e[t][n])return{prefix:t,iconName:n,icon:e[t][n]}}C&&((ke=(k.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(k.readyState))||k.addEventListener("DOMContentLoaded",(function e(){k.removeEventListener("DOMContentLoaded",e),ke=1,Se.map((function(e){return e()}))})));var Le=function(e,t,n,r){var i,o,a,s=Object.keys(e),u=s.length,c=void 0!==r?function(e,t){return function(n,r,i,o){return e.call(t,n,r,i,o)}}(t,r):t;for(void 0===n?(i=1,a=e[s[0]]):(i=0,a=n);i<u;i++)a=c(a,e[o=s[i]],o,e);return a};function Ae(e){var t=function(e){for(var t=[],n=0,r=e.length;n<r;){var i=e.charCodeAt(n++);if(i>=55296&&i<=56319&&n<r){var o=e.charCodeAt(n++);56320==(64512&o)?t.push(((1023&i)<<10)+(1023&o)+65536):(t.push(i),n--)}else t.push(i)}return t}(e);return 1===t.length?t[0].toString(16):null}function Ie(e){return Object.keys(e).reduce((function(t,n){var r=e[n];return!!r.icon?t[r.iconName]=r.icon:t[n]=r,t}),{})}function Pe(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.skipHooks,o=void 0!==r&&r,a=Ie(t);"function"!=typeof xe.hooks.addPack||o?xe.styles[e]=i(i({},xe.styles[e]||{}),a):xe.hooks.addPack(e,Ie(t)),"fas"===e&&Pe("fa",t)}var Me,Re,je,De=xe.styles,Ne=xe.shims,Be=(s(Me={},B,Object.values(q.classic)),s(Me,U,Object.values(q.sharp)),Me),Ue=null,Fe={},ze={},He={},Ze={},qe={},Ve=(s(Re={},B,Object.keys(H.classic)),s(Re,U,Object.keys(H.sharp)),Re);function We(e,t){var n,r=t.split("-"),i=r[0],o=r.slice(1).join("-");return i!==e||""===o||(n=o,~ie.indexOf(n))?null:o}var Ge,$e=function(){var e=function(e){return Le(De,(function(t,n,r){return t[r]=Le(n,e,{}),t}),{})};Fe=e((function(e,t,n){(t[3]&&(e[t[3]]=n),t[2])&&t[2].filter((function(e){return"number"==typeof e})).forEach((function(t){e[t.toString(16)]=n}));return e})),ze=e((function(e,t,n){(e[n]=n,t[2])&&t[2].filter((function(e){return"string"==typeof e})).forEach((function(t){e[t]=n}));return e})),qe=e((function(e,t,n){var r=t[2];return e[n]=n,r.forEach((function(t){e[t]=n})),e}));var t="far"in De||ue.autoFetchSvg,n=Le(Ne,(function(e,n){var r=n[0],i=n[1],o=n[2];return"far"!==i||t||(i="fas"),"string"==typeof r&&(e.names[r]={prefix:i,iconName:o}),"number"==typeof r&&(e.unicodes[r.toString(16)]={prefix:i,iconName:o}),e}),{names:{},unicodes:{}});He=n.names,Ze=n.unicodes,Ue=Je(ue.styleDefault,{family:ue.familyDefault})};function Ye(e,t){return(Fe[e]||{})[t]}function Ke(e,t){return(qe[e]||{})[t]}function Xe(e){return He[e]||{prefix:null,iconName:null}}function Qe(){return Ue}Ge=function(e){Ue=Je(e.styleDefault,{family:ue.familyDefault})},ce.push(Ge),$e();function Je(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.family,r=void 0===n?B:n,i=H[r][e],o=Z[r][e]||Z[r][i],a=e in xe.styles?e:null;return o||a||null}var et=(s(je={},B,Object.keys(q.classic)),s(je,U,Object.keys(q.sharp)),je);function tt(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=n.skipLookups,i=void 0!==r&&r,o=(s(t={},B,"".concat(ue.cssPrefix,"-").concat(B)),s(t,U,"".concat(ue.cssPrefix,"-").concat(U)),t),a=null,u=B;(e.includes(o.classic)||e.some((function(e){return et.classic.includes(e)})))&&(u=B),(e.includes(o.sharp)||e.some((function(e){return et.sharp.includes(e)})))&&(u=U);var c=e.reduce((function(e,t){var n=We(ue.cssPrefix,t);if(De[t]?(t=Be[u].includes(t)?V[u][t]:t,a=t,e.prefix=t):Ve[u].indexOf(t)>-1?(a=t,e.prefix=Je(t,{family:u})):n?e.iconName=n:t!==ue.replacementClass&&t!==o.classic&&t!==o.sharp&&e.rest.push(t),!i&&e.prefix&&e.iconName){var r="fa"===a?Xe(e.iconName):{},s=Ke(e.prefix,e.iconName);r.prefix&&(a=null),e.iconName=r.iconName||s||e.iconName,e.prefix=r.prefix||e.prefix,"far"!==e.prefix||De.far||!De.fas||ue.autoFetchSvg||(e.prefix="fas")}return e}),{prefix:null,iconName:null,rest:[]});return(e.includes("fa-brands")||e.includes("fab"))&&(c.prefix="fab"),(e.includes("fa-duotone")||e.includes("fad"))&&(c.prefix="fad"),c.prefix||u!==U||!De.fass&&!ue.autoFetchSvg||(c.prefix="fass",c.iconName=Ke(c.prefix,c.iconName)||c.iconName),"fa"!==c.prefix&&"fa"!==a||(c.prefix=Qe()||"fas"),c}var nt=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.definitions={}}var t,n,r;return t=e,n=[{key:"add",value:function(){for(var e=this,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];var o=n.reduce(this._pullDefinitions,{});Object.keys(o).forEach((function(t){e.definitions[t]=i(i({},e.definitions[t]||{}),o[t]),Pe(t,o[t]);var n=q.classic[t];n&&Pe(n,o[t]),$e()}))}},{key:"reset",value:function(){this.definitions={}}},{key:"_pullDefinitions",value:function(e,t){var n=t.prefix&&t.iconName&&t.icon?{0:t}:t;return Object.keys(n).map((function(t){var r=n[t],i=r.prefix,o=r.iconName,a=r.icon,s=a[2];e[i]||(e[i]={}),s.length>0&&s.forEach((function(t){"string"==typeof t&&(e[i][t]=a)})),e[i][o]=a})),e}}],n&&a(t.prototype,n),r&&a(t,r),Object.defineProperty(t,"prototype",{writable:!1}),e}(),rt=[],it={},ot={},at=Object.keys(ot);function st(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),i=2;i<n;i++)r[i-2]=arguments[i];var o=it[e]||[];return o.forEach((function(e){t=e.apply(null,[t].concat(r))})),t}function ut(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var i=it[e]||[];i.forEach((function(e){e.apply(null,n)}))}function ct(){var e=arguments[0],t=Array.prototype.slice.call(arguments,1);return ot[e]?ot[e].apply(null,t):void 0}function lt(e){"fa"===e.prefix&&(e.prefix="fas");var t=e.iconName,n=e.prefix||Qe();if(t)return t=Ke(n,t)||t,Ce(ft.definitions,n,t)||Ce(xe.styles,n,t)}var ft=new nt,dt={i2svg:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return C?(ut("beforeI2svg",e),ct("pseudoElements2svg",e),ct("i2svg",e)):Promise.reject("Operation requires a DOM of some kind.")},watch:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.autoReplaceSvgRoot;!1===ue.autoReplaceSvg&&(ue.autoReplaceSvg=!0),ue.observeMutations=!0,Ee((function(){ht({autoReplaceSvgRoot:t}),ut("watch",e)}))}},pt={noAuto:function(){ue.autoReplaceSvg=!1,ue.observeMutations=!1,ut("noAuto")},config:ue,dom:dt,parse:{icon:function(e){if(null===e)return null;if("object"===o(e)&&e.prefix&&e.iconName)return{prefix:e.prefix,iconName:Ke(e.prefix,e.iconName)||e.iconName};if(Array.isArray(e)&&2===e.length){var t=0===e[1].indexOf("fa-")?e[1].slice(3):e[1],n=Je(e[0]);return{prefix:n,iconName:Ke(n,t)||t}}if("string"==typeof e&&(e.indexOf("".concat(ue.cssPrefix,"-"))>-1||e.match(W))){var r=tt(e.split(" "),{skipLookups:!0});return{prefix:r.prefix||Qe(),iconName:Ke(r.prefix,r.iconName)||r.iconName}}if("string"==typeof e){var i=Qe();return{prefix:i,iconName:Ke(i,e)||e}}}},library:ft,findIconDefinition:lt,toHtml:Oe},ht=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.autoReplaceSvgRoot,n=void 0===t?k:t;(Object.keys(xe.styles).length>0||ue.autoFetchSvg)&&C&&ue.autoReplaceSvg&&pt.dom.i2svg({node:n})};function gt(e,t){return Object.defineProperty(e,"abstract",{get:t}),Object.defineProperty(e,"html",{get:function(){return e.abstract.map((function(e){return Oe(e)}))}}),Object.defineProperty(e,"node",{get:function(){if(C){var t=k.createElement("div");return t.innerHTML=e.html,t.children}}}),e}function mt(e){var t=e.icons,n=t.main,r=t.mask,o=e.prefix,a=e.iconName,s=e.transform,u=e.symbol,c=e.title,l=e.maskId,f=e.titleId,d=e.extra,p=e.watchable,h=void 0!==p&&p,g=r.found?r:n,m=g.width,y=g.height,v="fak"===o,b=[ue.replacementClass,a?"".concat(ue.cssPrefix,"-").concat(a):""].filter((function(e){return-1===d.classes.indexOf(e)})).filter((function(e){return""!==e||!!e})).concat(d.classes).join(" "),_={children:[],attributes:i(i({},d.attributes),{},{"data-prefix":o,"data-icon":a,class:b,role:d.attributes.role||"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(m," ").concat(y)})},w=v&&!~d.classes.indexOf("fa-fw")?{width:"".concat(m/y*16*.0625,"em")}:{};h&&(_.attributes[I]=""),c&&(_.children.push({tag:"title",attributes:{id:_.attributes["aria-labelledby"]||"title-".concat(f||de())},children:[c]}),delete _.attributes.title);var T=i(i({},_),{},{prefix:o,iconName:a,main:n,mask:r,maskId:l,transform:s,symbol:u,styles:i(i({},w),d.styles)}),x=r.found&&n.found?ct("generateAbstractMask",T)||{children:[],attributes:{}}:ct("generateAbstractIcon",T)||{children:[],attributes:{}},S=x.children,k=x.attributes;return T.children=S,T.attributes=k,u?function(e){var t=e.prefix,n=e.iconName,r=e.children,o=e.attributes,a=e.symbol,s=!0===a?"".concat(t,"-").concat(ue.cssPrefix,"-").concat(n):a;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:i(i({},o),{},{id:s}),children:r}]}]}(T):function(e){var t=e.children,n=e.main,r=e.mask,o=e.attributes,a=e.styles,s=e.transform;if(ye(s)&&n.found&&!r.found){var u={x:n.width/n.height/2,y:.5};o.style=me(i(i({},a),{},{"transform-origin":"".concat(u.x+s.x/16,"em ").concat(u.y+s.y/16,"em")}))}return[{tag:"svg",attributes:o,children:t}]}(T)}function yt(e){var t=e.content,n=e.width,r=e.height,o=e.transform,a=e.title,s=e.extra,u=e.watchable,c=void 0!==u&&u,l=i(i(i({},s.attributes),a?{title:a}:{}),{},{class:s.classes.join(" ")});c&&(l[I]="");var f=i({},s.styles);ye(o)&&(f.transform=function(e){var t=e.transform,n=e.width,r=void 0===n?16:n,i=e.height,o=void 0===i?16:i,a=e.startCentered,s=void 0!==a&&a,u="";return u+=s&&L?"translate(".concat(t.x/le-r/2,"em, ").concat(t.y/le-o/2,"em) "):s?"translate(calc(-50% + ".concat(t.x/le,"em), calc(-50% + ").concat(t.y/le,"em)) "):"translate(".concat(t.x/le,"em, ").concat(t.y/le,"em) "),u+="scale(".concat(t.size/le*(t.flipX?-1:1),", ").concat(t.size/le*(t.flipY?-1:1),") "),u+"rotate(".concat(t.rotate,"deg) ")}({transform:o,startCentered:!0,width:n,height:r}),f["-webkit-transform"]=f.transform);var d=me(f);d.length>0&&(l.style=d);var p=[];return p.push({tag:"span",attributes:l,children:[t]}),a&&p.push({tag:"span",attributes:{class:"sr-only"},children:[a]}),p}function vt(e){var t=e.content,n=e.title,r=e.extra,o=i(i(i({},r.attributes),n?{title:n}:{}),{},{class:r.classes.join(" ")}),a=me(r.styles);a.length>0&&(o.style=a);var s=[];return s.push({tag:"span",attributes:o,children:[t]}),n&&s.push({tag:"span",attributes:{class:"sr-only"},children:[n]}),s}var bt=xe.styles;function _t(e){var t=e[0],n=e[1],r=u(e.slice(4),1)[0];return{found:!0,width:t,height:n,icon:Array.isArray(r)?{tag:"g",attributes:{class:"".concat(ue.cssPrefix,"-").concat(J)},children:[{tag:"path",attributes:{class:"".concat(ue.cssPrefix,"-").concat(ne),fill:"currentColor",d:r[0]}},{tag:"path",attributes:{class:"".concat(ue.cssPrefix,"-").concat(te),fill:"currentColor",d:r[1]}}]}:{tag:"path",attributes:{fill:"currentColor",d:r}}}}var wt={found:!1,width:512,height:512};function Tt(e,t){var n=t;return"fa"===t&&null!==ue.styleDefault&&(t=Qe()),new Promise((function(r,o){ct("missingIconAbstract");if("fa"===n){var a=Xe(e)||{};e=a.iconName||e,t=a.prefix||t}if(e&&t&&bt[t]&&bt[t][e])return r(_t(bt[t][e]));!function(e,t){N||ue.showMissingIcons||!e||console.error('Icon with name "'.concat(e,'" and prefix "').concat(t,'" is missing.'))}(e,t),r(i(i({},wt),{},{icon:ue.showMissingIcons&&e&&ct("missingIconAbstract")||{}}))}))}var xt=function(){},St=ue.measurePerformance&&O&&O.mark&&O.measure?O:{mark:xt,measure:xt},kt='FA "6.2.1"',Et=function(e){St.mark("".concat(kt," ").concat(e," ends")),St.measure("".concat(kt," ").concat(e),"".concat(kt," ").concat(e," begins"),"".concat(kt," ").concat(e," ends"))},Ot=function(e){return St.mark("".concat(kt," ").concat(e," begins")),function(){return Et(e)}},Ct=function(){};function Lt(e){return"string"==typeof(e.getAttribute?e.getAttribute(I):null)}function At(e){return k.createElementNS("http://www.w3.org/2000/svg",e)}function It(e){return k.createElement(e)}function Pt(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.ceFn,r=void 0===n?"svg"===e.tag?At:It:n;if("string"==typeof e)return k.createTextNode(e);var i=r(e.tag);Object.keys(e.attributes||[]).forEach((function(t){i.setAttribute(t,e.attributes[t])}));var o=e.children||[];return o.forEach((function(e){i.appendChild(Pt(e,{ceFn:r}))})),i}var Mt={replace:function(e){var t=e[0];if(t.parentNode)if(e[1].forEach((function(e){t.parentNode.insertBefore(Pt(e),t)})),null===t.getAttribute(I)&&ue.keepOriginalSource){var n=k.createComment(function(e){var t=" ".concat(e.outerHTML," ");return"".concat(t,"Font Awesome fontawesome.com ")}(t));t.parentNode.replaceChild(n,t)}else t.remove()},nest:function(e){var t=e[0],n=e[1];if(~he(t).indexOf(ue.replacementClass))return Mt.replace(e);var r=new RegExp("".concat(ue.cssPrefix,"-.*"));if(delete n[0].attributes.id,n[0].attributes.class){var i=n[0].attributes.class.split(" ").reduce((function(e,t){return t===ue.replacementClass||t.match(r)?e.toSvg.push(t):e.toNode.push(t),e}),{toNode:[],toSvg:[]});n[0].attributes.class=i.toSvg.join(" "),0===i.toNode.length?t.removeAttribute("class"):t.setAttribute("class",i.toNode.join(" "))}var o=n.map((function(e){return Oe(e)})).join("\n");t.setAttribute(I,""),t.innerHTML=o}};function Rt(e){e()}function jt(e,t){var n="function"==typeof t?t:Ct;if(0===e.length)n();else{var r=Rt;"async"===ue.mutateApproach&&(r=S.requestAnimationFrame||Rt),r((function(){var t=!0===ue.autoReplaceSvg?Mt.replace:Mt[ue.autoReplaceSvg]||Mt.replace,r=Ot("mutate");e.map(t),r(),n()}))}}var Dt=!1;function Nt(){Dt=!0}function Bt(){Dt=!1}var Ut=null;function Ft(e){if(E&&ue.observeMutations){var t=e.treeCallback,n=void 0===t?Ct:t,r=e.nodeCallback,i=void 0===r?Ct:r,o=e.pseudoElementsCallback,a=void 0===o?Ct:o,s=e.observeMutationsRoot,u=void 0===s?k:s;Ut=new E((function(e){if(!Dt){var t=Qe();pe(e).forEach((function(e){if("childList"===e.type&&e.addedNodes.length>0&&!Lt(e.addedNodes[0])&&(ue.searchPseudoElements&&a(e.target),n(e.target)),"attributes"===e.type&&e.target.parentNode&&ue.searchPseudoElements&&a(e.target.parentNode),"attributes"===e.type&&Lt(e.target)&&~Q.indexOf(e.attributeName))if("class"===e.attributeName&&function(e){var t=e.getAttribute?e.getAttribute(M):null,n=e.getAttribute?e.getAttribute(R):null;return t&&n}(e.target)){var r=tt(he(e.target)),o=r.prefix,s=r.iconName;e.target.setAttribute(M,o||t),s&&e.target.setAttribute(R,s)}else(u=e.target)&&u.classList&&u.classList.contains&&u.classList.contains(ue.replacementClass)&&i(e.target);var u}))}})),C&&Ut.observe(u,{childList:!0,attributes:!0,characterData:!0,subtree:!0})}}function zt(e){var t=e.getAttribute("style"),n=[];return t&&(n=t.split(";").reduce((function(e,t){var n=t.split(":"),r=n[0],i=n.slice(1);return r&&i.length>0&&(e[r]=i.join(":").trim()),e}),{})),n}function Ht(e){var t,n,r=e.getAttribute("data-prefix"),i=e.getAttribute("data-icon"),o=void 0!==e.innerText?e.innerText.trim():"",a=tt(he(e));return a.prefix||(a.prefix=Qe()),r&&i&&(a.prefix=r,a.iconName=i),a.iconName&&a.prefix||(a.prefix&&o.length>0&&(a.iconName=(t=a.prefix,n=e.innerText,(ze[t]||{})[n]||Ye(a.prefix,Ae(e.innerText)))),!a.iconName&&ue.autoFetchSvg&&e.firstChild&&e.firstChild.nodeType===Node.TEXT_NODE&&(a.iconName=e.firstChild.data)),a}function Zt(e){var t=pe(e.attributes).reduce((function(e,t){return"class"!==e.name&&"style"!==e.name&&(e[t.name]=t.value),e}),{}),n=e.getAttribute("title"),r=e.getAttribute("data-fa-title-id");return ue.autoA11y&&(n?t["aria-labelledby"]="".concat(ue.replacementClass,"-title-").concat(r||de()):(t["aria-hidden"]="true",t.focusable="false")),t}function qt(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{styleParser:!0},n=Ht(e),r=n.iconName,o=n.prefix,a=n.rest,s=Zt(e),u=st("parseNodeAttributes",{},e),c=t.styleParser?zt(e):[];return i({iconName:r,title:e.getAttribute("title"),titleId:e.getAttribute("data-fa-title-id"),prefix:o,transform:fe,mask:{iconName:null,prefix:null,rest:[]},maskId:null,symbol:!1,extra:{classes:a,styles:c,attributes:s}},u)}var Vt=xe.styles;function Wt(e){var t="nest"===ue.autoReplaceSvg?qt(e,{styleParser:!1}):qt(e);return~t.extra.classes.indexOf(G)?ct("generateLayersText",e,t):ct("generateSvgReplacementMutation",e,t)}var Gt=new Set;function $t(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(!C)return Promise.resolve();var n=k.documentElement.classList,r=function(e){return n.add("".concat(j,"-").concat(e))},i=function(e){return n.remove("".concat(j,"-").concat(e))},o=ue.autoFetchSvg?Gt:F.map((function(e){return"fa-".concat(e)})).concat(Object.keys(Vt));o.includes("fa")||o.push("fa");var a=[".".concat(G,":not([").concat(I,"])")].concat(o.map((function(e){return".".concat(e,":not([").concat(I,"])")}))).join(", ");if(0===a.length)return Promise.resolve();var s=[];try{s=pe(e.querySelectorAll(a))}catch(e){}if(!(s.length>0))return Promise.resolve();r("pending"),i("complete");var u=Ot("onTree"),c=s.reduce((function(e,t){try{var n=Wt(t);n&&e.push(n)}catch(e){N||"MissingIcon"===e.name&&console.error(e)}return e}),[]);return new Promise((function(e,n){Promise.all(c).then((function(n){jt(n,(function(){r("active"),r("complete"),i("pending"),"function"==typeof t&&t(),u(),e()}))})).catch((function(e){u(),n(e)}))}))}function Yt(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;Wt(e).then((function(e){e&&jt([e],t)}))}F.map((function(e){Gt.add("fa-".concat(e))})),Object.keys(H.classic).map(Gt.add.bind(Gt)),Object.keys(H.sharp).map(Gt.add.bind(Gt)),Gt=c(Gt);var Kt=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.transform,r=void 0===n?fe:n,o=t.symbol,a=void 0!==o&&o,s=t.mask,u=void 0===s?null:s,c=t.maskId,l=void 0===c?null:c,f=t.title,d=void 0===f?null:f,p=t.titleId,h=void 0===p?null:p,g=t.classes,m=void 0===g?[]:g,y=t.attributes,v=void 0===y?{}:y,b=t.styles,_=void 0===b?{}:b;if(e){var w=e.prefix,T=e.iconName,x=e.icon;return gt(i({type:"icon"},e),(function(){return ut("beforeDOMElementCreation",{iconDefinition:e,params:t}),ue.autoA11y&&(d?v["aria-labelledby"]="".concat(ue.replacementClass,"-title-").concat(h||de()):(v["aria-hidden"]="true",v.focusable="false")),mt({icons:{main:_t(x),mask:u?_t(u.icon):{found:!1,width:null,height:null,icon:{}}},prefix:w,iconName:T,transform:i(i({},fe),r),symbol:a,title:d,maskId:l,titleId:h,extra:{attributes:v,styles:_,classes:m}})}))}},Xt={mixout:function(){return{icon:(e=Kt,function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=(t||{}).icon?t:lt(t||{}),o=n.mask;return o&&(o=(o||{}).icon?o:lt(o||{})),e(r,i(i({},n),{},{mask:o}))})};var e},hooks:function(){return{mutationObserverCallbacks:function(e){return e.treeCallback=$t,e.nodeCallback=Yt,e}}},provides:function(e){e.i2svg=function(e){var t=e.node,n=void 0===t?k:t,r=e.callback;return $t(n,void 0===r?function(){}:r)},e.generateSvgReplacementMutation=function(e,t){var n=t.iconName,r=t.title,i=t.titleId,o=t.prefix,a=t.transform,s=t.symbol,c=t.mask,l=t.maskId,f=t.extra;return new Promise((function(t,d){Promise.all([Tt(n,o),c.iconName?Tt(c.iconName,c.prefix):Promise.resolve({found:!1,width:512,height:512,icon:{}})]).then((function(c){var d=u(c,2),p=d[0],h=d[1];t([e,mt({icons:{main:p,mask:h},prefix:o,iconName:n,transform:a,symbol:s,maskId:l,title:r,titleId:i,extra:f,watchable:!0})])})).catch(d)}))},e.generateAbstractIcon=function(e){var t,n=e.children,r=e.attributes,i=e.main,o=e.transform,a=me(e.styles);return a.length>0&&(r.style=a),ye(o)&&(t=ct("generateAbstractTransformGrouping",{main:i,transform:o,containerWidth:i.width,iconWidth:i.width})),n.push(t||i.icon),{children:n,attributes:r}}}},Qt={mixout:function(){return{layer:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.classes,r=void 0===n?[]:n;return gt({type:"layer"},(function(){ut("beforeDOMElementCreation",{assembler:e,params:t});var n=[];return e((function(e){Array.isArray(e)?e.map((function(e){n=n.concat(e.abstract)})):n=n.concat(e.abstract)})),[{tag:"span",attributes:{class:["".concat(ue.cssPrefix,"-layers")].concat(c(r)).join(" ")},children:n}]}))}}}},Jt={mixout:function(){return{counter:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.title,r=void 0===n?null:n,i=t.classes,o=void 0===i?[]:i,a=t.attributes,s=void 0===a?{}:a,u=t.styles,l=void 0===u?{}:u;return gt({type:"counter",content:e},(function(){return ut("beforeDOMElementCreation",{content:e,params:t}),vt({content:e.toString(),title:r,extra:{attributes:s,styles:l,classes:["".concat(ue.cssPrefix,"-layers-counter")].concat(c(o))}})}))}}}},en={mixout:function(){return{text:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.transform,r=void 0===n?fe:n,o=t.title,a=void 0===o?null:o,s=t.classes,u=void 0===s?[]:s,l=t.attributes,f=void 0===l?{}:l,d=t.styles,p=void 0===d?{}:d;return gt({type:"text",content:e},(function(){return ut("beforeDOMElementCreation",{content:e,params:t}),yt({content:e,transform:i(i({},fe),r),title:a,extra:{attributes:f,styles:p,classes:["".concat(ue.cssPrefix,"-layers-text")].concat(c(u))}})}))}}},provides:function(e){e.generateLayersText=function(e,t){var n=t.title,r=t.transform,i=t.extra,o=null,a=null;if(L){var s=parseInt(getComputedStyle(e).fontSize,10),u=e.getBoundingClientRect();o=u.width/s,a=u.height/s}return ue.autoA11y&&!n&&(i.attributes["aria-hidden"]="true"),Promise.resolve([e,yt({content:e.innerHTML,width:o,height:a,transform:r,title:n,extra:i,watchable:!0})])}}},tn=new RegExp('"',"ug"),nn=[1105920,1112319];function rn(e,t){var n="".concat("data-fa-pseudo-element-pending").concat(t.replace(":","-"));return new Promise((function(r,o){if(null!==e.getAttribute(n))return r();var a,s,u,c=pe(e.children).filter((function(e){return e.getAttribute(P)===t}))[0],l=S.getComputedStyle(e,t),f=l.getPropertyValue("font-family").match($),d=l.getPropertyValue("font-weight"),p=l.getPropertyValue("content");if(c&&!f)return e.removeChild(c),r();if(f&&"none"!==p&&""!==p){var h=l.getPropertyValue("content"),g=~["Sharp"].indexOf(f[2])?U:B,m=~["Solid","Regular","Light","Thin","Duotone","Brands","Kit"].indexOf(f[2])?Z[g][f[2].toLowerCase()]:Y[g][d],y=function(e){var t,n,r,i,o,a=e.replace(tn,""),s=(n=0,i=(t=a).length,(o=t.charCodeAt(n))>=55296&&o<=56319&&i>n+1&&(r=t.charCodeAt(n+1))>=56320&&r<=57343?1024*(o-55296)+r-56320+65536:o),u=s>=nn[0]&&s<=nn[1],c=2===a.length&&a[0]===a[1];return{value:Ae(c?a[0]:a),isSecondary:u||c}}(h),v=y.value,b=y.isSecondary,_=f[0].startsWith("FontAwesome"),w=Ye(m,v),T=w;if(_){var x=(s=Ze[a=v],u=Ye("fas",a),s||(u?{prefix:"fas",iconName:u}:null)||{prefix:null,iconName:null});x.iconName&&x.prefix&&(w=x.iconName,m=x.prefix)}if(!w||b||c&&c.getAttribute(M)===m&&c.getAttribute(R)===T)r();else{e.setAttribute(n,T),c&&e.removeChild(c);var E={iconName:null,title:null,titleId:null,prefix:null,transform:fe,symbol:!1,mask:{iconName:null,prefix:null,rest:[]},maskId:null,extra:{classes:[],styles:{},attributes:{}}},O=E.extra;O.attributes[P]=t,Tt(w,m).then((function(o){var a=mt(i(i({},E),{},{icons:{main:o,mask:{prefix:null,iconName:null,rest:[]}},prefix:m,iconName:T,extra:O,watchable:!0})),s=k.createElement("svg");"::before"===t?e.insertBefore(s,e.firstChild):e.appendChild(s),s.outerHTML=a.map((function(e){return Oe(e)})).join("\n"),e.removeAttribute(n),r()})).catch(o)}}else r()}))}function on(e){return Promise.all([rn(e,"::before"),rn(e,"::after")])}function an(e){return!(e.parentNode===document.head||~D.indexOf(e.tagName.toUpperCase())||e.getAttribute(P)||e.parentNode&&"svg"===e.parentNode.tagName)}function sn(e){if(C)return new Promise((function(t,n){var r=pe(e.querySelectorAll("*")).filter(an).map(on),i=Ot("searchPseudoElements");Nt(),Promise.all(r).then((function(){i(),Bt(),t()})).catch((function(){i(),Bt(),n()}))}))}var un=!1,cn=function(e){return e.toLowerCase().split(" ").reduce((function(e,t){var n=t.toLowerCase().split("-"),r=n[0],i=n.slice(1).join("-");if(r&&"h"===i)return e.flipX=!0,e;if(r&&"v"===i)return e.flipY=!0,e;if(i=parseFloat(i),isNaN(i))return e;switch(r){case"grow":e.size=e.size+i;break;case"shrink":e.size=e.size-i;break;case"left":e.x=e.x-i;break;case"right":e.x=e.x+i;break;case"up":e.y=e.y-i;break;case"down":e.y=e.y+i;break;case"rotate":e.rotate=e.rotate+i}return e}),{size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0})},ln={mixout:function(){return{parse:{transform:function(e){return cn(e)}}}},hooks:function(){return{parseNodeAttributes:function(e,t){var n=t.getAttribute("data-fa-transform");return n&&(e.transform=cn(n)),e}}},provides:function(e){e.generateAbstractTransformGrouping=function(e){var t=e.main,n=e.transform,r=e.containerWidth,o=e.iconWidth,a={transform:"translate(".concat(r/2," 256)")},s="translate(".concat(32*n.x,", ").concat(32*n.y,") "),u="scale(".concat(n.size/16*(n.flipX?-1:1),", ").concat(n.size/16*(n.flipY?-1:1),") "),c="rotate(".concat(n.rotate," 0 0)"),l={outer:a,inner:{transform:"".concat(s," ").concat(u," ").concat(c)},path:{transform:"translate(".concat(o/2*-1," -256)")}};return{tag:"g",attributes:i({},l.outer),children:[{tag:"g",attributes:i({},l.inner),children:[{tag:t.icon.tag,children:t.icon.children,attributes:i(i({},t.icon.attributes),l.path)}]}]}}}},fn={x:0,y:0,width:"100%",height:"100%"};function dn(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return e.attributes&&(e.attributes.fill||t)&&(e.attributes.fill="black"),e}var pn={hooks:function(){return{parseNodeAttributes:function(e,t){var n=t.getAttribute("data-fa-mask"),r=n?tt(n.split(" ").map((function(e){return e.trim()}))):{prefix:null,iconName:null,rest:[]};return r.prefix||(r.prefix=Qe()),e.mask=r,e.maskId=t.getAttribute("data-fa-mask-id"),e}}},provides:function(e){e.generateAbstractMask=function(e){var t,n=e.children,r=e.attributes,o=e.main,a=e.mask,s=e.maskId,u=e.transform,c=o.width,l=o.icon,f=a.width,d=a.icon,p=function(e){var t=e.transform,n=e.containerWidth,r=e.iconWidth,i={transform:"translate(".concat(n/2," 256)")},o="translate(".concat(32*t.x,", ").concat(32*t.y,") "),a="scale(".concat(t.size/16*(t.flipX?-1:1),", ").concat(t.size/16*(t.flipY?-1:1),") "),s="rotate(".concat(t.rotate," 0 0)");return{outer:i,inner:{transform:"".concat(o," ").concat(a," ").concat(s)},path:{transform:"translate(".concat(r/2*-1," -256)")}}}({transform:u,containerWidth:f,iconWidth:c}),h={tag:"rect",attributes:i(i({},fn),{},{fill:"white"})},g=l.children?{children:l.children.map(dn)}:{},m={tag:"g",attributes:i({},p.inner),children:[dn(i({tag:l.tag,attributes:i(i({},l.attributes),p.path)},g))]},y={tag:"g",attributes:i({},p.outer),children:[m]},v="mask-".concat(s||de()),b="clip-".concat(s||de()),_={tag:"mask",attributes:i(i({},fn),{},{id:v,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[h,y]},w={tag:"defs",children:[{tag:"clipPath",attributes:{id:b},children:(t=d,"g"===t.tag?t.children:[t])},_]};return n.push(w,{tag:"rect",attributes:i({fill:"currentColor","clip-path":"url(#".concat(b,")"),mask:"url(#".concat(v,")")},fn)}),{children:n,attributes:r}}}},hn={provides:function(e){var t=!1;S.matchMedia&&(t=S.matchMedia("(prefers-reduced-motion: reduce)").matches),e.missingIconAbstract=function(){var e=[],n={fill:"currentColor"},r={attributeType:"XML",repeatCount:"indefinite",dur:"2s"};e.push({tag:"path",attributes:i(i({},n),{},{d:"M156.5,447.7l-12.6,29.5c-18.7-9.5-35.9-21.2-51.5-34.9l22.7-22.7C127.6,430.5,141.5,440,156.5,447.7z M40.6,272H8.5 c1.4,21.2,5.4,41.7,11.7,61.1L50,321.2C45.1,305.5,41.8,289,40.6,272z M40.6,240c1.4-18.8,5.2-37,11.1-54.1l-29.5-12.6 C14.7,194.3,10,216.7,8.5,240H40.6z M64.3,156.5c7.8-14.9,17.2-28.8,28.1-41.5L69.7,92.3c-13.7,15.6-25.5,32.8-34.9,51.5 L64.3,156.5z M397,419.6c-13.9,12-29.4,22.3-46.1,30.4l11.9,29.8c20.7-9.9,39.8-22.6,56.9-37.6L397,419.6z M115,92.4 c13.9-12,29.4-22.3,46.1-30.4l-11.9-29.8c-20.7,9.9-39.8,22.6-56.8,37.6L115,92.4z M447.7,355.5c-7.8,14.9-17.2,28.8-28.1,41.5 l22.7,22.7c13.7-15.6,25.5-32.9,34.9-51.5L447.7,355.5z M471.4,272c-1.4,18.8-5.2,37-11.1,54.1l29.5,12.6 c7.5-21.1,12.2-43.5,13.6-66.8H471.4z M321.2,462c-15.7,5-32.2,8.2-49.2,9.4v32.1c21.2-1.4,41.7-5.4,61.1-11.7L321.2,462z M240,471.4c-18.8-1.4-37-5.2-54.1-11.1l-12.6,29.5c21.1,7.5,43.5,12.2,66.8,13.6V471.4z M462,190.8c5,15.7,8.2,32.2,9.4,49.2h32.1 c-1.4-21.2-5.4-41.7-11.7-61.1L462,190.8z M92.4,397c-12-13.9-22.3-29.4-30.4-46.1l-29.8,11.9c9.9,20.7,22.6,39.8,37.6,56.9 L92.4,397z M272,40.6c18.8,1.4,36.9,5.2,54.1,11.1l12.6-29.5C317.7,14.7,295.3,10,272,8.5V40.6z M190.8,50 c15.7-5,32.2-8.2,49.2-9.4V8.5c-21.2,1.4-41.7,5.4-61.1,11.7L190.8,50z M442.3,92.3L419.6,115c12,13.9,22.3,29.4,30.5,46.1 l29.8-11.9C470,128.5,457.3,109.4,442.3,92.3z M397,92.4l22.7-22.7c-15.6-13.7-32.8-25.5-51.5-34.9l-12.6,29.5 C370.4,72.1,384.4,81.5,397,92.4z"})});var o=i(i({},r),{},{attributeName:"opacity"}),a={tag:"circle",attributes:i(i({},n),{},{cx:"256",cy:"364",r:"28"}),children:[]};return t||a.children.push({tag:"animate",attributes:i(i({},r),{},{attributeName:"r",values:"28;14;28;28;14;28;"})},{tag:"animate",attributes:i(i({},o),{},{values:"1;0;1;1;0;1;"})}),e.push(a),e.push({tag:"path",attributes:i(i({},n),{},{opacity:"1",d:"M263.7,312h-16c-6.6,0-12-5.4-12-12c0-71,77.4-63.9,77.4-107.8c0-20-17.8-40.2-57.4-40.2c-29.1,0-44.3,9.6-59.2,28.7 c-3.9,5-11.1,6-16.2,2.4l-13.1-9.2c-5.6-3.9-6.9-11.8-2.6-17.2c21.2-27.2,46.4-44.7,91.2-44.7c52.3,0,97.4,29.8,97.4,80.2 c0,67.6-77.4,63.5-77.4,107.8C275.7,306.6,270.3,312,263.7,312z"}),children:t?[]:[{tag:"animate",attributes:i(i({},o),{},{values:"1;0;0;0;0;1;"})}]}),t||e.push({tag:"path",attributes:i(i({},n),{},{opacity:"0",d:"M232.5,134.5l7,168c0.3,6.4,5.6,11.5,12,11.5h9c6.4,0,11.7-5.1,12-11.5l7-168c0.3-6.8-5.2-12.5-12-12.5h-23 C237.7,122,232.2,127.7,232.5,134.5z"}),children:[{tag:"animate",attributes:i(i({},o),{},{values:"0;0;1;1;0;0;"})}]}),{tag:"g",attributes:{class:"missing"},children:e}}}};!function(e,t){var n=t.mixoutsTo;rt=e,it={},Object.keys(ot).forEach((function(e){-1===at.indexOf(e)&&delete ot[e]})),rt.forEach((function(e){var t=e.mixout?e.mixout():{};if(Object.keys(t).forEach((function(e){"function"==typeof t[e]&&(n[e]=t[e]),"object"===o(t[e])&&Object.keys(t[e]).forEach((function(r){n[e]||(n[e]={}),n[e][r]=t[e][r]}))})),e.hooks){var r=e.hooks();Object.keys(r).forEach((function(e){it[e]||(it[e]=[]),it[e].push(r[e])}))}e.provides&&e.provides(ot)}))}([we,Xt,Qt,Jt,en,{hooks:function(){return{mutationObserverCallbacks:function(e){return e.pseudoElementsCallback=sn,e}}},provides:function(e){e.pseudoElements2svg=function(e){var t=e.node,n=void 0===t?k:t;ue.searchPseudoElements&&sn(n)}}},{mixout:function(){return{dom:{unwatch:function(){Nt(),un=!0}}}},hooks:function(){return{bootstrap:function(){Ft(st("mutationObserverCallbacks",{}))},noAuto:function(){Ut&&Ut.disconnect()},watch:function(e){var t=e.observeMutationsRoot;un?Bt():Ft(st("mutationObserverCallbacks",{observeMutationsRoot:t}))}}}},ln,pn,hn,{hooks:function(){return{parseNodeAttributes:function(e,t){var n=t.getAttribute("data-fa-symbol"),r=null!==n&&(""===n||n);return e.symbol=r,e}}}}],{mixoutsTo:pt});var gn=pt.library,mn=pt.dom,yn=pt.parse,vn=pt.icon},29204:function(e,t,n){"use strict";n.d(t,{Mw:function(){return s}});var r=n(71257);const{Axios:i,AxiosError:o,CanceledError:a,isCancel:s,CancelToken:u,VERSION:c,all:l,Cancel:f,isAxiosError:d,spread:p,toFormData:h,AxiosHeaders:g,HttpStatusCode:m,formToJSON:y,getAdapter:v,mergeConfig:b}=r.Z},71257:function(e,t,n){"use strict";n.d(t,{Z:function(){return Ge}});var r={};function i(e,t){return function(){return e.apply(t,arguments)}}n.r(r),n.d(r,{hasBrowserEnv:function(){return re},hasStandardBrowserEnv:function(){return ie},hasStandardBrowserWebWorkerEnv:function(){return ae}});const{toString:o}=Object.prototype,{getPrototypeOf:a}=Object,s=(u=Object.create(null),e=>{const t=o.call(e);return u[t]||(u[t]=t.slice(8,-1).toLowerCase())});var u;const c=e=>(e=e.toLowerCase(),t=>s(t)===e),l=e=>t=>typeof t===e,{isArray:f}=Array,d=l("undefined");const p=c("ArrayBuffer");const h=l("string"),g=l("function"),m=l("number"),y=e=>null!==e&&"object"==typeof e,v=e=>{if("object"!==s(e))return!1;const t=a(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||Symbol.toStringTag in e||Symbol.iterator in e)},b=c("Date"),_=c("File"),w=c("Blob"),T=c("FileList"),x=c("URLSearchParams");function S(e,t,{allOwnKeys:n=!1}={}){if(null==e)return;let r,i;if("object"!=typeof e&&(e=[e]),f(e))for(r=0,i=e.length;r<i;r++)t.call(null,e[r],r,e);else{const i=n?Object.getOwnPropertyNames(e):Object.keys(e),o=i.length;let a;for(r=0;r<o;r++)a=i[r],t.call(null,e[a],a,e)}}function k(e,t){t=t.toLowerCase();const n=Object.keys(e);let r,i=n.length;for(;i-- >0;)if(r=n[i],t===r.toLowerCase())return r;return null}const E="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:global,O=e=>!d(e)&&e!==E;const C=(L="undefined"!=typeof Uint8Array&&a(Uint8Array),e=>L&&e instanceof L);var L;const A=c("HTMLFormElement"),I=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),P=c("RegExp"),M=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};S(n,((n,i)=>{let o;!1!==(o=t(n,i,e))&&(r[i]=o||n)})),Object.defineProperties(e,r)},R="abcdefghijklmnopqrstuvwxyz",j="0123456789",D={DIGIT:j,ALPHA:R,ALPHA_DIGIT:R+R.toUpperCase()+j};const N=c("AsyncFunction");var B={isArray:f,isArrayBuffer:p,isBuffer:function(e){return null!==e&&!d(e)&&null!==e.constructor&&!d(e.constructor)&&g(e.constructor.isBuffer)&&e.constructor.isBuffer(e)},isFormData:e=>{let t;return e&&("function"==typeof FormData&&e instanceof FormData||g(e.append)&&("formdata"===(t=s(e))||"object"===t&&g(e.toString)&&"[object FormData]"===e.toString()))},isArrayBufferView:function(e){let t;return t="undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&p(e.buffer),t},isString:h,isNumber:m,isBoolean:e=>!0===e||!1===e,isObject:y,isPlainObject:v,isUndefined:d,isDate:b,isFile:_,isBlob:w,isRegExp:P,isFunction:g,isStream:e=>y(e)&&g(e.pipe),isURLSearchParams:x,isTypedArray:C,isFileList:T,forEach:S,merge:function e(){const{caseless:t}=O(this)&&this||{},n={},r=(r,i)=>{const o=t&&k(n,i)||i;v(n[o])&&v(r)?n[o]=e(n[o],r):v(r)?n[o]=e({},r):f(r)?n[o]=r.slice():n[o]=r};for(let e=0,t=arguments.length;e<t;e++)arguments[e]&&S(arguments[e],r);return n},extend:(e,t,n,{allOwnKeys:r}={})=>(S(t,((t,r)=>{n&&g(t)?e[r]=i(t,n):e[r]=t}),{allOwnKeys:r}),e),trim:e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),stripBOM:e=>(65279===e.charCodeAt(0)&&(e=e.slice(1)),e),inherits:(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},toFlatObject:(e,t,n,r)=>{let i,o,s;const u={};if(t=t||{},null==e)return t;do{for(i=Object.getOwnPropertyNames(e),o=i.length;o-- >0;)s=i[o],r&&!r(s,e,t)||u[s]||(t[s]=e[s],u[s]=!0);e=!1!==n&&a(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},kindOf:s,kindOfTest:c,endsWith:(e,t,n)=>{e=String(e),(void 0===n||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return-1!==r&&r===n},toArray:e=>{if(!e)return null;if(f(e))return e;let t=e.length;if(!m(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},forEachEntry:(e,t)=>{const n=(e&&e[Symbol.iterator]).call(e);let r;for(;(r=n.next())&&!r.done;){const n=r.value;t.call(e,n[0],n[1])}},matchAll:(e,t)=>{let n;const r=[];for(;null!==(n=e.exec(t));)r.push(n);return r},isHTMLForm:A,hasOwnProperty:I,hasOwnProp:I,reduceDescriptors:M,freezeMethods:e=>{M(e,((t,n)=>{if(g(e)&&-1!==["arguments","caller","callee"].indexOf(n))return!1;const r=e[n];g(r)&&(t.enumerable=!1,"writable"in t?t.writable=!1:t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")}))}))},toObjectSet:(e,t)=>{const n={},r=e=>{e.forEach((e=>{n[e]=!0}))};return f(e)?r(e):r(String(e).split(t)),n},toCamelCase:e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,(function(e,t,n){return t.toUpperCase()+n})),noop:()=>{},toFiniteNumber:(e,t)=>(e=+e,Number.isFinite(e)?e:t),findKey:k,global:E,isContextDefined:O,ALPHABET:D,generateString:(e=16,t=D.ALPHA_DIGIT)=>{let n="";const{length:r}=t;for(;e--;)n+=t[Math.random()*r|0];return n},isSpecCompliantForm:function(e){return!!(e&&g(e.append)&&"FormData"===e[Symbol.toStringTag]&&e[Symbol.iterator])},toJSONObject:e=>{const t=new Array(10),n=(e,r)=>{if(y(e)){if(t.indexOf(e)>=0)return;if(!("toJSON"in e)){t[r]=e;const i=f(e)?[]:{};return S(e,((e,t)=>{const o=n(e,r+1);!d(o)&&(i[t]=o)})),t[r]=void 0,i}}return e};return n(e,0)},isAsyncFn:N,isThenable:e=>e&&(y(e)||g(e))&&g(e.then)&&g(e.catch)};function U(e,t,n,r,i){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),i&&(this.response=i)}B.inherits(U,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:B.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const F=U.prototype,z={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach((e=>{z[e]={value:e}})),Object.defineProperties(U,z),Object.defineProperty(F,"isAxiosError",{value:!0}),U.from=(e,t,n,r,i,o)=>{const a=Object.create(F);return B.toFlatObject(e,a,(function(e){return e!==Error.prototype}),(e=>"isAxiosError"!==e)),U.call(a,e.message,t,n,r,i),a.cause=e,a.name=e.name,o&&Object.assign(a,o),a};var H=U;function Z(e){return B.isPlainObject(e)||B.isArray(e)}function q(e){return B.endsWith(e,"[]")?e.slice(0,-2):e}function V(e,t,n){return e?e.concat(t).map((function(e,t){return e=q(e),!n&&t?"["+e+"]":e})).join(n?".":""):t}const W=B.toFlatObject(B,{},null,(function(e){return/^is[A-Z]/.test(e)}));var G=function(e,t,n){if(!B.isObject(e))throw new TypeError("target must be an object");t=t||new FormData;const r=(n=B.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,(function(e,t){return!B.isUndefined(t[e])}))).metaTokens,i=n.visitor||c,o=n.dots,a=n.indexes,s=(n.Blob||"undefined"!=typeof Blob&&Blob)&&B.isSpecCompliantForm(t);if(!B.isFunction(i))throw new TypeError("visitor must be a function");function u(e){if(null===e)return"";if(B.isDate(e))return e.toISOString();if(!s&&B.isBlob(e))throw new H("Blob is not supported. Use a Buffer instead.");return B.isArrayBuffer(e)||B.isTypedArray(e)?s&&"function"==typeof Blob?new Blob([e]):Buffer.from(e):e}function c(e,n,i){let s=e;if(e&&!i&&"object"==typeof e)if(B.endsWith(n,"{}"))n=r?n:n.slice(0,-2),e=JSON.stringify(e);else if(B.isArray(e)&&function(e){return B.isArray(e)&&!e.some(Z)}(e)||(B.isFileList(e)||B.endsWith(n,"[]"))&&(s=B.toArray(e)))return n=q(n),s.forEach((function(e,r){!B.isUndefined(e)&&null!==e&&t.append(!0===a?V([n],r,o):null===a?n:n+"[]",u(e))})),!1;return!!Z(e)||(t.append(V(i,n,o),u(e)),!1)}const l=[],f=Object.assign(W,{defaultVisitor:c,convertValue:u,isVisitable:Z});if(!B.isObject(e))throw new TypeError("data must be an object");return function e(n,r){if(!B.isUndefined(n)){if(-1!==l.indexOf(n))throw Error("Circular reference detected in "+r.join("."));l.push(n),B.forEach(n,(function(n,o){!0===(!(B.isUndefined(n)||null===n)&&i.call(t,n,B.isString(o)?o.trim():o,r,f))&&e(n,r?r.concat(o):[o])})),l.pop()}}(e),t};function $(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,(function(e){return t[e]}))}function Y(e,t){this._pairs=[],e&&G(e,this,t)}const K=Y.prototype;K.append=function(e,t){this._pairs.push([e,t])},K.toString=function(e){const t=e?function(t){return e.call(this,t,$)}:$;return this._pairs.map((function(e){return t(e[0])+"="+t(e[1])}),"").join("&")};var X=Y;function Q(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function J(e,t,n){if(!t)return e;const r=n&&n.encode||Q,i=n&&n.serialize;let o;if(o=i?i(t,n):B.isURLSearchParams(t)?t.toString():new X(t,n).toString(r),o){const t=e.indexOf("#");-1!==t&&(e=e.slice(0,t)),e+=(-1===e.indexOf("?")?"?":"&")+o}return e}var ee=class{constructor(){this.handlers=[]}use(e,t,n){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){B.forEach(this.handlers,(function(t){null!==t&&e(t)}))}},te={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},ne={isBrowser:!0,classes:{URLSearchParams:"undefined"!=typeof URLSearchParams?URLSearchParams:X,FormData:"undefined"!=typeof FormData?FormData:null,Blob:"undefined"!=typeof Blob?Blob:null},protocols:["http","https","file","blob","url","data"]};const re="undefined"!=typeof window&&"undefined"!=typeof document,ie=(oe="undefined"!=typeof navigator&&navigator.product,re&&["ReactNative","NativeScript","NS"].indexOf(oe)<0);var oe;const ae="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts;var se={...r,...ne};var ue=function(e){function t(e,n,r,i){let o=e[i++];if("__proto__"===o)return!0;const a=Number.isFinite(+o),s=i>=e.length;if(o=!o&&B.isArray(r)?r.length:o,s)return B.hasOwnProp(r,o)?r[o]=[r[o],n]:r[o]=n,!a;r[o]&&B.isObject(r[o])||(r[o]=[]);return t(e,n,r[o],i)&&B.isArray(r[o])&&(r[o]=function(e){const t={},n=Object.keys(e);let r;const i=n.length;let o;for(r=0;r<i;r++)o=n[r],t[o]=e[o];return t}(r[o])),!a}if(B.isFormData(e)&&B.isFunction(e.entries)){const n={};return B.forEachEntry(e,((e,r)=>{t(function(e){return B.matchAll(/\w+|\[(\w*)]/g,e).map((e=>"[]"===e[0]?"":e[1]||e[0]))}(e),r,n,0)})),n}return null};const ce={transitional:te,adapter:["xhr","http"],transformRequest:[function(e,t){const n=t.getContentType()||"",r=n.indexOf("application/json")>-1,i=B.isObject(e);i&&B.isHTMLForm(e)&&(e=new FormData(e));if(B.isFormData(e))return r?JSON.stringify(ue(e)):e;if(B.isArrayBuffer(e)||B.isBuffer(e)||B.isStream(e)||B.isFile(e)||B.isBlob(e))return e;if(B.isArrayBufferView(e))return e.buffer;if(B.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let o;if(i){if(n.indexOf("application/x-www-form-urlencoded")>-1)return function(e,t){return G(e,new se.classes.URLSearchParams,Object.assign({visitor:function(e,t,n,r){return se.isNode&&B.isBuffer(e)?(this.append(t,e.toString("base64")),!1):r.defaultVisitor.apply(this,arguments)}},t))}(e,this.formSerializer).toString();if((o=B.isFileList(e))||n.indexOf("multipart/form-data")>-1){const t=this.env&&this.env.FormData;return G(o?{"files[]":e}:e,t&&new t,this.formSerializer)}}return i||r?(t.setContentType("application/json",!1),function(e,t,n){if(B.isString(e))try{return(t||JSON.parse)(e),B.trim(e)}catch(e){if("SyntaxError"!==e.name)throw e}return(n||JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){const t=this.transitional||ce.transitional,n=t&&t.forcedJSONParsing,r="json"===this.responseType;if(e&&B.isString(e)&&(n&&!this.responseType||r)){const n=!(t&&t.silentJSONParsing)&&r;try{return JSON.parse(e)}catch(e){if(n){if("SyntaxError"===e.name)throw H.from(e,H.ERR_BAD_RESPONSE,this,null,this.response);throw e}}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:se.classes.FormData,Blob:se.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};B.forEach(["delete","get","head","post","put","patch"],(e=>{ce.headers[e]={}}));var le=ce;const fe=B.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]);const de=Symbol("internals");function pe(e){return e&&String(e).trim().toLowerCase()}function he(e){return!1===e||null==e?e:B.isArray(e)?e.map(he):String(e)}function ge(e,t,n,r,i){return B.isFunction(r)?r.call(this,t,n):(i&&(t=n),B.isString(t)?B.isString(r)?-1!==t.indexOf(r):B.isRegExp(r)?r.test(t):void 0:void 0)}class me{constructor(e){e&&this.set(e)}set(e,t,n){const r=this;function i(e,t,n){const i=pe(t);if(!i)throw new Error("header name must be a non-empty string");const o=B.findKey(r,i);(!o||void 0===r[o]||!0===n||void 0===n&&!1!==r[o])&&(r[o||t]=he(e))}const o=(e,t)=>B.forEach(e,((e,n)=>i(e,n,t)));return B.isPlainObject(e)||e instanceof this.constructor?o(e,t):B.isString(e)&&(e=e.trim())&&!/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim())?o((e=>{const t={};let n,r,i;return e&&e.split("\n").forEach((function(e){i=e.indexOf(":"),n=e.substring(0,i).trim().toLowerCase(),r=e.substring(i+1).trim(),!n||t[n]&&fe[n]||("set-cookie"===n?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)})),t})(e),t):null!=e&&i(t,e,n),this}get(e,t){if(e=pe(e)){const n=B.findKey(this,e);if(n){const e=this[n];if(!t)return e;if(!0===t)return function(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}(e);if(B.isFunction(t))return t.call(this,e,n);if(B.isRegExp(t))return t.exec(e);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,t){if(e=pe(e)){const n=B.findKey(this,e);return!(!n||void 0===this[n]||t&&!ge(0,this[n],n,t))}return!1}delete(e,t){const n=this;let r=!1;function i(e){if(e=pe(e)){const i=B.findKey(n,e);!i||t&&!ge(0,n[i],i,t)||(delete n[i],r=!0)}}return B.isArray(e)?e.forEach(i):i(e),r}clear(e){const t=Object.keys(this);let n=t.length,r=!1;for(;n--;){const i=t[n];e&&!ge(0,this[i],i,e,!0)||(delete this[i],r=!0)}return r}normalize(e){const t=this,n={};return B.forEach(this,((r,i)=>{const o=B.findKey(n,i);if(o)return t[o]=he(r),void delete t[i];const a=e?function(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,((e,t,n)=>t.toUpperCase()+n))}(i):String(i).trim();a!==i&&delete t[i],t[a]=he(r),n[a]=!0})),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const t=Object.create(null);return B.forEach(this,((n,r)=>{null!=n&&!1!==n&&(t[r]=e&&B.isArray(n)?n.join(", "):n)})),t}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map((([e,t])=>e+": "+t)).join("\n")}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...t){const n=new this(e);return t.forEach((e=>n.set(e))),n}static accessor(e){const t=(this[de]=this[de]={accessors:{}}).accessors,n=this.prototype;function r(e){const r=pe(e);t[r]||(!function(e,t){const n=B.toCamelCase(" "+t);["get","set","has"].forEach((r=>{Object.defineProperty(e,r+n,{value:function(e,n,i){return this[r].call(this,t,e,n,i)},configurable:!0})}))}(n,e),t[r]=!0)}return B.isArray(e)?e.forEach(r):r(e),this}}me.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),B.reduceDescriptors(me.prototype,(({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(e){this[n]=e}}})),B.freezeMethods(me);var ye=me;function ve(e,t){const n=this||le,r=t||n,i=ye.from(r.headers);let o=r.data;return B.forEach(e,(function(e){o=e.call(n,o,i.normalize(),t?t.status:void 0)})),i.normalize(),o}function be(e){return!(!e||!e.__CANCEL__)}function _e(e,t,n){H.call(this,null==e?"canceled":e,H.ERR_CANCELED,t,n),this.name="CanceledError"}B.inherits(_e,H,{__CANCEL__:!0});var we=_e;var Te=se.hasStandardBrowserEnv?{write(e,t,n,r,i,o){const a=[e+"="+encodeURIComponent(t)];B.isNumber(n)&&a.push("expires="+new Date(n).toGMTString()),B.isString(r)&&a.push("path="+r),B.isString(i)&&a.push("domain="+i),!0===o&&a.push("secure"),document.cookie=a.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read:()=>null,remove(){}};function xe(e,t){return e&&!/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)?function(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}(e,t):t}var Se=se.hasStandardBrowserEnv?function(){const e=/(msie|trident)/i.test(navigator.userAgent),t=document.createElement("a");let n;function r(n){let r=n;return e&&(t.setAttribute("href",r),r=t.href),t.setAttribute("href",r),{href:t.href,protocol:t.protocol?t.protocol.replace(/:$/,""):"",host:t.host,search:t.search?t.search.replace(/^\?/,""):"",hash:t.hash?t.hash.replace(/^#/,""):"",hostname:t.hostname,port:t.port,pathname:"/"===t.pathname.charAt(0)?t.pathname:"/"+t.pathname}}return n=r(window.location.href),function(e){const t=B.isString(e)?r(e):e;return t.protocol===n.protocol&&t.host===n.host}}():function(){return!0};var ke=function(e,t){e=e||10;const n=new Array(e),r=new Array(e);let i,o=0,a=0;return t=void 0!==t?t:1e3,function(s){const u=Date.now(),c=r[a];i||(i=u),n[o]=s,r[o]=u;let l=a,f=0;for(;l!==o;)f+=n[l++],l%=e;if(o=(o+1)%e,o===a&&(a=(a+1)%e),u-i<t)return;const d=c&&u-c;return d?Math.round(1e3*f/d):void 0}};function Ee(e,t){let n=0;const r=ke(50,250);return i=>{const o=i.loaded,a=i.lengthComputable?i.total:void 0,s=o-n,u=r(s);n=o;const c={loaded:o,total:a,progress:a?o/a:void 0,bytes:s,rate:u||void 0,estimated:u&&a&&o<=a?(a-o)/u:void 0,event:i};c[t?"download":"upload"]=!0,e(c)}}const Oe={http:null,xhr:"undefined"!=typeof XMLHttpRequest&&function(e){return new Promise((function(t,n){let r=e.data;const i=ye.from(e.headers).normalize();let o,a,{responseType:s,withXSRFToken:u}=e;function c(){e.cancelToken&&e.cancelToken.unsubscribe(o),e.signal&&e.signal.removeEventListener("abort",o)}if(B.isFormData(r))if(se.hasStandardBrowserEnv||se.hasStandardBrowserWebWorkerEnv)i.setContentType(!1);else if(!1!==(a=i.getContentType())){const[e,...t]=a?a.split(";").map((e=>e.trim())).filter(Boolean):[];i.setContentType([e||"multipart/form-data",...t].join("; "))}let l=new XMLHttpRequest;if(e.auth){const t=e.auth.username||"",n=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";i.set("Authorization","Basic "+btoa(t+":"+n))}const f=xe(e.baseURL,e.url);function d(){if(!l)return;const r=ye.from("getAllResponseHeaders"in l&&l.getAllResponseHeaders());!function(e,t,n){const r=n.config.validateStatus;n.status&&r&&!r(n.status)?t(new H("Request failed with status code "+n.status,[H.ERR_BAD_REQUEST,H.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n)):e(n)}((function(e){t(e),c()}),(function(e){n(e),c()}),{data:s&&"text"!==s&&"json"!==s?l.response:l.responseText,status:l.status,statusText:l.statusText,headers:r,config:e,request:l}),l=null}if(l.open(e.method.toUpperCase(),J(f,e.params,e.paramsSerializer),!0),l.timeout=e.timeout,"onloadend"in l?l.onloadend=d:l.onreadystatechange=function(){l&&4===l.readyState&&(0!==l.status||l.responseURL&&0===l.responseURL.indexOf("file:"))&&setTimeout(d)},l.onabort=function(){l&&(n(new H("Request aborted",H.ECONNABORTED,e,l)),l=null)},l.onerror=function(){n(new H("Network Error",H.ERR_NETWORK,e,l)),l=null},l.ontimeout=function(){let t=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded";const r=e.transitional||te;e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),n(new H(t,r.clarifyTimeoutError?H.ETIMEDOUT:H.ECONNABORTED,e,l)),l=null},se.hasStandardBrowserEnv&&(u&&B.isFunction(u)&&(u=u(e)),u||!1!==u&&Se(f))){const t=e.xsrfHeaderName&&e.xsrfCookieName&&Te.read(e.xsrfCookieName);t&&i.set(e.xsrfHeaderName,t)}void 0===r&&i.setContentType(null),"setRequestHeader"in l&&B.forEach(i.toJSON(),(function(e,t){l.setRequestHeader(t,e)})),B.isUndefined(e.withCredentials)||(l.withCredentials=!!e.withCredentials),s&&"json"!==s&&(l.responseType=e.responseType),"function"==typeof e.onDownloadProgress&&l.addEventListener("progress",Ee(e.onDownloadProgress,!0)),"function"==typeof e.onUploadProgress&&l.upload&&l.upload.addEventListener("progress",Ee(e.onUploadProgress)),(e.cancelToken||e.signal)&&(o=t=>{l&&(n(!t||t.type?new we(null,e,l):t),l.abort(),l=null)},e.cancelToken&&e.cancelToken.subscribe(o),e.signal&&(e.signal.aborted?o():e.signal.addEventListener("abort",o)));const p=function(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}(f);p&&-1===se.protocols.indexOf(p)?n(new H("Unsupported protocol "+p+":",H.ERR_BAD_REQUEST,e)):l.send(r||null)}))}};B.forEach(Oe,((e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch(e){}Object.defineProperty(e,"adapterName",{value:t})}}));const Ce=e=>`- ${e}`,Le=e=>B.isFunction(e)||null===e||!1===e;var Ae=e=>{e=B.isArray(e)?e:[e];const{length:t}=e;let n,r;const i={};for(let o=0;o<t;o++){let t;if(n=e[o],r=n,!Le(n)&&(r=Oe[(t=String(n)).toLowerCase()],void 0===r))throw new H(`Unknown adapter '${t}'`);if(r)break;i[t||"#"+o]=r}if(!r){const e=Object.entries(i).map((([e,t])=>`adapter ${e} `+(!1===t?"is not supported by the environment":"is not available in the build")));let n=t?e.length>1?"since :\n"+e.map(Ce).join("\n"):" "+Ce(e[0]):"as no adapter specified";throw new H("There is no suitable adapter to dispatch the request "+n,"ERR_NOT_SUPPORT")}return r};function Ie(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new we(null,e)}function Pe(e){Ie(e),e.headers=ye.from(e.headers),e.data=ve.call(e,e.transformRequest),-1!==["post","put","patch"].indexOf(e.method)&&e.headers.setContentType("application/x-www-form-urlencoded",!1);return Ae(e.adapter||le.adapter)(e).then((function(t){return Ie(e),t.data=ve.call(e,e.transformResponse,t),t.headers=ye.from(t.headers),t}),(function(t){return be(t)||(Ie(e),t&&t.response&&(t.response.data=ve.call(e,e.transformResponse,t.response),t.response.headers=ye.from(t.response.headers))),Promise.reject(t)}))}const Me=e=>e instanceof ye?e.toJSON():e;function Re(e,t){t=t||{};const n={};function r(e,t,n){return B.isPlainObject(e)&&B.isPlainObject(t)?B.merge.call({caseless:n},e,t):B.isPlainObject(t)?B.merge({},t):B.isArray(t)?t.slice():t}function i(e,t,n){return B.isUndefined(t)?B.isUndefined(e)?void 0:r(void 0,e,n):r(e,t,n)}function o(e,t){if(!B.isUndefined(t))return r(void 0,t)}function a(e,t){return B.isUndefined(t)?B.isUndefined(e)?void 0:r(void 0,e):r(void 0,t)}function s(n,i,o){return o in t?r(n,i):o in e?r(void 0,n):void 0}const u={url:o,method:o,data:o,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,withXSRFToken:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:s,headers:(e,t)=>i(Me(e),Me(t),!0)};return B.forEach(Object.keys(Object.assign({},e,t)),(function(r){const o=u[r]||i,a=o(e[r],t[r],r);B.isUndefined(a)&&o!==s||(n[r]=a)})),n}const je="1.6.7",De={};["object","boolean","number","function","string","symbol"].forEach(((e,t)=>{De[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}}));const Ne={};De.transitional=function(e,t,n){function r(e,t){return"[Axios v1.6.7] Transitional option '"+e+"'"+t+(n?". "+n:"")}return(n,i,o)=>{if(!1===e)throw new H(r(i," has been removed"+(t?" in "+t:"")),H.ERR_DEPRECATED);return t&&!Ne[i]&&(Ne[i]=!0,console.warn(r(i," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(n,i,o)}};var Be={assertOptions:function(e,t,n){if("object"!=typeof e)throw new H("options must be an object",H.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let i=r.length;for(;i-- >0;){const o=r[i],a=t[o];if(a){const t=e[o],n=void 0===t||a(t,o,e);if(!0!==n)throw new H("option "+o+" must be "+n,H.ERR_BAD_OPTION_VALUE)}else if(!0!==n)throw new H("Unknown option "+o,H.ERR_BAD_OPTION)}},validators:De};const Ue=Be.validators;class Fe{constructor(e){this.defaults=e,this.interceptors={request:new ee,response:new ee}}async request(e,t){try{return await this._request(e,t)}catch(e){if(e instanceof Error){let t;Error.captureStackTrace?Error.captureStackTrace(t={}):t=new Error;const n=t.stack?t.stack.replace(/^.+\n/,""):"";e.stack?n&&!String(e.stack).endsWith(n.replace(/^.+\n.+\n/,""))&&(e.stack+="\n"+n):e.stack=n}throw e}}_request(e,t){"string"==typeof e?(t=t||{}).url=e:t=e||{},t=Re(this.defaults,t);const{transitional:n,paramsSerializer:r,headers:i}=t;void 0!==n&&Be.assertOptions(n,{silentJSONParsing:Ue.transitional(Ue.boolean),forcedJSONParsing:Ue.transitional(Ue.boolean),clarifyTimeoutError:Ue.transitional(Ue.boolean)},!1),null!=r&&(B.isFunction(r)?t.paramsSerializer={serialize:r}:Be.assertOptions(r,{encode:Ue.function,serialize:Ue.function},!0)),t.method=(t.method||this.defaults.method||"get").toLowerCase();let o=i&&B.merge(i.common,i[t.method]);i&&B.forEach(["delete","get","head","post","put","patch","common"],(e=>{delete i[e]})),t.headers=ye.concat(o,i);const a=[];let s=!0;this.interceptors.request.forEach((function(e){"function"==typeof e.runWhen&&!1===e.runWhen(t)||(s=s&&e.synchronous,a.unshift(e.fulfilled,e.rejected))}));const u=[];let c;this.interceptors.response.forEach((function(e){u.push(e.fulfilled,e.rejected)}));let l,f=0;if(!s){const e=[Pe.bind(this),void 0];for(e.unshift.apply(e,a),e.push.apply(e,u),l=e.length,c=Promise.resolve(t);f<l;)c=c.then(e[f++],e[f++]);return c}l=a.length;let d=t;for(f=0;f<l;){const e=a[f++],t=a[f++];try{d=e(d)}catch(e){t.call(this,e);break}}try{c=Pe.call(this,d)}catch(e){return Promise.reject(e)}for(f=0,l=u.length;f<l;)c=c.then(u[f++],u[f++]);return c}getUri(e){return J(xe((e=Re(this.defaults,e)).baseURL,e.url),e.params,e.paramsSerializer)}}B.forEach(["delete","get","head","options"],(function(e){Fe.prototype[e]=function(t,n){return this.request(Re(n||{},{method:e,url:t,data:(n||{}).data}))}})),B.forEach(["post","put","patch"],(function(e){function t(t){return function(n,r,i){return this.request(Re(i||{},{method:e,headers:t?{"Content-Type":"multipart/form-data"}:{},url:n,data:r}))}}Fe.prototype[e]=t(),Fe.prototype[e+"Form"]=t(!0)}));var ze=Fe;class He{constructor(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");let t;this.promise=new Promise((function(e){t=e}));const n=this;this.promise.then((e=>{if(!n._listeners)return;let t=n._listeners.length;for(;t-- >0;)n._listeners[t](e);n._listeners=null})),this.promise.then=e=>{let t;const r=new Promise((e=>{n.subscribe(e),t=e})).then(e);return r.cancel=function(){n.unsubscribe(t)},r},e((function(e,r,i){n.reason||(n.reason=new we(e,r,i),t(n.reason))}))}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;const t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}static source(){let e;return{token:new He((function(t){e=t})),cancel:e}}}var Ze=He;const qe={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(qe).forEach((([e,t])=>{qe[t]=e}));var Ve=qe;const We=function e(t){const n=new ze(t),r=i(ze.prototype.request,n);return B.extend(r,ze.prototype,n,{allOwnKeys:!0}),B.extend(r,n,null,{allOwnKeys:!0}),r.create=function(n){return e(Re(t,n))},r}(le);We.Axios=ze,We.CanceledError=we,We.CancelToken=Ze,We.isCancel=be,We.VERSION=je,We.toFormData=G,We.AxiosError=H,We.Cancel=We.CanceledError,We.all=function(e){return Promise.all(e)},We.spread=function(e){return function(t){return e.apply(null,t)}},We.isAxiosError=function(e){return B.isObject(e)&&!0===e.isAxiosError},We.mergeConfig=Re,We.AxiosHeaders=ye,We.formToJSON=e=>ue(B.isHTMLForm(e)?new FormData(e):e),We.getAdapter=Ae,We.HttpStatusCode=Ve,We.default=We;var Ge=We},66773:function(e,t,n){"use strict";n.d(t,{ZP:function(){return u},db:function(){return s},mh:function(){return a}});var r=n(8571),i=n(68238),o=n(38754),a={D50:[.3457/.3585,1,.2958/.3585],D65:[.3127/.329,1,.3583/.329]};function s(e){return Array.isArray(e)?e:a[e]}function u(e,t,n){var u,c,l=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};if(e=s(e),t=s(t),!e||!t)throw new TypeError(r(u=r(c="Missing white point to convert ".concat(e?"":"from")).call(c,e||t?"":"/")).call(u,t?"":"to"));if(e===t)return n;var f={W1:e,W2:t,XYZ:n,options:l};if(i.Z.run("chromatic-adaptation-start",f),f.M||(f.W1===a.D65&&f.W2===a.D50?f.M=[[1.0479297925449969,.022946870601609652,-.05019226628920524],[.02962780877005599,.9904344267538799,-.017073799063418826],[-.009243040646204504,.015055191490298152,.7518742814281371]]:f.W1===a.D50&&f.W2===a.D65&&(f.M=[[.955473421488075,-.02309845494876471,.06325924320057072],[-.0283697093338637,1.0099953980813041,.021041441191917323],[.012314014864481998,-.020507649298898964,1.330365926242124]])),i.Z.run("chromatic-adaptation-end",f),f.M)return(0,o.Z)(f.M,f.XYZ);throw new TypeError("Only Bradford CAT with white points D50 and D65 supported for now.")}},50012:function(e,t,n){"use strict";n.d(t,{Z:function(){return P}});var r={};n.r(r),n.d(r,{contrastAPCA:function(){return y},contrastDeltaPhi:function(){return A},contrastLstar:function(){return w},contrastMichelson:function(){return v},contrastWCAG21:function(){return d},contrastWeber:function(){return b}});var i=n(41266),o=n(88946),a=n(62079),s=n(8293),u=n(75064),c=n(64030),l=n(65049);function f(e){return(0,c.Z)(e,[l.Z,"y"])}function d(e,t){e=(0,s.Z)(e),t=(0,s.Z)(t);var n=Math.max(f(e),0),r=Math.max(f(t),0);if(r>n){var i=[r,n];n=i[0],r=i[1]}return(n+.05)/(r+.05)}var p=n(59056),h=n(19487);function g(e){return e>=.022?e:e+Math.pow(.022-e,1.414)}function m(e){var t=e<0?-1:1,n=Math.abs(e);return t*Math.pow(n,2.4)}function y(e,t){var n,r,i,o;t=(0,s.Z)(t),e=(0,s.Z)(e),t=(0,h.Z)(t,"srgb");var a=(0,p.Z)(t.coords,3);r=a[0],i=a[1],o=a[2];var u=.2126729*m(r)+.7151522*m(i)+.072175*m(o);e=(0,h.Z)(e,"srgb");var c=(0,p.Z)(e.coords,3);r=c[0],i=c[1],o=c[2];var l=.2126729*m(r)+.7151522*m(i)+.072175*m(o),f=g(u),d=g(l),y=d>f;return n=Math.abs(d-f)<5e-4?0:y?1.14*(Math.pow(d,.56)-Math.pow(f,.57)):1.14*(Math.pow(d,.65)-Math.pow(f,.62)),100*(Math.abs(n)<.1?0:n>0?n-.027:n+.027)}function v(e,t){e=(0,s.Z)(e),t=(0,s.Z)(t);var n=Math.max(f(e),0),r=Math.max(f(t),0);if(r>n){var i=[r,n];n=i[0],r=i[1]}var o=n+r;return 0===o?0:(n-r)/o}function b(e,t){e=(0,s.Z)(e),t=(0,s.Z)(t);var n=Math.max(f(e),0),r=Math.max(f(t),0);if(r>n){var i=[r,n];n=i[0],r=i[1]}return 0===r?5e4:(n-r)/r}var _=n(54123);function w(e,t){e=(0,s.Z)(e),t=(0,s.Z)(t);var n=(0,c.Z)(e,[_.Z,"l"]),r=(0,c.Z)(t,[_.Z,"l"]);return Math.abs(n-r)}var T=n(59898),x=n(4020),S=n(66773),k=24/116,E=24389/27,O=S.mh.D65,C=new x.Z({id:"lab-d65",name:"Lab D65",coords:{l:{refRange:[0,100],name:"Lightness"},a:{refRange:[-125,125]},b:{refRange:[-125,125]}},white:O,base:l.Z,fromBase:function(e){var t=o(e).call(e,(function(e,t){return e/O[t]})),n=o(t).call(t,(function(e){return e>.008856451679035631?T(e):(E*e+16)/116}));return[116*n[1]-16,500*(n[0]-n[1]),200*(n[1]-n[2])]},toBase:function(e){var t=[];t[1]=(e[0]+16)/116,t[0]=e[1]/500+t[1],t[2]=t[1]-e[2]/200;var n=[t[0]>k?Math.pow(t[0],3):(116*t[0]-16)/E,e[0]>8?Math.pow((e[0]+16)/116,3):e[0]/E,t[2]>k?Math.pow(t[2],3):(116*t[2]-16)/E];return o(n).call(n,(function(e,t){return e*O[t]}))},formats:{"lab-d65":{coords:["<number> | <percentage>","<number> | <percentage>[-1,1]","<number> | <percentage>[-1,1]"]}}}),L=.5*Math.pow(5,.5)+.5;function A(e,t){e=(0,s.Z)(e),t=(0,s.Z)(t);var n=(0,c.Z)(e,[C,"l"]),r=(0,c.Z)(t,[C,"l"]),i=Math.abs(Math.pow(n,L)-Math.pow(r,L)),o=Math.pow(i,1/L)*Math.SQRT2-40;return o<7.5?0:o}var I=["algorithm"];function P(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};(0,u.HD)(n)&&(n={algorithm:n});var c=n,l=c.algorithm,f=(0,i.Z)(c,I);if(!l){var d,p=o(d=a(r)).call(d,(function(e){return e.replace(/^contrast/,"")})).join(", ");throw new TypeError("contrast() function needs a contrast algorithm. Please specify one of: ".concat(p))}for(var h in e=(0,s.Z)(e),t=(0,s.Z)(t),r)if("contrast"+l.toLowerCase()===h.toLowerCase())return r[h](e,t,f);throw new TypeError("Unknown contrast algorithm: ".concat(l))}},90781:function(e,t,n){"use strict";var r,i,o,a=n(92381);t.Z={gamut_mapping:"css",precision:5,deltaE:"76",verbose:"test"!==(null==a||null===(r=a.process)||void 0===r||null===(i=r.env)||void 0===i||null===(o=i.NODE_ENV)||void 0===o?void 0:o.toLowerCase()),warn:function(e){var t,n;this.verbose&&(null==a||null===(t=a.console)||void 0===t||null===(n=t.warn)||void 0===n||n.call(t,e))}}},64030:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(4020),i=n(89289),o=n(8293);function a(e,t){e=(0,o.Z)(e);var n=r.Z.resolveCoord(t,e.space),a=n.space,s=n.index;return(0,i.Z)(e,a)[s]}},89289:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(35704),i=n(4020),o=n(8293);function a(e,t){var n;return e=(0,o.Z)(e),!t||e.space.equals(t)?r(n=e.coords).call(n):(t=i.Z.get(t)).from(e)}},8293:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(88946),i=n(4020),o=n(75064),a=n(99725);function s(e){if(Array.isArray(e))return r(e).call(e,s);if(!e)throw new TypeError("Empty color reference");(0,o.HD)(e)&&(e=(0,a.Z)(e));var t=e.space||e.spaceId;return t instanceof i.Z||(e.space=i.Z.get(t)),void 0===e.alpha&&(e.alpha=1),e}},68238:function(e,t,n){"use strict";var r=n(68420),i=n(27344),o=function(){function e(){(0,r.Z)(this,e)}return(0,i.Z)(e,[{key:"add",value:function(e,t,n){if("string"==typeof arguments[0])(Array.isArray(e)?e:[e]).forEach((function(e){this[e]=this[e]||[],t&&this[e][n?"unshift":"push"](t)}),this);else for(var e in arguments[0])this.add(e,arguments[0][e],arguments[1])}},{key:"run",value:function(e,t){this[e]=this[e]||[],this[e].forEach((function(e){e.call(t&&t.context?t.context:t,t)}))}}]),e}(),a=new o;t.Z=a},38754:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(88946),i=n(35704),o=n(10349),a=n(52472),s=n(19389);function u(e,t){var n=void 0!==a&&s(e)||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){var n;if(!e)return;if("string"==typeof e)return c(e,t);var r=i(n=Object.prototype.toString.call(e)).call(n,8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return o(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return c(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,u=function(){};return{s:u,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:u}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var l,f=!0,d=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return f=e.done,e},e:function(e){d=!0,l=e},f:function(){try{f||null==n.return||n.return()}finally{if(d)throw l}}}}function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function l(e,t){var n,i=e.length;Array.isArray(e[0])||(e=[e]),Array.isArray(t[0])||(t=r(t).call(t,(function(e){return[e]})));var o=t[0].length,a=r(n=t[0]).call(n,(function(e,n){return r(t).call(t,(function(e){return e[n]}))})),s=r(e).call(e,(function(e){return r(a).call(a,(function(t){var n=0;if(!Array.isArray(e)){var r,i=u(t);try{for(i.s();!(r=i.n()).done;){var o=r.value;n+=e*o}}catch(e){i.e(e)}finally{i.f()}return n}for(var a=0;a<e.length;a++)n+=e[a]*(t[a]||0);return n}))}));return 1===i&&(s=s[0]),1===o?r(s).call(s,(function(e){return e[0]})):s}},99725:function(e,t,n){"use strict";n.d(t,{Z:function(){return C}});var r=n(35704),i=n(10349),o=n(52472),a=n(19389),s=n(19623),u=n(59056),c=n(23513),l=n(88946),f=n(39290),d=n(86981),p=n(8571),h=n(84705),g=n(45181),m=n(91829),y=n(73324),v=n(62079),b=n(67552),_=n(75064),w=n(68238),T=n(4020),x=n(90781);function S(e,t){var n=void 0!==o&&a(e)||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){var n;if(!e)return;if("string"==typeof e)return k(e,t);var o=r(n=Object.prototype.toString.call(e)).call(n,8,-1);"Object"===o&&e.constructor&&(o=e.constructor.name);if("Map"===o||"Set"===o)return i(e);if("Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o))return k(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var s=0,u=function(){};return{s:u,n:function(){return s>=e.length?{done:!0}:{done:!1,value:e[s++]}},e:function(e){throw e},f:u}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var c,l=!0,f=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return l=e.done,e},e:function(e){f=!0,c=e},f:function(){try{l||null==n.return||n.return()}finally{if(f)throw c}}}}function k(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var E=new c(["<number>","<percentage>","<angle>"]);function O(e,t,n,r){var i;return l(i=f(e.coords)).call(i,(function(e,i){var o,a=(0,u.Z)(e,2),s=a[0],c=a[1],l=t.coordGrammar[i],f=r[i],h=null==f?void 0:f.type;if(!(o=f.none?d(l).call(l,(function(e){return E.has(e)})):d(l).call(l,(function(e){return e==h})))){var g,m,y=c.name||s;throw new TypeError(p(g=p(m="".concat(null!=h?h:f.raw," not allowed for ")).call(m,y," in ")).call(g,n,"()"))}var v=o.range;"<percentage>"===h&&(v||(v=[0,1]));var b=c.range||c.refRange;return v&&b&&(r[i]=_.KK(v,b,r[i])),o}))}function C(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=n.meta,i={str:null===(t=String(e))||void 0===t?void 0:h(t).call(t)};if(w.Z.run("parse-start",i),i.color)return i.color;if(i.parsed=_.dL(i.str),i.parsed){var o=i.parsed.name;if("color"===o){var a=function(){var e,t=i.parsed.args.shift(),n=g(t).call(t,"--")?t.substring(2):"--".concat(t),o=[t,n],a=i.parsed.rawArgs.indexOf("/")>0?i.parsed.args.pop():1,s=S(T.Z.all);try{for(s.s();!(e=s.n()).done;){var u,c=e.value,f=c.getFormat("color");if(f)if(m(o).call(o,f.id)||null!==(u=f.ids)&&void 0!==u&&y(u).call(u,(function(e){return m(o).call(o,e)})).length){var d,h,_,w,k,E=l(d=v(c.coords)).call(d,(function(e,t){return i.parsed.args[t]||0})),C=void 0;if(f.coordGrammar&&(C=O(c,f,"color",E)),r&&b(r,{formatId:"color",types:C}),g(h=f.id).call(h,"--")&&!g(t).call(t,"--"))x.Z.warn("".concat(c.name," is a non-standard space and not currently supported in the CSS spec. ")+p(w="Use prefixed color(".concat(f.id,") instead of color(")).call(w,t,")."));if(g(t).call(t,"--")&&!g(_=f.id).call(_,"--"))x.Z.warn("".concat(c.name," is a standard space and supported in the CSS spec. ")+p(k="Use color(".concat(f.id,") instead of prefixed color(")).call(k,t,")."));return{v:{spaceId:c.id,coords:E,alpha:a}}}}}catch(e){s.e(e)}finally{s.f()}var L="",A=t in T.Z.registry?t:n;if(A in T.Z.registry){var I,P,M=null===(I=T.Z.registry[A].formats)||void 0===I||null===(P=I.color)||void 0===P?void 0:P.id;M&&(L="Did you mean color(".concat(M,")?"))}throw new TypeError("Cannot parse color(".concat(t,"). ")+(L||"Missing a plugin?"))}();if("object"===(0,s.Z)(a))return a.v}else{var u,c=S(T.Z.all);try{for(c.s();!(u=c.n()).done;){var f=u.value,d=f.getFormat(o);if(d&&"function"===d.type){var k=1;(d.lastAlpha||_.Z$(i.parsed.args).alpha)&&(k=i.parsed.args.pop());var E=i.parsed.args,C=void 0;return d.coordGrammar&&(C=O(f,d,o,E)),r&&b(r,{formatId:d.name,types:C}),{spaceId:f.id,coords:E,alpha:k}}}}catch(e){c.e(e)}finally{c.f()}}}else{var L,A=S(T.Z.all);try{for(A.s();!(L=A.n()).done;){var I=L.value;for(var P in I.formats){var M=I.formats[P];if("custom"===M.type&&(!M.test||M.test(i.str))){var R,j=M.parse(i.str);if(j)return null!==(R=j.alpha)&&void 0!==R||(j.alpha=1),r&&(r.formatId=P),j}}}}catch(e){A.e(e)}finally{A.f()}}throw new TypeError("Could not parse ".concat(e," as a color. Missing a plugin?"))}},4020:function(e,t,n){"use strict";n.d(t,{Z:function(){return j}});var r=n(52020),i=n(73324),o=n(88546),a=n(66775),s=n(35704),u=n(10349),c=n(52472),l=n(19389),f=n(79349),d=n(19623),p=n(59056),h=n(68420),g=n(27344),m=n(44845),y=n(86526),v=n(31082),b=n(35293),_=n(88946),w=n(8571),T=n(23513),x=n(91829),S=n(39290),k=n(62079),E=n(75064),O=n(66773),C=n(68238),L=n(8293);function A(e,t){var n=void 0!==c&&l(e)||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){var n;if(!e)return;if("string"==typeof e)return I(e,t);var r=s(n=Object.prototype.toString.call(e)).call(n,8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return u(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return I(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,f=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){f=!0,o=e},f:function(){try{a||null==n.return||n.return()}finally{if(f)throw o}}}}function I(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function P(e,t){var n=k(e);if(r){var a=r(e);t&&(a=i(a).call(a,(function(t){return o(e,t).enumerable}))),n.push.apply(n,a)}return n}function M(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?P(Object(n),!0).forEach((function(t){(0,m.Z)(e,t,n[t])})):a?Object.defineProperties(e,a(n)):P(Object(n)).forEach((function(t){Object.defineProperty(e,t,o(n,t))}))}return e}var R=75e-6,j=function(){function e(t){var n,r,i,o,a,s;(0,h.Z)(this,e),this.id=t.id,this.name=t.name,this.base=t.base?e.get(t.base):null,this.aliases=t.aliases,this.base&&(this.fromBase=t.fromBase,this.toBase=t.toBase);var u=null!==(n=t.coords)&&void 0!==n?n:this.base.coords;for(var c in u)"name"in u[c]||(u[c].name=c);this.coords=u;var l,f=null!==(r=null!==(i=t.white)&&void 0!==i?i:this.base.white)&&void 0!==r?r:"D65";for(var d in this.white=(0,O.db)(f),this.formats=null!==(o=t.formats)&&void 0!==o?o:{},this.formats){var p=this.formats[d];p.type||(p.type="function"),p.name||(p.name=d)}null!==(a=this.formats.color)&&void 0!==a&&a.id||(this.formats.color=M(M({},null!==(l=this.formats.color)&&void 0!==l?l:{}),{},{id:t.cssId||this.id}));t.gamutSpace?this.gamutSpace="self"===t.gamutSpace?this:e.get(t.gamutSpace):this.isPolar?this.gamutSpace=this.base:this.gamutSpace=this,this.gamutSpace.isUnbounded&&(this.inGamut=function(e,t){return!0}),this.referred=t.referred,Object.defineProperty(this,"path",{value:y(s=D(this)).call(s),writable:!1,enumerable:!0,configurable:!0}),C.Z.run("colorspace-init-end",this)}return(0,g.Z)(e,[{key:"inGamut",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.epsilon,r=void 0===n?R:n;if(!this.equals(this.gamutSpace))return e=this.to(this.gamutSpace,e),this.gamutSpace.inGamut(e,{epsilon:r});var i=v(this.coords);return e.every((function(e,t){var n=i[t];if("angle"!==n.type&&n.range){if(b(e))return!0;var o=(0,p.Z)(n.range,2),a=o[0],s=o[1];return(void 0===a||e>=a-r)&&(void 0===s||e<=s+r)}return!0}))}},{key:"isUnbounded",get:function(){return v(this.coords).every((function(e){return!("range"in e)}))}},{key:"cssId",get:function(){var e,t;return(null===(e=this.formats)||void 0===e||null===(t=e.color)||void 0===t?void 0:t.id)||this.id}},{key:"isPolar",get:function(){for(var e in this.coords)if("angle"===this.coords[e].type)return!0;return!1}},{key:"getFormat",value:function(e){return"object"===(0,d.Z)(e)?e=N(e,this):(t="default"===e?v(this.formats)[0]:this.formats[e])?t=N(t,this):null;var t}},{key:"equals",value:function(e){return!!e&&(this===e||this.id===e||this.id===e.id)}},{key:"to",value:function(t,n){if(1===arguments.length){var r=(0,L.Z)(t),i=[r.space,r.coords];t=i[0],n=i[1]}if(t=e.get(t),this.equals(t))return n;n=_(n).call(n,(function(e){return b(e)?0:e}));for(var o,a,s,u=this.path,c=t.path,l=0;l<u.length&&u[l].equals(c[l]);l++)o=u[l],a=l;if(!o)throw new Error(w(s="Cannot convert between color spaces ".concat(this," and ")).call(s,t,": no connection space was found"));for(var f=u.length-1;f>a;f--)n=u[f].toBase(n);for(var d=a+1;d<c.length;d++)n=c[d].fromBase(n);return n}},{key:"from",value:function(t,n){if(1===arguments.length){var r=(0,L.Z)(t),i=[r.space,r.coords];t=i[0],n=i[1]}return(t=e.get(t)).to(this,n)}},{key:"toString",value:function(){var e;return w(e="".concat(this.name," (")).call(e,this.id,")")}},{key:"getMinCoords",value:function(){var e=[];for(var t in this.coords){var n,r=this.coords[t],i=r.range||r.refRange;e.push(null!==(n=null==i?void 0:i.min)&&void 0!==n?n:0)}return e}}],[{key:"all",get:function(){return(0,f.Z)(new T(v(e.registry)))}},{key:"register",value:function(e,t){if(1===arguments.length&&(e=(t=arguments[0]).id),t=this.get(t),this.registry[e]&&this.registry[e]!==t)throw new Error("Duplicate color space registration: '".concat(e,"'"));if(this.registry[e]=t,1===arguments.length&&t.aliases){var n,r=A(t.aliases);try{for(r.s();!(n=r.n()).done;){var i=n.value;this.register(i,t)}}catch(e){r.e(e)}finally{r.f()}}return t}},{key:"get",value:function(t){if(!t||t instanceof e)return t;var n=(0,E.dt)(t);if("string"===n){var r=e.registry[t.toLowerCase()];if(!r)throw new TypeError('No color space found with id = "'.concat(t,'"'));return r}for(var i=arguments.length,o=new Array(i>1?i-1:0),a=1;a<i;a++)o[a-1]=arguments[a];if(o.length)return e.get.apply(e,o);throw new TypeError("".concat(t," is not a valid color space"))}},{key:"resolveCoord",value:function(t,n){var r,i,o,a,s=(0,E.dt)(t);if("string"===s)if(x(t).call(t,".")){var u=t.split("."),c=(0,p.Z)(u,2);o=c[0],a=c[1]}else o=void 0,a=t;else if(Array.isArray(t)){var l=(0,p.Z)(t,2);o=l[0],a=l[1]}else o=t.space,a=t.coordId;if((o=e.get(o))||(o=n),!o)throw new TypeError("Cannot resolve coordinate reference ".concat(t,": No color space specified and relative references are not allowed here"));if("number"===(s=(0,E.dt)(a))||"string"===s&&a>=0){var f=S(o.coords)[a];if(f)return M({space:o,id:f[0],index:a},f[1])}o=e.get(o);var d=a.toLowerCase(),h=0;for(var g in o.coords){var m,y=o.coords[g];if(g.toLowerCase()===d||(null===(m=y.name)||void 0===m?void 0:m.toLowerCase())===d)return M({space:o,id:g,index:h},y);h++}throw new TypeError(w(r=w(i='No "'.concat(a,'" coordinate found in ')).call(i,o.name,". Its coordinates are: ")).call(r,k(o.coords).join(", ")))}}]),e}();function D(e){for(var t=[e],n=e;n=n.base;)t.push(n);return t}function N(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.coords;if(e.coords&&!e.coordGrammar){var r;e.type||(e.type="function"),e.name||(e.name="color"),e.coordGrammar=(0,E.T7)(e.coords);var i=_(r=S(n)).call(r,(function(t,n){var r=(0,p.Z)(t,2),i=(r[0],r[1]),o=e.coordGrammar[n][0],a=i.range||i.refRange,s=o.range,u="";return"<percentage>"==o?(s=[0,100],u="%"):"<angle>"==o&&(u="deg"),{fromRange:a,toRange:s,suffix:u}}));e.serializeCoords=function(e,t){return _(e).call(e,(function(e,n){var r=i[n],o=r.fromRange,a=r.toRange,s=r.suffix;return o&&a&&(e=(0,E.KK)(o,a,e)),e=(0,E.zL)(e,{precision:t,unit:s})}))}}return e}(0,m.Z)(j,"registry",{}),(0,m.Z)(j,"DEFAULT_FORMAT",{type:"functions",name:"color"})},79801:function(e,t,n){"use strict";var r=n(59056),i=n(79349),o=n(4020),a=n(39191);t.Z=new o.Z({id:"hsl",name:"HSL",coords:{h:{refRange:[0,360],type:"angle",name:"Hue"},s:{range:[0,100],name:"Saturation"},l:{range:[0,100],name:"Lightness"}},base:a.Z,fromBase:function(e){var t=Math.max.apply(Math,(0,i.Z)(e)),n=Math.min.apply(Math,(0,i.Z)(e)),o=(0,r.Z)(e,3),a=o[0],s=o[1],u=o[2],c=NaN,l=0,f=(n+t)/2,d=t-n;if(0!==d){switch(l=0===f||1===f?0:(t-f)/Math.min(f,1-f),t){case a:c=(s-u)/d+(s<u?6:0);break;case s:c=(u-a)/d+2;break;case u:c=(a-s)/d+4}c*=60}return l<0&&(c+=180,l=Math.abs(l)),c>=360&&(c-=360),[c,100*l,100*f]},toBase:function(e){var t=(0,r.Z)(e,3),n=t[0],i=t[1],o=t[2];function a(e){var t=(e+n/30)%12,r=i*Math.min(o,1-o);return o-r*Math.max(-1,Math.min(t-3,9-t,1))}return(n%=360)<0&&(n+=360),i/=100,o/=100,[a(0),a(8),a(4)]},formats:{hsl:{coords:["<number> | <angle>","<percentage>","<percentage>"]},hsla:{coords:["<number> | <angle>","<percentage>","<percentage>"],commas:!0,lastAlpha:!0}}})},54123:function(e,t,n){"use strict";n.d(t,{Z:function(){return d}});var r=n(88946),i=n(59898),o=n(4020),a=n(66773),s=n(65049),u=new o.Z({id:"xyz-d50",name:"XYZ D50",white:"D50",base:s.Z,fromBase:function(e){return(0,a.ZP)(s.Z.white,"D50",e)},toBase:function(e){return(0,a.ZP)("D50",s.Z.white,e)}}),c=24/116,l=24389/27,f=a.mh.D50,d=new o.Z({id:"lab",name:"Lab",coords:{l:{refRange:[0,100],name:"Lightness"},a:{refRange:[-125,125]},b:{refRange:[-125,125]}},white:f,base:u,fromBase:function(e){var t=r(e).call(e,(function(e,t){return e/f[t]})),n=r(t).call(t,(function(e){return e>.008856451679035631?i(e):(l*e+16)/116}));return[116*n[1]-16,500*(n[0]-n[1]),200*(n[1]-n[2])]},toBase:function(e){var t=[];t[1]=(e[0]+16)/116,t[0]=e[1]/500+t[1],t[2]=t[1]-e[2]/200;var n=[t[0]>c?Math.pow(t[0],3):(116*t[0]-16)/l,e[0]>8?Math.pow((e[0]+16)/116,3):e[0]/l,t[2]>c?Math.pow(t[2],3):(116*t[2]-16)/l];return r(n).call(n,(function(e,t){return e*f[t]}))},formats:{lab:{coords:["<number> | <percentage>","<number> | <percentage>[-1,1]","<number> | <percentage>[-1,1]"]}}})},39191:function(e,t,n){"use strict";n.d(t,{Z:function(){return S}});var r=n(18033),i=n(88946),o=n(35704),a=n(7488),s=n(24835),u=n(68420),c=n(90306),l=n(3020),f=n(3362),d=n(4020),p=n(38754),h=n(66773),g=n(65049);function m(e){var t=function(){if("undefined"==typeof Reflect||!s)return!1;if(s.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(s(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,f.Z)(e);if(t){var i=(0,f.Z)(this).constructor;n=s(r,arguments,i)}else n=r.apply(this,arguments);return(0,l.Z)(this,n)}}var y,v,b=function(e){(0,c.Z)(n,e);var t=m(n);function n(e){var r,i,o,a;((0,u.Z)(this,n),e.coords||(e.coords={r:{range:[0,1],name:"Red"},g:{range:[0,1],name:"Green"},b:{range:[0,1],name:"Blue"}}),e.base||(e.base=g.Z),e.toXYZ_M&&e.fromXYZ_M)&&(null!==(o=e.toBase)&&void 0!==o||(e.toBase=function(t){var n=(0,p.Z)(e.toXYZ_M,t);return i.white!==i.base.white&&(n=(0,h.ZP)(i.white,i.base.white,n)),n}),null!==(a=e.fromBase)&&void 0!==a||(e.fromBase=function(t){return t=(0,h.ZP)(i.base.white,i.white,t),(0,p.Z)(e.fromXYZ_M,t)}));return null!==(r=e.referred)&&void 0!==r||(e.referred="display"),i=t.call(this,e)}return n}(d.Z),_=new b({id:"srgb-linear",name:"Linear sRGB",white:"D65",toXYZ_M:[[.41239079926595934,.357584339383878,.1804807884018343],[.21263900587151027,.715168678767756,.07219231536073371],[.01933081871559182,.11919477979462598,.9505321522496607]],fromXYZ_M:[[3.2409699419045226,-1.537383177570094,-.4986107602930034],[-.9692436362808796,1.8759675015077202,.04155505740717559],[.05563007969699366,-.20397695888897652,1.0569715142428786]]}),w={aliceblue:[240/255,248/255,1],antiquewhite:[250/255,235/255,215/255],aqua:[0,1,1],aquamarine:[127/255,1,212/255],azure:[240/255,1,1],beige:[245/255,245/255,220/255],bisque:[1,228/255,196/255],black:[0,0,0],blanchedalmond:[1,235/255,205/255],blue:[0,0,1],blueviolet:[138/255,43/255,226/255],brown:[165/255,42/255,42/255],burlywood:[222/255,184/255,135/255],cadetblue:[95/255,158/255,160/255],chartreuse:[127/255,1,0],chocolate:[210/255,105/255,30/255],coral:[1,127/255,80/255],cornflowerblue:[100/255,149/255,237/255],cornsilk:[1,248/255,220/255],crimson:[220/255,20/255,60/255],cyan:[0,1,1],darkblue:[0,0,139/255],darkcyan:[0,139/255,139/255],darkgoldenrod:[184/255,134/255,11/255],darkgray:[169/255,169/255,169/255],darkgreen:[0,100/255,0],darkgrey:[169/255,169/255,169/255],darkkhaki:[189/255,183/255,107/255],darkmagenta:[139/255,0,139/255],darkolivegreen:[85/255,107/255,47/255],darkorange:[1,140/255,0],darkorchid:[.6,50/255,.8],darkred:[139/255,0,0],darksalmon:[233/255,150/255,122/255],darkseagreen:[143/255,188/255,143/255],darkslateblue:[72/255,61/255,139/255],darkslategray:[47/255,79/255,79/255],darkslategrey:[47/255,79/255,79/255],darkturquoise:[0,206/255,209/255],darkviolet:[148/255,0,211/255],deeppink:[1,20/255,147/255],deepskyblue:[0,191/255,1],dimgray:[105/255,105/255,105/255],dimgrey:[105/255,105/255,105/255],dodgerblue:[30/255,144/255,1],firebrick:[178/255,34/255,34/255],floralwhite:[1,250/255,240/255],forestgreen:[34/255,139/255,34/255],fuchsia:[1,0,1],gainsboro:[220/255,220/255,220/255],ghostwhite:[248/255,248/255,1],gold:[1,215/255,0],goldenrod:[218/255,165/255,32/255],gray:[128/255,128/255,128/255],green:[0,128/255,0],greenyellow:[173/255,1,47/255],grey:[128/255,128/255,128/255],honeydew:[240/255,1,240/255],hotpink:[1,105/255,180/255],indianred:[205/255,92/255,92/255],indigo:[75/255,0,130/255],ivory:[1,1,240/255],khaki:[240/255,230/255,140/255],lavender:[230/255,230/255,250/255],lavenderblush:[1,240/255,245/255],lawngreen:[124/255,252/255,0],lemonchiffon:[1,250/255,205/255],lightblue:[173/255,216/255,230/255],lightcoral:[240/255,128/255,128/255],lightcyan:[224/255,1,1],lightgoldenrodyellow:[250/255,250/255,210/255],lightgray:[211/255,211/255,211/255],lightgreen:[144/255,238/255,144/255],lightgrey:[211/255,211/255,211/255],lightpink:[1,182/255,193/255],lightsalmon:[1,160/255,122/255],lightseagreen:[32/255,178/255,170/255],lightskyblue:[135/255,206/255,250/255],lightslategray:[119/255,136/255,.6],lightslategrey:[119/255,136/255,.6],lightsteelblue:[176/255,196/255,222/255],lightyellow:[1,1,224/255],lime:[0,1,0],limegreen:[50/255,205/255,50/255],linen:[250/255,240/255,230/255],magenta:[1,0,1],maroon:[128/255,0,0],mediumaquamarine:[.4,205/255,170/255],mediumblue:[0,0,205/255],mediumorchid:[186/255,85/255,211/255],mediumpurple:[147/255,112/255,219/255],mediumseagreen:[60/255,179/255,113/255],mediumslateblue:[123/255,104/255,238/255],mediumspringgreen:[0,250/255,154/255],mediumturquoise:[72/255,209/255,.8],mediumvioletred:[199/255,21/255,133/255],midnightblue:[25/255,25/255,112/255],mintcream:[245/255,1,250/255],mistyrose:[1,228/255,225/255],moccasin:[1,228/255,181/255],navajowhite:[1,222/255,173/255],navy:[0,0,128/255],oldlace:[253/255,245/255,230/255],olive:[128/255,128/255,0],olivedrab:[107/255,142/255,35/255],orange:[1,165/255,0],orangered:[1,69/255,0],orchid:[218/255,112/255,214/255],palegoldenrod:[238/255,232/255,170/255],palegreen:[152/255,251/255,152/255],paleturquoise:[175/255,238/255,238/255],palevioletred:[219/255,112/255,147/255],papayawhip:[1,239/255,213/255],peachpuff:[1,218/255,185/255],peru:[205/255,133/255,63/255],pink:[1,192/255,203/255],plum:[221/255,160/255,221/255],powderblue:[176/255,224/255,230/255],purple:[128/255,0,128/255],rebeccapurple:[.4,.2,.6],red:[1,0,0],rosybrown:[188/255,143/255,143/255],royalblue:[65/255,105/255,225/255],saddlebrown:[139/255,69/255,19/255],salmon:[250/255,128/255,114/255],sandybrown:[244/255,164/255,96/255],seagreen:[46/255,139/255,87/255],seashell:[1,245/255,238/255],sienna:[160/255,82/255,45/255],silver:[192/255,192/255,192/255],skyblue:[135/255,206/255,235/255],slateblue:[106/255,90/255,205/255],slategray:[112/255,128/255,144/255],slategrey:[112/255,128/255,144/255],snow:[1,250/255,250/255],springgreen:[0,1,127/255],steelblue:[70/255,130/255,180/255],tan:[210/255,180/255,140/255],teal:[0,128/255,128/255],thistle:[216/255,191/255,216/255],tomato:[1,99/255,71/255],turquoise:[64/255,224/255,208/255],violet:[238/255,130/255,238/255],wheat:[245/255,222/255,179/255],white:[1,1,1],whitesmoke:[245/255,245/255,245/255],yellow:[1,1,0],yellowgreen:[154/255,205/255,50/255]},T=r(y=Array(3)).call(y,"<percentage> | <number>[0, 255]"),x=r(v=Array(3)).call(v,"<number>[0, 255]"),S=new b({id:"srgb",name:"sRGB",base:_,fromBase:function(e){return i(e).call(e,(function(e){var t=e<0?-1:1,n=e*t;return n>.0031308?t*(1.055*Math.pow(n,1/2.4)-.055):12.92*e}))},toBase:function(e){return i(e).call(e,(function(e){var t=e<0?-1:1,n=e*t;return n<=.04045?e/12.92:t*Math.pow((n+.055)/1.055,2.4)}))},formats:{rgb:{coords:T},rgb_number:{name:"rgb",commas:!0,coords:x,noAlpha:!0},color:{},rgba:{coords:T,commas:!0,lastAlpha:!0},rgba_number:{name:"rgba",commas:!0,coords:x},hex:{type:"custom",toGamut:!0,test:function(e){return/^#([a-f0-9]{3,4}){1,2}$/i.test(e)},parse:function(e){e.length<=5&&(e=e.replace(/[a-f0-9]/gi,"$&$&"));var t=[];return e.replace(/[a-f0-9]{2}/gi,(function(e){t.push(parseInt(e,16)/255)})),{spaceId:"srgb",coords:o(t).call(t,0,3),alpha:o(t).call(t,3)[0]}},serialize:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.collapse,o=void 0===r||r;t<1&&e.push(t),e=i(e).call(e,(function(e){return Math.round(255*e)}));var s=o&&e.every((function(e){return e%17==0})),u=i(e).call(e,(function(e){var t;return s?(e/17).toString(16):a(t=e.toString(16)).call(t,2,"0")})).join("");return"#"+u}},keyword:{type:"custom",test:function(e){return/^[a-z]+$/i.test(e)},parse:function(e){var t={spaceId:"srgb",coords:null,alpha:1};if("transparent"===(e=e.toLowerCase())?(t.coords=w.black,t.alpha=0):t.coords=w[e],t.coords)return t}}}})},65049:function(e,t,n){"use strict";var r=n(4020);t.Z=new r.Z({id:"xyz-d65",name:"XYZ D65",coords:{x:{name:"X"},y:{name:"Y"},z:{name:"Z"}},white:"D65",formats:{color:{ids:["xyz-d65","xyz"]}},aliases:["xyz"]})},19487:function(e,t,n){"use strict";n.d(t,{Z:function(){return Ge}});var r=n(8293),i=n(4020),o=n(59056),a=n(31634),s=n(62079),u=n(88946),c=n(31082),l=n(75064),f=n(90781),d=n(54123);function p(e){return(e%360+360)%360}var h=new i.Z({id:"lch",name:"LCH",coords:{l:{refRange:[0,100],name:"Lightness"},c:{refRange:[0,150],name:"Chroma"},h:{refRange:[0,360],type:"angle",name:"Hue"}},base:d.Z,fromBase:function(e){var t,n=(0,o.Z)(e,3),r=n[0],i=n[1],a=n[2];return t=Math.abs(i)<.02&&Math.abs(a)<.02?NaN:180*Math.atan2(a,i)/Math.PI,[r,Math.sqrt(Math.pow(i,2)+Math.pow(a,2)),p(t)]},toBase:function(e){var t=(0,o.Z)(e,3),n=t[0],r=t[1],i=t[2];return r<0&&(r=0),isNaN(i)&&(i=0),[n,r*Math.cos(i*Math.PI/180),r*Math.sin(i*Math.PI/180)]},formats:{lch:{coords:["<number> | <percentage>","<number> | <percentage>","<number> | <angle>"]}}}),g=Math.pow(25,7),m=Math.PI,y=180/m,v=m/180;function b(e){var t=e*e;return t*t*t*e}function _(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=n.kL,a=void 0===i?1:i,s=n.kC,u=void 0===s?1:s,c=n.kH,l=void 0===c?1:c,p=(0,r.Z)([e,t]),_=(0,o.Z)(p,2);e=_[0],t=_[1];var w=d.Z.from(e),T=(0,o.Z)(w,3),x=T[0],S=T[1],k=T[2],E=h.from(d.Z,[x,S,k])[1],O=d.Z.from(t),C=(0,o.Z)(O,3),L=C[0],A=C[1],I=C[2],P=h.from(d.Z,[L,A,I])[1];E<0&&(E=0),P<0&&(P=0);var M=(E+P)/2,R=b(M),j=.5*(1-Math.sqrt(R/(R+g))),D=(1+j)*S,N=(1+j)*A,B=Math.sqrt(Math.pow(D,2)+Math.pow(k,2)),U=Math.sqrt(Math.pow(N,2)+Math.pow(I,2)),F=0===D&&0===k?0:Math.atan2(k,D),z=0===N&&0===I?0:Math.atan2(I,N);F<0&&(F+=2*m),z<0&&(z+=2*m);var H,Z=L-x,q=U-B,V=(z*=y)-(F*=y),W=F+z,G=Math.abs(V);B*U==0?H=0:G<=180?H=V:V>180?H=V-360:V<-180?H=V+360:f.Z.warn("the unthinkable has happened");var $,Y=2*Math.sqrt(U*B)*Math.sin(H*v/2),K=(x+L)/2,X=(B+U)/2,Q=b(X);$=B*U==0?W:G<=180?W/2:W<360?(W+360)/2:(W-360)/2;var J=Math.pow(K-50,2),ee=1+.015*J/Math.sqrt(20+J),te=1+.045*X,ne=1;ne-=.17*Math.cos(($-30)*v),ne+=.24*Math.cos(2*$*v),ne+=.32*Math.cos((3*$+6)*v);var re=1+.015*X*(ne-=.2*Math.cos((4*$-63)*v)),ie=30*Math.exp(-1*Math.pow(($-275)/25,2)),oe=2*Math.sqrt(Q/(Q+g)),ae=-1*Math.sin(2*ie*v)*oe,se=Math.pow(Z/(a*ee),2);return se+=Math.pow(q/(u*te),2),se+=Math.pow(Y/(l*re),2),se+=ae*(q/(u*te))*(Y/(l*re)),Math.sqrt(se)}var w=n(59898),T=n(38754),x=n(65049),S=[[.819022437996703,.3619062600528904,-.1288737815209879],[.0329836539323885,.9292868615863434,.0361446663506424],[.0481771893596242,.2642395317527308,.6335478284694309]],k=[[1.2268798758459243,-.5578149944602171,.2813910456659647],[-.0405757452148008,1.112286803280317,-.0717110580655164],[-.0763729366746601,-.4214933324022432,1.5869240198367816]],E=[[.210454268309314,.7936177747023054,-.0040720430116193],[1.9779985324311684,-2.42859224204858,.450593709617411],[.0259040424655478,.7827717124575296,-.8086757549230774]],O=[[1,.3963377773761749,.2158037573099136],[1,-.1055613458156586,-.0638541728258133],[1,-.0894841775298119,-1.2914855480194092]],C=new i.Z({id:"oklab",name:"Oklab",coords:{l:{refRange:[0,1],name:"Lightness"},a:{refRange:[-.4,.4]},b:{refRange:[-.4,.4]}},white:"D65",base:x.Z,fromBase:function(e){var t=(0,T.Z)(S,e),n=u(t).call(t,(function(e){return w(e)}));return(0,T.Z)(E,n)},toBase:function(e){var t=(0,T.Z)(O,e),n=u(t).call(t,(function(e){return Math.pow(e,3)}));return(0,T.Z)(k,n)},formats:{oklab:{coords:["<percentage> | <number>","<number> | <percentage>[-1,1]","<number> | <percentage>[-1,1]"]}}});function L(e,t){var n=(0,r.Z)([e,t]),i=(0,o.Z)(n,2);e=i[0],t=i[1];var a=C.from(e),s=(0,o.Z)(a,3),u=s[0],c=s[1],l=s[2],f=C.from(t),d=(0,o.Z)(f,3),p=u-d[0],h=c-d[1],g=l-d[2];return Math.sqrt(Math.pow(p,2)+Math.pow(h,2)+Math.pow(g,2))}var A=75e-6;function I(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=n.epsilon,a=void 0===o?A:o;e=(0,r.Z)(e),t||(t=e.space),t=i.Z.get(t);var s=e.coords;return t!==e.space&&(s=t.from(e)),t.inGamut(s,{epsilon:a})}var P=n(64030),M=n(89289);function R(e,t,n){return e=(0,r.Z)(e),t=i.Z.get(t),e.coords=t.to(e.space,n),e}function j(e,t,n){if(e=(0,r.Z)(e),2===arguments.length&&"object"===(0,l.dt)(arguments[1])){var o=arguments[1];for(var a in o)j(e,a,o[a])}else{"function"==typeof n&&(n=n((0,P.Z)(e,t)));var s=i.Z.resolveCoord(t,e.space),u=s.space,c=s.index,f=(0,M.Z)(e,u);f[c]=n,R(e,u,f)}return e}R.returns="color",j.returns="color";var D=n(35704);function N(e){var t;return{space:e.space,coords:D(t=e.coords).call(t),alpha:e.alpha}}var B=n(35293),U=Math.PI/180;var F=new i.Z({id:"xyz-abs-d65",cssId:"--xyz-abs-d65",name:"Absolute XYZ D65",coords:{x:{refRange:[0,9504.7],name:"Xa"},y:{refRange:[0,1e4],name:"Ya"},z:{refRange:[0,10888.3],name:"Za"}},base:x.Z,fromBase:function(e){return u(e).call(e,(function(e){return Math.max(203*e,0)}))},toBase:function(e){return u(e).call(e,(function(e){return Math.max(e/203,0)}))}}),z=1.15,H=.66,Z=2610/Math.pow(2,14),q=Math.pow(2,14)/2610,V=3424/Math.pow(2,12),W=2413/Math.pow(2,7),G=2392/Math.pow(2,7),$=1.7*2523/Math.pow(2,5),Y=Math.pow(2,5)/(1.7*2523),K=-.56,X=16295499532821565e-27,Q=[[.41478972,.579999,.014648],[-.20151,1.120649,.0531008],[-.0166008,.2648,.6684799]],J=[[1.9242264357876067,-1.0047923125953657,.037651404030618],[.35031676209499907,.7264811939316552,-.06538442294808501],[-.09098281098284752,-.3127282905230739,1.5227665613052603]],ee=[[.5,.5,0],[3.524,-4.066708,.542708],[.199076,1.096799,-1.295875]],te=[[1,.1386050432715393,.05804731615611886],[.9999999999999999,-.1386050432715393,-.05804731615611886],[.9999999999999998,-.09601924202631895,-.8118918960560388]],ne=new i.Z({id:"jzazbz",name:"Jzazbz",coords:{jz:{refRange:[0,1],name:"Jz"},az:{refRange:[-.5,.5]},bz:{refRange:[-.5,.5]}},base:F,fromBase:function(e){var t=(0,o.Z)(e,3),n=t[0],r=t[1],i=t[2],a=z*n-(z-1)*i,s=H*r-(H-1)*n,c=(0,T.Z)(Q,[a,s,i]),l=u(c).call(c,(function(e){var t=V+W*Math.pow(e/1e4,Z),n=1+G*Math.pow(e/1e4,Z);return Math.pow(t/n,$)})),f=(0,T.Z)(ee,l),d=(0,o.Z)(f,3),p=d[0],h=d[1],g=d[2];return[(1+K)*p/(1+K*p)-X,h,g]},toBase:function(e){var t=(0,o.Z)(e,3),n=t[0],r=t[1],i=t[2],a=(n+X)/(1+K-K*(n+X)),s=(0,T.Z)(te,[a,r,i]),c=u(s).call(s,(function(e){var t=V-Math.pow(e,Y),n=G*Math.pow(e,Y)-W;return 1e4*Math.pow(t/n,q)})),l=(0,T.Z)(J,c),f=(0,o.Z)(l,3),d=f[0],p=f[1],h=f[2],g=(d+(z-1)*h)/z;return[g,(p+(H-1)*g)/H,h]},formats:{color:{coords:["<number> | <percentage>","<number> | <percentage>[-1,1]","<number> | <percentage>[-1,1]"]}}}),re=new i.Z({id:"jzczhz",name:"JzCzHz",coords:{jz:{refRange:[0,1],name:"Jz"},cz:{refRange:[0,1],name:"Chroma"},hz:{refRange:[0,360],type:"angle",name:"Hue"}},base:ne,fromBase:function(e){var t,n=(0,o.Z)(e,3),r=n[0],i=n[1],a=n[2],s=2e-4;return t=Math.abs(i)<s&&Math.abs(a)<s?NaN:180*Math.atan2(a,i)/Math.PI,[r,Math.sqrt(Math.pow(i,2)+Math.pow(a,2)),p(t)]},toBase:function(e){return[e[0],e[1]*Math.cos(e[2]*Math.PI/180),e[1]*Math.sin(e[2]*Math.PI/180)]}});var ie=.8359375,oe=2413/128,ae=18.6875,se=2610/16384,ue=2523/32,ce=16384/2610,le=32/2523,fe=[[.3592832590121217,.6976051147779502,-.035891593232029],[-.1920808463704993,1.100476797037432,.0753748658519118],[.0070797844607479,.0748396662186362,.8433265453898765]],de=[[.5,.5,0],[6610/4096,-13613/4096,7003/4096],[17933/4096,-17390/4096,-543/4096]],pe=[[.9999999999999998,.0086090370379328,.111029625003026],[.9999999999999998,-.0086090370379328,-.1110296250030259],[.9999999999999998,.5600313357106791,-.3206271749873188]],he=[[2.0701522183894223,-1.3263473389671563,.2066510476294053],[.3647385209748072,.6805660249472273,-.0453045459220347],[-.0497472075358123,-.0492609666966131,1.1880659249923042]],ge=new i.Z({id:"ictcp",name:"ICTCP",coords:{i:{refRange:[0,1],name:"I"},ct:{refRange:[-.5,.5],name:"CT"},cp:{refRange:[-.5,.5],name:"CP"}},base:F,fromBase:function(e){return function(e){var t=u(e).call(e,(function(e){var t=ie+oe*Math.pow(e/1e4,se),n=1+ae*Math.pow(e/1e4,se);return Math.pow(t/n,ue)}));return(0,T.Z)(de,t)}((0,T.Z)(fe,e))},toBase:function(e){var t=function(e){var t=(0,T.Z)(pe,e);return u(t).call(t,(function(e){var t=Math.max(Math.pow(e,le)-ie,0),n=oe-ae*Math.pow(e,le);return 1e4*Math.pow(t/n,ce)}))}(e);return(0,T.Z)(he,t)}});var me=n(66773),ye=me.mh.D65,ve=1/.42,be=2*Math.PI,_e=[[.401288,.650173,-.051461],[-.250268,1.204414,.045854],[-.002079,.048952,.953127]],we=[[1.8620678550872327,-1.0112546305316843,.14918677544445175],[.38752654323613717,.6214474419314753,-.008973985167612518],[-.015841498849333856,-.03412293802851557,1.0499644368778496]],Te=[[460,451,288],[460,-891,-261],[460,-220,-6300]],xe={dark:[.8,.525,.8],dim:[.9,.59,.9],average:[1,.69,1]},Se={h:[20.14,90,164.25,237.53,380.14],e:[.8,.7,1,1.2,.8],H:[0,100,200,300,400]},ke=180/Math.PI,Ee=Math.PI/180;function Oe(e,t){return u(e).call(e,(function(e){var n=(0,l.$7)(t*Math.abs(e)*.01,.42);return 400*(0,l.g6)(n,e)/(n+27.13)}))}function Ce(e,t,n,r,i){var o,a={};a.discounting=i,a.refWhite=e,a.surround=r;var s=u(e).call(e,(function(e){return 100*e}));a.la=t,a.yb=n;var c=s[1],f=(0,T.Z)(_e,s),d=(r=xe[a.surround])[0];a.c=r[1],a.nc=r[2];var p=1/(5*a.la+1),h=Math.pow(p,4);a.fl=h*a.la+.1*(1-h)*(1-h)*w(5*a.la),a.flRoot=Math.pow(a.fl,.25),a.n=a.yb/c,a.z=1.48+Math.sqrt(a.n),a.nbb=.725*Math.pow(a.n,-.2),a.ncb=a.nbb;var g=i?1:Math.max(Math.min(d*(1-1/3.6*Math.exp((-a.la-42)/92)),1),0);a.dRgb=u(f).call(f,(function(e){return(0,l.sX)(1,c/e,g)})),a.dRgbInv=u(o=a.dRgb).call(o,(function(e){return 1/e}));var m=Oe(u(f).call(f,(function(e,t){return e*a.dRgb[t]})),a.fl);return a.aW=a.nbb*(2*m[0]+m[1]+.05*m[2]),a}var Le=Ce(ye,64/Math.PI*.2,20,"average",!1);function Ae(e,t){var n,r;if(!(void 0!==e.J^void 0!==e.Q))throw new Error("Conversion requires one and only one: 'J' or 'Q'");if(!(void 0!==e.C^void 0!==e.M^void 0!==e.s))throw new Error("Conversion requires one and only one: 'C', 'M' or 's'");if(!(void 0!==e.h^void 0!==e.H))throw new Error("Conversion requires one and only one: 'h' or 'H'");if(0===e.J||0===e.Q)return[0,0,0];var i=0;i=void 0!==e.h?p(e.h)*Ee:function(e){var t,n,r=(e%400+400)%400,i=Math.floor(.01*r);r%=100;var a=D(t=Se.h).call(t,i,i+2),s=(0,o.Z)(a,2),u=s[0],c=s[1],l=D(n=Se.e).call(n,i,i+2),f=(0,o.Z)(l,2),d=f[0],h=f[1];return p((r*(h*u-d*c)-100*u*h)/(r*(h-d)-100*h))}(e.H)*Ee;var a=Math.cos(i),s=Math.sin(i),c=0;void 0!==e.J?c=.1*(0,l.$7)(e.J,.5):void 0!==e.Q&&(c=.25*t.c*e.Q/((t.aW+4)*t.flRoot));var f=0;void 0!==e.C?f=e.C/c:void 0!==e.M?f=e.M/t.flRoot/c:void 0!==e.s&&(f=4e-4*Math.pow(e.s,2)*(t.aW+4)/t.c);var d,h,g,m=(0,l.$7)(f*Math.pow(1.64-Math.pow(.29,t.n),-.73),10/9),y=.25*(Math.cos(i+2)+3.8),v=t.aW*(0,l.$7)(c,2/t.c/t.z),b=5e4/13*t.nc*t.ncb*y,_=v/t.nbb,w=23*(_+.305)*(0,l.rY)(m,23*b+m*(11*a+108*s)),x=w*a,S=w*s,k=(d=u(n=(0,T.Z)(Te,[_,x,S])).call(n,(function(e){return 1*e/1403})),h=t.fl,g=100/h*Math.pow(27.13,ve),u(d).call(d,(function(e){var t=Math.abs(e);return(0,l.g6)(g*(0,l.$7)(t/(400-t),ve),e)})));return u(r=(0,T.Z)(we,u(k).call(k,(function(e,n){return e*t.dRgbInv[n]})))).call(r,(function(e){return e/100}))}function Ie(e,t){var n,r=u(e).call(e,(function(e){return 100*e})),i=Oe(u(n=(0,T.Z)(_e,r)).call(n,(function(e,n){return e*t.dRgb[n]})),t.fl),a=i[0]+(-12*i[1]+i[2])/11,s=(i[0]+i[1]-2*i[2])/9,c=(Math.atan2(s,a)%be+be)%be,f=.25*(Math.cos(c+2)+3.8),d=5e4/13*t.nc*t.ncb*(0,l.rY)(f*Math.sqrt(Math.pow(a,2)+Math.pow(s,2)),i[0]+i[1]+1.05*i[2]+.305),h=(0,l.$7)(d,.9)*Math.pow(1.64-Math.pow(.29,t.n),.73),g=t.nbb*(2*i[0]+i[1]+.05*i[2]),m=(0,l.$7)(g/t.aW,.5*t.c*t.z),y=100*(0,l.$7)(m,2),v=4/t.c*m*(t.aW+4)*t.flRoot,b=h*m,_=b*t.flRoot,w=p(c*ke),x=function(e){var t,n,r=p(e);r<=Se.h[0]&&(r+=360);var i=(0,l.Nw)(Se.h,r)-1,a=D(t=Se.h).call(t,i,i+2),s=(0,o.Z)(a,2),u=s[0],c=s[1],f=D(n=Se.e).call(n,i,i+2),d=(0,o.Z)(f,2),h=d[0],g=d[1],m=(r-u)/h;return Se.H[i]+100*m/(m+(c-r)/g)}(w);return{J:y,C:b,h:w,s:50*(0,l.$7)(t.c*h/(t.aW+4),.5),Q:v,M:_,H:x}}new i.Z({id:"cam16-jmh",cssId:"--cam16-jmh",name:"CAM16-JMh",coords:{j:{refRange:[0,100],name:"J"},m:{refRange:[0,105],name:"Colorfulness"},h:{refRange:[0,360],type:"angle",name:"Hue"}},base:x.Z,fromBase:function(e){var t=Ie(e,Le);return[t.J,t.M,t.h]},toBase:function(e){return Ae({J:e[0],M:e[1],h:e[2]},Le)}});var Pe=me.mh.D65,Me=24389/27;function Re(e){return e>8?Math.pow((e+16)/116,3):e/Me}function je(e,t){var n,r=116*((n=e[1])>.008856451679035631?w(n):(Me*n+16)/116)-16;if(0===r)return[0,0,0];var i=Ie(e,De);return[p(i.h),i.C,r]}var De=Ce(Pe,200/Math.PI*Re(50),100*Re(50),"average",!1),Ne=new i.Z({id:"hct",name:"HCT",coords:{h:{refRange:[0,360],type:"angle",name:"Hue"},c:{refRange:[0,145],name:"Colorfulness"},t:{refRange:[0,100],name:"Tone"}},base:x.Z,fromBase:function(e){return je(e)},toBase:function(e){return function(e,t){var n=(0,o.Z)(e,3),r=n[0],i=n[1],a=n[2],s=[],u=0;if(0===a)return[0,0,0];var c=Re(a),l=0,f=1/0;for(u=a>0?.00379058511492914*Math.pow(a,2)+.608983189401032*a+.9155088574762233:9514440756550361e-21*Math.pow(a,2)+.08693057439788597*a-21.928975842194614;l<=15;){s=Ae({J:u,C:i,h:r},t);var d=Math.abs(s[1]-c);if(d<f){if(d<=2e-12)return s;f=d}u-=(s[1]-c)*u/(2*s[1]),l+=1}return Ae({J:u,C:i,h:r},t)}(e,De)},formats:{color:{id:"--hct",coords:["<number> | <angle>","<percentage> | <number>","<percentage> | <number>"]}}}),Be=(Math.PI,Math.PI/180),Ue=[1,.007,.0228];function Fe(e){e[1]<0&&(e=Ne.fromBase(Ne.toBase(e)));var t=Math.log(Math.max(1+Ue[2]*e[1]*De.flRoot,1))/Ue[2],n=e[0]*Be,r=t*Math.cos(n),i=t*Math.sin(n);return[e[2],r,i]}var ze={deltaE76:function(e,t){return function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"lab",r=(n=i.Z.get(n)).from(e),o=n.from(t);return Math.sqrt(r.reduce((function(e,t,n){var r=o[n];return isNaN(t)||isNaN(r)?e:e+Math.pow(r-t,2)}),0))}(e,t,"lab")},deltaECMC:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=n.l,a=void 0===i?2:i,s=n.c,u=void 0===s?1:s,c=(0,r.Z)([e,t]),l=(0,o.Z)(c,2);e=l[0],t=l[1];var f=d.Z.from(e),p=(0,o.Z)(f,3),g=p[0],m=p[1],y=p[2],v=h.from(d.Z,[g,m,y]),b=(0,o.Z)(v,3),_=b[1],w=b[2],T=d.Z.from(t),x=(0,o.Z)(T,3),S=x[0],k=x[1],E=x[2],O=h.from(d.Z,[S,k,E])[1];_<0&&(_=0),O<0&&(O=0);var C=g-S,L=_-O,A=m-k,I=y-E,P=Math.pow(A,2)+Math.pow(I,2)-Math.pow(L,2),M=.511;g>=16&&(M=.040975*g/(1+.01765*g));var R,j=.0638*_/(1+.0131*_)+.638;B(w)&&(w=0),R=w>=164&&w<=345?.56+Math.abs(.2*Math.cos((w+168)*U)):.36+Math.abs(.4*Math.cos((w+35)*U));var D=Math.pow(_,4),N=Math.sqrt(D/(D+1900)),F=j*(N*R+1-N),z=Math.pow(C/(a*M),2);return z+=Math.pow(L/(u*j),2),z+=P/Math.pow(F,2),Math.sqrt(z)},deltaE2000:_,deltaEJz:function(e,t){var n=(0,r.Z)([e,t]),i=(0,o.Z)(n,2);e=i[0],t=i[1];var a=re.from(e),s=(0,o.Z)(a,3),u=s[0],c=s[1],l=s[2],f=re.from(t),d=(0,o.Z)(f,3),p=d[0],h=d[1],g=d[2],m=u-p,y=c-h;B(l)&&B(g)?(l=0,g=0):B(l)?l=g:B(g)&&(g=l);var v=l-g,b=2*Math.sqrt(c*h)*Math.sin(v/2*(Math.PI/180));return Math.sqrt(Math.pow(m,2)+Math.pow(y,2)+Math.pow(b,2))},deltaEITP:function(e,t){var n=(0,r.Z)([e,t]),i=(0,o.Z)(n,2);e=i[0],t=i[1];var a=ge.from(e),s=(0,o.Z)(a,3),u=s[0],c=s[1],l=s[2],f=ge.from(t),d=(0,o.Z)(f,3),p=d[0],h=d[1],g=d[2];return 720*Math.sqrt(Math.pow(u-p,2)+.25*Math.pow(c-h,2)+Math.pow(l-g,2))},deltaEOK:L,deltaEHCT:function(e,t){var n=(0,r.Z)([e,t]),i=(0,o.Z)(n,2);e=i[0],t=i[1];var a=Fe(Ne.from(e)),s=(0,o.Z)(a,3),u=s[0],c=s[1],l=s[2],f=Fe(Ne.from(t)),d=(0,o.Z)(f,3),p=d[0],h=d[1],g=d[2];return Math.sqrt(Math.pow(u-p,2)+Math.pow(c-h,2)+Math.pow(l-g,2))}};function He(e){var t=e?Math.floor(a(Math.abs(e))):0;return Math.max(parseFloat("1e".concat(t-2)),1e-6)}var Ze={hct:{method:"hct.c",jnd:2,deltaEMethod:"hct",blackWhiteClamp:{}},"hct-tonal":{method:"hct.c",jnd:0,deltaEMethod:"hct",blackWhiteClamp:{channel:"hct.t",min:0,max:100}}};function qe(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=n.method,d=void 0===a?f.Z.gamut_mapping:a,p=n.space,h=void 0===p?void 0:p,g=n.deltaEMethod,m=void 0===g?"":g,y=n.jnd,v=void 0===y?2:y,b=n.blackWhiteClamp,w=void 0===b?{}:b;if(e=(0,r.Z)(e),l.HD(arguments[1])?h=arguments[1]:h||(h=e.space),I(e,h=i.Z.get(h),{epsilon:0}))return e;if("css"===d)t=We(e,{space:h});else{if("clip"===d||I(e,h))t=Ge(e,h);else{if(Object.prototype.hasOwnProperty.call(Ze,d)){var T=Ze[d];d=T.method,v=T.jnd,m=T.deltaEMethod,w=T.blackWhiteClamp}var x=_;if(""!==m)for(var S in ze)if("deltae"+m.toLowerCase()===S.toLowerCase()){x=ze[S];break}var k=qe(Ge(e,h),{method:"clip",space:h});if(x(e,k)>v){if(3===s(w).length){var E=i.Z.resolveCoord(w.channel),O=(0,P.Z)(Ge(e,E.space),E.id);if(l.Wi(O)&&(O=0),O>=w.max)return Ge({space:"xyz-d65",coords:me.mh.D65},e.space);if(O<=w.min)return Ge({space:"xyz-d65",coords:[0,0,0]},e.space)}var C=i.Z.resolveCoord(d),L=C.space,A=C.id,M=Ge(e,L);M.coords.forEach((function(e,t){l.Wi(e)&&(M.coords[t]=0)}));for(var R=C.range||C.refRange,D=R[0],B=He(v),U=D,F=(0,P.Z)(M,A);F-U>B;){var z=N(M);z=qe(z,{space:h,method:"clip"});var H=x(M,z);H-v<B?U=(0,P.Z)(M,A):F=(0,P.Z)(M,A),j(M,A,(U+F)/2)}t=Ge(M,h)}else t=k}if("clip"===d||!I(t,h,{epsilon:0})){var Z,q,V=u(Z=c(h.coords)).call(Z,(function(e){return e.range||[]}));t.coords=u(q=t.coords).call(q,(function(e,t){var n=(0,o.Z)(V[t],2),r=n[0],i=n[1];return void 0!==r&&(e=Math.max(r,e)),void 0!==i&&(e=Math.min(e,i)),e}))}}return h!==e.space&&(t=Ge(t,e.space)),e.coords=t.coords,e}qe.returns="color";var Ve={WHITE:{space:C,coords:[1,0,0]},BLACK:{space:C,coords:[0,0,0]}};function We(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.space,a=.02,s=1e-4;e=(0,r.Z)(e),n||(n=e.space),n=i.Z.get(n);var f=i.Z.get("oklch");if(n.isUnbounded)return Ge(e,n);var d=Ge(e,f),p=d.coords[0];if(p>=1){var h=Ge(Ve.WHITE,n);return h.alpha=e.alpha,Ge(h,n)}if(p<=0){var g=Ge(Ve.BLACK,n);return g.alpha=e.alpha,Ge(g,n)}if(I(d,n,{epsilon:0}))return Ge(d,n);function m(e){var t,r=Ge(e,n),i=c(n.coords);return r.coords=u(t=r.coords).call(t,(function(e,t){if("range"in i[t]){var n=(0,o.Z)(i[t].range,2),r=n[0],a=n[1];return l.uZ(r,e,a)}return e})),r}var y=0,v=d.coords[1],b=!0,_=N(d),w=m(_),T=L(w,_);if(T<a)return w;for(;v-y>s;){var x=(y+v)/2;if(_.coords[1]=x,b&&I(_,n,{epsilon:0}))y=x;else if((T=L(w=m(_),_))<a){if(a-T<s)break;b=!1,y=x}else v=x}return w}function Ge(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=n.inGamut;e=(0,r.Z)(e);var a=(t=i.Z.get(t)).from(e),s={space:t,coords:a,alpha:e.alpha};return o&&(s=qe(s,!0===o?void 0:o)),s}Ge.returns="color"},75064:function(e,t,n){"use strict";n.d(t,{$7:function(){return x},HD:function(){return f},KK:function(){return b},Nw:function(){return k},T7:function(){return _},Wi:function(){return h},Z$:function(){return y},dL:function(){return m},dt:function(){return d},g6:function(){return T},rY:function(){return S},sX:function(){return v},uZ:function(){return w},zL:function(){return p}});var r=n(19623),i=n(35293),o=n(31634),a=n(84705),s=n(35704),u=n(45181),c=n(88946),l=n(14051);function f(e){return"string"===d(e)}function d(e){return(Object.prototype.toString.call(e).match(/^\[object\s+(.*?)\]$/)[1]||"").toLowerCase()}function p(e,t){var n=t.precision,r=t.unit;return h(e)?"none":function(e,t){if(0===e)return 0;var n=~~e,r=0;n&&t&&(r=1+~~o(Math.abs(n)));var i=Math.pow(10,t-r);return Math.floor(e*i+.5)/i}(e,n)+(null!=r?r:"")}function h(e){return i(e)||e instanceof Number&&(null==e?void 0:e.none)}var g={deg:1,grad:.9,rad:180/Math.PI,turn:360};function m(e){if(e){e=a(e).call(e);var t=/^-?[\d.]+$/,n=/%|deg|g?rad|turn$/,i=e.match(/^([a-z]+)\((.+?)\)$/i);if(i){var o=[];return i[2].replace(/\/?\s*(none|[-\w.]+(?:%|deg|g?rad|turn)?)/g,(function(e,i){var a=i.match(n),c=i;if(a){var l=a[0],f=s(c).call(c,0,-l.length);"%"===l?(c=new Number(f/100)).type="<percentage>":((c=new Number(f*g[l])).type="<angle>",c.unit=l)}else t.test(c)?(c=new Number(c)).type="<number>":"none"===c&&((c=new Number(NaN)).none=!0);u(e).call(e,"/")&&((c=c instanceof Number?c:new Number(c)).alpha=!0),"object"===(0,r.Z)(c)&&c instanceof Number&&(c.raw=i),o.push(c)})),{name:i[1].toLowerCase(),rawName:i[1],rawArgs:i[2],args:o}}}}function y(e){return e[e.length-1]}function v(e,t,n){return isNaN(e)?t:isNaN(t)?e:e+(t-e)*n}function b(e,t,n){return v(t[0],t[1],function(e,t,n){return(n-e)/(t-e)}(e[0],e[1],n))}function _(e){return c(e).call(e,(function(e){var t;return c(t=e.split("|")).call(t,(function(e){var t=(e=a(e).call(e)).match(/^(<[a-z]+>)\[(-?[.\d]+),\s*(-?[.\d]+)\]?$/);if(t){var n=new String(t[1]);return n.range=[+t[2],+t[3]],n}return e}))}))}function w(e,t,n){return Math.max(Math.min(n,t),e)}function T(e,t){return l(e)===l(t)?e:-e}function x(e,t){return T(Math.pow(Math.abs(e),t),e)}function S(e,t){return 0===t?0:e/t}function k(e,t){for(var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:e.length;n<r;){var i=n+r>>1;e[i]<t?n=i+1:r=i}return n}},23148:function(e,t,n){"use strict";n.d(t,{De:function(){return It},Dx:function(){return Mt},ST:function(){return P},ZL:function(){return Ot},f$:function(){return en},jn:function(){return vt},kL:function(){return rt},od:function(){return _t},qi:function(){return ct},tt:function(){return M},u:function(){return $t},uw:function(){return Xt},vn:function(){return A}});var r=n(50713);class i{constructor(){this._request=null,this._charts=new Map,this._running=!1,this._lastDate=void 0}_notify(e,t,n,r){const i=t.listeners[r],o=t.duration;i.forEach((r=>r({chart:e,initial:t.initial,numSteps:o,currentStep:Math.min(n-t.start,o)})))}_refresh(){this._request||(this._running=!0,this._request=r.r.call(window,(()=>{this._update(),this._request=null,this._running&&this._refresh()})))}_update(e=Date.now()){let t=0;this._charts.forEach(((n,r)=>{if(!n.running||!n.items.length)return;const i=n.items;let o,a=i.length-1,s=!1;for(;a>=0;--a)o=i[a],o._active?(o._total>n.duration&&(n.duration=o._total),o.tick(e),s=!0):(i[a]=i[i.length-1],i.pop());s&&(r.draw(),this._notify(r,n,e,"progress")),i.length||(n.running=!1,this._notify(r,n,e,"complete"),n.initial=!1),t+=i.length})),this._lastDate=e,0===t&&(this._running=!1)}_getAnims(e){const t=this._charts;let n=t.get(e);return n||(n={running:!1,initial:!0,items:[],listeners:{complete:[],progress:[]}},t.set(e,n)),n}listen(e,t,n){this._getAnims(e).listeners[t].push(n)}add(e,t){t&&t.length&&this._getAnims(e).items.push(...t)}has(e){return this._getAnims(e).items.length>0}start(e){const t=this._charts.get(e);t&&(t.running=!0,t.start=Date.now(),t.duration=t.items.reduce(((e,t)=>Math.max(e,t._duration)),0),this._refresh())}running(e){if(!this._running)return!1;const t=this._charts.get(e);return!!(t&&t.running&&t.items.length)}stop(e){const t=this._charts.get(e);if(!t||!t.items.length)return;const n=t.items;let r=n.length-1;for(;r>=0;--r)n[r].cancel();t.items=[],this._notify(e,t,Date.now(),"complete")}remove(e){return this._charts.delete(e)}}var o=new i;const a="transparent",s={boolean:(e,t,n)=>n>.5?t:e,color(e,t,n){const i=(0,r.c)(e||a),o=i.valid&&(0,r.c)(t||a);return o&&o.valid?o.mix(i,n).hexString():t},number:(e,t,n)=>e+(t-e)*n};class u{constructor(e,t,n,i){const o=t[n];i=(0,r.a)([e.to,i,o,e.from]);const a=(0,r.a)([e.from,o,i]);this._active=!0,this._fn=e.fn||s[e.type||typeof a],this._easing=r.e[e.easing]||r.e.linear,this._start=Math.floor(Date.now()+(e.delay||0)),this._duration=this._total=Math.floor(e.duration),this._loop=!!e.loop,this._target=t,this._prop=n,this._from=a,this._to=i,this._promises=void 0}active(){return this._active}update(e,t,n){if(this._active){this._notify(!1);const i=this._target[this._prop],o=n-this._start,a=this._duration-o;this._start=n,this._duration=Math.floor(Math.max(a,e.duration)),this._total+=o,this._loop=!!e.loop,this._to=(0,r.a)([e.to,t,i,e.from]),this._from=(0,r.a)([e.from,i,t])}}cancel(){this._active&&(this.tick(Date.now()),this._active=!1,this._notify(!1))}tick(e){const t=e-this._start,n=this._duration,r=this._prop,i=this._from,o=this._loop,a=this._to;let s;if(this._active=i!==a&&(o||t<n),!this._active)return this._target[r]=a,void this._notify(!0);t<0?this._target[r]=i:(s=t/n%2,s=o&&s>1?2-s:s,s=this._easing(Math.min(1,Math.max(0,s))),this._target[r]=this._fn(i,a,s))}wait(){const e=this._promises||(this._promises=[]);return new Promise(((t,n)=>{e.push({res:t,rej:n})}))}_notify(e){const t=e?"res":"rej",n=this._promises||[];for(let e=0;e<n.length;e++)n[e][t]()}}class c{constructor(e,t){this._chart=e,this._properties=new Map,this.configure(t)}configure(e){if(!(0,r.i)(e))return;const t=Object.keys(r.d.animation),n=this._properties;Object.getOwnPropertyNames(e).forEach((i=>{const o=e[i];if(!(0,r.i)(o))return;const a={};for(const e of t)a[e]=o[e];((0,r.b)(o.properties)&&o.properties||[i]).forEach((e=>{e!==i&&n.has(e)||n.set(e,a)}))}))}_animateOptions(e,t){const n=t.options,r=function(e,t){if(!t)return;let n=e.options;if(!n)return void(e.options=t);n.$shared&&(e.options=n=Object.assign({},n,{$shared:!1,$animations:{}}));return n}(e,n);if(!r)return[];const i=this._createAnimations(r,n);return n.$shared&&function(e,t){const n=[],r=Object.keys(t);for(let t=0;t<r.length;t++){const i=e[r[t]];i&&i.active()&&n.push(i.wait())}return Promise.all(n)}(e.options.$animations,n).then((()=>{e.options=n}),(()=>{})),i}_createAnimations(e,t){const n=this._properties,r=[],i=e.$animations||(e.$animations={}),o=Object.keys(t),a=Date.now();let s;for(s=o.length-1;s>=0;--s){const c=o[s];if("$"===c.charAt(0))continue;if("options"===c){r.push(...this._animateOptions(e,t));continue}const l=t[c];let f=i[c];const d=n.get(c);if(f){if(d&&f.active()){f.update(d,l,a);continue}f.cancel()}d&&d.duration?(i[c]=f=new u(d,e,c,l),r.push(f)):e[c]=l}return r}update(e,t){if(0===this._properties.size)return void Object.assign(e,t);const n=this._createAnimations(e,t);return n.length?(o.add(this._chart,n),!0):void 0}}function l(e,t){const n=e&&e.options||{},r=n.reverse,i=void 0===n.min?t:0,o=void 0===n.max?t:0;return{start:r?o:i,end:r?i:o}}function f(e,t){const n=[],r=e._getSortedDatasetMetas(t);let i,o;for(i=0,o=r.length;i<o;++i)n.push(r[i].index);return n}function d(e,t,n,i={}){const o=e.keys,a="single"===i.mode;let s,u,c,l;if(null!==t){for(s=0,u=o.length;s<u;++s){if(c=+o[s],c===n){if(i.all)continue;break}l=e.values[c],(0,r.g)(l)&&(a||0===t||(0,r.s)(t)===(0,r.s)(l))&&(t+=l)}return t}}function p(e,t){const n=e&&e.options.stacked;return n||void 0===n&&void 0!==t.stack}function h(e,t,n){const r=e[t]||(e[t]={});return r[n]||(r[n]={})}function g(e,t,n,r){for(const i of t.getMatchingVisibleMetas(r).reverse()){const t=e[i.index];if(n&&t>0||!n&&t<0)return i.index}return null}function m(e,t){const{chart:n,_cachedMeta:r}=e,i=n._stacks||(n._stacks={}),{iScale:o,vScale:a,index:s}=r,u=o.axis,c=a.axis,l=function(e,t,n){return`${e.id}.${t.id}.${n.stack||n.type}`}(o,a,r),f=t.length;let d;for(let e=0;e<f;++e){const n=t[e],{[u]:o,[c]:f}=n;d=(n._stacks||(n._stacks={}))[c]=h(i,l,o),d[s]=f,d._top=g(d,a,!0,r.type),d._bottom=g(d,a,!1,r.type);(d._visualValues||(d._visualValues={}))[s]=f}}function y(e,t){const n=e.scales;return Object.keys(n).filter((e=>n[e].axis===t)).shift()}function v(e,t){const n=e.controller.index,r=e.vScale&&e.vScale.axis;if(r){t=t||e._parsed;for(const e of t){const t=e._stacks;if(!t||void 0===t[r]||void 0===t[r][n])return;delete t[r][n],void 0!==t[r]._visualValues&&void 0!==t[r]._visualValues[n]&&delete t[r]._visualValues[n]}}}const b=e=>"reset"===e||"none"===e,_=(e,t)=>t?e:Object.assign({},e);class w{static defaults={};static datasetElementType=null;static dataElementType=null;constructor(e,t){this.chart=e,this._ctx=e.ctx,this.index=t,this._cachedDataOpts={},this._cachedMeta=this.getMeta(),this._type=this._cachedMeta.type,this.options=void 0,this._parsing=!1,this._data=void 0,this._objectData=void 0,this._sharedOptions=void 0,this._drawStart=void 0,this._drawCount=void 0,this.enableOptionSharing=!1,this.supportsDecimation=!1,this.$context=void 0,this._syncList=[],this.datasetElementType=new.target.datasetElementType,this.dataElementType=new.target.dataElementType,this.initialize()}initialize(){const e=this._cachedMeta;this.configure(),this.linkScales(),e._stacked=p(e.vScale,e),this.addElements(),this.options.fill&&!this.chart.isPluginEnabled("filler")&&console.warn("Tried to use the 'fill' option without the 'Filler' plugin enabled. Please import and register the 'Filler' plugin and make sure it is not disabled in the options")}updateIndex(e){this.index!==e&&v(this._cachedMeta),this.index=e}linkScales(){const e=this.chart,t=this._cachedMeta,n=this.getDataset(),i=(e,t,n,r)=>"x"===e?t:"r"===e?r:n,o=t.xAxisID=(0,r.v)(n.xAxisID,y(e,"x")),a=t.yAxisID=(0,r.v)(n.yAxisID,y(e,"y")),s=t.rAxisID=(0,r.v)(n.rAxisID,y(e,"r")),u=t.indexAxis,c=t.iAxisID=i(u,o,a,s),l=t.vAxisID=i(u,a,o,s);t.xScale=this.getScaleForId(o),t.yScale=this.getScaleForId(a),t.rScale=this.getScaleForId(s),t.iScale=this.getScaleForId(c),t.vScale=this.getScaleForId(l)}getDataset(){return this.chart.data.datasets[this.index]}getMeta(){return this.chart.getDatasetMeta(this.index)}getScaleForId(e){return this.chart.scales[e]}_getOtherScale(e){const t=this._cachedMeta;return e===t.iScale?t.vScale:t.iScale}reset(){this._update("reset")}_destroy(){const e=this._cachedMeta;this._data&&(0,r.u)(this._data,this),e._stacked&&v(e)}_dataCheck(){const e=this.getDataset(),t=e.data||(e.data=[]),n=this._data;if((0,r.i)(t))this._data=function(e){const t=Object.keys(e),n=new Array(t.length);let r,i,o;for(r=0,i=t.length;r<i;++r)o=t[r],n[r]={x:o,y:e[o]};return n}(t);else if(n!==t){if(n){(0,r.u)(n,this);const e=this._cachedMeta;v(e),e._parsed=[]}t&&Object.isExtensible(t)&&(0,r.l)(t,this),this._syncList=[],this._data=t}}addElements(){const e=this._cachedMeta;this._dataCheck(),this.datasetElementType&&(e.dataset=new this.datasetElementType)}buildOrUpdateElements(e){const t=this._cachedMeta,n=this.getDataset();let r=!1;this._dataCheck();const i=t._stacked;t._stacked=p(t.vScale,t),t.stack!==n.stack&&(r=!0,v(t),t.stack=n.stack),this._resyncElements(e),(r||i!==t._stacked)&&m(this,t._parsed)}configure(){const e=this.chart.config,t=e.datasetScopeKeys(this._type),n=e.getOptionScopes(this.getDataset(),t,!0);this.options=e.createResolver(n,this.getContext()),this._parsing=this.options.parsing,this._cachedDataOpts={}}parse(e,t){const{_cachedMeta:n,_data:i}=this,{iScale:o,_stacked:a}=n,s=o.axis;let u,c,l,f=0===e&&t===i.length||n._sorted,d=e>0&&n._parsed[e-1];if(!1===this._parsing)n._parsed=i,n._sorted=!0,l=i;else{l=(0,r.b)(i[e])?this.parseArrayData(n,i,e,t):(0,r.i)(i[e])?this.parseObjectData(n,i,e,t):this.parsePrimitiveData(n,i,e,t);const o=()=>null===c[s]||d&&c[s]<d[s];for(u=0;u<t;++u)n._parsed[u+e]=c=l[u],f&&(o()&&(f=!1),d=c);n._sorted=f}a&&m(this,l)}parsePrimitiveData(e,t,n,r){const{iScale:i,vScale:o}=e,a=i.axis,s=o.axis,u=i.getLabels(),c=i===o,l=new Array(r);let f,d,p;for(f=0,d=r;f<d;++f)p=f+n,l[f]={[a]:c||i.parse(u[p],p),[s]:o.parse(t[p],p)};return l}parseArrayData(e,t,n,r){const{xScale:i,yScale:o}=e,a=new Array(r);let s,u,c,l;for(s=0,u=r;s<u;++s)c=s+n,l=t[c],a[s]={x:i.parse(l[0],c),y:o.parse(l[1],c)};return a}parseObjectData(e,t,n,i){const{xScale:o,yScale:a}=e,{xAxisKey:s="x",yAxisKey:u="y"}=this._parsing,c=new Array(i);let l,f,d,p;for(l=0,f=i;l<f;++l)d=l+n,p=t[d],c[l]={x:o.parse((0,r.f)(p,s),d),y:a.parse((0,r.f)(p,u),d)};return c}getParsed(e){return this._cachedMeta._parsed[e]}getDataElement(e){return this._cachedMeta.data[e]}applyStack(e,t,n){const r=this.chart,i=this._cachedMeta,o=t[e.axis];return d({keys:f(r,!0),values:t._stacks[e.axis]._visualValues},o,i.index,{mode:n})}updateRangeFromParsed(e,t,n,r){const i=n[t.axis];let o=null===i?NaN:i;const a=r&&n._stacks[t.axis];r&&a&&(r.values=a,o=d(r,i,this._cachedMeta.index)),e.min=Math.min(e.min,o),e.max=Math.max(e.max,o)}getMinMax(e,t){const n=this._cachedMeta,i=n._parsed,o=n._sorted&&e===n.iScale,a=i.length,s=this._getOtherScale(e),u=((e,t,n)=>e&&!t.hidden&&t._stacked&&{keys:f(n,!0),values:null})(t,n,this.chart),c={min:Number.POSITIVE_INFINITY,max:Number.NEGATIVE_INFINITY},{min:l,max:d}=function(e){const{min:t,max:n,minDefined:r,maxDefined:i}=e.getUserBounds();return{min:r?t:Number.NEGATIVE_INFINITY,max:i?n:Number.POSITIVE_INFINITY}}(s);let p,h;function g(){h=i[p];const t=h[s.axis];return!(0,r.g)(h[e.axis])||l>t||d<t}for(p=0;p<a&&(g()||(this.updateRangeFromParsed(c,e,h,u),!o));++p);if(o)for(p=a-1;p>=0;--p)if(!g()){this.updateRangeFromParsed(c,e,h,u);break}return c}getAllParsedValues(e){const t=this._cachedMeta._parsed,n=[];let i,o,a;for(i=0,o=t.length;i<o;++i)a=t[i][e.axis],(0,r.g)(a)&&n.push(a);return n}getMaxOverflow(){return!1}getLabelAndValue(e){const t=this._cachedMeta,n=t.iScale,r=t.vScale,i=this.getParsed(e);return{label:n?""+n.getLabelForValue(i[n.axis]):"",value:r?""+r.getLabelForValue(i[r.axis]):""}}_update(e){const t=this._cachedMeta;this.update(e||"default"),t._clip=function(e){let t,n,i,o;return(0,r.i)(e)?(t=e.top,n=e.right,i=e.bottom,o=e.left):t=n=i=o=e,{top:t,right:n,bottom:i,left:o,disabled:!1===e}}((0,r.v)(this.options.clip,function(e,t,n){if(!1===n)return!1;const r=l(e,n),i=l(t,n);return{top:i.end,right:r.end,bottom:i.start,left:r.start}}(t.xScale,t.yScale,this.getMaxOverflow())))}update(e){}draw(){const e=this._ctx,t=this.chart,n=this._cachedMeta,r=n.data||[],i=t.chartArea,o=[],a=this._drawStart||0,s=this._drawCount||r.length-a,u=this.options.drawActiveElementsOnTop;let c;for(n.dataset&&n.dataset.draw(e,i,a,s),c=a;c<a+s;++c){const t=r[c];t.hidden||(t.active&&u?o.push(t):t.draw(e,i))}for(c=0;c<o.length;++c)o[c].draw(e,i)}getStyle(e,t){const n=t?"active":"default";return void 0===e&&this._cachedMeta.dataset?this.resolveDatasetElementOptions(n):this.resolveDataElementOptions(e||0,n)}getContext(e,t,n){const i=this.getDataset();let o;if(e>=0&&e<this._cachedMeta.data.length){const t=this._cachedMeta.data[e];o=t.$context||(t.$context=function(e,t,n){return(0,r.j)(e,{active:!1,dataIndex:t,parsed:void 0,raw:void 0,element:n,index:t,mode:"default",type:"data"})}(this.getContext(),e,t)),o.parsed=this.getParsed(e),o.raw=i.data[e],o.index=o.dataIndex=e}else o=this.$context||(this.$context=function(e,t){return(0,r.j)(e,{active:!1,dataset:void 0,datasetIndex:t,index:t,mode:"default",type:"dataset"})}(this.chart.getContext(),this.index)),o.dataset=i,o.index=o.datasetIndex=this.index;return o.active=!!t,o.mode=n,o}resolveDatasetElementOptions(e){return this._resolveElementOptions(this.datasetElementType.id,e)}resolveDataElementOptions(e,t){return this._resolveElementOptions(this.dataElementType.id,t,e)}_resolveElementOptions(e,t="default",n){const i="active"===t,o=this._cachedDataOpts,a=e+"-"+t,s=o[a],u=this.enableOptionSharing&&(0,r.h)(n);if(s)return _(s,u);const c=this.chart.config,l=c.datasetElementScopeKeys(this._type,e),f=i?[`${e}Hover`,"hover",e,""]:[e,""],d=c.getOptionScopes(this.getDataset(),l),p=Object.keys(r.d.elements[e]),h=c.resolveNamedOptions(d,p,(()=>this.getContext(n,i,t)),f);return h.$shared&&(h.$shared=u,o[a]=Object.freeze(_(h,u))),h}_resolveAnimations(e,t,n){const r=this.chart,i=this._cachedDataOpts,o=`animation-${t}`,a=i[o];if(a)return a;let s;if(!1!==r.options.animation){const r=this.chart.config,i=r.datasetAnimationScopeKeys(this._type,t),o=r.getOptionScopes(this.getDataset(),i);s=r.createResolver(o,this.getContext(e,n,t))}const u=new c(r,s&&s.animations);return s&&s._cacheable&&(i[o]=Object.freeze(u)),u}getSharedOptions(e){if(e.$shared)return this._sharedOptions||(this._sharedOptions=Object.assign({},e))}includeOptions(e,t){return!t||b(e)||this.chart._animationsDisabled}_getSharedOptions(e,t){const n=this.resolveDataElementOptions(e,t),r=this._sharedOptions,i=this.getSharedOptions(n),o=this.includeOptions(t,i)||i!==r;return this.updateSharedOptions(i,t,n),{sharedOptions:i,includeOptions:o}}updateElement(e,t,n,r){b(r)?Object.assign(e,n):this._resolveAnimations(t,r).update(e,n)}updateSharedOptions(e,t,n){e&&!b(t)&&this._resolveAnimations(void 0,t).update(e,n)}_setStyle(e,t,n,r){e.active=r;const i=this.getStyle(t,r);this._resolveAnimations(t,n,r).update(e,{options:!r&&this.getSharedOptions(i)||i})}removeHoverStyle(e,t,n){this._setStyle(e,n,"active",!1)}setHoverStyle(e,t,n){this._setStyle(e,n,"active",!0)}_removeDatasetHoverStyle(){const e=this._cachedMeta.dataset;e&&this._setStyle(e,void 0,"active",!1)}_setDatasetHoverStyle(){const e=this._cachedMeta.dataset;e&&this._setStyle(e,void 0,"active",!0)}_resyncElements(e){const t=this._data,n=this._cachedMeta.data;for(const[e,t,n]of this._syncList)this[e](t,n);this._syncList=[];const r=n.length,i=t.length,o=Math.min(i,r);o&&this.parse(0,o),i>r?this._insertElements(r,i-r,e):i<r&&this._removeElements(i,r-i)}_insertElements(e,t,n=!0){const r=this._cachedMeta,i=r.data,o=e+t;let a;const s=e=>{for(e.length+=t,a=e.length-1;a>=o;a--)e[a]=e[a-t]};for(s(i),a=e;a<o;++a)i[a]=new this.dataElementType;this._parsing&&s(r._parsed),this.parse(e,t),n&&this.updateElements(i,e,t,"reset")}updateElements(e,t,n,r){}_removeElements(e,t){const n=this._cachedMeta;if(this._parsing){const r=n._parsed.splice(e,t);n._stacked&&v(n,r)}n.data.splice(e,t)}_sync(e){if(this._parsing)this._syncList.push(e);else{const[t,n,r]=e;this[t](n,r)}this.chart._dataChanges.push([this.index,...e])}_onDataPush(){const e=arguments.length;this._sync(["_insertElements",this.getDataset().data.length-e,e])}_onDataPop(){this._sync(["_removeElements",this._cachedMeta.data.length-1,1])}_onDataShift(){this._sync(["_removeElements",0,1])}_onDataSplice(e,t){t&&this._sync(["_removeElements",e,t]);const n=arguments.length-2;n&&this._sync(["_insertElements",e,n])}_onDataUnshift(){this._sync(["_insertElements",0,arguments.length])}}function T(e){const t=e.iScale,n=function(e,t){if(!e._cache.$bar){const n=e.getMatchingVisibleMetas(t);let i=[];for(let t=0,r=n.length;t<r;t++)i=i.concat(n[t].controller.getAllParsedValues(e));e._cache.$bar=(0,r._)(i.sort(((e,t)=>e-t)))}return e._cache.$bar}(t,e.type);let i,o,a,s,u=t._length;const c=()=>{32767!==a&&-32768!==a&&((0,r.h)(s)&&(u=Math.min(u,Math.abs(a-s)||u)),s=a)};for(i=0,o=n.length;i<o;++i)a=t.getPixelForValue(n[i]),c();for(s=void 0,i=0,o=t.ticks.length;i<o;++i)a=t.getPixelForTick(i),c();return u}function x(e,t,n,i){return(0,r.b)(e)?function(e,t,n,r){const i=n.parse(e[0],r),o=n.parse(e[1],r),a=Math.min(i,o),s=Math.max(i,o);let u=a,c=s;Math.abs(a)>Math.abs(s)&&(u=s,c=a),t[n.axis]=c,t._custom={barStart:u,barEnd:c,start:i,end:o,min:a,max:s}}(e,t,n,i):t[n.axis]=n.parse(e,i),t}function S(e,t,n,r){const i=e.iScale,o=e.vScale,a=i.getLabels(),s=i===o,u=[];let c,l,f,d;for(c=n,l=n+r;c<l;++c)d=t[c],f={},f[i.axis]=s||i.parse(a[c],c),u.push(x(d,f,o,c));return u}function k(e){return e&&void 0!==e.barStart&&void 0!==e.barEnd}function E(e,t,n,r){let i=t.borderSkipped;const o={};if(!i)return void(e.borderSkipped=o);if(!0===i)return void(e.borderSkipped={top:!0,right:!0,bottom:!0,left:!0});const{start:a,end:s,reverse:u,top:c,bottom:l}=function(e){let t,n,r,i,o;return e.horizontal?(t=e.base>e.x,n="left",r="right"):(t=e.base<e.y,n="bottom",r="top"),t?(i="end",o="start"):(i="start",o="end"),{start:n,end:r,reverse:t,top:i,bottom:o}}(e);"middle"===i&&n&&(e.enableBorderRadius=!0,(n._top||0)===r?i=c:(n._bottom||0)===r?i=l:(o[O(l,a,s,u)]=!0,i=c)),o[O(i,a,s,u)]=!0,e.borderSkipped=o}function O(e,t,n,r){var i,o,a;return r?(a=n,e=C(e=(i=e)===(o=t)?a:i===a?o:i,n,t)):e=C(e,t,n),e}function C(e,t,n){return"start"===e?t:"end"===e?n:e}function L(e,{inflateAmount:t},n){e.inflateAmount="auto"===t?1===n?.33:0:t}class A extends w{static id="bar";static defaults={datasetElementType:!1,dataElementType:"bar",categoryPercentage:.8,barPercentage:.9,grouped:!0,animations:{numbers:{type:"number",properties:["x","y","base","width","height"]}}};static overrides={scales:{_index_:{type:"category",offset:!0,grid:{offset:!0}},_value_:{type:"linear",beginAtZero:!0}}};parsePrimitiveData(e,t,n,r){return S(e,t,n,r)}parseArrayData(e,t,n,r){return S(e,t,n,r)}parseObjectData(e,t,n,i){const{iScale:o,vScale:a}=e,{xAxisKey:s="x",yAxisKey:u="y"}=this._parsing,c="x"===o.axis?s:u,l="x"===a.axis?s:u,f=[];let d,p,h,g;for(d=n,p=n+i;d<p;++d)g=t[d],h={},h[o.axis]=o.parse((0,r.f)(g,c),d),f.push(x((0,r.f)(g,l),h,a,d));return f}updateRangeFromParsed(e,t,n,r){super.updateRangeFromParsed(e,t,n,r);const i=n._custom;i&&t===this._cachedMeta.vScale&&(e.min=Math.min(e.min,i.min),e.max=Math.max(e.max,i.max))}getMaxOverflow(){return 0}getLabelAndValue(e){const t=this._cachedMeta,{iScale:n,vScale:r}=t,i=this.getParsed(e),o=i._custom,a=k(o)?"["+o.start+", "+o.end+"]":""+r.getLabelForValue(i[r.axis]);return{label:""+n.getLabelForValue(i[n.axis]),value:a}}initialize(){this.enableOptionSharing=!0,super.initialize();this._cachedMeta.stack=this.getDataset().stack}update(e){const t=this._cachedMeta;this.updateElements(t.data,0,t.data.length,e)}updateElements(e,t,n,i){const o="reset"===i,{index:a,_cachedMeta:{vScale:s}}=this,u=s.getBasePixel(),c=s.isHorizontal(),l=this._getRuler(),{sharedOptions:f,includeOptions:d}=this._getSharedOptions(t,i);for(let p=t;p<t+n;p++){const t=this.getParsed(p),n=o||(0,r.k)(t[s.axis])?{base:u,head:u}:this._calculateBarValuePixels(p),h=this._calculateBarIndexPixels(p,l),g=(t._stacks||{})[s.axis],m={horizontal:c,base:n.base,enableBorderRadius:!g||k(t._custom)||a===g._top||a===g._bottom,x:c?n.head:h.center,y:c?h.center:n.head,height:c?h.size:Math.abs(n.size),width:c?Math.abs(n.size):h.size};d&&(m.options=f||this.resolveDataElementOptions(p,e[p].active?"active":i));const y=m.options||e[p].options;E(m,y,g,a),L(m,y,l.ratio),this.updateElement(e[p],p,m,i)}}_getStacks(e,t){const{iScale:n}=this._cachedMeta,i=n.getMatchingVisibleMetas(this._type).filter((e=>e.controller.options.grouped)),o=n.options.stacked,a=[],s=e=>{const n=e.controller.getParsed(t),i=n&&n[e.vScale.axis];if((0,r.k)(i)||isNaN(i))return!0};for(const n of i)if((void 0===t||!s(n))&&((!1===o||-1===a.indexOf(n.stack)||void 0===o&&void 0===n.stack)&&a.push(n.stack),n.index===e))break;return a.length||a.push(void 0),a}_getStackCount(e){return this._getStacks(void 0,e).length}_getStackIndex(e,t,n){const r=this._getStacks(e,n),i=void 0!==t?r.indexOf(t):-1;return-1===i?r.length-1:i}_getRuler(){const e=this.options,t=this._cachedMeta,n=t.iScale,r=[];let i,o;for(i=0,o=t.data.length;i<o;++i)r.push(n.getPixelForValue(this.getParsed(i)[n.axis],i));const a=e.barThickness;return{min:a||T(t),pixels:r,start:n._startPixel,end:n._endPixel,stackCount:this._getStackCount(),scale:n,grouped:e.grouped,ratio:a?1:e.categoryPercentage*e.barPercentage}}_calculateBarValuePixels(e){const{_cachedMeta:{vScale:t,_stacked:n,index:i},options:{base:o,minBarLength:a}}=this,s=o||0,u=this.getParsed(e),c=u._custom,l=k(c);let f,d,p=u[t.axis],h=0,g=n?this.applyStack(t,u,n):p;g!==p&&(h=g-p,g=p),l&&(p=c.barStart,g=c.barEnd-c.barStart,0!==p&&(0,r.s)(p)!==(0,r.s)(c.barEnd)&&(h=0),h+=p);const m=(0,r.k)(o)||l?h:o;let y=t.getPixelForValue(m);if(f=this.chart.getDataVisibility(e)?t.getPixelForValue(h+g):y,d=f-y,Math.abs(d)<a){d=function(e,t,n){return 0!==e?(0,r.s)(e):(t.isHorizontal()?1:-1)*(t.min>=n?1:-1)}(d,t,s)*a,p===s&&(y-=d/2);const e=t.getPixelForDecimal(0),o=t.getPixelForDecimal(1),c=Math.min(e,o),h=Math.max(e,o);y=Math.max(Math.min(y,h),c),f=y+d,n&&!l&&(u._stacks[t.axis]._visualValues[i]=t.getValueForPixel(f)-t.getValueForPixel(y))}if(y===t.getPixelForValue(s)){const e=(0,r.s)(d)*t.getLineWidthForValue(s)/2;y+=e,d-=e}return{size:d,base:y,head:f,center:f+d/2}}_calculateBarIndexPixels(e,t){const n=t.scale,i=this.options,o=i.skipNull,a=(0,r.v)(i.maxBarThickness,1/0);let s,u;if(t.grouped){const n=o?this._getStackCount(e):t.stackCount,c="flex"===i.barThickness?function(e,t,n,r){const i=t.pixels,o=i[e];let a=e>0?i[e-1]:null,s=e<i.length-1?i[e+1]:null;const u=n.categoryPercentage;null===a&&(a=o-(null===s?t.end-t.start:s-o)),null===s&&(s=o+o-a);const c=o-(o-Math.min(a,s))/2*u;return{chunk:Math.abs(s-a)/2*u/r,ratio:n.barPercentage,start:c}}(e,t,i,n):function(e,t,n,i){const o=n.barThickness;let a,s;return(0,r.k)(o)?(a=t.min*n.categoryPercentage,s=n.barPercentage):(a=o*i,s=1),{chunk:a/i,ratio:s,start:t.pixels[e]-a/2}}(e,t,i,n),l=this._getStackIndex(this.index,this._cachedMeta.stack,o?e:void 0);s=c.start+c.chunk*l+c.chunk/2,u=Math.min(a,c.chunk*c.ratio)}else s=n.getPixelForValue(this.getParsed(e)[n.axis],e),u=Math.min(a,t.min*t.ratio);return{base:s-u/2,head:s+u/2,center:s,size:u}}draw(){const e=this._cachedMeta,t=e.vScale,n=e.data,r=n.length;let i=0;for(;i<r;++i)null!==this.getParsed(i)[t.axis]&&n[i].draw(this._ctx)}}class I extends w{static id="doughnut";static defaults={datasetElementType:!1,dataElementType:"arc",animation:{animateRotate:!0,animateScale:!1},animations:{numbers:{type:"number",properties:["circumference","endAngle","innerRadius","outerRadius","startAngle","x","y","offset","borderWidth","spacing"]}},cutout:"50%",rotation:0,circumference:360,radius:"100%",spacing:0,indexAxis:"r"};static descriptors={_scriptable:e=>"spacing"!==e,_indexable:e=>"spacing"!==e&&!e.startsWith("borderDash")&&!e.startsWith("hoverBorderDash")};static overrides={aspectRatio:1,plugins:{legend:{labels:{generateLabels(e){const t=e.data;if(t.labels.length&&t.datasets.length){const{labels:{pointStyle:n,color:r}}=e.legend.options;return t.labels.map(((t,i)=>{const o=e.getDatasetMeta(0).controller.getStyle(i);return{text:t,fillStyle:o.backgroundColor,strokeStyle:o.borderColor,fontColor:r,lineWidth:o.borderWidth,pointStyle:n,hidden:!e.getDataVisibility(i),index:i}}))}return[]}},onClick(e,t,n){n.chart.toggleDataVisibility(t.index),n.chart.update()}}}};constructor(e,t){super(e,t),this.enableOptionSharing=!0,this.innerRadius=void 0,this.outerRadius=void 0,this.offsetX=void 0,this.offsetY=void 0}linkScales(){}parse(e,t){const n=this.getDataset().data,i=this._cachedMeta;if(!1===this._parsing)i._parsed=n;else{let o,a,s=e=>+n[e];if((0,r.i)(n[e])){const{key:e="value"}=this._parsing;s=t=>+(0,r.f)(n[t],e)}for(o=e,a=e+t;o<a;++o)i._parsed[o]=s(o)}}_getRotation(){return(0,r.t)(this.options.rotation-90)}_getCircumference(){return(0,r.t)(this.options.circumference)}_getRotationExtents(){let e=r.T,t=-r.T;for(let n=0;n<this.chart.data.datasets.length;++n)if(this.chart.isDatasetVisible(n)&&this.chart.getDatasetMeta(n).type===this._type){const r=this.chart.getDatasetMeta(n).controller,i=r._getRotation(),o=r._getCircumference();e=Math.min(e,i),t=Math.max(t,i+o)}return{rotation:e,circumference:t-e}}update(e){const t=this.chart,{chartArea:n}=t,i=this._cachedMeta,o=i.data,a=this.getMaxBorderWidth()+this.getMaxOffset(o)+this.options.spacing,s=Math.max((Math.min(n.width,n.height)-a)/2,0),u=Math.min((0,r.m)(this.options.cutout,s),1),c=this._getRingWeight(this.index),{circumference:l,rotation:f}=this._getRotationExtents(),{ratioX:d,ratioY:p,offsetX:h,offsetY:g}=function(e,t,n){let i=1,o=1,a=0,s=0;if(t<r.T){const u=e,c=u+t,l=Math.cos(u),f=Math.sin(u),d=Math.cos(c),p=Math.sin(c),h=(e,t,i)=>(0,r.p)(e,u,c,!0)?1:Math.max(t,t*n,i,i*n),g=(e,t,i)=>(0,r.p)(e,u,c,!0)?-1:Math.min(t,t*n,i,i*n),m=h(0,l,d),y=h(r.H,f,p),v=g(r.P,l,d),b=g(r.P+r.H,f,p);i=(m-v)/2,o=(y-b)/2,a=-(m+v)/2,s=-(y+b)/2}return{ratioX:i,ratioY:o,offsetX:a,offsetY:s}}(f,l,u),m=(n.width-a)/d,y=(n.height-a)/p,v=Math.max(Math.min(m,y)/2,0),b=(0,r.n)(this.options.radius,v),_=(b-Math.max(b*u,0))/this._getVisibleDatasetWeightTotal();this.offsetX=h*b,this.offsetY=g*b,i.total=this.calculateTotal(),this.outerRadius=b-_*this._getRingWeightOffset(this.index),this.innerRadius=Math.max(this.outerRadius-_*c,0),this.updateElements(o,0,o.length,e)}_circumference(e,t){const n=this.options,i=this._cachedMeta,o=this._getCircumference();return t&&n.animation.animateRotate||!this.chart.getDataVisibility(e)||null===i._parsed[e]||i.data[e].hidden?0:this.calculateCircumference(i._parsed[e]*o/r.T)}updateElements(e,t,n,r){const i="reset"===r,o=this.chart,a=o.chartArea,s=o.options.animation,u=(a.left+a.right)/2,c=(a.top+a.bottom)/2,l=i&&s.animateScale,f=l?0:this.innerRadius,d=l?0:this.outerRadius,{sharedOptions:p,includeOptions:h}=this._getSharedOptions(t,r);let g,m=this._getRotation();for(g=0;g<t;++g)m+=this._circumference(g,i);for(g=t;g<t+n;++g){const t=this._circumference(g,i),n=e[g],o={x:u+this.offsetX,y:c+this.offsetY,startAngle:m,endAngle:m+t,circumference:t,outerRadius:d,innerRadius:f};h&&(o.options=p||this.resolveDataElementOptions(g,n.active?"active":r)),m+=t,this.updateElement(n,g,o,r)}}calculateTotal(){const e=this._cachedMeta,t=e.data;let n,r=0;for(n=0;n<t.length;n++){const i=e._parsed[n];null===i||isNaN(i)||!this.chart.getDataVisibility(n)||t[n].hidden||(r+=Math.abs(i))}return r}calculateCircumference(e){const t=this._cachedMeta.total;return t>0&&!isNaN(e)?r.T*(Math.abs(e)/t):0}getLabelAndValue(e){const t=this._cachedMeta,n=this.chart,i=n.data.labels||[],o=(0,r.o)(t._parsed[e],n.options.locale);return{label:i[e]||"",value:o}}getMaxBorderWidth(e){let t=0;const n=this.chart;let r,i,o,a,s;if(!e)for(r=0,i=n.data.datasets.length;r<i;++r)if(n.isDatasetVisible(r)){o=n.getDatasetMeta(r),e=o.data,a=o.controller;break}if(!e)return 0;for(r=0,i=e.length;r<i;++r)s=a.resolveDataElementOptions(r),"inner"!==s.borderAlign&&(t=Math.max(t,s.borderWidth||0,s.hoverBorderWidth||0));return t}getMaxOffset(e){let t=0;for(let n=0,r=e.length;n<r;++n){const e=this.resolveDataElementOptions(n);t=Math.max(t,e.offset||0,e.hoverOffset||0)}return t}_getRingWeightOffset(e){let t=0;for(let n=0;n<e;++n)this.chart.isDatasetVisible(n)&&(t+=this._getRingWeight(n));return t}_getRingWeight(e){return Math.max((0,r.v)(this.chart.data.datasets[e].weight,1),0)}_getVisibleDatasetWeightTotal(){return this._getRingWeightOffset(this.chart.data.datasets.length)||1}}class P extends w{static id="line";static defaults={datasetElementType:"line",dataElementType:"point",showLine:!0,spanGaps:!1};static overrides={scales:{_index_:{type:"category"},_value_:{type:"linear"}}};initialize(){this.enableOptionSharing=!0,this.supportsDecimation=!0,super.initialize()}update(e){const t=this._cachedMeta,{dataset:n,data:i=[],_dataset:o}=t,a=this.chart._animationsDisabled;let{start:s,count:u}=(0,r.q)(t,i,a);this._drawStart=s,this._drawCount=u,(0,r.w)(t)&&(s=0,u=i.length),n._chart=this.chart,n._datasetIndex=this.index,n._decimated=!!o._decimated,n.points=i;const c=this.resolveDatasetElementOptions(e);this.options.showLine||(c.borderWidth=0),c.segment=this.options.segment,this.updateElement(n,void 0,{animated:!a,options:c},e),this.updateElements(i,s,u,e)}updateElements(e,t,n,i){const o="reset"===i,{iScale:a,vScale:s,_stacked:u,_dataset:c}=this._cachedMeta,{sharedOptions:l,includeOptions:f}=this._getSharedOptions(t,i),d=a.axis,p=s.axis,{spanGaps:h,segment:g}=this.options,m=(0,r.x)(h)?h:Number.POSITIVE_INFINITY,y=this.chart._animationsDisabled||o||"none"===i,v=t+n,b=e.length;let _=t>0&&this.getParsed(t-1);for(let n=0;n<b;++n){const h=e[n],b=y?h:{};if(n<t||n>=v){b.skip=!0;continue}const w=this.getParsed(n),T=(0,r.k)(w[p]),x=b[d]=a.getPixelForValue(w[d],n),S=b[p]=o||T?s.getBasePixel():s.getPixelForValue(u?this.applyStack(s,w,u):w[p],n);b.skip=isNaN(x)||isNaN(S)||T,b.stop=n>0&&Math.abs(w[d]-_[d])>m,g&&(b.parsed=w,b.raw=c.data[n]),f&&(b.options=l||this.resolveDataElementOptions(n,h.active?"active":i)),y||this.updateElement(h,n,b,i),_=w}}getMaxOverflow(){const e=this._cachedMeta,t=e.dataset,n=t.options&&t.options.borderWidth||0,r=e.data||[];if(!r.length)return n;const i=r[0].size(this.resolveDataElementOptions(0)),o=r[r.length-1].size(this.resolveDataElementOptions(r.length-1));return Math.max(n,i,o)/2}draw(){const e=this._cachedMeta;e.dataset.updateControlPoints(this.chart.chartArea,e.iScale.axis),super.draw()}}class M extends I{static id="pie";static defaults={cutout:0,rotation:0,circumference:360,radius:"100%"}}function R(e,t,n,i){const{controller:o,data:a,_sorted:s}=e,u=o._cachedMeta.iScale;if(u&&t===u.axis&&"r"!==t&&s&&a.length){const e=u._reversePixels?r.A:r.B;if(!i)return e(a,t,n);if(o._sharedOptions){const r=a[0],i="function"==typeof r.getRange&&r.getRange(t);if(i){const r=e(a,t,n-i),o=e(a,t,n+i);return{lo:r.lo,hi:o.hi}}}}return{lo:0,hi:a.length-1}}function j(e,t,n,r,i){const o=e.getSortedVisibleDatasetMetas(),a=n[t];for(let e=0,n=o.length;e<n;++e){const{index:n,data:s}=o[e],{lo:u,hi:c}=R(o[e],t,a,i);for(let e=u;e<=c;++e){const t=s[e];t.skip||r(t,n,e)}}}function D(e,t,n,i,o){const a=[];if(!o&&!e.isPointInArea(t))return a;return j(e,n,t,(function(n,s,u){(o||(0,r.C)(n,e.chartArea,0))&&n.inRange(t.x,t.y,i)&&a.push({element:n,datasetIndex:s,index:u})}),!0),a}function N(e,t,n,r,i,o){let a=[];const s=function(e){const t=-1!==e.indexOf("x"),n=-1!==e.indexOf("y");return function(e,r){const i=t?Math.abs(e.x-r.x):0,o=n?Math.abs(e.y-r.y):0;return Math.sqrt(Math.pow(i,2)+Math.pow(o,2))}}(n);let u=Number.POSITIVE_INFINITY;return j(e,n,t,(function(n,c,l){const f=n.inRange(t.x,t.y,i);if(r&&!f)return;const d=n.getCenterPoint(i);if(!(!!o||e.isPointInArea(d))&&!f)return;const p=s(t,d);p<u?(a=[{element:n,datasetIndex:c,index:l}],u=p):p===u&&a.push({element:n,datasetIndex:c,index:l})})),a}function B(e,t,n,i,o,a){return a||e.isPointInArea(t)?"r"!==n||i?N(e,t,n,i,o,a):function(e,t,n,i){let o=[];return j(e,n,t,(function(e,n,a){const{startAngle:s,endAngle:u}=e.getProps(["startAngle","endAngle"],i),{angle:c}=(0,r.D)(e,{x:t.x,y:t.y});(0,r.p)(c,s,u)&&o.push({element:e,datasetIndex:n,index:a})})),o}(e,t,n,o):[]}function U(e,t,n,r,i){const o=[],a="x"===n?"inXRange":"inYRange";let s=!1;return j(e,n,t,((e,r,u)=>{e[a](t[n],i)&&(o.push({element:e,datasetIndex:r,index:u}),s=s||e.inRange(t.x,t.y,i))})),r&&!s?[]:o}var F={evaluateInteractionItems:j,modes:{index(e,t,n,i){const o=(0,r.z)(t,e),a=n.axis||"x",s=n.includeInvisible||!1,u=n.intersect?D(e,o,a,i,s):B(e,o,a,!1,i,s),c=[];return u.length?(e.getSortedVisibleDatasetMetas().forEach((e=>{const t=u[0].index,n=e.data[t];n&&!n.skip&&c.push({element:n,datasetIndex:e.index,index:t})})),c):[]},dataset(e,t,n,i){const o=(0,r.z)(t,e),a=n.axis||"xy",s=n.includeInvisible||!1;let u=n.intersect?D(e,o,a,i,s):B(e,o,a,!1,i,s);if(u.length>0){const t=u[0].datasetIndex,n=e.getDatasetMeta(t).data;u=[];for(let e=0;e<n.length;++e)u.push({element:n[e],datasetIndex:t,index:e})}return u},point:(e,t,n,i)=>D(e,(0,r.z)(t,e),n.axis||"xy",i,n.includeInvisible||!1),nearest(e,t,n,i){const o=(0,r.z)(t,e),a=n.axis||"xy",s=n.includeInvisible||!1;return B(e,o,a,n.intersect,i,s)},x:(e,t,n,i)=>U(e,(0,r.z)(t,e),"x",n.intersect,i),y:(e,t,n,i)=>U(e,(0,r.z)(t,e),"y",n.intersect,i)}};const z=["left","top","right","bottom"];function H(e,t){return e.filter((e=>e.pos===t))}function Z(e,t){return e.filter((e=>-1===z.indexOf(e.pos)&&e.box.axis===t))}function q(e,t){return e.sort(((e,n)=>{const r=t?n:e,i=t?e:n;return r.weight===i.weight?r.index-i.index:r.weight-i.weight}))}function V(e,t){const n=function(e){const t={};for(const n of e){const{stack:e,pos:r,stackWeight:i}=n;if(!e||!z.includes(r))continue;const o=t[e]||(t[e]={count:0,placed:0,weight:0,size:0});o.count++,o.weight+=i}return t}(e),{vBoxMaxWidth:r,hBoxMaxHeight:i}=t;let o,a,s;for(o=0,a=e.length;o<a;++o){s=e[o];const{fullSize:a}=s.box,u=n[s.stack],c=u&&s.stackWeight/u.weight;s.horizontal?(s.width=c?c*r:a&&t.availableWidth,s.height=i):(s.width=r,s.height=c?c*i:a&&t.availableHeight)}return n}function W(e,t,n,r){return Math.max(e[n],t[n])+Math.max(e[r],t[r])}function G(e,t){e.top=Math.max(e.top,t.top),e.left=Math.max(e.left,t.left),e.bottom=Math.max(e.bottom,t.bottom),e.right=Math.max(e.right,t.right)}function $(e,t,n,i){const{pos:o,box:a}=n,s=e.maxPadding;if(!(0,r.i)(o)){n.size&&(e[o]-=n.size);const t=i[n.stack]||{size:0,count:1};t.size=Math.max(t.size,n.horizontal?a.height:a.width),n.size=t.size/t.count,e[o]+=n.size}a.getPadding&&G(s,a.getPadding());const u=Math.max(0,t.outerWidth-W(s,e,"left","right")),c=Math.max(0,t.outerHeight-W(s,e,"top","bottom")),l=u!==e.w,f=c!==e.h;return e.w=u,e.h=c,n.horizontal?{same:l,other:f}:{same:f,other:l}}function Y(e,t){const n=t.maxPadding;function r(e){const r={left:0,top:0,right:0,bottom:0};return e.forEach((e=>{r[e]=Math.max(t[e],n[e])})),r}return r(e?["left","right"]:["top","bottom"])}function K(e,t,n,r){const i=[];let o,a,s,u,c,l;for(o=0,a=e.length,c=0;o<a;++o){s=e[o],u=s.box,u.update(s.width||t.w,s.height||t.h,Y(s.horizontal,t));const{same:a,other:f}=$(t,n,s,r);c|=a&&i.length,l=l||f,u.fullSize||i.push(s)}return c&&K(i,t,n,r)||l}function X(e,t,n,r,i){e.top=n,e.left=t,e.right=t+r,e.bottom=n+i,e.width=r,e.height=i}function Q(e,t,n,i){const o=n.padding;let{x:a,y:s}=t;for(const u of e){const e=u.box,c=i[u.stack]||{count:1,placed:0,weight:1},l=u.stackWeight/c.weight||1;if(u.horizontal){const i=t.w*l,a=c.size||e.height;(0,r.h)(c.start)&&(s=c.start),e.fullSize?X(e,o.left,s,n.outerWidth-o.right-o.left,a):X(e,t.left+c.placed,s,i,a),c.start=s,c.placed+=i,s=e.bottom}else{const i=t.h*l,s=c.size||e.width;(0,r.h)(c.start)&&(a=c.start),e.fullSize?X(e,a,o.top,s,n.outerHeight-o.bottom-o.top):X(e,a,t.top+c.placed,s,i),c.start=a,c.placed+=i,a=e.right}}t.x=a,t.y=s}var J={addBox(e,t){e.boxes||(e.boxes=[]),t.fullSize=t.fullSize||!1,t.position=t.position||"top",t.weight=t.weight||0,t._layers=t._layers||function(){return[{z:0,draw(e){t.draw(e)}}]},e.boxes.push(t)},removeBox(e,t){const n=e.boxes?e.boxes.indexOf(t):-1;-1!==n&&e.boxes.splice(n,1)},configure(e,t,n){t.fullSize=n.fullSize,t.position=n.position,t.weight=n.weight},update(e,t,n,i){if(!e)return;const o=(0,r.E)(e.options.layout.padding),a=Math.max(t-o.width,0),s=Math.max(n-o.height,0),u=function(e){const t=function(e){const t=[];let n,r,i,o,a,s;for(n=0,r=(e||[]).length;n<r;++n)i=e[n],({position:o,options:{stack:a,stackWeight:s=1}}=i),t.push({index:n,box:i,pos:o,horizontal:i.isHorizontal(),weight:i.weight,stack:a&&o+a,stackWeight:s});return t}(e),n=q(t.filter((e=>e.box.fullSize)),!0),r=q(H(t,"left"),!0),i=q(H(t,"right")),o=q(H(t,"top"),!0),a=q(H(t,"bottom")),s=Z(t,"x"),u=Z(t,"y");return{fullSize:n,leftAndTop:r.concat(o),rightAndBottom:i.concat(u).concat(a).concat(s),chartArea:H(t,"chartArea"),vertical:r.concat(i).concat(u),horizontal:o.concat(a).concat(s)}}(e.boxes),c=u.vertical,l=u.horizontal;(0,r.F)(e.boxes,(e=>{"function"==typeof e.beforeLayout&&e.beforeLayout()}));const f=c.reduce(((e,t)=>t.box.options&&!1===t.box.options.display?e:e+1),0)||1,d=Object.freeze({outerWidth:t,outerHeight:n,padding:o,availableWidth:a,availableHeight:s,vBoxMaxWidth:a/2/f,hBoxMaxHeight:s/2}),p=Object.assign({},o);G(p,(0,r.E)(i));const h=Object.assign({maxPadding:p,w:a,h:s,x:o.left,y:o.top},o),g=V(c.concat(l),d);K(u.fullSize,h,d,g),K(c,h,d,g),K(l,h,d,g)&&K(c,h,d,g),function(e){const t=e.maxPadding;function n(n){const r=Math.max(t[n]-e[n],0);return e[n]+=r,r}e.y+=n("top"),e.x+=n("left"),n("right"),n("bottom")}(h),Q(u.leftAndTop,h,d,g),h.x+=h.w,h.y+=h.h,Q(u.rightAndBottom,h,d,g),e.chartArea={left:h.left,top:h.top,right:h.left+h.w,bottom:h.top+h.h,height:h.h,width:h.w},(0,r.F)(u.chartArea,(t=>{const n=t.box;Object.assign(n,e.chartArea),n.update(h.w,h.h,{left:0,top:0,right:0,bottom:0})}))}};class ee{acquireContext(e,t){}releaseContext(e){return!1}addEventListener(e,t,n){}removeEventListener(e,t,n){}getDevicePixelRatio(){return 1}getMaximumSize(e,t,n,r){return t=Math.max(0,t||e.width),n=n||e.height,{width:t,height:Math.max(0,r?Math.floor(t/r):n)}}isAttached(e){return!0}updateConfig(e){}}class te extends ee{acquireContext(e){return e&&e.getContext&&e.getContext("2d")||null}updateConfig(e){e.options.animation=!1}}const ne={touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup",pointerenter:"mouseenter",pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointerleave:"mouseout",pointerout:"mouseout"},re=e=>null===e||""===e;const ie=!!r.K&&{passive:!0};function oe(e,t,n){e&&e.canvas&&e.canvas.removeEventListener(t,n,ie)}function ae(e,t){for(const n of e)if(n===t||n.contains(t))return!0}function se(e,t,n){const r=e.canvas,i=new MutationObserver((e=>{let t=!1;for(const n of e)t=t||ae(n.addedNodes,r),t=t&&!ae(n.removedNodes,r);t&&n()}));return i.observe(document,{childList:!0,subtree:!0}),i}function ue(e,t,n){const r=e.canvas,i=new MutationObserver((e=>{let t=!1;for(const n of e)t=t||ae(n.removedNodes,r),t=t&&!ae(n.addedNodes,r);t&&n()}));return i.observe(document,{childList:!0,subtree:!0}),i}const ce=new Map;let le=0;function fe(){const e=window.devicePixelRatio;e!==le&&(le=e,ce.forEach(((t,n)=>{n.currentDevicePixelRatio!==e&&t()})))}function de(e,t,n){const i=e.canvas,o=i&&(0,r.I)(i);if(!o)return;const a=(0,r.L)(((e,t)=>{const r=o.clientWidth;n(e,t),r<o.clientWidth&&n()}),window),s=new ResizeObserver((e=>{const t=e[0],n=t.contentRect.width,r=t.contentRect.height;0===n&&0===r||a(n,r)}));return s.observe(o),function(e,t){ce.size||window.addEventListener("resize",fe),ce.set(e,t)}(e,a),s}function pe(e,t,n){n&&n.disconnect(),"resize"===t&&function(e){ce.delete(e),ce.size||window.removeEventListener("resize",fe)}(e)}function he(e,t,n){const i=e.canvas,o=(0,r.L)((t=>{null!==e.ctx&&n(function(e,t){const n=ne[e.type]||e.type,{x:i,y:o}=(0,r.z)(e,t);return{type:n,chart:t,native:e,x:void 0!==i?i:null,y:void 0!==o?o:null}}(t,e))}),e);return function(e,t,n){e&&e.addEventListener(t,n,ie)}(i,t,o),o}class ge extends ee{acquireContext(e,t){const n=e&&e.getContext&&e.getContext("2d");return n&&n.canvas===e?(function(e,t){const n=e.style,i=e.getAttribute("height"),o=e.getAttribute("width");if(e.$chartjs={initial:{height:i,width:o,style:{display:n.display,height:n.height,width:n.width}}},n.display=n.display||"block",n.boxSizing=n.boxSizing||"border-box",re(o)){const t=(0,r.J)(e,"width");void 0!==t&&(e.width=t)}if(re(i))if(""===e.style.height)e.height=e.width/(t||2);else{const t=(0,r.J)(e,"height");void 0!==t&&(e.height=t)}}(e,t),n):null}releaseContext(e){const t=e.canvas;if(!t.$chartjs)return!1;const n=t.$chartjs.initial;["height","width"].forEach((e=>{const i=n[e];(0,r.k)(i)?t.removeAttribute(e):t.setAttribute(e,i)}));const i=n.style||{};return Object.keys(i).forEach((e=>{t.style[e]=i[e]})),t.width=t.width,delete t.$chartjs,!0}addEventListener(e,t,n){this.removeEventListener(e,t);const r=e.$proxies||(e.$proxies={}),i={attach:se,detach:ue,resize:de}[t]||he;r[t]=i(e,t,n)}removeEventListener(e,t){const n=e.$proxies||(e.$proxies={}),r=n[t];if(!r)return;({attach:pe,detach:pe,resize:pe}[t]||oe)(e,t,r),n[t]=void 0}getDevicePixelRatio(){return window.devicePixelRatio}getMaximumSize(e,t,n,i){return(0,r.G)(e,t,n,i)}isAttached(e){const t=(0,r.I)(e);return!(!t||!t.isConnected)}}class me{static defaults={};static defaultRoutes=void 0;x;y;active=!1;options;$animations;tooltipPosition(e){const{x:t,y:n}=this.getProps(["x","y"],e);return{x:t,y:n}}hasValue(){return(0,r.x)(this.x)&&(0,r.x)(this.y)}getProps(e,t){const n=this.$animations;if(!t||!n)return this;const r={};return e.forEach((e=>{r[e]=n[e]&&n[e].active()?n[e]._to:this[e]})),r}}function ye(e,t){const n=e.options.ticks,i=function(e){const t=e.options.offset,n=e._tickSize(),r=e._length/n+(t?0:1),i=e._maxLength/n;return Math.floor(Math.min(r,i))}(e),o=Math.min(n.maxTicksLimit||i,i),a=n.major.enabled?function(e){const t=[];let n,r;for(n=0,r=e.length;n<r;n++)e[n].major&&t.push(n);return t}(t):[],s=a.length,u=a[0],c=a[s-1],l=[];if(s>o)return function(e,t,n,r){let i,o=0,a=n[0];for(r=Math.ceil(r),i=0;i<e.length;i++)i===a&&(t.push(e[i]),o++,a=n[o*r])}(t,l,a,s/o),l;const f=function(e,t,n){const i=function(e){const t=e.length;let n,r;if(t<2)return!1;for(r=e[0],n=1;n<t;++n)if(e[n]-e[n-1]!==r)return!1;return r}(e),o=t.length/n;if(!i)return Math.max(o,1);const a=(0,r.N)(i);for(let e=0,t=a.length-1;e<t;e++){const t=a[e];if(t>o)return t}return Math.max(o,1)}(a,t,o);if(s>0){let e,n;const i=s>1?Math.round((c-u)/(s-1)):null;for(ve(t,l,f,(0,r.k)(i)?0:u-i,u),e=0,n=s-1;e<n;e++)ve(t,l,f,a[e],a[e+1]);return ve(t,l,f,c,(0,r.k)(i)?t.length:c+i),l}return ve(t,l,f),l}function ve(e,t,n,i,o){const a=(0,r.v)(i,0),s=Math.min((0,r.v)(o,e.length),e.length);let u,c,l,f=0;for(n=Math.ceil(n),o&&(u=o-i,n=u/Math.floor(u/n)),l=a;l<0;)f++,l=Math.round(a+f*n);for(c=Math.max(a,0);c<s;c++)c===l&&(t.push(e[c]),f++,l=Math.round(a+f*n))}const be=(e,t,n)=>"top"===t||"left"===t?e[t]+n:e[t]-n,_e=(e,t)=>Math.min(t||e,e);function we(e,t){const n=[],r=e.length/t,i=e.length;let o=0;for(;o<i;o+=r)n.push(e[Math.floor(o)]);return n}function Te(e,t,n){const r=e.ticks.length,i=Math.min(t,r-1),o=e._startPixel,a=e._endPixel,s=1e-6;let u,c=e.getPixelForTick(i);if(!(n&&(u=1===r?Math.max(c-o,a-c):0===t?(e.getPixelForTick(1)-c)/2:(c-e.getPixelForTick(i-1))/2,c+=i<t?u:-u,c<o-s||c>a+s)))return c}function xe(e){return e.drawTicks?e.tickLength:0}function Se(e,t){if(!e.display)return 0;const n=(0,r.a0)(e.font,t),i=(0,r.E)(e.padding);return((0,r.b)(e.text)?e.text.length:1)*n.lineHeight+i.height}function ke(e,t,n){let i=(0,r.a1)(e);return(n&&"right"!==t||!n&&"right"===t)&&(i=(e=>"left"===e?"right":"right"===e?"left":e)(i)),i}class Ee extends me{constructor(e){super(),this.id=e.id,this.type=e.type,this.options=void 0,this.ctx=e.ctx,this.chart=e.chart,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.width=void 0,this.height=void 0,this._margins={left:0,right:0,top:0,bottom:0},this.maxWidth=void 0,this.maxHeight=void 0,this.paddingTop=void 0,this.paddingBottom=void 0,this.paddingLeft=void 0,this.paddingRight=void 0,this.axis=void 0,this.labelRotation=void 0,this.min=void 0,this.max=void 0,this._range=void 0,this.ticks=[],this._gridLineItems=null,this._labelItems=null,this._labelSizes=null,this._length=0,this._maxLength=0,this._longestTextCache={},this._startPixel=void 0,this._endPixel=void 0,this._reversePixels=!1,this._userMax=void 0,this._userMin=void 0,this._suggestedMax=void 0,this._suggestedMin=void 0,this._ticksLength=0,this._borderValue=0,this._cache={},this._dataLimitsCached=!1,this.$context=void 0}init(e){this.options=e.setContext(this.getContext()),this.axis=e.axis,this._userMin=this.parse(e.min),this._userMax=this.parse(e.max),this._suggestedMin=this.parse(e.suggestedMin),this._suggestedMax=this.parse(e.suggestedMax)}parse(e,t){return e}getUserBounds(){let{_userMin:e,_userMax:t,_suggestedMin:n,_suggestedMax:i}=this;return e=(0,r.O)(e,Number.POSITIVE_INFINITY),t=(0,r.O)(t,Number.NEGATIVE_INFINITY),n=(0,r.O)(n,Number.POSITIVE_INFINITY),i=(0,r.O)(i,Number.NEGATIVE_INFINITY),{min:(0,r.O)(e,n),max:(0,r.O)(t,i),minDefined:(0,r.g)(e),maxDefined:(0,r.g)(t)}}getMinMax(e){let t,{min:n,max:i,minDefined:o,maxDefined:a}=this.getUserBounds();if(o&&a)return{min:n,max:i};const s=this.getMatchingVisibleMetas();for(let r=0,u=s.length;r<u;++r)t=s[r].controller.getMinMax(this,e),o||(n=Math.min(n,t.min)),a||(i=Math.max(i,t.max));return n=a&&n>i?i:n,i=o&&n>i?n:i,{min:(0,r.O)(n,(0,r.O)(i,n)),max:(0,r.O)(i,(0,r.O)(n,i))}}getPadding(){return{left:this.paddingLeft||0,top:this.paddingTop||0,right:this.paddingRight||0,bottom:this.paddingBottom||0}}getTicks(){return this.ticks}getLabels(){const e=this.chart.data;return this.options.labels||(this.isHorizontal()?e.xLabels:e.yLabels)||e.labels||[]}getLabelItems(e=this.chart.chartArea){return this._labelItems||(this._labelItems=this._computeLabelItems(e))}beforeLayout(){this._cache={},this._dataLimitsCached=!1}beforeUpdate(){(0,r.Q)(this.options.beforeUpdate,[this])}update(e,t,n){const{beginAtZero:i,grace:o,ticks:a}=this.options,s=a.sampleSize;this.beforeUpdate(),this.maxWidth=e,this.maxHeight=t,this._margins=n=Object.assign({left:0,right:0,top:0,bottom:0},n),this.ticks=null,this._labelSizes=null,this._gridLineItems=null,this._labelItems=null,this.beforeSetDimensions(),this.setDimensions(),this.afterSetDimensions(),this._maxLength=this.isHorizontal()?this.width+n.left+n.right:this.height+n.top+n.bottom,this._dataLimitsCached||(this.beforeDataLimits(),this.determineDataLimits(),this.afterDataLimits(),this._range=(0,r.R)(this,o,i),this._dataLimitsCached=!0),this.beforeBuildTicks(),this.ticks=this.buildTicks()||[],this.afterBuildTicks();const u=s<this.ticks.length;this._convertTicksToLabels(u?we(this.ticks,s):this.ticks),this.configure(),this.beforeCalculateLabelRotation(),this.calculateLabelRotation(),this.afterCalculateLabelRotation(),a.display&&(a.autoSkip||"auto"===a.source)&&(this.ticks=ye(this,this.ticks),this._labelSizes=null,this.afterAutoSkip()),u&&this._convertTicksToLabels(this.ticks),this.beforeFit(),this.fit(),this.afterFit(),this.afterUpdate()}configure(){let e,t,n=this.options.reverse;this.isHorizontal()?(e=this.left,t=this.right):(e=this.top,t=this.bottom,n=!n),this._startPixel=e,this._endPixel=t,this._reversePixels=n,this._length=t-e,this._alignToPixels=this.options.alignToPixels}afterUpdate(){(0,r.Q)(this.options.afterUpdate,[this])}beforeSetDimensions(){(0,r.Q)(this.options.beforeSetDimensions,[this])}setDimensions(){this.isHorizontal()?(this.width=this.maxWidth,this.left=0,this.right=this.width):(this.height=this.maxHeight,this.top=0,this.bottom=this.height),this.paddingLeft=0,this.paddingTop=0,this.paddingRight=0,this.paddingBottom=0}afterSetDimensions(){(0,r.Q)(this.options.afterSetDimensions,[this])}_callHooks(e){this.chart.notifyPlugins(e,this.getContext()),(0,r.Q)(this.options[e],[this])}beforeDataLimits(){this._callHooks("beforeDataLimits")}determineDataLimits(){}afterDataLimits(){this._callHooks("afterDataLimits")}beforeBuildTicks(){this._callHooks("beforeBuildTicks")}buildTicks(){return[]}afterBuildTicks(){this._callHooks("afterBuildTicks")}beforeTickToLabelConversion(){(0,r.Q)(this.options.beforeTickToLabelConversion,[this])}generateTickLabels(e){const t=this.options.ticks;let n,i,o;for(n=0,i=e.length;n<i;n++)o=e[n],o.label=(0,r.Q)(t.callback,[o.value,n,e],this)}afterTickToLabelConversion(){(0,r.Q)(this.options.afterTickToLabelConversion,[this])}beforeCalculateLabelRotation(){(0,r.Q)(this.options.beforeCalculateLabelRotation,[this])}calculateLabelRotation(){const e=this.options,t=e.ticks,n=_e(this.ticks.length,e.ticks.maxTicksLimit),i=t.minRotation||0,o=t.maxRotation;let a,s,u,c=i;if(!this._isVisible()||!t.display||i>=o||n<=1||!this.isHorizontal())return void(this.labelRotation=i);const l=this._getLabelSizes(),f=l.widest.width,d=l.highest.height,p=(0,r.S)(this.chart.width-f,0,this.maxWidth);a=e.offset?this.maxWidth/n:p/(n-1),f+6>a&&(a=p/(n-(e.offset?.5:1)),s=this.maxHeight-xe(e.grid)-t.padding-Se(e.title,this.chart.options.font),u=Math.sqrt(f*f+d*d),c=(0,r.U)(Math.min(Math.asin((0,r.S)((l.highest.height+6)/a,-1,1)),Math.asin((0,r.S)(s/u,-1,1))-Math.asin((0,r.S)(d/u,-1,1)))),c=Math.max(i,Math.min(o,c))),this.labelRotation=c}afterCalculateLabelRotation(){(0,r.Q)(this.options.afterCalculateLabelRotation,[this])}afterAutoSkip(){}beforeFit(){(0,r.Q)(this.options.beforeFit,[this])}fit(){const e={width:0,height:0},{chart:t,options:{ticks:n,title:i,grid:o}}=this,a=this._isVisible(),s=this.isHorizontal();if(a){const a=Se(i,t.options.font);if(s?(e.width=this.maxWidth,e.height=xe(o)+a):(e.height=this.maxHeight,e.width=xe(o)+a),n.display&&this.ticks.length){const{first:t,last:i,widest:o,highest:a}=this._getLabelSizes(),u=2*n.padding,c=(0,r.t)(this.labelRotation),l=Math.cos(c),f=Math.sin(c);if(s){const t=n.mirror?0:f*o.width+l*a.height;e.height=Math.min(this.maxHeight,e.height+t+u)}else{const t=n.mirror?0:l*o.width+f*a.height;e.width=Math.min(this.maxWidth,e.width+t+u)}this._calculatePadding(t,i,f,l)}}this._handleMargins(),s?(this.width=this._length=t.width-this._margins.left-this._margins.right,this.height=e.height):(this.width=e.width,this.height=this._length=t.height-this._margins.top-this._margins.bottom)}_calculatePadding(e,t,n,r){const{ticks:{align:i,padding:o},position:a}=this.options,s=0!==this.labelRotation,u="top"!==a&&"x"===this.axis;if(this.isHorizontal()){const a=this.getPixelForTick(0)-this.left,c=this.right-this.getPixelForTick(this.ticks.length-1);let l=0,f=0;s?u?(l=r*e.width,f=n*t.height):(l=n*e.height,f=r*t.width):"start"===i?f=t.width:"end"===i?l=e.width:"inner"!==i&&(l=e.width/2,f=t.width/2),this.paddingLeft=Math.max((l-a+o)*this.width/(this.width-a),0),this.paddingRight=Math.max((f-c+o)*this.width/(this.width-c),0)}else{let n=t.height/2,r=e.height/2;"start"===i?(n=0,r=e.height):"end"===i&&(n=t.height,r=0),this.paddingTop=n+o,this.paddingBottom=r+o}}_handleMargins(){this._margins&&(this._margins.left=Math.max(this.paddingLeft,this._margins.left),this._margins.top=Math.max(this.paddingTop,this._margins.top),this._margins.right=Math.max(this.paddingRight,this._margins.right),this._margins.bottom=Math.max(this.paddingBottom,this._margins.bottom))}afterFit(){(0,r.Q)(this.options.afterFit,[this])}isHorizontal(){const{axis:e,position:t}=this.options;return"top"===t||"bottom"===t||"x"===e}isFullSize(){return this.options.fullSize}_convertTicksToLabels(e){let t,n;for(this.beforeTickToLabelConversion(),this.generateTickLabels(e),t=0,n=e.length;t<n;t++)(0,r.k)(e[t].label)&&(e.splice(t,1),n--,t--);this.afterTickToLabelConversion()}_getLabelSizes(){let e=this._labelSizes;if(!e){const t=this.options.ticks.sampleSize;let n=this.ticks;t<n.length&&(n=we(n,t)),this._labelSizes=e=this._computeLabelSizes(n,n.length,this.options.ticks.maxTicksLimit)}return e}_computeLabelSizes(e,t,n){const{ctx:i,_longestTextCache:o}=this,a=[],s=[],u=Math.floor(t/_e(t,n));let c,l,f,d,p,h,g,m,y,v,b,_=0,w=0;for(c=0;c<t;c+=u){if(d=e[c].label,p=this._resolveTickFontOptions(c),i.font=h=p.string,g=o[h]=o[h]||{data:{},gc:[]},m=p.lineHeight,y=v=0,(0,r.k)(d)||(0,r.b)(d)){if((0,r.b)(d))for(l=0,f=d.length;l<f;++l)b=d[l],(0,r.k)(b)||(0,r.b)(b)||(y=(0,r.V)(i,g.data,g.gc,y,b),v+=m)}else y=(0,r.V)(i,g.data,g.gc,y,d),v=m;a.push(y),s.push(v),_=Math.max(y,_),w=Math.max(v,w)}!function(e,t){(0,r.F)(e,(e=>{const n=e.gc,r=n.length/2;let i;if(r>t){for(i=0;i<r;++i)delete e.data[n[i]];n.splice(0,r)}}))}(o,t);const T=a.indexOf(_),x=s.indexOf(w),S=e=>({width:a[e]||0,height:s[e]||0});return{first:S(0),last:S(t-1),widest:S(T),highest:S(x),widths:a,heights:s}}getLabelForValue(e){return e}getPixelForValue(e,t){return NaN}getValueForPixel(e){}getPixelForTick(e){const t=this.ticks;return e<0||e>t.length-1?null:this.getPixelForValue(t[e].value)}getPixelForDecimal(e){this._reversePixels&&(e=1-e);const t=this._startPixel+e*this._length;return(0,r.W)(this._alignToPixels?(0,r.X)(this.chart,t,0):t)}getDecimalForPixel(e){const t=(e-this._startPixel)/this._length;return this._reversePixels?1-t:t}getBasePixel(){return this.getPixelForValue(this.getBaseValue())}getBaseValue(){const{min:e,max:t}=this;return e<0&&t<0?t:e>0&&t>0?e:0}getContext(e){const t=this.ticks||[];if(e>=0&&e<t.length){const n=t[e];return n.$context||(n.$context=function(e,t,n){return(0,r.j)(e,{tick:n,index:t,type:"tick"})}(this.getContext(),e,n))}return this.$context||(this.$context=(n=this.chart.getContext(),i=this,(0,r.j)(n,{scale:i,type:"scale"})));var n,i}_tickSize(){const e=this.options.ticks,t=(0,r.t)(this.labelRotation),n=Math.abs(Math.cos(t)),i=Math.abs(Math.sin(t)),o=this._getLabelSizes(),a=e.autoSkipPadding||0,s=o?o.widest.width+a:0,u=o?o.highest.height+a:0;return this.isHorizontal()?u*n>s*i?s/n:u/i:u*i<s*n?u/n:s/i}_isVisible(){const e=this.options.display;return"auto"!==e?!!e:this.getMatchingVisibleMetas().length>0}_computeGridLineItems(e){const t=this.axis,n=this.chart,i=this.options,{grid:o,position:a,border:s}=i,u=o.offset,c=this.isHorizontal(),l=this.ticks.length+(u?1:0),f=xe(o),d=[],p=s.setContext(this.getContext()),h=p.display?p.width:0,g=h/2,m=function(e){return(0,r.X)(n,e,h)};let y,v,b,_,w,T,x,S,k,E,O,C;if("top"===a)y=m(this.bottom),T=this.bottom-f,S=y-g,E=m(e.top)+g,C=e.bottom;else if("bottom"===a)y=m(this.top),E=e.top,C=m(e.bottom)-g,T=y+g,S=this.top+f;else if("left"===a)y=m(this.right),w=this.right-f,x=y-g,k=m(e.left)+g,O=e.right;else if("right"===a)y=m(this.left),k=e.left,O=m(e.right)-g,w=y+g,x=this.left+f;else if("x"===t){if("center"===a)y=m((e.top+e.bottom)/2+.5);else if((0,r.i)(a)){const e=Object.keys(a)[0],t=a[e];y=m(this.chart.scales[e].getPixelForValue(t))}E=e.top,C=e.bottom,T=y+g,S=T+f}else if("y"===t){if("center"===a)y=m((e.left+e.right)/2);else if((0,r.i)(a)){const e=Object.keys(a)[0],t=a[e];y=m(this.chart.scales[e].getPixelForValue(t))}w=y-g,x=w-f,k=e.left,O=e.right}const L=(0,r.v)(i.ticks.maxTicksLimit,l),A=Math.max(1,Math.ceil(l/L));for(v=0;v<l;v+=A){const e=this.getContext(v),t=o.setContext(e),i=s.setContext(e),a=t.lineWidth,l=t.color,f=i.dash||[],p=i.dashOffset,h=t.tickWidth,g=t.tickColor,m=t.tickBorderDash||[],y=t.tickBorderDashOffset;b=Te(this,v,u),void 0!==b&&(_=(0,r.X)(n,b,a),c?w=x=k=O=_:T=S=E=C=_,d.push({tx1:w,ty1:T,tx2:x,ty2:S,x1:k,y1:E,x2:O,y2:C,width:a,color:l,borderDash:f,borderDashOffset:p,tickWidth:h,tickColor:g,tickBorderDash:m,tickBorderDashOffset:y}))}return this._ticksLength=l,this._borderValue=y,d}_computeLabelItems(e){const t=this.axis,n=this.options,{position:i,ticks:o}=n,a=this.isHorizontal(),s=this.ticks,{align:u,crossAlign:c,padding:l,mirror:f}=o,d=xe(n.grid),p=d+l,h=f?-l:p,g=-(0,r.t)(this.labelRotation),m=[];let y,v,b,_,w,T,x,S,k,E,O,C,L="middle";if("top"===i)T=this.bottom-h,x=this._getXAxisLabelAlignment();else if("bottom"===i)T=this.top+h,x=this._getXAxisLabelAlignment();else if("left"===i){const e=this._getYAxisLabelAlignment(d);x=e.textAlign,w=e.x}else if("right"===i){const e=this._getYAxisLabelAlignment(d);x=e.textAlign,w=e.x}else if("x"===t){if("center"===i)T=(e.top+e.bottom)/2+p;else if((0,r.i)(i)){const e=Object.keys(i)[0],t=i[e];T=this.chart.scales[e].getPixelForValue(t)+p}x=this._getXAxisLabelAlignment()}else if("y"===t){if("center"===i)w=(e.left+e.right)/2-p;else if((0,r.i)(i)){const e=Object.keys(i)[0],t=i[e];w=this.chart.scales[e].getPixelForValue(t)}x=this._getYAxisLabelAlignment(d).textAlign}"y"===t&&("start"===u?L="top":"end"===u&&(L="bottom"));const A=this._getLabelSizes();for(y=0,v=s.length;y<v;++y){b=s[y],_=b.label;const e=o.setContext(this.getContext(y));S=this.getPixelForTick(y)+o.labelOffset,k=this._resolveTickFontOptions(y),E=k.lineHeight,O=(0,r.b)(_)?_.length:1;const t=O/2,n=e.color,u=e.textStrokeColor,l=e.textStrokeWidth;let d,p=x;if(a?(w=S,"inner"===x&&(p=y===v-1?this.options.reverse?"left":"right":0===y?this.options.reverse?"right":"left":"center"),C="top"===i?"near"===c||0!==g?-O*E+E/2:"center"===c?-A.highest.height/2-t*E+E:-A.highest.height+E/2:"near"===c||0!==g?E/2:"center"===c?A.highest.height/2-t*E:A.highest.height-O*E,f&&(C*=-1),0===g||e.showLabelBackdrop||(w+=E/2*Math.sin(g))):(T=S,C=(1-O)*E/2),e.showLabelBackdrop){const t=(0,r.E)(e.backdropPadding),n=A.heights[y],i=A.widths[y];let o=C-t.top,a=0-t.left;switch(L){case"middle":o-=n/2;break;case"bottom":o-=n}switch(x){case"center":a-=i/2;break;case"right":a-=i;break;case"inner":y===v-1?a-=i:y>0&&(a-=i/2)}d={left:a,top:o,width:i+t.width,height:n+t.height,color:e.backdropColor}}m.push({label:_,font:k,textOffset:C,options:{rotation:g,color:n,strokeColor:u,strokeWidth:l,textAlign:p,textBaseline:L,translation:[w,T],backdrop:d}})}return m}_getXAxisLabelAlignment(){const{position:e,ticks:t}=this.options;if(-(0,r.t)(this.labelRotation))return"top"===e?"left":"right";let n="center";return"start"===t.align?n="left":"end"===t.align?n="right":"inner"===t.align&&(n="inner"),n}_getYAxisLabelAlignment(e){const{position:t,ticks:{crossAlign:n,mirror:r,padding:i}}=this.options,o=e+i,a=this._getLabelSizes().widest.width;let s,u;return"left"===t?r?(u=this.right+i,"near"===n?s="left":"center"===n?(s="center",u+=a/2):(s="right",u+=a)):(u=this.right-o,"near"===n?s="right":"center"===n?(s="center",u-=a/2):(s="left",u=this.left)):"right"===t?r?(u=this.left+i,"near"===n?s="right":"center"===n?(s="center",u-=a/2):(s="left",u-=a)):(u=this.left+o,"near"===n?s="left":"center"===n?(s="center",u+=a/2):(s="right",u=this.right)):s="right",{textAlign:s,x:u}}_computeLabelArea(){if(this.options.ticks.mirror)return;const e=this.chart,t=this.options.position;return"left"===t||"right"===t?{top:0,left:this.left,bottom:e.height,right:this.right}:"top"===t||"bottom"===t?{top:this.top,left:0,bottom:this.bottom,right:e.width}:void 0}drawBackground(){const{ctx:e,options:{backgroundColor:t},left:n,top:r,width:i,height:o}=this;t&&(e.save(),e.fillStyle=t,e.fillRect(n,r,i,o),e.restore())}getLineWidthForValue(e){const t=this.options.grid;if(!this._isVisible()||!t.display)return 0;const n=this.ticks.findIndex((t=>t.value===e));if(n>=0){return t.setContext(this.getContext(n)).lineWidth}return 0}drawGrid(e){const t=this.options.grid,n=this.ctx,r=this._gridLineItems||(this._gridLineItems=this._computeGridLineItems(e));let i,o;const a=(e,t,r)=>{r.width&&r.color&&(n.save(),n.lineWidth=r.width,n.strokeStyle=r.color,n.setLineDash(r.borderDash||[]),n.lineDashOffset=r.borderDashOffset,n.beginPath(),n.moveTo(e.x,e.y),n.lineTo(t.x,t.y),n.stroke(),n.restore())};if(t.display)for(i=0,o=r.length;i<o;++i){const e=r[i];t.drawOnChartArea&&a({x:e.x1,y:e.y1},{x:e.x2,y:e.y2},e),t.drawTicks&&a({x:e.tx1,y:e.ty1},{x:e.tx2,y:e.ty2},{color:e.tickColor,width:e.tickWidth,borderDash:e.tickBorderDash,borderDashOffset:e.tickBorderDashOffset})}}drawBorder(){const{chart:e,ctx:t,options:{border:n,grid:i}}=this,o=n.setContext(this.getContext()),a=n.display?o.width:0;if(!a)return;const s=i.setContext(this.getContext(0)).lineWidth,u=this._borderValue;let c,l,f,d;this.isHorizontal()?(c=(0,r.X)(e,this.left,a)-a/2,l=(0,r.X)(e,this.right,s)+s/2,f=d=u):(f=(0,r.X)(e,this.top,a)-a/2,d=(0,r.X)(e,this.bottom,s)+s/2,c=l=u),t.save(),t.lineWidth=o.width,t.strokeStyle=o.color,t.beginPath(),t.moveTo(c,f),t.lineTo(l,d),t.stroke(),t.restore()}drawLabels(e){if(!this.options.ticks.display)return;const t=this.ctx,n=this._computeLabelArea();n&&(0,r.Y)(t,n);const i=this.getLabelItems(e);for(const e of i){const n=e.options,i=e.font,o=e.label,a=e.textOffset;(0,r.Z)(t,o,0,a,i,n)}n&&(0,r.$)(t)}drawTitle(){const{ctx:e,options:{position:t,title:n,reverse:i}}=this;if(!n.display)return;const o=(0,r.a0)(n.font),a=(0,r.E)(n.padding),s=n.align;let u=o.lineHeight/2;"bottom"===t||"center"===t||(0,r.i)(t)?(u+=a.bottom,(0,r.b)(n.text)&&(u+=o.lineHeight*(n.text.length-1))):u+=a.top;const{titleX:c,titleY:l,maxWidth:f,rotation:d}=function(e,t,n,i){const{top:o,left:a,bottom:s,right:u,chart:c}=e,{chartArea:l,scales:f}=c;let d,p,h,g=0;const m=s-o,y=u-a;if(e.isHorizontal()){if(p=(0,r.a2)(i,a,u),(0,r.i)(n)){const e=Object.keys(n)[0],r=n[e];h=f[e].getPixelForValue(r)+m-t}else h="center"===n?(l.bottom+l.top)/2+m-t:be(e,n,t);d=u-a}else{if((0,r.i)(n)){const e=Object.keys(n)[0],r=n[e];p=f[e].getPixelForValue(r)-y+t}else p="center"===n?(l.left+l.right)/2-y+t:be(e,n,t);h=(0,r.a2)(i,s,o),g="left"===n?-r.H:r.H}return{titleX:p,titleY:h,maxWidth:d,rotation:g}}(this,u,t,s);(0,r.Z)(e,n.text,0,0,o,{color:n.color,maxWidth:f,rotation:d,textAlign:ke(s,t,i),textBaseline:"middle",translation:[c,l]})}draw(e){this._isVisible()&&(this.drawBackground(),this.drawGrid(e),this.drawBorder(),this.drawTitle(),this.drawLabels(e))}_layers(){const e=this.options,t=e.ticks&&e.ticks.z||0,n=(0,r.v)(e.grid&&e.grid.z,-1),i=(0,r.v)(e.border&&e.border.z,0);return this._isVisible()&&this.draw===Ee.prototype.draw?[{z:n,draw:e=>{this.drawBackground(),this.drawGrid(e),this.drawTitle()}},{z:i,draw:()=>{this.drawBorder()}},{z:t,draw:e=>{this.drawLabels(e)}}]:[{z:t,draw:e=>{this.draw(e)}}]}getMatchingVisibleMetas(e){const t=this.chart.getSortedVisibleDatasetMetas(),n=this.axis+"AxisID",r=[];let i,o;for(i=0,o=t.length;i<o;++i){const o=t[i];o[n]!==this.id||e&&o.type!==e||r.push(o)}return r}_resolveTickFontOptions(e){const t=this.options.ticks.setContext(this.getContext(e));return(0,r.a0)(t.font)}_maxDigits(){const e=this._resolveTickFontOptions(0).lineHeight;return(this.isHorizontal()?this.width:this.height)/e}}class Oe{constructor(e,t,n){this.type=e,this.scope=t,this.override=n,this.items=Object.create(null)}isForType(e){return Object.prototype.isPrototypeOf.call(this.type.prototype,e.prototype)}register(e){const t=Object.getPrototypeOf(e);let n;(function(e){return"id"in e&&"defaults"in e})(t)&&(n=this.register(t));const i=this.items,o=e.id,a=this.scope+"."+o;if(!o)throw new Error("class does not have id: "+e);return o in i||(i[o]=e,function(e,t,n){const i=(0,r.a4)(Object.create(null),[n?r.d.get(n):{},r.d.get(t),e.defaults]);r.d.set(t,i),e.defaultRoutes&&function(e,t){Object.keys(t).forEach((n=>{const i=n.split("."),o=i.pop(),a=[e].concat(i).join("."),s=t[n].split("."),u=s.pop(),c=s.join(".");r.d.route(a,o,c,u)}))}(t,e.defaultRoutes);e.descriptors&&r.d.describe(t,e.descriptors)}(e,a,n),this.override&&r.d.override(e.id,e.overrides)),a}get(e){return this.items[e]}unregister(e){const t=this.items,n=e.id,i=this.scope;n in t&&delete t[n],i&&n in r.d[i]&&(delete r.d[i][n],this.override&&delete r.a3[n])}}class Ce{constructor(){this.controllers=new Oe(w,"datasets",!0),this.elements=new Oe(me,"elements"),this.plugins=new Oe(Object,"plugins"),this.scales=new Oe(Ee,"scales"),this._typedRegistries=[this.controllers,this.scales,this.elements]}add(...e){this._each("register",e)}remove(...e){this._each("unregister",e)}addControllers(...e){this._each("register",e,this.controllers)}addElements(...e){this._each("register",e,this.elements)}addPlugins(...e){this._each("register",e,this.plugins)}addScales(...e){this._each("register",e,this.scales)}getController(e){return this._get(e,this.controllers,"controller")}getElement(e){return this._get(e,this.elements,"element")}getPlugin(e){return this._get(e,this.plugins,"plugin")}getScale(e){return this._get(e,this.scales,"scale")}removeControllers(...e){this._each("unregister",e,this.controllers)}removeElements(...e){this._each("unregister",e,this.elements)}removePlugins(...e){this._each("unregister",e,this.plugins)}removeScales(...e){this._each("unregister",e,this.scales)}_each(e,t,n){[...t].forEach((t=>{const i=n||this._getRegistryForType(t);n||i.isForType(t)||i===this.plugins&&t.id?this._exec(e,i,t):(0,r.F)(t,(t=>{const r=n||this._getRegistryForType(t);this._exec(e,r,t)}))}))}_exec(e,t,n){const i=(0,r.a5)(e);(0,r.Q)(n["before"+i],[],n),t[e](n),(0,r.Q)(n["after"+i],[],n)}_getRegistryForType(e){for(let t=0;t<this._typedRegistries.length;t++){const n=this._typedRegistries[t];if(n.isForType(e))return n}return this.plugins}_get(e,t,n){const r=t.get(e);if(void 0===r)throw new Error('"'+e+'" is not a registered '+n+".");return r}}var Le=new Ce;class Ae{constructor(){this._init=[]}notify(e,t,n,r){"beforeInit"===t&&(this._init=this._createDescriptors(e,!0),this._notify(this._init,e,"install"));const i=r?this._descriptors(e).filter(r):this._descriptors(e),o=this._notify(i,e,t,n);return"afterDestroy"===t&&(this._notify(i,e,"stop"),this._notify(this._init,e,"uninstall")),o}_notify(e,t,n,i){i=i||{};for(const o of e){const e=o.plugin,a=e[n],s=[t,i,o.options];if(!1===(0,r.Q)(a,s,e)&&i.cancelable)return!1}return!0}invalidate(){(0,r.k)(this._cache)||(this._oldCache=this._cache,this._cache=void 0)}_descriptors(e){if(this._cache)return this._cache;const t=this._cache=this._createDescriptors(e);return this._notifyStateChanges(e),t}_createDescriptors(e,t){const n=e&&e.config,i=(0,r.v)(n.options&&n.options.plugins,{}),o=function(e){const t={},n=[],r=Object.keys(Le.plugins.items);for(let e=0;e<r.length;e++)n.push(Le.getPlugin(r[e]));const i=e.plugins||[];for(let e=0;e<i.length;e++){const r=i[e];-1===n.indexOf(r)&&(n.push(r),t[r.id]=!0)}return{plugins:n,localIds:t}}(n);return!1!==i||t?function(e,{plugins:t,localIds:n},r,i){const o=[],a=e.getContext();for(const s of t){const t=s.id,u=Ie(r[t],i);null!==u&&o.push({plugin:s,options:Pe(e.config,{plugin:s,local:n[t]},u,a)})}return o}(e,o,i,t):[]}_notifyStateChanges(e){const t=this._oldCache||[],n=this._cache,r=(e,t)=>e.filter((e=>!t.some((t=>e.plugin.id===t.plugin.id))));this._notify(r(t,n),e,"stop"),this._notify(r(n,t),e,"start")}}function Ie(e,t){return t||!1!==e?!0===e?{}:e:null}function Pe(e,{plugin:t,local:n},r,i){const o=e.pluginScopeKeys(t),a=e.getOptionScopes(r,o);return n&&t.defaults&&a.push(t.defaults),e.createResolver(a,i,[""],{scriptable:!1,indexable:!1,allKeys:!0})}function Me(e,t){const n=r.d.datasets[e]||{};return((t.datasets||{})[e]||{}).indexAxis||t.indexAxis||n.indexAxis||"x"}function Re(e){if("x"===e||"y"===e||"r"===e)return e}function je(e,...t){if(Re(e))return e;for(const r of t){const t=r.axis||("top"===(n=r.position)||"bottom"===n?"x":"left"===n||"right"===n?"y":void 0)||e.length>1&&Re(e[0].toLowerCase());if(t)return t}var n;throw new Error(`Cannot determine type of '${e}' axis. Please provide 'axis' or 'position' option.`)}function De(e,t,n){if(n[t+"AxisID"]===e)return{axis:t}}function Ne(e,t){const n=r.a3[e.type]||{scales:{}},i=t.scales||{},o=Me(e.type,t),a=Object.create(null);return Object.keys(i).forEach((t=>{const s=i[t];if(!(0,r.i)(s))return console.error(`Invalid scale configuration for scale: ${t}`);if(s._proxy)return console.warn(`Ignoring resolver passed as options for scale: ${t}`);const u=je(t,s,function(e,t){if(t.data&&t.data.datasets){const n=t.data.datasets.filter((t=>t.xAxisID===e||t.yAxisID===e));if(n.length)return De(e,"x",n[0])||De(e,"y",n[0])}return{}}(t,e),r.d.scales[s.type]),c=function(e,t){return e===t?"_index_":"_value_"}(u,o),l=n.scales||{};a[t]=(0,r.ab)(Object.create(null),[{axis:u},s,l[u],l[c]])})),e.data.datasets.forEach((n=>{const o=n.type||e.type,s=n.indexAxis||Me(o,t),u=(r.a3[o]||{}).scales||{};Object.keys(u).forEach((e=>{const t=function(e,t){let n=e;return"_index_"===e?n=t:"_value_"===e&&(n="x"===t?"y":"x"),n}(e,s),o=n[t+"AxisID"]||t;a[o]=a[o]||Object.create(null),(0,r.ab)(a[o],[{axis:t},i[o],u[e]])}))})),Object.keys(a).forEach((e=>{const t=a[e];(0,r.ab)(t,[r.d.scales[t.type],r.d.scale])})),a}function Be(e){const t=e.options||(e.options={});t.plugins=(0,r.v)(t.plugins,{}),t.scales=Ne(e,t)}function Ue(e){return(e=e||{}).datasets=e.datasets||[],e.labels=e.labels||[],e}const Fe=new Map,ze=new Set;function He(e,t){let n=Fe.get(e);return n||(n=t(),Fe.set(e,n),ze.add(n)),n}const Ze=(e,t,n)=>{const i=(0,r.f)(t,n);void 0!==i&&e.add(i)};class qe{constructor(e){this._config=function(e){return(e=e||{}).data=Ue(e.data),Be(e),e}(e),this._scopeCache=new Map,this._resolverCache=new Map}get platform(){return this._config.platform}get type(){return this._config.type}set type(e){this._config.type=e}get data(){return this._config.data}set data(e){this._config.data=Ue(e)}get options(){return this._config.options}set options(e){this._config.options=e}get plugins(){return this._config.plugins}update(){const e=this._config;this.clearCache(),Be(e)}clearCache(){this._scopeCache.clear(),this._resolverCache.clear()}datasetScopeKeys(e){return He(e,(()=>[[`datasets.${e}`,""]]))}datasetAnimationScopeKeys(e,t){return He(`${e}.transition.${t}`,(()=>[[`datasets.${e}.transitions.${t}`,`transitions.${t}`],[`datasets.${e}`,""]]))}datasetElementScopeKeys(e,t){return He(`${e}-${t}`,(()=>[[`datasets.${e}.elements.${t}`,`datasets.${e}`,`elements.${t}`,""]]))}pluginScopeKeys(e){const t=e.id;return He(`${this.type}-plugin-${t}`,(()=>[[`plugins.${t}`,...e.additionalOptionScopes||[]]]))}_cachedScopes(e,t){const n=this._scopeCache;let r=n.get(e);return r&&!t||(r=new Map,n.set(e,r)),r}getOptionScopes(e,t,n){const{options:i,type:o}=this,a=this._cachedScopes(e,n),s=a.get(t);if(s)return s;const u=new Set;t.forEach((t=>{e&&(u.add(e),t.forEach((t=>Ze(u,e,t)))),t.forEach((e=>Ze(u,i,e))),t.forEach((e=>Ze(u,r.a3[o]||{},e))),t.forEach((e=>Ze(u,r.d,e))),t.forEach((e=>Ze(u,r.a6,e)))}));const c=Array.from(u);return 0===c.length&&c.push(Object.create(null)),ze.has(t)&&a.set(t,c),c}chartOptionScopes(){const{options:e,type:t}=this;return[e,r.a3[t]||{},r.d.datasets[t]||{},{type:t},r.d,r.a6]}resolveNamedOptions(e,t,n,i=[""]){const o={$shared:!0},{resolver:a,subPrefixes:s}=Ve(this._resolverCache,e,i);let u=a;if(function(e,t){const{isScriptable:n,isIndexable:i}=(0,r.aa)(e);for(const o of t){const t=n(o),a=i(o),s=(a||t)&&e[o];if(t&&((0,r.a7)(s)||We(s))||a&&(0,r.b)(s))return!0}return!1}(a,t)){o.$shared=!1,n=(0,r.a7)(n)?n():n;const t=this.createResolver(e,n,s);u=(0,r.a8)(a,n,t)}for(const e of t)o[e]=u[e];return o}createResolver(e,t,n=[""],i){const{resolver:o}=Ve(this._resolverCache,e,n);return(0,r.i)(t)?(0,r.a8)(o,t,void 0,i):o}}function Ve(e,t,n){let i=e.get(t);i||(i=new Map,e.set(t,i));const o=n.join();let a=i.get(o);if(!a){a={resolver:(0,r.a9)(t,n),subPrefixes:n.filter((e=>!e.toLowerCase().includes("hover")))},i.set(o,a)}return a}const We=e=>(0,r.i)(e)&&Object.getOwnPropertyNames(e).some((t=>(0,r.a7)(e[t])));const Ge=["top","bottom","left","right","chartArea"];function $e(e,t){return"top"===e||"bottom"===e||-1===Ge.indexOf(e)&&"x"===t}function Ye(e,t){return function(n,r){return n[e]===r[e]?n[t]-r[t]:n[e]-r[e]}}function Ke(e){const t=e.chart,n=t.options.animation;t.notifyPlugins("afterRender"),(0,r.Q)(n&&n.onComplete,[e],t)}function Xe(e){const t=e.chart,n=t.options.animation;(0,r.Q)(n&&n.onProgress,[e],t)}function Qe(e){return(0,r.M)()&&"string"==typeof e?e=document.getElementById(e):e&&e.length&&(e=e[0]),e&&e.canvas&&(e=e.canvas),e}const Je={},et=e=>{const t=Qe(e);return Object.values(Je).filter((e=>e.canvas===t)).pop()};function tt(e,t,n){const r=Object.keys(e);for(const i of r){const r=+i;if(r>=t){const o=e[i];delete e[i],(n>0||r>t)&&(e[r+n]=o)}}}function nt(e,t,n){return e.options.clip?e[n]:t[n]}class rt{static defaults=r.d;static instances=Je;static overrides=r.a3;static registry=Le;static version="4.4.2";static getChart=et;static register(...e){Le.add(...e),it()}static unregister(...e){Le.remove(...e),it()}constructor(e,t){const n=this.config=new qe(t),i=Qe(e),a=et(i);if(a)throw new Error("Canvas is already in use. Chart with ID '"+a.id+"' must be destroyed before the canvas with ID '"+a.canvas.id+"' can be reused.");const s=n.createResolver(n.chartOptionScopes(),this.getContext());this.platform=new(n.platform||function(e){return!(0,r.M)()||"undefined"!=typeof OffscreenCanvas&&e instanceof OffscreenCanvas?te:ge}(i)),this.platform.updateConfig(n);const u=this.platform.acquireContext(i,s.aspectRatio),c=u&&u.canvas,l=c&&c.height,f=c&&c.width;this.id=(0,r.ac)(),this.ctx=u,this.canvas=c,this.width=f,this.height=l,this._options=s,this._aspectRatio=this.aspectRatio,this._layers=[],this._metasets=[],this._stacks=void 0,this.boxes=[],this.currentDevicePixelRatio=void 0,this.chartArea=void 0,this._active=[],this._lastEvent=void 0,this._listeners={},this._responsiveListeners=void 0,this._sortedMetasets=[],this.scales={},this._plugins=new Ae,this.$proxies={},this._hiddenIndices={},this.attached=!1,this._animationsDisabled=void 0,this.$context=void 0,this._doResize=(0,r.ad)((e=>this.update(e)),s.resizeDelay||0),this._dataChanges=[],Je[this.id]=this,u&&c?(o.listen(this,"complete",Ke),o.listen(this,"progress",Xe),this._initialize(),this.attached&&this.update()):console.error("Failed to create chart: can't acquire context from the given item")}get aspectRatio(){const{options:{aspectRatio:e,maintainAspectRatio:t},width:n,height:i,_aspectRatio:o}=this;return(0,r.k)(e)?t&&o?o:i?n/i:null:e}get data(){return this.config.data}set data(e){this.config.data=e}get options(){return this._options}set options(e){this.config.options=e}get registry(){return Le}_initialize(){return this.notifyPlugins("beforeInit"),this.options.responsive?this.resize():(0,r.ae)(this,this.options.devicePixelRatio),this.bindEvents(),this.notifyPlugins("afterInit"),this}clear(){return(0,r.af)(this.canvas,this.ctx),this}stop(){return o.stop(this),this}resize(e,t){o.running(this)?this._resizeBeforeDraw={width:e,height:t}:this._resize(e,t)}_resize(e,t){const n=this.options,i=this.canvas,o=n.maintainAspectRatio&&this.aspectRatio,a=this.platform.getMaximumSize(i,e,t,o),s=n.devicePixelRatio||this.platform.getDevicePixelRatio(),u=this.width?"resize":"attach";this.width=a.width,this.height=a.height,this._aspectRatio=this.aspectRatio,(0,r.ae)(this,s,!0)&&(this.notifyPlugins("resize",{size:a}),(0,r.Q)(n.onResize,[this,a],this),this.attached&&this._doResize(u)&&this.render())}ensureScalesHaveIDs(){const e=this.options.scales||{};(0,r.F)(e,((e,t)=>{e.id=t}))}buildOrUpdateScales(){const e=this.options,t=e.scales,n=this.scales,i=Object.keys(n).reduce(((e,t)=>(e[t]=!1,e)),{});let o=[];t&&(o=o.concat(Object.keys(t).map((e=>{const n=t[e],r=je(e,n),i="r"===r,o="x"===r;return{options:n,dposition:i?"chartArea":o?"bottom":"left",dtype:i?"radialLinear":o?"category":"linear"}})))),(0,r.F)(o,(t=>{const o=t.options,a=o.id,s=je(a,o),u=(0,r.v)(o.type,t.dtype);void 0!==o.position&&$e(o.position,s)===$e(t.dposition)||(o.position=t.dposition),i[a]=!0;let c=null;if(a in n&&n[a].type===u)c=n[a];else{c=new(Le.getScale(u))({id:a,type:u,ctx:this.ctx,chart:this}),n[c.id]=c}c.init(o,e)})),(0,r.F)(i,((e,t)=>{e||delete n[t]})),(0,r.F)(n,(e=>{J.configure(this,e,e.options),J.addBox(this,e)}))}_updateMetasets(){const e=this._metasets,t=this.data.datasets.length,n=e.length;if(e.sort(((e,t)=>e.index-t.index)),n>t){for(let e=t;e<n;++e)this._destroyDatasetMeta(e);e.splice(t,n-t)}this._sortedMetasets=e.slice(0).sort(Ye("order","index"))}_removeUnreferencedMetasets(){const{_metasets:e,data:{datasets:t}}=this;e.length>t.length&&delete this._stacks,e.forEach(((e,n)=>{0===t.filter((t=>t===e._dataset)).length&&this._destroyDatasetMeta(n)}))}buildOrUpdateControllers(){const e=[],t=this.data.datasets;let n,i;for(this._removeUnreferencedMetasets(),n=0,i=t.length;n<i;n++){const i=t[n];let o=this.getDatasetMeta(n);const a=i.type||this.config.type;if(o.type&&o.type!==a&&(this._destroyDatasetMeta(n),o=this.getDatasetMeta(n)),o.type=a,o.indexAxis=i.indexAxis||Me(a,this.options),o.order=i.order||0,o.index=n,o.label=""+i.label,o.visible=this.isDatasetVisible(n),o.controller)o.controller.updateIndex(n),o.controller.linkScales();else{const t=Le.getController(a),{datasetElementType:i,dataElementType:s}=r.d.datasets[a];Object.assign(t,{dataElementType:Le.getElement(s),datasetElementType:i&&Le.getElement(i)}),o.controller=new t(this,n),e.push(o.controller)}}return this._updateMetasets(),e}_resetElements(){(0,r.F)(this.data.datasets,((e,t)=>{this.getDatasetMeta(t).controller.reset()}),this)}reset(){this._resetElements(),this.notifyPlugins("reset")}update(e){const t=this.config;t.update();const n=this._options=t.createResolver(t.chartOptionScopes(),this.getContext()),i=this._animationsDisabled=!n.animation;if(this._updateScales(),this._checkEventBindings(),this._updateHiddenIndices(),this._plugins.invalidate(),!1===this.notifyPlugins("beforeUpdate",{mode:e,cancelable:!0}))return;const o=this.buildOrUpdateControllers();this.notifyPlugins("beforeElementsUpdate");let a=0;for(let e=0,t=this.data.datasets.length;e<t;e++){const{controller:t}=this.getDatasetMeta(e),n=!i&&-1===o.indexOf(t);t.buildOrUpdateElements(n),a=Math.max(+t.getMaxOverflow(),a)}a=this._minPadding=n.layout.autoPadding?a:0,this._updateLayout(a),i||(0,r.F)(o,(e=>{e.reset()})),this._updateDatasets(e),this.notifyPlugins("afterUpdate",{mode:e}),this._layers.sort(Ye("z","_idx"));const{_active:s,_lastEvent:u}=this;u?this._eventHandler(u,!0):s.length&&this._updateHoverStyles(s,s,!0),this.render()}_updateScales(){(0,r.F)(this.scales,(e=>{J.removeBox(this,e)})),this.ensureScalesHaveIDs(),this.buildOrUpdateScales()}_checkEventBindings(){const e=this.options,t=new Set(Object.keys(this._listeners)),n=new Set(e.events);(0,r.ag)(t,n)&&!!this._responsiveListeners===e.responsive||(this.unbindEvents(),this.bindEvents())}_updateHiddenIndices(){const{_hiddenIndices:e}=this,t=this._getUniformDataChanges()||[];for(const{method:n,start:r,count:i}of t){tt(e,r,"_removeElements"===n?-i:i)}}_getUniformDataChanges(){const e=this._dataChanges;if(!e||!e.length)return;this._dataChanges=[];const t=this.data.datasets.length,n=t=>new Set(e.filter((e=>e[0]===t)).map(((e,t)=>t+","+e.splice(1).join(",")))),i=n(0);for(let e=1;e<t;e++)if(!(0,r.ag)(i,n(e)))return;return Array.from(i).map((e=>e.split(","))).map((e=>({method:e[1],start:+e[2],count:+e[3]})))}_updateLayout(e){if(!1===this.notifyPlugins("beforeLayout",{cancelable:!0}))return;J.update(this,this.width,this.height,e);const t=this.chartArea,n=t.width<=0||t.height<=0;this._layers=[],(0,r.F)(this.boxes,(e=>{n&&"chartArea"===e.position||(e.configure&&e.configure(),this._layers.push(...e._layers()))}),this),this._layers.forEach(((e,t)=>{e._idx=t})),this.notifyPlugins("afterLayout")}_updateDatasets(e){if(!1!==this.notifyPlugins("beforeDatasetsUpdate",{mode:e,cancelable:!0})){for(let e=0,t=this.data.datasets.length;e<t;++e)this.getDatasetMeta(e).controller.configure();for(let t=0,n=this.data.datasets.length;t<n;++t)this._updateDataset(t,(0,r.a7)(e)?e({datasetIndex:t}):e);this.notifyPlugins("afterDatasetsUpdate",{mode:e})}}_updateDataset(e,t){const n=this.getDatasetMeta(e),r={meta:n,index:e,mode:t,cancelable:!0};!1!==this.notifyPlugins("beforeDatasetUpdate",r)&&(n.controller._update(t),r.cancelable=!1,this.notifyPlugins("afterDatasetUpdate",r))}render(){!1!==this.notifyPlugins("beforeRender",{cancelable:!0})&&(o.has(this)?this.attached&&!o.running(this)&&o.start(this):(this.draw(),Ke({chart:this})))}draw(){let e;if(this._resizeBeforeDraw){const{width:e,height:t}=this._resizeBeforeDraw;this._resize(e,t),this._resizeBeforeDraw=null}if(this.clear(),this.width<=0||this.height<=0)return;if(!1===this.notifyPlugins("beforeDraw",{cancelable:!0}))return;const t=this._layers;for(e=0;e<t.length&&t[e].z<=0;++e)t[e].draw(this.chartArea);for(this._drawDatasets();e<t.length;++e)t[e].draw(this.chartArea);this.notifyPlugins("afterDraw")}_getSortedDatasetMetas(e){const t=this._sortedMetasets,n=[];let r,i;for(r=0,i=t.length;r<i;++r){const i=t[r];e&&!i.visible||n.push(i)}return n}getSortedVisibleDatasetMetas(){return this._getSortedDatasetMetas(!0)}_drawDatasets(){if(!1===this.notifyPlugins("beforeDatasetsDraw",{cancelable:!0}))return;const e=this.getSortedVisibleDatasetMetas();for(let t=e.length-1;t>=0;--t)this._drawDataset(e[t]);this.notifyPlugins("afterDatasetsDraw")}_drawDataset(e){const t=this.ctx,n=e._clip,i=!n.disabled,o=function(e,t){const{xScale:n,yScale:r}=e;return n&&r?{left:nt(n,t,"left"),right:nt(n,t,"right"),top:nt(r,t,"top"),bottom:nt(r,t,"bottom")}:t}(e,this.chartArea),a={meta:e,index:e.index,cancelable:!0};!1!==this.notifyPlugins("beforeDatasetDraw",a)&&(i&&(0,r.Y)(t,{left:!1===n.left?0:o.left-n.left,right:!1===n.right?this.width:o.right+n.right,top:!1===n.top?0:o.top-n.top,bottom:!1===n.bottom?this.height:o.bottom+n.bottom}),e.controller.draw(),i&&(0,r.$)(t),a.cancelable=!1,this.notifyPlugins("afterDatasetDraw",a))}isPointInArea(e){return(0,r.C)(e,this.chartArea,this._minPadding)}getElementsAtEventForMode(e,t,n,r){const i=F.modes[t];return"function"==typeof i?i(this,e,n,r):[]}getDatasetMeta(e){const t=this.data.datasets[e],n=this._metasets;let r=n.filter((e=>e&&e._dataset===t)).pop();return r||(r={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null,order:t&&t.order||0,index:e,_dataset:t,_parsed:[],_sorted:!1},n.push(r)),r}getContext(){return this.$context||(this.$context=(0,r.j)(null,{chart:this,type:"chart"}))}getVisibleDatasetCount(){return this.getSortedVisibleDatasetMetas().length}isDatasetVisible(e){const t=this.data.datasets[e];if(!t)return!1;const n=this.getDatasetMeta(e);return"boolean"==typeof n.hidden?!n.hidden:!t.hidden}setDatasetVisibility(e,t){this.getDatasetMeta(e).hidden=!t}toggleDataVisibility(e){this._hiddenIndices[e]=!this._hiddenIndices[e]}getDataVisibility(e){return!this._hiddenIndices[e]}_updateVisibility(e,t,n){const i=n?"show":"hide",o=this.getDatasetMeta(e),a=o.controller._resolveAnimations(void 0,i);(0,r.h)(t)?(o.data[t].hidden=!n,this.update()):(this.setDatasetVisibility(e,n),a.update(o,{visible:n}),this.update((t=>t.datasetIndex===e?i:void 0)))}hide(e,t){this._updateVisibility(e,t,!1)}show(e,t){this._updateVisibility(e,t,!0)}_destroyDatasetMeta(e){const t=this._metasets[e];t&&t.controller&&t.controller._destroy(),delete this._metasets[e]}_stop(){let e,t;for(this.stop(),o.remove(this),e=0,t=this.data.datasets.length;e<t;++e)this._destroyDatasetMeta(e)}destroy(){this.notifyPlugins("beforeDestroy");const{canvas:e,ctx:t}=this;this._stop(),this.config.clearCache(),e&&(this.unbindEvents(),(0,r.af)(e,t),this.platform.releaseContext(t),this.canvas=null,this.ctx=null),delete Je[this.id],this.notifyPlugins("afterDestroy")}toBase64Image(...e){return this.canvas.toDataURL(...e)}bindEvents(){this.bindUserEvents(),this.options.responsive?this.bindResponsiveEvents():this.attached=!0}bindUserEvents(){const e=this._listeners,t=this.platform,n=(n,r)=>{t.addEventListener(this,n,r),e[n]=r},i=(e,t,n)=>{e.offsetX=t,e.offsetY=n,this._eventHandler(e)};(0,r.F)(this.options.events,(e=>n(e,i)))}bindResponsiveEvents(){this._responsiveListeners||(this._responsiveListeners={});const e=this._responsiveListeners,t=this.platform,n=(n,r)=>{t.addEventListener(this,n,r),e[n]=r},r=(n,r)=>{e[n]&&(t.removeEventListener(this,n,r),delete e[n])},i=(e,t)=>{this.canvas&&this.resize(e,t)};let o;const a=()=>{r("attach",a),this.attached=!0,this.resize(),n("resize",i),n("detach",o)};o=()=>{this.attached=!1,r("resize",i),this._stop(),this._resize(0,0),n("attach",a)},t.isAttached(this.canvas)?a():o()}unbindEvents(){(0,r.F)(this._listeners,((e,t)=>{this.platform.removeEventListener(this,t,e)})),this._listeners={},(0,r.F)(this._responsiveListeners,((e,t)=>{this.platform.removeEventListener(this,t,e)})),this._responsiveListeners=void 0}updateHoverStyle(e,t,n){const r=n?"set":"remove";let i,o,a,s;for("dataset"===t&&(i=this.getDatasetMeta(e[0].datasetIndex),i.controller["_"+r+"DatasetHoverStyle"]()),a=0,s=e.length;a<s;++a){o=e[a];const t=o&&this.getDatasetMeta(o.datasetIndex).controller;t&&t[r+"HoverStyle"](o.element,o.datasetIndex,o.index)}}getActiveElements(){return this._active||[]}setActiveElements(e){const t=this._active||[],n=e.map((({datasetIndex:e,index:t})=>{const n=this.getDatasetMeta(e);if(!n)throw new Error("No dataset found at index "+e);return{datasetIndex:e,element:n.data[t],index:t}}));!(0,r.ah)(n,t)&&(this._active=n,this._lastEvent=null,this._updateHoverStyles(n,t))}notifyPlugins(e,t,n){return this._plugins.notify(this,e,t,n)}isPluginEnabled(e){return 1===this._plugins._cache.filter((t=>t.plugin.id===e)).length}_updateHoverStyles(e,t,n){const r=this.options.hover,i=(e,t)=>e.filter((e=>!t.some((t=>e.datasetIndex===t.datasetIndex&&e.index===t.index)))),o=i(t,e),a=n?e:i(e,t);o.length&&this.updateHoverStyle(o,r.mode,!1),a.length&&r.mode&&this.updateHoverStyle(a,r.mode,!0)}_eventHandler(e,t){const n={event:e,replay:t,cancelable:!0,inChartArea:this.isPointInArea(e)},r=t=>(t.options.events||this.options.events).includes(e.native.type);if(!1===this.notifyPlugins("beforeEvent",n,r))return;const i=this._handleEvent(e,t,n.inChartArea);return n.cancelable=!1,this.notifyPlugins("afterEvent",n,r),(i||n.changed)&&this.render(),this}_handleEvent(e,t,n){const{_active:i=[],options:o}=this,a=t,s=this._getActiveElements(e,i,n,a),u=(0,r.ai)(e),c=function(e,t,n,r){return n&&"mouseout"!==e.type?r?t:e:null}(e,this._lastEvent,n,u);n&&(this._lastEvent=null,(0,r.Q)(o.onHover,[e,s,this],this),u&&(0,r.Q)(o.onClick,[e,s,this],this));const l=!(0,r.ah)(s,i);return(l||t)&&(this._active=s,this._updateHoverStyles(s,i,t)),this._lastEvent=c,l}_getActiveElements(e,t,n,r){if("mouseout"===e.type)return[];if(!n)return t;const i=this.options.hover;return this.getElementsAtEventForMode(e,i.mode,i,r)}}function it(){return(0,r.F)(rt.instances,(e=>e._plugins.invalidate()))}function ot(e,t,n,i){const o=(a=e.options.borderRadius,(0,r.ak)(a,["outerStart","outerEnd","innerStart","innerEnd"]));var a;const s=(n-t)/2,u=Math.min(s,i*t/2),c=e=>{const t=(n-Math.min(s,e))*i/2;return(0,r.S)(e,0,Math.min(s,t))};return{outerStart:c(o.outerStart),outerEnd:c(o.outerEnd),innerStart:(0,r.S)(o.innerStart,0,u),innerEnd:(0,r.S)(o.innerEnd,0,u)}}function at(e,t,n,r){return{x:n+e*Math.cos(t),y:r+e*Math.sin(t)}}function st(e,t,n,i,o,a){const{x:s,y:u,startAngle:c,pixelMargin:l,innerRadius:f}=t,d=Math.max(t.outerRadius+i+n-l,0),p=f>0?f+i+n+l:0;let h=0;const g=o-c;if(i){const e=((f>0?f-i:0)+(d>0?d-i:0))/2;h=(g-(0!==e?g*e/(e+i):g))/2}const m=(g-Math.max(.001,g*d-n/r.P)/d)/2,y=c+m+h,v=o-m-h,{outerStart:b,outerEnd:_,innerStart:w,innerEnd:T}=ot(t,p,d,v-y),x=d-b,S=d-_,k=y+b/x,E=v-_/S,O=p+w,C=p+T,L=y+w/O,A=v-T/C;if(e.beginPath(),a){const t=(k+E)/2;if(e.arc(s,u,d,k,t),e.arc(s,u,d,t,E),_>0){const t=at(S,E,s,u);e.arc(t.x,t.y,_,E,v+r.H)}const n=at(C,v,s,u);if(e.lineTo(n.x,n.y),T>0){const t=at(C,A,s,u);e.arc(t.x,t.y,T,v+r.H,A+Math.PI)}const i=(v-T/p+(y+w/p))/2;if(e.arc(s,u,p,v-T/p,i,!0),e.arc(s,u,p,i,y+w/p,!0),w>0){const t=at(O,L,s,u);e.arc(t.x,t.y,w,L+Math.PI,y-r.H)}const o=at(x,y,s,u);if(e.lineTo(o.x,o.y),b>0){const t=at(x,k,s,u);e.arc(t.x,t.y,b,y-r.H,k)}}else{e.moveTo(s,u);const t=Math.cos(k)*d+s,n=Math.sin(k)*d+u;e.lineTo(t,n);const r=Math.cos(E)*d+s,i=Math.sin(E)*d+u;e.lineTo(r,i)}e.closePath()}function ut(e,t,n,i,o){const{fullCircles:a,startAngle:s,circumference:u,options:c}=t,{borderWidth:l,borderJoinStyle:f,borderDash:d,borderDashOffset:p}=c,h="inner"===c.borderAlign;if(!l)return;e.setLineDash(d||[]),e.lineDashOffset=p,h?(e.lineWidth=2*l,e.lineJoin=f||"round"):(e.lineWidth=l,e.lineJoin=f||"bevel");let g=t.endAngle;if(a){st(e,t,n,i,g,o);for(let t=0;t<a;++t)e.stroke();isNaN(u)||(g=s+(u%r.T||r.T))}h&&function(e,t,n){const{startAngle:i,pixelMargin:o,x:a,y:s,outerRadius:u,innerRadius:c}=t;let l=o/u;e.beginPath(),e.arc(a,s,u,i-l,n+l),c>o?(l=o/c,e.arc(a,s,c,n+l,i-l,!0)):e.arc(a,s,o,n+r.H,i-r.H),e.closePath(),e.clip()}(e,t,g),a||(st(e,t,n,i,g,o),e.stroke())}class ct extends me{static id="arc";static defaults={borderAlign:"center",borderColor:"#fff",borderDash:[],borderDashOffset:0,borderJoinStyle:void 0,borderRadius:0,borderWidth:2,offset:0,spacing:0,angle:void 0,circular:!0};static defaultRoutes={backgroundColor:"backgroundColor"};static descriptors={_scriptable:!0,_indexable:e=>"borderDash"!==e};circumference;endAngle;fullCircles;innerRadius;outerRadius;pixelMargin;startAngle;constructor(e){super(),this.options=void 0,this.circumference=void 0,this.startAngle=void 0,this.endAngle=void 0,this.innerRadius=void 0,this.outerRadius=void 0,this.pixelMargin=0,this.fullCircles=0,e&&Object.assign(this,e)}inRange(e,t,n){const i=this.getProps(["x","y"],n),{angle:o,distance:a}=(0,r.D)(i,{x:e,y:t}),{startAngle:s,endAngle:u,innerRadius:c,outerRadius:l,circumference:f}=this.getProps(["startAngle","endAngle","innerRadius","outerRadius","circumference"],n),d=(this.options.spacing+this.options.borderWidth)/2,p=(0,r.v)(f,u-s)>=r.T||(0,r.p)(o,s,u),h=(0,r.aj)(a,c+d,l+d);return p&&h}getCenterPoint(e){const{x:t,y:n,startAngle:r,endAngle:i,innerRadius:o,outerRadius:a}=this.getProps(["x","y","startAngle","endAngle","innerRadius","outerRadius"],e),{offset:s,spacing:u}=this.options,c=(r+i)/2,l=(o+a+u+s)/2;return{x:t+Math.cos(c)*l,y:n+Math.sin(c)*l}}tooltipPosition(e){return this.getCenterPoint(e)}draw(e){const{options:t,circumference:n}=this,i=(t.offset||0)/4,o=(t.spacing||0)/2,a=t.circular;if(this.pixelMargin="inner"===t.borderAlign?.33:0,this.fullCircles=n>r.T?Math.floor(n/r.T):0,0===n||this.innerRadius<0||this.outerRadius<0)return;e.save();const s=(this.startAngle+this.endAngle)/2;e.translate(Math.cos(s)*i,Math.sin(s)*i);const u=i*(1-Math.sin(Math.min(r.P,n||0)));e.fillStyle=t.backgroundColor,e.strokeStyle=t.borderColor,function(e,t,n,i,o){const{fullCircles:a,startAngle:s,circumference:u}=t;let c=t.endAngle;if(a){st(e,t,n,i,c,o);for(let t=0;t<a;++t)e.fill();isNaN(u)||(c=s+(u%r.T||r.T))}st(e,t,n,i,c,o),e.fill()}(e,this,u,o,a),ut(e,this,u,o,a),e.restore()}}function lt(e,t,n=t){e.lineCap=(0,r.v)(n.borderCapStyle,t.borderCapStyle),e.setLineDash((0,r.v)(n.borderDash,t.borderDash)),e.lineDashOffset=(0,r.v)(n.borderDashOffset,t.borderDashOffset),e.lineJoin=(0,r.v)(n.borderJoinStyle,t.borderJoinStyle),e.lineWidth=(0,r.v)(n.borderWidth,t.borderWidth),e.strokeStyle=(0,r.v)(n.borderColor,t.borderColor)}function ft(e,t,n){e.lineTo(n.x,n.y)}function dt(e,t,n={}){const r=e.length,{start:i=0,end:o=r-1}=n,{start:a,end:s}=t,u=Math.max(i,a),c=Math.min(o,s),l=i<a&&o<a||i>s&&o>s;return{count:r,start:u,loop:t.loop,ilen:c<u&&!l?r+c-u:c-u}}function pt(e,t,n,i){const{points:o,options:a}=t,{count:s,start:u,loop:c,ilen:l}=dt(o,n,i),f=function(e){return e.stepped?r.ar:e.tension||"monotone"===e.cubicInterpolationMode?r.as:ft}(a);let d,p,h,{move:g=!0,reverse:m}=i||{};for(d=0;d<=l;++d)p=o[(u+(m?l-d:d))%s],p.skip||(g?(e.moveTo(p.x,p.y),g=!1):f(e,h,p,m,a.stepped),h=p);return c&&(p=o[(u+(m?l:0))%s],f(e,h,p,m,a.stepped)),!!c}function ht(e,t,n,r){const i=t.points,{count:o,start:a,ilen:s}=dt(i,n,r),{move:u=!0,reverse:c}=r||{};let l,f,d,p,h,g,m=0,y=0;const v=e=>(a+(c?s-e:e))%o,b=()=>{p!==h&&(e.lineTo(m,h),e.lineTo(m,p),e.lineTo(m,g))};for(u&&(f=i[v(0)],e.moveTo(f.x,f.y)),l=0;l<=s;++l){if(f=i[v(l)],f.skip)continue;const t=f.x,n=f.y,r=0|t;r===d?(n<p?p=n:n>h&&(h=n),m=(y*m+t)/++y):(b(),e.lineTo(t,n),d=r,y=0,p=h=n),g=n}b()}function gt(e){const t=e.options,n=t.borderDash&&t.borderDash.length;return!(e._decimated||e._loop||t.tension||"monotone"===t.cubicInterpolationMode||t.stepped||n)?ht:pt}const mt="function"==typeof Path2D;function yt(e,t,n,r){mt&&!t.options.segment?function(e,t,n,r){let i=t._path;i||(i=t._path=new Path2D,t.path(i,n,r)&&i.closePath()),lt(e,t.options),e.stroke(i)}(e,t,n,r):function(e,t,n,r){const{segments:i,options:o}=t,a=gt(t);for(const s of i)lt(e,o,s.style),e.beginPath(),a(e,t,s,{start:n,end:n+r-1})&&e.closePath(),e.stroke()}(e,t,n,r)}class vt extends me{static id="line";static defaults={borderCapStyle:"butt",borderDash:[],borderDashOffset:0,borderJoinStyle:"miter",borderWidth:3,capBezierPoints:!0,cubicInterpolationMode:"default",fill:!1,spanGaps:!1,stepped:!1,tension:0};static defaultRoutes={backgroundColor:"backgroundColor",borderColor:"borderColor"};static descriptors={_scriptable:!0,_indexable:e=>"borderDash"!==e&&"fill"!==e};constructor(e){super(),this.animated=!0,this.options=void 0,this._chart=void 0,this._loop=void 0,this._fullLoop=void 0,this._path=void 0,this._points=void 0,this._segments=void 0,this._decimated=!1,this._pointsUpdated=!1,this._datasetIndex=void 0,e&&Object.assign(this,e)}updateControlPoints(e,t){const n=this.options;if((n.tension||"monotone"===n.cubicInterpolationMode)&&!n.stepped&&!this._pointsUpdated){const i=n.spanGaps?this._loop:this._fullLoop;(0,r.al)(this._points,n,e,i,t),this._pointsUpdated=!0}}set points(e){this._points=e,delete this._segments,delete this._path,this._pointsUpdated=!1}get points(){return this._points}get segments(){return this._segments||(this._segments=(0,r.am)(this,this.options.segment))}first(){const e=this.segments,t=this.points;return e.length&&t[e[0].start]}last(){const e=this.segments,t=this.points,n=e.length;return n&&t[e[n-1].end]}interpolate(e,t){const n=this.options,i=e[t],o=this.points,a=(0,r.an)(this,{property:t,start:i,end:i});if(!a.length)return;const s=[],u=function(e){return e.stepped?r.ao:e.tension||"monotone"===e.cubicInterpolationMode?r.ap:r.aq}(n);let c,l;for(c=0,l=a.length;c<l;++c){const{start:r,end:l}=a[c],f=o[r],d=o[l];if(f===d){s.push(f);continue}const p=u(f,d,Math.abs((i-f[t])/(d[t]-f[t])),n.stepped);p[t]=e[t],s.push(p)}return 1===s.length?s[0]:s}pathSegment(e,t,n){return gt(this)(e,this,t,n)}path(e,t,n){const r=this.segments,i=gt(this);let o=this._loop;t=t||0,n=n||this.points.length-t;for(const a of r)o&=i(e,this,a,{start:t,end:t+n-1});return!!o}draw(e,t,n,r){const i=this.options||{};(this.points||[]).length&&i.borderWidth&&(e.save(),yt(e,this,n,r),e.restore()),this.animated&&(this._pointsUpdated=!1,this._path=void 0)}}function bt(e,t,n,r){const i=e.options,{[n]:o}=e.getProps([n],r);return Math.abs(t-o)<i.radius+i.hitRadius}class _t extends me{static id="point";parsed;skip;stop;static defaults={borderWidth:1,hitRadius:1,hoverBorderWidth:1,hoverRadius:4,pointStyle:"circle",radius:3,rotation:0};static defaultRoutes={backgroundColor:"backgroundColor",borderColor:"borderColor"};constructor(e){super(),this.options=void 0,this.parsed=void 0,this.skip=void 0,this.stop=void 0,e&&Object.assign(this,e)}inRange(e,t,n){const r=this.options,{x:i,y:o}=this.getProps(["x","y"],n);return Math.pow(e-i,2)+Math.pow(t-o,2)<Math.pow(r.hitRadius+r.radius,2)}inXRange(e,t){return bt(this,e,"x",t)}inYRange(e,t){return bt(this,e,"y",t)}getCenterPoint(e){const{x:t,y:n}=this.getProps(["x","y"],e);return{x:t,y:n}}size(e){let t=(e=e||this.options||{}).radius||0;t=Math.max(t,t&&e.hoverRadius||0);return 2*(t+(t&&e.borderWidth||0))}draw(e,t){const n=this.options;this.skip||n.radius<.1||!(0,r.C)(this,t,this.size(n)/2)||(e.strokeStyle=n.borderColor,e.lineWidth=n.borderWidth,e.fillStyle=n.backgroundColor,(0,r.at)(e,n,this.x,this.y))}getRange(){const e=this.options||{};return e.radius+e.hitRadius}}function wt(e,t){const{x:n,y:r,base:i,width:o,height:a}=e.getProps(["x","y","base","width","height"],t);let s,u,c,l,f;return e.horizontal?(f=a/2,s=Math.min(n,i),u=Math.max(n,i),c=r-f,l=r+f):(f=o/2,s=n-f,u=n+f,c=Math.min(r,i),l=Math.max(r,i)),{left:s,top:c,right:u,bottom:l}}function Tt(e,t,n,i){return e?0:(0,r.S)(t,n,i)}function xt(e){const t=wt(e),n=t.right-t.left,i=t.bottom-t.top,o=function(e,t,n){const i=e.options.borderWidth,o=e.borderSkipped,a=(0,r.av)(i);return{t:Tt(o.top,a.top,0,n),r:Tt(o.right,a.right,0,t),b:Tt(o.bottom,a.bottom,0,n),l:Tt(o.left,a.left,0,t)}}(e,n/2,i/2),a=function(e,t,n){const{enableBorderRadius:i}=e.getProps(["enableBorderRadius"]),o=e.options.borderRadius,a=(0,r.aw)(o),s=Math.min(t,n),u=e.borderSkipped,c=i||(0,r.i)(o);return{topLeft:Tt(!c||u.top||u.left,a.topLeft,0,s),topRight:Tt(!c||u.top||u.right,a.topRight,0,s),bottomLeft:Tt(!c||u.bottom||u.left,a.bottomLeft,0,s),bottomRight:Tt(!c||u.bottom||u.right,a.bottomRight,0,s)}}(e,n/2,i/2);return{outer:{x:t.left,y:t.top,w:n,h:i,radius:a},inner:{x:t.left+o.l,y:t.top+o.t,w:n-o.l-o.r,h:i-o.t-o.b,radius:{topLeft:Math.max(0,a.topLeft-Math.max(o.t,o.l)),topRight:Math.max(0,a.topRight-Math.max(o.t,o.r)),bottomLeft:Math.max(0,a.bottomLeft-Math.max(o.b,o.l)),bottomRight:Math.max(0,a.bottomRight-Math.max(o.b,o.r))}}}}function St(e,t,n,i){const o=null===t,a=null===n,s=e&&!(o&&a)&&wt(e,i);return s&&(o||(0,r.aj)(t,s.left,s.right))&&(a||(0,r.aj)(n,s.top,s.bottom))}function kt(e,t){e.rect(t.x,t.y,t.w,t.h)}function Et(e,t,n={}){const r=e.x!==n.x?-t:0,i=e.y!==n.y?-t:0,o=(e.x+e.w!==n.x+n.w?t:0)-r,a=(e.y+e.h!==n.y+n.h?t:0)-i;return{x:e.x+r,y:e.y+i,w:e.w+o,h:e.h+a,radius:e.radius}}class Ot extends me{static id="bar";static defaults={borderSkipped:"start",borderWidth:0,borderRadius:0,inflateAmount:"auto",pointStyle:void 0};static defaultRoutes={backgroundColor:"backgroundColor",borderColor:"borderColor"};constructor(e){super(),this.options=void 0,this.horizontal=void 0,this.base=void 0,this.width=void 0,this.height=void 0,this.inflateAmount=void 0,e&&Object.assign(this,e)}draw(e){const{inflateAmount:t,options:{borderColor:n,backgroundColor:i}}=this,{inner:o,outer:a}=xt(this),s=(u=a.radius).topLeft||u.topRight||u.bottomLeft||u.bottomRight?r.au:kt;var u;e.save(),a.w===o.w&&a.h===o.h||(e.beginPath(),s(e,Et(a,t,o)),e.clip(),s(e,Et(o,-t,a)),e.fillStyle=n,e.fill("evenodd")),e.beginPath(),s(e,Et(o,t)),e.fillStyle=i,e.fill(),e.restore()}inRange(e,t,n){return St(this,e,t,n)}inXRange(e,t){return St(this,e,null,t)}inYRange(e,t){return St(this,null,e,t)}getCenterPoint(e){const{x:t,y:n,base:r,horizontal:i}=this.getProps(["x","y","base","horizontal"],e);return{x:i?(t+r)/2:t,y:i?n:(n+r)/2}}getRange(e){return"x"===e?this.width/2:this.height/2}}const Ct=(e,t)=>{let{boxHeight:n=t,boxWidth:r=t}=e;return e.usePointStyle&&(n=Math.min(n,t),r=e.pointStyleWidth||Math.min(r,t)),{boxWidth:r,boxHeight:n,itemHeight:Math.max(t,n)}};class Lt extends me{constructor(e){super(),this._added=!1,this.legendHitBoxes=[],this._hoveredItem=null,this.doughnutMode=!1,this.chart=e.chart,this.options=e.options,this.ctx=e.ctx,this.legendItems=void 0,this.columnSizes=void 0,this.lineWidths=void 0,this.maxHeight=void 0,this.maxWidth=void 0,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.height=void 0,this.width=void 0,this._margins=void 0,this.position=void 0,this.weight=void 0,this.fullSize=void 0}update(e,t,n){this.maxWidth=e,this.maxHeight=t,this._margins=n,this.setDimensions(),this.buildLabels(),this.fit()}setDimensions(){this.isHorizontal()?(this.width=this.maxWidth,this.left=this._margins.left,this.right=this.width):(this.height=this.maxHeight,this.top=this._margins.top,this.bottom=this.height)}buildLabels(){const e=this.options.labels||{};let t=(0,r.Q)(e.generateLabels,[this.chart],this)||[];e.filter&&(t=t.filter((t=>e.filter(t,this.chart.data)))),e.sort&&(t=t.sort(((t,n)=>e.sort(t,n,this.chart.data)))),this.options.reverse&&t.reverse(),this.legendItems=t}fit(){const{options:e,ctx:t}=this;if(!e.display)return void(this.width=this.height=0);const n=e.labels,i=(0,r.a0)(n.font),o=i.size,a=this._computeTitleHeight(),{boxWidth:s,itemHeight:u}=Ct(n,o);let c,l;t.font=i.string,this.isHorizontal()?(c=this.maxWidth,l=this._fitRows(a,o,s,u)+10):(l=this.maxHeight,c=this._fitCols(a,i,s,u)+10),this.width=Math.min(c,e.maxWidth||this.maxWidth),this.height=Math.min(l,e.maxHeight||this.maxHeight)}_fitRows(e,t,n,r){const{ctx:i,maxWidth:o,options:{labels:{padding:a}}}=this,s=this.legendHitBoxes=[],u=this.lineWidths=[0],c=r+a;let l=e;i.textAlign="left",i.textBaseline="middle";let f=-1,d=-c;return this.legendItems.forEach(((e,p)=>{const h=n+t/2+i.measureText(e.text).width;(0===p||u[u.length-1]+h+2*a>o)&&(l+=c,u[u.length-(p>0?0:1)]=0,d+=c,f++),s[p]={left:0,top:d,row:f,width:h,height:r},u[u.length-1]+=h+a})),l}_fitCols(e,t,n,r){const{ctx:i,maxHeight:o,options:{labels:{padding:a}}}=this,s=this.legendHitBoxes=[],u=this.columnSizes=[],c=o-e;let l=a,f=0,d=0,p=0,h=0;return this.legendItems.forEach(((e,o)=>{const{itemWidth:g,itemHeight:m}=function(e,t,n,r,i){const o=function(e,t,n,r){let i=e.text;i&&"string"!=typeof i&&(i=i.reduce(((e,t)=>e.length>t.length?e:t)));return t+n.size/2+r.measureText(i).width}(r,e,t,n),a=function(e,t,n){let r=e;"string"!=typeof t.text&&(r=At(t,n));return r}(i,r,t.lineHeight);return{itemWidth:o,itemHeight:a}}(n,t,i,e,r);o>0&&d+m+2*a>c&&(l+=f+a,u.push({width:f,height:d}),p+=f+a,h++,f=d=0),s[o]={left:p,top:d,col:h,width:g,height:m},f=Math.max(f,g),d+=m+a})),l+=f,u.push({width:f,height:d}),l}adjustHitBoxes(){if(!this.options.display)return;const e=this._computeTitleHeight(),{legendHitBoxes:t,options:{align:n,labels:{padding:i},rtl:o}}=this,a=(0,r.az)(o,this.left,this.width);if(this.isHorizontal()){let o=0,s=(0,r.a2)(n,this.left+i,this.right-this.lineWidths[o]);for(const u of t)o!==u.row&&(o=u.row,s=(0,r.a2)(n,this.left+i,this.right-this.lineWidths[o])),u.top+=this.top+e+i,u.left=a.leftForLtr(a.x(s),u.width),s+=u.width+i}else{let o=0,s=(0,r.a2)(n,this.top+e+i,this.bottom-this.columnSizes[o].height);for(const u of t)u.col!==o&&(o=u.col,s=(0,r.a2)(n,this.top+e+i,this.bottom-this.columnSizes[o].height)),u.top=s,u.left+=this.left+i,u.left=a.leftForLtr(a.x(u.left),u.width),s+=u.height+i}}isHorizontal(){return"top"===this.options.position||"bottom"===this.options.position}draw(){if(this.options.display){const e=this.ctx;(0,r.Y)(e,this),this._draw(),(0,r.$)(e)}}_draw(){const{options:e,columnSizes:t,lineWidths:n,ctx:i}=this,{align:o,labels:a}=e,s=r.d.color,u=(0,r.az)(e.rtl,this.left,this.width),c=(0,r.a0)(a.font),{padding:l}=a,f=c.size,d=f/2;let p;this.drawTitle(),i.textAlign=u.textAlign("left"),i.textBaseline="middle",i.lineWidth=.5,i.font=c.string;const{boxWidth:h,boxHeight:g,itemHeight:m}=Ct(a,f),y=this.isHorizontal(),v=this._computeTitleHeight();p=y?{x:(0,r.a2)(o,this.left+l,this.right-n[0]),y:this.top+l+v,line:0}:{x:this.left+l,y:(0,r.a2)(o,this.top+v+l,this.bottom-t[0].height),line:0},(0,r.aA)(this.ctx,e.textDirection);const b=m+l;this.legendItems.forEach(((_,w)=>{i.strokeStyle=_.fontColor,i.fillStyle=_.fontColor;const T=i.measureText(_.text).width,x=u.textAlign(_.textAlign||(_.textAlign=a.textAlign)),S=h+d+T;let k=p.x,E=p.y;u.setWidth(this.width),y?w>0&&k+S+l>this.right&&(E=p.y+=b,p.line++,k=p.x=(0,r.a2)(o,this.left+l,this.right-n[p.line])):w>0&&E+b>this.bottom&&(k=p.x=k+t[p.line].width+l,p.line++,E=p.y=(0,r.a2)(o,this.top+v+l,this.bottom-t[p.line].height));if(function(e,t,n){if(isNaN(h)||h<=0||isNaN(g)||g<0)return;i.save();const o=(0,r.v)(n.lineWidth,1);if(i.fillStyle=(0,r.v)(n.fillStyle,s),i.lineCap=(0,r.v)(n.lineCap,"butt"),i.lineDashOffset=(0,r.v)(n.lineDashOffset,0),i.lineJoin=(0,r.v)(n.lineJoin,"miter"),i.lineWidth=o,i.strokeStyle=(0,r.v)(n.strokeStyle,s),i.setLineDash((0,r.v)(n.lineDash,[])),a.usePointStyle){const s={radius:g*Math.SQRT2/2,pointStyle:n.pointStyle,rotation:n.rotation,borderWidth:o},c=u.xPlus(e,h/2),l=t+d;(0,r.aD)(i,s,c,l,a.pointStyleWidth&&h)}else{const a=t+Math.max((f-g)/2,0),s=u.leftForLtr(e,h),c=(0,r.aw)(n.borderRadius);i.beginPath(),Object.values(c).some((e=>0!==e))?(0,r.au)(i,{x:s,y:a,w:h,h:g,radius:c}):i.rect(s,a,h,g),i.fill(),0!==o&&i.stroke()}i.restore()}(u.x(k),E,_),k=(0,r.aB)(x,k+h+d,y?k+S:this.right,e.rtl),function(e,t,n){(0,r.Z)(i,n.text,e,t+m/2,c,{strikethrough:n.hidden,textAlign:u.textAlign(n.textAlign)})}(u.x(k),E,_),y)p.x+=S+l;else if("string"!=typeof _.text){const e=c.lineHeight;p.y+=At(_,e)+l}else p.y+=b})),(0,r.aC)(this.ctx,e.textDirection)}drawTitle(){const e=this.options,t=e.title,n=(0,r.a0)(t.font),i=(0,r.E)(t.padding);if(!t.display)return;const o=(0,r.az)(e.rtl,this.left,this.width),a=this.ctx,s=t.position,u=n.size/2,c=i.top+u;let l,f=this.left,d=this.width;if(this.isHorizontal())d=Math.max(...this.lineWidths),l=this.top+c,f=(0,r.a2)(e.align,f,this.right-d);else{const t=this.columnSizes.reduce(((e,t)=>Math.max(e,t.height)),0);l=c+(0,r.a2)(e.align,this.top,this.bottom-t-e.labels.padding-this._computeTitleHeight())}const p=(0,r.a2)(s,f,f+d);a.textAlign=o.textAlign((0,r.a1)(s)),a.textBaseline="middle",a.strokeStyle=t.color,a.fillStyle=t.color,a.font=n.string,(0,r.Z)(a,t.text,p,l,n)}_computeTitleHeight(){const e=this.options.title,t=(0,r.a0)(e.font),n=(0,r.E)(e.padding);return e.display?t.lineHeight+n.height:0}_getLegendItemAt(e,t){let n,i,o;if((0,r.aj)(e,this.left,this.right)&&(0,r.aj)(t,this.top,this.bottom))for(o=this.legendHitBoxes,n=0;n<o.length;++n)if(i=o[n],(0,r.aj)(e,i.left,i.left+i.width)&&(0,r.aj)(t,i.top,i.top+i.height))return this.legendItems[n];return null}handleEvent(e){const t=this.options;if(!function(e,t){if(("mousemove"===e||"mouseout"===e)&&(t.onHover||t.onLeave))return!0;if(t.onClick&&("click"===e||"mouseup"===e))return!0;return!1}(e.type,t))return;const n=this._getLegendItemAt(e.x,e.y);if("mousemove"===e.type||"mouseout"===e.type){const a=this._hoveredItem,s=(o=n,null!==(i=a)&&null!==o&&i.datasetIndex===o.datasetIndex&&i.index===o.index);a&&!s&&(0,r.Q)(t.onLeave,[e,a,this],this),this._hoveredItem=n,n&&!s&&(0,r.Q)(t.onHover,[e,n,this],this)}else n&&(0,r.Q)(t.onClick,[e,n,this],this);var i,o}}function At(e,t){return t*(e.text?e.text.length:0)}var It={id:"legend",_element:Lt,start(e,t,n){const r=e.legend=new Lt({ctx:e.ctx,options:n,chart:e});J.configure(e,r,n),J.addBox(e,r)},stop(e){J.removeBox(e,e.legend),delete e.legend},beforeUpdate(e,t,n){const r=e.legend;J.configure(e,r,n),r.options=n},afterUpdate(e){const t=e.legend;t.buildLabels(),t.adjustHitBoxes()},afterEvent(e,t){t.replay||e.legend.handleEvent(t.event)},defaults:{display:!0,position:"top",align:"center",fullSize:!0,reverse:!1,weight:1e3,onClick(e,t,n){const r=t.datasetIndex,i=n.chart;i.isDatasetVisible(r)?(i.hide(r),t.hidden=!0):(i.show(r),t.hidden=!1)},onHover:null,onLeave:null,labels:{color:e=>e.chart.options.color,boxWidth:40,padding:10,generateLabels(e){const t=e.data.datasets,{labels:{usePointStyle:n,pointStyle:i,textAlign:o,color:a,useBorderRadius:s,borderRadius:u}}=e.legend.options;return e._getSortedDatasetMetas().map((e=>{const c=e.controller.getStyle(n?0:void 0),l=(0,r.E)(c.borderWidth);return{text:t[e.index].label,fillStyle:c.backgroundColor,fontColor:a,hidden:!e.visible,lineCap:c.borderCapStyle,lineDash:c.borderDash,lineDashOffset:c.borderDashOffset,lineJoin:c.borderJoinStyle,lineWidth:(l.width+l.height)/4,strokeStyle:c.borderColor,pointStyle:i||c.pointStyle,rotation:c.rotation,textAlign:o||c.textAlign,borderRadius:s&&(u||c.borderRadius),datasetIndex:e.index}}),this)}},title:{color:e=>e.chart.options.color,display:!1,position:"center",text:""}},descriptors:{_scriptable:e=>!e.startsWith("on"),labels:{_scriptable:e=>!["generateLabels","filter","sort"].includes(e)}}};class Pt extends me{constructor(e){super(),this.chart=e.chart,this.options=e.options,this.ctx=e.ctx,this._padding=void 0,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.width=void 0,this.height=void 0,this.position=void 0,this.weight=void 0,this.fullSize=void 0}update(e,t){const n=this.options;if(this.left=0,this.top=0,!n.display)return void(this.width=this.height=this.right=this.bottom=0);this.width=this.right=e,this.height=this.bottom=t;const i=(0,r.b)(n.text)?n.text.length:1;this._padding=(0,r.E)(n.padding);const o=i*(0,r.a0)(n.font).lineHeight+this._padding.height;this.isHorizontal()?this.height=o:this.width=o}isHorizontal(){const e=this.options.position;return"top"===e||"bottom"===e}_drawArgs(e){const{top:t,left:n,bottom:i,right:o,options:a}=this,s=a.align;let u,c,l,f=0;return this.isHorizontal()?(c=(0,r.a2)(s,n,o),l=t+e,u=o-n):("left"===a.position?(c=n+e,l=(0,r.a2)(s,i,t),f=-.5*r.P):(c=o-e,l=(0,r.a2)(s,t,i),f=.5*r.P),u=i-t),{titleX:c,titleY:l,maxWidth:u,rotation:f}}draw(){const e=this.ctx,t=this.options;if(!t.display)return;const n=(0,r.a0)(t.font),i=n.lineHeight/2+this._padding.top,{titleX:o,titleY:a,maxWidth:s,rotation:u}=this._drawArgs(i);(0,r.Z)(e,t.text,0,0,n,{color:t.color,maxWidth:s,rotation:u,textAlign:(0,r.a1)(t.align),textBaseline:"middle",translation:[o,a]})}}var Mt={id:"title",_element:Pt,start(e,t,n){!function(e,t){const n=new Pt({ctx:e.ctx,options:t,chart:e});J.configure(e,n,t),J.addBox(e,n),e.titleBlock=n}(e,n)},stop(e){const t=e.titleBlock;J.removeBox(e,t),delete e.titleBlock},beforeUpdate(e,t,n){const r=e.titleBlock;J.configure(e,r,n),r.options=n},defaults:{align:"center",display:!1,font:{weight:"bold"},fullSize:!0,padding:10,position:"top",text:"",weight:2e3},defaultRoutes:{color:"color"},descriptors:{_scriptable:!0,_indexable:!1}};new WeakMap;const Rt={average(e){if(!e.length)return!1;let t,n,r=new Set,i=0,o=0;for(t=0,n=e.length;t<n;++t){const n=e[t].element;if(n&&n.hasValue()){const e=n.tooltipPosition();r.add(e.x),i+=e.y,++o}}return{x:[...r].reduce(((e,t)=>e+t))/r.size,y:i/o}},nearest(e,t){if(!e.length)return!1;let n,i,o,a=t.x,s=t.y,u=Number.POSITIVE_INFINITY;for(n=0,i=e.length;n<i;++n){const i=e[n].element;if(i&&i.hasValue()){const e=i.getCenterPoint(),n=(0,r.aE)(t,e);n<u&&(u=n,o=i)}}if(o){const e=o.tooltipPosition();a=e.x,s=e.y}return{x:a,y:s}}};function jt(e,t){return t&&((0,r.b)(t)?Array.prototype.push.apply(e,t):e.push(t)),e}function Dt(e){return("string"==typeof e||e instanceof String)&&e.indexOf("\n")>-1?e.split("\n"):e}function Nt(e,t){const{element:n,datasetIndex:r,index:i}=t,o=e.getDatasetMeta(r).controller,{label:a,value:s}=o.getLabelAndValue(i);return{chart:e,label:a,parsed:o.getParsed(i),raw:e.data.datasets[r].data[i],formattedValue:s,dataset:o.getDataset(),dataIndex:i,datasetIndex:r,element:n}}function Bt(e,t){const n=e.chart.ctx,{body:i,footer:o,title:a}=e,{boxWidth:s,boxHeight:u}=t,c=(0,r.a0)(t.bodyFont),l=(0,r.a0)(t.titleFont),f=(0,r.a0)(t.footerFont),d=a.length,p=o.length,h=i.length,g=(0,r.E)(t.padding);let m=g.height,y=0,v=i.reduce(((e,t)=>e+t.before.length+t.lines.length+t.after.length),0);if(v+=e.beforeBody.length+e.afterBody.length,d&&(m+=d*l.lineHeight+(d-1)*t.titleSpacing+t.titleMarginBottom),v){m+=h*(t.displayColors?Math.max(u,c.lineHeight):c.lineHeight)+(v-h)*c.lineHeight+(v-1)*t.bodySpacing}p&&(m+=t.footerMarginTop+p*f.lineHeight+(p-1)*t.footerSpacing);let b=0;const _=function(e){y=Math.max(y,n.measureText(e).width+b)};return n.save(),n.font=l.string,(0,r.F)(e.title,_),n.font=c.string,(0,r.F)(e.beforeBody.concat(e.afterBody),_),b=t.displayColors?s+2+t.boxPadding:0,(0,r.F)(i,(e=>{(0,r.F)(e.before,_),(0,r.F)(e.lines,_),(0,r.F)(e.after,_)})),b=0,n.font=f.string,(0,r.F)(e.footer,_),n.restore(),y+=g.width,{width:y,height:m}}function Ut(e,t,n,r){const{x:i,width:o}=n,{width:a,chartArea:{left:s,right:u}}=e;let c="center";return"center"===r?c=i<=(s+u)/2?"left":"right":i<=o/2?c="left":i>=a-o/2&&(c="right"),function(e,t,n,r){const{x:i,width:o}=r,a=n.caretSize+n.caretPadding;return"left"===e&&i+o+a>t.width||"right"===e&&i-o-a<0||void 0}(c,e,t,n)&&(c="center"),c}function Ft(e,t,n){const r=n.yAlign||t.yAlign||function(e,t){const{y:n,height:r}=t;return n<r/2?"top":n>e.height-r/2?"bottom":"center"}(e,n);return{xAlign:n.xAlign||t.xAlign||Ut(e,t,n,r),yAlign:r}}function zt(e,t,n,i){const{caretSize:o,caretPadding:a,cornerRadius:s}=e,{xAlign:u,yAlign:c}=n,l=o+a,{topLeft:f,topRight:d,bottomLeft:p,bottomRight:h}=(0,r.aw)(s);let g=function(e,t){let{x:n,width:r}=e;return"right"===t?n-=r:"center"===t&&(n-=r/2),n}(t,u);const m=function(e,t,n){let{y:r,height:i}=e;return"top"===t?r+=n:r-="bottom"===t?i+n:i/2,r}(t,c,l);return"center"===c?"left"===u?g+=l:"right"===u&&(g-=l):"left"===u?g-=Math.max(f,p)+o:"right"===u&&(g+=Math.max(d,h)+o),{x:(0,r.S)(g,0,i.width-t.width),y:(0,r.S)(m,0,i.height-t.height)}}function Ht(e,t,n){const i=(0,r.E)(n.padding);return"center"===t?e.x+e.width/2:"right"===t?e.x+e.width-i.right:e.x+i.left}function Zt(e){return jt([],Dt(e))}function qt(e,t){const n=t&&t.dataset&&t.dataset.tooltip&&t.dataset.tooltip.callbacks;return n?e.override(n):e}const Vt={beforeTitle:r.aF,title(e){if(e.length>0){const t=e[0],n=t.chart.data.labels,r=n?n.length:0;if(this&&this.options&&"dataset"===this.options.mode)return t.dataset.label||"";if(t.label)return t.label;if(r>0&&t.dataIndex<r)return n[t.dataIndex]}return""},afterTitle:r.aF,beforeBody:r.aF,beforeLabel:r.aF,label(e){if(this&&this.options&&"dataset"===this.options.mode)return e.label+": "+e.formattedValue||e.formattedValue;let t=e.dataset.label||"";t&&(t+=": ");const n=e.formattedValue;return(0,r.k)(n)||(t+=n),t},labelColor(e){const t=e.chart.getDatasetMeta(e.datasetIndex).controller.getStyle(e.dataIndex);return{borderColor:t.borderColor,backgroundColor:t.backgroundColor,borderWidth:t.borderWidth,borderDash:t.borderDash,borderDashOffset:t.borderDashOffset,borderRadius:0}},labelTextColor(){return this.options.bodyColor},labelPointStyle(e){const t=e.chart.getDatasetMeta(e.datasetIndex).controller.getStyle(e.dataIndex);return{pointStyle:t.pointStyle,rotation:t.rotation}},afterLabel:r.aF,afterBody:r.aF,beforeFooter:r.aF,footer:r.aF,afterFooter:r.aF};function Wt(e,t,n,r){const i=e[t].call(n,r);return void 0===i?Vt[t].call(n,r):i}class Gt extends me{static positioners=Rt;constructor(e){super(),this.opacity=0,this._active=[],this._eventPosition=void 0,this._size=void 0,this._cachedAnimations=void 0,this._tooltipItems=[],this.$animations=void 0,this.$context=void 0,this.chart=e.chart,this.options=e.options,this.dataPoints=void 0,this.title=void 0,this.beforeBody=void 0,this.body=void 0,this.afterBody=void 0,this.footer=void 0,this.xAlign=void 0,this.yAlign=void 0,this.x=void 0,this.y=void 0,this.height=void 0,this.width=void 0,this.caretX=void 0,this.caretY=void 0,this.labelColors=void 0,this.labelPointStyles=void 0,this.labelTextColors=void 0}initialize(e){this.options=e,this._cachedAnimations=void 0,this.$context=void 0}_resolveAnimations(){const e=this._cachedAnimations;if(e)return e;const t=this.chart,n=this.options.setContext(this.getContext()),r=n.enabled&&t.options.animation&&n.animations,i=new c(this.chart,r);return r._cacheable&&(this._cachedAnimations=Object.freeze(i)),i}getContext(){return this.$context||(this.$context=(e=this.chart.getContext(),t=this,n=this._tooltipItems,(0,r.j)(e,{tooltip:t,tooltipItems:n,type:"tooltip"})));var e,t,n}getTitle(e,t){const{callbacks:n}=t,r=Wt(n,"beforeTitle",this,e),i=Wt(n,"title",this,e),o=Wt(n,"afterTitle",this,e);let a=[];return a=jt(a,Dt(r)),a=jt(a,Dt(i)),a=jt(a,Dt(o)),a}getBeforeBody(e,t){return Zt(Wt(t.callbacks,"beforeBody",this,e))}getBody(e,t){const{callbacks:n}=t,i=[];return(0,r.F)(e,(e=>{const t={before:[],lines:[],after:[]},r=qt(n,e);jt(t.before,Dt(Wt(r,"beforeLabel",this,e))),jt(t.lines,Wt(r,"label",this,e)),jt(t.after,Dt(Wt(r,"afterLabel",this,e))),i.push(t)})),i}getAfterBody(e,t){return Zt(Wt(t.callbacks,"afterBody",this,e))}getFooter(e,t){const{callbacks:n}=t,r=Wt(n,"beforeFooter",this,e),i=Wt(n,"footer",this,e),o=Wt(n,"afterFooter",this,e);let a=[];return a=jt(a,Dt(r)),a=jt(a,Dt(i)),a=jt(a,Dt(o)),a}_createItems(e){const t=this._active,n=this.chart.data,i=[],o=[],a=[];let s,u,c=[];for(s=0,u=t.length;s<u;++s)c.push(Nt(this.chart,t[s]));return e.filter&&(c=c.filter(((t,r,i)=>e.filter(t,r,i,n)))),e.itemSort&&(c=c.sort(((t,r)=>e.itemSort(t,r,n)))),(0,r.F)(c,(t=>{const n=qt(e.callbacks,t);i.push(Wt(n,"labelColor",this,t)),o.push(Wt(n,"labelPointStyle",this,t)),a.push(Wt(n,"labelTextColor",this,t))})),this.labelColors=i,this.labelPointStyles=o,this.labelTextColors=a,this.dataPoints=c,c}update(e,t){const n=this.options.setContext(this.getContext()),r=this._active;let i,o=[];if(r.length){const e=Rt[n.position].call(this,r,this._eventPosition);o=this._createItems(n),this.title=this.getTitle(o,n),this.beforeBody=this.getBeforeBody(o,n),this.body=this.getBody(o,n),this.afterBody=this.getAfterBody(o,n),this.footer=this.getFooter(o,n);const t=this._size=Bt(this,n),a=Object.assign({},e,t),s=Ft(this.chart,n,a),u=zt(n,a,s,this.chart);this.xAlign=s.xAlign,this.yAlign=s.yAlign,i={opacity:1,x:u.x,y:u.y,width:t.width,height:t.height,caretX:e.x,caretY:e.y}}else 0!==this.opacity&&(i={opacity:0});this._tooltipItems=o,this.$context=void 0,i&&this._resolveAnimations().update(this,i),e&&n.external&&n.external.call(this,{chart:this.chart,tooltip:this,replay:t})}drawCaret(e,t,n,r){const i=this.getCaretPosition(e,n,r);t.lineTo(i.x1,i.y1),t.lineTo(i.x2,i.y2),t.lineTo(i.x3,i.y3)}getCaretPosition(e,t,n){const{xAlign:i,yAlign:o}=this,{caretSize:a,cornerRadius:s}=n,{topLeft:u,topRight:c,bottomLeft:l,bottomRight:f}=(0,r.aw)(s),{x:d,y:p}=e,{width:h,height:g}=t;let m,y,v,b,_,w;return"center"===o?(_=p+g/2,"left"===i?(m=d,y=m-a,b=_+a,w=_-a):(m=d+h,y=m+a,b=_-a,w=_+a),v=m):(y="left"===i?d+Math.max(u,l)+a:"right"===i?d+h-Math.max(c,f)-a:this.caretX,"top"===o?(b=p,_=b-a,m=y-a,v=y+a):(b=p+g,_=b+a,m=y+a,v=y-a),w=b),{x1:m,x2:y,x3:v,y1:b,y2:_,y3:w}}drawTitle(e,t,n){const i=this.title,o=i.length;let a,s,u;if(o){const c=(0,r.az)(n.rtl,this.x,this.width);for(e.x=Ht(this,n.titleAlign,n),t.textAlign=c.textAlign(n.titleAlign),t.textBaseline="middle",a=(0,r.a0)(n.titleFont),s=n.titleSpacing,t.fillStyle=n.titleColor,t.font=a.string,u=0;u<o;++u)t.fillText(i[u],c.x(e.x),e.y+a.lineHeight/2),e.y+=a.lineHeight+s,u+1===o&&(e.y+=n.titleMarginBottom-s)}}_drawColorBox(e,t,n,i,o){const a=this.labelColors[n],s=this.labelPointStyles[n],{boxHeight:u,boxWidth:c}=o,l=(0,r.a0)(o.bodyFont),f=Ht(this,"left",o),d=i.x(f),p=u<l.lineHeight?(l.lineHeight-u)/2:0,h=t.y+p;if(o.usePointStyle){const t={radius:Math.min(c,u)/2,pointStyle:s.pointStyle,rotation:s.rotation,borderWidth:1},n=i.leftForLtr(d,c)+c/2,l=h+u/2;e.strokeStyle=o.multiKeyBackground,e.fillStyle=o.multiKeyBackground,(0,r.at)(e,t,n,l),e.strokeStyle=a.borderColor,e.fillStyle=a.backgroundColor,(0,r.at)(e,t,n,l)}else{e.lineWidth=(0,r.i)(a.borderWidth)?Math.max(...Object.values(a.borderWidth)):a.borderWidth||1,e.strokeStyle=a.borderColor,e.setLineDash(a.borderDash||[]),e.lineDashOffset=a.borderDashOffset||0;const t=i.leftForLtr(d,c),n=i.leftForLtr(i.xPlus(d,1),c-2),s=(0,r.aw)(a.borderRadius);Object.values(s).some((e=>0!==e))?(e.beginPath(),e.fillStyle=o.multiKeyBackground,(0,r.au)(e,{x:t,y:h,w:c,h:u,radius:s}),e.fill(),e.stroke(),e.fillStyle=a.backgroundColor,e.beginPath(),(0,r.au)(e,{x:n,y:h+1,w:c-2,h:u-2,radius:s}),e.fill()):(e.fillStyle=o.multiKeyBackground,e.fillRect(t,h,c,u),e.strokeRect(t,h,c,u),e.fillStyle=a.backgroundColor,e.fillRect(n,h+1,c-2,u-2))}e.fillStyle=this.labelTextColors[n]}drawBody(e,t,n){const{body:i}=this,{bodySpacing:o,bodyAlign:a,displayColors:s,boxHeight:u,boxWidth:c,boxPadding:l}=n,f=(0,r.a0)(n.bodyFont);let d=f.lineHeight,p=0;const h=(0,r.az)(n.rtl,this.x,this.width),g=function(n){t.fillText(n,h.x(e.x+p),e.y+d/2),e.y+=d+o},m=h.textAlign(a);let y,v,b,_,w,T,x;for(t.textAlign=a,t.textBaseline="middle",t.font=f.string,e.x=Ht(this,m,n),t.fillStyle=n.bodyColor,(0,r.F)(this.beforeBody,g),p=s&&"right"!==m?"center"===a?c/2+l:c+2+l:0,_=0,T=i.length;_<T;++_){for(y=i[_],v=this.labelTextColors[_],t.fillStyle=v,(0,r.F)(y.before,g),b=y.lines,s&&b.length&&(this._drawColorBox(t,e,_,h,n),d=Math.max(f.lineHeight,u)),w=0,x=b.length;w<x;++w)g(b[w]),d=f.lineHeight;(0,r.F)(y.after,g)}p=0,d=f.lineHeight,(0,r.F)(this.afterBody,g),e.y-=o}drawFooter(e,t,n){const i=this.footer,o=i.length;let a,s;if(o){const u=(0,r.az)(n.rtl,this.x,this.width);for(e.x=Ht(this,n.footerAlign,n),e.y+=n.footerMarginTop,t.textAlign=u.textAlign(n.footerAlign),t.textBaseline="middle",a=(0,r.a0)(n.footerFont),t.fillStyle=n.footerColor,t.font=a.string,s=0;s<o;++s)t.fillText(i[s],u.x(e.x),e.y+a.lineHeight/2),e.y+=a.lineHeight+n.footerSpacing}}drawBackground(e,t,n,i){const{xAlign:o,yAlign:a}=this,{x:s,y:u}=e,{width:c,height:l}=n,{topLeft:f,topRight:d,bottomLeft:p,bottomRight:h}=(0,r.aw)(i.cornerRadius);t.fillStyle=i.backgroundColor,t.strokeStyle=i.borderColor,t.lineWidth=i.borderWidth,t.beginPath(),t.moveTo(s+f,u),"top"===a&&this.drawCaret(e,t,n,i),t.lineTo(s+c-d,u),t.quadraticCurveTo(s+c,u,s+c,u+d),"center"===a&&"right"===o&&this.drawCaret(e,t,n,i),t.lineTo(s+c,u+l-h),t.quadraticCurveTo(s+c,u+l,s+c-h,u+l),"bottom"===a&&this.drawCaret(e,t,n,i),t.lineTo(s+p,u+l),t.quadraticCurveTo(s,u+l,s,u+l-p),"center"===a&&"left"===o&&this.drawCaret(e,t,n,i),t.lineTo(s,u+f),t.quadraticCurveTo(s,u,s+f,u),t.closePath(),t.fill(),i.borderWidth>0&&t.stroke()}_updateAnimationTarget(e){const t=this.chart,n=this.$animations,r=n&&n.x,i=n&&n.y;if(r||i){const n=Rt[e.position].call(this,this._active,this._eventPosition);if(!n)return;const o=this._size=Bt(this,e),a=Object.assign({},n,this._size),s=Ft(t,e,a),u=zt(e,a,s,t);r._to===u.x&&i._to===u.y||(this.xAlign=s.xAlign,this.yAlign=s.yAlign,this.width=o.width,this.height=o.height,this.caretX=n.x,this.caretY=n.y,this._resolveAnimations().update(this,u))}}_willRender(){return!!this.opacity}draw(e){const t=this.options.setContext(this.getContext());let n=this.opacity;if(!n)return;this._updateAnimationTarget(t);const i={width:this.width,height:this.height},o={x:this.x,y:this.y};n=Math.abs(n)<.001?0:n;const a=(0,r.E)(t.padding),s=this.title.length||this.beforeBody.length||this.body.length||this.afterBody.length||this.footer.length;t.enabled&&s&&(e.save(),e.globalAlpha=n,this.drawBackground(o,e,i,t),(0,r.aA)(e,t.textDirection),o.y+=a.top,this.drawTitle(o,e,t),this.drawBody(o,e,t),this.drawFooter(o,e,t),(0,r.aC)(e,t.textDirection),e.restore())}getActiveElements(){return this._active||[]}setActiveElements(e,t){const n=this._active,i=e.map((({datasetIndex:e,index:t})=>{const n=this.chart.getDatasetMeta(e);if(!n)throw new Error("Cannot find a dataset at index "+e);return{datasetIndex:e,element:n.data[t],index:t}})),o=!(0,r.ah)(n,i),a=this._positionChanged(i,t);(o||a)&&(this._active=i,this._eventPosition=t,this._ignoreReplayEvents=!0,this.update(!0))}handleEvent(e,t,n=!0){if(t&&this._ignoreReplayEvents)return!1;this._ignoreReplayEvents=!1;const i=this.options,o=this._active||[],a=this._getActiveElements(e,o,t,n),s=this._positionChanged(a,e),u=t||!(0,r.ah)(a,o)||s;return u&&(this._active=a,(i.enabled||i.external)&&(this._eventPosition={x:e.x,y:e.y},this.update(!0,t))),u}_getActiveElements(e,t,n,r){const i=this.options;if("mouseout"===e.type)return[];if(!r)return t.filter((e=>this.chart.data.datasets[e.datasetIndex]&&void 0!==this.chart.getDatasetMeta(e.datasetIndex).controller.getParsed(e.index)));const o=this.chart.getElementsAtEventForMode(e,i.mode,i,n);return i.reverse&&o.reverse(),o}_positionChanged(e,t){const{caretX:n,caretY:r,options:i}=this,o=Rt[i.position].call(this,e,t);return!1!==o&&(n!==o.x||r!==o.y)}}var $t={id:"tooltip",_element:Gt,positioners:Rt,afterInit(e,t,n){n&&(e.tooltip=new Gt({chart:e,options:n}))},beforeUpdate(e,t,n){e.tooltip&&e.tooltip.initialize(n)},reset(e,t,n){e.tooltip&&e.tooltip.initialize(n)},afterDraw(e){const t=e.tooltip;if(t&&t._willRender()){const n={tooltip:t};if(!1===e.notifyPlugins("beforeTooltipDraw",{...n,cancelable:!0}))return;t.draw(e.ctx),e.notifyPlugins("afterTooltipDraw",n)}},afterEvent(e,t){if(e.tooltip){const n=t.replay;e.tooltip.handleEvent(t.event,n,t.inChartArea)&&(t.changed=!0)}},defaults:{enabled:!0,external:null,position:"average",backgroundColor:"rgba(0,0,0,0.8)",titleColor:"#fff",titleFont:{weight:"bold"},titleSpacing:2,titleMarginBottom:6,titleAlign:"left",bodyColor:"#fff",bodySpacing:2,bodyFont:{},bodyAlign:"left",footerColor:"#fff",footerSpacing:2,footerMarginTop:6,footerFont:{weight:"bold"},footerAlign:"left",padding:6,caretPadding:2,caretSize:5,cornerRadius:6,boxHeight:(e,t)=>t.bodyFont.size,boxWidth:(e,t)=>t.bodyFont.size,multiKeyBackground:"#fff",displayColors:!0,boxPadding:0,borderColor:"rgba(0,0,0,0)",borderWidth:0,animation:{duration:400,easing:"easeOutQuart"},animations:{numbers:{type:"number",properties:["x","y","width","height","caretX","caretY"]},opacity:{easing:"linear",duration:200}},callbacks:Vt},defaultRoutes:{bodyFont:"font",footerFont:"font",titleFont:"font"},descriptors:{_scriptable:e=>"filter"!==e&&"itemSort"!==e&&"external"!==e,_indexable:!1,callbacks:{_scriptable:!1,_indexable:!1},animation:{_fallback:!1},animations:{_fallback:"animation"}},additionalOptionScopes:["interaction"]};function Yt(e,t,n,r){const i=e.indexOf(t);if(-1===i)return((e,t,n,r)=>("string"==typeof t?(n=e.push(t)-1,r.unshift({index:n,label:t})):isNaN(t)&&(n=null),n))(e,t,n,r);return i!==e.lastIndexOf(t)?n:i}function Kt(e){const t=this.getLabels();return e>=0&&e<t.length?t[e]:e}class Xt extends Ee{static id="category";static defaults={ticks:{callback:Kt}};constructor(e){super(e),this._startValue=void 0,this._valueRange=0,this._addedLabels=[]}init(e){const t=this._addedLabels;if(t.length){const e=this.getLabels();for(const{index:n,label:r}of t)e[n]===r&&e.splice(n,1);this._addedLabels=[]}super.init(e)}parse(e,t){if((0,r.k)(e))return null;const n=this.getLabels();return((e,t)=>null===e?null:(0,r.S)(Math.round(e),0,t))(t=isFinite(t)&&n[t]===e?t:Yt(n,e,(0,r.v)(t,e),this._addedLabels),n.length-1)}determineDataLimits(){const{minDefined:e,maxDefined:t}=this.getUserBounds();let{min:n,max:r}=this.getMinMax(!0);"ticks"===this.options.bounds&&(e||(n=0),t||(r=this.getLabels().length-1)),this.min=n,this.max=r}buildTicks(){const e=this.min,t=this.max,n=this.options.offset,r=[];let i=this.getLabels();i=0===e&&t===i.length-1?i:i.slice(e,t+1),this._valueRange=Math.max(i.length-(n?0:1),1),this._startValue=this.min-(n?.5:0);for(let n=e;n<=t;n++)r.push({value:n});return r}getLabelForValue(e){return Kt.call(this,e)}configure(){super.configure(),this.isHorizontal()||(this._reversePixels=!this._reversePixels)}getPixelForValue(e){return"number"!=typeof e&&(e=this.parse(e)),null===e?NaN:this.getPixelForDecimal((e-this._startValue)/this._valueRange)}getPixelForTick(e){const t=this.ticks;return e<0||e>t.length-1?null:this.getPixelForValue(t[e].value)}getValueForPixel(e){return Math.round(this._startValue+this.getDecimalForPixel(e)*this._valueRange)}getBasePixel(){return this.bottom}}function Qt(e,t,{horizontal:n,minRotation:i}){const o=(0,r.t)(i),a=(n?Math.sin(o):Math.cos(o))||.001,s=.75*t*(""+e).length;return Math.min(t/a,s)}class Jt extends Ee{constructor(e){super(e),this.start=void 0,this.end=void 0,this._startValue=void 0,this._endValue=void 0,this._valueRange=0}parse(e,t){return(0,r.k)(e)||("number"==typeof e||e instanceof Number)&&!isFinite(+e)?null:+e}handleTickRangeOptions(){const{beginAtZero:e}=this.options,{minDefined:t,maxDefined:n}=this.getUserBounds();let{min:i,max:o}=this;const a=e=>i=t?i:e,s=e=>o=n?o:e;if(e){const e=(0,r.s)(i),t=(0,r.s)(o);e<0&&t<0?s(0):e>0&&t>0&&a(0)}if(i===o){let t=0===o?1:Math.abs(.05*o);s(o+t),e||a(i-t)}this.min=i,this.max=o}getTickLimit(){const e=this.options.ticks;let t,{maxTicksLimit:n,stepSize:r}=e;return r?(t=Math.ceil(this.max/r)-Math.floor(this.min/r)+1,t>1e3&&(console.warn(`scales.${this.id}.ticks.stepSize: ${r} would result generating up to ${t} ticks. Limiting to 1000.`),t=1e3)):(t=this.computeTickLimit(),n=n||11),n&&(t=Math.min(n,t)),t}computeTickLimit(){return Number.POSITIVE_INFINITY}buildTicks(){const e=this.options,t=e.ticks;let n=this.getTickLimit();n=Math.max(2,n);const i=function(e,t){const n=[],{bounds:i,step:o,min:a,max:s,precision:u,count:c,maxTicks:l,maxDigits:f,includeBounds:d}=e,p=o||1,h=l-1,{min:g,max:m}=t,y=!(0,r.k)(a),v=!(0,r.k)(s),b=!(0,r.k)(c),_=(m-g)/(f+1);let w,T,x,S,k=(0,r.aH)((m-g)/h/p)*p;if(k<1e-14&&!y&&!v)return[{value:g},{value:m}];S=Math.ceil(m/k)-Math.floor(g/k),S>h&&(k=(0,r.aH)(S*k/h/p)*p),(0,r.k)(u)||(w=Math.pow(10,u),k=Math.ceil(k*w)/w),"ticks"===i?(T=Math.floor(g/k)*k,x=Math.ceil(m/k)*k):(T=g,x=m),y&&v&&o&&(0,r.aI)((s-a)/o,k/1e3)?(S=Math.round(Math.min((s-a)/k,l)),k=(s-a)/S,T=a,x=s):b?(T=y?a:T,x=v?s:x,S=c-1,k=(x-T)/S):(S=(x-T)/k,S=(0,r.aJ)(S,Math.round(S),k/1e3)?Math.round(S):Math.ceil(S));const E=Math.max((0,r.aK)(k),(0,r.aK)(T));w=Math.pow(10,(0,r.k)(u)?E:u),T=Math.round(T*w)/w,x=Math.round(x*w)/w;let O=0;for(y&&(d&&T!==a?(n.push({value:a}),T<a&&O++,(0,r.aJ)(Math.round((T+O*k)*w)/w,a,Qt(a,_,e))&&O++):T<a&&O++);O<S;++O){const e=Math.round((T+O*k)*w)/w;if(v&&e>s)break;n.push({value:e})}return v&&d&&x!==s?n.length&&(0,r.aJ)(n[n.length-1].value,s,Qt(s,_,e))?n[n.length-1].value=s:n.push({value:s}):v&&x!==s||n.push({value:x}),n}({maxTicks:n,bounds:e.bounds,min:e.min,max:e.max,precision:t.precision,step:t.stepSize,count:t.count,maxDigits:this._maxDigits(),horizontal:this.isHorizontal(),minRotation:t.minRotation||0,includeBounds:!1!==t.includeBounds},this._range||this);return"ticks"===e.bounds&&(0,r.aG)(i,this,"value"),e.reverse?(i.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),i}configure(){const e=this.ticks;let t=this.min,n=this.max;if(super.configure(),this.options.offset&&e.length){const r=(n-t)/Math.max(e.length-1,1)/2;t-=r,n+=r}this._startValue=t,this._endValue=n,this._valueRange=n-t}getLabelForValue(e){return(0,r.o)(e,this.chart.options.locale,this.options.ticks.format)}}class en extends Jt{static id="linear";static defaults={ticks:{callback:r.aL.formatters.numeric}};determineDataLimits(){const{min:e,max:t}=this.getMinMax(!0);this.min=(0,r.g)(e)?e:0,this.max=(0,r.g)(t)?t:1,this.handleTickRangeOptions()}computeTickLimit(){const e=this.isHorizontal(),t=e?this.width:this.height,n=(0,r.t)(this.options.ticks.minRotation),i=(e?Math.sin(n):Math.cos(n))||.001,o=this._resolveTickFontOptions(0);return Math.ceil(t/Math.min(40,o.lineHeight/i))}getPixelForValue(e){return null===e?NaN:this.getPixelForDecimal((e-this._startValue)/this._valueRange)}getValueForPixel(e){return this._startValue+this.getDecimalForPixel(e)*this._valueRange}}r.aL.formatters.logarithmic;r.aL.formatters.numeric},50713:function(e,t,n){"use strict";function r(e){return e+.5|0}n.d(t,{$:function(){return St},A:function(){return Ne},B:function(){return De},C:function(){return Tt},D:function(){return Oe},E:function(){return Nt},F:function(){return G},G:function(){return vn},H:function(){return pe},I:function(){return fn},J:function(){return wn},K:function(){return _n},L:function(){return qe},M:function(){return ln},N:function(){return _e},O:function(){return H},P:function(){return ue},Q:function(){return W},R:function(){return Ft},S:function(){return Pe},T:function(){return ce},U:function(){return ke},V:function(){return mt},W:function(){return Me},X:function(){return vt},Y:function(){return xt},Z:function(){return Lt},_:function(){return He},a:function(){return Ut},a0:function(){return Bt},a1:function(){return We},a2:function(){return Ge},a3:function(){return lt},a4:function(){return Q},a5:function(){return re},a6:function(){return ft},a7:function(){return oe},a8:function(){return Zt},a9:function(){return Ht},aA:function(){return En},aB:function(){return $e},aC:function(){return On},aD:function(){return wt},aE:function(){return Ce},aF:function(){return D},aG:function(){return xe},aH:function(){return be},aI:function(){return Te},aJ:function(){return ve},aK:function(){return Ee},aL:function(){return ct},aM:function(){return me},aN:function(){return yt},aO:function(){return Be},aP:function(){return je},aa:function(){return qt},ab:function(){return J},ac:function(){return N},ad:function(){return Ve},ae:function(){return bn},af:function(){return bt},ag:function(){return ae},ah:function(){return $},ai:function(){return se},aj:function(){return Re},ak:function(){return Rt},al:function(){return cn},am:function(){return Pn},an:function(){return In},ao:function(){return xn},ap:function(){return Sn},aq:function(){return Tn},ar:function(){return kt},as:function(){return Et},at:function(){return _t},au:function(){return At},av:function(){return jt},aw:function(){return Dt},ax:function(){return An},ay:function(){return Ae},az:function(){return kn},b:function(){return U},c:function(){return nt},d:function(){return gt},e:function(){return et},f:function(){return ne},g:function(){return z},h:function(){return ie},i:function(){return F},j:function(){return zt},k:function(){return B},l:function(){return Fe},m:function(){return q},n:function(){return V},o:function(){return st},p:function(){return Ie},q:function(){return Ye},r:function(){return Ze},s:function(){return ye},t:function(){return Se},u:function(){return ze},v:function(){return Z},w:function(){return Ke},x:function(){return we},y:function(){return tn},z:function(){return mn}});const i=(e,t,n)=>Math.max(Math.min(e,n),t);function o(e){return i(r(2.55*e),0,255)}function a(e){return i(r(255*e),0,255)}function s(e){return i(r(e/2.55)/100,0,1)}function u(e){return i(r(100*e),0,100)}const c={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,A:10,B:11,C:12,D:13,E:14,F:15,a:10,b:11,c:12,d:13,e:14,f:15},l=[..."0123456789ABCDEF"],f=e=>l[15&e],d=e=>l[(240&e)>>4]+l[15&e],p=e=>(240&e)>>4==(15&e);function h(e){var t=(e=>p(e.r)&&p(e.g)&&p(e.b)&&p(e.a))(e)?f:d;return e?"#"+t(e.r)+t(e.g)+t(e.b)+((e,t)=>e<255?t(e):"")(e.a,t):void 0}const g=/^(hsla?|hwb|hsv)\(\s*([-+.e\d]+)(?:deg)?[\s,]+([-+.e\d]+)%[\s,]+([-+.e\d]+)%(?:[\s,]+([-+.e\d]+)(%)?)?\s*\)$/;function m(e,t,n){const r=t*Math.min(n,1-n),i=(t,i=(t+e/30)%12)=>n-r*Math.max(Math.min(i-3,9-i,1),-1);return[i(0),i(8),i(4)]}function y(e,t,n){const r=(r,i=(r+e/60)%6)=>n-n*t*Math.max(Math.min(i,4-i,1),0);return[r(5),r(3),r(1)]}function v(e,t,n){const r=m(e,1,.5);let i;for(t+n>1&&(i=1/(t+n),t*=i,n*=i),i=0;i<3;i++)r[i]*=1-t-n,r[i]+=t;return r}function b(e){const t=e.r/255,n=e.g/255,r=e.b/255,i=Math.max(t,n,r),o=Math.min(t,n,r),a=(i+o)/2;let s,u,c;return i!==o&&(c=i-o,u=a>.5?c/(2-i-o):c/(i+o),s=function(e,t,n,r,i){return e===i?(t-n)/r+(t<n?6:0):t===i?(n-e)/r+2:(e-t)/r+4}(t,n,r,c,i),s=60*s+.5),[0|s,u||0,a]}function _(e,t,n,r){return(Array.isArray(t)?e(t[0],t[1],t[2]):e(t,n,r)).map(a)}function w(e,t,n){return _(m,e,t,n)}function T(e){return(e%360+360)%360}function x(e){const t=g.exec(e);let n,r=255;if(!t)return;t[5]!==n&&(r=t[6]?o(+t[5]):a(+t[5]));const i=T(+t[2]),s=+t[3]/100,u=+t[4]/100;return n="hwb"===t[1]?function(e,t,n){return _(v,e,t,n)}(i,s,u):"hsv"===t[1]?function(e,t,n){return _(y,e,t,n)}(i,s,u):w(i,s,u),{r:n[0],g:n[1],b:n[2],a:r}}const S={x:"dark",Z:"light",Y:"re",X:"blu",W:"gr",V:"medium",U:"slate",A:"ee",T:"ol",S:"or",B:"ra",C:"lateg",D:"ights",R:"in",Q:"turquois",E:"hi",P:"ro",O:"al",N:"le",M:"de",L:"yello",F:"en",K:"ch",G:"arks",H:"ea",I:"ightg",J:"wh"},k={OiceXe:"f0f8ff",antiquewEte:"faebd7",aqua:"ffff",aquamarRe:"7fffd4",azuY:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"0",blanKedOmond:"ffebcd",Xe:"ff",XeviTet:"8a2be2",bPwn:"a52a2a",burlywood:"deb887",caMtXe:"5f9ea0",KartYuse:"7fff00",KocTate:"d2691e",cSO:"ff7f50",cSnflowerXe:"6495ed",cSnsilk:"fff8dc",crimson:"dc143c",cyan:"ffff",xXe:"8b",xcyan:"8b8b",xgTMnPd:"b8860b",xWay:"a9a9a9",xgYF:"6400",xgYy:"a9a9a9",xkhaki:"bdb76b",xmagFta:"8b008b",xTivegYF:"556b2f",xSange:"ff8c00",xScEd:"9932cc",xYd:"8b0000",xsOmon:"e9967a",xsHgYF:"8fbc8f",xUXe:"483d8b",xUWay:"2f4f4f",xUgYy:"2f4f4f",xQe:"ced1",xviTet:"9400d3",dAppRk:"ff1493",dApskyXe:"bfff",dimWay:"696969",dimgYy:"696969",dodgerXe:"1e90ff",fiYbrick:"b22222",flSOwEte:"fffaf0",foYstWAn:"228b22",fuKsia:"ff00ff",gaRsbSo:"dcdcdc",ghostwEte:"f8f8ff",gTd:"ffd700",gTMnPd:"daa520",Way:"808080",gYF:"8000",gYFLw:"adff2f",gYy:"808080",honeyMw:"f0fff0",hotpRk:"ff69b4",RdianYd:"cd5c5c",Rdigo:"4b0082",ivSy:"fffff0",khaki:"f0e68c",lavFMr:"e6e6fa",lavFMrXsh:"fff0f5",lawngYF:"7cfc00",NmoncEffon:"fffacd",ZXe:"add8e6",ZcSO:"f08080",Zcyan:"e0ffff",ZgTMnPdLw:"fafad2",ZWay:"d3d3d3",ZgYF:"90ee90",ZgYy:"d3d3d3",ZpRk:"ffb6c1",ZsOmon:"ffa07a",ZsHgYF:"20b2aa",ZskyXe:"87cefa",ZUWay:"778899",ZUgYy:"778899",ZstAlXe:"b0c4de",ZLw:"ffffe0",lime:"ff00",limegYF:"32cd32",lRF:"faf0e6",magFta:"ff00ff",maPon:"800000",VaquamarRe:"66cdaa",VXe:"cd",VScEd:"ba55d3",VpurpN:"9370db",VsHgYF:"3cb371",VUXe:"7b68ee",VsprRggYF:"fa9a",VQe:"48d1cc",VviTetYd:"c71585",midnightXe:"191970",mRtcYam:"f5fffa",mistyPse:"ffe4e1",moccasR:"ffe4b5",navajowEte:"ffdead",navy:"80",Tdlace:"fdf5e6",Tive:"808000",TivedBb:"6b8e23",Sange:"ffa500",SangeYd:"ff4500",ScEd:"da70d6",pOegTMnPd:"eee8aa",pOegYF:"98fb98",pOeQe:"afeeee",pOeviTetYd:"db7093",papayawEp:"ffefd5",pHKpuff:"ffdab9",peru:"cd853f",pRk:"ffc0cb",plum:"dda0dd",powMrXe:"b0e0e6",purpN:"800080",YbeccapurpN:"663399",Yd:"ff0000",Psybrown:"bc8f8f",PyOXe:"4169e1",saddNbPwn:"8b4513",sOmon:"fa8072",sandybPwn:"f4a460",sHgYF:"2e8b57",sHshell:"fff5ee",siFna:"a0522d",silver:"c0c0c0",skyXe:"87ceeb",UXe:"6a5acd",UWay:"708090",UgYy:"708090",snow:"fffafa",sprRggYF:"ff7f",stAlXe:"4682b4",tan:"d2b48c",teO:"8080",tEstN:"d8bfd8",tomato:"ff6347",Qe:"40e0d0",viTet:"ee82ee",JHt:"f5deb3",wEte:"ffffff",wEtesmoke:"f5f5f5",Lw:"ffff00",LwgYF:"9acd32"};let E;function O(e){E||(E=function(){const e={},t=Object.keys(k),n=Object.keys(S);let r,i,o,a,s;for(r=0;r<t.length;r++){for(a=s=t[r],i=0;i<n.length;i++)o=n[i],s=s.replace(o,S[o]);o=parseInt(k[a],16),e[s]=[o>>16&255,o>>8&255,255&o]}return e}(),E.transparent=[0,0,0,0]);const t=E[e.toLowerCase()];return t&&{r:t[0],g:t[1],b:t[2],a:4===t.length?t[3]:255}}const C=/^rgba?\(\s*([-+.\d]+)(%)?[\s,]+([-+.e\d]+)(%)?[\s,]+([-+.e\d]+)(%)?(?:[\s,/]+([-+.e\d]+)(%)?)?\s*\)$/;const L=e=>e<=.0031308?12.92*e:1.055*Math.pow(e,1/2.4)-.055,A=e=>e<=.04045?e/12.92:Math.pow((e+.055)/1.055,2.4);function I(e,t,n){if(e){let r=b(e);r[t]=Math.max(0,Math.min(r[t]+r[t]*n,0===t?360:1)),r=w(r),e.r=r[0],e.g=r[1],e.b=r[2]}}function P(e,t){return e?Object.assign(t||{},e):e}function M(e){var t={r:0,g:0,b:0,a:255};return Array.isArray(e)?e.length>=3&&(t={r:e[0],g:e[1],b:e[2],a:255},e.length>3&&(t.a=a(e[3]))):(t=P(e,{r:0,g:0,b:0,a:1})).a=a(t.a),t}function R(e){return"r"===e.charAt(0)?function(e){const t=C.exec(e);let n,r,a,s=255;if(t){if(t[7]!==n){const e=+t[7];s=t[8]?o(e):i(255*e,0,255)}return n=+t[1],r=+t[3],a=+t[5],n=255&(t[2]?o(n):i(n,0,255)),r=255&(t[4]?o(r):i(r,0,255)),a=255&(t[6]?o(a):i(a,0,255)),{r:n,g:r,b:a,a:s}}}(e):x(e)}class j{constructor(e){if(e instanceof j)return e;const t=typeof e;let n;var r,i,o;"object"===t?n=M(e):"string"===t&&(o=(r=e).length,"#"===r[0]&&(4===o||5===o?i={r:255&17*c[r[1]],g:255&17*c[r[2]],b:255&17*c[r[3]],a:5===o?17*c[r[4]]:255}:7!==o&&9!==o||(i={r:c[r[1]]<<4|c[r[2]],g:c[r[3]]<<4|c[r[4]],b:c[r[5]]<<4|c[r[6]],a:9===o?c[r[7]]<<4|c[r[8]]:255})),n=i||O(e)||R(e)),this._rgb=n,this._valid=!!n}get valid(){return this._valid}get rgb(){var e=P(this._rgb);return e&&(e.a=s(e.a)),e}set rgb(e){this._rgb=M(e)}rgbString(){return this._valid?(e=this._rgb)&&(e.a<255?`rgba(${e.r}, ${e.g}, ${e.b}, ${s(e.a)})`:`rgb(${e.r}, ${e.g}, ${e.b})`):void 0;var e}hexString(){return this._valid?h(this._rgb):void 0}hslString(){return this._valid?function(e){if(!e)return;const t=b(e),n=t[0],r=u(t[1]),i=u(t[2]);return e.a<255?`hsla(${n}, ${r}%, ${i}%, ${s(e.a)})`:`hsl(${n}, ${r}%, ${i}%)`}(this._rgb):void 0}mix(e,t){if(e){const n=this.rgb,r=e.rgb;let i;const o=t===i?.5:t,a=2*o-1,s=n.a-r.a,u=((a*s==-1?a:(a+s)/(1+a*s))+1)/2;i=1-u,n.r=255&u*n.r+i*r.r+.5,n.g=255&u*n.g+i*r.g+.5,n.b=255&u*n.b+i*r.b+.5,n.a=o*n.a+(1-o)*r.a,this.rgb=n}return this}interpolate(e,t){return e&&(this._rgb=function(e,t,n){const r=A(s(e.r)),i=A(s(e.g)),o=A(s(e.b));return{r:a(L(r+n*(A(s(t.r))-r))),g:a(L(i+n*(A(s(t.g))-i))),b:a(L(o+n*(A(s(t.b))-o))),a:e.a+n*(t.a-e.a)}}(this._rgb,e._rgb,t)),this}clone(){return new j(this.rgb)}alpha(e){return this._rgb.a=a(e),this}clearer(e){return this._rgb.a*=1-e,this}greyscale(){const e=this._rgb,t=r(.3*e.r+.59*e.g+.11*e.b);return e.r=e.g=e.b=t,this}opaquer(e){return this._rgb.a*=1+e,this}negate(){const e=this._rgb;return e.r=255-e.r,e.g=255-e.g,e.b=255-e.b,this}lighten(e){return I(this._rgb,2,e),this}darken(e){return I(this._rgb,2,-e),this}saturate(e){return I(this._rgb,1,e),this}desaturate(e){return I(this._rgb,1,-e),this}rotate(e){return function(e,t){var n=b(e);n[0]=T(n[0]+t),n=w(n),e.r=n[0],e.g=n[1],e.b=n[2]}(this._rgb,e),this}}function D(){}const N=(()=>{let e=0;return()=>e++})();function B(e){return null==e}function U(e){if(Array.isArray&&Array.isArray(e))return!0;const t=Object.prototype.toString.call(e);return"[object"===t.slice(0,7)&&"Array]"===t.slice(-6)}function F(e){return null!==e&&"[object Object]"===Object.prototype.toString.call(e)}function z(e){return("number"==typeof e||e instanceof Number)&&isFinite(+e)}function H(e,t){return z(e)?e:t}function Z(e,t){return void 0===e?t:e}const q=(e,t)=>"string"==typeof e&&e.endsWith("%")?parseFloat(e)/100:+e/t,V=(e,t)=>"string"==typeof e&&e.endsWith("%")?parseFloat(e)/100*t:+e;function W(e,t,n){if(e&&"function"==typeof e.call)return e.apply(n,t)}function G(e,t,n,r){let i,o,a;if(U(e))if(o=e.length,r)for(i=o-1;i>=0;i--)t.call(n,e[i],i);else for(i=0;i<o;i++)t.call(n,e[i],i);else if(F(e))for(a=Object.keys(e),o=a.length,i=0;i<o;i++)t.call(n,e[a[i]],a[i])}function $(e,t){let n,r,i,o;if(!e||!t||e.length!==t.length)return!1;for(n=0,r=e.length;n<r;++n)if(i=e[n],o=t[n],i.datasetIndex!==o.datasetIndex||i.index!==o.index)return!1;return!0}function Y(e){if(U(e))return e.map(Y);if(F(e)){const t=Object.create(null),n=Object.keys(e),r=n.length;let i=0;for(;i<r;++i)t[n[i]]=Y(e[n[i]]);return t}return e}function K(e){return-1===["__proto__","prototype","constructor"].indexOf(e)}function X(e,t,n,r){if(!K(e))return;const i=t[e],o=n[e];F(i)&&F(o)?Q(i,o,r):t[e]=Y(o)}function Q(e,t,n){const r=U(t)?t:[t],i=r.length;if(!F(e))return e;const o=(n=n||{}).merger||X;let a;for(let t=0;t<i;++t){if(a=r[t],!F(a))continue;const i=Object.keys(a);for(let t=0,r=i.length;t<r;++t)o(i[t],e,a,n)}return e}function J(e,t){return Q(e,t,{merger:ee})}function ee(e,t,n){if(!K(e))return;const r=t[e],i=n[e];F(r)&&F(i)?J(r,i):Object.prototype.hasOwnProperty.call(t,e)||(t[e]=Y(i))}const te={"":e=>e,x:e=>e.x,y:e=>e.y};function ne(e,t){const n=te[t]||(te[t]=function(e){const t=function(e){const t=e.split("."),n=[];let r="";for(const e of t)r+=e,r.endsWith("\\")?r=r.slice(0,-1)+".":(n.push(r),r="");return n}(e);return e=>{for(const n of t){if(""===n)break;e=e&&e[n]}return e}}(t));return n(e)}function re(e){return e.charAt(0).toUpperCase()+e.slice(1)}const ie=e=>void 0!==e,oe=e=>"function"==typeof e,ae=(e,t)=>{if(e.size!==t.size)return!1;for(const n of e)if(!t.has(n))return!1;return!0};function se(e){return"mouseup"===e.type||"click"===e.type||"contextmenu"===e.type}const ue=Math.PI,ce=2*ue,le=ce+ue,fe=Number.POSITIVE_INFINITY,de=ue/180,pe=ue/2,he=ue/4,ge=2*ue/3,me=Math.log10,ye=Math.sign;function ve(e,t,n){return Math.abs(e-t)<n}function be(e){const t=Math.round(e);e=ve(e,t,e/1e3)?t:e;const n=Math.pow(10,Math.floor(me(e))),r=e/n;return(r<=1?1:r<=2?2:r<=5?5:10)*n}function _e(e){const t=[],n=Math.sqrt(e);let r;for(r=1;r<n;r++)e%r==0&&(t.push(r),t.push(e/r));return n===(0|n)&&t.push(n),t.sort(((e,t)=>e-t)).pop(),t}function we(e){return!isNaN(parseFloat(e))&&isFinite(e)}function Te(e,t){const n=Math.round(e);return n-t<=e&&n+t>=e}function xe(e,t,n){let r,i,o;for(r=0,i=e.length;r<i;r++)o=e[r][n],isNaN(o)||(t.min=Math.min(t.min,o),t.max=Math.max(t.max,o))}function Se(e){return e*(ue/180)}function ke(e){return e*(180/ue)}function Ee(e){if(!z(e))return;let t=1,n=0;for(;Math.round(e*t)/t!==e;)t*=10,n++;return n}function Oe(e,t){const n=t.x-e.x,r=t.y-e.y,i=Math.sqrt(n*n+r*r);let o=Math.atan2(r,n);return o<-.5*ue&&(o+=ce),{angle:o,distance:i}}function Ce(e,t){return Math.sqrt(Math.pow(t.x-e.x,2)+Math.pow(t.y-e.y,2))}function Le(e,t){return(e-t+le)%ce-ue}function Ae(e){return(e%ce+ce)%ce}function Ie(e,t,n,r){const i=Ae(e),o=Ae(t),a=Ae(n),s=Ae(o-i),u=Ae(a-i),c=Ae(i-o),l=Ae(i-a);return i===o||i===a||r&&o===a||s>u&&c<l}function Pe(e,t,n){return Math.max(t,Math.min(n,e))}function Me(e){return Pe(e,-32768,32767)}function Re(e,t,n,r=1e-6){return e>=Math.min(t,n)-r&&e<=Math.max(t,n)+r}function je(e,t,n){n=n||(n=>e[n]<t);let r,i=e.length-1,o=0;for(;i-o>1;)r=o+i>>1,n(r)?o=r:i=r;return{lo:o,hi:i}}const De=(e,t,n,r)=>je(e,n,r?r=>{const i=e[r][t];return i<n||i===n&&e[r+1][t]===n}:r=>e[r][t]<n),Ne=(e,t,n)=>je(e,n,(r=>e[r][t]>=n));function Be(e,t,n){let r=0,i=e.length;for(;r<i&&e[r]<t;)r++;for(;i>r&&e[i-1]>n;)i--;return r>0||i<e.length?e.slice(r,i):e}const Ue=["push","pop","shift","splice","unshift"];function Fe(e,t){e._chartjs?e._chartjs.listeners.push(t):(Object.defineProperty(e,"_chartjs",{configurable:!0,enumerable:!1,value:{listeners:[t]}}),Ue.forEach((t=>{const n="_onData"+re(t),r=e[t];Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value(...t){const i=r.apply(this,t);return e._chartjs.listeners.forEach((e=>{"function"==typeof e[n]&&e[n](...t)})),i}})})))}function ze(e,t){const n=e._chartjs;if(!n)return;const r=n.listeners,i=r.indexOf(t);-1!==i&&r.splice(i,1),r.length>0||(Ue.forEach((t=>{delete e[t]})),delete e._chartjs)}function He(e){const t=new Set(e);return t.size===e.length?e:Array.from(t)}const Ze="undefined"==typeof window?function(e){return e()}:window.requestAnimationFrame;function qe(e,t){let n=[],r=!1;return function(...i){n=i,r||(r=!0,Ze.call(window,(()=>{r=!1,e.apply(t,n)})))}}function Ve(e,t){let n;return function(...r){return t?(clearTimeout(n),n=setTimeout(e,t,r)):e.apply(this,r),t}}const We=e=>"start"===e?"left":"end"===e?"right":"center",Ge=(e,t,n)=>"start"===e?t:"end"===e?n:(t+n)/2,$e=(e,t,n,r)=>e===(r?"left":"right")?n:"center"===e?(t+n)/2:t;function Ye(e,t,n){const r=t.length;let i=0,o=r;if(e._sorted){const{iScale:a,_parsed:s}=e,u=a.axis,{min:c,max:l,minDefined:f,maxDefined:d}=a.getUserBounds();f&&(i=Pe(Math.min(De(s,u,c).lo,n?r:De(t,u,a.getPixelForValue(c)).lo),0,r-1)),o=d?Pe(Math.max(De(s,a.axis,l,!0).hi+1,n?0:De(t,u,a.getPixelForValue(l),!0).hi+1),i,r)-i:r-i}return{start:i,count:o}}function Ke(e){const{xScale:t,yScale:n,_scaleRanges:r}=e,i={xmin:t.min,xmax:t.max,ymin:n.min,ymax:n.max};if(!r)return e._scaleRanges=i,!0;const o=r.xmin!==t.min||r.xmax!==t.max||r.ymin!==n.min||r.ymax!==n.max;return Object.assign(r,i),o}const Xe=e=>0===e||1===e,Qe=(e,t,n)=>-Math.pow(2,10*(e-=1))*Math.sin((e-t)*ce/n),Je=(e,t,n)=>Math.pow(2,-10*e)*Math.sin((e-t)*ce/n)+1,et={linear:e=>e,easeInQuad:e=>e*e,easeOutQuad:e=>-e*(e-2),easeInOutQuad:e=>(e/=.5)<1?.5*e*e:-.5*(--e*(e-2)-1),easeInCubic:e=>e*e*e,easeOutCubic:e=>(e-=1)*e*e+1,easeInOutCubic:e=>(e/=.5)<1?.5*e*e*e:.5*((e-=2)*e*e+2),easeInQuart:e=>e*e*e*e,easeOutQuart:e=>-((e-=1)*e*e*e-1),easeInOutQuart:e=>(e/=.5)<1?.5*e*e*e*e:-.5*((e-=2)*e*e*e-2),easeInQuint:e=>e*e*e*e*e,easeOutQuint:e=>(e-=1)*e*e*e*e+1,easeInOutQuint:e=>(e/=.5)<1?.5*e*e*e*e*e:.5*((e-=2)*e*e*e*e+2),easeInSine:e=>1-Math.cos(e*pe),easeOutSine:e=>Math.sin(e*pe),easeInOutSine:e=>-.5*(Math.cos(ue*e)-1),easeInExpo:e=>0===e?0:Math.pow(2,10*(e-1)),easeOutExpo:e=>1===e?1:1-Math.pow(2,-10*e),easeInOutExpo:e=>Xe(e)?e:e<.5?.5*Math.pow(2,10*(2*e-1)):.5*(2-Math.pow(2,-10*(2*e-1))),easeInCirc:e=>e>=1?e:-(Math.sqrt(1-e*e)-1),easeOutCirc:e=>Math.sqrt(1-(e-=1)*e),easeInOutCirc:e=>(e/=.5)<1?-.5*(Math.sqrt(1-e*e)-1):.5*(Math.sqrt(1-(e-=2)*e)+1),easeInElastic:e=>Xe(e)?e:Qe(e,.075,.3),easeOutElastic:e=>Xe(e)?e:Je(e,.075,.3),easeInOutElastic(e){const t=.1125;return Xe(e)?e:e<.5?.5*Qe(2*e,t,.45):.5+.5*Je(2*e-1,t,.45)},easeInBack(e){const t=1.70158;return e*e*((t+1)*e-t)},easeOutBack(e){const t=1.70158;return(e-=1)*e*((t+1)*e+t)+1},easeInOutBack(e){let t=1.70158;return(e/=.5)<1?e*e*((1+(t*=1.525))*e-t)*.5:.5*((e-=2)*e*((1+(t*=1.525))*e+t)+2)},easeInBounce:e=>1-et.easeOutBounce(1-e),easeOutBounce(e){const t=7.5625,n=2.75;return e<1/n?t*e*e:e<2/n?t*(e-=1.5/n)*e+.75:e<2.5/n?t*(e-=2.25/n)*e+.9375:t*(e-=2.625/n)*e+.984375},easeInOutBounce:e=>e<.5?.5*et.easeInBounce(2*e):.5*et.easeOutBounce(2*e-1)+.5};function tt(e){if(e&&"object"==typeof e){const t=e.toString();return"[object CanvasPattern]"===t||"[object CanvasGradient]"===t}return!1}function nt(e){return tt(e)?e:new j(e)}function rt(e){return tt(e)?e:new j(e).saturate(.5).darken(.1).hexString()}const it=["x","y","borderWidth","radius","tension"],ot=["color","borderColor","backgroundColor"];const at=new Map;function st(e,t,n){return function(e,t){t=t||{};const n=e+JSON.stringify(t);let r=at.get(n);return r||(r=new Intl.NumberFormat(e,t),at.set(n,r)),r}(t,n).format(e)}const ut={values:e=>U(e)?e:""+e,numeric(e,t,n){if(0===e)return"0";const r=this.chart.options.locale;let i,o=e;if(n.length>1){const t=Math.max(Math.abs(n[0].value),Math.abs(n[n.length-1].value));(t<1e-4||t>1e15)&&(i="scientific"),o=function(e,t){let n=t.length>3?t[2].value-t[1].value:t[1].value-t[0].value;Math.abs(n)>=1&&e!==Math.floor(e)&&(n=e-Math.floor(e));return n}(e,n)}const a=me(Math.abs(o)),s=isNaN(a)?1:Math.max(Math.min(-1*Math.floor(a),20),0),u={notation:i,minimumFractionDigits:s,maximumFractionDigits:s};return Object.assign(u,this.options.ticks.format),st(e,r,u)},logarithmic(e,t,n){if(0===e)return"0";const r=n[t].significand||e/Math.pow(10,Math.floor(me(e)));return[1,2,3,5,10,15].includes(r)||t>.8*n.length?ut.numeric.call(this,e,t,n):""}};var ct={formatters:ut};const lt=Object.create(null),ft=Object.create(null);function dt(e,t){if(!t)return e;const n=t.split(".");for(let t=0,r=n.length;t<r;++t){const r=n[t];e=e[r]||(e[r]=Object.create(null))}return e}function pt(e,t,n){return"string"==typeof t?Q(dt(e,t),n):Q(dt(e,""),t)}class ht{constructor(e,t){this.animation=void 0,this.backgroundColor="rgba(0,0,0,0.1)",this.borderColor="rgba(0,0,0,0.1)",this.color="#666",this.datasets={},this.devicePixelRatio=e=>e.chart.platform.getDevicePixelRatio(),this.elements={},this.events=["mousemove","mouseout","click","touchstart","touchmove"],this.font={family:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",size:12,style:"normal",lineHeight:1.2,weight:null},this.hover={},this.hoverBackgroundColor=(e,t)=>rt(t.backgroundColor),this.hoverBorderColor=(e,t)=>rt(t.borderColor),this.hoverColor=(e,t)=>rt(t.color),this.indexAxis="x",this.interaction={mode:"nearest",intersect:!0,includeInvisible:!1},this.maintainAspectRatio=!0,this.onHover=null,this.onClick=null,this.parsing=!0,this.plugins={},this.responsive=!0,this.scale=void 0,this.scales={},this.showLine=!0,this.drawActiveElementsOnTop=!0,this.describe(e),this.apply(t)}set(e,t){return pt(this,e,t)}get(e){return dt(this,e)}describe(e,t){return pt(ft,e,t)}override(e,t){return pt(lt,e,t)}route(e,t,n,r){const i=dt(this,e),o=dt(this,n),a="_"+t;Object.defineProperties(i,{[a]:{value:i[t],writable:!0},[t]:{enumerable:!0,get(){const e=this[a],t=o[r];return F(e)?Object.assign({},t,e):Z(e,t)},set(e){this[a]=e}}})}apply(e){e.forEach((e=>e(this)))}}var gt=new ht({_scriptable:e=>!e.startsWith("on"),_indexable:e=>"events"!==e,hover:{_fallback:"interaction"},interaction:{_scriptable:!1,_indexable:!1}},[function(e){e.set("animation",{delay:void 0,duration:1e3,easing:"easeOutQuart",fn:void 0,from:void 0,loop:void 0,to:void 0,type:void 0}),e.describe("animation",{_fallback:!1,_indexable:!1,_scriptable:e=>"onProgress"!==e&&"onComplete"!==e&&"fn"!==e}),e.set("animations",{colors:{type:"color",properties:ot},numbers:{type:"number",properties:it}}),e.describe("animations",{_fallback:"animation"}),e.set("transitions",{active:{animation:{duration:400}},resize:{animation:{duration:0}},show:{animations:{colors:{from:"transparent"},visible:{type:"boolean",duration:0}}},hide:{animations:{colors:{to:"transparent"},visible:{type:"boolean",easing:"linear",fn:e=>0|e}}}})},function(e){e.set("layout",{autoPadding:!0,padding:{top:0,right:0,bottom:0,left:0}})},function(e){e.set("scale",{display:!0,offset:!1,reverse:!1,beginAtZero:!1,bounds:"ticks",clip:!0,grace:0,grid:{display:!0,lineWidth:1,drawOnChartArea:!0,drawTicks:!0,tickLength:8,tickWidth:(e,t)=>t.lineWidth,tickColor:(e,t)=>t.color,offset:!1},border:{display:!0,dash:[],dashOffset:0,width:1},title:{display:!1,text:"",padding:{top:4,bottom:4}},ticks:{minRotation:0,maxRotation:50,mirror:!1,textStrokeWidth:0,textStrokeColor:"",padding:3,display:!0,autoSkip:!0,autoSkipPadding:3,labelOffset:0,callback:ct.formatters.values,minor:{},major:{},align:"center",crossAlign:"near",showLabelBackdrop:!1,backdropColor:"rgba(255, 255, 255, 0.75)",backdropPadding:2}}),e.route("scale.ticks","color","","color"),e.route("scale.grid","color","","borderColor"),e.route("scale.border","color","","borderColor"),e.route("scale.title","color","","color"),e.describe("scale",{_fallback:!1,_scriptable:e=>!e.startsWith("before")&&!e.startsWith("after")&&"callback"!==e&&"parser"!==e,_indexable:e=>"borderDash"!==e&&"tickBorderDash"!==e&&"dash"!==e}),e.describe("scales",{_fallback:"scale"}),e.describe("scale.ticks",{_scriptable:e=>"backdropPadding"!==e&&"callback"!==e,_indexable:e=>"backdropPadding"!==e})}]);function mt(e,t,n,r,i){let o=t[i];return o||(o=t[i]=e.measureText(i).width,n.push(i)),o>r&&(r=o),r}function yt(e,t,n,r){let i=(r=r||{}).data=r.data||{},o=r.garbageCollect=r.garbageCollect||[];r.font!==t&&(i=r.data={},o=r.garbageCollect=[],r.font=t),e.save(),e.font=t;let a=0;const s=n.length;let u,c,l,f,d;for(u=0;u<s;u++)if(f=n[u],null==f||U(f)){if(U(f))for(c=0,l=f.length;c<l;c++)d=f[c],null==d||U(d)||(a=mt(e,i,o,a,d))}else a=mt(e,i,o,a,f);e.restore();const p=o.length/2;if(p>n.length){for(u=0;u<p;u++)delete i[o[u]];o.splice(0,p)}return a}function vt(e,t,n){const r=e.currentDevicePixelRatio,i=0!==n?Math.max(n/2,.5):0;return Math.round((t-i)*r)/r+i}function bt(e,t){(t=t||e.getContext("2d")).save(),t.resetTransform(),t.clearRect(0,0,e.width,e.height),t.restore()}function _t(e,t,n,r){wt(e,t,n,r,null)}function wt(e,t,n,r,i){let o,a,s,u,c,l,f,d;const p=t.pointStyle,h=t.rotation,g=t.radius;let m=(h||0)*de;if(p&&"object"==typeof p&&(o=p.toString(),"[object HTMLImageElement]"===o||"[object HTMLCanvasElement]"===o))return e.save(),e.translate(n,r),e.rotate(m),e.drawImage(p,-p.width/2,-p.height/2,p.width,p.height),void e.restore();if(!(isNaN(g)||g<=0)){switch(e.beginPath(),p){default:i?e.ellipse(n,r,i/2,g,0,0,ce):e.arc(n,r,g,0,ce),e.closePath();break;case"triangle":l=i?i/2:g,e.moveTo(n+Math.sin(m)*l,r-Math.cos(m)*g),m+=ge,e.lineTo(n+Math.sin(m)*l,r-Math.cos(m)*g),m+=ge,e.lineTo(n+Math.sin(m)*l,r-Math.cos(m)*g),e.closePath();break;case"rectRounded":c=.516*g,u=g-c,a=Math.cos(m+he)*u,f=Math.cos(m+he)*(i?i/2-c:u),s=Math.sin(m+he)*u,d=Math.sin(m+he)*(i?i/2-c:u),e.arc(n-f,r-s,c,m-ue,m-pe),e.arc(n+d,r-a,c,m-pe,m),e.arc(n+f,r+s,c,m,m+pe),e.arc(n-d,r+a,c,m+pe,m+ue),e.closePath();break;case"rect":if(!h){u=Math.SQRT1_2*g,l=i?i/2:u,e.rect(n-l,r-u,2*l,2*u);break}m+=he;case"rectRot":f=Math.cos(m)*(i?i/2:g),a=Math.cos(m)*g,s=Math.sin(m)*g,d=Math.sin(m)*(i?i/2:g),e.moveTo(n-f,r-s),e.lineTo(n+d,r-a),e.lineTo(n+f,r+s),e.lineTo(n-d,r+a),e.closePath();break;case"crossRot":m+=he;case"cross":f=Math.cos(m)*(i?i/2:g),a=Math.cos(m)*g,s=Math.sin(m)*g,d=Math.sin(m)*(i?i/2:g),e.moveTo(n-f,r-s),e.lineTo(n+f,r+s),e.moveTo(n+d,r-a),e.lineTo(n-d,r+a);break;case"star":f=Math.cos(m)*(i?i/2:g),a=Math.cos(m)*g,s=Math.sin(m)*g,d=Math.sin(m)*(i?i/2:g),e.moveTo(n-f,r-s),e.lineTo(n+f,r+s),e.moveTo(n+d,r-a),e.lineTo(n-d,r+a),m+=he,f=Math.cos(m)*(i?i/2:g),a=Math.cos(m)*g,s=Math.sin(m)*g,d=Math.sin(m)*(i?i/2:g),e.moveTo(n-f,r-s),e.lineTo(n+f,r+s),e.moveTo(n+d,r-a),e.lineTo(n-d,r+a);break;case"line":a=i?i/2:Math.cos(m)*g,s=Math.sin(m)*g,e.moveTo(n-a,r-s),e.lineTo(n+a,r+s);break;case"dash":e.moveTo(n,r),e.lineTo(n+Math.cos(m)*(i?i/2:g),r+Math.sin(m)*g);break;case!1:e.closePath()}e.fill(),t.borderWidth>0&&e.stroke()}}function Tt(e,t,n){return n=n||.5,!t||e&&e.x>t.left-n&&e.x<t.right+n&&e.y>t.top-n&&e.y<t.bottom+n}function xt(e,t){e.save(),e.beginPath(),e.rect(t.left,t.top,t.right-t.left,t.bottom-t.top),e.clip()}function St(e){e.restore()}function kt(e,t,n,r,i){if(!t)return e.lineTo(n.x,n.y);if("middle"===i){const r=(t.x+n.x)/2;e.lineTo(r,t.y),e.lineTo(r,n.y)}else"after"===i!=!!r?e.lineTo(t.x,n.y):e.lineTo(n.x,t.y);e.lineTo(n.x,n.y)}function Et(e,t,n,r){if(!t)return e.lineTo(n.x,n.y);e.bezierCurveTo(r?t.cp1x:t.cp2x,r?t.cp1y:t.cp2y,r?n.cp2x:n.cp1x,r?n.cp2y:n.cp1y,n.x,n.y)}function Ot(e,t,n,r,i){if(i.strikethrough||i.underline){const o=e.measureText(r),a=t-o.actualBoundingBoxLeft,s=t+o.actualBoundingBoxRight,u=n-o.actualBoundingBoxAscent,c=n+o.actualBoundingBoxDescent,l=i.strikethrough?(u+c)/2:c;e.strokeStyle=e.fillStyle,e.beginPath(),e.lineWidth=i.decorationWidth||2,e.moveTo(a,l),e.lineTo(s,l),e.stroke()}}function Ct(e,t){const n=e.fillStyle;e.fillStyle=t.color,e.fillRect(t.left,t.top,t.width,t.height),e.fillStyle=n}function Lt(e,t,n,r,i,o={}){const a=U(t)?t:[t],s=o.strokeWidth>0&&""!==o.strokeColor;let u,c;for(e.save(),e.font=i.string,function(e,t){t.translation&&e.translate(t.translation[0],t.translation[1]),B(t.rotation)||e.rotate(t.rotation),t.color&&(e.fillStyle=t.color),t.textAlign&&(e.textAlign=t.textAlign),t.textBaseline&&(e.textBaseline=t.textBaseline)}(e,o),u=0;u<a.length;++u)c=a[u],o.backdrop&&Ct(e,o.backdrop),s&&(o.strokeColor&&(e.strokeStyle=o.strokeColor),B(o.strokeWidth)||(e.lineWidth=o.strokeWidth),e.strokeText(c,n,r,o.maxWidth)),e.fillText(c,n,r,o.maxWidth),Ot(e,n,r,c,o),r+=Number(i.lineHeight);e.restore()}function At(e,t){const{x:n,y:r,w:i,h:o,radius:a}=t;e.arc(n+a.topLeft,r+a.topLeft,a.topLeft,1.5*ue,ue,!0),e.lineTo(n,r+o-a.bottomLeft),e.arc(n+a.bottomLeft,r+o-a.bottomLeft,a.bottomLeft,ue,pe,!0),e.lineTo(n+i-a.bottomRight,r+o),e.arc(n+i-a.bottomRight,r+o-a.bottomRight,a.bottomRight,pe,0,!0),e.lineTo(n+i,r+a.topRight),e.arc(n+i-a.topRight,r+a.topRight,a.topRight,0,-pe,!0),e.lineTo(n+a.topLeft,r)}const It=/^(normal|(\d+(?:\.\d+)?)(px|em|%)?)$/,Pt=/^(normal|italic|initial|inherit|unset|(oblique( -?[0-9]?[0-9]deg)?))$/;function Mt(e,t){const n=(""+e).match(It);if(!n||"normal"===n[1])return 1.2*t;switch(e=+n[2],n[3]){case"px":return e;case"%":e/=100}return t*e}function Rt(e,t){const n={},r=F(t),i=r?Object.keys(t):t,o=F(e)?r?n=>Z(e[n],e[t[n]]):t=>e[t]:()=>e;for(const e of i)n[e]=+o(e)||0;return n}function jt(e){return Rt(e,{top:"y",right:"x",bottom:"y",left:"x"})}function Dt(e){return Rt(e,["topLeft","topRight","bottomLeft","bottomRight"])}function Nt(e){const t=jt(e);return t.width=t.left+t.right,t.height=t.top+t.bottom,t}function Bt(e,t){e=e||{},t=t||gt.font;let n=Z(e.size,t.size);"string"==typeof n&&(n=parseInt(n,10));let r=Z(e.style,t.style);r&&!(""+r).match(Pt)&&(console.warn('Invalid font style specified: "'+r+'"'),r=void 0);const i={family:Z(e.family,t.family),lineHeight:Mt(Z(e.lineHeight,t.lineHeight),n),size:n,style:r,weight:Z(e.weight,t.weight),string:""};return i.string=function(e){return!e||B(e.size)||B(e.family)?null:(e.style?e.style+" ":"")+(e.weight?e.weight+" ":"")+e.size+"px "+e.family}(i),i}function Ut(e,t,n,r){let i,o,a,s=!0;for(i=0,o=e.length;i<o;++i)if(a=e[i],void 0!==a&&(void 0!==t&&"function"==typeof a&&(a=a(t),s=!1),void 0!==n&&U(a)&&(a=a[n%a.length],s=!1),void 0!==a))return r&&!s&&(r.cacheable=!1),a}function Ft(e,t,n){const{min:r,max:i}=e,o=V(t,(i-r)/2),a=(e,t)=>n&&0===e?0:e+t;return{min:a(r,-Math.abs(o)),max:a(i,o)}}function zt(e,t){return Object.assign(Object.create(e),t)}function Ht(e,t=[""],n,r,i=(()=>e[0])){const o=n||e;void 0===r&&(r=Jt("_fallback",e));const a={[Symbol.toStringTag]:"Object",_cacheable:!0,_scopes:e,_rootScopes:o,_fallback:r,_getTarget:i,override:n=>Ht([n,...e],t,o,r)};return new Proxy(a,{deleteProperty:(t,n)=>(delete t[n],delete t._keys,delete e[0][n],!0),get:(n,r)=>Gt(n,r,(()=>function(e,t,n,r){let i;for(const o of t)if(i=Jt(Vt(o,e),n),void 0!==i)return Wt(e,i)?Xt(n,r,e,i):i}(r,t,e,n))),getOwnPropertyDescriptor:(e,t)=>Reflect.getOwnPropertyDescriptor(e._scopes[0],t),getPrototypeOf:()=>Reflect.getPrototypeOf(e[0]),has:(e,t)=>en(e).includes(t),ownKeys:e=>en(e),set(e,t,n){const r=e._storage||(e._storage=i());return e[t]=r[t]=n,delete e._keys,!0}})}function Zt(e,t,n,r){const i={_cacheable:!1,_proxy:e,_context:t,_subProxy:n,_stack:new Set,_descriptors:qt(e,r),setContext:t=>Zt(e,t,n,r),override:i=>Zt(e.override(i),t,n,r)};return new Proxy(i,{deleteProperty:(t,n)=>(delete t[n],delete e[n],!0),get:(e,t,n)=>Gt(e,t,(()=>function(e,t,n){const{_proxy:r,_context:i,_subProxy:o,_descriptors:a}=e;let s=r[t];oe(s)&&a.isScriptable(t)&&(s=function(e,t,n,r){const{_proxy:i,_context:o,_subProxy:a,_stack:s}=n;if(s.has(e))throw new Error("Recursion detected: "+Array.from(s).join("->")+"->"+e);s.add(e);let u=t(o,a||r);s.delete(e),Wt(e,u)&&(u=Xt(i._scopes,i,e,u));return u}(t,s,e,n));U(s)&&s.length&&(s=function(e,t,n,r){const{_proxy:i,_context:o,_subProxy:a,_descriptors:s}=n;if(void 0!==o.index&&r(e))return t[o.index%t.length];if(F(t[0])){const n=t,r=i._scopes.filter((e=>e!==n));t=[];for(const u of n){const n=Xt(r,i,e,u);t.push(Zt(n,o,a&&a[e],s))}}return t}(t,s,e,a.isIndexable));Wt(t,s)&&(s=Zt(s,i,o&&o[t],a));return s}(e,t,n))),getOwnPropertyDescriptor:(t,n)=>t._descriptors.allKeys?Reflect.has(e,n)?{enumerable:!0,configurable:!0}:void 0:Reflect.getOwnPropertyDescriptor(e,n),getPrototypeOf:()=>Reflect.getPrototypeOf(e),has:(t,n)=>Reflect.has(e,n),ownKeys:()=>Reflect.ownKeys(e),set:(t,n,r)=>(e[n]=r,delete t[n],!0)})}function qt(e,t={scriptable:!0,indexable:!0}){const{_scriptable:n=t.scriptable,_indexable:r=t.indexable,_allKeys:i=t.allKeys}=e;return{allKeys:i,scriptable:n,indexable:r,isScriptable:oe(n)?n:()=>n,isIndexable:oe(r)?r:()=>r}}const Vt=(e,t)=>e?e+re(t):t,Wt=(e,t)=>F(t)&&"adapters"!==e&&(null===Object.getPrototypeOf(t)||t.constructor===Object);function Gt(e,t,n){if(Object.prototype.hasOwnProperty.call(e,t))return e[t];const r=n();return e[t]=r,r}function $t(e,t,n){return oe(e)?e(t,n):e}const Yt=(e,t)=>!0===e?t:"string"==typeof e?ne(t,e):void 0;function Kt(e,t,n,r,i){for(const o of t){const t=Yt(n,o);if(t){e.add(t);const o=$t(t._fallback,n,i);if(void 0!==o&&o!==n&&o!==r)return o}else if(!1===t&&void 0!==r&&n!==r)return null}return!1}function Xt(e,t,n,r){const i=t._rootScopes,o=$t(t._fallback,n,r),a=[...e,...i],s=new Set;s.add(r);let u=Qt(s,a,n,o||n,r);return null!==u&&((void 0===o||o===n||(u=Qt(s,a,o,u,r),null!==u))&&Ht(Array.from(s),[""],i,o,(()=>function(e,t,n){const r=e._getTarget();t in r||(r[t]={});const i=r[t];if(U(i)&&F(n))return n;return i||{}}(t,n,r))))}function Qt(e,t,n,r,i){for(;n;)n=Kt(e,t,n,r,i);return n}function Jt(e,t){for(const n of t){if(!n)continue;const t=n[e];if(void 0!==t)return t}}function en(e){let t=e._keys;return t||(t=e._keys=function(e){const t=new Set;for(const n of e)for(const e of Object.keys(n).filter((e=>!e.startsWith("_"))))t.add(e);return Array.from(t)}(e._scopes)),t}function tn(e,t,n,r){const{iScale:i}=e,{key:o="r"}=this._parsing,a=new Array(r);let s,u,c,l;for(s=0,u=r;s<u;++s)c=s+n,l=t[c],a[s]={r:i.parse(ne(l,o),c)};return a}const nn=Number.EPSILON||1e-14,rn=(e,t)=>t<e.length&&!e[t].skip&&e[t],on=e=>"x"===e?"y":"x";function an(e,t,n,r){const i=e.skip?t:e,o=t,a=n.skip?t:n,s=Ce(o,i),u=Ce(a,o);let c=s/(s+u),l=u/(s+u);c=isNaN(c)?0:c,l=isNaN(l)?0:l;const f=r*c,d=r*l;return{previous:{x:o.x-f*(a.x-i.x),y:o.y-f*(a.y-i.y)},next:{x:o.x+d*(a.x-i.x),y:o.y+d*(a.y-i.y)}}}function sn(e,t="x"){const n=on(t),r=e.length,i=Array(r).fill(0),o=Array(r);let a,s,u,c=rn(e,0);for(a=0;a<r;++a)if(s=u,u=c,c=rn(e,a+1),u){if(c){const e=c[t]-u[t];i[a]=0!==e?(c[n]-u[n])/e:0}o[a]=s?c?ye(i[a-1])!==ye(i[a])?0:(i[a-1]+i[a])/2:i[a-1]:i[a]}!function(e,t,n){const r=e.length;let i,o,a,s,u,c=rn(e,0);for(let l=0;l<r-1;++l)u=c,c=rn(e,l+1),u&&c&&(ve(t[l],0,nn)?n[l]=n[l+1]=0:(i=n[l]/t[l],o=n[l+1]/t[l],s=Math.pow(i,2)+Math.pow(o,2),s<=9||(a=3/Math.sqrt(s),n[l]=i*a*t[l],n[l+1]=o*a*t[l])))}(e,i,o),function(e,t,n="x"){const r=on(n),i=e.length;let o,a,s,u=rn(e,0);for(let c=0;c<i;++c){if(a=s,s=u,u=rn(e,c+1),!s)continue;const i=s[n],l=s[r];a&&(o=(i-a[n])/3,s[`cp1${n}`]=i-o,s[`cp1${r}`]=l-o*t[c]),u&&(o=(u[n]-i)/3,s[`cp2${n}`]=i+o,s[`cp2${r}`]=l+o*t[c])}}(e,o,t)}function un(e,t,n){return Math.max(Math.min(e,n),t)}function cn(e,t,n,r,i){let o,a,s,u;if(t.spanGaps&&(e=e.filter((e=>!e.skip))),"monotone"===t.cubicInterpolationMode)sn(e,i);else{let n=r?e[e.length-1]:e[0];for(o=0,a=e.length;o<a;++o)s=e[o],u=an(n,s,e[Math.min(o+1,a-(r?0:1))%a],t.tension),s.cp1x=u.previous.x,s.cp1y=u.previous.y,s.cp2x=u.next.x,s.cp2y=u.next.y,n=s}t.capBezierPoints&&function(e,t){let n,r,i,o,a,s=Tt(e[0],t);for(n=0,r=e.length;n<r;++n)a=o,o=s,s=n<r-1&&Tt(e[n+1],t),o&&(i=e[n],a&&(i.cp1x=un(i.cp1x,t.left,t.right),i.cp1y=un(i.cp1y,t.top,t.bottom)),s&&(i.cp2x=un(i.cp2x,t.left,t.right),i.cp2y=un(i.cp2y,t.top,t.bottom)))}(e,n)}function ln(){return"undefined"!=typeof window&&"undefined"!=typeof document}function fn(e){let t=e.parentNode;return t&&"[object ShadowRoot]"===t.toString()&&(t=t.host),t}function dn(e,t,n){let r;return"string"==typeof e?(r=parseInt(e,10),-1!==e.indexOf("%")&&(r=r/100*t.parentNode[n])):r=e,r}const pn=e=>e.ownerDocument.defaultView.getComputedStyle(e,null);const hn=["top","right","bottom","left"];function gn(e,t,n){const r={};n=n?"-"+n:"";for(let i=0;i<4;i++){const o=hn[i];r[o]=parseFloat(e[t+"-"+o+n])||0}return r.width=r.left+r.right,r.height=r.top+r.bottom,r}function mn(e,t){if("native"in e)return e;const{canvas:n,currentDevicePixelRatio:r}=t,i=pn(n),o="border-box"===i.boxSizing,a=gn(i,"padding"),s=gn(i,"border","width"),{x:u,y:c,box:l}=function(e,t){const n=e.touches,r=n&&n.length?n[0]:e,{offsetX:i,offsetY:o}=r;let a,s,u=!1;if(((e,t,n)=>(e>0||t>0)&&(!n||!n.shadowRoot))(i,o,e.target))a=i,s=o;else{const e=t.getBoundingClientRect();a=r.clientX-e.left,s=r.clientY-e.top,u=!0}return{x:a,y:s,box:u}}(e,n),f=a.left+(l&&s.left),d=a.top+(l&&s.top);let{width:p,height:h}=t;return o&&(p-=a.width+s.width,h-=a.height+s.height),{x:Math.round((u-f)/p*n.width/r),y:Math.round((c-d)/h*n.height/r)}}const yn=e=>Math.round(10*e)/10;function vn(e,t,n,r){const i=pn(e),o=gn(i,"margin"),a=dn(i.maxWidth,e,"clientWidth")||fe,s=dn(i.maxHeight,e,"clientHeight")||fe,u=function(e,t,n){let r,i;if(void 0===t||void 0===n){const o=fn(e);if(o){const e=o.getBoundingClientRect(),a=pn(o),s=gn(a,"border","width"),u=gn(a,"padding");t=e.width-u.width-s.width,n=e.height-u.height-s.height,r=dn(a.maxWidth,o,"clientWidth"),i=dn(a.maxHeight,o,"clientHeight")}else t=e.clientWidth,n=e.clientHeight}return{width:t,height:n,maxWidth:r||fe,maxHeight:i||fe}}(e,t,n);let{width:c,height:l}=u;if("content-box"===i.boxSizing){const e=gn(i,"border","width"),t=gn(i,"padding");c-=t.width+e.width,l-=t.height+e.height}c=Math.max(0,c-o.width),l=Math.max(0,r?c/r:l-o.height),c=yn(Math.min(c,a,u.maxWidth)),l=yn(Math.min(l,s,u.maxHeight)),c&&!l&&(l=yn(c/2));return(void 0!==t||void 0!==n)&&r&&u.height&&l>u.height&&(l=u.height,c=yn(Math.floor(l*r))),{width:c,height:l}}function bn(e,t,n){const r=t||1,i=Math.floor(e.height*r),o=Math.floor(e.width*r);e.height=Math.floor(e.height),e.width=Math.floor(e.width);const a=e.canvas;return a.style&&(n||!a.style.height&&!a.style.width)&&(a.style.height=`${e.height}px`,a.style.width=`${e.width}px`),(e.currentDevicePixelRatio!==r||a.height!==i||a.width!==o)&&(e.currentDevicePixelRatio=r,a.height=i,a.width=o,e.ctx.setTransform(r,0,0,r,0,0),!0)}const _n=function(){let e=!1;try{const t={get passive(){return e=!0,!1}};ln()&&(window.addEventListener("test",null,t),window.removeEventListener("test",null,t))}catch(e){}return e}();function wn(e,t){const n=function(e,t){return pn(e).getPropertyValue(t)}(e,t),r=n&&n.match(/^(\d+)(\.\d+)?px$/);return r?+r[1]:void 0}function Tn(e,t,n,r){return{x:e.x+n*(t.x-e.x),y:e.y+n*(t.y-e.y)}}function xn(e,t,n,r){return{x:e.x+n*(t.x-e.x),y:"middle"===r?n<.5?e.y:t.y:"after"===r?n<1?e.y:t.y:n>0?t.y:e.y}}function Sn(e,t,n,r){const i={x:e.cp2x,y:e.cp2y},o={x:t.cp1x,y:t.cp1y},a=Tn(e,i,n),s=Tn(i,o,n),u=Tn(o,t,n),c=Tn(a,s,n),l=Tn(s,u,n);return Tn(c,l,n)}function kn(e,t,n){return e?function(e,t){return{x:n=>e+e+t-n,setWidth(e){t=e},textAlign:e=>"center"===e?e:"right"===e?"left":"right",xPlus:(e,t)=>e-t,leftForLtr:(e,t)=>e-t}}(t,n):{x:e=>e,setWidth(e){},textAlign:e=>e,xPlus:(e,t)=>e+t,leftForLtr:(e,t)=>e}}function En(e,t){let n,r;"ltr"!==t&&"rtl"!==t||(n=e.canvas.style,r=[n.getPropertyValue("direction"),n.getPropertyPriority("direction")],n.setProperty("direction",t,"important"),e.prevTextDirection=r)}function On(e,t){void 0!==t&&(delete e.prevTextDirection,e.canvas.style.setProperty("direction",t[0],t[1]))}function Cn(e){return"angle"===e?{between:Ie,compare:Le,normalize:Ae}:{between:Re,compare:(e,t)=>e-t,normalize:e=>e}}function Ln({start:e,end:t,count:n,loop:r,style:i}){return{start:e%n,end:t%n,loop:r&&(t-e+1)%n==0,style:i}}function An(e,t,n){if(!n)return[e];const{property:r,start:i,end:o}=n,a=t.length,{compare:s,between:u,normalize:c}=Cn(r),{start:l,end:f,loop:d,style:p}=function(e,t,n){const{property:r,start:i,end:o}=n,{between:a,normalize:s}=Cn(r),u=t.length;let c,l,{start:f,end:d,loop:p}=e;if(p){for(f+=u,d+=u,c=0,l=u;c<l&&a(s(t[f%u][r]),i,o);++c)f--,d--;f%=u,d%=u}return d<f&&(d+=u),{start:f,end:d,loop:p,style:e.style}}(e,t,n),h=[];let g,m,y,v=!1,b=null;const _=()=>v||u(i,y,g)&&0!==s(i,y),w=()=>!v||0===s(o,g)||u(o,y,g);for(let e=l,n=l;e<=f;++e)m=t[e%a],m.skip||(g=c(m[r]),g!==y&&(v=u(g,i,o),null===b&&_()&&(b=0===s(g,i)?e:n),null!==b&&w()&&(h.push(Ln({start:b,end:e,loop:d,count:a,style:p})),b=null),n=e,y=g));return null!==b&&h.push(Ln({start:b,end:f,loop:d,count:a,style:p})),h}function In(e,t){const n=[],r=e.segments;for(let i=0;i<r.length;i++){const o=An(r[i],e.points,t);o.length&&n.push(...o)}return n}function Pn(e,t){const n=e.points,r=e.options.spanGaps,i=n.length;if(!i)return[];const o=!!e._loop,{start:a,end:s}=function(e,t,n,r){let i=0,o=t-1;if(n&&!r)for(;i<t&&!e[i].skip;)i++;for(;i<t&&e[i].skip;)i++;for(i%=t,n&&(o+=i);o>i&&e[o%t].skip;)o--;return o%=t,{start:i,end:o}}(n,i,o,r);if(!0===r)return Mn(e,[{start:a,end:s,loop:o}],n,t);return Mn(e,function(e,t,n,r){const i=e.length,o=[];let a,s=t,u=e[t];for(a=t+1;a<=n;++a){const n=e[a%i];n.skip||n.stop?u.skip||(r=!1,o.push({start:t%i,end:(a-1)%i,loop:r}),t=s=n.stop?a:null):(s=a,u.skip&&(t=a)),u=n}return null!==s&&o.push({start:t%i,end:s%i,loop:r}),o}(n,a,s<a?s+i:s,!!e._fullLoop&&0===a&&s===i-1),n,t)}function Mn(e,t,n,r){return r&&r.setContext&&n?function(e,t,n,r){const i=e._chart.getContext(),o=Rn(e.options),{_datasetIndex:a,options:{spanGaps:s}}=e,u=n.length,c=[];let l=o,f=t[0].start,d=f;function p(e,t,r,i){const o=s?-1:1;if(e!==t){for(e+=u;n[e%u].skip;)e-=o;for(;n[t%u].skip;)t+=o;e%u!=t%u&&(c.push({start:e%u,end:t%u,loop:r,style:i}),l=i,f=t%u)}}for(const e of t){f=s?f:e.start;let t,o=n[f%u];for(d=f+1;d<=e.end;d++){const s=n[d%u];t=Rn(r.setContext(zt(i,{type:"segment",p0:o,p1:s,p0DataIndex:(d-1)%u,p1DataIndex:d%u,datasetIndex:a}))),jn(t,l)&&p(f,d-1,e.loop,l),o=s,l=t}f<d-1&&p(f,d-1,e.loop,l)}return c}(e,t,n,r):t}function Rn(e){return{backgroundColor:e.backgroundColor,borderCapStyle:e.borderCapStyle,borderDash:e.borderDash,borderDashOffset:e.borderDashOffset,borderJoinStyle:e.borderJoinStyle,borderWidth:e.borderWidth,borderColor:e.borderColor}}function jn(e,t){if(!t)return!1;const n=[],r=function(e,t){return tt(t)?(n.includes(t)||n.push(t),n.indexOf(t)):t};return JSON.stringify(e,r)!==JSON.stringify(t,r)}},26495:function(e,t,n){"use strict";n.d(t,{kL:function(){return f}});var r=n(28416),i=n(23148);const o="label";function a(e,t){"function"==typeof e?e(t):e&&(e.current=t)}function s(e,t){e.labels=t}function u(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:o;const r=[];e.datasets=t.map((t=>{const i=e.datasets.find((e=>e[n]===t[n]));return i&&t.data&&!r.includes(i)?(r.push(i),Object.assign(i,t),i):{...t}}))}function c(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:o;const n={labels:[],datasets:[]};return s(n,e.labels),u(n,e.datasets,t),n}function l(e,t){const{height:n=150,width:o=300,redraw:l=!1,datasetIdKey:f,type:d,data:p,options:h,plugins:g=[],fallbackContent:m,updateMode:y,...v}=e,b=(0,r.useRef)(null),_=(0,r.useRef)(),w=()=>{b.current&&(_.current=new i.kL(b.current,{type:d,data:c(p,f),options:h&&{...h},plugins:g}),a(t,_.current))},T=()=>{a(t,null),_.current&&(_.current.destroy(),_.current=null)};return(0,r.useEffect)((()=>{!l&&_.current&&h&&function(e,t){const n=e.options;n&&t&&Object.assign(n,t)}(_.current,h)}),[l,h]),(0,r.useEffect)((()=>{!l&&_.current&&s(_.current.config.data,p.labels)}),[l,p.labels]),(0,r.useEffect)((()=>{!l&&_.current&&p.datasets&&u(_.current.config.data,p.datasets,f)}),[l,p.datasets]),(0,r.useEffect)((()=>{_.current&&(l?(T(),setTimeout(w)):_.current.update(y))}),[l,h,p.labels,p.datasets,y]),(0,r.useEffect)((()=>{_.current&&(T(),setTimeout(w))}),[d]),(0,r.useEffect)((()=>(w(),()=>T())),[]),r.createElement("canvas",Object.assign({ref:b,role:"img",height:n,width:o},v),m)}const f=(0,r.forwardRef)(l)},38776:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r="Invariant failed";function i(e,t){if(!e)throw new Error(r)}},2228:function(e){"use strict";e.exports=JSON.parse('{"supplemental":{"version":{"_unicodeVersion":"13.0.0","_cldrVersion":"38"},"likelySubtags":{"aa":"aa-Latn-ET","aai":"aai-Latn-ZZ","aak":"aak-Latn-ZZ","aau":"aau-Latn-ZZ","ab":"ab-Cyrl-GE","abi":"abi-Latn-ZZ","abq":"abq-Cyrl-ZZ","abr":"abr-Latn-GH","abt":"abt-Latn-ZZ","aby":"aby-Latn-ZZ","acd":"acd-Latn-ZZ","ace":"ace-Latn-ID","ach":"ach-Latn-UG","ada":"ada-Latn-GH","ade":"ade-Latn-ZZ","adj":"adj-Latn-ZZ","adp":"adp-Tibt-BT","ady":"ady-Cyrl-RU","adz":"adz-Latn-ZZ","ae":"ae-Avst-IR","aeb":"aeb-Arab-TN","aey":"aey-Latn-ZZ","af":"af-Latn-ZA","agc":"agc-Latn-ZZ","agd":"agd-Latn-ZZ","agg":"agg-Latn-ZZ","agm":"agm-Latn-ZZ","ago":"ago-Latn-ZZ","agq":"agq-Latn-CM","aha":"aha-Latn-ZZ","ahl":"ahl-Latn-ZZ","aho":"aho-Ahom-IN","ajg":"ajg-Latn-ZZ","ak":"ak-Latn-GH","akk":"akk-Xsux-IQ","ala":"ala-Latn-ZZ","ali":"ali-Latn-ZZ","aln":"aln-Latn-XK","alt":"alt-Cyrl-RU","am":"am-Ethi-ET","amm":"amm-Latn-ZZ","amn":"amn-Latn-ZZ","amo":"amo-Latn-NG","amp":"amp-Latn-ZZ","an":"an-Latn-ES","anc":"anc-Latn-ZZ","ank":"ank-Latn-ZZ","ann":"ann-Latn-ZZ","any":"any-Latn-ZZ","aoj":"aoj-Latn-ZZ","aom":"aom-Latn-ZZ","aoz":"aoz-Latn-ID","apc":"apc-Arab-ZZ","apd":"apd-Arab-TG","ape":"ape-Latn-ZZ","apr":"apr-Latn-ZZ","aps":"aps-Latn-ZZ","apz":"apz-Latn-ZZ","ar":"ar-Arab-EG","arc":"arc-Armi-IR","arc-Nbat":"arc-Nbat-JO","arc-Palm":"arc-Palm-SY","arh":"arh-Latn-ZZ","arn":"arn-Latn-CL","aro":"aro-Latn-BO","arq":"arq-Arab-DZ","ars":"ars-Arab-SA","ary":"ary-Arab-MA","arz":"arz-Arab-EG","as":"as-Beng-IN","asa":"asa-Latn-TZ","ase":"ase-Sgnw-US","asg":"asg-Latn-ZZ","aso":"aso-Latn-ZZ","ast":"ast-Latn-ES","ata":"ata-Latn-ZZ","atg":"atg-Latn-ZZ","atj":"atj-Latn-CA","auy":"auy-Latn-ZZ","av":"av-Cyrl-RU","avl":"avl-Arab-ZZ","avn":"avn-Latn-ZZ","avt":"avt-Latn-ZZ","avu":"avu-Latn-ZZ","awa":"awa-Deva-IN","awb":"awb-Latn-ZZ","awo":"awo-Latn-ZZ","awx":"awx-Latn-ZZ","ay":"ay-Latn-BO","ayb":"ayb-Latn-ZZ","az":"az-Latn-AZ","az-Arab":"az-Arab-IR","az-IQ":"az-Arab-IQ","az-IR":"az-Arab-IR","az-RU":"az-Cyrl-RU","ba":"ba-Cyrl-RU","bal":"bal-Arab-PK","ban":"ban-Latn-ID","bap":"bap-Deva-NP","bar":"bar-Latn-AT","bas":"bas-Latn-CM","bav":"bav-Latn-ZZ","bax":"bax-Bamu-CM","bba":"bba-Latn-ZZ","bbb":"bbb-Latn-ZZ","bbc":"bbc-Latn-ID","bbd":"bbd-Latn-ZZ","bbj":"bbj-Latn-CM","bbp":"bbp-Latn-ZZ","bbr":"bbr-Latn-ZZ","bcf":"bcf-Latn-ZZ","bch":"bch-Latn-ZZ","bci":"bci-Latn-CI","bcm":"bcm-Latn-ZZ","bcn":"bcn-Latn-ZZ","bco":"bco-Latn-ZZ","bcq":"bcq-Ethi-ZZ","bcu":"bcu-Latn-ZZ","bdd":"bdd-Latn-ZZ","be":"be-Cyrl-BY","bef":"bef-Latn-ZZ","beh":"beh-Latn-ZZ","bej":"bej-Arab-SD","bem":"bem-Latn-ZM","bet":"bet-Latn-ZZ","bew":"bew-Latn-ID","bex":"bex-Latn-ZZ","bez":"bez-Latn-TZ","bfd":"bfd-Latn-CM","bfq":"bfq-Taml-IN","bft":"bft-Arab-PK","bfy":"bfy-Deva-IN","bg":"bg-Cyrl-BG","bgc":"bgc-Deva-IN","bgn":"bgn-Arab-PK","bgx":"bgx-Grek-TR","bhb":"bhb-Deva-IN","bhg":"bhg-Latn-ZZ","bhi":"bhi-Deva-IN","bhl":"bhl-Latn-ZZ","bho":"bho-Deva-IN","bhy":"bhy-Latn-ZZ","bi":"bi-Latn-VU","bib":"bib-Latn-ZZ","big":"big-Latn-ZZ","bik":"bik-Latn-PH","bim":"bim-Latn-ZZ","bin":"bin-Latn-NG","bio":"bio-Latn-ZZ","biq":"biq-Latn-ZZ","bjh":"bjh-Latn-ZZ","bji":"bji-Ethi-ZZ","bjj":"bjj-Deva-IN","bjn":"bjn-Latn-ID","bjo":"bjo-Latn-ZZ","bjr":"bjr-Latn-ZZ","bjt":"bjt-Latn-SN","bjz":"bjz-Latn-ZZ","bkc":"bkc-Latn-ZZ","bkm":"bkm-Latn-CM","bkq":"bkq-Latn-ZZ","bku":"bku-Latn-PH","bkv":"bkv-Latn-ZZ","blt":"blt-Tavt-VN","bm":"bm-Latn-ML","bmh":"bmh-Latn-ZZ","bmk":"bmk-Latn-ZZ","bmq":"bmq-Latn-ML","bmu":"bmu-Latn-ZZ","bn":"bn-Beng-BD","bng":"bng-Latn-ZZ","bnm":"bnm-Latn-ZZ","bnp":"bnp-Latn-ZZ","bo":"bo-Tibt-CN","boj":"boj-Latn-ZZ","bom":"bom-Latn-ZZ","bon":"bon-Latn-ZZ","bpy":"bpy-Beng-IN","bqc":"bqc-Latn-ZZ","bqi":"bqi-Arab-IR","bqp":"bqp-Latn-ZZ","bqv":"bqv-Latn-CI","br":"br-Latn-FR","bra":"bra-Deva-IN","brh":"brh-Arab-PK","brx":"brx-Deva-IN","brz":"brz-Latn-ZZ","bs":"bs-Latn-BA","bsj":"bsj-Latn-ZZ","bsq":"bsq-Bass-LR","bss":"bss-Latn-CM","bst":"bst-Ethi-ZZ","bto":"bto-Latn-PH","btt":"btt-Latn-ZZ","btv":"btv-Deva-PK","bua":"bua-Cyrl-RU","buc":"buc-Latn-YT","bud":"bud-Latn-ZZ","bug":"bug-Latn-ID","buk":"buk-Latn-ZZ","bum":"bum-Latn-CM","buo":"buo-Latn-ZZ","bus":"bus-Latn-ZZ","buu":"buu-Latn-ZZ","bvb":"bvb-Latn-GQ","bwd":"bwd-Latn-ZZ","bwr":"bwr-Latn-ZZ","bxh":"bxh-Latn-ZZ","bye":"bye-Latn-ZZ","byn":"byn-Ethi-ER","byr":"byr-Latn-ZZ","bys":"bys-Latn-ZZ","byv":"byv-Latn-CM","byx":"byx-Latn-ZZ","bza":"bza-Latn-ZZ","bze":"bze-Latn-ML","bzf":"bzf-Latn-ZZ","bzh":"bzh-Latn-ZZ","bzw":"bzw-Latn-ZZ","ca":"ca-Latn-ES","cad":"cad-Latn-US","can":"can-Latn-ZZ","cbj":"cbj-Latn-ZZ","cch":"cch-Latn-NG","ccp":"ccp-Cakm-BD","ce":"ce-Cyrl-RU","ceb":"ceb-Latn-PH","cfa":"cfa-Latn-ZZ","cgg":"cgg-Latn-UG","ch":"ch-Latn-GU","chk":"chk-Latn-FM","chm":"chm-Cyrl-RU","cho":"cho-Latn-US","chp":"chp-Latn-CA","chr":"chr-Cher-US","cic":"cic-Latn-US","cja":"cja-Arab-KH","cjm":"cjm-Cham-VN","cjv":"cjv-Latn-ZZ","ckb":"ckb-Arab-IQ","ckl":"ckl-Latn-ZZ","cko":"cko-Latn-ZZ","cky":"cky-Latn-ZZ","cla":"cla-Latn-ZZ","cme":"cme-Latn-ZZ","cmg":"cmg-Soyo-MN","co":"co-Latn-FR","cop":"cop-Copt-EG","cps":"cps-Latn-PH","cr":"cr-Cans-CA","crh":"crh-Cyrl-UA","crj":"crj-Cans-CA","crk":"crk-Cans-CA","crl":"crl-Cans-CA","crm":"crm-Cans-CA","crs":"crs-Latn-SC","cs":"cs-Latn-CZ","csb":"csb-Latn-PL","csw":"csw-Cans-CA","ctd":"ctd-Pauc-MM","cu":"cu-Cyrl-RU","cu-Glag":"cu-Glag-BG","cv":"cv-Cyrl-RU","cy":"cy-Latn-GB","da":"da-Latn-DK","dad":"dad-Latn-ZZ","daf":"daf-Latn-CI","dag":"dag-Latn-ZZ","dah":"dah-Latn-ZZ","dak":"dak-Latn-US","dar":"dar-Cyrl-RU","dav":"dav-Latn-KE","dbd":"dbd-Latn-ZZ","dbq":"dbq-Latn-ZZ","dcc":"dcc-Arab-IN","ddn":"ddn-Latn-ZZ","de":"de-Latn-DE","ded":"ded-Latn-ZZ","den":"den-Latn-CA","dga":"dga-Latn-ZZ","dgh":"dgh-Latn-ZZ","dgi":"dgi-Latn-ZZ","dgl":"dgl-Arab-ZZ","dgr":"dgr-Latn-CA","dgz":"dgz-Latn-ZZ","dia":"dia-Latn-ZZ","dje":"dje-Latn-NE","dnj":"dnj-Latn-CI","dob":"dob-Latn-ZZ","doi":"doi-Deva-IN","dop":"dop-Latn-ZZ","dow":"dow-Latn-ZZ","drh":"drh-Mong-CN","dri":"dri-Latn-ZZ","drs":"drs-Ethi-ZZ","dsb":"dsb-Latn-DE","dtm":"dtm-Latn-ML","dtp":"dtp-Latn-MY","dts":"dts-Latn-ZZ","dty":"dty-Deva-NP","dua":"dua-Latn-CM","duc":"duc-Latn-ZZ","dud":"dud-Latn-ZZ","dug":"dug-Latn-ZZ","dv":"dv-Thaa-MV","dva":"dva-Latn-ZZ","dww":"dww-Latn-ZZ","dyo":"dyo-Latn-SN","dyu":"dyu-Latn-BF","dz":"dz-Tibt-BT","dzg":"dzg-Latn-ZZ","ebu":"ebu-Latn-KE","ee":"ee-Latn-GH","efi":"efi-Latn-NG","egl":"egl-Latn-IT","egy":"egy-Egyp-EG","eka":"eka-Latn-ZZ","eky":"eky-Kali-MM","el":"el-Grek-GR","ema":"ema-Latn-ZZ","emi":"emi-Latn-ZZ","en":"en-Latn-US","en-Shaw":"en-Shaw-GB","enn":"enn-Latn-ZZ","enq":"enq-Latn-ZZ","eo":"eo-Latn-001","eri":"eri-Latn-ZZ","es":"es-Latn-ES","esg":"esg-Gonm-IN","esu":"esu-Latn-US","et":"et-Latn-EE","etr":"etr-Latn-ZZ","ett":"ett-Ital-IT","etu":"etu-Latn-ZZ","etx":"etx-Latn-ZZ","eu":"eu-Latn-ES","ewo":"ewo-Latn-CM","ext":"ext-Latn-ES","eza":"eza-Latn-ZZ","fa":"fa-Arab-IR","faa":"faa-Latn-ZZ","fab":"fab-Latn-ZZ","fag":"fag-Latn-ZZ","fai":"fai-Latn-ZZ","fan":"fan-Latn-GQ","ff":"ff-Latn-SN","ff-Adlm":"ff-Adlm-GN","ffi":"ffi-Latn-ZZ","ffm":"ffm-Latn-ML","fi":"fi-Latn-FI","fia":"fia-Arab-SD","fil":"fil-Latn-PH","fit":"fit-Latn-SE","fj":"fj-Latn-FJ","flr":"flr-Latn-ZZ","fmp":"fmp-Latn-ZZ","fo":"fo-Latn-FO","fod":"fod-Latn-ZZ","fon":"fon-Latn-BJ","for":"for-Latn-ZZ","fpe":"fpe-Latn-ZZ","fqs":"fqs-Latn-ZZ","fr":"fr-Latn-FR","frc":"frc-Latn-US","frp":"frp-Latn-FR","frr":"frr-Latn-DE","frs":"frs-Latn-DE","fub":"fub-Arab-CM","fud":"fud-Latn-WF","fue":"fue-Latn-ZZ","fuf":"fuf-Latn-GN","fuh":"fuh-Latn-ZZ","fuq":"fuq-Latn-NE","fur":"fur-Latn-IT","fuv":"fuv-Latn-NG","fuy":"fuy-Latn-ZZ","fvr":"fvr-Latn-SD","fy":"fy-Latn-NL","ga":"ga-Latn-IE","gaa":"gaa-Latn-GH","gaf":"gaf-Latn-ZZ","gag":"gag-Latn-MD","gah":"gah-Latn-ZZ","gaj":"gaj-Latn-ZZ","gam":"gam-Latn-ZZ","gan":"gan-Hans-CN","gaw":"gaw-Latn-ZZ","gay":"gay-Latn-ID","gba":"gba-Latn-ZZ","gbf":"gbf-Latn-ZZ","gbm":"gbm-Deva-IN","gby":"gby-Latn-ZZ","gbz":"gbz-Arab-IR","gcr":"gcr-Latn-GF","gd":"gd-Latn-GB","gde":"gde-Latn-ZZ","gdn":"gdn-Latn-ZZ","gdr":"gdr-Latn-ZZ","geb":"geb-Latn-ZZ","gej":"gej-Latn-ZZ","gel":"gel-Latn-ZZ","gez":"gez-Ethi-ET","gfk":"gfk-Latn-ZZ","ggn":"ggn-Deva-NP","ghs":"ghs-Latn-ZZ","gil":"gil-Latn-KI","gim":"gim-Latn-ZZ","gjk":"gjk-Arab-PK","gjn":"gjn-Latn-ZZ","gju":"gju-Arab-PK","gkn":"gkn-Latn-ZZ","gkp":"gkp-Latn-ZZ","gl":"gl-Latn-ES","glk":"glk-Arab-IR","gmm":"gmm-Latn-ZZ","gmv":"gmv-Ethi-ZZ","gn":"gn-Latn-PY","gnd":"gnd-Latn-ZZ","gng":"gng-Latn-ZZ","god":"god-Latn-ZZ","gof":"gof-Ethi-ZZ","goi":"goi-Latn-ZZ","gom":"gom-Deva-IN","gon":"gon-Telu-IN","gor":"gor-Latn-ID","gos":"gos-Latn-NL","got":"got-Goth-UA","grb":"grb-Latn-ZZ","grc":"grc-Cprt-CY","grc-Linb":"grc-Linb-GR","grt":"grt-Beng-IN","grw":"grw-Latn-ZZ","gsw":"gsw-Latn-CH","gu":"gu-Gujr-IN","gub":"gub-Latn-BR","guc":"guc-Latn-CO","gud":"gud-Latn-ZZ","gur":"gur-Latn-GH","guw":"guw-Latn-ZZ","gux":"gux-Latn-ZZ","guz":"guz-Latn-KE","gv":"gv-Latn-IM","gvf":"gvf-Latn-ZZ","gvr":"gvr-Deva-NP","gvs":"gvs-Latn-ZZ","gwc":"gwc-Arab-ZZ","gwi":"gwi-Latn-CA","gwt":"gwt-Arab-ZZ","gyi":"gyi-Latn-ZZ","ha":"ha-Latn-NG","ha-CM":"ha-Arab-CM","ha-SD":"ha-Arab-SD","hag":"hag-Latn-ZZ","hak":"hak-Hans-CN","ham":"ham-Latn-ZZ","haw":"haw-Latn-US","haz":"haz-Arab-AF","hbb":"hbb-Latn-ZZ","hdy":"hdy-Ethi-ZZ","he":"he-Hebr-IL","hhy":"hhy-Latn-ZZ","hi":"hi-Deva-IN","hia":"hia-Latn-ZZ","hif":"hif-Latn-FJ","hig":"hig-Latn-ZZ","hih":"hih-Latn-ZZ","hil":"hil-Latn-PH","hla":"hla-Latn-ZZ","hlu":"hlu-Hluw-TR","hmd":"hmd-Plrd-CN","hmt":"hmt-Latn-ZZ","hnd":"hnd-Arab-PK","hne":"hne-Deva-IN","hnj":"hnj-Hmng-LA","hnn":"hnn-Latn-PH","hno":"hno-Arab-PK","ho":"ho-Latn-PG","hoc":"hoc-Deva-IN","hoj":"hoj-Deva-IN","hot":"hot-Latn-ZZ","hr":"hr-Latn-HR","hsb":"hsb-Latn-DE","hsn":"hsn-Hans-CN","ht":"ht-Latn-HT","hu":"hu-Latn-HU","hui":"hui-Latn-ZZ","hy":"hy-Armn-AM","hz":"hz-Latn-NA","ia":"ia-Latn-001","ian":"ian-Latn-ZZ","iar":"iar-Latn-ZZ","iba":"iba-Latn-MY","ibb":"ibb-Latn-NG","iby":"iby-Latn-ZZ","ica":"ica-Latn-ZZ","ich":"ich-Latn-ZZ","id":"id-Latn-ID","idd":"idd-Latn-ZZ","idi":"idi-Latn-ZZ","idu":"idu-Latn-ZZ","ife":"ife-Latn-TG","ig":"ig-Latn-NG","igb":"igb-Latn-ZZ","ige":"ige-Latn-ZZ","ii":"ii-Yiii-CN","ijj":"ijj-Latn-ZZ","ik":"ik-Latn-US","ikk":"ikk-Latn-ZZ","ikt":"ikt-Latn-CA","ikw":"ikw-Latn-ZZ","ikx":"ikx-Latn-ZZ","ilo":"ilo-Latn-PH","imo":"imo-Latn-ZZ","in":"in-Latn-ID","inh":"inh-Cyrl-RU","io":"io-Latn-001","iou":"iou-Latn-ZZ","iri":"iri-Latn-ZZ","is":"is-Latn-IS","it":"it-Latn-IT","iu":"iu-Cans-CA","iw":"iw-Hebr-IL","iwm":"iwm-Latn-ZZ","iws":"iws-Latn-ZZ","izh":"izh-Latn-RU","izi":"izi-Latn-ZZ","ja":"ja-Jpan-JP","jab":"jab-Latn-ZZ","jam":"jam-Latn-JM","jar":"jar-Latn-ZZ","jbo":"jbo-Latn-001","jbu":"jbu-Latn-ZZ","jen":"jen-Latn-ZZ","jgk":"jgk-Latn-ZZ","jgo":"jgo-Latn-CM","ji":"ji-Hebr-UA","jib":"jib-Latn-ZZ","jmc":"jmc-Latn-TZ","jml":"jml-Deva-NP","jra":"jra-Latn-ZZ","jut":"jut-Latn-DK","jv":"jv-Latn-ID","jw":"jw-Latn-ID","ka":"ka-Geor-GE","kaa":"kaa-Cyrl-UZ","kab":"kab-Latn-DZ","kac":"kac-Latn-MM","kad":"kad-Latn-ZZ","kai":"kai-Latn-ZZ","kaj":"kaj-Latn-NG","kam":"kam-Latn-KE","kao":"kao-Latn-ML","kbd":"kbd-Cyrl-RU","kbm":"kbm-Latn-ZZ","kbp":"kbp-Latn-ZZ","kbq":"kbq-Latn-ZZ","kbx":"kbx-Latn-ZZ","kby":"kby-Arab-NE","kcg":"kcg-Latn-NG","kck":"kck-Latn-ZW","kcl":"kcl-Latn-ZZ","kct":"kct-Latn-ZZ","kde":"kde-Latn-TZ","kdh":"kdh-Arab-TG","kdl":"kdl-Latn-ZZ","kdt":"kdt-Thai-TH","kea":"kea-Latn-CV","ken":"ken-Latn-CM","kez":"kez-Latn-ZZ","kfo":"kfo-Latn-CI","kfr":"kfr-Deva-IN","kfy":"kfy-Deva-IN","kg":"kg-Latn-CD","kge":"kge-Latn-ID","kgf":"kgf-Latn-ZZ","kgp":"kgp-Latn-BR","kha":"kha-Latn-IN","khb":"khb-Talu-CN","khn":"khn-Deva-IN","khq":"khq-Latn-ML","khs":"khs-Latn-ZZ","kht":"kht-Mymr-IN","khw":"khw-Arab-PK","khz":"khz-Latn-ZZ","ki":"ki-Latn-KE","kij":"kij-Latn-ZZ","kiu":"kiu-Latn-TR","kiw":"kiw-Latn-ZZ","kj":"kj-Latn-NA","kjd":"kjd-Latn-ZZ","kjg":"kjg-Laoo-LA","kjs":"kjs-Latn-ZZ","kjy":"kjy-Latn-ZZ","kk":"kk-Cyrl-KZ","kk-AF":"kk-Arab-AF","kk-Arab":"kk-Arab-CN","kk-CN":"kk-Arab-CN","kk-IR":"kk-Arab-IR","kk-MN":"kk-Arab-MN","kkc":"kkc-Latn-ZZ","kkj":"kkj-Latn-CM","kl":"kl-Latn-GL","kln":"kln-Latn-KE","klq":"klq-Latn-ZZ","klt":"klt-Latn-ZZ","klx":"klx-Latn-ZZ","km":"km-Khmr-KH","kmb":"kmb-Latn-AO","kmh":"kmh-Latn-ZZ","kmo":"kmo-Latn-ZZ","kms":"kms-Latn-ZZ","kmu":"kmu-Latn-ZZ","kmw":"kmw-Latn-ZZ","kn":"kn-Knda-IN","knf":"knf-Latn-GW","knp":"knp-Latn-ZZ","ko":"ko-Kore-KR","koi":"koi-Cyrl-RU","kok":"kok-Deva-IN","kol":"kol-Latn-ZZ","kos":"kos-Latn-FM","koz":"koz-Latn-ZZ","kpe":"kpe-Latn-LR","kpf":"kpf-Latn-ZZ","kpo":"kpo-Latn-ZZ","kpr":"kpr-Latn-ZZ","kpx":"kpx-Latn-ZZ","kqb":"kqb-Latn-ZZ","kqf":"kqf-Latn-ZZ","kqs":"kqs-Latn-ZZ","kqy":"kqy-Ethi-ZZ","kr":"kr-Latn-ZZ","krc":"krc-Cyrl-RU","kri":"kri-Latn-SL","krj":"krj-Latn-PH","krl":"krl-Latn-RU","krs":"krs-Latn-ZZ","kru":"kru-Deva-IN","ks":"ks-Arab-IN","ksb":"ksb-Latn-TZ","ksd":"ksd-Latn-ZZ","ksf":"ksf-Latn-CM","ksh":"ksh-Latn-DE","ksj":"ksj-Latn-ZZ","ksr":"ksr-Latn-ZZ","ktb":"ktb-Ethi-ZZ","ktm":"ktm-Latn-ZZ","kto":"kto-Latn-ZZ","ktr":"ktr-Latn-MY","ku":"ku-Latn-TR","ku-Arab":"ku-Arab-IQ","ku-LB":"ku-Arab-LB","ku-Yezi":"ku-Yezi-GE","kub":"kub-Latn-ZZ","kud":"kud-Latn-ZZ","kue":"kue-Latn-ZZ","kuj":"kuj-Latn-ZZ","kum":"kum-Cyrl-RU","kun":"kun-Latn-ZZ","kup":"kup-Latn-ZZ","kus":"kus-Latn-ZZ","kv":"kv-Cyrl-RU","kvg":"kvg-Latn-ZZ","kvr":"kvr-Latn-ID","kvx":"kvx-Arab-PK","kw":"kw-Latn-GB","kwj":"kwj-Latn-ZZ","kwo":"kwo-Latn-ZZ","kwq":"kwq-Latn-ZZ","kxa":"kxa-Latn-ZZ","kxc":"kxc-Ethi-ZZ","kxe":"kxe-Latn-ZZ","kxl":"kxl-Deva-IN","kxm":"kxm-Thai-TH","kxp":"kxp-Arab-PK","kxw":"kxw-Latn-ZZ","kxz":"kxz-Latn-ZZ","ky":"ky-Cyrl-KG","ky-Arab":"ky-Arab-CN","ky-CN":"ky-Arab-CN","ky-Latn":"ky-Latn-TR","ky-TR":"ky-Latn-TR","kye":"kye-Latn-ZZ","kyx":"kyx-Latn-ZZ","kzh":"kzh-Arab-ZZ","kzj":"kzj-Latn-MY","kzr":"kzr-Latn-ZZ","kzt":"kzt-Latn-MY","la":"la-Latn-VA","lab":"lab-Lina-GR","lad":"lad-Hebr-IL","lag":"lag-Latn-TZ","lah":"lah-Arab-PK","laj":"laj-Latn-UG","las":"las-Latn-ZZ","lb":"lb-Latn-LU","lbe":"lbe-Cyrl-RU","lbu":"lbu-Latn-ZZ","lbw":"lbw-Latn-ID","lcm":"lcm-Latn-ZZ","lcp":"lcp-Thai-CN","ldb":"ldb-Latn-ZZ","led":"led-Latn-ZZ","lee":"lee-Latn-ZZ","lem":"lem-Latn-ZZ","lep":"lep-Lepc-IN","leq":"leq-Latn-ZZ","leu":"leu-Latn-ZZ","lez":"lez-Cyrl-RU","lg":"lg-Latn-UG","lgg":"lgg-Latn-ZZ","li":"li-Latn-NL","lia":"lia-Latn-ZZ","lid":"lid-Latn-ZZ","lif":"lif-Deva-NP","lif-Limb":"lif-Limb-IN","lig":"lig-Latn-ZZ","lih":"lih-Latn-ZZ","lij":"lij-Latn-IT","lis":"lis-Lisu-CN","ljp":"ljp-Latn-ID","lki":"lki-Arab-IR","lkt":"lkt-Latn-US","lle":"lle-Latn-ZZ","lln":"lln-Latn-ZZ","lmn":"lmn-Telu-IN","lmo":"lmo-Latn-IT","lmp":"lmp-Latn-ZZ","ln":"ln-Latn-CD","lns":"lns-Latn-ZZ","lnu":"lnu-Latn-ZZ","lo":"lo-Laoo-LA","loj":"loj-Latn-ZZ","lok":"lok-Latn-ZZ","lol":"lol-Latn-CD","lor":"lor-Latn-ZZ","los":"los-Latn-ZZ","loz":"loz-Latn-ZM","lrc":"lrc-Arab-IR","lt":"lt-Latn-LT","ltg":"ltg-Latn-LV","lu":"lu-Latn-CD","lua":"lua-Latn-CD","luo":"luo-Latn-KE","luy":"luy-Latn-KE","luz":"luz-Arab-IR","lv":"lv-Latn-LV","lwl":"lwl-Thai-TH","lzh":"lzh-Hans-CN","lzz":"lzz-Latn-TR","mad":"mad-Latn-ID","maf":"maf-Latn-CM","mag":"mag-Deva-IN","mai":"mai-Deva-IN","mak":"mak-Latn-ID","man":"man-Latn-GM","man-GN":"man-Nkoo-GN","man-Nkoo":"man-Nkoo-GN","mas":"mas-Latn-KE","maw":"maw-Latn-ZZ","maz":"maz-Latn-MX","mbh":"mbh-Latn-ZZ","mbo":"mbo-Latn-ZZ","mbq":"mbq-Latn-ZZ","mbu":"mbu-Latn-ZZ","mbw":"mbw-Latn-ZZ","mci":"mci-Latn-ZZ","mcp":"mcp-Latn-ZZ","mcq":"mcq-Latn-ZZ","mcr":"mcr-Latn-ZZ","mcu":"mcu-Latn-ZZ","mda":"mda-Latn-ZZ","mde":"mde-Arab-ZZ","mdf":"mdf-Cyrl-RU","mdh":"mdh-Latn-PH","mdj":"mdj-Latn-ZZ","mdr":"mdr-Latn-ID","mdx":"mdx-Ethi-ZZ","med":"med-Latn-ZZ","mee":"mee-Latn-ZZ","mek":"mek-Latn-ZZ","men":"men-Latn-SL","mer":"mer-Latn-KE","met":"met-Latn-ZZ","meu":"meu-Latn-ZZ","mfa":"mfa-Arab-TH","mfe":"mfe-Latn-MU","mfn":"mfn-Latn-ZZ","mfo":"mfo-Latn-ZZ","mfq":"mfq-Latn-ZZ","mg":"mg-Latn-MG","mgh":"mgh-Latn-MZ","mgl":"mgl-Latn-ZZ","mgo":"mgo-Latn-CM","mgp":"mgp-Deva-NP","mgy":"mgy-Latn-TZ","mh":"mh-Latn-MH","mhi":"mhi-Latn-ZZ","mhl":"mhl-Latn-ZZ","mi":"mi-Latn-NZ","mif":"mif-Latn-ZZ","min":"min-Latn-ID","mis":"mis-Hatr-IQ","mis-Medf":"mis-Medf-NG","miw":"miw-Latn-ZZ","mk":"mk-Cyrl-MK","mki":"mki-Arab-ZZ","mkl":"mkl-Latn-ZZ","mkp":"mkp-Latn-ZZ","mkw":"mkw-Latn-ZZ","ml":"ml-Mlym-IN","mle":"mle-Latn-ZZ","mlp":"mlp-Latn-ZZ","mls":"mls-Latn-SD","mmo":"mmo-Latn-ZZ","mmu":"mmu-Latn-ZZ","mmx":"mmx-Latn-ZZ","mn":"mn-Cyrl-MN","mn-CN":"mn-Mong-CN","mn-Mong":"mn-Mong-CN","mna":"mna-Latn-ZZ","mnf":"mnf-Latn-ZZ","mni":"mni-Beng-IN","mnw":"mnw-Mymr-MM","mo":"mo-Latn-RO","moa":"moa-Latn-ZZ","moe":"moe-Latn-CA","moh":"moh-Latn-CA","mos":"mos-Latn-BF","mox":"mox-Latn-ZZ","mpp":"mpp-Latn-ZZ","mps":"mps-Latn-ZZ","mpt":"mpt-Latn-ZZ","mpx":"mpx-Latn-ZZ","mql":"mql-Latn-ZZ","mr":"mr-Deva-IN","mrd":"mrd-Deva-NP","mrj":"mrj-Cyrl-RU","mro":"mro-Mroo-BD","ms":"ms-Latn-MY","ms-CC":"ms-Arab-CC","mt":"mt-Latn-MT","mtc":"mtc-Latn-ZZ","mtf":"mtf-Latn-ZZ","mti":"mti-Latn-ZZ","mtr":"mtr-Deva-IN","mua":"mua-Latn-CM","mur":"mur-Latn-ZZ","mus":"mus-Latn-US","mva":"mva-Latn-ZZ","mvn":"mvn-Latn-ZZ","mvy":"mvy-Arab-PK","mwk":"mwk-Latn-ML","mwr":"mwr-Deva-IN","mwv":"mwv-Latn-ID","mww":"mww-Hmnp-US","mxc":"mxc-Latn-ZW","mxm":"mxm-Latn-ZZ","my":"my-Mymr-MM","myk":"myk-Latn-ZZ","mym":"mym-Ethi-ZZ","myv":"myv-Cyrl-RU","myw":"myw-Latn-ZZ","myx":"myx-Latn-UG","myz":"myz-Mand-IR","mzk":"mzk-Latn-ZZ","mzm":"mzm-Latn-ZZ","mzn":"mzn-Arab-IR","mzp":"mzp-Latn-ZZ","mzw":"mzw-Latn-ZZ","mzz":"mzz-Latn-ZZ","na":"na-Latn-NR","nac":"nac-Latn-ZZ","naf":"naf-Latn-ZZ","nak":"nak-Latn-ZZ","nan":"nan-Hans-CN","nap":"nap-Latn-IT","naq":"naq-Latn-NA","nas":"nas-Latn-ZZ","nb":"nb-Latn-NO","nca":"nca-Latn-ZZ","nce":"nce-Latn-ZZ","ncf":"ncf-Latn-ZZ","nch":"nch-Latn-MX","nco":"nco-Latn-ZZ","ncu":"ncu-Latn-ZZ","nd":"nd-Latn-ZW","ndc":"ndc-Latn-MZ","nds":"nds-Latn-DE","ne":"ne-Deva-NP","neb":"neb-Latn-ZZ","new":"new-Deva-NP","nex":"nex-Latn-ZZ","nfr":"nfr-Latn-ZZ","ng":"ng-Latn-NA","nga":"nga-Latn-ZZ","ngb":"ngb-Latn-ZZ","ngl":"ngl-Latn-MZ","nhb":"nhb-Latn-ZZ","nhe":"nhe-Latn-MX","nhw":"nhw-Latn-MX","nif":"nif-Latn-ZZ","nii":"nii-Latn-ZZ","nij":"nij-Latn-ID","nin":"nin-Latn-ZZ","niu":"niu-Latn-NU","niy":"niy-Latn-ZZ","niz":"niz-Latn-ZZ","njo":"njo-Latn-IN","nkg":"nkg-Latn-ZZ","nko":"nko-Latn-ZZ","nl":"nl-Latn-NL","nmg":"nmg-Latn-CM","nmz":"nmz-Latn-ZZ","nn":"nn-Latn-NO","nnf":"nnf-Latn-ZZ","nnh":"nnh-Latn-CM","nnk":"nnk-Latn-ZZ","nnm":"nnm-Latn-ZZ","nnp":"nnp-Wcho-IN","no":"no-Latn-NO","nod":"nod-Lana-TH","noe":"noe-Deva-IN","non":"non-Runr-SE","nop":"nop-Latn-ZZ","nou":"nou-Latn-ZZ","nqo":"nqo-Nkoo-GN","nr":"nr-Latn-ZA","nrb":"nrb-Latn-ZZ","nsk":"nsk-Cans-CA","nsn":"nsn-Latn-ZZ","nso":"nso-Latn-ZA","nss":"nss-Latn-ZZ","ntm":"ntm-Latn-ZZ","ntr":"ntr-Latn-ZZ","nui":"nui-Latn-ZZ","nup":"nup-Latn-ZZ","nus":"nus-Latn-SS","nuv":"nuv-Latn-ZZ","nux":"nux-Latn-ZZ","nv":"nv-Latn-US","nwb":"nwb-Latn-ZZ","nxq":"nxq-Latn-CN","nxr":"nxr-Latn-ZZ","ny":"ny-Latn-MW","nym":"nym-Latn-TZ","nyn":"nyn-Latn-UG","nzi":"nzi-Latn-GH","oc":"oc-Latn-FR","ogc":"ogc-Latn-ZZ","okr":"okr-Latn-ZZ","okv":"okv-Latn-ZZ","om":"om-Latn-ET","ong":"ong-Latn-ZZ","onn":"onn-Latn-ZZ","ons":"ons-Latn-ZZ","opm":"opm-Latn-ZZ","or":"or-Orya-IN","oro":"oro-Latn-ZZ","oru":"oru-Arab-ZZ","os":"os-Cyrl-GE","osa":"osa-Osge-US","ota":"ota-Arab-ZZ","otk":"otk-Orkh-MN","ozm":"ozm-Latn-ZZ","pa":"pa-Guru-IN","pa-Arab":"pa-Arab-PK","pa-PK":"pa-Arab-PK","pag":"pag-Latn-PH","pal":"pal-Phli-IR","pal-Phlp":"pal-Phlp-CN","pam":"pam-Latn-PH","pap":"pap-Latn-AW","pau":"pau-Latn-PW","pbi":"pbi-Latn-ZZ","pcd":"pcd-Latn-FR","pcm":"pcm-Latn-NG","pdc":"pdc-Latn-US","pdt":"pdt-Latn-CA","ped":"ped-Latn-ZZ","peo":"peo-Xpeo-IR","pex":"pex-Latn-ZZ","pfl":"pfl-Latn-DE","phl":"phl-Arab-ZZ","phn":"phn-Phnx-LB","pil":"pil-Latn-ZZ","pip":"pip-Latn-ZZ","pka":"pka-Brah-IN","pko":"pko-Latn-KE","pl":"pl-Latn-PL","pla":"pla-Latn-ZZ","pms":"pms-Latn-IT","png":"png-Latn-ZZ","pnn":"pnn-Latn-ZZ","pnt":"pnt-Grek-GR","pon":"pon-Latn-FM","ppa":"ppa-Deva-IN","ppo":"ppo-Latn-ZZ","pra":"pra-Khar-PK","prd":"prd-Arab-IR","prg":"prg-Latn-001","ps":"ps-Arab-AF","pss":"pss-Latn-ZZ","pt":"pt-Latn-BR","ptp":"ptp-Latn-ZZ","puu":"puu-Latn-GA","pwa":"pwa-Latn-ZZ","qu":"qu-Latn-PE","quc":"quc-Latn-GT","qug":"qug-Latn-EC","rai":"rai-Latn-ZZ","raj":"raj-Deva-IN","rao":"rao-Latn-ZZ","rcf":"rcf-Latn-RE","rej":"rej-Latn-ID","rel":"rel-Latn-ZZ","res":"res-Latn-ZZ","rgn":"rgn-Latn-IT","rhg":"rhg-Arab-MM","ria":"ria-Latn-IN","rif":"rif-Tfng-MA","rif-NL":"rif-Latn-NL","rjs":"rjs-Deva-NP","rkt":"rkt-Beng-BD","rm":"rm-Latn-CH","rmf":"rmf-Latn-FI","rmo":"rmo-Latn-CH","rmt":"rmt-Arab-IR","rmu":"rmu-Latn-SE","rn":"rn-Latn-BI","rna":"rna-Latn-ZZ","rng":"rng-Latn-MZ","ro":"ro-Latn-RO","rob":"rob-Latn-ID","rof":"rof-Latn-TZ","roo":"roo-Latn-ZZ","rro":"rro-Latn-ZZ","rtm":"rtm-Latn-FJ","ru":"ru-Cyrl-RU","rue":"rue-Cyrl-UA","rug":"rug-Latn-SB","rw":"rw-Latn-RW","rwk":"rwk-Latn-TZ","rwo":"rwo-Latn-ZZ","ryu":"ryu-Kana-JP","sa":"sa-Deva-IN","saf":"saf-Latn-GH","sah":"sah-Cyrl-RU","saq":"saq-Latn-KE","sas":"sas-Latn-ID","sat":"sat-Olck-IN","sav":"sav-Latn-SN","saz":"saz-Saur-IN","sba":"sba-Latn-ZZ","sbe":"sbe-Latn-ZZ","sbp":"sbp-Latn-TZ","sc":"sc-Latn-IT","sck":"sck-Deva-IN","scl":"scl-Arab-ZZ","scn":"scn-Latn-IT","sco":"sco-Latn-GB","scs":"scs-Latn-CA","sd":"sd-Arab-PK","sd-Deva":"sd-Deva-IN","sd-Khoj":"sd-Khoj-IN","sd-Sind":"sd-Sind-IN","sdc":"sdc-Latn-IT","sdh":"sdh-Arab-IR","se":"se-Latn-NO","sef":"sef-Latn-CI","seh":"seh-Latn-MZ","sei":"sei-Latn-MX","ses":"ses-Latn-ML","sg":"sg-Latn-CF","sga":"sga-Ogam-IE","sgs":"sgs-Latn-LT","sgw":"sgw-Ethi-ZZ","sgz":"sgz-Latn-ZZ","shi":"shi-Tfng-MA","shk":"shk-Latn-ZZ","shn":"shn-Mymr-MM","shu":"shu-Arab-ZZ","si":"si-Sinh-LK","sid":"sid-Latn-ET","sig":"sig-Latn-ZZ","sil":"sil-Latn-ZZ","sim":"sim-Latn-ZZ","sjr":"sjr-Latn-ZZ","sk":"sk-Latn-SK","skc":"skc-Latn-ZZ","skr":"skr-Arab-PK","sks":"sks-Latn-ZZ","sl":"sl-Latn-SI","sld":"sld-Latn-ZZ","sli":"sli-Latn-PL","sll":"sll-Latn-ZZ","sly":"sly-Latn-ID","sm":"sm-Latn-WS","sma":"sma-Latn-SE","smj":"smj-Latn-SE","smn":"smn-Latn-FI","smp":"smp-Samr-IL","smq":"smq-Latn-ZZ","sms":"sms-Latn-FI","sn":"sn-Latn-ZW","snc":"snc-Latn-ZZ","snk":"snk-Latn-ML","snp":"snp-Latn-ZZ","snx":"snx-Latn-ZZ","sny":"sny-Latn-ZZ","so":"so-Latn-SO","sog":"sog-Sogd-UZ","sok":"sok-Latn-ZZ","soq":"soq-Latn-ZZ","sou":"sou-Thai-TH","soy":"soy-Latn-ZZ","spd":"spd-Latn-ZZ","spl":"spl-Latn-ZZ","sps":"sps-Latn-ZZ","sq":"sq-Latn-AL","sr":"sr-Cyrl-RS","sr-ME":"sr-Latn-ME","sr-RO":"sr-Latn-RO","sr-RU":"sr-Latn-RU","sr-TR":"sr-Latn-TR","srb":"srb-Sora-IN","srn":"srn-Latn-SR","srr":"srr-Latn-SN","srx":"srx-Deva-IN","ss":"ss-Latn-ZA","ssd":"ssd-Latn-ZZ","ssg":"ssg-Latn-ZZ","ssy":"ssy-Latn-ER","st":"st-Latn-ZA","stk":"stk-Latn-ZZ","stq":"stq-Latn-DE","su":"su-Latn-ID","sua":"sua-Latn-ZZ","sue":"sue-Latn-ZZ","suk":"suk-Latn-TZ","sur":"sur-Latn-ZZ","sus":"sus-Latn-GN","sv":"sv-Latn-SE","sw":"sw-Latn-TZ","swb":"swb-Arab-YT","swc":"swc-Latn-CD","swg":"swg-Latn-DE","swp":"swp-Latn-ZZ","swv":"swv-Deva-IN","sxn":"sxn-Latn-ID","sxw":"sxw-Latn-ZZ","syl":"syl-Beng-BD","syr":"syr-Syrc-IQ","szl":"szl-Latn-PL","ta":"ta-Taml-IN","taj":"taj-Deva-NP","tal":"tal-Latn-ZZ","tan":"tan-Latn-ZZ","taq":"taq-Latn-ZZ","tbc":"tbc-Latn-ZZ","tbd":"tbd-Latn-ZZ","tbf":"tbf-Latn-ZZ","tbg":"tbg-Latn-ZZ","tbo":"tbo-Latn-ZZ","tbw":"tbw-Latn-PH","tbz":"tbz-Latn-ZZ","tci":"tci-Latn-ZZ","tcy":"tcy-Knda-IN","tdd":"tdd-Tale-CN","tdg":"tdg-Deva-NP","tdh":"tdh-Deva-NP","tdu":"tdu-Latn-MY","te":"te-Telu-IN","ted":"ted-Latn-ZZ","tem":"tem-Latn-SL","teo":"teo-Latn-UG","tet":"tet-Latn-TL","tfi":"tfi-Latn-ZZ","tg":"tg-Cyrl-TJ","tg-Arab":"tg-Arab-PK","tg-PK":"tg-Arab-PK","tgc":"tgc-Latn-ZZ","tgo":"tgo-Latn-ZZ","tgu":"tgu-Latn-ZZ","th":"th-Thai-TH","thl":"thl-Deva-NP","thq":"thq-Deva-NP","thr":"thr-Deva-NP","ti":"ti-Ethi-ET","tif":"tif-Latn-ZZ","tig":"tig-Ethi-ER","tik":"tik-Latn-ZZ","tim":"tim-Latn-ZZ","tio":"tio-Latn-ZZ","tiv":"tiv-Latn-NG","tk":"tk-Latn-TM","tkl":"tkl-Latn-TK","tkr":"tkr-Latn-AZ","tkt":"tkt-Deva-NP","tl":"tl-Latn-PH","tlf":"tlf-Latn-ZZ","tlx":"tlx-Latn-ZZ","tly":"tly-Latn-AZ","tmh":"tmh-Latn-NE","tmy":"tmy-Latn-ZZ","tn":"tn-Latn-ZA","tnh":"tnh-Latn-ZZ","to":"to-Latn-TO","tof":"tof-Latn-ZZ","tog":"tog-Latn-MW","toq":"toq-Latn-ZZ","tpi":"tpi-Latn-PG","tpm":"tpm-Latn-ZZ","tpz":"tpz-Latn-ZZ","tqo":"tqo-Latn-ZZ","tr":"tr-Latn-TR","tru":"tru-Latn-TR","trv":"trv-Latn-TW","trw":"trw-Arab-PK","ts":"ts-Latn-ZA","tsd":"tsd-Grek-GR","tsf":"tsf-Deva-NP","tsg":"tsg-Latn-PH","tsj":"tsj-Tibt-BT","tsw":"tsw-Latn-ZZ","tt":"tt-Cyrl-RU","ttd":"ttd-Latn-ZZ","tte":"tte-Latn-ZZ","ttj":"ttj-Latn-UG","ttr":"ttr-Latn-ZZ","tts":"tts-Thai-TH","ttt":"ttt-Latn-AZ","tuh":"tuh-Latn-ZZ","tul":"tul-Latn-ZZ","tum":"tum-Latn-MW","tuq":"tuq-Latn-ZZ","tvd":"tvd-Latn-ZZ","tvl":"tvl-Latn-TV","tvu":"tvu-Latn-ZZ","twh":"twh-Latn-ZZ","twq":"twq-Latn-NE","txg":"txg-Tang-CN","ty":"ty-Latn-PF","tya":"tya-Latn-ZZ","tyv":"tyv-Cyrl-RU","tzm":"tzm-Latn-MA","ubu":"ubu-Latn-ZZ","udm":"udm-Cyrl-RU","ug":"ug-Arab-CN","ug-Cyrl":"ug-Cyrl-KZ","ug-KZ":"ug-Cyrl-KZ","ug-MN":"ug-Cyrl-MN","uga":"uga-Ugar-SY","uk":"uk-Cyrl-UA","uli":"uli-Latn-FM","umb":"umb-Latn-AO","und":"en-Latn-US","und-002":"en-Latn-NG","und-003":"en-Latn-US","und-005":"pt-Latn-BR","und-009":"en-Latn-AU","und-011":"en-Latn-NG","und-013":"es-Latn-MX","und-014":"sw-Latn-TZ","und-015":"ar-Arab-EG","und-017":"sw-Latn-CD","und-018":"en-Latn-ZA","und-019":"en-Latn-US","und-021":"en-Latn-US","und-029":"es-Latn-CU","und-030":"zh-Hans-CN","und-034":"hi-Deva-IN","und-035":"id-Latn-ID","und-039":"it-Latn-IT","und-053":"en-Latn-AU","und-054":"en-Latn-PG","und-057":"en-Latn-GU","und-061":"sm-Latn-WS","und-142":"zh-Hans-CN","und-143":"uz-Latn-UZ","und-145":"ar-Arab-SA","und-150":"ru-Cyrl-RU","und-151":"ru-Cyrl-RU","und-154":"en-Latn-GB","und-155":"de-Latn-DE","und-202":"en-Latn-NG","und-419":"es-Latn-419","und-AD":"ca-Latn-AD","und-Adlm":"ff-Adlm-GN","und-AE":"ar-Arab-AE","und-AF":"fa-Arab-AF","und-Aghb":"lez-Aghb-RU","und-Ahom":"aho-Ahom-IN","und-AL":"sq-Latn-AL","und-AM":"hy-Armn-AM","und-AO":"pt-Latn-AO","und-AQ":"und-Latn-AQ","und-AR":"es-Latn-AR","und-Arab":"ar-Arab-EG","und-Arab-CC":"ms-Arab-CC","und-Arab-CN":"ug-Arab-CN","und-Arab-GB":"ks-Arab-GB","und-Arab-ID":"ms-Arab-ID","und-Arab-IN":"ur-Arab-IN","und-Arab-KH":"cja-Arab-KH","und-Arab-MM":"rhg-Arab-MM","und-Arab-MN":"kk-Arab-MN","und-Arab-MU":"ur-Arab-MU","und-Arab-NG":"ha-Arab-NG","und-Arab-PK":"ur-Arab-PK","und-Arab-TG":"apd-Arab-TG","und-Arab-TH":"mfa-Arab-TH","und-Arab-TJ":"fa-Arab-TJ","und-Arab-TR":"az-Arab-TR","und-Arab-YT":"swb-Arab-YT","und-Armi":"arc-Armi-IR","und-Armn":"hy-Armn-AM","und-AS":"sm-Latn-AS","und-AT":"de-Latn-AT","und-Avst":"ae-Avst-IR","und-AW":"nl-Latn-AW","und-AX":"sv-Latn-AX","und-AZ":"az-Latn-AZ","und-BA":"bs-Latn-BA","und-Bali":"ban-Bali-ID","und-Bamu":"bax-Bamu-CM","und-Bass":"bsq-Bass-LR","und-Batk":"bbc-Batk-ID","und-BD":"bn-Beng-BD","und-BE":"nl-Latn-BE","und-Beng":"bn-Beng-BD","und-BF":"fr-Latn-BF","und-BG":"bg-Cyrl-BG","und-BH":"ar-Arab-BH","und-Bhks":"sa-Bhks-IN","und-BI":"rn-Latn-BI","und-BJ":"fr-Latn-BJ","und-BL":"fr-Latn-BL","und-BN":"ms-Latn-BN","und-BO":"es-Latn-BO","und-Bopo":"zh-Bopo-TW","und-BQ":"pap-Latn-BQ","und-BR":"pt-Latn-BR","und-Brah":"pka-Brah-IN","und-Brai":"fr-Brai-FR","und-BT":"dz-Tibt-BT","und-Bugi":"bug-Bugi-ID","und-Buhd":"bku-Buhd-PH","und-BV":"und-Latn-BV","und-BY":"be-Cyrl-BY","und-Cakm":"ccp-Cakm-BD","und-Cans":"cr-Cans-CA","und-Cari":"xcr-Cari-TR","und-CD":"sw-Latn-CD","und-CF":"fr-Latn-CF","und-CG":"fr-Latn-CG","und-CH":"de-Latn-CH","und-Cham":"cjm-Cham-VN","und-Cher":"chr-Cher-US","und-Chrs":"xco-Chrs-UZ","und-CI":"fr-Latn-CI","und-CL":"es-Latn-CL","und-CM":"fr-Latn-CM","und-CN":"zh-Hans-CN","und-CO":"es-Latn-CO","und-Copt":"cop-Copt-EG","und-CP":"und-Latn-CP","und-Cprt":"grc-Cprt-CY","und-CR":"es-Latn-CR","und-CU":"es-Latn-CU","und-CV":"pt-Latn-CV","und-CW":"pap-Latn-CW","und-CY":"el-Grek-CY","und-Cyrl":"ru-Cyrl-RU","und-Cyrl-AL":"mk-Cyrl-AL","und-Cyrl-BA":"sr-Cyrl-BA","und-Cyrl-GE":"os-Cyrl-GE","und-Cyrl-GR":"mk-Cyrl-GR","und-Cyrl-MD":"uk-Cyrl-MD","und-Cyrl-RO":"bg-Cyrl-RO","und-Cyrl-SK":"uk-Cyrl-SK","und-Cyrl-TR":"kbd-Cyrl-TR","und-Cyrl-XK":"sr-Cyrl-XK","und-CZ":"cs-Latn-CZ","und-DE":"de-Latn-DE","und-Deva":"hi-Deva-IN","und-Deva-BT":"ne-Deva-BT","und-Deva-FJ":"hif-Deva-FJ","und-Deva-MU":"bho-Deva-MU","und-Deva-PK":"btv-Deva-PK","und-Diak":"dv-Diak-MV","und-DJ":"aa-Latn-DJ","und-DK":"da-Latn-DK","und-DO":"es-Latn-DO","und-Dogr":"doi-Dogr-IN","und-Dupl":"fr-Dupl-FR","und-DZ":"ar-Arab-DZ","und-EA":"es-Latn-EA","und-EC":"es-Latn-EC","und-EE":"et-Latn-EE","und-EG":"ar-Arab-EG","und-Egyp":"egy-Egyp-EG","und-EH":"ar-Arab-EH","und-Elba":"sq-Elba-AL","und-Elym":"arc-Elym-IR","und-ER":"ti-Ethi-ER","und-ES":"es-Latn-ES","und-ET":"am-Ethi-ET","und-Ethi":"am-Ethi-ET","und-EU":"en-Latn-IE","und-EZ":"de-Latn-EZ","und-FI":"fi-Latn-FI","und-FO":"fo-Latn-FO","und-FR":"fr-Latn-FR","und-GA":"fr-Latn-GA","und-GE":"ka-Geor-GE","und-Geor":"ka-Geor-GE","und-GF":"fr-Latn-GF","und-GH":"ak-Latn-GH","und-GL":"kl-Latn-GL","und-Glag":"cu-Glag-BG","und-GN":"fr-Latn-GN","und-Gong":"wsg-Gong-IN","und-Gonm":"esg-Gonm-IN","und-Goth":"got-Goth-UA","und-GP":"fr-Latn-GP","und-GQ":"es-Latn-GQ","und-GR":"el-Grek-GR","und-Gran":"sa-Gran-IN","und-Grek":"el-Grek-GR","und-Grek-TR":"bgx-Grek-TR","und-GS":"und-Latn-GS","und-GT":"es-Latn-GT","und-Gujr":"gu-Gujr-IN","und-Guru":"pa-Guru-IN","und-GW":"pt-Latn-GW","und-Hanb":"zh-Hanb-TW","und-Hang":"ko-Hang-KR","und-Hani":"zh-Hani-CN","und-Hano":"hnn-Hano-PH","und-Hans":"zh-Hans-CN","und-Hant":"zh-Hant-TW","und-Hatr":"mis-Hatr-IQ","und-Hebr":"he-Hebr-IL","und-Hebr-CA":"yi-Hebr-CA","und-Hebr-GB":"yi-Hebr-GB","und-Hebr-SE":"yi-Hebr-SE","und-Hebr-UA":"yi-Hebr-UA","und-Hebr-US":"yi-Hebr-US","und-Hira":"ja-Hira-JP","und-HK":"zh-Hant-HK","und-Hluw":"hlu-Hluw-TR","und-HM":"und-Latn-HM","und-Hmng":"hnj-Hmng-LA","und-Hmnp":"mww-Hmnp-US","und-HN":"es-Latn-HN","und-HR":"hr-Latn-HR","und-HT":"ht-Latn-HT","und-HU":"hu-Latn-HU","und-Hung":"hu-Hung-HU","und-IC":"es-Latn-IC","und-ID":"id-Latn-ID","und-IL":"he-Hebr-IL","und-IN":"hi-Deva-IN","und-IQ":"ar-Arab-IQ","und-IR":"fa-Arab-IR","und-IS":"is-Latn-IS","und-IT":"it-Latn-IT","und-Ital":"ett-Ital-IT","und-Jamo":"ko-Jamo-KR","und-Java":"jv-Java-ID","und-JO":"ar-Arab-JO","und-JP":"ja-Jpan-JP","und-Jpan":"ja-Jpan-JP","und-Kali":"eky-Kali-MM","und-Kana":"ja-Kana-JP","und-KE":"sw-Latn-KE","und-KG":"ky-Cyrl-KG","und-KH":"km-Khmr-KH","und-Khar":"pra-Khar-PK","und-Khmr":"km-Khmr-KH","und-Khoj":"sd-Khoj-IN","und-Kits":"zkt-Kits-CN","und-KM":"ar-Arab-KM","und-Knda":"kn-Knda-IN","und-Kore":"ko-Kore-KR","und-KP":"ko-Kore-KP","und-KR":"ko-Kore-KR","und-Kthi":"bho-Kthi-IN","und-KW":"ar-Arab-KW","und-KZ":"ru-Cyrl-KZ","und-LA":"lo-Laoo-LA","und-Lana":"nod-Lana-TH","und-Laoo":"lo-Laoo-LA","und-Latn-AF":"tk-Latn-AF","und-Latn-AM":"ku-Latn-AM","und-Latn-CN":"za-Latn-CN","und-Latn-CY":"tr-Latn-CY","und-Latn-DZ":"fr-Latn-DZ","und-Latn-ET":"en-Latn-ET","und-Latn-GE":"ku-Latn-GE","und-Latn-IR":"tk-Latn-IR","und-Latn-KM":"fr-Latn-KM","und-Latn-MA":"fr-Latn-MA","und-Latn-MK":"sq-Latn-MK","und-Latn-MM":"kac-Latn-MM","und-Latn-MO":"pt-Latn-MO","und-Latn-MR":"fr-Latn-MR","und-Latn-RU":"krl-Latn-RU","und-Latn-SY":"fr-Latn-SY","und-Latn-TN":"fr-Latn-TN","und-Latn-TW":"trv-Latn-TW","und-Latn-UA":"pl-Latn-UA","und-LB":"ar-Arab-LB","und-Lepc":"lep-Lepc-IN","und-LI":"de-Latn-LI","und-Limb":"lif-Limb-IN","und-Lina":"lab-Lina-GR","und-Linb":"grc-Linb-GR","und-Lisu":"lis-Lisu-CN","und-LK":"si-Sinh-LK","und-LS":"st-Latn-LS","und-LT":"lt-Latn-LT","und-LU":"fr-Latn-LU","und-LV":"lv-Latn-LV","und-LY":"ar-Arab-LY","und-Lyci":"xlc-Lyci-TR","und-Lydi":"xld-Lydi-TR","und-MA":"ar-Arab-MA","und-Mahj":"hi-Mahj-IN","und-Maka":"mak-Maka-ID","und-Mand":"myz-Mand-IR","und-Mani":"xmn-Mani-CN","und-Marc":"bo-Marc-CN","und-MC":"fr-Latn-MC","und-MD":"ro-Latn-MD","und-ME":"sr-Latn-ME","und-Medf":"mis-Medf-NG","und-Mend":"men-Mend-SL","und-Merc":"xmr-Merc-SD","und-Mero":"xmr-Mero-SD","und-MF":"fr-Latn-MF","und-MG":"mg-Latn-MG","und-MK":"mk-Cyrl-MK","und-ML":"bm-Latn-ML","und-Mlym":"ml-Mlym-IN","und-MM":"my-Mymr-MM","und-MN":"mn-Cyrl-MN","und-MO":"zh-Hant-MO","und-Modi":"mr-Modi-IN","und-Mong":"mn-Mong-CN","und-MQ":"fr-Latn-MQ","und-MR":"ar-Arab-MR","und-Mroo":"mro-Mroo-BD","und-MT":"mt-Latn-MT","und-Mtei":"mni-Mtei-IN","und-MU":"mfe-Latn-MU","und-Mult":"skr-Mult-PK","und-MV":"dv-Thaa-MV","und-MX":"es-Latn-MX","und-MY":"ms-Latn-MY","und-Mymr":"my-Mymr-MM","und-Mymr-IN":"kht-Mymr-IN","und-Mymr-TH":"mnw-Mymr-TH","und-MZ":"pt-Latn-MZ","und-NA":"af-Latn-NA","und-Nand":"sa-Nand-IN","und-Narb":"xna-Narb-SA","und-Nbat":"arc-Nbat-JO","und-NC":"fr-Latn-NC","und-NE":"ha-Latn-NE","und-Newa":"new-Newa-NP","und-NI":"es-Latn-NI","und-Nkoo":"man-Nkoo-GN","und-NL":"nl-Latn-NL","und-NO":"nb-Latn-NO","und-NP":"ne-Deva-NP","und-Nshu":"zhx-Nshu-CN","und-Ogam":"sga-Ogam-IE","und-Olck":"sat-Olck-IN","und-OM":"ar-Arab-OM","und-Orkh":"otk-Orkh-MN","und-Orya":"or-Orya-IN","und-Osge":"osa-Osge-US","und-Osma":"so-Osma-SO","und-PA":"es-Latn-PA","und-Palm":"arc-Palm-SY","und-Pauc":"ctd-Pauc-MM","und-PE":"es-Latn-PE","und-Perm":"kv-Perm-RU","und-PF":"fr-Latn-PF","und-PG":"tpi-Latn-PG","und-PH":"fil-Latn-PH","und-Phag":"lzh-Phag-CN","und-Phli":"pal-Phli-IR","und-Phlp":"pal-Phlp-CN","und-Phnx":"phn-Phnx-LB","und-PK":"ur-Arab-PK","und-PL":"pl-Latn-PL","und-Plrd":"hmd-Plrd-CN","und-PM":"fr-Latn-PM","und-PR":"es-Latn-PR","und-Prti":"xpr-Prti-IR","und-PS":"ar-Arab-PS","und-PT":"pt-Latn-PT","und-PW":"pau-Latn-PW","und-PY":"gn-Latn-PY","und-QA":"ar-Arab-QA","und-QO":"en-Latn-DG","und-RE":"fr-Latn-RE","und-Rjng":"rej-Rjng-ID","und-RO":"ro-Latn-RO","und-Rohg":"rhg-Rohg-MM","und-RS":"sr-Cyrl-RS","und-RU":"ru-Cyrl-RU","und-Runr":"non-Runr-SE","und-RW":"rw-Latn-RW","und-SA":"ar-Arab-SA","und-Samr":"smp-Samr-IL","und-Sarb":"xsa-Sarb-YE","und-Saur":"saz-Saur-IN","und-SC":"fr-Latn-SC","und-SD":"ar-Arab-SD","und-SE":"sv-Latn-SE","und-Sgnw":"ase-Sgnw-US","und-Shaw":"en-Shaw-GB","und-Shrd":"sa-Shrd-IN","und-SI":"sl-Latn-SI","und-Sidd":"sa-Sidd-IN","und-Sind":"sd-Sind-IN","und-Sinh":"si-Sinh-LK","und-SJ":"nb-Latn-SJ","und-SK":"sk-Latn-SK","und-SM":"it-Latn-SM","und-SN":"fr-Latn-SN","und-SO":"so-Latn-SO","und-Sogd":"sog-Sogd-UZ","und-Sogo":"sog-Sogo-UZ","und-Sora":"srb-Sora-IN","und-Soyo":"cmg-Soyo-MN","und-SR":"nl-Latn-SR","und-ST":"pt-Latn-ST","und-Sund":"su-Sund-ID","und-SV":"es-Latn-SV","und-SY":"ar-Arab-SY","und-Sylo":"syl-Sylo-BD","und-Syrc":"syr-Syrc-IQ","und-Tagb":"tbw-Tagb-PH","und-Takr":"doi-Takr-IN","und-Tale":"tdd-Tale-CN","und-Talu":"khb-Talu-CN","und-Taml":"ta-Taml-IN","und-Tang":"txg-Tang-CN","und-Tavt":"blt-Tavt-VN","und-TD":"fr-Latn-TD","und-Telu":"te-Telu-IN","und-TF":"fr-Latn-TF","und-Tfng":"zgh-Tfng-MA","und-TG":"fr-Latn-TG","und-Tglg":"fil-Tglg-PH","und-TH":"th-Thai-TH","und-Thaa":"dv-Thaa-MV","und-Thai":"th-Thai-TH","und-Thai-CN":"lcp-Thai-CN","und-Thai-KH":"kdt-Thai-KH","und-Thai-LA":"kdt-Thai-LA","und-Tibt":"bo-Tibt-CN","und-Tirh":"mai-Tirh-IN","und-TJ":"tg-Cyrl-TJ","und-TK":"tkl-Latn-TK","und-TL":"pt-Latn-TL","und-TM":"tk-Latn-TM","und-TN":"ar-Arab-TN","und-TO":"to-Latn-TO","und-TR":"tr-Latn-TR","und-TV":"tvl-Latn-TV","und-TW":"zh-Hant-TW","und-TZ":"sw-Latn-TZ","und-UA":"uk-Cyrl-UA","und-UG":"sw-Latn-UG","und-Ugar":"uga-Ugar-SY","und-UY":"es-Latn-UY","und-UZ":"uz-Latn-UZ","und-VA":"it-Latn-VA","und-Vaii":"vai-Vaii-LR","und-VE":"es-Latn-VE","und-VN":"vi-Latn-VN","und-VU":"bi-Latn-VU","und-Wara":"hoc-Wara-IN","und-Wcho":"nnp-Wcho-IN","und-WF":"fr-Latn-WF","und-WS":"sm-Latn-WS","und-XK":"sq-Latn-XK","und-Xpeo":"peo-Xpeo-IR","und-Xsux":"akk-Xsux-IQ","und-YE":"ar-Arab-YE","und-Yezi":"ku-Yezi-GE","und-Yiii":"ii-Yiii-CN","und-YT":"fr-Latn-YT","und-Zanb":"cmg-Zanb-MN","und-ZW":"sn-Latn-ZW","unr":"unr-Beng-IN","unr-Deva":"unr-Deva-NP","unr-NP":"unr-Deva-NP","unx":"unx-Beng-IN","uok":"uok-Latn-ZZ","ur":"ur-Arab-PK","uri":"uri-Latn-ZZ","urt":"urt-Latn-ZZ","urw":"urw-Latn-ZZ","usa":"usa-Latn-ZZ","uth":"uth-Latn-ZZ","utr":"utr-Latn-ZZ","uvh":"uvh-Latn-ZZ","uvl":"uvl-Latn-ZZ","uz":"uz-Latn-UZ","uz-AF":"uz-Arab-AF","uz-Arab":"uz-Arab-AF","uz-CN":"uz-Cyrl-CN","vag":"vag-Latn-ZZ","vai":"vai-Vaii-LR","van":"van-Latn-ZZ","ve":"ve-Latn-ZA","vec":"vec-Latn-IT","vep":"vep-Latn-RU","vi":"vi-Latn-VN","vic":"vic-Latn-SX","viv":"viv-Latn-ZZ","vls":"vls-Latn-BE","vmf":"vmf-Latn-DE","vmw":"vmw-Latn-MZ","vo":"vo-Latn-001","vot":"vot-Latn-RU","vro":"vro-Latn-EE","vun":"vun-Latn-TZ","vut":"vut-Latn-ZZ","wa":"wa-Latn-BE","wae":"wae-Latn-CH","waj":"waj-Latn-ZZ","wal":"wal-Ethi-ET","wan":"wan-Latn-ZZ","war":"war-Latn-PH","wbp":"wbp-Latn-AU","wbq":"wbq-Telu-IN","wbr":"wbr-Deva-IN","wci":"wci-Latn-ZZ","wer":"wer-Latn-ZZ","wgi":"wgi-Latn-ZZ","whg":"whg-Latn-ZZ","wib":"wib-Latn-ZZ","wiu":"wiu-Latn-ZZ","wiv":"wiv-Latn-ZZ","wja":"wja-Latn-ZZ","wji":"wji-Latn-ZZ","wls":"wls-Latn-WF","wmo":"wmo-Latn-ZZ","wnc":"wnc-Latn-ZZ","wni":"wni-Arab-KM","wnu":"wnu-Latn-ZZ","wo":"wo-Latn-SN","wob":"wob-Latn-ZZ","wos":"wos-Latn-ZZ","wrs":"wrs-Latn-ZZ","wsg":"wsg-Gong-IN","wsk":"wsk-Latn-ZZ","wtm":"wtm-Deva-IN","wuu":"wuu-Hans-CN","wuv":"wuv-Latn-ZZ","wwa":"wwa-Latn-ZZ","xav":"xav-Latn-BR","xbi":"xbi-Latn-ZZ","xco":"xco-Chrs-UZ","xcr":"xcr-Cari-TR","xes":"xes-Latn-ZZ","xh":"xh-Latn-ZA","xla":"xla-Latn-ZZ","xlc":"xlc-Lyci-TR","xld":"xld-Lydi-TR","xmf":"xmf-Geor-GE","xmn":"xmn-Mani-CN","xmr":"xmr-Merc-SD","xna":"xna-Narb-SA","xnr":"xnr-Deva-IN","xog":"xog-Latn-UG","xon":"xon-Latn-ZZ","xpr":"xpr-Prti-IR","xrb":"xrb-Latn-ZZ","xsa":"xsa-Sarb-YE","xsi":"xsi-Latn-ZZ","xsm":"xsm-Latn-ZZ","xsr":"xsr-Deva-NP","xwe":"xwe-Latn-ZZ","yam":"yam-Latn-ZZ","yao":"yao-Latn-MZ","yap":"yap-Latn-FM","yas":"yas-Latn-ZZ","yat":"yat-Latn-ZZ","yav":"yav-Latn-CM","yay":"yay-Latn-ZZ","yaz":"yaz-Latn-ZZ","yba":"yba-Latn-ZZ","ybb":"ybb-Latn-CM","yby":"yby-Latn-ZZ","yer":"yer-Latn-ZZ","ygr":"ygr-Latn-ZZ","ygw":"ygw-Latn-ZZ","yi":"yi-Hebr-001","yko":"yko-Latn-ZZ","yle":"yle-Latn-ZZ","ylg":"ylg-Latn-ZZ","yll":"yll-Latn-ZZ","yml":"yml-Latn-ZZ","yo":"yo-Latn-NG","yon":"yon-Latn-ZZ","yrb":"yrb-Latn-ZZ","yre":"yre-Latn-ZZ","yrl":"yrl-Latn-BR","yss":"yss-Latn-ZZ","yua":"yua-Latn-MX","yue":"yue-Hant-HK","yue-CN":"yue-Hans-CN","yue-Hans":"yue-Hans-CN","yuj":"yuj-Latn-ZZ","yut":"yut-Latn-ZZ","yuw":"yuw-Latn-ZZ","za":"za-Latn-CN","zag":"zag-Latn-SD","zdj":"zdj-Arab-KM","zea":"zea-Latn-NL","zgh":"zgh-Tfng-MA","zh":"zh-Hans-CN","zh-AU":"zh-Hant-AU","zh-BN":"zh-Hant-BN","zh-Bopo":"zh-Bopo-TW","zh-GB":"zh-Hant-GB","zh-GF":"zh-Hant-GF","zh-Hanb":"zh-Hanb-TW","zh-Hant":"zh-Hant-TW","zh-HK":"zh-Hant-HK","zh-ID":"zh-Hant-ID","zh-MO":"zh-Hant-MO","zh-PA":"zh-Hant-PA","zh-PF":"zh-Hant-PF","zh-PH":"zh-Hant-PH","zh-SR":"zh-Hant-SR","zh-TH":"zh-Hant-TH","zh-TW":"zh-Hant-TW","zh-US":"zh-Hant-US","zh-VN":"zh-Hant-VN","zhx":"zhx-Nshu-CN","zia":"zia-Latn-ZZ","zkt":"zkt-Kits-CN","zlm":"zlm-Latn-TG","zmi":"zmi-Latn-MY","zne":"zne-Latn-ZZ","zu":"zu-Latn-ZA","zza":"zza-Latn-TR"}}}')},69933:function(e){"use strict";e.exports=JSON.parse('{"elementNames":{"altglyph":"altGlyph","altglyphdef":"altGlyphDef","altglyphitem":"altGlyphItem","animatecolor":"animateColor","animatemotion":"animateMotion","animatetransform":"animateTransform","clippath":"clipPath","feblend":"feBlend","fecolormatrix":"feColorMatrix","fecomponenttransfer":"feComponentTransfer","fecomposite":"feComposite","feconvolvematrix":"feConvolveMatrix","fediffuselighting":"feDiffuseLighting","fedisplacementmap":"feDisplacementMap","fedistantlight":"feDistantLight","fedropshadow":"feDropShadow","feflood":"feFlood","fefunca":"feFuncA","fefuncb":"feFuncB","fefuncg":"feFuncG","fefuncr":"feFuncR","fegaussianblur":"feGaussianBlur","feimage":"feImage","femerge":"feMerge","femergenode":"feMergeNode","femorphology":"feMorphology","feoffset":"feOffset","fepointlight":"fePointLight","fespecularlighting":"feSpecularLighting","fespotlight":"feSpotLight","fetile":"feTile","feturbulence":"feTurbulence","foreignobject":"foreignObject","glyphref":"glyphRef","lineargradient":"linearGradient","radialgradient":"radialGradient","textpath":"textPath"},"attributeNames":{"definitionurl":"definitionURL","attributename":"attributeName","attributetype":"attributeType","basefrequency":"baseFrequency","baseprofile":"baseProfile","calcmode":"calcMode","clippathunits":"clipPathUnits","diffuseconstant":"diffuseConstant","edgemode":"edgeMode","filterunits":"filterUnits","glyphref":"glyphRef","gradienttransform":"gradientTransform","gradientunits":"gradientUnits","kernelmatrix":"kernelMatrix","kernelunitlength":"kernelUnitLength","keypoints":"keyPoints","keysplines":"keySplines","keytimes":"keyTimes","lengthadjust":"lengthAdjust","limitingconeangle":"limitingConeAngle","markerheight":"markerHeight","markerunits":"markerUnits","markerwidth":"markerWidth","maskcontentunits":"maskContentUnits","maskunits":"maskUnits","numoctaves":"numOctaves","pathlength":"pathLength","patterncontentunits":"patternContentUnits","patterntransform":"patternTransform","patternunits":"patternUnits","pointsatx":"pointsAtX","pointsaty":"pointsAtY","pointsatz":"pointsAtZ","preservealpha":"preserveAlpha","preserveaspectratio":"preserveAspectRatio","primitiveunits":"primitiveUnits","refx":"refX","refy":"refY","repeatcount":"repeatCount","repeatdur":"repeatDur","requiredextensions":"requiredExtensions","requiredfeatures":"requiredFeatures","specularconstant":"specularConstant","specularexponent":"specularExponent","spreadmethod":"spreadMethod","startoffset":"startOffset","stddeviation":"stdDeviation","stitchtiles":"stitchTiles","surfacescale":"surfaceScale","systemlanguage":"systemLanguage","tablevalues":"tableValues","targetx":"targetX","targety":"targetY","textlength":"textLength","viewbox":"viewBox","viewtarget":"viewTarget","xchannelselector":"xChannelSelector","ychannelselector":"yChannelSelector","zoomandpan":"zoomAndPan"}}')},33600:function(e){"use strict";e.exports=JSON.parse('{"0":65533,"128":8364,"130":8218,"131":402,"132":8222,"133":8230,"134":8224,"135":8225,"136":710,"137":8240,"138":352,"139":8249,"140":338,"142":381,"145":8216,"146":8217,"147":8220,"148":8221,"149":8226,"150":8211,"151":8212,"152":732,"153":8482,"154":353,"155":8250,"156":339,"158":382,"159":376}')},59323:function(e){"use strict";e.exports=JSON.parse('{"Aacute":"Á","aacute":"á","Abreve":"Ă","abreve":"ă","ac":"∾","acd":"∿","acE":"∾̳","Acirc":"Â","acirc":"â","acute":"´","Acy":"А","acy":"а","AElig":"Æ","aelig":"æ","af":"⁡","Afr":"𝔄","afr":"𝔞","Agrave":"À","agrave":"à","alefsym":"ℵ","aleph":"ℵ","Alpha":"Α","alpha":"α","Amacr":"Ā","amacr":"ā","amalg":"⨿","amp":"&","AMP":"&","andand":"⩕","And":"⩓","and":"∧","andd":"⩜","andslope":"⩘","andv":"⩚","ang":"∠","ange":"⦤","angle":"∠","angmsdaa":"⦨","angmsdab":"⦩","angmsdac":"⦪","angmsdad":"⦫","angmsdae":"⦬","angmsdaf":"⦭","angmsdag":"⦮","angmsdah":"⦯","angmsd":"∡","angrt":"∟","angrtvb":"⊾","angrtvbd":"⦝","angsph":"∢","angst":"Å","angzarr":"⍼","Aogon":"Ą","aogon":"ą","Aopf":"𝔸","aopf":"𝕒","apacir":"⩯","ap":"≈","apE":"⩰","ape":"≊","apid":"≋","apos":"\'","ApplyFunction":"⁡","approx":"≈","approxeq":"≊","Aring":"Å","aring":"å","Ascr":"𝒜","ascr":"𝒶","Assign":"≔","ast":"*","asymp":"≈","asympeq":"≍","Atilde":"Ã","atilde":"ã","Auml":"Ä","auml":"ä","awconint":"∳","awint":"⨑","backcong":"≌","backepsilon":"϶","backprime":"‵","backsim":"∽","backsimeq":"⋍","Backslash":"∖","Barv":"⫧","barvee":"⊽","barwed":"⌅","Barwed":"⌆","barwedge":"⌅","bbrk":"⎵","bbrktbrk":"⎶","bcong":"≌","Bcy":"Б","bcy":"б","bdquo":"„","becaus":"∵","because":"∵","Because":"∵","bemptyv":"⦰","bepsi":"϶","bernou":"ℬ","Bernoullis":"ℬ","Beta":"Β","beta":"β","beth":"ℶ","between":"≬","Bfr":"𝔅","bfr":"𝔟","bigcap":"⋂","bigcirc":"◯","bigcup":"⋃","bigodot":"⨀","bigoplus":"⨁","bigotimes":"⨂","bigsqcup":"⨆","bigstar":"★","bigtriangledown":"▽","bigtriangleup":"△","biguplus":"⨄","bigvee":"⋁","bigwedge":"⋀","bkarow":"⤍","blacklozenge":"⧫","blacksquare":"▪","blacktriangle":"▴","blacktriangledown":"▾","blacktriangleleft":"◂","blacktriangleright":"▸","blank":"␣","blk12":"▒","blk14":"░","blk34":"▓","block":"█","bne":"=⃥","bnequiv":"≡⃥","bNot":"⫭","bnot":"⌐","Bopf":"𝔹","bopf":"𝕓","bot":"⊥","bottom":"⊥","bowtie":"⋈","boxbox":"⧉","boxdl":"┐","boxdL":"╕","boxDl":"╖","boxDL":"╗","boxdr":"┌","boxdR":"╒","boxDr":"╓","boxDR":"╔","boxh":"─","boxH":"═","boxhd":"┬","boxHd":"╤","boxhD":"╥","boxHD":"╦","boxhu":"┴","boxHu":"╧","boxhU":"╨","boxHU":"╩","boxminus":"⊟","boxplus":"⊞","boxtimes":"⊠","boxul":"┘","boxuL":"╛","boxUl":"╜","boxUL":"╝","boxur":"└","boxuR":"╘","boxUr":"╙","boxUR":"╚","boxv":"│","boxV":"║","boxvh":"┼","boxvH":"╪","boxVh":"╫","boxVH":"╬","boxvl":"┤","boxvL":"╡","boxVl":"╢","boxVL":"╣","boxvr":"├","boxvR":"╞","boxVr":"╟","boxVR":"╠","bprime":"‵","breve":"˘","Breve":"˘","brvbar":"¦","bscr":"𝒷","Bscr":"ℬ","bsemi":"⁏","bsim":"∽","bsime":"⋍","bsolb":"⧅","bsol":"\\\\","bsolhsub":"⟈","bull":"•","bullet":"•","bump":"≎","bumpE":"⪮","bumpe":"≏","Bumpeq":"≎","bumpeq":"≏","Cacute":"Ć","cacute":"ć","capand":"⩄","capbrcup":"⩉","capcap":"⩋","cap":"∩","Cap":"⋒","capcup":"⩇","capdot":"⩀","CapitalDifferentialD":"ⅅ","caps":"∩︀","caret":"⁁","caron":"ˇ","Cayleys":"ℭ","ccaps":"⩍","Ccaron":"Č","ccaron":"č","Ccedil":"Ç","ccedil":"ç","Ccirc":"Ĉ","ccirc":"ĉ","Cconint":"∰","ccups":"⩌","ccupssm":"⩐","Cdot":"Ċ","cdot":"ċ","cedil":"¸","Cedilla":"¸","cemptyv":"⦲","cent":"¢","centerdot":"·","CenterDot":"·","cfr":"𝔠","Cfr":"ℭ","CHcy":"Ч","chcy":"ч","check":"✓","checkmark":"✓","Chi":"Χ","chi":"χ","circ":"ˆ","circeq":"≗","circlearrowleft":"↺","circlearrowright":"↻","circledast":"⊛","circledcirc":"⊚","circleddash":"⊝","CircleDot":"⊙","circledR":"®","circledS":"Ⓢ","CircleMinus":"⊖","CirclePlus":"⊕","CircleTimes":"⊗","cir":"○","cirE":"⧃","cire":"≗","cirfnint":"⨐","cirmid":"⫯","cirscir":"⧂","ClockwiseContourIntegral":"∲","CloseCurlyDoubleQuote":"”","CloseCurlyQuote":"’","clubs":"♣","clubsuit":"♣","colon":":","Colon":"∷","Colone":"⩴","colone":"≔","coloneq":"≔","comma":",","commat":"@","comp":"∁","compfn":"∘","complement":"∁","complexes":"ℂ","cong":"≅","congdot":"⩭","Congruent":"≡","conint":"∮","Conint":"∯","ContourIntegral":"∮","copf":"𝕔","Copf":"ℂ","coprod":"∐","Coproduct":"∐","copy":"©","COPY":"©","copysr":"℗","CounterClockwiseContourIntegral":"∳","crarr":"↵","cross":"✗","Cross":"⨯","Cscr":"𝒞","cscr":"𝒸","csub":"⫏","csube":"⫑","csup":"⫐","csupe":"⫒","ctdot":"⋯","cudarrl":"⤸","cudarrr":"⤵","cuepr":"⋞","cuesc":"⋟","cularr":"↶","cularrp":"⤽","cupbrcap":"⩈","cupcap":"⩆","CupCap":"≍","cup":"∪","Cup":"⋓","cupcup":"⩊","cupdot":"⊍","cupor":"⩅","cups":"∪︀","curarr":"↷","curarrm":"⤼","curlyeqprec":"⋞","curlyeqsucc":"⋟","curlyvee":"⋎","curlywedge":"⋏","curren":"¤","curvearrowleft":"↶","curvearrowright":"↷","cuvee":"⋎","cuwed":"⋏","cwconint":"∲","cwint":"∱","cylcty":"⌭","dagger":"†","Dagger":"‡","daleth":"ℸ","darr":"↓","Darr":"↡","dArr":"⇓","dash":"‐","Dashv":"⫤","dashv":"⊣","dbkarow":"⤏","dblac":"˝","Dcaron":"Ď","dcaron":"ď","Dcy":"Д","dcy":"д","ddagger":"‡","ddarr":"⇊","DD":"ⅅ","dd":"ⅆ","DDotrahd":"⤑","ddotseq":"⩷","deg":"°","Del":"∇","Delta":"Δ","delta":"δ","demptyv":"⦱","dfisht":"⥿","Dfr":"𝔇","dfr":"𝔡","dHar":"⥥","dharl":"⇃","dharr":"⇂","DiacriticalAcute":"´","DiacriticalDot":"˙","DiacriticalDoubleAcute":"˝","DiacriticalGrave":"`","DiacriticalTilde":"˜","diam":"⋄","diamond":"⋄","Diamond":"⋄","diamondsuit":"♦","diams":"♦","die":"¨","DifferentialD":"ⅆ","digamma":"ϝ","disin":"⋲","div":"÷","divide":"÷","divideontimes":"⋇","divonx":"⋇","DJcy":"Ђ","djcy":"ђ","dlcorn":"⌞","dlcrop":"⌍","dollar":"$","Dopf":"𝔻","dopf":"𝕕","Dot":"¨","dot":"˙","DotDot":"⃜","doteq":"≐","doteqdot":"≑","DotEqual":"≐","dotminus":"∸","dotplus":"∔","dotsquare":"⊡","doublebarwedge":"⌆","DoubleContourIntegral":"∯","DoubleDot":"¨","DoubleDownArrow":"⇓","DoubleLeftArrow":"⇐","DoubleLeftRightArrow":"⇔","DoubleLeftTee":"⫤","DoubleLongLeftArrow":"⟸","DoubleLongLeftRightArrow":"⟺","DoubleLongRightArrow":"⟹","DoubleRightArrow":"⇒","DoubleRightTee":"⊨","DoubleUpArrow":"⇑","DoubleUpDownArrow":"⇕","DoubleVerticalBar":"∥","DownArrowBar":"⤓","downarrow":"↓","DownArrow":"↓","Downarrow":"⇓","DownArrowUpArrow":"⇵","DownBreve":"̑","downdownarrows":"⇊","downharpoonleft":"⇃","downharpoonright":"⇂","DownLeftRightVector":"⥐","DownLeftTeeVector":"⥞","DownLeftVectorBar":"⥖","DownLeftVector":"↽","DownRightTeeVector":"⥟","DownRightVectorBar":"⥗","DownRightVector":"⇁","DownTeeArrow":"↧","DownTee":"⊤","drbkarow":"⤐","drcorn":"⌟","drcrop":"⌌","Dscr":"𝒟","dscr":"𝒹","DScy":"Ѕ","dscy":"ѕ","dsol":"⧶","Dstrok":"Đ","dstrok":"đ","dtdot":"⋱","dtri":"▿","dtrif":"▾","duarr":"⇵","duhar":"⥯","dwangle":"⦦","DZcy":"Џ","dzcy":"џ","dzigrarr":"⟿","Eacute":"É","eacute":"é","easter":"⩮","Ecaron":"Ě","ecaron":"ě","Ecirc":"Ê","ecirc":"ê","ecir":"≖","ecolon":"≕","Ecy":"Э","ecy":"э","eDDot":"⩷","Edot":"Ė","edot":"ė","eDot":"≑","ee":"ⅇ","efDot":"≒","Efr":"𝔈","efr":"𝔢","eg":"⪚","Egrave":"È","egrave":"è","egs":"⪖","egsdot":"⪘","el":"⪙","Element":"∈","elinters":"⏧","ell":"ℓ","els":"⪕","elsdot":"⪗","Emacr":"Ē","emacr":"ē","empty":"∅","emptyset":"∅","EmptySmallSquare":"◻","emptyv":"∅","EmptyVerySmallSquare":"▫","emsp13":" ","emsp14":" ","emsp":" ","ENG":"Ŋ","eng":"ŋ","ensp":" ","Eogon":"Ę","eogon":"ę","Eopf":"𝔼","eopf":"𝕖","epar":"⋕","eparsl":"⧣","eplus":"⩱","epsi":"ε","Epsilon":"Ε","epsilon":"ε","epsiv":"ϵ","eqcirc":"≖","eqcolon":"≕","eqsim":"≂","eqslantgtr":"⪖","eqslantless":"⪕","Equal":"⩵","equals":"=","EqualTilde":"≂","equest":"≟","Equilibrium":"⇌","equiv":"≡","equivDD":"⩸","eqvparsl":"⧥","erarr":"⥱","erDot":"≓","escr":"ℯ","Escr":"ℰ","esdot":"≐","Esim":"⩳","esim":"≂","Eta":"Η","eta":"η","ETH":"Ð","eth":"ð","Euml":"Ë","euml":"ë","euro":"€","excl":"!","exist":"∃","Exists":"∃","expectation":"ℰ","exponentiale":"ⅇ","ExponentialE":"ⅇ","fallingdotseq":"≒","Fcy":"Ф","fcy":"ф","female":"♀","ffilig":"ffi","fflig":"ff","ffllig":"ffl","Ffr":"𝔉","ffr":"𝔣","filig":"fi","FilledSmallSquare":"◼","FilledVerySmallSquare":"▪","fjlig":"fj","flat":"♭","fllig":"fl","fltns":"▱","fnof":"ƒ","Fopf":"𝔽","fopf":"𝕗","forall":"∀","ForAll":"∀","fork":"⋔","forkv":"⫙","Fouriertrf":"ℱ","fpartint":"⨍","frac12":"½","frac13":"⅓","frac14":"¼","frac15":"⅕","frac16":"⅙","frac18":"⅛","frac23":"⅔","frac25":"⅖","frac34":"¾","frac35":"⅗","frac38":"⅜","frac45":"⅘","frac56":"⅚","frac58":"⅝","frac78":"⅞","frasl":"⁄","frown":"⌢","fscr":"𝒻","Fscr":"ℱ","gacute":"ǵ","Gamma":"Γ","gamma":"γ","Gammad":"Ϝ","gammad":"ϝ","gap":"⪆","Gbreve":"Ğ","gbreve":"ğ","Gcedil":"Ģ","Gcirc":"Ĝ","gcirc":"ĝ","Gcy":"Г","gcy":"г","Gdot":"Ġ","gdot":"ġ","ge":"≥","gE":"≧","gEl":"⪌","gel":"⋛","geq":"≥","geqq":"≧","geqslant":"⩾","gescc":"⪩","ges":"⩾","gesdot":"⪀","gesdoto":"⪂","gesdotol":"⪄","gesl":"⋛︀","gesles":"⪔","Gfr":"𝔊","gfr":"𝔤","gg":"≫","Gg":"⋙","ggg":"⋙","gimel":"ℷ","GJcy":"Ѓ","gjcy":"ѓ","gla":"⪥","gl":"≷","glE":"⪒","glj":"⪤","gnap":"⪊","gnapprox":"⪊","gne":"⪈","gnE":"≩","gneq":"⪈","gneqq":"≩","gnsim":"⋧","Gopf":"𝔾","gopf":"𝕘","grave":"`","GreaterEqual":"≥","GreaterEqualLess":"⋛","GreaterFullEqual":"≧","GreaterGreater":"⪢","GreaterLess":"≷","GreaterSlantEqual":"⩾","GreaterTilde":"≳","Gscr":"𝒢","gscr":"ℊ","gsim":"≳","gsime":"⪎","gsiml":"⪐","gtcc":"⪧","gtcir":"⩺","gt":">","GT":">","Gt":"≫","gtdot":"⋗","gtlPar":"⦕","gtquest":"⩼","gtrapprox":"⪆","gtrarr":"⥸","gtrdot":"⋗","gtreqless":"⋛","gtreqqless":"⪌","gtrless":"≷","gtrsim":"≳","gvertneqq":"≩︀","gvnE":"≩︀","Hacek":"ˇ","hairsp":" ","half":"½","hamilt":"ℋ","HARDcy":"Ъ","hardcy":"ъ","harrcir":"⥈","harr":"↔","hArr":"⇔","harrw":"↭","Hat":"^","hbar":"ℏ","Hcirc":"Ĥ","hcirc":"ĥ","hearts":"♥","heartsuit":"♥","hellip":"…","hercon":"⊹","hfr":"𝔥","Hfr":"ℌ","HilbertSpace":"ℋ","hksearow":"⤥","hkswarow":"⤦","hoarr":"⇿","homtht":"∻","hookleftarrow":"↩","hookrightarrow":"↪","hopf":"𝕙","Hopf":"ℍ","horbar":"―","HorizontalLine":"─","hscr":"𝒽","Hscr":"ℋ","hslash":"ℏ","Hstrok":"Ħ","hstrok":"ħ","HumpDownHump":"≎","HumpEqual":"≏","hybull":"⁃","hyphen":"‐","Iacute":"Í","iacute":"í","ic":"⁣","Icirc":"Î","icirc":"î","Icy":"И","icy":"и","Idot":"İ","IEcy":"Е","iecy":"е","iexcl":"¡","iff":"⇔","ifr":"𝔦","Ifr":"ℑ","Igrave":"Ì","igrave":"ì","ii":"ⅈ","iiiint":"⨌","iiint":"∭","iinfin":"⧜","iiota":"℩","IJlig":"IJ","ijlig":"ij","Imacr":"Ī","imacr":"ī","image":"ℑ","ImaginaryI":"ⅈ","imagline":"ℐ","imagpart":"ℑ","imath":"ı","Im":"ℑ","imof":"⊷","imped":"Ƶ","Implies":"⇒","incare":"℅","in":"∈","infin":"∞","infintie":"⧝","inodot":"ı","intcal":"⊺","int":"∫","Int":"∬","integers":"ℤ","Integral":"∫","intercal":"⊺","Intersection":"⋂","intlarhk":"⨗","intprod":"⨼","InvisibleComma":"⁣","InvisibleTimes":"⁢","IOcy":"Ё","iocy":"ё","Iogon":"Į","iogon":"į","Iopf":"𝕀","iopf":"𝕚","Iota":"Ι","iota":"ι","iprod":"⨼","iquest":"¿","iscr":"𝒾","Iscr":"ℐ","isin":"∈","isindot":"⋵","isinE":"⋹","isins":"⋴","isinsv":"⋳","isinv":"∈","it":"⁢","Itilde":"Ĩ","itilde":"ĩ","Iukcy":"І","iukcy":"і","Iuml":"Ï","iuml":"ï","Jcirc":"Ĵ","jcirc":"ĵ","Jcy":"Й","jcy":"й","Jfr":"𝔍","jfr":"𝔧","jmath":"ȷ","Jopf":"𝕁","jopf":"𝕛","Jscr":"𝒥","jscr":"𝒿","Jsercy":"Ј","jsercy":"ј","Jukcy":"Є","jukcy":"є","Kappa":"Κ","kappa":"κ","kappav":"ϰ","Kcedil":"Ķ","kcedil":"ķ","Kcy":"К","kcy":"к","Kfr":"𝔎","kfr":"𝔨","kgreen":"ĸ","KHcy":"Х","khcy":"х","KJcy":"Ќ","kjcy":"ќ","Kopf":"𝕂","kopf":"𝕜","Kscr":"𝒦","kscr":"𝓀","lAarr":"⇚","Lacute":"Ĺ","lacute":"ĺ","laemptyv":"⦴","lagran":"ℒ","Lambda":"Λ","lambda":"λ","lang":"⟨","Lang":"⟪","langd":"⦑","langle":"⟨","lap":"⪅","Laplacetrf":"ℒ","laquo":"«","larrb":"⇤","larrbfs":"⤟","larr":"←","Larr":"↞","lArr":"⇐","larrfs":"⤝","larrhk":"↩","larrlp":"↫","larrpl":"⤹","larrsim":"⥳","larrtl":"↢","latail":"⤙","lAtail":"⤛","lat":"⪫","late":"⪭","lates":"⪭︀","lbarr":"⤌","lBarr":"⤎","lbbrk":"❲","lbrace":"{","lbrack":"[","lbrke":"⦋","lbrksld":"⦏","lbrkslu":"⦍","Lcaron":"Ľ","lcaron":"ľ","Lcedil":"Ļ","lcedil":"ļ","lceil":"⌈","lcub":"{","Lcy":"Л","lcy":"л","ldca":"⤶","ldquo":"“","ldquor":"„","ldrdhar":"⥧","ldrushar":"⥋","ldsh":"↲","le":"≤","lE":"≦","LeftAngleBracket":"⟨","LeftArrowBar":"⇤","leftarrow":"←","LeftArrow":"←","Leftarrow":"⇐","LeftArrowRightArrow":"⇆","leftarrowtail":"↢","LeftCeiling":"⌈","LeftDoubleBracket":"⟦","LeftDownTeeVector":"⥡","LeftDownVectorBar":"⥙","LeftDownVector":"⇃","LeftFloor":"⌊","leftharpoondown":"↽","leftharpoonup":"↼","leftleftarrows":"⇇","leftrightarrow":"↔","LeftRightArrow":"↔","Leftrightarrow":"⇔","leftrightarrows":"⇆","leftrightharpoons":"⇋","leftrightsquigarrow":"↭","LeftRightVector":"⥎","LeftTeeArrow":"↤","LeftTee":"⊣","LeftTeeVector":"⥚","leftthreetimes":"⋋","LeftTriangleBar":"⧏","LeftTriangle":"⊲","LeftTriangleEqual":"⊴","LeftUpDownVector":"⥑","LeftUpTeeVector":"⥠","LeftUpVectorBar":"⥘","LeftUpVector":"↿","LeftVectorBar":"⥒","LeftVector":"↼","lEg":"⪋","leg":"⋚","leq":"≤","leqq":"≦","leqslant":"⩽","lescc":"⪨","les":"⩽","lesdot":"⩿","lesdoto":"⪁","lesdotor":"⪃","lesg":"⋚︀","lesges":"⪓","lessapprox":"⪅","lessdot":"⋖","lesseqgtr":"⋚","lesseqqgtr":"⪋","LessEqualGreater":"⋚","LessFullEqual":"≦","LessGreater":"≶","lessgtr":"≶","LessLess":"⪡","lesssim":"≲","LessSlantEqual":"⩽","LessTilde":"≲","lfisht":"⥼","lfloor":"⌊","Lfr":"𝔏","lfr":"𝔩","lg":"≶","lgE":"⪑","lHar":"⥢","lhard":"↽","lharu":"↼","lharul":"⥪","lhblk":"▄","LJcy":"Љ","ljcy":"љ","llarr":"⇇","ll":"≪","Ll":"⋘","llcorner":"⌞","Lleftarrow":"⇚","llhard":"⥫","lltri":"◺","Lmidot":"Ŀ","lmidot":"ŀ","lmoustache":"⎰","lmoust":"⎰","lnap":"⪉","lnapprox":"⪉","lne":"⪇","lnE":"≨","lneq":"⪇","lneqq":"≨","lnsim":"⋦","loang":"⟬","loarr":"⇽","lobrk":"⟦","longleftarrow":"⟵","LongLeftArrow":"⟵","Longleftarrow":"⟸","longleftrightarrow":"⟷","LongLeftRightArrow":"⟷","Longleftrightarrow":"⟺","longmapsto":"⟼","longrightarrow":"⟶","LongRightArrow":"⟶","Longrightarrow":"⟹","looparrowleft":"↫","looparrowright":"↬","lopar":"⦅","Lopf":"𝕃","lopf":"𝕝","loplus":"⨭","lotimes":"⨴","lowast":"∗","lowbar":"_","LowerLeftArrow":"↙","LowerRightArrow":"↘","loz":"◊","lozenge":"◊","lozf":"⧫","lpar":"(","lparlt":"⦓","lrarr":"⇆","lrcorner":"⌟","lrhar":"⇋","lrhard":"⥭","lrm":"‎","lrtri":"⊿","lsaquo":"‹","lscr":"𝓁","Lscr":"ℒ","lsh":"↰","Lsh":"↰","lsim":"≲","lsime":"⪍","lsimg":"⪏","lsqb":"[","lsquo":"‘","lsquor":"‚","Lstrok":"Ł","lstrok":"ł","ltcc":"⪦","ltcir":"⩹","lt":"<","LT":"<","Lt":"≪","ltdot":"⋖","lthree":"⋋","ltimes":"⋉","ltlarr":"⥶","ltquest":"⩻","ltri":"◃","ltrie":"⊴","ltrif":"◂","ltrPar":"⦖","lurdshar":"⥊","luruhar":"⥦","lvertneqq":"≨︀","lvnE":"≨︀","macr":"¯","male":"♂","malt":"✠","maltese":"✠","Map":"⤅","map":"↦","mapsto":"↦","mapstodown":"↧","mapstoleft":"↤","mapstoup":"↥","marker":"▮","mcomma":"⨩","Mcy":"М","mcy":"м","mdash":"—","mDDot":"∺","measuredangle":"∡","MediumSpace":" ","Mellintrf":"ℳ","Mfr":"𝔐","mfr":"𝔪","mho":"℧","micro":"µ","midast":"*","midcir":"⫰","mid":"∣","middot":"·","minusb":"⊟","minus":"−","minusd":"∸","minusdu":"⨪","MinusPlus":"∓","mlcp":"⫛","mldr":"…","mnplus":"∓","models":"⊧","Mopf":"𝕄","mopf":"𝕞","mp":"∓","mscr":"𝓂","Mscr":"ℳ","mstpos":"∾","Mu":"Μ","mu":"μ","multimap":"⊸","mumap":"⊸","nabla":"∇","Nacute":"Ń","nacute":"ń","nang":"∠⃒","nap":"≉","napE":"⩰̸","napid":"≋̸","napos":"ʼn","napprox":"≉","natural":"♮","naturals":"ℕ","natur":"♮","nbsp":" ","nbump":"≎̸","nbumpe":"≏̸","ncap":"⩃","Ncaron":"Ň","ncaron":"ň","Ncedil":"Ņ","ncedil":"ņ","ncong":"≇","ncongdot":"⩭̸","ncup":"⩂","Ncy":"Н","ncy":"н","ndash":"–","nearhk":"⤤","nearr":"↗","neArr":"⇗","nearrow":"↗","ne":"≠","nedot":"≐̸","NegativeMediumSpace":"​","NegativeThickSpace":"​","NegativeThinSpace":"​","NegativeVeryThinSpace":"​","nequiv":"≢","nesear":"⤨","nesim":"≂̸","NestedGreaterGreater":"≫","NestedLessLess":"≪","NewLine":"\\n","nexist":"∄","nexists":"∄","Nfr":"𝔑","nfr":"𝔫","ngE":"≧̸","nge":"≱","ngeq":"≱","ngeqq":"≧̸","ngeqslant":"⩾̸","nges":"⩾̸","nGg":"⋙̸","ngsim":"≵","nGt":"≫⃒","ngt":"≯","ngtr":"≯","nGtv":"≫̸","nharr":"↮","nhArr":"⇎","nhpar":"⫲","ni":"∋","nis":"⋼","nisd":"⋺","niv":"∋","NJcy":"Њ","njcy":"њ","nlarr":"↚","nlArr":"⇍","nldr":"‥","nlE":"≦̸","nle":"≰","nleftarrow":"↚","nLeftarrow":"⇍","nleftrightarrow":"↮","nLeftrightarrow":"⇎","nleq":"≰","nleqq":"≦̸","nleqslant":"⩽̸","nles":"⩽̸","nless":"≮","nLl":"⋘̸","nlsim":"≴","nLt":"≪⃒","nlt":"≮","nltri":"⋪","nltrie":"⋬","nLtv":"≪̸","nmid":"∤","NoBreak":"⁠","NonBreakingSpace":" ","nopf":"𝕟","Nopf":"ℕ","Not":"⫬","not":"¬","NotCongruent":"≢","NotCupCap":"≭","NotDoubleVerticalBar":"∦","NotElement":"∉","NotEqual":"≠","NotEqualTilde":"≂̸","NotExists":"∄","NotGreater":"≯","NotGreaterEqual":"≱","NotGreaterFullEqual":"≧̸","NotGreaterGreater":"≫̸","NotGreaterLess":"≹","NotGreaterSlantEqual":"⩾̸","NotGreaterTilde":"≵","NotHumpDownHump":"≎̸","NotHumpEqual":"≏̸","notin":"∉","notindot":"⋵̸","notinE":"⋹̸","notinva":"∉","notinvb":"⋷","notinvc":"⋶","NotLeftTriangleBar":"⧏̸","NotLeftTriangle":"⋪","NotLeftTriangleEqual":"⋬","NotLess":"≮","NotLessEqual":"≰","NotLessGreater":"≸","NotLessLess":"≪̸","NotLessSlantEqual":"⩽̸","NotLessTilde":"≴","NotNestedGreaterGreater":"⪢̸","NotNestedLessLess":"⪡̸","notni":"∌","notniva":"∌","notnivb":"⋾","notnivc":"⋽","NotPrecedes":"⊀","NotPrecedesEqual":"⪯̸","NotPrecedesSlantEqual":"⋠","NotReverseElement":"∌","NotRightTriangleBar":"⧐̸","NotRightTriangle":"⋫","NotRightTriangleEqual":"⋭","NotSquareSubset":"⊏̸","NotSquareSubsetEqual":"⋢","NotSquareSuperset":"⊐̸","NotSquareSupersetEqual":"⋣","NotSubset":"⊂⃒","NotSubsetEqual":"⊈","NotSucceeds":"⊁","NotSucceedsEqual":"⪰̸","NotSucceedsSlantEqual":"⋡","NotSucceedsTilde":"≿̸","NotSuperset":"⊃⃒","NotSupersetEqual":"⊉","NotTilde":"≁","NotTildeEqual":"≄","NotTildeFullEqual":"≇","NotTildeTilde":"≉","NotVerticalBar":"∤","nparallel":"∦","npar":"∦","nparsl":"⫽⃥","npart":"∂̸","npolint":"⨔","npr":"⊀","nprcue":"⋠","nprec":"⊀","npreceq":"⪯̸","npre":"⪯̸","nrarrc":"⤳̸","nrarr":"↛","nrArr":"⇏","nrarrw":"↝̸","nrightarrow":"↛","nRightarrow":"⇏","nrtri":"⋫","nrtrie":"⋭","nsc":"⊁","nsccue":"⋡","nsce":"⪰̸","Nscr":"𝒩","nscr":"𝓃","nshortmid":"∤","nshortparallel":"∦","nsim":"≁","nsime":"≄","nsimeq":"≄","nsmid":"∤","nspar":"∦","nsqsube":"⋢","nsqsupe":"⋣","nsub":"⊄","nsubE":"⫅̸","nsube":"⊈","nsubset":"⊂⃒","nsubseteq":"⊈","nsubseteqq":"⫅̸","nsucc":"⊁","nsucceq":"⪰̸","nsup":"⊅","nsupE":"⫆̸","nsupe":"⊉","nsupset":"⊃⃒","nsupseteq":"⊉","nsupseteqq":"⫆̸","ntgl":"≹","Ntilde":"Ñ","ntilde":"ñ","ntlg":"≸","ntriangleleft":"⋪","ntrianglelefteq":"⋬","ntriangleright":"⋫","ntrianglerighteq":"⋭","Nu":"Ν","nu":"ν","num":"#","numero":"№","numsp":" ","nvap":"≍⃒","nvdash":"⊬","nvDash":"⊭","nVdash":"⊮","nVDash":"⊯","nvge":"≥⃒","nvgt":">⃒","nvHarr":"⤄","nvinfin":"⧞","nvlArr":"⤂","nvle":"≤⃒","nvlt":"<⃒","nvltrie":"⊴⃒","nvrArr":"⤃","nvrtrie":"⊵⃒","nvsim":"∼⃒","nwarhk":"⤣","nwarr":"↖","nwArr":"⇖","nwarrow":"↖","nwnear":"⤧","Oacute":"Ó","oacute":"ó","oast":"⊛","Ocirc":"Ô","ocirc":"ô","ocir":"⊚","Ocy":"О","ocy":"о","odash":"⊝","Odblac":"Ő","odblac":"ő","odiv":"⨸","odot":"⊙","odsold":"⦼","OElig":"Œ","oelig":"œ","ofcir":"⦿","Ofr":"𝔒","ofr":"𝔬","ogon":"˛","Ograve":"Ò","ograve":"ò","ogt":"⧁","ohbar":"⦵","ohm":"Ω","oint":"∮","olarr":"↺","olcir":"⦾","olcross":"⦻","oline":"‾","olt":"⧀","Omacr":"Ō","omacr":"ō","Omega":"Ω","omega":"ω","Omicron":"Ο","omicron":"ο","omid":"⦶","ominus":"⊖","Oopf":"𝕆","oopf":"𝕠","opar":"⦷","OpenCurlyDoubleQuote":"“","OpenCurlyQuote":"‘","operp":"⦹","oplus":"⊕","orarr":"↻","Or":"⩔","or":"∨","ord":"⩝","order":"ℴ","orderof":"ℴ","ordf":"ª","ordm":"º","origof":"⊶","oror":"⩖","orslope":"⩗","orv":"⩛","oS":"Ⓢ","Oscr":"𝒪","oscr":"ℴ","Oslash":"Ø","oslash":"ø","osol":"⊘","Otilde":"Õ","otilde":"õ","otimesas":"⨶","Otimes":"⨷","otimes":"⊗","Ouml":"Ö","ouml":"ö","ovbar":"⌽","OverBar":"‾","OverBrace":"⏞","OverBracket":"⎴","OverParenthesis":"⏜","para":"¶","parallel":"∥","par":"∥","parsim":"⫳","parsl":"⫽","part":"∂","PartialD":"∂","Pcy":"П","pcy":"п","percnt":"%","period":".","permil":"‰","perp":"⊥","pertenk":"‱","Pfr":"𝔓","pfr":"𝔭","Phi":"Φ","phi":"φ","phiv":"ϕ","phmmat":"ℳ","phone":"☎","Pi":"Π","pi":"π","pitchfork":"⋔","piv":"ϖ","planck":"ℏ","planckh":"ℎ","plankv":"ℏ","plusacir":"⨣","plusb":"⊞","pluscir":"⨢","plus":"+","plusdo":"∔","plusdu":"⨥","pluse":"⩲","PlusMinus":"±","plusmn":"±","plussim":"⨦","plustwo":"⨧","pm":"±","Poincareplane":"ℌ","pointint":"⨕","popf":"𝕡","Popf":"ℙ","pound":"£","prap":"⪷","Pr":"⪻","pr":"≺","prcue":"≼","precapprox":"⪷","prec":"≺","preccurlyeq":"≼","Precedes":"≺","PrecedesEqual":"⪯","PrecedesSlantEqual":"≼","PrecedesTilde":"≾","preceq":"⪯","precnapprox":"⪹","precneqq":"⪵","precnsim":"⋨","pre":"⪯","prE":"⪳","precsim":"≾","prime":"′","Prime":"″","primes":"ℙ","prnap":"⪹","prnE":"⪵","prnsim":"⋨","prod":"∏","Product":"∏","profalar":"⌮","profline":"⌒","profsurf":"⌓","prop":"∝","Proportional":"∝","Proportion":"∷","propto":"∝","prsim":"≾","prurel":"⊰","Pscr":"𝒫","pscr":"𝓅","Psi":"Ψ","psi":"ψ","puncsp":" ","Qfr":"𝔔","qfr":"𝔮","qint":"⨌","qopf":"𝕢","Qopf":"ℚ","qprime":"⁗","Qscr":"𝒬","qscr":"𝓆","quaternions":"ℍ","quatint":"⨖","quest":"?","questeq":"≟","quot":"\\"","QUOT":"\\"","rAarr":"⇛","race":"∽̱","Racute":"Ŕ","racute":"ŕ","radic":"√","raemptyv":"⦳","rang":"⟩","Rang":"⟫","rangd":"⦒","range":"⦥","rangle":"⟩","raquo":"»","rarrap":"⥵","rarrb":"⇥","rarrbfs":"⤠","rarrc":"⤳","rarr":"→","Rarr":"↠","rArr":"⇒","rarrfs":"⤞","rarrhk":"↪","rarrlp":"↬","rarrpl":"⥅","rarrsim":"⥴","Rarrtl":"⤖","rarrtl":"↣","rarrw":"↝","ratail":"⤚","rAtail":"⤜","ratio":"∶","rationals":"ℚ","rbarr":"⤍","rBarr":"⤏","RBarr":"⤐","rbbrk":"❳","rbrace":"}","rbrack":"]","rbrke":"⦌","rbrksld":"⦎","rbrkslu":"⦐","Rcaron":"Ř","rcaron":"ř","Rcedil":"Ŗ","rcedil":"ŗ","rceil":"⌉","rcub":"}","Rcy":"Р","rcy":"р","rdca":"⤷","rdldhar":"⥩","rdquo":"”","rdquor":"”","rdsh":"↳","real":"ℜ","realine":"ℛ","realpart":"ℜ","reals":"ℝ","Re":"ℜ","rect":"▭","reg":"®","REG":"®","ReverseElement":"∋","ReverseEquilibrium":"⇋","ReverseUpEquilibrium":"⥯","rfisht":"⥽","rfloor":"⌋","rfr":"𝔯","Rfr":"ℜ","rHar":"⥤","rhard":"⇁","rharu":"⇀","rharul":"⥬","Rho":"Ρ","rho":"ρ","rhov":"ϱ","RightAngleBracket":"⟩","RightArrowBar":"⇥","rightarrow":"→","RightArrow":"→","Rightarrow":"⇒","RightArrowLeftArrow":"⇄","rightarrowtail":"↣","RightCeiling":"⌉","RightDoubleBracket":"⟧","RightDownTeeVector":"⥝","RightDownVectorBar":"⥕","RightDownVector":"⇂","RightFloor":"⌋","rightharpoondown":"⇁","rightharpoonup":"⇀","rightleftarrows":"⇄","rightleftharpoons":"⇌","rightrightarrows":"⇉","rightsquigarrow":"↝","RightTeeArrow":"↦","RightTee":"⊢","RightTeeVector":"⥛","rightthreetimes":"⋌","RightTriangleBar":"⧐","RightTriangle":"⊳","RightTriangleEqual":"⊵","RightUpDownVector":"⥏","RightUpTeeVector":"⥜","RightUpVectorBar":"⥔","RightUpVector":"↾","RightVectorBar":"⥓","RightVector":"⇀","ring":"˚","risingdotseq":"≓","rlarr":"⇄","rlhar":"⇌","rlm":"‏","rmoustache":"⎱","rmoust":"⎱","rnmid":"⫮","roang":"⟭","roarr":"⇾","robrk":"⟧","ropar":"⦆","ropf":"𝕣","Ropf":"ℝ","roplus":"⨮","rotimes":"⨵","RoundImplies":"⥰","rpar":")","rpargt":"⦔","rppolint":"⨒","rrarr":"⇉","Rrightarrow":"⇛","rsaquo":"›","rscr":"𝓇","Rscr":"ℛ","rsh":"↱","Rsh":"↱","rsqb":"]","rsquo":"’","rsquor":"’","rthree":"⋌","rtimes":"⋊","rtri":"▹","rtrie":"⊵","rtrif":"▸","rtriltri":"⧎","RuleDelayed":"⧴","ruluhar":"⥨","rx":"℞","Sacute":"Ś","sacute":"ś","sbquo":"‚","scap":"⪸","Scaron":"Š","scaron":"š","Sc":"⪼","sc":"≻","sccue":"≽","sce":"⪰","scE":"⪴","Scedil":"Ş","scedil":"ş","Scirc":"Ŝ","scirc":"ŝ","scnap":"⪺","scnE":"⪶","scnsim":"⋩","scpolint":"⨓","scsim":"≿","Scy":"С","scy":"с","sdotb":"⊡","sdot":"⋅","sdote":"⩦","searhk":"⤥","searr":"↘","seArr":"⇘","searrow":"↘","sect":"§","semi":";","seswar":"⤩","setminus":"∖","setmn":"∖","sext":"✶","Sfr":"𝔖","sfr":"𝔰","sfrown":"⌢","sharp":"♯","SHCHcy":"Щ","shchcy":"щ","SHcy":"Ш","shcy":"ш","ShortDownArrow":"↓","ShortLeftArrow":"←","shortmid":"∣","shortparallel":"∥","ShortRightArrow":"→","ShortUpArrow":"↑","shy":"­","Sigma":"Σ","sigma":"σ","sigmaf":"ς","sigmav":"ς","sim":"∼","simdot":"⩪","sime":"≃","simeq":"≃","simg":"⪞","simgE":"⪠","siml":"⪝","simlE":"⪟","simne":"≆","simplus":"⨤","simrarr":"⥲","slarr":"←","SmallCircle":"∘","smallsetminus":"∖","smashp":"⨳","smeparsl":"⧤","smid":"∣","smile":"⌣","smt":"⪪","smte":"⪬","smtes":"⪬︀","SOFTcy":"Ь","softcy":"ь","solbar":"⌿","solb":"⧄","sol":"/","Sopf":"𝕊","sopf":"𝕤","spades":"♠","spadesuit":"♠","spar":"∥","sqcap":"⊓","sqcaps":"⊓︀","sqcup":"⊔","sqcups":"⊔︀","Sqrt":"√","sqsub":"⊏","sqsube":"⊑","sqsubset":"⊏","sqsubseteq":"⊑","sqsup":"⊐","sqsupe":"⊒","sqsupset":"⊐","sqsupseteq":"⊒","square":"□","Square":"□","SquareIntersection":"⊓","SquareSubset":"⊏","SquareSubsetEqual":"⊑","SquareSuperset":"⊐","SquareSupersetEqual":"⊒","SquareUnion":"⊔","squarf":"▪","squ":"□","squf":"▪","srarr":"→","Sscr":"𝒮","sscr":"𝓈","ssetmn":"∖","ssmile":"⌣","sstarf":"⋆","Star":"⋆","star":"☆","starf":"★","straightepsilon":"ϵ","straightphi":"ϕ","strns":"¯","sub":"⊂","Sub":"⋐","subdot":"⪽","subE":"⫅","sube":"⊆","subedot":"⫃","submult":"⫁","subnE":"⫋","subne":"⊊","subplus":"⪿","subrarr":"⥹","subset":"⊂","Subset":"⋐","subseteq":"⊆","subseteqq":"⫅","SubsetEqual":"⊆","subsetneq":"⊊","subsetneqq":"⫋","subsim":"⫇","subsub":"⫕","subsup":"⫓","succapprox":"⪸","succ":"≻","succcurlyeq":"≽","Succeeds":"≻","SucceedsEqual":"⪰","SucceedsSlantEqual":"≽","SucceedsTilde":"≿","succeq":"⪰","succnapprox":"⪺","succneqq":"⪶","succnsim":"⋩","succsim":"≿","SuchThat":"∋","sum":"∑","Sum":"∑","sung":"♪","sup1":"¹","sup2":"²","sup3":"³","sup":"⊃","Sup":"⋑","supdot":"⪾","supdsub":"⫘","supE":"⫆","supe":"⊇","supedot":"⫄","Superset":"⊃","SupersetEqual":"⊇","suphsol":"⟉","suphsub":"⫗","suplarr":"⥻","supmult":"⫂","supnE":"⫌","supne":"⊋","supplus":"⫀","supset":"⊃","Supset":"⋑","supseteq":"⊇","supseteqq":"⫆","supsetneq":"⊋","supsetneqq":"⫌","supsim":"⫈","supsub":"⫔","supsup":"⫖","swarhk":"⤦","swarr":"↙","swArr":"⇙","swarrow":"↙","swnwar":"⤪","szlig":"ß","Tab":"\\t","target":"⌖","Tau":"Τ","tau":"τ","tbrk":"⎴","Tcaron":"Ť","tcaron":"ť","Tcedil":"Ţ","tcedil":"ţ","Tcy":"Т","tcy":"т","tdot":"⃛","telrec":"⌕","Tfr":"𝔗","tfr":"𝔱","there4":"∴","therefore":"∴","Therefore":"∴","Theta":"Θ","theta":"θ","thetasym":"ϑ","thetav":"ϑ","thickapprox":"≈","thicksim":"∼","ThickSpace":"  ","ThinSpace":" ","thinsp":" ","thkap":"≈","thksim":"∼","THORN":"Þ","thorn":"þ","tilde":"˜","Tilde":"∼","TildeEqual":"≃","TildeFullEqual":"≅","TildeTilde":"≈","timesbar":"⨱","timesb":"⊠","times":"×","timesd":"⨰","tint":"∭","toea":"⤨","topbot":"⌶","topcir":"⫱","top":"⊤","Topf":"𝕋","topf":"𝕥","topfork":"⫚","tosa":"⤩","tprime":"‴","trade":"™","TRADE":"™","triangle":"▵","triangledown":"▿","triangleleft":"◃","trianglelefteq":"⊴","triangleq":"≜","triangleright":"▹","trianglerighteq":"⊵","tridot":"◬","trie":"≜","triminus":"⨺","TripleDot":"⃛","triplus":"⨹","trisb":"⧍","tritime":"⨻","trpezium":"⏢","Tscr":"𝒯","tscr":"𝓉","TScy":"Ц","tscy":"ц","TSHcy":"Ћ","tshcy":"ћ","Tstrok":"Ŧ","tstrok":"ŧ","twixt":"≬","twoheadleftarrow":"↞","twoheadrightarrow":"↠","Uacute":"Ú","uacute":"ú","uarr":"↑","Uarr":"↟","uArr":"⇑","Uarrocir":"⥉","Ubrcy":"Ў","ubrcy":"ў","Ubreve":"Ŭ","ubreve":"ŭ","Ucirc":"Û","ucirc":"û","Ucy":"У","ucy":"у","udarr":"⇅","Udblac":"Ű","udblac":"ű","udhar":"⥮","ufisht":"⥾","Ufr":"𝔘","ufr":"𝔲","Ugrave":"Ù","ugrave":"ù","uHar":"⥣","uharl":"↿","uharr":"↾","uhblk":"▀","ulcorn":"⌜","ulcorner":"⌜","ulcrop":"⌏","ultri":"◸","Umacr":"Ū","umacr":"ū","uml":"¨","UnderBar":"_","UnderBrace":"⏟","UnderBracket":"⎵","UnderParenthesis":"⏝","Union":"⋃","UnionPlus":"⊎","Uogon":"Ų","uogon":"ų","Uopf":"𝕌","uopf":"𝕦","UpArrowBar":"⤒","uparrow":"↑","UpArrow":"↑","Uparrow":"⇑","UpArrowDownArrow":"⇅","updownarrow":"↕","UpDownArrow":"↕","Updownarrow":"⇕","UpEquilibrium":"⥮","upharpoonleft":"↿","upharpoonright":"↾","uplus":"⊎","UpperLeftArrow":"↖","UpperRightArrow":"↗","upsi":"υ","Upsi":"ϒ","upsih":"ϒ","Upsilon":"Υ","upsilon":"υ","UpTeeArrow":"↥","UpTee":"⊥","upuparrows":"⇈","urcorn":"⌝","urcorner":"⌝","urcrop":"⌎","Uring":"Ů","uring":"ů","urtri":"◹","Uscr":"𝒰","uscr":"𝓊","utdot":"⋰","Utilde":"Ũ","utilde":"ũ","utri":"▵","utrif":"▴","uuarr":"⇈","Uuml":"Ü","uuml":"ü","uwangle":"⦧","vangrt":"⦜","varepsilon":"ϵ","varkappa":"ϰ","varnothing":"∅","varphi":"ϕ","varpi":"ϖ","varpropto":"∝","varr":"↕","vArr":"⇕","varrho":"ϱ","varsigma":"ς","varsubsetneq":"⊊︀","varsubsetneqq":"⫋︀","varsupsetneq":"⊋︀","varsupsetneqq":"⫌︀","vartheta":"ϑ","vartriangleleft":"⊲","vartriangleright":"⊳","vBar":"⫨","Vbar":"⫫","vBarv":"⫩","Vcy":"В","vcy":"в","vdash":"⊢","vDash":"⊨","Vdash":"⊩","VDash":"⊫","Vdashl":"⫦","veebar":"⊻","vee":"∨","Vee":"⋁","veeeq":"≚","vellip":"⋮","verbar":"|","Verbar":"‖","vert":"|","Vert":"‖","VerticalBar":"∣","VerticalLine":"|","VerticalSeparator":"❘","VerticalTilde":"≀","VeryThinSpace":" ","Vfr":"𝔙","vfr":"𝔳","vltri":"⊲","vnsub":"⊂⃒","vnsup":"⊃⃒","Vopf":"𝕍","vopf":"𝕧","vprop":"∝","vrtri":"⊳","Vscr":"𝒱","vscr":"𝓋","vsubnE":"⫋︀","vsubne":"⊊︀","vsupnE":"⫌︀","vsupne":"⊋︀","Vvdash":"⊪","vzigzag":"⦚","Wcirc":"Ŵ","wcirc":"ŵ","wedbar":"⩟","wedge":"∧","Wedge":"⋀","wedgeq":"≙","weierp":"℘","Wfr":"𝔚","wfr":"𝔴","Wopf":"𝕎","wopf":"𝕨","wp":"℘","wr":"≀","wreath":"≀","Wscr":"𝒲","wscr":"𝓌","xcap":"⋂","xcirc":"◯","xcup":"⋃","xdtri":"▽","Xfr":"𝔛","xfr":"𝔵","xharr":"⟷","xhArr":"⟺","Xi":"Ξ","xi":"ξ","xlarr":"⟵","xlArr":"⟸","xmap":"⟼","xnis":"⋻","xodot":"⨀","Xopf":"𝕏","xopf":"𝕩","xoplus":"⨁","xotime":"⨂","xrarr":"⟶","xrArr":"⟹","Xscr":"𝒳","xscr":"𝓍","xsqcup":"⨆","xuplus":"⨄","xutri":"△","xvee":"⋁","xwedge":"⋀","Yacute":"Ý","yacute":"ý","YAcy":"Я","yacy":"я","Ycirc":"Ŷ","ycirc":"ŷ","Ycy":"Ы","ycy":"ы","yen":"¥","Yfr":"𝔜","yfr":"𝔶","YIcy":"Ї","yicy":"ї","Yopf":"𝕐","yopf":"𝕪","Yscr":"𝒴","yscr":"𝓎","YUcy":"Ю","yucy":"ю","yuml":"ÿ","Yuml":"Ÿ","Zacute":"Ź","zacute":"ź","Zcaron":"Ž","zcaron":"ž","Zcy":"З","zcy":"з","Zdot":"Ż","zdot":"ż","zeetrf":"ℨ","ZeroWidthSpace":"​","Zeta":"Ζ","zeta":"ζ","zfr":"𝔷","Zfr":"ℨ","ZHcy":"Ж","zhcy":"ж","zigrarr":"⇝","zopf":"𝕫","Zopf":"ℤ","Zscr":"𝒵","zscr":"𝓏","zwj":"‍","zwnj":"‌"}')},29591:function(e){"use strict";e.exports=JSON.parse('{"Aacute":"Á","aacute":"á","Acirc":"Â","acirc":"â","acute":"´","AElig":"Æ","aelig":"æ","Agrave":"À","agrave":"à","amp":"&","AMP":"&","Aring":"Å","aring":"å","Atilde":"Ã","atilde":"ã","Auml":"Ä","auml":"ä","brvbar":"¦","Ccedil":"Ç","ccedil":"ç","cedil":"¸","cent":"¢","copy":"©","COPY":"©","curren":"¤","deg":"°","divide":"÷","Eacute":"É","eacute":"é","Ecirc":"Ê","ecirc":"ê","Egrave":"È","egrave":"è","ETH":"Ð","eth":"ð","Euml":"Ë","euml":"ë","frac12":"½","frac14":"¼","frac34":"¾","gt":">","GT":">","Iacute":"Í","iacute":"í","Icirc":"Î","icirc":"î","iexcl":"¡","Igrave":"Ì","igrave":"ì","iquest":"¿","Iuml":"Ï","iuml":"ï","laquo":"«","lt":"<","LT":"<","macr":"¯","micro":"µ","middot":"·","nbsp":" ","not":"¬","Ntilde":"Ñ","ntilde":"ñ","Oacute":"Ó","oacute":"ó","Ocirc":"Ô","ocirc":"ô","Ograve":"Ò","ograve":"ò","ordf":"ª","ordm":"º","Oslash":"Ø","oslash":"ø","Otilde":"Õ","otilde":"õ","Ouml":"Ö","ouml":"ö","para":"¶","plusmn":"±","pound":"£","quot":"\\"","QUOT":"\\"","raquo":"»","reg":"®","REG":"®","sect":"§","shy":"­","sup1":"¹","sup2":"²","sup3":"³","szlig":"ß","THORN":"Þ","thorn":"þ","times":"×","Uacute":"Ú","uacute":"ú","Ucirc":"Û","ucirc":"û","Ugrave":"Ù","ugrave":"ù","uml":"¨","Uuml":"Ü","uuml":"ü","Yacute":"Ý","yacute":"ý","yen":"¥","yuml":"ÿ"}')},2586:function(e){"use strict";e.exports=JSON.parse('{"amp":"&","apos":"\'","gt":">","lt":"<","quot":"\\""}')},42968:function(e){"use strict";e.exports=JSON.parse('{"0":65533,"128":8364,"130":8218,"131":402,"132":8222,"133":8230,"134":8224,"135":8225,"136":710,"137":8240,"138":352,"139":8249,"140":338,"142":381,"145":8216,"146":8217,"147":8220,"148":8221,"149":8226,"150":8211,"151":8212,"152":732,"153":8482,"154":353,"155":8250,"156":339,"158":382,"159":376}')},23042:function(e){"use strict";e.exports=JSON.parse('{"Aacute":"Á","aacute":"á","Abreve":"Ă","abreve":"ă","ac":"∾","acd":"∿","acE":"∾̳","Acirc":"Â","acirc":"â","acute":"´","Acy":"А","acy":"а","AElig":"Æ","aelig":"æ","af":"⁡","Afr":"𝔄","afr":"𝔞","Agrave":"À","agrave":"à","alefsym":"ℵ","aleph":"ℵ","Alpha":"Α","alpha":"α","Amacr":"Ā","amacr":"ā","amalg":"⨿","amp":"&","AMP":"&","andand":"⩕","And":"⩓","and":"∧","andd":"⩜","andslope":"⩘","andv":"⩚","ang":"∠","ange":"⦤","angle":"∠","angmsdaa":"⦨","angmsdab":"⦩","angmsdac":"⦪","angmsdad":"⦫","angmsdae":"⦬","angmsdaf":"⦭","angmsdag":"⦮","angmsdah":"⦯","angmsd":"∡","angrt":"∟","angrtvb":"⊾","angrtvbd":"⦝","angsph":"∢","angst":"Å","angzarr":"⍼","Aogon":"Ą","aogon":"ą","Aopf":"𝔸","aopf":"𝕒","apacir":"⩯","ap":"≈","apE":"⩰","ape":"≊","apid":"≋","apos":"\'","ApplyFunction":"⁡","approx":"≈","approxeq":"≊","Aring":"Å","aring":"å","Ascr":"𝒜","ascr":"𝒶","Assign":"≔","ast":"*","asymp":"≈","asympeq":"≍","Atilde":"Ã","atilde":"ã","Auml":"Ä","auml":"ä","awconint":"∳","awint":"⨑","backcong":"≌","backepsilon":"϶","backprime":"‵","backsim":"∽","backsimeq":"⋍","Backslash":"∖","Barv":"⫧","barvee":"⊽","barwed":"⌅","Barwed":"⌆","barwedge":"⌅","bbrk":"⎵","bbrktbrk":"⎶","bcong":"≌","Bcy":"Б","bcy":"б","bdquo":"„","becaus":"∵","because":"∵","Because":"∵","bemptyv":"⦰","bepsi":"϶","bernou":"ℬ","Bernoullis":"ℬ","Beta":"Β","beta":"β","beth":"ℶ","between":"≬","Bfr":"𝔅","bfr":"𝔟","bigcap":"⋂","bigcirc":"◯","bigcup":"⋃","bigodot":"⨀","bigoplus":"⨁","bigotimes":"⨂","bigsqcup":"⨆","bigstar":"★","bigtriangledown":"▽","bigtriangleup":"△","biguplus":"⨄","bigvee":"⋁","bigwedge":"⋀","bkarow":"⤍","blacklozenge":"⧫","blacksquare":"▪","blacktriangle":"▴","blacktriangledown":"▾","blacktriangleleft":"◂","blacktriangleright":"▸","blank":"␣","blk12":"▒","blk14":"░","blk34":"▓","block":"█","bne":"=⃥","bnequiv":"≡⃥","bNot":"⫭","bnot":"⌐","Bopf":"𝔹","bopf":"𝕓","bot":"⊥","bottom":"⊥","bowtie":"⋈","boxbox":"⧉","boxdl":"┐","boxdL":"╕","boxDl":"╖","boxDL":"╗","boxdr":"┌","boxdR":"╒","boxDr":"╓","boxDR":"╔","boxh":"─","boxH":"═","boxhd":"┬","boxHd":"╤","boxhD":"╥","boxHD":"╦","boxhu":"┴","boxHu":"╧","boxhU":"╨","boxHU":"╩","boxminus":"⊟","boxplus":"⊞","boxtimes":"⊠","boxul":"┘","boxuL":"╛","boxUl":"╜","boxUL":"╝","boxur":"└","boxuR":"╘","boxUr":"╙","boxUR":"╚","boxv":"│","boxV":"║","boxvh":"┼","boxvH":"╪","boxVh":"╫","boxVH":"╬","boxvl":"┤","boxvL":"╡","boxVl":"╢","boxVL":"╣","boxvr":"├","boxvR":"╞","boxVr":"╟","boxVR":"╠","bprime":"‵","breve":"˘","Breve":"˘","brvbar":"¦","bscr":"𝒷","Bscr":"ℬ","bsemi":"⁏","bsim":"∽","bsime":"⋍","bsolb":"⧅","bsol":"\\\\","bsolhsub":"⟈","bull":"•","bullet":"•","bump":"≎","bumpE":"⪮","bumpe":"≏","Bumpeq":"≎","bumpeq":"≏","Cacute":"Ć","cacute":"ć","capand":"⩄","capbrcup":"⩉","capcap":"⩋","cap":"∩","Cap":"⋒","capcup":"⩇","capdot":"⩀","CapitalDifferentialD":"ⅅ","caps":"∩︀","caret":"⁁","caron":"ˇ","Cayleys":"ℭ","ccaps":"⩍","Ccaron":"Č","ccaron":"č","Ccedil":"Ç","ccedil":"ç","Ccirc":"Ĉ","ccirc":"ĉ","Cconint":"∰","ccups":"⩌","ccupssm":"⩐","Cdot":"Ċ","cdot":"ċ","cedil":"¸","Cedilla":"¸","cemptyv":"⦲","cent":"¢","centerdot":"·","CenterDot":"·","cfr":"𝔠","Cfr":"ℭ","CHcy":"Ч","chcy":"ч","check":"✓","checkmark":"✓","Chi":"Χ","chi":"χ","circ":"ˆ","circeq":"≗","circlearrowleft":"↺","circlearrowright":"↻","circledast":"⊛","circledcirc":"⊚","circleddash":"⊝","CircleDot":"⊙","circledR":"®","circledS":"Ⓢ","CircleMinus":"⊖","CirclePlus":"⊕","CircleTimes":"⊗","cir":"○","cirE":"⧃","cire":"≗","cirfnint":"⨐","cirmid":"⫯","cirscir":"⧂","ClockwiseContourIntegral":"∲","CloseCurlyDoubleQuote":"”","CloseCurlyQuote":"’","clubs":"♣","clubsuit":"♣","colon":":","Colon":"∷","Colone":"⩴","colone":"≔","coloneq":"≔","comma":",","commat":"@","comp":"∁","compfn":"∘","complement":"∁","complexes":"ℂ","cong":"≅","congdot":"⩭","Congruent":"≡","conint":"∮","Conint":"∯","ContourIntegral":"∮","copf":"𝕔","Copf":"ℂ","coprod":"∐","Coproduct":"∐","copy":"©","COPY":"©","copysr":"℗","CounterClockwiseContourIntegral":"∳","crarr":"↵","cross":"✗","Cross":"⨯","Cscr":"𝒞","cscr":"𝒸","csub":"⫏","csube":"⫑","csup":"⫐","csupe":"⫒","ctdot":"⋯","cudarrl":"⤸","cudarrr":"⤵","cuepr":"⋞","cuesc":"⋟","cularr":"↶","cularrp":"⤽","cupbrcap":"⩈","cupcap":"⩆","CupCap":"≍","cup":"∪","Cup":"⋓","cupcup":"⩊","cupdot":"⊍","cupor":"⩅","cups":"∪︀","curarr":"↷","curarrm":"⤼","curlyeqprec":"⋞","curlyeqsucc":"⋟","curlyvee":"⋎","curlywedge":"⋏","curren":"¤","curvearrowleft":"↶","curvearrowright":"↷","cuvee":"⋎","cuwed":"⋏","cwconint":"∲","cwint":"∱","cylcty":"⌭","dagger":"†","Dagger":"‡","daleth":"ℸ","darr":"↓","Darr":"↡","dArr":"⇓","dash":"‐","Dashv":"⫤","dashv":"⊣","dbkarow":"⤏","dblac":"˝","Dcaron":"Ď","dcaron":"ď","Dcy":"Д","dcy":"д","ddagger":"‡","ddarr":"⇊","DD":"ⅅ","dd":"ⅆ","DDotrahd":"⤑","ddotseq":"⩷","deg":"°","Del":"∇","Delta":"Δ","delta":"δ","demptyv":"⦱","dfisht":"⥿","Dfr":"𝔇","dfr":"𝔡","dHar":"⥥","dharl":"⇃","dharr":"⇂","DiacriticalAcute":"´","DiacriticalDot":"˙","DiacriticalDoubleAcute":"˝","DiacriticalGrave":"`","DiacriticalTilde":"˜","diam":"⋄","diamond":"⋄","Diamond":"⋄","diamondsuit":"♦","diams":"♦","die":"¨","DifferentialD":"ⅆ","digamma":"ϝ","disin":"⋲","div":"÷","divide":"÷","divideontimes":"⋇","divonx":"⋇","DJcy":"Ђ","djcy":"ђ","dlcorn":"⌞","dlcrop":"⌍","dollar":"$","Dopf":"𝔻","dopf":"𝕕","Dot":"¨","dot":"˙","DotDot":"⃜","doteq":"≐","doteqdot":"≑","DotEqual":"≐","dotminus":"∸","dotplus":"∔","dotsquare":"⊡","doublebarwedge":"⌆","DoubleContourIntegral":"∯","DoubleDot":"¨","DoubleDownArrow":"⇓","DoubleLeftArrow":"⇐","DoubleLeftRightArrow":"⇔","DoubleLeftTee":"⫤","DoubleLongLeftArrow":"⟸","DoubleLongLeftRightArrow":"⟺","DoubleLongRightArrow":"⟹","DoubleRightArrow":"⇒","DoubleRightTee":"⊨","DoubleUpArrow":"⇑","DoubleUpDownArrow":"⇕","DoubleVerticalBar":"∥","DownArrowBar":"⤓","downarrow":"↓","DownArrow":"↓","Downarrow":"⇓","DownArrowUpArrow":"⇵","DownBreve":"̑","downdownarrows":"⇊","downharpoonleft":"⇃","downharpoonright":"⇂","DownLeftRightVector":"⥐","DownLeftTeeVector":"⥞","DownLeftVectorBar":"⥖","DownLeftVector":"↽","DownRightTeeVector":"⥟","DownRightVectorBar":"⥗","DownRightVector":"⇁","DownTeeArrow":"↧","DownTee":"⊤","drbkarow":"⤐","drcorn":"⌟","drcrop":"⌌","Dscr":"𝒟","dscr":"𝒹","DScy":"Ѕ","dscy":"ѕ","dsol":"⧶","Dstrok":"Đ","dstrok":"đ","dtdot":"⋱","dtri":"▿","dtrif":"▾","duarr":"⇵","duhar":"⥯","dwangle":"⦦","DZcy":"Џ","dzcy":"џ","dzigrarr":"⟿","Eacute":"É","eacute":"é","easter":"⩮","Ecaron":"Ě","ecaron":"ě","Ecirc":"Ê","ecirc":"ê","ecir":"≖","ecolon":"≕","Ecy":"Э","ecy":"э","eDDot":"⩷","Edot":"Ė","edot":"ė","eDot":"≑","ee":"ⅇ","efDot":"≒","Efr":"𝔈","efr":"𝔢","eg":"⪚","Egrave":"È","egrave":"è","egs":"⪖","egsdot":"⪘","el":"⪙","Element":"∈","elinters":"⏧","ell":"ℓ","els":"⪕","elsdot":"⪗","Emacr":"Ē","emacr":"ē","empty":"∅","emptyset":"∅","EmptySmallSquare":"◻","emptyv":"∅","EmptyVerySmallSquare":"▫","emsp13":" ","emsp14":" ","emsp":" ","ENG":"Ŋ","eng":"ŋ","ensp":" ","Eogon":"Ę","eogon":"ę","Eopf":"𝔼","eopf":"𝕖","epar":"⋕","eparsl":"⧣","eplus":"⩱","epsi":"ε","Epsilon":"Ε","epsilon":"ε","epsiv":"ϵ","eqcirc":"≖","eqcolon":"≕","eqsim":"≂","eqslantgtr":"⪖","eqslantless":"⪕","Equal":"⩵","equals":"=","EqualTilde":"≂","equest":"≟","Equilibrium":"⇌","equiv":"≡","equivDD":"⩸","eqvparsl":"⧥","erarr":"⥱","erDot":"≓","escr":"ℯ","Escr":"ℰ","esdot":"≐","Esim":"⩳","esim":"≂","Eta":"Η","eta":"η","ETH":"Ð","eth":"ð","Euml":"Ë","euml":"ë","euro":"€","excl":"!","exist":"∃","Exists":"∃","expectation":"ℰ","exponentiale":"ⅇ","ExponentialE":"ⅇ","fallingdotseq":"≒","Fcy":"Ф","fcy":"ф","female":"♀","ffilig":"ffi","fflig":"ff","ffllig":"ffl","Ffr":"𝔉","ffr":"𝔣","filig":"fi","FilledSmallSquare":"◼","FilledVerySmallSquare":"▪","fjlig":"fj","flat":"♭","fllig":"fl","fltns":"▱","fnof":"ƒ","Fopf":"𝔽","fopf":"𝕗","forall":"∀","ForAll":"∀","fork":"⋔","forkv":"⫙","Fouriertrf":"ℱ","fpartint":"⨍","frac12":"½","frac13":"⅓","frac14":"¼","frac15":"⅕","frac16":"⅙","frac18":"⅛","frac23":"⅔","frac25":"⅖","frac34":"¾","frac35":"⅗","frac38":"⅜","frac45":"⅘","frac56":"⅚","frac58":"⅝","frac78":"⅞","frasl":"⁄","frown":"⌢","fscr":"𝒻","Fscr":"ℱ","gacute":"ǵ","Gamma":"Γ","gamma":"γ","Gammad":"Ϝ","gammad":"ϝ","gap":"⪆","Gbreve":"Ğ","gbreve":"ğ","Gcedil":"Ģ","Gcirc":"Ĝ","gcirc":"ĝ","Gcy":"Г","gcy":"г","Gdot":"Ġ","gdot":"ġ","ge":"≥","gE":"≧","gEl":"⪌","gel":"⋛","geq":"≥","geqq":"≧","geqslant":"⩾","gescc":"⪩","ges":"⩾","gesdot":"⪀","gesdoto":"⪂","gesdotol":"⪄","gesl":"⋛︀","gesles":"⪔","Gfr":"𝔊","gfr":"𝔤","gg":"≫","Gg":"⋙","ggg":"⋙","gimel":"ℷ","GJcy":"Ѓ","gjcy":"ѓ","gla":"⪥","gl":"≷","glE":"⪒","glj":"⪤","gnap":"⪊","gnapprox":"⪊","gne":"⪈","gnE":"≩","gneq":"⪈","gneqq":"≩","gnsim":"⋧","Gopf":"𝔾","gopf":"𝕘","grave":"`","GreaterEqual":"≥","GreaterEqualLess":"⋛","GreaterFullEqual":"≧","GreaterGreater":"⪢","GreaterLess":"≷","GreaterSlantEqual":"⩾","GreaterTilde":"≳","Gscr":"𝒢","gscr":"ℊ","gsim":"≳","gsime":"⪎","gsiml":"⪐","gtcc":"⪧","gtcir":"⩺","gt":">","GT":">","Gt":"≫","gtdot":"⋗","gtlPar":"⦕","gtquest":"⩼","gtrapprox":"⪆","gtrarr":"⥸","gtrdot":"⋗","gtreqless":"⋛","gtreqqless":"⪌","gtrless":"≷","gtrsim":"≳","gvertneqq":"≩︀","gvnE":"≩︀","Hacek":"ˇ","hairsp":" ","half":"½","hamilt":"ℋ","HARDcy":"Ъ","hardcy":"ъ","harrcir":"⥈","harr":"↔","hArr":"⇔","harrw":"↭","Hat":"^","hbar":"ℏ","Hcirc":"Ĥ","hcirc":"ĥ","hearts":"♥","heartsuit":"♥","hellip":"…","hercon":"⊹","hfr":"𝔥","Hfr":"ℌ","HilbertSpace":"ℋ","hksearow":"⤥","hkswarow":"⤦","hoarr":"⇿","homtht":"∻","hookleftarrow":"↩","hookrightarrow":"↪","hopf":"𝕙","Hopf":"ℍ","horbar":"―","HorizontalLine":"─","hscr":"𝒽","Hscr":"ℋ","hslash":"ℏ","Hstrok":"Ħ","hstrok":"ħ","HumpDownHump":"≎","HumpEqual":"≏","hybull":"⁃","hyphen":"‐","Iacute":"Í","iacute":"í","ic":"⁣","Icirc":"Î","icirc":"î","Icy":"И","icy":"и","Idot":"İ","IEcy":"Е","iecy":"е","iexcl":"¡","iff":"⇔","ifr":"𝔦","Ifr":"ℑ","Igrave":"Ì","igrave":"ì","ii":"ⅈ","iiiint":"⨌","iiint":"∭","iinfin":"⧜","iiota":"℩","IJlig":"IJ","ijlig":"ij","Imacr":"Ī","imacr":"ī","image":"ℑ","ImaginaryI":"ⅈ","imagline":"ℐ","imagpart":"ℑ","imath":"ı","Im":"ℑ","imof":"⊷","imped":"Ƶ","Implies":"⇒","incare":"℅","in":"∈","infin":"∞","infintie":"⧝","inodot":"ı","intcal":"⊺","int":"∫","Int":"∬","integers":"ℤ","Integral":"∫","intercal":"⊺","Intersection":"⋂","intlarhk":"⨗","intprod":"⨼","InvisibleComma":"⁣","InvisibleTimes":"⁢","IOcy":"Ё","iocy":"ё","Iogon":"Į","iogon":"į","Iopf":"𝕀","iopf":"𝕚","Iota":"Ι","iota":"ι","iprod":"⨼","iquest":"¿","iscr":"𝒾","Iscr":"ℐ","isin":"∈","isindot":"⋵","isinE":"⋹","isins":"⋴","isinsv":"⋳","isinv":"∈","it":"⁢","Itilde":"Ĩ","itilde":"ĩ","Iukcy":"І","iukcy":"і","Iuml":"Ï","iuml":"ï","Jcirc":"Ĵ","jcirc":"ĵ","Jcy":"Й","jcy":"й","Jfr":"𝔍","jfr":"𝔧","jmath":"ȷ","Jopf":"𝕁","jopf":"𝕛","Jscr":"𝒥","jscr":"𝒿","Jsercy":"Ј","jsercy":"ј","Jukcy":"Є","jukcy":"є","Kappa":"Κ","kappa":"κ","kappav":"ϰ","Kcedil":"Ķ","kcedil":"ķ","Kcy":"К","kcy":"к","Kfr":"𝔎","kfr":"𝔨","kgreen":"ĸ","KHcy":"Х","khcy":"х","KJcy":"Ќ","kjcy":"ќ","Kopf":"𝕂","kopf":"𝕜","Kscr":"𝒦","kscr":"𝓀","lAarr":"⇚","Lacute":"Ĺ","lacute":"ĺ","laemptyv":"⦴","lagran":"ℒ","Lambda":"Λ","lambda":"λ","lang":"⟨","Lang":"⟪","langd":"⦑","langle":"⟨","lap":"⪅","Laplacetrf":"ℒ","laquo":"«","larrb":"⇤","larrbfs":"⤟","larr":"←","Larr":"↞","lArr":"⇐","larrfs":"⤝","larrhk":"↩","larrlp":"↫","larrpl":"⤹","larrsim":"⥳","larrtl":"↢","latail":"⤙","lAtail":"⤛","lat":"⪫","late":"⪭","lates":"⪭︀","lbarr":"⤌","lBarr":"⤎","lbbrk":"❲","lbrace":"{","lbrack":"[","lbrke":"⦋","lbrksld":"⦏","lbrkslu":"⦍","Lcaron":"Ľ","lcaron":"ľ","Lcedil":"Ļ","lcedil":"ļ","lceil":"⌈","lcub":"{","Lcy":"Л","lcy":"л","ldca":"⤶","ldquo":"“","ldquor":"„","ldrdhar":"⥧","ldrushar":"⥋","ldsh":"↲","le":"≤","lE":"≦","LeftAngleBracket":"⟨","LeftArrowBar":"⇤","leftarrow":"←","LeftArrow":"←","Leftarrow":"⇐","LeftArrowRightArrow":"⇆","leftarrowtail":"↢","LeftCeiling":"⌈","LeftDoubleBracket":"⟦","LeftDownTeeVector":"⥡","LeftDownVectorBar":"⥙","LeftDownVector":"⇃","LeftFloor":"⌊","leftharpoondown":"↽","leftharpoonup":"↼","leftleftarrows":"⇇","leftrightarrow":"↔","LeftRightArrow":"↔","Leftrightarrow":"⇔","leftrightarrows":"⇆","leftrightharpoons":"⇋","leftrightsquigarrow":"↭","LeftRightVector":"⥎","LeftTeeArrow":"↤","LeftTee":"⊣","LeftTeeVector":"⥚","leftthreetimes":"⋋","LeftTriangleBar":"⧏","LeftTriangle":"⊲","LeftTriangleEqual":"⊴","LeftUpDownVector":"⥑","LeftUpTeeVector":"⥠","LeftUpVectorBar":"⥘","LeftUpVector":"↿","LeftVectorBar":"⥒","LeftVector":"↼","lEg":"⪋","leg":"⋚","leq":"≤","leqq":"≦","leqslant":"⩽","lescc":"⪨","les":"⩽","lesdot":"⩿","lesdoto":"⪁","lesdotor":"⪃","lesg":"⋚︀","lesges":"⪓","lessapprox":"⪅","lessdot":"⋖","lesseqgtr":"⋚","lesseqqgtr":"⪋","LessEqualGreater":"⋚","LessFullEqual":"≦","LessGreater":"≶","lessgtr":"≶","LessLess":"⪡","lesssim":"≲","LessSlantEqual":"⩽","LessTilde":"≲","lfisht":"⥼","lfloor":"⌊","Lfr":"𝔏","lfr":"𝔩","lg":"≶","lgE":"⪑","lHar":"⥢","lhard":"↽","lharu":"↼","lharul":"⥪","lhblk":"▄","LJcy":"Љ","ljcy":"љ","llarr":"⇇","ll":"≪","Ll":"⋘","llcorner":"⌞","Lleftarrow":"⇚","llhard":"⥫","lltri":"◺","Lmidot":"Ŀ","lmidot":"ŀ","lmoustache":"⎰","lmoust":"⎰","lnap":"⪉","lnapprox":"⪉","lne":"⪇","lnE":"≨","lneq":"⪇","lneqq":"≨","lnsim":"⋦","loang":"⟬","loarr":"⇽","lobrk":"⟦","longleftarrow":"⟵","LongLeftArrow":"⟵","Longleftarrow":"⟸","longleftrightarrow":"⟷","LongLeftRightArrow":"⟷","Longleftrightarrow":"⟺","longmapsto":"⟼","longrightarrow":"⟶","LongRightArrow":"⟶","Longrightarrow":"⟹","looparrowleft":"↫","looparrowright":"↬","lopar":"⦅","Lopf":"𝕃","lopf":"𝕝","loplus":"⨭","lotimes":"⨴","lowast":"∗","lowbar":"_","LowerLeftArrow":"↙","LowerRightArrow":"↘","loz":"◊","lozenge":"◊","lozf":"⧫","lpar":"(","lparlt":"⦓","lrarr":"⇆","lrcorner":"⌟","lrhar":"⇋","lrhard":"⥭","lrm":"‎","lrtri":"⊿","lsaquo":"‹","lscr":"𝓁","Lscr":"ℒ","lsh":"↰","Lsh":"↰","lsim":"≲","lsime":"⪍","lsimg":"⪏","lsqb":"[","lsquo":"‘","lsquor":"‚","Lstrok":"Ł","lstrok":"ł","ltcc":"⪦","ltcir":"⩹","lt":"<","LT":"<","Lt":"≪","ltdot":"⋖","lthree":"⋋","ltimes":"⋉","ltlarr":"⥶","ltquest":"⩻","ltri":"◃","ltrie":"⊴","ltrif":"◂","ltrPar":"⦖","lurdshar":"⥊","luruhar":"⥦","lvertneqq":"≨︀","lvnE":"≨︀","macr":"¯","male":"♂","malt":"✠","maltese":"✠","Map":"⤅","map":"↦","mapsto":"↦","mapstodown":"↧","mapstoleft":"↤","mapstoup":"↥","marker":"▮","mcomma":"⨩","Mcy":"М","mcy":"м","mdash":"—","mDDot":"∺","measuredangle":"∡","MediumSpace":" ","Mellintrf":"ℳ","Mfr":"𝔐","mfr":"𝔪","mho":"℧","micro":"µ","midast":"*","midcir":"⫰","mid":"∣","middot":"·","minusb":"⊟","minus":"−","minusd":"∸","minusdu":"⨪","MinusPlus":"∓","mlcp":"⫛","mldr":"…","mnplus":"∓","models":"⊧","Mopf":"𝕄","mopf":"𝕞","mp":"∓","mscr":"𝓂","Mscr":"ℳ","mstpos":"∾","Mu":"Μ","mu":"μ","multimap":"⊸","mumap":"⊸","nabla":"∇","Nacute":"Ń","nacute":"ń","nang":"∠⃒","nap":"≉","napE":"⩰̸","napid":"≋̸","napos":"ʼn","napprox":"≉","natural":"♮","naturals":"ℕ","natur":"♮","nbsp":" ","nbump":"≎̸","nbumpe":"≏̸","ncap":"⩃","Ncaron":"Ň","ncaron":"ň","Ncedil":"Ņ","ncedil":"ņ","ncong":"≇","ncongdot":"⩭̸","ncup":"⩂","Ncy":"Н","ncy":"н","ndash":"–","nearhk":"⤤","nearr":"↗","neArr":"⇗","nearrow":"↗","ne":"≠","nedot":"≐̸","NegativeMediumSpace":"​","NegativeThickSpace":"​","NegativeThinSpace":"​","NegativeVeryThinSpace":"​","nequiv":"≢","nesear":"⤨","nesim":"≂̸","NestedGreaterGreater":"≫","NestedLessLess":"≪","NewLine":"\\n","nexist":"∄","nexists":"∄","Nfr":"𝔑","nfr":"𝔫","ngE":"≧̸","nge":"≱","ngeq":"≱","ngeqq":"≧̸","ngeqslant":"⩾̸","nges":"⩾̸","nGg":"⋙̸","ngsim":"≵","nGt":"≫⃒","ngt":"≯","ngtr":"≯","nGtv":"≫̸","nharr":"↮","nhArr":"⇎","nhpar":"⫲","ni":"∋","nis":"⋼","nisd":"⋺","niv":"∋","NJcy":"Њ","njcy":"њ","nlarr":"↚","nlArr":"⇍","nldr":"‥","nlE":"≦̸","nle":"≰","nleftarrow":"↚","nLeftarrow":"⇍","nleftrightarrow":"↮","nLeftrightarrow":"⇎","nleq":"≰","nleqq":"≦̸","nleqslant":"⩽̸","nles":"⩽̸","nless":"≮","nLl":"⋘̸","nlsim":"≴","nLt":"≪⃒","nlt":"≮","nltri":"⋪","nltrie":"⋬","nLtv":"≪̸","nmid":"∤","NoBreak":"⁠","NonBreakingSpace":" ","nopf":"𝕟","Nopf":"ℕ","Not":"⫬","not":"¬","NotCongruent":"≢","NotCupCap":"≭","NotDoubleVerticalBar":"∦","NotElement":"∉","NotEqual":"≠","NotEqualTilde":"≂̸","NotExists":"∄","NotGreater":"≯","NotGreaterEqual":"≱","NotGreaterFullEqual":"≧̸","NotGreaterGreater":"≫̸","NotGreaterLess":"≹","NotGreaterSlantEqual":"⩾̸","NotGreaterTilde":"≵","NotHumpDownHump":"≎̸","NotHumpEqual":"≏̸","notin":"∉","notindot":"⋵̸","notinE":"⋹̸","notinva":"∉","notinvb":"⋷","notinvc":"⋶","NotLeftTriangleBar":"⧏̸","NotLeftTriangle":"⋪","NotLeftTriangleEqual":"⋬","NotLess":"≮","NotLessEqual":"≰","NotLessGreater":"≸","NotLessLess":"≪̸","NotLessSlantEqual":"⩽̸","NotLessTilde":"≴","NotNestedGreaterGreater":"⪢̸","NotNestedLessLess":"⪡̸","notni":"∌","notniva":"∌","notnivb":"⋾","notnivc":"⋽","NotPrecedes":"⊀","NotPrecedesEqual":"⪯̸","NotPrecedesSlantEqual":"⋠","NotReverseElement":"∌","NotRightTriangleBar":"⧐̸","NotRightTriangle":"⋫","NotRightTriangleEqual":"⋭","NotSquareSubset":"⊏̸","NotSquareSubsetEqual":"⋢","NotSquareSuperset":"⊐̸","NotSquareSupersetEqual":"⋣","NotSubset":"⊂⃒","NotSubsetEqual":"⊈","NotSucceeds":"⊁","NotSucceedsEqual":"⪰̸","NotSucceedsSlantEqual":"⋡","NotSucceedsTilde":"≿̸","NotSuperset":"⊃⃒","NotSupersetEqual":"⊉","NotTilde":"≁","NotTildeEqual":"≄","NotTildeFullEqual":"≇","NotTildeTilde":"≉","NotVerticalBar":"∤","nparallel":"∦","npar":"∦","nparsl":"⫽⃥","npart":"∂̸","npolint":"⨔","npr":"⊀","nprcue":"⋠","nprec":"⊀","npreceq":"⪯̸","npre":"⪯̸","nrarrc":"⤳̸","nrarr":"↛","nrArr":"⇏","nrarrw":"↝̸","nrightarrow":"↛","nRightarrow":"⇏","nrtri":"⋫","nrtrie":"⋭","nsc":"⊁","nsccue":"⋡","nsce":"⪰̸","Nscr":"𝒩","nscr":"𝓃","nshortmid":"∤","nshortparallel":"∦","nsim":"≁","nsime":"≄","nsimeq":"≄","nsmid":"∤","nspar":"∦","nsqsube":"⋢","nsqsupe":"⋣","nsub":"⊄","nsubE":"⫅̸","nsube":"⊈","nsubset":"⊂⃒","nsubseteq":"⊈","nsubseteqq":"⫅̸","nsucc":"⊁","nsucceq":"⪰̸","nsup":"⊅","nsupE":"⫆̸","nsupe":"⊉","nsupset":"⊃⃒","nsupseteq":"⊉","nsupseteqq":"⫆̸","ntgl":"≹","Ntilde":"Ñ","ntilde":"ñ","ntlg":"≸","ntriangleleft":"⋪","ntrianglelefteq":"⋬","ntriangleright":"⋫","ntrianglerighteq":"⋭","Nu":"Ν","nu":"ν","num":"#","numero":"№","numsp":" ","nvap":"≍⃒","nvdash":"⊬","nvDash":"⊭","nVdash":"⊮","nVDash":"⊯","nvge":"≥⃒","nvgt":">⃒","nvHarr":"⤄","nvinfin":"⧞","nvlArr":"⤂","nvle":"≤⃒","nvlt":"<⃒","nvltrie":"⊴⃒","nvrArr":"⤃","nvrtrie":"⊵⃒","nvsim":"∼⃒","nwarhk":"⤣","nwarr":"↖","nwArr":"⇖","nwarrow":"↖","nwnear":"⤧","Oacute":"Ó","oacute":"ó","oast":"⊛","Ocirc":"Ô","ocirc":"ô","ocir":"⊚","Ocy":"О","ocy":"о","odash":"⊝","Odblac":"Ő","odblac":"ő","odiv":"⨸","odot":"⊙","odsold":"⦼","OElig":"Œ","oelig":"œ","ofcir":"⦿","Ofr":"𝔒","ofr":"𝔬","ogon":"˛","Ograve":"Ò","ograve":"ò","ogt":"⧁","ohbar":"⦵","ohm":"Ω","oint":"∮","olarr":"↺","olcir":"⦾","olcross":"⦻","oline":"‾","olt":"⧀","Omacr":"Ō","omacr":"ō","Omega":"Ω","omega":"ω","Omicron":"Ο","omicron":"ο","omid":"⦶","ominus":"⊖","Oopf":"𝕆","oopf":"𝕠","opar":"⦷","OpenCurlyDoubleQuote":"“","OpenCurlyQuote":"‘","operp":"⦹","oplus":"⊕","orarr":"↻","Or":"⩔","or":"∨","ord":"⩝","order":"ℴ","orderof":"ℴ","ordf":"ª","ordm":"º","origof":"⊶","oror":"⩖","orslope":"⩗","orv":"⩛","oS":"Ⓢ","Oscr":"𝒪","oscr":"ℴ","Oslash":"Ø","oslash":"ø","osol":"⊘","Otilde":"Õ","otilde":"õ","otimesas":"⨶","Otimes":"⨷","otimes":"⊗","Ouml":"Ö","ouml":"ö","ovbar":"⌽","OverBar":"‾","OverBrace":"⏞","OverBracket":"⎴","OverParenthesis":"⏜","para":"¶","parallel":"∥","par":"∥","parsim":"⫳","parsl":"⫽","part":"∂","PartialD":"∂","Pcy":"П","pcy":"п","percnt":"%","period":".","permil":"‰","perp":"⊥","pertenk":"‱","Pfr":"𝔓","pfr":"𝔭","Phi":"Φ","phi":"φ","phiv":"ϕ","phmmat":"ℳ","phone":"☎","Pi":"Π","pi":"π","pitchfork":"⋔","piv":"ϖ","planck":"ℏ","planckh":"ℎ","plankv":"ℏ","plusacir":"⨣","plusb":"⊞","pluscir":"⨢","plus":"+","plusdo":"∔","plusdu":"⨥","pluse":"⩲","PlusMinus":"±","plusmn":"±","plussim":"⨦","plustwo":"⨧","pm":"±","Poincareplane":"ℌ","pointint":"⨕","popf":"𝕡","Popf":"ℙ","pound":"£","prap":"⪷","Pr":"⪻","pr":"≺","prcue":"≼","precapprox":"⪷","prec":"≺","preccurlyeq":"≼","Precedes":"≺","PrecedesEqual":"⪯","PrecedesSlantEqual":"≼","PrecedesTilde":"≾","preceq":"⪯","precnapprox":"⪹","precneqq":"⪵","precnsim":"⋨","pre":"⪯","prE":"⪳","precsim":"≾","prime":"′","Prime":"″","primes":"ℙ","prnap":"⪹","prnE":"⪵","prnsim":"⋨","prod":"∏","Product":"∏","profalar":"⌮","profline":"⌒","profsurf":"⌓","prop":"∝","Proportional":"∝","Proportion":"∷","propto":"∝","prsim":"≾","prurel":"⊰","Pscr":"𝒫","pscr":"𝓅","Psi":"Ψ","psi":"ψ","puncsp":" ","Qfr":"𝔔","qfr":"𝔮","qint":"⨌","qopf":"𝕢","Qopf":"ℚ","qprime":"⁗","Qscr":"𝒬","qscr":"𝓆","quaternions":"ℍ","quatint":"⨖","quest":"?","questeq":"≟","quot":"\\"","QUOT":"\\"","rAarr":"⇛","race":"∽̱","Racute":"Ŕ","racute":"ŕ","radic":"√","raemptyv":"⦳","rang":"⟩","Rang":"⟫","rangd":"⦒","range":"⦥","rangle":"⟩","raquo":"»","rarrap":"⥵","rarrb":"⇥","rarrbfs":"⤠","rarrc":"⤳","rarr":"→","Rarr":"↠","rArr":"⇒","rarrfs":"⤞","rarrhk":"↪","rarrlp":"↬","rarrpl":"⥅","rarrsim":"⥴","Rarrtl":"⤖","rarrtl":"↣","rarrw":"↝","ratail":"⤚","rAtail":"⤜","ratio":"∶","rationals":"ℚ","rbarr":"⤍","rBarr":"⤏","RBarr":"⤐","rbbrk":"❳","rbrace":"}","rbrack":"]","rbrke":"⦌","rbrksld":"⦎","rbrkslu":"⦐","Rcaron":"Ř","rcaron":"ř","Rcedil":"Ŗ","rcedil":"ŗ","rceil":"⌉","rcub":"}","Rcy":"Р","rcy":"р","rdca":"⤷","rdldhar":"⥩","rdquo":"”","rdquor":"”","rdsh":"↳","real":"ℜ","realine":"ℛ","realpart":"ℜ","reals":"ℝ","Re":"ℜ","rect":"▭","reg":"®","REG":"®","ReverseElement":"∋","ReverseEquilibrium":"⇋","ReverseUpEquilibrium":"⥯","rfisht":"⥽","rfloor":"⌋","rfr":"𝔯","Rfr":"ℜ","rHar":"⥤","rhard":"⇁","rharu":"⇀","rharul":"⥬","Rho":"Ρ","rho":"ρ","rhov":"ϱ","RightAngleBracket":"⟩","RightArrowBar":"⇥","rightarrow":"→","RightArrow":"→","Rightarrow":"⇒","RightArrowLeftArrow":"⇄","rightarrowtail":"↣","RightCeiling":"⌉","RightDoubleBracket":"⟧","RightDownTeeVector":"⥝","RightDownVectorBar":"⥕","RightDownVector":"⇂","RightFloor":"⌋","rightharpoondown":"⇁","rightharpoonup":"⇀","rightleftarrows":"⇄","rightleftharpoons":"⇌","rightrightarrows":"⇉","rightsquigarrow":"↝","RightTeeArrow":"↦","RightTee":"⊢","RightTeeVector":"⥛","rightthreetimes":"⋌","RightTriangleBar":"⧐","RightTriangle":"⊳","RightTriangleEqual":"⊵","RightUpDownVector":"⥏","RightUpTeeVector":"⥜","RightUpVectorBar":"⥔","RightUpVector":"↾","RightVectorBar":"⥓","RightVector":"⇀","ring":"˚","risingdotseq":"≓","rlarr":"⇄","rlhar":"⇌","rlm":"‏","rmoustache":"⎱","rmoust":"⎱","rnmid":"⫮","roang":"⟭","roarr":"⇾","robrk":"⟧","ropar":"⦆","ropf":"𝕣","Ropf":"ℝ","roplus":"⨮","rotimes":"⨵","RoundImplies":"⥰","rpar":")","rpargt":"⦔","rppolint":"⨒","rrarr":"⇉","Rrightarrow":"⇛","rsaquo":"›","rscr":"𝓇","Rscr":"ℛ","rsh":"↱","Rsh":"↱","rsqb":"]","rsquo":"’","rsquor":"’","rthree":"⋌","rtimes":"⋊","rtri":"▹","rtrie":"⊵","rtrif":"▸","rtriltri":"⧎","RuleDelayed":"⧴","ruluhar":"⥨","rx":"℞","Sacute":"Ś","sacute":"ś","sbquo":"‚","scap":"⪸","Scaron":"Š","scaron":"š","Sc":"⪼","sc":"≻","sccue":"≽","sce":"⪰","scE":"⪴","Scedil":"Ş","scedil":"ş","Scirc":"Ŝ","scirc":"ŝ","scnap":"⪺","scnE":"⪶","scnsim":"⋩","scpolint":"⨓","scsim":"≿","Scy":"С","scy":"с","sdotb":"⊡","sdot":"⋅","sdote":"⩦","searhk":"⤥","searr":"↘","seArr":"⇘","searrow":"↘","sect":"§","semi":";","seswar":"⤩","setminus":"∖","setmn":"∖","sext":"✶","Sfr":"𝔖","sfr":"𝔰","sfrown":"⌢","sharp":"♯","SHCHcy":"Щ","shchcy":"щ","SHcy":"Ш","shcy":"ш","ShortDownArrow":"↓","ShortLeftArrow":"←","shortmid":"∣","shortparallel":"∥","ShortRightArrow":"→","ShortUpArrow":"↑","shy":"­","Sigma":"Σ","sigma":"σ","sigmaf":"ς","sigmav":"ς","sim":"∼","simdot":"⩪","sime":"≃","simeq":"≃","simg":"⪞","simgE":"⪠","siml":"⪝","simlE":"⪟","simne":"≆","simplus":"⨤","simrarr":"⥲","slarr":"←","SmallCircle":"∘","smallsetminus":"∖","smashp":"⨳","smeparsl":"⧤","smid":"∣","smile":"⌣","smt":"⪪","smte":"⪬","smtes":"⪬︀","SOFTcy":"Ь","softcy":"ь","solbar":"⌿","solb":"⧄","sol":"/","Sopf":"𝕊","sopf":"𝕤","spades":"♠","spadesuit":"♠","spar":"∥","sqcap":"⊓","sqcaps":"⊓︀","sqcup":"⊔","sqcups":"⊔︀","Sqrt":"√","sqsub":"⊏","sqsube":"⊑","sqsubset":"⊏","sqsubseteq":"⊑","sqsup":"⊐","sqsupe":"⊒","sqsupset":"⊐","sqsupseteq":"⊒","square":"□","Square":"□","SquareIntersection":"⊓","SquareSubset":"⊏","SquareSubsetEqual":"⊑","SquareSuperset":"⊐","SquareSupersetEqual":"⊒","SquareUnion":"⊔","squarf":"▪","squ":"□","squf":"▪","srarr":"→","Sscr":"𝒮","sscr":"𝓈","ssetmn":"∖","ssmile":"⌣","sstarf":"⋆","Star":"⋆","star":"☆","starf":"★","straightepsilon":"ϵ","straightphi":"ϕ","strns":"¯","sub":"⊂","Sub":"⋐","subdot":"⪽","subE":"⫅","sube":"⊆","subedot":"⫃","submult":"⫁","subnE":"⫋","subne":"⊊","subplus":"⪿","subrarr":"⥹","subset":"⊂","Subset":"⋐","subseteq":"⊆","subseteqq":"⫅","SubsetEqual":"⊆","subsetneq":"⊊","subsetneqq":"⫋","subsim":"⫇","subsub":"⫕","subsup":"⫓","succapprox":"⪸","succ":"≻","succcurlyeq":"≽","Succeeds":"≻","SucceedsEqual":"⪰","SucceedsSlantEqual":"≽","SucceedsTilde":"≿","succeq":"⪰","succnapprox":"⪺","succneqq":"⪶","succnsim":"⋩","succsim":"≿","SuchThat":"∋","sum":"∑","Sum":"∑","sung":"♪","sup1":"¹","sup2":"²","sup3":"³","sup":"⊃","Sup":"⋑","supdot":"⪾","supdsub":"⫘","supE":"⫆","supe":"⊇","supedot":"⫄","Superset":"⊃","SupersetEqual":"⊇","suphsol":"⟉","suphsub":"⫗","suplarr":"⥻","supmult":"⫂","supnE":"⫌","supne":"⊋","supplus":"⫀","supset":"⊃","Supset":"⋑","supseteq":"⊇","supseteqq":"⫆","supsetneq":"⊋","supsetneqq":"⫌","supsim":"⫈","supsub":"⫔","supsup":"⫖","swarhk":"⤦","swarr":"↙","swArr":"⇙","swarrow":"↙","swnwar":"⤪","szlig":"ß","Tab":"\\t","target":"⌖","Tau":"Τ","tau":"τ","tbrk":"⎴","Tcaron":"Ť","tcaron":"ť","Tcedil":"Ţ","tcedil":"ţ","Tcy":"Т","tcy":"т","tdot":"⃛","telrec":"⌕","Tfr":"𝔗","tfr":"𝔱","there4":"∴","therefore":"∴","Therefore":"∴","Theta":"Θ","theta":"θ","thetasym":"ϑ","thetav":"ϑ","thickapprox":"≈","thicksim":"∼","ThickSpace":"  ","ThinSpace":" ","thinsp":" ","thkap":"≈","thksim":"∼","THORN":"Þ","thorn":"þ","tilde":"˜","Tilde":"∼","TildeEqual":"≃","TildeFullEqual":"≅","TildeTilde":"≈","timesbar":"⨱","timesb":"⊠","times":"×","timesd":"⨰","tint":"∭","toea":"⤨","topbot":"⌶","topcir":"⫱","top":"⊤","Topf":"𝕋","topf":"𝕥","topfork":"⫚","tosa":"⤩","tprime":"‴","trade":"™","TRADE":"™","triangle":"▵","triangledown":"▿","triangleleft":"◃","trianglelefteq":"⊴","triangleq":"≜","triangleright":"▹","trianglerighteq":"⊵","tridot":"◬","trie":"≜","triminus":"⨺","TripleDot":"⃛","triplus":"⨹","trisb":"⧍","tritime":"⨻","trpezium":"⏢","Tscr":"𝒯","tscr":"𝓉","TScy":"Ц","tscy":"ц","TSHcy":"Ћ","tshcy":"ћ","Tstrok":"Ŧ","tstrok":"ŧ","twixt":"≬","twoheadleftarrow":"↞","twoheadrightarrow":"↠","Uacute":"Ú","uacute":"ú","uarr":"↑","Uarr":"↟","uArr":"⇑","Uarrocir":"⥉","Ubrcy":"Ў","ubrcy":"ў","Ubreve":"Ŭ","ubreve":"ŭ","Ucirc":"Û","ucirc":"û","Ucy":"У","ucy":"у","udarr":"⇅","Udblac":"Ű","udblac":"ű","udhar":"⥮","ufisht":"⥾","Ufr":"𝔘","ufr":"𝔲","Ugrave":"Ù","ugrave":"ù","uHar":"⥣","uharl":"↿","uharr":"↾","uhblk":"▀","ulcorn":"⌜","ulcorner":"⌜","ulcrop":"⌏","ultri":"◸","Umacr":"Ū","umacr":"ū","uml":"¨","UnderBar":"_","UnderBrace":"⏟","UnderBracket":"⎵","UnderParenthesis":"⏝","Union":"⋃","UnionPlus":"⊎","Uogon":"Ų","uogon":"ų","Uopf":"𝕌","uopf":"𝕦","UpArrowBar":"⤒","uparrow":"↑","UpArrow":"↑","Uparrow":"⇑","UpArrowDownArrow":"⇅","updownarrow":"↕","UpDownArrow":"↕","Updownarrow":"⇕","UpEquilibrium":"⥮","upharpoonleft":"↿","upharpoonright":"↾","uplus":"⊎","UpperLeftArrow":"↖","UpperRightArrow":"↗","upsi":"υ","Upsi":"ϒ","upsih":"ϒ","Upsilon":"Υ","upsilon":"υ","UpTeeArrow":"↥","UpTee":"⊥","upuparrows":"⇈","urcorn":"⌝","urcorner":"⌝","urcrop":"⌎","Uring":"Ů","uring":"ů","urtri":"◹","Uscr":"𝒰","uscr":"𝓊","utdot":"⋰","Utilde":"Ũ","utilde":"ũ","utri":"▵","utrif":"▴","uuarr":"⇈","Uuml":"Ü","uuml":"ü","uwangle":"⦧","vangrt":"⦜","varepsilon":"ϵ","varkappa":"ϰ","varnothing":"∅","varphi":"ϕ","varpi":"ϖ","varpropto":"∝","varr":"↕","vArr":"⇕","varrho":"ϱ","varsigma":"ς","varsubsetneq":"⊊︀","varsubsetneqq":"⫋︀","varsupsetneq":"⊋︀","varsupsetneqq":"⫌︀","vartheta":"ϑ","vartriangleleft":"⊲","vartriangleright":"⊳","vBar":"⫨","Vbar":"⫫","vBarv":"⫩","Vcy":"В","vcy":"в","vdash":"⊢","vDash":"⊨","Vdash":"⊩","VDash":"⊫","Vdashl":"⫦","veebar":"⊻","vee":"∨","Vee":"⋁","veeeq":"≚","vellip":"⋮","verbar":"|","Verbar":"‖","vert":"|","Vert":"‖","VerticalBar":"∣","VerticalLine":"|","VerticalSeparator":"❘","VerticalTilde":"≀","VeryThinSpace":" ","Vfr":"𝔙","vfr":"𝔳","vltri":"⊲","vnsub":"⊂⃒","vnsup":"⊃⃒","Vopf":"𝕍","vopf":"𝕧","vprop":"∝","vrtri":"⊳","Vscr":"𝒱","vscr":"𝓋","vsubnE":"⫋︀","vsubne":"⊊︀","vsupnE":"⫌︀","vsupne":"⊋︀","Vvdash":"⊪","vzigzag":"⦚","Wcirc":"Ŵ","wcirc":"ŵ","wedbar":"⩟","wedge":"∧","Wedge":"⋀","wedgeq":"≙","weierp":"℘","Wfr":"𝔚","wfr":"𝔴","Wopf":"𝕎","wopf":"𝕨","wp":"℘","wr":"≀","wreath":"≀","Wscr":"𝒲","wscr":"𝓌","xcap":"⋂","xcirc":"◯","xcup":"⋃","xdtri":"▽","Xfr":"𝔛","xfr":"𝔵","xharr":"⟷","xhArr":"⟺","Xi":"Ξ","xi":"ξ","xlarr":"⟵","xlArr":"⟸","xmap":"⟼","xnis":"⋻","xodot":"⨀","Xopf":"𝕏","xopf":"𝕩","xoplus":"⨁","xotime":"⨂","xrarr":"⟶","xrArr":"⟹","Xscr":"𝒳","xscr":"𝓍","xsqcup":"⨆","xuplus":"⨄","xutri":"△","xvee":"⋁","xwedge":"⋀","Yacute":"Ý","yacute":"ý","YAcy":"Я","yacy":"я","Ycirc":"Ŷ","ycirc":"ŷ","Ycy":"Ы","ycy":"ы","yen":"¥","Yfr":"𝔜","yfr":"𝔶","YIcy":"Ї","yicy":"ї","Yopf":"𝕐","yopf":"𝕪","Yscr":"𝒴","yscr":"𝓎","YUcy":"Ю","yucy":"ю","yuml":"ÿ","Yuml":"Ÿ","Zacute":"Ź","zacute":"ź","Zcaron":"Ž","zcaron":"ž","Zcy":"З","zcy":"з","Zdot":"Ż","zdot":"ż","zeetrf":"ℨ","ZeroWidthSpace":"​","Zeta":"Ζ","zeta":"ζ","zfr":"𝔷","Zfr":"ℨ","ZHcy":"Ж","zhcy":"ж","zigrarr":"⇝","zopf":"𝕫","Zopf":"ℤ","Zscr":"𝒵","zscr":"𝓏","zwj":"‍","zwnj":"‌"}')},60317:function(e){"use strict";e.exports=JSON.parse('{"Aacute":"Á","aacute":"á","Acirc":"Â","acirc":"â","acute":"´","AElig":"Æ","aelig":"æ","Agrave":"À","agrave":"à","amp":"&","AMP":"&","Aring":"Å","aring":"å","Atilde":"Ã","atilde":"ã","Auml":"Ä","auml":"ä","brvbar":"¦","Ccedil":"Ç","ccedil":"ç","cedil":"¸","cent":"¢","copy":"©","COPY":"©","curren":"¤","deg":"°","divide":"÷","Eacute":"É","eacute":"é","Ecirc":"Ê","ecirc":"ê","Egrave":"È","egrave":"è","ETH":"Ð","eth":"ð","Euml":"Ë","euml":"ë","frac12":"½","frac14":"¼","frac34":"¾","gt":">","GT":">","Iacute":"Í","iacute":"í","Icirc":"Î","icirc":"î","iexcl":"¡","Igrave":"Ì","igrave":"ì","iquest":"¿","Iuml":"Ï","iuml":"ï","laquo":"«","lt":"<","LT":"<","macr":"¯","micro":"µ","middot":"·","nbsp":" ","not":"¬","Ntilde":"Ñ","ntilde":"ñ","Oacute":"Ó","oacute":"ó","Ocirc":"Ô","ocirc":"ô","Ograve":"Ò","ograve":"ò","ordf":"ª","ordm":"º","Oslash":"Ø","oslash":"ø","Otilde":"Õ","otilde":"õ","Ouml":"Ö","ouml":"ö","para":"¶","plusmn":"±","pound":"£","quot":"\\"","QUOT":"\\"","raquo":"»","reg":"®","REG":"®","sect":"§","shy":"­","sup1":"¹","sup2":"²","sup3":"³","szlig":"ß","THORN":"Þ","thorn":"þ","times":"×","Uacute":"Ú","uacute":"ú","Ucirc":"Û","ucirc":"û","Ugrave":"Ù","ugrave":"ù","uml":"¨","Uuml":"Ü","uuml":"ü","Yacute":"Ý","yacute":"ý","yen":"¥","yuml":"ÿ"}')},51373:function(e){"use strict";e.exports=JSON.parse('{"amp":"&","apos":"\'","gt":">","lt":"<","quot":"\\""}')},5778:function(e){"use strict";e.exports=JSON.parse('{"Play":"تشغيل","Pause":"إيقاف","Current Time":"الوقت الحالي","Duration":"مدة","Remaining Time":"الوقت المتبقي","Stream Type":"نوع التيار","LIVE":"مباشر","Loaded":"تم التحميل","Progress":"التقدم","Fullscreen":"ملء الشاشة","Exit Fullscreen":"تعطيل ملء الشاشة","Mute":"صامت","Unmute":"غير الصامت","Playback Rate":"معدل التشغيل","Subtitles":"الترجمة","subtitles off":"إيقاف الترجمة","Captions":"التعليقات","captions off":"إيقاف التعليقات","Chapters":"فصول","You aborted the media playback":"لقد ألغيت تشغيل الفيديو","A network error caused the media download to fail part-way.":"تسبب خطأ في الشبكة بفشل تحميل الفيديو بالكامل.","The media could not be loaded, either because the server or network failed or because the format is not supported.":"لا يمكن تحميل الفيديو بسبب فشل في الخادوم أو الشبكة ، أو فشل بسبب عدم إمكانية قراءة تنسيق الفيديو.","The media playback was aborted due to a corruption problem or because the media used features your browser did not support.":"تم إيقاف تشغيل الفيديو بسبب مشكلة فساد أو لأن الفيديو المستخدم يستخدم ميزات غير مدعومة من متصفحك.","No compatible source was found for this media.":"فشل العثور على أي مصدر متوافق مع هذا الفيديو.","Play Video":"تشغيل الفيديو","Close":"أغلق","Modal Window":"نافذة مشروطة","This is a modal window":"هذه نافذة مشروطة","This modal can be closed by pressing the Escape key or activating the close button.":"يمكن غلق هذه النافذة المشروطة عن طريق الضغط على زر الخروج أو تفعيل زر الإغلاق",", opens captions settings dialog":", تفتح نافذة  خيارات التعليقات",", opens subtitles settings dialog":", تفتح نافذة  خيارات الترجمة",", selected":", مختار","Audio Player":"مشغل الصوت","Video Player":"مشغل الفيديو","Replay":"إعادة التشغيل","Seek to live, currently behind live":"ذهاب إلى نقطة البث المباشر، متأخر عن البث المباشر حاليًا","Seek to live, currently playing live":"ذهاب إلى نقطة البث المباشر، البث المباشر قيد التشغيل حاليًا","Progress Bar":"شريط التقدم","progress bar timing: currentTime={1} duration={2}":"{1} من {2}","Descriptions":"الأوصاف","descriptions off":"إخفاء الأوصاف","Audio Track":"المسار الصوتي","Volume Level":"مستوى الصوت","The media is encrypted and we do not have the keys to decrypt it.":"الوسائط مشفرة وليس لدينا الرموز اللازمة لفك شفرتها.","Close Modal Dialog":"إغلاق مربع الحوار المشروط",", opens descriptions settings dialog":"، يفتح مربع حوار إعدادات الأوصاف","captions settings":"إعدادات التعليقات التوضيحية","subtitles settings":"إعدادات الترجمات","descriptions settings":"إعدادات الأوصاف","Text":"النص","White":"أبيض","Black":"أسود","Red":"أحمر","Green":"أخضر","Blue":"أزرق","Yellow":"أصفر","Magenta":"أرجواني","Cyan":"أزرق سماوي","Background":"الخلفية","Window":"نافذة","Transparent":"شفاف","Semi-Transparent":"نصف شفاف","Opaque":"معتم","Font Size":"حجم الخط","Text Edge Style":"نمط حواف النص","None":"لا شيء","Raised":"بارز","Depressed":"منخفض","Uniform":"منتظم","Dropshadow":"ظل خلفي","Font Family":"عائلة الخطوط","Proportional Sans-Serif":"Proportional Sans-Serif","Monospace Sans-Serif":"Monospace Sans-Serif","Proportional Serif":"Proportional Serif","Monospace Serif":"Monospace Serif","Casual":"Casual","Script":"Script","Small Caps":"Small Caps","Reset":"إعادة الضبط","restore all settings to the default values":"استعادة كل الإعدادات إلى القيم الافتراضية","Done":"تم","Caption Settings Dialog":"مربع حوار إعدادات التعليقات التوضيحية","Beginning of dialog window. Escape will cancel and close the window.":"بداية نافذة مربع حوار. الضغط على زر \\"Escape\\" سيؤدي إلى الإلغاء وإغلاق النافذة.","End of dialog window.":"نهاية نافذة مربع حوار.","{1} is loading.":"{1} قيد التحميل.","Exit Picture-in-Picture":"خرج من وضع صورة داخل صورة","Picture-in-Picture":"صورة داخل صورة","No content":"لا يوجد محتوى","Color":"اللون","Opacity":"معدل الشفافية","Text Background":"خلفية النص","Caption Area Background":"خلفية منطقة التسمية التوضيحية"}')},83854:function(e){"use strict";e.exports=JSON.parse('{"Audio Player":"Audio Přehravač","Video Player":"Video Přehravač","Play":"Přehrát","Pause":"Pozastavit","Replay":"Přehrát znovu","Current Time":"Aktuální čas","Duration":"Doba trvání","Remaining Time":"Zbývající čas","Stream Type":"Typ streamu","LIVE":"ŽIVĚ","Loaded":"Načteno","Progress":"Stav","Progress Bar":"Ukazatel průběhu","progress bar timing: currentTime={1} duration={2}":"{1} z {2}","Fullscreen":"Celá obrazovka","Exit Fullscreen":"Běžné zobrazení","Mute":"Ztlumit","Unmute":"Zrušit ztlumení","Playback Rate":"Rychlost přehrávání","Subtitles":"Titulky","subtitles off":"Bez titulků","Captions":"Popisky","captions off":"Popisky vypnuté","Chapters":"Kapitoly","Descriptions":"Popisy","descriptions off":"Bez popisů","Audio Track":"Zvuková stopa","Volume Level":"Hlasitost","You aborted the media playback":"Přehrávání videa bylo přerušeno.","A network error caused the media download to fail part-way.":"Video nemohlo být načteno kvůli chybě v síti.","The media could not be loaded, either because the server or network failed or because the format is not supported.":"Video nemohlo být načteno, buď kvůli chybě serveru, sítě nebo proto, že daný formát není podporován.","The media playback was aborted due to a corruption problem or because the media used features your browser did not support.":"Váš prohlížeč nepodporuje tento formát videa.","No compatible source was found for this media.":"Nevalidní zadaný zdroj videa.","The media is encrypted and we do not have the keys to decrypt it.":"Chyba při dešifrování videa.","Play Video":"Přehrát video","Close":"Zavřit","Close Modal Dialog":"Zavřít okno","Modal Window":"Modální okno","This is a modal window":"Toto je modální okno","This modal can be closed by pressing the Escape key or activating the close button.":"Toto okno se dá zavřít křížkem nebo klávesou Esc.",", opens captions settings dialog":", otevřít okno pro nastavení popisků",", opens subtitles settings dialog":", otevřít okno pro nastavení titulků",", opens descriptions settings dialog":", otevře okno pro nastavení popisků pro nevidomé",", selected":", vybráno","captions settings":"nastavení popisků","subtitles settings":"nastavení titulků","descriptions settings":"nastavení popisků pro nevidomé","Text":"Titulky","White":"Bílé","Black":"Černé","Red":"Červené","Green":"Zelené","Blue":"Modré","Yellow":"Žluté","Magenta":"Fialové","Cyan":"Azurové","Background":"Pozadí titulků","Window":"Okno","Transparent":"Průhledné","Semi-Transparent":"Poloprůhledné","Opaque":"Neprůhledné","Font Size":"Velikost písma","Text Edge Style":"Okraje písma","None":"Bez okraje","Raised":"Zvýšený","Depressed":"Propadlý","Uniform":"Rovnoměrný","Dropshadow":"Stínovaný","Font Family":"Rodina písma","Proportional Sans-Serif":"Proporcionální bezpatkové","Monospace Sans-Serif":"Monospace bezpatkové","Proportional Serif":"Proporcionální patkové","Monospace Serif":"Monospace patkové","Casual":"Hravé","Script":"Ručně psané","Small Caps":"Malé kapitálky","Reset":"Obnovit","restore all settings to the default values":"Vrátit nastavení do výchozího stavu","Done":"Hotovo","Caption Settings Dialog":"Okno s nastavením titulků","Beginning of dialog window. Escape will cancel and close the window.":"Začátek dialogového okna. Klávesa Esc okno zavře.","End of dialog window.":"Konec dialogového okna.","{1} is loading.":"{1} se načítá."}')},85429:function(e){"use strict";e.exports=JSON.parse('{"Play":"Wiedergabe","Pause":"Pause","Replay":"Erneut abspielen","Current Time":"Aktueller Zeitpunkt","Duration":"Dauer","Remaining Time":"Verbleibende Zeit","Stream Type":"Streamtyp","LIVE":"LIVE","Loaded":"Geladen","Progress":"Status","Fullscreen":"Vollbild","Exit Fullscreen":"Vollbildmodus beenden","Mute":"Stumm schalten","Unmute":"Ton einschalten","Playback Rate":"Wiedergabegeschwindigkeit","Subtitles":"Untertitel","subtitles off":"Untertitel aus","Captions":"Untertitel","captions off":"Untertitel aus","Chapters":"Kapitel","You aborted the media playback":"Sie haben die Videowiedergabe abgebrochen.","A network error caused the media download to fail part-way.":"Der Videodownload ist aufgrund eines Netzwerkfehlers fehlgeschlagen.","The media could not be loaded, either because the server or network failed or because the format is not supported.":"Das Video konnte nicht geladen werden, da entweder ein Server- oder Netzwerkfehler auftrat oder das Format nicht unterstützt wird.","The media playback was aborted due to a corruption problem or because the media used features your browser did not support.":"Die Videowiedergabe wurde entweder wegen eines Problems mit einem beschädigten Video oder wegen verwendeten Funktionen, die vom Browser nicht unterstützt werden, abgebrochen.","No compatible source was found for this media.":"Für dieses Video wurde keine kompatible Quelle gefunden.","Play Video":"Video abspielen","Close":"Schließen","Modal Window":"Modales Fenster","This is a modal window":"Dies ist ein modales Fenster","This modal can be closed by pressing the Escape key or activating the close button.":"Durch Drücken der Esc-Taste bzw. Betätigung der Schaltfläche \\"Schließen\\" wird dieses modale Fenster geschlossen.",", opens captions settings dialog":", öffnet Einstellungen für Untertitel",", opens subtitles settings dialog":", öffnet Einstellungen für Untertitel",", selected":", ausgewählt","captions settings":"Untertiteleinstellungen","subtitles settings":"Untertiteleinstellungen","descriptions settings":"Einstellungen für Beschreibungen","Close Modal Dialog":"Modales Fenster schließen","Descriptions":"Beschreibungen","descriptions off":"Beschreibungen aus","The media is encrypted and we do not have the keys to decrypt it.":"Die Entschlüsselungsschlüssel für den verschlüsselten Medieninhalt sind nicht verfügbar.",", opens descriptions settings dialog":", öffnet Einstellungen für Beschreibungen","Audio Track":"Tonspur","Text":"Schrift","White":"Weiß","Black":"Schwarz","Red":"Rot","Green":"Grün","Blue":"Blau","Yellow":"Gelb","Magenta":"Magenta","Cyan":"Türkis","Background":"Hintergrund","Window":"Fenster","Transparent":"Durchsichtig","Semi-Transparent":"Halbdurchsichtig","Opaque":"Undurchsichtig","Font Size":"Schriftgröße","Text Edge Style":"Textkantenstil","None":"Kein","Raised":"Erhoben","Depressed":"Gedrückt","Uniform":"Uniform","Dropshadow":"Schlagschatten","Font Family":"Schriftfamilie","Proportional Sans-Serif":"Proportionale Sans-Serif","Monospace Sans-Serif":"Monospace Sans-Serif","Proportional Serif":"Proportionale Serif","Monospace Serif":"Monospace Serif","Casual":"Zwanglos","Script":"Schreibschrift","Small Caps":"Small-Caps","Reset":"Zurücksetzen","restore all settings to the default values":"Alle Einstellungen auf die Standardwerte zurücksetzen","Done":"Fertig","Caption Settings Dialog":"Einstellungsdialog für Untertitel","Beginning of dialog window. Escape will cancel and close the window.":"Anfang des Dialogfensters. Esc bricht ab und schließt das Fenster.","End of dialog window.":"Ende des Dialogfensters.","Audio Player":"Audio-Player","Video Player":"Video-Player","Progress Bar":"Fortschrittsbalken","progress bar timing: currentTime={1} duration={2}":"{1} von {2}","Volume Level":"Lautstärke","{1} is loading.":"{1} wird geladen.","Seek to live, currently behind live":"Zur Live-Übertragung wechseln. Aktuell wird es nicht live abgespielt.","Seek to live, currently playing live":"Zur Live-Übertragung wechseln. Es wird aktuell live abgespielt.","Exit Picture-in-Picture":"Bild-im-Bild-Modus beenden","Picture-in-Picture":"Bild-im-Bild-Modus","No content":"Kein Inhalt","Color":"Farbe","Opacity":"Deckkraft","Text Background":"Texthintergrund","Caption Area Background":"Hintergrund des Untertitelbereichs","Playing in Picture-in-Picture":"Wird im Bild-im-Bild-Modus wiedergegeben","Skip forward {1} seconds":"{1} Sekunden vorwärts","Skip backward {1} seconds":"{1} Sekunden zurück"}')},6518:function(e){"use strict";e.exports=JSON.parse('{"Audio Player":"Audio Player","Video Player":"Video Player","Play":"Play","Pause":"Pause","Replay":"Replay","Current Time":"Current Time","Duration":"Duration","Remaining Time":"Remaining Time","Stream Type":"Stream Type","LIVE":"LIVE","Seek to live, currently behind live":"Seek to live, currently behind live","Seek to live, currently playing live":"Seek to live, currently playing live","Loaded":"Loaded","Progress":"Progress","Progress Bar":"Progress Bar","progress bar timing: currentTime={1} duration={2}":"{1} of {2}","Fullscreen":"Fullscreen","Exit Fullscreen":"Exit Fullscreen","Mute":"Mute","Unmute":"Unmute","Playback Rate":"Playback Rate","Subtitles":"Subtitles","subtitles off":"subtitles off","Captions":"Captions","captions off":"captions off","Chapters":"Chapters","Descriptions":"Descriptions","descriptions off":"descriptions off","Audio Track":"Audio Track","Volume Level":"Volume Level","You aborted the media playback":"You aborted the media playback","A network error caused the media download to fail part-way.":"A network error caused the media download to fail part-way.","The media could not be loaded, either because the server or network failed or because the format is not supported.":"The media could not be loaded, either because the server or network failed or because the format is not supported.","The media playback was aborted due to a corruption problem or because the media used features your browser did not support.":"The media playback was aborted due to a corruption problem or because the media used features your browser did not support.","No compatible source was found for this media.":"No compatible source was found for this media.","The media is encrypted and we do not have the keys to decrypt it.":"The media is encrypted and we do not have the keys to decrypt it.","Play Video":"Play Video","Close":"Close","Close Modal Dialog":"Close Modal Dialog","Modal Window":"Modal Window","This is a modal window":"This is a modal window","This modal can be closed by pressing the Escape key or activating the close button.":"This modal can be closed by pressing the Escape key or activating the close button.",", opens captions settings dialog":", opens captions settings dialog",", opens subtitles settings dialog":", opens subtitles settings dialog",", opens descriptions settings dialog":", opens descriptions settings dialog",", selected":", selected","captions settings":"captions settings","subtitles settings":"subtitles settings","descriptions settings":"descriptions settings","Text":"Text","White":"White","Black":"Black","Red":"Red","Green":"Green","Blue":"Blue","Yellow":"Yellow","Magenta":"Magenta","Cyan":"Cyan","Background":"Background","Window":"Window","Transparent":"Transparent","Semi-Transparent":"Semi-Transparent","Opaque":"Opaque","Font Size":"Font Size","Text Edge Style":"Text Edge Style","None":"None","Raised":"Raised","Depressed":"Depressed","Uniform":"Uniform","Dropshadow":"Dropshadow","Font Family":"Font Family","Proportional Sans-Serif":"Proportional Sans-Serif","Monospace Sans-Serif":"Monospace Sans-Serif","Proportional Serif":"Proportional Serif","Monospace Serif":"Monospace Serif","Casual":"Casual","Script":"Script","Small Caps":"Small Caps","Reset":"Reset","restore all settings to the default values":"restore all settings to the default values","Done":"Done","Caption Settings Dialog":"Caption Settings Dialog","Beginning of dialog window. Escape will cancel and close the window.":"Beginning of dialog window. Escape will cancel and close the window.","End of dialog window.":"End of dialog window.","{1} is loading.":"{1} is loading.","Exit Picture-in-Picture":"Exit Picture-in-Picture","Picture-in-Picture":"Picture-in-Picture","No content":"No content","Color":"Color","Opacity":"Opacity","Text Background":"Text Background","Caption Area Background":"Caption Area Background","Playing in Picture-in-Picture":"Playing in Picture-in-Picture","Skip backward {1} seconds":"Skip backward {1} seconds","Skip forward {1} seconds":"Skip forward {1} seconds"}')},88808:function(e){"use strict";e.exports=JSON.parse('{"Play":"Reproducir","Play Video":"Reproducir Vídeo","Pause":"Pausa","Current Time":"Tiempo reproducido","Duration":"Duración total","Remaining Time":"Tiempo restante","Stream Type":"Tipo de secuencia","LIVE":"DIRECTO","Loaded":"Cargado","Progress":"Progreso","Fullscreen":"Pantalla completa","Exit Fullscreen":"Pantalla no completa","Mute":"Desactivar el sonido","Unmute":"Activar el sonido","Playback Rate":"Velocidad de reproducción","Subtitles":"Subtítulos","subtitles off":"Subtítulos desactivados","Captions":"Subtítulos especiales","captions off":"Subtítulos especiales desactivados","Chapters":"Capítulos","You aborted the media playback":"Ha interrumpido la reproducción del vídeo.","A network error caused the media download to fail part-way.":"Un error de red ha interrumpido la descarga del vídeo.","The media could not be loaded, either because the server or network failed or because the format is not supported.":"No se ha podido cargar el vídeo debido a un fallo de red o del servidor o porque el formato es incompatible.","The media playback was aborted due to a corruption problem or because the media used features your browser did not support.":"La reproducción de vídeo se ha interrumpido por un problema de corrupción de datos o porque el vídeo precisa funciones que su navegador no ofrece.","No compatible source was found for this media.":"No se ha encontrado ninguna fuente compatible con este vídeo.","Audio Player":"Reproductor de audio","Video Player":"Reproductor de video","Replay":"Volver a reproducir","Seek to live, currently behind live":"Buscar en vivo, actualmente demorado con respecto a la transmisión en vivo","Seek to live, currently playing live":"Buscar en vivo, actualmente reproduciendo en vivo","Progress Bar":"Barra de progreso","progress bar timing: currentTime={1} duration={2}":"{1} de {2}","Descriptions":"Descripciones","descriptions off":"descripciones desactivadas","Audio Track":"Pista de audio","Volume Level":"Nivel de volumen","The media is encrypted and we do not have the keys to decrypt it.":"El material audiovisual está cifrado y no tenemos las claves para descifrarlo.","Close":"Cerrar","Modal Window":"Ventana modal","This is a modal window":"Esta es una ventana modal","This modal can be closed by pressing the Escape key or activating the close button.":"Esta ventana modal puede cerrarse presionando la tecla Escape o activando el botón de cierre.",", opens captions settings dialog":", abre el diálogo de configuración de leyendas",", opens subtitles settings dialog":", abre el diálogo de configuración de subtítulos",", selected":", seleccionado","Close Modal Dialog":"Cierra cuadro de diálogo modal",", opens descriptions settings dialog":", abre el diálogo de configuración de las descripciones","captions settings":"configuración de leyendas","subtitles settings":"configuración de subtítulos","descriptions settings":"configuración de descripciones","Text":"Texto","White":"Blanco","Black":"Negro","Red":"Rojo","Green":"Verde","Blue":"Azul","Yellow":"Amarillo","Magenta":"Magenta","Cyan":"Cian","Background":"Fondo","Window":"Ventana","Transparent":"Transparente","Semi-Transparent":"Semitransparente","Opaque":"Opaca","Font Size":"Tamaño de fuente","Text Edge Style":"Estilo de borde del texto","None":"Ninguno","Raised":"En relieve","Depressed":"Hundido","Uniform":"Uniforme","Dropshadow":"Sombra paralela","Font Family":"Familia de fuente","Proportional Sans-Serif":"Sans-Serif proporcional","Monospace Sans-Serif":"Sans-Serif monoespacio","Proportional Serif":"Serif proporcional","Monospace Serif":"Serif monoespacio","Casual":"Informal","Script":"Cursiva","Small Caps":"Minúsculas","Reset":"Restablecer","restore all settings to the default values":"restablece todas las configuraciones a los valores predeterminados","Done":"Listo","Caption Settings Dialog":"Diálogo de configuración de leyendas","Beginning of dialog window. Escape will cancel and close the window.":"Comienzo de la ventana de diálogo. La tecla Escape cancelará la operación y cerrará la ventana.","End of dialog window.":"Final de la ventana de diálogo.","{1} is loading.":"{1} se está cargando.","Exit Picture-in-Picture":"Salir de imagen sobre imagen","Picture-in-Picture":"Imagen sobre imagen","No content":"Sin contenido","Color":"Color","Opacity":"Opacidad","Text Background":"Fondo del texto","Caption Area Background":"Fondo del área de subtítulos"}')},17161:function(e){"use strict";e.exports=JSON.parse('{"Audio Player":"Lecteur audio","Video Player":"Lecteur vidéo","Play":"Lecture","Pause":"Pause","Replay":"Revoir","Current Time":"Temps actuel","Duration":"Durée","Remaining Time":"Temps restant","Stream Type":"Type de flux","LIVE":"EN DIRECT","Seek to live, currently behind live":"Rechercher le direct, actuellement après le direct","Seek to live, currently playing live":"Rechercher le direct, le direct actuellement en cours de lecture","Loaded":"Chargé","Progress":"Progression","Progress Bar":"Barre de progression","progress bar timing: currentTime={1} duration={2}":"{1} de {2}","Fullscreen":"Plein écran","Exit Fullscreen":"Fenêtré","Mute":"Mettre en sourdine","Unmute":"Activer le son","Playback Rate":"Vitesse de lecture","Subtitles":"Sous-titres","subtitles off":"Sous-titres désactivés","Captions":"Sous-titres transcrits","captions off":"Sous-titres transcrits désactivés","Chapters":"Chapitres","Descriptions":"Descriptions","descriptions off":"descriptions désactivées","Audio Track":"Piste audio","Volume Level":"Niveau de volume","You aborted the media playback":"Vous avez interrompu la lecture de la vidéo.","A network error caused the media download to fail part-way.":"Une erreur de réseau a interrompu le téléchargement de la vidéo.","The media could not be loaded, either because the server or network failed or because the format is not supported.":"Cette vidéo n\'a pas pu être chargée, soit parce que le serveur ou le réseau a échoué ou parce que le format n\'est pas reconnu.","The media playback was aborted due to a corruption problem or because the media used features your browser did not support.":"La lecture de la vidéo a été interrompue à cause d\'un problème de corruption ou parce que la vidéo utilise des fonctionnalités non prises en charge par votre navigateur.","No compatible source was found for this media.":"Aucune source compatible n\'a été trouvée pour cette vidéo.","The media is encrypted and we do not have the keys to decrypt it.":"Le média est chiffré et nous n\'avons pas les clés pour le déchiffrer.","Play Video":"Lire la vidéo","Close":"Fermer","Close Modal Dialog":"Fermer la boîte de dialogue modale","Modal Window":"Fenêtre modale","This is a modal window":"Ceci est une fenêtre modale","This modal can be closed by pressing the Escape key or activating the close button.":"Ce modal peut être fermé en appuyant sur la touche Échap ou activer le bouton de fermeture.",", opens captions settings dialog":", ouvrir les paramètres des sous-titres transcrits",", opens subtitles settings dialog":", ouvrir les paramètres des sous-titres",", opens descriptions settings dialog":", ouvrir les paramètres des descriptions",", selected":", sélectionné","captions settings":"Paramètres des sous-titres transcrits","subtitles settings":"Paramètres des sous-titres","descriptions settings":"Paramètres des descriptions","Text":"Texte","White":"Blanc","Black":"Noir","Red":"Rouge","Green":"Vert","Blue":"Bleu","Yellow":"Jaune","Magenta":"Magenta","Cyan":"Cyan","Background":"Arrière-plan","Window":"Fenêtre","Transparent":"Transparent","Semi-Transparent":"Semi-transparent","Opaque":"Opaque","Font Size":"Taille des caractères","Text Edge Style":"Style des contours du texte","None":"Aucun","Raised":"Élevé","Depressed":"Enfoncé","Uniform":"Uniforme","Dropshadow":"Ombre portée","Font Family":"Famille de polices","Proportional Sans-Serif":"Polices à chasse variable sans empattement (Proportional Sans-Serif)","Monospace Sans-Serif":"Polices à chasse fixe sans empattement (Monospace Sans-Serif)","Proportional Serif":"Polices à chasse variable avec empattement (Proportional Serif)","Monospace Serif":"Polices à chasse fixe avec empattement (Monospace Serif)","Casual":"Manuscrite","Script":"Scripte","Small Caps":"Petites capitales","Reset":"Réinitialiser","restore all settings to the default values":"Restaurer tous les paramètres aux valeurs par défaut","Done":"Terminé","Caption Settings Dialog":"Boîte de dialogue des paramètres des sous-titres transcrits","Beginning of dialog window. Escape will cancel and close the window.":"Début de la fenêtre de dialogue. La touche d\'échappement annulera et fermera la fenêtre.","End of dialog window.":"Fin de la fenêtre de dialogue.","Exit Picture-in-Picture":"Quitter le mode image dans l\'image","Picture-in-Picture":"Image dans l\'image","{1} is loading.":"{1} en cours de chargement.","No content":"Aucun contenu","Color":"Couleur","Opacity":"Opacité","Text Background":"Arrière-plan du texte","Caption Area Background":"Arrière-plan de la zone de sous-titre"}')},21910:function(e){"use strict";e.exports=JSON.parse('{"Audio Player":"Lettore audio","Video Player":"Lettore video","Play":"Play","Pause":"Pausa","Replay":"Replay","Current Time":"Orario attuale","Duration":"Durata","Remaining Time":"Tempo rimanente","Stream Type":"Tipo del Streaming","LIVE":"LIVE","Loaded":"Caricato","Progress":"Stato","Progress Bar":"Barra di avanzamento","progress bar timing: currentTime={1} duration={2}":"{1} di {2}","Fullscreen":"Schermo intero","Exit Fullscreen":"Chiudi Schermo intero","Mute":"Disattivare l’audio","Unmute":"Attivare l’audio","Playback Rate":"Tasso di riproduzione","Subtitles":"Sottotitoli","subtitles off":"Senza sottotitoli","Captions":"Sottotitoli non udenti","captions off":"Senza sottotitoli non udenti","Chapters":"Capitolo","Descriptions":"Descrizioni","descriptions off":"Descrizioni disattivate","Audio Track":"Traccia audio","Volume Level":"Livello del volume","You aborted the media playback":"La riproduzione del filmato è stata interrotta.","A network error caused the media download to fail part-way.":"Il download del filmato è stato interrotto a causa di un problema rete.","The media could not be loaded, either because the server or network failed or because the format is not supported.":"Il filmato non può essere caricato a causa di un errore nel server o nella rete o perché il formato non viene supportato.","The media playback was aborted due to a corruption problem or because the media used features your browser did not support.":"La riproduzione del filmato è stata interrotta a causa di un file danneggiato o per l’utilizzo di impostazioni non supportate dal browser.","No compatible source was found for this media.":"Non ci sono fonti compatibili per questo filmato.","The media is encrypted and we do not have the keys to decrypt it.":"Il contenuto multimediale è criptato e non disponiamo delle chiavi per decifrarlo.","Play Video":"Riproduci il video","Close":"Chiudi","Close Modal Dialog":"Chiudi la finestra di dialogo","Modal Window":"Finestra di dialogo","This is a modal window":"Questa è una finestra di dialogo","This modal can be closed by pressing the Escape key or activating the close button.":"Questa finestra di dialogo può essere chiusa premendo sul tasto Esc o attivando il pulsante di chiusura.",", opens captions settings dialog":", aprire i parametri della trascrizione dei sottotitoli",", opens subtitles settings dialog":", aprire i parametri dei sottotitoli",", opens descriptions settings dialog":", aprire i parametri delle descrizioni",", selected":", selezionato","captions settings":"Parametri della trascrizione dei sottotitoli","subtitles settings":"Parametri dei sottotitoli","descriptions settings":"Parametri delle descrizioni","Text":"Testo","White":"Bianco","Black":"Nero","Red":"Rosso","Green":"Verde","Blue":"Blu","Yellow":"Giallo","Magenta":"Magenta","Cyan":"Ciano","Background":"Sfondo","Window":"Finestra","Transparent":"Trasparente","Semi-Transparent":"Semi-Trasparente","Opaque":"Opaco","Font Size":"Dimensione dei caratteri","Text Edge Style":"Stile dei bordi del testo","None":"Nessuno","Uniform":"Uniforme","Dropshadow":"Ombreggiatura","Font Family":"Famiglia di caratteri","Proportional Sans-Serif":"Sans-Serif proporzionale","Monospace Sans-Serif":"Sans-Serif monospazio","Proportional Serif":"Serif proporzionale","Monospace Serif":"Serif monospazio","Small Caps":"Maiuscoletto","Reset":"Reinizializza","restore all settings to the default values":"Ripristina i valori predefiniti per tutti i parametri","Done":"Operazione completata","Caption Settings Dialog":"Finestra di dialogo dei parametri della trascrizione dei sottotitoli","Beginning of dialog window. Escape will cancel and close the window.":"Inizio della finestra di dialogo. Il tasto Esc annullerà l’operazione e chiuderà la finestra.","End of dialog window.":"Fine della finestra di dialogo.","{1} is loading.":"{1} in fase di caricamento.","Exit Picture-in-Picture":"Esci dalla modalità Picture-in-Picture","Picture-in-Picture":"Picture-in-Picture","Color":"Colore","Opacity":"Opacità","Text Background":"Sfondo del testo","Caption Area Background":"Sfondo dell\'area dei sottotitoli","Skip forward {1} seconds":"Avanti di {1} secondi","Skip backward {1} seconds":"Indietro di {1} secondi"}')},3992:function(e){"use strict";e.exports=JSON.parse('{"Audio Player":"オーディオプレイヤー","Video Player":"ビデオプレイヤー","Play":"再生","Pause":"一時停止","Replay":"もう一度見る","Current Time":"現在の時間","Duration":"長さ","Remaining Time":"残りの時間","Stream Type":"ストリームの種類","LIVE":"ライブ","Seek to live, currently behind live":"ライブまで再生位置を指定、現在ライブが遅れています。","Seek to live, currently playing live":"ライブまで再生位置を指定、現在ライブ中。","Loaded":"ロード済み","Progress":"進行状況","Progress Bar":"シークバー","progress bar timing: currentTime={1} duration={2}":"{2}の{1}","Fullscreen":"フルスクリーン","Exit Fullscreen":"フルスクリーン以外","Mute":"ミュート","Unmute":"サウンドをオン","Playback Rate":"再生レート","Subtitles":"サブタイトル","subtitles off":"サブタイトル オフ","Captions":"キャプション","captions off":"キャプション オフ","Chapters":"チャプター","Descriptions":"ディスクリプション","descriptions off":"ディスクリプションオフ","Audio Track":"音声トラック","Volume Level":"ボリュームレベル","You aborted the media playback":"動画再生を中止しました","A network error caused the media download to fail part-way.":"ネットワーク エラーにより動画のダウンロードが途中で失敗しました","The media could not be loaded, either because the server or network failed or because the format is not supported.":"サーバーまたはネットワークのエラー、またはフォーマットがサポートされていないため、動画をロードできませんでした","The media playback was aborted due to a corruption problem or because the media used features your browser did not support.":"破損の問題、またはお使いのブラウザがサポートしていない機能が動画に使用されていたため、動画の再生が中止されました","No compatible source was found for this media.":"この動画に対して互換性のあるソースが見つかりませんでした","The media is encrypted and we do not have the keys to decrypt it.":"メディアは暗号化されており、解読するためのキーがありません。","Play Video":"ビデオを再生する","Close":"閉じる","Close Modal Dialog":"ダイアログボックスを閉じる","Modal Window":"ダイアログボックス","This is a modal window":"これはダイアログボックスです","This modal can be closed by pressing the Escape key or activating the close button.":"このダイアログボックスは、Escキーを押すか、閉じるボタンを押して閉じることができま",", opens captions settings dialog":", 書き起こし字幕の設定を開く",", opens subtitles settings dialog":", 字幕の設定を開く",", opens descriptions settings dialog":", ディスクリプションの設定を開く",", selected":", 選択済み","captions settings":"書き起こし字幕の設定","subtitles settings":"字幕の設定","descriptions settings":"ディスクリプションの設定","Text":"テキスト","White":"白","Black":"黒","Red":"赤","Green":"緑","Blue":"青","Yellow":"黄","Magenta":"赤紫","Cyan":"シアン","Background":"背景","Window":"ウィンドウ","Transparent":"透明","Semi-Transparent":"半透明","Opaque":"不透明","Font Size":"文字サイズ","Text Edge Style":"テキストのアウトラインのスタイル","None":"なし","Raised":"浮き出し","Depressed":"浮き彫り","Uniform":"均一","Dropshadow":"影付き","Font Family":"フォントの種類","Proportional Sans-Serif":"セリフなし可変幅フォント","Monospace Sans-Serif":"セリフなし等幅フォント","Proportional Serif":"セリフあり可変幅フォント","Monospace Serif":"セリフあり等幅フォント","Casual":"カジュアル","Script":"スクリプト","Small Caps":"スモールキャピタル","Reset":"リセット","restore all settings to the default values":"すべての設定をデフォルト値に戻す","Done":"終了","Caption Settings Dialog":"書き起こし字幕設定ダイアログ","Beginning of dialog window. Escape will cancel and close the window.":"ダイアログボックスの開始。Escキーでキャンセルしてウィンドウを閉じます。","End of dialog window.":"ダイアログボックスの終了","{1} is loading.":"{1}は読み込み中です。","Exit Picture-in-Picture":"ピクチャーインピクチャー機能の終了","Picture-in-Picture":"ピクチャーインピクチャー","No content":"コンテンツなし","Color":"色","Opacity":"不透明度","Text Background":"テキスト背景","Caption Area Background":"キャプション領域背景","Skip forward {1} seconds":"{1}秒進む","Skip backward {1} seconds":"{1}秒戻る"}')},43420:function(e){"use strict";e.exports=JSON.parse('{"Audio Player":"Audiospeler","Video Player":"Videospeler","Play":"Afspelen","Pause":"Pauzeren","Replay":"Opnieuw afspelen","Current Time":"Huidige tijd","Duration":"Tijdsduur","Remaining Time":"Resterende tijd","Stream Type":"Streamtype","LIVE":"LIVE","Seek to live, currently behind live":"Zoek naar live, momenteel achter op live","Seek to live, currently playing live":"Zoek naar live, momenteel live","Loaded":"Geladen","Progress":"Voortgang","Progress Bar":"Voortgangsbalk","progress bar timing: currentTime={1} duration={2}":"{1} van {2}","Fullscreen":"Volledig scherm","Exit Fullscreen":"Volledig scherm uit","Mute":"Dempen","Unmute":"Dempen uit","Playback Rate":"Afspeelsnelheid","Subtitles":"Ondertiteling","subtitles off":"ondertiteling uit","Captions":"Ondertiteling (CC)","captions off":"ondertiteling (CC) uit","Chapters":"Hoofdstukken","Descriptions":"Beschrijvingen","descriptions off":"beschrijvingen uit","Audio Track":"Audiospoor","Volume Level":"Volume","You aborted the media playback":"U heeft het afspelen van de media afgebroken","A network error caused the media download to fail part-way.":"Een netwerkfout heeft ervoor gezorgd dat het downloaden van de media is mislukt.","The media could not be loaded, either because the server or network failed or because the format is not supported.":"De media kon niet worden geladen, doordat de server of het netwerk faalde of doordat het formaat niet wordt ondersteund.","The media playback was aborted due to a corruption problem or because the media used features your browser did not support.":"Het afspelen van de media werd afgebroken vanwege een corruptieprobleem of omdat de uw browser de gebruikte mediafuncties niet ondersteund.","No compatible source was found for this media.":"Er is geen geschikte bron gevonden voor dit medium.","The media is encrypted and we do not have the keys to decrypt it.":"De media is gecodeerd en we hebben niet de sleutels om het te decoderen.","Play Video":"Video afspelen","Close":"Sluiten","Close Modal Dialog":"Extra venster sluiten","Modal Window":"Extra venster","This is a modal window":"Dit is een extra venster","This modal can be closed by pressing the Escape key or activating the close button.":"Dit venster kan worden gesloten door op de Escape-toets te drukken of door de sluit-knop te activeren.",", opens captions settings dialog":", opent instellingen venster voor ondertitelingen",", opens subtitles settings dialog":", opent instellingen venster voor ondertitelingen",", opens descriptions settings dialog":", opent instellingen venster voor beschrijvingen",", selected":", geselecteerd","captions settings":"ondertiteling instellingen","subtitles settings":"ondertiteling instellingen","descriptions settings":"beschrijvingen instellingen","Text":"Tekst","White":"Wit","Black":"Zwart","Red":"Rood","Green":"Groen","Blue":"Blauw","Yellow":"Geel","Magenta":"Magenta","Cyan":"Cyaan","Background":"Achtergrond","Window":"Venster","Transparent":"Transparant","Semi-Transparent":"Semi-transparant","Opaque":"Ondoorzichtig","Font Size":"Lettergrootte","Text Edge Style":"Stijl tekstrand","None":"Geen","Raised":"Verhoogd","Depressed":"Ingedrukt","Uniform":"Uniform","Dropshadow":"Schaduw","Font Family":"Lettertype","Proportional Sans-Serif":"Proportioneel sans-serif","Monospace Sans-Serif":"Monospace sans-serif","Proportional Serif":"Proportioneel serif","Monospace Serif":"Monospace serif","Casual":"Informeel","Script":"Script","Small Caps":"Kleine Hoofdletters","Reset":"Herstellen","restore all settings to the default values":"alle instellingen herstellen naar de standaardwaarden","Done":"Gereed","Caption Settings Dialog":"Venster voor bijschriften-instellingen","Beginning of dialog window. Escape will cancel and close the window.":"Begin van dialoogvenster. Escape zal annuleren en het venster sluiten.","End of dialog window.":"Einde van dialoogvenster.","{1} is loading.":"{1} wordt geladen.","Exit Picture-in-Picture":"Picture-in-Picture uit","Picture-in-Picture":"Picture-in-Picture","No content":"Geen inhoud","Color":"Kleur","Opacity":"Transparantie","Text Background":"Tekst Achtergrond","Caption Area Background":"Achtergrond voor Ondertiteling","Skip forward {1} seconds":"{1} seconden vooruit","Skip backward {1} seconds":"{1} seconden terug"}')},18059:function(e){"use strict";e.exports=JSON.parse('{"Audio Player":"Odtwarzacz audio","Video Player":"Odtwarzacz wideo","Play":"Odtwórz","Pause":"Wstrzymaj","Replay":"Odtwórz ponownie","Current Time":"Aktualny czas","Duration":"Czas trwania","Remaining Time":"Pozostały czas","Stream Type":"Typ strumienia","LIVE":"NA ŻYWO","Seek to live, currently behind live":"Przejdź do transmisji na żywo, obecnie trwa odtwarzanie z archiwum","Seek to live, currently playing live":"Przejdż do transmisji na żywo, obecnie trwa odtwarzanie na żywo","Loaded":"Załadowany","Progress":"Status","Progress Bar":"Pasek postępu","progress bar timing: currentTime={1} duration={2}":"{1} z {2}","Fullscreen":"Pełny ekran","Exit Fullscreen":"Pełny ekran niedostępny","Mute":"Wycisz","Unmute":"Wyłącz wyciszenie","Playback Rate":"Prędkość odtwarzania","Subtitles":"Napisy","subtitles off":"Napisy wyłączone","Captions":"Transkrypcja","captions off":"Transkrypcja wyłączona","Chapters":"Rozdziały","Descriptions":"Opisy","descriptions off":"Opisy wyłączone","Audio Track":"Ścieżka audio","Volume Level":"Poziom głośności","You aborted the media playback":"Odtwarzanie zostało przerwane","A network error caused the media download to fail part-way.":"Błąd sieci spowodował częściowe niepowodzenie pobierania materiału wideo.","The media could not be loaded, either because the server or network failed or because the format is not supported.":"Materiał wideo nie może zostać załadowany, ponieważ wystąpił problem z serwerem lub siecią albo format materiału wideo nie jest obsługiwany","The media playback was aborted due to a corruption problem or because the media used features your browser did not support.":"Odtwarzanie materiału wideo zostało przerwane z powodu uszkodzonego pliku wideo lub z powodu użycia funkcji multimediów nieobsługiwanych przez Twoją przeglądarkę.","No compatible source was found for this media.":"Nie znaleziono kompatybilnego źródła dla tego typu materiału wideo.","The media is encrypted and we do not have the keys to decrypt it.":"Materiał jest zaszyfrowany, a nie mamy kluczy do jego odszyfrowania.","Play Video":"Odtwórz wideo","Close":"Zamknij","Close Modal Dialog":"Zamknij okno modalne","Modal Window":"Okno modalne","This is a modal window":"To jest okno modalne","This modal can be closed by pressing the Escape key or activating the close button.":"To okno modalne możesz zamknąć, naciskając klawisz Escape albo wybierając przycisk Zamknij.",", opens captions settings dialog":", otwiera okno dialogowe ustawień transkrypcji",", opens subtitles settings dialog":", otwiera okno dialogowe napisów",", opens descriptions settings dialog":", otwiera okno dialogowe opisów",", selected":", zaznaczone","captions settings":"ustawienia transkrypcji","subtitles settings":"ustawienia napisów","descriptions settings":"ustawienia opisów","Text":"Tekst","White":"Biały","Black":"Czarny","Red":"Czerwony","Green":"Zielony","Blue":"Niebieski","Yellow":"Żółty","Magenta":"Karmazynowy","Cyan":"Cyjanowy","Background":"Tło","Window":"Okno","Transparent":"Przezroczysty","Semi-Transparent":"Półprzezroczysty","Opaque":"Nieprzezroczysty","Font Size":"Rozmiar czcionki","Text Edge Style":"Styl krawędzi tekstu","None":"Brak","Raised":"Podniesiony","Depressed":"Obniżony","Uniform":"Równomierny","Dropshadow":"Cień","Font Family":"Krój czcionki","Proportional Sans-Serif":"Bezszeryfowa, proporcjonalna","Monospace Sans-Serif":"Bezszeryfowa, stała odległość znaków","Proportional Serif":"Szeryfowa, proporcjonalna","Monospace Serif":"Szeryfowa, stała odległość znaków","Casual":"Casual","Script":"Script","Small Caps":"Kapitaliki","Reset":"Ustawienia domyślne","restore all settings to the default values":"zresetuj wszystkie ustawienia do domyślnych wartości","Done":"Gotowe","Caption Settings Dialog":"Okno dialogowe ustawień transkrypcji","Beginning of dialog window. Escape will cancel and close the window.":"Początek okna dialogowego. Klawisz Escape anuluje i zamyka okno.","End of dialog window.":"Koniec okna dialogowego.","{1} is loading.":"Wczytywanie pliku {1}.","Exit Picture-in-Picture":"Wyjdź z trybu obraz w obrazie","Picture-in-Picture":"Obraz w obrazie","No content":"Brak zawartości"}')},13708:function(e){"use strict";e.exports=JSON.parse('{"Audio Player":"Reprodutor de áudio","Video Player":"Reprodutor de vídeo","Play":"Tocar","Pause":"Pausar","Replay":"Tocar novamente","Current Time":"Tempo","Duration":"Duração","Remaining Time":"Tempo Restante","Stream Type":"Tipo de Stream","LIVE":"AO VIVO","Loaded":"Carregado","Progress":"Progresso","Progress Bar":"Barra de progresso","progress bar timing: currentTime={1} duration={2}":"{1} de {2}","Fullscreen":"Tela Cheia","Exit Fullscreen":"Tela Normal","Mute":"Mudo","Unmute":"Ativar o som","Playback Rate":"Velocidade","Subtitles":"Legendas","subtitles off":"Sem Legendas","Captions":"Anotações","captions off":"Sem Anotações","Chapters":"Capítulos","Descriptions":"Descrições","descriptions off":"sem descrições","Audio Track":"Faixa de áudio","Volume Level":"Nível de volume","You aborted the media playback":"Você parou a execução do vídeo.","A network error caused the media download to fail part-way.":"Um erro na rede causou falha durante o download da mídia.","The media could not be loaded, either because the server or network failed or because the format is not supported.":"A mídia não pode ser carregada, por uma falha de rede ou servidor ou o formato não é suportado.","No compatible source was found for this media.":"Nenhuma fonte foi encontrada para esta mídia.","The media playback was aborted due to a corruption problem or because the media used features your browser did not support.":"A reprodução foi interrompida devido à um problema de mídia corrompida ou porque a mídia utiliza funções que seu navegador não suporta.","The media is encrypted and we do not have the keys to decrypt it.":"A mídia está criptografada e não temos as chaves para descriptografar.","Play Video":"Tocar Vídeo","Close":"Fechar","Close Modal Dialog":"Fechar Diálogo Modal","Modal Window":"Janela Modal","This is a modal window":"Isso é uma janela-modal","This modal can be closed by pressing the Escape key or activating the close button.":"Esta janela pode ser fechada pressionando a tecla de Escape.",", opens captions settings dialog":", abre as configurações de legendas de comentários",", opens subtitles settings dialog":", abre as configurações de legendas",", opens descriptions settings dialog":", abre as configurações",", selected":", selecionada","captions settings":"configurações de legendas de comentários","subtitles settings":"configurações de legendas","descriptions settings":"configurações das descrições","Text":"Texto","White":"Branco","Black":"Preto","Red":"Vermelho","Green":"Verde","Blue":"Azul","Yellow":"Amarelo","Magenta":"Magenta","Cyan":"Ciano","Background":"Plano-de-Fundo","Window":"Janela","Transparent":"Transparente","Semi-Transparent":"Semi-Transparente","Opaque":"Opaco","Font Size":"Tamanho da Fonte","Text Edge Style":"Estilo da Borda","None":"Nenhum","Raised":"Elevado","Depressed":"Acachapado","Uniform":"Uniforme","Dropshadow":"Sombra de projeção","Font Family":"Família da Fonte","Proportional Sans-Serif":"Sans-Serif(Sem serifa) Proporcional","Monospace Sans-Serif":"Sans-Serif(Sem serifa) Monoespaçada","Proportional Serif":"Serifa Proporcional","Monospace Serif":"Serifa Monoespaçada","Casual":"Casual","Script":"Script","Small Caps":"Maiúsculas Pequenas","Reset":"Redefinir","restore all settings to the default values":"restaurar todas as configurações aos valores padrão","Done":"Salvar","Caption Settings Dialog":"Caíxa-de-Diálogo das configurações de Legendas","Beginning of dialog window. Escape will cancel and close the window.":"Iniciando a Janela-de-Diálogo. Pressionar Escape irá cancelar e fechar a janela.","End of dialog window.":"Fim da Janela-de-Diálogo","{1} is loading.":"{1} está carregando.","Exit Picture-in-Picture":"Sair de Picture-in-Picture","Picture-in-Picture":"Picture-in-Picture"}')},9231:function(e){"use strict";e.exports=JSON.parse('{"Play":"Reproduzir","Pause":"Parar","Replay":"Reiniciar","Current Time":"Tempo Atual","Duration":"Duração","Remaining Time":"Tempo Restante","Stream Type":"Tipo de Stream","LIVE":"EM DIRETO","Loaded":"Carregado","Progress":"Progresso","Fullscreen":"Ecrã inteiro","Exit Fullscreen":"Ecrã normal","Mute":"Desativar som","Unmute":"Ativar som","Playback Rate":"Velocidade de reprodução","Subtitles":"Legendas","subtitles off":"desativar legendas","Captions":"Anotações","captions off":"desativar anotações","Chapters":"Capítulos","Close Modal Dialog":"Fechar Janela Modal","Descriptions":"Descrições","descriptions off":"desativar descrições","Audio Track":"Faixa Áudio","You aborted the media playback":"Parou a reprodução do vídeo.","A network error caused the media download to fail part-way.":"Um erro na rede fez o vídeo falhar parcialmente.","The media could not be loaded, either because the server or network failed or because the format is not supported.":"O vídeo não pode ser carregado, ou porque houve um problema na rede ou no servidor, ou porque formato do vídeo não é compatível.","The media playback was aborted due to a corruption problem or because the media used features your browser did not support.":"A reprodução foi interrompida por um problema com o vídeo ou porque o formato não é compatível com o seu navegador.","No compatible source was found for this media.":"Não foi encontrada uma fonte de vídeo compatível.","The media is encrypted and we do not have the keys to decrypt it.":"O vídeo está encriptado e não há uma chave para o desencriptar.","Play Video":"Reproduzir Vídeo","Close":"Fechar","Modal Window":"Janela Modal","This is a modal window":"Isto é uma janela modal","This modal can be closed by pressing the Escape key or activating the close button.":"Esta modal pode ser fechada pressionando a tecla ESC ou ativando o botão de fechar.",", opens captions settings dialog":", abre janela com definições de legendas",", opens subtitles settings dialog":", abre janela com definições de legendas",", opens descriptions settings dialog":", abre janela com definições de descrições",", selected":", seleccionado"}')},75058:function(e){"use strict";e.exports=JSON.parse('{"Audio Player":"Zvukový prehrávač","Video Player":"Video prehrávač","Play":"Prehrať","Pause":"Pozastaviť","Replay":"Prehrať znova","Current Time":"Aktuálny čas","Duration":"Čas trvania","Remaining Time":"Zostávajúci čas","Stream Type":"Typ stopy","LIVE":"NAŽIVO","Loaded":"Načítané","Progress":"Priebeh","Progress Bar":"Ukazovateľ priebehu","progress bar timing: currentTime={1} duration={2}":"časovanie ukazovateľa priebehu: currentTime={1} duration={2}","Fullscreen":"Režim celej obrazovky","Exit Fullscreen":"Režim normálnej obrazovky","Mute":"Stlmiť","Unmute":"Zrušiť stlmenie","Playback Rate":"Rýchlosť prehrávania","Subtitles":"Titulky","subtitles off":"titulky vypnuté","Captions":"Popisky","captions off":"popisky vypnuté","Chapters":"Kapitoly","Descriptions":"Opisy","descriptions off":"opisy vypnuté","Audio Track":"Zvuková stopa","Volume Level":"Úroveň hlasitosti","You aborted the media playback":"Prerušili ste prehrávanie","A network error caused the media download to fail part-way.":"Sťahovanie súboru bolo zrušené pre chybu na sieti.","The media could not be loaded, either because the server or network failed or because the format is not supported.":"Súbor sa nepodarilo načítať pre chybu servera, sieťového pripojenia, alebo je formát súboru nepodporovaný.","The media playback was aborted due to a corruption problem or because the media used features your browser did not support.":"Prehrávanie súboru bolo prerušené pre poškodené dáta, alebo súbor používa vlastnosti, ktoré váš prehliadač nepodporuje.","No compatible source was found for this media.":"Nebol nájdený žiaden kompatibilný zdroj pre tento súbor.","The media is encrypted and we do not have the keys to decrypt it.":"Súbor je zašifrovaný a nie je k dispozícii kľúč na rozšifrovanie.","Play Video":"Prehrať video","Close":"Zatvoriť","Close Modal Dialog":"Zatvoriť modálne okno","Modal Window":"Modálne okno","This is a modal window":"Toto je modálne okno","This modal can be closed by pressing the Escape key or activating the close button.":"Toto modálne okno je možné zatvoriť stlačením klávesy Escape, alebo aktivovaním tlačidla na zatvorenie.",", opens captions settings dialog":", otvorí okno nastavení popiskov",", opens subtitles settings dialog":", otvorí okno nastavení titulkov",", opens descriptions settings dialog":", otvorí okno nastavení opisov",", selected":", označené","captions settings":"nastavenia popiskov","subtitles settings":"nastavenia titulkov","descriptions settings":"nastavenia opisov","Text":"Text","White":"Biela","Black":"Čierna","Red":"Červená","Green":"Zelená","Blue":"Modrá","Yellow":"Žltá","Magenta":"Ružová","Cyan":"Tyrkysová","Background":"Pozadie","Window":"Okno","Transparent":"Priesvitné","Semi-Transparent":"Polopriesvitné","Opaque":"Plné","Font Size":"Veľkosť písma","Text Edge Style":"Typ okrajov písma","None":"Žiadne","Raised":"Zvýšené","Depressed":"Znížené","Uniform":"Pravidelné","Dropshadow":"S tieňom","Font Family":"Typ písma","Proportional Sans-Serif":"Proporčné bezpätkové","Monospace Sans-Serif":"Pravidelné, bezpätkové","Proportional Serif":"Proporčné pätkové","Monospace Serif":"Pravidelné pätkové","Casual":"Bežné","Script":"Písané","Small Caps":"Malé kapitálky","Reset":"Resetovať","restore all settings to the default values":"všetky nastavenia na základné hodnoty","Done":"Hotovo","Caption Settings Dialog":"Okno nastavení popiskov","Beginning of dialog window. Escape will cancel and close the window.":"Začiatok okna. Klávesa Escape zruší a zavrie okno.","End of dialog window.":"Koniec okna.","{1} is loading.":"{1} sa načíta."}')},62718:function(e){"use strict";e.exports=JSON.parse('{"Audio Player":"Ses Oynatıcısı","Video Player":"Video Oynatıcısı","Play":"Oynat","Pause":"Duraklat","Replay":"Yeniden Oynat","Current Time":"Süre","Duration":"Toplam Süre","Remaining Time":"Kalan Süre","Stream Type":"Yayın Tipi","LIVE":"CANLI","Seek to live, currently behind live":"Canlıya git, şu anda canlının gerisinde","Seek to live, currently playing live":"Canlıya git, şu anda canlı oynuyor","Loaded":"Yüklendi","Progress":"Yükleniyor","Progress Bar":"İlerleme Çubuğu","progress bar timing: currentTime={1} duration={2}":"{1}/{2}","Fullscreen":"Tam Ekran","Exit Fullscreen":"Tam Ekrandan Çık","Mute":"Sessiz","Unmute":"Sesi Aç","Playback Rate":"Oynatma Hızı","Subtitles":"Altyazılar","subtitles off":"Altyazı Kapalı","Captions":"Altyazılar","captions off":"Altyazı Kapalı","Chapters":"Bölümler","Close Modal Dialog":"Etkileşim Penceresini Kapat","Descriptions":"Açıklamalar","descriptions off":"açıklamalar kapalı","Audio Track":"Ses Parçası","Volume Level":"Ses Düzeyi","You aborted the media playback":"Medyayı oynatmayı iptal ettiniz","A network error caused the media download to fail part-way.":"Medya indirme işleminin kısmen başarısız olmasına neden olan bir ağ sorunu oluştu.","The media could not be loaded, either because the server or network failed or because the format is not supported.":"Sunucu veya ağ hatasından ya da biçim desteklenmediğinden medya yüklenemedi.","The media playback was aborted due to a corruption problem or because the media used features your browser did not support.":"Medya oynatma, bir bozulma sorunu nedeniyle veya medya, tarayıcınızın desteklemediği özellikleri kullandığı için durduruldu.","No compatible source was found for this media.":"Bu medya için uyumlu bir kaynak bulunamadı.","The media is encrypted and we do not have the keys to decrypt it.":"Medya, şifrelenmiş bir kaynaktan geliyor ve oynatmak için gerekli anahtar bulunamadı.","Play Video":"Videoyu Oynat","Close":"Kapat","Modal Window":"Etkileşim Penceresi","This is a modal window":"Bu bir etkileşim penceresidir","This modal can be closed by pressing the Escape key or activating the close button.":"Bu etkileşim penceresi ESC tuşuna basarak ya da kapat butonuna tıklanarak kapatılabilir.",", opens captions settings dialog":", altyazı ayarları menüsünü açar",", opens subtitles settings dialog":", altyazı ayarları menüsünü açar",", opens descriptions settings dialog":", açıklama ayarları menüsünü açar",", selected":", seçildi","captions settings":"altyazı ayarları","subtitles settings":"altyazı ayarları","descriptions settings":"açıklama ayarları","Text":"Metin","White":"Beyaz","Black":"Siyah","Red":"Kırmızı","Green":"Yeşil","Blue":"Mavi","Yellow":"Sarı","Magenta":"Macenta","Cyan":"Açık Mavi (Camgöbeği)","Background":"Arka plan","Window":"Pencere","Transparent":"Saydam","Semi-Transparent":"Yarı-Saydam","Opaque":"Mat","Font Size":"Metin Boyutu","Text Edge Style":"Metin Kenar Stili","None":"Hiçbiri","Raised":"Kabarık","Depressed":"Yassı","Uniform":"Düz","Dropshadow":"Gölgeli","Font Family":"Yazı Tipi","Proportional Sans-Serif":"Orantılı Sans-Serif","Monospace Sans-Serif":"Eşaralıklı Sans-Serif","Proportional Serif":"Orantılı Serif","Monospace Serif":"Eşaralıklı Serif","Casual":"Gündelik","Script":"El Yazısı","Small Caps":"Küçük Boyutlu Büyük Harfli","Reset":"Sıfırla","restore all settings to the default values":"tüm ayarları varsayılan değerlere geri yükler","Done":"Tamam","Caption Settings Dialog":"Altyazı Ayarları Menüsü","Beginning of dialog window. Escape will cancel and close the window.":"Etkileşim penceresinin başlangıcı. ESC tuşu işlemi iptal edip pencereyi kapatacaktır.","End of dialog window.":"Etkileşim penceresinin sonu.","{1} is loading.":"{1} yükleniyor.","Exit Picture-in-Picture":"Mini oynatıcıdan çık","Picture-in-Picture":"Mini oynatıcı","No content":"İçerik yok"}')},51131:function(e){"use strict";e.exports=JSON.parse('{"Play":"播放","Pause":"暂停","Current Time":"当前时间","Duration":"时长","Remaining Time":"剩余时间","Stream Type":"媒体流类型","LIVE":"直播","Loaded":"加载完成","Progress":"进度","Fullscreen":"全屏","Exit Fullscreen":"退出全屏","Picture-in-Picture":"画中画","Exit Picture-in-Picture":"退出画中画","Mute":"静音","Unmute":"开启音效","Playback Rate":"播放速度","Subtitles":"字幕","subtitles off":"关闭字幕","Captions":"内嵌字幕","captions off":"关闭内嵌字幕","Chapters":"节目段落","Close Modal Dialog":"关闭弹窗","Descriptions":"描述","descriptions off":"关闭描述","Audio Track":"音轨","You aborted the media playback":"视频播放被终止","A network error caused the media download to fail part-way.":"网络错误导致视频下载中途失败。","The media could not be loaded, either because the server or network failed or because the format is not supported.":"视频因格式不支持或者服务器或网络的问题无法加载。","The media playback was aborted due to a corruption problem or because the media used features your browser did not support.":"由于视频文件损坏或是该视频使用了你的浏览器不支持的功能,播放终止。","No compatible source was found for this media.":"无法找到此视频兼容的源。","The media is encrypted and we do not have the keys to decrypt it.":"视频已加密,无法解密。","Play Video":"播放视频","Close":"关闭","Modal Window":"弹窗","This is a modal window":"这是一个弹窗","This modal can be closed by pressing the Escape key or activating the close button.":"可以按ESC按键或启用关闭按钮来关闭此弹窗。",", opens captions settings dialog":", 开启标题设置弹窗",", opens subtitles settings dialog":", 开启字幕设置弹窗",", opens descriptions settings dialog":", 开启描述设置弹窗",", selected":", 选择","captions settings":"字幕设定","Audio Player":"音频播放器","Video Player":"视频播放器","Replay":"重新播放","Progress Bar":"进度条","Volume Level":"音量","subtitles settings":"字幕设定","descriptions settings":"描述设定","Text":"文字","White":"白","Black":"黑","Red":"红","Green":"绿","Blue":"蓝","Yellow":"黄","Magenta":"紫红","Cyan":"青","Background":"背景","Window":"窗口","Transparent":"透明","Semi-Transparent":"半透明","Opaque":"不透明","Font Size":"字体尺寸","Text Edge Style":"字体边缘样式","None":"无","Raised":"浮雕","Depressed":"压低","Uniform":"均匀","Dropshadow":"下阴影","Font Family":"字体库","Proportional Sans-Serif":"比例无细体","Monospace Sans-Serif":"单间隔无细体","Proportional Serif":"比例细体","Monospace Serif":"单间隔细体","Casual":"舒适","Script":"手写体","Small Caps":"小型大写字体","Reset":"重置","restore all settings to the default values":"恢复全部设定至预设值","Done":"完成","Caption Settings Dialog":"字幕设定窗口","Beginning of dialog window. Escape will cancel and close the window.":"打开对话窗口。Escape键将取消并关闭对话窗口","End of dialog window.":"结束对话窗口","Seek to live, currently behind live":"尝试直播,当前为延时播放","Seek to live, currently playing live":"尝试直播,当前为实时播放","progress bar timing: currentTime={1} duration={2}":"{1}/{2}","{1} is loading.":"正在加载 {1}。","No content":"无内容","Color":"颜色","Opacity":"不透明度","Text Background":"文本背景","Caption Area Background":"字幕区域背景","Skip forward {1} seconds":"快进 {1} 秒","Skip backward {1} seconds":"快退 {1} 秒"}')},87922:function(e){"use strict";e.exports=JSON.parse('{"Play":"播放","Pause":"暫停","Current Time":"目前時間","Duration":"總共時間","Remaining Time":"剩餘時間","Stream Type":"串流類型","LIVE":"直播","Loaded":"載入完畢","Progress":"進度","Fullscreen":"全螢幕","Exit Fullscreen":"退出全螢幕","Picture-in-Picture":"子母畫面","Exit Picture-in-Picture":"退出子母畫面","Mute":"靜音","Unmute":"開啟音效","Playback Rate":" 播放速率","Subtitles":"字幕","subtitles off":"關閉字幕","Captions":"內嵌字幕","captions off":"關閉內嵌字幕","Chapters":"章節","Close Modal Dialog":"關閉對話框","Descriptions":"描述","descriptions off":"關閉描述","Audio Track":"音軌","You aborted the media playback":"影片播放已終止","A network error caused the media download to fail part-way.":"網路錯誤導致影片下載失敗。","The media could not be loaded, either because the server or network failed or because the format is not supported.":"因格式不支援、伺服器或網路的問題無法載入媒體。","The media playback was aborted due to a corruption problem or because the media used features your browser did not support.":"由於影片檔案損毀或是該影片使用了您的瀏覽器不支援的功能,已終止播放媒體。","No compatible source was found for this media.":"無法找到相容此媒體的來源。","The media is encrypted and we do not have the keys to decrypt it.":"媒體已加密,無法解密。","Play Video":"播放影片","Close":"關閉","Modal Window":"強制回應視窗","This is a modal window":"此為強制回應視窗","This modal can be closed by pressing the Escape key or activating the close button.":"可以按ESC按鍵或關閉按鈕來關閉此視窗。",", opens captions settings dialog":", 開啟標題設定對話框",", opens subtitles settings dialog":", 開啟字幕設定對話框",", opens descriptions settings dialog":", 開啟描述設定對話框",", selected":", 選擇","captions settings":"字幕設定","Audio Player":"音訊播放器","Video Player":"視訊播放器","Replay":"重播","Progress Bar":"進度列","Volume Level":"音量","subtitles settings":"字幕設定","descriptions settings":"描述設定","Text":"文字","White":"白","Black":"黑","Red":"紅","Green":"綠","Blue":"藍","Yellow":"黃","Magenta":"紫紅","Cyan":"青","Background":"背景","Window":"視窗","Transparent":"透明","Semi-Transparent":"半透明","Opaque":"不透明","Font Size":"字型尺寸","Text Edge Style":"字型邊緣樣式","None":"無","Raised":"浮雕","Depressed":"壓低","Uniform":"均勻","Dropshadow":"下陰影","Font Family":"字型系列","Proportional Sans-Serif":"調和間距無襯線字型","Monospace Sans-Serif":"等寬無襯線字型","Proportional Serif":"調和間距襯線字型","Monospace Serif":"等寬襯線字型","Casual":"輕便的","Script":"手寫體","Small Caps":"小型大寫字體","Reset":"重置","restore all settings to the default values":"恢復全部設定至預設值","Done":"完成","Caption Settings Dialog":"字幕設定對話框","Beginning of dialog window. Escape will cancel and close the window.":"開始對話視窗。離開會取消並關閉視窗","End of dialog window.":"結束對話視窗","Seek to live, currently behind live":"快轉至直播,目前為稍早畫面","Seek to live, currently playing live":"快轉至直播,目前為現場畫面","progress bar timing: currentTime={1} duration={2}":"{1}/{2}","{1} is loading.":"{1} 正在載入。","No content":"無內容","Color":"顏色","Opacity":"不透明度","Text Background":"文字背景","Caption Area Background":"字幕區域背景","Skip forward {1} seconds":"快轉 {1} 秒","Skip backward {1} seconds":"倒轉 {1} 秒"}')}}]);/*! For license information please see 9c38c404.js.LICENSE.txt */
(self.wpRiseJsonp=self.wpRiseJsonp||[]).push([["vendors-node_modules_articulate_ducks_index_js-node_modules_articulate_funky_lib_assemble_js--60fa26"],{97411:function(e,t,n){var r=n(87555),i=n(31730),o=n(97218);e.exports=function(e){var t=o.CancelToken.source(),n=i({cancelToken:t.token},e);return new r((function(e,r){return o(n).then(r).catch(e),t.cancel.bind(t)}))}},87555:function(e,t,n){var r=n(79862),i=n(91486),o=n(22876).type("Async"),a=n(22876).typeFn(o(),5),s=n(92244),u=n(91469),c=n(84449),l=n(57598),f=n(91508),d=n(8317),p=n(57778),h=n(23092),g=n(52387),m=n(83606),y=n(28950),v=function(e){return b((function(t,n){return n(e)}))};function b(e){var t;if(!h(e))throw new TypeError("Async: Function required");var n=v,r=function(){return"Async"+i(e)};function u(t,n,r){if(!h(t)||!h(n))throw new TypeError("Async.fork: Reject and resolve functions required");var i=!1,o=!1,a=h(r)?r:f,s=function(e,t){if(!o)return o=!0,i?f():e(t)},u=e(s.bind(null,t),s.bind(null,n)),c=h(u)?u:f;return l((function(){return a((c(),void(i=!0)))}))}function d(e){return function(t){if(!h(t))throw new TypeError("Async."+e+": Function required");return b((function(e,n){return u(e,c(n,t))}))}}function p(e){return function(t,n){if(!h(t)||!h(n))throw new TypeError("Async."+e+": Functions required for both arguments");return b((function(e,r){return u(c(e,t),c(r,n))}))}}function g(e){return function(t){if(!y(b,t))throw new TypeError("Async."+e+": Async required");return b((function(e,n){var r=f,i=f;return r=u((function(){i=t.fork(e,n)}),n),l((function(){return i(r())}))}))}}function m(e){return function(t){if(!h(t))throw new TypeError("Async."+e+": Async returning function required");return b((function(n,r){var i=f,o=f;return i=u(n,(function(i){var a=t(i);if(!y(b,a))throw new TypeError("Async."+e+": Function must return another Async");o=a.fork(n,r)})),l((function(){return o(i())}))}))}}return(t={fork:u,toPromise:function(){return new Promise((function(e,t){u(t,e)}))},inspect:r,toString:r,type:o,swap:function(e,t){if(!h(e)||!h(t))throw new TypeError("Async.swap: Functions required for both arguments");return b((function(n,r){return u(c(r,e),c(n,t))}))},race:function(e){if(!y(b,e))throw new TypeError("Async.race: Async required");return b((function(t,n){var r=l((function(e,r){return e?n(r):t(r)})),i=r.bind(null,!0),o=r.bind(null,!1),a=u(o,i),s=e.fork(o,i);return function(){a(),s()}}))},coalesce:function(e,t){if(!h(e)||!h(t))throw new TypeError("Async.coalesce: Functions required for both arguments");return b((function(n,r){return u(c(r,e),c(r,t))}))},ap:function(e){if(!y(b,e))throw new TypeError("Async.ap: Async required");return b((function(t,n){var r=null,i=null,o=!1,a=!1,s=!1,f=l(t);function d(){!s&&o&&a&&c(n,r)(i)}var p=u(f,(function(e){if(!h(e))throw new TypeError("Async.ap: Wrapped value must be a function");o=!0,r=e,d()})),g=e.fork(f,(function(e){a=!0,i=e,d()}));return function(){p(),g(),s=!0}}))},of:n,alt:g("alt"),bimap:p("bimap"),map:d("map"),chain:m("chain"),bichain:function(e,t){var n="Async.bichain: Both arguments must be Async returning functions";if(!h(e)||!h(t))throw new TypeError(n);return b((function(r,i){var o=f,a=f;function s(e){return function(t){var o=e(t);if(!y(b,o))throw new TypeError(n);a=o.fork(r,i)}}return o=u(s(e),s(t)),l((function(){return a(o())}))}))}})[s.of]=n,t[s.alt]=g(s.alt),t[s.bimap]=p(s.bimap),t[s.map]=d(s.map),t[s.chain]=m(s.chain),t["@@type"]=a,t.constructor=b,t}b.of=v,b.type=o,b[s.of]=v,b["@@type"]=a,b.Rejected=function(e){return b((function(t){return t(e)}))},b.Resolved=v,b.fromPromise=function(e){if(!h(e))throw new TypeError("Async.fromPromise: Promise returning function required");return function(){var t=arguments;return b((function(n,r){var i=e.apply(null,t);if(!m(i))throw new TypeError("Async.fromPromise: Promise returning function required");i.then(r,n)}))}},b.fromNode=function(e,t){if(!h(e))throw new TypeError("Async.fromNode: CPS function required");return function(){for(var n=[],r=arguments.length;r--;)n[r]=arguments[r];return b((function(r,i){e.apply(t,n.concat((function(e,t){return e?r(e):i(t)})))}))}},b.all=function(e){if(!p(e)||!e.reduce((function(e,t){return e&&y(b,t)}),!0))throw new TypeError("Async.all: Foldable structure of Asyncs required");return d(e)?u.sequence(b.of,e):e.sequence(b.of)},b.rejectAfter=function(e,t){if(!(g(e)&&e>=0))throw new TypeError("Async.rejectAfter: Positive Integer required for first argument");return b((function(n){var r=setTimeout((function(){n(t)}),e);return function(){clearTimeout(r)}}))},b.resolveAfter=function(e,t){if(!(g(e)&&e>=0))throw new TypeError("Async.resolveAfter: Positive Integer required for first argument");return b((function(n,r){var i=setTimeout((function(){r(t)}),e);return function(){clearTimeout(i)}}))},b["@@implements"]=r(["alt","ap","bimap","chain","map","of"]),e.exports=b},91508:function(e){e.exports=Function.prototype},60068:function(e,t,n){var r=n(61510),i=n(55769);e.exports=function(e){return function(t){return r(e)?e.of(t):i(Array,e)?[t]:e(t)}}},91469:function(e,t,n){var r=n(62497),i=n(8317),o=n(34281),a=n(23092),s=n(28950),u=n(85504),c=n(60068),l=function(e){return e},f=function(e){return function(t){return e.concat(t)}};function d(e,t){return function(n,o){var a=t(o);if(!r(n)&&!i(n)||!s(n,a))throw new TypeError("Array."+e+": Must wrap Applys of the same type");return i(a)?h(n,p((function(e){return f([e])}),a)):a.map((function(e){return f([e])})).ap(n)}}var p=function(e,t){return t.map((function(t){return e(t)}))};function h(e,t){if(!t.length||!t.reduce((function(e,t){return e&&a(t)}),!0))throw new TypeError("Array.ap: Second Array must all be functions");return t.reduce((function(t,n){return t.concat(p(n,e))}),[])}e.exports={ap:h,chain:function(e,t){return t.reduce((function(t,n){var r=e(n);if(!i(r))throw new TypeError("Array.chain: Function must return an Array");return t.concat(r)}),[])},fold:function(e){if(o(e))throw new TypeError("Array.fold: Non-empty Array of Semigroups required");var t=e[0];if(!u(t))throw new TypeError("Array.fold: Must contain Semigroups of the same type");return e.reduce((function(e,t){if(!s(e,t))throw new TypeError("Array.fold: Must contain Semigroups of the same type");return e.concat(t)}))},foldMap:function(e,t){if(o(t))throw new TypeError("Array.foldMap: Non-empty Array required");var n=e(t[0]);if(!u(n))throw new TypeError("Array.foldMap: Provided function must return Semigroups of the same type");return 1===t.length?n:t.slice(1).reduce((function(t,n){var r=e(n);if(!s(t,r)||!u(r))throw new TypeError("Array.foldMap: Provided function must return Semigroups of the same type");return t.concat(r)}),n)},map:p,sequence:function(e,t){var n=c(e);return t.reduceRight(d("sequence",l),n([]))},set:function(e,t,n){var r=n.slice();return r[e]=t,r},traverse:function(e,t,n){var r=c(e);return n.reduceRight(d("traverse",t),r([]))},unset:function(e,t){return t.slice(0,e).concat(t.slice(e+1))}}},84449:function(e){e.exports=function(e,t){return function(n){return e(t(n))}}},92955:function(e,t,n){var r=n(23092);function i(e,t){return r(e)?e.length>1?e.bind(null,t):e.call(null,t):e}e.exports=function e(t){return function(){for(var n=[],o=arguments.length;o--;)n[o]=arguments[o];var a=n.length?n:[void 0];if(a.length<t.length)return e(Function.bind.apply(t,[null].concat(a)));var s=a.length===t.length?t.apply(null,a):a.reduce(i,t);return r(s)?e(s):s}}},93548:function(e,t,n){var r=n(28950),i=n(97922),o=n(98399),a=n(8761),s=n(92244),u=function(e,t){return e.valueOf()===t.valueOf()},c={Array:function(e,t){return e.length===t.length&&l(e,t)},Date:function(e,t){return i(e.valueOf(),t.valueOf())},Error:function(e,t){return e.name===t.name&&e.message===t.message},Object:function(e,t){return Object.keys(e).length===Object.keys(t).length&&l(e,t)},RegExp:function(e,t){return e.source===t.source&&e.ignoreCase===t.ignoreCase&&e.global===t.global&&e.multiline===t.multiline&&e.unicode===t.unicode}};function l(e,t){for(var n in e)if(!f(e[n],t[n]))return!1;return!0}function f(e,t){return!!i(e,t)||!!r(e,t)&&(o("equals",e)?(t[s.equals]||t.equals).call(t,e):(c[a(e)]||u)(e,t))}e.exports=f},92244:function(e){e.exports={alt:"fantasy-land/alt",bimap:"fantasy-land/bimap",chain:"fantasy-land/chain",compose:"fantasy-land/compose",concat:"fantasy-land/concat",contramap:"fantasy-land/contramap",empty:"fantasy-land/empty",equals:"fantasy-land/equals",extend:"fantasy-land/extend",filter:"fantasy-land/filter",id:"fantasy-land/id",map:"fantasy-land/map",of:"fantasy-land/of",promap:"fantasy-land/promap",reduce:"fantasy-land/reduce",zero:"fantasy-land/zero"}},98399:function(e,t,n){var r=n(23092),i=n(92244);e.exports=function(e,t){return!!t&&(function(e,t){return r(t[i[e]])||r(t[e])}(e,t)||function(e,t){return r(t["@@implements"])&&!!t["@@implements"](e)}(e,t))}},79862:function(e){e.exports=function(e){return function(t){return-1!==e.indexOf(t)}}},91486:function(e,t,n){var r=n(8317),i=n(23092),o=n(43945),a=n(43111),s=n(40903),u=n(40415);function c(e){return e&&i(e.inspect)?" "+e.inspect():i(e)?" Function":r(e)?" ["+(((t=e).length?t.map(c).reduce((function(e,t){return e+","+t})):t)+" ]"):o(e)?" { "+Object.keys(e).reduce((function(t,n){return t.concat([n+":"+c(e[n])])}),[]).join(", ")+" }":a(e)?' "'+e+'"':s(e)||u(e)?" "+e.toString():" "+e;var t}e.exports=c},61510:function(e,t,n){var r=n(98399),i=n(62497);e.exports=function(e){return i(e)&&(r("of",e)||r("of",e.constructor))}},62497:function(e,t,n){var r=n(98399),i=n(12584);e.exports=function(e){return i(e)&&r("ap",e)}},8317:function(e){e.exports=function(e){return Array.isArray(e)}},40415:function(e){e.exports=function(e){return"[object Date]"===Object.prototype.toString.apply(e)&&!isNaN(e.valueOf())}},34281:function(e,t,n){var r=n(43945),i=n(84061),o=n(93548),a=n(92244);e.exports=function(e){if(i(e)){var t=e.constructor[a.empty]||e.constructor.empty||e.empty;return o(e,t())}return r(e)?!Object.keys(e).length:!e||void 0===e.length||!e.length}},57778:function(e,t,n){var r=n(98399);e.exports=function(e){return!!e&&r("reduce",e)}},23092:function(e){e.exports=function(e){return"function"==typeof e}},12584:function(e,t,n){var r=n(98399);e.exports=function(e){return!!e&&r("map",e)}},52387:function(e,t,n){var r=n(51544);e.exports=function(e){return r(e)&&isFinite(e)&&Math.floor(e)===e}},84061:function(e,t,n){var r=n(98399),i=n(85504);e.exports=function(e){return i(e)&&(r("empty",e)||r("empty",e.constructor))}},51544:function(e){e.exports=function(e){return"number"==typeof e&&!isNaN(e)}},43945:function(e){var t=Object.prototype.toString;e.exports=function(e){return!!e&&"[object Object]"===t.call(e)}},83606:function(e,t,n){var r=n(23092);e.exports=function(e){return!!e&&r(e.then)&&r(e.catch)}},97922:function(e){e.exports=function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}},28950:function(e,t,n){var r=n(92955),i=n(23092),o=n(8761);e.exports=r((function(e,t){var n=o(e),r=o(t);return n===r||i(e)&&e.name===r||i(t)&&t.name===n}))},85504:function(e,t,n){var r=n(43111),i=n(98399);e.exports=function(e){return r(e)||!!e&&i("concat",e)}},43111:function(e){e.exports=function(e){return"string"==typeof e}},40903:function(e){e.exports=function(e){return"symbol"==typeof e}},55769:function(e,t,n){var r=n(23092);e.exports=function(e,t){return r(t)&&(e===t||e.name===t.name)}},57598:function(e){e.exports=function(e){var t,n;return function(){return t||(t=!0,n=e.apply(null,arguments)),n}}},8761:function(e,t,n){var r=n(23092);e.exports=function(e){return e&&r(e.type)?e.type():{}.toString.call(e).slice(8,-1)}},22876:function(e){var t={unk:function(){return"unknown"},All:function(){return"All"},Any:function(){return"Any"},Arrow:function(){return"Arrow"},Assign:function(){return"Assign"},Async:function(){return"Async"},Const:function(e){return"Const("+e+")"},Either:function(){return"Either"},Endo:function(){return"Endo"},Equiv:function(){return"Equiv"},First:function(){return"First"},Identity:function(){return"Identity"},IO:function(){return"IO"},Last:function(){return"Last"},List:function(){return"List"},Max:function(){return"Max"},Maybe:function(){return"Maybe"},Min:function(){return"Min"},Pair:function(){return"Pair"},Pred:function(){return"Pred"},Prod:function(){return"Prod"},Reader:function(){return"Reader"},Result:function(){return"Result"},Star:function(){return"Star"},State:function(){return"State"},Sum:function(){return"Sum"},Tuple:function(e){return e+"-Tuple"},Unit:function(){return"Unit"},Writer:function(){return"Writer"}},n=function(e){return t[e]||t.unk};e.exports={proxy:function(e,t){return{type:function(){return n(e)(t)}}},type:n,typeFn:function(e,t,r){return"crocks/"+n(e)(r)+"@"+(t||0)}}},96249:function(e,t,n){t.action=n(54769),n(47697),t.error=n(82769),t.handle=n(54345),n(6154),t.onSuccess=n(11869),t.sideEffect=n(21159)},54769:function(e,t,n){var r=n(43825);e.exports=r((function(e,t){return{type:e,payload:t}}))},47697:function(e,t,n){var r=n(43825);e.exports=r((function(e,t){return[t,e]}))},82769:function(e,t,n){var r=n(43825);e.exports=r((function(e,t){return{type:e,payload:t,error:!0}}))},54345:function(e,t,n){var r=n(43825);e.exports=r((function(e,t){return function(n,r){void 0===n&&(n=e);var i=r.type,o=r.payload,a=r.error;return t[i]?t[i](n,o,a):n}}))},6154:function(e){e.exports=function(e,t,n){return n&&console.error(t),e}},11869:function(e){e.exports=function(e){return function(t,n,r){return r?t:e(t,n)}}},21159:function(e,t,n){var r=n(67125),i=n(59146);e.exports=function(e){return i(e).map(r({type:"SIDE_EFFECT"}))}},59146:function(e,t,n){var r=n(63707),i=n(98652),o=n(66473).type("IO"),a=n(95097),s=n(85998),u=n(21064),c=function(e){return l((function(){return e}))};function l(e){if(!s(e))throw new TypeError("IO: Must wrap a function");function t(t){if(!s(t))throw new TypeError("IO.chain: Function required");return l((function(){var n=t(e());if(!u(l,n))throw new TypeError("IO.chain: Function must return an IO");return n.run()}))}return{inspect:function(){return"IO"+i(e)},run:e,type:o,map:function(t){if(!s(t))throw new TypeError("IO.map: Function required");return l(a(t,e))},ap:function(e){if(!u(l,e))throw new TypeError("IO.ap: IO required");return t((function(t){return e.map(t)}))},of:c,chain:t}}l.of=c,l.type=o,l["@@implements"]=r(["ap","chain","map","of"]),e.exports=l},67125:function(e,t,n){var r=n(26182);e.exports=r(n(31701))},96956:function(e){e.exports=function(e){return Array.prototype.slice.call(e)}},95097:function(e){e.exports=function(e,t){return function(n){return e(t(n))}}},31701:function(e){e.exports=function(e){return function(){return e}}},26182:function(e,t,n){var r=n(96956),i=n(85998);function o(e,t){return i(e)?e.length>1?e.bind(null,t):e.call(null,t):e}e.exports=function e(t){return function(){var n=r(arguments),a=n.length?n:[void 0];if(a.length<t.length)return e(Function.bind.apply(t,[null].concat(a)));var s=a.length===t.length?t.apply(null,a):a.reduce(o,t);return i(s)?e(s):s}}},63707:function(e){e.exports=function(e){return function(t){return-1!==e.indexOf(t)}}},98652:function(e,t,n){var r=n(80434),i=n(85998),o=n(16626),a=n(58570);function s(e){return e&&i(e.inspect)?" "+e.inspect():i(e)?" Function":r(e)?" ["+(((t=e).length?t.map(s).reduce((function(e,t){return e+","+t})):t)+" ]"):o(e)?" {}":a(e)?' "'+e+'"':" "+e;var t}e.exports=s},80434:function(e){e.exports=function(e){return Array.isArray(e)}},85998:function(e){e.exports=function(e){return"function"==typeof e}},65026:function(e){e.exports=function(e){return null==e||Number.isNaN(e)}},16626:function(e){e.exports=function(e){return!!e&&e.toString&&"[object Object]"===e.toString()}},21064:function(e,t,n){var r=n(26182),i=n(80434),o=n(85998),a=n(65026);function s(e){return!!e&&o(e.type)}function u(e){return i(e)?"array":typeof e}e.exports=r((function(e,t){return s(e)||s(t)?function(e,t){return s(e)&&s(t)&&e.type()===t.type()}(e,t):a(e)||a(t)?e===t:function(e,t){return e.name===t.constructor.name||t.name===e.constructor.name}(e,t)||u(e)===u(t)}))},58570:function(e){e.exports=function(e){return"string"==typeof e}},66473:function(e){var t={unk:function(){return"unknown"},All:function(){return"All"},Any:function(){return"Any"},Arrow:function(){return"Arrow"},Assign:function(){return"Assign"},Async:function(){return"Async"},Const:function(){return"Const"},Either:function(){return"Either"},Endo:function(){return"Endo"},First:function(){return"First"},Identity:function(){return"Identity"},IO:function(){return"IO"},Last:function(){return"Last"},List:function(){return"List"},Max:function(){return"Max"},Maybe:function(){return"Maybe"},Min:function(){return"Min"},Pair:function(){return"Pair"},Pred:function(){return"Pred"},Prod:function(){return"Prod"},Reader:function(){return"Reader"},Result:function(){return"Result"},Star:function(){return"Star"},State:function(){return"State"},Sum:function(){return"Sum"},Unit:function(){return"Unit"},Writer:function(){return"Writer"}},n=function(e){return t[e]||t.unk};e.exports={proxy:function(e){return{type:n(e)}},type:n}},43825:function(e,t,n){var r=n(26182),i=n(85998);e.exports=function(e){if(!i(e))throw new TypeError("curry: Function required");return r(e)}},22673:function(e,t,n){var r=n(4240),i=n(30449),o=function(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];var i=function(e){var n=typeof e;return"function"===n?e.apply(void 0,t):e&&"object"===n?o.apply(void 0,[e].concat(t)):e};return r(i,e)};e.exports=i(o)},37990:function(e,t,n){var r=n(87988),i=n(79762),o=n(54456),a=n(44216);e.exports=a(3,(function(e,t){return i(r(e),[t,o])}))},30449:function(e,t,n){var r=n(12637),i=n(15866),o=n(96323),a=n(48215),s=n(48283),u=n(4240),c=n(81250),l=n(47929),f=n(3189),d=o((function(e,t){return typeof t===e})),p=function(e){return l(u(h),Math.max,0,f(e))},h=i([[d("object"),p],[d("function"),s],[c,r(0)]]);e.exports=o((function(e,t){for(var n=[],r=arguments.length-2;r-- >0;)n[r]=arguments[r+2];var i=p(t),o=a(i+1,e);return 0===n.length?0===i?function(){for(var e=[],n=arguments.length;n--;)e[n]=arguments[n];return o.apply(void 0,[t].concat(e))}:o(t):o.apply(void 0,[t].concat(n))}))},8727:function(e,t,n){var r=n(87988),i=n(79762),o=n(69868),a=n(26039),s=n(3273),u=n(44216),c=n(45724);e.exports=u(3,(function(e,t){return c(a(e),i(r(t),[s(e),o(e)]))}))},62023:function(e,t,n){var r=n(96323),i=function(e,t){for(var n in t=Object.assign({},t),e)if(n in t){var r=e[n];"object"==typeof r?t[n]=i(r,t[n]):(t[r]=t[n],delete t[n])}return t};e.exports=r(i)},81250:function(e,t,n){var r=n(12637)(!0);e.exports=r},12637:function(e,t,n){var r=n(38151)((function(e){return function(){return e}}));e.exports=r},87988:function(e,t,n){var r=n(34525)((function(e,t,n){var r={};for(var i in n)r[i]=n[i];return r[e]=t,r}));e.exports=r},61232:function(e,t,n){var r=n(65102),i=n(22909)((function(e,t){return r(e.length,(function(){return e.apply(t,arguments)}))}));e.exports=i},15866:function(e,t,n){var r=n(65102),i=n(38151),o=n(4240),a=n(26188),s=n(53330),u=i((function(e){var t=s(a,0,o((function(e){return e[0].length}),e));return r(t,(function(){for(var t=0;t<e.length;){if(e[t][0].apply(this,arguments))return e[t][1].apply(this,arguments);t+=1}}))}));e.exports=u},79762:function(e,t,n){var r=n(22909),i=n(48624),o=n(48215),a=n(26188),s=n(30387),u=n(53330),c=r((function(e,t){return o(u(a,0,s("length",t)),(function(){var n=arguments,r=this;return e.apply(r,i((function(e){return e.apply(r,n)}),t))}))}));e.exports=c},96323:function(e,t,n){var r=n(38151),i=n(48215),o=r((function(e){return i(e.length,e)}));e.exports=o},48215:function(e,t,n){var r=n(65102),i=n(38151),o=n(22909),a=n(10593),s=o((function(e,t){return 1===e?i(t):r(e,a(e,[],t))}));e.exports=s},69868:function(e,t,n){var r=n(22909)((function(e,t){var n={};for(var r in t)n[r]=t[r];return delete n[e],n}));e.exports=r},26039:function(e,t,n){var r=n(22909)((function(e,t){return e in t}));e.exports=r},54456:function(e,t,n){var r=n(38151)(n(80975));e.exports=r},65102:function(e){e.exports=function(e,t){switch(e){case 0:return function(){return t.apply(this,arguments)};case 1:return function(e){return t.apply(this,arguments)};case 2:return function(e,n){return t.apply(this,arguments)};case 3:return function(e,n,r){return t.apply(this,arguments)};case 4:return function(e,n,r,i){return t.apply(this,arguments)};case 5:return function(e,n,r,i,o){return t.apply(this,arguments)};case 6:return function(e,n,r,i,o,a){return t.apply(this,arguments)};case 7:return function(e,n,r,i,o,a,s){return t.apply(this,arguments)};case 8:return function(e,n,r,i,o,a,s,u){return t.apply(this,arguments)};case 9:return function(e,n,r,i,o,a,s,u,c){return t.apply(this,arguments)};case 10:return function(e,n,r,i,o,a,s,u,c,l){return t.apply(this,arguments)};default:throw new Error("First argument to _arity must be a non-negative integer no greater than ten")}}},38151:function(e,t,n){var r=n(14816);e.exports=function(e){return function t(n){return 0===arguments.length||r(n)?t:e.apply(this,arguments)}}},22909:function(e,t,n){var r=n(38151),i=n(14816);e.exports=function(e){return function t(n,o){switch(arguments.length){case 0:return t;case 1:return i(n)?t:r((function(t){return e(n,t)}));default:return i(n)&&i(o)?t:i(n)?r((function(t){return e(t,o)})):i(o)?r((function(t){return e(n,t)})):e(n,o)}}}},34525:function(e,t,n){var r=n(38151),i=n(22909),o=n(14816);e.exports=function(e){return function t(n,a,s){switch(arguments.length){case 0:return t;case 1:return o(n)?t:i((function(t,r){return e(n,t,r)}));case 2:return o(n)&&o(a)?t:o(n)?i((function(t,n){return e(t,a,n)})):o(a)?i((function(t,r){return e(n,t,r)})):r((function(t){return e(n,a,t)}));default:return o(n)&&o(a)&&o(s)?t:o(n)&&o(a)?i((function(t,n){return e(t,n,s)})):o(n)&&o(s)?i((function(t,n){return e(t,a,n)})):o(a)&&o(s)?i((function(t,r){return e(n,t,r)})):o(n)?r((function(t){return e(t,a,s)})):o(a)?r((function(t){return e(n,t,s)})):o(s)?r((function(t){return e(n,a,t)})):e(n,a,s)}}}},10593:function(e,t,n){var r=n(65102),i=n(14816);e.exports=function e(t,n,o){return function(){for(var a=[],s=0,u=t,c=0;c<n.length||s<arguments.length;){var l;c<n.length&&(!i(n[c])||s>=arguments.length)?l=n[c]:(l=arguments[s],s+=1),a[c]=l,i(l)||(u-=1),c+=1}return u<=0?o.apply(this,a):r(u,e(t,a,o))}}},5083:function(e,t,n){var r=n(66417),i=n(96573);e.exports=function(e,t,n){return function(){if(0===arguments.length)return n();var o=Array.prototype.slice.call(arguments,0),a=o.pop();if(!r(a)){for(var s=0;s<e.length;){if("function"==typeof a[e[s]])return a[e[s]].apply(a,o);s+=1}if(i(a)){var u=t.apply(null,o);return u(a)}}return n.apply(this,arguments)}}},41789:function(e){e.exports=function(e,t){return Object.prototype.hasOwnProperty.call(t,e)}},80975:function(e){e.exports=function(e){return e}},98256:function(e,t,n){var r=n(41789),i=Object.prototype.toString;e.exports=function(){return"[object Arguments]"===i.call(arguments)?function(e){return"[object Arguments]"===i.call(e)}:function(e){return r("callee",e)}}},66417:function(e){e.exports=Array.isArray||function(e){return null!=e&&e.length>=0&&"[object Array]"===Object.prototype.toString.call(e)}},29230:function(e,t,n){var r=n(38151),i=n(66417),o=n(56479),a=r((function(e){return!!i(e)||!!e&&("object"==typeof e&&(!o(e)&&(1===e.nodeType?!!e.length:0===e.length||e.length>0&&(e.hasOwnProperty(0)&&e.hasOwnProperty(e.length-1)))))}));e.exports=a},5366:function(e){e.exports=function(e){return"[object Number]"===Object.prototype.toString.call(e)}},14816:function(e){e.exports=function(e){return null!=e&&"object"==typeof e&&!0===e["@@functional/placeholder"]}},56479:function(e){e.exports=function(e){return"[object String]"===Object.prototype.toString.call(e)}},96573:function(e){e.exports=function(e){return"function"==typeof e["@@transducer/step"]}},48624:function(e){e.exports=function(e,t){for(var n=0,r=t.length,i=Array(r);n<r;)i[n]=e(t[n]),n+=1;return i}},36258:function(e,t,n){var r=n(29230),i=n(92870),o=n(61232);function a(e,t,n){for(var r=n.next();!r.done;){if((t=e["@@transducer/step"](t,r.value))&&t["@@transducer/reduced"]){t=t["@@transducer/value"];break}r=n.next()}return e["@@transducer/result"](t)}function s(e,t,n,r){return e["@@transducer/result"](n[r](o(e["@@transducer/step"],e),t))}var u="undefined"!=typeof Symbol?Symbol.iterator:"@@iterator";e.exports=function(e,t,n){if("function"==typeof e&&(e=i(e)),r(n))return function(e,t,n){for(var r=0,i=n.length;r<i;){if((t=e["@@transducer/step"](t,n[r]))&&t["@@transducer/reduced"]){t=t["@@transducer/value"];break}r+=1}return e["@@transducer/result"](t)}(e,t,n);if("function"==typeof n["fantasy-land/reduce"])return s(e,t,n,"fantasy-land/reduce");if(null!=n[u])return a(e,t,n[u]());if("function"==typeof n.next)return a(e,t,n);if("function"==typeof n.reduce)return s(e,t,n,"reduce");throw new TypeError("reduce: list must be array or iterable")}},46417:function(e){e.exports={init:function(){return this.xf["@@transducer/init"]()},result:function(e){return this.xf["@@transducer/result"](e)}}},85833:function(e,t,n){var r=n(22909),i=n(46417),o=function(){function e(e,t){this.xf=t,this.f=e}return e.prototype["@@transducer/init"]=i.init,e.prototype["@@transducer/result"]=i.result,e.prototype["@@transducer/step"]=function(e,t){return this.xf["@@transducer/step"](e,this.f(t))},e}(),a=r((function(e,t){return new o(e,t)}));e.exports=a},92870:function(e){var t=function(){function e(e){this.f=e}return e.prototype["@@transducer/init"]=function(){throw new Error("init not implemented on XWrap")},e.prototype["@@transducer/result"]=function(e){return e},e.prototype["@@transducer/step"]=function(e,t){return this.f(e,t)},e}();e.exports=function(e){return new t(e)}},83444:function(e,t,n){var r=n(38151),i=n(41789),o=n(98256),a=!{toString:null}.propertyIsEnumerable("toString"),s=["constructor","valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],u=function(){"use strict";return arguments.propertyIsEnumerable("length")}(),c=function(e,t){for(var n=0;n<e.length;){if(e[n]===t)return!0;n+=1}return!1},l=r("function"!=typeof Object.keys||u?function(e){if(Object(e)!==e)return[];var t,n,r=[],l=u&&o(e);for(t in e)!i(t,e)||l&&"length"===t||(r[r.length]=t);if(a)for(n=s.length-1;n>=0;)i(t=s[n],e)&&!c(r,t)&&(r[r.length]=t),n-=1;return r}:function(e){return Object(e)!==e?[]:Object.keys(e)});e.exports=l},48283:function(e,t,n){var r=n(38151),i=n(5366),o=r((function(e){return null!=e&&i(e.length)?e.length:NaN}));e.exports=o},4240:function(e,t,n){var r=n(22909),i=n(5083),o=n(48624),a=n(36258),s=n(85833),u=n(48215),c=n(83444),l=r(i(["fantasy-land/map","map"],s,(function(e,t){switch(Object.prototype.toString.call(t)){case"[object Function]":return u(t.length,(function(){return e.call(this,t.apply(this,arguments))}));case"[object Object]":return a((function(n,r){return n[r]=e(t[r]),n}),{},c(t));default:return o(e,t)}})));e.exports=l},26188:function(e,t,n){var r=n(22909)((function(e,t){return t>e?t:e}));e.exports=r},47229:function(e,t,n){var r=n(22909)((function(e,t){for(var n=t,r=0;r<e.length;){if(null==n)return;n=n[e[r]],r+=1}return n}));e.exports=r},30387:function(e,t,n){var r=n(22909),i=n(4240),o=n(3273),a=r((function(e,t){return i(o(e),t)}));e.exports=a},3273:function(e,t,n){var r=n(22909),i=n(47229),o=r((function(e,t){return i([e],t)}));e.exports=o},53330:function(e,t,n){var r=n(34525)(n(36258));e.exports=r},47929:function(e,t,n){var r=n(36258),i=n(92870),o=n(48215)(4,(function(e,t,n,o){return r(e("function"==typeof t?i(t):t),n,o)}));e.exports=o},44216:function(e,t,n){var r=n(22909),i=n(48215),o=r((function(e,t){return i(e,(function(){for(var n,r=1,i=t,o=0;r<=e&&"function"==typeof i;)n=r===e?arguments.length:o+i.length,i=i.apply(this,Array.prototype.slice.call(arguments,o,n)),r+=1,o=n;return i}))}));e.exports=o},3189:function(e,t,n){var r=n(38151),i=n(83444),o=r((function(e){for(var t=i(e),n=t.length,r=[],o=0;o<n;)r[o]=e[t[o]],o+=1;return r}));e.exports=o},45724:function(e,t,n){var r=n(34525)((function(e,t,n){return e(n)?t(n):n}));e.exports=r},33072:function(e,t,n){"use strict";t.Z=void 0;var r,i=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==s(e)&&"function"!=typeof e)return{default:e};var t=a();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(28416)),o=(r=n(90285))&&r.__esModule?r:{default:r};function a(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return a=function(){return e},e}function s(e){return s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},s(e)}function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function c(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u(Object(n),!0).forEach((function(t){l(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function l(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function f(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function d(e,t){return d=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},d(e,t)}function p(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=m(e);if(t){var i=m(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return h(this,n)}}function h(e,t){return!t||"object"!==s(t)&&"function"!=typeof t?g(e):t}function g(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function m(e){return m=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},m(e)}var y=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&d(e,t)}(s,e);var t,n,r,a=p(s);function s(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s),(t=a.call(this,e)).state={},t.setDimensions=t.setDimensions.bind(g(t)),t.shouldBeFullWidth=t.shouldBeFullWidth.bind(g(t)),t.getParentDimensions=t.getParentDimensions.bind(g(t)),t.addTabTrapListeners=t.addTabTrapListeners.bind(g(t)),t.getFocusableElementsFromControl=t.getFocusableElementsFromControl.bind(g(t)),t.getVisibleControls=t.getVisibleControls.bind(g(t)),t.trapFocusForward=t.trapFocusForward.bind(g(t)),t.addTrapFocusForwardEvent=t.addTrapFocusForwardEvent.bind(g(t)),t.removeTrapFocusForwardEvent=t.removeTrapFocusForwardEvent.bind(g(t)),t.trapFocusReverse=t.trapFocusReverse.bind(g(t)),t.addTrapFocusReverseEvent=t.addTrapFocusReverseEvent.bind(g(t)),t.removeTrapFocusReverseEvent=t.removeTrapFocusReverseEvent.bind(g(t)),t.trapFocusReverseBigPlayButton=t.trapFocusReverseBigPlayButton.bind(g(t)),t.addTrapFocusReverseEventBigPlayButton=t.addTrapFocusReverseEventBigPlayButton.bind(g(t)),t.removeTrapFocusReverseEventBigPlayButton=t.removeTrapFocusReverseEventBigPlayButton.bind(g(t)),t}return t=s,r=[{key:"defaultProps",get:function(){return{aspectRatio:9/16,fullWidth:!1,fullWidthAt:0,options:{preload:"auto",controls:!0,controlBar:{remainingTimeDisplay:!0,children:["playToggle","currentTimeDisplay","timeDivider","durationDisplay","progressControl","liveDisplay","seekToLive","remainingTimeDisplay","customControlSpacer","playbackRateMenuButton","chaptersButton","descriptionsButton","subsCapsButton","audioTrackButton","fullscreenToggle","volumePanel"],volumePanel:{inline:!1}}}}}}],(n=[{key:"componentDidMount",value:function(){window.addEventListener("resize",this.setDimensions),this.player=(0,o.default)(this.video,this.options,(function(){this.on("ended",(function(){this.posterImage.show(),this.bigPlayButton.show(),this.currentTime(0)}))})),this.player.on("fullscreenchange",this.addTabTrapListeners),this.setDimensions()}},{key:"componentWillUnmount",value:function(){this.player&&this.player.dispose(),window.removeEventListener("resize",this.setDimensions)}},{key:"addTabTrapListeners",value:function(){var e=this.getVisibleControls(),t=e[e.length-1],n=e[0],r=this.player.getChild("BigPlayButton");document.fullscreenElement&&(r.on("focus",this.addTrapFocusReverseEventBigPlayButton),r.on("blur",this.removeTrapFocusReverseEventBigPlayButton),n.on("focus",this.addTrapFocusReverseEvent),n.on("blur",this.removeTrapFocusReverseEvent),t.on("focus",this.addTrapFocusForwardEvent),t.on("blur",this.removeTrapFocusForwardEvent)),document.fullscreenElement||(r.off("focus",this.addTrapFocusReverseEventBigPlayButton),r.off("blur",this.removeTrapFocusReverseEventBigPlayButton),this.removeTrapFocusReverseEventBigPlayButton(),n.off("focus",this.addTrapFocusReverseEvent),n.off("blur",this.removeTrapFocusReverseEvent),this.removeTrapFocusReverseEvent(),t.off("focus",this.addTrapFocusForwardEvent),t.off("blur",this.removeTrapFocusForwardEvent),this.removeTrapFocusForwardEvent())}},{key:"getParentPadding",value:function(){var e=window.getComputedStyle(this.container.parentNode,null),t=function(e,t){return parseInt(e.getPropertyValue(t),10)||0};return{top:t(e,"padding-top"),bottom:t(e,"padding-bottom")}}},{key:"getParentDimensions",value:function(){var e=this.container.parentNode.getBoundingClientRect(),t=e.width,n=e.height,r=this.getParentPadding();return{parentHeight:n-r.top-r.bottom,parentWidth:t}}},{key:"getFocusableElementsFromControl",value:function(e){return"VolumePanel"===e.name()?e.children().flatMap((function(e){return e.children()})):e}},{key:"getVisibleControls",value:function(){return this.player.getChild("ControlBar").children().flatMap(this.getFocusableElementsFromControl).filter((function(e){return!e.el().classList.contains("vjs-hidden")}))}},{key:"trapFocusForward",value:function(e){"Tab"!==e.key||e.shiftKey||(e.preventDefault(),this.player.getAttribute("class").includes("vjs-playing")?this.getVisibleControls()[0].focus():this.player.getChild("BigPlayButton").focus())}},{key:"addTrapFocusForwardEvent",value:function(){document.addEventListener("keydown",this.trapFocusForward)}},{key:"removeTrapFocusForwardEvent",value:function(){var e=this;setTimeout((function(){document.removeEventListener("keydown",e.trapFocusForward)}),1)}},{key:"trapFocusReverse",value:function(e){if("Tab"===e.key&&e.shiftKey)if(e.preventDefault(),this.player.getAttribute("class").includes("vjs-playing")){var t=this.getVisibleControls();t[t.length-1].focus()}else this.player.getChild("BigPlayButton").focus()}},{key:"addTrapFocusReverseEvent",value:function(){document.addEventListener("keydown",this.trapFocusReverse)}},{key:"removeTrapFocusReverseEvent",value:function(){var e=this;setTimeout((function(){document.removeEventListener("keydown",e.trapFocusReverse)}),1)}},{key:"trapFocusReverseBigPlayButton",value:function(e){if("Tab"===e.key&&e.shiftKey){e.preventDefault();var t=this.getVisibleControls();t[t.length-1].focus()}}},{key:"addTrapFocusReverseEventBigPlayButton",value:function(){document.addEventListener("keydown",this.trapFocusReverseBigPlayButton)}},{key:"removeTrapFocusReverseEventBigPlayButton",value:function(){var e=this;setTimeout((function(){document.removeEventListener("keydown",e.trapFocusReverseBigPlayButton)}),1)}},{key:"render",value:function(){var e=this,t={className:"video-js vjs-default-skin",ref:function(t){e.video=t},poster:this.props.poster};return this.props.crossOrigin&&(t.crossOrigin=this.props.crossOrigin),i.default.createElement("div",{className:"videoContainer",style:this.state.dimensions,ref:function(t){e.container=t}},i.default.createElement("video",t,this.props.children))}},{key:"shouldBeFullWidth",value:function(){var e=this.props,t=e.aspectRatio,n=e.fullWidth,r=e.fullWidthAt,i=this.getParentDimensions(),o=i.parentWidth,a=i.parentHeight;return n||o*t<=a||r&&window.innerWidth<r}},{key:"setDimensions",value:function(){var e=this.props.aspectRatio,t=this.getParentDimensions(),n=t.parentWidth,r=t.parentHeight,i=this.shouldBeFullWidth(),o=i?n:r/e,a=i?n*e:r;this.setState({dimensions:{width:o,height:a}})}},{key:"snapshot",value:function(){var e=document.createElement("canvas"),t=e.getContext("2d"),n=this.player.videoHeight(),r=this.player.videoWidth();return e.width=r,e.height=n,t.drawImage(this.video,0,0,r,n),e.toDataURL("image/png")}},{key:"options",get:function(){var e,t,n;return(null===(e=this.props.options)||void 0===e||null===(t=e.controlBar)||void 0===t?void 0:t.children)?this.props.options:c(c({},this.props.options),{},{controlBar:c(c({},null===(n=this.props.options)||void 0===n?void 0:n.controlBar),{},{children:this.constructor.defaultProps.options.controlBar.children})})}}])&&f(t.prototype,n),r&&f(t,r),s}(i.Component);t.Z=y},22908:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BlockSettingsType=void 0;const r=n(2098);t.BlockSettingsType=r.Type.Record(r.Type.String(),r.Type.Any())},44389:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.assertCourse=t.isCourse=t.CourseType=void 0;const r=n(2098),i=n(91124),o=n(61999),a=n(45234);t.CourseType=r.Type.Object({id:r.Type.Union([r.Type.String(),r.Type.Number()]),originalId:r.Type.Optional(r.Type.String()),author:r.Type.Optional(r.Type.String()),selectedAuthorId:r.Type.String(),color:r.Type.String(),title:r.Type.String(),sharePassword:r.Type.String(),description:r.Type.String(),copyOf:r.Type.Optional(r.Type.String()),order:r.Type.BigInt(),media:r.Type.Record(r.Type.String(),o.MediaAnyType),lessons:r.Type.Array(r.Type.String()),jobs:r.Type.Array(r.Type.String()),labelSetId:r.Type.String(),deleted:r.Type.Boolean(),createdAt:r.Type.Date(),updatedAt:r.Type.Date(),markComplete:r.Type.Boolean(),isDefault:r.Type.Boolean(),ready:r.Type.Boolean(),reviewId:r.Type.String(),exportSettings:r.Type.Record(r.Type.String(),r.Type.Any()),headingTypefaceId:r.Type.Optional(r.Type.String()),bodyTypefaceId:r.Type.Optional(r.Type.String()),uiTypefaceId:r.Type.Optional(r.Type.String()),tenantId:r.Type.Optional(r.Type.String()),showLessonCount:r.Type.Boolean(),showNavigationButtons:r.Type.Boolean(),allowSearch:r.Type.Boolean(),animateBlockEntrance:r.Type.Boolean(),transferredAt:r.Type.Optional(r.Type.Date()),allowCopy:r.Type.Boolean(),enableVideoPlaybackSpeed:r.Type.Boolean(),jobType:r.Type.Optional(r.Type.String()),partnerContentId:r.Type.Optional(r.Type.String()),theme:r.Type.Optional(i.CourseThemeType),type:r.Type.Optional(r.Type.Literal("onePage")),features:r.Type.Record(r.Type.String(),r.Type.Boolean()),mondrian:r.Type.Optional(r.Type.Unknown()),lastImportedXliff:r.Type.Optional(r.Type.Union([r.Type.String(),r.Type.Null()])),locale:r.Type.Optional(r.Type.Union([r.Type.String(),r.Type.Null()])),sourceCourseLocaleId:r.Type.Optional(r.Type.Union([r.Type.String(),r.Type.Number(),r.Type.Null()])),experiments:r.Type.Optional(r.Type.Union([r.Type.Record(r.Type.String(),r.Type.Unknown()),r.Type.Null()])),navigationMode:r.Type.Union([r.Type.Literal("restricted"),r.Type.Literal("free")]),fonts:r.Type.Optional(r.Type.Object({ui:r.Type.Record(r.Type.Literal("font"),r.Type.String()),body:r.Type.Record(r.Type.Literal("font"),r.Type.String()),headings:r.Type.Record(r.Type.Literal("font"),r.Type.String())})),coverImage:r.Type.Optional(r.Type.Object({alpha:r.Type.Optional(r.Type.Integer({minimum:0,maximum:100})),displaySidebar:r.Type.Optional(r.Type.Boolean()),media:o.MediaImageRecordType})),sidebarMode:r.Type.Union([r.Type.Literal("closed"),r.Type.Literal("open"),r.Type.Literal("hidden")]),cardImage:r.Type.Optional(r.Type.Object({media:o.MediaImageRecordType})),lessonHeaderImage:r.Type.Optional(r.Type.Object({alpha:r.Type.Optional(r.Type.Number({minimum:0,maximum:1})),media:o.MediaImageRecordType,overlayColor:r.Type.Optional(r.Type.Union([r.Type.Literal("LIGHT"),r.Type.Literal("DARK"),r.Type.Literal("ACCENT")]))})),overlayNavigationImage:r.Type.Optional(r.Type.Object({alpha:r.Type.Optional(r.Type.Number({minimum:0,maximum:1})),media:o.MediaImageRecordType}))}),t.isCourse=(0,a.makeIsFunction)(t.CourseType),t.assertCourse=(0,a.makeAssertFunction)(t.CourseType)},91124:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CourseThemeType=void 0;const r=n(2098);t.CourseThemeType=r.Type.Object({themeId:r.Type.String(),allowSearch:r.Type.Boolean(),animateBlockEntrance:r.Type.Boolean(),blockCorners:r.Type.Union([r.Type.Literal("ROUNDED"),r.Type.Literal("SQUARED")]),blockPaddingBottom:r.Type.Integer({minimum:0}),blockPaddingTop:r.Type.Integer({minimum:0}),colorAccent:r.Type.String(),compactShowLessonCount:r.Type.Boolean(),coverImage:r.Type.String(),coverImageAlpha:r.Type.Integer({minimum:0,maximum:100}),coverImageDefault:r.Type.String(),enableVideoPlaybackSpeed:r.Type.Boolean(),hideCoverPage:r.Type.Boolean(),hideLessonHeaders:r.Type.Boolean(),lessonHeaderColor:r.Type.Optional(r.Type.String()),lessonHeaderImage:r.Type.String(),lessonHeaderImageAlpha:r.Type.Number({minimum:0,maximum:1}),navigation:r.Type.Boolean(),navigationRestricted:r.Type.Boolean(),showAuthor:r.Type.Boolean(),showLessonCount:r.Type.Boolean(),showNavigationButtons:r.Type.Boolean(),sidebarStartsOpen:r.Type.Boolean(),bodyTypefaceId:r.Type.String(),headingTypefaceId:r.Type.String(),uiTypefaceId:r.Type.String(),buttonScheme:r.Type.Union([r.Type.Literal("ACCENT"),r.Type.Literal("DARK"),r.Type.Literal("LIGHT"),r.Type.Literal("TINT")]),coverPageType:r.Type.Union([r.Type.Literal("ACCENT"),r.Type.Literal("CENTERED"),r.Type.Literal("CENTERED_ACCENT_TINT"),r.Type.Literal("CENTERED_OVERLAY"),r.Type.Literal("CENTERED_IMAGE"),r.Type.Literal("IMAGE"),r.Type.Literal("LEFT"),r.Type.Literal("LEFT_OVERLAY"),r.Type.Literal("SPLIT_LEFT"),r.Type.Literal("SPLIT_LEFT_IMAGE"),r.Type.Literal("SPLIT_RIGHT"),r.Type.Literal("SPLIT_RIGHT_IMAGE"),r.Type.Literal("TWO_THIRDS_LEFT_IMAGE"),r.Type.Literal("TWO_THIRDS_RIGHT_IMAGE"),r.Type.Literal("WHITE")]),accentContrast:r.Type.Union([r.Type.Literal("AUTO"),r.Type.Literal("BLACK"),r.Type.Literal("LIGHT"),r.Type.Literal("DARK")]),navigationType:r.Type.Union([r.Type.Literal("COMPACT"),r.Type.Literal("OVERLAY"),r.Type.Literal("SIDEBAR")]),navigationStyle:r.Type.Union([r.Type.Literal("DARK"),r.Type.Literal("DARK_ACCENT"),r.Type.Literal("DARK_IMAGE"),r.Type.Literal("LIGHT"),r.Type.Literal("LIGHT_ACCENT"),r.Type.Literal("LIGHT_IMAGE")]),lessonHeaderSize:r.Type.Union([r.Type.Literal("LARGE"),r.Type.Literal("MEDIUM"),r.Type.Literal("SMALL")]),buttonInlineStyle:r.Type.Union([r.Type.Literal("ROUNDED"),r.Type.Literal("SQUARED")]),lessonHeaderStyle:r.Type.Union([r.Type.Literal("ACCENT"),r.Type.Literal("BLACK"),r.Type.Literal("COLOR"),r.Type.Literal("DARK"),r.Type.Literal("GRAY"),r.Type.Literal("IMAGE"),r.Type.Literal("LIGHT"),r.Type.Literal("TINT")]),buttonNavigationStyle:r.Type.Union([r.Type.Literal("FULL"),r.Type.Literal("FLOATING"),r.Type.Literal("FLOATING_FULL")]),lessonHeaderImageColor:r.Type.Union([r.Type.Literal("ACCENT"),r.Type.Literal("DARK"),r.Type.Literal("LIGHT")]),customColorLessonHeaderContrast:r.Type.Union([r.Type.Literal("AUTO"),r.Type.Literal("BLACK"),r.Type.Literal("LIGHT"),r.Type.Literal("DARK")]),blockNavigationType:r.Type.Optional(r.Type.Union([r.Type.Literal("CONTINOUS"),r.Type.Literal("STEPPED")])),coverImageColor:r.Type.Optional(r.Type.Union([r.Type.Literal("ACCENT"),r.Type.Literal("DARK"),r.Type.Literal("LIGHT")]))})},59050:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.FontType=void 0;const r=n(2098);t.FontType=r.Type.Object({default:r.Type.Boolean(),id:r.Type.Union([r.Type.String(),r.Type.Number()]),key:r.Type.String(),name:r.Type.String(),style:r.Type.String(),weight:r.Type.String()})},25993:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LabelSetType=void 0;const r=n(2098),i=n(86178);t.LabelSetType=r.Type.Object({author:r.Type.Optional(r.Type.String()),createdAt:r.Type.String(),defaultId:r.Type.Optional(r.Type.Number()),defaultSet:r.Type.Boolean(),deleted:r.Type.Boolean(),id:r.Type.String(),iso639Code:r.Type.String(),labels:i.LabelsType,name:r.Type.String(),transferredAt:r.Type.Optional(r.Type.String()),updatedAt:r.Type.String()})},86178:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LabelsType=void 0;const r=n(2098);t.LabelsType=r.Type.Object({a11yAnswerLive:r.Type.String(),a11yAuthorPrefix:r.Type.String(),a11yBlockChartBar:r.Type.String(),a11yBlockChartLine:r.Type.String(),a11yBlockChartPie:r.Type.String(),a11yBlockCode:r.Type.String(),a11yBlockEmbed:r.Type.String(),a11yBlockFlashcardBack:r.Type.String(),a11yBlockFlashcardFront:r.Type.String(),a11yBlockFlashcardGrid:r.Type.String(),a11yBlockFlashcardStack:r.Type.String(),a11yBlockKnowledgeCheck:r.Type.String(),a11yBlockKnowledgeCheckFIB:r.Type.String(),a11yBlockKnowledgeCheckM:r.Type.String(),a11yBlockKnowledgeCheckMC:r.Type.String(),a11yBlockKnowledgeCheckMR:r.Type.String(),a11yBlockQuoteCarousel:r.Type.String(),a11yBlockStoryline:r.Type.String(),a11yBlockTimeline:r.Type.String(),a11yCarouselNext:r.Type.String(),a11yCarouselPrevious:r.Type.String(),a11yCorrectLive:r.Type.String(),a11yExcelIcon:r.Type.String(),a11yFileIcon:r.Type.String(),a11yGroupAudioPlayer:r.Type.String(),a11yGroupVideoPlayer:r.Type.String(),a11yLabeledGraphicBlock:r.Type.String(),a11yLabeledGraphicButtonMarker:r.Type.String(),a11yLabeledGraphicIconPlus:r.Type.String(),a11yLabeledGraphicIconDot:r.Type.String(),a11yLabeledGraphicIconInformation:r.Type.String(),a11yLabeledGraphicIconQuestion:r.Type.String(),a11yLabeledGraphicIconCheck:r.Type.String(),a11yLabeledGraphicIconX:r.Type.String(),a11yLabeledGraphicIconHeart:r.Type.String(),a11yLabeledGraphicIconPin:r.Type.String(),a11yLabeledGraphicIconArrowLeft:r.Type.String(),a11yLabeledGraphicIconArrowRight:r.Type.String(),a11yLabeledGraphicIconArrowUp:r.Type.String(),a11yLabeledGraphicIconArrowDown:r.Type.String(),a11yLabeledGraphicIconArrowUpLeft:r.Type.String(),a11yLabeledGraphicIconArrowUpRight:r.Type.String(),a11yLabeledGraphicIconArrowDownLeft:r.Type.String(),a11yLabeledGraphicIconArrowDownRight:r.Type.String(),a11yLabeledGraphicUnviewed:r.Type.String(),a11yLabeledGraphicViewed:r.Type.String(),a11yMediaPause:r.Type.String(),a11yMediaPlay:r.Type.String(),a11yMediaSeek:r.Type.String(),a11yNavigationMenuClose:r.Type.String(),a11yNavigationMenuOpen:r.Type.String(),a11yPageMarker:r.Type.String(),a11yPDFIcon:r.Type.String(),a11yPPTIcon:r.Type.String(),a11yQuizFailed:r.Type.String(),a11yQuizFeedback:r.Type.String(),a11yQuizPassed:r.Type.String(),a11yQuizReviewCorrectlyChecked:r.Type.String(),a11yQuizReviewCorrectlySelected:r.Type.String(),a11yQuizReviewCorrectlyUnchecked:r.Type.String(),a11yQuizReviewCorrectlyUnselected:r.Type.String(),a11yQuizReviewIncorrectlyChecked:r.Type.String(),a11yQuizReviewIncorrectlySelected:r.Type.String(),a11yQuizReviewIncorrectlyUnchecked:r.Type.String(),a11yQuizReviewIncorrectlyUnselected:r.Type.String(),a11yRegionMainLesson:r.Type.String(),a11yRegionMainOverview:r.Type.String(),a11yRegionNavLesson:r.Type.String(),a11yRegionNavOverview:r.Type.String(),a11yRestrictedNav:r.Type.String(),a11yRTFIcon:r.Type.String(),a11ySearchClose:r.Type.String(),a11ySearchInput:r.Type.String(),a11ySearchOpen:r.Type.String(),a11yStatusAdditionalContent:r.Type.String(),a11yStatusContinued:r.Type.String(),a11yUnzoomImage:r.Type.String(),a11yWordIcon:r.Type.String(),a11yZipIcon:r.Type.String(),a11yZoomImage:r.Type.String(),courseStart:r.Type.String(),courseResume:r.Type.String(),courseDetails:r.Type.String(),courseExit:r.Type.String(),courseHome:r.Type.String(),courseSkipToLesson:r.Type.String(),lessonName:r.Type.String(),lessonPreposition:r.Type.String(),lessonComplete:r.Type.String(),lessonRestricted:r.Type.String(),quizStart:r.Type.String(),quizQuestion:r.Type.String(),quizSubmit:r.Type.String(),quizRequireAnswer:r.Type.String(),quizNext:r.Type.String(),quizIncorrect:r.Type.String(),quizCorrect:r.Type.String(),quizResults:r.Type.String(),quizScore:r.Type.String(),quizPassing:r.Type.String(),quizTakeAgain:r.Type.String(),quizAcceptableResponses:r.Type.String(),quizAnswerPlaceholder:r.Type.String(),quizRequirePassingScore:r.Type.String(),quizContinue:r.Type.String(),processStepName:r.Type.String(),processStepPreposition:r.Type.String(),processNextStep:r.Type.String(),processLessonName:r.Type.String(),processComplete:r.Type.String(),processStart:r.Type.String(),processStartAgain:r.Type.String(),processSwipe:r.Type.String(),sortingCardsCorrect:r.Type.String(),sortingReplay:r.Type.String(),embedViewOn:r.Type.String(),embedReadMore:r.Type.String(),blocksClickToFlip:r.Type.String(),blocksPreposition:r.Type.String(),salutation:r.Type.String(),exitMessage:r.Type.String(),overviewPageTitleSuffix:r.Type.String(),lessonSidebarLandmark:r.Type.String(),hamburgerButtonLabel:r.Type.String(),timelineLandmark:r.Type.String(),timelineCardGroupPrefix:r.Type.String(),labeledGraphicMarkerLabel:r.Type.String(),labeledGraphicBubbleLabel:r.Type.String(),labeledGraphicPreviousMarkerLabel:r.Type.String(),labeledGraphicNextMarkerLabel:r.Type.String(),audioPlayerGroup:r.Type.String(),seekSliderLabel:r.Type.String(),playButtonLabel:r.Type.String(),pauseButtonLabel:r.Type.String(),videoPlayerGroup:r.Type.String(),embedPlayerGroup:r.Type.String(),embedPhotoGroup:r.Type.String(),embedLinkGroup:r.Type.String(),noteGroup:r.Type.String(),statementGroup:r.Type.String(),numberedListGroup:r.Type.String(),checkboxListGroup:r.Type.String(),bulletedListGroup:r.Type.String(),quoteGroup:r.Type.String(),lessonContentLandmark:r.Type.String(),imageGalleryGroup:r.Type.String(),imageAndTextGroup:r.Type.String(),textOnImageGroup:r.Type.String(),embedVideoGroup:r.Type.String(),codeGroup:r.Type.String(),attachmentGroup:r.Type.String(),numberedDividerGroup:r.Type.String(),accordionGroup:r.Type.String(),tabGroup:r.Type.String(),flashcardStackGroup:r.Type.String(),flashcardGridGroup:r.Type.String(),buttonGroup:r.Type.String(),buttonStackGroup:r.Type.String(),knowledgeCheckGroup:r.Type.String(),storylineGroup:r.Type.String(),processLandmark:r.Type.String(),labeledGraphicLandmark:r.Type.String(),sortingLandmark:r.Type.String(),urlEmbedLandmark:r.Type.String(),flashcardFrontLabel:r.Type.String(),flashcardBackLabel:r.Type.String(),previousFlashCardLabel:r.Type.String(),nextFlashCardLabel:r.Type.String(),feedbackGroup:r.Type.String(),search:r.Type.String(),result:r.Type.String(),results:r.Type.String(),noResults:r.Type.String(),scenarioTryAgain:r.Type.String(),scenarioContinue:r.Type.String(),scenarioComplete:r.Type.String(),scenarioStartOver:r.Type.String(),progressPieUnstarted:r.Type.String(),progressPieCompleted:r.Type.String(),progressPieClickToComplete:r.Type.String(),progressPieClickToReset:r.Type.String(),progressPieQuizFailed:r.Type.String()})},97916:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},3714:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.assertBlock=t.isBlock=t.BlockType=void 0;const r=n(2098),i=n(22908),o=n(45234);t.BlockType=r.Type.Object({id:r.Type.Union([r.Type.String(),r.Type.Number()]),type:r.Type.String(),family:r.Type.String(),variant:r.Type.String(),settings:i.BlockSettingsType}),t.isBlock=(0,o.makeIsFunction)(t.BlockType),t.assertBlock=(0,o.makeAssertFunction)(t.BlockType)},9823:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isBlockAccordion=t.assertBlockAccordion=t.BlockAccordionType=void 0;const r=n(2098),i=n(45234),o=n(66141),a=n(36357);t.BlockAccordionType=r.Type.Composite([o.BlockInteractiveBaseType,r.Type.Object({family:r.Type.Literal("interactive"),variant:r.Type.Literal("accordion"),items:r.Type.Array(a.BlockItemAccordionType)})]),t.assertBlockAccordion=(0,i.makeAssertFunction)(t.BlockAccordionType),t.isBlockAccordion=(0,i.makeIsFunction)(t.BlockAccordionType)},16417:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BlockAnyType=void 0;const r=n(2098),i=n(9823),o=n(6120),a=n(88090),s=n(61388),u=n(43616),c=n(80002),l=n(75804),f=n(82301),d=n(93680),p=n(77479),h=n(26288),g=n(33759),m=n(79846),y=n(72587),v=n(72246),b=n(69874),_=n(96119),w=n(64292);t.BlockAnyType=r.Type.Union([i.BlockAccordionType,o.BlockButtonStackType,o.BlockButtonType,s.BlockContinueType,u.BlockDividerType,a.BlockFlashcardType,c.BlockImageType,l.BlockKnowledgeCheckAnyType,f.BlockLabeledGraphicType,d.BlockListType,p.BlockProcessType,h.BlockQuoteType,g.BlockScenarioType,m.BlockSortingType,a.BlockStackType,y.BlockStatementType,v.BlockStorylineType,b.BlockTabsType,_.BlockTextType,w.BlockTimelineType])},6120:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isBlockButtonStack=t.assertBlockButtonStack=t.BlockButtonStackType=t.isBlockButton=t.assertBlockButton=t.BlockButtonType=void 0;const r=n(2098),i=n(45234),o=n(66141),a=n(15384);t.BlockButtonType=r.Type.Composite([o.BlockInteractiveBaseType,r.Type.Object({family:r.Type.Literal("buttons"),variant:r.Type.Literal("button"),items:r.Type.Array(a.BlockItemButtonType)})]),t.assertBlockButton=(0,i.makeAssertFunction)(t.BlockButtonType),t.isBlockButton=(0,i.makeIsFunction)(t.BlockButtonType),t.BlockButtonStackType=r.Type.Composite([o.BlockInteractiveBaseType,r.Type.Object({family:r.Type.Literal("buttons"),variant:r.Type.Literal("button stack"),items:r.Type.Array(a.BlockItemButtonType)})]),t.assertBlockButtonStack=(0,i.makeAssertFunction)(t.BlockButtonStackType),t.isBlockButtonStack=(0,i.makeIsFunction)(t.BlockButtonStackType)},88090:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isBlockStack=t.assertBlockStack=t.BlockStackType=t.isBlockFlashcard=t.assertBlockFlashcard=t.BlockFlashcardType=void 0;const r=n(2098),i=n(45234),o=n(66141),a=n(28038);t.BlockFlashcardType=r.Type.Composite([o.BlockInteractiveBaseType,r.Type.Object({family:r.Type.Literal("flashcard"),variant:r.Type.Literal("flashcard"),items:r.Type.Array(a.BlockItemCardType)})]),t.assertBlockFlashcard=(0,i.makeAssertFunction)(t.BlockFlashcardType),t.isBlockFlashcard=(0,i.makeIsFunction)(t.BlockFlashcardType),t.BlockStackType=r.Type.Composite([o.BlockInteractiveBaseType,r.Type.Object({family:r.Type.Literal("flashcard"),variant:r.Type.Literal("stack"),items:r.Type.Array(a.BlockItemCardType)})]),t.assertBlockStack=(0,i.makeAssertFunction)(t.BlockStackType),t.isBlockStack=(0,i.makeIsFunction)(t.BlockStackType)},61388:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.assertContinueBlock=t.isContinueBlock=t.BlockContinueType=void 0;const r=n(2098),i=n(45234),o=n(3714),a=n(51889);t.BlockContinueType=r.Type.Composite([o.BlockType,r.Type.Object({type:r.Type.Literal("divider"),family:r.Type.Literal("continue"),variant:r.Type.Literal("continue"),items:r.Type.Tuple([a.BlockItemContinueType])})]),t.isContinueBlock=(0,i.makeIsFunction)(t.BlockContinueType),t.assertContinueBlock=(0,i.makeAssertFunction)(t.BlockContinueType)},43616:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.assertDividerBlock=t.isDividerBlock=t.BlockDividerType=void 0;const r=n(2098),i=n(45234),o=n(3714);t.BlockDividerType=r.Type.Composite([o.BlockType,r.Type.Object({type:r.Type.Literal("divider"),family:r.Type.Literal("divider"),variant:r.Type.Union([r.Type.Literal("divider"),r.Type.Literal("numbered divider"),r.Type.Literal("spacing divider")]),items:r.Type.Tuple([])})]),t.isDividerBlock=(0,i.makeIsFunction)(t.BlockDividerType),t.assertDividerBlock=(0,i.makeAssertFunction)(t.BlockDividerType)},80002:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.assertImageBlock=t.isImageBlock=t.BlockImageType=void 0;const r=n(2098),i=n(45234),o=n(3714),a=n(58642);t.BlockImageType=r.Type.Composite([o.BlockType,r.Type.Object({type:r.Type.Literal("image"),family:r.Type.Union([r.Type.Literal("image"),r.Type.Literal("gallery")]),variant:r.Type.Union([r.Type.Literal("hero"),r.Type.Literal("full"),r.Type.Literal("text aside"),r.Type.Literal("text overlay"),r.Type.Literal("centered"),r.Type.Literal("two column"),r.Type.Literal("three column"),r.Type.Literal("four column")]),items:r.Type.Array(a.BlockItemImageType)})]),t.isImageBlock=(0,i.makeIsFunction)(t.BlockImageType),t.assertImageBlock=(0,i.makeAssertFunction)(t.BlockImageType)},66141:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isInteractiveBlock=t.assertInteractiveBlock=t.BlockInteractiveType=t.BlockInteractiveBaseType=void 0;const r=n(2098),i=n(45234),o=n(3714),a=n(9823),s=n(6120),u=n(88090),c=n(82301),l=n(77479),f=n(33759),d=n(79846),p=n(72246),h=n(69874),g=n(64292);t.BlockInteractiveBaseType=r.Type.Composite([o.BlockType,r.Type.Object({type:r.Type.Literal("interactive")})]),t.BlockInteractiveType=r.Type.Union([a.BlockAccordionType,s.BlockButtonType,s.BlockButtonStackType,u.BlockFlashcardType,c.BlockLabeledGraphicType,l.BlockProcessType,f.BlockScenarioType,d.BlockSortingType,u.BlockStackType,p.BlockStorylineType,h.BlockTabsType,g.BlockTimelineType]),t.assertInteractiveBlock=(0,i.makeAssertFunction)(t.BlockInteractiveType),t.isInteractiveBlock=(0,i.makeIsFunction)(t.BlockInteractiveType)},75804:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isKnowledgeCheckBlockQuestionBank=t.isKnowledgeCheckBlockMatching=t.isKnowledgeCheckBlockMultipleResponse=t.isKnowledgeCheckBlockMultipleChoice=t.isKnowledgeCheckBlockFillIn=t.isKnowledgeBlock=t.assertKnowledgeCheckBlockQuestionBank=t.assertKnowledgeCheckBlockMatching=t.assertKnowledgeCheckBlockMultipleResponse=t.assertKnowledgeCheckBlockMultipleChoice=t.assertKnowledgeCheckBlockFillIn=t.assertKnowledgeBlock=t.BlockKnowledgeCheckAnyType=t.BlockKnowledgeCheckMultipleResponseType=t.BlockKnowledgeCheckMultipleChoiceType=t.BlockKnowledgeCheckMatchingType=t.BlockKnowledgeCheckFillInType=t.BlockKnowledgeCheckQuestionBankType=void 0;const r=n(2098),i=n(61999),o=n(45234),a=n(3714),s=n(64246),u=n(50041),c=n(93900),l=n(80656),f=n(21245),d=r.Type.Composite([a.BlockType,r.Type.Object({type:r.Type.Literal("knowledgeCheck"),family:r.Type.Literal("knowledgeCheck"),background:r.Type.Optional(i.MediaImageType)})]);t.BlockKnowledgeCheckQuestionBankType=r.Type.Composite([d,r.Type.Object({variant:r.Type.Literal("draw from question bank"),items:r.Type.Tuple([f.BlockItemQuestionBankType])})]),t.BlockKnowledgeCheckFillInType=r.Type.Composite([d,r.Type.Object({variant:r.Type.Literal("fillin"),items:r.Type.Tuple([s.BlockItemFillInType])})]),t.BlockKnowledgeCheckMatchingType=r.Type.Composite([d,r.Type.Object({variant:r.Type.Literal("matching"),items:r.Type.Tuple([u.BlockItemMatchingType])})]),t.BlockKnowledgeCheckMultipleChoiceType=r.Type.Composite([d,r.Type.Object({variant:r.Type.Literal("multiple choice"),items:r.Type.Tuple([c.BlockItemMultipleChoiceType])})]),t.BlockKnowledgeCheckMultipleResponseType=r.Type.Composite([d,r.Type.Object({variant:r.Type.Literal("multiple response"),items:r.Type.Tuple([l.BlockItemMultipleResponseType])})]),t.BlockKnowledgeCheckAnyType=r.Type.Union([t.BlockKnowledgeCheckQuestionBankType,t.BlockKnowledgeCheckFillInType,t.BlockKnowledgeCheckMatchingType,t.BlockKnowledgeCheckMultipleChoiceType,t.BlockKnowledgeCheckMultipleResponseType]),t.assertKnowledgeBlock=(0,o.makeAssertFunction)(t.BlockKnowledgeCheckAnyType),t.assertKnowledgeCheckBlockFillIn=(0,o.makeAssertFunction)(s.BlockItemFillInType),t.assertKnowledgeCheckBlockMultipleChoice=(0,o.makeAssertFunction)(t.BlockKnowledgeCheckMultipleChoiceType),t.assertKnowledgeCheckBlockMultipleResponse=(0,o.makeAssertFunction)(t.BlockKnowledgeCheckMultipleResponseType),t.assertKnowledgeCheckBlockMatching=(0,o.makeAssertFunction)(t.BlockKnowledgeCheckMatchingType),t.assertKnowledgeCheckBlockQuestionBank=(0,o.makeAssertFunction)(t.BlockKnowledgeCheckQuestionBankType),t.isKnowledgeBlock=(0,o.makeIsFunction)(t.BlockKnowledgeCheckAnyType),t.isKnowledgeCheckBlockFillIn=(0,o.makeIsFunction)(s.BlockItemFillInType),t.isKnowledgeCheckBlockMultipleChoice=(0,o.makeIsFunction)(t.BlockKnowledgeCheckMultipleChoiceType),t.isKnowledgeCheckBlockMultipleResponse=(0,o.makeIsFunction)(t.BlockKnowledgeCheckMultipleResponseType),t.isKnowledgeCheckBlockMatching=(0,o.makeIsFunction)(t.BlockKnowledgeCheckMatchingType),t.isKnowledgeCheckBlockQuestionBank=(0,o.makeIsFunction)(t.BlockKnowledgeCheckQuestionBankType)},82301:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isBlockLabeledGraphic=t.assertBlockLabeledGraphic=t.BlockLabeledGraphicType=void 0;const r=n(2098),i=n(80996),o=n(45234),a=n(66141),s=n(8790);t.BlockLabeledGraphicType=r.Type.Composite([a.BlockInteractiveBaseType,r.Type.Object({family:r.Type.Literal("interactive-fullscreen"),variant:r.Type.Literal("labeledgraphic"),items:r.Type.Array(s.BlockItemLabeledGraphicType),media:i.MediaImageRecordType})]),t.assertBlockLabeledGraphic=(0,o.makeAssertFunction)(t.BlockLabeledGraphicType),t.isBlockLabeledGraphic=(0,o.makeIsFunction)(t.BlockLabeledGraphicType)},93680:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.assertListBlock=t.isListBlock=t.BlockListType=t.BlockVariantList=t.BlockFamilyList=t.BlockTypeList=void 0;const r=n(2098),i=n(45234),o=n(3714),a=n(88014);t.BlockTypeList=r.Type.Literal("list"),t.BlockFamilyList=r.Type.Literal("list"),t.BlockVariantList=r.Type.Union([r.Type.Literal("bulleted"),r.Type.Literal("checkboxes"),r.Type.Literal("numbered")]),t.BlockListType=r.Type.Composite([o.BlockType,r.Type.Object({type:t.BlockTypeList,family:t.BlockFamilyList,variant:t.BlockVariantList,items:r.Type.Array(a.BlockItemListType)})]),t.isListBlock=(0,i.makeIsFunction)(t.BlockListType),t.assertListBlock=(0,i.makeAssertFunction)(t.BlockListType)},77479:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isBlockProcess=t.assertBlockProcess=t.BlockProcessType=void 0;const r=n(2098),i=n(45234),o=n(66141),a=n(82993);t.BlockProcessType=r.Type.Composite([o.BlockInteractiveBaseType,r.Type.Object({family:r.Type.Literal("interactive-fullscreen"),variant:r.Type.Literal("process"),items:r.Type.Array(a.BlockItemProcessType)})]),t.assertBlockProcess=(0,i.makeAssertFunction)(t.BlockProcessType),t.isBlockProcess=(0,i.makeIsFunction)(t.BlockProcessType)},26288:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.assertQuoteBlock=t.isQuoteBlock=t.BlockQuoteType=t.BlockVariantQuote=t.BlockFamilyQuote=t.BlockTypeQuote=void 0;const r=n(2098),i=n(45234),o=n(3714),a=n(38876);t.BlockTypeQuote=r.Type.Literal("quote"),t.BlockFamilyQuote=r.Type.Literal("quote"),t.BlockVariantQuote=r.Type.Union([r.Type.Literal("a"),r.Type.Literal("b"),r.Type.Literal("background"),r.Type.Literal("c"),r.Type.Literal("carousel"),r.Type.Literal("d")]),t.BlockQuoteType=r.Type.Composite([o.BlockType,r.Type.Object({type:t.BlockTypeQuote,family:t.BlockFamilyQuote,variant:t.BlockVariantQuote,items:r.Type.Array(a.BlockItemQuoteType)})]),t.isQuoteBlock=(0,i.makeIsFunction)(t.BlockQuoteType),t.assertQuoteBlock=(0,i.makeAssertFunction)(t.BlockQuoteType)},33759:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isBlockScenario=t.assertBlockScenario=t.BlockScenarioType=void 0;const r=n(2098),i=n(45234),o=n(66141),a=n(55722);t.BlockScenarioType=r.Type.Composite([o.BlockInteractiveBaseType,r.Type.Object({family:r.Type.Literal("interactive-fullscreen"),variant:r.Type.Literal("scenario"),items:r.Type.Array(a.BlockItemScenarioType)})]),t.assertBlockScenario=(0,i.makeAssertFunction)(t.BlockScenarioType),t.isBlockScenario=(0,i.makeIsFunction)(t.BlockScenarioType)},79846:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isBlockSorting=t.assertBlockSorting=t.BlockSortingType=void 0;const r=n(2098),i=n(45234),o=n(66141),a=n(74563);t.BlockSortingType=r.Type.Composite([o.BlockInteractiveBaseType,r.Type.Object({family:r.Type.Literal("interactive-fullscreen"),variant:r.Type.Literal("sorting"),items:r.Type.Array(a.BlockItemSortingType),piles:r.Type.Array(r.Type.Object({id:r.Type.Union([r.Type.String(),r.Type.Number()]),title:r.Type.String()}))})]),t.assertBlockSorting=(0,i.makeAssertFunction)(t.BlockSortingType),t.isBlockSorting=(0,i.makeIsFunction)(t.BlockSortingType)},72587:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.assertStatementBlock=t.isStatementBlock=t.BlockStatementType=void 0;const r=n(2098),i=n(45234),o=n(3714),a=n(85288);t.BlockStatementType=r.Type.Composite([o.BlockType,r.Type.Object({type:r.Type.Union([r.Type.Literal("text"),r.Type.Literal("impact")]),family:r.Type.Literal("impact"),variant:r.Type.Union([r.Type.Literal("a"),r.Type.Literal("b"),r.Type.Literal("c"),r.Type.Literal("d"),r.Type.Literal("note")]),items:r.Type.Array(a.BlockItemStatementType)})]),t.isStatementBlock=(0,i.makeIsFunction)(t.BlockStatementType),t.assertStatementBlock=(0,i.makeAssertFunction)(t.BlockStatementType)},72246:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.assertStorylineBlock=t.isStorylineBlock=t.BlockStorylineType=void 0;const r=n(2098),i=n(45234),o=n(3714),a=n(36716);t.BlockStorylineType=r.Type.Composite([o.BlockType,r.Type.Object({type:r.Type.Literal("interactive"),family:r.Type.Literal("360"),variant:r.Type.Literal("storyline"),items:r.Type.Tuple([a.BlockItemStorylineType])})]),t.isStorylineBlock=(0,i.makeIsFunction)(t.BlockStorylineType),t.assertStorylineBlock=(0,i.makeAssertFunction)(t.BlockStorylineType)},69874:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isBlockTabs=t.assertBlockTabs=t.BlockTabsType=void 0;const r=n(2098),i=n(45234),o=n(66141),a=n(76061);t.BlockTabsType=r.Type.Composite([o.BlockInteractiveBaseType,r.Type.Object({family:r.Type.Literal("interactive"),variant:r.Type.Literal("tabs"),items:r.Type.Array(a.BlockItemTabsType)})]),t.assertBlockTabs=(0,i.makeAssertFunction)(t.BlockTabsType),t.isBlockTabs=(0,i.makeIsFunction)(t.BlockTabsType)},96119:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createTextBlock=t.assertTextBlock=t.isTextBlock=t.BlockTextType=void 0;const r=n(92981),i=n(2098),o=n(32477),a=n(45234),s=n(3714),u=n(49747);t.BlockTextType=i.Type.Composite([s.BlockType,i.Type.Object({type:i.Type.Literal("text"),family:i.Type.Literal("text"),variant:i.Type.Union([i.Type.Literal("paragraph"),i.Type.Literal("heading"),i.Type.Literal("subheading"),i.Type.Literal("heading paragraph"),i.Type.Literal("subheading paragraph"),i.Type.Literal("two column"),i.Type.Literal("three column"),i.Type.Literal("four column"),i.Type.Literal("table")]),items:i.Type.Array(u.BlockItemTextType,{maxItems:4})})]),t.isTextBlock=(0,a.makeIsFunction)(t.BlockTextType),t.assertTextBlock=(0,a.makeAssertFunction)(t.BlockTextType),t.createTextBlock=function(e){const n=o.Value.Create(t.BlockTextType);n.id=(0,r.createId)(),n.variant=e.variant;const i=o.Value.Create(u.BlockItemTextType);return i.id=(0,r.createId)(),i.heading=e.heading,i.paragraph=e.paragraph,n.items=[i],n}},64292:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isBlockTimeline=t.assertBlockTimeline=t.BlockTimelineType=void 0;const r=n(2098),i=n(45234),o=n(66141),a=n(47689);t.BlockTimelineType=r.Type.Composite([o.BlockInteractiveBaseType,r.Type.Object({family:r.Type.Literal("interactive-fullscreen"),variant:r.Type.Literal("timeline"),items:r.Type.Array(a.BlockItemTimelineType)})]),t.assertBlockTimeline=(0,i.makeAssertFunction)(t.BlockTimelineType),t.isBlockTimeline=(0,i.makeIsFunction)(t.BlockTimelineType)},53280:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(3714),t),i(n(9823),t),i(n(16417),t),i(n(6120),t),i(n(88090),t),i(n(61388),t),i(n(43616),t),i(n(80002),t),i(n(66141),t),i(n(75804),t),i(n(82301),t),i(n(93680),t),i(n(77479),t),i(n(26288),t),i(n(33759),t),i(n(79846),t),i(n(72587),t),i(n(72246),t),i(n(69874),t),i(n(96119),t),i(n(64292),t),i(n(51889),t)},71041:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.assertBlockItem=t.isBlockItem=t.BlockItemType=void 0;const r=n(2098),i=n(45234);t.BlockItemType=r.Type.Object({id:r.Type.Union([r.Type.String(),r.Type.Number()])}),t.isBlockItem=(0,i.makeIsFunction)(t.BlockItemType),t.assertBlockItem=(0,i.makeAssertFunction)(t.BlockItemType)},36357:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.assertAccordionBlockItem=t.isAccordionBlockItem=t.BlockItemAccordionType=void 0;const r=n(2098),i=n(61999),o=n(45234),a=n(71041);t.BlockItemAccordionType=r.Type.Composite([a.BlockItemType,r.Type.Object({title:r.Type.String(),description:r.Type.String(),media:r.Type.Optional(i.MediaRecordType),settings:r.Type.Optional(r.Type.Object({disableZoom:r.Type.Optional(r.Type.Boolean()),fullEmbed:r.Type.Optional(r.Type.Boolean())}))})]),t.isAccordionBlockItem=(0,o.makeIsFunction)(t.BlockItemAccordionType),t.assertAccordionBlockItem=(0,o.makeAssertFunction)(t.BlockItemAccordionType)},56628:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BlockItemAnyType=void 0;const r=n(2098),i=n(36357),o=n(15384),a=n(28038),s=n(82971),u=n(64246),c=n(58642),l=n(85814),f=n(8790),d=n(88014),p=n(50041),h=n(93900),g=n(80656),m=n(82993),y=n(21245),v=n(38876),b=n(55722),_=n(74563),w=n(85288),T=n(36716),x=n(76061),S=n(49747),k=n(47689);t.BlockItemAnyType=r.Type.Union([i.BlockItemAccordionType,o.BlockItemButtonType,a.BlockItemCardType,s.BlockItemContinueType,u.BlockItemFillInType,c.BlockItemImageType,l.BlockItemKnowledgeCheckType,f.BlockItemLabeledGraphicType,d.BlockItemListType,p.BlockItemMatchingType,h.BlockItemMultipleChoiceType,g.BlockItemMultipleResponseType,m.BlockItemProcessType,y.BlockItemQuestionBankType,v.BlockItemQuoteType,b.BlockItemScenarioType,_.BlockItemSortingType,w.BlockItemStatementType,T.BlockItemStorylineType,x.BlockItemTabsType,S.BlockItemTextType,k.BlockItemTimelineType])},15384:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.assertButtonBlockItem=t.isButtonBlockItem=t.BlockItemButtonType=void 0;const r=n(2098),i=n(45234),o=n(71041);t.BlockItemButtonType=r.Type.Composite([o.BlockItemType,r.Type.Object({type:r.Type.Union([r.Type.Literal("link"),r.Type.Literal("relative-url"),r.Type.Literal("email"),r.Type.Literal("exit-course"),r.Type.Literal("lesson")]),label:r.Type.String(),description:r.Type.String(),destination:r.Type.String()})]),t.isButtonBlockItem=(0,i.makeIsFunction)(t.BlockItemButtonType),t.assertButtonBlockItem=(0,i.makeAssertFunction)(t.BlockItemButtonType)},28038:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.assertCardBlockItem=t.isCardBlockItem=t.BlockItemCardType=void 0;const r=n(2098),i=n(61999),o=n(45234),a=n(71041),s=r.Type.Object({type:r.Type.Union([r.Type.Literal("image"),r.Type.Literal("fullimage"),r.Type.Literal("description")]),description:r.Type.String(),media:r.Type.Optional(i.MediaRecordType)});t.BlockItemCardType=r.Type.Composite([a.BlockItemType,r.Type.Object({back:s,front:s})]),t.isCardBlockItem=(0,o.makeIsFunction)(t.BlockItemCardType),t.assertCardBlockItem=(0,o.makeAssertFunction)(t.BlockItemCardType)},82971:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.assertContinueBlockItem=t.isContinueBlockItem=t.BlockItemContinueType=void 0;const r=n(2098),i=n(45234),o=n(71041);t.BlockItemContinueType=r.Type.Composite([o.BlockItemType,r.Type.Object({title:r.Type.String(),completeHint:r.Type.String(),buttonColor:r.Type.Union([r.Type.Literal("brand"),r.Type.Literal("gray"),r.Type.Literal("black")]),type:r.Type.Union([r.Type.Literal(""),r.Type.Literal("completeBlock"),r.Type.Literal("completeAll")])})]),t.isContinueBlockItem=(0,i.makeIsFunction)(t.BlockItemContinueType),t.assertContinueBlockItem=(0,i.makeAssertFunction)(t.BlockItemContinueType)},64246:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.assertFillInBlockItem=t.isFillInBlockItem=t.BlockItemFillInType=void 0;const r=n(2098),i=n(45234),o=n(85814);t.BlockItemFillInType=r.Type.Composite([o.BlockItemKnowledgeCheckType,r.Type.Object({type:r.Type.Literal("FILL_IN_THE_BLANK")})]),t.isFillInBlockItem=(0,i.makeIsFunction)(t.BlockItemFillInType),t.assertFillInBlockItem=(0,i.makeAssertFunction)(t.BlockItemFillInType)},58642:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BlockItemImageType=void 0;const r=n(2098),i=n(61999),o=n(71041);t.BlockItemImageType=r.Type.Composite([o.BlockItemType,r.Type.Object({caption:r.Type.Optional(r.Type.String()),paragraph:r.Type.Optional(r.Type.String()),media:i.MediaImageRecordType})])},85814:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BlockItemKnowledgeCheckType=t.BlockItemKnowledgeCheckFeedbackType=t.BlockItemKnowledgeCheckAnswerType=void 0;const r=n(2098),i=n(61999),o=n(71041);t.BlockItemKnowledgeCheckAnswerType=r.Type.Object({id:r.Type.Union([r.Type.String(),r.Type.Number()]),title:r.Type.String(),correct:r.Type.Boolean(),feedback:r.Type.Optional(r.Type.String())}),t.BlockItemKnowledgeCheckFeedbackType=r.Type.Object({feedback:r.Type.Optional(r.Type.String()),feedbackType:r.Type.Optional(r.Type.Union([r.Type.Literal("ANY"),r.Type.Literal("CORRECT_INCORRECT"),r.Type.Literal("CHOICE")])),feedbackCorrect:r.Type.Optional(r.Type.String()),feedbackIncorrect:r.Type.Optional(r.Type.String())}),t.BlockItemKnowledgeCheckType=r.Type.Composite([o.BlockItemType,t.BlockItemKnowledgeCheckFeedbackType,r.Type.Object({title:r.Type.String(),answers:r.Type.Array(t.BlockItemKnowledgeCheckAnswerType),media:r.Type.Optional(i.MediaRecordType),settings:r.Type.Optional(i.MediaSettingsType),isCaseSensitive:r.Type.Optional(r.Type.Boolean())})])},8790:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.assertLabeledGraphicBlockItem=t.isLabeledGraphicBlockItem=t.BlockItemLabeledGraphicType=void 0;const r=n(2098),i=n(87791),o=n(45234),a=n(71041);t.BlockItemLabeledGraphicType=r.Type.Composite([a.BlockItemType,r.Type.Object({x:r.Type.Integer(),y:r.Type.Integer(),icon:r.Type.String(),title:r.Type.String(),isActive:r.Type.Boolean(),description:r.Type.String(),media:r.Type.Optional(i.MediaRecordType)})]),t.isLabeledGraphicBlockItem=(0,o.makeIsFunction)(t.BlockItemLabeledGraphicType),t.assertLabeledGraphicBlockItem=(0,o.makeAssertFunction)(t.BlockItemLabeledGraphicType)},88014:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.assertListBlockItem=t.isListBlockItem=t.BlockItemListType=void 0;const r=n(2098),i=n(45234),o=n(71041);t.BlockItemListType=r.Type.Composite([o.BlockItemType,r.Type.Object({paragraph:r.Type.Optional(r.Type.String()),number:r.Type.Optional(r.Type.String())})]),t.isListBlockItem=(0,i.makeIsFunction)(t.BlockItemListType),t.assertListBlockItem=(0,i.makeAssertFunction)(t.BlockItemListType)},50041:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.assertMatchingBlockItem=t.isMatchingBlockItem=t.BlockItemMatchingType=void 0;const r=n(2098),i=n(45234),o=n(85814);t.BlockItemMatchingType=r.Type.Composite([o.BlockItemKnowledgeCheckType,r.Type.Object({type:r.Type.Literal("MATCHING"),answers:r.Type.Composite([o.BlockItemKnowledgeCheckType.answers,r.Type.Object({matchTitle:r.Type.String()})])})]),t.isMatchingBlockItem=(0,i.makeIsFunction)(t.BlockItemMatchingType),t.assertMatchingBlockItem=(0,i.makeAssertFunction)(t.BlockItemMatchingType)},93900:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.assertMultipleChoiceBlockItem=t.isMultipleChoiceBlockItem=t.BlockItemMultipleChoiceType=void 0;const r=n(2098),i=n(45234),o=n(85814);t.BlockItemMultipleChoiceType=r.Type.Composite([o.BlockItemKnowledgeCheckType,r.Type.Object({type:r.Type.Literal("MULTIPLE_CHOICE")})]),t.isMultipleChoiceBlockItem=(0,i.makeIsFunction)(t.BlockItemMultipleChoiceType),t.assertMultipleChoiceBlockItem=(0,i.makeAssertFunction)(t.BlockItemMultipleChoiceType)},80656:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.assertMultipleResponseBlockItem=t.isMultipleResponseBlockItem=t.BlockItemMultipleResponseType=void 0;const r=n(2098),i=n(45234),o=n(85814);t.BlockItemMultipleResponseType=r.Type.Composite([o.BlockItemKnowledgeCheckType,r.Type.Object({type:r.Type.Literal("MULTIPLE_RESPONSE"),correct:r.Type.String(),corrects:r.Type.Array(r.Type.String())})]),t.isMultipleResponseBlockItem=(0,i.makeIsFunction)(t.BlockItemMultipleResponseType),t.assertMultipleResponseBlockItem=(0,i.makeAssertFunction)(t.BlockItemMultipleResponseType)},82993:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.assertProcessBlockItem=t.isProcessBlockItem=t.BlockItemProcessType=void 0;const r=n(2098),i=n(45234),o=n(71041);t.BlockItemProcessType=r.Type.Composite([o.BlockItemType,r.Type.Object({type:r.Type.Union([r.Type.Literal("intro"),r.Type.Literal("summary"),r.Type.Literal("step")]),title:r.Type.String(),isHidden:r.Type.Boolean(),description:r.Type.String()})]),t.isProcessBlockItem=(0,i.makeIsFunction)(t.BlockItemProcessType),t.assertProcessBlockItem=(0,i.makeAssertFunction)(t.BlockItemProcessType)},21245:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.assertQuestionBankBlockItem=t.isQuestionBankBlockItem=t.BlockItemQuestionBankType=void 0;const r=n(2098),i=n(45234),o=n(85814);t.BlockItemQuestionBankType=r.Type.Composite([o.BlockItemKnowledgeCheckType,r.Type.Object({type:r.Type.Literal("DRAW_FROM_QUESTION_BANK"),questionBankId:r.Type.String(),questionBankTitle:r.Type.String(),questionBankUpdatedAt:r.Type.String(),drawCount:r.Type.Number(),questions:r.Type.Array(r.Type.Object({id:r.Type.Union([r.Type.String(),r.Type.Number()]),type:r.Type.Literal("MULTIPLE_CHOICE"),title:r.Type.String(),correct:r.Type.String(),answers:o.BlockItemKnowledgeCheckType.answers}))})]),t.isQuestionBankBlockItem=(0,i.makeIsFunction)(t.BlockItemQuestionBankType),t.assertQuestionBankBlockItem=(0,i.makeAssertFunction)(t.BlockItemQuestionBankType)},38876:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.assertQuoteBlockItem=t.isQuoteBlockItem=t.BlockItemQuoteType=void 0;const r=n(2098),i=n(61999),o=n(45234),a=n(71041);t.BlockItemQuoteType=r.Type.Composite([a.BlockItemType,r.Type.Object({name:r.Type.String(),avatar:i.MediaImageType,paragraph:r.Type.String(),background:r.Type.Optional(i.MediaImageType)})]),t.isQuoteBlockItem=(0,o.makeIsFunction)(t.BlockItemQuoteType),t.assertQuoteBlockItem=(0,o.makeAssertFunction)(t.BlockItemQuoteType)},55722:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.assertScenarioBlockItem=t.isScenarioBlockItem=t.BlockItemScenarioType=void 0;const r=n(2098),i=n(80996),o=n(45234),a=n(71041),s=r.Type.Union([r.Type.Literal("next"),r.Type.Literal("slide"),r.Type.Literal("end")]),u=r.Type.Object({scene:r.Type.String(),slide:r.Type.String()}),c=r.Type.Object({id:r.Type.String(),goTo:s,action:r.Type.Union([r.Type.Literal("continue"),r.Type.Literal("tryAgain")]),emotion:r.Type.String(),feedback:r.Type.String(),nextSlide:r.Type.Optional(u),description:r.Type.String()}),l=r.Type.Object({id:r.Type.String(),title:r.Type.String(),goTo:s,type:r.Type.Union([r.Type.Literal("dialogue"),r.Type.Literal("text")]),emotion:r.Type.String(),nextSlide:r.Type.Optional(u),responses:r.Type.Array(c),description:r.Type.String(),hasCharacter:r.Type.Boolean()}),f=r.Type.Composite([i.MediaImageType,r.Type.Object({id:r.Type.String(),filters:r.Type.Array(r.Type.Object({name:r.Type.String(),value:r.Type.String()}))})]),d=r.Type.Object({id:r.Type.String(),name:r.Type.String(),src:r.Type.String(),poses:r.Type.Optional(r.Type.Record(r.Type.String(),f))});t.BlockItemScenarioType=r.Type.Composite([a.BlockItemType,r.Type.Object({title:r.Type.String(),character:d,slides:r.Type.Array(l)})]),t.isScenarioBlockItem=(0,o.makeIsFunction)(t.BlockItemScenarioType),t.assertScenarioBlockItem=(0,o.makeAssertFunction)(t.BlockItemScenarioType)},74563:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.assertSortingBlockItem=t.isSortingBlockItem=t.BlockItemSortingType=void 0;const r=n(2098),i=n(45234),o=n(71041);t.BlockItemSortingType=r.Type.Composite([o.BlockItemType,r.Type.Object({title:r.Type.String(),pileId:r.Type.Union([r.Type.String(),r.Type.Number()])})]),t.isSortingBlockItem=(0,i.makeIsFunction)(t.BlockItemSortingType),t.assertSortingBlockItem=(0,i.makeAssertFunction)(t.BlockItemSortingType)},85288:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.assertStatementBlockItem=t.isStatementBlockItem=t.BlockItemStatementType=void 0;const r=n(2098),i=n(45234),o=n(71041);t.BlockItemStatementType=r.Type.Composite([o.BlockItemType,r.Type.Object({paragraph:r.Type.Optional(r.Type.String())})]),t.isStatementBlockItem=(0,i.makeIsFunction)(t.BlockItemStatementType),t.assertStatementBlockItem=(0,i.makeAssertFunction)(t.BlockItemStatementType)},36716:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BlockItemStorylineType=void 0;const r=n(2098),i=n(41800),o=n(71041);t.BlockItemStorylineType=r.Type.Composite([o.BlockItemType,r.Type.Object({media:i.MediaStorylineRecordType})])},76061:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.assertTabsBlockItem=t.isTabsBlockItem=t.BlockItemTabsType=void 0;const r=n(2098),i=n(61999),o=n(45234),a=n(71041);t.BlockItemTabsType=r.Type.Composite([a.BlockItemType,r.Type.Object({title:r.Type.String(),description:r.Type.String(),media:r.Type.Optional(i.MediaRecordType),settings:r.Type.Optional(r.Type.Object({disableZoom:r.Type.Optional(r.Type.Boolean()),fullEmbed:r.Type.Optional(r.Type.Boolean())}))})]),t.isTabsBlockItem=(0,o.makeIsFunction)(t.BlockItemTabsType),t.assertTabsBlockItem=(0,o.makeAssertFunction)(t.BlockItemTabsType)},49747:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.assertTextBlockItem=t.isTextBlockItem=t.BlockItemTextType=void 0;const r=n(2098),i=n(45234),o=n(71041);t.BlockItemTextType=r.Type.Composite([o.BlockItemType,r.Type.Object({heading:r.Type.Optional(r.Type.String()),paragraph:r.Type.Optional(r.Type.String())})]),t.isTextBlockItem=(0,i.makeIsFunction)(t.BlockItemTextType),t.assertTextBlockItem=(0,i.makeAssertFunction)(t.BlockItemTextType)},47689:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.assertTimelineBlockItem=t.isTimelineBlockItem=t.BlockItemTimelineType=void 0;const r=n(2098),i=n(61999),o=n(45234),a=n(71041);t.BlockItemTimelineType=r.Type.Composite([a.BlockItemType,r.Type.Object({date:r.Type.String(),title:r.Type.String(),description:r.Type.String(),media:r.Type.Optional(i.MediaRecordType),settings:r.Type.Optional(i.MediaSettingsType)})]),t.isTimelineBlockItem=(0,o.makeIsFunction)(t.BlockItemTimelineType),t.assertTimelineBlockItem=(0,o.makeAssertFunction)(t.BlockItemTimelineType)},51889:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(71041),t),i(n(36357),t),i(n(56628),t),i(n(15384),t),i(n(28038),t),i(n(82971),t),i(n(64246),t),i(n(58642),t),i(n(85814),t),i(n(8790),t),i(n(88014),t),i(n(50041),t),i(n(93900),t),i(n(80656),t),i(n(82993),t),i(n(21245),t),i(n(38876),t),i(n(55722),t),i(n(74563),t),i(n(85288),t),i(n(36716),t),i(n(76061),t),i(n(49747),t),i(n(47689),t)},46710:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.assertChange=t.isChange=t.ChangeType=t.ChangePathType=t.CommandType=t.UpdateCommandType=void 0;const r=n(2098),i=n(45234);t.UpdateCommandType=r.Type.Object({type:r.Type.Literal("update"),oldValue:r.Type.Unknown(),newValue:r.Type.Unknown()}),t.CommandType=t.UpdateCommandType,t.ChangePathType=r.Type.Array(r.Type.Union([r.Type.String(),r.Type.Record(r.Type.String(),r.Type.Union([r.Type.String(),r.Type.Number()]))])),t.ChangeType=r.Type.Object({id:r.Type.String(),path:t.ChangePathType,proposedAt:r.Type.String(),proposedBy:r.Type.String(),source:r.Type.Optional(r.Type.Union([r.Type.String(),r.Type.Null()])),locale:r.Type.Optional(r.Type.Union([r.Type.String(),r.Type.Null()])),command:t.CommandType}),t.isChange=(0,i.makeIsFunction)(t.ChangeType),t.assertChange=(0,i.makeAssertFunction)(t.ChangeType)},85113:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.assertChangeset=t.isChangeset=t.ChangesetType=void 0;const r=n(2098),i=n(45234),o=n(46710);t.ChangesetType=r.Type.Array(o.ChangeType,{minItems:1}),t.isChangeset=(0,i.makeIsFunction)(t.ChangesetType),t.assertChangeset=(0,i.makeAssertFunction)(t.ChangesetType)},65389:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(46710),t),i(n(85113),t),i(n(82898),t)},82898:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.getCaptionAtPath=t.applyChangeset=t.deconstructPath=void 0;const i=n(32477),o=r(n(64063)),a=n(25422),s=["allowCopy","author","bodyTypefaceId","courseId","createdAt","deleted","duplicatedFromId","experiments","exportSettings","headingTypefaceId","icon","id","isPartnerContentAuthor","jobs","labelSetId","lastImportedXliff","lastUpdatedBy","originalId","partnerContentId","ready","reviewId","selectedAuthorId","shareId","sourceCourseLocaleId","sourceLessonLocaleId","tenantId","transferredAt","type","uiTypefaceId","updatedAt"];function u(e){return"string"==typeof e?void 0:e.id}t.deconstructPath=function(e){const[t]=e;if("course"===t)return{type:"course"};if("lessons"===t){const[,t,n,r]=e,i=u(t);if(null!=i){const t="items"===n?u(r):void 0,o=e.findIndex((e=>"captions"===e));if(-1!==o){const n=u(e[o+1]);if(null!=n)return{type:"caption",lessonId:i,itemId:t,captionId:n.toString()}}return{type:"lesson",lessonId:i,itemId:t}}}return null},t.applyChangeset=function(e,t,n){let r=n;const i=new Array,o=new Array;for(const n of t){const t=c[n.command.type];if(null==t){o.push({change:n,reason:`Command type "${n.command.type}" not supported`});continue}const a=t(e,n,r);switch(a.type){case"accepted":r=a.result,i.push(n);break;case"discarded":o.push({change:n,reason:a.reason})}}return{result:r,accepted:i,discarded:o}};const c={update:function(e,t,n){return l(e,t.path,t.command.newValue,n)}};function l(e,t,n,r){const[i,...a]=t;if(e.length>0)return(0,o.default)(e,t.slice(0,e.length))?l([],t.slice(e.length),n,r):{type:"discarded",reason:"Path does not begin with given prefix"};if(null==i)return{type:"accepted",result:n};if(null==r)return{type:"discarded",reason:`No value at property "${JSON.stringify(i)}"`};if("string"==typeof i){if(s.includes(i))return{type:"discarded",reason:`Property "${i}" is not allowed to be changed`};if("object"!=typeof r||!(i in r))return{type:"discarded",reason:`No value at property "${i}"`};const t=l(e,a,n,r[i]);switch(t.type){case"accepted":return{type:"accepted",result:f(i,t.result,r)};case"discarded":return t}}if(!Array.isArray(r))return{type:"discarded",reason:`Expected array for ref "${JSON.stringify(i)}"`};const u=r.findIndex((e=>d(i,e)));if(-1===u)return{type:"discarded",reason:`Ref "${JSON.stringify(i)}" not found`};const c=l(e,a,n,r[u]);switch(c.type){case"accepted":return{type:"accepted",result:f(u,c.result,r)};case"discarded":return c}}function f(e,t,n){if(Array.isArray(n)){const r=Number(e);if(Number.isInteger(r))return[...n.slice(0,r),t,...n.slice(r+1)]}return{...n,[e]:t}}function d(e,t){return null!=t&&Object.entries(e).every((([e,n])=>t[e]===n))}function p(e,t,n,r){const[a,...s]=n;if(t.length>0)return(0,o.default)(t,n.slice(0,t.length))?p(e,[],n.slice(t.length),r):null;if(null==a)return i.Value.Check(e,r)?r:null;if(null==r)return null;if("string"==typeof a)return p(e,t,s,r[a]);if(!Array.isArray(r))return null;const u=r.findIndex((e=>d(a,e)));return-1===u?null:p(e,t,s,r[u])}t.getCaptionAtPath=function(e,t,n){const r=t.findIndex((e=>"captions"===e));if(-1===r)return null;if(null===u(t[r+1]))return null;const i=t.slice(0,r+2),o=p(a.CaptionType,e,i,n);return null==o?null:{path:i,result:o}}},75612:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),t.RiseContentAssertionError=void 0,i(n(53280),t),i(n(22908),t),i(n(65389),t),i(n(44389),t),i(n(91124),t),i(n(59050),t),i(n(86178),t),i(n(25993),t),i(n(3881),t),i(n(61999),t),i(n(97916),t),i(n(42331),t),i(n(53916),t);var o=n(45234);Object.defineProperty(t,"RiseContentAssertionError",{enumerable:!0,get:function(){return o.RiseContentAssertionError}})},23988:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.assertLesson=t.isLesson=t.LessonType=void 0;const r=n(2098),i=n(61999),o=n(45234);t.LessonType=r.Type.Object({author:r.Type.String(),courseId:r.Type.String(),createdAt:r.Type.Date(),deleted:r.Type.Boolean(),description:r.Type.String(),id:r.Type.Union([r.Type.String(),r.Type.Number()]),items:r.Type.Array(r.Type.Any()),media:r.Type.Record(r.Type.String(),i.MediaAnyType),piles:r.Type.Array(r.Type.Any()),ready:r.Type.Boolean(),title:r.Type.String(),type:r.Type.String(),updatedAt:r.Type.Date(),duplicatedFromId:r.Type.Optional(r.Type.String()),headerImage:r.Type.Optional(i.MediaImageType),icon:r.Type.Optional(r.Type.Union([r.Type.Literal("Article"),r.Type.Literal("Interaction"),r.Type.Literal("Quiz"),r.Type.Literal("Video")])),isPartnerContentAuthor:r.Type.Optional(r.Type.Boolean()),lastUpdatedBy:r.Type.Optional(r.Type.String()),originalId:r.Type.Optional(r.Type.String()),position:r.Type.Optional(r.Type.Integer()),selectedAuthorId:r.Type.Optional(r.Type.String()),transferredAt:r.Type.Optional(r.Type.Date()),sourceLessonLocaleId:r.Type.Optional(r.Type.Union([r.Type.String(),r.Type.Number(),r.Type.Null()]))}),t.isLesson=(0,o.makeIsFunction)(t.LessonType),t.assertLesson=(0,o.makeAssertFunction)(t.LessonType)},45841:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AnyLessonType=void 0;const r=n(2098),i=n(37656),o=n(19211),a=n(60551);t.AnyLessonType=r.Type.Union([i.BlocksLessonType,a.SectionLessonType,o.QuizLessonType])},37656:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.assertBlockLesson=t.isBlockLesson=t.BlocksLessonType=void 0;const r=n(2098),i=n(53280),o=n(45234),a=n(23988);t.BlocksLessonType=r.Type.Composite([a.LessonType,r.Type.Object({type:r.Type.Literal("blocks"),items:r.Type.Array(i.BlockType)})]),t.isBlockLesson=(0,o.makeIsFunction)(t.BlocksLessonType),t.assertBlockLesson=(0,o.makeAssertFunction)(t.BlocksLessonType)},19211:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.assertQuizLesson=t.isQuizLesson=t.QuizLessonType=void 0;const r=n(2098),i=n(78963),o=n(45234),a=n(23988);t.QuizLessonType=r.Type.Composite([a.LessonType,r.Type.Object({type:r.Type.Literal("quiz"),items:r.Type.Array(i.QuizItemAny),settings:r.Type.Object({passingScore:r.Type.Optional(r.Type.Integer()),randomizeQuestionOrder:r.Type.Optional(r.Type.Boolean()),revealAnswers:r.Type.Optional(r.Type.String()),retryCount:r.Type.Optional(r.Type.Integer()),shuffleAnswerChoices:r.Type.Optional(r.Type.Boolean())})})]),t.isQuizLesson=(0,o.makeIsFunction)(t.QuizLessonType),t.assertQuizLesson=(0,o.makeAssertFunction)(t.QuizLessonType)},60551:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.assertSectionLesson=t.isSectionLesson=t.SectionLessonType=void 0;const r=n(2098),i=n(45234),o=n(23988);t.SectionLessonType=r.Type.Composite([o.LessonType,r.Type.Object({type:r.Type.Literal("section")})]),t.isSectionLesson=(0,i.makeIsFunction)(t.SectionLessonType),t.assertSectionLesson=(0,i.makeAssertFunction)(t.SectionLessonType)},3881:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(23988),t),i(n(45841),t),i(n(37656),t),i(n(19211),t),i(n(60551),t)},25422:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CaptionType=void 0;const r=n(2098);t.CaptionType=r.Type.Object({id:r.Type.String(),key:r.Type.String(),code:r.Type.String(),name:r.Type.Optional(r.Type.String()),filename:r.Type.String(),url:r.Type.Optional(r.Type.String())})},84103:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MediaAnyType=void 0;const r=n(2098),i=n(90713),o=n(61988),a=n(80996),s=n(41800),u=n(86433);t.MediaAnyType=r.Type.Union([i.MediaAudioType,o.MediaEmbedType,a.MediaImageType,u.MediaVideoType,s.MediaStorylineType])},90713:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MediaAudioRecordType=t.MediaAudioType=void 0;const r=n(2098);t.MediaAudioType=r.Type.Object({type:r.Type.Literal("audio"),key:r.Type.String(),duration:r.Type.Number({minimum:0}),originalUrl:r.Type.Optional(r.Type.String()),pause:r.Type.Optional(r.Type.Boolean())}),t.MediaAudioRecordType=r.Type.Object({audio:t.MediaAudioType})},61988:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MediaEmbedRecordType=t.MediaEmbedType=void 0;const r=n(2098);t.MediaEmbedType=r.Type.Object({type:r.Type.Literal("embed"),embedType:r.Type.Union([r.Type.Literal("link"),r.Type.Literal("photo"),r.Type.Literal("video"),r.Type.Literal("iframe")]),src:r.Type.String(),originalUrl:r.Type.Optional(r.Type.Union([r.Type.String(),r.Type.Null()])),provider:r.Type.Optional(r.Type.Union([r.Type.String(),r.Type.Null()])),providerUrl:r.Type.Optional(r.Type.Union([r.Type.String(),r.Type.Null()])),thumbnail:r.Type.Optional(r.Type.Union([r.Type.String(),r.Type.Null()])),favicon:r.Type.Optional(r.Type.Union([r.Type.String(),r.Type.Null()])),title:r.Type.Optional(r.Type.Union([r.Type.String(),r.Type.Null()])),description:r.Type.Optional(r.Type.Union([r.Type.String(),r.Type.Null()])),useRelativePath:r.Type.Optional(r.Type.Boolean()),pause:r.Type.Optional(r.Type.Boolean())}),t.MediaEmbedRecordType=r.Type.Object({embed:t.MediaEmbedType})},80996:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MediaImageRecordType=t.MediaImageType=void 0;const r=n(2098),i=r.Type.Object({type:r.Type.Optional(r.Type.Literal("image")),key:r.Type.String(),src:r.Type.Optional(r.Type.String()),thumbnail:r.Type.Optional(r.Type.String()),thumbnailKey:r.Type.Optional(r.Type.String()),originalUrl:r.Type.Optional(r.Type.String()),crushedKey:r.Type.Optional(r.Type.String()),useCrushedKey:r.Type.Optional(r.Type.Boolean()),alt:r.Type.Optional(r.Type.String()),fillWidth:r.Type.Optional(r.Type.Boolean()),align:r.Type.Optional(r.Type.Union([r.Type.Literal("left"),r.Type.Literal("center"),r.Type.Literal("right")]))});t.MediaImageType=r.Type.Composite([i,r.Type.Object({isSquare:r.Type.Optional(r.Type.Boolean()),originalImage:r.Type.Optional(i),dimensions:r.Type.Optional(r.Type.Object({height:r.Type.Integer({minimum:0}),left:r.Type.Integer({minimum:0}),originalHeight:r.Type.Integer({minimum:0}),originalWidth:r.Type.Integer({minimum:0}),top:r.Type.Integer({minimum:0}),width:r.Type.Integer({minimum:0})}))})]),t.MediaImageRecordType=r.Type.Object({image:t.MediaImageType})},87791:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MediaRecordType=void 0;const r=n(2098),i=n(90713),o=n(61988),a=n(80996),s=n(41800),u=n(86433);t.MediaRecordType=r.Type.Partial(r.Type.Composite([i.MediaAudioRecordType,o.MediaEmbedRecordType,a.MediaImageRecordType,s.MediaStorylineRecordType,u.MediaVideoRecordType]))},6914:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MediaSettingsType=void 0;const r=n(2098);t.MediaSettingsType=r.Type.Object({disableZoom:r.Type.Optional(r.Type.Boolean()),fullEmbed:r.Type.Optional(r.Type.Boolean()),showMetaData:r.Type.Optional(r.Type.Boolean())})},41800:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MediaStorylineRecordType=t.MediaStorylineType=void 0;const r=n(2098);t.MediaStorylineType=r.Type.Object({type:r.Type.Literal("storyline"),src:r.Type.String(),title:r.Type.String(),thumbnail:r.Type.Optional(r.Type.String()),processing:r.Type.Optional(r.Type.Boolean()),contentPrefix:r.Type.String(),meta:r.Type.Object({title:r.Type.String(),version:r.Type.String(),course_id:r.Type.String(),thumbnail:r.Type.String(),stage:r.Type.Object({width:r.Type.Number(),height:r.Type.Number()}),player:r.Type.Object({name:r.Type.String(),width:r.Type.Number(),height:r.Type.Number()}),scenes:r.Type.Array(r.Type.Object({title:r.Type.String()})),slides:r.Type.Array(r.Type.Object({id:r.Type.String(),title:r.Type.String(),scene_index:r.Type.String()}))})}),t.MediaStorylineRecordType=r.Type.Object({storyline:t.MediaStorylineType})},86433:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MediaVideoRecordType=t.MediaVideoType=void 0;const r=n(2098),i=n(25422);t.MediaVideoType=r.Type.Object({type:r.Type.Literal("video"),key:r.Type.String(),url:r.Type.String(),poster:r.Type.Optional(r.Type.String()),duration:r.Type.Number({minimum:0}),inputKey:r.Type.String(),thumbnail:r.Type.Optional(r.Type.String()),captionUID:r.Type.Optional(r.Type.String()),originalUrl:r.Type.Optional(r.Type.String()),transcodeId:r.Type.Optional(r.Type.String()),pause:r.Type.Optional(r.Type.Boolean()),captions:r.Type.Optional(r.Type.Array(i.CaptionType))}),t.MediaVideoRecordType=r.Type.Object({video:t.MediaVideoType})},61999:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(25422),t),i(n(84103),t),i(n(90713),t),i(n(61988),t),i(n(80996),t),i(n(87791),t),i(n(6914),t),i(n(41800),t),i(n(86433),t)},66234:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.QuizItemType=t.QuizItemSettingsType=t.QuizItemFeedbackType=t.QuizItemAnswerType=void 0;const r=n(2098),i=n(61999);t.QuizItemAnswerType=r.Type.Object({id:r.Type.Union([r.Type.String(),r.Type.Number()]),title:r.Type.String(),feedback:r.Type.Optional(r.Type.String())}),t.QuizItemFeedbackType=r.Type.Object({feedback:r.Type.Optional(r.Type.String()),feedbackType:r.Type.Optional(r.Type.Union([r.Type.Literal("ANY"),r.Type.Literal("CORRECT_INCORRECT"),r.Type.Literal("CHOICE")])),feedbackCorrect:r.Type.Optional(r.Type.String()),feedbackIncorrect:r.Type.Optional(r.Type.String())}),t.QuizItemSettingsType=r.Type.Object({isCaseSensitive:r.Type.Optional(r.Type.Boolean())}),t.QuizItemType=r.Type.Composite([t.QuizItemFeedbackType,r.Type.Object({id:r.Type.Union([r.Type.String(),r.Type.Number()]),title:r.Type.String(),media:r.Type.Optional(i.MediaRecordType),answers:r.Type.Array(t.QuizItemAnswerType),settings:r.Type.Optional(t.QuizItemSettingsType)})])},78963:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.assertQuizItem=t.isQuizItem=t.QuizItemAny=void 0;const r=n(2098),i=n(45234),o=n(29446),a=n(12701),s=n(78784),u=n(17861),c=n(87233);t.QuizItemAny=r.Type.Union([o.QuizItemFillinType,u.QuizItemMultipleResponseType,s.QuizItemMultipleChoiceType,c.QuizItemQuestionBankType,a.QuizItemMatchingType]),t.isQuizItem=(0,i.makeIsFunction)(t.QuizItemAny),t.assertQuizItem=(0,i.makeAssertFunction)(t.QuizItemAny)},29446:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.assertQuizItemFillin=t.isQuizItemFillin=t.QuizItemFillinType=void 0;const r=n(2098),i=n(45234),o=n(66234);t.QuizItemFillinType=r.Type.Composite([o.QuizItemType,r.Type.Object({type:r.Type.Literal("FILL_IN_THE_BLANK")})]),t.isQuizItemFillin=(0,i.makeIsFunction)(t.QuizItemFillinType),t.assertQuizItemFillin=(0,i.makeAssertFunction)(t.QuizItemFillinType)},12701:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.assertQuizItemMatching=t.isQuizItemMatching=t.QuizItemMatchingType=void 0;const r=n(2098),i=n(45234),o=n(66234);t.QuizItemMatchingType=r.Type.Composite([o.QuizItemType,r.Type.Object({type:r.Type.Literal("MATCHING"),answers:r.Type.Composite([o.QuizItemType.answers,r.Type.Object({matchTitle:r.Type.String()})])})]),t.isQuizItemMatching=(0,i.makeIsFunction)(t.QuizItemMatchingType),t.assertQuizItemMatching=(0,i.makeAssertFunction)(t.QuizItemMatchingType)},78784:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.assertQuizItemMultipleChoice=t.isQuizItemMultipleChoice=t.QuizItemMultipleChoiceType=void 0;const r=n(2098),i=n(45234),o=n(66234);t.QuizItemMultipleChoiceType=r.Type.Composite([o.QuizItemType,r.Type.Object({type:r.Type.Literal("MULTIPLE_CHOICE"),correct:r.Type.String(),corrects:r.Type.Array(r.Type.String(),{minItems:1,maxItems:1})})]),t.isQuizItemMultipleChoice=(0,i.makeIsFunction)(t.QuizItemMultipleChoiceType),t.assertQuizItemMultipleChoice=(0,i.makeAssertFunction)(t.QuizItemMultipleChoiceType)},17861:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.assertQuizItemMultipleResponse=t.isQuizItemMultipleResponse=t.QuizItemMultipleResponseType=void 0;const r=n(2098),i=n(45234),o=n(66234);t.QuizItemMultipleResponseType=r.Type.Composite([o.QuizItemType,r.Type.Object({type:r.Type.Literal("MULTIPLE_RESPONSE"),corrects:r.Type.Array(r.Type.String())})]),t.isQuizItemMultipleResponse=(0,i.makeIsFunction)(t.QuizItemMultipleResponseType),t.assertQuizItemMultipleResponse=(0,i.makeAssertFunction)(t.QuizItemMultipleResponseType)},87233:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.assertQuizItemQuestionBank=t.isQuizItemQuestionBank=t.QuizItemQuestionBankType=void 0;const r=n(2098),i=n(45234),o=n(66234);t.QuizItemQuestionBankType=r.Type.Composite([o.QuizItemType,r.Type.Object({type:r.Type.Literal("DRAW_FROM_QUESTION_BANK"),questionBankId:r.Type.String(),questionBankTitle:r.Type.String(),questionBankUpdatedAt:r.Type.String(),drawCount:r.Type.Number(),questions:r.Type.Array(r.Type.Object({id:r.Type.Union([r.Type.String(),r.Type.Number()]),type:r.Type.Literal("MULTIPLE_CHOICE"),title:r.Type.String(),correct:r.Type.String(),answers:o.QuizItemType.answers}))})]),t.isQuizItemQuestionBank=(0,i.makeIsFunction)(t.QuizItemQuestionBankType),t.assertQuizItemQuestionBank=(0,i.makeAssertFunction)(t.QuizItemQuestionBankType)},42331:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(66234),t),i(n(29446),t),i(n(12701),t),i(n(78784),t),i(n(17861),t),i(n(87233),t)},69117:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},62427:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},48796:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},53916:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(69117),t),i(n(62427),t),i(n(48796),t)},45234:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.makeAssertFunction=t.makeIsFunction=t.RiseContentAssertionError=void 0;const r=n(32477);class i extends AggregateError{}t.RiseContentAssertionError=i,t.makeIsFunction=function(e){return function(t){return r.Value.Check(e,t)}},t.makeAssertFunction=function(e){return function(t){if(!r.Value.Check(e,t))throw new i(r.Value.Errors(e,t))}}},64057:function(e,t,n){var r=n(88635),i=n(93645),o=n(64430);e.exports=i((function(e,t,n){var i={};return function(){for(var a=[],s=arguments.length;s--;)a[s]=arguments[s];return o((function(){var o=t.apply(null,a);return i[o]||(i[o]={},i[o].async=r((function(e,t){Object.assign(i[o],{reject:e,resolve:t})}))),clearTimeout(i[o].timeout),i[o].timeout=setTimeout((function(){var e=i[o],t=e.reject,r=e.resolve;n.apply(null,a).fork(t,r),delete i[o]}),e),i[o].async}))}}))},71066:function(e,t,n){var r=n(88635),i=n(93645),o=n(64430),a=n(12269);e.exports=i((function(e,t,n){var i={},s=function(e){i[e].last=Date.now();var t=i[e],r=t.args,o=t.reject,a=t.resolve;n.apply(null,r).fork(o,a),delete i[e].args,delete i[e].timeout};return function(){for(var n=[],u=arguments.length;u--;)n[u]=arguments[u];return o((function(){var o=t.apply(null,n);i[o]||(i[o]={},i[o].async=r((function(e,t){Object.assign(i[o],{reject:e,resolve:t})}))),i[o].args=n;var u=Date.now()-(i[o].last||0);if(!i[o].timeout){var c=a(0,e-u);i[o].timeout=setTimeout(s.bind(null,o),c)}return i[o].async}))}}))},88635:function(e,t,n){var r=n(67607),i=n(91421),o=n(49761).type("Async"),a=n(49761).typeFn(o(),3),s=n(70911),u=n(64388),c=n(2167),l=n(79025),f=n(89411),d=n(19380),p=n(97798),h=n(48326),g=n(91042),m=n(96774),y=n(32126),v=function(e){return b((function(t,n){return n(e)}))};function b(e){var t;if(!h(e))throw new TypeError("Async: Function required");var n=v,r=function(){return"Async"+i(e)};function u(t,n,r){if(!h(t)||!h(n))throw new TypeError("Async.fork: Reject and resolve functions required");var i=!1,o=!1,a=h(r)?r:f,s=function(e,t){if(!o)return o=!0,i?f():e(t)},u=e(s.bind(null,t),s.bind(null,n)),c=h(u)?u:f;return l((function(){return a((c(),void(i=!0)))}))}function d(e){return function(t){if(!h(t))throw new TypeError("Async."+e+": Function required");return b((function(e,n){return u(e,c(n,t))}))}}function p(e){return function(t,n){if(!h(t)||!h(n))throw new TypeError("Async."+e+": Functions required for both arguments");return b((function(e,r){return u(c(e,t),c(r,n))}))}}function g(e){return function(t){if(!y(b,t))throw new TypeError("Async."+e+": Async required");return b((function(e,n){var r=f,i=f;return r=u((function(){i=t.fork(e,n)}),n),l((function(){return i(r())}))}))}}function m(e){return function(t){if(!h(t))throw new TypeError("Async."+e+": Async returning function required");return b((function(n,r){var i=f,o=f;return i=u(n,(function(i){var a=t(i);if(!y(b,a))throw new TypeError("Async."+e+": Function must return another Async");o=a.fork(n,r)})),l((function(){return o(i())}))}))}}return(t={fork:u,toPromise:function(){return new Promise((function(e,t){u(t,e)}))},inspect:r,toString:r,type:o,swap:function(e,t){if(!h(e)||!h(t))throw new TypeError("Async.swap: Functions required for both arguments");return b((function(n,r){return u(c(r,e),c(n,t))}))},race:function(e){if(!y(b,e))throw new TypeError("Async.race: Async required");return b((function(t,n){var r=l((function(e,r){return e?n(r):t(r)})),i=r.bind(null,!0),o=r.bind(null,!1),a=u(o,i),s=e.fork(o,i);return function(){a(),s()}}))},coalesce:function(e,t){if(!h(e)||!h(t))throw new TypeError("Async.coalesce: Functions required for both arguments");return b((function(n,r){return u(c(r,e),c(r,t))}))},ap:function(e){if(!y(b,e))throw new TypeError("Async.ap: Async required");return b((function(t,n){var r=null,i=null,o=!1,a=!1,s=!1,f=l(t);function d(){!s&&o&&a&&c(n,r)(i)}var p=u(f,(function(e){if(!h(e))throw new TypeError("Async.ap: Wrapped value must be a function");o=!0,r=e,d()})),g=e.fork(f,(function(e){a=!0,i=e,d()}));return function(){p(),g(),s=!0}}))},of:n,alt:g("alt"),bimap:p("bimap"),map:d("map"),chain:m("chain")})[s.of]=n,t[s.alt]=g(s.alt),t[s.bimap]=p(s.bimap),t[s.map]=d(s.map),t[s.chain]=m(s.chain),t["@@type"]=a,t.constructor=b,t}b.of=v,b.type=o,b[s.of]=v,b["@@type"]=a,b.Rejected=function(e){return b((function(t){return t(e)}))},b.Resolved=v,b.fromPromise=function(e){if(!h(e))throw new TypeError("Async.fromPromise: Promise returning function required");return function(){var t=arguments;return b((function(n,r){var i=e.apply(null,t);if(!m(i))throw new TypeError("Async.fromPromise: Promise returning function required");i.then(r).catch(n)}))}},b.fromNode=function(e,t){if(!h(e))throw new TypeError("Async.fromNode: CPS function required");return function(){for(var n=[],r=arguments.length;r--;)n[r]=arguments[r];return b((function(r,i){e.apply(t,n.concat((function(e,t){return e?r(e):i(t)})))}))}},b.all=function(e){if(!p(e)||!e.reduce((function(e,t){return e&&y(b,t)}),!0))throw new TypeError("Async.all: Foldable structure of Asyncs required");return d(e)?u.sequence(b.of,e):e.sequence(b.of)},b.rejectAfter=function(e,t){if(!(g(e)&&e>=0))throw new TypeError("Async.rejectAfter: Positive Integer required for first argument");return b((function(n){var r=setTimeout((function(){n(t)}),e);return function(){clearTimeout(r)}}))},b.resolveAfter=function(e,t){if(!(g(e)&&e>=0))throw new TypeError("Async.resolveAfter: Positive Integer required for first argument");return b((function(n,r){var i=setTimeout((function(){r(t)}),e);return function(){clearTimeout(i)}}))},b["@@implements"]=r(["alt","ap","bimap","chain","map","of"]),e.exports=b},64430:function(e,t,n){var r=n(67607),i=n(91421),o=n(49761).type("IO"),a=n(49761).typeFn(o(),2),s=n(70911),u=n(2167),c=n(48326),l=n(32126),f=function(e){return d((function(){return e}))};function d(e){var t;if(!c(e))throw new TypeError("IO: Must wrap a function");var n=f,r=function(){return"IO"+i(e)};function p(t){return function(n){if(!c(n))throw new TypeError("IO."+t+": Function required");return d(u(n,e))}}function h(t){return function(n){if(!c(n))throw new TypeError("IO."+t+": Function required");return d((function(){var r=n(e());if(!l(d,r))throw new TypeError("IO."+t+": Function must return an IO");return r.run()}))}}return(t={inspect:r,toString:r,run:e,type:o,ap:function(t){if(!l(d,t))throw new TypeError("IO.ap: IO required");return d((function(){var n=e();if(!c(n))throw new TypeError("IO.ap: Wrapped value must be a function");return t.map(n).run()}))},of:n,map:p("map"),chain:h("chain")})[s.of]=n,t[s.map]=p(s.map),t[s.chain]=h(s.chain),t["@@type"]=a,t.constructor=d,t}d.of=f,d.type=o,d[s.of]=f,d["@@type"]=a,d["@@implements"]=r(["ap","chain","map","of"]),e.exports=d},89411:function(e){e.exports=Function.prototype},31646:function(e,t,n){var r=n(67158),i=n(60060);e.exports=function(e){return function(t){return r(e)?e.of(t):i(Array,e)?[t]:e(t)}}},64388:function(e,t,n){var r=n(86827),i=n(19380),o=n(30191),a=n(48326),s=n(32126),u=n(33748),c=n(31646),l=function(e){return e},f=function(e){return function(t){return e.concat(t)}};function d(e,t){return function(n,o){var a=t(o);if(!r(n)&&!i(n)||!s(n,a))throw new TypeError("Array."+e+": Must wrap Applys of the same type");return i(a)?h(n,p((function(e){return f([e])}),a)):a.map((function(e){return f([e])})).ap(n)}}var p=function(e,t){return t.map((function(t){return e(t)}))};function h(e,t){if(!t.length||!t.reduce((function(e,t){return e&&a(t)}),!0))throw new TypeError("Array.ap: Second Array must all be functions");return t.reduce((function(t,n){return t.concat(p(n,e))}),[])}e.exports={ap:h,chain:function(e,t){return t.reduce((function(t,n){var r=e(n);if(!i(r))throw new TypeError("Array.chain: Function must return an Array");return t.concat(r)}),[])},fold:function(e){if(o(e))throw new TypeError("Array.fold: Non-empty Array of Semigroups required");var t=e[0];if(!u(t))throw new TypeError("Array.fold: Must contain Semigroups of the same type");return e.reduce((function(e,t){if(!s(e,t))throw new TypeError("Array.fold: Must contain Semigroups of the same type");return e.concat(t)}))},foldMap:function(e,t){if(o(t))throw new TypeError("Array.foldMap: Non-empty Array required");var n=e(t[0]);if(!u(n))throw new TypeError("Array.foldMap: Provided function must return Semigroups of the same type");return 1===t.length?n:t.slice(1).reduce((function(t,n){var r=e(n);if(!s(t,r)||!u(r))throw new TypeError("Array.foldMap: Provided function must return Semigroups of the same type");return t.concat(r)}),n)},map:p,sequence:function(e,t){var n=c(e);return t.reduceRight(d("sequence",l),n([]))},traverse:function(e,t,n){var r=c(e);return n.reduceRight(d("traverse",t),r([]))}}},2167:function(e){e.exports=function(e,t){return function(n){return e(t(n))}}},37989:function(e,t,n){var r=n(48326);function i(e,t){return r(e)?e.length>1?e.bind(null,t):e.call(null,t):e}e.exports=function e(t){return function(){for(var n=[],o=arguments.length;o--;)n[o]=arguments[o];var a=n.length?n:[void 0];if(a.length<t.length)return e(Function.bind.apply(t,[null].concat(a)));var s=a.length===t.length?t.apply(null,a):a.reduce(i,t);return r(s)?e(s):s}}},70911:function(e){e.exports={alt:"fantasy-land/alt",bimap:"fantasy-land/bimap",chain:"fantasy-land/chain",compose:"fantasy-land/compose",concat:"fantasy-land/concat",contramap:"fantasy-land/contramap",empty:"fantasy-land/empty",equals:"fantasy-land/equals",extend:"fantasy-land/extend",id:"fantasy-land/id",map:"fantasy-land/map",of:"fantasy-land/of",promap:"fantasy-land/promap",reduce:"fantasy-land/reduce",zero:"fantasy-land/zero"}},33333:function(e,t,n){var r=n(48326),i=n(70911);e.exports=function(e,t){return!!t&&(function(e,t){return r(t[i[e]])||r(t[e])}(e,t)||function(e,t){return r(t["@@implements"])&&!!t["@@implements"](e)}(e,t))}},67607:function(e){e.exports=function(e){return function(t){return-1!==e.indexOf(t)}}},91421:function(e,t,n){var r=n(19380),i=n(48326),o=n(22323),a=n(47071),s=n(77136);function u(e){return e&&i(e.inspect)?" "+e.inspect():i(e)?" Function":r(e)?" ["+(((t=e).length?t.map(u).reduce((function(e,t){return e+","+t})):t)+" ]"):o(e)?" { "+Object.keys(e).reduce((function(t,n){return t.concat([n+":"+u(e[n])])}),[]).join(", ")+" }":a(e)?' "'+e+'"':s(e)?" "+e.toString():" "+e;var t}e.exports=u},67158:function(e,t,n){var r=n(33333),i=n(86827);e.exports=function(e){return i(e)&&(r("of",e)||r("of",e.constructor))}},86827:function(e,t,n){var r=n(33333),i=n(99574);e.exports=function(e){return i(e)&&r("ap",e)}},19380:function(e){e.exports=function(e){return Array.isArray(e)}},30191:function(e,t,n){var r=n(22323);e.exports=function(e){return r(e)?!Object.keys(e).length:!e||void 0===e.length||!e.length}},97798:function(e,t,n){var r=n(33333);e.exports=function(e){return!!e&&r("reduce",e)}},48326:function(e){e.exports=function(e){return"function"==typeof e}},99574:function(e,t,n){var r=n(33333);e.exports=function(e){return!!e&&r("map",e)}},91042:function(e,t,n){var r=n(29241);e.exports=function(e){return r(e)&&isFinite(e)&&Math.floor(e)===e}},29241:function(e){e.exports=function(e){return"number"==typeof e&&!isNaN(e)}},22323:function(e){var t=Object.prototype.toString;e.exports=function(e){return!!e&&"[object Object]"===t.call(e)}},96774:function(e,t,n){var r=n(48326);e.exports=function(e){return!!e&&r(e.then)&&r(e.catch)}},32126:function(e,t,n){var r=n(37989),i=n(48326),o=n(21223);e.exports=r((function(e,t){var n=o(e),r=o(t);return n===r||i(e)&&e.name===r||i(t)&&t.name===n}))},33748:function(e,t,n){var r=n(47071),i=n(33333);e.exports=function(e){return r(e)||!!e&&i("concat",e)}},47071:function(e){e.exports=function(e){return"string"==typeof e}},77136:function(e){e.exports=function(e){return"symbol"==typeof e}},60060:function(e,t,n){var r=n(48326);e.exports=function(e,t){return r(t)&&(e===t||e.name===t.name)}},79025:function(e){e.exports=function(e){var t,n;return function(){return t||(t=!0,n=e.apply(null,arguments)),n}}},21223:function(e,t,n){var r=n(48326);e.exports=function(e){return e&&r(e.type)?e.type():{}.toString.call(e).slice(8,-1)}},49761:function(e){var t={unk:function(){return"unknown"},All:function(){return"All"},Any:function(){return"Any"},Arrow:function(){return"Arrow"},Assign:function(){return"Assign"},Async:function(){return"Async"},Const:function(){return"Const"},Either:function(){return"Either"},Endo:function(){return"Endo"},Equiv:function(){return"Equiv"},First:function(){return"First"},Identity:function(){return"Identity"},IO:function(){return"IO"},Last:function(){return"Last"},List:function(){return"List"},Max:function(){return"Max"},Maybe:function(){return"Maybe"},Min:function(){return"Min"},Pair:function(){return"Pair"},Pred:function(){return"Pred"},Prod:function(){return"Prod"},Reader:function(){return"Reader"},Result:function(){return"Result"},Star:function(){return"Star"},State:function(){return"State"},Sum:function(){return"Sum"},Tuple:function(e){return e+"-Tuple"},Unit:function(){return"Unit"},Writer:function(){return"Writer"}},n=function(e){return t[e]||t.unk};e.exports={proxy:function(e){return{type:n(e)}},type:n,typeFn:function(e,t,r){return"crocks/"+n(e)(r)+"@"+(t||0)}}},93645:function(e,t,n){var r=n(66747),i=n(90061),o=r((function(e){return i(e.length,e)}));e.exports=o},90061:function(e,t,n){var r=n(53998),i=n(66747),o=n(45018),a=n(70267),s=o((function(e,t){return 1===e?i(t):r(e,a(e,[],t))}));e.exports=s},53998:function(e){e.exports=function(e,t){switch(e){case 0:return function(){return t.apply(this,arguments)};case 1:return function(e){return t.apply(this,arguments)};case 2:return function(e,n){return t.apply(this,arguments)};case 3:return function(e,n,r){return t.apply(this,arguments)};case 4:return function(e,n,r,i){return t.apply(this,arguments)};case 5:return function(e,n,r,i,o){return t.apply(this,arguments)};case 6:return function(e,n,r,i,o,a){return t.apply(this,arguments)};case 7:return function(e,n,r,i,o,a,s){return t.apply(this,arguments)};case 8:return function(e,n,r,i,o,a,s,u){return t.apply(this,arguments)};case 9:return function(e,n,r,i,o,a,s,u,c){return t.apply(this,arguments)};case 10:return function(e,n,r,i,o,a,s,u,c,l){return t.apply(this,arguments)};default:throw new Error("First argument to _arity must be a non-negative integer no greater than ten")}}},66747:function(e,t,n){var r=n(79178);e.exports=function(e){return function t(n){return 0===arguments.length||r(n)?t:e.apply(this,arguments)}}},45018:function(e,t,n){var r=n(66747),i=n(79178);e.exports=function(e){return function t(n,o){switch(arguments.length){case 0:return t;case 1:return i(n)?t:r((function(t){return e(n,t)}));default:return i(n)&&i(o)?t:i(n)?r((function(t){return e(t,o)})):i(o)?r((function(t){return e(n,t)})):e(n,o)}}}},70267:function(e,t,n){var r=n(53998),i=n(79178);e.exports=function e(t,n,o){return function(){for(var a=[],s=0,u=t,c=0;c<n.length||s<arguments.length;){var l;c<n.length&&(!i(n[c])||s>=arguments.length)?l=n[c]:(l=arguments[s],s+=1),a[c]=l,i(l)||(u-=1),c+=1}return u<=0?o.apply(this,a):r(u,e(t,a,o))}}},79178:function(e){e.exports=function(e){return null!=e&&"object"==typeof e&&!0===e["@@functional/placeholder"]}},12269:function(e,t,n){var r=n(45018)((function(e,t){return t>e?t:e}));e.exports=r},52512:function(e,t,n){var r=n(80988);e.exports=r},98998:function(e,t,n){var r=n(59092);e.exports=r},64272:function(e,t,n){var r=n(533);e.exports=r},72584:function(e,t,n){var r=n(38006);e.exports=r},65451:function(e,t,n){var r=n(77234);e.exports=r},19214:function(e,t,n){var r=n(18234);e.exports=r},18668:function(e,t,n){var r=n(21527);e.exports=r},52973:function(e,t,n){var r=n(12702);e.exports=r},27092:function(e,t,n){var r=n(56053);e.exports=r},74040:function(e,t,n){var r=n(42690);e.exports=r},25029:function(e,t,n){var r=n(97318);e.exports=r},14622:function(e,t,n){var r=n(46545);e.exports=r},85332:function(e,t,n){var r=n(1597);e.exports=r},95268:function(e,t,n){var r=n(76788);e.exports=r},26632:function(e,t,n){var r=n(58015);e.exports=r},83140:function(e,t,n){var r=n(10320);e.exports=r},76094:function(e,t,n){var r=n(11787);e.exports=r},60315:function(e,t,n){var r=n(69213);e.exports=r},53605:function(e,t,n){var r=n(844);e.exports=r},42208:function(e,t,n){var r=n(65012);e.exports=r},46686:function(e,t,n){var r=n(60073);e.exports=r},54827:function(e,t,n){var r=n(20996);e.exports=r},83268:function(e,t,n){var r=n(87935);e.exports=r},77109:function(e,t,n){var r=n(13437);e.exports=r},1779:function(e,t,n){var r=n(55085);e.exports=r},79814:function(e,t,n){var r=n(91156);e.exports=r},15443:function(e,t,n){var r=n(96256);e.exports=r},46207:function(e,t,n){var r=n(4817);e.exports=r},57897:function(e,t,n){var r=n(39795);e.exports=r},36168:function(e,t,n){var r=n(112);e.exports=r},13262:function(e,t,n){var r=n(62586);e.exports=r},96264:function(e,t,n){var r=n(67837);e.exports=r},6764:function(e,t,n){var r=n(70216);e.exports=r},51308:function(e,t,n){var r=n(77426);e.exports=r},31826:function(e,t,n){var r=n(94998);e.exports=r},74037:function(e,t,n){var r=n(21845);e.exports=r},8434:function(e,t,n){var r=n(89281);e.exports=r},14286:function(e,t,n){var r=n(63353);e.exports=r},24430:function(e,t,n){var r=n(41930);e.exports=r},39384:function(e,t,n){var r=n(18350);e.exports=r},39701:function(e,t,n){var r=n(35802);e.exports=r},73363:function(e,t,n){var r=n(52102);e.exports=r},70446:function(e,t,n){var r=n(24033);e.exports=r},16929:function(e,t,n){var r=n(75049);e.exports=r},23809:function(e,t,n){var r=n(63802);e.exports=r},79574:function(e,t,n){var r=n(12998);e.exports=r},51112:function(e,t,n){var r=n(43296);e.exports=r},44671:function(e,t,n){var r=n(86272);e.exports=r},85857:function(e,t,n){var r=n(86775);n(52711),n(29097),n(73225),n(45392),n(71638),n(53933),n(21366),e.exports=r},8655:function(e,t,n){var r=n(36866);n(20795),e.exports=r},65845:function(e,t,n){var r=n(17276);e.exports=r},51386:function(e,t,n){var r=n(97698);e.exports=r},27847:function(e,t,n){var r=n(41314);e.exports=r},71155:function(e,t,n){var r=n(34883);e.exports=r},7618:function(e,t,n){var r=n(78212);e.exports=r},89508:function(e,t,n){n(70185),n(34521);var r=n(5058);e.exports=r.Array.from},10197:function(e,t,n){n(81847);var r=n(5058);e.exports=r.Array.isArray},37595:function(e,t,n){n(79398);var r=n(80003);e.exports=r("Array").concat},53199:function(e,t,n){n(30963),n(30277);var r=n(80003);e.exports=r("Array").entries},26375:function(e,t,n){n(99632);var r=n(80003);e.exports=r("Array").fill},4572:function(e,t,n){n(38215);var r=n(80003);e.exports=r("Array").filter},1955:function(e,t,n){n(11688);var r=n(80003);e.exports=r("Array").findIndex},99449:function(e,t,n){n(79435);var r=n(80003);e.exports=r("Array").find},36906:function(e,t,n){n(82356);var r=n(80003);e.exports=r("Array").forEach},6051:function(e,t,n){n(93455);var r=n(80003);e.exports=r("Array").includes},77874:function(e,t,n){n(25749);var r=n(80003);e.exports=r("Array").indexOf},41297:function(e,t,n){n(30963),n(30277);var r=n(80003);e.exports=r("Array").keys},17166:function(e,t,n){n(94889);var r=n(80003);e.exports=r("Array").map},54237:function(e,t,n){n(11229);var r=n(80003);e.exports=r("Array").reverse},45173:function(e,t,n){n(1859);var r=n(80003);e.exports=r("Array").slice},26454:function(e,t,n){n(76237);var r=n(80003);e.exports=r("Array").sort},82157:function(e,t,n){n(30963),n(30277);var r=n(80003);e.exports=r("Array").values},64362:function(e,t,n){n(98039);var r=n(80003);e.exports=r("Function").bind},60047:function(e,t,n){n(30963),n(70185);var r=n(4187);e.exports=r},23009:function(e,t,n){n(67399),e.exports=n(82202)},78894:function(e,t,n){var r=n(41535),i=n(64362),o=Function.prototype;e.exports=function(e){var t=e.bind;return e===o||r(o,e)&&t===o.bind?i:t}},15473:function(e,t,n){var r=n(41535),i=n(37595),o=Array.prototype;e.exports=function(e){var t=e.concat;return e===o||r(o,e)&&t===o.concat?i:t}},90488:function(e,t,n){var r=n(41535),i=n(69782),o=String.prototype;e.exports=function(e){var t=e.endsWith;return"string"==typeof e||e===o||r(o,e)&&t===o.endsWith?i:t}},42774:function(e,t,n){var r=n(41535),i=n(26375),o=Array.prototype;e.exports=function(e){var t=e.fill;return e===o||r(o,e)&&t===o.fill?i:t}},74760:function(e,t,n){var r=n(41535),i=n(4572),o=Array.prototype;e.exports=function(e){var t=e.filter;return e===o||r(o,e)&&t===o.filter?i:t}},91093:function(e,t,n){var r=n(41535),i=n(1955),o=Array.prototype;e.exports=function(e){var t=e.findIndex;return e===o||r(o,e)&&t===o.findIndex?i:t}},52246:function(e,t,n){var r=n(41535),i=n(99449),o=Array.prototype;e.exports=function(e){var t=e.find;return e===o||r(o,e)&&t===o.find?i:t}},23163:function(e,t,n){var r=n(41535),i=n(6051),o=n(76200),a=Array.prototype,s=String.prototype;e.exports=function(e){var t=e.includes;return e===a||r(a,e)&&t===a.includes?i:"string"==typeof e||e===s||r(s,e)&&t===s.includes?o:t}},97993:function(e,t,n){var r=n(41535),i=n(77874),o=Array.prototype;e.exports=function(e){var t=e.indexOf;return e===o||r(o,e)&&t===o.indexOf?i:t}},51597:function(e,t,n){var r=n(41535),i=n(17166),o=Array.prototype;e.exports=function(e){var t=e.map;return e===o||r(o,e)&&t===o.map?i:t}},27893:function(e,t,n){var r=n(41535),i=n(84364),o=String.prototype;e.exports=function(e){var t=e.padStart;return"string"==typeof e||e===o||r(o,e)&&t===o.padStart?i:t}},77276:function(e,t,n){var r=n(41535),i=n(54237),o=Array.prototype;e.exports=function(e){var t=e.reverse;return e===o||r(o,e)&&t===o.reverse?i:t}},12066:function(e,t,n){var r=n(41535),i=n(45173),o=Array.prototype;e.exports=function(e){var t=e.slice;return e===o||r(o,e)&&t===o.slice?i:t}},19721:function(e,t,n){var r=n(41535),i=n(26454),o=Array.prototype;e.exports=function(e){var t=e.sort;return e===o||r(o,e)&&t===o.sort?i:t}},5783:function(e,t,n){var r=n(41535),i=n(88932),o=String.prototype;e.exports=function(e){var t=e.startsWith;return"string"==typeof e||e===o||r(o,e)&&t===o.startsWith?i:t}},27866:function(e,t,n){var r=n(41535),i=n(17227),o=String.prototype;e.exports=function(e){var t=e.trim;return"string"==typeof e||e===o||r(o,e)&&t===o.trim?i:t}},68563:function(e,t,n){n(19737);var r=n(5058),i=n(26477);r.JSON||(r.JSON={stringify:JSON.stringify}),e.exports=function(e,t,n){return i(r.JSON.stringify,null,arguments)}},72627:function(e,t,n){n(30963),n(12297),n(30277),n(70185);var r=n(5058);e.exports=r.Map},3456:function(e,t,n){n(8544);var r=n(5058);e.exports=r.Math.cbrt},55727:function(e,t,n){n(63041);var r=n(5058);e.exports=r.Math.log10},83070:function(e,t,n){n(83560);var r=n(5058);e.exports=r.Math.sign},54358:function(e,t,n){n(39467);var r=n(5058);e.exports=r.Number.isInteger},89345:function(e,t,n){n(504);var r=n(5058);e.exports=r.Number.isNaN},65028:function(e,t,n){n(99421),e.exports=9007199254740991},10273:function(e,t,n){n(64564);var r=n(5058);e.exports=r.Object.assign},19999:function(e,t,n){n(13365);var r=n(5058).Object;e.exports=function(e,t){return r.create(e,t)}},14116:function(e,t,n){n(42883);var r=n(5058).Object,i=e.exports=function(e,t,n){return r.defineProperty(e,t,n)};r.defineProperty.sham&&(i.sham=!0)},70060:function(e,t,n){n(74152);var r=n(5058);e.exports=r.Object.entries},24573:function(e,t,n){n(18909);var r=n(5058).Object,i=e.exports=function(e,t){return r.getOwnPropertyDescriptor(e,t)};r.getOwnPropertyDescriptor.sham&&(i.sham=!0)},33298:function(e,t,n){n(51690);var r=n(5058);e.exports=r.Object.getOwnPropertyDescriptors},68561:function(e,t,n){n(21006);var r=n(5058);e.exports=r.Object.getOwnPropertySymbols},69304:function(e,t,n){n(22569);var r=n(5058);e.exports=r.Object.getPrototypeOf},50688:function(e,t,n){n(93424);var r=n(5058);e.exports=r.Object.is},84802:function(e,t,n){n(44261);var r=n(5058);e.exports=r.Object.keys},76929:function(e,t,n){n(9652);var r=n(5058);e.exports=r.Object.setPrototypeOf},46660:function(e,t,n){n(76818);var r=n(5058);e.exports=r.Object.values},15716:function(e,t,n){n(72750),n(30963),n(30277),n(57491),n(49230),n(33978),n(39952),n(70185);var r=n(5058);e.exports=r.Promise},27313:function(e,t,n){n(24679);var r=n(5058);e.exports=r.Reflect.construct},78284:function(e,t,n){n(22382);var r=n(5058);e.exports=r.Reflect.get},70284:function(e,t,n){n(30963),n(30277),n(1753),n(70185);var r=n(5058);e.exports=r.Set},69782:function(e,t,n){n(28107);var r=n(80003);e.exports=r("String").endsWith},76200:function(e,t,n){n(2126);var r=n(80003);e.exports=r("String").includes},84364:function(e,t,n){n(28051);var r=n(80003);e.exports=r("String").padStart},88932:function(e,t,n){n(914);var r=n(80003);e.exports=r("String").startsWith},17227:function(e,t,n){n(77485);var r=n(80003);e.exports=r("String").trim},49457:function(e,t,n){n(79398),n(30277),n(21006),n(63112),n(42019),n(24435),n(93427),n(42526),n(3314),n(25202),n(46916),n(19206),n(28458),n(43743),n(1283),n(17294),n(26287),n(78655),n(15913),n(77014);var r=n(5058);e.exports=r.Symbol},71080:function(e,t,n){n(30963),n(30277),n(70185),n(42526);var r=n(88239);e.exports=r.f("iterator")},8025:function(e,t,n){n(14109),n(1283);var r=n(88239);e.exports=r.f("toPrimitive")},37836:function(e,t,n){n(30963),n(30277),n(40140);var r=n(5058);e.exports=r.WeakMap},51714:function(e,t,n){e.exports=n(92275)},25122:function(e,t,n){e.exports=n(90022)},78458:function(e,t,n){e.exports=n(13078)},34153:function(e,t,n){e.exports=n(71686)},65600:function(e,t,n){e.exports=n(13265)},28266:function(e,t,n){e.exports=n(11864)},44399:function(e,t,n){e.exports=n(38413)},39367:function(e,t,n){e.exports=n(65453)},22005:function(e,t,n){e.exports=n(9827)},34748:function(e,t,n){e.exports=n(8729)},83696:function(e,t,n){e.exports=n(58485)},76516:function(e,t,n){e.exports=n(9459)},56368:function(e,t,n){e.exports=n(58254)},93739:function(e,t,n){e.exports=n(22593)},89151:function(e,t,n){e.exports=n(65020)},17654:function(e,t,n){e.exports=n(71359)},57762:function(e,t,n){e.exports=n(63623)},81004:function(e,t,n){e.exports=n(78163)},13885:function(e,t,n){e.exports=n(49862)},89329:function(e,t,n){e.exports=n(35638)},38755:function(e,t,n){e.exports=n(28346)},55781:function(e,t,n){e.exports=n(95088)},53185:function(e,t,n){e.exports=n(35690)},88235:function(e,t,n){e.exports=n(82863)},59829:function(e,t,n){e.exports=n(13373)},65560:function(e,t,n){e.exports=n(65820)},41047:function(e,t,n){e.exports=n(98220)},40911:function(e,t,n){e.exports=n(86681)},85655:function(e,t,n){e.exports=n(93805)},23482:function(e,t,n){e.exports=n(56305)},87034:function(e,t,n){e.exports=n(45828)},83734:function(e,t,n){e.exports=n(86243)},20711:function(e,t,n){e.exports=n(20177)},86488:function(e,t,n){e.exports=n(91733)},8827:function(e,t,n){e.exports=n(69953)},56581:function(e,t,n){e.exports=n(49959)},41633:function(e,t,n){e.exports=n(20199)},20344:function(e,t,n){e.exports=n(94269)},48909:function(e,t,n){e.exports=n(10603)},6258:function(e,t,n){e.exports=n(68248)},57602:function(e,t,n){e.exports=n(43630)},11024:function(e,t,n){e.exports=n(84735)},44705:function(e,t,n){e.exports=n(88511)},12232:function(e,t,n){e.exports=n(49769)},44565:function(e,t,n){e.exports=n(77201)},73637:function(e,t,n){e.exports=n(11738)},80407:function(e,t,n){e.exports=n(20459)},19502:function(e,t,n){e.exports=n(25793)},63969:function(e,t,n){e.exports=n(31373)},21085:function(e,t,n){e.exports=n(22041)},21277:function(e,t,n){e.exports=n(78149)},90007:function(e,t,n){e.exports=n(43760)},34976:function(e,t,n){e.exports=n(21929)},41680:function(e,t,n){e.exports=n(16571)},95214:function(e,t,n){e.exports=n(23001)},92275:function(e,t,n){var r=n(52512);e.exports=r},90022:function(e,t,n){var r=n(98998);e.exports=r},13078:function(e,t,n){var r=n(64272);e.exports=r},71686:function(e,t,n){n(24031);var r=n(72584);e.exports=r},13265:function(e,t,n){var r=n(65451);e.exports=r},11864:function(e,t,n){var r=n(19214);e.exports=r},38413:function(e,t,n){var r=n(18668);e.exports=r},65453:function(e,t,n){var r=n(52973);e.exports=r},9827:function(e,t,n){var r=n(27092);e.exports=r},8729:function(e,t,n){var r=n(74040);e.exports=r},58485:function(e,t,n){var r=n(25029);e.exports=r},9459:function(e,t,n){var r=n(14622);e.exports=r},58254:function(e,t,n){var r=n(85332);e.exports=r},22593:function(e,t,n){var r=n(95268);e.exports=r},65020:function(e,t,n){var r=n(26632);e.exports=r},71359:function(e,t,n){var r=n(83140);e.exports=r},63623:function(e,t,n){var r=n(76094);e.exports=r},78163:function(e,t,n){var r=n(60315);e.exports=r},49862:function(e,t,n){var r=n(53605);e.exports=r},35638:function(e,t,n){var r=n(42208);e.exports=r},28346:function(e,t,n){var r=n(46686);e.exports=r},95088:function(e,t,n){var r=n(54827);e.exports=r},35690:function(e,t,n){var r=n(83268);e.exports=r},82863:function(e,t,n){var r=n(77109);e.exports=r},13373:function(e,t,n){var r=n(1779);e.exports=r},65820:function(e,t,n){var r=n(79814);n(45952),n(78043),n(17017),n(85967),n(16005),n(3556),n(81582),n(72910),n(33709),n(22547),n(97803),n(53014),n(91688),n(26346),n(49459),n(15851),n(93434),n(88415),n(49663),n(59405),e.exports=r},98220:function(e,t,n){var r=n(15443);e.exports=r},86681:function(e,t,n){var r=n(46207);e.exports=r},93805:function(e,t,n){var r=n(57897);e.exports=r},56305:function(e,t,n){var r=n(36168);e.exports=r},45828:function(e,t,n){var r=n(13262);e.exports=r},86243:function(e,t,n){var r=n(96264);e.exports=r},20177:function(e,t,n){var r=n(6764);e.exports=r},91733:function(e,t,n){var r=n(51308);e.exports=r},69953:function(e,t,n){var r=n(31826);e.exports=r},49959:function(e,t,n){var r=n(74037);e.exports=r},20199:function(e,t,n){var r=n(8434);e.exports=r},94269:function(e,t,n){var r=n(14286);e.exports=r},10603:function(e,t,n){var r=n(24430);e.exports=r},68248:function(e,t,n){var r=n(39384);e.exports=r},43630:function(e,t,n){var r=n(39701);e.exports=r},84735:function(e,t,n){var r=n(73363);e.exports=r},88511:function(e,t,n){var r=n(70446);e.exports=r},49769:function(e,t,n){var r=n(16929);e.exports=r},77201:function(e,t,n){var r=n(23809);n(33239),n(82564),n(25361),n(94781),e.exports=r},11738:function(e,t,n){var r=n(79574);e.exports=r},20459:function(e,t,n){var r=n(51112);e.exports=r},25793:function(e,t,n){var r=n(44671);e.exports=r},31373:function(e,t,n){var r=n(85857);n(84170),n(62808),n(82745),n(84070),n(25277),n(34943),n(28404),n(40269),n(91239),n(53180),n(85405),n(81090),n(70146),n(1240),n(80734),n(21946),n(20985),n(76035),e.exports=r},22041:function(e,t,n){var r=n(8655);n(34419),n(54596),n(44505),n(57049),n(29545),n(72481),n(52208),e.exports=r},78149:function(e,t,n){var r=n(65845);e.exports=r},43760:function(e,t,n){var r=n(51386);e.exports=r},21929:function(e,t,n){var r=n(27847);e.exports=r},16571:function(e,t,n){var r=n(71155);e.exports=r},23001:function(e,t,n){var r=n(7618);n(70185),n(33976),n(58959),n(63037),n(38894),n(4762),e.exports=r},86148:function(e,t,n){var r=n(16615),i=n(37254),o=TypeError;e.exports=function(e){if(r(e))return e;throw o(i(e)+" is not a function")}},31413:function(e,t,n){var r=n(68630),i=n(37254),o=TypeError;e.exports=function(e){if(r(e))return e;throw o(i(e)+" is not a constructor")}},7655:function(e,t,n){var r=n(37254);e.exports=function(e){if("object"==typeof e&&"size"in e&&"has"in e&&"get"in e&&"set"in e&&"delete"in e&&"entries"in e)return e;throw TypeError(r(e)+" is not a map")}},65838:function(e,t,n){var r=n(16615),i=String,o=TypeError;e.exports=function(e){if("object"==typeof e||r(e))return e;throw o("Can't set "+i(e)+" as a prototype")}},20902:function(e,t,n){var r=n(37254);e.exports=function(e){if("object"==typeof e&&"size"in e&&"has"in e&&"add"in e&&"delete"in e&&"keys"in e)return e;throw TypeError(r(e)+" is not a set")}},82271:function(e,t,n){var r=n(37254);e.exports=function(e){if("object"==typeof e&&"has"in e&&"get"in e&&"set"in e)return e;throw TypeError(r(e)+" is not a weakmap")}},7272:function(e){e.exports=function(){}},77423:function(e,t,n){var r=n(41535),i=TypeError;e.exports=function(e,t){if(r(t,e))return e;throw i("Incorrect invocation")}},64950:function(e,t,n){var r=n(66106),i=String,o=TypeError;e.exports=function(e){if(r(e))return e;throw o(i(e)+" is not an object")}},89724:function(e,t,n){var r=n(13315);e.exports=r((function(){if("function"==typeof ArrayBuffer){var e=new ArrayBuffer(8);Object.isExtensible(e)&&Object.defineProperty(e,"a",{value:8})}}))},8660:function(e,t,n){"use strict";var r=n(66504),i=n(4351),o=n(33268);e.exports=function(e){for(var t=r(this),n=o(t),a=arguments.length,s=i(a>1?arguments[1]:void 0,n),u=a>2?arguments[2]:void 0,c=void 0===u?n:i(u,n);c>s;)t[s++]=e;return t}},99308:function(e,t,n){"use strict";var r=n(2912).forEach,i=n(16680)("forEach");e.exports=i?[].forEach:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}},4133:function(e,t,n){"use strict";var r=n(1912),i=n(93344),o=n(66504),a=n(5300),s=n(57517),u=n(68630),c=n(33268),l=n(79869),f=n(27390),d=n(4187),p=Array;e.exports=function(e){var t=o(e),n=u(this),h=arguments.length,g=h>1?arguments[1]:void 0,m=void 0!==g;m&&(g=r(g,h>2?arguments[2]:void 0));var y,v,b,_,w,T,x=d(t),S=0;if(!x||this===p&&s(x))for(y=c(t),v=n?new this(y):p(y);y>S;S++)T=m?g(t[S],S):t[S],l(v,S,T);else for(w=(_=f(t,x)).next,v=n?new this:[];!(b=i(w,_)).done;S++)T=m?a(_,g,[b.value,S],!0):b.value,l(v,S,T);return v.length=S,v}},89830:function(e,t,n){var r=n(51015),i=n(4351),o=n(33268),a=function(e){return function(t,n,a){var s,u=r(t),c=o(u),l=i(a,c);if(e&&n!=n){for(;c>l;)if((s=u[l++])!=s)return!0}else for(;c>l;l++)if((e||l in u)&&u[l]===n)return e||l||0;return!e&&-1}};e.exports={includes:a(!0),indexOf:a(!1)}},2912:function(e,t,n){var r=n(1912),i=n(32108),o=n(66864),a=n(66504),s=n(33268),u=n(48071),c=i([].push),l=function(e){var t=1==e,n=2==e,i=3==e,l=4==e,f=6==e,d=7==e,p=5==e||f;return function(h,g,m,y){for(var v,b,_=a(h),w=o(_),T=r(g,m),x=s(w),S=0,k=y||u,E=t?k(h,x):n||d?k(h,0):void 0;x>S;S++)if((p||S in w)&&(b=T(v=w[S],S,_),e))if(t)E[S]=b;else if(b)switch(e){case 3:return!0;case 5:return v;case 6:return S;case 2:c(E,v)}else switch(e){case 4:return!1;case 7:c(E,v)}return f?-1:i||l?l:E}};e.exports={forEach:l(0),map:l(1),filter:l(2),some:l(3),every:l(4),find:l(5),findIndex:l(6),filterReject:l(7)}},71319:function(e,t,n){var r=n(13315),i=n(77431),o=n(67544),a=i("species");e.exports=function(e){return o>=51||!r((function(){var t=[];return(t.constructor={})[a]=function(){return{foo:1}},1!==t[e](Boolean).foo}))}},16680:function(e,t,n){"use strict";var r=n(13315);e.exports=function(e,t){var n=[][e];return!!n&&r((function(){n.call(null,t||function(){return 1},1)}))}},21960:function(e,t,n){var r=n(4351),i=n(33268),o=n(79869),a=Array,s=Math.max;e.exports=function(e,t,n){for(var u=i(e),c=r(t,u),l=r(void 0===n?u:n,u),f=a(s(l-c,0)),d=0;c<l;c++,d++)o(f,d,e[c]);return f.length=d,f}},76253:function(e,t,n){var r=n(32108);e.exports=r([].slice)},65702:function(e,t,n){var r=n(21960),i=Math.floor,o=function(e,t){var n=e.length,u=i(n/2);return n<8?a(e,t):s(e,o(r(e,0,u),t),o(r(e,u),t),t)},a=function(e,t){for(var n,r,i=e.length,o=1;o<i;){for(r=o,n=e[o];r&&t(e[r-1],n)>0;)e[r]=e[--r];r!==o++&&(e[r]=n)}return e},s=function(e,t,n,r){for(var i=t.length,o=n.length,a=0,s=0;a<i||s<o;)e[a+s]=a<i&&s<o?r(t[a],n[s])<=0?t[a++]:n[s++]:a<i?t[a++]:n[s++];return e};e.exports=o},33037:function(e,t,n){var r=n(55345),i=n(68630),o=n(66106),a=n(77431)("species"),s=Array;e.exports=function(e){var t;return r(e)&&(t=e.constructor,(i(t)&&(t===s||r(t.prototype))||o(t)&&null===(t=t[a]))&&(t=void 0)),void 0===t?s:t}},48071:function(e,t,n){var r=n(33037);e.exports=function(e,t){return new(r(e))(0===t?0:t)}},5300:function(e,t,n){var r=n(64950),i=n(6861);e.exports=function(e,t,n,o){try{return o?t(r(n)[0],n[1]):t(n)}catch(t){i(e,"throw",t)}}},54341:function(e){e.exports=function(e,t){return 1==t?function(t,n){return t[e](n)}:function(t,n,r){return t[e](n,r)}}},94337:function(e,t,n){var r=n(77431)("iterator"),i=!1;try{var o=0,a={next:function(){return{done:!!o++}},return:function(){i=!0}};a[r]=function(){return this},Array.from(a,(function(){throw 2}))}catch(e){}e.exports=function(e,t){if(!t&&!i)return!1;var n=!1;try{var o={};o[r]=function(){return{next:function(){return{done:n=!0}}}},e(o)}catch(e){}return n}},80222:function(e,t,n){var r=n(32108),i=r({}.toString),o=r("".slice);e.exports=function(e){return o(i(e),8,-1)}},50176:function(e,t,n){var r=n(60639),i=n(16615),o=n(80222),a=n(77431)("toStringTag"),s=Object,u="Arguments"==o(function(){return arguments}());e.exports=r?o:function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=s(e),a))?n:u?o(t):"Object"==(r=o(t))&&i(t.callee)?"Arguments":r}},37571:function(e,t,n){"use strict";var r=n(1912),i=n(93344),o=n(86148),a=n(31413),s=n(48056),u=n(4553),c=[].push;e.exports=function(e){var t,n,l,f,d=arguments.length,p=d>1?arguments[1]:void 0;return a(this),(t=void 0!==p)&&o(p),s(e)?new this:(n=[],t?(l=0,f=r(p,d>2?arguments[2]:void 0),u(e,(function(e){i(c,n,f(e,l++))}))):u(e,c,{that:n}),new this(n))}},98836:function(e,t,n){"use strict";var r=n(76253);e.exports=function(){return new this(r(arguments))}},30870:function(e,t,n){"use strict";var r=n(26779).f,i=n(58743),o=n(92671),a=n(1912),s=n(77423),u=n(48056),c=n(4553),l=n(7112),f=n(78462),d=n(971),p=n(92290),h=n(54581).fastKey,g=n(90293),m=g.set,y=g.getterFor;e.exports={getConstructor:function(e,t,n,l){var f=e((function(e,r){s(e,d),m(e,{type:t,index:i(null),first:void 0,last:void 0,size:0}),p||(e.size=0),u(r)||c(r,e[l],{that:e,AS_ENTRIES:n})})),d=f.prototype,g=y(t),v=function(e,t,n){var r,i,o=g(e),a=b(e,t);return a?a.value=n:(o.last=a={index:i=h(t,!0),key:t,value:n,previous:r=o.last,next:void 0,removed:!1},o.first||(o.first=a),r&&(r.next=a),p?o.size++:e.size++,"F"!==i&&(o.index[i]=a)),e},b=function(e,t){var n,r=g(e),i=h(t);if("F"!==i)return r.index[i];for(n=r.first;n;n=n.next)if(n.key==t)return n};return o(d,{clear:function(){for(var e=g(this),t=e.index,n=e.first;n;)n.removed=!0,n.previous&&(n.previous=n.previous.next=void 0),delete t[n.index],n=n.next;e.first=e.last=void 0,p?e.size=0:this.size=0},delete:function(e){var t=this,n=g(t),r=b(t,e);if(r){var i=r.next,o=r.previous;delete n.index[r.index],r.removed=!0,o&&(o.next=i),i&&(i.previous=o),n.first==r&&(n.first=i),n.last==r&&(n.last=o),p?n.size--:t.size--}return!!r},forEach:function(e){for(var t,n=g(this),r=a(e,arguments.length>1?arguments[1]:void 0);t=t?t.next:n.first;)for(r(t.value,t.key,this);t&&t.removed;)t=t.previous},has:function(e){return!!b(this,e)}}),o(d,n?{get:function(e){var t=b(this,e);return t&&t.value},set:function(e,t){return v(this,0===e?0:e,t)}}:{add:function(e){return v(this,e=0===e?0:e,e)}}),p&&r(d,"size",{get:function(){return g(this).size}}),f},setStrong:function(e,t,n){var r=t+" Iterator",i=y(t),o=y(r);l(e,t,(function(e,t){m(this,{type:r,target:e,state:i(e),kind:t,last:void 0})}),(function(){for(var e=o(this),t=e.kind,n=e.last;n&&n.removed;)n=n.previous;return e.target&&(e.last=n=n?n.next:e.state.first)?f("keys"==t?n.key:"values"==t?n.value:[n.key,n.value],!1):(e.target=void 0,f(void 0,!0))}),n?"entries":"values",!n,!0),d(t)}}},39017:function(e,t,n){"use strict";var r=n(32108),i=n(92671),o=n(54581).getWeakData,a=n(77423),s=n(64950),u=n(48056),c=n(66106),l=n(4553),f=n(2912),d=n(79728),p=n(90293),h=p.set,g=p.getterFor,m=f.find,y=f.findIndex,v=r([].splice),b=0,_=function(e){return e.frozen||(e.frozen=new w)},w=function(){this.entries=[]},T=function(e,t){return m(e.entries,(function(e){return e[0]===t}))};w.prototype={get:function(e){var t=T(this,e);if(t)return t[1]},has:function(e){return!!T(this,e)},set:function(e,t){var n=T(this,e);n?n[1]=t:this.entries.push([e,t])},delete:function(e){var t=y(this.entries,(function(t){return t[0]===e}));return~t&&v(this.entries,t,1),!!~t}},e.exports={getConstructor:function(e,t,n,r){var f=e((function(e,i){a(e,p),h(e,{type:t,id:b++,frozen:void 0}),u(i)||l(i,e[r],{that:e,AS_ENTRIES:n})})),p=f.prototype,m=g(t),y=function(e,t,n){var r=m(e),i=o(s(t),!0);return!0===i?_(r).set(t,n):i[r.id]=n,e};return i(p,{delete:function(e){var t=m(this);if(!c(e))return!1;var n=o(e);return!0===n?_(t).delete(e):n&&d(n,t.id)&&delete n[t.id]},has:function(e){var t=m(this);if(!c(e))return!1;var n=o(e);return!0===n?_(t).has(e):n&&d(n,t.id)}}),i(p,n?{get:function(e){var t=m(this);if(c(e)){var n=o(e);return!0===n?_(t).get(e):n?n[t.id]:void 0}},set:function(e,t){return y(this,e,t)}}:{add:function(e){return y(this,e,!0)}}),f}}},27166:function(e,t,n){"use strict";var r=n(65609),i=n(82202),o=n(54581),a=n(13315),s=n(93446),u=n(4553),c=n(77423),l=n(16615),f=n(66106),d=n(34026),p=n(26779).f,h=n(2912).forEach,g=n(92290),m=n(90293),y=m.set,v=m.getterFor;e.exports=function(e,t,n){var m,b=-1!==e.indexOf("Map"),_=-1!==e.indexOf("Weak"),w=b?"set":"add",T=i[e],x=T&&T.prototype,S={};if(g&&l(T)&&(_||x.forEach&&!a((function(){(new T).entries().next()})))){var k=(m=t((function(t,n){y(c(t,k),{type:e,collection:new T}),null!=n&&u(n,t[w],{that:t,AS_ENTRIES:b})}))).prototype,E=v(e);h(["add","clear","delete","forEach","get","has","set","keys","values","entries"],(function(e){var t="add"==e||"set"==e;!(e in x)||_&&"clear"==e||s(k,e,(function(n,r){var i=E(this).collection;if(!t&&_&&!f(n))return"get"==e&&void 0;var o=i[e](0===n?0:n,r);return t?this:o}))})),_||p(k,"size",{configurable:!0,get:function(){return E(this).collection.size}})}else m=n.getConstructor(t,e,b,w),o.enable();return d(m,e,!1,!0),S[e]=m,r({global:!0,forced:!0},S),_||n.setStrong(m,e,b),m}},80359:function(e,t,n){var r=n(79728),i=n(1271),o=n(40406),a=n(26779);e.exports=function(e,t,n){for(var s=i(t),u=a.f,c=o.f,l=0;l<s.length;l++){var f=s[l];r(e,f)||n&&r(n,f)||u(e,f,c(t,f))}}},45023:function(e,t,n){var r=n(77431)("match");e.exports=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[r]=!1,"/./"[e](t)}catch(e){}}return!1}},49723:function(e,t,n){var r=n(13315);e.exports=!r((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},78462:function(e){e.exports=function(e,t){return{value:e,done:t}}},93446:function(e,t,n){var r=n(92290),i=n(26779),o=n(42630);e.exports=r?function(e,t,n){return i.f(e,t,o(1,n))}:function(e,t,n){return e[t]=n,e}},42630:function(e){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},79869:function(e,t,n){"use strict";var r=n(70738),i=n(26779),o=n(42630);e.exports=function(e,t,n){var a=r(t);a in e?i.f(e,a,o(0,n)):e[a]=n}},80674:function(e,t,n){var r=n(26779);e.exports=function(e,t,n){return r.f(e,t,n)}},46037:function(e,t,n){var r=n(93446);e.exports=function(e,t,n,i){return i&&i.enumerable?e[t]=n:r(e,t,n),e}},92671:function(e,t,n){var r=n(46037);e.exports=function(e,t,n){for(var i in t)n&&n.unsafe&&e[i]?e[i]=t[i]:r(e,i,t[i],n);return e}},13143:function(e,t,n){var r=n(82202),i=Object.defineProperty;e.exports=function(e,t){try{i(r,e,{value:t,configurable:!0,writable:!0})}catch(n){r[e]=t}return t}},74114:function(e,t,n){"use strict";var r=n(37254),i=TypeError;e.exports=function(e,t){if(!delete e[t])throw i("Cannot delete property "+r(t)+" of "+r(e))}},92290:function(e,t,n){var r=n(13315);e.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},794:function(e){var t="object"==typeof document&&document.all,n=void 0===t&&void 0!==t;e.exports={all:t,IS_HTMLDDA:n}},13696:function(e,t,n){var r=n(82202),i=n(66106),o=r.document,a=i(o)&&i(o.createElement);e.exports=function(e){return a?o.createElement(e):{}}},58981:function(e){var t=TypeError;e.exports=function(e){if(e>9007199254740991)throw t("Maximum allowed index exceeded");return e}},80196:function(e){e.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},38823:function(e,t,n){var r=n(26023).match(/firefox\/(\d+)/i);e.exports=!!r&&+r[1]},60495:function(e,t,n){var r=n(30880),i=n(61353);e.exports=!r&&!i&&"object"==typeof window&&"object"==typeof document},30880:function(e){e.exports="object"==typeof Deno&&Deno&&"object"==typeof Deno.version},51918:function(e,t,n){var r=n(26023);e.exports=/MSIE|Trident/.test(r)},85697:function(e,t,n){var r=n(26023),i=n(82202);e.exports=/ipad|iphone|ipod/i.test(r)&&void 0!==i.Pebble},87812:function(e,t,n){var r=n(26023);e.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(r)},61353:function(e,t,n){var r=n(80222),i=n(82202);e.exports="process"==r(i.process)},51881:function(e,t,n){var r=n(26023);e.exports=/web0s(?!.*chrome)/i.test(r)},26023:function(e,t,n){var r=n(68520);e.exports=r("navigator","userAgent")||""},67544:function(e,t,n){var r,i,o=n(82202),a=n(26023),s=o.process,u=o.Deno,c=s&&s.versions||u&&u.version,l=c&&c.v8;l&&(i=(r=l.split("."))[0]>0&&r[0]<4?1:+(r[0]+r[1])),!i&&a&&(!(r=a.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=a.match(/Chrome\/(\d+)/))&&(i=+r[1]),e.exports=i},92323:function(e,t,n){var r=n(26023).match(/AppleWebKit\/(\d+)\./);e.exports=!!r&&+r[1]},80003:function(e,t,n){var r=n(5058);e.exports=function(e){return r[e+"Prototype"]}},51816:function(e){e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},8604:function(e,t,n){var r=n(32108),i=Error,o=r("".replace),a=String(i("zxcasd").stack),s=/\n\s*at [^:]*:[^\n]*/,u=s.test(a);e.exports=function(e,t){if(u&&"string"==typeof e&&!i.prepareStackTrace)for(;t--;)e=o(e,s,"");return e}},44774:function(e,t,n){var r=n(13315),i=n(42630);e.exports=!r((function(){var e=Error("a");return!("stack"in e)||(Object.defineProperty(e,"stack",i(1,7)),7!==e.stack)}))},65609:function(e,t,n){"use strict";var r=n(82202),i=n(26477),o=n(40352),a=n(16615),s=n(40406).f,u=n(30646),c=n(5058),l=n(1912),f=n(93446),d=n(79728),p=function(e){var t=function(n,r,o){if(this instanceof t){switch(arguments.length){case 0:return new e;case 1:return new e(n);case 2:return new e(n,r)}return new e(n,r,o)}return i(e,this,arguments)};return t.prototype=e.prototype,t};e.exports=function(e,t){var n,i,h,g,m,y,v,b,_,w=e.target,T=e.global,x=e.stat,S=e.proto,k=T?r:x?r[w]:(r[w]||{}).prototype,E=T?c:c[w]||f(c,w,{})[w],O=E.prototype;for(g in t)i=!(n=u(T?g:w+(x?".":"#")+g,e.forced))&&k&&d(k,g),y=E[g],i&&(v=e.dontCallGetSet?(_=s(k,g))&&_.value:k[g]),m=i&&v?v:t[g],i&&typeof y==typeof m||(b=e.bind&&i?l(m,r):e.wrap&&i?p(m):S&&a(m)?o(m):m,(e.sham||m&&m.sham||y&&y.sham)&&f(b,"sham",!0),f(E,g,b),S&&(d(c,h=w+"Prototype")||f(c,h,{}),f(c[h],g,m),e.real&&O&&(n||!O[g])&&f(O,g,m)))}},13315:function(e){e.exports=function(e){try{return!!e()}catch(e){return!0}}},96959:function(e,t,n){var r=n(13315);e.exports=!r((function(){return Object.isExtensible(Object.preventExtensions({}))}))},26477:function(e,t,n){var r=n(38482),i=Function.prototype,o=i.apply,a=i.call;e.exports="object"==typeof Reflect&&Reflect.apply||(r?a.bind(o):function(){return a.apply(o,arguments)})},1912:function(e,t,n){var r=n(40352),i=n(86148),o=n(38482),a=r(r.bind);e.exports=function(e,t){return i(e),void 0===t?e:o?a(e,t):function(){return e.apply(t,arguments)}}},38482:function(e,t,n){var r=n(13315);e.exports=!r((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))},74908:function(e,t,n){"use strict";var r=n(32108),i=n(86148),o=n(66106),a=n(79728),s=n(76253),u=n(38482),c=Function,l=r([].concat),f=r([].join),d={},p=function(e,t,n){if(!a(d,t)){for(var r=[],i=0;i<t;i++)r[i]="a["+i+"]";d[t]=c("C,a","return new C("+f(r,",")+")")}return d[t](e,n)};e.exports=u?c.bind:function(e){var t=i(this),n=t.prototype,r=s(arguments,1),a=function(){var n=l(r,s(arguments));return this instanceof a?p(t,n.length,n):t.apply(e,n)};return o(n)&&(a.prototype=n),a}},93344:function(e,t,n){var r=n(38482),i=Function.prototype.call;e.exports=r?i.bind(i):function(){return i.apply(i,arguments)}},40637:function(e,t,n){var r=n(92290),i=n(79728),o=Function.prototype,a=r&&Object.getOwnPropertyDescriptor,s=i(o,"name"),u=s&&"something"===function(){}.name,c=s&&(!r||r&&a(o,"name").configurable);e.exports={EXISTS:s,PROPER:u,CONFIGURABLE:c}},40352:function(e,t,n){var r=n(80222),i=n(32108);e.exports=function(e){if("Function"===r(e))return i(e)}},32108:function(e,t,n){var r=n(38482),i=Function.prototype,o=i.call,a=r&&i.bind.bind(o,o);e.exports=r?a:function(e){return function(){return o.apply(e,arguments)}}},68520:function(e,t,n){var r=n(5058),i=n(82202),o=n(16615),a=function(e){return o(e)?e:void 0};e.exports=function(e,t){return arguments.length<2?a(r[e])||a(i[e]):r[e]&&r[e][t]||i[e]&&i[e][t]}},4187:function(e,t,n){var r=n(50176),i=n(72173),o=n(48056),a=n(87551),s=n(77431)("iterator");e.exports=function(e){if(!o(e))return i(e,s)||i(e,"@@iterator")||a[r(e)]}},27390:function(e,t,n){var r=n(93344),i=n(86148),o=n(64950),a=n(37254),s=n(4187),u=TypeError;e.exports=function(e,t){var n=arguments.length<2?s(e):t;if(i(n))return o(r(n,e));throw u(a(e)+" is not iterable")}},72173:function(e,t,n){var r=n(86148),i=n(48056);e.exports=function(e,t){var n=e[t];return i(n)?void 0:r(n)}},47029:function(e,t,n){var r=n(86148),i=n(64950),o=n(93344),a=n(36225),s=TypeError,u=function(e,t,n,r){this.set=e,this.size=t,this.has=n,this.keys=r};u.prototype={getIterator:function(){return i(o(this.keys,this.set))},includes:function(e){return o(this.has,this.set,e)}},e.exports=function(e){i(e);var t=+e.size;if(t!=t)throw s("Invalid size");return new u(e,a(t),r(e.has),r(e.keys))}},82202:function(e,t,n){var r=function(e){return e&&e.Math==Math&&e};e.exports=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof n.g&&n.g)||function(){return this}()||Function("return this")()},79728:function(e,t,n){var r=n(32108),i=n(66504),o=r({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,t){return o(i(e),t)}},3641:function(e){e.exports={}},22189:function(e,t,n){var r=n(82202);e.exports=function(e,t){var n=r.console;n&&n.error&&(1==arguments.length?n.error(e):n.error(e,t))}},48238:function(e,t,n){var r=n(68520);e.exports=r("document","documentElement")},61916:function(e,t,n){var r=n(92290),i=n(13315),o=n(13696);e.exports=!r&&!i((function(){return 7!=Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a}))},66864:function(e,t,n){var r=n(32108),i=n(13315),o=n(80222),a=Object,s=r("".split);e.exports=i((function(){return!a("z").propertyIsEnumerable(0)}))?function(e){return"String"==o(e)?s(e,""):a(e)}:a},78693:function(e,t,n){var r=n(32108),i=n(16615),o=n(24156),a=r(Function.toString);i(o.inspectSource)||(o.inspectSource=function(e){return a(e)}),e.exports=o.inspectSource},90249:function(e,t,n){var r=n(66106),i=n(93446);e.exports=function(e,t){r(t)&&"cause"in t&&i(e,"cause",t.cause)}},54581:function(e,t,n){var r=n(65609),i=n(32108),o=n(3641),a=n(66106),s=n(79728),u=n(26779).f,c=n(46289),l=n(32751),f=n(57380),d=n(60853),p=n(96959),h=!1,g=d("meta"),m=0,y=function(e){u(e,g,{value:{objectID:"O"+m++,weakData:{}}})},v=e.exports={enable:function(){v.enable=function(){},h=!0;var e=c.f,t=i([].splice),n={};n[g]=1,e(n).length&&(c.f=function(n){for(var r=e(n),i=0,o=r.length;i<o;i++)if(r[i]===g){t(r,i,1);break}return r},r({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:l.f}))},fastKey:function(e,t){if(!a(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!s(e,g)){if(!f(e))return"F";if(!t)return"E";y(e)}return e[g].objectID},getWeakData:function(e,t){if(!s(e,g)){if(!f(e))return!0;if(!t)return!1;y(e)}return e[g].weakData},onFreeze:function(e){return p&&h&&f(e)&&!s(e,g)&&y(e),e}};o[g]=!0},90293:function(e,t,n){var r,i,o,a=n(27103),s=n(82202),u=n(66106),c=n(93446),l=n(79728),f=n(24156),d=n(22434),p=n(3641),h="Object already initialized",g=s.TypeError,m=s.WeakMap;if(a||f.state){var y=f.state||(f.state=new m);y.get=y.get,y.has=y.has,y.set=y.set,r=function(e,t){if(y.has(e))throw g(h);return t.facade=e,y.set(e,t),t},i=function(e){return y.get(e)||{}},o=function(e){return y.has(e)}}else{var v=d("state");p[v]=!0,r=function(e,t){if(l(e,v))throw g(h);return t.facade=e,c(e,v,t),t},i=function(e){return l(e,v)?e[v]:{}},o=function(e){return l(e,v)}}e.exports={set:r,get:i,has:o,enforce:function(e){return o(e)?i(e):r(e,{})},getterFor:function(e){return function(t){var n;if(!u(t)||(n=i(t)).type!==e)throw g("Incompatible receiver, "+e+" required");return n}}}},57517:function(e,t,n){var r=n(77431),i=n(87551),o=r("iterator"),a=Array.prototype;e.exports=function(e){return void 0!==e&&(i.Array===e||a[o]===e)}},55345:function(e,t,n){var r=n(80222);e.exports=Array.isArray||function(e){return"Array"==r(e)}},16615:function(e,t,n){var r=n(794),i=r.all;e.exports=r.IS_HTMLDDA?function(e){return"function"==typeof e||e===i}:function(e){return"function"==typeof e}},68630:function(e,t,n){var r=n(32108),i=n(13315),o=n(16615),a=n(50176),s=n(68520),u=n(78693),c=function(){},l=[],f=s("Reflect","construct"),d=/^\s*(?:class|function)\b/,p=r(d.exec),h=!d.exec(c),g=function(e){if(!o(e))return!1;try{return f(c,l,e),!0}catch(e){return!1}},m=function(e){if(!o(e))return!1;switch(a(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return h||!!p(d,u(e))}catch(e){return!0}};m.sham=!0,e.exports=!f||i((function(){var e;return g(g.call)||!g(Object)||!g((function(){e=!0}))||e}))?m:g},24753:function(e,t,n){var r=n(79728);e.exports=function(e){return void 0!==e&&(r(e,"value")||r(e,"writable"))}},30646:function(e,t,n){var r=n(13315),i=n(16615),o=/#|\.prototype\./,a=function(e,t){var n=u[s(e)];return n==l||n!=c&&(i(t)?r(t):!!t)},s=a.normalize=function(e){return String(e).replace(o,".").toLowerCase()},u=a.data={},c=a.NATIVE="N",l=a.POLYFILL="P";e.exports=a},70832:function(e,t,n){var r=n(66106),i=Math.floor;e.exports=Number.isInteger||function(e){return!r(e)&&isFinite(e)&&i(e)===e}},15545:function(e,t,n){var r=n(50176),i=n(79728),o=n(48056),a=n(77431),s=n(87551),u=a("iterator"),c=Object;e.exports=function(e){if(o(e))return!1;var t=c(e);return void 0!==t[u]||"@@iterator"in t||i(s,r(t))}},48056:function(e){e.exports=function(e){return null==e}},66106:function(e,t,n){var r=n(16615),i=n(794),o=i.all;e.exports=i.IS_HTMLDDA?function(e){return"object"==typeof e?null!==e:r(e)||e===o}:function(e){return"object"==typeof e?null!==e:r(e)}},54956:function(e){e.exports=!0},42149:function(e,t,n){var r=n(66106),i=n(80222),o=n(77431)("match");e.exports=function(e){var t;return r(e)&&(void 0!==(t=e[o])?!!t:"RegExp"==i(e))}},23506:function(e,t,n){var r=n(68520),i=n(16615),o=n(41535),a=n(82754),s=Object;e.exports=a?function(e){return"symbol"==typeof e}:function(e){var t=r("Symbol");return i(t)&&o(t.prototype,s(e))}},71967:function(e,t,n){var r=n(93344);e.exports=function(e,t,n){for(var i,o,a=n||e.next;!(i=r(a,e)).done;)if(void 0!==(o=t(i.value)))return o}},4553:function(e,t,n){var r=n(1912),i=n(93344),o=n(64950),a=n(37254),s=n(57517),u=n(33268),c=n(41535),l=n(27390),f=n(4187),d=n(6861),p=TypeError,h=function(e,t){this.stopped=e,this.result=t},g=h.prototype;e.exports=function(e,t,n){var m,y,v,b,_,w,T,x=n&&n.that,S=!(!n||!n.AS_ENTRIES),k=!(!n||!n.IS_RECORD),E=!(!n||!n.IS_ITERATOR),O=!(!n||!n.INTERRUPTED),C=r(t,x),L=function(e){return m&&d(m,"normal",e),new h(!0,e)},A=function(e){return S?(o(e),O?C(e[0],e[1],L):C(e[0],e[1])):O?C(e,L):C(e)};if(k)m=e.iterator;else if(E)m=e;else{if(!(y=f(e)))throw p(a(e)+" is not iterable");if(s(y)){for(v=0,b=u(e);b>v;v++)if((_=A(e[v]))&&c(g,_))return _;return new h(!1)}m=l(e,y)}for(w=k?e.next:m.next;!(T=i(w,m)).done;){try{_=A(T.value)}catch(e){d(m,"throw",e)}if("object"==typeof _&&_&&c(g,_))return _}return new h(!1)}},6861:function(e,t,n){var r=n(93344),i=n(64950),o=n(72173);e.exports=function(e,t,n){var a,s;i(e);try{if(!(a=o(e,"return"))){if("throw"===t)throw n;return n}a=r(a,e)}catch(e){s=!0,a=e}if("throw"===t)throw n;if(s)throw a;return i(a),n}},8287:function(e,t,n){"use strict";var r=n(59718).IteratorPrototype,i=n(58743),o=n(42630),a=n(34026),s=n(87551),u=function(){return this};e.exports=function(e,t,n,c){var l=t+" Iterator";return e.prototype=i(r,{next:o(+!c,n)}),a(e,l,!1,!0),s[l]=u,e}},7112:function(e,t,n){"use strict";var r=n(65609),i=n(93344),o=n(54956),a=n(40637),s=n(16615),u=n(8287),c=n(29569),l=n(11244),f=n(34026),d=n(93446),p=n(46037),h=n(77431),g=n(87551),m=n(59718),y=a.PROPER,v=a.CONFIGURABLE,b=m.IteratorPrototype,_=m.BUGGY_SAFARI_ITERATORS,w=h("iterator"),T="keys",x="values",S="entries",k=function(){return this};e.exports=function(e,t,n,a,h,m,E){u(n,t,a);var O,C,L,A=function(e){if(e===h&&j)return j;if(!_&&e in M)return M[e];switch(e){case T:case x:case S:return function(){return new n(this,e)}}return function(){return new n(this)}},I=t+" Iterator",P=!1,M=e.prototype,R=M[w]||M["@@iterator"]||h&&M[h],j=!_&&R||A(h),D="Array"==t&&M.entries||R;if(D&&(O=c(D.call(new e)))!==Object.prototype&&O.next&&(o||c(O)===b||(l?l(O,b):s(O[w])||p(O,w,k)),f(O,I,!0,!0),o&&(g[I]=k)),y&&h==x&&R&&R.name!==x&&(!o&&v?d(M,"name",x):(P=!0,j=function(){return i(R,this)})),h)if(C={values:A(x),keys:m?j:A(T),entries:A(S)},E)for(L in C)(_||P||!(L in M))&&p(M,L,C[L]);else r({target:t,proto:!0,forced:_||P},C);return o&&!E||M[w]===j||p(M,w,j,{name:h}),g[t]=j,C}},59718:function(e,t,n){"use strict";var r,i,o,a=n(13315),s=n(16615),u=n(66106),c=n(58743),l=n(29569),f=n(46037),d=n(77431),p=n(54956),h=d("iterator"),g=!1;[].keys&&("next"in(o=[].keys())?(i=l(l(o)))!==Object.prototype&&(r=i):g=!0),!u(r)||a((function(){var e={};return r[h].call(e)!==e}))?r={}:p&&(r=c(r)),s(r[h])||f(r,h,(function(){return this})),e.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:g}},87551:function(e){e.exports={}},33268:function(e,t,n){var r=n(39875);e.exports=function(e){return r(e.length)}},74833:function(e,t,n){var r=n(68520),i=n(54341),o=r("Map");e.exports={Map:o,set:i("set",2),get:i("get",1),has:i("has",1),remove:i("delete",1),proto:o.prototype}},36686:function(e,t,n){var r=n(71967);e.exports=function(e,t,n){return n?r(e.entries(),(function(e){return t(e[1],e[0])})):e.forEach(t)}},92731:function(e,t,n){"use strict";var r=n(93344),i=n(86148),o=n(16615),a=n(64950),s=TypeError;e.exports=function(e,t){var n,u=a(this),c=i(u.get),l=i(u.has),f=i(u.set),d=arguments.length>2?arguments[2]:void 0;if(!o(t)&&!o(d))throw s("At least one callback required");return r(l,u,e)?(n=r(c,u,e),o(t)&&(n=t(n),r(f,u,e,n))):o(d)&&(n=d(),r(f,u,e,n)),n}},45475:function(e){var t=Math.log,n=Math.LOG10E;e.exports=Math.log10||function(e){return t(e)*n}},79014:function(e){e.exports=Math.sign||function(e){var t=+e;return 0==t||t!=t?t:t<0?-1:1}},59798:function(e){var t=Math.ceil,n=Math.floor;e.exports=Math.trunc||function(e){var r=+e;return(r>0?n:t)(r)}},75404:function(e,t,n){var r,i,o,a,s,u,c,l,f=n(82202),d=n(1912),p=n(40406).f,h=n(91085).set,g=n(87812),m=n(85697),y=n(51881),v=n(61353),b=f.MutationObserver||f.WebKitMutationObserver,_=f.document,w=f.process,T=f.Promise,x=p(f,"queueMicrotask"),S=x&&x.value;S||(r=function(){var e,t;for(v&&(e=w.domain)&&e.exit();i;){t=i.fn,i=i.next;try{t()}catch(e){throw i?a():o=void 0,e}}o=void 0,e&&e.enter()},g||v||y||!b||!_?!m&&T&&T.resolve?((c=T.resolve(void 0)).constructor=T,l=d(c.then,c),a=function(){l(r)}):v?a=function(){w.nextTick(r)}:(h=d(h,f),a=function(){h(r)}):(s=!0,u=_.createTextNode(""),new b(r).observe(u,{characterData:!0}),a=function(){u.data=s=!s})),e.exports=S||function(e){var t={fn:e,next:void 0};o&&(o.next=t),i||(i=t,a()),o=t}},12290:function(e,t,n){"use strict";var r=n(86148),i=TypeError,o=function(e){var t,n;this.promise=new e((function(e,r){if(void 0!==t||void 0!==n)throw i("Bad Promise constructor");t=e,n=r})),this.resolve=r(t),this.reject=r(n)};e.exports.f=function(e){return new o(e)}},46914:function(e,t,n){var r=n(91841);e.exports=function(e,t){return void 0===e?arguments.length<2?"":t:r(e)}},43708:function(e,t,n){var r=n(42149),i=TypeError;e.exports=function(e){if(r(e))throw i("The method doesn't accept regular expressions");return e}},13110:function(e,t,n){"use strict";var r=n(92290),i=n(32108),o=n(93344),a=n(13315),s=n(12569),u=n(74749),c=n(37222),l=n(66504),f=n(66864),d=Object.assign,p=Object.defineProperty,h=i([].concat);e.exports=!d||a((function(){if(r&&1!==d({b:1},d(p({},"a",{enumerable:!0,get:function(){p(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},n=Symbol(),i="abcdefghijklmnopqrst";return e[n]=7,i.split("").forEach((function(e){t[e]=e})),7!=d({},e)[n]||s(d({},t)).join("")!=i}))?function(e,t){for(var n=l(e),i=arguments.length,a=1,d=u.f,p=c.f;i>a;)for(var g,m=f(arguments[a++]),y=d?h(s(m),d(m)):s(m),v=y.length,b=0;v>b;)g=y[b++],r&&!o(p,m,g)||(n[g]=m[g]);return n}:d},58743:function(e,t,n){var r,i=n(64950),o=n(79297),a=n(51816),s=n(3641),u=n(48238),c=n(13696),l=n(22434),f=l("IE_PROTO"),d=function(){},p=function(e){return"<script>"+e+"</"+"script>"},h=function(e){e.write(p("")),e.close();var t=e.parentWindow.Object;return e=null,t},g=function(){try{r=new ActiveXObject("htmlfile")}catch(e){}var e,t;g="undefined"!=typeof document?document.domain&&r?h(r):((t=c("iframe")).style.display="none",u.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(p("document.F=Object")),e.close(),e.F):h(r);for(var n=a.length;n--;)delete g.prototype[a[n]];return g()};s[f]=!0,e.exports=Object.create||function(e,t){var n;return null!==e?(d.prototype=i(e),n=new d,d.prototype=null,n[f]=e):n=g(),void 0===t?n:o.f(n,t)}},79297:function(e,t,n){var r=n(92290),i=n(85262),o=n(26779),a=n(64950),s=n(51015),u=n(12569);t.f=r&&!i?Object.defineProperties:function(e,t){a(e);for(var n,r=s(t),i=u(t),c=i.length,l=0;c>l;)o.f(e,n=i[l++],r[n]);return e}},26779:function(e,t,n){var r=n(92290),i=n(61916),o=n(85262),a=n(64950),s=n(70738),u=TypeError,c=Object.defineProperty,l=Object.getOwnPropertyDescriptor,f="enumerable",d="configurable",p="writable";t.f=r?o?function(e,t,n){if(a(e),t=s(t),a(n),"function"==typeof e&&"prototype"===t&&"value"in n&&p in n&&!n.writable){var r=l(e,t);r&&r.writable&&(e[t]=n.value,n={configurable:d in n?n.configurable:r.configurable,enumerable:f in n?n.enumerable:r.enumerable,writable:!1})}return c(e,t,n)}:c:function(e,t,n){if(a(e),t=s(t),a(n),i)try{return c(e,t,n)}catch(e){}if("get"in n||"set"in n)throw u("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},40406:function(e,t,n){var r=n(92290),i=n(93344),o=n(37222),a=n(42630),s=n(51015),u=n(70738),c=n(79728),l=n(61916),f=Object.getOwnPropertyDescriptor;t.f=r?f:function(e,t){if(e=s(e),t=u(t),l)try{return f(e,t)}catch(e){}if(c(e,t))return a(!i(o.f,e,t),e[t])}},32751:function(e,t,n){var r=n(80222),i=n(51015),o=n(46289).f,a=n(21960),s="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(e){return s&&"Window"==r(e)?function(e){try{return o(e)}catch(e){return a(s)}}(e):o(i(e))}},46289:function(e,t,n){var r=n(33923),i=n(51816).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,i)}},74749:function(e,t){t.f=Object.getOwnPropertySymbols},29569:function(e,t,n){var r=n(79728),i=n(16615),o=n(66504),a=n(22434),s=n(49723),u=a("IE_PROTO"),c=Object,l=c.prototype;e.exports=s?c.getPrototypeOf:function(e){var t=o(e);if(r(t,u))return t[u];var n=t.constructor;return i(n)&&t instanceof n?n.prototype:t instanceof c?l:null}},57380:function(e,t,n){var r=n(13315),i=n(66106),o=n(80222),a=n(89724),s=Object.isExtensible,u=r((function(){s(1)}));e.exports=u||a?function(e){return!!i(e)&&((!a||"ArrayBuffer"!=o(e))&&(!s||s(e)))}:s},41535:function(e,t,n){var r=n(32108);e.exports=r({}.isPrototypeOf)},33923:function(e,t,n){var r=n(32108),i=n(79728),o=n(51015),a=n(89830).indexOf,s=n(3641),u=r([].push);e.exports=function(e,t){var n,r=o(e),c=0,l=[];for(n in r)!i(s,n)&&i(r,n)&&u(l,n);for(;t.length>c;)i(r,n=t[c++])&&(~a(l,n)||u(l,n));return l}},12569:function(e,t,n){var r=n(33923),i=n(51816);e.exports=Object.keys||function(e){return r(e,i)}},37222:function(e,t){"use strict";var n={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,i=r&&!n.call({1:2},1);t.f=i?function(e){var t=r(this,e);return!!t&&t.enumerable}:n},11244:function(e,t,n){var r=n(32108),i=n(64950),o=n(65838);e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=r(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(n,[]),t=n instanceof Array}catch(e){}return function(n,r){return i(n),o(r),t?e(n,r):n.__proto__=r,n}}():void 0)},11276:function(e,t,n){var r=n(92290),i=n(32108),o=n(12569),a=n(51015),s=i(n(37222).f),u=i([].push),c=function(e){return function(t){for(var n,i=a(t),c=o(i),l=c.length,f=0,d=[];l>f;)n=c[f++],r&&!s(i,n)||u(d,e?[n,i[n]]:i[n]);return d}};e.exports={entries:c(!0),values:c(!1)}},6350:function(e,t,n){"use strict";var r=n(60639),i=n(50176);e.exports=r?{}.toString:function(){return"[object "+i(this)+"]"}},3185:function(e,t,n){var r=n(93344),i=n(16615),o=n(66106),a=TypeError;e.exports=function(e,t){var n,s;if("string"===t&&i(n=e.toString)&&!o(s=r(n,e)))return s;if(i(n=e.valueOf)&&!o(s=r(n,e)))return s;if("string"!==t&&i(n=e.toString)&&!o(s=r(n,e)))return s;throw a("Can't convert object to primitive value")}},1271:function(e,t,n){var r=n(68520),i=n(32108),o=n(46289),a=n(74749),s=n(64950),u=i([].concat);e.exports=r("Reflect","ownKeys")||function(e){var t=o.f(s(e)),n=a.f;return n?u(t,n(e)):t}},5058:function(e){e.exports={}},90830:function(e){e.exports=function(e){try{return{error:!1,value:e()}}catch(e){return{error:!0,value:e}}}},61061:function(e,t,n){var r=n(82202),i=n(63463),o=n(16615),a=n(30646),s=n(78693),u=n(77431),c=n(60495),l=n(30880),f=n(54956),d=n(67544),p=i&&i.prototype,h=u("species"),g=!1,m=o(r.PromiseRejectionEvent),y=a("Promise",(function(){var e=s(i),t=e!==String(i);if(!t&&66===d)return!0;if(f&&(!p.catch||!p.finally))return!0;if(!d||d<51||!/native code/.test(e)){var n=new i((function(e){e(1)})),r=function(e){e((function(){}),(function(){}))};if((n.constructor={})[h]=r,!(g=n.then((function(){}))instanceof r))return!0}return!t&&(c||l)&&!m}));e.exports={CONSTRUCTOR:y,REJECTION_EVENT:m,SUBCLASSING:g}},63463:function(e,t,n){var r=n(82202);e.exports=r.Promise},86538:function(e,t,n){var r=n(64950),i=n(66106),o=n(12290);e.exports=function(e,t){if(r(e),i(t)&&t.constructor===e)return t;var n=o.f(e);return(0,n.resolve)(t),n.promise}},48240:function(e,t,n){var r=n(63463),i=n(94337),o=n(61061).CONSTRUCTOR;e.exports=o||!i((function(e){r.all(e).then(void 0,(function(){}))}))},73129:function(e){var t=function(){this.head=null,this.tail=null};t.prototype={add:function(e){var t={item:e,next:null};this.head?this.tail.next=t:this.head=t,this.tail=t},get:function(){var e=this.head;if(e)return this.head=e.next,this.tail===e&&(this.tail=null),e.item}},e.exports=t},96413:function(e,t,n){var r=n(48056),i=TypeError;e.exports=function(e){if(r(e))throw i("Can't call method on "+e);return e}},99428:function(e){e.exports=function(e,t){return e===t||e!=e&&t!=t}},77959:function(e){e.exports=Object.is||function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}},14272:function(e,t,n){var r=n(97869),i=n(84828),o=r.Set,a=r.add;e.exports=function(e){var t=new o;return i(e,(function(e){a(t,e)})),t}},70848:function(e,t,n){"use strict";var r=n(20902),i=n(97869),o=n(14272),a=n(75787),s=n(47029),u=n(84828),c=n(71967),l=i.has,f=i.remove;e.exports=function(e){var t=r(this),n=s(e),i=o(t);return a(t)<=n.size?u(t,(function(e){n.includes(e)&&f(i,e)})):c(n.getIterator(),(function(e){l(t,e)&&f(i,e)})),i}},97869:function(e,t,n){var r=n(68520),i=n(54341),o=r("Set"),a=o.prototype;e.exports={Set:o,add:i("add",1),has:i("has",1),remove:i("delete",1),proto:a,$has:a.has,$keys:a.keys}},4749:function(e,t,n){"use strict";var r=n(20902),i=n(97869),o=n(75787),a=n(47029),s=n(84828),u=n(71967),c=i.Set,l=i.add,f=i.has,d=i.$has,p=i.$keys;e.exports=function(e){var t,n=r(this),i=a(e),h=new c;if(((t=i).has!==d||t.keys!==p)&&o(n)>i.size){if(u(i.getIterator(),(function(e){f(n,e)&&l(h,e)})),o(h)<2)return h;var g=h;h=new c,s(n,(function(e){f(g,e)&&l(h,e)}))}else s(n,(function(e){i.includes(e)&&l(h,e)}));return h}},9789:function(e,t,n){"use strict";var r=n(20902),i=n(97869).has,o=n(75787),a=n(47029),s=n(84828),u=n(71967);e.exports=function(e){var t=r(this),n=a(e);return!1!==(o(t)<=n.size?s(t,(function(e){if(n.includes(e))return!1}),!0):u(n.getIterator(),(function(e){if(i(t,e))return!1})))}},36067:function(e,t,n){"use strict";var r=n(20902),i=n(75787),o=n(84828),a=n(47029);e.exports=function(e){var t=r(this),n=a(e);return!(i(t)>n.size)&&!1!==o(t,(function(e){if(!n.includes(e))return!1}),!0)}},42850:function(e,t,n){"use strict";var r=n(20902),i=n(97869).has,o=n(75787),a=n(47029),s=n(71967);e.exports=function(e){var t=r(this),n=a(e);return!(o(t)<n.size)&&!1!==s(n.getIterator(),(function(e){if(!1===i(t,e))return!1}))}},84828:function(e,t,n){var r=n(71967);e.exports=function(e,t,n){return n?r(e.keys(),t):e.forEach(t)}},78513:function(e){e.exports=function(){return!1}},75787:function(e){e.exports=function(e){return e.size}},971:function(e,t,n){"use strict";var r=n(68520),i=n(26779),o=n(77431),a=n(92290),s=o("species");e.exports=function(e){var t=r(e),n=i.f;a&&t&&!t[s]&&n(t,s,{configurable:!0,get:function(){return this}})}},76766:function(e,t,n){"use strict";var r=n(20902),i=n(97869),o=n(14272),a=n(47029),s=n(71967),u=i.add,c=i.has,l=i.remove;e.exports=function(e){var t=r(this),n=a(e).getIterator(),i=o(t);return s(n,(function(e){c(t,e)?l(i,e):u(i,e)})),i}},34026:function(e,t,n){var r=n(60639),i=n(26779).f,o=n(93446),a=n(79728),s=n(6350),u=n(77431)("toStringTag");e.exports=function(e,t,n,c){if(e){var l=n?e:e.prototype;a(l,u)||i(l,u,{configurable:!0,value:t}),c&&!r&&o(l,"toString",s)}}},41172:function(e,t,n){"use strict";var r=n(20902),i=n(97869).add,o=n(14272),a=n(47029),s=n(71967);e.exports=function(e){var t=r(this),n=a(e).getIterator(),u=o(t);return s(n,(function(e){i(u,e)})),u}},22434:function(e,t,n){var r=n(51887),i=n(60853),o=r("keys");e.exports=function(e){return o[e]||(o[e]=i(e))}},24156:function(e,t,n){var r=n(82202),i=n(13143),o="__core-js_shared__",a=r[o]||i(o,{});e.exports=a},51887:function(e,t,n){var r=n(54956),i=n(24156);(e.exports=function(e,t){return i[e]||(i[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.27.1",mode:r?"pure":"global",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.27.1/LICENSE",source:"https://github.com/zloirock/core-js"})},34237:function(e,t,n){var r=n(64950),i=n(31413),o=n(48056),a=n(77431)("species");e.exports=function(e,t){var n,s=r(e).constructor;return void 0===s||o(n=r(s)[a])?t:i(n)}},32495:function(e,t,n){var r=n(32108),i=n(36225),o=n(91841),a=n(96413),s=r("".charAt),u=r("".charCodeAt),c=r("".slice),l=function(e){return function(t,n){var r,l,f=o(a(t)),d=i(n),p=f.length;return d<0||d>=p?e?"":void 0:(r=u(f,d))<55296||r>56319||d+1===p||(l=u(f,d+1))<56320||l>57343?e?s(f,d):r:e?c(f,d,d+2):l-56320+(r-55296<<10)+65536}};e.exports={codeAt:l(!1),charAt:l(!0)}},70799:function(e,t,n){var r=n(26023);e.exports=/Version\/10(?:\.\d+){1,2}(?: [\w./]+)?(?: Mobile\/\w+)? Safari\//.test(r)},13702:function(e,t,n){var r=n(32108),i=n(39875),o=n(91841),a=n(96756),s=n(96413),u=r(a),c=r("".slice),l=Math.ceil,f=function(e){return function(t,n,r){var a,f,d=o(s(t)),p=i(n),h=d.length,g=void 0===r?" ":o(r);return p<=h||""==g?d:((f=u(g,l((a=p-h)/g.length))).length>a&&(f=c(f,0,a)),e?d+f:f+d)}};e.exports={start:f(!1),end:f(!0)}},42068:function(e,t,n){"use strict";var r=n(32108),i=2147483647,o=/[^\0-\u007E]/,a=/[.\u3002\uFF0E\uFF61]/g,s="Overflow: input needs wider integers to process",u=RangeError,c=r(a.exec),l=Math.floor,f=String.fromCharCode,d=r("".charCodeAt),p=r([].join),h=r([].push),g=r("".replace),m=r("".split),y=r("".toLowerCase),v=function(e){return e+22+75*(e<26)},b=function(e,t,n){var r=0;for(e=n?l(e/700):e>>1,e+=l(e/t);e>455;)e=l(e/35),r+=36;return l(r+36*e/(e+38))},_=function(e){var t=[];e=function(e){for(var t=[],n=0,r=e.length;n<r;){var i=d(e,n++);if(i>=55296&&i<=56319&&n<r){var o=d(e,n++);56320==(64512&o)?h(t,((1023&i)<<10)+(1023&o)+65536):(h(t,i),n--)}else h(t,i)}return t}(e);var n,r,o=e.length,a=128,c=0,g=72;for(n=0;n<e.length;n++)(r=e[n])<128&&h(t,f(r));var m=t.length,y=m;for(m&&h(t,"-");y<o;){var _=i;for(n=0;n<e.length;n++)(r=e[n])>=a&&r<_&&(_=r);var w=y+1;if(_-a>l((i-c)/w))throw u(s);for(c+=(_-a)*w,a=_,n=0;n<e.length;n++){if((r=e[n])<a&&++c>i)throw u(s);if(r==a){for(var T=c,x=36;;){var S=x<=g?1:x>=g+26?26:x-g;if(T<S)break;var k=T-S,E=36-S;h(t,f(v(S+k%E))),T=l(k/E),x+=36}h(t,f(v(T))),g=b(c,w,y==m),c=0,y++}}c++,a++}return p(t,"")};e.exports=function(e){var t,n,r=[],i=m(g(y(e),a,"."),".");for(t=0;t<i.length;t++)n=i[t],h(r,c(o,n)?"xn--"+_(n):n);return p(r,".")}},96756:function(e,t,n){"use strict";var r=n(36225),i=n(91841),o=n(96413),a=RangeError;e.exports=function(e){var t=i(o(this)),n="",s=r(e);if(s<0||s==1/0)throw a("Wrong number of repetitions");for(;s>0;(s>>>=1)&&(t+=t))1&s&&(n+=t);return n}},8052:function(e,t,n){var r=n(40637).PROPER,i=n(13315),o=n(9692);e.exports=function(e){return i((function(){return!!o[e]()||"​…᠎"!=="​…᠎"[e]()||r&&o[e].name!==e}))}},14545:function(e,t,n){var r=n(32108),i=n(96413),o=n(91841),a=n(9692),s=r("".replace),u="["+a+"]",c=RegExp("^"+u+u+"*"),l=RegExp(u+u+"*$"),f=function(e){return function(t){var n=o(i(t));return 1&e&&(n=s(n,c,"")),2&e&&(n=s(n,l,"")),n}};e.exports={start:f(1),end:f(2),trim:f(3)}},9009:function(e,t,n){var r=n(67544),i=n(13315);e.exports=!!Object.getOwnPropertySymbols&&!i((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&r&&r<41}))},59423:function(e,t,n){var r=n(93344),i=n(68520),o=n(77431),a=n(46037);e.exports=function(){var e=i("Symbol"),t=e&&e.prototype,n=t&&t.valueOf,s=o("toPrimitive");t&&!t[s]&&a(t,s,(function(e){return r(n,this)}),{arity:1})}},62243:function(e,t,n){var r=n(9009);e.exports=r&&!!Symbol.for&&!!Symbol.keyFor},91085:function(e,t,n){var r,i,o,a,s=n(82202),u=n(26477),c=n(1912),l=n(16615),f=n(79728),d=n(13315),p=n(48238),h=n(76253),g=n(13696),m=n(88163),y=n(87812),v=n(61353),b=s.setImmediate,_=s.clearImmediate,w=s.process,T=s.Dispatch,x=s.Function,S=s.MessageChannel,k=s.String,E=0,O={},C="onreadystatechange";try{r=s.location}catch(e){}var L=function(e){if(f(O,e)){var t=O[e];delete O[e],t()}},A=function(e){return function(){L(e)}},I=function(e){L(e.data)},P=function(e){s.postMessage(k(e),r.protocol+"//"+r.host)};b&&_||(b=function(e){m(arguments.length,1);var t=l(e)?e:x(e),n=h(arguments,1);return O[++E]=function(){u(t,void 0,n)},i(E),E},_=function(e){delete O[e]},v?i=function(e){w.nextTick(A(e))}:T&&T.now?i=function(e){T.now(A(e))}:S&&!y?(a=(o=new S).port2,o.port1.onmessage=I,i=c(a.postMessage,a)):s.addEventListener&&l(s.postMessage)&&!s.importScripts&&r&&"file:"!==r.protocol&&!d(P)?(i=P,s.addEventListener("message",I,!1)):i=C in g("script")?function(e){p.appendChild(g("script")).onreadystatechange=function(){p.removeChild(this),L(e)}}:function(e){setTimeout(A(e),0)}),e.exports={set:b,clear:_}},4351:function(e,t,n){var r=n(36225),i=Math.max,o=Math.min;e.exports=function(e,t){var n=r(e);return n<0?i(n+t,0):o(n,t)}},51015:function(e,t,n){var r=n(66864),i=n(96413);e.exports=function(e){return r(i(e))}},36225:function(e,t,n){var r=n(59798);e.exports=function(e){var t=+e;return t!=t||0===t?0:r(t)}},39875:function(e,t,n){var r=n(36225),i=Math.min;e.exports=function(e){return e>0?i(r(e),9007199254740991):0}},66504:function(e,t,n){var r=n(96413),i=Object;e.exports=function(e){return i(r(e))}},20865:function(e,t,n){var r=n(93344),i=n(66106),o=n(23506),a=n(72173),s=n(3185),u=n(77431),c=TypeError,l=u("toPrimitive");e.exports=function(e,t){if(!i(e)||o(e))return e;var n,u=a(e,l);if(u){if(void 0===t&&(t="default"),n=r(u,e,t),!i(n)||o(n))return n;throw c("Can't convert object to primitive value")}return void 0===t&&(t="number"),s(e,t)}},70738:function(e,t,n){var r=n(20865),i=n(23506);e.exports=function(e){var t=r(e,"string");return i(t)?t:t+""}},65961:function(e,t,n){var r=n(68520),i=n(16615),o=n(15545),a=n(66106),s=r("Set");e.exports=function(e){return function(e){return a(e)&&"number"==typeof e.size&&i(e.has)&&i(e.keys)}(e)?e:o(e)?new s(e):void 0}},60639:function(e,t,n){var r={};r[n(77431)("toStringTag")]="z",e.exports="[object z]"===String(r)},91841:function(e,t,n){var r=n(50176),i=String;e.exports=function(e){if("Symbol"===r(e))throw TypeError("Cannot convert a Symbol value to a string");return i(e)}},37254:function(e){var t=String;e.exports=function(e){try{return t(e)}catch(e){return"Object"}}},60853:function(e,t,n){var r=n(32108),i=0,o=Math.random(),a=r(1..toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+a(++i+o,36)}},44478:function(e,t,n){var r=n(13315),i=n(77431),o=n(54956),a=i("iterator");e.exports=!r((function(){var e=new URL("b?a=1&b=2&c=3","http://a"),t=e.searchParams,n="";return e.pathname="c%20d",t.forEach((function(e,r){t.delete("b"),n+=r+e})),o&&!e.toJSON||!t.sort||"http://a/c%20d?a=1&c=3"!==e.href||"3"!==t.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!t[a]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("http://тест").host||"#%D0%B1"!==new URL("http://a#б").hash||"a1c3"!==n||"x"!==new URL("http://x",void 0).host}))},82754:function(e,t,n){var r=n(9009);e.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},85262:function(e,t,n){var r=n(92290),i=n(13315);e.exports=r&&i((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},88163:function(e){var t=TypeError;e.exports=function(e,n){if(e<n)throw t("Not enough arguments");return e}},27103:function(e,t,n){var r=n(82202),i=n(16615),o=r.WeakMap;e.exports=i(o)&&/native code/.test(String(o))},1307:function(e,t,n){var r=n(68520),i=n(54341);e.exports={WeakMap:r("WeakMap"),set:i("set",2),get:i("get",1),has:i("has",1),remove:i("delete",1)}},84282:function(e,t,n){var r=n(5058),i=n(79728),o=n(88239),a=n(26779).f;e.exports=function(e){var t=r.Symbol||(r.Symbol={});i(t,e)||a(t,e,{value:o.f(e)})}},88239:function(e,t,n){var r=n(77431);t.f=r},77431:function(e,t,n){var r=n(82202),i=n(51887),o=n(79728),a=n(60853),s=n(9009),u=n(82754),c=i("wks"),l=r.Symbol,f=l&&l.for,d=u?l:l&&l.withoutSetter||a;e.exports=function(e){if(!o(c,e)||!s&&"string"!=typeof c[e]){var t="Symbol."+e;s&&o(l,e)?c[e]=l[e]:c[e]=u&&f?f(t):d(t)}return c[e]}},9692:function(e){e.exports="\t\n\v\f\r                 \u2028\u2029\ufeff"},12309:function(e,t,n){"use strict";var r=n(65609),i=n(41535),o=n(29569),a=n(11244),s=n(80359),u=n(58743),c=n(93446),l=n(42630),f=n(8604),d=n(90249),p=n(4553),h=n(46914),g=n(77431),m=n(44774),y=g("toStringTag"),v=Error,b=[].push,_=function(e,t){var n,r=arguments.length>2?arguments[2]:void 0,s=i(w,this);a?n=a(v(),s?o(this):w):(n=s?this:u(w),c(n,y,"Error")),void 0!==t&&c(n,"message",h(t)),m&&c(n,"stack",f(n.stack,1)),d(n,r);var l=[];return p(e,b,{that:l}),c(n,"errors",l),n};a?a(_,v):s(_,v,{name:!0});var w=_.prototype=u(v.prototype,{constructor:l(1,_),message:l(1,""),name:l(1,"AggregateError")});r({global:!0,constructor:!0,arity:2},{AggregateError:_})},72750:function(e,t,n){n(12309)},79398:function(e,t,n){"use strict";var r=n(65609),i=n(13315),o=n(55345),a=n(66106),s=n(66504),u=n(33268),c=n(58981),l=n(79869),f=n(48071),d=n(71319),p=n(77431),h=n(67544),g=p("isConcatSpreadable"),m=h>=51||!i((function(){var e=[];return e[g]=!1,e.concat()[0]!==e})),y=d("concat"),v=function(e){if(!a(e))return!1;var t=e[g];return void 0!==t?!!t:o(e)};r({target:"Array",proto:!0,arity:1,forced:!m||!y},{concat:function(e){var t,n,r,i,o,a=s(this),d=f(a,0),p=0;for(t=-1,r=arguments.length;t<r;t++)if(v(o=-1===t?a:arguments[t]))for(i=u(o),c(p+i),n=0;n<i;n++,p++)n in o&&l(d,p,o[n]);else c(p+1),l(d,p++,o);return d.length=p,d}})},99632:function(e,t,n){var r=n(65609),i=n(8660),o=n(7272);r({target:"Array",proto:!0},{fill:i}),o("fill")},38215:function(e,t,n){"use strict";var r=n(65609),i=n(2912).filter;r({target:"Array",proto:!0,forced:!n(71319)("filter")},{filter:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}})},11688:function(e,t,n){"use strict";var r=n(65609),i=n(2912).findIndex,o=n(7272),a="findIndex",s=!0;a in[]&&Array(1).findIndex((function(){s=!1})),r({target:"Array",proto:!0,forced:s},{findIndex:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}}),o(a)},79435:function(e,t,n){"use strict";var r=n(65609),i=n(2912).find,o=n(7272),a="find",s=!0;a in[]&&Array(1).find((function(){s=!1})),r({target:"Array",proto:!0,forced:s},{find:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}}),o(a)},82356:function(e,t,n){"use strict";var r=n(65609),i=n(99308);r({target:"Array",proto:!0,forced:[].forEach!=i},{forEach:i})},34521:function(e,t,n){var r=n(65609),i=n(4133);r({target:"Array",stat:!0,forced:!n(94337)((function(e){Array.from(e)}))},{from:i})},93455:function(e,t,n){"use strict";var r=n(65609),i=n(89830).includes,o=n(13315),a=n(7272);r({target:"Array",proto:!0,forced:o((function(){return!Array(1).includes()}))},{includes:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}}),a("includes")},25749:function(e,t,n){"use strict";var r=n(65609),i=n(40352),o=n(89830).indexOf,a=n(16680),s=i([].indexOf),u=!!s&&1/s([1],1,-0)<0,c=a("indexOf");r({target:"Array",proto:!0,forced:u||!c},{indexOf:function(e){var t=arguments.length>1?arguments[1]:void 0;return u?s(this,e,t)||0:o(this,e,t)}})},81847:function(e,t,n){n(65609)({target:"Array",stat:!0},{isArray:n(55345)})},30963:function(e,t,n){"use strict";var r=n(51015),i=n(7272),o=n(87551),a=n(90293),s=n(26779).f,u=n(7112),c=n(78462),l=n(54956),f=n(92290),d="Array Iterator",p=a.set,h=a.getterFor(d);e.exports=u(Array,"Array",(function(e,t){p(this,{type:d,target:r(e),index:0,kind:t})}),(function(){var e=h(this),t=e.target,n=e.kind,r=e.index++;return!t||r>=t.length?(e.target=void 0,c(void 0,!0)):c("keys"==n?r:"values"==n?t[r]:[r,t[r]],!1)}),"values");var g=o.Arguments=o.Array;if(i("keys"),i("values"),i("entries"),!l&&f&&"values"!==g.name)try{s(g,"name",{value:"values"})}catch(e){}},94889:function(e,t,n){"use strict";var r=n(65609),i=n(2912).map;r({target:"Array",proto:!0,forced:!n(71319)("map")},{map:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}})},11229:function(e,t,n){"use strict";var r=n(65609),i=n(32108),o=n(55345),a=i([].reverse),s=[1,2];r({target:"Array",proto:!0,forced:String(s)===String(s.reverse())},{reverse:function(){return o(this)&&(this.length=this.length),a(this)}})},1859:function(e,t,n){"use strict";var r=n(65609),i=n(55345),o=n(68630),a=n(66106),s=n(4351),u=n(33268),c=n(51015),l=n(79869),f=n(77431),d=n(71319),p=n(76253),h=d("slice"),g=f("species"),m=Array,y=Math.max;r({target:"Array",proto:!0,forced:!h},{slice:function(e,t){var n,r,f,d=c(this),h=u(d),v=s(e,h),b=s(void 0===t?h:t,h);if(i(d)&&(n=d.constructor,(o(n)&&(n===m||i(n.prototype))||a(n)&&null===(n=n[g]))&&(n=void 0),n===m||void 0===n))return p(d,v,b);for(r=new(void 0===n?m:n)(y(b-v,0)),f=0;v<b;v++,f++)v in d&&l(r,f,d[v]);return r.length=f,r}})},76237:function(e,t,n){"use strict";var r=n(65609),i=n(32108),o=n(86148),a=n(66504),s=n(33268),u=n(74114),c=n(91841),l=n(13315),f=n(65702),d=n(16680),p=n(38823),h=n(51918),g=n(67544),m=n(92323),y=[],v=i(y.sort),b=i(y.push),_=l((function(){y.sort(void 0)})),w=l((function(){y.sort(null)})),T=d("sort"),x=!l((function(){if(g)return g<70;if(!(p&&p>3)){if(h)return!0;if(m)return m<603;var e,t,n,r,i="";for(e=65;e<76;e++){switch(t=String.fromCharCode(e),e){case 66:case 69:case 70:case 72:n=3;break;case 68:case 71:n=4;break;default:n=2}for(r=0;r<47;r++)y.push({k:t+r,v:n})}for(y.sort((function(e,t){return t.v-e.v})),r=0;r<y.length;r++)t=y[r].k.charAt(0),i.charAt(i.length-1)!==t&&(i+=t);return"DGBEFHACIJK"!==i}}));r({target:"Array",proto:!0,forced:_||!w||!T||!x},{sort:function(e){void 0!==e&&o(e);var t=a(this);if(x)return void 0===e?v(t):v(t,e);var n,r,i=[],l=s(t);for(r=0;r<l;r++)r in t&&b(i,t[r]);for(f(i,function(e){return function(t,n){return void 0===n?-1:void 0===t?1:void 0!==e?+e(t,n)||0:c(t)>c(n)?1:-1}}(e)),n=s(i),r=0;r<n;)t[r]=i[r++];for(;r<l;)u(t,r++);return t}})},14109:function(){},98039:function(e,t,n){var r=n(65609),i=n(74908);r({target:"Function",proto:!0,forced:Function.bind!==i},{bind:i})},67399:function(e,t,n){var r=n(65609),i=n(82202);r({global:!0,forced:i.globalThis!==i},{globalThis:i})},19737:function(e,t,n){var r=n(65609),i=n(68520),o=n(26477),a=n(93344),s=n(32108),u=n(13315),c=n(55345),l=n(16615),f=n(66106),d=n(23506),p=n(76253),h=n(9009),g=i("JSON","stringify"),m=s(/./.exec),y=s("".charAt),v=s("".charCodeAt),b=s("".replace),_=s(1..toString),w=/[\uD800-\uDFFF]/g,T=/^[\uD800-\uDBFF]$/,x=/^[\uDC00-\uDFFF]$/,S=!h||u((function(){var e=i("Symbol")();return"[null]"!=g([e])||"{}"!=g({a:e})||"{}"!=g(Object(e))})),k=u((function(){return'"\\udf06\\ud834"'!==g("\udf06\ud834")||'"\\udead"'!==g("\udead")})),E=function(e,t){var n=p(arguments),r=t;if((f(t)||void 0!==e)&&!d(e))return c(t)||(t=function(e,t){if(l(r)&&(t=a(r,this,e,t)),!d(t))return t}),n[1]=t,o(g,null,n)},O=function(e,t,n){var r=y(n,t-1),i=y(n,t+1);return m(T,e)&&!m(x,i)||m(x,e)&&!m(T,r)?"\\u"+_(v(e,0),16):e};g&&r({target:"JSON",stat:!0,arity:3,forced:S||k},{stringify:function(e,t,n){var r=p(arguments),i=o(S?E:g,null,r);return k&&"string"==typeof i?b(i,w,O):i}})},78655:function(e,t,n){var r=n(82202);n(34026)(r.JSON,"JSON",!0)},6885:function(e,t,n){"use strict";n(27166)("Map",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),n(30870))},12297:function(e,t,n){n(6885)},8544:function(e,t,n){var r=n(65609),i=n(79014),o=Math.abs,a=Math.pow;r({target:"Math",stat:!0},{cbrt:function(e){var t=+e;return i(t)*a(o(t),1/3)}})},63041:function(e,t,n){n(65609)({target:"Math",stat:!0},{log10:n(45475)})},83560:function(e,t,n){n(65609)({target:"Math",stat:!0},{sign:n(79014)})},15913:function(){},39467:function(e,t,n){n(65609)({target:"Number",stat:!0},{isInteger:n(70832)})},504:function(e,t,n){n(65609)({target:"Number",stat:!0},{isNaN:function(e){return e!=e}})},99421:function(e,t,n){n(65609)({target:"Number",stat:!0,nonConfigurable:!0,nonWritable:!0},{MAX_SAFE_INTEGER:9007199254740991})},64564:function(e,t,n){var r=n(65609),i=n(13110);r({target:"Object",stat:!0,arity:2,forced:Object.assign!==i},{assign:i})},13365:function(e,t,n){n(65609)({target:"Object",stat:!0,sham:!n(92290)},{create:n(58743)})},42883:function(e,t,n){var r=n(65609),i=n(92290),o=n(26779).f;r({target:"Object",stat:!0,forced:Object.defineProperty!==o,sham:!i},{defineProperty:o})},74152:function(e,t,n){var r=n(65609),i=n(11276).entries;r({target:"Object",stat:!0},{entries:function(e){return i(e)}})},18909:function(e,t,n){var r=n(65609),i=n(13315),o=n(51015),a=n(40406).f,s=n(92290),u=i((function(){a(1)}));r({target:"Object",stat:!0,forced:!s||u,sham:!s},{getOwnPropertyDescriptor:function(e,t){return a(o(e),t)}})},51690:function(e,t,n){var r=n(65609),i=n(92290),o=n(1271),a=n(51015),s=n(40406),u=n(79869);r({target:"Object",stat:!0,sham:!i},{getOwnPropertyDescriptors:function(e){for(var t,n,r=a(e),i=s.f,c=o(r),l={},f=0;c.length>f;)void 0!==(n=i(r,t=c[f++]))&&u(l,t,n);return l}})},69169:function(e,t,n){var r=n(65609),i=n(9009),o=n(13315),a=n(74749),s=n(66504);r({target:"Object",stat:!0,forced:!i||o((function(){a.f(1)}))},{getOwnPropertySymbols:function(e){var t=a.f;return t?t(s(e)):[]}})},22569:function(e,t,n){var r=n(65609),i=n(13315),o=n(66504),a=n(29569),s=n(49723);r({target:"Object",stat:!0,forced:i((function(){a(1)})),sham:!s},{getPrototypeOf:function(e){return a(o(e))}})},93424:function(e,t,n){n(65609)({target:"Object",stat:!0},{is:n(77959)})},44261:function(e,t,n){var r=n(65609),i=n(66504),o=n(12569);r({target:"Object",stat:!0,forced:n(13315)((function(){o(1)}))},{keys:function(e){return o(i(e))}})},9652:function(e,t,n){n(65609)({target:"Object",stat:!0},{setPrototypeOf:n(11244)})},30277:function(){},76818:function(e,t,n){var r=n(65609),i=n(11276).values;r({target:"Object",stat:!0},{values:function(e){return i(e)}})},49230:function(e,t,n){"use strict";var r=n(65609),i=n(93344),o=n(86148),a=n(12290),s=n(90830),u=n(4553);r({target:"Promise",stat:!0},{allSettled:function(e){var t=this,n=a.f(t),r=n.resolve,c=n.reject,l=s((function(){var n=o(t.resolve),a=[],s=0,c=1;u(e,(function(e){var o=s++,u=!1;c++,i(n,t,e).then((function(e){u||(u=!0,a[o]={status:"fulfilled",value:e},--c||r(a))}),(function(e){u||(u=!0,a[o]={status:"rejected",reason:e},--c||r(a))}))})),--c||r(a)}));return l.error&&c(l.value),n.promise}})},29703:function(e,t,n){"use strict";var r=n(65609),i=n(93344),o=n(86148),a=n(12290),s=n(90830),u=n(4553);r({target:"Promise",stat:!0,forced:n(48240)},{all:function(e){var t=this,n=a.f(t),r=n.resolve,c=n.reject,l=s((function(){var n=o(t.resolve),a=[],s=0,l=1;u(e,(function(e){var o=s++,u=!1;l++,i(n,t,e).then((function(e){u||(u=!0,a[o]=e,--l||r(a))}),c)})),--l||r(a)}));return l.error&&c(l.value),n.promise}})},33978:function(e,t,n){"use strict";var r=n(65609),i=n(93344),o=n(86148),a=n(68520),s=n(12290),u=n(90830),c=n(4553),l="No one promise resolved";r({target:"Promise",stat:!0},{any:function(e){var t=this,n=a("AggregateError"),r=s.f(t),f=r.resolve,d=r.reject,p=u((function(){var r=o(t.resolve),a=[],s=0,u=1,p=!1;c(e,(function(e){var o=s++,c=!1;u++,i(r,t,e).then((function(e){c||p||(p=!0,f(e))}),(function(e){c||p||(c=!0,a[o]=e,--u||d(new n(a,l)))}))})),--u||d(new n(a,l))}));return p.error&&d(p.value),r.promise}})},12049:function(e,t,n){"use strict";var r=n(65609),i=n(54956),o=n(61061).CONSTRUCTOR,a=n(63463),s=n(68520),u=n(16615),c=n(46037),l=a&&a.prototype;if(r({target:"Promise",proto:!0,forced:o,real:!0},{catch:function(e){return this.then(void 0,e)}}),!i&&u(a)){var f=s("Promise").prototype.catch;l.catch!==f&&c(l,"catch",f,{unsafe:!0})}},84062:function(e,t,n){"use strict";var r,i,o,a=n(65609),s=n(54956),u=n(61353),c=n(82202),l=n(93344),f=n(46037),d=n(11244),p=n(34026),h=n(971),g=n(86148),m=n(16615),y=n(66106),v=n(77423),b=n(34237),_=n(91085).set,w=n(75404),T=n(22189),x=n(90830),S=n(73129),k=n(90293),E=n(63463),O=n(61061),C=n(12290),L="Promise",A=O.CONSTRUCTOR,I=O.REJECTION_EVENT,P=O.SUBCLASSING,M=k.getterFor(L),R=k.set,j=E&&E.prototype,D=E,N=j,B=c.TypeError,U=c.document,F=c.process,z=C.f,H=z,Z=!!(U&&U.createEvent&&c.dispatchEvent),q="unhandledrejection",V=function(e){var t;return!(!y(e)||!m(t=e.then))&&t},W=function(e,t){var n,r,i,o=t.value,a=1==t.state,s=a?e.ok:e.fail,u=e.resolve,c=e.reject,f=e.domain;try{s?(a||(2===t.rejection&&X(t),t.rejection=1),!0===s?n=o:(f&&f.enter(),n=s(o),f&&(f.exit(),i=!0)),n===e.promise?c(B("Promise-chain cycle")):(r=V(n))?l(r,n,u,c):u(n)):c(o)}catch(e){f&&!i&&f.exit(),c(e)}},G=function(e,t){e.notified||(e.notified=!0,w((function(){for(var n,r=e.reactions;n=r.get();)W(n,e);e.notified=!1,t&&!e.rejection&&Y(e)})))},$=function(e,t,n){var r,i;Z?((r=U.createEvent("Event")).promise=t,r.reason=n,r.initEvent(e,!1,!0),c.dispatchEvent(r)):r={promise:t,reason:n},!I&&(i=c["on"+e])?i(r):e===q&&T("Unhandled promise rejection",n)},Y=function(e){l(_,c,(function(){var t,n=e.facade,r=e.value;if(K(e)&&(t=x((function(){u?F.emit("unhandledRejection",r,n):$(q,n,r)})),e.rejection=u||K(e)?2:1,t.error))throw t.value}))},K=function(e){return 1!==e.rejection&&!e.parent},X=function(e){l(_,c,(function(){var t=e.facade;u?F.emit("rejectionHandled",t):$("rejectionhandled",t,e.value)}))},Q=function(e,t,n){return function(r){e(t,r,n)}},J=function(e,t,n){e.done||(e.done=!0,n&&(e=n),e.value=t,e.state=2,G(e,!0))},ee=function(e,t,n){if(!e.done){e.done=!0,n&&(e=n);try{if(e.facade===t)throw B("Promise can't be resolved itself");var r=V(t);r?w((function(){var n={done:!1};try{l(r,t,Q(ee,n,e),Q(J,n,e))}catch(t){J(n,t,e)}})):(e.value=t,e.state=1,G(e,!1))}catch(t){J({done:!1},t,e)}}};if(A&&(N=(D=function(e){v(this,N),g(e),l(r,this);var t=M(this);try{e(Q(ee,t),Q(J,t))}catch(e){J(t,e)}}).prototype,(r=function(e){R(this,{type:L,done:!1,notified:!1,parent:!1,reactions:new S,rejection:!1,state:0,value:void 0})}).prototype=f(N,"then",(function(e,t){var n=M(this),r=z(b(this,D));return n.parent=!0,r.ok=!m(e)||e,r.fail=m(t)&&t,r.domain=u?F.domain:void 0,0==n.state?n.reactions.add(r):w((function(){W(r,n)})),r.promise})),i=function(){var e=new r,t=M(e);this.promise=e,this.resolve=Q(ee,t),this.reject=Q(J,t)},C.f=z=function(e){return e===D||undefined===e?new i(e):H(e)},!s&&m(E)&&j!==Object.prototype)){o=j.then,P||f(j,"then",(function(e,t){var n=this;return new D((function(e,t){l(o,n,e,t)})).then(e,t)}),{unsafe:!0});try{delete j.constructor}catch(e){}d&&d(j,N)}a({global:!0,constructor:!0,wrap:!0,forced:A},{Promise:D}),p(D,L,!1,!0),h(L)},39952:function(e,t,n){"use strict";var r=n(65609),i=n(54956),o=n(63463),a=n(13315),s=n(68520),u=n(16615),c=n(34237),l=n(86538),f=n(46037),d=o&&o.prototype;if(r({target:"Promise",proto:!0,real:!0,forced:!!o&&a((function(){d.finally.call({then:function(){}},(function(){}))}))},{finally:function(e){var t=c(this,s("Promise")),n=u(e);return this.then(n?function(n){return l(t,e()).then((function(){return n}))}:e,n?function(n){return l(t,e()).then((function(){throw n}))}:e)}}),!i&&u(o)){var p=s("Promise").prototype.finally;d.finally!==p&&f(d,"finally",p,{unsafe:!0})}},57491:function(e,t,n){n(84062),n(29703),n(12049),n(68464),n(4361),n(10610)},68464:function(e,t,n){"use strict";var r=n(65609),i=n(93344),o=n(86148),a=n(12290),s=n(90830),u=n(4553);r({target:"Promise",stat:!0,forced:n(48240)},{race:function(e){var t=this,n=a.f(t),r=n.reject,c=s((function(){var a=o(t.resolve);u(e,(function(e){i(a,t,e).then(n.resolve,r)}))}));return c.error&&r(c.value),n.promise}})},4361:function(e,t,n){"use strict";var r=n(65609),i=n(93344),o=n(12290);r({target:"Promise",stat:!0,forced:n(61061).CONSTRUCTOR},{reject:function(e){var t=o.f(this);return i(t.reject,void 0,e),t.promise}})},10610:function(e,t,n){"use strict";var r=n(65609),i=n(68520),o=n(54956),a=n(63463),s=n(61061).CONSTRUCTOR,u=n(86538),c=i("Promise"),l=o&&!s;r({target:"Promise",stat:!0,forced:o||s},{resolve:function(e){return u(l&&this===c?a:this,e)}})},24679:function(e,t,n){var r=n(65609),i=n(68520),o=n(26477),a=n(74908),s=n(31413),u=n(64950),c=n(66106),l=n(58743),f=n(13315),d=i("Reflect","construct"),p=Object.prototype,h=[].push,g=f((function(){function e(){}return!(d((function(){}),[],e)instanceof e)})),m=!f((function(){d((function(){}))})),y=g||m;r({target:"Reflect",stat:!0,forced:y,sham:y},{construct:function(e,t){s(e),u(t);var n=arguments.length<3?e:s(arguments[2]);if(m&&!g)return d(e,t,n);if(e==n){switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3])}var r=[null];return o(h,r,t),new(o(a,e,r))}var i=n.prototype,f=l(c(i)?i:p),y=o(e,f,t);return c(y)?y:f}})},22382:function(e,t,n){var r=n(65609),i=n(93344),o=n(66106),a=n(64950),s=n(24753),u=n(40406),c=n(29569);r({target:"Reflect",stat:!0},{get:function e(t,n){var r,l,f=arguments.length<3?t:arguments[2];return a(t)===f?t[n]:(r=u.f(t,n))?s(r)?r.value:void 0===r.get?void 0:i(r.get,f):o(l=c(t))?e(l,n,f):void 0}})},77014:function(){},10466:function(e,t,n){"use strict";n(27166)("Set",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),n(30870))},1753:function(e,t,n){n(10466)},28107:function(e,t,n){"use strict";var r,i=n(65609),o=n(40352),a=n(40406).f,s=n(39875),u=n(91841),c=n(43708),l=n(96413),f=n(45023),d=n(54956),p=o("".endsWith),h=o("".slice),g=Math.min,m=f("endsWith");i({target:"String",proto:!0,forced:!!(d||m||(r=a(String.prototype,"endsWith"),!r||r.writable))&&!m},{endsWith:function(e){var t=u(l(this));c(e);var n=arguments.length>1?arguments[1]:void 0,r=t.length,i=void 0===n?r:g(s(n),r),o=u(e);return p?p(t,o,i):h(t,i-o.length,i)===o}})},2126:function(e,t,n){"use strict";var r=n(65609),i=n(32108),o=n(43708),a=n(96413),s=n(91841),u=n(45023),c=i("".indexOf);r({target:"String",proto:!0,forced:!u("includes")},{includes:function(e){return!!~c(s(a(this)),s(o(e)),arguments.length>1?arguments[1]:void 0)}})},70185:function(e,t,n){"use strict";var r=n(32495).charAt,i=n(91841),o=n(90293),a=n(7112),s=n(78462),u="String Iterator",c=o.set,l=o.getterFor(u);a(String,"String",(function(e){c(this,{type:u,string:i(e),index:0})}),(function(){var e,t=l(this),n=t.string,i=t.index;return i>=n.length?s(void 0,!0):(e=r(n,i),t.index+=e.length,s(e,!1))}))},28051:function(e,t,n){"use strict";var r=n(65609),i=n(13702).start;r({target:"String",proto:!0,forced:n(70799)},{padStart:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}})},914:function(e,t,n){"use strict";var r,i=n(65609),o=n(40352),a=n(40406).f,s=n(39875),u=n(91841),c=n(43708),l=n(96413),f=n(45023),d=n(54956),p=o("".startsWith),h=o("".slice),g=Math.min,m=f("startsWith");i({target:"String",proto:!0,forced:!!(d||m||(r=a(String.prototype,"startsWith"),!r||r.writable))&&!m},{startsWith:function(e){var t=u(l(this));c(e);var n=s(g(arguments.length>1?arguments[1]:void 0,t.length)),r=u(e);return p?p(t,r,n):h(t,n,n+r.length)===r}})},77485:function(e,t,n){"use strict";var r=n(65609),i=n(14545).trim;r({target:"String",proto:!0,forced:n(8052)("trim")},{trim:function(){return i(this)}})},63112:function(e,t,n){n(84282)("asyncIterator")},40520:function(e,t,n){"use strict";var r=n(65609),i=n(82202),o=n(93344),a=n(32108),s=n(54956),u=n(92290),c=n(9009),l=n(13315),f=n(79728),d=n(41535),p=n(64950),h=n(51015),g=n(70738),m=n(91841),y=n(42630),v=n(58743),b=n(12569),_=n(46289),w=n(32751),T=n(74749),x=n(40406),S=n(26779),k=n(79297),E=n(37222),O=n(46037),C=n(51887),L=n(22434),A=n(3641),I=n(60853),P=n(77431),M=n(88239),R=n(84282),j=n(59423),D=n(34026),N=n(90293),B=n(2912).forEach,U=L("hidden"),F="Symbol",z=N.set,H=N.getterFor(F),Z=Object.prototype,q=i.Symbol,V=q&&q.prototype,W=i.TypeError,G=i.QObject,$=x.f,Y=S.f,K=w.f,X=E.f,Q=a([].push),J=C("symbols"),ee=C("op-symbols"),te=C("wks"),ne=!G||!G.prototype||!G.prototype.findChild,re=u&&l((function(){return 7!=v(Y({},"a",{get:function(){return Y(this,"a",{value:7}).a}})).a}))?function(e,t,n){var r=$(Z,t);r&&delete Z[t],Y(e,t,n),r&&e!==Z&&Y(Z,t,r)}:Y,ie=function(e,t){var n=J[e]=v(V);return z(n,{type:F,tag:e,description:t}),u||(n.description=t),n},oe=function(e,t,n){e===Z&&oe(ee,t,n),p(e);var r=g(t);return p(n),f(J,r)?(n.enumerable?(f(e,U)&&e[U][r]&&(e[U][r]=!1),n=v(n,{enumerable:y(0,!1)})):(f(e,U)||Y(e,U,y(1,{})),e[U][r]=!0),re(e,r,n)):Y(e,r,n)},ae=function(e,t){p(e);var n=h(t),r=b(n).concat(le(n));return B(r,(function(t){u&&!o(se,n,t)||oe(e,t,n[t])})),e},se=function(e){var t=g(e),n=o(X,this,t);return!(this===Z&&f(J,t)&&!f(ee,t))&&(!(n||!f(this,t)||!f(J,t)||f(this,U)&&this[U][t])||n)},ue=function(e,t){var n=h(e),r=g(t);if(n!==Z||!f(J,r)||f(ee,r)){var i=$(n,r);return!i||!f(J,r)||f(n,U)&&n[U][r]||(i.enumerable=!0),i}},ce=function(e){var t=K(h(e)),n=[];return B(t,(function(e){f(J,e)||f(A,e)||Q(n,e)})),n},le=function(e){var t=e===Z,n=K(t?ee:h(e)),r=[];return B(n,(function(e){!f(J,e)||t&&!f(Z,e)||Q(r,J[e])})),r};c||(q=function(){if(d(V,this))throw W("Symbol is not a constructor");var e=arguments.length&&void 0!==arguments[0]?m(arguments[0]):void 0,t=I(e),n=function(e){this===Z&&o(n,ee,e),f(this,U)&&f(this[U],t)&&(this[U][t]=!1),re(this,t,y(1,e))};return u&&ne&&re(Z,t,{configurable:!0,set:n}),ie(t,e)},O(V=q.prototype,"toString",(function(){return H(this).tag})),O(q,"withoutSetter",(function(e){return ie(I(e),e)})),E.f=se,S.f=oe,k.f=ae,x.f=ue,_.f=w.f=ce,T.f=le,M.f=function(e){return ie(P(e),e)},u&&(Y(V,"description",{configurable:!0,get:function(){return H(this).description}}),s||O(Z,"propertyIsEnumerable",se,{unsafe:!0}))),r({global:!0,constructor:!0,wrap:!0,forced:!c,sham:!c},{Symbol:q}),B(b(te),(function(e){R(e)})),r({target:F,stat:!0,forced:!c},{useSetter:function(){ne=!0},useSimple:function(){ne=!1}}),r({target:"Object",stat:!0,forced:!c,sham:!u},{create:function(e,t){return void 0===t?v(e):ae(v(e),t)},defineProperty:oe,defineProperties:ae,getOwnPropertyDescriptor:ue}),r({target:"Object",stat:!0,forced:!c},{getOwnPropertyNames:ce}),j(),D(q,F),A[U]=!0},42019:function(){},52186:function(e,t,n){var r=n(65609),i=n(68520),o=n(79728),a=n(91841),s=n(51887),u=n(62243),c=s("string-to-symbol-registry"),l=s("symbol-to-string-registry");r({target:"Symbol",stat:!0,forced:!u},{for:function(e){var t=a(e);if(o(c,t))return c[t];var n=i("Symbol")(t);return c[t]=n,l[n]=t,n}})},24435:function(e,t,n){n(84282)("hasInstance")},93427:function(e,t,n){n(84282)("isConcatSpreadable")},42526:function(e,t,n){n(84282)("iterator")},21006:function(e,t,n){n(40520),n(52186),n(81936),n(19737),n(69169)},81936:function(e,t,n){var r=n(65609),i=n(79728),o=n(23506),a=n(37254),s=n(51887),u=n(62243),c=s("symbol-to-string-registry");r({target:"Symbol",stat:!0,forced:!u},{keyFor:function(e){if(!o(e))throw TypeError(a(e)+" is not a symbol");if(i(c,e))return c[e]}})},25202:function(e,t,n){n(84282)("matchAll")},3314:function(e,t,n){n(84282)("match")},46916:function(e,t,n){n(84282)("replace")},19206:function(e,t,n){n(84282)("search")},28458:function(e,t,n){n(84282)("species")},43743:function(e,t,n){n(84282)("split")},1283:function(e,t,n){var r=n(84282),i=n(59423);r("toPrimitive"),i()},17294:function(e,t,n){var r=n(68520),i=n(84282),o=n(34026);i("toStringTag"),o(r("Symbol"),"Symbol")},26287:function(e,t,n){n(84282)("unscopables")},53584:function(e,t,n){"use strict";var r,i=n(96959),o=n(82202),a=n(32108),s=n(92671),u=n(54581),c=n(27166),l=n(39017),f=n(66106),d=n(90293).enforce,p=n(13315),h=n(27103),g=Object,m=Array.isArray,y=g.isExtensible,v=g.isFrozen,b=g.isSealed,_=g.freeze,w=g.seal,T={},x={},S=!o.ActiveXObject&&"ActiveXObject"in o,k=function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}},E=c("WeakMap",k,l),O=E.prototype,C=a(O.set);if(h)if(S){r=l.getConstructor(k,"WeakMap",!0),u.enable();var L=a(O.delete),A=a(O.has),I=a(O.get);s(O,{delete:function(e){if(f(e)&&!y(e)){var t=d(this);return t.frozen||(t.frozen=new r),L(this,e)||t.frozen.delete(e)}return L(this,e)},has:function(e){if(f(e)&&!y(e)){var t=d(this);return t.frozen||(t.frozen=new r),A(this,e)||t.frozen.has(e)}return A(this,e)},get:function(e){if(f(e)&&!y(e)){var t=d(this);return t.frozen||(t.frozen=new r),A(this,e)?I(this,e):t.frozen.get(e)}return I(this,e)},set:function(e,t){if(f(e)&&!y(e)){var n=d(this);n.frozen||(n.frozen=new r),A(this,e)?C(this,e,t):n.frozen.set(e,t)}else C(this,e,t);return this}})}else i&&p((function(){var e=_([]);return C(new E,e,1),!v(e)}))&&s(O,{set:function(e,t){var n;return m(e)&&(v(e)?n=T:b(e)&&(n=x)),C(this,e,t),n==T&&_(e),n==x&&w(e),this}})},40140:function(e,t,n){n(53584)},33239:function(e,t,n){n(72750)},24031:function(e,t,n){n(67399)},17017:function(e,t,n){"use strict";var r=n(65609),i=n(7655),o=n(74833).remove;r({target:"Map",proto:!0,real:!0,forced:!0},{deleteAll:function(){for(var e,t=i(this),n=!0,r=0,a=arguments.length;r<a;r++)e=o(t,arguments[r]),n=n&&e;return!!n}})},85967:function(e,t,n){"use strict";var r=n(65609),i=n(7655),o=n(74833),a=o.get,s=o.has,u=o.set;r({target:"Map",proto:!0,real:!0,forced:!0},{emplace:function(e,t){var n,r,o=i(this);return s(o,e)?(n=a(o,e),"update"in t&&(n=t.update(n,e,o),u(o,e,n)),n):(r=t.insert(e,o),u(o,e,r),r)}})},16005:function(e,t,n){"use strict";var r=n(65609),i=n(1912),o=n(7655),a=n(36686);r({target:"Map",proto:!0,real:!0,forced:!0},{every:function(e){var t=o(this),n=i(e,arguments.length>1?arguments[1]:void 0);return!1!==a(t,(function(e,r){if(!n(e,r,t))return!1}),!0)}})},3556:function(e,t,n){"use strict";var r=n(65609),i=n(1912),o=n(7655),a=n(74833),s=n(36686),u=a.Map,c=a.set;r({target:"Map",proto:!0,real:!0,forced:!0},{filter:function(e){var t=o(this),n=i(e,arguments.length>1?arguments[1]:void 0),r=new u;return s(t,(function(e,i){n(e,i,t)&&c(r,i,e)})),r}})},72910:function(e,t,n){"use strict";var r=n(65609),i=n(1912),o=n(7655),a=n(36686);r({target:"Map",proto:!0,real:!0,forced:!0},{findKey:function(e){var t=o(this),n=i(e,arguments.length>1?arguments[1]:void 0),r=a(t,(function(e,r){if(n(e,r,t))return{key:r}}),!0);return r&&r.key}})},81582:function(e,t,n){"use strict";var r=n(65609),i=n(1912),o=n(7655),a=n(36686);r({target:"Map",proto:!0,real:!0,forced:!0},{find:function(e){var t=o(this),n=i(e,arguments.length>1?arguments[1]:void 0),r=a(t,(function(e,r){if(n(e,r,t))return{value:e}}),!0);return r&&r.value}})},45952:function(e,t,n){n(65609)({target:"Map",stat:!0,forced:!0},{from:n(37571)})},33709:function(e,t,n){"use strict";var r=n(65609),i=n(93344),o=n(32108),a=n(16615),s=n(86148),u=n(4553),c=n(74833).Map,l=o([].push);r({target:"Map",stat:!0,forced:!0},{groupBy:function(e,t){var n=new(a(this)?this:c);s(t);var r=s(n.has),o=s(n.get),f=s(n.set);return u(e,(function(e){var a=t(e);i(r,n,a)?l(i(o,n,a),e):i(f,n,a,[e])})),n}})},22547:function(e,t,n){"use strict";var r=n(65609),i=n(99428),o=n(7655),a=n(36686);r({target:"Map",proto:!0,real:!0,forced:!0},{includes:function(e){return!0===a(o(this),(function(t){if(i(t,e))return!0}),!0)}})},97803:function(e,t,n){"use strict";var r=n(65609),i=n(93344),o=n(4553),a=n(16615),s=n(86148),u=n(74833).Map;r({target:"Map",stat:!0,forced:!0},{keyBy:function(e,t){var n=new(a(this)?this:u);s(t);var r=s(n.set);return o(e,(function(e){i(r,n,t(e),e)})),n}})},53014:function(e,t,n){"use strict";var r=n(65609),i=n(7655),o=n(36686);r({target:"Map",proto:!0,real:!0,forced:!0},{keyOf:function(e){var t=o(i(this),(function(t,n){if(t===e)return{key:n}}),!0);return t&&t.key}})},91688:function(e,t,n){"use strict";var r=n(65609),i=n(1912),o=n(7655),a=n(74833),s=n(36686),u=a.Map,c=a.set;r({target:"Map",proto:!0,real:!0,forced:!0},{mapKeys:function(e){var t=o(this),n=i(e,arguments.length>1?arguments[1]:void 0),r=new u;return s(t,(function(e,i){c(r,n(e,i,t),e)})),r}})},26346:function(e,t,n){"use strict";var r=n(65609),i=n(1912),o=n(7655),a=n(74833),s=n(36686),u=a.Map,c=a.set;r({target:"Map",proto:!0,real:!0,forced:!0},{mapValues:function(e){var t=o(this),n=i(e,arguments.length>1?arguments[1]:void 0),r=new u;return s(t,(function(e,i){c(r,i,n(e,i,t))})),r}})},49459:function(e,t,n){"use strict";var r=n(65609),i=n(7655),o=n(4553),a=n(74833).set;r({target:"Map",proto:!0,real:!0,arity:1,forced:!0},{merge:function(e){for(var t=i(this),n=arguments.length,r=0;r<n;)o(arguments[r++],(function(e,n){a(t,e,n)}),{AS_ENTRIES:!0});return t}})},78043:function(e,t,n){n(65609)({target:"Map",stat:!0,forced:!0},{of:n(98836)})},15851:function(e,t,n){"use strict";var r=n(65609),i=n(86148),o=n(7655),a=n(36686),s=TypeError;r({target:"Map",proto:!0,real:!0,forced:!0},{reduce:function(e){var t=o(this),n=arguments.length<2,r=n?void 0:arguments[1];if(i(e),a(t,(function(i,o){n?(n=!1,r=i):r=e(r,i,o,t)})),n)throw s("Reduce of empty map with no initial value");return r}})},93434:function(e,t,n){"use strict";var r=n(65609),i=n(1912),o=n(7655),a=n(36686);r({target:"Map",proto:!0,real:!0,forced:!0},{some:function(e){var t=o(this),n=i(e,arguments.length>1?arguments[1]:void 0);return!0===a(t,(function(e,r){if(n(e,r,t))return!0}),!0)}})},59405:function(e,t,n){"use strict";n(65609)({target:"Map",proto:!0,real:!0,name:"upsert",forced:!0},{updateOrInsert:n(92731)})},88415:function(e,t,n){"use strict";var r=n(65609),i=n(86148),o=n(7655),a=n(74833),s=TypeError,u=a.get,c=a.has,l=a.set;r({target:"Map",proto:!0,real:!0,forced:!0},{update:function(e,t){var n=o(this),r=arguments.length;i(t);var a=c(n,e);if(!a&&r<3)throw s("Updating absent value");var f=a?u(n,e):i(r>2?arguments[2]:void 0)(e,n);return l(n,e,t(f,e,n)),n}})},49663:function(e,t,n){"use strict";n(65609)({target:"Map",proto:!0,real:!0,forced:!0},{upsert:n(92731)})},82564:function(e,t,n){n(49230)},94781:function(e,t,n){n(33978)},25361:function(e,t,n){"use strict";var r=n(65609),i=n(12290),o=n(90830);r({target:"Promise",stat:!0,forced:!0},{try:function(e){var t=i.f(this),n=o(e);return(n.error?t.reject:t.resolve)(n.value),t.promise}})},82745:function(e,t,n){"use strict";var r=n(65609),i=n(20902),o=n(97869).add;r({target:"Set",proto:!0,real:!0,forced:!0},{addAll:function(){for(var e=i(this),t=0,n=arguments.length;t<n;t++)o(e,arguments[t]);return e}})},84070:function(e,t,n){"use strict";var r=n(65609),i=n(20902),o=n(97869).remove;r({target:"Set",proto:!0,real:!0,forced:!0},{deleteAll:function(){for(var e,t=i(this),n=!0,r=0,a=arguments.length;r<a;r++)e=o(t,arguments[r]),n=n&&e;return!!n}})},34943:function(e,t,n){"use strict";var r=n(65609),i=n(93344),o=n(65961),a=n(70848);r({target:"Set",proto:!0,real:!0,forced:!0},{difference:function(e){return i(a,this,o(e))}})},52711:function(e,t,n){var r=n(65609),i=n(70848);r({target:"Set",proto:!0,real:!0,forced:!n(78513)("difference")},{difference:i})},25277:function(e,t,n){"use strict";var r=n(65609),i=n(1912),o=n(20902),a=n(84828);r({target:"Set",proto:!0,real:!0,forced:!0},{every:function(e){var t=o(this),n=i(e,arguments.length>1?arguments[1]:void 0);return!1!==a(t,(function(e){if(!n(e,e,t))return!1}),!0)}})},28404:function(e,t,n){"use strict";var r=n(65609),i=n(1912),o=n(20902),a=n(97869),s=n(84828),u=a.Set,c=a.add;r({target:"Set",proto:!0,real:!0,forced:!0},{filter:function(e){var t=o(this),n=i(e,arguments.length>1?arguments[1]:void 0),r=new u;return s(t,(function(e){n(e,e,t)&&c(r,e)})),r}})},40269:function(e,t,n){"use strict";var r=n(65609),i=n(1912),o=n(20902),a=n(84828);r({target:"Set",proto:!0,real:!0,forced:!0},{find:function(e){var t=o(this),n=i(e,arguments.length>1?arguments[1]:void 0),r=a(t,(function(e){if(n(e,e,t))return{value:e}}),!0);return r&&r.value}})},84170:function(e,t,n){n(65609)({target:"Set",stat:!0,forced:!0},{from:n(37571)})},91239:function(e,t,n){"use strict";var r=n(65609),i=n(93344),o=n(65961),a=n(4749);r({target:"Set",proto:!0,real:!0,forced:!0},{intersection:function(e){return i(a,this,o(e))}})},29097:function(e,t,n){var r=n(65609),i=n(4749);r({target:"Set",proto:!0,real:!0,forced:!n(78513)("intersection")},{intersection:i})},53180:function(e,t,n){"use strict";var r=n(65609),i=n(93344),o=n(65961),a=n(9789);r({target:"Set",proto:!0,real:!0,forced:!0},{isDisjointFrom:function(e){return i(a,this,o(e))}})},73225:function(e,t,n){var r=n(65609),i=n(9789);r({target:"Set",proto:!0,real:!0,forced:!n(78513)("isDisjointFrom")},{isDisjointFrom:i})},85405:function(e,t,n){"use strict";var r=n(65609),i=n(93344),o=n(65961),a=n(36067);r({target:"Set",proto:!0,real:!0,forced:!0},{isSubsetOf:function(e){return i(a,this,o(e))}})},45392:function(e,t,n){var r=n(65609),i=n(36067);r({target:"Set",proto:!0,real:!0,forced:!n(78513)("isSubsetOf")},{isSubsetOf:i})},81090:function(e,t,n){"use strict";var r=n(65609),i=n(93344),o=n(65961),a=n(42850);r({target:"Set",proto:!0,real:!0,forced:!0},{isSupersetOf:function(e){return i(a,this,o(e))}})},71638:function(e,t,n){var r=n(65609),i=n(42850);r({target:"Set",proto:!0,real:!0,forced:!n(78513)("isSupersetOf")},{isSupersetOf:i})},70146:function(e,t,n){"use strict";var r=n(65609),i=n(32108),o=n(20902),a=n(84828),s=n(91841),u=i([].join),c=i([].push);r({target:"Set",proto:!0,real:!0,forced:!0},{join:function(e){var t=o(this),n=void 0===e?",":s(e),r=[];return a(t,(function(e){c(r,e)})),u(r,n)}})},1240:function(e,t,n){"use strict";var r=n(65609),i=n(1912),o=n(20902),a=n(97869),s=n(84828),u=a.Set,c=a.add;r({target:"Set",proto:!0,real:!0,forced:!0},{map:function(e){var t=o(this),n=i(e,arguments.length>1?arguments[1]:void 0),r=new u;return s(t,(function(e){c(r,n(e,e,t))})),r}})},62808:function(e,t,n){n(65609)({target:"Set",stat:!0,forced:!0},{of:n(98836)})},80734:function(e,t,n){"use strict";var r=n(65609),i=n(86148),o=n(20902),a=n(84828),s=TypeError;r({target:"Set",proto:!0,real:!0,forced:!0},{reduce:function(e){var t=o(this),n=arguments.length<2,r=n?void 0:arguments[1];if(i(e),a(t,(function(i){n?(n=!1,r=i):r=e(r,i,i,t)})),n)throw s("Reduce of empty set with no initial value");return r}})},21946:function(e,t,n){"use strict";var r=n(65609),i=n(1912),o=n(20902),a=n(84828);r({target:"Set",proto:!0,real:!0,forced:!0},{some:function(e){var t=o(this),n=i(e,arguments.length>1?arguments[1]:void 0);return!0===a(t,(function(e){if(n(e,e,t))return!0}),!0)}})},20985:function(e,t,n){"use strict";var r=n(65609),i=n(93344),o=n(65961),a=n(76766);r({target:"Set",proto:!0,real:!0,forced:!0},{symmetricDifference:function(e){return i(a,this,o(e))}})},53933:function(e,t,n){var r=n(65609),i=n(76766);r({target:"Set",proto:!0,real:!0,forced:!n(78513)("symmetricDifference")},{symmetricDifference:i})},76035:function(e,t,n){"use strict";var r=n(65609),i=n(93344),o=n(65961),a=n(41172);r({target:"Set",proto:!0,real:!0,forced:!0},{union:function(e){return i(a,this,o(e))}})},21366:function(e,t,n){var r=n(65609),i=n(41172);r({target:"Set",proto:!0,real:!0,forced:!n(78513)("union")},{union:i})},34419:function(e,t,n){n(84282)("asyncDispose")},20795:function(e,t,n){n(84282)("dispose")},54596:function(e,t,n){n(84282)("matcher")},44505:function(e,t,n){n(84282)("metadataKey")},29545:function(e,t,n){n(84282)("metadata")},57049:function(e,t,n){n(84282)("observable")},72481:function(e,t,n){n(84282)("patternMatch")},52208:function(e,t,n){n(84282)("replaceAll")},38894:function(e,t,n){"use strict";var r=n(65609),i=n(82271),o=n(1307).remove;r({target:"WeakMap",proto:!0,real:!0,forced:!0},{deleteAll:function(){for(var e,t=i(this),n=!0,r=0,a=arguments.length;r<a;r++)e=o(t,arguments[r]),n=n&&e;return!!n}})},33976:function(e,t,n){"use strict";var r=n(65609),i=n(82271),o=n(1307),a=o.get,s=o.has,u=o.set;r({target:"WeakMap",proto:!0,real:!0,forced:!0},{emplace:function(e,t){var n,r,o=i(this);return s(o,e)?(n=a(o,e),"update"in t&&(n=t.update(n,e,o),u(o,e,n)),n):(r=t.insert(e,o),u(o,e,r),r)}})},58959:function(e,t,n){n(65609)({target:"WeakMap",stat:!0,forced:!0},{from:n(37571)})},63037:function(e,t,n){n(65609)({target:"WeakMap",stat:!0,forced:!0},{of:n(98836)})},4762:function(e,t,n){"use strict";n(65609)({target:"WeakMap",proto:!0,real:!0,forced:!0},{upsert:n(92731)})},57394:function(e,t,n){n(30963);var r=n(80196),i=n(82202),o=n(50176),a=n(93446),s=n(87551),u=n(77431)("toStringTag");for(var c in r){var l=i[c],f=l&&l.prototype;f&&o(f)!==u&&a(f,u,c),s[c]=s.Array}},47220:function(e,t,n){var r=n(65609),i=n(82202),o=n(75404),a=n(86148),s=n(88163),u=n(61353),c=i.process;r({global:!0,enumerable:!0,dontCallGetSet:!0},{queueMicrotask:function(e){s(arguments.length,1),a(e);var t=u&&c.domain;o(t?t.bind(e):e)}})},28112:function(e,t,n){"use strict";n(30963);var r=n(65609),i=n(82202),o=n(93344),a=n(32108),s=n(92290),u=n(44478),c=n(46037),l=n(92671),f=n(34026),d=n(8287),p=n(90293),h=n(77423),g=n(16615),m=n(79728),y=n(1912),v=n(50176),b=n(64950),_=n(66106),w=n(91841),T=n(58743),x=n(42630),S=n(27390),k=n(4187),E=n(88163),O=n(77431),C=n(65702),L=O("iterator"),A="URLSearchParams",I="URLSearchParamsIterator",P=p.set,M=p.getterFor(A),R=p.getterFor(I),j=Object.getOwnPropertyDescriptor,D=function(e){if(!s)return i[e];var t=j(i,e);return t&&t.value},N=D("fetch"),B=D("Request"),U=D("Headers"),F=B&&B.prototype,z=U&&U.prototype,H=i.RegExp,Z=i.TypeError,q=i.decodeURIComponent,V=i.encodeURIComponent,W=a("".charAt),G=a([].join),$=a([].push),Y=a("".replace),K=a([].shift),X=a([].splice),Q=a("".split),J=a("".slice),ee=/\+/g,te=Array(4),ne=function(e){return te[e-1]||(te[e-1]=H("((?:%[\\da-f]{2}){"+e+"})","gi"))},re=function(e){try{return q(e)}catch(t){return e}},ie=function(e){var t=Y(e,ee," "),n=4;try{return q(t)}catch(e){for(;n;)t=Y(t,ne(n--),re);return t}},oe=/[!'()~]|%20/g,ae={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},se=function(e){return ae[e]},ue=function(e){return Y(V(e),oe,se)},ce=d((function(e,t){P(this,{type:I,iterator:S(M(e).entries),kind:t})}),"Iterator",(function(){var e=R(this),t=e.kind,n=e.iterator.next(),r=n.value;return n.done||(n.value="keys"===t?r.key:"values"===t?r.value:[r.key,r.value]),n}),!0),le=function(e){this.entries=[],this.url=null,void 0!==e&&(_(e)?this.parseObject(e):this.parseQuery("string"==typeof e?"?"===W(e,0)?J(e,1):e:w(e)))};le.prototype={type:A,bindURL:function(e){this.url=e,this.update()},parseObject:function(e){var t,n,r,i,a,s,u,c=k(e);if(c)for(n=(t=S(e,c)).next;!(r=o(n,t)).done;){if(a=(i=S(b(r.value))).next,(s=o(a,i)).done||(u=o(a,i)).done||!o(a,i).done)throw Z("Expected sequence with length 2");$(this.entries,{key:w(s.value),value:w(u.value)})}else for(var l in e)m(e,l)&&$(this.entries,{key:l,value:w(e[l])})},parseQuery:function(e){if(e)for(var t,n,r=Q(e,"&"),i=0;i<r.length;)(t=r[i++]).length&&(n=Q(t,"="),$(this.entries,{key:ie(K(n)),value:ie(G(n,"="))}))},serialize:function(){for(var e,t=this.entries,n=[],r=0;r<t.length;)e=t[r++],$(n,ue(e.key)+"="+ue(e.value));return G(n,"&")},update:function(){this.entries.length=0,this.parseQuery(this.url.query)},updateURL:function(){this.url&&this.url.update()}};var fe=function(){h(this,de);var e=arguments.length>0?arguments[0]:void 0;P(this,new le(e))},de=fe.prototype;if(l(de,{append:function(e,t){E(arguments.length,2);var n=M(this);$(n.entries,{key:w(e),value:w(t)}),n.updateURL()},delete:function(e){E(arguments.length,1);for(var t=M(this),n=t.entries,r=w(e),i=0;i<n.length;)n[i].key===r?X(n,i,1):i++;t.updateURL()},get:function(e){E(arguments.length,1);for(var t=M(this).entries,n=w(e),r=0;r<t.length;r++)if(t[r].key===n)return t[r].value;return null},getAll:function(e){E(arguments.length,1);for(var t=M(this).entries,n=w(e),r=[],i=0;i<t.length;i++)t[i].key===n&&$(r,t[i].value);return r},has:function(e){E(arguments.length,1);for(var t=M(this).entries,n=w(e),r=0;r<t.length;)if(t[r++].key===n)return!0;return!1},set:function(e,t){E(arguments.length,1);for(var n,r=M(this),i=r.entries,o=!1,a=w(e),s=w(t),u=0;u<i.length;u++)(n=i[u]).key===a&&(o?X(i,u--,1):(o=!0,n.value=s));o||$(i,{key:a,value:s}),r.updateURL()},sort:function(){var e=M(this);C(e.entries,(function(e,t){return e.key>t.key?1:-1})),e.updateURL()},forEach:function(e){for(var t,n=M(this).entries,r=y(e,arguments.length>1?arguments[1]:void 0),i=0;i<n.length;)r((t=n[i++]).value,t.key,this)},keys:function(){return new ce(this,"keys")},values:function(){return new ce(this,"values")},entries:function(){return new ce(this,"entries")}},{enumerable:!0}),c(de,L,de.entries,{name:"entries"}),c(de,"toString",(function(){return M(this).serialize()}),{enumerable:!0}),f(fe,A),r({global:!0,constructor:!0,forced:!u},{URLSearchParams:fe}),!u&&g(U)){var pe=a(z.has),he=a(z.set),ge=function(e){if(_(e)){var t,n=e.body;if(v(n)===A)return t=e.headers?new U(e.headers):new U,pe(t,"content-type")||he(t,"content-type","application/x-www-form-urlencoded;charset=UTF-8"),T(e,{body:x(0,w(n)),headers:x(0,t)})}return e};if(g(N)&&r({global:!0,enumerable:!0,dontCallGetSet:!0,forced:!0},{fetch:function(e){return N(e,arguments.length>1?ge(arguments[1]):{})}}),g(B)){var me=function(e){return h(this,F),new B(e,arguments.length>1?ge(arguments[1]):{})};F.constructor=me,me.prototype=F,r({global:!0,constructor:!0,dontCallGetSet:!0,forced:!0},{Request:me})}}e.exports={URLSearchParams:fe,getState:M}},6974:function(e,t,n){n(28112)},80845:function(e,t,n){"use strict";n(70185);var r,i=n(65609),o=n(92290),a=n(44478),s=n(82202),u=n(1912),c=n(32108),l=n(46037),f=n(80674),d=n(77423),p=n(79728),h=n(13110),g=n(4133),m=n(21960),y=n(32495).codeAt,v=n(42068),b=n(91841),_=n(34026),w=n(88163),T=n(28112),x=n(90293),S=x.set,k=x.getterFor("URL"),E=T.URLSearchParams,O=T.getState,C=s.URL,L=s.TypeError,A=s.parseInt,I=Math.floor,P=Math.pow,M=c("".charAt),R=c(/./.exec),j=c([].join),D=c(1..toString),N=c([].pop),B=c([].push),U=c("".replace),F=c([].shift),z=c("".split),H=c("".slice),Z=c("".toLowerCase),q=c([].unshift),V="Invalid scheme",W="Invalid host",G="Invalid port",$=/[a-z]/i,Y=/[\d+-.a-z]/i,K=/\d/,X=/^0x/i,Q=/^[0-7]+$/,J=/^\d+$/,ee=/^[\da-f]+$/i,te=/[\0\t\n\r #%/:<>?@[\\\]^|]/,ne=/[\0\t\n\r #/:<>?@[\\\]^|]/,re=/^[\u0000-\u0020]+|[\u0000-\u0020]+$/g,ie=/[\t\n\r]/g,oe=function(e){var t,n,r,i;if("number"==typeof e){for(t=[],n=0;n<4;n++)q(t,e%256),e=I(e/256);return j(t,".")}if("object"==typeof e){for(t="",r=function(e){for(var t=null,n=1,r=null,i=0,o=0;o<8;o++)0!==e[o]?(i>n&&(t=r,n=i),r=null,i=0):(null===r&&(r=o),++i);return i>n&&(t=r,n=i),t}(e),n=0;n<8;n++)i&&0===e[n]||(i&&(i=!1),r===n?(t+=n?":":"::",i=!0):(t+=D(e[n],16),n<7&&(t+=":")));return"["+t+"]"}return e},ae={},se=h({},ae,{" ":1,'"':1,"<":1,">":1,"`":1}),ue=h({},se,{"#":1,"?":1,"{":1,"}":1}),ce=h({},ue,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),le=function(e,t){var n=y(e,0);return n>32&&n<127&&!p(t,e)?e:encodeURIComponent(e)},fe={ftp:21,file:null,http:80,https:443,ws:80,wss:443},de=function(e,t){var n;return 2==e.length&&R($,M(e,0))&&(":"==(n=M(e,1))||!t&&"|"==n)},pe=function(e){var t;return e.length>1&&de(H(e,0,2))&&(2==e.length||"/"===(t=M(e,2))||"\\"===t||"?"===t||"#"===t)},he=function(e){return"."===e||"%2e"===Z(e)},ge={},me={},ye={},ve={},be={},_e={},we={},Te={},xe={},Se={},ke={},Ee={},Oe={},Ce={},Le={},Ae={},Ie={},Pe={},Me={},Re={},je={},De=function(e,t,n){var r,i,o,a=b(e);if(t){if(i=this.parse(a))throw L(i);this.searchParams=null}else{if(void 0!==n&&(r=new De(n,!0)),i=this.parse(a,null,r))throw L(i);(o=O(new E)).bindURL(this),this.searchParams=o}};De.prototype={type:"URL",parse:function(e,t,n){var i,o,a,s,u,c=this,l=t||ge,f=0,d="",h=!1,y=!1,v=!1;for(e=b(e),t||(c.scheme="",c.username="",c.password="",c.host=null,c.port=null,c.path=[],c.query=null,c.fragment=null,c.cannotBeABaseURL=!1,e=U(e,re,"")),e=U(e,ie,""),i=g(e);f<=i.length;){switch(o=i[f],l){case ge:if(!o||!R($,o)){if(t)return V;l=ye;continue}d+=Z(o),l=me;break;case me:if(o&&(R(Y,o)||"+"==o||"-"==o||"."==o))d+=Z(o);else{if(":"!=o){if(t)return V;d="",l=ye,f=0;continue}if(t&&(c.isSpecial()!=p(fe,d)||"file"==d&&(c.includesCredentials()||null!==c.port)||"file"==c.scheme&&!c.host))return;if(c.scheme=d,t)return void(c.isSpecial()&&fe[c.scheme]==c.port&&(c.port=null));d="","file"==c.scheme?l=Ce:c.isSpecial()&&n&&n.scheme==c.scheme?l=ve:c.isSpecial()?l=Te:"/"==i[f+1]?(l=be,f++):(c.cannotBeABaseURL=!0,B(c.path,""),l=Me)}break;case ye:if(!n||n.cannotBeABaseURL&&"#"!=o)return V;if(n.cannotBeABaseURL&&"#"==o){c.scheme=n.scheme,c.path=m(n.path),c.query=n.query,c.fragment="",c.cannotBeABaseURL=!0,l=je;break}l="file"==n.scheme?Ce:_e;continue;case ve:if("/"!=o||"/"!=i[f+1]){l=_e;continue}l=xe,f++;break;case be:if("/"==o){l=Se;break}l=Pe;continue;case _e:if(c.scheme=n.scheme,o==r)c.username=n.username,c.password=n.password,c.host=n.host,c.port=n.port,c.path=m(n.path),c.query=n.query;else if("/"==o||"\\"==o&&c.isSpecial())l=we;else if("?"==o)c.username=n.username,c.password=n.password,c.host=n.host,c.port=n.port,c.path=m(n.path),c.query="",l=Re;else{if("#"!=o){c.username=n.username,c.password=n.password,c.host=n.host,c.port=n.port,c.path=m(n.path),c.path.length--,l=Pe;continue}c.username=n.username,c.password=n.password,c.host=n.host,c.port=n.port,c.path=m(n.path),c.query=n.query,c.fragment="",l=je}break;case we:if(!c.isSpecial()||"/"!=o&&"\\"!=o){if("/"!=o){c.username=n.username,c.password=n.password,c.host=n.host,c.port=n.port,l=Pe;continue}l=Se}else l=xe;break;case Te:if(l=xe,"/"!=o||"/"!=M(d,f+1))continue;f++;break;case xe:if("/"!=o&&"\\"!=o){l=Se;continue}break;case Se:if("@"==o){h&&(d="%40"+d),h=!0,a=g(d);for(var _=0;_<a.length;_++){var w=a[_];if(":"!=w||v){var T=le(w,ce);v?c.password+=T:c.username+=T}else v=!0}d=""}else if(o==r||"/"==o||"?"==o||"#"==o||"\\"==o&&c.isSpecial()){if(h&&""==d)return"Invalid authority";f-=g(d).length+1,d="",l=ke}else d+=o;break;case ke:case Ee:if(t&&"file"==c.scheme){l=Ae;continue}if(":"!=o||y){if(o==r||"/"==o||"?"==o||"#"==o||"\\"==o&&c.isSpecial()){if(c.isSpecial()&&""==d)return W;if(t&&""==d&&(c.includesCredentials()||null!==c.port))return;if(s=c.parseHost(d))return s;if(d="",l=Ie,t)return;continue}"["==o?y=!0:"]"==o&&(y=!1),d+=o}else{if(""==d)return W;if(s=c.parseHost(d))return s;if(d="",l=Oe,t==Ee)return}break;case Oe:if(!R(K,o)){if(o==r||"/"==o||"?"==o||"#"==o||"\\"==o&&c.isSpecial()||t){if(""!=d){var x=A(d,10);if(x>65535)return G;c.port=c.isSpecial()&&x===fe[c.scheme]?null:x,d=""}if(t)return;l=Ie;continue}return G}d+=o;break;case Ce:if(c.scheme="file","/"==o||"\\"==o)l=Le;else{if(!n||"file"!=n.scheme){l=Pe;continue}if(o==r)c.host=n.host,c.path=m(n.path),c.query=n.query;else if("?"==o)c.host=n.host,c.path=m(n.path),c.query="",l=Re;else{if("#"!=o){pe(j(m(i,f),""))||(c.host=n.host,c.path=m(n.path),c.shortenPath()),l=Pe;continue}c.host=n.host,c.path=m(n.path),c.query=n.query,c.fragment="",l=je}}break;case Le:if("/"==o||"\\"==o){l=Ae;break}n&&"file"==n.scheme&&!pe(j(m(i,f),""))&&(de(n.path[0],!0)?B(c.path,n.path[0]):c.host=n.host),l=Pe;continue;case Ae:if(o==r||"/"==o||"\\"==o||"?"==o||"#"==o){if(!t&&de(d))l=Pe;else if(""==d){if(c.host="",t)return;l=Ie}else{if(s=c.parseHost(d))return s;if("localhost"==c.host&&(c.host=""),t)return;d="",l=Ie}continue}d+=o;break;case Ie:if(c.isSpecial()){if(l=Pe,"/"!=o&&"\\"!=o)continue}else if(t||"?"!=o)if(t||"#"!=o){if(o!=r&&(l=Pe,"/"!=o))continue}else c.fragment="",l=je;else c.query="",l=Re;break;case Pe:if(o==r||"/"==o||"\\"==o&&c.isSpecial()||!t&&("?"==o||"#"==o)){if(".."===(u=Z(u=d))||"%2e."===u||".%2e"===u||"%2e%2e"===u?(c.shortenPath(),"/"==o||"\\"==o&&c.isSpecial()||B(c.path,"")):he(d)?"/"==o||"\\"==o&&c.isSpecial()||B(c.path,""):("file"==c.scheme&&!c.path.length&&de(d)&&(c.host&&(c.host=""),d=M(d,0)+":"),B(c.path,d)),d="","file"==c.scheme&&(o==r||"?"==o||"#"==o))for(;c.path.length>1&&""===c.path[0];)F(c.path);"?"==o?(c.query="",l=Re):"#"==o&&(c.fragment="",l=je)}else d+=le(o,ue);break;case Me:"?"==o?(c.query="",l=Re):"#"==o?(c.fragment="",l=je):o!=r&&(c.path[0]+=le(o,ae));break;case Re:t||"#"!=o?o!=r&&("'"==o&&c.isSpecial()?c.query+="%27":c.query+="#"==o?"%23":le(o,ae)):(c.fragment="",l=je);break;case je:o!=r&&(c.fragment+=le(o,se))}f++}},parseHost:function(e){var t,n,r;if("["==M(e,0)){if("]"!=M(e,e.length-1))return W;if(t=function(e){var t,n,r,i,o,a,s,u=[0,0,0,0,0,0,0,0],c=0,l=null,f=0,d=function(){return M(e,f)};if(":"==d()){if(":"!=M(e,1))return;f+=2,l=++c}for(;d();){if(8==c)return;if(":"!=d()){for(t=n=0;n<4&&R(ee,d());)t=16*t+A(d(),16),f++,n++;if("."==d()){if(0==n)return;if(f-=n,c>6)return;for(r=0;d();){if(i=null,r>0){if(!("."==d()&&r<4))return;f++}if(!R(K,d()))return;for(;R(K,d());){if(o=A(d(),10),null===i)i=o;else{if(0==i)return;i=10*i+o}if(i>255)return;f++}u[c]=256*u[c]+i,2!=++r&&4!=r||c++}if(4!=r)return;break}if(":"==d()){if(f++,!d())return}else if(d())return;u[c++]=t}else{if(null!==l)return;f++,l=++c}}if(null!==l)for(a=c-l,c=7;0!=c&&a>0;)s=u[c],u[c--]=u[l+a-1],u[l+--a]=s;else if(8!=c)return;return u}(H(e,1,-1)),!t)return W;this.host=t}else if(this.isSpecial()){if(e=v(e),R(te,e))return W;if(t=function(e){var t,n,r,i,o,a,s,u=z(e,".");if(u.length&&""==u[u.length-1]&&u.length--,(t=u.length)>4)return e;for(n=[],r=0;r<t;r++){if(""==(i=u[r]))return e;if(o=10,i.length>1&&"0"==M(i,0)&&(o=R(X,i)?16:8,i=H(i,8==o?1:2)),""===i)a=0;else{if(!R(10==o?J:8==o?Q:ee,i))return e;a=A(i,o)}B(n,a)}for(r=0;r<t;r++)if(a=n[r],r==t-1){if(a>=P(256,5-t))return null}else if(a>255)return null;for(s=N(n),r=0;r<n.length;r++)s+=n[r]*P(256,3-r);return s}(e),null===t)return W;this.host=t}else{if(R(ne,e))return W;for(t="",n=g(e),r=0;r<n.length;r++)t+=le(n[r],ae);this.host=t}},cannotHaveUsernamePasswordPort:function(){return!this.host||this.cannotBeABaseURL||"file"==this.scheme},includesCredentials:function(){return""!=this.username||""!=this.password},isSpecial:function(){return p(fe,this.scheme)},shortenPath:function(){var e=this.path,t=e.length;!t||"file"==this.scheme&&1==t&&de(e[0],!0)||e.length--},serialize:function(){var e=this,t=e.scheme,n=e.username,r=e.password,i=e.host,o=e.port,a=e.path,s=e.query,u=e.fragment,c=t+":";return null!==i?(c+="//",e.includesCredentials()&&(c+=n+(r?":"+r:"")+"@"),c+=oe(i),null!==o&&(c+=":"+o)):"file"==t&&(c+="//"),c+=e.cannotBeABaseURL?a[0]:a.length?"/"+j(a,"/"):"",null!==s&&(c+="?"+s),null!==u&&(c+="#"+u),c},setHref:function(e){var t=this.parse(e);if(t)throw L(t);this.searchParams.update()},getOrigin:function(){var e=this.scheme,t=this.port;if("blob"==e)try{return new Ne(e.path[0]).origin}catch(e){return"null"}return"file"!=e&&this.isSpecial()?e+"://"+oe(this.host)+(null!==t?":"+t:""):"null"},getProtocol:function(){return this.scheme+":"},setProtocol:function(e){this.parse(b(e)+":",ge)},getUsername:function(){return this.username},setUsername:function(e){var t=g(b(e));if(!this.cannotHaveUsernamePasswordPort()){this.username="";for(var n=0;n<t.length;n++)this.username+=le(t[n],ce)}},getPassword:function(){return this.password},setPassword:function(e){var t=g(b(e));if(!this.cannotHaveUsernamePasswordPort()){this.password="";for(var n=0;n<t.length;n++)this.password+=le(t[n],ce)}},getHost:function(){var e=this.host,t=this.port;return null===e?"":null===t?oe(e):oe(e)+":"+t},setHost:function(e){this.cannotBeABaseURL||this.parse(e,ke)},getHostname:function(){var e=this.host;return null===e?"":oe(e)},setHostname:function(e){this.cannotBeABaseURL||this.parse(e,Ee)},getPort:function(){var e=this.port;return null===e?"":b(e)},setPort:function(e){this.cannotHaveUsernamePasswordPort()||(""==(e=b(e))?this.port=null:this.parse(e,Oe))},getPathname:function(){var e=this.path;return this.cannotBeABaseURL?e[0]:e.length?"/"+j(e,"/"):""},setPathname:function(e){this.cannotBeABaseURL||(this.path=[],this.parse(e,Ie))},getSearch:function(){var e=this.query;return e?"?"+e:""},setSearch:function(e){""==(e=b(e))?this.query=null:("?"==M(e,0)&&(e=H(e,1)),this.query="",this.parse(e,Re)),this.searchParams.update()},getSearchParams:function(){return this.searchParams.facade},getHash:function(){var e=this.fragment;return e?"#"+e:""},setHash:function(e){""!=(e=b(e))?("#"==M(e,0)&&(e=H(e,1)),this.fragment="",this.parse(e,je)):this.fragment=null},update:function(){this.query=this.searchParams.serialize()||null}};var Ne=function(e){var t=d(this,Be),n=w(arguments.length,1)>1?arguments[1]:void 0,r=S(t,new De(e,!1,n));o||(t.href=r.serialize(),t.origin=r.getOrigin(),t.protocol=r.getProtocol(),t.username=r.getUsername(),t.password=r.getPassword(),t.host=r.getHost(),t.hostname=r.getHostname(),t.port=r.getPort(),t.pathname=r.getPathname(),t.search=r.getSearch(),t.searchParams=r.getSearchParams(),t.hash=r.getHash())},Be=Ne.prototype,Ue=function(e,t){return{get:function(){return k(this)[e]()},set:t&&function(e){return k(this)[t](e)},configurable:!0,enumerable:!0}};if(o&&(f(Be,"href",Ue("serialize","setHref")),f(Be,"origin",Ue("getOrigin")),f(Be,"protocol",Ue("getProtocol","setProtocol")),f(Be,"username",Ue("getUsername","setUsername")),f(Be,"password",Ue("getPassword","setPassword")),f(Be,"host",Ue("getHost","setHost")),f(Be,"hostname",Ue("getHostname","setHostname")),f(Be,"port",Ue("getPort","setPort")),f(Be,"pathname",Ue("getPathname","setPathname")),f(Be,"search",Ue("getSearch","setSearch")),f(Be,"searchParams",Ue("getSearchParams")),f(Be,"hash",Ue("getHash","setHash"))),l(Be,"toJSON",(function(){return k(this).serialize()}),{enumerable:!0}),l(Be,"toString",(function(){return k(this).serialize()}),{enumerable:!0}),C){var Fe=C.createObjectURL,ze=C.revokeObjectURL;Fe&&l(Ne,"createObjectURL",u(Fe,C)),ze&&l(Ne,"revokeObjectURL",u(ze,C))}_(Ne,"URL"),i({global:!0,constructor:!0,forced:!a,sham:!o},{URL:Ne})},89291:function(e,t,n){n(80845)},74710:function(){},80988:function(e,t,n){var r=n(89508);e.exports=r},59092:function(e,t,n){var r=n(10197);e.exports=r},74203:function(e,t,n){var r=n(53199);e.exports=r},62071:function(e,t,n){var r=n(36906);e.exports=r},20564:function(e,t,n){var r=n(41297);e.exports=r},97520:function(e,t,n){var r=n(82157);e.exports=r},533:function(e,t,n){var r=n(60047);n(57394),e.exports=r},38006:function(e,t,n){var r=n(23009);e.exports=r},77234:function(e,t,n){var r=n(78894);e.exports=r},18234:function(e,t,n){var r=n(15473);e.exports=r},21527:function(e,t,n){var r=n(90488);e.exports=r},12702:function(e,t,n){n(57394);var r=n(50176),i=n(79728),o=n(41535),a=n(74203),s=Array.prototype,u={DOMTokenList:!0,NodeList:!0};e.exports=function(e){var t=e.entries;return e===s||o(s,e)&&t===s.entries||i(u,r(e))?a:t}},56053:function(e,t,n){var r=n(42774);e.exports=r},42690:function(e,t,n){var r=n(74760);e.exports=r},97318:function(e,t,n){var r=n(91093);e.exports=r},46545:function(e,t,n){var r=n(52246);e.exports=r},1597:function(e,t,n){n(57394);var r=n(50176),i=n(79728),o=n(41535),a=n(62071),s=Array.prototype,u={DOMTokenList:!0,NodeList:!0};e.exports=function(e){var t=e.forEach;return e===s||o(s,e)&&t===s.forEach||i(u,r(e))?a:t}},76788:function(e,t,n){var r=n(23163);e.exports=r},58015:function(e,t,n){var r=n(97993);e.exports=r},10320:function(e,t,n){n(57394);var r=n(50176),i=n(79728),o=n(41535),a=n(20564),s=Array.prototype,u={DOMTokenList:!0,NodeList:!0};e.exports=function(e){var t=e.keys;return e===s||o(s,e)&&t===s.keys||i(u,r(e))?a:t}},11787:function(e,t,n){var r=n(51597);e.exports=r},69213:function(e,t,n){var r=n(27893);e.exports=r},844:function(e,t,n){var r=n(77276);e.exports=r},65012:function(e,t,n){var r=n(12066);e.exports=r},60073:function(e,t,n){var r=n(19721);e.exports=r},20996:function(e,t,n){var r=n(5783);e.exports=r},87935:function(e,t,n){var r=n(27866);e.exports=r},13437:function(e,t,n){n(57394);var r=n(50176),i=n(79728),o=n(41535),a=n(97520),s=Array.prototype,u={DOMTokenList:!0,NodeList:!0};e.exports=function(e){var t=e.values;return e===s||o(s,e)&&t===s.values||i(u,r(e))?a:t}},55085:function(e,t,n){var r=n(68563);e.exports=r},91156:function(e,t,n){var r=n(72627);n(57394),e.exports=r},96256:function(e,t,n){var r=n(3456);e.exports=r},4817:function(e,t,n){var r=n(55727);e.exports=r},39795:function(e,t,n){var r=n(83070);e.exports=r},112:function(e,t,n){var r=n(54358);e.exports=r},62586:function(e,t,n){var r=n(89345);e.exports=r},67837:function(e,t,n){var r=n(65028);e.exports=r},70216:function(e,t,n){var r=n(10273);e.exports=r},77426:function(e,t,n){var r=n(19999);e.exports=r},94998:function(e,t,n){var r=n(14116);e.exports=r},21845:function(e,t,n){var r=n(70060);e.exports=r},89281:function(e,t,n){var r=n(24573);e.exports=r},63353:function(e,t,n){var r=n(33298);e.exports=r},41930:function(e,t,n){var r=n(68561);e.exports=r},18350:function(e,t,n){var r=n(69304);e.exports=r},35802:function(e,t,n){var r=n(50688);e.exports=r},52102:function(e,t,n){var r=n(84802);e.exports=r},24033:function(e,t,n){var r=n(76929);e.exports=r},75049:function(e,t,n){var r=n(46660);e.exports=r},63802:function(e,t,n){var r=n(15716);n(57394),e.exports=r},12998:function(e,t,n){var r=n(35025);e.exports=r},43296:function(e,t,n){var r=n(27313);e.exports=r},86272:function(e,t,n){var r=n(78284);e.exports=r},86775:function(e,t,n){var r=n(70284);n(57394),e.exports=r},36866:function(e,t,n){var r=n(49457);n(57394),e.exports=r},17276:function(e,t,n){var r=n(71080);n(57394),e.exports=r},97698:function(e,t,n){var r=n(8025);e.exports=r},41314:function(e,t,n){var r=n(63898);n(57394),e.exports=r},34883:function(e,t,n){var r=n(10360);e.exports=r},78212:function(e,t,n){var r=n(37836);n(57394),e.exports=r},35025:function(e,t,n){n(47220);var r=n(5058);e.exports=r.queueMicrotask},63898:function(e,t,n){n(6974);var r=n(5058);e.exports=r.URLSearchParams},10360:function(e,t,n){n(89291),n(74710),n(6974);var r=n(5058);e.exports=r.URL},22851:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BLANK_URL=t.relativeFirstCharacters=t.urlSchemeRegex=t.ctrlCharactersRegex=t.htmlCtrlEntityRegex=t.htmlEntitiesRegex=t.invalidProtocolRegex=void 0,t.invalidProtocolRegex=/^([^\w]*)(javascript|data|vbscript)/im,t.htmlEntitiesRegex=/&#(\w+)(^\w|;)?/g,t.htmlCtrlEntityRegex=/&(newline|tab);/gi,t.ctrlCharactersRegex=/[\u0000-\u001F\u007F-\u009F\u2000-\u200D\uFEFF]/gim,t.urlSchemeRegex=/^.+(:|&colon;)/gim,t.relativeFirstCharacters=[".","/"],t.BLANK_URL="about:blank"},17967:function(e,t,n){"use strict";t.N=void 0;var r=n(22851);t.N=function(e){if(!e)return r.BLANK_URL;var t,n=(t=e,t.replace(r.ctrlCharactersRegex,"").replace(r.htmlEntitiesRegex,(function(e,t){return String.fromCharCode(t)}))).replace(r.htmlCtrlEntityRegex,"").replace(r.ctrlCharactersRegex,"").trim();if(!n)return r.BLANK_URL;if(function(e){return r.relativeFirstCharacters.indexOf(e[0])>-1}(n))return n;var i=n.match(r.urlSchemeRegex);if(!i)return n;var o=i[0];return r.invalidProtocolRegex.test(o)?r.BLANK_URL:n}},14201:function(e,t,n){"use strict";n.d(t,{fy:function(){return Kt}});var r={log:"log",debug:"debug",info:"info",warn:"warn",error:"error"},i=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];Object.prototype.hasOwnProperty.call(r,e)||(e=r.log),i[e].apply(i,t)};function o(e,t){return function(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];try{return e.apply(void 0,n)}catch(e){i.error(t,e)}}}i.debug=console.debug.bind(console),i.log=console.log.bind(console),i.info=console.info.bind(console),i.warn=console.warn.bind(console),i.error=console.error.bind(console);var a,s=function(e,t,n){if(n||2===arguments.length)for(var r,i=0,o=t.length;i<o;i++)!r&&i in t||(r||(r=Array.prototype.slice.call(t,0,i)),r[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))},u=!1;function c(e){u=e}function l(e,t,n){var r=n.value;n.value=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=a?f(r):r;return n.apply(this,e)}}function f(e){return function(){return d(e,this,arguments)}}function d(e,t,n){try{return e.apply(t,n)}catch(e){if(p(r.error,e),a)try{a(e)}catch(e){p(r.error,e)}}}function p(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];u&&i.apply(void 0,s([e,"[MONITOR]"],t,!1))}var h=1e3,g=6e4;function m(e,t,n){var r,i,o=!n||void 0===n.leading||n.leading,a=!n||void 0===n.trailing||n.trailing,s=!1;return{throttled:function(){for(var n=[],u=0;u<arguments.length;u++)n[u]=arguments[u];s?r=n:(o?e.apply(void 0,n):r=n,s=!0,i=setTimeout((function(){a&&r&&e.apply(void 0,r),s=!1,r=void 0}),t))},cancel:function(){clearTimeout(i),s=!1,r=void 0}}}function y(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return t.forEach((function(t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})),e}function v(e){return e?(parseInt(e,10)^16*Math.random()>>parseInt(e,10)/4).toString(16):"".concat(1e7,"-").concat(1e3,"-").concat(4e3,"-").concat(8e3,"-").concat(1e11).replace(/[018]/g,v)}function b(e){return 0!==e&&100*Math.random()<=e}function _(){}function w(e,t,n){if(null==e)return JSON.stringify(e);var r=[!1,void 0];T(e)&&(r=[!0,e.toJSON],delete e.toJSON);var i,o,a=[!1,void 0];"object"==typeof e&&T(i=Object.getPrototypeOf(e))&&(a=[!0,i.toJSON],delete i.toJSON);try{o=JSON.stringify(e,t,n)}catch(e){o="<error: unable to serialize object>"}finally{r[0]&&(e.toJSON=r[1]),a[0]&&(i.toJSON=a[1])}return o}function T(e){return"object"==typeof e&&null!==e&&Object.prototype.hasOwnProperty.call(e,"toJSON")}function x(e,t){return-1!==e.indexOf(t)}function S(e){return function(e){return"number"==typeof e}(e)&&e>=0&&e<=100}function k(e){return Object.keys(e).map((function(t){return e[t]}))}function E(){if("object"==typeof globalThis)return globalThis;Object.defineProperty(Object.prototype,"_dd_temp_",{get:function(){return this},configurable:!0});var e=_dd_temp_;return delete Object.prototype._dd_temp_,"object"!=typeof e&&(e="object"==typeof self?self:"object"==typeof window?window:{}),e}function O(e,t,n){void 0===n&&(n="");var r=e.charCodeAt(t-1),i=r>=55296&&r<=56319?t+1:t;return e.length<=i?e:"".concat(e.slice(0,i)).concat(n)}function C(e,t,n,r){return L(e,[t],n,r)}function L(e,t,n,r){var i=void 0===r?{}:r,o=i.once,a=i.capture,s=i.passive,u=f(o?function(e){l(),n(e)}:n),c=s?{capture:a,passive:s}:a;t.forEach((function(t){return e.addEventListener(t,u,c)}));var l=function(){return t.forEach((function(t){return e.removeEventListener(t,u,c)}))};return{stop:l}}function A(e,t,n){if(void 0===n&&(n=function(){if("undefined"!=typeof WeakSet){var e=new WeakSet;return{hasAlreadyBeenSeen:function(t){var n=e.has(t);return n||e.add(t),n}}}var t=[];return{hasAlreadyBeenSeen:function(e){var n=t.indexOf(e)>=0;return n||t.push(e),n}}}()),void 0===t)return e;if("object"!=typeof t||null===t)return t;if(t instanceof Date)return new Date(t.getTime());if(t instanceof RegExp){var r=t.flags||[t.global?"g":"",t.ignoreCase?"i":"",t.multiline?"m":"",t.sticky?"y":"",t.unicode?"u":""].join("");return new RegExp(t.source,r)}if(!n.hasAlreadyBeenSeen(t)){if(Array.isArray(t)){for(var i=Array.isArray(e)?e:[],o=0;o<t.length;++o)i[o]=A(i[o],t[o],n);return i}var a,s="object"==(null===(a=e)?"null":Array.isArray(a)?"array":typeof a)?e:{};for(var u in t)Object.prototype.hasOwnProperty.call(t,u)&&(s[u]=A(s[u],t[u],n));return s}}function I(e){return A(void 0,e)}function P(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];for(var r=0,i=t;r<i.length;r++){var o=i[r];null!=o&&(e=A(e,o))}return e}function M(){var e={};return{get:function(){return e},add:function(t,n){e[t]=n},remove:function(t){delete e[t]},set:function(t){e=t}}}var R,j=function(){function e(){this.buffer=[]}return e.prototype.add=function(e){this.buffer.push(e)>500&&this.buffer.splice(0,1)},e.prototype.drain=function(){this.buffer.forEach((function(e){return e()})),this.buffer.length=0},e}();function D(){return Date.now()}function N(){return performance.now()}function B(){return{relative:N(),timeStamp:D()}}function U(e,t){return t-e}function F(){return void 0===R&&(R=performance.timing.navigationStart),R}function z(){var e=E().DatadogEventBridge;if(e)return{getAllowedWebViewHosts:function(){return JSON.parse(e.getAllowedWebViewHosts())},send:function(t,n){e.send(JSON.stringify({eventType:t,event:n}))}}}function H(e){var t;void 0===e&&(e=null===(t=E().location)||void 0===t?void 0:t.hostname);var n=z();return!!n&&n.getAllowedWebViewHosts().some((function(t){var n=t.replace(/\./g,"\\.");return new RegExp("^(.+\\.)*".concat(n,"$")).test(e)}))}var Z,q,V;function W(e,t,n,r){var i=new Date;i.setTime(i.getTime()+n);var o="expires=".concat(i.toUTCString()),a=r&&r.crossSite?"none":"strict",s=r&&r.domain?";domain=".concat(r.domain):"",u=r&&r.secure?";secure":"";document.cookie="".concat(e,"=").concat(t,";").concat(o,";path=/;samesite=").concat(a).concat(s).concat(u)}function G(e){return function(e,t){var n=new RegExp("(?:^|;)\\s*".concat(t,"\\s*=\\s*([^;]+)")).exec(e);return n?n[1]:void 0}(document.cookie,e)}function $(e,t){W(e,"",0,t)}function Y(e){return!!q&&q.has(e)}function K(e){return X(e,function(e){if(e.origin)return e.origin;var t=e.host.replace(/(:80|:443)$/,"");return"".concat(e.protocol,"//").concat(t)}(window.location)).href}function X(e,t){if(function(){if(void 0!==V)return V;try{var e=new URL("http://test/path");return V="http://test/path"===e.href}catch(e){V=!1}return V}())return void 0!==t?new URL(e,t):new URL(e);if(void 0===t&&!/:/.test(e))throw new Error("Invalid URL: '".concat(e,"'"));var n=document,r=n.createElement("a");if(void 0!==t){var i=(n=document.implementation.createHTMLDocument("")).createElement("base");i.href=t,n.head.appendChild(i),n.body.appendChild(r)}return r.href=e,r}var Q="datadoghq.com",J={logs:"logs",rum:"rum",sessionReplay:"session-replay"},ee={logs:"logs",rum:"rum",sessionReplay:"replay"};function te(e,t,n){var r=e.site,i=void 0===r?Q:r,o=e.clientToken,a=i.split("."),s=a.pop(),u="".concat(J[t],".browser-intake-").concat(a.join("-"),".").concat(s),c="https://".concat(u,"/api/v2/").concat(ee[t]),l=e.proxyUrl&&K(e.proxyUrl);return{build:function(){var e="ddsource=browser"+"&ddtags=".concat(encodeURIComponent(["sdk_version:".concat("4.11.4")].concat(n).join(",")))+"&dd-api-key=".concat(o)+"&dd-evp-origin-version=".concat(encodeURIComponent("4.11.4"))+"&dd-evp-origin=browser"+"&dd-request-id=".concat(v());"rum"===t&&(e+="&batch_time=".concat(D()));var r="".concat(c,"?").concat(e);return l?"".concat(l,"?ddforward=").concat(encodeURIComponent(r)):r},buildIntakeUrl:function(){return l?"".concat(l,"?ddforward"):c},endpointType:t}}var ne=/[^a-z0-9_:./-]/;function re(e,t){var n=200-e.length-1;(t.length>n||ne.test(t))&&i.warn("".concat(e," value doesn't meet tag requirements and will be sanitized"));var r=t.replace(/,/g,"_");return"".concat(e,":").concat(r)}function ie(e){var t=function(e){var t=e.env,n=e.service,r=e.version,i=e.datacenter,o=[];return t&&o.push(re("env",t)),n&&o.push(re("service",n)),r&&o.push(re("version",r)),i&&o.push(re("datacenter",i)),o}(e),n=function(e,t){return{logsEndpointBuilder:te(e,"logs",t),rumEndpointBuilder:te(e,"rum",t),sessionReplayEndpointBuilder:te(e,"sessionReplay",t)}}(e,t),r=k(n).map((function(e){return e.buildIntakeUrl()})),i=function(e,t,n){if(!e.replica)return;var r=y({},e,{site:Q,clientToken:e.replica.clientToken}),i={logsEndpointBuilder:te(r,"logs",n),rumEndpointBuilder:te(r,"rum",n)};return t.push.apply(t,k(i).map((function(e){return e.buildIntakeUrl()}))),y({applicationId:e.replica.applicationId},i)}(e,r,t);return y({isIntakeUrl:function(e){return r.some((function(t){return 0===e.indexOf(t)}))},replica:i,site:e.site||Q},n)}function oe(e){var t,n;if(e&&e.clientToken)if(void 0===e.sampleRate||S(e.sampleRate)){var r;if(void 0===e.telemetrySampleRate||S(e.telemetrySampleRate))return r=e.enableExperimentalFeatures,Array.isArray(r)&&(q||(q=new Set(r)),r.filter((function(e){return"string"==typeof e})).forEach((function(e){q.add(e)}))),y({beforeSend:e.beforeSend&&o(e.beforeSend,"beforeSend threw an error:"),cookieOptions:ae(e),sampleRate:null!==(t=e.sampleRate)&&void 0!==t?t:100,telemetrySampleRate:null!==(n=e.telemetrySampleRate)&&void 0!==n?n:20,service:e.service,silentMultipleInit:!!e.silentMultipleInit,batchBytesLimit:Y("lower-batch-size")?10240:16384,eventRateLimiterThreshold:3e3,maxTelemetryEventsPerPage:15,flushTimeout:3e4,batchMessagesLimit:50,messageBytesLimit:262144},ie(e));i.error("Telemetry Sample Rate should be a number between 0 and 100")}else i.error("Sample Rate should be a number between 0 and 100");else i.error("Client Token is not configured, we will not send any data.")}function ae(e){var t={};return t.secure=function(e){return!!e.useSecureSessionCookie||!!e.useCrossSiteSessionCookie}(e),t.crossSite=!!e.useCrossSiteSessionCookie,e.trackSessionAcrossSubdomains&&(t.domain=function(){if(void 0===Z){for(var e="dd_site_test_".concat(v()),t=window.location.hostname.split("."),n=t.pop();t.length&&!G(e);)n="".concat(t.pop(),".").concat(n),W(e,"test",h,{domain:n});$(e,{domain:n}),Z=n}return Z}()),t}var se="?";function ue(e){var t=[],n=he(e,"stack");return n&&n.split("\n").forEach((function(e){var n=function(e){var t=ce.exec(e);if(!t)return;var n=t[2]&&0===t[2].indexOf("native"),r=t[2]&&0===t[2].indexOf("eval"),i=le.exec(t[2]);r&&i&&(t[2]=i[1],t[3]=i[2],t[4]=i[3]);return{args:n?[t[2]]:[],column:t[4]?+t[4]:void 0,func:t[1]||se,line:t[3]?+t[3]:void 0,url:n?void 0:t[2]}}(e)||function(e){var t=fe.exec(e);if(!t)return;return{args:[],column:t[4]?+t[4]:void 0,func:t[1]||se,line:+t[3],url:t[2]}}(e)||function(e){var t=de.exec(e);if(!t)return;var n=t[3]&&t[3].indexOf(" > eval")>-1,r=pe.exec(t[3]);n&&r&&(t[3]=r[1],t[4]=r[2],t[5]=void 0);return{args:t[2]?t[2].split(","):[],column:t[5]?+t[5]:void 0,func:t[1]||se,line:t[4]?+t[4]:void 0,url:t[3]}}(e);n&&(!n.func&&n.line&&(n.func=se),t.push(n))})),{message:he(e,"message"),name:he(e,"name"),stack:t}}var ce=/^\s*at (.*?) ?\(((?:file|https?|blob|chrome-extension|native|eval|webpack|<anonymous>|\/).*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,le=/\((\S*)(?::(\d+))(?::(\d+))\)/;var fe=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|webpack|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i;var de=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)((?:file|https?|blob|chrome|webpack|resource|capacitor|\[native).*?|[^@]*bundle)(?::(\d+))?(?::(\d+))?\s*$/i,pe=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i;function he(e,t){if("object"==typeof e&&e&&t in e){var n=e[t];return"string"==typeof n?n:void 0}}var ge="agent",me="console",ye="logger",ve="network",be="source",_e="report";function we(e){var t=Te(e);return e.stack.forEach((function(e){var n="?"===e.func?"<anonymous>":e.func,r=e.args&&e.args.length>0?"(".concat(e.args.join(", "),")"):"",i=e.line?":".concat(e.line):"",o=e.line&&e.column?":".concat(e.column):"";t+="\n  at ".concat(n).concat(r," @ ").concat(e.url).concat(i).concat(o)})),t}function Te(e){return"".concat(e.name||"Error",": ").concat(e.message)}function xe(){var e,t=new Error;if(!t.stack)try{throw t}catch(e){}return d((function(){var n=ue(t);n.stack=n.stack.slice(2),e=we(n)})),e}var Se=function(){function e(e){this.onFirstSubscribe=e,this.observers=[]}return e.prototype.subscribe=function(e){var t=this;return!this.observers.length&&this.onFirstSubscribe&&(this.onLastUnsubscribe=this.onFirstSubscribe()||void 0),this.observers.push(e),{unsubscribe:function(){t.observers=t.observers.filter((function(t){return e!==t})),!t.observers.length&&t.onLastUnsubscribe&&t.onLastUnsubscribe()}}},e.prototype.notify=function(e){this.observers.forEach((function(t){return t(e)}))},e}();function ke(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=new Se((function(){var t=e.map((function(e){return e.subscribe((function(e){return n.notify(e)}))}));return function(){return t.forEach((function(e){return e.unsubscribe()}))}}));return n}var Ee={intervention:"intervention",deprecation:"deprecation",cspViolation:"csp_violation"};function Oe(e){var t,n=[];x(e,Ee.cspViolation)&&n.push(t=new Se((function(){var e=f((function(e){t.notify(function(e){var t=Ee.cspViolation,n="'".concat(e.blockedURI,"' blocked by '").concat(e.effectiveDirective,"' directive");return{type:Ee.cspViolation,subtype:e.effectiveDirective,message:"".concat(t,": ").concat(n),stack:Ce(e.effectiveDirective,"".concat(n,' of the policy "').concat(O(e.originalPolicy,100,"..."),'"'),e.sourceFile,e.lineNumber,e.columnNumber)}}(e))}));return C(document,"securitypolicyviolation",e).stop})));var r=e.filter((function(e){return e!==Ee.cspViolation}));return r.length&&n.push(function(e){var t=new Se((function(){if(window.ReportingObserver){var n=f((function(e){return e.forEach((function(e){t.notify(function(e){var t=e.type,n=e.body;return{type:t,subtype:n.id,message:"".concat(t,": ").concat(n.message),stack:Ce(n.id,n.message,n.sourceFile,n.lineNumber,n.columnNumber)}}(e))}))})),r=new window.ReportingObserver(n,{types:e,buffered:!0});return r.observe(),function(){r.disconnect()}}}));return t}(r)),ke.apply(void 0,n)}function Ce(e,t,n,r,i){return n&&we({name:e,message:t,stack:[{func:"?",url:n,line:r,column:i}]})}function Le(e,t,n){return void 0===e?[]:"all"===e||Array.isArray(e)&&e.every((function(e){return x(t,e)}))?"all"===e?t:function(e){var t=new Set;return e.forEach((function(e){return t.add(e)})),function(e){var t=[];return e.forEach((function(e){return t.push(e)})),t}(t)}(e):void i.error("".concat(n,' should be "all" or an array with allowed values "').concat(t.join('", "'),'"'))}var Ae=function(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a},Ie={debug:"debug",error:"error",info:"info",warn:"warn"},Pe="console",Me="http",Re=Object.keys(Ie),je=function(){function e(e,t,n,r,i){void 0===n&&(n=Me),void 0===r&&(r=Ie.debug),void 0===i&&(i={}),this.handleLogStrategy=e,this.handlerType=n,this.level=r,this.contextManager=M(),this.contextManager.set(y({},i,t?{logger:{name:t}}:void 0))}return e.prototype.log=function(e,t,n){void 0===n&&(n=Ie.info),this.handleLogStrategy({message:e,context:I(t),status:n},this)},e.prototype.debug=function(e,t){this.log(e,t,Ie.debug)},e.prototype.info=function(e,t){this.log(e,t,Ie.info)},e.prototype.warn=function(e,t){this.log(e,t,Ie.warn)},e.prototype.error=function(e,t){var n={error:{origin:ye}};this.log(e,P(n,t),Ie.error)},e.prototype.setContext=function(e){this.contextManager.set(e)},e.prototype.getContext=function(){return this.contextManager.get()},e.prototype.addContext=function(e,t){this.contextManager.add(e,t)},e.prototype.removeContext=function(e){this.contextManager.remove(e)},e.prototype.setHandler=function(e){this.handlerType=e},e.prototype.getHandler=function(){return this.handlerType},e.prototype.setLevel=function(e){this.level=e},e.prototype.getLevel=function(){return this.level},Ae([l],e.prototype,"log",null),e}();var De,Ne=["https://www.datadoghq-browser-agent.com","https://www.datad0g-browser-agent.com","http://localhost","<anonymous>"],Be=["ddog-gov.com"],Ue={maxEventsPerPage:0,sentEventCount:0,telemetryEnabled:!1};function Fe(e){var t,n=new Se;return Ue.telemetryEnabled=b(e.telemetrySampleRate),De=function(r){!x(Be,e.site)&&Ue.telemetryEnabled&&n.notify(function(e){return P({type:"telemetry",date:D(),service:"browser-sdk",version:"4.11.4",source:"browser",_dd:{format_version:2},telemetry:e},void 0!==t?t():{})}(r))},a=ze,y(Ue,{maxEventsPerPage:e.maxTelemetryEventsPerPage,sentEventCount:0}),{setContextProvider:function(e){t=e},observable:n}}function ze(e){He(y({status:"error"},function(e){if(e instanceof Error){var t=ue(e);return{error:{kind:t.name,stack:we(Ze(t))},message:t.message}}return{error:{stack:"Not an instance of error"},message:"Uncaught ".concat(w(e))}}(e)))}function He(e){De&&Ue.sentEventCount<Ue.maxEventsPerPage&&(Ue.sentEventCount+=1,De(e))}function Ze(e){return e.stack=e.stack.filter((function(e){return!e.url||Ne.some((function(t){return n=e.url,r=t,n.slice(0,r.length)===r;var n,r}))})),e}var qe=/[^\u0000-\u007F]/,Ve=function(){function e(e,t,n,r,i,o){void 0===o&&(o=_),this.request=e,this.batchMessagesLimit=t,this.batchBytesLimit=n,this.messageBytesLimit=r,this.flushTimeout=i,this.beforeUnloadCallback=o,this.pushOnlyBuffer=[],this.upsertBuffer={},this.bufferBytesCount=0,this.bufferMessagesCount=0,this.flushOnVisibilityHidden(),this.flushPeriodically()}return e.prototype.add=function(e){this.addOrUpdate(e)},e.prototype.upsert=function(e,t){this.addOrUpdate(e,t)},e.prototype.flush=function(e){if(0!==this.bufferMessagesCount){var t=this.pushOnlyBuffer.concat(k(this.upsertBuffer));this.request.send(t.join("\n"),this.bufferBytesCount,e),this.pushOnlyBuffer=[],this.upsertBuffer={},this.bufferBytesCount=0,this.bufferMessagesCount=0}},e.prototype.computeBytesCount=function(e){return qe.test(e)?void 0!==window.TextEncoder?(new TextEncoder).encode(e).length:new Blob([e]).size:e.length},e.prototype.addOrUpdate=function(e,t){var n=this.process(e),r=n.processedMessage,o=n.messageBytesCount;o>=this.messageBytesLimit?i.warn("Discarded a message whose size was bigger than the maximum allowed size ".concat(this.messageBytesLimit,"KB.")):(this.hasMessageFor(t)&&this.remove(t),this.willReachedBytesLimitWith(o)&&this.flush("batch_bytes_limit"),this.push(r,o,t),this.isFull()&&this.flush("batch_messages_limit"))},e.prototype.process=function(e){var t=w(e);return{processedMessage:t,messageBytesCount:this.computeBytesCount(t)}},e.prototype.push=function(e,t,n){this.bufferMessagesCount>0&&(this.bufferBytesCount+=1),void 0!==n?this.upsertBuffer[n]=e:this.pushOnlyBuffer.push(e),this.bufferBytesCount+=t,this.bufferMessagesCount+=1},e.prototype.remove=function(e){var t=this.upsertBuffer[e];delete this.upsertBuffer[e];var n=this.computeBytesCount(t);this.bufferBytesCount-=n,this.bufferMessagesCount-=1,this.bufferMessagesCount>0&&(this.bufferBytesCount-=1)},e.prototype.hasMessageFor=function(e){return void 0!==e&&void 0!==this.upsertBuffer[e]},e.prototype.willReachedBytesLimitWith=function(e){return this.bufferBytesCount+e+1>=this.batchBytesLimit},e.prototype.isFull=function(){return this.bufferMessagesCount===this.batchMessagesLimit||this.bufferBytesCount>=this.batchBytesLimit},e.prototype.flushPeriodically=function(){var e=this;setTimeout(f((function(){e.flush("batch_flush_timeout"),e.flushPeriodically()})),this.flushTimeout)},e.prototype.flushOnVisibilityHidden=function(){var e=this;navigator.sendBeacon&&(C(window,"beforeunload",this.beforeUnloadCallback),C(document,"visibilitychange",(function(){"hidden"===document.visibilityState&&e.flush("visibility_hidden")})),C(window,"beforeunload",(function(){return e.flush("before_unload")})))},e}(),We="datadog-browser-sdk-failed-send-beacon";function Ge(e,t,n){if(Y("failed-sendbeacon")){var i,o,a={reason:n,endpointType:e,version:"4.11.4",connection:navigator.connection?navigator.connection.effectiveType:void 0,onLine:navigator.onLine,size:t};"before_unload"===n||"visibility_hidden"===n?window.localStorage.setItem("".concat(We,"-").concat(v()),JSON.stringify(a)):(p(r.debug,i="failed sendBeacon",o=a),He(y({message:i,status:"debug"},o)))}}var $e=function(){function e(e,t){this.endpointBuilder=e,this.bytesLimit=t}return e.prototype.send=function(e,t,n){var r=this.endpointBuilder.build();if(!!navigator.sendBeacon&&t<this.bytesLimit)try{if(navigator.sendBeacon(r,e))return;Ge(this.endpointBuilder.endpointType,t,n)}catch(e){!function(e){Ye||(Ye=!0,ze(e))}(e)}var i=new XMLHttpRequest;i.open("POST",r,!0),i.send(e)},e}(),Ye=!1;function Ke(e,t,n){var r,i=o(t);function o(t){return new Ve(new $e(t,e.batchBytesLimit),e.batchMessagesLimit,e.batchBytesLimit,e.messageBytesLimit,e.flushTimeout)}return n&&(r=o(n)),{add:function(e,t){void 0===t&&(t=!0),i.add(e),r&&t&&r.add(e)}}}var Xe=1/0,Qe=function(){function e(e){var t=this;this.expireDelay=e,this.entries=[],this.clearOldContextsInterval=setInterval((function(){return t.clearOldContexts()}),6e4)}return e.prototype.add=function(e,t){var n=this,r={context:e,startTime:t,endTime:Xe,remove:function(){var e=n.entries.indexOf(r);e>=0&&n.entries.splice(e,1)},close:function(e){r.endTime=e}};return this.entries.unshift(r),r},e.prototype.find=function(e){void 0===e&&(e=Xe);for(var t=0,n=this.entries;t<n.length;t++){var r=n[t];if(r.startTime<=e){if(e<=r.endTime)return r.context;break}}},e.prototype.closeActive=function(e){var t=this.entries[0];t&&t.endTime===Xe&&t.close(e)},e.prototype.findAll=function(e){return void 0===e&&(e=Xe),this.entries.filter((function(t){return t.startTime<=e&&e<=t.endTime})).map((function(e){return e.context}))},e.prototype.reset=function(){this.entries=[]},e.prototype.stop=function(){clearInterval(this.clearOldContextsInterval)},e.prototype.clearOldContexts=function(){for(var e=N()-this.expireDelay;this.entries.length>0&&this.entries[this.entries.length-1].endTime<e;)this.entries.pop()},e}();var Je,et=144e5,tt=9e5,nt=/^([a-z]+)=([a-z0-9-]+)$/,rt="&",it="_dd_s",ot=[];function at(e,t){var n;if(void 0===t&&(t=0),Je||(Je=e),e===Je)if(t>=100)ct();else{var r,i=dt();if(st()){if(i.lock)return void ut(e,t);if(r=v(),i.lock=r,ft(i,e.options),(i=dt()).lock!==r)return void ut(e,t)}var o=e.process(i);if(st()&&(i=dt()).lock!==r)ut(e,t);else{if(o&&lt(o,e.options),st()&&(!o||!pt(o))){if((i=dt()).lock!==r)return void ut(e,t);delete i.lock,ft(i,e.options),o=i}null===(n=e.after)||void 0===n||n.call(e,o||i),ct()}}else ot.push(e)}function st(){return!!window.chrome||/HeadlessChrome/.test(window.navigator.userAgent)}function ut(e,t){setTimeout(f((function(){at(e,t+1)})),10)}function ct(){Je=void 0;var e=ot.shift();e&&at(e)}function lt(e,t){pt(e)?function(e){W(it,"",0,e)}(t):(e.expire=String(Date.now()+tt),ft(e,t))}function ft(e,t){W(it,function(e){return(t=e,Object.keys(t).map((function(e){return[e,t[e]]}))).map((function(e){var t=e[0],n=e[1];return"".concat(t,"=").concat(n)})).join(rt);var t}(e),tt,t)}function dt(){var e=G(it),t={};return function(e){return void 0!==e&&(-1!==e.indexOf(rt)||nt.test(e))}(e)&&e.split(rt).forEach((function(e){var n=nt.exec(e);if(null!==n){var r=n[1],i=n[2];t[r]=i}})),t}function pt(e){return t=e,0===Object.keys(t).length;var t}function ht(e,t,n){var r=new Se,i=new Se,o=setInterval(f((function(){at({options:e,process:function(e){return c(e)?void 0:{}},after:s})})),1e3),a=function(){var e=dt();if(c(e))return e;return{}}();function s(e){return c(e)||(e={}),u()&&(!function(e){return a.id!==e.id||a[t]!==e[t]}(e)?a=e:(a={},i.notify())),e}function u(){return void 0!==a[t]}function c(e){return(void 0===e.created||Date.now()-Number(e.created)<et)&&(void 0===e.expire||Date.now()<Number(e.expire))}return{expandOrRenewSession:m(f((function(){var i;at({options:e,process:function(e){var r=s(e);return i=function(e){var r=n(e[t]),i=r.trackingType,o=r.isTracked;e[t]=i,o&&!e.id&&(e.id=v(),e.created=String(Date.now()));return o}(r),r},after:function(e){i&&!u()&&function(e){a=e,r.notify()}(e),a=e}})})),1e3).throttled,expandSession:function(){at({options:e,process:function(e){return u()?s(e):void 0}})},getSession:function(){return a},renewObservable:r,expireObservable:i,stop:function(){clearInterval(o)}}}var gt=[];function mt(e,t,n){!function(e){var t=G(it),n=G("_dd"),r=G("_dd_r"),i=G("_dd_l");if(!t){var o={};n&&(o.id=n),i&&/^[01]$/.test(i)&&(o.logs=i),r&&/^[012]$/.test(r)&&(o.rum=r),lt(o,e)}}(e);var r=ht(e,t,n);gt.push((function(){return r.stop()}));var i,o=new Qe(144e5);function a(){return{id:r.getSession().id,trackingType:r.getSession()[t]}}return gt.push((function(){return o.stop()})),r.renewObservable.subscribe((function(){o.add(a(),N())})),r.expireObservable.subscribe((function(){o.closeActive(N())})),r.expandOrRenewSession(),o.add(a(),[0,F()][0]),i=L(window,["click","touchstart","keydown","scroll"],(function(){return r.expandOrRenewSession()}),{capture:!0,passive:!0}).stop,gt.push(i),function(e){var t=f((function(){"visible"===document.visibilityState&&e()})),n=C(document,"visibilitychange",t).stop;gt.push(n);var r=setInterval(t,6e4);gt.push((function(){clearInterval(r)}))}((function(){return r.expandSession()})),{findActiveSession:function(e){return o.find(e)},renewObservable:r.renewObservable,expireObservable:r.expireObservable}}var yt;function vt(e){var t=mt(e.cookieOptions,"logs",(function(t){return function(e,t){var n=function(e){return"0"===e||"1"===e}(t)?t:bt(e);return{trackingType:n,isTracked:"1"===n}}(e,t)}));return{findTrackedSession:function(e){var n=t.findActiveSession(e);return n&&"1"===n.trackingType?{id:n.id}:void 0}}}function bt(e){return b(e.sampleRate)?"1":"0"}var _t=((yt={})[Ie.debug]=0,yt[Ie.info]=1,yt[Ie.warn]=2,yt[Ie.error]=3,yt);function wt(e,t,n){var r=n.getHandler(),i=Array.isArray(r)?r:[r];return _t[e]>=_t[n.getLevel()]&&x(i,t)}function Tt(e,t,n,r,i){var o=Re.concat(["custom"]),a={};o.forEach((function(e){var r,i,o,s,u;a[e]=(r=e,i=t.eventRateLimiterThreshold,o=function(e){return function(e,t){t.notify(0,{rawLogsEvent:{message:e.message,date:e.startClocks.timeStamp,error:{origin:ge},origin:ge,status:Ie.error}})}(e,n)},s=0,u=!1,{isLimitReached:function(){if(0===s&&setTimeout((function(){s=0}),g),(s+=1)<=i||u)return u=!1,!1;if(s===i+1){u=!0;try{o({message:"Reached max number of ".concat(r,"s by minute: ").concat(i),source:ge,startClocks:B()})}finally{u=!1}}return!0}})})),n.subscribe(0,(function(o){var s,u,c,l=o.rawLogsEvent,f=o.messageContext,d=void 0===f?void 0:f,p=o.savedCommonContext,h=void 0===p?void 0:p,g=o.logger,m=void 0===g?i:g,y=l.date-F(),v=e.findTrackedSession(y);if(v){var b=h||r(),_=P({service:t.service,session_id:v.id,view:b.view},b.context,xt(y),l,m.getContext(),d);!wt(l.status,Me,m)||!1===(null===(s=t.beforeSend)||void 0===s?void 0:s.call(t,_))||(null===(u=_.error)||void 0===u?void 0:u.origin)!==ge&&(null!==(c=a[_.status])&&void 0!==c?c:a.custom).isLimitReached()||n.notify(1,_)}}))}function xt(e){var t=window.DD_RUM;return t&&t.getInternalContext?t.getInternalContext(e):void 0}var St,kt={};function Et(e){var t=e.map((function(e){return kt[e]||(kt[e]=function(e){var t=new Se((function(){var n=console[e];return console[e]=function(){for(var r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];n.apply(console,r);var o=xe();d((function(){t.notify(Ot(r,e,o))}))},function(){console[e]=n}}));return t}(e)),kt[e]}));return ke.apply(void 0,t)}function Ot(e,t,n){var i,o=e.map((function(e){return function(e){if("string"==typeof e)return e;if(e instanceof Error)return Te(ue(e));return w(e,void 0,2)}(e)})).join(" ");if(t===r.error){var a=function(e,t){for(var n=0;n<e.length;n+=1){var r=e[n];if(t(r,n,e))return r}}(e,(function(e){return e instanceof Error}));i=a?we(ue(a)):void 0,o="console error: ".concat(o)}return{api:t,message:o,stack:i,handlingStack:n}}var Ct,Lt=((St={})[r.log]=Ie.info,St[r.debug]=Ie.debug,St[r.info]=Ie.info,St[r.warn]=Ie.warn,St[r.error]=Ie.error,St);var At,It=((Ct={})[Ee.cspViolation]=Ie.error,Ct[Ee.intervention]=Ie.error,Ct[Ee.deprecation]=Ie.warn,Ct);function Pt(e,t,n){var r=e[t],i=n(r),o=function(){return i.apply(this,arguments)};return e[t]=o,{stop:function(){e[t]===o?e[t]=r:i=r}}}function Mt(e,t,n){var r=n.before,i=n.after;return Pt(e,t,(function(e){return function(){var t,n=arguments;return r&&d(r,this,n),"function"==typeof e&&(t=e.apply(this,n)),i&&d(i,this,n),t}}))}var Rt,jt=new WeakMap;function Dt(){var e;return At||(e=new Se((function(){var t=Mt(XMLHttpRequest.prototype,"open",{before:Nt}).stop,n=Mt(XMLHttpRequest.prototype,"send",{before:function(){Bt.call(this,e)}}).stop,r=Mt(XMLHttpRequest.prototype,"abort",{before:Ut}).stop;return function(){t(),n(),r()}})),At=e),At}function Nt(e,t){jt.set(this,{state:"open",method:e,url:K(t.toString())})}function Bt(e){var t=this,n=jt.get(this);if(n){var r=n;r.state="start",r.startTime=N(),r.startClocks=B(),r.isAborted=!1,r.xhr=this;var i=!1,o=Mt(this,"onreadystatechange",{before:function(){this.readyState===XMLHttpRequest.DONE&&a()}}).stop,a=f((function(){if(t.removeEventListener("loadend",a),o(),!i){i=!0;var s=n;s.state="complete",s.duration=U(r.startClocks.timeStamp,D()),s.status=t.status,e.notify(y({},s))}}));this.addEventListener("loadend",a),e.notify(r)}}function Ut(){var e=jt.get(this);e&&(e.isAborted=!0)}function Ft(){var e;return Rt||(e=new Se((function(){if(window.fetch)return Pt(window,"fetch",(function(t){return function(n,r){var i,o=d(zt,null,[e,n,r]);return o?(i=t.call(this,o.input,o.init),d(Ht,null,[e,i,o])):i=t.call(this,n,r),i}})).stop})),Rt=e),Rt}function zt(e,t,n){var r=n&&n.method||"object"==typeof t&&t.method||"GET",i=K("object"==typeof t&&t.url||t),o={state:"start",init:n,input:t,method:r,startClocks:B(),url:i};return e.notify(o),o}function Ht(e,t,n){var r=function(t){var r=n;r.state="complete",r.duration=U(r.startClocks.timeStamp,D()),"stack"in t||t instanceof Error?(r.status=0,r.isAborted=t instanceof DOMException&&t.code===DOMException.ABORT_ERR,r.error=t,e.notify(r)):"status"in t&&(r.response=t,r.responseType=t.type,r.status=t.status,r.isAborted=!1,e.notify(r))};t.then(f(r),f(r))}function Zt(e,t){var n=Dt().subscribe((function(e){"complete"===e.state&&i("xhr",e)})),r=Ft().subscribe((function(e){"complete"===e.state&&i("fetch",e)}));function i(n,r){function i(e){t.notify(0,{rawLogsEvent:{message:"".concat(Vt(n)," error ").concat(r.method," ").concat(r.url),date:r.startClocks.timeStamp,error:{origin:ve,stack:e||"Failed to load"},http:{method:r.method,status_code:r.status,url:r.url},status:Ie.error,origin:ve}})}e.isIntakeUrl(r.url)||!function(e){return 0===e.status&&"opaque"!==e.responseType}(r)&&!function(e){return e.status>=500}(r)||("xhr"in r?function(e,t,n){"string"==typeof e.response?n(qt(e.response,t)):n(e.response)}(r.xhr,e,i):r.response?function(e,t,n){window.TextDecoder?e.body?function(e,t,n){!function(e,t,n){var r=e.getReader(),i=[],o=0;function a(){r.read().then(f((function(e){e.done?s():(i.push(e.value),(o+=e.value.length)>t?s():a())})),f((function(e){return n(e)})))}function s(){var e;if(r.cancel().catch(_),1===i.length)e=i[0];else{e=new Uint8Array(o);var a=0;i.forEach((function(t){e.set(t,a),a+=t.length}))}n(void 0,e.slice(0,t),e.length>t)}a()}(e,t,(function(e,t,r){if(e)n(e);else{var i=(new TextDecoder).decode(t);r&&(i+="..."),n(void 0,i)}}))}(e.clone().body,t.requestErrorResponseLengthLimit,(function(e,t){n(e?"Unable to retrieve response: ".concat(e):t)})):n():e.clone().text().then(f((function(e){return n(qt(e,t))})),f((function(e){return n("Unable to retrieve response: ".concat(e))})))}(r.response,e,i):r.error&&function(e,t,n){n(qt(we(ue(e)),t))}(r.error,e,i))}return{stop:function(){n.unsubscribe(),r.unsubscribe()}}}function qt(e,t){return e.length>t.requestErrorResponseLengthLimit?"".concat(e.substring(0,t.requestErrorResponseLengthLimit),"..."):e}function Vt(e){return"xhr"===e?"XHR":"Fetch"}var Wt=/^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?(.*)$/;function Gt(e){var t=function(e){return Mt(window,"onerror",{before:function(t,n,r,i,o){var a;if(o)a=ue(o),e(a,o);else{var s,u={url:n,column:i,line:r},c=t;if("[object String]"==={}.toString.call(t)){var l=Wt.exec(c);l&&(s=l[1],c=l[2])}e(a={name:s,message:"string"==typeof c?c:void 0,stack:[u]},t)}}})}(e).stop,n=function(e){return Mt(window,"onunhandledrejection",{before:function(t){var n=t.reason||"Empty reason",r=ue(n);e(r,n)}})}(e).stop;return{stop:function(){t(),n()}}}function $t(e){return Gt((function(t,n){var r=function(e,t,n,r){return e&&(void 0!==e.message||t instanceof Error)?{message:e.message||"Empty message",stack:we(e),handlingStack:r,type:e.name}:{message:"".concat(n," ").concat(w(t)),stack:"No stack, consider using an instance of Error",handlingStack:r,type:e&&e.name}}(t,n,"Uncaught"),i=r.stack,o=r.message,a=r.type;e.notify({message:o,stack:i,type:a,source:be,startClocks:B(),originalError:n,handling:"unhandled"})}))}var Yt=function(){function e(){this.callbacks={}}return e.prototype.notify=function(e,t){var n=this.callbacks[e];n&&n.forEach((function(e){return e(t)}))},e.prototype.subscribe=function(e,t){var n=this;return this.callbacks[e]||(this.callbacks[e]=[]),this.callbacks[e].push(t),{unsubscribe:function(){n.callbacks[e]=n.callbacks[e].filter((function(e){return t!==e}))}}},e}();var Kt=function(e){var t,n,o=!1,a=M(),s={},u=new j,l=function(e,t,n,r){void 0===n&&(n=I(h())),void 0===r&&(r=D()),u.add((function(){return l(e,t,n,r)}))},d=function(){},p=new je((function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return l.apply(void 0,e)}));function h(){return{view:{referrer:document.referrer,url:window.location.href},context:a.get()}}return t={logger:p,init:f((function(t){if(H()&&(t=function(e){return y({},e,{clientToken:"empty"})}(t)),function(e){return!o||(e.silentMultipleInit||i.error("DD_LOGS is already initialized."),!1)}(t)){var n=function(e){var t=oe(e),n=Le(e.forwardConsoleLogs,k(r),"Forward Console Logs"),i=Le(e.forwardReports,k(Ee),"Forward Reports");if(t&&n&&i)return e.forwardErrorsToLogs&&!x(n,r.error)&&n.push(r.error),y({forwardErrorsToLogs:!1!==e.forwardErrorsToLogs,forwardConsoleLogs:n,forwardReports:i,requestErrorResponseLengthLimit:32768},t)}(t);n&&(l=e(n,h,p).handleLog,d=function(){return I(t)},u.drain(),o=!0)}})),getLoggerGlobalContext:f(a.get),setLoggerGlobalContext:f(a.set),addLoggerGlobalContext:f(a.add),removeLoggerGlobalContext:f(a.remove),createLogger:f((function(e,t){return void 0===t&&(t={}),s[e]=new je((function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return l.apply(void 0,e)}),e,t.handler,t.level,t.context),s[e]})),getLogger:f((function(e){return s[e]})),getInitConfiguration:f((function(){return d()}))},n=y({version:"4.11.4",onReady:function(e){e()}},t),Object.defineProperty(n,"_setDebug",{get:function(){return c},enumerable:!1}),n}((function(e,t,n){var o=new Yt,a=function(e){var t,n=Fe(e);if(H()){var r=z();n.observable.subscribe((function(e){return r.send("internal_telemetry",e)}))}else{var i=Ke(e,e.rumEndpointBuilder,null===(t=e.replica)||void 0===t?void 0:t.rumEndpointBuilder);n.observable.subscribe((function(t){return i.add(t,function(e){return"datad0g.com"===e.site}(e))}))}return n}(e);a.setContextProvider((function(){var e,t,n,r,i,o;return{application:{id:null===(e=xt())||void 0===e?void 0:e.application_id},session:{id:null===(t=u.findTrackedSession())||void 0===t?void 0:t.id},view:{id:null===(r=null===(n=xt())||void 0===n?void 0:n.view)||void 0===r?void 0:r.id},action:{id:null===(o=null===(i=xt())||void 0===i?void 0:i.user_action)||void 0===o?void 0:o.id}}})),Zt(e,o),function(e,t,n){void 0===n&&(n=new Se),e.forwardErrorsToLogs&&$t(n);var r=n.subscribe((function(e){t.notify(0,{rawLogsEvent:{message:e.message,date:e.startClocks.timeStamp,error:{kind:e.type,origin:be,stack:e.stack},origin:be,status:Ie.error}})}))}(e,o),function(e,t){var n=Et(e.forwardConsoleLogs).subscribe((function(e){t.notify(0,{rawLogsEvent:{date:D(),message:e.message,origin:me,error:e.api===r.error?{origin:me,stack:e.stack}:void 0,status:Lt[e.api]}})}))}(e,o),function(e,t){var n=Oe(e.forwardReports).subscribe((function(e){var n,r=e.message,i=It[e.type];i===Ie.error?n={kind:e.subtype,origin:_e,stack:e.stack}:e.stack&&(r+=" Found in ".concat(function(e){var t;return null===(t=/@ (.+)/.exec(e))||void 0===t?void 0:t[1]}(e.stack))),t.notify(0,{rawLogsEvent:{date:D(),message:r,origin:_e,error:n,status:i}})}))}(e,o);var s=function(e){return{handleLog:function(t,n,r,o){var a=t.context;wt(t.status,Pe,n)&&i(t.status,t.message,P(n.getContext(),a)),e.notify(0,{rawLogsEvent:{date:o||D(),message:t.message,status:t.status,origin:ye},messageContext:a,savedCommonContext:r,logger:n})}}}(o).handleLog,u=function(e){if(void 0===document.cookie||null===document.cookie)return!1;try{var t="dd_cookie_test_".concat(v()),n="test";W(t,n,h,e);var r=G(t)===n;return $(t,e),r}catch(e){return i.error(e),!1}}(e.cookieOptions)&&!H()?vt(e):function(e){var t="1"===bt(e)?{}:void 0;return{findTrackedSession:function(){return t}}}(e);return Tt(u,e,o,t,n),H()?function(e){var t=z();e.subscribe(1,(function(e){t.send("log",e)}))}(o):function(e,t){var n,r=Ke(e,e.logsEndpointBuilder,null===(n=e.replica)||void 0===n?void 0:n.logsEndpointBuilder);t.subscribe(1,(function(e){r.add(e)}))}(e,o),{handleLog:s}}));!function(e,t,n){var r=e[t];e[t]=n,r&&r.q&&r.q.forEach((function(e){return o(e,"onReady callback threw an error:")()}))}(E(),"DD_LOGS",Kt)},96896:function(e,t,n){"use strict";n.d(t,{v:function(){return Bi}});var r=function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},r.apply(this,arguments)};function i(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var r=Array(e),i=0;for(t=0;t<n;t++)for(var o=arguments[t],a=0,s=o.length;a<s;a++,i++)r[i]=o[a];return r}var o={log:console.log.bind(console),warn:console.warn.bind(console),error:console.error.bind(console)},a="?";function s(e){var t=[],n=p(e,"stack");return n&&n.split("\n").forEach((function(e){var n=function(e){var t=u.exec(e);if(!t)return;var n=t[2]&&0===t[2].indexOf("native"),r=t[2]&&0===t[2].indexOf("eval"),i=c.exec(t[2]);r&&i&&(t[2]=i[1],t[3]=i[2],t[4]=i[3]);return{args:n?[t[2]]:[],column:t[4]?+t[4]:void 0,func:t[1]||a,line:t[3]?+t[3]:void 0,url:n?void 0:t[2]}}(e)||function(e){var t=l.exec(e);if(!t)return;return{args:[],column:t[4]?+t[4]:void 0,func:t[1]||a,line:+t[3],url:t[2]}}(e)||function(e){var t=f.exec(e);if(!t)return;var n=t[3]&&t[3].indexOf(" > eval")>-1,r=d.exec(t[3]);n&&r&&(t[3]=r[1],t[4]=r[2],t[5]=void 0);return{args:t[2]?t[2].split(","):[],column:t[5]?+t[5]:void 0,func:t[1]||a,line:t[4]?+t[4]:void 0,url:t[3]}}(e);n&&(!n.func&&n.line&&(n.func=a),t.push(n))})),{message:p(e,"message"),name:p(e,"name"),stack:t}}var u=/^\s*at (.*?) ?\(((?:file|https?|blob|chrome-extension|native|eval|webpack|<anonymous>|\/).*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,c=/\((\S*)(?::(\d+))(?::(\d+))\)/;var l=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|webpack|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i;var f=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)((?:file|https?|blob|chrome|webpack|resource|capacitor|\[native).*?|[^@]*bundle)(?::(\d+))?(?::(\d+))?\s*$/i,d=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i;function p(e,t){if("object"==typeof e&&e&&t in e){var n=e[t];return"string"==typeof n?n:void 0}}var h,g,m=1e3,y=6e4;function v(e,t,n){var r,i,o=!n||void 0===n.leading||n.leading,a=!n||void 0===n.trailing||n.trailing,s=!1;return{throttled:function(){for(var n=[],u=0;u<arguments.length;u++)n[u]=arguments[u];s?r=n:(o?e.apply(void 0,n):r=n,s=!0,i=setTimeout((function(){a&&r&&e.apply(void 0,r),s=!1,r=void 0}),t))},cancel:function(){clearTimeout(i),s=!1,r=void 0}}}function b(e){return e?(parseInt(e,10)^16*Math.random()>>parseInt(e,10)/4).toString(16):"10000000-1000-4000-8000-100000000000".replace(/[018]/g,b)}function _(e){return 0!==e&&100*Math.random()<=e}function w(e,t){return+e.toFixed(t)}function T(){}function x(e,t,n){if(null==e)return JSON.stringify(e);var r=[!1,void 0];S(e)&&(r=[!0,e.toJSON],delete e.toJSON);var i,o,a=[!1,void 0];"object"==typeof e&&S(i=Object.getPrototypeOf(e))&&(a=[!0,i.toJSON],delete i.toJSON);try{o=JSON.stringify(e,t,n)}catch(e){o="<error: unable to serialize object>"}finally{r[0]&&(e.toJSON=r[1]),a[0]&&(i.toJSON=a[1])}return o}function S(e){return"object"==typeof e&&null!==e&&Object.prototype.hasOwnProperty.call(e,"toJSON")}function k(e,t){return-1!==e.indexOf(t)}function E(e,t){for(var n=0;n<e.length;n+=1){var r=e[n];if(t(r,n,e))return r}}function O(e){return C(e)&&e>=0&&e<=100}function C(e){return"number"==typeof e}function L(e){return Object.keys(e).map((function(t){return e[t]}))}function A(e){return Object.keys(e).map((function(t){return[t,e[t]]}))}function I(e){return 0===Object.keys(e).length}function P(){if("object"==typeof globalThis)return globalThis;Object.defineProperty(Object.prototype,"_dd_temp_",{get:function(){return this},configurable:!0});var e=_dd_temp_;return delete Object.prototype._dd_temp_,"object"!=typeof e&&(e="object"==typeof self?self:"object"==typeof window?window:{}),e}function M(e){if(e.origin)return e.origin;var t=e.host.replace(/(:80|:443)$/,"");return e.protocol+"//"+t}function R(e,t){var n=new RegExp("(?:^|;)\\s*"+t+"\\s*=\\s*([^;]+)").exec(e);return n?n[1]:void 0}function j(e,t,n,r){return D(e,[t],n,r)}function D(e,t,n,r){var i=void 0===r?{}:r,o=i.once,a=i.capture,s=i.passive,u=ce(o?function(e){l(),n(e)}:n),c=s?{capture:a,passive:s}:a;t.forEach((function(t){return e.addEventListener(t,u,c)}));var l=function(){return t.forEach((function(t){return e.removeEventListener(t,u,c)}))};return{stop:l}}function N(e,t){document.readyState===e||"complete"===document.readyState?t():j(window,"complete"===e?"load":"DOMContentLoaded",t,{once:!0})}function B(e){return null===e?"null":Array.isArray(e)?"array":typeof e}function U(e,t,n){if(void 0===n&&(n=function(){if("undefined"!=typeof WeakSet){var e=new WeakSet;return{hasAlreadyBeenSeen:function(t){var n=e.has(t);return n||e.add(t),n}}}var t=[];return{hasAlreadyBeenSeen:function(e){var n=t.indexOf(e)>=0;return n||t.push(e),n}}}()),void 0===t)return e;if("object"!=typeof t||null===t)return t;if(t instanceof Date)return new Date(t.getTime());if(t instanceof RegExp){var r=t.flags||[t.global?"g":"",t.ignoreCase?"i":"",t.multiline?"m":"",t.sticky?"y":"",t.unicode?"u":""].join("");return new RegExp(t.source,r)}if(!n.hasAlreadyBeenSeen(t)){if(Array.isArray(t)){for(var i=Array.isArray(e)?e:[],o=0;o<t.length;++o)i[o]=U(i[o],t[o],n);return i}var a="object"===B(e)?e:{};for(var s in t)Object.prototype.hasOwnProperty.call(t,s)&&(a[s]=U(a[s],t[s],n));return a}}function F(e){return U(void 0,e)}function z(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];for(var r=0,i=t;r<i.length;r++){var o=i[r];null!=o&&(e=U(e,o))}return e}!function(e){e.DOCUMENT="document",e.XHR="xhr",e.BEACON="beacon",e.FETCH="fetch",e.CSS="css",e.JS="js",e.IMAGE="image",e.FONT="font",e.MEDIA="media",e.OTHER="other"}(h||(h={})),function(e){e.FETCH="fetch",e.XHR="xhr"}(g||(g={}));var H,Z="agent",q="console",V="custom",W="source";function G(e,t,n,r){return e&&(void 0!==e.message||t instanceof Error)?{message:e.message||"Empty message",stack:$(e),handlingStack:r,type:e.name}:{message:n+" "+x(t),stack:"No stack, consider using an instance of Error",handlingStack:r,type:e&&e.name}}function $(e){var t=Y(e);return e.stack.forEach((function(e){var n="?"===e.func?"<anonymous>":e.func,r=e.args&&e.args.length>0?"("+e.args.join(", ")+")":"",i=e.line?":"+e.line:"",o=e.line&&e.column?":"+e.column:"";t+="\n  at "+n+r+" @ "+e.url+i+o})),t}function Y(e){return(e.name||"Error")+": "+e.message}function K(){var e,t=new Error;if(!t.stack)try{throw t}catch(e){}return le((function(){var n=s(t);n.stack=n.stack.slice(2),e=$(n)})),e}function X(){var e=P().DatadogEventBridge;if(e)return{getAllowedWebViewHosts:function(){return JSON.parse(e.getAllowedWebViewHosts())},send:function(t,n){e.send(JSON.stringify({eventType:t,event:n}))}}}function Q(){var e=X();return!!e&&k(e.getAllowedWebViewHosts(),window.location.hostname)}!function(e){e.HANDLED="handled",e.UNHANDLED="unhandled"}(H||(H={}));var J,ee=/[^\u0000-\u007F]/,te=function(){function e(e,t,n,r,i,o){void 0===o&&(o=T),this.request=e,this.maxSize=t,this.bytesLimit=n,this.maxMessageSize=r,this.flushTimeout=i,this.beforeUnloadCallback=o,this.pushOnlyBuffer=[],this.upsertBuffer={},this.bufferBytesSize=0,this.bufferMessageCount=0,this.flushOnVisibilityHidden(),this.flushPeriodically()}return e.prototype.add=function(e){this.addOrUpdate(e)},e.prototype.upsert=function(e,t){this.addOrUpdate(e,t)},e.prototype.flush=function(e){if(0!==this.bufferMessageCount){var t=i(this.pushOnlyBuffer,L(this.upsertBuffer));this.request.send(t.join("\n"),this.bufferBytesSize,e),this.pushOnlyBuffer=[],this.upsertBuffer={},this.bufferBytesSize=0,this.bufferMessageCount=0}},e.prototype.sizeInBytes=function(e){return ee.test(e)?void 0!==window.TextEncoder?(new TextEncoder).encode(e).length:new Blob([e]).size:e.length},e.prototype.addOrUpdate=function(e,t){var n=this.process(e),r=n.processedMessage,i=n.messageBytesSize;i>=this.maxMessageSize?o.warn("Discarded a message whose size was bigger than the maximum allowed size "+this.maxMessageSize+"KB."):(this.hasMessageFor(t)&&this.remove(t),this.willReachedBytesLimitWith(i)&&this.flush("willReachedBytesLimitWith"),this.push(r,i,t),this.isFull()&&this.flush("isFull"))},e.prototype.process=function(e){var t=x(e);return{processedMessage:t,messageBytesSize:this.sizeInBytes(t)}},e.prototype.push=function(e,t,n){this.bufferMessageCount>0&&(this.bufferBytesSize+=1),void 0!==n?this.upsertBuffer[n]=e:this.pushOnlyBuffer.push(e),this.bufferBytesSize+=t,this.bufferMessageCount+=1},e.prototype.remove=function(e){var t=this.upsertBuffer[e];delete this.upsertBuffer[e];var n=this.sizeInBytes(t);this.bufferBytesSize-=n,this.bufferMessageCount-=1,this.bufferMessageCount>0&&(this.bufferBytesSize-=1)},e.prototype.hasMessageFor=function(e){return void 0!==e&&void 0!==this.upsertBuffer[e]},e.prototype.willReachedBytesLimitWith=function(e){return this.bufferBytesSize+e+1>=this.bytesLimit},e.prototype.isFull=function(){return this.bufferMessageCount===this.maxSize||this.bufferBytesSize>=this.bytesLimit},e.prototype.flushPeriodically=function(){var e=this;setTimeout(ce((function(){e.flush("flushPeriodically"),e.flushPeriodically()})),this.flushTimeout)},e.prototype.flushOnVisibilityHidden=function(){var e=this;navigator.sendBeacon&&(j(window,"beforeunload",this.beforeUnloadCallback),j(document,"visibilitychange",(function(){"hidden"===document.visibilityState&&e.flush("visibilitychange")})),j(window,"beforeunload",(function(){return e.flush("beforeunload")})))},e}(),ne=!1,re=function(){function e(e,t){this.endpointBuilder=e,this.bytesLimit=t}return e.prototype.send=function(e,t,n){var r=this.endpointBuilder.build(),i=!!navigator.sendBeacon&&t<this.bytesLimit;if(i)try{if(navigator.sendBeacon(r,e))return}catch(e){!function(e){ie||(ie=!0,de(e))}(e)}var o=new XMLHttpRequest;o.addEventListener("loadend",ce((function(e){return function(e){var o=null==e?void 0:e.currentTarget;o.status>=200&&o.status<300||ne||(ne=!0,fe("XHR fallback failed",{on_line:navigator.onLine,size:t,url:r,try_beacon:i,flush_reason:n,event:{is_trusted:e.isTrusted,total:e.total,loaded:e.loaded},request:{status:o.status,ready_state:o.readyState,response_text:o.responseText.slice(0,512)}}))}(e)}))),o.open("POST",r,!0),o.send(e)},e}(),ie=!1;!function(e){e.info="info",e.error="error"}(J||(J={}));var oe,ae,se={maxMessagesPerPage:0,sentMessageCount:0};function ue(e){var t;if(Q()){var n=X();oe=function(e){return n.send("internal_log",i(e))}}else if(e.internalMonitoringEndpointBuilder){var r=function(e){var t,n=r(e.internalMonitoringEndpointBuilder);function r(t){return new te(new re(t,e.batchBytesLimit),e.maxBatchSize,e.batchBytesLimit,e.maxMessageSize,e.flushTimeout)}return void 0!==e.replica&&(t=r(e.replica.internalMonitoringEndpointBuilder)),{add:function(e){n.add(e),t&&t.add(e)}}}(e);oe=function(e){return r.add(i(e))}}function i(e){return z({date:(new Date).getTime()},void 0!==t?t():{},e)}return function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];t.forEach((function(t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}))}(se,{maxMessagesPerPage:e.maxInternalMonitoringMessagesPerPage,sentMessageCount:0}),{setExternalContextProvider:function(e){t=e}}}function ce(e){return function(){return le(e,this,arguments)}}function le(e,t,n){try{return e.apply(t,n)}catch(e){ge(e);try{de(e)}catch(e){ge(e)}}}function fe(e,t){!function(e,t){se.debugMode&&o.log("[MONITORING MESSAGE]",e,t)}(e,t),pe(r(r({message:e},t),{status:J.info}))}function de(e){pe(r(r({},function(e){if(e instanceof Error){var t=s(e);return{error:{kind:t.name,stack:$(t)},message:t.message}}return{error:{stack:"Not an instance of error"},message:"Uncaught "+x(e)}}(e)),{status:J.error}))}function pe(e){oe&&se.sentMessageCount<se.maxMessagesPerPage&&(se.sentMessageCount+=1,oe(e))}function he(e){se.debugMode=e}function ge(e){se.debugMode&&o.error("[INTERNAL ERROR]",e)}function me(e,t){return function(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];try{return e.apply(void 0,n)}catch(e){o.error(t,e)}}}!function(e){e.RELEASE="release",e.CANARY="canary",e.E2E_TEST="e2e-test"}(ae||(ae={}));var ye=function(){return ye=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},ye.apply(this,arguments)};var ve,be=function(){function e(){this.buffer=[]}return e.prototype.add=function(e){this.buffer.push(e)>500&&this.buffer.splice(0,1)},e.prototype.drain=function(){this.buffer.forEach((function(e){return e()})),this.buffer.length=0},e}();function _e(e){return{relative:e,timeStamp:we(e)}}function we(e){var t=Date.now()-performance.now();return t>Ce()?Math.round(t+e):function(e){return Math.round(Ce()+e)}(e)}function Te(e){return C(e)?w(1e6*e,0):e}function xe(){return Date.now()}function Se(){return performance.now()}function ke(){return{relative:Se(),timeStamp:xe()}}function Ee(){return{relative:0,timeStamp:Ce()}}function Oe(e,t){return t-e}function Ce(){return void 0===ve&&(ve=performance.timing.navigationStart),ve}var Le,Ae,Ie;function Pe(e,t,n,r){var i=new Date;i.setTime(i.getTime()+n);var o="expires="+i.toUTCString(),a=r&&r.crossSite?"none":"strict",s=r&&r.domain?";domain="+r.domain:"",u=r&&r.secure?";secure":"";document.cookie=e+"="+t+";"+o+";path=/;samesite="+a+s+u}function Me(e){return R(document.cookie,e)}function Re(e,t){Pe(e,"",0,t)}function je(e){return Ne(e,M(window.location)).href}function De(e){return M(Ne(e))}function Ne(e,t){if(function(){if(void 0!==Ie)return Ie;try{var e=new URL("http://test/path");return Ie="http://test/path"===e.href}catch(e){Ie=!1}return Ie}())return void 0!==t?new URL(e,t):new URL(e);if(void 0===t&&!/:/.test(e))throw new Error("Invalid URL: '"+e+"'");var n=document,r=n.createElement("a");if(void 0!==t){var i=(n=document.implementation.createHTMLDocument("")).createElement("base");i.href=t,n.head.appendChild(i),n.body.appendChild(r)}return r.href=e,r}var Be={logs:"logs",rum:"rum",sessionReplay:"session-replay"},Ue={logs:"logs",rum:"rum",sessionReplay:"replay"},Fe="datadoghq.com";function ze(e,t,n,r,i){var o=e.site,a=void 0===o?Fe:o,s=e.clientToken,u=a.split("."),c=u.pop(),l="https://"+(Be[n]+".browser-intake-"+u.join("-")+"."+c)+"/api/v2/"+Ue[n],f=e.proxyUrl&&je(e.proxyUrl);return{build:function(){var e="ddsource="+(i||"browser")+"&ddtags="+encodeURIComponent(["sdk_version:"+t.sdkVersion].concat(r).join(","))+"&dd-api-key="+s+"&dd-evp-origin-version="+encodeURIComponent(t.sdkVersion)+"&dd-evp-origin=browser&dd-request-id="+b();"rum"===n&&(e+="&batch_time="+xe());var o=l+"?"+e;return f?f+"?ddforward="+encodeURIComponent(o):o},buildIntakeUrl:function(){return f?f+"?ddforward":l}}}var He=/[^a-z0-9_:./-]/;function Ze(e,t){var n=200-e.length-1;return(t.length>n||He.test(t))&&o.warn(e+" value doesn't meet tag requirements and will be sanitized"),e+":"+t.replace(/,/g,"_")}function qe(e,t){var n=function(e){var t=e.env,n=e.service,r=e.version,i=e.datacenter,o=[];return t&&o.push(Ze("env",t)),n&&o.push(Ze("service",n)),r&&o.push(Ze("version",r)),i&&o.push(Ze("datacenter",i)),o}(e),i=function(e,t,n){if(t.buildMode===ae.E2E_TEST){var i=function(e){return{build:function(){return e},buildIntakeUrl:function(){return e}}};return{logsEndpointBuilder:i("<<< E2E LOGS ENDPOINT >>>"),rumEndpointBuilder:i("<<< E2E RUM ENDPOINT >>>"),sessionReplayEndpointBuilder:i("<<< E2E SESSION REPLAY ENDPOINT >>>"),internalMonitoringEndpointBuilder:i("<<< E2E INTERNAL MONITORING ENDPOINT >>>")}}var o={logsEndpointBuilder:ze(e,t,"logs",n),rumEndpointBuilder:ze(e,t,"rum",n),sessionReplayEndpointBuilder:ze(e,t,"sessionReplay",n)};if(e.internalMonitoringApiKey)return r(r({},o),{internalMonitoringEndpointBuilder:ze(r(r({},e),{clientToken:e.internalMonitoringApiKey}),t,"logs",n,"browser-agent-internal-monitoring")});return o}(e,t,n),o=L(i).map((function(e){return e.buildIntakeUrl()})),a=function(e,t,n,i){if(!e.replica)return;var o=r(r({},e),{site:Fe,clientToken:e.replica.clientToken}),a={logsEndpointBuilder:ze(o,t,"logs",i),rumEndpointBuilder:ze(o,t,"rum",i),internalMonitoringEndpointBuilder:ze(o,t,"logs",i,"browser-agent-internal-monitoring")};return n.push.apply(n,L(a).map((function(e){return e.buildIntakeUrl()}))),r({applicationId:e.replica.applicationId},a)}(e,t,o,n);return r(r({isIntakeUrl:function(e){return o.some((function(t){return 0===e.indexOf(t)}))}},i),{replica:a})}var Ve,We,Ge,$e={ALLOW:"allow",MASK:"mask",MASK_USER_INPUT:"mask-user-input"};function Ye(e,t){var n;if(e&&e.clientToken){var i;if(void 0===e.sampleRate||O(e.sampleRate))return i=e.enableExperimentalFeatures,Array.isArray(i)&&(Ae||(Ae=new Set(i)),i.filter((function(e){return"string"==typeof e})).forEach((function(e){Ae.add(e)}))),r(r({},qe(e,t)),{beforeSend:e.beforeSend&&me(e.beforeSend,"beforeSend threw an error:"),cookieOptions:Ke(e),sampleRate:null!==(n=e.sampleRate)&&void 0!==n?n:100,service:e.service,silentMultipleInit:!!e.silentMultipleInit,batchBytesLimit:16384,eventRateLimiterThreshold:3e3,maxInternalMonitoringMessagesPerPage:15,flushTimeout:3e4,maxBatchSize:50,maxMessageSize:262144});o.error("Sample Rate should be a number between 0 and 100")}else o.error("Client Token is not configured, we will not send any data.")}function Ke(e){var t={};return t.secure=function(e){return!!e.useSecureSessionCookie||!!e.useCrossSiteSessionCookie}(e),t.crossSite=!!e.useCrossSiteSessionCookie,e.trackSessionAcrossSubdomains&&(t.domain=function(){if(void 0===Le){for(var e="dd_site_test_"+b(),t=window.location.hostname.split("."),n=t.pop();t.length&&!Me(e);)n=t.pop()+"."+n,Pe(e,"test",m,{domain:n});Re(e,{domain:n}),Le=n}return Le}()),t}!function(e){e.ACTION="action",e.ERROR="error",e.LONG_TASK="long_task",e.VIEW="view",e.RESOURCE="resource"}(Ve||(Ve={})),function(e){e.INITIAL_LOAD="initial_load",e.ROUTE_CHANGE="route_change"}(We||(We={})),function(e){e.CLICK="click",e.CUSTOM="custom"}(Ge||(Ge={}));function Xe(){return Boolean(window._DATADOG_SYNTHETICS_INJECTS_RUM||Me("datadog-synthetics-injects-rum"))}var Qe={buildMode:"release",sdkVersion:"4.5.0"};var Je,et=function(){function e(e){this.onFirstSubscribe=e,this.observers=[]}return e.prototype.subscribe=function(e){var t=this;return!this.observers.length&&this.onFirstSubscribe&&(this.onLastUnsubscribe=this.onFirstSubscribe()||void 0),this.observers.push(e),{unsubscribe:function(){t.observers=t.observers.filter((function(t){return e!==t})),!t.observers.length&&t.onLastUnsubscribe&&t.onLastUnsubscribe()}}},e.prototype.notify=function(e){this.observers.forEach((function(t){return t(e)}))},e}();function tt(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=new et((function(){var t=e.map((function(e){return e.subscribe((function(e){return n.notify(e)}))}));return function(){return t.forEach((function(e){return e.unsubscribe()}))}}));return n}function nt(){var e,t=window;if(t.Zone){var n=t.Zone.__symbol__("MutationObserver");e=t[n]}return e||(e=t.MutationObserver),e}!function(e){e[e.PERFORMANCE_ENTRIES_COLLECTED=0]="PERFORMANCE_ENTRIES_COLLECTED",e[e.AUTO_ACTION_CREATED=1]="AUTO_ACTION_CREATED",e[e.AUTO_ACTION_COMPLETED=2]="AUTO_ACTION_COMPLETED",e[e.AUTO_ACTION_DISCARDED=3]="AUTO_ACTION_DISCARDED",e[e.VIEW_CREATED=4]="VIEW_CREATED",e[e.VIEW_UPDATED=5]="VIEW_UPDATED",e[e.VIEW_ENDED=6]="VIEW_ENDED",e[e.REQUEST_STARTED=7]="REQUEST_STARTED",e[e.REQUEST_COMPLETED=8]="REQUEST_COMPLETED",e[e.SESSION_EXPIRED=9]="SESSION_EXPIRED",e[e.SESSION_RENEWED=10]="SESSION_RENEWED",e[e.BEFORE_UNLOAD=11]="BEFORE_UNLOAD",e[e.RAW_RUM_EVENT_COLLECTED=12]="RAW_RUM_EVENT_COLLECTED",e[e.RUM_EVENT_COLLECTED=13]="RUM_EVENT_COLLECTED",e[e.RAW_ERROR_COLLECTED=14]="RAW_ERROR_COLLECTED"}(Je||(Je={}));var rt=function(){function e(){this.callbacks={}}return e.prototype.notify=function(e,t){var n=this.callbacks[e];n&&n.forEach((function(e){return e(t)}))},e.prototype.subscribe=function(e,t){var n=this;return this.callbacks[e]||(this.callbacks[e]=[]),this.callbacks[e].push(t),{unsubscribe:function(){n.callbacks[e]=n.callbacks[e].filter((function(e){return t!==e}))}}},e}(),it="initial_document",ot=[[h.DOCUMENT,function(e){return it===e}],[h.XHR,function(e){return"xmlhttprequest"===e}],[h.FETCH,function(e){return"fetch"===e}],[h.BEACON,function(e){return"beacon"===e}],[h.CSS,function(e,t){return/\.css$/i.test(t)}],[h.JS,function(e,t){return/\.js$/i.test(t)}],[h.IMAGE,function(e,t){return k(["image","img","icon"],e)||null!==/\.(gif|jpg|jpeg|tiff|png|svg|ico)$/i.exec(t)}],[h.FONT,function(e,t){return null!==/\.(woff|eot|woff2|ttf)$/i.exec(t)}],[h.MEDIA,function(e,t){return k(["audio","video"],e)||null!==/\.(mp3|mp4)$/i.exec(t)}]];function at(e){var t=e.name;if(!function(e){try{return!!Ne(e)}catch(e){return!1}}(t))return fe('Failed to construct URL for "'+e.name+'"'),h.OTHER;for(var n=function(e){var t=Ne(e).pathname;return"/"===t[0]?t:"/"+t}(t),r=0,i=ot;r<i.length;r++){var o=i[r],a=o[0];if((0,o[1])(e.initiatorType,n))return a}return h.OTHER}function st(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n=1;n<e.length;n+=1)if(e[n-1]>e[n])return!1;return!0}function ut(e){var t=ct(e);if(t){var n=t.startTime,r=t.fetchStart,i=t.redirectStart,o=t.redirectEnd,a=t.domainLookupStart,s=t.domainLookupEnd,u=t.connectStart,c=t.secureConnectionStart,l=t.connectEnd,f=t.requestStart,d=t.responseStart,p={download:ft(n,d,t.responseEnd),first_byte:ft(n,f,d)};return l!==r&&(p.connect=ft(n,u,l),st(u,c,l)&&(p.ssl=ft(n,c,l))),s!==r&&(p.dns=ft(n,a,s)),lt(e)&&(p.redirect=ft(n,i,o)),p}}function ct(e){if(st(e.startTime,e.fetchStart,e.domainLookupStart,e.domainLookupEnd,e.connectStart,e.connectEnd,e.requestStart,e.responseStart,e.responseEnd)){if(!lt(e))return e;var t=e.redirectStart,n=e.redirectEnd;if(t<e.startTime&&(t=e.startTime),n<e.startTime&&(n=e.fetchStart),st(e.startTime,t,n,e.fetchStart))return ye(ye({},e),{redirectEnd:n,redirectStart:t})}}function lt(e){return e.fetchStart!==e.startTime}function ft(e,t,n){return{duration:Te(Oe(t,n)),start:Te(Oe(e,t))}}function dt(e){if(e.startTime<e.responseStart)return e.decodedBodySize}function pt(e,t){return t&&!e.isIntakeUrl(t)}function ht(e){var t=function(e){var t=e.querySelector("meta[name=dd-trace-id]"),n=e.querySelector("meta[name=dd-trace-time]");return gt(t&&t.content,n&&n.content)}(e)||function(e){var t=function(e){for(var t=0;t<e.childNodes.length;t+=1){if(n=mt(e.childNodes[t]))return n}if(e.body)for(t=e.body.childNodes.length-1;t>=0;t-=1){var n,r=e.body.childNodes[t];if(n=mt(r))return n;if(!yt(r))break}}(e);if(!t)return;return gt(R(t,"trace-id"),R(t,"trace-time"))}(e);if(t&&!(t.traceTime<=Date.now()-12e4))return t.traceId}function gt(e,t){var n=t&&Number(t);if(e&&n)return{traceId:e,traceTime:n}}function mt(e){if(e&&function(e){return"#comment"===e.nodeName}(e)){var t=/^\s*DATADOG;(.*?)\s*$/.exec(e.data);if(t)return t[1]}}function yt(e){return"#text"===e.nodeName}function vt(){return void 0!==window.performance&&"getEntries"in performance}function bt(e){return window.PerformanceObserver&&void 0!==PerformanceObserver.supportedEntryTypes&&PerformanceObserver.supportedEntryTypes.includes(e)}function _t(e,t){var n;if(n=function(n){Tt(e,t,[n])},N("interactive",(function(){var e,t={entryType:"resource",initiatorType:it,traceId:ht(document)};if(bt("navigation")&&performance.getEntriesByType("navigation").length>0){var r=performance.getEntriesByType("navigation")[0];e=ye(ye({},r.toJSON()),t)}else{var i=wt();e=ye(ye(ye({},i),{decodedBodySize:0,duration:i.responseEnd,name:window.location.href,startTime:0}),t)}n(e)})),vt()&&Tt(e,t,performance.getEntries()),window.PerformanceObserver){var r=ce((function(n){return Tt(e,t,n.getEntries())})),i=["resource","navigation","longtask","paint"],o=["largest-contentful-paint","first-input","layout-shift"];try{o.forEach((function(e){new PerformanceObserver(r).observe({type:e,buffered:!0})}))}catch(e){i.push.apply(i,o)}new PerformanceObserver(r).observe({entryTypes:i}),vt()&&"addEventListener"in performance&&performance.addEventListener("resourcetimingbufferfull",(function(){performance.clearResourceTimings()}))}bt("navigation")||function(e){function t(){e(ye(ye({},wt()),{entryType:"navigation"}))}N("complete",(function(){setTimeout(ce(t))}))}((function(n){Tt(e,t,[n])})),bt("first-input")||function(e){var t=Date.now(),n=!1,r=D(window,["click","mousedown","keydown","touchstart","pointerdown"],(function(e){if(e.cancelable){var t={entryType:"first-input",processingStart:Se(),startTime:e.timeStamp};"pointerdown"===e.type?i(t):o(t)}}),{passive:!0,capture:!0}).stop;function i(e){D(window,["pointerup","pointercancel"],(function(t){"pointerup"===t.type&&o(e)}),{once:!0})}function o(i){if(!n){n=!0,r();var o=i.processingStart-i.startTime;o>=0&&o<Date.now()-t&&e(i)}}}((function(n){Tt(e,t,[n])}))}function wt(){var e={},t=performance.timing;for(var n in t)if(C(t[n])){var r=n,i=t[r];e[r]=0===i?0:i-Ce()}return e}function Tt(e,t,n){var r=n.filter((function(e){return"resource"===e.entryType||"navigation"===e.entryType||"paint"===e.entryType||"longtask"===e.entryType||"largest-contentful-paint"===e.entryType||"first-input"===e.entryType||"layout-shift"===e.entryType})).filter((function(e){return!function(e){return"navigation"===e.entryType&&e.loadEventEnd<=0}(e)&&!function(e,t){return"resource"===t.entryType&&!pt(e,t.name)}(t,e)}));r.length&&e.notify(Je.PERFORMANCE_ENTRIES_COLLECTED,r)}function xt(e,t,n){var r=0,i=!1;return{isLimitReached:function(){if(0===r&&setTimeout((function(){r=0}),y),(r+=1)<=t||i)return i=!1,!1;if(r===t+1){i=!0;try{n({message:"Reached max number of "+e+"s by minute: "+t,source:Z,startClocks:ke()})}finally{i=!1}}return!0}}}function St(e,t){for(var n=e,r=0,i=t.split(".");r<i.length;r++){var o=i[r];if(!Et(n,o))return;n=n[o]}return n}function kt(e,t,n){for(var r=e,i=t.split("."),o=0;o<i.length;o+=1){var a=i[o];if(!Et(r,a))return;o!==i.length-1?r=r[a]:r[a]=n}}function Et(e,t){return"object"==typeof e&&null!==e&&t in e}var Ot=function(){function e(e){var t=this;this.expireDelay=e,this.previousContexts=[],this.clearOldContextsInterval=setInterval((function(){return t.clearOldContexts()}),6e4)}return e.prototype.find=function(e){if(void 0===e||void 0!==this.current&&void 0!==this.currentStart&&e>=this.currentStart)return this.current;for(var t=0,n=this.previousContexts;t<n.length;t++){var r=n[t];if(e>r.endTime)break;if(e>=r.startTime)return r.context}},e.prototype.setCurrent=function(e,t){this.current=e,this.currentStart=t},e.prototype.getCurrent=function(){return this.current},e.prototype.clearCurrent=function(){this.current=void 0,this.currentStart=void 0},e.prototype.closeCurrent=function(e){void 0!==this.current&&void 0!==this.currentStart&&(this.previousContexts.unshift({endTime:e,context:this.current,startTime:this.currentStart}),this.clearCurrent())},e.prototype.clearOldContexts=function(){for(var e=Se()-this.expireDelay;this.previousContexts.length>0&&this.previousContexts[this.previousContexts.length-1].startTime<e;)this.previousContexts.pop()},e.prototype.reset=function(){this.clearCurrent(),this.previousContexts=[]},e.prototype.stop=function(){clearInterval(this.clearOldContextsInterval)},e}();var Ct=9e5,Lt=144e5;function At(e,t,n){var r=new et,i=new et,o=setInterval(ce((function(){Dt({options:e,process:function(e){return c(e)?void 0:{}},after:s})})),1e3),a=function(){var e=Ht();if(c(e))return e;return{}}();function s(e){return c(e)||(e={}),u()&&(!function(e){return a.id!==e.id||a[t]!==e[t]}(e)?a=e:(a={},i.notify())),e}function u(){return void 0!==a[t]}function c(e){return(void 0===e.created||Date.now()-Number(e.created)<Lt)&&(void 0===e.expire||Date.now()<Number(e.expire))}return{expandOrRenewSession:v(ce((function(){var i;Dt({options:e,process:function(e){var r=s(e);return i=function(e){var r=n(e[t]),i=r.trackingType,o=r.isTracked;e[t]=i,o&&!e.id&&(e.id=b(),e.created=String(Date.now()));return o}(r),r},after:function(e){i&&!u()&&function(e){a=e,r.notify()}(e),a=e}})})),1e3).throttled,expandSession:function(){Dt({options:e,process:function(e){return u()?s(e):void 0}})},getSession:function(){return a},renewObservable:r,expireObservable:i,stop:function(){clearInterval(o)}}}var It,Pt=/^([a-z]+)=([a-z0-9-]+)$/,Mt="&",Rt="_dd_s",jt=[];function Dt(e,t){var n;if(void 0===t&&(t=0),It||(It=e),e===It)if(t>=100)Ut();else{var r,i=Ht();if(Nt()){if(i.lock)return void Bt(e,t);if(r=b(),i.lock=r,zt(i,e.options),(i=Ht()).lock!==r)return void Bt(e,t)}var o=e.process(i);if(Nt()&&(i=Ht()).lock!==r)Bt(e,t);else{if(o&&Ft(o,e.options),Nt()&&(!o||!Zt(o))){if((i=Ht()).lock!==r)return void Bt(e,t);delete i.lock,zt(i,e.options),o=i}null===(n=e.after)||void 0===n||n.call(e,o||i),Ut()}}else jt.push(e)}function Nt(){return!!window.chrome||/HeadlessChrome/.test(window.navigator.userAgent)}function Bt(e,t){setTimeout(ce((function(){Dt(e,t+1)})),10)}function Ut(){It=void 0;var e=jt.shift();e&&Dt(e)}function Ft(e,t){Zt(e)?function(e){Pe(Rt,"",0,e)}(t):(e.expire=String(Date.now()+Ct),zt(e,t))}function zt(e,t){Pe(Rt,function(e){return A(e).map((function(e){return e[0]+"="+e[1]})).join(Mt)}(e),Ct,t)}function Ht(){var e=Me(Rt),t={};return function(e){return void 0!==e&&(-1!==e.indexOf(Mt)||Pt.test(e))}(e)&&e.split(Mt).forEach((function(e){var n=Pt.exec(e);if(null!==n){var r=n[1],i=n[2];t[r]=i}})),t}function Zt(e){return I(e)}var qt=[];function Vt(e,t,n){!function(e){var t=Me(Rt),n=Me("_dd"),r=Me("_dd_r"),i=Me("_dd_l");if(!t){var o={};n&&(o.id=n),i&&/^[01]$/.test(i)&&(o.logs=i),r&&/^[012]$/.test(r)&&(o.rum=r),Ft(o,e)}}(e);var r=At(e,t,n);qt.push((function(){return r.stop()}));var i,o=new Ot(144e5);function a(){return{id:r.getSession().id,trackingType:r.getSession()[t]}}return qt.push((function(){return o.stop()})),r.renewObservable.subscribe((function(){o.setCurrent(a(),Se())})),r.expireObservable.subscribe((function(){o.closeCurrent(Se())})),r.expandOrRenewSession(),o.setCurrent(a(),Ee().relative),i=D(window,["click","touchstart","keydown","scroll"],(function(){return r.expandOrRenewSession()}),{capture:!0,passive:!0}).stop,qt.push(i),function(e){var t=ce((function(){"visible"===document.visibilityState&&e()})),n=j(document,"visibilitychange",t).stop;qt.push(n);var r=setInterval(t,6e4);qt.push((function(){clearInterval(r)}))}((function(){return r.expandSession()})),{findActiveSession:function(e){return o.find(e)},renewObservable:r.renewObservable,expireObservable:r.expireObservable}}var Wt,Gt,$t;function Yt(e,t){var n=Vt(e.cookieOptions,"rum",(function(t){return function(e,t){var n;n=function(e){return e===Gt.NOT_TRACKED||e===Gt.TRACKED_REPLAY||e===Gt.TRACKED_LITE}(t)?t:_(e.sampleRate)?_(e.replaySampleRate)?Gt.TRACKED_REPLAY:Gt.TRACKED_LITE:Gt.NOT_TRACKED;return{trackingType:n,isTracked:Kt(n)}}(e,t)}));return n.expireObservable.subscribe((function(){t.notify(Je.SESSION_EXPIRED)})),n.renewObservable.subscribe((function(){t.notify(Je.SESSION_RENEWED)})),{findTrackedSession:function(e){var t=n.findActiveSession(e);if(t&&Kt(t.trackingType))return{id:t.id,hasReplayPlan:t.trackingType===Gt.TRACKED_REPLAY,hasLitePlan:t.trackingType===Gt.TRACKED_LITE}}}}function Kt(e){return e===Gt.TRACKED_LITE||e===Gt.TRACKED_REPLAY}!function(e){e[e.LITE=1]="LITE",e[e.REPLAY=2]="REPLAY"}(Wt||(Wt={})),function(e){e.NOT_TRACKED="0",e.TRACKED_REPLAY="1",e.TRACKED_LITE="2"}(Gt||(Gt={})),function(e){e.SYNTHETICS="synthetics",e.USER="user",e.CI_TEST="ci_test"}($t||($t={}));var Xt=["view.url","view.referrer","action.target.name","error.message","error.stack","error.resource.url","resource.url"],Qt=function(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var r=Array(e),i=0;for(t=0;t<n;t++)for(var o=arguments[t],a=0,s=o.length;a<s;a++,i++)r[i]=o[a];return r}(Xt,["context"]);function Jt(e,t,n,r,i,a){var s,u=function(e){t.notify(Je.RAW_ERROR_COLLECTED,{error:e})},c=((s={})[Ve.ERROR]=xt(Ve.ERROR,e.eventRateLimiterThreshold,u),s[Ve.ACTION]=xt(Ve.ACTION,e.eventRateLimiterThreshold,u),s),l=function(){var e=window._DATADOG_SYNTHETICS_PUBLIC_ID||Me("datadog-synthetics-public-id"),t=window._DATADOG_SYNTHETICS_RESULT_ID||Me("datadog-synthetics-result-id");if("string"==typeof e&&"string"==typeof t)return{test_id:e,result_id:t,injected:Xe()}}(),f=function(){var e,t=null===(e=window.Cypress)||void 0===e?void 0:e.env("traceId");if("string"==typeof t)return{test_execution_id:t}}();t.subscribe(Je.RAW_RUM_EVENT_COLLECTED,(function(s){var u,d=s.startTime,p=s.rawRumEvent,h=s.domainContext,g=s.savedCommonContext,m=s.customerContext,y=r.findView(d),v=i.findUrl(d),b=n.findTrackedSession(p.type!==Ve.VIEW?d:void 0);if(b&&y&&v){var _=r.findAction(d),w=g||a(),T={_dd:{format_version:2,drift:Math.round(Date.now()-(Ce()+performance.now())),session:{plan:b.hasReplayPlan?Wt.REPLAY:Wt.LITE},browser_sdk_version:Q()?Qe.sdkVersion:void 0},application:{id:e.applicationId},date:xe(),service:e.service,source:"browser",session:{id:b.id,type:l?$t.SYNTHETICS:f?$t.CI_TEST:$t.USER},synthetics:l,ci_test:f},x=(u=p,-1!==[Ve.ERROR,Ve.RESOURCE,Ve.LONG_TASK].indexOf(u.type)?z(T,v,y,_,p):z(T,v,y,p));x.context=z(w.context,m),"has_replay"in x.session||(x.session.has_replay=w.hasReplay),I(w.user)||(x.usr=w.user),function(e,t,n,r){var i;if(t){var a=function(e,t,n){var r=F(e),i=n(r);return t.forEach((function(t){var n=St(e,t),i=St(r,t),o=B(n),a=B(i);a===o?kt(e,t,i):"object"!==o||"undefined"!==a&&"null"!==a||kt(e,t,{})})),i}(e,e.type===Ve.VIEW?Xt:Qt,(function(e){return t(e,n)}));if(!1===a&&e.type!==Ve.VIEW)return!1;!1===a&&o.warn("Can't dismiss view events using beforeSend!")}return!(null===(i=r[e.type])||void 0===i?void 0:i.isLimitReached())}(x,e.beforeSend,h,c)&&(I(x.context)&&delete x.context,t.notify(Je.RUM_EVENT_COLLECTED,x))}}))}var en=[];function tn(){document.hasFocus()&&nn();var e,t,n=(e=nn,j(window,"focus",(function(t){t.isTrusted&&e()}))).stop,r=(t=rn,j(window,"blur",(function(e){e.isTrusted&&t()}))).stop;return{isInForegroundAt:on,selectInForegroundPeriodsFor:an,stop:function(){en=[],n(),r()}}}function nn(){if(!(en.length>2500)){var e=en[en.length-1],t=Se();void 0!==e&&void 0===e.end||en.push({start:t})}}function rn(){if(0!==en.length){var e=en[en.length-1],t=Se();void 0===e.end&&(e.end=t)}}function on(e){for(var t=en.length-1;t>=0;t--){var n=en[t];if(void 0!==n.end&&e>n.end)break;if(e>n.start&&(void 0===n.end||e<n.end))return!0}return!1}function an(e,t){for(var n=e+t,r=[],i=Math.max(0,en.length-500),o=en.length-1;o>=i;o--){var a=en[o];if(void 0!==a.end&&e>a.end)break;if(!(n<a.start)){var s=e>a.start?e:a.start,u=Oe(e,s),c=Oe(s,void 0===a.end||n<a.end?n:a.end);r.unshift({start:Te(u),duration:Te(c)})}}return r}var sn;function un(e,t,n){var r=e[t],i=n(r),o=function(){return i.apply(this,arguments)};return e[t]=o,{stop:function(){e[t]===o?e[t]=r:i=r}}}function cn(e,t,n){var r=n.before,i=n.after;return un(e,t,(function(e){return function(){var t,n=arguments;return r&&le(r,this,n),"function"==typeof e&&(t=e.apply(this,n)),i&&le(i,this,n),t}}))}var ln,fn=new WeakMap;function dn(){var e;return sn||(e=new et((function(){var t=cn(XMLHttpRequest.prototype,"open",{before:pn}).stop,n=cn(XMLHttpRequest.prototype,"send",{before:function(){hn.call(this,e)}}).stop,r=cn(XMLHttpRequest.prototype,"abort",{before:gn}).stop;return function(){t(),n(),r()}})),sn=e),sn}function pn(e,t){fn.set(this,{state:"open",method:e,url:je(t)})}function hn(e){var t=this,n=fn.get(this);if(n){var i=n;i.state="start",i.startTime=Se(),i.startClocks=ke(),i.isAborted=!1,i.xhr=this;var o=!1,a=cn(this,"onreadystatechange",{before:function(){this.readyState===XMLHttpRequest.DONE&&s()}}).stop,s=ce((function(){if(t.removeEventListener("loadend",s),a(),!o){o=!0;var u=n;u.state="complete",u.duration=Oe(i.startClocks.timeStamp,xe()),u.status=t.status,e.notify(r({},u))}}));this.addEventListener("loadend",s),e.notify(i)}}function gn(){var e=fn.get(this);e&&(e.isAborted=!0)}function mn(){var e;return ln||(e=new et((function(){if(window.fetch)return un(window,"fetch",(function(t){return function(n,r){var i,o=le(yn,null,[e,n,r]);return o?(i=t.call(this,o.input,o.init),le(vn,null,[e,i,o])):i=t.call(this,n,r),i}})).stop})),ln=e),ln}function yn(e,t,n){var r=n&&n.method||"object"==typeof t&&t.method||"GET",i=je("object"==typeof t&&t.url||t),o={state:"start",init:n,input:t,method:r,startClocks:ke(),url:i};return e.notify(o),o}function vn(e,t,n){var r=function(t){var r=n;r.state="complete",r.duration=Oe(r.startClocks.timeStamp,xe()),"stack"in t||t instanceof Error?(r.status=0,r.isAborted=t instanceof DOMException&&t.code===DOMException.ABORT_ERR,r.error=t,e.notify(r)):"status"in t&&(r.response=t,r.responseType=t.type,r.status=t.status,r.isAborted=!1,e.notify(r))};t.then(ce(r),ce(r))}function bn(e){0!==e.status||e.isAborted||(e.traceId=void 0,e.spanId=void 0)}function _n(e,t,n,r){var i;void 0!==wn()&&function(e,t){for(var n=De(t),r=0,i=e.allowedTracingOrigins;r<i.length;r++){var o=i[r];if(n===o||o instanceof RegExp&&o.test(n))return!0}return!1}(e,t.url)&&n.findTrackedSession()&&(t.traceId=new Tn,t.spanId=new Tn,r((i=t.traceId,{"x-datadog-origin":"rum","x-datadog-parent-id":t.spanId.toDecimalString(),"x-datadog-sampled":"1","x-datadog-sampling-priority":"1","x-datadog-trace-id":i.toDecimalString()})))}function wn(){return window.crypto||window.msCrypto}var Tn=function(){function e(){this.buffer=new Uint8Array(8),wn().getRandomValues(this.buffer),this.buffer[0]=127&this.buffer[0]}return e.prototype.toString=function(e){var t=this.readInt32(0),n=this.readInt32(4),r="";do{var i=t%e*4294967296+n;t=Math.floor(t/e),n=Math.floor(i/e),r=(i%e).toString(e)+r}while(t||n);return r},e.prototype.toDecimalString=function(){return this.toString(10)},e.prototype.readInt32=function(e){return 16777216*this.buffer[e]+(this.buffer[e+1]<<16)+(this.buffer[e+2]<<8)+this.buffer[e+3]},e}(),xn=1;function Sn(e,t,n){var r=function(e,t){return{clearTracingIfNeeded:bn,traceFetch:function(n){return _n(e,n,t,(function(e){var t;if(n.input instanceof Request&&!(null===(t=n.init)||void 0===t?void 0:t.headers))n.input=new Request(n.input),Object.keys(e).forEach((function(t){n.input.headers.append(t,e[t])}));else{n.init=ye({},n.init);var r=[];n.init.headers instanceof Headers?n.init.headers.forEach((function(e,t){r.push([t,e])})):Array.isArray(n.init.headers)?n.init.headers.forEach((function(e){r.push(e)})):n.init.headers&&Object.keys(n.init.headers).forEach((function(e){r.push([e,n.init.headers[e]])})),n.init.headers=r.concat(A(e))}}))},traceXhr:function(n,r){return _n(e,n,t,(function(e){Object.keys(e).forEach((function(t){r.setRequestHeader(t,e[t])}))}))}}}(t,n);!function(e,t,n){var r=dn().subscribe((function(r){var i=r;if(pt(t,i.url))switch(i.state){case"start":n.traceXhr(i,i.xhr),i.requestIndex=kn(),e.notify(Je.REQUEST_STARTED,{requestIndex:i.requestIndex});break;case"complete":n.clearTracingIfNeeded(i),e.notify(Je.REQUEST_COMPLETED,{duration:i.duration,method:i.method,requestIndex:i.requestIndex,spanId:i.spanId,startClocks:i.startClocks,status:i.status,traceId:i.traceId,type:g.XHR,url:i.url,xhr:i.xhr})}}))}(e,t,r),function(e,t,n){var r=mn().subscribe((function(r){var i=r;if(pt(t,i.url))switch(i.state){case"start":n.traceFetch(i),i.requestIndex=kn(),e.notify(Je.REQUEST_STARTED,{requestIndex:i.requestIndex});break;case"complete":n.clearTracingIfNeeded(i),e.notify(Je.REQUEST_COMPLETED,{duration:i.duration,method:i.method,requestIndex:i.requestIndex,responseType:i.responseType,spanId:i.spanId,startClocks:i.startClocks,status:i.status,traceId:i.traceId,type:g.FETCH,url:i.url,response:i.response,init:i.init,input:i.input})}}))}(e,t,r)}function kn(){var e=xn;return xn+=1,e}function En(e,t){void 0===t&&(t=T);var n={errorCount:0,longTaskCount:0,resourceCount:0,userActionCount:0},r=e.subscribe(Je.RUM_EVENT_COLLECTED,(function(e){switch(e.type){case Ve.ERROR:n.errorCount+=1,t(n);break;case Ve.ACTION:n.userActionCount+=1,t(n);break;case Ve.LONG_TASK:n.longTaskCount+=1,t(n);break;case Ve.RESOURCE:n.resourceCount+=1,t(n)}}));return{stop:function(){r.unsubscribe()},eventCounts:n}}function On(e,t,n,r){var i=function(e,t){var n=new et((function(){var n,i=[],o=0;return i.push(t.subscribe((function(){return r(o)})),e.subscribe(Je.PERFORMANCE_ENTRIES_COLLECTED,(function(e){e.some((function(e){return"resource"===e.entryType}))&&r(o)})),e.subscribe(Je.REQUEST_STARTED,(function(e){void 0===n&&(n=e.requestIndex),r(++o)})),e.subscribe(Je.REQUEST_COMPLETED,(function(e){void 0===n||e.requestIndex<n||r(--o)}))),function(){return i.forEach((function(e){return e.unsubscribe()}))}}));function r(e){n.notify({isBusy:e>0})}return n}(e,t);return function(e,t,n){var r,i=!1,o=setTimeout(ce((function(){return c({hadActivity:!1})})),100),a=n&&setTimeout(ce((function(){return c({hadActivity:!0,end:xe()})})),n),s=e.subscribe((function(e){var t=e.isBusy;clearTimeout(o),clearTimeout(r);var n=xe();t||(r=setTimeout(ce((function(){return c({hadActivity:!0,end:n})})),100))})),u=function(){i=!0,clearTimeout(o),clearTimeout(r),clearTimeout(a),s.unsubscribe()};function c(e){i||(u(),t(e))}return{stop:u}}(i,n,r)}var Cn="data-dd-action-name";function Ln(e,t){var n;if(function(){void 0===In&&(In="closest"in HTMLElement.prototype);return In}())n=e.closest("["+t+"]");else for(var r=e;r;){if(r.hasAttribute(t)){n=r;break}r=r.parentElement}if(n)return Dn(jn(n.getAttribute(t).trim()))}var An,In,Pn=[function(e,t){if(function(){void 0===An&&(An="labels"in HTMLInputElement.prototype);return An}()){if("labels"in e&&e.labels&&e.labels.length>0)return Nn(e.labels[0],t)}else if(e.id){var n=e.ownerDocument&&e.ownerDocument.querySelector('label[for="'+e.id.replace('"','\\"')+'"]');return n&&Nn(n,t)}},function(e){if("INPUT"===e.nodeName){var t=e,n=t.getAttribute("type");if("button"===n||"submit"===n||"reset"===n)return t.value}},function(e,t){if("BUTTON"===e.nodeName||"LABEL"===e.nodeName||"button"===e.getAttribute("role"))return Nn(e,t)},function(e){return e.getAttribute("aria-label")},function(e,t){var n=e.getAttribute("aria-labelledby");if(n)return n.split(/\s+/).map((function(t){return function(e,t){return e.ownerDocument?e.ownerDocument.getElementById(t):null}(e,t)})).filter((function(e){return Boolean(e)})).map((function(e){return Nn(e,t)})).join(" ")},function(e){return e.getAttribute("alt")},function(e){return e.getAttribute("name")},function(e){return e.getAttribute("title")},function(e){return e.getAttribute("placeholder")},function(e,t){if("options"in e&&e.options.length>0)return Nn(e.options[0],t)}],Mn=[function(e,t){return Nn(e,t)}];function Rn(e,t,n){for(var r=e,i=0;i<=10&&r&&"BODY"!==r.nodeName&&"HTML"!==r.nodeName&&"HEAD"!==r.nodeName;){for(var o=0,a=n;o<a.length;o++){var s=(0,a[o])(r,t);if("string"==typeof s){var u=s.trim();if(u)return Dn(jn(u))}}if("FORM"===r.nodeName)break;r=r.parentElement,i+=1}}function jn(e){return e.replace(/\s+/g," ")}function Dn(e){return e.length>100?(n=100,((r=(t=e).charCodeAt(n-1))>=55296&&r<=56319?t.slice(0,n+1):t.slice(0,n))+" [...]"):e;var t,n,r}function Nn(e,t){if(!e.isContentEditable){if("innerText"in e){var n=e.innerText,r=function(t){for(var r=e.querySelectorAll(t),i=0;i<r.length;i+=1){var o=r[i];if("innerText"in o){var a=o.innerText;a&&a.trim().length>0&&(n=n.replace(a,""))}}};return Boolean(document.documentMode)&&r("script, style"),r("[data-dd-action-name]"),t&&r("["+t+"]"),n}return e.textContent}}function Bn(e,t,n){var r=n.actionNameAttribute,i=function(e,t){var n,r;return{create:function(i,o,a){if(!n){var s=new Un(e,i,o,a);n=s,r=On(e,t,(function(e){if(e.hadActivity){var t=Oe(s.startClocks.timeStamp,e.end);t>=0?s.complete(t):s.discard()}else s.discard();n=void 0}),1e4).stop}},discardCurrent:function(){n&&(r(),n.discard(),n=void 0)}}}(e,t);e.subscribe(Je.VIEW_CREATED,(function(){i.discardCurrent()}));var o=j(window,"click",(function(e){if(e.target instanceof Element){var t,n,o=(t=e.target,n=r,Ln(t,Cn)||n&&Ln(t,n)||Rn(t,n,Pn)||Rn(t,n,Mn)||"");o&&i.create(Ge.CLICK,o,e)}}),{capture:!0}).stop;return{stop:function(){i.discardCurrent(),o()}}}var Un=function(){function e(e,t,n,r){this.lifeCycle=e,this.type=t,this.name=n,this.event=r,this.id=b(),this.startClocks=ke(),this.eventCountsSubscription=En(e),this.lifeCycle.notify(Je.AUTO_ACTION_CREATED,{id:this.id,startClocks:this.startClocks})}return e.prototype.complete=function(e){var t=this.eventCountsSubscription.eventCounts;this.lifeCycle.notify(Je.AUTO_ACTION_COMPLETED,{counts:{errorCount:t.errorCount,longTaskCount:t.longTaskCount,resourceCount:t.resourceCount},duration:e,id:this.id,name:this.name,startClocks:this.startClocks,type:this.type,event:this.event}),this.eventCountsSubscription.stop()},e.prototype.discard=function(){this.lifeCycle.notify(Je.AUTO_ACTION_DISCARDED),this.eventCountsSubscription.stop()},e}();function Fn(e,t){var n=zn(e)?{action:{error:{count:e.counts.errorCount},id:e.id,loading_time:Te(e.duration),long_task:{count:e.counts.longTaskCount},resource:{count:e.counts.resourceCount}}}:void 0,r=zn(e)?void 0:e.context,i=z({action:{id:b(),target:{name:e.name},type:e.type},date:e.startClocks.timeStamp,type:Ve.ACTION},n),o=t.isInForegroundAt(e.startClocks.relative);return void 0!==o&&(i.view={in_foreground:o}),{customerContext:r,rawRumEvent:i,startTime:e.startClocks.relative,domainContext:zn(e)?{event:e.event}:{}}}function zn(e){return e.type!==Ge.CUSTOM}var Hn=/^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?(.*)$/;function Zn(e){var t=function(e){return cn(window,"onerror",{before:function(t,n,r,i,o){var a;if(o)a=s(o),e(a,o);else{var u,c={url:n,column:i,line:r},l=t;if("[object String]"==={}.toString.call(t)){var f=Hn.exec(l);f&&(u=f[1],l=f[2])}e(a={name:u,message:"string"==typeof l?l:void 0,stack:[c]},t)}}})}(e).stop,n=function(e){return cn(window,"onunhandledrejection",{before:function(t){var n=t.reason||"Empty reason",r=s(n);e(r,n)}})}(e).stop;return{stop:function(){t(),n()}}}var qn,Vn,Wn="error",Gn={};function $n(e){var t=e.map((function(e){return Gn[e]||(Gn[e]=function(e){var t=new et((function(){var n=console[e];return console[e]=function(){for(var r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];n.apply(console,r);var o=K();le((function(){t.notify(Yn(r,e,o))}))},function(){console[e]=n}}));return t}(e)),Gn[e]}));return tt.apply(void 0,t)}function Yn(e,t,n){var r={message:i(["console "+t+":"],e).map((function(e){return function(e){if("string"==typeof e)return e;if(e instanceof Error)return Y(s(e));return x(e,void 0,2)}(e)})).join(" "),api:t};if(t===Wn){var o=E(e,(function(e){return e instanceof Error}));r.stack=o?$(s(o)):void 0,r.handlingStack=n}return r}function Kn(e,t){var n=new et;return function(e){var t=$n([Wn]).subscribe((function(t){return e.notify({startClocks:ke(),message:t.message,stack:t.stack,source:q,handling:H.HANDLED,handlingStack:t.handlingStack})}))}(n),function(e){Zn((function(t,n){var r=G(t,n,"Uncaught"),i=r.stack,o=r.message,a=r.type;e.notify({message:o,stack:i,type:a,source:W,startClocks:ke(),originalError:n,handling:H.UNHANDLED})}))}(n),n.subscribe((function(t){return e.notify(Je.RAW_ERROR_COLLECTED,{error:t})})),function(e,t){return e.subscribe(Je.RAW_ERROR_COLLECTED,(function(n){var r=n.error,i=n.customerContext,o=n.savedCommonContext;e.notify(Je.RAW_RUM_EVENT_COLLECTED,ye({customerContext:i,savedCommonContext:o},function(e,t){var n={date:e.startClocks.timeStamp,error:{id:b(),message:e.message,resource:e.resource?{method:e.resource.method,status_code:e.resource.statusCode,url:e.resource.url}:void 0,source:e.source,stack:e.stack,handling_stack:e.handlingStack,type:e.type,handling:e.handling,source_type:"browser"},type:Ve.ERROR},r=t.isInForegroundAt(e.startClocks.relative);void 0!==r&&(n.view={in_foreground:r});return{rawRumEvent:n,startTime:e.startClocks.relative,domainContext:{error:e.originalError}}}(r,t)))})),{addError:function(t,n){var r=t.error,i=t.handlingStack,o=t.startClocks,a=t.context,u=function(e,t,n){var r=e instanceof Error?s(e):void 0;return ye(ye({startClocks:n,source:V,originalError:e},G(r,e,"Provided",t)),{handling:H.HANDLED})}(r,i,o);e.notify(Je.RAW_ERROR_COLLECTED,{customerContext:a,savedCommonContext:n,error:u})}}}(e,t)}function Xn(e){if(performance&&"getEntriesByName"in performance){var t=performance.getEntriesByName(e.url,"resource");if(t.length&&"toJSON"in t[0]){var n,r=t.map((function(e){return e.toJSON()})).filter(ct).filter((function(t){return n=t,r=e.startClocks.relative,i=Qn({startTime:e.startClocks.relative,duration:e.duration}),o=1,n.startTime>=r-o&&Qn(n)<=i+o;var n,r,i,o}));return 1===r.length?r[0]:2===r.length&&Qn((n=r)[0])<=n[1].startTime?r[1]:void 0}}}function Qn(e){return e.startTime+e.duration}function Jn(e){e.subscribe(Je.REQUEST_COMPLETED,(function(t){e.notify(Je.RAW_RUM_EVENT_COLLECTED,function(e){var t=e.type===g.XHR?h.XHR:h.FETCH,n=Xn(e),r=n?_e(n.startTime):e.startClocks,i=n?tr(n):void 0,o=function(e){if(!e.traceId||!e.spanId)return;return{_dd:{span_id:e.spanId.toDecimalString(),trace_id:e.traceId.toDecimalString()}}}(e),a=z({date:r.timeStamp,resource:{id:b(),type:t,duration:Te(e.duration),method:e.method,status_code:e.status,url:e.url},type:Ve.RESOURCE},o,i);return{startTime:r.relative,rawRumEvent:a,domainContext:{performanceEntry:n&&nr(n),xhr:e.xhr,response:e.response,requestInput:e.input,requestInit:e.init,error:e.error}}}(t))})),e.subscribe(Je.PERFORMANCE_ENTRIES_COLLECTED,(function(t){for(var n=0,r=t;n<r.length;n++){var i=r[n];"resource"===i.entryType&&("xmlhttprequest"!==(o=i).initiatorType&&"fetch"!==o.initiatorType)&&e.notify(Je.RAW_RUM_EVENT_COLLECTED,er(i))}var o}))}function er(e){var t=at(e),n=tr(e),r=function(e){return e.traceId?{_dd:{trace_id:e.traceId}}:void 0}(e),i=_e(e.startTime),o=z({date:i.timeStamp,resource:{id:b(),type:t,url:e.name},type:Ve.RESOURCE},r,n);return{startTime:i.relative,rawRumEvent:o,domainContext:{performanceEntry:nr(e)}}}function tr(e){return{resource:ye({duration:(t=e,n=t.duration,r=t.startTime,i=t.responseEnd,Te(0===n&&r<i?Oe(r,i):n)),size:dt(e)},ut(e))};var t,n,r,i}function nr(e){return"function"==typeof PerformanceEntry&&e instanceof PerformanceEntry&&e.toJSON(),e}function rr(e){return void 0===e&&(e=window),qn||("hidden"===document.visibilityState?qn={timeStamp:0}:(qn={timeStamp:1/0},Vn=D(e,["pagehide","visibilitychange"],(function(e){"pagehide"!==e.type&&"hidden"!==document.visibilityState||(qn.timeStamp=e.timeStamp,Vn())}),{capture:!0}).stop)),qn}var ir=6e5;function or(e,t){var n;function r(e){n=ye(ye({},n),e),t(n)}var i=function(e,t){return{stop:e.subscribe(Je.PERFORMANCE_ENTRIES_COLLECTED,(function(e){for(var n=0,r=e;n<r.length;n++){var i=r[n];"navigation"===i.entryType&&t({domComplete:i.domComplete,domContentLoaded:i.domContentLoadedEventEnd,domInteractive:i.domInteractive,loadEvent:i.loadEventEnd})}})).unsubscribe}}(e,r).stop,o=function(e,t){var n=rr();return{stop:e.subscribe(Je.PERFORMANCE_ENTRIES_COLLECTED,(function(e){var r=E(e,(function(e){return"paint"===e.entryType&&"first-contentful-paint"===e.name&&e.startTime<n.timeStamp&&e.startTime<ir}));r&&t(r.startTime)})).unsubscribe}}(e,(function(e){return r({firstContentfulPaint:e})})).stop,a=function(e,t,n){var r=rr(),i=1/0,o=D(t,["pointerdown","keydown"],(function(e){i=e.timeStamp}),{capture:!0,once:!0}).stop,a=e.subscribe(Je.PERFORMANCE_ENTRIES_COLLECTED,(function(e){var t=function(e,t){for(var n=e.length-1;n>=0;n-=1){var r=e[n];if(t(r,n,e))return r}}(e,(function(e){return"largest-contentful-paint"===e.entryType&&e.startTime<i&&e.startTime<r.timeStamp&&e.startTime<ir}));t&&n(t.startTime)})).unsubscribe;return{stop:function(){o(),a()}}}(e,window,(function(e){r({largestContentfulPaint:e})})).stop,s=function(e,t){var n=rr();return{stop:e.subscribe(Je.PERFORMANCE_ENTRIES_COLLECTED,(function(e){var r=E(e,(function(e){return"first-input"===e.entryType&&e.startTime<n.timeStamp}));if(r){var i=Oe(r.startTime,r.processingStart);t({firstInputDelay:i>=0?i:0,firstInputTime:r.startTime})}})).unsubscribe}}(e,(function(e){r({firstInputDelay:e.firstInputDelay,firstInputTime:e.firstInputTime})})).stop;return{stop:function(){i(),o(),a(),s()}}}function ar(e,t,n,r,i){var o,a={eventCounts:{errorCount:0,longTaskCount:0,resourceCount:0,userActionCount:0}},s=En(e,(function(e){a.eventCounts=e,n()})).stop,u=function(e,t,n,r,i){var o=n===We.INITIAL_LOAD,a=!0,s=[];function u(){!a&&!o&&s.length>0&&i(Math.max.apply(Math,s))}return{stop:On(e,t,(function(e){a&&(a=!1,e.hadActivity&&s.push(Oe(r.timeStamp,e.end)),u())})).stop,setLoadEvent:function(e){o&&(o=!1,s.push(e),u())}}}(e,t,r,i,(function(e){a.loadingTime=e,n()})),c=u.stop,l=u.setLoadEvent;return bt("layout-shift")?(a.cumulativeLayoutShift=0,o=function(e,t){var n=0,r=function(){var e,t,n=0;return{update:function(r){void 0===e||r.startTime-t>=m||r.startTime-e>=5e3?(e=t=r.startTime,n=r.value):(n+=r.value,t=r.startTime)},value:function(){return n}}}();return{stop:e.subscribe(Je.PERFORMANCE_ENTRIES_COLLECTED,(function(e){for(var i=0,o=e;i<o.length;i++){var a=o[i];"layout-shift"!==a.entryType||a.hadRecentInput||(r.update(a),r.value()>n&&(n=r.value(),t(w(n,4))))}})).unsubscribe}}(e,(function(e){a.cumulativeLayoutShift=e,n()})).stop):o=T,{stop:function(){s(),c(),o()},setLoadEvent:l,viewMetrics:a}}function sr(e,t,n,r,i,o){var a,s=function(r){var i=ur(t,n,e,We.INITIAL_LOAD,Ee(),r),o=or(t,(function(e){i.updateTimings(e),i.scheduleUpdate()})).stop;return{initialView:i,stop:o}}(o),u=s.stop,c=s.initialView,l=function(){t.subscribe(Je.SESSION_RENEWED,(function(){c.end(),c=f(void 0,c.name)})),t.subscribe(Je.BEFORE_UNLOAD,(function(){c.end(),c.triggerUpdate()}));var e=window.setInterval(ce((function(){c.triggerUpdate()})),3e5);return{stop:function(){clearInterval(e)}}}().stop;function f(r,i){return ur(t,n,e,We.ROUTE_CHANGE,r,i)}return i&&(a=function(e){return e.subscribe((function(e){var t,n,r,i,o=e.oldLocation,a=e.newLocation;if(n=a,(t=o).pathname!==n.pathname||(r=n.hash,i=r.substr(1),!document.getElementById(i)&&cr(n.hash)!==cr(t.hash)))return c.end(),c.triggerUpdate(),void(c=f())}))}(r)),{addTiming:function(e,t){void 0===t&&(t=xe()),c.addTiming(e,t),c.scheduleUpdate()},startView:function(e,t){c.end(t),c.triggerUpdate(),c=f(t,e)},stop:function(){null==a||a.unsubscribe(),u(),l(),c.end()}}}function ur(e,t,n,r,i,a){void 0===i&&(i=ke());var s,u=b(),c={},l={},f=0,d=ye({},n);e.notify(Je.VIEW_CREATED,{id:u,name:a,startClocks:i});var p=v(ce(T),3e3,{leading:!1}),h=p.throttled,g=p.cancel,m=ar(e,t,h,r,i),y=m.setLoadEvent,_=m.stop,w=m.viewMetrics;function T(){f+=1;var t=void 0===s?xe():s.timeStamp;e.notify(Je.VIEW_UPDATED,ye(ye({},w),{customTimings:l,documentVersion:f,id:u,name:a,loadingType:r,location:d,startClocks:i,timings:c,duration:Oe(i.timeStamp,t),isActive:void 0===s}))}return T(),{name:a,scheduleUpdate:h,end:function(t){void 0===t&&(t=ke()),s=t,_(),e.notify(Je.VIEW_ENDED,{endClocks:s})},triggerUpdate:function(){g(),T()},updateTimings:function(e){c=e,void 0!==e.loadEvent&&y(e.loadEvent)},addTiming:function(e,t){var n=function(e){return e<31536e6}(t)?t:Oe(i.timeStamp,t);l[function(e){var t=e.replace(/[^a-zA-Z0-9-_.@$]/g,"_");t!==e&&o.warn("Invalid timing name: "+e+", sanitized to: "+t);return t}(e)]=n}}}function cr(e){var t=e.indexOf("?");return t<0?e:e.slice(0,t)}function lr(e,t,n,r,i,o,a,s){return e.subscribe(Je.VIEW_UPDATED,(function(t){return e.notify(Je.RAW_RUM_EVENT_COLLECTED,function(e,t,n){var r=n.getReplayStats(e.id),i={_dd:{document_version:e.documentVersion,replay_stats:r},date:e.startClocks.timeStamp,type:Ve.VIEW,view:{action:{count:e.eventCounts.userActionCount},cumulative_layout_shift:e.cumulativeLayoutShift,dom_complete:Te(e.timings.domComplete),dom_content_loaded:Te(e.timings.domContentLoaded),dom_interactive:Te(e.timings.domInteractive),error:{count:e.eventCounts.errorCount},first_contentful_paint:Te(e.timings.firstContentfulPaint),first_input_delay:Te(e.timings.firstInputDelay),first_input_time:Te(e.timings.firstInputTime),is_active:e.isActive,name:e.name,largest_contentful_paint:Te(e.timings.largestContentfulPaint),load_event:Te(e.timings.loadEvent),loading_time:fr(Te(e.loadingTime)),loading_type:e.loadingType,long_task:{count:e.eventCounts.longTaskCount},resource:{count:e.eventCounts.resourceCount},time_spent:Te(e.duration),in_foreground_periods:t.selectInForegroundPeriodsFor(e.startClocks.relative,e.duration)},session:{has_replay:!!r||void 0}};I(e.customTimings)||(i.view.custom_timings=function(e,t){for(var n={},r=0,i=Object.keys(e);r<i.length;r++){var o=i[r];n[o]=t(e[o])}return n}(e.customTimings,Te));return{rawRumEvent:i,startTime:e.startClocks.relative,domainContext:{location:e.location}}}(t,o,a))})),sr(n,e,r,i,!t.trackViewsManually,s)}function fr(e){return C(e)&&e<0?void 0:e}function dr(e,t){var n=function(e,t){var n,r=o(e.rumEndpointBuilder,(function(){return t.notify(Je.BEFORE_UNLOAD)})),i=e.replica;void 0!==i&&(n=o(i.rumEndpointBuilder));function o(t,n){return new te(new re(t,e.batchBytesLimit),e.maxBatchSize,e.batchBytesLimit,e.maxMessageSize,e.flushTimeout,n)}function a(e){return z(e,{application:{id:i.applicationId}})}var s=!1;return{add:function(e){s||(r.add(e),n&&n.add(a(e)))},stop:function(){s=!0},upsert:function(e,t){s||(r.upsert(e,t),n&&n.upsert(a(e),t))}}}(e,t);return t.subscribe(Je.RUM_EVENT_COLLECTED,(function(e){e.type===Ve.VIEW?n.upsert(e,e.view.id):n.add(e)})),{stop:function(){return n.stop()}}}function pr(e){var t=ye({},e),n=new et((function(){var e,t,n,i,o,a=(e=r,t=cn(history,"pushState",{after:e}).stop,n=cn(history,"replaceState",{after:e}).stop,i=j(window,"popstate",e).stop,{stop:function(){t(),n(),i()}}).stop,s=(o=r,j(window,"hashchange",o)).stop;return function(){a(),s()}}));function r(){if(t.href!==e.href){var r=ye({},e);n.notify({newLocation:r,oldLocation:t}),t=r}}return n}var hr=function(){return hr=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},hr.apply(this,arguments)};var gr=2,mr=3,yr=4,vr=6,br=7,_r=8,wr=hr(hr({},$e),{IGNORE:"ignore",HIDDEN:"hidden"}),Tr="data-dd-privacy",xr="hidden",Sr="***",kr={INPUT:!0,OUTPUT:!0,TEXTAREA:!0,SELECT:!0,OPTION:!0,DATALIST:!0,OPTGROUP:!0};function Er(e,t){var n=e.parentNode?Er(e.parentNode,t):t;return Or(Cr(e),n)}function Or(e,t){switch(t){case wr.HIDDEN:case wr.IGNORE:return t}switch(e){case wr.ALLOW:case wr.MASK:case wr.MASK_USER_INPUT:case wr.HIDDEN:case wr.IGNORE:return e;default:return t}}function Cr(e){if(function(e){return e.nodeType===e.ELEMENT_NODE}(e)){var t=e.getAttribute(Tr);if("BASE"===e.tagName)return wr.ALLOW;if("INPUT"===e.tagName){var n=e;if("password"===n.type||"email"===n.type||"tel"===n.type)return wr.MASK;if("hidden"===n.type)return wr.MASK;var r=n.getAttribute("autocomplete");if(r&&0===r.indexOf("cc-"))return wr.MASK}return t===xr||e.classList.contains("dd-privacy-hidden")?wr.HIDDEN:"mask"===t||e.classList.contains("dd-privacy-mask")?wr.MASK:"mask-user-input"===t||e.classList.contains("dd-privacy-mask-user-input")?wr.MASK_USER_INPUT:"allow"===t||e.classList.contains("dd-privacy-allow")?wr.ALLOW:function(e){if("SCRIPT"===e.nodeName)return!0;if("LINK"===e.nodeName){return"preload"===(n=i("rel"))&&"script"===i("as")||"shortcut icon"===n||"icon"===n}if("META"===e.nodeName){var t=i("name"),n=i("rel"),r=i("property");return/^msapplication-tile(image|color)$/.test(t)||"application-name"===t||"icon"===n||"apple-touch-icon"===n||"shortcut icon"===n||"keywords"===t||"description"===t||/^(og|twitter|fb):/.test(r)||/^(og|twitter):/.test(t)||"pinterest"===t||"robots"===t||"googlebot"===t||"bingbot"===t||e.hasAttribute("http-equiv")||"author"===t||"generator"===t||"framework"===t||"publisher"===t||"progid"===t||/^article:/.test(r)||/^product:/.test(r)||"google-site-verification"===t||"yandex-verification"===t||"csrf-token"===t||"p:domain_verify"===t||"verify-v1"===t||"verification"===t||"shopify-checkout-api-token"===t}function i(t){return(e.getAttribute(t)||"").toLowerCase()}return!1}(e)?wr.IGNORE:void 0}}function Lr(e,t){switch(t){case wr.MASK:case wr.HIDDEN:case wr.IGNORE:return!0;case wr.MASK_USER_INPUT:return function(e){return e.nodeType===e.TEXT_NODE}(e)?Ar(e.parentNode):Ar(e);default:return!1}}function Ar(e){if(!e||e.nodeType!==e.ELEMENT_NODE)return!1;var t=e;if("INPUT"===t.tagName)switch(t.type){case"button":case"color":case"reset":case"submit":return!1}return!!kr[t.tagName]}var Ir;function Pr(e,t,n){var r,i=null===(r=e.parentElement)||void 0===r?void 0:r.tagName,o=e.textContent||"";if(!t||o.trim()){var a=n,s="STYLE"===i||void 0;if("SCRIPT"===i)o=Sr;else if(a===wr.HIDDEN)o=Sr;else if(Lr(e,a)&&!s)if("DATALIST"===i||"SELECT"===i||"OPTGROUP"===i){if(!o.trim())return}else o="OPTION"===i?Sr:o.replace(/\S/g,"x");return o}}!function(e){e[e.Mutation=0]="Mutation",e[e.MouseMove=1]="MouseMove",e[e.MouseInteraction=2]="MouseInteraction",e[e.Scroll=3]="Scroll",e[e.ViewportResize=4]="ViewportResize",e[e.Input=5]="Input",e[e.TouchMove=6]="TouchMove",e[e.MediaInteraction=7]="MediaInteraction",e[e.StyleSheetRule=8]="StyleSheetRule"}(Ir||(Ir={}));var Mr,Rr=0,jr=1,Dr=2,Nr=3,Br=4,Ur=5,Fr=6,zr=7,Hr=9,Zr=0,qr=1;!function(e){e[e.Document=0]="Document",e[e.DocumentType=1]="DocumentType",e[e.Element=2]="Element",e[e.Text=3]="Text",e[e.CDATA=4]="CDATA",e[e.Comment=5]="Comment"}(Mr||(Mr={}));var Vr=new WeakMap;function Wr(e){return Vr.has(e)}function Gr(e){return Vr.get(e)}function $r(e,t){var n=e.tagName,r=e.value;if(Lr(e,t)){var i=e.type;if("INPUT"===n&&("button"===i||"submit"===i||"reset"===i))return r;if(!r||"OPTION"===n)return;return Sr}return"OPTION"===n||"SELECT"===n?e.value:"INPUT"===n||"TEXTAREA"===n?r:void 0}function Yr(e){return Boolean(e.changedTouches)}function Kr(e,t){Array.prototype.forEach.call(e,t)}function Xr(e,t){return Qr(e,{document:e,parentNodePrivacyLevel:t})}function Qr(e,t){var n=function(e,t){switch(e.nodeType){case e.DOCUMENT_NODE:return function(e,t){return{type:Mr.Document,childNodes:Jr(e,t)}}(e,t);case e.DOCUMENT_TYPE_NODE:return n=e,{type:Mr.DocumentType,name:n.name,publicId:n.publicId,systemId:n.systemId};case e.ELEMENT_NODE:return function(e,t){var n,r=ri(e.tagName),i=(a=e,"svg"===a.tagName||a instanceof SVGElement||void 0),o=Or(Cr(e),t.parentNodePrivacyLevel);var a;if(o===wr.HIDDEN){var s=e.getBoundingClientRect(),u=s.width,c=s.height;return{type:Mr.Element,tagName:r,attributes:(n={rr_width:u+"px",rr_height:c+"px"},n[Tr]=xr,n),childNodes:[],isSVG:i}}if(o===wr.IGNORE)return;var l=function(e,t){if(t===wr.HIDDEN)return{};for(var n={},r=ri(e.tagName),i=e.ownerDocument,o=0;o<e.attributes.length;o+=1){var a=e.attributes.item(o).name,s=ei(e,t,a);null!==s&&(n[a]=s)}if(e.value&&("textarea"===r||"select"===r||"option"===r||"input"===r)){var u=$r(e,t);void 0!==u&&(n.value=u)}if("option"===r&&t===wr.ALLOW){var c=e;c.selected&&(n.selected=c.selected)}if("link"===r){var l=Array.from(i.styleSheets).find((function(t){return t.href===e.href}));(f=ii(l))&&l&&(delete n.rel,delete n.href,n._cssText=f)}if("style"===r&&e.sheet&&!(e.innerText||e.textContent||"").trim().length){var f;(f=ii(e.sheet))&&(n._cssText=f)}var d=e;"input"!==r||"radio"!==d.type&&"checkbox"!==d.type||(t===wr.ALLOW?n.checked=!!d.checked:Lr(d,t)&&(n.checked=Sr));if("audio"===r||"video"===r){var p=e;n.rr_mediaState=p.paused?"paused":"played"}e.scrollLeft&&(n.rr_scrollLeft=Math.round(e.scrollLeft));e.scrollTop&&(n.rr_scrollTop=Math.round(e.scrollTop));return n}(e,o),f=[];if(e.childNodes.length){f=Jr(e,t.parentNodePrivacyLevel===o&&t.ignoreWhiteSpace===("head"===r)?t:hr(hr({},t),{parentNodePrivacyLevel:o,ignoreWhiteSpace:"head"===r}))}return{type:Mr.Element,tagName:r,attributes:l,childNodes:f,isSVG:i}}(e,t);case e.TEXT_NODE:return function(e,t){var n,r=null===(n=e.parentElement)||void 0===n?void 0:n.tagName,i=Pr(e,t.ignoreWhiteSpace||!1,t.parentNodePrivacyLevel);if(!i)return;return{type:Mr.Text,textContent:i,isStyle:"STYLE"===r||void 0}}(e,t);case e.CDATA_SECTION_NODE:return{type:Mr.CDATA,textContent:""}}var n}(e,t);if(!n)return null;var r=Gr(e)||ti++,i=n;return i.id=r,function(e,t){Vr.set(e,t)}(e,r),t.serializedNodeIds&&t.serializedNodeIds.add(r),i}function Jr(e,t){var n=[];return Kr(e.childNodes,(function(e){var r=Qr(e,t);r&&n.push(r)})),n}function ei(e,t,n){if(t===wr.HIDDEN)return null;var r=e.getAttribute(n);if(t===wr.MASK){var i=e.tagName;switch(n){case"title":case"alt":return Sr}if(!("IMG"!==i&&"SOURCE"!==i||"src"!==n&&"srcset"!==n))return"data:image/gif;base64,R0lGODlhAQABAIAAAMLCwgAAACH5BAAAAAAALAAAAAABAAEAAAICRAEAOw==";if("A"===i&&"href"===n)return Sr;if(r&&0===n.indexOf("data-")&&n!==Tr)return Sr}return r&&"string"==typeof r&&r.length>1e5&&"data:"===r.slice(0,5)?"data:truncated":r}var ti=1;var ni=/[^a-z1-6-_]/;function ri(e){var t=e.toLowerCase().trim();return ni.test(t)?"div":t}function ii(e){try{var t=e.rules||e.cssRules;return t?Array.from(t).map(oi).join(""):null}catch(e){return null}}function oi(e){return function(e){return"styleSheet"in e}(e)?ii(e.styleSheet)||"":e.cssText}function ai(e){var t=T,n=[];function r(){t(),e(n),n=[]}return{addMutations:function(e){0===n.length&&(t=function(e){var t=window;if(t.requestIdleCallback){var n=t.requestIdleCallback(ce(e),{timeout:100});return function(){return t.cancelIdleCallback(n)}}var r=t.requestAnimationFrame(ce(e));return function(){return t.cancelAnimationFrame(r)}}(r)),n.push.apply(n,e)},flush:r,stop:function(){t()}}}function si(e,t,n){var r=nt();if(!r)return{stop:T};var i=ai((function(e){!function(e,t,n){var r=e.filter((function(e){return document.contains(e.target)&&function(e){for(var t=e;t;){if(!Wr(t))return!1;t=t.parentNode}return!0}(e.target)&&Er(e.target,n)!==wr.HIDDEN})),i=function(e,t){for(var n=new Set,r=new Map,i=function(e){Kr(e.addedNodes,(function(e){n.add(e)})),Kr(e.removedNodes,(function(t){n.has(t)||r.set(t,e.target),n.delete(t)}))},o=0,a=e;o<a.length;o++){i(a[o])}var s=Array.from(n);u=s,u.sort((function(e,t){var n=e.compareDocumentPosition(t);return n&Node.DOCUMENT_POSITION_CONTAINED_BY?-1:n&Node.DOCUMENT_POSITION_CONTAINS||n&Node.DOCUMENT_POSITION_FOLLOWING?1:n&Node.DOCUMENT_POSITION_PRECEDING?-1:0}));var u;for(var c=new Set,l=[],f=0,d=s;f<d.length;f++){var p=d[f];if(!y(p)){var h=Er(p.parentNode,t);if(h!==wr.HIDDEN&&h!==wr.IGNORE){var g=Qr(p,{document:document,serializedNodeIds:c,parentNodePrivacyLevel:h});g&&l.push({nextId:v(p),parentId:Gr(p.parentNode),node:g})}}}var m=[];return r.forEach((function(e,t){Wr(t)&&m.push({parentId:Gr(e),id:Gr(t)})})),{adds:l,removes:m,hasBeenSerialized:y};function y(e){return Wr(e)&&c.has(Gr(e))}function v(e){for(var t=e.nextSibling;t;){if(Wr(t))return Gr(t);t=t.nextSibling}return null}}(r.filter((function(e){return"childList"===e.type})),n),o=i.adds,a=i.removes,s=i.hasBeenSerialized,u=function(e,t){for(var n,r=[],i=new Set,o=e.filter((function(e){return!i.has(e.target)&&(i.add(e.target),!0)})),a=0,s=o;a<s.length;a++){var u=s[a];if(u.target.textContent!==u.oldValue){var c=Er(u.target.parentNode,t);c!==wr.HIDDEN&&c!==wr.IGNORE&&r.push({id:Gr(u.target),value:null!==(n=Pr(u.target,!1,c))&&void 0!==n?n:null})}}return r}(r.filter((function(e){return"characterData"===e.type&&!s(e.target)})),n),c=function(e,t){for(var n=[],r=new Map,i=e.filter((function(e){var t=r.get(e.target);return!(null==t?void 0:t.has(e.attributeName))&&(t?t.add(e.attributeName):r.set(e.target,new Set([e.attributeName])),!0)})),o=new Map,a=0,s=i;a<s.length;a++){var u=s[a];if(u.target.getAttribute(u.attributeName)!==u.oldValue){var c=Er(u.target,t),l=ei(u.target,c,u.attributeName),f=void 0;if("value"===u.attributeName){var d=$r(u.target,c);if(void 0===d)continue;f=d}else f=l&&"string"==typeof l?l:null;var p=o.get(u.target);p||(p={id:Gr(u.target),attributes:{}},n.push(p),o.set(u.target,p)),p.attributes[u.attributeName]=f}}return n}(r.filter((function(e){return"attributes"===e.type&&!s(e.target)})),n);if(!(u.length||c.length||a.length||o.length))return;t({adds:o,removes:a,texts:u,attributes:c})}(e.concat(o.takeRecords()),t,n)})),o=new r(ce(i.addMutations));return o.observe(document,{attributeOldValue:!0,attributes:!0,characterData:!0,characterDataOldValue:!0,childList:!0,subtree:!0}),e.onFlush(i.flush),{stop:function(){o.disconnect(),i.stop()}}}var ui=function(){function e(){}return e.prototype.flush=function(){var e;null===(e=this.flushListener)||void 0===e||e.call(this)},e.prototype.onFlush=function(e){this.flushListener=e},e}();var ci,li=function(e,t){var n=window.visualViewport,r={layoutViewportX:e,layoutViewportY:t,visualViewportX:e,visualViewportY:t};return n?(!function(){var e=window.visualViewport;return Math.abs(e.pageTop-e.offsetTop-window.scrollY)>25||Math.abs(e.pageLeft-e.offsetLeft-window.scrollX)>25}()?(r.visualViewportX=Math.round(e-n.offsetLeft),r.visualViewportY=Math.round(t-n.offsetTop)):(r.layoutViewportX=Math.round(e+n.offsetLeft),r.layoutViewportY=Math.round(t+n.offsetTop)),r):r},fi=function(){var e=window.visualViewport;return{scale:e.scale,offsetLeft:e.offsetLeft,offsetTop:e.offsetTop,pageLeft:e.pageLeft,pageTop:e.pageTop,height:e.height,width:e.width}};function di(){var e=window.visualViewport;return e?e.width*e.scale:window.innerWidth||0}function pi(){var e=window.visualViewport;return e?e.height*e.scale:window.innerHeight||0}function hi(){var e=window.visualViewport;return e?e.pageLeft-e.offsetLeft:void 0!==window.scrollX?window.scrollX:window.pageXOffset||0}function gi(){var e=window.visualViewport;return e?e.pageTop-e.offsetTop:void 0!==window.scrollY?window.scrollY:window.pageYOffset||0}function mi(e){var t,n,r,i,o=(t=e.mutationController,n=e.mutationCb,r=e.defaultPrivacyLevel,si(t,n,r).stop),a=function(e){var t=v(ce((function(t){var n=t.target;if(Wr(n)){var r=Yr(t)?t.changedTouches[0]:t,i=r.clientX,o=r.clientY,a={id:Gr(n),timeOffset:0,x:i,y:o};if(window.visualViewport){var s=li(i,o),u=s.visualViewportX,c=s.visualViewportY;a.x=u,a.y=c}e([a],Yr(t)?Ir.TouchMove:Ir.MouseMove)}})),50,{trailing:!1}).throttled;return D(document,["mousemove","touchmove"],t,{capture:!0,passive:!0}).stop}(e.mousemoveCb),s=function(e,t){var n=function(n){var r=n.target;if(Er(r,t)!==wr.HIDDEN&&Wr(r)){var i=Yr(n)?n.changedTouches[0]:n,o=i.clientX,a=i.clientY,s={id:Gr(r),type:yi[n.type],x:o,y:a};if(window.visualViewport){var u=li(o,a),c=u.visualViewportX,l=u.visualViewportY;s.x=c,s.y=l}e(s)}};return D(document,Object.keys(yi),n,{capture:!0,passive:!0}).stop}(e.mouseInteractionCb,e.defaultPrivacyLevel),u=function(e,t){var n=v(ce((function(n){var r=n.target;if(r&&Er(r,t)!==wr.HIDDEN&&Wr(r)){var i=Gr(r);r===document?e({id:i,x:hi(),y:gi()}):e({id:i,x:r.scrollLeft,y:r.scrollTop})}})),100).throttled;return j(document,"scroll",n,{capture:!0,passive:!0}).stop}(e.scrollCb,e.defaultPrivacyLevel),c=function(e){var t=v(ce((function(){var t=pi(),n=di();e({height:Number(t),width:Number(n)})})),200).throttled;return j(window,"resize",t,{capture:!0,passive:!0}).stop}(e.viewportResizeCb),l=function(e,t){function n(e){var n=e.target,i=Er(n,t);if(n&&n.tagName&&k(vi,n.tagName)&&i!==wr.HIDDEN){var o,a=n.type;if("radio"===a||"checkbox"===a){if(Lr(n,i))return;o={isChecked:n.checked}}else{var s=$r(n,i);if(void 0===s)return;o={text:s}}r(n,o);var u=n.name;"radio"===a&&u&&n.checked&&Kr(document.querySelectorAll('input[type="radio"][name="'+u+'"]'),(function(e){e!==n&&r(e,{isChecked:!1})}))}}function r(t,n){if(Wr(t)){var r=bi.get(t);r&&r.text===n.text&&r.isChecked===n.isChecked||(bi.set(t,n),e(hr(hr({},n),{id:Gr(t)})))}}var i=D(document,["input","change"],n,{capture:!0,passive:!0}).stop,o=Object.getOwnPropertyDescriptor(HTMLInputElement.prototype,"value"),a=[[HTMLInputElement.prototype,"value"],[HTMLInputElement.prototype,"checked"],[HTMLSelectElement.prototype,"value"],[HTMLTextAreaElement.prototype,"value"],[HTMLSelectElement.prototype,"selectedIndex"]],s=[];o&&o.set&&s.push.apply(s,a.map((function(e){return t=e[0],r=e[1],i={set:ce((function(){n({target:this})}))},o=Object.getOwnPropertyDescriptor(t,r),Object.defineProperty(t,r,{set:function(e){var t=this;setTimeout((function(){i.set.call(t,e)}),0),o&&o.set&&o.set.call(this,e)}}),function(){Object.defineProperty(t,r,o||{})};var t,r,i,o})));return function(){s.forEach((function(e){return e()})),i()}}(e.inputCb,e.defaultPrivacyLevel),f=function(e,t){return D(document,["play","pause"],(function(n){var r=n.target;r&&Er(r,t)!==wr.HIDDEN&&Wr(r)&&e({id:Gr(r),type:"play"===n.type?Zr:qr})}),{capture:!0,passive:!0}).stop}(e.mediaInteractionCb,e.defaultPrivacyLevel),d=function(e){var t=CSSStyleSheet.prototype.insertRule;CSSStyleSheet.prototype.insertRule=function(n,r){var i=this;return le((function(){Wr(i.ownerNode)&&e({id:Gr(i.ownerNode),adds:[{rule:n,index:r}]})})),t.call(this,n,r)};var n=CSSStyleSheet.prototype.deleteRule;return CSSStyleSheet.prototype.deleteRule=function(t){var r=this;return le((function(){Wr(r.ownerNode)&&e({id:Gr(r.ownerNode),removes:[{index:t}]})})),n.call(this,t)},function(){CSSStyleSheet.prototype.insertRule=t,CSSStyleSheet.prototype.deleteRule=n}}(e.styleSheetRuleCb),p=(i=e.focusCb,D(window,["focus","blur"],(function(){i({has_focus:document.hasFocus()})})).stop),h=function(e){if(!window.visualViewport)return T;var t=v(ce((function(){e(fi())})),200,{trailing:!1}),n=t.throttled,r=t.cancel,i=D(window.visualViewport,["resize","scroll"],n,{capture:!0,passive:!0}).stop;return function(){i(),r()}}(e.visualViewportResizeCb);return function(){o(),a(),s(),u(),c(),l(),f(),d(),p(),h()}}var yi=((ci={}).mouseup=Rr,ci.mousedown=jr,ci.click=Dr,ci.contextmenu=Nr,ci.dblclick=Br,ci.focus=Ur,ci.blur=Fr,ci.touchstart=zr,ci.touchend=Hr,ci);var vi=["INPUT","TEXTAREA","SELECT"],bi=new WeakMap;function _i(e,t,n,r,i){var o=new FormData;o.append("segment",new Blob([t],{type:"application/octet-stream"}),n.session.id+"-"+n.start),wi(n,(function(e,t){return o.append(e,t)})),o.append("raw_segment_size",r.toString()),new re(e,6e4).send(o,t.byteLength,i)}function wi(e,t,n){void 0===n&&(n=""),A(e).forEach((function(e){var r=e[0],i=e[1];"object"==typeof i&&null!==i?wi(i,t,""+n+r+"."):t(""+n+r,String(i))}))}var Ti;function xi(e){return Ei(e).segments_count}function Si(e){Ei(e).records_count+=1}function ki(e){return null==Ti?void 0:Ti.get(e)}function Ei(e){var t;return Ti||(Ti=new Map),Ti.has(e)?t=Ti.get(e):(t={records_count:0,segments_count:0,segments_total_raw_size:0},Ti.set(e,t),Ti.size>10&&function(){if(!Ti)return;if(Ti.keys)Ti.delete(Ti.keys().next().value);else{var e=!0;Ti.forEach((function(t,n){e&&(Ti.delete(n),e=!1)}))}}()),t}var Oi,Ci=0,Li=function(){function e(e,t,n,r,i,o){var a=this;this.worker=e,this.isFlushed=!1,this.id=Ci++;var s=t.view.id;this.metadata=hr({start:r.timestamp,end:r.timestamp,creation_reason:n,records_count:1,has_full_snapshot:r.type===gr,index_in_view:xi(s)},t),function(e){Ei(e).segments_count+=1}(s),Si(s);var u=ce((function(t){var n=t.data;"errored"!==n.type&&"initialized"!==n.type&&(n.id===a.id?(!function(e,t){Ei(e).segments_total_raw_size+=t}(s,n.additionalRawSize),"flushed"===n.type?(o(n.result,n.rawSize),e.removeEventListener("message",u)):i(n.compressedSize)):n.id>a.id&&(e.removeEventListener("message",u),fe("Segment did not receive a 'flush' response before being replaced.")))}));e.addEventListener("message",u),this.worker.postMessage({data:'{"records":['+JSON.stringify(r),id:this.id,action:"write"})}return e.prototype.addRecord=function(e){var t;this.metadata.end=e.timestamp,this.metadata.records_count+=1,Si(this.metadata.view.id),(t=this.metadata).has_full_snapshot||(t.has_full_snapshot=e.type===gr),this.worker.postMessage({data:","+JSON.stringify(e),id:this.id,action:"write"})},e.prototype.flush=function(e){this.worker.postMessage({data:"],"+JSON.stringify(this.metadata).slice(1)+"\n",id:this.id,action:"flush"}),this.isFlushed=!0,this.flushReason=e},e}(),Ai=6e4;function Ii(e,t,n,r,i,o){return function(e,t,n,r,i){void 0===i&&(i=window);var o={status:0,nextSegmentCreationReason:"init"},a=e.subscribe(Je.VIEW_CREATED,(function(){c("view_change")})).unsubscribe,s=e.subscribe(Je.BEFORE_UNLOAD,(function(){c("before_unload")})).unsubscribe,u=j(i,"visibilitychange",(function(){"hidden"===document.visibilityState&&c("visibility_hidden")}),{capture:!0}).stop;function c(e){1===o.status&&(o.segment.flush(e||"sdk_stopped"),clearTimeout(o.expirationTimeoutId)),o=e?{status:0,nextSegmentCreationReason:e}:{status:2}}function l(e,i){var a=t();if(a){var s=new Li(r,a,e,i,(function(e){!s.isFlushed&&e>Ai&&c("max_size")}),(function(e,t){n(e,s.metadata,t,s.flushReason)}));o={status:1,segment:s,expirationTimeoutId:setTimeout(ce((function(){c("max_duration")})),3e4)}}}return{addRecord:function(e){switch(o.status){case 0:l(o.nextSegmentCreationReason,e);break;case 1:o.segment.addRecord(e)}},stop:function(){c(),a(),s(),u()}}}(e,(function(){return function(e,t,n){var r=t.findTrackedSession(),i=n.findView();if(!r||!i)return;return{application:{id:e},session:{id:r.id},view:{id:i.view.id}}}(t,n,r)}),i,o)}function Pi(){return Oi||(Oi=URL.createObjectURL(new Blob(["("+Mi+")(self)"]))),new Worker(Oi)}function Mi(){function e(e){return function(){try{return e.apply(this,arguments)}catch(e){try{self.postMessage({type:"errored",error:e})}catch(t){self.postMessage({type:"errored",error:""+e})}}}}e((function(){var t=function(){var e=4,t=0,n=1,r=2;function i(e){for(var t=e.length;--t>=0;)e[t]=0}var o=0,a=1,s=2,u=3,c=258,l=29,f=256,d=f+1+l,p=30,h=19,g=2*d+1,m=15,y=16,v=7,b=256,_=16,w=17,T=18,x=new Uint8Array([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0]),S=new Uint8Array([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13]),k=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7]),E=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),O=512,C=new Array(2*(d+2));i(C);var L=new Array(2*p);i(L);var A=new Array(O);i(A);var I=new Array(c-u+1);i(I);var P=new Array(l);i(P);var M,R,j,D=new Array(p);function N(e,t,n,r,i){this.static_tree=e,this.extra_bits=t,this.extra_base=n,this.elems=r,this.max_length=i,this.has_stree=e&&e.length}function B(e,t){this.dyn_tree=e,this.max_code=0,this.stat_desc=t}i(D);var U=function(e){return e<256?A[e]:A[256+(e>>>7)]},F=function(e,t){e.pending_buf[e.pending++]=255&t,e.pending_buf[e.pending++]=t>>>8&255},z=function(e,t,n){e.bi_valid>y-n?(e.bi_buf|=t<<e.bi_valid&65535,F(e,e.bi_buf),e.bi_buf=t>>y-e.bi_valid,e.bi_valid+=n-y):(e.bi_buf|=t<<e.bi_valid&65535,e.bi_valid+=n)},H=function(e,t,n){z(e,n[2*t],n[2*t+1])},Z=function(e,t){var n=0;do{n|=1&e,e>>>=1,n<<=1}while(--t>0);return n>>>1},q=function(e){16===e.bi_valid?(F(e,e.bi_buf),e.bi_buf=0,e.bi_valid=0):e.bi_valid>=8&&(e.pending_buf[e.pending++]=255&e.bi_buf,e.bi_buf>>=8,e.bi_valid-=8)},V=function(e,t){var n,r,i,o,a,s,u=t.dyn_tree,c=t.max_code,l=t.stat_desc.static_tree,f=t.stat_desc.has_stree,d=t.stat_desc.extra_bits,p=t.stat_desc.extra_base,h=t.stat_desc.max_length,y=0;for(o=0;o<=m;o++)e.bl_count[o]=0;for(u[2*e.heap[e.heap_max]+1]=0,n=e.heap_max+1;n<g;n++)(o=u[2*u[2*(r=e.heap[n])+1]+1]+1)>h&&(o=h,y++),u[2*r+1]=o,r>c||(e.bl_count[o]++,a=0,r>=p&&(a=d[r-p]),s=u[2*r],e.opt_len+=s*(o+a),f&&(e.static_len+=s*(l[2*r+1]+a)));if(0!==y){do{for(o=h-1;0===e.bl_count[o];)o--;e.bl_count[o]--,e.bl_count[o+1]+=2,e.bl_count[h]--,y-=2}while(y>0);for(o=h;0!==o;o--)for(r=e.bl_count[o];0!==r;)(i=e.heap[--n])>c||(u[2*i+1]!==o&&(e.opt_len+=(o-u[2*i+1])*u[2*i],u[2*i+1]=o),r--)}},W=function(e,t,n){var r,i,o=new Array(m+1),a=0;for(r=1;r<=m;r++)o[r]=a=a+n[r-1]<<1;for(i=0;i<=t;i++){var s=e[2*i+1];0!==s&&(e[2*i]=Z(o[s]++,s))}},G=function(){var e,t,n,r,i,o=new Array(m+1);for(n=0,r=0;r<l-1;r++)for(P[r]=n,e=0;e<1<<x[r];e++)I[n++]=r;for(I[n-1]=r,i=0,r=0;r<16;r++)for(D[r]=i,e=0;e<1<<S[r];e++)A[i++]=r;for(i>>=7;r<p;r++)for(D[r]=i<<7,e=0;e<1<<S[r]-7;e++)A[256+i++]=r;for(t=0;t<=m;t++)o[t]=0;for(e=0;e<=143;)C[2*e+1]=8,e++,o[8]++;for(;e<=255;)C[2*e+1]=9,e++,o[9]++;for(;e<=279;)C[2*e+1]=7,e++,o[7]++;for(;e<=287;)C[2*e+1]=8,e++,o[8]++;for(W(C,d+1,o),e=0;e<p;e++)L[2*e+1]=5,L[2*e]=Z(e,5);M=new N(C,x,f+1,d,m),R=new N(L,S,0,p,m),j=new N(new Array(0),k,0,h,v)},$=function(e){var t;for(t=0;t<d;t++)e.dyn_ltree[2*t]=0;for(t=0;t<p;t++)e.dyn_dtree[2*t]=0;for(t=0;t<h;t++)e.bl_tree[2*t]=0;e.dyn_ltree[2*b]=1,e.opt_len=e.static_len=0,e.last_lit=e.matches=0},Y=function(e){e.bi_valid>8?F(e,e.bi_buf):e.bi_valid>0&&(e.pending_buf[e.pending++]=e.bi_buf),e.bi_buf=0,e.bi_valid=0},K=function(e,t,n,r){Y(e),r&&(F(e,n),F(e,~n)),e.pending_buf.set(e.window.subarray(t,t+n),e.pending),e.pending+=n},X=function(e,t,n,r){var i=2*t,o=2*n;return e[i]<e[o]||e[i]===e[o]&&r[t]<=r[n]},Q=function(e,t,n){for(var r=e.heap[n],i=n<<1;i<=e.heap_len&&(i<e.heap_len&&X(t,e.heap[i+1],e.heap[i],e.depth)&&i++,!X(t,r,e.heap[i],e.depth));)e.heap[n]=e.heap[i],n=i,i<<=1;e.heap[n]=r},J=function(e,t,n){var r,i,o,a,s=0;if(0!==e.last_lit)do{r=e.pending_buf[e.d_buf+2*s]<<8|e.pending_buf[e.d_buf+2*s+1],i=e.pending_buf[e.l_buf+s],s++,0===r?H(e,i,t):(o=I[i],H(e,o+f+1,t),0!==(a=x[o])&&(i-=P[o],z(e,i,a)),r--,o=U(r),H(e,o,n),0!==(a=S[o])&&(r-=D[o],z(e,r,a)))}while(s<e.last_lit);H(e,b,t)},ee=function(e,t){var n,r,i,o=t.dyn_tree,a=t.stat_desc.static_tree,s=t.stat_desc.has_stree,u=t.stat_desc.elems,c=-1;for(e.heap_len=0,e.heap_max=g,n=0;n<u;n++)0!==o[2*n]?(e.heap[++e.heap_len]=c=n,e.depth[n]=0):o[2*n+1]=0;for(;e.heap_len<2;)o[2*(i=e.heap[++e.heap_len]=c<2?++c:0)]=1,e.depth[i]=0,e.opt_len--,s&&(e.static_len-=a[2*i+1]);for(t.max_code=c,n=e.heap_len>>1;n>=1;n--)Q(e,o,n);i=u;do{n=e.heap[1],e.heap[1]=e.heap[e.heap_len--],Q(e,o,1),r=e.heap[1],e.heap[--e.heap_max]=n,e.heap[--e.heap_max]=r,o[2*i]=o[2*n]+o[2*r],e.depth[i]=(e.depth[n]>=e.depth[r]?e.depth[n]:e.depth[r])+1,o[2*n+1]=o[2*r+1]=i,e.heap[1]=i++,Q(e,o,1)}while(e.heap_len>=2);e.heap[--e.heap_max]=e.heap[1],V(e,t),W(o,c,e.bl_count)},te=function(e,t,n){var r,i,o=-1,a=t[1],s=0,u=7,c=4;for(0===a&&(u=138,c=3),t[2*(n+1)+1]=65535,r=0;r<=n;r++)i=a,a=t[2*(r+1)+1],++s<u&&i===a||(s<c?e.bl_tree[2*i]+=s:0!==i?(i!==o&&e.bl_tree[2*i]++,e.bl_tree[2*_]++):s<=10?e.bl_tree[2*w]++:e.bl_tree[2*T]++,s=0,o=i,0===a?(u=138,c=3):i===a?(u=6,c=3):(u=7,c=4))},ne=function(e,t,n){var r,i,o=-1,a=t[1],s=0,u=7,c=4;for(0===a&&(u=138,c=3),r=0;r<=n;r++)if(i=a,a=t[2*(r+1)+1],!(++s<u&&i===a)){if(s<c)do{H(e,i,e.bl_tree)}while(0!=--s);else 0!==i?(i!==o&&(H(e,i,e.bl_tree),s--),H(e,_,e.bl_tree),z(e,s-3,2)):s<=10?(H(e,w,e.bl_tree),z(e,s-3,3)):(H(e,T,e.bl_tree),z(e,s-11,7));s=0,o=i,0===a?(u=138,c=3):i===a?(u=6,c=3):(u=7,c=4)}},re=function(e){var t;for(te(e,e.dyn_ltree,e.l_desc.max_code),te(e,e.dyn_dtree,e.d_desc.max_code),ee(e,e.bl_desc),t=h-1;t>=3&&0===e.bl_tree[2*E[t]+1];t--);return e.opt_len+=3*(t+1)+5+5+4,t},ie=function(e,t,n,r){var i;for(z(e,t-257,5),z(e,n-1,5),z(e,r-4,4),i=0;i<r;i++)z(e,e.bl_tree[2*E[i]+1],3);ne(e,e.dyn_ltree,t-1),ne(e,e.dyn_dtree,n-1)},oe=function(e){var r,i=4093624447;for(r=0;r<=31;r++,i>>>=1)if(1&i&&0!==e.dyn_ltree[2*r])return t;if(0!==e.dyn_ltree[18]||0!==e.dyn_ltree[20]||0!==e.dyn_ltree[26])return n;for(r=32;r<f;r++)if(0!==e.dyn_ltree[2*r])return n;return t},ae=!1,se=function(e,t,n,r){z(e,(o<<1)+(r?1:0),3),K(e,t,n,!0)},ue=function(t,n,i,o){var u,c,l=0;t.level>0?(t.strm.data_type===r&&(t.strm.data_type=oe(t)),ee(t,t.l_desc),ee(t,t.d_desc),l=re(t),u=t.opt_len+3+7>>>3,(c=t.static_len+3+7>>>3)<=u&&(u=c)):u=c=i+5,i+4<=u&&-1!==n?se(t,n,i,o):t.strategy===e||c===u?(z(t,(a<<1)+(o?1:0),3),J(t,C,L)):(z(t,(s<<1)+(o?1:0),3),ie(t,t.l_desc.max_code+1,t.d_desc.max_code+1,l+1),J(t,t.dyn_ltree,t.dyn_dtree)),$(t),o&&Y(t)},ce={_tr_init:function(e){ae||(G(),ae=!0),e.l_desc=new B(e.dyn_ltree,M),e.d_desc=new B(e.dyn_dtree,R),e.bl_desc=new B(e.bl_tree,j),e.bi_buf=0,e.bi_valid=0,$(e)},_tr_stored_block:se,_tr_flush_block:ue,_tr_tally:function(e,t,n){return e.pending_buf[e.d_buf+2*e.last_lit]=t>>>8&255,e.pending_buf[e.d_buf+2*e.last_lit+1]=255&t,e.pending_buf[e.l_buf+e.last_lit]=255&n,e.last_lit++,0===t?e.dyn_ltree[2*n]++:(e.matches++,t--,e.dyn_ltree[2*(I[n]+f+1)]++,e.dyn_dtree[2*U(t)]++),e.last_lit===e.lit_bufsize-1},_tr_align:function(e){z(e,a<<1,3),H(e,b,C),q(e)}},le=function(e,t,n,r){for(var i=65535&e|0,o=e>>>16&65535|0,a=0;0!==n;){n-=a=n>2e3?2e3:n;do{o=o+(i=i+t[r++]|0)|0}while(--a);i%=65521,o%=65521}return i|o<<16|0},fe=new Uint32Array(function(){for(var e,t=[],n=0;n<256;n++){e=n;for(var r=0;r<8;r++)e=1&e?3988292384^e>>>1:e>>>1;t[n]=e}return t}()),de=function(e,t,n,r){var i=fe,o=r+n;e^=-1;for(var a=r;a<o;a++)e=e>>>8^i[255&(e^t[a])];return-1^e},pe={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"},he={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_MEM_ERROR:-4,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8},ge=ce._tr_init,me=ce._tr_stored_block,ye=ce._tr_flush_block,ve=ce._tr_tally,be=ce._tr_align,_e=he.Z_NO_FLUSH,we=he.Z_PARTIAL_FLUSH,Te=he.Z_FULL_FLUSH,xe=he.Z_FINISH,Se=he.Z_BLOCK,ke=he.Z_OK,Ee=he.Z_STREAM_END,Oe=he.Z_STREAM_ERROR,Ce=he.Z_DATA_ERROR,Le=he.Z_BUF_ERROR,Ae=he.Z_DEFAULT_COMPRESSION,Ie=he.Z_FILTERED,Pe=he.Z_HUFFMAN_ONLY,Me=he.Z_RLE,Re=he.Z_FIXED,je=he.Z_DEFAULT_STRATEGY,De=he.Z_UNKNOWN,Ne=he.Z_DEFLATED,Be=9,Ue=15,Fe=8,ze=286,He=30,Ze=19,qe=2*ze+1,Ve=15,We=3,Ge=258,$e=Ge+We+1,Ye=32,Ke=42,Xe=69,Qe=73,Je=91,et=103,tt=113,nt=666,rt=1,it=2,ot=3,at=4,st=3,ut=function(e,t){return e.msg=pe[t],t},ct=function(e){return(e<<1)-(e>4?9:0)},lt=function(e){for(var t=e.length;--t>=0;)e[t]=0},ft=function(e,t,n){return(t<<e.hash_shift^n)&e.hash_mask},dt=function(e){var t=e.state,n=t.pending;n>e.avail_out&&(n=e.avail_out),0!==n&&(e.output.set(t.pending_buf.subarray(t.pending_out,t.pending_out+n),e.next_out),e.next_out+=n,t.pending_out+=n,e.total_out+=n,e.avail_out-=n,t.pending-=n,0===t.pending&&(t.pending_out=0))},pt=function(e,t){ye(e,e.block_start>=0?e.block_start:-1,e.strstart-e.block_start,t),e.block_start=e.strstart,dt(e.strm)},ht=function(e,t){e.pending_buf[e.pending++]=t},gt=function(e,t){e.pending_buf[e.pending++]=t>>>8&255,e.pending_buf[e.pending++]=255&t},mt=function(e,t,n,r){var i=e.avail_in;return i>r&&(i=r),0===i?0:(e.avail_in-=i,t.set(e.input.subarray(e.next_in,e.next_in+i),n),1===e.state.wrap?e.adler=le(e.adler,t,i,n):2===e.state.wrap&&(e.adler=de(e.adler,t,i,n)),e.next_in+=i,e.total_in+=i,i)},yt=function(e,t){var n,r,i=e.max_chain_length,o=e.strstart,a=e.prev_length,s=e.nice_match,u=e.strstart>e.w_size-$e?e.strstart-(e.w_size-$e):0,c=e.window,l=e.w_mask,f=e.prev,d=e.strstart+Ge,p=c[o+a-1],h=c[o+a];e.prev_length>=e.good_match&&(i>>=2),s>e.lookahead&&(s=e.lookahead);do{if(c[(n=t)+a]===h&&c[n+a-1]===p&&c[n]===c[o]&&c[++n]===c[o+1]){o+=2,n++;do{}while(c[++o]===c[++n]&&c[++o]===c[++n]&&c[++o]===c[++n]&&c[++o]===c[++n]&&c[++o]===c[++n]&&c[++o]===c[++n]&&c[++o]===c[++n]&&c[++o]===c[++n]&&o<d);if(r=Ge-(d-o),o=d-Ge,r>a){if(e.match_start=t,a=r,r>=s)break;p=c[o+a-1],h=c[o+a]}}}while((t=f[t&l])>u&&0!=--i);return a<=e.lookahead?a:e.lookahead},vt=function(e){var t,n,r,i,o,a=e.w_size;do{if(i=e.window_size-e.lookahead-e.strstart,e.strstart>=a+(a-$e)){e.window.set(e.window.subarray(a,a+a),0),e.match_start-=a,e.strstart-=a,e.block_start-=a,t=n=e.hash_size;do{r=e.head[--t],e.head[t]=r>=a?r-a:0}while(--n);t=n=a;do{r=e.prev[--t],e.prev[t]=r>=a?r-a:0}while(--n);i+=a}if(0===e.strm.avail_in)break;if(n=mt(e.strm,e.window,e.strstart+e.lookahead,i),e.lookahead+=n,e.lookahead+e.insert>=We)for(o=e.strstart-e.insert,e.ins_h=e.window[o],e.ins_h=ft(e,e.ins_h,e.window[o+1]);e.insert&&(e.ins_h=ft(e,e.ins_h,e.window[o+We-1]),e.prev[o&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=o,o++,e.insert--,!(e.lookahead+e.insert<We)););}while(e.lookahead<$e&&0!==e.strm.avail_in)},bt=function(e,t){for(var n,r;;){if(e.lookahead<$e){if(vt(e),e.lookahead<$e&&t===_e)return rt;if(0===e.lookahead)break}if(n=0,e.lookahead>=We&&(e.ins_h=ft(e,e.ins_h,e.window[e.strstart+We-1]),n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),0!==n&&e.strstart-n<=e.w_size-$e&&(e.match_length=yt(e,n)),e.match_length>=We)if(r=ve(e,e.strstart-e.match_start,e.match_length-We),e.lookahead-=e.match_length,e.match_length<=e.max_lazy_match&&e.lookahead>=We){e.match_length--;do{e.strstart++,e.ins_h=ft(e,e.ins_h,e.window[e.strstart+We-1]),n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart}while(0!=--e.match_length);e.strstart++}else e.strstart+=e.match_length,e.match_length=0,e.ins_h=e.window[e.strstart],e.ins_h=ft(e,e.ins_h,e.window[e.strstart+1]);else r=ve(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++;if(r&&(pt(e,!1),0===e.strm.avail_out))return rt}return e.insert=e.strstart<We-1?e.strstart:We-1,t===xe?(pt(e,!0),0===e.strm.avail_out?ot:at):e.last_lit&&(pt(e,!1),0===e.strm.avail_out)?rt:it},_t=function(e,t){for(var n,r,i;;){if(e.lookahead<$e){if(vt(e),e.lookahead<$e&&t===_e)return rt;if(0===e.lookahead)break}if(n=0,e.lookahead>=We&&(e.ins_h=ft(e,e.ins_h,e.window[e.strstart+We-1]),n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),e.prev_length=e.match_length,e.prev_match=e.match_start,e.match_length=We-1,0!==n&&e.prev_length<e.max_lazy_match&&e.strstart-n<=e.w_size-$e&&(e.match_length=yt(e,n),e.match_length<=5&&(e.strategy===Ie||e.match_length===We&&e.strstart-e.match_start>4096)&&(e.match_length=We-1)),e.prev_length>=We&&e.match_length<=e.prev_length){i=e.strstart+e.lookahead-We,r=ve(e,e.strstart-1-e.prev_match,e.prev_length-We),e.lookahead-=e.prev_length-1,e.prev_length-=2;do{++e.strstart<=i&&(e.ins_h=ft(e,e.ins_h,e.window[e.strstart+We-1]),n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart)}while(0!=--e.prev_length);if(e.match_available=0,e.match_length=We-1,e.strstart++,r&&(pt(e,!1),0===e.strm.avail_out))return rt}else if(e.match_available){if((r=ve(e,0,e.window[e.strstart-1]))&&pt(e,!1),e.strstart++,e.lookahead--,0===e.strm.avail_out)return rt}else e.match_available=1,e.strstart++,e.lookahead--}return e.match_available&&(r=ve(e,0,e.window[e.strstart-1]),e.match_available=0),e.insert=e.strstart<We-1?e.strstart:We-1,t===xe?(pt(e,!0),0===e.strm.avail_out?ot:at):e.last_lit&&(pt(e,!1),0===e.strm.avail_out)?rt:it},wt=function(e,t){for(var n,r,i,o,a=e.window;;){if(e.lookahead<=Ge){if(vt(e),e.lookahead<=Ge&&t===_e)return rt;if(0===e.lookahead)break}if(e.match_length=0,e.lookahead>=We&&e.strstart>0&&(r=a[i=e.strstart-1])===a[++i]&&r===a[++i]&&r===a[++i]){o=e.strstart+Ge;do{}while(r===a[++i]&&r===a[++i]&&r===a[++i]&&r===a[++i]&&r===a[++i]&&r===a[++i]&&r===a[++i]&&r===a[++i]&&i<o);e.match_length=Ge-(o-i),e.match_length>e.lookahead&&(e.match_length=e.lookahead)}if(e.match_length>=We?(n=ve(e,1,e.match_length-We),e.lookahead-=e.match_length,e.strstart+=e.match_length,e.match_length=0):(n=ve(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++),n&&(pt(e,!1),0===e.strm.avail_out))return rt}return e.insert=0,t===xe?(pt(e,!0),0===e.strm.avail_out?ot:at):e.last_lit&&(pt(e,!1),0===e.strm.avail_out)?rt:it},Tt=function(e,t){for(var n;;){if(0===e.lookahead&&(vt(e),0===e.lookahead)){if(t===_e)return rt;break}if(e.match_length=0,n=ve(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++,n&&(pt(e,!1),0===e.strm.avail_out))return rt}return e.insert=0,t===xe?(pt(e,!0),0===e.strm.avail_out?ot:at):e.last_lit&&(pt(e,!1),0===e.strm.avail_out)?rt:it};function xt(e,t,n,r,i){this.good_length=e,this.max_lazy=t,this.nice_length=n,this.max_chain=r,this.func=i}var St=[new xt(0,0,0,0,(function(e,t){var n=65535;for(n>e.pending_buf_size-5&&(n=e.pending_buf_size-5);;){if(e.lookahead<=1){if(vt(e),0===e.lookahead&&t===_e)return rt;if(0===e.lookahead)break}e.strstart+=e.lookahead,e.lookahead=0;var r=e.block_start+n;if((0===e.strstart||e.strstart>=r)&&(e.lookahead=e.strstart-r,e.strstart=r,pt(e,!1),0===e.strm.avail_out))return rt;if(e.strstart-e.block_start>=e.w_size-$e&&(pt(e,!1),0===e.strm.avail_out))return rt}return e.insert=0,t===xe?(pt(e,!0),0===e.strm.avail_out?ot:at):(e.strstart>e.block_start&&(pt(e,!1),e.strm.avail_out),rt)})),new xt(4,4,8,4,bt),new xt(4,5,16,8,bt),new xt(4,6,32,32,bt),new xt(4,4,16,16,_t),new xt(8,16,32,32,_t),new xt(8,16,128,128,_t),new xt(8,32,128,256,_t),new xt(32,128,258,1024,_t),new xt(32,258,258,4096,_t)],kt=function(e){e.window_size=2*e.w_size,lt(e.head),e.max_lazy_match=St[e.level].max_lazy,e.good_match=St[e.level].good_length,e.nice_match=St[e.level].nice_length,e.max_chain_length=St[e.level].max_chain,e.strstart=0,e.block_start=0,e.lookahead=0,e.insert=0,e.match_length=e.prev_length=We-1,e.match_available=0,e.ins_h=0};function Et(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=Ne,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new Uint16Array(2*qe),this.dyn_dtree=new Uint16Array(2*(2*He+1)),this.bl_tree=new Uint16Array(2*(2*Ze+1)),lt(this.dyn_ltree),lt(this.dyn_dtree),lt(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new Uint16Array(Ve+1),this.heap=new Uint16Array(2*ze+1),lt(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new Uint16Array(2*ze+1),lt(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}var Ot=function(e){if(!e||!e.state)return ut(e,Oe);e.total_in=e.total_out=0,e.data_type=De;var t=e.state;return t.pending=0,t.pending_out=0,t.wrap<0&&(t.wrap=-t.wrap),t.status=t.wrap?Ke:tt,e.adler=2===t.wrap?0:1,t.last_flush=_e,ge(t),ke},Ct=function(e){var t=Ot(e);return t===ke&&kt(e.state),t},Lt=function(e,t,n,r,i,o){if(!e)return Oe;var a=1;if(t===Ae&&(t=6),r<0?(a=0,r=-r):r>15&&(a=2,r-=16),i<1||i>Be||n!==Ne||r<8||r>15||t<0||t>9||o<0||o>Re)return ut(e,Oe);8===r&&(r=9);var s=new Et;return e.state=s,s.strm=e,s.wrap=a,s.gzhead=null,s.w_bits=r,s.w_size=1<<s.w_bits,s.w_mask=s.w_size-1,s.hash_bits=i+7,s.hash_size=1<<s.hash_bits,s.hash_mask=s.hash_size-1,s.hash_shift=~~((s.hash_bits+We-1)/We),s.window=new Uint8Array(2*s.w_size),s.head=new Uint16Array(s.hash_size),s.prev=new Uint16Array(s.w_size),s.lit_bufsize=1<<i+6,s.pending_buf_size=4*s.lit_bufsize,s.pending_buf=new Uint8Array(s.pending_buf_size),s.d_buf=1*s.lit_bufsize,s.l_buf=3*s.lit_bufsize,s.level=t,s.strategy=o,s.method=n,Ct(e)},At=function(e,t){var n=t.length;if(!e||!e.state)return Oe;var r=e.state,i=r.wrap;if(2===i||1===i&&r.status!==Ke||r.lookahead)return Oe;if(1===i&&(e.adler=le(e.adler,t,n,0)),r.wrap=0,n>=r.w_size){0===i&&(lt(r.head),r.strstart=0,r.block_start=0,r.insert=0);var o=new Uint8Array(r.w_size);o.set(t.subarray(n-r.w_size,n),0),t=o,n=r.w_size}var a=e.avail_in,s=e.next_in,u=e.input;for(e.avail_in=n,e.next_in=0,e.input=t,vt(r);r.lookahead>=We;){var c=r.strstart,l=r.lookahead-(We-1);do{r.ins_h=ft(r,r.ins_h,r.window[c+We-1]),r.prev[c&r.w_mask]=r.head[r.ins_h],r.head[r.ins_h]=c,c++}while(--l);r.strstart=c,r.lookahead=We-1,vt(r)}return r.strstart+=r.lookahead,r.block_start=r.strstart,r.insert=r.lookahead,r.lookahead=0,r.match_length=r.prev_length=We-1,r.match_available=0,e.next_in=s,e.input=u,e.avail_in=a,r.wrap=i,ke},It={deflateInit:function(e,t){return Lt(e,t,Ne,Ue,Fe,je)},deflateInit2:Lt,deflateReset:Ct,deflateResetKeep:Ot,deflateSetHeader:function(e,t){return e&&e.state?2!==e.state.wrap?Oe:(e.state.gzhead=t,ke):Oe},deflate:function(e,t){var n,r;if(!e||!e.state||t>Se||t<0)return e?ut(e,Oe):Oe;var i=e.state;if(!e.output||!e.input&&0!==e.avail_in||i.status===nt&&t!==xe)return ut(e,0===e.avail_out?Le:Oe);i.strm=e;var o=i.last_flush;if(i.last_flush=t,i.status===Ke)if(2===i.wrap)e.adler=0,ht(i,31),ht(i,139),ht(i,8),i.gzhead?(ht(i,(i.gzhead.text?1:0)+(i.gzhead.hcrc?2:0)+(i.gzhead.extra?4:0)+(i.gzhead.name?8:0)+(i.gzhead.comment?16:0)),ht(i,255&i.gzhead.time),ht(i,i.gzhead.time>>8&255),ht(i,i.gzhead.time>>16&255),ht(i,i.gzhead.time>>24&255),ht(i,9===i.level?2:i.strategy>=Pe||i.level<2?4:0),ht(i,255&i.gzhead.os),i.gzhead.extra&&i.gzhead.extra.length&&(ht(i,255&i.gzhead.extra.length),ht(i,i.gzhead.extra.length>>8&255)),i.gzhead.hcrc&&(e.adler=de(e.adler,i.pending_buf,i.pending,0)),i.gzindex=0,i.status=Xe):(ht(i,0),ht(i,0),ht(i,0),ht(i,0),ht(i,0),ht(i,9===i.level?2:i.strategy>=Pe||i.level<2?4:0),ht(i,st),i.status=tt);else{var a=Ne+(i.w_bits-8<<4)<<8;a|=(i.strategy>=Pe||i.level<2?0:i.level<6?1:6===i.level?2:3)<<6,0!==i.strstart&&(a|=Ye),a+=31-a%31,i.status=tt,gt(i,a),0!==i.strstart&&(gt(i,e.adler>>>16),gt(i,65535&e.adler)),e.adler=1}if(i.status===Xe)if(i.gzhead.extra){for(n=i.pending;i.gzindex<(65535&i.gzhead.extra.length)&&(i.pending!==i.pending_buf_size||(i.gzhead.hcrc&&i.pending>n&&(e.adler=de(e.adler,i.pending_buf,i.pending-n,n)),dt(e),n=i.pending,i.pending!==i.pending_buf_size));)ht(i,255&i.gzhead.extra[i.gzindex]),i.gzindex++;i.gzhead.hcrc&&i.pending>n&&(e.adler=de(e.adler,i.pending_buf,i.pending-n,n)),i.gzindex===i.gzhead.extra.length&&(i.gzindex=0,i.status=Qe)}else i.status=Qe;if(i.status===Qe)if(i.gzhead.name){n=i.pending;do{if(i.pending===i.pending_buf_size&&(i.gzhead.hcrc&&i.pending>n&&(e.adler=de(e.adler,i.pending_buf,i.pending-n,n)),dt(e),n=i.pending,i.pending===i.pending_buf_size)){r=1;break}r=i.gzindex<i.gzhead.name.length?255&i.gzhead.name.charCodeAt(i.gzindex++):0,ht(i,r)}while(0!==r);i.gzhead.hcrc&&i.pending>n&&(e.adler=de(e.adler,i.pending_buf,i.pending-n,n)),0===r&&(i.gzindex=0,i.status=Je)}else i.status=Je;if(i.status===Je)if(i.gzhead.comment){n=i.pending;do{if(i.pending===i.pending_buf_size&&(i.gzhead.hcrc&&i.pending>n&&(e.adler=de(e.adler,i.pending_buf,i.pending-n,n)),dt(e),n=i.pending,i.pending===i.pending_buf_size)){r=1;break}r=i.gzindex<i.gzhead.comment.length?255&i.gzhead.comment.charCodeAt(i.gzindex++):0,ht(i,r)}while(0!==r);i.gzhead.hcrc&&i.pending>n&&(e.adler=de(e.adler,i.pending_buf,i.pending-n,n)),0===r&&(i.status=et)}else i.status=et;if(i.status===et&&(i.gzhead.hcrc?(i.pending+2>i.pending_buf_size&&dt(e),i.pending+2<=i.pending_buf_size&&(ht(i,255&e.adler),ht(i,e.adler>>8&255),e.adler=0,i.status=tt)):i.status=tt),0!==i.pending){if(dt(e),0===e.avail_out)return i.last_flush=-1,ke}else if(0===e.avail_in&&ct(t)<=ct(o)&&t!==xe)return ut(e,Le);if(i.status===nt&&0!==e.avail_in)return ut(e,Le);if(0!==e.avail_in||0!==i.lookahead||t!==_e&&i.status!==nt){var s=i.strategy===Pe?Tt(i,t):i.strategy===Me?wt(i,t):St[i.level].func(i,t);if(s!==ot&&s!==at||(i.status=nt),s===rt||s===ot)return 0===e.avail_out&&(i.last_flush=-1),ke;if(s===it&&(t===we?be(i):t!==Se&&(me(i,0,0,!1),t===Te&&(lt(i.head),0===i.lookahead&&(i.strstart=0,i.block_start=0,i.insert=0))),dt(e),0===e.avail_out))return i.last_flush=-1,ke}return t!==xe?ke:i.wrap<=0?Ee:(2===i.wrap?(ht(i,255&e.adler),ht(i,e.adler>>8&255),ht(i,e.adler>>16&255),ht(i,e.adler>>24&255),ht(i,255&e.total_in),ht(i,e.total_in>>8&255),ht(i,e.total_in>>16&255),ht(i,e.total_in>>24&255)):(gt(i,e.adler>>>16),gt(i,65535&e.adler)),dt(e),i.wrap>0&&(i.wrap=-i.wrap),0!==i.pending?ke:Ee)},deflateEnd:function(e){if(!e||!e.state)return Oe;var t=e.state.status;return t!==Ke&&t!==Xe&&t!==Qe&&t!==Je&&t!==et&&t!==tt&&t!==nt?ut(e,Oe):(e.state=null,t===tt?ut(e,Ce):ke)},deflateSetDictionary:At,deflateInfo:"pako deflate (from Nodeca project)"};function Pt(e){return Pt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Pt(e)}var Mt=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},Rt=function(e){for(var t=Array.prototype.slice.call(arguments,1);t.length;){var n=t.shift();if(n){if("object"!==Pt(n))throw new TypeError(n+"must be non-object");for(var r in n)Mt(n,r)&&(e[r]=n[r])}}return e},jt={assign:Rt,flattenChunks:function(e){for(var t=0,n=0,r=e.length;n<r;n++)t+=e[n].length;for(var i=new Uint8Array(t),o=0,a=0,s=e.length;o<s;o++){var u=e[o];i.set(u,a),a+=u.length}return i}};try{String.fromCharCode.apply(null,new Uint8Array(1))}catch(e){!1}for(var Dt=new Uint8Array(256),Nt=0;Nt<256;Nt++)Dt[Nt]=Nt>=252?6:Nt>=248?5:Nt>=240?4:Nt>=224?3:Nt>=192?2:1;function Bt(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}Dt[254]=Dt[254]=1;var Ut=Bt,Ft=Object.prototype.toString,zt=he.Z_NO_FLUSH,Ht=he.Z_SYNC_FLUSH,Zt=he.Z_FULL_FLUSH,qt=he.Z_FINISH,Vt=he.Z_OK,Wt=he.Z_STREAM_END,Gt=he.Z_DEFAULT_COMPRESSION,$t=he.Z_DEFAULT_STRATEGY,Yt=he.Z_DEFLATED;function Kt(e){this.options=jt.assign({level:Gt,method:Yt,chunkSize:16384,windowBits:15,memLevel:8,strategy:$t},e||{});var t=this.options;t.raw&&t.windowBits>0?t.windowBits=-t.windowBits:t.gzip&&t.windowBits>0&&t.windowBits<16&&(t.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new Ut,this.strm.avail_out=0;var n=It.deflateInit2(this.strm,t.level,t.method,t.windowBits,t.memLevel,t.strategy);if(n!==Vt)throw new Error(pe[n]);if(t.header&&It.deflateSetHeader(this.strm,t.header),t.dictionary){var r;if(r="[object ArrayBuffer]"===Ft.call(t.dictionary)?new Uint8Array(t.dictionary):t.dictionary,(n=It.deflateSetDictionary(this.strm,r))!==Vt)throw new Error(pe[n]);this._dict_set=!0}}function Xt(e){if("function"==typeof TextEncoder&&TextEncoder.prototype.encode)return(new TextEncoder).encode(e);var t,n,r,i,o,a=e.length,s=0;for(i=0;i<a;i++)55296==(64512&(n=e.charCodeAt(i)))&&i+1<a&&56320==(64512&(r=e.charCodeAt(i+1)))&&(n=65536+(n-55296<<10)+(r-56320),i++),s+=n<128?1:n<2048?2:n<65536?3:4;for(t=new Uint8Array(s),o=0,i=0;o<s;i++)55296==(64512&(n=e.charCodeAt(i)))&&i+1<a&&56320==(64512&(r=e.charCodeAt(i+1)))&&(n=65536+(n-55296<<10)+(r-56320),i++),n<128?t[o++]=n:n<2048?(t[o++]=192|n>>>6,t[o++]=128|63&n):n<65536?(t[o++]=224|n>>>12,t[o++]=128|n>>>6&63,t[o++]=128|63&n):(t[o++]=240|n>>>18,t[o++]=128|n>>>12&63,t[o++]=128|n>>>6&63,t[o++]=128|63&n);return t}return Kt.prototype.push=function(e,t){var n,r,i=this.strm,o=this.options.chunkSize;if(this.ended)return!1;for(r=t===~~t?t:!0===t?qt:zt,"[object ArrayBuffer]"===Ft.call(e)?i.input=new Uint8Array(e):i.input=e,i.next_in=0,i.avail_in=i.input.length;;)if(0===i.avail_out&&(i.output=new Uint8Array(o),i.next_out=0,i.avail_out=o),(r===Ht||r===Zt)&&i.avail_out<=6)this.onData(i.output.subarray(0,i.next_out)),i.avail_out=0;else{if((n=It.deflate(i,r))===Wt)return i.next_out>0&&this.onData(i.output.subarray(0,i.next_out)),n=It.deflateEnd(this.strm),this.onEnd(n),this.ended=!0,n===Vt;if(0!==i.avail_out){if(r>0&&i.next_out>0)this.onData(i.output.subarray(0,i.next_out)),i.avail_out=0;else if(0===i.avail_in)break}else this.onData(i.output)}return!0},Kt.prototype.onData=function(e){this.chunks.push(e)},Kt.prototype.onEnd=function(e){e===Vt&&(this.result=jt.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg},{Deflate:Kt,constants:he,string2buf:Xt}}(),n=t.Deflate,r=t.constants,i=t.string2buf,o=new n,a=0;function s(e){var t=i(e);return o.push(t,r.Z_SYNC_FLUSH),a+=t.length,t.length}self.addEventListener("message",e((function(e){var t=e.data;switch(t.action){case"init":self.postMessage({type:"initialized"});break;case"write":var i=s(t.data);self.postMessage({type:"wrote",id:t.id,compressedSize:o.chunks.reduce((function(e,t){return e+t.length}),0),additionalRawSize:i});break;case"flush":i=t.data?s(t.data):0;o.push("",r.Z_FINISH),self.postMessage({type:"flushed",id:t.id,result:o.result,additionalRawSize:i,rawSize:a}),o=new n,a=0}})))}))()}var Ri={status:0};function ji(e,t){switch(void 0===t&&(t=Pi),Ri.status){case 0:Ri={status:1,callbacks:[e]},function(e){void 0===e&&(e=Pi);try{var t=e();t.addEventListener("error",ce(Di)),t.addEventListener("message",ce((function(e){var n,r=e.data;"errored"===r.type?Di(r.error):"initialized"===r.type&&(n=t,1===Ri.status&&(Ri.callbacks.forEach((function(e){return e(n)})),Ri={status:3,worker:n}))}))),t.postMessage({action:"init"})}catch(e){Di(e)}}(t);break;case 1:Ri.callbacks.push(e);break;case 2:e();break;case 3:e(Ri.worker)}}function Di(e){1===Ri.status?(o.error("Session Replay recording failed to start: an error occurred while creating the Worker:",e),e instanceof Event||e instanceof Error&&k(e.message,"Content Security Policy")?o.error("Please make sure CSP is correctly configured https://docs.datadoghq.com/real_user_monitoring/faq/content_security_policy"):de(e),Ri.callbacks.forEach((function(e){return e()})),Ri={status:2}):de(e)}var Ni=function(e,t){if(void 0===t&&(t=ji),Q())return{start:T,stop:T,getReplayStats:function(){},onRumStart:T,isRecording:function(){return!1}};var n={status:0},r=function(){n={status:1}},i=function(){n={status:0}};return{start:function(){return r()},stop:function(){return i()},getReplayStats:ki,onRumStart:function(o,a,s,u){o.subscribe(Je.SESSION_EXPIRED,(function(){2!==n.status&&3!==n.status||(i(),n={status:1})})),o.subscribe(Je.SESSION_RENEWED,(function(){1===n.status&&r()})),r=function(){var r=s.findTrackedSession();r&&r.hasReplayPlan?2!==n.status&&3!==n.status&&(n={status:2},N("interactive",(function(){2===n.status&&t((function(t){if(2===n.status)if(t){var r=e(o,a,s,u,t).stop;n={status:3,stopRecording:r}}else n={status:0}}))}))):n={status:1}},i=function(){0!==n.status&&(3===n.status&&n.stopRecording(),n={status:0})},1===n.status&&r()},isRecording:function(){return 3===n.status}}}((function(e,t,n,r,i){var o=Ii(e,t.applicationId,n,r,(function(e,n,r,i){return _i(t.sessionReplayEndpointBuilder,e,n,r,i)}),i),a=o.addRecord,s=o.stop;function u(e){a(hr(hr({},e),{timestamp:Date.now()}))}var c=function(e){var t=e.emit;if(!t)throw new Error("emit function is required");var n=new ui,r=function(){n.flush(),t({data:{height:pi(),href:window.location.href,width:di()},type:yr}),t({data:{has_focus:document.hasFocus()},type:vr}),t({data:{node:Xr(document,e.defaultPrivacyLevel),initialOffset:{left:hi(),top:gi()}},type:gr}),window.visualViewport&&t({data:fi(),type:_r})};return r(),{stop:mi({mutationController:n,defaultPrivacyLevel:e.defaultPrivacyLevel,inputCb:function(e){return t({data:hr({source:Ir.Input},e),type:mr})},mediaInteractionCb:function(e){return t({data:hr({source:Ir.MediaInteraction},e),type:mr})},mouseInteractionCb:function(e){return t({data:hr({source:Ir.MouseInteraction},e),type:mr})},mousemoveCb:function(e,n){return t({data:{positions:e,source:n},type:mr})},mutationCb:function(e){return t({data:hr({source:Ir.Mutation},e),type:mr})},scrollCb:function(e){return t({data:hr({source:Ir.Scroll},e),type:mr})},styleSheetRuleCb:function(e){return t({data:hr({source:Ir.StyleSheetRule},e),type:mr})},viewportResizeCb:function(e){return t({data:hr({source:Ir.ViewportResize},e),type:mr})},focusCb:function(e){return t({type:vr,data:e})},visualViewportResizeCb:function(e){t({data:e,type:_r})}}),takeFullSnapshot:r,flushMutations:function(){return n.flush()}}}({emit:u,defaultPrivacyLevel:t.defaultPrivacyLevel}),l=c.stop,f=c.takeFullSnapshot,d=c.flushMutations,p=e.subscribe(Je.VIEW_ENDED,(function(){d(),u({type:br})})).unsubscribe,h=e.subscribe(Je.VIEW_CREATED,f).unsubscribe;return{stop:function(){p(),h(),l(),s()}}})),Bi=function(e,t,n){var i,a=(void 0===n?{}:n).ignoreInitIfSyntheticsWillInjectRum,s=void 0===a||a,u=!1,c=(i={},{get:function(){return i},add:function(e,t){i[e]=t},remove:function(e){delete i[e]},set:function(e){i=e}}),l={},f=function(){},d=function(){},p=new be,h=function(e,t){void 0===t&&(t=xe()),p.add((function(){return h(e,t)}))},g=function(e,t){void 0===t&&(t=ke()),p.add((function(){return g(e,t)}))},y=function(e,t){void 0===t&&(t=_()),p.add((function(){return y(e,t)}))},v=function(e,t){void 0===t&&(t=_()),p.add((function(){return v(e,t)}))};function _(){return F({context:c.get(),user:l})}function w(n,r,i){var o=e(n,r,(function(){return{user:l,context:c.get(),hasReplay:!!t.isRecording()||void 0}}),t,i);g=o.startView,y=o.addAction,v=o.addError,h=o.addTiming,f=o.getInternalContext,p.drain(),t.onRumStart(o.lifeCycle,n,o.session,o.parentContexts)}var T=function(e,t){var n=r(r({},t),{version:e.sdkVersion,onReady:function(e){e()}});return Object.defineProperty(n,"_setDebug",{get:function(){return he},enumerable:!1}),n}(Qe,{init:ce((function(e){if(!s||!Xe()){if(Q())e=function(e){return ye(ye({},e),{applicationId:"00000000-aaaa-0000-aaaa-000000000000",clientToken:"empty",sampleRate:100})}(e);else if(!function(e){if(!function(e){if(void 0===document.cookie||null===document.cookie)return!1;try{var t="dd_cookie_test_"+b(),n="test";Pe(t,n,m,e);var r=Me(t)===n;return Re(t,e),r}catch(e){return o.error(e),!1}}(Ke(e)))return o.warn("Cookies are not authorized, we will not send any data."),!1;if("file:"===window.location.protocol)return o.error("Execution is not allowed in the current context."),!1;return!0}(e))return;if(function(e){if(u)return e.silentMultipleInit||o.error("DD_RUM is already initialized."),!1;return!0}(e)){var t=function(e){var t,n;if(e.applicationId)if(void 0===e.replaySampleRate||O(e.replaySampleRate)){if(void 0!==e.allowedTracingOrigins){if(!Array.isArray(e.allowedTracingOrigins))return void o.error("Allowed Tracing Origins should be an array");if(0!==e.allowedTracingOrigins.length&&void 0===e.service)return void o.error("Service need to be configured when tracing is enabled")}var r,i,a=Ye(e,Qe);if(a)return ye(ye({},a),{applicationId:e.applicationId,actionNameAttribute:e.actionNameAttribute,replaySampleRate:null!==(t=e.replaySampleRate)&&void 0!==t?t:100,allowedTracingOrigins:null!==(n=e.allowedTracingOrigins)&&void 0!==n?n:[],trackInteractions:!!e.trackInteractions,trackViewsManually:!!e.trackViewsManually,defaultPrivacyLevel:(r=$e,i=e.defaultPrivacyLevel,Object.keys(r).some((function(e){return r[e]===i}))?e.defaultPrivacyLevel:$e.MASK_USER_INPUT)})}else o.error("Replay Sample Rate should be a number between 0 and 100");else o.error("Application ID is not configured, no RUM data will be collected.")}(e);if(t){var n=ue(t);if(t.trackViewsManually){var r=p;p=new be,g=function(e){w(t,n,e)},r.drain()}else w(t,n);d=function(){return F(e)},u=!0}}}})),addRumGlobalContext:ce(c.add),removeRumGlobalContext:ce(c.remove),getRumGlobalContext:ce(c.get),setRumGlobalContext:ce(c.set),getInternalContext:ce((function(e){return f(e)})),getInitConfiguration:ce((function(){return d()})),addAction:ce((function(e,t){y({name:e,context:F(t),startClocks:ke(),type:Ge.CUSTOM})})),addError:function(e,t){var n=K();le((function(){v({error:e,handlingStack:n,context:F(t),startClocks:ke()})}))},addTiming:ce((function(e,t){h(e,t)})),setUser:ce((function(e){var t=function(e){if("object"!=typeof e||!e)return;var t=F(e);"id"in t&&(t.id=String(t.id));"name"in t&&(t.name=String(t.name));"email"in t&&(t.email=String(t.email));return t}(e);t?l=t:o.error("Unsupported user:",e)})),removeUser:ce((function(){l={}})),startView:ce((function(e){g(e)})),startSessionReplayRecording:ce(t.start),stopSessionReplayRecording:ce(t.stop)});return T}((function(e,t,n,r,i){var o=new rt,a=Q()?function(){var e={id:"00000000-aaaa-0000-aaaa-000000000000",hasReplayPlan:!0,hasLitePlan:!1};return{findTrackedSession:function(){return e}}}():Yt(e,o),s=function(){var e=nt(),t=new et((function(){if(e){var n=new e(ce((function(){return t.notify()})));return n.observe(document,{attributes:!0,characterData:!0,childList:!0,subtree:!0}),function(){return n.disconnect()}}}));return t}(),u=pr(location);t.setExternalContextProvider((function(){var t;return z({application_id:e.applicationId,session:{id:null===(t=a.findTrackedSession())||void 0===t?void 0:t.id}},l.findView(),{view:{name:null}})}));var c=function(e,t,n,r,i,o){var a,s=function(e){var t=new Ot(144e5),n=new Ot(3e5);function r(e){return{view:{id:e.id,name:e.name}}}return e.subscribe(Je.VIEW_CREATED,(function(e){t.setCurrent(r(e),e.startClocks.relative)})),e.subscribe(Je.VIEW_UPDATED,(function(e){var n=t.getCurrent();n&&n.view.id===e.id&&t.setCurrent(r(e),e.startClocks.relative)})),e.subscribe(Je.VIEW_ENDED,(function(e){var n=e.endClocks;t.closeCurrent(n.relative)})),e.subscribe(Je.AUTO_ACTION_CREATED,(function(e){n.setCurrent(function(e){return{action:{id:e.id}}}(e),e.startClocks.relative)})),e.subscribe(Je.AUTO_ACTION_COMPLETED,(function(e){if(n.getCurrent()){var t=e.startClocks.relative+e.duration;n.closeCurrent(t)}})),e.subscribe(Je.AUTO_ACTION_DISCARDED,(function(){n.clearCurrent()})),e.subscribe(Je.SESSION_RENEWED,(function(){t.reset(),n.reset()})),{findAction:function(e){return n.find(e)},findView:function(e){return t.find(e)},stop:function(){t.stop(),n.stop()}}}(e),u=function(e,t,n){var r,i=new Ot(144e5);e.subscribe(Je.VIEW_ENDED,(function(e){var t=e.endClocks;i.closeCurrent(t.relative)})),e.subscribe(Je.VIEW_CREATED,(function(e){var t=e.startClocks,o=n.href;i.setCurrent(a({url:o,referrer:r||document.referrer}),t.relative),r=o}));var o=t.subscribe((function(e){var t=e.newLocation,n=i.getCurrent();if(n){var r=Se();i.closeCurrent(r),i.setCurrent(a({url:t.href,referrer:n.view.referrer}),r)}}));function a(e){return{view:{url:e.url,referrer:e.referrer}}}return{findUrl:function(e){return i.find(e)},stop:function(){o.unsubscribe(),i.stop()}}}(e,i,n),c=tn();Q()?function(e){var t=X();e.subscribe(Je.RUM_EVENT_COLLECTED,(function(e){t.send("rum",e)}))}(e):a=dr(t,e).stop;return Jt(t,e,r,s,u,o),{parentContexts:s,foregroundContexts:c,urlContexts:u,stop:function(){null==a||a(),s.stop(),c.stop()}}}(o,e,location,a,u,n),l=c.parentContexts,f=c.foregroundContexts,d=c.urlContexts;!function(e,t){e.subscribe(Je.PERFORMANCE_ENTRIES_COLLECTED,(function(n){for(var r=0,i=n;r<i.length;r++){var o=i[r];if("longtask"!==o.entryType)break;var a=t.findTrackedSession(o.startTime);if(!a||a.hasLitePlan)break;var s=_e(o.startTime),u={date:s.timeStamp,long_task:{id:b(),duration:Te(o.duration)},type:Ve.LONG_TASK};e.notify(Je.RAW_RUM_EVENT_COLLECTED,{rawRumEvent:u,startTime:s.relative,domainContext:{performanceEntry:o.toJSON()}})}}))}(o,a),Jn(o);var p=lr(o,e,location,s,u,f,r,i),h=p.addTiming,g=p.startView,m=Kn(o,f).addError,y=function(e,t,n,r){return e.subscribe(Je.AUTO_ACTION_COMPLETED,(function(t){return e.notify(Je.RAW_RUM_EVENT_COLLECTED,Fn(t,r))})),n.trackInteractions&&Bn(e,t,n),{addAction:function(t,n){e.notify(Je.RAW_RUM_EVENT_COLLECTED,ye({savedCommonContext:n},Fn(t,r)))}}}(o,s,e,f).addAction;Sn(o,e,a),_t(o,e);var v=function(e,t,n,r){return{get:function(i){var o=n.findView(i),a=r.findUrl(i),s=t.findTrackedSession(i);if(s&&o&&a){var u=n.findAction(i);return{application_id:e,session_id:s.id,user_action:u?{id:u.action.id}:void 0,view:ye(ye({},o.view),a.view)}}}}}(e.applicationId,a,l,d);return{addAction:y,addError:m,addTiming:h,startView:g,lifeCycle:o,parentContexts:l,session:a,getInternalContext:v.get}}),Ni);!function(e,t,n){var r=e[t];e[t]=n,r&&r.q&&r.q.forEach((function(e){return me(e,"onReady callback threw an error:")()}))}(P(),"DD_RUM",Bi)},89097:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isUnicodeLanguageSubtag=t.isUnicodeScriptSubtag=t.isUnicodeRegionSubtag=t.isStructurallyValidLanguageTag=t.parseUnicodeLanguageId=t.parseUnicodeLocaleId=t.getCanonicalLocales=void 0;var r=n(28197),i=n(33016),o=n(60825),a=n(69391);t.getCanonicalLocales=function(e){return function(e){if(void 0===e)return[];var t=[];"string"==typeof e&&(e=[e]);for(var n=0,r=e;n<r.length;n++){var s=r[n],u=o.emitUnicodeLocaleId(a.canonicalizeUnicodeLocaleId(i.parseUnicodeLocaleId(s)));t.indexOf(u)<0&&t.push(u)}return t}(e)};var s=n(33016);Object.defineProperty(t,"parseUnicodeLocaleId",{enumerable:!0,get:function(){return s.parseUnicodeLocaleId}}),Object.defineProperty(t,"parseUnicodeLanguageId",{enumerable:!0,get:function(){return s.parseUnicodeLanguageId}}),Object.defineProperty(t,"isStructurallyValidLanguageTag",{enumerable:!0,get:function(){return s.isStructurallyValidLanguageTag}}),Object.defineProperty(t,"isUnicodeRegionSubtag",{enumerable:!0,get:function(){return s.isUnicodeRegionSubtag}}),Object.defineProperty(t,"isUnicodeScriptSubtag",{enumerable:!0,get:function(){return s.isUnicodeScriptSubtag}}),Object.defineProperty(t,"isUnicodeLanguageSubtag",{enumerable:!0,get:function(){return s.isUnicodeLanguageSubtag}}),r.__exportStar(n(539),t),r.__exportStar(n(60825),t)},28197:function(e,t,n){"use strict";n.r(t),n.d(t,{__assign:function(){return o},__asyncDelegator:function(){return w},__asyncGenerator:function(){return _},__asyncValues:function(){return T},__await:function(){return b},__awaiter:function(){return l},__classPrivateFieldGet:function(){return O},__classPrivateFieldSet:function(){return C},__createBinding:function(){return d},__decorate:function(){return s},__exportStar:function(){return p},__extends:function(){return i},__generator:function(){return f},__importDefault:function(){return E},__importStar:function(){return k},__makeTemplateObject:function(){return x},__metadata:function(){return c},__param:function(){return u},__read:function(){return g},__rest:function(){return a},__spread:function(){return m},__spreadArray:function(){return v},__spreadArrays:function(){return y},__values:function(){return h}});var r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)};function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var o=function(){return o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},o.apply(this,arguments)};function a(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n}function s(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a}function u(e,t){return function(n,r){t(n,r,e)}}function c(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}function l(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{u(r.next(e))}catch(e){o(e)}}function s(e){try{u(r.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}u((r=r.apply(e,t||[])).next())}))}function f(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(i=a.trys,(i=i.length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}}var d=Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]};function p(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||d(t,e,n)}function h(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function g(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)a.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a}function m(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(g(arguments[t]));return e}function y(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var r=Array(e),i=0;for(t=0;t<n;t++)for(var o=arguments[t],a=0,s=o.length;a<s;a++,i++)r[i]=o[a];return r}function v(e,t){for(var n=0,r=t.length,i=e.length;n<r;n++,i++)e[i]=t[n];return e}function b(e){return this instanceof b?(this.v=e,this):new b(e)}function _(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,i=n.apply(e,t||[]),o=[];return r={},a("next"),a("throw"),a("return"),r[Symbol.asyncIterator]=function(){return this},r;function a(e){i[e]&&(r[e]=function(t){return new Promise((function(n,r){o.push([e,t,n,r])>1||s(e,t)}))})}function s(e,t){try{(n=i[e](t)).value instanceof b?Promise.resolve(n.value.v).then(u,c):l(o[0][2],n)}catch(e){l(o[0][3],e)}var n}function u(e){s("next",e)}function c(e){s("throw",e)}function l(e,t){e(t),o.shift(),o.length&&s(o[0][0],o[0][1])}}function w(e){var t,n;return t={},r("next"),r("throw",(function(e){throw e})),r("return"),t[Symbol.iterator]=function(){return this},t;function r(r,i){t[r]=e[r]?function(t){return(n=!n)?{value:b(e[r](t)),done:"return"===r}:i?i(t):t}:i}}function T(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=h(e),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(n){t[n]=e[n]&&function(t){return new Promise((function(r,i){(function(e,t,n,r){Promise.resolve(r).then((function(t){e({value:t,done:n})}),t)})(r,i,(t=e[n](t)).done,t.value)}))}}}function x(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}var S=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t};function k(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&d(t,e,n);return S(t,e),t}function E(e){return e&&e.__esModule?e:{default:e}}function O(e,t,n,r){if("a"===n&&!r)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!r:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===n?r:"a"===n?r.call(e):r?r.value:t.get(e)}function C(e,t,n,r,i){if("m"===r)throw new TypeError("Private method is not writable");if("a"===r&&!i)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!i:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===r?i.call(e,n):i?i.value=n:t.set(e,n),n}},71692:function(e,t,n){"use strict";var r=n(89097),i=n(65010);"undefined"==typeof Intl&&("undefined"!=typeof window?Object.defineProperty(window,"Intl",{value:{}}):void 0!==n.g&&Object.defineProperty(n.g,"Intl",{value:{}})),i.shouldPolyfill()&&Object.defineProperty(Intl,"getCanonicalLocales",{value:r.getCanonicalLocales,writable:!0,enumerable:!1,configurable:!0})},65010:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.shouldPolyfill=void 0,t.shouldPolyfill=function(){return"undefined"==typeof Intl||!("getCanonicalLocales"in Intl)||"x-private"===Intl.getCanonicalLocales("und-x-private")[0]}},69391:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.canonicalizeUnicodeLocaleId=t.canonicalizeUnicodeLanguageId=void 0;var r=n(28197),i=n(89713),o=n(33016),a=r.__importStar(n(2228)),s=n(60825);function u(e){for(var t={},n=[],r=0,i=e;r<i.length;r++){var o=i[r];o[0]in t||(t[o[0]]=1,o[1]&&"true"!==o[1]?n.push([o[0].toLowerCase(),o[1].toLowerCase()]):n.push([o[0].toLowerCase()]))}return n.sort(c)}function c(e,t){return e[0]<t[0]?-1:e[0]>t[0]?1:0}function l(e,t){return e.type<t.type?-1:e.type>t.type?1:0}function f(e,t){for(var n=r.__spreadArray([],e),i=0,o=t;i<o.length;i++){var a=o[i];e.indexOf(a)<0&&n.push(a)}return n}function d(e){var t=e;if(e.variants.length)for(var n="",r=0,u=e.variants;r<u.length;r++){var c=u[r];if(n=i.languageAlias[s.emitUnicodeLanguageId({lang:e.lang,variants:[c]})]){t={lang:(p=o.parseUnicodeLanguageId(n.split(o.SEPARATOR))).lang,script:t.script||p.script,region:t.region||p.region,variants:f(t.variants,p.variants)};break}}if(t.script&&t.region){var l=i.languageAlias[s.emitUnicodeLanguageId({lang:t.lang,script:t.script,region:t.region,variants:[]})];if(l)t={lang:(p=o.parseUnicodeLanguageId(l.split(o.SEPARATOR))).lang,script:p.script,region:p.region,variants:t.variants}}if(t.region){var d=i.languageAlias[s.emitUnicodeLanguageId({lang:t.lang,region:t.region,variants:[]})];if(d)t={lang:(p=o.parseUnicodeLanguageId(d.split(o.SEPARATOR))).lang,script:t.script||p.script,region:p.region,variants:t.variants}}var p,h=i.languageAlias[s.emitUnicodeLanguageId({lang:t.lang,variants:[]})];h&&(t={lang:(p=o.parseUnicodeLanguageId(h.split(o.SEPARATOR))).lang,script:t.script||p.script,region:t.region||p.region,variants:t.variants});if(t.region){var g=t.region.toUpperCase(),m=i.territoryAlias[g],y=void 0;if(m){var v=m.split(" ");y=v[0];var b=a.supplemental.likelySubtags[s.emitUnicodeLanguageId({lang:t.lang,script:t.script,variants:[]})];if(b){var _=o.parseUnicodeLanguageId(b.split(o.SEPARATOR)).region;_&&v.indexOf(_)>-1&&(y=_)}}y&&(t.region=y),t.region=t.region.toUpperCase()}if(t.script&&(t.script=t.script[0].toUpperCase()+t.script.slice(1).toLowerCase(),i.scriptAlias[t.script]&&(t.script=i.scriptAlias[t.script])),t.variants.length){for(var w=0;w<t.variants.length;w++){c=t.variants[w].toLowerCase();if(i.variantAlias[c]){var T=i.variantAlias[c];o.isUnicodeVariantSubtag(T)?t.variants[w]=T:o.isUnicodeLanguageSubtag(T)&&(t.lang=T)}}t.variants.sort()}return t}t.canonicalizeUnicodeLanguageId=d,t.canonicalizeUnicodeLocaleId=function(e){if(e.lang=d(e.lang),e.extensions){for(var t=0,n=e.extensions;t<n.length;t++){var r=n[t];switch(r.type){case"u":r.keywords=u(r.keywords),r.attributes&&(r.attributes=(i=r.attributes,Object.keys(i.reduce((function(e,t){return e[t.toLowerCase()]=1,e}),{})).sort()));break;case"t":r.lang&&(r.lang=d(r.lang)),r.fields=u(r.fields);break;default:r.value=r.value.toLowerCase()}}e.extensions.sort(l)}var i;return e}},89713:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.variantAlias=t.scriptAlias=t.territoryAlias=t.languageAlias=void 0,t.languageAlias={"aa-saaho":"ssy",aam:"aas",aar:"aa",abk:"ab",adp:"dz",afr:"af",agp:"apf",ais:"ami",aju:"jrb",aka:"ak",alb:"sq",als:"sq",amh:"am",ara:"ar",arb:"ar",arg:"an",arm:"hy","art-lojban":"jbo",asd:"snz",asm:"as",aue:"ktz",ava:"av",ave:"ae",aym:"ay",ayr:"ay",ayx:"nun",aze:"az",azj:"az",bak:"ba",bam:"bm",baq:"eu",baz:"nvo",bcc:"bal",bcl:"bik",bel:"be",ben:"bn",bgm:"bcg",bh:"bho",bhk:"fbl",bih:"bho",bis:"bi",bjd:"drl",bjq:"bzc",bkb:"ebk",bod:"bo",bos:"bs",bre:"br",btb:"beb",bul:"bg",bur:"my",bxk:"luy",bxr:"bua",cat:"ca",ccq:"rki","cel-gaulish":"xtg",ces:"cs",cha:"ch",che:"ce",chi:"zh",chu:"cu",chv:"cv",cjr:"mom",cka:"cmr",cld:"syr",cmk:"xch",cmn:"zh",cnr:"sr-ME",cor:"kw",cos:"co",coy:"pij",cqu:"quh",cre:"cr",cwd:"cr",cym:"cy",cze:"cs",daf:"dnj",dan:"da",dap:"njz",deu:"de",dgo:"doi",dhd:"mwr",dik:"din",diq:"zza",dit:"dif",div:"dv",djl:"dze",dkl:"aqd",drh:"mn",drr:"kzk",drw:"fa-AF",dud:"uth",duj:"dwu",dut:"nl",dwl:"dbt",dzo:"dz",ekk:"et",ell:"el",elp:"amq",emk:"man","en-GB-oed":"en-GB-oxendict",eng:"en",epo:"eo",esk:"ik",est:"et",eus:"eu",ewe:"ee",fao:"fo",fas:"fa",fat:"ak",fij:"fj",fin:"fi",fra:"fr",fre:"fr",fry:"fy",fuc:"ff",ful:"ff",gav:"dev",gaz:"om",gbc:"wny",gbo:"grb",geo:"ka",ger:"de",gfx:"vaj",ggn:"gvr",ggo:"esg",ggr:"gtu",gio:"aou",gla:"gd",gle:"ga",glg:"gl",gli:"kzk",glv:"gv",gno:"gon",gre:"el",grn:"gn",gti:"nyc",gug:"gn",guj:"gu",guv:"duz",gya:"gba",hat:"ht",hau:"ha",hbs:"sr-Latn",hdn:"hai",hea:"hmn",heb:"he",her:"hz",him:"srx",hin:"hi",hmo:"ho",hrr:"jal",hrv:"hr",hun:"hu","hy-arevmda":"hyw",hye:"hy","i-ami":"ami","i-bnn":"bnn","i-default":"en-x-i-default","i-enochian":"und-x-i-enochian","i-hak":"hak","i-klingon":"tlh","i-lux":"lb","i-mingo":"see-x-i-mingo","i-navajo":"nv","i-pwn":"pwn","i-tao":"tao","i-tay":"tay","i-tsu":"tsu",ibi:"opa",ibo:"ig",ice:"is",ido:"io",iii:"ii",ike:"iu",iku:"iu",ile:"ie",ill:"ilm",ilw:"gal",in:"id",ina:"ia",ind:"id",ipk:"ik",isl:"is",ita:"it",iw:"he",izi:"eza",jar:"jgk",jav:"jv",jeg:"oyb",ji:"yi",jpn:"ja",jw:"jv",kal:"kl",kan:"kn",kas:"ks",kat:"ka",kau:"kr",kaz:"kk",kdv:"zkd",kgc:"tdf",kgd:"ncq",kgh:"kml",khk:"mn",khm:"km",kik:"ki",kin:"rw",kir:"ky",kmr:"ku",knc:"kr",kng:"kg",knn:"kok",koj:"kwv",kom:"kv",kon:"kg",kor:"ko",kpp:"jkm",kpv:"kv",krm:"bmf",ktr:"dtp",kua:"kj",kur:"ku",kvs:"gdj",kwq:"yam",kxe:"tvd",kxl:"kru",kzh:"dgl",kzj:"dtp",kzt:"dtp",lao:"lo",lat:"la",lav:"lv",lbk:"bnc",leg:"enl",lii:"raq",lim:"li",lin:"ln",lit:"lt",llo:"ngt",lmm:"rmx",ltz:"lb",lub:"lu",lug:"lg",lvs:"lv",mac:"mk",mah:"mh",mal:"ml",mao:"mi",mar:"mr",may:"ms",meg:"cir",mgx:"jbk",mhr:"chm",mkd:"mk",mlg:"mg",mlt:"mt",mnk:"man",mnt:"wnn",mo:"ro",mof:"xnt",mol:"ro",mon:"mn",mri:"mi",msa:"ms",mst:"mry",mup:"raj",mwd:"dmw",mwj:"vaj",mya:"my",myd:"aog",myt:"mry",nad:"xny",nau:"na",nav:"nv",nbf:"nru",nbl:"nr",nbx:"ekc",ncp:"kdz",nde:"nd",ndo:"ng",nep:"ne",nld:"nl",nln:"azd",nlr:"nrk",nno:"nn",nns:"nbr",nnx:"ngv",no:"nb","no-bok":"nb","no-bokmal":"nb","no-nyn":"nn","no-nynorsk":"nn",nob:"nb",noo:"dtd",nor:"nb",npi:"ne",nts:"pij",nxu:"bpp",nya:"ny",oci:"oc",ojg:"oj",oji:"oj",ori:"or",orm:"om",ory:"or",oss:"os",oun:"vaj",pan:"pa",pbu:"ps",pcr:"adx",per:"fa",pes:"fa",pli:"pi",plt:"mg",pmc:"huw",pmu:"phr",pnb:"lah",pol:"pl",por:"pt",ppa:"bfy",ppr:"lcq",prs:"fa-AF",pry:"prt",pus:"ps",puz:"pub",que:"qu",quz:"qu",rmr:"emx",rmy:"rom",roh:"rm",ron:"ro",rum:"ro",run:"rn",rus:"ru",sag:"sg",san:"sa",sap:"aqt",sca:"hle",scc:"sr",scr:"hr",sgl:"isk","sgn-BE-FR":"sfb","sgn-BE-NL":"vgt","sgn-BR":"bzs","sgn-CH-DE":"sgg","sgn-CO":"csn","sgn-DE":"gsg","sgn-DK":"dsl","sgn-ES":"ssp","sgn-FR":"fsl","sgn-GB":"bfi","sgn-GR":"gss","sgn-IE":"isg","sgn-IT":"ise","sgn-JP":"jsl","sgn-MX":"mfs","sgn-NI":"ncs","sgn-NL":"dse","sgn-NO":"nsi","sgn-PT":"psr","sgn-SE":"swl","sgn-US":"ase","sgn-ZA":"sfs",sh:"sr-Latn",sin:"si",skk:"oyb",slk:"sk",slo:"sk",slv:"sl",sme:"se",smo:"sm",sna:"sn",snd:"sd",som:"so",sot:"st",spa:"es",spy:"kln",sqi:"sq",src:"sc",srd:"sc",srp:"sr",ssw:"ss",sul:"sgd",sum:"ulw",sun:"su",swa:"sw",swc:"sw-CD",swe:"sv",swh:"sw",tah:"ty",tam:"ta",tat:"tt",tdu:"dtp",tel:"te",tgg:"bjp",tgk:"tg",tgl:"fil",tha:"th",thc:"tpo",thw:"ola",thx:"oyb",tib:"bo",tid:"itd",tie:"ras",tir:"ti",tkk:"twm",tl:"fil",tlw:"weo",tmp:"tyj",tne:"kak",tnf:"fa-AF",ton:"to",tsf:"taj",tsn:"tn",tso:"ts",ttq:"tmh",tuk:"tk",tur:"tr",tw:"ak",twi:"ak",uig:"ug",ukr:"uk",umu:"del","und-aaland":"und-AX","und-arevela":"und","und-arevmda":"und","und-bokmal":"und","und-hakka":"und","und-hepburn-heploc":"und-alalc97","und-lojban":"und","und-nynorsk":"und","und-saaho":"und","und-xiang":"und",unp:"wro",uok:"ema",urd:"ur",uzb:"uz",uzn:"uz",ven:"ve",vie:"vi",vol:"vo",wel:"cy",wgw:"wgb",wit:"nol",wiw:"nwo",wln:"wa",wol:"wo",xba:"cax",xho:"xh",xia:"acn",xkh:"waw",xpe:"kpe",xrq:"dmw",xsj:"suj",xsl:"den",ybd:"rki",ydd:"yi",yen:"ynq",yid:"yi",yiy:"yrm",yma:"lrr",ymt:"mtm",yor:"yo",yos:"zom",yuu:"yug",zai:"zap","zh-cmn":"zh","zh-cmn-Hans":"zh-Hans","zh-cmn-Hant":"zh-Hant","zh-gan":"gan","zh-guoyu":"zh","zh-hakka":"hak","zh-min":"nan-x-zh-min","zh-min-nan":"nan","zh-wuu":"wuu","zh-xiang":"hsn","zh-yue":"yue",zha:"za",zho:"zh",zir:"scv",zsm:"ms",zul:"zu",zyb:"za"},t.territoryAlias={100:"BG",104:"MM",108:"BI",112:"BY",116:"KH",120:"CM",124:"CA",132:"CV",136:"KY",140:"CF",144:"LK",148:"TD",152:"CL",156:"CN",158:"TW",162:"CX",166:"CC",170:"CO",172:"RU AM AZ BY GE KG KZ MD TJ TM UA UZ",174:"KM",175:"YT",178:"CG",180:"CD",184:"CK",188:"CR",191:"HR",192:"CU",196:"CY",200:"CZ SK",203:"CZ",204:"BJ",208:"DK",212:"DM",214:"DO",218:"EC",222:"SV",226:"GQ",230:"ET",231:"ET",232:"ER",233:"EE",234:"FO",238:"FK",239:"GS",242:"FJ",246:"FI",248:"AX",249:"FR",250:"FR",254:"GF",258:"PF",260:"TF",262:"DJ",266:"GA",268:"GE",270:"GM",275:"PS",276:"DE",278:"DE",280:"DE",288:"GH",292:"GI",296:"KI",300:"GR",304:"GL",308:"GD",312:"GP",316:"GU",320:"GT",324:"GN",328:"GY",332:"HT",334:"HM",336:"VA",340:"HN",344:"HK",348:"HU",352:"IS",356:"IN",360:"ID",364:"IR",368:"IQ",372:"IE",376:"IL",380:"IT",384:"CI",388:"JM",392:"JP",398:"KZ",400:"JO",404:"KE",408:"KP",410:"KR",414:"KW",417:"KG",418:"LA",422:"LB",426:"LS",428:"LV",430:"LR",434:"LY",438:"LI",440:"LT",442:"LU",446:"MO",450:"MG",454:"MW",458:"MY",462:"MV",466:"ML",470:"MT",474:"MQ",478:"MR",480:"MU",484:"MX",492:"MC",496:"MN",498:"MD",499:"ME",500:"MS",504:"MA",508:"MZ",512:"OM",516:"NA",520:"NR",524:"NP",528:"NL",530:"CW SX BQ",531:"CW",532:"CW SX BQ",533:"AW",534:"SX",535:"BQ",536:"SA IQ",540:"NC",548:"VU",554:"NZ",558:"NI",562:"NE",566:"NG",570:"NU",574:"NF",578:"NO",580:"MP",581:"UM",582:"FM MH MP PW",583:"FM",584:"MH",585:"PW",586:"PK",591:"PA",598:"PG",600:"PY",604:"PE",608:"PH",612:"PN",616:"PL",620:"PT",624:"GW",626:"TL",630:"PR",634:"QA",638:"RE",642:"RO",643:"RU",646:"RW",652:"BL",654:"SH",659:"KN",660:"AI",662:"LC",663:"MF",666:"PM",670:"VC",674:"SM",678:"ST",682:"SA",686:"SN",688:"RS",690:"SC",694:"SL",702:"SG",703:"SK",704:"VN",705:"SI",706:"SO",710:"ZA",716:"ZW",720:"YE",724:"ES",728:"SS",729:"SD",732:"EH",736:"SD",740:"SR",744:"SJ",748:"SZ",752:"SE",756:"CH",760:"SY",762:"TJ",764:"TH",768:"TG",772:"TK",776:"TO",780:"TT",784:"AE",788:"TN",792:"TR",795:"TM",796:"TC",798:"TV",800:"UG",804:"UA",807:"MK",810:"RU AM AZ BY EE GE KZ KG LV LT MD TJ TM UA UZ",818:"EG",826:"GB",830:"JE GG",831:"GG",832:"JE",833:"IM",834:"TZ",840:"US",850:"VI",854:"BF",858:"UY",860:"UZ",862:"VE",876:"WF",882:"WS",886:"YE",887:"YE",890:"RS ME SI HR MK BA",891:"RS ME",894:"ZM",958:"AA",959:"QM",960:"QN",962:"QP",963:"QQ",964:"QR",965:"QS",966:"QT",967:"EU",968:"QV",969:"QW",970:"QX",971:"QY",972:"QZ",973:"XA",974:"XB",975:"XC",976:"XD",977:"XE",978:"XF",979:"XG",980:"XH",981:"XI",982:"XJ",983:"XK",984:"XL",985:"XM",986:"XN",987:"XO",988:"XP",989:"XQ",990:"XR",991:"XS",992:"XT",993:"XU",994:"XV",995:"XW",996:"XX",997:"XY",998:"XZ",999:"ZZ","004":"AF","008":"AL","010":"AQ","012":"DZ","016":"AS","020":"AD","024":"AO","028":"AG","031":"AZ","032":"AR","036":"AU","040":"AT","044":"BS","048":"BH","050":"BD","051":"AM","052":"BB","056":"BE","060":"BM","062":"034 143","064":"BT","068":"BO","070":"BA","072":"BW","074":"BV","076":"BR","084":"BZ","086":"IO","090":"SB","092":"VG","096":"BN",AAA:"AA",ABW:"AW",AFG:"AF",AGO:"AO",AIA:"AI",ALA:"AX",ALB:"AL",AN:"CW SX BQ",AND:"AD",ANT:"CW SX BQ",ARE:"AE",ARG:"AR",ARM:"AM",ASC:"AC",ASM:"AS",ATA:"AQ",ATF:"TF",ATG:"AG",AUS:"AU",AUT:"AT",AZE:"AZ",BDI:"BI",BEL:"BE",BEN:"BJ",BES:"BQ",BFA:"BF",BGD:"BD",BGR:"BG",BHR:"BH",BHS:"BS",BIH:"BA",BLM:"BL",BLR:"BY",BLZ:"BZ",BMU:"BM",BOL:"BO",BRA:"BR",BRB:"BB",BRN:"BN",BTN:"BT",BU:"MM",BUR:"MM",BVT:"BV",BWA:"BW",CAF:"CF",CAN:"CA",CCK:"CC",CHE:"CH",CHL:"CL",CHN:"CN",CIV:"CI",CMR:"CM",COD:"CD",COG:"CG",COK:"CK",COL:"CO",COM:"KM",CPT:"CP",CPV:"CV",CRI:"CR",CS:"RS ME",CT:"KI",CUB:"CU",CUW:"CW",CXR:"CX",CYM:"KY",CYP:"CY",CZE:"CZ",DD:"DE",DDR:"DE",DEU:"DE",DGA:"DG",DJI:"DJ",DMA:"DM",DNK:"DK",DOM:"DO",DY:"BJ",DZA:"DZ",ECU:"EC",EGY:"EG",ERI:"ER",ESH:"EH",ESP:"ES",EST:"EE",ETH:"ET",FIN:"FI",FJI:"FJ",FLK:"FK",FQ:"AQ TF",FRA:"FR",FRO:"FO",FSM:"FM",FX:"FR",FXX:"FR",GAB:"GA",GBR:"GB",GEO:"GE",GGY:"GG",GHA:"GH",GIB:"GI",GIN:"GN",GLP:"GP",GMB:"GM",GNB:"GW",GNQ:"GQ",GRC:"GR",GRD:"GD",GRL:"GL",GTM:"GT",GUF:"GF",GUM:"GU",GUY:"GY",HKG:"HK",HMD:"HM",HND:"HN",HRV:"HR",HTI:"HT",HUN:"HU",HV:"BF",IDN:"ID",IMN:"IM",IND:"IN",IOT:"IO",IRL:"IE",IRN:"IR",IRQ:"IQ",ISL:"IS",ISR:"IL",ITA:"IT",JAM:"JM",JEY:"JE",JOR:"JO",JPN:"JP",JT:"UM",KAZ:"KZ",KEN:"KE",KGZ:"KG",KHM:"KH",KIR:"KI",KNA:"KN",KOR:"KR",KWT:"KW",LAO:"LA",LBN:"LB",LBR:"LR",LBY:"LY",LCA:"LC",LIE:"LI",LKA:"LK",LSO:"LS",LTU:"LT",LUX:"LU",LVA:"LV",MAC:"MO",MAF:"MF",MAR:"MA",MCO:"MC",MDA:"MD",MDG:"MG",MDV:"MV",MEX:"MX",MHL:"MH",MI:"UM",MKD:"MK",MLI:"ML",MLT:"MT",MMR:"MM",MNE:"ME",MNG:"MN",MNP:"MP",MOZ:"MZ",MRT:"MR",MSR:"MS",MTQ:"MQ",MUS:"MU",MWI:"MW",MYS:"MY",MYT:"YT",NAM:"NA",NCL:"NC",NER:"NE",NFK:"NF",NGA:"NG",NH:"VU",NIC:"NI",NIU:"NU",NLD:"NL",NOR:"NO",NPL:"NP",NQ:"AQ",NRU:"NR",NT:"SA IQ",NTZ:"SA IQ",NZL:"NZ",OMN:"OM",PAK:"PK",PAN:"PA",PC:"FM MH MP PW",PCN:"PN",PER:"PE",PHL:"PH",PLW:"PW",PNG:"PG",POL:"PL",PRI:"PR",PRK:"KP",PRT:"PT",PRY:"PY",PSE:"PS",PU:"UM",PYF:"PF",PZ:"PA",QAT:"QA",QMM:"QM",QNN:"QN",QPP:"QP",QQQ:"QQ",QRR:"QR",QSS:"QS",QTT:"QT",QU:"EU",QUU:"EU",QVV:"QV",QWW:"QW",QXX:"QX",QYY:"QY",QZZ:"QZ",REU:"RE",RH:"ZW",ROU:"RO",RUS:"RU",RWA:"RW",SAU:"SA",SCG:"RS ME",SDN:"SD",SEN:"SN",SGP:"SG",SGS:"GS",SHN:"SH",SJM:"SJ",SLB:"SB",SLE:"SL",SLV:"SV",SMR:"SM",SOM:"SO",SPM:"PM",SRB:"RS",SSD:"SS",STP:"ST",SU:"RU AM AZ BY EE GE KZ KG LV LT MD TJ TM UA UZ",SUN:"RU AM AZ BY EE GE KZ KG LV LT MD TJ TM UA UZ",SUR:"SR",SVK:"SK",SVN:"SI",SWE:"SE",SWZ:"SZ",SXM:"SX",SYC:"SC",SYR:"SY",TAA:"TA",TCA:"TC",TCD:"TD",TGO:"TG",THA:"TH",TJK:"TJ",TKL:"TK",TKM:"TM",TLS:"TL",TMP:"TL",TON:"TO",TP:"TL",TTO:"TT",TUN:"TN",TUR:"TR",TUV:"TV",TWN:"TW",TZA:"TZ",UGA:"UG",UK:"GB",UKR:"UA",UMI:"UM",URY:"UY",USA:"US",UZB:"UZ",VAT:"VA",VCT:"VC",VD:"VN",VEN:"VE",VGB:"VG",VIR:"VI",VNM:"VN",VUT:"VU",WK:"UM",WLF:"WF",WSM:"WS",XAA:"XA",XBB:"XB",XCC:"XC",XDD:"XD",XEE:"XE",XFF:"XF",XGG:"XG",XHH:"XH",XII:"XI",XJJ:"XJ",XKK:"XK",XLL:"XL",XMM:"XM",XNN:"XN",XOO:"XO",XPP:"XP",XQQ:"XQ",XRR:"XR",XSS:"XS",XTT:"XT",XUU:"XU",XVV:"XV",XWW:"XW",XXX:"XX",XYY:"XY",XZZ:"XZ",YD:"YE",YEM:"YE",YMD:"YE",YU:"RS ME",YUG:"RS ME",ZAF:"ZA",ZAR:"CD",ZMB:"ZM",ZR:"CD",ZWE:"ZW",ZZZ:"ZZ"},t.scriptAlias={Qaai:"Zinh"},t.variantAlias={heploc:"alalc97",polytoni:"polyton"}},60825:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.emitUnicodeLocaleId=t.emitUnicodeLanguageId=void 0;var r=n(28197);function i(e){return e?r.__spreadArray([e.lang,e.script,e.region],e.variants||[]).filter(Boolean).join("-"):""}t.emitUnicodeLanguageId=i,t.emitUnicodeLocaleId=function(e){for(var t=e.lang,n=e.extensions,o=[i(t)],a=0,s=n;a<s.length;a++){var u=s[a];switch(o.push(u.type),u.type){case"u":o.push.apply(o,r.__spreadArray(r.__spreadArray([],u.attributes),u.keywords.reduce((function(e,t){return e.concat(t)}),[])));break;case"t":o.push.apply(o,r.__spreadArray([i(u.lang)],u.fields.reduce((function(e,t){return e.concat(t)}),[])));break;default:o.push(u.value)}}return o.filter(Boolean).join("-")}},33016:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.parseUnicodeLocaleId=t.parseUnicodeLanguageId=t.isUnicodeVariantSubtag=t.isUnicodeScriptSubtag=t.isUnicodeRegionSubtag=t.isStructurallyValidLanguageTag=t.isUnicodeLanguageSubtag=t.SEPARATOR=void 0;var r=n(28197),i=/^[a-z0-9]{1,8}$/i,o=/^[a-z0-9]{2,8}$/i,a=/^[a-z0-9]{3,8}$/i,s=/^[a-z0-9][a-z]$/i,u=/^[a-z0-9]{3,8}$/i,c=/^[a-z]{4}$/i,l=/^[0-9a-svwyz]$/i,f=/^([a-z]{2}|[0-9]{3})$/i,d=/^([a-z0-9]{5,8}|[0-9][a-z0-9]{3})$/i,p=/^([a-z]{2,3}|[a-z]{5,8})$/i,h=/^[a-z][0-9]$/i;function g(e){return p.test(e)}function m(e){return f.test(e)}function y(e){return c.test(e)}function v(e){return d.test(e)}function b(e){"string"==typeof e&&(e=e.split(t.SEPARATOR));var n,r,i=e.shift();if(!i)throw new RangeError("Missing unicode_language_subtag");if("root"===i)return{lang:"root",variants:[]};if(!g(i))throw new RangeError("Malformed unicode_language_subtag");e.length&&y(e[0])&&(n=e.shift()),e.length&&m(e[0])&&(r=e.shift());for(var o={};e.length&&v(e[0]);){var a=e.shift();if(a in o)throw new RangeError('Duplicate variant "'+a+'"');o[a]=1}return{lang:i,script:n,region:r,variants:Object.keys(o)}}function _(e){for(var t,n=[];e.length&&(t=w(e));)n.push(t);if(n.length)return{type:"u",keywords:n,attributes:[]};for(var r=[];e.length&&a.test(e[0]);)r.push(e.shift());for(;e.length&&(t=w(e));)n.push(t);if(n.length||r.length)return{type:"u",attributes:r,keywords:n};throw new RangeError("Malformed unicode_extension")}function w(e){var n;if(s.test(e[0])){n=e.shift();for(var r=[];e.length&&u.test(e[0]);)r.push(e.shift());var i="";return r.length&&(i=r.join(t.SEPARATOR)),[n,i]}}function T(e){var n;try{n=b(e)}catch(e){}for(var r=[];e.length&&h.test(e[0]);){for(var i=e.shift(),o=[];e.length&&a.test(e[0]);)o.push(e.shift());if(!o.length)throw new RangeError('Missing tvalue for tkey "'+i+'"');r.push([i,o.join(t.SEPARATOR)])}if(r.length)return{type:"t",fields:r,lang:n};throw new RangeError("Malformed transformed_extension")}function x(e){for(var n=[];e.length&&i.test(e[0]);)n.push(e.shift());if(n.length)return{type:"x",value:n.join(t.SEPARATOR)};throw new RangeError("Malformed private_use_extension")}function S(e){for(var n=[];e.length&&o.test(e[0]);)n.push(e.shift());return n.length?n.join(t.SEPARATOR):""}t.SEPARATOR="-",t.isUnicodeLanguageSubtag=g,t.isStructurallyValidLanguageTag=function(e){try{b(e.split(t.SEPARATOR))}catch(e){return!1}return!0},t.isUnicodeRegionSubtag=m,t.isUnicodeScriptSubtag=y,t.isUnicodeVariantSubtag=v,t.parseUnicodeLanguageId=b,t.parseUnicodeLocaleId=function(e){var n=e.split(t.SEPARATOR),i=b(n);return r.__assign({lang:i},function(e){if(!e.length)return{extensions:[]};var t,n,r,i=[],o={};do{var a=e.shift();switch(a){case"u":case"U":if(t)throw new RangeError("There can only be 1 -u- extension");t=_(e),i.push(t);break;case"t":case"T":if(n)throw new RangeError("There can only be 1 -t- extension");n=T(e),i.push(n);break;case"x":case"X":if(r)throw new RangeError("There can only be 1 -x- extension");r=x(e),i.push(r);break;default:if(!l.test(a))throw new RangeError("Malformed extension type");if(a in o)throw new RangeError("There can only be 1 -"+a+"- extension");var s={type:a,value:S(e)};o[s.type]=s,i.push(s)}}while(e.length);return{extensions:i}}(n))}},539:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},91504:function(e,t){"use strict";var n="circle-check",r=[61533,"check-circle"],i="f058",o=["M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM369 209L241 337c-9.4 9.4-24.6 9.4-33.9 0l-64-64c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l47 47L335 175c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9z","M369 175c9.4 9.4 9.4 24.6 0 33.9L241 337c-9.4 9.4-24.6 9.4-33.9 0l-64-64c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l47 47L335 175c9.4-9.4 24.6-9.4 33.9 0z"];t.DF={prefix:"fad",iconName:n,icon:[512,512,r,i,o]},t.fV=t.DF},687:function(e,t){"use strict";var n="file",r=[128196,128459,61462],i="f15b",o=["M64 0C28.7 0 0 28.7 0 64V448c0 35.3 28.7 64 64 64H320c35.3 0 64-28.7 64-64V160H256c-17.7 0-32-14.3-32-32V0H64z","M224 0L384 160H256c-17.7 0-32-14.3-32-32V0z"];t.DF={prefix:"fad",iconName:n,icon:[384,512,r,i,o]},t.gM=t.DF},1238:function(e,t){"use strict";var n="folder-open",r=[128194,128449,61717],i="f07c",o=["M461.4 461.1l16.2-27.9c-3 10.7-8.7 20.2-16.2 27.9zM480 224H144c-11.4 0-21.9 6-27.6 15.9l-112 192c-5.8 9.9-5.8 22.1-.1 32.1c1 1.7 2 3.2 3.2 4.6C2.8 463 0 455.8 0 448V96C0 60.7 28.7 32 64 32H181.5c17 0 33.3 6.7 45.3 18.7l26.5 26.5c12 12 28.3 18.7 45.3 18.7H416c35.3 0 64 28.7 64 64v64zM11.1 472.2c5.7 4.9 13.1 7.8 20.9 7.8c-8 0-15.3-2.9-20.9-7.8z","M144 224c-11.4 0-21.9 6-27.6 15.9l-112 192c-5.8 9.9-5.8 22.1-.1 32.1S20.5 480 32 480H432c11.4 0 21.9-6 27.6-15.9l112-192c5.8-9.9 5.8-22.1 .1-32.1S555.5 224 544 224H144z"];t.DF={prefix:"fad",iconName:n,icon:[576,512,r,i,o]},t.cC=t.DF},15073:function(e,t){"use strict";var n="users",r=[],i="f0c0",o=["M224 80A80 80 0 1 0 64 80a80 80 0 1 0 160 0zm368 0A80 80 0 1 0 432 80a80 80 0 1 0 160 0zM106.7 192C47.8 192 0 239.8 0 298.7C0 310.4 9.6 320 21.3 320H234.7c.2 0 .4 0 .7 0c-26.6-23.5-43.3-57.8-43.3-96c0-7.6 .7-15 1.9-22.3c-13.6-6.3-28.7-9.7-44.6-9.7H106.7zm298 128c.2 0 .4 0 .7 0H618.7c11.8 0 21.3-9.6 21.3-21.3C640 239.8 592.2 192 533.3 192H490.7c-15.9 0-31 3.5-44.6 9.7c1.3 7.2 1.9 14.7 1.9 22.3c0 38.2-16.8 72.5-43.3 96z","M320 320a96 96 0 1 0 0-192 96 96 0 1 0 0 192zm-58.7 32C187.7 352 128 411.7 128 485.3c0 14.7 11.9 26.7 26.7 26.7H485.3c14.7 0 26.7-11.9 26.7-26.7C512 411.7 452.3 352 378.7 352H261.3z"];t.DF={prefix:"fad",iconName:n,icon:[640,512,r,i,o]},t.FV=t.DF},22532:function(e,t){"use strict";var n="browser",r=[128468],i="f37e",o="M0 96C0 60.65 28.65 32 64 32H448C483.3 32 512 60.65 512 96V416C512 451.3 483.3 480 448 480H64C28.65 480 0 451.3 0 416V96zM160 128H480V96C480 78.33 465.7 64 448 64H160V128zM128 64H64C46.33 64 32 78.33 32 96V128H128V64zM32 160V416C32 433.7 46.33 448 64 448H448C465.7 448 480 433.7 480 416V160H32z";t.DF={prefix:"fal",iconName:n,icon:[512,512,r,i,o]},t.m6=t.DF},18944:function(e,t){"use strict";var n="building",r=[127970,61687],i="f1ad",o="M64 120C64 106.7 74.75 96 88 96H136C149.3 96 160 106.7 160 120V168C160 181.3 149.3 192 136 192H88C74.75 192 64 181.3 64 168V120zM96 128V160H128V128H96zM296 96C309.3 96 320 106.7 320 120V168C320 181.3 309.3 192 296 192H248C234.7 192 224 181.3 224 168V120C224 106.7 234.7 96 248 96H296zM288 160V128H256V160H288zM64 248C64 234.7 74.75 224 88 224H136C149.3 224 160 234.7 160 248V296C160 309.3 149.3 320 136 320H88C74.75 320 64 309.3 64 296V248zM96 256V288H128V256H96zM296 224C309.3 224 320 234.7 320 248V296C320 309.3 309.3 320 296 320H248C234.7 320 224 309.3 224 296V248C224 234.7 234.7 224 248 224H296zM288 288V256H256V288H288zM64 512C28.65 512 0 483.3 0 448V64C0 28.65 28.65 0 64 0H320C355.3 0 384 28.65 384 64V448C384 483.3 355.3 512 320 512H64zM32 64V448C32 465.7 46.33 480 64 480H128V416C128 380.7 156.7 352 192 352C227.3 352 256 380.7 256 416V480H320C337.7 480 352 465.7 352 448V64C352 46.33 337.7 32 320 32H64C46.33 32 32 46.33 32 64zM224 416C224 398.3 209.7 384 192 384C174.3 384 160 398.3 160 416V480H224V416z";t.DF={prefix:"fal",iconName:n,icon:[384,512,r,i,o]},t.P8=t.DF},75686:function(e,t){"use strict";var n=[128065],r="f06e",i="M117.2 136C160.3 96 217.6 64 288 64s127.7 32 170.8 72c43.1 40 71.9 88 85.2 120c-13.3 32-42.1 80-85.2 120c-43.1 40-100.4 72-170.8 72s-127.7-32-170.8-72C74.1 336 45.3 288 32 256c13.3-32 42.1-80 85.2-120zM288 32c-80.8 0-145.5 36.8-192.6 80.6C48.6 156 17.3 208 2.5 243.7c-3.3 7.9-3.3 16.7 0 24.6C17.3 304 48.6 356 95.4 399.4C142.5 443.2 207.2 480 288 480s145.5-36.8 192.6-80.6c46.8-43.5 78.1-95.4 93-131.1c3.3-7.9 3.3-16.7 0-24.6c-14.9-35.7-46.2-87.7-93-131.1C433.5 68.8 368.8 32 288 32zM192 256a96 96 0 1 1 192 0 96 96 0 1 1 -192 0zm224 0a128 128 0 1 0 -256 0 128 128 0 1 0 256 0z";t.DF={prefix:"fal",iconName:"eye",icon:[576,512,n,r,i]},t.Md=t.DF},83244:function(e,t){"use strict";var n="eye-slash",r=[],i="f070",o="M25.9 3.4C19-2 8.9-.8 3.4 6.1S-.8 23.1 6.1 28.6l608 480c6.9 5.5 17 4.3 22.5-2.6s4.3-17-2.6-22.5L25.9 3.4zM605.5 268.3c3.3-7.9 3.3-16.7 0-24.6c-14.9-35.7-46.2-87.7-93-131.1C465.5 68.8 400.8 32 320 32c-51.2 0-96 14.8-133.9 36.8l27.3 21.5C244.6 74.2 280.2 64 320 64c70.4 0 127.7 32 170.8 72c43.1 40 71.9 88 85.2 120c-9.2 22.1-25.9 52-49.5 81.5l25.1 19.8c25.6-32 43.7-64.4 53.9-89zM88.4 154.7c-25.6 32-43.7 64.4-53.9 89c-3.3 7.9-3.3 16.7 0 24.6c14.9 35.7 46.2 87.7 93 131.1C174.5 443.2 239.2 480 320 480c51.2 0 96-14.8 133.9-36.8l-27.3-21.5C395.4 437.8 359.8 448 320 448c-70.4 0-127.7-32-170.8-72C106.1 336 77.3 288 64 256c9.2-22.1 25.9-52 49.5-81.5L88.4 154.7zM320 384c16.7 0 32.7-3.2 47.4-9.1l-30.9-24.4c-5.4 .9-10.9 1.4-16.5 1.4c-51 0-92.8-39.8-95.8-90.1l-30.9-24.4c-.9 6-1.3 12.2-1.3 18.5c0 70.7 57.3 128 128 128zM448 256c0-70.7-57.3-128-128-128c-16.7 0-32.7 3.2-47.4 9.1l30.9 24.4c5.4-.9 10.9-1.4 16.5-1.4c51 0 92.8 39.8 95.8 90.1l30.9 24.4c.9-6 1.3-12.2 1.3-18.5z";t.DF={prefix:"fal",iconName:n,icon:[640,512,r,i,o]},t.Aq=t.DF},54135:function(e,t){"use strict";var n="file-export",r=["arrow-right-from-file"],i="f56e",o="M571.3 308.7l-96-96c-6.25-6.25-16.38-6.25-22.62 0s-6.25 16.38 0 22.62L521.4 304H208C199.2 304 192 311.2 192 320s7.156 16 16 16h313.4l-68.69 68.69c-6.25 6.25-6.25 16.38 0 22.62C455.8 430.4 459.9 432 464 432s8.188-1.562 11.31-4.688l96-96C577.6 325.1 577.6 314.9 571.3 308.7zM368 384c-8.836 0-16 7.164-16 16V448c0 17.67-14.33 32-32 32H64c-17.67 0-32-14.33-32-32V64c0-17.67 14.33-32 32-32h128v112C192 170.5 213.5 192 240 192H352v48C352 248.8 359.2 256 368 256C376.8 256 384 248.8 384 240V170.5c0-16.97-6.742-33.26-18.75-45.26L258.7 18.74C246.7 6.742 230.5 0 213.5 0H63.1C28.65 0 0 28.65 0 64l.0065 384c0 35.35 28.66 64 64 64H320c35.35 0 64-28.65 64-64v-48C384 391.2 376.8 384 368 384zM224 34.08c4.477 1.566 8.666 3.846 12.12 7.299l106.5 106.5C346.1 151.3 348.4 155.5 349.9 160H240C231.2 160 224 152.8 224 144V34.08z";t.DF={prefix:"fal",iconName:n,icon:[576,512,r,i,o]},t.c=t.DF},86579:function(e,t){"use strict";var n="file-pdf",r=[],i="f1c1",o="M64 480H96v32H64c-35.3 0-64-28.7-64-64V64C0 28.7 28.7 0 64 0H220.1c12.7 0 24.9 5.1 33.9 14.1L369.9 129.9c9 9 14.1 21.2 14.1 33.9V288H352V192H240c-26.5 0-48-21.5-48-48V32H64C46.3 32 32 46.3 32 64V448c0 17.7 14.3 32 32 32zM351.5 160c-.7-2.8-2.1-5.4-4.2-7.4L231.4 36.7c-2.1-2.1-4.6-3.5-7.4-4.2V144c0 8.8 7.2 16 16 16H351.5zM160 352h24c30.9 0 56 25.1 56 56s-25.1 56-56 56h-8v32c0 8.8-7.2 16-16 16s-16-7.2-16-16V448 368c0-8.8 7.2-16 16-16zm24 80c13.3 0 24-10.7 24-24s-10.7-24-24-24h-8v48h8zm72-64c0-8.8 7.2-16 16-16h24c26.5 0 48 21.5 48 48v64c0 26.5-21.5 48-48 48H272c-8.8 0-16-7.2-16-16V368zm32 112h8c8.8 0 16-7.2 16-16V400c0-8.8-7.2-16-16-16h-8v96zm96-128h48c8.8 0 16 7.2 16 16s-7.2 16-16 16H400v32h32c8.8 0 16 7.2 16 16s-7.2 16-16 16H400v48c0 8.8-7.2 16-16 16s-16-7.2-16-16V432 368c0-8.8 7.2-16 16-16z";t.DF={prefix:"fal",iconName:n,icon:[448,512,r,i,o]},t.gS=t.DF},83252:function(e,t){"use strict";var n="lock-keyhole",r=["lock-alt"],i="f30d",o="M240 392C240 400.8 232.8 408 224 408C215.2 408 208 400.8 208 392V312C208 303.2 215.2 296 224 296C232.8 296 240 303.2 240 312V392zM224 0C294.7 0 352 57.31 352 128V192H368C412.2 192 448 227.8 448 272V432C448 476.2 412.2 512 368 512H80C35.82 512 0 476.2 0 432V272C0 227.8 35.82 192 80 192H96V128C96 57.31 153.3 0 224 0zM224 32C170.1 32 128 74.98 128 128V192H320V128C320 74.98 277 32 224 32zM80 224C53.49 224 32 245.5 32 272V432C32 458.5 53.49 480 80 480H368C394.5 480 416 458.5 416 432V272C416 245.5 394.5 224 368 224H80z";t.DF={prefix:"fal",iconName:n,icon:[448,512,r,i,o]},t.HI=t.DF},48148:function(e,t){"use strict";var n="arrow-down",r=[8595],i="f063",o="M377.4 296.6l-168 176C204.8 477.3 198.6 480 192 480s-12.84-2.688-17.38-7.438l-168-176C-2.5 286.1-2.156 271.8 7.438 262.6c9.5-9.156 24.75-8.812 33.94 .8125L168 396.1V56.02c0-13.25 10.75-24.01 23.1-24.01S216 42.77 216 56.02v340.1l126.6-132.7c9.156-9.625 24.41-9.969 33.94-.8125C386.2 271.8 386.5 286.1 377.4 296.6z";t.DF={prefix:"far",iconName:n,icon:[384,512,r,i,o]},t.r5=t.DF},25215:function(e,t){"use strict";var n="arrow-right",r=[8594],i="f061",o="M264.6 70.63l176 168c4.75 4.531 7.438 10.81 7.438 17.38s-2.688 12.84-7.438 17.38l-176 168c-9.594 9.125-24.78 8.781-33.94-.8125c-9.156-9.5-8.812-24.75 .8125-33.94l132.7-126.6H24.01c-13.25 0-24.01-10.76-24.01-24.01s10.76-23.99 24.01-23.99h340.1l-132.7-126.6C221.8 96.23 221.5 80.98 230.6 71.45C239.8 61.85 254.1 61.51 264.6 70.63z";t.DF={prefix:"far",iconName:n,icon:[448,512,r,i,o]},t.eF=t.DF},9508:function(e,t){"use strict";var n="arrow-right-from-line",r=[8614,"arrow-from-left"],i="f343",o="M48.03 424V88c0-13.25-10.76-24-24.02-24S0 74.75 0 88v336c0 13.25 10.76 24 24.02 24S48.03 437.3 48.03 424zM271.7 145.5L363.7 232H120.1C106.8 232 96.03 242.8 96.03 256S106.8 280 120.1 280h243.6l-91.98 86.53C266.7 371.3 264.2 377.6 264.2 384c0 5.906 2.158 11.81 6.536 16.44c9.069 9.656 24.27 10.12 33.93 1.031l136.1-128c9.694-9.062 9.694-25.88 0-34.94l-136.1-128c-9.663-9.094-24.86-8.625-33.93 1.031C261.6 121.2 262 136.4 271.7 145.5z";t.DF={prefix:"far",iconName:n,icon:[448,512,r,i,o]},t.vT=t.DF},33450:function(e,t){"use strict";var n="arrow-rotate-left",r=[8634,"arrow-left-rotate","arrow-rotate-back","arrow-rotate-backward","undo"],i="f0e2",o="M40 16C53.25 16 64 26.75 64 40v102.1C103.7 75.57 176.3 32.11 256.1 32.11C379.6 32.11 480 132.5 480 256s-100.4 223.9-223.9 223.9c-52.31 0-103.3-18.33-143.5-51.77c-10.19-8.5-11.56-23.62-3.062-33.81c8.5-10.22 23.66-11.56 33.81-3.062C174.9 417.5 214.9 432 256 432c97.03 0 176-78.97 176-176S353 80 256 80c-66.54 0-126.8 38.28-156.5 96H200C213.3 176 224 186.8 224 200S213.3 224 200 224h-160C26.75 224 16 213.3 16 200v-160C16 26.75 26.75 16 40 16z";t.DF={prefix:"far",iconName:n,icon:[512,512,r,i,o]},t.p=t.DF},46487:function(e,t){"use strict";var n="arrow-up",r=[8593],i="f062",o="M6.625 215.5l168-176C179.2 34.7 185.4 32.02 192 32.02s12.84 2.688 17.38 7.438l168 176c9.125 9.594 8.781 24.78-.8125 33.94c-9.5 9.156-24.75 8.812-33.94-.8125L216 115.9V456c0 13.25-10.75 23.1-23.1 23.1S168 469.3 168 456V115.9l-126.6 132.7C32.22 258.2 16.97 258.5 7.438 249.4C-2.156 240.2-2.5 225 6.625 215.5z";t.DF={prefix:"far",iconName:n,icon:[384,512,r,i,o]},t.FP=t.DF},22990:function(e,t){"use strict";var n="arrow-up-from-bracket",r=[],i="e09a",o="M424 320c13.25 0 24 10.75 24 24V416c0 53.02-42.98 96-96 96H96c-53.02 0-96-42.98-96-96v-72C0 330.7 10.74 320 24 320c13.25 0 24 10.75 24 24V416c0 26.4 21.6 48 48 48h256c26.4 0 48-21.6 48-48v-72C400 330.7 410.7 320 424 320zM207.6 6.539l-136 127.1C61.88 143.6 61.44 158.8 70.53 168.4c9.062 9.656 24.25 10.12 33.91 1.031L200 79.56v248.4C200 341.3 210.8 352 224 352s24-10.75 24-23.1V79.56l95.56 89.92c9.656 9.094 24.84 8.625 33.91-1.031C381.8 163.8 384 157.9 384 152c0-6.375-2.531-12.75-7.562-17.47l-136-127.1C231.2-2.18 216.8-2.18 207.6 6.539z";t.DF={prefix:"far",iconName:n,icon:[448,512,r,i,o]},t.A$=t.DF},57255:function(e,t){"use strict";var n="arrow-up-right-from-square",r=["external-link"],i="f08e",o="M304 24c0 13.3 10.7 24 24 24H430.1L207 271c-9.4 9.4-9.4 24.6 0 33.9s24.6 9.4 33.9 0l223-223V184c0 13.3 10.7 24 24 24s24-10.7 24-24V24c0-13.3-10.7-24-24-24H328c-13.3 0-24 10.7-24 24zM72 32C32.2 32 0 64.2 0 104V440c0 39.8 32.2 72 72 72H408c39.8 0 72-32.2 72-72V312c0-13.3-10.7-24-24-24s-24 10.7-24 24V440c0 13.3-10.7 24-24 24H72c-13.3 0-24-10.7-24-24V104c0-13.3 10.7-24 24-24H200c13.3 0 24-10.7 24-24s-10.7-24-24-24H72z";t.DF={prefix:"far",iconName:n,icon:[512,512,r,i,o]},t.wl=t.DF},14104:function(e,t){"use strict";var n="book",r=[128212],i="f02d",o="M448 352V48C448 21.53 426.5 0 400 0h-320C35.89 0 0 35.88 0 80v352C0 476.1 35.89 512 80 512h344c13.25 0 24-10.75 24-24s-10.75-24-24-24H416v-66.95C434.6 390.4 448 372.8 448 352zM368 464h-288c-17.64 0-32-14.34-32-32s14.36-32 32-32h288V464zM400 352h-320c-11.38 0-22.2 2.375-32 6.688V80c0-17.66 14.36-32 32-32h320V352zM152 160h176C341.3 160 352 149.3 352 136S341.3 112 328 112h-176C138.8 112 128 122.8 128 136S138.8 160 152 160zM152 240h176C341.3 240 352 229.3 352 216S341.3 192 328 192h-176C138.8 192 128 202.8 128 216S138.8 240 152 240z";t.DF={prefix:"far",iconName:n,icon:[448,512,r,i,o]},t.FL=t.DF},20840:function(e,t){"use strict";var n="book-open",r=[128214,128366],i="f518",o="M540.9 56.77C493.8 39.74 449.6 31.58 410.9 32.02C352.2 32.96 308.3 50 288 59.74C267.7 50 223.9 32.98 165.2 32.04C125.8 31.35 82.18 39.72 35.1 56.77C14.02 64.41 0 84.67 0 107.2v292.1c0 16.61 7.594 31.95 20.84 42.08c13.73 10.53 31.34 13.91 48.2 9.344c118.1-32 202 22.92 205.5 25.2C278.6 478.6 283.3 480 287.1 480s9.37-1.359 13.43-4.078c3.516-2.328 87.59-57.21 205.5-25.25c16.92 4.563 34.5 1.188 48.22-9.344C568.4 431.2 576 415.9 576 399.2V107.2C576 84.67 561.1 64.41 540.9 56.77zM264 416.8c-27.86-11.61-69.84-24.13-121.4-24.13c-26.39 0-55.28 3.281-86.08 11.61C53.19 405.3 50.84 403.9 50 403.2C48 401.7 48 399.8 48 399.2V107.2c0-2.297 1.516-4.531 3.594-5.282c40.95-14.8 79.61-22.36 112.8-21.84C211.3 80.78 246.8 93.75 264 101.5V416.8zM528 399.2c0 .5938 0 2.422-2 3.969c-.8438 .6407-3.141 2.063-6.516 1.109c-90.98-24.6-165.4-5.032-207.5 12.53v-315.3c17.2-7.782 52.69-20.74 99.59-21.47c32.69-.5157 71.88 7.047 112.8 21.84C526.5 102.6 528 104.9 528 107.2V399.2z";t.DF={prefix:"far",iconName:n,icon:[576,512,r,i,o]},t.cn=t.DF},16092:function(e,t){"use strict";var n="browser",r=[128468],i="f37e",o="M7.724 65.49C13.36 55.11 21.79 46.47 32 40.56C39.63 36.15 48.25 33.26 57.46 32.33C59.61 32.11 61.79 32 64 32H448C483.3 32 512 60.65 512 96V416C512 451.3 483.3 480 448 480H64C28.65 480 0 451.3 0 416V96C0 93.79 .112 91.61 .3306 89.46C1.204 80.85 3.784 72.75 7.724 65.49V65.49zM48 416C48 424.8 55.16 432 64 432H448C456.8 432 464 424.8 464 416V160H48V416z";t.DF={prefix:"far",iconName:n,icon:[512,512,r,i,o]},t.m6=t.DF},6874:function(e,t){"use strict";var n="chevron-right",r=[9002],i="f054",o="M113.3 47.41l183.1 191.1c4.469 4.625 6.688 10.62 6.688 16.59s-2.219 11.97-6.688 16.59l-183.1 191.1c-9.152 9.594-24.34 9.906-33.9 .7187c-9.625-9.125-9.938-24.38-.7187-33.91l168-175.4L78.71 80.6c-9.219-9.5-8.906-24.78 .7187-33.91C88.99 37.5 104.2 37.82 113.3 47.41z";t.DF={prefix:"far",iconName:n,icon:[320,512,r,i,o]},t._t=t.DF},74253:function(e,t){"use strict";var n="chevron-up",r=[],i="f077",o="M15.41 302.7l191.1-183.1C212 114.2 218 111.1 224 111.1s11.97 2.219 16.59 6.688l191.1 183.1c9.594 9.152 9.906 24.34 .7187 33.9c-9.125 9.625-24.38 9.938-33.91 .7187L224 169.2l-175.4 168c-9.5 9.219-24.78 8.906-33.91-.7187C5.502 327 5.814 311.8 15.41 302.7z";t.DF={prefix:"far",iconName:n,icon:[448,512,r,i,o]},t.mT=t.DF},36522:function(e,t){"use strict";var n="circle-check",r=[61533,"check-circle"],i="f058",o="M243.8 339.8C232.9 350.7 215.1 350.7 204.2 339.8L140.2 275.8C129.3 264.9 129.3 247.1 140.2 236.2C151.1 225.3 168.9 225.3 179.8 236.2L224 280.4L332.2 172.2C343.1 161.3 360.9 161.3 371.8 172.2C382.7 183.1 382.7 200.9 371.8 211.8L243.8 339.8zM512 256C512 397.4 397.4 512 256 512C114.6 512 0 397.4 0 256C0 114.6 114.6 0 256 0C397.4 0 512 114.6 512 256zM256 48C141.1 48 48 141.1 48 256C48 370.9 141.1 464 256 464C370.9 464 464 370.9 464 256C464 141.1 370.9 48 256 48z";t.DF={prefix:"far",iconName:n,icon:[512,512,r,i,o]},t.fV=t.DF},94393:function(e,t){"use strict";var n="circle-dot",r=[128280,"dot-circle"],i="f192",o="M160 256C160 202.1 202.1 160 256 160C309 160 352 202.1 352 256C352 309 309 352 256 352C202.1 352 160 309 160 256zM512 256C512 397.4 397.4 512 256 512C114.6 512 0 397.4 0 256C0 114.6 114.6 0 256 0C397.4 0 512 114.6 512 256zM256 48C141.1 48 48 141.1 48 256C48 370.9 141.1 464 256 464C370.9 464 464 370.9 464 256C464 141.1 370.9 48 256 48z";t.DF={prefix:"far",iconName:n,icon:[512,512,r,i,o]},t.W3=t.DF},51546:function(e,t){"use strict";var n="circle-exclamation",r=["exclamation-circle"],i="f06a",o="M256 0C114.6 0 0 114.6 0 256s114.6 256 256 256s256-114.6 256-256S397.4 0 256 0zM256 464c-114.7 0-208-93.31-208-208S141.3 48 256 48s208 93.31 208 208S370.7 464 256 464zM256 304c13.25 0 24-10.75 24-24v-128C280 138.8 269.3 128 256 128S232 138.8 232 152v128C232 293.3 242.8 304 256 304zM256 337.1c-17.36 0-31.44 14.08-31.44 31.44C224.6 385.9 238.6 400 256 400s31.44-14.08 31.44-31.44C287.4 351.2 273.4 337.1 256 337.1z";t.DF={prefix:"far",iconName:n,icon:[512,512,r,i,o]},t.xH=t.DF},13718:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n="circle-info",r=["info-circle"],i="f05a",o="M256 0C114.6 0 0 114.6 0 256s114.6 256 256 256s256-114.6 256-256S397.4 0 256 0zM256 464c-114.7 0-208-93.31-208-208S141.3 48 256 48s208 93.31 208 208S370.7 464 256 464zM296 336h-16V248C280 234.8 269.3 224 256 224H224C210.8 224 200 234.8 200 248S210.8 272 224 272h8v64h-16C202.8 336 192 346.8 192 360S202.8 384 216 384h80c13.25 0 24-10.75 24-24S309.3 336 296 336zM256 192c17.67 0 32-14.33 32-32c0-17.67-14.33-32-32-32S224 142.3 224 160C224 177.7 238.3 192 256 192z";t.definition={prefix:"far",iconName:n,icon:[512,512,r,i,o]},t.faCircleInfo=t.definition,t.prefix="far",t.iconName=n,t.width=512,t.height=512,t.ligatures=r,t.unicode=i,t.svgPathData=o,t.aliases=r},82060:function(e,t){"use strict";var n="clone",r=[],i="f24d",o="M64 464H288C296.8 464 304 456.8 304 448V384H352V448C352 483.3 323.3 512 288 512H64C28.65 512 0 483.3 0 448V224C0 188.7 28.65 160 64 160H128V208H64C55.16 208 48 215.2 48 224V448C48 456.8 55.16 464 64 464zM160 64C160 28.65 188.7 0 224 0H448C483.3 0 512 28.65 512 64V288C512 323.3 483.3 352 448 352H224C188.7 352 160 323.3 160 288V64zM224 304H448C456.8 304 464 296.8 464 288V64C464 55.16 456.8 48 448 48H224C215.2 48 208 55.16 208 64V288C208 296.8 215.2 304 224 304z";t.DF={prefix:"far",iconName:n,icon:[512,512,r,i,o]},t.WM=t.DF},68678:function(e,t,n){"use strict";var r=n(67391);t.DF={prefix:r.prefix,iconName:r.iconName,icon:[r.width,r.height,r.aliases,r.unicode,r.svgPathData]},t.YI=t.DF,r.prefix,r.iconName,r.width,r.height,r.aliases,r.unicode,r.svgPathData,r.aliases},42025:function(e,t){"use strict";var n="comment",r=[128489,61669],i="f075",o="M256 32C114.6 32 .0272 125.1 .0272 240c0 47.63 19.91 91.25 52.91 126.2c-14.88 39.5-45.87 72.88-46.37 73.25c-6.625 7-8.375 17.25-4.625 26C5.818 474.2 14.38 480 24 480c61.5 0 109.1-25.75 139.1-46.25C191.1 442.8 223.3 448 256 448c141.4 0 255.1-93.13 255.1-208S397.4 32 256 32zM256.1 400c-26.75 0-53.12-4.125-78.38-12.12l-22.75-7.125l-19.5 13.75c-14.25 10.12-33.88 21.38-57.5 29c7.375-12.12 14.37-25.75 19.88-40.25l10.62-28l-20.62-21.87C69.82 314.1 48.07 282.2 48.07 240c0-88.25 93.25-160 208-160s208 71.75 208 160S370.8 400 256.1 400z";t.DF={prefix:"far",iconName:n,icon:[512,512,r,i,o]},t.Mz=t.DF},72498:function(e,t){"use strict";var n="copy",r=[],i="f0c5",o="M502.6 70.63l-61.25-61.25C435.4 3.371 427.2 0 418.7 0H255.1c-35.35 0-64 28.66-64 64l.0195 256C192 355.4 220.7 384 256 384h192c35.2 0 64-28.8 64-64V93.25C512 84.77 508.6 76.63 502.6 70.63zM464 320c0 8.836-7.164 16-16 16H255.1c-8.838 0-16-7.164-16-16L239.1 64.13c0-8.836 7.164-16 16-16h128L384 96c0 17.67 14.33 32 32 32h47.1V320zM272 448c0 8.836-7.164 16-16 16H63.1c-8.838 0-16-7.164-16-16L47.98 192.1c0-8.836 7.164-16 16-16H160V128H63.99c-35.35 0-64 28.65-64 64l.0098 256C.002 483.3 28.66 512 64 512h192c35.2 0 64-28.8 64-64v-32h-47.1L272 448z";t.DF={prefix:"far",iconName:n,icon:[512,512,r,i,o]},t.kZ=t.DF},69525:function(e,t){"use strict";var n="distribute-spacing-vertical",r=[],i="e366",o="M0 56C0 42.75 10.75 32 24 32H488C501.3 32 512 42.75 512 56C512 69.25 501.3 80 488 80H24C10.75 80 0 69.25 0 56zM368 160C394.5 160 416 181.5 416 208V304C416 330.5 394.5 352 368 352H144C117.5 352 96 330.5 96 304V208C96 181.5 117.5 160 144 160H368zM368 208H144V304H368V208zM488 432C501.3 432 512 442.7 512 456C512 469.3 501.3 480 488 480H24C10.75 480 0 469.3 0 456C0 442.7 10.75 432 24 432H488z";t.DF={prefix:"far",iconName:n,icon:[512,512,r,i,o]},t.ed=t.DF},22159:function(e,t){"use strict";var n="envelope",r=[128386,9993,61443],i="f0e0",o="M64 112c-8.8 0-16 7.2-16 16v22.1L220.5 291.7c20.7 17 50.4 17 71.1 0L464 150.1V128c0-8.8-7.2-16-16-16H64zM48 212.2V384c0 8.8 7.2 16 16 16H448c8.8 0 16-7.2 16-16V212.2L322 328.8c-38.4 31.5-93.7 31.5-132 0L48 212.2zM0 128C0 92.7 28.7 64 64 64H448c35.3 0 64 28.7 64 64V384c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V128z";t.DF={prefix:"far",iconName:n,icon:[512,512,r,i,o]},t.FU=t.DF},20829:function(e,t){"use strict";var n="file",r=[128196,128459,61462],i="f15b",o="M0 64C0 28.65 28.65 0 64 0H229.5C246.5 0 262.7 6.743 274.7 18.75L365.3 109.3C377.3 121.3 384 137.5 384 154.5V448C384 483.3 355.3 512 320 512H64C28.65 512 0 483.3 0 448V64zM336 448V160H256C238.3 160 224 145.7 224 128V48H64C55.16 48 48 55.16 48 64V448C48 456.8 55.16 464 64 464H320C328.8 464 336 456.8 336 448z";t.DF={prefix:"far",iconName:n,icon:[384,512,r,i,o]},t.gM=t.DF},49702:function(e,t){"use strict";var n="file-export",r=["arrow-right-from-file"],i="f56e",o="M568.1 303l-80-80c-9.375-9.375-24.56-9.375-33.94 0s-9.375 24.56 0 33.94L494.1 296H216C202.8 296 192 306.8 192 320s10.75 24 24 24h278.1l-39.03 39.03C450.3 387.7 448 393.8 448 400s2.344 12.28 7.031 16.97c9.375 9.375 24.56 9.375 33.94 0l80-80C578.3 327.6 578.3 312.4 568.1 303zM360 384c-13.25 0-24 10.74-24 24V448c0 8.836-7.164 16-16 16H64.02c-8.836 0-16-7.164-16-16L48 64.13c0-8.836 7.164-16 16-16h160L224 128c0 17.67 14.33 32 32 32h79.1v72c0 13.25 10.74 24 23.1 24S384 245.3 384 232V138.6c0-16.98-6.742-33.26-18.75-45.26l-74.63-74.64C278.6 6.742 262.3 0 245.4 0H63.1C28.65 0-.002 28.66 0 64l.0065 384c.002 35.34 28.65 64 64 64H320c35.2 0 64-28.8 64-64v-40C384 394.7 373.3 384 360 384z";t.DF={prefix:"far",iconName:n,icon:[576,512,r,i,o]},t.c=t.DF},24560:function(e,t){"use strict";var n="file-import",r=["arrow-right-to-file"],i="f56f",o="M263 383C258.3 387.7 256 393.8 256 400s2.344 12.28 7.031 16.97c9.375 9.375 24.56 9.375 33.94 0l80-80c9.375-9.375 9.375-24.56 0-33.94l-80-80c-9.375-9.375-24.56-9.375-33.94 0s-9.375 24.56 0 33.94L302.1 296H24C10.75 296 0 306.8 0 320s10.75 24 24 24h278.1L263 383zM493.3 93.38l-74.63-74.64C406.6 6.742 390.3 0 373.4 0H192C156.7 0 127.1 28.66 128 64l.0078 168c.002 13.26 10.75 24 24 24s24-10.75 23.1-24L176 64.13c0-8.836 7.162-16 16-16h160L352 128c0 17.67 14.33 32 32 32h79.1v288c0 8.836-7.164 16-16 16H192c-8.838 0-16-7.164-16-16l-.002-40C176 394.7 165.3 384 152 384s-24 10.75-23.1 24L128 448c.002 35.34 28.65 64 64 64H448c35.2 0 64-28.8 64-64V138.6C512 121.7 505.3 105.4 493.3 93.38z";t.DF={prefix:"far",iconName:n,icon:[512,512,r,i,o]},t.Vm=t.DF},30352:function(e,t){"use strict";var n="file-lines",r=[128441,128462,61686,"file-alt","file-text"],i="f15c",o="M365.3 93.38l-74.63-74.64C278.6 6.742 262.3 0 245.4 0L64-.0001c-35.35 0-64 28.65-64 64l.0065 384c0 35.34 28.65 64 64 64H320c35.2 0 64-28.8 64-64V138.6C384 121.7 377.3 105.4 365.3 93.38zM336 448c0 8.836-7.164 16-16 16H64.02c-8.838 0-16-7.164-16-16L48 64.13c0-8.836 7.164-16 16-16h160L224 128c0 17.67 14.33 32 32 32h79.1V448zM96 280C96 293.3 106.8 304 120 304h144C277.3 304 288 293.3 288 280S277.3 256 264 256h-144C106.8 256 96 266.8 96 280zM264 352h-144C106.8 352 96 362.8 96 376s10.75 24 24 24h144c13.25 0 24-10.75 24-24S277.3 352 264 352z";t.DF={prefix:"far",iconName:n,icon:[384,512,r,i,o]},t.nf=t.DF},19711:function(e,t){"use strict";var n="file-pdf",r=[],i="f1c1",o="M320 464C328.8 464 336 456.8 336 448V416H384V448C384 483.3 355.3 512 320 512H64C28.65 512 0 483.3 0 448V416H48V448C48 456.8 55.16 464 64 464H320zM256 160C238.3 160 224 145.7 224 128V48H64C55.16 48 48 55.16 48 64V192H0V64C0 28.65 28.65 0 64 0H229.5C246.5 0 262.7 6.743 274.7 18.75L365.3 109.3C377.3 121.3 384 137.5 384 154.5V192H336V160H256zM88 224C118.9 224 144 249.1 144 280C144 310.9 118.9 336 88 336H80V368C80 376.8 72.84 384 64 384C55.16 384 48 376.8 48 368V240C48 231.2 55.16 224 64 224H88zM112 280C112 266.7 101.3 256 88 256H80V304H88C101.3 304 112 293.3 112 280zM160 240C160 231.2 167.2 224 176 224H200C226.5 224 248 245.5 248 272V336C248 362.5 226.5 384 200 384H176C167.2 384 160 376.8 160 368V240zM192 352H200C208.8 352 216 344.8 216 336V272C216 263.2 208.8 256 200 256H192V352zM336 224C344.8 224 352 231.2 352 240C352 248.8 344.8 256 336 256H304V288H336C344.8 288 352 295.2 352 304C352 312.8 344.8 320 336 320H304V368C304 376.8 296.8 384 288 384C279.2 384 272 376.8 272 368V240C272 231.2 279.2 224 288 224H336z";t.DF={prefix:"far",iconName:n,icon:[384,512,r,i,o]},t.gS=t.DF},52368:function(e,t){"use strict";var n="gear",r=[9881,"cog"],i="f013",o="M160 256C160 202.1 202.1 160 256 160C309 160 352 202.1 352 256C352 309 309 352 256 352C202.1 352 160 309 160 256zM256 208C229.5 208 208 229.5 208 256C208 282.5 229.5 304 256 304C282.5 304 304 282.5 304 256C304 229.5 282.5 208 256 208zM293.1 .0003C315.3 .0003 334.6 15.19 339.8 36.74L347.6 69.21C356.1 73.36 364.2 78.07 371.9 83.28L404 73.83C425.3 67.56 448.1 76.67 459.2 95.87L496.3 160.1C507.3 179.3 503.8 203.6 487.8 218.9L463.5 241.1C463.8 246.6 464 251.3 464 256C464 260.7 463.8 265.4 463.5 270L487.8 293.1C503.8 308.4 507.3 332.7 496.3 351.9L459.2 416.1C448.1 435.3 425.3 444.4 404 438.2L371.9 428.7C364.2 433.9 356.1 438.6 347.6 442.8L339.8 475.3C334.6 496.8 315.3 512 293.1 512H218.9C196.7 512 177.4 496.8 172.2 475.3L164.4 442.8C155.9 438.6 147.8 433.9 140.1 428.7L107.1 438.2C86.73 444.4 63.94 435.3 52.85 416.1L15.75 351.9C4.66 332.7 8.168 308.4 24.23 293.1L48.47 270C48.16 265.4 48 260.7 48 255.1C48 251.3 48.16 246.6 48.47 241.1L24.23 218.9C8.167 203.6 4.66 179.3 15.75 160.1L52.85 95.87C63.94 76.67 86.73 67.56 107.1 73.83L140.1 83.28C147.8 78.07 155.9 73.36 164.4 69.21L172.2 36.74C177.4 15.18 196.7 0 218.9 0L293.1 .0003zM205.5 103.6L194.3 108.3C181.6 113.6 169.8 120.5 159.1 128.7L149.4 136.1L94.42 119.9L57.31 184.1L98.81 223.6L97.28 235.6C96.44 242.3 96 249.1 96 256C96 262.9 96.44 269.7 97.28 276.4L98.81 288.4L57.32 327.9L94.42 392.1L149.4 375.9L159.1 383.3C169.8 391.5 181.6 398.4 194.3 403.7L205.5 408.4L218.9 464H293.1L306.5 408.4L317.7 403.7C330.4 398.4 342.2 391.5 352.9 383.3L362.6 375.9L417.6 392.1L454.7 327.9L413.2 288.4L414.7 276.4C415.6 269.7 416 262.9 416 256C416 249.1 415.6 242.3 414.7 235.6L413.2 223.6L454.7 184.1L417.6 119.9L362.6 136.1L352.9 128.7C342.2 120.5 330.4 113.6 317.7 108.3L306.5 103.6L293.1 48H218.9L205.5 103.6z";t.DF={prefix:"far",iconName:n,icon:[512,512,r,i,o]},t.gr=t.DF},39650:function(e,t,n){"use strict";var r=n(13718);t.DF={prefix:r.prefix,iconName:r.iconName,icon:[r.width,r.height,r.aliases,r.unicode,r.svgPathData]},t.sq=t.DF,r.prefix,r.iconName,r.width,r.height,r.aliases,r.unicode,r.svgPathData,r.aliases},61322:function(e,t){"use strict";var n="layer-group",r=[],i="f5fd",o="M231.2 5.092C239 1.732 247.5 0 256 0C264.5 0 272.1 1.732 280.8 5.092L490.1 94.79C503.4 100.5 512 113.5 512 128C512 142.5 503.4 155.5 490.1 161.2L280.8 250.9C272.1 254.3 264.5 256 256 256C247.5 256 239 254.3 231.2 250.9L21.9 161.2C8.614 155.5 0 142.5 0 128C0 113.5 8.614 100.5 21.9 94.79L231.2 5.092zM256 48C253.1 48 251.1 48.41 250.1 49.21L66.26 128L250.1 206.8C251.1 207.6 253.1 208 256 208C258 208 260 207.6 261.9 206.8L445.7 128L261.9 49.21C260 48.41 258 48 256 48V48zM250.1 334.8C251.1 335.6 253.1 336 256 336C258 336 260 335.6 261.9 334.8L452 253.3C447.4 246.4 446.5 237.2 450.5 229.3C456.5 217.4 470.9 212.6 482.7 218.5L491.8 223.1C504.2 229.3 512 241.9 512 255.7C512 270.4 503.3 283.6 489.9 289.3L280.8 378.9C272.1 382.3 264.5 384 256 384C247.5 384 239 382.3 231.2 378.9L22.81 289.6C8.971 283.7 .0006 270.1 .0006 255C.0006 242.9 5.869 231.5 15.76 224.4L26.05 217C36.84 209.3 51.83 211.8 59.53 222.6C66.15 231.9 65.24 244.3 57.1 252.5L250.1 334.8zM59.53 350.6C66.15 359.9 65.24 372.3 57.1 380.5L250.1 462.8C251.1 463.6 253.1 464 256 464C258 464 260 463.6 261.9 462.8L452 381.3C447.4 374.4 446.5 365.2 450.5 357.3C456.5 345.4 470.9 340.6 482.7 346.5L491.8 351.1C504.2 357.3 512 369.9 512 383.7C512 398.4 503.3 411.6 489.9 417.3L280.8 506.9C272.1 510.3 264.5 512 256 512C247.5 512 239 510.3 231.2 506.9L22.81 417.6C8.971 411.7 .001 398.1 .001 383C.001 370.9 5.87 359.5 15.76 352.4L26.05 345C36.84 337.3 51.83 339.8 59.53 350.6L59.53 350.6z";t.DF={prefix:"far",iconName:n,icon:[512,512,r,i,o]},t.Kr=t.DF},87169:function(e,t){"use strict";var n="link-simple",r=[],i="e1cd",o="M0 256C0 167.6 71.6 96 160 96h72c13.3 0 24 10.7 24 24s-10.7 24-24 24H160C98.1 144 48 194.1 48 256s50.1 112 112 112h72c13.3 0 24 10.7 24 24s-10.7 24-24 24H160C71.6 416 0 344.4 0 256zm576 0c0 88.4-71.6 160-160 160H344c-13.3 0-24-10.7-24-24s10.7-24 24-24h72c61.9 0 112-50.1 112-112s-50.1-112-112-112H344c-13.3 0-24-10.7-24-24s10.7-24 24-24h72c88.4 0 160 71.6 160 160zM184 232H392c13.3 0 24 10.7 24 24s-10.7 24-24 24H184c-13.3 0-24-10.7-24-24s10.7-24 24-24z";t.DF={prefix:"far",iconName:n,icon:[576,512,r,i,o]},t.uW=t.DF},10010:function(e,t){"use strict";var n="link-simple-slash",r=[],i="e1ce",o="M38.8 5.1C28.4-3.1 13.3-1.2 5.1 9.2S-1.2 34.7 9.2 42.9l592 464c10.4 8.2 25.5 6.3 33.7-4.1s6.3-25.5-4.1-33.7L532.4 392c45.4-28.2 75.6-78.6 75.6-136c0-88.4-71.6-160-160-160H376c-13.3 0-24 10.7-24 24s10.7 24 24 24h72c61.9 0 112 50.1 112 112c0 46.6-28.5 86.6-69.1 103.5L389.5 280H424c13.3 0 24-10.7 24-24s-10.7-24-24-24H328.3L216 144h48c13.3 0 24-10.7 24-24s-10.7-24-24-24H192c-11.3 0-22.3 1.2-32.9 3.4L38.8 5.1zm69.6 176.3L70.7 151.7C46.6 179.7 32 216.1 32 256c0 88.4 71.6 160 160 160h72c13.3 0 24-10.7 24-24s-10.7-24-24-24H192c-61.9 0-112-50.1-112-112c0-28.6 10.7-54.8 28.4-74.6z";t.DF={prefix:"far",iconName:n,icon:[640,512,r,i,o]},t.aT=t.DF},73657:function(e,t){"use strict";var n="magnifying-glass",r=[128269,"search"],i="f002",o="M504.1 471l-134-134C399.1 301.5 415.1 256.8 415.1 208c0-114.9-93.13-208-208-208S-.0002 93.13-.0002 208S93.12 416 207.1 416c48.79 0 93.55-16.91 129-45.04l134 134C475.7 509.7 481.9 512 488 512s12.28-2.344 16.97-7.031C514.3 495.6 514.3 480.4 504.1 471zM48 208c0-88.22 71.78-160 160-160s160 71.78 160 160s-71.78 160-160 160S48 296.2 48 208z";t.DF={prefix:"far",iconName:n,icon:[512,512,r,i,o]},t.Y$=t.DF},18403:function(e,t){"use strict";var n="palette",r=[127912],i="f53f",o="M160 255.1C160 273.7 145.7 287.1 128 287.1C110.3 287.1 96 273.7 96 255.1C96 238.3 110.3 223.1 128 223.1C145.7 223.1 160 238.3 160 255.1zM128 159.1C128 142.3 142.3 127.1 160 127.1C177.7 127.1 192 142.3 192 159.1C192 177.7 177.7 191.1 160 191.1C142.3 191.1 128 177.7 128 159.1zM288 127.1C288 145.7 273.7 159.1 256 159.1C238.3 159.1 224 145.7 224 127.1C224 110.3 238.3 95.1 256 95.1C273.7 95.1 288 110.3 288 127.1zM320 159.1C320 142.3 334.3 127.1 352 127.1C369.7 127.1 384 142.3 384 159.1C384 177.7 369.7 191.1 352 191.1C334.3 191.1 320 177.7 320 159.1zM441.9 319.1H344C317.5 319.1 296 341.5 296 368C296 371.4 296.4 374.7 297 377.9C299.2 388.1 303.5 397.1 307.9 407.8C313.9 421.6 320 435.3 320 449.8C320 481.7 298.4 510.5 266.6 511.8C263.1 511.9 259.5 512 256 512C114.6 512 0 397.4 0 256C0 114.6 114.6 0 256 0C397.4 0 512 114.6 512 256C512 256.9 511.1 257.8 511.1 258.7C511.6 295.2 478.4 320 441.9 320V319.1zM463.1 258.2C463.1 257.4 464 256.7 464 255.1C464 141.1 370.9 47.1 256 47.1C141.1 47.1 48 141.1 48 255.1C48 370.9 141.1 464 256 464C258.9 464 261.8 463.9 264.6 463.8C265.4 463.8 265.9 463.6 266.2 463.5C266.6 463.2 267.3 462.8 268.2 461.7C270.1 459.4 272 455.2 272 449.8C272 448.1 271.4 444.3 266.4 432.7C265.8 431.5 265.2 430.1 264.5 428.5C260.2 418.9 253.4 403.5 250.1 387.8C248.7 381.4 248 374.8 248 368C248 314.1 290.1 271.1 344 271.1H441.9C449.6 271.1 455.1 269.3 459.7 266.2C463 263.4 463.1 260.9 463.1 258.2V258.2z";t.DF={prefix:"far",iconName:n,icon:[512,512,r,i,o]},t.q2=t.DF},42226:function(e,t){"use strict";var n="pen-line",r=[],i="e212",o="M36.37 360.9C40.53 346.8 48.16 333.9 58.57 323.5L362.7 19.32C387.7-5.678 428.3-5.678 453.3 19.32L492.7 58.75C495.8 61.87 498.5 65.24 500.9 68.79C517.3 93.63 514.6 127.4 492.7 149.3L188.5 453.4C187.2 454.7 185.9 455.1 184.5 457.2C174.9 465.7 163.5 471.1 151.1 475.6L30.77 511C22.35 513.5 13.24 511.2 7.03 504.1C.8198 498.8-1.502 489.7 .976 481.2L36.37 360.9zM59.44 452.6L137.6 429.6C143.1 427.7 149.8 424.2 154.6 419.5L383 191L320.1 128.1L92.51 357.4C91.92 358 91.35 358.6 90.8 359.3C86.94 363.6 84.07 368.8 82.42 374.4L59.44 452.6zM552 464C565.3 464 576 474.7 576 488C576 501.3 565.3 512 552 512H248C234.7 512 224 501.3 224 488C224 474.7 234.7 464 248 464H552z";t.DF={prefix:"far",iconName:n,icon:[576,512,r,i,o]},t.E8=t.DF},93763:function(e,t){"use strict";var n="pen-to-square",r=["edit"],i="f044",o="M373.1 24.97C401.2-3.147 446.8-3.147 474.9 24.97L487 37.09C515.1 65.21 515.1 110.8 487 138.9L289.8 336.2C281.1 344.8 270.4 351.1 258.6 354.5L158.6 383.1C150.2 385.5 141.2 383.1 135 376.1C128.9 370.8 126.5 361.8 128.9 353.4L157.5 253.4C160.9 241.6 167.2 230.9 175.8 222.2L373.1 24.97zM440.1 58.91C431.6 49.54 416.4 49.54 407 58.91L377.9 88L424 134.1L453.1 104.1C462.5 95.6 462.5 80.4 453.1 71.03L440.1 58.91zM203.7 266.6L186.9 325.1L245.4 308.3C249.4 307.2 252.9 305.1 255.8 302.2L390.1 168L344 121.9L209.8 256.2C206.9 259.1 204.8 262.6 203.7 266.6zM200 64C213.3 64 224 74.75 224 88C224 101.3 213.3 112 200 112H88C65.91 112 48 129.9 48 152V424C48 446.1 65.91 464 88 464H360C382.1 464 400 446.1 400 424V312C400 298.7 410.7 288 424 288C437.3 288 448 298.7 448 312V424C448 472.6 408.6 512 360 512H88C39.4 512 0 472.6 0 424V152C0 103.4 39.4 64 88 64H200z";t.DF={prefix:"far",iconName:n,icon:[512,512,r,i,o]},t.Y=t.DF},35120:function(e,t){"use strict";var n="pencil",r=[9999,61504,"pencil-alt"],i="f303",o="M36.4 360.9L13.4 439 1 481.2C-1.5 489.7 .8 498.8 7 505s15.3 8.5 23.7 6.1L73 498.6l78.1-23c10.4-3 20.1-8 28.6-14.5l.3 .2 .5-.8c1.4-1.1 2.7-2.2 4-3.3c1.4-1.2 2.7-2.5 4-3.8L492.7 149.3c21.9-21.9 24.6-55.6 8.2-80.5c-2.3-3.5-5.1-6.9-8.2-10L453.3 19.3c-25-25-65.5-25-90.5 0L58.6 323.5c-2.5 2.5-4.9 5.2-7.1 8l-.8 .5 .2 .3c-6.5 8.5-11.4 18.2-14.5 28.6zM383 191L197.4 376.6l-49.6-12.4-12.4-49.6L321 129 383 191zM97 358.9l7.7 31c2.1 8.6 8.9 15.3 17.5 17.5l31 7.7-7.4 11.2c-2.6 1.4-5.3 2.6-8.1 3.4l-23.4 6.9L59.4 452.6l16.1-54.8 6.9-23.4c.8-2.8 2-5.6 3.4-8.1L97 358.9zM315.3 218.7c6.2-6.2 6.2-16.4 0-22.6s-16.4-6.2-22.6 0l-96 96c-6.2 6.2-6.2 16.4 0 22.6s16.4 6.2 22.6 0l96-96z";t.DF={prefix:"far",iconName:n,icon:[512,512,r,i,o]},t.Tz=t.DF},13920:function(e,t){"use strict";var n="play",r=[9654],i="f04b",o="M24.52 38.13C39.66 29.64 58.21 29.99 73.03 39.04L361 215C375.3 223.8 384 239.3 384 256C384 272.7 375.3 288.2 361 296.1L73.03 472.1C58.21 482 39.66 482.4 24.52 473.9C9.377 465.4 0 449.4 0 432V80C0 62.64 9.377 46.63 24.52 38.13V38.13zM48 432L336 256L48 80V432z";t.DF={prefix:"far",iconName:n,icon:[384,512,r,i,o]},t.zc=t.DF},27940:function(e,t){"use strict";var n="rectangle",r=[9644,"rectangle-landscape"],i="f2fa",o="M448 64C483.3 64 512 92.65 512 128V384C512 419.3 483.3 448 448 448H64C28.65 448 0 419.3 0 384V128C0 92.65 28.65 64 64 64H448zM448 112H64C55.16 112 48 119.2 48 128V384C48 392.8 55.16 400 64 400H448C456.8 400 464 392.8 464 384V128C464 119.2 456.8 112 448 112z";t.DF={prefix:"far",iconName:n,icon:[512,512,r,i,o]},t.lC=t.DF},62955:function(e,t){"use strict";var n="rectangle-history-circle-plus",r=[],i="e4a3",o="M63.1 464H348.5C360.7 482.8 376.5 499.1 394.8 512H64C28.65 512 0 483.3 0 448V224C0 188.7 28.65 160 64 160H448C471.8 160 492.5 172.9 503.5 192.2C501 192.1 498.5 192 496 192C469.8 192 444.9 197.7 422.6 208H64C55.16 208 48 215.2 48 224V448C48 456.8 55.16 464 64 464H63.1zM440 80C453.3 80 464 90.75 464 104C464 117.3 453.3 128 440 128H71.1C58.74 128 47.1 117.3 47.1 104C47.1 90.75 58.74 80 71.1 80H440zM392 0C405.3 0 416 10.75 416 24C416 37.25 405.3 48 392 48H119.1C106.7 48 95.1 37.25 95.1 24C95.1 10.75 106.7 0 119.1 0H392zM352 368C352 288.5 416.5 224 496 224C575.5 224 640 288.5 640 368C640 447.5 575.5 512 496 512C416.5 512 352 447.5 352 368zM512 303.1C512 295.2 504.8 287.1 496 287.1C487.2 287.1 480 295.2 480 303.1V351.1H432C423.2 351.1 416 359.2 416 367.1C416 376.8 423.2 383.1 432 383.1H480V431.1C480 440.8 487.2 447.1 496 447.1C504.8 447.1 512 440.8 512 431.1V383.1H560C568.8 383.1 576 376.8 576 367.1C576 359.2 568.8 351.1 560 351.1H512V303.1z";t.DF={prefix:"far",iconName:n,icon:[640,512,r,i,o]},t.rZ=t.DF},55367:function(e,t){"use strict";var n="ruler-triangle",r=[128208],i="f61c",o="M256 384H128V256L256 384zM512 477.3V480C512 497.7 497.7 512 480 512H64C28.65 512 0 483.3 0 448V32C0 14.33 14.33 0 32 0H34.75C43.23 0 51.37 3.372 57.37 9.372L502.6 454.6C508.6 460.6 512 468.8 512 477.3zM64 464H444.1L377.4 397.3L363.3 411.3C357.1 417.6 346.9 417.6 340.7 411.3C334.4 405.1 334.4 394.9 340.7 388.7L354.7 374.6L297.4 317.3L283.3 331.3C277.1 337.6 266.9 337.6 260.7 331.3C254.4 325.1 254.4 314.9 260.7 308.7L274.7 294.6L217.4 237.3L203.3 251.3C197.1 257.6 186.9 257.6 180.7 251.3C174.4 245.1 174.4 234.9 180.7 228.7L194.7 214.6L137.4 157.3L123.3 171.3C117.1 177.6 106.9 177.6 100.7 171.3C94.44 165.1 94.44 154.9 100.7 148.7L114.7 134.6L47.1 67.88V448C47.1 456.8 55.16 464 63.1 464L64 464z";t.DF={prefix:"far",iconName:n,icon:[512,512,r,i,o]},t.iZ=t.DF},64316:function(e,t){"use strict";var n="sliders-simple",r=[],i="e253",o="M488 344C501.3 344 512 354.7 512 368C512 381.3 501.3 392 488 392H156.3C146.1 424.5 115.8 448 80 448C35.82 448 0 412.2 0 368C0 323.8 35.82 288 80 288C115.8 288 146.1 311.5 156.3 344H488zM48 368C48 385.7 62.33 400 80 400C97.67 400 112 385.7 112 368C112 350.3 97.67 336 80 336C62.33 336 48 350.3 48 368zM355.7 120C365.9 87.54 396.2 64 432 64C476.2 64 512 99.82 512 144C512 188.2 476.2 224 432 224C396.2 224 365.9 200.5 355.7 168H24C10.75 168 0 157.3 0 144C0 130.7 10.75 120 24 120H355.7zM432 176C449.7 176 464 161.7 464 144C464 126.3 449.7 112 432 112C414.3 112 400 126.3 400 144C400 161.7 414.3 176 432 176z";t.DF={prefix:"far",iconName:n,icon:[512,512,r,i,o]},t.pw=t.DF},71627:function(e,t){"use strict";var n="sparkles",r=[10024],i="f890",o="M327.5 85.19L384 64L405.2 7.491C406.9 2.985 411.2 0 416 0C420.8 0 425.1 2.985 426.8 7.491L448 64L504.5 85.19C509 86.88 512 91.19 512 96C512 100.8 509 105.1 504.5 106.8L448 128L426.8 184.5C425.1 189 420.8 192 416 192C411.2 192 406.9 189 405.2 184.5L384 128L327.5 106.8C322.1 105.1 320 100.8 320 96C320 91.19 322.1 86.88 327.5 85.19V85.19zM176 73.29C178.6 67.63 184.3 64 190.6 64C196.8 64 202.5 67.63 205.1 73.29L257.8 187.3L371.8 240C377.5 242.6 381.1 248.3 381.1 254.6C381.1 260.8 377.5 266.5 371.8 269.1L257.8 321.8L205.1 435.8C202.5 441.5 196.8 445.1 190.6 445.1C184.3 445.1 178.6 441.5 176 435.8L123.3 321.8L9.292 269.1C3.627 266.5 0 260.8 0 254.6C0 248.3 3.627 242.6 9.292 240L123.3 187.3L176 73.29zM166.9 207.5C162.1 217.8 153.8 226.1 143.5 230.9L92.32 254.6L143.5 278.2C153.8 282.1 162.1 291.3 166.9 301.6L190.6 352.8L214.2 301.6C218.1 291.3 227.3 282.1 237.6 278.2L288.8 254.6L237.6 230.9C227.3 226.1 218.1 217.8 214.2 207.5L190.6 156.3L166.9 207.5zM405.2 327.5C406.9 322.1 411.2 320 416 320C420.8 320 425.1 322.1 426.8 327.5L448 384L504.5 405.2C509 406.9 512 411.2 512 416C512 420.8 509 425.1 504.5 426.8L448 448L426.8 504.5C425.1 509 420.8 512 416 512C411.2 512 406.9 509 405.2 504.5L384 448L327.5 426.8C322.1 425.1 320 420.8 320 416C320 411.2 322.1 406.9 327.5 405.2L384 384L405.2 327.5z";t.DF={prefix:"far",iconName:n,icon:[512,512,r,i,o]},t.Jy=t.DF},1190:function(e,t){"use strict";var n="spinner-third",r=[],i="f3f4",o="M264 24C264 10.75 274.7 0 288 0C429.4 0 544 114.6 544 256C544 302.6 531.5 346.4 509.7 384C503.1 395.5 488.4 399.4 476.9 392.8C465.5 386.2 461.5 371.5 468.2 360C485.9 329.4 496 293.9 496 255.1C496 141.1 402.9 47.1 288 47.1C274.7 47.1 264 37.25 264 23.1V24z";t.DF={prefix:"far",iconName:n,icon:[576,512,r,i,o]},t.AX=t.DF},53664:function(e,t){"use strict";var n="square-arrow-right",r=["arrow-square-right"],i="f33b",o="M384 32H64C28.66 32 0 60.66 0 96v320c0 35.34 28.66 64 64 64h320c35.34 0 64-28.66 64-64V96C448 60.66 419.3 32 384 32zM400 416c0 8.82-7.18 16-16 16H64c-8.82 0-16-7.18-16-16V96c0-8.82 7.18-16 16-16h320c8.82 0 16 7.18 16 16V416zM232.3 134.4c-9.719-9-24.91-8.438-33.94 1.25c-9 9.719-8.469 24.88 1.25 33.94l67.21 62.41H120c-13.25 0-24 10.76-24 24.01c0 13.25 10.75 23.99 24 23.99h146.9l-67.21 62.41c-9.719 9.062-10.25 24.22-1.25 33.94c9.031 9.688 24.22 10.25 33.94 1.25l112-104C349.2 269 352 262.7 352 255.1s-2.781-13.04-7.656-17.6L232.3 134.4z";t.DF={prefix:"far",iconName:n,icon:[448,512,r,i,o]},t.JU=t.DF},27647:function(e,t){"use strict";var n="square-arrow-up-right",r=["external-link-square"],i="f14c",o="M312 144H156.7c-13.25 0-24 10.75-24 24S143.5 192 156.7 192h97.34l-135 135c-9.375 9.375-9.375 24.56 0 33.94C123.7 365.7 129.8 368 136 368s12.28-2.344 16.97-7.031L288 225.9v97.34c0 13.25 10.75 24 24 24s24-10.75 24-24V168C336 154.8 325.3 144 312 144zM384 32H64C28.65 32 0 60.66 0 96v320c0 35.34 28.65 64 64 64h320c35.35 0 64-28.66 64-64V96C448 60.66 419.3 32 384 32zM400 416c0 8.82-7.178 16-16 16H64c-8.822 0-16-7.18-16-16V96c0-8.82 7.178-16 16-16h320c8.822 0 16 7.18 16 16V416z";t.DF={prefix:"far",iconName:n,icon:[448,512,r,i,o]},t.ZE=t.DF},63005:function(e,t){"use strict";var n="square-check",r=[9745,9989,61510,"check-square"],i="f14a",o="M211.8 339.8C200.9 350.7 183.1 350.7 172.2 339.8L108.2 275.8C97.27 264.9 97.27 247.1 108.2 236.2C119.1 225.3 136.9 225.3 147.8 236.2L192 280.4L300.2 172.2C311.1 161.3 328.9 161.3 339.8 172.2C350.7 183.1 350.7 200.9 339.8 211.8L211.8 339.8zM0 96C0 60.65 28.65 32 64 32H384C419.3 32 448 60.65 448 96V416C448 451.3 419.3 480 384 480H64C28.65 480 0 451.3 0 416V96zM48 96V416C48 424.8 55.16 432 64 432H384C392.8 432 400 424.8 400 416V96C400 87.16 392.8 80 384 80H64C55.16 80 48 87.16 48 96z";t.DF={prefix:"far",iconName:n,icon:[448,512,r,i,o]},t.ch=t.DF},35155:function(e,t){"use strict";var n="trash-can",r=[61460,"trash-alt"],i="f2ed",o="M160 400C160 408.8 152.8 416 144 416C135.2 416 128 408.8 128 400V192C128 183.2 135.2 176 144 176C152.8 176 160 183.2 160 192V400zM240 400C240 408.8 232.8 416 224 416C215.2 416 208 408.8 208 400V192C208 183.2 215.2 176 224 176C232.8 176 240 183.2 240 192V400zM320 400C320 408.8 312.8 416 304 416C295.2 416 288 408.8 288 400V192C288 183.2 295.2 176 304 176C312.8 176 320 183.2 320 192V400zM317.5 24.94L354.2 80H424C437.3 80 448 90.75 448 104C448 117.3 437.3 128 424 128H416V432C416 476.2 380.2 512 336 512H112C67.82 512 32 476.2 32 432V128H24C10.75 128 0 117.3 0 104C0 90.75 10.75 80 24 80H93.82L130.5 24.94C140.9 9.357 158.4 0 177.1 0H270.9C289.6 0 307.1 9.358 317.5 24.94H317.5zM151.5 80H296.5L277.5 51.56C276 49.34 273.5 48 270.9 48H177.1C174.5 48 171.1 49.34 170.5 51.56L151.5 80zM80 432C80 449.7 94.33 464 112 464H336C353.7 464 368 449.7 368 432V128H80V432z";t.DF={prefix:"far",iconName:n,icon:[448,512,r,i,o]},t.Vu=t.DF},23452:function(e,t){"use strict";var n="video",r=["video-camera"],i="f03d",o="M557.6 102.3c-11.53-7.406-25.88-8.391-38.28-2.688L416 147V128c0-35.35-28.65-64-64-64H64C28.65 64 0 92.65 0 128v256c0 35.35 28.65 64 64 64h288c35.35 0 64-28.65 64-64v-19.02l103.3 47.36c5.344 2.453 11.03 3.672 16.69 3.672c7.531 0 15.02-2.141 21.59-6.359C569.1 402.3 576 389.7 576 375.1V136C576 122.3 569.1 109.8 557.6 102.3zM368 384c0 8.822-7.178 16-16 16H64c-8.822 0-16-7.178-16-16V128c0-8.822 7.178-16 16-16h288c8.822 0 16 7.178 16 16V384zM528 363.5L416 312.2V199.8l112-51.33V363.5z";t.DF={prefix:"far",iconName:n,icon:[576,512,r,i,o]},t.Iy=t.DF},67391:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n="xmark",r=[128473,10005,10006,10060,215,"close","multiply","remove","times"],i="f00d",o="M312.1 375c9.369 9.369 9.369 24.57 0 33.94s-24.57 9.369-33.94 0L160 289.9l-119 119c-9.369 9.369-24.57 9.369-33.94 0s-9.369-24.57 0-33.94L126.1 256L7.027 136.1c-9.369-9.369-9.369-24.57 0-33.94s24.57-9.369 33.94 0L160 222.1l119-119c9.369-9.369 24.57-9.369 33.94 0s9.369 24.57 0 33.94L193.9 256L312.1 375z";t.definition={prefix:"far",iconName:n,icon:[320,512,r,i,o]},t.faXmark=t.definition,t.prefix="far",t.iconName=n,t.width=320,t.height=512,t.ligatures=r,t.unicode=i,t.svgPathData=o,t.aliases=r},20655:function(e,t){"use strict";var n="align-left",r=[],i="f036",o="M288 64c0 17.7-14.3 32-32 32H32C14.3 96 0 81.7 0 64S14.3 32 32 32H256c17.7 0 32 14.3 32 32zm0 256c0 17.7-14.3 32-32 32H32c-17.7 0-32-14.3-32-32s14.3-32 32-32H256c17.7 0 32 14.3 32 32zM0 192c0-17.7 14.3-32 32-32H416c17.7 0 32 14.3 32 32s-14.3 32-32 32H32c-17.7 0-32-14.3-32-32zM448 448c0 17.7-14.3 32-32 32H32c-17.7 0-32-14.3-32-32s14.3-32 32-32H416c17.7 0 32 14.3 32 32z";t.DF={prefix:"fas",iconName:n,icon:[448,512,r,i,o]},t.el=t.DF},75028:function(e,t){"use strict";var n="bars",r=["navicon"],i="f0c9",o="M0 96C0 78.3 14.3 64 32 64H416c17.7 0 32 14.3 32 32s-14.3 32-32 32H32C14.3 128 0 113.7 0 96zM0 256c0-17.7 14.3-32 32-32H416c17.7 0 32 14.3 32 32s-14.3 32-32 32H32c-17.7 0-32-14.3-32-32zM448 416c0 17.7-14.3 32-32 32H32c-17.7 0-32-14.3-32-32s14.3-32 32-32H416c17.7 0 32 14.3 32 32z";t.DF={prefix:"fas",iconName:n,icon:[448,512,r,i,o]},t.xi=t.DF},903:function(e,t){"use strict";var n="check",r=[10003,10004],i="f00c",o="M470.6 105.4c12.5 12.5 12.5 32.8 0 45.3l-256 256c-12.5 12.5-32.8 12.5-45.3 0l-128-128c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0L192 338.7 425.4 105.4c12.5-12.5 32.8-12.5 45.3 0z";t.DF={prefix:"fas",iconName:n,icon:[512,512,r,i,o]},t.LE=t.DF},41778:function(e,t){"use strict";var n="chevron-down",r=[],i="f078",o="M233.4 406.6c12.5 12.5 32.8 12.5 45.3 0l192-192c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L256 338.7 86.6 169.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l192 192z";t.DF={prefix:"fas",iconName:n,icon:[512,512,r,i,o]},t.pt=t.DF},75334:function(e,t){"use strict";var n="chevron-left",r=[9001],i="f053",o="M41.4 233.4c-12.5 12.5-12.5 32.8 0 45.3l192 192c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L109.3 256 278.6 86.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-192 192z";t.DF={prefix:"fas",iconName:n,icon:[384,512,r,i,o]},t.A3=t.DF},64746:function(e,t){"use strict";var n="chevron-right",r=[9002],i="f054",o="M342.6 233.4c12.5 12.5 12.5 32.8 0 45.3l-192 192c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L274.7 256 105.4 86.6c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0l192 192z";t.DF={prefix:"fas",iconName:n,icon:[384,512,r,i,o]},t._t=t.DF},72821:function(e,t){"use strict";var n="chevron-up",r=[],i="f077",o="M233.4 105.4c12.5-12.5 32.8-12.5 45.3 0l192 192c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L256 173.3 86.6 342.6c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3l192-192z";t.DF={prefix:"fas",iconName:n,icon:[512,512,r,i,o]},t.mT=t.DF},55904:function(e,t){"use strict";var n="circle-check",r=[61533,"check-circle"],i="f058",o="M256 512c141.4 0 256-114.6 256-256S397.4 0 256 0S0 114.6 0 256S114.6 512 256 512zM369 209L241 337c-9.4 9.4-24.6 9.4-33.9 0l-64-64c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l47 47L335 175c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9z";t.DF={prefix:"fas",iconName:n,icon:[512,512,r,i,o]},t.fV=t.DF},16923:function(e,t){"use strict";var n="circle-plus",r=["plus-circle"],i="f055",o="M256 512c141.4 0 256-114.6 256-256S397.4 0 256 0S0 114.6 0 256S114.6 512 256 512zM232 344V280H168c-13.3 0-24-10.7-24-24s10.7-24 24-24h64V168c0-13.3 10.7-24 24-24s24 10.7 24 24v64h64c13.3 0 24 10.7 24 24s-10.7 24-24 24H280v64c0 13.3-10.7 24-24 24s-24-10.7-24-24z";t.DF={prefix:"fas",iconName:n,icon:[512,512,r,i,o]},t.EQ=t.DF},27898:function(e,t){"use strict";var n="grid-2",r=[],i="e196",o="M192 80c0-26.5-21.5-48-48-48H48C21.5 32 0 53.5 0 80v96c0 26.5 21.5 48 48 48h96c26.5 0 48-21.5 48-48V80zm0 256c0-26.5-21.5-48-48-48H48c-26.5 0-48 21.5-48 48v96c0 26.5 21.5 48 48 48h96c26.5 0 48-21.5 48-48V336zM256 80v96c0 26.5 21.5 48 48 48h96c26.5 0 48-21.5 48-48V80c0-26.5-21.5-48-48-48H304c-26.5 0-48 21.5-48 48zM448 336c0-26.5-21.5-48-48-48H304c-26.5 0-48 21.5-48 48v96c0 26.5 21.5 48 48 48h96c26.5 0 48-21.5 48-48V336z";t.DF={prefix:"fas",iconName:n,icon:[448,512,r,i,o]},t.em=t.DF},56931:function(e,t){"use strict";var n="lock",r=[128274],i="f023",o="M144 144v48H304V144c0-44.2-35.8-80-80-80s-80 35.8-80 80zM80 192V144C80 64.5 144.5 0 224 0s144 64.5 144 144v48h16c35.3 0 64 28.7 64 64V448c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V256c0-35.3 28.7-64 64-64H80z";t.DF={prefix:"fas",iconName:n,icon:[448,512,r,i,o]},t.by=t.DF},15941:function(e,t){"use strict";var n="sparkles",r=[10024],i="f890",o="M327.5 85.2c-4.5 1.7-7.5 6-7.5 10.8s3 9.1 7.5 10.8L384 128l21.2 56.5c1.7 4.5 6 7.5 10.8 7.5s9.1-3 10.8-7.5L448 128l56.5-21.2c4.5-1.7 7.5-6 7.5-10.8s-3-9.1-7.5-10.8L448 64 426.8 7.5C425.1 3 420.8 0 416 0s-9.1 3-10.8 7.5L384 64 327.5 85.2zM205.1 73.3c-2.6-5.7-8.3-9.3-14.5-9.3s-11.9 3.6-14.5 9.3L123.3 187.3 9.3 240C3.6 242.6 0 248.3 0 254.6s3.6 11.9 9.3 14.5l114.1 52.7L176 435.8c2.6 5.7 8.3 9.3 14.5 9.3s11.9-3.6 14.5-9.3l52.7-114.1 114.1-52.7c5.7-2.6 9.3-8.3 9.3-14.5s-3.6-11.9-9.3-14.5L257.8 187.4 205.1 73.3zM384 384l-56.5 21.2c-4.5 1.7-7.5 6-7.5 10.8s3 9.1 7.5 10.8L384 448l21.2 56.5c1.7 4.5 6 7.5 10.8 7.5s9.1-3 10.8-7.5L448 448l56.5-21.2c4.5-1.7 7.5-6 7.5-10.8s-3-9.1-7.5-10.8L448 384l-21.2-56.5c-1.7-4.5-6-7.5-10.8-7.5s-9.1 3-10.8 7.5L384 384z";t.DF={prefix:"fas",iconName:n,icon:[512,512,r,i,o]},t.Jy=t.DF},62037:function(e,t){"use strict";var n="user-group",r=[128101,"user-friends"],i="f500",o="M352 128c0 70.7-57.3 128-128 128s-128-57.3-128-128S153.3 0 224 0s128 57.3 128 128zM0 482.3C0 383.8 79.8 304 178.3 304h91.4C368.2 304 448 383.8 448 482.3c0 16.4-13.3 29.7-29.7 29.7H29.7C13.3 512 0 498.7 0 482.3zM609.3 512H471.4c5.4-9.4 8.6-20.3 8.6-32v-8c0-60.7-27.1-115.2-69.8-151.8c2.4-.1 4.7-.2 7.1-.2h61.4C567.8 320 640 392.2 640 481.3c0 17-13.8 30.7-30.7 30.7zM432 256c-31 0-59-12.6-79.3-32.9C372.4 196.5 384 163.6 384 128c0-26.8-6.6-52.1-18.3-74.3C384.3 40.1 407.2 32 432 32c61.9 0 112 50.1 112 112s-50.1 112-112 112z";t.DF={prefix:"fas",iconName:n,icon:[640,512,r,i,o]},t.Nd=t.DF},79066:function(e,t){"use strict";var n="xmark",r=[128473,10005,10006,10060,215,"close","multiply","remove","times"],i="f00d",o="M310.6 150.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L160 210.7 54.6 105.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L114.7 256 9.4 361.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L160 301.3 265.4 406.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L205.3 256 310.6 150.6z";t.DF={prefix:"fas",iconName:n,icon:[320,512,r,i,o]},t.g8=t.DF},67814:function(e,t,n){"use strict";n.d(t,{G:function(){return w}});var r=n(23636),i=n(89632),o=n.n(i),a=n(28416),s=n.n(a);function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function c(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u(Object(n),!0).forEach((function(t){f(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function l(e){return l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},l(e)}function f(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function d(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function p(e){return function(e){if(Array.isArray(e))return h(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return h(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return h(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function h(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function g(e){return t=e,(t-=0)==t?e:(e=e.replace(/[\-_\s]+(.)?/g,(function(e,t){return t?t.toUpperCase():""}))).substr(0,1).toLowerCase()+e.substr(1);var t}var m=["style"];function y(e){return e.split(";").map((function(e){return e.trim()})).filter((function(e){return e})).reduce((function(e,t){var n,r=t.indexOf(":"),i=g(t.slice(0,r)),o=t.slice(r+1).trim();return i.startsWith("webkit")?e[(n=i,n.charAt(0).toUpperCase()+n.slice(1))]=o:e[i]=o,e}),{})}var v=!1;try{v=!0}catch(e){}function b(e){return e&&"object"===l(e)&&e.prefix&&e.iconName&&e.icon?e:r.Qc.icon?r.Qc.icon(e):null===e?null:e&&"object"===l(e)&&e.prefix&&e.iconName?e:Array.isArray(e)&&2===e.length?{prefix:e[0],iconName:e[1]}:"string"==typeof e?{prefix:"fas",iconName:e}:void 0}function _(e,t){return Array.isArray(t)&&t.length>0||!Array.isArray(t)&&t?f({},e,t):{}}var w=s().forwardRef((function(e,t){var n=e.icon,i=e.mask,o=e.symbol,a=e.className,s=e.title,u=e.titleId,l=e.maskId,d=b(n),h=_("classes",[].concat(p(function(e){var t,n=e.beat,r=e.fade,i=e.beatFade,o=e.bounce,a=e.shake,s=e.flash,u=e.spin,c=e.spinPulse,l=e.spinReverse,d=e.pulse,p=e.fixedWidth,h=e.inverse,g=e.border,m=e.listItem,y=e.flip,v=e.size,b=e.rotation,_=e.pull,w=(f(t={"fa-beat":n,"fa-fade":r,"fa-beat-fade":i,"fa-bounce":o,"fa-shake":a,"fa-flash":s,"fa-spin":u,"fa-spin-reverse":l,"fa-spin-pulse":c,"fa-pulse":d,"fa-fw":p,"fa-inverse":h,"fa-border":g,"fa-li":m,"fa-flip":!0===y,"fa-flip-horizontal":"horizontal"===y||"both"===y,"fa-flip-vertical":"vertical"===y||"both"===y},"fa-".concat(v),null!=v),f(t,"fa-rotate-".concat(b),null!=b&&0!==b),f(t,"fa-pull-".concat(_),null!=_),f(t,"fa-swap-opacity",e.swapOpacity),t);return Object.keys(w).map((function(e){return w[e]?e:null})).filter((function(e){return e}))}(e)),p(a.split(" ")))),g=_("transform","string"==typeof e.transform?r.Qc.transform(e.transform):e.transform),m=_("mask",b(i)),y=(0,r.qv)(d,c(c(c(c({},h),g),m),{},{symbol:o,title:s,titleId:u,maskId:l}));if(!y)return function(){var e;!v&&console&&"function"==typeof console.error&&(e=console).error.apply(e,arguments)}("Could not find icon",d),null;var x=y.abstract,S={ref:t};return Object.keys(e).forEach((function(t){w.defaultProps.hasOwnProperty(t)||(S[t]=e[t])})),T(x[0],S)}));w.displayName="FontAwesomeIcon",w.propTypes={beat:o().bool,border:o().bool,beatFade:o().bool,bounce:o().bool,className:o().string,fade:o().bool,flash:o().bool,mask:o().oneOfType([o().object,o().array,o().string]),maskId:o().string,fixedWidth:o().bool,inverse:o().bool,flip:o().oneOf([!0,!1,"horizontal","vertical","both"]),icon:o().oneOfType([o().object,o().array,o().string]),listItem:o().bool,pull:o().oneOf(["right","left"]),pulse:o().bool,rotation:o().oneOf([0,90,180,270]),shake:o().bool,size:o().oneOf(["2xs","xs","sm","lg","xl","2xl","1x","2x","3x","4x","5x","6x","7x","8x","9x","10x"]),spin:o().bool,spinPulse:o().bool,spinReverse:o().bool,symbol:o().oneOfType([o().bool,o().string]),title:o().string,titleId:o().string,transform:o().oneOfType([o().string,o().object]),swapOpacity:o().bool},w.defaultProps={border:!1,className:"",mask:null,maskId:null,fixedWidth:!1,inverse:!1,flip:!1,icon:null,listItem:!1,pull:null,pulse:!1,rotation:null,size:null,spin:!1,spinPulse:!1,spinReverse:!1,beat:!1,fade:!1,beatFade:!1,bounce:!1,shake:!1,symbol:!1,title:"",titleId:null,transform:null,swapOpacity:!1};var T=function e(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if("string"==typeof n)return n;var i=(n.children||[]).map((function(n){return e(t,n)})),o=Object.keys(n.attributes||{}).reduce((function(e,t){var r=n.attributes[t];switch(t){case"class":e.attrs.className=r,delete n.attributes.class;break;case"style":e.attrs.style=y(r);break;default:0===t.indexOf("aria-")||0===t.indexOf("data-")?e.attrs[t.toLowerCase()]=r:e.attrs[g(t)]=r}return e}),{attrs:{}}),a=r.style,s=void 0===a?{}:a,u=d(r,m);return o.attrs.style=c(c({},o.attrs.style),s),t.apply(void 0,[n.tag,c(c({},o.attrs),u)].concat(p(i)))}.bind(null,s().createElement)},1516:function(e,t,n){"use strict";var r=n(90888);function i(){}function o(){}o.resetWarningCache=i,e.exports=function(){function e(e,t,n,i,o,a){if(a!==r){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:o,resetWarningCache:i};return n.PropTypes=n,n}},89632:function(e,t,n){e.exports=n(1516)()},90888:function(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},36618:function(e,t){"use strict";var n="fass",r="circle",i=[128308,128309,128992,128993,128994,128995,128996,9679,9898,9899,11044,61708,61915],o="f111",a="M256 512c141.4 0 256-114.6 256-256S397.4 0 256 0S0 114.6 0 256S114.6 512 256 512z";t.DF={prefix:n,iconName:r,icon:[512,512,i,o,a]},t.di=t.DF},40837:function(e,t){"use strict";var n="fass",r="pause",i=[9208],o="f04c",a="M128 64H0V448H128V64zm192 0H192V448H320V64z";t.DF={prefix:n,iconName:r,icon:[320,512,i,o,a]},t.XQ=t.DF},84734:function(e,t){"use strict";var n="fass",r="play",i=[9654],o="f04b",a="M384 256L0 32V480L384 256z";t.DF={prefix:n,iconName:r,icon:[384,512,i,o,a]},t.zc=t.DF},69898:function(e,t){"use strict";var n="fass",r="plus-large",i=[],o="e59e",a="M288 32l0-32H224l0 32 0 192H32 0v64H32 224V480v32h64V480 288l192 0 32 0 0-64-32 0-192 0 0-192z";t.DF={prefix:n,iconName:r,icon:[512,512,i,o,a]},t.RL=t.DF},27320:function(e,t){"use strict";function n(e){if(!Number.isSafeInteger(e)||e<0)throw new Error(`Wrong positive integer: ${e}`)}function r(e){if("boolean"!=typeof e)throw new Error(`Expected boolean, not ${e}`)}function i(e,...t){if(!((n=e)instanceof Uint8Array||null!=n&&"object"==typeof n&&"Uint8Array"===n.constructor.name))throw new Error("Expected Uint8Array");var n;if(t.length>0&&!t.includes(e.length))throw new Error(`Expected Uint8Array of length ${t}, not of length=${e.length}`)}function o(e){if("function"!=typeof e||"function"!=typeof e.create)throw new Error("Hash should be wrapped by utils.wrapConstructor");n(e.outputLen),n(e.blockLen)}function a(e,t=!0){if(e.destroyed)throw new Error("Hash instance has been destroyed");if(t&&e.finished)throw new Error("Hash#digest() has already been called")}function s(e,t){i(e);const n=t.outputLen;if(e.length<n)throw new Error(`digestInto() expects output buffer of length at least ${n}`)}Object.defineProperty(t,"__esModule",{value:!0}),t.output=t.exists=t.hash=t.bytes=t.bool=t.number=void 0,t.number=n,t.bool=r,t.bytes=i,t.hash=o,t.exists=a,t.output=s;const u={number:n,bool:r,bytes:i,hash:o,exists:a,output:s};t.default=u},6873:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.add5L=t.add5H=t.add4H=t.add4L=t.add3H=t.add3L=t.add=t.rotlBL=t.rotlBH=t.rotlSL=t.rotlSH=t.rotr32L=t.rotr32H=t.rotrBL=t.rotrBH=t.rotrSL=t.rotrSH=t.shrSL=t.shrSH=t.toBig=t.split=t.fromBig=void 0;const n=BigInt(2**32-1),r=BigInt(32);function i(e,t=!1){return t?{h:Number(e&n),l:Number(e>>r&n)}:{h:0|Number(e>>r&n),l:0|Number(e&n)}}function o(e,t=!1){let n=new Uint32Array(e.length),r=new Uint32Array(e.length);for(let o=0;o<e.length;o++){const{h:a,l:s}=i(e[o],t);[n[o],r[o]]=[a,s]}return[n,r]}t.fromBig=i,t.split=o;const a=(e,t)=>BigInt(e>>>0)<<r|BigInt(t>>>0);t.toBig=a;const s=(e,t,n)=>e>>>n;t.shrSH=s;const u=(e,t,n)=>e<<32-n|t>>>n;t.shrSL=u;const c=(e,t,n)=>e>>>n|t<<32-n;t.rotrSH=c;const l=(e,t,n)=>e<<32-n|t>>>n;t.rotrSL=l;const f=(e,t,n)=>e<<64-n|t>>>n-32;t.rotrBH=f;const d=(e,t,n)=>e>>>n-32|t<<64-n;t.rotrBL=d;const p=(e,t)=>t;t.rotr32H=p;const h=(e,t)=>e;t.rotr32L=h;const g=(e,t,n)=>e<<n|t>>>32-n;t.rotlSH=g;const m=(e,t,n)=>t<<n|e>>>32-n;t.rotlSL=m;const y=(e,t,n)=>t<<n-32|e>>>64-n;t.rotlBH=y;const v=(e,t,n)=>e<<n-32|t>>>64-n;function b(e,t,n,r){const i=(t>>>0)+(r>>>0);return{h:e+n+(i/2**32|0)|0,l:0|i}}t.rotlBL=v,t.add=b;const _=(e,t,n)=>(e>>>0)+(t>>>0)+(n>>>0);t.add3L=_;const w=(e,t,n,r)=>t+n+r+(e/2**32|0)|0;t.add3H=w;const T=(e,t,n,r)=>(e>>>0)+(t>>>0)+(n>>>0)+(r>>>0);t.add4L=T;const x=(e,t,n,r,i)=>t+n+r+i+(e/2**32|0)|0;t.add4H=x;const S=(e,t,n,r,i)=>(e>>>0)+(t>>>0)+(n>>>0)+(r>>>0)+(i>>>0);t.add5L=S;const k=(e,t,n,r,i,o)=>t+n+r+i+o+(e/2**32|0)|0;t.add5H=k;const E={fromBig:i,split:o,toBig:a,shrSH:s,shrSL:u,rotrSH:c,rotrSL:l,rotrBH:f,rotrBL:d,rotr32H:p,rotr32L:h,rotlSH:g,rotlSL:m,rotlBH:y,rotlBL:v,add:b,add3L:_,add3H:w,add4L:T,add4H:x,add5H:k,add5L:S};t.default=E},31945:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.crypto=void 0,t.crypto="object"==typeof globalThis&&"crypto"in globalThis?globalThis.crypto:void 0},85426:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.shake256=t.shake128=t.keccak_512=t.keccak_384=t.keccak_256=t.keccak_224=t.sha3_512=t.sha3_384=t.sha3_256=t.sha3_224=t.Keccak=t.keccakP=void 0;const r=n(27320),i=n(6873),o=n(98089),[a,s,u]=[[],[],[]],c=BigInt(0),l=BigInt(1),f=BigInt(2),d=BigInt(7),p=BigInt(256),h=BigInt(113);for(let e=0,t=l,n=1,r=0;e<24;e++){[n,r]=[r,(2*n+3*r)%5],a.push(2*(5*r+n)),s.push((e+1)*(e+2)/2%64);let i=c;for(let e=0;e<7;e++)t=(t<<l^(t>>d)*h)%p,t&f&&(i^=l<<(l<<BigInt(e))-l);u.push(i)}const[g,m]=(0,i.split)(u,!0),y=(e,t,n)=>n>32?(0,i.rotlBH)(e,t,n):(0,i.rotlSH)(e,t,n),v=(e,t,n)=>n>32?(0,i.rotlBL)(e,t,n):(0,i.rotlSL)(e,t,n);function b(e,t=24){const n=new Uint32Array(10);for(let r=24-t;r<24;r++){for(let t=0;t<10;t++)n[t]=e[t]^e[t+10]^e[t+20]^e[t+30]^e[t+40];for(let t=0;t<10;t+=2){const r=(t+8)%10,i=(t+2)%10,o=n[i],a=n[i+1],s=y(o,a,1)^n[r],u=v(o,a,1)^n[r+1];for(let n=0;n<50;n+=10)e[t+n]^=s,e[t+n+1]^=u}let t=e[2],i=e[3];for(let n=0;n<24;n++){const r=s[n],o=y(t,i,r),u=v(t,i,r),c=a[n];t=e[c],i=e[c+1],e[c]=o,e[c+1]=u}for(let t=0;t<50;t+=10){for(let r=0;r<10;r++)n[r]=e[t+r];for(let r=0;r<10;r++)e[t+r]^=~n[(r+2)%10]&n[(r+4)%10]}e[0]^=g[r],e[1]^=m[r]}n.fill(0)}t.keccakP=b;class _ extends o.Hash{constructor(e,t,n,i=!1,a=24){if(super(),this.blockLen=e,this.suffix=t,this.outputLen=n,this.enableXOF=i,this.rounds=a,this.pos=0,this.posOut=0,this.finished=!1,this.destroyed=!1,(0,r.number)(n),0>=this.blockLen||this.blockLen>=200)throw new Error("Sha3 supports only keccak-f1600 function");this.state=new Uint8Array(200),this.state32=(0,o.u32)(this.state)}keccak(){b(this.state32,this.rounds),this.posOut=0,this.pos=0}update(e){(0,r.exists)(this);const{blockLen:t,state:n}=this,i=(e=(0,o.toBytes)(e)).length;for(let r=0;r<i;){const o=Math.min(t-this.pos,i-r);for(let t=0;t<o;t++)n[this.pos++]^=e[r++];this.pos===t&&this.keccak()}return this}finish(){if(this.finished)return;this.finished=!0;const{state:e,suffix:t,pos:n,blockLen:r}=this;e[n]^=t,0!=(128&t)&&n===r-1&&this.keccak(),e[r-1]^=128,this.keccak()}writeInto(e){(0,r.exists)(this,!1),(0,r.bytes)(e),this.finish();const t=this.state,{blockLen:n}=this;for(let r=0,i=e.length;r<i;){this.posOut>=n&&this.keccak();const o=Math.min(n-this.posOut,i-r);e.set(t.subarray(this.posOut,this.posOut+o),r),this.posOut+=o,r+=o}return e}xofInto(e){if(!this.enableXOF)throw new Error("XOF is not possible for this instance");return this.writeInto(e)}xof(e){return(0,r.number)(e),this.xofInto(new Uint8Array(e))}digestInto(e){if((0,r.output)(e,this),this.finished)throw new Error("digest() was already called");return this.writeInto(e),this.destroy(),e}digest(){return this.digestInto(new Uint8Array(this.outputLen))}destroy(){this.destroyed=!0,this.state.fill(0)}_cloneInto(e){const{blockLen:t,suffix:n,outputLen:r,rounds:i,enableXOF:o}=this;return e||(e=new _(t,n,r,o,i)),e.state32.set(this.state32),e.pos=this.pos,e.posOut=this.posOut,e.finished=this.finished,e.rounds=i,e.suffix=n,e.outputLen=r,e.enableXOF=o,e.destroyed=this.destroyed,e}}t.Keccak=_;const w=(e,t,n)=>(0,o.wrapConstructor)((()=>new _(t,e,n)));t.sha3_224=w(6,144,28),t.sha3_256=w(6,136,32),t.sha3_384=w(6,104,48),t.sha3_512=w(6,72,64),t.keccak_224=w(1,144,28),t.keccak_256=w(1,136,32),t.keccak_384=w(1,104,48),t.keccak_512=w(1,72,64);const T=(e,t,n)=>(0,o.wrapXOFConstructorWithOpts)(((r={})=>new _(t,e,void 0===r.dkLen?n:r.dkLen,!0)));t.shake128=T(31,168,16),t.shake256=T(31,136,32)},98089:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.randomBytes=t.wrapXOFConstructorWithOpts=t.wrapConstructorWithOpts=t.wrapConstructor=t.checkOpts=t.Hash=t.concatBytes=t.toBytes=t.utf8ToBytes=t.asyncLoop=t.nextTick=t.hexToBytes=t.bytesToHex=t.isLE=t.rotr=t.createView=t.u32=t.u8=void 0;const r=n(31945);t.u8=e=>new Uint8Array(e.buffer,e.byteOffset,e.byteLength);function i(e){return e instanceof Uint8Array||null!=e&&"object"==typeof e&&"Uint8Array"===e.constructor.name}t.u32=e=>new Uint32Array(e.buffer,e.byteOffset,Math.floor(e.byteLength/4));t.createView=e=>new DataView(e.buffer,e.byteOffset,e.byteLength);if(t.rotr=(e,t)=>e<<32-t|e>>>t,t.isLE=68===new Uint8Array(new Uint32Array([287454020]).buffer)[0],!t.isLE)throw new Error("Non little-endian hardware is not supported");const o=Array.from({length:256},((e,t)=>t.toString(16).padStart(2,"0")));t.bytesToHex=function(e){if(!i(e))throw new Error("Uint8Array expected");let t="";for(let n=0;n<e.length;n++)t+=o[e[n]];return t};const a=48,s=57,u=65,c=70,l=97,f=102;function d(e){return e>=a&&e<=s?e-a:e>=u&&e<=c?e-(u-10):e>=l&&e<=f?e-(l-10):void 0}t.hexToBytes=function(e){if("string"!=typeof e)throw new Error("hex string expected, got "+typeof e);const t=e.length,n=t/2;if(t%2)throw new Error("padded hex string expected, got unpadded hex of length "+t);const r=new Uint8Array(n);for(let t=0,i=0;t<n;t++,i+=2){const n=d(e.charCodeAt(i)),o=d(e.charCodeAt(i+1));if(void 0===n||void 0===o){const t=e[i]+e[i+1];throw new Error('hex string expected, got non-hex character "'+t+'" at index '+i)}r[t]=16*n+o}return r};function p(e){if("string"!=typeof e)throw new Error("utf8ToBytes expected string, got "+typeof e);return new Uint8Array((new TextEncoder).encode(e))}function h(e){if("string"==typeof e&&(e=p(e)),!i(e))throw new Error("expected Uint8Array, got "+typeof e);return e}t.nextTick=async()=>{},t.asyncLoop=async function(e,n,r){let i=Date.now();for(let o=0;o<e;o++){r(o);const e=Date.now()-i;e>=0&&e<n||(await(0,t.nextTick)(),i+=e)}},t.utf8ToBytes=p,t.toBytes=h,t.concatBytes=function(...e){let t=0;for(let n=0;n<e.length;n++){const r=e[n];if(!i(r))throw new Error("Uint8Array expected");t+=r.length}const n=new Uint8Array(t);for(let t=0,r=0;t<e.length;t++){const i=e[t];n.set(i,r),r+=i.length}return n};t.Hash=class{clone(){return this._cloneInto()}};const g={}.toString;t.checkOpts=function(e,t){if(void 0!==t&&"[object Object]"!==g.call(t))throw new Error("Options should be object or undefined");return Object.assign(e,t)},t.wrapConstructor=function(e){const t=t=>e().update(h(t)).digest(),n=e();return t.outputLen=n.outputLen,t.blockLen=n.blockLen,t.create=()=>e(),t},t.wrapConstructorWithOpts=function(e){const t=(t,n)=>e(n).update(h(t)).digest(),n=e({});return t.outputLen=n.outputLen,t.blockLen=n.blockLen,t.create=t=>e(t),t},t.wrapXOFConstructorWithOpts=function(e){const t=(t,n)=>e(n).update(h(t)).digest(),n=e({});return t.outputLen=n.outputLen,t.blockLen=n.blockLen,t.create=t=>e(t),t},t.randomBytes=function(e=32){if(r.crypto&&"function"==typeof r.crypto.getRandomValues)return r.crypto.getRandomValues(new Uint8Array(e));throw new Error("crypto.getRandomValues must be defined")}},92981:function(e,t,n){const{createId:r,init:i,getConstants:o,isCuid:a}=n(3679);e.exports.createId=r,e.exports.init=i,e.exports.getConstants=o,e.exports.isCuid=a},3679:function(e,t,n){const{sha3_512:r}=n(85426),i=(e=4,t=Math.random)=>{let n="";for(;n.length<e;)n+=Math.floor(36*t()).toString(36);return n};function o(e){let t=8n,n=0n;for(const r of e.values()){n=(n<<t)+BigInt(r)}return n}const a=(e="")=>o(r(e)).toString(36).slice(1),s=Array.from({length:26},((e,t)=>String.fromCharCode(t+97))),u=({globalObj:e=(void 0!==n.g?n.g:"undefined"!=typeof window?window:{}),random:t=Math.random}={})=>{const r=Object.keys(e).toString(),o=r.length?r+i(32,t):i(32,t);return a(o).substring(0,32)},c=e=>()=>e++,l=({random:e=Math.random,counter:t=c(Math.floor(476782367*e())),length:n=24,fingerprint:r=u({random:e})}={})=>function(){const o=(e=>s[Math.floor(e()*s.length)])(e),u=Date.now().toString(36),c=t().toString(36),l=i(n,e);return`${o+a(`${u+l+c+r}`).substring(1,n)}`},f=l();e.exports.getConstants=()=>({defaultLength:24,bigLength:32}),e.exports.init=l,e.exports.createId=f,e.exports.bufToBigInt=o,e.exports.createCounter=c,e.exports.createFingerprint=u,e.exports.isCuid=(e,{minLength:t=2,maxLength:n=32}={})=>{const r=e.length,i=/^[0-9a-z]+$/;try{if("string"==typeof e&&r>=t&&r<=n&&i.test(e))return!0}finally{}return!1}},53735:function(e){"use strict";e.exports=function(e,t,n){var r=[],i=0;return n.replace(e,(function(){var e=Array.prototype.slice.call(arguments),n=e.length,o=e[0],a=e[n-1],s=e[n-2],u=a.slice(i,s),c="function"==typeof t?t.apply(null,e):t;r.push(u,c),i=s+o.length})),r.push(n.slice(i)),r}},36602:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=function(e,t,n){return void 0===n&&(n=0),Math.round(Math.sqrt((1-n)*Math.pow(e,2)+n*Math.pow(t,2)))},i=function(e,t,n){return void 0===n&&(n=0),Number(((1-n)*e+n*t).toFixed(2))},o=n(96895),a=function(e){var t=void 0===e?[]:e,n=t[0],r=void 0===n?0:n,i=t[1],o=void 0===i?0:i,a=t[2],s=void 0===a?0:a,u=t[3],c=void 0===u?1:u;return"#"+(1<<24|r<<16|o<<8|s).toString(16).slice(1)+(255*c).toString(16).padStart(2,"0").slice(0,2)},s=function(e,t,n){var s=(0,o.Z)(e),u=s[0],c=s[1],l=s[2],f=s[3],d=(0,o.Z)(t),p=d[0],h=d[1],g=d[2],m=d[3],y=a([r(u,p,n),r(c,h,n),r(l,g,n),i(f,m,n)]);return 1===f&&1===m?y.slice(0,7):y}},96895:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=function(e){void 0===e&&(e="");var t=e.replace(/^#/,""),n=t.length;return 3===n||4===n?function(e){return e.split("").map((function(e){return e+e})).join("")}(t):t},i=function(e){return e?parseFloat((parseInt(e,16)/255).toFixed(2)):1},o=function(e){var t=r(e),n=t.slice(0,6),o=t.slice(6),a=parseInt(n,16);return[a>>16&255,a>>8&255,a>>0&255,i(o)]}},4204:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(96895),i=function(e){var t=void 0===e?[]:e,n=t[0],r=void 0===n?0:n,i=t[1],o=void 0===i?0:i,a=t[2],s=void 0===a?0:a,u=t[3];return"rgba("+r+","+o+","+s+","+(void 0===u?1:u)+")"},o=function(e,t){var n=(0,r.Z)(e),o=n[0],a=n[1],s=n[2],u=n[3];return i([o,a,s,null!=t?t:u])}},3207:function(e,t,n){"use strict";n.d(t,{O:function(){return r}});var r=function(e,t,n,r){void 0===r&&(r=!1),n.addEventListener(e,t,r)}},5244:function(e,t,n){"use strict";n.d(t,{j:function(){return r}});var r=function(e,t){return t.appendChild(e)}},87965:function(e,t,n){"use strict";n.d(t,{y:function(){return r}});var r=function(e){null==e||e.blur()}},75524:function(e,t,n){"use strict";n.d(t,{T:function(){return r}});var r=function(e,t){return void 0===e&&(e=!0),t.cloneNode(e)}},17502:function(e,t,n){"use strict";n.d(t,{a:function(){return r}});var r=function(e){return document.createElement(e)}},88819:function(e,t,n){"use strict";n.d(t,{T:function(){return r}});var r=function(e,t){void 0===e&&(e={preventScroll:!1}),null==t||t.focus(e)}},25581:function(e,t,n){"use strict";n.d(t,{T:function(){return r}});var r=function(e,t){for(var n,r=(null===(n=t.parentNode)||void 0===n?void 0:n.children)||[],i=0;i<r.length;i++){var o=r[i];o&&o!==t&&e(o)}}},67839:function(e,t,n){"use strict";n.d(t,{I:function(){return r}});var r=function(e,t){return t.getAttribute(e)}},23637:function(e,t,n){"use strict";n.d(t,{L:function(){return r}});var r=function(e){return e?e.getBoundingClientRect():{bottom:0,height:0,left:0,right:0,top:0,width:0,x:0,y:0}}},60299:function(e,t,n){"use strict";n.d(t,{V:function(){return o}});var r=n(57367),i=n(73989),o=function(e,t,n){var o=(0,i.b)()/(e+n),a=(0,r.W)()/(t+n);return Math.min(o,a)}},79020:function(e,t,n){"use strict";n.d(t,{d:function(){return i}});var r=n(60299),i=function(e,t,n,i,o){var a=(0,r.V)(t,i,o),s=t>i?t/e:i/n;return a>1?s:a*s}},23675:function(e,t,n){"use strict";n.d(t,{$:function(){return r}});var r=function(e,t){return function(e){return e.style}(t)[e]}},57367:function(e,t,n){"use strict";n.d(t,{W:function(){return r}});var r=function(){return window.innerHeight}},73989:function(e,t,n){"use strict";n.d(t,{b:function(){return r}});var r=function(){return window.innerWidth}},41117:function(e,t,n){"use strict";n.d(t,{d:function(){return r}});var r=function(e,t){t.removeAttribute(e)}},33206:function(e,t,n){"use strict";n.d(t,{h:function(){return r}});var r=function(e,t){t.contains(e)&&t.removeChild(e)}},62050:function(e,t,n){"use strict";n.d(t,{x:function(){return r}});var r=function(e,t,n,r){void 0===r&&(r=!1),n.removeEventListener(e,t,r)}},89213:function(e,t,n){"use strict";n.d(t,{P:function(){return r}});var r=function(e,t,n){return n.setAttribute(e,t)}},27126:function(e,t,n){"use strict";n.d(t,{U:function(){return r}});var r=function(e,t,n,r){r.style.setProperty(t,n,e)}},68610:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Errors=t.ValueErrorIterator=t.ValueErrorsUnknownTypeError=t.ValueErrorType=void 0;const r=n(84672),i=n(19131),o=n(73833),a=n(74161),s=n(43835),u=n(759),c=n(16996),l=n(99562),f=n(65834),d=n(73621),p=n(91808);var h;!function(e){e[e.ArrayContains=0]="ArrayContains",e[e.ArrayMaxContains=1]="ArrayMaxContains",e[e.ArrayMaxItems=2]="ArrayMaxItems",e[e.ArrayMinContains=3]="ArrayMinContains",e[e.ArrayMinItems=4]="ArrayMinItems",e[e.ArrayUniqueItems=5]="ArrayUniqueItems",e[e.Array=6]="Array",e[e.AsyncIterator=7]="AsyncIterator",e[e.BigIntExclusiveMaximum=8]="BigIntExclusiveMaximum",e[e.BigIntExclusiveMinimum=9]="BigIntExclusiveMinimum",e[e.BigIntMaximum=10]="BigIntMaximum",e[e.BigIntMinimum=11]="BigIntMinimum",e[e.BigIntMultipleOf=12]="BigIntMultipleOf",e[e.BigInt=13]="BigInt",e[e.Boolean=14]="Boolean",e[e.DateExclusiveMaximumTimestamp=15]="DateExclusiveMaximumTimestamp",e[e.DateExclusiveMinimumTimestamp=16]="DateExclusiveMinimumTimestamp",e[e.DateMaximumTimestamp=17]="DateMaximumTimestamp",e[e.DateMinimumTimestamp=18]="DateMinimumTimestamp",e[e.DateMultipleOfTimestamp=19]="DateMultipleOfTimestamp",e[e.Date=20]="Date",e[e.Function=21]="Function",e[e.IntegerExclusiveMaximum=22]="IntegerExclusiveMaximum",e[e.IntegerExclusiveMinimum=23]="IntegerExclusiveMinimum",e[e.IntegerMaximum=24]="IntegerMaximum",e[e.IntegerMinimum=25]="IntegerMinimum",e[e.IntegerMultipleOf=26]="IntegerMultipleOf",e[e.Integer=27]="Integer",e[e.IntersectUnevaluatedProperties=28]="IntersectUnevaluatedProperties",e[e.Intersect=29]="Intersect",e[e.Iterator=30]="Iterator",e[e.Kind=31]="Kind",e[e.Literal=32]="Literal",e[e.Never=33]="Never",e[e.Not=34]="Not",e[e.Null=35]="Null",e[e.NumberExclusiveMaximum=36]="NumberExclusiveMaximum",e[e.NumberExclusiveMinimum=37]="NumberExclusiveMinimum",e[e.NumberMaximum=38]="NumberMaximum",e[e.NumberMinimum=39]="NumberMinimum",e[e.NumberMultipleOf=40]="NumberMultipleOf",e[e.Number=41]="Number",e[e.ObjectAdditionalProperties=42]="ObjectAdditionalProperties",e[e.ObjectMaxProperties=43]="ObjectMaxProperties",e[e.ObjectMinProperties=44]="ObjectMinProperties",e[e.ObjectRequiredProperty=45]="ObjectRequiredProperty",e[e.Object=46]="Object",e[e.Promise=47]="Promise",e[e.RegExp=48]="RegExp",e[e.StringFormatUnknown=49]="StringFormatUnknown",e[e.StringFormat=50]="StringFormat",e[e.StringMaxLength=51]="StringMaxLength",e[e.StringMinLength=52]="StringMinLength",e[e.StringPattern=53]="StringPattern",e[e.String=54]="String",e[e.Symbol=55]="Symbol",e[e.TupleLength=56]="TupleLength",e[e.Tuple=57]="Tuple",e[e.Uint8ArrayMaxByteLength=58]="Uint8ArrayMaxByteLength",e[e.Uint8ArrayMinByteLength=59]="Uint8ArrayMinByteLength",e[e.Uint8Array=60]="Uint8Array",e[e.Undefined=61]="Undefined",e[e.Union=62]="Union",e[e.Void=63]="Void"}(h||(t.ValueErrorType=h={}));class g extends u.TypeBoxError{constructor(e){super("Unknown type"),this.schema=e}}function m(e){return e.replace(/~/g,"~0").replace(/\//g,"~1")}function y(e){return void 0!==e}t.ValueErrorsUnknownTypeError=g;class v{constructor(e){this.iterator=e}[Symbol.iterator](){return this.iterator}First(){const e=this.iterator.next();return e.done?void 0:e.value}}function b(e,t,n,r){return{type:e,schema:t,path:n,value:r,message:(0,s.GetErrorFunction)()({errorType:e,path:n,schema:t,value:r})}}function*_(e,t,n,s){const u=y(e.$id)?[...t,e]:t,v=e;switch(v[f.Kind]){case"Any":case"Unknown":return yield*function*(e,t,n,r){}();case"Array":return yield*function*(e,t,n,r){if(!(0,p.IsArray)(r))return yield b(h.Array,e,n,r);!y(e.minItems)||r.length>=e.minItems||(yield b(h.ArrayMinItems,e,n,r)),!y(e.maxItems)||r.length<=e.maxItems||(yield b(h.ArrayMaxItems,e,n,r));for(let i=0;i<r.length;i++)yield*_(e.items,t,`${n}/${i}`,r[i]);if(!0!==e.uniqueItems||function(){const e=new Set;for(const t of r){const n=(0,l.Hash)(t);if(e.has(n))return!1;e.add(n)}return!0}()||(yield b(h.ArrayUniqueItems,e,n,r)),!(y(e.contains)||y(e.minContains)||y(e.maxContains)))return;const i=y(e.contains)?e.contains:(0,d.Never)(),o=r.reduce(((e,r,o)=>!0===_(i,t,`${n}${o}`,r).next().done?e+1:e),0);0===o&&(yield b(h.ArrayContains,e,n,r)),(0,p.IsNumber)(e.minContains)&&o<e.minContains&&(yield b(h.ArrayMinContains,e,n,r)),(0,p.IsNumber)(e.maxContains)&&o>e.maxContains&&(yield b(h.ArrayMaxContains,e,n,r))}(v,u,n,s);case"AsyncIterator":return yield*function*(e,t,n,r){(0,p.IsAsyncIterator)(r)||(yield b(h.AsyncIterator,e,n,r))}(v,0,n,s);case"BigInt":return yield*function*(e,t,n,r){if(!(0,p.IsBigInt)(r))return yield b(h.BigInt,e,n,r);!y(e.exclusiveMaximum)||r<e.exclusiveMaximum||(yield b(h.BigIntExclusiveMaximum,e,n,r)),!y(e.exclusiveMinimum)||r>e.exclusiveMinimum||(yield b(h.BigIntExclusiveMinimum,e,n,r)),!y(e.maximum)||r<=e.maximum||(yield b(h.BigIntMaximum,e,n,r)),!y(e.minimum)||r>=e.minimum||(yield b(h.BigIntMinimum,e,n,r)),y(e.multipleOf)&&r%e.multipleOf!==BigInt(0)&&(yield b(h.BigIntMultipleOf,e,n,r))}(v,0,n,s);case"Boolean":return yield*function*(e,t,n,r){(0,p.IsBoolean)(r)||(yield b(h.Boolean,e,n,r))}(v,0,n,s);case"Constructor":return yield*function*(e,t,n,r){yield*_(e.returns,t,n,r.prototype)}(v,u,n,s);case"Date":return yield*function*(e,t,n,r){if(!(0,p.IsDate)(r))return yield b(h.Date,e,n,r);!y(e.exclusiveMaximumTimestamp)||r.getTime()<e.exclusiveMaximumTimestamp||(yield b(h.DateExclusiveMaximumTimestamp,e,n,r)),!y(e.exclusiveMinimumTimestamp)||r.getTime()>e.exclusiveMinimumTimestamp||(yield b(h.DateExclusiveMinimumTimestamp,e,n,r)),!y(e.maximumTimestamp)||r.getTime()<=e.maximumTimestamp||(yield b(h.DateMaximumTimestamp,e,n,r)),!y(e.minimumTimestamp)||r.getTime()>=e.minimumTimestamp||(yield b(h.DateMinimumTimestamp,e,n,r)),y(e.multipleOfTimestamp)&&r.getTime()%e.multipleOfTimestamp!=0&&(yield b(h.DateMultipleOfTimestamp,e,n,r))}(v,0,n,s);case"Function":return yield*function*(e,t,n,r){(0,p.IsFunction)(r)||(yield b(h.Function,e,n,r))}(v,0,n,s);case"Integer":return yield*function*(e,t,n,r){if(!(0,p.IsInteger)(r))return yield b(h.Integer,e,n,r);!y(e.exclusiveMaximum)||r<e.exclusiveMaximum||(yield b(h.IntegerExclusiveMaximum,e,n,r)),!y(e.exclusiveMinimum)||r>e.exclusiveMinimum||(yield b(h.IntegerExclusiveMinimum,e,n,r)),!y(e.maximum)||r<=e.maximum||(yield b(h.IntegerMaximum,e,n,r)),!y(e.minimum)||r>=e.minimum||(yield b(h.IntegerMinimum,e,n,r)),y(e.multipleOf)&&r%e.multipleOf!=0&&(yield b(h.IntegerMultipleOf,e,n,r))}(v,0,n,s);case"Intersect":return yield*function*(e,t,n,r){for(const i of e.allOf){const o=_(i,t,n,r).next();o.done||(yield b(h.Intersect,e,n,r),yield o.value)}if(!1===e.unevaluatedProperties){const t=new RegExp((0,i.KeyOfPattern)(e));for(const i of Object.getOwnPropertyNames(r))t.test(i)||(yield b(h.IntersectUnevaluatedProperties,e,`${n}/${i}`,r))}if("object"==typeof e.unevaluatedProperties){const o=new RegExp((0,i.KeyOfPattern)(e));for(const i of Object.getOwnPropertyNames(r))if(!o.test(i)){const o=_(e.unevaluatedProperties,t,`${n}/${i}`,r[i]).next();o.done||(yield o.value)}}}(v,u,n,s);case"Iterator":return yield*function*(e,t,n,r){(0,p.IsIterator)(r)||(yield b(h.Iterator,e,n,r))}(v,0,n,s);case"Literal":return yield*function*(e,t,n,r){r!==e.const&&(yield b(h.Literal,e,n,r))}(v,0,n,s);case"Never":return yield*function*(e,t,n,r){yield b(h.Never,e,n,r)}(v,0,n,s);case"Not":return yield*function*(e,t,n,r){!0===_(e.not,t,n,r).next().done&&(yield b(h.Not,e,n,r))}(v,u,n,s);case"Null":return yield*function*(e,t,n,r){(0,p.IsNull)(r)||(yield b(h.Null,e,n,r))}(v,0,n,s);case"Number":return yield*function*(e,t,n,i){if(!r.TypeSystemPolicy.IsNumberLike(i))return yield b(h.Number,e,n,i);!y(e.exclusiveMaximum)||i<e.exclusiveMaximum||(yield b(h.NumberExclusiveMaximum,e,n,i)),!y(e.exclusiveMinimum)||i>e.exclusiveMinimum||(yield b(h.NumberExclusiveMinimum,e,n,i)),!y(e.maximum)||i<=e.maximum||(yield b(h.NumberMaximum,e,n,i)),!y(e.minimum)||i>=e.minimum||(yield b(h.NumberMinimum,e,n,i)),y(e.multipleOf)&&i%e.multipleOf!=0&&(yield b(h.NumberMultipleOf,e,n,i))}(v,0,n,s);case"Object":return yield*function*(e,t,n,i){if(!r.TypeSystemPolicy.IsObjectLike(i))return yield b(h.Object,e,n,i);!y(e.minProperties)||Object.getOwnPropertyNames(i).length>=e.minProperties||(yield b(h.ObjectMinProperties,e,n,i)),!y(e.maxProperties)||Object.getOwnPropertyNames(i).length<=e.maxProperties||(yield b(h.ObjectMaxProperties,e,n,i));const o=Array.isArray(e.required)?e.required:[],s=Object.getOwnPropertyNames(e.properties),u=Object.getOwnPropertyNames(i);for(const t of o)u.includes(t)||(yield b(h.ObjectRequiredProperty,e.properties[t],`${n}/${m(t)}`,void 0));if(!1===e.additionalProperties)for(const t of u)s.includes(t)||(yield b(h.ObjectAdditionalProperties,e,`${n}/${m(t)}`,i[t]));if("object"==typeof e.additionalProperties)for(const r of u)s.includes(r)||(yield*_(e.additionalProperties,t,`${n}/${m(r)}`,i[r]));for(const o of s){const s=e.properties[o];e.required&&e.required.includes(o)?(yield*_(s,t,`${n}/${m(o)}`,i[o]),(0,a.ExtendsUndefinedCheck)(e)&&!(o in i)&&(yield b(h.ObjectRequiredProperty,s,`${n}/${m(o)}`,void 0))):r.TypeSystemPolicy.IsExactOptionalProperty(i,o)&&(yield*_(s,t,`${n}/${m(o)}`,i[o]))}}(v,u,n,s);case"Promise":return yield*function*(e,t,n,r){(0,p.IsPromise)(r)||(yield b(h.Promise,e,n,r))}(v,0,n,s);case"Record":return yield*function*(e,t,n,i){if(!r.TypeSystemPolicy.IsRecordLike(i))return yield b(h.Object,e,n,i);!y(e.minProperties)||Object.getOwnPropertyNames(i).length>=e.minProperties||(yield b(h.ObjectMinProperties,e,n,i)),!y(e.maxProperties)||Object.getOwnPropertyNames(i).length<=e.maxProperties||(yield b(h.ObjectMaxProperties,e,n,i));const[o,a]=Object.entries(e.patternProperties)[0],s=new RegExp(o);for(const[e,r]of Object.entries(i))s.test(e)&&(yield*_(a,t,`${n}/${m(e)}`,r));if("object"==typeof e.additionalProperties)for(const[r,o]of Object.entries(i))s.test(r)||(yield*_(e.additionalProperties,t,`${n}/${m(r)}`,o));if(!1===e.additionalProperties)for(const[t,r]of Object.entries(i))if(!s.test(t))return yield b(h.ObjectAdditionalProperties,e,`${n}/${m(t)}`,r)}(v,u,n,s);case"Ref":case"This":return yield*function*(e,t,n,r){yield*_((0,c.Deref)(e,t),t,n,r)}(v,u,n,s);case"RegExp":return yield*function*(e,t,n,r){return(0,p.IsString)(r)?(!y(e.minLength)||r.length>=e.minLength||(yield b(h.StringMinLength,e,n,r)),!y(e.maxLength)||r.length<=e.maxLength||(yield b(h.StringMaxLength,e,n,r)),new RegExp(e.source,e.flags).test(r)?void 0:yield b(h.RegExp,e,n,r)):yield b(h.String,e,n,r)}(v,0,n,s);case"String":return yield*function*(e,t,n,r){if(!(0,p.IsString)(r))return yield b(h.String,e,n,r);!y(e.minLength)||r.length>=e.minLength||(yield b(h.StringMinLength,e,n,r)),!y(e.maxLength)||r.length<=e.maxLength||(yield b(h.StringMaxLength,e,n,r)),(0,p.IsString)(e.pattern)&&(new RegExp(e.pattern).test(r)||(yield b(h.StringPattern,e,n,r)));(0,p.IsString)(e.format)&&(o.FormatRegistry.Has(e.format)?o.FormatRegistry.Get(e.format)(r)||(yield b(h.StringFormat,e,n,r)):yield b(h.StringFormatUnknown,e,n,r))}(v,0,n,s);case"Symbol":return yield*function*(e,t,n,r){(0,p.IsSymbol)(r)||(yield b(h.Symbol,e,n,r))}(v,0,n,s);case"TemplateLiteral":return yield*function*(e,t,n,r){if(!(0,p.IsString)(r))return yield b(h.String,e,n,r);new RegExp(e.pattern).test(r)||(yield b(h.StringPattern,e,n,r))}(v,0,n,s);case"Tuple":return yield*function*(e,t,n,r){if(!(0,p.IsArray)(r))return yield b(h.Tuple,e,n,r);if(void 0===e.items&&0!==r.length)return yield b(h.TupleLength,e,n,r);if(r.length!==e.maxItems)return yield b(h.TupleLength,e,n,r);if(e.items)for(let i=0;i<e.items.length;i++)yield*_(e.items[i],t,`${n}/${i}`,r[i])}(v,u,n,s);case"Undefined":return yield*function*(e,t,n,r){(0,p.IsUndefined)(r)||(yield b(h.Undefined,e,n,r))}(v,0,n,s);case"Union":return yield*function*(e,t,n,r){let i=0;for(const o of e.anyOf){const e=[..._(o,t,n,r)];if(0===e.length)return;i+=e.length}i>0&&(yield b(h.Union,e,n,r))}(v,u,n,s);case"Uint8Array":return yield*function*(e,t,n,r){if(!(0,p.IsUint8Array)(r))return yield b(h.Uint8Array,e,n,r);!y(e.maxByteLength)||r.length<=e.maxByteLength||(yield b(h.Uint8ArrayMaxByteLength,e,n,r)),!y(e.minByteLength)||r.length>=e.minByteLength||(yield b(h.Uint8ArrayMinByteLength,e,n,r))}(v,0,n,s);case"Void":return yield*function*(e,t,n,i){r.TypeSystemPolicy.IsVoidLike(i)||(yield b(h.Void,e,n,i))}(v,0,n,s);default:if(!o.TypeRegistry.Has(v[f.Kind]))throw new g(e);return yield*function*(e,t,n,r){o.TypeRegistry.Get(e[f.Kind])(e,r)||(yield b(h.Kind,e,n,r))}(v,0,n,s)}}t.ValueErrorIterator=v,t.Errors=function(...e){const t=3===e.length?_(e[0],e[1],"",e[2]):_(e[0],[],"",e[1]);return new v(t)}},43835:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.GetErrorFunction=t.SetErrorFunction=t.DefaultErrorFunction=void 0;const r=n(65834),i=n(68610);function o(e){switch(e.errorType){case i.ValueErrorType.ArrayContains:return"Expected array to contain at least one matching value";case i.ValueErrorType.ArrayMaxContains:return`Expected array to contain no more than ${e.schema.maxContains} matching values`;case i.ValueErrorType.ArrayMinContains:return`Expected array to contain at least ${e.schema.minContains} matching values`;case i.ValueErrorType.ArrayMaxItems:return`Expected array length to be less or equal to ${e.schema.maxItems}`;case i.ValueErrorType.ArrayMinItems:return`Expected array length to be greater or equal to ${e.schema.minItems}`;case i.ValueErrorType.ArrayUniqueItems:return"Expected array elements to be unique";case i.ValueErrorType.Array:return"Expected array";case i.ValueErrorType.AsyncIterator:return"Expected AsyncIterator";case i.ValueErrorType.BigIntExclusiveMaximum:return`Expected bigint to be less than ${e.schema.exclusiveMaximum}`;case i.ValueErrorType.BigIntExclusiveMinimum:return`Expected bigint to be greater than ${e.schema.exclusiveMinimum}`;case i.ValueErrorType.BigIntMaximum:return`Expected bigint to be less or equal to ${e.schema.maximum}`;case i.ValueErrorType.BigIntMinimum:return`Expected bigint to be greater or equal to ${e.schema.minimum}`;case i.ValueErrorType.BigIntMultipleOf:return`Expected bigint to be a multiple of ${e.schema.multipleOf}`;case i.ValueErrorType.BigInt:return"Expected bigint";case i.ValueErrorType.Boolean:return"Expected boolean";case i.ValueErrorType.DateExclusiveMinimumTimestamp:return`Expected Date timestamp to be greater than ${e.schema.exclusiveMinimumTimestamp}`;case i.ValueErrorType.DateExclusiveMaximumTimestamp:return`Expected Date timestamp to be less than ${e.schema.exclusiveMaximumTimestamp}`;case i.ValueErrorType.DateMinimumTimestamp:return`Expected Date timestamp to be greater or equal to ${e.schema.minimumTimestamp}`;case i.ValueErrorType.DateMaximumTimestamp:return`Expected Date timestamp to be less or equal to ${e.schema.maximumTimestamp}`;case i.ValueErrorType.DateMultipleOfTimestamp:return`Expected Date timestamp to be a multiple of ${e.schema.multipleOfTimestamp}`;case i.ValueErrorType.Date:return"Expected Date";case i.ValueErrorType.Function:return"Expected function";case i.ValueErrorType.IntegerExclusiveMaximum:return`Expected integer to be less than ${e.schema.exclusiveMaximum}`;case i.ValueErrorType.IntegerExclusiveMinimum:return`Expected integer to be greater than ${e.schema.exclusiveMinimum}`;case i.ValueErrorType.IntegerMaximum:return`Expected integer to be less or equal to ${e.schema.maximum}`;case i.ValueErrorType.IntegerMinimum:return`Expected integer to be greater or equal to ${e.schema.minimum}`;case i.ValueErrorType.IntegerMultipleOf:return`Expected integer to be a multiple of ${e.schema.multipleOf}`;case i.ValueErrorType.Integer:return"Expected integer";case i.ValueErrorType.IntersectUnevaluatedProperties:return"Unexpected property";case i.ValueErrorType.Intersect:return"Expected all values to match";case i.ValueErrorType.Iterator:return"Expected Iterator";case i.ValueErrorType.Literal:return`Expected ${"string"==typeof e.schema.const?`'${e.schema.const}'`:e.schema.const}`;case i.ValueErrorType.Never:return"Never";case i.ValueErrorType.Not:return"Value should not match";case i.ValueErrorType.Null:return"Expected null";case i.ValueErrorType.NumberExclusiveMaximum:return`Expected number to be less than ${e.schema.exclusiveMaximum}`;case i.ValueErrorType.NumberExclusiveMinimum:return`Expected number to be greater than ${e.schema.exclusiveMinimum}`;case i.ValueErrorType.NumberMaximum:return`Expected number to be less or equal to ${e.schema.maximum}`;case i.ValueErrorType.NumberMinimum:return`Expected number to be greater or equal to ${e.schema.minimum}`;case i.ValueErrorType.NumberMultipleOf:return`Expected number to be a multiple of ${e.schema.multipleOf}`;case i.ValueErrorType.Number:return"Expected number";case i.ValueErrorType.Object:return"Expected object";case i.ValueErrorType.ObjectAdditionalProperties:return"Unexpected property";case i.ValueErrorType.ObjectMaxProperties:return`Expected object to have no more than ${e.schema.maxProperties} properties`;case i.ValueErrorType.ObjectMinProperties:return`Expected object to have at least ${e.schema.minProperties} properties`;case i.ValueErrorType.ObjectRequiredProperty:return"Required property";case i.ValueErrorType.Promise:return"Expected Promise";case i.ValueErrorType.RegExp:return"Expected string to match regular expression";case i.ValueErrorType.StringFormatUnknown:return`Unknown format '${e.schema.format}'`;case i.ValueErrorType.StringFormat:return`Expected string to match '${e.schema.format}' format`;case i.ValueErrorType.StringMaxLength:return`Expected string length less or equal to ${e.schema.maxLength}`;case i.ValueErrorType.StringMinLength:return`Expected string length greater or equal to ${e.schema.minLength}`;case i.ValueErrorType.StringPattern:return`Expected string to match '${e.schema.pattern}'`;case i.ValueErrorType.String:return"Expected string";case i.ValueErrorType.Symbol:return"Expected symbol";case i.ValueErrorType.TupleLength:return`Expected tuple to have ${e.schema.maxItems||0} elements`;case i.ValueErrorType.Tuple:return"Expected tuple";case i.ValueErrorType.Uint8ArrayMaxByteLength:return`Expected byte length less or equal to ${e.schema.maxByteLength}`;case i.ValueErrorType.Uint8ArrayMinByteLength:return`Expected byte length greater or equal to ${e.schema.minByteLength}`;case i.ValueErrorType.Uint8Array:return"Expected Uint8Array";case i.ValueErrorType.Undefined:return"Expected undefined";case i.ValueErrorType.Union:return"Expected union value";case i.ValueErrorType.Void:return"Expected void";case i.ValueErrorType.Kind:return`Expected kind '${e.schema[r.Kind]}'`;default:return"Unknown error type"}}t.DefaultErrorFunction=o;let a=o;t.SetErrorFunction=function(e){a=e},t.GetErrorFunction=function(){return a}},70530:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(68610),t),i(n(43835),t)},2098:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(9647),t),i(n(759),t),i(n(76553),t),i(n(50879),t),i(n(49940),t),i(n(73833),t),i(n(87900),t),i(n(65834),t),i(n(81977),t),i(n(42849),t),i(n(86345),t),i(n(38209),t),i(n(47932),t),i(n(35376),t),i(n(53422),t),i(n(48614),t),i(n(47959),t),i(n(51433),t),i(n(97137),t),i(n(44094),t),i(n(35287),t),i(n(96709),t),i(n(89866),t),i(n(71021),t),i(n(13992),t),i(n(42387),t),i(n(33102),t),i(n(13517),t),i(n(49823),t),i(n(19561),t),i(n(36486),t),i(n(19131),t),i(n(45348),t),i(n(47636),t),i(n(73621),t),i(n(15105),t),i(n(49246),t),i(n(74459),t),i(n(17152),t),i(n(64720),t),i(n(64203),t),i(n(13524),t),i(n(25835),t),i(n(64285),t),i(n(43814),t),i(n(66958),t),i(n(53775),t),i(n(60404),t),i(n(88883),t),i(n(33380),t),i(n(1471),t),i(n(63516),t),i(n(54903),t),i(n(39978),t),i(n(83780),t),i(n(88302),t),i(n(21221),t),i(n(95784),t),i(n(60919),t),i(n(90634),t),i(n(21253),t),i(n(5986),t),i(n(12914),t),i(n(35222),t),i(n(96484),t),i(n(48375),t),i(n(58324),t),i(n(95541),t),i(n(33214),t)},84672:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(57858),t),i(n(82308),t)},57858:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TypeSystemPolicy=void 0;const r=n(91808);var i;!function(e){function t(t){const n=(0,r.IsObject)(t);return e.AllowArrayObject?n:n&&!(0,r.IsArray)(t)}e.ExactOptionalPropertyTypes=!1,e.AllowArrayObject=!1,e.AllowNaN=!1,e.AllowNullVoid=!1,e.IsExactOptionalProperty=function(t,n){return e.ExactOptionalPropertyTypes?n in t:void 0!==t[n]},e.IsObjectLike=t,e.IsRecordLike=function(e){return t(e)&&!(e instanceof Date)&&!(e instanceof Uint8Array)},e.IsNumberLike=function(t){const n=(0,r.IsNumber)(t);return e.AllowNaN?n:n&&Number.isFinite(t)},e.IsVoidLike=function(t){const n=(0,r.IsUndefined)(t);return e.AllowNullVoid?n||null===t:n}}(i||(t.TypeSystemPolicy=i={}))},82308:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TypeSystem=t.TypeSystemDuplicateFormat=t.TypeSystemDuplicateTypeKind=void 0;const r=n(73833),i=n(58324),o=n(65834),a=n(759);class s extends a.TypeBoxError{constructor(e){super(`Duplicate type kind '${e}' detected`)}}t.TypeSystemDuplicateTypeKind=s;class u extends a.TypeBoxError{constructor(e){super(`Duplicate string format '${e}' detected`)}}var c;t.TypeSystemDuplicateFormat=u,function(e){e.Type=function(e,t){if(r.TypeRegistry.Has(e))throw new s(e);return r.TypeRegistry.Set(e,t),(t={})=>(0,i.Unsafe)({...t,[o.Kind]:e})},e.Format=function(e,t){if(r.FormatRegistry.Has(e))throw new u(e);return r.FormatRegistry.Set(e,t),e}}(c||(t.TypeSystem=c={}))},30731:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Any=void 0;const r=n(65834);t.Any=function(e={}){return{...e,[r.Kind]:"Any"}}},81977:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(30731),t)},55268:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Array=void 0;const r=n(59727),i=n(65834);t.Array=function(e,t={}){return{...t,[i.Kind]:"Array",type:"array",items:(0,r.CloneType)(e)}}},42849:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(55268),t)},28643:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AsyncIterator=void 0;const r=n(65834),i=n(59727);t.AsyncIterator=function(e,t={}){return{...t,[r.Kind]:"AsyncIterator",type:"AsyncIterator",items:(0,i.CloneType)(e)}}},86345:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(28643),t)},64195:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Awaited=void 0;const r=n(49823),i=n(96484),o=n(59727),a=n(48733);function s(e){return e.map((e=>u(e)))}function u(e){return(0,a.IsIntersect)(e)?function(e){return(0,r.Intersect)(s(e))}(e.allOf):(0,a.IsUnion)(e)?function(e){return(0,i.Union)(s(e))}(e.anyOf):(0,a.IsPromise)(e)?function(e){return u(e)}(e.item):e}t.Awaited=function(e,t={}){return(0,o.CloneType)(u(e),t)}},38209:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(64195),t)},4355:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BigInt=void 0;const r=n(65834);t.BigInt=function(e={}){return{...e,[r.Kind]:"BigInt",type:"bigint"}}},47932:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(4355),t)},94229:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Boolean=void 0;const r=n(65834);t.Boolean=function(e={}){return{...e,[r.Kind]:"Boolean",type:"boolean"}}},35376:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(94229),t)},9647:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(59727),t),i(n(67097),t)},59727:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CloneType=t.CloneRest=void 0;const r=n(67097);function i(e,t={}){return{...(0,r.Clone)(e),...t}}t.CloneRest=function(e){return e.map((e=>i(e)))},t.CloneType=i},67097:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Clone=void 0;const r=n(54132);function i(e){return r.IsArray(e)?function(e){return e.map((e=>i(e)))}(e):r.IsDate(e)?function(e){return new Date(e.getTime())}(e):r.IsUint8Array(e)?function(e){return new Uint8Array(e)}(e):r.IsRegExp(e)?function(e){return new RegExp(e.source,e.flags)}(e):r.IsObject(e)?function(e){return{...Object.getOwnPropertyNames(e).reduce(((t,n)=>({...t,[n]:i(e[n])})),{}),...Object.getOwnPropertySymbols(e).reduce(((t,n)=>({...t,[n]:i(e[n])})),{})}}(e):e}t.Clone=function(e){return i(e)}},40118:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Composite=void 0;const r=n(49823),i=n(42387),o=n(19131),a=n(17152),s=n(87900),u=n(48733);function c(e,t){return e.reduce(((e,n)=>function(e){return e.filter((e=>!(0,u.IsNever)(e)))}([...e,...(0,i.IndexFromPropertyKeys)(n,[t])])),[])}t.Composite=function(e,t={}){const n=function(e){return e.reduce(((e,t)=>(0,s.SetDistinct)([...e,...(0,o.KeyOfPropertyKeys)(t)])),[])}(e),i=function(e,t){return t.reduce(((t,n)=>({...t,[n]:(0,r.IntersectEvaluated)(c(e,n))})),{})}(e,n);return(0,a.Object)(i,t)}},53422:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(40118),t)},53442:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Const=void 0;const r=n(81977),i=n(47932),o=n(97137),a=n(13992),s=n(45348),u=n(49246),c=n(17152),l=n(60919),f=n(5986),d=n(66958),p=n(35222),h=n(12914),g=n(48375),m=n(9647),y=n(54132);function v(e,t){return!0===t?e:(0,d.Readonly)(e)}function b(e,t){return(0,y.IsAsyncIterator)(e)||(0,y.IsIterator)(e)?v((0,r.Any)(),t):(0,y.IsArray)(e)?(0,d.Readonly)((0,f.Tuple)(e.map((e=>b(e,!1))))):(0,y.IsUint8Array)(e)?(0,h.Uint8Array)():(0,y.IsDate)(e)?(0,o.Date)():(0,y.IsObject)(e)?v((0,c.Object)(function(e){return globalThis.Object.getOwnPropertyNames(e).reduce(((t,n)=>({...t,[n]:(0,d.Readonly)(b(e[n],!1))})),{})}(e)),t):(0,y.IsFunction)(e)?v((0,a.Function)([],(0,g.Unknown)()),t):(0,y.IsUndefined)(e)?(0,p.Undefined)():(0,y.IsNull)(e)?(0,u.Null)():(0,y.IsSymbol)(e)?(0,l.Symbol)():(0,y.IsBigInt)(e)?(0,i.BigInt)():(0,y.IsNumber)(e)||(0,y.IsBoolean)(e)||(0,y.IsString)(e)?(0,s.Literal)(e):(0,c.Object)({})}t.Const=function(e,t={}){return(0,m.CloneType)(b(e,!0),t)}},48614:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(53442),t)},67278:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ConstructorParameters=void 0;const r=n(5986),i=n(59727);t.ConstructorParameters=function(e,t={}){return(0,r.Tuple)((0,i.CloneRest)(e.parameters),{...t})}},51433:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(67278),t)},46727:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Constructor=void 0;const r=n(59727),i=n(65834);t.Constructor=function(e,t,n){return{...n,[i.Kind]:"Constructor",type:"Constructor",parameters:(0,r.CloneRest)(e),returns:(0,r.CloneType)(t)}}},47959:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(46727),t)},74905:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Date=void 0;const r=n(65834);t.Date=function(e={}){return{...e,[r.Kind]:"Date",type:"Date"}}},97137:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(74905),t)},70225:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Deref=void 0;const r=n(59727),i=n(20726),o=n(54132),a=n(48733);function s(e,t){return e.map((e=>l(e,t)))}function u(e,t){return e.properties=function(e,t){return globalThis.Object.getOwnPropertyNames(e).reduce(((n,r)=>({...n,[r]:l(e[r],t)})),{})}(e.properties,t),e}function c(e,t){return(0,a.IsConstructor)(e)||(0,a.IsFunction)(e)?function(e,t){return e.parameters=s(e.parameters,t),e.returns=l(e.returns,t),e}(e,t):(0,a.IsIntersect)(e)?function(e,t){return e.allOf=s(e.allOf,t),e}(e,t):(0,a.IsUnion)(e)?function(e,t){return e.anyOf=s(e.anyOf,t),e}(e,t):(0,a.IsTuple)(e)?function(e,t){return(0,o.IsUndefined)(e.items)||(e.items=s(e.items,t)),e}(e,t):(0,a.IsArray)(e)?function(e,t){return e.items=l(e.items,t),e}(e,t):(0,a.IsObject)(e)?u(e,t):(0,a.IsPromise)(e)?function(e,t){return e.item=l(e.item,t),e}(e,t):(0,a.IsAsyncIterator)(e)||(0,a.IsIterator)(e)?function(e,t){return e.items=l(e.items,t),e}(e,t):(0,a.IsRef)(e)?function(e,t){const n=t.find((t=>t.$id===e.$ref));if(void 0===n)throw Error(`Unable to dereference schema with $id ${e.$ref}`);return l((0,i.Discard)(n,["$id"]),t)}(e,t):e}function l(e,t){return c((0,r.CloneType)(e),(0,r.CloneRest)(t))}t.Deref=l},44094:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(70225),t)},99091:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Discard=void 0,t.Discard=function(e,t){return t.reduce(((e,t)=>function(e,t){const{[t]:n,...r}=e;return r}(e,t)),e)}},20726:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(99091),t)},20558:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Enum=void 0;const r=n(45348),i=n(65834),o=n(96484),a=n(54132);t.Enum=function(e,t={}){if((0,a.IsUndefined)(e))throw new Error("Enum undefined or empty");const n=globalThis.Object.getOwnPropertyNames(e).filter((e=>isNaN(e))).map((t=>e[t])),s=[...new Set(n)].map((e=>(0,r.Literal)(e)));return(0,o.Union)(s,{...t,[i.Hint]:"Enum"})}},35287:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(20558),t)},16906:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TypeBoxError=void 0;class n extends Error{constructor(e){super(e)}}t.TypeBoxError=n},759:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(16906),t)},70255:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ExcludeFromMappedResult=void 0;const r=n(47636),i=n(31737);function o(e,t){return n=e.properties,r=t,globalThis.Object.getOwnPropertyNames(n).reduce(((e,t)=>({...e,[t]:(0,i.Exclude)(n[t],r)})),{});var n,r}t.ExcludeFromMappedResult=function(e,t){const n=o(e,t);return(0,r.MappedResult)(n)}},1015:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ExcludeFromTemplateLiteral=void 0;const r=n(31737),i=n(90634);t.ExcludeFromTemplateLiteral=function(e,t){return(0,r.Exclude)((0,i.TemplateLiteralToUnion)(e),t)}},31737:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Exclude=void 0;const r=n(96484),i=n(73621),o=n(89866),a=n(59727),s=n(70255),u=n(1015),c=n(48733);t.Exclude=function(e,t,n={}){return(0,c.IsTemplateLiteral)(e)?(0,a.CloneType)((0,u.ExcludeFromTemplateLiteral)(e,t),n):(0,c.IsMappedResult)(e)?(0,a.CloneType)((0,s.ExcludeFromMappedResult)(e,t),n):(0,a.CloneType)((0,c.IsUnion)(e)?function(e,t){const n=e.filter((e=>(0,o.ExtendsCheck)(e,t)===o.ExtendsResult.False));return 1===n.length?n[0]:(0,r.Union)(n)}(e.anyOf,t):(0,o.ExtendsCheck)(e,t)!==o.ExtendsResult.False?(0,i.Never)():e,n)}},96709:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(70255),t),i(n(1015),t),i(n(31737),t)},63697:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ExtendsCheck=t.ExtendsResult=t.ExtendsResolverError=void 0;const r=n(81977),i=n(13992),o=n(74459),a=n(95784),s=n(48375),u=n(90634),c=n(49940),l=n(65834),f=n(759),d=n(76553);class p extends f.TypeBoxError{}var h;function g(e){return e===h.False?e:h.True}function m(e){throw new p(e)}function y(e){return d.TypeGuard.IsNever(e)||d.TypeGuard.IsIntersect(e)||d.TypeGuard.IsUnion(e)||d.TypeGuard.IsUnknown(e)||d.TypeGuard.IsAny(e)}function v(e,t){return d.TypeGuard.IsNever(t)?x(e,t):d.TypeGuard.IsIntersect(t)?T(e,t):d.TypeGuard.IsUnion(t)?z(e,t):d.TypeGuard.IsUnknown(t)?H(e,t):d.TypeGuard.IsAny(t)?b(e,t):m("StructuralRight")}function b(e,t){return h.True}function _(e,t){return d.TypeGuard.IsLiteralBoolean(e)||d.TypeGuard.IsBoolean(e)?h.True:h.False}function w(e,t){return d.TypeGuard.IsLiteral(e)&&d.ValueGuard.IsNumber(e.const)||d.TypeGuard.IsNumber(e)||d.TypeGuard.IsInteger(e)?h.True:h.False}function T(e,t){return t.allOf.every((t=>q(e,t)===h.True))?h.True:h.False}function x(e,t){return h.False}function S(e){let[t,n]=[e,0];for(;d.TypeGuard.IsNot(t);)t=t.not,n+=1;return n%2==0?t:(0,s.Unknown)()}function k(e,t){return d.TypeGuard.IsLiteralNumber(e)||d.TypeGuard.IsNumber(e)||d.TypeGuard.IsInteger(e)?h.True:h.False}function E(e,t){return Object.getOwnPropertyNames(e.properties).length===t}function O(e){return I(e)}function C(e){return E(e,0)||E(e,1)&&"description"in e.properties&&d.TypeGuard.IsUnion(e.properties.description)&&2===e.properties.description.anyOf.length&&(d.TypeGuard.IsString(e.properties.description.anyOf[0])&&d.TypeGuard.IsUndefined(e.properties.description.anyOf[1])||d.TypeGuard.IsString(e.properties.description.anyOf[1])&&d.TypeGuard.IsUndefined(e.properties.description.anyOf[0]))}function L(e){return E(e,0)}function A(e){return E(e,0)}function I(e){const t=(0,o.Number)();return E(e,0)||E(e,1)&&"length"in e.properties&&g(q(e.properties.length,t))===h.True}function P(e,t){return q(e,t)===h.False||d.TypeGuard.IsOptional(e)&&!d.TypeGuard.IsOptional(t)?h.False:h.True}function M(e,t){return d.TypeGuard.IsUnknown(e)?h.False:d.TypeGuard.IsAny(e)?h.Union:d.TypeGuard.IsNever(e)||d.TypeGuard.IsLiteralString(e)&&O(t)||d.TypeGuard.IsLiteralNumber(e)&&L(t)||d.TypeGuard.IsLiteralBoolean(e)&&A(t)||d.TypeGuard.IsSymbol(e)&&C(t)||d.TypeGuard.IsBigInt(e)&&E(t,0)||d.TypeGuard.IsString(e)&&O(t)||d.TypeGuard.IsSymbol(e)&&C(t)||d.TypeGuard.IsNumber(e)&&L(t)||d.TypeGuard.IsInteger(e)&&L(t)||d.TypeGuard.IsBoolean(e)&&A(t)||d.TypeGuard.IsUint8Array(e)&&function(e){return I(e)}(t)||d.TypeGuard.IsDate(e)&&function(e){return E(e,0)}(t)||d.TypeGuard.IsConstructor(e)&&function(e){return E(e,0)}(t)||d.TypeGuard.IsFunction(e)&&function(e){const t=(0,o.Number)();return E(e,0)||E(e,1)&&"length"in e.properties&&g(q(e.properties.length,t))===h.True}(t)?h.True:d.TypeGuard.IsRecord(e)&&d.TypeGuard.IsString(j(e))?"Record"===t[l.Hint]?h.True:h.False:d.TypeGuard.IsRecord(e)&&d.TypeGuard.IsNumber(j(e))&&E(t,0)?h.True:h.False}function R(e,t){return y(t)?v(e,t):d.TypeGuard.IsObject(t)&&function(e){const t=(0,i.Function)([(0,r.Any)()],(0,r.Any)());return E(e,0)||E(e,1)&&"then"in e.properties&&g(q(e.properties.then,t))===h.True}(t)?h.True:d.TypeGuard.IsPromise(t)?g(q(e.item,t.item)):h.False}function j(e){return c.PatternNumberExact in e.patternProperties?(0,o.Number)():c.PatternStringExact in e.patternProperties?(0,a.String)():m("Unknown record key pattern")}function D(e){return c.PatternNumberExact in e.patternProperties?e.patternProperties[c.PatternNumberExact]:c.PatternStringExact in e.patternProperties?e.patternProperties[c.PatternStringExact]:m("Unable to get record value schema")}function N(e,t){const[n,r]=[j(t),D(t)];return d.TypeGuard.IsLiteralString(e)&&d.TypeGuard.IsNumber(n)&&g(q(e,r))===h.True?h.True:d.TypeGuard.IsUint8Array(e)&&d.TypeGuard.IsNumber(n)||d.TypeGuard.IsString(e)&&d.TypeGuard.IsNumber(n)||d.TypeGuard.IsArray(e)&&d.TypeGuard.IsNumber(n)?q(e,r):d.TypeGuard.IsObject(e)?(()=>{for(const t of Object.getOwnPropertyNames(e.properties))if(P(r,e.properties[t])===h.False)return h.False;return h.True})():h.False}function B(e,t){return d.TypeGuard.IsLiteral(e)&&d.ValueGuard.IsString(e.const)||d.TypeGuard.IsString(e)?h.True:h.False}function U(e,t){return y(t)?v(e,t):d.TypeGuard.IsObject(t)&&I(t)||d.TypeGuard.IsArray(t)&&function(e,t){return d.TypeGuard.IsArray(t)&&void 0!==e.items&&e.items.every((e=>q(e,t.items)===h.True))}(e,t)?h.True:d.TypeGuard.IsTuple(t)?d.ValueGuard.IsUndefined(e.items)&&!d.ValueGuard.IsUndefined(t.items)||!d.ValueGuard.IsUndefined(e.items)&&d.ValueGuard.IsUndefined(t.items)?h.False:d.ValueGuard.IsUndefined(e.items)&&!d.ValueGuard.IsUndefined(t.items)||e.items.every(((e,n)=>q(e,t.items[n])===h.True))?h.True:h.False:h.False}function F(e,t){return y(t)?v(e,t):d.TypeGuard.IsObject(t)?M(e,t):d.TypeGuard.IsRecord(t)?N(e,t):d.TypeGuard.IsVoid(t)?function(e,t){return d.TypeGuard.IsUndefined(e)||d.TypeGuard.IsUndefined(e)?h.True:h.False}(e):d.TypeGuard.IsUndefined(t)?h.True:h.False}function z(e,t){return t.anyOf.some((t=>q(e,t)===h.True))?h.True:h.False}function H(e,t){return h.True}function Z(e,t){return d.TypeGuard.IsNever(t)?x():d.TypeGuard.IsIntersect(t)?T(e,t):d.TypeGuard.IsUnion(t)?z(e,t):d.TypeGuard.IsAny(t)?b():d.TypeGuard.IsString(t)?B(e):d.TypeGuard.IsNumber(t)?k(e):d.TypeGuard.IsInteger(t)?w(e):d.TypeGuard.IsBoolean(t)?_(e):d.TypeGuard.IsArray(t)?function(e,t){return d.TypeGuard.IsUnknown(e)?h.False:d.TypeGuard.IsAny(e)?h.Union:d.TypeGuard.IsNever(e)?h.True:h.False}(e):d.TypeGuard.IsTuple(t)?function(e,t){return d.TypeGuard.IsNever(e)?h.True:d.TypeGuard.IsUnknown(e)?h.False:d.TypeGuard.IsAny(e)?h.Union:h.False}(e):d.TypeGuard.IsObject(t)?M(e,t):d.TypeGuard.IsUnknown(t)?h.True:h.False}function q(e,t){return d.TypeGuard.IsTemplateLiteral(e)||d.TypeGuard.IsTemplateLiteral(t)?function(e,t){return d.TypeGuard.IsTemplateLiteral(e)?q((0,u.TemplateLiteralToUnion)(e),t):d.TypeGuard.IsTemplateLiteral(t)?q(e,(0,u.TemplateLiteralToUnion)(t)):m("Invalid fallthrough for TemplateLiteral")}(e,t):d.TypeGuard.IsRegExp(e)||d.TypeGuard.IsRegExp(t)?function(e,t){return q(d.TypeGuard.IsRegExp(e)?(0,a.String)():e,d.TypeGuard.IsRegExp(t)?(0,a.String)():t)}(e,t):d.TypeGuard.IsNot(e)||d.TypeGuard.IsNot(t)?function(e,t){return d.TypeGuard.IsNot(e)?q(S(e),t):d.TypeGuard.IsNot(t)?q(e,S(t)):m("Invalid fallthrough for Not")}(e,t):d.TypeGuard.IsAny(e)?function(e,t){return d.TypeGuard.IsIntersect(t)?T(e,t):d.TypeGuard.IsUnion(t)&&t.anyOf.some((e=>d.TypeGuard.IsAny(e)||d.TypeGuard.IsUnknown(e)))?h.True:d.TypeGuard.IsUnion(t)?h.Union:d.TypeGuard.IsUnknown(t)||d.TypeGuard.IsAny(t)?h.True:h.Union}(e,t):d.TypeGuard.IsArray(e)?function(e,t){return d.TypeGuard.IsObject(t)&&I(t)?h.True:y(t)?v(e,t):d.TypeGuard.IsArray(t)?g(q(e.items,t.items)):h.False}(e,t):d.TypeGuard.IsBigInt(e)?function(e,t){return y(t)?v(e,t):d.TypeGuard.IsObject(t)?M(e,t):d.TypeGuard.IsRecord(t)?N(e,t):d.TypeGuard.IsBigInt(t)?h.True:h.False}(e,t):d.TypeGuard.IsBoolean(e)?function(e,t){return y(t)?v(e,t):d.TypeGuard.IsObject(t)?M(e,t):d.TypeGuard.IsRecord(t)?N(e,t):d.TypeGuard.IsBoolean(t)?h.True:h.False}(e,t):d.TypeGuard.IsAsyncIterator(e)?function(e,t){return y(t)?v(e,t):d.TypeGuard.IsAsyncIterator(t)?g(q(e.items,t.items)):h.False}(e,t):d.TypeGuard.IsConstructor(e)?function(e,t){return y(t)?v(e,t):d.TypeGuard.IsObject(t)?M(e,t):d.TypeGuard.IsConstructor(t)?e.parameters.length>t.parameters.length?h.False:e.parameters.every(((e,n)=>g(q(t.parameters[n],e))===h.True))?g(q(e.returns,t.returns)):h.False:h.False}(e,t):d.TypeGuard.IsDate(e)?function(e,t){return y(t)?v(e,t):d.TypeGuard.IsObject(t)?M(e,t):d.TypeGuard.IsRecord(t)?N(e,t):d.TypeGuard.IsDate(t)?h.True:h.False}(e,t):d.TypeGuard.IsFunction(e)?function(e,t){return y(t)?v(e,t):d.TypeGuard.IsObject(t)?M(e,t):d.TypeGuard.IsFunction(t)?e.parameters.length>t.parameters.length?h.False:e.parameters.every(((e,n)=>g(q(t.parameters[n],e))===h.True))?g(q(e.returns,t.returns)):h.False:h.False}(e,t):d.TypeGuard.IsInteger(e)?function(e,t){return d.TypeGuard.IsInteger(t)||d.TypeGuard.IsNumber(t)?h.True:y(t)?v(e,t):d.TypeGuard.IsObject(t)?M(e,t):d.TypeGuard.IsRecord(t)?N(e,t):h.False}(e,t):d.TypeGuard.IsIntersect(e)?function(e,t){return e.allOf.some((e=>q(e,t)===h.True))?h.True:h.False}(e,t):d.TypeGuard.IsIterator(e)?function(e,t){return y(t)?v(e,t):d.TypeGuard.IsIterator(t)?g(q(e.items,t.items)):h.False}(e,t):d.TypeGuard.IsLiteral(e)?function(e,t){return d.TypeGuard.IsLiteral(t)&&t.const===e.const?h.True:y(t)?v(e,t):d.TypeGuard.IsObject(t)?M(e,t):d.TypeGuard.IsRecord(t)?N(e,t):d.TypeGuard.IsString(t)?B(e):d.TypeGuard.IsNumber(t)?k(e):d.TypeGuard.IsInteger(t)?w(e):d.TypeGuard.IsBoolean(t)?_(e):h.False}(e,t):d.TypeGuard.IsNever(e)?h.True:d.TypeGuard.IsNull(e)?function(e,t){return y(t)?v(e,t):d.TypeGuard.IsObject(t)?M(e,t):d.TypeGuard.IsRecord(t)?N(e,t):d.TypeGuard.IsNull(t)?h.True:h.False}(e,t):d.TypeGuard.IsNumber(e)?function(e,t){return y(t)?v(e,t):d.TypeGuard.IsObject(t)?M(e,t):d.TypeGuard.IsRecord(t)?N(e,t):d.TypeGuard.IsInteger(t)||d.TypeGuard.IsNumber(t)?h.True:h.False}(e,t):d.TypeGuard.IsObject(e)?function(e,t){return y(t)?v(e,t):d.TypeGuard.IsRecord(t)?N(e,t):d.TypeGuard.IsObject(t)?(()=>{for(const n of Object.getOwnPropertyNames(t.properties)){if(!(n in e.properties)&&!d.TypeGuard.IsOptional(t.properties[n]))return h.False;if(d.TypeGuard.IsOptional(t.properties[n]))return h.True;if(P(e.properties[n],t.properties[n])===h.False)return h.False}return h.True})():h.False}(e,t):d.TypeGuard.IsRecord(e)?function(e,t){return y(t)?v(e,t):d.TypeGuard.IsObject(t)?M(e,t):d.TypeGuard.IsRecord(t)?q(D(e),D(t)):h.False}(e,t):d.TypeGuard.IsString(e)?function(e,t){return y(t)?v(e,t):d.TypeGuard.IsObject(t)?M(e,t):d.TypeGuard.IsRecord(t)?N(e,t):d.TypeGuard.IsString(t)?h.True:h.False}(e,t):d.TypeGuard.IsSymbol(e)?function(e,t){return y(t)?v(e,t):d.TypeGuard.IsObject(t)?M(e,t):d.TypeGuard.IsRecord(t)?N(e,t):d.TypeGuard.IsSymbol(t)?h.True:h.False}(e,t):d.TypeGuard.IsTuple(e)?U(e,t):d.TypeGuard.IsPromise(e)?R(e,t):d.TypeGuard.IsUint8Array(e)?function(e,t){return y(t)?v(e,t):d.TypeGuard.IsObject(t)?M(e,t):d.TypeGuard.IsRecord(t)?N(e,t):d.TypeGuard.IsUint8Array(t)?h.True:h.False}(e,t):d.TypeGuard.IsUndefined(e)?F(e,t):d.TypeGuard.IsUnion(e)?function(e,t){return e.anyOf.every((e=>q(e,t)===h.True))?h.True:h.False}(e,t):d.TypeGuard.IsUnknown(e)?Z(e,t):d.TypeGuard.IsVoid(e)?function(e,t){return d.TypeGuard.IsIntersect(t)?T(e,t):d.TypeGuard.IsUnion(t)?z(e,t):d.TypeGuard.IsUnknown(t)?H():d.TypeGuard.IsAny(t)?b():d.TypeGuard.IsObject(t)?M(e,t):d.TypeGuard.IsVoid(t)?h.True:h.False}(e,t):m(`Unknown left type operand '${e[l.Kind]}'`)}t.ExtendsResolverError=p,function(e){e[e.Union=0]="Union",e[e.True=1]="True",e[e.False=2]="False"}(h||(t.ExtendsResult=h={})),t.ExtendsCheck=function(e,t){return q(e,t)}},89910:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ExtendsFromMappedKey=void 0;const r=n(47636),i=n(45348),o=n(76123);function a(e,t,n,r,a){return{[e]:(0,o.Extends)((0,i.Literal)(e),t,n,r,a)}}function s(e,t,n,r,i){return function(e,t,n,r,i){return e.reduce(((e,o)=>({...e,...a(o,t,n,r,i)})),{})}(e.keys,t,n,r,i)}t.ExtendsFromMappedKey=function(e,t,n,i,o){const a=s(e,t,n,i,o);return(0,r.MappedResult)(a)}},38432:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ExtendsFromMappedResult=void 0;const r=n(47636),i=n(76123);function o(e,t,n,r,o){return function(e,t,n,r,o){return globalThis.Object.getOwnPropertyNames(e).reduce(((a,s)=>({...a,[s]:(0,i.Extends)(e[s],t,n,r,o)})),{})}(e.properties,t,n,r,o)}t.ExtendsFromMappedResult=function(e,t,n,i,a){const s=o(e,t,n,i,a);return(0,r.MappedResult)(s)}},74161:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ExtendsUndefinedCheck=void 0;const r=n(65834);function i(e){return"Intersect"===e[r.Kind]?function(e){return e.allOf.every((e=>i(e)))}(e):"Union"===e[r.Kind]?function(e){return e.anyOf.some((e=>i(e)))}(e):"Not"===e[r.Kind]?function(e){return!i(e.not)}(e):"Undefined"===e[r.Kind]}t.ExtendsUndefinedCheck=i},76123:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Extends=void 0;const r=n(96484),i=n(63697),o=n(59727),a=n(89910),s=n(38432),u=n(48733);t.Extends=function(e,t,n,c,l={}){return(0,u.IsMappedResult)(e)?(0,s.ExtendsFromMappedResult)(e,t,n,c,l):(0,u.IsMappedKey)(e)?(0,o.CloneType)((0,a.ExtendsFromMappedKey)(e,t,n,c,l)):(0,o.CloneType)(function(e,t,n,o){const a=(0,i.ExtendsCheck)(e,t);return a===i.ExtendsResult.Union?(0,r.Union)([n,o]):a===i.ExtendsResult.True?n:o}(e,t,n,c),l)}},89866:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(63697),t),i(n(89910),t),i(n(38432),t),i(n(74161),t),i(n(76123),t)},31575:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ExtractFromMappedResult=void 0;const r=n(47636),i=n(16158);function o(e,t){return function(e,t){return globalThis.Object.getOwnPropertyNames(e).reduce(((n,r)=>({...n,[r]:(0,i.Extract)(e[r],t)})),{})}(e.properties,t)}t.ExtractFromMappedResult=function(e,t){const n=o(e,t);return(0,r.MappedResult)(n)}},97507:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ExtractFromTemplateLiteral=void 0;const r=n(16158),i=n(90634);t.ExtractFromTemplateLiteral=function(e,t){return(0,r.Extract)((0,i.TemplateLiteralToUnion)(e),t)}},16158:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Extract=void 0;const r=n(96484),i=n(73621),o=n(89866),a=n(59727),s=n(31575),u=n(97507),c=n(48733);t.Extract=function(e,t,n={}){return(0,c.IsTemplateLiteral)(e)?(0,a.CloneType)((0,u.ExtractFromTemplateLiteral)(e,t),n):(0,c.IsMappedResult)(e)?(0,a.CloneType)((0,s.ExtractFromMappedResult)(e,t),n):(0,a.CloneType)((0,c.IsUnion)(e)?function(e,t){const n=e.filter((e=>(0,o.ExtendsCheck)(e,t)!==o.ExtendsResult.False));return 1===n.length?n[0]:(0,r.Union)(n)}(e.anyOf,t):(0,o.ExtendsCheck)(e,t)!==o.ExtendsResult.False?e:(0,i.Never)(),n)}},71021:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(31575),t),i(n(97507),t),i(n(16158),t)},29920:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Function=void 0;const r=n(59727),i=n(65834);t.Function=function(e,t,n){return{...n,[i.Kind]:"Function",type:"Function",parameters:(0,r.CloneRest)(e),returns:(0,r.CloneType)(t)}}},13992:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(29920),t)},76553:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ValueGuard=t.TypeGuard=void 0,t.TypeGuard=n(48733),t.ValueGuard=n(54132)},48733:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.IsSchema=t.IsKind=t.IsVoid=t.IsUnsafe=t.IsUnknown=t.IsUint8Array=t.IsUnion=t.IsUnionLiteral=t.IsUndefined=t.IsTuple=t.IsTransform=t.IsThis=t.IsTemplateLiteral=t.IsSymbol=t.IsString=t.IsRegExp=t.IsRef=t.IsRecursive=t.IsRecord=t.IsPromise=t.IsObject=t.IsNumber=t.IsNull=t.IsNot=t.IsNever=t.IsMappedResult=t.IsMappedKey=t.IsLiteralValue=t.IsLiteral=t.IsLiteralBoolean=t.IsLiteralNumber=t.IsLiteralString=t.IsKindOf=t.IsIterator=t.IsIntersect=t.IsProperties=t.IsInteger=t.IsFunction=t.IsDate=t.IsConstructor=t.IsBoolean=t.IsBigInt=t.IsAsyncIterator=t.IsArray=t.IsAny=t.IsOptional=t.IsReadonly=t.TypeGuardUnknownTypeError=void 0;const r=n(54132),i=n(65834),o=n(759);class a extends o.TypeBoxError{}t.TypeGuardUnknownTypeError=a;const s=["Any","Array","AsyncIterator","BigInt","Boolean","Constructor","Date","Enum","Function","Integer","Intersect","Iterator","Literal","MappedKey","MappedResult","Not","Null","Number","Object","Promise","Record","Ref","RegExp","String","Symbol","TemplateLiteral","This","Tuple","Undefined","Union","Uint8Array","Unknown","Void"];function u(e){try{return new RegExp(e),!0}catch{return!1}}function c(e){if(!r.IsString(e))return!1;for(let t=0;t<e.length;t++){const n=e.charCodeAt(t);if(n>=7&&n<=13||27===n||127===n)return!1}return!0}function l(e){return p(e)||re(e)}function f(e){return r.IsUndefined(e)||r.IsBigInt(e)}function d(e){return r.IsUndefined(e)||r.IsNumber(e)}function p(e){return r.IsUndefined(e)||r.IsBoolean(e)}function h(e){return r.IsUndefined(e)||r.IsString(e)}function g(e){return r.IsUndefined(e)||re(e)}function m(e){return C(e,"Any")&&h(e.$id)}function y(e){return C(e,"Array")&&"array"===e.type&&h(e.$id)&&re(e.items)&&d(e.minItems)&&d(e.maxItems)&&p(e.uniqueItems)&&g(e.contains)&&d(e.minContains)&&d(e.maxContains)}function v(e){return C(e,"AsyncIterator")&&"AsyncIterator"===e.type&&h(e.$id)&&re(e.items)}function b(e){return C(e,"BigInt")&&"bigint"===e.type&&h(e.$id)&&f(e.exclusiveMaximum)&&f(e.exclusiveMinimum)&&f(e.maximum)&&f(e.minimum)&&f(e.multipleOf)}function _(e){return C(e,"Boolean")&&"boolean"===e.type&&h(e.$id)}function w(e){return C(e,"Constructor")&&"Constructor"===e.type&&h(e.$id)&&r.IsArray(e.parameters)&&e.parameters.every((e=>re(e)))&&re(e.returns)}function T(e){return C(e,"Date")&&"Date"===e.type&&h(e.$id)&&d(e.exclusiveMaximumTimestamp)&&d(e.exclusiveMinimumTimestamp)&&d(e.maximumTimestamp)&&d(e.minimumTimestamp)&&d(e.multipleOfTimestamp)}function x(e){return C(e,"Function")&&"Function"===e.type&&h(e.$id)&&r.IsArray(e.parameters)&&e.parameters.every((e=>re(e)))&&re(e.returns)}function S(e){return C(e,"Integer")&&"integer"===e.type&&h(e.$id)&&d(e.exclusiveMaximum)&&d(e.exclusiveMinimum)&&d(e.maximum)&&d(e.minimum)&&d(e.multipleOf)}function k(e){return r.IsObject(e)&&Object.entries(e).every((([e,t])=>c(e)&&re(t)))}function E(e){return C(e,"Intersect")&&(!r.IsString(e.type)||"object"===e.type)&&r.IsArray(e.allOf)&&e.allOf.every((e=>re(e)&&!$(e)))&&h(e.type)&&(p(e.unevaluatedProperties)||g(e.unevaluatedProperties))&&h(e.$id)}function O(e){return C(e,"Iterator")&&"Iterator"===e.type&&h(e.$id)&&re(e.items)}function C(e,t){return r.IsObject(e)&&i.Kind in e&&e[i.Kind]===t}function L(e){return I(e)&&r.IsString(e.const)}function A(e){return I(e)&&r.IsNumber(e.const)}function I(e){return C(e,"Literal")&&h(e.$id)&&P(e.const)}function P(e){return r.IsBoolean(e)||r.IsNumber(e)||r.IsString(e)}function M(e){return C(e,"MappedKey")&&r.IsArray(e.keys)&&e.keys.every((e=>r.IsNumber(e)||r.IsString(e)))}function R(e){return C(e,"MappedResult")&&k(e.properties)}function j(e){return C(e,"Never")&&r.IsObject(e.not)&&0===Object.getOwnPropertyNames(e.not).length}function D(e){return C(e,"Not")&&re(e.not)}function N(e){return C(e,"Null")&&"null"===e.type&&h(e.$id)}function B(e){return C(e,"Number")&&"number"===e.type&&h(e.$id)&&d(e.exclusiveMaximum)&&d(e.exclusiveMinimum)&&d(e.maximum)&&d(e.minimum)&&d(e.multipleOf)}function U(e){return C(e,"Object")&&"object"===e.type&&h(e.$id)&&k(e.properties)&&l(e.additionalProperties)&&d(e.minProperties)&&d(e.maxProperties)}function F(e){return C(e,"Promise")&&"Promise"===e.type&&h(e.$id)&&re(e.item)}function z(e){return C(e,"Record")&&"object"===e.type&&h(e.$id)&&l(e.additionalProperties)&&r.IsObject(e.patternProperties)&&(e=>{const t=Object.getOwnPropertyNames(e.patternProperties);return 1===t.length&&u(t[0])&&r.IsObject(e.patternProperties)&&re(e.patternProperties[t[0]])})(e)}function H(e){return C(e,"Ref")&&h(e.$id)&&r.IsString(e.$ref)}function Z(e){return C(e,"RegExp")&&h(e.$id)&&r.IsString(e.source)&&r.IsString(e.flags)&&d(e.maxLength)&&d(e.minLength)}function q(e){return C(e,"String")&&"string"===e.type&&h(e.$id)&&d(e.minLength)&&d(e.maxLength)&&function(e){return r.IsUndefined(e)||r.IsString(e)&&c(e)&&u(e)}(e.pattern)&&function(e){return r.IsUndefined(e)||r.IsString(e)&&c(e)}(e.format)}function V(e){return C(e,"Symbol")&&"symbol"===e.type&&h(e.$id)}function W(e){return C(e,"TemplateLiteral")&&"string"===e.type&&r.IsString(e.pattern)&&"^"===e.pattern[0]&&"$"===e.pattern[e.pattern.length-1]}function G(e){return C(e,"This")&&h(e.$id)&&r.IsString(e.$ref)}function $(e){return r.IsObject(e)&&i.TransformKind in e}function Y(e){return C(e,"Tuple")&&"array"===e.type&&h(e.$id)&&r.IsNumber(e.minItems)&&r.IsNumber(e.maxItems)&&e.minItems===e.maxItems&&(r.IsUndefined(e.items)&&r.IsUndefined(e.additionalItems)&&0===e.minItems||r.IsArray(e.items)&&e.items.every((e=>re(e))))}function K(e){return C(e,"Undefined")&&"undefined"===e.type&&h(e.$id)}function X(e){return C(e,"Union")&&h(e.$id)&&r.IsObject(e)&&r.IsArray(e.anyOf)&&e.anyOf.every((e=>re(e)))}function Q(e){return C(e,"Uint8Array")&&"Uint8Array"===e.type&&h(e.$id)&&d(e.minByteLength)&&d(e.maxByteLength)}function J(e){return C(e,"Unknown")&&h(e.$id)}function ee(e){return C(e,"Unsafe")}function te(e){return C(e,"Void")&&"void"===e.type&&h(e.$id)}function ne(e){return r.IsObject(e)&&i.Kind in e&&r.IsString(e[i.Kind])&&!s.includes(e[i.Kind])}function re(e){return r.IsObject(e)&&(m(e)||y(e)||_(e)||b(e)||v(e)||w(e)||T(e)||x(e)||S(e)||E(e)||O(e)||I(e)||M(e)||R(e)||j(e)||D(e)||N(e)||B(e)||U(e)||F(e)||z(e)||H(e)||Z(e)||q(e)||V(e)||W(e)||G(e)||Y(e)||K(e)||X(e)||Q(e)||J(e)||ee(e)||te(e)||ne(e))}t.IsReadonly=function(e){return r.IsObject(e)&&"Readonly"===e[i.ReadonlyKind]},t.IsOptional=function(e){return r.IsObject(e)&&"Optional"===e[i.OptionalKind]},t.IsAny=m,t.IsArray=y,t.IsAsyncIterator=v,t.IsBigInt=b,t.IsBoolean=_,t.IsConstructor=w,t.IsDate=T,t.IsFunction=x,t.IsInteger=S,t.IsProperties=k,t.IsIntersect=E,t.IsIterator=O,t.IsKindOf=C,t.IsLiteralString=L,t.IsLiteralNumber=A,t.IsLiteralBoolean=function(e){return I(e)&&r.IsBoolean(e.const)},t.IsLiteral=I,t.IsLiteralValue=P,t.IsMappedKey=M,t.IsMappedResult=R,t.IsNever=j,t.IsNot=D,t.IsNull=N,t.IsNumber=B,t.IsObject=U,t.IsPromise=F,t.IsRecord=z,t.IsRecursive=function(e){return r.IsObject(e)&&i.Hint in e&&"Recursive"===e[i.Hint]},t.IsRef=H,t.IsRegExp=Z,t.IsString=q,t.IsSymbol=V,t.IsTemplateLiteral=W,t.IsThis=G,t.IsTransform=$,t.IsTuple=Y,t.IsUndefined=K,t.IsUnionLiteral=function(e){return X(e)&&e.anyOf.every((e=>L(e)||A(e)))},t.IsUnion=X,t.IsUint8Array=Q,t.IsUnknown=J,t.IsUnsafe=ee,t.IsVoid=te,t.IsKind=ne,t.IsSchema=re},54132:function(e,t){"use strict";function n(e){return Array.isArray(e)}function r(e){return"object"==typeof e&&null!==e}function i(e){return e instanceof globalThis.Uint8Array}Object.defineProperty(t,"__esModule",{value:!0}),t.IsUndefined=t.IsUint8Array=t.IsSymbol=t.IsString=t.IsRegExp=t.IsObject=t.IsNumber=t.IsNull=t.IsIterator=t.IsFunction=t.IsDate=t.IsBoolean=t.IsBigInt=t.IsArray=t.IsAsyncIterator=void 0,t.IsAsyncIterator=function(e){return r(e)&&!n(e)&&!i(e)&&Symbol.asyncIterator in e},t.IsArray=n,t.IsBigInt=function(e){return"bigint"==typeof e},t.IsBoolean=function(e){return"boolean"==typeof e},t.IsDate=function(e){return e instanceof globalThis.Date},t.IsFunction=function(e){return"function"==typeof e},t.IsIterator=function(e){return r(e)&&!n(e)&&!i(e)&&Symbol.iterator in e},t.IsNull=function(e){return null===e},t.IsNumber=function(e){return"number"==typeof e},t.IsObject=r,t.IsRegExp=function(e){return e instanceof globalThis.RegExp},t.IsString=function(e){return"string"==typeof e},t.IsSymbol=function(e){return"symbol"==typeof e},t.IsUint8Array=i,t.IsUndefined=function(e){return void 0===e}},44896:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Increment=void 0,t.Increment=function(e){return(parseInt(e)+1).toString()}},50879:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(44896),t)},42387:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(33641),t),i(n(33805),t),i(n(78244),t),i(n(17817),t)},33641:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.IndexFromMappedKey=void 0;const r=n(17817),i=n(47636);function o(e,t,n){return{[t]:(0,r.Index)(e,[t],n)}}function a(e,t,n){return function(e,t,n){return t.reduce(((t,r)=>({...t,...o(e,r,n)})),{})}(e,t.keys,n)}t.IndexFromMappedKey=function(e,t,n){const r=a(e,t,n);return(0,i.MappedResult)(r)}},33805:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.IndexFromMappedResult=void 0;const r=n(47636),i=n(78244),o=n(42387);function a(e,t,n){return function(e,t,n){return globalThis.Object.getOwnPropertyNames(t).reduce(((r,a)=>({...r,[a]:(0,o.Index)(e,(0,i.IndexPropertyKeys)(t[a]),n)})),{})}(e,t.properties,n)}t.IndexFromMappedResult=function(e,t,n){const i=a(e,t,n);return(0,r.MappedResult)(i)}},78244:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.IndexPropertyKeys=void 0;const r=n(90634),i=n(48733);function o(e){return(0,r.TemplateLiteralGenerate)(e).map((e=>e.toString()))}function a(e){return e.reduce(((e,t)=>[...e,...u(t)]),[])}function s(e){return[e.toString()]}function u(e){return[...new Set((0,i.IsTemplateLiteral)(e)?o(e):(0,i.IsUnion)(e)?a(e.anyOf):(0,i.IsLiteral)(e)?s(e.const):(0,i.IsNumber)(e)||(0,i.IsInteger)(e)?["[number]"]:[])]}t.IndexPropertyKeys=u},17817:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Index=t.IndexFromPropertyKeys=t.IndexFromPropertyKey=void 0;const r=n(73621),i=n(49823),o=n(96484),a=n(59727),s=n(78244),u=n(33641),c=n(33805),l=n(48733);function f(e,t){return e.map((e=>h(e,t)))}function d(e,t){return(0,i.IntersectEvaluated)(function(e){return e.filter((e=>!(0,l.IsNever)(e)))}(f(e,t)))}function p(e,t){return(0,o.UnionEvaluated)(function(e){return e.some((e=>(0,l.IsNever)(e)))?[]:e}(f(e,t)))}function h(e,t){return(0,l.IsIntersect)(e)?d(e.allOf,t):(0,l.IsUnion)(e)?p(e.anyOf,t):(0,l.IsTuple)(e)?function(e,t){return t in e?e[t]:"[number]"===t?(0,o.UnionEvaluated)(e):(0,r.Never)()}(e.items??[],t):(0,l.IsArray)(e)?function(e,t){return"[number]"===t?e:(0,r.Never)()}(e.items,t):(0,l.IsObject)(e)?function(e,t){return t in e?e[t]:(0,r.Never)()}(e.properties,t):(0,r.Never)()}function g(e,t){return t.map((t=>h(e,t)))}function m(e,t){return(0,o.UnionEvaluated)(g(e,t))}t.IndexFromPropertyKey=h,t.IndexFromPropertyKeys=g,t.Index=function(e,t,n={}){return(0,l.IsMappedResult)(t)?(0,a.CloneType)((0,c.IndexFromMappedResult)(e,t,n)):(0,l.IsMappedKey)(t)?(0,a.CloneType)((0,u.IndexFromMappedKey)(e,t,n)):(0,l.IsSchema)(t)?(0,a.CloneType)(m(e,(0,s.IndexPropertyKeys)(t)),n):(0,a.CloneType)(m(e,t),n)}},33102:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(23566),t)},23566:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.InstanceType=void 0;const r=n(59727);t.InstanceType=function(e,t={}){return(0,r.CloneType)(e.returns,t)}},13517:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(48395),t)},48395:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Integer=void 0;const r=n(65834);t.Integer=function(e={}){return{...e,[r.Kind]:"Integer",type:"integer"}}},49823:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(15202),t),i(n(33106),t),i(n(32269),t)},63681:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.IntersectCreate=void 0;const r=n(65834),i=n(59727),o=n(48733);t.IntersectCreate=function(e,t){const n=e.every((e=>(0,o.IsObject)(e))),a=(0,o.IsSchema)(t.unevaluatedProperties)?{unevaluatedProperties:(0,i.CloneType)(t.unevaluatedProperties)}:{};return!1===t.unevaluatedProperties||(0,o.IsSchema)(t.unevaluatedProperties)||n?{...t,...a,[r.Kind]:"Intersect",type:"object",allOf:(0,i.CloneRest)(e)}:{...t,...a,[r.Kind]:"Intersect",allOf:(0,i.CloneRest)(e)}}},15202:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.IntersectEvaluated=void 0;const r=n(65834),i=n(59727),o=n(20726),a=n(73621),s=n(64203),u=n(63681),c=n(48733);function l(e){return e.map((e=>(0,c.IsOptional)(e)?function(e){return(0,o.Discard)(e,[r.OptionalKind])}(e):e))}function f(e,t){return function(e){return e.every((e=>(0,c.IsOptional)(e)))}(e)?(0,s.Optional)((0,u.IntersectCreate)(l(e),t)):(0,u.IntersectCreate)(l(e),t)}t.IntersectEvaluated=function(e,t={}){if(0===e.length)return(0,a.Never)(t);if(1===e.length)return(0,i.CloneType)(e[0],t);if(e.some((e=>(0,c.IsTransform)(e))))throw new Error("Cannot intersect transform types");return f(e,t)}},33106:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});n(65834)},32269:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Intersect=void 0;const r=n(59727),i=n(73621),o=n(63681),a=n(48733);t.Intersect=function(e,t={}){if(0===e.length)return(0,i.Never)(t);if(1===e.length)return(0,r.CloneType)(e[0],t);if(e.some((e=>(0,a.IsTransform)(e))))throw new Error("Cannot intersect transform types");return(0,o.IntersectCreate)(e,t)}},25124:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Capitalize=void 0;const r=n(61248);t.Capitalize=function(e,t={}){return(0,r.Intrinsic)(e,"Capitalize",t)}},36486:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(25124),t),i(n(24673),t),i(n(61248),t),i(n(94430),t),i(n(83728),t),i(n(43600),t)},24673:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.IntrinsicFromMappedKey=void 0;const r=n(47636),i=n(61248),o=n(45348);function a(e,t,n){return{[e]:(0,i.Intrinsic)((0,o.Literal)(e),t,n)}}function s(e,t,n){return function(e,t,n){return e.reduce(((e,r)=>({...e,...a(r,t,n)})),{})}(e.keys,t,n)}t.IntrinsicFromMappedKey=function(e,t,n){const i=s(e,t,n);return(0,r.MappedResult)(i)}},61248:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Intrinsic=void 0;const r=n(90634),i=n(24673),o=n(45348),a=n(96484),s=n(48733);function u(e,t){return"string"==typeof e?"Uncapitalize"===t?function(e){const[t,n]=[e.slice(0,1),e.slice(1)];return[t.toLowerCase(),n].join("")}(e):"Capitalize"===t?function(e){const[t,n]=[e.slice(0,1),e.slice(1)];return[t.toUpperCase(),n].join("")}(e):"Uppercase"===t?function(e){return e.toUpperCase()}(e):"Lowercase"===t?function(e){return e.toLowerCase()}(e):e:e.toString()}function c(e,t){return e.map((e=>l(e,t)))}function l(e,t,n={}){return(0,s.IsMappedKey)(e)?(0,i.IntrinsicFromMappedKey)(e,t,n):(0,s.IsTemplateLiteral)(e)?function(e,t,n){const i=(0,r.TemplateLiteralParseExact)(e.pattern);if(!(0,r.IsTemplateLiteralExpressionFinite)(i))return{...e,pattern:u(e.pattern,t)};const s=c([...(0,r.TemplateLiteralExpressionGenerate)(i)].map((e=>(0,o.Literal)(e))),t),l=(0,a.Union)(s);return(0,r.TemplateLiteral)([l],n)}(e,t,e):(0,s.IsUnion)(e)?(0,a.Union)(c(e.anyOf,t),n):(0,s.IsLiteral)(e)?(0,o.Literal)(u(e.const,t),n):e}t.Intrinsic=l},94430:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Lowercase=void 0;const r=n(61248);t.Lowercase=function(e,t={}){return(0,r.Intrinsic)(e,"Lowercase",t)}},83728:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Uncapitalize=void 0;const r=n(61248);t.Uncapitalize=function(e,t={}){return(0,r.Intrinsic)(e,"Uncapitalize",t)}},43600:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Uppercase=void 0;const r=n(61248);t.Uppercase=function(e,t={}){return(0,r.Intrinsic)(e,"Uppercase",t)}},19561:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(38885),t)},38885:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Iterator=void 0;const r=n(59727),i=n(65834);t.Iterator=function(e,t={}){return{...t,[i.Kind]:"Iterator",type:"Iterator",items:(0,r.CloneType)(e)}}},19131:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(82275),t),i(n(39197),t),i(n(86880),t)},82275:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.KeyOfFromMappedResult=void 0;const r=n(47636),i=n(86880);function o(e,t){return function(e,t){return globalThis.Object.getOwnPropertyNames(e).reduce(((n,r)=>({...n,[r]:(0,i.KeyOf)(e[r],t)})),{})}(e.properties,t)}t.KeyOfFromMappedResult=function(e,t){const n=o(e,t);return(0,r.MappedResult)(n)}},39197:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.KeyOfPattern=t.KeyOfPropertyKeys=void 0;const r=n(87900),i=n(48733);function o(e){return e.reduce(((e,t)=>[...e,a(t)]),[])}function a(e){return(0,i.IsIntersect)(e)?function(e){const t=o(e);return(0,r.SetUnionMany)(t)}(e.allOf):(0,i.IsUnion)(e)?function(e){const t=o(e);return(0,r.SetIntersectMany)(t)}(e.anyOf):(0,i.IsTuple)(e)?function(e){return e.map(((e,t)=>t.toString()))}(e.items??[]):(0,i.IsArray)(e)?(e.items,["[number]"]):(0,i.IsObject)(e)?function(e){return globalThis.Object.getOwnPropertyNames(e)}(e.properties):(0,i.IsRecord)(e)?(t=e.patternProperties,s?globalThis.Object.getOwnPropertyNames(t).map((e=>"^"===e[0]&&"$"===e[e.length-1]?e.slice(1,e.length-1):e)):[]):[];var t}t.KeyOfPropertyKeys=a;let s=!1;t.KeyOfPattern=function(e){s=!0;const t=a(e);return s=!1,`^(${t.map((e=>`(${e})`)).join("|")})$`}},86880:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.KeyOf=t.KeyOfPropertyKeysToRest=void 0;const r=n(45348),i=n(74459),o=n(39197),a=n(96484),s=n(59727),u=n(82275),c=n(48733);function l(e){return e.map((e=>"[number]"===e?(0,i.Number)():(0,r.Literal)(e)))}t.KeyOfPropertyKeysToRest=l,t.KeyOf=function(e,t={}){if((0,c.IsMappedResult)(e))return(0,u.KeyOfFromMappedResult)(e,t);{const n=l((0,o.KeyOfPropertyKeys)(e)),r=(0,a.UnionEvaluated)(n);return(0,s.CloneType)(r,t)}}},45348:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(33339),t)},33339:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Literal=void 0;const r=n(65834);t.Literal=function(e,t={}){return{...t,[r.Kind]:"Literal",const:e,type:typeof e}}},47636:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(41329),t),i(n(62987),t),i(n(81186),t)},41329:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MappedKey=void 0;const r=n(65834);t.MappedKey=function(e){return{[r.Kind]:"MappedKey",keys:e}}},62987:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MappedResult=void 0;const r=n(65834);t.MappedResult=function(e){return{[r.Kind]:"MappedResult",properties:e}}},81186:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Mapped=t.MappedFunctionReturnType=void 0;const r=n(65834),i=n(59727),o=n(20726),a=n(42849),s=n(86345),u=n(47959),c=n(13992),l=n(42387),f=n(49823),d=n(19561),p=n(45348),h=n(17152),g=n(64203),m=n(43814),y=n(66958),v=n(5986),b=n(96484),_=n(87900),w=n(62987),T=n(48733);function x(e,t){return e in t?E(e,t[e]):(0,w.MappedResult)(t)}function S(e,t){return(0,_.SetIncludes)(t,e)?function(e){return{[e]:(0,p.Literal)(e)}}(e):function(e){return e.reduce(((e,t)=>({...e,[t]:(0,p.Literal)(t)})),{})}(t)}function k(e,t){return t.map((t=>E(e,t)))}function E(e,t){return(0,T.IsOptional)(t)?(0,g.Optional)(E(e,(0,o.Discard)(t,[r.OptionalKind]))):(0,T.IsReadonly)(t)?(0,y.Readonly)(E(e,(0,o.Discard)(t,[r.ReadonlyKind]))):(0,T.IsMappedResult)(t)?x(e,t.properties):(0,T.IsMappedKey)(t)?function(e,t){return x(e,S(e,t))}(e,t.keys):(0,T.IsConstructor)(t)?(0,u.Constructor)(k(e,t.parameters),E(e,t.returns)):(0,T.IsFunction)(t)?(0,c.Function)(k(e,t.parameters),E(e,t.returns)):(0,T.IsAsyncIterator)(t)?(0,s.AsyncIterator)(E(e,t.items)):(0,T.IsIterator)(t)?(0,d.Iterator)(E(e,t.items)):(0,T.IsIntersect)(t)?(0,f.Intersect)(k(e,t.allOf)):(0,T.IsUnion)(t)?(0,b.Union)(k(e,t.anyOf)):(0,T.IsTuple)(t)?(0,v.Tuple)(k(e,t.items??[])):(0,T.IsObject)(t)?(0,h.Object)(function(e,t){return globalThis.Object.getOwnPropertyNames(t).reduce(((n,r)=>({...n,[r]:E(e,t[r])})),{})}(e,t.properties)):(0,T.IsArray)(t)?(0,a.Array)(E(e,t.items)):(0,T.IsPromise)(t)?(0,m.Promise)(E(e,t.item)):t}function O(e,t,n={}){return e.reduce(((e,n)=>({...e,[n]:E(n,t)})),{})}t.MappedFunctionReturnType=O,t.Mapped=function(e,t,n={}){const o=(0,T.IsSchema)(e)?(0,l.IndexPropertyKeys)(e):e,a=O(o,t({[r.Kind]:"MappedKey",keys:o}));return(0,i.CloneType)((0,h.Object)(a),n)}},73621:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(76428),t)},76428:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Never=void 0;const r=n(65834);t.Never=function(e={}){return{...e,[r.Kind]:"Never",not:{}}}},15105:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(58139),t)},58139:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Not=void 0;const r=n(59727),i=n(65834);t.Not=function(e,t){return{...t,[i.Kind]:"Not",not:(0,r.CloneType)(e)}}},49246:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(39958),t)},39958:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Null=void 0;const r=n(65834);t.Null=function(e={}){return{...e,[r.Kind]:"Null",type:"null"}}},74459:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(30505),t)},30505:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Number=void 0;const r=n(65834);t.Number=function(e={}){return{...e,[r.Kind]:"Number",type:"number"}}},17152:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(96434),t)},96434:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Object=void 0;const r=n(59727),i=n(65834),o=n(48733);t.Object=function(e,t={}){const n=globalThis.Object.getOwnPropertyNames(e),a=n.filter((t=>(0,o.IsOptional)(e[t]))),s=n.filter((e=>!a.includes(e))),u=(0,o.IsSchema)(t.additionalProperties)?{additionalProperties:(0,r.CloneType)(t.additionalProperties)}:{},c=n.reduce(((t,n)=>({...t,[n]:(0,r.CloneType)(e[n])})),{});return s.length>0?{...t,...u,[i.Kind]:"Object",type:"object",properties:c,required:s}:{...t,...u,[i.Kind]:"Object",type:"object",properties:c}}},64720:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(22889),t),i(n(69129),t),i(n(51067),t)},22889:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.OmitFromMappedKey=void 0;const r=n(47636),i=n(51067);function o(e,t,n){return{[t]:(0,i.Omit)(e,[t],n)}}function a(e,t,n){return function(e,t,n){return t.reduce(((t,r)=>({...t,...o(e,r,n)})),{})}(e,t.keys,n)}t.OmitFromMappedKey=function(e,t,n){const i=a(e,t,n);return(0,r.MappedResult)(i)}},69129:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.OmitFromMappedResult=void 0;const r=n(47636),i=n(51067);function o(e,t,n){return function(e,t,n){return globalThis.Object.getOwnPropertyNames(e).reduce(((r,o)=>({...r,[o]:(0,i.Omit)(e[o],t,n)})),{})}(e.properties,t,n)}t.OmitFromMappedResult=function(e,t,n){const i=o(e,t,n);return(0,r.MappedResult)(i)}},51067:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Omit=void 0;const r=n(49823),i=n(96484),o=n(17152),a=n(42387),s=n(20726),u=n(65834),c=n(59727),l=n(22889),f=n(69129),d=n(48733);function p(e,t){return(0,d.IsIntersect)(e)?(0,r.Intersect)(function(e,t){return e.map((e=>p(e,t)))}(e.allOf,t)):(0,d.IsUnion)(e)?(0,i.Union)(function(e,t){return e.map((e=>p(e,t)))}(e.anyOf,t)):(0,d.IsObject)(e)?(0,o.Object)(function(e,t){return t.reduce(((e,t)=>function(e,t){const{[t]:n,...r}=e;return r}(e,t)),e)}(e.properties,t)):(0,o.Object)({})}t.Omit=function(e,t,n={}){if((0,d.IsMappedKey)(t))return(0,l.OmitFromMappedKey)(e,t,n);if((0,d.IsMappedResult)(e))return(0,f.OmitFromMappedResult)(e,t,n);const r=(0,d.IsSchema)(t)?(0,a.IndexPropertyKeys)(t):t;return{...(0,s.Discard)(e,[u.TransformKind,"$id","required"]),...(0,c.CloneType)(p(e,r),n)}}},64203:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(79267),t),i(n(98846),t)},79267:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.OptionalFromMappedResult=void 0;const r=n(47636),i=n(98846);function o(e,t){return function(e,t){return globalThis.Object.getOwnPropertyNames(e).reduce(((n,r)=>({...n,[r]:(0,i.Optional)(e[r],t)})),{})}(e.properties,t)}t.OptionalFromMappedResult=function(e,t){const n=o(e,t);return(0,r.MappedResult)(n)}},98846:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Optional=void 0;const r=n(65834),i=n(59727),o=n(20726),a=n(79267),s=n(48733);function u(e,t){return!1===t?function(e){return(0,o.Discard)((0,i.CloneType)(e),[r.OptionalKind])}(e):function(e){return{...(0,i.CloneType)(e),[r.OptionalKind]:"Optional"}}(e)}t.Optional=function(e,t){const n=t??!0;return(0,s.IsMappedResult)(e)?(0,a.OptionalFromMappedResult)(e,n):u(e,n)}},13524:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(7718),t)},7718:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Parameters=void 0;const r=n(5986),i=n(59727);t.Parameters=function(e,t={}){return(0,r.Tuple)((0,i.CloneRest)(e.parameters),{...t})}},25835:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(24791),t),i(n(70144),t)},24791:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PartialFromMappedResult=void 0;const r=n(47636),i=n(70144);function o(e,t){return function(e,t){return globalThis.Object.getOwnPropertyNames(e).reduce(((n,r)=>({...n,[r]:(0,i.Partial)(e[r],t)})),{})}(e.properties,t)}t.PartialFromMappedResult=function(e,t){const n=o(e,t);return(0,r.MappedResult)(n)}},70144:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Partial=void 0;const r=n(64203),i=n(17152),o=n(49823),a=n(96484),s=n(20726),u=n(65834),c=n(59727),l=n(24791),f=n(48733);function d(e){return e.map((e=>p(e)))}function p(e){return(0,f.IsIntersect)(e)?(0,o.Intersect)(d(e.allOf)):(0,f.IsUnion)(e)?(0,a.Union)(d(e.anyOf)):(0,f.IsObject)(e)?(0,i.Object)(function(e){return globalThis.Object.getOwnPropertyNames(e).reduce(((t,n)=>({...t,[n]:(0,r.Optional)(e[n])})),{})}(e.properties)):(0,i.Object)({})}t.Partial=function(e,t={}){return(0,f.IsMappedResult)(e)?(0,l.PartialFromMappedResult)(e,t):{...(0,s.Discard)(e,[u.TransformKind,"$id","required"]),...(0,c.CloneType)(p(e),t)}}},49940:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(33642),t)},33642:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PatternStringExact=t.PatternNumberExact=t.PatternBooleanExact=t.PatternString=t.PatternNumber=t.PatternBoolean=void 0,t.PatternBoolean="(true|false)",t.PatternNumber="(0|[1-9][0-9]*)",t.PatternString="(.*)",t.PatternBooleanExact=`^${t.PatternBoolean}$`,t.PatternNumberExact=`^${t.PatternNumber}$`,t.PatternStringExact=`^${t.PatternString}$`},64285:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(7394),t),i(n(20152),t),i(n(15908),t)},7394:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PickFromMappedKey=void 0;const r=n(47636),i=n(15908);function o(e,t,n){return{[t]:(0,i.Pick)(e,[t],n)}}function a(e,t,n){return function(e,t,n){return t.reduce(((t,r)=>({...t,...o(e,r,n)})),{})}(e,t.keys,n)}t.PickFromMappedKey=function(e,t,n){const i=a(e,t,n);return(0,r.MappedResult)(i)}},20152:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PickFromMappedResult=void 0;const r=n(47636),i=n(15908);function o(e,t,n){return function(e,t,n){return globalThis.Object.getOwnPropertyNames(e).reduce(((r,o)=>({...r,[o]:(0,i.Pick)(e[o],t,n)})),{})}(e.properties,t,n)}t.PickFromMappedResult=function(e,t,n){const i=o(e,t,n);return(0,r.MappedResult)(i)}},15908:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Pick=void 0;const r=n(49823),i=n(96484),o=n(17152),a=n(42387),s=n(20726),u=n(65834),c=n(59727),l=n(7394),f=n(20152),d=n(48733);function p(e,t){return(0,d.IsIntersect)(e)?(0,r.Intersect)(function(e,t){return e.map((e=>p(e,t)))}(e.allOf,t)):(0,d.IsUnion)(e)?(0,i.Union)(function(e,t){return e.map((e=>p(e,t)))}(e.anyOf,t)):(0,d.IsObject)(e)?(0,o.Object)(function(e,t){return t.reduce(((t,n)=>n in e?{...t,[n]:e[n]}:t),{})}(e.properties,t)):(0,o.Object)({})}t.Pick=function(e,t,n={}){if((0,d.IsMappedKey)(t))return(0,l.PickFromMappedKey)(e,t,n);if((0,d.IsMappedResult)(e))return(0,f.PickFromMappedResult)(e,t,n);const r=(0,d.IsSchema)(t)?(0,a.IndexPropertyKeys)(t):t;return{...(0,s.Discard)(e,[u.TransformKind,"$id","required"]),...(0,c.CloneType)(p(e,r),n)}}},43814:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(37959),t)},37959:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Promise=void 0;const r=n(59727),i=n(65834);t.Promise=function(e,t={}){return{...t,[i.Kind]:"Promise",type:"Promise",item:(0,r.CloneType)(e)}}},53775:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(77449),t)},77449:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ReadonlyOptional=void 0;const r=n(66958),i=n(64203);t.ReadonlyOptional=function(e){return(0,r.Readonly)((0,i.Optional)(e))}},66958:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(72916),t),i(n(15538),t)},72916:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ReadonlyFromMappedResult=void 0;const r=n(47636),i=n(15538);function o(e,t){return function(e,t){return globalThis.Object.getOwnPropertyNames(e).reduce(((n,r)=>({...n,[r]:(0,i.Readonly)(e[r],t)})),{})}(e.properties,t)}t.ReadonlyFromMappedResult=function(e,t){const n=o(e,t);return(0,r.MappedResult)(n)}},15538:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Readonly=void 0;const r=n(65834),i=n(59727),o=n(20726),a=n(72916),s=n(48733);function u(e,t){return!1===t?function(e){return(0,o.Discard)((0,i.CloneType)(e),[r.ReadonlyKind])}(e):function(e){return{...(0,i.CloneType)(e),[r.ReadonlyKind]:"Readonly"}}(e)}t.Readonly=function(e,t){const n=t??!0;return(0,s.IsMappedResult)(e)?(0,a.ReadonlyFromMappedResult)(e,n):u(e,n)}},60404:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(31774),t)},31774:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Record=void 0;const r=n(17152),i=n(73621),o=n(96484),a=n(90634),s=n(49940),u=n(42387),c=n(65834),l=n(59727),f=n(54132),d=n(48733);function p(e,t,n){return{...n,[c.Kind]:"Record",type:"object",patternProperties:{[e]:(0,l.CloneType)(t)}}}function h(e,t,n){const i=e.reduce(((e,n)=>({...e,[n]:(0,l.CloneType)(t)})),{});return(0,r.Object)(i,{...n,[c.Hint]:"Record"})}t.Record=function(e,t,n={}){return(0,d.IsUnion)(e)?function(e,t,n){return h((0,u.IndexPropertyKeys)((0,o.Union)(e)),t,n)}(e.anyOf,t,n):(0,d.IsTemplateLiteral)(e)?function(e,t,n){return(0,a.IsTemplateLiteralFinite)(e)?h((0,u.IndexPropertyKeys)(e),t,n):p(e.pattern,t,n)}(e,t,n):(0,d.IsLiteral)(e)?function(e,t,n){return h([e.toString()],t,n)}(e.const,t,n):(0,d.IsInteger)(e)||(0,d.IsNumber)(e)?function(e,t,n){return p(s.PatternNumberExact,t,n)}(0,t,n):(0,d.IsRegExp)(e)?function(e,t,n){return p(e.source,t,n)}(e,t,n):(0,d.IsString)(e)?function(e,t,n){return p((0,f.IsUndefined)(e.pattern)?s.PatternStringExact:e.pattern,t,n)}(e,t,n):(0,i.Never)(n)}},88883:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(26930),t)},26930:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Recursive=void 0;const r=n(59727),i=n(54132),o=n(65834);let a=0;t.Recursive=function(e,t={}){(0,i.IsUndefined)(t.$id)&&(t.$id="T"+a++);const n=e({[o.Kind]:"This",$ref:`${t.$id}`});return n.$id=t.$id,(0,r.CloneType)({...t,[o.Hint]:"Recursive",...n})}},33380:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(54285),t)},54285:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Ref=void 0;const r=n(65834),i=n(54132);t.Ref=function(e,t={}){if((0,i.IsString)(e))return{...t,[r.Kind]:"Ref",$ref:e};if((0,i.IsUndefined)(e.$id))throw new Error("Reference target type must specify an $id");return{...t,[r.Kind]:"Ref",$ref:e.$id}}},1471:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(90613),t)},90613:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.RegExp=void 0;const r=n(54132),i=n(65834);t.RegExp=function(e,t={}){const n=(0,r.IsString)(e)?new globalThis.RegExp(e):e;return{...t,[i.Kind]:"RegExp",type:"RegExp",source:n.source,flags:n.flags}}},75026:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Get=t.Set=t.Has=t.Delete=t.Clear=t.Entries=void 0;const n=new Map;t.Entries=function(){return new Map(n)},t.Clear=function(){return n.clear()},t.Delete=function(e){return n.delete(e)},t.Has=function(e){return n.has(e)},t.Set=function(e,t){n.set(e,t)},t.Get=function(e){return n.get(e)}},73833:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TypeRegistry=t.FormatRegistry=void 0,t.FormatRegistry=n(75026),t.TypeRegistry=n(33493)},33493:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Get=t.Set=t.Has=t.Delete=t.Clear=t.Entries=void 0;const n=new Map;t.Entries=function(){return new Map(n)},t.Clear=function(){return n.clear()},t.Delete=function(e){return n.delete(e)},t.Has=function(e){return n.has(e)},t.Set=function(e,t){n.set(e,t)},t.Get=function(e){return n.get(e)}},63516:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(31129),t),i(n(95804),t)},31129:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.RequiredFromMappedResult=void 0;const r=n(47636),i=n(95804);function o(e,t){return function(e,t){return globalThis.Object.getOwnPropertyNames(e).reduce(((n,r)=>({...n,[r]:(0,i.Required)(e[r],t)})),{})}(e.properties,t)}t.RequiredFromMappedResult=function(e,t){const n=o(e,t);return(0,r.MappedResult)(n)}},95804:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Required=void 0;const r=n(49823),i=n(96484),o=n(17152),a=n(65834),s=n(59727),u=n(20726),c=n(31129),l=n(48733);function f(e){return e.map((e=>d(e)))}function d(e){return(0,l.IsIntersect)(e)?(0,r.Intersect)(f(e.allOf)):(0,l.IsUnion)(e)?(0,i.Union)(f(e.anyOf)):(0,l.IsObject)(e)?(0,o.Object)(function(e){return globalThis.Object.getOwnPropertyNames(e).reduce(((t,n)=>({...t,[n]:(0,u.Discard)(e[n],[a.OptionalKind])})),{})}(e.properties)):(0,o.Object)({})}t.Required=function(e,t={}){return(0,l.IsMappedResult)(e)?(0,c.RequiredFromMappedResult)(e,t):{...(0,u.Discard)(e,[a.TransformKind,"$id","required"]),...(0,s.CloneType)(d(e),t)}}},54903:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(37585),t)},37585:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Rest=void 0;const r=n(59727),i=n(48733);t.Rest=function(e){return(0,r.CloneRest)(function(e){return(0,i.IsIntersect)(e)?[...e.allOf]:(0,i.IsUnion)(e)?[...e.anyOf]:(0,i.IsTuple)(e)?[...e.items??[]]:[]}(e))}},39978:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(43939),t)},43939:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ReturnType=void 0;const r=n(59727);t.ReturnType=function(e,t={}){return(0,r.CloneType)(e.returns,t)}},17957:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},83780:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(17957),t),i(n(68009),t)},68009:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});n(65834)},87900:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(5255),t)},5255:function(e,t){"use strict";function n(e,t){return e.includes(t)}function r(e,t){return e.filter((e=>t.includes(e)))}Object.defineProperty(t,"__esModule",{value:!0}),t.SetUnionMany=t.SetIntersectMany=t.SetComplement=t.SetUnion=t.SetIntersect=t.SetDistinct=t.SetIsSubset=t.SetIncludes=void 0,t.SetIncludes=n,t.SetIsSubset=function(e,t){return e.every((e=>n(t,e)))},t.SetDistinct=function(e){return[...new Set(e)]},t.SetIntersect=r,t.SetUnion=function(e,t){return[...e,...t]},t.SetComplement=function(e,t){return e.filter((e=>!t.includes(e)))},t.SetIntersectMany=function(e){return 1===e.length?e[0]:e.length>1?function(e,t){return e.reduce(((e,t)=>r(e,t)),t)}(e.slice(1),e[0]):[]},t.SetUnionMany=function(e){return e.reduce(((e,t)=>[...e,...t]),[])}},88302:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(42344),t)},42344:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},21221:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(3726),t)},3726:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Strict=void 0,t.Strict=function(e){return JSON.parse(JSON.stringify(e))}},95784:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(10877),t)},10877:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.String=void 0;const r=n(65834);t.String=function(e={}){return{...e,[r.Kind]:"String",type:"string"}}},60919:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(12530),t)},12530:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Symbol=void 0;const r=n(65834);t.Symbol=function(e){return{...e,[r.Kind]:"Symbol",type:"symbol"}}},65834:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(67586),t)},67586:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Kind=t.Hint=t.OptionalKind=t.ReadonlyKind=t.TransformKind=void 0,t.TransformKind=Symbol.for("TypeBox.Transform"),t.ReadonlyKind=Symbol.for("TypeBox.Readonly"),t.OptionalKind=Symbol.for("TypeBox.Optional"),t.Hint=Symbol.for("TypeBox.Hint"),t.Kind=Symbol.for("TypeBox.Kind")},78770:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.IsTemplateLiteralFinite=t.IsTemplateLiteralExpressionFinite=t.TemplateLiteralFiniteError=void 0;const r=n(57989),i=n(759);class o extends i.TypeBoxError{}function a(e){return!function(e){return"or"===e.type&&2===e.expr.length&&"const"===e.expr[0].type&&"0"===e.expr[0].const&&"const"===e.expr[1].type&&"[1-9][0-9]*"===e.expr[1].const}(e)&&!function(e){return"const"===e.type&&".*"===e.const}(e)&&(!!function(e){return"or"===e.type&&2===e.expr.length&&"const"===e.expr[0].type&&"true"===e.expr[0].const&&"const"===e.expr[1].type&&"false"===e.expr[1].const}(e)||("and"===e.type||"or"===e.type?e.expr.every((e=>a(e))):"const"===e.type||(()=>{throw new o("Unknown expression type")})()))}t.TemplateLiteralFiniteError=o,t.IsTemplateLiteralExpressionFinite=a,t.IsTemplateLiteralFinite=function(e){return a((0,r.TemplateLiteralParseExact)(e.pattern))}},90731:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TemplateLiteralGenerate=t.TemplateLiteralExpressionGenerate=t.TemplateLiteralGenerateError=void 0;const r=n(78770),i=n(57989),o=n(759);class a extends o.TypeBoxError{}function*s(e){if(1===e.length)return yield*e[0];for(const t of e[0])for(const n of s(e.slice(1)))yield`${t}${n}`}function*u(e){return yield*s(e.expr.map((e=>[...c(e)])))}function*c(e){return"and"===e.type?yield*u(e):"or"===e.type?yield*function*(e){for(const t of e.expr)yield*c(t)}(e):"const"===e.type?yield*function*(e){return yield e.const}(e):(()=>{throw new a("Unknown expression")})()}t.TemplateLiteralGenerateError=a,t.TemplateLiteralExpressionGenerate=c,t.TemplateLiteralGenerate=function(e){const t=(0,i.TemplateLiteralParseExact)(e.pattern);return(0,r.IsTemplateLiteralExpressionFinite)(t)?[...c(t)]:[]}},90634:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(78770),t),i(n(90731),t),i(n(68427),t),i(n(57989),t),i(n(95459),t),i(n(45797),t),i(n(23468),t)},57989:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TemplateLiteralParseExact=t.TemplateLiteralParse=t.TemplateLiteralParserError=void 0;const r=n(759);class i extends r.TypeBoxError{}function o(e){return e.replace(/\\\$/g,"$").replace(/\\\*/g,"*").replace(/\\\^/g,"^").replace(/\\\|/g,"|").replace(/\\\(/g,"(").replace(/\\\)/g,")")}function a(e,t,n){return e[t]===n&&92!==e.charCodeAt(t-1)}function s(e,t){return a(e,t,"(")}function u(e,t){return a(e,t,")")}function c(e,t){return a(e,t,"|")}function l(e){return function(e){if(!s(e,0)||!u(e,e.length-1))return!1;let t=0;for(let n=0;n<e.length;n++)if(s(e,n)&&(t+=1),u(e,n)&&(t-=1),0===t&&n!==e.length-1)return!1;return!0}(e)?l(function(e){return e.slice(1,e.length-1)}(e)):function(e){let t=0;for(let n=0;n<e.length;n++)if(s(e,n)&&(t+=1),u(e,n)&&(t-=1),c(e,n)&&0===t)return!0;return!1}(e)?function(e){let[t,n]=[0,0];const r=[];for(let i=0;i<e.length;i++)if(s(e,i)&&(t+=1),u(e,i)&&(t-=1),c(e,i)&&0===t){const t=e.slice(n,i);t.length>0&&r.push(l(t)),n=i+1}const i=e.slice(n);return i.length>0&&r.push(l(i)),0===r.length?{type:"const",const:""}:1===r.length?r[0]:{type:"or",expr:r}}(e):function(e){for(let t=0;t<e.length;t++)if(s(e,t))return!0;return!1}(e)?function(e){function t(e,t){if(!s(e,t))throw new i("TemplateLiteralParser: Index must point to open parens");let n=0;for(let r=t;r<e.length;r++)if(s(e,r)&&(n+=1),u(e,r)&&(n-=1),0===n)return[t,r];throw new i("TemplateLiteralParser: Unclosed group parens in expression")}function n(e,t){for(let n=t;n<e.length;n++)if(s(e,n))return[t,n];return[t,e.length]}const r=[];for(let i=0;i<e.length;i++)if(s(e,i)){const[n,o]=t(e,i),a=e.slice(n,o+1);r.push(l(a)),i=o}else{const[t,o]=n(e,i),a=e.slice(t,o);a.length>0&&r.push(l(a)),i=o-1}return 0===r.length?{type:"const",const:""}:1===r.length?r[0]:{type:"and",expr:r}}(e):{type:"const",const:o(e)}}t.TemplateLiteralParserError=i,t.TemplateLiteralParse=l,t.TemplateLiteralParseExact=function(e){return l(e.slice(1,e.length-1))}},95459:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TemplateLiteralPattern=t.TemplateLiteralPatternError=void 0;const r=n(49940),i=n(65834),o=n(759),a=n(48733);class s extends o.TypeBoxError{}function u(e,t){return(0,a.IsTemplateLiteral)(e)?e.pattern.slice(1,e.pattern.length-1):(0,a.IsUnion)(e)?`(${e.anyOf.map((e=>u(e,t))).join("|")})`:(0,a.IsNumber)(e)||(0,a.IsInteger)(e)||(0,a.IsBigInt)(e)?`${t}${r.PatternNumber}`:(0,a.IsString)(e)?`${t}${r.PatternString}`:(0,a.IsLiteral)(e)?`${t}${n=e.const.toString(),n.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}`:(0,a.IsBoolean)(e)?`${t}${r.PatternBoolean}`:(()=>{throw new s(`Unexpected Kind '${e[i.Kind]}'`)})();var n}t.TemplateLiteralPatternError=s,t.TemplateLiteralPattern=function(e){return`^${e.map((e=>u(e,""))).join("")}$`}},68427:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TemplateLiteralSyntax=void 0;const r=n(45348),i=n(35376),o=n(47932),a=n(74459),s=n(95784),u=n(96484),c=n(73621);function*l(e){const t=e.trim().replace(/"|'/g,"");return"boolean"===t?yield(0,i.Boolean)():"number"===t?yield(0,a.Number)():"bigint"===t?yield(0,o.BigInt)():"string"===t?yield(0,s.String)():yield(()=>{const e=t.split("|").map((e=>(0,r.Literal)(e.trim())));return 0===e.length?(0,c.Never)():1===e.length?e[0]:(0,u.UnionEvaluated)(e)})()}function*f(e){if("{"!==e[1]){const t=(0,r.Literal)("$"),n=d(e.slice(1));return yield*[t,...n]}for(let t=2;t<e.length;t++)if("}"===e[t]){const n=l(e.slice(2,t)),r=d(e.slice(t+1));return yield*[...n,...r]}yield(0,r.Literal)(e)}function*d(e){for(let t=0;t<e.length;t++)if("$"===e[t]){const n=(0,r.Literal)(e.slice(0,t)),i=f(e.slice(t));return yield*[n,...i]}yield(0,r.Literal)(e)}t.TemplateLiteralSyntax=function(e){return[...d(e)]}},23468:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TemplateLiteral=void 0;const r=n(68427),i=n(95459),o=n(54132),a=n(65834);t.TemplateLiteral=function(e,t={}){const n=(0,o.IsString)(e)?(0,i.TemplateLiteralPattern)((0,r.TemplateLiteralSyntax)(e)):(0,i.TemplateLiteralPattern)(e);return{...t,[a.Kind]:"TemplateLiteral",type:"string",pattern:n}}},45797:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TemplateLiteralToUnion=void 0;const r=n(96484),i=n(45348),o=n(90731);t.TemplateLiteralToUnion=function(e){const t=(0,o.TemplateLiteralGenerate)(e).map((e=>(0,i.Literal)(e)));return(0,r.UnionEvaluated)(t)}},21253:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(6684),t)},6684:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Transform=t.TransformEncodeBuilder=t.TransformDecodeBuilder=void 0;const r=n(65834),i=n(59727),o=n(48733);class a{constructor(e){this.schema=e}Decode(e){return new s(this.schema,e)}}t.TransformDecodeBuilder=a;class s{constructor(e,t){this.schema=e,this.decode=t}EncodeTransform(e,t){const n={Encode:n=>t[r.TransformKind].Encode(e(n)),Decode:e=>this.decode(t[r.TransformKind].Decode(e))};return{...t,[r.TransformKind]:n}}EncodeSchema(e,t){const n={Decode:this.decode,Encode:e};return{...t,[r.TransformKind]:n}}Encode(e){const t=(0,i.CloneType)(this.schema);return(0,o.IsTransform)(t)?this.EncodeTransform(e,t):this.EncodeSchema(e,t)}}t.TransformEncodeBuilder=s,t.Transform=function(e){return new a(e)}},5986:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(27273),t)},27273:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Tuple=void 0;const r=n(59727),i=n(65834);t.Tuple=function(e,t={}){const[n,o,a]=[!1,e.length,e.length];return e.length>0?{...t,[i.Kind]:"Tuple",type:"array",items:(0,r.CloneRest)(e),additionalItems:n,minItems:o,maxItems:a}:{...t,[i.Kind]:"Tuple",type:"array",minItems:o,maxItems:a}}},33214:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Type=t.JavaScriptTypeBuilder=t.JsonTypeBuilder=void 0;var r=n(55862);Object.defineProperty(t,"JsonTypeBuilder",{enumerable:!0,get:function(){return r.JsonTypeBuilder}});const i=n(46973),o=n(96734);Object.defineProperty(t,"JavaScriptTypeBuilder",{enumerable:!0,get:function(){return o.JavaScriptTypeBuilder}});const a=i;t.Type=a},96734:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.JavaScriptTypeBuilder=void 0;const r=n(55862),i=n(86345),o=n(38209),a=n(47932),s=n(47959),u=n(51433),c=n(97137),l=n(13992),f=n(33102),d=n(19561),p=n(13524),h=n(43814),g=n(1471),m=n(39978),y=n(60919),v=n(12914),b=n(35222),_=n(95541);class w extends r.JsonTypeBuilder{AsyncIterator(e,t={}){return(0,i.AsyncIterator)(e,t)}Awaited(e,t={}){return(0,o.Awaited)(e,t)}BigInt(e={}){return(0,a.BigInt)(e)}ConstructorParameters(e,t={}){return(0,u.ConstructorParameters)(e,t)}Constructor(e,t,n){return(0,s.Constructor)(e,t,n)}Date(e={}){return(0,c.Date)(e)}Function(e,t,n){return(0,l.Function)(e,t,n)}InstanceType(e,t={}){return(0,f.InstanceType)(e,t)}Iterator(e,t={}){return(0,d.Iterator)(e,t)}Parameters(e,t={}){return(0,p.Parameters)(e,t)}Promise(e,t={}){return(0,h.Promise)(e,t)}RegExp(e,t={}){return(0,g.RegExp)(e,t)}ReturnType(e,t={}){return(0,m.ReturnType)(e,t)}Symbol(e){return(0,y.Symbol)(e)}Undefined(e={}){return(0,b.Undefined)(e)}Uint8Array(e={}){return(0,v.Uint8Array)(e)}Void(e={}){return(0,_.Void)(e)}}t.JavaScriptTypeBuilder=w},55862:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.JsonTypeBuilder=void 0;const r=n(81977),i=n(42849),o=n(35376),a=n(53422),s=n(48614),u=n(44094),c=n(35287),l=n(96709),f=n(89866),d=n(71021),p=n(42387),h=n(13517),g=n(49823),m=n(36486),y=n(19131),v=n(45348),b=n(47636),_=n(73621),w=n(15105),T=n(49246),x=n(74459),S=n(17152),k=n(64720),E=n(64203),O=n(25835),C=n(64285),L=n(66958),A=n(53775),I=n(60404),P=n(88883),M=n(33380),R=n(63516),j=n(54903),D=n(21221),N=n(95784),B=n(90634),U=n(21253),F=n(5986),z=n(96484),H=n(48375),Z=n(58324);t.JsonTypeBuilder=class{Strict(e){return(0,D.Strict)(e)}ReadonlyOptional(e){return(0,A.ReadonlyOptional)(e)}Readonly(e,t){return(0,L.Readonly)(e,t??!0)}Optional(e,t){return(0,E.Optional)(e,t??!0)}Any(e={}){return(0,r.Any)(e)}Array(e,t={}){return(0,i.Array)(e,t)}Boolean(e={}){return(0,o.Boolean)(e)}Capitalize(e,t={}){return(0,m.Capitalize)(e,t)}Composite(e,t){return(0,a.Composite)(e,t)}Const(e,t={}){return(0,s.Const)(e,t)}Deref(e,t){return(0,u.Deref)(e,t)}Enum(e,t={}){return(0,c.Enum)(e,t)}Exclude(e,t,n={}){return(0,l.Exclude)(e,t,n)}Extends(e,t,n,r,i={}){return(0,f.Extends)(e,t,n,r,i)}Extract(e,t,n={}){return(0,d.Extract)(e,t,n)}Index(e,t,n={}){return(0,p.Index)(e,t,n)}Integer(e={}){return(0,h.Integer)(e)}Intersect(e,t={}){return(0,g.Intersect)(e,t)}KeyOf(e,t={}){return(0,y.KeyOf)(e,t)}Literal(e,t={}){return(0,v.Literal)(e,t)}Lowercase(e,t={}){return(0,m.Lowercase)(e,t)}Mapped(e,t,n={}){return(0,b.Mapped)(e,t,n)}Never(e={}){return(0,_.Never)(e)}Not(e,t){return(0,w.Not)(e,t)}Null(e={}){return(0,T.Null)(e)}Number(e={}){return(0,x.Number)(e)}Object(e,t={}){return(0,S.Object)(e,t)}Omit(e,t,n={}){return(0,k.Omit)(e,t,n)}Partial(e,t={}){return(0,O.Partial)(e,t)}Pick(e,t,n={}){return(0,C.Pick)(e,t,n)}Record(e,t,n={}){return(0,I.Record)(e,t,n)}Recursive(e,t={}){return(0,P.Recursive)(e,t)}Ref(e,t={}){return(0,M.Ref)(e,t)}Required(e,t={}){return(0,R.Required)(e,t)}Rest(e){return(0,j.Rest)(e)}String(e={}){return(0,N.String)(e)}TemplateLiteral(e,t={}){return(0,B.TemplateLiteral)(e,t)}Transform(e){return(0,U.Transform)(e)}Tuple(e,t={}){return(0,F.Tuple)(e,t)}Uncapitalize(e,t={}){return(0,m.Uncapitalize)(e,t)}Union(e,t={}){return(0,z.Union)(e,t)}Unknown(e={}){return(0,H.Unknown)(e)}Unsafe(e={}){return(0,Z.Unsafe)(e)}Uppercase(e,t={}){return(0,m.Uppercase)(e,t)}}},46973:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Strict=t.ReturnType=t.Rest=t.Required=t.RegExp=t.Ref=t.Recursive=t.Record=t.ReadonlyOptional=t.Readonly=t.Promise=t.Pick=t.Partial=t.Parameters=t.Optional=t.Omit=t.Object=t.Number=t.Null=t.Not=t.Never=t.Mapped=t.Literal=t.KeyOf=t.Iterator=t.Uppercase=t.Lowercase=t.Uncapitalize=t.Capitalize=t.Intersect=t.Integer=t.InstanceType=t.Index=t.Function=t.Extract=t.Extends=t.Exclude=t.Enum=t.Deref=t.Date=t.ConstructorParameters=t.Constructor=t.Const=t.Composite=t.Boolean=t.BigInt=t.Awaited=t.AsyncIterator=t.Array=t.Any=void 0,t.Void=t.Unsafe=t.Unknown=t.Union=t.Undefined=t.Uint8Array=t.Tuple=t.Transform=t.TemplateLiteral=t.Symbol=t.String=void 0;var r=n(81977);Object.defineProperty(t,"Any",{enumerable:!0,get:function(){return r.Any}});var i=n(42849);Object.defineProperty(t,"Array",{enumerable:!0,get:function(){return i.Array}});var o=n(86345);Object.defineProperty(t,"AsyncIterator",{enumerable:!0,get:function(){return o.AsyncIterator}});var a=n(38209);Object.defineProperty(t,"Awaited",{enumerable:!0,get:function(){return a.Awaited}});var s=n(47932);Object.defineProperty(t,"BigInt",{enumerable:!0,get:function(){return s.BigInt}});var u=n(35376);Object.defineProperty(t,"Boolean",{enumerable:!0,get:function(){return u.Boolean}});var c=n(53422);Object.defineProperty(t,"Composite",{enumerable:!0,get:function(){return c.Composite}});var l=n(48614);Object.defineProperty(t,"Const",{enumerable:!0,get:function(){return l.Const}});var f=n(47959);Object.defineProperty(t,"Constructor",{enumerable:!0,get:function(){return f.Constructor}});var d=n(51433);Object.defineProperty(t,"ConstructorParameters",{enumerable:!0,get:function(){return d.ConstructorParameters}});var p=n(97137);Object.defineProperty(t,"Date",{enumerable:!0,get:function(){return p.Date}});var h=n(44094);Object.defineProperty(t,"Deref",{enumerable:!0,get:function(){return h.Deref}});var g=n(35287);Object.defineProperty(t,"Enum",{enumerable:!0,get:function(){return g.Enum}});var m=n(96709);Object.defineProperty(t,"Exclude",{enumerable:!0,get:function(){return m.Exclude}});var y=n(89866);Object.defineProperty(t,"Extends",{enumerable:!0,get:function(){return y.Extends}});var v=n(71021);Object.defineProperty(t,"Extract",{enumerable:!0,get:function(){return v.Extract}});var b=n(13992);Object.defineProperty(t,"Function",{enumerable:!0,get:function(){return b.Function}});var _=n(42387);Object.defineProperty(t,"Index",{enumerable:!0,get:function(){return _.Index}});var w=n(33102);Object.defineProperty(t,"InstanceType",{enumerable:!0,get:function(){return w.InstanceType}});var T=n(13517);Object.defineProperty(t,"Integer",{enumerable:!0,get:function(){return T.Integer}});var x=n(49823);Object.defineProperty(t,"Intersect",{enumerable:!0,get:function(){return x.Intersect}});var S=n(36486);Object.defineProperty(t,"Capitalize",{enumerable:!0,get:function(){return S.Capitalize}}),Object.defineProperty(t,"Uncapitalize",{enumerable:!0,get:function(){return S.Uncapitalize}}),Object.defineProperty(t,"Lowercase",{enumerable:!0,get:function(){return S.Lowercase}}),Object.defineProperty(t,"Uppercase",{enumerable:!0,get:function(){return S.Uppercase}});var k=n(19561);Object.defineProperty(t,"Iterator",{enumerable:!0,get:function(){return k.Iterator}});var E=n(19131);Object.defineProperty(t,"KeyOf",{enumerable:!0,get:function(){return E.KeyOf}});var O=n(45348);Object.defineProperty(t,"Literal",{enumerable:!0,get:function(){return O.Literal}});var C=n(47636);Object.defineProperty(t,"Mapped",{enumerable:!0,get:function(){return C.Mapped}});var L=n(73621);Object.defineProperty(t,"Never",{enumerable:!0,get:function(){return L.Never}});var A=n(15105);Object.defineProperty(t,"Not",{enumerable:!0,get:function(){return A.Not}});var I=n(49246);Object.defineProperty(t,"Null",{enumerable:!0,get:function(){return I.Null}});var P=n(74459);Object.defineProperty(t,"Number",{enumerable:!0,get:function(){return P.Number}});var M=n(17152);Object.defineProperty(t,"Object",{enumerable:!0,get:function(){return M.Object}});var R=n(64720);Object.defineProperty(t,"Omit",{enumerable:!0,get:function(){return R.Omit}});var j=n(64203);Object.defineProperty(t,"Optional",{enumerable:!0,get:function(){return j.Optional}});var D=n(13524);Object.defineProperty(t,"Parameters",{enumerable:!0,get:function(){return D.Parameters}});var N=n(25835);Object.defineProperty(t,"Partial",{enumerable:!0,get:function(){return N.Partial}});var B=n(64285);Object.defineProperty(t,"Pick",{enumerable:!0,get:function(){return B.Pick}});var U=n(43814);Object.defineProperty(t,"Promise",{enumerable:!0,get:function(){return U.Promise}});var F=n(66958);Object.defineProperty(t,"Readonly",{enumerable:!0,get:function(){return F.Readonly}});var z=n(53775);Object.defineProperty(t,"ReadonlyOptional",{enumerable:!0,get:function(){return z.ReadonlyOptional}});var H=n(60404);Object.defineProperty(t,"Record",{enumerable:!0,get:function(){return H.Record}});var Z=n(88883);Object.defineProperty(t,"Recursive",{enumerable:!0,get:function(){return Z.Recursive}});var q=n(33380);Object.defineProperty(t,"Ref",{enumerable:!0,get:function(){return q.Ref}});var V=n(1471);Object.defineProperty(t,"RegExp",{enumerable:!0,get:function(){return V.RegExp}});var W=n(63516);Object.defineProperty(t,"Required",{enumerable:!0,get:function(){return W.Required}});var G=n(54903);Object.defineProperty(t,"Rest",{enumerable:!0,get:function(){return G.Rest}});var $=n(39978);Object.defineProperty(t,"ReturnType",{enumerable:!0,get:function(){return $.ReturnType}});var Y=n(21221);Object.defineProperty(t,"Strict",{enumerable:!0,get:function(){return Y.Strict}});var K=n(95784);Object.defineProperty(t,"String",{enumerable:!0,get:function(){return K.String}});var X=n(60919);Object.defineProperty(t,"Symbol",{enumerable:!0,get:function(){return X.Symbol}});var Q=n(90634);Object.defineProperty(t,"TemplateLiteral",{enumerable:!0,get:function(){return Q.TemplateLiteral}});var J=n(21253);Object.defineProperty(t,"Transform",{enumerable:!0,get:function(){return J.Transform}});var ee=n(5986);Object.defineProperty(t,"Tuple",{enumerable:!0,get:function(){return ee.Tuple}});var te=n(12914);Object.defineProperty(t,"Uint8Array",{enumerable:!0,get:function(){return te.Uint8Array}});var ne=n(35222);Object.defineProperty(t,"Undefined",{enumerable:!0,get:function(){return ne.Undefined}});var re=n(96484);Object.defineProperty(t,"Union",{enumerable:!0,get:function(){return re.Union}});var ie=n(48375);Object.defineProperty(t,"Unknown",{enumerable:!0,get:function(){return ie.Unknown}});var oe=n(58324);Object.defineProperty(t,"Unsafe",{enumerable:!0,get:function(){return oe.Unsafe}});var ae=n(95541);Object.defineProperty(t,"Void",{enumerable:!0,get:function(){return ae.Void}})},12914:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(85948),t)},85948:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Uint8Array=void 0;const r=n(65834);t.Uint8Array=function(e={}){return{...e,[r.Kind]:"Uint8Array",type:"Uint8Array"}}},35222:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(23455),t)},23455:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Undefined=void 0;const r=n(65834);t.Undefined=function(e={}){return{...e,[r.Kind]:"Undefined",type:"undefined"}}},96484:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(49209),t),i(n(17762),t),i(n(18115),t)},71565:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UnionCreate=void 0;const r=n(59727),i=n(65834);t.UnionCreate=function(e,t){return{...t,[i.Kind]:"Union",anyOf:(0,r.CloneRest)(e)}}},49209:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UnionEvaluated=void 0;const r=n(65834),i=n(59727),o=n(20726),a=n(73621),s=n(64203),u=n(71565),c=n(48733);function l(e){return e.map((e=>(0,c.IsOptional)(e)?function(e){return(0,o.Discard)(e,[r.OptionalKind])}(e):e))}function f(e,t){return function(e){return e.some((e=>(0,c.IsOptional)(e)))}(e)?(0,s.Optional)((0,u.UnionCreate)(l(e),t)):(0,u.UnionCreate)(l(e),t)}t.UnionEvaluated=function(e,t={}){return 0===e.length?(0,a.Never)(t):1===e.length?(0,i.CloneType)(e[0],t):f(e,t)}},17762:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});n(65834)},18115:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Union=void 0;const r=n(73621),i=n(59727),o=n(71565);t.Union=function(e,t={}){return 0===e.length?(0,r.Never)(t):1===e.length?(0,i.CloneType)(e[0],t):(0,o.UnionCreate)(e,t)}},48375:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(48776),t)},48776:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Unknown=void 0;const r=n(65834);t.Unknown=function(e={}){return{...e,[r.Kind]:"Unknown"}}},58324:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(98906),t)},98906:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Unsafe=void 0;const r=n(65834);t.Unsafe=function(e={}){return{...e,[r.Kind]:e[r.Kind]??"Unsafe"}}},95541:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(13429),t)},13429:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Void=void 0;const r=n(65834);t.Void=function(e={}){return{...e,[r.Kind]:"Void",type:"void"}}},88123:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Cast=t.ValueCastError=void 0;const r=n(91808),i=n(759),o=n(65834),a=n(14392),s=n(30482),u=n(76466),c=n(16996);class l extends i.TypeBoxError{constructor(e,t){super(t),this.schema=e}}function f(e,t,n){if("Object"!==e[o.Kind]||"object"!=typeof n||(0,r.IsNull)(n))return(0,s.Check)(e,t,n)?1:0;{const r=e,i=Object.getOwnPropertyNames(n),a=Object.entries(r.properties),[u,c]=[1/a.length,a.length];return a.reduce(((e,[r,a])=>e+(("Literal"===a[o.Kind]&&a.const===n[r]?c:0)+((0,s.Check)(a,t,n[r])?u:0)+(i.includes(r)?u:0))),0)}}function d(e,t,n){if("default"in e)return"function"==typeof n?e.default:(0,u.Clone)(e.default);{const r=function(e,t,n){let[r,i]=[e.anyOf[0],0];for(const o of e.anyOf){const e=f(o,t,n);e>i&&(r=o,i=e)}return r}(e,t,n);return h(r,t,n)}}function p(e,t,n){const i=(0,r.IsString)(e.$id)?[...t,e]:t,f=e;switch(e[o.Kind]){case"Array":return function(e,t,n){if((0,s.Check)(e,t,n))return(0,u.Clone)(n);const i=(0,r.IsArray)(n)?(0,u.Clone)(n):(0,a.Create)(e,t),o=(0,r.IsNumber)(e.minItems)&&i.length<e.minItems?[...i,...Array.from({length:e.minItems-i.length},(()=>null))]:i,c=((0,r.IsNumber)(e.maxItems)&&o.length>e.maxItems?o.slice(0,e.maxItems):o).map((n=>p(e.items,t,n)));if(!0!==e.uniqueItems)return c;const f=[...new Set(c)];if(!(0,s.Check)(e,t,f))throw new l(e,"Array cast produced invalid data due to uniqueItems constraint");return f}(f,i,n);case"Constructor":return function(e,t,n){if((0,s.Check)(e,t,n))return(0,a.Create)(e,t);const r=new Set(e.returns.required||[]),i=function(){};for(const[o,a]of Object.entries(e.returns.properties))(r.has(o)||void 0!==n.prototype[o])&&(i.prototype[o]=p(a,t,n.prototype[o]));return i}(f,i,n);case"Intersect":return function(e,t,n){const i=(0,a.Create)(e,t),o=(0,r.IsStandardObject)(i)&&(0,r.IsStandardObject)(n)?{...i,...n}:n;return(0,s.Check)(e,t,o)?o:(0,a.Create)(e,t)}(f,i,n);case"Never":return function(e,t,n){throw new l(e,"Never types cannot be cast")}(f);case"Object":return function(e,t,n){if((0,s.Check)(e,t,n))return n;if(null===n||"object"!=typeof n)return(0,a.Create)(e,t);const r=new Set(e.required||[]),i={};for(const[o,a]of Object.entries(e.properties))(r.has(o)||void 0!==n[o])&&(i[o]=p(a,t,n[o]));if("object"==typeof e.additionalProperties){const r=Object.getOwnPropertyNames(e.properties);for(const o of Object.getOwnPropertyNames(n))r.includes(o)||(i[o]=p(e.additionalProperties,t,n[o]))}return i}(f,i,n);case"Record":return function(e,t,n){if((0,s.Check)(e,t,n))return(0,u.Clone)(n);if(null===n||"object"!=typeof n||Array.isArray(n)||n instanceof Date)return(0,a.Create)(e,t);const r=Object.getOwnPropertyNames(e.patternProperties)[0],i=e.patternProperties[r],o={};for(const[e,r]of Object.entries(n))o[e]=p(i,t,r);return o}(f,i,n);case"Ref":case"This":return function(e,t,n){return p((0,c.Deref)(e,t),t,n)}(f,i,n);case"Tuple":return function(e,t,n){return(0,s.Check)(e,t,n)?(0,u.Clone)(n):(0,r.IsArray)(n)?void 0===e.items?[]:e.items.map(((e,r)=>p(e,t,n[r]))):(0,a.Create)(e,t)}(f,i,n);case"Union":return function(e,t,n){return(0,s.Check)(e,t,n)?(0,u.Clone)(n):d(e,t,n)}(f,i,n);case"Date":case"Symbol":case"Uint8Array":return function(e,t,n){return(0,s.Check)(e,t,n)?(0,u.Clone)(n):(0,a.Create)(e,t)}(e,t,n);default:return function(e,t,n){return(0,s.Check)(e,t,n)?n:(0,a.Create)(e,t)}(f,i,n)}}function h(...e){return 3===e.length?p(e[0],e[1],e[2]):p(e[0],[],e[1])}t.ValueCastError=l,t.Cast=h},99756:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(88123),t)},96177:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Check=t.ValueCheckUnknownTypeError=void 0;const r=n(84672),i=n(16996),o=n(99562),a=n(65834),s=n(19131),u=n(89866),c=n(73833),l=n(759),f=n(73621),d=n(91808),p=n(48733);class h extends l.TypeBoxError{constructor(e){super("Unknown type"),this.schema=e}}function g(e){return"Any"===e[a.Kind]||"Unknown"===e[a.Kind]}function m(e){return void 0!==e}function y(e,t,n){const l=m(e.$id)?[...t,e]:t,v=e;switch(v[a.Kind]){case"Any":case"Unknown":return!0;case"Array":return function(e,t,n){if(!(0,d.IsArray)(n))return!1;if(m(e.minItems)&&!(n.length>=e.minItems))return!1;if(m(e.maxItems)&&!(n.length<=e.maxItems))return!1;if(!n.every((n=>y(e.items,t,n))))return!1;if(!0===e.uniqueItems&&!function(){const e=new Set;for(const t of n){const n=(0,o.Hash)(t);if(e.has(n))return!1;e.add(n)}return!0}())return!1;if(!(m(e.contains)||(0,d.IsNumber)(e.minContains)||(0,d.IsNumber)(e.maxContains)))return!0;const r=m(e.contains)?e.contains:(0,f.Never)(),i=n.reduce(((e,n)=>y(r,t,n)?e+1:e),0);return!(0===i||(0,d.IsNumber)(e.minContains)&&i<e.minContains||(0,d.IsNumber)(e.maxContains)&&i>e.maxContains)}(v,l,n);case"AsyncIterator":return function(e,t,n){return(0,d.IsAsyncIterator)(n)}(0,0,n);case"BigInt":return function(e,t,n){return!(!(0,d.IsBigInt)(n)||m(e.exclusiveMaximum)&&!(n<e.exclusiveMaximum)||m(e.exclusiveMinimum)&&!(n>e.exclusiveMinimum)||m(e.maximum)&&!(n<=e.maximum)||m(e.minimum)&&!(n>=e.minimum)||m(e.multipleOf)&&n%e.multipleOf!==BigInt(0))}(v,0,n);case"Boolean":return function(e,t,n){return(0,d.IsBoolean)(n)}(0,0,n);case"Constructor":return function(e,t,n){return y(e.returns,t,n.prototype)}(v,l,n);case"Date":return function(e,t,n){return!(!(0,d.IsDate)(n)||m(e.exclusiveMaximumTimestamp)&&!(n.getTime()<e.exclusiveMaximumTimestamp)||m(e.exclusiveMinimumTimestamp)&&!(n.getTime()>e.exclusiveMinimumTimestamp)||m(e.maximumTimestamp)&&!(n.getTime()<=e.maximumTimestamp)||m(e.minimumTimestamp)&&!(n.getTime()>=e.minimumTimestamp)||m(e.multipleOfTimestamp)&&n.getTime()%e.multipleOfTimestamp!=0)}(v,0,n);case"Function":return function(e,t,n){return(0,d.IsFunction)(n)}(0,0,n);case"Integer":return function(e,t,n){return!(!(0,d.IsInteger)(n)||m(e.exclusiveMaximum)&&!(n<e.exclusiveMaximum)||m(e.exclusiveMinimum)&&!(n>e.exclusiveMinimum)||m(e.maximum)&&!(n<=e.maximum)||m(e.minimum)&&!(n>=e.minimum)||m(e.multipleOf)&&n%e.multipleOf!=0)}(v,0,n);case"Intersect":return function(e,t,n){const r=e.allOf.every((e=>y(e,t,n)));if(!1===e.unevaluatedProperties){const t=new RegExp((0,s.KeyOfPattern)(e)),i=Object.getOwnPropertyNames(n).every((e=>t.test(e)));return r&&i}if((0,p.IsSchema)(e.unevaluatedProperties)){const i=new RegExp((0,s.KeyOfPattern)(e)),o=Object.getOwnPropertyNames(n).every((r=>i.test(r)||y(e.unevaluatedProperties,t,n[r])));return r&&o}return r}(v,l,n);case"Iterator":return function(e,t,n){return(0,d.IsIterator)(n)}(0,0,n);case"Literal":return function(e,t,n){return n===e.const}(v,0,n);case"Never":return!1;case"Not":return function(e,t,n){return!y(e.not,t,n)}(v,l,n);case"Null":return function(e,t,n){return(0,d.IsNull)(n)}(0,0,n);case"Number":return function(e,t,n){return!(!r.TypeSystemPolicy.IsNumberLike(n)||m(e.exclusiveMaximum)&&!(n<e.exclusiveMaximum)||m(e.exclusiveMinimum)&&!(n>e.exclusiveMinimum)||m(e.minimum)&&!(n>=e.minimum)||m(e.maximum)&&!(n<=e.maximum)||m(e.multipleOf)&&n%e.multipleOf!=0)}(v,0,n);case"Object":return function(e,t,n){if(!r.TypeSystemPolicy.IsObjectLike(n))return!1;if(m(e.minProperties)&&!(Object.getOwnPropertyNames(n).length>=e.minProperties))return!1;if(m(e.maxProperties)&&!(Object.getOwnPropertyNames(n).length<=e.maxProperties))return!1;const i=Object.getOwnPropertyNames(e.properties);for(const o of i){const i=e.properties[o];if(e.required&&e.required.includes(o)){if(!y(i,t,n[o]))return!1;if(((0,u.ExtendsUndefinedCheck)(i)||g(i))&&!(o in n))return!1}else if(r.TypeSystemPolicy.IsExactOptionalProperty(n,o)&&!y(i,t,n[o]))return!1}if(!1===e.additionalProperties){const t=Object.getOwnPropertyNames(n);return!(!e.required||e.required.length!==i.length||t.length!==i.length)||t.every((e=>i.includes(e)))}if("object"==typeof e.additionalProperties)return Object.getOwnPropertyNames(n).every((r=>i.includes(r)||y(e.additionalProperties,t,n[r])));return!0}(v,l,n);case"Promise":return function(e,t,n){return(0,d.IsPromise)(n)}(0,0,n);case"Record":return function(e,t,n){if(!r.TypeSystemPolicy.IsRecordLike(n))return!1;if(m(e.minProperties)&&!(Object.getOwnPropertyNames(n).length>=e.minProperties))return!1;if(m(e.maxProperties)&&!(Object.getOwnPropertyNames(n).length<=e.maxProperties))return!1;const[i,o]=Object.entries(e.patternProperties)[0],a=new RegExp(i),s=Object.entries(n).every((([e,n])=>!a.test(e)||y(o,t,n))),u="object"!=typeof e.additionalProperties||Object.entries(n).every((([n,r])=>!!a.test(n)||y(e.additionalProperties,t,r))),c=!1!==e.additionalProperties||Object.getOwnPropertyNames(n).every((e=>a.test(e)));return s&&u&&c}(v,l,n);case"Ref":case"This":return function(e,t,n){return y((0,i.Deref)(e,t),t,n)}(v,l,n);case"RegExp":return function(e,t,n){const r=new RegExp(e.source,e.flags);return(!m(e.minLength)||n.length>=e.minLength)&&(!m(e.maxLength)||n.length<=e.maxLength)&&r.test(n)}(v,0,n);case"String":return function(e,t,n){if(!(0,d.IsString)(n))return!1;if(m(e.minLength)&&!(n.length>=e.minLength))return!1;if(m(e.maxLength)&&!(n.length<=e.maxLength))return!1;if(m(e.pattern)&&!new RegExp(e.pattern).test(n))return!1;if(m(e.format))return!!c.FormatRegistry.Has(e.format)&&c.FormatRegistry.Get(e.format)(n);return!0}(v,0,n);case"Symbol":return function(e,t,n){return(0,d.IsSymbol)(n)}(0,0,n);case"TemplateLiteral":return function(e,t,n){return(0,d.IsString)(n)&&new RegExp(e.pattern).test(n)}(v,0,n);case"Tuple":return function(e,t,n){if(!(0,d.IsArray)(n))return!1;if(void 0===e.items&&0!==n.length)return!1;if(n.length!==e.maxItems)return!1;if(!e.items)return!0;for(let r=0;r<e.items.length;r++)if(!y(e.items[r],t,n[r]))return!1;return!0}(v,l,n);case"Undefined":return function(e,t,n){return(0,d.IsUndefined)(n)}(0,0,n);case"Union":return function(e,t,n){return e.anyOf.some((e=>y(e,t,n)))}(v,l,n);case"Uint8Array":return function(e,t,n){return!!(0,d.IsUint8Array)(n)&&(!m(e.maxByteLength)||n.length<=e.maxByteLength)&&(!m(e.minByteLength)||n.length>=e.minByteLength)}(v,0,n);case"Void":return function(e,t,n){return r.TypeSystemPolicy.IsVoidLike(n)}(0,0,n);default:if(!c.TypeRegistry.Has(v[a.Kind]))throw new h(v);return function(e,t,n){return!!c.TypeRegistry.Has(e[a.Kind])&&c.TypeRegistry.Get(e[a.Kind])(e,n)}(v,0,n)}}t.ValueCheckUnknownTypeError=h,t.Check=function(...e){return 3===e.length?y(e[0],e[1],e[2]):y(e[0],[],e[1])}},30482:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(96177),t)},72573:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Clean=void 0;const r=n(19131),i=n(30482),o=n(76466),a=n(16996),s=n(65834),u=n(91808),c=n(48733);function l(e){return(0,c.IsSchema)(e)&&"Unsafe"!==e[s.Kind]}function f(e,t,n){const d=(0,u.IsString)(e.$id)?[...t,e]:t,p=e;switch(p[s.Kind]){case"Array":return function(e,t,n){return(0,u.IsArray)(n)?n.map((n=>f(e.items,t,n))):n}(p,d,n);case"Intersect":return function(e,t,n){const a=e.unevaluatedProperties,s=e.allOf.map((e=>f(e,t,(0,o.Clone)(n)))).reduce(((e,t)=>(0,u.IsObject)(t)?{...e,...t}:t),{});if(!(0,u.IsObject)(n)||!(0,u.IsObject)(s)||!(0,c.IsSchema)(a))return s;const l=(0,r.KeyOfPropertyKeys)(e);for(const e of Object.getOwnPropertyNames(n))l.includes(e)||(0,i.Check)(a,t,n[e])&&(s[e]=f(a,t,n[e]));return s}(p,d,n);case"Object":return function(e,t,n){if(!(0,u.IsObject)(n)||(0,u.IsArray)(n))return n;const r=e.additionalProperties;for(const o of Object.getOwnPropertyNames(n))o in e.properties?n[o]=f(e.properties[o],t,n[o]):(0,c.IsSchema)(r)&&(0,i.Check)(r,t,n[o])?n[o]=f(r,t,n[o]):delete n[o];return n}(p,d,n);case"Record":return function(e,t,n){if(!(0,u.IsObject)(n))return n;const r=e.additionalProperties,o=Object.keys(n),[a,s]=Object.entries(e.patternProperties)[0],l=new RegExp(a);for(const e of o)l.test(e)?n[e]=f(s,t,n[e]):(0,c.IsSchema)(r)&&(0,i.Check)(r,t,n[e])?n[e]=f(r,t,n[e]):delete n[e];return n}(p,d,n);case"Ref":case"This":return function(e,t,n){return f((0,a.Deref)(e,t),t,n)}(p,d,n);case"Tuple":return function(e,t,n){if(!(0,u.IsArray)(n))return n;if((0,u.IsUndefined)(e.items))return[];const r=Math.min(n.length,e.items.length);for(let i=0;i<r;i++)n[i]=f(e.items[i],t,n[i]);return n.length>r?n.slice(0,r):n}(p,d,n);case"Union":return function(e,t,n){for(const r of e.anyOf)if(l(r)&&(0,i.Check)(r,n))return f(r,t,n);return n}(p,d,n);default:return n}}t.Clean=function(...e){return 3===e.length?f(e[0],e[1],e[2]):f(e[0],[],e[1])}},79644:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(72573),t)},72972:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Clone=void 0;const r=n(91808);function i(e){if((0,r.IsArray)(e))return function(e){return e.map((e=>i(e)))}(e);if((0,r.IsDate)(e))return function(e){return new Date(e.toISOString())}(e);if((0,r.IsStandardObject)(e))return function(e){return[...Object.getOwnPropertyNames(e),...Object.getOwnPropertySymbols(e)].reduce(((t,n)=>({...t,[n]:i(e[n])})),{})}(e);if((0,r.IsTypedArray)(e))return function(e){return e.slice()}(e);if((0,r.IsValueType)(e))return e;throw new Error("ValueClone: Unable to clone value")}t.Clone=i},76466:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(72972),t)},77539:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Convert=void 0;const r=n(76466),i=n(30482),o=n(16996),a=n(65834),s=n(91808);function u(e){return(0,s.IsString)(e)&&!isNaN(e)&&!isNaN(parseFloat(e))}function c(e){return!0===e||(0,s.IsNumber)(e)&&1===e||(0,s.IsBigInt)(e)&&e===BigInt("1")||(0,s.IsString)(e)&&("true"===e.toLowerCase()||"1"===e)}function l(e){return!1===e||(0,s.IsNumber)(e)&&(0===e||Object.is(e,-0))||(0,s.IsBigInt)(e)&&e===BigInt("0")||(0,s.IsString)(e)&&("false"===e.toLowerCase()||"0"===e||"-0"===e)}function f(e,t){return(0,s.IsString)(e.const)?function(e,t){const n=p(e);return n===t?n:e}(t,e.const):(0,s.IsNumber)(e.const)?function(e,t){const n=h(e);return n===t?n:e}(t,e.const):(0,s.IsBoolean)(e.const)?function(e,t){const n=d(e);return n===t?n:e}(t,e.const):(0,r.Clone)(t)}function d(e){return!!c(e)||!l(e)&&e}function p(e){return function(e){return(0,s.IsBigInt)(e)||(0,s.IsBoolean)(e)||(0,s.IsNumber)(e)}(e)?e.toString():(0,s.IsSymbol)(e)&&void 0!==e.description?e.description.toString():e}function h(e){return u(e)?parseFloat(e):c(e)?1:l(e)?0:e}function g(e){return(0,s.IsDate)(e)?e:(0,s.IsNumber)(e)?new Date(e):c(e)?new Date(1):l(e)?new Date(0):u(e)?new Date(parseInt(e)):function(e){return(0,s.IsString)(e)&&/^(?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)?$/i.test(e)}(e)?new Date(`1970-01-01T${e}.000Z`):function(e){return(0,s.IsString)(e)&&/^(?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)$/i.test(e)}(e)?new Date(`1970-01-01T${e}`):function(e){return(0,s.IsString)(e)&&/^\d\d\d\d-[0-1]\d-[0-3]\dt(?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)?$/i.test(e)}(e)?new Date(`${e}.000Z`):function(e){return(0,s.IsString)(e)&&/^\d\d\d\d-[0-1]\d-[0-3]\dt(?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)$/i.test(e)}(e)?new Date(e):function(e){return(0,s.IsString)(e)&&/^\d\d\d\d-[0-1]\d-[0-3]\d$/i.test(e)}(e)?new Date(`${e}T00:00:00.000Z`):e}function m(e,t,n){return function(e){return u(e)?BigInt(parseInt(e)):(0,s.IsNumber)(e)?BigInt(0|e):l(e)?BigInt(0):c(e)?BigInt(1):e}(n)}function y(e,t,n){return function(e){return u(e)?parseInt(e):(0,s.IsNumber)(e)?0|e:c(e)?1:l(e)?0:e}(n)}function v(e,t,n){return function(e){return(0,s.IsString)(e)&&"null"===e.toLowerCase()?null:e}(n)}function b(e,t,n){return function(e){return(0,s.IsString)(e)&&"undefined"===e?void 0:e}(n)}function _(e,t,n){const r=(0,s.IsString)(e.$id)?[...t,e]:t,u=e;switch(e[a.Kind]){case"Array":return function(e,t,n){return(0,s.IsArray)(n)?n.map((n=>_(e.items,t,n))):n}(u,r,n);case"BigInt":return m(0,0,n);case"Boolean":return function(e,t,n){return d(n)}(0,0,n);case"Date":return function(e,t,n){return g(n)}(0,0,n);case"Integer":return y(0,0,n);case"Intersect":return function(e,t,n){return e.allOf.reduce(((e,n)=>_(n,t,e)),n)}(u,r,n);case"Literal":return function(e,t,n){return f(e,n)}(u,0,n);case"Null":return v(0,0,n);case"Number":return function(e,t,n){return h(n)}(0,0,n);case"Object":return function(e,t,n){return(0,s.IsObject)(n)?Object.getOwnPropertyNames(e.properties).reduce(((n,r)=>(0,s.IsUndefined)(n[r])?{...n}:{...n,[r]:_(e.properties[r],t,n[r])}),n):n}(u,r,n);case"Record":return function(e,t,n){const r=Object.getOwnPropertyNames(e.patternProperties)[0],i=e.patternProperties[r],o={};for(const[e,r]of Object.entries(n))o[e]=_(i,t,r);return o}(u,r,n);case"Ref":case"This":return function(e,t,n){return _((0,o.Deref)(e,t),t,n)}(u,r,n);case"String":return function(e,t,n){return p(n)}(0,0,n);case"Symbol":return function(e,t,n){return(0,s.IsString)(n)||(0,s.IsNumber)(n)?Symbol(n):n}(0,0,n);case"Tuple":return function(e,t,n){return(0,s.IsArray)(n)&&!(0,s.IsUndefined)(e.items)?n.map(((n,r)=>r<e.items.length?_(e.items[r],t,n):n)):n}(u,r,n);case"Undefined":return b(0,0,n);case"Union":return function(e,t,n){for(const r of e.anyOf){const e=_(r,t,n);if((0,i.Check)(r,t,e))return e}return n}(u,r,n);default:return n}}t.Convert=function(...e){return 3===e.length?_(e[0],e[1],e[2]):_(e[0],[],e[1])}},68898:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(77539),t)},31348:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Create=t.ValueCreateError=void 0;const r=n(91808),i=n(30482),o=n(76466),a=n(16996),s=n(90634),u=n(49940),c=n(73833),l=n(65834),f=n(759);class d extends f.TypeBoxError{constructor(e,t){super(t),this.schema=e}}function p(e){return"function"==typeof e?e:(0,o.Clone)(e)}function h(e,t){const n=(0,r.IsString)(e.$id)?[...t,e]:t,o=e;switch(o[l.Kind]){case"Any":case"Unknown":return function(e,t){return(0,r.HasPropertyKey)(e,"default")?p(e.default):{}}(o);case"Array":return function(e,t){if(!0!==e.uniqueItems||(0,r.HasPropertyKey)(e,"default")){if("contains"in e&&!(0,r.HasPropertyKey)(e,"default"))throw new d(e,"Array with the contains constraint requires a default value");return"default"in e?p(e.default):void 0!==e.minItems?Array.from({length:e.minItems}).map((n=>h(e.items,t))):[]}throw new d(e,"Array with the uniqueItems constraint requires a default value")}(o,n);case"AsyncIterator":return function(e,t){return(0,r.HasPropertyKey)(e,"default")?p(e.default):async function*(){}()}(o);case"BigInt":return function(e,t){return(0,r.HasPropertyKey)(e,"default")?p(e.default):BigInt(0)}(o);case"Boolean":return function(e,t){return!!(0,r.HasPropertyKey)(e,"default")&&p(e.default)}(o);case"Constructor":return function(e,t){if((0,r.HasPropertyKey)(e,"default"))return p(e.default);{const n=h(e.returns,t);return"object"!=typeof n||Array.isArray(n)?class{}:class{constructor(){for(const[e,t]of Object.entries(n))this[e]=t}}}}(o,n);case"Date":return function(e,t){return(0,r.HasPropertyKey)(e,"default")?p(e.default):void 0!==e.minimumTimestamp?new Date(e.minimumTimestamp):new Date}(o);case"Function":return function(e,t){return(0,r.HasPropertyKey)(e,"default")?p(e.default):()=>h(e.returns,t)}(o,n);case"Integer":case"Number":return function(e,t){return(0,r.HasPropertyKey)(e,"default")?p(e.default):void 0!==e.minimum?e.minimum:0}(o);case"Intersect":return function(e,t){if((0,r.HasPropertyKey)(e,"default"))return p(e.default);{const n=e.allOf.reduce(((e,n)=>{const r=h(n,t);return"object"==typeof r?{...e,...r}:r}),{});if(!(0,i.Check)(e,t,n))throw new d(e,"Intersect produced invalid value. Consider using a default value.");return n}}(o,n);case"Iterator":return function(e,t){return(0,r.HasPropertyKey)(e,"default")?p(e.default):function*(){}()}(o);case"Literal":return function(e,t){return(0,r.HasPropertyKey)(e,"default")?p(e.default):e.const}(o);case"Never":return function(e,t){if((0,r.HasPropertyKey)(e,"default"))return p(e.default);throw new d(e,"Never types cannot be created. Consider using a default value.")}(o);case"Not":return function(e,t){if((0,r.HasPropertyKey)(e,"default"))return p(e.default);throw new d(e,"Not types must have a default value")}(o);case"Null":return function(e,t){return(0,r.HasPropertyKey)(e,"default")?p(e.default):null}(o);case"Object":return function(e,t){if((0,r.HasPropertyKey)(e,"default"))return p(e.default);{const n=new Set(e.required);return p(e.default)||Object.entries(e.properties).reduce(((e,[r,i])=>n.has(r)?{...e,[r]:h(i,t)}:{...e}),{})}}(o,n);case"Promise":return function(e,t){return(0,r.HasPropertyKey)(e,"default")?p(e.default):Promise.resolve(h(e.item,t))}(o,n);case"Record":return function(e,t){const[n,i]=Object.entries(e.patternProperties)[0];if((0,r.HasPropertyKey)(e,"default"))return p(e.default);if(n!==u.PatternStringExact&&n!==u.PatternNumberExact)return n.slice(1,n.length-1).split("|").reduce(((e,n)=>({...e,[n]:h(i,t)})),{});return{}}(o,n);case"Ref":return function(e,t){return(0,r.HasPropertyKey)(e,"default")?p(e.default):h((0,a.Deref)(e,t),t)}(o,n);case"RegExp":return function(e,t){if((0,r.HasPropertyKey)(e,"default"))return p(e.default);throw new d(e,"RegExp types cannot be created. Consider using a default value.")}(o);case"String":return function(e,t){if(void 0!==e.pattern){if((0,r.HasPropertyKey)(e,"default"))return p(e.default);throw new d(e,"String types with patterns must specify a default value")}if(void 0!==e.format){if((0,r.HasPropertyKey)(e,"default"))return p(e.default);throw new d(e,"String types with formats must specify a default value")}return(0,r.HasPropertyKey)(e,"default")?p(e.default):void 0!==e.minLength?Array.from({length:e.minLength}).map((()=>" ")).join(""):""}(o);case"Symbol":return function(e,t){return(0,r.HasPropertyKey)(e,"default")?p(e.default):"value"in e?Symbol.for(e.value):Symbol()}(o);case"TemplateLiteral":return function(e,t){if((0,r.HasPropertyKey)(e,"default"))return p(e.default);if(!(0,s.IsTemplateLiteralFinite)(e))throw new d(e,"Can only create template literals that produce a finite variants. Consider using a default value.");return(0,s.TemplateLiteralGenerate)(e)[0]}(o);case"This":return function(e,t){if(m++>g)throw new d(e,"Cannot create recursive type as it appears possibly infinite. Consider using a default.");return(0,r.HasPropertyKey)(e,"default")?p(e.default):h((0,a.Deref)(e,t),t)}(o,n);case"Tuple":return function(e,t){return(0,r.HasPropertyKey)(e,"default")?p(e.default):void 0===e.items?[]:Array.from({length:e.minItems}).map(((n,r)=>h(e.items[r],t)))}(o,n);case"Undefined":case"Void":return function(e,t){return(0,r.HasPropertyKey)(e,"default")?p(e.default):void 0}(o);case"Union":return function(e,t){if((0,r.HasPropertyKey)(e,"default"))return p(e.default);if(0===e.anyOf.length)throw new Error("ValueCreate.Union: Cannot create Union with zero variants");return h(e.anyOf[0],t)}(o,n);case"Uint8Array":return function(e,t){return(0,r.HasPropertyKey)(e,"default")?p(e.default):void 0!==e.minByteLength?new Uint8Array(e.minByteLength):new Uint8Array(0)}(o);default:if(!c.TypeRegistry.Has(o[l.Kind]))throw new d(o,"Unknown type");return function(e,t){if((0,r.HasPropertyKey)(e,"default"))return p(e.default);throw new Error("User defined types must specify a default value")}(o)}}t.ValueCreateError=d;const g=512;let m=0;t.Create=function(...e){return m=0,2===e.length?h(e[0],e[1]):h(e[0],[])}},14392:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(31348),t)},11935:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Default=void 0;const r=n(30482),i=n(76466),o=n(16996),a=n(65834),s=n(91808),u=n(48733);function c(e,t){return void 0===t&&"default"in e?(0,i.Clone)(e.default):t}function l(e){return(0,u.IsSchema)(e)&&"Unsafe"!==e[a.Kind]}function f(e){return(0,u.IsSchema)(e)&&"default"in e}function d(e,t,n){const i=(0,s.IsString)(e.$id)?[...t,e]:t,u=e;switch(u[a.Kind]){case"Array":return function(e,t,n){const r=c(e,n);if(!(0,s.IsArray)(r))return r;for(let n=0;n<r.length;n++)r[n]=d(e.items,t,r[n]);return r}(u,i,n);case"Intersect":return function(e,t,n){const r=c(e,n);return e.allOf.reduce(((e,n)=>{const i=d(n,t,r);return(0,s.IsObject)(i)?{...e,...i}:i}),{})}(u,i,n);case"Object":return function(e,t,n){const r=c(e,n);if(!(0,s.IsObject)(r))return r;const i=e.additionalProperties,o=Object.getOwnPropertyNames(e.properties);for(const n of o)f(e.properties[n])&&(r[n]=d(e.properties[n],t,r[n]));if(!f(i))return r;for(const e of Object.getOwnPropertyNames(r))o.includes(e)||(r[e]=d(i,t,r[e]));return r}(u,i,n);case"Record":return function(e,t,n){const r=c(e,n);if(!(0,s.IsObject)(r))return r;const i=e.additionalProperties,[o,a]=Object.entries(e.patternProperties)[0],u=new RegExp(o);for(const e of Object.getOwnPropertyNames(r))u.test(e)&&f(a)&&(r[e]=d(a,t,r[e]));if(!f(i))return r;for(const e of Object.getOwnPropertyNames(r))u.test(e)||(r[e]=d(i,t,r[e]));return r}(u,i,n);case"Ref":return function(e,t,n){return d((0,o.Deref)(e,t),t,c(e,n))}(u,i,n);case"This":return function(e,t,n){return d((0,o.Deref)(e,t),t,n)}(u,i,n);case"Tuple":return function(e,t,n){const r=c(e,n);if(!(0,s.IsArray)(r)||(0,s.IsUndefined)(e.items))return r;const[i,o]=[e.items,Math.max(e.items.length,r.length)];for(let e=0;e<o;e++)e<i.length&&(r[e]=d(i[e],t,r[e]));return r}(u,i,n);case"Union":return function(e,t,n){const i=c(e,n);for(const n of e.anyOf){const e=d(n,t,i);if(l(n)&&(0,r.Check)(n,e))return e}return i}(u,i,n);default:return c(u,n)}}t.Default=function(...e){return 3===e.length?d(e[0],e[1],e[2]):d(e[0],[],e[1])}},42823:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(11935),t)},75522:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Patch=t.Diff=t.ValueDeltaSymbolError=t.ValueDeltaError=t.Edit=t.Delete=t.Update=t.Insert=void 0;const r=n(91808),i=n(84384),o=n(76466),a=n(759),s=n(45348),u=n(17152),c=n(95784),l=n(48375),f=n(96484);t.Insert=(0,u.Object)({type:(0,s.Literal)("insert"),path:(0,c.String)(),value:(0,l.Unknown)()}),t.Update=(0,u.Object)({type:(0,s.Literal)("update"),path:(0,c.String)(),value:(0,l.Unknown)()}),t.Delete=(0,u.Object)({type:(0,s.Literal)("delete"),path:(0,c.String)()}),t.Edit=(0,f.Union)([t.Insert,t.Update,t.Delete]);class d extends a.TypeBoxError{constructor(e,t){super(t),this.value=e}}t.ValueDeltaError=d;class p extends d{constructor(e){super(e,"Cannot diff objects with symbol keys"),this.value=e}}function h(e,t){return{type:"update",path:e,value:t}}function g(e,t){return{type:"insert",path:e,value:t}}function m(e){return{type:"delete",path:e}}function*y(e,t,n){if((0,r.IsStandardObject)(t))return yield*function*(e,t,n){if(!(0,r.IsStandardObject)(n))return yield h(e,n);const i=[...globalThis.Object.keys(t),...globalThis.Object.getOwnPropertySymbols(t)],o=[...globalThis.Object.keys(n),...globalThis.Object.getOwnPropertySymbols(n)];for(const t of i){if((0,r.IsSymbol)(t))throw new p(t);(0,r.IsUndefined)(n[t])&&o.includes(t)&&(yield h(`${e}/${globalThis.String(t)}`,void 0))}for(const i of o)if(!(0,r.IsUndefined)(t[i])&&!(0,r.IsUndefined)(n[i])){if((0,r.IsSymbol)(i))throw new p(i);yield*y(`${e}/${globalThis.String(i)}`,t[i],n[i])}for(const i of o){if((0,r.IsSymbol)(i))throw new p(i);(0,r.IsUndefined)(t[i])&&(yield g(`${e}/${globalThis.String(i)}`,n[i]))}for(const t of i.reverse()){if((0,r.IsSymbol)(t))throw new p(t);(0,r.IsUndefined)(n[t])&&!o.includes(t)&&(yield m(`${e}/${globalThis.String(t)}`))}}(e,t,n);if((0,r.IsArray)(t))return yield*function*(e,t,n){if(!(0,r.IsArray)(n))return yield h(e,n);for(let r=0;r<Math.min(t.length,n.length);r++)yield*y(`${e}/${r}`,t[r],n[r]);for(let r=0;r<n.length;r++)r<t.length||(yield g(`${e}/${r}`,n[r]));for(let r=t.length-1;r>=0;r--)r<n.length||(yield m(`${e}/${r}`))}(e,t,n);if((0,r.IsTypedArray)(t))return yield*function*(e,t,n){if(!(0,r.IsTypedArray)(n)||t.length!==n.length||globalThis.Object.getPrototypeOf(t).constructor.name!==globalThis.Object.getPrototypeOf(n).constructor.name)return yield h(e,n);for(let r=0;r<Math.min(t.length,n.length);r++)yield*y(`${e}/${r}`,t[r],n[r])}(e,t,n);if((0,r.IsValueType)(t))return yield*function*(e,t,n){t!==n&&(yield h(e,n))}(e,t,n);throw new d(t,"Unable to create diff edits for unknown value")}t.ValueDeltaSymbolError=p,t.Diff=function(e,t){return[...y("",e,t)]},t.Patch=function(e,t){if(function(e){return e.length>0&&""===e[0].path&&"update"===e[0].type}(t))return(0,o.Clone)(t[0].value);if(function(e){return 0===e.length}(t))return(0,o.Clone)(e);const n=(0,o.Clone)(e);for(const e of t)switch(e.type){case"insert":case"update":i.ValuePointer.Set(n,e.path,e.value);break;case"delete":i.ValuePointer.Delete(n,e.path)}return n}},33005:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(75522),t)},63346:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Deref=t.TypeDereferenceError=void 0;const r=n(759);class i extends r.TypeBoxError{constructor(e){super(`Unable to dereference schema with $id '${e.$id}'`),this.schema=e}}t.TypeDereferenceError=i,t.Deref=function(e,t){const n=t.findIndex((t=>t.$id===e.$ref));if(-1===n)throw new i(e);return t[n]}},16996:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(63346),t)},2655:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Equal=void 0;const r=n(91808);function i(e,t){if((0,r.IsStandardObject)(e))return function(e,t){if(!(0,r.IsStandardObject)(t))return!1;const n=[...Object.keys(e),...Object.getOwnPropertySymbols(e)],o=[...Object.keys(t),...Object.getOwnPropertySymbols(t)];return n.length===o.length&&n.every((n=>i(e[n],t[n])))}(e,t);if((0,r.IsDate)(e))return function(e,t){return(0,r.IsDate)(t)&&e.getTime()===t.getTime()}(e,t);if((0,r.IsTypedArray)(e))return function(e,t){return!(!(0,r.IsTypedArray)(t)||e.length!==t.length||Object.getPrototypeOf(e).constructor.name!==Object.getPrototypeOf(t).constructor.name)&&e.every(((e,n)=>i(e,t[n])))}(e,t);if((0,r.IsArray)(e))return function(e,t){return!(!(0,r.IsArray)(t)||e.length!==t.length)&&e.every(((e,n)=>i(e,t[n])))}(e,t);if((0,r.IsValueType)(e))return function(e,t){return e===t}(e,t);throw new Error("ValueEquals: Unable to compare value")}t.Equal=i},54878:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(2655),t)},19115:function(e,t){"use strict";function n(e){return null!==e&&"object"==typeof e}function r(e){return Array.isArray(e)&&!ArrayBuffer.isView(e)}function i(e){return void 0===e}function o(e){return null===e}function a(e){return"boolean"==typeof e}function s(e){return"number"==typeof e}function u(e){return"bigint"==typeof e}function c(e){return"string"==typeof e}function l(e){return"function"==typeof e}function f(e){return"symbol"==typeof e}Object.defineProperty(t,"__esModule",{value:!0}),t.IsValueType=t.IsSymbol=t.IsFunction=t.IsString=t.IsBigInt=t.IsInteger=t.IsNumber=t.IsBoolean=t.IsNull=t.IsUndefined=t.IsArray=t.IsObject=t.HasPropertyKey=t.IsBigUint64Array=t.IsBigInt64Array=t.IsFloat64Array=t.IsFloat32Array=t.IsUint32Array=t.IsInt32Array=t.IsUint16Array=t.IsInt16Array=t.IsUint8ClampedArray=t.IsUint8Array=t.IsInt8Array=t.IsTypedArray=t.IsRegExp=t.IsSet=t.IsMap=t.IsDate=t.IsPromise=t.IsInstanceObject=t.IsStandardObject=t.IsIterator=t.IsAsyncIterator=void 0,t.IsAsyncIterator=function(e){return n(e)&&Symbol.asyncIterator in e},t.IsIterator=function(e){return n(e)&&Symbol.iterator in e},t.IsStandardObject=function(e){return n(e)&&!r(e)&&l(e.constructor)&&"Object"===e.constructor.name},t.IsInstanceObject=function(e){return n(e)&&!r(e)&&l(e.constructor)&&"Object"!==e.constructor.name},t.IsPromise=function(e){return e instanceof Promise},t.IsDate=function(e){return e instanceof Date&&Number.isFinite(e.getTime())},t.IsMap=function(e){return e instanceof globalThis.Map},t.IsSet=function(e){return e instanceof globalThis.Set},t.IsRegExp=function(e){return e instanceof globalThis.RegExp},t.IsTypedArray=function(e){return ArrayBuffer.isView(e)},t.IsInt8Array=function(e){return e instanceof globalThis.Int8Array},t.IsUint8Array=function(e){return e instanceof globalThis.Uint8Array},t.IsUint8ClampedArray=function(e){return e instanceof globalThis.Uint8ClampedArray},t.IsInt16Array=function(e){return e instanceof globalThis.Int16Array},t.IsUint16Array=function(e){return e instanceof globalThis.Uint16Array},t.IsInt32Array=function(e){return e instanceof globalThis.Int32Array},t.IsUint32Array=function(e){return e instanceof globalThis.Uint32Array},t.IsFloat32Array=function(e){return e instanceof globalThis.Float32Array},t.IsFloat64Array=function(e){return e instanceof globalThis.Float64Array},t.IsBigInt64Array=function(e){return e instanceof globalThis.BigInt64Array},t.IsBigUint64Array=function(e){return e instanceof globalThis.BigUint64Array},t.HasPropertyKey=function(e,t){return t in e},t.IsObject=n,t.IsArray=r,t.IsUndefined=i,t.IsNull=o,t.IsBoolean=a,t.IsNumber=s,t.IsInteger=function(e){return s(e)&&Number.isInteger(e)},t.IsBigInt=u,t.IsString=c,t.IsFunction=l,t.IsSymbol=f,t.IsValueType=function(e){return u(e)||a(e)||o(e)||s(e)||c(e)||f(e)||i(e)}},91808:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(19115),t)},37384:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Hash=t.ValueHashError=void 0;const r=n(91808),i=n(759);class o extends i.TypeBoxError{constructor(e){super("Unable to hash value"),this.value=e}}var a;t.ValueHashError=o,function(e){e[e.Undefined=0]="Undefined",e[e.Null=1]="Null",e[e.Boolean=2]="Boolean",e[e.Number=3]="Number",e[e.String=4]="String",e[e.Object=5]="Object",e[e.Array=6]="Array",e[e.Date=7]="Date",e[e.Uint8Array=8]="Uint8Array",e[e.Symbol=9]="Symbol",e[e.BigInt=10]="BigInt"}(a||(a={}));let s=BigInt("14695981039346656037");const[u,c]=[BigInt("1099511628211"),BigInt("2")**BigInt("64")],l=Array.from({length:256}).map(((e,t)=>BigInt(t))),f=new Float64Array(1),d=new DataView(f.buffer),p=new Uint8Array(f.buffer);function*h(e){const t=0===e?1:Math.ceil(Math.floor(Math.log2(e)+1)/8);for(let n=0;n<t;n++)yield e>>8*(t-1-n)&255}function g(e){if((0,r.IsArray)(e))return function(e){m(a.Array);for(const t of e)g(t)}(e);if((0,r.IsBoolean)(e))return function(e){m(a.Boolean),m(e?1:0)}(e);if((0,r.IsBigInt)(e))return function(e){m(a.BigInt),d.setBigInt64(0,e);for(const e of p)m(e)}(e);if((0,r.IsDate)(e))return function(e){m(a.Date),g(e.getTime())}(e);if(!(0,r.IsNull)(e)){if((0,r.IsNumber)(e))return function(e){m(a.Number),d.setFloat64(0,e);for(const e of p)m(e)}(e);if((0,r.IsStandardObject)(e))return function(e){m(a.Object);for(const t of globalThis.Object.keys(e).sort())g(t),g(e[t])}(e);if((0,r.IsString)(e))return function(e){m(a.String);for(let t=0;t<e.length;t++)for(const n of h(e.charCodeAt(t)))m(n)}(e);if((0,r.IsSymbol)(e))return function(e){m(a.Symbol),g(e.description)}(e);if((0,r.IsUint8Array)(e))return function(e){m(a.Uint8Array);for(let t=0;t<e.length;t++)m(e[t])}(e);if((0,r.IsUndefined)(e))return m(a.Undefined);throw new o(e)}m(a.Null)}function m(e){s^=l[e],s=s*u%c}t.Hash=function(e){return s=BigInt("14695981039346656037"),g(e),s}},99562:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(37384),t)},32477:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),t.Value=t.ValueErrorIterator=t.ValueErrorType=void 0;var o=n(70530);Object.defineProperty(t,"ValueErrorType",{enumerable:!0,get:function(){return o.ValueErrorType}}),Object.defineProperty(t,"ValueErrorIterator",{enumerable:!0,get:function(){return o.ValueErrorIterator}}),i(n(91808),t),i(n(99756),t),i(n(30482),t),i(n(79644),t),i(n(76466),t),i(n(68898),t),i(n(14392),t),i(n(42823),t),i(n(33005),t),i(n(54878),t),i(n(99562),t),i(n(55698),t),i(n(84384),t),i(n(20127),t);var a=n(40169);Object.defineProperty(t,"Value",{enumerable:!0,get:function(){return a.Value}})},55698:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(85764),t)},85764:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Mutate=t.ValueMutateError=void 0;const r=n(91808),i=n(84384),o=n(76466),a=n(759);class s extends a.TypeBoxError{constructor(e){super(e)}}function u(e,t,n,a){return(0,r.IsArray)(a)?function(e,t,n,a){if((0,r.IsArray)(n)){for(let r=0;r<a.length;r++)u(e,`${t}/${r}`,n[r],a[r]);n.splice(a.length)}else i.ValuePointer.Set(e,t,(0,o.Clone)(a))}(e,t,n,a):(0,r.IsTypedArray)(a)?function(e,t,n,a){if((0,r.IsTypedArray)(n)&&n.length===a.length)for(let e=0;e<n.length;e++)n[e]=a[e];else i.ValuePointer.Set(e,t,(0,o.Clone)(a))}(e,t,n,a):(0,r.IsStandardObject)(a)?function(e,t,n,a){if((0,r.IsStandardObject)(n)){const r=Object.keys(n),i=Object.keys(a);for(const e of r)i.includes(e)||delete n[e];for(const e of i)r.includes(e)||(n[e]=null);for(const r of i)u(e,`${t}/${r}`,n[r],a[r])}else i.ValuePointer.Set(e,t,(0,o.Clone)(a))}(e,t,n,a):(0,r.IsValueType)(a)?function(e,t,n,r){n!==r&&i.ValuePointer.Set(e,t,r)}(e,t,n,a):void 0}function c(e){return(0,r.IsTypedArray)(e)||(0,r.IsValueType)(e)}t.ValueMutateError=s,t.Mutate=function(e,t){if(c(e)||c(t))throw new s("Only object and array types can be mutated at the root level");if(function(e,t){return(0,r.IsStandardObject)(e)&&(0,r.IsArray)(t)||(0,r.IsArray)(e)&&(0,r.IsStandardObject)(t)}(e,t))throw new s("Cannot assign due type mismatch of assignable values");u(e,"",e,t)}},84384:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ValuePointer=void 0,t.ValuePointer=n(27087)},27087:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Get=t.Has=t.Delete=t.Set=t.Format=t.ValuePointerRootDeleteError=t.ValuePointerRootSetError=void 0;const r=n(759);class i extends r.TypeBoxError{constructor(e,t,n){super("Cannot set root value"),this.value=e,this.path=t,this.update=n}}t.ValuePointerRootSetError=i;class o extends r.TypeBoxError{constructor(e,t){super("Cannot delete root value"),this.value=e,this.path=t}}function a(e){return-1===e.indexOf("~")?e:e.replace(/~1/g,"/").replace(/~0/g,"~")}function*s(e){if(""===e)return;let[t,n]=[0,0];for(let r=0;r<e.length;r++){"/"===e.charAt(r)?(0===r||(n=r,yield a(e.slice(t,n))),t=r+1):n=r}yield a(e.slice(t))}t.ValuePointerRootDeleteError=o,t.Format=s,t.Set=function(e,t,n){if(""===t)throw new i(e,t,n);let[r,o,a]=[null,e,""];for(const e of s(t))void 0===o[e]&&(o[e]={}),r=o,o=o[e],a=e;r[a]=n},t.Delete=function(e,t){if(""===t)throw new o(e,t);let[n,r,i]=[null,e,""];for(const e of s(t)){if(void 0===r[e]||null===r[e])return;n=r,r=r[e],i=e}if(Array.isArray(n)){const e=parseInt(i);n.splice(e,1)}else delete n[i]},t.Has=function(e,t){if(""===t)return!0;let[n,r,i]=[null,e,""];for(const e of s(t)){if(void 0===r[e])return!1;n=r,r=r[e],i=e}return Object.getOwnPropertyNames(n).includes(i)},t.Get=function(e,t){if(""===t)return e;let n=e;for(const e of s(t)){if(void 0===n[e])return;n=n[e]}return n}},72857:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TransformDecode=t.TransformDecodeError=t.TransformDecodeCheckError=void 0;const r=n(65834),i=n(759),o=n(19131),a=n(42387),s=n(16996),u=n(30482),c=n(91808),l=n(48733);class f extends i.TypeBoxError{constructor(e,t,n){super("Unable to decode value as it does not match the expected schema"),this.schema=e,this.value=t,this.error=n}}t.TransformDecodeCheckError=f;class d extends i.TypeBoxError{constructor(e,t,n,r){super(r instanceof Error?r.message:"Unknown error"),this.schema=e,this.path=t,this.value=n,this.error=r}}function p(e,t,n){try{return(0,l.IsTransform)(e)?e[r.TransformKind].Decode(n):n}catch(r){throw new d(e,t,n,r)}}function h(e,t,n,i){const f="string"==typeof e.$id?[...t,e]:t,d=e;switch(e[r.Kind]){case"Array":return function(e,t,n,r){return(0,c.IsArray)(r)?p(e,n,r.map(((r,i)=>h(e.items,t,`${n}/${i}`,r)))):p(e,n,r)}(d,f,n,i);case"Intersect":return function(e,t,n,r){if(!(0,c.IsStandardObject)(r)||(0,c.IsValueType)(r))return p(e,n,r);const i=(0,o.KeyOfPropertyKeys)(e),s=i.reduce(((r,i)=>i in r?{...r,[i]:h((0,a.Index)(e,[i]),t,`${n}/${i}`,r[i])}:r),r);if(!(0,l.IsTransform)(e.unevaluatedProperties))return p(e,n,s);const u=Object.getOwnPropertyNames(s),f=e.unevaluatedProperties,d=u.reduce(((e,t)=>i.includes(t)?e:{...e,[t]:p(f,`${n}/${t}`,e[t])}),s);return p(e,n,d)}(d,f,n,i);case"Not":return function(e,t,n,r){return p(e,n,h(e.not,t,n,r))}(d,f,n,i);case"Object":return function(e,t,n,r){if(!(0,c.IsStandardObject)(r))return p(e,n,r);const i=(0,o.KeyOfPropertyKeys)(e),a=i.reduce(((r,i)=>i in r?{...r,[i]:h(e.properties[i],t,`${n}/${i}`,r[i])}:r),r);if(!(0,l.IsSchema)(e.additionalProperties))return p(e,n,a);const s=Object.getOwnPropertyNames(a),u=e.additionalProperties,f=s.reduce(((e,t)=>i.includes(t)?e:{...e,[t]:p(u,`${n}/${t}`,e[t])}),a);return p(e,n,f)}(d,f,n,i);case"Record":return function(e,t,n,r){if(!(0,c.IsStandardObject)(r))return p(e,n,r);const i=Object.getOwnPropertyNames(e.patternProperties)[0],o=new RegExp(i),a=Object.getOwnPropertyNames(r).reduce(((r,a)=>o.test(a)?{...r,[a]:h(e.patternProperties[i],t,`${n}/${a}`,r[a])}:r),r);if(!(0,l.IsSchema)(e.additionalProperties))return p(e,n,a);const s=Object.getOwnPropertyNames(a),u=e.additionalProperties,f=s.reduce(((e,t)=>o.test(t)?e:{...e,[t]:p(u,`${n}/${t}`,e[t])}),a);return p(e,n,f)}(d,f,n,i);case"Ref":case"This":return function(e,t,n,r){return p(e,n,h((0,s.Deref)(e,t),t,n,r))}(d,f,n,i);case"Symbol":default:return p(d,n,i);case"Tuple":return function(e,t,n,r){return(0,c.IsArray)(r)&&(0,c.IsArray)(e.items)?p(e,n,e.items.map(((e,i)=>h(e,t,`${n}/${i}`,r[i])))):p(e,n,r)}(d,f,n,i);case"Union":return function(e,t,n,r){for(const i of e.anyOf)if((0,u.Check)(i,t,r))return p(e,n,h(i,t,n,r));return p(e,n,r)}(d,f,n,i)}}t.TransformDecodeError=d,t.TransformDecode=function(e,t,n){return h(e,t,"",n)}},72009:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TransformEncode=t.TransformEncodeError=t.TransformEncodeCheckError=void 0;const r=n(65834),i=n(759),o=n(19131),a=n(42387),s=n(16996),u=n(30482),c=n(91808),l=n(48733);class f extends i.TypeBoxError{constructor(e,t,n){super("The encoded value does not match the expected schema"),this.schema=e,this.value=t,this.error=n}}t.TransformEncodeCheckError=f;class d extends i.TypeBoxError{constructor(e,t,n,r){super(`${r instanceof Error?r.message:"Unknown error"}`),this.schema=e,this.path=t,this.value=n,this.error=r}}function p(e,t,n){try{return(0,l.IsTransform)(e)?e[r.TransformKind].Encode(n):n}catch(r){throw new d(e,t,n,r)}}function h(e,t,n,i){const f="string"==typeof e.$id?[...t,e]:t,d=e;switch(e[r.Kind]){case"Array":return function(e,t,n,r){const i=p(e,n,r);return(0,c.IsArray)(i)?i.map(((r,i)=>h(e.items,t,`${n}/${i}`,r))):i}(d,f,n,i);case"Intersect":return function(e,t,n,r){const i=p(e,n,r);if(!(0,c.IsStandardObject)(r)||(0,c.IsValueType)(r))return i;const s=(0,o.KeyOfPropertyKeys)(e),u=s.reduce(((r,o)=>o in i?{...r,[o]:h((0,a.Index)(e,[o]),t,`${n}/${o}`,r[o])}:r),i);if(!(0,l.IsTransform)(e.unevaluatedProperties))return p(e,n,u);const f=Object.getOwnPropertyNames(u),d=e.unevaluatedProperties;return f.reduce(((e,t)=>s.includes(t)?e:{...e,[t]:p(d,`${n}/${t}`,e[t])}),u)}(d,f,n,i);case"Not":return function(e,t,n,r){return p(e.not,n,p(e,n,r))}(d,0,n,i);case"Object":return function(e,t,n,r){const i=p(e,n,r);if(!(0,c.IsStandardObject)(r))return i;const a=(0,o.KeyOfPropertyKeys)(e),s=a.reduce(((r,i)=>i in r?{...r,[i]:h(e.properties[i],t,`${n}/${i}`,r[i])}:r),i);if(!(0,l.IsSchema)(e.additionalProperties))return s;const u=Object.getOwnPropertyNames(s),f=e.additionalProperties;return u.reduce(((e,t)=>a.includes(t)?e:{...e,[t]:p(f,`${n}/${t}`,e[t])}),s)}(d,f,n,i);case"Record":return function(e,t,n,r){const i=p(e,n,r);if(!(0,c.IsStandardObject)(r))return i;const o=Object.getOwnPropertyNames(e.patternProperties)[0],a=new RegExp(o),s=Object.getOwnPropertyNames(r).reduce(((r,i)=>a.test(i)?{...r,[i]:h(e.patternProperties[o],t,`${n}/${i}`,r[i])}:r),i);if(!(0,l.IsSchema)(e.additionalProperties))return p(e,n,s);const u=Object.getOwnPropertyNames(s),f=e.additionalProperties;return u.reduce(((e,t)=>a.test(t)?e:{...e,[t]:p(f,`${n}/${t}`,e[t])}),s)}(d,f,n,i);case"Ref":case"This":return function(e,t,n,r){return p(e,n,h((0,s.Deref)(e,t),t,n,r))}(d,f,n,i);case"Tuple":return function(e,t,n,r){const i=p(e,n,r);return(0,c.IsArray)(e.items)?e.items.map(((e,r)=>h(e,t,`${n}/${r}`,i[r]))):[]}(d,f,n,i);case"Union":return function(e,t,n,r){for(const i of e.anyOf)if((0,u.Check)(i,t,r))return p(e,n,h(i,t,n,r));for(const i of e.anyOf){const o=h(i,t,n,r);if((0,u.Check)(e,t,o))return p(e,n,o)}return p(e,n,r)}(d,f,n,i);default:return p(d,n,i)}}t.TransformEncodeError=d,t.TransformEncode=function(e,t,n){return h(e,t,"",n)}},16197:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.HasTransform=void 0;const r=n(16996),i=n(65834),o=n(48733),a=n(91808);function s(e,t){const n=(0,a.IsString)(e.$id)?[...t,e]:t,c=e;if(e.$id&&u.has(e.$id))return!1;switch(e.$id&&u.add(e.$id),e[i.Kind]){case"Array":case"AsyncIterator":case"Iterator":return function(e,t){return(0,o.IsTransform)(e)||s(e.items,t)}(c,n);case"Constructor":case"Function":return function(e,t){return(0,o.IsTransform)(e)||s(e.returns,t)||e.parameters.some((e=>s(e,t)))}(c,n);case"Intersect":return function(e,t){return(0,o.IsTransform)(e)||(0,o.IsTransform)(e.unevaluatedProperties)||e.allOf.some((e=>s(e,t)))}(c,n);case"Not":return function(e,t){return(0,o.IsTransform)(e)||s(e.not,t)}(c,n);case"Object":return function(e,t){return(0,o.IsTransform)(e)||Object.values(e.properties).some((e=>s(e,t)))||(0,o.IsSchema)(e.additionalProperties)&&s(e.additionalProperties,t)}(c,n);case"Promise":return function(e,t){return(0,o.IsTransform)(e)||s(e.item,t)}(c,n);case"Record":return function(e,t){const n=Object.getOwnPropertyNames(e.patternProperties)[0],r=e.patternProperties[n];return(0,o.IsTransform)(e)||s(r,t)||(0,o.IsSchema)(e.additionalProperties)&&(0,o.IsTransform)(e.additionalProperties)}(c,n);case"Ref":case"This":return function(e,t){return!!(0,o.IsTransform)(e)||s((0,r.Deref)(e,t),t)}(c,n);case"Tuple":return function(e,t){return(0,o.IsTransform)(e)||!(0,a.IsUndefined)(e.items)&&e.items.some((e=>s(e,t)))}(c,n);case"Union":return function(e,t){return(0,o.IsTransform)(e)||e.anyOf.some((e=>s(e,t)))}(c,n);default:return(0,o.IsTransform)(e)}}const u=new Set;t.HasTransform=function(e,t){return u.clear(),s(e,t)}},20127:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(72857),t),i(n(72009),t),i(n(16197),t)},40169:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Value=void 0,t.Value=n(15675)},15675:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Mutate=t.Patch=t.Hash=t.Diff=t.Equal=t.Errors=t.Encode=t.Default=t.Decode=t.Clone=t.Convert=t.Clean=t.Check=t.Create=t.Cast=void 0;const r=n(20127),i=n(55698),o=n(99562),a=n(54878),s=n(99756),u=n(76466),c=n(68898),l=n(14392),f=n(79644),d=n(30482),p=n(42823),h=n(33005),g=n(70530);function m(...e){return d.Check.apply(d.Check,e)}function y(...e){return g.Errors.apply(g.Errors,e)}t.Cast=function(...e){return s.Cast.apply(s.Cast,e)},t.Create=function(...e){return l.Create.apply(l.Create,e)},t.Check=m,t.Clean=function(...e){return f.Clean.apply(f.Clean,e)},t.Convert=function(...e){return c.Convert.apply(c.Convert,e)},t.Clone=function(e){return(0,u.Clone)(e)},t.Decode=function(...e){const[t,n,i]=3===e.length?[e[0],e[1],e[2]]:[e[0],[],e[1]];if(!m(t,n,i))throw new r.TransformDecodeCheckError(t,i,y(t,n,i).First());return(0,r.TransformDecode)(t,n,i)},t.Default=function(...e){return p.Default.apply(p.Default,e)},t.Encode=function(...e){const[t,n,i]=3===e.length?[e[0],e[1],e[2]]:[e[0],[],e[1]],o=(0,r.TransformEncode)(t,n,i);if(!m(t,n,o))throw new r.TransformEncodeCheckError(t,o,y(t,n,o).First());return o},t.Errors=y,t.Equal=function(e,t){return(0,a.Equal)(e,t)},t.Diff=function(e,t){return(0,h.Diff)(e,t)},t.Hash=function(e){return(0,o.Hash)(e)},t.Patch=function(e,t){return(0,h.Patch)(e,t)},t.Mutate=function(e,t){(0,i.Mutate)(e,t)}},13490:function(e,t,n){"use strict";var r=n(58908);e.exports=function(e,t){return void 0===t&&(t=!1),function(n,i,o){if(n)e(n);else if(i.statusCode>=400&&i.statusCode<=599){var a=o;if(t)if(r.TextDecoder){var s=function(e){void 0===e&&(e="");return e.toLowerCase().split(";").reduce((function(e,t){var n=t.split("="),r=n[0],i=n[1];return"charset"===r.trim()?i.trim():e}),"utf-8")}(i.headers&&i.headers["content-type"]);try{a=new TextDecoder(s).decode(o)}catch(e){}}else a=String.fromCharCode.apply(null,new Uint8Array(o));e({cause:a})}else e(null,o)}}},9603:function(e,t,n){"use strict";var r=n(58908),i=n(10434),o=n(27376);s.httpHandler=n(13490);function a(e,t,n){var r=e;return o(t)?(n=t,"string"==typeof e&&(r={uri:e})):r=i({},t,{uri:e}),r.callback=n,r}function s(e,t,n){return u(t=a(e,t,n))}function u(e){if(void 0===e.callback)throw new Error("callback argument missing");var t=!1,n=function(n,r,i){t||(t=!0,e.callback(n,r,i))};function r(){var e=void 0;if(e=c.response?c.response:c.responseText||function(e){try{if("document"===e.responseType)return e.responseXML;var t=e.responseXML&&"parsererror"===e.responseXML.documentElement.nodeName;if(""===e.responseType&&!t)return e.responseXML}catch(e){}return null}(c),m)try{e=JSON.parse(e)}catch(e){}return e}function i(e){return clearTimeout(l),e instanceof Error||(e=new Error(""+(e||"Unknown XMLHttpRequest Error"))),e.statusCode=0,n(e,y)}function o(){if(!u){var t;clearTimeout(l),t=e.useXDR&&void 0===c.status?200:1223===c.status?204:c.status;var i=y,o=null;return 0!==t?(i={body:r(),statusCode:t,method:d,headers:{},url:f,rawRequest:c},c.getAllResponseHeaders&&(i.headers=function(e){var t={};return e?(e.trim().split("\n").forEach((function(e){var n=e.indexOf(":"),r=e.slice(0,n).trim().toLowerCase(),i=e.slice(n+1).trim();void 0===t[r]?t[r]=i:Array.isArray(t[r])?t[r].push(i):t[r]=[t[r],i]})),t):t}(c.getAllResponseHeaders()))):o=new Error("Internal XMLHttpRequest Error"),n(o,i,i.body)}}var a,u,c=e.xhr||null;c||(c=e.cors||e.useXDR?new s.XDomainRequest:new s.XMLHttpRequest);var l,f=c.url=e.uri||e.url,d=c.method=e.method||"GET",p=e.body||e.data,h=c.headers=e.headers||{},g=!!e.sync,m=!1,y={body:void 0,headers:{},statusCode:0,method:d,url:f,rawRequest:c};if("json"in e&&!1!==e.json&&(m=!0,h.accept||h.Accept||(h.Accept="application/json"),"GET"!==d&&"HEAD"!==d&&(h["content-type"]||h["Content-Type"]||(h["Content-Type"]="application/json"),p=JSON.stringify(!0===e.json?p:e.json))),c.onreadystatechange=function(){4===c.readyState&&setTimeout(o,0)},c.onload=o,c.onerror=i,c.onprogress=function(){},c.onabort=function(){u=!0},c.ontimeout=i,c.open(d,f,!g,e.username,e.password),g||(c.withCredentials=!!e.withCredentials),!g&&e.timeout>0&&(l=setTimeout((function(){if(!u){u=!0,c.abort("timeout");var e=new Error("XMLHttpRequest timeout");e.code="ETIMEDOUT",i(e)}}),e.timeout)),c.setRequestHeader)for(a in h)h.hasOwnProperty(a)&&c.setRequestHeader(a,h[a]);else if(e.headers&&!function(e){for(var t in e)if(e.hasOwnProperty(t))return!1;return!0}(e.headers))throw new Error("Headers cannot be set on an XDomainRequest object");return"responseType"in e&&(c.responseType=e.responseType),"beforeSend"in e&&"function"==typeof e.beforeSend&&e.beforeSend(c),c.send(p||null),c}e.exports=s,e.exports.default=s,s.XMLHttpRequest=r.XMLHttpRequest||function(){},s.XDomainRequest="withCredentials"in new s.XMLHttpRequest?s.XMLHttpRequest:r.XDomainRequest,function(e,t){for(var n=0;n<e.length;n++)t(e[n])}(["get","put","post","patch","head","delete"],(function(e){s["delete"===e?"del":e]=function(t,n,r){return(n=a(t,n,r)).method=e.toUpperCase(),u(n)}}))},72167:function(e,t){"use strict";function n(e,t){return void 0===t&&(t=Object),t&&"function"==typeof t.freeze?t.freeze(e):e}var r=n({HTML:"text/html",isHTML:function(e){return e===r.HTML},XML_APPLICATION:"application/xml",XML_TEXT:"text/xml",XML_XHTML_APPLICATION:"application/xhtml+xml",XML_SVG_IMAGE:"image/svg+xml"}),i=n({HTML:"http://www.w3.org/1999/xhtml",isHTML:function(e){return e===i.HTML},SVG:"http://www.w3.org/2000/svg",XML:"http://www.w3.org/XML/1998/namespace",XMLNS:"http://www.w3.org/2000/xmlns/"});t.assign=function(e,t){if(null===e||"object"!=typeof e)throw new TypeError("target is not an object");for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e},t.find=function(e,t,n){if(void 0===n&&(n=Array.prototype),e&&"function"==typeof n.find)return n.find.call(e,t);for(var r=0;r<e.length;r++)if(Object.prototype.hasOwnProperty.call(e,r)){var i=e[r];if(t.call(void 0,i,r,e))return i}},t.freeze=n,t.MIME_TYPE=r,t.NAMESPACE=i},86129:function(e,t,n){var r=n(72167),i=n(41146),o=n(31045),a=n(76925),s=i.DOMImplementation,u=r.NAMESPACE,c=a.ParseError,l=a.XMLReader;function f(e){return e.replace(/\r[\n\u0085]/g,"\n").replace(/[\r\u0085\u2028]/g,"\n")}function d(e){this.options=e||{locator:{}}}function p(){this.cdata=!1}function h(e,t){t.lineNumber=e.lineNumber,t.columnNumber=e.columnNumber}function g(e){if(e)return"\n@"+(e.systemId||"")+"#[line:"+e.lineNumber+",col:"+e.columnNumber+"]"}function m(e,t,n){return"string"==typeof e?e.substr(t,n):e.length>=t+n||t?new java.lang.String(e,t,n)+"":e}function y(e,t){e.currentElement?e.currentElement.appendChild(t):e.doc.appendChild(t)}d.prototype.parseFromString=function(e,t){var n=this.options,r=new l,i=n.domBuilder||new p,a=n.errorHandler,s=n.locator,c=n.xmlns||{},d=/\/x?html?$/.test(t),h=d?o.HTML_ENTITIES:o.XML_ENTITIES;s&&i.setDocumentLocator(s),r.errorHandler=function(e,t,n){if(!e){if(t instanceof p)return t;e=t}var r={},i=e instanceof Function;function o(t){var o=e[t];!o&&i&&(o=2==e.length?function(n){e(t,n)}:e),r[t]=o&&function(e){o("[xmldom "+t+"]\t"+e+g(n))}||function(){}}return n=n||{},o("warning"),o("error"),o("fatalError"),r}(a,i,s),r.domBuilder=n.domBuilder||i,d&&(c[""]=u.HTML),c.xml=c.xml||u.XML;var m=n.normalizeLineEndings||f;return e&&"string"==typeof e?r.parse(m(e),c,h):r.errorHandler.error("invalid doc source"),i.doc},p.prototype={startDocument:function(){this.doc=(new s).createDocument(null,null,null),this.locator&&(this.doc.documentURI=this.locator.systemId)},startElement:function(e,t,n,r){var i=this.doc,o=i.createElementNS(e,n||t),a=r.length;y(this,o),this.currentElement=o,this.locator&&h(this.locator,o);for(var s=0;s<a;s++){e=r.getURI(s);var u=r.getValue(s),c=(n=r.getQName(s),i.createAttributeNS(e,n));this.locator&&h(r.getLocator(s),c),c.value=c.nodeValue=u,o.setAttributeNode(c)}},endElement:function(e,t,n){var r=this.currentElement;r.tagName;this.currentElement=r.parentNode},startPrefixMapping:function(e,t){},endPrefixMapping:function(e){},processingInstruction:function(e,t){var n=this.doc.createProcessingInstruction(e,t);this.locator&&h(this.locator,n),y(this,n)},ignorableWhitespace:function(e,t,n){},characters:function(e,t,n){if(e=m.apply(this,arguments)){if(this.cdata)var r=this.doc.createCDATASection(e);else r=this.doc.createTextNode(e);this.currentElement?this.currentElement.appendChild(r):/^\s*$/.test(e)&&this.doc.appendChild(r),this.locator&&h(this.locator,r)}},skippedEntity:function(e){},endDocument:function(){this.doc.normalize()},setDocumentLocator:function(e){(this.locator=e)&&(e.lineNumber=0)},comment:function(e,t,n){e=m.apply(this,arguments);var r=this.doc.createComment(e);this.locator&&h(this.locator,r),y(this,r)},startCDATA:function(){this.cdata=!0},endCDATA:function(){this.cdata=!1},startDTD:function(e,t,n){var r=this.doc.implementation;if(r&&r.createDocumentType){var i=r.createDocumentType(e,t,n);this.locator&&h(this.locator,i),y(this,i),this.doc.doctype=i}},warning:function(e){console.warn("[xmldom warning]\t"+e,g(this.locator))},error:function(e){console.error("[xmldom error]\t"+e,g(this.locator))},fatalError:function(e){throw new c(e,this.locator)}},"endDTD,startEntity,endEntity,attributeDecl,elementDecl,externalEntityDecl,internalEntityDecl,resolveEntity,getExternalSubset,notationDecl,unparsedEntityDecl".replace(/\w+/g,(function(e){p.prototype[e]=function(){return null}})),t.DOMParser=d},41146:function(e,t,n){var r=n(72167),i=r.find,o=r.NAMESPACE;function a(e){return""!==e}function s(e,t){return e.hasOwnProperty(t)||(e[t]=!0),e}function u(e){if(!e)return[];var t=function(e){return e?e.split(/[\t\n\f\r ]+/).filter(a):[]}(e);return Object.keys(t.reduce(s,{}))}function c(e,t){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])}function l(e,t){var n=e.prototype;if(!(n instanceof t)){function r(){}r.prototype=t.prototype,c(n,r=new r),e.prototype=n=r}n.constructor!=e&&("function"!=typeof e&&console.error("unknown Class:"+e),n.constructor=e)}var f={},d=f.ELEMENT_NODE=1,p=f.ATTRIBUTE_NODE=2,h=f.TEXT_NODE=3,g=f.CDATA_SECTION_NODE=4,m=f.ENTITY_REFERENCE_NODE=5,y=f.ENTITY_NODE=6,v=f.PROCESSING_INSTRUCTION_NODE=7,b=f.COMMENT_NODE=8,_=f.DOCUMENT_NODE=9,w=f.DOCUMENT_TYPE_NODE=10,T=f.DOCUMENT_FRAGMENT_NODE=11,x=f.NOTATION_NODE=12,S={},k={},E=(S.INDEX_SIZE_ERR=(k[1]="Index size error",1),S.DOMSTRING_SIZE_ERR=(k[2]="DOMString size error",2),S.HIERARCHY_REQUEST_ERR=(k[3]="Hierarchy request error",3)),O=(S.WRONG_DOCUMENT_ERR=(k[4]="Wrong document",4),S.INVALID_CHARACTER_ERR=(k[5]="Invalid character",5),S.NO_DATA_ALLOWED_ERR=(k[6]="No data allowed",6),S.NO_MODIFICATION_ALLOWED_ERR=(k[7]="No modification allowed",7),S.NOT_FOUND_ERR=(k[8]="Not found",8)),C=(S.NOT_SUPPORTED_ERR=(k[9]="Not supported",9),S.INUSE_ATTRIBUTE_ERR=(k[10]="Attribute in use",10));S.INVALID_STATE_ERR=(k[11]="Invalid state",11),S.SYNTAX_ERR=(k[12]="Syntax error",12),S.INVALID_MODIFICATION_ERR=(k[13]="Invalid modification",13),S.NAMESPACE_ERR=(k[14]="Invalid namespace",14),S.INVALID_ACCESS_ERR=(k[15]="Invalid access",15);function L(e,t){if(t instanceof Error)var n=t;else n=this,Error.call(this,k[e]),this.message=k[e],Error.captureStackTrace&&Error.captureStackTrace(this,L);return n.code=e,t&&(this.message=this.message+": "+t),n}function A(){}function I(e,t){this._node=e,this._refresh=t,P(this)}function P(e){var t=e._node._inc||e._node.ownerDocument._inc;if(e._inc!=t){var n=e._refresh(e._node);be(e,"length",n.length),c(n,e),e._inc=t}}function M(){}function R(e,t){for(var n=e.length;n--;)if(e[n]===t)return n}function j(e,t,n,r){if(r?t[R(t,r)]=n:t[t.length++]=n,e){n.ownerElement=e;var i=e.ownerDocument;i&&(r&&H(i,e,r),function(e,t,n){e&&e._inc++,n.namespaceURI===o.XMLNS&&(t._nsMap[n.prefix?n.localName:""]=n.value)}(i,e,n))}}function D(e,t,n){var r=R(t,n);if(!(r>=0))throw new L(O,new Error(e.tagName+"@"+n));for(var i=t.length-1;r<i;)t[r]=t[++r];if(t.length=i,e){var o=e.ownerDocument;o&&(H(o,e,n),n.ownerElement=null)}}function N(){}function B(){}function U(e){return("<"==e?"&lt;":">"==e&&"&gt;")||"&"==e&&"&amp;"||'"'==e&&"&quot;"||"&#"+e.charCodeAt()+";"}function F(e,t){if(t(e))return!0;if(e=e.firstChild)do{if(F(e,t))return!0}while(e=e.nextSibling)}function z(){this.ownerDocument=this}function H(e,t,n,r){e&&e._inc++,n.namespaceURI===o.XMLNS&&delete t._nsMap[n.prefix?n.localName:""]}function Z(e,t,n){if(e&&e._inc){e._inc++;var r=t.childNodes;if(n)r[r.length++]=n;else{for(var i=t.firstChild,o=0;i;)r[o++]=i,i=i.nextSibling;r.length=o,delete r[r.length]}}}function q(e,t){var n=t.previousSibling,r=t.nextSibling;return n?n.nextSibling=r:e.firstChild=r,r?r.previousSibling=n:e.lastChild=n,t.parentNode=null,t.previousSibling=null,t.nextSibling=null,Z(e.ownerDocument,e),t}function V(e){return e&&e.nodeType===B.DOCUMENT_TYPE_NODE}function W(e){return e&&e.nodeType===B.ELEMENT_NODE}function G(e){return e&&e.nodeType===B.TEXT_NODE}function $(e,t){var n=e.childNodes||[];if(i(n,W)||V(t))return!1;var r=i(n,V);return!(t&&r&&n.indexOf(r)>n.indexOf(t))}function Y(e,t){var n=e.childNodes||[];if(i(n,(function(e){return W(e)&&e!==t})))return!1;var r=i(n,V);return!(t&&r&&n.indexOf(r)>n.indexOf(t))}function K(e,t,n){if(!function(e){return e&&(e.nodeType===B.DOCUMENT_NODE||e.nodeType===B.DOCUMENT_FRAGMENT_NODE||e.nodeType===B.ELEMENT_NODE)}(e))throw new L(E,"Unexpected parent node type "+e.nodeType);if(n&&n.parentNode!==e)throw new L(O,"child not in parent");if(!function(e){return e&&(W(e)||G(e)||V(e)||e.nodeType===B.DOCUMENT_FRAGMENT_NODE||e.nodeType===B.COMMENT_NODE||e.nodeType===B.PROCESSING_INSTRUCTION_NODE)}(t)||V(t)&&e.nodeType!==B.DOCUMENT_NODE)throw new L(E,"Unexpected node type "+t.nodeType+" for parent node type "+e.nodeType)}function X(e,t,n){var r=e.childNodes||[],o=t.childNodes||[];if(t.nodeType===B.DOCUMENT_FRAGMENT_NODE){var a=o.filter(W);if(a.length>1||i(o,G))throw new L(E,"More than one element or text in fragment");if(1===a.length&&!$(e,n))throw new L(E,"Element in fragment can not be inserted before doctype")}if(W(t)&&!$(e,n))throw new L(E,"Only one element can be added and only after doctype");if(V(t)){if(i(r,V))throw new L(E,"Only one doctype is allowed");var s=i(r,W);if(n&&r.indexOf(s)<r.indexOf(n))throw new L(E,"Doctype can only be inserted before an element");if(!n&&s)throw new L(E,"Doctype can not be appended since element is present")}}function Q(e,t,n){var r=e.childNodes||[],o=t.childNodes||[];if(t.nodeType===B.DOCUMENT_FRAGMENT_NODE){var a=o.filter(W);if(a.length>1||i(o,G))throw new L(E,"More than one element or text in fragment");if(1===a.length&&!Y(e,n))throw new L(E,"Element in fragment can not be inserted before doctype")}if(W(t)&&!Y(e,n))throw new L(E,"Only one element can be added and only after doctype");if(V(t)){if(i(r,(function(e){return V(e)&&e!==n})))throw new L(E,"Only one doctype is allowed");var s=i(r,W);if(n&&r.indexOf(s)<r.indexOf(n))throw new L(E,"Doctype can only be inserted before an element")}}function J(e,t,n,r){K(e,t,n),e.nodeType===B.DOCUMENT_NODE&&(r||X)(e,t,n);var i=t.parentNode;if(i&&i.removeChild(t),t.nodeType===T){var o=t.firstChild;if(null==o)return t;var a=t.lastChild}else o=a=t;var s=n?n.previousSibling:e.lastChild;o.previousSibling=s,a.nextSibling=n,s?s.nextSibling=o:e.firstChild=o,null==n?e.lastChild=a:n.previousSibling=a;do{o.parentNode=e}while(o!==a&&(o=o.nextSibling));return Z(e.ownerDocument||e,e),t.nodeType==T&&(t.firstChild=t.lastChild=null),t}function ee(){this._nsMap={}}function te(){}function ne(){}function re(){}function ie(){}function oe(){}function ae(){}function se(){}function ue(){}function ce(){}function le(){}function fe(){}function de(){}function pe(e,t){var n=[],r=9==this.nodeType&&this.documentElement||this,i=r.prefix,o=r.namespaceURI;if(o&&null==i&&null==(i=r.lookupPrefix(o)))var a=[{namespace:o,prefix:null}];return me(this,n,e,t,a),n.join("")}function he(e,t,n){var r=e.prefix||"",i=e.namespaceURI;if(!i)return!1;if("xml"===r&&i===o.XML||i===o.XMLNS)return!1;for(var a=n.length;a--;){var s=n[a];if(s.prefix===r)return s.namespace!==i}return!0}function ge(e,t,n){e.push(" ",t,'="',n.replace(/[<>&"\t\n\r]/g,U),'"')}function me(e,t,n,r,i){if(i||(i=[]),r){if(!(e=r(e)))return;if("string"==typeof e)return void t.push(e)}switch(e.nodeType){case d:var a=e.attributes,s=a.length,u=e.firstChild,c=e.tagName,l=c;if(!(n=o.isHTML(e.namespaceURI)||n)&&!e.prefix&&e.namespaceURI){for(var f,y=0;y<a.length;y++)if("xmlns"===a.item(y).name){f=a.item(y).value;break}if(!f)for(var x=i.length-1;x>=0;x--){if(""===(S=i[x]).prefix&&S.namespace===e.namespaceURI){f=S.namespace;break}}if(f!==e.namespaceURI)for(x=i.length-1;x>=0;x--){var S;if((S=i[x]).namespace===e.namespaceURI){S.prefix&&(l=S.prefix+":"+c);break}}}t.push("<",l);for(var k=0;k<s;k++){"xmlns"==(E=a.item(k)).prefix?i.push({prefix:E.localName,namespace:E.value}):"xmlns"==E.nodeName&&i.push({prefix:"",namespace:E.value})}for(k=0;k<s;k++){var E,O,C;if(he(E=a.item(k),0,i))ge(t,(O=E.prefix||"")?"xmlns:"+O:"xmlns",C=E.namespaceURI),i.push({prefix:O,namespace:C});me(E,t,n,r,i)}if(c===l&&he(e,0,i))ge(t,(O=e.prefix||"")?"xmlns:"+O:"xmlns",C=e.namespaceURI),i.push({prefix:O,namespace:C});if(u||n&&!/^(?:meta|link|img|br|hr|input)$/i.test(c)){if(t.push(">"),n&&/^script$/i.test(c))for(;u;)u.data?t.push(u.data):me(u,t,n,r,i.slice()),u=u.nextSibling;else for(;u;)me(u,t,n,r,i.slice()),u=u.nextSibling;t.push("</",l,">")}else t.push("/>");return;case _:case T:for(u=e.firstChild;u;)me(u,t,n,r,i.slice()),u=u.nextSibling;return;case p:return ge(t,e.name,e.value);case h:return t.push(e.data.replace(/[<&>]/g,U));case g:return t.push("<![CDATA[",e.data,"]]>");case b:return t.push("\x3c!--",e.data,"--\x3e");case w:var L=e.publicId,A=e.systemId;if(t.push("<!DOCTYPE ",e.name),L)t.push(" PUBLIC ",L),A&&"."!=A&&t.push(" ",A),t.push(">");else if(A&&"."!=A)t.push(" SYSTEM ",A,">");else{var I=e.internalSubset;I&&t.push(" [",I,"]"),t.push(">")}return;case v:return t.push("<?",e.target," ",e.data,"?>");case m:return t.push("&",e.nodeName,";");default:t.push("??",e.nodeName)}}function ye(e,t,n){var r;switch(t.nodeType){case d:(r=t.cloneNode(!1)).ownerDocument=e;case T:break;case p:n=!0}if(r||(r=t.cloneNode(!1)),r.ownerDocument=e,r.parentNode=null,n)for(var i=t.firstChild;i;)r.appendChild(ye(e,i,n)),i=i.nextSibling;return r}function ve(e,t,n){var r=new t.constructor;for(var i in t)if(Object.prototype.hasOwnProperty.call(t,i)){var o=t[i];"object"!=typeof o&&o!=r[i]&&(r[i]=o)}switch(t.childNodes&&(r.childNodes=new A),r.ownerDocument=e,r.nodeType){case d:var a=t.attributes,s=r.attributes=new M,u=a.length;s._ownerElement=r;for(var c=0;c<u;c++)r.setAttributeNode(ve(e,a.item(c),!0));break;case p:n=!0}if(n)for(var l=t.firstChild;l;)r.appendChild(ve(e,l,n)),l=l.nextSibling;return r}function be(e,t,n){e[t]=n}L.prototype=Error.prototype,c(S,L),A.prototype={length:0,item:function(e){return this[e]||null},toString:function(e,t){for(var n=[],r=0;r<this.length;r++)me(this[r],n,e,t);return n.join("")},filter:function(e){return Array.prototype.filter.call(this,e)},indexOf:function(e){return Array.prototype.indexOf.call(this,e)}},I.prototype.item=function(e){return P(this),this[e]},l(I,A),M.prototype={length:0,item:A.prototype.item,getNamedItem:function(e){for(var t=this.length;t--;){var n=this[t];if(n.nodeName==e)return n}},setNamedItem:function(e){var t=e.ownerElement;if(t&&t!=this._ownerElement)throw new L(C);var n=this.getNamedItem(e.nodeName);return j(this._ownerElement,this,e,n),n},setNamedItemNS:function(e){var t,n=e.ownerElement;if(n&&n!=this._ownerElement)throw new L(C);return t=this.getNamedItemNS(e.namespaceURI,e.localName),j(this._ownerElement,this,e,t),t},removeNamedItem:function(e){var t=this.getNamedItem(e);return D(this._ownerElement,this,t),t},removeNamedItemNS:function(e,t){var n=this.getNamedItemNS(e,t);return D(this._ownerElement,this,n),n},getNamedItemNS:function(e,t){for(var n=this.length;n--;){var r=this[n];if(r.localName==t&&r.namespaceURI==e)return r}return null}},N.prototype={hasFeature:function(e,t){return!0},createDocument:function(e,t,n){var r=new z;if(r.implementation=this,r.childNodes=new A,r.doctype=n||null,n&&r.appendChild(n),t){var i=r.createElementNS(e,t);r.appendChild(i)}return r},createDocumentType:function(e,t,n){var r=new ae;return r.name=e,r.nodeName=e,r.publicId=t||"",r.systemId=n||"",r}},B.prototype={firstChild:null,lastChild:null,previousSibling:null,nextSibling:null,attributes:null,parentNode:null,childNodes:null,ownerDocument:null,nodeValue:null,namespaceURI:null,prefix:null,localName:null,insertBefore:function(e,t){return J(this,e,t)},replaceChild:function(e,t){J(this,e,t,Q),t&&this.removeChild(t)},removeChild:function(e){return q(this,e)},appendChild:function(e){return this.insertBefore(e,null)},hasChildNodes:function(){return null!=this.firstChild},cloneNode:function(e){return ve(this.ownerDocument||this,this,e)},normalize:function(){for(var e=this.firstChild;e;){var t=e.nextSibling;t&&t.nodeType==h&&e.nodeType==h?(this.removeChild(t),e.appendData(t.data)):(e.normalize(),e=t)}},isSupported:function(e,t){return this.ownerDocument.implementation.hasFeature(e,t)},hasAttributes:function(){return this.attributes.length>0},lookupPrefix:function(e){for(var t=this;t;){var n=t._nsMap;if(n)for(var r in n)if(Object.prototype.hasOwnProperty.call(n,r)&&n[r]===e)return r;t=t.nodeType==p?t.ownerDocument:t.parentNode}return null},lookupNamespaceURI:function(e){for(var t=this;t;){var n=t._nsMap;if(n&&Object.prototype.hasOwnProperty.call(n,e))return n[e];t=t.nodeType==p?t.ownerDocument:t.parentNode}return null},isDefaultNamespace:function(e){return null==this.lookupPrefix(e)}},c(f,B),c(f,B.prototype),z.prototype={nodeName:"#document",nodeType:_,doctype:null,documentElement:null,_inc:1,insertBefore:function(e,t){if(e.nodeType==T){for(var n=e.firstChild;n;){var r=n.nextSibling;this.insertBefore(n,t),n=r}return e}return J(this,e,t),e.ownerDocument=this,null===this.documentElement&&e.nodeType===d&&(this.documentElement=e),e},removeChild:function(e){return this.documentElement==e&&(this.documentElement=null),q(this,e)},replaceChild:function(e,t){J(this,e,t,Q),e.ownerDocument=this,t&&this.removeChild(t),W(e)&&(this.documentElement=e)},importNode:function(e,t){return ye(this,e,t)},getElementById:function(e){var t=null;return F(this.documentElement,(function(n){if(n.nodeType==d&&n.getAttribute("id")==e)return t=n,!0})),t},getElementsByClassName:function(e){var t=u(e);return new I(this,(function(n){var r=[];return t.length>0&&F(n.documentElement,(function(i){if(i!==n&&i.nodeType===d){var o=i.getAttribute("class");if(o){var a=e===o;if(!a){var s=u(o);a=t.every((c=s,function(e){return c&&-1!==c.indexOf(e)}))}a&&r.push(i)}}var c})),r}))},createElement:function(e){var t=new ee;return t.ownerDocument=this,t.nodeName=e,t.tagName=e,t.localName=e,t.childNodes=new A,(t.attributes=new M)._ownerElement=t,t},createDocumentFragment:function(){var e=new le;return e.ownerDocument=this,e.childNodes=new A,e},createTextNode:function(e){var t=new re;return t.ownerDocument=this,t.appendData(e),t},createComment:function(e){var t=new ie;return t.ownerDocument=this,t.appendData(e),t},createCDATASection:function(e){var t=new oe;return t.ownerDocument=this,t.appendData(e),t},createProcessingInstruction:function(e,t){var n=new fe;return n.ownerDocument=this,n.tagName=n.target=e,n.nodeValue=n.data=t,n},createAttribute:function(e){var t=new te;return t.ownerDocument=this,t.name=e,t.nodeName=e,t.localName=e,t.specified=!0,t},createEntityReference:function(e){var t=new ce;return t.ownerDocument=this,t.nodeName=e,t},createElementNS:function(e,t){var n=new ee,r=t.split(":"),i=n.attributes=new M;return n.childNodes=new A,n.ownerDocument=this,n.nodeName=t,n.tagName=t,n.namespaceURI=e,2==r.length?(n.prefix=r[0],n.localName=r[1]):n.localName=t,i._ownerElement=n,n},createAttributeNS:function(e,t){var n=new te,r=t.split(":");return n.ownerDocument=this,n.nodeName=t,n.name=t,n.namespaceURI=e,n.specified=!0,2==r.length?(n.prefix=r[0],n.localName=r[1]):n.localName=t,n}},l(z,B),ee.prototype={nodeType:d,hasAttribute:function(e){return null!=this.getAttributeNode(e)},getAttribute:function(e){var t=this.getAttributeNode(e);return t&&t.value||""},getAttributeNode:function(e){return this.attributes.getNamedItem(e)},setAttribute:function(e,t){var n=this.ownerDocument.createAttribute(e);n.value=n.nodeValue=""+t,this.setAttributeNode(n)},removeAttribute:function(e){var t=this.getAttributeNode(e);t&&this.removeAttributeNode(t)},appendChild:function(e){return e.nodeType===T?this.insertBefore(e,null):function(e,t){return t.parentNode&&t.parentNode.removeChild(t),t.parentNode=e,t.previousSibling=e.lastChild,t.nextSibling=null,t.previousSibling?t.previousSibling.nextSibling=t:e.firstChild=t,e.lastChild=t,Z(e.ownerDocument,e,t),t}(this,e)},setAttributeNode:function(e){return this.attributes.setNamedItem(e)},setAttributeNodeNS:function(e){return this.attributes.setNamedItemNS(e)},removeAttributeNode:function(e){return this.attributes.removeNamedItem(e.nodeName)},removeAttributeNS:function(e,t){var n=this.getAttributeNodeNS(e,t);n&&this.removeAttributeNode(n)},hasAttributeNS:function(e,t){return null!=this.getAttributeNodeNS(e,t)},getAttributeNS:function(e,t){var n=this.getAttributeNodeNS(e,t);return n&&n.value||""},setAttributeNS:function(e,t,n){var r=this.ownerDocument.createAttributeNS(e,t);r.value=r.nodeValue=""+n,this.setAttributeNode(r)},getAttributeNodeNS:function(e,t){return this.attributes.getNamedItemNS(e,t)},getElementsByTagName:function(e){return new I(this,(function(t){var n=[];return F(t,(function(r){r===t||r.nodeType!=d||"*"!==e&&r.tagName!=e||n.push(r)})),n}))},getElementsByTagNameNS:function(e,t){return new I(this,(function(n){var r=[];return F(n,(function(i){i===n||i.nodeType!==d||"*"!==e&&i.namespaceURI!==e||"*"!==t&&i.localName!=t||r.push(i)})),r}))}},z.prototype.getElementsByTagName=ee.prototype.getElementsByTagName,z.prototype.getElementsByTagNameNS=ee.prototype.getElementsByTagNameNS,l(ee,B),te.prototype.nodeType=p,l(te,B),ne.prototype={data:"",substringData:function(e,t){return this.data.substring(e,e+t)},appendData:function(e){e=this.data+e,this.nodeValue=this.data=e,this.length=e.length},insertData:function(e,t){this.replaceData(e,0,t)},appendChild:function(e){throw new Error(k[E])},deleteData:function(e,t){this.replaceData(e,t,"")},replaceData:function(e,t,n){n=this.data.substring(0,e)+n+this.data.substring(e+t),this.nodeValue=this.data=n,this.length=n.length}},l(ne,B),re.prototype={nodeName:"#text",nodeType:h,splitText:function(e){var t=this.data,n=t.substring(e);t=t.substring(0,e),this.data=this.nodeValue=t,this.length=t.length;var r=this.ownerDocument.createTextNode(n);return this.parentNode&&this.parentNode.insertBefore(r,this.nextSibling),r}},l(re,ne),ie.prototype={nodeName:"#comment",nodeType:b},l(ie,ne),oe.prototype={nodeName:"#cdata-section",nodeType:g},l(oe,ne),ae.prototype.nodeType=w,l(ae,B),se.prototype.nodeType=x,l(se,B),ue.prototype.nodeType=y,l(ue,B),ce.prototype.nodeType=m,l(ce,B),le.prototype.nodeName="#document-fragment",le.prototype.nodeType=T,l(le,B),fe.prototype.nodeType=v,l(fe,B),de.prototype.serializeToString=function(e,t,n){return pe.call(e,t,n)},B.prototype.toString=pe;try{if(Object.defineProperty){function _e(e){switch(e.nodeType){case d:case T:var t=[];for(e=e.firstChild;e;)7!==e.nodeType&&8!==e.nodeType&&t.push(_e(e)),e=e.nextSibling;return t.join("");default:return e.nodeValue}}Object.defineProperty(I.prototype,"length",{get:function(){return P(this),this.$$length}}),Object.defineProperty(B.prototype,"textContent",{get:function(){return _e(this)},set:function(e){switch(this.nodeType){case d:case T:for(;this.firstChild;)this.removeChild(this.firstChild);(e||String(e))&&this.appendChild(this.ownerDocument.createTextNode(e));break;default:this.data=e,this.value=e,this.nodeValue=e}}}),be=function(e,t,n){e["$$"+t]=n}}}catch(we){}t.DocumentType=ae,t.DOMException=L,t.DOMImplementation=N,t.Element=ee,t.Node=B,t.NodeList=A,t.XMLSerializer=de},31045:function(e,t,n){var r=n(72167).freeze;t.XML_ENTITIES=r({amp:"&",apos:"'",gt:">",lt:"<",quot:'"'}),t.HTML_ENTITIES=r({lt:"<",gt:">",amp:"&",quot:'"',apos:"'",Agrave:"À",Aacute:"Á",Acirc:"Â",Atilde:"Ã",Auml:"Ä",Aring:"Å",AElig:"Æ",Ccedil:"Ç",Egrave:"È",Eacute:"É",Ecirc:"Ê",Euml:"Ë",Igrave:"Ì",Iacute:"Í",Icirc:"Î",Iuml:"Ï",ETH:"Ð",Ntilde:"Ñ",Ograve:"Ò",Oacute:"Ó",Ocirc:"Ô",Otilde:"Õ",Ouml:"Ö",Oslash:"Ø",Ugrave:"Ù",Uacute:"Ú",Ucirc:"Û",Uuml:"Ü",Yacute:"Ý",THORN:"Þ",szlig:"ß",agrave:"à",aacute:"á",acirc:"â",atilde:"ã",auml:"ä",aring:"å",aelig:"æ",ccedil:"ç",egrave:"è",eacute:"é",ecirc:"ê",euml:"ë",igrave:"ì",iacute:"í",icirc:"î",iuml:"ï",eth:"ð",ntilde:"ñ",ograve:"ò",oacute:"ó",ocirc:"ô",otilde:"õ",ouml:"ö",oslash:"ø",ugrave:"ù",uacute:"ú",ucirc:"û",uuml:"ü",yacute:"ý",thorn:"þ",yuml:"ÿ",nbsp:" ",iexcl:"¡",cent:"¢",pound:"£",curren:"¤",yen:"¥",brvbar:"¦",sect:"§",uml:"¨",copy:"©",ordf:"ª",laquo:"«",not:"¬",shy:"­­",reg:"®",macr:"¯",deg:"°",plusmn:"±",sup2:"²",sup3:"³",acute:"´",micro:"µ",para:"¶",middot:"·",cedil:"¸",sup1:"¹",ordm:"º",raquo:"»",frac14:"¼",frac12:"½",frac34:"¾",iquest:"¿",times:"×",divide:"÷",forall:"∀",part:"∂",exist:"∃",empty:"∅",nabla:"∇",isin:"∈",notin:"∉",ni:"∋",prod:"∏",sum:"∑",minus:"−",lowast:"∗",radic:"√",prop:"∝",infin:"∞",ang:"∠",and:"∧",or:"∨",cap:"∩",cup:"∪",int:"∫",there4:"∴",sim:"∼",cong:"≅",asymp:"≈",ne:"≠",equiv:"≡",le:"≤",ge:"≥",sub:"⊂",sup:"⊃",nsub:"⊄",sube:"⊆",supe:"⊇",oplus:"⊕",otimes:"⊗",perp:"⊥",sdot:"⋅",Alpha:"Α",Beta:"Β",Gamma:"Γ",Delta:"Δ",Epsilon:"Ε",Zeta:"Ζ",Eta:"Η",Theta:"Θ",Iota:"Ι",Kappa:"Κ",Lambda:"Λ",Mu:"Μ",Nu:"Ν",Xi:"Ξ",Omicron:"Ο",Pi:"Π",Rho:"Ρ",Sigma:"Σ",Tau:"Τ",Upsilon:"Υ",Phi:"Φ",Chi:"Χ",Psi:"Ψ",Omega:"Ω",alpha:"α",beta:"β",gamma:"γ",delta:"δ",epsilon:"ε",zeta:"ζ",eta:"η",theta:"θ",iota:"ι",kappa:"κ",lambda:"λ",mu:"μ",nu:"ν",xi:"ξ",omicron:"ο",pi:"π",rho:"ρ",sigmaf:"ς",sigma:"σ",tau:"τ",upsilon:"υ",phi:"φ",chi:"χ",psi:"ψ",omega:"ω",thetasym:"ϑ",upsih:"ϒ",piv:"ϖ",OElig:"Œ",oelig:"œ",Scaron:"Š",scaron:"š",Yuml:"Ÿ",fnof:"ƒ",circ:"ˆ",tilde:"˜",ensp:" ",emsp:" ",thinsp:" ",zwnj:"‌",zwj:"‍",lrm:"‎",rlm:"‏",ndash:"–",mdash:"—",lsquo:"‘",rsquo:"’",sbquo:"‚",ldquo:"“",rdquo:"”",bdquo:"„",dagger:"†",Dagger:"‡",bull:"•",hellip:"…",permil:"‰",prime:"′",Prime:"″",lsaquo:"‹",rsaquo:"›",oline:"‾",euro:"€",trade:"™",larr:"←",uarr:"↑",rarr:"→",darr:"↓",harr:"↔",crarr:"↵",lceil:"⌈",rceil:"⌉",lfloor:"⌊",rfloor:"⌋",loz:"◊",spades:"♠",clubs:"♣",hearts:"♥",diams:"♦"}),t.entityMap=t.HTML_ENTITIES},3969:function(e,t,n){var r=n(41146);r.DOMImplementation,r.XMLSerializer,t.DOMParser=n(86129).DOMParser},76925:function(e,t,n){var r=n(72167).NAMESPACE,i=/[A-Z_a-z\xC0-\xD6\xD8-\xF6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,o=new RegExp("[\\-\\.0-9"+i.source.slice(1,-1)+"\\u00B7\\u0300-\\u036F\\u203F-\\u2040]"),a=new RegExp("^"+i.source+o.source+"*(?::"+i.source+o.source+"*)?$");function s(e,t){this.message=e,this.locator=t,Error.captureStackTrace&&Error.captureStackTrace(this,s)}function u(){}function c(e,t){return t.lineNumber=e.lineNumber,t.columnNumber=e.columnNumber,t}function l(e,t,n,i,o,a){function s(e,t,r){n.attributeNames.hasOwnProperty(e)&&a.fatalError("Attribute "+e+" redefined"),n.addValue(e,t.replace(/[\t\n\r]/g," ").replace(/&#?\w+;/g,o),r)}for(var u,c=++t,l=0;;){var f=e.charAt(c);switch(f){case"=":if(1===l)u=e.slice(t,c),l=3;else{if(2!==l)throw new Error("attribute equal must after attrName");l=3}break;case"'":case'"':if(3===l||1===l){if(1===l&&(a.warning('attribute value must after "="'),u=e.slice(t,c)),t=c+1,!((c=e.indexOf(f,t))>0))throw new Error("attribute value no end '"+f+"' match");s(u,d=e.slice(t,c),t-1),l=5}else{if(4!=l)throw new Error('attribute value must after "="');s(u,d=e.slice(t,c),t),a.warning('attribute "'+u+'" missed start quot('+f+")!!"),t=c+1,l=5}break;case"/":switch(l){case 0:n.setTagName(e.slice(t,c));case 5:case 6:case 7:l=7,n.closed=!0;case 4:case 1:break;case 2:n.closed=!0;break;default:throw new Error("attribute invalid close char('/')")}break;case"":return a.error("unexpected end of input"),0==l&&n.setTagName(e.slice(t,c)),c;case">":switch(l){case 0:n.setTagName(e.slice(t,c));case 5:case 6:case 7:break;case 4:case 1:"/"===(d=e.slice(t,c)).slice(-1)&&(n.closed=!0,d=d.slice(0,-1));case 2:2===l&&(d=u),4==l?(a.warning('attribute "'+d+'" missed quot(")!'),s(u,d,t)):(r.isHTML(i[""])&&d.match(/^(?:disabled|checked|selected)$/i)||a.warning('attribute "'+d+'" missed value!! "'+d+'" instead!!'),s(d,d,t));break;case 3:throw new Error("attribute value missed!!")}return c;case"€":f=" ";default:if(f<=" ")switch(l){case 0:n.setTagName(e.slice(t,c)),l=6;break;case 1:u=e.slice(t,c),l=2;break;case 4:var d=e.slice(t,c);a.warning('attribute "'+d+'" missed quot(")!!'),s(u,d,t);case 5:l=6}else switch(l){case 2:n.tagName;r.isHTML(i[""])&&u.match(/^(?:disabled|checked|selected)$/i)||a.warning('attribute "'+u+'" missed value!! "'+u+'" instead2!!'),s(u,u,t),t=c,l=1;break;case 5:a.warning('attribute space is required"'+u+'"!!');case 6:l=1,t=c;break;case 3:l=4,t=c;break;case 7:throw new Error("elements closed character '/' and '>' must be connected to")}}c++}}function f(e,t,n){for(var i=e.tagName,o=null,a=e.length;a--;){var s=e[a],u=s.qName,c=s.value;if((p=u.indexOf(":"))>0)var l=s.prefix=u.slice(0,p),f=u.slice(p+1),d="xmlns"===l&&f;else f=u,l=null,d="xmlns"===u&&"";s.localName=f,!1!==d&&(null==o&&(o={},h(n,n={})),n[d]=o[d]=c,s.uri=r.XMLNS,t.startPrefixMapping(d,c))}for(a=e.length;a--;){(l=(s=e[a]).prefix)&&("xml"===l&&(s.uri=r.XML),"xmlns"!==l&&(s.uri=n[l||""]))}var p;(p=i.indexOf(":"))>0?(l=e.prefix=i.slice(0,p),f=e.localName=i.slice(p+1)):(l=null,f=e.localName=i);var g=e.uri=n[l||""];if(t.startElement(g,f,i,e),!e.closed)return e.currentNSMap=n,e.localNSMap=o,!0;if(t.endElement(g,f,i),o)for(l in o)Object.prototype.hasOwnProperty.call(o,l)&&t.endPrefixMapping(l)}function d(e,t,n,r,i){if(/^(?:script|textarea)$/i.test(n)){var o=e.indexOf("</"+n+">",t),a=e.substring(t+1,o);if(/[&<]/.test(a))return/^script$/i.test(n)?(i.characters(a,0,a.length),o):(a=a.replace(/&#?\w+;/g,r),i.characters(a,0,a.length),o)}return t+1}function p(e,t,n,r){var i=r[n];return null==i&&((i=e.lastIndexOf("</"+n+">"))<t&&(i=e.lastIndexOf("</"+n)),r[n]=i),i<t}function h(e,t){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])}function g(e,t,n,r){if("-"===e.charAt(t+2))return"-"===e.charAt(t+3)?(i=e.indexOf("--\x3e",t+4))>t?(n.comment(e,t+4,i-t-4),i+3):(r.error("Unclosed comment"),-1):-1;if("CDATA["==e.substr(t+3,6)){var i=e.indexOf("]]>",t+9);return n.startCDATA(),n.characters(e,t+9,i-t-9),n.endCDATA(),i+3}var o=function(e,t){var n,r=[],i=/'[^']+'|"[^"]+"|[^\s<>\/=]+=?|(\/?\s*>|<)/g;i.lastIndex=t,i.exec(e);for(;n=i.exec(e);)if(r.push(n),n[1])return r}(e,t),a=o.length;if(a>1&&/!doctype/i.test(o[0][0])){var s=o[1][0],u=!1,c=!1;a>3&&(/^public$/i.test(o[2][0])?(u=o[3][0],c=a>4&&o[4][0]):/^system$/i.test(o[2][0])&&(c=o[3][0]));var l=o[a-1];return n.startDTD(s,u,c),n.endDTD(),l.index+l[0].length}return-1}function m(e,t,n){var r=e.indexOf("?>",t);if(r){var i=e.substring(t,r).match(/^<\?(\S*)\s*([\s\S]*?)\s*$/);if(i){i[0].length;return n.processingInstruction(i[1],i[2]),r+2}return-1}return-1}function y(){this.attributeNames={}}s.prototype=new Error,s.prototype.name=s.name,u.prototype={parse:function(e,t,n){var i=this.domBuilder;i.startDocument(),h(t,t={}),function(e,t,n,i,o){function a(e){if(e>65535){var t=55296+((e-=65536)>>10),n=56320+(1023&e);return String.fromCharCode(t,n)}return String.fromCharCode(e)}function u(e){var t=e.slice(1,-1);return Object.hasOwnProperty.call(n,t)?n[t]:"#"===t.charAt(0)?a(parseInt(t.substr(1).replace("x","0x"))):(o.error("entity not found:"+e),e)}function h(t){if(t>k){var n=e.substring(k,t).replace(/&#?\w+;/g,u);T&&v(k),i.characters(n,0,t-k),k=t}}function v(t,n){for(;t>=_&&(n=w.exec(e));)b=n.index,_=b+n[0].length,T.lineNumber++;T.columnNumber=t-b+1}var b=0,_=0,w=/.*(?:\r\n?|\n)|.*$/g,T=i.locator,x=[{currentNSMap:t}],S={},k=0;for(;;){try{var E=e.indexOf("<",k);if(E<0){if(!e.substr(k).match(/^\s*$/)){var O=i.doc,C=O.createTextNode(e.substr(k));O.appendChild(C),i.currentElement=C}return}switch(E>k&&h(E),e.charAt(E+1)){case"/":var L=e.indexOf(">",E+3),A=e.substring(E+2,L).replace(/[ \t\n\r]+$/g,""),I=x.pop();L<0?(A=e.substring(E+2).replace(/[\s<].*/,""),o.error("end tag name: "+A+" is not complete:"+I.tagName),L=E+1+A.length):A.match(/\s</)&&(A=A.replace(/[\s<].*/,""),o.error("end tag name: "+A+" maybe not complete"),L=E+1+A.length);var P=I.localNSMap,M=I.tagName==A;if(M||I.tagName&&I.tagName.toLowerCase()==A.toLowerCase()){if(i.endElement(I.uri,I.localName,A),P)for(var R in P)Object.prototype.hasOwnProperty.call(P,R)&&i.endPrefixMapping(R);M||o.fatalError("end tag name: "+A+" is not match the current start tagName:"+I.tagName)}else x.push(I);L++;break;case"?":T&&v(E),L=m(e,E,i);break;case"!":T&&v(E),L=g(e,E,i,o);break;default:T&&v(E);var j=new y,D=x[x.length-1].currentNSMap,N=(L=l(e,E,j,D,u,o),j.length);if(!j.closed&&p(e,L,j.tagName,S)&&(j.closed=!0,n.nbsp||o.warning("unclosed xml attribute")),T&&N){for(var B=c(T,{}),U=0;U<N;U++){var F=j[U];v(F.offset),F.locator=c(T,{})}i.locator=B,f(j,i,D)&&x.push(j),i.locator=T}else f(j,i,D)&&x.push(j);r.isHTML(j.uri)&&!j.closed?L=d(e,L,j.tagName,u,i):L++}}catch(e){if(e instanceof s)throw e;o.error("element parse error: "+e),L=-1}L>k?k=L:h(Math.max(E,k)+1)}}(e,t,n,i,this.errorHandler),i.endDocument()}},y.prototype={setTagName:function(e){if(!a.test(e))throw new Error("invalid tagName:"+e);this.tagName=e},addValue:function(e,t,n){if(!a.test(e))throw new Error("invalid attribute:"+e);this.attributeNames[e]=this.length,this[this.length++]={qName:e,value:t,offset:n}},length:0,getLocalName:function(e){return this[e].localName},getLocator:function(e){return this[e].locator},getQName:function(e){return this[e].qName},getURI:function(e){return this[e].uri},getValue:function(e){return this[e].value}},t.XMLReader=u,t.ParseError=s},64666:function(e,t,n){"use strict";var r;"Set"in n.g?"function"==typeof Set.prototype.forEach&&(r=!1,new Set([!0]).forEach((function(e){r=e})),!0===r)?e.exports=function(e){var t=[];return new Set(e).forEach((function(e){t.push(e)})),t}:e.exports=function(e){var t=new Set;return e.filter((function(e){return!t.has(e)&&(t.add(e),!0)}))}:e.exports=function(e){for(var t=[],n=0;n<e.length;n++)-1===t.indexOf(e[n])&&t.push(e[n]);return t}},94098:function(e,t,n){"use strict";var r,i=n(62079),o=n.n(i),a=n(52020),s=n.n(a),u=n(73324),c=n.n(u),l=n(88546),f=n.n(l),d=n(66775),p=n.n(d),h=n(41266),g=n(44845),m=n(8571),y=n.n(m),v=n(35293),b=n.n(v),_=n(67552),w=n.n(_),T=n(28416),x=n.n(T),S=n(92148),k=n.n(S),E=n(79005),O=n.n(E),C=n(47187),L=n.n(C),A=n(2507),I=n.n(A),P=n(5917),M=n.n(P),R=n(40636),j=n.n(R),D=n(11806),N=n.n(D),B=n(58e3),U=n.n(B),F=n(25786),z=n.n(F),H=n(29732),Z=n.n(H),q=["alt"];function V(e,t){var n=o()(e);if(s()){var r=s()(e);t&&(r=c()(r).call(r,(function(t){return f()(e,t).enumerable}))),n.push.apply(n,r)}return n}function W(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?V(Object(n),!0).forEach((function(t){(0,g.Z)(e,t,n[t])})):p()?Object.defineProperties(e,p()(n)):V(Object(n)).forEach((function(t){Object.defineProperty(e,t,f()(n,t))}))}return e}var G=["a","alpha","b","background","c","colors","f","format","h","height","q","quality","r","rasterize","s","scale","w","width"];var $=N()(G),Y=function(e){return!b()(Number(e))},K=O()(2,(function(e){var t=Z()(Y,j()(e));return U()($,L()({h:t,height:t,w:t,width:t}),z(),M()(I()(":")),I()(","))})),X=function(e){var t=e.imagesUri,n=e.hidpi,r=e.imageKey;if(null!=r){var i=function(e,t,n){var r,i;return y()(r=y()(i="".concat(e,"/")).call(i,n,"/")).call(r,t)}(t,r,K(n?2:1,e));return{backgroundImage:'url("'.concat(i,'")')}}};var Q="styles_image__32Tdo";!function(e,t){void 0===t&&(t={});var n=t.insertAt;if(e&&"undefined"!=typeof document){var r=document.head||document.getElementsByTagName("head")[0],i=document.createElement("style");i.type="text/css","top"===n&&r.firstChild?r.insertBefore(i,r.firstChild):r.appendChild(i),i.styleSheet?i.styleSheet.cssText=e:i.appendChild(document.createTextNode(e))}}(".styles_image__32Tdo{display:inline-block}",{insertAt:"top"});var J=k()(y()(r=["imagesUri","imageKey","hidpi","style"]).call(r,G)),ee=function(e){return W(W({},e.style),X(e))},te=function(e){var t=e.alt,n=(0,h.Z)(e,q);return x().createElement("span",w()({"aria-label":t,className:Q,role:"img",style:ee(n)},J(n)))};te.defaultProps={alt:"Image",imagesUri:"",style:{}},t.Z=te},75183:function(e,t,n){var r=n(64410),i=n(84889)((function(e,t){return r(e.length,(function(){return e.apply(t,arguments)}))}));e.exports=i},70717:function(e,t,n){var r=n(64410),i=n(83499),o=n(84889),a=n(35934),s=o((function(e,t){return 1===e?i(t):r(e,a(e,[],t))}));e.exports=s},83160:function(e,t,n){var r=n(84889),i=n(67364),o=r((function(e,t){return i(e,t,[],[])}));e.exports=o},47187:function(e,t,n){var r=n(20474),i=n(84889)((function e(t,n){var i,o,a,s=n instanceof Array?[]:{};for(o in n)i=t[o],a=r(i),s[o]="function"===a?i(n[o]):i&&"object"===a?e(i,n[o]):n[o];return s}));e.exports=i},27134:function(e,t,n){var r=n(84889),i=n(29466),o=n(78276),a=n(83294),s=n(73506),u=n(45991),c=n(83669),l=r(i(["filter"],u,(function(e,t){return a(t)?s((function(n,r){return e(t[r])&&(n[r]=t[r]),n}),{},c(t)):o(e,t)})));e.exports=l},64410:function(e){e.exports=function(e,t){switch(e){case 0:return function(){return t.apply(this,arguments)};case 1:return function(e){return t.apply(this,arguments)};case 2:return function(e,n){return t.apply(this,arguments)};case 3:return function(e,n,r){return t.apply(this,arguments)};case 4:return function(e,n,r,i){return t.apply(this,arguments)};case 5:return function(e,n,r,i,o){return t.apply(this,arguments)};case 6:return function(e,n,r,i,o,a){return t.apply(this,arguments)};case 7:return function(e,n,r,i,o,a,s){return t.apply(this,arguments)};case 8:return function(e,n,r,i,o,a,s,u){return t.apply(this,arguments)};case 9:return function(e,n,r,i,o,a,s,u,c){return t.apply(this,arguments)};case 10:return function(e,n,r,i,o,a,s,u,c,l){return t.apply(this,arguments)};default:throw new Error("First argument to _arity must be a non-negative integer no greater than ten")}}},25320:function(e){e.exports=function(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}},79589:function(e,t,n){var r=n(35704),i=n(46102);e.exports=function(e,t){return function(){var n=arguments.length;if(0===n)return t();var o=arguments[n-1];return i(o)||"function"!=typeof o[e]?t.apply(this,arguments):o[e].apply(o,r(Array.prototype).call(arguments,0,n-1))}}},16627:function(e){e.exports=function(e){return function(){return!e.apply(this,arguments)}}},83499:function(e,t,n){var r=n(27695);e.exports=function(e){return function t(n){return 0===arguments.length||r(n)?t:e.apply(this,arguments)}}},84889:function(e,t,n){var r=n(83499),i=n(27695);e.exports=function(e){return function t(n,o){switch(arguments.length){case 0:return t;case 1:return i(n)?t:r((function(t){return e(n,t)}));default:return i(n)&&i(o)?t:i(n)?r((function(t){return e(t,o)})):i(o)?r((function(t){return e(n,t)})):e(n,o)}}}},36369:function(e,t,n){var r=n(83499),i=n(84889),o=n(27695);e.exports=function(e){return function t(n,a,s){switch(arguments.length){case 0:return t;case 1:return o(n)?t:i((function(t,r){return e(n,t,r)}));case 2:return o(n)&&o(a)?t:o(n)?i((function(t,n){return e(t,a,n)})):o(a)?i((function(t,r){return e(n,t,r)})):r((function(t){return e(n,a,t)}));default:return o(n)&&o(a)&&o(s)?t:o(n)&&o(a)?i((function(t,n){return e(t,n,s)})):o(n)&&o(s)?i((function(t,n){return e(t,a,n)})):o(a)&&o(s)?i((function(t,r){return e(n,t,r)})):o(n)?r((function(t){return e(t,a,s)})):o(a)?r((function(t){return e(n,t,s)})):o(s)?r((function(t){return e(n,a,t)})):e(n,a,s)}}}},35934:function(e,t,n){var r=n(64410),i=n(27695);e.exports=function e(t,n,o){return function(){for(var a=[],s=0,u=t,c=0;c<n.length||s<arguments.length;){var l;c<n.length&&(!i(n[c])||s>=arguments.length)?l=n[c]:(l=arguments[s],s+=1),a[c]=l,i(l)||(u-=1),c+=1}return u<=0?o.apply(this,a):r(u,e(t,a,o))}}},29466:function(e,t,n){var r=n(35704),i=n(46102),o=n(90659);e.exports=function(e,t,n){return function(){if(0===arguments.length)return n();var a=r(Array.prototype).call(arguments,0),s=a.pop();if(!i(s)){for(var u=0;u<e.length;){if("function"==typeof s[e[u]])return s[e[u]].apply(s,a);u+=1}if(o(s)){var c=t.apply(null,a);return c(s)}}return n.apply(this,arguments)}}},67364:function(e,t,n){var r=n(20474),i=n(35704),o=n(40703),a=n(8571),s=n(89221),u=n(25320),c=n(82514),l=n(24088),f=n(9861),d=n(5743),p=n(83669),h=n(18843);function g(e,t,n,r){var o=u(e),a=u(t);function s(e,t){return m(e,t,i(n).call(n),i(r).call(r))}return!c((function(e,t){return!c(s,t,e)}),a,o)}function m(e,t,n,i){if(d(e,t))return!0;var u=h(e);if(u!==h(t))return!1;if(null==e||null==t)return!1;if("function"==typeof e["fantasy-land/equals"]||"function"==typeof t["fantasy-land/equals"])return"function"==typeof e["fantasy-land/equals"]&&e["fantasy-land/equals"](t)&&"function"==typeof t["fantasy-land/equals"]&&t["fantasy-land/equals"](e);if("function"==typeof e.equals||"function"==typeof t.equals)return"function"==typeof e.equals&&e.equals(t)&&"function"==typeof t.equals&&t.equals(e);switch(u){case"Arguments":case"Array":case"Object":if("function"==typeof e.constructor&&"Promise"===l(e.constructor))return e===t;break;case"Boolean":case"Number":case"String":if(r(e)!==r(t)||!d(e.valueOf(),t.valueOf()))return!1;break;case"Date":if(!d(e.valueOf(),t.valueOf()))return!1;break;case"Error":return e.name===t.name&&e.message===t.message;case"RegExp":if(e.source!==t.source||e.global!==t.global||e.ignoreCase!==t.ignoreCase||e.multiline!==t.multiline||e.sticky!==t.sticky||e.unicode!==t.unicode)return!1}for(var c=n.length-1;c>=0;){if(n[c]===e)return i[c]===t;c-=1}switch(u){case"Map":return e.size===t.size&&g(o(e).call(e),o(t).call(t),a(n).call(n,[e]),a(i).call(i,[t]));case"Set":return e.size===t.size&&g(s(e).call(e),s(t).call(t),a(n).call(n,[e]),a(i).call(i,[t]));case"Arguments":case"Array":case"Object":case"Boolean":case"Number":case"String":case"Date":case"Error":case"RegExp":case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"ArrayBuffer":break;default:return!1}var y=p(e);if(y.length!==p(t).length)return!1;var v=a(n).call(n,[e]),b=a(i).call(i,[t]);for(c=y.length-1;c>=0;){var _=y[c];if(!f(_,t)||!m(t[_],e[_],v,b))return!1;c-=1}return!0}e.exports=m},78276:function(e){e.exports=function(e,t){for(var n=0,r=t.length,i=[];n<r;)e(t[n])&&(i[i.length]=t[n]),n+=1;return i}},24088:function(e){e.exports=function(e){var t=String(e).match(/^function (\w*)/);return null==t?"":t[1]}},9861:function(e){e.exports=function(e,t){return Object.prototype.hasOwnProperty.call(t,e)}},40620:function(e,t,n){var r=n(83054);e.exports=function(e,t){return r(t,e,0)>=0}},82514:function(e){e.exports=function(e,t,n){for(var r=0,i=n.length;r<i;){if(e(t,n[r]))return!0;r+=1}return!1}},83054:function(e,t,n){var r=n(20474),i=n(83160);e.exports=function(e,t,n){var o,a;if("function"==typeof e.indexOf)switch(r(t)){case"number":if(0===t){for(o=1/t;n<e.length;){if(0===(a=e[n])&&1/a===o)return n;n+=1}return-1}if(t!=t){for(;n<e.length;){if("number"==typeof(a=e[n])&&a!=a)return n;n+=1}return-1}return e.indexOf(t,n);case"string":case"boolean":case"function":case"undefined":return e.indexOf(t,n);case"object":if(null===t)return e.indexOf(t,n)}for(;n<e.length;){if(i(e[n],t))return n;n+=1}return-1}},64013:function(e,t,n){var r=n(9861),i=Object.prototype.toString,o=function(){return"[object Arguments]"===i.call(arguments)?function(e){return"[object Arguments]"===i.call(e)}:function(e){return r("callee",e)}}();e.exports=o},46102:function(e){e.exports=Array.isArray||function(e){return null!=e&&e.length>=0&&"[object Array]"===Object.prototype.toString.call(e)}},7721:function(e,t,n){var r=n(20474),i=n(83499),o=n(46102),a=n(86486),s=i((function(e){return!!o(e)||!!e&&("object"===r(e)&&(!a(e)&&(1===e.nodeType?!!e.length:0===e.length||e.length>0&&(e.hasOwnProperty(0)&&e.hasOwnProperty(e.length-1)))))}));e.exports=s},78041:function(e){e.exports=function(e){return"[object Function]"===Object.prototype.toString.call(e)}},83294:function(e){e.exports=function(e){return"[object Object]"===Object.prototype.toString.call(e)}},27695:function(e,t,n){var r=n(20474);e.exports=function(e){return null!=e&&"object"===r(e)&&!0===e["@@functional/placeholder"]}},86486:function(e){e.exports=function(e){return"[object String]"===Object.prototype.toString.call(e)}},90659:function(e){e.exports=function(e){return null!=e&&"function"==typeof e["@@transducer/step"]}},18096:function(e){e.exports=function(e,t){for(var n=0,r=t.length,i=Array(r);n<r;)i[n]=e(t[n]),n+=1;return i}},5743:function(e,t,n){var r=n(42692);e.exports="function"==typeof r?r:function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}},80266:function(e){e.exports=function(e,t){return function(){return t.call(this,e.apply(this,arguments))}}},16891:function(e){e.exports=function(e){return'"'+e.replace(/\\/g,"\\\\").replace(/[\b]/g,"\\b").replace(/\f/g,"\\f").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\t/g,"\\t").replace(/\v/g,"\\v").replace(/\0/g,"\\0").replace(/"/g,'\\"')+'"'}},73506:function(e,t,n){var r=n(52472),i=n(48994),o=n(7721),a=n(36098),s=n(75183);function u(e,t,n){for(var r=n.next();!r.done;){if((t=e["@@transducer/step"](t,r.value))&&t["@@transducer/reduced"]){t=t["@@transducer/value"];break}r=n.next()}return e["@@transducer/result"](t)}function c(e,t,n,r){return e["@@transducer/result"](n[r](s(e["@@transducer/step"],e),t))}var l=void 0!==r?i:"@@iterator";e.exports=function(e,t,n){if("function"==typeof e&&(e=a(e)),o(n))return function(e,t,n){for(var r=0,i=n.length;r<i;){if((t=e["@@transducer/step"](t,n[r]))&&t["@@transducer/reduced"]){t=t["@@transducer/value"];break}r+=1}return e["@@transducer/result"](t)}(e,t,n);if("function"==typeof n["fantasy-land/reduce"])return c(e,t,n,"fantasy-land/reduce");if(null!=n[l])return u(e,t,n[l]());if("function"==typeof n.next)return u(e,t,n);if("function"==typeof n.reduce)return c(e,t,n,"reduce");throw new TypeError("reduce: list must be array or iterable")}},61074:function(e,t,n){var r=n(35704),i=function(e){return(e<10?"0":"")+e},o="function"==typeof Date.prototype.toISOString?function(e){return e.toISOString()}:function(e){var t;return e.getUTCFullYear()+"-"+i(e.getUTCMonth()+1)+"-"+i(e.getUTCDate())+"T"+i(e.getUTCHours())+":"+i(e.getUTCMinutes())+":"+i(e.getUTCSeconds())+"."+r(t=(e.getUTCMilliseconds()/1e3).toFixed(3)).call(t,2,5)+"Z"};e.exports=o},88162:function(e,t,n){var r=n(20474),i=n(8571),o=n(76555),a=n(35704),s=n(40620),u=n(18096),c=n(16891),l=n(61074),f=n(83669),d=n(31029);e.exports=function e(t,n){var p,h=function(r){var o=i(n).call(n,[t]);return s(r,o)?"<Circular>":e(r,o)},g=function(e,t){var n;return u((function(t){return c(t)+": "+h(e[t])}),o(n=a(t).call(t)).call(n))};switch(Object.prototype.toString.call(t)){case"[object Arguments]":return"(function() { return arguments; }("+u(h,t).join(", ")+"))";case"[object Array]":return"["+i(p=u(h,t)).call(p,g(t,d((function(e){return/^\d+$/.test(e)}),f(t)))).join(", ")+"]";case"[object Boolean]":return"object"===r(t)?"new Boolean("+h(t.valueOf())+")":t.toString();case"[object Date]":return"new Date("+(isNaN(t.valueOf())?h(NaN):c(l(t)))+")";case"[object Null]":return"null";case"[object Number]":return"object"===r(t)?"new Number("+h(t.valueOf())+")":1/t==-1/0?"-0":t.toString(10);case"[object String]":return"object"===r(t)?"new String("+h(t.valueOf())+")":c(t);case"[object Undefined]":return"undefined";default:if("function"==typeof t.toString){var m=t.toString();if("[object Object]"!==m)return m}return"{"+g(t,f(t)).join(", ")+"}"}}},95882:function(e){e.exports={init:function(){return this.xf["@@transducer/init"]()},result:function(e){return this.xf["@@transducer/result"](e)}}},45991:function(e,t,n){var r=n(84889),i=n(95882),o=function(){function e(e,t){this.xf=t,this.f=e}return e.prototype["@@transducer/init"]=i.init,e.prototype["@@transducer/result"]=i.result,e.prototype["@@transducer/step"]=function(e,t){return this.f(t)?this.xf["@@transducer/step"](e,t):e},e}(),a=r((function(e,t){return new o(e,t)}));e.exports=a},69332:function(e,t,n){var r=n(84889),i=n(95882),o=function(){function e(e,t){this.xf=t,this.f=e}return e.prototype["@@transducer/init"]=i.init,e.prototype["@@transducer/result"]=i.result,e.prototype["@@transducer/step"]=function(e,t){return this.xf["@@transducer/step"](e,this.f(t))},e}(),a=r((function(e,t){return new o(e,t)}));e.exports=a},36098:function(e){var t=function(){function e(e){this.f=e}return e.prototype["@@transducer/init"]=function(){throw new Error("init not implemented on XWrap")},e.prototype["@@transducer/result"]=function(e){return e},e.prototype["@@transducer/step"]=function(e,t){return this.f(e,t)},e}();e.exports=function(e){return new t(e)}},37022:function(e,t,n){var r=n(35704),i=n(84889),o=n(78041),a=n(70717),s=n(21871),u=i((function(e,t){return a(e+1,(function(){var n=arguments[e];if(null!=n&&o(n[t]))return n[t].apply(n,r(Array.prototype).call(arguments,0,e));throw new TypeError(s(n)+' does not have a method named "'+t+'"')}))}));e.exports=u},2507:function(e,t,n){var r=n(37022)(1,"join");e.exports=r},83669:function(e,t,n){var r=n(62079),i=n(83499),o=n(9861),a=n(64013),s=!{toString:null}.propertyIsEnumerable("toString"),u=["constructor","valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],c=function(){"use strict";return arguments.propertyIsEnumerable("length")}(),l=function(e,t){for(var n=0;n<e.length;){if(e[n]===t)return!0;n+=1}return!1},f=i("function"!=typeof r||c?function(e){if(Object(e)!==e)return[];var t,n,r=[],i=c&&a(e);for(t in e)!o(t,e)||i&&"length"===t||(r[r.length]=t);if(s)for(n=u.length-1;n>=0;)o(t=u[n],e)&&!l(r,t)&&(r[r.length]=t),n-=1;return r}:function(e){return Object(e)!==e?[]:r(e)});e.exports=f},5917:function(e,t,n){var r=n(84889),i=n(29466),o=n(18096),a=n(73506),s=n(69332),u=n(70717),c=n(83669),l=r(i(["fantasy-land/map","map"],s,(function(e,t){switch(Object.prototype.toString.call(t)){case"[object Function]":return u(t.length,(function(){return e.call(this,t.apply(this,arguments))}));case"[object Object]":return a((function(n,r){return n[r]=e(t[r]),n}),{},c(t));default:return o(e,t)}})));e.exports=l},40636:function(e,t,n){var r=n(84889)((function(e,t){return e*t}));e.exports=r},92148:function(e,t,n){var r=n(84889)((function(e,t){for(var n={},r={},i=0,o=e.length;i<o;)r[e[i]]=1,i+=1;for(var a in t)r.hasOwnProperty(a)||(n[a]=t[a]);return n}));e.exports=r},11806:function(e,t,n){var r=n(84889)((function(e,t){for(var n={},r=0;r<e.length;)e[r]in t&&(n[e[r]]=t[e[r]]),r+=1;return n}));e.exports=r},58e3:function(e,t,n){var r=n(64410),i=n(80266),o=n(57721),a=n(85822);e.exports=function(){if(0===arguments.length)throw new Error("pipe requires at least one argument");return r(arguments[0].length,o(i,arguments[0],a(arguments)))}},57721:function(e,t,n){var r=n(36369)(n(73506));e.exports=r},31029:function(e,t,n){var r=n(16627),i=n(84889),o=n(27134),a=i((function(e,t){return o(r(e),t)}));e.exports=a},5151:function(e,t,n){var r=n(35704),i=n(79589),o=n(36369)(i("slice",(function(e,t,n){return r(Array.prototype).call(n,e,t)})));e.exports=o},85822:function(e,t,n){var r=n(79589),i=n(83499)(r("tail",n(5151)(1,1/0)));e.exports=i},25786:function(e,t,n){var r=n(83499),i=n(9861),o=r((function(e){var t=[];for(var n in e)i(n,e)&&(t[t.length]=[n,e[n]]);return t}));e.exports=o},21871:function(e,t,n){var r=n(83499),i=n(88162),o=r((function(e){return i(e,[])}));e.exports=o},18843:function(e,t,n){var r=n(35704),i=n(83499)((function(e){var t;return null===e?"Null":void 0===e?"Undefined":r(t=Object.prototype.toString.call(e)).call(t,8,-1)}));e.exports=i},79005:function(e,t,n){var r=n(35704),i=n(84889),o=n(70717),a=i((function(e,t){return o(e,(function(){for(var n,i=1,o=t,a=0;i<=e&&"function"==typeof o;)n=i===e?arguments.length:a+o.length,o=o.apply(this,r(Array.prototype).call(arguments,a,n)),i+=1,a=n;return o}))}));e.exports=a},29732:function(e,t,n){var r=n(36369)((function(e,t,n){return e(n)?t(n):n}));e.exports=r},32573:function(e,t,n){var r=n(35820),i=n(91500),o=n(20494),a=n(86619),s=n(84012),u=r.reject.bind(r),c=function(e,t){return t&&l(0,e*Math.pow(2,t))},l=function(e,t){return e+Math.random()*(t-e)};e.exports=o((function(e,t){void 0===e&&(e={});var n=e.base;void 0===n&&(n=250);var o=e.tries;void 0===o&&(o=10);var l=e.when;void 0===l&&(l=s);return function(){for(var e=[],s=arguments.length;s--;)e[s]=arguments[s];var f=0,d=function(){return new r((function(e,t){setTimeout((function(){p().then(e,t)}),c(n,f))}))},p=function(){return r.resolve(e).then(i(t)).catch(a(l,h,u))},h=function(e){return++f<o?d():u(e)};return p()}}))},10339:function(e,t,n){var r=n(35820),i=n(68389),o=n(71483),a=n(40109),s=n(37752),u=o(i(r.reject,r),s(a(Error),Error));e.exports=u},88257:function(e,t,n){"use strict";var r=n(84705),i=n(35704);t.parse=function(e,t){if("string"!=typeof e)throw new TypeError("argument str must be a string");var n={},o=(t||{}).decode||s,a=0;for(;a<e.length;){var u,l=e.indexOf("=",a);if(-1===l)break;var f=e.indexOf(";",a);if(-1===f)f=e.length;else if(f<l){a=e.lastIndexOf(";",l-1)+1;continue}var d=r(u=i(e).call(e,a,l)).call(u);if(void 0===n[d]){var p,h=r(p=i(e).call(e,l+1,f)).call(p);34===h.charCodeAt(0)&&(h=i(h).call(h,1,-1)),n[d]=c(h,o)}a=f+1}return n},t.serialize=function(e,t,n){var r=n||{},i=r.encode||u;if("function"!=typeof i)throw new TypeError("option encode is invalid");if(!a.test(e))throw new TypeError("argument name is invalid");var s=i(t);if(s&&!a.test(s))throw new TypeError("argument val is invalid");var c=e+"="+s;if(null!=r.maxAge){var l=r.maxAge-0;if(isNaN(l)||!isFinite(l))throw new TypeError("option maxAge is invalid");c+="; Max-Age="+Math.floor(l)}if(r.domain){if(!a.test(r.domain))throw new TypeError("option domain is invalid");c+="; Domain="+r.domain}if(r.path){if(!a.test(r.path))throw new TypeError("option path is invalid");c+="; Path="+r.path}if(r.expires){var f=r.expires;if(!function(e){return"[object Date]"===o.call(e)||e instanceof Date}(f)||isNaN(f.valueOf()))throw new TypeError("option expires is invalid");c+="; Expires="+f.toUTCString()}r.httpOnly&&(c+="; HttpOnly");r.secure&&(c+="; Secure");if(r.priority){switch("string"==typeof r.priority?r.priority.toLowerCase():r.priority){case"low":c+="; Priority=Low";break;case"medium":c+="; Priority=Medium";break;case"high":c+="; Priority=High";break;default:throw new TypeError("option priority is invalid")}}if(r.sameSite){switch("string"==typeof r.sameSite?r.sameSite.toLowerCase():r.sameSite){case!0:c+="; SameSite=Strict";break;case"lax":c+="; SameSite=Lax";break;case"strict":c+="; SameSite=Strict";break;case"none":c+="; SameSite=None";break;default:throw new TypeError("option sameSite is invalid")}}return c};var o=Object.prototype.toString,a=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/;function s(e){return-1!==e.indexOf("%")?decodeURIComponent(e):e}function u(e){return encodeURIComponent(e)}function c(e,t){try{return t(e)}catch(t){return e}}},14886:function(e,t,n){var r=n(8571),i=n(35820),o=n(88946),a=n(28449),s=n(81248),u=n(7961).type("Async"),c=n(7961).typeFn(u(),5),l=n(57345),f=n(76315),d=n(54800),p=n(77795),h=n(35606),g=n(22452),m=n(90702),y=n(12384),v=n(14932),b=n(34762),_=n(17430),w=function(e){return T((function(t,n){return n(e)}))};function T(e){var t;if(!y(e))throw new TypeError("Async: Function required");var n=w,r=function(){return"Async"+s(e)};function a(t,n,r){if(!y(t)||!y(n))throw new TypeError("Async.fork: Reject and resolve functions required");var i=!1,o=!1,a=y(r)?r:h,s=function(e,t){if(!o)return o=!0,i?h():e(t)},u=e(s.bind(null,t),s.bind(null,n)),c=y(u)?u:h;return p((function(){return a((c(),void(i=!0)))}))}function f(e){return function(t){if(!y(t))throw new TypeError("Async."+e+": Function required");return T((function(e,n){return a(e,d(n,t))}))}}function g(e){return function(t,n){if(!y(t)||!y(n))throw new TypeError("Async."+e+": Functions required for both arguments");return T((function(e,r){return a(d(e,t),d(r,n))}))}}function m(e){return function(t){if(!_(T,t))throw new TypeError("Async."+e+": Async required");return T((function(e,n){var r=h,i=h;return r=a((function(){i=t.fork(e,n)}),n),p((function(){return i(r())}))}))}}function v(e){return function(t){if(!y(t))throw new TypeError("Async."+e+": Async returning function required");return T((function(n,r){var i=h,o=h;return i=a(n,(function(i){var a=t(i);if(!_(T,a))throw new TypeError("Async."+e+": Function must return another Async");o=a.fork(n,r)})),p((function(){return o(i())}))}))}}return(t={fork:a,toPromise:function(){return new i((function(e,t){a(t,e)}))},inspect:r,toString:r,type:u,swap:function(e,t){if(!y(e)||!y(t))throw new TypeError("Async.swap: Functions required for both arguments");return T((function(n,r){return a(d(r,e),d(n,t))}))},race:function(e){if(!_(T,e))throw new TypeError("Async.race: Async required");return T((function(t,n){var r=p((function(e,r){return e?n(r):t(r)})),i=r.bind(null,!0),o=r.bind(null,!1),s=a(o,i),u=e.fork(o,i);return function(){s(),u()}}))},coalesce:function(e,t){if(!y(e)||!y(t))throw new TypeError("Async.coalesce: Functions required for both arguments");return T((function(n,r){return a(d(r,e),d(r,t))}))},ap:function(e){if(!_(T,e))throw new TypeError("Async.ap: Async required");return T((function(t,n){var r=null,i=null,o=!1,s=!1,u=!1,c=p(t);function l(){!u&&o&&s&&d(n,r)(i)}var f=a(c,(function(e){if(!y(e))throw new TypeError("Async.ap: Wrapped value must be a function");o=!0,r=e,l()})),h=e.fork(c,(function(e){s=!0,i=e,l()}));return function(){f(),h(),u=!0}}))},of:n,alt:m("alt"),bimap:g("bimap"),map:f("map"),chain:v("chain"),bichain:function(e,t){var n="Async.bichain: Both arguments must be Async returning functions";if(!y(e)||!y(t))throw new TypeError(n);return T((function(r,i){var o=h,s=h;function u(e){return function(t){var o=e(t);if(!_(T,o))throw new TypeError(n);s=o.fork(r,i)}}return o=a(u(e),u(t)),p((function(){return s(o())}))}))}})[l.of]=n,t[l.alt]=m(l.alt),t[l.bimap]=g(l.bimap),t[o(l)]=f(o(l)),t[l.chain]=v(l.chain),t["@@type"]=c,t.constructor=T,t}T.of=w,T.type=u,T[l.of]=w,T["@@type"]=c,T.Rejected=function(e){return T((function(t){return t(e)}))},T.Resolved=w,T.fromPromise=function(e){if(!y(e))throw new TypeError("Async.fromPromise: Promise returning function required");return function(){var t=arguments;return T((function(n,r){var i=e.apply(null,t);if(!b(i))throw new TypeError("Async.fromPromise: Promise returning function required");i.then(r,n)}))}},T.fromNode=function(e,t){if(!y(e))throw new TypeError("Async.fromNode: CPS function required");return function(){for(var n=[],i=arguments.length;i--;)n[i]=arguments[i];return T((function(i,o){e.apply(t,r(n).call(n,(function(e,t){return e?i(e):o(t)})))}))}},T.all=function(e){if(!m(e)||!e.reduce((function(e,t){return e&&_(T,t)}),!0))throw new TypeError("Async.all: Foldable structure of Asyncs required");return g(e)?f.sequence(T.of,e):e.sequence(T.of)},T.rejectAfter=function(e,t){if(!(v(e)&&e>=0))throw new TypeError("Async.rejectAfter: Positive Integer required for first argument");return T((function(n){var r=setTimeout((function(){n(t)}),e);return function(){clearTimeout(r)}}))},T.resolveAfter=function(e,t){if(!(v(e)&&e>=0))throw new TypeError("Async.resolveAfter: Positive Integer required for first argument");return T((function(n,r){var i=setTimeout((function(){r(t)}),e);return function(){clearTimeout(i)}}))},T["@@implements"]=a(["alt","ap","bimap","chain","map","of"]),e.exports=T},35606:function(e){e.exports=Function.prototype},62966:function(e,t,n){var r=n(96049),i=n(77847);e.exports=function(e){return function(t){return r(e)?e.of(t):i(Array,e)?[t]:e(t)}}},76315:function(e,t,n){var r=n(8571),i=n(88946),o=n(35704),a=n(1377),s=n(22452),u=n(87738),c=n(12384),l=n(17430),f=n(44340),d=n(62966),p=function(e){return e},h=function(e){return function(t){return r(e).call(e,t)}};function g(e,t){return function(n,r){var o=t(r);if(!a(n)&&!s(n)||!l(n,o))throw new TypeError("Array."+e+": Must wrap Applys of the same type");return s(o)?y(n,m((function(e){return h([e])}),o)):i(o).call(o,(function(e){return h([e])})).ap(n)}}var m=function(e,t){return i(t).call(t,(function(t){return e(t)}))};function y(e,t){if(!t.length||!t.reduce((function(e,t){return e&&c(t)}),!0))throw new TypeError("Array.ap: Second Array must all be functions");return t.reduce((function(t,n){return r(t).call(t,m(n,e))}),[])}e.exports={ap:y,chain:function(e,t){return t.reduce((function(t,n){var i=e(n);if(!s(i))throw new TypeError("Array.chain: Function must return an Array");return r(t).call(t,i)}),[])},fold:function(e){if(u(e))throw new TypeError("Array.fold: Non-empty Array of Semigroups required");var t=e[0];if(!f(t))throw new TypeError("Array.fold: Must contain Semigroups of the same type");return e.reduce((function(e,t){if(!l(e,t))throw new TypeError("Array.fold: Must contain Semigroups of the same type");return r(e).call(e,t)}))},foldMap:function(e,t){if(u(t))throw new TypeError("Array.foldMap: Non-empty Array required");var n=e(t[0]);if(!f(n))throw new TypeError("Array.foldMap: Provided function must return Semigroups of the same type");return 1===t.length?n:o(t).call(t,1).reduce((function(t,n){var i=e(n);if(!l(t,i)||!f(i))throw new TypeError("Array.foldMap: Provided function must return Semigroups of the same type");return r(t).call(t,i)}),n)},map:m,sequence:function(e,t){var n=d(e);return t.reduceRight(g("sequence",p),n([]))},set:function(e,t,n){var r=o(n).call(n);return r[e]=t,r},traverse:function(e,t,n){var r=d(e);return n.reduceRight(g("traverse",t),r([]))},unset:function(e,t){var n;return r(n=o(t).call(t,0,e)).call(n,o(t).call(t,e+1))}}},54800:function(e){e.exports=function(e,t){return function(n){return e(t(n))}}},94233:function(e,t,n){var r=n(8571),i=n(12384);function o(e,t){return i(e)?e.length>1?e.bind(null,t):e.call(null,t):e}e.exports=function e(t){return function(){for(var n=[],a=arguments.length;a--;)n[a]=arguments[a];var s,u=n.length?n:[void 0];if(u.length<t.length)return e(Function.bind.apply(t,r(s=[null]).call(s,u)));var c=u.length===t.length?t.apply(null,u):u.reduce(o,t);return i(c)?e(c):c}}},71426:function(e,t,n){var r=n(62079),i=n(17430),o=n(85957),a=n(82111),s=n(29560),u=n(57345),c=function(e,t){return e.valueOf()===t.valueOf()},l={Array:function(e,t){return e.length===t.length&&f(e,t)},Date:function(e,t){return o(e.valueOf(),t.valueOf())},Error:function(e,t){return e.name===t.name&&e.message===t.message},Object:function(e){function t(t,n){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t}((function(e,t){return r(e).length===r(t).length&&f(e,t)})),RegExp:function(e,t){return e.source===t.source&&e.ignoreCase===t.ignoreCase&&e.global===t.global&&e.multiline===t.multiline&&e.unicode===t.unicode}};function f(e,t){for(var n in e)if(!d(e[n],t[n]))return!1;return!0}function d(e,t){return!!o(e,t)||!!i(e,t)&&(a("equals",e)?(t[u.equals]||t.equals).call(t,e):(l[s(e)]||c)(e,t))}e.exports=d},57345:function(e){e.exports={alt:"fantasy-land/alt",bimap:"fantasy-land/bimap",chain:"fantasy-land/chain",compose:"fantasy-land/compose",concat:"fantasy-land/concat",contramap:"fantasy-land/contramap",empty:"fantasy-land/empty",equals:"fantasy-land/equals",extend:"fantasy-land/extend",filter:"fantasy-land/filter",id:"fantasy-land/id",map:"fantasy-land/map",of:"fantasy-land/of",promap:"fantasy-land/promap",reduce:"fantasy-land/reduce",zero:"fantasy-land/zero"}},82111:function(e,t,n){var r=n(12384),i=n(57345);e.exports=function(e,t){return!!t&&(function(e,t){return r(t[i[e]])||r(t[e])}(e,t)||function(e,t){return r(t["@@implements"])&&!!t["@@implements"](e)}(e,t))}},28449:function(e){e.exports=function(e){return function(t){return-1!==e.indexOf(t)}}},81248:function(e,t,n){var r=n(88946),i=n(62079),o=n(8571),a=n(22452),s=n(12384),u=n(38249),c=n(74251),l=n(57505),f=n(5684);function d(e){return e&&s(e.inspect)?" "+e.inspect():s(e)?" Function":a(e)?" ["+(((t=e).length?r(t).call(t,d).reduce((function(e,t){return e+","+t})):t)+" ]"):u(e)?" { "+i(e).reduce((function(t,n){return o(t).call(t,[n+":"+d(e[n])])}),[]).join(", ")+" }":c(e)?' "'+e+'"':l(e)||f(e)?" "+e.toString():" "+e;var t}e.exports=d},96049:function(e,t,n){var r=n(82111),i=n(1377);e.exports=function(e){return i(e)&&(r("of",e)||r("of",e.constructor))}},1377:function(e,t,n){var r=n(82111),i=n(68501);e.exports=function(e){return i(e)&&r("ap",e)}},22452:function(e){e.exports=function(e){return Array.isArray(e)}},5684:function(e){e.exports=function(e){return"[object Date]"===Object.prototype.toString.apply(e)&&!isNaN(e.valueOf())}},87738:function(e,t,n){var r=n(62079),i=n(38249),o=n(42e3),a=n(71426),s=n(57345);e.exports=function(e){if(o(e)){var t=e.constructor[s.empty]||e.constructor.empty||e.empty;return a(e,t())}return i(e)?!r(e).length:!e||void 0===e.length||!e.length}},90702:function(e,t,n){var r=n(82111);e.exports=function(e){return!!e&&r("reduce",e)}},12384:function(e){e.exports=function(e){return"function"==typeof e}},68501:function(e,t,n){var r=n(82111);e.exports=function(e){return!!e&&r("map",e)}},14932:function(e,t,n){var r=n(50162);e.exports=function(e){return r(e)&&isFinite(e)&&Math.floor(e)===e}},42e3:function(e,t,n){var r=n(82111),i=n(44340);e.exports=function(e){return i(e)&&(r("empty",e)||r("empty",e.constructor))}},50162:function(e){e.exports=function(e){return"number"==typeof e&&!isNaN(e)}},38249:function(e){var t=Object.prototype.toString;e.exports=function(e){return!!e&&"[object Object]"===t.call(e)}},34762:function(e,t,n){var r=n(12384);e.exports=function(e){return!!e&&r(e.then)&&r(e.catch)}},85957:function(e){e.exports=function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}},17430:function(e,t,n){var r=n(94233),i=n(12384),o=n(29560);e.exports=r((function(e,t){var n=o(e),r=o(t);return n===r||i(e)&&e.name===r||i(t)&&t.name===n}))},44340:function(e,t,n){var r=n(74251),i=n(82111);e.exports=function(e){return r(e)||!!e&&i("concat",e)}},74251:function(e){e.exports=function(e){return"string"==typeof e}},57505:function(e,t,n){var r=n(20474);e.exports=function(e){return"symbol"===r(e)}},77847:function(e,t,n){var r=n(12384);e.exports=function(e,t){return r(t)&&(e===t||e.name===t.name)}},77795:function(e){e.exports=function(e){var t,n;return function(){return t||(t=!0,n=e.apply(null,arguments)),n}}},29560:function(e,t,n){var r=n(35704),i=n(12384);e.exports=function(e){var t;return e&&i(e.type)?e.type():r(t={}.toString.call(e)).call(t,8,-1)}},7961:function(e){var t={unk:function(){return"unknown"},All:function(){return"All"},Any:function(){return"Any"},Arrow:function(){return"Arrow"},Assign:function(){return"Assign"},Async:function(){return"Async"},Const:function(e){return"Const("+e+")"},Either:function(){return"Either"},Endo:function(){return"Endo"},Equiv:function(){return"Equiv"},First:function(){return"First"},Identity:function(){return"Identity"},IO:function(){return"IO"},Last:function(){return"Last"},List:function(){return"List"},Max:function(){return"Max"},Maybe:function(){return"Maybe"},Min:function(){return"Min"},Pair:function(){return"Pair"},Pred:function(){return"Pred"},Prod:function(){return"Prod"},Reader:function(){return"Reader"},Result:function(){return"Result"},Star:function(){return"Star"},State:function(){return"State"},Sum:function(){return"Sum"},Tuple:function(e){return e+"-Tuple"},Unit:function(){return"Unit"},Writer:function(){return"Writer"}},n=function(e){return t[e]||t.unk};e.exports={proxy:function(e,t){return{type:function(){return n(e)(t)}}},type:n,typeFn:function(e,t,r){return"crocks/"+n(e)(r)+"@"+(t||0)}}},84012:function(e){e.exports=function(){return!0}},11137:function(e,t,n){var r=n(41833)((function(e){return function(){return e}}));e.exports=r},3249:function(e,t,n){var r=n(41901)((function(e,t){return e&&t}));e.exports=r},95788:function(e,t,n){var r=n(41833),i=n(63796),o=n(37857),a=n(74978),s=n(59611),u=r((function(e){return i(s(o,0,a("length",e)),(function(){for(var t=0,n=e.length;t<n;){if(e[t].apply(this,arguments))return!0;t+=1}return!1}))}));e.exports=u},31405:function(e,t,n){var r=n(90835),i=n(41901),o=n(29174),a=n(34981),s=i((function(e,t){return"function"==typeof t["fantasy-land/ap"]?t["fantasy-land/ap"](e):"function"==typeof e.ap?e.ap(t):"function"==typeof e?function(n){return e(n)(t(n))}:o((function(e,n){return r(e,a(n,t))}),[],e)}));e.exports=s},91500:function(e,t,n){var r=n(41901)((function(e,t){return e.apply(this,t)}));e.exports=r},68389:function(e,t,n){var r=n(53930),i=n(41901)((function(e,t){return r(e.length,(function(){return e.apply(t,arguments)}))}));e.exports=i},99983:function(e,t,n){var r=n(41901),i=n(33427),o=n(3249),a=n(29989),s=r((function(e,t){return i(e)?function(){return e.apply(this,arguments)&&t.apply(this,arguments)}:a(o)(e,t)}));e.exports=s},10646:function(e,t,n){var r=n(29989)(n(78948));e.exports=r},71483:function(e,t,n){var r=n(27779),i=n(7662);e.exports=function(){if(0===arguments.length)throw new Error("compose requires at least one argument");return r.apply(this,i(arguments))}},66604:function(e,t,n){var r=n(15950),i=n(7662);e.exports=function(){if(0===arguments.length)throw new Error("composeP requires at least one argument");return r.apply(this,i(arguments))}},8524:function(e,t,n){var r=n(8571),i=n(41901),o=n(25972),a=n(33427),s=n(33911),u=n(86207),c=i((function(e,t){if(o(e)){if(o(t))return r(e).call(e,t);throw new TypeError(u(t)+" is not an array")}if(s(e)){if(s(t))return e+t;throw new TypeError(u(t)+" is not a string")}if(null!=e&&a(e["fantasy-land/concat"]))return e["fantasy-land/concat"](t);if(null!=e&&a(r(e)))return r(e).call(e,t);throw new TypeError(u(e)+' does not have a method named "concat" or "fantasy-land/concat"')}));e.exports=c},20494:function(e,t,n){var r=n(41833),i=n(63796),o=r((function(e){return i(e.length,e)}));e.exports=o},63796:function(e,t,n){var r=n(53930),i=n(41833),o=n(41901),a=n(47963),s=o((function(e,t){return 1===e?i(t):r(e,a(e,[],t))}));e.exports=s},90036:function(e,t,n){var r=n(41901)((function(e,t){return null==t||t!=t?e:t}));e.exports=r},96852:function(e,t,n){var r=n(41901),i=n(51303),o=r((function(e,t){for(var n=[],r=0,o=e.length,a=t.length,s=new i,u=0;u<a;u+=1)s.add(t[u]);for(;r<o;)s.add(e[r])&&(n[n.length]=e[r]),r+=1;return n}));e.exports=o},29019:function(e,t,n){var r=n(41901)((function(e,t){var n={};for(var r in t)n[r]=t[r];return delete n[e],n}));e.exports=r},1241:function(e,t,n){var r=n(41901),i=n(33427),o=n(29989),a=n(97034),s=r((function(e,t){return i(e)?function(){return e.apply(this,arguments)||t.apply(this,arguments)}:o(a)(e,t)}));e.exports=s},9362:function(e,t,n){var r=n(41901),i=n(735),o=r((function(e,t){return i(e,t,[],[])}));e.exports=o},74638:function(e,t,n){var r=n(41901),i=n(82552),o=n(41882),a=n(42980),s=n(29174),u=n(67228),c=n(79817),l=r(i(["filter"],u,(function(e,t){return a(t)?s((function(n,r){return e(t[r])&&(n[r]=t[r]),n}),{},c(t)):o(e,t)})));e.exports=l},43936:function(e,t,n){var r=n(41901),i=n(65351),o=r((function(e,t){return i([e],t)}));e.exports=o},65351:function(e,t,n){var r=n(41901),i=n(29780),o=n(40850),a=r((function(e,t){if(0===e.length||o(t))return!1;for(var n=t,r=0;r<e.length;){if(o(n)||!i(e[r],n))return!1;n=n[e[r]],r+=1}return!0}));e.exports=a},86619:function(e,t,n){var r=n(82974),i=n(63796),o=r((function(e,t,n){return i(Math.max(e.length,t.length,n.length),(function(){return e.apply(this,arguments)?t.apply(this,arguments):n.apply(this,arguments)}))}));e.exports=o},51303:function(e,t,n){var r=n(20474),i=n(23513),o=n(11104),a=function(){function e(){this._nativeSet="function"==typeof i?new i:null,this._items={}}return e.prototype.add=function(e){return!s(e,!0,this)},e.prototype.has=function(e){return s(e,!1,this)},e}();function s(e,t,n){var i,a=r(e);switch(a){case"string":case"number":return 0===e&&1/e==-1/0?!!n._items["-0"]||(t&&(n._items["-0"]=!0),!1):null!==n._nativeSet?t?(i=n._nativeSet.size,n._nativeSet.add(e),n._nativeSet.size===i):n._nativeSet.has(e):a in n._items?e in n._items[a]||(t&&(n._items[a][e]=!0),!1):(t&&(n._items[a]={},n._items[a][e]=!0),!1);case"boolean":if(a in n._items){var s=e?1:0;return!!n._items[a][s]||(t&&(n._items[a][s]=!0),!1)}return t&&(n._items[a]=e?[!1,!0]:[!0,!1]),!1;case"function":return null!==n._nativeSet?t?(i=n._nativeSet.size,n._nativeSet.add(e),n._nativeSet.size===i):n._nativeSet.has(e):a in n._items?!!o(e,n._items[a])||(t&&n._items[a].push(e),!1):(t&&(n._items[a]=[e]),!1);case"undefined":return!!n._items[a]||(t&&(n._items[a]=!0),!1);case"object":if(null===e)return!!n._items.null||(t&&(n._items.null=!0),!1);default:return(a=Object.prototype.toString.call(e))in n._items?!!o(e,n._items[a])||(t&&n._items[a].push(e),!1):(t&&(n._items[a]=[e]),!1)}}e.exports=a},53930:function(e){e.exports=function(e,t){switch(e){case 0:return function(){return t.apply(this,arguments)};case 1:return function(e){return t.apply(this,arguments)};case 2:return function(e,n){return t.apply(this,arguments)};case 3:return function(e,n,r){return t.apply(this,arguments)};case 4:return function(e,n,r,i){return t.apply(this,arguments)};case 5:return function(e,n,r,i,o){return t.apply(this,arguments)};case 6:return function(e,n,r,i,o,a){return t.apply(this,arguments)};case 7:return function(e,n,r,i,o,a,s){return t.apply(this,arguments)};case 8:return function(e,n,r,i,o,a,s,u){return t.apply(this,arguments)};case 9:return function(e,n,r,i,o,a,s,u,c){return t.apply(this,arguments)};case 10:return function(e,n,r,i,o,a,s,u,c,l){return t.apply(this,arguments)};default:throw new Error("First argument to _arity must be a non-negative integer no greater than ten")}}},52769:function(e){e.exports=function(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}},56605:function(e,t,n){var r=n(35704),i=n(25972);e.exports=function(e,t){return function(){var n=arguments.length;if(0===n)return t();var o=arguments[n-1];return i(o)||"function"!=typeof o[e]?t.apply(this,arguments):o[e].apply(o,r(Array.prototype).call(arguments,0,n-1))}}},76915:function(e){e.exports=function(e){return function(){return!e.apply(this,arguments)}}},90835:function(e){e.exports=function(e,t){var n;t=t||[];var r=(e=e||[]).length,i=t.length,o=[];for(n=0;n<r;)o[o.length]=e[n],n+=1;for(n=0;n<i;)o[o.length]=t[n],n+=1;return o}},88676:function(e,t,n){var r=n(53930),i=n(41901);e.exports=function(e){return i((function(t,n){return r(Math.max(0,t.length-n.length),(function(){return t.apply(this,e(n,arguments))}))}))}},41833:function(e,t,n){var r=n(95906);e.exports=function(e){return function t(n){return 0===arguments.length||r(n)?t:e.apply(this,arguments)}}},41901:function(e,t,n){var r=n(41833),i=n(95906);e.exports=function(e){return function t(n,o){switch(arguments.length){case 0:return t;case 1:return i(n)?t:r((function(t){return e(n,t)}));default:return i(n)&&i(o)?t:i(n)?r((function(t){return e(t,o)})):i(o)?r((function(t){return e(n,t)})):e(n,o)}}}},82974:function(e,t,n){var r=n(41833),i=n(41901),o=n(95906);e.exports=function(e){return function t(n,a,s){switch(arguments.length){case 0:return t;case 1:return o(n)?t:i((function(t,r){return e(n,t,r)}));case 2:return o(n)&&o(a)?t:o(n)?i((function(t,n){return e(t,a,n)})):o(a)?i((function(t,r){return e(n,t,r)})):r((function(t){return e(n,a,t)}));default:return o(n)&&o(a)&&o(s)?t:o(n)&&o(a)?i((function(t,n){return e(t,n,s)})):o(n)&&o(s)?i((function(t,n){return e(t,a,n)})):o(a)&&o(s)?i((function(t,r){return e(n,t,r)})):o(n)?r((function(t){return e(t,a,s)})):o(a)?r((function(t){return e(n,t,s)})):o(s)?r((function(t){return e(n,a,t)})):e(n,a,s)}}}},47963:function(e,t,n){var r=n(53930),i=n(95906);e.exports=function e(t,n,o){return function(){for(var a=[],s=0,u=t,c=0;c<n.length||s<arguments.length;){var l;c<n.length&&(!i(n[c])||s>=arguments.length)?l=n[c]:(l=arguments[s],s+=1),a[c]=l,i(l)||(u-=1),c+=1}return u<=0?o.apply(this,a):r(u,e(t,a,o))}}},82552:function(e,t,n){var r=n(35704),i=n(25972),o=n(95084);e.exports=function(e,t,n){return function(){if(0===arguments.length)return n();var a=r(Array.prototype).call(arguments,0),s=a.pop();if(!i(s)){for(var u=0;u<e.length;){if("function"==typeof s[e[u]])return s[e[u]].apply(s,a);u+=1}if(o(s)){var c=t.apply(null,a);return c(s)}}return n.apply(this,arguments)}}},735:function(e,t,n){var r=n(20474),i=n(35704),o=n(40703),a=n(8571),s=n(89221),u=n(52769),c=n(95061),l=n(85477),f=n(29780),d=n(54978),p=n(79817),h=n(93743);function g(e,t,n,r){var o=u(e),a=u(t);function s(e,t){return m(e,t,i(n).call(n),i(r).call(r))}return!c((function(e,t){return!c(s,t,e)}),a,o)}function m(e,t,n,i){if(d(e,t))return!0;var u=h(e);if(u!==h(t))return!1;if(null==e||null==t)return!1;if("function"==typeof e["fantasy-land/equals"]||"function"==typeof t["fantasy-land/equals"])return"function"==typeof e["fantasy-land/equals"]&&e["fantasy-land/equals"](t)&&"function"==typeof t["fantasy-land/equals"]&&t["fantasy-land/equals"](e);if("function"==typeof e.equals||"function"==typeof t.equals)return"function"==typeof e.equals&&e.equals(t)&&"function"==typeof t.equals&&t.equals(e);switch(u){case"Arguments":case"Array":case"Object":if("function"==typeof e.constructor&&"Promise"===l(e.constructor))return e===t;break;case"Boolean":case"Number":case"String":if(r(e)!==r(t)||!d(e.valueOf(),t.valueOf()))return!1;break;case"Date":if(!d(e.valueOf(),t.valueOf()))return!1;break;case"Error":return e.name===t.name&&e.message===t.message;case"RegExp":if(e.source!==t.source||e.global!==t.global||e.ignoreCase!==t.ignoreCase||e.multiline!==t.multiline||e.sticky!==t.sticky||e.unicode!==t.unicode)return!1}for(var c=n.length-1;c>=0;){if(n[c]===e)return i[c]===t;c-=1}switch(u){case"Map":return e.size===t.size&&g(o(e).call(e),o(t).call(t),a(n).call(n,[e]),a(i).call(i,[t]));case"Set":return e.size===t.size&&g(s(e).call(e),s(t).call(t),a(n).call(n,[e]),a(i).call(i,[t]));case"Arguments":case"Array":case"Object":case"Boolean":case"Number":case"String":case"Date":case"Error":case"RegExp":case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"ArrayBuffer":break;default:return!1}var y=p(e);if(y.length!==p(t).length)return!1;var v=a(n).call(n,[e]),b=a(i).call(i,[t]);for(c=y.length-1;c>=0;){var _=y[c];if(!f(_,t)||!m(t[_],e[_],v,b))return!1;c-=1}return!0}e.exports=m},41882:function(e){e.exports=function(e,t){for(var n=0,r=t.length,i=[];n<r;)e(t[n])&&(i[i.length]=t[n]),n+=1;return i}},85477:function(e){e.exports=function(e){var t=String(e).match(/^function (\w*)/);return null==t?"":t[1]}},29780:function(e){e.exports=function(e,t){return Object.prototype.hasOwnProperty.call(t,e)}},11104:function(e,t,n){var r=n(80773);e.exports=function(e,t){return r(t,e,0)>=0}},95061:function(e){e.exports=function(e,t,n){for(var r=0,i=n.length;r<i;){if(e(t,n[r]))return!0;r+=1}return!1}},80773:function(e,t,n){var r=n(20474),i=n(9362);e.exports=function(e,t,n){var o,a;if("function"==typeof e.indexOf)switch(r(t)){case"number":if(0===t){for(o=1/t;n<e.length;){if(0===(a=e[n])&&1/a===o)return n;n+=1}return-1}if(t!=t){for(;n<e.length;){if("number"==typeof(a=e[n])&&a!=a)return n;n+=1}return-1}return e.indexOf(t,n);case"string":case"boolean":case"function":case"undefined":return e.indexOf(t,n);case"object":if(null===t)return e.indexOf(t,n)}for(;n<e.length;){if(i(e[n],t))return n;n+=1}return-1}},50614:function(e,t,n){var r=n(29780),i=Object.prototype.toString,o=function(){return"[object Arguments]"===i.call(arguments)?function(e){return"[object Arguments]"===i.call(e)}:function(e){return r("callee",e)}}();e.exports=o},25972:function(e){e.exports=Array.isArray||function(e){return null!=e&&e.length>=0&&"[object Array]"===Object.prototype.toString.call(e)}},36232:function(e,t,n){var r=n(20474),i=n(41833),o=n(25972),a=n(33911),s=i((function(e){return!!o(e)||!!e&&("object"===r(e)&&(!a(e)&&(1===e.nodeType?!!e.length:0===e.length||e.length>0&&(e.hasOwnProperty(0)&&e.hasOwnProperty(e.length-1)))))}));e.exports=s},33427:function(e){e.exports=function(e){var t=Object.prototype.toString.call(e);return"[object Function]"===t||"[object AsyncFunction]"===t||"[object GeneratorFunction]"===t||"[object AsyncGeneratorFunction]"===t}},10502:function(e,t,n){var r=n(60312);e.exports=r||function(e){return e<<0===e}},42980:function(e){e.exports=function(e){return"[object Object]"===Object.prototype.toString.call(e)}},95906:function(e,t,n){var r=n(20474);e.exports=function(e){return null!=e&&"object"===r(e)&&!0===e["@@functional/placeholder"]}},33911:function(e){e.exports=function(e){return"[object String]"===Object.prototype.toString.call(e)}},95084:function(e){e.exports=function(e){return null!=e&&"function"==typeof e["@@transducer/step"]}},85709:function(e){e.exports=function(e,t){for(var n=0,r=t.length,i=Array(r);n<r;)i[n]=e(t[n]),n+=1;return i}},54978:function(e,t,n){var r=n(42692);e.exports="function"==typeof r?r:function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}},28324:function(e){e.exports=function(e,t){return function(){return t.call(this,e.apply(this,arguments))}}},9030:function(e){e.exports=function(e,t){return function(){var n=this;return e.apply(n,arguments).then((function(e){return t.call(n,e)}))}}},26992:function(e){e.exports=function(e){return'"'+e.replace(/\\/g,"\\\\").replace(/[\b]/g,"\\b").replace(/\f/g,"\\f").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\t/g,"\\t").replace(/\v/g,"\\v").replace(/\0/g,"\\0").replace(/"/g,'\\"')+'"'}},29174:function(e,t,n){var r=n(52472),i=n(48994),o=n(36232),a=n(597),s=n(68389);function u(e,t,n){for(var r=n.next();!r.done;){if((t=e["@@transducer/step"](t,r.value))&&t["@@transducer/reduced"]){t=t["@@transducer/value"];break}r=n.next()}return e["@@transducer/result"](t)}function c(e,t,n,r){return e["@@transducer/result"](n[r](s(e["@@transducer/step"],e),t))}var l=void 0!==r?i:"@@iterator";e.exports=function(e,t,n){if("function"==typeof e&&(e=a(e)),o(n))return function(e,t,n){for(var r=0,i=n.length;r<i;){if((t=e["@@transducer/step"](t,n[r]))&&t["@@transducer/reduced"]){t=t["@@transducer/value"];break}r+=1}return e["@@transducer/result"](t)}(e,t,n);if("function"==typeof n["fantasy-land/reduce"])return c(e,t,n,"fantasy-land/reduce");if(null!=n[l])return u(e,t,n[l]());if("function"==typeof n.next)return u(e,t,n);if("function"==typeof n.reduce)return c(e,t,n,"reduce");throw new TypeError("reduce: list must be array or iterable")}},86662:function(e,t,n){var r=n(35704),i=function(e){return(e<10?"0":"")+e},o="function"==typeof Date.prototype.toISOString?function(e){return e.toISOString()}:function(e){var t;return e.getUTCFullYear()+"-"+i(e.getUTCMonth()+1)+"-"+i(e.getUTCDate())+"T"+i(e.getUTCHours())+":"+i(e.getUTCMinutes())+":"+i(e.getUTCSeconds())+"."+r(t=(e.getUTCMilliseconds()/1e3).toFixed(3)).call(t,2,5)+"Z"};e.exports=o},69165:function(e,t,n){var r=n(20474),i=n(8571),o=n(76555),a=n(35704),s=n(11104),u=n(85709),c=n(26992),l=n(86662),f=n(79817),d=n(94479);e.exports=function e(t,n){var p,h=function(r){var o=i(n).call(n,[t]);return s(r,o)?"<Circular>":e(r,o)},g=function(e,t){var n;return u((function(t){return c(t)+": "+h(e[t])}),o(n=a(t).call(t)).call(n))};switch(Object.prototype.toString.call(t)){case"[object Arguments]":return"(function() { return arguments; }("+u(h,t).join(", ")+"))";case"[object Array]":return"["+i(p=u(h,t)).call(p,g(t,d((function(e){return/^\d+$/.test(e)}),f(t)))).join(", ")+"]";case"[object Boolean]":return"object"===r(t)?"new Boolean("+h(t.valueOf())+")":t.toString();case"[object Date]":return"new Date("+(isNaN(t.valueOf())?h(NaN):c(l(t)))+")";case"[object Null]":return"null";case"[object Number]":return"object"===r(t)?"new Number("+h(t.valueOf())+")":1/t==-1/0?"-0":t.toString(10);case"[object String]":return"object"===r(t)?"new String("+h(t.valueOf())+")":c(t);case"[object Undefined]":return"undefined";default:if("function"==typeof t.toString){var m=t.toString();if("[object Object]"!==m)return m}return"{"+g(t,f(t)).join(", ")+"}"}}},51074:function(e){e.exports={init:function(){return this.xf["@@transducer/init"]()},result:function(e){return this.xf["@@transducer/result"](e)}}},67228:function(e,t,n){var r=n(41901),i=n(51074),o=function(){function e(e,t){this.xf=t,this.f=e}return e.prototype["@@transducer/init"]=i.init,e.prototype["@@transducer/result"]=i.result,e.prototype["@@transducer/step"]=function(e,t){return this.f(t)?this.xf["@@transducer/step"](e,t):e},e}(),a=r((function(e,t){return new o(e,t)}));e.exports=a},23871:function(e,t,n){var r=n(41901),i=n(51074),o=function(){function e(e,t){this.xf=t,this.f=e}return e.prototype["@@transducer/init"]=i.init,e.prototype["@@transducer/result"]=i.result,e.prototype["@@transducer/step"]=function(e,t){return this.xf["@@transducer/step"](e,this.f(t))},e}(),a=r((function(e,t){return new o(e,t)}));e.exports=a},96023:function(e,t,n){var r=n(41901),i=n(51074),o=function(){function e(e,t){this.xf=t,this.f=e}return e.prototype["@@transducer/init"]=i.init,e.prototype["@@transducer/result"]=i.result,e.prototype["@@transducer/step"]=function(e,t){return this.f(t),this.xf["@@transducer/step"](e,t)},e}(),a=r((function(e,t){return new o(e,t)}));e.exports=a},597:function(e){var t=function(){function e(e){this.f=e}return e.prototype["@@transducer/init"]=function(){throw new Error("init not implemented on XWrap")},e.prototype["@@transducer/result"]=function(e){return e},e.prototype["@@transducer/step"]=function(e,t){return this.f(e,t)},e}();e.exports=function(e){return new t(e)}},40109:function(e,t,n){var r=n(41901)((function(e,t){return null!=t&&t.constructor===e||t instanceof e}));e.exports=r},40850:function(e,t,n){var r=n(41833)((function(e){return null==e}));e.exports=r},79817:function(e,t,n){var r=n(62079),i=n(41833),o=n(29780),a=n(50614),s=!{toString:null}.propertyIsEnumerable("toString"),u=["constructor","valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],c=function(){"use strict";return arguments.propertyIsEnumerable("length")}(),l=function(e,t){for(var n=0;n<e.length;){if(e[n]===t)return!0;n+=1}return!1},f=i("function"!=typeof r||c?function(e){if(Object(e)!==e)return[];var t,n,r=[],i=c&&a(e);for(t in e)!o(t,e)||i&&"length"===t||(r[r.length]=t);if(s)for(n=u.length-1;n>=0;)o(t=u[n],e)&&!l(r,t)&&(r[r.length]=t),n-=1;return r}:function(e){return Object(e)!==e?[]:r(e)});e.exports=f},29989:function(e,t,n){var r=n(41833),i=n(20187),o=r((function(e){return i(e.length,e)}));e.exports=o},20187:function(e,t,n){var r=n(35704),i=n(41901),o=n(29174),a=n(31405),s=n(63796),u=n(34981),c=i((function(e,t){var n=s(e,t);return s(e,(function(){return o(a,u(n,arguments[0]),r(Array.prototype).call(arguments,1))}))}));e.exports=c},16738:function(e,t,n){var r=n(41901)((function(e,t){return e<=t}));e.exports=r},34981:function(e,t,n){var r=n(41901),i=n(82552),o=n(85709),a=n(29174),s=n(23871),u=n(63796),c=n(79817),l=r(i(["fantasy-land/map","map"],s,(function(e,t){switch(Object.prototype.toString.call(t)){case"[object Function]":return u(t.length,(function(){return e.call(this,t.apply(this,arguments))}));case"[object Object]":return a((function(n,r){return n[r]=e(t[r]),n}),{},c(t));default:return o(e,t)}})));e.exports=l},37857:function(e,t,n){var r=n(41901)((function(e,t){return t>e?t:e}));e.exports=r},54004:function(e,t,n){var r=n(53930),i=n(41901),o=n(29780),a=i((function(e,t){var n={};return r(t.length,(function(){var r=e.apply(this,arguments);return o(r,n)||(n[r]=t.apply(this,arguments)),n[r]}))}));e.exports=a},78948:function(e,t,n){var r=n(41833)((function(e){return!e}));e.exports=r},86820:function(e,t,n){var r=n(41901),i=n(33911),o=r((function(e,t){var n=e<0?t.length+e:e;return i(t)?t.charAt(n):t[n]}));e.exports=o},97034:function(e,t,n){var r=n(41901)((function(e,t){return e||t}));e.exports=r},40946:function(e,t,n){var r=n(90835),i=n(88676)(r);e.exports=i},55359:function(e,t,n){var r=n(41901),i=n(25803),o=r((function(e,t){return i([e],t)[0]}));e.exports=o},5912:function(e,t,n){var r=n(82974),i=n(9362),o=n(55359),a=r((function(e,t,n){return i(o(e,n),t)}));e.exports=a},81156:function(e,t,n){var r=n(82974),i=n(90036),o=n(55359),a=r((function(e,t,n){return i(e,o(t,n))}));e.exports=a},12814:function(e,t,n){var r=n(82974),i=n(55359),o=r((function(e,t,n){return e(i(t,n))}));e.exports=o},25803:function(e,t,n){var r=n(88946),i=n(41901),o=n(10502),a=n(86820),s=i((function(e,t){return r(e).call(e,(function(e){for(var n,r=t,i=0;i<e.length;){if(null==r)return;n=e[i],r=o(n)?a(n,r):r[n],i+=1}return r}))}));e.exports=s},27779:function(e,t,n){var r=n(53930),i=n(28324),o=n(59611),a=n(60039);e.exports=function(){if(0===arguments.length)throw new Error("pipe requires at least one argument");return r(arguments[0].length,o(i,arguments[0],a(arguments)))}},15950:function(e,t,n){var r=n(53930),i=n(9030),o=n(59611),a=n(60039);e.exports=function(){if(0===arguments.length)throw new Error("pipeP requires at least one argument");return r(arguments[0].length,o(i,arguments[0],a(arguments)))}},74978:function(e,t,n){var r=n(41901),i=n(34981),o=n(43203),a=r((function(e,t){return i(o(e),t)}));e.exports=a},43203:function(e,t,n){var r=n(41901),i=n(55359),o=r((function(e,t){return i([e],t)}));e.exports=o},47919:function(e,t,n){var r=n(82974)((function(e,t,n){return e(n[t])}));e.exports=r},59611:function(e,t,n){var r=n(82974)(n(29174));e.exports=r},94479:function(e,t,n){var r=n(76915),i=n(41901),o=n(74638),a=i((function(e,t){return o(r(e),t)}));e.exports=a},7662:function(e,t,n){var r=n(86526),i=n(35704),o=n(41833),a=n(33911),s=o((function(e){var t,n;return a(e)?r(t=e.split("")).call(t).join(""):r(n=i(Array.prototype).call(e,0)).call(n)}));e.exports=s},39760:function(e,t,n){var r=n(35704),i=n(56605),o=n(82974)(i("slice",(function(e,t,n){return r(Array.prototype).call(n,e,t)})));e.exports=o},66243:function(e,t,n){var r=n(41901),i=n(8524),o=n(96852),a=r((function(e,t){return i(o(e,t),o(t,e))}));e.exports=a},60039:function(e,t,n){var r=n(56605),i=n(41833)(r("tail",n(39760)(1,1/0)));e.exports=i},43745:function(e,t,n){var r=n(41901)(n(82552)([],n(96023),(function(e,t){return e(t),t})));e.exports=r},86207:function(e,t,n){var r=n(41833),i=n(69165),o=r((function(e){return i(e,[])}));e.exports=o},93743:function(e,t,n){var r=n(35704),i=n(41833)((function(e){var t;return null===e?"Null":void 0===e?"Undefined":r(t=Object.prototype.toString.call(e)).call(t,8,-1)}));e.exports=i},53626:function(e,t,n){var r=n(35704),i=n(41901),o=n(63796),a=i((function(e,t){return o(e,(function(){for(var n,i=1,o=t,a=0;i<=e&&"function"==typeof o;)n=i===e?arguments.length:a+o.length,o=o.apply(this,r(Array.prototype).call(arguments,a,n)),i+=1,a=n;return o}))}));e.exports=a},37752:function(e,t,n){var r=n(82974)((function(e,t,n){return e(n)?n:t(n)}));e.exports=r},66689:function(e,t,n){"use strict";n.d(t,{Z:function(){return _r}});var r=n(62079),i=n.n(r),o=n(52020),a=n.n(o),s=n(73324),u=n.n(s),c=n(88546),l=n.n(c),f=n(66775),d=n.n(f),p=n(44845),h=n(20494),g=n.n(h),m=n(34981),y=n.n(m),v=n(40946),b=n.n(v),_=n(33938),w=n(30222),T=n.n(w),x=n(63796),S=n.n(x),k=n(67552),E=n.n(k),O=n(71257),C=n(54004),L=n.n(C),A=L()(String,(function(e){return O.Z.create({baseURL:e,withCredentials:!0})}));function I(){return(I=(0,_.Z)(T().mark((function e(t,n,r){var i,o,a,s,u,c;return T().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return i=r.email,o=r.googleIdToken,a=r.password,s=r.tenantId,e.prev=1,u=o?{tenantId:s,token:o}:{password:a,tenantId:s,username:i},c=o?"google/signin":"signin",e.next=6,A(t.HEYOKRA_AUTH_SERVICE_URI).post(c,u);case 6:e.next=11;break;case 8:throw e.prev=8,e.t0=e.catch(1),E()(new Error,e.t0.response.data);case 11:case"end":return e.stop()}}),e,null,[[1,8]])})))).apply(this,arguments)}var P=S()(3,(function(e,t,n){return I.apply(this,arguments)})),M=n(8571),R=n.n(M),j=n(55359),D=n.n(j),N=n(5912),B=n.n(N);function U(){return(U=(0,_.Z)(T().mark((function e(t,n,r){var i,o,a,s,u,c,l;return T().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return i=r.email,o=r.login,a=r.oktaNamespace,s=r.password,e.prev=1,e.next=4,A(t.AUTH_SERVICE_URI).post("/api/v1/authn",{password:s,username:o||R()(u="".concat(a,"/")).call(u,i),options:{multiOptionalFactorEnroll:!1,warnBeforePasswordExpired:!1}});case 4:if(c=e.sent,!B()(["data","status"],"LOCKED_OUT",c)){e.next=9;break}throw(l=new Error("User Locked Out")).response={data:{errorCode:"USER_LOCKED_OUT"}},l;case 9:return e.abrupt("return",D()(["data","sessionToken"],c));case 12:throw e.prev=12,e.t0=e.catch(1),E()(new Error,e.t0.response.data);case 15:case"end":return e.stop()}}),e,null,[[1,12]])})))).apply(this,arguments)}var F=S()(3,(function(e,t,n){return U.apply(this,arguments)}));function z(){return(z=(0,_.Z)(T().mark((function e(t,n,r){return T().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if("heyokra"!==r.idp){e.next=7;break}return e.next=4,P(t,n,r);case 4:e.t0=e.sent,e.next=10;break;case 7:return e.next=9,F(t,n,r);case 9:e.t0=e.sent;case 10:return e.abrupt("return",e.t0);case 11:case"end":return e.stop()}}),e)})))).apply(this,arguments)}var H=S()(3,(function(e,t,n){return z.apply(this,arguments)})),Z=n(10339),q=n.n(Z),V=n(43745),W=n.n(V),G=n(37752),$=n.n(G);function Y(){return window.tenant&&"heyokra"===window.tenant.idp}function K(){return(K=(0,_.Z)(T().mark((function e(t,n,r,i){var o;return T().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return i.clear(),o=Y()?r.HEYOKRA_AUTH_SERVICE_URI:r.AUTH_SERVICE_URI,e.next=4,A(o).delete("/api/v1/sessions/me").then(W()((function(){return n.emit&&t.emit("session:closed")}))).catch($()(B()(["response","status"],404),q()));case 4:case"end":return e.stop()}}),e)})))).apply(this,arguments)}var X=S()(4,(function(e,t,n,r){return K.apply(this,arguments)})),Q=n(57170),J=n.n(Q),ee=n(81290),te=n.n(ee),ne=n(40850),re=n.n(ne),ie=n(94479),oe=n.n(ie),ae=n(93007),se=n.n(ae)()(9),ue=oe()(re());function ce(e){var t=e.client_id,n=e.issuer,r=e.idp,i=e.nonce,o=e.prompt,a=void 0===o?"none":o,s=e.redirect_uri,u=void 0===s?window.location.origin:s,c=e.response_mode,l=e.scope,f=e.sessionToken,d=e.state,p=new(J())(ue({client_id:t,idp:r,nonce:i||se(),prompt:a,redirect_uri:u,response_mode:c,response_type:"id_token token",scope:l,sessionToken:f,state:d}));return E()(new(te())("".concat(n,"/v1/authorize"),window.location.origin),{search:p.toString()}).toString()}var le=n(24835),fe=n.n(le),de=n(79349),pe=n(68420),he=n(27344),ge=n(5281),me=n(18486),ye=n(90306),ve=n(3020),be=n(3362),_e=n(26729),we=n.n(_e);function Te(e){var t=function(){if("undefined"==typeof Reflect||!fe())return!1;if(fe().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(fe()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,be.Z)(e);if(t){var i=(0,be.Z)(this).constructor;n=fe()(r,arguments,i)}else n=r.apply(this,arguments);return(0,ve.Z)(this,n)}}var xe=function(e){(0,ye.Z)(n,e);var t=Te(n);function n(){var e,r;(0,pe.Z)(this,n);for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];return r=t.call.apply(t,R()(e=[this]).call(e,o)),navigator.serviceWorker&&navigator.serviceWorker.addEventListener("message",r._handleMessage.bind((0,ge.Z)(r))),r}return(0,he.Z)(n,[{key:"emit",value:function(){for(var e,t,r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];(e=(0,me.Z)((0,be.Z)(n.prototype),"emit",this)).call.apply(e,R()(t=[this]).call(t,i)),navigator.serviceWorker&&navigator.serviceWorker.ready.then((function(e){e.active.postMessage({jsonrpc:"2.0",method:"emit",params:i})}))}},{key:"_handleMessage",value:function(e){var t,r;e.data&&"2.0"===e.data.jsonrpc&&"emit"===e.data.method&&(t=(0,me.Z)((0,be.Z)(n.prototype),"emit",this)).call.apply(t,R()(r=[this]).call(r,(0,de.Z)(e.data.params)))}}]),n}(we()),Se=n(59056),ke=n(35820),Ee=n.n(ke),Oe=n(88946),Ce=n.n(Oe),Le=n(91829),Ae=n.n(Le),Ie=n(14886),Pe=n.n(Ie),Me=n(11137),Re=n.n(Me),je=n(95788),De=n.n(je),Ne=n(97411),Be=n.n(Ne),Ue=n(32573),Fe=n.n(Ue),ze=n(99983),He=n.n(ze),Ze=n(10646),qe=n.n(Ze),Ve=n(66604),We=n.n(Ve),Ge=n(1241),$e=n.n(Ge),Ye=n(9362),Ke=n.n(Ye),Xe=n(43936),Qe=n.n(Xe),Je=n(86619),et=n.n(Je),tt=n(16738),nt=n.n(tt),rt=n(81156),it=n.n(rt),ot=n(43203),at=n.n(ot),st=n(47919),ut=n.n(st),ct=n(66243),lt=n.n(ct),ft=n(53626),dt=n.n(ft),pt=n(35704),ht=n.n(pt),gt=n(10349),mt=n.n(gt),yt=n(19389),vt=n.n(yt),bt=n(54847),_t=n.n(bt),wt=n(3841),Tt=n(62534),xt=n(51791);var St=n(48216);function kt(){if("undefined"==typeof Reflect||!le)return!1;if(le.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(le(Boolean,[],(function(){}))),!0}catch(e){return!1}}function Et(e,t,n){var r;kt()?Et=St(r=le).call(r):Et=function(e,t,n){var r=[null];r.push.apply(r,t);var i=new(St(Function).apply(e,r));return n&&(0,Tt.Z)(i,n.prototype),i};return Et.apply(null,arguments)}function Ot(e){var t="function"==typeof bt?new bt:void 0;return Ot=function(e){if(null===e||(n=e,-1===xt(r=Function.toString.call(n)).call(r,"[native code]")))return e;var n,r;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,i)}function i(){return Et(e,arguments,(0,be.Z)(this).constructor)}return i.prototype=wt(e.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}}),(0,Tt.Z)(i,e)},Ot(e)}var Ct=n(52472),Lt=n.n(Ct),At=n(89221),It=n.n(At),Pt=n(71483),Mt=n.n(Pt),Rt=n(84012),jt=n.n(Rt);function Dt(e,t){return t&&(n=0,r=e*Math.pow(t,2),Math.round(n+Math.random()+(r-n)));var n,r}var Nt=S()(2,(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0,n=e.base,r=void 0===n?700:n,i=e.tries,o=void 0===i?10:i,a=e.when,s=void 0===a?jt():a;function u(){for(var e=arguments.length,n=new Array(e),i=0;i<e;i++)n[i]=arguments[i];var a=0;function u(){return Pe().resolveAfter(Dt(r,a)).chain(l)}function c(e){return++a<o?u():Pe().Rejected(e)}function l(){return t.apply(void 0,n).bichain(et()(s,c,Pe().Rejected),Pe().of)}return l()}return u})),Bt=n(46489);function Ut(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}var Ft=function(e,t){var n;void 0===t&&(t=Ut);var r,i=[],o=!1;return function(){for(var a=[],s=0;s<arguments.length;s++)a[s]=arguments[s];return o&&n===this&&t(a,i)||(r=e.apply(this,a),o=!0,n=this,i=a),r}},zt=Ft(n.n(Bt)());function Ht(e,t){var n=void 0!==Lt()&&vt()(e)||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){var n;if(!e)return;if("string"==typeof e)return Zt(e,t);var r=ht()(n=Object.prototype.toString.call(e)).call(n,8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return mt()(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Zt(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,o=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw o}}}}function Zt(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function qt(e){var t=function(){if("undefined"==typeof Reflect||!fe())return!1;if(fe().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(fe()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,be.Z)(e);if(t){var i=(0,be.Z)(this).constructor;n=fe()(r,arguments,i)}else n=r.apply(this,arguments);return(0,ve.Z)(this,n)}}var Vt=Lt()("TimeoutError"),Wt=function(e){(0,ye.Z)(n,e);var t=qt(n);function n(){return(0,pe.Z)(this,n),t.call(this,"Authorization timed out")}return n}(Ot(Error));Wt.prototype[Vt]=!0;var Gt=Nt({tries:2,when:function(e){return e[Vt]}}),$t={},Yt=0,Kt=L()(at()("AUTH_SERVICE_URI"),(function(e){window.addEventListener("message",(function(t){var n=new(te())(e.AUTH_SERVICE_URI,window.location.origin).origin;if(t.origin===n){var r=t.data,i=(r=void 0===r?{}:r).access_token,o=r.error,a=r.error_description,s=r.id_token,u=r.state,c=$t[u];c&&(o?c.reject(new Error([o,a].join(", "))):c.resolve({access_token:i,id_token:s}))}}))}));var Xt=function(e,t){return[e.AUTH_SERVICE_URI,t].join("|")};var Qt,Jt,en=S()(3,(Qt=Gt((function(e,t,n){return new(Pe())((function(r,i){var o=W()((function(){delete $t[a],document.body.removeChild(u)}));Kt(e);var a=Yt++,s=se(),u=document.createElement("iframe");return u.style.display="none",document.body.appendChild(u),Pe()((function(t,r){var i=Y(),o={resolve:r,reject:t};$t[a]=o,u.addEventListener("error",Mt()(t,at()("error"))),u.src=ce({client_id:e.OKTA_CLIENT_ID,issuer:i?e.HEYOKRA_OIDC_ISSUER_URI:e.OIDC_ISSUER_URI,nonce:s,redirect_uri:e.REDIRECT_URI,response_mode:i?"post_message":"okta_post_message",scope:e.OIDC_SCOPE,sessionToken:n,state:a})})).race(Pe().rejectAfter(5e3,new Wt)).chain((function(e){var n,r=e.id_token,i=e.access_token,o=r?zt(r):null;return s!==o.nonce?Pe().Reject(new Error(R()(n="Expected nonce ".concat(s," but received ")).call(n,o.nonce))):(t.set(r,i),Pe().of(t.get()))})).bimap(o,o).fork(r,i,o)}))})),Jt={},function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return Pe()((function(e,n){var r={resolve:n,reject:e},i=Xt.apply(void 0,t),o=Lt()();null==Jt[i]&&(Jt[i]={listeners:new(_t())});var a=Jt[i];if(a.listeners.set(o,r),1===a.listeners.size){var s=function(e){return function(t){var n,r,o=[],s=Ht(It()(n=a.listeners).call(n));try{for(s.s();!(r=s.n()).done;){var u=r.value;try{u[e](t)}catch(e){o.push(e)}}}catch(e){s.e(e)}finally{s.f()}if(delete Jt[i],o.length>0)throw o[0]}};a.cancel=Qt.apply(void 0,t).fork(s("reject"),s("resolve"))}return function(){a.listeners.delete(o),0===a.listeners.size&&a.cancel&&a.cancel()}}))})),tn=Ee().reject.bind(Ee()),nn=function(e){return e instanceof Response},rn=function(e){return ut()(e,"status")},on=He()(nn,rn(nt()(500))),an=qe()(nn),sn=We()($()(at()("ok"),tn),(function(e){return window.fetch(e.clone())})),un=Fe()({when:$e()(on,an),tries:3},sn),cn=dt()(2,(function(e){return He()(Re()(Qe()("OKTA_CLIENT_ID",e)),rn(De()(y()(Ke(),[401,403]))))})),ln=it()([],["roles"]),fn=it()("",["subscription","status"]),dn=g()((function(e,t,n){var r,i,o=(0,Se.Z)(n,2)[1],a=Ce()(r=[t,o]).call(r,ln),s=(0,Se.Z)(a,2),u=s[0],c=s[1],l=Ce()(i=[t,o]).call(i,fn),f=(0,Se.Z)(l,2),d=f[0],p=f[1];lt()(u,c).length>0&&e.emit("change:roles",o,t),d!==p&&e.emit("change:status",o,t)})),pn=g()((function(e,t,n){var r,i=t.RISE_ACCOUNTS_URI;return function(e){var t;return Ae()(t=window.location.hostname).call(t,e)}(t.RISE_DOMAIN)&&i&&Ae()(r=n.message).call(r,"redirect_uri")?Be()({method:"GET",url:"".concat(i,"/api/subdomain_active")}).chain((function(t){return!1===t.data?e.emit("change:subdomain"):e.emit("unauthorized",n),Pe().Rejected(n)})).toPromise():(n instanceof DOMException&&"AbortError"===n.name||e.emit("unauthorized",n),Ee().reject(n))})),hn=g()((function(e,t,n,r){if(null!=n&&n.sub!==r[1].sub)throw e.emit("unauthorized",t),t;return r})),gn=g()((function(e,t,n,r,i){var o,a,s=n.get(),u=(0,Se.Z)(s,2)[1];return(o=en(t,n,void 0),a=r.signal,new(Ee())((function(e,t){if(a instanceof AbortSignal){var n=function(){return t(new DOMException("Aborted","AbortError"))};if(a.aborted)n();else{var r=Function.prototype,i=function(){return r()};a.addEventListener("abort",i);var s=function(e){return function(t){a.removeEventListener("abort",i),e(t)}};r=o.fork(s(t),s(e),s(n))}}else o.fork(t,e)}))).then(hn(e,i,u),pn(e,t)).then(W()(dn(e,u))).then((function(){return un(r)}))})),mn=dt()(5,(function(e,t,n,r){return et()(cn(t),gn(e,t,n,r),tn)})),yn=$()(nn,tn),vn=function(e){return function(t,n,r,i){var o=new Request(r,i);return un(o).catch(mn(e,t,n,o)).catch(yn)}},bn=n(51829),_n=n.n(bn),wn=n(19623);function Tn(e){return null!=e&&"object"===(0,wn.Z)(e)&&!0===e["@@functional/placeholder"]}function xn(e){return function t(n){return 0===arguments.length||Tn(n)?t:e.apply(this,arguments)}}function Sn(e){return function t(n,r){switch(arguments.length){case 0:return t;case 1:return Tn(n)?t:xn((function(t){return e(n,t)}));default:return Tn(n)&&Tn(r)?t:Tn(n)?xn((function(t){return e(t,r)})):Tn(r)?xn((function(t){return e(n,t)})):e(n,r)}}}var kn=Sn((function(e,t){for(var n={},r=0;r<e.length;)e[r]in t&&(n[e[r]]=t[e[r]]),r+=1;return n})),En=n(88541),On=S()(3,(function(){return en.apply(void 0,arguments).toPromise()})),Cn=new(J())(window.location.hash.substr(1)),Ln=Cn.get("id_token"),An=Cn.get("access_token");function In(e,t){return Pn.apply(this,arguments)}function Pn(){return(Pn=(0,_.Z)(T().mark((function e(t,n){return T().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!Ln){e.next=5;break}n.set(Ln,An),Ln=An=void 0,e.next=8;break;case 5:if(n.get()[0]){e.next=8;break}return e.next=8,On(t,n,void 0);case 8:return e.abrupt("return",n.get());case 9:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function Mn(e,t){return Rn.apply(this,arguments)}function Rn(){return(Rn=(0,_.Z)(T().mark((function e(t,n){return T().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n.clear(),e.next=3,In(t,n);case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function jn(e){var t=function(){if("undefined"==typeof Reflect||!fe())return!1;if(fe().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(fe()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,be.Z)(e);if(t){var i=(0,be.Z)(this).constructor;n=fe()(r,arguments,i)}else n=r.apply(this,arguments);return(0,ve.Z)(this,n)}}function Dn(e,t){var n=void 0!==Lt()&&vt()(e)||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){var n;if(!e)return;if("string"==typeof e)return Nn(e,t);var r=ht()(n=Object.prototype.toString.call(e)).call(n,8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return mt()(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Nn(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,o=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw o}}}}function Nn(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}Ln&&(Cn.delete("id_token"),window.history.replaceState(null,null,"#".concat(Cn.toString()))),An&&(Cn.delete("access_token"),Cn.delete("expires_in"),Cn.delete("scope"),Cn.delete("token_type"),window.history.replaceState(null,null,"#".concat(Cn.toString())));var Bn=function(){function e(t,n){(0,pe.Z)(this,e),this._emitErrorDelegate=this._emitError.bind(this),this._initDelegate=this._init.bind(this),this._onErrorDelegate=this._onError.bind(this),this._resetRetryTimesDelegate=this._resetRetryTimes.bind(this),this._onerror=this._onmessage=this._onopen=Function.prototype,this._env=t,this._state=n,this._errorEmitter=new(we()),this._closed=!1;for(var r=arguments.length,i=new Array(r>2?r-2:0),o=2;o<r;o++)i[o-2]=arguments[o];this._params=i,this._listeners={},this._resetRetryTimes(),this._init()}return(0,he.Z)(e,[{key:"_emitError",value:function(e){this._errorEmitter.emit("error",new ErrorEvent("error",{colno:e.colno,error:e,filename:e.filename,lineno:e.lineno,message:e.message}))}},{key:"_init",value:function(){if(!this._closed)for(var e in this._source=Et(En.EventSourcePolyfill,(0,de.Z)(this._params)),this._source.addEventListener("error",this._onErrorDelegate),this._source.addEventListener("open",this._resetRetryTimesDelegate),this._source.onerror=this._onerror,this._source.onmessage=this._onmessage,this._source.onopen=this._onopen,this._listeners){var t,n=Dn(this._listeners[e]);try{for(n.s();!(t=n.n()).done;){var r=t.value;this._source.addEventListener(e,r)}}catch(e){n.e(e)}finally{n.f()}}}},{key:"_onError",value:function(e){e.status>=500&&this._retryAttempts>0?(this._retryTimeout=setTimeout(this._initDelegate,this._retryIn),this._retryAttempts--,this._retryIn=250*Math.pow(2,2-this._retryAttempts+1)):401!==e.status&&403!==e.status||!this._retryAuthz?this._errorEmitter.emit("error",e):(Mn(this._env,this._state).then(this._initDelegate).catch(this._emitErrorDelegate),this._retryAuthz=!1)}},{key:"_resetRetryTimes",value:function(){this._retryAttempts=2,this._retryAuthz=!0,this._retryIn=250}},{key:"addEventListener",value:function(e,t){"error"===e?this._errorEmitter.on("error",t):(this._listeners[e]=this._listeners[e]||[],this._listeners[e].push(t),this._source.addEventListener(e,t))}},{key:"close",value:function(){return this._closed=!0,clearTimeout(this._retryTimeout),this._source.close()}},{key:"dispatchEvent",value:function(){var e;return(e=this._source).dispatchEvent.apply(e,arguments)}},{key:"removeEventListener",value:function(e,t){"error"===e?this._errorEmitter.off("error",t):(_n()(this._listeners[e],[t]),this._source.removeEventListener(e,t))}}]),e}();function Un(e,t){return function(n){(0,ye.Z)(i,n);var r=jn(i);function i(){var n;(0,pe.Z)(this,i);for(var o=arguments.length,a=new Array(o),s=0;s<o;s++)a[s]=arguments[s];return r.call.apply(r,R()(n=[this,e,t]).call(n,a))}return i}(Bn)}["onerror","onmessage","onopen"].forEach((function(e){Object.defineProperty(Bn.prototype,e,{get:function(){return this["_".concat(e)]},set:function(t){this["_".concat(e)]=this._source[e]=t}})})),["readyState","url","withCredentials"].forEach((function(e){Object.defineProperty(Bn.prototype,e,{get:function(){return this._source[e]}})})),E()(Bn.prototype,kn(["CONNECTING","OPEN","CLOSED"],En.EventSourcePolyfill.prototype));var Fn=B()(["response","status"],404),zn=function(e){return A(e).post("/api/v1/sessions/me/lifecycle/refresh",void 0,{headers:{Prefer:"return=minimal"}})};function Hn(){return(Hn=(0,_.Z)(T().mark((function e(t,n,r,i){var o;return T().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!Y()){e.next=2;break}return e.abrupt("return");case 2:return o={base:1e3,tries:5,when:function(e){return!Fn(e)}},e.next=5,Fe()(o,zn)(r.AUTH_SERVICE_URI).then(W()((function(){return n.emit&&t.emit("session:refreshed")}))).catch((function(e){throw Fn(e)&&(i.clear(),n.emit&&t.emit("session:closed")),e}));case 5:case"end":return e.stop()}}),e)})))).apply(this,arguments)}var Zn=S()(4,(function(e,t,n,r){return Hn.apply(this,arguments)})),qn=n(29019),Vn=n.n(qn),Wn=n(12814),Gn=n.n(Wn);var $n=S()(2,(function(e,t){return e?Pe()((function(n,r){var i=!1,o=function(e){return function(t){i=!0,clearTimeout(s),e(t)}},a=t.fork(o(n),o(r),o(Function.prototype)),s=setTimeout((function(){i||(a(),n(new Error("Timeout after ".concat(e,"ms"))))}),e);return a})):t})),Yn=function(e){return Gn()(e,["response","status"])},Kn=g()((function(e){return He()(Re()(Qe()("OKTA_CLIENT_ID",e)),Yn(De()(y()(Ke(),[401,403]))))})),Xn=Yn(nt()(500)),Qn=qe()(Yn(Boolean)),Jn=function(e){var t={base:e.backoffBase,when:$e()(Xn,Qn),tries:5};return Nt(t,Be())(e)},er=it()([],["roles"]),tr=it()("",["subscription","status"]),nr=g()((function(e,t,n){var r,i,o=(0,Se.Z)(n,2)[1],a=Ce()(r=[t,o]).call(r,er),s=(0,Se.Z)(a,2),u=s[0],c=s[1],l=Ce()(i=[t,o]).call(i,tr),f=(0,Se.Z)(l,2),d=f[0],p=f[1];lt()(u,c).length>0&&e.emit("change:roles",o,t),d!==p&&e.emit("change:status",o,t)})),rr=g()((function(e,t,n){var r,i=t.RISE_ACCOUNTS_URI;return function(e){var t;return Ae()(t=window.location.hostname).call(t,e)}(t.RISE_DOMAIN)&&i&&Ae()(r=n.message).call(r,"redirect_uri")?Be()({method:"GET",url:"".concat(i,"/api/subdomain_active")}).chain((function(t){return!1===t.data?e.emit("change:subdomain"):e.emit("unauthorized",n),Pe().Rejected(n)})):(e.emit("unauthorized",n),Pe().Rejected(n))})),ir=g()((function(e,t,n,r){return null!=n&&n.sub!==r[1].sub?(e.emit("unauthorized",t),Pe().Rejected(t)):Pe().of(r)})),or=g()((function(e,t,n,r,i){var o,a=n.get(),s=(0,Se.Z)(a,2)[1];return Ce()(o=en(t,n,void 0).bichain(rr(e,t),ir(e,i,s))).call(o,W()(nr(e,s))).chain((function(){return Jn(r)}))})),ar=dt()(4,(function(e,t,n,r){return et()(Kn(t),or(e,t,n,r),Pe().Rejected)})),sr=g()((function(e,t,n,r){return Jn(r).bichain(ar(e,t,n,r),Pe().of)})),ur=g()((function(e,t,n,r){return $n(r.timeout,sr(e,t,n,Vn()("timeout",r)))})),cr=function(e){return D()([1,"sub"],e.get())};function lr(){return(lr=(0,_.Z)(T().mark((function e(t,n,r,i){var o,a,s,u;return T().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return o=cr(r),e.next=3,X(t,{emit:!1},n,r);case 3:return e.prev=3,e.next=6,H(n,r,i);case 6:return a=e.sent,e.next=9,On(n,r,a);case 9:return s=e.sent,u=cr(r),o&&o!==u&&t.emit("session:closed"),e.abrupt("return",s);case 15:throw e.prev=15,e.t0=e.catch(3),o&&t.emit("session:closed"),e.t0;case 19:case"end":return e.stop()}}),e,null,[[3,15]])})))).apply(this,arguments)}var fr=S()(4,(function(e,t,n,r){return lr.apply(this,arguments)})),dr=n(88257);function pr(e){return dr.parse(document.cookie)[e]}var hr=S()(2,(function(e,t){var n=e.SESSION_COOKIE_DOMAIN||window.location.host;document.cookie=dr.serialize(t,"",{domain:n,expires:new Date(0),path:"/",secure:!0})}));var gr=S()(3,(function(e,t,n){var r=(0,Se.Z)(n,1)[0];if(t){var i=e.SESSION_COOKIE_DOMAIN||window.location.host;document.cookie=dr.serialize(t,r,{domain:i,path:"/",secure:!0})}}));function mr(e,t){var n=i()(e);if(a()){var r=a()(e);t&&(r=u()(r).call(r,(function(t){return l()(e,t).enumerable}))),n.push.apply(n,r)}return n}function yr(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?mr(Object(n),!0).forEach((function(t){(0,p.Z)(e,t,n[t])})):d()?Object.defineProperties(e,d()(n)):mr(Object(n)).forEach((function(t){Object.defineProperty(e,t,l()(n,t))}))}return e}var vr=["addListener","listenerCount","listeners","off","on","once","removeAllListeners","removeListener"],br=g()((function(e,t,n){return b()(n,[e,t])}));function _r(e){var t,n=new xe,r=function(e){return{clear:function(){hr(e,e.SESSION_COOKIE_NAME),hr(e,e.ACCESS_COOKIE_NAME)},get:function(){var t=pr(e.SESSION_COOKIE_NAME),n=pr(e.ACCESS_COOKIE_NAME);return[t,t?zt(t):null,n,n?zt(n):null]},set:function(t,n){var r=t?zt(t):null,i=n?zt(n):null;gr(e,e.SESSION_COOKIE_NAME,[t,r]),gr(e,e.ACCESS_COOKIE_NAME,[n,i])}}}(e);return yr(yr({getAuthorizationUrl:ce,EventSource:Un(e,r)},(t=n,vr.reduce((function(e,n){return e[n]=t[n].bind(t),e}),{}))),y()(br(e,r),{authenticate:H,closeSession:X(n,{emit:!0}),fetch:vn(n),refreshSession:Zn(n,{emit:!1}),request:ur(n),resetSession:Mn,resumeSession:In,startSession:fr(n)}))}},93007:function(e){"use strict";var t=function(e,t,n){var r=e.length;if(r==t)return e;for(var i=t-r,o="",a=1;a<=i;a++)o+=n;return o+e};e.exports=function(e){(null==e||e<1)&&(e=15);var n,r=parseInt(t("",e,"9")),i=0;return function(){var o=Math.floor(Math.random()*r);return o==n?i++:(i=0,n=o),t("".concat(o+=i),e,"0")}}},79742:function(e,t){"use strict";t.byteLength=function(e){var t=u(e),n=t[0],r=t[1];return 3*(n+r)/4-r},t.toByteArray=function(e){var t,n,o=u(e),a=o[0],s=o[1],c=new i(function(e,t,n){return 3*(t+n)/4-n}(0,a,s)),l=0,f=s>0?a-4:a;for(n=0;n<f;n+=4)t=r[e.charCodeAt(n)]<<18|r[e.charCodeAt(n+1)]<<12|r[e.charCodeAt(n+2)]<<6|r[e.charCodeAt(n+3)],c[l++]=t>>16&255,c[l++]=t>>8&255,c[l++]=255&t;2===s&&(t=r[e.charCodeAt(n)]<<2|r[e.charCodeAt(n+1)]>>4,c[l++]=255&t);1===s&&(t=r[e.charCodeAt(n)]<<10|r[e.charCodeAt(n+1)]<<4|r[e.charCodeAt(n+2)]>>2,c[l++]=t>>8&255,c[l++]=255&t);return c},t.fromByteArray=function(e){for(var t,r=e.length,i=r%3,o=[],a=16383,s=0,u=r-i;s<u;s+=a)o.push(c(e,s,s+a>u?u:s+a));1===i?(t=e[r-1],o.push(n[t>>2]+n[t<<4&63]+"==")):2===i&&(t=(e[r-2]<<8)+e[r-1],o.push(n[t>>10]+n[t>>4&63]+n[t<<2&63]+"="));return o.join("")};for(var n=[],r=[],i="undefined"!=typeof Uint8Array?Uint8Array:Array,o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=0,s=o.length;a<s;++a)n[a]=o[a],r[o.charCodeAt(a)]=a;function u(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var n=e.indexOf("=");return-1===n&&(n=t),[n,n===t?0:4-n%4]}function c(e,t,r){for(var i,o,a=[],s=t;s<r;s+=3)i=(e[s]<<16&16711680)+(e[s+1]<<8&65280)+(255&e[s+2]),a.push(n[(o=i)>>18&63]+n[o>>12&63]+n[o>>6&63]+n[63&o]);return a.join("")}r["-".charCodeAt(0)]=62,r["_".charCodeAt(0)]=63},22175:function(e){e.exports=function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=0)}([function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(1);t.ERROR_BLOCK_NAME_TYPE="Block name should be a string",t.ERROR_BLOCK_NAME_EMPTY="Block name should be non-empty";var i={ns:"",el:"__",mod:"_",modValue:"_"},o=function(e){return"string"==typeof e},a=function(e){return"string"!=typeof e},s=function(e,t){for(var n=[],i=2;i<arguments.length;i++)n[i-2]=arguments[i];var o=r.assign({},t);return o.mixes=o.mixes.concat(n),f(o,e)},u=function(e,t,n){for(var i=[],o=3;o<arguments.length;o++)i[o-3]=arguments[o];var a=r.assign({},t),s=r.assign({},a.states||{});return s[n]=r.assign.apply(void 0,[{},s[n]||{}].concat(i)),a.states=s,f(a,e)},c=function(e,t,n,r){return String.prototype.split.call(l(e,t),n,r)},l=function(e,t){var n=t.name,r=t.mods,i=t.mixes,o=t.states,a=[n];if(r&&(a=a.concat(Object.keys(r).filter((function(e){return r[e]})).map((function(t){var i=r[t];return!0===i?n+e.mod+t:n+e.mod+t+e.modValue+i})))),o&&Object.keys(o).forEach((function(e){var t=o[e];a=a.concat(Object.keys(t).filter((function(e){return t[e]})).map((function(t){return e+t})))})),e.ns&&(a=a.map((function(t){return e.ns+t}))),i&&(a=a.concat(function(e){return void 0===e&&(e=[]),e.map((function(e){return Array.isArray(e)?e.join(" "):"object"==typeof e&&null!==e||"function"==typeof e?e.toString():"string"==typeof e?e:""})).filter((function(e){return!!e}))}(i))),e.classMap){var s=e.classMap;a=a.map((function(e){return s[e]||e}))}return a.join(" ")},f=function(e,t){return{mix:s.bind(null,t,e),split:c.bind(null,t,e),is:u.bind(null,t,e,"is-"),has:u.bind(null,t,e,"has-"),state:u.bind(null,t,e,"is-"),toString:l.bind(null,t,e)}},d=function(e,t){var n={name:e,mods:{},mixes:[],states:{"is-":{},"has-":{}}},i=function(e,t){for(var n=[],i=2;i<arguments.length;i++)n[i-2]=arguments[i];if(!n.length)return l(e,t);var s=r.assign({},t),u=n.filter(o).reduce((function(t,n){return t+e.el+n}),"");u&&(s.name=s.name+u);var c=n.filter(a).reduce((function(e,t){return r.assign(e,t)}),{});return s.mods=r.assign({},s.mods,c),f(s,e)}.bind(null,t,n);return i.mix=s.bind(null,t,n),i.split=c.bind(null,t,n),i.is=u.bind(null,t,n,"is-"),i.has=u.bind(null,t,n,"has-"),i.state=u.bind(null,t,n,"is-"),i.toString=l.bind(null,t,n),i};t.setup=function(e){return void 0===e&&(e={}),function(n){if("string"!=typeof n)throw new Error(t.ERROR_BLOCK_NAME_TYPE);var o=n.trim();if(!o)throw new Error(t.ERROR_BLOCK_NAME_EMPTY);return d(o,r.assign({},i,e))}},t.block=t.setup(),t.default=t.block},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.assign=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];for(var r=0;r<t.length;r++){var i=t[r];for(var o in i)i.hasOwnProperty(o)&&(e[o]=i[o])}return e}}])},48764:function(e,t,n){"use strict";var r=n(79742),i=n(80645),o=n(5826);function a(){return u.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function s(e,t){if(a()<t)throw new RangeError("Invalid typed array length");return u.TYPED_ARRAY_SUPPORT?(e=new Uint8Array(t)).__proto__=u.prototype:(null===e&&(e=new u(t)),e.length=t),e}function u(e,t,n){if(!(u.TYPED_ARRAY_SUPPORT||this instanceof u))return new u(e,t,n);if("number"==typeof e){if("string"==typeof t)throw new Error("If encoding is specified then the first argument must be a string");return f(this,e)}return c(this,e,t,n)}function c(e,t,n,r){if("number"==typeof t)throw new TypeError('"value" argument must not be a number');return"undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer?function(e,t,n,r){if(t.byteLength,n<0||t.byteLength<n)throw new RangeError("'offset' is out of bounds");if(t.byteLength<n+(r||0))throw new RangeError("'length' is out of bounds");t=void 0===n&&void 0===r?new Uint8Array(t):void 0===r?new Uint8Array(t,n):new Uint8Array(t,n,r);u.TYPED_ARRAY_SUPPORT?(e=t).__proto__=u.prototype:e=d(e,t);return e}(e,t,n,r):"string"==typeof t?function(e,t,n){"string"==typeof n&&""!==n||(n="utf8");if(!u.isEncoding(n))throw new TypeError('"encoding" must be a valid string encoding');var r=0|h(t,n),i=(e=s(e,r)).write(t,n);i!==r&&(e=e.slice(0,i));return e}(e,t,n):function(e,t){if(u.isBuffer(t)){var n=0|p(t.length);return 0===(e=s(e,n)).length||t.copy(e,0,0,n),e}if(t){if("undefined"!=typeof ArrayBuffer&&t.buffer instanceof ArrayBuffer||"length"in t)return"number"!=typeof t.length||(r=t.length)!=r?s(e,0):d(e,t);if("Buffer"===t.type&&o(t.data))return d(e,t.data)}var r;throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}(e,t)}function l(e){if("number"!=typeof e)throw new TypeError('"size" argument must be a number');if(e<0)throw new RangeError('"size" argument must not be negative')}function f(e,t){if(l(t),e=s(e,t<0?0:0|p(t)),!u.TYPED_ARRAY_SUPPORT)for(var n=0;n<t;++n)e[n]=0;return e}function d(e,t){var n=t.length<0?0:0|p(t.length);e=s(e,n);for(var r=0;r<n;r+=1)e[r]=255&t[r];return e}function p(e){if(e>=a())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+a().toString(16)+" bytes");return 0|e}function h(e,t){if(u.isBuffer(e))return e.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!=typeof e&&(e=""+e);var n=e.length;if(0===n)return 0;for(var r=!1;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return z(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return H(e).length;default:if(r)return z(e).length;t=(""+t).toLowerCase(),r=!0}}function g(e,t,n){var r=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if((n>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return A(this,t,n);case"utf8":case"utf-8":return E(this,t,n);case"ascii":return C(this,t,n);case"latin1":case"binary":return L(this,t,n);case"base64":return k(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return I(this,t,n);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}function m(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function y(e,t,n,r,i){if(0===e.length)return-1;if("string"==typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=i?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(i)return-1;n=e.length-1}else if(n<0){if(!i)return-1;n=0}if("string"==typeof t&&(t=u.from(t,r)),u.isBuffer(t))return 0===t.length?-1:v(e,t,n,r,i);if("number"==typeof t)return t&=255,u.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):v(e,[t],n,r,i);throw new TypeError("val must be string, number or Buffer")}function v(e,t,n,r,i){var o,a=1,s=e.length,u=t.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(e.length<2||t.length<2)return-1;a=2,s/=2,u/=2,n/=2}function c(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}if(i){var l=-1;for(o=n;o<s;o++)if(c(e,o)===c(t,-1===l?0:o-l)){if(-1===l&&(l=o),o-l+1===u)return l*a}else-1!==l&&(o-=o-l),l=-1}else for(n+u>s&&(n=s-u),o=n;o>=0;o--){for(var f=!0,d=0;d<u;d++)if(c(e,o+d)!==c(t,d)){f=!1;break}if(f)return o}return-1}function b(e,t,n,r){n=Number(n)||0;var i=e.length-n;r?(r=Number(r))>i&&(r=i):r=i;var o=t.length;if(o%2!=0)throw new TypeError("Invalid hex string");r>o/2&&(r=o/2);for(var a=0;a<r;++a){var s=parseInt(t.substr(2*a,2),16);if(isNaN(s))return a;e[n+a]=s}return a}function _(e,t,n,r){return Z(z(t,e.length-n),e,n,r)}function w(e,t,n,r){return Z(function(e){for(var t=[],n=0;n<e.length;++n)t.push(255&e.charCodeAt(n));return t}(t),e,n,r)}function T(e,t,n,r){return w(e,t,n,r)}function x(e,t,n,r){return Z(H(t),e,n,r)}function S(e,t,n,r){return Z(function(e,t){for(var n,r,i,o=[],a=0;a<e.length&&!((t-=2)<0);++a)r=(n=e.charCodeAt(a))>>8,i=n%256,o.push(i),o.push(r);return o}(t,e.length-n),e,n,r)}function k(e,t,n){return 0===t&&n===e.length?r.fromByteArray(e):r.fromByteArray(e.slice(t,n))}function E(e,t,n){n=Math.min(e.length,n);for(var r=[],i=t;i<n;){var o,a,s,u,c=e[i],l=null,f=c>239?4:c>223?3:c>191?2:1;if(i+f<=n)switch(f){case 1:c<128&&(l=c);break;case 2:128==(192&(o=e[i+1]))&&(u=(31&c)<<6|63&o)>127&&(l=u);break;case 3:o=e[i+1],a=e[i+2],128==(192&o)&&128==(192&a)&&(u=(15&c)<<12|(63&o)<<6|63&a)>2047&&(u<55296||u>57343)&&(l=u);break;case 4:o=e[i+1],a=e[i+2],s=e[i+3],128==(192&o)&&128==(192&a)&&128==(192&s)&&(u=(15&c)<<18|(63&o)<<12|(63&a)<<6|63&s)>65535&&u<1114112&&(l=u)}null===l?(l=65533,f=1):l>65535&&(l-=65536,r.push(l>>>10&1023|55296),l=56320|1023&l),r.push(l),i+=f}return function(e){var t=e.length;if(t<=O)return String.fromCharCode.apply(String,e);var n="",r=0;for(;r<t;)n+=String.fromCharCode.apply(String,e.slice(r,r+=O));return n}(r)}t.Buffer=u,t.SlowBuffer=function(e){+e!=e&&(e=0);return u.alloc(+e)},t.INSPECT_MAX_BYTES=50,u.TYPED_ARRAY_SUPPORT=void 0!==n.g.TYPED_ARRAY_SUPPORT?n.g.TYPED_ARRAY_SUPPORT:function(){try{var e=new Uint8Array(1);return e.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===e.foo()&&"function"==typeof e.subarray&&0===e.subarray(1,1).byteLength}catch(e){return!1}}(),t.kMaxLength=a(),u.poolSize=8192,u._augment=function(e){return e.__proto__=u.prototype,e},u.from=function(e,t,n){return c(null,e,t,n)},u.TYPED_ARRAY_SUPPORT&&(u.prototype.__proto__=Uint8Array.prototype,u.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&u[Symbol.species]===u&&Object.defineProperty(u,Symbol.species,{value:null,configurable:!0})),u.alloc=function(e,t,n){return function(e,t,n,r){return l(t),t<=0?s(e,t):void 0!==n?"string"==typeof r?s(e,t).fill(n,r):s(e,t).fill(n):s(e,t)}(null,e,t,n)},u.allocUnsafe=function(e){return f(null,e)},u.allocUnsafeSlow=function(e){return f(null,e)},u.isBuffer=function(e){return!(null==e||!e._isBuffer)},u.compare=function(e,t){if(!u.isBuffer(e)||!u.isBuffer(t))throw new TypeError("Arguments must be Buffers");if(e===t)return 0;for(var n=e.length,r=t.length,i=0,o=Math.min(n,r);i<o;++i)if(e[i]!==t[i]){n=e[i],r=t[i];break}return n<r?-1:r<n?1:0},u.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},u.concat=function(e,t){if(!o(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return u.alloc(0);var n;if(void 0===t)for(t=0,n=0;n<e.length;++n)t+=e[n].length;var r=u.allocUnsafe(t),i=0;for(n=0;n<e.length;++n){var a=e[n];if(!u.isBuffer(a))throw new TypeError('"list" argument must be an Array of Buffers');a.copy(r,i),i+=a.length}return r},u.byteLength=h,u.prototype._isBuffer=!0,u.prototype.swap16=function(){var e=this.length;if(e%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)m(this,t,t+1);return this},u.prototype.swap32=function(){var e=this.length;if(e%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)m(this,t,t+3),m(this,t+1,t+2);return this},u.prototype.swap64=function(){var e=this.length;if(e%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)m(this,t,t+7),m(this,t+1,t+6),m(this,t+2,t+5),m(this,t+3,t+4);return this},u.prototype.toString=function(){var e=0|this.length;return 0===e?"":0===arguments.length?E(this,0,e):g.apply(this,arguments)},u.prototype.equals=function(e){if(!u.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e||0===u.compare(this,e)},u.prototype.inspect=function(){var e="",n=t.INSPECT_MAX_BYTES;return this.length>0&&(e=this.toString("hex",0,n).match(/.{2}/g).join(" "),this.length>n&&(e+=" ... ")),"<Buffer "+e+">"},u.prototype.compare=function(e,t,n,r,i){if(!u.isBuffer(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===r&&(r=0),void 0===i&&(i=this.length),t<0||n>e.length||r<0||i>this.length)throw new RangeError("out of range index");if(r>=i&&t>=n)return 0;if(r>=i)return-1;if(t>=n)return 1;if(this===e)return 0;for(var o=(i>>>=0)-(r>>>=0),a=(n>>>=0)-(t>>>=0),s=Math.min(o,a),c=this.slice(r,i),l=e.slice(t,n),f=0;f<s;++f)if(c[f]!==l[f]){o=c[f],a=l[f];break}return o<a?-1:a<o?1:0},u.prototype.includes=function(e,t,n){return-1!==this.indexOf(e,t,n)},u.prototype.indexOf=function(e,t,n){return y(this,e,t,n,!0)},u.prototype.lastIndexOf=function(e,t,n){return y(this,e,t,n,!1)},u.prototype.write=function(e,t,n,r){if(void 0===t)r="utf8",n=this.length,t=0;else if(void 0===n&&"string"==typeof t)r=t,n=this.length,t=0;else{if(!isFinite(t))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");t|=0,isFinite(n)?(n|=0,void 0===r&&(r="utf8")):(r=n,n=void 0)}var i=this.length-t;if((void 0===n||n>i)&&(n=i),e.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var o=!1;;)switch(r){case"hex":return b(this,e,t,n);case"utf8":case"utf-8":return _(this,e,t,n);case"ascii":return w(this,e,t,n);case"latin1":case"binary":return T(this,e,t,n);case"base64":return x(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return S(this,e,t,n);default:if(o)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),o=!0}},u.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var O=4096;function C(e,t,n){var r="";n=Math.min(e.length,n);for(var i=t;i<n;++i)r+=String.fromCharCode(127&e[i]);return r}function L(e,t,n){var r="";n=Math.min(e.length,n);for(var i=t;i<n;++i)r+=String.fromCharCode(e[i]);return r}function A(e,t,n){var r=e.length;(!t||t<0)&&(t=0),(!n||n<0||n>r)&&(n=r);for(var i="",o=t;o<n;++o)i+=F(e[o]);return i}function I(e,t,n){for(var r=e.slice(t,n),i="",o=0;o<r.length;o+=2)i+=String.fromCharCode(r[o]+256*r[o+1]);return i}function P(e,t,n){if(e%1!=0||e<0)throw new RangeError("offset is not uint");if(e+t>n)throw new RangeError("Trying to access beyond buffer length")}function M(e,t,n,r,i,o){if(!u.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>i||t<o)throw new RangeError('"value" argument is out of bounds');if(n+r>e.length)throw new RangeError("Index out of range")}function R(e,t,n,r){t<0&&(t=65535+t+1);for(var i=0,o=Math.min(e.length-n,2);i<o;++i)e[n+i]=(t&255<<8*(r?i:1-i))>>>8*(r?i:1-i)}function j(e,t,n,r){t<0&&(t=4294967295+t+1);for(var i=0,o=Math.min(e.length-n,4);i<o;++i)e[n+i]=t>>>8*(r?i:3-i)&255}function D(e,t,n,r,i,o){if(n+r>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function N(e,t,n,r,o){return o||D(e,0,n,4),i.write(e,t,n,r,23,4),n+4}function B(e,t,n,r,o){return o||D(e,0,n,8),i.write(e,t,n,r,52,8),n+8}u.prototype.slice=function(e,t){var n,r=this.length;if((e=~~e)<0?(e+=r)<0&&(e=0):e>r&&(e=r),(t=void 0===t?r:~~t)<0?(t+=r)<0&&(t=0):t>r&&(t=r),t<e&&(t=e),u.TYPED_ARRAY_SUPPORT)(n=this.subarray(e,t)).__proto__=u.prototype;else{var i=t-e;n=new u(i,void 0);for(var o=0;o<i;++o)n[o]=this[o+e]}return n},u.prototype.readUIntLE=function(e,t,n){e|=0,t|=0,n||P(e,t,this.length);for(var r=this[e],i=1,o=0;++o<t&&(i*=256);)r+=this[e+o]*i;return r},u.prototype.readUIntBE=function(e,t,n){e|=0,t|=0,n||P(e,t,this.length);for(var r=this[e+--t],i=1;t>0&&(i*=256);)r+=this[e+--t]*i;return r},u.prototype.readUInt8=function(e,t){return t||P(e,1,this.length),this[e]},u.prototype.readUInt16LE=function(e,t){return t||P(e,2,this.length),this[e]|this[e+1]<<8},u.prototype.readUInt16BE=function(e,t){return t||P(e,2,this.length),this[e]<<8|this[e+1]},u.prototype.readUInt32LE=function(e,t){return t||P(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},u.prototype.readUInt32BE=function(e,t){return t||P(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},u.prototype.readIntLE=function(e,t,n){e|=0,t|=0,n||P(e,t,this.length);for(var r=this[e],i=1,o=0;++o<t&&(i*=256);)r+=this[e+o]*i;return r>=(i*=128)&&(r-=Math.pow(2,8*t)),r},u.prototype.readIntBE=function(e,t,n){e|=0,t|=0,n||P(e,t,this.length);for(var r=t,i=1,o=this[e+--r];r>0&&(i*=256);)o+=this[e+--r]*i;return o>=(i*=128)&&(o-=Math.pow(2,8*t)),o},u.prototype.readInt8=function(e,t){return t||P(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},u.prototype.readInt16LE=function(e,t){t||P(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},u.prototype.readInt16BE=function(e,t){t||P(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},u.prototype.readInt32LE=function(e,t){return t||P(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},u.prototype.readInt32BE=function(e,t){return t||P(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},u.prototype.readFloatLE=function(e,t){return t||P(e,4,this.length),i.read(this,e,!0,23,4)},u.prototype.readFloatBE=function(e,t){return t||P(e,4,this.length),i.read(this,e,!1,23,4)},u.prototype.readDoubleLE=function(e,t){return t||P(e,8,this.length),i.read(this,e,!0,52,8)},u.prototype.readDoubleBE=function(e,t){return t||P(e,8,this.length),i.read(this,e,!1,52,8)},u.prototype.writeUIntLE=function(e,t,n,r){(e=+e,t|=0,n|=0,r)||M(this,e,t,n,Math.pow(2,8*n)-1,0);var i=1,o=0;for(this[t]=255&e;++o<n&&(i*=256);)this[t+o]=e/i&255;return t+n},u.prototype.writeUIntBE=function(e,t,n,r){(e=+e,t|=0,n|=0,r)||M(this,e,t,n,Math.pow(2,8*n)-1,0);var i=n-1,o=1;for(this[t+i]=255&e;--i>=0&&(o*=256);)this[t+i]=e/o&255;return t+n},u.prototype.writeUInt8=function(e,t,n){return e=+e,t|=0,n||M(this,e,t,1,255,0),u.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},u.prototype.writeUInt16LE=function(e,t,n){return e=+e,t|=0,n||M(this,e,t,2,65535,0),u.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):R(this,e,t,!0),t+2},u.prototype.writeUInt16BE=function(e,t,n){return e=+e,t|=0,n||M(this,e,t,2,65535,0),u.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):R(this,e,t,!1),t+2},u.prototype.writeUInt32LE=function(e,t,n){return e=+e,t|=0,n||M(this,e,t,4,4294967295,0),u.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):j(this,e,t,!0),t+4},u.prototype.writeUInt32BE=function(e,t,n){return e=+e,t|=0,n||M(this,e,t,4,4294967295,0),u.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):j(this,e,t,!1),t+4},u.prototype.writeIntLE=function(e,t,n,r){if(e=+e,t|=0,!r){var i=Math.pow(2,8*n-1);M(this,e,t,n,i-1,-i)}var o=0,a=1,s=0;for(this[t]=255&e;++o<n&&(a*=256);)e<0&&0===s&&0!==this[t+o-1]&&(s=1),this[t+o]=(e/a>>0)-s&255;return t+n},u.prototype.writeIntBE=function(e,t,n,r){if(e=+e,t|=0,!r){var i=Math.pow(2,8*n-1);M(this,e,t,n,i-1,-i)}var o=n-1,a=1,s=0;for(this[t+o]=255&e;--o>=0&&(a*=256);)e<0&&0===s&&0!==this[t+o+1]&&(s=1),this[t+o]=(e/a>>0)-s&255;return t+n},u.prototype.writeInt8=function(e,t,n){return e=+e,t|=0,n||M(this,e,t,1,127,-128),u.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},u.prototype.writeInt16LE=function(e,t,n){return e=+e,t|=0,n||M(this,e,t,2,32767,-32768),u.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):R(this,e,t,!0),t+2},u.prototype.writeInt16BE=function(e,t,n){return e=+e,t|=0,n||M(this,e,t,2,32767,-32768),u.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):R(this,e,t,!1),t+2},u.prototype.writeInt32LE=function(e,t,n){return e=+e,t|=0,n||M(this,e,t,4,2147483647,-2147483648),u.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):j(this,e,t,!0),t+4},u.prototype.writeInt32BE=function(e,t,n){return e=+e,t|=0,n||M(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),u.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):j(this,e,t,!1),t+4},u.prototype.writeFloatLE=function(e,t,n){return N(this,e,t,!0,n)},u.prototype.writeFloatBE=function(e,t,n){return N(this,e,t,!1,n)},u.prototype.writeDoubleLE=function(e,t,n){return B(this,e,t,!0,n)},u.prototype.writeDoubleBE=function(e,t,n){return B(this,e,t,!1,n)},u.prototype.copy=function(e,t,n,r){if(n||(n=0),r||0===r||(r=this.length),t>=e.length&&(t=e.length),t||(t=0),r>0&&r<n&&(r=n),r===n)return 0;if(0===e.length||0===this.length)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("sourceStart out of bounds");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),e.length-t<r-n&&(r=e.length-t+n);var i,o=r-n;if(this===e&&n<t&&t<r)for(i=o-1;i>=0;--i)e[i+t]=this[i+n];else if(o<1e3||!u.TYPED_ARRAY_SUPPORT)for(i=0;i<o;++i)e[i+t]=this[i+n];else Uint8Array.prototype.set.call(e,this.subarray(n,n+o),t);return o},u.prototype.fill=function(e,t,n,r){if("string"==typeof e){if("string"==typeof t?(r=t,t=0,n=this.length):"string"==typeof n&&(r=n,n=this.length),1===e.length){var i=e.charCodeAt(0);i<256&&(e=i)}if(void 0!==r&&"string"!=typeof r)throw new TypeError("encoding must be a string");if("string"==typeof r&&!u.isEncoding(r))throw new TypeError("Unknown encoding: "+r)}else"number"==typeof e&&(e&=255);if(t<0||this.length<t||this.length<n)throw new RangeError("Out of range index");if(n<=t)return this;var o;if(t>>>=0,n=void 0===n?this.length:n>>>0,e||(e=0),"number"==typeof e)for(o=t;o<n;++o)this[o]=e;else{var a=u.isBuffer(e)?e:z(new u(e,r).toString()),s=a.length;for(o=0;o<n-t;++o)this[o+t]=a[o%s]}return this};var U=/[^+\/0-9A-Za-z-_]/g;function F(e){return e<16?"0"+e.toString(16):e.toString(16)}function z(e,t){var n;t=t||1/0;for(var r=e.length,i=null,o=[],a=0;a<r;++a){if((n=e.charCodeAt(a))>55295&&n<57344){if(!i){if(n>56319){(t-=3)>-1&&o.push(239,191,189);continue}if(a+1===r){(t-=3)>-1&&o.push(239,191,189);continue}i=n;continue}if(n<56320){(t-=3)>-1&&o.push(239,191,189),i=n;continue}n=65536+(i-55296<<10|n-56320)}else i&&(t-=3)>-1&&o.push(239,191,189);if(i=null,n<128){if((t-=1)<0)break;o.push(n)}else if(n<2048){if((t-=2)<0)break;o.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;o.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;o.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return o}function H(e){return r.toByteArray(function(e){if((e=function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}(e).replace(U,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function Z(e,t,n,r){for(var i=0;i<r&&!(i+n>=t.length||i>=e.length);++i)t[i+n]=e[i];return i}},57028:function(e,t,n){"use strict";n.d(t,{Z:function(){return M}});var r=n(50713),i=n(23148),o=function(){if("undefined"!=typeof window){if(window.devicePixelRatio)return window.devicePixelRatio;var e=window.screen;if(e)return(e.deviceXDPI||1)/(e.logicalXDPI||1)}return 1}(),a=function(e){var t,n=[];for(e=[].concat(e);e.length;)"string"==typeof(t=e.pop())?n.unshift.apply(n,t.split("\n")):Array.isArray(t)?e.push.apply(e,t):(0,r.k)(e)||n.unshift(""+t);return n},s=function(e,t,n){var r,i=[].concat(t),o=i.length,a=e.font,s=0;for(e.font=n.string,r=0;r<o;++r)s=Math.max(e.measureText(i[r]).width,s);return e.font=a,{height:o*n.lineHeight,width:s}},u=function(e,t,n){return Math.max(e,Math.min(t,n))},c=function(e,t){var n,r,i,o,a=e.slice(),s=[];for(n=0,i=t.length;n<i;++n)o=t[n],-1===(r=a.indexOf(o))?s.push([o,1]):a.splice(r,1);for(n=0,i=a.length;n<i;++n)s.push([a[n],-1]);return s};function l(e,t){var n=t.x,r=t.y;if(null===n)return{x:0,y:-1};if(null===r)return{x:1,y:0};var i=e.x-n,o=e.y-r,a=Math.sqrt(i*i+o*o);return{x:a?i/a:0,y:a?o/a:-1}}function f(e,t,n){var r=0;return e<n.left?r|=1:e>n.right&&(r|=2),t<n.top?r|=8:t>n.bottom&&(r|=4),r}function d(e,t){var n,r,i=t.anchor,o=e;return t.clamp&&(o=function(e,t){for(var n,r,i,o=e.x0,a=e.y0,s=e.x1,u=e.y1,c=f(o,a,t),l=f(s,u,t);c|l&&!(c&l);)8&(n=c||l)?(r=o+(s-o)*(t.top-a)/(u-a),i=t.top):4&n?(r=o+(s-o)*(t.bottom-a)/(u-a),i=t.bottom):2&n?(i=a+(u-a)*(t.right-o)/(s-o),r=t.right):1&n&&(i=a+(u-a)*(t.left-o)/(s-o),r=t.left),n===c?c=f(o=r,a=i,t):l=f(s=r,u=i,t);return{x0:o,x1:s,y0:a,y1:u}}(o,t.area)),"start"===i?(n=o.x0,r=o.y0):"end"===i?(n=o.x1,r=o.y1):(n=(o.x0+o.x1)/2,r=(o.y0+o.y1)/2),function(e,t,n,r,i){switch(i){case"center":n=r=0;break;case"bottom":n=0,r=1;break;case"right":n=1,r=0;break;case"left":n=-1,r=0;break;case"top":n=0,r=-1;break;case"start":n=-n,r=-r;break;case"end":break;default:i*=Math.PI/180,n=Math.cos(i),r=Math.sin(i)}return{x:e,y:t,vx:n,vy:r}}(n,r,e.vx,e.vy,t.align)}var p=function(e,t){var n=(e.startAngle+e.endAngle)/2,r=Math.cos(n),i=Math.sin(n),o=e.innerRadius,a=e.outerRadius;return d({x0:e.x+r*o,y0:e.y+i*o,x1:e.x+r*a,y1:e.y+i*a,vx:r,vy:i},t)},h=function(e,t){var n=l(e,t.origin),r=n.x*e.options.radius,i=n.y*e.options.radius;return d({x0:e.x-r,y0:e.y-i,x1:e.x+r,y1:e.y+i,vx:n.x,vy:n.y},t)},g=function(e,t){var n=l(e,t.origin),r=e.x,i=e.y,o=0,a=0;return e.horizontal?(r=Math.min(e.x,e.base),o=Math.abs(e.base-e.x)):(i=Math.min(e.y,e.base),a=Math.abs(e.base-e.y)),d({x0:r,y0:i+a,x1:r+o,y1:i,vx:n.x,vy:n.y},t)},m=function(e,t){var n=l(e,t.origin);return d({x0:e.x,y0:e.y,x1:e.x+(e.width||0),y1:e.y+(e.height||0),vx:n.x,vy:n.y},t)},y=function(e){return Math.round(e*o)/o};function v(e,t){var n=t.chart.getDatasetMeta(t.datasetIndex).vScale;if(!n)return null;if(void 0!==n.xCenter&&void 0!==n.yCenter)return{x:n.xCenter,y:n.yCenter};var r=n.getBasePixel();return e.horizontal?{x:r,y:null}:{x:null,y:r}}function b(e,t,n){var r=n.backgroundColor,i=n.borderColor,o=n.borderWidth;(r||i&&o)&&(e.beginPath(),function(e,t,n,r,i,o){var a=Math.PI/2;if(o){var s=Math.min(o,i/2,r/2),u=t+s,c=n+s,l=t+r-s,f=n+i-s;e.moveTo(t,c),u<l&&c<f?(e.arc(u,c,s,-Math.PI,-a),e.arc(l,c,s,-a,0),e.arc(l,f,s,0,a),e.arc(u,f,s,a,Math.PI)):u<l?(e.moveTo(u,n),e.arc(l,c,s,-a,a),e.arc(u,c,s,a,Math.PI+a)):c<f?(e.arc(u,c,s,-Math.PI,0),e.arc(u,f,s,0,Math.PI)):e.arc(u,c,s,-Math.PI,Math.PI),e.closePath(),e.moveTo(t,n)}else e.rect(t,n,r,i)}(e,y(t.x)+o/2,y(t.y)+o/2,y(t.w)-o,y(t.h)-o,n.borderRadius),e.closePath(),r&&(e.fillStyle=r,e.fill()),i&&o&&(e.strokeStyle=i,e.lineWidth=o,e.lineJoin="miter",e.stroke()))}function _(e,t,n){var r=e.shadowBlur,i=n.stroked,o=y(n.x),a=y(n.y),s=y(n.w);i&&e.strokeText(t,o,a,s),n.filled&&(r&&i&&(e.shadowBlur=0),e.fillText(t,o,a,s),r&&i&&(e.shadowBlur=r))}var w=function(e,t,n,r){var i=this;i._config=e,i._index=r,i._model=null,i._rects=null,i._ctx=t,i._el=n};(0,r.a4)(w.prototype,{_modelize:function(e,t,n,o){var a,u=this,c=u._index,l=(0,r.a0)((0,r.a)([n.font,{}],o,c)),f=(0,r.a)([n.color,r.d.color],o,c);return{align:(0,r.a)([n.align,"center"],o,c),anchor:(0,r.a)([n.anchor,"center"],o,c),area:o.chart.chartArea,backgroundColor:(0,r.a)([n.backgroundColor,null],o,c),borderColor:(0,r.a)([n.borderColor,null],o,c),borderRadius:(0,r.a)([n.borderRadius,0],o,c),borderWidth:(0,r.a)([n.borderWidth,0],o,c),clamp:(0,r.a)([n.clamp,!1],o,c),clip:(0,r.a)([n.clip,!1],o,c),color:f,display:e,font:l,lines:t,offset:(0,r.a)([n.offset,4],o,c),opacity:(0,r.a)([n.opacity,1],o,c),origin:v(u._el,o),padding:(0,r.E)((0,r.a)([n.padding,4],o,c)),positioner:(a=u._el,a instanceof i.qi?p:a instanceof i.od?h:a instanceof i.ZL?g:m),rotation:(0,r.a)([n.rotation,0],o,c)*(Math.PI/180),size:s(u._ctx,t,l),textAlign:(0,r.a)([n.textAlign,"start"],o,c),textShadowBlur:(0,r.a)([n.textShadowBlur,0],o,c),textShadowColor:(0,r.a)([n.textShadowColor,f],o,c),textStrokeColor:(0,r.a)([n.textStrokeColor,f],o,c),textStrokeWidth:(0,r.a)([n.textStrokeWidth,0],o,c)}},update:function(e){var t,n,i,o=this,s=null,u=null,c=o._index,l=o._config,f=(0,r.a)([l.display,!0],e,c);f&&(t=e.dataset.data[c],n=(0,r.v)((0,r.Q)(l.formatter,[t,e]),t),(i=(0,r.k)(n)?[]:a(n)).length&&(u=function(e){var t=e.borderWidth||0,n=e.padding,r=e.size.height,i=e.size.width,o=-i/2,a=-r/2;return{frame:{x:o-n.left-t,y:a-n.top-t,w:i+n.width+2*t,h:r+n.height+2*t},text:{x:o,y:a,w:i,h:r}}}(s=o._modelize(f,i,l,e)))),o._model=s,o._rects=u},geometry:function(){return this._rects?this._rects.frame:{}},rotation:function(){return this._model?this._model.rotation:0},visible:function(){return this._model&&this._model.opacity},model:function(){return this._model},draw:function(e,t){var n,r=e.ctx,i=this._model,o=this._rects;this.visible()&&(r.save(),i.clip&&(n=i.area,r.beginPath(),r.rect(n.left,n.top,n.right-n.left,n.bottom-n.top),r.clip()),r.globalAlpha=u(0,i.opacity,1),r.translate(y(t.x),y(t.y)),r.rotate(i.rotation),b(r,o.frame,i),function(e,t,n,r){var i,o=r.textAlign,a=r.color,s=!!a,u=r.font,c=t.length,l=r.textStrokeColor,f=r.textStrokeWidth,d=l&&f;if(c&&(s||d))for(n=function(e,t,n){var r=n.lineHeight,i=e.w,o=e.x;return"center"===t?o+=i/2:"end"!==t&&"right"!==t||(o+=i),{h:r,w:i,x:o,y:e.y+r/2}}(n,o,u),e.font=u.string,e.textAlign=o,e.textBaseline="middle",e.shadowBlur=r.textShadowBlur,e.shadowColor=r.textShadowColor,s&&(e.fillStyle=a),d&&(e.lineJoin="round",e.lineWidth=f,e.strokeStyle=l),i=0,c=t.length;i<c;++i)_(e,t[i],{stroked:d,filled:s,w:n.w,x:n.x,y:n.y+n.h*i})}(r,i.lines,o.text,i),r.restore())}});var T=Number.MIN_SAFE_INTEGER||-9007199254740991,x=Number.MAX_SAFE_INTEGER||9007199254740991;function S(e,t,n){var r=Math.cos(n),i=Math.sin(n),o=t.x,a=t.y;return{x:o+r*(e.x-o)-i*(e.y-a),y:a+i*(e.x-o)+r*(e.y-a)}}function k(e,t){var n,r,i,o,a,s=x,u=T,c=t.origin;for(n=0;n<e.length;++n)i=(r=e[n]).x-c.x,o=r.y-c.y,a=t.vx*i+t.vy*o,s=Math.min(s,a),u=Math.max(u,a);return{min:s,max:u}}function E(e,t){var n=t.x-e.x,r=t.y-e.y,i=Math.sqrt(n*n+r*r);return{vx:(t.x-e.x)/i,vy:(t.y-e.y)/i,origin:e,ln:i}}var O=function(){this._rotation=0,this._rect={x:0,y:0,w:0,h:0}};function C(e,t,n){var r=t.positioner(e,t),i=r.vx,o=r.vy;if(!i&&!o)return{x:r.x,y:r.y};var a=n.w,s=n.h,u=t.rotation,c=Math.abs(a/2*Math.cos(u))+Math.abs(s/2*Math.sin(u)),l=Math.abs(a/2*Math.sin(u))+Math.abs(s/2*Math.cos(u)),f=1/Math.max(Math.abs(i),Math.abs(o));return c*=i*f,l*=o*f,c+=t.offset*i,l+=t.offset*o,{x:r.x+c,y:r.y+l}}(0,r.a4)(O.prototype,{center:function(){var e=this._rect;return{x:e.x+e.w/2,y:e.y+e.h/2}},update:function(e,t,n){this._rotation=n,this._rect={x:t.x+e.x,y:t.y+e.y,w:t.w,h:t.h}},contains:function(e){var t=this,n=t._rect;return!((e=S(e,t.center(),-t._rotation)).x<n.x-1||e.y<n.y-1||e.x>n.x+n.w+2||e.y>n.y+n.h+2)},intersects:function(e){var t,n,r,i=this._points(),o=e._points(),a=[E(i[0],i[1]),E(i[0],i[3])];for(this._rotation!==e._rotation&&a.push(E(o[0],o[1]),E(o[0],o[3])),t=0;t<a.length;++t)if(n=k(i,a[t]),r=k(o,a[t]),n.max<r.min||r.max<n.min)return!1;return!0},_points:function(){var e=this,t=e._rect,n=e._rotation,r=e.center();return[S({x:t.x,y:t.y},r,n),S({x:t.x+t.w,y:t.y},r,n),S({x:t.x+t.w,y:t.y+t.h},r,n),S({x:t.x,y:t.y+t.h},r,n)]}});var L={prepare:function(e){var t,n,r,i,o,a=[];for(t=0,r=e.length;t<r;++t)for(n=0,i=e[t].length;n<i;++n)o=e[t][n],a.push(o),o.$layout={_box:new O,_hidable:!1,_visible:!0,_set:t,_idx:o._index};return a.sort((function(e,t){var n=e.$layout,r=t.$layout;return n._idx===r._idx?r._set-n._set:r._idx-n._idx})),this.update(a),a},update:function(e){var t,n,r,i,o,a=!1;for(t=0,n=e.length;t<n;++t)i=(r=e[t]).model(),(o=r.$layout)._hidable=i&&"auto"===i.display,o._visible=r.visible(),a|=o._hidable;a&&function(e){var t,n,r,i,o,a,s;for(t=0,n=e.length;t<n;++t)(i=(r=e[t]).$layout)._visible&&(s=new Proxy(r._el,{get:(e,t)=>e.getProps([t],!0)[t]}),o=r.geometry(),a=C(s,r.model(),o),i._box.update(a,o,r.rotation()));(function(e,t){var n,r,i,o;for(n=e.length-1;n>=0;--n)for(i=e[n].$layout,r=n-1;r>=0&&i._visible;--r)(o=e[r].$layout)._visible&&i._box.intersects(o._box)&&t(i,o)})(e,(function(e,t){var n=e._hidable,r=t._hidable;n&&r||r?t._visible=!1:n&&(e._visible=!1)}))}(e)},lookup:function(e,t){var n,r;for(n=e.length-1;n>=0;--n)if((r=e[n].$layout)&&r._visible&&r._box.contains(t))return e[n];return null},draw:function(e,t){var n,r,i,o,a,s;for(n=0,r=t.length;n<r;++n)(o=(i=t[n]).$layout)._visible&&(a=i.geometry(),s=C(i._el,i.model(),a),o._box.update(s,a,i.rotation()),i.draw(e,s))}},A="$default";function I(e,t,n,i){if(t){var o,a=n.$context,s=n.$groups;t[s._set]&&(o=t[s._set][s._key])&&!0===(0,r.Q)(o,[a,i])&&(e.$datalabels._dirty=!0,n.update(a))}}function P(e,t){var n,r,i=e.$datalabels,o=i._listeners;if(o.enter||o.leave){if("mousemove"===t.type)r=L.lookup(i._labels,t);else if("mouseout"!==t.type)return;n=i._hovered,i._hovered=r,function(e,t,n,r,i){var o,a;(n||r)&&(n?r?n!==r&&(a=o=!0):a=!0:o=!0,a&&I(e,t.leave,n,i),o&&I(e,t.enter,r,i))}(e,o,n,r,t)}}var M={id:"datalabels",defaults:{align:"center",anchor:"center",backgroundColor:null,borderColor:null,borderRadius:0,borderWidth:0,clamp:!1,clip:!1,color:void 0,display:!0,font:{family:void 0,lineHeight:1.2,size:void 0,style:void 0,weight:null},formatter:function(e){if((0,r.k)(e))return null;var t,n,i,o=e;if((0,r.i)(e))if((0,r.k)(e.label))if((0,r.k)(e.r))for(o="",i=0,n=(t=Object.keys(e)).length;i<n;++i)o+=(0!==i?", ":"")+t[i]+": "+e[t[i]];else o=e.r;else o=e.label;return""+o},labels:void 0,listeners:{},offset:4,opacity:1,padding:{top:4,right:4,bottom:4,left:4},rotation:0,textAlign:"start",textStrokeColor:void 0,textStrokeWidth:0,textShadowBlur:0,textShadowColor:void 0},beforeInit:function(e){e.$datalabels={_actives:[]}},beforeUpdate:function(e){var t=e.$datalabels;t._listened=!1,t._listeners={},t._datasets=[],t._labels=[]},afterDatasetUpdate:function(e,t,n){var i,o,a,s,u,c,l,f,d=t.index,p=e.$datalabels,h=p._datasets[d]=[],g=e.isDatasetVisible(d),m=e.data.datasets[d],y=function(e,t){var n,i,o,a=e.datalabels,s=[];return!1===a?null:(!0===a&&(a={}),t=(0,r.a4)({},[t,a]),i=t.labels||{},o=Object.keys(i),delete t.labels,o.length?o.forEach((function(e){i[e]&&s.push((0,r.a4)({},[t,i[e],{_key:e}]))})):s.push(t),n=s.reduce((function(e,t){return(0,r.F)(t.listeners||{},(function(n,r){e[r]=e[r]||{},e[r][t._key||A]=n})),delete t.listeners,e}),{}),{labels:s,listeners:n})}(m,n),v=t.meta.data||[],b=e.ctx;for(b.save(),i=0,a=v.length;i<a;++i)if((l=v[i]).$datalabels=[],g&&l&&e.getDataVisibility(i)&&!l.skip)for(o=0,s=y.labels.length;o<s;++o)c=(u=y.labels[o])._key,(f=new w(u,b,l,i)).$groups={_set:d,_key:c||A},f.$context={active:!1,chart:e,dataIndex:i,dataset:m,datasetIndex:d},f.update(f.$context),l.$datalabels.push(f),h.push(f);b.restore(),(0,r.a4)(p._listeners,y.listeners,{merger:function(e,n,r){n[e]=n[e]||{},n[e][t.index]=r[e],p._listened=!0}})},afterUpdate:function(e){e.$datalabels._labels=L.prepare(e.$datalabels._datasets)},afterDatasetsDraw:function(e){L.draw(e,e.$datalabels._labels)},beforeEvent:function(e,t){if(e.$datalabels._listened){var n=t.event;switch(n.type){case"mousemove":case"mouseout":P(e,n);break;case"click":!function(e,t){var n=e.$datalabels,r=n._listeners.click,i=r&&L.lookup(n._labels,t);i&&I(e,r,i,t)}(e,n)}}},afterEvent:function(e){var t,n,r,i,o,a,s,u=e.$datalabels,l=u._actives,f=u._actives=e.getActiveElements(),d=c(l,f);for(t=0,n=d.length;t<n;++t)if((o=d[t])[1])for(r=0,i=(s=o[0].element.$datalabels||[]).length;r<i;++r)(a=s[r]).$context.active=1===o[1],a.update(a.$context);(u._dirty||d.length)&&(L.update(u._labels),e.render()),delete u._dirty}}},94184:function(e,t){var n;!function(){"use strict";var r={}.hasOwnProperty;function i(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var o=typeof n;if("string"===o||"number"===o)e.push(n);else if(Array.isArray(n))e.push(i.apply(null,n));else if("object"===o)for(var a in n)r.call(n,a)&&n[a]&&e.push(a)}}return e.join(" ")}e.exports?e.exports=i:void 0===(n=function(){return i}.apply(t,[]))||(e.exports=n)}()},76489:function(e,t){"use strict";t.parse=function(e,t){if("string"!=typeof e)throw new TypeError("argument str must be a string");for(var r={},o=t||{},s=e.split(i),u=o.decode||n,c=0;c<s.length;c++){var l=s[c],f=l.indexOf("=");if(!(f<0)){var d=l.substr(0,f).trim(),p=l.substr(++f,l.length).trim();'"'==p[0]&&(p=p.slice(1,-1)),null==r[d]&&(r[d]=a(p,u))}}return r},t.serialize=function(e,t,n){var i=n||{},a=i.encode||r;if("function"!=typeof a)throw new TypeError("option encode is invalid");if(!o.test(e))throw new TypeError("argument name is invalid");var s=a(t);if(s&&!o.test(s))throw new TypeError("argument val is invalid");var u=e+"="+s;if(null!=i.maxAge){var c=i.maxAge-0;if(isNaN(c))throw new Error("maxAge should be a Number");u+="; Max-Age="+Math.floor(c)}if(i.domain){if(!o.test(i.domain))throw new TypeError("option domain is invalid");u+="; Domain="+i.domain}if(i.path){if(!o.test(i.path))throw new TypeError("option path is invalid");u+="; Path="+i.path}if(i.expires){if("function"!=typeof i.expires.toUTCString)throw new TypeError("option expires is invalid");u+="; Expires="+i.expires.toUTCString()}i.httpOnly&&(u+="; HttpOnly");i.secure&&(u+="; Secure");if(i.sameSite){switch("string"==typeof i.sameSite?i.sameSite.toLowerCase():i.sameSite){case!0:u+="; SameSite=Strict";break;case"lax":u+="; SameSite=Lax";break;case"strict":u+="; SameSite=Strict";break;default:throw new TypeError("option sameSite is invalid")}}return u};var n=decodeURIComponent,r=encodeURIComponent,i=/; */,o=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/;function a(e,t){try{return t(e)}catch(t){return e}}},13099:function(e){e.exports=function(e){if("function"!=typeof e)throw TypeError(String(e)+" is not a function");return e}},51223:function(e,t,n){var r=n(5112)("unscopables"),i=n(70030),o=n(95185),a=Array.prototype;null==a[r]&&o(a,r,i(null)),e.exports=function(e){a[r][e]=!0}},31530:function(e,t,n){"use strict";var r=n(95866);e.exports=function(e,t,n){return t+(n?r(e,t,!0).length:1)}},25787:function(e){e.exports=function(e,t,n){if(!(e instanceof t))throw TypeError("Incorrect "+(n?n+" ":"")+"invocation");return e}},19670:function(e,t,n){var r=n(70111);e.exports=function(e){if(!r(e))throw TypeError(String(e)+" is not an object");return e}},90260:function(e,t,n){"use strict";var r,i=n(19781),o=n(17854),a=n(70111),s=n(86656),u=n(70648),c=n(95185),l=n(31320),f=n(3070).f,d=n(79518),p=n(27674),h=n(5112)("toStringTag"),g=n(69711)("TYPED_ARRAY_TAG"),m=o.DataView,y=m&&m.prototype,v=o.Int8Array,b=v&&v.prototype,_=o.Uint8ClampedArray,w=_&&_.prototype,T=v&&d(v),x=b&&d(b),S=Object.prototype,k=S.isPrototypeOf,E=!(!o.ArrayBuffer||!o.DataView),O=E&&!!p,C=!1,L={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},A=function(e){return a(e)&&s(L,u(e))};for(r in L)o[r]||(O=!1);if((!O||"function"!=typeof T||T===Function.prototype)&&(T=function(){throw TypeError("Incorrect invocation")},O))for(r in L)o[r]&&p(o[r],T);if((!O||!x||x===S)&&(x=T.prototype,O))for(r in L)o[r]&&p(o[r].prototype,x);if(O&&d(w)!==x&&p(w,x),i&&!s(x,h))for(r in C=!0,f(x,h,{get:function(){return a(this)?this[g]:void 0}}),L)o[r]&&c(o[r],g,r);E&&p&&d(y)!==S&&p(y,S),e.exports={NATIVE_ARRAY_BUFFER:E,NATIVE_ARRAY_BUFFER_VIEWS:O,TYPED_ARRAY_TAG:C&&g,aTypedArray:function(e){if(A(e))return e;throw TypeError("Target is not a typed array")},aTypedArrayConstructor:function(e){if(p){if(k.call(T,e))return e}else for(var t in L)if(s(L,r)){var n=o[t];if(n&&(e===n||k.call(n,e)))return e}throw TypeError("Target is not a typed array constructor")},exportProto:function(e,t,n){if(i){if(n)for(var r in L){var a=o[r];a&&s(a.prototype,e)&&delete a.prototype[e]}x[e]&&!n||l(x,e,n?t:O&&b[e]||t)}},exportStatic:function(e,t,n){var r,a;if(i){if(p){if(n)for(r in L)(a=o[r])&&s(a,e)&&delete a[e];if(T[e]&&!n)return;try{return l(T,e,n?t:O&&v[e]||t)}catch(e){}}for(r in L)!(a=o[r])||a[e]&&!n||l(a,e,t)}},isView:function(e){var t=u(e);return"DataView"===t||s(L,t)},isTypedArray:A,TypedArray:T,TypedArrayPrototype:x}},13331:function(e,t,n){"use strict";var r=n(17854),i=n(19781),o=n(90260).NATIVE_ARRAY_BUFFER,a=n(95185),s=n(12248),u=n(47293),c=n(25787),l=n(99958),f=n(17466),d=n(57067),p=n(8006).f,h=n(3070).f,g=n(21285),m=n(58003),y=n(29909),v=y.get,b=y.set,_="ArrayBuffer",w="DataView",T="Wrong index",x=r.ArrayBuffer,S=x,k=r.DataView,E=r.Math,O=r.RangeError,C=1/0,L=E.abs,A=E.pow,I=E.floor,P=E.log,M=E.LN2,R=function(e,t,n){var r,i,o,a=new Array(n),s=8*n-t-1,u=(1<<s)-1,c=u>>1,l=23===t?A(2,-24)-A(2,-77):0,f=e<0||0===e&&1/e<0?1:0,d=0;for((e=L(e))!=e||e===C?(i=e!=e?1:0,r=u):(r=I(P(e)/M),e*(o=A(2,-r))<1&&(r--,o*=2),(e+=r+c>=1?l/o:l*A(2,1-c))*o>=2&&(r++,o/=2),r+c>=u?(i=0,r=u):r+c>=1?(i=(e*o-1)*A(2,t),r+=c):(i=e*A(2,c-1)*A(2,t),r=0));t>=8;a[d++]=255&i,i/=256,t-=8);for(r=r<<t|i,s+=t;s>0;a[d++]=255&r,r/=256,s-=8);return a[--d]|=128*f,a},j=function(e,t){var n,r=e.length,i=8*r-t-1,o=(1<<i)-1,a=o>>1,s=i-7,u=r-1,c=e[u--],l=127&c;for(c>>=7;s>0;l=256*l+e[u],u--,s-=8);for(n=l&(1<<-s)-1,l>>=-s,s+=t;s>0;n=256*n+e[u],u--,s-=8);if(0===l)l=1-a;else{if(l===o)return n?NaN:c?-1/0:C;n+=A(2,t),l-=a}return(c?-1:1)*n*A(2,l-t)},D=function(e){return e[3]<<24|e[2]<<16|e[1]<<8|e[0]},N=function(e){return[255&e]},B=function(e){return[255&e,e>>8&255]},U=function(e){return[255&e,e>>8&255,e>>16&255,e>>24&255]},F=function(e){return R(e,23,4)},z=function(e){return R(e,52,8)},H=function(e,t){h(e.prototype,t,{get:function(){return v(this)[t]}})},Z=function(e,t,n,r){var i=d(+n),o=v(e);if(i+t>o.byteLength)throw O(T);var a=v(o.buffer).bytes,s=i+o.byteOffset,u=a.slice(s,s+t);return r?u:u.reverse()},q=function(e,t,n,r,i,o){var a=d(+n),s=v(e);if(a+t>s.byteLength)throw O(T);for(var u=v(s.buffer).bytes,c=a+s.byteOffset,l=r(+i),f=0;f<t;f++)u[c+f]=l[o?f:t-f-1]};if(o){if(!u((function(){x(1)}))||!u((function(){new x(-1)}))||u((function(){return new x,new x(1.5),new x(NaN),x.name!=_}))){for(var V,W=(S=function(e){return c(this,S),new x(d(e))}).prototype=x.prototype,G=p(x),$=0;G.length>$;)(V=G[$++])in S||a(S,V,x[V]);W.constructor=S}var Y=new k(new S(2)),K=k.prototype.setInt8;Y.setInt8(0,2147483648),Y.setInt8(1,2147483649),!Y.getInt8(0)&&Y.getInt8(1)||s(k.prototype,{setInt8:function(e,t){K.call(this,e,t<<24>>24)},setUint8:function(e,t){K.call(this,e,t<<24>>24)}},{unsafe:!0})}else S=function(e){c(this,S,_);var t=d(e);b(this,{bytes:g.call(new Array(t),0),byteLength:t}),i||(this.byteLength=t)},k=function(e,t,n){c(this,k,w),c(e,S,w);var r=v(e).byteLength,o=l(t);if(o<0||o>r)throw O("Wrong offset");if(o+(n=void 0===n?r-o:f(n))>r)throw O("Wrong length");b(this,{buffer:e,byteLength:n,byteOffset:o}),i||(this.buffer=e,this.byteLength=n,this.byteOffset=o)},i&&(H(S,"byteLength"),H(k,"buffer"),H(k,"byteLength"),H(k,"byteOffset")),s(k.prototype,{getInt8:function(e){return Z(this,1,e)[0]<<24>>24},getUint8:function(e){return Z(this,1,e)[0]},getInt16:function(e){var t=Z(this,2,e,arguments[1]);return(t[1]<<8|t[0])<<16>>16},getUint16:function(e){var t=Z(this,2,e,arguments[1]);return t[1]<<8|t[0]},getInt32:function(e){return D(Z(this,4,e,arguments[1]))},getUint32:function(e){return D(Z(this,4,e,arguments[1]))>>>0},getFloat32:function(e){return j(Z(this,4,e,arguments[1]),23)},getFloat64:function(e){return j(Z(this,8,e,arguments[1]),52)},setInt8:function(e,t){q(this,1,e,N,t)},setUint8:function(e,t){q(this,1,e,N,t)},setInt16:function(e,t){q(this,2,e,B,t,arguments[2])},setUint16:function(e,t){q(this,2,e,B,t,arguments[2])},setInt32:function(e,t){q(this,4,e,U,t,arguments[2])},setUint32:function(e,t){q(this,4,e,U,t,arguments[2])},setFloat32:function(e,t){q(this,4,e,F,t,arguments[2])},setFloat64:function(e,t){q(this,8,e,z,t,arguments[2])}});m(S,_),m(k,w),t.ArrayBuffer=S,t.DataView=k},1048:function(e,t,n){"use strict";var r=n(47908),i=n(51400),o=n(17466);e.exports=[].copyWithin||function(e,t){var n=r(this),a=o(n.length),s=i(e,a),u=i(t,a),c=arguments.length>2?arguments[2]:void 0,l=Math.min((void 0===c?a:i(c,a))-u,a-s),f=1;for(u<s&&s<u+l&&(f=-1,u+=l-1,s+=l-1);l-- >0;)u in n?n[s]=n[u]:delete n[s],s+=f,u+=f;return n}},21285:function(e,t,n){"use strict";var r=n(47908),i=n(51400),o=n(17466);e.exports=function(e){for(var t=r(this),n=o(t.length),a=arguments.length,s=i(a>1?arguments[1]:void 0,n),u=a>2?arguments[2]:void 0,c=void 0===u?n:i(u,n);c>s;)t[s++]=e;return t}},18533:function(e,t,n){"use strict";var r=[].forEach,i=n(77550)(0),o=n(36637)("forEach");e.exports=o?function(e){return i(this,e,arguments[1])}:r},48457:function(e,t,n){"use strict";var r=n(30244),i=n(47908),o=n(53411),a=n(97659),s=n(17466),u=n(86135),c=n(71246);e.exports=function(e){var t,n,l,f,d=i(e),p="function"==typeof this?this:Array,h=arguments.length,g=h>1?arguments[1]:void 0,m=void 0!==g,y=0,v=c(d);if(m&&(g=r(g,h>2?arguments[2]:void 0,2)),null==v||p==Array&&a(v))for(n=new p(t=s(d.length));t>y;y++)u(n,y,m?g(d[y],y):d[y]);else for(f=v.call(d),n=new p;!(l=f.next()).done;y++)u(n,y,m?o(f,g,[l.value,y],!0):l.value);return n.length=y,n}},41318:function(e,t,n){var r=n(45656),i=n(17466),o=n(51400);e.exports=function(e){return function(t,n,a){var s,u=r(t),c=i(u.length),l=o(a,c);if(e&&n!=n){for(;c>l;)if((s=u[l++])!=s)return!0}else for(;c>l;l++)if((e||l in u)&&u[l]===n)return e||l||0;return!e&&-1}}},86583:function(e,t,n){"use strict";var r=n(45656),i=n(99958),o=n(17466),a=[].lastIndexOf,s=!!a&&1/[1].lastIndexOf(1,-0)<0,u=n(36637)("lastIndexOf");e.exports=s||u?function(e){if(s)return a.apply(this,arguments)||0;var t=r(this),n=o(t.length),u=n-1;for(arguments.length>1&&(u=Math.min(u,i(arguments[1]))),u<0&&(u=n+u);u>=0;u--)if(u in t&&t[u]===e)return u||0;return-1}:a},81194:function(e,t,n){var r=n(47293),i=n(5112)("species");e.exports=function(e){return!r((function(){var t=[];return(t.constructor={})[i]=function(){return{foo:1}},1!==t[e](Boolean).foo}))}},77550:function(e,t,n){var r=n(30244),i=n(68361),o=n(47908),a=n(17466),s=n(65417);e.exports=function(e,t){var n=1==e,u=2==e,c=3==e,l=4==e,f=6==e,d=5==e||f,p=t||s;return function(t,s,h){for(var g,m,y=o(t),v=i(y),b=r(s,h,3),_=a(v.length),w=0,T=n?p(t,_):u?p(t,0):void 0;_>w;w++)if((d||w in v)&&(m=b(g=v[w],w,y),e))if(n)T[w]=m;else if(m)switch(e){case 3:return!0;case 5:return g;case 6:return w;case 2:T.push(g)}else if(l)return!1;return f?-1:c||l?l:T}}},65417:function(e,t,n){var r=n(70111),i=n(43157),o=n(5112)("species");e.exports=function(e,t){var n;return i(e)&&("function"!=typeof(n=e.constructor)||n!==Array&&!i(n.prototype)?r(n)&&null===(n=n[o])&&(n=void 0):n=void 0),new(void 0===n?Array:n)(0===t?0:t)}},30244:function(e,t,n){var r=n(13099);e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 0:return function(){return e.call(t)};case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,i){return e.call(t,n,r,i)}}return function(){return e.apply(t,arguments)}}},53411:function(e,t,n){var r=n(19670);e.exports=function(e,t,n,i){try{return i?t(r(n)[0],n[1]):t(n)}catch(t){var o=e.return;throw void 0!==o&&r(o.call(e)),t}}},17072:function(e,t,n){var r=n(5112)("iterator"),i=!1;try{var o=0,a={next:function(){return{done:!!o++}},return:function(){i=!0}};a[r]=function(){return this},Array.from(a,(function(){throw 2}))}catch(e){}e.exports=function(e,t){if(!t&&!i)return!1;var n=!1;try{var o={};o[r]=function(){return{next:function(){return{done:n=!0}}}},e(o)}catch(e){}return n}},84326:function(e){var t={}.toString;e.exports=function(e){return t.call(e).slice(8,-1)}},70648:function(e,t,n){var r=n(84326),i=n(5112)("toStringTag"),o="Arguments"==r(function(){return arguments}());e.exports=function(e){var t,n,a;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),i))?n:o?r(t):"Object"==(a=r(t))&&"function"==typeof t.callee?"Arguments":a}},95631:function(e,t,n){"use strict";var r=n(3070).f,i=n(70030),o=n(12248),a=n(30244),s=n(25787),u=n(20408),c=n(70654),l=n(96340),f=n(19781),d=n(62423).fastKey,p=n(29909),h=p.set,g=p.getterFor;e.exports={getConstructor:function(e,t,n,c){var l=e((function(e,r){s(e,l,t),h(e,{type:t,index:i(null),first:void 0,last:void 0,size:0}),f||(e.size=0),null!=r&&u(r,e[c],e,n)})),p=g(t),m=function(e,t,n){var r,i,o=p(e),a=y(e,t);return a?a.value=n:(o.last=a={index:i=d(t,!0),key:t,value:n,previous:r=o.last,next:void 0,removed:!1},o.first||(o.first=a),r&&(r.next=a),f?o.size++:e.size++,"F"!==i&&(o.index[i]=a)),e},y=function(e,t){var n,r=p(e),i=d(t);if("F"!==i)return r.index[i];for(n=r.first;n;n=n.next)if(n.key==t)return n};return o(l.prototype,{clear:function(){for(var e=p(this),t=e.index,n=e.first;n;)n.removed=!0,n.previous&&(n.previous=n.previous.next=void 0),delete t[n.index],n=n.next;e.first=e.last=void 0,f?e.size=0:this.size=0},delete:function(e){var t=this,n=p(t),r=y(t,e);if(r){var i=r.next,o=r.previous;delete n.index[r.index],r.removed=!0,o&&(o.next=i),i&&(i.previous=o),n.first==r&&(n.first=i),n.last==r&&(n.last=o),f?n.size--:t.size--}return!!r},forEach:function(e){for(var t,n=p(this),r=a(e,arguments.length>1?arguments[1]:void 0,3);t=t?t.next:n.first;)for(r(t.value,t.key,this);t&&t.removed;)t=t.previous},has:function(e){return!!y(this,e)}}),o(l.prototype,n?{get:function(e){var t=y(this,e);return t&&t.value},set:function(e,t){return m(this,0===e?0:e,t)}}:{add:function(e){return m(this,e=0===e?0:e,e)}}),f&&r(l.prototype,"size",{get:function(){return p(this).size}}),l},setStrong:function(e,t,n){var r=t+" Iterator",i=g(t),o=g(r);c(e,t,(function(e,t){h(this,{type:r,target:e,state:i(e),kind:t,last:void 0})}),(function(){for(var e=o(this),t=e.kind,n=e.last;n&&n.removed;)n=n.previous;return e.target&&(e.last=n=n?n.next:e.state.first)?"keys"==t?{value:n.key,done:!1}:"values"==t?{value:n.value,done:!1}:{value:[n.key,n.value],done:!1}:(e.target=void 0,{value:void 0,done:!0})}),n?"entries":"values",!n,!0),l(t)}}},29320:function(e,t,n){"use strict";var r=n(12248),i=n(62423).getWeakData,o=n(19670),a=n(70111),s=n(25787),u=n(20408),c=n(77550),l=n(86656),f=n(29909),d=f.set,p=f.getterFor,h=c(5),g=c(6),m=0,y=function(e){return e.frozen||(e.frozen=new v)},v=function(){this.entries=[]},b=function(e,t){return h(e.entries,(function(e){return e[0]===t}))};v.prototype={get:function(e){var t=b(this,e);if(t)return t[1]},has:function(e){return!!b(this,e)},set:function(e,t){var n=b(this,e);n?n[1]=t:this.entries.push([e,t])},delete:function(e){var t=g(this.entries,(function(t){return t[0]===e}));return~t&&this.entries.splice(t,1),!!~t}},e.exports={getConstructor:function(e,t,n,c){var f=e((function(e,r){s(e,f,t),d(e,{type:t,id:m++,frozen:void 0}),null!=r&&u(r,e[c],e,n)})),h=p(t),g=function(e,t,n){var r=h(e),a=i(o(t),!0);return!0===a?y(r).set(t,n):a[r.id]=n,e};return r(f.prototype,{delete:function(e){var t=h(this);if(!a(e))return!1;var n=i(e);return!0===n?y(t).delete(e):n&&l(n,t.id)&&delete n[t.id]},has:function(e){var t=h(this);if(!a(e))return!1;var n=i(e);return!0===n?y(t).has(e):n&&l(n,t.id)}}),r(f.prototype,n?{get:function(e){var t=h(this);if(a(e)){var n=i(e);return!0===n?y(t).get(e):n?n[t.id]:void 0}},set:function(e,t){return g(this,e,t)}}:{add:function(e){return g(this,e,!0)}}),f}}},77710:function(e,t,n){"use strict";var r=n(17854),i=n(54705),o=n(82109),a=n(31320),s=n(62423),u=n(20408),c=n(25787),l=n(70111),f=n(47293),d=n(17072),p=n(58003),h=n(79587);e.exports=function(e,t,n,g,m){var y=r[e],v=y&&y.prototype,b=y,_=g?"set":"add",w={},T=function(e){var t=v[e];a(v,e,"add"==e?function(e){return t.call(this,0===e?0:e),this}:"delete"==e?function(e){return!(m&&!l(e))&&t.call(this,0===e?0:e)}:"get"==e?function(e){return m&&!l(e)?void 0:t.call(this,0===e?0:e)}:"has"==e?function(e){return!(m&&!l(e))&&t.call(this,0===e?0:e)}:function(e,n){return t.call(this,0===e?0:e,n),this})};if(i(e,"function"!=typeof y||!(m||v.forEach&&!f((function(){(new y).entries().next()})))))b=n.getConstructor(t,e,g,_),s.REQUIRED=!0;else if(i(e,!0)){var x=new b,S=x[_](m?{}:-0,1)!=x,k=f((function(){x.has(1)})),E=d((function(e){new y(e)})),O=!m&&f((function(){for(var e=new y,t=5;t--;)e[_](t,t);return!e.has(-0)}));E||((b=t((function(t,n){c(t,b,e);var r=h(new y,t,b);return null!=n&&u(n,r[_],r,g),r}))).prototype=v,v.constructor=b),(k||O)&&(T("delete"),T("has"),g&&T("get")),(O||S)&&T(_),m&&v.clear&&delete v.clear}return w[e]=b,o({global:!0,forced:b!=y},w),p(b,e),m||n.setStrong(b,e,g),b}},99920:function(e,t,n){var r=n(86656),i=n(53887),o=n(31236),a=n(3070);e.exports=function(e,t){for(var n=i(t),s=a.f,u=o.f,c=0;c<n.length;c++){var l=n[c];r(e,l)||s(e,l,u(t,l))}}},84964:function(e,t,n){var r=n(5112)("match");e.exports=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[r]=!1,"/./"[e](t)}catch(e){}}return!1}},49920:function(e,t,n){e.exports=!n(47293)((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},14230:function(e,t,n){var r=n(84488),i=/"/g;e.exports=function(e,t,n,o){var a=String(r(e)),s="<"+t;return""!==n&&(s+=" "+n+'="'+String(o).replace(i,"&quot;")+'"'),s+">"+a+"</"+t+">"}},24994:function(e,t,n){"use strict";var r=n(13383).IteratorPrototype,i=n(70030),o=n(79114),a=n(58003),s=n(97497),u=function(){return this};e.exports=function(e,t,n){var c=t+" Iterator";return e.prototype=i(r,{next:o(1,n)}),a(e,c,!1,!0),s[c]=u,e}},79114:function(e){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},86135:function(e,t,n){"use strict";var r=n(57593),i=n(3070),o=n(79114);e.exports=function(e,t,n){var a=r(t);a in e?i.f(e,a,o(0,n)):e[a]=n}},38709:function(e,t,n){"use strict";var r=n(19670),i=n(57593);e.exports=function(e){if("string"!==e&&"number"!==e&&"default"!==e)throw TypeError("Incorrect hint");return i(r(this),"number"!==e)}},70654:function(e,t,n){"use strict";var r=n(82109),i=n(24994),o=n(79518),a=n(27674),s=n(58003),u=n(95185),c=n(31320),l=n(31913),f=n(5112)("iterator"),d=n(97497),p=n(13383),h=p.IteratorPrototype,g=p.BUGGY_SAFARI_ITERATORS,m="keys",y="values",v="entries",b=function(){return this};e.exports=function(e,t,n,p,_,w,T){i(n,t,p);var x,S,k,E=function(e){if(e===_&&I)return I;if(!g&&e in L)return L[e];switch(e){case m:case y:case v:return function(){return new n(this,e)}}return function(){return new n(this)}},O=t+" Iterator",C=!1,L=e.prototype,A=L[f]||L["@@iterator"]||_&&L[_],I=!g&&A||E(_),P="Array"==t&&L.entries||A;if(P&&(x=o(P.call(new e)),h!==Object.prototype&&x.next&&(l||o(x)===h||(a?a(x,h):"function"!=typeof x[f]&&u(x,f,b)),s(x,O,!0,!0),l&&(d[O]=b))),_==y&&A&&A.name!==y&&(C=!0,I=function(){return A.call(this)}),l&&!T||L[f]===I||u(L,f,I),d[t]=I,_)if(S={values:E(y),keys:w?I:E(m),entries:E(v)},T)for(k in S)(g||C||!(k in L))&&c(L,k,S[k]);else r({target:t,proto:!0,forced:g||C},S);return S}},97235:function(e,t,n){var r=n(40857),i=n(86656),o=n(96805),a=n(3070).f;e.exports=function(e){var t=r.Symbol||(r.Symbol={});i(t,e)||a(t,e,{value:o.f(e)})}},19781:function(e,t,n){e.exports=!n(47293)((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},80317:function(e,t,n){var r=n(70111),i=n(17854).document,o=r(i)&&r(i.createElement);e.exports=function(e){return o?i.createElement(e):{}}},48324:function(e){e.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},80748:function(e){e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},6294:function(e,t,n){var r=n(81956),i=n(25181),o=n(55296);e.exports=function(e){var t=r(e),n=i.f;if(n)for(var a,s=n(e),u=o.f,c=0;s.length>c;)u.call(e,a=s[c++])&&t.push(a);return t}},82109:function(e,t,n){var r=n(17854),i=n(31236).f,o=n(95185),a=n(31320),s=n(83505),u=n(99920),c=n(54705);e.exports=function(e,t){var n,l,f,d,p,h=e.target,g=e.global,m=e.stat;if(n=g?r:m?r[h]||s(h,{}):(r[h]||{}).prototype)for(l in t){if(d=t[l],f=e.noTargetGet?(p=i(n,l))&&p.value:n[l],!c(g?l:h+(m?".":"#")+l,e.forced)&&void 0!==f){if(typeof d==typeof f)continue;u(d,f)}(e.sham||f&&f.sham)&&o(d,"sham",!0),a(n,l,d,e)}}},47293:function(e){e.exports=function(e){try{return!!e()}catch(e){return!0}}},27007:function(e,t,n){"use strict";var r=n(95185),i=n(31320),o=n(47293),a=n(5112),s=n(22261),u=a("species"),c=!o((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")})),l=!o((function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var n="ab".split(e);return 2!==n.length||"a"!==n[0]||"b"!==n[1]}));e.exports=function(e,t,n,f){var d=a(e),p=!o((function(){var t={};return t[d]=function(){return 7},7!=""[e](t)})),h=p&&!o((function(){var t=!1,n=/a/;return n.exec=function(){return t=!0,null},"split"===e&&(n.constructor={},n.constructor[u]=function(){return n}),n[d](""),!t}));if(!p||!h||"replace"===e&&!c||"split"===e&&!l){var g=/./[d],m=n(d,""[e],(function(e,t,n,r,i){return t.exec===s?p&&!i?{done:!0,value:g.call(t,n,r)}:{done:!0,value:e.call(n,t,r)}:{done:!1}})),y=m[0],v=m[1];i(String.prototype,e,y),i(RegExp.prototype,d,2==t?function(e,t){return v.call(e,this,t)}:function(e){return v.call(e,this)}),f&&r(RegExp.prototype[d],"sham",!0)}}},6790:function(e,t,n){"use strict";var r=n(43157),i=n(17466),o=n(30244),a=function(e,t,n,s,u,c,l,f){for(var d,p=u,h=0,g=!!l&&o(l,f,3);h<s;){if(h in n){if(d=g?g(n[h],h,t):n[h],c>0&&r(d))p=a(e,t,d,i(d.length),p,c-1)-1;else{if(p>=9007199254740991)throw TypeError("Exceed the acceptable array length");e[p]=d}p++}h++}return p};e.exports=a},41301:function(e,t,n){"use strict";e.exports=n(31913)||!n(47293)((function(){var e=Math.random();__defineSetter__.call(null,e,(function(){})),delete n(17854)[e]}))},12098:function(e,t,n){var r=n(47293);e.exports=function(e){return r((function(){var t=""[e]('"');return t!==t.toLowerCase()||t.split('"').length>3}))}},8711:function(e,t,n){var r=n(47293),i=n(81361);e.exports=function(e){return r((function(){return!!i[e]()||"​…᠎"!="​…᠎"[e]()||i[e].name!==e}))}},76677:function(e,t,n){e.exports=!n(47293)((function(){return Object.isExtensible(Object.preventExtensions({}))}))},27065:function(e,t,n){"use strict";var r=n(13099),i=n(70111),o=[].slice,a={},s=function(e,t,n){if(!(t in a)){for(var r=[],i=0;i<t;i++)r[i]="a["+i+"]";a[t]=Function("C,a","return new C("+r.join(",")+")")}return a[t](e,n)};e.exports=Function.bind||function(e){var t=r(this),n=o.call(arguments,1),a=function(){var r=n.concat(o.call(arguments));return this instanceof a?s(t,r.length,r):t.apply(e,r)};return i(t.prototype)&&(a.prototype=t.prototype),a}},92521:function(e,t,n){e.exports=n(72309)("native-function-to-string",Function.toString)},35005:function(e,t,n){var r=n(40857),i=n(17854),o=function(e){return"function"==typeof e?e:void 0};e.exports=function(e,t){return arguments.length<2?o(r[e])||o(i[e]):r[e]&&r[e][t]||i[e]&&i[e][t]}},71246:function(e,t,n){var r=n(70648),i=n(5112)("iterator"),o=n(97497);e.exports=function(e){if(null!=e)return e[i]||e["@@iterator"]||o[r(e)]}},18554:function(e,t,n){var r=n(19670),i=n(71246);e.exports=function(e){var t=i(e);if("function"!=typeof t)throw TypeError(String(e)+" is not iterable");return r(t.call(e))}},17854:function(e){e.exports="object"==typeof window&&window&&window.Math==Math?window:"object"==typeof self&&self&&self.Math==Math?self:Function("return this")()},86656:function(e){var t={}.hasOwnProperty;e.exports=function(e,n){return t.call(e,n)}},3501:function(e){e.exports={}},95185:function(e,t,n){var r=n(3070),i=n(79114);e.exports=n(19781)?function(e,t,n){return r.f(e,t,i(1,n))}:function(e,t,n){return e[t]=n,e}},842:function(e,t,n){var r=n(17854);e.exports=function(e,t){var n=r.console;n&&n.error&&(1===arguments.length?n.error(e):n.error(e,t))}},60490:function(e,t,n){var r=n(17854).document;e.exports=r&&r.documentElement},64664:function(e,t,n){e.exports=!n(19781)&&!n(47293)((function(){return 7!=Object.defineProperty(n(80317)("div"),"a",{get:function(){return 7}}).a}))},68361:function(e,t,n){var r=n(47293),i=n(84326),o="".split;e.exports=r((function(){return!Object("z").propertyIsEnumerable(0)}))?function(e){return"String"==i(e)?o.call(e,""):Object(e)}:Object},79587:function(e,t,n){var r=n(70111),i=n(27674);e.exports=function(e,t,n){var o,a=t.constructor;return a!==n&&"function"==typeof a&&(o=a.prototype)!==n.prototype&&r(o)&&i&&i(e,o),e}},62423:function(e,t,n){var r=n(69711)("meta"),i=n(76677),o=n(70111),a=n(86656),s=n(3070).f,u=0,c=Object.isExtensible||function(){return!0},l=function(e){s(e,r,{value:{objectID:"O"+ ++u,weakData:{}}})},f=e.exports={REQUIRED:!1,fastKey:function(e,t){if(!o(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!a(e,r)){if(!c(e))return"F";if(!t)return"E";l(e)}return e[r].objectID},getWeakData:function(e,t){if(!a(e,r)){if(!c(e))return!0;if(!t)return!1;l(e)}return e[r].weakData},onFreeze:function(e){return i&&f.REQUIRED&&c(e)&&!a(e,r)&&l(e),e}};n(3501)[r]=!0},29909:function(e,t,n){var r,i,o,a=n(68536),s=n(70111),u=n(95185),c=n(86656),l=n(6200),f=n(3501),d=n(17854).WeakMap;if(a){var p=new d,h=p.get,g=p.has,m=p.set;r=function(e,t){return m.call(p,e,t),t},i=function(e){return h.call(p,e)||{}},o=function(e){return g.call(p,e)}}else{var y=l("state");f[y]=!0,r=function(e,t){return u(e,y,t),t},i=function(e){return c(e,y)?e[y]:{}},o=function(e){return c(e,y)}}e.exports={set:r,get:i,has:o,enforce:function(e){return o(e)?i(e):r(e,{})},getterFor:function(e){return function(t){var n;if(!s(t)||(n=i(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return n}}}},97659:function(e,t,n){var r=n(97497),i=n(5112)("iterator"),o=Array.prototype;e.exports=function(e){return void 0!==e&&(r.Array===e||o[i]===e)}},43157:function(e,t,n){var r=n(84326);e.exports=Array.isArray||function(e){return"Array"==r(e)}},54705:function(e,t,n){var r=n(47293),i=/#|\.prototype\./,o=function(e,t){var n=s[a(e)];return n==c||n!=u&&("function"==typeof t?r(t):!!t)},a=o.normalize=function(e){return String(e).replace(i,".").toLowerCase()},s=o.data={},u=o.NATIVE="N",c=o.POLYFILL="P";e.exports=o},18730:function(e,t,n){var r=n(70111),i=Math.floor;e.exports=function(e){return!r(e)&&isFinite(e)&&i(e)===e}},70111:function(e){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},31913:function(e){e.exports=!1},47850:function(e,t,n){var r=n(70111),i=n(84326),o=n(5112)("match");e.exports=function(e){var t;return r(e)&&(void 0!==(t=e[o])?!!t:"RegExp"==i(e))}},20408:function(e,t,n){var r=n(19670),i=n(97659),o=n(17466),a=n(30244),s=n(71246),u=n(53411),c={};(e.exports=function(e,t,n,l,f){var d,p,h,g,m,y=a(t,n,l?2:1);if(f)d=e;else{if("function"!=typeof(p=s(e)))throw TypeError("Target is not iterable");if(i(p)){for(h=0,g=o(e.length);g>h;h++)if((l?y(r(m=e[h])[0],m[1]):y(e[h]))===c)return c;return}d=p.call(e)}for(;!(m=d.next()).done;)if(u(d,y,m.value,l)===c)return c}).BREAK=c},13383:function(e,t,n){"use strict";var r,i,o,a=n(79518),s=n(95185),u=n(86656),c=n(31913),l=n(5112)("iterator"),f=!1;[].keys&&("next"in(o=[].keys())?(i=a(a(o)))!==Object.prototype&&(r=i):f=!0),null==r&&(r={}),c||u(r,l)||s(r,l,(function(){return this})),e.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:f}},97497:function(e){e.exports={}},66736:function(e){var t=Math.expm1;e.exports=!t||t(10)>22025.465794806718||t(10)<22025.465794806718||-2e-17!=t(-2e-17)?function(e){return 0==(e=+e)?e:e>-1e-6&&e<1e-6?e+e*e/2:Math.exp(e)-1}:t},26130:function(e,t,n){var r=n(64310),i=Math.pow,o=i(2,-52),a=i(2,-23),s=i(2,127)*(2-a),u=i(2,-126);e.exports=Math.fround||function(e){var t,n,i=Math.abs(e),c=r(e);return i<u?c*(i/u/a+1/o-1/o)*u*a:(n=(t=(1+a/o)*i)-(t-i))>s||n!=n?c*(1/0):c*n}},26513:function(e){e.exports=Math.log1p||function(e){return(e=+e)>-1e-8&&e<1e-8?e-e*e/2:Math.log(1+e)}},64310:function(e){e.exports=Math.sign||function(e){return 0==(e=+e)||e!=e?e:e<0?-1:1}},95948:function(e,t,n){var r,i,o,a,s,u,c,l=n(17854),f=n(31236).f,d=n(84326),p=n(20261).set,h=n(20227),g=l.MutationObserver||l.WebKitMutationObserver,m=l.process,y=l.Promise,v="process"==d(m),b=f(l,"queueMicrotask"),_=b&&b.value;_||(r=function(){var e,t;for(v&&(e=m.domain)&&e.exit();i;){t=i.fn,i=i.next;try{t()}catch(e){throw i?a():o=void 0,e}}o=void 0,e&&e.enter()},v?a=function(){m.nextTick(r)}:g&&!/(iPhone|iPod|iPad).*AppleWebKit/i.test(h)?(s=!0,u=document.createTextNode(""),new g(r).observe(u,{characterData:!0}),a=function(){u.data=s=!s}):y&&y.resolve?(c=y.resolve(void 0),a=function(){c.then(r)}):a=function(){p.call(l,r)}),e.exports=_||function(e){var t={fn:e,next:void 0};o&&(o.next=t),i||(i=t,a()),o=t}},30133:function(e,t,n){e.exports=!n(47293)((function(){return!String(Symbol())}))},590:function(e,t,n){var r=n(31913),i=n(5112)("iterator");e.exports=!n(47293)((function(){var e=new URL("b?e=1","http://a"),t=e.searchParams;return e.pathname="c%20d",r&&!e.toJSON||!t.sort||"http://a/c%20d?e=1"!==e.href||"1"!==t.get("e")||"a=1"!==String(new URLSearchParams("?a=1"))||!t[i]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("http://тест").host||"#%D0%B1"!==new URL("http://a#б").hash}))},68536:function(e,t,n){var r=n(92521),i=n(17854).WeakMap;e.exports="function"==typeof i&&/native code/.test(r.call(i))},78523:function(e,t,n){"use strict";var r=n(13099),i=function(e){var t,n;this.promise=new e((function(e,r){if(void 0!==t||void 0!==n)throw TypeError("Bad Promise constructor");t=e,n=r})),this.resolve=r(t),this.reject=r(n)};e.exports.f=function(e){return new i(e)}},77023:function(e,t,n){var r=n(17854).isFinite;e.exports=Number.isFinite||function(e){return"number"==typeof e&&r(e)}},21574:function(e,t,n){"use strict";var r=n(81956),i=n(25181),o=n(55296),a=n(47908),s=n(68361),u=Object.assign;e.exports=!u||n(47293)((function(){var e={},t={},n=Symbol(),i="abcdefghijklmnopqrst";return e[n]=7,i.split("").forEach((function(e){t[e]=e})),7!=u({},e)[n]||r(u({},t)).join("")!=i}))?function(e,t){for(var n=a(e),u=arguments.length,c=1,l=i.f,f=o.f;u>c;)for(var d,p=s(arguments[c++]),h=l?r(p).concat(l(p)):r(p),g=h.length,m=0;g>m;)f.call(p,d=h[m++])&&(n[d]=p[d]);return n}:u},70030:function(e,t,n){var r=n(19670),i=n(36048),o=n(80748),a=n(60490),s=n(80317),u=n(6200)("IE_PROTO"),c=function(){},l=function(){var e,t=s("iframe"),n=o.length;for(t.style.display="none",a.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write("<script>document.F=Object<\/script>"),e.close(),l=e.F;n--;)delete l.prototype[o[n]];return l()};e.exports=Object.create||function(e,t){var n;return null!==e?(c.prototype=r(e),n=new c,c.prototype=null,n[u]=e):n=l(),void 0===t?n:i(n,t)},n(3501)[u]=!0},36048:function(e,t,n){var r=n(19781),i=n(3070),o=n(19670),a=n(81956);e.exports=r?Object.defineProperties:function(e,t){o(e);for(var n,r=a(t),s=r.length,u=0;s>u;)i.f(e,n=r[u++],t[n]);return e}},3070:function(e,t,n){var r=n(19781),i=n(64664),o=n(19670),a=n(57593),s=Object.defineProperty;t.f=r?s:function(e,t,n){if(o(e),t=a(t,!0),o(n),i)try{return s(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},31236:function(e,t,n){var r=n(19781),i=n(55296),o=n(79114),a=n(45656),s=n(57593),u=n(86656),c=n(64664),l=Object.getOwnPropertyDescriptor;t.f=r?l:function(e,t){if(e=a(e),t=s(t,!0),c)try{return l(e,t)}catch(e){}if(u(e,t))return o(!i.f.call(e,t),e[t])}},1156:function(e,t,n){var r=n(45656),i=n(8006).f,o={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(e){return a&&"[object Window]"==o.call(e)?function(e){try{return i(e)}catch(e){return a.slice()}}(e):i(r(e))}},8006:function(e,t,n){var r=n(16324),i=n(80748).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,i)}},25181:function(e,t){t.f=Object.getOwnPropertySymbols},79518:function(e,t,n){var r=n(86656),i=n(47908),o=n(6200)("IE_PROTO"),a=n(49920),s=Object.prototype;e.exports=a?Object.getPrototypeOf:function(e){return e=i(e),r(e,o)?e[o]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?s:null}},16324:function(e,t,n){var r=n(86656),i=n(45656),o=n(41318)(!1),a=n(3501);e.exports=function(e,t){var n,s=i(e),u=0,c=[];for(n in s)!r(a,n)&&r(s,n)&&c.push(n);for(;t.length>u;)r(s,n=t[u++])&&(~o(c,n)||c.push(n));return c}},81956:function(e,t,n){var r=n(16324),i=n(80748);e.exports=Object.keys||function(e){return r(e,i)}},55296:function(e,t){"use strict";var n={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,i=r&&!n.call({1:2},1);t.f=i?function(e){var t=r(this,e);return!!t&&t.enumerable}:n},27674:function(e,t,n){var r=n(99475);e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(n,[]),t=n instanceof Array}catch(e){}return function(n,i){return r(n,i),t?e.call(n,i):n.__proto__=i,n}}():void 0)},44699:function(e,t,n){var r=n(81956),i=n(45656),o=n(55296).f;e.exports=function(e,t){for(var n,a=i(e),s=r(a),u=s.length,c=0,l=[];u>c;)o.call(a,n=s[c++])&&l.push(t?[n,a[n]]:a[n]);return l}},90288:function(e,t,n){"use strict";var r=n(70648),i={};i[n(5112)("toStringTag")]="z",e.exports="[object z]"!==String(i)?function(){return"[object "+r(this)+"]"}:i.toString},53887:function(e,t,n){var r=n(8006),i=n(25181),o=n(19670),a=n(17854).Reflect;e.exports=a&&a.ownKeys||function(e){var t=r.f(o(e)),n=i.f;return n?t.concat(n(e)):t}},3677:function(e,t,n){var r=n(17854).parseFloat,i=n(53111),o=n(81361),a=1/r(o+"-0")!=-1/0;e.exports=a?function(e){var t=i(String(e),3),n=r(t);return 0===n&&"-"==t.charAt(0)?-0:n}:r},88620:function(e,t,n){var r=n(17854).parseInt,i=n(53111),o=n(81361),a=/^[-+]?0[xX]/,s=8!==r(o+"08")||22!==r(o+"0x16");e.exports=s?function(e,t){var n=i(String(e),3);return r(n,t>>>0||(a.test(n)?16:10))}:r},40857:function(e,t,n){e.exports=n(17854)},12534:function(e){e.exports=function(e){try{return{error:!1,value:e()}}catch(e){return{error:!0,value:e}}}},69478:function(e,t,n){var r=n(19670),i=n(70111),o=n(78523);e.exports=function(e,t){if(r(e),i(t)&&t.constructor===e)return t;var n=o.f(e);return(0,n.resolve)(t),n.promise}},33611:function(e){"use strict";var t=2147483647,n=/[^\0-\u007E]/,r=/[\u002E\u3002\uFF0E\uFF61]/g,i="Overflow: input needs wider integers to process",o=Math.floor,a=String.fromCharCode,s=function(e){return e+22+75*(e<26)},u=function(e,t,n){var r=0;for(e=n?o(e/700):e>>1,e+=o(e/t);e>455;r+=36)e=o(e/35);return o(r+36*e/(e+38))},c=function(e){var n=[];e=function(e){for(var t=[],n=0,r=e.length;n<r;){var i=e.charCodeAt(n++);if(i>=55296&&i<=56319&&n<r){var o=e.charCodeAt(n++);56320==(64512&o)?t.push(((1023&i)<<10)+(1023&o)+65536):(t.push(i),n--)}else t.push(i)}return t}(e);var r,c,l=e.length,f=128,d=0,p=72;for(r=0;r<e.length;r++)(c=e[r])<128&&n.push(a(c));var h=n.length,g=h;for(h&&n.push("-");g<l;){var m=t;for(r=0;r<e.length;r++)(c=e[r])>=f&&c<m&&(m=c);var y=g+1;if(m-f>o((t-d)/y))throw RangeError(i);for(d+=(m-f)*y,f=m,r=0;r<e.length;r++){if((c=e[r])<f&&++d>t)throw RangeError(i);if(c==f){for(var v=d,b=36;;b+=36){var _=b<=p?1:b>=p+26?26:b-p;if(v<_)break;var w=v-_,T=36-_;n.push(a(s(_+w%T))),v=o(w/T)}n.push(a(s(v))),p=u(d,y,g==h),d=0,++g}}++d,++f}return n.join("")};e.exports=function(e){var t,i,o=[],a=e.toLowerCase().replace(r,".").split(".");for(t=0;t<a.length;t++)i=a[t],o.push(n.test(i)?"xn--"+c(i):i);return o.join(".")}},12248:function(e,t,n){var r=n(31320);e.exports=function(e,t,n){for(var i in t)r(e,i,t[i],n);return e}},31320:function(e,t,n){var r=n(17854),i=n(95185),o=n(86656),a=n(83505),s=n(92521),u=n(29909),c=u.get,l=u.enforce,f=String(s).split("toString");n(72309)("inspectSource",(function(e){return s.call(e)})),(e.exports=function(e,t,n,s){var u=!!s&&!!s.unsafe,c=!!s&&!!s.enumerable,d=!!s&&!!s.noTargetGet;"function"==typeof n&&("string"!=typeof t||o(n,"name")||i(n,"name",t),l(n).source=f.join("string"==typeof t?t:"")),e!==r?(u?!d&&e[t]&&(c=!0):delete e[t],c?e[t]=n:i(e,t,n)):c?e[t]=n:a(t,n)})(Function.prototype,"toString",(function(){return"function"==typeof this&&c(this).source||s.call(this)}))},97651:function(e,t,n){var r=n(84326),i=n(22261);e.exports=function(e,t){var n=e.exec;if("function"==typeof n){var o=n.call(e,t);if("object"!=typeof o)throw TypeError("RegExp exec method returned something other than an Object or null");return o}if("RegExp"!==r(e))throw TypeError("RegExp#exec called on incompatible receiver");return i.call(e,t)}},22261:function(e,t,n){"use strict";var r,i,o=n(67066),a=RegExp.prototype.exec,s=String.prototype.replace,u=a,c=(r=/a/,i=/b*/g,a.call(r,"a"),a.call(i,"a"),0!==r.lastIndex||0!==i.lastIndex),l=void 0!==/()??/.exec("")[1];(c||l)&&(u=function(e){var t,n,r,i,u=this;return l&&(n=new RegExp("^"+u.source+"$(?!\\s)",o.call(u))),c&&(t=u.lastIndex),r=a.call(u,e),c&&r&&(u.lastIndex=u.global?r.index+r[0].length:t),l&&r&&r.length>1&&s.call(r[0],n,(function(){for(i=1;i<arguments.length-2;i++)void 0===arguments[i]&&(r[i]=void 0)})),r}),e.exports=u},67066:function(e,t,n){"use strict";var r=n(19670);e.exports=function(){var e=r(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t}},84488:function(e){e.exports=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e}},81150:function(e){e.exports=Object.is||function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}},83505:function(e,t,n){var r=n(17854),i=n(95185);e.exports=function(e,t){try{i(r,e,t)}catch(n){r[e]=t}return t}},96340:function(e,t,n){"use strict";var r=n(35005),i=n(3070),o=n(19781),a=n(5112)("species");e.exports=function(e){var t=r(e),n=i.f;o&&t&&!t[a]&&n(t,a,{configurable:!0,get:function(){return this}})}},58003:function(e,t,n){var r=n(3070).f,i=n(86656),o=n(5112)("toStringTag");e.exports=function(e,t,n){e&&!i(e=n?e:e.prototype,o)&&r(e,o,{configurable:!0,value:t})}},6200:function(e,t,n){var r=n(72309)("keys"),i=n(69711);e.exports=function(e){return r[e]||(r[e]=i(e))}},72309:function(e,t,n){var r=n(17854),i=n(83505),o="__core-js_shared__",a=r[o]||i(o,{});(e.exports=function(e,t){return a[e]||(a[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.0.1",mode:n(31913)?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},36637:function(e,t,n){"use strict";var r=n(47293);e.exports=function(e,t){var n=[][e];return!n||!r((function(){n.call(null,t||function(){throw 1},1)}))}},36707:function(e,t,n){var r=n(19670),i=n(13099),o=n(5112)("species");e.exports=function(e,t){var n,a=r(e).constructor;return void 0===a||null==(n=r(a)[o])?t:i(n)}},95866:function(e,t,n){var r=n(99958),i=n(84488);e.exports=function(e,t,n){var o,a,s=String(i(e)),u=r(t),c=s.length;return u<0||u>=c?n?"":void 0:(o=s.charCodeAt(u))<55296||o>56319||u+1===c||(a=s.charCodeAt(u+1))<56320||a>57343?n?s.charAt(u):o:n?s.slice(u,u+2):a-56320+(o-55296<<10)+65536}},76650:function(e,t,n){var r=n(17466),i=n(38415),o=n(84488);e.exports=function(e,t,n,a){var s,u,c=String(o(e)),l=c.length,f=void 0===n?" ":String(n),d=r(t);return d<=l||""==f?c:(s=d-l,(u=i.call(f,Math.ceil(s/f.length))).length>s&&(u=u.slice(0,s)),a?u+c:c+u)}},38415:function(e,t,n){"use strict";var r=n(99958),i=n(84488);e.exports="".repeat||function(e){var t=String(i(this)),n="",o=r(e);if(o<0||o==1/0)throw RangeError("Wrong number of repetitions");for(;o>0;(o>>>=1)&&(t+=t))1&o&&(n+=t);return n}},53111:function(e,t,n){var r=n(84488),i="["+n(81361)+"]",o=RegExp("^"+i+i+"*"),a=RegExp(i+i+"*$");e.exports=function(e,t){return e=String(r(e)),1&t&&(e=e.replace(o,"")),2&t&&(e=e.replace(a,"")),e}},20261:function(e,t,n){var r,i,o,a=n(17854),s=n(84326),u=n(30244),c=n(60490),l=n(80317),f=a.setImmediate,d=a.clearImmediate,p=a.process,h=a.MessageChannel,g=a.Dispatch,m=0,y={},v="onreadystatechange",b=function(){var e=+this;if(y.hasOwnProperty(e)){var t=y[e];delete y[e],t()}},_=function(e){b.call(e.data)};f&&d||(f=function(e){for(var t=[],n=1;arguments.length>n;)t.push(arguments[n++]);return y[++m]=function(){("function"==typeof e?e:Function(e)).apply(void 0,t)},r(m),m},d=function(e){delete y[e]},"process"==s(p)?r=function(e){p.nextTick(u(b,e,1))}:g&&g.now?r=function(e){g.now(u(b,e,1))}:h?(o=(i=new h).port2,i.port1.onmessage=_,r=u(o.postMessage,o,1)):a.addEventListener&&"function"==typeof postMessage&&!a.importScripts?(r=function(e){a.postMessage(e+"","*")},a.addEventListener("message",_,!1)):r=v in l("script")?function(e){c.appendChild(l("script")).onreadystatechange=function(){c.removeChild(this),b.call(e)}}:function(e){setTimeout(u(b,e,1),0)}),e.exports={set:f,clear:d}},50863:function(e,t,n){var r=n(84326);e.exports=function(e){if("number"!=typeof e&&"Number"!=r(e))throw TypeError("Incorrect invocation");return+e}},51400:function(e,t,n){var r=n(99958),i=Math.max,o=Math.min;e.exports=function(e,t){var n=r(e);return n<0?i(n+t,0):o(n,t)}},57067:function(e,t,n){var r=n(99958),i=n(17466);e.exports=function(e){if(void 0===e)return 0;var t=r(e),n=i(t);if(t!==n)throw RangeError("Wrong length or index");return n}},45656:function(e,t,n){var r=n(68361),i=n(84488);e.exports=function(e){return r(i(e))}},99958:function(e){var t=Math.ceil,n=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?n:t)(e)}},17466:function(e,t,n){var r=n(99958),i=Math.min;e.exports=function(e){return e>0?i(r(e),9007199254740991):0}},47908:function(e,t,n){var r=n(84488);e.exports=function(e){return Object(r(e))}},84590:function(e,t,n){var r=n(99958);e.exports=function(e,t){var n=r(e);if(n<0||n%t)throw RangeError("Wrong offset");return n}},57593:function(e,t,n){var r=n(70111);e.exports=function(e,t){if(!r(e))return e;var n,i;if(t&&"function"==typeof(n=e.toString)&&!r(i=n.call(e)))return i;if("function"==typeof(n=e.valueOf)&&!r(i=n.call(e)))return i;if(!t&&"function"==typeof(n=e.toString)&&!r(i=n.call(e)))return i;throw TypeError("Can't convert object to primitive value")}},19843:function(e,t,n){"use strict";if(n(19781)){var r=n(17854),i=n(82109),o=n(6500),a=n(90260),s=n(13331),u=n(25787),c=n(79114),l=n(95185),f=n(17466),d=n(57067),p=n(84590),h=n(57593),g=n(86656),m=n(70648),y=n(70111),v=n(70030),b=n(27674),_=n(8006).f,w=n(97321),T=n(77550)(0),x=n(96340),S=n(3070),k=n(31236),E=n(29909),O=E.get,C=E.set,L=S.f,A=k.f,I=r.RangeError,P=s.ArrayBuffer,M=s.DataView,R=a.NATIVE_ARRAY_BUFFER_VIEWS,j=a.TYPED_ARRAY_TAG,D=a.TypedArray,N=a.TypedArrayPrototype,B=a.aTypedArrayConstructor,U=a.isTypedArray,F="BYTES_PER_ELEMENT",z="Wrong length",H=function(e,t){for(var n=0,r=t.length,i=new(B(e))(r);r>n;)i[n]=t[n++];return i},Z=function(e,t){L(e,t,{get:function(){return O(this)[t]}})},q=function(e){var t;return e instanceof P||"ArrayBuffer"==(t=m(e))||"SharedArrayBuffer"==t},V=function(e,t){return U(e)&&"symbol"!=typeof t&&t in e&&String(+t)==String(t)},W=function(e,t){return V(e,t=h(t,!0))?c(2,e[t]):A(e,t)},G=function(e,t,n){return!(V(e,t=h(t,!0))&&y(n)&&g(n,"value"))||g(n,"get")||g(n,"set")||n.configurable||g(n,"writable")&&!n.writable||g(n,"enumerable")&&!n.enumerable?L(e,t,n):(e[t]=n.value,e)};R||(k.f=W,S.f=G,Z(N,"buffer"),Z(N,"byteOffset"),Z(N,"byteLength"),Z(N,"length")),i({target:"Object",stat:!0,forced:!R},{getOwnPropertyDescriptor:W,defineProperty:G}),e.exports=function(e,t,n,a){var s=e+(a?"Clamped":"")+"Array",c="get"+e,h="set"+e,g=r[s],m=g,S=m&&m.prototype,k={},E=function(e,n){L(e,n,{get:function(){return function(e,n){var r=O(e);return r.view[c](n*t+r.byteOffset,!0)}(this,n)},set:function(e){return function(e,n,r){var i=O(e);a&&(r=(r=Math.round(r))<0?0:r>255?255:255&r),i.view[h](n*t+i.byteOffset,r,!0)}(this,n,e)},enumerable:!0})};R?o&&(m=n((function(e,n,r,i){return u(e,m,s),y(n)?q(n)?void 0!==i?new g(n,p(r,t),i):void 0!==r?new g(n,p(r,t)):new g(n):U(n)?H(m,n):w.call(m,n):new g(d(n))})),b&&b(m,D),T(_(g),(function(e){e in m||l(m,e,g[e])})),m.prototype=S):(m=n((function(e,n,r,i){u(e,m,s);var o,a,c,l=0,h=0;if(y(n)){if(!q(n))return U(n)?H(m,n):w.call(m,n);o=n,h=p(r,t);var g=n.byteLength;if(void 0===i){if(g%t)throw I(z);if((a=g-h)<0)throw I(z)}else if((a=f(i)*t)+h>g)throw I(z);c=a/t}else c=d(n),o=new P(a=c*t);for(C(e,{buffer:o,byteOffset:h,byteLength:a,length:c,view:new M(o)});l<c;)E(e,l++)})),b&&b(m,D),S=m.prototype=v(N)),S.constructor!==m&&l(S,"constructor",m),j&&l(S,j,s),k[s]=m,i({global:!0,forced:m!=g,sham:!R},k),F in m||l(m,F,t),F in S||l(S,F,t),x(s)}}else e.exports=function(){}},97321:function(e,t,n){var r=n(47908),i=n(17466),o=n(71246),a=n(97659),s=n(30244),u=n(90260).aTypedArrayConstructor;e.exports=function(e){var t,n,c,l,f,d=r(e),p=arguments.length,h=p>1?arguments[1]:void 0,g=void 0!==h,m=o(d);if(null!=m&&!a(m))for(f=m.call(d),d=[];!(l=f.next()).done;)d.push(l.value);for(g&&p>2&&(h=s(h,arguments[2],2)),n=i(d.length),c=new(u(this))(n),t=0;n>t;t++)c[t]=g?h(d[t],t):d[t];return c}},6500:function(e,t,n){var r=n(17854),i=n(47293),o=n(17072),a=n(90260).NATIVE_ARRAY_BUFFER_VIEWS,s=r.ArrayBuffer,u=r.Int8Array;e.exports=!a||!i((function(){u(1)}))||!i((function(){new u(-1)}))||!o((function(e){new u,new u(null),new u(1.5),new u(e)}),!0)||i((function(){return 1!==new u(new s(2),1,void 0).length}))},69711:function(e){var t=0,n=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++t+n).toString(36))}},20227:function(e,t,n){var r=n(17854).navigator;e.exports=r&&r.userAgent||""},99475:function(e,t,n){var r=n(70111),i=n(19670);e.exports=function(e,t){if(i(e),!r(t)&&null!==t)throw TypeError("Can't set "+String(t)+" as a prototype")}},28468:function(e,t,n){var r=n(47850),i=n(84488);e.exports=function(e,t,n){if(r(t))throw TypeError("String.prototype."+n+" doesn't accept regex");return String(i(e))}},27428:function(e,t,n){var r=n(20227);e.exports=/Version\/10\.\d+(\.\d+)?( Mobile\/\w+)? Safari\//.test(r)},5112:function(e,t,n){var r=n(72309)("wks"),i=n(69711),o=n(17854).Symbol,a=n(30133);e.exports=function(e){return r[e]||(r[e]=a&&o[e]||(a?o:i)("Symbol."+e))}},81361:function(e){e.exports="\t\n\v\f\r                 \u2028\u2029\ufeff"},96805:function(e,t,n){t.f=n(5112)},18264:function(e,t,n){"use strict";var r="ArrayBuffer",i=n(13331).ArrayBuffer,o=n(17854).ArrayBuffer;n(82109)({global:!0,forced:o!==i},{ArrayBuffer:i}),n(96340)(r)},39575:function(e,t,n){"use strict";var r=n(13331),i=n(19670),o=n(51400),a=n(17466),s=n(36707),u=r.ArrayBuffer,c=r.DataView,l=u.prototype.slice,f=n(47293)((function(){return!new u(2).slice(1,void 0).byteLength}));n(82109)({target:"ArrayBuffer",proto:!0,unsafe:!0,forced:f},{slice:function(e,t){if(void 0!==l&&void 0===t)return l.call(i(this),e);for(var n=i(this).byteLength,r=o(e,n),f=o(void 0===t?n:t,n),d=new(s(this,u))(a(f-r)),p=new c(this),h=new c(d),g=0;r<f;)h.setUint8(g++,p.getUint8(r++));return d}})},92222:function(e,t,n){"use strict";var r=n(43157),i=n(70111),o=n(47908),a=n(17466),s=n(86135),u=n(65417),c=n(5112)("isConcatSpreadable"),l=9007199254740991,f="Maximum allowed index exceeded",d=!n(47293)((function(){var e=[];return e[c]=!1,e.concat()[0]!==e})),p=n(81194)("concat"),h=function(e){if(!i(e))return!1;var t=e[c];return void 0!==t?!!t:r(e)},g=!d||!p;n(82109)({target:"Array",proto:!0,forced:g},{concat:function(e){var t,n,r,i,c,d=o(this),p=u(d,0),g=0;for(t=-1,r=arguments.length;t<r;t++)if(h(c=-1===t?d:arguments[t])){if(g+(i=a(c.length))>l)throw TypeError(f);for(n=0;n<i;n++,g++)n in c&&s(p,g,c[n])}else{if(g>=l)throw TypeError(f);s(p,g++,c)}return p.length=g,p}})},50545:function(e,t,n){n(82109)({target:"Array",proto:!0},{copyWithin:n(1048)}),n(51223)("copyWithin")},43290:function(e,t,n){n(82109)({target:"Array",proto:!0},{fill:n(21285)}),n(51223)("fill")},57327:function(e,t,n){"use strict";var r=n(77550)(2),i=n(81194)("filter");n(82109)({target:"Array",proto:!0,forced:!i},{filter:function(e){return r(this,e,arguments[1])}})},34553:function(e,t,n){"use strict";var r=n(77550)(6),i="findIndex",o=!0;i in[]&&Array(1).findIndex((function(){o=!1})),n(82109)({target:"Array",proto:!0,forced:o},{findIndex:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}}),n(51223)(i)},69826:function(e,t,n){"use strict";var r=n(77550)(5),i="find",o=!0;i in[]&&Array(1).find((function(){o=!1})),n(82109)({target:"Array",proto:!0,forced:o},{find:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}}),n(51223)(i)},86535:function(e,t,n){"use strict";var r=n(6790),i=n(47908),o=n(17466),a=n(13099),s=n(65417);n(82109)({target:"Array",proto:!0},{flatMap:function(e){var t,n=i(this),u=o(n.length);return a(e),(t=s(n,0)).length=r(t,n,n,u,0,1,e,arguments[1]),t}})},84944:function(e,t,n){"use strict";var r=n(6790),i=n(47908),o=n(17466),a=n(99958),s=n(65417);n(82109)({target:"Array",proto:!0},{flat:function(){var e=arguments[0],t=i(this),n=o(t.length),u=s(t,0);return u.length=r(u,t,t,n,0,void 0===e?1:a(e)),u}})},91038:function(e,t,n){var r=!n(17072)((function(e){Array.from(e)}));n(82109)({target:"Array",stat:!0,forced:r},{from:n(48457)})},26699:function(e,t,n){"use strict";var r=n(41318)(!0);n(82109)({target:"Array",proto:!0},{includes:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}}),n(51223)("includes")},66992:function(e,t,n){"use strict";var r=n(45656),i=n(51223),o=n(97497),a=n(29909),s=n(70654),u="Array Iterator",c=a.set,l=a.getterFor(u);e.exports=s(Array,"Array",(function(e,t){c(this,{type:u,target:r(e),index:0,kind:t})}),(function(){var e=l(this),t=e.target,n=e.kind,r=e.index++;return!t||r>=t.length?(e.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:r,done:!1}:"values"==n?{value:t[r],done:!1}:{value:[r,t[r]],done:!1}}),"values"),o.Arguments=o.Array,i("keys"),i("values"),i("entries")},69600:function(e,t,n){"use strict";var r=n(45656),i=[].join,o=n(68361)!=Object,a=n(36637)("join",",");n(82109)({target:"Array",proto:!0,forced:o||a},{join:function(e){return i.call(r(this),void 0===e?",":e)}})},21249:function(e,t,n){"use strict";var r=n(77550)(1),i=n(81194)("map");n(82109)({target:"Array",proto:!0,forced:!i},{map:function(e){return r(this,e,arguments[1])}})},26572:function(e,t,n){"use strict";var r=n(86135),i=n(47293)((function(){function e(){}return!(Array.of.call(e)instanceof e)}));n(82109)({target:"Array",stat:!0,forced:i},{of:function(){for(var e=0,t=arguments.length,n=new("function"==typeof this?this:Array)(t);t>e;)r(n,e,arguments[e++]);return n.length=t,n}})},65069:function(e,t,n){"use strict";var r=n(43157),i=[].reverse,o=[1,2];n(82109)({target:"Array",proto:!0,forced:String(o)===String(o.reverse())},{reverse:function(){return r(this)&&(this.length=this.length),i.call(this)}})},47042:function(e,t,n){"use strict";var r=n(70111),i=n(43157),o=n(51400),a=n(17466),s=n(45656),u=n(86135),c=n(5112)("species"),l=[].slice,f=Math.max,d=n(81194)("slice");n(82109)({target:"Array",proto:!0,forced:!d},{slice:function(e,t){var n,d,p,h=s(this),g=a(h.length),m=o(e,g),y=o(void 0===t?g:t,g);if(i(h)&&("function"!=typeof(n=h.constructor)||n!==Array&&!i(n.prototype)?r(n)&&null===(n=n[c])&&(n=void 0):n=void 0,n===Array||void 0===n))return l.call(h,m,y);for(d=new(void 0===n?Array:n)(f(y-m,0)),p=0;m<y;m++,p++)m in h&&u(d,p,h[m]);return d.length=p,d}})},2707:function(e,t,n){"use strict";var r=n(13099),i=n(47908),o=n(47293),a=[].sort,s=[1,2,3],u=o((function(){s.sort(void 0)})),c=o((function(){s.sort(null)})),l=n(36637)("sort"),f=u||!c||l;n(82109)({target:"Array",proto:!0,forced:f},{sort:function(e){return void 0===e?a.call(i(this)):a.call(i(this),r(e))}})},38706:function(e,t,n){n(96340)("Array")},40561:function(e,t,n){"use strict";var r=n(51400),i=n(99958),o=n(17466),a=n(47908),s=n(65417),u=n(86135),c=Math.max,l=Math.min,f=9007199254740991,d="Maximum allowed length exceeded",p=n(81194)("splice");n(82109)({target:"Array",proto:!0,forced:!p},{splice:function(e,t){var n,p,h,g,m,y,v=a(this),b=o(v.length),_=r(e,b),w=arguments.length;if(0===w?n=p=0:1===w?(n=0,p=b-_):(n=w-2,p=l(c(i(t),0),b-_)),b+n-p>f)throw TypeError(d);for(h=s(v,p),g=0;g<p;g++)(m=_+g)in v&&u(h,g,v[m]);if(h.length=p,n<p){for(g=_;g<b-p;g++)y=g+n,(m=g+p)in v?v[y]=v[m]:delete v[y];for(g=b;g>b-p+n;g--)delete v[g-1]}else if(n>p)for(g=b-p;g>_;g--)y=g+n-1,(m=g+p-1)in v?v[y]=v[m]:delete v[y];for(g=0;g<n;g++)v[g+_]=arguments[g+2];return v.length=b-p+n,h}})},99244:function(e,t,n){n(51223)("flatMap")},33792:function(e,t,n){n(51223)("flat")},96078:function(e,t,n){var r=n(95185),i=n(5112)("toPrimitive"),o=n(38709),a=Date.prototype;i in a||r(a,i,o)},4855:function(e,t,n){"use strict";var r=n(70111),i=n(3070),o=n(79518),a=n(5112)("hasInstance"),s=Function.prototype;a in s||i.f(s,a,{value:function(e){if("function"!=typeof this||!r(e))return!1;if(!r(this.prototype))return e instanceof this;for(;e=o(e);)if(this.prototype===e)return!0;return!1}})},68309:function(e,t,n){var r=n(19781),i=n(3070).f,o=Function.prototype,a=o.toString,s=/^\s*function ([^ (]*)/,u="name";r&&!(u in o)&&i(o,u,{configurable:!0,get:function(){try{return a.call(this).match(s)[1]}catch(e){return""}}})},73706:function(e,t,n){n(58003)(n(17854).JSON,"JSON",!0)},51532:function(e,t,n){"use strict";e.exports=n(77710)("Map",(function(e){return function(){return e(this,arguments.length>0?arguments[0]:void 0)}}),n(95631),!0)},99752:function(e,t,n){var r=n(26513),i=Math.acosh,o=Math.log,a=Math.sqrt,s=Math.LN2,u=!i||710!=Math.floor(i(Number.MAX_VALUE))||i(1/0)!=1/0;n(82109)({target:"Math",stat:!0,forced:u},{acosh:function(e){return(e=+e)<1?NaN:e>94906265.62425156?o(e)+s:r(e-1+a(e-1)*a(e+1))}})},82376:function(e,t,n){var r=Math.asinh,i=Math.log,o=Math.sqrt;n(82109)({target:"Math",stat:!0,forced:!(r&&1/r(0)>0)},{asinh:function e(t){return isFinite(t=+t)&&0!=t?t<0?-e(-t):i(t+o(t*t+1)):t}})},73181:function(e,t,n){var r=Math.atanh,i=Math.log;n(82109)({target:"Math",stat:!0,forced:!(r&&1/r(-0)<0)},{atanh:function(e){return 0==(e=+e)?e:i((1+e)/(1-e))/2}})},23484:function(e,t,n){var r=n(64310),i=Math.abs,o=Math.pow;n(82109)({target:"Math",stat:!0},{cbrt:function(e){return r(e=+e)*o(i(e),1/3)}})},2388:function(e,t,n){var r=Math.floor,i=Math.log,o=Math.LOG2E;n(82109)({target:"Math",stat:!0},{clz32:function(e){return(e>>>=0)?31-r(i(e+.5)*o):32}})},88621:function(e,t,n){var r=n(66736),i=Math.cosh,o=Math.abs,a=Math.E;n(82109)({target:"Math",stat:!0,forced:!i||i(710)===1/0},{cosh:function(e){var t=r(o(e)-1)+1;return(t+1/(t*a*a))*(a/2)}})},60403:function(e,t,n){var r=n(66736);n(82109)({target:"Math",stat:!0,forced:r!=Math.expm1},{expm1:r})},84755:function(e,t,n){n(82109)({target:"Math",stat:!0},{fround:n(26130)})},25438:function(e,t,n){var r=Math.abs,i=Math.sqrt;n(82109)({target:"Math",stat:!0},{hypot:function(e,t){for(var n,o,a=0,s=0,u=arguments.length,c=0;s<u;)c<(n=r(arguments[s++]))?(a=a*(o=c/n)*o+1,c=n):a+=n>0?(o=n/c)*o:n;return c===1/0?1/0:c*i(a)}})},90332:function(e,t,n){var r=Math.imul,i=n(47293)((function(){return-5!=r(4294967295,5)||2!=r.length}));n(82109)({target:"Math",stat:!0,forced:i},{imul:function(e,t){var n=65535,r=+e,i=+t,o=n&r,a=n&i;return 0|o*a+((n&r>>>16)*a+o*(n&i>>>16)<<16>>>0)}})},40658:function(e,t,n){var r=Math.log,i=Math.LOG10E;n(82109)({target:"Math",stat:!0},{log10:function(e){return r(e)*i}})},40197:function(e,t,n){n(82109)({target:"Math",stat:!0},{log1p:n(26513)})},44914:function(e,t,n){var r=Math.log,i=Math.LN2;n(82109)({target:"Math",stat:!0},{log2:function(e){return r(e)/i}})},52420:function(e,t,n){n(82109)({target:"Math",stat:!0},{sign:n(64310)})},60160:function(e,t,n){var r=n(66736),i=Math.abs,o=Math.exp,a=Math.E,s=n(47293)((function(){return-2e-17!=Math.sinh(-2e-17)}));n(82109)({target:"Math",stat:!0,forced:s},{sinh:function(e){return i(e=+e)<1?(r(e)-r(-e))/2:(o(e-1)-o(-e-1))*(a/2)}})},60970:function(e,t,n){var r=n(66736),i=Math.exp;n(82109)({target:"Math",stat:!0},{tanh:function(e){var t=r(e=+e),n=r(-e);return t==1/0?1:n==1/0?-1:(t-n)/(i(e)+i(-e))}})},10408:function(e,t,n){n(58003)(Math,"Math",!0)},73689:function(e,t,n){var r=Math.ceil,i=Math.floor;n(82109)({target:"Math",stat:!0},{trunc:function(e){return(e>0?i:r)(e)}})},9653:function(e,t,n){"use strict";var r=n(17854),i=n(54705),o=n(86656),a=n(84326),s=n(79587),u=n(57593),c=n(47293),l=n(8006).f,f=n(31236).f,d=n(3070).f,p=n(53111),h="Number",g=r.Number,m=g.prototype,y=a(n(70030)(m))==h,v="trim"in String.prototype,b=function(e){var t,n,r,i,o,a,s,c,l=u(e,!1);if("string"==typeof l&&l.length>2)if(43===(t=(l=v?l.trim():p(l,3)).charCodeAt(0))||45===t){if(88===(n=l.charCodeAt(2))||120===n)return NaN}else if(48===t){switch(l.charCodeAt(1)){case 66:case 98:r=2,i=49;break;case 79:case 111:r=8,i=55;break;default:return+l}for(a=(o=l.slice(2)).length,s=0;s<a;s++)if((c=o.charCodeAt(s))<48||c>i)return NaN;return parseInt(o,r)}return+l};if(i(h,!g(" 0o1")||!g("0b1")||g("+0x1"))){for(var _,w=function(e){var t=arguments.length<1?0:e,n=this;return n instanceof w&&(y?c((function(){m.valueOf.call(n)})):a(n)!=h)?s(new g(b(t)),n,w):b(t)},T=n(19781)?l(g):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),x=0;T.length>x;x++)o(g,_=T[x])&&!o(w,_)&&d(w,_,f(g,_));w.prototype=m,m.constructor=w,n(31320)(r,h,w)}},93299:function(e,t,n){n(82109)({target:"Number",stat:!0},{EPSILON:Math.pow(2,-52)})},35192:function(e,t,n){n(82109)({target:"Number",stat:!0},{isFinite:n(77023)})},33161:function(e,t,n){n(82109)({target:"Number",stat:!0},{isInteger:n(18730)})},44048:function(e,t,n){n(82109)({target:"Number",stat:!0},{isNaN:function(e){return e!=e}})},78285:function(e,t,n){var r=n(18730),i=Math.abs;n(82109)({target:"Number",stat:!0},{isSafeInteger:function(e){return r(e)&&i(e)<=9007199254740991}})},44363:function(e,t,n){n(82109)({target:"Number",stat:!0},{MAX_SAFE_INTEGER:9007199254740991})},55994:function(e,t,n){n(82109)({target:"Number",stat:!0},{MIN_SAFE_INTEGER:-9007199254740991})},61874:function(e,t,n){var r=n(3677);n(82109)({target:"Number",stat:!0,forced:Number.parseFloat!=r},{parseFloat:r})},9494:function(e,t,n){var r=n(88620);n(82109)({target:"Number",stat:!0,forced:Number.parseInt!=r},{parseInt:r})},56977:function(e,t,n){"use strict";var r=n(99958),i=n(50863),o=n(38415),a=1..toFixed,s=Math.floor,u=[0,0,0,0,0,0],c=function(e,t){for(var n=-1,r=t;++n<6;)r+=e*u[n],u[n]=r%1e7,r=s(r/1e7)},l=function(e){for(var t=6,n=0;--t>=0;)n+=u[t],u[t]=s(n/e),n=n%e*1e7},f=function(){for(var e=6,t="";--e>=0;)if(""!==t||0===e||0!==u[e]){var n=String(u[e]);t=""===t?n:t+o.call("0",7-n.length)+n}return t},d=function(e,t,n){return 0===t?n:t%2==1?d(e,t-1,n*e):d(e*e,t/2,n)};n(82109)({target:"Number",proto:!0,forced:a&&("0.000"!==8e-5.toFixed(3)||"1"!==.9.toFixed(0)||"1.25"!==1.255.toFixed(2)||"1000000000000000128"!==(0xde0b6b3a7640080).toFixed(0))||!n(47293)((function(){a.call({})}))},{toFixed:function(e){var t,n,a,s,u=i(this),p=r(e),h="",g="0";if(p<0||p>20)throw RangeError("Incorrect fraction digits");if(u!=u)return"NaN";if(u<=-1e21||u>=1e21)return String(u);if(u<0&&(h="-",u=-u),u>1e-21)if(t=function(e){for(var t=0,n=e;n>=4096;)t+=12,n/=4096;for(;n>=2;)t+=1,n/=2;return t}(u*d(2,69,1))-69,n=t<0?u*d(2,-t,1):u/d(2,t,1),n*=4503599627370496,(t=52-t)>0){for(c(0,n),a=p;a>=7;)c(1e7,0),a-=7;for(c(d(10,a,1),0),a=t-1;a>=23;)l(1<<23),a-=23;l(1<<a),c(1,1),l(2),g=f()}else c(0,n),c(1<<-t,0),g=f()+o.call("0",p);return g=p>0?h+((s=g.length)<=p?"0."+o.call("0",p-s)+g:g.slice(0,s-p)+"."+g.slice(s-p)):h+g}})},19601:function(e,t,n){var r=n(21574);n(82109)({target:"Object",stat:!0,forced:Object.assign!==r},{assign:r})},59595:function(e,t,n){"use strict";var r=n(47908),i=n(13099),o=n(3070),a=n(41301);n(19781)&&n(82109)({target:"Object",proto:!0,forced:a},{__defineGetter__:function(e,t){o.f(r(this),e,{get:i(t),enumerable:!0,configurable:!0})}})},35500:function(e,t,n){"use strict";var r=n(47908),i=n(13099),o=n(3070),a=n(41301);n(19781)&&n(82109)({target:"Object",proto:!0,forced:a},{__defineSetter__:function(e,t){o.f(r(this),e,{set:i(t),enumerable:!0,configurable:!0})}})},69720:function(e,t,n){var r=n(44699);n(82109)({target:"Object",stat:!0},{entries:function(e){return r(e,!0)}})},43371:function(e,t,n){var r=n(70111),i=n(62423).onFreeze,o=Object.freeze,a=n(76677),s=n(47293)((function(){o(1)}));n(82109)({target:"Object",stat:!0,forced:s,sham:!a},{freeze:function(e){return o&&r(e)?o(i(e)):e}})},38559:function(e,t,n){var r=n(20408),i=n(86135);n(82109)({target:"Object",stat:!0},{fromEntries:function(e){var t={};return r(e,(function(e,n){i(t,e,n)}),void 0,!0),t}})},38880:function(e,t,n){var r=n(45656),i=n(31236).f,o=n(19781),a=n(47293)((function(){i(1)})),s=!o||a;n(82109)({target:"Object",stat:!0,forced:s,sham:!o},{getOwnPropertyDescriptor:function(e,t){return i(r(e),t)}})},49337:function(e,t,n){var r=n(19781),i=n(53887),o=n(45656),a=n(31236),s=n(86135);n(82109)({target:"Object",stat:!0,sham:!r},{getOwnPropertyDescriptors:function(e){for(var t,n,r=o(e),u=a.f,c=i(r),l={},f=0;c.length>f;)void 0!==(n=u(r,t=c[f++]))&&s(l,t,n);return l}})},36210:function(e,t,n){var r=n(1156).f,i=n(47293)((function(){Object.getOwnPropertyNames(1)}));n(82109)({target:"Object",stat:!0,forced:i},{getOwnPropertyNames:r})},30489:function(e,t,n){var r=n(47908),i=n(79518),o=n(49920),a=n(47293)((function(){i(1)}));n(82109)({target:"Object",stat:!0,forced:a,sham:!o},{getPrototypeOf:function(e){return i(r(e))}})},41825:function(e,t,n){var r=n(70111),i=Object.isExtensible,o=n(47293)((function(){i(1)}));n(82109)({target:"Object",stat:!0,forced:o},{isExtensible:function(e){return!!r(e)&&(!i||i(e))}})},98410:function(e,t,n){var r=n(70111),i=Object.isFrozen,o=n(47293)((function(){i(1)}));n(82109)({target:"Object",stat:!0,forced:o},{isFrozen:function(e){return!r(e)||!!i&&i(e)}})},72200:function(e,t,n){var r=n(70111),i=Object.isSealed,o=n(47293)((function(){i(1)}));n(82109)({target:"Object",stat:!0,forced:o},{isSealed:function(e){return!r(e)||!!i&&i(e)}})},43304:function(e,t,n){n(82109)({target:"Object",stat:!0},{is:n(81150)})},47941:function(e,t,n){var r=n(47908),i=n(81956),o=n(47293)((function(){i(1)}));n(82109)({target:"Object",stat:!0,forced:o},{keys:function(e){return i(r(e))}})},94869:function(e,t,n){"use strict";var r=n(47908),i=n(57593),o=n(79518),a=n(31236).f,s=n(41301);n(19781)&&n(82109)({target:"Object",proto:!0,forced:s},{__lookupGetter__:function(e){var t,n=r(this),s=i(e,!0);do{if(t=a(n,s))return t.get}while(n=o(n))}})},33952:function(e,t,n){"use strict";var r=n(47908),i=n(57593),o=n(79518),a=n(31236).f,s=n(41301);n(19781)&&n(82109)({target:"Object",proto:!0,forced:s},{__lookupSetter__:function(e){var t,n=r(this),s=i(e,!0);do{if(t=a(n,s))return t.set}while(n=o(n))}})},57227:function(e,t,n){var r=n(70111),i=n(62423).onFreeze,o=Object.preventExtensions,a=n(76677),s=n(47293)((function(){o(1)}));n(82109)({target:"Object",stat:!0,forced:s,sham:!a},{preventExtensions:function(e){return o&&r(e)?o(i(e)):e}})},60514:function(e,t,n){var r=n(70111),i=n(62423).onFreeze,o=Object.seal,a=n(76677),s=n(47293)((function(){o(1)}));n(82109)({target:"Object",stat:!0,forced:s,sham:!a},{seal:function(e){return o&&r(e)?o(i(e)):e}})},41539:function(e,t,n){var r=n(90288),i=Object.prototype;r!==i.toString&&n(31320)(i,"toString",r,{unsafe:!0})},26833:function(e,t,n){var r=n(44699);n(82109)({target:"Object",stat:!0},{values:function(e){return r(e)}})},17727:function(e,t,n){"use strict";var r=n(35005),i=n(36707),o=n(69478);n(82109)({target:"Promise",proto:!0,real:!0},{finally:function(e){var t=i(this,r("Promise")),n="function"==typeof e;return this.then(n?function(n){return o(t,e()).then((function(){return n}))}:e,n?function(n){return o(t,e()).then((function(){throw n}))}:e)}})},88674:function(e,t,n){"use strict";var r,i,o,a="Promise",s=n(31913),u=n(17854),c=n(82109),l=n(70111),f=n(13099),d=n(25787),p=n(84326),h=n(20408),g=n(17072),m=n(36707),y=n(20261).set,v=n(95948),b=n(69478),_=n(842),w=n(78523),T=n(12534),x=n(20227),S=n(5112)("species"),k=n(29909),E=n(54705),O=k.get,C=k.set,L=k.getterFor(a),A=u.Promise,I=u.TypeError,P=u.document,M=u.process,R=u.fetch,j=M&&M.versions,D=j&&j.v8||"",N=w.f,B=N,U="process"==p(M),F=!!(P&&P.createEvent&&u.dispatchEvent),z="unhandledrejection",H=E(a,(function(){var e=A.resolve(1),t=function(){},n=(e.constructor={})[S]=function(e){e(t,t)};return!((U||"function"==typeof PromiseRejectionEvent)&&(!s||e.finally)&&e.then(t)instanceof n&&0!==D.indexOf("6.6")&&-1===x.indexOf("Chrome/66"))})),Z=H||!g((function(e){A.all(e).catch((function(){}))})),q=function(e){var t;return!(!l(e)||"function"!=typeof(t=e.then))&&t},V=function(e,t,n){if(!t.notified){t.notified=!0;var r=t.reactions;v((function(){for(var i=t.value,o=1==t.state,a=0,s=function(n){var r,a,s,u=o?n.ok:n.fail,c=n.resolve,l=n.reject,f=n.domain;try{u?(o||(2===t.rejection&&Y(e,t),t.rejection=1),!0===u?r=i:(f&&f.enter(),r=u(i),f&&(f.exit(),s=!0)),r===n.promise?l(I("Promise-chain cycle")):(a=q(r))?a.call(r,c,l):c(r)):l(i)}catch(e){f&&!s&&f.exit(),l(e)}};r.length>a;)s(r[a++]);t.reactions=[],t.notified=!1,n&&!t.rejection&&G(e,t)}))}},W=function(e,t,n){var r,i;F?((r=P.createEvent("Event")).promise=t,r.reason=n,r.initEvent(e,!1,!0),u.dispatchEvent(r)):r={promise:t,reason:n},(i=u["on"+e])?i(r):e===z&&_("Unhandled promise rejection",n)},G=function(e,t){y.call(u,(function(){var n,r=t.value;if($(t)&&(n=T((function(){U?M.emit("unhandledRejection",r,e):W(z,e,r)})),t.rejection=U||$(t)?2:1,n.error))throw n.value}))},$=function(e){return 1!==e.rejection&&!e.parent},Y=function(e,t){y.call(u,(function(){U?M.emit("rejectionHandled",e):W("rejectionhandled",e,t.value)}))},K=function(e,t,n,r){return function(i){e(t,n,i,r)}},X=function(e,t,n,r){t.done||(t.done=!0,r&&(t=r),t.value=n,t.state=2,V(e,t,!0))},Q=function(e,t,n,r){if(!t.done){t.done=!0,r&&(t=r);try{if(e===n)throw I("Promise can't be resolved itself");var i=q(n);i?v((function(){var r={done:!1};try{i.call(n,K(Q,e,r,t),K(X,e,r,t))}catch(n){X(e,r,n,t)}})):(t.value=n,t.state=1,V(e,t,!1))}catch(n){X(e,{done:!1},n,t)}}};H&&(A=function(e){d(this,A,a),f(e),r.call(this);var t=O(this);try{e(K(Q,this,t),K(X,this,t))}catch(e){X(this,t,e)}},(r=function(e){C(this,{type:a,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=n(12248)(A.prototype,{then:function(e,t){var n=L(this),r=N(m(this,A));return r.ok="function"!=typeof e||e,r.fail="function"==typeof t&&t,r.domain=U?M.domain:void 0,n.parent=!0,n.reactions.push(r),0!=n.state&&V(this,n,!1),r.promise},catch:function(e){return this.then(void 0,e)}}),i=function(){var e=new r,t=O(e);this.promise=e,this.resolve=K(Q,e,t),this.reject=K(X,e,t)},w.f=N=function(e){return e===A||e===o?new i(e):B(e)},s||"function"!=typeof R||c({global:!0,enumerable:!0,forced:!0},{fetch:function(e){return b(A,R.apply(u,arguments))}})),c({global:!0,wrap:!0,forced:H},{Promise:A}),n(58003)(A,a,!1,!0),n(96340)(a),o=n(40857).Promise,c({target:a,stat:!0,forced:H},{reject:function(e){var t=N(this);return t.reject.call(void 0,e),t.promise}}),c({target:a,stat:!0,forced:s||H},{resolve:function(e){return b(s&&this===o?A:this,e)}}),c({target:a,stat:!0,forced:Z},{all:function(e){var t=this,n=N(t),r=n.resolve,i=n.reject,o=T((function(){var n=[],o=0,a=1;h(e,(function(e){var s=o++,u=!1;n.push(void 0),a++,t.resolve(e).then((function(e){u||(u=!0,n[s]=e,--a||r(n))}),i)})),--a||r(n)}));return o.error&&i(o.value),n.promise},race:function(e){var t=this,n=N(t),r=n.reject,i=T((function(){h(e,(function(e){t.resolve(e).then(n.resolve,r)}))}));return i.error&&r(i.value),n.promise}})},36535:function(e,t,n){var r=n(13099),i=n(19670),o=(n(17854).Reflect||{}).apply,a=Function.apply,s=!n(47293)((function(){o((function(){}))}));n(82109)({target:"Reflect",stat:!0,forced:s},{apply:function(e,t,n){return r(e),i(n),o?o(e,t,n):a.call(e,t,n)}})},12419:function(e,t,n){var r=n(70030),i=n(13099),o=n(19670),a=n(70111),s=n(47293),u=n(27065),c=(n(17854).Reflect||{}).construct,l=s((function(){function e(){}return!(c((function(){}),[],e)instanceof e)})),f=!s((function(){c((function(){}))})),d=l||f;n(82109)({target:"Reflect",stat:!0,forced:d,sham:d},{construct:function(e,t){i(e),o(t);var n=arguments.length<3?e:i(arguments[2]);if(f&&!l)return c(e,t,n);if(e==n){switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3])}var s=[null];return s.push.apply(s,t),new(u.apply(e,s))}var d=n.prototype,p=r(a(d)?d:Object.prototype),h=Function.apply.call(e,p,t);return a(h)?h:p}})},69596:function(e,t,n){var r=n(3070),i=n(19670),o=n(57593),a=n(19781),s=n(47293)((function(){Reflect.defineProperty(r.f({},1,{value:1}),1,{value:2})}));n(82109)({target:"Reflect",stat:!0,forced:s,sham:!a},{defineProperty:function(e,t,n){i(e),t=o(t,!0),i(n);try{return r.f(e,t,n),!0}catch(e){return!1}}})},52586:function(e,t,n){var r=n(31236).f,i=n(19670);n(82109)({target:"Reflect",stat:!0},{deleteProperty:function(e,t){var n=r(i(e),t);return!(n&&!n.configurable)&&delete e[t]}})},95683:function(e,t,n){var r=n(31236),i=n(19670),o=n(19781);n(82109)({target:"Reflect",stat:!0,sham:!o},{getOwnPropertyDescriptor:function(e,t){return r.f(i(e),t)}})},39361:function(e,t,n){var r=n(79518),i=n(19670),o=n(49920);n(82109)({target:"Reflect",stat:!0,sham:!o},{getPrototypeOf:function(e){return r(i(e))}})},74819:function(e,t,n){var r=n(31236),i=n(79518),o=n(86656),a=n(70111),s=n(19670);n(82109)({target:"Reflect",stat:!0},{get:function e(t,n){var u,c,l=arguments.length<3?t:arguments[2];return s(t)===l?t[n]:(u=r.f(t,n))?o(u,"value")?u.value:void 0===u.get?void 0:u.get.call(l):a(c=i(t))?e(c,n,l):void 0}})},51037:function(e,t,n){n(82109)({target:"Reflect",stat:!0},{has:function(e,t){return t in e}})},5898:function(e,t,n){var r=n(19670),i=Object.isExtensible;n(82109)({target:"Reflect",stat:!0},{isExtensible:function(e){return r(e),!i||i(e)}})},67556:function(e,t,n){n(82109)({target:"Reflect",stat:!0},{ownKeys:n(53887)})},14361:function(e,t,n){var r=n(35005),i=n(19670),o=n(76677);n(82109)({target:"Reflect",stat:!0,sham:!o},{preventExtensions:function(e){i(e);try{var t=r("Object","preventExtensions");return t&&t(e),!0}catch(e){return!1}}})},39532:function(e,t,n){var r=n(27674),i=n(99475);r&&n(82109)({target:"Reflect",stat:!0},{setPrototypeOf:function(e,t){i(e,t);try{return r(e,t),!0}catch(e){return!1}}})},83593:function(e,t,n){var r=n(3070),i=n(31236),o=n(79518),a=n(86656),s=n(79114),u=n(19670),c=n(70111);n(82109)({target:"Reflect",stat:!0},{set:function e(t,n,l){var f,d,p=arguments.length<4?t:arguments[3],h=i.f(u(t),n);if(!h){if(c(d=o(t)))return e(d,n,l,p);h=s(0)}if(a(h,"value")){if(!1===h.writable||!c(p))return!1;if(f=i.f(p,n)){if(f.get||f.set||!1===f.writable)return!1;f.value=l,r.f(p,n,f)}else r.f(p,n,s(0,l));return!0}return void 0!==h.set&&(h.set.call(p,l),!0)}})},24603:function(e,t,n){var r=n(19781),i=n(5112)("match"),o=n(17854),a=n(54705),s=n(79587),u=n(3070).f,c=n(8006).f,l=n(47850),f=n(67066),d=n(31320),p=n(47293),h=o.RegExp,g=h.prototype,m=/a/g,y=/a/g,v=new h(m)!==m;if(a("RegExp",r&&(!v||p((function(){return y[i]=!1,h(m)!=m||h(y)==y||"/a/i"!=h(m,"i")}))))){for(var b=function(e,t){var n=this instanceof b,r=l(e),i=void 0===t;return!n&&r&&e.constructor===b&&i?e:s(v?new h(r&&!i?e.source:e,t):h((r=e instanceof b)?e.source:e,r&&i?f.call(e):t),n?this:g,b)},_=function(e){e in b||u(b,e,{configurable:!0,get:function(){return h[e]},set:function(t){h[e]=t}})},w=c(h),T=0;T<w.length;)_(w[T++]);g.constructor=b,b.prototype=g,d(o,"RegExp",b)}n(96340)("RegExp")},74916:function(e,t,n){"use strict";var r=n(22261);n(82109)({target:"RegExp",proto:!0,forced:/./.exec!==r},{exec:r})},92087:function(e,t,n){n(19781)&&"g"!=/./g.flags&&n(3070).f(RegExp.prototype,"flags",{configurable:!0,get:n(67066)})},39714:function(e,t,n){"use strict";var r=n(19670),i=n(47293),o=n(67066),a=n(19781),s="toString",u=/./.toString,c=i((function(){return"/a/b"!=u.call({source:"a",flags:"b"})})),l=u.name!=s;(c||l)&&n(31320)(RegExp.prototype,s,(function(){var e=r(this);return"/".concat(e.source,"/","flags"in e?e.flags:!a&&e instanceof RegExp?o.call(e):void 0)}),{unsafe:!0})},70189:function(e,t,n){"use strict";e.exports=n(77710)("Set",(function(e){return function(){return e(this,arguments.length>0?arguments[0]:void 0)}}),n(95631))},15218:function(e,t,n){"use strict";var r=n(14230),i=n(12098)("anchor");n(82109)({target:"String",proto:!0,forced:i},{anchor:function(e){return r(this,"a","name",e)}})},74475:function(e,t,n){"use strict";var r=n(14230),i=n(12098)("big");n(82109)({target:"String",proto:!0,forced:i},{big:function(){return r(this,"big","","")}})},57929:function(e,t,n){"use strict";var r=n(14230),i=n(12098)("blink");n(82109)({target:"String",proto:!0,forced:i},{blink:function(){return r(this,"blink","","")}})},50915:function(e,t,n){"use strict";var r=n(14230),i=n(12098)("bold");n(82109)({target:"String",proto:!0,forced:i},{bold:function(){return r(this,"b","","")}})},79841:function(e,t,n){"use strict";var r=n(95866);n(82109)({target:"String",proto:!0},{codePointAt:function(e){return r(this,e)}})},27852:function(e,t,n){"use strict";var r=n(17466),i=n(28468),o="endsWith",a="".endsWith,s=Math.min,u=n(84964)(o);n(82109)({target:"String",proto:!0,forced:!u},{endsWith:function(e){var t=i(this,e,o),n=arguments.length>1?arguments[1]:void 0,u=r(t.length),c=void 0===n?u:s(r(n),u),l=String(e);return a?a.call(t,l,c):t.slice(c-l.length,c)===l}})},29253:function(e,t,n){"use strict";var r=n(14230),i=n(12098)("fixed");n(82109)({target:"String",proto:!0,forced:i},{fixed:function(){return r(this,"tt","","")}})},42125:function(e,t,n){"use strict";var r=n(14230),i=n(12098)("fontcolor");n(82109)({target:"String",proto:!0,forced:i},{fontcolor:function(e){return r(this,"font","color",e)}})},78830:function(e,t,n){"use strict";var r=n(14230),i=n(12098)("fontsize");n(82109)({target:"String",proto:!0,forced:i},{fontsize:function(e){return r(this,"font","size",e)}})},94953:function(e,t,n){var r=n(51400),i=String.fromCharCode,o=String.fromCodePoint,a=!!o&&1!=o.length;n(82109)({target:"String",stat:!0,forced:a},{fromCodePoint:function(e){for(var t,n=[],o=arguments.length,a=0;o>a;){if(t=+arguments[a++],r(t,1114111)!==t)throw RangeError(t+" is not a valid code point");n.push(t<65536?i(t):i(55296+((t-=65536)>>10),t%1024+56320))}return n.join("")}})},32023:function(e,t,n){"use strict";var r=n(28468),i="includes",o=n(84964)(i);n(82109)({target:"String",proto:!0,forced:!o},{includes:function(e){return!!~r(this,e,i).indexOf(e,arguments.length>1?arguments[1]:void 0)}})},58734:function(e,t,n){"use strict";var r=n(14230),i=n(12098)("italics");n(82109)({target:"String",proto:!0,forced:i},{italics:function(){return r(this,"i","","")}})},78783:function(e,t,n){"use strict";var r=n(95866),i=n(29909),o=n(70654),a="String Iterator",s=i.set,u=i.getterFor(a);o(String,"String",(function(e){s(this,{type:a,string:String(e),index:0})}),(function(){var e,t=u(this),n=t.string,i=t.index;return i>=n.length?{value:void 0,done:!0}:(e=r(n,i,!0),t.index+=e.length,{value:e,done:!1})}))},29254:function(e,t,n){"use strict";var r=n(14230),i=n(12098)("link");n(82109)({target:"String",proto:!0,forced:i},{link:function(e){return r(this,"a","href",e)}})},4723:function(e,t,n){"use strict";var r=n(19670),i=n(17466),o=n(84488),a=n(31530),s=n(97651);n(27007)("match",1,(function(e,t,n){return[function(t){var n=o(this),r=null==t?void 0:t[e];return void 0!==r?r.call(t,n):new RegExp(t)[e](String(n))},function(e){var o=n(t,e,this);if(o.done)return o.value;var u=r(e),c=String(this);if(!u.global)return s(u,c);var l=u.unicode;u.lastIndex=0;for(var f,d=[],p=0;null!==(f=s(u,c));){var h=String(f[0]);d[p]=h,""===h&&(u.lastIndex=a(c,i(u.lastIndex),l)),p++}return 0===p?null:d}]}))},66528:function(e,t,n){"use strict";var r=n(76650),i=n(27428);n(82109)({target:"String",proto:!0,forced:i},{padEnd:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0,!1)}})},83112:function(e,t,n){"use strict";var r=n(76650),i=n(27428);n(82109)({target:"String",proto:!0,forced:i},{padStart:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0,!0)}})},38992:function(e,t,n){var r=n(45656),i=n(17466);n(82109)({target:"String",stat:!0},{raw:function(e){for(var t=r(e.raw),n=i(t.length),o=arguments.length,a=[],s=0;n>s;)a.push(String(t[s++])),s<o&&a.push(String(arguments[s]));return a.join("")}})},82481:function(e,t,n){n(82109)({target:"String",proto:!0},{repeat:n(38415)})},15306:function(e,t,n){"use strict";var r=n(19670),i=n(47908),o=n(17466),a=n(99958),s=n(84488),u=n(31530),c=n(97651),l=Math.max,f=Math.min,d=Math.floor,p=/\$([$&`']|\d\d?|<[^>]*>)/g,h=/\$([$&`']|\d\d?)/g;n(27007)("replace",2,(function(e,t,n){return[function(n,r){var i=s(this),o=null==n?void 0:n[e];return void 0!==o?o.call(n,i,r):t.call(String(i),n,r)},function(e,i){var s=n(t,e,this,i);if(s.done)return s.value;var d=r(e),p=String(this),h="function"==typeof i;h||(i=String(i));var m=d.global;if(m){var y=d.unicode;d.lastIndex=0}for(var v=[];;){var b=c(d,p);if(null===b)break;if(v.push(b),!m)break;""===String(b[0])&&(d.lastIndex=u(p,o(d.lastIndex),y))}for(var _,w="",T=0,x=0;x<v.length;x++){b=v[x];for(var S=String(b[0]),k=l(f(a(b.index),p.length),0),E=[],O=1;O<b.length;O++)E.push(void 0===(_=b[O])?_:String(_));var C=b.groups;if(h){var L=[S].concat(E,k,p);void 0!==C&&L.push(C);var A=String(i.apply(void 0,L))}else A=g(S,p,k,E,C,i);k>=T&&(w+=p.slice(T,k)+A,T=k+S.length)}return w+p.slice(T)}];function g(e,n,r,o,a,s){var u=r+e.length,c=o.length,l=h;return void 0!==a&&(a=i(a),l=p),t.call(s,l,(function(t,i){var s;switch(i.charAt(0)){case"$":return"$";case"&":return e;case"`":return n.slice(0,r);case"'":return n.slice(u);case"<":s=a[i.slice(1,-1)];break;default:var l=+i;if(0===l)return t;if(l>c){var f=d(l/10);return 0===f?t:f<=c?void 0===o[f-1]?i.charAt(1):o[f-1]+i.charAt(1):t}s=o[l-1]}return void 0===s?"":s}))}}))},64765:function(e,t,n){"use strict";var r=n(19670),i=n(84488),o=n(81150),a=n(97651);n(27007)("search",1,(function(e,t,n){return[function(t){var n=i(this),r=null==t?void 0:t[e];return void 0!==r?r.call(t,n):new RegExp(t)[e](String(n))},function(e){var i=n(t,e,this);if(i.done)return i.value;var s=r(e),u=String(this),c=s.lastIndex;o(c,0)||(s.lastIndex=0);var l=a(s,u);return o(s.lastIndex,c)||(s.lastIndex=c),null===l?-1:l.index}]}))},37268:function(e,t,n){"use strict";var r=n(14230),i=n(12098)("small");n(82109)({target:"String",proto:!0,forced:i},{small:function(){return r(this,"small","","")}})},23123:function(e,t,n){"use strict";var r=n(47850),i=n(19670),o=n(84488),a=n(36707),s=n(31530),u=n(17466),c=n(97651),l=n(22261),f=n(47293),d=[].push,p=Math.min,h=4294967295,g=!f((function(){return!RegExp(h,"y")}));n(27007)("split",2,(function(e,t,n){var f;return f="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(e,n){var i=String(o(this)),a=void 0===n?h:n>>>0;if(0===a)return[];if(void 0===e)return[i];if(!r(e))return t.call(i,e,a);for(var s,u,c,f=[],p=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),g=0,m=new RegExp(e.source,p+"g");(s=l.call(m,i))&&!((u=m.lastIndex)>g&&(f.push(i.slice(g,s.index)),s.length>1&&s.index<i.length&&d.apply(f,s.slice(1)),c=s[0].length,g=u,f.length>=a));)m.lastIndex===s.index&&m.lastIndex++;return g===i.length?!c&&m.test("")||f.push(""):f.push(i.slice(g)),f.length>a?f.slice(0,a):f}:"0".split(void 0,0).length?function(e,n){return void 0===e&&0===n?[]:t.call(this,e,n)}:t,[function(t,n){var r=o(this),i=null==t?void 0:t[e];return void 0!==i?i.call(t,r,n):f.call(String(r),t,n)},function(e,r){var o=n(f,e,this,r,f!==t);if(o.done)return o.value;var l=i(e),d=String(this),m=a(l,RegExp),y=l.unicode,v=(l.ignoreCase?"i":"")+(l.multiline?"m":"")+(l.unicode?"u":"")+(g?"y":"g"),b=new m(g?l:"^(?:"+l.source+")",v),_=void 0===r?h:r>>>0;if(0===_)return[];if(0===d.length)return null===c(b,d)?[d]:[];for(var w=0,T=0,x=[];T<d.length;){b.lastIndex=g?T:0;var S,k=c(b,g?d:d.slice(T));if(null===k||(S=p(u(b.lastIndex+(g?0:T)),d.length))===w)T=s(d,T,y);else{if(x.push(d.slice(w,T)),x.length===_)return x;for(var E=1;E<=k.length-1;E++)if(x.push(k[E]),x.length===_)return x;T=w=S}}return x.push(d.slice(w)),x}]}),!g)},23157:function(e,t,n){"use strict";var r=n(17466),i=n(28468),o="startsWith",a=n(84964)(o),s="".startsWith;n(82109)({target:"String",proto:!0,forced:!a},{startsWith:function(e){var t=i(this,e,o),n=r(Math.min(arguments.length>1?arguments[1]:void 0,t.length)),a=String(e);return s?s.call(t,a,n):t.slice(n,n+a.length)===a}})},7397:function(e,t,n){"use strict";var r=n(14230),i=n(12098)("strike");n(82109)({target:"String",proto:!0,forced:i},{strike:function(){return r(this,"strike","","")}})},60086:function(e,t,n){"use strict";var r=n(14230),i=n(12098)("sub");n(82109)({target:"String",proto:!0,forced:i},{sub:function(){return r(this,"sub","","")}})},80623:function(e,t,n){"use strict";var r=n(14230),i=n(12098)("sup");n(82109)({target:"String",proto:!0,forced:i},{sup:function(){return r(this,"sup","","")}})},48702:function(e,t,n){"use strict";var r=n(53111),i=n(8711)("trimEnd"),o=i?function(){return r(this,2)}:"".trimEnd;n(82109)({target:"String",proto:!0,forced:i},{trimEnd:o,trimRight:o})},55674:function(e,t,n){"use strict";var r=n(53111),i=n(8711)("trimStart"),o=i?function(){return r(this,1)}:"".trimStart;n(82109)({target:"String",proto:!0,forced:i},{trimStart:o,trimLeft:o})},73210:function(e,t,n){"use strict";var r=n(53111),i=n(8711)("trim");n(82109)({target:"String",proto:!0,forced:i},{trim:function(){return r(this,3)}})},72443:function(e,t,n){n(97235)("asyncIterator")},41817:function(e,t,n){"use strict";var r=n(19781),i=n(86656),o=n(70111),a=n(3070).f,s=n(99920),u=n(17854).Symbol;if(r&&"function"==typeof u&&(!("description"in u.prototype)||void 0!==u().description)){var c={},l=function(){var e=arguments.length<1||void 0===arguments[0]?void 0:String(arguments[0]),t=this instanceof l?new u(e):void 0===e?u():u(e);return""===e&&(c[t]=!0),t};s(l,u);var f=l.prototype=u.prototype;f.constructor=l;var d=f.toString,p="Symbol(test)"==String(u("test")),h=/^Symbol\((.*)\)[^)]+$/;a(f,"description",{configurable:!0,get:function(){var e=o(this)?this.valueOf():this,t=d.call(e);if(i(c,e))return"";var n=p?t.slice(7,-1):t.replace(h,"$1");return""===n?void 0:n}}),n(82109)({global:!0,forced:!0},{Symbol:l})}},92401:function(e,t,n){n(97235)("hasInstance")},8722:function(e,t,n){n(97235)("isConcatSpreadable")},32165:function(e,t,n){n(97235)("iterator")},82526:function(e,t,n){"use strict";var r=n(17854),i=n(86656),o=n(19781),a=n(31913),s=n(82109),u=n(31320),c=n(3501),l=n(47293),f=n(72309),d=n(58003),p=n(69711),h=n(5112),g=n(96805),m=n(97235),y=n(6294),v=n(43157),b=n(19670),_=n(70111),w=n(45656),T=n(57593),x=n(79114),S=n(70030),k=n(1156),E=n(31236),O=n(3070),C=n(55296),L=n(95185),A=n(81956),I=n(6200)("hidden"),P=n(29909),M="Symbol",R=P.set,j=P.getterFor(M),D=E.f,N=O.f,B=k.f,U=r.Symbol,F=r.JSON,z=F&&F.stringify,H=h("toPrimitive"),Z=C.f,q=f("symbol-registry"),V=f("symbols"),W=f("op-symbols"),G=f("wks"),$=Object.prototype,Y=r.QObject,K=n(30133),X=!Y||!Y.prototype||!Y.prototype.findChild,Q=o&&l((function(){return 7!=S(N({},"a",{get:function(){return N(this,"a",{value:7}).a}})).a}))?function(e,t,n){var r=D($,t);r&&delete $[t],N(e,t,n),r&&e!==$&&N($,t,r)}:N,J=function(e,t){var n=V[e]=S(U.prototype);return R(n,{type:M,tag:e,description:t}),o||(n.description=t),n},ee=K&&"symbol"==typeof U.iterator?function(e){return"symbol"==typeof e}:function(e){return Object(e)instanceof U},te=function(e,t,n){return e===$&&te(W,t,n),b(e),t=T(t,!0),b(n),i(V,t)?(n.enumerable?(i(e,I)&&e[I][t]&&(e[I][t]=!1),n=S(n,{enumerable:x(0,!1)})):(i(e,I)||N(e,I,x(1,{})),e[I][t]=!0),Q(e,t,n)):N(e,t,n)},ne=function(e,t){b(e);for(var n,r=y(t=w(t)),i=0,o=r.length;o>i;)te(e,n=r[i++],t[n]);return e},re=function(e){var t=Z.call(this,e=T(e,!0));return!(this===$&&i(V,e)&&!i(W,e))&&(!(t||!i(this,e)||!i(V,e)||i(this,I)&&this[I][e])||t)},ie=function(e,t){if(e=w(e),t=T(t,!0),e!==$||!i(V,t)||i(W,t)){var n=D(e,t);return!n||!i(V,t)||i(e,I)&&e[I][t]||(n.enumerable=!0),n}},oe=function(e){for(var t,n=B(w(e)),r=[],o=0;n.length>o;)i(V,t=n[o++])||i(c,t)||r.push(t);return r},ae=function(e){for(var t,n=e===$,r=B(n?W:w(e)),o=[],a=0;r.length>a;)!i(V,t=r[a++])||n&&!i($,t)||o.push(V[t]);return o};K||(U=function(){if(this instanceof U)throw TypeError("Symbol is not a constructor");var e=void 0===arguments[0]?void 0:String(arguments[0]),t=p(e),n=function(e){this===$&&n.call(W,e),i(this,I)&&i(this[I],t)&&(this[I][t]=!1),Q(this,t,x(1,e))};return o&&X&&Q($,t,{configurable:!0,set:n}),J(t,e)},u(U.prototype,"toString",(function(){return j(this).tag})),C.f=re,O.f=te,E.f=ie,n(8006).f=k.f=oe,n(25181).f=ae,o&&(N(U.prototype,"description",{configurable:!0,get:function(){return j(this).description}}),a||u($,"propertyIsEnumerable",re,{unsafe:!0})),g.f=function(e){return J(h(e),e)}),s({global:!0,wrap:!0,forced:!K,sham:!K},{Symbol:U});for(var se=A(G),ue=0;se.length>ue;)m(se[ue++]);s({target:M,stat:!0,forced:!K},{for:function(e){return i(q,e+="")?q[e]:q[e]=U(e)},keyFor:function(e){if(!ee(e))throw TypeError(e+" is not a symbol");for(var t in q)if(q[t]===e)return t},useSetter:function(){X=!0},useSimple:function(){X=!1}}),s({target:"Object",stat:!0,forced:!K,sham:!o},{create:function(e,t){return void 0===t?S(e):ne(S(e),t)},defineProperty:te,defineProperties:ne,getOwnPropertyDescriptor:ie}),s({target:"Object",stat:!0,forced:!K},{getOwnPropertyNames:oe,getOwnPropertySymbols:ae}),F&&s({target:"JSON",stat:!0,forced:!K||l((function(){var e=U();return"[null]"!=z([e])||"{}"!=z({a:e})||"{}"!=z(Object(e))}))},{stringify:function(e){for(var t,n,r=[e],i=1;arguments.length>i;)r.push(arguments[i++]);if(n=t=r[1],(_(t)||void 0!==e)&&!ee(e))return v(t)||(t=function(e,t){if("function"==typeof n&&(t=n.call(this,e,t)),!ee(t))return t}),r[1]=t,z.apply(F,r)}}),U.prototype[H]||L(U.prototype,H,U.prototype.valueOf),d(U,M),c[I]=!0},69007:function(e,t,n){n(97235)("match")},83510:function(e,t,n){n(97235)("replace")},41840:function(e,t,n){n(97235)("search")},6982:function(e,t,n){n(97235)("species")},32159:function(e,t,n){n(97235)("split")},96649:function(e,t,n){n(97235)("toPrimitive")},39341:function(e,t,n){n(97235)("toStringTag")},60543:function(e,t,n){n(97235)("unscopables")},92990:function(e,t,n){"use strict";var r=n(1048),i=n(90260),o=i.aTypedArray;i.exportProto("copyWithin",(function(e,t){return r.call(o(this),e,t,arguments.length>2?arguments[2]:void 0)}))},18927:function(e,t,n){"use strict";var r=n(77550)(4),i=n(90260),o=i.aTypedArray;i.exportProto("every",(function(e){return r(o(this),e,arguments.length>1?arguments[1]:void 0)}))},33105:function(e,t,n){"use strict";var r=n(21285),i=n(90260),o=i.aTypedArray;i.exportProto("fill",(function(e){return r.apply(o(this),arguments)}))},35035:function(e,t,n){"use strict";var r=n(36707),i=n(90260),o=n(77550)(2),a=i.aTypedArray,s=i.aTypedArrayConstructor;i.exportProto("filter",(function(e){for(var t=o(a(this),e,arguments.length>1?arguments[1]:void 0),n=r(this,this.constructor),i=0,u=t.length,c=new(s(n))(u);u>i;)c[i]=t[i++];return c}))},7174:function(e,t,n){"use strict";var r=n(77550)(6),i=n(90260),o=i.aTypedArray;i.exportProto("findIndex",(function(e){return r(o(this),e,arguments.length>1?arguments[1]:void 0)}))},74345:function(e,t,n){"use strict";var r=n(77550)(5),i=n(90260),o=i.aTypedArray;i.exportProto("find",(function(e){return r(o(this),e,arguments.length>1?arguments[1]:void 0)}))},44197:function(e,t,n){n(19843)("Float32",4,(function(e){return function(t,n,r){return e(this,t,n,r)}}))},76495:function(e,t,n){n(19843)("Float64",8,(function(e){return function(t,n,r){return e(this,t,n,r)}}))},32846:function(e,t,n){"use strict";var r=n(77550)(0),i=n(90260),o=i.aTypedArray;i.exportProto("forEach",(function(e){r(o(this),e,arguments.length>1?arguments[1]:void 0)}))},98145:function(e,t,n){"use strict";var r=n(6500),i=n(90260),o=n(97321);i.exportStatic("from",o,r)},44731:function(e,t,n){"use strict";var r=n(41318)(!0),i=n(90260),o=i.aTypedArray;i.exportProto("includes",(function(e){return r(o(this),e,arguments.length>1?arguments[1]:void 0)}))},77209:function(e,t,n){"use strict";var r=n(41318)(!1),i=n(90260),o=i.aTypedArray;i.exportProto("indexOf",(function(e){return r(o(this),e,arguments.length>1?arguments[1]:void 0)}))},35109:function(e,t,n){n(19843)("Int16",2,(function(e){return function(t,n,r){return e(this,t,n,r)}}))},65125:function(e,t,n){n(19843)("Int32",4,(function(e){return function(t,n,r){return e(this,t,n,r)}}))},87145:function(e,t,n){n(19843)("Int8",1,(function(e){return function(t,n,r){return e(this,t,n,r)}}))},96319:function(e,t,n){"use strict";var r=n(66992),i=n(17854).Uint8Array,o=n(90260),a=n(5112)("iterator"),s=r.values,u=r.keys,c=r.entries,l=o.aTypedArray,f=o.exportProto,d=i&&i.prototype[a],p=!!d&&("values"==d.name||null==d.name),h=function(){return s.call(l(this))};f("entries",(function(){return c.call(l(this))})),f("keys",(function(){return u.call(l(this))})),f("values",h,!p),f(a,h,!p)},58867:function(e,t,n){"use strict";var r=n(90260),i=r.aTypedArray,o=[].join;r.exportProto("join",(function(e){return o.apply(i(this),arguments)}))},37789:function(e,t,n){"use strict";var r=n(86583),i=n(90260),o=i.aTypedArray;i.exportProto("lastIndexOf",(function(e){return r.apply(o(this),arguments)}))},33739:function(e,t,n){"use strict";var r=n(36707),i=n(90260),o=i.aTypedArray,a=i.aTypedArrayConstructor,s=n(77550)(1,(function(e,t){return new(a(r(e,e.constructor)))(t)}));i.exportProto("map",(function(e){return s(o(this),e,arguments.length>1?arguments[1]:void 0)}))},95206:function(e,t,n){"use strict";var r=n(6500),i=n(90260),o=i.aTypedArrayConstructor;i.exportStatic("of",(function(){for(var e=0,t=arguments.length,n=new(o(this))(t);t>e;)n[e]=arguments[e++];return n}),r)},14483:function(e,t,n){"use strict";var r=n(90260),i=r.aTypedArray,o=[].reduceRight;r.exportProto("reduceRight",(function(e){return o.apply(i(this),arguments)}))},29368:function(e,t,n){"use strict";var r=n(90260),i=r.aTypedArray,o=[].reduce;r.exportProto("reduce",(function(e){return o.apply(i(this),arguments)}))},12056:function(e,t,n){"use strict";var r=n(90260),i=r.aTypedArray;r.exportProto("reverse",(function(){for(var e,t=this,n=i(t).length,r=Math.floor(n/2),o=0;o<r;)e=t[o],t[o++]=t[--n],t[n]=e;return t}))},3462:function(e,t,n){"use strict";var r=n(17466),i=n(84590),o=n(47908),a=n(90260),s=a.aTypedArray,u=n(47293)((function(){new Int8Array(1).set({})}));a.exportProto("set",(function(e){s(this);var t=i(arguments[1],1),n=this.length,a=o(e),u=r(a.length),c=0;if(u+t>n)throw RangeError("Wrong length");for(;c<u;)this[t+c]=a[c++]}),u)},30678:function(e,t,n){"use strict";var r=n(36707),i=n(90260),o=i.aTypedArray,a=i.aTypedArrayConstructor,s=[].slice,u=n(47293)((function(){new Int8Array(1).slice()}));i.exportProto("slice",(function(e,t){for(var n=s.call(o(this),e,t),i=r(this,this.constructor),u=0,c=n.length,l=new(a(i))(c);c>u;)l[u]=n[u++];return l}),u)},27462:function(e,t,n){"use strict";var r=n(77550)(3),i=n(90260),o=i.aTypedArray;i.exportProto("some",(function(e){return r(o(this),e,arguments.length>1?arguments[1]:void 0)}))},33824:function(e,t,n){"use strict";var r=n(90260),i=r.aTypedArray,o=[].sort;r.exportProto("sort",(function(e){return o.call(i(this),e)}))},55021:function(e,t,n){"use strict";var r=n(17466),i=n(51400),o=n(36707),a=n(90260),s=a.aTypedArray;a.exportProto("subarray",(function(e,t){var n=s(this),a=n.length,u=i(e,a);return new(o(n,n.constructor))(n.buffer,n.byteOffset+u*n.BYTES_PER_ELEMENT,r((void 0===t?a:i(t,a))-u))}))},12974:function(e,t,n){"use strict";var r=n(17854).Int8Array,i=n(47293),o=n(90260),a=o.aTypedArray,s=[].toLocaleString,u=[].slice,c=!!r&&i((function(){s.call(new r(1))})),l=i((function(){return[1,2].toLocaleString()!=new r([1,2]).toLocaleString()}))||!i((function(){r.prototype.toLocaleString.call([1,2])}));o.exportProto("toLocaleString",(function(){return s.apply(c?u.call(a(this)):a(this),arguments)}),l)},15016:function(e,t,n){"use strict";var r=n(17854).Uint8Array,i=r&&r.prototype,o=n(90260),a=[].toString,s=[].join;n(47293)((function(){a.call({})}))&&(a=function(){return s.call(this)}),o.exportProto("toString",a,(i||{}).toString!=a)},8255:function(e,t,n){n(19843)("Uint16",2,(function(e){return function(t,n,r){return e(this,t,n,r)}}))},29135:function(e,t,n){n(19843)("Uint32",4,(function(e){return function(t,n,r){return e(this,t,n,r)}}))},82472:function(e,t,n){n(19843)("Uint8",1,(function(e){return function(t,n,r){return e(this,t,n,r)}}))},49743:function(e,t,n){n(19843)("Uint8",1,(function(e){return function(t,n,r){return e(this,t,n,r)}}),!0)},4129:function(e,t,n){"use strict";var r,i=n(17854),o=n(12248),a=n(62423),s=n(29320),u=n(70111),c=n(29909).enforce,l=n(68536),f=!i.ActiveXObject&&"ActiveXObject"in i,d=Object.isExtensible,p=function(e){return function(){return e(this,arguments.length>0?arguments[0]:void 0)}},h=e.exports=n(77710)("WeakMap",p,s,!0,!0);if(l&&f){r=s.getConstructor(p,"WeakMap",!0),a.REQUIRED=!0;var g=h.prototype,m=g.delete,y=g.has,v=g.get,b=g.set;o(g,{delete:function(e){if(u(e)&&!d(e)){var t=c(this);return t.frozen||(t.frozen=new r),m.call(this,e)||t.frozen.delete(e)}return m.call(this,e)},has:function(e){if(u(e)&&!d(e)){var t=c(this);return t.frozen||(t.frozen=new r),y.call(this,e)||t.frozen.has(e)}return y.call(this,e)},get:function(e){if(u(e)&&!d(e)){var t=c(this);return t.frozen||(t.frozen=new r),y.call(this,e)?v.call(this,e):t.frozen.get(e)}return v.call(this,e)},set:function(e,t){if(u(e)&&!d(e)){var n=c(this);n.frozen||(n.frozen=new r),y.call(this,e)?b.call(this,e,t):n.frozen.set(e,t)}else b.call(this,e,t);return this}})}},38478:function(e,t,n){"use strict";n(77710)("WeakSet",(function(e){return function(){return e(this,arguments.length>0?arguments[0]:void 0)}}),n(29320),!1,!0)},54747:function(e,t,n){var r=n(48324),i=n(18533),o=n(95185),a=n(17854);for(var s in r){var u=a[s],c=u&&u.prototype;if(c&&c.forEach!==i)try{o(c,"forEach",i)}catch(e){c.forEach=i}}},33948:function(e,t,n){var r=n(48324),i=n(66992),o=n(17854),a=n(95185),s=n(5112),u=s("iterator"),c=s("toStringTag"),l=i.values;for(var f in r){var d=o[f],p=d&&d.prototype;if(p){if(p[u]!==l)try{a(p,u,l)}catch(e){p[u]=l}if(p[c]||a(p,c,f),r[f])for(var h in i)if(p[h]!==i[h])try{a(p,h,i[h])}catch(e){p[h]=i[h]}}}},84633:function(e,t,n){var r=n(17854),i=n(20261),o=!r.setImmediate||!r.clearImmediate;n(82109)({global:!0,bind:!0,enumerable:!0,forced:o},{setImmediate:i.set,clearImmediate:i.clear})},85844:function(e,t,n){var r=n(95948),i=n(17854).process,o="process"==n(84326)(i);n(82109)({global:!0,enumerable:!0,noTargetGet:!0},{queueMicrotask:function(e){var t=o&&i.domain;r(t?t.bind(e):e)}})},41637:function(e,t,n){"use strict";n(66992);var r=n(590),i=n(31320),o=n(12248),a=n(24994),s=n(29909),u=n(25787),c=n(86656),l=n(30244),f=n(19670),d=n(70111),p=n(18554),h=n(71246),g=n(5112)("iterator"),m="URLSearchParams",y="URLSearchParamsIterator",v=s.set,b=s.getterFor(m),_=s.getterFor(y),w=/\+/g,T=Array(4),x=function(e){return T[e-1]||(T[e-1]=RegExp("((?:%[\\da-f]{2}){"+e+"})","gi"))},S=function(e){try{return decodeURIComponent(e)}catch(t){return e}},k=function(e){for(var t=e.replace(w," "),n=4;n;)t=t.replace(x(n--),S);return t},E=/[!'()~]|%20/g,O={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},C=function(e){return O[e]},L=function(e){return encodeURIComponent(e).replace(E,C)},A=function(e,t){if(t)for(var n,r,i=t.split("&"),o=0;o<i.length;)(n=i[o++]).length&&(r=n.split("="),e.push({key:k(r.shift()),value:k(r.join("="))}));return e},I=function(e){this.entries.length=0,A(this.entries,e)},P=function(e,t){if(e<t)throw TypeError("Not enough arguments")},M=a((function(e,t){v(this,{type:y,iterator:p(b(e).entries),kind:t})}),"Iterator",(function(){var e=_(this),t=e.kind,n=e.iterator.next(),r=n.value;return n.done||(n.value="keys"===t?r.key:"values"===t?r.value:[r.key,r.value]),n})),R=function(){u(this,R,m);var e,t,n,r,i,o,a,s=arguments.length>0?arguments[0]:void 0,l=this,g=[];if(v(l,{type:m,entries:g,updateURL:null,updateSearchParams:I}),void 0!==s)if(d(s))if("function"==typeof(e=h(s)))for(t=e.call(s);!(n=t.next()).done;){if((i=(r=p(f(n.value))).next()).done||(o=r.next()).done||!r.next().done)throw TypeError("Expected sequence with length 2");g.push({key:i.value+"",value:o.value+""})}else for(a in s)c(s,a)&&g.push({key:a,value:s[a]+""});else A(g,"string"==typeof s?"?"===s.charAt(0)?s.slice(1):s:s+"")},j=R.prototype;o(j,{append:function(e,t){P(arguments.length,2);var n=b(this);n.entries.push({key:e+"",value:t+""}),n.updateURL&&n.updateURL()},delete:function(e){P(arguments.length,1);for(var t=b(this),n=t.entries,r=e+"",i=0;i<n.length;)n[i].key===r?n.splice(i,1):i++;t.updateURL&&t.updateURL()},get:function(e){P(arguments.length,1);for(var t=b(this).entries,n=e+"",r=0;r<t.length;r++)if(t[r].key===n)return t[r].value;return null},getAll:function(e){P(arguments.length,1);for(var t=b(this).entries,n=e+"",r=[],i=0;i<t.length;i++)t[i].key===n&&r.push(t[i].value);return r},has:function(e){P(arguments.length,1);for(var t=b(this).entries,n=e+"",r=0;r<t.length;)if(t[r++].key===n)return!0;return!1},set:function(e,t){P(arguments.length,1);for(var n,r=b(this),i=r.entries,o=!1,a=e+"",s=t+"",u=0;u<i.length;u++)(n=i[u]).key===a&&(o?i.splice(u--,1):(o=!0,n.value=s));o||i.push({key:a,value:s}),r.updateURL&&r.updateURL()},sort:function(){var e,t,n,r=b(this),i=r.entries,o=i.slice();for(i.length=0,t=0;t<o.length;t++){for(e=o[t],n=0;n<t;n++)if(i[n].key>e.key){i.splice(n,0,e);break}n===t&&i.push(e)}r.updateURL&&r.updateURL()},forEach:function(e){for(var t,n=b(this).entries,r=l(e,arguments.length>1?arguments[1]:void 0,3),i=0;i<n.length;)r((t=n[i++]).value,t.key,this)},keys:function(){return new M(this,"keys")},values:function(){return new M(this,"values")},entries:function(){return new M(this,"entries")}},{enumerable:!0}),i(j,g,j.entries),i(j,"toString",(function(){for(var e,t=b(this).entries,n=[],r=0;r<t.length;)e=t[r++],n.push(L(e.key)+"="+L(e.value));return n.join("&")}),{enumerable:!0}),n(58003)(R,m),n(82109)({global:!0,forced:!r},{URLSearchParams:R}),e.exports={URLSearchParams:R,getState:b}},60285:function(e,t,n){"use strict";n(78783);var r,i=n(19781),o=n(590),a=n(17854).URL,s=n(36048),u=n(31320),c=n(25787),l=n(86656),f=n(21574),d=n(48457),p=n(95866),h=n(33611),g=n(41637),m=g.URLSearchParams,y=g.getState,v=n(29909),b=v.set,_=v.getterFor("URL"),w=Math.pow,T="Invalid scheme",x="Invalid host",S="Invalid port",k=/[a-zA-Z]/,E=/[a-zA-Z0-9+\-.]/,O=/\d/,C=/^(0x|0X)/,L=/^[0-7]+$/,A=/^\d+$/,I=/^[0-9A-Fa-f]+$/,P=/\u0000|\u0009|\u000A|\u000D|\u0020|#|%|\/|:|\?|@|\[|\\|\]/,M=/\u0000|\u0009|\u000A|\u000D|\u0020|#|\/|:|\?|@|\[|\\|\]/,R=/^[\u0000-\u001F\u0020]+|[\u0000-\u001F\u0020]+$/g,j=/\u0009|\u000A|\u000D/g,D=function(e,t){var n,r,i;if("["==t.charAt(0)){if("]"!=t.charAt(t.length-1))return x;if(!(n=B(t.slice(1,-1))))return x;e.host=n}else if(W(e)){if(t=h(t),P.test(t))return x;if(null===(n=N(t)))return x;e.host=n}else{if(M.test(t))return x;for(n="",r=d(t),i=0;i<r.length;i++)n+=q(r[i],F);e.host=n}},N=function(e){var t,n,r,i,o,a,s,u=e.split(".");if(""==u[u.length-1]&&u.length&&u.pop(),(t=u.length)>4)return e;for(n=[],r=0;r<t;r++){if(""==(i=u[r]))return e;if(o=10,i.length>1&&"0"==i.charAt(0)&&(o=C.test(i)?16:8,i=i.slice(8==o?1:2)),""===i)a=0;else{if(!(10==o?A:8==o?L:I).test(i))return e;a=parseInt(i,o)}n.push(a)}for(r=0;r<t;r++)if(a=n[r],r==t-1){if(a>=w(256,5-t))return null}else if(a>255)return null;for(s=n.pop(),r=0;r<n.length;r++)s+=n[r]*w(256,3-r);return s},B=function(e){var t,n,r,i,o,a,s,u=[0,0,0,0,0,0,0,0],c=0,l=null,f=0,d=function(){return e.charAt(f)};if(":"==d()){if(":"!=e.charAt(1))return;f+=2,l=++c}for(;d();){if(8==c)return;if(":"!=d()){for(t=n=0;n<4&&I.test(d());)t=16*t+parseInt(d(),16),f++,n++;if("."==d()){if(0==n)return;if(f-=n,c>6)return;for(r=0;d();){if(i=null,r>0){if(!("."==d()&&r<4))return;f++}if(!O.test(d()))return;for(;O.test(d());){if(o=parseInt(d(),10),null===i)i=o;else{if(0==i)return;i=10*i+o}if(i>255)return;f++}u[c]=256*u[c]+i,2!=++r&&4!=r||c++}if(4!=r)return;break}if(":"==d()){if(f++,!d())return}else if(d())return;u[c++]=t}else{if(null!==l)return;f++,l=++c}}if(null!==l)for(a=c-l,c=7;0!=c&&a>0;)s=u[c],u[c--]=u[l+a-1],u[l+--a]=s;else if(8!=c)return;return u},U=function(e){var t,n,r,i;if("number"==typeof e){for(t=[],n=0;n<4;n++)t.unshift(e%256),e=Math.floor(e/256);return t.join(".")}if("object"==typeof e){for(t="",r=function(e){for(var t=null,n=1,r=null,i=0,o=0;o<8;o++)0!==e[o]?(i>n&&(t=r,n=i),r=null,i=0):(null===r&&(r=o),++i);return i>n&&(t=r,n=i),t}(e),n=0;n<8;n++)i&&0===e[n]||(i&&(i=!1),r===n?(t+=n?":":"::",i=!0):(t+=e[n].toString(16),n<7&&(t+=":")));return"["+t+"]"}return e},F={},z=f({},F,{" ":1,'"':1,"<":1,">":1,"`":1}),H=f({},z,{"#":1,"?":1,"{":1,"}":1}),Z=f({},H,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),q=function(e,t){var n=p(e,0);return n>32&&n<127&&!l(t,e)?e:encodeURIComponent(e)},V={ftp:21,file:null,gopher:70,http:80,https:443,ws:80,wss:443},W=function(e){return l(V,e.scheme)},G=function(e){return""!=e.username||""!=e.password},$=function(e){return!e.host||e.cannotBeABaseURL||"file"==e.scheme},Y=function(e,t){var n;return 2==e.length&&k.test(e.charAt(0))&&(":"==(n=e.charAt(1))||!t&&"|"==n)},K=function(e){var t;return e.length>1&&Y(e.slice(0,2))&&(2==e.length||"/"===(t=e.charAt(2))||"\\"===t||"?"===t||"#"===t)},X=function(e){var t=e.path,n=t.length;!n||"file"==e.scheme&&1==n&&Y(t[0],!0)||t.pop()},Q=function(e){return"."===e||"%2e"===e.toLowerCase()},J={},ee={},te={},ne={},re={},ie={},oe={},ae={},se={},ue={},ce={},le={},fe={},de={},pe={},he={},ge={},me={},ye={},ve={},be={},_e=function(e,t,n,i){var o,a,s,u,c,f=n||J,p=0,h="",g=!1,m=!1,y=!1;for(n||(e.scheme="",e.username="",e.password="",e.host=null,e.port=null,e.path=[],e.query=null,e.fragment=null,e.cannotBeABaseURL=!1,t=t.replace(R,"")),t=t.replace(j,""),o=d(t);p<=o.length;){switch(a=o[p],f){case J:if(!a||!k.test(a)){if(n)return T;f=te;continue}h+=a.toLowerCase(),f=ee;break;case ee:if(a&&(E.test(a)||"+"==a||"-"==a||"."==a))h+=a.toLowerCase();else{if(":"!=a){if(n)return T;h="",f=te,p=0;continue}if(n&&(W(e)!=l(V,h)||"file"==h&&(G(e)||null!==e.port)||"file"==e.scheme&&!e.host))return;if(e.scheme=h,n)return void(W(e)&&V[e.scheme]==e.port&&(e.port=null));h="","file"==e.scheme?f=de:W(e)&&i&&i.scheme==e.scheme?f=ne:W(e)?f=ae:"/"==o[p+1]?(f=re,p++):(e.cannotBeABaseURL=!0,e.path.push(""),f=ye)}break;case te:if(!i||i.cannotBeABaseURL&&"#"!=a)return T;if(i.cannotBeABaseURL&&"#"==a){e.scheme=i.scheme,e.path=i.path.slice(),e.query=i.query,e.fragment="",e.cannotBeABaseURL=!0,f=be;break}f="file"==i.scheme?de:ie;continue;case ne:if("/"!=a||"/"!=o[p+1]){f=ie;continue}f=se,p++;break;case re:if("/"==a){f=ue;break}f=me;continue;case ie:if(e.scheme=i.scheme,a==r)e.username=i.username,e.password=i.password,e.host=i.host,e.port=i.port,e.path=i.path.slice(),e.query=i.query;else if("/"==a||"\\"==a&&W(e))f=oe;else if("?"==a)e.username=i.username,e.password=i.password,e.host=i.host,e.port=i.port,e.path=i.path.slice(),e.query="",f=ve;else{if("#"!=a){e.username=i.username,e.password=i.password,e.host=i.host,e.port=i.port,e.path=i.path.slice(),e.path.pop(),f=me;continue}e.username=i.username,e.password=i.password,e.host=i.host,e.port=i.port,e.path=i.path.slice(),e.query=i.query,e.fragment="",f=be}break;case oe:if(!W(e)||"/"!=a&&"\\"!=a){if("/"!=a){e.username=i.username,e.password=i.password,e.host=i.host,e.port=i.port,f=me;continue}f=ue}else f=se;break;case ae:if(f=se,"/"!=a||"/"!=h.charAt(p+1))continue;p++;break;case se:if("/"!=a&&"\\"!=a){f=ue;continue}break;case ue:if("@"==a){g&&(h="%40"+h),g=!0,s=d(h);for(var v=0;v<s.length;v++){var b=s[v];if(":"!=b||y){var _=q(b,Z);y?e.password+=_:e.username+=_}else y=!0}h=""}else if(a==r||"/"==a||"?"==a||"#"==a||"\\"==a&&W(e)){if(g&&""==h)return"Invalid authority";p-=d(h).length+1,h="",f=ce}else h+=a;break;case ce:case le:if(n&&"file"==e.scheme){f=he;continue}if(":"!=a||m){if(a==r||"/"==a||"?"==a||"#"==a||"\\"==a&&W(e)){if(W(e)&&""==h)return x;if(n&&""==h&&(G(e)||null!==e.port))return;if(u=D(e,h))return u;if(h="",f=ge,n)return;continue}"["==a?m=!0:"]"==a&&(m=!1),h+=a}else{if(""==h)return x;if(u=D(e,h))return u;if(h="",f=fe,n==le)return}break;case fe:if(!O.test(a)){if(a==r||"/"==a||"?"==a||"#"==a||"\\"==a&&W(e)||n){if(""!=h){var w=parseInt(h,10);if(w>65535)return S;e.port=W(e)&&w===V[e.scheme]?null:w,h=""}if(n)return;f=ge;continue}return S}h+=a;break;case de:if(e.scheme="file","/"==a||"\\"==a)f=pe;else{if(!i||"file"!=i.scheme){f=me;continue}if(a==r)e.host=i.host,e.path=i.path.slice(),e.query=i.query;else if("?"==a)e.host=i.host,e.path=i.path.slice(),e.query="",f=ve;else{if("#"!=a){K(o.slice(p).join(""))||(e.host=i.host,e.path=i.path.slice(),X(e)),f=me;continue}e.host=i.host,e.path=i.path.slice(),e.query=i.query,e.fragment="",f=be}}break;case pe:if("/"==a||"\\"==a){f=he;break}i&&"file"==i.scheme&&!K(o.slice(p).join(""))&&(Y(i.path[0],!0)?e.path.push(i.path[0]):e.host=i.host),f=me;continue;case he:if(a==r||"/"==a||"\\"==a||"?"==a||"#"==a){if(!n&&Y(h))f=me;else if(""==h){if(e.host="",n)return;f=ge}else{if(u=D(e,h))return u;if("localhost"==e.host&&(e.host=""),n)return;h="",f=ge}continue}h+=a;break;case ge:if(W(e)){if(f=me,"/"!=a&&"\\"!=a)continue}else if(n||"?"!=a)if(n||"#"!=a){if(a!=r&&(f=me,"/"!=a))continue}else e.fragment="",f=be;else e.query="",f=ve;break;case me:if(a==r||"/"==a||"\\"==a&&W(e)||!n&&("?"==a||"#"==a)){if(".."===(c=(c=h).toLowerCase())||"%2e."===c||".%2e"===c||"%2e%2e"===c?(X(e),"/"==a||"\\"==a&&W(e)||e.path.push("")):Q(h)?"/"==a||"\\"==a&&W(e)||e.path.push(""):("file"==e.scheme&&!e.path.length&&Y(h)&&(e.host&&(e.host=""),h=h.charAt(0)+":"),e.path.push(h)),h="","file"==e.scheme&&(a==r||"?"==a||"#"==a))for(;e.path.length>1&&""===e.path[0];)e.path.shift();"?"==a?(e.query="",f=ve):"#"==a&&(e.fragment="",f=be)}else h+=q(a,H);break;case ye:"?"==a?(e.query="",f=ve):"#"==a?(e.fragment="",f=be):a!=r&&(e.path[0]+=q(a,F));break;case ve:n||"#"!=a?a!=r&&("'"==a&&W(e)?e.query+="%27":e.query+="#"==a?"%23":q(a,F)):(e.fragment="",f=be);break;case be:a!=r&&(e.fragment+=q(a,z))}p++}},we=function(e){var t,n,r=c(this,we,"URL"),o=arguments.length>1?arguments[1]:void 0,a=String(e),s=b(r,{type:"URL"});if(void 0!==o)if(o instanceof we)t=_(o);else if(n=_e(t={},String(o)))throw TypeError(n);if(n=_e(s,a,null,t))throw TypeError(n);var u=s.searchParams=new m,l=y(u);l.updateSearchParams(s.query),l.updateURL=function(){s.query=String(u)||null},i||(r.href=xe.call(r),r.origin=Se.call(r),r.protocol=ke.call(r),r.username=Ee.call(r),r.password=Oe.call(r),r.host=Ce.call(r),r.hostname=Le.call(r),r.port=Ae.call(r),r.pathname=Ie.call(r),r.search=Pe.call(r),r.searchParams=Me.call(r),r.hash=Re.call(r))},Te=we.prototype,xe=function(){var e=_(this),t=e.scheme,n=e.username,r=e.password,i=e.host,o=e.port,a=e.path,s=e.query,u=e.fragment,c=t+":";return null!==i?(c+="//",G(e)&&(c+=n+(r?":"+r:"")+"@"),c+=U(i),null!==o&&(c+=":"+o)):"file"==t&&(c+="//"),c+=e.cannotBeABaseURL?a[0]:a.length?"/"+a.join("/"):"",null!==s&&(c+="?"+s),null!==u&&(c+="#"+u),c},Se=function(){var e=_(this),t=e.scheme,n=e.port;if("blob"==t)try{return new URL(t.path[0]).origin}catch(e){return"null"}return"file"!=t&&W(e)?t+"://"+U(e.host)+(null!==n?":"+n:""):"null"},ke=function(){return _(this).scheme+":"},Ee=function(){return _(this).username},Oe=function(){return _(this).password},Ce=function(){var e=_(this),t=e.host,n=e.port;return null===t?"":null===n?U(t):U(t)+":"+n},Le=function(){var e=_(this).host;return null===e?"":U(e)},Ae=function(){var e=_(this).port;return null===e?"":String(e)},Ie=function(){var e=_(this),t=e.path;return e.cannotBeABaseURL?t[0]:t.length?"/"+t.join("/"):""},Pe=function(){var e=_(this).query;return e?"?"+e:""},Me=function(){return _(this).searchParams},Re=function(){var e=_(this).fragment;return e?"#"+e:""},je=function(e,t){return{get:e,set:t,configurable:!0,enumerable:!0}};if(i&&s(Te,{href:je(xe,(function(e){var t=_(this),n=String(e),r=_e(t,n);if(r)throw TypeError(r);y(t.searchParams).updateSearchParams(t.query)})),origin:je(Se),protocol:je(ke,(function(e){var t=_(this);_e(t,String(e)+":",J)})),username:je(Ee,(function(e){var t=_(this),n=d(String(e));if(!$(t)){t.username="";for(var r=0;r<n.length;r++)t.username+=q(n[r],Z)}})),password:je(Oe,(function(e){var t=_(this),n=d(String(e));if(!$(t)){t.password="";for(var r=0;r<n.length;r++)t.password+=q(n[r],Z)}})),host:je(Ce,(function(e){var t=_(this);t.cannotBeABaseURL||_e(t,String(e),ce)})),hostname:je(Le,(function(e){var t=_(this);t.cannotBeABaseURL||_e(t,String(e),le)})),port:je(Ae,(function(e){var t=_(this);$(t)||(""==(e=String(e))?t.port=null:_e(t,e,fe))})),pathname:je(Ie,(function(e){var t=_(this);t.cannotBeABaseURL||(t.path=[],_e(t,e+"",ge))})),search:je(Pe,(function(e){var t=_(this);""==(e=String(e))?t.query=null:("?"==e.charAt(0)&&(e=e.slice(1)),t.query="",_e(t,e,ve)),y(t.searchParams).updateSearchParams(t.query)})),searchParams:je(Me),hash:je(Re,(function(e){var t=_(this);""!=(e=String(e))?("#"==e.charAt(0)&&(e=e.slice(1)),t.fragment="",_e(t,e,be)):t.fragment=null}))}),u(Te,"toJSON",(function(){return xe.call(this)}),{enumerable:!0}),u(Te,"toString",(function(){return xe.call(this)}),{enumerable:!0}),a){var De=a.createObjectURL,Ne=a.revokeObjectURL;De&&u(we,"createObjectURL",(function(e){return De.apply(a,arguments)})),Ne&&u(we,"revokeObjectURL",(function(e){return Ne.apply(a,arguments)}))}n(58003)(we,"URL"),n(82109)({global:!0,forced:!o,sham:!i},{URL:we})},83753:function(e,t,n){"use strict";n(82109)({target:"URL",proto:!0,enumerable:!0},{toJSON:function(){return URL.prototype.toString.call(this)}})},49420:function(e,t,n){var r=n(13621),i=n(37729),o=n(3724),a=n(15408).type("Any"),s=n(15408).typeFn(a(),2),u=n(84863),c=n(37356),l=n(36352),f=n(49439),d=function(){return p(!1)};function p(e){var t,n=l(e)?d().valueOf():e;if(!arguments.length||c(n))throw new TypeError("Any: Non-function value required");var r=function(){return!!n},h=d,g=function(){return"Any"+i(r())},m=function(e){return f(p,e)&&o(n,e.valueOf())};function y(e){return function(t){if(!f(p,t))throw new TypeError("Any."+e+": Any required");return p(t.valueOf()||r())}}return(t={inspect:g,toString:g,equals:m,valueOf:r,type:a,empty:h})["@@type"]=s,t.concat=y("concat"),t[u.equals]=m,t[u.concat]=y(u.concat),t[u.empty]=h,t.constructor=p,t}p["@@implements"]=r(["equals","concat","empty"]),p.empty=d,p.type=a,p[u.empty]=d,p["@@type"]=s,e.exports=p},94066:function(e,t,n){var r=n(13621),i=n(37729),o=n(15408).type("Async"),a=n(15408).typeFn(o(),5),s=n(84863),u=n(42319),c=n(89064),l=n(21825),f=n(49177),d=n(33385),p=n(34798),h=n(37356),g=n(65224),m=n(79753),y=n(49439),v=function(e){return b((function(t,n){return n(e)}))};function b(e){var t;if(!h(e))throw new TypeError("Async: Function required");var n=v,r=function(){return"Async"+i(e)};function u(t,n,r){if(!h(t)||!h(n))throw new TypeError("Async.fork: Reject and resolve functions required");var i=!1,o=!1,a=h(r)?r:f,s=function(e,t){if(!o)return o=!0,i?f():e(t)},u=e(s.bind(null,t),s.bind(null,n)),c=h(u)?u:f;return l((function(){return a((c(),void(i=!0)))}))}function d(e){return function(t){if(!h(t))throw new TypeError("Async."+e+": Function required");return b((function(e,n){return u(e,c(n,t))}))}}function p(e){return function(t,n){if(!h(t)||!h(n))throw new TypeError("Async."+e+": Functions required for both arguments");return b((function(e,r){return u(c(e,t),c(r,n))}))}}function g(e){return function(t){if(!y(b,t))throw new TypeError("Async."+e+": Async required");return b((function(e,n){var r=f,i=f;return r=u((function(){i=t.fork(e,n)}),n),l((function(){return i(r())}))}))}}function m(e){return function(t){if(!h(t))throw new TypeError("Async."+e+": Async returning function required");return b((function(n,r){var i=f,o=f;return i=u(n,(function(i){var a=t(i);if(!y(b,a))throw new TypeError("Async."+e+": Function must return another Async");o=a.fork(n,r)})),l((function(){return o(i())}))}))}}return(t={fork:u,toPromise:function(){return new Promise((function(e,t){u(t,e)}))},inspect:r,toString:r,type:o,swap:function(e,t){if(!h(e)||!h(t))throw new TypeError("Async.swap: Functions required for both arguments");return b((function(n,r){return u(c(r,e),c(n,t))}))},race:function(e){if(!y(b,e))throw new TypeError("Async.race: Async required");return b((function(t,n){var r=l((function(e,r){return e?n(r):t(r)})),i=r.bind(null,!0),o=r.bind(null,!1),a=u(o,i),s=e.fork(o,i);return function(){a(),s()}}))},coalesce:function(e,t){if(!h(e)||!h(t))throw new TypeError("Async.coalesce: Functions required for both arguments");return b((function(n,r){return u(c(r,e),c(r,t))}))},ap:function(e){if(!y(b,e))throw new TypeError("Async.ap: Async required");return b((function(t,n){var r=null,i=null,o=!1,a=!1,s=!1,f=l(t);function d(){!s&&o&&a&&c(n,r)(i)}var p=u(f,(function(e){if(!h(e))throw new TypeError("Async.ap: Wrapped value must be a function");o=!0,r=e,d()})),g=e.fork(f,(function(e){a=!0,i=e,d()}));return function(){p(),g(),s=!0}}))},of:n,alt:g("alt"),bimap:p("bimap"),map:d("map"),chain:m("chain"),bichain:function(e,t){var n="Async.bichain: Both arguments must be Async returning functions";if(!h(e)||!h(t))throw new TypeError(n);return b((function(r,i){var o=f,a=f;function s(e){return function(t){var o=e(t);if(!y(b,o))throw new TypeError(n);a=o.fork(r,i)}}return o=u(s(e),s(t)),l((function(){return a(o())}))}))}})[s.of]=n,t[s.alt]=g(s.alt),t[s.bimap]=p(s.bimap),t[s.map]=d(s.map),t[s.chain]=m(s.chain),t["@@type"]=a,t.constructor=b,t}b.of=v,b.type=o,b[s.of]=v,b["@@type"]=a,b.Rejected=function(e){return b((function(t){return t(e)}))},b.Resolved=v,b.fromPromise=function(e){if(!h(e))throw new TypeError("Async.fromPromise: Promise returning function required");return function(){var t=arguments;return b((function(n,r){var i=e.apply(null,t);if(!m(i))throw new TypeError("Async.fromPromise: Promise returning function required");i.then(r,n)}))}},b.fromNode=function(e,t){if(!h(e))throw new TypeError("Async.fromNode: CPS function required");return function(){for(var n=[],r=arguments.length;r--;)n[r]=arguments[r];return b((function(r,i){e.apply(t,n.concat((function(e,t){return e?r(e):i(t)})))}))}},b.all=function(e){if(!p(e)||!e.reduce((function(e,t){return e&&y(b,t)}),!0))throw new TypeError("Async.all: Foldable structure of Asyncs required");return d(e)?u.sequence(b.of,e):e.sequence(b.of)},b.rejectAfter=function(e,t){if(!(g(e)&&e>=0))throw new TypeError("Async.rejectAfter: Positive Integer required for first argument");return b((function(n){var r=setTimeout((function(){n(t)}),e);return function(){clearTimeout(r)}}))},b.resolveAfter=function(e,t){if(!(g(e)&&e>=0))throw new TypeError("Async.resolveAfter: Positive Integer required for first argument");return b((function(n,r){var i=setTimeout((function(){r(t)}),e);return function(){clearTimeout(i)}}))},b["@@implements"]=r(["alt","ap","bimap","chain","map","of"]),e.exports=b},72956:function(e,t,n){var r=n(78310),i=r.Nothing,o=r.Just,a=n(81097),s=n(87201),u=n(89339);e.exports=s((function(e,t){if(!u(e))throw new TypeError("safe: Pred or predicate function required for first argument");return a(e,t)?o(t):i()}))},83023:function(e,t,n){var r=n(89064),i=n(87201),o=n(89339),a=n(37356),s=n(72956);e.exports=i((function(e,t){if(!o(e))throw new TypeError("safeLift: Pred or predicate function required for first argument");if(!a(t))throw new TypeError("safeLift: Function required for second argument");return r(function(e){return function(t){return t.map(e)}}(t),s(e))}))},68621:function(e,t,n){var r=n(14917),i=n(87201),o=n(60280),a=n(37356),s=n(49439),u=n(92715);e.exports=i((function(e,t){if(a(e)&&a(t))return function(n){return r(e(n),t(n))};if(s(n=e,t)&&u(n)&&o(n)&&a(n.first)&&a(n.second))return e.first().compose(t.second()).contramap((function(e){return r(e,e)}));var n;throw new TypeError("fanout: Arrows, Functions or Stars of the same type required for both arguments")}))},56169:function(e,t,n){e.exports=n(5655)},98038:function(e,t,n){var r=n(87201),i=n(37356);e.exports=r((function(e,t){if(!i(t))throw new TypeError("applyTo: Function required for second argument");return t(e)}))},23385:function(e,t,n){var r=n(87201),i=n(37356);e.exports=r((function(e,t,n,o){if(!i(e)||!i(t)||!i(n))throw new TypeError("converge: Functions required for first three arguments");return r(e)(t(o),n(o))}))},9730:function(e,t,n){var r=n(87201),i=n(37356);e.exports=r((function(e,t,n){if(!i(e))throw new TypeError("flip: Function required for first argument");return r(e)(n,t)}))},60740:function(e){e.exports=function(e){return e}},47088:function(e,t,n){var r=n(87201),i=n(37356);e.exports=r((function(e,t,n){if(!i(e)||!i(t))throw new TypeError("substitution: Functions required for first two arguments");return r(e)(n,t(n))}))},78310:function(e,t,n){var r=n(55841),i=n(3724),o=n(13621),a=n(41519),s=n(37729),u=n(15408).type("Maybe"),c=n(15408).typeFn(u(),4),l=n(84863),f=n(68534),d=n(89064),p=n(38142),h=n(15909),g=n(33385),m=n(37356),y=n(49439),v=function(e){return function(){return e}},b=function(e){return e},_=r({Nothing:[],Just:["a"]}),w=_.Nothing,T=_.Just;E.Nothing=d(E,w),E.Just=d(E,T);var x=d(E,T),S=d(E,w);function k(e){if(!h(e)&&!g(e))throw new TypeError("Maybe.sequence: Must wrap an Apply");return e.map(x)}function E(e){var t;if(!arguments.length)throw new TypeError("Maybe: Must wrap something, try using Nothing or Just constructors");var n=_.includes(e)?e:T(e),r=x,o=S,w=function(e){return L(v(e),b)},O=function(e){return y(E,e)&&L(v(e.either(v(!0),v(!1))),(function(t){return e.either(v(!1),(function(e){return i(e,t)}))}))},C=function(){return L(v("Nothing"),(function(e){return"Just"+s(e)}))};function L(e,t){if(!m(e)||!m(t))throw new TypeError("Maybe.either: Requires both left and right functions");return _.caseOf({Nothing:e,Just:t},n)}function A(e){return function(t){if(!y(E,t))throw new TypeError("Maybe."+e+": Maybe of Semigroup required");return L(E.Nothing,a("Maybe."+e,t))}}function I(e,t){if(!m(e)||!m(t))throw new TypeError("Maybe.coalesce: Requires both left and right functions");return E.Just(L(e,t))}function P(e,t){var n="Maybe.bichain: Both arguments must be Maybe returning functions";if(!m(e)||!m(t))throw new TypeError(n);var r=L(e,t);if(!y(E,r))throw new TypeError(n);return r}function M(e){return function(t){if(!m(t))throw new TypeError("Maybe."+e+": Function required");return L(E.Nothing,d(E.Just,t))}}function R(e){return function(t){if(!y(E,t))throw new TypeError("Maybe."+e+": Maybe required");return L(v(t),E.Just)}}function j(e){var t=w(v(void 0));if(!m(t))throw new TypeError("Maybe.ap: Wrapped value must be a function");if(!y(E,e))throw new TypeError("Maybe.ap: Maybe required");return L(E.Nothing,e.map)}function D(e){return function(t){if(!m(t))throw new TypeError("Maybe."+e+": Function required");var n=L(E.Nothing,t);if(!y(E,n))throw new TypeError("Maybe."+e+": Function must return a Maybe");return n}}function N(e){if(!p(e)&&!m(e))throw new TypeError("Maybe.sequence: Applicative TypeRep or Apply returning function required");var t=f(e);return L(d(t,E.Nothing),k)}function B(e,t){if(!p(e)&&!m(e))throw new TypeError("Maybe.traverse: Applicative TypeRep or Apply returning function required for first argument");if(!m(t))throw new TypeError("Maybe.traverse: Apply returning function required for second argument");var n=f(e),r=L(d(n,E.Nothing),t);if(!h(r)&&!g(r))throw new TypeError("Maybe.traverse: Both functions must return an Apply of the same type");return L(v(r),v(r.map(x)))}return(t={inspect:C,toString:C,either:L,option:w,type:u,equals:O,bichain:P,coalesce:I,zero:o,ap:j,of:r,sequence:N,traverse:B,alt:R("alt"),chain:D("chain"),concat:A("concat"),map:M("map")})[l.zero]=o,t[l.of]=r,t[l.equals]=O,t[l.alt]=R(l.alt),t[l.concat]=A(l.concat),t[l.map]=M(l.map),t[l.chain]=D(l.chain),t["@@type"]=c,t.constructor=E,t}E.of=x,E.zero=S,E.type=u,E[l.of]=x,E[l.zero]=S,E["@@type"]=c,E["@@implements"]=o(["alt","ap","chain","concat","equals","map","of","traverse","zero"]),e.exports=E},14917:function(e,t,n){var r=n(3724),i=n(13621),o=n(37729),a=n(15408).type("Pair"),s=n(15408).typeFn(a(),4),u=n(84863),c=n(38142),l=n(15909),f=n(33385),d=n(37356),p=n(49439),h=n(32105);function g(e,t){var n;if(arguments.length<2)throw new TypeError("Pair: Must provide a first and second value");var i=function(){return e},m=function(){return t},y=function(){return"Pair("+o(e)+","+o(t)+" )"},v=function(){return[e,t]};function b(e){if(!d(e))throw new TypeError("Pair.merge: Binary function required");return e(i(),m())}function _(e){return p(g,e)&&r(e.fst(),i())&&r(e.snd(),m())}function w(e){return function(t){if(!p(g,t))throw new TypeError("Pair."+e+": Pair required");var n=i(),r=m(),o=t.fst(),a=t.snd();if(!h(n)||!h(r))throw new TypeError("Pair."+e+": Both Pairs must contain Semigroups of the same type");if(!p(n,o)||!p(r,a))throw new TypeError("Pair."+e+": Both Pairs must contain Semigroups of the same type");return g(n.concat(o),r.concat(a))}}function T(n,r){if(!d(n)||!d(r))throw new TypeError("Pair.swap: Requires both left and right functions");return g(r(t),n(e))}function x(n){return function(r){if(!d(r))throw new TypeError("Pair."+n+": Function required");return g(e,r(t))}}function S(n){return function(r,i){if(!d(r)||!d(i))throw new TypeError("Pair."+n+": Function required for both arguments");return g(r(e),i(t))}}function k(e){if(!p(g,e))throw new TypeError("Pair.ap: Pair required");var t=m();if(!d(t))throw new TypeError("Pair.ap: Function required for second value");var n=i(),r=e.fst();if(!h(n)||!p(n,r))throw new TypeError("Pair.ap: Semigroups of the same type is required for first values");return g(n.concat(r),t(e.snd()))}function E(e){return function(t){var n=i();if(!d(t))throw new TypeError("Pair."+e+": Function required");if(!h(n))throw new TypeError("Pair."+e+": Semigroups of the same type required for first values");var r=t(m());if(!p(g,r))throw new TypeError("Pair."+e+": Function must return a Pair");var o=r.fst();if(!p(n,o))throw new TypeError("Pair."+e+": Semigroups of the same type required for first values");return g(n.concat(o),r.snd())}}function O(n){if(!c(n)&&!d(n))throw new TypeError("Pair.sequence: Applicative TypeRep or Apply returning function required");if(!l(t)&&!f(t))throw new TypeError("Pair.sequence: Must wrap an Apply in the second");return t.map((function(t){return g(e,t)}))}function C(n,r){if(!c(n)&&!d(n))throw new TypeError("Pair.traverse: Applicative TypeRep or Apply returning function required for first argument");if(!d(r))throw new TypeError("Pair.traverse: Apply returning function required for second argument");var i=r(t);if(!l(i)&&!f(i))throw new TypeError("Pair.traverse: Both functions must return an Apply of the same type");return i.map((function(t){return g(e,t)}))}function L(n){return function(r){if(!d(r))throw new TypeError("Pair."+n+": Function required");return g(e,r(g(e,t)))}}return(n={inspect:y,toString:y,fst:i,snd:m,toArray:v,type:a,merge:b,equals:_,swap:T,ap:k,sequence:O,traverse:C,concat:w("concat"),map:x("map"),bimap:S("bimap"),chain:E("chain"),extend:L("extend")})[u.equals]=_,n[u.concat]=w(u.concat),n[u.map]=x(u.map),n[u.bimap]=S(u.bimap),n[u.chain]=E(u.chain),n[u.extend]=L(u.extend),n["@@type"]=s,n.constructor=g,n}g.type=a,g["@@type"]=s,g["@@implements"]=i(["ap","bimap","chain","concat","extend","equals","map","traverse"]),e.exports=g},5655:function(e,t,n){var r=n(13621),i=n(37729),o=n(15408).type("Pred"),a=n(15408).typeFn(o(),2),s=n(84863),u=n(89064),c=n(37356),l=n(49439),f=function(){return d((function(){return!0}))};function d(e){var t;if(!c(e))throw new TypeError("Pred: Predicate function required");var n=function(t){return!!e(t)},r=function(){return"Pred"+i(n)},p=f;function h(e){return function(t){if(!l(d,t))throw new TypeError("Pred."+e+": Pred required");return d((function(e){return!!n(e)&&!!t.runWith(e)}))}}function g(e){return function(t){if(!c(t))throw new TypeError("Pred."+e+": Function required");return d(u(n,t))}}return(t={inspect:r,toString:r,runWith:n,type:o,valueOf:function(){return n},empty:p,concat:h("concat"),contramap:g("contramap")})[s.empty]=p,t[s.concat]=h(s.concat),t[s.contramap]=g(s.contramap),t["@@type"]=a,t.constructor=d,t}d.empty=f,d.type=o,d[s.empty]=f,d["@@type"]=a,d["@@implements"]=r(["concat","contramap","empty"]),e.exports=d},49177:function(e){e.exports=Function.prototype},68534:function(e,t,n){var r=n(38142),i=n(55881);e.exports=function(e){return function(t){return r(e)?e.of(t):i(Array,e)?[t]:e(t)}}},42319:function(e,t,n){var r=n(15909),i=n(33385),o=n(84926),a=n(37356),s=n(49439),u=n(32105),c=n(68534),l=function(e){return e},f=function(e){return function(t){return e.concat(t)}};function d(e,t){return function(n,o){var a=t(o);if(!r(n)&&!i(n)||!s(n,a))throw new TypeError("Array."+e+": Must wrap Applys of the same type");return i(a)?h(n,p((function(e){return f([e])}),a)):a.map((function(e){return f([e])})).ap(n)}}var p=function(e,t){return t.map((function(t){return e(t)}))};function h(e,t){if(!t.length||!t.reduce((function(e,t){return e&&a(t)}),!0))throw new TypeError("Array.ap: Second Array must all be functions");return t.reduce((function(t,n){return t.concat(p(n,e))}),[])}e.exports={ap:h,chain:function(e,t){return t.reduce((function(t,n){var r=e(n);if(!i(r))throw new TypeError("Array.chain: Function must return an Array");return t.concat(r)}),[])},fold:function(e){if(o(e))throw new TypeError("Array.fold: Non-empty Array of Semigroups required");var t=e[0];if(!u(t))throw new TypeError("Array.fold: Must contain Semigroups of the same type");return e.reduce((function(e,t){if(!s(e,t))throw new TypeError("Array.fold: Must contain Semigroups of the same type");return e.concat(t)}))},foldMap:function(e,t){if(o(t))throw new TypeError("Array.foldMap: Non-empty Array required");var n=e(t[0]);if(!u(n))throw new TypeError("Array.foldMap: Provided function must return Semigroups of the same type");return 1===t.length?n:t.slice(1).reduce((function(t,n){var r=e(n);if(!s(t,r)||!u(r))throw new TypeError("Array.foldMap: Provided function must return Semigroups of the same type");return t.concat(r)}),n)},map:p,sequence:function(e,t){var n=c(e);return t.reduceRight(d("sequence",l),n([]))},set:function(e,t,n){var r=n.slice();return r[e]=t,r},traverse:function(e,t,n){var r=c(e);return n.reduceRight(d("traverse",t),r([]))},unset:function(e,t){return t.slice(0,e).concat(t.slice(e+1))}}},89064:function(e){e.exports=function(e,t){return function(n){return e(t(n))}}},87201:function(e,t,n){var r=n(37356),i="@@crocks/curried";function o(e,t){return r(e)?e.length>1?e.bind(null,t):e.call(null,t):e}e.exports=function e(t){if(t[i])return t;function n(){for(var n=[],i=arguments.length;i--;)n[i]=arguments[i];var a=n.length?n:[void 0];if(a.length<t.length)return e(Function.bind.apply(t,[null].concat(a)));var s=a.length===t.length?t.apply(null,a):a.reduce(o,t);return r(s)?e(s):s}return Object.defineProperty(n,i,{enumerable:!1,writable:!1,value:!0}),n}},55841:function(e,t,n){var r=n(87201),i=n(33385),o=n(84926),a=n(37356),s=n(77531),u=n(84340),c=function(e){return function(){return e}};function l(e){return function(t,n){var r=n.tag,i=e[r()].reduce((function(e,t){return e.concat([n[t].value()])}),[]);return t[r()].apply(null,i)}}var f=function(e){return function(t){return!!t&&a(t.tag)&&-1!==Object.keys(e).indexOf(t.tag())}};e.exports=function(e){if(!s(e)||o(e))throw new TypeError("defineUnion: Argument must be an Object containing definition lists");return Object.keys(e).reduce((function(t,n){var r=e[n];if(!i(r)||!r.reduce((function(e,t){return e&&function(e){return u(e)&&e.length}(t)}),!0))throw new TypeError("defineUnion: Definitions must be a list of non-empty string identifiers");return t[n]=function(e,t){return function(){for(var n=[],r=arguments.length;r--;)n[r]=arguments[r];return e.reduce((function(e,t,r){return e[t]={value:c(n[r])},e}),{tag:c(t)})}}(r,n),t}),{caseOf:r(l(e)),includes:r(f(e))})}},3724:function(e,t,n){var r=n(49439),i=n(64803),o=n(4828),a=n(66130),s=n(84863),u=function(e,t){return e.valueOf()===t.valueOf()},c={Array:function(e,t){return e.length===t.length&&l(e,t)},Date:function(e,t){return i(e.valueOf(),t.valueOf())},Error:function(e,t){return e.name===t.name&&e.message===t.message},Object:function(e,t){return Object.keys(e).length===Object.keys(t).length&&l(e,t)},RegExp:function(e,t){return e.source===t.source&&e.ignoreCase===t.ignoreCase&&e.global===t.global&&e.multiline===t.multiline&&e.unicode===t.unicode}};function l(e,t){for(var n in e)if(!f(e[n],t[n]))return!1;return!0}function f(e,t){return!!i(e,t)||!!r(e,t)&&(o("equals",e)?(t[s.equals]||t.equals).call(t,e):(c[a(e)]||u)(e,t))}e.exports=f},84863:function(e){e.exports={alt:"fantasy-land/alt",bimap:"fantasy-land/bimap",chain:"fantasy-land/chain",compose:"fantasy-land/compose",concat:"fantasy-land/concat",contramap:"fantasy-land/contramap",empty:"fantasy-land/empty",equals:"fantasy-land/equals",extend:"fantasy-land/extend",filter:"fantasy-land/filter",id:"fantasy-land/id",map:"fantasy-land/map",of:"fantasy-land/of",promap:"fantasy-land/promap",reduce:"fantasy-land/reduce",zero:"fantasy-land/zero"}},4828:function(e,t,n){var r=n(37356),i=n(84863);e.exports=function(e,t){return!!t&&(function(e,t){return r(t[i[e]])||r(t[e])}(e,t)||function(e,t){return r(t["@@implements"])&&!!t["@@implements"](e)}(e,t))}},13621:function(e){e.exports=function(e){return function(t){return-1!==e.indexOf(t)}}},41519:function(e,t,n){var r=n(49439),i=n(32105);e.exports=function(e,t){return function(n){if(!i(n))throw new TypeError(e+": Both containers must contain Semigroups of the same type");return t.map((function(t){if(!r(n,t))throw new TypeError(e+": Both containers must contain Semigroups of the same type");return n.concat(t)}))}}},37729:function(e,t,n){var r=n(33385),i=n(37356),o=n(77531),a=n(84340),s=n(22296),u=n(10757);function c(e){return e&&i(e.inspect)?" "+e.inspect():i(e)?" Function":r(e)?" ["+(((t=e).length?t.map(c).reduce((function(e,t){return e+","+t})):t)+" ]"):o(e)?" { "+Object.keys(e).reduce((function(t,n){return t.concat([n+":"+c(e[n])])}),[]).join(", ")+" }":a(e)?' "'+e+'"':s(e)||u(e)?" "+e.toString():" "+e;var t}e.exports=c},38142:function(e,t,n){var r=n(4828),i=n(15909);e.exports=function(e){return i(e)&&(r("of",e)||r("of",e.constructor))}},15909:function(e,t,n){var r=n(4828),i=n(13264);e.exports=function(e){return i(e)&&r("ap",e)}},33385:function(e){e.exports=function(e){return Array.isArray(e)}},83317:function(e,t,n){var r=n(4828),i=n(13264);e.exports=function(e){return i(e)&&r("bimap",e)}},47455:function(e,t,n){var r=n(4828),i=n(15909);e.exports=function(e){return i(e)&&r("chain",e)}},60280:function(e,t,n){var r=n(4828);e.exports=function(e){return!!e&&r("contramap",e)}},10757:function(e){e.exports=function(e){return"[object Date]"===Object.prototype.toString.apply(e)&&!isNaN(e.valueOf())}},84926:function(e,t,n){var r=n(77531),i=n(52803),o=n(3724),a=n(84863);e.exports=function(e){if(i(e)){var t=e.constructor[a.empty]||e.constructor.empty||e.empty;return o(e,t())}return r(e)?!Object.keys(e).length:!e||void 0===e.length||!e.length}},34798:function(e,t,n){var r=n(4828);e.exports=function(e){return!!e&&r("reduce",e)}},37356:function(e){e.exports=function(e){return"function"==typeof e}},13264:function(e,t,n){var r=n(4828);e.exports=function(e){return!!e&&r("map",e)}},65224:function(e,t,n){var r=n(19724);e.exports=function(e){return r(e)&&isFinite(e)&&Math.floor(e)===e}},52803:function(e,t,n){var r=n(4828),i=n(32105);e.exports=function(e){return i(e)&&(r("empty",e)||r("empty",e.constructor))}},36352:function(e){e.exports=function(e){return null==e||e!=e}},19724:function(e){e.exports=function(e){return"number"==typeof e&&!isNaN(e)}},77531:function(e){var t=Object.prototype.toString;e.exports=function(e){return!!e&&"[object Object]"===t.call(e)}},89339:function(e,t,n){var r=n(15408).proxy("Pred"),i=n(37356),o=n(49439);e.exports=function(e){return i(e)||o(r,e)}},79753:function(e,t,n){var r=n(37356);e.exports=function(e){return!!e&&r(e.then)&&r(e.catch)}},64803:function(e){e.exports=function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}},49439:function(e,t,n){var r=n(87201),i=n(37356),o=n(66130);e.exports=r((function(e,t){var n=o(e),r=o(t);return n===r||i(e)&&e.name===r||i(t)&&t.name===n}))},32105:function(e,t,n){var r=n(84340),i=n(4828);e.exports=function(e){return r(e)||!!e&&i("concat",e)}},92715:function(e,t,n){var r=n(4828);e.exports=function(e){return!!e&&r("compose",e)}},84340:function(e){e.exports=function(e){return"string"==typeof e}},22296:function(e){e.exports=function(e){return"symbol"==typeof e}},55881:function(e,t,n){var r=n(37356);e.exports=function(e,t){return r(t)&&(e===t||e.name===t.name)}},32271:function(e,t,n){var r=n(89064);e.exports=function(e,t,n){return n.reduce((i=r(e,t),function(e,t){return e.concat(i(t))}),e.empty());var i}},50694:function(e){function t(e){return function(t,n){var r=e[n];return void 0!==r&&(t[n]=r),t}}function n(e,n){var r=Object.keys(n).reduce(t(n),{});return Object.keys(e).reduce(t(e),r)}e.exports={assign:n,filter:function(e,t){return Object.keys(t).reduce((function(n,r){return e(t[r])&&(n[r]=t[r]),n}),{})},map:function(e,t){return Object.keys(t).reduce((function(n,r){return n[r]=e(t[r]),n}),{})},set:function(e,t,r){var i;return n(((i={})[e]=t,i),r)},unset:function(e,t){return Object.keys(t).reduce((function(n,r){return void 0!==t[r]&&r!==e&&(n[r]=t[r]),n}),{})}}},21825:function(e){e.exports=function(e){var t,n;return function(){return t||(t=!0,n=e.apply(null,arguments)),n}}},81097:function(e,t,n){var r=n(37356);e.exports=function(e,t){return r(e)?e(t):e.runWith(t)}},66130:function(e,t,n){var r=n(37356);e.exports=function(e){return e&&r(e.type)?e.type():{}.toString.call(e).slice(8,-1)}},15408:function(e){var t={unk:function(){return"unknown"},All:function(){return"All"},Any:function(){return"Any"},Arrow:function(){return"Arrow"},Assign:function(){return"Assign"},Async:function(){return"Async"},Const:function(e){return"Const("+e+")"},Either:function(){return"Either"},Endo:function(){return"Endo"},Equiv:function(){return"Equiv"},First:function(){return"First"},Identity:function(){return"Identity"},IO:function(){return"IO"},Last:function(){return"Last"},List:function(){return"List"},Max:function(){return"Max"},Maybe:function(){return"Maybe"},Min:function(){return"Min"},Pair:function(){return"Pair"},Pred:function(){return"Pred"},Prod:function(){return"Prod"},Reader:function(){return"Reader"},Result:function(){return"Result"},Star:function(){return"Star"},State:function(){return"State"},Sum:function(){return"Sum"},Tuple:function(e){return e+"-Tuple"},Unit:function(){return"Unit"},Writer:function(){return"Writer"}},n=function(e){return t[e]||t.unk};e.exports={proxy:function(e,t){return{type:function(){return n(e)(t)}}},type:n,typeFn:function(e,t,r){return"crocks/"+n(e)(r)+"@"+(t||0)}}},92373:function(e,t,n){var r=n(87201),i=n(77531),o=n(50694);e.exports=r((function(e,t){if(!i(e)||!i(t))throw new TypeError("assign: Objects required for both arguments");return o.assign(e,t)}))},16896:function(e,t,n){var r=n(94709);e.exports=r.origFn("assoc")},30269:function(e,t,n){var r=n(37356),i="compose: Functions required";function o(e,t){if(!r(t))throw new TypeError(i);return function(){for(var n=[],r=arguments.length;r--;)n[r]=arguments[r];return t.call(null,e.apply(null,n))}}e.exports=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];if(!arguments.length)throw new TypeError(i);var n=e.slice().reverse(),a=n[0];if(!r(a))throw new TypeError(i);var s=n.slice(1).concat((function(e){return e}));return s.reduce(o,a)}},32207:function(e,t,n){var r=n(87201),i=n(37356);e.exports=function(e){if(!i(e))throw new TypeError("curry: Function required");return r(e)}},54547:function(e,t,n){var r=n(87201),i=n(34798),o=n(37356),a=n(52803),s=n(32271);e.exports=r((function(e,t,n){if(!a(e))throw new TypeError("mreduceMap: Monoid required for first argument");if(!o(t))throw new TypeError("mreduceMap: Function required for second argument");if(!i(n))throw new TypeError("mreduceMap: Foldable required for third argument");return s(e,t,n).valueOf()}))},74646:function(e,t,n){var r=n(87201),i=n(34798),o=n(77531);e.exports=r((function(e,t){if(!i(e))throw new TypeError("omit: Foldable required for first argument");if(!o(t))throw new TypeError("omit: Object required for second argument");return Object.keys(t).reduce(function(e,t){return function(n,r){var i;return-1===e.indexOf(r)&&void 0!==t[r]?Object.assign(n,((i={})[r]=t[r],i)):n}}(e,t),{})}))},94709:function(e,t,n){var r=n(87201),i=n(33385),o=n(65224),a=n(77531),s=n(84340),u=n(42319),c=n(50694);function l(e){return r((function(t,n,r){if(a(r)){if(s(t))return c.set(t,n,r);throw new TypeError(e+": String required for first argument when third argument is an Object")}if(i(r)){if(o(t)&&t>=0)return u.set(t,n,r);throw new TypeError(e+": Positive Integer required for first argument when third argument is an Array")}throw new TypeError(e+": Object or Array required for third argument")}))}var f=l("setProp");f.origFn=l,e.exports=f},55130:function(e,t,n){var r=n(87201),i=n(89339),o=n(81097);e.exports=r((function(e,t){if(!i(e)||!i(t))throw new TypeError("and: Preds or predicate functions required for first two arguments");return function(n){return!(!o(e,n)||!o(t,n))}}))},99325:function(e,t,n){var r=n(87201),i=n(89339),o=n(81097);e.exports=r((function(e,t){if(!i(e))throw new TypeError("not: Pred or predicate function required for first argument");return!o(e,t)}))},79963:function(e,t,n){var r=n(87201),i=n(89339),o=n(81097);e.exports=r((function(e,t){if(!i(e)||!i(t))throw new TypeError("or: Preds or predicate functions required for first two arguments");return function(n){return!(!o(e,n)&&!o(t,n))}}))},99993:function(e,t,n){var r=n(87201),i=n(83317),o=n(37356),a=n(84863);e.exports=r((function(e,t,n){if(!o(e)||!o(t))throw new TypeError("bimap: Functions required for first two arguments");if(!i(n))throw new TypeError("bimap: Bifunctor required for third argument");return(n[a.bimap]||n.bimap).call(n,e,t)}))},85745:function(e,t,n){var r=n(42319).chain,i=n(87201),o=n(33385),a=n(47455),s=n(37356),u=n(84863);e.exports=i((function(e,t){if(!s(e))throw new TypeError("chain: Chain returning function required for first argument");if(!a(t)&&!o(t))throw new TypeError("chain: Chain of the same type required for second argument");return o(t)?r(e,t):(t[u.chain]||t.chain).call(t,e)}))},46164:function(e,t,n){var r=n(87201),i=n(49439),o=n(32105),a=n(84863);e.exports=r((function(e,t){if(!o(t)||!i(e,t))throw new TypeError("concat: Semigroups of the same type required for both arguments");return(t[a.concat]||t.concat).call(t,e)}))},69879:function(e,t,n){var r=n(89064),i=n(87201),o=n(37356),a=n(60280),s=n(84863);e.exports=i((function(e,t){if(!o(e))throw new TypeError("contramap: Function required for first argument");if(o(t))return r(t,e);if(a(t))return(t[s.contramap]||t.contramap).call(t,e);throw new TypeError("contramap: Function or Contavariant Functor of the same type required for second argument")}))},33796:function(e,t,n){var r=n(89064),i=n(87201),o=n(33385),a=n(77531),s=n(37356),u=n(13264),c=n(42319),l=n(50694),f=n(84863);e.exports=i((function(e,t){if(!s(e))throw new TypeError("map: Function required for first argument");if(s(t))return r(e,t);if(o(t))return c.map(e,t);if(t&&u(t))return(t[f.map]||t.map).call(t,e);if(a(t))return l.map(e,t);throw new TypeError("map: Object, Function or Functor of the same type required for second argument")}))},4549:function(e,t,n){var r=n(87201),i=n(37356);e.exports=r((function(e,t){if(!i(e))throw new TypeError("merge: Function required for first argument");if(!t||!i(t.merge))throw new TypeError("merge: Pair or Tuple required for second argument");return t.merge(e)}))},52788:function(e,t,n){var r=n(87201),i=n(37356);e.exports=r((function(e,t){if(!t||!i(t.option))throw new TypeError("option: Last argument must be a Maybe, First or Last");return t.option(e)}))},9386:function(e,t,n){var r=n(87201),i=n(34798),o=n(37356),a=n(84863);e.exports=r((function(e,t,n){if(!o(e))throw new TypeError("reduce: Function required for first argument");if(!i(n))throw new TypeError("reduce: Foldable required for third argument");return(n[a.reduce]||n.reduce).call(n,e,t)}))},93530:function(e,t,n){e.exports=n(33385)},53485:function(e,t,n){e.exports=n(84926)},7578:function(e,t,n){e.exports=n(37356)},99062:function(e,t,n){e.exports=n(36352)},59837:function(e,t,n){e.exports=n(19724)},27632:function(e,t,n){e.exports=n(77531)},47392:function(e,t,n){e.exports=n(84340)},9449:function(e){!function(t){"use strict";var n=0,r=Math.pow(36,4),i=function(e,t){var n="000000000"+e;return n.substr(n.length-t)},o=function(){return i((Math.random()*r<<0).toString(36),4)},a=function(){return n=n<r?n:0,++n-1},s=function(){var e=(new Date).getTime().toString(36),t=s.fingerprint(),n=o()+o();return"c"+e+i(a().toString(36),4)+t+n};s.slug=function(){var e,t=(new Date).getTime().toString(36),n=s.fingerprint().slice(0,1)+s.fingerprint().slice(-1),r=o().slice(-2);return e=a().toString(36).slice(-4),t.slice(-2)+e+n+r},s.globalCount=function(){var e=function(){var e,t=0;for(e in window)t++;return t}();return s.globalCount=function(){return e},e},s.fingerprint=function(){return i((navigator.mimeTypes.length+navigator.userAgent.length).toString(36)+s.globalCount().toString(36),4)},t.register?t.register("cuid",s):e.exports=s}(this.applitude||this)},46138:function(e,t,n){var r=n(53850),i=n(45863),o=n(69933);o.elementNames.__proto__=null,o.attributeNames.__proto__=null;var a={__proto__:null,style:!0,script:!0,xmp:!0,iframe:!0,noembed:!0,noframes:!0,plaintext:!0,noscript:!0};var s={__proto__:null,area:!0,base:!0,basefont:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,isindex:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0},u=e.exports=function(e,t){Array.isArray(e)||e.cheerio||(e=[e]),t=t||{};for(var n="",i=0;i<e.length;i++){var o=e[i];"root"===o.type?n+=u(o.children,t):r.isTag(o)?n+=l(o,t):o.type===r.Directive?n+=f(o):o.type===r.Comment?n+=h(o):o.type===r.CDATA?n+=p(o):n+=d(o,t)}return n},c=["mi","mo","mn","ms","mtext","annotation-xml","foreignObject","desc","title"];function l(e,t){"foreign"===t.xmlMode&&(e.name=o.elementNames[e.name]||e.name,e.parent&&c.indexOf(e.parent.name)>=0&&(t=Object.assign({},t,{xmlMode:!1}))),!t.xmlMode&&["svg","math"].indexOf(e.name)>=0&&(t=Object.assign({},t,{xmlMode:"foreign"}));var n="<"+e.name,r=function(e,t){if(e){var n,r="";for(var a in e)n=e[a],r&&(r+=" "),"foreign"===t.xmlMode&&(a=o.attributeNames[a]||a),r+=a,(null!==n&&""!==n||t.xmlMode)&&(r+='="'+(t.decodeEntities?i.encodeXML(n):n.replace(/\"/g,"&quot;"))+'"');return r}}(e.attribs,t);return r&&(n+=" "+r),!t.xmlMode||e.children&&0!==e.children.length?(n+=">",e.children&&(n+=u(e.children,t)),s[e.name]&&!t.xmlMode||(n+="</"+e.name+">")):n+="/>",n}function f(e){return"<"+e.data+">"}function d(e,t){var n=e.data||"";return!t.decodeEntities||e.parent&&e.parent.name in a||(n=i.encodeXML(n)),n}function p(e){return"<![CDATA["+e.children[0].data+"]]>"}function h(e){return"\x3c!--"+e.data+"--\x3e"}},53850:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isTag=function(e){return"tag"===e.type||"script"===e.type||"style"===e.type},t.Text="text",t.Directive="directive",t.Comment="comment",t.Script="script",t.Style="style",t.Tag="tag",t.CDATA="cdata",t.Doctype="doctype"},64431:function(e){e.exports={Text:"text",Directive:"directive",Comment:"comment",Script:"script",Style:"style",Tag:"tag",CDATA:"cdata",Doctype:"doctype",isTag:function(e){return"tag"===e.type||"script"===e.type||"style"===e.type}}},12417:function(e,t,n){var r=e.exports;[n(43346),n(85010),n(26765),n(98043),n(23905),n(74975)].forEach((function(e){Object.keys(e).forEach((function(t){r[t]=e[t].bind(r)}))}))},74975:function(e,t){t.removeSubsets=function(e){for(var t,n,r,i=e.length;--i>-1;){for(t=n=e[i],e[i]=null,r=!0;n;){if(e.indexOf(n)>-1){r=!1,e.splice(i,1);break}n=n.parent}r&&(e[i]=t)}return e};var n=1,r=2,i=4,o=8,a=16,s=t.compareDocumentPosition=function(e,t){var s,u,c,l,f,d,p=[],h=[];if(e===t)return 0;for(s=e;s;)p.unshift(s),s=s.parent;for(s=t;s;)h.unshift(s),s=s.parent;for(d=0;p[d]===h[d];)d++;return 0===d?n:(c=(u=p[d-1]).children,l=p[d],f=h[d],c.indexOf(l)>c.indexOf(f)?u===t?i|a:i:u===e?r|o:r)};t.uniqueSort=function(e){var t,n,o=e.length;for(e=e.slice();--o>-1;)t=e[o],(n=e.indexOf(t))>-1&&n<o&&e.splice(o,1);return e.sort((function(e,t){var n=s(e,t);return n&r?-1:n&i?1:0})),e}},23905:function(e,t,n){var r=n(64431),i=t.isTag=r.isTag;t.testElement=function(e,t){for(var n in e)if(e.hasOwnProperty(n)){if("tag_name"===n){if(!i(t)||!e.tag_name(t.name))return!1}else if("tag_type"===n){if(!e.tag_type(t.type))return!1}else if("tag_contains"===n){if(i(t)||!e.tag_contains(t.data))return!1}else if(!t.attribs||!e[n](t.attribs[n]))return!1}else;return!0};var o={tag_name:function(e){return"function"==typeof e?function(t){return i(t)&&e(t.name)}:"*"===e?i:function(t){return i(t)&&t.name===e}},tag_type:function(e){return"function"==typeof e?function(t){return e(t.type)}:function(t){return t.type===e}},tag_contains:function(e){return"function"==typeof e?function(t){return!i(t)&&e(t.data)}:function(t){return!i(t)&&t.data===e}}};function a(e,t){return"function"==typeof t?function(n){return n.attribs&&t(n.attribs[e])}:function(n){return n.attribs&&n.attribs[e]===t}}function s(e,t){return function(n){return e(n)||t(n)}}t.getElements=function(e,t,n,r){var i=Object.keys(e).map((function(t){var n=e[t];return t in o?o[t](n):a(t,n)}));return 0===i.length?[]:this.filter(i.reduce(s),t,n,r)},t.getElementById=function(e,t,n){return Array.isArray(t)||(t=[t]),this.findOne(a("id",e),t,!1!==n)},t.getElementsByTagName=function(e,t,n,r){return this.filter(o.tag_name(e),t,n,r)},t.getElementsByTagType=function(e,t,n,r){return this.filter(o.tag_type(e),t,n,r)}},26765:function(e,t){t.removeElement=function(e){if(e.prev&&(e.prev.next=e.next),e.next&&(e.next.prev=e.prev),e.parent){var t=e.parent.children;t.splice(t.lastIndexOf(e),1)}},t.replaceElement=function(e,t){var n=t.prev=e.prev;n&&(n.next=t);var r=t.next=e.next;r&&(r.prev=t);var i=t.parent=e.parent;if(i){var o=i.children;o[o.lastIndexOf(e)]=t}},t.appendChild=function(e,t){if(t.parent=e,1!==e.children.push(t)){var n=e.children[e.children.length-2];n.next=t,t.prev=n,t.next=null}},t.append=function(e,t){var n=e.parent,r=e.next;if(t.next=r,t.prev=e,e.next=t,t.parent=n,r){if(r.prev=t,n){var i=n.children;i.splice(i.lastIndexOf(r),0,t)}}else n&&n.children.push(t)},t.prepend=function(e,t){var n=e.parent;if(n){var r=n.children;r.splice(r.lastIndexOf(e),0,t)}e.prev&&(e.prev.next=t),t.parent=n,t.prev=e.prev,t.next=e,e.prev=t}},98043:function(e,t,n){var r=n(64431).isTag;function i(e,t,n,r){for(var o,a=[],s=0,u=t.length;s<u&&!(e(t[s])&&(a.push(t[s]),--r<=0))&&(o=t[s].children,!(n&&o&&o.length>0&&(o=i(e,o,n,r),a=a.concat(o),(r-=o.length)<=0)));s++);return a}e.exports={filter:function(e,t,n,r){Array.isArray(t)||(t=[t]);"number"==typeof r&&isFinite(r)||(r=1/0);return i(e,t,!1!==n,r)},find:i,findOneChild:function(e,t){for(var n=0,r=t.length;n<r;n++)if(e(t[n]))return t[n];return null},findOne:function e(t,n){for(var i=null,o=0,a=n.length;o<a&&!i;o++)r(n[o])&&(t(n[o])?i=n[o]:n[o].children.length>0&&(i=e(t,n[o].children)));return i},existsOne:function e(t,n){for(var i=0,o=n.length;i<o;i++)if(r(n[i])&&(t(n[i])||n[i].children.length>0&&e(t,n[i].children)))return!0;return!1},findAll:function(e,t){var n=[],i=t.slice();for(;i.length;){var o=i.shift();r(o)&&(o.children&&o.children.length>0&&i.unshift.apply(i,o.children),e(o)&&n.push(o))}return n}}},43346:function(e,t,n){var r=n(64431),i=n(46138),o=r.isTag;e.exports={getInnerHTML:function(e,t){return e.children?e.children.map((function(e){return i(e,t)})).join(""):""},getOuterHTML:i,getText:function e(t){return Array.isArray(t)?t.map(e).join(""):o(t)?"br"===t.name?"\n":e(t.children):t.type===r.CDATA?e(t.children):t.type===r.Text?t.data:""}}},85010:function(e,t){var n=t.getChildren=function(e){return e.children},r=t.getParent=function(e){return e.parent};t.getSiblings=function(e){var t=r(e);return t?n(t):[e]},t.getAttributeValue=function(e,t){return e.attribs&&e.attribs[t]},t.hasAttrib=function(e,t){return!!e.attribs&&hasOwnProperty.call(e.attribs,t)},t.getName=function(e){return e.name}},62988:function(e,t,n){var r=n(61755),i=n(26665).each;function o(e,t){this.query=e,this.isUnconditional=t,this.handlers=[],this.mql=window.matchMedia(e);var n=this;this.listener=function(e){n.mql=e.currentTarget||e,n.assess()},this.mql.addListener(this.listener)}o.prototype={constuctor:o,addHandler:function(e){var t=new r(e);this.handlers.push(t),this.matches()&&t.on()},removeHandler:function(e){var t=this.handlers;i(t,(function(n,r){if(n.equals(e))return n.destroy(),!t.splice(r,1)}))},matches:function(){return this.mql.matches||this.isUnconditional},clear:function(){i(this.handlers,(function(e){e.destroy()})),this.mql.removeListener(this.listener),this.handlers.length=0},assess:function(){var e=this.matches()?"on":"off";i(this.handlers,(function(t){t[e]()}))}},e.exports=o},38177:function(e,t,n){var r=n(62988),i=n(26665),o=i.each,a=i.isFunction,s=i.isArray;function u(){if(!window.matchMedia)throw new Error("matchMedia not present, legacy browsers require a polyfill");this.queries={},this.browserIsIncapable=!window.matchMedia("only all").matches}u.prototype={constructor:u,register:function(e,t,n){var i=this.queries,u=n&&this.browserIsIncapable;return i[e]||(i[e]=new r(e,u)),a(t)&&(t={match:t}),s(t)||(t=[t]),o(t,(function(t){a(t)&&(t={match:t}),i[e].addHandler(t)})),this},unregister:function(e,t){var n=this.queries[e];return n&&(t?n.removeHandler(t):(n.clear(),delete this.queries[e])),this}},e.exports=u},61755:function(e){function t(e){this.options=e,!e.deferSetup&&this.setup()}t.prototype={constructor:t,setup:function(){this.options.setup&&this.options.setup(),this.initialised=!0},on:function(){!this.initialised&&this.setup(),this.options.match&&this.options.match()},off:function(){this.options.unmatch&&this.options.unmatch()},destroy:function(){this.options.destroy?this.options.destroy():this.off()},equals:function(e){return this.options===e||this.options.match===e}},e.exports=t},26665:function(e){e.exports={isFunction:function(e){return"function"==typeof e},isArray:function(e){return"[object Array]"===Object.prototype.toString.apply(e)},each:function(e,t){for(var n=0,r=e.length;n<r&&!1!==t(e[n],n);n++);}}},24974:function(e,t,n){var r=n(38177);e.exports=new r},44076:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var i=r(n(59323)),o=r(n(29591)),a=r(n(2586)),s=r(n(26));function u(e){var t=Object.keys(e).join("|"),n=l(e),r=new RegExp("&(?:"+(t+="|#[xX][\\da-fA-F]+|#\\d+")+");","g");return function(e){return String(e).replace(r,n)}}t.decodeXML=u(a.default),t.decodeHTMLStrict=u(i.default);var c=function(e,t){return e<t?1:-1};function l(e){return function(t){return"#"===t.charAt(1)?"X"===t.charAt(2)||"x"===t.charAt(2)?s.default(parseInt(t.substr(3),16)):s.default(parseInt(t.substr(2),10)):e[t.slice(1,-1)]}}t.decodeHTML=function(){for(var e=Object.keys(o.default).sort(c),t=Object.keys(i.default).sort(c),n=0,r=0;n<t.length;n++)e[r]===t[n]?(t[n]+=";?",r++):t[n]+=";";var a=new RegExp("&(?:"+t.join("|")+"|#[xX][\\da-fA-F]+;?|#\\d+;?)","g"),s=l(i.default);function u(e){return";"!==e.substr(-1)&&(e+=";"),s(e)}return function(e){return String(e).replace(a,u)}}()},26:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var i=r(n(33600));t.default=function(e){if(e>=55296&&e<=57343||e>1114111)return"�";e in i.default&&(e=i.default[e]);var t="";return e>65535&&(e-=65536,t+=String.fromCharCode(e>>>10&1023|55296),e=56320|1023&e),t+=String.fromCharCode(e)}},87322:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var i=u(r(n(2586)).default),o=c(i);t.encodeXML=h(i,o);var a=u(r(n(59323)).default),s=c(a);function u(e){return Object.keys(e).sort().reduce((function(t,n){return t[e[n]]="&"+n+";",t}),{})}function c(e){var t=[],n=[];return Object.keys(e).forEach((function(e){return 1===e.length?t.push("\\"+e):n.push(e)})),n.unshift("["+t.join("")+"]"),new RegExp(n.join("|"),"g")}t.encodeHTML=h(a,s);var l=/[^\0-\x7F]/g,f=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g;function d(e){return"&#x"+e.charCodeAt(0).toString(16).toUpperCase()+";"}function p(e,t){return"&#x"+(1024*(e.charCodeAt(0)-55296)+e.charCodeAt(1)-56320+65536).toString(16).toUpperCase()+";"}function h(e,t){return function(n){return n.replace(t,(function(t){return e[t]})).replace(f,p).replace(l,d)}}var g=c(i);t.escape=function(e){return e.replace(g,d).replace(f,p).replace(l,d)}},45863:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(44076),i=n(87322);t.decode=function(e,t){return(!t||t<=0?r.decodeXML:r.decodeHTML)(e)},t.decodeStrict=function(e,t){return(!t||t<=0?r.decodeXML:r.decodeHTMLStrict)(e)},t.encode=function(e,t){return(!t||t<=0?i.encodeXML:i.encodeHTML)(e)};var o=n(87322);t.encodeXML=o.encodeXML,t.encodeHTML=o.encodeHTML,t.escape=o.escape,t.encodeHTML4=o.encodeHTML,t.encodeHTML5=o.encodeHTML;var a=n(44076);t.decodeXML=a.decodeXML,t.decodeHTML=a.decodeHTML,t.decodeHTMLStrict=a.decodeHTMLStrict,t.decodeHTML4=a.decodeHTML,t.decodeHTML5=a.decodeHTML,t.decodeHTML4Strict=a.decodeHTMLStrict,t.decodeHTML5Strict=a.decodeHTMLStrict,t.decodeXMLStrict=a.decodeXML},88541:function(e,t){var n,r,i;!function(o){"use strict";var a=o.setTimeout,s=o.clearTimeout,u=o.XMLHttpRequest,c=o.XDomainRequest,l=o.ActiveXObject,f=o.EventSource,d=o.document,p=o.Promise,h=o.fetch,g=o.Response,m=o.TextDecoder,y=o.TextEncoder,v=o.AbortController;if("undefined"==typeof window||"readyState"in d||null!=d.body||(d.readyState="loading",window.addEventListener("load",(function(e){d.readyState="complete"}),!1)),null==u&&(u=function(){return new l("Microsoft.XMLHTTP")}),null==Object.create&&(Object.create=function(e){function t(){}return t.prototype=e,new t}),null==v){var b=h;h=function(e,t){var n=t.signal;return b(e,{headers:t.headers,credentials:t.credentials,cache:t.cache}).then((function(e){var t=e.body.getReader();return n._reader=t,n._aborted&&n._reader.cancel(),{status:e.status,statusText:e.statusText,headers:e.headers,body:{getReader:function(){return t}}}}))},v=function(){this.signal={_reader:null,_aborted:!1},this.abort=function(){null!=this.signal._reader&&this.signal._reader.cancel(),this.signal._aborted=!0}}}function _(){this.bitsNeeded=0,this.codePoint=0}_.prototype.decode=function(e){function t(e,t,n){if(1===n)return e>=128>>t&&e<<t<=2047;if(2===n)return e>=2048>>t&&e<<t<=55295||e>=57344>>t&&e<<t<=65535;if(3===n)return e>=65536>>t&&e<<t<=1114111;throw new Error}function n(e,t){if(6===e)return t>>6>15?3:t>31?2:1;if(12===e)return t>15?3:2;if(18===e)return 3;throw new Error}for(var r=65533,i="",o=this.bitsNeeded,a=this.codePoint,s=0;s<e.length;s+=1){var u=e[s];0!==o&&(u<128||u>191||!t(a<<6|63&u,o-6,n(o,a)))&&(o=0,a=r,i+=String.fromCharCode(a)),0===o?(u>=0&&u<=127?(o=0,a=u):u>=192&&u<=223?(o=6,a=31&u):u>=224&&u<=239?(o=12,a=15&u):u>=240&&u<=247?(o=18,a=7&u):(o=0,a=r),0===o||t(a,o,n(o,a))||(o=0,a=r)):(o-=6,a=a<<6|63&u),0===o&&(a<=65535?i+=String.fromCharCode(a):(i+=String.fromCharCode(55296+(a-65535-1>>10)),i+=String.fromCharCode(56320+(a-65535-1&1023))))}return this.bitsNeeded=o,this.codePoint=a,i};null!=m&&null!=y&&function(){try{return"test"===(new m).decode((new y).encode("test"),{stream:!0})}catch(e){console.debug("TextDecoder does not support streaming option. Using polyfill instead: "+e)}return!1}()||(m=_);var w=function(){};function T(e){this.withCredentials=!1,this.readyState=0,this.status=0,this.statusText="",this.responseText="",this.onprogress=w,this.onload=w,this.onerror=w,this.onreadystatechange=w,this._contentType="",this._xhr=e,this._sendTimeout=0,this._abort=w}function x(e){return e.replace(/[A-Z]/g,(function(e){return String.fromCharCode(e.charCodeAt(0)+32)}))}function S(e){for(var t=Object.create(null),n=e.split("\r\n"),r=0;r<n.length;r+=1){var i=n[r].split(": "),o=i.shift(),a=i.join(": ");t[x(o)]=a}this._map=t}function k(){}function E(e){this._headers=e}function O(){}function C(){this._listeners=Object.create(null)}function L(e){a((function(){throw e}),0)}function A(e){this.type=e,this.target=void 0}function I(e,t){A.call(this,e),this.data=t.data,this.lastEventId=t.lastEventId}function P(e,t){A.call(this,e),this.status=t.status,this.statusText=t.statusText,this.headers=t.headers}function M(e,t){A.call(this,e),this.error=t.error}T.prototype.open=function(e,t){this._abort(!0);var n=this,r=this._xhr,i=1,o=0;this._abort=function(e){0!==n._sendTimeout&&(s(n._sendTimeout),n._sendTimeout=0),1!==i&&2!==i&&3!==i||(i=4,r.onload=w,r.onerror=w,r.onabort=w,r.onprogress=w,r.onreadystatechange=w,r.abort(),0!==o&&(s(o),o=0),e||(n.readyState=4,n.onabort(null),n.onreadystatechange())),i=0};var c=function(){if(1===i){var e=0,t="",o=void 0;if("contentType"in r)e=200,t="OK",o=r.contentType;else try{e=r.status,t=r.statusText,o=r.getResponseHeader("Content-Type")}catch(n){e=0,t="",o=void 0}0!==e&&(i=2,n.readyState=2,n.status=e,n.statusText=t,n._contentType=o,n.onreadystatechange())}},l=function(){if(c(),2===i||3===i){i=3;var e="";try{e=r.responseText}catch(e){}n.readyState=3,n.responseText=e,n.onprogress()}},f=function(e,t){if(null!=t&&null!=t.preventDefault||(t={preventDefault:w}),l(),1===i||2===i||3===i){if(i=4,0!==o&&(s(o),o=0),n.readyState=4,"load"===e)n.onload(t);else if("error"===e)n.onerror(t);else{if("abort"!==e)throw new TypeError;n.onabort(t)}n.onreadystatechange()}},d=function(){o=a((function(){d()}),500),3===r.readyState&&l()};"onload"in r&&(r.onload=function(e){f("load",e)}),"onerror"in r&&(r.onerror=function(e){f("error",e)}),"onabort"in r&&(r.onabort=function(e){f("abort",e)}),"onprogress"in r&&(r.onprogress=l),"onreadystatechange"in r&&(r.onreadystatechange=function(e){!function(e){null!=r&&(4===r.readyState?"onload"in r&&"onerror"in r&&"onabort"in r||f(""===r.responseText?"error":"load",e):3===r.readyState?"onprogress"in r||l():2===r.readyState&&c())}(e)}),!("contentType"in r)&&"ontimeout"in u.prototype||(t+=(-1===t.indexOf("?")?"?":"&")+"padding=true"),r.open(e,t,!0),"readyState"in r&&(o=a((function(){d()}),0))},T.prototype.abort=function(){this._abort(!1)},T.prototype.getResponseHeader=function(e){return this._contentType},T.prototype.setRequestHeader=function(e,t){var n=this._xhr;"setRequestHeader"in n&&n.setRequestHeader(e,t)},T.prototype.getAllResponseHeaders=function(){return null!=this._xhr.getAllResponseHeaders&&this._xhr.getAllResponseHeaders()||""},T.prototype.send=function(){if("ontimeout"in u.prototype&&("sendAsBinary"in u.prototype||"mozAnon"in u.prototype)||null==d||null==d.readyState||"complete"===d.readyState){var e=this._xhr;"withCredentials"in e&&(e.withCredentials=this.withCredentials);try{e.send(void 0)}catch(e){throw e}}else{var t=this;t._sendTimeout=a((function(){t._sendTimeout=0,t.send()}),4)}},S.prototype.get=function(e){return this._map[x(e)]},null!=u&&null==u.HEADERS_RECEIVED&&(u.HEADERS_RECEIVED=2),k.prototype.open=function(e,t,n,r,i,o,a){e.open("GET",i);var s=0;for(var c in e.onprogress=function(){var t=e.responseText.slice(s);s+=t.length,n(t)},e.onerror=function(e){e.preventDefault(),r(new Error("NetworkError"))},e.onload=function(){r(null)},e.onabort=function(){r(null)},e.onreadystatechange=function(){if(e.readyState===u.HEADERS_RECEIVED){var n=e.status,r=e.statusText,i=e.getResponseHeader("Content-Type"),o=e.getAllResponseHeaders();t(n,r,i,new S(o))}},e.withCredentials=o,a)Object.prototype.hasOwnProperty.call(a,c)&&e.setRequestHeader(c,a[c]);return e.send(),e},E.prototype.get=function(e){return this._headers.get(e)},O.prototype.open=function(e,t,n,r,i,o,a){var s=null,u=new v,c=u.signal,l=new m;return h(i,{headers:a,credentials:o?"include":"same-origin",signal:c,cache:"no-store"}).then((function(e){return s=e.body.getReader(),t(e.status,e.statusText,e.headers.get("Content-Type"),new E(e.headers)),new p((function(e,t){var r=function(){s.read().then((function(t){if(t.done)e(void 0);else{var i=l.decode(t.value,{stream:!0});n(i),r()}})).catch((function(e){t(e)}))};r()}))})).catch((function(e){return"AbortError"===e.name?void 0:e})).then((function(e){r(e)})),{abort:function(){null!=s&&s.cancel(),u.abort()}}},C.prototype.dispatchEvent=function(e){e.target=this;var t=this._listeners[e.type];if(null!=t)for(var n=t.length,r=0;r<n;r+=1){var i=t[r];try{"function"==typeof i.handleEvent?i.handleEvent(e):i.call(this,e)}catch(e){L(e)}}},C.prototype.addEventListener=function(e,t){e=String(e);var n=this._listeners,r=n[e];null==r&&(r=[],n[e]=r);for(var i=!1,o=0;o<r.length;o+=1)r[o]===t&&(i=!0);i||r.push(t)},C.prototype.removeEventListener=function(e,t){e=String(e);var n=this._listeners,r=n[e];if(null!=r){for(var i=[],o=0;o<r.length;o+=1)r[o]!==t&&i.push(r[o]);0===i.length?delete n[e]:n[e]=i}},I.prototype=Object.create(A.prototype),P.prototype=Object.create(A.prototype),M.prototype=Object.create(A.prototype);var R=-1,j=-1,D=/^text\/event\-stream;?(\s*charset\=utf\-8)?$/i,N=function(e,t){var n=null==e?t:parseInt(e,10);return n!=n&&(n=t),B(n)},B=function(e){return Math.min(Math.max(e,1e3),18e6)},U=function(e,t,n){try{"function"==typeof t&&t.call(e,n)}catch(e){L(e)}};function F(e,t){C.call(this),t=t||{},this.onopen=void 0,this.onmessage=void 0,this.onerror=void 0,this.url=void 0,this.readyState=void 0,this.withCredentials=void 0,this.headers=void 0,this._close=void 0,function(e,t,n){t=String(t);var r=Boolean(n.withCredentials),i=B(1e3),o=N(n.heartbeatTimeout,45e3),l="",f=i,d=!1,p=0,h=n.headers||{},g=n.Transport,m=z&&null==g?void 0:new T(null!=g?new g:null!=u&&"withCredentials"in u.prototype||null==c?new u:new c),y=null!=g&&"string"!=typeof g?new g:null==m?new O:new k,v=void 0,b=0,_=R,w="",x="",S="",E="",C=0,L=0,A=0,F=function(t,n,r,o){if(0===_)if(200===t&&null!=r&&D.test(r)){_=1,d=!0,f=i,e.readyState=1;var a=new P("open",{status:t,statusText:n,headers:o});e.dispatchEvent(a),U(e,e.onopen,a)}else{var s="";200!==t?(n&&(n=n.replace(/\s+/g," ")),s="EventSource's response has a status "+t+" "+n+" that is not 200. Aborting the connection."):s="EventSource's response has a Content-Type specifying an unsupported type: "+(null==r?"-":r.replace(/\s+/g," "))+". Aborting the connection.",q();a=new P("error",{status:t,statusText:n,headers:o});e.dispatchEvent(a),U(e,e.onerror,a),console.error(s)}},H=function(t){if(1===_){for(var n=-1,r=0;r<t.length;r+=1){(h=t.charCodeAt(r))!=="\n".charCodeAt(0)&&h!=="\r".charCodeAt(0)||(n=r)}var u=(-1!==n?E:"")+t.slice(0,n+1);E=(-1===n?E:"")+t.slice(n+1),""!==t&&(d=!0,p+=t.length);for(var c=0;c<u.length;c+=1){var h=u.charCodeAt(c);if(C===j&&h==="\n".charCodeAt(0))C=0;else if(C===j&&(C=0),h==="\r".charCodeAt(0)||h==="\n".charCodeAt(0)){if(0!==C){1===C&&(A=c+1);var g=u.slice(L,A-1),m=u.slice(A+(A<c&&u.charCodeAt(A)===" ".charCodeAt(0)?1:0),c);"data"===g?(w+="\n",w+=m):"id"===g?x=m:"event"===g?S=m:"retry"===g?(i=N(m,i),f=i):"heartbeatTimeout"===g&&(o=N(m,o),0!==b&&(s(b),b=a((function(){V()}),o)))}if(0===C){if(""!==w){l=x,""===S&&(S="message");var y=new I(S,{data:w.slice(1),lastEventId:x});if(e.dispatchEvent(y),"open"===S?U(e,e.onopen,y):"message"===S?U(e,e.onmessage,y):"error"===S&&U(e,e.onerror,y),2===_)return}w="",S=""}C=h==="\r".charCodeAt(0)?j:0}else 0===C&&(L=c,C=1),1===C?h===":".charCodeAt(0)&&(A=c+1,C=2):2===C&&(C=3)}}},Z=function(t){if(1===_||0===_){_=R,0!==b&&(s(b),b=0),b=a((function(){V()}),f),f=B(Math.min(16*i,2*f)),e.readyState=0;var n=new M("error",{error:t});e.dispatchEvent(n),U(e,e.onerror,n)}},q=function(){_=2,null!=v&&(v.abort(),v=void 0),0!==b&&(s(b),b=0),e.readyState=2},V=function(){if(b=0,_===R){d=!1,p=0,b=a((function(){V()}),o),_=0,w="",S="",x=l,E="",L=0,A=0,C=0;var n=t;"data:"!==t.slice(0,5)&&"blob:"!==t.slice(0,5)&&""!==l&&(n+=(-1===t.indexOf("?")?"?":"&")+"lastEventId="+encodeURIComponent(l));var r=e.withCredentials,i={Accept:"text/event-stream"},s=e.headers;if(null!=s)for(var u in s)Object.prototype.hasOwnProperty.call(s,u)&&(i[u]=s[u]);try{v=y.open(m,F,H,Z,n,r,i)}catch(e){throw q(),e}}else d||null==v?(d=!1,b=a((function(){V()}),o)):(Z(new Error("No activity within "+o+" milliseconds. "+(0===_?"No response received.":p+" chars received.")+" Reconnecting.")),null!=v&&(v.abort(),v=void 0))};e.url=t,e.readyState=0,e.withCredentials=r,e.headers=h,e._close=q,V()}(this,e,t)}var z=null!=h&&null!=g&&"body"in g.prototype;F.prototype=Object.create(C.prototype),F.prototype.CONNECTING=0,F.prototype.OPEN=1,F.prototype.CLOSED=2,F.prototype.close=function(){this._close()},F.CONNECTING=0,F.OPEN=1,F.CLOSED=2,F.prototype.withCredentials=void 0;var H=f;null==u||null!=f&&"withCredentials"in f.prototype||(H=F),function(o){if("object"==typeof e.exports){var a=o(t);void 0!==a&&(e.exports=a)}else r=[t],void 0===(i="function"==typeof(n=o)?n.apply(t,r):n)||(e.exports=i)}((function(e){e.EventSourcePolyfill=F,e.NativeEventSource=f,e.EventSource=H}))}("undefined"!=typeof window?window:"undefined"!=typeof self?self:this)},26729:function(e){"use strict";var t=Object.prototype.hasOwnProperty,n="~";function r(){}function i(e,t,n){this.fn=e,this.context=t,this.once=n||!1}function o(e,t,r,o,a){if("function"!=typeof r)throw new TypeError("The listener must be a function");var s=new i(r,o||e,a),u=n?n+t:t;return e._events[u]?e._events[u].fn?e._events[u]=[e._events[u],s]:e._events[u].push(s):(e._events[u]=s,e._eventsCount++),e}function a(e,t){0==--e._eventsCount?e._events=new r:delete e._events[t]}function s(){this._events=new r,this._eventsCount=0}Object.create&&(r.prototype=Object.create(null),(new r).__proto__||(n=!1)),s.prototype.eventNames=function(){var e,r,i=[];if(0===this._eventsCount)return i;for(r in e=this._events)t.call(e,r)&&i.push(n?r.slice(1):r);return Object.getOwnPropertySymbols?i.concat(Object.getOwnPropertySymbols(e)):i},s.prototype.listeners=function(e){var t=n?n+e:e,r=this._events[t];if(!r)return[];if(r.fn)return[r.fn];for(var i=0,o=r.length,a=new Array(o);i<o;i++)a[i]=r[i].fn;return a},s.prototype.listenerCount=function(e){var t=n?n+e:e,r=this._events[t];return r?r.fn?1:r.length:0},s.prototype.emit=function(e,t,r,i,o,a){var s=n?n+e:e;if(!this._events[s])return!1;var u,c,l=this._events[s],f=arguments.length;if(l.fn){switch(l.once&&this.removeListener(e,l.fn,void 0,!0),f){case 1:return l.fn.call(l.context),!0;case 2:return l.fn.call(l.context,t),!0;case 3:return l.fn.call(l.context,t,r),!0;case 4:return l.fn.call(l.context,t,r,i),!0;case 5:return l.fn.call(l.context,t,r,i,o),!0;case 6:return l.fn.call(l.context,t,r,i,o,a),!0}for(c=1,u=new Array(f-1);c<f;c++)u[c-1]=arguments[c];l.fn.apply(l.context,u)}else{var d,p=l.length;for(c=0;c<p;c++)switch(l[c].once&&this.removeListener(e,l[c].fn,void 0,!0),f){case 1:l[c].fn.call(l[c].context);break;case 2:l[c].fn.call(l[c].context,t);break;case 3:l[c].fn.call(l[c].context,t,r);break;case 4:l[c].fn.call(l[c].context,t,r,i);break;default:if(!u)for(d=1,u=new Array(f-1);d<f;d++)u[d-1]=arguments[d];l[c].fn.apply(l[c].context,u)}}return!0},s.prototype.on=function(e,t,n){return o(this,e,t,n,!1)},s.prototype.once=function(e,t,n){return o(this,e,t,n,!0)},s.prototype.removeListener=function(e,t,r,i){var o=n?n+e:e;if(!this._events[o])return this;if(!t)return a(this,o),this;var s=this._events[o];if(s.fn)s.fn!==t||i&&!s.once||r&&s.context!==r||a(this,o);else{for(var u=0,c=[],l=s.length;u<l;u++)(s[u].fn!==t||i&&!s[u].once||r&&s[u].context!==r)&&c.push(s[u]);c.length?this._events[o]=1===c.length?c[0]:c:a(this,o)}return this},s.prototype.removeAllListeners=function(e){var t;return e?(t=n?n+e:e,this._events[t]&&a(this,t)):(this._events=new r,this._eventsCount=0),this},s.prototype.off=s.prototype.removeListener,s.prototype.addListener=s.prototype.on,s.prefixed=n,s.EventEmitter=s,e.exports=s},17187:function(e){"use strict";var t,n="object"==typeof Reflect?Reflect:null,r=n&&"function"==typeof n.apply?n.apply:function(e,t,n){return Function.prototype.apply.call(e,t,n)};t=n&&"function"==typeof n.ownKeys?n.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)};var i=Number.isNaN||function(e){return e!=e};function o(){o.init.call(this)}e.exports=o,e.exports.once=function(e,t){return new Promise((function(n,r){function i(n){e.removeListener(t,o),r(n)}function o(){"function"==typeof e.removeListener&&e.removeListener("error",i),n([].slice.call(arguments))}g(e,t,o,{once:!0}),"error"!==t&&function(e,t,n){"function"==typeof e.on&&g(e,"error",t,n)}(e,i,{once:!0})}))},o.EventEmitter=o,o.prototype._events=void 0,o.prototype._eventsCount=0,o.prototype._maxListeners=void 0;var a=10;function s(e){if("function"!=typeof e)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}function u(e){return void 0===e._maxListeners?o.defaultMaxListeners:e._maxListeners}function c(e,t,n,r){var i,o,a;if(s(n),void 0===(o=e._events)?(o=e._events=Object.create(null),e._eventsCount=0):(void 0!==o.newListener&&(e.emit("newListener",t,n.listener?n.listener:n),o=e._events),a=o[t]),void 0===a)a=o[t]=n,++e._eventsCount;else if("function"==typeof a?a=o[t]=r?[n,a]:[a,n]:r?a.unshift(n):a.push(n),(i=u(e))>0&&a.length>i&&!a.warned){a.warned=!0;var c=new Error("Possible EventEmitter memory leak detected. "+a.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");c.name="MaxListenersExceededWarning",c.emitter=e,c.type=t,c.count=a.length,function(e){console&&console.warn&&console.warn(e)}(c)}return e}function l(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function f(e,t,n){var r={fired:!1,wrapFn:void 0,target:e,type:t,listener:n},i=l.bind(r);return i.listener=n,r.wrapFn=i,i}function d(e,t,n){var r=e._events;if(void 0===r)return[];var i=r[t];return void 0===i?[]:"function"==typeof i?n?[i.listener||i]:[i]:n?function(e){for(var t=new Array(e.length),n=0;n<t.length;++n)t[n]=e[n].listener||e[n];return t}(i):h(i,i.length)}function p(e){var t=this._events;if(void 0!==t){var n=t[e];if("function"==typeof n)return 1;if(void 0!==n)return n.length}return 0}function h(e,t){for(var n=new Array(t),r=0;r<t;++r)n[r]=e[r];return n}function g(e,t,n,r){if("function"==typeof e.on)r.once?e.once(t,n):e.on(t,n);else{if("function"!=typeof e.addEventListener)throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof e);e.addEventListener(t,(function i(o){r.once&&e.removeEventListener(t,i),n(o)}))}}Object.defineProperty(o,"defaultMaxListeners",{enumerable:!0,get:function(){return a},set:function(e){if("number"!=typeof e||e<0||i(e))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+e+".");a=e}}),o.init=function(){void 0!==this._events&&this._events!==Object.getPrototypeOf(this)._events||(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},o.prototype.setMaxListeners=function(e){if("number"!=typeof e||e<0||i(e))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+e+".");return this._maxListeners=e,this},o.prototype.getMaxListeners=function(){return u(this)},o.prototype.emit=function(e){for(var t=[],n=1;n<arguments.length;n++)t.push(arguments[n]);var i="error"===e,o=this._events;if(void 0!==o)i=i&&void 0===o.error;else if(!i)return!1;if(i){var a;if(t.length>0&&(a=t[0]),a instanceof Error)throw a;var s=new Error("Unhandled error."+(a?" ("+a.message+")":""));throw s.context=a,s}var u=o[e];if(void 0===u)return!1;if("function"==typeof u)r(u,this,t);else{var c=u.length,l=h(u,c);for(n=0;n<c;++n)r(l[n],this,t)}return!0},o.prototype.addListener=function(e,t){return c(this,e,t,!1)},o.prototype.on=o.prototype.addListener,o.prototype.prependListener=function(e,t){return c(this,e,t,!0)},o.prototype.once=function(e,t){return s(t),this.on(e,f(this,e,t)),this},o.prototype.prependOnceListener=function(e,t){return s(t),this.prependListener(e,f(this,e,t)),this},o.prototype.removeListener=function(e,t){var n,r,i,o,a;if(s(t),void 0===(r=this._events))return this;if(void 0===(n=r[e]))return this;if(n===t||n.listener===t)0==--this._eventsCount?this._events=Object.create(null):(delete r[e],r.removeListener&&this.emit("removeListener",e,n.listener||t));else if("function"!=typeof n){for(i=-1,o=n.length-1;o>=0;o--)if(n[o]===t||n[o].listener===t){a=n[o].listener,i=o;break}if(i<0)return this;0===i?n.shift():function(e,t){for(;t+1<e.length;t++)e[t]=e[t+1];e.pop()}(n,i),1===n.length&&(r[e]=n[0]),void 0!==r.removeListener&&this.emit("removeListener",e,a||t)}return this},o.prototype.off=o.prototype.removeListener,o.prototype.removeAllListeners=function(e){var t,n,r;if(void 0===(n=this._events))return this;if(void 0===n.removeListener)return 0===arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==n[e]&&(0==--this._eventsCount?this._events=Object.create(null):delete n[e]),this;if(0===arguments.length){var i,o=Object.keys(n);for(r=0;r<o.length;++r)"removeListener"!==(i=o[r])&&this.removeAllListeners(i);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if("function"==typeof(t=n[e]))this.removeListener(e,t);else if(void 0!==t)for(r=t.length-1;r>=0;r--)this.removeListener(e,t[r]);return this},o.prototype.listeners=function(e){return d(this,e,!0)},o.prototype.rawListeners=function(e){return d(this,e,!1)},o.listenerCount=function(e,t){return"function"==typeof e.listenerCount?e.listenerCount(t):p.call(e,t)},o.prototype.listenerCount=p,o.prototype.eventNames=function(){return this._eventsCount>0?t(this._events):[]}},64063:function(e){"use strict";e.exports=function e(t,n){if(t===n)return!0;if(t&&n&&"object"==typeof t&&"object"==typeof n){if(t.constructor!==n.constructor)return!1;var r,i,o;if(Array.isArray(t)){if((r=t.length)!=n.length)return!1;for(i=r;0!=i--;)if(!e(t[i],n[i]))return!1;return!0}if(t.constructor===RegExp)return t.source===n.source&&t.flags===n.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===n.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===n.toString();if((r=(o=Object.keys(t)).length)!==Object.keys(n).length)return!1;for(i=r;0!=i--;)if(!Object.prototype.hasOwnProperty.call(n,o[i]))return!1;for(i=r;0!=i--;){var a=o[i];if(!e(t[a],n[a]))return!1}return!0}return t!=t&&n!=n}},38252:function(e){"use strict";e.exports=function e(t,n){if(t===n)return!0;if(t&&n&&"object"==typeof t&&"object"==typeof n){if(t.constructor!==n.constructor)return!1;var r,i,o;if(Array.isArray(t)){if((r=t.length)!=n.length)return!1;for(i=r;0!=i--;)if(!e(t[i],n[i]))return!1;return!0}if(t.constructor===RegExp)return t.source===n.source&&t.flags===n.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===n.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===n.toString();if((r=(o=Object.keys(t)).length)!==Object.keys(n).length)return!1;for(i=r;0!=i--;)if(!Object.prototype.hasOwnProperty.call(n,o[i]))return!1;for(i=r;0!=i--;){var a=o[i];if(("_owner"!==a||!t.$$typeof)&&!e(t[a],n[a]))return!1}return!0}return t!=t&&n!=n}},99376:function(e,t){var n=Object.keys;t.D=function(e,t){if(e===t)return!0;if(!(e instanceof Object&&t instanceof Object))return!1;for(var r=n(e),i=r.length,o=0;o<i;o++)if(!(r[o]in t))return!1;for(o=0;o<i;o++)if(e[r[o]]!==t[r[o]])return!1;return i===n(t).length}},42317:function(e,t,n){"use strict";!function(t){var n=/^(b|B)$/,r={iec:{bits:["b","Kib","Mib","Gib","Tib","Pib","Eib","Zib","Yib"],bytes:["B","KiB","MiB","GiB","TiB","PiB","EiB","ZiB","YiB"]},jedec:{bits:["b","Kb","Mb","Gb","Tb","Pb","Eb","Zb","Yb"],bytes:["B","KB","MB","GB","TB","PB","EB","ZB","YB"]}},i={iec:["","kibi","mebi","gibi","tebi","pebi","exbi","zebi","yobi"],jedec:["","kilo","mega","giga","tera","peta","exa","zetta","yotta"]};function o(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=[],a=0,s=void 0,u=void 0,c=void 0,l=void 0,f=void 0,d=void 0,p=void 0,h=void 0,g=void 0,m=void 0,y=void 0,v=void 0,b=void 0,_=void 0;if(isNaN(e))throw new Error("Invalid arguments");return c=!0===t.bits,y=!0===t.unix,u=t.base||2,m=void 0!==t.round?t.round:y?1:2,v=void 0!==t.spacer?t.spacer:y?"":" ",_=t.symbols||t.suffixes||{},b=2===u&&t.standard||"jedec",g=t.output||"string",f=!0===t.fullform,d=t.fullforms instanceof Array?t.fullforms:[],s=void 0!==t.exponent?t.exponent:-1,l=u>2?1e3:1024,(p=(h=Number(e))<0)&&(h=-h),(-1===s||isNaN(s))&&(s=Math.floor(Math.log(h)/Math.log(l)))<0&&(s=0),s>8&&(s=8),0===h?(o[0]=0,o[1]=y?"":r[b][c?"bits":"bytes"][s]):(a=h/(2===u?Math.pow(2,10*s):Math.pow(1e3,s)),c&&(a*=8)>=l&&s<8&&(a/=l,s++),o[0]=Number(a.toFixed(s>0?m:0)),o[1]=10===u&&1===s?c?"kb":"kB":r[b][c?"bits":"bytes"][s],y&&(o[1]="jedec"===b?o[1].charAt(0):s>0?o[1].replace(/B$/,""):o[1],n.test(o[1])&&(o[0]=Math.floor(o[0]),o[1]=""))),p&&(o[0]=-o[0]),o[1]=_[o[1]]||o[1],"array"===g?o:"exponent"===g?s:"object"===g?{value:o[0],suffix:o[1],symbol:o[1]}:(f&&(o[1]=d[s]?d[s]:i[b][s]+(c?"bit":"byte")+(1===o[0]?"":"s")),o.join(v))}o.partial=function(e){return function(t){return o(t,e)}},e.exports=o}("undefined"!=typeof window?window:n.g)},70936:function(e,t,n){"use strict";t.__esModule=!0,t.isFSA=function(e){return o.default(e)&&void 0!==e.type&&Object.keys(e).every(s)},t.isError=function(e){return!0===e.error};var r,i=n(8146),o=(r=i)&&r.__esModule?r:{default:r},a=["type","payload","error","meta"];function s(e){return a.indexOf(e)>-1}},11334:function(){!function(){if("undefined"!=typeof window&&"undefined"!=typeof document&&"undefined"!=typeof HTMLElement){var e=!1;try{var t=document.createElement("div");t.addEventListener("focus",(function(e){e.preventDefault(),e.stopPropagation()}),!0),t.focus(Object.defineProperty({},"preventScroll",{get:function(){e=!0}}))}catch(e){}if(void 0===HTMLElement.prototype.nativeFocus&&!e){HTMLElement.prototype.nativeFocus=HTMLElement.prototype.focus;var n=function(e){for(var t=0;t<e.length;t++)e[t][0].scrollTop=e[t][1],e[t][0].scrollLeft=e[t][2];e=[]};HTMLElement.prototype.focus=function(e){if(e&&e.preventScroll){var t=function(e){for(var t=e.parentNode,n=[],r=document.scrollingElement||document.documentElement;t&&t!==r;)(t.offsetHeight<t.scrollHeight||t.offsetWidth<t.scrollWidth)&&n.push([t,t.scrollTop,t.scrollLeft]),t=t.parentNode;return t=r,n.push([t,t.scrollTop,t.scrollLeft]),n}(this);this.nativeFocus(),"function"==typeof setTimeout?setTimeout((function(){n(t)}),0):n(t)}else this.nativeFocus()}}}}()},86382:function(){"use strict";!function(){function e(e){for(var t=[];e=e.parentNode||e.host||e.defaultView;)t.push(e);return t}function t(e){return function(t){var n=void 0!==t.getAttribute?t.getAttribute("class")||"":void 0;void 0!==n&&-1===n.indexOf(e)&&t.setAttribute("class",n.concat(" ",e).trim())}}var n=["\n","\t"," ","\r"];try{"undefined"!=typeof window&&document.querySelector(":focus-within")}catch(r){return function(){var r=function(r){if(!i){window.requestAnimationFrame((function(){i=!1,"blur"===r.type&&Array.prototype.slice.call(e(r.target)).forEach(function(e){return function(t){var r=void 0!==t.getAttribute?t.getAttribute("class")||"":void 0;if(r){var i=r.indexOf(e);0<=i&&(0===i||0<=n.indexOf(r.charAt(i-1)))&&(""===(r=r.replace(e,"").trim())?t.removeAttribute("class"):t.setAttribute("class",r))}}}("focus-within")),"focus"===r.type&&Array.prototype.slice.call(e(r.target)).forEach(t("focus-within"))}));var i=!0}};return document.addEventListener("focus",r,!0),document.addEventListener("blur",r,!0),t("js-focus-within")(document.body),!0}()}}()},37347:function(e){!function(){function t(e,t){document.addEventListener?e.addEventListener("scroll",t,!1):e.attachEvent("scroll",t)}function n(e){this.a=document.createElement("div"),this.a.setAttribute("aria-hidden","true"),this.a.appendChild(document.createTextNode(e)),this.b=document.createElement("span"),this.c=document.createElement("span"),this.h=document.createElement("span"),this.f=document.createElement("span"),this.g=-1,this.b.style.cssText="max-width:none;display:inline-block;position:absolute;height:100%;width:100%;overflow:scroll;font-size:16px;",this.c.style.cssText="max-width:none;display:inline-block;position:absolute;height:100%;width:100%;overflow:scroll;font-size:16px;",this.f.style.cssText="max-width:none;display:inline-block;position:absolute;height:100%;width:100%;overflow:scroll;font-size:16px;",this.h.style.cssText="display:inline-block;width:200%;height:200%;font-size:16px;max-width:none;",this.b.appendChild(this.h),this.c.appendChild(this.f),this.a.appendChild(this.b),this.a.appendChild(this.c)}function r(e,t){e.a.style.cssText="max-width:none;min-width:20px;min-height:20px;display:inline-block;overflow:hidden;position:absolute;width:auto;margin:0;padding:0;top:-999px;white-space:nowrap;font-synthesis:none;font:"+t+";"}function i(e){var t=e.a.offsetWidth,n=t+100;return e.f.style.width=n+"px",e.c.scrollLeft=n,e.b.scrollLeft=e.b.scrollWidth+100,e.g!==t&&(e.g=t,!0)}function o(e,n){function r(){var e=o;i(e)&&e.a.parentNode&&n(e.g)}var o=e;t(e.b,r),t(e.c,r),i(e)}function a(e,t){var n=t||{};this.family=e,this.style=n.style||"normal",this.weight=n.weight||"normal",this.stretch=n.stretch||"normal"}var s=null,u=null,c=null,l=null;function f(){return null===l&&(l=!!document.fonts),l}function d(){if(null===c){var e=document.createElement("div");try{e.style.font="condensed 100px sans-serif"}catch(e){}c=""!==e.style.font}return c}function p(e,t){return[e.style,e.weight,d()?e.stretch:"","100px",t].join(" ")}a.prototype.load=function(e,t){var i=this,a=e||"BESbswy",c=0,l=t||3e3,d=(new Date).getTime();return new Promise((function(e,t){if(f()&&!function(){if(null===u)if(f()&&/Apple/.test(window.navigator.vendor)){var e=/AppleWebKit\/([0-9]+)(?:\.([0-9]+))(?:\.([0-9]+))/.exec(window.navigator.userAgent);u=!!e&&603>parseInt(e[1],10)}else u=!1;return u}()){var h=new Promise((function(e,t){!function n(){(new Date).getTime()-d>=l?t(Error(l+"ms timeout exceeded")):document.fonts.load(p(i,'"'+i.family+'"'),a).then((function(t){1<=t.length?e():setTimeout(n,25)}),t)}()})),g=new Promise((function(e,t){c=setTimeout((function(){t(Error(l+"ms timeout exceeded"))}),l)}));Promise.race([g,h]).then((function(){clearTimeout(c),e(i)}),t)}else!function(e){document.body?e():document.addEventListener?document.addEventListener("DOMContentLoaded",(function t(){document.removeEventListener("DOMContentLoaded",t),e()})):document.attachEvent("onreadystatechange",(function t(){"interactive"!=document.readyState&&"complete"!=document.readyState||(document.detachEvent("onreadystatechange",t),e())}))}((function(){function u(){var t;(t=-1!=m&&-1!=y||-1!=m&&-1!=v||-1!=y&&-1!=v)&&((t=m!=y&&m!=v&&y!=v)||(null===s&&(t=/AppleWebKit\/([0-9]+)(?:\.([0-9]+))/.exec(window.navigator.userAgent),s=!!t&&(536>parseInt(t[1],10)||536===parseInt(t[1],10)&&11>=parseInt(t[2],10))),t=s&&(m==b&&y==b&&v==b||m==_&&y==_&&v==_||m==w&&y==w&&v==w)),t=!t),t&&(T.parentNode&&T.parentNode.removeChild(T),clearTimeout(c),e(i))}var f=new n(a),h=new n(a),g=new n(a),m=-1,y=-1,v=-1,b=-1,_=-1,w=-1,T=document.createElement("div");T.dir="ltr",r(f,p(i,"sans-serif")),r(h,p(i,"serif")),r(g,p(i,"monospace")),T.appendChild(f.a),T.appendChild(h.a),T.appendChild(g.a),document.body.appendChild(T),b=f.a.offsetWidth,_=h.a.offsetWidth,w=g.a.offsetWidth,function e(){if((new Date).getTime()-d>=l)T.parentNode&&T.parentNode.removeChild(T),t(Error(l+"ms timeout exceeded"));else{var n=document.hidden;!0!==n&&void 0!==n||(m=f.a.offsetWidth,y=h.a.offsetWidth,v=g.a.offsetWidth,u()),c=setTimeout(e,50)}}(),o(f,(function(e){m=e,u()})),r(f,p(i,'"'+i.family+'",sans-serif')),o(h,(function(e){y=e,u()})),r(h,p(i,'"'+i.family+'",serif')),o(g,(function(e){v=e,u()})),r(g,p(i,'"'+i.family+'",monospace'))}))}))},e.exports=a}()},89144:function(e,t,n){var r,i=void 0!==n.g?n.g:"undefined"!=typeof window?window:{},o=n(25893);"undefined"!=typeof document?r=document:(r=i["__GLOBAL_DOCUMENT_CACHE@4"])||(r=i["__GLOBAL_DOCUMENT_CACHE@4"]=o),e.exports=r},58908:function(e,t,n){var r;r="undefined"!=typeof window?window:void 0!==n.g?n.g:"undefined"!=typeof self?self:{},e.exports=r},52121:function(e,t,n){"use strict";n.d(t,{q_:function(){return M}});var r=n(30670),i=n.n(r),o=n(41143),a=n.n(o);function s(e){return"/"===e.charAt(0)}function u(e,t){for(var n=t,r=n+1,i=e.length;r<i;n+=1,r+=1)e[n]=e[r];e.pop()}var c=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=e&&e.split("/")||[],r=t&&t.split("/")||[],i=e&&s(e),o=t&&s(t),a=i||o;if(e&&s(e)?r=n:n.length&&(r.pop(),r=r.concat(n)),!r.length)return"/";var c=void 0;if(r.length){var l=r[r.length-1];c="."===l||".."===l||""===l}else c=!1;for(var f=0,d=r.length;d>=0;d--){var p=r[d];"."===p?u(r,d):".."===p?(u(r,d),f++):f&&(u(r,d),f--)}if(!a)for(;f--;f)r.unshift("..");!a||""===r[0]||r[0]&&s(r[0])||r.unshift("");var h=r.join("/");return c&&"/"!==h.substr(-1)&&(h+="/"),h},l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};var f=function e(t,n){if(t===n)return!0;if(null==t||null==n)return!1;if(Array.isArray(t))return Array.isArray(n)&&t.length===n.length&&t.every((function(t,r){return e(t,n[r])}));var r=void 0===t?"undefined":l(t);if(r!==(void 0===n?"undefined":l(n)))return!1;if("object"===r){var i=t.valueOf(),o=n.valueOf();if(i!==t||o!==n)return e(i,o);var a=Object.keys(t),s=Object.keys(n);return a.length===s.length&&a.every((function(r){return e(t[r],n[r])}))}return!1},d=function(e){return"/"===e.charAt(0)?e:"/"+e},p=function(e){return"/"===e.charAt(0)?e.substr(1):e},h=function(e,t){return new RegExp("^"+t+"(\\/|\\?|#|$)","i").test(e)},g=function(e,t){return h(e,t)?e.substr(t.length):e},m=function(e){return"/"===e.charAt(e.length-1)?e.slice(0,-1):e},y=function(e){var t=e.pathname,n=e.search,r=e.hash,i=t||"/";return n&&"?"!==n&&(i+="?"===n.charAt(0)?n:"?"+n),r&&"#"!==r&&(i+="#"===r.charAt(0)?r:"#"+r),i},v=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},b=function(e,t,n,r){var i=void 0;"string"==typeof e?(i=function(e){var t=e||"/",n="",r="",i=t.indexOf("#");-1!==i&&(r=t.substr(i),t=t.substr(0,i));var o=t.indexOf("?");return-1!==o&&(n=t.substr(o),t=t.substr(0,o)),{pathname:t,search:"?"===n?"":n,hash:"#"===r?"":r}}(e),i.state=t):(void 0===(i=v({},e)).pathname&&(i.pathname=""),i.search?"?"!==i.search.charAt(0)&&(i.search="?"+i.search):i.search="",i.hash?"#"!==i.hash.charAt(0)&&(i.hash="#"+i.hash):i.hash="",void 0!==t&&void 0===i.state&&(i.state=t));try{i.pathname=decodeURI(i.pathname)}catch(e){throw e instanceof URIError?new URIError('Pathname "'+i.pathname+'" could not be decoded. This is likely caused by an invalid percent-encoding.'):e}return n&&(i.key=n),r?i.pathname?"/"!==i.pathname.charAt(0)&&(i.pathname=c(i.pathname,r.pathname)):i.pathname=r.pathname:i.pathname||(i.pathname="/"),i},_=function(e,t){return e.pathname===t.pathname&&e.search===t.search&&e.hash===t.hash&&e.key===t.key&&f(e.state,t.state)},w=function(){var e=null,t=[];return{setPrompt:function(t){return i()(null==e,"A history supports only one prompt at a time"),e=t,function(){e===t&&(e=null)}},confirmTransitionTo:function(t,n,r,o){if(null!=e){var a="function"==typeof e?e(t,n):e;"string"==typeof a?"function"==typeof r?r(a,o):(i()(!1,"A history needs a getUserConfirmation function in order to use a prompt message"),o(!0)):o(!1!==a)}else o(!0)},appendListener:function(e){var n=!0,r=function(){n&&e.apply(void 0,arguments)};return t.push(r),function(){n=!1,t=t.filter((function(e){return e!==r}))}},notifyListeners:function(){for(var e=arguments.length,n=Array(e),r=0;r<e;r++)n[r]=arguments[r];t.forEach((function(e){return e.apply(void 0,n)}))}}},T=!("undefined"==typeof window||!window.document||!window.document.createElement),x=function(e,t,n){return e.addEventListener?e.addEventListener(t,n,!1):e.attachEvent("on"+t,n)},S=function(e,t,n){return e.removeEventListener?e.removeEventListener(t,n,!1):e.detachEvent("on"+t,n)},k=function(e,t){return t(window.confirm(e))},E=function(){return-1===window.navigator.userAgent.indexOf("Firefox")},O=("function"==typeof Symbol&&Symbol.iterator,Object.assign,Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}),C="hashchange",L={hashbang:{encodePath:function(e){return"!"===e.charAt(0)?e:"!/"+p(e)},decodePath:function(e){return"!"===e.charAt(0)?e.substr(1):e}},noslash:{encodePath:p,decodePath:d},slash:{encodePath:d,decodePath:d}},A=function(){var e=window.location.href,t=e.indexOf("#");return-1===t?"":e.substring(t+1)},I=function(e){return window.location.hash=e},P=function(e){var t=window.location.href.indexOf("#");window.location.replace(window.location.href.slice(0,t>=0?t:0)+"#"+e)},M=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};a()(T,"Hash history needs a DOM");var t=window.history,n=E(),r=e.getUserConfirmation,o=void 0===r?k:r,s=e.hashType,u=void 0===s?"slash":s,c=e.basename?m(d(e.basename)):"",l=L[u],f=l.encodePath,p=l.decodePath,v=function(){var e=p(A());return i()(!c||h(e,c),'You are attempting to use a basename on a page whose URL path does not begin with the basename. Expected path "'+e+'" to begin with "'+c+'".'),c&&(e=g(e,c)),b(e)},M=w(),R=function(e){O(te,e),te.length=t.length,M.notifyListeners(te.location,te.action)},j=!1,D=null,N=function(){var e=A(),t=f(e);if(e!==t)P(t);else{var n=v(),r=te.location;if(!j&&_(r,n))return;if(D===y(n))return;D=null,B(n)}},B=function(e){if(j)j=!1,R();else{M.confirmTransitionTo(e,"POP",o,(function(t){t?R({action:"POP",location:e}):U(e)}))}},U=function(e){var t=te.location,n=Z.lastIndexOf(y(t));-1===n&&(n=0);var r=Z.lastIndexOf(y(e));-1===r&&(r=0);var i=n-r;i&&(j=!0,G(i))},F=A(),z=f(F);F!==z&&P(z);var H=v(),Z=[y(H)],q=function(e){return"#"+f(c+y(e))},V=function(e,t){i()(void 0===t,"Hash history cannot push state; it is ignored");var n="PUSH",r=b(e,void 0,void 0,te.location);M.confirmTransitionTo(r,n,o,(function(e){if(e){var t=y(r),o=f(c+t);if(A()!==o){D=t,I(o);var a=Z.lastIndexOf(y(te.location)),s=Z.slice(0,-1===a?0:a+1);s.push(t),Z=s,R({action:n,location:r})}else i()(!1,"Hash history cannot PUSH the same path; a new entry will not be added to the history stack"),R()}}))},W=function(e,t){i()(void 0===t,"Hash history cannot replace state; it is ignored");var n="REPLACE",r=b(e,void 0,void 0,te.location);M.confirmTransitionTo(r,n,o,(function(e){if(e){var t=y(r),i=f(c+t);A()!==i&&(D=t,P(i));var o=Z.indexOf(y(te.location));-1!==o&&(Z[o]=t),R({action:n,location:r})}}))},G=function(e){i()(n,"Hash history go(n) causes a full page reload in this browser"),t.go(e)},$=function(){return G(-1)},Y=function(){return G(1)},K=0,X=function(e){1===(K+=e)?x(window,C,N):0===K&&S(window,C,N)},Q=!1,J=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=M.setPrompt(e);return Q||(X(1),Q=!0),function(){return Q&&(Q=!1,X(-1)),t()}},ee=function(e){var t=M.appendListener(e);return X(1),function(){X(-1),t()}},te={length:t.length,action:"POP",location:H,createHref:q,push:V,replace:W,go:G,goBack:$,goForward:Y,block:J,listen:ee};return te};"function"==typeof Symbol&&Symbol.iterator,Object.assign},8679:function(e,t,n){"use strict";var r=n(59864),i={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},o={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function u(e){return r.isMemo(e)?a:s[e.$$typeof]||i}s[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[r.Memo]=a;var c=Object.defineProperty,l=Object.getOwnPropertyNames,f=Object.getOwnPropertySymbols,d=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,h=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(h){var i=p(n);i&&i!==h&&e(t,i,r)}var a=l(n);f&&(a=a.concat(f(n)));for(var s=u(t),g=u(n),m=0;m<a.length;++m){var y=a[m];if(!(o[y]||r&&r[y]||g&&g[y]||s&&s[y])){var v=d(n,y);try{c(t,y,v)}catch(e){}}}}return t}},95449:function(e,t,n){function r(e){this._cbs=e||{},this.events=[]}e.exports=r;var i=n(23719).EVENTS;Object.keys(i).forEach((function(e){if(0===i[e])e="on"+e,r.prototype[e]=function(){this.events.push([e]),this._cbs[e]&&this._cbs[e]()};else if(1===i[e])e="on"+e,r.prototype[e]=function(t){this.events.push([e,t]),this._cbs[e]&&this._cbs[e](t)};else{if(2!==i[e])throw Error("wrong number of arguments");e="on"+e,r.prototype[e]=function(t,n){this.events.push([e,t,n]),this._cbs[e]&&this._cbs[e](t,n)}}})),r.prototype.onreset=function(){this.events=[],this._cbs.onreset&&this._cbs.onreset()},r.prototype.restart=function(){this._cbs.onreset&&this._cbs.onreset();for(var e=0,t=this.events.length;e<t;e++)if(this._cbs[this.events[e][0]]){var n=this.events[e].length;1===n?this._cbs[this.events[e][0]]():2===n?this._cbs[this.events[e][0]](this.events[e][1]):this._cbs[this.events[e][0]](this.events[e][1],this.events[e][2])}}},63870:function(e,t,n){var r=n(23719),i=r.DomHandler,o=r.DomUtils;function a(e,t){this.init(e,t)}function s(e,t){return o.getElementsByTagName(e,t,!0)}function u(e,t){return o.getElementsByTagName(e,t,!0,1)[0]}function c(e,t,n){return o.getText(o.getElementsByTagName(e,t,n,1)).trim()}function l(e,t,n,r,i){var o=c(n,r,i);o&&(e[t]=o)}n(35717)(a,i),a.prototype.init=i;var f=function(e){return"rss"===e||"feed"===e||"rdf:RDF"===e};a.prototype.onend=function(){var e,t,n={},r=u(f,this.dom);r&&("feed"===r.name?(t=r.children,n.type="atom",l(n,"id","id",t),l(n,"title","title",t),(e=u("link",t))&&(e=e.attribs)&&(e=e.href)&&(n.link=e),l(n,"description","subtitle",t),(e=c("updated",t))&&(n.updated=new Date(e)),l(n,"author","email",t,!0),n.items=s("entry",t).map((function(e){var t,n={};return l(n,"id","id",e=e.children),l(n,"title","title",e),(t=u("link",e))&&(t=t.attribs)&&(t=t.href)&&(n.link=t),(t=c("summary",e)||c("content",e))&&(n.description=t),(t=c("updated",e))&&(n.pubDate=new Date(t)),n}))):(t=u("channel",r.children).children,n.type=r.name.substr(0,3),n.id="",l(n,"title","title",t),l(n,"link","link",t),l(n,"description","description",t),(e=c("lastBuildDate",t))&&(n.updated=new Date(e)),l(n,"author","managingEditor",t,!0),n.items=s("item",r.children).map((function(e){var t,n={};return l(n,"id","guid",e=e.children),l(n,"title","title",e),l(n,"link","link",e),l(n,"description","description",e),(t=c("pubDate",e))&&(n.pubDate=new Date(t)),n})))),this.dom=n,i.prototype._handleCallback.call(this,r?null:Error("couldn't find root of feed"))},e.exports=a},50763:function(e,t,n){var r=n(39889),i={input:!0,option:!0,optgroup:!0,select:!0,button:!0,datalist:!0,textarea:!0},o={tr:{tr:!0,th:!0,td:!0},th:{th:!0},td:{thead:!0,th:!0,td:!0},body:{head:!0,link:!0,script:!0},li:{li:!0},p:{p:!0},h1:{p:!0},h2:{p:!0},h3:{p:!0},h4:{p:!0},h5:{p:!0},h6:{p:!0},select:i,input:i,output:i,button:i,datalist:i,textarea:i,option:{option:!0},optgroup:{optgroup:!0}},a={__proto__:null,area:!0,base:!0,basefont:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,isindex:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0,path:!0,circle:!0,ellipse:!0,line:!0,rect:!0,use:!0,stop:!0,polyline:!0,polygon:!0},s=/\s|\//;function u(e,t){this._options=t||{},this._cbs=e||{},this._tagname="",this._attribname="",this._attribvalue="",this._attribs=null,this._stack=[],this.startIndex=0,this.endIndex=null,this._lowerCaseTagNames="lowerCaseTags"in this._options?!!this._options.lowerCaseTags:!this._options.xmlMode,this._lowerCaseAttributeNames="lowerCaseAttributeNames"in this._options?!!this._options.lowerCaseAttributeNames:!this._options.xmlMode,this._options.Tokenizer&&(r=this._options.Tokenizer),this._tokenizer=new r(this._options,this),this._cbs.onparserinit&&this._cbs.onparserinit(this)}n(35717)(u,n(17187).EventEmitter),u.prototype._updatePosition=function(e){null===this.endIndex?this._tokenizer._sectionStart<=e?this.startIndex=0:this.startIndex=this._tokenizer._sectionStart-e:this.startIndex=this.endIndex+1,this.endIndex=this._tokenizer.getAbsoluteIndex()},u.prototype.ontext=function(e){this._updatePosition(1),this.endIndex--,this._cbs.ontext&&this._cbs.ontext(e)},u.prototype.onopentagname=function(e){if(this._lowerCaseTagNames&&(e=e.toLowerCase()),this._tagname=e,!this._options.xmlMode&&e in o)for(var t;(t=this._stack[this._stack.length-1])in o[e];this.onclosetag(t));!this._options.xmlMode&&e in a||this._stack.push(e),this._cbs.onopentagname&&this._cbs.onopentagname(e),this._cbs.onopentag&&(this._attribs={})},u.prototype.onopentagend=function(){this._updatePosition(1),this._attribs&&(this._cbs.onopentag&&this._cbs.onopentag(this._tagname,this._attribs),this._attribs=null),!this._options.xmlMode&&this._cbs.onclosetag&&this._tagname in a&&this._cbs.onclosetag(this._tagname),this._tagname=""},u.prototype.onclosetag=function(e){if(this._updatePosition(1),this._lowerCaseTagNames&&(e=e.toLowerCase()),!this._stack.length||e in a&&!this._options.xmlMode)this._options.xmlMode||"br"!==e&&"p"!==e||(this.onopentagname(e),this._closeCurrentTag());else{var t=this._stack.lastIndexOf(e);if(-1!==t)if(this._cbs.onclosetag)for(t=this._stack.length-t;t--;)this._cbs.onclosetag(this._stack.pop());else this._stack.length=t;else"p"!==e||this._options.xmlMode||(this.onopentagname(e),this._closeCurrentTag())}},u.prototype.onselfclosingtag=function(){this._options.xmlMode||this._options.recognizeSelfClosing?this._closeCurrentTag():this.onopentagend()},u.prototype._closeCurrentTag=function(){var e=this._tagname;this.onopentagend(),this._stack[this._stack.length-1]===e&&(this._cbs.onclosetag&&this._cbs.onclosetag(e),this._stack.pop())},u.prototype.onattribname=function(e){this._lowerCaseAttributeNames&&(e=e.toLowerCase()),this._attribname=e},u.prototype.onattribdata=function(e){this._attribvalue+=e},u.prototype.onattribend=function(){this._cbs.onattribute&&this._cbs.onattribute(this._attribname,this._attribvalue),this._attribs&&!Object.prototype.hasOwnProperty.call(this._attribs,this._attribname)&&(this._attribs[this._attribname]=this._attribvalue),this._attribname="",this._attribvalue=""},u.prototype._getInstructionName=function(e){var t=e.search(s),n=t<0?e:e.substr(0,t);return this._lowerCaseTagNames&&(n=n.toLowerCase()),n},u.prototype.ondeclaration=function(e){if(this._cbs.onprocessinginstruction){var t=this._getInstructionName(e);this._cbs.onprocessinginstruction("!"+t,"!"+e)}},u.prototype.onprocessinginstruction=function(e){if(this._cbs.onprocessinginstruction){var t=this._getInstructionName(e);this._cbs.onprocessinginstruction("?"+t,"?"+e)}},u.prototype.oncomment=function(e){this._updatePosition(4),this._cbs.oncomment&&this._cbs.oncomment(e),this._cbs.oncommentend&&this._cbs.oncommentend()},u.prototype.oncdata=function(e){this._updatePosition(1),this._options.xmlMode||this._options.recognizeCDATA?(this._cbs.oncdatastart&&this._cbs.oncdatastart(),this._cbs.ontext&&this._cbs.ontext(e),this._cbs.oncdataend&&this._cbs.oncdataend()):this.oncomment("[CDATA["+e+"]]")},u.prototype.onerror=function(e){this._cbs.onerror&&this._cbs.onerror(e)},u.prototype.onend=function(){if(this._cbs.onclosetag)for(var e=this._stack.length;e>0;this._cbs.onclosetag(this._stack[--e]));this._cbs.onend&&this._cbs.onend()},u.prototype.reset=function(){this._cbs.onreset&&this._cbs.onreset(),this._tokenizer.reset(),this._tagname="",this._attribname="",this._attribs=null,this._stack=[],this._cbs.onparserinit&&this._cbs.onparserinit(this)},u.prototype.parseComplete=function(e){this.reset(),this.end(e)},u.prototype.write=function(e){this._tokenizer.write(e)},u.prototype.end=function(e){this._tokenizer.end(e)},u.prototype.pause=function(){this._tokenizer.pause()},u.prototype.resume=function(){this._tokenizer.resume()},u.prototype.parseChunk=u.prototype.write,u.prototype.done=u.prototype.end,e.exports=u},76321:function(e,t,n){function r(e){this._cbs=e||{}}e.exports=r;var i=n(23719).EVENTS;Object.keys(i).forEach((function(e){if(0===i[e])e="on"+e,r.prototype[e]=function(){this._cbs[e]&&this._cbs[e]()};else if(1===i[e])e="on"+e,r.prototype[e]=function(t){this._cbs[e]&&this._cbs[e](t)};else{if(2!==i[e])throw Error("wrong number of arguments");e="on"+e,r.prototype[e]=function(t,n){this._cbs[e]&&this._cbs[e](t,n)}}}))},89924:function(e,t,n){e.exports=i;var r=n(83621);function i(e){r.call(this,new o(this),e)}function o(e){this.scope=e}n(35717)(i,r),i.prototype.readable=!0;var a=n(23719).EVENTS;Object.keys(a).forEach((function(e){if(0===a[e])o.prototype["on"+e]=function(){this.scope.emit(e)};else if(1===a[e])o.prototype["on"+e]=function(t){this.scope.emit(e,t)};else{if(2!==a[e])throw Error("wrong number of arguments!");o.prototype["on"+e]=function(t,n){this.scope.emit(e,t,n)}}}))},39889:function(e,t,n){e.exports=ve;var r,i,o=n(58894),a=n(23042),s=n(60317),u=n(51373),c=0,l=c++,f=c++,d=c++,p=c++,h=c++,g=c++,m=c++,y=c++,v=c++,b=c++,_=c++,w=c++,T=c++,x=c++,S=c++,k=c++,E=c++,O=c++,C=c++,L=c++,A=c++,I=c++,P=c++,M=c++,R=c++,j=c++,D=c++,N=c++,B=c++,U=c++,F=c++,z=c++,H=c++,Z=c++,q=c++,V=c++,W=c++,G=c++,$=c++,Y=c++,K=c++,X=c++,Q=c++,J=c++,ee=c++,te=c++,ne=c++,re=c++,ie=c++,oe=c++,ae=c++,se=c++,ue=c++,ce=c++,le=c++,fe=0,de=fe++,pe=fe++,he=fe++;function ge(e){return" "===e||"\n"===e||"\t"===e||"\f"===e||"\r"===e}function me(e,t,n){var r=e.toLowerCase();return e===r?function(e){e===r?this._state=t:(this._state=n,this._index--)}:function(i){i===r||i===e?this._state=t:(this._state=n,this._index--)}}function ye(e,t){var n=e.toLowerCase();return function(r){r===n||r===e?this._state=t:(this._state=d,this._index--)}}function ve(e,t){this._state=l,this._buffer="",this._sectionStart=0,this._index=0,this._bufferOffset=0,this._baseState=l,this._special=de,this._cbs=t,this._running=!0,this._ended=!1,this._xmlMode=!(!e||!e.xmlMode),this._decodeEntities=!(!e||!e.decodeEntities)}ve.prototype._stateText=function(e){"<"===e?(this._index>this._sectionStart&&this._cbs.ontext(this._getSection()),this._state=f,this._sectionStart=this._index):this._decodeEntities&&this._special===de&&"&"===e&&(this._index>this._sectionStart&&this._cbs.ontext(this._getSection()),this._baseState=l,this._state=ae,this._sectionStart=this._index)},ve.prototype._stateBeforeTagName=function(e){"/"===e?this._state=h:"<"===e?(this._cbs.ontext(this._getSection()),this._sectionStart=this._index):">"===e||this._special!==de||ge(e)?this._state=l:"!"===e?(this._state=S,this._sectionStart=this._index+1):"?"===e?(this._state=E,this._sectionStart=this._index+1):(this._state=this._xmlMode||"s"!==e&&"S"!==e?d:F,this._sectionStart=this._index)},ve.prototype._stateInTagName=function(e){("/"===e||">"===e||ge(e))&&(this._emitToken("onopentagname"),this._state=y,this._index--)},ve.prototype._stateBeforeCloseingTagName=function(e){ge(e)||(">"===e?this._state=l:this._special!==de?"s"===e||"S"===e?this._state=z:(this._state=l,this._index--):(this._state=g,this._sectionStart=this._index))},ve.prototype._stateInCloseingTagName=function(e){(">"===e||ge(e))&&(this._emitToken("onclosetag"),this._state=m,this._index--)},ve.prototype._stateAfterCloseingTagName=function(e){">"===e&&(this._state=l,this._sectionStart=this._index+1)},ve.prototype._stateBeforeAttributeName=function(e){">"===e?(this._cbs.onopentagend(),this._state=l,this._sectionStart=this._index+1):"/"===e?this._state=p:ge(e)||(this._state=v,this._sectionStart=this._index)},ve.prototype._stateInSelfClosingTag=function(e){">"===e?(this._cbs.onselfclosingtag(),this._state=l,this._sectionStart=this._index+1):ge(e)||(this._state=y,this._index--)},ve.prototype._stateInAttributeName=function(e){("="===e||"/"===e||">"===e||ge(e))&&(this._cbs.onattribname(this._getSection()),this._sectionStart=-1,this._state=b,this._index--)},ve.prototype._stateAfterAttributeName=function(e){"="===e?this._state=_:"/"===e||">"===e?(this._cbs.onattribend(),this._state=y,this._index--):ge(e)||(this._cbs.onattribend(),this._state=v,this._sectionStart=this._index)},ve.prototype._stateBeforeAttributeValue=function(e){'"'===e?(this._state=w,this._sectionStart=this._index+1):"'"===e?(this._state=T,this._sectionStart=this._index+1):ge(e)||(this._state=x,this._sectionStart=this._index,this._index--)},ve.prototype._stateInAttributeValueDoubleQuotes=function(e){'"'===e?(this._emitToken("onattribdata"),this._cbs.onattribend(),this._state=y):this._decodeEntities&&"&"===e&&(this._emitToken("onattribdata"),this._baseState=this._state,this._state=ae,this._sectionStart=this._index)},ve.prototype._stateInAttributeValueSingleQuotes=function(e){"'"===e?(this._emitToken("onattribdata"),this._cbs.onattribend(),this._state=y):this._decodeEntities&&"&"===e&&(this._emitToken("onattribdata"),this._baseState=this._state,this._state=ae,this._sectionStart=this._index)},ve.prototype._stateInAttributeValueNoQuotes=function(e){ge(e)||">"===e?(this._emitToken("onattribdata"),this._cbs.onattribend(),this._state=y,this._index--):this._decodeEntities&&"&"===e&&(this._emitToken("onattribdata"),this._baseState=this._state,this._state=ae,this._sectionStart=this._index)},ve.prototype._stateBeforeDeclaration=function(e){this._state="["===e?I:"-"===e?O:k},ve.prototype._stateInDeclaration=function(e){">"===e&&(this._cbs.ondeclaration(this._getSection()),this._state=l,this._sectionStart=this._index+1)},ve.prototype._stateInProcessingInstruction=function(e){">"===e&&(this._cbs.onprocessinginstruction(this._getSection()),this._state=l,this._sectionStart=this._index+1)},ve.prototype._stateBeforeComment=function(e){"-"===e?(this._state=C,this._sectionStart=this._index+1):this._state=k},ve.prototype._stateInComment=function(e){"-"===e&&(this._state=L)},ve.prototype._stateAfterComment1=function(e){this._state="-"===e?A:C},ve.prototype._stateAfterComment2=function(e){">"===e?(this._cbs.oncomment(this._buffer.substring(this._sectionStart,this._index-2)),this._state=l,this._sectionStart=this._index+1):"-"!==e&&(this._state=C)},ve.prototype._stateBeforeCdata1=me("C",P,k),ve.prototype._stateBeforeCdata2=me("D",M,k),ve.prototype._stateBeforeCdata3=me("A",R,k),ve.prototype._stateBeforeCdata4=me("T",j,k),ve.prototype._stateBeforeCdata5=me("A",D,k),ve.prototype._stateBeforeCdata6=function(e){"["===e?(this._state=N,this._sectionStart=this._index+1):(this._state=k,this._index--)},ve.prototype._stateInCdata=function(e){"]"===e&&(this._state=B)},ve.prototype._stateAfterCdata1=(r="]",i=U,function(e){e===r&&(this._state=i)}),ve.prototype._stateAfterCdata2=function(e){">"===e?(this._cbs.oncdata(this._buffer.substring(this._sectionStart,this._index-2)),this._state=l,this._sectionStart=this._index+1):"]"!==e&&(this._state=N)},ve.prototype._stateBeforeSpecial=function(e){"c"===e||"C"===e?this._state=H:"t"===e||"T"===e?this._state=Q:(this._state=d,this._index--)},ve.prototype._stateBeforeSpecialEnd=function(e){this._special!==pe||"c"!==e&&"C"!==e?this._special!==he||"t"!==e&&"T"!==e?this._state=l:this._state=ne:this._state=G},ve.prototype._stateBeforeScript1=ye("R",Z),ve.prototype._stateBeforeScript2=ye("I",q),ve.prototype._stateBeforeScript3=ye("P",V),ve.prototype._stateBeforeScript4=ye("T",W),ve.prototype._stateBeforeScript5=function(e){("/"===e||">"===e||ge(e))&&(this._special=pe),this._state=d,this._index--},ve.prototype._stateAfterScript1=me("R",$,l),ve.prototype._stateAfterScript2=me("I",Y,l),ve.prototype._stateAfterScript3=me("P",K,l),ve.prototype._stateAfterScript4=me("T",X,l),ve.prototype._stateAfterScript5=function(e){">"===e||ge(e)?(this._special=de,this._state=g,this._sectionStart=this._index-6,this._index--):this._state=l},ve.prototype._stateBeforeStyle1=ye("Y",J),ve.prototype._stateBeforeStyle2=ye("L",ee),ve.prototype._stateBeforeStyle3=ye("E",te),ve.prototype._stateBeforeStyle4=function(e){("/"===e||">"===e||ge(e))&&(this._special=he),this._state=d,this._index--},ve.prototype._stateAfterStyle1=me("Y",re,l),ve.prototype._stateAfterStyle2=me("L",ie,l),ve.prototype._stateAfterStyle3=me("E",oe,l),ve.prototype._stateAfterStyle4=function(e){">"===e||ge(e)?(this._special=de,this._state=g,this._sectionStart=this._index-5,this._index--):this._state=l},ve.prototype._stateBeforeEntity=me("#",se,ue),ve.prototype._stateBeforeNumericEntity=me("X",le,ce),ve.prototype._parseNamedEntityStrict=function(){if(this._sectionStart+1<this._index){var e=this._buffer.substring(this._sectionStart+1,this._index),t=this._xmlMode?u:a;t.hasOwnProperty(e)&&(this._emitPartial(t[e]),this._sectionStart=this._index+1)}},ve.prototype._parseLegacyEntity=function(){var e=this._sectionStart+1,t=this._index-e;for(t>6&&(t=6);t>=2;){var n=this._buffer.substr(e,t);if(s.hasOwnProperty(n))return this._emitPartial(s[n]),void(this._sectionStart+=t+1);t--}},ve.prototype._stateInNamedEntity=function(e){";"===e?(this._parseNamedEntityStrict(),this._sectionStart+1<this._index&&!this._xmlMode&&this._parseLegacyEntity(),this._state=this._baseState):(e<"a"||e>"z")&&(e<"A"||e>"Z")&&(e<"0"||e>"9")&&(this._xmlMode||this._sectionStart+1===this._index||(this._baseState!==l?"="!==e&&this._parseNamedEntityStrict():this._parseLegacyEntity()),this._state=this._baseState,this._index--)},ve.prototype._decodeNumericEntity=function(e,t){var n=this._sectionStart+e;if(n!==this._index){var r=this._buffer.substring(n,this._index),i=parseInt(r,t);this._emitPartial(o(i)),this._sectionStart=this._index}else this._sectionStart--;this._state=this._baseState},ve.prototype._stateInNumericEntity=function(e){";"===e?(this._decodeNumericEntity(2,10),this._sectionStart++):(e<"0"||e>"9")&&(this._xmlMode?this._state=this._baseState:this._decodeNumericEntity(2,10),this._index--)},ve.prototype._stateInHexEntity=function(e){";"===e?(this._decodeNumericEntity(3,16),this._sectionStart++):(e<"a"||e>"f")&&(e<"A"||e>"F")&&(e<"0"||e>"9")&&(this._xmlMode?this._state=this._baseState:this._decodeNumericEntity(3,16),this._index--)},ve.prototype._cleanup=function(){this._sectionStart<0?(this._buffer="",this._bufferOffset+=this._index,this._index=0):this._running&&(this._state===l?(this._sectionStart!==this._index&&this._cbs.ontext(this._buffer.substr(this._sectionStart)),this._buffer="",this._bufferOffset+=this._index,this._index=0):this._sectionStart===this._index?(this._buffer="",this._bufferOffset+=this._index,this._index=0):(this._buffer=this._buffer.substr(this._sectionStart),this._index-=this._sectionStart,this._bufferOffset+=this._sectionStart),this._sectionStart=0)},ve.prototype.write=function(e){this._ended&&this._cbs.onerror(Error(".write() after done!")),this._buffer+=e,this._parse()},ve.prototype._parse=function(){for(;this._index<this._buffer.length&&this._running;){var e=this._buffer.charAt(this._index);this._state===l?this._stateText(e):this._state===f?this._stateBeforeTagName(e):this._state===d?this._stateInTagName(e):this._state===h?this._stateBeforeCloseingTagName(e):this._state===g?this._stateInCloseingTagName(e):this._state===m?this._stateAfterCloseingTagName(e):this._state===p?this._stateInSelfClosingTag(e):this._state===y?this._stateBeforeAttributeName(e):this._state===v?this._stateInAttributeName(e):this._state===b?this._stateAfterAttributeName(e):this._state===_?this._stateBeforeAttributeValue(e):this._state===w?this._stateInAttributeValueDoubleQuotes(e):this._state===T?this._stateInAttributeValueSingleQuotes(e):this._state===x?this._stateInAttributeValueNoQuotes(e):this._state===S?this._stateBeforeDeclaration(e):this._state===k?this._stateInDeclaration(e):this._state===E?this._stateInProcessingInstruction(e):this._state===O?this._stateBeforeComment(e):this._state===C?this._stateInComment(e):this._state===L?this._stateAfterComment1(e):this._state===A?this._stateAfterComment2(e):this._state===I?this._stateBeforeCdata1(e):this._state===P?this._stateBeforeCdata2(e):this._state===M?this._stateBeforeCdata3(e):this._state===R?this._stateBeforeCdata4(e):this._state===j?this._stateBeforeCdata5(e):this._state===D?this._stateBeforeCdata6(e):this._state===N?this._stateInCdata(e):this._state===B?this._stateAfterCdata1(e):this._state===U?this._stateAfterCdata2(e):this._state===F?this._stateBeforeSpecial(e):this._state===z?this._stateBeforeSpecialEnd(e):this._state===H?this._stateBeforeScript1(e):this._state===Z?this._stateBeforeScript2(e):this._state===q?this._stateBeforeScript3(e):this._state===V?this._stateBeforeScript4(e):this._state===W?this._stateBeforeScript5(e):this._state===G?this._stateAfterScript1(e):this._state===$?this._stateAfterScript2(e):this._state===Y?this._stateAfterScript3(e):this._state===K?this._stateAfterScript4(e):this._state===X?this._stateAfterScript5(e):this._state===Q?this._stateBeforeStyle1(e):this._state===J?this._stateBeforeStyle2(e):this._state===ee?this._stateBeforeStyle3(e):this._state===te?this._stateBeforeStyle4(e):this._state===ne?this._stateAfterStyle1(e):this._state===re?this._stateAfterStyle2(e):this._state===ie?this._stateAfterStyle3(e):this._state===oe?this._stateAfterStyle4(e):this._state===ae?this._stateBeforeEntity(e):this._state===se?this._stateBeforeNumericEntity(e):this._state===ue?this._stateInNamedEntity(e):this._state===ce?this._stateInNumericEntity(e):this._state===le?this._stateInHexEntity(e):this._cbs.onerror(Error("unknown _state"),this._state),this._index++}this._cleanup()},ve.prototype.pause=function(){this._running=!1},ve.prototype.resume=function(){this._running=!0,this._index<this._buffer.length&&this._parse(),this._ended&&this._finish()},ve.prototype.end=function(e){this._ended&&this._cbs.onerror(Error(".end() after done!")),e&&this.write(e),this._ended=!0,this._running&&this._finish()},ve.prototype._finish=function(){this._sectionStart<this._index&&this._handleTrailingData(),this._cbs.onend()},ve.prototype._handleTrailingData=function(){var e=this._buffer.substr(this._sectionStart);this._state===N||this._state===B||this._state===U?this._cbs.oncdata(e):this._state===C||this._state===L||this._state===A?this._cbs.oncomment(e):this._state!==ue||this._xmlMode?this._state!==ce||this._xmlMode?this._state!==le||this._xmlMode?this._state!==d&&this._state!==y&&this._state!==_&&this._state!==b&&this._state!==v&&this._state!==T&&this._state!==w&&this._state!==x&&this._state!==g&&this._cbs.ontext(e):(this._decodeNumericEntity(3,16),this._sectionStart<this._index&&(this._state=this._baseState,this._handleTrailingData())):(this._decodeNumericEntity(2,10),this._sectionStart<this._index&&(this._state=this._baseState,this._handleTrailingData())):(this._parseLegacyEntity(),this._sectionStart<this._index&&(this._state=this._baseState,this._handleTrailingData()))},ve.prototype.reset=function(){ve.call(this,{xmlMode:this._xmlMode,decodeEntities:this._decodeEntities},this._cbs)},ve.prototype.getAbsoluteIndex=function(){return this._bufferOffset+this._index},ve.prototype._getSection=function(){return this._buffer.substring(this._sectionStart,this._index)},ve.prototype._emitToken=function(e){this._cbs[e](this._getSection()),this._sectionStart=-1},ve.prototype._emitPartial=function(e){this._baseState!==l?this._cbs.onattribdata(e):this._cbs.ontext(e)}},83621:function(e,t,n){e.exports=s;var r=n(50763),i=n(42830).Writable||n(50247).Writable,o=n(32553).s,a=n(48764).Buffer;function s(e,t){var n=this._parser=new r(e,t),a=this._decoder=new o;i.call(this,{decodeStrings:!1}),this.once("finish",(function(){n.end(a.end())}))}n(35717)(s,i),i.prototype._write=function(e,t,n){e instanceof a&&(e=this._decoder.write(e)),this._parser.write(e),n()}},23719:function(e,t,n){var r=n(50763),i=n(29730);function o(t,n){return delete e.exports[t],e.exports[t]=n,n}e.exports={Parser:r,Tokenizer:n(39889),ElementType:n(64431),DomHandler:i,get FeedHandler(){return o("FeedHandler",n(63870))},get Stream(){return o("Stream",n(89924))},get WritableStream(){return o("WritableStream",n(83621))},get ProxyHandler(){return o("ProxyHandler",n(76321))},get DomUtils(){return o("DomUtils",n(12417))},get CollectingHandler(){return o("CollectingHandler",n(95449))},DefaultHandler:i,get RssHandler(){return o("RssHandler",this.FeedHandler)},parseDOM:function(e,t){var n=new i(t);return new r(n,t).end(e),n.dom},parseFeed:function(t,n){var i=new e.exports.FeedHandler(n);return new r(i,n).end(t),i.dom},createDomStream:function(e,t,n){var o=new i(e,t,n);return new r(o,t)},EVENTS:{attribute:2,cdatastart:0,cdataend:0,text:1,processinginstruction:2,comment:1,commentend:0,closetag:1,opentag:2,opentagname:1,error:1,end:0}}},29730:function(e,t,n){var r=n(64431),i=/\s+/g,o=n(16805),a=n(7359);function s(e,t,n){"object"==typeof e?(n=t,t=e,e=null):"function"==typeof t&&(n=t,t=u),this._callback=e,this._options=t||u,this._elementCB=n,this.dom=[],this._done=!1,this._tagStack=[],this._parser=this._parser||null}var u={normalizeWhitespace:!1,withStartIndices:!1,withEndIndices:!1};s.prototype.onparserinit=function(e){this._parser=e},s.prototype.onreset=function(){s.call(this,this._callback,this._options,this._elementCB)},s.prototype.onend=function(){this._done||(this._done=!0,this._parser=null,this._handleCallback(null))},s.prototype._handleCallback=s.prototype.onerror=function(e){if("function"==typeof this._callback)this._callback(e,this.dom);else if(e)throw e},s.prototype.onclosetag=function(){var e=this._tagStack.pop();this._options.withEndIndices&&e&&(e.endIndex=this._parser.endIndex),this._elementCB&&this._elementCB(e)},s.prototype._createDomElement=function(e){if(!this._options.withDomLvl1)return e;var t;for(var n in t="tag"===e.type?Object.create(a):Object.create(o),e)e.hasOwnProperty(n)&&(t[n]=e[n]);return t},s.prototype._addDomElement=function(e){var t=this._tagStack[this._tagStack.length-1],n=t?t.children:this.dom,r=n[n.length-1];e.next=null,this._options.withStartIndices&&(e.startIndex=this._parser.startIndex),this._options.withEndIndices&&(e.endIndex=this._parser.endIndex),r?(e.prev=r,r.next=e):e.prev=null,n.push(e),e.parent=t||null},s.prototype.onopentag=function(e,t){var n={type:"script"===e?r.Script:"style"===e?r.Style:r.Tag,name:e,attribs:t,children:[]},i=this._createDomElement(n);this._addDomElement(i),this._tagStack.push(i)},s.prototype.ontext=function(e){var t,n=this._options.normalizeWhitespace||this._options.ignoreWhitespace;if(!this._tagStack.length&&this.dom.length&&(t=this.dom[this.dom.length-1]).type===r.Text)n?t.data=(t.data+e).replace(i," "):t.data+=e;else if(this._tagStack.length&&(t=this._tagStack[this._tagStack.length-1])&&(t=t.children[t.children.length-1])&&t.type===r.Text)n?t.data=(t.data+e).replace(i," "):t.data+=e;else{n&&(e=e.replace(i," "));var o=this._createDomElement({data:e,type:r.Text});this._addDomElement(o)}},s.prototype.oncomment=function(e){var t=this._tagStack[this._tagStack.length-1];if(t&&t.type===r.Comment)t.data+=e;else{var n={data:e,type:r.Comment},i=this._createDomElement(n);this._addDomElement(i),this._tagStack.push(i)}},s.prototype.oncdatastart=function(){var e={children:[{data:"",type:r.Text}],type:r.CDATA},t=this._createDomElement(e);this._addDomElement(t),this._tagStack.push(t)},s.prototype.oncommentend=s.prototype.oncdataend=function(){this._tagStack.pop()},s.prototype.onprocessinginstruction=function(e,t){var n=this._createDomElement({name:e,data:t,type:r.Directive});this._addDomElement(n)},e.exports=s},7359:function(e,t,n){var r=n(16805),i=e.exports=Object.create(r),o={tagName:"name"};Object.keys(o).forEach((function(e){var t=o[e];Object.defineProperty(i,e,{get:function(){return this[t]||null},set:function(e){return this[t]=e,e}})}))},16805:function(e){var t=e.exports={get firstChild(){var e=this.children;return e&&e[0]||null},get lastChild(){var e=this.children;return e&&e[e.length-1]||null},get nodeType(){return r[this.type]||r.element}},n={tagName:"name",childNodes:"children",parentNode:"parent",previousSibling:"prev",nextSibling:"next",nodeValue:"data"},r={element:1,text:3,cdata:4,comment:8};Object.keys(n).forEach((function(e){var r=n[e];Object.defineProperty(t,e,{get:function(){return this[r]||null},set:function(e){return this[r]=e,e}})}))},58894:function(e,t,n){var r=n(42968);e.exports=function(e){if(e>=55296&&e<=57343||e>1114111)return"�";e in r&&(e=r[e]);var t="";e>65535&&(e-=65536,t+=String.fromCharCode(e>>>10&1023|55296),e=56320|1023&e);return t+=String.fromCharCode(e)}},26071:function(e,t,n){"use strict";var r=n(15671),i=n(43144),o=[],a=o.forEach,s=o.slice;function u(e){return a.call(s.call(arguments,1),(function(t){if(t)for(var n in t)void 0===e[n]&&(e[n]=t[n])})),e}var c=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/,l=function(e,t,n){var r=n||{};r.path=r.path||"/";var i=e+"="+encodeURIComponent(t);if(r.maxAge>0){var o=r.maxAge-0;if(isNaN(o))throw new Error("maxAge should be a Number");i+="; Max-Age="+Math.floor(o)}if(r.domain){if(!c.test(r.domain))throw new TypeError("option domain is invalid");i+="; Domain="+r.domain}if(r.path){if(!c.test(r.path))throw new TypeError("option path is invalid");i+="; Path="+r.path}if(r.expires){if("function"!=typeof r.expires.toUTCString)throw new TypeError("option expires is invalid");i+="; Expires="+r.expires.toUTCString()}if(r.httpOnly&&(i+="; HttpOnly"),r.secure&&(i+="; Secure"),r.sameSite)switch("string"==typeof r.sameSite?r.sameSite.toLowerCase():r.sameSite){case!0:i+="; SameSite=Strict";break;case"lax":i+="; SameSite=Lax";break;case"strict":i+="; SameSite=Strict";break;case"none":i+="; SameSite=None";break;default:throw new TypeError("option sameSite is invalid")}return i},f=function(e,t,n,r){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{path:"/",sameSite:"strict"};n&&(i.expires=new Date,i.expires.setTime(i.expires.getTime()+60*n*1e3)),r&&(i.domain=r),document.cookie=l(e,encodeURIComponent(t),i)},d=function(e){for(var t=e+"=",n=document.cookie.split(";"),r=0;r<n.length;r++){for(var i=n[r];" "===i.charAt(0);)i=i.substring(1,i.length);if(0===i.indexOf(t))return i.substring(t.length,i.length)}return null},p={name:"cookie",lookup:function(e){var t;if(e.lookupCookie&&"undefined"!=typeof document){var n=d(e.lookupCookie);n&&(t=n)}return t},cacheUserLanguage:function(e,t){t.lookupCookie&&"undefined"!=typeof document&&f(t.lookupCookie,e,t.cookieMinutes,t.cookieDomain,t.cookieOptions)}},h={name:"querystring",lookup:function(e){var t;if("undefined"!=typeof window)for(var n=window.location.search.substring(1).split("&"),r=0;r<n.length;r++){var i=n[r].indexOf("=");if(i>0)n[r].substring(0,i)===e.lookupQuerystring&&(t=n[r].substring(i+1))}return t}},g=null,m=function(){if(null!==g)return g;try{g="undefined"!==window&&null!==window.localStorage;var e="i18next.translate.boo";window.localStorage.setItem(e,"foo"),window.localStorage.removeItem(e)}catch(e){g=!1}return g},y={name:"localStorage",lookup:function(e){var t;if(e.lookupLocalStorage&&m()){var n=window.localStorage.getItem(e.lookupLocalStorage);n&&(t=n)}return t},cacheUserLanguage:function(e,t){t.lookupLocalStorage&&m()&&window.localStorage.setItem(t.lookupLocalStorage,e)}},v=null,b=function(){if(null!==v)return v;try{v="undefined"!==window&&null!==window.sessionStorage;var e="i18next.translate.boo";window.sessionStorage.setItem(e,"foo"),window.sessionStorage.removeItem(e)}catch(e){v=!1}return v},_={name:"sessionStorage",lookup:function(e){var t;if(e.lookupSessionStorage&&b()){var n=window.sessionStorage.getItem(e.lookupSessionStorage);n&&(t=n)}return t},cacheUserLanguage:function(e,t){t.lookupSessionStorage&&b()&&window.sessionStorage.setItem(t.lookupSessionStorage,e)}},w={name:"navigator",lookup:function(e){var t=[];if("undefined"!=typeof navigator){if(navigator.languages)for(var n=0;n<navigator.languages.length;n++)t.push(navigator.languages[n]);navigator.userLanguage&&t.push(navigator.userLanguage),navigator.language&&t.push(navigator.language)}return t.length>0?t:void 0}},T={name:"htmlTag",lookup:function(e){var t,n=e.htmlTag||("undefined"!=typeof document?document.documentElement:null);return n&&"function"==typeof n.getAttribute&&(t=n.getAttribute("lang")),t}},x={name:"path",lookup:function(e){var t;if("undefined"!=typeof window){var n=window.location.pathname.match(/\/([a-zA-Z-]*)/g);if(n instanceof Array)if("number"==typeof e.lookupFromPathIndex){if("string"!=typeof n[e.lookupFromPathIndex])return;t=n[e.lookupFromPathIndex].replace("/","")}else t=n[0].replace("/","")}return t}},S={name:"subdomain",lookup:function(e){var t;if("undefined"!=typeof window){var n=window.location.href.match(/(?:http[s]*\:\/\/)*(.*?)\.(?=[^\/]*\..{2,5})/gi);n instanceof Array&&(t="number"==typeof e.lookupFromSubdomainIndex?n[e.lookupFromSubdomainIndex].replace("http://","").replace("https://","").replace(".",""):n[0].replace("http://","").replace("https://","").replace(".",""))}return t}};var k=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};(0,r.Z)(this,e),this.type="languageDetector",this.detectors={},this.init(t,n)}return(0,i.Z)(e,[{key:"init",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.services=e,this.options=u(t,this.options||{},{order:["querystring","cookie","localStorage","sessionStorage","navigator","htmlTag"],lookupQuerystring:"lng",lookupCookie:"i18next",lookupLocalStorage:"i18nextLng",lookupSessionStorage:"i18nextLng",caches:["localStorage"],excludeCacheFor:["cimode"]}),this.options.lookupFromUrlIndex&&(this.options.lookupFromPathIndex=this.options.lookupFromUrlIndex),this.i18nOptions=n,this.addDetector(p),this.addDetector(h),this.addDetector(y),this.addDetector(_),this.addDetector(w),this.addDetector(T),this.addDetector(x),this.addDetector(S)}},{key:"addDetector",value:function(e){this.detectors[e.name]=e}},{key:"detect",value:function(e){var t=this;e||(e=this.options.order);var n=[];return e.forEach((function(e){if(t.detectors[e]){var r=t.detectors[e].lookup(t.options);r&&"string"==typeof r&&(r=[r]),r&&(n=n.concat(r))}})),this.services.languageUtils.getBestMatchFromCodes?n:n.length>0?n[0]:null}},{key:"cacheUserLanguage",value:function(e,t){var n=this;t||(t=this.options.caches),t&&(this.options.excludeCacheFor&&this.options.excludeCacheFor.indexOf(e)>-1||t.forEach((function(t){n.detectors[t]&&n.detectors[t].cacheUserLanguage(e,n.options)})))}}]),e}();k.type="languageDetector",t.Z=k},80578:function(e,t,n){"use strict";n.d(t,{Z:function(){return V}});var r=n(71002),i=n(4942);function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&r.push.apply(r,Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach((function(t){(0,i.Z)(e,t,n[t])}))}return e}var a=n(15671),s=n(43144),u=n(97326);function c(e,t){if(t&&("object"===(0,r.Z)(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return(0,u.Z)(e)}function l(e){return l=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},l(e)}var f=n(89611);function d(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&(0,f.Z)(e,t)}var p={type:"logger",log:function(e){this.output("log",e)},warn:function(e){this.output("warn",e)},error:function(e){this.output("error",e)},output:function(e,t){console&&console[e]&&console[e].apply(console,t)}},h=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};(0,a.Z)(this,e),this.init(t,n)}return(0,s.Z)(e,[{key:"init",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.prefix=t.prefix||"i18next:",this.logger=e||p,this.options=t,this.debug=t.debug}},{key:"setDebug",value:function(e){this.debug=e}},{key:"log",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.forward(t,"log","",!0)}},{key:"warn",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.forward(t,"warn","",!0)}},{key:"error",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.forward(t,"error","")}},{key:"deprecate",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.forward(t,"warn","WARNING DEPRECATED: ",!0)}},{key:"forward",value:function(e,t,n,r){return r&&!this.debug?null:("string"==typeof e[0]&&(e[0]="".concat(n).concat(this.prefix," ").concat(e[0])),this.logger[t](e))}},{key:"create",value:function(t){return new e(this.logger,o({},{prefix:"".concat(this.prefix,":").concat(t,":")},this.options))}}]),e}(),g=new h,m=function(){function e(){(0,a.Z)(this,e),this.observers={}}return(0,s.Z)(e,[{key:"on",value:function(e,t){var n=this;return e.split(" ").forEach((function(e){n.observers[e]=n.observers[e]||[],n.observers[e].push(t)})),this}},{key:"off",value:function(e,t){this.observers[e]&&(t?this.observers[e]=this.observers[e].filter((function(e){return e!==t})):delete this.observers[e])}},{key:"emit",value:function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];if(this.observers[e]){var i=[].concat(this.observers[e]);i.forEach((function(e){e.apply(void 0,n)}))}if(this.observers["*"]){var o=[].concat(this.observers["*"]);o.forEach((function(t){t.apply(t,[e].concat(n))}))}}}]),e}();function y(){var e,t,n=new Promise((function(n,r){e=n,t=r}));return n.resolve=e,n.reject=t,n}function v(e){return null==e?"":""+e}function b(e,t,n){e.forEach((function(e){t[e]&&(n[e]=t[e])}))}function _(e,t,n){function r(e){return e&&e.indexOf("###")>-1?e.replace(/###/g,"."):e}function i(){return!e||"string"==typeof e}for(var o="string"!=typeof t?[].concat(t):t.split(".");o.length>1;){if(i())return{};var a=r(o.shift());!e[a]&&n&&(e[a]=new n),e=Object.prototype.hasOwnProperty.call(e,a)?e[a]:{}}return i()?{}:{obj:e,k:r(o.shift())}}function w(e,t,n){var r=_(e,t,Object);r.obj[r.k]=n}function T(e,t){var n=_(e,t),r=n.obj,i=n.k;if(r)return r[i]}function x(e,t,n){var r=T(e,n);return void 0!==r?r:T(t,n)}function S(e,t,n){for(var r in t)"__proto__"!==r&&"constructor"!==r&&(r in e?"string"==typeof e[r]||e[r]instanceof String||"string"==typeof t[r]||t[r]instanceof String?n&&(e[r]=t[r]):S(e[r],t[r],n):e[r]=t[r]);return e}function k(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}var E={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#x2F;"};function O(e){return"string"==typeof e?e.replace(/[&<>"'\/]/g,(function(e){return E[e]})):e}var C="undefined"!=typeof window&&window.navigator&&window.navigator.userAgent&&window.navigator.userAgent.indexOf("MSIE")>-1,L=function(e){function t(e){var n,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{ns:["translation"],defaultNS:"translation"};return(0,a.Z)(this,t),n=c(this,l(t).call(this)),C&&m.call((0,u.Z)(n)),n.data=e||{},n.options=r,void 0===n.options.keySeparator&&(n.options.keySeparator="."),n}return d(t,e),(0,s.Z)(t,[{key:"addNamespaces",value:function(e){this.options.ns.indexOf(e)<0&&this.options.ns.push(e)}},{key:"removeNamespaces",value:function(e){var t=this.options.ns.indexOf(e);t>-1&&this.options.ns.splice(t,1)}},{key:"getResource",value:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},i=void 0!==r.keySeparator?r.keySeparator:this.options.keySeparator,o=[e,t];return n&&"string"!=typeof n&&(o=o.concat(n)),n&&"string"==typeof n&&(o=o.concat(i?n.split(i):n)),e.indexOf(".")>-1&&(o=e.split(".")),T(this.data,o)}},{key:"addResource",value:function(e,t,n,r){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{silent:!1},o=this.options.keySeparator;void 0===o&&(o=".");var a=[e,t];n&&(a=a.concat(o?n.split(o):n)),e.indexOf(".")>-1&&(r=t,t=(a=e.split("."))[1]),this.addNamespaces(t),w(this.data,a,r),i.silent||this.emit("added",e,t,n,r)}},{key:"addResources",value:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{silent:!1};for(var i in n)"string"!=typeof n[i]&&"[object Array]"!==Object.prototype.toString.apply(n[i])||this.addResource(e,t,i,n[i],{silent:!0});r.silent||this.emit("added",e,t,n)}},{key:"addResourceBundle",value:function(e,t,n,r,i){var a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{silent:!1},s=[e,t];e.indexOf(".")>-1&&(r=n,n=t,t=(s=e.split("."))[1]),this.addNamespaces(t);var u=T(this.data,s)||{};r?S(u,n,i):u=o({},u,n),w(this.data,s,u),a.silent||this.emit("added",e,t,n)}},{key:"removeResourceBundle",value:function(e,t){this.hasResourceBundle(e,t)&&delete this.data[e][t],this.removeNamespaces(t),this.emit("removed",e,t)}},{key:"hasResourceBundle",value:function(e,t){return void 0!==this.getResource(e,t)}},{key:"getResourceBundle",value:function(e,t){return t||(t=this.options.defaultNS),"v1"===this.options.compatibilityAPI?o({},{},this.getResource(e,t)):this.getResource(e,t)}},{key:"getDataByLanguage",value:function(e){return this.data[e]}},{key:"toJSON",value:function(){return this.data}}]),t}(m),A={processors:{},addPostProcessor:function(e){this.processors[e.name]=e},handle:function(e,t,n,r,i){var o=this;return e.forEach((function(e){o.processors[e]&&(t=o.processors[e].process(t,n,r,i))})),t}},I={},P=function(e){function t(e){var n,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return(0,a.Z)(this,t),n=c(this,l(t).call(this)),C&&m.call((0,u.Z)(n)),b(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"],e,(0,u.Z)(n)),n.options=r,void 0===n.options.keySeparator&&(n.options.keySeparator="."),n.logger=g.create("translator"),n}return d(t,e),(0,s.Z)(t,[{key:"changeLanguage",value:function(e){e&&(this.language=e)}},{key:"exists",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{interpolation:{}},n=this.resolve(e,t);return n&&void 0!==n.res}},{key:"extractFromKey",value:function(e,t){var n=void 0!==t.nsSeparator?t.nsSeparator:this.options.nsSeparator;void 0===n&&(n=":");var r=void 0!==t.keySeparator?t.keySeparator:this.options.keySeparator,i=t.ns||this.options.defaultNS;if(n&&e.indexOf(n)>-1){var o=e.match(this.interpolator.nestingRegexp);if(o&&o.length>0)return{key:e,namespaces:i};var a=e.split(n);(n!==r||n===r&&this.options.ns.indexOf(a[0])>-1)&&(i=a.shift()),e=a.join(r)}return"string"==typeof i&&(i=[i]),{key:e,namespaces:i}}},{key:"translate",value:function(e,n,i){var a=this;if("object"!==(0,r.Z)(n)&&this.options.overloadTranslationOptionHandler&&(n=this.options.overloadTranslationOptionHandler(arguments)),n||(n={}),null==e)return"";Array.isArray(e)||(e=[String(e)]);var s=void 0!==n.keySeparator?n.keySeparator:this.options.keySeparator,u=this.extractFromKey(e[e.length-1],n),c=u.key,l=u.namespaces,f=l[l.length-1],d=n.lng||this.language,p=n.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(d&&"cimode"===d.toLowerCase()){if(p){var h=n.nsSeparator||this.options.nsSeparator;return f+h+c}return c}var g=this.resolve(e,n),m=g&&g.res,y=g&&g.usedKey||c,v=g&&g.exactUsedKey||c,b=Object.prototype.toString.apply(m),_=["[object Number]","[object Function]","[object RegExp]"],w=void 0!==n.joinArrays?n.joinArrays:this.options.joinArrays,T=!this.i18nFormat||this.i18nFormat.handleAsObject,x="string"!=typeof m&&"boolean"!=typeof m&&"number"!=typeof m;if(T&&m&&x&&_.indexOf(b)<0&&("string"!=typeof w||"[object Array]"!==b)){if(!n.returnObjects&&!this.options.returnObjects)return this.logger.warn("accessing an object - but returnObjects options is not enabled!"),this.options.returnedObjectHandler?this.options.returnedObjectHandler(y,m,n):"key '".concat(c," (").concat(this.language,")' returned an object instead of string.");if(s){var S="[object Array]"===b,k=S?[]:{},E=S?v:y;for(var O in m)if(Object.prototype.hasOwnProperty.call(m,O)){var C="".concat(E).concat(s).concat(O);k[O]=this.translate(C,o({},n,{joinArrays:!1,ns:l})),k[O]===C&&(k[O]=m[O])}m=k}}else if(T&&"string"==typeof w&&"[object Array]"===b)(m=m.join(w))&&(m=this.extendTranslation(m,e,n,i));else{var L=!1,A=!1,I=void 0!==n.count&&"string"!=typeof n.count,P=t.hasDefaultValue(n),M=I?this.pluralResolver.getSuffix(d,n.count):"",R=n["defaultValue".concat(M)]||n.defaultValue;!this.isValidLookup(m)&&P&&(L=!0,m=R),this.isValidLookup(m)||(A=!0,m=c);var j=P&&R!==m&&this.options.updateMissing;if(A||L||j){if(this.logger.log(j?"updateKey":"missingKey",d,f,c,j?R:m),s){var D=this.resolve(c,o({},n,{keySeparator:!1}));D&&D.res&&this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.")}var N=[],B=this.languageUtils.getFallbackCodes(this.options.fallbackLng,n.lng||this.language);if("fallback"===this.options.saveMissingTo&&B&&B[0])for(var U=0;U<B.length;U++)N.push(B[U]);else"all"===this.options.saveMissingTo?N=this.languageUtils.toResolveHierarchy(n.lng||this.language):N.push(n.lng||this.language);var F=function(e,t,r){a.options.missingKeyHandler?a.options.missingKeyHandler(e,f,t,j?r:m,j,n):a.backendConnector&&a.backendConnector.saveMissing&&a.backendConnector.saveMissing(e,f,t,j?r:m,j,n),a.emit("missingKey",e,f,t,m)};this.options.saveMissing&&(this.options.saveMissingPlurals&&I?N.forEach((function(e){a.pluralResolver.getSuffixes(e).forEach((function(t){F([e],c+t,n["defaultValue".concat(t)]||R)}))})):F(N,c,R))}m=this.extendTranslation(m,e,n,g,i),A&&m===c&&this.options.appendNamespaceToMissingKey&&(m="".concat(f,":").concat(c)),A&&this.options.parseMissingKeyHandler&&(m=this.options.parseMissingKeyHandler(m))}return m}},{key:"extendTranslation",value:function(e,t,n,r,i){var a=this;if(this.i18nFormat&&this.i18nFormat.parse)e=this.i18nFormat.parse(e,n,r.usedLng,r.usedNS,r.usedKey,{resolved:r});else if(!n.skipInterpolation){n.interpolation&&this.interpolator.init(o({},n,{interpolation:o({},this.options.interpolation,n.interpolation)}));var s,u=n.interpolation&&n.interpolation.skipOnVariables||this.options.interpolation.skipOnVariables;if(u){var c=e.match(this.interpolator.nestingRegexp);s=c&&c.length}var l=n.replace&&"string"!=typeof n.replace?n.replace:n;if(this.options.interpolation.defaultVariables&&(l=o({},this.options.interpolation.defaultVariables,l)),e=this.interpolator.interpolate(e,l,n.lng||this.language,n),u){var f=e.match(this.interpolator.nestingRegexp);s<(f&&f.length)&&(n.nest=!1)}!1!==n.nest&&(e=this.interpolator.nest(e,(function(){for(var e=arguments.length,r=new Array(e),o=0;o<e;o++)r[o]=arguments[o];return i&&i[0]===r[0]&&!n.context?(a.logger.warn("It seems you are nesting recursively key: ".concat(r[0]," in key: ").concat(t[0])),null):a.translate.apply(a,r.concat([t]))}),n)),n.interpolation&&this.interpolator.reset()}var d=n.postProcess||this.options.postProcess,p="string"==typeof d?[d]:d;return null!=e&&p&&p.length&&!1!==n.applyPostProcessor&&(e=A.handle(p,e,t,this.options&&this.options.postProcessPassResolved?o({i18nResolved:r},n):n,this)),e}},{key:"resolve",value:function(e){var t,n,r,i,o,a=this,s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return"string"==typeof e&&(e=[e]),e.forEach((function(e){if(!a.isValidLookup(t)){var u=a.extractFromKey(e,s),c=u.key;n=c;var l=u.namespaces;a.options.fallbackNS&&(l=l.concat(a.options.fallbackNS));var f=void 0!==s.count&&"string"!=typeof s.count,d=void 0!==s.context&&"string"==typeof s.context&&""!==s.context,p=s.lngs?s.lngs:a.languageUtils.toResolveHierarchy(s.lng||a.language,s.fallbackLng);l.forEach((function(e){a.isValidLookup(t)||(o=e,!I["".concat(p[0],"-").concat(e)]&&a.utils&&a.utils.hasLoadedNamespace&&!a.utils.hasLoadedNamespace(o)&&(I["".concat(p[0],"-").concat(e)]=!0,a.logger.warn('key "'.concat(n,'" for languages "').concat(p.join(", "),'" won\'t get resolved as namespace "').concat(o,'" was not yet loaded'),"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")),p.forEach((function(n){if(!a.isValidLookup(t)){i=n;var o,u,l=c,p=[l];if(a.i18nFormat&&a.i18nFormat.addLookupKeys)a.i18nFormat.addLookupKeys(p,c,n,e,s);else f&&(o=a.pluralResolver.getSuffix(n,s.count)),f&&d&&p.push(l+o),d&&p.push(l+="".concat(a.options.contextSeparator).concat(s.context)),f&&p.push(l+=o);for(;u=p.pop();)a.isValidLookup(t)||(r=u,t=a.getResource(n,e,u,s))}})))}))}})),{res:t,usedKey:n,exactUsedKey:r,usedLng:i,usedNS:o}}},{key:"isValidLookup",value:function(e){return!(void 0===e||!this.options.returnNull&&null===e||!this.options.returnEmptyString&&""===e)}},{key:"getResource",value:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return this.i18nFormat&&this.i18nFormat.getResource?this.i18nFormat.getResource(e,t,n,r):this.resourceStore.getResource(e,t,n,r)}}],[{key:"hasDefaultValue",value:function(e){var t="defaultValue";for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&t===n.substring(0,t.length)&&void 0!==e[n])return!0;return!1}}]),t}(m);function M(e){return e.charAt(0).toUpperCase()+e.slice(1)}var R=function(){function e(t){(0,a.Z)(this,e),this.options=t,this.whitelist=this.options.supportedLngs||!1,this.supportedLngs=this.options.supportedLngs||!1,this.logger=g.create("languageUtils")}return(0,s.Z)(e,[{key:"getScriptPartFromCode",value:function(e){if(!e||e.indexOf("-")<0)return null;var t=e.split("-");return 2===t.length?null:(t.pop(),"x"===t[t.length-1].toLowerCase()?null:this.formatLanguageCode(t.join("-")))}},{key:"getLanguagePartFromCode",value:function(e){if(!e||e.indexOf("-")<0)return e;var t=e.split("-");return this.formatLanguageCode(t[0])}},{key:"formatLanguageCode",value:function(e){if("string"==typeof e&&e.indexOf("-")>-1){var t=["hans","hant","latn","cyrl","cans","mong","arab"],n=e.split("-");return this.options.lowerCaseLng?n=n.map((function(e){return e.toLowerCase()})):2===n.length?(n[0]=n[0].toLowerCase(),n[1]=n[1].toUpperCase(),t.indexOf(n[1].toLowerCase())>-1&&(n[1]=M(n[1].toLowerCase()))):3===n.length&&(n[0]=n[0].toLowerCase(),2===n[1].length&&(n[1]=n[1].toUpperCase()),"sgn"!==n[0]&&2===n[2].length&&(n[2]=n[2].toUpperCase()),t.indexOf(n[1].toLowerCase())>-1&&(n[1]=M(n[1].toLowerCase())),t.indexOf(n[2].toLowerCase())>-1&&(n[2]=M(n[2].toLowerCase()))),n.join("-")}return this.options.cleanCode||this.options.lowerCaseLng?e.toLowerCase():e}},{key:"isWhitelisted",value:function(e){return this.logger.deprecate("languageUtils.isWhitelisted",'function "isWhitelisted" will be renamed to "isSupportedCode" in the next major - please make sure to rename it\'s usage asap.'),this.isSupportedCode(e)}},{key:"isSupportedCode",value:function(e){return("languageOnly"===this.options.load||this.options.nonExplicitSupportedLngs)&&(e=this.getLanguagePartFromCode(e)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(e)>-1}},{key:"getBestMatchFromCodes",value:function(e){var t,n=this;return e?(e.forEach((function(e){if(!t){var r=n.formatLanguageCode(e);n.options.supportedLngs&&!n.isSupportedCode(r)||(t=r)}})),!t&&this.options.supportedLngs&&e.forEach((function(e){if(!t){var r=n.getLanguagePartFromCode(e);if(n.isSupportedCode(r))return t=r;t=n.options.supportedLngs.find((function(e){if(0===e.indexOf(r))return e}))}})),t||(t=this.getFallbackCodes(this.options.fallbackLng)[0]),t):null}},{key:"getFallbackCodes",value:function(e,t){if(!e)return[];if("function"==typeof e&&(e=e(t)),"string"==typeof e&&(e=[e]),"[object Array]"===Object.prototype.toString.apply(e))return e;if(!t)return e.default||[];var n=e[t];return n||(n=e[this.getScriptPartFromCode(t)]),n||(n=e[this.formatLanguageCode(t)]),n||(n=e[this.getLanguagePartFromCode(t)]),n||(n=e.default),n||[]}},{key:"toResolveHierarchy",value:function(e,t){var n=this,r=this.getFallbackCodes(t||this.options.fallbackLng||[],e),i=[],o=function(e){e&&(n.isSupportedCode(e)?i.push(e):n.logger.warn("rejecting language code not found in supportedLngs: ".concat(e)))};return"string"==typeof e&&e.indexOf("-")>-1?("languageOnly"!==this.options.load&&o(this.formatLanguageCode(e)),"languageOnly"!==this.options.load&&"currentOnly"!==this.options.load&&o(this.getScriptPartFromCode(e)),"currentOnly"!==this.options.load&&o(this.getLanguagePartFromCode(e))):"string"==typeof e&&o(this.formatLanguageCode(e)),r.forEach((function(e){i.indexOf(e)<0&&o(n.formatLanguageCode(e))})),i}}]),e}(),j=[{lngs:["ach","ak","am","arn","br","fil","gun","ln","mfe","mg","mi","oc","pt","pt-BR","tg","tl","ti","tr","uz","wa"],nr:[1,2],fc:1},{lngs:["af","an","ast","az","bg","bn","ca","da","de","dev","el","en","eo","es","et","eu","fi","fo","fur","fy","gl","gu","ha","hi","hu","hy","ia","it","kn","ku","lb","mai","ml","mn","mr","nah","nap","nb","ne","nl","nn","no","nso","pa","pap","pms","ps","pt-PT","rm","sco","se","si","so","son","sq","sv","sw","ta","te","tk","ur","yo"],nr:[1,2],fc:2},{lngs:["ay","bo","cgg","fa","ht","id","ja","jbo","ka","kk","km","ko","ky","lo","ms","sah","su","th","tt","ug","vi","wo","zh"],nr:[1],fc:3},{lngs:["be","bs","cnr","dz","hr","ru","sr","uk"],nr:[1,2,5],fc:4},{lngs:["ar"],nr:[0,1,2,3,11,100],fc:5},{lngs:["cs","sk"],nr:[1,2,5],fc:6},{lngs:["csb","pl"],nr:[1,2,5],fc:7},{lngs:["cy"],nr:[1,2,3,8],fc:8},{lngs:["fr"],nr:[1,2],fc:9},{lngs:["ga"],nr:[1,2,3,7,11],fc:10},{lngs:["gd"],nr:[1,2,3,20],fc:11},{lngs:["is"],nr:[1,2],fc:12},{lngs:["jv"],nr:[0,1],fc:13},{lngs:["kw"],nr:[1,2,3,4],fc:14},{lngs:["lt"],nr:[1,2,10],fc:15},{lngs:["lv"],nr:[1,2,0],fc:16},{lngs:["mk"],nr:[1,2],fc:17},{lngs:["mnk"],nr:[0,1,2],fc:18},{lngs:["mt"],nr:[1,2,11,20],fc:19},{lngs:["or"],nr:[2,1],fc:2},{lngs:["ro"],nr:[1,2,20],fc:20},{lngs:["sl"],nr:[5,1,2,3],fc:21},{lngs:["he","iw"],nr:[1,2,20,21],fc:22}],D={1:function(e){return Number(e>1)},2:function(e){return Number(1!=e)},3:function(e){return 0},4:function(e){return Number(e%10==1&&e%100!=11?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2)},5:function(e){return Number(0==e?0:1==e?1:2==e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5)},6:function(e){return Number(1==e?0:e>=2&&e<=4?1:2)},7:function(e){return Number(1==e?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2)},8:function(e){return Number(1==e?0:2==e?1:8!=e&&11!=e?2:3)},9:function(e){return Number(e>=2)},10:function(e){return Number(1==e?0:2==e?1:e<7?2:e<11?3:4)},11:function(e){return Number(1==e||11==e?0:2==e||12==e?1:e>2&&e<20?2:3)},12:function(e){return Number(e%10!=1||e%100==11)},13:function(e){return Number(0!==e)},14:function(e){return Number(1==e?0:2==e?1:3==e?2:3)},15:function(e){return Number(e%10==1&&e%100!=11?0:e%10>=2&&(e%100<10||e%100>=20)?1:2)},16:function(e){return Number(e%10==1&&e%100!=11?0:0!==e?1:2)},17:function(e){return Number(1==e||e%10==1&&e%100!=11?0:1)},18:function(e){return Number(0==e?0:1==e?1:2)},19:function(e){return Number(1==e?0:0==e||e%100>1&&e%100<11?1:e%100>10&&e%100<20?2:3)},20:function(e){return Number(1==e?0:0==e||e%100>0&&e%100<20?1:2)},21:function(e){return Number(e%100==1?1:e%100==2?2:e%100==3||e%100==4?3:0)},22:function(e){return Number(1==e?0:2==e?1:(e<0||e>10)&&e%10==0?2:3)}};function N(){var e={};return j.forEach((function(t){t.lngs.forEach((function(n){e[n]={numbers:t.nr,plurals:D[t.fc]}}))})),e}var B=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};(0,a.Z)(this,e),this.languageUtils=t,this.options=n,this.logger=g.create("pluralResolver"),this.rules=N()}return(0,s.Z)(e,[{key:"addRule",value:function(e,t){this.rules[e]=t}},{key:"getRule",value:function(e){return this.rules[e]||this.rules[this.languageUtils.getLanguagePartFromCode(e)]}},{key:"needsPlural",value:function(e){var t=this.getRule(e);return t&&t.numbers.length>1}},{key:"getPluralFormsOfKey",value:function(e,t){return this.getSuffixes(e).map((function(e){return t+e}))}},{key:"getSuffixes",value:function(e){var t=this,n=this.getRule(e);return n?n.numbers.map((function(n){return t.getSuffix(e,n)})):[]}},{key:"getSuffix",value:function(e,t){var n=this,r=this.getRule(e);if(r){var i=r.noAbs?r.plurals(t):r.plurals(Math.abs(t)),o=r.numbers[i];this.options.simplifyPluralSuffix&&2===r.numbers.length&&1===r.numbers[0]&&(2===o?o="plural":1===o&&(o=""));var a=function(){return n.options.prepend&&o.toString()?n.options.prepend+o.toString():o.toString()};return"v1"===this.options.compatibilityJSON?1===o?"":"number"==typeof o?"_plural_".concat(o.toString()):a():"v2"===this.options.compatibilityJSON||this.options.simplifyPluralSuffix&&2===r.numbers.length&&1===r.numbers[0]?a():this.options.prepend&&i.toString()?this.options.prepend+i.toString():i.toString()}return this.logger.warn("no plural rule found for: ".concat(e)),""}}]),e}(),U=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};(0,a.Z)(this,e),this.logger=g.create("interpolator"),this.options=t,this.format=t.interpolation&&t.interpolation.format||function(e){return e},this.init(t)}return(0,s.Z)(e,[{key:"init",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};e.interpolation||(e.interpolation={escapeValue:!0});var t=e.interpolation;this.escape=void 0!==t.escape?t.escape:O,this.escapeValue=void 0===t.escapeValue||t.escapeValue,this.useRawValueToEscape=void 0!==t.useRawValueToEscape&&t.useRawValueToEscape,this.prefix=t.prefix?k(t.prefix):t.prefixEscaped||"{{",this.suffix=t.suffix?k(t.suffix):t.suffixEscaped||"}}",this.formatSeparator=t.formatSeparator?t.formatSeparator:t.formatSeparator||",",this.unescapePrefix=t.unescapeSuffix?"":t.unescapePrefix||"-",this.unescapeSuffix=this.unescapePrefix?"":t.unescapeSuffix||"",this.nestingPrefix=t.nestingPrefix?k(t.nestingPrefix):t.nestingPrefixEscaped||k("$t("),this.nestingSuffix=t.nestingSuffix?k(t.nestingSuffix):t.nestingSuffixEscaped||k(")"),this.nestingOptionsSeparator=t.nestingOptionsSeparator?t.nestingOptionsSeparator:t.nestingOptionsSeparator||",",this.maxReplaces=t.maxReplaces?t.maxReplaces:1e3,this.alwaysFormat=void 0!==t.alwaysFormat&&t.alwaysFormat,this.resetRegExp()}},{key:"reset",value:function(){this.options&&this.init(this.options)}},{key:"resetRegExp",value:function(){var e="".concat(this.prefix,"(.+?)").concat(this.suffix);this.regexp=new RegExp(e,"g");var t="".concat(this.prefix).concat(this.unescapePrefix,"(.+?)").concat(this.unescapeSuffix).concat(this.suffix);this.regexpUnescape=new RegExp(t,"g");var n="".concat(this.nestingPrefix,"(.+?)").concat(this.nestingSuffix);this.nestingRegexp=new RegExp(n,"g")}},{key:"interpolate",value:function(e,t,n,r){var i,o,a,s=this,u=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{};function c(e){return e.replace(/\$/g,"$$$$")}var l=function(e){if(e.indexOf(s.formatSeparator)<0){var i=x(t,u,e);return s.alwaysFormat?s.format(i,void 0,n):i}var o=e.split(s.formatSeparator),a=o.shift().trim(),c=o.join(s.formatSeparator).trim();return s.format(x(t,u,a),c,n,r)};this.resetRegExp();var f=r&&r.missingInterpolationHandler||this.options.missingInterpolationHandler,d=r&&r.interpolation&&r.interpolation.skipOnVariables||this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:function(e){return c(e)}},{regex:this.regexp,safeValue:function(e){return s.escapeValue?c(s.escape(e)):c(e)}}].forEach((function(t){for(a=0;i=t.regex.exec(e);){if(void 0===(o=l(i[1].trim())))if("function"==typeof f){var n=f(e,i,r);o="string"==typeof n?n:""}else{if(d){o=i[0];continue}s.logger.warn("missed to pass in variable ".concat(i[1]," for interpolating ").concat(e)),o=""}else"string"==typeof o||s.useRawValueToEscape||(o=v(o));if(e=e.replace(i[0],t.safeValue(o)),t.regex.lastIndex=0,++a>=s.maxReplaces)break}})),e}},{key:"nest",value:function(e,t){var n,r,i=this,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},s=o({},a);function u(e,t){var n=this.nestingOptionsSeparator;if(e.indexOf(n)<0)return e;var r=e.split(new RegExp("".concat(n,"[ ]*{"))),i="{".concat(r[1]);e=r[0],i=(i=this.interpolate(i,s)).replace(/'/g,'"');try{s=JSON.parse(i),t&&(s=o({},t,s))}catch(t){return this.logger.warn("failed parsing options string in nesting for key ".concat(e),t),"".concat(e).concat(n).concat(i)}return delete s.defaultValue,e}for(s.applyPostProcessor=!1,delete s.defaultValue;n=this.nestingRegexp.exec(e);){var c=[],l=!1;if(n[0].includes(this.formatSeparator)&&!/{.*}/.test(n[1])){var f=n[1].split(this.formatSeparator).map((function(e){return e.trim()}));n[1]=f.shift(),c=f,l=!0}if((r=t(u.call(this,n[1].trim(),s),s))&&n[0]===e&&"string"!=typeof r)return r;"string"!=typeof r&&(r=v(r)),r||(this.logger.warn("missed to resolve ".concat(n[1]," for nesting ").concat(e)),r=""),l&&(r=c.reduce((function(e,t){return i.format(e,t,a.lng,a)}),r.trim())),e=e.replace(n[0],r),this.regexp.lastIndex=0}return e}}]),e}();var F=function(e){function t(e,n,r){var i,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return(0,a.Z)(this,t),i=c(this,l(t).call(this)),C&&m.call((0,u.Z)(i)),i.backend=e,i.store=n,i.services=r,i.languageUtils=r.languageUtils,i.options=o,i.logger=g.create("backendConnector"),i.state={},i.queue=[],i.backend&&i.backend.init&&i.backend.init(r,o.backend,o),i}return d(t,e),(0,s.Z)(t,[{key:"queueLoad",value:function(e,t,n,r){var i=this,o=[],a=[],s=[],u=[];return e.forEach((function(e){var r=!0;t.forEach((function(t){var s="".concat(e,"|").concat(t);!n.reload&&i.store.hasResourceBundle(e,t)?i.state[s]=2:i.state[s]<0||(1===i.state[s]?a.indexOf(s)<0&&a.push(s):(i.state[s]=1,r=!1,a.indexOf(s)<0&&a.push(s),o.indexOf(s)<0&&o.push(s),u.indexOf(t)<0&&u.push(t)))})),r||s.push(e)})),(o.length||a.length)&&this.queue.push({pending:a,loaded:{},errors:[],callback:r}),{toLoad:o,pending:a,toLoadLanguages:s,toLoadNamespaces:u}}},{key:"loaded",value:function(e,t,n){var r=e.split("|"),i=r[0],o=r[1];t&&this.emit("failedLoading",i,o,t),n&&this.store.addResourceBundle(i,o,n),this.state[e]=t?-1:2;var a={};this.queue.forEach((function(n){var r,s,u,c,l,f;r=n.loaded,s=o,c=_(r,[i],Object),l=c.obj,f=c.k,l[f]=l[f]||[],u&&(l[f]=l[f].concat(s)),u||l[f].push(s),function(e,t){for(var n=e.indexOf(t);-1!==n;)e.splice(n,1),n=e.indexOf(t)}(n.pending,e),t&&n.errors.push(t),0!==n.pending.length||n.done||(Object.keys(n.loaded).forEach((function(e){a[e]||(a[e]=[]),n.loaded[e].length&&n.loaded[e].forEach((function(t){a[e].indexOf(t)<0&&a[e].push(t)}))})),n.done=!0,n.errors.length?n.callback(n.errors):n.callback())})),this.emit("loaded",a),this.queue=this.queue.filter((function(e){return!e.done}))}},{key:"read",value:function(e,t,n){var r=this,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:350,a=arguments.length>5?arguments[5]:void 0;return e.length?this.backend[n](e,t,(function(s,u){s&&u&&i<5?setTimeout((function(){r.read.call(r,e,t,n,i+1,2*o,a)}),o):a(s,u)})):a(null,{})}},{key:"prepareLoading",value:function(e,t){var n=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=arguments.length>3?arguments[3]:void 0;if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),i&&i();"string"==typeof e&&(e=this.languageUtils.toResolveHierarchy(e)),"string"==typeof t&&(t=[t]);var o=this.queueLoad(e,t,r,i);if(!o.toLoad.length)return o.pending.length||i(),null;o.toLoad.forEach((function(e){n.loadOne(e)}))}},{key:"load",value:function(e,t,n){this.prepareLoading(e,t,{},n)}},{key:"reload",value:function(e,t,n){this.prepareLoading(e,t,{reload:!0},n)}},{key:"loadOne",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r=e.split("|"),i=r[0],o=r[1];this.read(i,o,"read",void 0,void 0,(function(r,a){r&&t.logger.warn("".concat(n,"loading namespace ").concat(o," for language ").concat(i," failed"),r),!r&&a&&t.logger.log("".concat(n,"loaded namespace ").concat(o," for language ").concat(i),a),t.loaded(e,r,a)}))}},{key:"saveMissing",value:function(e,t,n,r,i){var a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{};this.services.utils&&this.services.utils.hasLoadedNamespace&&!this.services.utils.hasLoadedNamespace(t)?this.logger.warn('did not save key "'.concat(n,'" as the namespace "').concat(t,'" was not yet loaded'),"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!"):null!=n&&""!==n&&(this.backend&&this.backend.create&&this.backend.create(e,t,n,r,null,o({},a,{isUpdate:i})),e&&e[0]&&this.store.addResource(e[0],t,n,r))}}]),t}(m);function z(){return{debug:!1,initImmediate:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,whitelist:!1,nonExplicitWhitelist:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!0,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:function(e){var t={};if("object"===(0,r.Z)(e[1])&&(t=e[1]),"string"==typeof e[1]&&(t.defaultValue=e[1]),"string"==typeof e[2]&&(t.tDescription=e[2]),"object"===(0,r.Z)(e[2])||"object"===(0,r.Z)(e[3])){var n=e[3]||e[2];Object.keys(n).forEach((function(e){t[e]=n[e]}))}return t},interpolation:{escapeValue:!0,format:function(e,t,n,r){return e},prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!1}}}function H(e){return"string"==typeof e.ns&&(e.ns=[e.ns]),"string"==typeof e.fallbackLng&&(e.fallbackLng=[e.fallbackLng]),"string"==typeof e.fallbackNS&&(e.fallbackNS=[e.fallbackNS]),e.whitelist&&(e.whitelist&&e.whitelist.indexOf("cimode")<0&&(e.whitelist=e.whitelist.concat(["cimode"])),e.supportedLngs=e.whitelist),e.nonExplicitWhitelist&&(e.nonExplicitSupportedLngs=e.nonExplicitWhitelist),e.supportedLngs&&e.supportedLngs.indexOf("cimode")<0&&(e.supportedLngs=e.supportedLngs.concat(["cimode"])),e}function Z(){}var q=function(e){function t(){var e,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1?arguments[1]:void 0;if((0,a.Z)(this,t),e=c(this,l(t).call(this)),C&&m.call((0,u.Z)(e)),e.options=H(n),e.services={},e.logger=g,e.modules={external:[]},r&&!e.isInitialized&&!n.isClone){if(!e.options.initImmediate)return e.init(n,r),c(e,(0,u.Z)(e));setTimeout((function(){e.init(n,r)}),0)}return e}return d(t,e),(0,s.Z)(t,[{key:"init",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;function r(e){return e?"function"==typeof e?new e:e:null}if("function"==typeof t&&(n=t,t={}),t.whitelist&&!t.supportedLngs&&this.logger.deprecate("whitelist",'option "whitelist" will be renamed to "supportedLngs" in the next major - please make sure to rename this option asap.'),t.nonExplicitWhitelist&&!t.nonExplicitSupportedLngs&&this.logger.deprecate("whitelist",'options "nonExplicitWhitelist" will be renamed to "nonExplicitSupportedLngs" in the next major - please make sure to rename this option asap.'),this.options=o({},z(),this.options,H(t)),this.format=this.options.interpolation.format,n||(n=Z),!this.options.isClone){this.modules.logger?g.init(r(this.modules.logger),this.options):g.init(null,this.options);var i=new R(this.options);this.store=new L(this.options.resources,this.options);var a=this.services;a.logger=g,a.resourceStore=this.store,a.languageUtils=i,a.pluralResolver=new B(i,{prepend:this.options.pluralSeparator,compatibilityJSON:this.options.compatibilityJSON,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),a.interpolator=new U(this.options),a.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},a.backendConnector=new F(r(this.modules.backend),a.resourceStore,a,this.options),a.backendConnector.on("*",(function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];e.emit.apply(e,[t].concat(r))})),this.modules.languageDetector&&(a.languageDetector=r(this.modules.languageDetector),a.languageDetector.init(a,this.options.detection,this.options)),this.modules.i18nFormat&&(a.i18nFormat=r(this.modules.i18nFormat),a.i18nFormat.init&&a.i18nFormat.init(this)),this.translator=new P(this.services,this.options),this.translator.on("*",(function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];e.emit.apply(e,[t].concat(r))})),this.modules.external.forEach((function(t){t.init&&t.init(e)}))}if(this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){var s=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);s.length>0&&"dev"!==s[0]&&(this.options.lng=s[0])}this.services.languageDetector||this.options.lng||this.logger.warn("init: no languageDetector is used and no lng is defined");var u=["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"];u.forEach((function(t){e[t]=function(){var n;return(n=e.store)[t].apply(n,arguments)}}));var c=["addResource","addResources","addResourceBundle","removeResourceBundle"];c.forEach((function(t){e[t]=function(){var n;return(n=e.store)[t].apply(n,arguments),e}}));var l=y(),f=function(){var t=function(t,r){e.isInitialized&&e.logger.warn("init: i18next is already initialized. You should call init just once!"),e.isInitialized=!0,e.options.isClone||e.logger.log("initialized",e.options),e.emit("initialized",e.options),l.resolve(r),n(t,r)};if(e.languages&&"v1"!==e.options.compatibilityAPI&&!e.isInitialized)return t(null,e.t.bind(e));e.changeLanguage(e.options.lng,t)};return this.options.resources||!this.options.initImmediate?f():setTimeout(f,0),l}},{key:"loadResources",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Z,r=n,i="string"==typeof e?e:this.language;if("function"==typeof e&&(r=e),!this.options.resources||this.options.partialBundledLanguages){if(i&&"cimode"===i.toLowerCase())return r();var o=[],a=function(e){e&&t.services.languageUtils.toResolveHierarchy(e).forEach((function(e){o.indexOf(e)<0&&o.push(e)}))};if(i)a(i);else{var s=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);s.forEach((function(e){return a(e)}))}this.options.preload&&this.options.preload.forEach((function(e){return a(e)})),this.services.backendConnector.load(o,this.options.ns,r)}else r(null)}},{key:"reloadResources",value:function(e,t,n){var r=y();return e||(e=this.languages),t||(t=this.options.ns),n||(n=Z),this.services.backendConnector.reload(e,t,(function(e){r.resolve(),n(e)})),r}},{key:"use",value:function(e){if(!e)throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!e.type)throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return"backend"===e.type&&(this.modules.backend=e),("logger"===e.type||e.log&&e.warn&&e.error)&&(this.modules.logger=e),"languageDetector"===e.type&&(this.modules.languageDetector=e),"i18nFormat"===e.type&&(this.modules.i18nFormat=e),"postProcessor"===e.type&&A.addPostProcessor(e),"3rdParty"===e.type&&this.modules.external.push(e),this}},{key:"changeLanguage",value:function(e,t){var n=this;this.isLanguageChangingTo=e;var r=y();this.emit("languageChanging",e);var i=function(e){var i="string"==typeof e?e:n.services.languageUtils.getBestMatchFromCodes(e);i&&(n.language||(n.language=i,n.languages=n.services.languageUtils.toResolveHierarchy(i)),n.translator.language||n.translator.changeLanguage(i),n.services.languageDetector&&n.services.languageDetector.cacheUserLanguage(i)),n.loadResources(i,(function(e){!function(e,i){i?(n.language=i,n.languages=n.services.languageUtils.toResolveHierarchy(i),n.translator.changeLanguage(i),n.isLanguageChangingTo=void 0,n.emit("languageChanged",i),n.logger.log("languageChanged",i)):n.isLanguageChangingTo=void 0,r.resolve((function(){return n.t.apply(n,arguments)})),t&&t(e,(function(){return n.t.apply(n,arguments)}))}(e,i)}))};return e||!this.services.languageDetector||this.services.languageDetector.async?!e&&this.services.languageDetector&&this.services.languageDetector.async?this.services.languageDetector.detect(i):i(e):i(this.services.languageDetector.detect()),r}},{key:"getFixedT",value:function(e,t){var n=this,i=function e(t,i){var a;if("object"!==(0,r.Z)(i)){for(var s=arguments.length,u=new Array(s>2?s-2:0),c=2;c<s;c++)u[c-2]=arguments[c];a=n.options.overloadTranslationOptionHandler([t,i].concat(u))}else a=o({},i);return a.lng=a.lng||e.lng,a.lngs=a.lngs||e.lngs,a.ns=a.ns||e.ns,n.t(t,a)};return"string"==typeof e?i.lng=e:i.lngs=e,i.ns=t,i}},{key:"t",value:function(){var e;return this.translator&&(e=this.translator).translate.apply(e,arguments)}},{key:"exists",value:function(){var e;return this.translator&&(e=this.translator).exists.apply(e,arguments)}},{key:"setDefaultNamespace",value:function(e){this.options.defaultNS=e}},{key:"hasLoadedNamespace",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;var r=this.languages[0],i=!!this.options&&this.options.fallbackLng,o=this.languages[this.languages.length-1];if("cimode"===r.toLowerCase())return!0;var a=function(e,n){var r=t.services.backendConnector.state["".concat(e,"|").concat(n)];return-1===r||2===r};if(n.precheck){var s=n.precheck(this,a);if(void 0!==s)return s}return!!this.hasResourceBundle(r,e)||(!this.services.backendConnector.backend||!(!a(r,e)||i&&!a(o,e)))}},{key:"loadNamespaces",value:function(e,t){var n=this,r=y();return this.options.ns?("string"==typeof e&&(e=[e]),e.forEach((function(e){n.options.ns.indexOf(e)<0&&n.options.ns.push(e)})),this.loadResources((function(e){r.resolve(),t&&t(e)})),r):(t&&t(),Promise.resolve())}},{key:"loadLanguages",value:function(e,t){var n=y();"string"==typeof e&&(e=[e]);var r=this.options.preload||[],i=e.filter((function(e){return r.indexOf(e)<0}));return i.length?(this.options.preload=r.concat(i),this.loadResources((function(e){n.resolve(),t&&t(e)})),n):(t&&t(),Promise.resolve())}},{key:"dir",value:function(e){if(e||(e=this.languages&&this.languages.length>0?this.languages[0]:this.language),!e)return"rtl";return["ar","shu","sqr","ssh","xaa","yhd","yud","aao","abh","abv","acm","acq","acw","acx","acy","adf","ads","aeb","aec","afb","ajp","apc","apd","arb","arq","ars","ary","arz","auz","avl","ayh","ayl","ayn","ayp","bbz","pga","he","iw","ps","pbt","pbu","pst","prp","prd","ug","ur","ydd","yds","yih","ji","yi","hbo","men","xmn","fa","jpr","peo","pes","prs","dv","sam"].indexOf(this.services.languageUtils.getLanguagePartFromCode(e))>=0?"rtl":"ltr"}},{key:"createInstance",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;return new t(e,n)}},{key:"cloneInstance",value:function(){var e=this,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Z,i=o({},this.options,n,{isClone:!0}),a=new t(i),s=["store","services","language"];return s.forEach((function(t){a[t]=e[t]})),a.services=o({},this.services),a.services.utils={hasLoadedNamespace:a.hasLoadedNamespace.bind(a)},a.translator=new P(a.services,a.options),a.translator.on("*",(function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];a.emit.apply(a,[e].concat(n))})),a.init(i,r),a.translator.options=a.options,a.translator.backendConnector.services.utils={hasLoadedNamespace:a.hasLoadedNamespace.bind(a)},a}}]),t}(m),V=new q},80645:function(e,t){t.read=function(e,t,n,r,i){var o,a,s=8*i-r-1,u=(1<<s)-1,c=u>>1,l=-7,f=n?i-1:0,d=n?-1:1,p=e[t+f];for(f+=d,o=p&(1<<-l)-1,p>>=-l,l+=s;l>0;o=256*o+e[t+f],f+=d,l-=8);for(a=o&(1<<-l)-1,o>>=-l,l+=r;l>0;a=256*a+e[t+f],f+=d,l-=8);if(0===o)o=1-c;else{if(o===u)return a?NaN:1/0*(p?-1:1);a+=Math.pow(2,r),o-=c}return(p?-1:1)*a*Math.pow(2,o-r)},t.write=function(e,t,n,r,i,o){var a,s,u,c=8*o-i-1,l=(1<<c)-1,f=l>>1,d=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,p=r?0:o-1,h=r?1:-1,g=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,a=l):(a=Math.floor(Math.log(t)/Math.LN2),t*(u=Math.pow(2,-a))<1&&(a--,u*=2),(t+=a+f>=1?d/u:d*Math.pow(2,1-f))*u>=2&&(a++,u/=2),a+f>=l?(s=0,a=l):a+f>=1?(s=(t*u-1)*Math.pow(2,i),a+=f):(s=t*Math.pow(2,f-1)*Math.pow(2,i),a=0));i>=8;e[n+p]=255&s,p+=h,s/=256,i-=8);for(a=a<<i|s,c+=i;c>0;e[n+p]=255&a,p+=h,a/=256,c-=8);e[n+p-h]|=128*g}},35717:function(e){"function"==typeof Object.create?e.exports=function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:e.exports=function(e,t){if(t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}}},31425:function(e){!function(t){var n=0,r=!1,i=function(e){for(var t=e.target;t!==document.body&&t!==document;){var r=window.getComputedStyle(t);if(!r)break;if("INPUT"===t.nodeName&&"range"===t.getAttribute("type"))return;var i=r.getPropertyValue("-webkit-overflow-scrolling"),o=r.getPropertyValue("overflow-y"),a=parseInt(r.getPropertyValue("height"),10),s="touch"===i&&("auto"===o||"scroll"===o),u=t.scrollHeight>t.offsetHeight;if(s&&u){var c=e.touches?e.touches[0].screenY:e.screenY,l=n<=c&&0===t.scrollTop,f=n>=c&&t.scrollHeight-t.scrollTop===a;return void((l||f)&&e.preventDefault())}t=t.parentNode}e.preventDefault()},o=function(e){n=e.touches?e.touches[0].screenY:e.screenY},a=function(){window.addEventListener("touchstart",o,!1),window.addEventListener("touchmove",i,!1),r=!0},s=document.createElement("div");document.documentElement.appendChild(s),s.style.WebkitOverflowScrolling="touch";var u="getComputedStyle"in window&&"touch"===window.getComputedStyle(s)["-webkit-overflow-scrolling"];document.documentElement.removeChild(s),u&&a();var c={enable:a,disable:function(){window.removeEventListener("touchstart",o,!1),window.removeEventListener("touchmove",i,!1),r=!1},isEnabled:function(){return r}};e.exports&&(e.exports=c),"function"==typeof t.define?(0,t.define)("iNoBounce",[],(function(){return c})):t.iNoBounce=c}(this)},43083:function(e){e.exports=function e(t,n,r){function i(a,s){if(!n[a]){if(!t[a]){if(o)return o(a,!0);var u=new Error("Cannot find module '"+a+"'");throw u.code="MODULE_NOT_FOUND",u}var c=n[a]={exports:{}};t[a][0].call(c.exports,(function(e){var n=t[a][1][e];return i(n||e)}),c,c.exports,e,t,n,r)}return n[a].exports}for(var o=void 0,a=0;a<r.length;a++)i(r[a]);return i}({1:[function(e,t,n){"use strict";"undefined"==typeof window?t.exports=function(t){return e("./src/utils/window").init(t),e("./src/index")}:t.exports=e("./src/index")},{"./src/index":19,"./src/utils/window":52}],2:[function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var i=e("./utils/extend.js");function o(e,t){for(var n=0;n<t.length;n++){var r=t[n];if(e.immediatePropagationStopped)break;r(e)}}var a=function(){function e(t){r(this,e),this.options=i({},t||{})}return e.prototype.fire=function(e){var t=void 0,n="on"+e.type,r=this.global;(t=this[e.type])&&o(e,t),this[n]&&this[n](e),!e.propagationStopped&&r&&(t=r[e.type])&&o(e,t)},e.prototype.on=function(e,t){this[e]?this[e].push(t):this[e]=[t]},e.prototype.off=function(e,t){var n=this[e],r=n?n.indexOf(t):-1;-1!==r&&n.splice(r,1),(n&&0===n.length||!t)&&(this[e]=void 0)},e}();t.exports=a},{"./utils/extend.js":41}],3:[function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var i=e("./utils/extend"),o=e("./utils/getOriginXY"),a=e("./defaultOptions"),s=e("./utils/Signals").new(),u=function(){function e(t,n,u,c,l,f){var d=arguments.length>6&&void 0!==arguments[6]&&arguments[6];r(this,e);var p=t.target,h=(p&&p.options||a).deltaSource,g=o(p,l,u),m="start"===c,y="end"===c,v=m?t.startCoords:t.curCoords,b=t.prevEvent;l=l||t.element;var _=i({},v.page),w=i({},v.client);_.x-=g.x,_.y-=g.y,w.x-=g.x,w.y-=g.y,this.ctrlKey=n.ctrlKey,this.altKey=n.altKey,this.shiftKey=n.shiftKey,this.metaKey=n.metaKey,this.button=n.button,this.buttons=n.buttons,this.target=l,this.currentTarget=l,this.relatedTarget=f||null,this.preEnd=d,this.type=u+(c||""),this.interaction=t,this.interactable=p,this.t0=m?t.downTimes[t.downTimes.length-1]:b.t0;var T={interaction:t,event:n,action:u,phase:c,element:l,related:f,page:_,client:w,coords:v,starting:m,ending:y,deltaSource:h,iEvent:this};s.fire("set-xy",T),y?(this.pageX=b.pageX,this.pageY=b.pageY,this.clientX=b.clientX,this.clientY=b.clientY):(this.pageX=_.x,this.pageY=_.y,this.clientX=w.x,this.clientY=w.y),this.x0=t.startCoords.page.x-g.x,this.y0=t.startCoords.page.y-g.y,this.clientX0=t.startCoords.client.x-g.x,this.clientY0=t.startCoords.client.y-g.y,s.fire("set-delta",T),this.timeStamp=v.timeStamp,this.dt=t.pointerDelta.timeStamp,this.duration=this.timeStamp-this.t0,this.speed=t.pointerDelta[h].speed,this.velocityX=t.pointerDelta[h].vx,this.velocityY=t.pointerDelta[h].vy,this.swipe=y||"inertiastart"===c?this.getSwipe():null,s.fire("new",T)}return e.prototype.getSwipe=function(){var e=this.interaction;if(e.prevEvent.speed<600||this.timeStamp-e.prevEvent.timeStamp>150)return null;var t=180*Math.atan2(e.prevEvent.velocityY,e.prevEvent.velocityX)/Math.PI,n=22.5;t<0&&(t+=360);var r=135-n<=t&&t<225+n,i=225-n<=t&&t<315+n;return{up:i,down:!i&&45-n<=t&&t<135+n,left:r,right:!r&&(315-n<=t||t<45+n),angle:t,speed:e.prevEvent.speed,velocity:{x:e.prevEvent.velocityX,y:e.prevEvent.velocityY}}},e.prototype.preventDefault=function(){},e.prototype.stopImmediatePropagation=function(){this.immediatePropagationStopped=this.propagationStopped=!0},e.prototype.stopPropagation=function(){this.propagationStopped=!0},e}();s.on("set-delta",(function(e){var t=e.iEvent,n=e.interaction,r=e.starting,i=e.deltaSource,o=r?t:n.prevEvent;"client"===i?(t.dx=t.clientX-o.clientX,t.dy=t.clientY-o.clientY):(t.dx=t.pageX-o.pageX,t.dy=t.pageY-o.pageY)})),u.signals=s,t.exports=u},{"./defaultOptions":18,"./utils/Signals":34,"./utils/extend":41,"./utils/getOriginXY":42}],4:[function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var i=e("./utils/clone"),o=e("./utils/is"),a=e("./utils/events"),s=e("./utils/extend"),u=e("./actions/base"),c=e("./scope"),l=e("./Eventable"),f=e("./defaultOptions"),d=e("./utils/Signals").new(),p=e("./utils/domUtils"),h=p.getElementRect,g=p.nodeContains,m=p.trySelector,y=p.matchesSelector,v=e("./utils/window").getWindow,b=e("./utils/arr").contains,_=e("./utils/browser").wheelEvent;c.interactables=[];var w=function(){function e(t,n){r(this,e),n=n||{},this.target=t,this.events=new l,this._context=n.context||c.document,this._win=v(m(t)?this._context:t),this._doc=this._win.document,d.fire("new",{target:t,options:n,interactable:this,win:this._win}),c.addDocument(this._doc,this._win),c.interactables.push(this),this.set(n)}return e.prototype.setOnEvents=function(e,t){var n="on"+e;return o.function(t.onstart)&&(this.events[n+"start"]=t.onstart),o.function(t.onmove)&&(this.events[n+"move"]=t.onmove),o.function(t.onend)&&(this.events[n+"end"]=t.onend),o.function(t.oninertiastart)&&(this.events[n+"inertiastart"]=t.oninertiastart),this},e.prototype.setPerAction=function(e,t){for(var n in t)n in f[e]&&(o.object(t[n])?(this.options[e][n]=i(this.options[e][n]||{}),s(this.options[e][n],t[n]),o.object(f.perAction[n])&&"enabled"in f.perAction[n]&&(this.options[e][n].enabled=!1!==t[n].enabled)):o.bool(t[n])&&o.object(f.perAction[n])?this.options[e][n].enabled=t[n]:void 0!==t[n]&&(this.options[e][n]=t[n]))},e.prototype.getRect=function(e){return e=e||this.target,o.string(this.target)&&!o.element(e)&&(e=this._context.querySelector(this.target)),h(e)},e.prototype.rectChecker=function(e){return o.function(e)?(this.getRect=e,this):null===e?(delete this.options.getRect,this):this.getRect},e.prototype._backCompatOption=function(e,t){if(m(t)||o.object(t)){this.options[e]=t;for(var n=0;n<u.names.length;n++){var r=u.names[n];this.options[r][e]=t}return this}return this.options[e]},e.prototype.origin=function(e){return this._backCompatOption("origin",e)},e.prototype.deltaSource=function(e){return"page"===e||"client"===e?(this.options.deltaSource=e,this):this.options.deltaSource},e.prototype.context=function(){return this._context},e.prototype.inContext=function(e){return this._context===e.ownerDocument||g(this._context,e)},e.prototype.fire=function(e){return this.events.fire(e),this},e.prototype._onOffMultiple=function(e,t,n,r){if(o.string(t)&&-1!==t.search(" ")&&(t=t.trim().split(/ +/)),o.array(t)){for(var i=0;i<t.length;i++){var a=t[i];this[e](a,n,r)}return!0}if(o.object(t)){for(var s in t)this[e](s,t[s],n);return!0}},e.prototype.on=function(t,n,r){return this._onOffMultiple("on",t,n,r)||("wheel"===t&&(t=_),b(e.eventTypes,t)?this.events.on(t,n):o.string(this.target)?a.addDelegate(this.target,this._context,t,n,r):a.add(this.target,t,n,r)),this},e.prototype.off=function(t,n,r){return this._onOffMultiple("off",t,n,r)||("wheel"===t&&(t=_),b(e.eventTypes,t)?this.events.off(t,n):o.string(this.target)?a.removeDelegate(this.target,this._context,t,n,r):a.remove(this.target,t,n,r)),this},e.prototype.set=function(t){o.object(t)||(t={}),this.options=i(f.base);var n=i(f.perAction);for(var r in u.methodDict){var a=u.methodDict[r];this.options[r]=i(f[r]),this.setPerAction(r,n),this[a](t[r])}for(var s=0;s<e.settingsMethods.length;s++){var c=e.settingsMethods[s];this.options[c]=f.base[c],c in t&&this[c](t[c])}return d.fire("set",{options:t,interactable:this}),this},e.prototype.unset=function(){if(a.remove(this.target,"all"),o.string(this.target))for(var e in a.delegatedEvents){var t=a.delegatedEvents[e];t.selectors[0]===this.target&&t.contexts[0]===this._context&&(t.selectors.splice(0,1),t.contexts.splice(0,1),t.listeners.splice(0,1),t.selectors.length||(t[e]=null)),a.remove(this._context,e,a.delegateListener),a.remove(this._context,e,a.delegateUseCapture,!0)}else a.remove(this,"all");d.fire("unset",{interactable:this}),c.interactables.splice(c.interactables.indexOf(this),1);for(var n=0;n<(c.interactions||[]).length;n++){var r=(c.interactions||[])[n];r.target===this&&r.interacting()&&!r._ending&&r.stop()}return c.interact},e}();c.interactables.indexOfElement=function(e,t){t=t||c.document;for(var n=0;n<this.length;n++){var r=this[n];if(r.target===e&&r._context===t)return n}return-1},c.interactables.get=function(e,t,n){var r=this[this.indexOfElement(e,t&&t.context)];return r&&(o.string(e)||n||r.inContext(e))?r:null},c.interactables.forEachMatch=function(e,t){for(var n=0;n<this.length;n++){var r=this[n],i=void 0;if((o.string(r.target)?o.element(e)&&y(e,r.target):e===r.target)&&r.inContext(e)&&(i=t(r)),void 0!==i)return i}},w.eventTypes=c.eventTypes=[],w.signals=d,w.settingsMethods=["deltaSource","origin","preventDefault","rectChecker"],t.exports=w},{"./Eventable":2,"./actions/base":6,"./defaultOptions":18,"./scope":33,"./utils/Signals":34,"./utils/arr":35,"./utils/browser":36,"./utils/clone":37,"./utils/domUtils":39,"./utils/events":40,"./utils/extend":41,"./utils/is":46,"./utils/window":52}],5:[function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var i=e("./scope"),o=e("./utils"),a=e("./utils/events"),s=e("./utils/browser"),u=e("./utils/domObjects"),c=e("./utils/interactionFinder"),l=e("./utils/Signals").new(),f={},d=["pointerDown","pointerMove","pointerUp","updatePointer","removePointer"],p=0;i.interactions=[];for(var h=function(){function e(t){var n=t.pointerType;r(this,e),this.target=null,this.element=null,this.prepared={name:null,axis:null,edges:null},this.pointers=[],this.pointerIds=[],this.downTargets=[],this.downTimes=[],this.prevCoords={page:{x:0,y:0},client:{x:0,y:0},timeStamp:0},this.curCoords={page:{x:0,y:0},client:{x:0,y:0},timeStamp:0},this.startCoords={page:{x:0,y:0},client:{x:0,y:0},timeStamp:0},this.pointerDelta={page:{x:0,y:0,vx:0,vy:0,speed:0},client:{x:0,y:0,vx:0,vy:0,speed:0},timeStamp:0},this.downEvent=null,this.downPointer={},this._eventTarget=null,this._curEventTarget=null,this.prevEvent=null,this.pointerIsDown=!1,this.pointerWasMoved=!1,this._interacting=!1,this._ending=!1,this.pointerType=n,l.fire("new",this),i.interactions.push(this)}return e.prototype.pointerDown=function(e,t,n){var r=this.updatePointer(e,t,!0);l.fire("down",{pointer:e,event:t,eventTarget:n,pointerIndex:r,interaction:this})},e.prototype.start=function(e,t,n){this.interacting()||!this.pointerIsDown||this.pointerIds.length<("gesture"===e.name?2:1)||(-1===i.interactions.indexOf(this)&&i.interactions.push(this),o.copyAction(this.prepared,e),this.target=t,this.element=n,l.fire("action-start",{interaction:this,event:this.downEvent}))},e.prototype.pointerMove=function(t,n,r){this.simulation||(this.updatePointer(t),o.setCoords(this.curCoords,this.pointers));var i=this.curCoords.page.x===this.prevCoords.page.x&&this.curCoords.page.y===this.prevCoords.page.y&&this.curCoords.client.x===this.prevCoords.client.x&&this.curCoords.client.y===this.prevCoords.client.y,a=void 0,s=void 0;this.pointerIsDown&&!this.pointerWasMoved&&(a=this.curCoords.client.x-this.startCoords.client.x,s=this.curCoords.client.y-this.startCoords.client.y,this.pointerWasMoved=o.hypot(a,s)>e.pointerMoveTolerance);var u={pointer:t,pointerIndex:this.getPointerIndex(t),event:n,eventTarget:r,dx:a,dy:s,duplicate:i,interaction:this,interactingBeforeMove:this.interacting()};i||o.setCoordDeltas(this.pointerDelta,this.prevCoords,this.curCoords),l.fire("move",u),i||(this.interacting()&&this.doMove(u),this.pointerWasMoved&&o.copyCoords(this.prevCoords,this.curCoords))},e.prototype.doMove=function(e){e=o.extend({pointer:this.pointers[0],event:this.prevEvent,eventTarget:this._eventTarget,interaction:this},e||{}),l.fire("before-action-move",e),this._dontFireMove||l.fire("action-move",e),this._dontFireMove=!1},e.prototype.pointerUp=function(e,t,n,r){var i=this.getPointerIndex(e);l.fire(/cancel$/i.test(t.type)?"cancel":"up",{pointer:e,pointerIndex:i,event:t,eventTarget:n,curEventTarget:r,interaction:this}),this.simulation||this.end(t),this.pointerIsDown=!1,this.removePointer(e,t)},e.prototype.end=function(e){this._ending=!0,e=e||this.prevEvent,this.interacting()&&l.fire("action-end",{event:e,interaction:this}),this.stop(),this._ending=!1},e.prototype.currentAction=function(){return this._interacting?this.prepared.name:null},e.prototype.interacting=function(){return this._interacting},e.prototype.stop=function(){l.fire("stop",{interaction:this}),this._interacting&&(l.fire("stop-active",{interaction:this}),l.fire("stop-"+this.prepared.name,{interaction:this})),this.target=this.element=null,this._interacting=!1,this.prepared.name=this.prevEvent=null},e.prototype.getPointerIndex=function(e){return"mouse"===this.pointerType||"pen"===this.pointerType?0:this.pointerIds.indexOf(o.getPointerId(e))},e.prototype.updatePointer=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:t&&/(down|start)$/i.test(t.type),r=o.getPointerId(e),i=this.getPointerIndex(e);return-1===i&&(i=this.pointerIds.length,this.pointerIds[i]=r),n&&l.fire("update-pointer-down",{pointer:e,event:t,down:n,pointerId:r,pointerIndex:i,interaction:this}),this.pointers[i]=e,i},e.prototype.removePointer=function(e,t){var n=this.getPointerIndex(e);-1!==n&&(l.fire("remove-pointer",{pointer:e,event:t,pointerIndex:n,interaction:this}),this.pointers.splice(n,1),this.pointerIds.splice(n,1),this.downTargets.splice(n,1),this.downTimes.splice(n,1))},e.prototype._updateEventTargets=function(e,t){this._eventTarget=e,this._curEventTarget=t},e}(),g=0;g<d.length;g++){var m=d[g];f[m]=y(m)}function y(e){return function(t){var n=o.getPointerType(t),r=o.getEventTargets(t),a=r[0],u=r[1],l=[];if(s.supportsTouch&&/touch/.test(t.type)){p=(new Date).getTime();for(var f=0;f<t.changedTouches.length;f++){var d=t.changedTouches[f],g=c.search(d,t.type,a);l.push([d,g||new h({pointerType:n})])}}else{var m=!1;if(!s.supportsPointerEvent&&/mouse/.test(t.type)){for(var y=0;y<i.interactions.length&&!m;y++)m="mouse"!==i.interactions[y].pointerType&&i.interactions[y].pointerIsDown;m=m||(new Date).getTime()-p<500||0===t.timeStamp}if(!m){var v=c.search(t,t.type,a);v||(v=new h({pointerType:n})),l.push([t,v])}}for(var b=0;b<l.length;b++){var _=l[b],w=_[0],T=_[1];T._updateEventTargets(a,u),T[e](w,t,a,u)}}}function v(e){for(var t=0;t<i.interactions.length;t++){var n=i.interactions[t];n.end(e),l.fire("endall",{event:e,interaction:n})}}var b={},_=s.pEventTypes;function w(e,t){var n=e.doc,r=0===t.indexOf("add")?a.add:a.remove;for(var o in i.delegatedEvents)r(n,o,a.delegateListener),r(n,o,a.delegateUseCapture,!0);for(var u in b)r(n,u,b[u],s.isIOS?{passive:!1}:void 0)}u.PointerEvent?(b[_.down]=f.pointerDown,b[_.move]=f.pointerMove,b[_.up]=f.pointerUp,b[_.cancel]=f.pointerUp):(b.mousedown=f.pointerDown,b.mousemove=f.pointerMove,b.mouseup=f.pointerUp,b.touchstart=f.pointerDown,b.touchmove=f.pointerMove,b.touchend=f.pointerUp,b.touchcancel=f.pointerUp),b.blur=v,l.on("update-pointer-down",(function(e){var t=e.interaction,n=e.pointer,r=e.pointerId,i=e.pointerIndex,a=e.event,s=e.eventTarget,u=e.down;t.pointerIds[i]=r,t.pointers[i]=n,u&&(t.pointerIsDown=!0),t.interacting()||(o.setCoords(t.startCoords,t.pointers),o.copyCoords(t.curCoords,t.startCoords),o.copyCoords(t.prevCoords,t.startCoords),t.downEvent=a,t.downTimes[i]=t.curCoords.timeStamp,t.downTargets[i]=s||a&&o.getEventTargets(a)[0],t.pointerWasMoved=!1,o.pointerExtend(t.downPointer,n))})),i.signals.on("add-document",w),i.signals.on("remove-document",w),h.pointerMoveTolerance=1,h.doOnInteractions=y,h.endAll=v,h.signals=l,h.docEvents=b,i.endAllInteractions=v,t.exports=h},{"./scope":33,"./utils":44,"./utils/Signals":34,"./utils/browser":36,"./utils/domObjects":38,"./utils/events":40,"./utils/interactionFinder":45}],6:[function(e,t,n){"use strict";var r=e("../Interaction"),i=e("../InteractEvent"),o={firePrepared:a,names:[],methodDict:{}};function a(e,t,n,r){var o=e.prepared.name,a=new i(e,t,o,n,e.element,null,r);e.target.fire(a),e.prevEvent=a}r.signals.on("action-start",(function(e){var t=e.interaction,n=e.event;t._interacting=!0,a(t,n,"start")})),r.signals.on("action-move",(function(e){var t=e.interaction;if(a(t,e.event,"move",e.preEnd),!t.interacting())return!1})),r.signals.on("action-end",(function(e){a(e.interaction,e.event,"end")})),t.exports=o},{"../InteractEvent":3,"../Interaction":5}],7:[function(e,t,n){"use strict";var r=e("./base"),i=e("../utils"),o=e("../InteractEvent"),a=e("../Interactable"),s=e("../Interaction"),u=e("../defaultOptions"),c={defaults:{enabled:!1,mouseButtons:null,origin:null,snap:null,restrict:null,inertia:null,autoScroll:null,startAxis:"xy",lockAxis:"xy"},checker:function(e,t,n){var r=n.options.drag;return r.enabled?{name:"drag",axis:"start"===r.lockAxis?r.startAxis:r.lockAxis}:null},getCursor:function(){return"move"}};s.signals.on("before-action-move",(function(e){var t=e.interaction;if("drag"===t.prepared.name){var n=t.prepared.axis;"x"===n?(t.curCoords.page.y=t.startCoords.page.y,t.curCoords.client.y=t.startCoords.client.y,t.pointerDelta.page.speed=Math.abs(t.pointerDelta.page.vx),t.pointerDelta.client.speed=Math.abs(t.pointerDelta.client.vx),t.pointerDelta.client.vy=0,t.pointerDelta.page.vy=0):"y"===n&&(t.curCoords.page.x=t.startCoords.page.x,t.curCoords.client.x=t.startCoords.client.x,t.pointerDelta.page.speed=Math.abs(t.pointerDelta.page.vy),t.pointerDelta.client.speed=Math.abs(t.pointerDelta.client.vy),t.pointerDelta.client.vx=0,t.pointerDelta.page.vx=0)}})),o.signals.on("new",(function(e){var t=e.iEvent,n=e.interaction;if("dragmove"===t.type){var r=n.prepared.axis;"x"===r?(t.pageY=n.startCoords.page.y,t.clientY=n.startCoords.client.y,t.dy=0):"y"===r&&(t.pageX=n.startCoords.page.x,t.clientX=n.startCoords.client.x,t.dx=0)}})),a.prototype.draggable=function(e){return i.is.object(e)?(this.options.drag.enabled=!1!==e.enabled,this.setPerAction("drag",e),this.setOnEvents("drag",e),/^(xy|x|y|start)$/.test(e.lockAxis)&&(this.options.drag.lockAxis=e.lockAxis),/^(xy|x|y)$/.test(e.startAxis)&&(this.options.drag.startAxis=e.startAxis),this):i.is.bool(e)?(this.options.drag.enabled=e,e||(this.ondragstart=this.ondragstart=this.ondragend=null),this):this.options.drag},r.drag=c,r.names.push("drag"),i.merge(a.eventTypes,["dragstart","dragmove","draginertiastart","draginertiaresume","dragend"]),r.methodDict.drag="draggable",u.drag=c.defaults,t.exports=c},{"../InteractEvent":3,"../Interactable":4,"../Interaction":5,"../defaultOptions":18,"../utils":44,"./base":6}],8:[function(e,t,n){"use strict";var r=e("./base"),i=e("../utils"),o=e("../scope"),a=e("../interact"),s=e("../InteractEvent"),u=e("../Interactable"),c=e("../Interaction"),l=e("../defaultOptions"),f={defaults:{enabled:!1,accept:null,overlap:"pointer"}},d=!1;function p(e,t){for(var n=[],r=[],a=0;a<o.interactables.length;a++){var s=o.interactables[a];if(s.options.drop.enabled){var u=s.options.drop.accept;if(!(i.is.element(u)&&u!==t||i.is.string(u)&&!i.matchesSelector(t,u)))for(var c=i.is.string(s.target)?s._context.querySelectorAll(s.target):[s.target],l=0;l<c.length;l++){var f=c[l];f!==t&&(n.push(s),r.push(f))}}}return{elements:r,dropzones:n}}function h(e,t){for(var n=void 0,r=0;r<e.dropzones.length;r++){var i=e.dropzones[r],o=e.elements[r];o!==n&&(t.target=o,i.fire(t)),n=o}}function g(e,t){var n=p(e,t);e.dropzones=n.dropzones,e.elements=n.elements,e.rects=[];for(var r=0;r<e.dropzones.length;r++)e.rects[r]=e.dropzones[r].getRect(e.elements[r])}function m(e,t,n){var r=e.interaction,o=[];d&&g(r.activeDrops,n);for(var a=0;a<r.activeDrops.dropzones.length;a++){var s=r.activeDrops.dropzones[a],u=r.activeDrops.elements[a],c=r.activeDrops.rects[a];o.push(s.dropCheck(e,t,r.target,n,u,c)?u:null)}var l=i.indexOfDeepestElement(o);return{dropzone:r.activeDrops.dropzones[l]||null,element:r.activeDrops.elements[l]||null}}function y(e,t,n){var r={enter:null,leave:null,activate:null,deactivate:null,move:null,drop:null},o={dragEvent:n,interaction:e,target:e.dropElement,dropzone:e.dropTarget,relatedTarget:n.target,draggable:n.interactable,timeStamp:n.timeStamp};return e.dropElement!==e.prevDropElement&&(e.prevDropTarget&&(r.leave=i.extend({type:"dragleave"},o),n.dragLeave=r.leave.target=e.prevDropElement,n.prevDropzone=r.leave.dropzone=e.prevDropTarget),e.dropTarget&&(r.enter={dragEvent:n,interaction:e,target:e.dropElement,dropzone:e.dropTarget,relatedTarget:n.target,draggable:n.interactable,timeStamp:n.timeStamp,type:"dragenter"},n.dragEnter=e.dropElement,n.dropzone=e.dropTarget)),"dragend"===n.type&&e.dropTarget&&(r.drop=i.extend({type:"drop"},o),n.dropzone=e.dropTarget,n.relatedTarget=e.dropElement),"dragstart"===n.type&&(r.activate=i.extend({type:"dropactivate"},o),r.activate.target=null,r.activate.dropzone=null),"dragend"===n.type&&(r.deactivate=i.extend({type:"dropdeactivate"},o),r.deactivate.target=null,r.deactivate.dropzone=null),"dragmove"===n.type&&e.dropTarget&&(r.move=i.extend({dragmove:n,type:"dropmove"},o),n.dropzone=e.dropTarget),r}function v(e,t){var n=e.activeDrops,r=e.prevDropTarget,i=e.dropTarget,o=e.dropElement;t.leave&&r.fire(t.leave),t.move&&i.fire(t.move),t.enter&&i.fire(t.enter),t.drop&&i.fire(t.drop),t.deactivate&&h(n,t.deactivate),e.prevDropTarget=i,e.prevDropElement=o}c.signals.on("action-start",(function(e){var t=e.interaction,n=e.event;if("drag"===t.prepared.name){t.activeDrops.dropzones=[],t.activeDrops.elements=[],t.activeDrops.rects=[],t.dropEvents=null,t.dynamicDrop||g(t.activeDrops,t.element);var r=y(t,n,t.prevEvent);r.activate&&h(t.activeDrops,r.activate)}})),s.signals.on("new",(function(e){var t=e.interaction,n=e.iEvent,r=e.event;if("dragmove"===n.type||"dragend"===n.type){var i=n,o=m(i,r,t.element);t.dropTarget=o.dropzone,t.dropElement=o.element,t.dropEvents=y(t,r,i)}})),c.signals.on("action-move",(function(e){var t=e.interaction;"drag"===t.prepared.name&&v(t,t.dropEvents)})),c.signals.on("action-end",(function(e){var t=e.interaction;"drag"===t.prepared.name&&v(t,t.dropEvents)})),c.signals.on("stop-drag",(function(e){var t=e.interaction;t.activeDrops={dropzones:null,elements:null,rects:null},t.dropEvents=null})),u.prototype.dropzone=function(e){return i.is.object(e)?(this.options.drop.enabled=!1!==e.enabled,i.is.function(e.ondrop)&&(this.events.ondrop=e.ondrop),i.is.function(e.ondropactivate)&&(this.events.ondropactivate=e.ondropactivate),i.is.function(e.ondropdeactivate)&&(this.events.ondropdeactivate=e.ondropdeactivate),i.is.function(e.ondragenter)&&(this.events.ondragenter=e.ondragenter),i.is.function(e.ondragleave)&&(this.events.ondragleave=e.ondragleave),i.is.function(e.ondropmove)&&(this.events.ondropmove=e.ondropmove),/^(pointer|center)$/.test(e.overlap)?this.options.drop.overlap=e.overlap:i.is.number(e.overlap)&&(this.options.drop.overlap=Math.max(Math.min(1,e.overlap),0)),"accept"in e&&(this.options.drop.accept=e.accept),"checker"in e&&(this.options.drop.checker=e.checker),this):i.is.bool(e)?(this.options.drop.enabled=e,e||(this.ondragenter=this.ondragleave=this.ondrop=this.ondropactivate=this.ondropdeactivate=null),this):this.options.drop},u.prototype.dropCheck=function(e,t,n,r,o,a){var s=!1;if(!(a=a||this.getRect(o)))return!!this.options.drop.checker&&this.options.drop.checker(e,t,s,this,o,n,r);var u=this.options.drop.overlap;if("pointer"===u){var c=i.getOriginXY(n,r,"drag"),l=i.getPageXY(e);l.x+=c.x,l.y+=c.y;var f=l.x>a.left&&l.x<a.right,d=l.y>a.top&&l.y<a.bottom;s=f&&d}var p=n.getRect(r);if(p&&"center"===u){var h=p.left+p.width/2,g=p.top+p.height/2;s=h>=a.left&&h<=a.right&&g>=a.top&&g<=a.bottom}return p&&i.is.number(u)&&(s=Math.max(0,Math.min(a.right,p.right)-Math.max(a.left,p.left))*Math.max(0,Math.min(a.bottom,p.bottom)-Math.max(a.top,p.top))/(p.width*p.height)>=u),this.options.drop.checker&&(s=this.options.drop.checker(e,t,s,this,o,n,r)),s},u.signals.on("unset",(function(e){e.interactable.dropzone(!1)})),u.settingsMethods.push("dropChecker"),c.signals.on("new",(function(e){e.dropTarget=null,e.dropElement=null,e.prevDropTarget=null,e.prevDropElement=null,e.dropEvents=null,e.activeDrops={dropzones:[],elements:[],rects:[]}})),c.signals.on("stop",(function(e){var t=e.interaction;t.dropTarget=t.dropElement=t.prevDropTarget=t.prevDropElement=null})),a.dynamicDrop=function(e){return i.is.bool(e)?(d=e,a):d},i.merge(u.eventTypes,["dragenter","dragleave","dropactivate","dropdeactivate","dropmove","drop"]),r.methodDict.drop="dropzone",l.drop=f.defaults,t.exports=f},{"../InteractEvent":3,"../Interactable":4,"../Interaction":5,"../defaultOptions":18,"../interact":21,"../scope":33,"../utils":44,"./base":6}],9:[function(e,t,n){"use strict";var r=e("./base"),i=e("../utils"),o=e("../InteractEvent"),a=e("../Interactable"),s=e("../Interaction"),u=e("../defaultOptions"),c={defaults:{enabled:!1,origin:null,restrict:null},checker:function(e,t,n,r,i){return i.pointerIds.length>=2?{name:"gesture"}:null},getCursor:function(){return""}};o.signals.on("new",(function(e){var t=e.iEvent,n=e.interaction;"gesturestart"===t.type&&(t.ds=0,n.gesture.startDistance=n.gesture.prevDistance=t.distance,n.gesture.startAngle=n.gesture.prevAngle=t.angle,n.gesture.scale=1)})),o.signals.on("new",(function(e){var t=e.iEvent,n=e.interaction;"gesturemove"===t.type&&(t.ds=t.scale-n.gesture.scale,n.target.fire(t),n.gesture.prevAngle=t.angle,n.gesture.prevDistance=t.distance,t.scale===1/0||null===t.scale||void 0===t.scale||isNaN(t.scale)||(n.gesture.scale=t.scale))})),a.prototype.gesturable=function(e){return i.is.object(e)?(this.options.gesture.enabled=!1!==e.enabled,this.setPerAction("gesture",e),this.setOnEvents("gesture",e),this):i.is.bool(e)?(this.options.gesture.enabled=e,e||(this.ongesturestart=this.ongesturestart=this.ongestureend=null),this):this.options.gesture},o.signals.on("set-delta",(function(e){var t=e.interaction,n=e.iEvent,r=e.action,a=e.event,s=e.starting,u=e.ending,c=e.deltaSource;if("gesture"===r){var l=t.pointers;n.touches=[l[0],l[1]],s?(n.distance=i.touchDistance(l,c),n.box=i.touchBBox(l),n.scale=1,n.ds=0,n.angle=i.touchAngle(l,void 0,c),n.da=0):u||a instanceof o?(n.distance=t.prevEvent.distance,n.box=t.prevEvent.box,n.scale=t.prevEvent.scale,n.ds=n.scale-1,n.angle=t.prevEvent.angle,n.da=n.angle-t.gesture.startAngle):(n.distance=i.touchDistance(l,c),n.box=i.touchBBox(l),n.scale=n.distance/t.gesture.startDistance,n.angle=i.touchAngle(l,t.gesture.prevAngle,c),n.ds=n.scale-t.gesture.prevScale,n.da=n.angle-t.gesture.prevAngle)}})),s.signals.on("new",(function(e){e.gesture={start:{x:0,y:0},startDistance:0,prevDistance:0,distance:0,scale:1,startAngle:0,prevAngle:0}})),r.gesture=c,r.names.push("gesture"),i.merge(a.eventTypes,["gesturestart","gesturemove","gestureend"]),r.methodDict.gesture="gesturable",u.gesture=c.defaults,t.exports=c},{"../InteractEvent":3,"../Interactable":4,"../Interaction":5,"../defaultOptions":18,"../utils":44,"./base":6}],10:[function(e,t,n){"use strict";var r=e("./base"),i=e("../utils"),o=e("../utils/browser"),a=e("../InteractEvent"),s=e("../Interactable"),u=e("../Interaction"),c=e("../defaultOptions"),l=o.supportsTouch||o.supportsPointerEvent?20:10,f={defaults:{enabled:!1,mouseButtons:null,origin:null,snap:null,restrict:null,inertia:null,autoScroll:null,square:!1,preserveAspectRatio:!1,axis:"xy",margin:NaN,edges:null,invert:"none"},checker:function(e,t,n,r,o,a){if(!a)return null;var s=i.extend({},o.curCoords.page),u=n.options;if(u.resize.enabled){var c=u.resize,f={left:!1,right:!1,top:!1,bottom:!1};if(i.is.object(c.edges)){for(var p in f)f[p]=d(p,c.edges[p],s,o._eventTarget,r,a,c.margin||l);if(f.left=f.left&&!f.right,f.top=f.top&&!f.bottom,f.left||f.right||f.top||f.bottom)return{name:"resize",edges:f}}else{var h="y"!==u.resize.axis&&s.x>a.right-l,g="x"!==u.resize.axis&&s.y>a.bottom-l;if(h||g)return{name:"resize",axes:(h?"x":"")+(g?"y":"")}}}return null},cursors:o.isIe9?{x:"e-resize",y:"s-resize",xy:"se-resize",top:"n-resize",left:"w-resize",bottom:"s-resize",right:"e-resize",topleft:"se-resize",bottomright:"se-resize",topright:"ne-resize",bottomleft:"ne-resize"}:{x:"ew-resize",y:"ns-resize",xy:"nwse-resize",top:"ns-resize",left:"ew-resize",bottom:"ns-resize",right:"ew-resize",topleft:"nwse-resize",bottomright:"nwse-resize",topright:"nesw-resize",bottomleft:"nesw-resize"},getCursor:function(e){if(e.axis)return f.cursors[e.name+e.axis];if(e.edges){for(var t="",n=["top","bottom","left","right"],r=0;r<4;r++)e.edges[n[r]]&&(t+=n[r]);return f.cursors[t]}}};function d(e,t,n,r,o,a,s){if(!t)return!1;if(!0===t){var u=i.is.number(a.width)?a.width:a.right-a.left,c=i.is.number(a.height)?a.height:a.bottom-a.top;if(u<0&&("left"===e?e="right":"right"===e&&(e="left")),c<0&&("top"===e?e="bottom":"bottom"===e&&(e="top")),"left"===e)return n.x<(u>=0?a.left:a.right)+s;if("top"===e)return n.y<(c>=0?a.top:a.bottom)+s;if("right"===e)return n.x>(u>=0?a.right:a.left)-s;if("bottom"===e)return n.y>(c>=0?a.bottom:a.top)-s}return!!i.is.element(r)&&(i.is.element(t)?t===r:i.matchesUpTo(r,t,o))}a.signals.on("new",(function(e){var t=e.iEvent,n=e.interaction;if("resizestart"===t.type&&n.prepared.edges){var r=n.target.getRect(n.element),o=n.target.options.resize;if(o.square||o.preserveAspectRatio){var a=i.extend({},n.prepared.edges);a.top=a.top||a.left&&!a.bottom,a.left=a.left||a.top&&!a.right,a.bottom=a.bottom||a.right&&!a.top,a.right=a.right||a.bottom&&!a.left,n.prepared._linkedEdges=a}else n.prepared._linkedEdges=null;o.preserveAspectRatio&&(n.resizeStartAspectRatio=r.width/r.height),n.resizeRects={start:r,current:i.extend({},r),inverted:i.extend({},r),previous:i.extend({},r),delta:{left:0,right:0,width:0,top:0,bottom:0,height:0}},t.rect=n.resizeRects.inverted,t.deltaRect=n.resizeRects.delta}})),a.signals.on("new",(function(e){var t=e.iEvent,n=e.phase,r=e.interaction;if("move"===n&&r.prepared.edges){var o=r.target.options.resize,a=o.invert,s="reposition"===a||"negate"===a,u=r.prepared.edges,c=r.resizeRects.start,l=r.resizeRects.current,f=r.resizeRects.inverted,d=r.resizeRects.delta,p=i.extend(r.resizeRects.previous,f),h=u,g=t.dx,m=t.dy;if(o.preserveAspectRatio||o.square){var y=o.preserveAspectRatio?r.resizeStartAspectRatio:1;u=r.prepared._linkedEdges,h.left&&h.bottom||h.right&&h.top?m=-g/y:h.left||h.right?m=g/y:(h.top||h.bottom)&&(g=m*y)}if(u.top&&(l.top+=m),u.bottom&&(l.bottom+=m),u.left&&(l.left+=g),u.right&&(l.right+=g),s){if(i.extend(f,l),"reposition"===a){var v=void 0;f.top>f.bottom&&(v=f.top,f.top=f.bottom,f.bottom=v),f.left>f.right&&(v=f.left,f.left=f.right,f.right=v)}}else f.top=Math.min(l.top,c.bottom),f.bottom=Math.max(l.bottom,c.top),f.left=Math.min(l.left,c.right),f.right=Math.max(l.right,c.left);for(var b in f.width=f.right-f.left,f.height=f.bottom-f.top,f)d[b]=f[b]-p[b];t.edges=r.prepared.edges,t.rect=f,t.deltaRect=d}})),s.prototype.resizable=function(e){return i.is.object(e)?(this.options.resize.enabled=!1!==e.enabled,this.setPerAction("resize",e),this.setOnEvents("resize",e),/^x$|^y$|^xy$/.test(e.axis)?this.options.resize.axis=e.axis:null===e.axis&&(this.options.resize.axis=c.resize.axis),i.is.bool(e.preserveAspectRatio)?this.options.resize.preserveAspectRatio=e.preserveAspectRatio:i.is.bool(e.square)&&(this.options.resize.square=e.square),this):i.is.bool(e)?(this.options.resize.enabled=e,e||(this.onresizestart=this.onresizestart=this.onresizeend=null),this):this.options.resize},u.signals.on("new",(function(e){e.resizeAxes="xy"})),a.signals.on("set-delta",(function(e){var t=e.interaction,n=e.iEvent;"resize"===e.action&&t.resizeAxes&&(t.target.options.resize.square?("y"===t.resizeAxes?n.dx=n.dy:n.dy=n.dx,n.axes="xy"):(n.axes=t.resizeAxes,"x"===t.resizeAxes?n.dy=0:"y"===t.resizeAxes&&(n.dx=0)))})),r.resize=f,r.names.push("resize"),i.merge(s.eventTypes,["resizestart","resizemove","resizeinertiastart","resizeinertiaresume","resizeend"]),r.methodDict.resize="resizable",c.resize=f.defaults,t.exports=f},{"../InteractEvent":3,"../Interactable":4,"../Interaction":5,"../defaultOptions":18,"../utils":44,"../utils/browser":36,"./base":6}],11:[function(e,t,n){"use strict";var r=e("./utils/raf"),i=e("./utils/window").getWindow,o=e("./utils/is"),a=e("./utils/domUtils"),s=e("./Interaction"),u=e("./defaultOptions"),c={defaults:{enabled:!1,container:null,margin:60,speed:300},interaction:null,i:null,x:0,y:0,isScrolling:!1,prevTime:0,start:function(e){c.isScrolling=!0,r.cancel(c.i),c.interaction=e,c.prevTime=(new Date).getTime(),c.i=r.request(c.scroll)},stop:function(){c.isScrolling=!1,r.cancel(c.i)},scroll:function(){var e=c.interaction.target.options[c.interaction.prepared.name].autoScroll,t=e.container||i(c.interaction.element),n=(new Date).getTime(),a=(n-c.prevTime)/1e3,s=e.speed*a;s>=1&&(o.window(t)?t.scrollBy(c.x*s,c.y*s):t&&(t.scrollLeft+=c.x*s,t.scrollTop+=c.y*s),c.prevTime=n),c.isScrolling&&(r.cancel(c.i),c.i=r.request(c.scroll))},check:function(e,t){var n=e.options;return n[t].autoScroll&&n[t].autoScroll.enabled},onInteractionMove:function(e){var t=e.interaction,n=e.pointer;if(t.interacting()&&c.check(t.target,t.prepared.name))if(t.simulation)c.x=c.y=0;else{var r=void 0,s=void 0,u=void 0,l=void 0,f=t.target.options[t.prepared.name].autoScroll,d=f.container||i(t.element);if(o.window(d))l=n.clientX<c.margin,r=n.clientY<c.margin,s=n.clientX>d.innerWidth-c.margin,u=n.clientY>d.innerHeight-c.margin;else{var p=a.getElementClientRect(d);l=n.clientX<p.left+c.margin,r=n.clientY<p.top+c.margin,s=n.clientX>p.right-c.margin,u=n.clientY>p.bottom-c.margin}c.x=s?1:l?-1:0,c.y=u?1:r?-1:0,c.isScrolling||(c.margin=f.margin,c.speed=f.speed,c.start(t))}}};s.signals.on("stop-active",(function(){c.stop()})),s.signals.on("action-move",c.onInteractionMove),u.perAction.autoScroll=c.defaults,t.exports=c},{"./Interaction":5,"./defaultOptions":18,"./utils/domUtils":39,"./utils/is":46,"./utils/raf":50,"./utils/window":52}],12:[function(e,t,n){"use strict";var r=e("../Interactable"),i=e("../actions/base"),o=e("../utils/is"),a=e("../utils/domUtils"),s=e("../utils").warnOnce;r.prototype.getAction=function(e,t,n,r){var i=this.defaultActionChecker(e,t,n,r);return this.options.actionChecker?this.options.actionChecker(e,t,i,this,r,n):i},r.prototype.ignoreFrom=s((function(e){return this._backCompatOption("ignoreFrom",e)}),"Interactable.ignoreForm() has been deprecated. Use Interactble.draggable({ignoreFrom: newValue})."),r.prototype.allowFrom=s((function(e){return this._backCompatOption("allowFrom",e)}),"Interactable.allowForm() has been deprecated. Use Interactble.draggable({allowFrom: newValue})."),r.prototype.testIgnore=function(e,t,n){return!(!e||!o.element(n))&&(o.string(e)?a.matchesUpTo(n,e,t):!!o.element(e)&&a.nodeContains(e,n))},r.prototype.testAllow=function(e,t,n){return!e||!!o.element(n)&&(o.string(e)?a.matchesUpTo(n,e,t):!!o.element(e)&&a.nodeContains(e,n))},r.prototype.testIgnoreAllow=function(e,t,n){return!this.testIgnore(e.ignoreFrom,t,n)&&this.testAllow(e.allowFrom,t,n)},r.prototype.actionChecker=function(e){return o.function(e)?(this.options.actionChecker=e,this):null===e?(delete this.options.actionChecker,this):this.options.actionChecker},r.prototype.styleCursor=function(e){return o.bool(e)?(this.options.styleCursor=e,this):null===e?(delete this.options.styleCursor,this):this.options.styleCursor},r.prototype.defaultActionChecker=function(e,t,n,r){for(var o=this.getRect(r),a=t.buttons||{0:1,1:4,3:8,4:16}[t.button],s=null,u=0;u<i.names.length;u++){var c=i.names[u];if((!n.pointerIsDown||!/mouse|pointer/.test(n.pointerType)||0!=(a&this.options[c].mouseButtons))&&(s=i[c].checker(e,t,this,r,n,o)))return s}}},{"../Interactable":4,"../actions/base":6,"../utils":44,"../utils/domUtils":39,"../utils/is":46}],13:[function(e,t,n){"use strict";var r=e("../interact"),i=e("../Interactable"),o=e("../Interaction"),a=e("../actions/base"),s=e("../defaultOptions"),u=e("../scope"),c=e("../utils"),l=e("../utils/Signals").new();e("./InteractableMethods");var f={signals:l,withinInteractionLimit:m,maxInteractions:1/0,defaults:{perAction:{manualStart:!1,max:1/0,maxPerElement:1,allowFrom:null,ignoreFrom:null,mouseButtons:1}},setActionDefaults:function(e){c.extend(e.defaults,f.defaults.perAction)},validateAction:d};function d(e,t,n,r){return c.is.object(e)&&t.testIgnoreAllow(t.options[e.name],n,r)&&t.options[e.name].enabled&&m(t,n,e)?e:null}function p(e,t,n,r,i,o){for(var a=0,s=r.length;a<s;a++){var u=r[a],c=i[a],l=d(u.getAction(t,n,e,c),u,c,o);if(l)return{action:l,target:u,element:c}}return{}}function h(e,t,n,r){var i=[],o=[],a=r;function s(e){i.push(e),o.push(a)}for(;c.is.element(a);){i=[],o=[],u.interactables.forEachMatch(a,s);var l=p(e,t,n,i,o,r);if(l.action&&!l.target.options[l.action.name].manualStart)return l;a=c.parentNode(a)}return{}}function g(e,t){var n=t.action,r=t.target,i=t.element;if(n=n||{},e.target&&e.target.options.styleCursor&&(e.target._doc.documentElement.style.cursor=""),e.target=r,e.element=i,c.copyAction(e.prepared,n),r&&r.options.styleCursor){var o=n?a[n.name].getCursor(n):"";e.target._doc.documentElement.style.cursor=o}l.fire("prepared",{interaction:e})}function m(e,t,n){var r=e.options,i=r[n.name].max,o=r[n.name].maxPerElement,a=0,s=0,c=0;if(i&&o&&f.maxInteractions){for(var l=0;l<u.interactions.length;l++){var d=u.interactions[l],p=d.prepared.name;if(d.interacting()){if(++a>=f.maxInteractions)return!1;if(d.target===e){if((s+=p===n.name|0)>=i)return!1;if(d.element===t&&(c++,p!==n.name||c>=o))return!1}}}return f.maxInteractions>0}}o.signals.on("down",(function(e){var t=e.interaction,n=e.pointer,r=e.event,i=e.eventTarget;t.interacting()||g(t,h(t,n,r,i))})),o.signals.on("move",(function(e){var t=e.interaction,n=e.pointer,r=e.event,i=e.eventTarget;"mouse"!==t.pointerType||t.pointerIsDown||t.interacting()||g(t,h(t,n,r,i))})),o.signals.on("move",(function(e){var t=e.interaction,n=e.event;if(t.pointerIsDown&&!t.interacting()&&t.pointerWasMoved&&t.prepared.name){l.fire("before-start",e);var r=t.target;t.prepared.name&&r&&(r.options[t.prepared.name].manualStart||!m(r,t.element,t.prepared)?t.stop(n):t.start(t.prepared,r,t.element))}})),o.signals.on("stop",(function(e){var t=e.interaction.target;t&&t.options.styleCursor&&(t._doc.documentElement.style.cursor="")})),r.maxInteractions=function(e){return c.is.number(e)?(f.maxInteractions=e,r):f.maxInteractions},i.settingsMethods.push("styleCursor"),i.settingsMethods.push("actionChecker"),i.settingsMethods.push("ignoreFrom"),i.settingsMethods.push("allowFrom"),s.base.actionChecker=null,s.base.styleCursor=!0,c.extend(s.perAction,f.defaults.perAction),t.exports=f},{"../Interactable":4,"../Interaction":5,"../actions/base":6,"../defaultOptions":18,"../interact":21,"../scope":33,"../utils":44,"../utils/Signals":34,"./InteractableMethods":12}],14:[function(e,t,n){"use strict";var r=e("./base"),i=e("../scope"),o=e("../utils/is"),a=e("../utils/domUtils").parentNode;function s(e,t){if(!t)return!1;var n=t.options.drag.startAxis;return"xy"===e||"xy"===n||n===e}r.setActionDefaults(e("../actions/drag")),r.signals.on("before-start",(function(e){var t=e.interaction,n=e.eventTarget,u=e.dx,c=e.dy;if("drag"===t.prepared.name){var l=Math.abs(u),f=Math.abs(c),d=t.target.options.drag,p=d.startAxis,h=l>f?"x":l<f?"y":"xy";if(t.prepared.axis="start"===d.lockAxis?h[0]:d.lockAxis,"xy"!==h&&"xy"!==p&&p!==h){t.prepared.name=null;for(var g=n,m=function(e){if(e!==t.target){var i=t.target.options.drag;if(!i.manualStart&&e.testIgnoreAllow(i,g,n)){var o=e.getAction(t.downPointer,t.downEvent,t,g);if(o&&"drag"===o.name&&s(h,e)&&r.validateAction(o,e,g,n))return e}}};o.element(g);){var y=i.interactables.forEachMatch(g,m);if(y){t.prepared.name="drag",t.target=y,t.element=g;break}g=a(g)}}}}))},{"../actions/drag":7,"../scope":33,"../utils/domUtils":39,"../utils/is":46,"./base":13}],15:[function(e,t,n){"use strict";e("./base").setActionDefaults(e("../actions/gesture"))},{"../actions/gesture":9,"./base":13}],16:[function(e,t,n){"use strict";var r=e("./base"),i=e("../Interaction");function o(e){var t=e.prepared&&e.prepared.name;if(!t)return null;var n=e.target.options;return n[t].hold||n[t].delay}r.defaults.perAction.hold=0,r.defaults.perAction.delay=0,i.signals.on("new",(function(e){e.autoStartHoldTimer=null})),r.signals.on("prepared",(function(e){var t=e.interaction,n=o(t);n>0&&(t.autoStartHoldTimer=setTimeout((function(){t.start(t.prepared,t.target,t.element)}),n))})),i.signals.on("move",(function(e){var t=e.interaction,n=e.duplicate;t.pointerWasMoved&&!n&&clearTimeout(t.autoStartHoldTimer)})),r.signals.on("before-start",(function(e){var t=e.interaction;o(t)>0&&(t.prepared.name=null)})),t.exports={getHoldDuration:o}},{"../Interaction":5,"./base":13}],17:[function(e,t,n){"use strict";e("./base").setActionDefaults(e("../actions/resize"))},{"../actions/resize":10,"./base":13}],18:[function(e,t,n){"use strict";t.exports={base:{accept:null,preventDefault:"auto",deltaSource:"page"},perAction:{origin:{x:0,y:0},inertia:{enabled:!1,resistance:10,minSpeed:100,endSpeed:10,allowResume:!0,smoothEndDuration:300}}}},{}],19:[function(e,t,n){"use strict";e("./inertia"),e("./modifiers/snap"),e("./modifiers/restrict"),e("./pointerEvents/base"),e("./pointerEvents/holdRepeat"),e("./pointerEvents/interactableTargets"),e("./autoStart/hold"),e("./actions/gesture"),e("./actions/resize"),e("./actions/drag"),e("./actions/drop"),e("./modifiers/snapSize"),e("./modifiers/restrictEdges"),e("./modifiers/restrictSize"),e("./autoStart/gesture"),e("./autoStart/resize"),e("./autoStart/drag"),e("./interactablePreventDefault.js"),e("./autoScroll"),t.exports=e("./interact")},{"./actions/drag":7,"./actions/drop":8,"./actions/gesture":9,"./actions/resize":10,"./autoScroll":11,"./autoStart/drag":14,"./autoStart/gesture":15,"./autoStart/hold":16,"./autoStart/resize":17,"./inertia":20,"./interact":21,"./interactablePreventDefault.js":22,"./modifiers/restrict":24,"./modifiers/restrictEdges":25,"./modifiers/restrictSize":26,"./modifiers/snap":27,"./modifiers/snapSize":28,"./pointerEvents/base":30,"./pointerEvents/holdRepeat":31,"./pointerEvents/interactableTargets":32}],20:[function(e,t,n){"use strict";var r=e("./InteractEvent"),i=e("./Interaction"),o=e("./modifiers/base"),a=e("./utils"),s=e("./utils/raf");function u(e,t){var n=e.target.options[e.prepared.name].inertia,r=n.resistance,i=-Math.log(n.endSpeed/t.v0)/r;t.x0=e.prevEvent.pageX,t.y0=e.prevEvent.pageY,t.t0=t.startEvent.timeStamp/1e3,t.sx=t.sy=0,t.modifiedXe=t.xe=(t.vx0-i)/r,t.modifiedYe=t.ye=(t.vy0-i)/r,t.te=i,t.lambda_v0=r/t.v0,t.one_ve_v0=1-n.endSpeed/t.v0}function c(){f(this),a.setCoordDeltas(this.pointerDelta,this.prevCoords,this.curCoords);var e=this.inertiaStatus,t=this.target.options[this.prepared.name].inertia.resistance,n=(new Date).getTime()/1e3-e.t0;if(n<e.te){var r=1-(Math.exp(-t*n)-e.lambda_v0)/e.one_ve_v0;if(e.modifiedXe===e.xe&&e.modifiedYe===e.ye)e.sx=e.xe*r,e.sy=e.ye*r;else{var i=a.getQuadraticCurvePoint(0,0,e.xe,e.ye,e.modifiedXe,e.modifiedYe,r);e.sx=i.x,e.sy=i.y}this.doMove(),e.i=s.request(this.boundInertiaFrame)}else e.sx=e.modifiedXe,e.sy=e.modifiedYe,this.doMove(),this.end(e.startEvent),e.active=!1,this.simulation=null;a.copyCoords(this.prevCoords,this.curCoords)}function l(){f(this);var e=this.inertiaStatus,t=(new Date).getTime()-e.t0,n=this.target.options[this.prepared.name].inertia.smoothEndDuration;t<n?(e.sx=a.easeOutQuad(t,0,e.xe,n),e.sy=a.easeOutQuad(t,0,e.ye,n),this.pointerMove(e.startEvent,e.startEvent),e.i=s.request(this.boundSmoothEndFrame)):(e.sx=e.xe,e.sy=e.ye,this.pointerMove(e.startEvent,e.startEvent),this.end(e.startEvent),e.smoothEnd=e.active=!1,this.simulation=null)}function f(e){var t=e.inertiaStatus;if(t.active){var n=t.upCoords.page,r=t.upCoords.client;a.setCoords(e.curCoords,[{pageX:n.x+t.sx,pageY:n.y+t.sy,clientX:r.x+t.sx,clientY:r.y+t.sy}])}}i.signals.on("new",(function(e){e.inertiaStatus={active:!1,smoothEnd:!1,allowResume:!1,startEvent:null,upCoords:{},xe:0,ye:0,sx:0,sy:0,t0:0,vx0:0,vys:0,duration:0,lambda_v0:0,one_ve_v0:0,i:null},e.boundInertiaFrame=function(){return c.apply(e)},e.boundSmoothEndFrame=function(){return l.apply(e)}})),i.signals.on("down",(function(e){var t=e.interaction,n=e.event,u=e.pointer,c=e.eventTarget,l=t.inertiaStatus;if(l.active)for(var f=c;a.is.element(f);){if(f===t.element){s.cancel(l.i),l.active=!1,t.simulation=null,t.updatePointer(u),a.setCoords(t.curCoords,t.pointers);var d={interaction:t};i.signals.fire("before-action-move",d),i.signals.fire("action-resume",d);var p=new r(t,n,t.prepared.name,"inertiaresume",t.element);t.target.fire(p),t.prevEvent=p,o.resetStatuses(t.modifierStatuses),a.copyCoords(t.prevCoords,t.curCoords);break}f=a.parentNode(f)}})),i.signals.on("up",(function(e){var t=e.interaction,n=e.event,i=t.inertiaStatus;if(t.interacting()&&!i.active){var c=t.target,l=c&&c.options,f=l&&t.prepared.name&&l[t.prepared.name].inertia,d=(new Date).getTime(),p={},h=a.extend({},t.curCoords.page),g=t.pointerDelta.client.speed,m=!1,y=void 0,v=f&&f.enabled&&"gesture"!==t.prepared.name&&n!==i.startEvent,b=v&&d-t.curCoords.timeStamp<50&&g>f.minSpeed&&g>f.endSpeed,_={interaction:t,pageCoords:h,statuses:p,preEnd:!0,requireEndOnly:!0};v&&!b&&(o.resetStatuses(p),(y=o.setAll(_)).shouldMove&&y.locked&&(m=!0)),(b||m)&&(a.copyCoords(i.upCoords,t.curCoords),t.pointers[0]=i.startEvent=new r(t,n,t.prepared.name,"inertiastart",t.element),i.t0=d,i.active=!0,i.allowResume=f.allowResume,t.simulation=i,c.fire(i.startEvent),b?(i.vx0=t.pointerDelta.client.vx,i.vy0=t.pointerDelta.client.vy,i.v0=g,u(t,i),a.extend(h,t.curCoords.page),h.x+=i.xe,h.y+=i.ye,o.resetStatuses(p),y=o.setAll(_),i.modifiedXe+=y.dx,i.modifiedYe+=y.dy,i.i=s.request(t.boundInertiaFrame)):(i.smoothEnd=!0,i.xe=y.dx,i.ye=y.dy,i.sx=i.sy=0,i.i=s.request(t.boundSmoothEndFrame)))}})),i.signals.on("stop-active",(function(e){var t=e.interaction,n=t.inertiaStatus;n.active&&(s.cancel(n.i),n.active=!1,t.simulation=null)}))},{"./InteractEvent":3,"./Interaction":5,"./modifiers/base":23,"./utils":44,"./utils/raf":50}],21:[function(e,t,n){"use strict";var r=e("./utils/browser"),i=e("./utils/events"),o=e("./utils"),a=e("./scope"),s=e("./Interactable"),u=e("./Interaction"),c={};function l(e,t){var n=a.interactables.get(e,t);return n||((n=new s(e,t)).events.global=c),n}l.isSet=function(e,t){return-1!==a.interactables.indexOfElement(e,t&&t.context)},l.on=function(e,t,n){if(o.is.string(e)&&-1!==e.search(" ")&&(e=e.trim().split(/ +/)),o.is.array(e)){for(var r=0;r<e.length;r++){var u=e[r];l.on(u,t,n)}return l}if(o.is.object(e)){for(var f in e)l.on(f,e[f],t);return l}return o.contains(s.eventTypes,e)?c[e]?c[e].push(t):c[e]=[t]:i.add(a.document,e,t,{options:n}),l},l.off=function(e,t,n){if(o.is.string(e)&&-1!==e.search(" ")&&(e=e.trim().split(/ +/)),o.is.array(e)){for(var r=0;r<e.length;r++){var u=e[r];l.off(u,t,n)}return l}if(o.is.object(e)){for(var f in e)l.off(f,e[f],t);return l}if(o.contains(s.eventTypes,e)){var d=void 0;e in c&&-1!==(d=c[e].indexOf(t))&&c[e].splice(d,1)}else i.remove(a.document,e,t,n);return l},l.debug=function(){return a},l.getPointerAverage=o.pointerAverage,l.getTouchBBox=o.touchBBox,l.getTouchDistance=o.touchDistance,l.getTouchAngle=o.touchAngle,l.getElementRect=o.getElementRect,l.getElementClientRect=o.getElementClientRect,l.matchesSelector=o.matchesSelector,l.closest=o.closest,l.supportsTouch=function(){return r.supportsTouch},l.supportsPointerEvent=function(){return r.supportsPointerEvent},l.stop=function(e){for(var t=a.interactions.length-1;t>=0;t--)a.interactions[t].stop(e);return l},l.pointerMoveTolerance=function(e){return o.is.number(e)?(u.pointerMoveTolerance=e,l):u.pointerMoveTolerance},l.addDocument=a.addDocument,l.removeDocument=a.removeDocument,a.interact=l,t.exports=l},{"./Interactable":4,"./Interaction":5,"./scope":33,"./utils":44,"./utils/browser":36,"./utils/events":40}],22:[function(e,t,n){"use strict";var r=e("./Interactable"),i=e("./Interaction"),o=e("./scope"),a=e("./utils/is"),s=e("./utils/events"),u=e("./utils/browser"),c=e("./utils/domUtils"),l=c.nodeContains,f=c.matchesSelector;function d(e){var t=e.interaction,n=e.event;t.target&&t.target.checkAndPreventDefault(n)}r.prototype.preventDefault=function(e){return/^(always|never|auto)$/.test(e)?(this.options.preventDefault=e,this):a.bool(e)?(this.options.preventDefault=e?"always":"never",this):this.options.preventDefault},r.prototype.checkAndPreventDefault=function(e){var t=this.options.preventDefault;"never"!==t&&("always"!==t&&(s.supportsPassive&&/^touch(start|move)$/.test(e.type)&&!u.isIOS||/^(mouse|pointer|touch)*(down|start)/i.test(e.type)||a.element(e.target)&&f(e.target,"input,select,textarea,[contenteditable=true],[contenteditable=true] *"))||e.preventDefault())};for(var p=["down","move","up","cancel"],h=0;h<p.length;h++){var g=p[h];i.signals.on(g,d)}i.docEvents.dragstart=function(e){for(var t=0;t<o.interactions.length;t++){var n=o.interactions[t];if(n.element&&(n.element===e.target||l(n.element,e.target)))return void n.target.checkAndPreventDefault(e)}}},{"./Interactable":4,"./Interaction":5,"./scope":33,"./utils/browser":36,"./utils/domUtils":39,"./utils/events":40,"./utils/is":46}],23:[function(e,t,n){"use strict";var r=e("../InteractEvent"),i=e("../Interaction"),o=e("../utils/extend"),a={names:[],setOffsets:function(e){var t=e.interaction,n=e.pageCoords,r=t.target,i=t.element,o=t.startOffset,s=r.getRect(i);s?(o.left=n.x-s.left,o.top=n.y-s.top,o.right=s.right-n.x,o.bottom=s.bottom-n.y,"width"in s||(s.width=s.right-s.left),"height"in s||(s.height=s.bottom-s.top)):o.left=o.top=o.right=o.bottom=0,e.rect=s,e.interactable=r,e.element=i;for(var u=0;u<a.names.length;u++){var c=a.names[u];e.options=r.options[t.prepared.name][c],e.options&&(t.modifierOffsets[c]=a[c].setOffset(e))}},setAll:function(e){var t=e.interaction,n=e.statuses,r=e.preEnd,i=e.requireEndOnly,u={dx:0,dy:0,changed:!1,locked:!1,shouldMove:!0};e.modifiedCoords=o({},e.pageCoords);for(var c=0;c<a.names.length;c++){var l=a.names[c],f=a[l],d=t.target.options[t.prepared.name][l];s(d,r,i)&&(e.status=e.status=n[l],e.options=d,e.offset=e.interaction.modifierOffsets[l],f.set(e),e.status.locked&&(e.modifiedCoords.x+=e.status.dx,e.modifiedCoords.y+=e.status.dy,u.dx+=e.status.dx,u.dy+=e.status.dy,u.locked=!0))}return u.shouldMove=!e.status||!u.locked||e.status.changed,u},resetStatuses:function(e){for(var t=0;t<a.names.length;t++){var n=a.names[t],r=e[n]||{};r.dx=r.dy=0,r.modifiedX=r.modifiedY=NaN,r.locked=!1,r.changed=!0,e[n]=r}return e},start:function(e,t){var n=e.interaction,r={interaction:n,pageCoords:("action-resume"===t?n.curCoords:n.startCoords).page,startOffset:n.startOffset,statuses:n.modifierStatuses,preEnd:!1,requireEndOnly:!1};a.setOffsets(r),a.resetStatuses(r.statuses),r.pageCoords=o({},n.startCoords.page),n.modifierResult=a.setAll(r)},beforeMove:function(e){var t=e.interaction,n=e.preEnd,r=e.interactingBeforeMove,i=a.setAll({interaction:t,preEnd:n,pageCoords:t.curCoords.page,statuses:t.modifierStatuses,requireEndOnly:!1});!i.shouldMove&&r&&(t._dontFireMove=!0),t.modifierResult=i},end:function(e){for(var t=e.interaction,n=e.event,r=0;r<a.names.length;r++){var i=a.names[r];if(s(t.target.options[t.prepared.name][i],!0,!0)){t.doMove({event:n,preEnd:!0});break}}},setXY:function(e){for(var t=e.iEvent,n=e.interaction,r=o({},e),i=0;i<a.names.length;i++){var s=a.names[i];if(r.options=n.target.options[n.prepared.name][s],r.options){var u=a[s];r.status=n.modifierStatuses[s],t[s]=u.modifyCoords(r)}}}};function s(e,t,n){return e&&e.enabled&&(t||!e.endOnly)&&(!n||e.endOnly)}i.signals.on("new",(function(e){e.startOffset={left:0,right:0,top:0,bottom:0},e.modifierOffsets={},e.modifierStatuses=a.resetStatuses({}),e.modifierResult=null})),i.signals.on("action-start",a.start),i.signals.on("action-resume",a.start),i.signals.on("before-action-move",a.beforeMove),i.signals.on("action-end",a.end),r.signals.on("set-xy",a.setXY),t.exports=a},{"../InteractEvent":3,"../Interaction":5,"../utils/extend":41}],24:[function(e,t,n){"use strict";var r=e("./base"),i=e("../utils"),o=e("../defaultOptions"),a={defaults:{enabled:!1,endOnly:!1,restriction:null,elementRect:null},setOffset:function(e){var t=e.rect,n=e.startOffset,r=e.options,i=r&&r.elementRect,o={};return t&&i?(o.left=n.left-t.width*i.left,o.top=n.top-t.height*i.top,o.right=n.right-t.width*(1-i.right),o.bottom=n.bottom-t.height*(1-i.bottom)):o.left=o.top=o.right=o.bottom=0,o},set:function(e){var t=e.modifiedCoords,n=e.interaction,r=e.status,o=e.options;if(!o)return r;var a=r.useStatusXY?{x:r.x,y:r.y}:i.extend({},t),u=s(o.restriction,n,a);if(!u)return r;r.dx=0,r.dy=0,r.locked=!1;var c=u,l=a.x,f=a.y,d=n.modifierOffsets.restrict;"x"in u&&"y"in u?(l=Math.max(Math.min(c.x+c.width-d.right,a.x),c.x+d.left),f=Math.max(Math.min(c.y+c.height-d.bottom,a.y),c.y+d.top)):(l=Math.max(Math.min(c.right-d.right,a.x),c.left+d.left),f=Math.max(Math.min(c.bottom-d.bottom,a.y),c.top+d.top)),r.dx=l-a.x,r.dy=f-a.y,r.changed=r.modifiedX!==l||r.modifiedY!==f,r.locked=!(!r.dx&&!r.dy),r.modifiedX=l,r.modifiedY=f},modifyCoords:function(e){var t=e.page,n=e.client,r=e.status,i=e.phase,o=e.options,a=o&&o.elementRect;if(o&&o.enabled&&("start"!==i||!a||!r.locked)&&r.locked)return t.x+=r.dx,t.y+=r.dy,n.x+=r.dx,n.y+=r.dy,{dx:r.dx,dy:r.dy}},getRestrictionRect:s};function s(e,t,n){return i.is.function(e)?i.resolveRectLike(e,t.target,t.element,[n.x,n.y,t]):i.resolveRectLike(e,t.target,t.element)}r.restrict=a,r.names.push("restrict"),o.perAction.restrict=a.defaults,t.exports=a},{"../defaultOptions":18,"../utils":44,"./base":23}],25:[function(e,t,n){"use strict";var r=e("./base"),i=e("../utils"),o=e("../utils/rect"),a=e("../defaultOptions"),s=e("../actions/resize"),u=e("./restrict").getRestrictionRect,c={top:1/0,left:1/0,bottom:-1/0,right:-1/0},l={top:-1/0,left:-1/0,bottom:1/0,right:1/0},f={defaults:{enabled:!1,endOnly:!1,min:null,max:null,offset:null},setOffset:function(e){var t=e.interaction,n=e.startOffset,r=e.options;if(!r)return i.extend({},n);var o=u(r.offset,t,t.startCoords.page);return o?{top:n.top+o.y,left:n.left+o.x,bottom:n.bottom+o.y,right:n.right+o.x}:n},set:function(e){var t=e.modifiedCoords,n=e.interaction,r=e.status,a=e.offset,s=e.options,f=n.prepared.linkedEdges||n.prepared.edges;if(n.interacting()&&f){var d=r.useStatusXY?{x:r.x,y:r.y}:i.extend({},t),p=o.xywhToTlbr(u(s.inner,n,d))||c,h=o.xywhToTlbr(u(s.outer,n,d))||l,g=d.x,m=d.y;r.dx=0,r.dy=0,r.locked=!1,f.top?m=Math.min(Math.max(h.top+a.top,d.y),p.top+a.top):f.bottom&&(m=Math.max(Math.min(h.bottom-a.bottom,d.y),p.bottom-a.bottom)),f.left?g=Math.min(Math.max(h.left+a.left,d.x),p.left+a.left):f.right&&(g=Math.max(Math.min(h.right-a.right,d.x),p.right-a.right)),r.dx=g-d.x,r.dy=m-d.y,r.changed=r.modifiedX!==g||r.modifiedY!==m,r.locked=!(!r.dx&&!r.dy),r.modifiedX=g,r.modifiedY=m}},modifyCoords:function(e){var t=e.page,n=e.client,r=e.status,i=e.phase,o=e.options;if(o&&o.enabled&&("start"!==i||!r.locked)&&r.locked)return t.x+=r.dx,t.y+=r.dy,n.x+=r.dx,n.y+=r.dy,{dx:r.dx,dy:r.dy}},noInner:c,noOuter:l,getRestrictionRect:u};r.restrictEdges=f,r.names.push("restrictEdges"),a.perAction.restrictEdges=f.defaults,s.defaults.restrictEdges=f.defaults,t.exports=f},{"../actions/resize":10,"../defaultOptions":18,"../utils":44,"../utils/rect":51,"./base":23,"./restrict":24}],26:[function(e,t,n){"use strict";var r=e("./base"),i=e("./restrictEdges"),o=e("../utils"),a=e("../utils/rect"),s=e("../defaultOptions"),u=e("../actions/resize"),c={width:-1/0,height:-1/0},l={width:1/0,height:1/0},f={defaults:{enabled:!1,endOnly:!1,min:null,max:null},setOffset:function(e){return e.interaction.startOffset},set:function(e){var t=e.interaction,n=e.options,r=t.prepared.linkedEdges||t.prepared.edges;if(t.interacting()&&r){var s=a.xywhToTlbr(t.resizeRects.inverted),u=a.tlbrToXywh(i.getRestrictionRect(n.min,t))||c,f=a.tlbrToXywh(i.getRestrictionRect(n.max,t))||l;e.options={enabled:n.enabled,endOnly:n.endOnly,inner:o.extend({},i.noInner),outer:o.extend({},i.noOuter)},r.top?(e.options.inner.top=s.bottom-u.height,e.options.outer.top=s.bottom-f.height):r.bottom&&(e.options.inner.bottom=s.top+u.height,e.options.outer.bottom=s.top+f.height),r.left?(e.options.inner.left=s.right-u.width,e.options.outer.left=s.right-f.width):r.right&&(e.options.inner.right=s.left+u.width,e.options.outer.right=s.left+f.width),i.set(e)}},modifyCoords:i.modifyCoords};r.restrictSize=f,r.names.push("restrictSize"),s.perAction.restrictSize=f.defaults,u.defaults.restrictSize=f.defaults,t.exports=f},{"../actions/resize":10,"../defaultOptions":18,"../utils":44,"../utils/rect":51,"./base":23,"./restrictEdges":25}],27:[function(e,t,n){"use strict";var r=e("./base"),i=e("../interact"),o=e("../utils"),a=e("../defaultOptions"),s={defaults:{enabled:!1,endOnly:!1,range:1/0,targets:null,offsets:null,relativePoints:null},setOffset:function(e){var t=e.interaction,n=e.interactable,r=e.element,i=e.rect,a=e.startOffset,s=e.options,u=[],c=o.rectToXY(o.resolveRectLike(s.origin))||o.getOriginXY(n,r,t.prepared.name),l=void 0;if("startCoords"===(s=s||n.options[t.prepared.name].snap||{}).offset)l={x:t.startCoords.page.x-c.x,y:t.startCoords.page.y-c.y};else{var f=o.resolveRectLike(s.offset,n,r,[t]);l=o.rectToXY(f)||{x:0,y:0}}if(i&&s.relativePoints&&s.relativePoints.length)for(var d=0;d<s.relativePoints.length;d++){var p=s.relativePoints[d],h=p.x,g=p.y;u.push({x:a.left-i.width*h+l.x,y:a.top-i.height*g+l.y})}else u.push(l);return u},set:function(e){var t=e.interaction,n=e.modifiedCoords,r=e.status,i=e.options,a=e.offset,s=[],u=void 0,c=void 0,l=void 0;if(r.useStatusXY)c={x:r.x,y:r.y};else{var f=o.getOriginXY(t.target,t.element,t.prepared.name);(c=o.extend({},n)).x-=f.x,c.y-=f.y}r.realX=c.x,r.realY=c.y;for(var d=i.targets?i.targets.length:0,p=0;p<a.length;p++)for(var h=a[p],g=h.x,m=h.y,y=c.x-g,v=c.y-m,b=0;b<(i.targets||[]).length;b++){var _=(i.targets||[])[b];(u=o.is.function(_)?_(y,v,t):_)&&s.push({x:o.is.number(u.x)?u.x+g:y,y:o.is.number(u.y)?u.y+m:v,range:o.is.number(u.range)?u.range:i.range})}var w={target:null,inRange:!1,distance:0,range:0,dx:0,dy:0};for(l=0,d=s.length;l<d;l++){var T=(u=s[l]).range,x=u.x-c.x,S=u.y-c.y,k=o.hypot(x,S),E=k<=T;T===1/0&&w.inRange&&w.range!==1/0&&(E=!1),w.target&&!(E?w.inRange&&T!==1/0?k/T<w.distance/w.range:T===1/0&&w.range!==1/0||k<w.distance:!w.inRange&&k<w.distance)||(w.target=u,w.distance=k,w.range=T,w.inRange=E,w.dx=x,w.dy=S,r.range=T)}var O=void 0;w.target?(O=r.modifiedX!==w.target.x||r.modifiedY!==w.target.y,r.modifiedX=w.target.x,r.modifiedY=w.target.y):(O=!0,r.modifiedX=NaN,r.modifiedY=NaN),r.dx=w.dx,r.dy=w.dy,r.changed=O||w.inRange&&!r.locked,r.locked=w.inRange},modifyCoords:function(e){var t=e.page,n=e.client,r=e.status,i=e.phase,o=e.options,a=o&&o.relativePoints;if(o&&o.enabled&&("start"!==i||!a||!a.length))return r.locked&&(t.x+=r.dx,t.y+=r.dy,n.x+=r.dx,n.y+=r.dy),{range:r.range,locked:r.locked,x:r.modifiedX,y:r.modifiedY,realX:r.realX,realY:r.realY,dx:r.dx,dy:r.dy}}};i.createSnapGrid=function(e){return function(t,n){var r=e.limits||{left:-1/0,right:1/0,top:-1/0,bottom:1/0},i=0,a=0;o.is.object(e.offset)&&(i=e.offset.x,a=e.offset.y);var s=Math.round((t-i)/e.x),u=Math.round((n-a)/e.y);return{x:Math.max(r.left,Math.min(r.right,s*e.x+i)),y:Math.max(r.top,Math.min(r.bottom,u*e.y+a)),range:e.range}}},r.snap=s,r.names.push("snap"),a.perAction.snap=s.defaults,t.exports=s},{"../defaultOptions":18,"../interact":21,"../utils":44,"./base":23}],28:[function(e,t,n){"use strict";var r=e("./base"),i=e("./snap"),o=e("../defaultOptions"),a=e("../actions/resize"),s=e("../utils/"),u={defaults:{enabled:!1,endOnly:!1,range:1/0,targets:null,offsets:null},setOffset:function(e){var t=e.interaction,n=e.options,r=t.prepared.edges;if(r){e.options={relativePoints:[{x:r.left?0:1,y:r.top?0:1}],origin:{x:0,y:0},offset:"self",range:n.range};var o=i.setOffset(e);return e.options=n,o}},set:function(e){var t=e.interaction,n=e.options,r=e.offset,o=e.modifiedCoords,a=s.extend({},o),u=a.x-r[0].x,c=a.y-r[0].y;e.options=s.extend({},n),e.options.targets=[];for(var l=0;l<(n.targets||[]).length;l++){var f=(n.targets||[])[l],d=void 0;(d=s.is.function(f)?f(u,c,t):f)&&("width"in d&&"height"in d&&(d.x=d.width,d.y=d.height),e.options.targets.push(d))}i.set(e)},modifyCoords:function(e){var t=e.options;e.options=s.extend({},t),e.options.enabled=t.enabled,e.options.relativePoints=[null],i.modifyCoords(e)}};r.snapSize=u,r.names.push("snapSize"),o.perAction.snapSize=u.defaults,a.defaults.snapSize=u.defaults,t.exports=u},{"../actions/resize":10,"../defaultOptions":18,"../utils/":44,"./base":23,"./snap":27}],29:[function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var i=e("../utils/pointerUtils");t.exports=function(){function e(t,n,o,a,s){if(r(this,e),i.pointerExtend(this,o),o!==n&&i.pointerExtend(this,n),this.interaction=s,this.timeStamp=(new Date).getTime(),this.originalEvent=o,this.type=t,this.pointerId=i.getPointerId(n),this.pointerType=i.getPointerType(n),this.target=a,this.currentTarget=null,"tap"===t){var u=s.getPointerIndex(n);this.dt=this.timeStamp-s.downTimes[u];var c=this.timeStamp-s.tapTime;this.double=!!(s.prevTap&&"doubletap"!==s.prevTap.type&&s.prevTap.target===this.target&&c<500)}else"doubletap"===t&&(this.dt=n.timeStamp-s.tapTime)}return e.prototype.subtractOrigin=function(e){var t=e.x,n=e.y;return this.pageX-=t,this.pageY-=n,this.clientX-=t,this.clientY-=n,this},e.prototype.addOrigin=function(e){var t=e.x,n=e.y;return this.pageX+=t,this.pageY+=n,this.clientX+=t,this.clientY+=n,this},e.prototype.preventDefault=function(){this.originalEvent.preventDefault()},e.prototype.stopPropagation=function(){this.propagationStopped=!0},e.prototype.stopImmediatePropagation=function(){this.immediatePropagationStopped=this.propagationStopped=!0},e}()},{"../utils/pointerUtils":49}],30:[function(e,t,n){"use strict";var r=e("./PointerEvent"),i=e("../Interaction"),o=e("../utils"),a=e("../defaultOptions"),s=e("../utils/Signals").new(),u=["down","up","cancel"],c=["down","up","cancel"],l={PointerEvent:r,fire:f,collectEventTargets:d,signals:s,defaults:{holdDuration:600,ignoreFrom:null,allowFrom:null,origin:{x:0,y:0}},types:["down","move","up","cancel","tap","doubletap","hold"]};function f(e){for(var t=e.interaction,n=e.pointer,i=e.event,a=e.eventTarget,u=e.type,c=void 0===u?e.pointerEvent.type:u,l=e.targets,p=void 0===l?d(e):l,h=e.pointerEvent,g=void 0===h?new r(c,n,i,a,t):h,m={interaction:t,pointer:n,event:i,eventTarget:a,targets:p,type:c,pointerEvent:g},y=0;y<p.length;y++){var v=p[y];for(var b in v.props||{})g[b]=v.props[b];var _=o.getOriginXY(v.eventable,v.element);if(g.subtractOrigin(_),g.eventable=v.eventable,g.currentTarget=v.element,v.eventable.fire(g),g.addOrigin(_),g.immediatePropagationStopped||g.propagationStopped&&y+1<p.length&&p[y+1].element!==g.currentTarget)break}if(s.fire("fired",m),"tap"===c){var w=g.double?f({interaction:t,pointer:n,event:i,eventTarget:a,type:"doubletap"}):g;t.prevTap=w,t.tapTime=w.timeStamp}return g}function d(e){var t=e.interaction,n=e.pointer,r=e.event,i=e.eventTarget,a=e.type,u=t.getPointerIndex(n);if("tap"===a&&(t.pointerWasMoved||!t.downTargets[u]||t.downTargets[u]!==i))return[];for(var c=o.getPath(i),l={interaction:t,pointer:n,event:r,eventTarget:i,type:a,path:c,targets:[],element:null},f=0;f<c.length;f++){var d=c[f];l.element=d,s.fire("collect-targets",l)}return"hold"===a&&(l.targets=l.targets.filter((function(e){return e.eventable.options.holdDuration===t.holdTimers[u].duration}))),l.targets}i.signals.on("update-pointer-down",(function(e){var t=e.interaction,n=e.pointerIndex;t.holdTimers[n]={duration:1/0,timeout:null}})),i.signals.on("remove-pointer",(function(e){var t=e.interaction,n=e.pointerIndex;t.holdTimers.splice(n,1)})),i.signals.on("move",(function(e){var t=e.interaction,n=e.pointer,r=e.event,i=e.eventTarget,o=e.duplicateMove,a=t.getPointerIndex(n);o||t.pointerIsDown&&!t.pointerWasMoved||(t.pointerIsDown&&clearTimeout(t.holdTimers[a].timeout),f({interaction:t,pointer:n,event:r,eventTarget:i,type:"move"}))})),i.signals.on("down",(function(e){for(var t=e.interaction,n=e.pointer,r=e.event,i=e.eventTarget,a=e.pointerIndex,u=t.holdTimers[a],c=o.getPath(i),l={interaction:t,pointer:n,event:r,eventTarget:i,type:"hold",targets:[],path:c,element:null},d=0;d<c.length;d++){var p=c[d];l.element=p,s.fire("collect-targets",l)}if(l.targets.length){for(var h=1/0,g=0;g<l.targets.length;g++){var m=l.targets[g].eventable.options.holdDuration;m<h&&(h=m)}u.duration=h,u.timeout=setTimeout((function(){f({interaction:t,eventTarget:i,pointer:n,event:r,type:"hold"})}),h)}})),i.signals.on("up",(function(e){var t=e.interaction,n=e.pointer,r=e.event,i=e.eventTarget;t.pointerWasMoved||f({interaction:t,eventTarget:i,pointer:n,event:r,type:"tap"})}));for(var p=["up","cancel"],h=0;h<p.length;h++){var g=p[h];i.signals.on(g,(function(e){var t=e.interaction,n=e.pointerIndex;t.holdTimers[n]&&clearTimeout(t.holdTimers[n].timeout)}))}function m(e){return function(t){var n=t.interaction,r=t.pointer,i=t.event;f({interaction:n,eventTarget:t.eventTarget,pointer:r,event:i,type:e})}}for(var y=0;y<u.length;y++)i.signals.on(u[y],m(c[y]));i.signals.on("new",(function(e){e.prevTap=null,e.tapTime=0,e.holdTimers=[]})),a.pointerEvents=l.defaults,t.exports=l},{"../Interaction":5,"../defaultOptions":18,"../utils":44,"../utils/Signals":34,"./PointerEvent":29}],31:[function(e,t,n){"use strict";var r=e("./base"),i=e("../Interaction");r.signals.on("new",u),r.signals.on("fired",c);for(var o=["move","up","cancel","endall"],a=0;a<o.length;a++){var s=o[a];i.signals.on(s,l)}function u(e){var t=e.pointerEvent;"hold"===t.type&&(t.count=(t.count||0)+1)}function c(e){var t=e.interaction,n=e.pointerEvent,i=e.eventTarget,o=e.targets;if("hold"===n.type&&o.length){var a=o[0].eventable.options.holdRepeatInterval;a<=0||(t.holdIntervalHandle=setTimeout((function(){r.fire({interaction:t,eventTarget:i,type:"hold",pointer:n,event:n})}),a))}}function l(e){var t=e.interaction;t.holdIntervalHandle&&(clearInterval(t.holdIntervalHandle),t.holdIntervalHandle=null)}r.defaults.holdRepeatInterval=0,r.types.push("holdrepeat"),t.exports={onNew:u,onFired:c,endHoldRepeat:l}},{"../Interaction":5,"./base":30}],32:[function(e,t,n){"use strict";var r=e("./base"),i=e("../Interactable"),o=e("../utils/is"),a=e("../scope"),s=e("../utils/extend"),u=e("../utils/arr").merge;r.signals.on("collect-targets",(function(e){var t=e.targets,n=e.element,r=e.type,i=e.eventTarget;a.interactables.forEachMatch(n,(function(e){var a=e.events,s=a.options;a[r]&&o.element(n)&&e.testIgnoreAllow(s,n,i)&&t.push({element:n,eventable:a,props:{interactable:e}})}))})),i.signals.on("new",(function(e){var t=e.interactable;t.events.getRect=function(e){return t.getRect(e)}})),i.signals.on("set",(function(e){var t=e.interactable,n=e.options;s(t.events.options,r.defaults),s(t.events.options,n)})),u(i.eventTypes,r.types),i.prototype.pointerEvents=function(e){return s(this.events.options,e),this};var c=i.prototype._backCompatOption;i.prototype._backCompatOption=function(e,t){var n=c.call(this,e,t);return n===this&&(this.events.options[e]=t),n},i.settingsMethods.push("pointerEvents")},{"../Interactable":4,"../scope":33,"../utils/arr":35,"../utils/extend":41,"../utils/is":46,"./base":30}],33:[function(e,t,n){"use strict";var r=e("./utils"),i=e("./utils/events"),o=e("./utils/Signals").new(),a=e("./utils/window").getWindow,s={signals:o,events:i,utils:r,document:e("./utils/domObjects").document,documents:[],addDocument:function(e,t){if(r.contains(s.documents,e))return!1;t=t||a(e),s.documents.push(e),i.documents.push(e),e!==s.document&&i.add(t,"unload",s.onWindowUnload),o.fire("add-document",{doc:e,win:t})},removeDocument:function(e,t){var n=s.documents.indexOf(e);t=t||a(e),i.remove(t,"unload",s.onWindowUnload),s.documents.splice(n,1),i.documents.splice(n,1),o.fire("remove-document",{win:t,doc:e})},onWindowUnload:function(){s.removeDocument(this.document,this)}};t.exports=s},{"./utils":44,"./utils/Signals":34,"./utils/domObjects":38,"./utils/events":40,"./utils/window":52}],34:[function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var i=function(){function e(){r(this,e),this.listeners={}}return e.prototype.on=function(e,t){this.listeners[e]?this.listeners[e].push(t):this.listeners[e]=[t]},e.prototype.off=function(e,t){if(this.listeners[e]){var n=this.listeners[e].indexOf(t);-1!==n&&this.listeners[e].splice(n,1)}},e.prototype.fire=function(e,t){var n=this.listeners[e];if(n)for(var r=0;r<n.length;r++)if(!1===(0,n[r])(t,e))return},e}();i.new=function(){return new i},t.exports=i},{}],35:[function(e,t,n){"use strict";function r(e,t){return-1!==e.indexOf(t)}function i(e,t){for(var n=0;n<t.length;n++){var r=t[n];e.push(r)}return e}t.exports={contains:r,merge:i}},{}],36:[function(e,t,n){"use strict";var r=e("./window").window,i=e("./is"),o=e("./domObjects"),a=o.Element,s=r.navigator,u={supportsTouch:!!("ontouchstart"in r||i.function(r.DocumentTouch)&&o.document instanceof r.DocumentTouch),supportsPointerEvent:!!o.PointerEvent,isIOS:/iP(hone|od|ad)/.test(s.platform),isIOS7:/iP(hone|od|ad)/.test(s.platform)&&/OS 7[^\d]/.test(s.appVersion),isIe9:/MSIE 9/.test(s.userAgent),prefixedMatchesSelector:"matches"in a.prototype?"matches":"webkitMatchesSelector"in a.prototype?"webkitMatchesSelector":"mozMatchesSelector"in a.prototype?"mozMatchesSelector":"oMatchesSelector"in a.prototype?"oMatchesSelector":"msMatchesSelector",pEventTypes:o.PointerEvent?o.PointerEvent===r.MSPointerEvent?{up:"MSPointerUp",down:"MSPointerDown",over:"mouseover",out:"mouseout",move:"MSPointerMove",cancel:"MSPointerCancel"}:{up:"pointerup",down:"pointerdown",over:"pointerover",out:"pointerout",move:"pointermove",cancel:"pointercancel"}:null,wheelEvent:"onmousewheel"in o.document?"mousewheel":"wheel"};u.isOperaMobile="Opera"===s.appName&&u.supportsTouch&&s.userAgent.match("Presto"),t.exports=u},{"./domObjects":38,"./is":46,"./window":52}],37:[function(e,t,n){"use strict";var r=e("./is");t.exports=function e(t){var n={};for(var i in t)r.plainObject(t[i])?n[i]=e(t[i]):n[i]=t[i];return n}},{"./is":46}],38:[function(e,t,n){"use strict";var r={},i=e("./window").window;function o(){}r.document=i.document,r.DocumentFragment=i.DocumentFragment||o,r.SVGElement=i.SVGElement||o,r.SVGSVGElement=i.SVGSVGElement||o,r.SVGElementInstance=i.SVGElementInstance||o,r.Element=i.Element||o,r.HTMLElement=i.HTMLElement||r.Element,r.Event=i.Event,r.Touch=i.Touch||o,r.PointerEvent=i.PointerEvent||i.MSPointerEvent,t.exports=r},{"./window":52}],39:[function(e,t,n){"use strict";var r=e("./window"),i=e("./browser"),o=e("./is"),a=e("./domObjects"),s={nodeContains:function(e,t){for(;t;){if(t===e)return!0;t=t.parentNode}return!1},closest:function(e,t){for(;o.element(e);){if(s.matchesSelector(e,t))return e;e=s.parentNode(e)}return null},parentNode:function(e){var t=e.parentNode;if(o.docFrag(t)){for(;(t=t.host)&&o.docFrag(t););return t}return t},matchesSelector:function(e,t){return r.window!==r.realWindow&&(t=t.replace(/\/deep\//g," ")),e[i.prefixedMatchesSelector](t)},indexOfDeepestElement:function(e){var t=[],n=[],r=void 0,i=e[0],o=i?0:-1,s=void 0,u=void 0,c=void 0,l=void 0;for(c=1;c<e.length;c++)if((r=e[c])&&r!==i)if(i){if(r.parentNode!==r.ownerDocument)if(i.parentNode!==r.ownerDocument){if(!t.length)for(s=i;s.parentNode&&s.parentNode!==s.ownerDocument;)t.unshift(s),s=s.parentNode;if(i instanceof a.HTMLElement&&r instanceof a.SVGElement&&!(r instanceof a.SVGSVGElement)){if(r===i.parentNode)continue;s=r.ownerSVGElement}else s=r;for(n=[];s.parentNode!==s.ownerDocument;)n.unshift(s),s=s.parentNode;for(l=0;n[l]&&n[l]===t[l];)l++;var f=[n[l-1],n[l],t[l]];for(u=f[0].lastChild;u;){if(u===f[1]){i=r,o=c,t=[];break}if(u===f[2])break;u=u.previousSibling}}else i=r,o=c}else i=r,o=c;return o},matchesUpTo:function(e,t,n){for(;o.element(e);){if(s.matchesSelector(e,t))return!0;if((e=s.parentNode(e))===n)return s.matchesSelector(e,t)}return!1},getActualElement:function(e){return e instanceof a.SVGElementInstance?e.correspondingUseElement:e},getScrollXY:function(e){return{x:(e=e||r.window).scrollX||e.document.documentElement.scrollLeft,y:e.scrollY||e.document.documentElement.scrollTop}},getElementClientRect:function(e){var t=e instanceof a.SVGElement?e.getBoundingClientRect():e.getClientRects()[0];return t&&{left:t.left,right:t.right,top:t.top,bottom:t.bottom,width:t.width||t.right-t.left,height:t.height||t.bottom-t.top}},getElementRect:function(e){var t=s.getElementClientRect(e);if(!i.isIOS7&&t){var n=s.getScrollXY(r.getWindow(e));t.left+=n.x,t.right+=n.x,t.top+=n.y,t.bottom+=n.y}return t},getPath:function(e){for(var t=[];e;)t.push(e),e=s.parentNode(e);return t},trySelector:function(e){return!!o.string(e)&&(a.document.querySelector(e),!0)}};t.exports=s},{"./browser":36,"./domObjects":38,"./is":46,"./window":52}],40:[function(e,t,n){"use strict";var r,i=e("./is"),o=e("./domUtils"),a=e("./pointerUtils"),s=e("./pointerExtend"),u=e("./window").window,c=e("./arr").contains,l=[],f=[],d={},p=[],h=(r=!1,u.document.createElement("div").addEventListener("test",null,{get capture(){r=!0}}),r);function g(e,t,n,r){var i=T(r),o=l.indexOf(e),a=f[o];a||(a={events:{},typeCount:0},o=l.push(e)-1,f.push(a)),a.events[t]||(a.events[t]=[],a.typeCount++),c(a.events[t],n)||(e.addEventListener(t,n,h?i:!!i.capture),a.events[t].push(n))}function m(e,t,n,r){var i=T(r),o=l.indexOf(e),a=f[o];if(a&&a.events)if("all"!==t){if(a.events[t]){var s=a.events[t].length;if("all"===n){for(var u=0;u<s;u++)m(e,t,a.events[t][u],i);return}for(var c=0;c<s;c++)if(a.events[t][c]===n){e.removeEventListener("on"+t,n,h?i:!!i.capture),a.events[t].splice(c,1);break}a.events[t]&&0===a.events[t].length&&(a.events[t]=null,a.typeCount--)}a.typeCount||(f.splice(o,1),l.splice(o,1))}else for(t in a.events)a.events.hasOwnProperty(t)&&m(e,t,"all")}function y(e,t,n,r,i){var o=T(i);if(!d[n]){d[n]={selectors:[],contexts:[],listeners:[]};for(var a=0;a<p.length;a++){var s=p[a];g(s,n,b),g(s,n,_,!0)}}var u=d[n],c=void 0;for(c=u.selectors.length-1;c>=0&&(u.selectors[c]!==e||u.contexts[c]!==t);c--);-1===c&&(c=u.selectors.length,u.selectors.push(e),u.contexts.push(t),u.listeners.push([])),u.listeners[c].push([r,!!o.capture,o.passive])}function v(e,t,n,r,i){var o=T(i),a=d[n],s=!1,u=void 0;if(a)for(u=a.selectors.length-1;u>=0;u--)if(a.selectors[u]===e&&a.contexts[u]===t){for(var c=a.listeners[u],l=c.length-1;l>=0;l--){var f=c[l],p=f[0],h=f[1],g=f[2];if(p===r&&h===!!o.capture&&g===o.passive){c.splice(l,1),c.length||(a.selectors.splice(u,1),a.contexts.splice(u,1),a.listeners.splice(u,1),m(t,n,b),m(t,n,_,!0),a.selectors.length||(d[n]=null)),s=!0;break}}if(s)break}}function b(e,t){var n=T(t),r={},u=d[e.type],c=a.getEventTargets(e)[0],l=c;for(s(r,e),r.originalEvent=e,r.preventDefault=w;i.element(l);){for(var f=0;f<u.selectors.length;f++){var p=u.selectors[f],h=u.contexts[f];if(o.matchesSelector(l,p)&&o.nodeContains(h,c)&&o.nodeContains(h,l)){var g=u.listeners[f];r.currentTarget=l;for(var m=0;m<g.length;m++){var y=g[m],v=y[0],b=y[1],_=y[2];b===!!n.capture&&_===n.passive&&v(r)}}}l=o.parentNode(l)}}function _(e){return b.call(this,e,!0)}function w(){this.originalEvent.preventDefault()}function T(e){return i.object(e)?e:{capture:e}}t.exports={add:g,remove:m,addDelegate:y,removeDelegate:v,delegateListener:b,delegateUseCapture:_,delegatedEvents:d,documents:p,supportsOptions:h,_elements:l,_targets:f}},{"./arr":35,"./domUtils":39,"./is":46,"./pointerExtend":48,"./pointerUtils":49,"./window":52}],41:[function(e,t,n){"use strict";t.exports=function(e,t){for(var n in t)e[n]=t[n];return e}},{}],42:[function(e,t,n){"use strict";var r=e("./rect"),i=r.resolveRectLike,o=r.rectToXY;t.exports=function(e,t,n){var r=e.options[n],a=r&&r.origin||e.options.origin,s=i(a,e,t,[e&&t]);return o(s)||{x:0,y:0}}},{"./rect":51}],43:[function(e,t,n){"use strict";t.exports=function(e,t){return Math.sqrt(e*e+t*t)}},{}],44:[function(e,t,n){"use strict";var r=e("./extend"),i=e("./window"),o={warnOnce:function(e,t){var n=!1;return function(){return n||(i.window.console.warn(t),n=!0),e.apply(this,arguments)}},_getQBezierValue:function(e,t,n,r){var i=1-e;return i*i*t+2*i*e*n+e*e*r},getQuadraticCurvePoint:function(e,t,n,r,i,a,s){return{x:o._getQBezierValue(s,e,n,i),y:o._getQBezierValue(s,t,r,a)}},easeOutQuad:function(e,t,n,r){return-n*(e/=r)*(e-2)+t},copyAction:function(e,t){return e.name=t.name,e.axis=t.axis,e.edges=t.edges,e},is:e("./is"),extend:r,hypot:e("./hypot"),getOriginXY:e("./getOriginXY")};r(o,e("./arr")),r(o,e("./domUtils")),r(o,e("./pointerUtils")),r(o,e("./rect")),t.exports=o},{"./arr":35,"./domUtils":39,"./extend":41,"./getOriginXY":42,"./hypot":43,"./is":46,"./pointerUtils":49,"./rect":51,"./window":52}],45:[function(e,t,n){"use strict";var r=e("../scope"),i=e("./index"),o={methodOrder:["simulationResume","mouseOrPen","hasPointer","idle"],search:function(e,t,n){for(var r=i.getPointerType(e),a={pointer:e,pointerId:i.getPointerId(e),pointerType:r,eventType:t,eventTarget:n},s=0;s<o.methodOrder.length;s++){var u;u=o.methodOrder[s];var c=o[u](a);if(c)return c}},simulationResume:function(e){var t=e.pointerType,n=e.eventType,o=e.eventTarget;if(!/down|start/i.test(n))return null;for(var a=0;a<r.interactions.length;a++){var s=r.interactions[a],u=o;if(s.simulation&&s.simulation.allowResume&&s.pointerType===t)for(;u;){if(u===s.element)return s;u=i.parentNode(u)}}return null},mouseOrPen:function(e){var t=e.pointerId,n=e.pointerType,o=e.eventType;if("mouse"!==n&&"pen"!==n)return null;for(var a=void 0,s=0;s<r.interactions.length;s++){var u=r.interactions[s];if(u.pointerType===n){if(u.simulation&&!i.contains(u.pointerIds,t))continue;if(u.interacting())return u;a||(a=u)}}if(a)return a;for(var c=0;c<r.interactions.length;c++){var l=r.interactions[c];if(!(l.pointerType!==n||/down/i.test(o)&&l.simulation))return l}return null},hasPointer:function(e){for(var t=e.pointerId,n=0;n<r.interactions.length;n++){var o=r.interactions[n];if(i.contains(o.pointerIds,t))return o}},idle:function(e){for(var t=e.pointerType,n=0;n<r.interactions.length;n++){var i=r.interactions[n];if(1===i.pointerIds.length){var o=i.target;if(o&&!o.options.gesture.enabled)continue}else if(i.pointerIds.length>=2)continue;if(!i.interacting()&&t===i.pointerType)return i}return null}};t.exports=o},{"../scope":33,"./index":44}],46:[function(e,t,n){"use strict";var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=e("./window"),o=e("./isWindow"),a={array:function(){},window:function(e){return e===i.window||o(e)},docFrag:function(e){return a.object(e)&&11===e.nodeType},object:function(e){return!!e&&"object"===(void 0===e?"undefined":r(e))},function:function(e){return"function"==typeof e},number:function(e){return"number"==typeof e},bool:function(e){return"boolean"==typeof e},string:function(e){return"string"==typeof e},element:function(e){if(!e||"object"!==(void 0===e?"undefined":r(e)))return!1;var t=i.getWindow(e)||i.window;return/object|function/.test(r(t.Element))?e instanceof t.Element:1===e.nodeType&&"string"==typeof e.nodeName},plainObject:function(e){return a.object(e)&&"Object"===e.constructor.name}};a.array=function(e){return a.object(e)&&void 0!==e.length&&a.function(e.splice)},t.exports=a},{"./isWindow":47,"./window":52}],47:[function(e,t,n){"use strict";t.exports=function(e){return!(!e||!e.Window)&&e instanceof e.Window}},{}],48:[function(e,t,n){"use strict";function r(e,n){for(var r in n){var i=t.exports.prefixedPropREs,o=!1;for(var a in i)if(0===r.indexOf(a)&&i[a].test(r)){o=!0;break}o||"function"==typeof n[r]||(e[r]=n[r])}return e}r.prefixedPropREs={webkit:/(Movement[XY]|Radius[XY]|RotationAngle|Force)$/},t.exports=r},{}],49:[function(e,t,n){"use strict";var r=e("./hypot"),i=e("./browser"),o=e("./domObjects"),a=e("./domUtils"),s=e("./domObjects"),u=e("./is"),c={copyCoords:function(e,t){e.page=e.page||{},e.page.x=t.page.x,e.page.y=t.page.y,e.client=e.client||{},e.client.x=t.client.x,e.client.y=t.client.y,e.timeStamp=t.timeStamp},setCoordDeltas:function(e,t,n){e.page.x=n.page.x-t.page.x,e.page.y=n.page.y-t.page.y,e.client.x=n.client.x-t.client.x,e.client.y=n.client.y-t.client.y,e.timeStamp=n.timeStamp-t.timeStamp;var i=Math.max(e.timeStamp/1e3,.001);e.page.speed=r(e.page.x,e.page.y)/i,e.page.vx=e.page.x/i,e.page.vy=e.page.y/i,e.client.speed=r(e.client.x,e.page.y)/i,e.client.vx=e.client.x/i,e.client.vy=e.client.y/i},isNativePointer:function(e){return e instanceof o.Event||e instanceof o.Touch},getXY:function(e,t,n){return e=e||"page",(n=n||{}).x=t[e+"X"],n.y=t[e+"Y"],n},getPageXY:function(e,t){return t=t||{},i.isOperaMobile&&c.isNativePointer(e)?(c.getXY("screen",e,t),t.x+=window.scrollX,t.y+=window.scrollY):c.getXY("page",e,t),t},getClientXY:function(e,t){return t=t||{},i.isOperaMobile&&c.isNativePointer(e)?c.getXY("screen",e,t):c.getXY("client",e,t),t},getPointerId:function(e){return u.number(e.pointerId)?e.pointerId:e.identifier},setCoords:function(e,t,n){var r=t.length>1?c.pointerAverage(t):t[0],i={};c.getPageXY(r,i),e.page.x=i.x,e.page.y=i.y,c.getClientXY(r,i),e.client.x=i.x,e.client.y=i.y,e.timeStamp=u.number(n)?n:(new Date).getTime()},pointerExtend:e("./pointerExtend"),getTouchPair:function(e){var t=[];return u.array(e)?(t[0]=e[0],t[1]=e[1]):"touchend"===e.type?1===e.touches.length?(t[0]=e.touches[0],t[1]=e.changedTouches[0]):0===e.touches.length&&(t[0]=e.changedTouches[0],t[1]=e.changedTouches[1]):(t[0]=e.touches[0],t[1]=e.touches[1]),t},pointerAverage:function(e){for(var t={pageX:0,pageY:0,clientX:0,clientY:0,screenX:0,screenY:0},n=0;n<e.length;n++){var r=e[n];for(var i in t)t[i]+=r[i]}for(var o in t)t[o]/=e.length;return t},touchBBox:function(e){if(e.length||e.touches&&e.touches.length>1){var t=c.getTouchPair(e),n=Math.min(t[0].pageX,t[1].pageX),r=Math.min(t[0].pageY,t[1].pageY);return{x:n,y:r,left:n,top:r,width:Math.max(t[0].pageX,t[1].pageX)-n,height:Math.max(t[0].pageY,t[1].pageY)-r}}},touchDistance:function(e,t){var n=t+"X",i=t+"Y",o=c.getTouchPair(e),a=o[0][n]-o[1][n],s=o[0][i]-o[1][i];return r(a,s)},touchAngle:function(e,t,n){var r=n+"X",i=n+"Y",o=c.getTouchPair(e),a=o[1][r]-o[0][r],s=o[1][i]-o[0][i];return 180*Math.atan2(s,a)/Math.PI},getPointerType:function(e){return u.string(e.pointerType)?e.pointerType:u.number(e.pointerType)?[void 0,void 0,"touch","pen","mouse"][e.pointerType]:/touch/.test(e.type)||e instanceof s.Touch?"touch":"mouse"},getEventTargets:function(e){var t=u.function(e.composedPath)?e.composedPath():e.path;return[a.getActualElement(t?t[0]:e.target),a.getActualElement(e.currentTarget)]}};t.exports=c},{"./browser":36,"./domObjects":38,"./domUtils":39,"./hypot":43,"./is":46,"./pointerExtend":48}],50:[function(e,t,n){"use strict";for(var r=e("./window").window,i=["ms","moz","webkit","o"],o=0,a=void 0,s=void 0,u=0;u<i.length&&!r.requestAnimationFrame;u++)a=r[i[u]+"RequestAnimationFrame"],s=r[i[u]+"CancelAnimationFrame"]||r[i[u]+"CancelRequestAnimationFrame"];a||(a=function(e){var t=(new Date).getTime(),n=Math.max(0,16-(t-o)),r=setTimeout((function(){e(t+n)}),n);return o=t+n,r}),s||(s=function(e){clearTimeout(e)}),t.exports={request:a,cancel:s}},{"./window":52}],51:[function(e,t,n){"use strict";var r=e("./extend"),i=e("./is"),o=e("./domUtils"),a=o.closest,s=o.parentNode,u=o.getElementRect,c={getStringOptionResult:function(e,t,n){return i.string(e)?e="parent"===e?s(n):"self"===e?t.getRect(n):a(n,e):null},resolveRectLike:function(e,t,n,r){return e=c.getStringOptionResult(e,t,n)||e,i.function(e)&&(e=e.apply(null,r)),i.element(e)&&(e=u(e)),e},rectToXY:function(e){return e&&{x:"x"in e?e.x:e.left,y:"y"in e?e.y:e.top}},xywhToTlbr:function(e){return!e||"left"in e&&"top"in e||((e=r({},e)).left=e.x||0,e.top=e.y||0,e.right=e.right||e.left+e.width,e.bottom=e.bottom||e.top+e.height),e},tlbrToXywh:function(e){return!e||"x"in e&&"y"in e||((e=r({},e)).x=e.left||0,e.top=e.top||0,e.width=e.width||e.right-e.x,e.height=e.height||e.bottom-e.y),e}};t.exports=c},{"./domUtils":39,"./extend":41,"./is":46}],52:[function(e,t,n){"use strict";var r=t.exports,i=e("./isWindow");function o(e){r.realWindow=e;var t=e.document.createTextNode("");t.ownerDocument!==e.document&&"function"==typeof e.wrap&&e.wrap(t)===t&&(e=e.wrap(e)),r.window=e}"undefined"==typeof window?(r.window=void 0,r.realWindow=void 0):o(window),r.getWindow=function(e){if(i(e))return e;var t=e.ownerDocument||e;return t.defaultView||t.parentWindow||r.window},r.init=o},{"./isWindow":47}]},{},[1])(1)},66337:function(){!function(){"use strict";if("object"==typeof window)if("IntersectionObserver"in window&&"IntersectionObserverEntry"in window&&"intersectionRatio"in window.IntersectionObserverEntry.prototype)"isIntersecting"in window.IntersectionObserverEntry.prototype||Object.defineProperty(window.IntersectionObserverEntry.prototype,"isIntersecting",{get:function(){return this.intersectionRatio>0}});else{var e=function(e){for(var t=window.document,n=i(t);n;)n=i(t=n.ownerDocument);return t}(),t=[],n=null,r=null;a.prototype.THROTTLE_TIMEOUT=100,a.prototype.POLL_INTERVAL=null,a.prototype.USE_MUTATION_OBSERVER=!0,a._setupCrossOriginUpdater=function(){return n||(n=function(e,n){r=e&&n?f(e,n):{top:0,bottom:0,left:0,right:0,width:0,height:0},t.forEach((function(e){e._checkForIntersections()}))}),n},a._resetCrossOriginUpdater=function(){n=null,r=null},a.prototype.observe=function(e){if(!this._observationTargets.some((function(t){return t.element==e}))){if(!e||1!=e.nodeType)throw new Error("target must be an Element");this._registerInstance(),this._observationTargets.push({element:e,entry:null}),this._monitorIntersections(e.ownerDocument),this._checkForIntersections()}},a.prototype.unobserve=function(e){this._observationTargets=this._observationTargets.filter((function(t){return t.element!=e})),this._unmonitorIntersections(e.ownerDocument),0==this._observationTargets.length&&this._unregisterInstance()},a.prototype.disconnect=function(){this._observationTargets=[],this._unmonitorAllIntersections(),this._unregisterInstance()},a.prototype.takeRecords=function(){var e=this._queuedEntries.slice();return this._queuedEntries=[],e},a.prototype._initThresholds=function(e){var t=e||[0];return Array.isArray(t)||(t=[t]),t.sort().filter((function(e,t,n){if("number"!=typeof e||isNaN(e)||e<0||e>1)throw new Error("threshold must be a number between 0 and 1 inclusively");return e!==n[t-1]}))},a.prototype._parseRootMargin=function(e){var t=(e||"0px").split(/\s+/).map((function(e){var t=/^(-?\d*\.?\d+)(px|%)$/.exec(e);if(!t)throw new Error("rootMargin must be specified in pixels or percent");return{value:parseFloat(t[1]),unit:t[2]}}));return t[1]=t[1]||t[0],t[2]=t[2]||t[0],t[3]=t[3]||t[1],t},a.prototype._monitorIntersections=function(t){var n=t.defaultView;if(n&&-1==this._monitoringDocuments.indexOf(t)){var r=this._checkForIntersections,o=null,a=null;this.POLL_INTERVAL?o=n.setInterval(r,this.POLL_INTERVAL):(s(n,"resize",r,!0),s(t,"scroll",r,!0),this.USE_MUTATION_OBSERVER&&"MutationObserver"in n&&(a=new n.MutationObserver(r)).observe(t,{attributes:!0,childList:!0,characterData:!0,subtree:!0})),this._monitoringDocuments.push(t),this._monitoringUnsubscribes.push((function(){var e=t.defaultView;e&&(o&&e.clearInterval(o),u(e,"resize",r,!0)),u(t,"scroll",r,!0),a&&a.disconnect()}));var c=this.root&&(this.root.ownerDocument||this.root)||e;if(t!=c){var l=i(t);l&&this._monitorIntersections(l.ownerDocument)}}},a.prototype._unmonitorIntersections=function(t){var n=this._monitoringDocuments.indexOf(t);if(-1!=n){var r=this.root&&(this.root.ownerDocument||this.root)||e,o=this._observationTargets.some((function(e){var n=e.element.ownerDocument;if(n==t)return!0;for(;n&&n!=r;){var o=i(n);if((n=o&&o.ownerDocument)==t)return!0}return!1}));if(!o){var a=this._monitoringUnsubscribes[n];if(this._monitoringDocuments.splice(n,1),this._monitoringUnsubscribes.splice(n,1),a(),t!=r){var s=i(t);s&&this._unmonitorIntersections(s.ownerDocument)}}}},a.prototype._unmonitorAllIntersections=function(){var e=this._monitoringUnsubscribes.slice(0);this._monitoringDocuments.length=0,this._monitoringUnsubscribes.length=0;for(var t=0;t<e.length;t++)e[t]()},a.prototype._checkForIntersections=function(){if(this.root||!n||r){var e=this._rootIsInDom(),t=e?this._getRootRect():{top:0,bottom:0,left:0,right:0,width:0,height:0};this._observationTargets.forEach((function(r){var i=r.element,a=c(i),s=this._rootContainsTarget(i),u=r.entry,l=e&&s&&this._computeTargetAndRootIntersection(i,a,t),f=null;this._rootContainsTarget(i)?n&&!this.root||(f=t):f={top:0,bottom:0,left:0,right:0,width:0,height:0};var d=r.entry=new o({time:window.performance&&performance.now&&performance.now(),target:i,boundingClientRect:a,rootBounds:f,intersectionRect:l});u?e&&s?this._hasCrossedThreshold(u,d)&&this._queuedEntries.push(d):u&&u.isIntersecting&&this._queuedEntries.push(d):this._queuedEntries.push(d)}),this),this._queuedEntries.length&&this._callback(this.takeRecords(),this)}},a.prototype._computeTargetAndRootIntersection=function(t,i,o){if("none"!=window.getComputedStyle(t).display){for(var a,s,u,l,d,h,g,m,y=i,v=p(t),b=!1;!b&&v;){var _=null,w=1==v.nodeType?window.getComputedStyle(v):{};if("none"==w.display)return null;if(v==this.root||9==v.nodeType)if(b=!0,v==this.root||v==e)n&&!this.root?!r||0==r.width&&0==r.height?(v=null,_=null,y=null):_=r:_=o;else{var T=p(v),x=T&&c(T),S=T&&this._computeTargetAndRootIntersection(T,x,o);x&&S?(v=T,_=f(x,S)):(v=null,y=null)}else{var k=v.ownerDocument;v!=k.body&&v!=k.documentElement&&"visible"!=w.overflow&&(_=c(v))}if(_&&(a=_,s=y,u=void 0,l=void 0,d=void 0,h=void 0,g=void 0,m=void 0,u=Math.max(a.top,s.top),l=Math.min(a.bottom,s.bottom),d=Math.max(a.left,s.left),h=Math.min(a.right,s.right),m=l-u,y=(g=h-d)>=0&&m>=0&&{top:u,bottom:l,left:d,right:h,width:g,height:m}||null),!y)break;v=v&&p(v)}return y}},a.prototype._getRootRect=function(){var t;if(this.root&&!h(this.root))t=c(this.root);else{var n=h(this.root)?this.root:e,r=n.documentElement,i=n.body;t={top:0,left:0,right:r.clientWidth||i.clientWidth,width:r.clientWidth||i.clientWidth,bottom:r.clientHeight||i.clientHeight,height:r.clientHeight||i.clientHeight}}return this._expandRectByRootMargin(t)},a.prototype._expandRectByRootMargin=function(e){var t=this._rootMarginValues.map((function(t,n){return"px"==t.unit?t.value:t.value*(n%2?e.width:e.height)/100})),n={top:e.top-t[0],right:e.right+t[1],bottom:e.bottom+t[2],left:e.left-t[3]};return n.width=n.right-n.left,n.height=n.bottom-n.top,n},a.prototype._hasCrossedThreshold=function(e,t){var n=e&&e.isIntersecting?e.intersectionRatio||0:-1,r=t.isIntersecting?t.intersectionRatio||0:-1;if(n!==r)for(var i=0;i<this.thresholds.length;i++){var o=this.thresholds[i];if(o==n||o==r||o<n!=o<r)return!0}},a.prototype._rootIsInDom=function(){return!this.root||d(e,this.root)},a.prototype._rootContainsTarget=function(t){var n=this.root&&(this.root.ownerDocument||this.root)||e;return d(n,t)&&(!this.root||n==t.ownerDocument)},a.prototype._registerInstance=function(){t.indexOf(this)<0&&t.push(this)},a.prototype._unregisterInstance=function(){var e=t.indexOf(this);-1!=e&&t.splice(e,1)},window.IntersectionObserver=a,window.IntersectionObserverEntry=o}function i(e){try{return e.defaultView&&e.defaultView.frameElement||null}catch(e){return null}}function o(e){this.time=e.time,this.target=e.target,this.rootBounds=l(e.rootBounds),this.boundingClientRect=l(e.boundingClientRect),this.intersectionRect=l(e.intersectionRect||{top:0,bottom:0,left:0,right:0,width:0,height:0}),this.isIntersecting=!!e.intersectionRect;var t=this.boundingClientRect,n=t.width*t.height,r=this.intersectionRect,i=r.width*r.height;this.intersectionRatio=n?Number((i/n).toFixed(4)):this.isIntersecting?1:0}function a(e,t){var n,r,i,o=t||{};if("function"!=typeof e)throw new Error("callback must be a function");if(o.root&&1!=o.root.nodeType&&9!=o.root.nodeType)throw new Error("root must be a Document or Element");this._checkForIntersections=(n=this._checkForIntersections.bind(this),r=this.THROTTLE_TIMEOUT,i=null,function(){i||(i=setTimeout((function(){n(),i=null}),r))}),this._callback=e,this._observationTargets=[],this._queuedEntries=[],this._rootMarginValues=this._parseRootMargin(o.rootMargin),this.thresholds=this._initThresholds(o.threshold),this.root=o.root||null,this.rootMargin=this._rootMarginValues.map((function(e){return e.value+e.unit})).join(" "),this._monitoringDocuments=[],this._monitoringUnsubscribes=[]}function s(e,t,n,r){"function"==typeof e.addEventListener?e.addEventListener(t,n,r||!1):"function"==typeof e.attachEvent&&e.attachEvent("on"+t,n)}function u(e,t,n,r){"function"==typeof e.removeEventListener?e.removeEventListener(t,n,r||!1):"function"==typeof e.detatchEvent&&e.detatchEvent("on"+t,n)}function c(e){var t;try{t=e.getBoundingClientRect()}catch(e){}return t?(t.width&&t.height||(t={top:t.top,right:t.right,bottom:t.bottom,left:t.left,width:t.right-t.left,height:t.bottom-t.top}),t):{top:0,bottom:0,left:0,right:0,width:0,height:0}}function l(e){return!e||"x"in e?e:{top:e.top,y:e.top,bottom:e.bottom,left:e.left,x:e.left,right:e.right,width:e.width,height:e.height}}function f(e,t){var n=t.top-e.top,r=t.left-e.left;return{top:n,left:r,height:t.height,width:t.width,bottom:n+t.height,right:r+t.width}}function d(e,t){for(var n=t;n;){if(n==e)return!0;n=p(n)}return!1}function p(t){var n=t.parentNode;return 9==t.nodeType&&t!=e?i(t):(n&&n.assignedSlot&&(n=n.assignedSlot.parentNode),n&&11==n.nodeType&&n.host?n.host:n)}function h(e){return e&&9===e.nodeType}}()},41143:function(e){"use strict";e.exports=function(e,t,n,r,i,o,a,s){if(!e){var u;if(void 0===t)u=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[n,r,i,o,a,s],l=0;(u=new Error(t.replace(/%s/g,(function(){return c[l++]})))).name="Invariant Violation"}throw u.framesToPop=1,u}}},27376:function(e){e.exports=function(e){var n=t.call(e);return"[object Function]"===n||"function"==typeof e&&"[object RegExp]"!==n||"undefined"!=typeof window&&(e===window.setTimeout||e===window.alert||e===window.confirm||e===window.prompt)};var t=Object.prototype.toString},5826:function(e){var t={}.toString;e.exports=Array.isArray||function(e){return"[object Array]"==t.call(e)}},19755:function(e,t){var n;!function(t,n){"use strict";"object"==typeof e.exports?e.exports=t.document?n(t,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return n(e)}:n(t)}("undefined"!=typeof window?window:this,(function(r,i){"use strict";var o=[],a=Object.getPrototypeOf,s=o.slice,u=o.flat?function(e){return o.flat.call(e)}:function(e){return o.concat.apply([],e)},c=o.push,l=o.indexOf,f={},d=f.toString,p=f.hasOwnProperty,h=p.toString,g=h.call(Object),m={},y=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType&&"function"!=typeof e.item},v=function(e){return null!=e&&e===e.window},b=r.document,_={type:!0,src:!0,nonce:!0,noModule:!0};function w(e,t,n){var r,i,o=(n=n||b).createElement("script");if(o.text=e,t)for(r in _)(i=t[r]||t.getAttribute&&t.getAttribute(r))&&o.setAttribute(r,i);n.head.appendChild(o).parentNode.removeChild(o)}function T(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?f[d.call(e)]||"object":typeof e}var x="3.6.0",S=function(e,t){return new S.fn.init(e,t)};function k(e){var t=!!e&&"length"in e&&e.length,n=T(e);return!y(e)&&!v(e)&&("array"===n||0===t||"number"==typeof t&&t>0&&t-1 in e)}S.fn=S.prototype={jquery:x,constructor:S,length:0,toArray:function(){return s.call(this)},get:function(e){return null==e?s.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=S.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return S.each(this,e)},map:function(e){return this.pushStack(S.map(this,(function(t,n){return e.call(t,n,t)})))},slice:function(){return this.pushStack(s.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(S.grep(this,(function(e,t){return(t+1)%2})))},odd:function(){return this.pushStack(S.grep(this,(function(e,t){return t%2})))},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(n>=0&&n<t?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:c,sort:o.sort,splice:o.splice},S.extend=S.fn.extend=function(){var e,t,n,r,i,o,a=arguments[0]||{},s=1,u=arguments.length,c=!1;for("boolean"==typeof a&&(c=a,a=arguments[s]||{},s++),"object"==typeof a||y(a)||(a={}),s===u&&(a=this,s--);s<u;s++)if(null!=(e=arguments[s]))for(t in e)r=e[t],"__proto__"!==t&&a!==r&&(c&&r&&(S.isPlainObject(r)||(i=Array.isArray(r)))?(n=a[t],o=i&&!Array.isArray(n)?[]:i||S.isPlainObject(n)?n:{},i=!1,a[t]=S.extend(c,o,r)):void 0!==r&&(a[t]=r));return a},S.extend({expando:"jQuery"+(x+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isPlainObject:function(e){var t,n;return!(!e||"[object Object]"!==d.call(e))&&(!(t=a(e))||"function"==typeof(n=p.call(t,"constructor")&&t.constructor)&&h.call(n)===g)},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},globalEval:function(e,t,n){w(e,{nonce:t&&t.nonce},n)},each:function(e,t){var n,r=0;if(k(e))for(n=e.length;r<n&&!1!==t.call(e[r],r,e[r]);r++);else for(r in e)if(!1===t.call(e[r],r,e[r]))break;return e},makeArray:function(e,t){var n=t||[];return null!=e&&(k(Object(e))?S.merge(n,"string"==typeof e?[e]:e):c.call(n,e)),n},inArray:function(e,t,n){return null==t?-1:l.call(t,e,n)},merge:function(e,t){for(var n=+t.length,r=0,i=e.length;r<n;r++)e[i++]=t[r];return e.length=i,e},grep:function(e,t,n){for(var r=[],i=0,o=e.length,a=!n;i<o;i++)!t(e[i],i)!==a&&r.push(e[i]);return r},map:function(e,t,n){var r,i,o=0,a=[];if(k(e))for(r=e.length;o<r;o++)null!=(i=t(e[o],o,n))&&a.push(i);else for(o in e)null!=(i=t(e[o],o,n))&&a.push(i);return u(a)},guid:1,support:m}),"function"==typeof Symbol&&(S.fn[Symbol.iterator]=o[Symbol.iterator]),S.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),(function(e,t){f["[object "+t+"]"]=t.toLowerCase()}));var E=function(e){var t,n,r,i,o,a,s,u,c,l,f,d,p,h,g,m,y,v,b,_="sizzle"+1*new Date,w=e.document,T=0,x=0,S=ue(),k=ue(),E=ue(),O=ue(),C=function(e,t){return e===t&&(f=!0),0},L={}.hasOwnProperty,A=[],I=A.pop,P=A.push,M=A.push,R=A.slice,j=function(e,t){for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1},D="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",N="[\\x20\\t\\r\\n\\f]",B="(?:\\\\[\\da-fA-F]{1,6}[\\x20\\t\\r\\n\\f]?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",U="\\[[\\x20\\t\\r\\n\\f]*("+B+")(?:"+N+"*([*^$|!~]?=)"+N+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+B+"))|)"+N+"*\\]",F=":("+B+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+U+")*)|.*)\\)|)",z=new RegExp(N+"+","g"),H=new RegExp("^[\\x20\\t\\r\\n\\f]+|((?:^|[^\\\\])(?:\\\\.)*)[\\x20\\t\\r\\n\\f]+$","g"),Z=new RegExp("^[\\x20\\t\\r\\n\\f]*,[\\x20\\t\\r\\n\\f]*"),q=new RegExp("^[\\x20\\t\\r\\n\\f]*([>+~]|[\\x20\\t\\r\\n\\f])[\\x20\\t\\r\\n\\f]*"),V=new RegExp(N+"|>"),W=new RegExp(F),G=new RegExp("^"+B+"$"),$={ID:new RegExp("^#("+B+")"),CLASS:new RegExp("^\\.("+B+")"),TAG:new RegExp("^("+B+"|[*])"),ATTR:new RegExp("^"+U),PSEUDO:new RegExp("^"+F),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\([\\x20\\t\\r\\n\\f]*(even|odd|(([+-]|)(\\d*)n|)[\\x20\\t\\r\\n\\f]*(?:([+-]|)[\\x20\\t\\r\\n\\f]*(\\d+)|))[\\x20\\t\\r\\n\\f]*\\)|)","i"),bool:new RegExp("^(?:"+D+")$","i"),needsContext:new RegExp("^[\\x20\\t\\r\\n\\f]*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\([\\x20\\t\\r\\n\\f]*((?:-\\d)?\\d*)[\\x20\\t\\r\\n\\f]*\\)|)(?=[^-]|$)","i")},Y=/HTML$/i,K=/^(?:input|select|textarea|button)$/i,X=/^h\d$/i,Q=/^[^{]+\{\s*\[native \w/,J=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ee=/[+~]/,te=new RegExp("\\\\[\\da-fA-F]{1,6}[\\x20\\t\\r\\n\\f]?|\\\\([^\\r\\n\\f])","g"),ne=function(e,t){var n="0x"+e.slice(1)-65536;return t||(n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320))},re=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,ie=function(e,t){return t?"\0"===e?"�":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},oe=function(){d()},ae=_e((function(e){return!0===e.disabled&&"fieldset"===e.nodeName.toLowerCase()}),{dir:"parentNode",next:"legend"});try{M.apply(A=R.call(w.childNodes),w.childNodes),A[w.childNodes.length].nodeType}catch(e){M={apply:A.length?function(e,t){P.apply(e,R.call(t))}:function(e,t){for(var n=e.length,r=0;e[n++]=t[r++];);e.length=n-1}}}function se(e,t,r,i){var o,s,c,l,f,h,y,v=t&&t.ownerDocument,w=t?t.nodeType:9;if(r=r||[],"string"!=typeof e||!e||1!==w&&9!==w&&11!==w)return r;if(!i&&(d(t),t=t||p,g)){if(11!==w&&(f=J.exec(e)))if(o=f[1]){if(9===w){if(!(c=t.getElementById(o)))return r;if(c.id===o)return r.push(c),r}else if(v&&(c=v.getElementById(o))&&b(t,c)&&c.id===o)return r.push(c),r}else{if(f[2])return M.apply(r,t.getElementsByTagName(e)),r;if((o=f[3])&&n.getElementsByClassName&&t.getElementsByClassName)return M.apply(r,t.getElementsByClassName(o)),r}if(n.qsa&&!O[e+" "]&&(!m||!m.test(e))&&(1!==w||"object"!==t.nodeName.toLowerCase())){if(y=e,v=t,1===w&&(V.test(e)||q.test(e))){for((v=ee.test(e)&&ye(t.parentNode)||t)===t&&n.scope||((l=t.getAttribute("id"))?l=l.replace(re,ie):t.setAttribute("id",l=_)),s=(h=a(e)).length;s--;)h[s]=(l?"#"+l:":scope")+" "+be(h[s]);y=h.join(",")}try{return M.apply(r,v.querySelectorAll(y)),r}catch(t){O(e,!0)}finally{l===_&&t.removeAttribute("id")}}}return u(e.replace(H,"$1"),t,r,i)}function ue(){var e=[];return function t(n,i){return e.push(n+" ")>r.cacheLength&&delete t[e.shift()],t[n+" "]=i}}function ce(e){return e[_]=!0,e}function le(e){var t=p.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function fe(e,t){for(var n=e.split("|"),i=n.length;i--;)r.attrHandle[n[i]]=t}function de(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(r)return r;if(n)for(;n=n.nextSibling;)if(n===t)return-1;return e?1:-1}function pe(e){return function(t){return"input"===t.nodeName.toLowerCase()&&t.type===e}}function he(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}}function ge(e){return function(t){return"form"in t?t.parentNode&&!1===t.disabled?"label"in t?"label"in t.parentNode?t.parentNode.disabled===e:t.disabled===e:t.isDisabled===e||t.isDisabled!==!e&&ae(t)===e:t.disabled===e:"label"in t&&t.disabled===e}}function me(e){return ce((function(t){return t=+t,ce((function(n,r){for(var i,o=e([],n.length,t),a=o.length;a--;)n[i=o[a]]&&(n[i]=!(r[i]=n[i]))}))}))}function ye(e){return e&&void 0!==e.getElementsByTagName&&e}for(t in n=se.support={},o=se.isXML=function(e){var t=e&&e.namespaceURI,n=e&&(e.ownerDocument||e).documentElement;return!Y.test(t||n&&n.nodeName||"HTML")},d=se.setDocument=function(e){var t,i,a=e?e.ownerDocument||e:w;return a!=p&&9===a.nodeType&&a.documentElement?(h=(p=a).documentElement,g=!o(p),w!=p&&(i=p.defaultView)&&i.top!==i&&(i.addEventListener?i.addEventListener("unload",oe,!1):i.attachEvent&&i.attachEvent("onunload",oe)),n.scope=le((function(e){return h.appendChild(e).appendChild(p.createElement("div")),void 0!==e.querySelectorAll&&!e.querySelectorAll(":scope fieldset div").length})),n.attributes=le((function(e){return e.className="i",!e.getAttribute("className")})),n.getElementsByTagName=le((function(e){return e.appendChild(p.createComment("")),!e.getElementsByTagName("*").length})),n.getElementsByClassName=Q.test(p.getElementsByClassName),n.getById=le((function(e){return h.appendChild(e).id=_,!p.getElementsByName||!p.getElementsByName(_).length})),n.getById?(r.filter.ID=function(e){var t=e.replace(te,ne);return function(e){return e.getAttribute("id")===t}},r.find.ID=function(e,t){if(void 0!==t.getElementById&&g){var n=t.getElementById(e);return n?[n]:[]}}):(r.filter.ID=function(e){var t=e.replace(te,ne);return function(e){var n=void 0!==e.getAttributeNode&&e.getAttributeNode("id");return n&&n.value===t}},r.find.ID=function(e,t){if(void 0!==t.getElementById&&g){var n,r,i,o=t.getElementById(e);if(o){if((n=o.getAttributeNode("id"))&&n.value===e)return[o];for(i=t.getElementsByName(e),r=0;o=i[r++];)if((n=o.getAttributeNode("id"))&&n.value===e)return[o]}return[]}}),r.find.TAG=n.getElementsByTagName?function(e,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(e):n.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,r=[],i=0,o=t.getElementsByTagName(e);if("*"===e){for(;n=o[i++];)1===n.nodeType&&r.push(n);return r}return o},r.find.CLASS=n.getElementsByClassName&&function(e,t){if(void 0!==t.getElementsByClassName&&g)return t.getElementsByClassName(e)},y=[],m=[],(n.qsa=Q.test(p.querySelectorAll))&&(le((function(e){var t;h.appendChild(e).innerHTML="<a id='"+_+"'></a><select id='"+_+"-\r\\' msallowcapture=''><option selected=''></option></select>",e.querySelectorAll("[msallowcapture^='']").length&&m.push("[*^$]=[\\x20\\t\\r\\n\\f]*(?:''|\"\")"),e.querySelectorAll("[selected]").length||m.push("\\[[\\x20\\t\\r\\n\\f]*(?:value|"+D+")"),e.querySelectorAll("[id~="+_+"-]").length||m.push("~="),(t=p.createElement("input")).setAttribute("name",""),e.appendChild(t),e.querySelectorAll("[name='']").length||m.push("\\[[\\x20\\t\\r\\n\\f]*name[\\x20\\t\\r\\n\\f]*=[\\x20\\t\\r\\n\\f]*(?:''|\"\")"),e.querySelectorAll(":checked").length||m.push(":checked"),e.querySelectorAll("a#"+_+"+*").length||m.push(".#.+[+~]"),e.querySelectorAll("\\\f"),m.push("[\\r\\n\\f]")})),le((function(e){e.innerHTML="<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";var t=p.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&m.push("name[\\x20\\t\\r\\n\\f]*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&m.push(":enabled",":disabled"),h.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&m.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),m.push(",.*:")}))),(n.matchesSelector=Q.test(v=h.matches||h.webkitMatchesSelector||h.mozMatchesSelector||h.oMatchesSelector||h.msMatchesSelector))&&le((function(e){n.disconnectedMatch=v.call(e,"*"),v.call(e,"[s!='']:x"),y.push("!=",F)})),m=m.length&&new RegExp(m.join("|")),y=y.length&&new RegExp(y.join("|")),t=Q.test(h.compareDocumentPosition),b=t||Q.test(h.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},C=t?function(e,t){if(e===t)return f=!0,0;var r=!e.compareDocumentPosition-!t.compareDocumentPosition;return r||(1&(r=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!n.sortDetached&&t.compareDocumentPosition(e)===r?e==p||e.ownerDocument==w&&b(w,e)?-1:t==p||t.ownerDocument==w&&b(w,t)?1:l?j(l,e)-j(l,t):0:4&r?-1:1)}:function(e,t){if(e===t)return f=!0,0;var n,r=0,i=e.parentNode,o=t.parentNode,a=[e],s=[t];if(!i||!o)return e==p?-1:t==p?1:i?-1:o?1:l?j(l,e)-j(l,t):0;if(i===o)return de(e,t);for(n=e;n=n.parentNode;)a.unshift(n);for(n=t;n=n.parentNode;)s.unshift(n);for(;a[r]===s[r];)r++;return r?de(a[r],s[r]):a[r]==w?-1:s[r]==w?1:0},p):p},se.matches=function(e,t){return se(e,null,null,t)},se.matchesSelector=function(e,t){if(d(e),n.matchesSelector&&g&&!O[t+" "]&&(!y||!y.test(t))&&(!m||!m.test(t)))try{var r=v.call(e,t);if(r||n.disconnectedMatch||e.document&&11!==e.document.nodeType)return r}catch(e){O(t,!0)}return se(t,p,null,[e]).length>0},se.contains=function(e,t){return(e.ownerDocument||e)!=p&&d(e),b(e,t)},se.attr=function(e,t){(e.ownerDocument||e)!=p&&d(e);var i=r.attrHandle[t.toLowerCase()],o=i&&L.call(r.attrHandle,t.toLowerCase())?i(e,t,!g):void 0;return void 0!==o?o:n.attributes||!g?e.getAttribute(t):(o=e.getAttributeNode(t))&&o.specified?o.value:null},se.escape=function(e){return(e+"").replace(re,ie)},se.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},se.uniqueSort=function(e){var t,r=[],i=0,o=0;if(f=!n.detectDuplicates,l=!n.sortStable&&e.slice(0),e.sort(C),f){for(;t=e[o++];)t===e[o]&&(i=r.push(o));for(;i--;)e.splice(r[i],1)}return l=null,e},i=se.getText=function(e){var t,n="",r=0,o=e.nodeType;if(o){if(1===o||9===o||11===o){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=i(e)}else if(3===o||4===o)return e.nodeValue}else for(;t=e[r++];)n+=i(t);return n},r=se.selectors={cacheLength:50,createPseudo:ce,match:$,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(te,ne),e[3]=(e[3]||e[4]||e[5]||"").replace(te,ne),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||se.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&se.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return $.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&W.test(n)&&(t=a(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(te,ne).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=S[e+" "];return t||(t=new RegExp("(^|[\\x20\\t\\r\\n\\f])"+e+"("+N+"|$)"))&&S(e,(function(e){return t.test("string"==typeof e.className&&e.className||void 0!==e.getAttribute&&e.getAttribute("class")||"")}))},ATTR:function(e,t,n){return function(r){var i=se.attr(r,e);return null==i?"!="===t:!t||(i+="","="===t?i===n:"!="===t?i!==n:"^="===t?n&&0===i.indexOf(n):"*="===t?n&&i.indexOf(n)>-1:"$="===t?n&&i.slice(-n.length)===n:"~="===t?(" "+i.replace(z," ")+" ").indexOf(n)>-1:"|="===t&&(i===n||i.slice(0,n.length+1)===n+"-"))}},CHILD:function(e,t,n,r,i){var o="nth"!==e.slice(0,3),a="last"!==e.slice(-4),s="of-type"===t;return 1===r&&0===i?function(e){return!!e.parentNode}:function(t,n,u){var c,l,f,d,p,h,g=o!==a?"nextSibling":"previousSibling",m=t.parentNode,y=s&&t.nodeName.toLowerCase(),v=!u&&!s,b=!1;if(m){if(o){for(;g;){for(d=t;d=d[g];)if(s?d.nodeName.toLowerCase()===y:1===d.nodeType)return!1;h=g="only"===e&&!h&&"nextSibling"}return!0}if(h=[a?m.firstChild:m.lastChild],a&&v){for(b=(p=(c=(l=(f=(d=m)[_]||(d[_]={}))[d.uniqueID]||(f[d.uniqueID]={}))[e]||[])[0]===T&&c[1])&&c[2],d=p&&m.childNodes[p];d=++p&&d&&d[g]||(b=p=0)||h.pop();)if(1===d.nodeType&&++b&&d===t){l[e]=[T,p,b];break}}else if(v&&(b=p=(c=(l=(f=(d=t)[_]||(d[_]={}))[d.uniqueID]||(f[d.uniqueID]={}))[e]||[])[0]===T&&c[1]),!1===b)for(;(d=++p&&d&&d[g]||(b=p=0)||h.pop())&&((s?d.nodeName.toLowerCase()!==y:1!==d.nodeType)||!++b||(v&&((l=(f=d[_]||(d[_]={}))[d.uniqueID]||(f[d.uniqueID]={}))[e]=[T,b]),d!==t)););return(b-=i)===r||b%r==0&&b/r>=0}}},PSEUDO:function(e,t){var n,i=r.pseudos[e]||r.setFilters[e.toLowerCase()]||se.error("unsupported pseudo: "+e);return i[_]?i(t):i.length>1?(n=[e,e,"",t],r.setFilters.hasOwnProperty(e.toLowerCase())?ce((function(e,n){for(var r,o=i(e,t),a=o.length;a--;)e[r=j(e,o[a])]=!(n[r]=o[a])})):function(e){return i(e,0,n)}):i}},pseudos:{not:ce((function(e){var t=[],n=[],r=s(e.replace(H,"$1"));return r[_]?ce((function(e,t,n,i){for(var o,a=r(e,null,i,[]),s=e.length;s--;)(o=a[s])&&(e[s]=!(t[s]=o))})):function(e,i,o){return t[0]=e,r(t,null,o,n),t[0]=null,!n.pop()}})),has:ce((function(e){return function(t){return se(e,t).length>0}})),contains:ce((function(e){return e=e.replace(te,ne),function(t){return(t.textContent||i(t)).indexOf(e)>-1}})),lang:ce((function(e){return G.test(e||"")||se.error("unsupported lang: "+e),e=e.replace(te,ne).toLowerCase(),function(t){var n;do{if(n=g?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return(n=n.toLowerCase())===e||0===n.indexOf(e+"-")}while((t=t.parentNode)&&1===t.nodeType);return!1}})),target:function(t){var n=e.location&&e.location.hash;return n&&n.slice(1)===t.id},root:function(e){return e===h},focus:function(e){return e===p.activeElement&&(!p.hasFocus||p.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:ge(!1),disabled:ge(!0),checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!r.pseudos.empty(e)},header:function(e){return X.test(e.nodeName)},input:function(e){return K.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:me((function(){return[0]})),last:me((function(e,t){return[t-1]})),eq:me((function(e,t,n){return[n<0?n+t:n]})),even:me((function(e,t){for(var n=0;n<t;n+=2)e.push(n);return e})),odd:me((function(e,t){for(var n=1;n<t;n+=2)e.push(n);return e})),lt:me((function(e,t,n){for(var r=n<0?n+t:n>t?t:n;--r>=0;)e.push(r);return e})),gt:me((function(e,t,n){for(var r=n<0?n+t:n;++r<t;)e.push(r);return e}))}},r.pseudos.nth=r.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})r.pseudos[t]=pe(t);for(t in{submit:!0,reset:!0})r.pseudos[t]=he(t);function ve(){}function be(e){for(var t=0,n=e.length,r="";t<n;t++)r+=e[t].value;return r}function _e(e,t,n){var r=t.dir,i=t.next,o=i||r,a=n&&"parentNode"===o,s=x++;return t.first?function(t,n,i){for(;t=t[r];)if(1===t.nodeType||a)return e(t,n,i);return!1}:function(t,n,u){var c,l,f,d=[T,s];if(u){for(;t=t[r];)if((1===t.nodeType||a)&&e(t,n,u))return!0}else for(;t=t[r];)if(1===t.nodeType||a)if(l=(f=t[_]||(t[_]={}))[t.uniqueID]||(f[t.uniqueID]={}),i&&i===t.nodeName.toLowerCase())t=t[r]||t;else{if((c=l[o])&&c[0]===T&&c[1]===s)return d[2]=c[2];if(l[o]=d,d[2]=e(t,n,u))return!0}return!1}}function we(e){return e.length>1?function(t,n,r){for(var i=e.length;i--;)if(!e[i](t,n,r))return!1;return!0}:e[0]}function Te(e,t,n,r,i){for(var o,a=[],s=0,u=e.length,c=null!=t;s<u;s++)(o=e[s])&&(n&&!n(o,r,i)||(a.push(o),c&&t.push(s)));return a}function xe(e,t,n,r,i,o){return r&&!r[_]&&(r=xe(r)),i&&!i[_]&&(i=xe(i,o)),ce((function(o,a,s,u){var c,l,f,d=[],p=[],h=a.length,g=o||function(e,t,n){for(var r=0,i=t.length;r<i;r++)se(e,t[r],n);return n}(t||"*",s.nodeType?[s]:s,[]),m=!e||!o&&t?g:Te(g,d,e,s,u),y=n?i||(o?e:h||r)?[]:a:m;if(n&&n(m,y,s,u),r)for(c=Te(y,p),r(c,[],s,u),l=c.length;l--;)(f=c[l])&&(y[p[l]]=!(m[p[l]]=f));if(o){if(i||e){if(i){for(c=[],l=y.length;l--;)(f=y[l])&&c.push(m[l]=f);i(null,y=[],c,u)}for(l=y.length;l--;)(f=y[l])&&(c=i?j(o,f):d[l])>-1&&(o[c]=!(a[c]=f))}}else y=Te(y===a?y.splice(h,y.length):y),i?i(null,a,y,u):M.apply(a,y)}))}function Se(e){for(var t,n,i,o=e.length,a=r.relative[e[0].type],s=a||r.relative[" "],u=a?1:0,l=_e((function(e){return e===t}),s,!0),f=_e((function(e){return j(t,e)>-1}),s,!0),d=[function(e,n,r){var i=!a&&(r||n!==c)||((t=n).nodeType?l(e,n,r):f(e,n,r));return t=null,i}];u<o;u++)if(n=r.relative[e[u].type])d=[_e(we(d),n)];else{if((n=r.filter[e[u].type].apply(null,e[u].matches))[_]){for(i=++u;i<o&&!r.relative[e[i].type];i++);return xe(u>1&&we(d),u>1&&be(e.slice(0,u-1).concat({value:" "===e[u-2].type?"*":""})).replace(H,"$1"),n,u<i&&Se(e.slice(u,i)),i<o&&Se(e=e.slice(i)),i<o&&be(e))}d.push(n)}return we(d)}return ve.prototype=r.filters=r.pseudos,r.setFilters=new ve,a=se.tokenize=function(e,t){var n,i,o,a,s,u,c,l=k[e+" "];if(l)return t?0:l.slice(0);for(s=e,u=[],c=r.preFilter;s;){for(a in n&&!(i=Z.exec(s))||(i&&(s=s.slice(i[0].length)||s),u.push(o=[])),n=!1,(i=q.exec(s))&&(n=i.shift(),o.push({value:n,type:i[0].replace(H," ")}),s=s.slice(n.length)),r.filter)!(i=$[a].exec(s))||c[a]&&!(i=c[a](i))||(n=i.shift(),o.push({value:n,type:a,matches:i}),s=s.slice(n.length));if(!n)break}return t?s.length:s?se.error(e):k(e,u).slice(0)},s=se.compile=function(e,t){var n,i=[],o=[],s=E[e+" "];if(!s){for(t||(t=a(e)),n=t.length;n--;)(s=Se(t[n]))[_]?i.push(s):o.push(s);s=E(e,function(e,t){var n=t.length>0,i=e.length>0,o=function(o,a,s,u,l){var f,h,m,y=0,v="0",b=o&&[],_=[],w=c,x=o||i&&r.find.TAG("*",l),S=T+=null==w?1:Math.random()||.1,k=x.length;for(l&&(c=a==p||a||l);v!==k&&null!=(f=x[v]);v++){if(i&&f){for(h=0,a||f.ownerDocument==p||(d(f),s=!g);m=e[h++];)if(m(f,a||p,s)){u.push(f);break}l&&(T=S)}n&&((f=!m&&f)&&y--,o&&b.push(f))}if(y+=v,n&&v!==y){for(h=0;m=t[h++];)m(b,_,a,s);if(o){if(y>0)for(;v--;)b[v]||_[v]||(_[v]=I.call(u));_=Te(_)}M.apply(u,_),l&&!o&&_.length>0&&y+t.length>1&&se.uniqueSort(u)}return l&&(T=S,c=w),b};return n?ce(o):o}(o,i)),s.selector=e}return s},u=se.select=function(e,t,n,i){var o,u,c,l,f,d="function"==typeof e&&e,p=!i&&a(e=d.selector||e);if(n=n||[],1===p.length){if((u=p[0]=p[0].slice(0)).length>2&&"ID"===(c=u[0]).type&&9===t.nodeType&&g&&r.relative[u[1].type]){if(!(t=(r.find.ID(c.matches[0].replace(te,ne),t)||[])[0]))return n;d&&(t=t.parentNode),e=e.slice(u.shift().value.length)}for(o=$.needsContext.test(e)?0:u.length;o--&&(c=u[o],!r.relative[l=c.type]);)if((f=r.find[l])&&(i=f(c.matches[0].replace(te,ne),ee.test(u[0].type)&&ye(t.parentNode)||t))){if(u.splice(o,1),!(e=i.length&&be(u)))return M.apply(n,i),n;break}}return(d||s(e,p))(i,t,!g,n,!t||ee.test(e)&&ye(t.parentNode)||t),n},n.sortStable=_.split("").sort(C).join("")===_,n.detectDuplicates=!!f,d(),n.sortDetached=le((function(e){return 1&e.compareDocumentPosition(p.createElement("fieldset"))})),le((function(e){return e.innerHTML="<a href='#'></a>","#"===e.firstChild.getAttribute("href")}))||fe("type|href|height|width",(function(e,t,n){if(!n)return e.getAttribute(t,"type"===t.toLowerCase()?1:2)})),n.attributes&&le((function(e){return e.innerHTML="<input/>",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")}))||fe("value",(function(e,t,n){if(!n&&"input"===e.nodeName.toLowerCase())return e.defaultValue})),le((function(e){return null==e.getAttribute("disabled")}))||fe(D,(function(e,t,n){var r;if(!n)return!0===e[t]?t.toLowerCase():(r=e.getAttributeNode(t))&&r.specified?r.value:null})),se}(r);S.find=E,S.expr=E.selectors,S.expr[":"]=S.expr.pseudos,S.uniqueSort=S.unique=E.uniqueSort,S.text=E.getText,S.isXMLDoc=E.isXML,S.contains=E.contains,S.escapeSelector=E.escape;var O=function(e,t,n){for(var r=[],i=void 0!==n;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(i&&S(e).is(n))break;r.push(e)}return r},C=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},L=S.expr.match.needsContext;function A(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}var I=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function P(e,t,n){return y(t)?S.grep(e,(function(e,r){return!!t.call(e,r,e)!==n})):t.nodeType?S.grep(e,(function(e){return e===t!==n})):"string"!=typeof t?S.grep(e,(function(e){return l.call(t,e)>-1!==n})):S.filter(t,e,n)}S.filter=function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?S.find.matchesSelector(r,e)?[r]:[]:S.find.matches(e,S.grep(t,(function(e){return 1===e.nodeType})))},S.fn.extend({find:function(e){var t,n,r=this.length,i=this;if("string"!=typeof e)return this.pushStack(S(e).filter((function(){for(t=0;t<r;t++)if(S.contains(i[t],this))return!0})));for(n=this.pushStack([]),t=0;t<r;t++)S.find(e,i[t],n);return r>1?S.uniqueSort(n):n},filter:function(e){return this.pushStack(P(this,e||[],!1))},not:function(e){return this.pushStack(P(this,e||[],!0))},is:function(e){return!!P(this,"string"==typeof e&&L.test(e)?S(e):e||[],!1).length}});var M,R=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(S.fn.init=function(e,t,n){var r,i;if(!e)return this;if(n=n||M,"string"==typeof e){if(!(r="<"===e[0]&&">"===e[e.length-1]&&e.length>=3?[null,e,null]:R.exec(e))||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof S?t[0]:t,S.merge(this,S.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:b,!0)),I.test(r[1])&&S.isPlainObject(t))for(r in t)y(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return(i=b.getElementById(r[2]))&&(this[0]=i,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):y(e)?void 0!==n.ready?n.ready(e):e(S):S.makeArray(e,this)}).prototype=S.fn,M=S(b);var j=/^(?:parents|prev(?:Until|All))/,D={children:!0,contents:!0,next:!0,prev:!0};function N(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}S.fn.extend({has:function(e){var t=S(e,this),n=t.length;return this.filter((function(){for(var e=0;e<n;e++)if(S.contains(this,t[e]))return!0}))},closest:function(e,t){var n,r=0,i=this.length,o=[],a="string"!=typeof e&&S(e);if(!L.test(e))for(;r<i;r++)for(n=this[r];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(a?a.index(n)>-1:1===n.nodeType&&S.find.matchesSelector(n,e))){o.push(n);break}return this.pushStack(o.length>1?S.uniqueSort(o):o)},index:function(e){return e?"string"==typeof e?l.call(S(e),this[0]):l.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(S.uniqueSort(S.merge(this.get(),S(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),S.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return O(e,"parentNode")},parentsUntil:function(e,t,n){return O(e,"parentNode",n)},next:function(e){return N(e,"nextSibling")},prev:function(e){return N(e,"previousSibling")},nextAll:function(e){return O(e,"nextSibling")},prevAll:function(e){return O(e,"previousSibling")},nextUntil:function(e,t,n){return O(e,"nextSibling",n)},prevUntil:function(e,t,n){return O(e,"previousSibling",n)},siblings:function(e){return C((e.parentNode||{}).firstChild,e)},children:function(e){return C(e.firstChild)},contents:function(e){return null!=e.contentDocument&&a(e.contentDocument)?e.contentDocument:(A(e,"template")&&(e=e.content||e),S.merge([],e.childNodes))}},(function(e,t){S.fn[e]=function(n,r){var i=S.map(this,t,n);return"Until"!==e.slice(-5)&&(r=n),r&&"string"==typeof r&&(i=S.filter(r,i)),this.length>1&&(D[e]||S.uniqueSort(i),j.test(e)&&i.reverse()),this.pushStack(i)}}));var B=/[^\x20\t\r\n\f]+/g;function U(e){return e}function F(e){throw e}function z(e,t,n,r){var i;try{e&&y(i=e.promise)?i.call(e).done(t).fail(n):e&&y(i=e.then)?i.call(e,t,n):t.apply(void 0,[e].slice(r))}catch(e){n.apply(void 0,[e])}}S.Callbacks=function(e){e="string"==typeof e?function(e){var t={};return S.each(e.match(B)||[],(function(e,n){t[n]=!0})),t}(e):S.extend({},e);var t,n,r,i,o=[],a=[],s=-1,u=function(){for(i=i||e.once,r=t=!0;a.length;s=-1)for(n=a.shift();++s<o.length;)!1===o[s].apply(n[0],n[1])&&e.stopOnFalse&&(s=o.length,n=!1);e.memory||(n=!1),t=!1,i&&(o=n?[]:"")},c={add:function(){return o&&(n&&!t&&(s=o.length-1,a.push(n)),function t(n){S.each(n,(function(n,r){y(r)?e.unique&&c.has(r)||o.push(r):r&&r.length&&"string"!==T(r)&&t(r)}))}(arguments),n&&!t&&u()),this},remove:function(){return S.each(arguments,(function(e,t){for(var n;(n=S.inArray(t,o,n))>-1;)o.splice(n,1),n<=s&&s--})),this},has:function(e){return e?S.inArray(e,o)>-1:o.length>0},empty:function(){return o&&(o=[]),this},disable:function(){return i=a=[],o=n="",this},disabled:function(){return!o},lock:function(){return i=a=[],n||t||(o=n=""),this},locked:function(){return!!i},fireWith:function(e,n){return i||(n=[e,(n=n||[]).slice?n.slice():n],a.push(n),t||u()),this},fire:function(){return c.fireWith(this,arguments),this},fired:function(){return!!r}};return c},S.extend({Deferred:function(e){var t=[["notify","progress",S.Callbacks("memory"),S.Callbacks("memory"),2],["resolve","done",S.Callbacks("once memory"),S.Callbacks("once memory"),0,"resolved"],["reject","fail",S.Callbacks("once memory"),S.Callbacks("once memory"),1,"rejected"]],n="pending",i={state:function(){return n},always:function(){return o.done(arguments).fail(arguments),this},catch:function(e){return i.then(null,e)},pipe:function(){var e=arguments;return S.Deferred((function(n){S.each(t,(function(t,r){var i=y(e[r[4]])&&e[r[4]];o[r[1]]((function(){var e=i&&i.apply(this,arguments);e&&y(e.promise)?e.promise().progress(n.notify).done(n.resolve).fail(n.reject):n[r[0]+"With"](this,i?[e]:arguments)}))})),e=null})).promise()},then:function(e,n,i){var o=0;function a(e,t,n,i){return function(){var s=this,u=arguments,c=function(){var r,c;if(!(e<o)){if((r=n.apply(s,u))===t.promise())throw new TypeError("Thenable self-resolution");c=r&&("object"==typeof r||"function"==typeof r)&&r.then,y(c)?i?c.call(r,a(o,t,U,i),a(o,t,F,i)):(o++,c.call(r,a(o,t,U,i),a(o,t,F,i),a(o,t,U,t.notifyWith))):(n!==U&&(s=void 0,u=[r]),(i||t.resolveWith)(s,u))}},l=i?c:function(){try{c()}catch(r){S.Deferred.exceptionHook&&S.Deferred.exceptionHook(r,l.stackTrace),e+1>=o&&(n!==F&&(s=void 0,u=[r]),t.rejectWith(s,u))}};e?l():(S.Deferred.getStackHook&&(l.stackTrace=S.Deferred.getStackHook()),r.setTimeout(l))}}return S.Deferred((function(r){t[0][3].add(a(0,r,y(i)?i:U,r.notifyWith)),t[1][3].add(a(0,r,y(e)?e:U)),t[2][3].add(a(0,r,y(n)?n:F))})).promise()},promise:function(e){return null!=e?S.extend(e,i):i}},o={};return S.each(t,(function(e,r){var a=r[2],s=r[5];i[r[1]]=a.add,s&&a.add((function(){n=s}),t[3-e][2].disable,t[3-e][3].disable,t[0][2].lock,t[0][3].lock),a.add(r[3].fire),o[r[0]]=function(){return o[r[0]+"With"](this===o?void 0:this,arguments),this},o[r[0]+"With"]=a.fireWith})),i.promise(o),e&&e.call(o,o),o},when:function(e){var t=arguments.length,n=t,r=Array(n),i=s.call(arguments),o=S.Deferred(),a=function(e){return function(n){r[e]=this,i[e]=arguments.length>1?s.call(arguments):n,--t||o.resolveWith(r,i)}};if(t<=1&&(z(e,o.done(a(n)).resolve,o.reject,!t),"pending"===o.state()||y(i[n]&&i[n].then)))return o.then();for(;n--;)z(i[n],a(n),o.reject);return o.promise()}});var H=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;S.Deferred.exceptionHook=function(e,t){r.console&&r.console.warn&&e&&H.test(e.name)&&r.console.warn("jQuery.Deferred exception: "+e.message,e.stack,t)},S.readyException=function(e){r.setTimeout((function(){throw e}))};var Z=S.Deferred();function q(){b.removeEventListener("DOMContentLoaded",q),r.removeEventListener("load",q),S.ready()}S.fn.ready=function(e){return Z.then(e).catch((function(e){S.readyException(e)})),this},S.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--S.readyWait:S.isReady)||(S.isReady=!0,!0!==e&&--S.readyWait>0||Z.resolveWith(b,[S]))}}),S.ready.then=Z.then,"complete"===b.readyState||"loading"!==b.readyState&&!b.documentElement.doScroll?r.setTimeout(S.ready):(b.addEventListener("DOMContentLoaded",q),r.addEventListener("load",q));var V=function(e,t,n,r,i,o,a){var s=0,u=e.length,c=null==n;if("object"===T(n))for(s in i=!0,n)V(e,t,s,n[s],!0,o,a);else if(void 0!==r&&(i=!0,y(r)||(a=!0),c&&(a?(t.call(e,r),t=null):(c=t,t=function(e,t,n){return c.call(S(e),n)})),t))for(;s<u;s++)t(e[s],n,a?r:r.call(e[s],s,t(e[s],n)));return i?e:c?t.call(e):u?t(e[0],n):o},W=/^-ms-/,G=/-([a-z])/g;function $(e,t){return t.toUpperCase()}function Y(e){return e.replace(W,"ms-").replace(G,$)}var K=function(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType};function X(){this.expando=S.expando+X.uid++}X.uid=1,X.prototype={cache:function(e){var t=e[this.expando];return t||(t={},K(e)&&(e.nodeType?e[this.expando]=t:Object.defineProperty(e,this.expando,{value:t,configurable:!0}))),t},set:function(e,t,n){var r,i=this.cache(e);if("string"==typeof t)i[Y(t)]=n;else for(r in t)i[Y(r)]=t[r];return i},get:function(e,t){return void 0===t?this.cache(e):e[this.expando]&&e[this.expando][Y(t)]},access:function(e,t,n){return void 0===t||t&&"string"==typeof t&&void 0===n?this.get(e,t):(this.set(e,t,n),void 0!==n?n:t)},remove:function(e,t){var n,r=e[this.expando];if(void 0!==r){if(void 0!==t){n=(t=Array.isArray(t)?t.map(Y):(t=Y(t))in r?[t]:t.match(B)||[]).length;for(;n--;)delete r[t[n]]}(void 0===t||S.isEmptyObject(r))&&(e.nodeType?e[this.expando]=void 0:delete e[this.expando])}},hasData:function(e){var t=e[this.expando];return void 0!==t&&!S.isEmptyObject(t)}};var Q=new X,J=new X,ee=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,te=/[A-Z]/g;function ne(e,t,n){var r;if(void 0===n&&1===e.nodeType)if(r="data-"+t.replace(te,"-$&").toLowerCase(),"string"==typeof(n=e.getAttribute(r))){try{n=function(e){return"true"===e||"false"!==e&&("null"===e?null:e===+e+""?+e:ee.test(e)?JSON.parse(e):e)}(n)}catch(e){}J.set(e,t,n)}else n=void 0;return n}S.extend({hasData:function(e){return J.hasData(e)||Q.hasData(e)},data:function(e,t,n){return J.access(e,t,n)},removeData:function(e,t){J.remove(e,t)},_data:function(e,t,n){return Q.access(e,t,n)},_removeData:function(e,t){Q.remove(e,t)}}),S.fn.extend({data:function(e,t){var n,r,i,o=this[0],a=o&&o.attributes;if(void 0===e){if(this.length&&(i=J.get(o),1===o.nodeType&&!Q.get(o,"hasDataAttrs"))){for(n=a.length;n--;)a[n]&&0===(r=a[n].name).indexOf("data-")&&(r=Y(r.slice(5)),ne(o,r,i[r]));Q.set(o,"hasDataAttrs",!0)}return i}return"object"==typeof e?this.each((function(){J.set(this,e)})):V(this,(function(t){var n;if(o&&void 0===t)return void 0!==(n=J.get(o,e))||void 0!==(n=ne(o,e))?n:void 0;this.each((function(){J.set(this,e,t)}))}),null,t,arguments.length>1,null,!0)},removeData:function(e){return this.each((function(){J.remove(this,e)}))}}),S.extend({queue:function(e,t,n){var r;if(e)return t=(t||"fx")+"queue",r=Q.get(e,t),n&&(!r||Array.isArray(n)?r=Q.access(e,t,S.makeArray(n)):r.push(n)),r||[]},dequeue:function(e,t){t=t||"fx";var n=S.queue(e,t),r=n.length,i=n.shift(),o=S._queueHooks(e,t);"inprogress"===i&&(i=n.shift(),r--),i&&("fx"===t&&n.unshift("inprogress"),delete o.stop,i.call(e,(function(){S.dequeue(e,t)}),o)),!r&&o&&o.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return Q.get(e,n)||Q.access(e,n,{empty:S.Callbacks("once memory").add((function(){Q.remove(e,[t+"queue",n])}))})}}),S.fn.extend({queue:function(e,t){var n=2;return"string"!=typeof e&&(t=e,e="fx",n--),arguments.length<n?S.queue(this[0],e):void 0===t?this:this.each((function(){var n=S.queue(this,e,t);S._queueHooks(this,e),"fx"===e&&"inprogress"!==n[0]&&S.dequeue(this,e)}))},dequeue:function(e){return this.each((function(){S.dequeue(this,e)}))},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var n,r=1,i=S.Deferred(),o=this,a=this.length,s=function(){--r||i.resolveWith(o,[o])};for("string"!=typeof e&&(t=e,e=void 0),e=e||"fx";a--;)(n=Q.get(o[a],e+"queueHooks"))&&n.empty&&(r++,n.empty.add(s));return s(),i.promise(t)}});var re=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,ie=new RegExp("^(?:([+-])=|)("+re+")([a-z%]*)$","i"),oe=["Top","Right","Bottom","Left"],ae=b.documentElement,se=function(e){return S.contains(e.ownerDocument,e)},ue={composed:!0};ae.getRootNode&&(se=function(e){return S.contains(e.ownerDocument,e)||e.getRootNode(ue)===e.ownerDocument});var ce=function(e,t){return"none"===(e=t||e).style.display||""===e.style.display&&se(e)&&"none"===S.css(e,"display")};function le(e,t,n,r){var i,o,a=20,s=r?function(){return r.cur()}:function(){return S.css(e,t,"")},u=s(),c=n&&n[3]||(S.cssNumber[t]?"":"px"),l=e.nodeType&&(S.cssNumber[t]||"px"!==c&&+u)&&ie.exec(S.css(e,t));if(l&&l[3]!==c){for(u/=2,c=c||l[3],l=+u||1;a--;)S.style(e,t,l+c),(1-o)*(1-(o=s()/u||.5))<=0&&(a=0),l/=o;l*=2,S.style(e,t,l+c),n=n||[]}return n&&(l=+l||+u||0,i=n[1]?l+(n[1]+1)*n[2]:+n[2],r&&(r.unit=c,r.start=l,r.end=i)),i}var fe={};function de(e){var t,n=e.ownerDocument,r=e.nodeName,i=fe[r];return i||(t=n.body.appendChild(n.createElement(r)),i=S.css(t,"display"),t.parentNode.removeChild(t),"none"===i&&(i="block"),fe[r]=i,i)}function pe(e,t){for(var n,r,i=[],o=0,a=e.length;o<a;o++)(r=e[o]).style&&(n=r.style.display,t?("none"===n&&(i[o]=Q.get(r,"display")||null,i[o]||(r.style.display="")),""===r.style.display&&ce(r)&&(i[o]=de(r))):"none"!==n&&(i[o]="none",Q.set(r,"display",n)));for(o=0;o<a;o++)null!=i[o]&&(e[o].style.display=i[o]);return e}S.fn.extend({show:function(){return pe(this,!0)},hide:function(){return pe(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each((function(){ce(this)?S(this).show():S(this).hide()}))}});var he,ge,me=/^(?:checkbox|radio)$/i,ye=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,ve=/^$|^module$|\/(?:java|ecma)script/i;he=b.createDocumentFragment().appendChild(b.createElement("div")),(ge=b.createElement("input")).setAttribute("type","radio"),ge.setAttribute("checked","checked"),ge.setAttribute("name","t"),he.appendChild(ge),m.checkClone=he.cloneNode(!0).cloneNode(!0).lastChild.checked,he.innerHTML="<textarea>x</textarea>",m.noCloneChecked=!!he.cloneNode(!0).lastChild.defaultValue,he.innerHTML="<option></option>",m.option=!!he.lastChild;var be={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,"",""]};function _e(e,t){var n;return n=void 0!==e.getElementsByTagName?e.getElementsByTagName(t||"*"):void 0!==e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&A(e,t)?S.merge([e],n):n}function we(e,t){for(var n=0,r=e.length;n<r;n++)Q.set(e[n],"globalEval",!t||Q.get(t[n],"globalEval"))}be.tbody=be.tfoot=be.colgroup=be.caption=be.thead,be.th=be.td,m.option||(be.optgroup=be.option=[1,"<select multiple='multiple'>","</select>"]);var Te=/<|&#?\w+;/;function xe(e,t,n,r,i){for(var o,a,s,u,c,l,f=t.createDocumentFragment(),d=[],p=0,h=e.length;p<h;p++)if((o=e[p])||0===o)if("object"===T(o))S.merge(d,o.nodeType?[o]:o);else if(Te.test(o)){for(a=a||f.appendChild(t.createElement("div")),s=(ye.exec(o)||["",""])[1].toLowerCase(),u=be[s]||be._default,a.innerHTML=u[1]+S.htmlPrefilter(o)+u[2],l=u[0];l--;)a=a.lastChild;S.merge(d,a.childNodes),(a=f.firstChild).textContent=""}else d.push(t.createTextNode(o));for(f.textContent="",p=0;o=d[p++];)if(r&&S.inArray(o,r)>-1)i&&i.push(o);else if(c=se(o),a=_e(f.appendChild(o),"script"),c&&we(a),n)for(l=0;o=a[l++];)ve.test(o.type||"")&&n.push(o);return f}var Se=/^([^.]*)(?:\.(.+)|)/;function ke(){return!0}function Ee(){return!1}function Oe(e,t){return e===function(){try{return b.activeElement}catch(e){}}()==("focus"===t)}function Ce(e,t,n,r,i,o){var a,s;if("object"==typeof t){for(s in"string"!=typeof n&&(r=r||n,n=void 0),t)Ce(e,s,n,r,t[s],o);return e}if(null==r&&null==i?(i=n,r=n=void 0):null==i&&("string"==typeof n?(i=r,r=void 0):(i=r,r=n,n=void 0)),!1===i)i=Ee;else if(!i)return e;return 1===o&&(a=i,i=function(e){return S().off(e),a.apply(this,arguments)},i.guid=a.guid||(a.guid=S.guid++)),e.each((function(){S.event.add(this,t,i,r,n)}))}function Le(e,t,n){n?(Q.set(e,t,!1),S.event.add(e,t,{namespace:!1,handler:function(e){var r,i,o=Q.get(this,t);if(1&e.isTrigger&&this[t]){if(o.length)(S.event.special[t]||{}).delegateType&&e.stopPropagation();else if(o=s.call(arguments),Q.set(this,t,o),r=n(this,t),this[t](),o!==(i=Q.get(this,t))||r?Q.set(this,t,!1):i={},o!==i)return e.stopImmediatePropagation(),e.preventDefault(),i&&i.value}else o.length&&(Q.set(this,t,{value:S.event.trigger(S.extend(o[0],S.Event.prototype),o.slice(1),this)}),e.stopImmediatePropagation())}})):void 0===Q.get(e,t)&&S.event.add(e,t,ke)}S.event={global:{},add:function(e,t,n,r,i){var o,a,s,u,c,l,f,d,p,h,g,m=Q.get(e);if(K(e))for(n.handler&&(n=(o=n).handler,i=o.selector),i&&S.find.matchesSelector(ae,i),n.guid||(n.guid=S.guid++),(u=m.events)||(u=m.events=Object.create(null)),(a=m.handle)||(a=m.handle=function(t){return void 0!==S&&S.event.triggered!==t.type?S.event.dispatch.apply(e,arguments):void 0}),c=(t=(t||"").match(B)||[""]).length;c--;)p=g=(s=Se.exec(t[c])||[])[1],h=(s[2]||"").split(".").sort(),p&&(f=S.event.special[p]||{},p=(i?f.delegateType:f.bindType)||p,f=S.event.special[p]||{},l=S.extend({type:p,origType:g,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&S.expr.match.needsContext.test(i),namespace:h.join(".")},o),(d=u[p])||((d=u[p]=[]).delegateCount=0,f.setup&&!1!==f.setup.call(e,r,h,a)||e.addEventListener&&e.addEventListener(p,a)),f.add&&(f.add.call(e,l),l.handler.guid||(l.handler.guid=n.guid)),i?d.splice(d.delegateCount++,0,l):d.push(l),S.event.global[p]=!0)},remove:function(e,t,n,r,i){var o,a,s,u,c,l,f,d,p,h,g,m=Q.hasData(e)&&Q.get(e);if(m&&(u=m.events)){for(c=(t=(t||"").match(B)||[""]).length;c--;)if(p=g=(s=Se.exec(t[c])||[])[1],h=(s[2]||"").split(".").sort(),p){for(f=S.event.special[p]||{},d=u[p=(r?f.delegateType:f.bindType)||p]||[],s=s[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=o=d.length;o--;)l=d[o],!i&&g!==l.origType||n&&n.guid!==l.guid||s&&!s.test(l.namespace)||r&&r!==l.selector&&("**"!==r||!l.selector)||(d.splice(o,1),l.selector&&d.delegateCount--,f.remove&&f.remove.call(e,l));a&&!d.length&&(f.teardown&&!1!==f.teardown.call(e,h,m.handle)||S.removeEvent(e,p,m.handle),delete u[p])}else for(p in u)S.event.remove(e,p+t[c],n,r,!0);S.isEmptyObject(u)&&Q.remove(e,"handle events")}},dispatch:function(e){var t,n,r,i,o,a,s=new Array(arguments.length),u=S.event.fix(e),c=(Q.get(this,"events")||Object.create(null))[u.type]||[],l=S.event.special[u.type]||{};for(s[0]=u,t=1;t<arguments.length;t++)s[t]=arguments[t];if(u.delegateTarget=this,!l.preDispatch||!1!==l.preDispatch.call(this,u)){for(a=S.event.handlers.call(this,u,c),t=0;(i=a[t++])&&!u.isPropagationStopped();)for(u.currentTarget=i.elem,n=0;(o=i.handlers[n++])&&!u.isImmediatePropagationStopped();)u.rnamespace&&!1!==o.namespace&&!u.rnamespace.test(o.namespace)||(u.handleObj=o,u.data=o.data,void 0!==(r=((S.event.special[o.origType]||{}).handle||o.handler).apply(i.elem,s))&&!1===(u.result=r)&&(u.preventDefault(),u.stopPropagation()));return l.postDispatch&&l.postDispatch.call(this,u),u.result}},handlers:function(e,t){var n,r,i,o,a,s=[],u=t.delegateCount,c=e.target;if(u&&c.nodeType&&!("click"===e.type&&e.button>=1))for(;c!==this;c=c.parentNode||this)if(1===c.nodeType&&("click"!==e.type||!0!==c.disabled)){for(o=[],a={},n=0;n<u;n++)void 0===a[i=(r=t[n]).selector+" "]&&(a[i]=r.needsContext?S(i,this).index(c)>-1:S.find(i,this,null,[c]).length),a[i]&&o.push(r);o.length&&s.push({elem:c,handlers:o})}return c=this,u<t.length&&s.push({elem:c,handlers:t.slice(u)}),s},addProp:function(e,t){Object.defineProperty(S.Event.prototype,e,{enumerable:!0,configurable:!0,get:y(t)?function(){if(this.originalEvent)return t(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[e]},set:function(t){Object.defineProperty(this,e,{enumerable:!0,configurable:!0,writable:!0,value:t})}})},fix:function(e){return e[S.expando]?e:new S.Event(e)},special:{load:{noBubble:!0},click:{setup:function(e){var t=this||e;return me.test(t.type)&&t.click&&A(t,"input")&&Le(t,"click",ke),!1},trigger:function(e){var t=this||e;return me.test(t.type)&&t.click&&A(t,"input")&&Le(t,"click"),!0},_default:function(e){var t=e.target;return me.test(t.type)&&t.click&&A(t,"input")&&Q.get(t,"click")||A(t,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}},S.removeEvent=function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n)},S.Event=function(e,t){if(!(this instanceof S.Event))return new S.Event(e,t);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&!1===e.returnValue?ke:Ee,this.target=e.target&&3===e.target.nodeType?e.target.parentNode:e.target,this.currentTarget=e.currentTarget,this.relatedTarget=e.relatedTarget):this.type=e,t&&S.extend(this,t),this.timeStamp=e&&e.timeStamp||Date.now(),this[S.expando]=!0},S.Event.prototype={constructor:S.Event,isDefaultPrevented:Ee,isPropagationStopped:Ee,isImmediatePropagationStopped:Ee,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=ke,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=ke,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=ke,e&&!this.isSimulated&&e.stopImmediatePropagation(),this.stopPropagation()}},S.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,code:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:!0},S.event.addProp),S.each({focus:"focusin",blur:"focusout"},(function(e,t){S.event.special[e]={setup:function(){return Le(this,e,Oe),!1},trigger:function(){return Le(this,e),!0},_default:function(){return!0},delegateType:t}})),S.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},(function(e,t){S.event.special[e]={delegateType:t,bindType:t,handle:function(e){var n,r=this,i=e.relatedTarget,o=e.handleObj;return i&&(i===r||S.contains(r,i))||(e.type=o.origType,n=o.handler.apply(this,arguments),e.type=t),n}}})),S.fn.extend({on:function(e,t,n,r){return Ce(this,e,t,n,r)},one:function(e,t,n,r){return Ce(this,e,t,n,r,1)},off:function(e,t,n){var r,i;if(e&&e.preventDefault&&e.handleObj)return r=e.handleObj,S(e.delegateTarget).off(r.namespace?r.origType+"."+r.namespace:r.origType,r.selector,r.handler),this;if("object"==typeof e){for(i in e)this.off(i,t,e[i]);return this}return!1!==t&&"function"!=typeof t||(n=t,t=void 0),!1===n&&(n=Ee),this.each((function(){S.event.remove(this,e,n,t)}))}});var Ae=/<script|<style|<link/i,Ie=/checked\s*(?:[^=]|=\s*.checked.)/i,Pe=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;function Me(e,t){return A(e,"table")&&A(11!==t.nodeType?t:t.firstChild,"tr")&&S(e).children("tbody")[0]||e}function Re(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function je(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function De(e,t){var n,r,i,o,a,s;if(1===t.nodeType){if(Q.hasData(e)&&(s=Q.get(e).events))for(i in Q.remove(t,"handle events"),s)for(n=0,r=s[i].length;n<r;n++)S.event.add(t,i,s[i][n]);J.hasData(e)&&(o=J.access(e),a=S.extend({},o),J.set(t,a))}}function Ne(e,t){var n=t.nodeName.toLowerCase();"input"===n&&me.test(e.type)?t.checked=e.checked:"input"!==n&&"textarea"!==n||(t.defaultValue=e.defaultValue)}function Be(e,t,n,r){t=u(t);var i,o,a,s,c,l,f=0,d=e.length,p=d-1,h=t[0],g=y(h);if(g||d>1&&"string"==typeof h&&!m.checkClone&&Ie.test(h))return e.each((function(i){var o=e.eq(i);g&&(t[0]=h.call(this,i,o.html())),Be(o,t,n,r)}));if(d&&(o=(i=xe(t,e[0].ownerDocument,!1,e,r)).firstChild,1===i.childNodes.length&&(i=o),o||r)){for(s=(a=S.map(_e(i,"script"),Re)).length;f<d;f++)c=i,f!==p&&(c=S.clone(c,!0,!0),s&&S.merge(a,_e(c,"script"))),n.call(e[f],c,f);if(s)for(l=a[a.length-1].ownerDocument,S.map(a,je),f=0;f<s;f++)c=a[f],ve.test(c.type||"")&&!Q.access(c,"globalEval")&&S.contains(l,c)&&(c.src&&"module"!==(c.type||"").toLowerCase()?S._evalUrl&&!c.noModule&&S._evalUrl(c.src,{nonce:c.nonce||c.getAttribute("nonce")},l):w(c.textContent.replace(Pe,""),c,l))}return e}function Ue(e,t,n){for(var r,i=t?S.filter(t,e):e,o=0;null!=(r=i[o]);o++)n||1!==r.nodeType||S.cleanData(_e(r)),r.parentNode&&(n&&se(r)&&we(_e(r,"script")),r.parentNode.removeChild(r));return e}S.extend({htmlPrefilter:function(e){return e},clone:function(e,t,n){var r,i,o,a,s=e.cloneNode(!0),u=se(e);if(!(m.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||S.isXMLDoc(e)))for(a=_e(s),r=0,i=(o=_e(e)).length;r<i;r++)Ne(o[r],a[r]);if(t)if(n)for(o=o||_e(e),a=a||_e(s),r=0,i=o.length;r<i;r++)De(o[r],a[r]);else De(e,s);return(a=_e(s,"script")).length>0&&we(a,!u&&_e(e,"script")),s},cleanData:function(e){for(var t,n,r,i=S.event.special,o=0;void 0!==(n=e[o]);o++)if(K(n)){if(t=n[Q.expando]){if(t.events)for(r in t.events)i[r]?S.event.remove(n,r):S.removeEvent(n,r,t.handle);n[Q.expando]=void 0}n[J.expando]&&(n[J.expando]=void 0)}}}),S.fn.extend({detach:function(e){return Ue(this,e,!0)},remove:function(e){return Ue(this,e)},text:function(e){return V(this,(function(e){return void 0===e?S.text(this):this.empty().each((function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=e)}))}),null,e,arguments.length)},append:function(){return Be(this,arguments,(function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||Me(this,e).appendChild(e)}))},prepend:function(){return Be(this,arguments,(function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=Me(this,e);t.insertBefore(e,t.firstChild)}}))},before:function(){return Be(this,arguments,(function(e){this.parentNode&&this.parentNode.insertBefore(e,this)}))},after:function(){return Be(this,arguments,(function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)}))},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(S.cleanData(_e(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map((function(){return S.clone(this,e,t)}))},html:function(e){return V(this,(function(e){var t=this[0]||{},n=0,r=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!Ae.test(e)&&!be[(ye.exec(e)||["",""])[1].toLowerCase()]){e=S.htmlPrefilter(e);try{for(;n<r;n++)1===(t=this[n]||{}).nodeType&&(S.cleanData(_e(t,!1)),t.innerHTML=e);t=0}catch(e){}}t&&this.empty().append(e)}),null,e,arguments.length)},replaceWith:function(){var e=[];return Be(this,arguments,(function(t){var n=this.parentNode;S.inArray(this,e)<0&&(S.cleanData(_e(this)),n&&n.replaceChild(t,this))}),e)}}),S.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},(function(e,t){S.fn[e]=function(e){for(var n,r=[],i=S(e),o=i.length-1,a=0;a<=o;a++)n=a===o?this:this.clone(!0),S(i[a])[t](n),c.apply(r,n.get());return this.pushStack(r)}}));var Fe=new RegExp("^("+re+")(?!px)[a-z%]+$","i"),ze=function(e){var t=e.ownerDocument.defaultView;return t&&t.opener||(t=r),t.getComputedStyle(e)},He=function(e,t,n){var r,i,o={};for(i in t)o[i]=e.style[i],e.style[i]=t[i];for(i in r=n.call(e),t)e.style[i]=o[i];return r},Ze=new RegExp(oe.join("|"),"i");function qe(e,t,n){var r,i,o,a,s=e.style;return(n=n||ze(e))&&(""!==(a=n.getPropertyValue(t)||n[t])||se(e)||(a=S.style(e,t)),!m.pixelBoxStyles()&&Fe.test(a)&&Ze.test(t)&&(r=s.width,i=s.minWidth,o=s.maxWidth,s.minWidth=s.maxWidth=s.width=a,a=n.width,s.width=r,s.minWidth=i,s.maxWidth=o)),void 0!==a?a+"":a}function Ve(e,t){return{get:function(){if(!e())return(this.get=t).apply(this,arguments);delete this.get}}}!function(){function e(){if(l){c.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",l.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",ae.appendChild(c).appendChild(l);var e=r.getComputedStyle(l);n="1%"!==e.top,u=12===t(e.marginLeft),l.style.right="60%",a=36===t(e.right),i=36===t(e.width),l.style.position="absolute",o=12===t(l.offsetWidth/3),ae.removeChild(c),l=null}}function t(e){return Math.round(parseFloat(e))}var n,i,o,a,s,u,c=b.createElement("div"),l=b.createElement("div");l.style&&(l.style.backgroundClip="content-box",l.cloneNode(!0).style.backgroundClip="",m.clearCloneStyle="content-box"===l.style.backgroundClip,S.extend(m,{boxSizingReliable:function(){return e(),i},pixelBoxStyles:function(){return e(),a},pixelPosition:function(){return e(),n},reliableMarginLeft:function(){return e(),u},scrollboxSize:function(){return e(),o},reliableTrDimensions:function(){var e,t,n,i;return null==s&&(e=b.createElement("table"),t=b.createElement("tr"),n=b.createElement("div"),e.style.cssText="position:absolute;left:-11111px;border-collapse:separate",t.style.cssText="border:1px solid",t.style.height="1px",n.style.height="9px",n.style.display="block",ae.appendChild(e).appendChild(t).appendChild(n),i=r.getComputedStyle(t),s=parseInt(i.height,10)+parseInt(i.borderTopWidth,10)+parseInt(i.borderBottomWidth,10)===t.offsetHeight,ae.removeChild(e)),s}}))}();var We=["Webkit","Moz","ms"],Ge=b.createElement("div").style,$e={};function Ye(e){var t=S.cssProps[e]||$e[e];return t||(e in Ge?e:$e[e]=function(e){for(var t=e[0].toUpperCase()+e.slice(1),n=We.length;n--;)if((e=We[n]+t)in Ge)return e}(e)||e)}var Ke=/^(none|table(?!-c[ea]).+)/,Xe=/^--/,Qe={position:"absolute",visibility:"hidden",display:"block"},Je={letterSpacing:"0",fontWeight:"400"};function et(e,t,n){var r=ie.exec(t);return r?Math.max(0,r[2]-(n||0))+(r[3]||"px"):t}function tt(e,t,n,r,i,o){var a="width"===t?1:0,s=0,u=0;if(n===(r?"border":"content"))return 0;for(;a<4;a+=2)"margin"===n&&(u+=S.css(e,n+oe[a],!0,i)),r?("content"===n&&(u-=S.css(e,"padding"+oe[a],!0,i)),"margin"!==n&&(u-=S.css(e,"border"+oe[a]+"Width",!0,i))):(u+=S.css(e,"padding"+oe[a],!0,i),"padding"!==n?u+=S.css(e,"border"+oe[a]+"Width",!0,i):s+=S.css(e,"border"+oe[a]+"Width",!0,i));return!r&&o>=0&&(u+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-o-u-s-.5))||0),u}function nt(e,t,n){var r=ze(e),i=(!m.boxSizingReliable()||n)&&"border-box"===S.css(e,"boxSizing",!1,r),o=i,a=qe(e,t,r),s="offset"+t[0].toUpperCase()+t.slice(1);if(Fe.test(a)){if(!n)return a;a="auto"}return(!m.boxSizingReliable()&&i||!m.reliableTrDimensions()&&A(e,"tr")||"auto"===a||!parseFloat(a)&&"inline"===S.css(e,"display",!1,r))&&e.getClientRects().length&&(i="border-box"===S.css(e,"boxSizing",!1,r),(o=s in e)&&(a=e[s])),(a=parseFloat(a)||0)+tt(e,t,n||(i?"border":"content"),o,r,a)+"px"}function rt(e,t,n,r,i){return new rt.prototype.init(e,t,n,r,i)}S.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=qe(e,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{},style:function(e,t,n,r){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var i,o,a,s=Y(t),u=Xe.test(t),c=e.style;if(u||(t=Ye(s)),a=S.cssHooks[t]||S.cssHooks[s],void 0===n)return a&&"get"in a&&void 0!==(i=a.get(e,!1,r))?i:c[t];"string"===(o=typeof n)&&(i=ie.exec(n))&&i[1]&&(n=le(e,t,i),o="number"),null!=n&&n==n&&("number"!==o||u||(n+=i&&i[3]||(S.cssNumber[s]?"":"px")),m.clearCloneStyle||""!==n||0!==t.indexOf("background")||(c[t]="inherit"),a&&"set"in a&&void 0===(n=a.set(e,n,r))||(u?c.setProperty(t,n):c[t]=n))}},css:function(e,t,n,r){var i,o,a,s=Y(t);return Xe.test(t)||(t=Ye(s)),(a=S.cssHooks[t]||S.cssHooks[s])&&"get"in a&&(i=a.get(e,!0,n)),void 0===i&&(i=qe(e,t,r)),"normal"===i&&t in Je&&(i=Je[t]),""===n||n?(o=parseFloat(i),!0===n||isFinite(o)?o||0:i):i}}),S.each(["height","width"],(function(e,t){S.cssHooks[t]={get:function(e,n,r){if(n)return!Ke.test(S.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?nt(e,t,r):He(e,Qe,(function(){return nt(e,t,r)}))},set:function(e,n,r){var i,o=ze(e),a=!m.scrollboxSize()&&"absolute"===o.position,s=(a||r)&&"border-box"===S.css(e,"boxSizing",!1,o),u=r?tt(e,t,r,s,o):0;return s&&a&&(u-=Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-parseFloat(o[t])-tt(e,t,"border",!1,o)-.5)),u&&(i=ie.exec(n))&&"px"!==(i[3]||"px")&&(e.style[t]=n,n=S.css(e,t)),et(0,n,u)}}})),S.cssHooks.marginLeft=Ve(m.reliableMarginLeft,(function(e,t){if(t)return(parseFloat(qe(e,"marginLeft"))||e.getBoundingClientRect().left-He(e,{marginLeft:0},(function(){return e.getBoundingClientRect().left})))+"px"})),S.each({margin:"",padding:"",border:"Width"},(function(e,t){S.cssHooks[e+t]={expand:function(n){for(var r=0,i={},o="string"==typeof n?n.split(" "):[n];r<4;r++)i[e+oe[r]+t]=o[r]||o[r-2]||o[0];return i}},"margin"!==e&&(S.cssHooks[e+t].set=et)})),S.fn.extend({css:function(e,t){return V(this,(function(e,t,n){var r,i,o={},a=0;if(Array.isArray(t)){for(r=ze(e),i=t.length;a<i;a++)o[t[a]]=S.css(e,t[a],!1,r);return o}return void 0!==n?S.style(e,t,n):S.css(e,t)}),e,t,arguments.length>1)}}),S.Tween=rt,rt.prototype={constructor:rt,init:function(e,t,n,r,i,o){this.elem=e,this.prop=n,this.easing=i||S.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=o||(S.cssNumber[n]?"":"px")},cur:function(){var e=rt.propHooks[this.prop];return e&&e.get?e.get(this):rt.propHooks._default.get(this)},run:function(e){var t,n=rt.propHooks[this.prop];return this.options.duration?this.pos=t=S.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):rt.propHooks._default.set(this),this}},rt.prototype.init.prototype=rt.prototype,rt.propHooks={_default:{get:function(e){var t;return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(t=S.css(e.elem,e.prop,""))&&"auto"!==t?t:0},set:function(e){S.fx.step[e.prop]?S.fx.step[e.prop](e):1!==e.elem.nodeType||!S.cssHooks[e.prop]&&null==e.elem.style[Ye(e.prop)]?e.elem[e.prop]=e.now:S.style(e.elem,e.prop,e.now+e.unit)}}},rt.propHooks.scrollTop=rt.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},S.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},S.fx=rt.prototype.init,S.fx.step={};var it,ot,at=/^(?:toggle|show|hide)$/,st=/queueHooks$/;function ut(){ot&&(!1===b.hidden&&r.requestAnimationFrame?r.requestAnimationFrame(ut):r.setTimeout(ut,S.fx.interval),S.fx.tick())}function ct(){return r.setTimeout((function(){it=void 0})),it=Date.now()}function lt(e,t){var n,r=0,i={height:e};for(t=t?1:0;r<4;r+=2-t)i["margin"+(n=oe[r])]=i["padding"+n]=e;return t&&(i.opacity=i.width=e),i}function ft(e,t,n){for(var r,i=(dt.tweeners[t]||[]).concat(dt.tweeners["*"]),o=0,a=i.length;o<a;o++)if(r=i[o].call(n,t,e))return r}function dt(e,t,n){var r,i,o=0,a=dt.prefilters.length,s=S.Deferred().always((function(){delete u.elem})),u=function(){if(i)return!1;for(var t=it||ct(),n=Math.max(0,c.startTime+c.duration-t),r=1-(n/c.duration||0),o=0,a=c.tweens.length;o<a;o++)c.tweens[o].run(r);return s.notifyWith(e,[c,r,n]),r<1&&a?n:(a||s.notifyWith(e,[c,1,0]),s.resolveWith(e,[c]),!1)},c=s.promise({elem:e,props:S.extend({},t),opts:S.extend(!0,{specialEasing:{},easing:S.easing._default},n),originalProperties:t,originalOptions:n,startTime:it||ct(),duration:n.duration,tweens:[],createTween:function(t,n){var r=S.Tween(e,c.opts,t,n,c.opts.specialEasing[t]||c.opts.easing);return c.tweens.push(r),r},stop:function(t){var n=0,r=t?c.tweens.length:0;if(i)return this;for(i=!0;n<r;n++)c.tweens[n].run(1);return t?(s.notifyWith(e,[c,1,0]),s.resolveWith(e,[c,t])):s.rejectWith(e,[c,t]),this}}),l=c.props;for(!function(e,t){var n,r,i,o,a;for(n in e)if(i=t[r=Y(n)],o=e[n],Array.isArray(o)&&(i=o[1],o=e[n]=o[0]),n!==r&&(e[r]=o,delete e[n]),(a=S.cssHooks[r])&&"expand"in a)for(n in o=a.expand(o),delete e[r],o)n in e||(e[n]=o[n],t[n]=i);else t[r]=i}(l,c.opts.specialEasing);o<a;o++)if(r=dt.prefilters[o].call(c,e,l,c.opts))return y(r.stop)&&(S._queueHooks(c.elem,c.opts.queue).stop=r.stop.bind(r)),r;return S.map(l,ft,c),y(c.opts.start)&&c.opts.start.call(e,c),c.progress(c.opts.progress).done(c.opts.done,c.opts.complete).fail(c.opts.fail).always(c.opts.always),S.fx.timer(S.extend(u,{elem:e,anim:c,queue:c.opts.queue})),c}S.Animation=S.extend(dt,{tweeners:{"*":[function(e,t){var n=this.createTween(e,t);return le(n.elem,e,ie.exec(t),n),n}]},tweener:function(e,t){y(e)?(t=e,e=["*"]):e=e.match(B);for(var n,r=0,i=e.length;r<i;r++)n=e[r],dt.tweeners[n]=dt.tweeners[n]||[],dt.tweeners[n].unshift(t)},prefilters:[function(e,t,n){var r,i,o,a,s,u,c,l,f="width"in t||"height"in t,d=this,p={},h=e.style,g=e.nodeType&&ce(e),m=Q.get(e,"fxshow");for(r in n.queue||(null==(a=S._queueHooks(e,"fx")).unqueued&&(a.unqueued=0,s=a.empty.fire,a.empty.fire=function(){a.unqueued||s()}),a.unqueued++,d.always((function(){d.always((function(){a.unqueued--,S.queue(e,"fx").length||a.empty.fire()}))}))),t)if(i=t[r],at.test(i)){if(delete t[r],o=o||"toggle"===i,i===(g?"hide":"show")){if("show"!==i||!m||void 0===m[r])continue;g=!0}p[r]=m&&m[r]||S.style(e,r)}if((u=!S.isEmptyObject(t))||!S.isEmptyObject(p))for(r in f&&1===e.nodeType&&(n.overflow=[h.overflow,h.overflowX,h.overflowY],null==(c=m&&m.display)&&(c=Q.get(e,"display")),"none"===(l=S.css(e,"display"))&&(c?l=c:(pe([e],!0),c=e.style.display||c,l=S.css(e,"display"),pe([e]))),("inline"===l||"inline-block"===l&&null!=c)&&"none"===S.css(e,"float")&&(u||(d.done((function(){h.display=c})),null==c&&(l=h.display,c="none"===l?"":l)),h.display="inline-block")),n.overflow&&(h.overflow="hidden",d.always((function(){h.overflow=n.overflow[0],h.overflowX=n.overflow[1],h.overflowY=n.overflow[2]}))),u=!1,p)u||(m?"hidden"in m&&(g=m.hidden):m=Q.access(e,"fxshow",{display:c}),o&&(m.hidden=!g),g&&pe([e],!0),d.done((function(){for(r in g||pe([e]),Q.remove(e,"fxshow"),p)S.style(e,r,p[r])}))),u=ft(g?m[r]:0,r,d),r in m||(m[r]=u.start,g&&(u.end=u.start,u.start=0))}],prefilter:function(e,t){t?dt.prefilters.unshift(e):dt.prefilters.push(e)}}),S.speed=function(e,t,n){var r=e&&"object"==typeof e?S.extend({},e):{complete:n||!n&&t||y(e)&&e,duration:e,easing:n&&t||t&&!y(t)&&t};return S.fx.off?r.duration=0:"number"!=typeof r.duration&&(r.duration in S.fx.speeds?r.duration=S.fx.speeds[r.duration]:r.duration=S.fx.speeds._default),null!=r.queue&&!0!==r.queue||(r.queue="fx"),r.old=r.complete,r.complete=function(){y(r.old)&&r.old.call(this),r.queue&&S.dequeue(this,r.queue)},r},S.fn.extend({fadeTo:function(e,t,n,r){return this.filter(ce).css("opacity",0).show().end().animate({opacity:t},e,n,r)},animate:function(e,t,n,r){var i=S.isEmptyObject(e),o=S.speed(t,n,r),a=function(){var t=dt(this,S.extend({},e),o);(i||Q.get(this,"finish"))&&t.stop(!0)};return a.finish=a,i||!1===o.queue?this.each(a):this.queue(o.queue,a)},stop:function(e,t,n){var r=function(e){var t=e.stop;delete e.stop,t(n)};return"string"!=typeof e&&(n=t,t=e,e=void 0),t&&this.queue(e||"fx",[]),this.each((function(){var t=!0,i=null!=e&&e+"queueHooks",o=S.timers,a=Q.get(this);if(i)a[i]&&a[i].stop&&r(a[i]);else for(i in a)a[i]&&a[i].stop&&st.test(i)&&r(a[i]);for(i=o.length;i--;)o[i].elem!==this||null!=e&&o[i].queue!==e||(o[i].anim.stop(n),t=!1,o.splice(i,1));!t&&n||S.dequeue(this,e)}))},finish:function(e){return!1!==e&&(e=e||"fx"),this.each((function(){var t,n=Q.get(this),r=n[e+"queue"],i=n[e+"queueHooks"],o=S.timers,a=r?r.length:0;for(n.finish=!0,S.queue(this,e,[]),i&&i.stop&&i.stop.call(this,!0),t=o.length;t--;)o[t].elem===this&&o[t].queue===e&&(o[t].anim.stop(!0),o.splice(t,1));for(t=0;t<a;t++)r[t]&&r[t].finish&&r[t].finish.call(this);delete n.finish}))}}),S.each(["toggle","show","hide"],(function(e,t){var n=S.fn[t];S.fn[t]=function(e,r,i){return null==e||"boolean"==typeof e?n.apply(this,arguments):this.animate(lt(t,!0),e,r,i)}})),S.each({slideDown:lt("show"),slideUp:lt("hide"),slideToggle:lt("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},(function(e,t){S.fn[e]=function(e,n,r){return this.animate(t,e,n,r)}})),S.timers=[],S.fx.tick=function(){var e,t=0,n=S.timers;for(it=Date.now();t<n.length;t++)(e=n[t])()||n[t]!==e||n.splice(t--,1);n.length||S.fx.stop(),it=void 0},S.fx.timer=function(e){S.timers.push(e),S.fx.start()},S.fx.interval=13,S.fx.start=function(){ot||(ot=!0,ut())},S.fx.stop=function(){ot=null},S.fx.speeds={slow:600,fast:200,_default:400},S.fn.delay=function(e,t){return e=S.fx&&S.fx.speeds[e]||e,t=t||"fx",this.queue(t,(function(t,n){var i=r.setTimeout(t,e);n.stop=function(){r.clearTimeout(i)}}))},function(){var e=b.createElement("input"),t=b.createElement("select").appendChild(b.createElement("option"));e.type="checkbox",m.checkOn=""!==e.value,m.optSelected=t.selected,(e=b.createElement("input")).value="t",e.type="radio",m.radioValue="t"===e.value}();var pt,ht=S.expr.attrHandle;S.fn.extend({attr:function(e,t){return V(this,S.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each((function(){S.removeAttr(this,e)}))}}),S.extend({attr:function(e,t,n){var r,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return void 0===e.getAttribute?S.prop(e,t,n):(1===o&&S.isXMLDoc(e)||(i=S.attrHooks[t.toLowerCase()]||(S.expr.match.bool.test(t)?pt:void 0)),void 0!==n?null===n?void S.removeAttr(e,t):i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:(e.setAttribute(t,n+""),n):i&&"get"in i&&null!==(r=i.get(e,t))?r:null==(r=S.find.attr(e,t))?void 0:r)},attrHooks:{type:{set:function(e,t){if(!m.radioValue&&"radio"===t&&A(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,r=0,i=t&&t.match(B);if(i&&1===e.nodeType)for(;n=i[r++];)e.removeAttribute(n)}}),pt={set:function(e,t,n){return!1===t?S.removeAttr(e,n):e.setAttribute(n,n),n}},S.each(S.expr.match.bool.source.match(/\w+/g),(function(e,t){var n=ht[t]||S.find.attr;ht[t]=function(e,t,r){var i,o,a=t.toLowerCase();return r||(o=ht[a],ht[a]=i,i=null!=n(e,t,r)?a:null,ht[a]=o),i}}));var gt=/^(?:input|select|textarea|button)$/i,mt=/^(?:a|area)$/i;function yt(e){return(e.match(B)||[]).join(" ")}function vt(e){return e.getAttribute&&e.getAttribute("class")||""}function bt(e){return Array.isArray(e)?e:"string"==typeof e&&e.match(B)||[]}S.fn.extend({prop:function(e,t){return V(this,S.prop,e,t,arguments.length>1)},removeProp:function(e){return this.each((function(){delete this[S.propFix[e]||e]}))}}),S.extend({prop:function(e,t,n){var r,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return 1===o&&S.isXMLDoc(e)||(t=S.propFix[t]||t,i=S.propHooks[t]),void 0!==n?i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:e[t]=n:i&&"get"in i&&null!==(r=i.get(e,t))?r:e[t]},propHooks:{tabIndex:{get:function(e){var t=S.find.attr(e,"tabindex");return t?parseInt(t,10):gt.test(e.nodeName)||mt.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),m.optSelected||(S.propHooks.selected={get:function(e){var t=e.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null},set:function(e){var t=e.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}}),S.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],(function(){S.propFix[this.toLowerCase()]=this})),S.fn.extend({addClass:function(e){var t,n,r,i,o,a,s,u=0;if(y(e))return this.each((function(t){S(this).addClass(e.call(this,t,vt(this)))}));if((t=bt(e)).length)for(;n=this[u++];)if(i=vt(n),r=1===n.nodeType&&" "+yt(i)+" "){for(a=0;o=t[a++];)r.indexOf(" "+o+" ")<0&&(r+=o+" ");i!==(s=yt(r))&&n.setAttribute("class",s)}return this},removeClass:function(e){var t,n,r,i,o,a,s,u=0;if(y(e))return this.each((function(t){S(this).removeClass(e.call(this,t,vt(this)))}));if(!arguments.length)return this.attr("class","");if((t=bt(e)).length)for(;n=this[u++];)if(i=vt(n),r=1===n.nodeType&&" "+yt(i)+" "){for(a=0;o=t[a++];)for(;r.indexOf(" "+o+" ")>-1;)r=r.replace(" "+o+" "," ");i!==(s=yt(r))&&n.setAttribute("class",s)}return this},toggleClass:function(e,t){var n=typeof e,r="string"===n||Array.isArray(e);return"boolean"==typeof t&&r?t?this.addClass(e):this.removeClass(e):y(e)?this.each((function(n){S(this).toggleClass(e.call(this,n,vt(this),t),t)})):this.each((function(){var t,i,o,a;if(r)for(i=0,o=S(this),a=bt(e);t=a[i++];)o.hasClass(t)?o.removeClass(t):o.addClass(t);else void 0!==e&&"boolean"!==n||((t=vt(this))&&Q.set(this,"__className__",t),this.setAttribute&&this.setAttribute("class",t||!1===e?"":Q.get(this,"__className__")||""))}))},hasClass:function(e){var t,n,r=0;for(t=" "+e+" ";n=this[r++];)if(1===n.nodeType&&(" "+yt(vt(n))+" ").indexOf(t)>-1)return!0;return!1}});var _t=/\r/g;S.fn.extend({val:function(e){var t,n,r,i=this[0];return arguments.length?(r=y(e),this.each((function(n){var i;1===this.nodeType&&(null==(i=r?e.call(this,n,S(this).val()):e)?i="":"number"==typeof i?i+="":Array.isArray(i)&&(i=S.map(i,(function(e){return null==e?"":e+""}))),(t=S.valHooks[this.type]||S.valHooks[this.nodeName.toLowerCase()])&&"set"in t&&void 0!==t.set(this,i,"value")||(this.value=i))}))):i?(t=S.valHooks[i.type]||S.valHooks[i.nodeName.toLowerCase()])&&"get"in t&&void 0!==(n=t.get(i,"value"))?n:"string"==typeof(n=i.value)?n.replace(_t,""):null==n?"":n:void 0}}),S.extend({valHooks:{option:{get:function(e){var t=S.find.attr(e,"value");return null!=t?t:yt(S.text(e))}},select:{get:function(e){var t,n,r,i=e.options,o=e.selectedIndex,a="select-one"===e.type,s=a?null:[],u=a?o+1:i.length;for(r=o<0?u:a?o:0;r<u;r++)if(((n=i[r]).selected||r===o)&&!n.disabled&&(!n.parentNode.disabled||!A(n.parentNode,"optgroup"))){if(t=S(n).val(),a)return t;s.push(t)}return s},set:function(e,t){for(var n,r,i=e.options,o=S.makeArray(t),a=i.length;a--;)((r=i[a]).selected=S.inArray(S.valHooks.option.get(r),o)>-1)&&(n=!0);return n||(e.selectedIndex=-1),o}}}}),S.each(["radio","checkbox"],(function(){S.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=S.inArray(S(e).val(),t)>-1}},m.checkOn||(S.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})})),m.focusin="onfocusin"in r;var wt=/^(?:focusinfocus|focusoutblur)$/,Tt=function(e){e.stopPropagation()};S.extend(S.event,{trigger:function(e,t,n,i){var o,a,s,u,c,l,f,d,h=[n||b],g=p.call(e,"type")?e.type:e,m=p.call(e,"namespace")?e.namespace.split("."):[];if(a=d=s=n=n||b,3!==n.nodeType&&8!==n.nodeType&&!wt.test(g+S.event.triggered)&&(g.indexOf(".")>-1&&(m=g.split("."),g=m.shift(),m.sort()),c=g.indexOf(":")<0&&"on"+g,(e=e[S.expando]?e:new S.Event(g,"object"==typeof e&&e)).isTrigger=i?2:3,e.namespace=m.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+m.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=n),t=null==t?[e]:S.makeArray(t,[e]),f=S.event.special[g]||{},i||!f.trigger||!1!==f.trigger.apply(n,t))){if(!i&&!f.noBubble&&!v(n)){for(u=f.delegateType||g,wt.test(u+g)||(a=a.parentNode);a;a=a.parentNode)h.push(a),s=a;s===(n.ownerDocument||b)&&h.push(s.defaultView||s.parentWindow||r)}for(o=0;(a=h[o++])&&!e.isPropagationStopped();)d=a,e.type=o>1?u:f.bindType||g,(l=(Q.get(a,"events")||Object.create(null))[e.type]&&Q.get(a,"handle"))&&l.apply(a,t),(l=c&&a[c])&&l.apply&&K(a)&&(e.result=l.apply(a,t),!1===e.result&&e.preventDefault());return e.type=g,i||e.isDefaultPrevented()||f._default&&!1!==f._default.apply(h.pop(),t)||!K(n)||c&&y(n[g])&&!v(n)&&((s=n[c])&&(n[c]=null),S.event.triggered=g,e.isPropagationStopped()&&d.addEventListener(g,Tt),n[g](),e.isPropagationStopped()&&d.removeEventListener(g,Tt),S.event.triggered=void 0,s&&(n[c]=s)),e.result}},simulate:function(e,t,n){var r=S.extend(new S.Event,n,{type:e,isSimulated:!0});S.event.trigger(r,null,t)}}),S.fn.extend({trigger:function(e,t){return this.each((function(){S.event.trigger(e,t,this)}))},triggerHandler:function(e,t){var n=this[0];if(n)return S.event.trigger(e,t,n,!0)}}),m.focusin||S.each({focus:"focusin",blur:"focusout"},(function(e,t){var n=function(e){S.event.simulate(t,e.target,S.event.fix(e))};S.event.special[t]={setup:function(){var r=this.ownerDocument||this.document||this,i=Q.access(r,t);i||r.addEventListener(e,n,!0),Q.access(r,t,(i||0)+1)},teardown:function(){var r=this.ownerDocument||this.document||this,i=Q.access(r,t)-1;i?Q.access(r,t,i):(r.removeEventListener(e,n,!0),Q.remove(r,t))}}}));var xt=r.location,St={guid:Date.now()},kt=/\?/;S.parseXML=function(e){var t,n;if(!e||"string"!=typeof e)return null;try{t=(new r.DOMParser).parseFromString(e,"text/xml")}catch(e){}return n=t&&t.getElementsByTagName("parsererror")[0],t&&!n||S.error("Invalid XML: "+(n?S.map(n.childNodes,(function(e){return e.textContent})).join("\n"):e)),t};var Et=/\[\]$/,Ot=/\r?\n/g,Ct=/^(?:submit|button|image|reset|file)$/i,Lt=/^(?:input|select|textarea|keygen)/i;function At(e,t,n,r){var i;if(Array.isArray(t))S.each(t,(function(t,i){n||Et.test(e)?r(e,i):At(e+"["+("object"==typeof i&&null!=i?t:"")+"]",i,n,r)}));else if(n||"object"!==T(t))r(e,t);else for(i in t)At(e+"["+i+"]",t[i],n,r)}S.param=function(e,t){var n,r=[],i=function(e,t){var n=y(t)?t():t;r[r.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==n?"":n)};if(null==e)return"";if(Array.isArray(e)||e.jquery&&!S.isPlainObject(e))S.each(e,(function(){i(this.name,this.value)}));else for(n in e)At(n,e[n],t,i);return r.join("&")},S.fn.extend({serialize:function(){return S.param(this.serializeArray())},serializeArray:function(){return this.map((function(){var e=S.prop(this,"elements");return e?S.makeArray(e):this})).filter((function(){var e=this.type;return this.name&&!S(this).is(":disabled")&&Lt.test(this.nodeName)&&!Ct.test(e)&&(this.checked||!me.test(e))})).map((function(e,t){var n=S(this).val();return null==n?null:Array.isArray(n)?S.map(n,(function(e){return{name:t.name,value:e.replace(Ot,"\r\n")}})):{name:t.name,value:n.replace(Ot,"\r\n")}})).get()}});var It=/%20/g,Pt=/#.*$/,Mt=/([?&])_=[^&]*/,Rt=/^(.*?):[ \t]*([^\r\n]*)$/gm,jt=/^(?:GET|HEAD)$/,Dt=/^\/\//,Nt={},Bt={},Ut="*/".concat("*"),Ft=b.createElement("a");function zt(e){return function(t,n){"string"!=typeof t&&(n=t,t="*");var r,i=0,o=t.toLowerCase().match(B)||[];if(y(n))for(;r=o[i++];)"+"===r[0]?(r=r.slice(1)||"*",(e[r]=e[r]||[]).unshift(n)):(e[r]=e[r]||[]).push(n)}}function Ht(e,t,n,r){var i={},o=e===Bt;function a(s){var u;return i[s]=!0,S.each(e[s]||[],(function(e,s){var c=s(t,n,r);return"string"!=typeof c||o||i[c]?o?!(u=c):void 0:(t.dataTypes.unshift(c),a(c),!1)})),u}return a(t.dataTypes[0])||!i["*"]&&a("*")}function Zt(e,t){var n,r,i=S.ajaxSettings.flatOptions||{};for(n in t)void 0!==t[n]&&((i[n]?e:r||(r={}))[n]=t[n]);return r&&S.extend(!0,e,r),e}Ft.href=xt.href,S.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:xt.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(xt.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Ut,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":S.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?Zt(Zt(e,S.ajaxSettings),t):Zt(S.ajaxSettings,e)},ajaxPrefilter:zt(Nt),ajaxTransport:zt(Bt),ajax:function(e,t){"object"==typeof e&&(t=e,e=void 0),t=t||{};var n,i,o,a,s,u,c,l,f,d,p=S.ajaxSetup({},t),h=p.context||p,g=p.context&&(h.nodeType||h.jquery)?S(h):S.event,m=S.Deferred(),y=S.Callbacks("once memory"),v=p.statusCode||{},_={},w={},T="canceled",x={readyState:0,getResponseHeader:function(e){var t;if(c){if(!a)for(a={};t=Rt.exec(o);)a[t[1].toLowerCase()+" "]=(a[t[1].toLowerCase()+" "]||[]).concat(t[2]);t=a[e.toLowerCase()+" "]}return null==t?null:t.join(", ")},getAllResponseHeaders:function(){return c?o:null},setRequestHeader:function(e,t){return null==c&&(e=w[e.toLowerCase()]=w[e.toLowerCase()]||e,_[e]=t),this},overrideMimeType:function(e){return null==c&&(p.mimeType=e),this},statusCode:function(e){var t;if(e)if(c)x.always(e[x.status]);else for(t in e)v[t]=[v[t],e[t]];return this},abort:function(e){var t=e||T;return n&&n.abort(t),k(0,t),this}};if(m.promise(x),p.url=((e||p.url||xt.href)+"").replace(Dt,xt.protocol+"//"),p.type=t.method||t.type||p.method||p.type,p.dataTypes=(p.dataType||"*").toLowerCase().match(B)||[""],null==p.crossDomain){u=b.createElement("a");try{u.href=p.url,u.href=u.href,p.crossDomain=Ft.protocol+"//"+Ft.host!=u.protocol+"//"+u.host}catch(e){p.crossDomain=!0}}if(p.data&&p.processData&&"string"!=typeof p.data&&(p.data=S.param(p.data,p.traditional)),Ht(Nt,p,t,x),c)return x;for(f in(l=S.event&&p.global)&&0==S.active++&&S.event.trigger("ajaxStart"),p.type=p.type.toUpperCase(),p.hasContent=!jt.test(p.type),i=p.url.replace(Pt,""),p.hasContent?p.data&&p.processData&&0===(p.contentType||"").indexOf("application/x-www-form-urlencoded")&&(p.data=p.data.replace(It,"+")):(d=p.url.slice(i.length),p.data&&(p.processData||"string"==typeof p.data)&&(i+=(kt.test(i)?"&":"?")+p.data,delete p.data),!1===p.cache&&(i=i.replace(Mt,"$1"),d=(kt.test(i)?"&":"?")+"_="+St.guid+++d),p.url=i+d),p.ifModified&&(S.lastModified[i]&&x.setRequestHeader("If-Modified-Since",S.lastModified[i]),S.etag[i]&&x.setRequestHeader("If-None-Match",S.etag[i])),(p.data&&p.hasContent&&!1!==p.contentType||t.contentType)&&x.setRequestHeader("Content-Type",p.contentType),x.setRequestHeader("Accept",p.dataTypes[0]&&p.accepts[p.dataTypes[0]]?p.accepts[p.dataTypes[0]]+("*"!==p.dataTypes[0]?", "+Ut+"; q=0.01":""):p.accepts["*"]),p.headers)x.setRequestHeader(f,p.headers[f]);if(p.beforeSend&&(!1===p.beforeSend.call(h,x,p)||c))return x.abort();if(T="abort",y.add(p.complete),x.done(p.success),x.fail(p.error),n=Ht(Bt,p,t,x)){if(x.readyState=1,l&&g.trigger("ajaxSend",[x,p]),c)return x;p.async&&p.timeout>0&&(s=r.setTimeout((function(){x.abort("timeout")}),p.timeout));try{c=!1,n.send(_,k)}catch(e){if(c)throw e;k(-1,e)}}else k(-1,"No Transport");function k(e,t,a,u){var f,d,b,_,w,T=t;c||(c=!0,s&&r.clearTimeout(s),n=void 0,o=u||"",x.readyState=e>0?4:0,f=e>=200&&e<300||304===e,a&&(_=function(e,t,n){for(var r,i,o,a,s=e.contents,u=e.dataTypes;"*"===u[0];)u.shift(),void 0===r&&(r=e.mimeType||t.getResponseHeader("Content-Type"));if(r)for(i in s)if(s[i]&&s[i].test(r)){u.unshift(i);break}if(u[0]in n)o=u[0];else{for(i in n){if(!u[0]||e.converters[i+" "+u[0]]){o=i;break}a||(a=i)}o=o||a}if(o)return o!==u[0]&&u.unshift(o),n[o]}(p,x,a)),!f&&S.inArray("script",p.dataTypes)>-1&&S.inArray("json",p.dataTypes)<0&&(p.converters["text script"]=function(){}),_=function(e,t,n,r){var i,o,a,s,u,c={},l=e.dataTypes.slice();if(l[1])for(a in e.converters)c[a.toLowerCase()]=e.converters[a];for(o=l.shift();o;)if(e.responseFields[o]&&(n[e.responseFields[o]]=t),!u&&r&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),u=o,o=l.shift())if("*"===o)o=u;else if("*"!==u&&u!==o){if(!(a=c[u+" "+o]||c["* "+o]))for(i in c)if((s=i.split(" "))[1]===o&&(a=c[u+" "+s[0]]||c["* "+s[0]])){!0===a?a=c[i]:!0!==c[i]&&(o=s[0],l.unshift(s[1]));break}if(!0!==a)if(a&&e.throws)t=a(t);else try{t=a(t)}catch(e){return{state:"parsererror",error:a?e:"No conversion from "+u+" to "+o}}}return{state:"success",data:t}}(p,_,x,f),f?(p.ifModified&&((w=x.getResponseHeader("Last-Modified"))&&(S.lastModified[i]=w),(w=x.getResponseHeader("etag"))&&(S.etag[i]=w)),204===e||"HEAD"===p.type?T="nocontent":304===e?T="notmodified":(T=_.state,d=_.data,f=!(b=_.error))):(b=T,!e&&T||(T="error",e<0&&(e=0))),x.status=e,x.statusText=(t||T)+"",f?m.resolveWith(h,[d,T,x]):m.rejectWith(h,[x,T,b]),x.statusCode(v),v=void 0,l&&g.trigger(f?"ajaxSuccess":"ajaxError",[x,p,f?d:b]),y.fireWith(h,[x,T]),l&&(g.trigger("ajaxComplete",[x,p]),--S.active||S.event.trigger("ajaxStop")))}return x},getJSON:function(e,t,n){return S.get(e,t,n,"json")},getScript:function(e,t){return S.get(e,void 0,t,"script")}}),S.each(["get","post"],(function(e,t){S[t]=function(e,n,r,i){return y(n)&&(i=i||r,r=n,n=void 0),S.ajax(S.extend({url:e,type:t,dataType:i,data:n,success:r},S.isPlainObject(e)&&e))}})),S.ajaxPrefilter((function(e){var t;for(t in e.headers)"content-type"===t.toLowerCase()&&(e.contentType=e.headers[t]||"")})),S._evalUrl=function(e,t,n){return S.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(e){S.globalEval(e,t,n)}})},S.fn.extend({wrapAll:function(e){var t;return this[0]&&(y(e)&&(e=e.call(this[0])),t=S(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map((function(){for(var e=this;e.firstElementChild;)e=e.firstElementChild;return e})).append(this)),this},wrapInner:function(e){return y(e)?this.each((function(t){S(this).wrapInner(e.call(this,t))})):this.each((function(){var t=S(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)}))},wrap:function(e){var t=y(e);return this.each((function(n){S(this).wrapAll(t?e.call(this,n):e)}))},unwrap:function(e){return this.parent(e).not("body").each((function(){S(this).replaceWith(this.childNodes)})),this}}),S.expr.pseudos.hidden=function(e){return!S.expr.pseudos.visible(e)},S.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},S.ajaxSettings.xhr=function(){try{return new r.XMLHttpRequest}catch(e){}};var qt={0:200,1223:204},Vt=S.ajaxSettings.xhr();m.cors=!!Vt&&"withCredentials"in Vt,m.ajax=Vt=!!Vt,S.ajaxTransport((function(e){var t,n;if(m.cors||Vt&&!e.crossDomain)return{send:function(i,o){var a,s=e.xhr();if(s.open(e.type,e.url,e.async,e.username,e.password),e.xhrFields)for(a in e.xhrFields)s[a]=e.xhrFields[a];for(a in e.mimeType&&s.overrideMimeType&&s.overrideMimeType(e.mimeType),e.crossDomain||i["X-Requested-With"]||(i["X-Requested-With"]="XMLHttpRequest"),i)s.setRequestHeader(a,i[a]);t=function(e){return function(){t&&(t=n=s.onload=s.onerror=s.onabort=s.ontimeout=s.onreadystatechange=null,"abort"===e?s.abort():"error"===e?"number"!=typeof s.status?o(0,"error"):o(s.status,s.statusText):o(qt[s.status]||s.status,s.statusText,"text"!==(s.responseType||"text")||"string"!=typeof s.responseText?{binary:s.response}:{text:s.responseText},s.getAllResponseHeaders()))}},s.onload=t(),n=s.onerror=s.ontimeout=t("error"),void 0!==s.onabort?s.onabort=n:s.onreadystatechange=function(){4===s.readyState&&r.setTimeout((function(){t&&n()}))},t=t("abort");try{s.send(e.hasContent&&e.data||null)}catch(e){if(t)throw e}},abort:function(){t&&t()}}})),S.ajaxPrefilter((function(e){e.crossDomain&&(e.contents.script=!1)})),S.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return S.globalEval(e),e}}}),S.ajaxPrefilter("script",(function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")})),S.ajaxTransport("script",(function(e){var t,n;if(e.crossDomain||e.scriptAttrs)return{send:function(r,i){t=S("<script>").attr(e.scriptAttrs||{}).prop({charset:e.scriptCharset,src:e.url}).on("load error",n=function(e){t.remove(),n=null,e&&i("error"===e.type?404:200,e.type)}),b.head.appendChild(t[0])},abort:function(){n&&n()}}}));var Wt,Gt=[],$t=/(=)\?(?=&|$)|\?\?/;S.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Gt.pop()||S.expando+"_"+St.guid++;return this[e]=!0,e}}),S.ajaxPrefilter("json jsonp",(function(e,t,n){var i,o,a,s=!1!==e.jsonp&&($t.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&$t.test(e.data)&&"data");if(s||"jsonp"===e.dataTypes[0])return i=e.jsonpCallback=y(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,s?e[s]=e[s].replace($t,"$1"+i):!1!==e.jsonp&&(e.url+=(kt.test(e.url)?"&":"?")+e.jsonp+"="+i),e.converters["script json"]=function(){return a||S.error(i+" was not called"),a[0]},e.dataTypes[0]="json",o=r[i],r[i]=function(){a=arguments},n.always((function(){void 0===o?S(r).removeProp(i):r[i]=o,e[i]&&(e.jsonpCallback=t.jsonpCallback,Gt.push(i)),a&&y(o)&&o(a[0]),a=o=void 0})),"script"})),m.createHTMLDocument=((Wt=b.implementation.createHTMLDocument("").body).innerHTML="<form></form><form></form>",2===Wt.childNodes.length),S.parseHTML=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(m.createHTMLDocument?((r=(t=b.implementation.createHTMLDocument("")).createElement("base")).href=b.location.href,t.head.appendChild(r)):t=b),o=!n&&[],(i=I.exec(e))?[t.createElement(i[1])]:(i=xe([e],t,o),o&&o.length&&S(o).remove(),S.merge([],i.childNodes)));var r,i,o},S.fn.load=function(e,t,n){var r,i,o,a=this,s=e.indexOf(" ");return s>-1&&(r=yt(e.slice(s)),e=e.slice(0,s)),y(t)?(n=t,t=void 0):t&&"object"==typeof t&&(i="POST"),a.length>0&&S.ajax({url:e,type:i||"GET",dataType:"html",data:t}).done((function(e){o=arguments,a.html(r?S("<div>").append(S.parseHTML(e)).find(r):e)})).always(n&&function(e,t){a.each((function(){n.apply(this,o||[e.responseText,t,e])}))}),this},S.expr.pseudos.animated=function(e){return S.grep(S.timers,(function(t){return e===t.elem})).length},S.offset={setOffset:function(e,t,n){var r,i,o,a,s,u,c=S.css(e,"position"),l=S(e),f={};"static"===c&&(e.style.position="relative"),s=l.offset(),o=S.css(e,"top"),u=S.css(e,"left"),("absolute"===c||"fixed"===c)&&(o+u).indexOf("auto")>-1?(a=(r=l.position()).top,i=r.left):(a=parseFloat(o)||0,i=parseFloat(u)||0),y(t)&&(t=t.call(e,n,S.extend({},s))),null!=t.top&&(f.top=t.top-s.top+a),null!=t.left&&(f.left=t.left-s.left+i),"using"in t?t.using.call(e,f):l.css(f)}},S.fn.extend({offset:function(e){if(arguments.length)return void 0===e?this:this.each((function(t){S.offset.setOffset(this,e,t)}));var t,n,r=this[0];return r?r.getClientRects().length?(t=r.getBoundingClientRect(),n=r.ownerDocument.defaultView,{top:t.top+n.pageYOffset,left:t.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n,r=this[0],i={top:0,left:0};if("fixed"===S.css(r,"position"))t=r.getBoundingClientRect();else{for(t=this.offset(),n=r.ownerDocument,e=r.offsetParent||n.documentElement;e&&(e===n.body||e===n.documentElement)&&"static"===S.css(e,"position");)e=e.parentNode;e&&e!==r&&1===e.nodeType&&((i=S(e).offset()).top+=S.css(e,"borderTopWidth",!0),i.left+=S.css(e,"borderLeftWidth",!0))}return{top:t.top-i.top-S.css(r,"marginTop",!0),left:t.left-i.left-S.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map((function(){for(var e=this.offsetParent;e&&"static"===S.css(e,"position");)e=e.offsetParent;return e||ae}))}}),S.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},(function(e,t){var n="pageYOffset"===t;S.fn[e]=function(r){return V(this,(function(e,r,i){var o;if(v(e)?o=e:9===e.nodeType&&(o=e.defaultView),void 0===i)return o?o[t]:e[r];o?o.scrollTo(n?o.pageXOffset:i,n?i:o.pageYOffset):e[r]=i}),e,r,arguments.length)}})),S.each(["top","left"],(function(e,t){S.cssHooks[t]=Ve(m.pixelPosition,(function(e,n){if(n)return n=qe(e,t),Fe.test(n)?S(e).position()[t]+"px":n}))})),S.each({Height:"height",Width:"width"},(function(e,t){S.each({padding:"inner"+e,content:t,"":"outer"+e},(function(n,r){S.fn[r]=function(i,o){var a=arguments.length&&(n||"boolean"!=typeof i),s=n||(!0===i||!0===o?"margin":"border");return V(this,(function(t,n,i){var o;return v(t)?0===r.indexOf("outer")?t["inner"+e]:t.document.documentElement["client"+e]:9===t.nodeType?(o=t.documentElement,Math.max(t.body["scroll"+e],o["scroll"+e],t.body["offset"+e],o["offset"+e],o["client"+e])):void 0===i?S.css(t,n,s):S.style(t,n,i,s)}),t,a?i:void 0,a)}}))})),S.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],(function(e,t){S.fn[t]=function(e){return this.on(t,e)}})),S.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)},hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),S.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),(function(e,t){S.fn[t]=function(e,n){return arguments.length>0?this.on(t,null,e,n):this.trigger(t)}}));var Yt=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;S.proxy=function(e,t){var n,r,i;if("string"==typeof t&&(n=e[t],t=e,e=n),y(e))return r=s.call(arguments,2),i=function(){return e.apply(t||this,r.concat(s.call(arguments)))},i.guid=e.guid=e.guid||S.guid++,i},S.holdReady=function(e){e?S.readyWait++:S.ready(!0)},S.isArray=Array.isArray,S.parseJSON=JSON.parse,S.nodeName=A,S.isFunction=y,S.isWindow=v,S.camelCase=Y,S.type=T,S.now=Date.now,S.isNumeric=function(e){var t=S.type(e);return("number"===t||"string"===t)&&!isNaN(e-parseFloat(e))},S.trim=function(e){return null==e?"":(e+"").replace(Yt,"")},void 0===(n=function(){return S}.apply(t,[]))||(e.exports=n);var Kt=r.jQuery,Xt=r.$;return S.noConflict=function(e){return r.$===S&&(r.$=Xt),e&&r.jQuery===S&&(r.jQuery=Kt),S},void 0===i&&(r.jQuery=r.$=S),S}))},19575:function(e,t,n){var r;!function(n,i){e.exports=function(n){"use strict";var i,o=(n=n||{}).Base64,a="2.6.4",s="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",u=function(e){for(var t={},n=0,r=e.length;n<r;n++)t[e.charAt(n)]=n;return t}(s),c=String.fromCharCode,l=function(e){if(e.length<2)return(t=e.charCodeAt(0))<128?e:t<2048?c(192|t>>>6)+c(128|63&t):c(224|t>>>12&15)+c(128|t>>>6&63)+c(128|63&t);var t=65536+1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320);return c(240|t>>>18&7)+c(128|t>>>12&63)+c(128|t>>>6&63)+c(128|63&t)},f=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,d=function(e){return e.replace(f,l)},p=function(e){var t=[0,2,1][e.length%3],n=e.charCodeAt(0)<<16|(e.length>1?e.charCodeAt(1):0)<<8|(e.length>2?e.charCodeAt(2):0);return[s.charAt(n>>>18),s.charAt(n>>>12&63),t>=2?"=":s.charAt(n>>>6&63),t>=1?"=":s.charAt(63&n)].join("")},h=n.btoa&&"function"==typeof n.btoa?function(e){return n.btoa(e)}:function(e){if(e.match(/[^\x00-\xFF]/))throw new RangeError("The string contains invalid characters.");return e.replace(/[\s\S]{1,3}/g,p)},g=function(e){return h(d(String(e)))},m=function(e){return e.replace(/[+\/]/g,(function(e){return"+"==e?"-":"_"})).replace(/=/g,"")},y=function(e,t){return t?m(g(e)):g(e)},v=function(e){return y(e,!0)};n.Uint8Array&&(i=function(e,t){for(var n="",r=0,i=e.length;r<i;r+=3){var o=e[r],a=e[r+1],u=e[r+2],c=o<<16|a<<8|u;n+=s.charAt(c>>>18)+s.charAt(c>>>12&63)+(void 0!==a?s.charAt(c>>>6&63):"=")+(void 0!==u?s.charAt(63&c):"=")}return t?m(n):n});var b,_=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,w=function(e){switch(e.length){case 4:var t=((7&e.charCodeAt(0))<<18|(63&e.charCodeAt(1))<<12|(63&e.charCodeAt(2))<<6|63&e.charCodeAt(3))-65536;return c(55296+(t>>>10))+c(56320+(1023&t));case 3:return c((15&e.charCodeAt(0))<<12|(63&e.charCodeAt(1))<<6|63&e.charCodeAt(2));default:return c((31&e.charCodeAt(0))<<6|63&e.charCodeAt(1))}},T=function(e){return e.replace(_,w)},x=function(e){var t=e.length,n=t%4,r=(t>0?u[e.charAt(0)]<<18:0)|(t>1?u[e.charAt(1)]<<12:0)|(t>2?u[e.charAt(2)]<<6:0)|(t>3?u[e.charAt(3)]:0),i=[c(r>>>16),c(r>>>8&255),c(255&r)];return i.length-=[0,0,2,1][n],i.join("")},S=n.atob&&"function"==typeof n.atob?function(e){return n.atob(e)}:function(e){return e.replace(/\S{1,4}/g,x)},k=function(e){return S(String(e).replace(/[^A-Za-z0-9\+\/]/g,""))},E=function(e){return T(S(e))},O=function(e){return String(e).replace(/[-_]/g,(function(e){return"-"==e?"+":"/"})).replace(/[^A-Za-z0-9\+\/]/g,"")},C=function(e){return E(O(e))};n.Uint8Array&&(b=function(e){return Uint8Array.from(k(O(e)),(function(e){return e.charCodeAt(0)}))});var L=function(){var e=n.Base64;return n.Base64=o,e};if(n.Base64={VERSION:a,atob:k,btoa:h,fromBase64:C,toBase64:y,utob:d,encode:y,encodeURI:v,btou:T,decode:C,noConflict:L,fromUint8Array:i,toUint8Array:b},"function"==typeof Object.defineProperty){var A=function(e){return{value:e,enumerable:!1,writable:!0,configurable:!0}};n.Base64.extendString=function(){Object.defineProperty(String.prototype,"fromBase64",A((function(){return C(this)}))),Object.defineProperty(String.prototype,"toBase64",A((function(e){return y(this,e)}))),Object.defineProperty(String.prototype,"toBase64URI",A((function(){return y(this,!0)})))}}n.Meteor&&(Base64=n.Base64);e.exports?e.exports.Base64=n.Base64:void 0===(r=function(){return n.Base64}.apply(t,[]))||(e.exports=r);return{Base64:n.Base64}}(n)}("undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==n.g?n.g:this)},65605:function(e,t,n){var r;!function(){"use strict";var t="object"==typeof window?window:{};!t.JS_HTMLENCODE_NO_NODE_JS&&"object"==typeof process&&process.versions&&process.versions.node&&(t=n.g);var i=!t.JS_HTMLENCODE_NO_COMMON_JS&&e.exports,o=n.amdO,a={"&nbsp;":" ","&iexcl;":"¡","&cent;":"¢","&pound;":"£","&curren;":"¤","&yen;":"¥","&brvbar;":"¦","&sect;":"§","&uml;":"¨","&copy;":"©","&ordf;":"ª","&laquo;":"«","&not;":"¬","&shy;":"­","&reg;":"®","&macr;":"¯","&deg;":"°","&plusmn;":"±","&sup2;":"²","&sup3;":"³","&acute;":"´","&micro;":"µ","&para;":"¶","&middot;":"·","&cedil;":"¸","&sup1;":"¹","&ordm;":"º","&raquo;":"»","&frac14;":"¼","&frac12;":"½","&frac34;":"¾","&iquest;":"¿","&Agrave;":"À","&Aacute;":"Á","&Acirc;":"Â","&Atilde;":"Ã","&Auml;":"Ä","&Aring;":"Å","&AElig;":"Æ","&Ccedil;":"Ç","&Egrave;":"È","&Eacute;":"É","&Ecirc;":"Ê","&Euml;":"Ë","&Igrave;":"Ì","&Iacute;":"Í","&Icirc;":"Î","&Iuml;":"Ï","&ETH;":"Ð","&Ntilde;":"Ñ","&Ograve;":"Ò","&Oacute;":"Ó","&Ocirc;":"Ô","&Otilde;":"Õ","&Ouml;":"Ö","&times;":"×","&Oslash;":"Ø","&Ugrave;":"Ù","&Uacute;":"Ú","&Ucirc;":"Û","&Uuml;":"Ü","&Yacute;":"Ý","&THORN;":"Þ","&szlig;":"ß","&agrave;":"à","&aacute;":"á","&acirc;":"â","&atilde;":"ã","&auml;":"ä","&aring;":"å","&aelig;":"æ","&ccedil;":"ç","&egrave;":"è","&eacute;":"é","&ecirc;":"ê","&euml;":"ë","&igrave;":"ì","&iacute;":"í","&icirc;":"î","&iuml;":"ï","&eth;":"ð","&ntilde;":"ñ","&ograve;":"ò","&oacute;":"ó","&ocirc;":"ô","&otilde;":"õ","&ouml;":"ö","&divide;":"÷","&oslash;":"ø","&ugrave;":"ù","&uacute;":"ú","&ucirc;":"û","&uuml;":"ü","&yacute;":"ý","&thorn;":"þ","&yuml;":"ÿ","&quot;":'"',"&amp;":"&","&lt;":"<","&gt;":">","&apos;":"'","&OElig;":"Œ","&oelig;":"œ","&Scaron;":"Š","&scaron;":"š","&Yuml;":"Ÿ","&circ;":"ˆ","&tilde;":"˜","&ensp;":" ","&emsp;":" ","&thinsp;":" ","&zwnj;":"‌","&zwj;":"‍","&lrm;":"‎","&rlm;":"‏","&ndash;":"–","&mdash;":"—","&lsquo;":"‘","&rsquo;":"’","&sbquo;":"‚","&ldquo;":"“","&rdquo;":"”","&bdquo;":"„","&dagger;":"†","&Dagger;":"‡","&permil;":"‰","&lsaquo;":"‹","&rsaquo;":"›","&euro;":"€","&fnof;":"ƒ","&Alpha;":"Α","&Beta;":"Β","&Gamma;":"Γ","&Delta;":"Δ","&Epsilon;":"Ε","&Zeta;":"Ζ","&Eta;":"Η","&Theta;":"Θ","&Iota;":"Ι","&Kappa;":"Κ","&Lambda;":"Λ","&Mu;":"Μ","&Nu;":"Ν","&Xi;":"Ξ","&Omicron;":"Ο","&Pi;":"Π","&Rho;":"Ρ","&Sigma;":"Σ","&Tau;":"Τ","&Upsilon;":"Υ","&Phi;":"Φ","&Chi;":"Χ","&Psi;":"Ψ","&Omega;":"Ω","&alpha;":"α","&beta;":"β","&gamma;":"γ","&delta;":"δ","&epsilon;":"ε","&zeta;":"ζ","&eta;":"η","&theta;":"θ","&iota;":"ι","&kappa;":"κ","&lambda;":"λ","&mu;":"μ","&nu;":"ν","&xi;":"ξ","&omicron;":"ο","&pi;":"π","&rho;":"ρ","&sigmaf;":"ς","&sigma;":"σ","&tau;":"τ","&upsilon;":"υ","&phi;":"φ","&chi;":"χ","&psi;":"ψ","&omega;":"ω","&thetasym;":"ϑ","&upsih;":"ϒ","&piv;":"ϖ","&bull;":"•","&hellip;":"…","&prime;":"′","&Prime;":"″","&oline;":"‾","&frasl;":"⁄","&weierp;":"℘","&image;":"ℑ","&real;":"ℜ","&trade;":"™","&alefsym;":"ℵ","&larr;":"←","&uarr;":"↑","&rarr;":"→","&darr;":"↓","&harr;":"↔","&crarr;":"↵","&lArr;":"⇐","&uArr;":"⇑","&rArr;":"⇒","&dArr;":"⇓","&hArr;":"⇔","&forall;":"∀","&part;":"∂","&exist;":"∃","&empty;":"∅","&nabla;":"∇","&isin;":"∈","&notin;":"∉","&ni;":"∋","&prod;":"∏","&sum;":"∑","&minus;":"−","&lowast;":"∗","&radic;":"√","&prop;":"∝","&infin;":"∞","&ang;":"∠","&and;":"∧","&or;":"∨","&cap;":"∩","&cup;":"∪","&int;":"∫","&there4;":"∴","&sim;":"∼","&cong;":"≅","&asymp;":"≈","&ne;":"≠","&equiv;":"≡","&le;":"≤","&ge;":"≥","&sub;":"⊂","&sup;":"⊃","&nsub;":"⊄","&sube;":"⊆","&supe;":"⊇","&oplus;":"⊕","&otimes;":"⊗","&perp;":"⊥","&sdot;":"⋅","&lceil;":"⌈","&rceil;":"⌉","&lfloor;":"⌊","&rfloor;":"⌋","&lang;":"〈","&rang;":"〉","&loz;":"◊","&spades;":"♠","&clubs;":"♣","&hearts;":"♥","&diams;":"♦"},s=function(e){if("#"!==e.charAt(1))return a[e]||e;var t,n=e.charAt(2);return"x"===n||"X"===n?(n=e.substring(3,e.length-1),t=parseInt(n,16)):(n=e.substring(2,e.length-1),t=parseInt(n)),isNaN(t)?e:String.fromCharCode(t)},u=function(e){return e.replace(/&/g,"&amp;").replace(/"/g,"&quot;").replace(/'/g,"&#39;").replace(/</g,"&lt;").replace(/>/g,"&gt;")},c=function(e){return e.replace(/&#?\w+;/g,s)},l=u;u.htmlEncode=u,u.htmlDecode=c,i?e.exports=l:(t.htmlEncode=u,t.htmlDecode=c,o&&(void 0===(r=function(){return l}.call(l,n,l,e))||(e.exports=r)))}()},80973:function(e,t,n){var r=n(71169),i=function(e){var t="",n=Object.keys(e);return n.forEach((function(i,o){var a=e[i];(function(e){return/[height|width]$/.test(e)})(i=r(i))&&"number"==typeof a&&(a+="px"),t+=!0===a?i:!1===a?"not "+i:"("+i+": "+a+")",o<n.length-1&&(t+=" and ")})),t};e.exports=function(e){var t="";return"string"==typeof e?e:e instanceof Array?(e.forEach((function(n,r){t+=i(n),r<e.length-1&&(t+=", ")})),t):i(e)}},71168:function(e){function t(e){this.message=e}t.prototype=new Error,t.prototype.name="InvalidCharacterError",e.exports="undefined"!=typeof window&&window.atob&&window.atob.bind(window)||function(e){var n=String(e).replace(/=+$/,"");if(n.length%4==1)throw new t("'atob' failed: The string to be decoded is not correctly encoded.");for(var r,i,o=0,a=0,s="";i=n.charAt(a++);~i&&(r=o%4?64*r+i:i,o++%4)?s+=String.fromCharCode(255&r>>(-2*o&6)):0)i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf(i);return s}},84491:function(e,t,n){var r=n(71168);e.exports=function(e){var t=e.replace(/-/g,"+").replace(/_/g,"/");switch(t.length%4){case 0:break;case 2:t+="==";break;case 3:t+="=";break;default:throw"Illegal base64url string!"}try{return function(e){return decodeURIComponent(r(e).replace(/(.)/g,(function(e,t){var n=t.charCodeAt(0).toString(16).toUpperCase();return n.length<2&&(n="0"+n),"%"+n})))}(t)}catch(e){return r(t)}}},46489:function(e,t,n){"use strict";var r=n(84491);function i(e){this.message=e}i.prototype=new Error,i.prototype.name="InvalidTokenError",e.exports=function(e,t){if("string"!=typeof e)throw new i("Invalid token specified");var n=!0===(t=t||{}).header?0:1;try{return JSON.parse(r(e.split(".")[n]))}catch(e){throw new i("Invalid token specified: "+e.message)}},e.exports.InvalidTokenError=i},54366:function(e,t,n){e.exports=n(18518)},18518:function(e,t){t.KEY_TAB=9,t.KEY_RETURN=13,t.KEY_ESCAPE=27,t.KEY_SPACE=32,t.KEY_END=35,t.KEY_HOME=36,t.KEY_LEFT=37,t.KEY_UP=38,t.KEY_RIGHT=39,t.KEY_DOWN=40},27537:function(e,t){function n(e){if(e&&"object"==typeof e){var t=e.which||e.keyCode||e.charCode;t&&(e=t)}if("number"==typeof e)return a[e];var n,o=String(e);return(n=r[o.toLowerCase()])?n:(n=i[o.toLowerCase()])||(1===o.length?o.charCodeAt(0):void 0)}n.isEventKey=function(e,t){if(e&&"object"==typeof e){var n=e.which||e.keyCode||e.charCode;if(null==n)return!1;if("string"==typeof t){var o;if(o=r[t.toLowerCase()])return o===n;if(o=i[t.toLowerCase()])return o===n}else if("number"==typeof t)return t===n;return!1}};var r=(t=e.exports=n).code=t.codes={backspace:8,tab:9,enter:13,shift:16,ctrl:17,alt:18,"pause/break":19,"caps lock":20,esc:27,space:32,"page up":33,"page down":34,end:35,home:36,left:37,up:38,right:39,down:40,insert:45,delete:46,command:91,"left command":91,"right command":93,"numpad *":106,"numpad +":107,"numpad -":109,"numpad .":110,"numpad /":111,"num lock":144,"scroll lock":145,"my computer":182,"my calculator":183,";":186,"=":187,",":188,"-":189,".":190,"/":191,"`":192,"[":219,"\\":220,"]":221,"'":222},i=t.aliases={windows:91,"⇧":16,"⌥":18,"⌃":17,"⌘":91,ctl:17,control:17,option:18,pause:19,break:19,caps:20,return:13,escape:27,spc:32,spacebar:32,pgup:33,pgdn:34,ins:45,del:46,cmd:91};for(o=97;o<123;o++)r[String.fromCharCode(o)]=o-32;for(var o=48;o<58;o++)r[o-48]=o;for(o=1;o<13;o++)r["f"+o]=o+111;for(o=0;o<10;o++)r["numpad "+o]=o+96;var a=t.names=t.title={};for(o in r)a[r[o]]=o;for(var s in i)r[s]=i[s]},13192:function(e){"use strict";e.exports=function(e){var t,n={};if(!(e instanceof Object)||Array.isArray(e))throw new Error("keyMirror(...): Argument must be an object.");for(t in e)e.hasOwnProperty(t)&&(n[t]=t);return n}},30563:function(e){var t,n=function(e,n,r){for(var i=-1,o=Object(e),a=r(e),s=a.length;s--;){var u=a[t?s:++i];if(!1===n(o[u],u,o))break}return e};e.exports=n},31730:function(e){var t=9007199254740991,n="[object Arguments]",r="[object Function]",i="[object GeneratorFunction]",o=/^(?:0|[1-9]\d*)$/;function a(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}var s,u,c=Object.prototype,l=c.hasOwnProperty,f=c.toString,d=c.propertyIsEnumerable,p=(s=Object.keys,u=Object,function(e){return s(u(e))}),h=Math.max,g=!d.call({valueOf:1},"valueOf");function m(e,t){var r=w(e)||function(e){return function(e){return function(e){return!!e&&"object"==typeof e}(e)&&T(e)}(e)&&l.call(e,"callee")&&(!d.call(e,"callee")||f.call(e)==n)}(e)?function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}(e.length,String):[],i=r.length,o=!!i;for(var a in e)!t&&!l.call(e,a)||o&&("length"==a||v(a,i))||r.push(a);return r}function y(e,t,n){var r=e[t];l.call(e,t)&&_(r,n)&&(void 0!==n||t in e)||(e[t]=n)}function v(e,n){return!!(n=null==n?t:n)&&("number"==typeof e||o.test(e))&&e>-1&&e%1==0&&e<n}function b(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||c)}function _(e,t){return e===t||e!=e&&t!=t}var w=Array.isArray;function T(e){return null!=e&&function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=t}(e.length)&&!function(e){var t=x(e)?f.call(e):"";return t==r||t==i}(e)}function x(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}var S,k=(S=function(e,t){if(g||b(t)||T(t))!function(e,t,n,r){n||(n={});for(var i=-1,o=t.length;++i<o;){var a=t[i],s=r?r(n[a],e[a],a,n,e):void 0;y(n,a,void 0===s?e[a]:s)}}(t,function(e){return T(e)?m(e):function(e){if(!b(e))return p(e);var t=[];for(var n in Object(e))l.call(e,n)&&"constructor"!=n&&t.push(n);return t}(e)}(t),e);else for(var n in t)l.call(t,n)&&y(e,n,t[n])},function(e,t){return t=h(void 0===t?e.length-1:t,0),function(){for(var n=arguments,r=-1,i=h(n.length-t,0),o=Array(i);++r<i;)o[r]=n[t+r];r=-1;for(var s=Array(t+1);++r<t;)s[r]=n[r];return s[t]=o,a(e,this,s)}}((function(e,t){var n=-1,r=t.length,i=r>1?t[r-1]:void 0,o=r>2?t[2]:void 0;for(i=S.length>3&&"function"==typeof i?(r--,i):void 0,o&&function(e,t,n){if(!x(n))return!1;var r=typeof t;return!!("number"==r?T(n)&&v(t,n.length):"string"==r&&t in n)&&_(n[t],e)}(t[0],t[1],o)&&(i=r<3?void 0:i,r=1),e=Object(e);++n<r;){var a=t[n];a&&S(e,a,n,i)}return e})));e.exports=k},83465:function(e,t,n){e=n.nmd(e);var r="__lodash_hash_undefined__",i=9007199254740991,o="[object Arguments]",a="[object Boolean]",s="[object Date]",u="[object Function]",c="[object GeneratorFunction]",l="[object Map]",f="[object Number]",d="[object Object]",p="[object Promise]",h="[object RegExp]",g="[object Set]",m="[object String]",y="[object Symbol]",v="[object WeakMap]",b="[object ArrayBuffer]",_="[object DataView]",w="[object Float32Array]",T="[object Float64Array]",x="[object Int8Array]",S="[object Int16Array]",k="[object Int32Array]",E="[object Uint8Array]",O="[object Uint8ClampedArray]",C="[object Uint16Array]",L="[object Uint32Array]",A=/\w*$/,I=/^\[object .+?Constructor\]$/,P=/^(?:0|[1-9]\d*)$/,M={};M[o]=M["[object Array]"]=M[b]=M[_]=M[a]=M[s]=M[w]=M[T]=M[x]=M[S]=M[k]=M[l]=M[f]=M[d]=M[h]=M[g]=M[m]=M[y]=M[E]=M[O]=M[C]=M[L]=!0,M["[object Error]"]=M[u]=M[v]=!1;var R="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,j="object"==typeof self&&self&&self.Object===Object&&self,D=R||j||Function("return this")(),N=t&&!t.nodeType&&t,B=N&&e&&!e.nodeType&&e,U=B&&B.exports===N;function F(e,t){return e.set(t[0],t[1]),e}function z(e,t){return e.add(t),e}function H(e,t,n,r){var i=-1,o=e?e.length:0;for(r&&o&&(n=e[++i]);++i<o;)n=t(n,e[i],i,e);return n}function Z(e){var t=!1;if(null!=e&&"function"!=typeof e.toString)try{t=!!(e+"")}catch(e){}return t}function q(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}function V(e,t){return function(n){return e(t(n))}}function W(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}var G,$=Array.prototype,Y=Function.prototype,K=Object.prototype,X=D["__core-js_shared__"],Q=(G=/[^.]+$/.exec(X&&X.keys&&X.keys.IE_PROTO||""))?"Symbol(src)_1."+G:"",J=Y.toString,ee=K.hasOwnProperty,te=K.toString,ne=RegExp("^"+J.call(ee).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),re=U?D.Buffer:void 0,ie=D.Symbol,oe=D.Uint8Array,ae=V(Object.getPrototypeOf,Object),se=Object.create,ue=K.propertyIsEnumerable,ce=$.splice,le=Object.getOwnPropertySymbols,fe=re?re.isBuffer:void 0,de=V(Object.keys,Object),pe=Be(D,"DataView"),he=Be(D,"Map"),ge=Be(D,"Promise"),me=Be(D,"Set"),ye=Be(D,"WeakMap"),ve=Be(Object,"create"),be=Ze(pe),_e=Ze(he),we=Ze(ge),Te=Ze(me),xe=Ze(ye),Se=ie?ie.prototype:void 0,ke=Se?Se.valueOf:void 0;function Ee(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Oe(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Ce(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Le(e){this.__data__=new Oe(e)}function Ae(e,t){var n=Ve(e)||function(e){return function(e){return function(e){return!!e&&"object"==typeof e}(e)&&We(e)}(e)&&ee.call(e,"callee")&&(!ue.call(e,"callee")||te.call(e)==o)}(e)?function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}(e.length,String):[],r=n.length,i=!!r;for(var a in e)!t&&!ee.call(e,a)||i&&("length"==a||ze(a,r))||n.push(a);return n}function Ie(e,t,n){var r=e[t];ee.call(e,t)&&qe(r,n)&&(void 0!==n||t in e)||(e[t]=n)}function Pe(e,t){for(var n=e.length;n--;)if(qe(e[n][0],t))return n;return-1}function Me(e,t,n,r,i,p,v){var I;if(r&&(I=p?r(e,i,p,v):r(e)),void 0!==I)return I;if(!Ye(e))return e;var P=Ve(e);if(P){if(I=function(e){var t=e.length,n=e.constructor(t);t&&"string"==typeof e[0]&&ee.call(e,"index")&&(n.index=e.index,n.input=e.input);return n}(e),!t)return function(e,t){var n=-1,r=e.length;t||(t=Array(r));for(;++n<r;)t[n]=e[n];return t}(e,I)}else{var R=Fe(e),j=R==u||R==c;if(Ge(e))return function(e,t){if(t)return e.slice();var n=new e.constructor(e.length);return e.copy(n),n}(e,t);if(R==d||R==o||j&&!p){if(Z(e))return p?e:{};if(I=function(e){return"function"!=typeof e.constructor||He(e)?{}:(t=ae(e),Ye(t)?se(t):{});var t}(j?{}:e),!t)return function(e,t){return De(e,Ue(e),t)}(e,function(e,t){return e&&De(t,Ke(t),e)}(I,e))}else{if(!M[R])return p?e:{};I=function(e,t,n,r){var i=e.constructor;switch(t){case b:return je(e);case a:case s:return new i(+e);case _:return function(e,t){var n=t?je(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}(e,r);case w:case T:case x:case S:case k:case E:case O:case C:case L:return function(e,t){var n=t?je(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}(e,r);case l:return function(e,t,n){return H(t?n(q(e),!0):q(e),F,new e.constructor)}(e,r,n);case f:case m:return new i(e);case h:return function(e){var t=new e.constructor(e.source,A.exec(e));return t.lastIndex=e.lastIndex,t}(e);case g:return function(e,t,n){return H(t?n(W(e),!0):W(e),z,new e.constructor)}(e,r,n);case y:return o=e,ke?Object(ke.call(o)):{}}var o}(e,R,Me,t)}}v||(v=new Le);var D=v.get(e);if(D)return D;if(v.set(e,I),!P)var N=n?function(e){return function(e,t,n){var r=t(e);return Ve(e)?r:function(e,t){for(var n=-1,r=t.length,i=e.length;++n<r;)e[i+n]=t[n];return e}(r,n(e))}(e,Ke,Ue)}(e):Ke(e);return function(e,t){for(var n=-1,r=e?e.length:0;++n<r&&!1!==t(e[n],n,e););}(N||e,(function(i,o){N&&(i=e[o=i]),Ie(I,o,Me(i,t,n,r,o,e,v))})),I}function Re(e){return!(!Ye(e)||(t=e,Q&&Q in t))&&($e(e)||Z(e)?ne:I).test(Ze(e));var t}function je(e){var t=new e.constructor(e.byteLength);return new oe(t).set(new oe(e)),t}function De(e,t,n,r){n||(n={});for(var i=-1,o=t.length;++i<o;){var a=t[i],s=r?r(n[a],e[a],a,n,e):void 0;Ie(n,a,void 0===s?e[a]:s)}return n}function Ne(e,t){var n,r,i=e.__data__;return("string"==(r=typeof(n=t))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?i["string"==typeof t?"string":"hash"]:i.map}function Be(e,t){var n=function(e,t){return null==e?void 0:e[t]}(e,t);return Re(n)?n:void 0}Ee.prototype.clear=function(){this.__data__=ve?ve(null):{}},Ee.prototype.delete=function(e){return this.has(e)&&delete this.__data__[e]},Ee.prototype.get=function(e){var t=this.__data__;if(ve){var n=t[e];return n===r?void 0:n}return ee.call(t,e)?t[e]:void 0},Ee.prototype.has=function(e){var t=this.__data__;return ve?void 0!==t[e]:ee.call(t,e)},Ee.prototype.set=function(e,t){return this.__data__[e]=ve&&void 0===t?r:t,this},Oe.prototype.clear=function(){this.__data__=[]},Oe.prototype.delete=function(e){var t=this.__data__,n=Pe(t,e);return!(n<0)&&(n==t.length-1?t.pop():ce.call(t,n,1),!0)},Oe.prototype.get=function(e){var t=this.__data__,n=Pe(t,e);return n<0?void 0:t[n][1]},Oe.prototype.has=function(e){return Pe(this.__data__,e)>-1},Oe.prototype.set=function(e,t){var n=this.__data__,r=Pe(n,e);return r<0?n.push([e,t]):n[r][1]=t,this},Ce.prototype.clear=function(){this.__data__={hash:new Ee,map:new(he||Oe),string:new Ee}},Ce.prototype.delete=function(e){return Ne(this,e).delete(e)},Ce.prototype.get=function(e){return Ne(this,e).get(e)},Ce.prototype.has=function(e){return Ne(this,e).has(e)},Ce.prototype.set=function(e,t){return Ne(this,e).set(e,t),this},Le.prototype.clear=function(){this.__data__=new Oe},Le.prototype.delete=function(e){return this.__data__.delete(e)},Le.prototype.get=function(e){return this.__data__.get(e)},Le.prototype.has=function(e){return this.__data__.has(e)},Le.prototype.set=function(e,t){var n=this.__data__;if(n instanceof Oe){var r=n.__data__;if(!he||r.length<199)return r.push([e,t]),this;n=this.__data__=new Ce(r)}return n.set(e,t),this};var Ue=le?V(le,Object):function(){return[]},Fe=function(e){return te.call(e)};function ze(e,t){return!!(t=null==t?i:t)&&("number"==typeof e||P.test(e))&&e>-1&&e%1==0&&e<t}function He(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||K)}function Ze(e){if(null!=e){try{return J.call(e)}catch(e){}try{return e+""}catch(e){}}return""}function qe(e,t){return e===t||e!=e&&t!=t}(pe&&Fe(new pe(new ArrayBuffer(1)))!=_||he&&Fe(new he)!=l||ge&&Fe(ge.resolve())!=p||me&&Fe(new me)!=g||ye&&Fe(new ye)!=v)&&(Fe=function(e){var t=te.call(e),n=t==d?e.constructor:void 0,r=n?Ze(n):void 0;if(r)switch(r){case be:return _;case _e:return l;case we:return p;case Te:return g;case xe:return v}return t});var Ve=Array.isArray;function We(e){return null!=e&&function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=i}(e.length)&&!$e(e)}var Ge=fe||function(){return!1};function $e(e){var t=Ye(e)?te.call(e):"";return t==u||t==c}function Ye(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function Ke(e){return We(e)?Ae(e):function(e){if(!He(e))return de(e);var t=[];for(var n in Object(e))ee.call(e,n)&&"constructor"!=n&&t.push(n);return t}(e)}e.exports=function(e){return Me(e,!0,!0)}},91296:function(e,t,n){var r=/^\s+|\s+$/g,i=/^[-+]0x[0-9a-f]+$/i,o=/^0b[01]+$/i,a=/^0o[0-7]+$/i,s=parseInt,u="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,c="object"==typeof self&&self&&self.Object===Object&&self,l=u||c||Function("return this")(),f=Object.prototype.toString,d=Math.max,p=Math.min,h=function(){return l.Date.now()};function g(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function m(e){if("number"==typeof e)return e;if(function(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&"[object Symbol]"==f.call(e)}(e))return NaN;if(g(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=g(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(r,"");var n=o.test(e);return n||a.test(e)?s(e.slice(2),n?2:8):i.test(e)?NaN:+e}e.exports=function(e,t,n){var r,i,o,a,s,u,c=0,l=!1,f=!1,y=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function v(t){var n=r,o=i;return r=i=void 0,c=t,a=e.apply(o,n)}function b(e){return c=e,s=setTimeout(w,t),l?v(e):a}function _(e){var n=e-u;return void 0===u||n>=t||n<0||f&&e-c>=o}function w(){var e=h();if(_(e))return T(e);s=setTimeout(w,function(e){var n=t-(e-u);return f?p(n,o-(e-c)):n}(e))}function T(e){return s=void 0,y&&r?v(e):(r=i=void 0,a)}function x(){var e=h(),n=_(e);if(r=arguments,i=this,u=e,n){if(void 0===s)return b(u);if(f)return s=setTimeout(w,t),v(u)}return void 0===s&&(s=setTimeout(w,t)),a}return t=m(t)||0,g(n)&&(l=!!n.leading,o=(f="maxWait"in n)?d(m(n.maxWait)||0,t):o,y="trailing"in n?!!n.trailing:y),x.cancel=function(){void 0!==s&&clearTimeout(s),c=0,r=u=i=s=void 0},x.flush=function(){return void 0===s?a:T(h())},x}},91658:function(e,t,n){var r="[object Symbol]",i=/[\\^$.*+?()[\]{}|]/g,o=RegExp(i.source),a="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,s="object"==typeof self&&self&&self.Object===Object&&self,u=a||s||Function("return this")(),c=Object.prototype.toString,l=u.Symbol,f=l?l.prototype:void 0,d=f?f.toString:void 0;function p(e){if("string"==typeof e)return e;if(function(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&c.call(e)==r}(e))return d?d.call(e):"";var t=e+"";return"0"==t&&1/e==-Infinity?"-0":t}e.exports=function(e){var t;return(e=null==(t=e)?"":p(t))&&o.test(e)?e.replace(i,"\\$&"):e}},35757:function(e){var t=9007199254740991,n="[object Function]",r="[object GeneratorFunction]",i=Object.prototype,o=i.hasOwnProperty,a=i.toString,s=i.propertyIsEnumerable;e.exports=function(e){return function(e){return function(e){return!!e&&"object"==typeof e}(e)&&function(e){return null!=e&&function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=t}(e.length)&&!function(e){var t=function(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}(e)?a.call(e):"";return t==n||t==r}(e)}(e)}(e)&&o.call(e,"callee")&&(!s.call(e,"callee")||"[object Arguments]"==a.call(e))}},53778:function(e){var t="[object Function]",n=/^\[object .+?Constructor\]$/;function r(e){return!!e&&"object"==typeof e}var i,o,a,s=Object.prototype,u=Function.prototype.toString,c=s.hasOwnProperty,l=s.toString,f=RegExp("^"+u.call(c).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),d=(o="isArray",function(e){return null!=e&&(function(e){return function(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}(e)&&l.call(e)==t}(e)?f.test(u.call(e)):r(e)&&n.test(e))}(a=null==(i=Array)?void 0:i[o])?a:void 0);var p=d||function(e){return r(e)&&function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}(e.length)&&"[object Array]"==l.call(e)};e.exports=p},8146:function(e,t,n){var r=n(30563),i=n(35757),o=n(58720);var a=Object.prototype,s=a.hasOwnProperty,u=a.toString;e.exports=function(e){var t,n;return!(!function(e){return!!e&&"object"==typeof e}(e)||"[object Object]"!=u.call(e)||i(e)||!(s.call(e,"constructor")||"function"!=typeof(t=e.constructor)||t instanceof t))&&(r(e,(function(e,t){n=t}),o),void 0===n||s.call(e,n))}},58720:function(e,t,n){var r=n(35757),i=n(53778),o=/^\d+$/,a=Object.prototype.hasOwnProperty,s=9007199254740991;function u(e,t){return e="number"==typeof e||o.test(e)?+e:-1,t=null==t?s:t,e>-1&&e%1==0&&e<t}e.exports=function(e){if(null==e)return[];var t,n;n=typeof(t=e),(!t||"object"!=n&&"function"!=n)&&(e=Object(e));var o=e.length;o=o&&function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=s}(o)&&(i(e)||r(e))&&o||0;for(var c=e.constructor,l=-1,f="function"==typeof c&&c.prototype===e,d=Array(o),p=o>0;++l<o;)d[l]=l+"";for(var h in e)p&&u(h,o)||"constructor"==h&&(f||!a.call(e,h))||d.push(h);return d}},38554:function(e,t,n){e=n.nmd(e);var r="__lodash_hash_undefined__",i=9007199254740991,o="[object Arguments]",a="[object Function]",s="[object Object]",u=/^\[object .+?Constructor\]$/,c=/^(?:0|[1-9]\d*)$/,l={};l["[object Float32Array]"]=l["[object Float64Array]"]=l["[object Int8Array]"]=l["[object Int16Array]"]=l["[object Int32Array]"]=l["[object Uint8Array]"]=l["[object Uint8ClampedArray]"]=l["[object Uint16Array]"]=l["[object Uint32Array]"]=!0,l[o]=l["[object Array]"]=l["[object ArrayBuffer]"]=l["[object Boolean]"]=l["[object DataView]"]=l["[object Date]"]=l["[object Error]"]=l[a]=l["[object Map]"]=l["[object Number]"]=l[s]=l["[object RegExp]"]=l["[object Set]"]=l["[object String]"]=l["[object WeakMap]"]=!1;var f="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,d="object"==typeof self&&self&&self.Object===Object&&self,p=f||d||Function("return this")(),h=t&&!t.nodeType&&t,g=h&&e&&!e.nodeType&&e,m=g&&g.exports===h,y=m&&f.process,v=function(){try{var e=g&&g.require&&g.require("util").types;return e||y&&y.binding&&y.binding("util")}catch(e){}}(),b=v&&v.isTypedArray;function _(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}var w,T,x,S=Array.prototype,k=Function.prototype,E=Object.prototype,O=p["__core-js_shared__"],C=k.toString,L=E.hasOwnProperty,A=(w=/[^.]+$/.exec(O&&O.keys&&O.keys.IE_PROTO||""))?"Symbol(src)_1."+w:"",I=E.toString,P=C.call(Object),M=RegExp("^"+C.call(L).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),R=m?p.Buffer:void 0,j=p.Symbol,D=p.Uint8Array,N=R?R.allocUnsafe:void 0,B=(T=Object.getPrototypeOf,x=Object,function(e){return T(x(e))}),U=Object.create,F=E.propertyIsEnumerable,z=S.splice,H=j?j.toStringTag:void 0,Z=function(){try{var e=ge(Object,"defineProperty");return e({},"",{}),e}catch(e){}}(),q=R?R.isBuffer:void 0,V=Math.max,W=Date.now,G=ge(p,"Map"),$=ge(Object,"create"),Y=function(){function e(){}return function(t){if(!Oe(t))return{};if(U)return U(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();function K(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function X(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Q(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function J(e){var t=this.__data__=new X(e);this.size=t.size}function ee(e,t){var n=Te(e),r=!n&&we(e),i=!n&&!r&&Se(e),o=!n&&!r&&!i&&Le(e),a=n||r||i||o,s=a?function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}(e.length,String):[],u=s.length;for(var c in e)!t&&!L.call(e,c)||a&&("length"==c||i&&("offset"==c||"parent"==c)||o&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||me(c,u))||s.push(c);return s}function te(e,t,n){(void 0!==n&&!_e(e[t],n)||void 0===n&&!(t in e))&&ie(e,t,n)}function ne(e,t,n){var r=e[t];L.call(e,t)&&_e(r,n)&&(void 0!==n||t in e)||ie(e,t,n)}function re(e,t){for(var n=e.length;n--;)if(_e(e[n][0],t))return n;return-1}function ie(e,t,n){"__proto__"==t&&Z?Z(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}K.prototype.clear=function(){this.__data__=$?$(null):{},this.size=0},K.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},K.prototype.get=function(e){var t=this.__data__;if($){var n=t[e];return n===r?void 0:n}return L.call(t,e)?t[e]:void 0},K.prototype.has=function(e){var t=this.__data__;return $?void 0!==t[e]:L.call(t,e)},K.prototype.set=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=$&&void 0===t?r:t,this},X.prototype.clear=function(){this.__data__=[],this.size=0},X.prototype.delete=function(e){var t=this.__data__,n=re(t,e);return!(n<0)&&(n==t.length-1?t.pop():z.call(t,n,1),--this.size,!0)},X.prototype.get=function(e){var t=this.__data__,n=re(t,e);return n<0?void 0:t[n][1]},X.prototype.has=function(e){return re(this.__data__,e)>-1},X.prototype.set=function(e,t){var n=this.__data__,r=re(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this},Q.prototype.clear=function(){this.size=0,this.__data__={hash:new K,map:new(G||X),string:new K}},Q.prototype.delete=function(e){var t=he(this,e).delete(e);return this.size-=t?1:0,t},Q.prototype.get=function(e){return he(this,e).get(e)},Q.prototype.has=function(e){return he(this,e).has(e)},Q.prototype.set=function(e,t){var n=he(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this},J.prototype.clear=function(){this.__data__=new X,this.size=0},J.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},J.prototype.get=function(e){return this.__data__.get(e)},J.prototype.has=function(e){return this.__data__.has(e)},J.prototype.set=function(e,t){var n=this.__data__;if(n instanceof X){var r=n.__data__;if(!G||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new Q(r)}return n.set(e,t),this.size=n.size,this};var oe,ae=function(e,t,n){for(var r=-1,i=Object(e),o=n(e),a=o.length;a--;){var s=o[oe?a:++r];if(!1===t(i[s],s,i))break}return e};function se(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":H&&H in Object(e)?function(e){var t=L.call(e,H),n=e[H];try{e[H]=void 0;var r=!0}catch(e){}var i=I.call(e);r&&(t?e[H]=n:delete e[H]);return i}(e):function(e){return I.call(e)}(e)}function ue(e){return Ce(e)&&se(e)==o}function ce(e){return!(!Oe(e)||function(e){return!!A&&A in e}(e))&&(ke(e)?M:u).test(function(e){if(null!=e){try{return C.call(e)}catch(e){}try{return e+""}catch(e){}}return""}(e))}function le(e){if(!Oe(e))return function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}(e);var t=ye(e),n=[];for(var r in e)("constructor"!=r||!t&&L.call(e,r))&&n.push(r);return n}function fe(e,t,n,r,i){e!==t&&ae(t,(function(o,a){if(i||(i=new J),Oe(o))!function(e,t,n,r,i,o,a){var u=ve(e,n),c=ve(t,n),l=a.get(c);if(l)return void te(e,n,l);var f=o?o(u,c,n+"",e,t,a):void 0,d=void 0===f;if(d){var p=Te(c),h=!p&&Se(c),g=!p&&!h&&Le(c);f=c,p||h||g?Te(u)?f=u:Ce(_=u)&&xe(_)?f=function(e,t){var n=-1,r=e.length;t||(t=Array(r));for(;++n<r;)t[n]=e[n];return t}(u):h?(d=!1,f=function(e,t){if(t)return e.slice();var n=e.length,r=N?N(n):new e.constructor(n);return e.copy(r),r}(c,!0)):g?(d=!1,m=c,y=!0?(v=m.buffer,b=new v.constructor(v.byteLength),new D(b).set(new D(v)),b):m.buffer,f=new m.constructor(y,m.byteOffset,m.length)):f=[]:function(e){if(!Ce(e)||se(e)!=s)return!1;var t=B(e);if(null===t)return!0;var n=L.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&C.call(n)==P}(c)||we(c)?(f=u,we(u)?f=function(e){return function(e,t,n,r){var i=!n;n||(n={});var o=-1,a=t.length;for(;++o<a;){var s=t[o],u=r?r(n[s],e[s],s,n,e):void 0;void 0===u&&(u=e[s]),i?ie(n,s,u):ne(n,s,u)}return n}(e,Ae(e))}(u):Oe(u)&&!ke(u)||(f=function(e){return"function"!=typeof e.constructor||ye(e)?{}:Y(B(e))}(c))):d=!1}var m,y,v,b;var _;d&&(a.set(c,f),i(f,c,r,o,a),a.delete(c));te(e,n,f)}(e,t,a,n,fe,r,i);else{var u=r?r(ve(e,a),o,a+"",e,t,i):void 0;void 0===u&&(u=o),te(e,a,u)}}),Ae)}function de(e,t){return be(function(e,t,n){return t=V(void 0===t?e.length-1:t,0),function(){for(var r=arguments,i=-1,o=V(r.length-t,0),a=Array(o);++i<o;)a[i]=r[t+i];i=-1;for(var s=Array(t+1);++i<t;)s[i]=r[i];return s[t]=n(a),_(e,this,s)}}(e,t,Me),e+"")}var pe=Z?function(e,t){return Z(e,"toString",{configurable:!0,enumerable:!1,value:(n=t,function(){return n}),writable:!0});var n}:Me;function he(e,t){var n,r,i=e.__data__;return("string"==(r=typeof(n=t))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?i["string"==typeof t?"string":"hash"]:i.map}function ge(e,t){var n=function(e,t){return null==e?void 0:e[t]}(e,t);return ce(n)?n:void 0}function me(e,t){var n=typeof e;return!!(t=null==t?i:t)&&("number"==n||"symbol"!=n&&c.test(e))&&e>-1&&e%1==0&&e<t}function ye(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||E)}function ve(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}var be=function(e){var t=0,n=0;return function(){var r=W(),i=16-(r-n);if(n=r,i>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}(pe);function _e(e,t){return e===t||e!=e&&t!=t}var we=ue(function(){return arguments}())?ue:function(e){return Ce(e)&&L.call(e,"callee")&&!F.call(e,"callee")},Te=Array.isArray;function xe(e){return null!=e&&Ee(e.length)&&!ke(e)}var Se=q||function(){return!1};function ke(e){if(!Oe(e))return!1;var t=se(e);return t==a||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}function Ee(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=i}function Oe(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function Ce(e){return null!=e&&"object"==typeof e}var Le=b?function(e){return function(t){return e(t)}}(b):function(e){return Ce(e)&&Ee(e.length)&&!!l[se(e)]};function Ae(e){return xe(e)?ee(e,!0):le(e)}var Ie,Pe=(Ie=function(e,t,n,r){fe(e,t,n,r)},de((function(e,t){var n=-1,r=t.length,i=r>1?t[r-1]:void 0,o=r>2?t[2]:void 0;for(i=Ie.length>3&&"function"==typeof i?(r--,i):void 0,o&&function(e,t,n){if(!Oe(n))return!1;var r=typeof t;return!!("number"==r?xe(n)&&me(t,n.length):"string"==r&&t in n)&&_e(n[t],e)}(t[0],t[1],o)&&(i=r<3?void 0:i,r=1),e=Object(e);++n<r;){var a=t[n];a&&Ie(e,a,n,i)}return e})));function Me(e){return e}e.exports=Pe},51829:function(e){function t(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function n(e,t,n){if(t!=t)return function(e,t,n,r){for(var i=e.length,o=n+(r?1:-1);r?o--:++o<i;)if(t(e[o],o,e))return o;return-1}(e,i,n);for(var r=n-1,o=e.length;++r<o;)if(e[r]===t)return r;return-1}function r(e,t,n,r){for(var i=n-1,o=e.length;++i<o;)if(r(e[i],t))return i;return-1}function i(e){return e!=e}var o=Array.prototype.splice,a=Math.max;function s(e,t,i,a){var s,u=a?r:n,c=-1,l=t.length,f=e;for(e===t&&(t=function(e,t){var n=-1,r=e.length;t||(t=Array(r));for(;++n<r;)t[n]=e[n];return t}(t)),i&&(f=function(e,t){for(var n=-1,r=e?e.length:0,i=Array(r);++n<r;)i[n]=t(e[n],n,e);return i}(e,(s=i,function(e){return s(e)})));++c<l;)for(var d=0,p=t[c],h=i?i(p):p;(d=u(f,h,d,a))>-1;)f!==e&&o.call(f,d,1),o.call(e,d,1);return e}var u,c,l=(u=function(e,t){return e&&e.length&&t&&t.length?s(e,t):e},c=a(void 0===c?u.length-1:c,0),function(){for(var e=arguments,n=-1,r=a(e.length-c,0),i=Array(r);++n<r;)i[n]=e[c+n];n=-1;for(var o=Array(c+1);++n<c;)o[n]=e[n];return o[c]=i,t(u,this,o)});e.exports=l},93096:function(e,t,n){var r="Expected a function",i=/^\s+|\s+$/g,o=/^[-+]0x[0-9a-f]+$/i,a=/^0b[01]+$/i,s=/^0o[0-7]+$/i,u=parseInt,c="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,l="object"==typeof self&&self&&self.Object===Object&&self,f=c||l||Function("return this")(),d=Object.prototype.toString,p=Math.max,h=Math.min,g=function(){return f.Date.now()};function m(e,t,n){var i,o,a,s,u,c,l=0,f=!1,d=!1,m=!0;if("function"!=typeof e)throw new TypeError(r);function b(t){var n=i,r=o;return i=o=void 0,l=t,s=e.apply(r,n)}function _(e){return l=e,u=setTimeout(T,t),f?b(e):s}function w(e){var n=e-c;return void 0===c||n>=t||n<0||d&&e-l>=a}function T(){var e=g();if(w(e))return x(e);u=setTimeout(T,function(e){var n=t-(e-c);return d?h(n,a-(e-l)):n}(e))}function x(e){return u=void 0,m&&i?b(e):(i=o=void 0,s)}function S(){var e=g(),n=w(e);if(i=arguments,o=this,c=e,n){if(void 0===u)return _(c);if(d)return u=setTimeout(T,t),b(c)}return void 0===u&&(u=setTimeout(T,t)),s}return t=v(t)||0,y(n)&&(f=!!n.leading,a=(d="maxWait"in n)?p(v(n.maxWait)||0,t):a,m="trailing"in n?!!n.trailing:m),S.cancel=function(){void 0!==u&&clearTimeout(u),l=0,i=c=o=u=void 0},S.flush=function(){return void 0===u?s:x(g())},S}function y(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function v(e){if("number"==typeof e)return e;if(function(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&"[object Symbol]"==d.call(e)}(e))return NaN;if(y(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=y(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(i,"");var n=a.test(e);return n||s.test(e)?u(e.slice(2),n?2:8):o.test(e)?NaN:+e}e.exports=function(e,t,n){var i=!0,o=!0;if("function"!=typeof e)throw new TypeError(r);return y(n)&&(i="leading"in n?!!n.leading:i,o="trailing"in n?!!n.trailing:o),m(e,t,{leading:i,maxWait:t,trailing:o})}},18552:function(e,t,n){var r=n(10852)(n(55639),"DataView");e.exports=r},1989:function(e,t,n){var r=n(51789),i=n(80401),o=n(57667),a=n(21327),s=n(81866);function u(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}u.prototype.clear=r,u.prototype.delete=i,u.prototype.get=o,u.prototype.has=a,u.prototype.set=s,e.exports=u},38407:function(e,t,n){var r=n(27040),i=n(14125),o=n(82117),a=n(67518),s=n(13399);function u(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}u.prototype.clear=r,u.prototype.delete=i,u.prototype.get=o,u.prototype.has=a,u.prototype.set=s,e.exports=u},57071:function(e,t,n){var r=n(10852)(n(55639),"Map");e.exports=r},83369:function(e,t,n){var r=n(24785),i=n(11285),o=n(96e3),a=n(49916),s=n(95265);function u(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}u.prototype.clear=r,u.prototype.delete=i,u.prototype.get=o,u.prototype.has=a,u.prototype.set=s,e.exports=u},53818:function(e,t,n){var r=n(10852)(n(55639),"Promise");e.exports=r},58525:function(e,t,n){var r=n(10852)(n(55639),"Set");e.exports=r},88668:function(e,t,n){var r=n(83369),i=n(90619),o=n(72385);function a(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new r;++t<n;)this.add(e[t])}a.prototype.add=a.prototype.push=i,a.prototype.has=o,e.exports=a},46384:function(e,t,n){var r=n(38407),i=n(37465),o=n(63779),a=n(67599),s=n(44758),u=n(34309);function c(e){var t=this.__data__=new r(e);this.size=t.size}c.prototype.clear=i,c.prototype.delete=o,c.prototype.get=a,c.prototype.has=s,c.prototype.set=u,e.exports=c},62705:function(e,t,n){var r=n(55639).Symbol;e.exports=r},11149:function(e,t,n){var r=n(55639).Uint8Array;e.exports=r},70577:function(e,t,n){var r=n(10852)(n(55639),"WeakMap");e.exports=r},77412:function(e){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r&&!1!==t(e[n],n,e););return e}},34963:function(e){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length,i=0,o=[];++n<r;){var a=e[n];t(a,n,e)&&(o[i++]=a)}return o}},14636:function(e,t,n){var r=n(22545),i=n(35694),o=n(1469),a=n(44144),s=n(65776),u=n(36719),c=Object.prototype.hasOwnProperty;e.exports=function(e,t){var n=o(e),l=!n&&i(e),f=!n&&!l&&a(e),d=!n&&!l&&!f&&u(e),p=n||l||f||d,h=p?r(e.length,String):[],g=h.length;for(var m in e)!t&&!c.call(e,m)||p&&("length"==m||f&&("offset"==m||"parent"==m)||d&&("buffer"==m||"byteLength"==m||"byteOffset"==m)||s(m,g))||h.push(m);return h}},29932:function(e){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length,i=Array(r);++n<r;)i[n]=t(e[n],n,e);return i}},62488:function(e){e.exports=function(e,t){for(var n=-1,r=t.length,i=e.length;++n<r;)e[i+n]=t[n];return e}},62663:function(e){e.exports=function(e,t,n,r){var i=-1,o=null==e?0:e.length;for(r&&o&&(n=e[++i]);++i<o;)n=t(n,e[i],i,e);return n}},70151:function(e,t,n){var r=n(278),i=n(73480);e.exports=function(e){return i(r(e))}},82908:function(e){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}},48983:function(e,t,n){var r=n(40371)("length");e.exports=r},44286:function(e){e.exports=function(e){return e.split("")}},49029:function(e){var t=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;e.exports=function(e){return e.match(t)||[]}},34865:function(e,t,n){var r=n(89465),i=n(77813),o=Object.prototype.hasOwnProperty;e.exports=function(e,t,n){var a=e[t];o.call(e,t)&&i(a,n)&&(void 0!==n||t in e)||r(e,t,n)}},18470:function(e,t,n){var r=n(77813);e.exports=function(e,t){for(var n=e.length;n--;)if(r(e[n][0],t))return n;return-1}},44037:function(e,t,n){var r=n(98363),i=n(3674);e.exports=function(e,t){return e&&r(t,i(t),e)}},63886:function(e,t,n){var r=n(98363),i=n(81704);e.exports=function(e,t){return e&&r(t,i(t),e)}},89465:function(e,t,n){var r=n(38777);e.exports=function(e,t,n){"__proto__"==t&&r?r(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}},85990:function(e,t,n){var r=n(46384),i=n(77412),o=n(34865),a=n(44037),s=n(63886),u=n(64626),c=n(278),l=n(18805),f=n(1911),d=n(58234),p=n(46904),h=n(64160),g=n(43824),m=n(29148),y=n(38517),v=n(1469),b=n(44144),_=n(56688),w=n(13218),T=n(72928),x=n(3674),S="[object Arguments]",k="[object Function]",E="[object Object]",O={};O[S]=O["[object Array]"]=O["[object ArrayBuffer]"]=O["[object DataView]"]=O["[object Boolean]"]=O["[object Date]"]=O["[object Float32Array]"]=O["[object Float64Array]"]=O["[object Int8Array]"]=O["[object Int16Array]"]=O["[object Int32Array]"]=O["[object Map]"]=O["[object Number]"]=O[E]=O["[object RegExp]"]=O["[object Set]"]=O["[object String]"]=O["[object Symbol]"]=O["[object Uint8Array]"]=O["[object Uint8ClampedArray]"]=O["[object Uint16Array]"]=O["[object Uint32Array]"]=!0,O["[object Error]"]=O[k]=O["[object WeakMap]"]=!1,e.exports=function e(t,n,C,L,A,I){var P,M=1&n,R=2&n,j=4&n;if(C&&(P=A?C(t,L,A,I):C(t)),void 0!==P)return P;if(!w(t))return t;var D=v(t);if(D){if(P=g(t),!M)return c(t,P)}else{var N=h(t),B=N==k||"[object GeneratorFunction]"==N;if(b(t))return u(t,M);if(N==E||N==S||B&&!A){if(P=R||B?{}:y(t),!M)return R?f(t,s(P,t)):l(t,a(P,t))}else{if(!O[N])return A?t:{};P=m(t,N,M)}}I||(I=new r);var U=I.get(t);if(U)return U;I.set(t,P),T(t)?t.forEach((function(r){P.add(e(r,n,C,r,t,I))})):_(t)&&t.forEach((function(r,i){P.set(i,e(r,n,C,i,t,I))}));var F=j?R?p:d:R?keysIn:x,z=D?void 0:F(t);return i(z||t,(function(r,i){z&&(r=t[i=r]),o(P,i,e(r,n,C,i,t,I))})),P}},3118:function(e,t,n){var r=n(13218),i=Object.create,o=function(){function e(){}return function(t){if(!r(t))return{};if(i)return i(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();e.exports=o},41848:function(e){e.exports=function(e,t,n,r){for(var i=e.length,o=n+(r?1:-1);r?o--:++o<i;)if(t(e[o],o,e))return o;return-1}},97786:function(e,t,n){var r=n(71811),i=n(40327);e.exports=function(e,t){for(var n=0,o=(t=r(t,e)).length;null!=e&&n<o;)e=e[i(t[n++])];return n&&n==o?e:void 0}},68866:function(e,t,n){var r=n(62488),i=n(1469);e.exports=function(e,t,n){var o=t(e);return i(e)?o:r(o,n(e))}},44239:function(e,t,n){var r=n(62705),i=n(89607),o=n(2333),a=r?r.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":a&&a in Object(e)?i(e):o(e)}},13:function(e){e.exports=function(e,t){return null!=e&&t in Object(e)}},9454:function(e,t,n){var r=n(44239),i=n(37005);e.exports=function(e){return i(e)&&"[object Arguments]"==r(e)}},90939:function(e,t,n){var r=n(2492),i=n(37005);e.exports=function e(t,n,o,a,s){return t===n||(null==t||null==n||!i(t)&&!i(n)?t!=t&&n!=n:r(t,n,o,a,e,s))}},2492:function(e,t,n){var r=n(46384),i=n(67114),o=n(18351),a=n(16096),s=n(64160),u=n(1469),c=n(44144),l=n(36719),f="[object Arguments]",d="[object Array]",p="[object Object]",h=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,g,m,y){var v=u(e),b=u(t),_=v?d:s(e),w=b?d:s(t),T=(_=_==f?p:_)==p,x=(w=w==f?p:w)==p,S=_==w;if(S&&c(e)){if(!c(t))return!1;v=!0,T=!1}if(S&&!T)return y||(y=new r),v||l(e)?i(e,t,n,g,m,y):o(e,t,_,n,g,m,y);if(!(1&n)){var k=T&&h.call(e,"__wrapped__"),E=x&&h.call(t,"__wrapped__");if(k||E){var O=k?e.value():e,C=E?t.value():t;return y||(y=new r),m(O,C,n,g,y)}}return!!S&&(y||(y=new r),a(e,t,n,g,m,y))}},25588:function(e,t,n){var r=n(64160),i=n(37005);e.exports=function(e){return i(e)&&"[object Map]"==r(e)}},2958:function(e,t,n){var r=n(46384),i=n(90939);e.exports=function(e,t,n,o){var a=n.length,s=a,u=!o;if(null==e)return!s;for(e=Object(e);a--;){var c=n[a];if(u&&c[2]?c[1]!==e[c[0]]:!(c[0]in e))return!1}for(;++a<s;){var l=(c=n[a])[0],f=e[l],d=c[1];if(u&&c[2]){if(void 0===f&&!(l in e))return!1}else{var p=new r;if(o)var h=o(f,d,l,e,t,p);if(!(void 0===h?i(d,f,3,o,p):h))return!1}}return!0}},79190:function(e,t,n){var r=n(23560),i=n(15346),o=n(13218),a=n(80346),s=/^\[object .+?Constructor\]$/,u=Function.prototype,c=Object.prototype,l=u.toString,f=c.hasOwnProperty,d=RegExp("^"+l.call(f).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!o(e)||i(e))&&(r(e)?d:s).test(a(e))}},23933:function(e,t,n){var r=n(44239),i=n(37005);e.exports=function(e){return i(e)&&"[object RegExp]"==r(e)}},29221:function(e,t,n){var r=n(64160),i=n(37005);e.exports=function(e){return i(e)&&"[object Set]"==r(e)}},38749:function(e,t,n){var r=n(44239),i=n(41780),o=n(37005),a={};a["[object Float32Array]"]=a["[object Float64Array]"]=a["[object Int8Array]"]=a["[object Int16Array]"]=a["[object Int32Array]"]=a["[object Uint8Array]"]=a["[object Uint8ClampedArray]"]=a["[object Uint16Array]"]=a["[object Uint32Array]"]=!0,a["[object Arguments]"]=a["[object Array]"]=a["[object ArrayBuffer]"]=a["[object Boolean]"]=a["[object DataView]"]=a["[object Date]"]=a["[object Error]"]=a["[object Function]"]=a["[object Map]"]=a["[object Number]"]=a["[object Object]"]=a["[object RegExp]"]=a["[object Set]"]=a["[object String]"]=a["[object WeakMap]"]=!1,e.exports=function(e){return o(e)&&i(e.length)&&!!a[r(e)]}},67206:function(e,t,n){var r=n(91573),i=n(16432),o=n(6557),a=n(1469),s=n(39601);e.exports=function(e){return"function"==typeof e?e:null==e?o:"object"==typeof e?a(e)?i(e[0],e[1]):r(e):s(e)}},280:function(e,t,n){var r=n(25726),i=n(86916),o=Object.prototype.hasOwnProperty;e.exports=function(e){if(!r(e))return i(e);var t=[];for(var n in Object(e))o.call(e,n)&&"constructor"!=n&&t.push(n);return t}},10313:function(e,t,n){var r=n(13218),i=n(25726),o=n(33498),a=Object.prototype.hasOwnProperty;e.exports=function(e){if(!r(e))return o(e);var t=i(e),n=[];for(var s in e)("constructor"!=s||!t&&a.call(e,s))&&n.push(s);return n}},91573:function(e,t,n){var r=n(2958),i=n(1499),o=n(42634);e.exports=function(e){var t=i(e);return 1==t.length&&t[0][2]?o(t[0][0],t[0][1]):function(n){return n===e||r(n,e,t)}}},16432:function(e,t,n){var r=n(90939),i=n(27361),o=n(79095),a=n(15403),s=n(89162),u=n(42634),c=n(40327);e.exports=function(e,t){return a(e)&&s(t)?u(c(e),t):function(n){var a=i(n,e);return void 0===a&&a===t?o(n,e):r(t,a,3)}}},40371:function(e){e.exports=function(e){return function(t){return null==t?void 0:t[e]}}},79152:function(e,t,n){var r=n(97786);e.exports=function(e){return function(t){return r(t,e)}}},18674:function(e){e.exports=function(e){return function(t){return null==e?void 0:e[t]}}},69877:function(e){var t=Math.floor,n=Math.random;e.exports=function(e,r){return e+t(n()*(r-e+1))}},40098:function(e){var t=Math.ceil,n=Math.max;e.exports=function(e,r,i,o){for(var a=-1,s=n(t((r-e)/(i||1)),0),u=Array(s);s--;)u[o?s:++a]=e,e+=i;return u}},25127:function(e,t,n){var r=n(73480),i=n(52628);e.exports=function(e){return r(i(e))}},14259:function(e){e.exports=function(e,t,n){var r=-1,i=e.length;t<0&&(t=-t>i?0:i+t),(n=n>i?i:n)<0&&(n+=i),i=t>n?0:n-t>>>0,t>>>=0;for(var o=Array(i);++r<i;)o[r]=e[r+t];return o}},22545:function(e){e.exports=function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}},80531:function(e,t,n){var r=n(62705),i=n(29932),o=n(1469),a=n(33448),s=r?r.prototype:void 0,u=s?s.toString:void 0;e.exports=function e(t){if("string"==typeof t)return t;if(o(t))return i(t,e)+"";if(a(t))return u?u.call(t):"";var n=t+"";return"0"==n&&1/t==-Infinity?"-0":n}},7518:function(e){e.exports=function(e){return function(t){return e(t)}}},47415:function(e,t,n){var r=n(29932);e.exports=function(e,t){return r(t,(function(t){return e[t]}))}},74757:function(e){e.exports=function(e,t){return e.has(t)}},71811:function(e,t,n){var r=n(1469),i=n(15403),o=n(55514),a=n(79833);e.exports=function(e,t){return r(e)?e:i(e,t)?[e]:o(a(e))}},40180:function(e,t,n){var r=n(14259);e.exports=function(e,t,n){var i=e.length;return n=void 0===n?i:n,!t&&n>=i?e:r(e,t,n)}},74318:function(e,t,n){var r=n(11149);e.exports=function(e){var t=new e.constructor(e.byteLength);return new r(t).set(new r(e)),t}},64626:function(e,t,n){e=n.nmd(e);var r=n(55639),i=t&&!t.nodeType&&t,o=i&&e&&!e.nodeType&&e,a=o&&o.exports===i?r.Buffer:void 0,s=a?a.allocUnsafe:void 0;e.exports=function(e,t){if(t)return e.slice();var n=e.length,r=s?s(n):new e.constructor(n);return e.copy(r),r}},57157:function(e,t,n){var r=n(74318);e.exports=function(e,t){var n=t?r(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}},93147:function(e){var t=/\w*$/;e.exports=function(e){var n=new e.constructor(e.source,t.exec(e));return n.lastIndex=e.lastIndex,n}},40419:function(e,t,n){var r=n(62705),i=r?r.prototype:void 0,o=i?i.valueOf:void 0;e.exports=function(e){return o?Object(o.call(e)):{}}},77133:function(e,t,n){var r=n(74318);e.exports=function(e,t){var n=t?r(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}},278:function(e){e.exports=function(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t}},98363:function(e,t,n){var r=n(34865),i=n(89465);e.exports=function(e,t,n,o){var a=!n;n||(n={});for(var s=-1,u=t.length;++s<u;){var c=t[s],l=o?o(n[c],e[c],c,n,e):void 0;void 0===l&&(l=e[c]),a?i(n,c,l):r(n,c,l)}return n}},18805:function(e,t,n){var r=n(98363),i=n(99551);e.exports=function(e,t){return r(e,i(e),t)}},1911:function(e,t,n){var r=n(98363),i=n(51442);e.exports=function(e,t){return r(e,i(e),t)}},14429:function(e,t,n){var r=n(55639)["__core-js_shared__"];e.exports=r},98805:function(e,t,n){var r=n(40180),i=n(62689),o=n(52710),a=n(79833);e.exports=function(e){return function(t){t=a(t);var n=i(t)?o(t):void 0,s=n?n[0]:t.charAt(0),u=n?r(n,1).join(""):t.slice(1);return s[e]()+u}}},35393:function(e,t,n){var r=n(62663),i=n(53816),o=n(58748),a=RegExp("['’]","g");e.exports=function(e){return function(t){return r(o(i(t).replace(a,"")),e,"")}}},67740:function(e,t,n){var r=n(67206),i=n(98612),o=n(3674);e.exports=function(e){return function(t,n,a){var s=Object(t);if(!i(t)){var u=r(n,3);t=o(t),n=function(e){return u(s[e],e,s)}}var c=e(t,n,a);return c>-1?s[u?t[c]:c]:void 0}}},47445:function(e,t,n){var r=n(40098),i=n(16612),o=n(18601);e.exports=function(e){return function(t,n,a){return a&&"number"!=typeof a&&i(t,n,a)&&(n=a=void 0),t=o(t),void 0===n?(n=t,t=0):n=o(n),a=void 0===a?t<n?1:-1:o(a),r(t,n,a,e)}}},69389:function(e,t,n){var r=n(18674)({"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"});e.exports=r},38777:function(e,t,n){var r=n(10852),i=function(){try{var e=r(Object,"defineProperty");return e({},"",{}),e}catch(e){}}();e.exports=i},67114:function(e,t,n){var r=n(88668),i=n(82908),o=n(74757);e.exports=function(e,t,n,a,s,u){var c=1&n,l=e.length,f=t.length;if(l!=f&&!(c&&f>l))return!1;var d=u.get(e);if(d&&u.get(t))return d==t;var p=-1,h=!0,g=2&n?new r:void 0;for(u.set(e,t),u.set(t,e);++p<l;){var m=e[p],y=t[p];if(a)var v=c?a(y,m,p,t,e,u):a(m,y,p,e,t,u);if(void 0!==v){if(v)continue;h=!1;break}if(g){if(!i(t,(function(e,t){if(!o(g,t)&&(m===e||s(m,e,n,a,u)))return g.push(t)}))){h=!1;break}}else if(m!==y&&!s(m,y,n,a,u)){h=!1;break}}return u.delete(e),u.delete(t),h}},18351:function(e,t,n){var r=n(62705),i=n(11149),o=n(77813),a=n(67114),s=n(68776),u=n(21814),c=r?r.prototype:void 0,l=c?c.valueOf:void 0;e.exports=function(e,t,n,r,c,f,d){switch(n){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=t.byteLength||!f(new i(e),new i(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return o(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case"[object Map]":var p=s;case"[object Set]":var h=1&r;if(p||(p=u),e.size!=t.size&&!h)return!1;var g=d.get(e);if(g)return g==t;r|=2,d.set(e,t);var m=a(p(e),p(t),r,c,f,d);return d.delete(e),m;case"[object Symbol]":if(l)return l.call(e)==l.call(t)}return!1}},16096:function(e,t,n){var r=n(58234),i=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,o,a,s){var u=1&n,c=r(e),l=c.length;if(l!=r(t).length&&!u)return!1;for(var f=l;f--;){var d=c[f];if(!(u?d in t:i.call(t,d)))return!1}var p=s.get(e);if(p&&s.get(t))return p==t;var h=!0;s.set(e,t),s.set(t,e);for(var g=u;++f<l;){var m=e[d=c[f]],y=t[d];if(o)var v=u?o(y,m,d,t,e,s):o(m,y,d,e,t,s);if(!(void 0===v?m===y||a(m,y,n,o,s):v)){h=!1;break}g||(g="constructor"==d)}if(h&&!g){var b=e.constructor,_=t.constructor;b==_||!("constructor"in e)||!("constructor"in t)||"function"==typeof b&&b instanceof b&&"function"==typeof _&&_ instanceof _||(h=!1)}return s.delete(e),s.delete(t),h}},31957:function(e,t,n){var r="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g;e.exports=r},58234:function(e,t,n){var r=n(68866),i=n(99551),o=n(3674);e.exports=function(e){return r(e,o,i)}},46904:function(e,t,n){var r=n(68866),i=n(51442),o=n(81704);e.exports=function(e){return r(e,o,i)}},45050:function(e,t,n){var r=n(37019);e.exports=function(e,t){var n=e.__data__;return r(t)?n["string"==typeof t?"string":"hash"]:n.map}},1499:function(e,t,n){var r=n(89162),i=n(3674);e.exports=function(e){for(var t=i(e),n=t.length;n--;){var o=t[n],a=e[o];t[n]=[o,a,r(a)]}return t}},10852:function(e,t,n){var r=n(79190),i=n(47801);e.exports=function(e,t){var n=i(e,t);return r(n)?n:void 0}},85924:function(e,t,n){var r=n(5569)(Object.getPrototypeOf,Object);e.exports=r},89607:function(e,t,n){var r=n(62705),i=Object.prototype,o=i.hasOwnProperty,a=i.toString,s=r?r.toStringTag:void 0;e.exports=function(e){var t=o.call(e,s),n=e[s];try{e[s]=void 0;var r=!0}catch(e){}var i=a.call(e);return r&&(t?e[s]=n:delete e[s]),i}},99551:function(e,t,n){var r=n(34963),i=n(70479),o=Object.prototype.propertyIsEnumerable,a=Object.getOwnPropertySymbols,s=a?function(e){return null==e?[]:(e=Object(e),r(a(e),(function(t){return o.call(e,t)})))}:i;e.exports=s},51442:function(e,t,n){var r=n(62488),i=n(85924),o=n(99551),a=n(70479),s=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)r(t,o(e)),e=i(e);return t}:a;e.exports=s},64160:function(e,t,n){var r=n(18552),i=n(57071),o=n(53818),a=n(58525),s=n(70577),u=n(44239),c=n(80346),l="[object Map]",f="[object Promise]",d="[object Set]",p="[object WeakMap]",h="[object DataView]",g=c(r),m=c(i),y=c(o),v=c(a),b=c(s),_=u;(r&&_(new r(new ArrayBuffer(1)))!=h||i&&_(new i)!=l||o&&_(o.resolve())!=f||a&&_(new a)!=d||s&&_(new s)!=p)&&(_=function(e){var t=u(e),n="[object Object]"==t?e.constructor:void 0,r=n?c(n):"";if(r)switch(r){case g:return h;case m:return l;case y:return f;case v:return d;case b:return p}return t}),e.exports=_},47801:function(e){e.exports=function(e,t){return null==e?void 0:e[t]}},222:function(e,t,n){var r=n(71811),i=n(35694),o=n(1469),a=n(65776),s=n(41780),u=n(40327);e.exports=function(e,t,n){for(var c=-1,l=(t=r(t,e)).length,f=!1;++c<l;){var d=u(t[c]);if(!(f=null!=e&&n(e,d)))break;e=e[d]}return f||++c!=l?f:!!(l=null==e?0:e.length)&&s(l)&&a(d,l)&&(o(e)||i(e))}},62689:function(e){var t=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");e.exports=function(e){return t.test(e)}},93157:function(e){var t=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;e.exports=function(e){return t.test(e)}},51789:function(e,t,n){var r=n(94536);e.exports=function(){this.__data__=r?r(null):{},this.size=0}},80401:function(e){e.exports=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}},57667:function(e,t,n){var r=n(94536),i=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;if(r){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return i.call(t,e)?t[e]:void 0}},21327:function(e,t,n){var r=n(94536),i=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return r?void 0!==t[e]:i.call(t,e)}},81866:function(e,t,n){var r=n(94536);e.exports=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=r&&void 0===t?"__lodash_hash_undefined__":t,this}},43824:function(e){var t=Object.prototype.hasOwnProperty;e.exports=function(e){var n=e.length,r=new e.constructor(n);return n&&"string"==typeof e[0]&&t.call(e,"index")&&(r.index=e.index,r.input=e.input),r}},29148:function(e,t,n){var r=n(74318),i=n(57157),o=n(93147),a=n(40419),s=n(77133);e.exports=function(e,t,n){var u=e.constructor;switch(t){case"[object ArrayBuffer]":return r(e);case"[object Boolean]":case"[object Date]":return new u(+e);case"[object DataView]":return i(e,n);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return s(e,n);case"[object Map]":case"[object Set]":return new u;case"[object Number]":case"[object String]":return new u(e);case"[object RegExp]":return o(e);case"[object Symbol]":return a(e)}}},38517:function(e,t,n){var r=n(3118),i=n(85924),o=n(25726);e.exports=function(e){return"function"!=typeof e.constructor||o(e)?{}:r(i(e))}},65776:function(e){var t=/^(?:0|[1-9]\d*)$/;e.exports=function(e,n){var r=typeof e;return!!(n=null==n?9007199254740991:n)&&("number"==r||"symbol"!=r&&t.test(e))&&e>-1&&e%1==0&&e<n}},16612:function(e,t,n){var r=n(77813),i=n(98612),o=n(65776),a=n(13218);e.exports=function(e,t,n){if(!a(n))return!1;var s=typeof t;return!!("number"==s?i(n)&&o(t,n.length):"string"==s&&t in n)&&r(n[t],e)}},15403:function(e,t,n){var r=n(1469),i=n(33448),o=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,a=/^\w*$/;e.exports=function(e,t){if(r(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!i(e))||(a.test(e)||!o.test(e)||null!=t&&e in Object(t))}},37019:function(e){e.exports=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}},15346:function(e,t,n){var r,i=n(14429),o=(r=/[^.]+$/.exec(i&&i.keys&&i.keys.IE_PROTO||""))?"Symbol(src)_1."+r:"";e.exports=function(e){return!!o&&o in e}},25726:function(e){var t=Object.prototype;e.exports=function(e){var n=e&&e.constructor;return e===("function"==typeof n&&n.prototype||t)}},89162:function(e,t,n){var r=n(13218);e.exports=function(e){return e==e&&!r(e)}},27040:function(e){e.exports=function(){this.__data__=[],this.size=0}},14125:function(e,t,n){var r=n(18470),i=Array.prototype.splice;e.exports=function(e){var t=this.__data__,n=r(t,e);return!(n<0)&&(n==t.length-1?t.pop():i.call(t,n,1),--this.size,!0)}},82117:function(e,t,n){var r=n(18470);e.exports=function(e){var t=this.__data__,n=r(t,e);return n<0?void 0:t[n][1]}},67518:function(e,t,n){var r=n(18470);e.exports=function(e){return r(this.__data__,e)>-1}},13399:function(e,t,n){var r=n(18470);e.exports=function(e,t){var n=this.__data__,i=r(n,e);return i<0?(++this.size,n.push([e,t])):n[i][1]=t,this}},24785:function(e,t,n){var r=n(1989),i=n(38407),o=n(57071);e.exports=function(){this.size=0,this.__data__={hash:new r,map:new(o||i),string:new r}}},11285:function(e,t,n){var r=n(45050);e.exports=function(e){var t=r(this,e).delete(e);return this.size-=t?1:0,t}},96e3:function(e,t,n){var r=n(45050);e.exports=function(e){return r(this,e).get(e)}},49916:function(e,t,n){var r=n(45050);e.exports=function(e){return r(this,e).has(e)}},95265:function(e,t,n){var r=n(45050);e.exports=function(e,t){var n=r(this,e),i=n.size;return n.set(e,t),this.size+=n.size==i?0:1,this}},68776:function(e){e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}},42634:function(e){e.exports=function(e,t){return function(n){return null!=n&&(n[e]===t&&(void 0!==t||e in Object(n)))}}},24523:function(e,t,n){var r=n(88306);e.exports=function(e){var t=r(e,(function(e){return 500===n.size&&n.clear(),e})),n=t.cache;return t}},94536:function(e,t,n){var r=n(10852)(Object,"create");e.exports=r},86916:function(e,t,n){var r=n(5569)(Object.keys,Object);e.exports=r},33498:function(e){e.exports=function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}},31167:function(e,t,n){e=n.nmd(e);var r=n(31957),i=t&&!t.nodeType&&t,o=i&&e&&!e.nodeType&&e,a=o&&o.exports===i&&r.process,s=function(){try{var e=o&&o.require&&o.require("util").types;return e||a&&a.binding&&a.binding("util")}catch(e){}}();e.exports=s},2333:function(e){var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},5569:function(e){e.exports=function(e,t){return function(n){return e(t(n))}}},55639:function(e,t,n){var r=n(31957),i="object"==typeof self&&self&&self.Object===Object&&self,o=r||i||Function("return this")();e.exports=o},90619:function(e){e.exports=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this}},72385:function(e){e.exports=function(e){return this.__data__.has(e)}},21814:function(e){e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}},73480:function(e,t,n){var r=n(69877);e.exports=function(e,t){var n=-1,i=e.length,o=i-1;for(t=void 0===t?i:t;++n<t;){var a=r(n,o),s=e[a];e[a]=e[n],e[n]=s}return e.length=t,e}},37465:function(e,t,n){var r=n(38407);e.exports=function(){this.__data__=new r,this.size=0}},63779:function(e){e.exports=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}},67599:function(e){e.exports=function(e){return this.__data__.get(e)}},44758:function(e){e.exports=function(e){return this.__data__.has(e)}},34309:function(e,t,n){var r=n(38407),i=n(57071),o=n(83369);e.exports=function(e,t){var n=this.__data__;if(n instanceof r){var a=n.__data__;if(!i||a.length<199)return a.push([e,t]),this.size=++n.size,this;n=this.__data__=new o(a)}return n.set(e,t),this.size=n.size,this}},88016:function(e,t,n){var r=n(48983),i=n(62689),o=n(21903);e.exports=function(e){return i(e)?o(e):r(e)}},52710:function(e,t,n){var r=n(44286),i=n(62689),o=n(676);e.exports=function(e){return i(e)?o(e):r(e)}},55514:function(e,t,n){var r=n(24523),i=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,o=/\\(\\)?/g,a=r((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(i,(function(e,n,r,i){t.push(r?i.replace(o,"$1"):n||e)})),t}));e.exports=a},40327:function(e,t,n){var r=n(33448);e.exports=function(e){if("string"==typeof e||r(e))return e;var t=e+"";return"0"==t&&1/e==-Infinity?"-0":t}},80346:function(e){var t=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return t.call(e)}catch(e){}try{return e+""}catch(e){}}return""}},21903:function(e){var t="[\\ud800-\\udfff]",n="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",r="\\ud83c[\\udffb-\\udfff]",i="[^\\ud800-\\udfff]",o="(?:\\ud83c[\\udde6-\\uddff]){2}",a="[\\ud800-\\udbff][\\udc00-\\udfff]",s="(?:"+n+"|"+r+")"+"?",u="[\\ufe0e\\ufe0f]?",c=u+s+("(?:\\u200d(?:"+[i,o,a].join("|")+")"+u+s+")*"),l="(?:"+[i+n+"?",n,o,a,t].join("|")+")",f=RegExp(r+"(?="+r+")|"+l+c,"g");e.exports=function(e){for(var t=f.lastIndex=0;f.test(e);)++t;return t}},676:function(e){var t="[\\ud800-\\udfff]",n="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",r="\\ud83c[\\udffb-\\udfff]",i="[^\\ud800-\\udfff]",o="(?:\\ud83c[\\udde6-\\uddff]){2}",a="[\\ud800-\\udbff][\\udc00-\\udfff]",s="(?:"+n+"|"+r+")"+"?",u="[\\ufe0e\\ufe0f]?",c=u+s+("(?:\\u200d(?:"+[i,o,a].join("|")+")"+u+s+")*"),l="(?:"+[i+n+"?",n,o,a,t].join("|")+")",f=RegExp(r+"(?="+r+")|"+l+c,"g");e.exports=function(e){return e.match(f)||[]}},2757:function(e){var t="\\u2700-\\u27bf",n="a-z\\xdf-\\xf6\\xf8-\\xff",r="A-Z\\xc0-\\xd6\\xd8-\\xde",i="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",o="["+i+"]",a="\\d+",s="[\\u2700-\\u27bf]",u="["+n+"]",c="[^\\ud800-\\udfff"+i+a+t+n+r+"]",l="(?:\\ud83c[\\udde6-\\uddff]){2}",f="[\\ud800-\\udbff][\\udc00-\\udfff]",d="["+r+"]",p="(?:"+u+"|"+c+")",h="(?:"+d+"|"+c+")",g="(?:['’](?:d|ll|m|re|s|t|ve))?",m="(?:['’](?:D|LL|M|RE|S|T|VE))?",y="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?",v="[\\ufe0e\\ufe0f]?",b=v+y+("(?:\\u200d(?:"+["[^\\ud800-\\udfff]",l,f].join("|")+")"+v+y+")*"),_="(?:"+[s,l,f].join("|")+")"+b,w=RegExp([d+"?"+u+"+"+g+"(?="+[o,d,"$"].join("|")+")",h+"+"+m+"(?="+[o,d+p,"$"].join("|")+")",d+"?"+p+"+"+g,d+"+"+m,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",a,_].join("|"),"g");e.exports=function(e){return e.match(w)||[]}},68929:function(e,t,n){var r=n(48403),i=n(35393)((function(e,t,n){return t=t.toLowerCase(),e+(n?r(t):t)}));e.exports=i},48403:function(e,t,n){var r=n(79833),i=n(11700);e.exports=function(e){return i(r(e).toLowerCase())}},50361:function(e,t,n){var r=n(85990);e.exports=function(e){return r(e,5)}},23279:function(e,t,n){var r=n(13218),i=n(7771),o=n(14841),a=Math.max,s=Math.min;e.exports=function(e,t,n){var u,c,l,f,d,p,h=0,g=!1,m=!1,y=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function v(t){var n=u,r=c;return u=c=void 0,h=t,f=e.apply(r,n)}function b(e){return h=e,d=setTimeout(w,t),g?v(e):f}function _(e){var n=e-p;return void 0===p||n>=t||n<0||m&&e-h>=l}function w(){var e=i();if(_(e))return T(e);d=setTimeout(w,function(e){var n=t-(e-p);return m?s(n,l-(e-h)):n}(e))}function T(e){return d=void 0,y&&u?v(e):(u=c=void 0,f)}function x(){var e=i(),n=_(e);if(u=arguments,c=this,p=e,n){if(void 0===d)return b(p);if(m)return clearTimeout(d),d=setTimeout(w,t),v(p)}return void 0===d&&(d=setTimeout(w,t)),f}return t=o(t)||0,r(n)&&(g=!!n.leading,l=(m="maxWait"in n)?a(o(n.maxWait)||0,t):l,y="trailing"in n?!!n.trailing:y),x.cancel=function(){void 0!==d&&clearTimeout(d),h=0,u=p=c=d=void 0},x.flush=function(){return void 0===d?f:T(i())},x}},53816:function(e,t,n){var r=n(69389),i=n(79833),o=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,a=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g");e.exports=function(e){return(e=i(e))&&e.replace(o,r).replace(a,"")}},77813:function(e){e.exports=function(e,t){return e===t||e!=e&&t!=t}},3522:function(e,t,n){var r=n(79833),i=/[\\^$.*+?()[\]{}|]/g,o=RegExp(i.source);e.exports=function(e){return(e=r(e))&&o.test(e)?e.replace(i,"\\$&"):e}},13311:function(e,t,n){var r=n(67740)(n(30998));e.exports=r},30998:function(e,t,n){var r=n(41848),i=n(67206),o=n(40554),a=Math.max;e.exports=function(e,t,n){var s=null==e?0:e.length;if(!s)return-1;var u=null==n?0:o(n);return u<0&&(u=a(s+u,0)),r(e,i(t,3),u)}},27361:function(e,t,n){var r=n(97786);e.exports=function(e,t,n){var i=null==e?void 0:r(e,t);return void 0===i?n:i}},79095:function(e,t,n){var r=n(13),i=n(222);e.exports=function(e,t){return null!=e&&i(e,t,r)}},6557:function(e){e.exports=function(e){return e}},35694:function(e,t,n){var r=n(9454),i=n(37005),o=Object.prototype,a=o.hasOwnProperty,s=o.propertyIsEnumerable,u=r(function(){return arguments}())?r:function(e){return i(e)&&a.call(e,"callee")&&!s.call(e,"callee")};e.exports=u},1469:function(e){var t=Array.isArray;e.exports=t},98612:function(e,t,n){var r=n(23560),i=n(41780);e.exports=function(e){return null!=e&&i(e.length)&&!r(e)}},44144:function(e,t,n){e=n.nmd(e);var r=n(55639),i=n(95062),o=t&&!t.nodeType&&t,a=o&&e&&!e.nodeType&&e,s=a&&a.exports===o?r.Buffer:void 0,u=(s?s.isBuffer:void 0)||i;e.exports=u},23560:function(e,t,n){var r=n(44239),i=n(13218);e.exports=function(e){if(!i(e))return!1;var t=r(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},41780:function(e){e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},56688:function(e,t,n){var r=n(25588),i=n(7518),o=n(31167),a=o&&o.isMap,s=a?i(a):r;e.exports=s},13218:function(e){e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},37005:function(e){e.exports=function(e){return null!=e&&"object"==typeof e}},96347:function(e,t,n){var r=n(23933),i=n(7518),o=n(31167),a=o&&o.isRegExp,s=a?i(a):r;e.exports=s},72928:function(e,t,n){var r=n(29221),i=n(7518),o=n(31167),a=o&&o.isSet,s=a?i(a):r;e.exports=s},33448:function(e,t,n){var r=n(44239),i=n(37005);e.exports=function(e){return"symbol"==typeof e||i(e)&&"[object Symbol]"==r(e)}},36719:function(e,t,n){var r=n(38749),i=n(7518),o=n(31167),a=o&&o.isTypedArray,s=a?i(a):r;e.exports=s},21804:function(e,t,n){var r=n(35393)((function(e,t,n){return e+(n?"-":"")+t.toLowerCase()}));e.exports=r},3674:function(e,t,n){var r=n(14636),i=n(280),o=n(98612);e.exports=function(e){return o(e)?r(e):i(e)}},81704:function(e,t,n){var r=n(14636),i=n(10313),o=n(98612);e.exports=function(e){return o(e)?r(e,!0):i(e)}},88306:function(e,t,n){var r=n(83369);function i(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError("Expected a function");var n=function(){var r=arguments,i=t?t.apply(this,r):r[0],o=n.cache;if(o.has(i))return o.get(i);var a=e.apply(this,r);return n.cache=o.set(i,a)||o,a};return n.cache=new(i.Cache||r),n}i.Cache=r,e.exports=i},7771:function(e,t,n){var r=n(55639);e.exports=function(){return r.Date.now()}},39601:function(e,t,n){var r=n(40371),i=n(79152),o=n(15403),a=n(40327);e.exports=function(e){return o(e)?r(a(e)):i(e)}},96026:function(e,t,n){var r=n(47445)();e.exports=r},69983:function(e,t,n){var r=n(70151),i=n(25127),o=n(1469);e.exports=function(e){return(o(e)?r:i)(e)}},11865:function(e,t,n){var r=n(35393)((function(e,t,n){return e+(n?"_":"")+t.toLowerCase()}));e.exports=r},70479:function(e){e.exports=function(){return[]}},95062:function(e){e.exports=function(){return!1}},23493:function(e,t,n){var r=n(23279),i=n(13218);e.exports=function(e,t,n){var o=!0,a=!0;if("function"!=typeof e)throw new TypeError("Expected a function");return i(n)&&(o="leading"in n?!!n.leading:o,a="trailing"in n?!!n.trailing:a),r(e,t,{leading:o,maxWait:t,trailing:a})}},18601:function(e,t,n){var r=n(14841),i=1/0;e.exports=function(e){return e?(e=r(e))===i||e===-1/0?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0}},40554:function(e,t,n){var r=n(18601);e.exports=function(e){var t=r(e),n=t%1;return t==t?n?t-n:t:0}},14841:function(e,t,n){var r=n(13218),i=n(33448),o=/^\s+|\s+$/g,a=/^[-+]0x[0-9a-f]+$/i,s=/^0b[01]+$/i,u=/^0o[0-7]+$/i,c=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(i(e))return NaN;if(r(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=r(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(o,"");var n=s.test(e);return n||u.test(e)?c(e.slice(2),n?2:8):a.test(e)?NaN:+e}},79833:function(e,t,n){var r=n(80531);e.exports=function(e){return null==e?"":r(e)}},39138:function(e,t,n){var r=n(80531),i=n(40180),o=n(62689),a=n(13218),s=n(96347),u=n(88016),c=n(52710),l=n(40554),f=n(79833),d=/\w*$/;e.exports=function(e,t){var n=30,p="...";if(a(t)){var h="separator"in t?t.separator:h;n="length"in t?l(t.length):n,p="omission"in t?r(t.omission):p}var g=(e=f(e)).length;if(o(e)){var m=c(e);g=m.length}if(n>=g)return e;var y=n-u(p);if(y<1)return p;var v=m?i(m,0,y).join(""):e.slice(0,y);if(void 0===h)return v+p;if(m&&(y+=v.length-y),s(h)){if(e.slice(y).search(h)){var b,_=v;for(h.global||(h=RegExp(h.source,f(d.exec(h))+"g")),h.lastIndex=0;b=h.exec(_);)var w=b.index;v=v.slice(0,void 0===w?y:w)}}else if(e.indexOf(r(h),y)!=y){var T=v.lastIndexOf(h);T>-1&&(v=v.slice(0,T))}return v+p}},73955:function(e,t,n){var r=n(79833),i=0;e.exports=function(e){var t=++i;return r(e)+t}},11700:function(e,t,n){var r=n(98805)("toUpperCase");e.exports=r},52628:function(e,t,n){var r=n(47415),i=n(3674);e.exports=function(e){return null==e?[]:r(e,i(e))}},58748:function(e,t,n){var r=n(49029),i=n(93157),o=n(79833),a=n(2757);e.exports=function(e,t,n){return e=o(e),void 0===(t=n?void 0:t)?i(e)?a(e):r(e):e.match(t)||[]}},78348:function(e,t,n){!function(e){"use strict";e.defineLocale("en-au",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d 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"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(n(30381))},77925:function(e,t,n){!function(e){"use strict";e.defineLocale("en-ca",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"YYYY-MM-DD",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d 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"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}})}(n(30381))},22243:function(e,t,n){!function(e){"use strict";e.defineLocale("en-gb",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d 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"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(n(30381))},46436:function(e,t,n){!function(e){"use strict";e.defineLocale("en-ie",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d 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"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(n(30381))},76319:function(e,t,n){!function(e){"use strict";e.defineLocale("en-nz",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d 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"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(n(30381))},30381:function(e,t,n){(e=n.nmd(e)).exports=function(){"use strict";var t,r;function i(){return t.apply(null,arguments)}function o(e){t=e}function a(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function s(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function u(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;var t;for(t in e)if(e.hasOwnProperty(t))return!1;return!0}function c(e){return void 0===e}function l(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function f(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function d(e,t){var n,r=[];for(n=0;n<e.length;++n)r.push(t(e[n],n));return r}function p(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function h(e,t){for(var n in t)p(t,n)&&(e[n]=t[n]);return p(t,"toString")&&(e.toString=t.toString),p(t,"valueOf")&&(e.valueOf=t.valueOf),e}function g(e,t,n,r){return Gn(e,t,n,r,!0).utc()}function m(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],meridiem:null,rfc2822:!1,weekdayMismatch:!1}}function y(e){return null==e._pf&&(e._pf=m()),e._pf}function v(e){if(null==e._isValid){var t=y(e),n=r.call(t.parsedDateParts,(function(e){return null!=e})),i=!isNaN(e._d.getTime())&&t.overflow<0&&!t.empty&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&n);if(e._strict&&(i=i&&0===t.charsLeftOver&&0===t.unusedTokens.length&&void 0===t.bigHour),null!=Object.isFrozen&&Object.isFrozen(e))return i;e._isValid=i}return e._isValid}function b(e){var t=g(NaN);return null!=e?h(y(t),e):y(t).userInvalidated=!0,t}r=Array.prototype.some?Array.prototype.some:function(e){for(var t=Object(this),n=t.length>>>0,r=0;r<n;r++)if(r in t&&e.call(this,t[r],r,t))return!0;return!1};var _=i.momentProperties=[];function w(e,t){var n,r,i;if(c(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),c(t._i)||(e._i=t._i),c(t._f)||(e._f=t._f),c(t._l)||(e._l=t._l),c(t._strict)||(e._strict=t._strict),c(t._tzm)||(e._tzm=t._tzm),c(t._isUTC)||(e._isUTC=t._isUTC),c(t._offset)||(e._offset=t._offset),c(t._pf)||(e._pf=y(t)),c(t._locale)||(e._locale=t._locale),_.length>0)for(n=0;n<_.length;n++)c(i=t[r=_[n]])||(e[r]=i);return e}var T=!1;function x(e){w(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===T&&(T=!0,i.updateOffset(this),T=!1)}function S(e){return e instanceof x||null!=e&&null!=e._isAMomentObject}function k(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function E(e){var t=+e,n=0;return 0!==t&&isFinite(t)&&(n=k(t)),n}function O(e,t,n){var r,i=Math.min(e.length,t.length),o=Math.abs(e.length-t.length),a=0;for(r=0;r<i;r++)(n&&e[r]!==t[r]||!n&&E(e[r])!==E(t[r]))&&a++;return a+o}function C(e){!1===i.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function L(e,t){var n=!0;return h((function(){if(null!=i.deprecationHandler&&i.deprecationHandler(null,e),n){for(var r,o=[],a=0;a<arguments.length;a++){if(r="","object"==typeof arguments[a]){for(var s in r+="\n["+a+"] ",arguments[0])r+=s+": "+arguments[0][s]+", ";r=r.slice(0,-2)}else r=arguments[a];o.push(r)}C(e+"\nArguments: "+Array.prototype.slice.call(o).join("")+"\n"+(new Error).stack),n=!1}return t.apply(this,arguments)}),t)}var A,I={};function P(e,t){null!=i.deprecationHandler&&i.deprecationHandler(e,t),I[e]||(C(t),I[e]=!0)}function M(e){return e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function R(e){var t,n;for(n in e)M(t=e[n])?this[n]=t:this["_"+n]=t;this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function j(e,t){var n,r=h({},e);for(n in t)p(t,n)&&(s(e[n])&&s(t[n])?(r[n]={},h(r[n],e[n]),h(r[n],t[n])):null!=t[n]?r[n]=t[n]:delete r[n]);for(n in e)p(e,n)&&!p(t,n)&&s(e[n])&&(r[n]=h({},r[n]));return r}function D(e){null!=e&&this.set(e)}i.suppressDeprecationWarnings=!1,i.deprecationHandler=null,A=Object.keys?Object.keys:function(e){var t,n=[];for(t in e)p(e,t)&&n.push(t);return n};var N={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function B(e,t,n){var r=this._calendar[e]||this._calendar.sameElse;return M(r)?r.call(t,n):r}var U={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};function F(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.replace(/MMMM|MM|DD|dddd/g,(function(e){return e.slice(1)})),this._longDateFormat[e])}var z="Invalid date";function H(){return this._invalidDate}var Z="%d",q=/\d{1,2}/;function V(e){return this._ordinal.replace("%d",e)}var W={future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d 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"};function G(e,t,n,r){var i=this._relativeTime[n];return M(i)?i(e,t,n,r):i.replace(/%d/i,e)}function $(e,t){var n=this._relativeTime[e>0?"future":"past"];return M(n)?n(t):n.replace(/%s/i,t)}var Y={};function K(e,t){var n=e.toLowerCase();Y[n]=Y[n+"s"]=Y[t]=e}function X(e){return"string"==typeof e?Y[e]||Y[e.toLowerCase()]:void 0}function Q(e){var t,n,r={};for(n in e)p(e,n)&&(t=X(n))&&(r[t]=e[n]);return r}var J={};function ee(e,t){J[e]=t}function te(e){var t=[];for(var n in e)t.push({unit:n,priority:J[n]});return t.sort((function(e,t){return e.priority-t.priority})),t}function ne(e,t,n){var r=""+Math.abs(e),i=t-r.length;return(e>=0?n?"+":"":"-")+Math.pow(10,Math.max(0,i)).toString().substr(1)+r}var re=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|YYYYYY|YYYYY|YYYY|YY|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,ie=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,oe={},ae={};function se(e,t,n,r){var i=r;"string"==typeof r&&(i=function(){return this[r]()}),e&&(ae[e]=i),t&&(ae[t[0]]=function(){return ne(i.apply(this,arguments),t[1],t[2])}),n&&(ae[n]=function(){return this.localeData().ordinal(i.apply(this,arguments),e)})}function ue(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function ce(e){var t,n,r=e.match(re);for(t=0,n=r.length;t<n;t++)ae[r[t]]?r[t]=ae[r[t]]:r[t]=ue(r[t]);return function(t){var i,o="";for(i=0;i<n;i++)o+=M(r[i])?r[i].call(t,e):r[i];return o}}function le(e,t){return e.isValid()?(t=fe(t,e.localeData()),oe[t]=oe[t]||ce(t),oe[t](e)):e.localeData().invalidDate()}function fe(e,t){var n=5;function r(e){return t.longDateFormat(e)||e}for(ie.lastIndex=0;n>=0&&ie.test(e);)e=e.replace(ie,r),ie.lastIndex=0,n-=1;return e}var de=/\d/,pe=/\d\d/,he=/\d{3}/,ge=/\d{4}/,me=/[+-]?\d{6}/,ye=/\d\d?/,ve=/\d\d\d\d?/,be=/\d\d\d\d\d\d?/,_e=/\d{1,3}/,we=/\d{1,4}/,Te=/[+-]?\d{1,6}/,xe=/\d+/,Se=/[+-]?\d+/,ke=/Z|[+-]\d\d:?\d\d/gi,Ee=/Z|[+-]\d\d(?::?\d\d)?/gi,Oe=/[+-]?\d+(\.\d{1,3})?/,Ce=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,Le={};function Ae(e,t,n){Le[e]=M(t)?t:function(e,r){return e&&n?n:t}}function Ie(e,t){return p(Le,e)?Le[e](t._strict,t._locale):new RegExp(Pe(e))}function Pe(e){return Me(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,(function(e,t,n,r,i){return t||n||r||i})))}function Me(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var Re={};function je(e,t){var n,r=t;for("string"==typeof e&&(e=[e]),l(t)&&(r=function(e,n){n[t]=E(e)}),n=0;n<e.length;n++)Re[e[n]]=r}function De(e,t){je(e,(function(e,n,r,i){r._w=r._w||{},t(e,r._w,r,i)}))}function Ne(e,t,n){null!=t&&p(Re,e)&&Re[e](t,n._a,n,e)}var Be=0,Ue=1,Fe=2,ze=3,He=4,Ze=5,qe=6,Ve=7,We=8;function Ge(e){return $e(e)?366:365}function $e(e){return e%4==0&&e%100!=0||e%400==0}se("Y",0,0,(function(){var e=this.year();return e<=9999?""+e:"+"+e})),se(0,["YY",2],0,(function(){return this.year()%100})),se(0,["YYYY",4],0,"year"),se(0,["YYYYY",5],0,"year"),se(0,["YYYYYY",6,!0],0,"year"),K("year","y"),ee("year",1),Ae("Y",Se),Ae("YY",ye,pe),Ae("YYYY",we,ge),Ae("YYYYY",Te,me),Ae("YYYYYY",Te,me),je(["YYYYY","YYYYYY"],Be),je("YYYY",(function(e,t){t[Be]=2===e.length?i.parseTwoDigitYear(e):E(e)})),je("YY",(function(e,t){t[Be]=i.parseTwoDigitYear(e)})),je("Y",(function(e,t){t[Be]=parseInt(e,10)})),i.parseTwoDigitYear=function(e){return E(e)+(E(e)>68?1900:2e3)};var Ye,Ke=Qe("FullYear",!0);function Xe(){return $e(this.year())}function Qe(e,t){return function(n){return null!=n?(et(this,e,n),i.updateOffset(this,t),this):Je(this,e)}}function Je(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function et(e,t,n){e.isValid()&&!isNaN(n)&&("FullYear"===t&&$e(e.year())&&1===e.month()&&29===e.date()?e._d["set"+(e._isUTC?"UTC":"")+t](n,e.month(),it(n,e.month())):e._d["set"+(e._isUTC?"UTC":"")+t](n))}function tt(e){return M(this[e=X(e)])?this[e]():this}function nt(e,t){if("object"==typeof e)for(var n=te(e=Q(e)),r=0;r<n.length;r++)this[n[r].unit](e[n[r].unit]);else if(M(this[e=X(e)]))return this[e](t);return this}function rt(e,t){return(e%t+t)%t}function it(e,t){if(isNaN(e)||isNaN(t))return NaN;var n=rt(t,12);return e+=(t-n)/12,1===n?$e(e)?29:28:31-n%7%2}Ye=Array.prototype.indexOf?Array.prototype.indexOf:function(e){var t;for(t=0;t<this.length;++t)if(this[t]===e)return t;return-1},se("M",["MM",2],"Mo",(function(){return this.month()+1})),se("MMM",0,0,(function(e){return this.localeData().monthsShort(this,e)})),se("MMMM",0,0,(function(e){return this.localeData().months(this,e)})),K("month","M"),ee("month",8),Ae("M",ye),Ae("MM",ye,pe),Ae("MMM",(function(e,t){return t.monthsShortRegex(e)})),Ae("MMMM",(function(e,t){return t.monthsRegex(e)})),je(["M","MM"],(function(e,t){t[Ue]=E(e)-1})),je(["MMM","MMMM"],(function(e,t,n,r){var i=n._locale.monthsParse(e,r,n._strict);null!=i?t[Ue]=i:y(n).invalidMonth=e}));var ot=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,at="January_February_March_April_May_June_July_August_September_October_November_December".split("_");function st(e,t){return e?a(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||ot).test(t)?"format":"standalone"][e.month()]:a(this._months)?this._months:this._months.standalone}var ut="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_");function ct(e,t){return e?a(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[ot.test(t)?"format":"standalone"][e.month()]:a(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function lt(e,t,n){var r,i,o,a=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],r=0;r<12;++r)o=g([2e3,r]),this._shortMonthsParse[r]=this.monthsShort(o,"").toLocaleLowerCase(),this._longMonthsParse[r]=this.months(o,"").toLocaleLowerCase();return n?"MMM"===t?-1!==(i=Ye.call(this._shortMonthsParse,a))?i:null:-1!==(i=Ye.call(this._longMonthsParse,a))?i:null:"MMM"===t?-1!==(i=Ye.call(this._shortMonthsParse,a))||-1!==(i=Ye.call(this._longMonthsParse,a))?i:null:-1!==(i=Ye.call(this._longMonthsParse,a))||-1!==(i=Ye.call(this._shortMonthsParse,a))?i:null}function ft(e,t,n){var r,i,o;if(this._monthsParseExact)return lt.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),r=0;r<12;r++){if(i=g([2e3,r]),n&&!this._longMonthsParse[r]&&(this._longMonthsParse[r]=new RegExp("^"+this.months(i,"").replace(".","")+"$","i"),this._shortMonthsParse[r]=new RegExp("^"+this.monthsShort(i,"").replace(".","")+"$","i")),n||this._monthsParse[r]||(o="^"+this.months(i,"")+"|^"+this.monthsShort(i,""),this._monthsParse[r]=new RegExp(o.replace(".",""),"i")),n&&"MMMM"===t&&this._longMonthsParse[r].test(e))return r;if(n&&"MMM"===t&&this._shortMonthsParse[r].test(e))return r;if(!n&&this._monthsParse[r].test(e))return r}}function dt(e,t){var n;if(!e.isValid())return e;if("string"==typeof t)if(/^\d+$/.test(t))t=E(t);else if(!l(t=e.localeData().monthsParse(t)))return e;return n=Math.min(e.date(),it(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,n),e}function pt(e){return null!=e?(dt(this,e),i.updateOffset(this,!0),this):Je(this,"Month")}function ht(){return it(this.year(),this.month())}var gt=Ce;function mt(e){return this._monthsParseExact?(p(this,"_monthsRegex")||bt.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(p(this,"_monthsShortRegex")||(this._monthsShortRegex=gt),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)}var yt=Ce;function vt(e){return this._monthsParseExact?(p(this,"_monthsRegex")||bt.call(this),e?this._monthsStrictRegex:this._monthsRegex):(p(this,"_monthsRegex")||(this._monthsRegex=yt),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)}function bt(){function e(e,t){return t.length-e.length}var t,n,r=[],i=[],o=[];for(t=0;t<12;t++)n=g([2e3,t]),r.push(this.monthsShort(n,"")),i.push(this.months(n,"")),o.push(this.months(n,"")),o.push(this.monthsShort(n,""));for(r.sort(e),i.sort(e),o.sort(e),t=0;t<12;t++)r[t]=Me(r[t]),i[t]=Me(i[t]);for(t=0;t<24;t++)o[t]=Me(o[t]);this._monthsRegex=new RegExp("^("+o.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+i.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+r.join("|")+")","i")}function _t(e,t,n,r,i,o,a){var s=new Date(e,t,n,r,i,o,a);return e<100&&e>=0&&isFinite(s.getFullYear())&&s.setFullYear(e),s}function wt(e){var t=new Date(Date.UTC.apply(null,arguments));return e<100&&e>=0&&isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e),t}function Tt(e,t,n){var r=7+t-n;return-(7+wt(e,0,r).getUTCDay()-t)%7+r-1}function xt(e,t,n,r,i){var o,a,s=1+7*(t-1)+(7+n-r)%7+Tt(e,r,i);return s<=0?a=Ge(o=e-1)+s:s>Ge(e)?(o=e+1,a=s-Ge(e)):(o=e,a=s),{year:o,dayOfYear:a}}function St(e,t,n){var r,i,o=Tt(e.year(),t,n),a=Math.floor((e.dayOfYear()-o-1)/7)+1;return a<1?r=a+kt(i=e.year()-1,t,n):a>kt(e.year(),t,n)?(r=a-kt(e.year(),t,n),i=e.year()+1):(i=e.year(),r=a),{week:r,year:i}}function kt(e,t,n){var r=Tt(e,t,n),i=Tt(e+1,t,n);return(Ge(e)-r+i)/7}function Et(e){return St(e,this._week.dow,this._week.doy).week}se("w",["ww",2],"wo","week"),se("W",["WW",2],"Wo","isoWeek"),K("week","w"),K("isoWeek","W"),ee("week",5),ee("isoWeek",5),Ae("w",ye),Ae("ww",ye,pe),Ae("W",ye),Ae("WW",ye,pe),De(["w","ww","W","WW"],(function(e,t,n,r){t[r.substr(0,1)]=E(e)}));var Ot={dow:0,doy:6};function Ct(){return this._week.dow}function Lt(){return this._week.doy}function At(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")}function It(e){var t=St(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")}function Pt(e,t){return"string"!=typeof e?e:isNaN(e)?"number"==typeof(e=t.weekdaysParse(e))?e:null:parseInt(e,10)}function Mt(e,t){return"string"==typeof e?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}se("d",0,"do","day"),se("dd",0,0,(function(e){return this.localeData().weekdaysMin(this,e)})),se("ddd",0,0,(function(e){return this.localeData().weekdaysShort(this,e)})),se("dddd",0,0,(function(e){return this.localeData().weekdays(this,e)})),se("e",0,0,"weekday"),se("E",0,0,"isoWeekday"),K("day","d"),K("weekday","e"),K("isoWeekday","E"),ee("day",11),ee("weekday",11),ee("isoWeekday",11),Ae("d",ye),Ae("e",ye),Ae("E",ye),Ae("dd",(function(e,t){return t.weekdaysMinRegex(e)})),Ae("ddd",(function(e,t){return t.weekdaysShortRegex(e)})),Ae("dddd",(function(e,t){return t.weekdaysRegex(e)})),De(["dd","ddd","dddd"],(function(e,t,n,r){var i=n._locale.weekdaysParse(e,r,n._strict);null!=i?t.d=i:y(n).invalidWeekday=e})),De(["d","e","E"],(function(e,t,n,r){t[r]=E(e)}));var Rt="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_");function jt(e,t){return e?a(this._weekdays)?this._weekdays[e.day()]:this._weekdays[this._weekdays.isFormat.test(t)?"format":"standalone"][e.day()]:a(this._weekdays)?this._weekdays:this._weekdays.standalone}var Dt="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_");function Nt(e){return e?this._weekdaysShort[e.day()]:this._weekdaysShort}var Bt="Su_Mo_Tu_We_Th_Fr_Sa".split("_");function Ut(e){return e?this._weekdaysMin[e.day()]:this._weekdaysMin}function Ft(e,t,n){var r,i,o,a=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)o=g([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(o,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(o,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(o,"").toLocaleLowerCase();return n?"dddd"===t?-1!==(i=Ye.call(this._weekdaysParse,a))?i:null:"ddd"===t?-1!==(i=Ye.call(this._shortWeekdaysParse,a))?i:null:-1!==(i=Ye.call(this._minWeekdaysParse,a))?i:null:"dddd"===t?-1!==(i=Ye.call(this._weekdaysParse,a))||-1!==(i=Ye.call(this._shortWeekdaysParse,a))||-1!==(i=Ye.call(this._minWeekdaysParse,a))?i:null:"ddd"===t?-1!==(i=Ye.call(this._shortWeekdaysParse,a))||-1!==(i=Ye.call(this._weekdaysParse,a))||-1!==(i=Ye.call(this._minWeekdaysParse,a))?i:null:-1!==(i=Ye.call(this._minWeekdaysParse,a))||-1!==(i=Ye.call(this._weekdaysParse,a))||-1!==(i=Ye.call(this._shortWeekdaysParse,a))?i:null}function zt(e,t,n){var r,i,o;if(this._weekdaysParseExact)return Ft.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(i=g([2e3,1]).day(r),n&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp("^"+this.weekdays(i,"").replace(".",".?")+"$","i"),this._shortWeekdaysParse[r]=new RegExp("^"+this.weekdaysShort(i,"").replace(".",".?")+"$","i"),this._minWeekdaysParse[r]=new RegExp("^"+this.weekdaysMin(i,"").replace(".",".?")+"$","i")),this._weekdaysParse[r]||(o="^"+this.weekdays(i,"")+"|^"+this.weekdaysShort(i,"")+"|^"+this.weekdaysMin(i,""),this._weekdaysParse[r]=new RegExp(o.replace(".",""),"i")),n&&"dddd"===t&&this._fullWeekdaysParse[r].test(e))return r;if(n&&"ddd"===t&&this._shortWeekdaysParse[r].test(e))return r;if(n&&"dd"===t&&this._minWeekdaysParse[r].test(e))return r;if(!n&&this._weekdaysParse[r].test(e))return r}}function Ht(e){if(!this.isValid())return null!=e?this:NaN;var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(e=Pt(e,this.localeData()),this.add(e-t,"d")):t}function Zt(e){if(!this.isValid())return null!=e?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return null==e?t:this.add(e-t,"d")}function qt(e){if(!this.isValid())return null!=e?this:NaN;if(null!=e){var t=Mt(e,this.localeData());return this.day(this.day()%7?t:t-7)}return this.day()||7}var Vt=Ce;function Wt(e){return this._weekdaysParseExact?(p(this,"_weekdaysRegex")||Xt.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(p(this,"_weekdaysRegex")||(this._weekdaysRegex=Vt),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}var Gt=Ce;function $t(e){return this._weekdaysParseExact?(p(this,"_weekdaysRegex")||Xt.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(p(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Gt),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}var Yt=Ce;function Kt(e){return this._weekdaysParseExact?(p(this,"_weekdaysRegex")||Xt.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(p(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Yt),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function Xt(){function e(e,t){return t.length-e.length}var t,n,r,i,o,a=[],s=[],u=[],c=[];for(t=0;t<7;t++)n=g([2e3,1]).day(t),r=this.weekdaysMin(n,""),i=this.weekdaysShort(n,""),o=this.weekdays(n,""),a.push(r),s.push(i),u.push(o),c.push(r),c.push(i),c.push(o);for(a.sort(e),s.sort(e),u.sort(e),c.sort(e),t=0;t<7;t++)s[t]=Me(s[t]),u[t]=Me(u[t]),c[t]=Me(c[t]);this._weekdaysRegex=new RegExp("^("+c.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+u.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+a.join("|")+")","i")}function Qt(){return this.hours()%12||12}function Jt(){return this.hours()||24}function en(e,t){se(e,0,0,(function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)}))}function tn(e,t){return t._meridiemParse}function nn(e){return"p"===(e+"").toLowerCase().charAt(0)}se("H",["HH",2],0,"hour"),se("h",["hh",2],0,Qt),se("k",["kk",2],0,Jt),se("hmm",0,0,(function(){return""+Qt.apply(this)+ne(this.minutes(),2)})),se("hmmss",0,0,(function(){return""+Qt.apply(this)+ne(this.minutes(),2)+ne(this.seconds(),2)})),se("Hmm",0,0,(function(){return""+this.hours()+ne(this.minutes(),2)})),se("Hmmss",0,0,(function(){return""+this.hours()+ne(this.minutes(),2)+ne(this.seconds(),2)})),en("a",!0),en("A",!1),K("hour","h"),ee("hour",13),Ae("a",tn),Ae("A",tn),Ae("H",ye),Ae("h",ye),Ae("k",ye),Ae("HH",ye,pe),Ae("hh",ye,pe),Ae("kk",ye,pe),Ae("hmm",ve),Ae("hmmss",be),Ae("Hmm",ve),Ae("Hmmss",be),je(["H","HH"],ze),je(["k","kk"],(function(e,t,n){var r=E(e);t[ze]=24===r?0:r})),je(["a","A"],(function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e})),je(["h","hh"],(function(e,t,n){t[ze]=E(e),y(n).bigHour=!0})),je("hmm",(function(e,t,n){var r=e.length-2;t[ze]=E(e.substr(0,r)),t[He]=E(e.substr(r)),y(n).bigHour=!0})),je("hmmss",(function(e,t,n){var r=e.length-4,i=e.length-2;t[ze]=E(e.substr(0,r)),t[He]=E(e.substr(r,2)),t[Ze]=E(e.substr(i)),y(n).bigHour=!0})),je("Hmm",(function(e,t,n){var r=e.length-2;t[ze]=E(e.substr(0,r)),t[He]=E(e.substr(r))})),je("Hmmss",(function(e,t,n){var r=e.length-4,i=e.length-2;t[ze]=E(e.substr(0,r)),t[He]=E(e.substr(r,2)),t[Ze]=E(e.substr(i))}));var rn=/[ap]\.?m?\.?/i;function on(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"}var an,sn=Qe("Hours",!0),un={calendar:N,longDateFormat:U,invalidDate:z,ordinal:Z,dayOfMonthOrdinalParse:q,relativeTime:W,months:at,monthsShort:ut,week:Ot,weekdays:Rt,weekdaysMin:Bt,weekdaysShort:Dt,meridiemParse:rn},cn={},ln={};function fn(e){return e?e.toLowerCase().replace("_","-"):e}function dn(e){for(var t,n,r,i,o=0;o<e.length;){for(t=(i=fn(e[o]).split("-")).length,n=(n=fn(e[o+1]))?n.split("-"):null;t>0;){if(r=pn(i.slice(0,t).join("-")))return r;if(n&&n.length>=t&&O(i,n,!0)>=t-1)break;t--}o++}return null}function pn(t){var r=null;if(!cn[t]&&e&&e.exports)try{r=an._abbr,n(44009)("./"+t),hn(r)}catch(e){}return cn[t]}function hn(e,t){var n;return e&&(n=c(t)?yn(e):gn(e,t))&&(an=n),an._abbr}function gn(e,t){if(null!==t){var n=un;if(t.abbr=e,null!=cn[e])P("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),n=cn[e]._config;else if(null!=t.parentLocale){if(null==cn[t.parentLocale])return ln[t.parentLocale]||(ln[t.parentLocale]=[]),ln[t.parentLocale].push({name:e,config:t}),null;n=cn[t.parentLocale]._config}return cn[e]=new D(j(n,t)),ln[e]&&ln[e].forEach((function(e){gn(e.name,e.config)})),hn(e),cn[e]}return delete cn[e],null}function mn(e,t){if(null!=t){var n,r,i=un;null!=(r=pn(e))&&(i=r._config),(n=new D(t=j(i,t))).parentLocale=cn[e],cn[e]=n,hn(e)}else null!=cn[e]&&(null!=cn[e].parentLocale?cn[e]=cn[e].parentLocale:null!=cn[e]&&delete cn[e]);return cn[e]}function yn(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return an;if(!a(e)){if(t=pn(e))return t;e=[e]}return dn(e)}function vn(){return A(cn)}function bn(e){var t,n=e._a;return n&&-2===y(e).overflow&&(t=n[Ue]<0||n[Ue]>11?Ue:n[Fe]<1||n[Fe]>it(n[Be],n[Ue])?Fe:n[ze]<0||n[ze]>24||24===n[ze]&&(0!==n[He]||0!==n[Ze]||0!==n[qe])?ze:n[He]<0||n[He]>59?He:n[Ze]<0||n[Ze]>59?Ze:n[qe]<0||n[qe]>999?qe:-1,y(e)._overflowDayOfYear&&(t<Be||t>Fe)&&(t=Fe),y(e)._overflowWeeks&&-1===t&&(t=Ve),y(e)._overflowWeekday&&-1===t&&(t=We),y(e).overflow=t),e}function _n(e,t,n){return null!=e?e:null!=t?t:n}function wn(e){var t=new Date(i.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}function Tn(e){var t,n,r,i,o,a=[];if(!e._d){for(r=wn(e),e._w&&null==e._a[Fe]&&null==e._a[Ue]&&xn(e),null!=e._dayOfYear&&(o=_n(e._a[Be],r[Be]),(e._dayOfYear>Ge(o)||0===e._dayOfYear)&&(y(e)._overflowDayOfYear=!0),n=wt(o,0,e._dayOfYear),e._a[Ue]=n.getUTCMonth(),e._a[Fe]=n.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=a[t]=r[t];for(;t<7;t++)e._a[t]=a[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[ze]&&0===e._a[He]&&0===e._a[Ze]&&0===e._a[qe]&&(e._nextDay=!0,e._a[ze]=0),e._d=(e._useUTC?wt:_t).apply(null,a),i=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[ze]=24),e._w&&void 0!==e._w.d&&e._w.d!==i&&(y(e).weekdayMismatch=!0)}}function xn(e){var t,n,r,i,o,a,s,u;if(null!=(t=e._w).GG||null!=t.W||null!=t.E)o=1,a=4,n=_n(t.GG,e._a[Be],St($n(),1,4).year),r=_n(t.W,1),((i=_n(t.E,1))<1||i>7)&&(u=!0);else{o=e._locale._week.dow,a=e._locale._week.doy;var c=St($n(),o,a);n=_n(t.gg,e._a[Be],c.year),r=_n(t.w,c.week),null!=t.d?((i=t.d)<0||i>6)&&(u=!0):null!=t.e?(i=t.e+o,(t.e<0||t.e>6)&&(u=!0)):i=o}r<1||r>kt(n,o,a)?y(e)._overflowWeeks=!0:null!=u?y(e)._overflowWeekday=!0:(s=xt(n,r,i,o,a),e._a[Be]=s.year,e._dayOfYear=s.dayOfYear)}var Sn=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,kn=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,En=/Z|[+-]\d\d(?::?\d\d)?/,On=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/]],Cn=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],Ln=/^\/?Date\((\-?\d+)/i;function An(e){var t,n,r,i,o,a,s=e._i,u=Sn.exec(s)||kn.exec(s);if(u){for(y(e).iso=!0,t=0,n=On.length;t<n;t++)if(On[t][1].exec(u[1])){i=On[t][0],r=!1!==On[t][2];break}if(null==i)return void(e._isValid=!1);if(u[3]){for(t=0,n=Cn.length;t<n;t++)if(Cn[t][1].exec(u[3])){o=(u[2]||" ")+Cn[t][0];break}if(null==o)return void(e._isValid=!1)}if(!r&&null!=o)return void(e._isValid=!1);if(u[4]){if(!En.exec(u[4]))return void(e._isValid=!1);a="Z"}e._f=i+(o||"")+(a||""),Fn(e)}else e._isValid=!1}var In=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/;function Pn(e,t,n,r,i,o){var a=[Mn(e),ut.indexOf(t),parseInt(n,10),parseInt(r,10),parseInt(i,10)];return o&&a.push(parseInt(o,10)),a}function Mn(e){var t=parseInt(e,10);return t<=49?2e3+t:t<=999?1900+t:t}function Rn(e){return e.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}function jn(e,t,n){return!e||Dt.indexOf(e)===new Date(t[0],t[1],t[2]).getDay()||(y(n).weekdayMismatch=!0,n._isValid=!1,!1)}var Dn={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Nn(e,t,n){if(e)return Dn[e];if(t)return 0;var r=parseInt(n,10),i=r%100;return(r-i)/100*60+i}function Bn(e){var t=In.exec(Rn(e._i));if(t){var n=Pn(t[4],t[3],t[2],t[5],t[6],t[7]);if(!jn(t[1],n,e))return;e._a=n,e._tzm=Nn(t[8],t[9],t[10]),e._d=wt.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),y(e).rfc2822=!0}else e._isValid=!1}function Un(e){var t=Ln.exec(e._i);null===t?(An(e),!1===e._isValid&&(delete e._isValid,Bn(e),!1===e._isValid&&(delete e._isValid,i.createFromInputFallback(e)))):e._d=new Date(+t[1])}function Fn(e){if(e._f!==i.ISO_8601)if(e._f!==i.RFC_2822){e._a=[],y(e).empty=!0;var t,n,r,o,a,s=""+e._i,u=s.length,c=0;for(r=fe(e._f,e._locale).match(re)||[],t=0;t<r.length;t++)o=r[t],(n=(s.match(Ie(o,e))||[])[0])&&((a=s.substr(0,s.indexOf(n))).length>0&&y(e).unusedInput.push(a),s=s.slice(s.indexOf(n)+n.length),c+=n.length),ae[o]?(n?y(e).empty=!1:y(e).unusedTokens.push(o),Ne(o,n,e)):e._strict&&!n&&y(e).unusedTokens.push(o);y(e).charsLeftOver=u-c,s.length>0&&y(e).unusedInput.push(s),e._a[ze]<=12&&!0===y(e).bigHour&&e._a[ze]>0&&(y(e).bigHour=void 0),y(e).parsedDateParts=e._a.slice(0),y(e).meridiem=e._meridiem,e._a[ze]=zn(e._locale,e._a[ze],e._meridiem),Tn(e),bn(e)}else Bn(e);else An(e)}function zn(e,t,n){var r;return null==n?t:null!=e.meridiemHour?e.meridiemHour(t,n):null!=e.isPM?((r=e.isPM(n))&&t<12&&(t+=12),r||12!==t||(t=0),t):t}function Hn(e){var t,n,r,i,o;if(0===e._f.length)return y(e).invalidFormat=!0,void(e._d=new Date(NaN));for(i=0;i<e._f.length;i++)o=0,t=w({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[i],Fn(t),v(t)&&(o+=y(t).charsLeftOver,o+=10*y(t).unusedTokens.length,y(t).score=o,(null==r||o<r)&&(r=o,n=t));h(e,n||t)}function Zn(e){if(!e._d){var t=Q(e._i);e._a=d([t.year,t.month,t.day||t.date,t.hour,t.minute,t.second,t.millisecond],(function(e){return e&&parseInt(e,10)})),Tn(e)}}function qn(e){var t=new x(bn(Vn(e)));return t._nextDay&&(t.add(1,"d"),t._nextDay=void 0),t}function Vn(e){var t=e._i,n=e._f;return e._locale=e._locale||yn(e._l),null===t||void 0===n&&""===t?b({nullInput:!0}):("string"==typeof t&&(e._i=t=e._locale.preparse(t)),S(t)?new x(bn(t)):(f(t)?e._d=t:a(n)?Hn(e):n?Fn(e):Wn(e),v(e)||(e._d=null),e))}function Wn(e){var t=e._i;c(t)?e._d=new Date(i.now()):f(t)?e._d=new Date(t.valueOf()):"string"==typeof t?Un(e):a(t)?(e._a=d(t.slice(0),(function(e){return parseInt(e,10)})),Tn(e)):s(t)?Zn(e):l(t)?e._d=new Date(t):i.createFromInputFallback(e)}function Gn(e,t,n,r,i){var o={};return!0!==n&&!1!==n||(r=n,n=void 0),(s(e)&&u(e)||a(e)&&0===e.length)&&(e=void 0),o._isAMomentObject=!0,o._useUTC=o._isUTC=i,o._l=n,o._i=e,o._f=t,o._strict=r,qn(o)}function $n(e,t,n,r){return Gn(e,t,n,r,!1)}i.createFromInputFallback=L("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged and will be removed in an upcoming major release. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",(function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))})),i.ISO_8601=function(){},i.RFC_2822=function(){};var Yn=L("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var e=$n.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:b()})),Kn=L("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var e=$n.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:b()}));function Xn(e,t){var n,r;if(1===t.length&&a(t[0])&&(t=t[0]),!t.length)return $n();for(n=t[0],r=1;r<t.length;++r)t[r].isValid()&&!t[r][e](n)||(n=t[r]);return n}function Qn(){return Xn("isBefore",[].slice.call(arguments,0))}function Jn(){return Xn("isAfter",[].slice.call(arguments,0))}var er=function(){return Date.now?Date.now():+new Date},tr=["year","quarter","month","week","day","hour","minute","second","millisecond"];function nr(e){for(var t in e)if(-1===Ye.call(tr,t)||null!=e[t]&&isNaN(e[t]))return!1;for(var n=!1,r=0;r<tr.length;++r)if(e[tr[r]]){if(n)return!1;parseFloat(e[tr[r]])!==E(e[tr[r]])&&(n=!0)}return!0}function rr(){return this._isValid}function ir(){return Er(NaN)}function or(e){var t=Q(e),n=t.year||0,r=t.quarter||0,i=t.month||0,o=t.week||0,a=t.day||0,s=t.hour||0,u=t.minute||0,c=t.second||0,l=t.millisecond||0;this._isValid=nr(t),this._milliseconds=+l+1e3*c+6e4*u+1e3*s*60*60,this._days=+a+7*o,this._months=+i+3*r+12*n,this._data={},this._locale=yn(),this._bubble()}function ar(e){return e instanceof or}function sr(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function ur(e,t){se(e,0,0,(function(){var e=this.utcOffset(),n="+";return e<0&&(e=-e,n="-"),n+ne(~~(e/60),2)+t+ne(~~e%60,2)}))}ur("Z",":"),ur("ZZ",""),Ae("Z",Ee),Ae("ZZ",Ee),je(["Z","ZZ"],(function(e,t,n){n._useUTC=!0,n._tzm=lr(Ee,e)}));var cr=/([\+\-]|\d\d)/gi;function lr(e,t){var n=(t||"").match(e);if(null===n)return null;var r=((n[n.length-1]||[])+"").match(cr)||["-",0,0],i=60*r[1]+E(r[2]);return 0===i?0:"+"===r[0]?i:-i}function fr(e,t){var n,r;return t._isUTC?(n=t.clone(),r=(S(e)||f(e)?e.valueOf():$n(e).valueOf())-n.valueOf(),n._d.setTime(n._d.valueOf()+r),i.updateOffset(n,!1),n):$n(e).local()}function dr(e){return 15*-Math.round(e._d.getTimezoneOffset()/15)}function pr(e,t,n){var r,o=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null!=e){if("string"==typeof e){if(null===(e=lr(Ee,e)))return this}else Math.abs(e)<16&&!n&&(e*=60);return!this._isUTC&&t&&(r=dr(this)),this._offset=e,this._isUTC=!0,null!=r&&this.add(r,"m"),o!==e&&(!t||this._changeInProgress?Ir(this,Er(e-o,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,i.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?o:dr(this)}function hr(e,t){return null!=e?("string"!=typeof e&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}function gr(e){return this.utcOffset(0,e)}function mr(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(dr(this),"m")),this}function yr(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var e=lr(ke,this._i);null!=e?this.utcOffset(e):this.utcOffset(0,!0)}return this}function vr(e){return!!this.isValid()&&(e=e?$n(e).utcOffset():0,(this.utcOffset()-e)%60==0)}function br(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function _r(){if(!c(this._isDSTShifted))return this._isDSTShifted;var e={};if(w(e,this),(e=Vn(e))._a){var t=e._isUTC?g(e._a):$n(e._a);this._isDSTShifted=this.isValid()&&O(e._a,t.toArray())>0}else this._isDSTShifted=!1;return this._isDSTShifted}function wr(){return!!this.isValid()&&!this._isUTC}function Tr(){return!!this.isValid()&&this._isUTC}function xr(){return!!this.isValid()&&this._isUTC&&0===this._offset}i.updateOffset=function(){};var Sr=/^(\-|\+)?(?:(\d*)[. ])?(\d+)\:(\d+)(?:\:(\d+)(\.\d*)?)?$/,kr=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Er(e,t){var n,r,i,o=e,a=null;return ar(e)?o={ms:e._milliseconds,d:e._days,M:e._months}:l(e)?(o={},t?o[t]=e:o.milliseconds=e):(a=Sr.exec(e))?(n="-"===a[1]?-1:1,o={y:0,d:E(a[Fe])*n,h:E(a[ze])*n,m:E(a[He])*n,s:E(a[Ze])*n,ms:E(sr(1e3*a[qe]))*n}):(a=kr.exec(e))?(n="-"===a[1]?-1:(a[1],1),o={y:Or(a[2],n),M:Or(a[3],n),w:Or(a[4],n),d:Or(a[5],n),h:Or(a[6],n),m:Or(a[7],n),s:Or(a[8],n)}):null==o?o={}:"object"==typeof o&&("from"in o||"to"in o)&&(i=Lr($n(o.from),$n(o.to)),(o={}).ms=i.milliseconds,o.M=i.months),r=new or(o),ar(e)&&p(e,"_locale")&&(r._locale=e._locale),r}function Or(e,t){var n=e&&parseFloat(e.replace(",","."));return(isNaN(n)?0:n)*t}function Cr(e,t){var n={milliseconds:0,months:0};return n.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(n.months,"M").isAfter(t)&&--n.months,n.milliseconds=+t-+e.clone().add(n.months,"M"),n}function Lr(e,t){var n;return e.isValid()&&t.isValid()?(t=fr(t,e),e.isBefore(t)?n=Cr(e,t):((n=Cr(t,e)).milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0}}function Ar(e,t){return function(n,r){var i;return null===r||isNaN(+r)||(P(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),i=n,n=r,r=i),Ir(this,Er(n="string"==typeof n?+n:n,r),e),this}}function Ir(e,t,n,r){var o=t._milliseconds,a=sr(t._days),s=sr(t._months);e.isValid()&&(r=null==r||r,s&&dt(e,Je(e,"Month")+s*n),a&&et(e,"Date",Je(e,"Date")+a*n),o&&e._d.setTime(e._d.valueOf()+o*n),r&&i.updateOffset(e,a||s))}Er.fn=or.prototype,Er.invalid=ir;var Pr=Ar(1,"add"),Mr=Ar(-1,"subtract");function Rr(e,t){var n=e.diff(t,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"}function jr(e,t){var n=e||$n(),r=fr(n,this).startOf("day"),o=i.calendarFormat(this,r)||"sameElse",a=t&&(M(t[o])?t[o].call(this,n):t[o]);return this.format(a||this.localeData().calendar(o,this,$n(n)))}function Dr(){return new x(this)}function Nr(e,t){var n=S(e)?e:$n(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=X(c(t)?"millisecond":t))?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(t).valueOf())}function Br(e,t){var n=S(e)?e:$n(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=X(c(t)?"millisecond":t))?this.valueOf()<n.valueOf():this.clone().endOf(t).valueOf()<n.valueOf())}function Ur(e,t,n,r){return("("===(r=r||"()")[0]?this.isAfter(e,n):!this.isBefore(e,n))&&(")"===r[1]?this.isBefore(t,n):!this.isAfter(t,n))}function Fr(e,t){var n,r=S(e)?e:$n(e);return!(!this.isValid()||!r.isValid())&&("millisecond"===(t=X(t||"millisecond"))?this.valueOf()===r.valueOf():(n=r.valueOf(),this.clone().startOf(t).valueOf()<=n&&n<=this.clone().endOf(t).valueOf()))}function zr(e,t){return this.isSame(e,t)||this.isAfter(e,t)}function Hr(e,t){return this.isSame(e,t)||this.isBefore(e,t)}function Zr(e,t,n){var r,i,o;if(!this.isValid())return NaN;if(!(r=fr(e,this)).isValid())return NaN;switch(i=6e4*(r.utcOffset()-this.utcOffset()),t=X(t)){case"year":o=qr(this,r)/12;break;case"month":o=qr(this,r);break;case"quarter":o=qr(this,r)/3;break;case"second":o=(this-r)/1e3;break;case"minute":o=(this-r)/6e4;break;case"hour":o=(this-r)/36e5;break;case"day":o=(this-r-i)/864e5;break;case"week":o=(this-r-i)/6048e5;break;default:o=this-r}return n?o:k(o)}function qr(e,t){var n=12*(t.year()-e.year())+(t.month()-e.month()),r=e.clone().add(n,"months");return-(n+(t-r<0?(t-r)/(r-e.clone().add(n-1,"months")):(t-r)/(e.clone().add(n+1,"months")-r)))||0}function Vr(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function Wr(e){if(!this.isValid())return null;var t=!0!==e,n=t?this.clone().utc():this;return n.year()<0||n.year()>9999?le(n,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):M(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this._d.valueOf()).toISOString().replace("Z",le(n,"Z")):le(n,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function Gr(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e="moment",t="";this.isLocal()||(e=0===this.utcOffset()?"moment.utc":"moment.parseZone",t="Z");var n="["+e+'("]',r=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",i="-MM-DD[T]HH:mm:ss.SSS",o=t+'[")]';return this.format(n+r+i+o)}function $r(e){e||(e=this.isUtc()?i.defaultFormatUtc:i.defaultFormat);var t=le(this,e);return this.localeData().postformat(t)}function Yr(e,t){return this.isValid()&&(S(e)&&e.isValid()||$n(e).isValid())?Er({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function Kr(e){return this.from($n(),e)}function Xr(e,t){return this.isValid()&&(S(e)&&e.isValid()||$n(e).isValid())?Er({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function Qr(e){return this.to($n(),e)}function Jr(e){var t;return void 0===e?this._locale._abbr:(null!=(t=yn(e))&&(this._locale=t),this)}i.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",i.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var ei=L("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",(function(e){return void 0===e?this.localeData():this.locale(e)}));function ti(){return this._locale}function ni(e){switch(e=X(e)){case"year":this.month(0);case"quarter":case"month":this.date(1);case"week":case"isoWeek":case"day":case"date":this.hours(0);case"hour":this.minutes(0);case"minute":this.seconds(0);case"second":this.milliseconds(0)}return"week"===e&&this.weekday(0),"isoWeek"===e&&this.isoWeekday(1),"quarter"===e&&this.month(3*Math.floor(this.month()/3)),this}function ri(e){return void 0===(e=X(e))||"millisecond"===e?this:("date"===e&&(e="day"),this.startOf(e).add(1,"isoWeek"===e?"week":e).subtract(1,"ms"))}function ii(){return this._d.valueOf()-6e4*(this._offset||0)}function oi(){return Math.floor(this.valueOf()/1e3)}function ai(){return new Date(this.valueOf())}function si(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function ui(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}}function ci(){return this.isValid()?this.toISOString():null}function li(){return v(this)}function fi(){return h({},y(this))}function di(){return y(this).overflow}function pi(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}function hi(e,t){se(0,[e,e.length],0,t)}function gi(e){return bi.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)}function mi(e){return bi.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)}function yi(){return kt(this.year(),1,4)}function vi(){var e=this.localeData()._week;return kt(this.year(),e.dow,e.doy)}function bi(e,t,n,r,i){var o;return null==e?St(this,r,i).year:(t>(o=kt(e,r,i))&&(t=o),_i.call(this,e,t,n,r,i))}function _i(e,t,n,r,i){var o=xt(e,t,n,r,i),a=wt(o.year,0,o.dayOfYear);return this.year(a.getUTCFullYear()),this.month(a.getUTCMonth()),this.date(a.getUTCDate()),this}function wi(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)}se(0,["gg",2],0,(function(){return this.weekYear()%100})),se(0,["GG",2],0,(function(){return this.isoWeekYear()%100})),hi("gggg","weekYear"),hi("ggggg","weekYear"),hi("GGGG","isoWeekYear"),hi("GGGGG","isoWeekYear"),K("weekYear","gg"),K("isoWeekYear","GG"),ee("weekYear",1),ee("isoWeekYear",1),Ae("G",Se),Ae("g",Se),Ae("GG",ye,pe),Ae("gg",ye,pe),Ae("GGGG",we,ge),Ae("gggg",we,ge),Ae("GGGGG",Te,me),Ae("ggggg",Te,me),De(["gggg","ggggg","GGGG","GGGGG"],(function(e,t,n,r){t[r.substr(0,2)]=E(e)})),De(["gg","GG"],(function(e,t,n,r){t[r]=i.parseTwoDigitYear(e)})),se("Q",0,"Qo","quarter"),K("quarter","Q"),ee("quarter",7),Ae("Q",de),je("Q",(function(e,t){t[Ue]=3*(E(e)-1)})),se("D",["DD",2],"Do","date"),K("date","D"),ee("date",9),Ae("D",ye),Ae("DD",ye,pe),Ae("Do",(function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient})),je(["D","DD"],Fe),je("Do",(function(e,t){t[Fe]=E(e.match(ye)[0])}));var Ti=Qe("Date",!0);function xi(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")}se("DDD",["DDDD",3],"DDDo","dayOfYear"),K("dayOfYear","DDD"),ee("dayOfYear",4),Ae("DDD",_e),Ae("DDDD",he),je(["DDD","DDDD"],(function(e,t,n){n._dayOfYear=E(e)})),se("m",["mm",2],0,"minute"),K("minute","m"),ee("minute",14),Ae("m",ye),Ae("mm",ye,pe),je(["m","mm"],He);var Si=Qe("Minutes",!1);se("s",["ss",2],0,"second"),K("second","s"),ee("second",15),Ae("s",ye),Ae("ss",ye,pe),je(["s","ss"],Ze);var ki,Ei=Qe("Seconds",!1);for(se("S",0,0,(function(){return~~(this.millisecond()/100)})),se(0,["SS",2],0,(function(){return~~(this.millisecond()/10)})),se(0,["SSS",3],0,"millisecond"),se(0,["SSSS",4],0,(function(){return 10*this.millisecond()})),se(0,["SSSSS",5],0,(function(){return 100*this.millisecond()})),se(0,["SSSSSS",6],0,(function(){return 1e3*this.millisecond()})),se(0,["SSSSSSS",7],0,(function(){return 1e4*this.millisecond()})),se(0,["SSSSSSSS",8],0,(function(){return 1e5*this.millisecond()})),se(0,["SSSSSSSSS",9],0,(function(){return 1e6*this.millisecond()})),K("millisecond","ms"),ee("millisecond",16),Ae("S",_e,de),Ae("SS",_e,pe),Ae("SSS",_e,he),ki="SSSS";ki.length<=9;ki+="S")Ae(ki,xe);function Oi(e,t){t[qe]=E(1e3*("0."+e))}for(ki="S";ki.length<=9;ki+="S")je(ki,Oi);var Ci=Qe("Milliseconds",!1);function Li(){return this._isUTC?"UTC":""}function Ai(){return this._isUTC?"Coordinated Universal Time":""}se("z",0,0,"zoneAbbr"),se("zz",0,0,"zoneName");var Ii=x.prototype;function Pi(e){return $n(1e3*e)}function Mi(){return $n.apply(null,arguments).parseZone()}function Ri(e){return e}Ii.add=Pr,Ii.calendar=jr,Ii.clone=Dr,Ii.diff=Zr,Ii.endOf=ri,Ii.format=$r,Ii.from=Yr,Ii.fromNow=Kr,Ii.to=Xr,Ii.toNow=Qr,Ii.get=tt,Ii.invalidAt=di,Ii.isAfter=Nr,Ii.isBefore=Br,Ii.isBetween=Ur,Ii.isSame=Fr,Ii.isSameOrAfter=zr,Ii.isSameOrBefore=Hr,Ii.isValid=li,Ii.lang=ei,Ii.locale=Jr,Ii.localeData=ti,Ii.max=Kn,Ii.min=Yn,Ii.parsingFlags=fi,Ii.set=nt,Ii.startOf=ni,Ii.subtract=Mr,Ii.toArray=si,Ii.toObject=ui,Ii.toDate=ai,Ii.toISOString=Wr,Ii.inspect=Gr,Ii.toJSON=ci,Ii.toString=Vr,Ii.unix=oi,Ii.valueOf=ii,Ii.creationData=pi,Ii.year=Ke,Ii.isLeapYear=Xe,Ii.weekYear=gi,Ii.isoWeekYear=mi,Ii.quarter=Ii.quarters=wi,Ii.month=pt,Ii.daysInMonth=ht,Ii.week=Ii.weeks=At,Ii.isoWeek=Ii.isoWeeks=It,Ii.weeksInYear=vi,Ii.isoWeeksInYear=yi,Ii.date=Ti,Ii.day=Ii.days=Ht,Ii.weekday=Zt,Ii.isoWeekday=qt,Ii.dayOfYear=xi,Ii.hour=Ii.hours=sn,Ii.minute=Ii.minutes=Si,Ii.second=Ii.seconds=Ei,Ii.millisecond=Ii.milliseconds=Ci,Ii.utcOffset=pr,Ii.utc=gr,Ii.local=mr,Ii.parseZone=yr,Ii.hasAlignedHourOffset=vr,Ii.isDST=br,Ii.isLocal=wr,Ii.isUtcOffset=Tr,Ii.isUtc=xr,Ii.isUTC=xr,Ii.zoneAbbr=Li,Ii.zoneName=Ai,Ii.dates=L("dates accessor is deprecated. Use date instead.",Ti),Ii.months=L("months accessor is deprecated. Use month instead",pt),Ii.years=L("years accessor is deprecated. Use year instead",Ke),Ii.zone=L("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",hr),Ii.isDSTShifted=L("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",_r);var ji=D.prototype;function Di(e,t,n,r){var i=yn(),o=g().set(r,t);return i[n](o,e)}function Ni(e,t,n){if(l(e)&&(t=e,e=void 0),e=e||"",null!=t)return Di(e,t,n,"month");var r,i=[];for(r=0;r<12;r++)i[r]=Di(e,r,n,"month");return i}function Bi(e,t,n,r){"boolean"==typeof e?(l(t)&&(n=t,t=void 0),t=t||""):(n=t=e,e=!1,l(t)&&(n=t,t=void 0),t=t||"");var i,o=yn(),a=e?o._week.dow:0;if(null!=n)return Di(t,(n+a)%7,r,"day");var s=[];for(i=0;i<7;i++)s[i]=Di(t,(i+a)%7,r,"day");return s}function Ui(e,t){return Ni(e,t,"months")}function Fi(e,t){return Ni(e,t,"monthsShort")}function zi(e,t,n){return Bi(e,t,n,"weekdays")}function Hi(e,t,n){return Bi(e,t,n,"weekdaysShort")}function Zi(e,t,n){return Bi(e,t,n,"weekdaysMin")}ji.calendar=B,ji.longDateFormat=F,ji.invalidDate=H,ji.ordinal=V,ji.preparse=Ri,ji.postformat=Ri,ji.relativeTime=G,ji.pastFuture=$,ji.set=R,ji.months=st,ji.monthsShort=ct,ji.monthsParse=ft,ji.monthsRegex=vt,ji.monthsShortRegex=mt,ji.week=Et,ji.firstDayOfYear=Lt,ji.firstDayOfWeek=Ct,ji.weekdays=jt,ji.weekdaysMin=Ut,ji.weekdaysShort=Nt,ji.weekdaysParse=zt,ji.weekdaysRegex=Wt,ji.weekdaysShortRegex=$t,ji.weekdaysMinRegex=Kt,ji.isPM=nn,ji.meridiem=on,hn("en",{dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1===E(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}}),i.lang=L("moment.lang is deprecated. Use moment.locale instead.",hn),i.langData=L("moment.langData is deprecated. Use moment.localeData instead.",yn);var qi=Math.abs;function Vi(){var e=this._data;return this._milliseconds=qi(this._milliseconds),this._days=qi(this._days),this._months=qi(this._months),e.milliseconds=qi(e.milliseconds),e.seconds=qi(e.seconds),e.minutes=qi(e.minutes),e.hours=qi(e.hours),e.months=qi(e.months),e.years=qi(e.years),this}function Wi(e,t,n,r){var i=Er(t,n);return e._milliseconds+=r*i._milliseconds,e._days+=r*i._days,e._months+=r*i._months,e._bubble()}function Gi(e,t){return Wi(this,e,t,1)}function $i(e,t){return Wi(this,e,t,-1)}function Yi(e){return e<0?Math.floor(e):Math.ceil(e)}function Ki(){var e,t,n,r,i,o=this._milliseconds,a=this._days,s=this._months,u=this._data;return o>=0&&a>=0&&s>=0||o<=0&&a<=0&&s<=0||(o+=864e5*Yi(Qi(s)+a),a=0,s=0),u.milliseconds=o%1e3,e=k(o/1e3),u.seconds=e%60,t=k(e/60),u.minutes=t%60,n=k(t/60),u.hours=n%24,a+=k(n/24),s+=i=k(Xi(a)),a-=Yi(Qi(i)),r=k(s/12),s%=12,u.days=a,u.months=s,u.years=r,this}function Xi(e){return 4800*e/146097}function Qi(e){return 146097*e/4800}function Ji(e){if(!this.isValid())return NaN;var t,n,r=this._milliseconds;if("month"===(e=X(e))||"year"===e)return t=this._days+r/864e5,n=this._months+Xi(t),"month"===e?n:n/12;switch(t=this._days+Math.round(Qi(this._months)),e){case"week":return t/7+r/6048e5;case"day":return t+r/864e5;case"hour":return 24*t+r/36e5;case"minute":return 1440*t+r/6e4;case"second":return 86400*t+r/1e3;case"millisecond":return Math.floor(864e5*t)+r;default:throw new Error("Unknown unit "+e)}}function eo(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*E(this._months/12):NaN}function to(e){return function(){return this.as(e)}}var no=to("ms"),ro=to("s"),io=to("m"),oo=to("h"),ao=to("d"),so=to("w"),uo=to("M"),co=to("y");function lo(){return Er(this)}function fo(e){return e=X(e),this.isValid()?this[e+"s"]():NaN}function po(e){return function(){return this.isValid()?this._data[e]:NaN}}var ho=po("milliseconds"),go=po("seconds"),mo=po("minutes"),yo=po("hours"),vo=po("days"),bo=po("months"),_o=po("years");function wo(){return k(this.days()/7)}var To=Math.round,xo={ss:44,s:45,m:45,h:22,d:26,M:11};function So(e,t,n,r,i){return i.relativeTime(t||1,!!n,e,r)}function ko(e,t,n){var r=Er(e).abs(),i=To(r.as("s")),o=To(r.as("m")),a=To(r.as("h")),s=To(r.as("d")),u=To(r.as("M")),c=To(r.as("y")),l=i<=xo.ss&&["s",i]||i<xo.s&&["ss",i]||o<=1&&["m"]||o<xo.m&&["mm",o]||a<=1&&["h"]||a<xo.h&&["hh",a]||s<=1&&["d"]||s<xo.d&&["dd",s]||u<=1&&["M"]||u<xo.M&&["MM",u]||c<=1&&["y"]||["yy",c];return l[2]=t,l[3]=+e>0,l[4]=n,So.apply(null,l)}function Eo(e){return void 0===e?To:"function"==typeof e&&(To=e,!0)}function Oo(e,t){return void 0!==xo[e]&&(void 0===t?xo[e]:(xo[e]=t,"s"===e&&(xo.ss=t-1),!0))}function Co(e){if(!this.isValid())return this.localeData().invalidDate();var t=this.localeData(),n=ko(this,!e,t);return e&&(n=t.pastFuture(+this,n)),t.postformat(n)}var Lo=Math.abs;function Ao(e){return(e>0)-(e<0)||+e}function Io(){if(!this.isValid())return this.localeData().invalidDate();var e,t,n=Lo(this._milliseconds)/1e3,r=Lo(this._days),i=Lo(this._months);e=k(n/60),t=k(e/60),n%=60,e%=60;var o=k(i/12),a=i%=12,s=r,u=t,c=e,l=n?n.toFixed(3).replace(/\.?0+$/,""):"",f=this.asSeconds();if(!f)return"P0D";var d=f<0?"-":"",p=Ao(this._months)!==Ao(f)?"-":"",h=Ao(this._days)!==Ao(f)?"-":"",g=Ao(this._milliseconds)!==Ao(f)?"-":"";return d+"P"+(o?p+o+"Y":"")+(a?p+a+"M":"")+(s?h+s+"D":"")+(u||c||l?"T":"")+(u?g+u+"H":"")+(c?g+c+"M":"")+(l?g+l+"S":"")}var Po=or.prototype;return Po.isValid=rr,Po.abs=Vi,Po.add=Gi,Po.subtract=$i,Po.as=Ji,Po.asMilliseconds=no,Po.asSeconds=ro,Po.asMinutes=io,Po.asHours=oo,Po.asDays=ao,Po.asWeeks=so,Po.asMonths=uo,Po.asYears=co,Po.valueOf=eo,Po._bubble=Ki,Po.clone=lo,Po.get=fo,Po.milliseconds=ho,Po.seconds=go,Po.minutes=mo,Po.hours=yo,Po.days=vo,Po.weeks=wo,Po.months=bo,Po.years=_o,Po.humanize=Co,Po.toISOString=Io,Po.toString=Io,Po.toJSON=Io,Po.locale=Jr,Po.localeData=ti,Po.toIsoString=L("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Io),Po.lang=ei,se("X",0,0,"unix"),se("x",0,0,"valueOf"),Ae("x",Se),Ae("X",Oe),je("X",(function(e,t,n){n._d=new Date(1e3*parseFloat(e,10))})),je("x",(function(e,t,n){n._d=new Date(E(e))})),i.version="2.20.1",o($n),i.fn=Ii,i.min=Qn,i.max=Jn,i.now=er,i.utc=g,i.unix=Pi,i.months=Ui,i.isDate=f,i.locale=hn,i.invalid=b,i.duration=Er,i.isMoment=S,i.weekdays=zi,i.parseZone=Mi,i.localeData=yn,i.isDuration=ar,i.monthsShort=Fi,i.weekdaysMin=Zi,i.defineLocale=gn,i.updateLocale=mn,i.locales=vn,i.weekdaysShort=Hi,i.normalizeUnits=X,i.relativeTimeRounding=Eo,i.relativeTimeThreshold=Oo,i.calendarFormat=Rr,i.prototype=Ii,i.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"YYYY-[W]WW",MONTH:"YYYY-MM"},i}()},84221:function(e,t,n){var r=n(46894).getUint64;e.exports=function(e){var t=new DataView(e.buffer,e.byteOffset,e.byteLength),n={version:e[0],flags:new Uint8Array(e.subarray(1,4)),references:[],referenceId:t.getUint32(4),timescale:t.getUint32(8)},i=12;0===n.version?(n.earliestPresentationTime=t.getUint32(i),n.firstOffset=t.getUint32(i+4),i+=8):(n.earliestPresentationTime=r(e.subarray(i)),n.firstOffset=r(e.subarray(i+8)),i+=16),i+=2;var o=t.getUint16(i);for(i+=2;o>0;i+=12,o--)n.references.push({referenceType:(128&e[i])>>>7,referencedSize:2147483647&t.getUint32(i),subsegmentDuration:t.getUint32(i+4),startsWithSap:!!(128&e[i+8]),sapType:(112&e[i+8])>>>4,sapDeltaTime:268435455&t.getUint32(i+8)});return n}},51489:function(e){var t,n,r,i,o,a,s,u=9e4;t=function(e){return e*u},n=function(e,t){return e*t},r=function(e){return e/u},i=function(e,t){return e/t},o=function(e,n){return t(i(e,n))},a=function(e,t){return n(r(e),t)},s=function(e,t,n){return r(n?e:e-t)},e.exports={ONE_SECOND_IN_TS:u,secondsToVideoTs:t,secondsToAudioTs:n,videoTsToSeconds:r,audioTsToSeconds:i,audioTsToVideoTs:o,videoTsToAudioTs:a,metadataTsToSeconds:s}},46894:function(e){var t=Math.pow(2,32);e.exports={getUint64:function(e){var n,r=new DataView(e.buffer,e.byteOffset,e.byteLength);return r.getBigUint64?(n=r.getBigUint64(0))<Number.MAX_SAFE_INTEGER?Number(n):n:r.getUint32(0)*t+r.getUint32(4)},MAX_UINT32:t}},82120:function(e){"use strict";e.exports=Number.isNaN||function(e){return e!=e}},92077:function(e,t,n){var r,i;r=function(){var e,t,n,r,i,o="2.0.6",a={},s={},u={currentLocale:"en",zeroFormat:null,nullFormat:null,defaultFormat:"0,0",scalePercentBy100:!0},c={currentLocale:u.currentLocale,zeroFormat:u.zeroFormat,nullFormat:u.nullFormat,defaultFormat:u.defaultFormat,scalePercentBy100:u.scalePercentBy100};function l(e,t){this._input=e,this._value=t}return(e=function(n){var r,i,o,s;if(e.isNumeral(n))r=n.value();else if(0===n||void 0===n)r=0;else if(null===n||t.isNaN(n))r=null;else if("string"==typeof n)if(c.zeroFormat&&n===c.zeroFormat)r=0;else if(c.nullFormat&&n===c.nullFormat||!n.replace(/[^0-9]+/g,"").length)r=null;else{for(i in a)if((s="function"==typeof a[i].regexps.unformat?a[i].regexps.unformat():a[i].regexps.unformat)&&n.match(s)){o=a[i].unformat;break}r=(o=o||e._.stringToNumber)(n)}else r=Number(n)||null;return new l(n,r)}).version=o,e.isNumeral=function(e){return e instanceof l},e._=t={numberToFormat:function(t,n,r){var i,o,a,u,c,l,f,d=s[e.options.currentLocale],p=!1,h=!1,g=0,m="",y=1e12,v=1e9,b=1e6,_=1e3,w="",T=!1;if(t=t||0,o=Math.abs(t),e._.includes(n,"(")?(p=!0,n=n.replace(/[\(|\)]/g,"")):(e._.includes(n,"+")||e._.includes(n,"-"))&&(c=e._.includes(n,"+")?n.indexOf("+"):t<0?n.indexOf("-"):-1,n=n.replace(/[\+|\-]/g,"")),e._.includes(n,"a")&&(i=!!(i=n.match(/a(k|m|b|t)?/))&&i[1],e._.includes(n," a")&&(m=" "),n=n.replace(new RegExp(m+"a[kmbt]?"),""),o>=y&&!i||"t"===i?(m+=d.abbreviations.trillion,t/=y):o<y&&o>=v&&!i||"b"===i?(m+=d.abbreviations.billion,t/=v):o<v&&o>=b&&!i||"m"===i?(m+=d.abbreviations.million,t/=b):(o<b&&o>=_&&!i||"k"===i)&&(m+=d.abbreviations.thousand,t/=_)),e._.includes(n,"[.]")&&(h=!0,n=n.replace("[.]",".")),a=t.toString().split(".")[0],u=n.split(".")[1],l=n.indexOf(","),g=(n.split(".")[0].split(",")[0].match(/0/g)||[]).length,u?(e._.includes(u,"[")?(u=(u=u.replace("]","")).split("["),w=e._.toFixed(t,u[0].length+u[1].length,r,u[1].length)):w=e._.toFixed(t,u.length,r),a=w.split(".")[0],w=e._.includes(w,".")?d.delimiters.decimal+w.split(".")[1]:"",h&&0===Number(w.slice(1))&&(w="")):a=e._.toFixed(t,0,r),m&&!i&&Number(a)>=1e3&&m!==d.abbreviations.trillion)switch(a=String(Number(a)/1e3),m){case d.abbreviations.thousand:m=d.abbreviations.million;break;case d.abbreviations.million:m=d.abbreviations.billion;break;case d.abbreviations.billion:m=d.abbreviations.trillion}if(e._.includes(a,"-")&&(a=a.slice(1),T=!0),a.length<g)for(var x=g-a.length;x>0;x--)a="0"+a;return l>-1&&(a=a.toString().replace(/(\d)(?=(\d{3})+(?!\d))/g,"$1"+d.delimiters.thousands)),0===n.indexOf(".")&&(a=""),f=a+w+(m||""),p?f=(p&&T?"(":"")+f+(p&&T?")":""):c>=0?f=0===c?(T?"-":"+")+f:f+(T?"-":"+"):T&&(f="-"+f),f},stringToNumber:function(e){var t,n,r,i=s[c.currentLocale],o=e,a={thousand:3,million:6,billion:9,trillion:12};if(c.zeroFormat&&e===c.zeroFormat)n=0;else if(c.nullFormat&&e===c.nullFormat||!e.replace(/[^0-9]+/g,"").length)n=null;else{for(t in n=1,"."!==i.delimiters.decimal&&(e=e.replace(/\./g,"").replace(i.delimiters.decimal,".")),a)if(r=new RegExp("[^a-zA-Z]"+i.abbreviations[t]+"(?:\\)|(\\"+i.currency.symbol+")?(?:\\))?)?$"),o.match(r)){n*=Math.pow(10,a[t]);break}n*=(e.split("-").length+Math.min(e.split("(").length-1,e.split(")").length-1))%2?1:-1,e=e.replace(/[^0-9\.]+/g,""),n*=Number(e)}return n},isNaN:function(e){return"number"==typeof e&&isNaN(e)},includes:function(e,t){return-1!==e.indexOf(t)},insert:function(e,t,n){return e.slice(0,n)+t+e.slice(n)},reduce:function(e,t){if(null===this)throw new TypeError("Array.prototype.reduce called on null or undefined");if("function"!=typeof t)throw new TypeError(t+" is not a function");var n,r=Object(e),i=r.length>>>0,o=0;if(3===arguments.length)n=arguments[2];else{for(;o<i&&!(o in r);)o++;if(o>=i)throw new TypeError("Reduce of empty array with no initial value");n=r[o++]}for(;o<i;o++)o in r&&(n=t(n,r[o],o,r));return n},multiplier:function(e){var t=e.toString().split(".");return t.length<2?1:Math.pow(10,t[1].length)},correctionFactor:function(){return Array.prototype.slice.call(arguments).reduce((function(e,n){var r=t.multiplier(n);return e>r?e:r}),1)},toFixed:function(e,t,n,r){var i,o,a,s,u=e.toString().split("."),c=t-(r||0);return i=2===u.length?Math.min(Math.max(u[1].length,c),t):c,a=Math.pow(10,i),s=(n(e+"e+"+i)/a).toFixed(i),r>t-i&&(o=new RegExp("\\.?0{1,"+(r-(t-i))+"}$"),s=s.replace(o,"")),s}},e.options=c,e.formats=a,e.locales=s,e.locale=function(e){return e&&(c.currentLocale=e.toLowerCase()),c.currentLocale},e.localeData=function(e){if(!e)return s[c.currentLocale];if(e=e.toLowerCase(),!s[e])throw new Error("Unknown locale : "+e);return s[e]},e.reset=function(){for(var e in u)c[e]=u[e]},e.zeroFormat=function(e){c.zeroFormat="string"==typeof e?e:null},e.nullFormat=function(e){c.nullFormat="string"==typeof e?e:null},e.defaultFormat=function(e){c.defaultFormat="string"==typeof e?e:"0.0"},e.register=function(e,t,n){if(t=t.toLowerCase(),this[e+"s"][t])throw new TypeError(t+" "+e+" already registered.");return this[e+"s"][t]=n,n},e.validate=function(t,n){var r,i,o,a,s,u,c,l;if("string"!=typeof t&&(t+="",console.warn&&console.warn("Numeral.js: Value is not string. It has been co-erced to: ",t)),(t=t.trim()).match(/^\d+$/))return!0;if(""===t)return!1;try{c=e.localeData(n)}catch(t){c=e.localeData(e.locale())}return o=c.currency.symbol,s=c.abbreviations,r=c.delimiters.decimal,i="."===c.delimiters.thousands?"\\.":c.delimiters.thousands,!(null!==(l=t.match(/^[^\d]+/))&&(t=t.substr(1),l[0]!==o)||null!==(l=t.match(/[^\d]+$/))&&(t=t.slice(0,-1),l[0]!==s.thousand&&l[0]!==s.million&&l[0]!==s.billion&&l[0]!==s.trillion)||(u=new RegExp(i+"{2}"),t.match(/[^\d.,]/g)||(a=t.split(r)).length>2||(a.length<2?!a[0].match(/^\d+.*\d$/)||a[0].match(u):1===a[0].length?!a[0].match(/^\d+$/)||a[0].match(u)||!a[1].match(/^\d+$/):!a[0].match(/^\d+.*\d$/)||a[0].match(u)||!a[1].match(/^\d+$/))))},e.fn=l.prototype={clone:function(){return e(this)},format:function(t,n){var r,i,o,s=this._value,u=t||c.defaultFormat;if(n=n||Math.round,0===s&&null!==c.zeroFormat)i=c.zeroFormat;else if(null===s&&null!==c.nullFormat)i=c.nullFormat;else{for(r in a)if(u.match(a[r].regexps.format)){o=a[r].format;break}i=(o=o||e._.numberToFormat)(s,u,n)}return i},value:function(){return this._value},input:function(){return this._input},set:function(e){return this._value=Number(e),this},add:function(e){var n=t.correctionFactor.call(null,this._value,e);function r(e,t,r,i){return e+Math.round(n*t)}return this._value=t.reduce([this._value,e],r,0)/n,this},subtract:function(e){var n=t.correctionFactor.call(null,this._value,e);function r(e,t,r,i){return e-Math.round(n*t)}return this._value=t.reduce([e],r,Math.round(this._value*n))/n,this},multiply:function(e){function n(e,n,r,i){var o=t.correctionFactor(e,n);return Math.round(e*o)*Math.round(n*o)/Math.round(o*o)}return this._value=t.reduce([this._value,e],n,1),this},divide:function(e){function n(e,n,r,i){var o=t.correctionFactor(e,n);return Math.round(e*o)/Math.round(n*o)}return this._value=t.reduce([this._value,e],n),this},difference:function(t){return Math.abs(e(this._value).subtract(t).value())}},e.register("locale","en",{delimiters:{thousands:",",decimal:"."},abbreviations:{thousand:"k",million:"m",billion:"b",trillion:"t"},ordinal:function(e){var t=e%10;return 1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th"},currency:{symbol:"$"}}),e.register("format","bps",{regexps:{format:/(BPS)/,unformat:/(BPS)/},format:function(t,n,r){var i,o=e._.includes(n," BPS")?" ":"";return t*=1e4,n=n.replace(/\s?BPS/,""),i=e._.numberToFormat(t,n,r),e._.includes(i,")")?((i=i.split("")).splice(-1,0,o+"BPS"),i=i.join("")):i=i+o+"BPS",i},unformat:function(t){return+(1e-4*e._.stringToNumber(t)).toFixed(15)}}),r={base:1024,suffixes:["B","KiB","MiB","GiB","TiB","PiB","EiB","ZiB","YiB"]},i="("+(i=(n={base:1e3,suffixes:["B","KB","MB","GB","TB","PB","EB","ZB","YB"]}).suffixes.concat(r.suffixes.filter((function(e){return n.suffixes.indexOf(e)<0}))).join("|")).replace("B","B(?!PS)")+")",e.register("format","bytes",{regexps:{format:/([0\s]i?b)/,unformat:new RegExp(i)},format:function(t,i,o){var a,s,u,c=e._.includes(i,"ib")?r:n,l=e._.includes(i," b")||e._.includes(i," ib")?" ":"";for(i=i.replace(/\s?i?b/,""),a=0;a<=c.suffixes.length;a++)if(s=Math.pow(c.base,a),u=Math.pow(c.base,a+1),null===t||0===t||t>=s&&t<u){l+=c.suffixes[a],s>0&&(t/=s);break}return e._.numberToFormat(t,i,o)+l},unformat:function(t){var i,o,a=e._.stringToNumber(t);if(a){for(i=n.suffixes.length-1;i>=0;i--){if(e._.includes(t,n.suffixes[i])){o=Math.pow(n.base,i);break}if(e._.includes(t,r.suffixes[i])){o=Math.pow(r.base,i);break}}a*=o||1}return a}}),e.register("format","currency",{regexps:{format:/(\$)/},format:function(t,n,r){var i,o,a=e.locales[e.options.currentLocale],s={before:n.match(/^([\+|\-|\(|\s|\$]*)/)[0],after:n.match(/([\+|\-|\)|\s|\$]*)$/)[0]};for(n=n.replace(/\s?\$\s?/,""),i=e._.numberToFormat(t,n,r),t>=0?(s.before=s.before.replace(/[\-\(]/,""),s.after=s.after.replace(/[\-\)]/,"")):t<0&&!e._.includes(s.before,"-")&&!e._.includes(s.before,"(")&&(s.before="-"+s.before),o=0;o<s.before.length;o++)switch(s.before[o]){case"$":i=e._.insert(i,a.currency.symbol,o);break;case" ":i=e._.insert(i," ",o+a.currency.symbol.length-1)}for(o=s.after.length-1;o>=0;o--)switch(s.after[o]){case"$":i=o===s.after.length-1?i+a.currency.symbol:e._.insert(i,a.currency.symbol,-(s.after.length-(1+o)));break;case" ":i=o===s.after.length-1?i+" ":e._.insert(i," ",-(s.after.length-(1+o)+a.currency.symbol.length-1))}return i}}),e.register("format","exponential",{regexps:{format:/(e\+|e-)/,unformat:/(e\+|e-)/},format:function(t,n,r){var i=("number"!=typeof t||e._.isNaN(t)?"0e+0":t.toExponential()).split("e");return n=n.replace(/e[\+|\-]{1}0/,""),e._.numberToFormat(Number(i[0]),n,r)+"e"+i[1]},unformat:function(t){var n=e._.includes(t,"e+")?t.split("e+"):t.split("e-"),r=Number(n[0]),i=Number(n[1]);function o(t,n,r,i){var o=e._.correctionFactor(t,n);return t*o*(n*o)/(o*o)}return i=e._.includes(t,"e-")?i*=-1:i,e._.reduce([r,Math.pow(10,i)],o,1)}}),e.register("format","ordinal",{regexps:{format:/(o)/},format:function(t,n,r){var i=e.locales[e.options.currentLocale],o=e._.includes(n," o")?" ":"";return n=n.replace(/\s?o/,""),o+=i.ordinal(t),e._.numberToFormat(t,n,r)+o}}),e.register("format","percentage",{regexps:{format:/(%)/,unformat:/(%)/},format:function(t,n,r){var i,o=e._.includes(n," %")?" ":"";return e.options.scalePercentBy100&&(t*=100),n=n.replace(/\s?\%/,""),i=e._.numberToFormat(t,n,r),e._.includes(i,")")?((i=i.split("")).splice(-1,0,o+"%"),i=i.join("")):i=i+o+"%",i},unformat:function(t){var n=e._.stringToNumber(t);return e.options.scalePercentBy100?.01*n:n}}),e.register("format","time",{regexps:{format:/(:)/,unformat:/(:)/},format:function(e,t,n){var r=Math.floor(e/60/60),i=Math.floor((e-60*r*60)/60),o=Math.round(e-60*r*60-60*i);return r+":"+(i<10?"0"+i:i)+":"+(o<10?"0"+o:o)},unformat:function(e){var t=e.split(":"),n=0;return 3===t.length?(n+=60*Number(t[0])*60,n+=60*Number(t[1]),n+=Number(t[2])):2===t.length&&(n+=60*Number(t[0]),n+=Number(t[1])),Number(n)}}),e},void 0===(i="function"==typeof r?r.call(t,n,t,e):r)||(e.exports=i)},26470:function(e){"use strict";function t(e){if("string"!=typeof e)throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}function n(e,t){for(var n,r="",i=0,o=-1,a=0,s=0;s<=e.length;++s){if(s<e.length)n=e.charCodeAt(s);else{if(47===n)break;n=47}if(47===n){if(o===s-1||1===a);else if(o!==s-1&&2===a){if(r.length<2||2!==i||46!==r.charCodeAt(r.length-1)||46!==r.charCodeAt(r.length-2))if(r.length>2){var u=r.lastIndexOf("/");if(u!==r.length-1){-1===u?(r="",i=0):i=(r=r.slice(0,u)).length-1-r.lastIndexOf("/"),o=s,a=0;continue}}else if(2===r.length||1===r.length){r="",i=0,o=s,a=0;continue}t&&(r.length>0?r+="/..":r="..",i=2)}else r.length>0?r+="/"+e.slice(o+1,s):r=e.slice(o+1,s),i=s-o-1;o=s,a=0}else 46===n&&-1!==a?++a:a=-1}return r}var r={resolve:function(){for(var e,r="",i=!1,o=arguments.length-1;o>=-1&&!i;o--){var a;o>=0?a=arguments[o]:(void 0===e&&(e=process.cwd()),a=e),t(a),0!==a.length&&(r=a+"/"+r,i=47===a.charCodeAt(0))}return r=n(r,!i),i?r.length>0?"/"+r:"/":r.length>0?r:"."},normalize:function(e){if(t(e),0===e.length)return".";var r=47===e.charCodeAt(0),i=47===e.charCodeAt(e.length-1);return 0!==(e=n(e,!r)).length||r||(e="."),e.length>0&&i&&(e+="/"),r?"/"+e:e},isAbsolute:function(e){return t(e),e.length>0&&47===e.charCodeAt(0)},join:function(){if(0===arguments.length)return".";for(var e,n=0;n<arguments.length;++n){var i=arguments[n];t(i),i.length>0&&(void 0===e?e=i:e+="/"+i)}return void 0===e?".":r.normalize(e)},relative:function(e,n){if(t(e),t(n),e===n)return"";if((e=r.resolve(e))===(n=r.resolve(n)))return"";for(var i=1;i<e.length&&47===e.charCodeAt(i);++i);for(var o=e.length,a=o-i,s=1;s<n.length&&47===n.charCodeAt(s);++s);for(var u=n.length-s,c=a<u?a:u,l=-1,f=0;f<=c;++f){if(f===c){if(u>c){if(47===n.charCodeAt(s+f))return n.slice(s+f+1);if(0===f)return n.slice(s+f)}else a>c&&(47===e.charCodeAt(i+f)?l=f:0===f&&(l=0));break}var d=e.charCodeAt(i+f);if(d!==n.charCodeAt(s+f))break;47===d&&(l=f)}var p="";for(f=i+l+1;f<=o;++f)f!==o&&47!==e.charCodeAt(f)||(0===p.length?p+="..":p+="/..");return p.length>0?p+n.slice(s+l):(s+=l,47===n.charCodeAt(s)&&++s,n.slice(s))},_makeLong:function(e){return e},dirname:function(e){if(t(e),0===e.length)return".";for(var n=e.charCodeAt(0),r=47===n,i=-1,o=!0,a=e.length-1;a>=1;--a)if(47===(n=e.charCodeAt(a))){if(!o){i=a;break}}else o=!1;return-1===i?r?"/":".":r&&1===i?"//":e.slice(0,i)},basename:function(e,n){if(void 0!==n&&"string"!=typeof n)throw new TypeError('"ext" argument must be a string');t(e);var r,i=0,o=-1,a=!0;if(void 0!==n&&n.length>0&&n.length<=e.length){if(n.length===e.length&&n===e)return"";var s=n.length-1,u=-1;for(r=e.length-1;r>=0;--r){var c=e.charCodeAt(r);if(47===c){if(!a){i=r+1;break}}else-1===u&&(a=!1,u=r+1),s>=0&&(c===n.charCodeAt(s)?-1==--s&&(o=r):(s=-1,o=u))}return i===o?o=u:-1===o&&(o=e.length),e.slice(i,o)}for(r=e.length-1;r>=0;--r)if(47===e.charCodeAt(r)){if(!a){i=r+1;break}}else-1===o&&(a=!1,o=r+1);return-1===o?"":e.slice(i,o)},extname:function(e){t(e);for(var n=-1,r=0,i=-1,o=!0,a=0,s=e.length-1;s>=0;--s){var u=e.charCodeAt(s);if(47!==u)-1===i&&(o=!1,i=s+1),46===u?-1===n?n=s:1!==a&&(a=1):-1!==n&&(a=-1);else if(!o){r=s+1;break}}return-1===n||-1===i||0===a||1===a&&n===i-1&&n===r+1?"":e.slice(n,i)},format:function(e){if(null===e||"object"!=typeof e)throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof e);return function(e,t){var n=t.dir||t.root,r=t.base||(t.name||"")+(t.ext||"");return n?n===t.root?n+r:n+e+r:r}("/",e)},parse:function(e){t(e);var n={root:"",dir:"",base:"",ext:"",name:""};if(0===e.length)return n;var r,i=e.charCodeAt(0),o=47===i;o?(n.root="/",r=1):r=0;for(var a=-1,s=0,u=-1,c=!0,l=e.length-1,f=0;l>=r;--l)if(47!==(i=e.charCodeAt(l)))-1===u&&(c=!1,u=l+1),46===i?-1===a?a=l:1!==f&&(f=1):-1!==a&&(f=-1);else if(!c){s=l+1;break}return-1===a||-1===u||0===f||1===f&&a===u-1&&a===s+1?-1!==u&&(n.base=n.name=0===s&&o?e.slice(1,u):e.slice(s,u)):(0===s&&o?(n.name=e.slice(1,a),n.base=e.slice(1,u)):(n.name=e.slice(s,a),n.base=e.slice(s,u)),n.ext=e.slice(a,u)),s>0?n.dir=e.slice(0,s-1):o&&(n.dir="/"),n},sep:"/",delimiter:":",win32:null,posix:null};r.posix=r,e.exports=r},92703:function(e,t,n){"use strict";var r=n(50414);function i(){}function o(){}o.resetWarningCache=i,e.exports=function(){function e(e,t,n,i,o,a){if(a!==r){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:o,resetWarningCache:i};return n.PropTypes=n,n}},45697:function(e,t,n){e.exports=n(92703)()},50414:function(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},74971:function(e,t,n){var r;e=n.nmd(e),function(i){t&&t.nodeType,e&&e.nodeType;var o="object"==typeof n.g&&n.g;o.global!==o&&o.window!==o&&o.self;var a,s=2147483647,u=36,c=/^xn--/,l=/[^\x20-\x7E]/,f=/[\x2E\u3002\uFF0E\uFF61]/g,d={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},p=Math.floor,h=String.fromCharCode;function g(e){throw RangeError(d[e])}function m(e,t){for(var n=e.length,r=[];n--;)r[n]=t(e[n]);return r}function y(e,t){var n=e.split("@"),r="";return n.length>1&&(r=n[0]+"@",e=n[1]),r+m((e=e.replace(f,".")).split("."),t).join(".")}function v(e){for(var t,n,r=[],i=0,o=e.length;i<o;)(t=e.charCodeAt(i++))>=55296&&t<=56319&&i<o?56320==(64512&(n=e.charCodeAt(i++)))?r.push(((1023&t)<<10)+(1023&n)+65536):(r.push(t),i--):r.push(t);return r}function b(e){return m(e,(function(e){var t="";return e>65535&&(t+=h((e-=65536)>>>10&1023|55296),e=56320|1023&e),t+=h(e)})).join("")}function _(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function w(e,t,n){var r=0;for(e=n?p(e/700):e>>1,e+=p(e/t);e>455;r+=u)e=p(e/35);return p(r+36*e/(e+38))}function T(e){var t,n,r,i,o,a,c,l,f,d,h,m=[],y=e.length,v=0,_=128,T=72;for((n=e.lastIndexOf("-"))<0&&(n=0),r=0;r<n;++r)e.charCodeAt(r)>=128&&g("not-basic"),m.push(e.charCodeAt(r));for(i=n>0?n+1:0;i<y;){for(o=v,a=1,c=u;i>=y&&g("invalid-input"),((l=(h=e.charCodeAt(i++))-48<10?h-22:h-65<26?h-65:h-97<26?h-97:u)>=u||l>p((s-v)/a))&&g("overflow"),v+=l*a,!(l<(f=c<=T?1:c>=T+26?26:c-T));c+=u)a>p(s/(d=u-f))&&g("overflow"),a*=d;T=w(v-o,t=m.length+1,0==o),p(v/t)>s-_&&g("overflow"),_+=p(v/t),v%=t,m.splice(v++,0,_)}return b(m)}function x(e){var t,n,r,i,o,a,c,l,f,d,m,y,b,T,x,S=[];for(y=(e=v(e)).length,t=128,n=0,o=72,a=0;a<y;++a)(m=e[a])<128&&S.push(h(m));for(r=i=S.length,i&&S.push("-");r<y;){for(c=s,a=0;a<y;++a)(m=e[a])>=t&&m<c&&(c=m);for(c-t>p((s-n)/(b=r+1))&&g("overflow"),n+=(c-t)*b,t=c,a=0;a<y;++a)if((m=e[a])<t&&++n>s&&g("overflow"),m==t){for(l=n,f=u;!(l<(d=f<=o?1:f>=o+26?26:f-o));f+=u)x=l-d,T=u-d,S.push(h(_(d+x%T,0))),l=p(x/T);S.push(h(_(l,0))),o=w(n,b,r==i),n=0,++r}++n,++t}return S.join("")}a={version:"1.3.2",ucs2:{decode:v,encode:b},decode:T,encode:x,toASCII:function(e){return y(e,(function(e){return l.test(e)?"xn--"+x(e):e}))},toUnicode:function(e){return y(e,(function(e){return c.test(e)?T(e.slice(4).toLowerCase()):e}))}},void 0===(r=function(){return a}.call(t,n,t,e))||(e.exports=r)}()},55798:function(e){"use strict";var t=String.prototype.replace,n=/%20/g,r="RFC1738",i="RFC3986";e.exports={default:i,formatters:{RFC1738:function(e){return t.call(e,n,"+")},RFC3986:function(e){return String(e)}},RFC1738:r,RFC3986:i}},80129:function(e,t,n){"use strict";var r=n(58261),i=n(55235),o=n(55798);e.exports={formats:o,parse:i,stringify:r}},55235:function(e,t,n){"use strict";var r=n(12769),i=Object.prototype.hasOwnProperty,o=Array.isArray,a={allowDots:!1,allowPrototypes:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:r.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},s=function(e){return e.replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(parseInt(t,10))}))},u=function(e,t){return e&&"string"==typeof e&&t.comma&&e.indexOf(",")>-1?e.split(","):e},c=function(e,t,n,r){if(e){var o=n.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e,a=/(\[[^[\]]*])/g,s=n.depth>0&&/(\[[^[\]]*])/.exec(o),c=s?o.slice(0,s.index):o,l=[];if(c){if(!n.plainObjects&&i.call(Object.prototype,c)&&!n.allowPrototypes)return;l.push(c)}for(var f=0;n.depth>0&&null!==(s=a.exec(o))&&f<n.depth;){if(f+=1,!n.plainObjects&&i.call(Object.prototype,s[1].slice(1,-1))&&!n.allowPrototypes)return;l.push(s[1])}return s&&l.push("["+o.slice(s.index)+"]"),function(e,t,n,r){for(var i=r?t:u(t,n),o=e.length-1;o>=0;--o){var a,s=e[o];if("[]"===s&&n.parseArrays)a=[].concat(i);else{a=n.plainObjects?Object.create(null):{};var c="["===s.charAt(0)&&"]"===s.charAt(s.length-1)?s.slice(1,-1):s,l=parseInt(c,10);n.parseArrays||""!==c?!isNaN(l)&&s!==c&&String(l)===c&&l>=0&&n.parseArrays&&l<=n.arrayLimit?(a=[])[l]=i:"__proto__"!==c&&(a[c]=i):a={0:i}}i=a}return i}(l,t,n,r)}};e.exports=function(e,t){var n=function(e){if(!e)return a;if(null!==e.decoder&&void 0!==e.decoder&&"function"!=typeof e.decoder)throw new TypeError("Decoder has to be a function.");if(void 0!==e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var t=void 0===e.charset?a.charset:e.charset;return{allowDots:void 0===e.allowDots?a.allowDots:!!e.allowDots,allowPrototypes:"boolean"==typeof e.allowPrototypes?e.allowPrototypes:a.allowPrototypes,arrayLimit:"number"==typeof e.arrayLimit?e.arrayLimit:a.arrayLimit,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:a.charsetSentinel,comma:"boolean"==typeof e.comma?e.comma:a.comma,decoder:"function"==typeof e.decoder?e.decoder:a.decoder,delimiter:"string"==typeof e.delimiter||r.isRegExp(e.delimiter)?e.delimiter:a.delimiter,depth:"number"==typeof e.depth||!1===e.depth?+e.depth:a.depth,ignoreQueryPrefix:!0===e.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof e.interpretNumericEntities?e.interpretNumericEntities:a.interpretNumericEntities,parameterLimit:"number"==typeof e.parameterLimit?e.parameterLimit:a.parameterLimit,parseArrays:!1!==e.parseArrays,plainObjects:"boolean"==typeof e.plainObjects?e.plainObjects:a.plainObjects,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:a.strictNullHandling}}(t);if(""===e||null==e)return n.plainObjects?Object.create(null):{};for(var l="string"==typeof e?function(e,t){var n,c={},l=t.ignoreQueryPrefix?e.replace(/^\?/,""):e,f=t.parameterLimit===1/0?void 0:t.parameterLimit,d=l.split(t.delimiter,f),p=-1,h=t.charset;if(t.charsetSentinel)for(n=0;n<d.length;++n)0===d[n].indexOf("utf8=")&&("utf8=%E2%9C%93"===d[n]?h="utf-8":"utf8=%26%2310003%3B"===d[n]&&(h="iso-8859-1"),p=n,n=d.length);for(n=0;n<d.length;++n)if(n!==p){var g,m,y=d[n],v=y.indexOf("]="),b=-1===v?y.indexOf("="):v+1;-1===b?(g=t.decoder(y,a.decoder,h,"key"),m=t.strictNullHandling?null:""):(g=t.decoder(y.slice(0,b),a.decoder,h,"key"),m=r.maybeMap(u(y.slice(b+1),t),(function(e){return t.decoder(e,a.decoder,h,"value")}))),m&&t.interpretNumericEntities&&"iso-8859-1"===h&&(m=s(m)),y.indexOf("[]=")>-1&&(m=o(m)?[m]:m),i.call(c,g)?c[g]=r.combine(c[g],m):c[g]=m}return c}(e,n):e,f=n.plainObjects?Object.create(null):{},d=Object.keys(l),p=0;p<d.length;++p){var h=d[p],g=c(h,l[h],n,"string"==typeof e);f=r.merge(f,g,n)}return r.compact(f)}},58261:function(e,t,n){"use strict";var r=n(12769),i=n(55798),o=Object.prototype.hasOwnProperty,a={brackets:function(e){return e+"[]"},comma:"comma",indices:function(e,t){return e+"["+t+"]"},repeat:function(e){return e}},s=Array.isArray,u=String.prototype.split,c=Array.prototype.push,l=function(e,t){c.apply(e,s(t)?t:[t])},f=Date.prototype.toISOString,d=i.default,p={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:r.encode,encodeValuesOnly:!1,format:d,formatter:i.formatters[d],indices:!1,serializeDate:function(e){return f.call(e)},skipNulls:!1,strictNullHandling:!1},h=function e(t,n,i,o,a,c,f,d,h,g,m,y,v,b){var _,w=t;if("function"==typeof f?w=f(n,w):w instanceof Date?w=g(w):"comma"===i&&s(w)&&(w=r.maybeMap(w,(function(e){return e instanceof Date?g(e):e}))),null===w){if(o)return c&&!v?c(n,p.encoder,b,"key",m):n;w=""}if("string"==typeof(_=w)||"number"==typeof _||"boolean"==typeof _||"symbol"==typeof _||"bigint"==typeof _||r.isBuffer(w)){if(c){var T=v?n:c(n,p.encoder,b,"key",m);if("comma"===i&&v){for(var x=u.call(String(w),","),S="",k=0;k<x.length;++k)S+=(0===k?"":",")+y(c(x[k],p.encoder,b,"value",m));return[y(T)+"="+S]}return[y(T)+"="+y(c(w,p.encoder,b,"value",m))]}return[y(n)+"="+y(String(w))]}var E,O=[];if(void 0===w)return O;if("comma"===i&&s(w))E=[{value:w.length>0?w.join(",")||null:void 0}];else if(s(f))E=f;else{var C=Object.keys(w);E=d?C.sort(d):C}for(var L=0;L<E.length;++L){var A=E[L],I="object"==typeof A&&void 0!==A.value?A.value:w[A];if(!a||null!==I){var P=s(w)?"function"==typeof i?i(n,A):n:n+(h?"."+A:"["+A+"]");l(O,e(I,P,i,o,a,c,f,d,h,g,m,y,v,b))}}return O};e.exports=function(e,t){var n,r=e,u=function(e){if(!e)return p;if(null!==e.encoder&&void 0!==e.encoder&&"function"!=typeof e.encoder)throw new TypeError("Encoder has to be a function.");var t=e.charset||p.charset;if(void 0!==e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var n=i.default;if(void 0!==e.format){if(!o.call(i.formatters,e.format))throw new TypeError("Unknown format option provided.");n=e.format}var r=i.formatters[n],a=p.filter;return("function"==typeof e.filter||s(e.filter))&&(a=e.filter),{addQueryPrefix:"boolean"==typeof e.addQueryPrefix?e.addQueryPrefix:p.addQueryPrefix,allowDots:void 0===e.allowDots?p.allowDots:!!e.allowDots,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:p.charsetSentinel,delimiter:void 0===e.delimiter?p.delimiter:e.delimiter,encode:"boolean"==typeof e.encode?e.encode:p.encode,encoder:"function"==typeof e.encoder?e.encoder:p.encoder,encodeValuesOnly:"boolean"==typeof e.encodeValuesOnly?e.encodeValuesOnly:p.encodeValuesOnly,filter:a,format:n,formatter:r,serializeDate:"function"==typeof e.serializeDate?e.serializeDate:p.serializeDate,skipNulls:"boolean"==typeof e.skipNulls?e.skipNulls:p.skipNulls,sort:"function"==typeof e.sort?e.sort:null,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:p.strictNullHandling}}(t);"function"==typeof u.filter?r=(0,u.filter)("",r):s(u.filter)&&(n=u.filter);var c,f=[];if("object"!=typeof r||null===r)return"";c=t&&t.arrayFormat in a?t.arrayFormat:t&&"indices"in t?t.indices?"indices":"repeat":"indices";var d=a[c];n||(n=Object.keys(r)),u.sort&&n.sort(u.sort);for(var g=0;g<n.length;++g){var m=n[g];u.skipNulls&&null===r[m]||l(f,h(r[m],m,d,u.strictNullHandling,u.skipNulls,u.encode?u.encoder:null,u.filter,u.sort,u.allowDots,u.serializeDate,u.format,u.formatter,u.encodeValuesOnly,u.charset))}var y=f.join(u.delimiter),v=!0===u.addQueryPrefix?"?":"";return u.charsetSentinel&&("iso-8859-1"===u.charset?v+="utf8=%26%2310003%3B&":v+="utf8=%E2%9C%93&"),y.length>0?v+y:""}},12769:function(e,t,n){"use strict";var r=n(55798),i=Object.prototype.hasOwnProperty,o=Array.isArray,a=function(){for(var e=[],t=0;t<256;++t)e.push("%"+((t<16?"0":"")+t.toString(16)).toUpperCase());return e}(),s=function(e,t){for(var n=t&&t.plainObjects?Object.create(null):{},r=0;r<e.length;++r)void 0!==e[r]&&(n[r]=e[r]);return n};e.exports={arrayToObject:s,assign:function(e,t){return Object.keys(t).reduce((function(e,n){return e[n]=t[n],e}),e)},combine:function(e,t){return[].concat(e,t)},compact:function(e){for(var t=[{obj:{o:e},prop:"o"}],n=[],r=0;r<t.length;++r)for(var i=t[r],a=i.obj[i.prop],s=Object.keys(a),u=0;u<s.length;++u){var c=s[u],l=a[c];"object"==typeof l&&null!==l&&-1===n.indexOf(l)&&(t.push({obj:a,prop:c}),n.push(l))}return function(e){for(;e.length>1;){var t=e.pop(),n=t.obj[t.prop];if(o(n)){for(var r=[],i=0;i<n.length;++i)void 0!==n[i]&&r.push(n[i]);t.obj[t.prop]=r}}}(t),e},decode:function(e,t,n){var r=e.replace(/\+/g," ");if("iso-8859-1"===n)return r.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(r)}catch(e){return r}},encode:function(e,t,n,i,o){if(0===e.length)return e;var s=e;if("symbol"==typeof e?s=Symbol.prototype.toString.call(e):"string"!=typeof e&&(s=String(e)),"iso-8859-1"===n)return escape(s).replace(/%u[0-9a-f]{4}/gi,(function(e){return"%26%23"+parseInt(e.slice(2),16)+"%3B"}));for(var u="",c=0;c<s.length;++c){var l=s.charCodeAt(c);45===l||46===l||95===l||126===l||l>=48&&l<=57||l>=65&&l<=90||l>=97&&l<=122||o===r.RFC1738&&(40===l||41===l)?u+=s.charAt(c):l<128?u+=a[l]:l<2048?u+=a[192|l>>6]+a[128|63&l]:l<55296||l>=57344?u+=a[224|l>>12]+a[128|l>>6&63]+a[128|63&l]:(c+=1,l=65536+((1023&l)<<10|1023&s.charCodeAt(c)),u+=a[240|l>>18]+a[128|l>>12&63]+a[128|l>>6&63]+a[128|63&l])}return u},isBuffer:function(e){return!(!e||"object"!=typeof e)&&!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))},isRegExp:function(e){return"[object RegExp]"===Object.prototype.toString.call(e)},maybeMap:function(e,t){if(o(e)){for(var n=[],r=0;r<e.length;r+=1)n.push(t(e[r]));return n}return t(e)},merge:function e(t,n,r){if(!n)return t;if("object"!=typeof n){if(o(t))t.push(n);else{if(!t||"object"!=typeof t)return[t,n];(r&&(r.plainObjects||r.allowPrototypes)||!i.call(Object.prototype,n))&&(t[n]=!0)}return t}if(!t||"object"!=typeof t)return[t].concat(n);var a=t;return o(t)&&!o(n)&&(a=s(t,r)),o(t)&&o(n)?(n.forEach((function(n,o){if(i.call(t,o)){var a=t[o];a&&"object"==typeof a&&n&&"object"==typeof n?t[o]=e(a,n,r):t.push(n)}else t[o]=n})),t):Object.keys(n).reduce((function(t,o){var a=n[o];return i.call(t,o)?t[o]=e(t[o],a,r):t[o]=a,t}),a)}}},62587:function(e){"use strict";function t(e,t){return Object.prototype.hasOwnProperty.call(e,t)}e.exports=function(e,n,r,i){n=n||"&",r=r||"=";var o={};if("string"!=typeof e||0===e.length)return o;var a=/\+/g;e=e.split(n);var s=1e3;i&&"number"==typeof i.maxKeys&&(s=i.maxKeys);var u=e.length;s>0&&u>s&&(u=s);for(var c=0;c<u;++c){var l,f,d,p,h=e[c].replace(a,"%20"),g=h.indexOf(r);g>=0?(l=h.substr(0,g),f=h.substr(g+1)):(l=h,f=""),d=decodeURIComponent(l),p=decodeURIComponent(f),t(o,d)?Array.isArray(o[d])?o[d].push(p):o[d]=[o[d],p]:o[d]=p}return o}},12361:function(e){"use strict";var t=function(e){switch(typeof e){case"string":return e;case"boolean":return e?"true":"false";case"number":return isFinite(e)?e:"";default:return""}};e.exports=function(e,n,r,i){return n=n||"&",r=r||"=",null===e&&(e=void 0),"object"==typeof e?Object.keys(e).map((function(i){var o=encodeURIComponent(t(i))+r;return Array.isArray(e[i])?e[i].map((function(e){return o+encodeURIComponent(t(e))})).join(n):o+encodeURIComponent(t(e[i]))})).join(n):i?encodeURIComponent(t(i))+r+encodeURIComponent(t(e)):""}},17673:function(e,t,n){"use strict";t.decode=t.parse=n(62587),t.encode=t.stringify=n(12361)},74249:function(e,t,n){"use strict";n.d(t,{Z:function(){return f}});var r=n(77897),i=null,o=null;try{i=new Function("return function* () {}")().constructor,o=(0,r.is)(i)}catch(e){o=r.F}var a=(0,r.curryN)(1,(0,r.either)((0,r.pipe)(r.type,(0,r.identical)("GeneratorFunction")),o)),s=(0,r.curryN)(1,(0,r.pipe)(r.type,(0,r.identical)("AsyncFunction"))),u=(0,r.anyPass)([(0,r.pipe)(r.type,(0,r.identical)("Function")),a,s]),c=(0,r.curryN)(1,u(Array.isArray)?Array.isArray:(0,r.pipe)(r.type,(0,r.identical)("Array"))),l=(0,r.complement)(c),f=(0,r.when)(l,r.of)},58726:function(e,t,n){"use strict";var r=n(77897),i=(0,r.curryN)(1,(0,r.either)(r.isNil,r.isEmpty));t.Z=i},62234:function(e,t,n){"use strict";var r=n(77897),i=(0,r.complement)(r.isEmpty);t.Z=i},40476:function(e,t,n){"use strict";var r=n(77897),i=(0,r.complement)(r.isNil);t.Z=i},23298:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(77897),i=(0,r.equals)(null),o=(0,r.complement)(i)},77897:function(e,t,n){e.exports={F:n(91369),T:n(53007),__:n(34923),add:n(63073),addIndex:n(45582),adjust:n(82515),all:n(22626),allPass:n(57735),always:n(54115),and:n(42537),any:n(78095),anyPass:n(98766),ap:n(77693),aperture:n(85133),append:n(89576),apply:n(75748),applySpec:n(58375),ascend:n(7772),assoc:n(66497),assocPath:n(32423),binary:n(70962),bind:n(63195),both:n(23018),call:n(2703),chain:n(79098),clamp:n(11),clone:n(91549),comparator:n(83428),complement:n(36573),compose:n(50557),composeK:n(37013),composeP:n(33784),concat:n(54405),cond:n(17794),construct:n(27448),constructN:n(96809),contains:n(61949),converge:n(38907),countBy:n(78324),curry:n(3087),curryN:n(2220),dec:n(17919),defaultTo:n(52892),descend:n(78045),difference:n(34226),differenceWith:n(22013),dissoc:n(92650),dissocPath:n(72337),divide:n(47166),drop:n(78821),dropLast:n(50898),dropLastWhile:n(62520),dropRepeats:n(74649),dropRepeatsWith:n(43432),dropWhile:n(51008),either:n(14087),empty:n(8403),endsWith:n(30796),eqBy:n(24486),eqProps:n(54228),equals:n(51481),evolve:n(22624),filter:n(51383),find:n(46376),findIndex:n(53523),findLast:n(79605),findLastIndex:n(52417),flatten:n(77414),flip:n(9134),forEach:n(15636),forEachObjIndexed:n(28860),fromPairs:n(425),groupBy:n(10449),groupWith:n(17233),gt:n(72038),gte:n(88524),has:n(97877),hasIn:n(85809),head:n(46408),identical:n(35713),identity:n(69105),ifElse:n(23710),inc:n(40486),indexBy:n(40731),indexOf:n(73411),init:n(51010),innerJoin:n(99496),insert:n(27938),insertAll:n(87449),intersection:n(26921),intersectionWith:n(33183),intersperse:n(72577),into:n(33795),invert:n(92778),invertObj:n(62380),invoker:n(25189),is:n(9443),isEmpty:n(42157),isNil:n(13657),join:n(18231),juxt:n(55389),keys:n(90368),keysIn:n(17716),last:n(27601),lastIndexOf:n(43448),length:n(24234),lens:n(83087),lensIndex:n(76584),lensPath:n(13207),lensProp:n(25677),lift:n(4041),liftN:n(1272),lt:n(97560),lte:n(13594),map:n(61894),mapAccum:n(11282),mapAccumRight:n(51187),mapObjIndexed:n(90013),match:n(6087),mathMod:n(39175),max:n(21186),maxBy:n(91121),mean:n(70182),median:n(98442),memoize:n(54749),memoizeWith:n(37365),merge:n(20780),mergeAll:n(51493),mergeDeepLeft:n(88576),mergeDeepRight:n(57046),mergeDeepWith:n(71334),mergeDeepWithKey:n(39036),mergeWith:n(71008),mergeWithKey:n(56027),min:n(25624),minBy:n(72121),modulo:n(52395),multiply:n(1102),nAry:n(40864),negate:n(709),none:n(79916),not:n(22184),nth:n(87041),nthArg:n(33367),o:n(62809),objOf:n(144),of:n(70682),omit:n(61584),once:n(79487),or:n(18384),over:n(92738),pair:n(68380),partial:n(96942),partialRight:n(69025),partition:n(38135),path:n(87430),pathEq:n(40437),pathOr:n(54782),pathSatisfies:n(4991),pick:n(5206),pickAll:n(68976),pickBy:n(12964),pipe:n(4603),pipeK:n(84136),pipeP:n(96828),pluck:n(84585),prepend:n(80409),product:n(18890),project:n(61391),prop:n(52478),propEq:n(18371),propIs:n(58426),propOr:n(53176),propSatisfies:n(67430),props:n(64691),range:n(56396),reduce:n(20793),reduceBy:n(44285),reduceRight:n(47981),reduceWhile:n(16392),reduced:n(39280),reject:n(63266),remove:n(99072),repeat:n(33633),replace:n(5683),reverse:n(65814),scan:n(95485),sequence:n(233),set:n(5994),slice:n(81753),sort:n(36218),sortBy:n(1667),sortWith:n(39153),split:n(12601),splitAt:n(68959),splitEvery:n(59241),splitWhen:n(9781),startsWith:n(60830),subtract:n(29454),sum:n(36945),symmetricDifference:n(16722),symmetricDifferenceWith:n(7776),tail:n(43656),take:n(94744),takeLast:n(18703),takeLastWhile:n(96412),takeWhile:n(27050),tap:n(6037),test:n(73495),times:n(32250),toLower:n(80620),toPairs:n(98313),toPairsIn:n(44739),toString:n(15243),toUpper:n(74633),transduce:n(63158),transpose:n(5466),traverse:n(40231),trim:n(67031),tryCatch:n(55105),type:n(36433),unapply:n(59378),unary:n(51380),uncurryN:n(1465),unfold:n(32936),union:n(30275),unionWith:n(90014),uniq:n(90086),uniqBy:n(54025),uniqWith:n(77263),unless:n(61937),unnest:n(51497),until:n(51800),update:n(67964),useWith:n(40517),values:n(33411),valuesIn:n(75988),view:n(43931),when:n(47176),where:n(39629),whereEq:n(15598),without:n(76290),xprod:n(90482),zip:n(5086),zipObj:n(47858),zipWith:n(30635)}},91369:function(e,t,n){var r=n(54115);e.exports=r(!1)},53007:function(e,t,n){var r=n(54115);e.exports=r(!0)},34923:function(e){e.exports={"@@functional/placeholder":!0}},63073:function(e,t,n){var r=n(79002);e.exports=r((function(e,t){return Number(e)+Number(t)}))},45582:function(e,t,n){var r=n(14011),i=n(76224),o=n(2220);e.exports=i((function(e){return o(e.length,(function(){var t=0,n=arguments[0],i=arguments[arguments.length-1],o=Array.prototype.slice.call(arguments,0);return o[0]=function(){var e=n.apply(this,r(arguments,[t,i]));return t+=1,e},e.apply(this,o)}))}))},82515:function(e,t,n){var r=n(14011),i=n(16370);e.exports=i((function(e,t,n){if(t>=n.length||t<-n.length)return n;var i=(t<0?n.length:0)+t,o=r(n);return o[i]=e(n[i]),o}))},22626:function(e,t,n){var r=n(79002),i=n(34793),o=n(15750);e.exports=r(i(["all"],o,(function(e,t){for(var n=0;n<t.length;){if(!e(t[n]))return!1;n+=1}return!0})))},57735:function(e,t,n){var r=n(76224),i=n(2220),o=n(21186),a=n(84585),s=n(20793);e.exports=r((function(e){return i(s(o,0,a("length",e)),(function(){for(var t=0,n=e.length;t<n;){if(!e[t].apply(this,arguments))return!1;t+=1}return!0}))}))},54115:function(e,t,n){var r=n(76224);e.exports=r((function(e){return function(){return e}}))},42537:function(e,t,n){var r=n(79002);e.exports=r((function(e,t){return e&&t}))},78095:function(e,t,n){var r=n(79002),i=n(34793),o=n(43622);e.exports=r(i(["any"],o,(function(e,t){for(var n=0;n<t.length;){if(e(t[n]))return!0;n+=1}return!1})))},98766:function(e,t,n){var r=n(76224),i=n(2220),o=n(21186),a=n(84585),s=n(20793);e.exports=r((function(e){return i(s(o,0,a("length",e)),(function(){for(var t=0,n=e.length;t<n;){if(e[t].apply(this,arguments))return!0;t+=1}return!1}))}))},77693:function(e,t,n){var r=n(14011),i=n(79002),o=n(39488),a=n(61894);e.exports=i((function(e,t){return"function"==typeof t["fantasy-land/ap"]?t["fantasy-land/ap"](e):"function"==typeof e.ap?e.ap(t):"function"==typeof e?function(n){return e(n)(t(n))}:o((function(e,n){return r(e,a(n,t))}),[],e)}))},85133:function(e,t,n){var r=n(45179),i=n(79002),o=n(34793),a=n(76020);e.exports=i(o([],a,r))},89576:function(e,t,n){var r=n(14011),i=n(79002);e.exports=i((function(e,t){return r(t,[e])}))},75748:function(e,t,n){var r=n(79002);e.exports=r((function(e,t){return e.apply(this,t)}))},58375:function(e,t,n){var r=n(76224),i=n(75748),o=n(2220),a=n(61894),s=n(21186),u=n(84585),c=n(20793),l=n(33411);e.exports=r((function e(t){return t=a((function(t){return"function"==typeof t?t:e(t)}),t),o(c(s,0,u("length",l(t))),(function(){var e=arguments;return a((function(t){return i(t,e)}),t)}))}))},7772:function(e,t,n){var r=n(16370);e.exports=r((function(e,t,n){var r=e(t),i=e(n);return r<i?-1:r>i?1:0}))},66497:function(e,t,n){var r=n(16370);e.exports=r((function(e,t,n){var r={};for(var i in n)r[i]=n[i];return r[e]=t,r}))},32423:function(e,t,n){var r=n(16370),i=n(87684),o=n(20219),a=n(37e3),s=n(66497),u=n(13657);e.exports=r((function e(t,n,r){if(0===t.length)return n;var c=t[0];if(t.length>1){var l=!u(r)&&i(c,r)?r[c]:a(t[1])?[]:{};n=e(Array.prototype.slice.call(t,1),n,l)}if(a(c)&&o(r)){var f=[].concat(r);return f[c]=n,f}return s(c,n,r)}))},70962:function(e,t,n){var r=n(76224),i=n(40864);e.exports=r((function(e){return i(2,e)}))},63195:function(e,t,n){var r=n(7455),i=n(79002);e.exports=i((function(e,t){return r(e.length,(function(){return e.apply(t,arguments)}))}))},23018:function(e,t,n){var r=n(79002),i=n(62144),o=n(42537),a=n(4041);e.exports=r((function(e,t){return i(e)?function(){return e.apply(this,arguments)&&t.apply(this,arguments)}:a(o)(e,t)}))},2703:function(e,t,n){var r=n(3087);e.exports=r((function(e){return e.apply(this,Array.prototype.slice.call(arguments,1))}))},79098:function(e,t,n){var r=n(79002),i=n(34793),o=n(55161),a=n(64814),s=n(61894);e.exports=r(i(["fantasy-land/chain","chain"],a,(function(e,t){return"function"==typeof t?function(n){return e(t(n))(n)}:o(!1)(s(e,t))})))},11:function(e,t,n){var r=n(16370);e.exports=r((function(e,t,n){if(e>t)throw new Error("min must not be greater than max in clamp(min, max, value)");return n<e?e:n>t?t:n}))},91549:function(e,t,n){var r=n(45114),i=n(76224);e.exports=i((function(e){return null!=e&&"function"==typeof e.clone?e.clone():r(e,[],[],!0)}))},83428:function(e,t,n){var r=n(76224);e.exports=r((function(e){return function(t,n){return e(t,n)?-1:e(n,t)?1:0}}))},36573:function(e,t,n){var r=n(4041),i=n(22184);e.exports=r(i)},50557:function(e,t,n){var r=n(4603),i=n(65814);e.exports=function(){if(0===arguments.length)throw new Error("compose requires at least one argument");return r.apply(this,i(arguments))}},37013:function(e,t,n){var r=n(79098),i=n(50557),o=n(61894);e.exports=function(){if(0===arguments.length)throw new Error("composeK requires at least one argument");var e=Array.prototype.slice.call(arguments),t=e.pop();return i(i.apply(this,o(r,e)),t)}},33784:function(e,t,n){var r=n(96828),i=n(65814);e.exports=function(){if(0===arguments.length)throw new Error("composeP requires at least one argument");return r.apply(this,i(arguments))}},54405:function(e,t,n){var r=n(79002),i=n(20219),o=n(62144),a=n(20190),s=n(15243);e.exports=r((function(e,t){if(i(e)){if(i(t))return e.concat(t);throw new TypeError(s(t)+" is not an array")}if(a(e)){if(a(t))return e+t;throw new TypeError(s(t)+" is not a string")}if(null!=e&&o(e["fantasy-land/concat"]))return e["fantasy-land/concat"](t);if(null!=e&&o(e.concat))return e.concat(t);throw new TypeError(s(e)+' does not have a method named "concat" or "fantasy-land/concat"')}))},17794:function(e,t,n){var r=n(7455),i=n(76224),o=n(61894),a=n(21186),s=n(20793);e.exports=i((function(e){var t=s(a,0,o((function(e){return e[0].length}),e));return r(t,(function(){for(var t=0;t<e.length;){if(e[t][0].apply(this,arguments))return e[t][1].apply(this,arguments);t+=1}}))}))},27448:function(e,t,n){var r=n(76224),i=n(96809);e.exports=r((function(e){return i(e.length,e)}))},96809:function(e,t,n){var r=n(79002),i=n(3087),o=n(40864);e.exports=r((function(e,t){if(e>10)throw new Error("Constructor with greater than ten arguments");return 0===e?function(){return new t}:i(o(e,(function(e,n,r,i,o,a,s,u,c,l){switch(arguments.length){case 1:return new t(e);case 2:return new t(e,n);case 3:return new t(e,n,r);case 4:return new t(e,n,r,i);case 5:return new t(e,n,r,i,o);case 6:return new t(e,n,r,i,o,a);case 7:return new t(e,n,r,i,o,a,s);case 8:return new t(e,n,r,i,o,a,s,u);case 9:return new t(e,n,r,i,o,a,s,u,c);case 10:return new t(e,n,r,i,o,a,s,u,c,l)}})))}))},61949:function(e,t,n){var r=n(64281),i=n(79002);e.exports=i(r)},38907:function(e,t,n){var r=n(79002),i=n(36692),o=n(2220),a=n(21186),s=n(84585),u=n(20793);e.exports=r((function(e,t){return o(u(a,0,s("length",t)),(function(){var n=arguments,r=this;return e.apply(r,i((function(e){return e.apply(r,n)}),t))}))}))},78324:function(e,t,n){var r=n(44285);e.exports=r((function(e,t){return e+1}),0)},3087:function(e,t,n){var r=n(76224),i=n(2220);e.exports=r((function(e){return i(e.length,e)}))},2220:function(e,t,n){var r=n(7455),i=n(76224),o=n(79002),a=n(32738);e.exports=o((function(e,t){return 1===e?i(t):r(e,a(e,[],t))}))},17919:function(e,t,n){var r=n(63073);e.exports=r(-1)},52892:function(e,t,n){var r=n(79002);e.exports=r((function(e,t){return null==t||t!=t?e:t}))},78045:function(e,t,n){var r=n(16370);e.exports=r((function(e,t,n){var r=e(t),i=e(n);return r>i?-1:r<i?1:0}))},34226:function(e,t,n){var r=n(64281),i=n(79002);e.exports=i((function(e,t){for(var n=[],i=0,o=e.length;i<o;)r(e[i],t)||r(e[i],n)||(n[n.length]=e[i]),i+=1;return n}))},22013:function(e,t,n){var r=n(28247),i=n(16370);e.exports=i((function(e,t,n){for(var i=[],o=0,a=t.length;o<a;)r(e,t[o],n)||r(e,t[o],i)||i.push(t[o]),o+=1;return i}))},92650:function(e,t,n){var r=n(79002);e.exports=r((function(e,t){var n={};for(var r in t)n[r]=t[r];return delete n[e],n}))},72337:function(e,t,n){var r=n(79002),i=n(37e3),o=n(66497),a=n(92650),s=n(99072),u=n(67964);e.exports=r((function e(t,n){switch(t.length){case 0:return n;case 1:return i(t[0])?s(t[0],1,n):a(t[0],n);default:var r=t[0],c=Array.prototype.slice.call(t,1);return null==n[r]?n:i(t[0])?u(r,e(c,n[r]),n):o(r,e(c,n[r]),n)}}))},47166:function(e,t,n){var r=n(79002);e.exports=r((function(e,t){return e/t}))},78821:function(e,t,n){var r=n(79002),i=n(34793),o=n(41700),a=n(81753);e.exports=r(i(["drop"],o,(function(e,t){return a(Math.max(0,e),1/0,t)})))},50898:function(e,t,n){var r=n(79002),i=n(34793),o=n(11247),a=n(4534);e.exports=r(i([],a,o))},62520:function(e,t,n){var r=n(79002),i=n(34793),o=n(57288),a=n(34783);e.exports=r(i([],a,o))},74649:function(e,t,n){var r=n(76224),i=n(34793),o=n(6234),a=n(43432),s=n(51481);e.exports=r(i([],o(s),a(s)))},43432:function(e,t,n){var r=n(79002),i=n(34793),o=n(6234),a=n(27601);e.exports=r(i([],o,(function(e,t){var n=[],r=1,i=t.length;if(0!==i)for(n[0]=t[0];r<i;)e(a(n),t[r])||(n[n.length]=t[r]),r+=1;return n})))},51008:function(e,t,n){var r=n(79002),i=n(34793),o=n(1908);e.exports=r(i(["dropWhile"],o,(function(e,t){for(var n=0,r=t.length;n<r&&e(t[n]);)n+=1;return Array.prototype.slice.call(t,n)})))},14087:function(e,t,n){var r=n(79002),i=n(62144),o=n(4041),a=n(18384);e.exports=r((function(e,t){return i(e)?function(){return e.apply(this,arguments)||t.apply(this,arguments)}:o(a)(e,t)}))},8403:function(e,t,n){var r=n(76224),i=n(97587),o=n(20219),a=n(8291),s=n(20190);e.exports=r((function(e){return null!=e&&"function"==typeof e["fantasy-land/empty"]?e["fantasy-land/empty"]():null!=e&&null!=e.constructor&&"function"==typeof e.constructor["fantasy-land/empty"]?e.constructor["fantasy-land/empty"]():null!=e&&"function"==typeof e.empty?e.empty():null!=e&&null!=e.constructor&&"function"==typeof e.constructor.empty?e.constructor.empty():o(e)?[]:s(e)?"":a(e)?{}:i(e)?function(){return arguments}():void 0}))},30796:function(e,t,n){var r=n(79002),i=n(51481),o=n(18703);e.exports=r((function(e,t){return i(o(e.length,t),e)}))},24486:function(e,t,n){var r=n(16370),i=n(51481);e.exports=r((function(e,t,n){return i(e(t),e(n))}))},54228:function(e,t,n){var r=n(16370),i=n(51481);e.exports=r((function(e,t,n){return i(t[e],n[e])}))},51481:function(e,t,n){var r=n(79002),i=n(74023);e.exports=r((function(e,t){return i(e,t,[],[])}))},22624:function(e,t,n){var r=n(79002);e.exports=r((function e(t,n){var r,i,o,a={};for(i in n)o=typeof(r=t[i]),a[i]="function"===o?r(n[i]):r&&"object"===o?e(r,n[i]):n[i];return a}))},51383:function(e,t,n){var r=n(79002),i=n(34793),o=n(34877),a=n(8291),s=n(39488),u=n(11383),c=n(90368);e.exports=r(i(["filter"],u,(function(e,t){return a(t)?s((function(n,r){return e(t[r])&&(n[r]=t[r]),n}),{},c(t)):o(e,t)})))},46376:function(e,t,n){var r=n(79002),i=n(34793),o=n(47855);e.exports=r(i(["find"],o,(function(e,t){for(var n=0,r=t.length;n<r;){if(e(t[n]))return t[n];n+=1}})))},53523:function(e,t,n){var r=n(79002),i=n(34793),o=n(20834);e.exports=r(i([],o,(function(e,t){for(var n=0,r=t.length;n<r;){if(e(t[n]))return n;n+=1}return-1})))},79605:function(e,t,n){var r=n(79002),i=n(34793),o=n(28922);e.exports=r(i([],o,(function(e,t){for(var n=t.length-1;n>=0;){if(e(t[n]))return t[n];n-=1}})))},52417:function(e,t,n){var r=n(79002),i=n(34793),o=n(36626);e.exports=r(i([],o,(function(e,t){for(var n=t.length-1;n>=0;){if(e(t[n]))return n;n-=1}return-1})))},77414:function(e,t,n){var r=n(76224),i=n(55161);e.exports=r(i(!0))},9134:function(e,t,n){var r=n(76224),i=n(3087);e.exports=r((function(e){return i((function(t,n){var r=Array.prototype.slice.call(arguments,0);return r[0]=n,r[1]=t,e.apply(this,r)}))}))},15636:function(e,t,n){var r=n(73542),i=n(79002);e.exports=i(r("forEach",(function(e,t){for(var n=t.length,r=0;r<n;)e(t[r]),r+=1;return t})))},28860:function(e,t,n){var r=n(79002),i=n(90368);e.exports=r((function(e,t){for(var n=i(t),r=0;r<n.length;){var o=n[r];e(t[o],o,t),r+=1}return t}))},425:function(e,t,n){var r=n(76224);e.exports=r((function(e){for(var t={},n=0;n<e.length;)t[e[n][0]]=e[n][1],n+=1;return t}))},10449:function(e,t,n){var r=n(73542),i=n(79002),o=n(44285);e.exports=i(r("groupBy",o((function(e,t){return null==e&&(e=[]),e.push(t),e}),null)))},17233:function(e,t,n){var r=n(79002);e.exports=r((function(e,t){for(var n=[],r=0,i=t.length;r<i;){for(var o=r+1;o<i&&e(t[o-1],t[o]);)o+=1;n.push(t.slice(r,o)),r=o}return n}))},72038:function(e,t,n){var r=n(79002);e.exports=r((function(e,t){return e>t}))},88524:function(e,t,n){var r=n(79002);e.exports=r((function(e,t){return e>=t}))},97877:function(e,t,n){var r=n(79002),i=n(87684);e.exports=r(i)},85809:function(e,t,n){var r=n(79002);e.exports=r((function(e,t){return e in t}))},46408:function(e,t,n){var r=n(87041);e.exports=r(0)},35713:function(e,t,n){var r=n(79002);e.exports=r((function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}))},69105:function(e,t,n){var r=n(76224),i=n(50339);e.exports=r(i)},23710:function(e,t,n){var r=n(16370),i=n(2220);e.exports=r((function(e,t,n){return i(Math.max(e.length,t.length,n.length),(function(){return e.apply(this,arguments)?t.apply(this,arguments):n.apply(this,arguments)}))}))},40486:function(e,t,n){var r=n(63073);e.exports=r(1)},40731:function(e,t,n){var r=n(44285);e.exports=r((function(e,t){return t}),null)},73411:function(e,t,n){var r=n(79002),i=n(96069),o=n(20219);e.exports=r((function(e,t){return"function"!=typeof t.indexOf||o(t)?i(t,e,0):t.indexOf(e)}))},51010:function(e,t,n){var r=n(81753);e.exports=r(0,-1)},99496:function(e,t,n){var r=n(28247),i=n(16370),o=n(34877);e.exports=i((function(e,t,n){return o((function(t){return r(e,t,n)}),t)}))},27938:function(e,t,n){var r=n(16370);e.exports=r((function(e,t,n){e=e<n.length&&e>=0?e:n.length;var r=Array.prototype.slice.call(n,0);return r.splice(e,0,t),r}))},87449:function(e,t,n){var r=n(16370);e.exports=r((function(e,t,n){return e=e<n.length&&e>=0?e:n.length,[].concat(Array.prototype.slice.call(n,0,e),t,Array.prototype.slice.call(n,e))}))},8876:function(e,t,n){var r=n(64281);e.exports=function(){function e(){this._nativeSet="function"==typeof Set?new Set:null,this._items={}}function t(e,t,n){var i,o=typeof e;switch(o){case"string":case"number":return 0===e&&1/e==-1/0?!!n._items["-0"]||(t&&(n._items["-0"]=!0),!1):null!==n._nativeSet?t?(i=n._nativeSet.size,n._nativeSet.add(e),n._nativeSet.size===i):n._nativeSet.has(e):o in n._items?e in n._items[o]||(t&&(n._items[o][e]=!0),!1):(t&&(n._items[o]={},n._items[o][e]=!0),!1);case"boolean":if(o in n._items){var a=e?1:0;return!!n._items[o][a]||(t&&(n._items[o][a]=!0),!1)}return t&&(n._items[o]=e?[!1,!0]:[!0,!1]),!1;case"function":return null!==n._nativeSet?t?(i=n._nativeSet.size,n._nativeSet.add(e),n._nativeSet.size===i):n._nativeSet.has(e):o in n._items?!!r(e,n._items[o])||(t&&n._items[o].push(e),!1):(t&&(n._items[o]=[e]),!1);case"undefined":return!!n._items[o]||(t&&(n._items[o]=!0),!1);case"object":if(null===e)return!!n._items.null||(t&&(n._items.null=!0),!1);default:return(o=Object.prototype.toString.call(e))in n._items?!!r(e,n._items[o])||(t&&n._items[o].push(e),!1):(t&&(n._items[o]=[e]),!1)}}return e.prototype.add=function(e){return!t(e,!0,this)},e.prototype.has=function(e){return t(e,!1,this)},e}()},45179:function(e){e.exports=function(e,t){for(var n=0,r=t.length-(e-1),i=new Array(r>=0?r:0);n<r;)i[n]=Array.prototype.slice.call(t,n,n+e),n+=1;return i}},7455:function(e){e.exports=function(e,t){switch(e){case 0:return function(){return t.apply(this,arguments)};case 1:return function(e){return t.apply(this,arguments)};case 2:return function(e,n){return t.apply(this,arguments)};case 3:return function(e,n,r){return t.apply(this,arguments)};case 4:return function(e,n,r,i){return t.apply(this,arguments)};case 5:return function(e,n,r,i,o){return t.apply(this,arguments)};case 6:return function(e,n,r,i,o,a){return t.apply(this,arguments)};case 7:return function(e,n,r,i,o,a,s){return t.apply(this,arguments)};case 8:return function(e,n,r,i,o,a,s,u){return t.apply(this,arguments)};case 9:return function(e,n,r,i,o,a,s,u,c){return t.apply(this,arguments)};case 10:return function(e,n,r,i,o,a,s,u,c,l){return t.apply(this,arguments)};default:throw new Error("First argument to _arity must be a non-negative integer no greater than ten")}}},54118:function(e){e.exports=function(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}},82512:function(e,t,n){var r=n(4778);e.exports="function"==typeof Object.assign?Object.assign:r},73542:function(e,t,n){var r=n(20219);e.exports=function(e,t){return function(){var n=arguments.length;if(0===n)return t();var i=arguments[n-1];return r(i)||"function"!=typeof i[e]?t.apply(this,arguments):i[e].apply(i,Array.prototype.slice.call(arguments,0,n-1))}}},45114:function(e,t,n){var r=n(9039),i=n(36433);e.exports=function e(t,n,o,a){var s=function(r){for(var i=n.length,s=0;s<i;){if(t===n[s])return o[s];s+=1}for(var u in n[s+1]=t,o[s+1]=r,t)r[u]=a?e(t[u],n,o,!0):t[u];return r};switch(i(t)){case"Object":return s({});case"Array":return s([]);case"Date":return new Date(t.valueOf());case"RegExp":return r(t);default:return t}}},9039:function(e){e.exports=function(e){return new RegExp(e.source,(e.global?"g":"")+(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.sticky?"y":"")+(e.unicode?"u":""))}},48770:function(e){e.exports=function(e){return function(){return!e.apply(this,arguments)}}},14011:function(e){e.exports=function(e,t){var n;t=t||[];var r=(e=e||[]).length,i=t.length,o=[];for(n=0;n<r;)o[o.length]=e[n],n+=1;for(n=0;n<i;)o[o.length]=t[n],n+=1;return o}},64281:function(e,t,n){var r=n(96069);e.exports=function(e,t){return r(t,e,0)>=0}},28247:function(e){e.exports=function(e,t,n){for(var r=0,i=n.length;r<i;){if(e(t,n[r]))return!0;r+=1}return!1}},57994:function(e,t,n){var r=n(7455),i=n(79002);e.exports=function(e){return i((function(t,n){return r(Math.max(0,t.length-n.length),(function(){return t.apply(this,e(n,arguments))}))}))}},76224:function(e,t,n){var r=n(36464);e.exports=function(e){return function t(n){return 0===arguments.length||r(n)?t:e.apply(this,arguments)}}},79002:function(e,t,n){var r=n(76224),i=n(36464);e.exports=function(e){return function t(n,o){switch(arguments.length){case 0:return t;case 1:return i(n)?t:r((function(t){return e(n,t)}));default:return i(n)&&i(o)?t:i(n)?r((function(t){return e(t,o)})):i(o)?r((function(t){return e(n,t)})):e(n,o)}}}},16370:function(e,t,n){var r=n(76224),i=n(79002),o=n(36464);e.exports=function(e){return function t(n,a,s){switch(arguments.length){case 0:return t;case 1:return o(n)?t:i((function(t,r){return e(n,t,r)}));case 2:return o(n)&&o(a)?t:o(n)?i((function(t,n){return e(t,a,n)})):o(a)?i((function(t,r){return e(n,t,r)})):r((function(t){return e(n,a,t)}));default:return o(n)&&o(a)&&o(s)?t:o(n)&&o(a)?i((function(t,n){return e(t,n,s)})):o(n)&&o(s)?i((function(t,n){return e(t,a,n)})):o(a)&&o(s)?i((function(t,r){return e(n,t,r)})):o(n)?r((function(t){return e(t,a,s)})):o(a)?r((function(t){return e(n,t,s)})):o(s)?r((function(t){return e(n,a,t)})):e(n,a,s)}}}},32738:function(e,t,n){var r=n(7455),i=n(36464);e.exports=function e(t,n,o){return function(){for(var a=[],s=0,u=t,c=0;c<n.length||s<arguments.length;){var l;c<n.length&&(!i(n[c])||s>=arguments.length)?l=n[c]:(l=arguments[s],s+=1),a[c]=l,i(l)||(u-=1),c+=1}return u<=0?o.apply(this,a):r(u,e(t,a,o))}}},34793:function(e,t,n){var r=n(20219),i=n(69082);e.exports=function(e,t,n){return function(){if(0===arguments.length)return n();var o=Array.prototype.slice.call(arguments,0),a=o.pop();if(!r(a)){for(var s=0;s<e.length;){if("function"==typeof a[e[s]])return a[e[s]].apply(a,o);s+=1}if(i(a)){var u=t.apply(null,o);return u(a)}}return n.apply(this,arguments)}}},11247:function(e,t,n){var r=n(94744);e.exports=function(e,t){return r(e<t.length?t.length-e:0,t)}},57288:function(e){e.exports=function(e,t){for(var n=t.length-1;n>=0&&e(t[n]);)n-=1;return Array.prototype.slice.call(t,0,n+1)}},74023:function(e,t,n){var r=n(54118),i=n(4931),o=n(87684),a=n(35713),s=n(90368),u=n(36433);e.exports=function e(t,n,c,l){if(a(t,n))return!0;if(u(t)!==u(n))return!1;if(null==t||null==n)return!1;if("function"==typeof t["fantasy-land/equals"]||"function"==typeof n["fantasy-land/equals"])return"function"==typeof t["fantasy-land/equals"]&&t["fantasy-land/equals"](n)&&"function"==typeof n["fantasy-land/equals"]&&n["fantasy-land/equals"](t);if("function"==typeof t.equals||"function"==typeof n.equals)return"function"==typeof t.equals&&t.equals(n)&&"function"==typeof n.equals&&n.equals(t);switch(u(t)){case"Arguments":case"Array":case"Object":if("function"==typeof t.constructor&&"Promise"===i(t.constructor))return t===n;break;case"Boolean":case"Number":case"String":if(typeof t!=typeof n||!a(t.valueOf(),n.valueOf()))return!1;break;case"Date":if(!a(t.valueOf(),n.valueOf()))return!1;break;case"Error":return t.name===n.name&&t.message===n.message;case"RegExp":if(t.source!==n.source||t.global!==n.global||t.ignoreCase!==n.ignoreCase||t.multiline!==n.multiline||t.sticky!==n.sticky||t.unicode!==n.unicode)return!1;break;case"Map":case"Set":if(!e(r(t.entries()),r(n.entries()),c,l))return!1;break;case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"ArrayBuffer":break;default:return!1}var f=s(t);if(f.length!==s(n).length)return!1;for(var d=c.length-1;d>=0;){if(c[d]===t)return l[d]===n;d-=1}for(c.push(t),l.push(n),d=f.length-1;d>=0;){var p=f[d];if(!o(p,n)||!e(n[p],t[p],c,l))return!1;d-=1}return c.pop(),l.pop(),!0}},34877:function(e){e.exports=function(e,t){for(var n=0,r=t.length,i=[];n<r;)e(t[n])&&(i[i.length]=t[n]),n+=1;return i}},8530:function(e,t,n){var r=n(50600),i=n(3219),o=n(39488),a=n(93714);e.exports=function(e){var t=function(e){return{"@@transducer/init":a.init,"@@transducer/result":function(t){return e["@@transducer/result"](t)},"@@transducer/step":function(t,n){var i=e["@@transducer/step"](t,n);return i["@@transducer/reduced"]?r(i):i}}}(e);return{"@@transducer/init":a.init,"@@transducer/result":function(e){return t["@@transducer/result"](e)},"@@transducer/step":function(e,n){return i(n)?o(t,e,n):o(t,e,[n])}}}},50600:function(e){e.exports=function(e){return{"@@transducer/value":e,"@@transducer/reduced":!0}}},4931:function(e){e.exports=function(e){var t=String(e).match(/^function (\w*)/);return null==t?"":t[1]}},87684:function(e){e.exports=function(e,t){return Object.prototype.hasOwnProperty.call(t,e)}},50339:function(e){e.exports=function(e){return e}},96069:function(e,t,n){var r=n(51481);e.exports=function(e,t,n){var i,o;if("function"==typeof e.indexOf)switch(typeof t){case"number":if(0===t){for(i=1/t;n<e.length;){if(0===(o=e[n])&&1/o===i)return n;n+=1}return-1}if(t!=t){for(;n<e.length;){if("number"==typeof(o=e[n])&&o!=o)return n;n+=1}return-1}return e.indexOf(t,n);case"string":case"boolean":case"function":case"undefined":return e.indexOf(t,n);case"object":if(null===t)return e.indexOf(t,n)}for(;n<e.length;){if(r(e[n],t))return n;n+=1}return-1}},97587:function(e,t,n){var r=n(87684);e.exports=function(){var e=Object.prototype.toString;return"[object Arguments]"===e.call(arguments)?function(t){return"[object Arguments]"===e.call(t)}:function(e){return r("callee",e)}}()},20219:function(e){e.exports=Array.isArray||function(e){return null!=e&&e.length>=0&&"[object Array]"===Object.prototype.toString.call(e)}},3219:function(e,t,n){var r=n(76224),i=n(20219),o=n(20190);e.exports=r((function(e){return!!i(e)||!!e&&("object"==typeof e&&(!o(e)&&(1===e.nodeType?!!e.length:0===e.length||e.length>0&&(e.hasOwnProperty(0)&&e.hasOwnProperty(e.length-1)))))}))},62144:function(e){e.exports=function(e){return"[object Function]"===Object.prototype.toString.call(e)}},37e3:function(e){e.exports=Number.isInteger||function(e){return e<<0===e}},58591:function(e){e.exports=function(e){return"[object Number]"===Object.prototype.toString.call(e)}},8291:function(e){e.exports=function(e){return"[object Object]"===Object.prototype.toString.call(e)}},36464:function(e){e.exports=function(e){return null!=e&&"object"==typeof e&&!0===e["@@functional/placeholder"]}},79725:function(e){e.exports=function(e){return"[object RegExp]"===Object.prototype.toString.call(e)}},20190:function(e){e.exports=function(e){return"[object String]"===Object.prototype.toString.call(e)}},69082:function(e){e.exports=function(e){return"function"==typeof e["@@transducer/step"]}},55161:function(e,t,n){var r=n(3219);e.exports=function(e){return function t(n){for(var i,o,a,s=[],u=0,c=n.length;u<c;){if(r(n[u]))for(a=0,o=(i=e?t(n[u]):n[u]).length;a<o;)s[s.length]=i[a],a+=1;else s[s.length]=n[u];u+=1}return s}}},36692:function(e){e.exports=function(e,t){for(var n=0,r=t.length,i=Array(r);n<r;)i[n]=e(t[n]),n+=1;return i}},4778:function(e,t,n){var r=n(87684);e.exports=function(e){if(null==e)throw new TypeError("Cannot convert undefined or null to object");for(var t=Object(e),n=1,i=arguments.length;n<i;){var o=arguments[n];if(null!=o)for(var a in o)r(a,o)&&(t[a]=o[a]);n+=1}return t}},58791:function(e){e.exports=function(e){return[e]}},56015:function(e){e.exports=function(e,t){return function(){return t.call(this,e.apply(this,arguments))}}},60829:function(e){e.exports=function(e,t){return function(){var n=this;return e.apply(n,arguments).then((function(e){return t.call(n,e)}))}}},76001:function(e){e.exports=function(e){return'"'+e.replace(/\\/g,"\\\\").replace(/[\b]/g,"\\b").replace(/\f/g,"\\f").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\t/g,"\\t").replace(/\v/g,"\\v").replace(/\0/g,"\\0").replace(/"/g,'\\"')+'"'}},39488:function(e,t,n){var r=n(3219),i=n(39874),o=n(63195);e.exports=function(){function e(e,t,n){for(var r=n.next();!r.done;){if((t=e["@@transducer/step"](t,r.value))&&t["@@transducer/reduced"]){t=t["@@transducer/value"];break}r=n.next()}return e["@@transducer/result"](t)}function t(e,t,n,r){return e["@@transducer/result"](n[r](o(e["@@transducer/step"],e),t))}var n="undefined"!=typeof Symbol?Symbol.iterator:"@@iterator";return function(o,a,s){if("function"==typeof o&&(o=i(o)),r(s))return function(e,t,n){for(var r=0,i=n.length;r<i;){if((t=e["@@transducer/step"](t,n[r]))&&t["@@transducer/reduced"]){t=t["@@transducer/value"];break}r+=1}return e["@@transducer/result"](t)}(o,a,s);if("function"==typeof s["fantasy-land/reduce"])return t(o,a,s,"fantasy-land/reduce");if(null!=s[n])return e(o,a,s[n]());if("function"==typeof s.next)return e(o,a,s);if("function"==typeof s.reduce)return t(o,a,s,"reduce");throw new TypeError("reduce: list must be array or iterable")}}()},22157:function(e){e.exports=function(e){return e&&e["@@transducer/reduced"]?e:{"@@transducer/value":e,"@@transducer/reduced":!0}}},74745:function(e,t,n){var r,i,o,a=n(82512),s=n(50339),u=n(3219),c=n(69082),l=n(144);e.exports=(r={"@@transducer/init":Array,"@@transducer/step":function(e,t){return e.push(t),e},"@@transducer/result":s},i={"@@transducer/init":String,"@@transducer/step":function(e,t){return e+t},"@@transducer/result":s},o={"@@transducer/init":Object,"@@transducer/step":function(e,t){return a(e,u(t)?l(t[0],t[1]):t)},"@@transducer/result":s},function(e){if(c(e))return e;if(u(e))return r;if("string"==typeof e)return i;if("object"==typeof e)return o;throw new Error("Cannot create transformer for "+e)})},5123:function(e){var t;e.exports=(t=function(e){return(e<10?"0":"")+e},"function"==typeof Date.prototype.toISOString?function(e){return e.toISOString()}:function(e){return e.getUTCFullYear()+"-"+t(e.getUTCMonth()+1)+"-"+t(e.getUTCDate())+"T"+t(e.getUTCHours())+":"+t(e.getUTCMinutes())+":"+t(e.getUTCSeconds())+"."+(e.getUTCMilliseconds()/1e3).toFixed(3).slice(2,5)+"Z"})},31136:function(e,t,n){var r=n(64281),i=n(36692),o=n(76001),a=n(5123),s=n(90368),u=n(63266);e.exports=function e(t,n){var c=function(i){var o=n.concat([t]);return r(i,o)?"<Circular>":e(i,o)},l=function(e,t){return i((function(t){return o(t)+": "+c(e[t])}),t.slice().sort())};switch(Object.prototype.toString.call(t)){case"[object Arguments]":return"(function() { return arguments; }("+i(c,t).join(", ")+"))";case"[object Array]":return"["+i(c,t).concat(l(t,u((function(e){return/^\d+$/.test(e)}),s(t)))).join(", ")+"]";case"[object Boolean]":return"object"==typeof t?"new Boolean("+c(t.valueOf())+")":t.toString();case"[object Date]":return"new Date("+(isNaN(t.valueOf())?c(NaN):o(a(t)))+")";case"[object Null]":return"null";case"[object Number]":return"object"==typeof t?"new Number("+c(t.valueOf())+")":1/t==-1/0?"-0":t.toString(10);case"[object String]":return"object"==typeof t?"new String("+c(t.valueOf())+")":o(t);case"[object Undefined]":return"undefined";default:if("function"==typeof t.toString){var f=t.toString();if("[object Object]"!==f)return f}return"{"+l(t,s(t)).join(", ")+"}"}}},15750:function(e,t,n){var r=n(79002),i=n(22157),o=n(93714);e.exports=function(){function e(e,t){this.xf=t,this.f=e,this.all=!0}return e.prototype["@@transducer/init"]=o.init,e.prototype["@@transducer/result"]=function(e){return this.all&&(e=this.xf["@@transducer/step"](e,!0)),this.xf["@@transducer/result"](e)},e.prototype["@@transducer/step"]=function(e,t){return this.f(t)||(this.all=!1,e=i(this.xf["@@transducer/step"](e,!1))),e},r((function(t,n){return new e(t,n)}))}()},43622:function(e,t,n){var r=n(79002),i=n(22157),o=n(93714);e.exports=function(){function e(e,t){this.xf=t,this.f=e,this.any=!1}return e.prototype["@@transducer/init"]=o.init,e.prototype["@@transducer/result"]=function(e){return this.any||(e=this.xf["@@transducer/step"](e,!1)),this.xf["@@transducer/result"](e)},e.prototype["@@transducer/step"]=function(e,t){return this.f(t)&&(this.any=!0,e=i(this.xf["@@transducer/step"](e,!0))),e},r((function(t,n){return new e(t,n)}))}()},76020:function(e,t,n){var r=n(14011),i=n(79002),o=n(93714);e.exports=function(){function e(e,t){this.xf=t,this.pos=0,this.full=!1,this.acc=new Array(e)}return e.prototype["@@transducer/init"]=o.init,e.prototype["@@transducer/result"]=function(e){return this.acc=null,this.xf["@@transducer/result"](e)},e.prototype["@@transducer/step"]=function(e,t){return this.store(t),this.full?this.xf["@@transducer/step"](e,this.getCopy()):e},e.prototype.store=function(e){this.acc[this.pos]=e,this.pos+=1,this.pos===this.acc.length&&(this.pos=0,this.full=!0)},e.prototype.getCopy=function(){return r(Array.prototype.slice.call(this.acc,this.pos),Array.prototype.slice.call(this.acc,0,this.pos))},i((function(t,n){return new e(t,n)}))}()},64814:function(e,t,n){var r=n(79002),i=n(8530),o=n(61894);e.exports=r((function(e,t){return o(e,i(t))}))},41700:function(e,t,n){var r=n(79002),i=n(93714);e.exports=function(){function e(e,t){this.xf=t,this.n=e}return e.prototype["@@transducer/init"]=i.init,e.prototype["@@transducer/result"]=i.result,e.prototype["@@transducer/step"]=function(e,t){return this.n>0?(this.n-=1,e):this.xf["@@transducer/step"](e,t)},r((function(t,n){return new e(t,n)}))}()},4534:function(e,t,n){var r=n(79002),i=n(93714);e.exports=function(){function e(e,t){this.xf=t,this.pos=0,this.full=!1,this.acc=new Array(e)}return e.prototype["@@transducer/init"]=i.init,e.prototype["@@transducer/result"]=function(e){return this.acc=null,this.xf["@@transducer/result"](e)},e.prototype["@@transducer/step"]=function(e,t){return this.full&&(e=this.xf["@@transducer/step"](e,this.acc[this.pos])),this.store(t),e},e.prototype.store=function(e){this.acc[this.pos]=e,this.pos+=1,this.pos===this.acc.length&&(this.pos=0,this.full=!0)},r((function(t,n){return new e(t,n)}))}()},34783:function(e,t,n){var r=n(79002),i=n(39488),o=n(93714);e.exports=function(){function e(e,t){this.f=e,this.retained=[],this.xf=t}return e.prototype["@@transducer/init"]=o.init,e.prototype["@@transducer/result"]=function(e){return this.retained=null,this.xf["@@transducer/result"](e)},e.prototype["@@transducer/step"]=function(e,t){return this.f(t)?this.retain(e,t):this.flush(e,t)},e.prototype.flush=function(e,t){return e=i(this.xf["@@transducer/step"],e,this.retained),this.retained=[],this.xf["@@transducer/step"](e,t)},e.prototype.retain=function(e,t){return this.retained.push(t),e},r((function(t,n){return new e(t,n)}))}()},6234:function(e,t,n){var r=n(79002),i=n(93714);e.exports=function(){function e(e,t){this.xf=t,this.pred=e,this.lastValue=void 0,this.seenFirstValue=!1}return e.prototype["@@transducer/init"]=i.init,e.prototype["@@transducer/result"]=i.result,e.prototype["@@transducer/step"]=function(e,t){var n=!1;return this.seenFirstValue?this.pred(this.lastValue,t)&&(n=!0):this.seenFirstValue=!0,this.lastValue=t,n?e:this.xf["@@transducer/step"](e,t)},r((function(t,n){return new e(t,n)}))}()},1908:function(e,t,n){var r=n(79002),i=n(93714);e.exports=function(){function e(e,t){this.xf=t,this.f=e}return e.prototype["@@transducer/init"]=i.init,e.prototype["@@transducer/result"]=i.result,e.prototype["@@transducer/step"]=function(e,t){if(this.f){if(this.f(t))return e;this.f=null}return this.xf["@@transducer/step"](e,t)},r((function(t,n){return new e(t,n)}))}()},93714:function(e){e.exports={init:function(){return this.xf["@@transducer/init"]()},result:function(e){return this.xf["@@transducer/result"](e)}}},11383:function(e,t,n){var r=n(79002),i=n(93714);e.exports=function(){function e(e,t){this.xf=t,this.f=e}return e.prototype["@@transducer/init"]=i.init,e.prototype["@@transducer/result"]=i.result,e.prototype["@@transducer/step"]=function(e,t){return this.f(t)?this.xf["@@transducer/step"](e,t):e},r((function(t,n){return new e(t,n)}))}()},47855:function(e,t,n){var r=n(79002),i=n(22157),o=n(93714);e.exports=function(){function e(e,t){this.xf=t,this.f=e,this.found=!1}return e.prototype["@@transducer/init"]=o.init,e.prototype["@@transducer/result"]=function(e){return this.found||(e=this.xf["@@transducer/step"](e,void 0)),this.xf["@@transducer/result"](e)},e.prototype["@@transducer/step"]=function(e,t){return this.f(t)&&(this.found=!0,e=i(this.xf["@@transducer/step"](e,t))),e},r((function(t,n){return new e(t,n)}))}()},20834:function(e,t,n){var r=n(79002),i=n(22157),o=n(93714);e.exports=function(){function e(e,t){this.xf=t,this.f=e,this.idx=-1,this.found=!1}return e.prototype["@@transducer/init"]=o.init,e.prototype["@@transducer/result"]=function(e){return this.found||(e=this.xf["@@transducer/step"](e,-1)),this.xf["@@transducer/result"](e)},e.prototype["@@transducer/step"]=function(e,t){return this.idx+=1,this.f(t)&&(this.found=!0,e=i(this.xf["@@transducer/step"](e,this.idx))),e},r((function(t,n){return new e(t,n)}))}()},28922:function(e,t,n){var r=n(79002),i=n(93714);e.exports=function(){function e(e,t){this.xf=t,this.f=e}return e.prototype["@@transducer/init"]=i.init,e.prototype["@@transducer/result"]=function(e){return this.xf["@@transducer/result"](this.xf["@@transducer/step"](e,this.last))},e.prototype["@@transducer/step"]=function(e,t){return this.f(t)&&(this.last=t),e},r((function(t,n){return new e(t,n)}))}()},36626:function(e,t,n){var r=n(79002),i=n(93714);e.exports=function(){function e(e,t){this.xf=t,this.f=e,this.idx=-1,this.lastIdx=-1}return e.prototype["@@transducer/init"]=i.init,e.prototype["@@transducer/result"]=function(e){return this.xf["@@transducer/result"](this.xf["@@transducer/step"](e,this.lastIdx))},e.prototype["@@transducer/step"]=function(e,t){return this.idx+=1,this.f(t)&&(this.lastIdx=this.idx),e},r((function(t,n){return new e(t,n)}))}()},72894:function(e,t,n){var r=n(79002),i=n(93714);e.exports=function(){function e(e,t){this.xf=t,this.f=e}return e.prototype["@@transducer/init"]=i.init,e.prototype["@@transducer/result"]=i.result,e.prototype["@@transducer/step"]=function(e,t){return this.xf["@@transducer/step"](e,this.f(t))},r((function(t,n){return new e(t,n)}))}()},57744:function(e,t,n){var r=n(32738),i=n(87684),o=n(93714);e.exports=function(){function e(e,t,n,r){this.valueFn=e,this.valueAcc=t,this.keyFn=n,this.xf=r,this.inputs={}}return e.prototype["@@transducer/init"]=o.init,e.prototype["@@transducer/result"]=function(e){var t;for(t in this.inputs)if(i(t,this.inputs)&&(e=this.xf["@@transducer/step"](e,this.inputs[t]))["@@transducer/reduced"]){e=e["@@transducer/value"];break}return this.inputs=null,this.xf["@@transducer/result"](e)},e.prototype["@@transducer/step"]=function(e,t){var n=this.keyFn(t);return this.inputs[n]=this.inputs[n]||[n,this.valueAcc],this.inputs[n][1]=this.valueFn(this.inputs[n][1],t),e},r(4,[],(function(t,n,r,i){return new e(t,n,r,i)}))}()},49184:function(e,t,n){var r=n(79002),i=n(22157),o=n(93714);e.exports=function(){function e(e,t){this.xf=t,this.n=e,this.i=0}return e.prototype["@@transducer/init"]=o.init,e.prototype["@@transducer/result"]=o.result,e.prototype["@@transducer/step"]=function(e,t){this.i+=1;var n=0===this.n?e:this.xf["@@transducer/step"](e,t);return this.n>=0&&this.i>=this.n?i(n):n},r((function(t,n){return new e(t,n)}))}()},89963:function(e,t,n){var r=n(79002),i=n(22157),o=n(93714);e.exports=function(){function e(e,t){this.xf=t,this.f=e}return e.prototype["@@transducer/init"]=o.init,e.prototype["@@transducer/result"]=o.result,e.prototype["@@transducer/step"]=function(e,t){return this.f(t)?this.xf["@@transducer/step"](e,t):i(e)},r((function(t,n){return new e(t,n)}))}()},39874:function(e){e.exports=function(){function e(e){this.f=e}return e.prototype["@@transducer/init"]=function(){throw new Error("init not implemented on XWrap")},e.prototype["@@transducer/result"]=function(e){return e},e.prototype["@@transducer/step"]=function(e,t){return this.f(e,t)},function(t){return new e(t)}}()},26921:function(e,t,n){var r=n(64281),i=n(79002),o=n(34877),a=n(9134),s=n(90086);e.exports=i((function(e,t){var n,i;return e.length>t.length?(n=e,i=t):(n=t,i=e),s(o(a(r)(n),i))}))},33183:function(e,t,n){var r=n(28247),i=n(16370),o=n(77263);e.exports=i((function(e,t,n){var i,a;t.length>n.length?(i=t,a=n):(i=n,a=t);for(var s=[],u=0;u<a.length;)r(e,a[u],i)&&(s[s.length]=a[u]),u+=1;return o(e,s)}))},72577:function(e,t,n){var r=n(73542),i=n(79002);e.exports=i(r("intersperse",(function(e,t){for(var n=[],r=0,i=t.length;r<i;)r===i-1?n.push(t[r]):n.push(t[r],e),r+=1;return n})))},33795:function(e,t,n){var r=n(45114),i=n(16370),o=n(69082),a=n(39488),s=n(74745);e.exports=i((function(e,t,n){return o(e)?a(t(e),e["@@transducer/init"](),n):a(t(s(e)),r(e,[],[],!1),n)}))},92778:function(e,t,n){var r=n(76224),i=n(87684),o=n(90368);e.exports=r((function(e){for(var t=o(e),n=t.length,r=0,a={};r<n;){var s=t[r],u=e[s],c=i(u,a)?a[u]:a[u]=[];c[c.length]=s,r+=1}return a}))},62380:function(e,t,n){var r=n(76224),i=n(90368);e.exports=r((function(e){for(var t=i(e),n=t.length,r=0,o={};r<n;){var a=t[r];o[e[a]]=a,r+=1}return o}))},25189:function(e,t,n){var r=n(79002),i=n(62144),o=n(2220),a=n(15243);e.exports=r((function(e,t){return o(e+1,(function(){var n=arguments[e];if(null!=n&&i(n[t]))return n[t].apply(n,Array.prototype.slice.call(arguments,0,e));throw new TypeError(a(n)+' does not have a method named "'+t+'"')}))}))},9443:function(e,t,n){var r=n(79002);e.exports=r((function(e,t){return null!=t&&t.constructor===e||t instanceof e}))},42157:function(e,t,n){var r=n(76224),i=n(8403),o=n(51481);e.exports=r((function(e){return null!=e&&o(e,i(e))}))},13657:function(e,t,n){var r=n(76224);e.exports=r((function(e){return null==e}))},18231:function(e,t,n){var r=n(25189);e.exports=r(1,"join")},55389:function(e,t,n){var r=n(76224),i=n(38907);e.exports=r((function(e){return i((function(){return Array.prototype.slice.call(arguments,0)}),e)}))},90368:function(e,t,n){var r,i,o,a,s=n(76224),u=n(87684),c=n(97587);e.exports=(r=!{toString:null}.propertyIsEnumerable("toString"),i=["constructor","valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],o=function(){"use strict";return arguments.propertyIsEnumerable("length")}(),a=function(e,t){for(var n=0;n<e.length;){if(e[n]===t)return!0;n+=1}return!1},"function"!=typeof Object.keys||o?s((function(e){if(Object(e)!==e)return[];var t,n,s=[],l=o&&c(e);for(t in e)!u(t,e)||l&&"length"===t||(s[s.length]=t);if(r)for(n=i.length-1;n>=0;)u(t=i[n],e)&&!a(s,t)&&(s[s.length]=t),n-=1;return s})):s((function(e){return Object(e)!==e?[]:Object.keys(e)})))},17716:function(e,t,n){var r=n(76224);e.exports=r((function(e){var t,n=[];for(t in e)n[n.length]=t;return n}))},27601:function(e,t,n){var r=n(87041);e.exports=r(-1)},43448:function(e,t,n){var r=n(79002),i=n(20219),o=n(51481);e.exports=r((function(e,t){if("function"!=typeof t.lastIndexOf||i(t)){for(var n=t.length-1;n>=0;){if(o(t[n],e))return n;n-=1}return-1}return t.lastIndexOf(e)}))},24234:function(e,t,n){var r=n(76224),i=n(58591);e.exports=r((function(e){return null!=e&&i(e.length)?e.length:NaN}))},83087:function(e,t,n){var r=n(79002),i=n(61894);e.exports=r((function(e,t){return function(n){return function(r){return i((function(e){return t(e,r)}),n(e(r)))}}}))},76584:function(e,t,n){var r=n(76224),i=n(83087),o=n(87041),a=n(67964);e.exports=r((function(e){return i(o(e),a(e))}))},13207:function(e,t,n){var r=n(76224),i=n(32423),o=n(83087),a=n(87430);e.exports=r((function(e){return o(a(e),i(e))}))},25677:function(e,t,n){var r=n(76224),i=n(66497),o=n(83087),a=n(52478);e.exports=r((function(e){return o(a(e),i(e))}))},4041:function(e,t,n){var r=n(76224),i=n(1272);e.exports=r((function(e){return i(e.length,e)}))},1272:function(e,t,n){var r=n(79002),i=n(39488),o=n(77693),a=n(2220),s=n(61894);e.exports=r((function(e,t){var n=a(e,t);return a(e,(function(){return i(o,s(n,arguments[0]),Array.prototype.slice.call(arguments,1))}))}))},97560:function(e,t,n){var r=n(79002);e.exports=r((function(e,t){return e<t}))},13594:function(e,t,n){var r=n(79002);e.exports=r((function(e,t){return e<=t}))},61894:function(e,t,n){var r=n(79002),i=n(34793),o=n(36692),a=n(39488),s=n(72894),u=n(2220),c=n(90368);e.exports=r(i(["fantasy-land/map","map"],s,(function(e,t){switch(Object.prototype.toString.call(t)){case"[object Function]":return u(t.length,(function(){return e.call(this,t.apply(this,arguments))}));case"[object Object]":return a((function(n,r){return n[r]=e(t[r]),n}),{},c(t));default:return o(e,t)}})))},11282:function(e,t,n){var r=n(16370);e.exports=r((function(e,t,n){for(var r=0,i=n.length,o=[],a=[t];r<i;)a=e(a[0],n[r]),o[r]=a[1],r+=1;return[a[0],o]}))},51187:function(e,t,n){var r=n(16370);e.exports=r((function(e,t,n){for(var r=n.length-1,i=[],o=[t];r>=0;)o=e(n[r],o[0]),i[r]=o[1],r-=1;return[i,o[0]]}))},90013:function(e,t,n){var r=n(79002),i=n(39488),o=n(90368);e.exports=r((function(e,t){return i((function(n,r){return n[r]=e(t[r],r,t),n}),{},o(t))}))},6087:function(e,t,n){var r=n(79002);e.exports=r((function(e,t){return t.match(e)||[]}))},39175:function(e,t,n){var r=n(79002),i=n(37e3);e.exports=r((function(e,t){return i(e)?!i(t)||t<1?NaN:(e%t+t)%t:NaN}))},21186:function(e,t,n){var r=n(79002);e.exports=r((function(e,t){return t>e?t:e}))},91121:function(e,t,n){var r=n(16370);e.exports=r((function(e,t,n){return e(n)>e(t)?n:t}))},70182:function(e,t,n){var r=n(76224),i=n(36945);e.exports=r((function(e){return i(e)/e.length}))},98442:function(e,t,n){var r=n(76224),i=n(70182);e.exports=r((function(e){var t=e.length;if(0===t)return NaN;var n=2-t%2,r=(t-n)/2;return i(Array.prototype.slice.call(e,0).sort((function(e,t){return e<t?-1:e>t?1:0})).slice(r,r+n))}))},54749:function(e,t,n){var r=n(37365),i=n(15243);e.exports=r((function(){return i(arguments)}))},37365:function(e,t,n){var r=n(7455),i=n(79002),o=n(87684);e.exports=i((function(e,t){var n={};return r(t.length,(function(){var r=e.apply(this,arguments);return o(r,n)||(n[r]=t.apply(this,arguments)),n[r]}))}))},20780:function(e,t,n){var r=n(82512),i=n(79002);e.exports=i((function(e,t){return r({},e,t)}))},51493:function(e,t,n){var r=n(82512),i=n(76224);e.exports=i((function(e){return r.apply(null,[{}].concat(e))}))},88576:function(e,t,n){var r=n(79002),i=n(39036);e.exports=r((function(e,t){return i((function(e,t,n){return t}),e,t)}))},57046:function(e,t,n){var r=n(79002),i=n(39036);e.exports=r((function(e,t){return i((function(e,t,n){return n}),e,t)}))},71334:function(e,t,n){var r=n(16370),i=n(39036);e.exports=r((function(e,t,n){return i((function(t,n,r){return e(n,r)}),t,n)}))},39036:function(e,t,n){var r=n(16370),i=n(8291),o=n(56027);e.exports=r((function e(t,n,r){return o((function(n,r,o){return i(r)&&i(o)?e(t,r,o):t(n,r,o)}),n,r)}))},71008:function(e,t,n){var r=n(16370),i=n(56027);e.exports=r((function(e,t,n){return i((function(t,n,r){return e(n,r)}),t,n)}))},56027:function(e,t,n){var r=n(16370),i=n(87684);e.exports=r((function(e,t,n){var r,o={};for(r in t)i(r,t)&&(o[r]=i(r,n)?e(r,t[r],n[r]):t[r]);for(r in n)i(r,n)&&!i(r,o)&&(o[r]=n[r]);return o}))},25624:function(e,t,n){var r=n(79002);e.exports=r((function(e,t){return t<e?t:e}))},72121:function(e,t,n){var r=n(16370);e.exports=r((function(e,t,n){return e(n)<e(t)?n:t}))},52395:function(e,t,n){var r=n(79002);e.exports=r((function(e,t){return e%t}))},1102:function(e,t,n){var r=n(79002);e.exports=r((function(e,t){return e*t}))},40864:function(e,t,n){var r=n(79002);e.exports=r((function(e,t){switch(e){case 0:return function(){return t.call(this)};case 1:return function(e){return t.call(this,e)};case 2:return function(e,n){return t.call(this,e,n)};case 3:return function(e,n,r){return t.call(this,e,n,r)};case 4:return function(e,n,r,i){return t.call(this,e,n,r,i)};case 5:return function(e,n,r,i,o){return t.call(this,e,n,r,i,o)};case 6:return function(e,n,r,i,o,a){return t.call(this,e,n,r,i,o,a)};case 7:return function(e,n,r,i,o,a,s){return t.call(this,e,n,r,i,o,a,s)};case 8:return function(e,n,r,i,o,a,s,u){return t.call(this,e,n,r,i,o,a,s,u)};case 9:return function(e,n,r,i,o,a,s,u,c){return t.call(this,e,n,r,i,o,a,s,u,c)};case 10:return function(e,n,r,i,o,a,s,u,c,l){return t.call(this,e,n,r,i,o,a,s,u,c,l)};default:throw new Error("First argument to nAry must be a non-negative integer no greater than ten")}}))},709:function(e,t,n){var r=n(76224);e.exports=r((function(e){return-e}))},79916:function(e,t,n){var r=n(48770),i=n(79002),o=n(34793),a=n(43622),s=n(78095);e.exports=i(r(o(["any"],a,s)))},22184:function(e,t,n){var r=n(76224);e.exports=r((function(e){return!e}))},87041:function(e,t,n){var r=n(79002),i=n(20190);e.exports=r((function(e,t){var n=e<0?t.length+e:e;return i(t)?t.charAt(n):t[n]}))},33367:function(e,t,n){var r=n(76224),i=n(2220),o=n(87041);e.exports=r((function(e){return i(e<0?1:e+1,(function(){return o(e,arguments)}))}))},62809:function(e,t,n){var r=n(16370);e.exports=r((function(e,t,n){return e(t(n))}))},144:function(e,t,n){var r=n(79002);e.exports=r((function(e,t){var n={};return n[e]=t,n}))},70682:function(e,t,n){var r=n(76224),i=n(58791);e.exports=r(i)},61584:function(e,t,n){var r=n(64281),i=n(79002);e.exports=i((function(e,t){var n={};for(var i in t)r(i,e)||(n[i]=t[i]);return n}))},79487:function(e,t,n){var r=n(7455),i=n(76224);e.exports=i((function(e){var t,n=!1;return r(e.length,(function(){return n?t:(n=!0,t=e.apply(this,arguments))}))}))},18384:function(e,t,n){var r=n(79002);e.exports=r((function(e,t){return e||t}))},92738:function(e,t,n){var r,i=n(16370);e.exports=(r=function(e){return{value:e,map:function(t){return r(t(e))}}},i((function(e,t,n){return e((function(e){return r(t(e))}))(n).value})))},68380:function(e,t,n){var r=n(79002);e.exports=r((function(e,t){return[e,t]}))},96942:function(e,t,n){var r=n(14011),i=n(57994);e.exports=i(r)},69025:function(e,t,n){var r=n(14011),i=n(57994),o=n(9134);e.exports=i(o(r))},38135:function(e,t,n){var r=n(51383),i=n(55389),o=n(63266);e.exports=i([r,o])},87430:function(e,t,n){var r=n(79002);e.exports=r((function(e,t){for(var n=t,r=0;r<e.length;){if(null==n)return;n=n[e[r]],r+=1}return n}))},40437:function(e,t,n){var r=n(16370),i=n(51481),o=n(87430);e.exports=r((function(e,t,n){return i(o(e,n),t)}))},54782:function(e,t,n){var r=n(16370),i=n(52892),o=n(87430);e.exports=r((function(e,t,n){return i(e,o(t,n))}))},4991:function(e,t,n){var r=n(16370),i=n(87430);e.exports=r((function(e,t,n){return t.length>0&&e(i(t,n))}))},5206:function(e,t,n){var r=n(79002);e.exports=r((function(e,t){for(var n={},r=0;r<e.length;)e[r]in t&&(n[e[r]]=t[e[r]]),r+=1;return n}))},68976:function(e,t,n){var r=n(79002);e.exports=r((function(e,t){for(var n={},r=0,i=e.length;r<i;){var o=e[r];n[o]=t[o],r+=1}return n}))},12964:function(e,t,n){var r=n(79002);e.exports=r((function(e,t){var n={};for(var r in t)e(t[r],r,t)&&(n[r]=t[r]);return n}))},4603:function(e,t,n){var r=n(7455),i=n(56015),o=n(20793),a=n(43656);e.exports=function(){if(0===arguments.length)throw new Error("pipe requires at least one argument");return r(arguments[0].length,o(i,arguments[0],a(arguments)))}},84136:function(e,t,n){var r=n(37013),i=n(65814);e.exports=function(){if(0===arguments.length)throw new Error("pipeK requires at least one argument");return r.apply(this,i(arguments))}},96828:function(e,t,n){var r=n(7455),i=n(60829),o=n(20793),a=n(43656);e.exports=function(){if(0===arguments.length)throw new Error("pipeP requires at least one argument");return r(arguments[0].length,o(i,arguments[0],a(arguments)))}},84585:function(e,t,n){var r=n(79002),i=n(61894),o=n(52478);e.exports=r((function(e,t){return i(o(e),t)}))},80409:function(e,t,n){var r=n(14011),i=n(79002);e.exports=i((function(e,t){return r([e],t)}))},18890:function(e,t,n){var r=n(1102),i=n(20793);e.exports=i(r,1)},61391:function(e,t,n){var r=n(36692),i=n(69105),o=n(68976),a=n(40517);e.exports=a(r,[o,i])},52478:function(e,t,n){var r=n(79002);e.exports=r((function(e,t){return t[e]}))},18371:function(e,t,n){var r=n(16370),i=n(51481);e.exports=r((function(e,t,n){return i(t,n[e])}))},58426:function(e,t,n){var r=n(16370),i=n(9443);e.exports=r((function(e,t,n){return i(e,n[t])}))},53176:function(e,t,n){var r=n(16370),i=n(87684);e.exports=r((function(e,t,n){return null!=n&&i(t,n)?n[t]:e}))},67430:function(e,t,n){var r=n(16370);e.exports=r((function(e,t,n){return e(n[t])}))},64691:function(e,t,n){var r=n(79002);e.exports=r((function(e,t){for(var n=e.length,r=[],i=0;i<n;)r[i]=t[e[i]],i+=1;return r}))},56396:function(e,t,n){var r=n(79002),i=n(58591);e.exports=r((function(e,t){if(!i(e)||!i(t))throw new TypeError("Both arguments to range must be numbers");for(var n=[],r=e;r<t;)n.push(r),r+=1;return n}))},20793:function(e,t,n){var r=n(16370),i=n(39488);e.exports=r(i)},44285:function(e,t,n){var r=n(32738),i=n(34793),o=n(87684),a=n(39488),s=n(57744);e.exports=r(4,[],i([],s,(function(e,t,n,r){return a((function(r,i){var a=n(i);return r[a]=e(o(a,r)?r[a]:t,i),r}),{},r)})))},47981:function(e,t,n){var r=n(16370);e.exports=r((function(e,t,n){for(var r=n.length-1;r>=0;)t=e(n[r],t),r-=1;return t}))},16392:function(e,t,n){var r=n(32738),i=n(39488),o=n(22157);e.exports=r(4,[],(function(e,t,n,r){return i((function(n,r){return e(n,r)?t(n,r):o(n)}),n,r)}))},39280:function(e,t,n){var r=n(76224),i=n(22157);e.exports=r(i)},63266:function(e,t,n){var r=n(48770),i=n(79002),o=n(51383);e.exports=i((function(e,t){return o(r(e),t)}))},99072:function(e,t,n){var r=n(16370);e.exports=r((function(e,t,n){var r=Array.prototype.slice.call(n,0);return r.splice(e,t),r}))},33633:function(e,t,n){var r=n(79002),i=n(54115),o=n(32250);e.exports=r((function(e,t){return o(i(e),t)}))},5683:function(e,t,n){var r=n(16370);e.exports=r((function(e,t,n){return n.replace(e,t)}))},65814:function(e,t,n){var r=n(76224),i=n(20190);e.exports=r((function(e){return i(e)?e.split("").reverse().join(""):Array.prototype.slice.call(e,0).reverse()}))},95485:function(e,t,n){var r=n(16370);e.exports=r((function(e,t,n){for(var r=0,i=n.length,o=[t];r<i;)t=e(t,n[r]),o[r+1]=t,r+=1;return o}))},233:function(e,t,n){var r=n(79002),i=n(77693),o=n(61894),a=n(80409),s=n(47981);e.exports=r((function(e,t){return"function"==typeof t.sequence?t.sequence(e):s((function(e,t){return i(o(a,e),t)}),e([]),t)}))},5994:function(e,t,n){var r=n(16370),i=n(54115),o=n(92738);e.exports=r((function(e,t,n){return o(e,i(t),n)}))},81753:function(e,t,n){var r=n(73542),i=n(16370);e.exports=i(r("slice",(function(e,t,n){return Array.prototype.slice.call(n,e,t)})))},36218:function(e,t,n){var r=n(79002);e.exports=r((function(e,t){return Array.prototype.slice.call(t,0).sort(e)}))},1667:function(e,t,n){var r=n(79002);e.exports=r((function(e,t){return Array.prototype.slice.call(t,0).sort((function(t,n){var r=e(t),i=e(n);return r<i?-1:r>i?1:0}))}))},39153:function(e,t,n){var r=n(79002);e.exports=r((function(e,t){return Array.prototype.slice.call(t,0).sort((function(t,n){for(var r=0,i=0;0===r&&i<e.length;)r=e[i](t,n),i+=1;return r}))}))},12601:function(e,t,n){var r=n(25189);e.exports=r(1,"split")},68959:function(e,t,n){var r=n(79002),i=n(24234),o=n(81753);e.exports=r((function(e,t){return[o(0,e,t),o(e,i(t),t)]}))},59241:function(e,t,n){var r=n(79002),i=n(81753);e.exports=r((function(e,t){if(e<=0)throw new Error("First argument to splitEvery must be a positive integer");for(var n=[],r=0;r<t.length;)n.push(i(r,r+=e,t));return n}))},9781:function(e,t,n){var r=n(79002);e.exports=r((function(e,t){for(var n=0,r=t.length,i=[];n<r&&!e(t[n]);)i.push(t[n]),n+=1;return[i,Array.prototype.slice.call(t,n)]}))},60830:function(e,t,n){var r=n(79002),i=n(51481),o=n(94744);e.exports=r((function(e,t){return i(o(e.length,t),e)}))},29454:function(e,t,n){var r=n(79002);e.exports=r((function(e,t){return Number(e)-Number(t)}))},36945:function(e,t,n){var r=n(63073),i=n(20793);e.exports=i(r,0)},16722:function(e,t,n){var r=n(79002),i=n(54405),o=n(34226);e.exports=r((function(e,t){return i(o(e,t),o(t,e))}))},7776:function(e,t,n){var r=n(16370),i=n(54405),o=n(22013);e.exports=r((function(e,t,n){return i(o(e,t,n),o(e,n,t))}))},43656:function(e,t,n){var r=n(73542),i=n(76224),o=n(81753);e.exports=i(r("tail",o(1,1/0)))},94744:function(e,t,n){var r=n(79002),i=n(34793),o=n(49184),a=n(81753);e.exports=r(i(["take"],o,(function(e,t){return a(0,e<0?1/0:e,t)})))},18703:function(e,t,n){var r=n(79002),i=n(78821);e.exports=r((function(e,t){return i(e>=0?t.length-e:0,t)}))},96412:function(e,t,n){var r=n(79002);e.exports=r((function(e,t){for(var n=t.length-1;n>=0&&e(t[n]);)n-=1;return Array.prototype.slice.call(t,n+1)}))},27050:function(e,t,n){var r=n(79002),i=n(34793),o=n(89963);e.exports=r(i(["takeWhile"],o,(function(e,t){for(var n=0,r=t.length;n<r&&e(t[n]);)n+=1;return Array.prototype.slice.call(t,0,n)})))},6037:function(e,t,n){var r=n(79002);e.exports=r((function(e,t){return e(t),t}))},73495:function(e,t,n){var r=n(9039),i=n(79002),o=n(79725),a=n(15243);e.exports=i((function(e,t){if(!o(e))throw new TypeError("‘test’ requires a value of type RegExp as its first argument; received "+a(e));return r(e).test(t)}))},32250:function(e,t,n){var r=n(79002);e.exports=r((function(e,t){var n,r=Number(t),i=0;if(r<0||isNaN(r))throw new RangeError("n must be a non-negative number");for(n=new Array(r);i<r;)n[i]=e(i),i+=1;return n}))},80620:function(e,t,n){var r=n(25189);e.exports=r(0,"toLowerCase")},98313:function(e,t,n){var r=n(76224),i=n(87684);e.exports=r((function(e){var t=[];for(var n in e)i(n,e)&&(t[t.length]=[n,e[n]]);return t}))},44739:function(e,t,n){var r=n(76224);e.exports=r((function(e){var t=[];for(var n in e)t[t.length]=[n,e[n]];return t}))},15243:function(e,t,n){var r=n(76224),i=n(31136);e.exports=r((function(e){return i(e,[])}))},74633:function(e,t,n){var r=n(25189);e.exports=r(0,"toUpperCase")},63158:function(e,t,n){var r=n(39488),i=n(39874),o=n(2220);e.exports=o(4,(function(e,t,n,o){return r(e("function"==typeof t?i(t):t),n,o)}))},5466:function(e,t,n){var r=n(76224);e.exports=r((function(e){for(var t=0,n=[];t<e.length;){for(var r=e[t],i=0;i<r.length;)void 0===n[i]&&(n[i]=[]),n[i].push(r[i]),i+=1;t+=1}return n}))},40231:function(e,t,n){var r=n(16370),i=n(61894),o=n(233);e.exports=r((function(e,t,n){return"function"==typeof n["fantasy-land/traverse"]?n["fantasy-land/traverse"](t,e):o(e,i(t,n))}))},67031:function(e,t,n){var r,i=n(76224);e.exports=(r="\t\n\v\f\r   ᠎              \u2028\u2029\ufeff","function"==typeof String.prototype.trim&&!r.trim()&&"​".trim()?i((function(e){return e.trim()})):i((function(e){var t=new RegExp("^["+r+"]["+r+"]*"),n=new RegExp("["+r+"]["+r+"]*$");return e.replace(t,"").replace(n,"")})))},55105:function(e,t,n){var r=n(7455),i=n(14011),o=n(79002);e.exports=o((function(e,t){return r(e.length,(function(){try{return e.apply(this,arguments)}catch(e){return t.apply(this,i([e],arguments))}}))}))},36433:function(e,t,n){var r=n(76224);e.exports=r((function(e){return null===e?"Null":void 0===e?"Undefined":Object.prototype.toString.call(e).slice(8,-1)}))},59378:function(e,t,n){var r=n(76224);e.exports=r((function(e){return function(){return e(Array.prototype.slice.call(arguments,0))}}))},51380:function(e,t,n){var r=n(76224),i=n(40864);e.exports=r((function(e){return i(1,e)}))},1465:function(e,t,n){var r=n(79002),i=n(2220);e.exports=r((function(e,t){return i(e,(function(){for(var n,r=1,i=t,o=0;r<=e&&"function"==typeof i;)n=r===e?arguments.length:o+i.length,i=i.apply(this,Array.prototype.slice.call(arguments,o,n)),r+=1,o=n;return i}))}))},32936:function(e,t,n){var r=n(79002);e.exports=r((function(e,t){for(var n=e(t),r=[];n&&n.length;)r[r.length]=n[0],n=e(n[1]);return r}))},30275:function(e,t,n){var r=n(14011),i=n(79002),o=n(50557),a=n(90086);e.exports=i(o(a,r))},90014:function(e,t,n){var r=n(14011),i=n(16370),o=n(77263);e.exports=i((function(e,t,n){return o(e,r(t,n))}))},90086:function(e,t,n){var r=n(69105),i=n(54025);e.exports=i(r)},54025:function(e,t,n){var r=n(8876),i=n(79002);e.exports=i((function(e,t){for(var n,i,o=new r,a=[],s=0;s<t.length;)n=e(i=t[s]),o.add(n)&&a.push(i),s+=1;return a}))},77263:function(e,t,n){var r=n(28247),i=n(79002);e.exports=i((function(e,t){for(var n,i=0,o=t.length,a=[];i<o;)n=t[i],r(e,n,a)||(a[a.length]=n),i+=1;return a}))},61937:function(e,t,n){var r=n(16370);e.exports=r((function(e,t,n){return e(n)?n:t(n)}))},51497:function(e,t,n){var r=n(50339),i=n(79098);e.exports=i(r)},51800:function(e,t,n){var r=n(16370);e.exports=r((function(e,t,n){for(var r=n;!e(r);)r=t(r);return r}))},67964:function(e,t,n){var r=n(16370),i=n(82515),o=n(54115);e.exports=r((function(e,t,n){return i(o(t),e,n)}))},40517:function(e,t,n){var r=n(79002),i=n(2220);e.exports=r((function(e,t){return i(t.length,(function(){for(var n=[],r=0;r<t.length;)n.push(t[r].call(this,arguments[r])),r+=1;return e.apply(this,n.concat(Array.prototype.slice.call(arguments,t.length)))}))}))},33411:function(e,t,n){var r=n(76224),i=n(90368);e.exports=r((function(e){for(var t=i(e),n=t.length,r=[],o=0;o<n;)r[o]=e[t[o]],o+=1;return r}))},75988:function(e,t,n){var r=n(76224);e.exports=r((function(e){var t,n=[];for(t in e)n[n.length]=e[t];return n}))},43931:function(e,t,n){var r,i=n(79002);e.exports=(r=function(e){return{value:e,"fantasy-land/map":function(){return this}}},i((function(e,t){return e(r)(t).value})))},47176:function(e,t,n){var r=n(16370);e.exports=r((function(e,t,n){return e(n)?t(n):n}))},39629:function(e,t,n){var r=n(79002),i=n(87684);e.exports=r((function(e,t){for(var n in e)if(i(n,e)&&!e[n](t[n]))return!1;return!0}))},15598:function(e,t,n){var r=n(79002),i=n(51481),o=n(61894),a=n(39629);e.exports=r((function(e,t){return a(o(i,e),t)}))},76290:function(e,t,n){var r=n(64281),i=n(79002),o=n(9134),a=n(63266);e.exports=i((function(e,t){return a(o(r)(e),t)}))},90482:function(e,t,n){var r=n(79002);e.exports=r((function(e,t){for(var n,r=0,i=e.length,o=t.length,a=[];r<i;){for(n=0;n<o;)a[a.length]=[e[r],t[n]],n+=1;r+=1}return a}))},5086:function(e,t,n){var r=n(79002);e.exports=r((function(e,t){for(var n=[],r=0,i=Math.min(e.length,t.length);r<i;)n[r]=[e[r],t[r]],r+=1;return n}))},47858:function(e,t,n){var r=n(79002);e.exports=r((function(e,t){for(var n=0,r=Math.min(e.length,t.length),i={};n<r;)i[e[n]]=t[n],n+=1;return i}))},30635:function(e,t,n){var r=n(16370);e.exports=r((function(e,t,n){for(var r=[],i=0,o=Math.min(t.length,n.length);i<o;)r[i]=e(t[i],n[i]),i+=1;return r}))},40725:function(e,t,n){var r;"undefined"!=typeof self&&self,e.exports=(r=n(28416),function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=2)}([function(e,t){e.exports=r},function(e,t,n){"use strict";var r={linear:function(e,t,n,r){return(n-t)*e/r+t},easeInQuad:function(e,t,n,r){return(n-t)*(e/=r)*e+t},easeOutQuad:function(e,t,n,r){return-(n-t)*(e/=r)*(e-2)+t},easeInOutQuad:function(e,t,n,r){var i=n-t;return(e/=r/2)<1?i/2*e*e+t:-i/2*(--e*(e-2)-1)+t},easeInCubic:function(e,t,n,r){return(n-t)*(e/=r)*e*e+t},easeOutCubic:function(e,t,n,r){return(n-t)*((e=e/r-1)*e*e+1)+t},easeInOutCubic:function(e,t,n,r){var i=n-t;return(e/=r/2)<1?i/2*e*e*e+t:i/2*((e-=2)*e*e+2)+t},easeInQuart:function(e,t,n,r){return(n-t)*(e/=r)*e*e*e+t},easeOutQuart:function(e,t,n,r){return-(n-t)*((e=e/r-1)*e*e*e-1)+t},easeInOutQuart:function(e,t,n,r){var i=n-t;return(e/=r/2)<1?i/2*e*e*e*e+t:-i/2*((e-=2)*e*e*e-2)+t},easeInQuint:function(e,t,n,r){return(n-t)*(e/=r)*e*e*e*e+t},easeOutQuint:function(e,t,n,r){return(n-t)*((e=e/r-1)*e*e*e*e+1)+t},easeInOutQuint:function(e,t,n,r){var i=n-t;return(e/=r/2)<1?i/2*e*e*e*e*e+t:i/2*((e-=2)*e*e*e*e+2)+t},easeInSine:function(e,t,n,r){var i=n-t;return-i*Math.cos(e/r*(Math.PI/2))+i+t},easeOutSine:function(e,t,n,r){return(n-t)*Math.sin(e/r*(Math.PI/2))+t},easeInOutSine:function(e,t,n,r){return-(n-t)/2*(Math.cos(Math.PI*e/r)-1)+t},easeInExpo:function(e,t,n,r){return 0==e?t:(n-t)*Math.pow(2,10*(e/r-1))+t},easeOutExpo:function(e,t,n,r){var i=n-t;return e==r?t+i:i*(1-Math.pow(2,-10*e/r))+t},easeInOutExpo:function(e,t,n,r){var i=n-t;return 0===e?t:e===r?t+i:(e/=r/2)<1?i/2*Math.pow(2,10*(e-1))+t:i/2*(2-Math.pow(2,-10*--e))+t},easeInCirc:function(e,t,n,r){return-(n-t)*(Math.sqrt(1-(e/=r)*e)-1)+t},easeOutCirc:function(e,t,n,r){return(n-t)*Math.sqrt(1-(e=e/r-1)*e)+t},easeInOutCirc:function(e,t,n,r){var i=n-t;return(e/=r/2)<1?-i/2*(Math.sqrt(1-e*e)-1)+t:i/2*(Math.sqrt(1-(e-=2)*e)+1)+t},easeInElastic:function(e,t,n,r){var i,o,a,s=n-t;return a=1.70158,0===e?t:1==(e/=r)?t+s:((o=0)||(o=.3*r),(i=s)<Math.abs(s)?(i=s,a=o/4):a=o/(2*Math.PI)*Math.asin(s/i),-i*Math.pow(2,10*(e-=1))*Math.sin((e*r-a)*(2*Math.PI)/o)+t)},easeOutElastic:function(e,t,n,r){var i,o,a,s=n-t;return a=1.70158,0===e?t:1==(e/=r)?t+s:((o=0)||(o=.3*r),(i=s)<Math.abs(s)?(i=s,a=o/4):a=o/(2*Math.PI)*Math.asin(s/i),i*Math.pow(2,-10*e)*Math.sin((e*r-a)*(2*Math.PI)/o)+s+t)},easeInOutElastic:function(e,t,n,r){var i,o,a,s=n-t;return a=1.70158,0===e?t:2==(e/=r/2)?t+s:((o=0)||(o=r*(.3*1.5)),(i=s)<Math.abs(s)?(i=s,a=o/4):a=o/(2*Math.PI)*Math.asin(s/i),e<1?i*Math.pow(2,10*(e-=1))*Math.sin((e*r-a)*(2*Math.PI)/o)*-.5+t:i*Math.pow(2,-10*(e-=1))*Math.sin((e*r-a)*(2*Math.PI)/o)*.5+s+t)},easeInBack:function(e,t,n,r,i){return void 0===i&&(i=1.70158),(n-t)*(e/=r)*e*((i+1)*e-i)+t},easeOutBack:function(e,t,n,r,i){return void 0===i&&(i=1.70158),(n-t)*((e=e/r-1)*e*((i+1)*e+i)+1)+t},easeInOutBack:function(e,t,n,r,i){var o=n-t;return void 0===i&&(i=1.70158),(e/=r/2)<1?o/2*(e*e*((1+(i*=1.525))*e-i))+t:o/2*((e-=2)*e*((1+(i*=1.525))*e+i)+2)+t},easeInBounce:function(e,t,n,i){var o=n-t;return o-r.easeOutBounce(i-e,0,o,i)+t},easeOutBounce:function(e,t,n,r){var i=n-t;return(e/=r)<1/2.75?i*(7.5625*e*e)+t:e<2/2.75?i*(7.5625*(e-=1.5/2.75)*e+.75)+t:e<2.5/2.75?i*(7.5625*(e-=2.25/2.75)*e+.9375)+t:i*(7.5625*(e-=2.625/2.75)*e+.984375)+t},easeInOutBounce:function(e,t,n,i){var o=n-t;return e<i/2?.5*r.easeInBounce(2*e,0,o,i)+t:.5*r.easeOutBounce(2*e-i,0,o,i)+.5*o+t}};e.exports=r},function(e,t,n){e.exports=n(3)},function(e,t,n){"use strict";n.r(t);var r,i,o=n(0),a=n.n(o),s=n(1),u=n.n(s);function c(e,t){return e+Math.random()*(t-e)}function l(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function f(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}!function(e){e[e.Circle=0]="Circle",e[e.Square=1]="Square",e[e.Strip=2]="Strip"}(r||(r={})),function(e){e[e.Positive=1]="Positive",e[e.Negative=-1]="Negative"}(i||(i={}));var d=function(){function e(t,n,r,o){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),f(this,"context",void 0),f(this,"radius",void 0),f(this,"x",void 0),f(this,"y",void 0),f(this,"w",void 0),f(this,"h",void 0),f(this,"vx",void 0),f(this,"vy",void 0),f(this,"shape",void 0),f(this,"angle",void 0),f(this,"angularSpin",void 0),f(this,"color",void 0),f(this,"rotateY",void 0),f(this,"rotationDirection",void 0),f(this,"getOptions",void 0),this.getOptions=n;var a,s,u=this.getOptions(),l=u.colors,d=u.initialVelocityX,p=u.initialVelocityY;this.context=t,this.x=r,this.y=o,this.w=c(5,20),this.h=c(5,20),this.radius=c(5,10),this.vx=c(-d,d),this.vy=c(-p,0),this.shape=(a=0,s=2,Math.floor(a+Math.random()*(s-a+1))),this.angle=c(0,360)*Math.PI/180,this.angularSpin=c(-.2,.2),this.color=l[Math.floor(Math.random()*l.length)],this.rotateY=c(0,1),this.rotationDirection=c(0,1)?i.Positive:i.Negative}var t,n,o;return t=e,(n=[{key:"update",value:function(){var e=this.getOptions(),t=e.gravity,n=e.wind,o=e.friction,a=e.opacity,s=e.drawShape;this.x+=this.vx,this.y+=this.vy,this.vy+=t,this.vx+=n,this.vx*=o,this.vy*=o,this.rotateY>=1&&this.rotationDirection===i.Positive?this.rotationDirection=i.Negative:this.rotateY<=-1&&this.rotationDirection===i.Negative&&(this.rotationDirection=i.Positive);var u=.1*this.rotationDirection;if(this.rotateY+=u,this.angle+=this.angularSpin,this.context.save(),this.context.translate(this.x,this.y),this.context.rotate(this.angle),this.context.scale(1,this.rotateY),this.context.rotate(this.angle),this.context.beginPath(),this.context.fillStyle=this.color,this.context.strokeStyle=this.color,this.context.globalAlpha=a,this.context.lineCap="round",this.context.lineWidth=2,s&&"function"==typeof s)s.call(this,this.context);else switch(this.shape){case r.Circle:this.context.beginPath(),this.context.arc(0,0,this.radius,0,2*Math.PI),this.context.fill();break;case r.Square:this.context.fillRect(-this.w/2,-this.h/2,this.w,this.h);break;case r.Strip:this.context.fillRect(-this.w/6,-this.h/2,this.w/3,this.h)}this.context.closePath(),this.context.restore()}}])&&l(t.prototype,n),o&&l(t,o),e}();function p(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var h=function e(t,n){var r=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),p(this,"canvas",void 0),p(this,"context",void 0),p(this,"getOptions",void 0),p(this,"x",0),p(this,"y",0),p(this,"w",0),p(this,"h",0),p(this,"lastNumberOfPieces",0),p(this,"tweenInitTime",Date.now()),p(this,"particles",[]),p(this,"particlesGenerated",0),p(this,"removeParticleAt",(function(e){r.particles.splice(e,1)})),p(this,"getParticle",(function(){var e=c(r.x,r.w+r.x),t=c(r.y,r.h+r.y);return new d(r.context,r.getOptions,e,t)})),p(this,"animate",(function(){var e=r.canvas,t=r.context,n=r.particlesGenerated,i=r.lastNumberOfPieces,o=r.getOptions(),a=o.run,s=o.recycle,u=o.numberOfPieces,c=o.debug,l=o.tweenFunction,f=o.tweenDuration;if(!a)return!1;var d=r.particles.length,p=s?d:n,h=Date.now();if(p<u){i!==u&&(r.tweenInitTime=h,r.lastNumberOfPieces=u);for(var g=r.tweenInitTime,m=l(h-g>f?f:Math.max(0,h-g),p,u,f),y=Math.round(m-p),v=0;v<y;v++)r.particles.push(r.getParticle());r.particlesGenerated+=y}return c&&(t.font="12px sans-serif",t.fillStyle="#333",t.textAlign="right",t.fillText("Particles: ".concat(d),e.width-10,e.height-20)),r.particles.forEach((function(t,n){t.update(),(t.y>e.height||t.y<-100||t.x>e.width+100||t.x<-100)&&(s&&p<=u?r.particles[n]=r.getParticle():r.removeParticleAt(n))})),d>0||p<u})),this.canvas=t;var i=this.canvas.getContext("2d");if(!i)throw new Error("Could not get canvas context");this.context=i,this.getOptions=n};function g(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function m(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function y(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var v={width:"undefined"!=typeof window?window.innerWidth:300,height:"undefined"!=typeof window?window.innerHeight:200,numberOfPieces:200,friction:.99,wind:0,gravity:.1,initialVelocityX:4,initialVelocityY:10,colors:["#f44336","#e91e63","#9c27b0","#673ab7","#3f51b5","#2196f3","#03a9f4","#00bcd4","#009688","#4CAF50","#8BC34A","#CDDC39","#FFEB3B","#FFC107","#FF9800","#FF5722","#795548"],opacity:1,debug:!1,tweenFunction:u.a.easeInOutQuad,tweenDuration:5e3,recycle:!0,run:!0},b=function(){function e(t,n){var r=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),y(this,"canvas",void 0),y(this,"context",void 0),y(this,"_options",void 0),y(this,"generator",void 0),y(this,"rafId",void 0),y(this,"setOptionsWithDefaults",(function(e){var t={confettiSource:{x:0,y:0,w:r.canvas.width,h:0}};r._options=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?g(n,!0).forEach((function(t){y(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):g(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},t,{},v,{},e),Object.assign(r,e.confettiSource)})),y(this,"update",(function(){var e=r.options,t=e.run,n=e.onConfettiComplete,i=r.canvas,o=r.context;t&&(o.fillStyle="white",o.clearRect(0,0,i.width,i.height)),r.generator.animate()?r.rafId=requestAnimationFrame(r.update):(n&&"function"==typeof n&&r.generator.particlesGenerated>0&&n.call(r,r),r._options.run=!1)})),y(this,"reset",(function(){r.generator&&r.generator.particlesGenerated>0&&(r.generator.particlesGenerated=0,r.generator.particles=[],r.generator.lastNumberOfPieces=0)})),y(this,"stop",(function(){r.options={run:!1},r.rafId&&(cancelAnimationFrame(r.rafId),r.rafId=void 0)})),this.canvas=t;var i=this.canvas.getContext("2d");if(!i)throw new Error("Could not get canvas context");this.context=i,this.generator=new h(this.canvas,(function(){return r.options})),this.options=n,this.update()}var t,n,r;return t=e,(n=[{key:"options",get:function(){return this._options},set:function(e){var t=this._options&&this._options.run,n=this._options&&this._options.recycle;this.setOptionsWithDefaults(e),this.generator&&(Object.assign(this.generator,this.options.confettiSource),"boolean"==typeof e.recycle&&e.recycle&&!1===n&&(this.generator.lastNumberOfPieces=this.generator.particles.length)),"boolean"==typeof e.run&&e.run&&!1===t&&this.update()}}])&&m(t.prototype,n),r&&m(t,r),e}();function _(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function w(e){return(w="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function T(){return(T=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function x(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function S(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?x(n,!0).forEach((function(t){A(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):x(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function k(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){i=!0,o=e}finally{try{r||null==s.return||s.return()}finally{if(i)throw o}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function E(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function O(e){return(O=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function C(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function L(e,t){return(L=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function A(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,"ReactConfetti",(function(){return M}));var I=function(e){function t(e){var n,r;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var i=arguments.length,o=new Array(i>1?i-1:0),s=1;s<i;s++)o[s-1]=arguments[s];return r=function(e,t){return!t||"object"!==w(t)&&"function"!=typeof t?C(e):t}(this,(n=O(t)).call.apply(n,[this,e].concat(o))),A(C(r),"canvas",a.a.createRef()),A(C(r),"confetti",void 0),r.canvas=e.canvasRef||a.a.createRef(),r}var n,r,i;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&L(e,t)}(t,o.Component),n=t,(r=[{key:"componentDidMount",value:function(){if(this.canvas.current){var e=P(this.props)[0];this.confetti=new b(this.canvas.current,e)}}},{key:"componentWillReceiveProps",value:function(e){var t=P(e)[0];this.confetti&&(this.confetti.options=t)}},{key:"componentWillUnmount",value:function(){this.confetti&&this.confetti.stop(),this.confetti=void 0}},{key:"render",value:function(){var e=k(P(this.props),2),t=e[0],n=e[1],r=S({zIndex:2,position:"absolute",pointerEvents:"none",top:0,left:0,bottom:0,right:0},n.style);return a.a.createElement("canvas",T({width:t.width,height:t.height,ref:this.canvas},n,{style:r}))}}])&&E(n.prototype,r),i&&E(n,i),t}();function P(e){var t={},n={},r=[].concat(_(Object.keys(v)),["confettiSource","drawShape","onConfettiComplete"]),i=["canvasRef"];for(var o in e){var a=e[o];r.includes(o)?t[o]=a:i.includes(o)?i[o]=a:n[o]=a}return[t,n,{}]}A(I,"defaultProps",S({},v)),A(I,"displayName","ReactConfetti");var M=a.a.forwardRef((function(e,t){return a.a.createElement(I,T({canvasRef:t},e))}));t.default=M}]).default)},86869:function(e,t,n){var r=n(76489);"function"!=typeof Object.assign&&(Object.assign=function(e){"use strict";if(null==e)throw new TypeError("Cannot convert undefined or null to object");e=Object(e);for(var t=1;t<arguments.length;t++){var n=arguments[t];if(null!=n)for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e});var i={},o=void 0;function a(){return!!o&&!0!==o.headersSent}function s(e){i=e?r.parse(e):{}}var u={load:function(e,t){var n="undefined"==typeof document?i:r.parse(document.cookie),o=n&&n[e];if(void 0===t&&(t=!o||"{"!==o[0]&&"["!==o[0]),!t)try{o=JSON.parse(o)}catch(e){}return o},select:function(e){var t="undefined"==typeof document?i:r.parse(document.cookie);return t?e?Object.keys(t).reduce((function(n,r){if(!e.test(r))return n;var i={};return i[r]=t[r],Object.assign({},n,i)}),{}):t:{}},save:function(e,t,n){i[e]=t,"object"==typeof t&&(i[e]=JSON.stringify(t)),"undefined"!=typeof document&&(document.cookie=r.serialize(e,i[e],n)),a()&&o.cookie&&o.cookie(e,t,n)},remove:function(e,t){delete i[e],t=void 0===t?{}:"string"==typeof t?{path:t}:Object.assign({},t),"undefined"!=typeof document&&(t.expires=new Date(1970,1,1,0,0,1),t.maxAge=0,document.cookie=r.serialize(e,"",t)),a()&&o.clearCookie&&o.clearCookie(e,t)},setRawCookie:s,plugToRequest:function(e,t){return e.cookie?i=e.cookie:e.cookies?i=e.cookies:e.headers&&e.headers.cookie?s(e.headers.cookie):i={},o=t,function(){o=null,i={}}}};"undefined"!=typeof window&&(window.reactCookie=u),e.exports=u},64448:function(e,t,n){"use strict";var r=n(28416),i=n(63840);function o(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var a=new Set,s={};function u(e,t){c(e,t),c(e+"Capture",t)}function c(e,t){for(s[e]=t,e=0;e<t.length;e++)a.add(t[e])}var l=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),f=Object.prototype.hasOwnProperty,d=/^[: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][: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\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,p={},h={};function g(e,t,n,r,i,o,a){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=a}var m={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){m[e]=new g(e,0,!1,e,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];m[t]=new g(t,1,!1,e[1],null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){m[e]=new g(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){m[e]=new g(e,2,!1,e,null,!1,!1)})),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach((function(e){m[e]=new g(e,3,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(e){m[e]=new g(e,3,!0,e,null,!1,!1)})),["capture","download"].forEach((function(e){m[e]=new g(e,4,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((function(e){m[e]=new g(e,6,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((function(e){m[e]=new g(e,5,!1,e.toLowerCase(),null,!1,!1)}));var y=/[\-:]([a-z])/g;function v(e){return e[1].toUpperCase()}function b(e,t,n,r){var i=m.hasOwnProperty(t)?m[t]:null;(null!==i?0!==i.type:r||!(2<t.length)||"o"!==t[0]&&"O"!==t[0]||"n"!==t[1]&&"N"!==t[1])&&(function(e,t,n,r){if(null==t||function(e,t,n,r){if(null!==n&&0===n.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return!r&&(null!==n?!n.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}(e,t,n,r))return!0;if(r)return!1;if(null!==n)switch(n.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}(t,n,i,r)&&(n=null),r||null===i?function(e){return!!f.call(h,e)||!f.call(p,e)&&(d.test(e)?h[e]=!0:(p[e]=!0,!1))}(t)&&(null===n?e.removeAttribute(t):e.setAttribute(t,""+n)):i.mustUseProperty?e[i.propertyName]=null===n?3!==i.type&&"":n:(t=i.attributeName,r=i.attributeNamespace,null===n?e.removeAttribute(t):(n=3===(i=i.type)||4===i&&!0===n?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach((function(e){var t=e.replace(y,v);m[t]=new g(t,1,!1,e,null,!1,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(e){var t=e.replace(y,v);m[t]=new g(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(y,v);m[t]=new g(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(e){m[e]=new g(e,1,!1,e.toLowerCase(),null,!1,!1)})),m.xlinkHref=new g("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(e){m[e]=new g(e,1,!1,e.toLowerCase(),null,!0,!0)}));var _=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,w=Symbol.for("react.element"),T=Symbol.for("react.portal"),x=Symbol.for("react.fragment"),S=Symbol.for("react.strict_mode"),k=Symbol.for("react.profiler"),E=Symbol.for("react.provider"),O=Symbol.for("react.context"),C=Symbol.for("react.forward_ref"),L=Symbol.for("react.suspense"),A=Symbol.for("react.suspense_list"),I=Symbol.for("react.memo"),P=Symbol.for("react.lazy");Symbol.for("react.scope"),Symbol.for("react.debug_trace_mode");var M=Symbol.for("react.offscreen");Symbol.for("react.legacy_hidden"),Symbol.for("react.cache"),Symbol.for("react.tracing_marker");var R=Symbol.iterator;function j(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=R&&e[R]||e["@@iterator"])?e:null}var D,N=Object.assign;function B(e){if(void 0===D)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);D=t&&t[1]||""}return"\n"+D+e}var U=!1;function F(e,t){if(!e||U)return"";U=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(t,[])}catch(e){var r=e}Reflect.construct(e,[],t)}else{try{t.call()}catch(e){r=e}e.call(t.prototype)}else{try{throw Error()}catch(e){r=e}e()}}catch(t){if(t&&r&&"string"==typeof t.stack){for(var i=t.stack.split("\n"),o=r.stack.split("\n"),a=i.length-1,s=o.length-1;1<=a&&0<=s&&i[a]!==o[s];)s--;for(;1<=a&&0<=s;a--,s--)if(i[a]!==o[s]){if(1!==a||1!==s)do{if(a--,0>--s||i[a]!==o[s]){var u="\n"+i[a].replace(" at new "," at ");return e.displayName&&u.includes("<anonymous>")&&(u=u.replace("<anonymous>",e.displayName)),u}}while(1<=a&&0<=s);break}}}finally{U=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?B(e):""}function z(e){switch(e.tag){case 5:return B(e.type);case 16:return B("Lazy");case 13:return B("Suspense");case 19:return B("SuspenseList");case 0:case 2:case 15:return e=F(e.type,!1);case 11:return e=F(e.type.render,!1);case 1:return e=F(e.type,!0);default:return""}}function H(e){if(null==e)return null;if("function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case x:return"Fragment";case T:return"Portal";case k:return"Profiler";case S:return"StrictMode";case L:return"Suspense";case A:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case O:return(e.displayName||"Context")+".Consumer";case E:return(e._context.displayName||"Context")+".Provider";case C:var t=e.render;return(e=e.displayName)||(e=""!==(e=t.displayName||t.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case I:return null!==(t=e.displayName||null)?t:H(e.type)||"Memo";case P:t=e._payload,e=e._init;try{return H(e(t))}catch(e){}}return null}function Z(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=(e=t.render).displayName||e.name||"",t.displayName||(""!==e?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return H(t);case 8:return t===S?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if("function"==typeof t)return t.displayName||t.name||null;if("string"==typeof t)return t}return null}function q(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":case"object":return e;default:return""}}function V(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function W(e){e._valueTracker||(e._valueTracker=function(e){var t=V(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&void 0!==n&&"function"==typeof n.get&&"function"==typeof n.set){var i=n.get,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(e){r=""+e,o.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(e){r=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function G(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=V(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function $(e){if(void 0===(e=e||("undefined"!=typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function Y(e,t){var n=t.checked;return N({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function K(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=q(null!=t.value?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function X(e,t){null!=(t=t.checked)&&b(e,"checked",t,!1)}function Q(e,t){X(e,t);var n=q(t.value),r=t.type;if(null!=n)"number"===r?(0===n&&""===e.value||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if("submit"===r||"reset"===r)return void e.removeAttribute("value");t.hasOwnProperty("value")?ee(e,t.type,n):t.hasOwnProperty("defaultValue")&&ee(e,t.type,q(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function J(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!("submit"!==r&&"reset"!==r||void 0!==t.value&&null!==t.value))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}""!==(n=e.name)&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,""!==n&&(e.name=n)}function ee(e,t,n){"number"===t&&$(e.ownerDocument)===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var te=Array.isArray;function ne(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i<n.length;i++)t["$"+n[i]]=!0;for(n=0;n<e.length;n++)i=t.hasOwnProperty("$"+e[n].value),e[n].selected!==i&&(e[n].selected=i),i&&r&&(e[n].defaultSelected=!0)}else{for(n=""+q(n),t=null,i=0;i<e.length;i++){if(e[i].value===n)return e[i].selected=!0,void(r&&(e[i].defaultSelected=!0));null!==t||e[i].disabled||(t=e[i])}null!==t&&(t.selected=!0)}}function re(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(o(91));return N({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function ie(e,t){var n=t.value;if(null==n){if(n=t.children,t=t.defaultValue,null!=n){if(null!=t)throw Error(o(92));if(te(n)){if(1<n.length)throw Error(o(93));n=n[0]}t=n}null==t&&(t=""),n=t}e._wrapperState={initialValue:q(n)}}function oe(e,t){var n=q(t.value),r=q(t.defaultValue);null!=n&&((n=""+n)!==e.value&&(e.value=n),null==t.defaultValue&&e.defaultValue!==n&&(e.defaultValue=n)),null!=r&&(e.defaultValue=""+r)}function ae(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}function se(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function ue(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?se(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var ce,le,fe=(le=function(e,t){if("http://www.w3.org/2000/svg"!==e.namespaceURI||"innerHTML"in e)e.innerHTML=t;else{for((ce=ce||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=ce.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}},"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(e,t,n,r){MSApp.execUnsafeLocalFunction((function(){return le(e,t)}))}:le);function de(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}var pe={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!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},he=["Webkit","ms","Moz","O"];function ge(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||pe.hasOwnProperty(e)&&pe[e]?(""+t).trim():t+"px"}function me(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),i=ge(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}Object.keys(pe).forEach((function(e){he.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),pe[t]=pe[e]}))}));var ye=N({menuitem:!0},{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});function ve(e,t){if(t){if(ye[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(o(137,e));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(o(60));if("object"!=typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(o(61))}if(null!=t.style&&"object"!=typeof t.style)throw Error(o(62))}}function be(e,t){if(-1===e.indexOf("-"))return"string"==typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var _e=null;function we(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var Te=null,xe=null,Se=null;function ke(e){if(e=bi(e)){if("function"!=typeof Te)throw Error(o(280));var t=e.stateNode;t&&(t=wi(t),Te(e.stateNode,e.type,t))}}function Ee(e){xe?Se?Se.push(e):Se=[e]:xe=e}function Oe(){if(xe){var e=xe,t=Se;if(Se=xe=null,ke(e),t)for(e=0;e<t.length;e++)ke(t[e])}}function Ce(e,t){return e(t)}function Le(){}var Ae=!1;function Ie(e,t,n){if(Ae)return e(t,n);Ae=!0;try{return Ce(e,t,n)}finally{Ae=!1,(null!==xe||null!==Se)&&(Le(),Oe())}}function Pe(e,t){var n=e.stateNode;if(null===n)return null;var r=wi(n);if(null===r)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(r=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!r;break e;default:e=!1}if(e)return null;if(n&&"function"!=typeof n)throw Error(o(231,t,typeof n));return n}var Me=!1;if(l)try{var Re={};Object.defineProperty(Re,"passive",{get:function(){Me=!0}}),window.addEventListener("test",Re,Re),window.removeEventListener("test",Re,Re)}catch(le){Me=!1}function je(e,t,n,r,i,o,a,s,u){var c=Array.prototype.slice.call(arguments,3);try{t.apply(n,c)}catch(e){this.onError(e)}}var De=!1,Ne=null,Be=!1,Ue=null,Fe={onError:function(e){De=!0,Ne=e}};function ze(e,t,n,r,i,o,a,s,u){De=!1,Ne=null,je.apply(Fe,arguments)}function He(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{0!=(4098&(t=e).flags)&&(n=t.return),e=t.return}while(e)}return 3===t.tag?n:null}function Ze(e){if(13===e.tag){var t=e.memoizedState;if(null===t&&(null!==(e=e.alternate)&&(t=e.memoizedState)),null!==t)return t.dehydrated}return null}function qe(e){if(He(e)!==e)throw Error(o(188))}function Ve(e){return null!==(e=function(e){var t=e.alternate;if(!t){if(null===(t=He(e)))throw Error(o(188));return t!==e?null:e}for(var n=e,r=t;;){var i=n.return;if(null===i)break;var a=i.alternate;if(null===a){if(null!==(r=i.return)){n=r;continue}break}if(i.child===a.child){for(a=i.child;a;){if(a===n)return qe(i),e;if(a===r)return qe(i),t;a=a.sibling}throw Error(o(188))}if(n.return!==r.return)n=i,r=a;else{for(var s=!1,u=i.child;u;){if(u===n){s=!0,n=i,r=a;break}if(u===r){s=!0,r=i,n=a;break}u=u.sibling}if(!s){for(u=a.child;u;){if(u===n){s=!0,n=a,r=i;break}if(u===r){s=!0,r=a,n=i;break}u=u.sibling}if(!s)throw Error(o(189))}}if(n.alternate!==r)throw Error(o(190))}if(3!==n.tag)throw Error(o(188));return n.stateNode.current===n?e:t}(e))?We(e):null}function We(e){if(5===e.tag||6===e.tag)return e;for(e=e.child;null!==e;){var t=We(e);if(null!==t)return t;e=e.sibling}return null}var Ge=i.unstable_scheduleCallback,$e=i.unstable_cancelCallback,Ye=i.unstable_shouldYield,Ke=i.unstable_requestPaint,Xe=i.unstable_now,Qe=i.unstable_getCurrentPriorityLevel,Je=i.unstable_ImmediatePriority,et=i.unstable_UserBlockingPriority,tt=i.unstable_NormalPriority,nt=i.unstable_LowPriority,rt=i.unstable_IdlePriority,it=null,ot=null;var at=Math.clz32?Math.clz32:function(e){return 0===(e>>>=0)?32:31-(st(e)/ut|0)|0},st=Math.log,ut=Math.LN2;var ct=64,lt=4194304;function ft(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return 4194240&e;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return 130023424&e;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function dt(e,t){var n=e.pendingLanes;if(0===n)return 0;var r=0,i=e.suspendedLanes,o=e.pingedLanes,a=268435455&n;if(0!==a){var s=a&~i;0!==s?r=ft(s):0!==(o&=a)&&(r=ft(o))}else 0!==(a=n&~i)?r=ft(a):0!==o&&(r=ft(o));if(0===r)return 0;if(0!==t&&t!==r&&0==(t&i)&&((i=r&-r)>=(o=t&-t)||16===i&&0!=(4194240&o)))return t;if(0!=(4&r)&&(r|=16&n),0!==(t=e.entangledLanes))for(e=e.entanglements,t&=r;0<t;)i=1<<(n=31-at(t)),r|=e[n],t&=~i;return r}function pt(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;default:return-1}}function ht(e){return 0!==(e=-1073741825&e.pendingLanes)?e:1073741824&e?1073741824:0}function gt(){var e=ct;return 0==(4194240&(ct<<=1))&&(ct=64),e}function mt(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function yt(e,t,n){e.pendingLanes|=t,536870912!==t&&(e.suspendedLanes=0,e.pingedLanes=0),(e=e.eventTimes)[t=31-at(t)]=n}function vt(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-at(n),i=1<<r;i&t|e[r]&t&&(e[r]|=t),n&=~i}}var bt=0;function _t(e){return 1<(e&=-e)?4<e?0!=(268435455&e)?16:536870912:4:1}var wt,Tt,xt,St,kt,Et=!1,Ot=[],Ct=null,Lt=null,At=null,It=new Map,Pt=new Map,Mt=[],Rt="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function jt(e,t){switch(e){case"focusin":case"focusout":Ct=null;break;case"dragenter":case"dragleave":Lt=null;break;case"mouseover":case"mouseout":At=null;break;case"pointerover":case"pointerout":It.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Pt.delete(t.pointerId)}}function Dt(e,t,n,r,i,o){return null===e||e.nativeEvent!==o?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:o,targetContainers:[i]},null!==t&&(null!==(t=bi(t))&&Tt(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,null!==i&&-1===t.indexOf(i)&&t.push(i),e)}function Nt(e){var t=vi(e.target);if(null!==t){var n=He(t);if(null!==n)if(13===(t=n.tag)){if(null!==(t=Ze(n)))return e.blockedOn=t,void kt(e.priority,(function(){xt(n)}))}else if(3===t&&n.stateNode.current.memoizedState.isDehydrated)return void(e.blockedOn=3===n.tag?n.stateNode.containerInfo:null)}e.blockedOn=null}function Bt(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var n=Yt(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n)return null!==(t=bi(n))&&Tt(t),e.blockedOn=n,!1;var r=new(n=e.nativeEvent).constructor(n.type,n);_e=r,n.target.dispatchEvent(r),_e=null,t.shift()}return!0}function Ut(e,t,n){Bt(e)&&n.delete(t)}function Ft(){Et=!1,null!==Ct&&Bt(Ct)&&(Ct=null),null!==Lt&&Bt(Lt)&&(Lt=null),null!==At&&Bt(At)&&(At=null),It.forEach(Ut),Pt.forEach(Ut)}function zt(e,t){e.blockedOn===t&&(e.blockedOn=null,Et||(Et=!0,i.unstable_scheduleCallback(i.unstable_NormalPriority,Ft)))}function Ht(e){function t(t){return zt(t,e)}if(0<Ot.length){zt(Ot[0],e);for(var n=1;n<Ot.length;n++){var r=Ot[n];r.blockedOn===e&&(r.blockedOn=null)}}for(null!==Ct&&zt(Ct,e),null!==Lt&&zt(Lt,e),null!==At&&zt(At,e),It.forEach(t),Pt.forEach(t),n=0;n<Mt.length;n++)(r=Mt[n]).blockedOn===e&&(r.blockedOn=null);for(;0<Mt.length&&null===(n=Mt[0]).blockedOn;)Nt(n),null===n.blockedOn&&Mt.shift()}var Zt=_.ReactCurrentBatchConfig,qt=!0;function Vt(e,t,n,r){var i=bt,o=Zt.transition;Zt.transition=null;try{bt=1,Gt(e,t,n,r)}finally{bt=i,Zt.transition=o}}function Wt(e,t,n,r){var i=bt,o=Zt.transition;Zt.transition=null;try{bt=4,Gt(e,t,n,r)}finally{bt=i,Zt.transition=o}}function Gt(e,t,n,r){if(qt){var i=Yt(e,t,n,r);if(null===i)qr(e,t,r,$t,n),jt(e,r);else if(function(e,t,n,r,i){switch(t){case"focusin":return Ct=Dt(Ct,e,t,n,r,i),!0;case"dragenter":return Lt=Dt(Lt,e,t,n,r,i),!0;case"mouseover":return At=Dt(At,e,t,n,r,i),!0;case"pointerover":var o=i.pointerId;return It.set(o,Dt(It.get(o)||null,e,t,n,r,i)),!0;case"gotpointercapture":return o=i.pointerId,Pt.set(o,Dt(Pt.get(o)||null,e,t,n,r,i)),!0}return!1}(i,e,t,n,r))r.stopPropagation();else if(jt(e,r),4&t&&-1<Rt.indexOf(e)){for(;null!==i;){var o=bi(i);if(null!==o&&wt(o),null===(o=Yt(e,t,n,r))&&qr(e,t,r,$t,n),o===i)break;i=o}null!==i&&r.stopPropagation()}else qr(e,t,r,null,n)}}var $t=null;function Yt(e,t,n,r){if($t=null,null!==(e=vi(e=we(r))))if(null===(t=He(e)))e=null;else if(13===(n=t.tag)){if(null!==(e=Ze(t)))return e;e=null}else if(3===n){if(t.stateNode.current.memoizedState.isDehydrated)return 3===t.tag?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return $t=e,null}function Kt(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(Qe()){case Je:return 1;case et:return 4;case tt:case nt:return 16;case rt:return 536870912;default:return 16}default:return 16}}var Xt=null,Qt=null,Jt=null;function en(){if(Jt)return Jt;var e,t,n=Qt,r=n.length,i="value"in Xt?Xt.value:Xt.textContent,o=i.length;for(e=0;e<r&&n[e]===i[e];e++);var a=r-e;for(t=1;t<=a&&n[r-t]===i[o-t];t++);return Jt=i.slice(e,1<t?1-t:void 0)}function tn(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}function nn(){return!0}function rn(){return!1}function on(e){function t(t,n,r,i,o){for(var a in this._reactName=t,this._targetInst=r,this.type=n,this.nativeEvent=i,this.target=o,this.currentTarget=null,e)e.hasOwnProperty(a)&&(t=e[a],this[a]=t?t(i):i[a]);return this.isDefaultPrevented=(null!=i.defaultPrevented?i.defaultPrevented:!1===i.returnValue)?nn:rn,this.isPropagationStopped=rn,this}return N(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=nn)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=nn)},persist:function(){},isPersistent:nn}),t}var an,sn,un,cn={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},ln=on(cn),fn=N({},cn,{view:0,detail:0}),dn=on(fn),pn=N({},fn,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:kn,button:0,buttons:0,relatedTarget:function(e){return void 0===e.relatedTarget?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==un&&(un&&"mousemove"===e.type?(an=e.screenX-un.screenX,sn=e.screenY-un.screenY):sn=an=0,un=e),an)},movementY:function(e){return"movementY"in e?e.movementY:sn}}),hn=on(pn),gn=on(N({},pn,{dataTransfer:0})),mn=on(N({},fn,{relatedTarget:0})),yn=on(N({},cn,{animationName:0,elapsedTime:0,pseudoElement:0})),vn=N({},cn,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),bn=on(vn),_n=on(N({},cn,{data:0})),wn={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Tn={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"},xn={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Sn(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=xn[e])&&!!t[e]}function kn(){return Sn}var En=N({},fn,{key:function(e){if(e.key){var t=wn[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=tn(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?Tn[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:kn,charCode:function(e){return"keypress"===e.type?tn(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?tn(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),On=on(En),Cn=on(N({},pn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),Ln=on(N({},fn,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:kn})),An=on(N({},cn,{propertyName:0,elapsedTime:0,pseudoElement:0})),In=N({},pn,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),Pn=on(In),Mn=[9,13,27,32],Rn=l&&"CompositionEvent"in window,jn=null;l&&"documentMode"in document&&(jn=document.documentMode);var Dn=l&&"TextEvent"in window&&!jn,Nn=l&&(!Rn||jn&&8<jn&&11>=jn),Bn=String.fromCharCode(32),Un=!1;function Fn(e,t){switch(e){case"keyup":return-1!==Mn.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function zn(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var Hn=!1;var Zn={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};function qn(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!Zn[e.type]:"textarea"===t}function Vn(e,t,n,r){Ee(r),0<(t=Wr(t,"onChange")).length&&(n=new ln("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var Wn=null,Gn=null;function $n(e){Br(e,0)}function Yn(e){if(G(_i(e)))return e}function Kn(e,t){if("change"===e)return t}var Xn=!1;if(l){var Qn;if(l){var Jn="oninput"in document;if(!Jn){var er=document.createElement("div");er.setAttribute("oninput","return;"),Jn="function"==typeof er.oninput}Qn=Jn}else Qn=!1;Xn=Qn&&(!document.documentMode||9<document.documentMode)}function tr(){Wn&&(Wn.detachEvent("onpropertychange",nr),Gn=Wn=null)}function nr(e){if("value"===e.propertyName&&Yn(Gn)){var t=[];Vn(t,Gn,e,we(e)),Ie($n,t)}}function rr(e,t,n){"focusin"===e?(tr(),Gn=n,(Wn=t).attachEvent("onpropertychange",nr)):"focusout"===e&&tr()}function ir(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return Yn(Gn)}function or(e,t){if("click"===e)return Yn(t)}function ar(e,t){if("input"===e||"change"===e)return Yn(t)}var sr="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t};function ur(e,t){if(sr(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var i=n[r];if(!f.call(t,i)||!sr(e[i],t[i]))return!1}return!0}function cr(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function lr(e,t){var n,r=cr(e);for(e=0;r;){if(3===r.nodeType){if(n=e+r.textContent.length,e<=t&&n>=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=cr(r)}}function fr(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?fr(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function dr(){for(var e=window,t=$();t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href}catch(e){n=!1}if(!n)break;t=$((e=t.contentWindow).document)}return t}function pr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}function hr(e){var t=dr(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&fr(n.ownerDocument.documentElement,n)){if(null!==r&&pr(n))if(t=r.start,void 0===(e=r.end)&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if((e=(t=n.ownerDocument||document)&&t.defaultView||window).getSelection){e=e.getSelection();var i=n.textContent.length,o=Math.min(r.start,i);r=void 0===r.end?o:Math.min(r.end,i),!e.extend&&o>r&&(i=r,r=o,o=i),i=lr(n,o);var a=lr(n,r);i&&a&&(1!==e.rangeCount||e.anchorNode!==i.node||e.anchorOffset!==i.offset||e.focusNode!==a.node||e.focusOffset!==a.offset)&&((t=t.createRange()).setStart(i.node,i.offset),e.removeAllRanges(),o>r?(e.addRange(t),e.extend(a.node,a.offset)):(t.setEnd(a.node,a.offset),e.addRange(t)))}for(t=[],e=n;e=e.parentNode;)1===e.nodeType&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for("function"==typeof n.focus&&n.focus(),n=0;n<t.length;n++)(e=t[n]).element.scrollLeft=e.left,e.element.scrollTop=e.top}}var gr=l&&"documentMode"in document&&11>=document.documentMode,mr=null,yr=null,vr=null,br=!1;function _r(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;br||null==mr||mr!==$(r)||("selectionStart"in(r=mr)&&pr(r)?r={start:r.selectionStart,end:r.selectionEnd}:r={anchorNode:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset},vr&&ur(vr,r)||(vr=r,0<(r=Wr(yr,"onSelect")).length&&(t=new ln("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=mr)))}function wr(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var Tr={animationend:wr("Animation","AnimationEnd"),animationiteration:wr("Animation","AnimationIteration"),animationstart:wr("Animation","AnimationStart"),transitionend:wr("Transition","TransitionEnd")},xr={},Sr={};function kr(e){if(xr[e])return xr[e];if(!Tr[e])return e;var t,n=Tr[e];for(t in n)if(n.hasOwnProperty(t)&&t in Sr)return xr[e]=n[t];return e}l&&(Sr=document.createElement("div").style,"AnimationEvent"in window||(delete Tr.animationend.animation,delete Tr.animationiteration.animation,delete Tr.animationstart.animation),"TransitionEvent"in window||delete Tr.transitionend.transition);var Er=kr("animationend"),Or=kr("animationiteration"),Cr=kr("animationstart"),Lr=kr("transitionend"),Ar=new Map,Ir="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function Pr(e,t){Ar.set(e,t),u(t,[e])}for(var Mr=0;Mr<Ir.length;Mr++){var Rr=Ir[Mr];Pr(Rr.toLowerCase(),"on"+(Rr[0].toUpperCase()+Rr.slice(1)))}Pr(Er,"onAnimationEnd"),Pr(Or,"onAnimationIteration"),Pr(Cr,"onAnimationStart"),Pr("dblclick","onDoubleClick"),Pr("focusin","onFocus"),Pr("focusout","onBlur"),Pr(Lr,"onTransitionEnd"),c("onMouseEnter",["mouseout","mouseover"]),c("onMouseLeave",["mouseout","mouseover"]),c("onPointerEnter",["pointerout","pointerover"]),c("onPointerLeave",["pointerout","pointerover"]),u("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),u("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),u("onBeforeInput",["compositionend","keypress","textInput","paste"]),u("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),u("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),u("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var jr="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Dr=new Set("cancel close invalid load scroll toggle".split(" ").concat(jr));function Nr(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,function(e,t,n,r,i,a,s,u,c){if(ze.apply(this,arguments),De){if(!De)throw Error(o(198));var l=Ne;De=!1,Ne=null,Be||(Be=!0,Ue=l)}}(r,t,void 0,e),e.currentTarget=null}function Br(e,t){t=0!=(4&t);for(var n=0;n<e.length;n++){var r=e[n],i=r.event;r=r.listeners;e:{var o=void 0;if(t)for(var a=r.length-1;0<=a;a--){var s=r[a],u=s.instance,c=s.currentTarget;if(s=s.listener,u!==o&&i.isPropagationStopped())break e;Nr(i,s,c),o=u}else for(a=0;a<r.length;a++){if(u=(s=r[a]).instance,c=s.currentTarget,s=s.listener,u!==o&&i.isPropagationStopped())break e;Nr(i,s,c),o=u}}}if(Be)throw e=Ue,Be=!1,Ue=null,e}function Ur(e,t){var n=t[gi];void 0===n&&(n=t[gi]=new Set);var r=e+"__bubble";n.has(r)||(Zr(t,e,2,!1),n.add(r))}function Fr(e,t,n){var r=0;t&&(r|=4),Zr(n,e,r,t)}var zr="_reactListening"+Math.random().toString(36).slice(2);function Hr(e){if(!e[zr]){e[zr]=!0,a.forEach((function(t){"selectionchange"!==t&&(Dr.has(t)||Fr(t,!1,e),Fr(t,!0,e))}));var t=9===e.nodeType?e:e.ownerDocument;null===t||t[zr]||(t[zr]=!0,Fr("selectionchange",!1,t))}}function Zr(e,t,n,r){switch(Kt(t)){case 1:var i=Vt;break;case 4:i=Wt;break;default:i=Gt}n=i.bind(null,t,n,e),i=void 0,!Me||"touchstart"!==t&&"touchmove"!==t&&"wheel"!==t||(i=!0),r?void 0!==i?e.addEventListener(t,n,{capture:!0,passive:i}):e.addEventListener(t,n,!0):void 0!==i?e.addEventListener(t,n,{passive:i}):e.addEventListener(t,n,!1)}function qr(e,t,n,r,i){var o=r;if(0==(1&t)&&0==(2&t)&&null!==r)e:for(;;){if(null===r)return;var a=r.tag;if(3===a||4===a){var s=r.stateNode.containerInfo;if(s===i||8===s.nodeType&&s.parentNode===i)break;if(4===a)for(a=r.return;null!==a;){var u=a.tag;if((3===u||4===u)&&((u=a.stateNode.containerInfo)===i||8===u.nodeType&&u.parentNode===i))return;a=a.return}for(;null!==s;){if(null===(a=vi(s)))return;if(5===(u=a.tag)||6===u){r=o=a;continue e}s=s.parentNode}}r=r.return}Ie((function(){var r=o,i=we(n),a=[];e:{var s=Ar.get(e);if(void 0!==s){var u=ln,c=e;switch(e){case"keypress":if(0===tn(n))break e;case"keydown":case"keyup":u=On;break;case"focusin":c="focus",u=mn;break;case"focusout":c="blur",u=mn;break;case"beforeblur":case"afterblur":u=mn;break;case"click":if(2===n.button)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":u=hn;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":u=gn;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":u=Ln;break;case Er:case Or:case Cr:u=yn;break;case Lr:u=An;break;case"scroll":u=dn;break;case"wheel":u=Pn;break;case"copy":case"cut":case"paste":u=bn;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":u=Cn}var l=0!=(4&t),f=!l&&"scroll"===e,d=l?null!==s?s+"Capture":null:s;l=[];for(var p,h=r;null!==h;){var g=(p=h).stateNode;if(5===p.tag&&null!==g&&(p=g,null!==d&&(null!=(g=Pe(h,d))&&l.push(Vr(h,g,p)))),f)break;h=h.return}0<l.length&&(s=new u(s,c,null,n,i),a.push({event:s,listeners:l}))}}if(0==(7&t)){if(u="mouseout"===e||"pointerout"===e,(!(s="mouseover"===e||"pointerover"===e)||n===_e||!(c=n.relatedTarget||n.fromElement)||!vi(c)&&!c[hi])&&(u||s)&&(s=i.window===i?i:(s=i.ownerDocument)?s.defaultView||s.parentWindow:window,u?(u=r,null!==(c=(c=n.relatedTarget||n.toElement)?vi(c):null)&&(c!==(f=He(c))||5!==c.tag&&6!==c.tag)&&(c=null)):(u=null,c=r),u!==c)){if(l=hn,g="onMouseLeave",d="onMouseEnter",h="mouse","pointerout"!==e&&"pointerover"!==e||(l=Cn,g="onPointerLeave",d="onPointerEnter",h="pointer"),f=null==u?s:_i(u),p=null==c?s:_i(c),(s=new l(g,h+"leave",u,n,i)).target=f,s.relatedTarget=p,g=null,vi(i)===r&&((l=new l(d,h+"enter",c,n,i)).target=p,l.relatedTarget=f,g=l),f=g,u&&c)e:{for(d=c,h=0,p=l=u;p;p=Gr(p))h++;for(p=0,g=d;g;g=Gr(g))p++;for(;0<h-p;)l=Gr(l),h--;for(;0<p-h;)d=Gr(d),p--;for(;h--;){if(l===d||null!==d&&l===d.alternate)break e;l=Gr(l),d=Gr(d)}l=null}else l=null;null!==u&&$r(a,s,u,l,!1),null!==c&&null!==f&&$r(a,f,c,l,!0)}if("select"===(u=(s=r?_i(r):window).nodeName&&s.nodeName.toLowerCase())||"input"===u&&"file"===s.type)var m=Kn;else if(qn(s))if(Xn)m=ar;else{m=ir;var y=rr}else(u=s.nodeName)&&"input"===u.toLowerCase()&&("checkbox"===s.type||"radio"===s.type)&&(m=or);switch(m&&(m=m(e,r))?Vn(a,m,n,i):(y&&y(e,s,r),"focusout"===e&&(y=s._wrapperState)&&y.controlled&&"number"===s.type&&ee(s,"number",s.value)),y=r?_i(r):window,e){case"focusin":(qn(y)||"true"===y.contentEditable)&&(mr=y,yr=r,vr=null);break;case"focusout":vr=yr=mr=null;break;case"mousedown":br=!0;break;case"contextmenu":case"mouseup":case"dragend":br=!1,_r(a,n,i);break;case"selectionchange":if(gr)break;case"keydown":case"keyup":_r(a,n,i)}var v;if(Rn)e:{switch(e){case"compositionstart":var b="onCompositionStart";break e;case"compositionend":b="onCompositionEnd";break e;case"compositionupdate":b="onCompositionUpdate";break e}b=void 0}else Hn?Fn(e,n)&&(b="onCompositionEnd"):"keydown"===e&&229===n.keyCode&&(b="onCompositionStart");b&&(Nn&&"ko"!==n.locale&&(Hn||"onCompositionStart"!==b?"onCompositionEnd"===b&&Hn&&(v=en()):(Qt="value"in(Xt=i)?Xt.value:Xt.textContent,Hn=!0)),0<(y=Wr(r,b)).length&&(b=new _n(b,e,null,n,i),a.push({event:b,listeners:y}),v?b.data=v:null!==(v=zn(n))&&(b.data=v))),(v=Dn?function(e,t){switch(e){case"compositionend":return zn(t);case"keypress":return 32!==t.which?null:(Un=!0,Bn);case"textInput":return(e=t.data)===Bn&&Un?null:e;default:return null}}(e,n):function(e,t){if(Hn)return"compositionend"===e||!Rn&&Fn(e,t)?(e=en(),Jt=Qt=Xt=null,Hn=!1,e):null;switch(e){case"paste":default:return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return Nn&&"ko"!==t.locale?null:t.data}}(e,n))&&(0<(r=Wr(r,"onBeforeInput")).length&&(i=new _n("onBeforeInput","beforeinput",null,n,i),a.push({event:i,listeners:r}),i.data=v))}Br(a,t)}))}function Vr(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Wr(e,t){for(var n=t+"Capture",r=[];null!==e;){var i=e,o=i.stateNode;5===i.tag&&null!==o&&(i=o,null!=(o=Pe(e,n))&&r.unshift(Vr(e,o,i)),null!=(o=Pe(e,t))&&r.push(Vr(e,o,i))),e=e.return}return r}function Gr(e){if(null===e)return null;do{e=e.return}while(e&&5!==e.tag);return e||null}function $r(e,t,n,r,i){for(var o=t._reactName,a=[];null!==n&&n!==r;){var s=n,u=s.alternate,c=s.stateNode;if(null!==u&&u===r)break;5===s.tag&&null!==c&&(s=c,i?null!=(u=Pe(n,o))&&a.unshift(Vr(n,u,s)):i||null!=(u=Pe(n,o))&&a.push(Vr(n,u,s))),n=n.return}0!==a.length&&e.push({event:t,listeners:a})}var Yr=/\r\n?/g,Kr=/\u0000|\uFFFD/g;function Xr(e){return("string"==typeof e?e:""+e).replace(Yr,"\n").replace(Kr,"")}function Qr(e,t,n){if(t=Xr(t),Xr(e)!==t&&n)throw Error(o(425))}function Jr(){}var ei=null,ti=null;function ni(e,t){return"textarea"===e||"noscript"===e||"string"==typeof t.children||"number"==typeof t.children||"object"==typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var ri="function"==typeof setTimeout?setTimeout:void 0,ii="function"==typeof clearTimeout?clearTimeout:void 0,oi="function"==typeof Promise?Promise:void 0,ai="function"==typeof queueMicrotask?queueMicrotask:void 0!==oi?function(e){return oi.resolve(null).then(e).catch(si)}:ri;function si(e){setTimeout((function(){throw e}))}function ui(e,t){var n=t,r=0;do{var i=n.nextSibling;if(e.removeChild(n),i&&8===i.nodeType)if("/$"===(n=i.data)){if(0===r)return e.removeChild(i),void Ht(t);r--}else"$"!==n&&"$?"!==n&&"$!"!==n||r++;n=i}while(n);Ht(t)}function ci(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break;if(8===t){if("$"===(t=e.data)||"$!"===t||"$?"===t)break;if("/$"===t)return null}}return e}function li(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if("$"===n||"$!"===n||"$?"===n){if(0===t)return e;t--}else"/$"===n&&t++}e=e.previousSibling}return null}var fi=Math.random().toString(36).slice(2),di="__reactFiber$"+fi,pi="__reactProps$"+fi,hi="__reactContainer$"+fi,gi="__reactEvents$"+fi,mi="__reactListeners$"+fi,yi="__reactHandles$"+fi;function vi(e){var t=e[di];if(t)return t;for(var n=e.parentNode;n;){if(t=n[hi]||n[di]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=li(e);null!==e;){if(n=e[di])return n;e=li(e)}return t}n=(e=n).parentNode}return null}function bi(e){return!(e=e[di]||e[hi])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function _i(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(o(33))}function wi(e){return e[pi]||null}var Ti=[],xi=-1;function Si(e){return{current:e}}function ki(e){0>xi||(e.current=Ti[xi],Ti[xi]=null,xi--)}function Ei(e,t){xi++,Ti[xi]=e.current,e.current=t}var Oi={},Ci=Si(Oi),Li=Si(!1),Ai=Oi;function Ii(e,t){var n=e.type.contextTypes;if(!n)return Oi;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i,o={};for(i in n)o[i]=t[i];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function Pi(e){return null!=(e=e.childContextTypes)}function Mi(){ki(Li),ki(Ci)}function Ri(e,t,n){if(Ci.current!==Oi)throw Error(o(168));Ei(Ci,t),Ei(Li,n)}function ji(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,"function"!=typeof r.getChildContext)return n;for(var i in r=r.getChildContext())if(!(i in t))throw Error(o(108,Z(e)||"Unknown",i));return N({},n,r)}function Di(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Oi,Ai=Ci.current,Ei(Ci,e),Ei(Li,Li.current),!0}function Ni(e,t,n){var r=e.stateNode;if(!r)throw Error(o(169));n?(e=ji(e,t,Ai),r.__reactInternalMemoizedMergedChildContext=e,ki(Li),ki(Ci),Ei(Ci,e)):ki(Li),Ei(Li,n)}var Bi=null,Ui=!1,Fi=!1;function zi(e){null===Bi?Bi=[e]:Bi.push(e)}function Hi(){if(!Fi&&null!==Bi){Fi=!0;var e=0,t=bt;try{var n=Bi;for(bt=1;e<n.length;e++){var r=n[e];do{r=r(!0)}while(null!==r)}Bi=null,Ui=!1}catch(t){throw null!==Bi&&(Bi=Bi.slice(e+1)),Ge(Je,Hi),t}finally{bt=t,Fi=!1}}return null}var Zi=[],qi=0,Vi=null,Wi=0,Gi=[],$i=0,Yi=null,Ki=1,Xi="";function Qi(e,t){Zi[qi++]=Wi,Zi[qi++]=Vi,Vi=e,Wi=t}function Ji(e,t,n){Gi[$i++]=Ki,Gi[$i++]=Xi,Gi[$i++]=Yi,Yi=e;var r=Ki;e=Xi;var i=32-at(r)-1;r&=~(1<<i),n+=1;var o=32-at(t)+i;if(30<o){var a=i-i%5;o=(r&(1<<a)-1).toString(32),r>>=a,i-=a,Ki=1<<32-at(t)+i|n<<i|r,Xi=o+e}else Ki=1<<o|n<<i|r,Xi=e}function eo(e){null!==e.return&&(Qi(e,1),Ji(e,1,0))}function to(e){for(;e===Vi;)Vi=Zi[--qi],Zi[qi]=null,Wi=Zi[--qi],Zi[qi]=null;for(;e===Yi;)Yi=Gi[--$i],Gi[$i]=null,Xi=Gi[--$i],Gi[$i]=null,Ki=Gi[--$i],Gi[$i]=null}var no=null,ro=null,io=!1,oo=null;function ao(e,t){var n=Ic(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,null===(t=e.deletions)?(e.deletions=[n],e.flags|=16):t.push(n)}function so(e,t){switch(e.tag){case 5:var n=e.type;return null!==(t=1!==t.nodeType||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,no=e,ro=ci(t.firstChild),!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,no=e,ro=null,!0);case 13:return null!==(t=8!==t.nodeType?null:t)&&(n=null!==Yi?{id:Ki,overflow:Xi}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},(n=Ic(18,null,null,0)).stateNode=t,n.return=e,e.child=n,no=e,ro=null,!0);default:return!1}}function uo(e){return 0!=(1&e.mode)&&0==(128&e.flags)}function co(e){if(io){var t=ro;if(t){var n=t;if(!so(e,t)){if(uo(e))throw Error(o(418));t=ci(n.nextSibling);var r=no;t&&so(e,t)?ao(r,n):(e.flags=-4097&e.flags|2,io=!1,no=e)}}else{if(uo(e))throw Error(o(418));e.flags=-4097&e.flags|2,io=!1,no=e}}}function lo(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;no=e}function fo(e){if(e!==no)return!1;if(!io)return lo(e),io=!0,!1;var t;if((t=3!==e.tag)&&!(t=5!==e.tag)&&(t="head"!==(t=e.type)&&"body"!==t&&!ni(e.type,e.memoizedProps)),t&&(t=ro)){if(uo(e))throw po(),Error(o(418));for(;t;)ao(e,t),t=ci(t.nextSibling)}if(lo(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(o(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var n=e.data;if("/$"===n){if(0===t){ro=ci(e.nextSibling);break e}t--}else"$"!==n&&"$!"!==n&&"$?"!==n||t++}e=e.nextSibling}ro=null}}else ro=no?ci(e.stateNode.nextSibling):null;return!0}function po(){for(var e=ro;e;)e=ci(e.nextSibling)}function ho(){ro=no=null,io=!1}function go(e){null===oo?oo=[e]:oo.push(e)}var mo=_.ReactCurrentBatchConfig;function yo(e,t){if(e&&e.defaultProps){for(var n in t=N({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}return t}var vo=Si(null),bo=null,_o=null,wo=null;function To(){wo=_o=bo=null}function xo(e){var t=vo.current;ki(vo),e._currentValue=t}function So(e,t,n){for(;null!==e;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,null!==r&&(r.childLanes|=t)):null!==r&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function ko(e,t){bo=e,wo=_o=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(0!=(e.lanes&t)&&(_s=!0),e.firstContext=null)}function Eo(e){var t=e._currentValue;if(wo!==e)if(e={context:e,memoizedValue:t,next:null},null===_o){if(null===bo)throw Error(o(308));_o=e,bo.dependencies={lanes:0,firstContext:e}}else _o=_o.next=e;return t}var Oo=null;function Co(e){null===Oo?Oo=[e]:Oo.push(e)}function Lo(e,t,n,r){var i=t.interleaved;return null===i?(n.next=n,Co(t)):(n.next=i.next,i.next=n),t.interleaved=n,Ao(e,r)}function Ao(e,t){e.lanes|=t;var n=e.alternate;for(null!==n&&(n.lanes|=t),n=e,e=e.return;null!==e;)e.childLanes|=t,null!==(n=e.alternate)&&(n.childLanes|=t),n=e,e=e.return;return 3===n.tag?n.stateNode:null}var Io=!1;function Po(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Mo(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function Ro(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function jo(e,t,n){var r=e.updateQueue;if(null===r)return null;if(r=r.shared,0!=(2&Cu)){var i=r.pending;return null===i?t.next=t:(t.next=i.next,i.next=t),r.pending=t,Ao(e,n)}return null===(i=r.interleaved)?(t.next=t,Co(r)):(t.next=i.next,i.next=t),r.interleaved=t,Ao(e,n)}function Do(e,t,n){if(null!==(t=t.updateQueue)&&(t=t.shared,0!=(4194240&n))){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,vt(e,n)}}function No(e,t){var n=e.updateQueue,r=e.alternate;if(null!==r&&n===(r=r.updateQueue)){var i=null,o=null;if(null!==(n=n.firstBaseUpdate)){do{var a={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};null===o?i=o=a:o=o.next=a,n=n.next}while(null!==n);null===o?i=o=t:o=o.next=t}else i=o=t;return n={baseState:r.baseState,firstBaseUpdate:i,lastBaseUpdate:o,shared:r.shared,effects:r.effects},void(e.updateQueue=n)}null===(e=n.lastBaseUpdate)?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function Bo(e,t,n,r){var i=e.updateQueue;Io=!1;var o=i.firstBaseUpdate,a=i.lastBaseUpdate,s=i.shared.pending;if(null!==s){i.shared.pending=null;var u=s,c=u.next;u.next=null,null===a?o=c:a.next=c,a=u;var l=e.alternate;null!==l&&((s=(l=l.updateQueue).lastBaseUpdate)!==a&&(null===s?l.firstBaseUpdate=c:s.next=c,l.lastBaseUpdate=u))}if(null!==o){var f=i.baseState;for(a=0,l=c=u=null,s=o;;){var d=s.lane,p=s.eventTime;if((r&d)===d){null!==l&&(l=l.next={eventTime:p,lane:0,tag:s.tag,payload:s.payload,callback:s.callback,next:null});e:{var h=e,g=s;switch(d=t,p=n,g.tag){case 1:if("function"==typeof(h=g.payload)){f=h.call(p,f,d);break e}f=h;break e;case 3:h.flags=-65537&h.flags|128;case 0:if(null==(d="function"==typeof(h=g.payload)?h.call(p,f,d):h))break e;f=N({},f,d);break e;case 2:Io=!0}}null!==s.callback&&0!==s.lane&&(e.flags|=64,null===(d=i.effects)?i.effects=[s]:d.push(s))}else p={eventTime:p,lane:d,tag:s.tag,payload:s.payload,callback:s.callback,next:null},null===l?(c=l=p,u=f):l=l.next=p,a|=d;if(null===(s=s.next)){if(null===(s=i.shared.pending))break;s=(d=s).next,d.next=null,i.lastBaseUpdate=d,i.shared.pending=null}}if(null===l&&(u=f),i.baseState=u,i.firstBaseUpdate=c,i.lastBaseUpdate=l,null!==(t=i.shared.interleaved)){i=t;do{a|=i.lane,i=i.next}while(i!==t)}else null===o&&(i.shared.lanes=0);Du|=a,e.lanes=a,e.memoizedState=f}}function Uo(e,t,n){if(e=t.effects,t.effects=null,null!==e)for(t=0;t<e.length;t++){var r=e[t],i=r.callback;if(null!==i){if(r.callback=null,r=n,"function"!=typeof i)throw Error(o(191,i));i.call(r)}}}var Fo=(new r.Component).refs;function zo(e,t,n,r){n=null==(n=n(r,t=e.memoizedState))?t:N({},t,n),e.memoizedState=n,0===e.lanes&&(e.updateQueue.baseState=n)}var Ho={isMounted:function(e){return!!(e=e._reactInternals)&&He(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=ec(),i=tc(e),o=Ro(r,i);o.payload=t,null!=n&&(o.callback=n),null!==(t=jo(e,o,i))&&(nc(t,e,i,r),Do(t,e,i))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=ec(),i=tc(e),o=Ro(r,i);o.tag=1,o.payload=t,null!=n&&(o.callback=n),null!==(t=jo(e,o,i))&&(nc(t,e,i,r),Do(t,e,i))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=ec(),r=tc(e),i=Ro(n,r);i.tag=2,null!=t&&(i.callback=t),null!==(t=jo(e,i,r))&&(nc(t,e,r,n),Do(t,e,r))}};function Zo(e,t,n,r,i,o,a){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,o,a):!t.prototype||!t.prototype.isPureReactComponent||(!ur(n,r)||!ur(i,o))}function qo(e,t,n){var r=!1,i=Oi,o=t.contextType;return"object"==typeof o&&null!==o?o=Eo(o):(i=Pi(t)?Ai:Ci.current,o=(r=null!=(r=t.contextTypes))?Ii(e,i):Oi),t=new t(n,o),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=Ho,e.stateNode=t,t._reactInternals=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=i,e.__reactInternalMemoizedMaskedChildContext=o),t}function Vo(e,t,n,r){e=t.state,"function"==typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),"function"==typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&Ho.enqueueReplaceState(t,t.state,null)}function Wo(e,t,n,r){var i=e.stateNode;i.props=n,i.state=e.memoizedState,i.refs=Fo,Po(e);var o=t.contextType;"object"==typeof o&&null!==o?i.context=Eo(o):(o=Pi(t)?Ai:Ci.current,i.context=Ii(e,o)),i.state=e.memoizedState,"function"==typeof(o=t.getDerivedStateFromProps)&&(zo(e,t,o,n),i.state=e.memoizedState),"function"==typeof t.getDerivedStateFromProps||"function"==typeof i.getSnapshotBeforeUpdate||"function"!=typeof i.UNSAFE_componentWillMount&&"function"!=typeof i.componentWillMount||(t=i.state,"function"==typeof i.componentWillMount&&i.componentWillMount(),"function"==typeof i.UNSAFE_componentWillMount&&i.UNSAFE_componentWillMount(),t!==i.state&&Ho.enqueueReplaceState(i,i.state,null),Bo(e,n,i,r),i.state=e.memoizedState),"function"==typeof i.componentDidMount&&(e.flags|=4194308)}function Go(e,t,n){if(null!==(e=n.ref)&&"function"!=typeof e&&"object"!=typeof e){if(n._owner){if(n=n._owner){if(1!==n.tag)throw Error(o(309));var r=n.stateNode}if(!r)throw Error(o(147,e));var i=r,a=""+e;return null!==t&&null!==t.ref&&"function"==typeof t.ref&&t.ref._stringRef===a?t.ref:(t=function(e){var t=i.refs;t===Fo&&(t=i.refs={}),null===e?delete t[a]:t[a]=e},t._stringRef=a,t)}if("string"!=typeof e)throw Error(o(284));if(!n._owner)throw Error(o(290,e))}return e}function $o(e,t){throw e=Object.prototype.toString.call(t),Error(o(31,"[object Object]"===e?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function Yo(e){return(0,e._init)(e._payload)}function Ko(e){function t(t,n){if(e){var r=t.deletions;null===r?(t.deletions=[n],t.flags|=16):r.push(n)}}function n(n,r){if(!e)return null;for(;null!==r;)t(n,r),r=r.sibling;return null}function r(e,t){for(e=new Map;null!==t;)null!==t.key?e.set(t.key,t):e.set(t.index,t),t=t.sibling;return e}function i(e,t){return(e=Mc(e,t)).index=0,e.sibling=null,e}function a(t,n,r){return t.index=r,e?null!==(r=t.alternate)?(r=r.index)<n?(t.flags|=2,n):r:(t.flags|=2,n):(t.flags|=1048576,n)}function s(t){return e&&null===t.alternate&&(t.flags|=2),t}function u(e,t,n,r){return null===t||6!==t.tag?((t=Nc(n,e.mode,r)).return=e,t):((t=i(t,n)).return=e,t)}function c(e,t,n,r){var o=n.type;return o===x?f(e,t,n.props.children,r,n.key):null!==t&&(t.elementType===o||"object"==typeof o&&null!==o&&o.$$typeof===P&&Yo(o)===t.type)?((r=i(t,n.props)).ref=Go(e,t,n),r.return=e,r):((r=Rc(n.type,n.key,n.props,null,e.mode,r)).ref=Go(e,t,n),r.return=e,r)}function l(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=Bc(n,e.mode,r)).return=e,t):((t=i(t,n.children||[])).return=e,t)}function f(e,t,n,r,o){return null===t||7!==t.tag?((t=jc(n,e.mode,r,o)).return=e,t):((t=i(t,n)).return=e,t)}function d(e,t,n){if("string"==typeof t&&""!==t||"number"==typeof t)return(t=Nc(""+t,e.mode,n)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case w:return(n=Rc(t.type,t.key,t.props,null,e.mode,n)).ref=Go(e,null,t),n.return=e,n;case T:return(t=Bc(t,e.mode,n)).return=e,t;case P:return d(e,(0,t._init)(t._payload),n)}if(te(t)||j(t))return(t=jc(t,e.mode,n,null)).return=e,t;$o(e,t)}return null}function p(e,t,n,r){var i=null!==t?t.key:null;if("string"==typeof n&&""!==n||"number"==typeof n)return null!==i?null:u(e,t,""+n,r);if("object"==typeof n&&null!==n){switch(n.$$typeof){case w:return n.key===i?c(e,t,n,r):null;case T:return n.key===i?l(e,t,n,r):null;case P:return p(e,t,(i=n._init)(n._payload),r)}if(te(n)||j(n))return null!==i?null:f(e,t,n,r,null);$o(e,n)}return null}function h(e,t,n,r,i){if("string"==typeof r&&""!==r||"number"==typeof r)return u(t,e=e.get(n)||null,""+r,i);if("object"==typeof r&&null!==r){switch(r.$$typeof){case w:return c(t,e=e.get(null===r.key?n:r.key)||null,r,i);case T:return l(t,e=e.get(null===r.key?n:r.key)||null,r,i);case P:return h(e,t,n,(0,r._init)(r._payload),i)}if(te(r)||j(r))return f(t,e=e.get(n)||null,r,i,null);$o(t,r)}return null}function g(i,o,s,u){for(var c=null,l=null,f=o,g=o=0,m=null;null!==f&&g<s.length;g++){f.index>g?(m=f,f=null):m=f.sibling;var y=p(i,f,s[g],u);if(null===y){null===f&&(f=m);break}e&&f&&null===y.alternate&&t(i,f),o=a(y,o,g),null===l?c=y:l.sibling=y,l=y,f=m}if(g===s.length)return n(i,f),io&&Qi(i,g),c;if(null===f){for(;g<s.length;g++)null!==(f=d(i,s[g],u))&&(o=a(f,o,g),null===l?c=f:l.sibling=f,l=f);return io&&Qi(i,g),c}for(f=r(i,f);g<s.length;g++)null!==(m=h(f,i,g,s[g],u))&&(e&&null!==m.alternate&&f.delete(null===m.key?g:m.key),o=a(m,o,g),null===l?c=m:l.sibling=m,l=m);return e&&f.forEach((function(e){return t(i,e)})),io&&Qi(i,g),c}function m(i,s,u,c){var l=j(u);if("function"!=typeof l)throw Error(o(150));if(null==(u=l.call(u)))throw Error(o(151));for(var f=l=null,g=s,m=s=0,y=null,v=u.next();null!==g&&!v.done;m++,v=u.next()){g.index>m?(y=g,g=null):y=g.sibling;var b=p(i,g,v.value,c);if(null===b){null===g&&(g=y);break}e&&g&&null===b.alternate&&t(i,g),s=a(b,s,m),null===f?l=b:f.sibling=b,f=b,g=y}if(v.done)return n(i,g),io&&Qi(i,m),l;if(null===g){for(;!v.done;m++,v=u.next())null!==(v=d(i,v.value,c))&&(s=a(v,s,m),null===f?l=v:f.sibling=v,f=v);return io&&Qi(i,m),l}for(g=r(i,g);!v.done;m++,v=u.next())null!==(v=h(g,i,m,v.value,c))&&(e&&null!==v.alternate&&g.delete(null===v.key?m:v.key),s=a(v,s,m),null===f?l=v:f.sibling=v,f=v);return e&&g.forEach((function(e){return t(i,e)})),io&&Qi(i,m),l}return function e(r,o,a,u){if("object"==typeof a&&null!==a&&a.type===x&&null===a.key&&(a=a.props.children),"object"==typeof a&&null!==a){switch(a.$$typeof){case w:e:{for(var c=a.key,l=o;null!==l;){if(l.key===c){if((c=a.type)===x){if(7===l.tag){n(r,l.sibling),(o=i(l,a.props.children)).return=r,r=o;break e}}else if(l.elementType===c||"object"==typeof c&&null!==c&&c.$$typeof===P&&Yo(c)===l.type){n(r,l.sibling),(o=i(l,a.props)).ref=Go(r,l,a),o.return=r,r=o;break e}n(r,l);break}t(r,l),l=l.sibling}a.type===x?((o=jc(a.props.children,r.mode,u,a.key)).return=r,r=o):((u=Rc(a.type,a.key,a.props,null,r.mode,u)).ref=Go(r,o,a),u.return=r,r=u)}return s(r);case T:e:{for(l=a.key;null!==o;){if(o.key===l){if(4===o.tag&&o.stateNode.containerInfo===a.containerInfo&&o.stateNode.implementation===a.implementation){n(r,o.sibling),(o=i(o,a.children||[])).return=r,r=o;break e}n(r,o);break}t(r,o),o=o.sibling}(o=Bc(a,r.mode,u)).return=r,r=o}return s(r);case P:return e(r,o,(l=a._init)(a._payload),u)}if(te(a))return g(r,o,a,u);if(j(a))return m(r,o,a,u);$o(r,a)}return"string"==typeof a&&""!==a||"number"==typeof a?(a=""+a,null!==o&&6===o.tag?(n(r,o.sibling),(o=i(o,a)).return=r,r=o):(n(r,o),(o=Nc(a,r.mode,u)).return=r,r=o),s(r)):n(r,o)}}var Xo=Ko(!0),Qo=Ko(!1),Jo={},ea=Si(Jo),ta=Si(Jo),na=Si(Jo);function ra(e){if(e===Jo)throw Error(o(174));return e}function ia(e,t){switch(Ei(na,t),Ei(ta,e),Ei(ea,Jo),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:ue(null,"");break;default:t=ue(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}ki(ea),Ei(ea,t)}function oa(){ki(ea),ki(ta),ki(na)}function aa(e){ra(na.current);var t=ra(ea.current),n=ue(t,e.type);t!==n&&(Ei(ta,e),Ei(ea,n))}function sa(e){ta.current===e&&(ki(ea),ki(ta))}var ua=Si(0);function ca(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||"$?"===n.data||"$!"===n.data))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(0!=(128&t.flags))return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var la=[];function fa(){for(var e=0;e<la.length;e++)la[e]._workInProgressVersionPrimary=null;la.length=0}var da=_.ReactCurrentDispatcher,pa=_.ReactCurrentBatchConfig,ha=0,ga=null,ma=null,ya=null,va=!1,ba=!1,_a=0,wa=0;function Ta(){throw Error(o(321))}function xa(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!sr(e[n],t[n]))return!1;return!0}function Sa(e,t,n,r,i,a){if(ha=a,ga=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,da.current=null===e||null===e.memoizedState?ss:us,e=n(r,i),ba){a=0;do{if(ba=!1,_a=0,25<=a)throw Error(o(301));a+=1,ya=ma=null,t.updateQueue=null,da.current=cs,e=n(r,i)}while(ba)}if(da.current=as,t=null!==ma&&null!==ma.next,ha=0,ya=ma=ga=null,va=!1,t)throw Error(o(300));return e}function ka(){var e=0!==_a;return _a=0,e}function Ea(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===ya?ga.memoizedState=ya=e:ya=ya.next=e,ya}function Oa(){if(null===ma){var e=ga.alternate;e=null!==e?e.memoizedState:null}else e=ma.next;var t=null===ya?ga.memoizedState:ya.next;if(null!==t)ya=t,ma=e;else{if(null===e)throw Error(o(310));e={memoizedState:(ma=e).memoizedState,baseState:ma.baseState,baseQueue:ma.baseQueue,queue:ma.queue,next:null},null===ya?ga.memoizedState=ya=e:ya=ya.next=e}return ya}function Ca(e,t){return"function"==typeof t?t(e):t}function La(e){var t=Oa(),n=t.queue;if(null===n)throw Error(o(311));n.lastRenderedReducer=e;var r=ma,i=r.baseQueue,a=n.pending;if(null!==a){if(null!==i){var s=i.next;i.next=a.next,a.next=s}r.baseQueue=i=a,n.pending=null}if(null!==i){a=i.next,r=r.baseState;var u=s=null,c=null,l=a;do{var f=l.lane;if((ha&f)===f)null!==c&&(c=c.next={lane:0,action:l.action,hasEagerState:l.hasEagerState,eagerState:l.eagerState,next:null}),r=l.hasEagerState?l.eagerState:e(r,l.action);else{var d={lane:f,action:l.action,hasEagerState:l.hasEagerState,eagerState:l.eagerState,next:null};null===c?(u=c=d,s=r):c=c.next=d,ga.lanes|=f,Du|=f}l=l.next}while(null!==l&&l!==a);null===c?s=r:c.next=u,sr(r,t.memoizedState)||(_s=!0),t.memoizedState=r,t.baseState=s,t.baseQueue=c,n.lastRenderedState=r}if(null!==(e=n.interleaved)){i=e;do{a=i.lane,ga.lanes|=a,Du|=a,i=i.next}while(i!==e)}else null===i&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function Aa(e){var t=Oa(),n=t.queue;if(null===n)throw Error(o(311));n.lastRenderedReducer=e;var r=n.dispatch,i=n.pending,a=t.memoizedState;if(null!==i){n.pending=null;var s=i=i.next;do{a=e(a,s.action),s=s.next}while(s!==i);sr(a,t.memoizedState)||(_s=!0),t.memoizedState=a,null===t.baseQueue&&(t.baseState=a),n.lastRenderedState=a}return[a,r]}function Ia(){}function Pa(e,t){var n=ga,r=Oa(),i=t(),a=!sr(r.memoizedState,i);if(a&&(r.memoizedState=i,_s=!0),r=r.queue,qa(ja.bind(null,n,r,e),[e]),r.getSnapshot!==t||a||null!==ya&&1&ya.memoizedState.tag){if(n.flags|=2048,Ua(9,Ra.bind(null,n,r,i,t),void 0,null),null===Lu)throw Error(o(349));0!=(30&ha)||Ma(n,t,i)}return i}function Ma(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},null===(t=ga.updateQueue)?(t={lastEffect:null,stores:null},ga.updateQueue=t,t.stores=[e]):null===(n=t.stores)?t.stores=[e]:n.push(e)}function Ra(e,t,n,r){t.value=n,t.getSnapshot=r,Da(t)&&Na(e)}function ja(e,t,n){return n((function(){Da(t)&&Na(e)}))}function Da(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!sr(e,n)}catch(e){return!0}}function Na(e){var t=Ao(e,1);null!==t&&nc(t,e,1,-1)}function Ba(e){var t=Ea();return"function"==typeof e&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Ca,lastRenderedState:e},t.queue=e,e=e.dispatch=ns.bind(null,ga,e),[t.memoizedState,e]}function Ua(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===(t=ga.updateQueue)?(t={lastEffect:null,stores:null},ga.updateQueue=t,t.lastEffect=e.next=e):null===(n=t.lastEffect)?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e),e}function Fa(){return Oa().memoizedState}function za(e,t,n,r){var i=Ea();ga.flags|=e,i.memoizedState=Ua(1|t,n,void 0,void 0===r?null:r)}function Ha(e,t,n,r){var i=Oa();r=void 0===r?null:r;var o=void 0;if(null!==ma){var a=ma.memoizedState;if(o=a.destroy,null!==r&&xa(r,a.deps))return void(i.memoizedState=Ua(t,n,o,r))}ga.flags|=e,i.memoizedState=Ua(1|t,n,o,r)}function Za(e,t){return za(8390656,8,e,t)}function qa(e,t){return Ha(2048,8,e,t)}function Va(e,t){return Ha(4,2,e,t)}function Wa(e,t){return Ha(4,4,e,t)}function Ga(e,t){return"function"==typeof t?(e=e(),t(e),function(){t(null)}):null!=t?(e=e(),t.current=e,function(){t.current=null}):void 0}function $a(e,t,n){return n=null!=n?n.concat([e]):null,Ha(4,4,Ga.bind(null,t,e),n)}function Ya(){}function Ka(e,t){var n=Oa();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&xa(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function Xa(e,t){var n=Oa();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&xa(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function Qa(e,t,n){return 0==(21&ha)?(e.baseState&&(e.baseState=!1,_s=!0),e.memoizedState=n):(sr(n,t)||(n=gt(),ga.lanes|=n,Du|=n,e.baseState=!0),t)}function Ja(e,t){var n=bt;bt=0!==n&&4>n?n:4,e(!0);var r=pa.transition;pa.transition={};try{e(!1),t()}finally{bt=n,pa.transition=r}}function es(){return Oa().memoizedState}function ts(e,t,n){var r=tc(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},rs(e))is(t,n);else if(null!==(n=Lo(e,t,n,r))){nc(n,e,r,ec()),os(n,t,r)}}function ns(e,t,n){var r=tc(e),i={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(rs(e))is(t,i);else{var o=e.alternate;if(0===e.lanes&&(null===o||0===o.lanes)&&null!==(o=t.lastRenderedReducer))try{var a=t.lastRenderedState,s=o(a,n);if(i.hasEagerState=!0,i.eagerState=s,sr(s,a)){var u=t.interleaved;return null===u?(i.next=i,Co(t)):(i.next=u.next,u.next=i),void(t.interleaved=i)}}catch(e){}null!==(n=Lo(e,t,i,r))&&(nc(n,e,r,i=ec()),os(n,t,r))}}function rs(e){var t=e.alternate;return e===ga||null!==t&&t===ga}function is(e,t){ba=va=!0;var n=e.pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function os(e,t,n){if(0!=(4194240&n)){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,vt(e,n)}}var as={readContext:Eo,useCallback:Ta,useContext:Ta,useEffect:Ta,useImperativeHandle:Ta,useInsertionEffect:Ta,useLayoutEffect:Ta,useMemo:Ta,useReducer:Ta,useRef:Ta,useState:Ta,useDebugValue:Ta,useDeferredValue:Ta,useTransition:Ta,useMutableSource:Ta,useSyncExternalStore:Ta,useId:Ta,unstable_isNewReconciler:!1},ss={readContext:Eo,useCallback:function(e,t){return Ea().memoizedState=[e,void 0===t?null:t],e},useContext:Eo,useEffect:Za,useImperativeHandle:function(e,t,n){return n=null!=n?n.concat([e]):null,za(4194308,4,Ga.bind(null,t,e),n)},useLayoutEffect:function(e,t){return za(4194308,4,e,t)},useInsertionEffect:function(e,t){return za(4,2,e,t)},useMemo:function(e,t){var n=Ea();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Ea();return t=void 0!==n?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=ts.bind(null,ga,e),[r.memoizedState,e]},useRef:function(e){return e={current:e},Ea().memoizedState=e},useState:Ba,useDebugValue:Ya,useDeferredValue:function(e){return Ea().memoizedState=e},useTransition:function(){var e=Ba(!1),t=e[0];return e=Ja.bind(null,e[1]),Ea().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=ga,i=Ea();if(io){if(void 0===n)throw Error(o(407));n=n()}else{if(n=t(),null===Lu)throw Error(o(349));0!=(30&ha)||Ma(r,t,n)}i.memoizedState=n;var a={value:n,getSnapshot:t};return i.queue=a,Za(ja.bind(null,r,a,e),[e]),r.flags|=2048,Ua(9,Ra.bind(null,r,a,n,t),void 0,null),n},useId:function(){var e=Ea(),t=Lu.identifierPrefix;if(io){var n=Xi;t=":"+t+"R"+(n=(Ki&~(1<<32-at(Ki)-1)).toString(32)+n),0<(n=_a++)&&(t+="H"+n.toString(32)),t+=":"}else t=":"+t+"r"+(n=wa++).toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},us={readContext:Eo,useCallback:Ka,useContext:Eo,useEffect:qa,useImperativeHandle:$a,useInsertionEffect:Va,useLayoutEffect:Wa,useMemo:Xa,useReducer:La,useRef:Fa,useState:function(){return La(Ca)},useDebugValue:Ya,useDeferredValue:function(e){return Qa(Oa(),ma.memoizedState,e)},useTransition:function(){return[La(Ca)[0],Oa().memoizedState]},useMutableSource:Ia,useSyncExternalStore:Pa,useId:es,unstable_isNewReconciler:!1},cs={readContext:Eo,useCallback:Ka,useContext:Eo,useEffect:qa,useImperativeHandle:$a,useInsertionEffect:Va,useLayoutEffect:Wa,useMemo:Xa,useReducer:Aa,useRef:Fa,useState:function(){return Aa(Ca)},useDebugValue:Ya,useDeferredValue:function(e){var t=Oa();return null===ma?t.memoizedState=e:Qa(t,ma.memoizedState,e)},useTransition:function(){return[Aa(Ca)[0],Oa().memoizedState]},useMutableSource:Ia,useSyncExternalStore:Pa,useId:es,unstable_isNewReconciler:!1};function ls(e,t){try{var n="",r=t;do{n+=z(r),r=r.return}while(r);var i=n}catch(e){i="\nError generating stack: "+e.message+"\n"+e.stack}return{value:e,source:t,stack:i,digest:null}}function fs(e,t,n){return{value:e,source:null,stack:null!=n?n:null,digest:null!=t?t:null}}function ds(e,t){try{console.error(t.value)}catch(e){setTimeout((function(){throw e}))}}var ps="function"==typeof WeakMap?WeakMap:Map;function hs(e,t,n){(n=Ro(-1,n)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){qu||(qu=!0,Vu=r),ds(0,t)},n}function gs(e,t,n){(n=Ro(-1,n)).tag=3;var r=e.type.getDerivedStateFromError;if("function"==typeof r){var i=t.value;n.payload=function(){return r(i)},n.callback=function(){ds(0,t)}}var o=e.stateNode;return null!==o&&"function"==typeof o.componentDidCatch&&(n.callback=function(){ds(0,t),"function"!=typeof r&&(null===Wu?Wu=new Set([this]):Wu.add(this));var e=t.stack;this.componentDidCatch(t.value,{componentStack:null!==e?e:""})}),n}function ms(e,t,n){var r=e.pingCache;if(null===r){r=e.pingCache=new ps;var i=new Set;r.set(t,i)}else void 0===(i=r.get(t))&&(i=new Set,r.set(t,i));i.has(n)||(i.add(n),e=kc.bind(null,e,t,n),t.then(e,e))}function ys(e){do{var t;if((t=13===e.tag)&&(t=null===(t=e.memoizedState)||null!==t.dehydrated),t)return e;e=e.return}while(null!==e);return null}function vs(e,t,n,r,i){return 0==(1&e.mode)?(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,1===n.tag&&(null===n.alternate?n.tag=17:((t=Ro(-1,1)).tag=2,jo(n,t,1))),n.lanes|=1),e):(e.flags|=65536,e.lanes=i,e)}var bs=_.ReactCurrentOwner,_s=!1;function ws(e,t,n,r){t.child=null===e?Qo(t,null,n,r):Xo(t,e.child,n,r)}function Ts(e,t,n,r,i){n=n.render;var o=t.ref;return ko(t,i),r=Sa(e,t,n,r,o,i),n=ka(),null===e||_s?(io&&n&&eo(t),t.flags|=1,ws(e,t,r,i),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,qs(e,t,i))}function xs(e,t,n,r,i){if(null===e){var o=n.type;return"function"!=typeof o||Pc(o)||void 0!==o.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=Rc(n.type,null,r,t,t.mode,i)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=o,Ss(e,t,o,r,i))}if(o=e.child,0==(e.lanes&i)){var a=o.memoizedProps;if((n=null!==(n=n.compare)?n:ur)(a,r)&&e.ref===t.ref)return qs(e,t,i)}return t.flags|=1,(e=Mc(o,r)).ref=t.ref,e.return=t,t.child=e}function Ss(e,t,n,r,i){if(null!==e){var o=e.memoizedProps;if(ur(o,r)&&e.ref===t.ref){if(_s=!1,t.pendingProps=r=o,0==(e.lanes&i))return t.lanes=e.lanes,qs(e,t,i);0!=(131072&e.flags)&&(_s=!0)}}return Os(e,t,n,r,i)}function ks(e,t,n){var r=t.pendingProps,i=r.children,o=null!==e?e.memoizedState:null;if("hidden"===r.mode)if(0==(1&t.mode))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},Ei(Mu,Pu),Pu|=n;else{if(0==(1073741824&n))return e=null!==o?o.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,Ei(Mu,Pu),Pu|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=null!==o?o.baseLanes:n,Ei(Mu,Pu),Pu|=r}else null!==o?(r=o.baseLanes|n,t.memoizedState=null):r=n,Ei(Mu,Pu),Pu|=r;return ws(e,t,i,n),t.child}function Es(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function Os(e,t,n,r,i){var o=Pi(n)?Ai:Ci.current;return o=Ii(t,o),ko(t,i),n=Sa(e,t,n,r,o,i),r=ka(),null===e||_s?(io&&r&&eo(t),t.flags|=1,ws(e,t,n,i),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,qs(e,t,i))}function Cs(e,t,n,r,i){if(Pi(n)){var o=!0;Di(t)}else o=!1;if(ko(t,i),null===t.stateNode)Zs(e,t),qo(t,n,r),Wo(t,n,r,i),r=!0;else if(null===e){var a=t.stateNode,s=t.memoizedProps;a.props=s;var u=a.context,c=n.contextType;"object"==typeof c&&null!==c?c=Eo(c):c=Ii(t,c=Pi(n)?Ai:Ci.current);var l=n.getDerivedStateFromProps,f="function"==typeof l||"function"==typeof a.getSnapshotBeforeUpdate;f||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||(s!==r||u!==c)&&Vo(t,a,r,c),Io=!1;var d=t.memoizedState;a.state=d,Bo(t,r,a,i),u=t.memoizedState,s!==r||d!==u||Li.current||Io?("function"==typeof l&&(zo(t,n,l,r),u=t.memoizedState),(s=Io||Zo(t,n,s,r,d,u,c))?(f||"function"!=typeof a.UNSAFE_componentWillMount&&"function"!=typeof a.componentWillMount||("function"==typeof a.componentWillMount&&a.componentWillMount(),"function"==typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount()),"function"==typeof a.componentDidMount&&(t.flags|=4194308)):("function"==typeof a.componentDidMount&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=u),a.props=r,a.state=u,a.context=c,r=s):("function"==typeof a.componentDidMount&&(t.flags|=4194308),r=!1)}else{a=t.stateNode,Mo(e,t),s=t.memoizedProps,c=t.type===t.elementType?s:yo(t.type,s),a.props=c,f=t.pendingProps,d=a.context,"object"==typeof(u=n.contextType)&&null!==u?u=Eo(u):u=Ii(t,u=Pi(n)?Ai:Ci.current);var p=n.getDerivedStateFromProps;(l="function"==typeof p||"function"==typeof a.getSnapshotBeforeUpdate)||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||(s!==f||d!==u)&&Vo(t,a,r,u),Io=!1,d=t.memoizedState,a.state=d,Bo(t,r,a,i);var h=t.memoizedState;s!==f||d!==h||Li.current||Io?("function"==typeof p&&(zo(t,n,p,r),h=t.memoizedState),(c=Io||Zo(t,n,c,r,d,h,u)||!1)?(l||"function"!=typeof a.UNSAFE_componentWillUpdate&&"function"!=typeof a.componentWillUpdate||("function"==typeof a.componentWillUpdate&&a.componentWillUpdate(r,h,u),"function"==typeof a.UNSAFE_componentWillUpdate&&a.UNSAFE_componentWillUpdate(r,h,u)),"function"==typeof a.componentDidUpdate&&(t.flags|=4),"function"==typeof a.getSnapshotBeforeUpdate&&(t.flags|=1024)):("function"!=typeof a.componentDidUpdate||s===e.memoizedProps&&d===e.memoizedState||(t.flags|=4),"function"!=typeof a.getSnapshotBeforeUpdate||s===e.memoizedProps&&d===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=h),a.props=r,a.state=h,a.context=u,r=c):("function"!=typeof a.componentDidUpdate||s===e.memoizedProps&&d===e.memoizedState||(t.flags|=4),"function"!=typeof a.getSnapshotBeforeUpdate||s===e.memoizedProps&&d===e.memoizedState||(t.flags|=1024),r=!1)}return Ls(e,t,n,r,o,i)}function Ls(e,t,n,r,i,o){Es(e,t);var a=0!=(128&t.flags);if(!r&&!a)return i&&Ni(t,n,!1),qs(e,t,o);r=t.stateNode,bs.current=t;var s=a&&"function"!=typeof n.getDerivedStateFromError?null:r.render();return t.flags|=1,null!==e&&a?(t.child=Xo(t,e.child,null,o),t.child=Xo(t,null,s,o)):ws(e,t,s,o),t.memoizedState=r.state,i&&Ni(t,n,!0),t.child}function As(e){var t=e.stateNode;t.pendingContext?Ri(0,t.pendingContext,t.pendingContext!==t.context):t.context&&Ri(0,t.context,!1),ia(e,t.containerInfo)}function Is(e,t,n,r,i){return ho(),go(i),t.flags|=256,ws(e,t,n,r),t.child}var Ps,Ms,Rs,js={dehydrated:null,treeContext:null,retryLane:0};function Ds(e){return{baseLanes:e,cachePool:null,transitions:null}}function Ns(e,t,n){var r,i=t.pendingProps,a=ua.current,s=!1,u=0!=(128&t.flags);if((r=u)||(r=(null===e||null!==e.memoizedState)&&0!=(2&a)),r?(s=!0,t.flags&=-129):null!==e&&null===e.memoizedState||(a|=1),Ei(ua,1&a),null===e)return co(t),null!==(e=t.memoizedState)&&null!==(e=e.dehydrated)?(0==(1&t.mode)?t.lanes=1:"$!"===e.data?t.lanes=8:t.lanes=1073741824,null):(u=i.children,e=i.fallback,s?(i=t.mode,s=t.child,u={mode:"hidden",children:u},0==(1&i)&&null!==s?(s.childLanes=0,s.pendingProps=u):s=Dc(u,i,0,null),e=jc(e,i,n,null),s.return=t,e.return=t,s.sibling=e,t.child=s,t.child.memoizedState=Ds(n),t.memoizedState=js,e):Bs(t,u));if(null!==(a=e.memoizedState)&&null!==(r=a.dehydrated))return function(e,t,n,r,i,a,s){if(n)return 256&t.flags?(t.flags&=-257,Us(e,t,s,r=fs(Error(o(422))))):null!==t.memoizedState?(t.child=e.child,t.flags|=128,null):(a=r.fallback,i=t.mode,r=Dc({mode:"visible",children:r.children},i,0,null),(a=jc(a,i,s,null)).flags|=2,r.return=t,a.return=t,r.sibling=a,t.child=r,0!=(1&t.mode)&&Xo(t,e.child,null,s),t.child.memoizedState=Ds(s),t.memoizedState=js,a);if(0==(1&t.mode))return Us(e,t,s,null);if("$!"===i.data){if(r=i.nextSibling&&i.nextSibling.dataset)var u=r.dgst;return r=u,Us(e,t,s,r=fs(a=Error(o(419)),r,void 0))}if(u=0!=(s&e.childLanes),_s||u){if(null!==(r=Lu)){switch(s&-s){case 4:i=2;break;case 16:i=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:i=32;break;case 536870912:i=268435456;break;default:i=0}0!==(i=0!=(i&(r.suspendedLanes|s))?0:i)&&i!==a.retryLane&&(a.retryLane=i,Ao(e,i),nc(r,e,i,-1))}return gc(),Us(e,t,s,r=fs(Error(o(421))))}return"$?"===i.data?(t.flags|=128,t.child=e.child,t=Oc.bind(null,e),i._reactRetry=t,null):(e=a.treeContext,ro=ci(i.nextSibling),no=t,io=!0,oo=null,null!==e&&(Gi[$i++]=Ki,Gi[$i++]=Xi,Gi[$i++]=Yi,Ki=e.id,Xi=e.overflow,Yi=t),(t=Bs(t,r.children)).flags|=4096,t)}(e,t,u,i,r,a,n);if(s){s=i.fallback,u=t.mode,r=(a=e.child).sibling;var c={mode:"hidden",children:i.children};return 0==(1&u)&&t.child!==a?((i=t.child).childLanes=0,i.pendingProps=c,t.deletions=null):(i=Mc(a,c)).subtreeFlags=14680064&a.subtreeFlags,null!==r?s=Mc(r,s):(s=jc(s,u,n,null)).flags|=2,s.return=t,i.return=t,i.sibling=s,t.child=i,i=s,s=t.child,u=null===(u=e.child.memoizedState)?Ds(n):{baseLanes:u.baseLanes|n,cachePool:null,transitions:u.transitions},s.memoizedState=u,s.childLanes=e.childLanes&~n,t.memoizedState=js,i}return e=(s=e.child).sibling,i=Mc(s,{mode:"visible",children:i.children}),0==(1&t.mode)&&(i.lanes=n),i.return=t,i.sibling=null,null!==e&&(null===(n=t.deletions)?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=i,t.memoizedState=null,i}function Bs(e,t){return(t=Dc({mode:"visible",children:t},e.mode,0,null)).return=e,e.child=t}function Us(e,t,n,r){return null!==r&&go(r),Xo(t,e.child,null,n),(e=Bs(t,t.pendingProps.children)).flags|=2,t.memoizedState=null,e}function Fs(e,t,n){e.lanes|=t;var r=e.alternate;null!==r&&(r.lanes|=t),So(e.return,t,n)}function zs(e,t,n,r,i){var o=e.memoizedState;null===o?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:i}:(o.isBackwards=t,o.rendering=null,o.renderingStartTime=0,o.last=r,o.tail=n,o.tailMode=i)}function Hs(e,t,n){var r=t.pendingProps,i=r.revealOrder,o=r.tail;if(ws(e,t,r.children,n),0!=(2&(r=ua.current)))r=1&r|2,t.flags|=128;else{if(null!==e&&0!=(128&e.flags))e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&Fs(e,n,t);else if(19===e.tag)Fs(e,n,t);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(Ei(ua,r),0==(1&t.mode))t.memoizedState=null;else switch(i){case"forwards":for(n=t.child,i=null;null!==n;)null!==(e=n.alternate)&&null===ca(e)&&(i=n),n=n.sibling;null===(n=i)?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null),zs(t,!1,i,n,o);break;case"backwards":for(n=null,i=t.child,t.child=null;null!==i;){if(null!==(e=i.alternate)&&null===ca(e)){t.child=i;break}e=i.sibling,i.sibling=n,n=i,i=e}zs(t,!0,n,null,o);break;case"together":zs(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Zs(e,t){0==(1&t.mode)&&null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2)}function qs(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),Du|=t.lanes,0==(n&t.childLanes))return null;if(null!==e&&t.child!==e.child)throw Error(o(153));if(null!==t.child){for(n=Mc(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=Mc(e,e.pendingProps)).return=t;n.sibling=null}return t.child}function Vs(e,t){if(!io)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;null!==t;)null!==t.alternate&&(n=t),t=t.sibling;null===n?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?t||null===e.tail?e.tail=null:e.tail.sibling=null:r.sibling=null}}function Ws(e){var t=null!==e.alternate&&e.alternate.child===e.child,n=0,r=0;if(t)for(var i=e.child;null!==i;)n|=i.lanes|i.childLanes,r|=14680064&i.subtreeFlags,r|=14680064&i.flags,i.return=e,i=i.sibling;else for(i=e.child;null!==i;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags,r|=i.flags,i.return=e,i=i.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function Gs(e,t,n){var r=t.pendingProps;switch(to(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Ws(t),null;case 1:case 17:return Pi(t.type)&&Mi(),Ws(t),null;case 3:return r=t.stateNode,oa(),ki(Li),ki(Ci),fa(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),null!==e&&null!==e.child||(fo(t)?t.flags|=4:null===e||e.memoizedState.isDehydrated&&0==(256&t.flags)||(t.flags|=1024,null!==oo&&(ac(oo),oo=null))),Ws(t),null;case 5:sa(t);var i=ra(na.current);if(n=t.type,null!==e&&null!=t.stateNode)Ms(e,t,n,r),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(null===t.stateNode)throw Error(o(166));return Ws(t),null}if(e=ra(ea.current),fo(t)){r=t.stateNode,n=t.type;var a=t.memoizedProps;switch(r[di]=t,r[pi]=a,e=0!=(1&t.mode),n){case"dialog":Ur("cancel",r),Ur("close",r);break;case"iframe":case"object":case"embed":Ur("load",r);break;case"video":case"audio":for(i=0;i<jr.length;i++)Ur(jr[i],r);break;case"source":Ur("error",r);break;case"img":case"image":case"link":Ur("error",r),Ur("load",r);break;case"details":Ur("toggle",r);break;case"input":K(r,a),Ur("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!a.multiple},Ur("invalid",r);break;case"textarea":ie(r,a),Ur("invalid",r)}for(var u in ve(n,a),i=null,a)if(a.hasOwnProperty(u)){var c=a[u];"children"===u?"string"==typeof c?r.textContent!==c&&(!0!==a.suppressHydrationWarning&&Qr(r.textContent,c,e),i=["children",c]):"number"==typeof c&&r.textContent!==""+c&&(!0!==a.suppressHydrationWarning&&Qr(r.textContent,c,e),i=["children",""+c]):s.hasOwnProperty(u)&&null!=c&&"onScroll"===u&&Ur("scroll",r)}switch(n){case"input":W(r),J(r,a,!0);break;case"textarea":W(r),ae(r);break;case"select":case"option":break;default:"function"==typeof a.onClick&&(r.onclick=Jr)}r=i,t.updateQueue=r,null!==r&&(t.flags|=4)}else{u=9===i.nodeType?i:i.ownerDocument,"http://www.w3.org/1999/xhtml"===e&&(e=se(n)),"http://www.w3.org/1999/xhtml"===e?"script"===n?((e=u.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"==typeof r.is?e=u.createElement(n,{is:r.is}):(e=u.createElement(n),"select"===n&&(u=e,r.multiple?u.multiple=!0:r.size&&(u.size=r.size))):e=u.createElementNS(e,n),e[di]=t,e[pi]=r,Ps(e,t),t.stateNode=e;e:{switch(u=be(n,r),n){case"dialog":Ur("cancel",e),Ur("close",e),i=r;break;case"iframe":case"object":case"embed":Ur("load",e),i=r;break;case"video":case"audio":for(i=0;i<jr.length;i++)Ur(jr[i],e);i=r;break;case"source":Ur("error",e),i=r;break;case"img":case"image":case"link":Ur("error",e),Ur("load",e),i=r;break;case"details":Ur("toggle",e),i=r;break;case"input":K(e,r),i=Y(e,r),Ur("invalid",e);break;case"option":default:i=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},i=N({},r,{value:void 0}),Ur("invalid",e);break;case"textarea":ie(e,r),i=re(e,r),Ur("invalid",e)}for(a in ve(n,i),c=i)if(c.hasOwnProperty(a)){var l=c[a];"style"===a?me(e,l):"dangerouslySetInnerHTML"===a?null!=(l=l?l.__html:void 0)&&fe(e,l):"children"===a?"string"==typeof l?("textarea"!==n||""!==l)&&de(e,l):"number"==typeof l&&de(e,""+l):"suppressContentEditableWarning"!==a&&"suppressHydrationWarning"!==a&&"autoFocus"!==a&&(s.hasOwnProperty(a)?null!=l&&"onScroll"===a&&Ur("scroll",e):null!=l&&b(e,a,l,u))}switch(n){case"input":W(e),J(e,r,!1);break;case"textarea":W(e),ae(e);break;case"option":null!=r.value&&e.setAttribute("value",""+q(r.value));break;case"select":e.multiple=!!r.multiple,null!=(a=r.value)?ne(e,!!r.multiple,a,!1):null!=r.defaultValue&&ne(e,!!r.multiple,r.defaultValue,!0);break;default:"function"==typeof i.onClick&&(e.onclick=Jr)}switch(n){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}}r&&(t.flags|=4)}null!==t.ref&&(t.flags|=512,t.flags|=2097152)}return Ws(t),null;case 6:if(e&&null!=t.stateNode)Rs(0,t,e.memoizedProps,r);else{if("string"!=typeof r&&null===t.stateNode)throw Error(o(166));if(n=ra(na.current),ra(ea.current),fo(t)){if(r=t.stateNode,n=t.memoizedProps,r[di]=t,(a=r.nodeValue!==n)&&null!==(e=no))switch(e.tag){case 3:Qr(r.nodeValue,n,0!=(1&e.mode));break;case 5:!0!==e.memoizedProps.suppressHydrationWarning&&Qr(r.nodeValue,n,0!=(1&e.mode))}a&&(t.flags|=4)}else(r=(9===n.nodeType?n:n.ownerDocument).createTextNode(r))[di]=t,t.stateNode=r}return Ws(t),null;case 13:if(ki(ua),r=t.memoizedState,null===e||null!==e.memoizedState&&null!==e.memoizedState.dehydrated){if(io&&null!==ro&&0!=(1&t.mode)&&0==(128&t.flags))po(),ho(),t.flags|=98560,a=!1;else if(a=fo(t),null!==r&&null!==r.dehydrated){if(null===e){if(!a)throw Error(o(318));if(!(a=null!==(a=t.memoizedState)?a.dehydrated:null))throw Error(o(317));a[di]=t}else ho(),0==(128&t.flags)&&(t.memoizedState=null),t.flags|=4;Ws(t),a=!1}else null!==oo&&(ac(oo),oo=null),a=!0;if(!a)return 65536&t.flags?t:null}return 0!=(128&t.flags)?(t.lanes=n,t):((r=null!==r)!==(null!==e&&null!==e.memoizedState)&&r&&(t.child.flags|=8192,0!=(1&t.mode)&&(null===e||0!=(1&ua.current)?0===Ru&&(Ru=3):gc())),null!==t.updateQueue&&(t.flags|=4),Ws(t),null);case 4:return oa(),null===e&&Hr(t.stateNode.containerInfo),Ws(t),null;case 10:return xo(t.type._context),Ws(t),null;case 19:if(ki(ua),null===(a=t.memoizedState))return Ws(t),null;if(r=0!=(128&t.flags),null===(u=a.rendering))if(r)Vs(a,!1);else{if(0!==Ru||null!==e&&0!=(128&e.flags))for(e=t.child;null!==e;){if(null!==(u=ca(e))){for(t.flags|=128,Vs(a,!1),null!==(r=u.updateQueue)&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;null!==n;)e=r,(a=n).flags&=14680066,null===(u=a.alternate)?(a.childLanes=0,a.lanes=e,a.child=null,a.subtreeFlags=0,a.memoizedProps=null,a.memoizedState=null,a.updateQueue=null,a.dependencies=null,a.stateNode=null):(a.childLanes=u.childLanes,a.lanes=u.lanes,a.child=u.child,a.subtreeFlags=0,a.deletions=null,a.memoizedProps=u.memoizedProps,a.memoizedState=u.memoizedState,a.updateQueue=u.updateQueue,a.type=u.type,e=u.dependencies,a.dependencies=null===e?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return Ei(ua,1&ua.current|2),t.child}e=e.sibling}null!==a.tail&&Xe()>Hu&&(t.flags|=128,r=!0,Vs(a,!1),t.lanes=4194304)}else{if(!r)if(null!==(e=ca(u))){if(t.flags|=128,r=!0,null!==(n=e.updateQueue)&&(t.updateQueue=n,t.flags|=4),Vs(a,!0),null===a.tail&&"hidden"===a.tailMode&&!u.alternate&&!io)return Ws(t),null}else 2*Xe()-a.renderingStartTime>Hu&&1073741824!==n&&(t.flags|=128,r=!0,Vs(a,!1),t.lanes=4194304);a.isBackwards?(u.sibling=t.child,t.child=u):(null!==(n=a.last)?n.sibling=u:t.child=u,a.last=u)}return null!==a.tail?(t=a.tail,a.rendering=t,a.tail=t.sibling,a.renderingStartTime=Xe(),t.sibling=null,n=ua.current,Ei(ua,r?1&n|2:1&n),t):(Ws(t),null);case 22:case 23:return fc(),r=null!==t.memoizedState,null!==e&&null!==e.memoizedState!==r&&(t.flags|=8192),r&&0!=(1&t.mode)?0!=(1073741824&Pu)&&(Ws(t),6&t.subtreeFlags&&(t.flags|=8192)):Ws(t),null;case 24:case 25:return null}throw Error(o(156,t.tag))}function $s(e,t){switch(to(t),t.tag){case 1:return Pi(t.type)&&Mi(),65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 3:return oa(),ki(Li),ki(Ci),fa(),0!=(65536&(e=t.flags))&&0==(128&e)?(t.flags=-65537&e|128,t):null;case 5:return sa(t),null;case 13:if(ki(ua),null!==(e=t.memoizedState)&&null!==e.dehydrated){if(null===t.alternate)throw Error(o(340));ho()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 19:return ki(ua),null;case 4:return oa(),null;case 10:return xo(t.type._context),null;case 22:case 23:return fc(),null;default:return null}}Ps=function(e,t){for(var n=t.child;null!==n;){if(5===n.tag||6===n.tag)e.appendChild(n.stateNode);else if(4!==n.tag&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===t)break;for(;null===n.sibling;){if(null===n.return||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},Ms=function(e,t,n,r){var i=e.memoizedProps;if(i!==r){e=t.stateNode,ra(ea.current);var o,a=null;switch(n){case"input":i=Y(e,i),r=Y(e,r),a=[];break;case"select":i=N({},i,{value:void 0}),r=N({},r,{value:void 0}),a=[];break;case"textarea":i=re(e,i),r=re(e,r),a=[];break;default:"function"!=typeof i.onClick&&"function"==typeof r.onClick&&(e.onclick=Jr)}for(l in ve(n,r),n=null,i)if(!r.hasOwnProperty(l)&&i.hasOwnProperty(l)&&null!=i[l])if("style"===l){var u=i[l];for(o in u)u.hasOwnProperty(o)&&(n||(n={}),n[o]="")}else"dangerouslySetInnerHTML"!==l&&"children"!==l&&"suppressContentEditableWarning"!==l&&"suppressHydrationWarning"!==l&&"autoFocus"!==l&&(s.hasOwnProperty(l)?a||(a=[]):(a=a||[]).push(l,null));for(l in r){var c=r[l];if(u=null!=i?i[l]:void 0,r.hasOwnProperty(l)&&c!==u&&(null!=c||null!=u))if("style"===l)if(u){for(o in u)!u.hasOwnProperty(o)||c&&c.hasOwnProperty(o)||(n||(n={}),n[o]="");for(o in c)c.hasOwnProperty(o)&&u[o]!==c[o]&&(n||(n={}),n[o]=c[o])}else n||(a||(a=[]),a.push(l,n)),n=c;else"dangerouslySetInnerHTML"===l?(c=c?c.__html:void 0,u=u?u.__html:void 0,null!=c&&u!==c&&(a=a||[]).push(l,c)):"children"===l?"string"!=typeof c&&"number"!=typeof c||(a=a||[]).push(l,""+c):"suppressContentEditableWarning"!==l&&"suppressHydrationWarning"!==l&&(s.hasOwnProperty(l)?(null!=c&&"onScroll"===l&&Ur("scroll",e),a||u===c||(a=[])):(a=a||[]).push(l,c))}n&&(a=a||[]).push("style",n);var l=a;(t.updateQueue=l)&&(t.flags|=4)}},Rs=function(e,t,n,r){n!==r&&(t.flags|=4)};var Ys=!1,Ks=!1,Xs="function"==typeof WeakSet?WeakSet:Set,Qs=null;function Js(e,t){var n=e.ref;if(null!==n)if("function"==typeof n)try{n(null)}catch(n){Sc(e,t,n)}else n.current=null}function eu(e,t,n){try{n()}catch(n){Sc(e,t,n)}}var tu=!1;function nu(e,t,n){var r=t.updateQueue;if(null!==(r=null!==r?r.lastEffect:null)){var i=r=r.next;do{if((i.tag&e)===e){var o=i.destroy;i.destroy=void 0,void 0!==o&&eu(t,n,o)}i=i.next}while(i!==r)}}function ru(e,t){if(null!==(t=null!==(t=t.updateQueue)?t.lastEffect:null)){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function iu(e){var t=e.ref;if(null!==t){var n=e.stateNode;e.tag,e=n,"function"==typeof t?t(e):t.current=e}}function ou(e){var t=e.alternate;null!==t&&(e.alternate=null,ou(t)),e.child=null,e.deletions=null,e.sibling=null,5===e.tag&&(null!==(t=e.stateNode)&&(delete t[di],delete t[pi],delete t[gi],delete t[mi],delete t[yi])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function au(e){return 5===e.tag||3===e.tag||4===e.tag}function su(e){e:for(;;){for(;null===e.sibling;){if(null===e.return||au(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;5!==e.tag&&6!==e.tag&&18!==e.tag;){if(2&e.flags)continue e;if(null===e.child||4===e.tag)continue e;e.child.return=e,e=e.child}if(!(2&e.flags))return e.stateNode}}function uu(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?8===n.nodeType?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(8===n.nodeType?(t=n.parentNode).insertBefore(e,n):(t=n).appendChild(e),null!=(n=n._reactRootContainer)||null!==t.onclick||(t.onclick=Jr));else if(4!==r&&null!==(e=e.child))for(uu(e,t,n),e=e.sibling;null!==e;)uu(e,t,n),e=e.sibling}function cu(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(4!==r&&null!==(e=e.child))for(cu(e,t,n),e=e.sibling;null!==e;)cu(e,t,n),e=e.sibling}var lu=null,fu=!1;function du(e,t,n){for(n=n.child;null!==n;)pu(e,t,n),n=n.sibling}function pu(e,t,n){if(ot&&"function"==typeof ot.onCommitFiberUnmount)try{ot.onCommitFiberUnmount(it,n)}catch(e){}switch(n.tag){case 5:Ks||Js(n,t);case 6:var r=lu,i=fu;lu=null,du(e,t,n),fu=i,null!==(lu=r)&&(fu?(e=lu,n=n.stateNode,8===e.nodeType?e.parentNode.removeChild(n):e.removeChild(n)):lu.removeChild(n.stateNode));break;case 18:null!==lu&&(fu?(e=lu,n=n.stateNode,8===e.nodeType?ui(e.parentNode,n):1===e.nodeType&&ui(e,n),Ht(e)):ui(lu,n.stateNode));break;case 4:r=lu,i=fu,lu=n.stateNode.containerInfo,fu=!0,du(e,t,n),lu=r,fu=i;break;case 0:case 11:case 14:case 15:if(!Ks&&(null!==(r=n.updateQueue)&&null!==(r=r.lastEffect))){i=r=r.next;do{var o=i,a=o.destroy;o=o.tag,void 0!==a&&(0!=(2&o)||0!=(4&o))&&eu(n,t,a),i=i.next}while(i!==r)}du(e,t,n);break;case 1:if(!Ks&&(Js(n,t),"function"==typeof(r=n.stateNode).componentWillUnmount))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(e){Sc(n,t,e)}du(e,t,n);break;case 21:du(e,t,n);break;case 22:1&n.mode?(Ks=(r=Ks)||null!==n.memoizedState,du(e,t,n),Ks=r):du(e,t,n);break;default:du(e,t,n)}}function hu(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new Xs),t.forEach((function(t){var r=Cc.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))}))}}function gu(e,t){var n=t.deletions;if(null!==n)for(var r=0;r<n.length;r++){var i=n[r];try{var a=e,s=t,u=s;e:for(;null!==u;){switch(u.tag){case 5:lu=u.stateNode,fu=!1;break e;case 3:case 4:lu=u.stateNode.containerInfo,fu=!0;break e}u=u.return}if(null===lu)throw Error(o(160));pu(a,s,i),lu=null,fu=!1;var c=i.alternate;null!==c&&(c.return=null),i.return=null}catch(e){Sc(i,t,e)}}if(12854&t.subtreeFlags)for(t=t.child;null!==t;)mu(t,e),t=t.sibling}function mu(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(gu(t,e),yu(e),4&r){try{nu(3,e,e.return),ru(3,e)}catch(t){Sc(e,e.return,t)}try{nu(5,e,e.return)}catch(t){Sc(e,e.return,t)}}break;case 1:gu(t,e),yu(e),512&r&&null!==n&&Js(n,n.return);break;case 5:if(gu(t,e),yu(e),512&r&&null!==n&&Js(n,n.return),32&e.flags){var i=e.stateNode;try{de(i,"")}catch(t){Sc(e,e.return,t)}}if(4&r&&null!=(i=e.stateNode)){var a=e.memoizedProps,s=null!==n?n.memoizedProps:a,u=e.type,c=e.updateQueue;if(e.updateQueue=null,null!==c)try{"input"===u&&"radio"===a.type&&null!=a.name&&X(i,a),be(u,s);var l=be(u,a);for(s=0;s<c.length;s+=2){var f=c[s],d=c[s+1];"style"===f?me(i,d):"dangerouslySetInnerHTML"===f?fe(i,d):"children"===f?de(i,d):b(i,f,d,l)}switch(u){case"input":Q(i,a);break;case"textarea":oe(i,a);break;case"select":var p=i._wrapperState.wasMultiple;i._wrapperState.wasMultiple=!!a.multiple;var h=a.value;null!=h?ne(i,!!a.multiple,h,!1):p!==!!a.multiple&&(null!=a.defaultValue?ne(i,!!a.multiple,a.defaultValue,!0):ne(i,!!a.multiple,a.multiple?[]:"",!1))}i[pi]=a}catch(t){Sc(e,e.return,t)}}break;case 6:if(gu(t,e),yu(e),4&r){if(null===e.stateNode)throw Error(o(162));i=e.stateNode,a=e.memoizedProps;try{i.nodeValue=a}catch(t){Sc(e,e.return,t)}}break;case 3:if(gu(t,e),yu(e),4&r&&null!==n&&n.memoizedState.isDehydrated)try{Ht(t.containerInfo)}catch(t){Sc(e,e.return,t)}break;case 4:default:gu(t,e),yu(e);break;case 13:gu(t,e),yu(e),8192&(i=e.child).flags&&(a=null!==i.memoizedState,i.stateNode.isHidden=a,!a||null!==i.alternate&&null!==i.alternate.memoizedState||(zu=Xe())),4&r&&hu(e);break;case 22:if(f=null!==n&&null!==n.memoizedState,1&e.mode?(Ks=(l=Ks)||f,gu(t,e),Ks=l):gu(t,e),yu(e),8192&r){if(l=null!==e.memoizedState,(e.stateNode.isHidden=l)&&!f&&0!=(1&e.mode))for(Qs=e,f=e.child;null!==f;){for(d=Qs=f;null!==Qs;){switch(h=(p=Qs).child,p.tag){case 0:case 11:case 14:case 15:nu(4,p,p.return);break;case 1:Js(p,p.return);var g=p.stateNode;if("function"==typeof g.componentWillUnmount){r=p,n=p.return;try{t=r,g.props=t.memoizedProps,g.state=t.memoizedState,g.componentWillUnmount()}catch(e){Sc(r,n,e)}}break;case 5:Js(p,p.return);break;case 22:if(null!==p.memoizedState){wu(d);continue}}null!==h?(h.return=p,Qs=h):wu(d)}f=f.sibling}e:for(f=null,d=e;;){if(5===d.tag){if(null===f){f=d;try{i=d.stateNode,l?"function"==typeof(a=i.style).setProperty?a.setProperty("display","none","important"):a.display="none":(u=d.stateNode,s=null!=(c=d.memoizedProps.style)&&c.hasOwnProperty("display")?c.display:null,u.style.display=ge("display",s))}catch(t){Sc(e,e.return,t)}}}else if(6===d.tag){if(null===f)try{d.stateNode.nodeValue=l?"":d.memoizedProps}catch(t){Sc(e,e.return,t)}}else if((22!==d.tag&&23!==d.tag||null===d.memoizedState||d===e)&&null!==d.child){d.child.return=d,d=d.child;continue}if(d===e)break e;for(;null===d.sibling;){if(null===d.return||d.return===e)break e;f===d&&(f=null),d=d.return}f===d&&(f=null),d.sibling.return=d.return,d=d.sibling}}break;case 19:gu(t,e),yu(e),4&r&&hu(e);case 21:}}function yu(e){var t=e.flags;if(2&t){try{e:{for(var n=e.return;null!==n;){if(au(n)){var r=n;break e}n=n.return}throw Error(o(160))}switch(r.tag){case 5:var i=r.stateNode;32&r.flags&&(de(i,""),r.flags&=-33),cu(e,su(e),i);break;case 3:case 4:var a=r.stateNode.containerInfo;uu(e,su(e),a);break;default:throw Error(o(161))}}catch(t){Sc(e,e.return,t)}e.flags&=-3}4096&t&&(e.flags&=-4097)}function vu(e,t,n){Qs=e,bu(e,t,n)}function bu(e,t,n){for(var r=0!=(1&e.mode);null!==Qs;){var i=Qs,o=i.child;if(22===i.tag&&r){var a=null!==i.memoizedState||Ys;if(!a){var s=i.alternate,u=null!==s&&null!==s.memoizedState||Ks;s=Ys;var c=Ks;if(Ys=a,(Ks=u)&&!c)for(Qs=i;null!==Qs;)u=(a=Qs).child,22===a.tag&&null!==a.memoizedState?Tu(i):null!==u?(u.return=a,Qs=u):Tu(i);for(;null!==o;)Qs=o,bu(o,t,n),o=o.sibling;Qs=i,Ys=s,Ks=c}_u(e)}else 0!=(8772&i.subtreeFlags)&&null!==o?(o.return=i,Qs=o):_u(e)}}function _u(e){for(;null!==Qs;){var t=Qs;if(0!=(8772&t.flags)){var n=t.alternate;try{if(0!=(8772&t.flags))switch(t.tag){case 0:case 11:case 15:Ks||ru(5,t);break;case 1:var r=t.stateNode;if(4&t.flags&&!Ks)if(null===n)r.componentDidMount();else{var i=t.elementType===t.type?n.memoizedProps:yo(t.type,n.memoizedProps);r.componentDidUpdate(i,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var a=t.updateQueue;null!==a&&Uo(t,a,r);break;case 3:var s=t.updateQueue;if(null!==s){if(n=null,null!==t.child)switch(t.child.tag){case 5:case 1:n=t.child.stateNode}Uo(t,s,n)}break;case 5:var u=t.stateNode;if(null===n&&4&t.flags){n=u;var c=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":c.autoFocus&&n.focus();break;case"img":c.src&&(n.src=c.src)}}break;case 6:case 4:case 12:case 19:case 17:case 21:case 22:case 23:case 25:break;case 13:if(null===t.memoizedState){var l=t.alternate;if(null!==l){var f=l.memoizedState;if(null!==f){var d=f.dehydrated;null!==d&&Ht(d)}}}break;default:throw Error(o(163))}Ks||512&t.flags&&iu(t)}catch(e){Sc(t,t.return,e)}}if(t===e){Qs=null;break}if(null!==(n=t.sibling)){n.return=t.return,Qs=n;break}Qs=t.return}}function wu(e){for(;null!==Qs;){var t=Qs;if(t===e){Qs=null;break}var n=t.sibling;if(null!==n){n.return=t.return,Qs=n;break}Qs=t.return}}function Tu(e){for(;null!==Qs;){var t=Qs;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{ru(4,t)}catch(e){Sc(t,n,e)}break;case 1:var r=t.stateNode;if("function"==typeof r.componentDidMount){var i=t.return;try{r.componentDidMount()}catch(e){Sc(t,i,e)}}var o=t.return;try{iu(t)}catch(e){Sc(t,o,e)}break;case 5:var a=t.return;try{iu(t)}catch(e){Sc(t,a,e)}}}catch(e){Sc(t,t.return,e)}if(t===e){Qs=null;break}var s=t.sibling;if(null!==s){s.return=t.return,Qs=s;break}Qs=t.return}}var xu,Su=Math.ceil,ku=_.ReactCurrentDispatcher,Eu=_.ReactCurrentOwner,Ou=_.ReactCurrentBatchConfig,Cu=0,Lu=null,Au=null,Iu=0,Pu=0,Mu=Si(0),Ru=0,ju=null,Du=0,Nu=0,Bu=0,Uu=null,Fu=null,zu=0,Hu=1/0,Zu=null,qu=!1,Vu=null,Wu=null,Gu=!1,$u=null,Yu=0,Ku=0,Xu=null,Qu=-1,Ju=0;function ec(){return 0!=(6&Cu)?Xe():-1!==Qu?Qu:Qu=Xe()}function tc(e){return 0==(1&e.mode)?1:0!=(2&Cu)&&0!==Iu?Iu&-Iu:null!==mo.transition?(0===Ju&&(Ju=gt()),Ju):0!==(e=bt)?e:e=void 0===(e=window.event)?16:Kt(e.type)}function nc(e,t,n,r){if(50<Ku)throw Ku=0,Xu=null,Error(o(185));yt(e,n,r),0!=(2&Cu)&&e===Lu||(e===Lu&&(0==(2&Cu)&&(Nu|=n),4===Ru&&sc(e,Iu)),rc(e,r),1===n&&0===Cu&&0==(1&t.mode)&&(Hu=Xe()+500,Ui&&Hi()))}function rc(e,t){var n=e.callbackNode;!function(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,i=e.expirationTimes,o=e.pendingLanes;0<o;){var a=31-at(o),s=1<<a,u=i[a];-1===u?0!=(s&n)&&0==(s&r)||(i[a]=pt(s,t)):u<=t&&(e.expiredLanes|=s),o&=~s}}(e,t);var r=dt(e,e===Lu?Iu:0);if(0===r)null!==n&&$e(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(null!=n&&$e(n),1===t)0===e.tag?function(e){Ui=!0,zi(e)}(uc.bind(null,e)):zi(uc.bind(null,e)),ai((function(){0==(6&Cu)&&Hi()})),n=null;else{switch(_t(r)){case 1:n=Je;break;case 4:n=et;break;case 16:default:n=tt;break;case 536870912:n=rt}n=Lc(n,ic.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function ic(e,t){if(Qu=-1,Ju=0,0!=(6&Cu))throw Error(o(327));var n=e.callbackNode;if(Tc()&&e.callbackNode!==n)return null;var r=dt(e,e===Lu?Iu:0);if(0===r)return null;if(0!=(30&r)||0!=(r&e.expiredLanes)||t)t=mc(e,r);else{t=r;var i=Cu;Cu|=2;var a=hc();for(Lu===e&&Iu===t||(Zu=null,Hu=Xe()+500,dc(e,t));;)try{vc();break}catch(t){pc(e,t)}To(),ku.current=a,Cu=i,null!==Au?t=0:(Lu=null,Iu=0,t=Ru)}if(0!==t){if(2===t&&(0!==(i=ht(e))&&(r=i,t=oc(e,i))),1===t)throw n=ju,dc(e,0),sc(e,r),rc(e,Xe()),n;if(6===t)sc(e,r);else{if(i=e.current.alternate,0==(30&r)&&!function(e){for(var t=e;;){if(16384&t.flags){var n=t.updateQueue;if(null!==n&&null!==(n=n.stores))for(var r=0;r<n.length;r++){var i=n[r],o=i.getSnapshot;i=i.value;try{if(!sr(o(),i))return!1}catch(e){return!1}}}if(n=t.child,16384&t.subtreeFlags&&null!==n)n.return=t,t=n;else{if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}(i)&&(2===(t=mc(e,r))&&(0!==(a=ht(e))&&(r=a,t=oc(e,a))),1===t))throw n=ju,dc(e,0),sc(e,r),rc(e,Xe()),n;switch(e.finishedWork=i,e.finishedLanes=r,t){case 0:case 1:throw Error(o(345));case 2:case 5:wc(e,Fu,Zu);break;case 3:if(sc(e,r),(130023424&r)===r&&10<(t=zu+500-Xe())){if(0!==dt(e,0))break;if(((i=e.suspendedLanes)&r)!==r){ec(),e.pingedLanes|=e.suspendedLanes&i;break}e.timeoutHandle=ri(wc.bind(null,e,Fu,Zu),t);break}wc(e,Fu,Zu);break;case 4:if(sc(e,r),(4194240&r)===r)break;for(t=e.eventTimes,i=-1;0<r;){var s=31-at(r);a=1<<s,(s=t[s])>i&&(i=s),r&=~a}if(r=i,10<(r=(120>(r=Xe()-r)?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*Su(r/1960))-r)){e.timeoutHandle=ri(wc.bind(null,e,Fu,Zu),r);break}wc(e,Fu,Zu);break;default:throw Error(o(329))}}}return rc(e,Xe()),e.callbackNode===n?ic.bind(null,e):null}function oc(e,t){var n=Uu;return e.current.memoizedState.isDehydrated&&(dc(e,t).flags|=256),2!==(e=mc(e,t))&&(t=Fu,Fu=n,null!==t&&ac(t)),e}function ac(e){null===Fu?Fu=e:Fu.push.apply(Fu,e)}function sc(e,t){for(t&=~Bu,t&=~Nu,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-at(t),r=1<<n;e[n]=-1,t&=~r}}function uc(e){if(0!=(6&Cu))throw Error(o(327));Tc();var t=dt(e,0);if(0==(1&t))return rc(e,Xe()),null;var n=mc(e,t);if(0!==e.tag&&2===n){var r=ht(e);0!==r&&(t=r,n=oc(e,r))}if(1===n)throw n=ju,dc(e,0),sc(e,t),rc(e,Xe()),n;if(6===n)throw Error(o(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,wc(e,Fu,Zu),rc(e,Xe()),null}function cc(e,t){var n=Cu;Cu|=1;try{return e(t)}finally{0===(Cu=n)&&(Hu=Xe()+500,Ui&&Hi())}}function lc(e){null!==$u&&0===$u.tag&&0==(6&Cu)&&Tc();var t=Cu;Cu|=1;var n=Ou.transition,r=bt;try{if(Ou.transition=null,bt=1,e)return e()}finally{bt=r,Ou.transition=n,0==(6&(Cu=t))&&Hi()}}function fc(){Pu=Mu.current,ki(Mu)}function dc(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,ii(n)),null!==Au)for(n=Au.return;null!==n;){var r=n;switch(to(r),r.tag){case 1:null!=(r=r.type.childContextTypes)&&Mi();break;case 3:oa(),ki(Li),ki(Ci),fa();break;case 5:sa(r);break;case 4:oa();break;case 13:case 19:ki(ua);break;case 10:xo(r.type._context);break;case 22:case 23:fc()}n=n.return}if(Lu=e,Au=e=Mc(e.current,null),Iu=Pu=t,Ru=0,ju=null,Bu=Nu=Du=0,Fu=Uu=null,null!==Oo){for(t=0;t<Oo.length;t++)if(null!==(r=(n=Oo[t]).interleaved)){n.interleaved=null;var i=r.next,o=n.pending;if(null!==o){var a=o.next;o.next=i,r.next=a}n.pending=r}Oo=null}return e}function pc(e,t){for(;;){var n=Au;try{if(To(),da.current=as,va){for(var r=ga.memoizedState;null!==r;){var i=r.queue;null!==i&&(i.pending=null),r=r.next}va=!1}if(ha=0,ya=ma=ga=null,ba=!1,_a=0,Eu.current=null,null===n||null===n.return){Ru=1,ju=t,Au=null;break}e:{var a=e,s=n.return,u=n,c=t;if(t=Iu,u.flags|=32768,null!==c&&"object"==typeof c&&"function"==typeof c.then){var l=c,f=u,d=f.tag;if(0==(1&f.mode)&&(0===d||11===d||15===d)){var p=f.alternate;p?(f.updateQueue=p.updateQueue,f.memoizedState=p.memoizedState,f.lanes=p.lanes):(f.updateQueue=null,f.memoizedState=null)}var h=ys(s);if(null!==h){h.flags&=-257,vs(h,s,u,0,t),1&h.mode&&ms(a,l,t),c=l;var g=(t=h).updateQueue;if(null===g){var m=new Set;m.add(c),t.updateQueue=m}else g.add(c);break e}if(0==(1&t)){ms(a,l,t),gc();break e}c=Error(o(426))}else if(io&&1&u.mode){var y=ys(s);if(null!==y){0==(65536&y.flags)&&(y.flags|=256),vs(y,s,u,0,t),go(ls(c,u));break e}}a=c=ls(c,u),4!==Ru&&(Ru=2),null===Uu?Uu=[a]:Uu.push(a),a=s;do{switch(a.tag){case 3:a.flags|=65536,t&=-t,a.lanes|=t,No(a,hs(0,c,t));break e;case 1:u=c;var v=a.type,b=a.stateNode;if(0==(128&a.flags)&&("function"==typeof v.getDerivedStateFromError||null!==b&&"function"==typeof b.componentDidCatch&&(null===Wu||!Wu.has(b)))){a.flags|=65536,t&=-t,a.lanes|=t,No(a,gs(a,u,t));break e}}a=a.return}while(null!==a)}_c(n)}catch(e){t=e,Au===n&&null!==n&&(Au=n=n.return);continue}break}}function hc(){var e=ku.current;return ku.current=as,null===e?as:e}function gc(){0!==Ru&&3!==Ru&&2!==Ru||(Ru=4),null===Lu||0==(268435455&Du)&&0==(268435455&Nu)||sc(Lu,Iu)}function mc(e,t){var n=Cu;Cu|=2;var r=hc();for(Lu===e&&Iu===t||(Zu=null,dc(e,t));;)try{yc();break}catch(t){pc(e,t)}if(To(),Cu=n,ku.current=r,null!==Au)throw Error(o(261));return Lu=null,Iu=0,Ru}function yc(){for(;null!==Au;)bc(Au)}function vc(){for(;null!==Au&&!Ye();)bc(Au)}function bc(e){var t=xu(e.alternate,e,Pu);e.memoizedProps=e.pendingProps,null===t?_c(e):Au=t,Eu.current=null}function _c(e){var t=e;do{var n=t.alternate;if(e=t.return,0==(32768&t.flags)){if(null!==(n=Gs(n,t,Pu)))return void(Au=n)}else{if(null!==(n=$s(n,t)))return n.flags&=32767,void(Au=n);if(null===e)return Ru=6,void(Au=null);e.flags|=32768,e.subtreeFlags=0,e.deletions=null}if(null!==(t=t.sibling))return void(Au=t);Au=t=e}while(null!==t);0===Ru&&(Ru=5)}function wc(e,t,n){var r=bt,i=Ou.transition;try{Ou.transition=null,bt=1,function(e,t,n,r){do{Tc()}while(null!==$u);if(0!=(6&Cu))throw Error(o(327));n=e.finishedWork;var i=e.finishedLanes;if(null===n)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(o(177));e.callbackNode=null,e.callbackPriority=0;var a=n.lanes|n.childLanes;if(function(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0<n;){var i=31-at(n),o=1<<i;t[i]=0,r[i]=-1,e[i]=-1,n&=~o}}(e,a),e===Lu&&(Au=Lu=null,Iu=0),0==(2064&n.subtreeFlags)&&0==(2064&n.flags)||Gu||(Gu=!0,Lc(tt,(function(){return Tc(),null}))),a=0!=(15990&n.flags),0!=(15990&n.subtreeFlags)||a){a=Ou.transition,Ou.transition=null;var s=bt;bt=1;var u=Cu;Cu|=4,Eu.current=null,function(e,t){if(ei=qt,pr(e=dr())){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{var r=(n=(n=e.ownerDocument)&&n.defaultView||window).getSelection&&n.getSelection();if(r&&0!==r.rangeCount){n=r.anchorNode;var i=r.anchorOffset,a=r.focusNode;r=r.focusOffset;try{n.nodeType,a.nodeType}catch(e){n=null;break e}var s=0,u=-1,c=-1,l=0,f=0,d=e,p=null;t:for(;;){for(var h;d!==n||0!==i&&3!==d.nodeType||(u=s+i),d!==a||0!==r&&3!==d.nodeType||(c=s+r),3===d.nodeType&&(s+=d.nodeValue.length),null!==(h=d.firstChild);)p=d,d=h;for(;;){if(d===e)break t;if(p===n&&++l===i&&(u=s),p===a&&++f===r&&(c=s),null!==(h=d.nextSibling))break;p=(d=p).parentNode}d=h}n=-1===u||-1===c?null:{start:u,end:c}}else n=null}n=n||{start:0,end:0}}else n=null;for(ti={focusedElem:e,selectionRange:n},qt=!1,Qs=t;null!==Qs;)if(e=(t=Qs).child,0!=(1028&t.subtreeFlags)&&null!==e)e.return=t,Qs=e;else for(;null!==Qs;){t=Qs;try{var g=t.alternate;if(0!=(1024&t.flags))switch(t.tag){case 0:case 11:case 15:case 5:case 6:case 4:case 17:break;case 1:if(null!==g){var m=g.memoizedProps,y=g.memoizedState,v=t.stateNode,b=v.getSnapshotBeforeUpdate(t.elementType===t.type?m:yo(t.type,m),y);v.__reactInternalSnapshotBeforeUpdate=b}break;case 3:var _=t.stateNode.containerInfo;1===_.nodeType?_.textContent="":9===_.nodeType&&_.documentElement&&_.removeChild(_.documentElement);break;default:throw Error(o(163))}}catch(e){Sc(t,t.return,e)}if(null!==(e=t.sibling)){e.return=t.return,Qs=e;break}Qs=t.return}g=tu,tu=!1}(e,n),mu(n,e),hr(ti),qt=!!ei,ti=ei=null,e.current=n,vu(n,e,i),Ke(),Cu=u,bt=s,Ou.transition=a}else e.current=n;if(Gu&&(Gu=!1,$u=e,Yu=i),0===(a=e.pendingLanes)&&(Wu=null),function(e){if(ot&&"function"==typeof ot.onCommitFiberRoot)try{ot.onCommitFiberRoot(it,e,void 0,128==(128&e.current.flags))}catch(e){}}(n.stateNode),rc(e,Xe()),null!==t)for(r=e.onRecoverableError,n=0;n<t.length;n++)i=t[n],r(i.value,{componentStack:i.stack,digest:i.digest});if(qu)throw qu=!1,e=Vu,Vu=null,e;0!=(1&Yu)&&0!==e.tag&&Tc(),0!=(1&(a=e.pendingLanes))?e===Xu?Ku++:(Ku=0,Xu=e):Ku=0,Hi()}(e,t,n,r)}finally{Ou.transition=i,bt=r}return null}function Tc(){if(null!==$u){var e=_t(Yu),t=Ou.transition,n=bt;try{if(Ou.transition=null,bt=16>e?16:e,null===$u)var r=!1;else{if(e=$u,$u=null,Yu=0,0!=(6&Cu))throw Error(o(331));var i=Cu;for(Cu|=4,Qs=e.current;null!==Qs;){var a=Qs,s=a.child;if(0!=(16&Qs.flags)){var u=a.deletions;if(null!==u){for(var c=0;c<u.length;c++){var l=u[c];for(Qs=l;null!==Qs;){var f=Qs;switch(f.tag){case 0:case 11:case 15:nu(8,f,a)}var d=f.child;if(null!==d)d.return=f,Qs=d;else for(;null!==Qs;){var p=(f=Qs).sibling,h=f.return;if(ou(f),f===l){Qs=null;break}if(null!==p){p.return=h,Qs=p;break}Qs=h}}}var g=a.alternate;if(null!==g){var m=g.child;if(null!==m){g.child=null;do{var y=m.sibling;m.sibling=null,m=y}while(null!==m)}}Qs=a}}if(0!=(2064&a.subtreeFlags)&&null!==s)s.return=a,Qs=s;else e:for(;null!==Qs;){if(0!=(2048&(a=Qs).flags))switch(a.tag){case 0:case 11:case 15:nu(9,a,a.return)}var v=a.sibling;if(null!==v){v.return=a.return,Qs=v;break e}Qs=a.return}}var b=e.current;for(Qs=b;null!==Qs;){var _=(s=Qs).child;if(0!=(2064&s.subtreeFlags)&&null!==_)_.return=s,Qs=_;else e:for(s=b;null!==Qs;){if(0!=(2048&(u=Qs).flags))try{switch(u.tag){case 0:case 11:case 15:ru(9,u)}}catch(e){Sc(u,u.return,e)}if(u===s){Qs=null;break e}var w=u.sibling;if(null!==w){w.return=u.return,Qs=w;break e}Qs=u.return}}if(Cu=i,Hi(),ot&&"function"==typeof ot.onPostCommitFiberRoot)try{ot.onPostCommitFiberRoot(it,e)}catch(e){}r=!0}return r}finally{bt=n,Ou.transition=t}}return!1}function xc(e,t,n){e=jo(e,t=hs(0,t=ls(n,t),1),1),t=ec(),null!==e&&(yt(e,1,t),rc(e,t))}function Sc(e,t,n){if(3===e.tag)xc(e,e,n);else for(;null!==t;){if(3===t.tag){xc(t,e,n);break}if(1===t.tag){var r=t.stateNode;if("function"==typeof t.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===Wu||!Wu.has(r))){t=jo(t,e=gs(t,e=ls(n,e),1),1),e=ec(),null!==t&&(yt(t,1,e),rc(t,e));break}}t=t.return}}function kc(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),t=ec(),e.pingedLanes|=e.suspendedLanes&n,Lu===e&&(Iu&n)===n&&(4===Ru||3===Ru&&(130023424&Iu)===Iu&&500>Xe()-zu?dc(e,0):Bu|=n),rc(e,t)}function Ec(e,t){0===t&&(0==(1&e.mode)?t=1:(t=lt,0==(130023424&(lt<<=1))&&(lt=4194304)));var n=ec();null!==(e=Ao(e,t))&&(yt(e,t,n),rc(e,n))}function Oc(e){var t=e.memoizedState,n=0;null!==t&&(n=t.retryLane),Ec(e,n)}function Cc(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,i=e.memoizedState;null!==i&&(n=i.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(o(314))}null!==r&&r.delete(t),Ec(e,n)}function Lc(e,t){return Ge(e,t)}function Ac(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Ic(e,t,n,r){return new Ac(e,t,n,r)}function Pc(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Mc(e,t){var n=e.alternate;return null===n?((n=Ic(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=14680064&e.flags,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Rc(e,t,n,r,i,a){var s=2;if(r=e,"function"==typeof e)Pc(e)&&(s=1);else if("string"==typeof e)s=5;else e:switch(e){case x:return jc(n.children,i,a,t);case S:s=8,i|=8;break;case k:return(e=Ic(12,n,t,2|i)).elementType=k,e.lanes=a,e;case L:return(e=Ic(13,n,t,i)).elementType=L,e.lanes=a,e;case A:return(e=Ic(19,n,t,i)).elementType=A,e.lanes=a,e;case M:return Dc(n,i,a,t);default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case E:s=10;break e;case O:s=9;break e;case C:s=11;break e;case I:s=14;break e;case P:s=16,r=null;break e}throw Error(o(130,null==e?e:typeof e,""))}return(t=Ic(s,n,t,i)).elementType=e,t.type=r,t.lanes=a,t}function jc(e,t,n,r){return(e=Ic(7,e,r,t)).lanes=n,e}function Dc(e,t,n,r){return(e=Ic(22,e,r,t)).elementType=M,e.lanes=n,e.stateNode={isHidden:!1},e}function Nc(e,t,n){return(e=Ic(6,e,null,t)).lanes=n,e}function Bc(e,t,n){return(t=Ic(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Uc(e,t,n,r,i){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=mt(0),this.expirationTimes=mt(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=mt(0),this.identifierPrefix=r,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function Fc(e,t,n,r,i,o,a,s,u){return e=new Uc(e,t,n,s,u),1===t?(t=1,!0===o&&(t|=8)):t=0,o=Ic(3,null,null,t),e.current=o,o.stateNode=e,o.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Po(o),e}function zc(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:T,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}function Hc(e){if(!e)return Oi;e:{if(He(e=e._reactInternals)!==e||1!==e.tag)throw Error(o(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(Pi(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(null!==t);throw Error(o(171))}if(1===e.tag){var n=e.type;if(Pi(n))return ji(e,n,t)}return t}function Zc(e,t,n,r,i,o,a,s,u){return(e=Fc(n,r,!0,e,0,o,0,s,u)).context=Hc(null),n=e.current,(o=Ro(r=ec(),i=tc(n))).callback=null!=t?t:null,jo(n,o,i),e.current.lanes=i,yt(e,i,r),rc(e,r),e}function qc(e,t,n,r){var i=t.current,o=ec(),a=tc(i);return n=Hc(n),null===t.context?t.context=n:t.pendingContext=n,(t=Ro(o,a)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),null!==(e=jo(i,t,a))&&(nc(e,i,a,o),Do(e,i,a)),a}function Vc(e){return(e=e.current).child?(e.child.tag,e.child.stateNode):null}function Wc(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n<t?n:t}}function Gc(e,t){Wc(e,t),(e=e.alternate)&&Wc(e,t)}xu=function(e,t,n){if(null!==e)if(e.memoizedProps!==t.pendingProps||Li.current)_s=!0;else{if(0==(e.lanes&n)&&0==(128&t.flags))return _s=!1,function(e,t,n){switch(t.tag){case 3:As(t),ho();break;case 5:aa(t);break;case 1:Pi(t.type)&&Di(t);break;case 4:ia(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,i=t.memoizedProps.value;Ei(vo,r._currentValue),r._currentValue=i;break;case 13:if(null!==(r=t.memoizedState))return null!==r.dehydrated?(Ei(ua,1&ua.current),t.flags|=128,null):0!=(n&t.child.childLanes)?Ns(e,t,n):(Ei(ua,1&ua.current),null!==(e=qs(e,t,n))?e.sibling:null);Ei(ua,1&ua.current);break;case 19:if(r=0!=(n&t.childLanes),0!=(128&e.flags)){if(r)return Hs(e,t,n);t.flags|=128}if(null!==(i=t.memoizedState)&&(i.rendering=null,i.tail=null,i.lastEffect=null),Ei(ua,ua.current),r)break;return null;case 22:case 23:return t.lanes=0,ks(e,t,n)}return qs(e,t,n)}(e,t,n);_s=0!=(131072&e.flags)}else _s=!1,io&&0!=(1048576&t.flags)&&Ji(t,Wi,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Zs(e,t),e=t.pendingProps;var i=Ii(t,Ci.current);ko(t,n),i=Sa(null,t,r,e,i,n);var a=ka();return t.flags|=1,"object"==typeof i&&null!==i&&"function"==typeof i.render&&void 0===i.$$typeof?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Pi(r)?(a=!0,Di(t)):a=!1,t.memoizedState=null!==i.state&&void 0!==i.state?i.state:null,Po(t),i.updater=Ho,t.stateNode=i,i._reactInternals=t,Wo(t,r,e,n),t=Ls(null,t,r,!0,a,n)):(t.tag=0,io&&a&&eo(t),ws(null,t,i,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Zs(e,t),e=t.pendingProps,r=(i=r._init)(r._payload),t.type=r,i=t.tag=function(e){if("function"==typeof e)return Pc(e)?1:0;if(null!=e){if((e=e.$$typeof)===C)return 11;if(e===I)return 14}return 2}(r),e=yo(r,e),i){case 0:t=Os(null,t,r,e,n);break e;case 1:t=Cs(null,t,r,e,n);break e;case 11:t=Ts(null,t,r,e,n);break e;case 14:t=xs(null,t,r,yo(r.type,e),n);break e}throw Error(o(306,r,""))}return t;case 0:return r=t.type,i=t.pendingProps,Os(e,t,r,i=t.elementType===r?i:yo(r,i),n);case 1:return r=t.type,i=t.pendingProps,Cs(e,t,r,i=t.elementType===r?i:yo(r,i),n);case 3:e:{if(As(t),null===e)throw Error(o(387));r=t.pendingProps,i=(a=t.memoizedState).element,Mo(e,t),Bo(t,r,null,n);var s=t.memoizedState;if(r=s.element,a.isDehydrated){if(a={element:r,isDehydrated:!1,cache:s.cache,pendingSuspenseBoundaries:s.pendingSuspenseBoundaries,transitions:s.transitions},t.updateQueue.baseState=a,t.memoizedState=a,256&t.flags){t=Is(e,t,r,n,i=ls(Error(o(423)),t));break e}if(r!==i){t=Is(e,t,r,n,i=ls(Error(o(424)),t));break e}for(ro=ci(t.stateNode.containerInfo.firstChild),no=t,io=!0,oo=null,n=Qo(t,null,r,n),t.child=n;n;)n.flags=-3&n.flags|4096,n=n.sibling}else{if(ho(),r===i){t=qs(e,t,n);break e}ws(e,t,r,n)}t=t.child}return t;case 5:return aa(t),null===e&&co(t),r=t.type,i=t.pendingProps,a=null!==e?e.memoizedProps:null,s=i.children,ni(r,i)?s=null:null!==a&&ni(r,a)&&(t.flags|=32),Es(e,t),ws(e,t,s,n),t.child;case 6:return null===e&&co(t),null;case 13:return Ns(e,t,n);case 4:return ia(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=Xo(t,null,r,n):ws(e,t,r,n),t.child;case 11:return r=t.type,i=t.pendingProps,Ts(e,t,r,i=t.elementType===r?i:yo(r,i),n);case 7:return ws(e,t,t.pendingProps,n),t.child;case 8:case 12:return ws(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,i=t.pendingProps,a=t.memoizedProps,s=i.value,Ei(vo,r._currentValue),r._currentValue=s,null!==a)if(sr(a.value,s)){if(a.children===i.children&&!Li.current){t=qs(e,t,n);break e}}else for(null!==(a=t.child)&&(a.return=t);null!==a;){var u=a.dependencies;if(null!==u){s=a.child;for(var c=u.firstContext;null!==c;){if(c.context===r){if(1===a.tag){(c=Ro(-1,n&-n)).tag=2;var l=a.updateQueue;if(null!==l){var f=(l=l.shared).pending;null===f?c.next=c:(c.next=f.next,f.next=c),l.pending=c}}a.lanes|=n,null!==(c=a.alternate)&&(c.lanes|=n),So(a.return,n,t),u.lanes|=n;break}c=c.next}}else if(10===a.tag)s=a.type===t.type?null:a.child;else if(18===a.tag){if(null===(s=a.return))throw Error(o(341));s.lanes|=n,null!==(u=s.alternate)&&(u.lanes|=n),So(s,n,t),s=a.sibling}else s=a.child;if(null!==s)s.return=a;else for(s=a;null!==s;){if(s===t){s=null;break}if(null!==(a=s.sibling)){a.return=s.return,s=a;break}s=s.return}a=s}ws(e,t,i.children,n),t=t.child}return t;case 9:return i=t.type,r=t.pendingProps.children,ko(t,n),r=r(i=Eo(i)),t.flags|=1,ws(e,t,r,n),t.child;case 14:return i=yo(r=t.type,t.pendingProps),xs(e,t,r,i=yo(r.type,i),n);case 15:return Ss(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:yo(r,i),Zs(e,t),t.tag=1,Pi(r)?(e=!0,Di(t)):e=!1,ko(t,n),qo(t,r,i),Wo(t,r,i,n),Ls(null,t,r,!0,e,n);case 19:return Hs(e,t,n);case 22:return ks(e,t,n)}throw Error(o(156,t.tag))};var $c="function"==typeof reportError?reportError:function(e){console.error(e)};function Yc(e){this._internalRoot=e}function Kc(e){this._internalRoot=e}function Xc(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType)}function Qc(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function Jc(){}function el(e,t,n,r,i){var o=n._reactRootContainer;if(o){var a=o;if("function"==typeof i){var s=i;i=function(){var e=Vc(a);s.call(e)}}qc(t,a,e,i)}else a=function(e,t,n,r,i){if(i){if("function"==typeof r){var o=r;r=function(){var e=Vc(a);o.call(e)}}var a=Zc(t,r,e,0,null,!1,0,"",Jc);return e._reactRootContainer=a,e[hi]=a.current,Hr(8===e.nodeType?e.parentNode:e),lc(),a}for(;i=e.lastChild;)e.removeChild(i);if("function"==typeof r){var s=r;r=function(){var e=Vc(u);s.call(e)}}var u=Fc(e,0,!1,null,0,!1,0,"",Jc);return e._reactRootContainer=u,e[hi]=u.current,Hr(8===e.nodeType?e.parentNode:e),lc((function(){qc(t,u,n,r)})),u}(n,t,e,i,r);return Vc(a)}Kc.prototype.render=Yc.prototype.render=function(e){var t=this._internalRoot;if(null===t)throw Error(o(409));qc(e,t,null,null)},Kc.prototype.unmount=Yc.prototype.unmount=function(){var e=this._internalRoot;if(null!==e){this._internalRoot=null;var t=e.containerInfo;lc((function(){qc(null,e,null,null)})),t[hi]=null}},Kc.prototype.unstable_scheduleHydration=function(e){if(e){var t=St();e={blockedOn:null,target:e,priority:t};for(var n=0;n<Mt.length&&0!==t&&t<Mt[n].priority;n++);Mt.splice(n,0,e),0===n&&Nt(e)}},wt=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=ft(t.pendingLanes);0!==n&&(vt(t,1|n),rc(t,Xe()),0==(6&Cu)&&(Hu=Xe()+500,Hi()))}break;case 13:lc((function(){var t=Ao(e,1);if(null!==t){var n=ec();nc(t,e,1,n)}})),Gc(e,1)}},Tt=function(e){if(13===e.tag){var t=Ao(e,134217728);if(null!==t)nc(t,e,134217728,ec());Gc(e,134217728)}},xt=function(e){if(13===e.tag){var t=tc(e),n=Ao(e,t);if(null!==n)nc(n,e,t,ec());Gc(e,t)}},St=function(){return bt},kt=function(e,t){var n=bt;try{return bt=e,t()}finally{bt=n}},Te=function(e,t,n){switch(t){case"input":if(Q(e,n),t=n.name,"radio"===n.type&&null!=t){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var i=wi(r);if(!i)throw Error(o(90));G(r),Q(r,i)}}}break;case"textarea":oe(e,n);break;case"select":null!=(t=n.value)&&ne(e,!!n.multiple,t,!1)}},Ce=cc,Le=lc;var tl={usingClientEntryPoint:!1,Events:[bi,_i,wi,Ee,Oe,cc]},nl={findFiberByHostInstance:vi,bundleType:0,version:"18.2.0",rendererPackageName:"react-dom"},rl={bundleType:nl.bundleType,version:nl.version,rendererPackageName:nl.rendererPackageName,rendererConfig:nl.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:_.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=Ve(e))?null:e.stateNode},findFiberByHostInstance:nl.findFiberByHostInstance||function(){return null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.2.0-next-9e3b772b8-20220608"};if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var il=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!il.isDisabled&&il.supportsFiber)try{it=il.inject(rl),ot=il}catch(le){}}t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=tl,t.createPortal=function(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!Xc(t))throw Error(o(200));return zc(e,t,null,n)},t.createRoot=function(e,t){if(!Xc(e))throw Error(o(299));var n=!1,r="",i=$c;return null!=t&&(!0===t.unstable_strictMode&&(n=!0),void 0!==t.identifierPrefix&&(r=t.identifierPrefix),void 0!==t.onRecoverableError&&(i=t.onRecoverableError)),t=Fc(e,1,!1,null,0,n,0,r,i),e[hi]=t.current,Hr(8===e.nodeType?e.parentNode:e),new Yc(t)},t.findDOMNode=function(e){if(null==e)return null;if(1===e.nodeType)return e;var t=e._reactInternals;if(void 0===t){if("function"==typeof e.render)throw Error(o(188));throw e=Object.keys(e).join(","),Error(o(268,e))}return e=null===(e=Ve(t))?null:e.stateNode},t.flushSync=function(e){return lc(e)},t.hydrate=function(e,t,n){if(!Qc(t))throw Error(o(200));return el(null,e,t,!0,n)},t.hydrateRoot=function(e,t,n){if(!Xc(e))throw Error(o(405));var r=null!=n&&n.hydratedSources||null,i=!1,a="",s=$c;if(null!=n&&(!0===n.unstable_strictMode&&(i=!0),void 0!==n.identifierPrefix&&(a=n.identifierPrefix),void 0!==n.onRecoverableError&&(s=n.onRecoverableError)),t=Zc(t,null,e,1,null!=n?n:null,i,0,a,s),e[hi]=t.current,Hr(e),r)for(e=0;e<r.length;e++)i=(i=(n=r[e])._getVersion)(n._source),null==t.mutableSourceEagerHydrationData?t.mutableSourceEagerHydrationData=[n,i]:t.mutableSourceEagerHydrationData.push(n,i);return new Kc(t)},t.render=function(e,t,n){if(!Qc(t))throw Error(o(200));return el(null,e,t,!1,n)},t.unmountComponentAtNode=function(e){if(!Qc(e))throw Error(o(40));return!!e._reactRootContainer&&(lc((function(){el(null,null,e,!1,(function(){e._reactRootContainer=null,e[hi]=null}))})),!0)},t.unstable_batchedUpdates=cc,t.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!Qc(n))throw Error(o(200));if(null==e||void 0===e._reactInternals)throw Error(o(38));return el(e,t,n,!1,r)},t.version="18.2.0-next-9e3b772b8-20220608"},20745:function(e,t,n){"use strict";var r=n(73935);t.s=r.createRoot,r.hydrateRoot},73935:function(e,t,n){"use strict";!function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}(),e.exports=n(64448)},69921:function(e,t){"use strict";var n="function"==typeof Symbol&&Symbol.for,r=n?Symbol.for("react.element"):60103,i=n?Symbol.for("react.portal"):60106,o=n?Symbol.for("react.fragment"):60107,a=n?Symbol.for("react.strict_mode"):60108,s=n?Symbol.for("react.profiler"):60114,u=n?Symbol.for("react.provider"):60109,c=n?Symbol.for("react.context"):60110,l=n?Symbol.for("react.async_mode"):60111,f=n?Symbol.for("react.concurrent_mode"):60111,d=n?Symbol.for("react.forward_ref"):60112,p=n?Symbol.for("react.suspense"):60113,h=n?Symbol.for("react.suspense_list"):60120,g=n?Symbol.for("react.memo"):60115,m=n?Symbol.for("react.lazy"):60116,y=n?Symbol.for("react.block"):60121,v=n?Symbol.for("react.fundamental"):60117,b=n?Symbol.for("react.responder"):60118,_=n?Symbol.for("react.scope"):60119;function w(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case l:case f:case o:case s:case a:case p:return e;default:switch(e=e&&e.$$typeof){case c:case d:case m:case g:case u:return e;default:return t}}case i:return t}}}function T(e){return w(e)===f}t.AsyncMode=l,t.ConcurrentMode=f,t.ContextConsumer=c,t.ContextProvider=u,t.Element=r,t.ForwardRef=d,t.Fragment=o,t.Lazy=m,t.Memo=g,t.Portal=i,t.Profiler=s,t.StrictMode=a,t.Suspense=p,t.isAsyncMode=function(e){return T(e)||w(e)===l},t.isConcurrentMode=T,t.isContextConsumer=function(e){return w(e)===c},t.isContextProvider=function(e){return w(e)===u},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return w(e)===d},t.isFragment=function(e){return w(e)===o},t.isLazy=function(e){return w(e)===m},t.isMemo=function(e){return w(e)===g},t.isPortal=function(e){return w(e)===i},t.isProfiler=function(e){return w(e)===s},t.isStrictMode=function(e){return w(e)===a},t.isSuspense=function(e){return w(e)===p},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===o||e===f||e===s||e===a||e===p||e===h||"object"==typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===g||e.$$typeof===u||e.$$typeof===c||e.$$typeof===d||e.$$typeof===v||e.$$typeof===b||e.$$typeof===_||e.$$typeof===y)},t.typeOf=w},59864:function(e,t,n){"use strict";e.exports=n(69921)},14494:function(e,t,n){"use strict";n.d(t,{zt:function(){return f},$j:function(){return F},I0:function(){return V},v9:function(){return Y}});var r=n(28416),i=n.n(r),o=(n(45697),i().createContext(null));var a=function(e){e()},s=function(){return a},u={notify:function(){}};var c=function(){function e(e,t){this.store=e,this.parentSub=t,this.unsubscribe=null,this.listeners=u,this.handleChangeWrapper=this.handleChangeWrapper.bind(this)}var t=e.prototype;return t.addNestedSub=function(e){return this.trySubscribe(),this.listeners.subscribe(e)},t.notifyNestedSubs=function(){this.listeners.notify()},t.handleChangeWrapper=function(){this.onStateChange&&this.onStateChange()},t.isSubscribed=function(){return Boolean(this.unsubscribe)},t.trySubscribe=function(){this.unsubscribe||(this.unsubscribe=this.parentSub?this.parentSub.addNestedSub(this.handleChangeWrapper):this.store.subscribe(this.handleChangeWrapper),this.listeners=function(){var e=s(),t=null,n=null;return{clear:function(){t=null,n=null},notify:function(){e((function(){for(var e=t;e;)e.callback(),e=e.next}))},get:function(){for(var e=[],n=t;n;)e.push(n),n=n.next;return e},subscribe:function(e){var r=!0,i=n={callback:e,next:null,prev:n};return i.prev?i.prev.next=i:t=i,function(){r&&null!==t&&(r=!1,i.next?i.next.prev=i.prev:n=i.prev,i.prev?i.prev.next=i.next:t=i.next)}}}}())},t.tryUnsubscribe=function(){this.unsubscribe&&(this.unsubscribe(),this.unsubscribe=null,this.listeners.clear(),this.listeners=u)},e}(),l="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement?r.useLayoutEffect:r.useEffect;var f=function(e){var t=e.store,n=e.context,a=e.children,s=(0,r.useMemo)((function(){var e=new c(t);return e.onStateChange=e.notifyNestedSubs,{store:t,subscription:e}}),[t]),u=(0,r.useMemo)((function(){return t.getState()}),[t]);l((function(){var e=s.subscription;return e.trySubscribe(),u!==t.getState()&&e.notifyNestedSubs(),function(){e.tryUnsubscribe(),e.onStateChange=null}}),[s,u]);var f=n||o;return i().createElement(f.Provider,{value:s},a)},d=n(87462),p=n(63366),h=n(8679),g=n.n(h),m=n(59864),y=[],v=[null,null];function b(e,t){var n=e[1];return[t.payload,n+1]}function _(e,t,n){l((function(){return e.apply(void 0,t)}),n)}function w(e,t,n,r,i,o,a){e.current=r,t.current=i,n.current=!1,o.current&&(o.current=null,a())}function T(e,t,n,r,i,o,a,s,u,c){if(e){var l=!1,f=null,d=function(){if(!l){var e,n,d=t.getState();try{e=r(d,i.current)}catch(e){n=e,f=e}n||(f=null),e===o.current?a.current||u():(o.current=e,s.current=e,a.current=!0,c({type:"STORE_UPDATED",payload:{error:n}}))}};n.onStateChange=d,n.trySubscribe(),d();return function(){if(l=!0,n.tryUnsubscribe(),n.onStateChange=null,f)throw f}}}var x=function(){return[null,0]};function S(e,t){void 0===t&&(t={});var n=t,a=n.getDisplayName,s=void 0===a?function(e){return"ConnectAdvanced("+e+")"}:a,u=n.methodName,l=void 0===u?"connectAdvanced":u,f=n.renderCountProp,h=void 0===f?void 0:f,S=n.shouldHandleStateChanges,k=void 0===S||S,E=n.storeKey,O=void 0===E?"store":E,C=(n.withRef,n.forwardRef),L=void 0!==C&&C,A=n.context,I=void 0===A?o:A,P=(0,p.Z)(n,["getDisplayName","methodName","renderCountProp","shouldHandleStateChanges","storeKey","withRef","forwardRef","context"]),M=I;return function(t){var n=t.displayName||t.name||"Component",o=s(n),a=(0,d.Z)({},P,{getDisplayName:s,methodName:l,renderCountProp:h,shouldHandleStateChanges:k,storeKey:O,displayName:o,wrappedComponentName:n,WrappedComponent:t}),u=P.pure;var f=u?r.useMemo:function(e){return e()};function S(n){var o=(0,r.useMemo)((function(){var e=n.reactReduxForwardedRef,t=(0,p.Z)(n,["reactReduxForwardedRef"]);return[n.context,e,t]}),[n]),s=o[0],u=o[1],l=o[2],h=(0,r.useMemo)((function(){return s&&s.Consumer&&(0,m.isContextConsumer)(i().createElement(s.Consumer,null))?s:M}),[s,M]),g=(0,r.useContext)(h),S=Boolean(n.store)&&Boolean(n.store.getState)&&Boolean(n.store.dispatch);Boolean(g)&&Boolean(g.store);var E=S?n.store:g.store,O=(0,r.useMemo)((function(){return function(t){return e(t.dispatch,a)}(E)}),[E]),C=(0,r.useMemo)((function(){if(!k)return v;var e=new c(E,S?null:g.subscription),t=e.notifyNestedSubs.bind(e);return[e,t]}),[E,S,g]),L=C[0],A=C[1],I=(0,r.useMemo)((function(){return S?g:(0,d.Z)({},g,{subscription:L})}),[S,g,L]),P=(0,r.useReducer)(b,y,x),R=P[0][0],j=P[1];if(R&&R.error)throw R.error;var D=(0,r.useRef)(),N=(0,r.useRef)(l),B=(0,r.useRef)(),U=(0,r.useRef)(!1),F=f((function(){return B.current&&l===N.current?B.current:O(E.getState(),l)}),[E,R,l]);_(w,[N,D,U,l,F,B,A]),_(T,[k,E,L,O,N,D,U,B,A,j],[E,L,O]);var z=(0,r.useMemo)((function(){return i().createElement(t,(0,d.Z)({},F,{ref:u}))}),[u,t,F]);return(0,r.useMemo)((function(){return k?i().createElement(h.Provider,{value:I},z):z}),[h,z,I])}var E=u?i().memo(S):S;if(E.WrappedComponent=t,E.displayName=S.displayName=o,L){var C=i().forwardRef((function(e,t){return i().createElement(E,(0,d.Z)({},e,{reactReduxForwardedRef:t}))}));return C.displayName=o,C.WrappedComponent=t,g()(C,t)}return g()(E,t)}}function k(e,t){return e===t?0!==e||0!==t||1/e==1/t:e!=e&&t!=t}function E(e,t){if(k(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(var i=0;i<n.length;i++)if(!Object.prototype.hasOwnProperty.call(t,n[i])||!k(e[n[i]],t[n[i]]))return!1;return!0}function O(e){return function(t,n){var r=e(t,n);function i(){return r}return i.dependsOnOwnProps=!1,i}}function C(e){return null!==e.dependsOnOwnProps&&void 0!==e.dependsOnOwnProps?Boolean(e.dependsOnOwnProps):1!==e.length}function L(e,t){return function(t,n){n.displayName;var r=function(e,t){return r.dependsOnOwnProps?r.mapToProps(e,t):r.mapToProps(e)};return r.dependsOnOwnProps=!0,r.mapToProps=function(t,n){r.mapToProps=e,r.dependsOnOwnProps=C(e);var i=r(t,n);return"function"==typeof i&&(r.mapToProps=i,r.dependsOnOwnProps=C(i),i=r(t,n)),i},r}}var A=[function(e){return"function"==typeof e?L(e):void 0},function(e){return e?void 0:O((function(e){return{dispatch:e}}))},function(e){return e&&"object"==typeof e?O((function(t){return function(e,t){var n={},r=function(r){var i=e[r];"function"==typeof i&&(n[r]=function(){return t(i.apply(void 0,arguments))})};for(var i in e)r(i);return n}(e,t)})):void 0}];var I=[function(e){return"function"==typeof e?L(e):void 0},function(e){return e?void 0:O((function(){return{}}))}];function P(e,t,n){return(0,d.Z)({},n,e,t)}var M=[function(e){return"function"==typeof e?function(e){return function(t,n){n.displayName;var r,i=n.pure,o=n.areMergedPropsEqual,a=!1;return function(t,n,s){var u=e(t,n,s);return a?i&&o(u,r)||(r=u):(a=!0,r=u),r}}}(e):void 0},function(e){return e?void 0:function(){return P}}];function R(e,t,n,r){return function(i,o){return n(e(i,o),t(r,o),o)}}function j(e,t,n,r,i){var o,a,s,u,c,l=i.areStatesEqual,f=i.areOwnPropsEqual,d=i.areStatePropsEqual,p=!1;function h(i,p){var h,g,m=!f(p,a),y=!l(i,o);return o=i,a=p,m&&y?(s=e(o,a),t.dependsOnOwnProps&&(u=t(r,a)),c=n(s,u,a)):m?(e.dependsOnOwnProps&&(s=e(o,a)),t.dependsOnOwnProps&&(u=t(r,a)),c=n(s,u,a)):y?(h=e(o,a),g=!d(h,s),s=h,g&&(c=n(s,u,a)),c):c}return function(i,l){return p?h(i,l):(s=e(o=i,a=l),u=t(r,a),c=n(s,u,a),p=!0,c)}}function D(e,t){var n=t.initMapStateToProps,r=t.initMapDispatchToProps,i=t.initMergeProps,o=(0,p.Z)(t,["initMapStateToProps","initMapDispatchToProps","initMergeProps"]),a=n(e,o),s=r(e,o),u=i(e,o);return(o.pure?j:R)(a,s,u,e,o)}function N(e,t,n){for(var r=t.length-1;r>=0;r--){var i=t[r](e);if(i)return i}return function(t,r){throw new Error("Invalid value of type "+typeof e+" for "+n+" argument when connecting component "+r.wrappedComponentName+".")}}function B(e,t){return e===t}function U(e){var t=void 0===e?{}:e,n=t.connectHOC,r=void 0===n?S:n,i=t.mapStateToPropsFactories,o=void 0===i?I:i,a=t.mapDispatchToPropsFactories,s=void 0===a?A:a,u=t.mergePropsFactories,c=void 0===u?M:u,l=t.selectorFactory,f=void 0===l?D:l;return function(e,t,n,i){void 0===i&&(i={});var a=i,u=a.pure,l=void 0===u||u,h=a.areStatesEqual,g=void 0===h?B:h,m=a.areOwnPropsEqual,y=void 0===m?E:m,v=a.areStatePropsEqual,b=void 0===v?E:v,_=a.areMergedPropsEqual,w=void 0===_?E:_,T=(0,p.Z)(a,["pure","areStatesEqual","areOwnPropsEqual","areStatePropsEqual","areMergedPropsEqual"]),x=N(e,o,"mapStateToProps"),S=N(t,s,"mapDispatchToProps"),k=N(n,c,"mergeProps");return r(f,(0,d.Z)({methodName:"connect",getDisplayName:function(e){return"Connect("+e+")"},shouldHandleStateChanges:Boolean(e),initMapStateToProps:x,initMapDispatchToProps:S,initMergeProps:k,pure:l,areStatesEqual:g,areOwnPropsEqual:y,areStatePropsEqual:b,areMergedPropsEqual:w},T))}}var F=U();function z(){return(0,r.useContext)(o)}function H(e){void 0===e&&(e=o);var t=e===o?z:function(){return(0,r.useContext)(e)};return function(){return t().store}}var Z=H();function q(e){void 0===e&&(e=o);var t=e===o?Z:H(e);return function(){return t().dispatch}}var V=q(),W=function(e,t){return e===t};function G(e){void 0===e&&(e=o);var t=e===o?z:function(){return(0,r.useContext)(e)};return function(e,n){void 0===n&&(n=W);var i=t(),o=function(e,t,n,i){var o,a=(0,r.useReducer)((function(e){return e+1}),0)[1],s=(0,r.useMemo)((function(){return new c(n,i)}),[n,i]),u=(0,r.useRef)(),f=(0,r.useRef)(),d=(0,r.useRef)(),p=(0,r.useRef)(),h=n.getState();try{if(e!==f.current||h!==d.current||u.current){var g=e(h);o=void 0!==p.current&&t(g,p.current)?p.current:g}else o=p.current}catch(e){throw u.current&&(e.message+="\nThe error may be correlated with this previous error:\n"+u.current.stack+"\n\n"),e}return l((function(){f.current=e,d.current=h,p.current=o,u.current=void 0})),l((function(){function e(){try{var e=n.getState(),r=f.current(e);if(t(r,p.current))return;p.current=r,d.current=e}catch(e){u.current=e}a()}return s.onStateChange=e,s.trySubscribe(),e(),function(){return s.tryUnsubscribe()}}),[n,s]),o}(e,n,i.store,i.subscription);return(0,r.useDebugValue)(o),o}}var $,Y=G(),K=n(73935);$=K.unstable_batchedUpdates,a=$},2909:function(e,t,n){"use strict";n.d(t,{rU:function(){return N},OL:function(){return F}});var r=n(6223),i=n(94578),o=n(28416),a=n.n(o),s=n(87462);function u(e){return"/"===e.charAt(0)}function c(e,t){for(var n=t,r=n+1,i=e.length;r<i;n+=1,r+=1)e[n]=e[r];e.pop()}var l=function(e,t){void 0===t&&(t="");var n,r=e&&e.split("/")||[],i=t&&t.split("/")||[],o=e&&u(e),a=t&&u(t),s=o||a;if(e&&u(e)?i=r:r.length&&(i.pop(),i=i.concat(r)),!i.length)return"/";if(i.length){var l=i[i.length-1];n="."===l||".."===l||""===l}else n=!1;for(var f=0,d=i.length;d>=0;d--){var p=i[d];"."===p?c(i,d):".."===p?(c(i,d),f++):f&&(c(i,d),f--)}if(!s)for(;f--;f)i.unshift("..");!s||""===i[0]||i[0]&&u(i[0])||i.unshift("");var h=i.join("/");return n&&"/"!==h.substr(-1)&&(h+="/"),h},f=n(38776);function d(e){return"/"===e.charAt(0)?e:"/"+e}function p(e){return"/"===e.charAt(0)?e.substr(1):e}function h(e,t){return function(e,t){return 0===e.toLowerCase().indexOf(t.toLowerCase())&&-1!=="/?#".indexOf(e.charAt(t.length))}(e,t)?e.substr(t.length):e}function g(e){return"/"===e.charAt(e.length-1)?e.slice(0,-1):e}function m(e){var t=e.pathname,n=e.search,r=e.hash,i=t||"/";return n&&"?"!==n&&(i+="?"===n.charAt(0)?n:"?"+n),r&&"#"!==r&&(i+="#"===r.charAt(0)?r:"#"+r),i}function y(e,t,n,r){var i;"string"==typeof e?(i=function(e){var t=e||"/",n="",r="",i=t.indexOf("#");-1!==i&&(r=t.substr(i),t=t.substr(0,i));var o=t.indexOf("?");return-1!==o&&(n=t.substr(o),t=t.substr(0,o)),{pathname:t,search:"?"===n?"":n,hash:"#"===r?"":r}}(e),i.state=t):(void 0===(i=(0,s.Z)({},e)).pathname&&(i.pathname=""),i.search?"?"!==i.search.charAt(0)&&(i.search="?"+i.search):i.search="",i.hash?"#"!==i.hash.charAt(0)&&(i.hash="#"+i.hash):i.hash="",void 0!==t&&void 0===i.state&&(i.state=t));try{i.pathname=decodeURI(i.pathname)}catch(e){throw e instanceof URIError?new URIError('Pathname "'+i.pathname+'" could not be decoded. This is likely caused by an invalid percent-encoding.'):e}return n&&(i.key=n),r?i.pathname?"/"!==i.pathname.charAt(0)&&(i.pathname=l(i.pathname,r.pathname)):i.pathname=r.pathname:i.pathname||(i.pathname="/"),i}function v(){var e=null;var t=[];return{setPrompt:function(t){return e=t,function(){e===t&&(e=null)}},confirmTransitionTo:function(t,n,r,i){if(null!=e){var o="function"==typeof e?e(t,n):e;"string"==typeof o?"function"==typeof r?r(o,i):i(!0):i(!1!==o)}else i(!0)},appendListener:function(e){var n=!0;function r(){n&&e.apply(void 0,arguments)}return t.push(r),function(){n=!1,t=t.filter((function(e){return e!==r}))}},notifyListeners:function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];t.forEach((function(e){return e.apply(void 0,n)}))}}}var b=!("undefined"==typeof window||!window.document||!window.document.createElement);function _(e,t){t(window.confirm(e))}var w="popstate",T="hashchange";function x(){try{return window.history.state||{}}catch(e){return{}}}function S(e){void 0===e&&(e={}),b||(0,f.Z)(!1);var t,n=window.history,r=(-1===(t=window.navigator.userAgent).indexOf("Android 2.")&&-1===t.indexOf("Android 4.0")||-1===t.indexOf("Mobile Safari")||-1!==t.indexOf("Chrome")||-1!==t.indexOf("Windows Phone"))&&window.history&&"pushState"in window.history,i=!(-1===window.navigator.userAgent.indexOf("Trident")),o=e,a=o.forceRefresh,u=void 0!==a&&a,c=o.getUserConfirmation,l=void 0===c?_:c,p=o.keyLength,S=void 0===p?6:p,k=e.basename?g(d(e.basename)):"";function E(e){var t=e||{},n=t.key,r=t.state,i=window.location,o=i.pathname+i.search+i.hash;return k&&(o=h(o,k)),y(o,r,n)}function O(){return Math.random().toString(36).substr(2,S)}var C=v();function L(e){(0,s.Z)(z,e),z.length=n.length,C.notifyListeners(z.location,z.action)}function A(e){(function(e){return void 0===e.state&&-1===navigator.userAgent.indexOf("CriOS")})(e)||M(E(e.state))}function I(){M(E(x()))}var P=!1;function M(e){if(P)P=!1,L();else{C.confirmTransitionTo(e,"POP",l,(function(t){t?L({action:"POP",location:e}):function(e){var t=z.location,n=j.indexOf(t.key);-1===n&&(n=0);var r=j.indexOf(e.key);-1===r&&(r=0);var i=n-r;i&&(P=!0,N(i))}(e)}))}}var R=E(x()),j=[R.key];function D(e){return k+m(e)}function N(e){n.go(e)}var B=0;function U(e){1===(B+=e)&&1===e?(window.addEventListener(w,A),i&&window.addEventListener(T,I)):0===B&&(window.removeEventListener(w,A),i&&window.removeEventListener(T,I))}var F=!1;var z={length:n.length,action:"POP",location:R,createHref:D,push:function(e,t){var i="PUSH",o=y(e,t,O(),z.location);C.confirmTransitionTo(o,i,l,(function(e){if(e){var t=D(o),a=o.key,s=o.state;if(r)if(n.pushState({key:a,state:s},null,t),u)window.location.href=t;else{var c=j.indexOf(z.location.key),l=j.slice(0,c+1);l.push(o.key),j=l,L({action:i,location:o})}else window.location.href=t}}))},replace:function(e,t){var i="REPLACE",o=y(e,t,O(),z.location);C.confirmTransitionTo(o,i,l,(function(e){if(e){var t=D(o),a=o.key,s=o.state;if(r)if(n.replaceState({key:a,state:s},null,t),u)window.location.replace(t);else{var c=j.indexOf(z.location.key);-1!==c&&(j[c]=o.key),L({action:i,location:o})}else window.location.replace(t)}}))},go:N,goBack:function(){N(-1)},goForward:function(){N(1)},block:function(e){void 0===e&&(e=!1);var t=C.setPrompt(e);return F||(U(1),F=!0),function(){return F&&(F=!1,U(-1)),t()}},listen:function(e){var t=C.appendListener(e);return U(1),function(){U(-1),t()}}};return z}var k="hashchange",E={hashbang:{encodePath:function(e){return"!"===e.charAt(0)?e:"!/"+p(e)},decodePath:function(e){return"!"===e.charAt(0)?e.substr(1):e}},noslash:{encodePath:p,decodePath:d},slash:{encodePath:d,decodePath:d}};function O(e){var t=e.indexOf("#");return-1===t?e:e.slice(0,t)}function C(){var e=window.location.href,t=e.indexOf("#");return-1===t?"":e.substring(t+1)}function L(e){window.location.replace(O(window.location.href)+"#"+e)}function A(e){void 0===e&&(e={}),b||(0,f.Z)(!1);var t=window.history,n=(window.navigator.userAgent.indexOf("Firefox"),e),r=n.getUserConfirmation,i=void 0===r?_:r,o=n.hashType,a=void 0===o?"slash":o,u=e.basename?g(d(e.basename)):"",c=E[a],l=c.encodePath,p=c.decodePath;function w(){var e=p(C());return u&&(e=h(e,u)),y(e)}var T=v();function x(e){(0,s.Z)(F,e),F.length=t.length,T.notifyListeners(F.location,F.action)}var S=!1,A=null;function I(){var e,t,n=C(),r=l(n);if(n!==r)L(r);else{var o=w(),a=F.location;if(!S&&(t=o,(e=a).pathname===t.pathname&&e.search===t.search&&e.hash===t.hash))return;if(A===m(o))return;A=null,function(e){if(S)S=!1,x();else{var t="POP";T.confirmTransitionTo(e,t,i,(function(n){n?x({action:t,location:e}):function(e){var t=F.location,n=j.lastIndexOf(m(t));-1===n&&(n=0);var r=j.lastIndexOf(m(e));-1===r&&(r=0);var i=n-r;i&&(S=!0,D(i))}(e)}))}}(o)}}var P=C(),M=l(P);P!==M&&L(M);var R=w(),j=[m(R)];function D(e){t.go(e)}var N=0;function B(e){1===(N+=e)&&1===e?window.addEventListener(k,I):0===N&&window.removeEventListener(k,I)}var U=!1;var F={length:t.length,action:"POP",location:R,createHref:function(e){var t=document.querySelector("base"),n="";return t&&t.getAttribute("href")&&(n=O(window.location.href)),n+"#"+l(u+m(e))},push:function(e,t){var n="PUSH",r=y(e,void 0,void 0,F.location);T.confirmTransitionTo(r,n,i,(function(e){if(e){var t=m(r),i=l(u+t);if(C()!==i){A=t,function(e){window.location.hash=e}(i);var o=j.lastIndexOf(m(F.location)),a=j.slice(0,o+1);a.push(t),j=a,x({action:n,location:r})}else x()}}))},replace:function(e,t){var n="REPLACE",r=y(e,void 0,void 0,F.location);T.confirmTransitionTo(r,n,i,(function(e){if(e){var t=m(r),i=l(u+t);C()!==i&&(A=t,L(i));var o=j.indexOf(m(F.location));-1!==o&&(j[o]=t),x({action:n,location:r})}}))},go:D,goBack:function(){D(-1)},goForward:function(){D(1)},block:function(e){void 0===e&&(e=!1);var t=T.setPrompt(e);return U||(B(1),U=!0),function(){return U&&(U=!1,B(-1)),t()}},listen:function(e){var t=T.appendListener(e);return B(1),function(){B(-1),t()}}};return F}var I=n(63366);a().Component;a().Component;var P=function(e,t){return"function"==typeof e?e(t):e},M=function(e,t){return"string"==typeof e?y(e,null,null,t):e},R=function(e){return e},j=a().forwardRef;void 0===j&&(j=R);var D=j((function(e,t){var n=e.innerRef,r=e.navigate,i=e.onClick,o=(0,I.Z)(e,["innerRef","navigate","onClick"]),u=o.target,c=(0,s.Z)({},o,{onClick:function(e){try{i&&i(e)}catch(t){throw e.preventDefault(),t}e.defaultPrevented||0!==e.button||u&&"_self"!==u||function(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}(e)||(e.preventDefault(),r())}});return c.ref=R!==j&&t||n,a().createElement("a",c)}));var N=j((function(e,t){var n=e.component,i=void 0===n?D:n,o=e.replace,u=e.to,c=e.innerRef,l=(0,I.Z)(e,["component","replace","to","innerRef"]);return a().createElement(r.s6.Consumer,null,(function(e){e||(0,f.Z)(!1);var n=e.history,r=M(P(u,e.location),e.location),d=r?n.createHref(r):"",p=(0,s.Z)({},l,{href:d,navigate:function(){var t=P(u,e.location),r=m(e.location)===m(M(t));(o||r?n.replace:n.push)(t)}});return R!==j?p.ref=t||c:p.innerRef=c,a().createElement(i,p)}))})),B=function(e){return e},U=a().forwardRef;void 0===U&&(U=B);var F=U((function(e,t){var n=e["aria-current"],i=void 0===n?"page":n,o=e.activeClassName,u=void 0===o?"active":o,c=e.activeStyle,l=e.className,d=e.exact,p=e.isActive,h=e.location,g=e.sensitive,m=e.strict,y=e.style,v=e.to,b=e.innerRef,_=(0,I.Z)(e,["aria-current","activeClassName","activeStyle","className","exact","isActive","location","sensitive","strict","style","to","innerRef"]);return a().createElement(r.s6.Consumer,null,(function(e){e||(0,f.Z)(!1);var n=h||e.location,o=M(P(v,n),n),w=o.pathname,T=w&&w.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1"),x=T?(0,r.LX)(n.pathname,{path:T,exact:d,sensitive:g,strict:m}):null,S=!!(p?p(x,n):x),k="function"==typeof l?l(S):l,E="function"==typeof y?y(S):y;S&&(k=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.filter((function(e){return e})).join(" ")}(k,u),E=(0,s.Z)({},E,c));var O=(0,s.Z)({"aria-current":S&&i||null,className:k,style:E,to:o},_);return B!==U?O.ref=t||b:O.innerRef=b,a().createElement(N,O)}))}))},6223:function(e,t,n){"use strict";n.d(t,{l_:function(){return N},AW:function(){return z},F0:function(){return P},rs:function(){return G},s6:function(){return I},LX:function(){return F},k6:function(){return K},TH:function(){return X},UO:function(){return Q},$B:function(){return J},EN:function(){return $}});var r=n(94578),i=n(28416),o=n.n(i),a=n(88462),s=n.n(a),u=n(87462);function c(e){return"/"===e.charAt(0)}function l(e,t){for(var n=t,r=n+1,i=e.length;r<i;n+=1,r+=1)e[n]=e[r];e.pop()}var f=function(e,t){void 0===t&&(t="");var n,r=e&&e.split("/")||[],i=t&&t.split("/")||[],o=e&&c(e),a=t&&c(t),s=o||a;if(e&&c(e)?i=r:r.length&&(i.pop(),i=i.concat(r)),!i.length)return"/";if(i.length){var u=i[i.length-1];n="."===u||".."===u||""===u}else n=!1;for(var f=0,d=i.length;d>=0;d--){var p=i[d];"."===p?l(i,d):".."===p?(l(i,d),f++):f&&(l(i,d),f--)}if(!s)for(;f--;f)i.unshift("..");!s||""===i[0]||i[0]&&c(i[0])||i.unshift("");var h=i.join("/");return n&&"/"!==h.substr(-1)&&(h+="/"),h};function d(e){return e.valueOf?e.valueOf():Object.prototype.valueOf.call(e)}var p=function e(t,n){if(t===n)return!0;if(null==t||null==n)return!1;if(Array.isArray(t))return Array.isArray(n)&&t.length===n.length&&t.every((function(t,r){return e(t,n[r])}));if("object"==typeof t||"object"==typeof n){var r=d(t),i=d(n);return r!==t||i!==n?e(r,i):Object.keys(Object.assign({},t,n)).every((function(r){return e(t[r],n[r])}))}return!1};function h(e){var t=e.pathname,n=e.search,r=e.hash,i=t||"/";return n&&"?"!==n&&(i+="?"===n.charAt(0)?n:"?"+n),r&&"#"!==r&&(i+="#"===r.charAt(0)?r:"#"+r),i}function g(e,t,n,r){var i;"string"==typeof e?(i=function(e){var t=e||"/",n="",r="",i=t.indexOf("#");-1!==i&&(r=t.substr(i),t=t.substr(0,i));var o=t.indexOf("?");return-1!==o&&(n=t.substr(o),t=t.substr(0,o)),{pathname:t,search:"?"===n?"":n,hash:"#"===r?"":r}}(e),i.state=t):(void 0===(i=(0,u.Z)({},e)).pathname&&(i.pathname=""),i.search?"?"!==i.search.charAt(0)&&(i.search="?"+i.search):i.search="",i.hash?"#"!==i.hash.charAt(0)&&(i.hash="#"+i.hash):i.hash="",void 0!==t&&void 0===i.state&&(i.state=t));try{i.pathname=decodeURI(i.pathname)}catch(e){throw e instanceof URIError?new URIError('Pathname "'+i.pathname+'" could not be decoded. This is likely caused by an invalid percent-encoding.'):e}return n&&(i.key=n),r?i.pathname?"/"!==i.pathname.charAt(0)&&(i.pathname=f(i.pathname,r.pathname)):i.pathname=r.pathname:i.pathname||(i.pathname="/"),i}function m(){var e=null;var t=[];return{setPrompt:function(t){return e=t,function(){e===t&&(e=null)}},confirmTransitionTo:function(t,n,r,i){if(null!=e){var o="function"==typeof e?e(t,n):e;"string"==typeof o?"function"==typeof r?r(o,i):i(!0):i(!1!==o)}else i(!0)},appendListener:function(e){var n=!0;function r(){n&&e.apply(void 0,arguments)}return t.push(r),function(){n=!1,t=t.filter((function(e){return e!==r}))}},notifyListeners:function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];t.forEach((function(e){return e.apply(void 0,n)}))}}}"undefined"==typeof window||!window.document||window.document.createElement;function y(e,t,n){return Math.min(Math.max(e,t),n)}function v(e){void 0===e&&(e={});var t=e,n=t.getUserConfirmation,r=t.initialEntries,i=void 0===r?["/"]:r,o=t.initialIndex,a=void 0===o?0:o,s=t.keyLength,c=void 0===s?6:s,l=m();function f(e){(0,u.Z)(w,e),w.length=w.entries.length,l.notifyListeners(w.location,w.action)}function d(){return Math.random().toString(36).substr(2,c)}var p=y(a,0,i.length-1),v=i.map((function(e){return g(e,void 0,"string"==typeof e?d():e.key||d())})),b=h;function _(e){var t=y(w.index+e,0,w.entries.length-1),r=w.entries[t];l.confirmTransitionTo(r,"POP",n,(function(e){e?f({action:"POP",location:r,index:t}):f()}))}var w={length:v.length,action:"POP",location:v[p],index:p,entries:v,createHref:b,push:function(e,t){var r="PUSH",i=g(e,t,d(),w.location);l.confirmTransitionTo(i,r,n,(function(e){if(e){var t=w.index+1,n=w.entries.slice(0);n.length>t?n.splice(t,n.length-t,i):n.push(i),f({action:r,location:i,index:t,entries:n})}}))},replace:function(e,t){var r="REPLACE",i=g(e,t,d(),w.location);l.confirmTransitionTo(i,r,n,(function(e){e&&(w.entries[w.index]=i,f({action:r,location:i}))}))},go:_,goBack:function(){_(-1)},goForward:function(){_(1)},canGo:function(e){var t=w.index+e;return t>=0&&t<w.entries.length},block:function(e){return void 0===e&&(e=!1),l.setPrompt(e)},listen:function(e){return l.appendListener(e)}};return w}var b=n(38776),_=n(39658),w=n.n(_),T=(n(59864),n(63366)),x=n(8679),S=n.n(x),k=1073741823,E="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==n.g?n.g:{};function O(e){var t=[];return{on:function(e){t.push(e)},off:function(e){t=t.filter((function(t){return t!==e}))},get:function(){return e},set:function(n,r){e=n,t.forEach((function(t){return t(e,r)}))}}}var C=o().createContext||function(e,t){var n,i,a="__create-react-context-"+function(){var e="__global_unique_id__";return E[e]=(E[e]||0)+1}()+"__",u=function(e){function n(){for(var t,n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return(t=e.call.apply(e,[this].concat(r))||this).emitter=O(t.props.value),t}(0,r.Z)(n,e);var i=n.prototype;return i.getChildContext=function(){var e;return(e={})[a]=this.emitter,e},i.componentWillReceiveProps=function(e){if(this.props.value!==e.value){var n,r=this.props.value,i=e.value;((o=r)===(a=i)?0!==o||1/o==1/a:o!=o&&a!=a)?n=0:(n="function"==typeof t?t(r,i):k,0!==(n|=0)&&this.emitter.set(e.value,n))}var o,a},i.render=function(){return this.props.children},n}(o().Component);u.childContextTypes=((n={})[a]=s().object.isRequired,n);var c=function(t){function n(){for(var e,n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return(e=t.call.apply(t,[this].concat(r))||this).observedBits=void 0,e.state={value:e.getValue()},e.onUpdate=function(t,n){0!=((0|e.observedBits)&n)&&e.setState({value:e.getValue()})},e}(0,r.Z)(n,t);var i=n.prototype;return i.componentWillReceiveProps=function(e){var t=e.observedBits;this.observedBits=null==t?k:t},i.componentDidMount=function(){this.context[a]&&this.context[a].on(this.onUpdate);var e=this.props.observedBits;this.observedBits=null==e?k:e},i.componentWillUnmount=function(){this.context[a]&&this.context[a].off(this.onUpdate)},i.getValue=function(){return this.context[a]?this.context[a].get():e},i.render=function(){return(e=this.props.children,Array.isArray(e)?e[0]:e)(this.state.value);var e},n}(o().Component);return c.contextTypes=((i={})[a]=s().object,i),{Provider:u,Consumer:c}},L=function(e){var t=C();return t.displayName=e,t},A=L("Router-History"),I=L("Router"),P=function(e){function t(t){var n;return(n=e.call(this,t)||this).state={location:t.history.location},n._isMounted=!1,n._pendingLocation=null,t.staticContext||(n.unlisten=t.history.listen((function(e){n._pendingLocation=e}))),n}(0,r.Z)(t,e),t.computeRootMatch=function(e){return{path:"/",url:"/",params:{},isExact:"/"===e}};var n=t.prototype;return n.componentDidMount=function(){var e=this;this._isMounted=!0,this.unlisten&&this.unlisten(),this.props.staticContext||(this.unlisten=this.props.history.listen((function(t){e._isMounted&&e.setState({location:t})}))),this._pendingLocation&&this.setState({location:this._pendingLocation})},n.componentWillUnmount=function(){this.unlisten&&(this.unlisten(),this._isMounted=!1,this._pendingLocation=null)},n.render=function(){return o().createElement(I.Provider,{value:{history:this.props.history,location:this.state.location,match:t.computeRootMatch(this.state.location.pathname),staticContext:this.props.staticContext}},o().createElement(A.Provider,{children:this.props.children||null,value:this.props.history}))},t}(o().Component);o().Component;var M=function(e){function t(){return e.apply(this,arguments)||this}(0,r.Z)(t,e);var n=t.prototype;return n.componentDidMount=function(){this.props.onMount&&this.props.onMount.call(this,this)},n.componentDidUpdate=function(e){this.props.onUpdate&&this.props.onUpdate.call(this,this,e)},n.componentWillUnmount=function(){this.props.onUnmount&&this.props.onUnmount.call(this,this)},n.render=function(){return null},t}(o().Component);var R={},j=0;function D(e,t){return void 0===e&&(e="/"),void 0===t&&(t={}),"/"===e?e:function(e){if(R[e])return R[e];var t=w().compile(e);return j<1e4&&(R[e]=t,j++),t}(e)(t,{pretty:!0})}function N(e){var t=e.computedMatch,n=e.to,r=e.push,i=void 0!==r&&r;return o().createElement(I.Consumer,null,(function(e){e||(0,b.Z)(!1);var r=e.history,a=e.staticContext,s=i?r.push:r.replace,c=g(t?"string"==typeof n?D(n,t.params):(0,u.Z)({},n,{pathname:D(n.pathname,t.params)}):n);return a?(s(c),null):o().createElement(M,{onMount:function(){s(c)},onUpdate:function(e,t){var n,r,i=g(t.to);n=i,r=(0,u.Z)({},c,{key:i.key}),n.pathname===r.pathname&&n.search===r.search&&n.hash===r.hash&&n.key===r.key&&p(n.state,r.state)||s(c)},to:n})}))}var B={},U=0;function F(e,t){void 0===t&&(t={}),("string"==typeof t||Array.isArray(t))&&(t={path:t});var n=t,r=n.path,i=n.exact,o=void 0!==i&&i,a=n.strict,s=void 0!==a&&a,u=n.sensitive,c=void 0!==u&&u;return[].concat(r).reduce((function(t,n){if(!n&&""!==n)return null;if(t)return t;var r=function(e,t){var n=""+t.end+t.strict+t.sensitive,r=B[n]||(B[n]={});if(r[e])return r[e];var i=[],o={regexp:w()(e,i,t),keys:i};return U<1e4&&(r[e]=o,U++),o}(n,{end:o,strict:s,sensitive:c}),i=r.regexp,a=r.keys,u=i.exec(e);if(!u)return null;var l=u[0],f=u.slice(1),d=e===l;return o&&!d?null:{path:n,url:"/"===n&&""===l?"/":l,isExact:d,params:a.reduce((function(e,t,n){return e[t.name]=f[n],e}),{})}}),null)}var z=function(e){function t(){return e.apply(this,arguments)||this}return(0,r.Z)(t,e),t.prototype.render=function(){var e=this;return o().createElement(I.Consumer,null,(function(t){t||(0,b.Z)(!1);var n=e.props.location||t.location,r=e.props.computedMatch?e.props.computedMatch:e.props.path?F(n.pathname,e.props):t.match,i=(0,u.Z)({},t,{location:n,match:r}),a=e.props,s=a.children,c=a.component,l=a.render;return Array.isArray(s)&&function(e){return 0===o().Children.count(e)}(s)&&(s=null),o().createElement(I.Provider,{value:i},i.match?s?"function"==typeof s?s(i):s:c?o().createElement(c,i):l?l(i):null:"function"==typeof s?s(i):null)}))},t}(o().Component);function H(e){return"/"===e.charAt(0)?e:"/"+e}function Z(e,t){if(!e)return t;var n=H(e);return 0!==t.pathname.indexOf(n)?t:(0,u.Z)({},t,{pathname:t.pathname.substr(n.length)})}function q(e){return"string"==typeof e?e:h(e)}function V(e){return function(){(0,b.Z)(!1)}}function W(){}o().Component;var G=function(e){function t(){return e.apply(this,arguments)||this}return(0,r.Z)(t,e),t.prototype.render=function(){var e=this;return o().createElement(I.Consumer,null,(function(t){t||(0,b.Z)(!1);var n,r,i=e.props.location||t.location;return o().Children.forEach(e.props.children,(function(e){if(null==r&&o().isValidElement(e)){n=e;var a=e.props.path||e.props.from;r=a?F(i.pathname,(0,u.Z)({},e.props,{path:a})):t.match}})),r?o().cloneElement(n,{location:i,computedMatch:r}):null}))},t}(o().Component);function $(e){var t="withRouter("+(e.displayName||e.name)+")",n=function(t){var n=t.wrappedComponentRef,r=(0,T.Z)(t,["wrappedComponentRef"]);return o().createElement(I.Consumer,null,(function(t){return t||(0,b.Z)(!1),o().createElement(e,(0,u.Z)({},r,t,{ref:n}))}))};return n.displayName=t,n.WrappedComponent=e,S()(n,e)}var Y=o().useContext;function K(){return Y(A)}function X(){return Y(I).location}function Q(){var e=Y(I).match;return e?e.params:{}}function J(e){var t=X(),n=Y(I).match;return e?F(t.pathname,e):n}},76585:function(e){e.exports=Array.isArray||function(e){return"[object Array]"==Object.prototype.toString.call(e)}},39658:function(e,t,n){var r=n(76585);e.exports=p,e.exports.parse=o,e.exports.compile=function(e,t){return s(o(e,t),t)},e.exports.tokensToFunction=s,e.exports.tokensToRegExp=d;var i=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");function o(e,t){for(var n,r=[],o=0,a=0,s="",l=t&&t.delimiter||"/";null!=(n=i.exec(e));){var f=n[0],d=n[1],p=n.index;if(s+=e.slice(a,p),a=p+f.length,d)s+=d[1];else{var h=e[a],g=n[2],m=n[3],y=n[4],v=n[5],b=n[6],_=n[7];s&&(r.push(s),s="");var w=null!=g&&null!=h&&h!==g,T="+"===b||"*"===b,x="?"===b||"*"===b,S=n[2]||l,k=y||v;r.push({name:m||o++,prefix:g||"",delimiter:S,optional:x,repeat:T,partial:w,asterisk:!!_,pattern:k?c(k):_?".*":"[^"+u(S)+"]+?"})}}return a<e.length&&(s+=e.substr(a)),s&&r.push(s),r}function a(e){return encodeURI(e).replace(/[\/?#]/g,(function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()}))}function s(e,t){for(var n=new Array(e.length),i=0;i<e.length;i++)"object"==typeof e[i]&&(n[i]=new RegExp("^(?:"+e[i].pattern+")$",f(t)));return function(t,i){for(var o="",s=t||{},u=(i||{}).pretty?a:encodeURIComponent,c=0;c<e.length;c++){var l=e[c];if("string"!=typeof l){var f,d=s[l.name];if(null==d){if(l.optional){l.partial&&(o+=l.prefix);continue}throw new TypeError('Expected "'+l.name+'" to be defined')}if(r(d)){if(!l.repeat)throw new TypeError('Expected "'+l.name+'" to not repeat, but received `'+JSON.stringify(d)+"`");if(0===d.length){if(l.optional)continue;throw new TypeError('Expected "'+l.name+'" to not be empty')}for(var p=0;p<d.length;p++){if(f=u(d[p]),!n[c].test(f))throw new TypeError('Expected all "'+l.name+'" to match "'+l.pattern+'", but received `'+JSON.stringify(f)+"`");o+=(0===p?l.prefix:l.delimiter)+f}}else{if(f=l.asterisk?encodeURI(d).replace(/[?#]/g,(function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()})):u(d),!n[c].test(f))throw new TypeError('Expected "'+l.name+'" to match "'+l.pattern+'", but received "'+f+'"');o+=l.prefix+f}}else o+=l}return o}}function u(e){return e.replace(/([.+*?=^!:${}()[\]|\/\\])/g,"\\$1")}function c(e){return e.replace(/([=!:$\/()])/g,"\\$1")}function l(e,t){return e.keys=t,e}function f(e){return e&&e.sensitive?"":"i"}function d(e,t,n){r(t)||(n=t||n,t=[]);for(var i=(n=n||{}).strict,o=!1!==n.end,a="",s=0;s<e.length;s++){var c=e[s];if("string"==typeof c)a+=u(c);else{var d=u(c.prefix),p="(?:"+c.pattern+")";t.push(c),c.repeat&&(p+="(?:"+d+p+")*"),a+=p=c.optional?c.partial?d+"("+p+")?":"(?:"+d+"("+p+"))?":d+"("+p+")"}}var h=u(n.delimiter||"/"),g=a.slice(-h.length)===h;return i||(a=(g?a.slice(0,-h.length):a)+"(?:"+h+"(?=$))?"),a+=o?"$":i&&g?"":"(?="+h+"|$)",l(new RegExp("^"+a,f(n)),t)}function p(e,t,n){return r(t)||(n=t||n,t=[]),n=n||{},e instanceof RegExp?function(e,t){var n=e.source.match(/\((?!\?)/g);if(n)for(var r=0;r<n.length;r++)t.push({name:r,prefix:null,delimiter:null,optional:!1,repeat:!1,partial:!1,asterisk:!1,pattern:null});return l(e,t)}(e,t):r(e)?function(e,t,n){for(var r=[],i=0;i<e.length;i++)r.push(p(e[i],t,n).source);return l(new RegExp("(?:"+r.join("|")+")",f(n)),t)}(e,t,n):function(e,t,n){return d(o(e,n),t,n)}(e,t,n)}},45872:function(e,t,n){"use strict";var r=n(4795);function i(){}function o(){}o.resetWarningCache=i,e.exports=function(){function e(e,t,n,i,o,a){if(a!==r){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:o,resetWarningCache:i};return n.PropTypes=n,n}},88462:function(e,t,n){e.exports=n(45872)()},4795:function(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},48477:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=a(n(28416)),o=a(n(31093));function a(e){return e&&e.__esModule?e:{default:e}}function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var c=function(e){function t(){return s(this,t),u(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),r(t,[{key:"render",value:function(){return i.default.createElement("input",this.props,this.props.children)}}]),t}(i.default.Component);t.default=(0,o.default)(c)},35343:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=u(n(28416)),a=u(n(18e3)),s=u(n(52987));function u(e){return e&&e.__esModule?e:{default:e}}function c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function l(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var f=function(e){function t(){return c(this,t),l(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),i(t,[{key:"render",value:function(){var e=this,t=r({},this.props);return t.parentBindings&&delete t.parentBindings,o.default.createElement("div",r({},t,{ref:function(t){e.props.parentBindings.domNode=t}}),this.props.children)}}]),t}(o.default.Component);f.propTypes={name:s.default.string,id:s.default.string},t.default=(0,a.default)(f)},68939:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=o(n(28416)),i=o(n(31093));function o(e){return e&&e.__esModule?e:{default:e}}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var u=function(e){function t(){var e,n,i;a(this,t);for(var o=arguments.length,u=Array(o),c=0;c<o;c++)u[c]=arguments[c];return n=i=s(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(u))),i.render=function(){return r.default.createElement("a",i.props,i.props.children)},s(i,n)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t}(r.default.Component);t.default=(0,i.default)(u)},66261:function(e,t,n){"use strict";t.zW=void 0;var r=p(n(68939)),i=p(n(48477)),o=p(n(35343)),a=p(n(82628)),s=p(n(64592)),u=p(n(87606)),c=p(n(53200)),l=p(n(31093)),f=p(n(18e3)),d=p(n(98482));function p(e){return e&&e.__esModule?e:{default:e}}r.default,i.default,o.default,a.default,t.zW=s.default,u.default,c.default,l.default,f.default,d.default,t.ZP={Link:r.default,Button:i.default,Element:o.default,scroller:a.default,Events:s.default,scrollSpy:u.default,animateScroll:c.default,ScrollLink:l.default,ScrollElement:f.default,Helpers:d.default}},98482:function(e,t,n){"use strict";var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var u=n(28416),c=(n(73935),n(54259),n(87606)),l=n(82628),f=n(52987),d=n(29678),p={to:f.string.isRequired,containerId:f.string,container:f.object,activeClass:f.string,spy:f.bool,smooth:f.oneOfType([f.bool,f.string]),offset:f.number,delay:f.number,isDynamic:f.bool,onClick:f.func,duration:f.oneOfType([f.number,f.func]),absolute:f.bool,onSetActive:f.func,onSetInactive:f.func,ignoreCancelEvents:f.bool,hashSpy:f.bool},h={Scroll:function(e,t){console.warn("Helpers.Scroll is deprecated since v1.7.0");var n=t||l,f=function(t){function l(e){o(this,l);var t=a(this,(l.__proto__||Object.getPrototypeOf(l)).call(this,e));return h.call(t),t.state={active:!1},t}return s(l,t),i(l,[{key:"getScrollSpyContainer",value:function(){var e=this.props.containerId,t=this.props.container;return e?document.getElementById(e):t&&t.nodeType?t:document}},{key:"componentDidMount",value:function(){if(this.props.spy||this.props.hashSpy){var e=this.getScrollSpyContainer();c.isMounted(e)||c.mount(e),this.props.hashSpy&&(d.isMounted()||d.mount(n),d.mapContainer(this.props.to,e)),this.props.spy&&c.addStateHandler(this.stateHandler),c.addSpyHandler(this.spyHandler,e),this.setState({container:e})}}},{key:"componentWillUnmount",value:function(){c.unmount(this.stateHandler,this.spyHandler)}},{key:"render",value:function(){var t="";t=this.state&&this.state.active?((this.props.className||"")+" "+(this.props.activeClass||"active")).trim():this.props.className;var n=r({},this.props);for(var i in p)n.hasOwnProperty(i)&&delete n[i];return n.className=t,n.onClick=this.handleClick,u.createElement(e,n)}}]),l}(u.Component),h=function(){var e=this;this.scrollTo=function(t,i){n.scrollTo(t,r({},e.state,i))},this.handleClick=function(t){e.props.onClick&&e.props.onClick(t),t.stopPropagation&&t.stopPropagation(),t.preventDefault&&t.preventDefault(),e.scrollTo(e.props.to,e.props)},this.stateHandler=function(){n.getActiveLink()!==e.props.to&&(null!==e.state&&e.state.active&&e.props.onSetInactive&&e.props.onSetInactive(),e.setState({active:!1}))},this.spyHandler=function(t){var r=e.getScrollSpyContainer();if(!d.isMounted()||d.isInitialized()){var i=e.props.to,o=null,a=0,s=0,u=0;if(r.getBoundingClientRect)u=r.getBoundingClientRect().top;if(!o||e.props.isDynamic){if(!(o=n.get(i)))return;var l=o.getBoundingClientRect();s=(a=l.top-u+t)+l.height}var f=t-e.props.offset,p=f>=Math.floor(a)&&f<Math.floor(s),h=f<Math.floor(a)||f>=Math.floor(s),g=n.getActiveLink();return h?(i===g&&n.setActiveLink(void 0),e.props.hashSpy&&d.getHash()===i&&d.changeHash(),e.props.spy&&e.state.active&&(e.setState({active:!1}),e.props.onSetInactive&&e.props.onSetInactive()),c.updateStates()):p&&g!==i?(n.setActiveLink(i),e.props.hashSpy&&d.changeHash(i),e.props.spy&&(e.setState({active:!0}),e.props.onSetActive&&e.props.onSetActive(i)),c.updateStates()):void 0}}};return f.propTypes=p,f.defaultProps={offset:0},f},Element:function(e){console.warn("Helpers.Element is deprecated since v1.7.0");var t=function(t){function n(e){o(this,n);var t=a(this,(n.__proto__||Object.getPrototypeOf(n)).call(this,e));return t.childBindings={domNode:null},t}return s(n,t),i(n,[{key:"componentDidMount",value:function(){if("undefined"==typeof window)return!1;this.registerElems(this.props.name)}},{key:"componentWillReceiveProps",value:function(e){this.props.name!==e.name&&this.registerElems(e.name)}},{key:"componentWillUnmount",value:function(){if("undefined"==typeof window)return!1;l.unregister(this.props.name)}},{key:"registerElems",value:function(e){l.register(e,this.childBindings.domNode)}},{key:"render",value:function(){return u.createElement(e,r({},this.props,{parentBindings:this.childBindings}))}}]),n}(u.Component);return t.propTypes={name:f.string,id:f.string},t}};e.exports=h},53200:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i=(s(n(54259)),s(n(89765))),o=s(n(50140)),a=s(n(64592));function s(e){return e&&e.__esModule?e:{default:e}}var u=function(e){return i.default[e.smooth]||i.default.defaultEasing},c=function(){if("undefined"!=typeof window)return window.requestAnimationFrame||window.webkitRequestAnimationFrame}()||function(e,t,n){window.setTimeout(e,n||1e3/60,(new Date).getTime())},l=function(e){var t=e.data.containerElement;if(t&&t!==document&&t!==document.body)return t.scrollTop;var n=void 0!==window.pageXOffset,r="CSS1Compat"===(document.compatMode||"");return n?window.pageYOffset:r?document.documentElement.scrollTop:document.body.scrollTop},f=function e(t,n,r){var i=n.data;if(n.ignoreCancelEvents||!i.cancel)if(i.deltaTop=Math.round(i.targetPositionY-i.startPositionY),null===i.start&&(i.start=r),i.progress=r-i.start,i.percent=i.progress>=i.duration?1:t(i.progress/i.duration),i.currentPositionY=i.startPositionY+Math.ceil(i.deltaTop*i.percent),i.containerElement&&i.containerElement!==document&&i.containerElement!==document.body?i.containerElement.scrollTop=i.currentPositionY:window.scrollTo(0,i.currentPositionY),i.percent<1){var o=e.bind(null,t,n);c.call(window,o)}else a.default.registered.end&&a.default.registered.end(i.to,i.target,i.currentPositionY);else a.default.registered.end&&a.default.registered.end(i.to,i.target,i.currentPositionY)},d=function(e){e.data.containerElement=e?e.containerId?document.getElementById(e.containerId):e.container&&e.container.nodeType?e.container:document:null},p=function(e,t,n,r){if(t.data=t.data||{currentPositionY:0,startPositionY:0,targetPositionY:0,progress:0,duration:0,cancel:!1,target:null,containerElement:null,to:null,start:null,deltaTop:null,percent:null,delayTimeout:null},window.clearTimeout(t.data.delayTimeout),o.default.subscribe((function(){t.data.cancel=!0})),d(t),t.data.start=null,t.data.cancel=!1,t.data.startPositionY=l(t),t.data.targetPositionY=t.absolute?e:e+t.data.startPositionY,t.data.startPositionY!==t.data.targetPositionY){var i;t.data.deltaTop=Math.round(t.data.targetPositionY-t.data.startPositionY),t.data.duration=("function"==typeof(i=t.duration)?i:function(){return i})(t.data.deltaTop),t.data.duration=isNaN(parseFloat(t.data.duration))?1e3:parseFloat(t.data.duration),t.data.to=n,t.data.target=r;var s=u(t),p=f.bind(null,s,t);t&&t.delay>0?t.data.delayTimeout=window.setTimeout((function(){c.call(window,p)}),t.delay):c.call(window,p)}else a.default.registered.end&&a.default.registered.end(t.data.to,t.data.target,t.data.currentPositionY)},h=function(e){return(e=r({},e)).data=e.data||{currentPositionY:0,startPositionY:0,targetPositionY:0,progress:0,duration:0,cancel:!1,target:null,containerElement:null,to:null,start:null,deltaTop:null,percent:null,delayTimeout:null},e.absolute=!0,e};t.default={animateTopScroll:p,getAnimationType:u,scrollToTop:function(e){p(0,h(e))},scrollToBottom:function(e){e=h(e),d(e),p(function(e){var t=e.data.containerElement;if(t&&t!==document&&t!==document.body)return Math.max(t.scrollHeight,t.offsetHeight,t.clientHeight);var n=document.body,r=document.documentElement;return Math.max(n.scrollHeight,n.offsetHeight,r.clientHeight,r.scrollHeight,r.offsetHeight)}(e),e)},scrollTo:function(e,t){p(e,h(t))},scrollMore:function(e,t){t=h(t),d(t),p(l(t)+e,t)}}},50140:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(55236),i=["mousedown","mousewheel","touchmove","keydown"];t.default={subscribe:function(e){return"undefined"!=typeof document&&i.forEach((function(t){return(0,r.addPassiveEventListener)(document,t,e)}))}}},55236:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.addPassiveEventListener=function(e,t,n){var r=function(){var e=!1;try{var t=Object.defineProperty({},"passive",{get:function(){e=!0}});window.addEventListener("test",null,t)}catch(e){}return e}();e.addEventListener(t,n,!!r&&{passive:!0})},t.removePassiveEventListener=function(e,t,n){e.removeEventListener(t,n)}},18e3:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=u(n(28416)),a=(u(n(73935)),u(n(82628))),s=u(n(52987));function u(e){return e&&e.__esModule?e:{default:e}}t.default=function(e){var t=function(t){function n(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n);var t=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(n.__proto__||Object.getPrototypeOf(n)).call(this,e));return t.childBindings={domNode:null},t}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(n,t),i(n,[{key:"componentDidMount",value:function(){if("undefined"==typeof window)return!1;this.registerElems(this.props.name)}},{key:"componentWillReceiveProps",value:function(e){this.props.name!==e.name&&this.registerElems(e.name)}},{key:"componentWillUnmount",value:function(){if("undefined"==typeof window)return!1;a.default.unregister(this.props.name)}},{key:"registerElems",value:function(e){a.default.register(e,this.childBindings.domNode)}},{key:"render",value:function(){return o.default.createElement(e,r({},this.props,{parentBindings:this.childBindings}))}}]),n}(o.default.Component);return t.propTypes={name:s.default.string,id:s.default.string},t}},64592:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n={registered:{},scrollEvent:{register:function(e,t){n.registered[e]=t},remove:function(e){n.registered[e]=null}}};t.default=n},29678:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});n(55236);var r,i=n(54259),o=(r=i)&&r.__esModule?r:{default:r};var a={mountFlag:!1,initialized:!1,scroller:null,containers:{},mount:function(e){this.scroller=e,this.handleHashChange=this.handleHashChange.bind(this),window.addEventListener("hashchange",this.handleHashChange),this.initStateFromHash(),this.mountFlag=!0},mapContainer:function(e,t){this.containers[e]=t},isMounted:function(){return this.mountFlag},isInitialized:function(){return this.initialized},initStateFromHash:function(){var e=this,t=this.getHash();t?window.setTimeout((function(){e.scrollTo(t,!0),e.initialized=!0}),10):this.initialized=!0},scrollTo:function(e,t){var n=this.scroller;if(n.get(e)&&(t||e!==n.getActiveLink())){var r=this.containers[e]||document;n.scrollTo(e,{container:r})}},getHash:function(){return o.default.getHash()},changeHash:function(e){this.isInitialized()&&o.default.getHash()!==e&&o.default.pushHash(e)},handleHashChange:function(){this.scrollTo(this.getHash())},unmount:function(){this.scroller=null,this.containers=null,window.removeEventListener("hashchange",this.handleHashChange)}};t.default=a},31093:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=l(n(28416)),a=(l(n(73935)),l(n(54259)),l(n(87606))),s=l(n(82628)),u=l(n(52987)),c=l(n(29678));function l(e){return e&&e.__esModule?e:{default:e}}var f={to:u.default.string.isRequired,containerId:u.default.string,container:u.default.object,activeClass:u.default.string,spy:u.default.bool,smooth:u.default.oneOfType([u.default.bool,u.default.string]),offset:u.default.number,delay:u.default.number,isDynamic:u.default.bool,onClick:u.default.func,duration:u.default.oneOfType([u.default.number,u.default.func]),absolute:u.default.bool,onSetActive:u.default.func,onSetInactive:u.default.func,ignoreCancelEvents:u.default.bool,hashSpy:u.default.bool};t.default=function(e,t){var n=t||s.default,u=function(t){function s(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s);var t=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(s.__proto__||Object.getPrototypeOf(s)).call(this,e));return l.call(t),t.state={active:!1},t}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(s,t),i(s,[{key:"getScrollSpyContainer",value:function(){var e=this.props.containerId,t=this.props.container;return e&&!t?document.getElementById(e):t&&t.nodeType?t:document}},{key:"componentDidMount",value:function(){if(this.props.spy||this.props.hashSpy){var e=this.getScrollSpyContainer();a.default.isMounted(e)||a.default.mount(e),this.props.hashSpy&&(c.default.isMounted()||c.default.mount(n),c.default.mapContainer(this.props.to,e)),a.default.addSpyHandler(this.spyHandler,e),this.setState({container:e})}}},{key:"componentWillUnmount",value:function(){a.default.unmount(this.stateHandler,this.spyHandler)}},{key:"render",value:function(){var t="";t=this.state&&this.state.active?((this.props.className||"")+" "+(this.props.activeClass||"active")).trim():this.props.className;var n=r({},this.props);for(var i in f)n.hasOwnProperty(i)&&delete n[i];return n.className=t,n.onClick=this.handleClick,o.default.createElement(e,n)}}]),s}(o.default.PureComponent),l=function(){var e=this;this.scrollTo=function(t,i){n.scrollTo(t,r({},e.state,i))},this.handleClick=function(t){e.props.onClick&&e.props.onClick(t),t.stopPropagation&&t.stopPropagation(),t.preventDefault&&t.preventDefault(),e.scrollTo(e.props.to,e.props)},this.spyHandler=function(t){var r=e.getScrollSpyContainer();if(!c.default.isMounted()||c.default.isInitialized()){var i=e.props.to,o=null,a=0,s=0,u=0;if(r.getBoundingClientRect)u=r.getBoundingClientRect().top;if(!o||e.props.isDynamic){if(!(o=n.get(i)))return;var l=o.getBoundingClientRect();s=(a=l.top-u+t)+l.height}var f=t-e.props.offset,d=f>=Math.floor(a)&&f<Math.floor(s),p=f<Math.floor(a)||f>=Math.floor(s),h=n.getActiveLink();p&&(i===h&&n.setActiveLink(void 0),e.props.hashSpy&&c.default.getHash()===i&&c.default.changeHash(),e.props.spy&&e.state.active&&(e.setState({active:!1}),e.props.onSetInactive&&e.props.onSetInactive(i,o))),!d||h===i&&!1!==e.state.active||(n.setActiveLink(i),e.props.hashSpy&&c.default.changeHash(i),e.props.spy&&(e.setState({active:!0}),e.props.onSetActive&&e.props.onSetActive(i,o)))}}};return u.propTypes=f,u.defaultProps={offset:0},u}},87606:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,i=n(93096),o=(r=i)&&r.__esModule?r:{default:r},a=n(55236);var s={spyCallbacks:[],spySetState:[],scrollSpyContainers:[],mount:function(e){if(e){var t=function(e){return(0,o.default)(e,66)}((function(t){s.scrollHandler(e)}));s.scrollSpyContainers.push(e),(0,a.addPassiveEventListener)(e,"scroll",t)}},isMounted:function(e){return-1!==s.scrollSpyContainers.indexOf(e)},currentPositionY:function(e){if(e===document){var t=void 0!==window.pageXOffset,n="CSS1Compat"===(document.compatMode||"");return t?window.pageYOffset:n?document.documentElement.scrollTop:document.body.scrollTop}return e.scrollTop},scrollHandler:function(e){(s.scrollSpyContainers[s.scrollSpyContainers.indexOf(e)].spyCallbacks||[]).forEach((function(t){return t(s.currentPositionY(e))}))},addStateHandler:function(e){s.spySetState.push(e)},addSpyHandler:function(e,t){var n=s.scrollSpyContainers[s.scrollSpyContainers.indexOf(t)];n.spyCallbacks||(n.spyCallbacks=[]),n.spyCallbacks.push(e),e(s.currentPositionY(t))},updateStates:function(){s.spySetState.forEach((function(e){return e()}))},unmount:function(e,t){s.scrollSpyContainers.forEach((function(e){return e.spyCallbacks&&e.spyCallbacks.length&&e.spyCallbacks.splice(e.spyCallbacks.indexOf(t),1)})),s.spySetState&&s.spySetState.length&&s.spySetState.splice(s.spySetState.indexOf(e),1),document.removeEventListener("scroll",s.scrollHandler)},update:function(){return s.scrollSpyContainers.forEach((function(e){return s.scrollHandler(e)}))}};t.default=s},82628:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i=s(n(54259)),o=s(n(53200)),a=s(n(64592));function s(e){return e&&e.__esModule?e:{default:e}}var u={},c=void 0;t.default={unmount:function(){u={}},register:function(e,t){u[e]=t},unregister:function(e){delete u[e]},get:function(e){return u[e]||document.getElementById(e)||document.getElementsByName(e)[0]||document.getElementsByClassName(e)[0]},setActiveLink:function(e){return c=e},getActiveLink:function(){return c},scrollTo:function(e,t){var n=this.get(e);if(n){var s=(t=r({},t,{absolute:!1})).containerId,u=t.container,c=void 0;c=s?document.getElementById(s):u&&u.nodeType?u:document,a.default.registered.begin&&a.default.registered.begin(e,n),t.absolute=!0;var l=i.default.scrollOffset(c,n)+(t.offset||0);if(!t.smooth)return c===document?window.scrollTo(0,l):c.scrollTop=l,void(a.default.registered.end&&a.default.registered.end(e,n));o.default.animateTopScroll(l,t,e,n)}else console.warn("target Element not found")}}},89765:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={defaultEasing:function(e){return e<.5?Math.pow(2*e,2)/2:1-Math.pow(2*(1-e),2)/2},linear:function(e){return e},easeInQuad:function(e){return e*e},easeOutQuad:function(e){return e*(2-e)},easeInOutQuad:function(e){return e<.5?2*e*e:(4-2*e)*e-1},easeInCubic:function(e){return e*e*e},easeOutCubic:function(e){return--e*e*e+1},easeInOutCubic:function(e){return e<.5?4*e*e*e:(e-1)*(2*e-2)*(2*e-2)+1},easeInQuart:function(e){return e*e*e*e},easeOutQuart:function(e){return 1- --e*e*e*e},easeInOutQuart:function(e){return e<.5?8*e*e*e*e:1-8*--e*e*e*e},easeInQuint:function(e){return e*e*e*e*e},easeOutQuint:function(e){return 1+--e*e*e*e*e},easeInOutQuint:function(e){return e<.5?16*e*e*e*e*e:1+16*--e*e*e*e*e}}},54259:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.default={pushHash:function(e){if(e=e?0===e.indexOf("#")?e:"#"+e:"",history.pushState){var t=window.location;history.pushState(null,null,e?t.pathname+t.search+e:t.pathname+t.search)}else location.hash=e},getHash:function(){return window.location.hash.replace(/^#/,"")},filterElementInContainer:function(e){return function(t){return e.contains?e!=t&&e.contains(t):!!(16&e.compareDocumentPosition(t))}},scrollOffset:function(e,t){return e===document?t.getBoundingClientRect().top+(window.scrollY||window.pageYOffset):"static"!==getComputedStyle(e).position?t.offsetTop:t.getBoundingClientRect().top+e.scrollTop}}},55480:function(e){"use strict";function t(e){return function(){return e}}var n=function(){};n.thatReturns=t,n.thatReturnsFalse=t(!1),n.thatReturnsTrue=t(!0),n.thatReturnsNull=t(null),n.thatReturnsThis=function(){return this},n.thatReturnsArgument=function(e){return e},e.exports=n},45198:function(e){"use strict";e.exports=function(e,t,n,r,i,o,a,s){if(!e){var u;if(void 0===t)u=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[n,r,i,o,a,s],l=0;(u=new Error(t.replace(/%s/g,(function(){return c[l++]})))).name="Invariant Violation"}throw u.framesToPop=1,u}}},68423:function(e,t,n){"use strict";var r=n(55480),i=n(45198),o=n(38606);e.exports=function(){function e(e,t,n,r,a,s){s!==o&&i(!1,"Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types")}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t};return n.checkPropTypes=r,n.PropTypes=n,n}},52987:function(e,t,n){e.exports=n(68423)()},38606:function(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},8205:function(e,t,n){"use strict";t.__esModule=!0,t.NextArrow=t.PrevArrow=void 0;var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i=s(n(28416)),o=s(n(94184)),a=n(15518);function s(e){return e&&e.__esModule?e:{default:e}}function u(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function l(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.PrevArrow=function(e){function t(){return u(this,t),c(this,e.apply(this,arguments))}return l(t,e),t.prototype.clickHandler=function(e,t){t&&t.preventDefault(),this.props.clickHandler(e,t)},t.prototype.render=function(){var e={"slick-arrow":!0,"slick-prev":!0},t=this.clickHandler.bind(this,{message:"previous"});!this.props.infinite&&(0===this.props.currentSlide||this.props.slideCount<=this.props.slidesToShow)&&(e["slick-disabled"]=!0,t=null);var n={key:"0","data-role":"none",className:(0,o.default)(e),style:{display:"block"},onClick:t},a={currentSlide:this.props.currentSlide,slideCount:this.props.slideCount};return this.props.prevArrow?i.default.cloneElement(this.props.prevArrow,r({},n,a)):i.default.createElement("button",r({key:"0",type:"button"},n)," ","Previous")},t}(i.default.PureComponent),t.NextArrow=function(e){function t(){return u(this,t),c(this,e.apply(this,arguments))}return l(t,e),t.prototype.clickHandler=function(e,t){t&&t.preventDefault(),this.props.clickHandler(e,t)},t.prototype.render=function(){var e={"slick-arrow":!0,"slick-next":!0},t=this.clickHandler.bind(this,{message:"next"});(0,a.canGoNext)(this.props)||(e["slick-disabled"]=!0,t=null);var n={key:"1","data-role":"none",className:(0,o.default)(e),style:{display:"block"},onClick:t},s={currentSlide:this.props.currentSlide,slideCount:this.props.slideCount};return this.props.nextArrow?i.default.cloneElement(this.props.nextArrow,r({},n,s)):i.default.createElement("button",r({key:"1",type:"button"},n)," ","Next")},t}(i.default.PureComponent)},23492:function(e,t,n){"use strict";t.__esModule=!0;var r,i=n(28416),o=(r=i)&&r.__esModule?r:{default:r};var a={accessibility:!0,adaptiveHeight:!1,afterChange:null,appendDots:function(e){return o.default.createElement("ul",{style:{display:"block"}},e)},arrows:!0,autoplay:!1,autoplaySpeed:3e3,beforeChange:null,centerMode:!1,centerPadding:"50px",className:"",cssEase:"ease",customPaging:function(e){return o.default.createElement("button",null,e+1)},dots:!1,dotsClass:"slick-dots",draggable:!0,easing:"linear",edgeFriction:.35,fade:!1,focusOnSelect:!1,infinite:!0,initialSlide:0,lazyLoad:null,nextArrow:null,onEdge:null,onInit:null,onLazyLoadError:null,onReInit:null,pauseOnDotsHover:!1,pauseOnFocus:!1,pauseOnHover:!0,prevArrow:null,responsive:null,rows:1,rtl:!1,slide:"div",slidesPerRow:1,slidesToScroll:1,slidesToShow:1,speed:500,swipe:!0,swipeEvent:null,swipeToSlide:!1,touchMove:!0,touchThreshold:5,useCSS:!0,useTransform:!0,variableWidth:!1,vertical:!1,waitForAnimate:!0};t.default=a},16329:function(e,t,n){"use strict";t.__esModule=!0,t.Dots=void 0;var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i=a(n(28416)),o=a(n(94184));function a(e){return e&&e.__esModule?e:{default:e}}function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}t.Dots=function(e){function t(){return s(this,t),u(this,e.apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t.prototype.clickHandler=function(e,t){t.preventDefault(),this.props.clickHandler(e)},t.prototype.render=function(){var e,t=this,n=(e={slideCount:this.props.slideCount,slidesToScroll:this.props.slidesToScroll,slidesToShow:this.props.slidesToShow,infinite:this.props.infinite}).infinite?Math.ceil(e.slideCount/e.slidesToScroll):Math.ceil((e.slideCount-e.slidesToShow)/e.slidesToScroll)+1,a=this.props,s={onMouseEnter:a.onMouseEnter,onMouseOver:a.onMouseOver,onMouseLeave:a.onMouseLeave},u=Array.apply(null,Array(n+1).join("0").split("")).map((function(e,n){var r=n*t.props.slidesToScroll,a=n*t.props.slidesToScroll+(t.props.slidesToScroll-1),s=(0,o.default)({"slick-active":t.props.currentSlide>=r&&t.props.currentSlide<=a}),u={message:"dots",index:n,slidesToScroll:t.props.slidesToScroll,currentSlide:t.props.currentSlide},c=t.clickHandler.bind(t,u);return i.default.createElement("li",{key:n,className:s},i.default.cloneElement(t.props.customPaging(n),{onClick:c}))}));return i.default.cloneElement(this.props.appendDots(u),r({className:this.props.dotsClass},s))},t}(i.default.PureComponent)},46066:function(e,t,n){"use strict";var r,i=n(5798),o=(r=i)&&r.__esModule?r:{default:r};t.Z=o.default},46948:function(e,t){"use strict";t.__esModule=!0;t.default={animating:!1,autoplaying:null,currentDirection:0,currentLeft:null,currentSlide:0,direction:1,dragging:!1,edgeDragged:!1,initialized:!1,lazyLoadedList:[],listHeight:null,listWidth:null,scrolling:!1,slideCount:null,slideHeight:null,slideWidth:null,swipeLeft:null,swiped:!1,swiping:!1,touchObject:{startX:0,startY:0,curX:0,curY:0},trackStyle:{},trackWidth:0}},58517:function(e,t,n){"use strict";t.__esModule=!0,t.InnerSlider=void 0;var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=g(n(28416)),a=g(n(73935)),s=g(n(46948)),u=g(n(91296)),c=g(n(94184)),l=n(15518),f=n(64740),d=n(16329),p=n(8205),h=g(n(64207));function g(e){return e&&e.__esModule?e:{default:e}}function m(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}t.InnerSlider=function(e){function t(n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var g=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,e.call(this,n));return g.listRefHandler=function(e){return g.list=e},g.trackRefHandler=function(e){return g.track=e},g.adaptHeight=function(){if(g.props.adaptiveHeight&&g.list){var e=g.list.querySelector('[data-index="'+g.state.currentSlide+'"]');g.list.style.height=(0,l.getHeight)(e)+"px"}},g.componentWillMount=function(){if(g.ssrInit(),g.props.onInit&&g.props.onInit(),g.props.lazyLoad){var e=(0,l.getOnDemandLazySlides)(i({},g.props,g.state));e.length>0&&(g.setState((function(t){return{lazyLoadedList:t.lazyLoadedList.concat(e)}})),g.props.onLazyLoad&&g.props.onLazyLoad(e))}},g.componentDidMount=function(){var e=i({listRef:g.list,trackRef:g.track},g.props);g.updateState(e,!0,(function(){g.adaptHeight(),g.props.autoplay&&g.autoPlay("update")})),"progressive"===g.props.lazyLoad&&(g.lazyLoadTimer=setInterval(g.progressiveLazyLoad,1e3)),g.ro=new h.default((function(){g.state.animating?(g.onWindowResized(!1),g.callbackTimers.push(setTimeout((function(){return g.onWindowResized()}),g.props.speed))):g.onWindowResized()})),g.ro.observe(g.list),Array.prototype.forEach.call(document.querySelectorAll(".slick-slide"),(function(e){e.onfocus=g.props.pauseOnFocus?g.onSlideFocus:null,e.onblur=g.props.pauseOnFocus?g.onSlideBlur:null})),window&&(window.addEventListener?window.addEventListener("resize",g.onWindowResized):window.attachEvent("onresize",g.onWindowResized))},g.componentWillUnmount=function(){g.animationEndCallback&&clearTimeout(g.animationEndCallback),g.lazyLoadTimer&&clearInterval(g.lazyLoadTimer),g.callbackTimers.length&&(g.callbackTimers.forEach((function(e){return clearTimeout(e)})),g.callbackTimers=[]),window.addEventListener?window.removeEventListener("resize",g.onWindowResized):window.detachEvent("onresize",g.onWindowResized),g.autoplayTimer&&clearInterval(g.autoplayTimer)},g.componentWillReceiveProps=function(e){var t=i({listRef:g.list,trackRef:g.track},e,g.state),n=!1,a=Object.keys(g.props),s=Array.isArray(a),u=0;for(a=s?a:a[Symbol.iterator]();;){var c;if(s){if(u>=a.length)break;c=a[u++]}else{if((u=a.next()).done)break;c=u.value}var l=c;if(!e.hasOwnProperty(l)){n=!0;break}if("object"!==r(e[l])&&"function"!=typeof e[l]&&e[l]!==g.props[l]){n=!0;break}}g.updateState(t,n,(function(){g.state.currentSlide>=o.default.Children.count(e.children)&&g.changeSlide({message:"index",index:o.default.Children.count(e.children)-e.slidesToShow,currentSlide:g.state.currentSlide}),e.autoplay?g.autoPlay("update"):g.pause("paused")}))},g.componentDidUpdate=function(){if(g.checkImagesLoad(),g.props.onReInit&&g.props.onReInit(),g.props.lazyLoad){var e=(0,l.getOnDemandLazySlides)(i({},g.props,g.state));e.length>0&&(g.setState((function(t){return{lazyLoadedList:t.lazyLoadedList.concat(e)}})),g.props.onLazyLoad&&g.props.onLazyLoad(e))}g.adaptHeight()},g.onWindowResized=function(e){g.debouncedResize&&g.debouncedResize.cancel(),g.debouncedResize=(0,u.default)((function(){return g.resizeWindow(e)}),50),g.debouncedResize()},g.resizeWindow=function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];if(a.default.findDOMNode(g.track)){var t=i({listRef:g.list,trackRef:g.track},g.props,g.state);g.updateState(t,e,(function(){g.props.autoplay?g.autoPlay("update"):g.pause("paused")})),g.setState({animating:!1}),clearTimeout(g.animationEndCallback),delete g.animationEndCallback}},g.updateState=function(e,t,n){var r=(0,l.initializedState)(e);e=i({},e,r,{slideIndex:r.currentSlide});var a=(0,l.getTrackLeft)(e);e=i({},e,{left:a});var s=(0,l.getTrackCSS)(e);(t||o.default.Children.count(g.props.children)!==o.default.Children.count(e.children))&&(r.trackStyle=s),g.setState(r,n)},g.ssrInit=function(){if(g.props.variableWidth){var e=0,t=0,n=[],r=(0,l.getPreClones)(i({},g.props,g.state,{slideCount:g.props.children.length})),a=(0,l.getPostClones)(i({},g.props,g.state,{slideCount:g.props.children.length}));g.props.children.forEach((function(t){n.push(t.props.style.width),e+=t.props.style.width}));for(var s=0;s<r;s++)t+=n[n.length-1-s],e+=n[n.length-1-s];for(var u=0;u<a;u++)e+=n[u];for(var c=0;c<g.state.currentSlide;c++)t+=n[c];var f={width:e+"px",left:-t+"px"};if(g.props.centerMode){var d=n[g.state.currentSlide]+"px";f.left="calc("+f.left+" + (100% - "+d+") / 2 ) "}g.setState({trackStyle:f})}else{var p=o.default.Children.count(g.props.children),h=i({},g.props,g.state,{slideCount:p}),m=(0,l.getPreClones)(h)+(0,l.getPostClones)(h)+p,y=100/g.props.slidesToShow*m,v=100/m,b=-v*((0,l.getPreClones)(h)+g.state.currentSlide)*y/100;g.props.centerMode&&(b+=(100-v*y/100)/2);var _={width:y+"%",left:b+"%"};g.setState({slideWidth:v+"%",trackStyle:_})}},g.checkImagesLoad=function(){var e=document.querySelectorAll(".slick-slide img"),t=e.length,n=0;Array.prototype.forEach.call(e,(function(e){var r=function(){return++n&&n>=t&&g.onWindowResized()};if(e.onclick){var i=e.onclick;e.onclick=function(){i(),e.parentNode.focus()}}else e.onclick=function(){return e.parentNode.focus()};e.onload||(g.props.lazyLoad?e.onload=function(){g.adaptHeight(),g.callbackTimers.push(setTimeout(g.onWindowResized,g.props.speed))}:(e.onload=r,e.onerror=function(){r(),g.props.onLazyLoadError&&g.props.onLazyLoadError()}))}))},g.progressiveLazyLoad=function(){for(var e=[],t=i({},g.props,g.state),n=g.state.currentSlide;n<g.state.slideCount+(0,l.getPostClones)(t);n++)if(g.state.lazyLoadedList.indexOf(n)<0){e.push(n);break}for(var r=g.state.currentSlide-1;r>=-(0,l.getPreClones)(t);r--)if(g.state.lazyLoadedList.indexOf(r)<0){e.push(r);break}e.length>0?(g.setState((function(t){return{lazyLoadedList:t.lazyLoadedList.concat(e)}})),g.props.onLazyLoad&&g.props.onLazyLoad(e)):g.lazyLoadTimer&&(clearInterval(g.lazyLoadTimer),delete g.lazyLoadTimer)},g.slideHandler=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=g.props,r=n.asNavFor,o=n.beforeChange,a=n.onLazyLoad,s=n.speed,u=n.afterChange,c=g.state.currentSlide,f=(0,l.slideHandler)(i({index:e},g.props,g.state,{trackRef:g.track,useCSS:g.props.useCSS&&!t})),d=f.state,p=f.nextState;if(d){o&&o(c,d.currentSlide);var h=d.lazyLoadedList.filter((function(e){return g.state.lazyLoadedList.indexOf(e)<0}));a&&h.length>0&&a(h),g.setState(d,(function(){r&&r.innerSlider.state.currentSlide!==c&&r.innerSlider.slideHandler(e),p&&(g.animationEndCallback=setTimeout((function(){var e=p.animating,t=m(p,["animating"]);g.setState(t,(function(){g.callbackTimers.push(setTimeout((function(){return g.setState({animating:e})}),10)),u&&u(d.currentSlide),delete g.animationEndCallback}))}),s))}))}},g.changeSlide=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=i({},g.props,g.state),r=(0,l.changeSlide)(n,e);(0===r||r)&&(!0===t?g.slideHandler(r,t):g.slideHandler(r))},g.clickHandler=function(e){!1===g.clickable&&(e.stopPropagation(),e.preventDefault()),g.clickable=!0},g.keyHandler=function(e){var t=(0,l.keyHandler)(e,g.props.accessibility,g.props.rtl);""!==t&&g.changeSlide({message:t})},g.selectHandler=function(e){g.changeSlide(e)},g.disableBodyScroll=function(){window.ontouchmove=function(e){(e=e||window.event).preventDefault&&e.preventDefault(),e.returnValue=!1}},g.enableBodyScroll=function(){window.ontouchmove=null},g.swipeStart=function(e){g.props.verticalSwiping&&g.disableBodyScroll();var t=(0,l.swipeStart)(e,g.props.swipe,g.props.draggable);""!==t&&g.setState(t)},g.swipeMove=function(e){var t=(0,l.swipeMove)(e,i({},g.props,g.state,{trackRef:g.track,listRef:g.list,slideIndex:g.state.currentSlide}));t&&(t.swiping&&(g.clickable=!1),g.setState(t))},g.swipeEnd=function(e){var t=(0,l.swipeEnd)(e,i({},g.props,g.state,{trackRef:g.track,listRef:g.list,slideIndex:g.state.currentSlide}));if(t){var n=t.triggerSlideHandler;delete t.triggerSlideHandler,g.setState(t),void 0!==n&&(g.slideHandler(n),g.props.verticalSwiping&&g.enableBodyScroll())}},g.slickPrev=function(){g.callbackTimers.push(setTimeout((function(){return g.changeSlide({message:"previous"})}),0))},g.slickNext=function(){g.callbackTimers.push(setTimeout((function(){return g.changeSlide({message:"next"})}),0))},g.slickGoTo=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(e=Number(e),isNaN(e))return"";g.callbackTimers.push(setTimeout((function(){return g.changeSlide({message:"index",index:e,currentSlide:g.state.currentSlide},t)}),0))},g.play=function(){var e;if(g.props.rtl)e=g.state.currentSlide-g.props.slidesToScroll;else{if(!(0,l.canGoNext)(i({},g.props,g.state)))return!1;e=g.state.currentSlide+g.props.slidesToScroll}g.slideHandler(e)},g.autoPlay=function(e){g.autoplayTimer&&clearInterval(g.autoplayTimer);var t=g.state.autoplaying;if("update"===e){if("hovered"===t||"focused"===t||"paused"===t)return}else if("leave"===e){if("paused"===t||"focused"===t)return}else if("blur"===e&&("paused"===t||"hovered"===t))return;g.autoplayTimer=setInterval(g.play,g.props.autoplaySpeed+50),g.setState({autoplaying:"playing"})},g.pause=function(e){g.autoplayTimer&&(clearInterval(g.autoplayTimer),g.autoplayTimer=null);var t=g.state.autoplaying;"paused"===e?g.setState({autoplaying:"paused"}):"focused"===e?"hovered"!==t&&"playing"!==t||g.setState({autoplaying:"focused"}):"playing"===t&&g.setState({autoplaying:"hovered"})},g.onDotsOver=function(){return g.props.autoplay&&g.pause("hovered")},g.onDotsLeave=function(){return g.props.autoplay&&"hovered"===g.state.autoplaying&&g.autoPlay("leave")},g.onTrackOver=function(){return g.props.autoplay&&g.pause("hovered")},g.onTrackLeave=function(){return g.props.autoplay&&"hovered"===g.state.autoplaying&&g.autoPlay("leave")},g.onSlideFocus=function(){return g.props.autoplay&&g.pause("focused")},g.onSlideBlur=function(){return g.props.autoplay&&"focused"===g.state.autoplaying&&g.autoPlay("blur")},g.render=function(){var e,t,n,r=(0,c.default)("slick-slider",g.props.className,{"slick-vertical":g.props.vertical,"slick-initialized":!0}),a=i({},g.props,g.state),s=(0,l.extractObject)(a,["fade","cssEase","speed","infinite","centerMode","focusOnSelect","currentSlide","lazyLoad","lazyLoadedList","rtl","slideWidth","slideHeight","listHeight","vertical","slidesToShow","slidesToScroll","slideCount","trackStyle","variableWidth","unslick","centerPadding"]),u=g.props.pauseOnHover;if(s=i({},s,{onMouseEnter:u?g.onTrackOver:null,onMouseLeave:u?g.onTrackLeave:null,onMouseOver:u?g.onTrackOver:null,focusOnSelect:g.props.focusOnSelect?g.selectHandler:null}),!0===g.props.dots&&g.state.slideCount>=g.props.slidesToShow){var h=(0,l.extractObject)(a,["dotsClass","slideCount","slidesToShow","currentSlide","slidesToScroll","clickHandler","children","customPaging","infinite","appendDots"]),m=g.props.pauseOnDotsHover;h=i({},h,{clickHandler:g.changeSlide,onMouseEnter:m?g.onDotsLeave:null,onMouseOver:m?g.onDotsOver:null,onMouseLeave:m?g.onDotsLeave:null}),e=o.default.createElement(d.Dots,h)}var y=(0,l.extractObject)(a,["infinite","centerMode","currentSlide","slideCount","slidesToShow","prevArrow","nextArrow"]);y.clickHandler=g.changeSlide,g.props.arrows&&(t=o.default.createElement(p.PrevArrow,y),n=o.default.createElement(p.NextArrow,y));var v=null;g.props.vertical&&(v={height:g.state.listHeight});var b=null;!1===g.props.vertical?!0===g.props.centerMode&&(b={padding:"0px "+g.props.centerPadding}):!0===g.props.centerMode&&(b={padding:g.props.centerPadding+" 0px"});var _=i({},v,b),w=g.props.touchMove,T={className:"slick-list",style:_,onClick:g.clickHandler,onMouseDown:w?g.swipeStart:null,onMouseMove:g.state.dragging&&w?g.swipeMove:null,onMouseUp:w?g.swipeEnd:null,onMouseLeave:g.state.dragging&&w?g.swipeEnd:null,onTouchStart:w?g.swipeStart:null,onTouchMove:g.state.dragging&&w?g.swipeMove:null,onTouchEnd:w?g.swipeEnd:null,onTouchCancel:g.state.dragging&&w?g.swipeEnd:null,onKeyDown:g.props.accessibility?g.keyHandler:null},x={className:r,dir:"ltr"};return g.props.unslick&&(T={className:"slick-list"},x={className:r}),o.default.createElement("div",x,g.props.unslick?"":t,o.default.createElement("div",i({ref:g.listRefHandler},T),o.default.createElement(f.Track,i({ref:g.trackRefHandler},s),g.props.children)),g.props.unslick?"":n,g.props.unslick?"":e)},g.list=null,g.track=null,g.state=i({},s.default,{currentSlide:g.props.initialSlide,slideCount:o.default.Children.count(g.props.children)}),g.callbackTimers=[],g.clickable=!0,g.debouncedResize=null,g}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t}(o.default.Component)},5798:function(e,t,n){"use strict";t.__esModule=!0;var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i=c(n(28416)),o=n(58517),a=c(n(80973)),s=c(n(23492)),u=n(15518);function c(e){return e&&e.__esModule?e:{default:e}}var l=(0,u.canUseDOM)()&&n(24974),f=function(e){function t(n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var r=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,e.call(this,n));return r.innerSliderRefHandler=function(e){return r.innerSlider=e},r.slickPrev=function(){return r.innerSlider.slickPrev()},r.slickNext=function(){return r.innerSlider.slickNext()},r.slickGoTo=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return r.innerSlider.slickGoTo(e,t)},r.slickPause=function(){return r.innerSlider.pause("paused")},r.slickPlay=function(){return r.innerSlider.autoPlay("play")},r.state={breakpoint:null},r._responsiveMediaHandlers=[],r}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t.prototype.media=function(e,t){l.register(e,t),this._responsiveMediaHandlers.push({query:e,handler:t})},t.prototype.componentWillMount=function(){var e=this;if(this.props.responsive){var t=this.props.responsive.map((function(e){return e.breakpoint}));t.sort((function(e,t){return e-t})),t.forEach((function(n,r){var i=void 0;i=0===r?(0,a.default)({minWidth:0,maxWidth:n}):(0,a.default)({minWidth:t[r-1]+1,maxWidth:n}),(0,u.canUseDOM)()&&e.media(i,(function(){e.setState({breakpoint:n})}))}));var n=(0,a.default)({minWidth:t.slice(-1)[0]});(0,u.canUseDOM)()&&this.media(n,(function(){e.setState({breakpoint:null})}))}},t.prototype.componentWillUnmount=function(){this._responsiveMediaHandlers.forEach((function(e){l.unregister(e.query,e.handler)}))},t.prototype.render=function(){var e,t,n=this;(e=this.state.breakpoint?"unslick"===(t=this.props.responsive.filter((function(e){return e.breakpoint===n.state.breakpoint})))[0].settings?"unslick":r({},s.default,this.props,t[0].settings):r({},s.default,this.props)).centerMode&&(e.slidesToScroll,e.slidesToScroll=1),e.fade&&(e.slidesToShow,e.slidesToScroll,e.slidesToShow=1,e.slidesToScroll=1);var a=i.default.Children.toArray(this.props.children);a=a.filter((function(e){return"string"==typeof e?!!e.trim():!!e})),e.variableWidth&&(e.rows>1||e.slidesPerRow>1)&&(console.warn("variableWidth is not supported in case of rows > 1 or slidesPerRow > 1"),e.variableWidth=!1);for(var u=[],c=null,l=0;l<a.length;l+=e.rows*e.slidesPerRow){for(var f=[],d=l;d<l+e.rows*e.slidesPerRow;d+=e.slidesPerRow){for(var p=[],h=d;h<d+e.slidesPerRow&&(e.variableWidth&&a[h].props.style&&(c=a[h].props.style.width),!(h>=a.length));h+=1)p.push(i.default.cloneElement(a[h],{key:100*l+10*d+h,tabIndex:-1,style:{width:100/e.slidesPerRow+"%",display:"inline-block"}}));f.push(i.default.createElement("div",{key:10*l+d},p))}e.variableWidth?u.push(i.default.createElement("div",{key:l,style:{width:c}},f)):u.push(i.default.createElement("div",{key:l},f))}if("unslick"===e){var g="regular slider "+(this.props.className||"");return i.default.createElement("div",{className:g},u)}return u.length<=e.slidesToShow&&(e.unslick=!0),i.default.createElement(o.InnerSlider,r({ref:this.innerSliderRefHandler},e),u)},t}(i.default.Component);t.default=f},64740:function(e,t,n){"use strict";t.__esModule=!0,t.Track=void 0;var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i=s(n(28416)),o=s(n(94184)),a=n(15518);function s(e){return e&&e.__esModule?e:{default:e}}function u(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var l=function(e){var t,n,r,i,o;return r=(o=e.rtl?e.slideCount-1-e.index:e.index)<0||o>=e.slideCount,e.centerMode?(i=Math.floor(e.slidesToShow/2),n=(o-e.currentSlide)%e.slideCount==0,o>e.currentSlide-i-1&&o<=e.currentSlide+i&&(t=!0)):t=e.currentSlide<=o&&o<e.currentSlide+e.slidesToShow,{"slick-slide":!0,"slick-active":t,"slick-center":n,"slick-cloned":r,"slick-current":o===e.currentSlide}},f=function(e,t){return e.key||t},d=function(e){var t,n=[],s=[],u=[],c=i.default.Children.count(e.children),d=(0,a.lazyStartIndex)(e),p=(0,a.lazyEndIndex)(e);return i.default.Children.forEach(e.children,(function(h,g){var m=void 0,y={message:"children",index:g,slidesToScroll:e.slidesToScroll,currentSlide:e.currentSlide};m=!e.lazyLoad||e.lazyLoad&&e.lazyLoadedList.indexOf(g)>=0?h:i.default.createElement("div",null);var v=function(e){var t={};return void 0!==e.variableWidth&&!1!==e.variableWidth||(t.width=e.slideWidth),e.fade&&(t.position="relative",e.vertical?t.top=-e.index*parseInt(e.slideHeight):t.left=-e.index*parseInt(e.slideWidth),t.opacity=e.currentSlide===e.index?1:0,t.transition="opacity "+e.speed+"ms "+e.cssEase+", visibility "+e.speed+"ms "+e.cssEase,t.WebkitTransition="opacity "+e.speed+"ms "+e.cssEase+", visibility "+e.speed+"ms "+e.cssEase),t}(r({},e,{index:g})),b=m.props.className||"",_=l(r({},e,{index:g}));if(n.push(i.default.cloneElement(m,{key:"original"+f(m,g),"data-index":g,className:(0,o.default)(_,b),tabIndex:"-1","aria-hidden":!_["slick-active"],style:r({outline:"none"},m.props.style||{},v),onClick:function(t){m.props&&m.props.onClick&&m.props.onClick(t),e.focusOnSelect&&e.focusOnSelect(y)}})),e.infinite&&!1===e.fade){var w=c-g;w<=(0,a.getPreClones)(e)&&c!==e.slidesToShow&&((t=-w)>=d&&(m=h),_=l(r({},e,{index:t})),s.push(i.default.cloneElement(m,{key:"precloned"+f(m,t),"data-index":t,tabIndex:"-1",className:(0,o.default)(_,b),"aria-hidden":!_["slick-active"],style:r({},m.props.style||{},v),onClick:function(t){m.props&&m.props.onClick&&m.props.onClick(t),e.focusOnSelect&&e.focusOnSelect(y)}}))),c!==e.slidesToShow&&((t=c+g)<p&&(m=h),_=l(r({},e,{index:t})),u.push(i.default.cloneElement(m,{key:"postcloned"+f(m,t),"data-index":t,tabIndex:"-1",className:(0,o.default)(_,b),"aria-hidden":!_["slick-active"],style:r({},m.props.style||{},v),onClick:function(t){m.props&&m.props.onClick&&m.props.onClick(t),e.focusOnSelect&&e.focusOnSelect(y)}})))}})),e.rtl?s.concat(n,u).reverse():s.concat(n,u)};t.Track=function(e){function t(){return u(this,t),c(this,e.apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t.prototype.render=function(){var e=d(this.props),t=this.props,n={onMouseEnter:t.onMouseEnter,onMouseOver:t.onMouseOver,onMouseLeave:t.onMouseLeave};return i.default.createElement("div",r({className:"slick-track",style:this.props.trackStyle},n),e)},t}(i.default.PureComponent)},15518:function(e,t,n){"use strict";t.__esModule=!0,t.canUseDOM=t.slidesOnLeft=t.slidesOnRight=t.siblingDirection=t.getTotalSlides=t.getPostClones=t.getPreClones=t.getTrackLeft=t.getTrackAnimateCSS=t.getTrackCSS=t.checkSpecKeys=t.getSlideCount=t.checkNavigable=t.getNavigableIndexes=t.swipeEnd=t.swipeMove=t.swipeStart=t.keyHandler=t.changeSlide=t.slideHandler=t.initializedState=t.extractObject=t.canGoNext=t.getSwipeDirection=t.getHeight=t.getWidth=t.lazySlidesOnRight=t.lazySlidesOnLeft=t.lazyEndIndex=t.lazyStartIndex=t.getRequiredLazySlides=t.getOnDemandLazySlides=void 0;var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i=a(n(28416)),o=a(n(73935));function a(e){return e&&e.__esModule?e:{default:e}}var s=t.getOnDemandLazySlides=function(e){for(var t=[],n=u(e),r=c(e),i=n;i<r;i++)e.lazyLoadedList.indexOf(i)<0&&t.push(i);return t},u=(t.getRequiredLazySlides=function(e){for(var t=[],n=u(e),r=c(e),i=n;i<r;i++)t.push(i);return t},t.lazyStartIndex=function(e){return e.currentSlide-l(e)}),c=t.lazyEndIndex=function(e){return e.currentSlide+f(e)},l=t.lazySlidesOnLeft=function(e){return e.centerMode?Math.floor(e.slidesToShow/2)+(parseInt(e.centerPadding)>0?1:0):0},f=t.lazySlidesOnRight=function(e){return e.centerMode?Math.floor((e.slidesToShow-1)/2)+1+(parseInt(e.centerPadding)>0?1:0):e.slidesToShow},d=t.getWidth=function(e){return e&&e.offsetWidth||0},p=t.getHeight=function(e){return e&&e.offsetHeight||0},h=t.getSwipeDirection=function(e){var t,n,r,i,o=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return t=e.startX-e.curX,n=e.startY-e.curY,r=Math.atan2(n,t),(i=Math.round(180*r/Math.PI))<0&&(i=360-Math.abs(i)),i<=45&&i>=0||i<=360&&i>=315?"left":i>=135&&i<=225?"right":!0===o?i>=35&&i<=135?"up":"down":"vertical"},g=t.canGoNext=function(e){var t=!0;return e.infinite||(e.centerMode&&e.currentSlide>=e.slideCount-1||e.slideCount<=e.slidesToShow||e.currentSlide>=e.slideCount-e.slidesToShow)&&(t=!1),t},m=(t.extractObject=function(e,t){var n={};return t.forEach((function(t){return n[t]=e[t]})),n},t.initializedState=function(e){var t=i.default.Children.count(e.children),n=Math.ceil(d(o.default.findDOMNode(e.listRef))),r=Math.ceil(d(o.default.findDOMNode(e.trackRef))),a=void 0;if(e.vertical)a=n;else{var u=e.centerMode&&2*parseInt(e.centerPadding);"string"==typeof e.centerPadding&&"%"===e.centerPadding.slice(-1)&&(u*=n/100),a=Math.ceil((n-u)/e.slidesToShow)}var c=o.default.findDOMNode(e.listRef)&&p(o.default.findDOMNode(e.listRef).querySelector('[data-index="0"]')),l=c*e.slidesToShow,f=void 0===e.currentSlide?e.initialSlide:e.currentSlide;e.rtl&&void 0===e.currentSlide&&(f=t-1-e.initialSlide);var h=e.lazyLoadedList||[],g=s({currentSlide:f,lazyLoadedList:h},e);h.concat(g);var m={slideCount:t,slideWidth:a,listWidth:n,trackWidth:r,currentSlide:f,slideHeight:c,listHeight:l,lazyLoadedList:h};return null===e.autoplaying&&e.autoplay&&(m.autoplaying="playing"),m},t.slideHandler=function(e){var t=e.waitForAnimate,n=e.animating,i=e.fade,o=e.infinite,a=e.index,u=e.slideCount,c=e.lazyLoadedList,l=e.lazyLoad,f=e.currentSlide,d=e.centerMode,p=e.slidesToScroll,h=e.slidesToShow,m=e.useCSS;if(t&&n)return{};var y=a,v=void 0,b=void 0,x=void 0,S={},k={};if(i){if(!o&&(a<0||a>=u))return{};a<0?y=a+u:a>=u&&(y=a-u),l&&c.indexOf(y)<0&&c.push(y),S={animating:!0,currentSlide:y,lazyLoadedList:c},k={animating:!1}}else v=y,y<0?(v=y+u,o?u%p!=0&&(v=u-u%p):v=0):!g(e)&&y>f?y=v=f:d&&y>=u?(y=o?u:u-1,v=o?0:u-1):y>=u&&(v=y-u,o?u%p!=0&&(v=0):v=u-h),b=T(r({},e,{slideIndex:y})),x=T(r({},e,{slideIndex:v})),o||(b===x&&(y=v),b=x),l&&c.concat(s(r({},e,{currentSlide:y}))),m?(S={animating:!0,currentSlide:v,trackStyle:w(r({},e,{left:b})),lazyLoadedList:c},k={animating:!1,currentSlide:v,trackStyle:_(r({},e,{left:x})),swipeLeft:null}):S={currentSlide:v,trackStyle:_(r({},e,{left:x})),lazyLoadedList:c};return{state:S,nextState:k}},t.changeSlide=function(e,t){var n,i,o,a,s=e.slidesToScroll,u=e.slidesToShow,c=e.slideCount,l=e.currentSlide,f=e.lazyLoad,d=e.infinite;if(n=c%s!=0?0:(c-l)%s,"previous"===t.message)a=l-(o=0===n?s:u-n),f&&!d&&(a=-1===(i=l-o)?c-1:i);else if("next"===t.message)a=l+(o=0===n?s:n),f&&!d&&(a=(l+s)%c+n);else if("dots"===t.message){if((a=t.index*t.slidesToScroll)===t.currentSlide)return null}else if("children"===t.message){if((a=t.index)===t.currentSlide)return null;if(d){var p=E(r({},e,{targetSlide:a}));a>t.currentSlide&&"left"===p?a-=c:a<t.currentSlide&&"right"===p&&(a+=c)}}else if("index"===t.message&&(a=Number(t.index))===t.currentSlide)return null;return a},t.keyHandler=function(e,t,n){return e.target.tagName.match("TEXTAREA|INPUT|SELECT")||!t?"":37===e.keyCode?n?"next":"previous":39===e.keyCode?n?"previous":"next":""},t.swipeStart=function(e,t,n){return"IMG"===e.target.tagName&&e.preventDefault(),!t||!n&&-1!==e.type.indexOf("mouse")?"":{dragging:!0,touchObject:{startX:e.touches?e.touches[0].pageX:e.clientX,startY:e.touches?e.touches[0].pageY:e.clientY,curX:e.touches?e.touches[0].pageX:e.clientX,curY:e.touches?e.touches[0].pageY:e.clientY}}},t.swipeMove=function(e,t){var n=t.scrolling,i=t.animating,o=t.vertical,a=t.swipeToSlide,s=t.verticalSwiping,u=t.rtl,c=t.currentSlide,l=t.edgeFriction,f=t.edgeDragged,d=t.onEdge,p=t.swiped,m=t.swiping,y=t.slideCount,v=t.slidesToScroll,b=t.infinite,w=t.touchObject,x=t.swipeEvent,S=t.listHeight,k=t.listWidth;if(!n){if(i)return e.preventDefault();o&&a&&s&&e.preventDefault();var E=void 0,O={},C=T(t);w.curX=e.touches?e.touches[0].pageX:e.clientX,w.curY=e.touches?e.touches[0].pageY:e.clientY,w.swipeLength=Math.round(Math.sqrt(Math.pow(w.curX-w.startX,2)));var L=Math.round(Math.sqrt(Math.pow(w.curY-w.startY,2)));if(!s&&!m&&L>10)return{scrolling:!0};s&&(w.swipeLength=L);var A=(u?-1:1)*(w.curX>w.startX?1:-1);s&&(A=w.curY>w.startY?1:-1);var I=Math.ceil(y/v),P=h(t.touchObject,s),M=w.swipeLength;return b||(0===c&&"right"===P||c+1>=I&&"left"===P||!g(t)&&"left"===P)&&(M=w.swipeLength*l,!1===f&&d&&(d(P),O.edgeDragged=!0)),!p&&x&&(x(P),O.swiped=!0),E=o?C+M*(S/k)*A:u?C-M*A:C+M*A,s&&(E=C+M*A),O=r({},O,{touchObject:w,swipeLeft:E,trackStyle:_(r({},t,{left:E}))}),Math.abs(w.curX-w.startX)<.8*Math.abs(w.curY-w.startY)?O:(w.swipeLength>10&&(O.swiping=!0,e.preventDefault()),O)}},t.swipeEnd=function(e,t){var n=t.dragging,i=t.swipe,o=t.touchObject,a=t.listWidth,s=t.touchThreshold,u=t.verticalSwiping,c=t.listHeight,l=t.currentSlide,f=t.swipeToSlide,d=t.scrolling,p=t.onSwipe;if(!n)return i&&e.preventDefault(),{};var g=u?c/s:a/s,m=h(o,u),b={dragging:!1,edgeDragged:!1,scrolling:!1,swiping:!1,swiped:!1,swipeLeft:null,touchObject:{}};if(d)return b;if(!o.swipeLength)return b;if(o.swipeLength>g){e.preventDefault(),p&&p(m);var _=void 0,x=void 0;switch(m){case"left":case"up":x=l+v(t),_=f?y(t,x):x,b.currentDirection=0;break;case"right":case"down":x=l-v(t),_=f?y(t,x):x,b.currentDirection=1;break;default:_=l}b.triggerSlideHandler=_}else{var S=T(t);b.trackStyle=w(r({},t,{left:S}))}return b},t.getNavigableIndexes=function(e){for(var t=e.infinite?2*e.slideCount:e.slideCount,n=e.infinite?-1*e.slidesToShow:0,r=e.infinite?-1*e.slidesToShow:0,i=[];n<t;)i.push(n),n=r+e.slidesToScroll,r+=Math.min(e.slidesToScroll,e.slidesToShow);return i}),y=t.checkNavigable=function(e,t){var n=m(e),r=0;if(t>n[n.length-1])t=n[n.length-1];else for(var i in n){if(t<n[i]){t=r;break}r=n[i]}return t},v=t.getSlideCount=function(e){var t=e.centerMode?e.slideWidth*Math.floor(e.slidesToShow/2):0;if(e.swipeToSlide){var n=void 0,r=o.default.findDOMNode(e.listRef).querySelectorAll(".slick-slide");if(Array.from(r).every((function(r){if(e.vertical){if(r.offsetTop+p(r)/2>-1*e.swipeLeft)return n=r,!1}else if(r.offsetLeft-t+d(r)/2>-1*e.swipeLeft)return n=r,!1;return!0})),!n)return 0;var i=!0===e.rtl?e.slideCount-e.currentSlide:e.currentSlide;return Math.abs(n.dataset.index-i)||1}return e.slidesToScroll},b=t.checkSpecKeys=function(e,t){return t.reduce((function(t,n){return t&&e.hasOwnProperty(n)}),!0)?null:console.error("Keys Missing:",e)},_=t.getTrackCSS=function(e){b(e,["left","variableWidth","slideCount","slidesToShow","slideWidth"]);var t=void 0,n=void 0,i=e.slideCount+2*e.slidesToShow;e.vertical?n=i*e.slideHeight:t=k(e)*e.slideWidth;var o={opacity:1,transition:"",WebkitTransition:""};if(e.useTransform){var a=e.vertical?"translate3d(0px, "+e.left+"px, 0px)":"translate3d("+e.left+"px, 0px, 0px)",s=e.vertical?"translate3d(0px, "+e.left+"px, 0px)":"translate3d("+e.left+"px, 0px, 0px)",u=e.vertical?"translateY("+e.left+"px)":"translateX("+e.left+"px)";o=r({},o,{WebkitTransform:a,transform:s,msTransform:u})}else e.vertical?o.top=e.left:o.left=e.left;return e.fade&&(o={opacity:1}),t&&(o.width=t),n&&(o.height=n),window&&!window.addEventListener&&window.attachEvent&&(e.vertical?o.marginTop=e.left+"px":o.marginLeft=e.left+"px"),o},w=t.getTrackAnimateCSS=function(e){b(e,["left","variableWidth","slideCount","slidesToShow","slideWidth","speed","cssEase"]);var t=_(e);return e.useTransform?(t.WebkitTransition="-webkit-transform "+e.speed+"ms "+e.cssEase,t.transition="transform "+e.speed+"ms "+e.cssEase):e.vertical?t.transition="top "+e.speed+"ms "+e.cssEase:t.transition="left "+e.speed+"ms "+e.cssEase,t},T=t.getTrackLeft=function(e){if(e.unslick)return 0;b(e,["slideIndex","trackRef","infinite","centerMode","slideCount","slidesToShow","slidesToScroll","slideWidth","listWidth","variableWidth","slideHeight"]);var t,n,r=e.slideIndex,i=e.trackRef,a=e.infinite,s=e.centerMode,u=e.slideCount,c=e.slidesToShow,l=e.slidesToScroll,f=e.slideWidth,d=e.listWidth,p=e.variableWidth,h=e.slideHeight,g=e.fade,m=e.vertical;if(g||1===e.slideCount)return 0;var y=0;if(a?(y=-x(e),u%l!=0&&r+l>u&&(y=-(r>u?c-(r-u):u%l)),s&&(y+=parseInt(c/2))):(u%l!=0&&r+l>u&&(y=c-u%l),s&&(y=parseInt(c/2))),t=m?r*h*-1+y*h:r*f*-1+y*f,!0===p){var v,_=o.default.findDOMNode(i);if(v=r+x(e),t=(n=_&&_.childNodes[v])?-1*n.offsetLeft:0,!0===s){v=a?r+x(e):r,n=_&&_.children[v],t=0;for(var w=0;w<v;w++)t-=_&&_.children[w]&&_.children[w].offsetWidth;t-=parseInt(e.centerPadding),t+=n&&(d-n.offsetWidth)/2}}return t},x=t.getPreClones=function(e){return e.unslick||!e.infinite?0:e.variableWidth?e.slideCount:e.slidesToShow+(e.centerMode?1:0)},S=t.getPostClones=function(e){return e.unslick||!e.infinite?0:e.slideCount},k=t.getTotalSlides=function(e){return 1===e.slideCount?1:x(e)+e.slideCount+S(e)},E=t.siblingDirection=function(e){return e.targetSlide>e.currentSlide?e.targetSlide>e.currentSlide+O(e)?"left":"right":e.targetSlide<e.currentSlide-C(e)?"right":"left"},O=t.slidesOnRight=function(e){var t=e.slidesToShow,n=e.centerMode,r=e.rtl,i=e.centerPadding;if(n){var o=(t-1)/2+1;return parseInt(i)>0&&(o+=1),r&&t%2==0&&(o+=1),o}return r?0:t-1},C=t.slidesOnLeft=function(e){var t=e.slidesToShow,n=e.centerMode,r=e.rtl,i=e.centerPadding;if(n){var o=(t-1)/2+1;return parseInt(i)>0&&(o+=1),r||t%2!=0||(o+=1),o}return r?t-1:0};t.canUseDOM=function(){return!("undefined"==typeof window||!window.document||!window.document.createElement)}},64207:function(e,t,n){"use strict";n.r(t);var r=function(){if("undefined"!=typeof Map)return Map;function e(e,t){var n=-1;return e.some((function(e,r){return e[0]===t&&(n=r,!0)})),n}return function(){function t(){this.__entries__=[]}var n={size:{configurable:!0}};return n.size.get=function(){return this.__entries__.length},t.prototype.get=function(t){var n=e(this.__entries__,t),r=this.__entries__[n];return r&&r[1]},t.prototype.set=function(t,n){var r=e(this.__entries__,t);~r?this.__entries__[r][1]=n:this.__entries__.push([t,n])},t.prototype.delete=function(t){var n=this.__entries__,r=e(n,t);~r&&n.splice(r,1)},t.prototype.has=function(t){return!!~e(this.__entries__,t)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(e,t){void 0===t&&(t=null);for(var n=0,r=this.__entries__;n<r.length;n+=1){var i=r[n];e.call(t,i[1],i[0])}},Object.defineProperties(t.prototype,n),t}()}(),i="undefined"!=typeof window&&"undefined"!=typeof document&&window.document===document,o=void 0!==n.g&&n.g.Math===Math?n.g:"undefined"!=typeof self&&self.Math===Math?self:"undefined"!=typeof window&&window.Math===Math?window:Function("return this")(),a="function"==typeof requestAnimationFrame?requestAnimationFrame.bind(o):function(e){return setTimeout((function(){return e(Date.now())}),1e3/60)},s=["top","right","bottom","left","width","height","size","weight"],u="undefined"!=typeof MutationObserver,c=function(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=function(e,t){var n=!1,r=!1,i=0;function o(){n&&(n=!1,e()),r&&u()}function s(){a(o)}function u(){var e=Date.now();if(n){if(e-i<2)return;r=!0}else n=!0,r=!1,setTimeout(s,t);i=e}return u}(this.refresh.bind(this),20)};c.prototype.addObserver=function(e){~this.observers_.indexOf(e)||this.observers_.push(e),this.connected_||this.connect_()},c.prototype.removeObserver=function(e){var t=this.observers_,n=t.indexOf(e);~n&&t.splice(n,1),!t.length&&this.connected_&&this.disconnect_()},c.prototype.refresh=function(){this.updateObservers_()&&this.refresh()},c.prototype.updateObservers_=function(){var e=this.observers_.filter((function(e){return e.gatherActive(),e.hasActive()}));return e.forEach((function(e){return e.broadcastActive()})),e.length>0},c.prototype.connect_=function(){i&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),u?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},c.prototype.disconnect_=function(){i&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},c.prototype.onTransitionEnd_=function(e){var t=e.propertyName;void 0===t&&(t=""),s.some((function(e){return!!~t.indexOf(e)}))&&this.refresh()},c.getInstance=function(){return this.instance_||(this.instance_=new c),this.instance_},c.instance_=null;var l=function(e,t){for(var n=0,r=Object.keys(t);n<r.length;n+=1){var i=r[n];Object.defineProperty(e,i,{value:t[i],enumerable:!1,writable:!1,configurable:!0})}return e},f=function(e){return e&&e.ownerDocument&&e.ownerDocument.defaultView||o},d=v(0,0,0,0);function p(e){return parseFloat(e)||0}function h(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];return t.reduce((function(t,n){return t+p(e["border-"+n+"-width"])}),0)}function g(e){var t=e.clientWidth,n=e.clientHeight;if(!t&&!n)return d;var r=f(e).getComputedStyle(e),i=function(e){for(var t={},n=0,r=["top","right","bottom","left"];n<r.length;n+=1){var i=r[n],o=e["padding-"+i];t[i]=p(o)}return t}(r),o=i.left+i.right,a=i.top+i.bottom,s=p(r.width),u=p(r.height);if("border-box"===r.boxSizing&&(Math.round(s+o)!==t&&(s-=h(r,"left","right")+o),Math.round(u+a)!==n&&(u-=h(r,"top","bottom")+a)),!function(e){return e===f(e).document.documentElement}(e)){var c=Math.round(s+o)-t,l=Math.round(u+a)-n;1!==Math.abs(c)&&(s-=c),1!==Math.abs(l)&&(u-=l)}return v(i.left,i.top,s,u)}var m="undefined"!=typeof SVGGraphicsElement?function(e){return e instanceof f(e).SVGGraphicsElement}:function(e){return e instanceof f(e).SVGElement&&"function"==typeof e.getBBox};function y(e){return i?m(e)?function(e){var t=e.getBBox();return v(0,0,t.width,t.height)}(e):g(e):d}function v(e,t,n,r){return{x:e,y:t,width:n,height:r}}var b=function(e){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=v(0,0,0,0),this.target=e};b.prototype.isActive=function(){var e=y(this.target);return this.contentRect_=e,e.width!==this.broadcastWidth||e.height!==this.broadcastHeight},b.prototype.broadcastRect=function(){var e=this.contentRect_;return this.broadcastWidth=e.width,this.broadcastHeight=e.height,e};var _=function(e,t){var n,r,i,o,a,s,u,c=(r=(n=t).x,i=n.y,o=n.width,a=n.height,s="undefined"!=typeof DOMRectReadOnly?DOMRectReadOnly:Object,u=Object.create(s.prototype),l(u,{x:r,y:i,width:o,height:a,top:i,right:r+o,bottom:a+i,left:r}),u);l(this,{target:e,contentRect:c})},w=function(e,t,n){if(this.activeObservations_=[],this.observations_=new r,"function"!=typeof e)throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=e,this.controller_=t,this.callbackCtx_=n};w.prototype.observe=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(e instanceof f(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)||(t.set(e,new b(e)),this.controller_.addObserver(this),this.controller_.refresh())}},w.prototype.unobserve=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(e instanceof f(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)&&(t.delete(e),t.size||this.controller_.removeObserver(this))}},w.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},w.prototype.gatherActive=function(){var e=this;this.clearActive(),this.observations_.forEach((function(t){t.isActive()&&e.activeObservations_.push(t)}))},w.prototype.broadcastActive=function(){if(this.hasActive()){var e=this.callbackCtx_,t=this.activeObservations_.map((function(e){return new _(e.target,e.broadcastRect())}));this.callback_.call(e,t,e),this.clearActive()}},w.prototype.clearActive=function(){this.activeObservations_.splice(0)},w.prototype.hasActive=function(){return this.activeObservations_.length>0};var T="undefined"!=typeof WeakMap?new WeakMap:new r,x=function(e){if(!(this instanceof x))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var t=c.getInstance(),n=new w(e,t,this);T.set(this,n)};["observe","unobserve","disconnect"].forEach((function(e){x.prototype[e]=function(){return(t=T.get(this))[e].apply(t,arguments);var t}}));var S=void 0!==o.ResizeObserver?o.ResizeObserver:x;t.default=S},37723:function(e,t,n){"use strict";n.d(t,{Z:function(){return p}});var r=n(87462),i=n(63366),o=n(94578);function a(e,t){return e.replace(new RegExp("(^|\\s)"+t+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}var s=n(28416),u=n.n(s),c=n(12666),l=n(59391),f=function(e,t){return e&&t&&t.split(" ").forEach((function(t){return r=t,void((n=e).classList?n.classList.remove(r):"string"==typeof n.className?n.className=a(n.className,r):n.setAttribute("class",a(n.className&&n.className.baseVal||"",r)));var n,r}))},d=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return(t=e.call.apply(e,[this].concat(r))||this).appliedClasses={appear:{},enter:{},exit:{}},t.onEnter=function(e,n){var r=t.resolveArguments(e,n),i=r[0],o=r[1];t.removeClasses(i,"exit"),t.addClass(i,o?"appear":"enter","base"),t.props.onEnter&&t.props.onEnter(e,n)},t.onEntering=function(e,n){var r=t.resolveArguments(e,n),i=r[0],o=r[1]?"appear":"enter";t.addClass(i,o,"active"),t.props.onEntering&&t.props.onEntering(e,n)},t.onEntered=function(e,n){var r=t.resolveArguments(e,n),i=r[0],o=r[1]?"appear":"enter";t.removeClasses(i,o),t.addClass(i,o,"done"),t.props.onEntered&&t.props.onEntered(e,n)},t.onExit=function(e){var n=t.resolveArguments(e)[0];t.removeClasses(n,"appear"),t.removeClasses(n,"enter"),t.addClass(n,"exit","base"),t.props.onExit&&t.props.onExit(e)},t.onExiting=function(e){var n=t.resolveArguments(e)[0];t.addClass(n,"exit","active"),t.props.onExiting&&t.props.onExiting(e)},t.onExited=function(e){var n=t.resolveArguments(e)[0];t.removeClasses(n,"exit"),t.addClass(n,"exit","done"),t.props.onExited&&t.props.onExited(e)},t.resolveArguments=function(e,n){return t.props.nodeRef?[t.props.nodeRef.current,e]:[e,n]},t.getClassNames=function(e){var n=t.props.classNames,r="string"==typeof n,i=r?""+(r&&n?n+"-":"")+e:n[e];return{baseClassName:i,activeClassName:r?i+"-active":n[e+"Active"],doneClassName:r?i+"-done":n[e+"Done"]}},t}(0,o.Z)(t,e);var n=t.prototype;return n.addClass=function(e,t,n){var r=this.getClassNames(t)[n+"ClassName"],i=this.getClassNames("enter").doneClassName;"appear"===t&&"done"===n&&i&&(r+=" "+i),"active"===n&&e&&(0,l.Q)(e),r&&(this.appliedClasses[t][n]=r,function(e,t){e&&t&&t.split(" ").forEach((function(t){return r=t,void((n=e).classList?n.classList.add(r):function(e,t){return e.classList?!!t&&e.classList.contains(t):-1!==(" "+(e.className.baseVal||e.className)+" ").indexOf(" "+t+" ")}(n,r)||("string"==typeof n.className?n.className=n.className+" "+r:n.setAttribute("class",(n.className&&n.className.baseVal||"")+" "+r)));var n,r}))}(e,r))},n.removeClasses=function(e,t){var n=this.appliedClasses[t],r=n.base,i=n.active,o=n.done;this.appliedClasses[t]={},r&&f(e,r),i&&f(e,i),o&&f(e,o)},n.render=function(){var e=this.props,t=(e.classNames,(0,i.Z)(e,["classNames"]));return u().createElement(c.ZP,(0,r.Z)({},t,{onEnter:this.onEnter,onEntered:this.onEntered,onEntering:this.onEntering,onExit:this.onExit,onExiting:this.onExiting,onExited:this.onExited}))},t}(u().Component);d.defaultProps={classNames:""},d.propTypes={};var p=d},12666:function(e,t,n){"use strict";n.d(t,{ZP:function(){return v}});var r=n(63366),i=n(94578),o=n(28416),a=n.n(o),s=n(73935),u=!1,c=n(220),l=n(59391),f="unmounted",d="exited",p="entering",h="entered",g="exiting",m=function(e){function t(t,n){var r;r=e.call(this,t,n)||this;var i,o=n&&!n.isMounting?t.enter:t.appear;return r.appearStatus=null,t.in?o?(i=d,r.appearStatus=p):i=h:i=t.unmountOnExit||t.mountOnEnter?f:d,r.state={status:i},r.nextCallback=null,r}(0,i.Z)(t,e),t.getDerivedStateFromProps=function(e,t){return e.in&&t.status===f?{status:d}:null};var n=t.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(e){var t=null;if(e!==this.props){var n=this.state.status;this.props.in?n!==p&&n!==h&&(t=p):n!==p&&n!==h||(t=g)}this.updateStatus(!1,t)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var e,t,n,r=this.props.timeout;return e=t=n=r,null!=r&&"number"!=typeof r&&(e=r.exit,t=r.enter,n=void 0!==r.appear?r.appear:t),{exit:e,enter:t,appear:n}},n.updateStatus=function(e,t){if(void 0===e&&(e=!1),null!==t)if(this.cancelNextCallback(),t===p){if(this.props.unmountOnExit||this.props.mountOnEnter){var n=this.props.nodeRef?this.props.nodeRef.current:s.findDOMNode(this);n&&(0,l.Q)(n)}this.performEnter(e)}else this.performExit();else this.props.unmountOnExit&&this.state.status===d&&this.setState({status:f})},n.performEnter=function(e){var t=this,n=this.props.enter,r=this.context?this.context.isMounting:e,i=this.props.nodeRef?[r]:[s.findDOMNode(this),r],o=i[0],a=i[1],c=this.getTimeouts(),l=r?c.appear:c.enter;!e&&!n||u?this.safeSetState({status:h},(function(){t.props.onEntered(o)})):(this.props.onEnter(o,a),this.safeSetState({status:p},(function(){t.props.onEntering(o,a),t.onTransitionEnd(l,(function(){t.safeSetState({status:h},(function(){t.props.onEntered(o,a)}))}))})))},n.performExit=function(){var e=this,t=this.props.exit,n=this.getTimeouts(),r=this.props.nodeRef?void 0:s.findDOMNode(this);t&&!u?(this.props.onExit(r),this.safeSetState({status:g},(function(){e.props.onExiting(r),e.onTransitionEnd(n.exit,(function(){e.safeSetState({status:d},(function(){e.props.onExited(r)}))}))}))):this.safeSetState({status:d},(function(){e.props.onExited(r)}))},n.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},n.setNextCallback=function(e){var t=this,n=!0;return this.nextCallback=function(r){n&&(n=!1,t.nextCallback=null,e(r))},this.nextCallback.cancel=function(){n=!1},this.nextCallback},n.onTransitionEnd=function(e,t){this.setNextCallback(t);var n=this.props.nodeRef?this.props.nodeRef.current:s.findDOMNode(this),r=null==e&&!this.props.addEndListener;if(n&&!r){if(this.props.addEndListener){var i=this.props.nodeRef?[this.nextCallback]:[n,this.nextCallback],o=i[0],a=i[1];this.props.addEndListener(o,a)}null!=e&&setTimeout(this.nextCallback,e)}else setTimeout(this.nextCallback,0)},n.render=function(){var e=this.state.status;if(e===f)return null;var t=this.props,n=t.children,i=(t.in,t.mountOnEnter,t.unmountOnExit,t.appear,t.enter,t.exit,t.timeout,t.addEndListener,t.onEnter,t.onEntering,t.onEntered,t.onExit,t.onExiting,t.onExited,t.nodeRef,(0,r.Z)(t,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]));return a().createElement(c.Z.Provider,{value:null},"function"==typeof n?n(e,i):a().cloneElement(a().Children.only(n),i))},t}(a().Component);function y(){}m.contextType=c.Z,m.propTypes={},m.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:y,onEntering:y,onEntered:y,onExit:y,onExiting:y,onExited:y},m.UNMOUNTED=f,m.EXITED=d,m.ENTERING=p,m.ENTERED=h,m.EXITING=g;var v=m},94537:function(e,t,n){"use strict";n.d(t,{Z:function(){return g}});var r=n(63366),i=n(87462),o=n(97326),a=n(94578),s=n(28416),u=n.n(s),c=n(220);function l(e,t){var n=Object.create(null);return e&&s.Children.map(e,(function(e){return e})).forEach((function(e){n[e.key]=function(e){return t&&(0,s.isValidElement)(e)?t(e):e}(e)})),n}function f(e,t,n){return null!=n[t]?n[t]:e.props[t]}function d(e,t,n){var r=l(e.children),i=function(e,t){function n(n){return n in t?t[n]:e[n]}e=e||{},t=t||{};var r,i=Object.create(null),o=[];for(var a in e)a in t?o.length&&(i[a]=o,o=[]):o.push(a);var s={};for(var u in t){if(i[u])for(r=0;r<i[u].length;r++){var c=i[u][r];s[i[u][r]]=n(c)}s[u]=n(u)}for(r=0;r<o.length;r++)s[o[r]]=n(o[r]);return s}(t,r);return Object.keys(i).forEach((function(o){var a=i[o];if((0,s.isValidElement)(a)){var u=o in t,c=o in r,l=t[o],d=(0,s.isValidElement)(l)&&!l.props.in;!c||u&&!d?c||!u||d?c&&u&&(0,s.isValidElement)(l)&&(i[o]=(0,s.cloneElement)(a,{onExited:n.bind(null,a),in:l.props.in,exit:f(a,"exit",e),enter:f(a,"enter",e)})):i[o]=(0,s.cloneElement)(a,{in:!1}):i[o]=(0,s.cloneElement)(a,{onExited:n.bind(null,a),in:!0,exit:f(a,"exit",e),enter:f(a,"enter",e)})}})),i}var p=Object.values||function(e){return Object.keys(e).map((function(t){return e[t]}))},h=function(e){function t(t,n){var r,i=(r=e.call(this,t,n)||this).handleExited.bind((0,o.Z)(r));return r.state={contextValue:{isMounting:!0},handleExited:i,firstRender:!0},r}(0,a.Z)(t,e);var n=t.prototype;return n.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},n.componentWillUnmount=function(){this.mounted=!1},t.getDerivedStateFromProps=function(e,t){var n,r,i=t.children,o=t.handleExited;return{children:t.firstRender?(n=e,r=o,l(n.children,(function(e){return(0,s.cloneElement)(e,{onExited:r.bind(null,e),in:!0,appear:f(e,"appear",n),enter:f(e,"enter",n),exit:f(e,"exit",n)})}))):d(e,i,o),firstRender:!1}},n.handleExited=function(e,t){var n=l(this.props.children);e.key in n||(e.props.onExited&&e.props.onExited(t),this.mounted&&this.setState((function(t){var n=(0,i.Z)({},t.children);return delete n[e.key],{children:n}})))},n.render=function(){var e=this.props,t=e.component,n=e.childFactory,i=(0,r.Z)(e,["component","childFactory"]),o=this.state.contextValue,a=p(this.state.children).map(n);return delete i.appear,delete i.enter,delete i.exit,null===t?u().createElement(c.Z.Provider,{value:o},a):u().createElement(c.Z.Provider,{value:o},u().createElement(t,i,a))},t}(u().Component);h.propTypes={},h.defaultProps={component:"div",childFactory:function(e){return e}};var g=h},220:function(e,t,n){"use strict";var r=n(28416),i=n.n(r);t.Z=i().createContext(null)},59391:function(e,t,n){"use strict";n.d(t,{Q:function(){return r}});var r=function(e){return e.scrollTop}},18127:function(e,t,n){"use strict";var r=n(28416);t.Z=function(e){(0,r.useEffect)(e,[])}},97809:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=n(28416),i="object"==typeof window,o=(n(38252),i?window:null),a=function(e){return!!e.addEventListener},s=function(e){return!!e.on},u=function(e,t,n,i){void 0===n&&(n=o),(0,r.useEffect)((function(){if(t&&n)return a(n)?n.addEventListener(e,t,i):s(n)&&n.on(e,t,i),function(){a(n)?n.removeEventListener(e,t,i):s(n)&&n.off(e,t,i)}}),[e,t,n,JSON.stringify(i)])}},30644:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(28416);function i(){var e=(0,r.useRef)(!0);return e.current?(e.current=!1,!0):e.current}},80621:function(e,t,n){"use strict";var r=n(28416);t.Z=function(e,t){var n=(0,r.useState)(null),i=n[0],o=n[1];return(0,r.useEffect)((function(){if(e.current&&"function"==typeof IntersectionObserver){var n=new IntersectionObserver((function(e){o(e[0])}),t);return n.observe(e.current),function(){o(null),n.disconnect()}}return function(){}}),[e.current,t.threshold,t.root,t.rootMargin]),i}},38477:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(28416),i=n(97809),o=function(){},a=function(e,t,n,a){void 0===t&&(t=o),void 0===n&&(n={}),void 0===a&&(a=[e]);var s=n.event,u=void 0===s?"keydown":s,c=n.target,l=n.options,f=(0,r.useMemo)((function(){var n,r="function"==typeof(n=e)?n:"string"==typeof n?function(e){return e.key===n}:n?function(){return!0}:function(){return!1};return function(e){if(r(e))return t(e)}}),a);(0,i.Z)(u,f,c,l)},s=function(e){var t=(0,r.useState)([!1,null]),n=t[0],i=t[1];return a(e,(function(e){return i([!0,e])}),{event:"keydown"},[n]),a(e,(function(e){return i([!1,e])}),{event:"keyup"},[n]),n},u=n(30644),c=function(e,t){var n=(0,u.Z)();(0,r.useEffect)((function(){if(!n)return e()}),t)},l=function(e,t,n,r){void 0===r&&(r=s);var i=r(e),o=i[0],a=i[1];c((function(){!o&&n?n(a):o&&t&&t(a)}),[o])}},74753:function(e,t,n){"use strict";var r=n(28416);t.Z=function(e,t){(0,r.useEffect)((function(){return e&&e(),function(){t&&t()}}),[])}},89048:function(e,t,n){"use strict";var r=n(18127);t.Z=function(e){(0,r.Z)((function(){e()}))}},37176:function(e,t,n){"use strict";var r=n(28416);t.Z=function(e){var t=(0,r.useRef)();return(0,r.useEffect)((function(){t.current=e})),t.current}},15451:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(99376),i=n(28416),o=function(e,t,n){var r=(0,i.useRef)(void 0);r.current&&n(t,r.current)||(r.current=t),(0,i.useEffect)(e,r.current)},a=function(e,t){return e.every((function(e,n){return(0,r.D)(e,t[n])}))},s=function(e,t){o(e,t,a)}},14428:function(e,t,n){"use strict";var r=n(28416),i={restoreOnUnmount:!1};t.Z="undefined"!=typeof document?function(e,t){void 0===t&&(t=i);var n=(0,r.useRef)(document.title);document.title=e,(0,r.useEffect)((function(){return t&&t.restoreOnUnmount?function(){document.title=n.current}:void 0}),[])}:function(e){}},77823:function(e,t,n){"use strict";var r=n(28416),i=n(18127);t.Z=function(e){var t=(0,r.useRef)(e);t.current=e,(0,i.Z)((function(){return function(){return t.current()}}))}},16713:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(28416);t.default=function(e){r.useEffect(e,[])}},73969:function(e,t,n){"use strict";var r=n(28416),i=n(85987).isClient?window:null,o=function(e){return!!e.addEventListener},a=function(e){return!!e.on};t.Z=function(e,t,n,s){void 0===n&&(n=i),r.useEffect((function(){if(t&&n)return o(n)?n.addEventListener(e,t,s):a(n)&&n.on(e,t,s),function(){o(n)?n.removeEventListener(e,t,s):a(n)&&n.off(e,t,s)}}),[e,t,n,JSON.stringify(s)])}},70902:function(e,t,n){"use strict";var r=n(5272).__importDefault(n(16713));t.Z=function(e){r.default((function(){e()}))}},68434:function(e,t,n){"use strict";var r=n(28416);t.Z=function(e){var t=r.useRef();return r.useEffect((function(){t.current=e})),t.current}},85987:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isClient="object"==typeof window,t.on=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return e.addEventListener.apply(e,t)},t.off=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return e.removeEventListener.apply(e,t)},t.isDeepEqual=n(38252)},5272:function(e,t,n){"use strict";n.r(t),n.d(t,{__assign:function(){return o},__asyncDelegator:function(){return b},__asyncGenerator:function(){return v},__asyncValues:function(){return _},__await:function(){return y},__awaiter:function(){return l},__classPrivateFieldGet:function(){return S},__classPrivateFieldSet:function(){return k},__decorate:function(){return s},__exportStar:function(){return d},__extends:function(){return i},__generator:function(){return f},__importDefault:function(){return x},__importStar:function(){return T},__makeTemplateObject:function(){return w},__metadata:function(){return c},__param:function(){return u},__read:function(){return h},__rest:function(){return a},__spread:function(){return g},__spreadArrays:function(){return m},__values:function(){return p}});var r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},r(e,t)};function i(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var o=function(){return o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},o.apply(this,arguments)};function a(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n}function s(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a}function u(e,t){return function(n,r){t(n,r,e)}}function c(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}function l(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{u(r.next(e))}catch(e){o(e)}}function s(e){try{u(r.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}u((r=r.apply(e,t||[])).next())}))}function f(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(i=a.trys,(i=i.length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}}function d(e,t){for(var n in e)t.hasOwnProperty(n)||(t[n]=e[n])}function p(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function h(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)a.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a}function g(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(h(arguments[t]));return e}function m(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var r=Array(e),i=0;for(t=0;t<n;t++)for(var o=arguments[t],a=0,s=o.length;a<s;a++,i++)r[i]=o[a];return r}function y(e){return this instanceof y?(this.v=e,this):new y(e)}function v(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,i=n.apply(e,t||[]),o=[];return r={},a("next"),a("throw"),a("return"),r[Symbol.asyncIterator]=function(){return this},r;function a(e){i[e]&&(r[e]=function(t){return new Promise((function(n,r){o.push([e,t,n,r])>1||s(e,t)}))})}function s(e,t){try{(n=i[e](t)).value instanceof y?Promise.resolve(n.value.v).then(u,c):l(o[0][2],n)}catch(e){l(o[0][3],e)}var n}function u(e){s("next",e)}function c(e){s("throw",e)}function l(e,t){e(t),o.shift(),o.length&&s(o[0][0],o[0][1])}}function b(e){var t,n;return t={},r("next"),r("throw",(function(e){throw e})),r("return"),t[Symbol.iterator]=function(){return this},t;function r(r,i){t[r]=e[r]?function(t){return(n=!n)?{value:y(e[r](t)),done:"return"===r}:i?i(t):t}:i}}function _(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=p(e),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(n){t[n]=e[n]&&function(t){return new Promise((function(r,i){(function(e,t,n,r){Promise.resolve(r).then((function(t){e({value:t,done:n})}),t)})(r,i,(t=e[n](t)).done,t.value)}))}}}function w(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}function T(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function x(e){return e&&e.__esModule?e:{default:e}}function S(e,t){if(!t.has(e))throw new TypeError("attempted to get private field on non-instance");return t.get(e)}function k(e,t,n){if(!t.has(e))throw new TypeError("attempted to set private field on non-instance");return t.set(e,n),n}},80533:function(e,t,n){"use strict";n.d(t,{Z:function(){return O}});var r=n(28416),i=n.n(r),o=!("undefined"==typeof window||!window.document||!window.document.createElement);var a=void 0;function s(){return void 0===a&&(a=function(){if(!o)return!1;if(!window.addEventListener||!window.removeEventListener||!Object.defineProperty)return!1;var e=!1;try{var t=Object.defineProperty({},"passive",{get:function(){e=!0}}),n=function(){};window.addEventListener("testPassiveEventSupport",n,t),window.removeEventListener("testPassiveEventSupport",n,t)}catch(e){}return e}()),a}function u(e){e.handlers===e.nextHandlers&&(e.nextHandlers=e.handlers.slice())}function c(e){this.target=e,this.events={}}c.prototype.getEventHandlers=function(e,t){var n,r=String(e)+" "+String((n=t)?!0===n?100:(n.capture<<0)+(n.passive<<1)+(n.once<<2):0);return this.events[r]||(this.events[r]={handlers:[],handleEvent:void 0},this.events[r].nextHandlers=this.events[r].handlers),this.events[r]},c.prototype.handleEvent=function(e,t,n){var r=this.getEventHandlers(e,t);r.handlers=r.nextHandlers,r.handlers.forEach((function(e){e&&e(n)}))},c.prototype.add=function(e,t,n){var r=this,i=this.getEventHandlers(e,n);u(i),0===i.nextHandlers.length&&(i.handleEvent=this.handleEvent.bind(this,e,n),this.target.addEventListener(e,i.handleEvent,n)),i.nextHandlers.push(t);var o=!0;return function(){if(o){o=!1,u(i);var a=i.nextHandlers.indexOf(t);i.nextHandlers.splice(a,1),0===i.nextHandlers.length&&(r.target&&r.target.removeEventListener(e,i.handleEvent,n),i.handleEvent=void 0)}}};var l="__consolidated_events_handlers__";function f(e,t,n,r){e[l]||(e[l]=new c(e));var i=function(e){if(e)return s()?e:!!e.capture}(r);return e[l].add(t,n,i)}var d=n(98022),p=n.n(d);function h(e,t){var n,r=(n=e,!isNaN(parseFloat(n))&&isFinite(n)?parseFloat(n):"px"===n.slice(-2)?parseFloat(n.slice(0,-2)):void 0);if("number"==typeof r)return r;var i=function(e){if("%"===e.slice(-1))return parseFloat(e.slice(0,-1))/100}(e);return"number"==typeof i?i*t:void 0}var g="above",m="inside",y="below",v="invisible";function b(e){if(e)try{i().Children.only(e)}catch(e){throw new Error("<Waypoint> expected to receive a single React element child.\n\nSee https://goo.gl/LrBNgw for more info.")}}function _(e){return"string"==typeof e.type}var w=void 0,T=[];function x(e){T.push(e),w||(w=setTimeout((function(){w=null;for(var e=void 0;e=T.shift();)e()}),0));var t=!0;return function(){if(t){t=!1;var n=T.indexOf(e);-1!==n&&(T.splice(n,1),!T.length&&w&&(clearTimeout(w),w=null))}}}var S=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();var k={topOffset:"0px",bottomOffset:"0px",horizontal:!1,onEnter:function(){},onLeave:function(){},onPositionChange:function(){},fireOnRapidScroll:!0},E=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.refElement=function(e){return n._ref=e},n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),S(t,[{key:"componentWillMount",value:function(){b(this.props.children)}},{key:"componentDidMount",value:function(){var e=this;t.getWindow()&&(this.cancelOnNextTick=x((function(){e.cancelOnNextTick=null,function(e,t){if(e&&!_(e)&&!t)throw new Error("<Waypoint> needs a DOM element to compute boundaries. The child you passed is neither a DOM element (e.g. <div>) nor does it use the innerRef prop.\n\nSee https://goo.gl/LrBNgw for more info.")}(e.props.children,e._ref),e._handleScroll=e._handleScroll.bind(e),e.scrollableAncestor=e._findScrollableAncestor(),e.scrollEventListenerUnsubscribe=f(e.scrollableAncestor,"scroll",e._handleScroll,{passive:!0}),e.resizeEventListenerUnsubscribe=f(window,"resize",e._handleScroll,{passive:!0}),e._handleScroll(null)})))}},{key:"componentWillReceiveProps",value:function(e){b(e.children)}},{key:"componentDidUpdate",value:function(){var e=this;t.getWindow()&&this.scrollableAncestor&&(this.cancelOnNextTick||(this.cancelOnNextTick=x((function(){e.cancelOnNextTick=null,e._handleScroll(null)}))))}},{key:"componentWillUnmount",value:function(){t.getWindow()&&(this.scrollEventListenerUnsubscribe&&this.scrollEventListenerUnsubscribe(),this.resizeEventListenerUnsubscribe&&this.resizeEventListenerUnsubscribe(),this.cancelOnNextTick&&this.cancelOnNextTick())}},{key:"_findScrollableAncestor",value:function(){var e=this.props,t=e.horizontal,r=e.scrollableAncestor;if(r)return function(e){return"window"===e?n.g.window:e}(r);for(var i=this._ref;i.parentNode;){if((i=i.parentNode)===document.body)return window;var o=window.getComputedStyle(i),a=(t?o.getPropertyValue("overflow-x"):o.getPropertyValue("overflow-y"))||o.getPropertyValue("overflow");if("auto"===a||"scroll"===a)return i}return window}},{key:"_handleScroll",value:function(e){if(this._ref){var t=this._getBounds(),n=function(e){return e.viewportBottom-e.viewportTop==0?v:e.viewportTop<=e.waypointTop&&e.waypointTop<=e.viewportBottom||e.viewportTop<=e.waypointBottom&&e.waypointBottom<=e.viewportBottom||e.waypointTop<=e.viewportTop&&e.viewportBottom<=e.waypointBottom?m:e.viewportBottom<e.waypointTop?y:e.waypointTop<e.viewportTop?g:v}(t),r=this._previousPosition;if(this._previousPosition=n,r!==n){var i={currentPosition:n,previousPosition:r,event:e,waypointTop:t.waypointTop,waypointBottom:t.waypointBottom,viewportTop:t.viewportTop,viewportBottom:t.viewportBottom};this.props.onPositionChange.call(this,i),n===m?this.props.onEnter.call(this,i):r===m&&this.props.onLeave.call(this,i);var o=r===y&&n===g,a=r===g&&n===y;this.props.fireOnRapidScroll&&(o||a)&&(this.props.onEnter.call(this,{currentPosition:m,previousPosition:r,event:e,waypointTop:t.waypointTop,waypointBottom:t.waypointBottom,viewportTop:t.viewportTop,viewportBottom:t.viewportBottom}),this.props.onLeave.call(this,{currentPosition:n,previousPosition:m,event:e,waypointTop:t.waypointTop,waypointBottom:t.waypointBottom,viewportTop:t.viewportTop,viewportBottom:t.viewportBottom}))}}}},{key:"_getBounds",value:function(){var e=this.props.horizontal,t=this._ref.getBoundingClientRect(),n=t.left,r=t.top,i=t.right,o=t.bottom,a=e?n:r,s=e?i:o,u=void 0,c=void 0;this.scrollableAncestor===window?(u=e?window.innerWidth:window.innerHeight,c=0):(u=e?this.scrollableAncestor.offsetWidth:this.scrollableAncestor.offsetHeight,c=e?this.scrollableAncestor.getBoundingClientRect().left:this.scrollableAncestor.getBoundingClientRect().top);var l=this.props,f=l.bottomOffset;return{waypointTop:a,waypointBottom:s,viewportTop:c+h(l.topOffset,u),viewportBottom:c+u-h(f,u)}}},{key:"render",value:function(){var e=this,t=this.props.children;if(!t)return i().createElement("span",{ref:this.refElement,style:{fontSize:0}});if(_(t)){var n=function(n){e.refElement(n),t.ref&&t.ref(n)};return i().cloneElement(t,{ref:n})}return i().cloneElement(t,{innerRef:this.refElement})}}]),t}(void 0!==i().PureComponent?i().PureComponent:i().Component);E.propTypes={children:p().node,debug:p().bool,onEnter:p().func,onLeave:p().func,onPositionChange:p().func,fireOnRapidScroll:p().bool,scrollableAncestor:p().any,horizontal:p().bool,topOffset:p().oneOfType([p().string,p().number]),bottomOffset:p().oneOfType([p().string,p().number])},E.above=g,E.below=y,E.inside=m,E.invisible=v,E.getWindow=function(){if("undefined"!=typeof window)return window},E.defaultProps=k,E.displayName="Waypoint";var O=E},65700:function(e){"use strict";function t(e){return function(){return e}}var n=function(){};n.thatReturns=t,n.thatReturnsFalse=t(!1),n.thatReturnsTrue=t(!0),n.thatReturnsNull=t(null),n.thatReturnsThis=function(){return this},n.thatReturnsArgument=function(e){return e},e.exports=n},82165:function(e){"use strict";e.exports=function(e,t,n,r,i,o,a,s){if(!e){var u;if(void 0===t)u=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[n,r,i,o,a,s],l=0;(u=new Error(t.replace(/%s/g,(function(){return c[l++]})))).name="Invariant Violation"}throw u.framesToPop=1,u}}},17635:function(e,t,n){"use strict";var r=n(65700),i=n(82165),o=n(36684);e.exports=function(){function e(e,t,n,r,a,s){s!==o&&i(!1,"Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types")}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t};return n.checkPropTypes=r,n.PropTypes=n,n}},98022:function(e,t,n){e.exports=n(17635)()},36684:function(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},38439:function(e,t,n){"use strict";e.exports=n(60698)},60698:function(e,t,n){"use strict";t.default=void 0;var r=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var r=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,n):{};r.get||r.set?Object.defineProperty(t,n,r):t[n]=e[n]}return t.default=e,t}(n(28416));function i(){return i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i.apply(this,arguments)}var o=function(e){var t=function(t,n){return r.default.createElement(e,i({},t,{forwardedRef:n}))},n=e.displayName||e.name;return t.displayName="withForwardedRef(".concat(n,")"),(0,r.forwardRef)(t)};t.default=o},89524:function(e){e.exports=function(e){return function(t){return function(n){n&&"function"==typeof n.fork?n.fork(e.dispatch,e.dispatch):t(n)}}}},43372:function(e,t,n){"use strict";var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};var i=n(70936);var o,a=(o="function",function(e){return(void 0===e?"undefined":(t=e)&&"undefined"!=typeof Symbol&&t.constructor===Symbol?"symbol":typeof t)===o;var t});t.Z=function(e){return function(t){var n=t.dispatch,o=function(t){return t&&a(t[e])};return function(t){return function(a){return(0,i.isFSA)(a)?o(a.payload)?n(r({},a,{payload:a.payload[e]()})):t(a):o(a)?n(a[e]()):t(a)}}}}},97196:function(e,t,n){"use strict";t.__esModule=!0;var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t.default=function(e){var t=e.dispatch;return function(e){return function(n){return i.isFSA(n)?o(n.payload)?n.payload.then((function(e){return t(r({},n,{payload:e}))}),(function(e){return t(r({},n,{payload:e,error:!0}))})):e(n):o(n)?n.then(t):e(n)}}};var i=n(70936);function o(e){return e&&"function"==typeof e.then}e.exports=t.default},59681:function(e,t){"use strict";function n(e){return function(t){var n=t.dispatch,r=t.getState;return function(t){return function(i){return"function"==typeof i?i(n,r,e):t(i)}}}}var r=n();r.withExtraArgument=n,t.Z=r},97779:function(e,t,n){"use strict";n.d(t,{md:function(){return h},UY:function(){return d},MT:function(){return f}});var r=n(4942);function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?i(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function a(e){return"Minified Redux error #"+e+"; visit https://redux.js.org/Errors?code="+e+" for the full message or use the non-minified dev environment for full errors. "}var s="function"==typeof Symbol&&Symbol.observable||"@@observable",u=function(){return Math.random().toString(36).substring(7).split("").join(".")},c={INIT:"@@redux/INIT"+u(),REPLACE:"@@redux/REPLACE"+u(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+u()}};function l(e){if("object"!=typeof e||null===e)return!1;for(var t=e;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function f(e,t,n){var r;if("function"==typeof t&&"function"==typeof n||"function"==typeof n&&"function"==typeof arguments[3])throw new Error(a(0));if("function"==typeof t&&void 0===n&&(n=t,t=void 0),void 0!==n){if("function"!=typeof n)throw new Error(a(1));return n(f)(e,t)}if("function"!=typeof e)throw new Error(a(2));var i=e,o=t,u=[],d=u,p=!1;function h(){d===u&&(d=u.slice())}function g(){if(p)throw new Error(a(3));return o}function m(e){if("function"!=typeof e)throw new Error(a(4));if(p)throw new Error(a(5));var t=!0;return h(),d.push(e),function(){if(t){if(p)throw new Error(a(6));t=!1,h();var n=d.indexOf(e);d.splice(n,1),u=null}}}function y(e){if(!l(e))throw new Error(a(7));if(void 0===e.type)throw new Error(a(8));if(p)throw new Error(a(9));try{p=!0,o=i(o,e)}finally{p=!1}for(var t=u=d,n=0;n<t.length;n++){(0,t[n])()}return e}function v(e){if("function"!=typeof e)throw new Error(a(10));i=e,y({type:c.REPLACE})}function b(){var e,t=m;return(e={subscribe:function(e){if("object"!=typeof e||null===e)throw new Error(a(11));function n(){e.next&&e.next(g())}return n(),{unsubscribe:t(n)}}})[s]=function(){return this},e}return y({type:c.INIT}),(r={dispatch:y,subscribe:m,getState:g,replaceReducer:v})[s]=b,r}function d(e){for(var t=Object.keys(e),n={},r=0;r<t.length;r++){var i=t[r];0,"function"==typeof e[i]&&(n[i]=e[i])}var o,s=Object.keys(n);try{!function(e){Object.keys(e).forEach((function(t){var n=e[t];if(void 0===n(void 0,{type:c.INIT}))throw new Error(a(12));if(void 0===n(void 0,{type:c.PROBE_UNKNOWN_ACTION()}))throw new Error(a(13))}))}(n)}catch(e){o=e}return function(e,t){if(void 0===e&&(e={}),o)throw o;for(var r=!1,i={},u=0;u<s.length;u++){var c=s[u],l=n[c],f=e[c],d=l(f,t);if(void 0===d){t&&t.type;throw new Error(a(14))}i[c]=d,r=r||d!==f}return(r=r||s.length!==Object.keys(e).length)?i:e}}function p(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return 0===t.length?function(e){return e}:1===t.length?t[0]:t.reduce((function(e,t){return function(){return e(t.apply(void 0,arguments))}}))}function h(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){return function(){var n=e.apply(void 0,arguments),r=function(){throw new Error(a(15))},i={getState:n.getState,dispatch:function(){return r.apply(void 0,arguments)}},s=t.map((function(e){return e(i)}));return r=p.apply(void 0,s)(n.dispatch),o(o({},n),{},{dispatch:r})}}}},35666:function(e){var t=function(e){"use strict";var t,n=Object.prototype,r=n.hasOwnProperty,i="function"==typeof Symbol?Symbol:{},o=i.iterator||"@@iterator",a=i.asyncIterator||"@@asyncIterator",s=i.toStringTag||"@@toStringTag";function u(e,t,n,r){var i=t&&t.prototype instanceof g?t:g,o=Object.create(i.prototype),a=new O(r||[]);return o._invoke=function(e,t,n){var r=l;return function(i,o){if(r===d)throw new Error("Generator is already running");if(r===p){if("throw"===i)throw o;return L()}for(n.method=i,n.arg=o;;){var a=n.delegate;if(a){var s=S(a,n);if(s){if(s===h)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(r===l)throw r=p,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=d;var u=c(e,t,n);if("normal"===u.type){if(r=n.done?p:f,u.arg===h)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(r=p,n.method="throw",n.arg=u.arg)}}}(e,n,a),o}function c(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}e.wrap=u;var l="suspendedStart",f="suspendedYield",d="executing",p="completed",h={};function g(){}function m(){}function y(){}var v={};v[o]=function(){return this};var b=Object.getPrototypeOf,_=b&&b(b(C([])));_&&_!==n&&r.call(_,o)&&(v=_);var w=y.prototype=g.prototype=Object.create(v);function T(e){["next","throw","return"].forEach((function(t){e[t]=function(e){return this._invoke(t,e)}}))}function x(e){function t(n,i,o,a){var s=c(e[n],e,i);if("throw"!==s.type){var u=s.arg,l=u.value;return l&&"object"==typeof l&&r.call(l,"__await")?Promise.resolve(l.__await).then((function(e){t("next",e,o,a)}),(function(e){t("throw",e,o,a)})):Promise.resolve(l).then((function(e){u.value=e,o(u)}),(function(e){return t("throw",e,o,a)}))}a(s.arg)}var n;this._invoke=function(e,r){function i(){return new Promise((function(n,i){t(e,r,n,i)}))}return n=n?n.then(i,i):i()}}function S(e,n){var r=e.iterator[n.method];if(r===t){if(n.delegate=null,"throw"===n.method){if(e.iterator.return&&(n.method="return",n.arg=t,S(e,n),"throw"===n.method))return h;n.method="throw",n.arg=new TypeError("The iterator does not provide a 'throw' method")}return h}var i=c(r,e.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,h;var o=i.arg;return o?o.done?(n[e.resultName]=o.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,h):o:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,h)}function k(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function E(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function O(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(k,this),this.reset(!0)}function C(e){if(e){var n=e[o];if(n)return n.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var i=-1,a=function n(){for(;++i<e.length;)if(r.call(e,i))return n.value=e[i],n.done=!1,n;return n.value=t,n.done=!0,n};return a.next=a}}return{next:L}}function L(){return{value:t,done:!0}}return m.prototype=w.constructor=y,y.constructor=m,y[s]=m.displayName="GeneratorFunction",e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===m||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,y):(e.__proto__=y,s in e||(e[s]="GeneratorFunction")),e.prototype=Object.create(w),e},e.awrap=function(e){return{__await:e}},T(x.prototype),x.prototype[a]=function(){return this},e.AsyncIterator=x,e.async=function(t,n,r,i){var o=new x(u(t,n,r,i));return e.isGeneratorFunction(n)?o:o.next().then((function(e){return e.done?e.value:o.next()}))},T(w),w[s]="Generator",w[o]=function(){return this},w.toString=function(){return"[object Generator]"},e.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var r=t.pop();if(r in e)return n.value=r,n.done=!1,n}return n.done=!0,n}},e.values=C,O.prototype={constructor:O,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(E),!e)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=t)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var n=this;function i(r,i){return s.type="throw",s.arg=e,n.next=r,i&&(n.method="next",n.arg=t),!!i}for(var o=this.tryEntries.length-1;o>=0;--o){var a=this.tryEntries[o],s=a.completion;if("root"===a.tryLoc)return i("end");if(a.tryLoc<=this.prev){var u=r.call(a,"catchLoc"),c=r.call(a,"finallyLoc");if(u&&c){if(this.prev<a.catchLoc)return i(a.catchLoc,!0);if(this.prev<a.finallyLoc)return i(a.finallyLoc)}else if(u){if(this.prev<a.catchLoc)return i(a.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return i(a.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var i=this.tryEntries[n];if(i.tryLoc<=this.prev&&r.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var o=i;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=e,a.arg=t,o?(this.method="next",this.next=o.finallyLoc,h):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),h},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),E(n),h}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var i=r.arg;E(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:C(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),h}},e}(e.exports);try{regeneratorRuntime=t}catch(e){Function("r","regeneratorRuntime = r")(t)}},22222:function(e,t,n){"use strict";function r(e,t){return e===t}function i(e,t,n){if(null===t||null===n||t.length!==n.length)return!1;for(var r=t.length,i=0;i<r;i++)if(!e(t[i],n[i]))return!1;return!0}function o(e){var t=Array.isArray(e[0])?e[0]:e;if(!t.every((function(e){return"function"==typeof e}))){var n=t.map((function(e){return typeof e})).join(", ");throw new Error("Selector creators expect all input-selectors to be functions, instead received the following types: ["+n+"]")}return t}n.d(t,{P1:function(){return a}});var a=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return function(){for(var t=arguments.length,r=Array(t),i=0;i<t;i++)r[i]=arguments[i];var a=0,s=r.pop(),u=o(r),c=e.apply(void 0,[function(){return a++,s.apply(null,arguments)}].concat(n)),l=e((function(){for(var e=[],t=u.length,n=0;n<t;n++)e.push(u[n].apply(null,arguments));return c.apply(null,e)}));return l.resultFunc=s,l.dependencies=u,l.recomputations=function(){return a},l.resetRecomputations=function(){return a=0},l}}((function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:r,n=null,o=null;return function(){return i(t,n,arguments)||(o=e.apply(null,arguments)),n=arguments,o}}))},91033:function(e,t,n){"use strict";var r=function(){if("undefined"!=typeof Map)return Map;function e(e,t){var n=-1;return e.some((function(e,r){return e[0]===t&&(n=r,!0)})),n}return function(){function t(){this.__entries__=[]}return Object.defineProperty(t.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),t.prototype.get=function(t){var n=e(this.__entries__,t),r=this.__entries__[n];return r&&r[1]},t.prototype.set=function(t,n){var r=e(this.__entries__,t);~r?this.__entries__[r][1]=n:this.__entries__.push([t,n])},t.prototype.delete=function(t){var n=this.__entries__,r=e(n,t);~r&&n.splice(r,1)},t.prototype.has=function(t){return!!~e(this.__entries__,t)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(e,t){void 0===t&&(t=null);for(var n=0,r=this.__entries__;n<r.length;n++){var i=r[n];e.call(t,i[1],i[0])}},t}()}(),i="undefined"!=typeof window&&"undefined"!=typeof document&&window.document===document,o=void 0!==n.g&&n.g.Math===Math?n.g:"undefined"!=typeof self&&self.Math===Math?self:"undefined"!=typeof window&&window.Math===Math?window:Function("return this")(),a="function"==typeof requestAnimationFrame?requestAnimationFrame.bind(o):function(e){return setTimeout((function(){return e(Date.now())}),1e3/60)};var s=["top","right","bottom","left","width","height","size","weight"],u="undefined"!=typeof MutationObserver,c=function(){function e(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=function(e,t){var n=!1,r=!1,i=0;function o(){n&&(n=!1,e()),r&&u()}function s(){a(o)}function u(){var e=Date.now();if(n){if(e-i<2)return;r=!0}else n=!0,r=!1,setTimeout(s,t);i=e}return u}(this.refresh.bind(this),20)}return e.prototype.addObserver=function(e){~this.observers_.indexOf(e)||this.observers_.push(e),this.connected_||this.connect_()},e.prototype.removeObserver=function(e){var t=this.observers_,n=t.indexOf(e);~n&&t.splice(n,1),!t.length&&this.connected_&&this.disconnect_()},e.prototype.refresh=function(){this.updateObservers_()&&this.refresh()},e.prototype.updateObservers_=function(){var e=this.observers_.filter((function(e){return e.gatherActive(),e.hasActive()}));return e.forEach((function(e){return e.broadcastActive()})),e.length>0},e.prototype.connect_=function(){i&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),u?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},e.prototype.disconnect_=function(){i&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},e.prototype.onTransitionEnd_=function(e){var t=e.propertyName,n=void 0===t?"":t;s.some((function(e){return!!~n.indexOf(e)}))&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=new e),this.instance_},e.instance_=null,e}(),l=function(e,t){for(var n=0,r=Object.keys(t);n<r.length;n++){var i=r[n];Object.defineProperty(e,i,{value:t[i],enumerable:!1,writable:!1,configurable:!0})}return e},f=function(e){return e&&e.ownerDocument&&e.ownerDocument.defaultView||o},d=v(0,0,0,0);function p(e){return parseFloat(e)||0}function h(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return t.reduce((function(t,n){return t+p(e["border-"+n+"-width"])}),0)}function g(e){var t=e.clientWidth,n=e.clientHeight;if(!t&&!n)return d;var r=f(e).getComputedStyle(e),i=function(e){for(var t={},n=0,r=["top","right","bottom","left"];n<r.length;n++){var i=r[n],o=e["padding-"+i];t[i]=p(o)}return t}(r),o=i.left+i.right,a=i.top+i.bottom,s=p(r.width),u=p(r.height);if("border-box"===r.boxSizing&&(Math.round(s+o)!==t&&(s-=h(r,"left","right")+o),Math.round(u+a)!==n&&(u-=h(r,"top","bottom")+a)),!function(e){return e===f(e).document.documentElement}(e)){var c=Math.round(s+o)-t,l=Math.round(u+a)-n;1!==Math.abs(c)&&(s-=c),1!==Math.abs(l)&&(u-=l)}return v(i.left,i.top,s,u)}var m="undefined"!=typeof SVGGraphicsElement?function(e){return e instanceof f(e).SVGGraphicsElement}:function(e){return e instanceof f(e).SVGElement&&"function"==typeof e.getBBox};function y(e){return i?m(e)?function(e){var t=e.getBBox();return v(0,0,t.width,t.height)}(e):g(e):d}function v(e,t,n,r){return{x:e,y:t,width:n,height:r}}var b=function(){function e(e){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=v(0,0,0,0),this.target=e}return e.prototype.isActive=function(){var e=y(this.target);return this.contentRect_=e,e.width!==this.broadcastWidth||e.height!==this.broadcastHeight},e.prototype.broadcastRect=function(){var e=this.contentRect_;return this.broadcastWidth=e.width,this.broadcastHeight=e.height,e},e}(),_=function(e,t){var n,r,i,o,a,s,u,c=(r=(n=t).x,i=n.y,o=n.width,a=n.height,s="undefined"!=typeof DOMRectReadOnly?DOMRectReadOnly:Object,u=Object.create(s.prototype),l(u,{x:r,y:i,width:o,height:a,top:i,right:r+o,bottom:a+i,left:r}),u);l(this,{target:e,contentRect:c})},w=function(){function e(e,t,n){if(this.activeObservations_=[],this.observations_=new r,"function"!=typeof e)throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=e,this.controller_=t,this.callbackCtx_=n}return e.prototype.observe=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(e instanceof f(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)||(t.set(e,new b(e)),this.controller_.addObserver(this),this.controller_.refresh())}},e.prototype.unobserve=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(e instanceof f(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)&&(t.delete(e),t.size||this.controller_.removeObserver(this))}},e.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},e.prototype.gatherActive=function(){var e=this;this.clearActive(),this.observations_.forEach((function(t){t.isActive()&&e.activeObservations_.push(t)}))},e.prototype.broadcastActive=function(){if(this.hasActive()){var e=this.callbackCtx_,t=this.activeObservations_.map((function(e){return new _(e.target,e.broadcastRect())}));this.callback_.call(e,t,e),this.clearActive()}},e.prototype.clearActive=function(){this.activeObservations_.splice(0)},e.prototype.hasActive=function(){return this.activeObservations_.length>0},e}(),T="undefined"!=typeof WeakMap?new WeakMap:new r,x=function e(t){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var n=c.getInstance(),r=new w(t,n,this);T.set(this,r)};["observe","unobserve","disconnect"].forEach((function(e){x.prototype[e]=function(){var t;return(t=T.get(this))[e].apply(t,arguments)}}));var S=void 0!==o.ResizeObserver?o.ResizeObserver:x;t.Z=S},89509:function(e,t,n){var r=n(48764),i=r.Buffer;function o(e,t){for(var n in e)t[n]=e[n]}function a(e,t,n){return i(e,t,n)}i.from&&i.alloc&&i.allocUnsafe&&i.allocUnsafeSlow?e.exports=r:(o(r,t),t.Buffer=a),o(i,a),a.from=function(e,t,n){if("number"==typeof e)throw new TypeError("Argument must not be a number");return i(e,t,n)},a.alloc=function(e,t,n){if("number"!=typeof e)throw new TypeError("Argument must be a number");var r=i(e);return void 0!==t?"string"==typeof n?r.fill(t,n):r.fill(t):r.fill(0),r},a.allocUnsafe=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return i(e)},a.allocUnsafeSlow=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return r.SlowBuffer(e)}},75974:function(e){e.exports=function(e,t){var n,r=null;try{n=JSON.parse(e,t)}catch(e){r=e}return[r,n]}},38289:function(e,t,n){"use strict";var r=n(23719),i=n(47529),o=n(91658),a=n(83465),s=n(38554),u=n(36084),c=n(13200);function l(e,t){e&&Object.keys(e).forEach((function(n){t(e[n],n)}))}function f(e,t){return{}.hasOwnProperty.call(e,t)}function d(e,t){var n=[];return l(e,(function(e){t(e)&&n.push(e)})),n}e.exports=h;var p=/^[^\0\t\n\f\r /<=>]+$/;function h(e,t,n){var m="";function y(e,t){var n=this;this.tag=e,this.attribs=t||{},this.tagPosition=m.length,this.text="",this.updateParentNodeText=function(){k.length&&(k[k.length-1].text+=n.text)}}t?(t=i(h.defaults,t)).parser?t.parser=i(g,t.parser):t.parser=g:(t=h.defaults).parser=g;var v,b,_=t.nonTextTags||["script","style","textarea"];t.allowedAttributes&&(v={},b={},l(t.allowedAttributes,(function(e,t){v[t]=[];var n=[];e.forEach((function(e){e.indexOf("*")>=0?n.push(o(e).replace(/\\\*/g,".*")):v[t].push(e)})),b[t]=new RegExp("^("+n.join("|")+")$")})));var w={};l(t.allowedClasses,(function(e,t){v&&(f(v,t)||(v[t]=[]),v[t].push("class")),w[t]=e}));var T,x={};l(t.transformTags,(function(e,t){var n;"function"==typeof e?n=e:"string"==typeof e&&(n=h.simpleTransform(e)),"*"===t?T=n:x[t]=n}));var S=0,k=[],E={},O={},C=!1,L=0,A=new r.Parser({onopentag:function(e,n){if(C)L++;else{var r=new y(e,n);k.push(r);var i,o=!1,h=!!r.text;f(x,e)&&(i=x[e](e,n),r.attribs=n=i.attribs,void 0!==i.text&&(r.innerText=i.text),e!==i.tagName&&(r.name=e=i.tagName,O[S]=i.tagName)),T&&(i=T(e,n),r.attribs=n=i.attribs,e!==i.tagName&&(r.name=e=i.tagName,O[S]=i.tagName)),t.allowedTags&&-1===t.allowedTags.indexOf(e)&&(o=!0,-1!==_.indexOf(e)&&(C=!0,L=1),E[S]=!0),S++,o||(m+="<"+e,(!v||f(v,e)||v["*"])&&l(n,(function(n,i){if(p.test(i))if(!v||f(v,e)&&-1!==v[e].indexOf(i)||v["*"]&&-1!==v["*"].indexOf(i)||f(b,e)&&b[e].test(i)||b["*"]&&b["*"].test(i)){if(("href"===i||"src"===i)&&P(e,n))return void delete r.attribs[i];if("srcset"===i)try{var o;if(l(o=u.parse(n),(function(e){P("srcset",e.url)&&(e.evil=!0)})),!(o=d(o,(function(e){return!e.evil}))).length)return void delete r.attribs[i];n=u.stringify(d(o,(function(e){return!e.evil}))),r.attribs[i]=n}catch(e){return void delete r.attribs[i]}if("class"===i&&!(n=function(e,t){if(!t)return e;return(e=e.split(/\s+/)).filter((function(e){return-1!==t.indexOf(e)})).join(" ")}(n,w[e])).length)return void delete r.attribs[i];if("style"===i)try{var h=function(e,t){if(!t)return e;var n,r=a(e),i=e.nodes[0];n=t[i.selector]&&t["*"]?s(a(t[i.selector]),t["*"],(function(e,t){if(Array.isArray(e))return e.concat(t)})):t[i.selector]||t["*"];n&&(r.nodes[0].nodes=i.nodes.reduce(function(e){return function(t,n){e.hasOwnProperty(n.prop)&&(e[n.prop].some((function(e){return e.test(n.value)}))&&t.push(n));return t}}(n),[]));return r}(c.parse(e+" {"+n+"}"),t.allowedStyles);if(n=function(e){return e.nodes[0].nodes.reduce((function(e,t){return e.push(t.prop+":"+t.value+";"),e}),[]).join("")}(h),0===n.length)return void delete r.attribs[i]}catch(e){return void delete r.attribs[i]}m+=" "+i,n.length&&(m+='="'+I(n)+'"')}else delete r.attribs[i];else delete r.attribs[i]})),-1!==t.selfClosing.indexOf(e)?m+=" />":(m+=">",!r.innerText||h||t.textFilter||(m+=r.innerText)))}},ontext:function(e){if(!C){var n,r=k[k.length-1];if(r&&(n=r.tag,e=void 0!==r.innerText?r.innerText:e),"script"===n||"style"===n)m+=e;else{var i=I(e);t.textFilter?m+=t.textFilter(i):m+=i}if(k.length)k[k.length-1].text+=e}},onclosetag:function(e){if(C){if(--L)return;C=!1}var n=k.pop();if(n){if(C=!1,S--,E[S])return delete E[S],void n.updateParentNodeText();O[S]&&(e=O[S],delete O[S]),t.exclusiveFilter&&t.exclusiveFilter(n)?m=m.substr(0,n.tagPosition):(n.updateParentNodeText(),-1===t.selfClosing.indexOf(e)&&(m+="</"+e+">"))}}},t.parser);return A.write(e),A.end(),m;function I(e){return"string"!=typeof e&&(e+=""),e.replace(/\&/g,"&amp;").replace(/</g,"&lt;").replace(/\>/g,"&gt;").replace(/\"/g,"&quot;")}function P(e,n){var r=(n=(n=n.replace(/[\x00-\x20]+/g,"")).replace(/<\!\-\-.*?\-\-\>/g,"")).match(/^([a-zA-Z]+)\:/);if(!r)return!!n.match(/^[\/\\]{2}/)&&!t.allowProtocolRelative;var i=r[1].toLowerCase();return f(t.allowedSchemesByTag,e)?-1===t.allowedSchemesByTag[e].indexOf(i):!t.allowedSchemes||-1===t.allowedSchemes.indexOf(i)}}var g={decodeEntities:!0};h.defaults={allowedTags:["h3","h4","h5","h6","blockquote","p","a","ul","ol","nl","li","b","i","strong","em","strike","code","hr","br","div","table","thead","caption","tbody","tr","th","td","pre"],allowedAttributes:{a:["href","name","target"],img:["src"]},selfClosing:["img","br","hr","area","base","basefont","input","link","meta"],allowedSchemes:["http","https","ftp","mailto"],allowedSchemesByTag:{},allowProtocolRelative:!0},h.simpleTransform=function(e,t,n){return n=void 0===n||n,t=t||{},function(r,i){var o;if(n)for(o in t)i[o]=t[o];else i=t;return{tagName:e,attribs:i}}}},12650:function(e,t,n){"use strict";t.__esModule=!0;var r,i=n(66808);var o=function(e){function t(n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var r=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,e.call(this,n));return r.type="atrule",r}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t.prototype.append=function(){var t;this.nodes||(this.nodes=[]);for(var n=arguments.length,r=Array(n),i=0;i<n;i++)r[i]=arguments[i];return(t=e.prototype.append).call.apply(t,[this].concat(r))},t.prototype.prepend=function(){var t;this.nodes||(this.nodes=[]);for(var n=arguments.length,r=Array(n),i=0;i<n;i++)r[i]=arguments[i];return(t=e.prototype.prepend).call.apply(t,[this].concat(r))},t}(((r=i)&&r.__esModule?r:{default:r}).default);t.default=o,e.exports=t.default},91569:function(e,t,n){"use strict";t.__esModule=!0;var r,i=n(83454);var o=function(e){function t(n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var r=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,e.call(this,n));return r.type="comment",r}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t}(((r=i)&&r.__esModule?r:{default:r}).default);t.default=o,e.exports=t.default},66808:function(e,t,n){"use strict";t.__esModule=!0;var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=a(n(85232)),o=a(n(91569));function a(e){return e&&e.__esModule?e:{default:e}}function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function c(e){return e.map((function(e){return e.nodes&&(e.nodes=c(e.nodes)),delete e.source,e}))}var l=function(e){function t(){return s(this,t),u(this,e.apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t.prototype.push=function(e){return e.parent=this,this.nodes.push(e),this},t.prototype.each=function(e){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach+=1;var t=this.lastEach;if(this.indexes[t]=0,this.nodes){for(var n=void 0,r=void 0;this.indexes[t]<this.nodes.length&&(n=this.indexes[t],!1!==(r=e(this.nodes[n],n)));)this.indexes[t]+=1;return delete this.indexes[t],r}},t.prototype.walk=function(e){return this.each((function(t,n){var r=e(t,n);return!1!==r&&t.walk&&(r=t.walk(e)),r}))},t.prototype.walkDecls=function(e,t){return t?e instanceof RegExp?this.walk((function(n,r){if("decl"===n.type&&e.test(n.prop))return t(n,r)})):this.walk((function(n,r){if("decl"===n.type&&n.prop===e)return t(n,r)})):(t=e,this.walk((function(e,n){if("decl"===e.type)return t(e,n)})))},t.prototype.walkRules=function(e,t){return t?e instanceof RegExp?this.walk((function(n,r){if("rule"===n.type&&e.test(n.selector))return t(n,r)})):this.walk((function(n,r){if("rule"===n.type&&n.selector===e)return t(n,r)})):(t=e,this.walk((function(e,n){if("rule"===e.type)return t(e,n)})))},t.prototype.walkAtRules=function(e,t){return t?e instanceof RegExp?this.walk((function(n,r){if("atrule"===n.type&&e.test(n.name))return t(n,r)})):this.walk((function(n,r){if("atrule"===n.type&&n.name===e)return t(n,r)})):(t=e,this.walk((function(e,n){if("atrule"===e.type)return t(e,n)})))},t.prototype.walkComments=function(e){return this.walk((function(t,n){if("comment"===t.type)return e(t,n)}))},t.prototype.append=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=t,i=Array.isArray(r),o=0;for(r=i?r:r[Symbol.iterator]();;){var a;if(i){if(o>=r.length)break;a=r[o++]}else{if((o=r.next()).done)break;a=o.value}var s=a,u=this.normalize(s,this.last),c=u,l=Array.isArray(c),f=0;for(c=l?c:c[Symbol.iterator]();;){var d;if(l){if(f>=c.length)break;d=c[f++]}else{if((f=c.next()).done)break;d=f.value}var p=d;this.nodes.push(p)}}return this},t.prototype.prepend=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=t=t.reverse(),i=Array.isArray(r),o=0;for(r=i?r:r[Symbol.iterator]();;){var a;if(i){if(o>=r.length)break;a=r[o++]}else{if((o=r.next()).done)break;a=o.value}var s=a,u=this.normalize(s,this.first,"prepend").reverse(),c=u,l=Array.isArray(c),f=0;for(c=l?c:c[Symbol.iterator]();;){var d;if(l){if(f>=c.length)break;d=c[f++]}else{if((f=c.next()).done)break;d=f.value}var p=d;this.nodes.unshift(p)}for(var h in this.indexes)this.indexes[h]=this.indexes[h]+u.length}return this},t.prototype.cleanRaws=function(t){if(e.prototype.cleanRaws.call(this,t),this.nodes){var n=this.nodes,r=Array.isArray(n),i=0;for(n=r?n:n[Symbol.iterator]();;){var o;if(r){if(i>=n.length)break;o=n[i++]}else{if((i=n.next()).done)break;o=i.value}o.cleanRaws(t)}}},t.prototype.insertBefore=function(e,t){var n=0===(e=this.index(e))&&"prepend",r=this.normalize(t,this.nodes[e],n).reverse(),i=r,o=Array.isArray(i),a=0;for(i=o?i:i[Symbol.iterator]();;){var s;if(o){if(a>=i.length)break;s=i[a++]}else{if((a=i.next()).done)break;s=a.value}var u=s;this.nodes.splice(e,0,u)}var c=void 0;for(var l in this.indexes)e<=(c=this.indexes[l])&&(this.indexes[l]=c+r.length);return this},t.prototype.insertAfter=function(e,t){e=this.index(e);var n=this.normalize(t,this.nodes[e]).reverse(),r=n,i=Array.isArray(r),o=0;for(r=i?r:r[Symbol.iterator]();;){var a;if(i){if(o>=r.length)break;a=r[o++]}else{if((o=r.next()).done)break;a=o.value}var s=a;this.nodes.splice(e+1,0,s)}var u=void 0;for(var c in this.indexes)e<(u=this.indexes[c])&&(this.indexes[c]=u+n.length);return this},t.prototype.removeChild=function(e){e=this.index(e),this.nodes[e].parent=void 0,this.nodes.splice(e,1);var t=void 0;for(var n in this.indexes)(t=this.indexes[n])>=e&&(this.indexes[n]=t-1);return this},t.prototype.removeAll=function(){var e=this.nodes,t=Array.isArray(e),n=0;for(e=t?e:e[Symbol.iterator]();;){var r;if(t){if(n>=e.length)break;r=e[n++]}else{if((n=e.next()).done)break;r=n.value}r.parent=void 0}return this.nodes=[],this},t.prototype.replaceValues=function(e,t,n){return n||(n=t,t={}),this.walkDecls((function(r){t.props&&-1===t.props.indexOf(r.prop)||t.fast&&-1===r.value.indexOf(t.fast)||(r.value=r.value.replace(e,n))})),this},t.prototype.every=function(e){return this.nodes.every(e)},t.prototype.some=function(e){return this.nodes.some(e)},t.prototype.index=function(e){return"number"==typeof e?e:this.nodes.indexOf(e)},t.prototype.normalize=function(e,t){var r=this;if("string"==typeof e)e=c(n(11665)(e).nodes);else if(Array.isArray(e)){var a=e=e.slice(0),s=Array.isArray(a),u=0;for(a=s?a:a[Symbol.iterator]();;){var l;if(s){if(u>=a.length)break;l=a[u++]}else{if((u=a.next()).done)break;l=u.value}var f=l;f.parent&&f.parent.removeChild(f,"ignore")}}else if("root"===e.type){var d=e=e.nodes.slice(0),p=Array.isArray(d),h=0;for(d=p?d:d[Symbol.iterator]();;){var g;if(p){if(h>=d.length)break;g=d[h++]}else{if((h=d.next()).done)break;g=h.value}var m=g;m.parent&&m.parent.removeChild(m,"ignore")}}else if(e.type)e=[e];else if(e.prop){if(void 0===e.value)throw new Error("Value field is missed in node creation");"string"!=typeof e.value&&(e.value=String(e.value)),e=[new i.default(e)]}else if(e.selector){e=[new(n(4485))(e)]}else if(e.name){e=[new(n(12650))(e)]}else{if(!e.text)throw new Error("Unknown node type in node creation");e=[new o.default(e)]}var y=e.map((function(e){return"function"!=typeof e.before&&(e=r.rebuild(e)),e.parent&&e.parent.removeChild(e),void 0===e.raws.before&&t&&void 0!==t.raws.before&&(e.raws.before=t.raws.before.replace(/[^\s]/g,"")),e.parent=r,e}));return y},t.prototype.rebuild=function(e,t){var r=this,a=void 0;if("root"===e.type){var s=n(71283);a=new s}else if("atrule"===e.type){var u=n(12650);a=new u}else if("rule"===e.type){var c=n(4485);a=new c}else"decl"===e.type?a=new i.default:"comment"===e.type&&(a=new o.default);for(var l in e)"nodes"===l?a.nodes=e.nodes.map((function(e){return r.rebuild(e,a)})):"parent"===l&&t?a.parent=t:e.hasOwnProperty(l)&&(a[l]=e[l]);return a},r(t,[{key:"first",get:function(){if(this.nodes)return this.nodes[0]}},{key:"last",get:function(){if(this.nodes)return this.nodes[this.nodes.length-1]}}]),t}(a(n(83454)).default);t.default=l,e.exports=t.default},95373:function(e,t,n){"use strict";t.__esModule=!0;var r=a(n(89917)),i=a(n(30717)),o=a(n(84903));function a(e){return e&&e.__esModule?e:{default:e}}var s=function(){function e(t,n,r,i,o,a){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.name="CssSyntaxError",this.reason=t,o&&(this.file=o),i&&(this.source=i),a&&(this.plugin=a),void 0!==n&&void 0!==r&&(this.line=n,this.column=r),this.setMessage(),Error.captureStackTrace&&Error.captureStackTrace(this,e)}return e.prototype.setMessage=function(){this.message=this.plugin?this.plugin+": ":"",this.message+=this.file?this.file:"<css input>",void 0!==this.line&&(this.message+=":"+this.line+":"+this.column),this.message+=": "+this.reason},e.prototype.showSourceCode=function(e){var t=this;if(!this.source)return"";var n=this.source;void 0===e&&(e=r.default.stdout),e&&(n=(0,o.default)(n));var a=n.split(/\r?\n/),s=Math.max(this.line-3,0),u=Math.min(this.line+2,a.length),c=String(u).length;function l(t){return e&&i.default.red?i.default.red.bold(t):t}function f(t){return e&&i.default.gray?i.default.gray(t):t}return a.slice(s,u).map((function(e,n){var r=s+1+n,i=" "+(" "+r).slice(-c)+" | ";if(r===t.line){var o=f(i.replace(/\d/g," "))+e.slice(0,t.column-1).replace(/[^\t]/g," ");return l(">")+f(i)+e+"\n "+o+l("^")}return" "+f(i)+e})).join("\n")},e.prototype.toString=function(){var e=this.showSourceCode();return e&&(e="\n\n"+e+"\n"),this.name+": "+this.message+e},e}();t.default=s,e.exports=t.default},85232:function(e,t,n){"use strict";t.__esModule=!0;var r,i=n(83454);var o=function(e){function t(n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var r=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,e.call(this,n));return r.type="decl",r}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t}(((r=i)&&r.__esModule?r:{default:r}).default);t.default=o,e.exports=t.default},62627:function(e,t,n){"use strict";t.__esModule=!0;var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=s(n(95373)),o=s(n(49470)),a=s(n(26470));function s(e){return e&&e.__esModule?e:{default:e}}function u(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var c=0,l=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};u(this,e),this.css=t.toString(),"\ufeff"!==this.css[0]&&"￾"!==this.css[0]||(this.css=this.css.slice(1)),n.from&&(/^\w+:\/\//.test(n.from)?this.file=n.from:this.file=a.default.resolve(n.from));var r=new o.default(this.css,n);if(r.text){this.map=r;var i=r.consumer().file;!this.file&&i&&(this.file=this.mapResolve(i))}this.file||(c+=1,this.id="<input css "+c+">"),this.map&&(this.map.file=this.from)}return e.prototype.error=function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=void 0,a=this.origin(t,n);return(o=a?new i.default(e,a.line,a.column,a.source,a.file,r.plugin):new i.default(e,t,n,this.css,this.file,r.plugin)).input={line:t,column:n,source:this.css},this.file&&(o.input.file=this.file),o},e.prototype.origin=function(e,t){if(!this.map)return!1;var n=this.map.consumer(),r=n.originalPositionFor({line:e,column:t});if(!r.source)return!1;var i={file:this.mapResolve(r.source),line:r.line,column:r.column},o=n.sourceContentFor(r.source);return o&&(i.source=o),i},e.prototype.mapResolve=function(e){return/^\w+:\/\//.test(e)?e:a.default.resolve(this.map.consumer().sourceRoot||".",e)},r(e,[{key:"from",get:function(){return this.file||this.id}}]),e}();t.default=l,e.exports=t.default},75673:function(e,t,n){"use strict";t.__esModule=!0;var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o=l(n(40429)),a=l(n(23179)),s=l(n(84133)),u=l(n(96641)),c=l(n(11665));function l(e){return e&&e.__esModule?e:{default:e}}function f(e){return"object"===(void 0===e?"undefined":i(e))&&"function"==typeof e.then}var d=function(){function e(t,n,r){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.stringified=!1,this.processed=!1;var o=void 0;if("object"===(void 0===n?"undefined":i(n))&&"root"===n.type)o=n;else if(n instanceof e||n instanceof u.default)o=n.root,n.map&&(void 0===r.map&&(r.map={}),r.map.inline||(r.map.inline=!1),r.map.prev=n.map);else{var a=c.default;r.syntax&&(a=r.syntax.parse),r.parser&&(a=r.parser),a.parse&&(a=a.parse);try{o=a(n,r)}catch(e){this.error=e}}this.result=new u.default(t,o,r)}return e.prototype.warnings=function(){return this.sync().warnings()},e.prototype.toString=function(){return this.css},e.prototype.then=function(e,t){return"from"in this.opts||(0,s.default)("Without `from` option PostCSS could generate wrong source map and will not find Browserslist config. Set it to CSS file path or to `undefined` to prevent this warning."),this.async().then(e,t)},e.prototype.catch=function(e){return this.async().catch(e)},e.prototype.handleError=function(e,t){try{if(this.error=e,"CssSyntaxError"!==e.name||e.plugin){if(t.postcssVersion){var n=t.postcssPlugin,r=t.postcssVersion,i=this.result.processor.version,o=r.split("."),a=i.split(".");(o[0]!==a[0]||parseInt(o[1])>parseInt(a[1]))&&console.error("Unknown error from PostCSS plugin. Your current PostCSS version is "+i+", but "+n+" uses "+r+". Perhaps this is the source of the error below.")}}else e.plugin=t.postcssPlugin,e.setMessage()}catch(e){console&&console.error&&console.error(e)}},e.prototype.asyncTick=function(e,t){var n=this;if(this.plugin>=this.processor.plugins.length)return this.processed=!0,e();try{var r=this.processor.plugins[this.plugin],i=this.run(r);this.plugin+=1,f(i)?i.then((function(){n.asyncTick(e,t)})).catch((function(e){n.handleError(e,r),n.processed=!0,t(e)})):this.asyncTick(e,t)}catch(e){this.processed=!0,t(e)}},e.prototype.async=function(){var e=this;return this.processed?new Promise((function(t,n){e.error?n(e.error):t(e.stringify())})):(this.processing||(this.processing=new Promise((function(t,n){if(e.error)return n(e.error);e.plugin=0,e.asyncTick(t,n)})).then((function(){return e.processed=!0,e.stringify()}))),this.processing)},e.prototype.sync=function(){if(this.processed)return this.result;if(this.processed=!0,this.processing)throw new Error("Use process(css).then(cb) to work with async plugins");if(this.error)throw this.error;var e=this.result.processor.plugins,t=Array.isArray(e),n=0;for(e=t?e:e[Symbol.iterator]();;){var r;if(t){if(n>=e.length)break;r=e[n++]}else{if((n=e.next()).done)break;r=n.value}var i=r;if(f(this.run(i)))throw new Error("Use process(css).then(cb) to work with async plugins")}return this.result},e.prototype.run=function(e){this.result.lastPlugin=e;try{return e(this.result.root,this.result)}catch(t){throw this.handleError(t,e),t}},e.prototype.stringify=function(){if(this.stringified)return this.result;this.stringified=!0,this.sync();var e=this.result.opts,t=a.default;e.syntax&&(t=e.syntax.stringify),e.stringifier&&(t=e.stringifier),t.stringify&&(t=t.stringify);var n=new o.default(t,this.result.root,this.result.opts).generate();return this.result.css=n[0],this.result.map=n[1],this.result},r(e,[{key:"processor",get:function(){return this.result.processor}},{key:"opts",get:function(){return this.result.opts}},{key:"css",get:function(){return this.stringify().css}},{key:"content",get:function(){return this.stringify().content}},{key:"map",get:function(){return this.stringify().map}},{key:"root",get:function(){return this.sync().root}},{key:"messages",get:function(){return this.sync().messages}}]),e}();t.default=d,e.exports=t.default},30416:function(e,t){"use strict";t.__esModule=!0;var n={split:function(e,t,n){for(var r=[],i="",o=!1,a=0,s=!1,u=!1,c=0;c<e.length;c++){var l=e[c];s?u?u=!1:"\\"===l?u=!0:l===s&&(s=!1):'"'===l||"'"===l?s=l:"("===l?a+=1:")"===l?a>0&&(a-=1):0===a&&-1!==t.indexOf(l)&&(o=!0),o?(""!==i&&r.push(i.trim()),i="",o=!1):i+=l}return(n||""!==i)&&r.push(i.trim()),r},space:function(e){return n.split(e,[" ","\n","\t"])},comma:function(e){return n.split(e,[","],!0)}};t.default=n,e.exports=t.default},40429:function(e,t,n){"use strict";t.__esModule=!0;var r=o(n(49125)),i=o(n(26470));function o(e){return e&&e.__esModule?e:{default:e}}var a=function(){function e(t,n,r){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.stringify=t,this.mapOpts=r.map||{},this.root=n,this.opts=r}return e.prototype.isMap=function(){return void 0!==this.opts.map?!!this.opts.map:this.previous().length>0},e.prototype.previous=function(){var e=this;return this.previousMaps||(this.previousMaps=[],this.root.walk((function(t){if(t.source&&t.source.input.map){var n=t.source.input.map;-1===e.previousMaps.indexOf(n)&&e.previousMaps.push(n)}}))),this.previousMaps},e.prototype.isInline=function(){if(void 0!==this.mapOpts.inline)return this.mapOpts.inline;var e=this.mapOpts.annotation;return(void 0===e||!0===e)&&(!this.previous().length||this.previous().some((function(e){return e.inline})))},e.prototype.isSourcesContent=function(){return void 0!==this.mapOpts.sourcesContent?this.mapOpts.sourcesContent:!this.previous().length||this.previous().some((function(e){return e.withContent()}))},e.prototype.clearAnnotation=function(){if(!1!==this.mapOpts.annotation)for(var e=void 0,t=this.root.nodes.length-1;t>=0;t--)"comment"===(e=this.root.nodes[t]).type&&0===e.text.indexOf("# sourceMappingURL=")&&this.root.removeChild(t)},e.prototype.setSourcesContent=function(){var e=this,t={};this.root.walk((function(n){if(n.source){var r=n.source.input.from;if(r&&!t[r]){t[r]=!0;var i=e.relative(r);e.map.setSourceContent(i,n.source.input.css)}}}))},e.prototype.applyPrevMaps=function(){var e=this.previous(),t=Array.isArray(e),n=0;for(e=t?e:e[Symbol.iterator]();;){var o;if(t){if(n>=e.length)break;o=e[n++]}else{if((n=e.next()).done)break;o=n.value}var a=o,s=this.relative(a.file),u=a.root||i.default.dirname(a.file),c=void 0;!1===this.mapOpts.sourcesContent?(c=new r.default.SourceMapConsumer(a.text)).sourcesContent&&(c.sourcesContent=c.sourcesContent.map((function(){return null}))):c=a.consumer(),this.map.applySourceMap(c,s,this.relative(u))}},e.prototype.isAnnotation=function(){return!!this.isInline()||(void 0!==this.mapOpts.annotation?this.mapOpts.annotation:!this.previous().length||this.previous().some((function(e){return e.annotation})))},e.prototype.toBase64=function(e){return Buffer?Buffer.from&&Buffer.from!==Uint8Array.from?Buffer.from(e).toString("base64"):new Buffer(e).toString("base64"):window.btoa(unescape(encodeURIComponent(e)))},e.prototype.addAnnotation=function(){var e=void 0;e=this.isInline()?"data:application/json;base64,"+this.toBase64(this.map.toString()):"string"==typeof this.mapOpts.annotation?this.mapOpts.annotation:this.outputFile()+".map";var t="\n";-1!==this.css.indexOf("\r\n")&&(t="\r\n"),this.css+=t+"/*# sourceMappingURL="+e+" */"},e.prototype.outputFile=function(){return this.opts.to?this.relative(this.opts.to):this.opts.from?this.relative(this.opts.from):"to.css"},e.prototype.generateMap=function(){return this.generateString(),this.isSourcesContent()&&this.setSourcesContent(),this.previous().length>0&&this.applyPrevMaps(),this.isAnnotation()&&this.addAnnotation(),this.isInline()?[this.css]:[this.css,this.map]},e.prototype.relative=function(e){if(0===e.indexOf("<"))return e;if(/^\w+:\/\//.test(e))return e;var t=this.opts.to?i.default.dirname(this.opts.to):".";return"string"==typeof this.mapOpts.annotation&&(t=i.default.dirname(i.default.resolve(t,this.mapOpts.annotation))),e=i.default.relative(t,e),"\\"===i.default.sep?e.replace(/\\/g,"/"):e},e.prototype.sourcePath=function(e){return this.mapOpts.from?this.mapOpts.from:this.relative(e.source.input.from)},e.prototype.generateString=function(){var e=this;this.css="",this.map=new r.default.SourceMapGenerator({file:this.outputFile()});var t=1,n=1,i=void 0,o=void 0;this.stringify(this.root,(function(r,a,s){e.css+=r,a&&"end"!==s&&(a.source&&a.source.start?e.map.addMapping({source:e.sourcePath(a),generated:{line:t,column:n-1},original:{line:a.source.start.line,column:a.source.start.column-1}}):e.map.addMapping({source:"<no source>",original:{line:1,column:0},generated:{line:t,column:n-1}})),(i=r.match(/\n/g))?(t+=i.length,o=r.lastIndexOf("\n"),n=r.length-o):n+=r.length,a&&"start"!==s&&(a.source&&a.source.end?e.map.addMapping({source:e.sourcePath(a),generated:{line:t,column:n-1},original:{line:a.source.end.line,column:a.source.end.column}}):e.map.addMapping({source:"<no source>",original:{line:1,column:0},generated:{line:t,column:n-1}}))}))},e.prototype.generate=function(){if(this.clearAnnotation(),this.isMap())return this.generateMap();var e="";return this.stringify(this.root,(function(t){e+=t})),[e]},e}();t.default=a,e.exports=t.default},83454:function(e,t,n){"use strict";t.__esModule=!0;var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=u(n(95373)),o=u(n(7843)),a=u(n(23179)),s=u(n(84133));function u(e){return e&&e.__esModule?e:{default:e}}function c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var l=function e(t,n){var i=new t.constructor;for(var o in t)if(t.hasOwnProperty(o)){var a=t[o],s=void 0===a?"undefined":r(a);"parent"===o&&"object"===s?n&&(i[o]=n):"source"===o?i[o]=a:a instanceof Array?i[o]=a.map((function(t){return e(t,i)})):("object"===s&&null!==a&&(a=e(a)),i[o]=a)}return i},f=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(c(this,e),this.raws={},"object"!==(void 0===t?"undefined":r(t))&&void 0!==t)throw new Error("PostCSS nodes constructor accepts object, not "+JSON.stringify(t));for(var n in t)this[n]=t[n]}return e.prototype.error=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(this.source){var n=this.positionBy(t);return this.source.input.error(e,n.line,n.column,t)}return new i.default(e)},e.prototype.warn=function(e,t,n){var r={node:this};for(var i in n)r[i]=n[i];return e.warn(t,r)},e.prototype.remove=function(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this},e.prototype.toString=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:a.default;e.stringify&&(e=e.stringify);var t="";return e(this,(function(e){t+=e})),t},e.prototype.clone=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=l(this);for(var n in e)t[n]=e[n];return t},e.prototype.cloneBefore=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=this.clone(e);return this.parent.insertBefore(this,t),t},e.prototype.cloneAfter=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=this.clone(e);return this.parent.insertAfter(this,t),t},e.prototype.replaceWith=function(){if(this.parent){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=t,i=Array.isArray(r),o=0;for(r=i?r:r[Symbol.iterator]();;){var a;if(i){if(o>=r.length)break;a=r[o++]}else{if((o=r.next()).done)break;a=o.value}var s=a;this.parent.insertBefore(this,s)}this.remove()}return this},e.prototype.moveTo=function(e){return(0,s.default)("Node#moveTo was deprecated. Use Container#append."),this.cleanRaws(this.root()===e.root()),this.remove(),e.append(this),this},e.prototype.moveBefore=function(e){return(0,s.default)("Node#moveBefore was deprecated. Use Node#before."),this.cleanRaws(this.root()===e.root()),this.remove(),e.parent.insertBefore(e,this),this},e.prototype.moveAfter=function(e){return(0,s.default)("Node#moveAfter was deprecated. Use Node#after."),this.cleanRaws(this.root()===e.root()),this.remove(),e.parent.insertAfter(e,this),this},e.prototype.next=function(){var e=this.parent.index(this);return this.parent.nodes[e+1]},e.prototype.prev=function(){var e=this.parent.index(this);return this.parent.nodes[e-1]},e.prototype.before=function(e){return this.parent.insertBefore(this,e),this},e.prototype.after=function(e){return this.parent.insertAfter(this,e),this},e.prototype.toJSON=function(){var e={};for(var t in this)if(this.hasOwnProperty(t)&&"parent"!==t){var n=this[t];n instanceof Array?e[t]=n.map((function(e){return"object"===(void 0===e?"undefined":r(e))&&e.toJSON?e.toJSON():e})):"object"===(void 0===n?"undefined":r(n))&&n.toJSON?e[t]=n.toJSON():e[t]=n}return e},e.prototype.raw=function(e,t){return(new o.default).raw(this,e,t)},e.prototype.root=function(){for(var e=this;e.parent;)e=e.parent;return e},e.prototype.cleanRaws=function(e){delete this.raws.before,delete this.raws.after,e||delete this.raws.between},e.prototype.positionInside=function(e){for(var t=this.toString(),n=this.source.start.column,r=this.source.start.line,i=0;i<e;i++)"\n"===t[i]?(n=1,r+=1):n+=1;return{line:r,column:n}},e.prototype.positionBy=function(e){var t=this.source.start;if(e.index)t=this.positionInside(e.index);else if(e.word){var n=this.toString().indexOf(e.word);-1!==n&&(t=this.positionInside(n))}return t},e}();t.default=f,e.exports=t.default},11665:function(e,t,n){"use strict";t.__esModule=!0,t.default=function(e,t){if(t&&t.safe)throw new Error('Option safe was removed. Use parser: require("postcss-safe-parser")');var n=new i.default(e,t),o=new r.default(n);try{o.parse()}catch(e){throw"CssSyntaxError"===e.name&&t&&t.from&&(/\.scss$/i.test(t.from)?e.message+="\nYou tried to parse SCSS with the standard CSS parser; try again with the postcss-scss parser":/\.sass/i.test(t.from)?e.message+="\nYou tried to parse Sass with the standard CSS parser; try again with the postcss-sass parser":/\.less$/i.test(t.from)&&(e.message+="\nYou tried to parse Less with the standard CSS parser; try again with the postcss-less parser")),e}return o.root};var r=o(n(92972)),i=o(n(62627));function o(e){return e&&e.__esModule?e:{default:e}}e.exports=t.default},92972:function(e,t,n){"use strict";t.__esModule=!0;var r=c(n(85232)),i=c(n(53240)),o=c(n(91569)),a=c(n(12650)),s=c(n(71283)),u=c(n(4485));function c(e){return e&&e.__esModule?e:{default:e}}var l=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.input=t,this.root=new s.default,this.current=this.root,this.spaces="",this.semicolon=!1,this.createTokenizer(),this.root.source={input:t,start:{line:1,column:1}}}return e.prototype.createTokenizer=function(){this.tokenizer=(0,i.default)(this.input)},e.prototype.parse=function(){for(var e=void 0;!this.tokenizer.endOfFile();)switch((e=this.tokenizer.nextToken())[0]){case"space":this.spaces+=e[1];break;case";":this.freeSemicolon(e);break;case"}":this.end(e);break;case"comment":this.comment(e);break;case"at-word":this.atrule(e);break;case"{":this.emptyRule(e);break;default:this.other(e)}this.endFile()},e.prototype.comment=function(e){var t=new o.default;this.init(t,e[2],e[3]),t.source.end={line:e[4],column:e[5]};var n=e[1].slice(2,-2);if(/^\s*$/.test(n))t.text="",t.raws.left=n,t.raws.right="";else{var r=n.match(/^(\s*)([^]*[^\s])(\s*)$/);t.text=r[2],t.raws.left=r[1],t.raws.right=r[3]}},e.prototype.emptyRule=function(e){var t=new u.default;this.init(t,e[2],e[3]),t.selector="",t.raws.between="",this.current=t},e.prototype.other=function(e){for(var t=!1,n=null,r=!1,i=null,o=[],a=[],s=e;s;){if(n=s[0],a.push(s),"("===n||"["===n)i||(i=s),o.push("("===n?")":"]");else if(0===o.length){if(";"===n){if(r)return void this.decl(a);break}if("{"===n)return void this.rule(a);if("}"===n){this.tokenizer.back(a.pop()),t=!0;break}":"===n&&(r=!0)}else n===o[o.length-1]&&(o.pop(),0===o.length&&(i=null));s=this.tokenizer.nextToken()}if(this.tokenizer.endOfFile()&&(t=!0),o.length>0&&this.unclosedBracket(i),t&&r){for(;a.length&&("space"===(s=a[a.length-1][0])||"comment"===s);)this.tokenizer.back(a.pop());this.decl(a)}else this.unknownWord(a)},e.prototype.rule=function(e){e.pop();var t=new u.default;this.init(t,e[0][2],e[0][3]),t.raws.between=this.spacesAndCommentsFromEnd(e),this.raw(t,"selector",e),this.current=t},e.prototype.decl=function(e){var t=new r.default;this.init(t);var n=e[e.length-1];for(";"===n[0]&&(this.semicolon=!0,e.pop()),n[4]?t.source.end={line:n[4],column:n[5]}:t.source.end={line:n[2],column:n[3]};"word"!==e[0][0];)1===e.length&&this.unknownWord(e),t.raws.before+=e.shift()[1];for(t.source.start={line:e[0][2],column:e[0][3]},t.prop="";e.length;){var i=e[0][0];if(":"===i||"space"===i||"comment"===i)break;t.prop+=e.shift()[1]}t.raws.between="";for(var o=void 0;e.length;){if(":"===(o=e.shift())[0]){t.raws.between+=o[1];break}t.raws.between+=o[1]}"_"!==t.prop[0]&&"*"!==t.prop[0]||(t.raws.before+=t.prop[0],t.prop=t.prop.slice(1)),t.raws.between+=this.spacesAndCommentsFromStart(e),this.precheckMissedSemicolon(e);for(var a=e.length-1;a>0;a--){if("!important"===(o=e[a])[1].toLowerCase()){t.important=!0;var s=this.stringFrom(e,a);" !important"!==(s=this.spacesFromEnd(e)+s)&&(t.raws.important=s);break}if("important"===o[1].toLowerCase()){for(var u=e.slice(0),c="",l=a;l>0;l--){var f=u[l][0];if(0===c.trim().indexOf("!")&&"space"!==f)break;c=u.pop()[1]+c}0===c.trim().indexOf("!")&&(t.important=!0,t.raws.important=c,e=u)}if("space"!==o[0]&&"comment"!==o[0])break}this.raw(t,"value",e),-1!==t.value.indexOf(":")&&this.checkMissedSemicolon(e)},e.prototype.atrule=function(e){var t=new a.default;t.name=e[1].slice(1),""===t.name&&this.unnamedAtrule(t,e),this.init(t,e[2],e[3]);for(var n=void 0,r=void 0,i=!1,o=!1,s=[];!this.tokenizer.endOfFile();){if(";"===(e=this.tokenizer.nextToken())[0]){t.source.end={line:e[2],column:e[3]},this.semicolon=!0;break}if("{"===e[0]){o=!0;break}if("}"===e[0]){if(s.length>0){for(n=s[r=s.length-1];n&&"space"===n[0];)n=s[--r];n&&(t.source.end={line:n[4],column:n[5]})}this.end(e);break}if(s.push(e),this.tokenizer.endOfFile()){i=!0;break}}t.raws.between=this.spacesAndCommentsFromEnd(s),s.length?(t.raws.afterName=this.spacesAndCommentsFromStart(s),this.raw(t,"params",s),i&&(e=s[s.length-1],t.source.end={line:e[4],column:e[5]},this.spaces=t.raws.between,t.raws.between="")):(t.raws.afterName="",t.params=""),o&&(t.nodes=[],this.current=t)},e.prototype.end=function(e){this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.semicolon=!1,this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.spaces="",this.current.parent?(this.current.source.end={line:e[2],column:e[3]},this.current=this.current.parent):this.unexpectedClose(e)},e.prototype.endFile=function(){this.current.parent&&this.unclosedBlock(),this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.current.raws.after=(this.current.raws.after||"")+this.spaces},e.prototype.freeSemicolon=function(e){if(this.spaces+=e[1],this.current.nodes){var t=this.current.nodes[this.current.nodes.length-1];t&&"rule"===t.type&&!t.raws.ownSemicolon&&(t.raws.ownSemicolon=this.spaces,this.spaces="")}},e.prototype.init=function(e,t,n){this.current.push(e),e.source={start:{line:t,column:n},input:this.input},e.raws.before=this.spaces,this.spaces="","comment"!==e.type&&(this.semicolon=!1)},e.prototype.raw=function(e,t,n){for(var r=void 0,i=void 0,o=n.length,a="",s=!0,u=0;u<o;u+=1)"comment"===(i=(r=n[u])[0])||"space"===i&&u===o-1?s=!1:a+=r[1];if(!s){var c=n.reduce((function(e,t){return e+t[1]}),"");e.raws[t]={value:a,raw:c}}e[t]=a},e.prototype.spacesAndCommentsFromEnd=function(e){for(var t=void 0,n="";e.length&&("space"===(t=e[e.length-1][0])||"comment"===t);)n=e.pop()[1]+n;return n},e.prototype.spacesAndCommentsFromStart=function(e){for(var t=void 0,n="";e.length&&("space"===(t=e[0][0])||"comment"===t);)n+=e.shift()[1];return n},e.prototype.spacesFromEnd=function(e){for(var t="";e.length&&"space"===e[e.length-1][0];)t=e.pop()[1]+t;return t},e.prototype.stringFrom=function(e,t){for(var n="",r=t;r<e.length;r++)n+=e[r][1];return e.splice(t,e.length-t),n},e.prototype.colon=function(e){for(var t=0,n=void 0,r=void 0,i=void 0,o=0;o<e.length;o++){if("("===(r=(n=e[o])[0]))t+=1;else if(")"===r)t-=1;else if(0===t&&":"===r){if(i){if("word"===i[0]&&"progid"===i[1])continue;return o}this.doubleColon(n)}i=n}return!1},e.prototype.unclosedBracket=function(e){throw this.input.error("Unclosed bracket",e[2],e[3])},e.prototype.unknownWord=function(e){throw this.input.error("Unknown word",e[0][2],e[0][3])},e.prototype.unexpectedClose=function(e){throw this.input.error("Unexpected }",e[2],e[3])},e.prototype.unclosedBlock=function(){var e=this.current.source.start;throw this.input.error("Unclosed block",e.line,e.column)},e.prototype.doubleColon=function(e){throw this.input.error("Double colon",e[2],e[3])},e.prototype.unnamedAtrule=function(e,t){throw this.input.error("At-rule without name",t[2],t[3])},e.prototype.precheckMissedSemicolon=function(e){},e.prototype.checkMissedSemicolon=function(e){var t=this.colon(e);if(!1!==t){for(var n=0,r=void 0,i=t-1;i>=0&&("space"===(r=e[i])[0]||2!==(n+=1));i--);throw this.input.error("Missed semicolon",r[2],r[3])}},e}();t.default=l,e.exports=t.default},13200:function(e,t,n){"use strict";t.__esModule=!0;var r=p(n(85232)),i=p(n(46580)),o=p(n(23179)),a=p(n(91569)),s=p(n(12650)),u=p(n(20435)),c=p(n(11665)),l=p(n(30416)),f=p(n(4485)),d=p(n(71283));function p(e){return e&&e.__esModule?e:{default:e}}function h(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return 1===t.length&&Array.isArray(t[0])&&(t=t[0]),new i.default(t)}h.plugin=function(e,t){var n=function(){var n=t.apply(void 0,arguments);return n.postcssPlugin=e,n.postcssVersion=(new i.default).version,n},r=void 0;return Object.defineProperty(n,"postcss",{get:function(){return r||(r=n()),r}}),n.process=function(e,t,r){return h([n(r)]).process(e,t)},n},h.stringify=o.default,h.parse=c.default,h.vendor=u.default,h.list=l.default,h.comment=function(e){return new a.default(e)},h.atRule=function(e){return new s.default(e)},h.decl=function(e){return new r.default(e)},h.rule=function(e){return new f.default(e)},h.root=function(e){return new d.default(e)},t.default=h,e.exports=t.default},49470:function(e,t,n){"use strict";t.__esModule=!0;var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=s(n(49125)),o=s(n(26470)),a=s(n(31777));function s(e){return e&&e.__esModule?e:{default:e}}var u=function(){function e(t,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.loadAnnotation(t),this.inline=this.startWith(this.annotation,"data:");var r=n.map?n.map.prev:void 0,i=this.loadMap(n.from,r);i&&(this.text=i)}return e.prototype.consumer=function(){return this.consumerCache||(this.consumerCache=new i.default.SourceMapConsumer(this.text)),this.consumerCache},e.prototype.withContent=function(){return!!(this.consumer().sourcesContent&&this.consumer().sourcesContent.length>0)},e.prototype.startWith=function(e,t){return!!e&&e.substr(0,t.length)===t},e.prototype.loadAnnotation=function(e){var t=e.match(/\/\*\s*# sourceMappingURL=(.*)\s*\*\//);t&&(this.annotation=t[1].trim())},e.prototype.decodeInline=function(e){var t="data:application/json,";if(this.startWith(e,t))return decodeURIComponent(e.substr(t.length));if(/^data:application\/json;(?:charset=utf-?8;)?base64,/.test(e))return n=e.substr(RegExp.lastMatch.length),Buffer?Buffer.from&&Buffer.from!==Uint8Array.from?Buffer.from(n,"base64").toString():new Buffer(n,"base64").toString():window.atob(n);var n,r=e.match(/data:application\/json;([^,]+),/)[1];throw new Error("Unsupported source map encoding "+r)},e.prototype.loadMap=function(e,t){if(!1===t)return!1;if(t){if("string"==typeof t)return t;if("function"==typeof t){var n=t(e);if(n&&a.default.existsSync&&a.default.existsSync(n))return a.default.readFileSync(n,"utf-8").toString().trim();throw new Error("Unable to load previous source map: "+n.toString())}if(t instanceof i.default.SourceMapConsumer)return i.default.SourceMapGenerator.fromSourceMap(t).toString();if(t instanceof i.default.SourceMapGenerator)return t.toString();if(this.isMap(t))return JSON.stringify(t);throw new Error("Unsupported previous source map format: "+t.toString())}if(this.inline)return this.decodeInline(this.annotation);if(this.annotation){var r=this.annotation;return e&&(r=o.default.join(o.default.dirname(e),r)),this.root=o.default.dirname(r),!(!a.default.existsSync||!a.default.existsSync(r))&&a.default.readFileSync(r,"utf-8").toString().trim()}},e.prototype.isMap=function(e){return"object"===(void 0===e?"undefined":r(e))&&("string"==typeof e.mappings||"string"==typeof e._mappings)},e}();t.default=u,e.exports=t.default},46580:function(e,t,n){"use strict";t.__esModule=!0;var r,i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o=n(75673),a=(r=o)&&r.__esModule?r:{default:r};function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var u=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];s(this,e),this.version="6.0.16",this.plugins=this.normalize(t)}return e.prototype.use=function(e){return this.plugins=this.plugins.concat(this.normalize([e])),this},e.prototype.process=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return new a.default(this,e,t)},e.prototype.normalize=function(e){var t=[],n=e,r=Array.isArray(n),o=0;for(n=r?n:n[Symbol.iterator]();;){var a;if(r){if(o>=n.length)break;a=n[o++]}else{if((o=n.next()).done)break;a=o.value}var s=a;if(s.postcss&&(s=s.postcss),"object"===(void 0===s?"undefined":i(s))&&Array.isArray(s.plugins))t=t.concat(s.plugins);else{if("function"!=typeof s)throw"object"===(void 0===s?"undefined":i(s))&&(s.parse||s.stringify)?new Error("PostCSS syntaxes cannot be used as plugins. Instead, please use one of the syntax/parser/stringifier options as outlined in your PostCSS runner documentation."):new Error(s+" is not a PostCSS plugin");t.push(s)}}return t},e}();t.default=u,e.exports=t.default},96641:function(e,t,n){"use strict";t.__esModule=!0;var r,i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=n(3061),a=(r=o)&&r.__esModule?r:{default:r};var s=function(){function e(t,n,r){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.processor=t,this.messages=[],this.root=n,this.opts=r,this.css=void 0,this.map=void 0}return e.prototype.toString=function(){return this.css},e.prototype.warn=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};t.plugin||this.lastPlugin&&this.lastPlugin.postcssPlugin&&(t.plugin=this.lastPlugin.postcssPlugin);var n=new a.default(e,t);return this.messages.push(n),n},e.prototype.warnings=function(){return this.messages.filter((function(e){return"warning"===e.type}))},i(e,[{key:"content",get:function(){return this.css}}]),e}();t.default=s,e.exports=t.default},71283:function(e,t,n){"use strict";t.__esModule=!0;var r,i=n(66808);var o=function(e){function t(n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var r=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,e.call(this,n));return r.type="root",r.nodes||(r.nodes=[]),r}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t.prototype.removeChild=function(t,n){var r=this.index(t);return!n&&0===r&&this.nodes.length>1&&(this.nodes[1].raws.before=this.nodes[r].raws.before),e.prototype.removeChild.call(this,t)},t.prototype.normalize=function(t,n,r){var i=e.prototype.normalize.call(this,t);if(n)if("prepend"===r)this.nodes.length>1?n.raws.before=this.nodes[1].raws.before:delete n.raws.before;else if(this.first!==n){var o=i,a=Array.isArray(o),s=0;for(o=a?o:o[Symbol.iterator]();;){var u;if(a){if(s>=o.length)break;u=o[s++]}else{if((s=o.next()).done)break;u=s.value}u.raws.before=n.raws.before}}return i},t.prototype.toResult=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=n(75673),r=n(46580),i=new t(new r,this,e);return i.stringify()},t}(((r=i)&&r.__esModule?r:{default:r}).default);t.default=o,e.exports=t.default},4485:function(e,t,n){"use strict";t.__esModule=!0;var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=a(n(66808)),o=a(n(30416));function a(e){return e&&e.__esModule?e:{default:e}}var s=function(e){function t(n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var r=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,e.call(this,n));return r.type="rule",r.nodes||(r.nodes=[]),r}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),r(t,[{key:"selectors",get:function(){return o.default.comma(this.selector)},set:function(e){var t=this.selector?this.selector.match(/,\s*/):null,n=t?t[0]:","+this.raw("between","beforeOpen");this.selector=e.join(n)}}]),t}(i.default);t.default=s,e.exports=t.default},7843:function(e,t){"use strict";t.__esModule=!0;var n={colon:": ",indent:"    ",beforeDecl:"\n",beforeRule:"\n",beforeOpen:" ",beforeClose:"\n",beforeComment:"\n",after:"\n",emptyBody:"",commentLeft:" ",commentRight:" "};var r=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.builder=t}return e.prototype.stringify=function(e,t){this[e.type](e,t)},e.prototype.root=function(e){this.body(e),e.raws.after&&this.builder(e.raws.after)},e.prototype.comment=function(e){var t=this.raw(e,"left","commentLeft"),n=this.raw(e,"right","commentRight");this.builder("/*"+t+e.text+n+"*/",e)},e.prototype.decl=function(e,t){var n=this.raw(e,"between","colon"),r=e.prop+n+this.rawValue(e,"value");e.important&&(r+=e.raws.important||" !important"),t&&(r+=";"),this.builder(r,e)},e.prototype.rule=function(e){this.block(e,this.rawValue(e,"selector")),e.raws.ownSemicolon&&this.builder(e.raws.ownSemicolon,e,"end")},e.prototype.atrule=function(e,t){var n="@"+e.name,r=e.params?this.rawValue(e,"params"):"";if(void 0!==e.raws.afterName?n+=e.raws.afterName:r&&(n+=" "),e.nodes)this.block(e,n+r);else{var i=(e.raws.between||"")+(t?";":"");this.builder(n+r+i,e)}},e.prototype.body=function(e){for(var t=e.nodes.length-1;t>0&&"comment"===e.nodes[t].type;)t-=1;for(var n=this.raw(e,"semicolon"),r=0;r<e.nodes.length;r++){var i=e.nodes[r],o=this.raw(i,"before");o&&this.builder(o),this.stringify(i,t!==r||n)}},e.prototype.block=function(e,t){var n=this.raw(e,"between","beforeOpen");this.builder(t+n+"{",e,"start");var r=void 0;e.nodes&&e.nodes.length?(this.body(e),r=this.raw(e,"after")):r=this.raw(e,"after","emptyBody"),r&&this.builder(r),this.builder("}",e,"end")},e.prototype.raw=function(e,t,r){var i=void 0;if(r||(r=t),t&&void 0!==(i=e.raws[t]))return i;var o=e.parent;if("before"===r&&(!o||"root"===o.type&&o.first===e))return"";if(!o)return n[r];var a=e.root();if(a.rawCache||(a.rawCache={}),void 0!==a.rawCache[r])return a.rawCache[r];if("before"===r||"after"===r)return this.beforeAfter(e,r);var s,u="raw"+((s=r)[0].toUpperCase()+s.slice(1));return this[u]?i=this[u](a,e):a.walk((function(e){if(void 0!==(i=e.raws[t]))return!1})),void 0===i&&(i=n[r]),a.rawCache[r]=i,i},e.prototype.rawSemicolon=function(e){var t=void 0;return e.walk((function(e){if(e.nodes&&e.nodes.length&&"decl"===e.last.type&&void 0!==(t=e.raws.semicolon))return!1})),t},e.prototype.rawEmptyBody=function(e){var t=void 0;return e.walk((function(e){if(e.nodes&&0===e.nodes.length&&void 0!==(t=e.raws.after))return!1})),t},e.prototype.rawIndent=function(e){if(e.raws.indent)return e.raws.indent;var t=void 0;return e.walk((function(n){var r=n.parent;if(r&&r!==e&&r.parent&&r.parent===e&&void 0!==n.raws.before){var i=n.raws.before.split("\n");return t=(t=i[i.length-1]).replace(/[^\s]/g,""),!1}})),t},e.prototype.rawBeforeComment=function(e,t){var n=void 0;return e.walkComments((function(e){if(void 0!==e.raws.before)return-1!==(n=e.raws.before).indexOf("\n")&&(n=n.replace(/[^\n]+$/,"")),!1})),void 0===n?n=this.raw(t,null,"beforeDecl"):n&&(n=n.replace(/[^\s]/g,"")),n},e.prototype.rawBeforeDecl=function(e,t){var n=void 0;return e.walkDecls((function(e){if(void 0!==e.raws.before)return-1!==(n=e.raws.before).indexOf("\n")&&(n=n.replace(/[^\n]+$/,"")),!1})),void 0===n?n=this.raw(t,null,"beforeRule"):n&&(n=n.replace(/[^\s]/g,"")),n},e.prototype.rawBeforeRule=function(e){var t=void 0;return e.walk((function(n){if(n.nodes&&(n.parent!==e||e.first!==n)&&void 0!==n.raws.before)return-1!==(t=n.raws.before).indexOf("\n")&&(t=t.replace(/[^\n]+$/,"")),!1})),t&&(t=t.replace(/[^\s]/g,"")),t},e.prototype.rawBeforeClose=function(e){var t=void 0;return e.walk((function(e){if(e.nodes&&e.nodes.length>0&&void 0!==e.raws.after)return-1!==(t=e.raws.after).indexOf("\n")&&(t=t.replace(/[^\n]+$/,"")),!1})),t&&(t=t.replace(/[^\s]/g,"")),t},e.prototype.rawBeforeOpen=function(e){var t=void 0;return e.walk((function(e){if("decl"!==e.type&&void 0!==(t=e.raws.between))return!1})),t},e.prototype.rawColon=function(e){var t=void 0;return e.walkDecls((function(e){if(void 0!==e.raws.between)return t=e.raws.between.replace(/[^\s:]/g,""),!1})),t},e.prototype.beforeAfter=function(e,t){var n=void 0;n="decl"===e.type?this.raw(e,null,"beforeDecl"):"comment"===e.type?this.raw(e,null,"beforeComment"):"before"===t?this.raw(e,null,"beforeRule"):this.raw(e,null,"beforeClose");for(var r=e.parent,i=0;r&&"root"!==r.type;)i+=1,r=r.parent;if(-1!==n.indexOf("\n")){var o=this.raw(e,null,"indent");if(o.length)for(var a=0;a<i;a++)n+=o}return n},e.prototype.rawValue=function(e,t){var n=e[t],r=e.raws[t];return r&&r.value===n?r.raw:n},e}();t.default=r,e.exports=t.default},23179:function(e,t,n){"use strict";t.__esModule=!0,t.default=function(e,t){new o.default(t).stringify(e)};var r,i=n(7843),o=(r=i)&&r.__esModule?r:{default:r};e.exports=t.default},84903:function(e,t,n){"use strict";t.__esModule=!0;var r=a(n(30717)),i=a(n(53240)),o=a(n(62627));function a(e){return e&&e.__esModule?e:{default:e}}var s={brackets:r.default.cyan,"at-word":r.default.cyan,call:r.default.cyan,comment:r.default.gray,string:r.default.green,class:r.default.yellow,hash:r.default.magenta,"(":r.default.cyan,")":r.default.cyan,"{":r.default.yellow,"}":r.default.yellow,"[":r.default.yellow,"]":r.default.yellow,":":r.default.yellow,";":r.default.yellow};t.default=function(e){for(var t=(0,i.default)(new o.default(e),{ignoreErrors:!0}),n="",r=function(){var e=t.nextToken(),r=s[function(e,t){var n=e[0],r=e[1];if("word"===n){if("."===r[0])return"class";if("#"===r[0])return"hash"}if(!t.endOfFile()){var i=t.nextToken();if(t.back(i),"brackets"===i[0]||"("===i[0])return"call"}return n}(e,t)];n+=r?e[1].split(/\r?\n/).map((function(e){return r(e)})).join("\n"):e[1]};!t.endOfFile();)r();return n},e.exports=t.default},53240:function(e,t){"use strict";t.__esModule=!0,t.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},d=e.css.valueOf(),p=t.ignoreErrors,h=void 0,g=void 0,m=void 0,y=void 0,v=void 0,b=void 0,_=void 0,w=void 0,T=void 0,x=void 0,S=void 0,k=void 0,E=void 0,O=void 0,C=d.length,L=-1,A=1,I=0,P=[],M=[];function R(t){throw e.error("Unclosed "+t,A,I-L)}function j(){return 0===M.length&&I>=C}function D(){if(M.length)return M.pop();if(!(I>=C)){switch(((h=d.charCodeAt(I))===i||h===a||h===s&&d.charCodeAt(I+1)!==i)&&(L=I,A+=1),h){case i:case o:case 9:case s:case a:g=I;do{g+=1,(h=d.charCodeAt(g))===i&&(L=g,A+=1)}while(h===o||h===i||9===h||h===s||h===a);O=["space",d.slice(I,g)],I=g-1;break;case 91:O=["[","[",A,I-L];break;case 93:O=["]","]",A,I-L];break;case 123:O=["{","{",A,I-L];break;case 125:O=["}","}",A,I-L];break;case 58:O=[":",":",A,I-L];break;case 59:O=[";",";",A,I-L];break;case 40:if(k=P.length?P.pop()[1]:"",E=d.charCodeAt(I+1),"url"===k&&E!==n&&34!==E&&E!==o&&E!==i&&9!==E&&E!==a&&E!==s){g=I;do{if(x=!1,-1===(g=d.indexOf(")",g+1))){if(p){g=I;break}R("bracket")}for(S=g;d.charCodeAt(S-1)===r;)S-=1,x=!x}while(x);O=["brackets",d.slice(I,g+1),A,I-L,A,g-L],I=g}else g=d.indexOf(")",I+1),b=d.slice(I,g+1),-1===g||l.test(b)?O=["(","(",A,I-L]:(O=["brackets",b,A,I-L,A,g-L],I=g);break;case 41:O=[")",")",A,I-L];break;case n:case 34:m=h===n?"'":'"',g=I;do{if(x=!1,-1===(g=d.indexOf(m,g+1))){if(p){g=I+1;break}R("string")}for(S=g;d.charCodeAt(S-1)===r;)S-=1,x=!x}while(x);b=d.slice(I,g+1),y=b.split("\n"),(v=y.length-1)>0?(w=A+v,T=g-y[v].length):(w=A,T=L),O=["string",d.slice(I,g+1),A,I-L,w,g-T],L=T,A=w,I=g;break;case 64:u.lastIndex=I+1,u.test(d),g=0===u.lastIndex?d.length-1:u.lastIndex-2,O=["at-word",d.slice(I,g+1),A,I-L,A,g-L],I=g;break;case r:for(g=I,_=!0;d.charCodeAt(g+1)===r;)g+=1,_=!_;if(h=d.charCodeAt(g+1),_&&47!==h&&h!==o&&h!==i&&9!==h&&h!==s&&h!==a&&(g+=1,f.test(d.charAt(g)))){for(;f.test(d.charAt(g+1));)g+=1;d.charCodeAt(g+1)===o&&(g+=1)}O=["word",d.slice(I,g+1),A,I-L,A,g-L],I=g;break;default:47===h&&42===d.charCodeAt(I+1)?(0===(g=d.indexOf("*/",I+2)+1)&&(p?g=d.length:R("comment")),b=d.slice(I,g+1),y=b.split("\n"),(v=y.length-1)>0?(w=A+v,T=g-y[v].length):(w=A,T=L),O=["comment",b,A,I-L,w,g-T],L=T,A=w,I=g):(c.lastIndex=I+1,c.test(d),g=0===c.lastIndex?d.length-1:c.lastIndex-2,O=["word",d.slice(I,g+1),A,I-L,A,g-L],P.push(O),I=g)}return I++,O}}function N(e){M.push(e)}return{back:N,nextToken:D,endOfFile:j}};var n=39,r=92,i=10,o=32,a=12,s=13,u=/[ \n\t\r\f\{\(\)'"\\;/\[\]#]/g,c=/[ \n\t\r\f\(\)\{\}:;@!'"\\\]\[#]|\/(?=\*)/g,l=/.[\\\/\("'\n]/,f=/[a-f0-9]/i;e.exports=t.default},20435:function(e,t){"use strict";t.__esModule=!0;t.default={prefix:function(e){var t=e.match(/^(-\w+-)/);return t?t[0]:""},unprefixed:function(e){return e.replace(/^-\w+-/,"")}},e.exports=t.default},84133:function(e,t){"use strict";t.__esModule=!0,t.default=function(e){if(n[e])return;n[e]=!0,"undefined"!=typeof console&&console.warn&&console.warn(e)};var n={};e.exports=t.default},3061:function(e,t){"use strict";function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}t.__esModule=!0;var r=function(){function e(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(n(this,e),this.type="warning",this.text=t,r.node&&r.node.source){var i=r.node.positionBy(r);this.line=i.line,this.column=i.column}for(var o in r)this[o]=r[o]}return e.prototype.toString=function(){return this.node?this.node.error(this.text,{plugin:this.plugin,index:this.index,word:this.word}).message:this.plugin?this.plugin+": "+this.text:this.text},e}();t.default=r,e.exports=t.default},60053:function(e,t){"use strict";function n(e,t){var n=e.length;e.push(t);e:for(;0<n;){var r=n-1>>>1,i=e[r];if(!(0<o(i,t)))break e;e[r]=t,e[n]=i,n=r}}function r(e){return 0===e.length?null:e[0]}function i(e){if(0===e.length)return null;var t=e[0],n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,i=e.length,a=i>>>1;r<a;){var s=2*(r+1)-1,u=e[s],c=s+1,l=e[c];if(0>o(u,n))c<i&&0>o(l,u)?(e[r]=l,e[c]=n,r=c):(e[r]=u,e[s]=n,r=s);else{if(!(c<i&&0>o(l,n)))break e;e[r]=l,e[c]=n,r=c}}}return t}function o(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}if("object"==typeof performance&&"function"==typeof performance.now){var a=performance;t.unstable_now=function(){return a.now()}}else{var s=Date,u=s.now();t.unstable_now=function(){return s.now()-u}}var c=[],l=[],f=1,d=null,p=3,h=!1,g=!1,m=!1,y="function"==typeof setTimeout?setTimeout:null,v="function"==typeof clearTimeout?clearTimeout:null,b="undefined"!=typeof setImmediate?setImmediate:null;function _(e){for(var t=r(l);null!==t;){if(null===t.callback)i(l);else{if(!(t.startTime<=e))break;i(l),t.sortIndex=t.expirationTime,n(c,t)}t=r(l)}}function w(e){if(m=!1,_(e),!g)if(null!==r(c))g=!0,M(T);else{var t=r(l);null!==t&&R(w,t.startTime-e)}}function T(e,n){g=!1,m&&(m=!1,v(E),E=-1),h=!0;var o=p;try{for(_(n),d=r(c);null!==d&&(!(d.expirationTime>n)||e&&!L());){var a=d.callback;if("function"==typeof a){d.callback=null,p=d.priorityLevel;var s=a(d.expirationTime<=n);n=t.unstable_now(),"function"==typeof s?d.callback=s:d===r(c)&&i(c),_(n)}else i(c);d=r(c)}if(null!==d)var u=!0;else{var f=r(l);null!==f&&R(w,f.startTime-n),u=!1}return u}finally{d=null,p=o,h=!1}}"undefined"!=typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var x,S=!1,k=null,E=-1,O=5,C=-1;function L(){return!(t.unstable_now()-C<O)}function A(){if(null!==k){var e=t.unstable_now();C=e;var n=!0;try{n=k(!0,e)}finally{n?x():(S=!1,k=null)}}else S=!1}if("function"==typeof b)x=function(){b(A)};else if("undefined"!=typeof MessageChannel){var I=new MessageChannel,P=I.port2;I.port1.onmessage=A,x=function(){P.postMessage(null)}}else x=function(){y(A,0)};function M(e){k=e,S||(S=!0,x())}function R(e,n){E=y((function(){e(t.unstable_now())}),n)}t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_continueExecution=function(){g||h||(g=!0,M(T))},t.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):O=0<e?Math.floor(1e3/e):5},t.unstable_getCurrentPriorityLevel=function(){return p},t.unstable_getFirstCallbackNode=function(){return r(c)},t.unstable_next=function(e){switch(p){case 1:case 2:case 3:var t=3;break;default:t=p}var n=p;p=t;try{return e()}finally{p=n}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=function(){},t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=p;p=e;try{return t()}finally{p=n}},t.unstable_scheduleCallback=function(e,i,o){var a=t.unstable_now();switch("object"==typeof o&&null!==o?o="number"==typeof(o=o.delay)&&0<o?a+o:a:o=a,e){case 1:var s=-1;break;case 2:s=250;break;case 5:s=1073741823;break;case 4:s=1e4;break;default:s=5e3}return e={id:f++,callback:i,priorityLevel:e,startTime:o,expirationTime:s=o+s,sortIndex:-1},o>a?(e.sortIndex=o,n(l,e),null===r(c)&&e===r(l)&&(m?(v(E),E=-1):m=!0,R(w,o-a))):(e.sortIndex=s,n(c,e),g||h||(g=!0,M(T))),e},t.unstable_shouldYield=L,t.unstable_wrapCallback=function(e){var t=p;return function(){var n=p;p=t;try{return e.apply(this,arguments)}finally{p=n}}}},63840:function(e,t,n){"use strict";e.exports=n(60053)},3675:function(e,t,n){"use strict";function r(e){return null!=e&&"object"==typeof e&&(1===e.nodeType||11===e.nodeType)}function i(e,t){return(!t||"hidden"!==e)&&("visible"!==e&&"clip"!==e)}function o(e,t){if(e.clientHeight<e.scrollHeight||e.clientWidth<e.scrollWidth){var n=getComputedStyle(e,null);return i(n.overflowY,t)||i(n.overflowX,t)}return!1}function a(e,t,n,r,i,o,a,s){return o<e&&a>t||o>e&&a<t?0:o<e&&s<n||a>t&&s>n?o-e-r:a>t&&s<n||o<e&&s>n?a-t+i:0}n.d(t,{Z:function(){return c}});var s=function(e,t){var n=t.scrollMode,i=t.block,s=t.inline,u=t.boundary,c=t.skipOverflowHiddenElements,l="function"==typeof u?u:function(e){return e!==u};if(!r(e))throw new TypeError("Invalid target");for(var f=document.scrollingElement||document.documentElement,d=[],p=e;r(p)&&l(p);){if((p=p.parentNode||p.host)===f){d.push(p);break}p===document.body&&o(p)&&!o(document.documentElement)||o(p,c)&&d.push(p)}for(var h=window.visualViewport?visualViewport.width:innerWidth,g=window.visualViewport?visualViewport.height:innerHeight,m=window.scrollX||pageXOffset,y=window.scrollY||pageYOffset,v=e.getBoundingClientRect(),b=v.height,_=v.width,w=v.top,T=v.right,x=v.bottom,S=v.left,k="start"===i||"nearest"===i?w:"end"===i?x:w+b/2,E="center"===s?S+_/2:"end"===s?T:S,O=[],C=0;C<d.length;C++){var L=d[C],A=L.getBoundingClientRect(),I=A.height,P=A.width,M=A.top,R=A.right,j=A.bottom,D=A.left;if("if-needed"===n&&w>=0&&S>=0&&x<=g&&T<=h&&w>=M&&x<=j&&S>=D&&T<=R)return O;var N=getComputedStyle(L),B=parseInt(N.borderLeftWidth,10),U=parseInt(N.borderTopWidth,10),F=parseInt(N.borderRightWidth,10),z=parseInt(N.borderBottomWidth,10),H=0,Z=0,q="offsetWidth"in L?L.offsetWidth-L.clientWidth-B-F:0,V="offsetHeight"in L?L.offsetHeight-L.clientHeight-U-z:0;if(f===L)H="start"===i?k:"end"===i?k-g:"nearest"===i?a(y,y+g,g,U,z,y+k,y+k+b,b):k-g/2,Z="start"===s?E:"center"===s?E-h/2:"end"===s?E-h:a(m,m+h,h,B,F,m+E,m+E+_,_),H=Math.max(0,H+y),Z=Math.max(0,Z+m);else{H="start"===i?k-M-U:"end"===i?k-j+z+V:"nearest"===i?a(M,j,I,U,z+V,k,k+b,b):k-(M+I/2)+V/2,Z="start"===s?E-D-B:"center"===s?E-(D+P/2)+q/2:"end"===s?E-R+F+q:a(D,R,P,B,F+q,E,E+_,_);var W=L.scrollLeft,G=L.scrollTop;k+=G-(H=Math.max(0,Math.min(G+H,L.scrollHeight-I+V))),E+=W-(Z=Math.max(0,Math.min(W+Z,L.scrollWidth-P+q)))}O.push({el:L,top:H,left:Z})}return O};function u(e){return e===Object(e)&&0!==Object.keys(e).length}var c=function(e,t){if(u(t)&&"function"==typeof t.behavior)return t.behavior(s(e,t));var n=function(e){return!1===e?{block:"end",inline:"nearest"}:u(e)?e:{block:"start",inline:"nearest"}}(t);return function(e,t){void 0===t&&(t="auto");var n="scrollBehavior"in document.body.style;e.forEach((function(e){var r=e.el,i=e.top,o=e.left;r.scroll&&n?r.scroll({top:i,left:o,behavior:t}):(r.scrollTop=i,r.scrollLeft=o)}))}(s(e,n),n.behavior)}},78213:function(e,t,n){var r=n(32728),i=Object.prototype.hasOwnProperty,o="undefined"!=typeof Map;function a(){this._array=[],this._set=o?new Map:Object.create(null)}a.fromArray=function(e,t){for(var n=new a,r=0,i=e.length;r<i;r++)n.add(e[r],t);return n},a.prototype.size=function(){return o?this._set.size:Object.getOwnPropertyNames(this._set).length},a.prototype.add=function(e,t){var n=o?e:r.toSetString(e),a=o?this.has(e):i.call(this._set,n),s=this._array.length;a&&!t||this._array.push(e),a||(o?this._set.set(e,s):this._set[n]=s)},a.prototype.has=function(e){if(o)return this._set.has(e);var t=r.toSetString(e);return i.call(this._set,t)},a.prototype.indexOf=function(e){if(o){var t=this._set.get(e);if(t>=0)return t}else{var n=r.toSetString(e);if(i.call(this._set,n))return this._set[n]}throw new Error('"'+e+'" is not in the set.')},a.prototype.at=function(e){if(e>=0&&e<this._array.length)return this._array[e];throw new Error("No element indexed by "+e)},a.prototype.toArray=function(){return this._array.slice()},t.I=a},16400:function(e,t,n){var r=n(67923);t.encode=function(e){var t,n="",i=function(e){return e<0?1+(-e<<1):0+(e<<1)}(e);do{t=31&i,(i>>>=5)>0&&(t|=32),n+=r.encode(t)}while(i>0);return n},t.decode=function(e,t,n){var i,o,a,s,u=e.length,c=0,l=0;do{if(t>=u)throw new Error("Expected more digits in base 64 VLQ value.");if(-1===(o=r.decode(e.charCodeAt(t++))))throw new Error("Invalid base64 digit: "+e.charAt(t-1));i=!!(32&o),c+=(o&=31)<<l,l+=5}while(i);n.value=(s=(a=c)>>1,1==(1&a)?-s:s),n.rest=t}},67923:function(e,t){var n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");t.encode=function(e){if(0<=e&&e<n.length)return n[e];throw new TypeError("Must be between 0 and 63: "+e)},t.decode=function(e){return 65<=e&&e<=90?e-65:97<=e&&e<=122?e-97+26:48<=e&&e<=57?e-48+52:43==e?62:47==e?63:-1}},9216:function(e,t){function n(e,r,i,o,a,s){var u=Math.floor((r-e)/2)+e,c=a(i,o[u],!0);return 0===c?u:c>0?r-u>1?n(u,r,i,o,a,s):s==t.LEAST_UPPER_BOUND?r<o.length?r:-1:u:u-e>1?n(e,u,i,o,a,s):s==t.LEAST_UPPER_BOUND?u:e<0?-1:e}t.GREATEST_LOWER_BOUND=1,t.LEAST_UPPER_BOUND=2,t.search=function(e,r,i,o){if(0===r.length)return-1;var a=n(-1,r.length,e,r,i,o||t.GREATEST_LOWER_BOUND);if(a<0)return-1;for(;a-1>=0&&0===i(r[a],r[a-1],!0);)--a;return a}},21188:function(e,t,n){var r=n(32728);function i(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}i.prototype.unsortedForEach=function(e,t){this._array.forEach(e,t)},i.prototype.add=function(e){var t,n,i,o,a,s;t=this._last,n=e,i=t.generatedLine,o=n.generatedLine,a=t.generatedColumn,s=n.generatedColumn,o>i||o==i&&s>=a||r.compareByGeneratedPositionsInflated(t,n)<=0?(this._last=e,this._array.push(e)):(this._sorted=!1,this._array.push(e))},i.prototype.toArray=function(){return this._sorted||(this._array.sort(r.compareByGeneratedPositionsInflated),this._sorted=!0),this._array},t.H=i},22826:function(e,t){function n(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function r(e,t,i,o){if(i<o){var a=i-1;n(e,(l=i,f=o,Math.round(l+Math.random()*(f-l))),o);for(var s=e[o],u=i;u<o;u++)t(e[u],s)<=0&&n(e,a+=1,u);n(e,a+1,u);var c=a+1;r(e,t,i,c-1),r(e,t,c+1,o)}var l,f}t.U=function(e,t){r(e,t,0,e.length-1)}},76771:function(e,t,n){var r=n(32728),i=n(9216),o=n(78213).I,a=n(16400),s=n(22826).U;function u(e,t){var n=e;return"string"==typeof e&&(n=r.parseSourceMapInput(e)),null!=n.sections?new f(n,t):new c(n,t)}function c(e,t){var n=e;"string"==typeof e&&(n=r.parseSourceMapInput(e));var i=r.getArg(n,"version"),a=r.getArg(n,"sources"),s=r.getArg(n,"names",[]),u=r.getArg(n,"sourceRoot",null),c=r.getArg(n,"sourcesContent",null),l=r.getArg(n,"mappings"),f=r.getArg(n,"file",null);if(i!=this._version)throw new Error("Unsupported version: "+i);u&&(u=r.normalize(u)),a=a.map(String).map(r.normalize).map((function(e){return u&&r.isAbsolute(u)&&r.isAbsolute(e)?r.relative(u,e):e})),this._names=o.fromArray(s.map(String),!0),this._sources=o.fromArray(a,!0),this._absoluteSources=this._sources.toArray().map((function(e){return r.computeSourceURL(u,e,t)})),this.sourceRoot=u,this.sourcesContent=c,this._mappings=l,this._sourceMapURL=t,this.file=f}function l(){this.generatedLine=0,this.generatedColumn=0,this.source=null,this.originalLine=null,this.originalColumn=null,this.name=null}function f(e,t){var n=e;"string"==typeof e&&(n=r.parseSourceMapInput(e));var i=r.getArg(n,"version"),a=r.getArg(n,"sections");if(i!=this._version)throw new Error("Unsupported version: "+i);this._sources=new o,this._names=new o;var s={line:-1,column:0};this._sections=a.map((function(e){if(e.url)throw new Error("Support for url field in sections not implemented.");var n=r.getArg(e,"offset"),i=r.getArg(n,"line"),o=r.getArg(n,"column");if(i<s.line||i===s.line&&o<s.column)throw new Error("Section offsets must be ordered and non-overlapping.");return s=n,{generatedOffset:{generatedLine:i+1,generatedColumn:o+1},consumer:new u(r.getArg(e,"map"),t)}}))}u.fromSourceMap=function(e,t){return c.fromSourceMap(e,t)},u.prototype._version=3,u.prototype.__generatedMappings=null,Object.defineProperty(u.prototype,"_generatedMappings",{configurable:!0,enumerable:!0,get:function(){return this.__generatedMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__generatedMappings}}),u.prototype.__originalMappings=null,Object.defineProperty(u.prototype,"_originalMappings",{configurable:!0,enumerable:!0,get:function(){return this.__originalMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__originalMappings}}),u.prototype._charIsMappingSeparator=function(e,t){var n=e.charAt(t);return";"===n||","===n},u.prototype._parseMappings=function(e,t){throw new Error("Subclasses must implement _parseMappings")},u.GENERATED_ORDER=1,u.ORIGINAL_ORDER=2,u.GREATEST_LOWER_BOUND=1,u.LEAST_UPPER_BOUND=2,u.prototype.eachMapping=function(e,t,n){var i,o=t||null;switch(n||u.GENERATED_ORDER){case u.GENERATED_ORDER:i=this._generatedMappings;break;case u.ORIGINAL_ORDER:i=this._originalMappings;break;default:throw new Error("Unknown order of iteration.")}var a=this.sourceRoot;i.map((function(e){var t=null===e.source?null:this._sources.at(e.source);return{source:t=r.computeSourceURL(a,t,this._sourceMapURL),generatedLine:e.generatedLine,generatedColumn:e.generatedColumn,originalLine:e.originalLine,originalColumn:e.originalColumn,name:null===e.name?null:this._names.at(e.name)}}),this).forEach(e,o)},u.prototype.allGeneratedPositionsFor=function(e){var t=r.getArg(e,"line"),n={source:r.getArg(e,"source"),originalLine:t,originalColumn:r.getArg(e,"column",0)};if(n.source=this._findSourceIndex(n.source),n.source<0)return[];var o=[],a=this._findMapping(n,this._originalMappings,"originalLine","originalColumn",r.compareByOriginalPositions,i.LEAST_UPPER_BOUND);if(a>=0){var s=this._originalMappings[a];if(void 0===e.column)for(var u=s.originalLine;s&&s.originalLine===u;)o.push({line:r.getArg(s,"generatedLine",null),column:r.getArg(s,"generatedColumn",null),lastColumn:r.getArg(s,"lastGeneratedColumn",null)}),s=this._originalMappings[++a];else for(var c=s.originalColumn;s&&s.originalLine===t&&s.originalColumn==c;)o.push({line:r.getArg(s,"generatedLine",null),column:r.getArg(s,"generatedColumn",null),lastColumn:r.getArg(s,"lastGeneratedColumn",null)}),s=this._originalMappings[++a]}return o},t.SourceMapConsumer=u,c.prototype=Object.create(u.prototype),c.prototype.consumer=u,c.prototype._findSourceIndex=function(e){var t,n=e;if(null!=this.sourceRoot&&(n=r.relative(this.sourceRoot,n)),this._sources.has(n))return this._sources.indexOf(n);for(t=0;t<this._absoluteSources.length;++t)if(this._absoluteSources[t]==e)return t;return-1},c.fromSourceMap=function(e,t){var n=Object.create(c.prototype),i=n._names=o.fromArray(e._names.toArray(),!0),a=n._sources=o.fromArray(e._sources.toArray(),!0);n.sourceRoot=e._sourceRoot,n.sourcesContent=e._generateSourcesContent(n._sources.toArray(),n.sourceRoot),n.file=e._file,n._sourceMapURL=t,n._absoluteSources=n._sources.toArray().map((function(e){return r.computeSourceURL(n.sourceRoot,e,t)}));for(var u=e._mappings.toArray().slice(),f=n.__generatedMappings=[],d=n.__originalMappings=[],p=0,h=u.length;p<h;p++){var g=u[p],m=new l;m.generatedLine=g.generatedLine,m.generatedColumn=g.generatedColumn,g.source&&(m.source=a.indexOf(g.source),m.originalLine=g.originalLine,m.originalColumn=g.originalColumn,g.name&&(m.name=i.indexOf(g.name)),d.push(m)),f.push(m)}return s(n.__originalMappings,r.compareByOriginalPositions),n},c.prototype._version=3,Object.defineProperty(c.prototype,"sources",{get:function(){return this._absoluteSources.slice()}}),c.prototype._parseMappings=function(e,t){for(var n,i,o,u,c,f=1,d=0,p=0,h=0,g=0,m=0,y=e.length,v=0,b={},_={},w=[],T=[];v<y;)if(";"===e.charAt(v))f++,v++,d=0;else if(","===e.charAt(v))v++;else{for((n=new l).generatedLine=f,u=v;u<y&&!this._charIsMappingSeparator(e,u);u++);if(o=b[i=e.slice(v,u)])v+=i.length;else{for(o=[];v<u;)a.decode(e,v,_),c=_.value,v=_.rest,o.push(c);if(2===o.length)throw new Error("Found a source, but no line and column");if(3===o.length)throw new Error("Found a source and line, but no column");b[i]=o}n.generatedColumn=d+o[0],d=n.generatedColumn,o.length>1&&(n.source=g+o[1],g+=o[1],n.originalLine=p+o[2],p=n.originalLine,n.originalLine+=1,n.originalColumn=h+o[3],h=n.originalColumn,o.length>4&&(n.name=m+o[4],m+=o[4])),T.push(n),"number"==typeof n.originalLine&&w.push(n)}s(T,r.compareByGeneratedPositionsDeflated),this.__generatedMappings=T,s(w,r.compareByOriginalPositions),this.__originalMappings=w},c.prototype._findMapping=function(e,t,n,r,o,a){if(e[n]<=0)throw new TypeError("Line must be greater than or equal to 1, got "+e[n]);if(e[r]<0)throw new TypeError("Column must be greater than or equal to 0, got "+e[r]);return i.search(e,t,o,a)},c.prototype.computeColumnSpans=function(){for(var e=0;e<this._generatedMappings.length;++e){var t=this._generatedMappings[e];if(e+1<this._generatedMappings.length){var n=this._generatedMappings[e+1];if(t.generatedLine===n.generatedLine){t.lastGeneratedColumn=n.generatedColumn-1;continue}}t.lastGeneratedColumn=1/0}},c.prototype.originalPositionFor=function(e){var t={generatedLine:r.getArg(e,"line"),generatedColumn:r.getArg(e,"column")},n=this._findMapping(t,this._generatedMappings,"generatedLine","generatedColumn",r.compareByGeneratedPositionsDeflated,r.getArg(e,"bias",u.GREATEST_LOWER_BOUND));if(n>=0){var i=this._generatedMappings[n];if(i.generatedLine===t.generatedLine){var o=r.getArg(i,"source",null);null!==o&&(o=this._sources.at(o),o=r.computeSourceURL(this.sourceRoot,o,this._sourceMapURL));var a=r.getArg(i,"name",null);return null!==a&&(a=this._names.at(a)),{source:o,line:r.getArg(i,"originalLine",null),column:r.getArg(i,"originalColumn",null),name:a}}}return{source:null,line:null,column:null,name:null}},c.prototype.hasContentsOfAllSources=function(){return!!this.sourcesContent&&(this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some((function(e){return null==e})))},c.prototype.sourceContentFor=function(e,t){if(!this.sourcesContent)return null;var n=this._findSourceIndex(e);if(n>=0)return this.sourcesContent[n];var i,o=e;if(null!=this.sourceRoot&&(o=r.relative(this.sourceRoot,o)),null!=this.sourceRoot&&(i=r.urlParse(this.sourceRoot))){var a=o.replace(/^file:\/\//,"");if("file"==i.scheme&&this._sources.has(a))return this.sourcesContent[this._sources.indexOf(a)];if((!i.path||"/"==i.path)&&this._sources.has("/"+o))return this.sourcesContent[this._sources.indexOf("/"+o)]}if(t)return null;throw new Error('"'+o+'" is not in the SourceMap.')},c.prototype.generatedPositionFor=function(e){var t=r.getArg(e,"source");if((t=this._findSourceIndex(t))<0)return{line:null,column:null,lastColumn:null};var n={source:t,originalLine:r.getArg(e,"line"),originalColumn:r.getArg(e,"column")},i=this._findMapping(n,this._originalMappings,"originalLine","originalColumn",r.compareByOriginalPositions,r.getArg(e,"bias",u.GREATEST_LOWER_BOUND));if(i>=0){var o=this._originalMappings[i];if(o.source===n.source)return{line:r.getArg(o,"generatedLine",null),column:r.getArg(o,"generatedColumn",null),lastColumn:r.getArg(o,"lastGeneratedColumn",null)}}return{line:null,column:null,lastColumn:null}},f.prototype=Object.create(u.prototype),f.prototype.constructor=u,f.prototype._version=3,Object.defineProperty(f.prototype,"sources",{get:function(){for(var e=[],t=0;t<this._sections.length;t++)for(var n=0;n<this._sections[t].consumer.sources.length;n++)e.push(this._sections[t].consumer.sources[n]);return e}}),f.prototype.originalPositionFor=function(e){var t={generatedLine:r.getArg(e,"line"),generatedColumn:r.getArg(e,"column")},n=i.search(t,this._sections,(function(e,t){var n=e.generatedLine-t.generatedOffset.generatedLine;return n||e.generatedColumn-t.generatedOffset.generatedColumn})),o=this._sections[n];return o?o.consumer.originalPositionFor({line:t.generatedLine-(o.generatedOffset.generatedLine-1),column:t.generatedColumn-(o.generatedOffset.generatedLine===t.generatedLine?o.generatedOffset.generatedColumn-1:0),bias:e.bias}):{source:null,line:null,column:null,name:null}},f.prototype.hasContentsOfAllSources=function(){return this._sections.every((function(e){return e.consumer.hasContentsOfAllSources()}))},f.prototype.sourceContentFor=function(e,t){for(var n=0;n<this._sections.length;n++){var r=this._sections[n].consumer.sourceContentFor(e,!0);if(r)return r}if(t)return null;throw new Error('"'+e+'" is not in the SourceMap.')},f.prototype.generatedPositionFor=function(e){for(var t=0;t<this._sections.length;t++){var n=this._sections[t];if(-1!==n.consumer._findSourceIndex(r.getArg(e,"source"))){var i=n.consumer.generatedPositionFor(e);if(i)return{line:i.line+(n.generatedOffset.generatedLine-1),column:i.column+(n.generatedOffset.generatedLine===i.line?n.generatedOffset.generatedColumn-1:0)}}}return{line:null,column:null}},f.prototype._parseMappings=function(e,t){this.__generatedMappings=[],this.__originalMappings=[];for(var n=0;n<this._sections.length;n++)for(var i=this._sections[n],o=i.consumer._generatedMappings,a=0;a<o.length;a++){var u=o[a],c=i.consumer._sources.at(u.source);c=r.computeSourceURL(i.consumer.sourceRoot,c,this._sourceMapURL),this._sources.add(c),c=this._sources.indexOf(c);var l=null;u.name&&(l=i.consumer._names.at(u.name),this._names.add(l),l=this._names.indexOf(l));var f={source:c,generatedLine:u.generatedLine+(i.generatedOffset.generatedLine-1),generatedColumn:u.generatedColumn+(i.generatedOffset.generatedLine===u.generatedLine?i.generatedOffset.generatedColumn-1:0),originalLine:u.originalLine,originalColumn:u.originalColumn,name:l};this.__generatedMappings.push(f),"number"==typeof f.originalLine&&this.__originalMappings.push(f)}s(this.__generatedMappings,r.compareByGeneratedPositionsDeflated),s(this.__originalMappings,r.compareByOriginalPositions)}},34433:function(e,t,n){var r=n(16400),i=n(32728),o=n(78213).I,a=n(21188).H;function s(e){e||(e={}),this._file=i.getArg(e,"file",null),this._sourceRoot=i.getArg(e,"sourceRoot",null),this._skipValidation=i.getArg(e,"skipValidation",!1),this._sources=new o,this._names=new o,this._mappings=new a,this._sourcesContents=null}s.prototype._version=3,s.fromSourceMap=function(e){var t=e.sourceRoot,n=new s({file:e.file,sourceRoot:t});return e.eachMapping((function(e){var r={generated:{line:e.generatedLine,column:e.generatedColumn}};null!=e.source&&(r.source=e.source,null!=t&&(r.source=i.relative(t,r.source)),r.original={line:e.originalLine,column:e.originalColumn},null!=e.name&&(r.name=e.name)),n.addMapping(r)})),e.sources.forEach((function(r){var o=r;null!==t&&(o=i.relative(t,r)),n._sources.has(o)||n._sources.add(o);var a=e.sourceContentFor(r);null!=a&&n.setSourceContent(r,a)})),n},s.prototype.addMapping=function(e){var t=i.getArg(e,"generated"),n=i.getArg(e,"original",null),r=i.getArg(e,"source",null),o=i.getArg(e,"name",null);this._skipValidation||this._validateMapping(t,n,r,o),null!=r&&(r=String(r),this._sources.has(r)||this._sources.add(r)),null!=o&&(o=String(o),this._names.has(o)||this._names.add(o)),this._mappings.add({generatedLine:t.line,generatedColumn:t.column,originalLine:null!=n&&n.line,originalColumn:null!=n&&n.column,source:r,name:o})},s.prototype.setSourceContent=function(e,t){var n=e;null!=this._sourceRoot&&(n=i.relative(this._sourceRoot,n)),null!=t?(this._sourcesContents||(this._sourcesContents=Object.create(null)),this._sourcesContents[i.toSetString(n)]=t):this._sourcesContents&&(delete this._sourcesContents[i.toSetString(n)],0===Object.keys(this._sourcesContents).length&&(this._sourcesContents=null))},s.prototype.applySourceMap=function(e,t,n){var r=t;if(null==t){if(null==e.file)throw new Error('SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, or the source map\'s "file" property. Both were omitted.');r=e.file}var a=this._sourceRoot;null!=a&&(r=i.relative(a,r));var s=new o,u=new o;this._mappings.unsortedForEach((function(t){if(t.source===r&&null!=t.originalLine){var o=e.originalPositionFor({line:t.originalLine,column:t.originalColumn});null!=o.source&&(t.source=o.source,null!=n&&(t.source=i.join(n,t.source)),null!=a&&(t.source=i.relative(a,t.source)),t.originalLine=o.line,t.originalColumn=o.column,null!=o.name&&(t.name=o.name))}var c=t.source;null==c||s.has(c)||s.add(c);var l=t.name;null==l||u.has(l)||u.add(l)}),this),this._sources=s,this._names=u,e.sources.forEach((function(t){var r=e.sourceContentFor(t);null!=r&&(null!=n&&(t=i.join(n,t)),null!=a&&(t=i.relative(a,t)),this.setSourceContent(t,r))}),this)},s.prototype._validateMapping=function(e,t,n,r){if(t&&"number"!=typeof t.line&&"number"!=typeof t.column)throw new Error("original.line and original.column are not numbers -- you probably meant to omit the original mapping entirely and only map the generated position. If so, pass null for the original mapping instead of an object with empty or null values.");if((!(e&&"line"in e&&"column"in e&&e.line>0&&e.column>=0)||t||n||r)&&!(e&&"line"in e&&"column"in e&&t&&"line"in t&&"column"in t&&e.line>0&&e.column>=0&&t.line>0&&t.column>=0&&n))throw new Error("Invalid mapping: "+JSON.stringify({generated:e,source:n,original:t,name:r}))},s.prototype._serializeMappings=function(){for(var e,t,n,o,a=0,s=1,u=0,c=0,l=0,f=0,d="",p=this._mappings.toArray(),h=0,g=p.length;h<g;h++){if(e="",(t=p[h]).generatedLine!==s)for(a=0;t.generatedLine!==s;)e+=";",s++;else if(h>0){if(!i.compareByGeneratedPositionsInflated(t,p[h-1]))continue;e+=","}e+=r.encode(t.generatedColumn-a),a=t.generatedColumn,null!=t.source&&(o=this._sources.indexOf(t.source),e+=r.encode(o-f),f=o,e+=r.encode(t.originalLine-1-c),c=t.originalLine-1,e+=r.encode(t.originalColumn-u),u=t.originalColumn,null!=t.name&&(n=this._names.indexOf(t.name),e+=r.encode(n-l),l=n)),d+=e}return d},s.prototype._generateSourcesContent=function(e,t){return e.map((function(e){if(!this._sourcesContents)return null;null!=t&&(e=i.relative(t,e));var n=i.toSetString(e);return Object.prototype.hasOwnProperty.call(this._sourcesContents,n)?this._sourcesContents[n]:null}),this)},s.prototype.toJSON=function(){var e={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};return null!=this._file&&(e.file=this._file),null!=this._sourceRoot&&(e.sourceRoot=this._sourceRoot),this._sourcesContents&&(e.sourcesContent=this._generateSourcesContent(e.sources,e.sourceRoot)),e},s.prototype.toString=function(){return JSON.stringify(this.toJSON())},t.SourceMapGenerator=s},17085:function(e,t,n){var r=n(34433).SourceMapGenerator,i=n(32728),o=/(\r?\n)/,a="$$$isSourceNode$$$";function s(e,t,n,r,i){this.children=[],this.sourceContents={},this.line=null==e?null:e,this.column=null==t?null:t,this.source=null==n?null:n,this.name=null==i?null:i,this[a]=!0,null!=r&&this.add(r)}s.fromStringWithSourceMap=function(e,t,n){var r=new s,a=e.split(o),u=0,c=function(){return e()+(e()||"");function e(){return u<a.length?a[u++]:void 0}},l=1,f=0,d=null;return t.eachMapping((function(e){if(null!==d){if(!(l<e.generatedLine)){var t=(n=a[u]||"").substr(0,e.generatedColumn-f);return a[u]=n.substr(e.generatedColumn-f),f=e.generatedColumn,p(d,t),void(d=e)}p(d,c()),l++,f=0}for(;l<e.generatedLine;)r.add(c()),l++;if(f<e.generatedColumn){var n=a[u]||"";r.add(n.substr(0,e.generatedColumn)),a[u]=n.substr(e.generatedColumn),f=e.generatedColumn}d=e}),this),u<a.length&&(d&&p(d,c()),r.add(a.splice(u).join(""))),t.sources.forEach((function(e){var o=t.sourceContentFor(e);null!=o&&(null!=n&&(e=i.join(n,e)),r.setSourceContent(e,o))})),r;function p(e,t){if(null===e||void 0===e.source)r.add(t);else{var o=n?i.join(n,e.source):e.source;r.add(new s(e.originalLine,e.originalColumn,o,t,e.name))}}},s.prototype.add=function(e){if(Array.isArray(e))e.forEach((function(e){this.add(e)}),this);else{if(!e[a]&&"string"!=typeof e)throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+e);e&&this.children.push(e)}return this},s.prototype.prepend=function(e){if(Array.isArray(e))for(var t=e.length-1;t>=0;t--)this.prepend(e[t]);else{if(!e[a]&&"string"!=typeof e)throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+e);this.children.unshift(e)}return this},s.prototype.walk=function(e){for(var t,n=0,r=this.children.length;n<r;n++)(t=this.children[n])[a]?t.walk(e):""!==t&&e(t,{source:this.source,line:this.line,column:this.column,name:this.name})},s.prototype.join=function(e){var t,n,r=this.children.length;if(r>0){for(t=[],n=0;n<r-1;n++)t.push(this.children[n]),t.push(e);t.push(this.children[n]),this.children=t}return this},s.prototype.replaceRight=function(e,t){var n=this.children[this.children.length-1];return n[a]?n.replaceRight(e,t):"string"==typeof n?this.children[this.children.length-1]=n.replace(e,t):this.children.push("".replace(e,t)),this},s.prototype.setSourceContent=function(e,t){this.sourceContents[i.toSetString(e)]=t},s.prototype.walkSourceContents=function(e){for(var t=0,n=this.children.length;t<n;t++)this.children[t][a]&&this.children[t].walkSourceContents(e);var r=Object.keys(this.sourceContents);for(t=0,n=r.length;t<n;t++)e(i.fromSetString(r[t]),this.sourceContents[r[t]])},s.prototype.toString=function(){var e="";return this.walk((function(t){e+=t})),e},s.prototype.toStringWithSourceMap=function(e){var t={code:"",line:1,column:0},n=new r(e),i=!1,o=null,a=null,s=null,u=null;return this.walk((function(e,r){t.code+=e,null!==r.source&&null!==r.line&&null!==r.column?(o===r.source&&a===r.line&&s===r.column&&u===r.name||n.addMapping({source:r.source,original:{line:r.line,column:r.column},generated:{line:t.line,column:t.column},name:r.name}),o=r.source,a=r.line,s=r.column,u=r.name,i=!0):i&&(n.addMapping({generated:{line:t.line,column:t.column}}),o=null,i=!1);for(var c=0,l=e.length;c<l;c++)10===e.charCodeAt(c)?(t.line++,t.column=0,c+1===l?(o=null,i=!1):i&&n.addMapping({source:r.source,original:{line:r.line,column:r.column},generated:{line:t.line,column:t.column},name:r.name})):t.column++})),this.walkSourceContents((function(e,t){n.setSourceContent(e,t)})),{code:t.code,map:n}},t.SourceNode=s},32728:function(e,t){t.getArg=function(e,t,n){if(t in e)return e[t];if(3===arguments.length)return n;throw new Error('"'+t+'" is a required argument.')};var n=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/,r=/^data:.+\,.+$/;function i(e){var t=e.match(n);return t?{scheme:t[1],auth:t[2],host:t[3],port:t[4],path:t[5]}:null}function o(e){var t="";return e.scheme&&(t+=e.scheme+":"),t+="//",e.auth&&(t+=e.auth+"@"),e.host&&(t+=e.host),e.port&&(t+=":"+e.port),e.path&&(t+=e.path),t}function a(e){var n=e,r=i(e);if(r){if(!r.path)return e;n=r.path}for(var a,s=t.isAbsolute(n),u=n.split(/\/+/),c=0,l=u.length-1;l>=0;l--)"."===(a=u[l])?u.splice(l,1):".."===a?c++:c>0&&(""===a?(u.splice(l+1,c),c=0):(u.splice(l,2),c--));return""===(n=u.join("/"))&&(n=s?"/":"."),r?(r.path=n,o(r)):n}function s(e,t){""===e&&(e="."),""===t&&(t=".");var n=i(t),s=i(e);if(s&&(e=s.path||"/"),n&&!n.scheme)return s&&(n.scheme=s.scheme),o(n);if(n||t.match(r))return t;if(s&&!s.host&&!s.path)return s.host=t,o(s);var u="/"===t.charAt(0)?t:a(e.replace(/\/+$/,"")+"/"+t);return s?(s.path=u,o(s)):u}t.urlParse=i,t.urlGenerate=o,t.normalize=a,t.join=s,t.isAbsolute=function(e){return"/"===e.charAt(0)||n.test(e)},t.relative=function(e,t){""===e&&(e="."),e=e.replace(/\/$/,"");for(var n=0;0!==t.indexOf(e+"/");){var r=e.lastIndexOf("/");if(r<0)return t;if((e=e.slice(0,r)).match(/^([^\/]+:\/)?\/*$/))return t;++n}return Array(n+1).join("../")+t.substr(e.length+1)};var u=!("__proto__"in Object.create(null));function c(e){return e}function l(e){if(!e)return!1;var t=e.length;if(t<9)return!1;if(95!==e.charCodeAt(t-1)||95!==e.charCodeAt(t-2)||111!==e.charCodeAt(t-3)||116!==e.charCodeAt(t-4)||111!==e.charCodeAt(t-5)||114!==e.charCodeAt(t-6)||112!==e.charCodeAt(t-7)||95!==e.charCodeAt(t-8)||95!==e.charCodeAt(t-9))return!1;for(var n=t-10;n>=0;n--)if(36!==e.charCodeAt(n))return!1;return!0}function f(e,t){return e===t?0:null===e?1:null===t?-1:e>t?1:-1}t.toSetString=u?c:function(e){return l(e)?"$"+e:e},t.fromSetString=u?c:function(e){return l(e)?e.slice(1):e},t.compareByOriginalPositions=function(e,t,n){var r=f(e.source,t.source);return 0!==r||0!==(r=e.originalLine-t.originalLine)||0!==(r=e.originalColumn-t.originalColumn)||n||0!==(r=e.generatedColumn-t.generatedColumn)||0!==(r=e.generatedLine-t.generatedLine)?r:f(e.name,t.name)},t.compareByGeneratedPositionsDeflated=function(e,t,n){var r=e.generatedLine-t.generatedLine;return 0!==r||0!==(r=e.generatedColumn-t.generatedColumn)||n||0!==(r=f(e.source,t.source))||0!==(r=e.originalLine-t.originalLine)||0!==(r=e.originalColumn-t.originalColumn)?r:f(e.name,t.name)},t.compareByGeneratedPositionsInflated=function(e,t){var n=e.generatedLine-t.generatedLine;return 0!==n||0!==(n=e.generatedColumn-t.generatedColumn)||0!==(n=f(e.source,t.source))||0!==(n=e.originalLine-t.originalLine)||0!==(n=e.originalColumn-t.originalColumn)?n:f(e.name,t.name)},t.parseSourceMapInput=function(e){return JSON.parse(e.replace(/^\)]}'[^\n]*\n/,""))},t.computeSourceURL=function(e,t,n){if(t=t||"",e&&("/"!==e[e.length-1]&&"/"!==t[0]&&(e+="/"),t=e+t),n){var r=i(n);if(!r)throw new Error("sourceMapURL could not be parsed");if(r.path){var u=r.path.lastIndexOf("/");u>=0&&(r.path=r.path.substring(0,u+1))}t=s(o(r),t)}return a(t)}},49125:function(e,t,n){t.SourceMapGenerator=n(34433).SourceMapGenerator,t.SourceMapConsumer=n(76771).SourceMapConsumer,t.SourceNode=n(17085).SourceNode},36084:function(e,t,n){"use strict";var r=n(82120),i=n(64666),o=/^\d+$/;t.parse=function(e){return(t=e.split(",").map((function(e){var t={};return e.trim().split(/\s+/).forEach((function(e,n){if(0===n)return t.url=e;var i=e.substring(0,e.length-1),a=e[e.length-1],s=parseInt(i,10),u=parseFloat(i);if("w"===a&&o.test(i))t.width=s;else if("h"===a&&o.test(i))t.height=s;else{if("x"!==a||r(u))throw new Error("Invalid srcset descriptor: "+e+".");t.density=u}})),t}))).sort().filter((function(e,n){return JSON.stringify(e)!==JSON.stringify(t[n-1])}));var t},t.stringify=function(e){return i(e.map((function(e){if(!e.url)throw new Error("URL is required.");var t=[e.url];return e.width&&t.push(e.width+"w"),e.height&&t.push(e.height+"h"),e.density&&t.push(e.density+"x"),t.join(" ")}))).join(", ")}},42830:function(e,t,n){e.exports=i;var r=n(17187).EventEmitter;function i(){r.call(this)}n(35717)(i,r),i.Readable=n(56577),i.Writable=n(20323),i.Duplex=n(68656),i.Transform=n(94473),i.PassThrough=n(2366),i.finished=n(81086),i.pipeline=n(56472),i.Stream=i,i.prototype.pipe=function(e,t){var n=this;function i(t){e.writable&&!1===e.write(t)&&n.pause&&n.pause()}function o(){n.readable&&n.resume&&n.resume()}n.on("data",i),e.on("drain",o),e._isStdio||t&&!1===t.end||(n.on("end",s),n.on("close",u));var a=!1;function s(){a||(a=!0,e.end())}function u(){a||(a=!0,"function"==typeof e.destroy&&e.destroy())}function c(e){if(l(),0===r.listenerCount(this,"error"))throw e}function l(){n.removeListener("data",i),e.removeListener("drain",o),n.removeListener("end",s),n.removeListener("close",u),n.removeListener("error",c),e.removeListener("error",c),n.removeListener("end",l),n.removeListener("close",l),e.removeListener("close",l)}return n.on("error",c),e.on("error",c),n.on("end",l),n.on("close",l),e.on("close",l),e.emit("pipe",n),e}},58106:function(e){"use strict";var t={};function n(e,n,r){r||(r=Error);var i=function(e){var t,r;function i(t,r,i){return e.call(this,function(e,t,r){return"string"==typeof n?n:n(e,t,r)}(t,r,i))||this}return r=e,(t=i).prototype=Object.create(r.prototype),t.prototype.constructor=t,t.__proto__=r,i}(r);i.prototype.name=r.name,i.prototype.code=e,t[e]=i}function r(e,t){if(Array.isArray(e)){var n=e.length;return e=e.map((function(e){return String(e)})),n>2?"one of ".concat(t," ").concat(e.slice(0,n-1).join(", "),", or ")+e[n-1]:2===n?"one of ".concat(t," ").concat(e[0]," or ").concat(e[1]):"of ".concat(t," ").concat(e[0])}return"of ".concat(t," ").concat(String(e))}n("ERR_INVALID_OPT_VALUE",(function(e,t){return'The value "'+t+'" is invalid for option "'+e+'"'}),TypeError),n("ERR_INVALID_ARG_TYPE",(function(e,t,n){var i,o,a,s;if("string"==typeof t&&(o="not ",t.substr(!a||a<0?0:+a,o.length)===o)?(i="must not be",t=t.replace(/^not /,"")):i="must be",function(e,t,n){return(void 0===n||n>e.length)&&(n=e.length),e.substring(n-t.length,n)===t}(e," argument"))s="The ".concat(e," ").concat(i," ").concat(r(t,"type"));else{var u=function(e,t,n){return"number"!=typeof n&&(n=0),!(n+t.length>e.length)&&-1!==e.indexOf(t,n)}(e,".")?"property":"argument";s='The "'.concat(e,'" ').concat(u," ").concat(i," ").concat(r(t,"type"))}return s+=". Received type ".concat(typeof n)}),TypeError),n("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),n("ERR_METHOD_NOT_IMPLEMENTED",(function(e){return"The "+e+" method is not implemented"})),n("ERR_STREAM_PREMATURE_CLOSE","Premature close"),n("ERR_STREAM_DESTROYED",(function(e){return"Cannot call "+e+" after a stream was destroyed"})),n("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),n("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),n("ERR_STREAM_WRITE_AFTER_END","write after end"),n("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),n("ERR_UNKNOWN_ENCODING",(function(e){return"Unknown encoding: "+e}),TypeError),n("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),e.exports.q=t},68656:function(e,t,n){"use strict";var r=Object.keys||function(e){var t=[];for(var n in e)t.push(n);return t};e.exports=c;var i=n(56577),o=n(20323);n(35717)(c,i);for(var a=r(o.prototype),s=0;s<a.length;s++){var u=a[s];c.prototype[u]||(c.prototype[u]=o.prototype[u])}function c(e){if(!(this instanceof c))return new c(e);i.call(this,e),o.call(this,e),this.allowHalfOpen=!0,e&&(!1===e.readable&&(this.readable=!1),!1===e.writable&&(this.writable=!1),!1===e.allowHalfOpen&&(this.allowHalfOpen=!1,this.once("end",l)))}function l(){this._writableState.ended||process.nextTick(f,this)}function f(e){e.end()}Object.defineProperty(c.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(c.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(c.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(c.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed&&this._writableState.destroyed)},set:function(e){void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed=e,this._writableState.destroyed=e)}})},2366:function(e,t,n){"use strict";e.exports=i;var r=n(94473);function i(e){if(!(this instanceof i))return new i(e);r.call(this,e)}n(35717)(i,r),i.prototype._transform=function(e,t,n){n(null,e)}},56577:function(e,t,n){"use strict";var r;e.exports=S,S.ReadableState=x;n(17187).EventEmitter;var i=function(e,t){return e.listeners(t).length},o=n(83194),a=n(48764).Buffer,s=n.g.Uint8Array||function(){};var u,c=n(40964);u=c&&c.debuglog?c.debuglog("stream"):function(){};var l,f,d,p=n(39686),h=n(71029),g=n(30094).getHighWaterMark,m=n(58106).q,y=m.ERR_INVALID_ARG_TYPE,v=m.ERR_STREAM_PUSH_AFTER_EOF,b=m.ERR_METHOD_NOT_IMPLEMENTED,_=m.ERR_STREAM_UNSHIFT_AFTER_END_EVENT;n(35717)(S,o);var w=h.errorOrDestroy,T=["error","close","destroy","pause","resume"];function x(e,t,i){r=r||n(68656),e=e||{},"boolean"!=typeof i&&(i=t instanceof r),this.objectMode=!!e.objectMode,i&&(this.objectMode=this.objectMode||!!e.readableObjectMode),this.highWaterMark=g(this,e,"readableHighWaterMark",i),this.buffer=new p,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.paused=!0,this.emitClose=!1!==e.emitClose,this.autoDestroy=!!e.autoDestroy,this.destroyed=!1,this.defaultEncoding=e.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,e.encoding&&(l||(l=n(54729).s),this.decoder=new l(e.encoding),this.encoding=e.encoding)}function S(e){if(r=r||n(68656),!(this instanceof S))return new S(e);var t=this instanceof r;this._readableState=new x(e,this,t),this.readable=!0,e&&("function"==typeof e.read&&(this._read=e.read),"function"==typeof e.destroy&&(this._destroy=e.destroy)),o.call(this)}function k(e,t,n,r,i){u("readableAddChunk",t);var o,c=e._readableState;if(null===t)c.reading=!1,function(e,t){if(u("onEofChunk"),t.ended)return;if(t.decoder){var n=t.decoder.end();n&&n.length&&(t.buffer.push(n),t.length+=t.objectMode?1:n.length)}t.ended=!0,t.sync?L(e):(t.needReadable=!1,t.emittedReadable||(t.emittedReadable=!0,A(e)))}(e,c);else if(i||(o=function(e,t){var n;r=t,a.isBuffer(r)||r instanceof s||"string"==typeof t||void 0===t||e.objectMode||(n=new y("chunk",["string","Buffer","Uint8Array"],t));var r;return n}(c,t)),o)w(e,o);else if(c.objectMode||t&&t.length>0)if("string"==typeof t||c.objectMode||Object.getPrototypeOf(t)===a.prototype||(t=function(e){return a.from(e)}(t)),r)c.endEmitted?w(e,new _):E(e,c,t,!0);else if(c.ended)w(e,new v);else{if(c.destroyed)return!1;c.reading=!1,c.decoder&&!n?(t=c.decoder.write(t),c.objectMode||0!==t.length?E(e,c,t,!1):I(e,c)):E(e,c,t,!1)}else r||(c.reading=!1,I(e,c));return!c.ended&&(c.length<c.highWaterMark||0===c.length)}function E(e,t,n,r){t.flowing&&0===t.length&&!t.sync?(t.awaitDrain=0,e.emit("data",n)):(t.length+=t.objectMode?1:n.length,r?t.buffer.unshift(n):t.buffer.push(n),t.needReadable&&L(e)),I(e,t)}Object.defineProperty(S.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._readableState&&this._readableState.destroyed},set:function(e){this._readableState&&(this._readableState.destroyed=e)}}),S.prototype.destroy=h.destroy,S.prototype._undestroy=h.undestroy,S.prototype._destroy=function(e,t){t(e)},S.prototype.push=function(e,t){var n,r=this._readableState;return r.objectMode?n=!0:"string"==typeof e&&((t=t||r.defaultEncoding)!==r.encoding&&(e=a.from(e,t),t=""),n=!0),k(this,e,t,!1,n)},S.prototype.unshift=function(e){return k(this,e,null,!0,!1)},S.prototype.isPaused=function(){return!1===this._readableState.flowing},S.prototype.setEncoding=function(e){l||(l=n(54729).s);var t=new l(e);this._readableState.decoder=t,this._readableState.encoding=this._readableState.decoder.encoding;for(var r=this._readableState.buffer.head,i="";null!==r;)i+=t.write(r.data),r=r.next;return this._readableState.buffer.clear(),""!==i&&this._readableState.buffer.push(i),this._readableState.length=i.length,this};var O=1073741824;function C(e,t){return e<=0||0===t.length&&t.ended?0:t.objectMode?1:e!=e?t.flowing&&t.length?t.buffer.head.data.length:t.length:(e>t.highWaterMark&&(t.highWaterMark=function(e){return e>=O?e=O:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}(e)),e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0))}function L(e){var t=e._readableState;u("emitReadable",t.needReadable,t.emittedReadable),t.needReadable=!1,t.emittedReadable||(u("emitReadable",t.flowing),t.emittedReadable=!0,process.nextTick(A,e))}function A(e){var t=e._readableState;u("emitReadable_",t.destroyed,t.length,t.ended),t.destroyed||!t.length&&!t.ended||(e.emit("readable"),t.emittedReadable=!1),t.needReadable=!t.flowing&&!t.ended&&t.length<=t.highWaterMark,D(e)}function I(e,t){t.readingMore||(t.readingMore=!0,process.nextTick(P,e,t))}function P(e,t){for(;!t.reading&&!t.ended&&(t.length<t.highWaterMark||t.flowing&&0===t.length);){var n=t.length;if(u("maybeReadMore read 0"),e.read(0),n===t.length)break}t.readingMore=!1}function M(e){var t=e._readableState;t.readableListening=e.listenerCount("readable")>0,t.resumeScheduled&&!t.paused?t.flowing=!0:e.listenerCount("data")>0&&e.resume()}function R(e){u("readable nexttick read 0"),e.read(0)}function j(e,t){u("resume",t.reading),t.reading||e.read(0),t.resumeScheduled=!1,e.emit("resume"),D(e),t.flowing&&!t.reading&&e.read(0)}function D(e){var t=e._readableState;for(u("flow",t.flowing);t.flowing&&null!==e.read(););}function N(e,t){return 0===t.length?null:(t.objectMode?n=t.buffer.shift():!e||e>=t.length?(n=t.decoder?t.buffer.join(""):1===t.buffer.length?t.buffer.first():t.buffer.concat(t.length),t.buffer.clear()):n=t.buffer.consume(e,t.decoder),n);var n}function B(e){var t=e._readableState;u("endReadable",t.endEmitted),t.endEmitted||(t.ended=!0,process.nextTick(U,t,e))}function U(e,t){if(u("endReadableNT",e.endEmitted,e.length),!e.endEmitted&&0===e.length&&(e.endEmitted=!0,t.readable=!1,t.emit("end"),e.autoDestroy)){var n=t._writableState;(!n||n.autoDestroy&&n.finished)&&t.destroy()}}function F(e,t){for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1}S.prototype.read=function(e){u("read",e),e=parseInt(e,10);var t=this._readableState,n=e;if(0!==e&&(t.emittedReadable=!1),0===e&&t.needReadable&&((0!==t.highWaterMark?t.length>=t.highWaterMark:t.length>0)||t.ended))return u("read: emitReadable",t.length,t.ended),0===t.length&&t.ended?B(this):L(this),null;if(0===(e=C(e,t))&&t.ended)return 0===t.length&&B(this),null;var r,i=t.needReadable;return u("need readable",i),(0===t.length||t.length-e<t.highWaterMark)&&u("length less than watermark",i=!0),t.ended||t.reading?u("reading or ended",i=!1):i&&(u("do read"),t.reading=!0,t.sync=!0,0===t.length&&(t.needReadable=!0),this._read(t.highWaterMark),t.sync=!1,t.reading||(e=C(n,t))),null===(r=e>0?N(e,t):null)?(t.needReadable=t.length<=t.highWaterMark,e=0):(t.length-=e,t.awaitDrain=0),0===t.length&&(t.ended||(t.needReadable=!0),n!==e&&t.ended&&B(this)),null!==r&&this.emit("data",r),r},S.prototype._read=function(e){w(this,new b("_read()"))},S.prototype.pipe=function(e,t){var n=this,r=this._readableState;switch(r.pipesCount){case 0:r.pipes=e;break;case 1:r.pipes=[r.pipes,e];break;default:r.pipes.push(e)}r.pipesCount+=1,u("pipe count=%d opts=%j",r.pipesCount,t);var o=(!t||!1!==t.end)&&e!==process.stdout&&e!==process.stderr?s:g;function a(t,i){u("onunpipe"),t===n&&i&&!1===i.hasUnpiped&&(i.hasUnpiped=!0,u("cleanup"),e.removeListener("close",p),e.removeListener("finish",h),e.removeListener("drain",c),e.removeListener("error",d),e.removeListener("unpipe",a),n.removeListener("end",s),n.removeListener("end",g),n.removeListener("data",f),l=!0,!r.awaitDrain||e._writableState&&!e._writableState.needDrain||c())}function s(){u("onend"),e.end()}r.endEmitted?process.nextTick(o):n.once("end",o),e.on("unpipe",a);var c=function(e){return function(){var t=e._readableState;u("pipeOnDrain",t.awaitDrain),t.awaitDrain&&t.awaitDrain--,0===t.awaitDrain&&i(e,"data")&&(t.flowing=!0,D(e))}}(n);e.on("drain",c);var l=!1;function f(t){u("ondata");var i=e.write(t);u("dest.write",i),!1===i&&((1===r.pipesCount&&r.pipes===e||r.pipesCount>1&&-1!==F(r.pipes,e))&&!l&&(u("false write response, pause",r.awaitDrain),r.awaitDrain++),n.pause())}function d(t){u("onerror",t),g(),e.removeListener("error",d),0===i(e,"error")&&w(e,t)}function p(){e.removeListener("finish",h),g()}function h(){u("onfinish"),e.removeListener("close",p),g()}function g(){u("unpipe"),n.unpipe(e)}return n.on("data",f),function(e,t,n){if("function"==typeof e.prependListener)return e.prependListener(t,n);e._events&&e._events[t]?Array.isArray(e._events[t])?e._events[t].unshift(n):e._events[t]=[n,e._events[t]]:e.on(t,n)}(e,"error",d),e.once("close",p),e.once("finish",h),e.emit("pipe",n),r.flowing||(u("pipe resume"),n.resume()),e},S.prototype.unpipe=function(e){var t=this._readableState,n={hasUnpiped:!1};if(0===t.pipesCount)return this;if(1===t.pipesCount)return e&&e!==t.pipes||(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit("unpipe",this,n)),this;if(!e){var r=t.pipes,i=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var o=0;o<i;o++)r[o].emit("unpipe",this,{hasUnpiped:!1});return this}var a=F(t.pipes,e);return-1===a||(t.pipes.splice(a,1),t.pipesCount-=1,1===t.pipesCount&&(t.pipes=t.pipes[0]),e.emit("unpipe",this,n)),this},S.prototype.on=function(e,t){var n=o.prototype.on.call(this,e,t),r=this._readableState;return"data"===e?(r.readableListening=this.listenerCount("readable")>0,!1!==r.flowing&&this.resume()):"readable"===e&&(r.endEmitted||r.readableListening||(r.readableListening=r.needReadable=!0,r.flowing=!1,r.emittedReadable=!1,u("on readable",r.length,r.reading),r.length?L(this):r.reading||process.nextTick(R,this))),n},S.prototype.addListener=S.prototype.on,S.prototype.removeListener=function(e,t){var n=o.prototype.removeListener.call(this,e,t);return"readable"===e&&process.nextTick(M,this),n},S.prototype.removeAllListeners=function(e){var t=o.prototype.removeAllListeners.apply(this,arguments);return"readable"!==e&&void 0!==e||process.nextTick(M,this),t},S.prototype.resume=function(){var e=this._readableState;return e.flowing||(u("resume"),e.flowing=!e.readableListening,function(e,t){t.resumeScheduled||(t.resumeScheduled=!0,process.nextTick(j,e,t))}(this,e)),e.paused=!1,this},S.prototype.pause=function(){return u("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(u("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this},S.prototype.wrap=function(e){var t=this,n=this._readableState,r=!1;for(var i in e.on("end",(function(){if(u("wrapped end"),n.decoder&&!n.ended){var e=n.decoder.end();e&&e.length&&t.push(e)}t.push(null)})),e.on("data",(function(i){(u("wrapped data"),n.decoder&&(i=n.decoder.write(i)),n.objectMode&&null==i)||(n.objectMode||i&&i.length)&&(t.push(i)||(r=!0,e.pause()))})),e)void 0===this[i]&&"function"==typeof e[i]&&(this[i]=function(t){return function(){return e[t].apply(e,arguments)}}(i));for(var o=0;o<T.length;o++)e.on(T[o],this.emit.bind(this,T[o]));return this._read=function(t){u("wrapped _read",t),r&&(r=!1,e.resume())},this},"function"==typeof Symbol&&(S.prototype[Symbol.asyncIterator]=function(){return void 0===f&&(f=n(20828)),f(this)}),Object.defineProperty(S.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),Object.defineProperty(S.prototype,"readableBuffer",{enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}}),Object.defineProperty(S.prototype,"readableFlowing",{enumerable:!1,get:function(){return this._readableState.flowing},set:function(e){this._readableState&&(this._readableState.flowing=e)}}),S._fromList=N,Object.defineProperty(S.prototype,"readableLength",{enumerable:!1,get:function(){return this._readableState.length}}),"function"==typeof Symbol&&(S.from=function(e,t){return void 0===d&&(d=n(31265)),d(S,e,t)})},94473:function(e,t,n){"use strict";e.exports=l;var r=n(58106).q,i=r.ERR_METHOD_NOT_IMPLEMENTED,o=r.ERR_MULTIPLE_CALLBACK,a=r.ERR_TRANSFORM_ALREADY_TRANSFORMING,s=r.ERR_TRANSFORM_WITH_LENGTH_0,u=n(68656);function c(e,t){var n=this._transformState;n.transforming=!1;var r=n.writecb;if(null===r)return this.emit("error",new o);n.writechunk=null,n.writecb=null,null!=t&&this.push(t),r(e);var i=this._readableState;i.reading=!1,(i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}function l(e){if(!(this instanceof l))return new l(e);u.call(this,e),this._transformState={afterTransform:c.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,e&&("function"==typeof e.transform&&(this._transform=e.transform),"function"==typeof e.flush&&(this._flush=e.flush)),this.on("prefinish",f)}function f(){var e=this;"function"!=typeof this._flush||this._readableState.destroyed?d(this,null,null):this._flush((function(t,n){d(e,t,n)}))}function d(e,t,n){if(t)return e.emit("error",t);if(null!=n&&e.push(n),e._writableState.length)throw new s;if(e._transformState.transforming)throw new a;return e.push(null)}n(35717)(l,u),l.prototype.push=function(e,t){return this._transformState.needTransform=!1,u.prototype.push.call(this,e,t)},l.prototype._transform=function(e,t,n){n(new i("_transform()"))},l.prototype._write=function(e,t,n){var r=this._transformState;if(r.writecb=n,r.writechunk=e,r.writeencoding=t,!r.transforming){var i=this._readableState;(r.needTransform||i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}},l.prototype._read=function(e){var t=this._transformState;null===t.writechunk||t.transforming?t.needTransform=!0:(t.transforming=!0,this._transform(t.writechunk,t.writeencoding,t.afterTransform))},l.prototype._destroy=function(e,t){u.prototype._destroy.call(this,e,(function(e){t(e)}))}},20323:function(e,t,n){"use strict";function r(e){var t=this;this.next=null,this.entry=null,this.finish=function(){!function(e,t,n){var r=e.entry;e.entry=null;for(;r;){var i=r.callback;t.pendingcb--,i(n),r=r.next}t.corkedRequestsFree.next=e}(t,e)}}var i;e.exports=S,S.WritableState=x;var o={deprecate:n(94927)},a=n(83194),s=n(48764).Buffer,u=n.g.Uint8Array||function(){};var c,l=n(71029),f=n(30094).getHighWaterMark,d=n(58106).q,p=d.ERR_INVALID_ARG_TYPE,h=d.ERR_METHOD_NOT_IMPLEMENTED,g=d.ERR_MULTIPLE_CALLBACK,m=d.ERR_STREAM_CANNOT_PIPE,y=d.ERR_STREAM_DESTROYED,v=d.ERR_STREAM_NULL_VALUES,b=d.ERR_STREAM_WRITE_AFTER_END,_=d.ERR_UNKNOWN_ENCODING,w=l.errorOrDestroy;function T(){}function x(e,t,o){i=i||n(68656),e=e||{},"boolean"!=typeof o&&(o=t instanceof i),this.objectMode=!!e.objectMode,o&&(this.objectMode=this.objectMode||!!e.writableObjectMode),this.highWaterMark=f(this,e,"writableHighWaterMark",o),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var a=!1===e.decodeStrings;this.decodeStrings=!a,this.defaultEncoding=e.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(e){!function(e,t){var n=e._writableState,r=n.sync,i=n.writecb;if("function"!=typeof i)throw new g;if(function(e){e.writing=!1,e.writecb=null,e.length-=e.writelen,e.writelen=0}(n),t)!function(e,t,n,r,i){--t.pendingcb,n?(process.nextTick(i,r),process.nextTick(A,e,t),e._writableState.errorEmitted=!0,w(e,r)):(i(r),e._writableState.errorEmitted=!0,w(e,r),A(e,t))}(e,n,r,t,i);else{var o=C(n)||e.destroyed;o||n.corked||n.bufferProcessing||!n.bufferedRequest||O(e,n),r?process.nextTick(E,e,n,o,i):E(e,n,o,i)}}(t,e)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=!1!==e.emitClose,this.autoDestroy=!!e.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new r(this)}function S(e){var t=this instanceof(i=i||n(68656));if(!t&&!c.call(S,this))return new S(e);this._writableState=new x(e,this,t),this.writable=!0,e&&("function"==typeof e.write&&(this._write=e.write),"function"==typeof e.writev&&(this._writev=e.writev),"function"==typeof e.destroy&&(this._destroy=e.destroy),"function"==typeof e.final&&(this._final=e.final)),a.call(this)}function k(e,t,n,r,i,o,a){t.writelen=r,t.writecb=a,t.writing=!0,t.sync=!0,t.destroyed?t.onwrite(new y("write")):n?e._writev(i,t.onwrite):e._write(i,o,t.onwrite),t.sync=!1}function E(e,t,n,r){n||function(e,t){0===t.length&&t.needDrain&&(t.needDrain=!1,e.emit("drain"))}(e,t),t.pendingcb--,r(),A(e,t)}function O(e,t){t.bufferProcessing=!0;var n=t.bufferedRequest;if(e._writev&&n&&n.next){var i=t.bufferedRequestCount,o=new Array(i),a=t.corkedRequestsFree;a.entry=n;for(var s=0,u=!0;n;)o[s]=n,n.isBuf||(u=!1),n=n.next,s+=1;o.allBuffers=u,k(e,t,!0,t.length,o,"",a.finish),t.pendingcb++,t.lastBufferedRequest=null,a.next?(t.corkedRequestsFree=a.next,a.next=null):t.corkedRequestsFree=new r(t),t.bufferedRequestCount=0}else{for(;n;){var c=n.chunk,l=n.encoding,f=n.callback;if(k(e,t,!1,t.objectMode?1:c.length,c,l,f),n=n.next,t.bufferedRequestCount--,t.writing)break}null===n&&(t.lastBufferedRequest=null)}t.bufferedRequest=n,t.bufferProcessing=!1}function C(e){return e.ending&&0===e.length&&null===e.bufferedRequest&&!e.finished&&!e.writing}function L(e,t){e._final((function(n){t.pendingcb--,n&&w(e,n),t.prefinished=!0,e.emit("prefinish"),A(e,t)}))}function A(e,t){var n=C(t);if(n&&(function(e,t){t.prefinished||t.finalCalled||("function"!=typeof e._final||t.destroyed?(t.prefinished=!0,e.emit("prefinish")):(t.pendingcb++,t.finalCalled=!0,process.nextTick(L,e,t)))}(e,t),0===t.pendingcb&&(t.finished=!0,e.emit("finish"),t.autoDestroy))){var r=e._readableState;(!r||r.autoDestroy&&r.endEmitted)&&e.destroy()}return n}n(35717)(S,a),x.prototype.getBuffer=function(){for(var e=this.bufferedRequest,t=[];e;)t.push(e),e=e.next;return t},function(){try{Object.defineProperty(x.prototype,"buffer",{get:o.deprecate((function(){return this.getBuffer()}),"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(e){}}(),"function"==typeof Symbol&&Symbol.hasInstance&&"function"==typeof Function.prototype[Symbol.hasInstance]?(c=Function.prototype[Symbol.hasInstance],Object.defineProperty(S,Symbol.hasInstance,{value:function(e){return!!c.call(this,e)||this===S&&(e&&e._writableState instanceof x)}})):c=function(e){return e instanceof this},S.prototype.pipe=function(){w(this,new m)},S.prototype.write=function(e,t,n){var r,i=this._writableState,o=!1,a=!i.objectMode&&(r=e,s.isBuffer(r)||r instanceof u);return a&&!s.isBuffer(e)&&(e=function(e){return s.from(e)}(e)),"function"==typeof t&&(n=t,t=null),a?t="buffer":t||(t=i.defaultEncoding),"function"!=typeof n&&(n=T),i.ending?function(e,t){var n=new b;w(e,n),process.nextTick(t,n)}(this,n):(a||function(e,t,n,r){var i;return null===n?i=new v:"string"==typeof n||t.objectMode||(i=new p("chunk",["string","Buffer"],n)),!i||(w(e,i),process.nextTick(r,i),!1)}(this,i,e,n))&&(i.pendingcb++,o=function(e,t,n,r,i,o){if(!n){var a=function(e,t,n){e.objectMode||!1===e.decodeStrings||"string"!=typeof t||(t=s.from(t,n));return t}(t,r,i);r!==a&&(n=!0,i="buffer",r=a)}var u=t.objectMode?1:r.length;t.length+=u;var c=t.length<t.highWaterMark;c||(t.needDrain=!0);if(t.writing||t.corked){var l=t.lastBufferedRequest;t.lastBufferedRequest={chunk:r,encoding:i,isBuf:n,callback:o,next:null},l?l.next=t.lastBufferedRequest:t.bufferedRequest=t.lastBufferedRequest,t.bufferedRequestCount+=1}else k(e,t,!1,u,r,i,o);return c}(this,i,a,e,t,n)),o},S.prototype.cork=function(){this._writableState.corked++},S.prototype.uncork=function(){var e=this._writableState;e.corked&&(e.corked--,e.writing||e.corked||e.bufferProcessing||!e.bufferedRequest||O(this,e))},S.prototype.setDefaultEncoding=function(e){if("string"==typeof e&&(e=e.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((e+"").toLowerCase())>-1))throw new _(e);return this._writableState.defaultEncoding=e,this},Object.defineProperty(S.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(S.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),S.prototype._write=function(e,t,n){n(new h("_write()"))},S.prototype._writev=null,S.prototype.end=function(e,t,n){var r=this._writableState;return"function"==typeof e?(n=e,e=null,t=null):"function"==typeof t&&(n=t,t=null),null!=e&&this.write(e,t),r.corked&&(r.corked=1,this.uncork()),r.ending||function(e,t,n){t.ending=!0,A(e,t),n&&(t.finished?process.nextTick(n):e.once("finish",n));t.ended=!0,e.writable=!1}(this,r,n),this},Object.defineProperty(S.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(S.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(e){this._writableState&&(this._writableState.destroyed=e)}}),S.prototype.destroy=l.destroy,S.prototype._undestroy=l.undestroy,S.prototype._destroy=function(e,t){t(e)}},20828:function(e,t,n){"use strict";var r;function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var o=n(81086),a=Symbol("lastResolve"),s=Symbol("lastReject"),u=Symbol("error"),c=Symbol("ended"),l=Symbol("lastPromise"),f=Symbol("handlePromise"),d=Symbol("stream");function p(e,t){return{value:e,done:t}}function h(e){var t=e[a];if(null!==t){var n=e[d].read();null!==n&&(e[l]=null,e[a]=null,e[s]=null,t(p(n,!1)))}}function g(e){process.nextTick(h,e)}var m=Object.getPrototypeOf((function(){})),y=Object.setPrototypeOf((i(r={get stream(){return this[d]},next:function(){var e=this,t=this[u];if(null!==t)return Promise.reject(t);if(this[c])return Promise.resolve(p(void 0,!0));if(this[d].destroyed)return new Promise((function(t,n){process.nextTick((function(){e[u]?n(e[u]):t(p(void 0,!0))}))}));var n,r=this[l];if(r)n=new Promise(function(e,t){return function(n,r){e.then((function(){t[c]?n(p(void 0,!0)):t[f](n,r)}),r)}}(r,this));else{var i=this[d].read();if(null!==i)return Promise.resolve(p(i,!1));n=new Promise(this[f])}return this[l]=n,n}},Symbol.asyncIterator,(function(){return this})),i(r,"return",(function(){var e=this;return new Promise((function(t,n){e[d].destroy(null,(function(e){e?n(e):t(p(void 0,!0))}))}))})),r),m);e.exports=function(e){var t,n=Object.create(y,(i(t={},d,{value:e,writable:!0}),i(t,a,{value:null,writable:!0}),i(t,s,{value:null,writable:!0}),i(t,u,{value:null,writable:!0}),i(t,c,{value:e._readableState.endEmitted,writable:!0}),i(t,f,{value:function(e,t){var r=n[d].read();r?(n[l]=null,n[a]=null,n[s]=null,e(p(r,!1))):(n[a]=e,n[s]=t)},writable:!0}),t));return n[l]=null,o(e,(function(e){if(e&&"ERR_STREAM_PREMATURE_CLOSE"!==e.code){var t=n[s];return null!==t&&(n[l]=null,n[a]=null,n[s]=null,t(e)),void(n[u]=e)}var r=n[a];null!==r&&(n[l]=null,n[a]=null,n[s]=null,r(p(void 0,!0))),n[c]=!0})),e.on("readable",g.bind(null,n)),n}},39686:function(e,t,n){"use strict";function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var a=n(48764).Buffer,s=n(69862).inspect,u=s&&s.custom||"inspect";e.exports=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.head=null,this.tail=null,this.length=0}var t,n,c;return t=e,n=[{key:"push",value:function(e){var t={data:e,next:null};this.length>0?this.tail.next=t:this.head=t,this.tail=t,++this.length}},{key:"unshift",value:function(e){var t={data:e,next:this.head};0===this.length&&(this.tail=t),this.head=t,++this.length}},{key:"shift",value:function(){if(0!==this.length){var e=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,e}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(e){if(0===this.length)return"";for(var t=this.head,n=""+t.data;t=t.next;)n+=e+t.data;return n}},{key:"concat",value:function(e){if(0===this.length)return a.alloc(0);for(var t,n,r,i=a.allocUnsafe(e>>>0),o=this.head,s=0;o;)t=o.data,n=i,r=s,a.prototype.copy.call(t,n,r),s+=o.data.length,o=o.next;return i}},{key:"consume",value:function(e,t){var n;return e<this.head.data.length?(n=this.head.data.slice(0,e),this.head.data=this.head.data.slice(e)):n=e===this.head.data.length?this.shift():t?this._getString(e):this._getBuffer(e),n}},{key:"first",value:function(){return this.head.data}},{key:"_getString",value:function(e){var t=this.head,n=1,r=t.data;for(e-=r.length;t=t.next;){var i=t.data,o=e>i.length?i.length:e;if(o===i.length?r+=i:r+=i.slice(0,e),0==(e-=o)){o===i.length?(++n,t.next?this.head=t.next:this.head=this.tail=null):(this.head=t,t.data=i.slice(o));break}++n}return this.length-=n,r}},{key:"_getBuffer",value:function(e){var t=a.allocUnsafe(e),n=this.head,r=1;for(n.data.copy(t),e-=n.data.length;n=n.next;){var i=n.data,o=e>i.length?i.length:e;if(i.copy(t,t.length-e,0,o),0==(e-=o)){o===i.length?(++r,n.next?this.head=n.next:this.head=this.tail=null):(this.head=n,n.data=i.slice(o));break}++r}return this.length-=r,t}},{key:u,value:function(e,t){return s(this,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(Object(n),!0).forEach((function(t){i(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},t,{depth:0,customInspect:!1}))}}],n&&o(t.prototype,n),c&&o(t,c),e}()},71029:function(e){"use strict";function t(e,t){r(e,t),n(e)}function n(e){e._writableState&&!e._writableState.emitClose||e._readableState&&!e._readableState.emitClose||e.emit("close")}function r(e,t){e.emit("error",t)}e.exports={destroy:function(e,i){var o=this,a=this._readableState&&this._readableState.destroyed,s=this._writableState&&this._writableState.destroyed;return a||s?(i?i(e):e&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,process.nextTick(r,this,e)):process.nextTick(r,this,e)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(e||null,(function(e){!i&&e?o._writableState?o._writableState.errorEmitted?process.nextTick(n,o):(o._writableState.errorEmitted=!0,process.nextTick(t,o,e)):process.nextTick(t,o,e):i?(process.nextTick(n,o),i(e)):process.nextTick(n,o)})),this)},undestroy:function(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)},errorOrDestroy:function(e,t){var n=e._readableState,r=e._writableState;n&&n.autoDestroy||r&&r.autoDestroy?e.destroy(t):e.emit("error",t)}}},81086:function(e,t,n){"use strict";var r=n(58106).q.ERR_STREAM_PREMATURE_CLOSE;function i(){}e.exports=function e(t,n,o){if("function"==typeof n)return e(t,null,n);n||(n={}),o=function(e){var t=!1;return function(){if(!t){t=!0;for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];e.apply(this,r)}}}(o||i);var a=n.readable||!1!==n.readable&&t.readable,s=n.writable||!1!==n.writable&&t.writable,u=function(){t.writable||l()},c=t._writableState&&t._writableState.finished,l=function(){s=!1,c=!0,a||o.call(t)},f=t._readableState&&t._readableState.endEmitted,d=function(){a=!1,f=!0,s||o.call(t)},p=function(e){o.call(t,e)},h=function(){var e;return a&&!f?(t._readableState&&t._readableState.ended||(e=new r),o.call(t,e)):s&&!c?(t._writableState&&t._writableState.ended||(e=new r),o.call(t,e)):void 0},g=function(){t.req.on("finish",l)};return!function(e){return e.setHeader&&"function"==typeof e.abort}(t)?s&&!t._writableState&&(t.on("end",u),t.on("close",u)):(t.on("complete",l),t.on("abort",h),t.req?g():t.on("request",g)),t.on("end",d),t.on("finish",l),!1!==n.error&&t.on("error",p),t.on("close",h),function(){t.removeListener("complete",l),t.removeListener("abort",h),t.removeListener("request",g),t.req&&t.req.removeListener("finish",l),t.removeListener("end",u),t.removeListener("close",u),t.removeListener("finish",l),t.removeListener("end",d),t.removeListener("error",p),t.removeListener("close",h)}}},31265:function(e){e.exports=function(){throw new Error("Readable.from is not available in the browser")}},56472:function(e,t,n){"use strict";var r;var i=n(58106).q,o=i.ERR_MISSING_ARGS,a=i.ERR_STREAM_DESTROYED;function s(e){if(e)throw e}function u(e,t,i,o){o=function(e){var t=!1;return function(){t||(t=!0,e.apply(void 0,arguments))}}(o);var s=!1;e.on("close",(function(){s=!0})),void 0===r&&(r=n(81086)),r(e,{readable:t,writable:i},(function(e){if(e)return o(e);s=!0,o()}));var u=!1;return function(t){if(!s&&!u)return u=!0,function(e){return e.setHeader&&"function"==typeof e.abort}(e)?e.abort():"function"==typeof e.destroy?e.destroy():void o(t||new a("pipe"))}}function c(e){e()}function l(e,t){return e.pipe(t)}function f(e){return e.length?"function"!=typeof e[e.length-1]?s:e.pop():s}e.exports=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r,i=f(t);if(Array.isArray(t[0])&&(t=t[0]),t.length<2)throw new o("streams");var a=t.map((function(e,n){var o=n<t.length-1;return u(e,o,n>0,(function(e){r||(r=e),e&&a.forEach(c),o||(a.forEach(c),i(r))}))}));return t.reduce(l)}},30094:function(e,t,n){"use strict";var r=n(58106).q.ERR_INVALID_OPT_VALUE;e.exports={getHighWaterMark:function(e,t,n,i){var o=function(e,t,n){return null!=e.highWaterMark?e.highWaterMark:t?e[n]:null}(t,i,n);if(null!=o){if(!isFinite(o)||Math.floor(o)!==o||o<0)throw new r(i?n:"highWaterMark",o);return Math.floor(o)}return e.objectMode?16:16384}}},83194:function(e,t,n){e.exports=n(17187).EventEmitter},56422:function(e,t,n){var r=n(48764),i=r.Buffer;function o(e,t){for(var n in e)t[n]=e[n]}function a(e,t,n){return i(e,t,n)}i.from&&i.alloc&&i.allocUnsafe&&i.allocUnsafeSlow?e.exports=r:(o(r,t),t.Buffer=a),a.prototype=Object.create(i.prototype),o(i,a),a.from=function(e,t,n){if("number"==typeof e)throw new TypeError("Argument must not be a number");return i(e,t,n)},a.alloc=function(e,t,n){if("number"!=typeof e)throw new TypeError("Argument must be a number");var r=i(e);return void 0!==t?"string"==typeof n?r.fill(t,n):r.fill(t):r.fill(0),r},a.allocUnsafe=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return i(e)},a.allocUnsafeSlow=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return r.SlowBuffer(e)}},54729:function(e,t,n){"use strict";var r=n(56422).Buffer,i=r.isEncoding||function(e){switch((e=""+e)&&e.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function o(e){var t;switch(this.encoding=function(e){var t=function(e){if(!e)return"utf8";for(var t;;)switch(e){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return e;default:if(t)return;e=(""+e).toLowerCase(),t=!0}}(e);if("string"!=typeof t&&(r.isEncoding===i||!i(e)))throw new Error("Unknown encoding: "+e);return t||e}(e),this.encoding){case"utf16le":this.text=u,this.end=c,t=4;break;case"utf8":this.fillLast=s,t=4;break;case"base64":this.text=l,this.end=f,t=3;break;default:return this.write=d,void(this.end=p)}this.lastNeed=0,this.lastTotal=0,this.lastChar=r.allocUnsafe(t)}function a(e){return e<=127?0:e>>5==6?2:e>>4==14?3:e>>3==30?4:e>>6==2?-1:-2}function s(e){var t=this.lastTotal-this.lastNeed,n=function(e,t,n){if(128!=(192&t[0]))return e.lastNeed=0,"�";if(e.lastNeed>1&&t.length>1){if(128!=(192&t[1]))return e.lastNeed=1,"�";if(e.lastNeed>2&&t.length>2&&128!=(192&t[2]))return e.lastNeed=2,"�"}}(this,e);return void 0!==n?n:this.lastNeed<=e.length?(e.copy(this.lastChar,t,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(e.copy(this.lastChar,t,0,e.length),void(this.lastNeed-=e.length))}function u(e,t){if((e.length-t)%2==0){var n=e.toString("utf16le",t);if(n){var r=n.charCodeAt(n.length-1);if(r>=55296&&r<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1],n.slice(0,-1)}return n}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=e[e.length-1],e.toString("utf16le",t,e.length-1)}function c(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed){var n=this.lastTotal-this.lastNeed;return t+this.lastChar.toString("utf16le",0,n)}return t}function l(e,t){var n=(e.length-t)%3;return 0===n?e.toString("base64",t):(this.lastNeed=3-n,this.lastTotal=3,1===n?this.lastChar[0]=e[e.length-1]:(this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1]),e.toString("base64",t,e.length-n))}function f(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function d(e){return e.toString(this.encoding)}function p(e){return e&&e.length?this.write(e):""}t.s=o,o.prototype.write=function(e){if(0===e.length)return"";var t,n;if(this.lastNeed){if(void 0===(t=this.fillLast(e)))return"";n=this.lastNeed,this.lastNeed=0}else n=0;return n<e.length?t?t+this.text(e,n):this.text(e,n):t||""},o.prototype.end=function(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+"�":t},o.prototype.text=function(e,t){var n=function(e,t,n){var r=t.length-1;if(r<n)return 0;var i=a(t[r]);if(i>=0)return i>0&&(e.lastNeed=i-1),i;if(--r<n||-2===i)return 0;if((i=a(t[r]))>=0)return i>0&&(e.lastNeed=i-2),i;if(--r<n||-2===i)return 0;if((i=a(t[r]))>=0)return i>0&&(2===i?i=0:e.lastNeed=i-3),i;return 0}(this,e,t);if(!this.lastNeed)return e.toString("utf8",t);this.lastTotal=n;var r=e.length-(n-this.lastNeed);return e.copy(this.lastChar,0,r),e.toString("utf8",t,r)},o.prototype.fillLast=function(e){if(this.lastNeed<=e.length)return e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,e.length),this.lastNeed-=e.length}},71169:function(e){e.exports=function(e){return e.replace(/[A-Z]/g,(function(e){return"-"+e.toLowerCase()})).toLowerCase()}},32553:function(e,t,n){"use strict";var r=n(89509).Buffer,i=r.isEncoding||function(e){switch((e=""+e)&&e.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function o(e){var t;switch(this.encoding=function(e){var t=function(e){if(!e)return"utf8";for(var t;;)switch(e){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return e;default:if(t)return;e=(""+e).toLowerCase(),t=!0}}(e);if("string"!=typeof t&&(r.isEncoding===i||!i(e)))throw new Error("Unknown encoding: "+e);return t||e}(e),this.encoding){case"utf16le":this.text=u,this.end=c,t=4;break;case"utf8":this.fillLast=s,t=4;break;case"base64":this.text=l,this.end=f,t=3;break;default:return this.write=d,void(this.end=p)}this.lastNeed=0,this.lastTotal=0,this.lastChar=r.allocUnsafe(t)}function a(e){return e<=127?0:e>>5==6?2:e>>4==14?3:e>>3==30?4:e>>6==2?-1:-2}function s(e){var t=this.lastTotal-this.lastNeed,n=function(e,t,n){if(128!=(192&t[0]))return e.lastNeed=0,"�";if(e.lastNeed>1&&t.length>1){if(128!=(192&t[1]))return e.lastNeed=1,"�";if(e.lastNeed>2&&t.length>2&&128!=(192&t[2]))return e.lastNeed=2,"�"}}(this,e);return void 0!==n?n:this.lastNeed<=e.length?(e.copy(this.lastChar,t,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(e.copy(this.lastChar,t,0,e.length),void(this.lastNeed-=e.length))}function u(e,t){if((e.length-t)%2==0){var n=e.toString("utf16le",t);if(n){var r=n.charCodeAt(n.length-1);if(r>=55296&&r<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1],n.slice(0,-1)}return n}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=e[e.length-1],e.toString("utf16le",t,e.length-1)}function c(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed){var n=this.lastTotal-this.lastNeed;return t+this.lastChar.toString("utf16le",0,n)}return t}function l(e,t){var n=(e.length-t)%3;return 0===n?e.toString("base64",t):(this.lastNeed=3-n,this.lastTotal=3,1===n?this.lastChar[0]=e[e.length-1]:(this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1]),e.toString("base64",t,e.length-n))}function f(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function d(e){return e.toString(this.encoding)}function p(e){return e&&e.length?this.write(e):""}t.s=o,o.prototype.write=function(e){if(0===e.length)return"";var t,n;if(this.lastNeed){if(void 0===(t=this.fillLast(e)))return"";n=this.lastNeed,this.lastNeed=0}else n=0;return n<e.length?t?t+this.text(e,n):this.text(e,n):t||""},o.prototype.end=function(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+"�":t},o.prototype.text=function(e,t){var n=function(e,t,n){var r=t.length-1;if(r<n)return 0;var i=a(t[r]);if(i>=0)return i>0&&(e.lastNeed=i-1),i;if(--r<n||-2===i)return 0;if((i=a(t[r]))>=0)return i>0&&(e.lastNeed=i-2),i;if(--r<n||-2===i)return 0;if((i=a(t[r]))>=0)return i>0&&(2===i?i=0:e.lastNeed=i-3),i;return 0}(this,e,t);if(!this.lastNeed)return e.toString("utf8",t);this.lastTotal=n;var r=e.length-(n-this.lastNeed);return e.copy(this.lastChar,0,r),e.toString("utf8",t,r)},o.prototype.fillLast=function(e){if(this.lastNeed<=e.length)return e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,e.length),this.lastNeed-=e.length}},5238:function(e){e.exports=function(){"use strict";var e=Math.cos,t=Math.sin,n=Math.pow,r=Math.abs,i=Math.sqrt,o=Math.asin,a=Math.PI,s=Math.max,u=Math.min,c=Math.round,l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},f=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},d=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),p=n(2,53)-1,h={};function g(e){return null==e?"":"object"===(void 0===e?"undefined":l(e))||"function"==typeof e?h[Object.prototype.toString.call(e)]||"object":void 0===e?"undefined":l(e)}function m(e){return"number"===g(e)}function y(e){return"string"===g(e)}function v(e){return"function"===g(e)}function b(e){return Array.isArray(e)}function _(e){var t=null==e?null:e.length;return m(t)&&t>=0&&t<=p}function w(e){return!b(e)&&e-parseFloat(e)+1>=0}function T(e){return!b(e)&&"object"===g(e)}function x(e,t){return e&&e.hasOwnProperty(t)}function S(e,t,n){if(null==e)return e;var r=n||e;if(T(e)){for(var i in e)if(x(e,i)&&!1===t.call(r,e[i],i))break}else if(_(e))for(var o=0;o<e.length&&!1!==t.call(r,e[o],o);o++);return e}function k(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return S(n,(function(t){S(t,(function(t,n){e[n]=t}))})),e}function E(e){return e.replace(/\s*/g,"")||""}function O(e){"undefined"!=typeof console&&"function"==typeof console.error&&console.error(e);try{throw new Error(e)}catch(e){}}["Boolean","Number","String","Function","Array","Object"].forEach((function(e){h["[object "+e+"]"]=e.toLowerCase()}));var C=!("undefined"==typeof window||!window.document||!window.document.createElement),L=function(){if(!C)return!1;var e=navigator.userAgent;return(-1===e.indexOf("Android 2.")&&-1===e.indexOf("Android 4.0")||-1===e.indexOf("Mobile Safari")||-1!==e.indexOf("Chrome")||-1!==e.indexOf("Windows Phone"))&&window.history&&"pushState"in window.history&&"file:"!==window.location.protocol}(),A=C?window:null,I=C?document:null;function P(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(e)return(null==t?I:t).querySelector(e)}function M(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(e)return(null==t?I:t).querySelectorAll(e)}function R(e,t){for(var n=(e.document||e.ownerDocument).querySelectorAll(t),r=n.length;--r>=0&&n.item(r)!==e;);return r>-1}var j={y:"scrollTop",x:"scrollLeft"},D={y:"pageYOffset",x:"pageXOffset"};function N(e){return e===I.documentElement||e===I.body}function B(){var e=A.outerWidth,t=A.innerWidth;return e?e/t:1}function U(e){for(var t=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],n=j[arguments.length>1&&void 0!==arguments[1]?arguments[1]:"y"],r=e instanceof Element?[e]:M(e),i=[],o=I.createElement("div"),a=0;a<r.length;a++){var s=r[a];if(s[n]>0?i.push(s):(o.style.width=s.clientWidth+1+"px",o.style.height=s.clientHeight+1+"px",s.appendChild(o),s[n]=1.5/B(),s[n]>0&&i.push(s),s[n]=0,s.removeChild(o)),!t&&i.length>0)break}return i}function F(e,t){var n=U(e,t,!1);return n.length>=1?n[0]:null}function z(e){return null!=e&&e===e.window?e:9===e.nodeType&&e.defaultView}function H(e){return s(e.scrollHeight,e.clientHeight,e.offsetHeight)}function Z(e){return s(e.scrollWidth,e.clientWidth,e.offsetWidth)}function q(e){return{width:Z(e),height:H(e)}}function V(){return{width:s(Z(I.body),Z(I.documentElement)),height:s(H(I.body),H(I.documentElement))}}function W(e){return N(e)?{viewport:{width:u(A.innerWidth,I.documentElement.clientWidth),height:A.innerHeight},size:V()}:{viewport:{width:e.clientWidth,height:e.clientHeight},size:q(e)}}function G(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"y",n=z(e);return n?n[D[t]]:e[j[t]]}function $(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"y",r=z(e),i="y"===n;r?r.scrollTo(i?r[D.x]:t,i?t:r[D.y]):e[j[n]]=t}function Y(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(!e||e&&!e.getClientRects().length)return{top:0,left:0};var n=e.getBoundingClientRect();if(n.width||n.height){var r={},i=null;if(null==t||N(t))i=e.ownerDocument.documentElement,r.top=A.pageYOffset,r.left=A.pageXOffset;else{var o=(i=t).getBoundingClientRect();r.top=-1*o.top+i.scrollTop,r.left=-1*o.left+i.scrollLeft}return{top:n.top+r.top-i.clientTop,left:n.left+r.left-i.clientLeft}}return n}function K(e,t,n){t.split(",").forEach((function(t){e.addEventListener(t.trim(),n,!1)}))}function X(e,t,n){t.split(",").forEach((function(t){e.removeEventListener(t.trim(),n,!1)}))}function Q(e){return e}function J(e,t,n,r,i){return r*(t/=i)*t+n}function ee(e,t,n,r,i){return-r*(t/=i)*(t-2)+n}function te(e,t,n,r,i){return(t/=i/2)<1?r/2*t*t+n:-r/2*(--t*(t-2)-1)+n}function ne(e,t,n,r,i){return r*(t/=i)*t*t+n}function re(e,t,n,r,i){return r*((t=t/i-1)*t*t+1)+n}function ie(e,t,n,r,i){return(t/=i/2)<1?r/2*t*t*t+n:r/2*((t-=2)*t*t+2)+n}function oe(e,t,n,r,i){return r*(t/=i)*t*t*t+n}function ae(e,t,n,r,i){return-r*((t=t/i-1)*t*t*t-1)+n}function se(e,t,n,r,i){return(t/=i/2)<1?r/2*t*t*t*t+n:-r/2*((t-=2)*t*t*t-2)+n}function ue(e,t,n,r,i){return r*(t/=i)*t*t*t*t+n}function ce(e,t,n,r,i){return r*((t=t/i-1)*t*t*t*t+1)+n}function le(e,t,n,r,i){return(t/=i/2)<1?r/2*t*t*t*t*t+n:r/2*((t-=2)*t*t*t*t+2)+n}function fe(t,n,r,i,o){return-i*e(n/o*(a/2))+i+r}function de(e,n,r,i,o){return i*t(n/o*(a/2))+r}function pe(t,n,r,i,o){return-i/2*(e(a*n/o)-1)+r}function he(e,t,r,i,o){return 0===t?r:i*n(2,10*(t/o-1))+r}function ge(e,t,r,i,o){return t===o?r+i:i*(1-n(2,-10*t/o))+r}function me(e,t,r,i,o){return 0===t?r:t===o?r+i:(t/=o/2)<1?i/2*n(2,10*(t-1))+r:i/2*(2-n(2,-10*--t))+r}function ye(e,t,n,r,o){return-r*(i(1-(t/=o)*t)-1)+n}function ve(e,t,n,r,o){return r*i(1-(t=t/o-1)*t)+n}function be(e,t,n,r,o){return(t/=o/2)<1?-r/2*(i(1-t*t)-1)+n:r/2*(i(1-(t-=2)*t)+1)+n}function _e(e,i,s,u,c){var l=1.70158,f=0,d=u;return 0===i?s:1==(i/=c)?s+u:(f||(f=.3*c),d<r(u)?(d=u,l=f/4):l=f/(2*a)*o(u/d),-d*n(2,10*(i-=1))*t(2*a*(i*c-l)/f)+s)}function we(e,i,s,u,c){var l=1.70158,f=0,d=u;return 0===i?s:1==(i/=c)?s+u:(f||(f=.3*c),d<r(u)?(d=u,l=f/4):l=f/(2*a)*o(u/d),d*n(2,-10*i)*t(2*a*(i*c-l)/f)+u+s)}function Te(e,i,s,u,c){var l=1.70158,f=0,d=u;return 0===i?s:2==(i/=c/2)?s+u:(f||(f=c*(.3*1.5)),d<r(u)?(d=u,l=f/4):l=f/(2*a)*o(u/d),i<1?d*n(2,10*(i-=1))*t(2*a*(i*c-l)/f)*-.5+s:d*n(2,-10*(i-=1))*t(2*a*(i*c-l)/f)*.5+u+s)}function xe(e,t,n,r,i){var o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:1.70158;return r*(t/=i)*t*((o+1)*t-o)+n}function Se(e,t,n,r,i){var o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:1.70158;return r*((t=t/i-1)*t*((o+1)*t+o)+1)+n}function ke(e,t,n,r,i){var o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:1.70158;return(t/=i/2)<1?r/2*(t*t*((1+(o*=1.525))*t-o))+n:r/2*((t-=2)*t*((1+(o*=1.525))*t+o)+2)+n}function Ee(e,t,n,r,i){return(t/=i)<1/2.75?r*(7.5625*t*t)+n:t<2/2.75?r*(7.5625*(t-=1.5/2.75)*t+.75)+n:t<2.5/2.75?r*(7.5625*(t-=2.25/2.75)*t+.9375)+n:r*(7.5625*(t-=2.625/2.75)*t+.984375)+n}function Oe(e,t,n,r,i){return r-Ee(e,i-t,0,r,i)+n}function Ce(e,t,n,r,i){return t<i/2?.5*Oe(e,2*t,0,r,i)+n:.5*Ee(e,2*t-i,0,r,i)+.5*r+n}var Le=Object.freeze({linear:Q,InQuad:J,OutQuad:ee,InOutQuad:te,InCubic:ne,OutCubic:re,InOutCubic:ie,InQuart:oe,OutQuart:ae,InOutQuart:se,InQuint:ue,OutQuint:ce,InOutQuint:le,InSine:fe,OutSine:de,InOutSine:pe,InExpo:he,OutExpo:ge,InOutExpo:me,InCirc:ye,OutCirc:ve,InOutCirc:be,InElastic:_e,OutElastic:we,InOutElastic:Te,InBack:xe,OutBack:Se,InOutBack:ke,OutBounce:Ee,InBounce:Oe,InOutBounce:Ce}),Ae=["ms","moz","webkit"],Ie=0,Pe=C?A.requestAnimationFrame:null,Me=C?A.cancelAnimationFrame:null;if(C){for(var Re=0;Re<Ae.length&&!Pe;++Re)Pe=A[Ae[Re]+"RequestAnimationFrame"],Me=A[Ae[Re]+"CancelAnimationFrame"]||A[Ae[Re]+"CancelRequestAnimationFrame"];Pe||(Pe=function(e){var t=Date.now(),n=s(0,16-(t-Ie)),r=setTimeout((function(){e(t+n)}),n);return Ie=t+n,r}),Me||(Me=function(e){clearTimeout(e)})}var je=function(){function e(t){f(this,e),this.el=t,this.props={},this.options={},this.progress=!1,this.easing=null,this.startTime=null,this.rafId=null}return d(e,[{key:"run",value:function(e,t,n){var r=this;this.progress||(this.props={x:e,y:t},this.options=n,this.easing=v(n.easing)?n.easing:Le[n.easing.replace("ease","")],this.progress=!0,setTimeout((function(){r.startProps=r.calcStartProps(e,t),r.rafId=Pe((function(e){return r._loop(e)}))}),this.options.delay))}},{key:"stop",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=this.options.complete;this.startTime=null,this.progress=!1,Me(this.rafId),e&&($(this.el,this.props.x,"x"),$(this.el,this.props.y,"y")),v(t)&&(t.call(this),this.options.complete=null)}},{key:"_loop",value:function(e){var t=this;if(this.startTime||(this.startTime=e),this.progress){var n=this.el,r=this.props,i=this.options,o=this.startTime,a=this.startProps,l=this.easing,f=i.duration,d=i.step,p={},h=e-o,g=u(1,s(h/f,0));S(r,(function(e,t){var n=a[t],r=e-n;if(0===r)return!0;var i=l(g,f*g,0,1,f);p[t]=c(n+r*i)})),S(p,(function(e,t){$(n,e,t)})),h<=f?(d.call(this,g,p),this.rafId=Pe((function(e){return t._loop(e)}))):this.stop(!0)}else this.stop(!1)}},{key:"calcStartProps",value:function(e,t){var n={x:G(this.el,"x"),y:G(this.el,"y")};if(this.options.quickMode){var i=W(this.el).viewport,o=i.width,a=i.height;r(n.y-t)>a&&(n.y=n.y>t?t+a:t-a),r(n.x-e)>o&&(n.x=n.x>e?e+o:e-o)}return n}}]),e}(),De=(C?"onwheel"in I?"wheel":"onmousewheel"in I?"mousewheel":"DOMMouseScroll":"wheel")+", touchstart, touchmove",Ne=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body, html";f(this,e),this.isSSR=!C,this.options=k({},e.defaults,t),this.container=this.getContainer(n),null==this.container?(this.header=null,this.tween=null,this.isSSR||(/comp|inter|loaded/.test(I.readyState)?this.log('Not found scrollable container. => "'+n+'"'):this.log("Should be initialize later than DOMContentLoaded."))):(this.header=P(this.options.header),this.tween=new je(this.container),this._trigger=null,this._shouldCallCancelScroll=!1,this.bindContainerClick())}return d(e,[{key:"log",value:function(e){this.options.outputLog&&O("[SweetScroll] "+e)}},{key:"getScrollOffset",value:function(e,t){var n=this.container,r=this.header,i=this.parseCoodinate(t.offset),o=this.parseCoodinate(e);if(!o&&y(e))if("#"===e)o={top:0,left:0};else{var a=Y(P(e),n);if(!a)return;o=a}return o?(i&&(o.top+=i.top,o.left+=i.left),r&&(o.top=s(0,o.top-q(r).height)),o):null}},{key:"normalizeScrollOffset",value:function(e,t){var n=this.container,r=k({},e),i=W(n),o=i.viewport,a=i.size;return r.top=t.verticalScroll?s(0,u(a.height-o.height,r.top)):G(n,"y"),r.left=t.horizontalScroll?s(0,u(a.width-o.width,r.left)):G(n,"x"),r}},{key:"to",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!this.isSSR){var r=this.container,i=k({},this.options,n),o=this._trigger,a=y(e)&&/^#/.test(e)?e:null;if(this._options=i,this._trigger=null,this._shouldCallCancelScroll=!1,this.stop(),!r)return this.log("Not found container element.");var s=this.getScrollOffset(e,i);if(!s)return this.log("Invalid parameter of distance. => "+e);!1!==this.hook(i,"beforeScroll",s,o)?(s=this.normalizeScrollOffset(s,i),this.tween.run(s.left,s.top,{duration:i.duration,delay:i.delay,easing:i.easing,quickMode:i.quickMode,complete:function(){null!=a&&a!==A.location.hash&&t.updateURLHash(a,i.updateURL),t.unbindContainerStop(),t._options=null,t._shouldCallCancelScroll?t.hook(i,"cancelScroll"):t.hook(i,"afterScroll",s,o),t.hook(i,"completeScroll",t._shouldCallCancelScroll)},step:function(e,n){t.hook(i,"stepScroll",e,n)}}),this.bindContainerStop()):this._options=null}}},{key:"toTop",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.to(e,k({},t,{verticalScroll:!0,horizontalScroll:!1}))}},{key:"toLeft",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.to(e,k({},t,{verticalScroll:!1,horizontalScroll:!0}))}},{key:"toElement",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!this.isSSR)if(e instanceof Element){var n=Y(e,this.container);this.to(n,k({},t))}else this.log("Invalid parameter.")}},{key:"stop",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.isSSR||(this.container?(this._stopScrollListener&&(this._shouldCallCancelScroll=!0),this.tween.stop(e)):this.log("Not found scrollable container."))}},{key:"update",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.container?(this.stop(),this.unbindContainerClick(),this.unbindContainerStop(),this.options=k({},this.options,e),this.header=P(this.options.header),this.bindContainerClick()):this.isSSR||this.log("Not found scrollable container.")}},{key:"destroy",value:function(){this.container?(this.stop(),this.unbindContainerClick(),this.unbindContainerStop(),this.container=null,this.header=null,this.tween=null):this.isSSR||this.log("Not found scrollable container.")}},{key:"beforeScroll",value:function(e,t){return!0}},{key:"cancelScroll",value:function(){}},{key:"afterScroll",value:function(e,t){}},{key:"completeScroll",value:function(e){}},{key:"stepScroll",value:function(e,t){}},{key:"parseCoodinate",value:function(e){var t=this._options?this._options.verticalScroll:this.options.verticalScroll,n={top:0,left:0};if(x(e,"top")||x(e,"left"))n=k(n,e);else if(b(e))2===e.length?(n.top=e[0],n.left=e[1]):(n.top=t?e[0]:0,n.left=t?0:e[0]);else if(w(e))n.top=t?e:0,n.left=t?0:e;else{if(!y(e))return null;var r=E(e);if(/^\d+,\d+$/.test(r))r=r.split(","),n.top=r[0],n.left=r[1];else if(/^(top|left):\d+,?(?:(top|left):\d+)?$/.test(r)){var i=r.match(/top:(\d+)/),o=r.match(/left:(\d+)/);n.top=i?i[1]:0,n.left=o?o[1]:0}else{if(!this.container||!/^(\+|-)=(\d+)$/.test(r))return null;var a=G(this.container,t?"y":"x"),s=r.match(/^(\+|-)=(\d+)$/),u=s[1],c=parseInt(s[2],10);"+"===u?(n.top=t?a+c:0,n.left=t?0:a+c):(n.top=t?a-c:0,n.left=t?0:a-c)}}return n.top=parseInt(n.top,10),n.left=parseInt(n.left,10),n}},{key:"updateURLHash",value:function(e,t){!this.isSSR&&L&&t&&A.history["replace"===t?"replaceState":"pushState"](null,null,e)}},{key:"getContainer",value:function(e){var t=this.options,n=t.verticalScroll,r=t.horizontalScroll,i=null;return this.isSSR||(n&&(i=F(e,"y")),!i&&r&&(i=F(e,"x"))),i}},{key:"bindContainerClick",value:function(){var e=this.container;e&&(this._containerClickListener=this.handleContainerClick.bind(this),K(e,"click",this._containerClickListener))}},{key:"unbindContainerClick",value:function(){var e=this.container;e&&this._containerClickListener&&(X(e,"click",this._containerClickListener),this._containerClickListener=null)}},{key:"bindContainerStop",value:function(){var e=this.container;e&&(this._stopScrollListener=this.handleStopScroll.bind(this),K(e,De,this._stopScrollListener))}},{key:"unbindContainerStop",value:function(){var e=this.container;e&&this._stopScrollListener&&(X(e,De,this._stopScrollListener),this._stopScrollListener=null)}},{key:"hook",value:function(e,t){for(var n=e[t],r=arguments.length,i=Array(r>2?r-2:0),o=2;o<r;o++)i[o-2]=arguments[o];if(v(n)){var a=n.apply(this,i);if(void 0===a)return a}return this[t].apply(this,i)}},{key:"handleStopScroll",value:function(e){(this._options?this._options.stopScroll:this.options.stopScroll)?this.stop():e.preventDefault()}},{key:"handleContainerClick",value:function(e){for(var t=this.options,n=e.target;n&&n!==I;n=n.parentNode)if(R(n,t.trigger)){var r=n.getAttribute("data-scroll"),i=this.parseDataOptions(n),o=r||n.getAttribute("href");(t=k({},t,i)).preventDefault&&e.preventDefault(),t.stopPropagation&&e.stopPropagation(),this._trigger=n,t.horizontalScroll&&t.verticalScroll?this.to(o,t):t.verticalScroll?this.toTop(o,t):t.horizontalScroll&&this.toLeft(o,t)}}},{key:"parseDataOptions",value:function(e){var t=e.getAttribute("data-scroll-options");return t?JSON.parse(t):{}}}]),e}();return Ne.defaults={trigger:"[data-scroll]",header:"[data-scroll-header]",duration:1e3,delay:0,easing:"easeOutQuint",offset:0,verticalScroll:!0,horizontalScroll:!1,stopScroll:!0,updateURL:!1,preventDefault:!0,stopPropagation:!0,outputLog:!1,quickMode:!1,beforeScroll:null,afterScroll:null,cancelScroll:null,completeScroll:null,stepScroll:null},Ne}()},84463:function(e,t,n){"use strict";function r(e){var t,n,r,o,a,s,u=Object.create(null);if(this[l]=u,e)if("string"==typeof e)for("?"===e.charAt(0)&&(e=e.slice(1)),a=0,s=(o=e.split("&")).length;a<s;a++)-1<(t=(r=o[a]).indexOf("="))?d(u,p(r.slice(0,t)),p(r.slice(t+1))):r.length&&d(u,p(r),"");else if(i(e))for(a=0,s=e.length;a<s;a++)d(u,(r=e[a])[0],r[1]);else if(e.forEach)e.forEach(f,u);else for(n in e)d(u,n,e[n])}var i=Array.isArray,o=r.prototype,a=/[!'\(\)~]|%20|%00/g,s=/\+/g,u={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"},c=function(e){return u[e]},l="__URLSearchParams__:"+Math.random();function f(e,t){d(this,t,e)}function d(e,t,n){var r=i(n)?n.join(","):n;t in e?e[t].push(r):e[t]=[r]}function p(e){return decodeURIComponent(e.replace(s," "))}function h(e){return encodeURIComponent(e).replace(a,c)}o.append=function(e,t){d(this[l],e,t)},o.delete=function(e){delete this[l][e]},o.get=function(e){var t=this[l];return e in t?t[e][0]:null},o.getAll=function(e){var t=this[l];return e in t?t[e].slice(0):[]},o.has=function(e){return e in this[l]},o.set=function(e,t){this[l][e]=[""+t]},o.forEach=function(e,t){var n=this[l];Object.getOwnPropertyNames(n).forEach((function(r){n[r].forEach((function(n){e.call(t,n,r,this)}),this)}),this)},o.toJSON=function(){return{}},o.toString=function(){var e,t,n,r,i=this[l],o=[];for(t in i)for(n=h(t),e=0,r=i[t];e<r.length;e++)o.push(n+"="+h(r[e]));return o.join("&")},function(e){var t=function(){try{return!!Symbol.iterator}catch(e){return!1}}();"forEach"in e||(e.forEach=function(e,t){var n=Object.create(null);this.toString().replace(/=[\s\S]*?(?:&|$)/g,"=").split("=").forEach((function(r){r.length&&!(r in n)&&(n[r]=this.getAll(r)).forEach((function(n){e.call(t,n,r,this)}),this)}),this)}),"keys"in e||(e.keys=function(){var e=[];this.forEach((function(t,n){e.push(n)}));var n={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return t&&(n[Symbol.iterator]=function(){return n}),n}),"values"in e||(e.values=function(){var e=[];this.forEach((function(t){e.push(t)}));var n={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return t&&(n[Symbol.iterator]=function(){return n}),n}),"entries"in e||(e.entries=function(){var e=[];this.forEach((function(t,n){e.push([n,t])}));var n={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return t&&(n[Symbol.iterator]=function(){return n}),n}),t&&!(Symbol.iterator in e)&&(e[Symbol.iterator]=e.entries),"sort"in e||(e.sort=function(){for(var e,t,n,r=this.entries(),i=r.next(),o=i.done,a=[],s=Object.create(null);!o;)t=(n=i.value)[0],a.push(t),t in s||(s[t]=[]),s[t].push(n[1]),o=(i=r.next()).done;for(a.sort(),e=0;e<a.length;e++)this.delete(a[e]);for(e=0;e<a.length;e++)t=a[e],this.append(t,s[t].shift())})}((r=e.exports=n.g.URLSearchParams||r).prototype)},49945:function(e){var t,n,r,i,o;t=/^(?=((?:[a-zA-Z0-9+\-.]+:)?))\1(?=((?:\/\/[^\/?#]*)?))\2(?=((?:(?:[^?#\/]*\/)*[^;?#\/]*)?))\3((?:;[^?#]*)?)(\?[^#]*)?(#[^]*)?$/,n=/^(?=([^\/?#]*))\1([^]*)$/,r=/(?:\/|^)\.(?=\/)/g,i=/(?:\/|^)\.\.\/(?!\.\.\/)[^\/]*(?=\/)/g,o={buildAbsoluteURL:function(e,t,r){if(r=r||{},e=e.trim(),!(t=t.trim())){if(!r.alwaysNormalize)return e;var i=o.parseURL(e);if(!i)throw new Error("Error trying to parse base URL.");return i.path=o.normalizePath(i.path),o.buildURLFromParts(i)}var a=o.parseURL(t);if(!a)throw new Error("Error trying to parse relative URL.");if(a.scheme)return r.alwaysNormalize?(a.path=o.normalizePath(a.path),o.buildURLFromParts(a)):t;var s=o.parseURL(e);if(!s)throw new Error("Error trying to parse base URL.");if(!s.netLoc&&s.path&&"/"!==s.path[0]){var u=n.exec(s.path);s.netLoc=u[1],s.path=u[2]}s.netLoc&&!s.path&&(s.path="/");var c={scheme:s.scheme,netLoc:a.netLoc,path:null,params:a.params,query:a.query,fragment:a.fragment};if(!a.netLoc&&(c.netLoc=s.netLoc,"/"!==a.path[0]))if(a.path){var l=s.path,f=l.substring(0,l.lastIndexOf("/")+1)+a.path;c.path=o.normalizePath(f)}else c.path=s.path,a.params||(c.params=s.params,a.query||(c.query=s.query));return null===c.path&&(c.path=r.alwaysNormalize?o.normalizePath(a.path):a.path),o.buildURLFromParts(c)},parseURL:function(e){var n=t.exec(e);return n?{scheme:n[1]||"",netLoc:n[2]||"",path:n[3]||"",params:n[4]||"",query:n[5]||"",fragment:n[6]||""}:null},normalizePath:function(e){for(e=e.split("").reverse().join("").replace(r,"");e.length!==(e=e.replace(i,"")).length;);return e.split("").reverse().join("")},buildURLFromParts:function(e){return e.scheme+e.netLoc+e.path+e.params+e.query+e.fragment}},e.exports=o},8575:function(e,t,n){"use strict";var r=n(74971),i=n(62502);function o(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}t.parse=b,t.resolve=function(e,t){return b(e,!1,!0).resolve(t)},t.resolveObject=function(e,t){return e?b(e,!1,!0).resolveObject(t):t},t.format=function(e){i.isString(e)&&(e=b(e));return e instanceof o?e.format():o.prototype.format.call(e)},t.Url=o;var a=/^([a-z0-9.+-]+:)/i,s=/:[0-9]*$/,u=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,c=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),l=["'"].concat(c),f=["%","/","?",";","#"].concat(l),d=["/","?","#"],p=/^[+a-z0-9A-Z_-]{0,63}$/,h=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,g={javascript:!0,"javascript:":!0},m={javascript:!0,"javascript:":!0},y={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},v=n(17673);function b(e,t,n){if(e&&i.isObject(e)&&e instanceof o)return e;var r=new o;return r.parse(e,t,n),r}o.prototype.parse=function(e,t,n){if(!i.isString(e))throw new TypeError("Parameter 'url' must be a string, not "+typeof e);var o=e.indexOf("?"),s=-1!==o&&o<e.indexOf("#")?"?":"#",c=e.split(s);c[0]=c[0].replace(/\\/g,"/");var b=e=c.join(s);if(b=b.trim(),!n&&1===e.split("#").length){var _=u.exec(b);if(_)return this.path=b,this.href=b,this.pathname=_[1],_[2]?(this.search=_[2],this.query=t?v.parse(this.search.substr(1)):this.search.substr(1)):t&&(this.search="",this.query={}),this}var w=a.exec(b);if(w){var T=(w=w[0]).toLowerCase();this.protocol=T,b=b.substr(w.length)}if(n||w||b.match(/^\/\/[^@\/]+@[^@\/]+/)){var x="//"===b.substr(0,2);!x||w&&m[w]||(b=b.substr(2),this.slashes=!0)}if(!m[w]&&(x||w&&!y[w])){for(var S,k,E=-1,O=0;O<d.length;O++){-1!==(C=b.indexOf(d[O]))&&(-1===E||C<E)&&(E=C)}-1!==(k=-1===E?b.lastIndexOf("@"):b.lastIndexOf("@",E))&&(S=b.slice(0,k),b=b.slice(k+1),this.auth=decodeURIComponent(S)),E=-1;for(O=0;O<f.length;O++){var C;-1!==(C=b.indexOf(f[O]))&&(-1===E||C<E)&&(E=C)}-1===E&&(E=b.length),this.host=b.slice(0,E),b=b.slice(E),this.parseHost(),this.hostname=this.hostname||"";var L="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!L)for(var A=this.hostname.split(/\./),I=(O=0,A.length);O<I;O++){var P=A[O];if(P&&!P.match(p)){for(var M="",R=0,j=P.length;R<j;R++)P.charCodeAt(R)>127?M+="x":M+=P[R];if(!M.match(p)){var D=A.slice(0,O),N=A.slice(O+1),B=P.match(h);B&&(D.push(B[1]),N.unshift(B[2])),N.length&&(b="/"+N.join(".")+b),this.hostname=D.join(".");break}}}this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),L||(this.hostname=r.toASCII(this.hostname));var U=this.port?":"+this.port:"",F=this.hostname||"";this.host=F+U,this.href+=this.host,L&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==b[0]&&(b="/"+b))}if(!g[T])for(O=0,I=l.length;O<I;O++){var z=l[O];if(-1!==b.indexOf(z)){var H=encodeURIComponent(z);H===z&&(H=escape(z)),b=b.split(z).join(H)}}var Z=b.indexOf("#");-1!==Z&&(this.hash=b.substr(Z),b=b.slice(0,Z));var q=b.indexOf("?");if(-1!==q?(this.search=b.substr(q),this.query=b.substr(q+1),t&&(this.query=v.parse(this.query)),b=b.slice(0,q)):t&&(this.search="",this.query={}),b&&(this.pathname=b),y[T]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){U=this.pathname||"";var V=this.search||"";this.path=U+V}return this.href=this.format(),this},o.prototype.format=function(){var e=this.auth||"";e&&(e=(e=encodeURIComponent(e)).replace(/%3A/i,":"),e+="@");var t=this.protocol||"",n=this.pathname||"",r=this.hash||"",o=!1,a="";this.host?o=e+this.host:this.hostname&&(o=e+(-1===this.hostname.indexOf(":")?this.hostname:"["+this.hostname+"]"),this.port&&(o+=":"+this.port)),this.query&&i.isObject(this.query)&&Object.keys(this.query).length&&(a=v.stringify(this.query));var s=this.search||a&&"?"+a||"";return t&&":"!==t.substr(-1)&&(t+=":"),this.slashes||(!t||y[t])&&!1!==o?(o="//"+(o||""),n&&"/"!==n.charAt(0)&&(n="/"+n)):o||(o=""),r&&"#"!==r.charAt(0)&&(r="#"+r),s&&"?"!==s.charAt(0)&&(s="?"+s),t+o+(n=n.replace(/[?#]/g,(function(e){return encodeURIComponent(e)})))+(s=s.replace("#","%23"))+r},o.prototype.resolve=function(e){return this.resolveObject(b(e,!1,!0)).format()},o.prototype.resolveObject=function(e){if(i.isString(e)){var t=new o;t.parse(e,!1,!0),e=t}for(var n=new o,r=Object.keys(this),a=0;a<r.length;a++){var s=r[a];n[s]=this[s]}if(n.hash=e.hash,""===e.href)return n.href=n.format(),n;if(e.slashes&&!e.protocol){for(var u=Object.keys(e),c=0;c<u.length;c++){var l=u[c];"protocol"!==l&&(n[l]=e[l])}return y[n.protocol]&&n.hostname&&!n.pathname&&(n.path=n.pathname="/"),n.href=n.format(),n}if(e.protocol&&e.protocol!==n.protocol){if(!y[e.protocol]){for(var f=Object.keys(e),d=0;d<f.length;d++){var p=f[d];n[p]=e[p]}return n.href=n.format(),n}if(n.protocol=e.protocol,e.host||m[e.protocol])n.pathname=e.pathname;else{for(var h=(e.pathname||"").split("/");h.length&&!(e.host=h.shift()););e.host||(e.host=""),e.hostname||(e.hostname=""),""!==h[0]&&h.unshift(""),h.length<2&&h.unshift(""),n.pathname=h.join("/")}if(n.search=e.search,n.query=e.query,n.host=e.host||"",n.auth=e.auth,n.hostname=e.hostname||e.host,n.port=e.port,n.pathname||n.search){var g=n.pathname||"",v=n.search||"";n.path=g+v}return n.slashes=n.slashes||e.slashes,n.href=n.format(),n}var b=n.pathname&&"/"===n.pathname.charAt(0),_=e.host||e.pathname&&"/"===e.pathname.charAt(0),w=_||b||n.host&&e.pathname,T=w,x=n.pathname&&n.pathname.split("/")||[],S=(h=e.pathname&&e.pathname.split("/")||[],n.protocol&&!y[n.protocol]);if(S&&(n.hostname="",n.port=null,n.host&&(""===x[0]?x[0]=n.host:x.unshift(n.host)),n.host="",e.protocol&&(e.hostname=null,e.port=null,e.host&&(""===h[0]?h[0]=e.host:h.unshift(e.host)),e.host=null),w=w&&(""===h[0]||""===x[0])),_)n.host=e.host||""===e.host?e.host:n.host,n.hostname=e.hostname||""===e.hostname?e.hostname:n.hostname,n.search=e.search,n.query=e.query,x=h;else if(h.length)x||(x=[]),x.pop(),x=x.concat(h),n.search=e.search,n.query=e.query;else if(!i.isNullOrUndefined(e.search)){if(S)n.hostname=n.host=x.shift(),(L=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@"))&&(n.auth=L.shift(),n.host=n.hostname=L.shift());return n.search=e.search,n.query=e.query,i.isNull(n.pathname)&&i.isNull(n.search)||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.href=n.format(),n}if(!x.length)return n.pathname=null,n.search?n.path="/"+n.search:n.path=null,n.href=n.format(),n;for(var k=x.slice(-1)[0],E=(n.host||e.host||x.length>1)&&("."===k||".."===k)||""===k,O=0,C=x.length;C>=0;C--)"."===(k=x[C])?x.splice(C,1):".."===k?(x.splice(C,1),O++):O&&(x.splice(C,1),O--);if(!w&&!T)for(;O--;O)x.unshift("..");!w||""===x[0]||x[0]&&"/"===x[0].charAt(0)||x.unshift(""),E&&"/"!==x.join("/").substr(-1)&&x.push("");var L,A=""===x[0]||x[0]&&"/"===x[0].charAt(0);S&&(n.hostname=n.host=A?"":x.length?x.shift():"",(L=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@"))&&(n.auth=L.shift(),n.host=n.hostname=L.shift()));return(w=w||n.host&&x.length)&&!A&&x.unshift(""),x.length?n.pathname=x.join("/"):(n.pathname=null,n.path=null),i.isNull(n.pathname)&&i.isNull(n.search)||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.auth=e.auth||n.auth,n.slashes=n.slashes||e.slashes,n.href=n.format(),n},o.prototype.parseHost=function(){var e=this.host,t=s.exec(e);t&&(":"!==(t=t[0])&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)}},62502:function(e){"use strict";e.exports={isString:function(e){return"string"==typeof e},isObject:function(e){return"object"==typeof e&&null!==e},isNull:function(e){return null===e},isNullOrUndefined:function(e){return null==e}}},191:function(e,t,n){"use strict";var r=this&&this.__read||function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)a.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a};Object.defineProperty(t,"__esModule",{value:!0});var i=n(28416);t.default=function(){var e=r(i.useState(Object.create(null)),2)[1];return i.useCallback((function(){e(Object.create(null))}),[e])}},94927:function(e,t,n){function r(e){try{if(!n.g.localStorage)return!1}catch(e){return!1}var t=n.g.localStorage[e];return null!=t&&"true"===String(t).toLowerCase()}e.exports=function(e,t){if(r("noDeprecation"))return e;var n=!1;return function(){if(!n){if(r("throwDeprecation"))throw new Error(t);r("traceDeprecation")?console.trace(t):console.warn(t),n=!0}return e.apply(this,arguments)}}},28721:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r={randomUUID:"undefined"!=typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};let i;const o=new Uint8Array(16);function a(){if(!i&&(i="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!i))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return i(o)}const s=[];for(let e=0;e<256;++e)s.push((e+256).toString(16).slice(1));function u(e,t=0){return(s[e[t+0]]+s[e[t+1]]+s[e[t+2]]+s[e[t+3]]+"-"+s[e[t+4]]+s[e[t+5]]+"-"+s[e[t+6]]+s[e[t+7]]+"-"+s[e[t+8]]+s[e[t+9]]+"-"+s[e[t+10]]+s[e[t+11]]+s[e[t+12]]+s[e[t+13]]+s[e[t+14]]+s[e[t+15]]).toLowerCase()}var c=function(e,t,n){if(r.randomUUID&&!t&&!e)return r.randomUUID();const i=(e=e||{}).random||(e.rng||a)();if(i[6]=15&i[6]|64,i[8]=63&i[8]|128,t){n=n||0;for(let e=0;e<16;++e)t[n+e]=i[e];return t}return u(i)}},90285:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return Ta}});var r=n(58908),i=n.n(r),o=n(89144),a=n.n(o),s=n(27537),u=n.n(s),c=n(75974),l=n.n(c),f=n(9603),d=n.n(f),p=n(13407),h=n.n(p),g=n(49945),m=n.n(g),y="http://example.com",v=function(e,t){if(/^[a-z]+:/i.test(t))return t;/^data:/.test(e)&&(e=i().location&&i().location.href||"");var n="function"==typeof i().URL,r=/^\/\//.test(e),o=!i().location&&!/\/\//i.test(e);if(n?e=new(i().URL)(e,i().location||y):/\/\//i.test(e)||(e=m().buildAbsoluteURL(i().location&&i().location.href||"",e)),n){var a=new URL(t,e);return o?a.href.slice(y.length):r?a.href.slice(a.protocol.length):a.href}return m().buildAbsoluteURL(e,t)},b=n(87462),_=function(){function e(){this.listeners={}}var t=e.prototype;return t.on=function(e,t){this.listeners[e]||(this.listeners[e]=[]),this.listeners[e].push(t)},t.off=function(e,t){if(!this.listeners[e])return!1;var n=this.listeners[e].indexOf(t);return this.listeners[e]=this.listeners[e].slice(0),this.listeners[e].splice(n,1),n>-1},t.trigger=function(e){var t=this.listeners[e];if(t)if(2===arguments.length)for(var n=t.length,r=0;r<n;++r)t[r].call(this,arguments[1]);else for(var i=Array.prototype.slice.call(arguments,1),o=t.length,a=0;a<o;++a)t[a].apply(this,i)},t.dispose=function(){this.listeners={}},t.pipe=function(e){this.on("data",(function(t){e.push(t)}))},e}();function w(e){for(var t,n=(t=e,i().atob?i().atob(t):Buffer.from(t,"base64").toString("binary")),r=new Uint8Array(n.length),o=0;o<n.length;o++)r[o]=n.charCodeAt(o);return r}class T extends _{constructor(){super(),this.buffer=""}push(e){let t;for(this.buffer+=e,t=this.buffer.indexOf("\n");t>-1;t=this.buffer.indexOf("\n"))this.trigger("data",this.buffer.substring(0,t)),this.buffer=this.buffer.substring(t+1)}}const x=String.fromCharCode(9),S=function(e){const t=/([0-9.]*)?@?([0-9.]*)?/.exec(e||""),n={};return t[1]&&(n.length=parseInt(t[1],10)),t[2]&&(n.offset=parseInt(t[2],10)),n},k=function(e){const t={};if(!e)return t;const n=e.split(new RegExp('(?:^|,)((?:[^=]*)=(?:"[^"]*"|[^,]*))'));let r,i=n.length;for(;i--;)""!==n[i]&&(r=/([^=]*)=(.*)/.exec(n[i]).slice(1),r[0]=r[0].replace(/^\s+|\s+$/g,""),r[1]=r[1].replace(/^\s+|\s+$/g,""),r[1]=r[1].replace(/^['"](.*)['"]$/g,"$1"),t[r[0]]=r[1]);return t};class E extends _{constructor(){super(),this.customParsers=[],this.tagMappers=[]}push(e){let t,n;if(0===(e=e.trim()).length)return;if("#"!==e[0])return void this.trigger("data",{type:"uri",uri:e});this.tagMappers.reduce(((t,n)=>{const r=n(e);return r===e?t:t.concat([r])}),[e]).forEach((e=>{for(let t=0;t<this.customParsers.length;t++)if(this.customParsers[t].call(this,e))return;if(0===e.indexOf("#EXT"))if(e=e.replace("\r",""),t=/^#EXTM3U/.exec(e),t)this.trigger("data",{type:"tag",tagType:"m3u"});else{if(t=/^#EXTINF:([0-9\.]*)?,?(.*)?$/.exec(e),t)return n={type:"tag",tagType:"inf"},t[1]&&(n.duration=parseFloat(t[1])),t[2]&&(n.title=t[2]),void this.trigger("data",n);if(t=/^#EXT-X-TARGETDURATION:([0-9.]*)?/.exec(e),t)return n={type:"tag",tagType:"targetduration"},t[1]&&(n.duration=parseInt(t[1],10)),void this.trigger("data",n);if(t=/^#EXT-X-VERSION:([0-9.]*)?/.exec(e),t)return n={type:"tag",tagType:"version"},t[1]&&(n.version=parseInt(t[1],10)),void this.trigger("data",n);if(t=/^#EXT-X-MEDIA-SEQUENCE:(\-?[0-9.]*)?/.exec(e),t)return n={type:"tag",tagType:"media-sequence"},t[1]&&(n.number=parseInt(t[1],10)),void this.trigger("data",n);if(t=/^#EXT-X-DISCONTINUITY-SEQUENCE:(\-?[0-9.]*)?/.exec(e),t)return n={type:"tag",tagType:"discontinuity-sequence"},t[1]&&(n.number=parseInt(t[1],10)),void this.trigger("data",n);if(t=/^#EXT-X-PLAYLIST-TYPE:(.*)?$/.exec(e),t)return n={type:"tag",tagType:"playlist-type"},t[1]&&(n.playlistType=t[1]),void this.trigger("data",n);if(t=/^#EXT-X-BYTERANGE:(.*)?$/.exec(e),t)return n=(0,b.Z)(S(t[1]),{type:"tag",tagType:"byterange"}),void this.trigger("data",n);if(t=/^#EXT-X-ALLOW-CACHE:(YES|NO)?/.exec(e),t)return n={type:"tag",tagType:"allow-cache"},t[1]&&(n.allowed=!/NO/.test(t[1])),void this.trigger("data",n);if(t=/^#EXT-X-MAP:(.*)$/.exec(e),t){if(n={type:"tag",tagType:"map"},t[1]){const e=k(t[1]);e.URI&&(n.uri=e.URI),e.BYTERANGE&&(n.byterange=S(e.BYTERANGE))}this.trigger("data",n)}else if(t=/^#EXT-X-STREAM-INF:(.*)$/.exec(e),t){if(n={type:"tag",tagType:"stream-inf"},t[1]){if(n.attributes=k(t[1]),n.attributes.RESOLUTION){const e=n.attributes.RESOLUTION.split("x"),t={};e[0]&&(t.width=parseInt(e[0],10)),e[1]&&(t.height=parseInt(e[1],10)),n.attributes.RESOLUTION=t}n.attributes.BANDWIDTH&&(n.attributes.BANDWIDTH=parseInt(n.attributes.BANDWIDTH,10)),n.attributes["FRAME-RATE"]&&(n.attributes["FRAME-RATE"]=parseFloat(n.attributes["FRAME-RATE"])),n.attributes["PROGRAM-ID"]&&(n.attributes["PROGRAM-ID"]=parseInt(n.attributes["PROGRAM-ID"],10))}this.trigger("data",n)}else{if(t=/^#EXT-X-MEDIA:(.*)$/.exec(e),t)return n={type:"tag",tagType:"media"},t[1]&&(n.attributes=k(t[1])),void this.trigger("data",n);if(t=/^#EXT-X-ENDLIST/.exec(e),t)this.trigger("data",{type:"tag",tagType:"endlist"});else if(t=/^#EXT-X-DISCONTINUITY/.exec(e),t)this.trigger("data",{type:"tag",tagType:"discontinuity"});else{if(t=/^#EXT-X-PROGRAM-DATE-TIME:(.*)$/.exec(e),t)return n={type:"tag",tagType:"program-date-time"},t[1]&&(n.dateTimeString=t[1],n.dateTimeObject=new Date(t[1])),void this.trigger("data",n);if(t=/^#EXT-X-KEY:(.*)$/.exec(e),t)return n={type:"tag",tagType:"key"},t[1]&&(n.attributes=k(t[1]),n.attributes.IV&&("0x"===n.attributes.IV.substring(0,2).toLowerCase()&&(n.attributes.IV=n.attributes.IV.substring(2)),n.attributes.IV=n.attributes.IV.match(/.{8}/g),n.attributes.IV[0]=parseInt(n.attributes.IV[0],16),n.attributes.IV[1]=parseInt(n.attributes.IV[1],16),n.attributes.IV[2]=parseInt(n.attributes.IV[2],16),n.attributes.IV[3]=parseInt(n.attributes.IV[3],16),n.attributes.IV=new Uint32Array(n.attributes.IV))),void this.trigger("data",n);if(t=/^#EXT-X-START:(.*)$/.exec(e),t)return n={type:"tag",tagType:"start"},t[1]&&(n.attributes=k(t[1]),n.attributes["TIME-OFFSET"]=parseFloat(n.attributes["TIME-OFFSET"]),n.attributes.PRECISE=/YES/.test(n.attributes.PRECISE)),void this.trigger("data",n);if(t=/^#EXT-X-CUE-OUT-CONT:(.*)?$/.exec(e),t)return n={type:"tag",tagType:"cue-out-cont"},t[1]?n.data=t[1]:n.data="",void this.trigger("data",n);if(t=/^#EXT-X-CUE-OUT:(.*)?$/.exec(e),t)return n={type:"tag",tagType:"cue-out"},t[1]?n.data=t[1]:n.data="",void this.trigger("data",n);if(t=/^#EXT-X-CUE-IN:(.*)?$/.exec(e),t)return n={type:"tag",tagType:"cue-in"},t[1]?n.data=t[1]:n.data="",void this.trigger("data",n);if(t=/^#EXT-X-SKIP:(.*)$/.exec(e),t&&t[1])return n={type:"tag",tagType:"skip"},n.attributes=k(t[1]),n.attributes.hasOwnProperty("SKIPPED-SEGMENTS")&&(n.attributes["SKIPPED-SEGMENTS"]=parseInt(n.attributes["SKIPPED-SEGMENTS"],10)),n.attributes.hasOwnProperty("RECENTLY-REMOVED-DATERANGES")&&(n.attributes["RECENTLY-REMOVED-DATERANGES"]=n.attributes["RECENTLY-REMOVED-DATERANGES"].split(x)),void this.trigger("data",n);if(t=/^#EXT-X-PART:(.*)$/.exec(e),t&&t[1])return n={type:"tag",tagType:"part"},n.attributes=k(t[1]),["DURATION"].forEach((function(e){n.attributes.hasOwnProperty(e)&&(n.attributes[e]=parseFloat(n.attributes[e]))})),["INDEPENDENT","GAP"].forEach((function(e){n.attributes.hasOwnProperty(e)&&(n.attributes[e]=/YES/.test(n.attributes[e]))})),n.attributes.hasOwnProperty("BYTERANGE")&&(n.attributes.byterange=S(n.attributes.BYTERANGE)),void this.trigger("data",n);if(t=/^#EXT-X-SERVER-CONTROL:(.*)$/.exec(e),t&&t[1])return n={type:"tag",tagType:"server-control"},n.attributes=k(t[1]),["CAN-SKIP-UNTIL","PART-HOLD-BACK","HOLD-BACK"].forEach((function(e){n.attributes.hasOwnProperty(e)&&(n.attributes[e]=parseFloat(n.attributes[e]))})),["CAN-SKIP-DATERANGES","CAN-BLOCK-RELOAD"].forEach((function(e){n.attributes.hasOwnProperty(e)&&(n.attributes[e]=/YES/.test(n.attributes[e]))})),void this.trigger("data",n);if(t=/^#EXT-X-PART-INF:(.*)$/.exec(e),t&&t[1])return n={type:"tag",tagType:"part-inf"},n.attributes=k(t[1]),["PART-TARGET"].forEach((function(e){n.attributes.hasOwnProperty(e)&&(n.attributes[e]=parseFloat(n.attributes[e]))})),void this.trigger("data",n);if(t=/^#EXT-X-PRELOAD-HINT:(.*)$/.exec(e),t&&t[1])return n={type:"tag",tagType:"preload-hint"},n.attributes=k(t[1]),["BYTERANGE-START","BYTERANGE-LENGTH"].forEach((function(e){if(n.attributes.hasOwnProperty(e)){n.attributes[e]=parseInt(n.attributes[e],10);const t="BYTERANGE-LENGTH"===e?"length":"offset";n.attributes.byterange=n.attributes.byterange||{},n.attributes.byterange[t]=n.attributes[e],delete n.attributes[e]}})),void this.trigger("data",n);if(t=/^#EXT-X-RENDITION-REPORT:(.*)$/.exec(e),t&&t[1])return n={type:"tag",tagType:"rendition-report"},n.attributes=k(t[1]),["LAST-MSN","LAST-PART"].forEach((function(e){n.attributes.hasOwnProperty(e)&&(n.attributes[e]=parseInt(n.attributes[e],10))})),void this.trigger("data",n);if(t=/^#EXT-X-DATERANGE:(.*)$/.exec(e),t&&t[1]){n={type:"tag",tagType:"daterange"},n.attributes=k(t[1]),["ID","CLASS"].forEach((function(e){n.attributes.hasOwnProperty(e)&&(n.attributes[e]=String(n.attributes[e]))})),["START-DATE","END-DATE"].forEach((function(e){n.attributes.hasOwnProperty(e)&&(n.attributes[e]=new Date(n.attributes[e]))})),["DURATION","PLANNED-DURATION"].forEach((function(e){n.attributes.hasOwnProperty(e)&&(n.attributes[e]=parseFloat(n.attributes[e]))})),["END-ON-NEXT"].forEach((function(e){n.attributes.hasOwnProperty(e)&&(n.attributes[e]=/YES/i.test(n.attributes[e]))})),["SCTE35-CMD"," SCTE35-OUT","SCTE35-IN"].forEach((function(e){n.attributes.hasOwnProperty(e)&&(n.attributes[e]=n.attributes[e].toString(16))}));const e=/^X-([A-Z]+-)+[A-Z]+$/;for(const t in n.attributes){if(!e.test(t))continue;const r=/[0-9A-Fa-f]{6}/g.test(n.attributes[t]),i=/^\d+(\.\d+)?$/.test(n.attributes[t]);n.attributes[t]=r?n.attributes[t].toString(16):i?parseFloat(n.attributes[t]):String(n.attributes[t])}this.trigger("data",n)}else this.trigger("data",{type:"tag",data:e.slice(4)})}}}else this.trigger("data",{type:"comment",text:e.slice(1)})}))}addParser({expression:e,customType:t,dataParser:n,segment:r}){"function"!=typeof n&&(n=e=>e),this.customParsers.push((i=>{if(e.exec(i))return this.trigger("data",{type:"custom",data:n(i),customType:t,segment:r}),!0}))}addTagMapper({expression:e,map:t}){this.tagMappers.push((n=>e.test(n)?t(n):n))}}const O=function(e){const t={};return Object.keys(e).forEach((function(n){var r;t[(r=n,r.toLowerCase().replace(/-(\w)/g,(e=>e[1].toUpperCase())))]=e[n]})),t},C=function(e){const{serverControl:t,targetDuration:n,partTargetDuration:r}=e;if(!t)return;const i="#EXT-X-SERVER-CONTROL",o="holdBack",a="partHoldBack",s=n&&3*n,u=r&&2*r;n&&!t.hasOwnProperty(o)&&(t[o]=s,this.trigger("info",{message:`${i} defaulting HOLD-BACK to targetDuration * 3 (${s}).`})),s&&t[o]<s&&(this.trigger("warn",{message:`${i} clamping HOLD-BACK (${t[o]}) to targetDuration * 3 (${s})`}),t[o]=s),r&&!t.hasOwnProperty(a)&&(t[a]=3*r,this.trigger("info",{message:`${i} defaulting PART-HOLD-BACK to partTargetDuration * 3 (${t[a]}).`})),r&&t[a]<u&&(this.trigger("warn",{message:`${i} clamping PART-HOLD-BACK (${t[a]}) to partTargetDuration * 2 (${u}).`}),t[a]=u)};class L extends _{constructor(){super(),this.lineStream=new T,this.parseStream=new E,this.lineStream.pipe(this.parseStream);const e=this,t=[];let n,r,i={},o=!1;const a=function(){},s={AUDIO:{},VIDEO:{},"CLOSED-CAPTIONS":{},SUBTITLES:{}};let u=0;this.manifest={allowCache:!0,discontinuityStarts:[],segments:[]};let c=0,l=0;const f={};this.on("end",(()=>{i.uri||!i.parts&&!i.preloadHints||(!i.map&&n&&(i.map=n),!i.key&&r&&(i.key=r),i.timeline||"number"!=typeof u||(i.timeline=u),this.manifest.preloadSegment=i)})),this.parseStream.on("data",(function(d){let p,h;({tag(){({version(){d.version&&(this.manifest.version=d.version)},"allow-cache"(){this.manifest.allowCache=d.allowed,"allowed"in d||(this.trigger("info",{message:"defaulting allowCache to YES"}),this.manifest.allowCache=!0)},byterange(){const e={};"length"in d&&(i.byterange=e,e.length=d.length,"offset"in d||(d.offset=c)),"offset"in d&&(i.byterange=e,e.offset=d.offset),c=e.offset+e.length},endlist(){this.manifest.endList=!0},inf(){"mediaSequence"in this.manifest||(this.manifest.mediaSequence=0,this.trigger("info",{message:"defaulting media sequence to zero"})),"discontinuitySequence"in this.manifest||(this.manifest.discontinuitySequence=0,this.trigger("info",{message:"defaulting discontinuity sequence to zero"})),d.duration>0&&(i.duration=d.duration),0===d.duration&&(i.duration=.01,this.trigger("info",{message:"updating zero segment duration to a small value"})),this.manifest.segments=t},key(){if(d.attributes)if("NONE"!==d.attributes.METHOD)if(d.attributes.URI){if("com.apple.streamingkeydelivery"===d.attributes.KEYFORMAT)return this.manifest.contentProtection=this.manifest.contentProtection||{},void(this.manifest.contentProtection["com.apple.fps.1_0"]={attributes:d.attributes});if("com.microsoft.playready"===d.attributes.KEYFORMAT)return this.manifest.contentProtection=this.manifest.contentProtection||{},void(this.manifest.contentProtection["com.microsoft.playready"]={uri:d.attributes.URI});if("urn:uuid:edef8ba9-79d6-4ace-a3c8-27dcd51d21ed"===d.attributes.KEYFORMAT){return-1===["SAMPLE-AES","SAMPLE-AES-CTR","SAMPLE-AES-CENC"].indexOf(d.attributes.METHOD)?void this.trigger("warn",{message:"invalid key method provided for Widevine"}):("SAMPLE-AES-CENC"===d.attributes.METHOD&&this.trigger("warn",{message:"SAMPLE-AES-CENC is deprecated, please use SAMPLE-AES-CTR instead"}),"data:text/plain;base64,"!==d.attributes.URI.substring(0,23)?void this.trigger("warn",{message:"invalid key URI provided for Widevine"}):d.attributes.KEYID&&"0x"===d.attributes.KEYID.substring(0,2)?(this.manifest.contentProtection=this.manifest.contentProtection||{},void(this.manifest.contentProtection["com.widevine.alpha"]={attributes:{schemeIdUri:d.attributes.KEYFORMAT,keyId:d.attributes.KEYID.substring(2)},pssh:w(d.attributes.URI.split(",")[1])})):void this.trigger("warn",{message:"invalid key ID provided for Widevine"}))}d.attributes.METHOD||this.trigger("warn",{message:"defaulting key method to AES-128"}),r={method:d.attributes.METHOD||"AES-128",uri:d.attributes.URI},void 0!==d.attributes.IV&&(r.iv=d.attributes.IV)}else this.trigger("warn",{message:"ignoring key declaration without URI"});else r=null;else this.trigger("warn",{message:"ignoring key declaration without attribute list"})},"media-sequence"(){isFinite(d.number)?this.manifest.mediaSequence=d.number:this.trigger("warn",{message:"ignoring invalid media sequence: "+d.number})},"discontinuity-sequence"(){isFinite(d.number)?(this.manifest.discontinuitySequence=d.number,u=d.number):this.trigger("warn",{message:"ignoring invalid discontinuity sequence: "+d.number})},"playlist-type"(){/VOD|EVENT/.test(d.playlistType)?this.manifest.playlistType=d.playlistType:this.trigger("warn",{message:"ignoring unknown playlist type: "+d.playlist})},map(){n={},d.uri&&(n.uri=d.uri),d.byterange&&(n.byterange=d.byterange),r&&(n.key=r)},"stream-inf"(){this.manifest.playlists=t,this.manifest.mediaGroups=this.manifest.mediaGroups||s,d.attributes?(i.attributes||(i.attributes={}),(0,b.Z)(i.attributes,d.attributes)):this.trigger("warn",{message:"ignoring empty stream-inf attributes"})},media(){if(this.manifest.mediaGroups=this.manifest.mediaGroups||s,!(d.attributes&&d.attributes.TYPE&&d.attributes["GROUP-ID"]&&d.attributes.NAME))return void this.trigger("warn",{message:"ignoring incomplete or missing media group"});const e=this.manifest.mediaGroups[d.attributes.TYPE];e[d.attributes["GROUP-ID"]]=e[d.attributes["GROUP-ID"]]||{},p=e[d.attributes["GROUP-ID"]],h={default:/yes/i.test(d.attributes.DEFAULT)},h.default?h.autoselect=!0:h.autoselect=/yes/i.test(d.attributes.AUTOSELECT),d.attributes.LANGUAGE&&(h.language=d.attributes.LANGUAGE),d.attributes.URI&&(h.uri=d.attributes.URI),d.attributes["INSTREAM-ID"]&&(h.instreamId=d.attributes["INSTREAM-ID"]),d.attributes.CHARACTERISTICS&&(h.characteristics=d.attributes.CHARACTERISTICS),d.attributes.FORCED&&(h.forced=/yes/i.test(d.attributes.FORCED)),p[d.attributes.NAME]=h},discontinuity(){u+=1,i.discontinuity=!0,this.manifest.discontinuityStarts.push(t.length)},"program-date-time"(){void 0===this.manifest.dateTimeString&&(this.manifest.dateTimeString=d.dateTimeString,this.manifest.dateTimeObject=d.dateTimeObject),i.dateTimeString=d.dateTimeString,i.dateTimeObject=d.dateTimeObject},targetduration(){!isFinite(d.duration)||d.duration<0?this.trigger("warn",{message:"ignoring invalid target duration: "+d.duration}):(this.manifest.targetDuration=d.duration,C.call(this,this.manifest))},start(){d.attributes&&!isNaN(d.attributes["TIME-OFFSET"])?this.manifest.start={timeOffset:d.attributes["TIME-OFFSET"],precise:d.attributes.PRECISE}:this.trigger("warn",{message:"ignoring start declaration without appropriate attribute list"})},"cue-out"(){i.cueOut=d.data},"cue-out-cont"(){i.cueOutCont=d.data},"cue-in"(){i.cueIn=d.data},skip(){this.manifest.skip=O(d.attributes),this.warnOnMissingAttributes_("#EXT-X-SKIP",d.attributes,["SKIPPED-SEGMENTS"])},part(){o=!0;const e=this.manifest.segments.length,t=O(d.attributes);i.parts=i.parts||[],i.parts.push(t),t.byterange&&(t.byterange.hasOwnProperty("offset")||(t.byterange.offset=l),l=t.byterange.offset+t.byterange.length);const n=i.parts.length-1;this.warnOnMissingAttributes_(`#EXT-X-PART #${n} for segment #${e}`,d.attributes,["URI","DURATION"]),this.manifest.renditionReports&&this.manifest.renditionReports.forEach(((e,t)=>{e.hasOwnProperty("lastPart")||this.trigger("warn",{message:`#EXT-X-RENDITION-REPORT #${t} lacks required attribute(s): LAST-PART`})}))},"server-control"(){const e=this.manifest.serverControl=O(d.attributes);e.hasOwnProperty("canBlockReload")||(e.canBlockReload=!1,this.trigger("info",{message:"#EXT-X-SERVER-CONTROL defaulting CAN-BLOCK-RELOAD to false"})),C.call(this,this.manifest),e.canSkipDateranges&&!e.hasOwnProperty("canSkipUntil")&&this.trigger("warn",{message:"#EXT-X-SERVER-CONTROL lacks required attribute CAN-SKIP-UNTIL which is required when CAN-SKIP-DATERANGES is set"})},"preload-hint"(){const e=this.manifest.segments.length,t=O(d.attributes),n=t.type&&"PART"===t.type;i.preloadHints=i.preloadHints||[],i.preloadHints.push(t),t.byterange&&(t.byterange.hasOwnProperty("offset")||(t.byterange.offset=n?l:0,n&&(l=t.byterange.offset+t.byterange.length)));const r=i.preloadHints.length-1;if(this.warnOnMissingAttributes_(`#EXT-X-PRELOAD-HINT #${r} for segment #${e}`,d.attributes,["TYPE","URI"]),t.type)for(let n=0;n<i.preloadHints.length-1;n++){const o=i.preloadHints[n];o.type&&(o.type===t.type&&this.trigger("warn",{message:`#EXT-X-PRELOAD-HINT #${r} for segment #${e} has the same TYPE ${t.type} as preload hint #${n}`}))}},"rendition-report"(){const e=O(d.attributes);this.manifest.renditionReports=this.manifest.renditionReports||[],this.manifest.renditionReports.push(e);const t=this.manifest.renditionReports.length-1,n=["LAST-MSN","URI"];o&&n.push("LAST-PART"),this.warnOnMissingAttributes_(`#EXT-X-RENDITION-REPORT #${t}`,d.attributes,n)},"part-inf"(){this.manifest.partInf=O(d.attributes),this.warnOnMissingAttributes_("#EXT-X-PART-INF",d.attributes,["PART-TARGET"]),this.manifest.partInf.partTarget&&(this.manifest.partTargetDuration=this.manifest.partInf.partTarget),C.call(this,this.manifest)},daterange(){this.manifest.daterange=this.manifest.daterange||[],this.manifest.daterange.push(O(d.attributes));const e=this.manifest.daterange.length-1;this.warnOnMissingAttributes_(`#EXT-X-DATERANGE #${e}`,d.attributes,["ID","START-DATE"]);const t=this.manifest.daterange[e];t.endDate&&t.startDate&&new Date(t.endDate)<new Date(t.startDate)&&this.trigger("warn",{message:"EXT-X-DATERANGE END-DATE must be equal to or later than the value of the START-DATE"}),t.duration&&t.duration<0&&this.trigger("warn",{message:"EXT-X-DATERANGE DURATION must not be negative"}),t.plannedDuration&&t.plannedDuration<0&&this.trigger("warn",{message:"EXT-X-DATERANGE PLANNED-DURATION must not be negative"});const n=!!t.endOnNext;if(n&&!t.class&&this.trigger("warn",{message:"EXT-X-DATERANGE with an END-ON-NEXT=YES attribute must have a CLASS attribute"}),n&&(t.duration||t.endDate)&&this.trigger("warn",{message:"EXT-X-DATERANGE with an END-ON-NEXT=YES attribute must not contain DURATION or END-DATE attributes"}),t.duration&&t.endDate){const n=t.startDate,r=n.setSeconds(n.getSeconds()+t.duration);this.manifest.daterange[e].endDate=new Date(r)}if(t&&!this.manifest.dateTimeString&&this.trigger("warn",{message:"A playlist with EXT-X-DATERANGE tag must contain atleast one EXT-X-PROGRAM-DATE-TIME tag"}),f[t.id]){for(const e in f[t.id])if(f[t.id][e]!==t[e]){this.trigger("warn",{message:"EXT-X-DATERANGE tags with the same ID in a playlist must have the same attributes and same attribute values"});break}}else f[t.id]=t}}[d.tagType]||a).call(e)},uri(){i.uri=d.uri,t.push(i),this.manifest.targetDuration&&!("duration"in i)&&(this.trigger("warn",{message:"defaulting segment duration to the target duration"}),i.duration=this.manifest.targetDuration),r&&(i.key=r),i.timeline=u,n&&(i.map=n),l=0,i={}},comment(){},custom(){d.segment?(i.custom=i.custom||{},i.custom[d.customType]=d.data):(this.manifest.custom=this.manifest.custom||{},this.manifest.custom[d.customType]=d.data)}})[d.type].call(e)}))}warnOnMissingAttributes_(e,t,n){const r=[];n.forEach((function(e){t.hasOwnProperty(e)||r.push(e)})),r.length&&this.trigger("warn",{message:`${e} lacks required attribute(s): ${r.join(", ")}`})}push(e){this.lineStream.push(e)}end(){this.lineStream.push("\n"),this.trigger("end")}addParser(e){this.parseStream.addParser(e)}addTagMapper(e){this.parseStream.addTagMapper(e)}}var A,I,P={mp4:/^(av0?1|avc0?[1234]|vp0?9|flac|opus|mp3|mp4a|mp4v|stpp.ttml.im1t)/,webm:/^(vp0?[89]|av0?1|opus|vorbis)/,ogg:/^(vp0?[89]|theora|flac|opus|vorbis)/,video:/^(av0?1|avc0?[1234]|vp0?[89]|hvc1|hev1|theora|mp4v)/,audio:/^(mp4a|flac|vorbis|opus|ac-[34]|ec-3|alac|mp3|speex|aac)/,text:/^(stpp.ttml.im1t)/,muxerVideo:/^(avc0?1)/,muxerAudio:/^(mp4a)/,muxerText:/a^/},M=["video","audio","text"],R=["Video","Audio","Text"],j=function(e){return e?e.replace(/avc1\.(\d+)\.(\d+)/i,(function(e,t,n){return"avc1."+("00"+Number(t).toString(16)).slice(-2)+"00"+("00"+Number(n).toString(16)).slice(-2)})):e},D=function(e){void 0===e&&(e="");var t=e.split(","),n=[];return t.forEach((function(e){var t;e=e.trim(),M.forEach((function(r){var i=P[r].exec(e.toLowerCase());if(i&&!(i.length<=1)){t=r;var o=e.substring(0,i[1].length),a=e.replace(o,"");n.push({type:o,details:a,mediaType:r})}})),t||n.push({type:e,details:"",mediaType:"unknown"})})),n},N=function(e){return void 0===e&&(e=""),P.audio.test(e.trim().toLowerCase())},B=function(e){if(e&&"string"==typeof e){var t,n=e.toLowerCase().split(",").map((function(e){return j(e.trim())})),r="video";1===n.length&&N(n[0])?r="audio":1===n.length&&(void 0===(t=n[0])&&(t=""),P.text.test(t.trim().toLowerCase()))&&(r="application");var i="mp4";return n.every((function(e){return P.mp4.test(e)}))?i="mp4":n.every((function(e){return P.webm.test(e)}))?i="webm":n.every((function(e){return P.ogg.test(e)}))&&(i="ogg"),r+"/"+i+';codecs="'+e+'"'}},U=function(e){return void 0===e&&(e=""),i().MediaSource&&i().MediaSource.isTypeSupported&&i().MediaSource.isTypeSupported(B(e))||!1},F=function(e){return void 0===e&&(e=""),e.toLowerCase().split(",").every((function(e){e=e.trim();for(var t=0;t<R.length;t++){if(P["muxer"+R[t]].test(e))return!0}return!1}))},z="mp4a.40.2",H=/^(audio|video|application)\/(x-|vnd\.apple\.)?mpegurl/i,Z=/^application\/dash\+xml/i,q=function(e){return H.test(e)?"hls":Z.test(e)?"dash":"application/vnd.videojs.vhs+json"===e?"vhs-json":null},V=function(e){return"function"===ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer instanceof ArrayBuffer},W=function(e){return e instanceof Uint8Array?e:(Array.isArray(e)||V(e)||e instanceof ArrayBuffer||(e="number"!=typeof e||"number"==typeof e&&e!=e?0:[e]),new Uint8Array(e&&e.buffer||e,e&&e.byteOffset||0,e&&e.byteLength||0))},G=i().BigInt||Number,$=[G("0x1"),G("0x100"),G("0x10000"),G("0x1000000"),G("0x100000000"),G("0x10000000000"),G("0x1000000000000"),G("0x100000000000000"),G("0x10000000000000000")],Y=(A=new Uint16Array([65484]),255===(I=new Uint8Array(A.buffer,A.byteOffset,A.byteLength))[0]||I[0],function(e,t){var n=void 0===t?{}:t,r=n.signed,i=void 0!==r&&r,o=n.le,a=void 0!==o&&o;e=W(e);var s=a?"reduce":"reduceRight",u=(e[s]?e[s]:Array.prototype[s]).call(e,(function(t,n,r){var i=a?r:Math.abs(r+1-e.length);return t+G(n)*$[i]}),G(0));if(i){var c=$[e.length]/G(2)-G(1);(u=G(u))>c&&(u-=c,u-=c,u-=G(2))}return Number(u)}),K=function(e,t){var n=(void 0===t?{}:t).le,r=void 0!==n&&n;("bigint"!=typeof e&&"number"!=typeof e||"number"==typeof e&&e!=e)&&(e=0),e=G(e);for(var i,o=(i=e,Math.ceil(function(e){return e.toString(2).length}(i)/8)),a=new Uint8Array(new ArrayBuffer(o)),s=0;s<o;s++){var u=r?s:Math.abs(s+1-a.length);a[u]=Number(e/$[s]&G(255)),e<0&&(a[u]=Math.abs(~a[u]),a[u]-=0===s?1:2)}return a},X=function(e,t){if("string"!=typeof e&&e&&"function"==typeof e.toString&&(e=e.toString()),"string"!=typeof e)return new Uint8Array;t||(e=unescape(encodeURIComponent(e)));for(var n=new Uint8Array(e.length),r=0;r<e.length;r++)n[r]=e.charCodeAt(r);return n},Q=function(e,t,n){var r=void 0===n?{}:n,i=r.offset,o=void 0===i?0:i,a=r.mask,s=void 0===a?[]:a;e=W(e);var u=(t=W(t)).every?t.every:Array.prototype.every;return t.length&&e.length-o>=t.length&&u.call(t,(function(t,n){return t===(s[n]?s[n]&e[o+n]:e[o+n])}))},J="http://example.com",ee=function(e,t){if(/^[a-z]+:/i.test(t))return t;/^data:/.test(e)&&(e=i().location&&i().location.href||"");var n="function"==typeof i().URL,r=/^\/\//.test(e),o=!i().location&&!/\/\//i.test(e);if(n?e=new(i().URL)(e,i().location||J):/\/\//i.test(e)||(e=m().buildAbsoluteURL(i().location&&i().location.href||"",e)),n){var a=new URL(t,e);return o?a.href.slice(J.length):r?a.href.slice(a.protocol.length):a.href}return m().buildAbsoluteURL(e,t)},te=n(3969);const ne=e=>!!e&&"object"==typeof e,re=(...e)=>e.reduce(((e,t)=>("object"!=typeof t||Object.keys(t).forEach((n=>{Array.isArray(e[n])&&Array.isArray(t[n])?e[n]=e[n].concat(t[n]):ne(e[n])&&ne(t[n])?e[n]=re(e[n],t[n]):e[n]=t[n]})),e)),{}),ie=e=>Object.keys(e).map((t=>e[t])),oe=e=>e.reduce(((e,t)=>e.concat(t)),[]),ae=e=>{if(!e.length)return[];const t=[];for(let n=0;n<e.length;n++)t.push(e[n]);return t};var se="INVALID_NUMBER_OF_PERIOD",ue="DASH_EMPTY_MANIFEST",ce="DASH_INVALID_XML",le="NO_BASE_URL",fe="SEGMENT_TIME_UNSPECIFIED",de="UNSUPPORTED_UTC_TIMING_SCHEME";const pe=({baseUrl:e="",source:t="",range:n="",indexRange:r=""})=>{const o={uri:t,resolvedUri:ee(e||"",t)};if(n||r){const e=(n||r).split("-");let t,a=i().BigInt?i().BigInt(e[0]):parseInt(e[0],10),s=i().BigInt?i().BigInt(e[1]):parseInt(e[1],10);a<Number.MAX_SAFE_INTEGER&&"bigint"==typeof a&&(a=Number(a)),s<Number.MAX_SAFE_INTEGER&&"bigint"==typeof s&&(s=Number(s)),t="bigint"==typeof s||"bigint"==typeof a?i().BigInt(s)-i().BigInt(a)+i().BigInt(1):s-a+1,"bigint"==typeof t&&t<Number.MAX_SAFE_INTEGER&&(t=Number(t)),o.byterange={length:t,offset:a}}return o},he=e=>(e&&"number"!=typeof e&&(e=parseInt(e,10)),isNaN(e)?null:e),ge={static(e){const{duration:t,timescale:n=1,sourceDuration:r,periodDuration:i}=e,o=he(e.endNumber),a=t/n;return"number"==typeof o?{start:0,end:o}:"number"==typeof i?{start:0,end:i/a}:{start:0,end:r/a}},dynamic(e){const{NOW:t,clientOffset:n,availabilityStartTime:r,timescale:i=1,duration:o,periodStart:a=0,minimumUpdatePeriod:s=0,timeShiftBufferDepth:u=1/0}=e,c=he(e.endNumber),l=(t+n)/1e3,f=r+a,d=l+s-f,p=Math.ceil(d*i/o),h=Math.floor((l-f-u)*i/o),g=Math.floor((l-f)*i/o);return{start:Math.max(0,h),end:"number"==typeof c?c:Math.min(p,g)}}},me=e=>{const{type:t,duration:n,timescale:r=1,periodDuration:i,sourceDuration:o}=e,{start:a,end:s}=ge[t](e),u=((e,t)=>{const n=[];for(let r=e;r<t;r++)n.push(r);return n})(a,s).map((e=>t=>{const{duration:n,timescale:r=1,periodStart:i,startNumber:o=1}=e;return{number:o+t,duration:n/r,timeline:i,time:t*n}})(e));if("static"===t){const e=u.length-1,t="number"==typeof i?i:o;u[e].duration=t-n/r*e}return u},ye=e=>{const{baseUrl:t,initialization:n={},sourceDuration:r,indexRange:i="",periodStart:o,presentationTime:a,number:s=0,duration:u}=e;if(!t)throw new Error(le);const c=pe({baseUrl:t,source:n.sourceURL,range:n.range}),l=pe({baseUrl:t,source:t,indexRange:i});if(l.map=c,u){const t=me(e);t.length&&(l.duration=t[0].duration,l.timeline=t[0].timeline)}else r&&(l.duration=r,l.timeline=o);return l.presentationTime=a||o,l.number=s,[l]},ve=(e,t,n)=>{const r=e.sidx.map?e.sidx.map:null,o=e.sidx.duration,a=e.timeline||0,s=e.sidx.byterange,u=s.offset+s.length,c=t.timescale,l=t.references.filter((e=>1!==e.referenceType)),f=[],d=e.endList?"static":"dynamic",p=e.sidx.timeline;let h,g=p,m=e.mediaSequence||0;h="bigint"==typeof t.firstOffset?i().BigInt(u)+t.firstOffset:u+t.firstOffset;for(let e=0;e<l.length;e++){const s=t.references[e],u=s.referencedSize,l=s.subsegmentDuration;let y;y="bigint"==typeof h?h+i().BigInt(u)-i().BigInt(1):h+u-1;const v=ye({baseUrl:n,timescale:c,timeline:a,periodStart:p,presentationTime:g,number:m,duration:l,sourceDuration:o,indexRange:`${h}-${y}`,type:d})[0];r&&(v.map=r),f.push(v),h+="bigint"==typeof h?i().BigInt(u):u,g+=l/c,m++}return e.segments=f,e},be=["AUDIO","SUBTITLES"],_e=e=>{return(t=e,n=({timeline:e})=>e,ie(t.reduce(((e,t)=>(t.forEach((t=>{e[n(t)]=t})),e)),{}))).sort(((e,t)=>e.timeline>t.timeline?1:-1));var t,n},we=e=>{let t=[];var n,r;return n=e,r=(e,n,r,i)=>{t=t.concat(e.playlists||[])},be.forEach((function(e){for(var t in n.mediaGroups[e])for(var i in n.mediaGroups[e][t]){var o=n.mediaGroups[e][t][i];r(o,e,t,i)}})),t},Te=({playlist:e,mediaSequence:t})=>{e.mediaSequence=t,e.segments.forEach(((t,n)=>{t.number=e.mediaSequence+n}))},xe=({oldManifest:e,newManifest:t})=>{const n=e.playlists.concat(we(e)),r=t.playlists.concat(we(t));return t.timelineStarts=_e([e.timelineStarts,t.timelineStarts]),(({oldPlaylists:e,newPlaylists:t,timelineStarts:n})=>{t.forEach((t=>{t.discontinuitySequence=n.findIndex((function({timeline:e}){return e===t.timeline}));const r=((e,t)=>{for(let n=0;n<e.length;n++)if(e[n].attributes.NAME===t)return e[n];return null})(e,t.attributes.NAME);if(!r)return;if(t.sidx)return;const i=t.segments[0],o=r.segments.findIndex((function(e){return Math.abs(e.presentationTime-i.presentationTime)<.016666666666666666}));if(-1===o)return Te({playlist:t,mediaSequence:r.mediaSequence+r.segments.length}),t.segments[0].discontinuity=!0,t.discontinuityStarts.unshift(0),void((!r.segments.length&&t.timeline>r.timeline||r.segments.length&&t.timeline>r.segments[r.segments.length-1].timeline)&&t.discontinuitySequence--);r.segments[o].discontinuity&&!i.discontinuity&&(i.discontinuity=!0,t.discontinuityStarts.unshift(0),t.discontinuitySequence--),Te({playlist:t,mediaSequence:r.segments[o].number})}))})({oldPlaylists:n,newPlaylists:r,timelineStarts:t.timelineStarts}),t},Se=e=>e&&e.uri+"-"+(e=>{let t;return t="bigint"==typeof e.offset||"bigint"==typeof e.length?i().BigInt(e.offset)+i().BigInt(e.length)-i().BigInt(1):e.offset+e.length-1,`${e.offset}-${t}`})(e.byterange),ke=e=>ie(e.reduce(((e,t)=>{const n=t.attributes.id+(t.attributes.lang||"");return e[n]?(t.segments&&(t.segments[0]&&(t.segments[0].discontinuity=!0),e[n].segments.push(...t.segments)),t.attributes.contentProtection&&(e[n].attributes.contentProtection=t.attributes.contentProtection)):(e[n]=t,e[n].attributes.timelineStarts=[]),e[n].attributes.timelineStarts.push({start:t.attributes.periodStart,timeline:t.attributes.periodStart}),e}),{})).map((e=>{var t,n;return e.discontinuityStarts=(t=e.segments||[],n="discontinuity",t.reduce(((e,t,r)=>(t[n]&&e.push(r),e)),[])),e})),Ee=(e,t)=>{const n=Se(e.sidx),r=n&&t[n]&&t[n].sidx;return r&&ve(e,r,e.sidx.resolvedUri),e},Oe=(e,t={})=>{if(!Object.keys(t).length)return e;for(const n in e)e[n]=Ee(e[n],t);return e},Ce=({attributes:e,segments:t,sidx:n,discontinuityStarts:r})=>{const i={attributes:{NAME:e.id,AUDIO:"audio",SUBTITLES:"subs",RESOLUTION:{width:e.width,height:e.height},CODECS:e.codecs,BANDWIDTH:e.bandwidth,"PROGRAM-ID":1},uri:"",endList:"static"===e.type,timeline:e.periodStart,resolvedUri:"",targetDuration:e.duration,discontinuityStarts:r,timelineStarts:e.timelineStarts,segments:t};return e.frameRate&&(i.attributes["FRAME-RATE"]=e.frameRate),e.contentProtection&&(i.contentProtection=e.contentProtection),n&&(i.sidx=n),i},Le=({attributes:e})=>"video/mp4"===e.mimeType||"video/webm"===e.mimeType||"video"===e.contentType,Ae=({attributes:e})=>"audio/mp4"===e.mimeType||"audio/webm"===e.mimeType||"audio"===e.contentType,Ie=({attributes:e})=>"text/vtt"===e.mimeType||"text"===e.contentType,Pe=e=>e?Object.keys(e).reduce(((t,n)=>{const r=e[n];return t.concat(r.playlists)}),[]):[],Me=({dashPlaylists:e,locations:t,sidxMapping:n={},previousManifest:r,eventStream:i})=>{if(!e.length)return{};const{sourceDuration:o,type:a,suggestedPresentationDelay:s,minimumUpdatePeriod:u}=e[0].attributes,c=ke(e.filter(Le)).map(Ce),l=ke(e.filter(Ae)),f=ke(e.filter(Ie)),d=e.map((e=>e.attributes.captionServices)).filter(Boolean),p={allowCache:!0,discontinuityStarts:[],segments:[],endList:!0,mediaGroups:{AUDIO:{},VIDEO:{},"CLOSED-CAPTIONS":{},SUBTITLES:{}},uri:"",duration:o,playlists:Oe(c,n)};u>=0&&(p.minimumUpdatePeriod=1e3*u),t&&(p.locations=t),"dynamic"===a&&(p.suggestedPresentationDelay=s),i&&i.length>0&&(p.eventStream=i);const h=0===p.playlists.length,g=l.length?((e,t={},n=!1)=>{let r;const i=e.reduce(((e,i)=>{const o=i.attributes.role&&i.attributes.role.value||"",a=i.attributes.lang||"";let s=i.attributes.label||"main";if(a&&!i.attributes.label){const e=o?` (${o})`:"";s=`${i.attributes.lang}${e}`}e[s]||(e[s]={language:a,autoselect:!0,default:"main"===o,playlists:[],uri:""});const u=Ee((({attributes:e,segments:t,sidx:n,mediaSequence:r,discontinuitySequence:i,discontinuityStarts:o},a)=>{const s={attributes:{NAME:e.id,BANDWIDTH:e.bandwidth,CODECS:e.codecs,"PROGRAM-ID":1},uri:"",endList:"static"===e.type,timeline:e.periodStart,resolvedUri:"",targetDuration:e.duration,discontinuitySequence:i,discontinuityStarts:o,timelineStarts:e.timelineStarts,mediaSequence:r,segments:t};return e.contentProtection&&(s.contentProtection=e.contentProtection),n&&(s.sidx=n),a&&(s.attributes.AUDIO="audio",s.attributes.SUBTITLES="subs"),s})(i,n),t);return e[s].playlists.push(u),void 0===r&&"main"===o&&(r=i,r.default=!0),e}),{});r||(i[Object.keys(i)[0]].default=!0);return i})(l,n,h):null,m=f.length?((e,t={})=>e.reduce(((e,n)=>{const r=n.attributes.label||n.attributes.lang||"text";return e[r]||(e[r]={language:r,default:!1,autoselect:!1,playlists:[],uri:""}),e[r].playlists.push(Ee((({attributes:e,segments:t,mediaSequence:n,discontinuityStarts:r,discontinuitySequence:i})=>{void 0===t&&(t=[{uri:e.baseUrl,timeline:e.periodStart,resolvedUri:e.baseUrl||"",duration:e.sourceDuration,number:0}],e.duration=e.sourceDuration);const o={NAME:e.id,BANDWIDTH:e.bandwidth,"PROGRAM-ID":1};return e.codecs&&(o.CODECS=e.codecs),{attributes:o,uri:"",endList:"static"===e.type,timeline:e.periodStart,resolvedUri:e.baseUrl||"",targetDuration:e.duration,timelineStarts:e.timelineStarts,discontinuityStarts:r,discontinuitySequence:i,mediaSequence:n,segments:t}})(n),t)),e}),{}))(f,n):null,y=c.concat(Pe(g),Pe(m)),v=y.map((({timelineStarts:e})=>e));var b,_;return p.timelineStarts=_e(v),b=y,_=p.timelineStarts,b.forEach((e=>{e.mediaSequence=0,e.discontinuitySequence=_.findIndex((function({timeline:t}){return t===e.timeline})),e.segments&&e.segments.forEach(((e,t)=>{e.number=t}))})),g&&(p.mediaGroups.AUDIO.audio=g),m&&(p.mediaGroups.SUBTITLES.subs=m),d.length&&(p.mediaGroups["CLOSED-CAPTIONS"].cc=d.reduce(((e,t)=>t?(t.forEach((t=>{const{channel:n,language:r}=t;e[r]={autoselect:!1,default:!1,instreamId:n,language:r},t.hasOwnProperty("aspectRatio")&&(e[r].aspectRatio=t.aspectRatio),t.hasOwnProperty("easyReader")&&(e[r].easyReader=t.easyReader),t.hasOwnProperty("3D")&&(e[r]["3D"]=t["3D"])})),e):e),{})),r?xe({oldManifest:r,newManifest:p}):p},Re=(e,t,n)=>{const{NOW:r,clientOffset:i,availabilityStartTime:o,timescale:a=1,periodStart:s=0,minimumUpdatePeriod:u=0}=e,c=(r+i)/1e3+u-(o+s);return Math.ceil((c*a-t)/n)},je=(e,t)=>{const{type:n,minimumUpdatePeriod:r=0,media:i="",sourceDuration:o,timescale:a=1,startNumber:s=1,periodStart:u}=e,c=[];let l=-1;for(let f=0;f<t.length;f++){const d=t[f],p=d.d,h=d.r||0,g=d.t||0;let m;if(l<0&&(l=g),g&&g>l&&(l=g),h<0){const s=f+1;m=s===t.length?"dynamic"===n&&r>0&&i.indexOf("$Number$")>0?Re(e,l,p):(o*a-l)/p:(t[s].t-l)/p}else m=h+1;const y=s+c.length+m;let v=s+c.length;for(;v<y;)c.push({number:v,duration:p/a,time:l,timeline:u}),l+=p,v++}return c},De=/\$([A-z]*)(?:(%0)([0-9]+)d)?\$/g,Ne=(e,t)=>e.replace(De,(e=>(t,n,r,i)=>{if("$$"===t)return"$";if(void 0===e[n])return t;const o=""+e[n];return"RepresentationID"===n?o:(i=r?parseInt(i,10):1,o.length>=i?o:`${new Array(i-o.length+1).join("0")}${o}`)})(t)),Be=(e,t)=>{const n={RepresentationID:e.id,Bandwidth:e.bandwidth||0},{initialization:r={sourceURL:"",range:""}}=e,i=pe({baseUrl:e.baseUrl,source:Ne(r.sourceURL,n),range:r.range}),o=((e,t)=>e.duration||t?e.duration?me(e):je(e,t):[{number:e.startNumber||1,duration:e.sourceDuration,time:0,timeline:e.periodStart}])(e,t);return o.map((t=>{n.Number=t.number,n.Time=t.time;const r=Ne(e.media||"",n),o=e.timescale||1,a=e.presentationTimeOffset||0,s=e.periodStart+(t.time-a)/o;return{uri:r,timeline:t.timeline,duration:t.duration,resolvedUri:ee(e.baseUrl||"",r),map:i,number:t.number,presentationTime:s}}))},Ue=(e,t)=>{const{duration:n,segmentUrls:r=[],periodStart:i}=e;if(!n&&!t||n&&t)throw new Error(fe);const o=r.map((t=>((e,t)=>{const{baseUrl:n,initialization:r={}}=e,i=pe({baseUrl:n,source:r.sourceURL,range:r.range}),o=pe({baseUrl:n,source:t.media,range:t.mediaRange});return o.map=i,o})(e,t)));let a;n&&(a=me(e)),t&&(a=je(e,t));return a.map(((t,n)=>{if(o[n]){const r=o[n],a=e.timescale||1,s=e.presentationTimeOffset||0;return r.timeline=t.timeline,r.duration=t.duration,r.number=t.number,r.presentationTime=i+(t.time-s)/a,r}})).filter((e=>e))},Fe=({attributes:e,segmentInfo:t})=>{let n,r;t.template?(r=Be,n=re(e,t.template)):t.base?(r=ye,n=re(e,t.base)):t.list&&(r=Ue,n=re(e,t.list));const i={attributes:e};if(!r)return i;const o=r(n,t.segmentTimeline);if(n.duration){const{duration:e,timescale:t=1}=n;n.duration=e/t}else o.length?n.duration=o.reduce(((e,t)=>Math.max(e,Math.ceil(t.duration))),0):n.duration=0;return i.attributes=n,i.segments=o,t.base&&n.indexRange&&(i.sidx=o[0],i.segments=[]),i},ze=(e,t)=>ae(e.childNodes).filter((({tagName:e})=>e===t)),He=e=>e.textContent.trim(),Ze=e=>{const t=/P(?:(\d*)Y)?(?:(\d*)M)?(?:(\d*)D)?(?:T(?:(\d*)H)?(?:(\d*)M)?(?:([\d.]*)S)?)?/.exec(e);if(!t)return 0;const[n,r,i,o,a,s]=t.slice(1);return 31536e3*parseFloat(n||0)+2592e3*parseFloat(r||0)+86400*parseFloat(i||0)+3600*parseFloat(o||0)+60*parseFloat(a||0)+parseFloat(s||0)},qe={mediaPresentationDuration:e=>Ze(e),availabilityStartTime(e){return/^\d+-\d+-\d+T\d+:\d+:\d+(\.\d+)?$/.test(t=e)&&(t+="Z"),Date.parse(t)/1e3;var t},minimumUpdatePeriod:e=>Ze(e),suggestedPresentationDelay:e=>Ze(e),type:e=>e,timeShiftBufferDepth:e=>Ze(e),start:e=>Ze(e),width:e=>parseInt(e,10),height:e=>parseInt(e,10),bandwidth:e=>parseInt(e,10),frameRate:e=>(e=>parseFloat(e.split("/").reduce(((e,t)=>e/t))))(e),startNumber:e=>parseInt(e,10),timescale:e=>parseInt(e,10),presentationTimeOffset:e=>parseInt(e,10),duration(e){const t=parseInt(e,10);return isNaN(t)?Ze(e):t},d:e=>parseInt(e,10),t:e=>parseInt(e,10),r:e=>parseInt(e,10),presentationTime:e=>parseInt(e,10),DEFAULT:e=>e},Ve=e=>e&&e.attributes?ae(e.attributes).reduce(((e,t)=>{const n=qe[t.name]||qe.DEFAULT;return e[t.name]=n(t.value),e}),{}):{},We={"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"},Ge=(e,t)=>t.length?oe(e.map((function(e){return t.map((function(t){return ee(e,He(t))}))}))):e,$e=e=>{const t=ze(e,"SegmentTemplate")[0],n=ze(e,"SegmentList")[0],r=n&&ze(n,"SegmentURL").map((e=>re({tag:"SegmentURL"},Ve(e)))),i=ze(e,"SegmentBase")[0],o=n||t,a=o&&ze(o,"SegmentTimeline")[0],s=n||i||t,u=s&&ze(s,"Initialization")[0],c=t&&Ve(t);c&&u?c.initialization=u&&Ve(u):c&&c.initialization&&(c.initialization={sourceURL:c.initialization});const l={template:c,segmentTimeline:a&&ze(a,"S").map((e=>Ve(e))),list:n&&re(Ve(n),{segmentUrls:r,initialization:Ve(u)}),base:i&&re(Ve(i),{initialization:Ve(u)})};return Object.keys(l).forEach((e=>{l[e]||delete l[e]})),l},Ye=e=>oe(ze(e.node,"EventStream").map((t=>{const n=Ve(t),r=n.schemeIdUri;return ze(t,"Event").map((t=>{const i=Ve(t),o=i.presentationTime||0,a=n.timescale||1,s=i.duration||0,u=o/a+e.attributes.start;return{schemeIdUri:r,value:n.value,id:i.id,start:u,end:u+s/a,messageData:He(t)||i.messageData,contentEncoding:n.contentEncoding,presentationTimeOffset:n.presentationTimeOffset||0}}))}))),Ke=(e,t,n)=>r=>{const i=Ve(r),o=Ge(t,ze(r,"BaseURL")),a=ze(r,"Role")[0],s={role:Ve(a)};let u=re(e,i,s);const c=ze(r,"Accessibility")[0],l=(e=>{if("urn:scte:dash:cc:cea-608:2015"===e.schemeIdUri)return("string"!=typeof e.value?[]:e.value.split(";")).map((e=>{let t,n;return n=e,/^CC\d=/.test(e)?[t,n]=e.split("="):/^CC\d$/.test(e)&&(t=e),{channel:t,language:n}}));if("urn:scte:dash:cc:cea-708:2015"===e.schemeIdUri)return("string"!=typeof e.value?[]:e.value.split(";")).map((e=>{const t={channel:void 0,language:void 0,aspectRatio:1,easyReader:0,"3D":0};if(/=/.test(e)){const[n,r=""]=e.split("=");t.channel=n,t.language=e,r.split(",").forEach((e=>{const[n,r]=e.split(":");"lang"===n?t.language=r:"er"===n?t.easyReader=Number(r):"war"===n?t.aspectRatio=Number(r):"3D"===n&&(t["3D"]=Number(r))}))}else t.language=e;return t.channel&&(t.channel="SERVICE"+t.channel),t}))})(Ve(c));l&&(u=re(u,{captionServices:l}));const f=ze(r,"Label")[0];if(f&&f.childNodes.length){const e=f.childNodes[0].nodeValue.trim();u=re(u,{label:e})}const d=ze(r,"ContentProtection").reduce(((e,t)=>{const n=Ve(t);n.schemeIdUri&&(n.schemeIdUri=n.schemeIdUri.toLowerCase());const r=We[n.schemeIdUri];if(r){e[r]={attributes:n};const i=ze(t,"cenc:pssh")[0];if(i){const t=He(i);e[r].pssh=t&&w(t)}}return e}),{});Object.keys(d).length&&(u=re(u,{contentProtection:d}));const p=$e(r),h=ze(r,"Representation"),g=re(n,p);return oe(h.map(((e,t,n)=>r=>{const i=ze(r,"BaseURL"),o=Ge(t,i),a=re(e,Ve(r)),s=$e(r);return o.map((e=>({segmentInfo:re(n,s),attributes:re(a,{baseUrl:e})})))})(u,o,g)))},Xe=(e,t)=>(n,r)=>{const i=Ge(t,ze(n.node,"BaseURL")),o=re(e,{periodStart:n.attributes.start});"number"==typeof n.attributes.duration&&(o.periodDuration=n.attributes.duration);const a=ze(n.node,"AdaptationSet"),s=$e(n.node);return oe(a.map(Ke(o,i,s)))},Qe=e=>{if(""===e)throw new Error(ue);const t=new te.DOMParser;let n,r;try{n=t.parseFromString(e,"application/xml"),r=n&&"MPD"===n.documentElement.tagName?n.documentElement:null}catch(e){}if(!r||r&&r.getElementsByTagName("parsererror").length>0)throw new Error(ce);return r},Je=(e,t={})=>{const n=((e,t={})=>{const{manifestUri:n="",NOW:r=Date.now(),clientOffset:i=0}=t,o=ze(e,"Period");if(!o.length)throw new Error(se);const a=ze(e,"Location"),s=Ve(e),u=Ge([n],ze(e,"BaseURL"));s.type=s.type||"static",s.sourceDuration=s.mediaPresentationDuration||0,s.NOW=r,s.clientOffset=i,a.length&&(s.locations=a.map(He));const c=[];return o.forEach(((e,t)=>{const n=Ve(e),r=c[t-1];n.start=(({attributes:e,priorPeriodAttributes:t,mpdType:n})=>"number"==typeof e.start?e.start:t&&"number"==typeof t.start&&"number"==typeof t.duration?t.start+t.duration:t||"static"!==n?null:0)({attributes:n,priorPeriodAttributes:r?r.attributes:null,mpdType:s.type}),c.push({node:e,attributes:n})})),{locations:s.locations,representationInfo:oe(c.map(Xe(s,u))),eventStream:oe(c.map(Ye))}})(Qe(e),t),r=n.representationInfo.map(Fe);return Me({dashPlaylists:r,locations:n.locations,sidxMapping:t.sidxMapping,previousManifest:t.previousManifest,eventStream:n.eventStream})},et=e=>(e=>{const t=ze(e,"UTCTiming")[0];if(!t)return null;const n=Ve(t);switch(n.schemeIdUri){case"urn:mpeg:dash:utc:http-head:2014":case"urn:mpeg:dash:utc:http-head:2012":n.method="HEAD";break;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":n.method="GET";break;case"urn:mpeg:dash:utc:direct:2014":case"urn:mpeg:dash:utc:direct:2012":n.method="DIRECT",n.value=Date.parse(n.value);break;default:throw new Error(de)}return n})(Qe(e));var tt,nt=n(84221),rt=n.n(nt),it=W([73,68,51]),ot=function e(t,n){return void 0===n&&(n=0),(t=W(t)).length-n<10||!Q(t,it,{offset:n})?n:(n+=function(e,t){void 0===t&&(t=0);var n=(e=W(e))[t+5],r=e[t+6]<<21|e[t+7]<<14|e[t+8]<<7|e[t+9];return(16&n)>>4?r+20:r+10}(t,n),e(t,n))},at=(new Uint8Array([79,112,117,115,72,101,97,100]),function(e){return"string"==typeof e?X(e):e}),st=function(e){e=W(e);for(var t=[],n=0;e.length>n;){var r=e[n],i=0,o=0,a=e[++o];for(o++;128&a;)i=(127&a)<<7,a=e[o],o++;i+=127&a;for(var s=0;s<tt.length;s++){var u=tt[s],c=u.id,l=u.parser;if(r===c){t.push(l(e.subarray(o,o+i)));break}}n+=i+o}return t};tt=[{id:3,parser:function(e){var t={tag:3,id:e[0]<<8|e[1],flags:e[2],size:3,dependsOnEsId:0,ocrEsId:0,descriptors:[],url:""};if(128&t.flags&&(t.dependsOnEsId=e[t.size]<<8|e[t.size+1],t.size+=2),64&t.flags){var n=e[t.size];t.url=function(e){if(!e)return"";e=Array.prototype.slice.call(e);var t=String.fromCharCode.apply(null,W(e));try{return decodeURIComponent(escape(t))}catch(e){}return t}(e.subarray(t.size+1,t.size+1+n)),t.size+=n}return 32&t.flags&&(t.ocrEsId=e[t.size]<<8|e[t.size+1],t.size+=2),t.descriptors=st(e.subarray(t.size))||[],t}},{id:4,parser:function(e){return{tag:4,oti:e[0],streamType:e[1],bufferSize:e[2]<<16|e[3]<<8|e[4],maxBitrate:e[5]<<24|e[6]<<16|e[7]<<8|e[8],avgBitrate:e[9]<<24|e[10]<<16|e[11]<<8|e[12],descriptors:st(e.subarray(13))}}},{id:5,parser:function(e){return{tag:5,bytes:e}}},{id:6,parser:function(e){return{tag:6,bytes:e}}}];var ut=function e(t,n,r){void 0===r&&(r=!1),n=function(e){return Array.isArray(e)?e.map((function(e){return at(e)})):[at(e)]}(n),t=W(t);var i=[];if(!n.length)return i;for(var o=0;o<t.length;){var a=(t[o]<<24|t[o+1]<<16|t[o+2]<<8|t[o+3])>>>0,s=t.subarray(o+4,o+8);if(0===a)break;var u=o+a;if(u>t.length){if(r)break;u=t.length}var c=t.subarray(o+8,u);Q(s,n[0])&&(1===n.length?i.push(c):i.push.apply(i,e(c,n.slice(1),r))),o=u}return i},ct={EBML:W([26,69,223,163]),DocType:W([66,130]),Segment:W([24,83,128,103]),SegmentInfo:W([21,73,169,102]),Tracks:W([22,84,174,107]),Track:W([174]),TrackNumber:W([215]),DefaultDuration:W([35,227,131]),TrackEntry:W([174]),TrackType:W([131]),FlagDefault:W([136]),CodecID:W([134]),CodecPrivate:W([99,162]),VideoTrack:W([224]),AudioTrack:W([225]),Cluster:W([31,67,182,117]),Timestamp:W([231]),TimestampScale:W([42,215,177]),BlockGroup:W([160]),BlockDuration:W([155]),Block:W([161]),SimpleBlock:W([163])},lt=[128,64,32,16,8,4,2,1],ft=function(e,t,n,r){void 0===n&&(n=!0),void 0===r&&(r=!1);var i=function(e){for(var t=1,n=0;n<lt.length&&!(e&lt[n]);n++)t++;return t}(e[t]),o=e.subarray(t,t+i);return n&&((o=Array.prototype.slice.call(e,t,t+i))[0]^=lt[i-1]),{length:i,value:Y(o,{signed:r}),bytes:o}},dt=function e(t){return"string"==typeof t?t.match(/.{1,2}/g).map((function(t){return e(t)})):"number"==typeof t?K(t):t},pt=function e(t,n,r){if(r>=n.length)return n.length;var i=ft(n,r,!1);if(Q(t.bytes,i.bytes))return r;var o=ft(n,r+i.length);return e(t,n,r+o.length+o.value+i.length)},ht=function e(t,n){n=function(e){return Array.isArray(e)?e.map((function(e){return dt(e)})):[dt(e)]}(n),t=W(t);var r=[];if(!n.length)return r;for(var i=0;i<t.length;){var o=ft(t,i,!1),a=ft(t,i+o.length),s=i+o.length+a.length;127===a.value&&(a.value=pt(o,t,s),a.value!==t.length&&(a.value-=s));var u=s+a.value>t.length?t.length:s+a.value,c=t.subarray(s,u);Q(n[0],o.bytes)&&(1===n.length?r.push(c):r=r.concat(e(c,n.slice(1)))),i+=o.length+a.length+c.length}return r},gt=W([0,0,0,1]),mt=W([0,0,1]),yt=W([0,0,3]),vt=function(e){for(var t=[],n=1;n<e.length-2;)Q(e.subarray(n,n+3),yt)&&(t.push(n+2),n++),n++;if(0===t.length)return e;var r=e.length-t.length,i=new Uint8Array(r),o=0;for(n=0;n<r;o++,n++)o===t[0]&&(o++,t.shift()),i[n]=e[o];return i},bt=function(e,t,n,r){void 0===r&&(r=1/0),e=W(e),n=[].concat(n);for(var i,o=0,a=0;o<e.length&&(a<r||i);){var s=void 0;if(Q(e.subarray(o),gt)?s=4:Q(e.subarray(o),mt)&&(s=3),s){if(a++,i)return vt(e.subarray(i,o));var u=void 0;"h264"===t?u=31&e[o+s]:"h265"===t&&(u=e[o+s]>>1&63),-1!==n.indexOf(u)&&(i=o+s),o+=s+("h264"===t?1:2)}else o++}return e.subarray(0,0)},_t={webm:W([119,101,98,109]),matroska:W([109,97,116,114,111,115,107,97]),flac:W([102,76,97,67]),ogg:W([79,103,103,83]),ac3:W([11,119]),riff:W([82,73,70,70]),avi:W([65,86,73]),wav:W([87,65,86,69]),"3gp":W([102,116,121,112,51,103]),mp4:W([102,116,121,112]),fmp4:W([115,116,121,112]),mov:W([102,116,121,112,113,116]),moov:W([109,111,111,118]),moof:W([109,111,111,102])},wt={aac:function(e){var t=ot(e);return Q(e,[255,16],{offset:t,mask:[255,22]})},mp3:function(e){var t=ot(e);return Q(e,[255,2],{offset:t,mask:[255,6]})},webm:function(e){var t=ht(e,[ct.EBML,ct.DocType])[0];return Q(t,_t.webm)},mkv:function(e){var t=ht(e,[ct.EBML,ct.DocType])[0];return Q(t,_t.matroska)},mp4:function(e){return!wt["3gp"](e)&&!wt.mov(e)&&(!(!Q(e,_t.mp4,{offset:4})&&!Q(e,_t.fmp4,{offset:4}))||(!(!Q(e,_t.moof,{offset:4})&&!Q(e,_t.moov,{offset:4}))||void 0))},mov:function(e){return Q(e,_t.mov,{offset:4})},"3gp":function(e){return Q(e,_t["3gp"],{offset:4})},ac3:function(e){var t=ot(e);return Q(e,_t.ac3,{offset:t})},ts:function(e){if(e.length<189&&e.length>=1)return 71===e[0];for(var t=0;t+188<e.length&&t<188;){if(71===e[t]&&71===e[t+188])return!0;t+=1}return!1},flac:function(e){var t=ot(e);return Q(e,_t.flac,{offset:t})},ogg:function(e){return Q(e,_t.ogg)},avi:function(e){return Q(e,_t.riff)&&Q(e,_t.avi,{offset:8})},wav:function(e){return Q(e,_t.riff)&&Q(e,_t.wav,{offset:8})},h264:function(e){return function(e,t,n){return bt(e,"h264",t,n)}(e,7,3).length},h265:function(e){return function(e,t,n){return bt(e,"h265",t,n)}(e,[32,33],3).length}},Tt=Object.keys(wt).filter((function(e){return"ts"!==e&&"h264"!==e&&"h265"!==e})).concat(["ts","h264","h265"]);Tt.forEach((function(e){var t=wt[e];wt[e]=function(e){return t(W(e))}}));var xt=wt,St=function(e){e=W(e);for(var t=0;t<Tt.length;t++){var n=Tt[t];if(xt[n](e))return n}return""},kt=n(51489),Et="8.3.0";const Ot={},Ct=function(e,t){return Ot[e]=Ot[e]||[],t&&(Ot[e]=Ot[e].concat(t)),Ot[e]},Lt=function(e,t){const n=Ct(e).indexOf(t);return!(n<=-1)&&(Ot[e]=Ot[e].slice(),Ot[e].splice(n,1),!0)},At={prefixed:!0},It=[["requestFullscreen","exitFullscreen","fullscreenElement","fullscreenEnabled","fullscreenchange","fullscreenerror","fullscreen"],["webkitRequestFullscreen","webkitExitFullscreen","webkitFullscreenElement","webkitFullscreenEnabled","webkitfullscreenchange","webkitfullscreenerror","-webkit-full-screen"],["mozRequestFullScreen","mozCancelFullScreen","mozFullScreenElement","mozFullScreenEnabled","mozfullscreenchange","mozfullscreenerror","-moz-full-screen"],["msRequestFullscreen","msExitFullscreen","msFullscreenElement","msFullscreenEnabled","MSFullscreenChange","MSFullscreenError","-ms-fullscreen"]],Pt=It[0];let Mt;for(let e=0;e<It.length;e++)if(It[e][1]in a()){Mt=It[e];break}if(Mt){for(let e=0;e<Mt.length;e++)At[Pt[e]]=Mt[e];At.prefixed=Mt[0]!==Pt[0]}let Rt=[];const jt=function e(t){let n,r="info";const o=function(...e){n("log",r,e)};return n=((e,t)=>(n,r,o)=>{const a=t.levels[r],s=new RegExp(`^(${a})$`);if("log"!==n&&o.unshift(n.toUpperCase()+":"),o.unshift(e+":"),Rt){Rt.push([].concat(o));const e=Rt.length-1e3;Rt.splice(0,e>0?e:0)}if(!i().console)return;let u=i().console[n];u||"debug"!==n||(u=i().console.info||i().console.log),u&&a&&s.test(n)&&u[Array.isArray(o)?"apply":"call"](i().console,o)})(t,o),o.createLogger=n=>e(t+": "+n),o.levels={all:"debug|log|warn|error",off:"",debug:"debug|log|warn|error",info:"log|warn|error",warn:"warn|error",error:"error",DEFAULT:r},o.level=e=>{if("string"==typeof e){if(!o.levels.hasOwnProperty(e))throw new Error(`"${e}" in not a valid log level`);r=e}return r},(o.history=()=>Rt?[].concat(Rt):[]).filter=e=>(Rt||[]).filter((t=>new RegExp(`.*${e}.*`).test(t[0]))),o.history.clear=()=>{Rt&&(Rt.length=0)},o.history.disable=()=>{null!==Rt&&(Rt.length=0,Rt=null)},o.history.enable=()=>{null===Rt&&(Rt=[])},o.error=(...e)=>n("error",r,e),o.warn=(...e)=>n("warn",r,e),o.debug=(...e)=>n("debug",r,e),o}("VIDEOJS"),Dt=jt.createLogger,Nt=Object.prototype.toString,Bt=function(e){return zt(e)?Object.keys(e):[]};function Ut(e,t){Bt(e).forEach((n=>t(e[n],n)))}function Ft(e,t,n=0){return Bt(e).reduce(((n,r)=>t(n,e[r],r)),n)}function zt(e){return!!e&&"object"==typeof e}function Ht(e){return zt(e)&&"[object Object]"===Nt.call(e)&&e.constructor===Object}function Zt(...e){const t={};return e.forEach((e=>{e&&Ut(e,((e,n)=>{Ht(e)?(Ht(t[n])||(t[n]={}),t[n]=Zt(t[n],e)):t[n]=e}))})),t}function qt(e,t,n,r=!0){const i=n=>Object.defineProperty(e,t,{value:n,enumerable:!0,writable:!0}),o={configurable:!0,enumerable:!0,get(){const e=n();return i(e),e}};return r&&(o.set=i),Object.defineProperty(e,t,o)}var Vt=Object.freeze({__proto__:null,each:Ut,reduce:Ft,isObject:zt,isPlain:Ht,merge:Zt,defineLazyProperty:qt});let Wt,Gt=!1,$t=null,Yt=!1,Kt=!1,Xt=!1,Qt=!1,Jt=!1,en=null,tn=null,nn=null,rn=!1,on=!1,an=!1,sn=!1;const un=Boolean(hn()&&("ontouchstart"in i()||i().navigator.maxTouchPoints||i().DocumentTouch&&i().document instanceof i().DocumentTouch)),cn=i().navigator&&i().navigator.userAgentData;if(cn&&(Yt="Android"===cn.platform,Xt=Boolean(cn.brands.find((e=>"Microsoft Edge"===e.brand))),Qt=Boolean(cn.brands.find((e=>"Chromium"===e.brand))),Jt=!Xt&&Qt,en=tn=(cn.brands.find((e=>"Chromium"===e.brand))||{}).version||null,on="Windows"===cn.platform),!Qt){const e=i().navigator&&i().navigator.userAgent||"";Gt=/iPod/i.test(e),$t=function(){const t=e.match(/OS (\d+)_/i);return t&&t[1]?t[1]:null}(),Yt=/Android/i.test(e),Wt=function(){const t=e.match(/Android (\d+)(?:\.(\d+))?(?:\.(\d+))*/i);if(!t)return null;const n=t[1]&&parseFloat(t[1]),r=t[2]&&parseFloat(t[2]);return n&&r?parseFloat(t[1]+"."+t[2]):n||null}(),Kt=/Firefox/i.test(e),Xt=/Edg/i.test(e),Qt=/Chrome/i.test(e)||/CriOS/i.test(e),Jt=!Xt&&Qt,en=tn=function(){const t=e.match(/(Chrome|CriOS)\/(\d+)/);return t&&t[2]?parseFloat(t[2]):null}(),nn=function(){const t=/MSIE\s(\d+)\.\d/.exec(e);let n=t&&parseFloat(t[1]);return!n&&/Trident\/7.0/i.test(e)&&/rv:11.0/.test(e)&&(n=11),n}(),rn=/Safari/i.test(e)&&!Jt&&!Yt&&!Xt,on=/Windows/i.test(e),an=/iPad/i.test(e)||rn&&un&&!/iPhone/i.test(e),sn=/iPhone/i.test(e)&&!an}const ln=sn||an||Gt,fn=(rn||ln)&&!Jt;var dn=Object.freeze({__proto__:null,get IS_IPOD(){return Gt},get IOS_VERSION(){return $t},get IS_ANDROID(){return Yt},get ANDROID_VERSION(){return Wt},get IS_FIREFOX(){return Kt},get IS_EDGE(){return Xt},get IS_CHROMIUM(){return Qt},get IS_CHROME(){return Jt},get CHROMIUM_VERSION(){return en},get CHROME_VERSION(){return tn},get IE_VERSION(){return nn},get IS_SAFARI(){return rn},get IS_WINDOWS(){return on},get IS_IPAD(){return an},get IS_IPHONE(){return sn},TOUCH_ENABLED:un,IS_IOS:ln,IS_ANY_SAFARI:fn});function pn(e){return"string"==typeof e&&Boolean(e.trim())}function hn(){return a()===i().document}function gn(e){return zt(e)&&1===e.nodeType}function mn(){try{return i().parent!==i().self}catch(e){return!0}}function yn(e){return function(t,n){if(!pn(t))return a()[e](null);pn(n)&&(n=a().querySelector(n));const r=gn(n)?n:a();return r[e]&&r[e](t)}}function vn(e="div",t={},n={},r){const i=a().createElement(e);return Object.getOwnPropertyNames(t).forEach((function(e){const n=t[e];"textContent"===e?bn(i,n):i[e]===n&&"tabIndex"!==e||(i[e]=n)})),Object.getOwnPropertyNames(n).forEach((function(e){i.setAttribute(e,n[e])})),r&&Bn(i,r),i}function bn(e,t){return void 0===e.textContent?e.innerText=t:e.textContent=t,e}function _n(e,t){t.firstChild?t.insertBefore(e,t.firstChild):t.appendChild(e)}function wn(e,t){return function(e){if(e.indexOf(" ")>=0)throw new Error("class has illegal whitespace characters")}(t),e.classList.contains(t)}function Tn(e,...t){return e.classList.add(...t.reduce(((e,t)=>e.concat(t.split(/\s+/))),[])),e}function xn(e,...t){return e?(e.classList.remove(...t.reduce(((e,t)=>e.concat(t.split(/\s+/))),[])),e):(jt.warn("removeClass was called with an element that doesn't exist"),null)}function Sn(e,t,n){return"function"==typeof n&&(n=n(e,t)),"boolean"!=typeof n&&(n=void 0),t.split(/\s+/).forEach((t=>e.classList.toggle(t,n))),e}function kn(e,t){Object.getOwnPropertyNames(t).forEach((function(n){const r=t[n];null==r||!1===r?e.removeAttribute(n):e.setAttribute(n,!0===r?"":r)}))}function En(e){const t={},n=",autoplay,controls,playsinline,loop,muted,default,defaultMuted,";if(e&&e.attributes&&e.attributes.length>0){const r=e.attributes;for(let i=r.length-1;i>=0;i--){const o=r[i].name;let a=r[i].value;"boolean"!=typeof e[o]&&-1===n.indexOf(","+o+",")||(a=null!==a),t[o]=a}}return t}function On(e,t){return e.getAttribute(t)}function Cn(e,t,n){e.setAttribute(t,n)}function Ln(e,t){e.removeAttribute(t)}function An(){a().body.focus(),a().onselectstart=function(){return!1}}function In(){a().onselectstart=function(){return!0}}function Pn(e){if(e&&e.getBoundingClientRect&&e.parentNode){const t=e.getBoundingClientRect(),n={};return["bottom","height","left","right","top","width"].forEach((e=>{void 0!==t[e]&&(n[e]=t[e])})),n.height||(n.height=parseFloat(Zn(e,"height"))),n.width||(n.width=parseFloat(Zn(e,"width"))),n}}function Mn(e){if(!e||e&&!e.offsetParent)return{left:0,top:0,width:0,height:0};const t=e.offsetWidth,n=e.offsetHeight;let r=0,i=0;for(;e.offsetParent&&e!==a()[At.fullscreenElement];)r+=e.offsetLeft,i+=e.offsetTop,e=e.offsetParent;return{left:r,top:i,width:t,height:n}}function Rn(e,t){const n={x:0,y:0};if(ln){let t=e;for(;t&&"html"!==t.nodeName.toLowerCase();){const e=Zn(t,"transform");if(/^matrix/.test(e)){const t=e.slice(7,-1).split(/,\s/).map(Number);n.x+=t[4],n.y+=t[5]}else if(/^matrix3d/.test(e)){const t=e.slice(9,-1).split(/,\s/).map(Number);n.x+=t[12],n.y+=t[13]}t=t.parentNode}}const r={},i=Mn(t.target),o=Mn(e),a=o.width,s=o.height;let u=t.offsetY-(o.top-i.top),c=t.offsetX-(o.left-i.left);return t.changedTouches&&(c=t.changedTouches[0].pageX-o.left,u=t.changedTouches[0].pageY+o.top,ln&&(c-=n.x,u-=n.y)),r.y=1-Math.max(0,Math.min(1,u/s)),r.x=Math.max(0,Math.min(1,c/a)),r}function jn(e){return zt(e)&&3===e.nodeType}function Dn(e){for(;e.firstChild;)e.removeChild(e.firstChild);return e}function Nn(e){return"function"==typeof e&&(e=e()),(Array.isArray(e)?e:[e]).map((e=>("function"==typeof e&&(e=e()),gn(e)||jn(e)?e:"string"==typeof e&&/\S/.test(e)?a().createTextNode(e):void 0))).filter((e=>e))}function Bn(e,t){return Nn(t).forEach((t=>e.appendChild(t))),e}function Un(e,t){return Bn(Dn(e),t)}function Fn(e){return void 0===e.button&&void 0===e.buttons||(0===e.button&&void 0===e.buttons||("mouseup"===e.type&&0===e.button&&0===e.buttons||0===e.button&&1===e.buttons))}const zn=yn("querySelector"),Hn=yn("querySelectorAll");function Zn(e,t){if(!e||!t)return"";if("function"==typeof i().getComputedStyle){let n;try{n=i().getComputedStyle(e)}catch(e){return""}return n?n.getPropertyValue(t)||n[t]:""}return""}var qn=Object.freeze({__proto__:null,isReal:hn,isEl:gn,isInFrame:mn,createEl:vn,textContent:bn,prependTo:_n,hasClass:wn,addClass:Tn,removeClass:xn,toggleClass:Sn,setAttributes:kn,getAttributes:En,getAttribute:On,setAttribute:Cn,removeAttribute:Ln,blockTextSelection:An,unblockTextSelection:In,getBoundingClientRect:Pn,findPosition:Mn,getPointerPosition:Rn,isTextNode:jn,emptyEl:Dn,normalizeContent:Nn,appendContent:Bn,insertContent:Un,isSingleLeftClick:Fn,$:zn,$$:Hn,computedStyle:Zn});let Vn,Wn=!1;const Gn=function(){if(!1===Vn.options.autoSetup)return;const e=Array.prototype.slice.call(a().getElementsByTagName("video")),t=Array.prototype.slice.call(a().getElementsByTagName("audio")),n=Array.prototype.slice.call(a().getElementsByTagName("video-js")),r=e.concat(t,n);if(r&&r.length>0)for(let e=0,t=r.length;e<t;e++){const t=r[e];if(!t||!t.getAttribute){$n(1);break}if(void 0===t.player){null!==t.getAttribute("data-setup")&&Vn(t)}}else Wn||$n(1)};function $n(e,t){hn()&&(t&&(Vn=t),i().setTimeout(Gn,e))}function Yn(){Wn=!0,i().removeEventListener("load",Yn)}hn()&&("complete"===a().readyState?Yn():i().addEventListener("load",Yn));const Kn=function(e){const t=a().createElement("style");return t.className=e,t},Xn=function(e,t){e.styleSheet?e.styleSheet.cssText=t:e.textContent=t};var Qn=new WeakMap;let Jn,er=3;function tr(){return er++}function nr(e,t){if(!Qn.has(e))return;const n=Qn.get(e);0===n.handlers[t].length&&(delete n.handlers[t],e.removeEventListener?e.removeEventListener(t,n.dispatcher,!1):e.detachEvent&&e.detachEvent("on"+t,n.dispatcher)),Object.getOwnPropertyNames(n.handlers).length<=0&&(delete n.handlers,delete n.dispatcher,delete n.disabled),0===Object.getOwnPropertyNames(n).length&&Qn.delete(e)}function rr(e,t,n,r){n.forEach((function(n){e(t,n,r)}))}function ir(e){if(e.fixed_)return e;function t(){return!0}function n(){return!1}if(!e||!e.isPropagationStopped||!e.isImmediatePropagationStopped){const r=e||i().event;e={};for(const t in r)"layerX"!==t&&"layerY"!==t&&"keyLocation"!==t&&"webkitMovementX"!==t&&"webkitMovementY"!==t&&"path"!==t&&("returnValue"===t&&r.preventDefault||(e[t]=r[t]));if(e.target||(e.target=e.srcElement||a()),e.relatedTarget||(e.relatedTarget=e.fromElement===e.target?e.toElement:e.fromElement),e.preventDefault=function(){r.preventDefault&&r.preventDefault(),e.returnValue=!1,r.returnValue=!1,e.defaultPrevented=!0},e.defaultPrevented=!1,e.stopPropagation=function(){r.stopPropagation&&r.stopPropagation(),e.cancelBubble=!0,r.cancelBubble=!0,e.isPropagationStopped=t},e.isPropagationStopped=n,e.stopImmediatePropagation=function(){r.stopImmediatePropagation&&r.stopImmediatePropagation(),e.isImmediatePropagationStopped=t,e.stopPropagation()},e.isImmediatePropagationStopped=n,null!==e.clientX&&void 0!==e.clientX){const t=a().documentElement,n=a().body;e.pageX=e.clientX+(t&&t.scrollLeft||n&&n.scrollLeft||0)-(t&&t.clientLeft||n&&n.clientLeft||0),e.pageY=e.clientY+(t&&t.scrollTop||n&&n.scrollTop||0)-(t&&t.clientTop||n&&n.clientTop||0)}e.which=e.charCode||e.keyCode,null!==e.button&&void 0!==e.button&&(e.button=1&e.button?0:4&e.button?1:2&e.button?2:0)}return e.fixed_=!0,e}const or=["touchstart","touchmove"];function ar(e,t,n){if(Array.isArray(t))return rr(ar,e,t,n);Qn.has(e)||Qn.set(e,{});const r=Qn.get(e);if(r.handlers||(r.handlers={}),r.handlers[t]||(r.handlers[t]=[]),n.guid||(n.guid=tr()),r.handlers[t].push(n),r.dispatcher||(r.disabled=!1,r.dispatcher=function(t,n){if(r.disabled)return;t=ir(t);const i=r.handlers[t.type];if(i){const r=i.slice(0);for(let i=0,o=r.length;i<o&&!t.isImmediatePropagationStopped();i++)try{r[i].call(e,t,n)}catch(e){jt.error(e)}}}),1===r.handlers[t].length)if(e.addEventListener){let n=!1;(function(){if("boolean"!=typeof Jn){Jn=!1;try{const e=Object.defineProperty({},"passive",{get(){Jn=!0}});i().addEventListener("test",null,e),i().removeEventListener("test",null,e)}catch(e){}}return Jn})()&&or.indexOf(t)>-1&&(n={passive:!0}),e.addEventListener(t,r.dispatcher,n)}else e.attachEvent&&e.attachEvent("on"+t,r.dispatcher)}function sr(e,t,n){if(!Qn.has(e))return;const r=Qn.get(e);if(!r.handlers)return;if(Array.isArray(t))return rr(sr,e,t,n);const i=function(e,t){r.handlers[t]=[],nr(e,t)};if(void 0===t){for(const t in r.handlers)Object.prototype.hasOwnProperty.call(r.handlers||{},t)&&i(e,t);return}const o=r.handlers[t];if(o)if(n){if(n.guid)for(let e=0;e<o.length;e++)o[e].guid===n.guid&&o.splice(e--,1);nr(e,t)}else i(e,t)}function ur(e,t,n){const r=Qn.has(e)?Qn.get(e):{},i=e.parentNode||e.ownerDocument;if("string"==typeof t?t={type:t,target:e}:t.target||(t.target=e),t=ir(t),r.dispatcher&&r.dispatcher.call(e,t,n),i&&!t.isPropagationStopped()&&!0===t.bubbles)ur.call(null,i,t,n);else if(!i&&!t.defaultPrevented&&t.target&&t.target[t.type]){Qn.has(t.target)||Qn.set(t.target,{});const e=Qn.get(t.target);t.target[t.type]&&(e.disabled=!0,"function"==typeof t.target[t.type]&&t.target[t.type](),e.disabled=!1)}return!t.defaultPrevented}function cr(e,t,n){if(Array.isArray(t))return rr(cr,e,t,n);const r=function(){sr(e,t,r),n.apply(this,arguments)};r.guid=n.guid=n.guid||tr(),ar(e,t,r)}function lr(e,t,n){const r=function(){sr(e,t,r),n.apply(this,arguments)};r.guid=n.guid=n.guid||tr(),ar(e,t,r)}var fr=Object.freeze({__proto__:null,fixEvent:ir,on:ar,off:sr,trigger:ur,one:cr,any:lr});const dr=30,pr=function(e,t,n){t.guid||(t.guid=tr());const r=t.bind(e);return r.guid=n?n+"_"+t.guid:t.guid,r},hr=function(e,t){let n=i().performance.now();return function(...r){const o=i().performance.now();o-n>=t&&(e(...r),n=o)}},gr=function(e,t,n,r=i()){let o;const a=function(){const i=this,a=arguments;let s=function(){o=null,s=null,n||e.apply(i,a)};!o&&n&&e.apply(i,a),r.clearTimeout(o),o=r.setTimeout(s,t)};return a.cancel=()=>{r.clearTimeout(o),o=null},a};var mr=Object.freeze({__proto__:null,UPDATE_REFRESH_INTERVAL:dr,bind_:pr,throttle:hr,debounce:gr});let yr;class vr{on(e,t){const n=this.addEventListener;this.addEventListener=()=>{},ar(this,e,t),this.addEventListener=n}off(e,t){sr(this,e,t)}one(e,t){const n=this.addEventListener;this.addEventListener=()=>{},cr(this,e,t),this.addEventListener=n}any(e,t){const n=this.addEventListener;this.addEventListener=()=>{},lr(this,e,t),this.addEventListener=n}trigger(e){const t=e.type||e;"string"==typeof e&&(e={type:t}),e=ir(e),this.allowedEvents_[t]&&this["on"+t]&&this["on"+t](e),ur(this,e)}queueTrigger(e){yr||(yr=new Map);const t=e.type||e;let n=yr.get(this);n||(n=new Map,yr.set(this,n));const r=n.get(t);n.delete(t),i().clearTimeout(r);const o=i().setTimeout((()=>{n.delete(t),0===n.size&&(n=null,yr.delete(this)),this.trigger(e)}),0);n.set(t,o)}}vr.prototype.allowedEvents_={},vr.prototype.addEventListener=vr.prototype.on,vr.prototype.removeEventListener=vr.prototype.off,vr.prototype.dispatchEvent=vr.prototype.trigger;const br=e=>"function"==typeof e.name?e.name():"string"==typeof e.name?e.name:e.name_?e.name_:e.constructor&&e.constructor.name?e.constructor.name:typeof e,_r=e=>e instanceof vr||!!e.eventBusEl_&&["on","one","off","trigger"].every((t=>"function"==typeof e[t])),wr=e=>"string"==typeof e&&/\S/.test(e)||Array.isArray(e)&&!!e.length,Tr=(e,t,n)=>{if(!e||!e.nodeName&&!_r(e))throw new Error(`Invalid target for ${br(t)}#${n}; must be a DOM node or evented object.`)},xr=(e,t,n)=>{if(!wr(e))throw new Error(`Invalid event type for ${br(t)}#${n}; must be a non-empty string or array.`)},Sr=(e,t,n)=>{if("function"!=typeof e)throw new Error(`Invalid listener for ${br(t)}#${n}; must be a function.`)},kr=(e,t,n)=>{const r=t.length<3||t[0]===e||t[0]===e.eventBusEl_;let i,o,a;return r?(i=e.eventBusEl_,t.length>=3&&t.shift(),[o,a]=t):[i,o,a]=t,Tr(i,e,n),xr(o,e,n),Sr(a,e,n),a=pr(e,a),{isTargetingSelf:r,target:i,type:o,listener:a}},Er=(e,t,n,r)=>{Tr(e,e,t),e.nodeName?fr[t](e,n,r):e[t](n,r)},Or={on(...e){const{isTargetingSelf:t,target:n,type:r,listener:i}=kr(this,e,"on");if(Er(n,"on",r,i),!t){const e=()=>this.off(n,r,i);e.guid=i.guid;const t=()=>this.off("dispose",e);t.guid=i.guid,Er(this,"on","dispose",e),Er(n,"on","dispose",t)}},one(...e){const{isTargetingSelf:t,target:n,type:r,listener:i}=kr(this,e,"one");if(t)Er(n,"one",r,i);else{const e=(...t)=>{this.off(n,r,e),i.apply(null,t)};e.guid=i.guid,Er(n,"one",r,e)}},any(...e){const{isTargetingSelf:t,target:n,type:r,listener:i}=kr(this,e,"any");if(t)Er(n,"any",r,i);else{const e=(...t)=>{this.off(n,r,e),i.apply(null,t)};e.guid=i.guid,Er(n,"any",r,e)}},off(e,t,n){if(!e||wr(e))sr(this.eventBusEl_,e,t);else{const r=e,i=t;Tr(r,this,"off"),xr(i,this,"off"),Sr(n,this,"off"),n=pr(this,n),this.off("dispose",n),r.nodeName?(sr(r,i,n),sr(r,"dispose",n)):_r(r)&&(r.off(i,n),r.off("dispose",n))}},trigger(e,t){Tr(this.eventBusEl_,this,"trigger");const n=e&&"string"!=typeof e?e.type:e;if(!wr(n))throw new Error(`Invalid event type for ${br(this)}#trigger; must be a non-empty string or object with a type key that has a non-empty value.`);return ur(this.eventBusEl_,e,t)}};function Cr(e,t={}){const{eventBusKey:n}=t;if(n){if(!e[n].nodeName)throw new Error(`The eventBusKey "${n}" does not refer to an element.`);e.eventBusEl_=e[n]}else e.eventBusEl_=vn("span",{className:"vjs-event-bus"});return Object.assign(e,Or),e.eventedCallbacks&&e.eventedCallbacks.forEach((e=>{e()})),e.on("dispose",(()=>{e.off(),[e,e.el_,e.eventBusEl_].forEach((function(e){e&&Qn.has(e)&&Qn.delete(e)})),i().setTimeout((()=>{e.eventBusEl_=null}),0)})),e}const Lr={state:{},setState(e){let t;return"function"==typeof e&&(e=e()),Ut(e,((e,n)=>{this.state[n]!==e&&(t=t||{},t[n]={from:this.state[n],to:e}),this.state[n]=e})),t&&_r(this)&&this.trigger({changes:t,type:"statechanged"}),t}};function Ar(e,t){return Object.assign(e,Lr),e.state=Object.assign({},e.state,t),"function"==typeof e.handleStateChanged&&_r(e)&&e.on("statechanged",e.handleStateChanged),e}const Ir=function(e){return"string"!=typeof e?e:e.replace(/./,(e=>e.toLowerCase()))},Pr=function(e){return"string"!=typeof e?e:e.replace(/./,(e=>e.toUpperCase()))},Mr=function(e,t){return Pr(e)===Pr(t)};var Rr=Object.freeze({__proto__:null,toLowerCase:Ir,toTitleCase:Pr,titleCaseEquals:Mr});class jr{constructor(e,t,n){if(!e&&this.play?this.player_=e=this:this.player_=e,this.isDisposed_=!1,this.parentComponent_=null,this.options_=Zt({},this.options_),t=this.options_=Zt(this.options_,t),this.id_=t.id||t.el&&t.el.id,!this.id_){const t=e&&e.id&&e.id()||"no_player";this.id_=`${t}_component_${tr()}`}this.name_=t.name||null,t.el?this.el_=t.el:!1!==t.createEl&&(this.el_=this.createEl()),t.className&&this.el_&&t.className.split(" ").forEach((e=>this.addClass(e))),["on","off","one","any","trigger"].forEach((e=>{this[e]=void 0})),!1!==t.evented&&(Cr(this,{eventBusKey:this.el_?"el_":null}),this.handleLanguagechange=this.handleLanguagechange.bind(this),this.on(this.player_,"languagechange",this.handleLanguagechange)),Ar(this,this.constructor.defaultState),this.children_=[],this.childIndex_={},this.childNameIndex_={},this.setTimeoutIds_=new Set,this.setIntervalIds_=new Set,this.rafIds_=new Set,this.namedRafs_=new Map,this.clearingTimersOnDispose_=!1,!1!==t.initChildren&&this.initChildren(),this.ready(n),!1!==t.reportTouchActivity&&this.enableTouchActivity()}on(e,t){}off(e,t){}one(e,t){}any(e,t){}trigger(e){}dispose(e={}){if(!this.isDisposed_){if(this.readyQueue_&&(this.readyQueue_.length=0),this.trigger({type:"dispose",bubbles:!1}),this.isDisposed_=!0,this.children_)for(let e=this.children_.length-1;e>=0;e--)this.children_[e].dispose&&this.children_[e].dispose();this.children_=null,this.childIndex_=null,this.childNameIndex_=null,this.parentComponent_=null,this.el_&&(this.el_.parentNode&&(e.restoreEl?this.el_.parentNode.replaceChild(e.restoreEl,this.el_):this.el_.parentNode.removeChild(this.el_)),this.el_=null),this.player_=null}}isDisposed(){return Boolean(this.isDisposed_)}player(){return this.player_}options(e){return e?(this.options_=Zt(this.options_,e),this.options_):this.options_}el(){return this.el_}createEl(e,t,n){return vn(e,t,n)}localize(e,t,n=e){const r=this.player_.language&&this.player_.language(),i=this.player_.languages&&this.player_.languages(),o=i&&i[r],a=r&&r.split("-")[0],s=i&&i[a];let u=n;return o&&o[e]?u=o[e]:s&&s[e]&&(u=s[e]),t&&(u=u.replace(/\{(\d+)\}/g,(function(e,n){const r=t[n-1];let i=r;return void 0===r&&(i=e),i}))),u}handleLanguagechange(){}contentEl(){return this.contentEl_||this.el_}id(){return this.id_}name(){return this.name_}children(){return this.children_}getChildById(e){return this.childIndex_[e]}getChild(e){if(e)return this.childNameIndex_[e]}getDescendant(...e){e=e.reduce(((e,t)=>e.concat(t)),[]);let t=this;for(let n=0;n<e.length;n++)if(t=t.getChild(e[n]),!t||!t.getChild)return;return t}addChild(e,t={},n=this.children_.length){let r,i;if("string"==typeof e){i=Pr(e);const n=t.componentClass||i;t.name=i;const o=jr.getComponent(n);if(!o)throw new Error(`Component ${n} does not exist`);if("function"!=typeof o)return null;r=new o(this.player_||this,t)}else r=e;if(r.parentComponent_&&r.parentComponent_.removeChild(r),this.children_.splice(n,0,r),r.parentComponent_=this,"function"==typeof r.id&&(this.childIndex_[r.id()]=r),i=i||r.name&&Pr(r.name()),i&&(this.childNameIndex_[i]=r,this.childNameIndex_[Ir(i)]=r),"function"==typeof r.el&&r.el()){let e=null;this.children_[n+1]&&(this.children_[n+1].el_?e=this.children_[n+1].el_:gn(this.children_[n+1])&&(e=this.children_[n+1])),this.contentEl().insertBefore(r.el(),e)}return r}removeChild(e){if("string"==typeof e&&(e=this.getChild(e)),!e||!this.children_)return;let t=!1;for(let n=this.children_.length-1;n>=0;n--)if(this.children_[n]===e){t=!0,this.children_.splice(n,1);break}if(!t)return;e.parentComponent_=null,this.childIndex_[e.id()]=null,this.childNameIndex_[Pr(e.name())]=null,this.childNameIndex_[Ir(e.name())]=null;const n=e.el();n&&n.parentNode===this.contentEl()&&this.contentEl().removeChild(e.el())}initChildren(){const e=this.options_.children;if(e){const t=this.options_,n=e=>{const n=e.name;let r=e.opts;if(void 0!==t[n]&&(r=t[n]),!1===r)return;!0===r&&(r={}),r.playerOptions=this.options_.playerOptions;const i=this.addChild(n,r);i&&(this[n]=i)};let r;const i=jr.getComponent("Tech");r=Array.isArray(e)?e:Object.keys(e),r.concat(Object.keys(this.options_).filter((function(e){return!r.some((function(t){return"string"==typeof t?e===t:e===t.name}))}))).map((t=>{let n,r;return"string"==typeof t?(n=t,r=e[n]||this.options_[n]||{}):(n=t.name,r=t),{name:n,opts:r}})).filter((e=>{const t=jr.getComponent(e.opts.componentClass||Pr(e.name));return t&&!i.isTech(t)})).forEach(n)}}buildCSSClass(){return""}ready(e,t=!1){if(e)return this.isReady_?void(t?e.call(this):this.setTimeout(e,1)):(this.readyQueue_=this.readyQueue_||[],void this.readyQueue_.push(e))}triggerReady(){this.isReady_=!0,this.setTimeout((function(){const e=this.readyQueue_;this.readyQueue_=[],e&&e.length>0&&e.forEach((function(e){e.call(this)}),this),this.trigger("ready")}),1)}$(e,t){return zn(e,t||this.contentEl())}$$(e,t){return Hn(e,t||this.contentEl())}hasClass(e){return wn(this.el_,e)}addClass(...e){Tn(this.el_,...e)}removeClass(...e){xn(this.el_,...e)}toggleClass(e,t){Sn(this.el_,e,t)}show(){this.removeClass("vjs-hidden")}hide(){this.addClass("vjs-hidden")}lockShowing(){this.addClass("vjs-lock-showing")}unlockShowing(){this.removeClass("vjs-lock-showing")}getAttribute(e){return On(this.el_,e)}setAttribute(e,t){Cn(this.el_,e,t)}removeAttribute(e){Ln(this.el_,e)}width(e,t){return this.dimension("width",e,t)}height(e,t){return this.dimension("height",e,t)}dimensions(e,t){this.width(e,!0),this.height(t)}dimension(e,t,n){if(void 0!==t)return null!==t&&t==t||(t=0),-1!==(""+t).indexOf("%")||-1!==(""+t).indexOf("px")?this.el_.style[e]=t:this.el_.style[e]="auto"===t?"":t+"px",void(n||this.trigger("componentresize"));if(!this.el_)return 0;const r=this.el_.style[e],i=r.indexOf("px");return-1!==i?parseInt(r.slice(0,i),10):parseInt(this.el_["offset"+Pr(e)],10)}currentDimension(e){let t=0;if("width"!==e&&"height"!==e)throw new Error("currentDimension only accepts width or height value");if(t=Zn(this.el_,e),t=parseFloat(t),0===t||isNaN(t)){const n=`offset${Pr(e)}`;t=this.el_[n]}return t}currentDimensions(){return{width:this.currentDimension("width"),height:this.currentDimension("height")}}currentWidth(){return this.currentDimension("width")}currentHeight(){return this.currentDimension("height")}focus(){this.el_.focus()}blur(){this.el_.blur()}handleKeyDown(e){this.player_&&(u().isEventKey(e,"Tab")||e.stopPropagation(),this.player_.handleKeyDown(e))}handleKeyPress(e){this.handleKeyDown(e)}emitTapEvents(){let e=0,t=null;let n;this.on("touchstart",(function(r){1===r.touches.length&&(t={pageX:r.touches[0].pageX,pageY:r.touches[0].pageY},e=i().performance.now(),n=!0)})),this.on("touchmove",(function(e){if(e.touches.length>1)n=!1;else if(t){const r=e.touches[0].pageX-t.pageX,i=e.touches[0].pageY-t.pageY;Math.sqrt(r*r+i*i)>10&&(n=!1)}}));const r=function(){n=!1};this.on("touchleave",r),this.on("touchcancel",r),this.on("touchend",(function(r){if(t=null,!0===n){i().performance.now()-e<200&&(r.preventDefault(),this.trigger("tap"))}}))}enableTouchActivity(){if(!this.player()||!this.player().reportUserActivity)return;const e=pr(this.player(),this.player().reportUserActivity);let t;this.on("touchstart",(function(){e(),this.clearInterval(t),t=this.setInterval(e,250)}));const n=function(n){e(),this.clearInterval(t)};this.on("touchmove",e),this.on("touchend",n),this.on("touchcancel",n)}setTimeout(e,t){var n;return e=pr(this,e),this.clearTimersOnDispose_(),n=i().setTimeout((()=>{this.setTimeoutIds_.has(n)&&this.setTimeoutIds_.delete(n),e()}),t),this.setTimeoutIds_.add(n),n}clearTimeout(e){return this.setTimeoutIds_.has(e)&&(this.setTimeoutIds_.delete(e),i().clearTimeout(e)),e}setInterval(e,t){e=pr(this,e),this.clearTimersOnDispose_();const n=i().setInterval(e,t);return this.setIntervalIds_.add(n),n}clearInterval(e){return this.setIntervalIds_.has(e)&&(this.setIntervalIds_.delete(e),i().clearInterval(e)),e}requestAnimationFrame(e){var t;return this.clearTimersOnDispose_(),e=pr(this,e),t=i().requestAnimationFrame((()=>{this.rafIds_.has(t)&&this.rafIds_.delete(t),e()})),this.rafIds_.add(t),t}requestNamedAnimationFrame(e,t){if(this.namedRafs_.has(e))return;this.clearTimersOnDispose_(),t=pr(this,t);const n=this.requestAnimationFrame((()=>{t(),this.namedRafs_.has(e)&&this.namedRafs_.delete(e)}));return this.namedRafs_.set(e,n),e}cancelNamedAnimationFrame(e){this.namedRafs_.has(e)&&(this.cancelAnimationFrame(this.namedRafs_.get(e)),this.namedRafs_.delete(e))}cancelAnimationFrame(e){return this.rafIds_.has(e)&&(this.rafIds_.delete(e),i().cancelAnimationFrame(e)),e}clearTimersOnDispose_(){this.clearingTimersOnDispose_||(this.clearingTimersOnDispose_=!0,this.one("dispose",(()=>{[["namedRafs_","cancelNamedAnimationFrame"],["rafIds_","cancelAnimationFrame"],["setTimeoutIds_","clearTimeout"],["setIntervalIds_","clearInterval"]].forEach((([e,t])=>{this[e].forEach(((e,n)=>this[t](n)))})),this.clearingTimersOnDispose_=!1})))}static registerComponent(e,t){if("string"!=typeof e||!e)throw new Error(`Illegal component name, "${e}"; must be a non-empty string.`);const n=jr.getComponent("Tech"),r=n&&n.isTech(t),i=jr===t||jr.prototype.isPrototypeOf(t.prototype);if(r||!i){let t;throw t=r?"techs must be registered using Tech.registerTech()":"must be a Component subclass",new Error(`Illegal component, "${e}"; ${t}.`)}e=Pr(e),jr.components_||(jr.components_={});const o=jr.getComponent("Player");if("Player"===e&&o&&o.players){const e=o.players,t=Object.keys(e);if(e&&t.length>0&&t.map((t=>e[t])).every(Boolean))throw new Error("Can not register Player component after player has been created.")}return jr.components_[e]=t,jr.components_[Ir(e)]=t,t}static getComponent(e){if(e&&jr.components_)return jr.components_[e]}}function Dr(e,t,n,r){return function(e,t,n){if("number"!=typeof t||t<0||t>n)throw new Error(`Failed to execute '${e}' on 'TimeRanges': The index provided (${t}) is non-numeric or out of bounds (0-${n}).`)}(e,r,n.length-1),n[r][t]}function Nr(e){let t;return t=void 0===e||0===e.length?{length:0,start(){throw new Error("This TimeRanges object is empty")},end(){throw new Error("This TimeRanges object is empty")}}:{length:e.length,start:Dr.bind(null,"start",0,e),end:Dr.bind(null,"end",1,e)},i().Symbol&&i().Symbol.iterator&&(t[i().Symbol.iterator]=()=>(e||[]).values()),t}function Br(e,t){return Array.isArray(e)?Nr(e):void 0===e||void 0===t?Nr():Nr([[e,t]])}jr.registerComponent("Component",jr);const Ur=function(e,t){e=e<0?0:e;let n=Math.floor(e%60),r=Math.floor(e/60%60),i=Math.floor(e/3600);const o=Math.floor(t/60%60),a=Math.floor(t/3600);return(isNaN(e)||e===1/0)&&(i=r=n="-"),i=i>0||a>0?i+":":"",r=((i||o>=10)&&r<10?"0"+r:r)+":",n=n<10?"0"+n:n,i+r+n};let Fr=Ur;function zr(e){Fr=e}function Hr(){Fr=Ur}function Zr(e,t=e){return Fr(e,t)}var qr=Object.freeze({__proto__:null,createTimeRanges:Br,createTimeRange:Br,setFormatTime:zr,resetFormatTime:Hr,formatTime:Zr});function Vr(e,t){let n,r,i=0;if(!t)return 0;e&&e.length||(e=Br(0,0));for(let o=0;o<e.length;o++)n=e.start(o),r=e.end(o),r>t&&(r=t),i+=r-n;return i/t}function Wr(e){if(e instanceof Wr)return e;"number"==typeof e?this.code=e:"string"==typeof e?this.message=e:zt(e)&&("number"==typeof e.code&&(this.code=e.code),Object.assign(this,e)),this.message||(this.message=Wr.defaultMessages[this.code]||"")}Wr.prototype.code=0,Wr.prototype.message="",Wr.prototype.status=null,Wr.errorTypes=["MEDIA_ERR_CUSTOM","MEDIA_ERR_ABORTED","MEDIA_ERR_NETWORK","MEDIA_ERR_DECODE","MEDIA_ERR_SRC_NOT_SUPPORTED","MEDIA_ERR_ENCRYPTED"],Wr.defaultMessages={1:"You aborted the media playback",2:"A network error caused the media download to fail part-way.",3:"The media playback was aborted due to a corruption problem or because the media used features your browser did not support.",4:"The media could not be loaded, either because the server or network failed or because the format is not supported.",5:"The media is encrypted and we do not have the keys to decrypt it."};for(let e=0;e<Wr.errorTypes.length;e++)Wr[Wr.errorTypes[e]]=e,Wr.prototype[Wr.errorTypes[e]]=e;function Gr(e){return null!=e&&"function"==typeof e.then}function $r(e){Gr(e)&&e.then(null,(e=>{}))}const Yr=function(e){return["kind","label","language","id","inBandMetadataTrackDispatchType","mode","src"].reduce(((t,n,r)=>(e[n]&&(t[n]=e[n]),t)),{cues:e.cues&&Array.prototype.map.call(e.cues,(function(e){return{startTime:e.startTime,endTime:e.endTime,text:e.text,id:e.id}}))})};var Kr=function(e){const t=e.$$("track"),n=Array.prototype.map.call(t,(e=>e.track));return Array.prototype.map.call(t,(function(e){const t=Yr(e.track);return e.src&&(t.src=e.src),t})).concat(Array.prototype.filter.call(e.textTracks(),(function(e){return-1===n.indexOf(e)})).map(Yr))},Xr=function(e,t){return e.forEach((function(e){const n=t.addRemoteTextTrack(e).track;!e.src&&e.cues&&e.cues.forEach((e=>n.addCue(e)))})),t.textTracks()};class Qr extends jr{constructor(e,t){super(e,t),this.handleKeyDown_=e=>this.handleKeyDown(e),this.close_=e=>this.close(e),this.opened_=this.hasBeenOpened_=this.hasBeenFilled_=!1,this.closeable(!this.options_.uncloseable),this.content(this.options_.content),this.contentEl_=vn("div",{className:"vjs-modal-dialog-content"},{role:"document"}),this.descEl_=vn("p",{className:"vjs-modal-dialog-description vjs-control-text",id:this.el().getAttribute("aria-describedby")}),bn(this.descEl_,this.description()),this.el_.appendChild(this.descEl_),this.el_.appendChild(this.contentEl_)}createEl(){return super.createEl("div",{className:this.buildCSSClass(),tabIndex:-1},{"aria-describedby":`${this.id()}_description`,"aria-hidden":"true","aria-label":this.label(),role:"dialog"})}dispose(){this.contentEl_=null,this.descEl_=null,this.previouslyActiveEl_=null,super.dispose()}buildCSSClass(){return`vjs-modal-dialog vjs-hidden ${super.buildCSSClass()}`}label(){return this.localize(this.options_.label||"Modal Window")}description(){let e=this.options_.description||this.localize("This is a modal window.");return this.closeable()&&(e+=" "+this.localize("This modal can be closed by pressing the Escape key or activating the close button.")),e}open(){if(!this.opened_){const e=this.player();this.trigger("beforemodalopen"),this.opened_=!0,(this.options_.fillAlways||!this.hasBeenOpened_&&!this.hasBeenFilled_)&&this.fill(),this.wasPlaying_=!e.paused(),this.options_.pauseOnOpen&&this.wasPlaying_&&e.pause(),this.on("keydown",this.handleKeyDown_),this.hadControls_=e.controls(),e.controls(!1),this.show(),this.conditionalFocus_(),this.el().setAttribute("aria-hidden","false"),this.trigger("modalopen"),this.hasBeenOpened_=!0}}opened(e){return"boolean"==typeof e&&this[e?"open":"close"](),this.opened_}close(){if(!this.opened_)return;const e=this.player();this.trigger("beforemodalclose"),this.opened_=!1,this.wasPlaying_&&this.options_.pauseOnOpen&&e.play(),this.off("keydown",this.handleKeyDown_),this.hadControls_&&e.controls(!0),this.hide(),this.el().setAttribute("aria-hidden","true"),this.trigger("modalclose"),this.conditionalBlur_(),this.options_.temporary&&this.dispose()}closeable(e){if("boolean"==typeof e){const t=this.closeable_=!!e;let n=this.getChild("closeButton");if(t&&!n){const e=this.contentEl_;this.contentEl_=this.el_,n=this.addChild("closeButton",{controlText:"Close Modal Dialog"}),this.contentEl_=e,this.on(n,"close",this.close_)}!t&&n&&(this.off(n,"close",this.close_),this.removeChild(n),n.dispose())}return this.closeable_}fill(){this.fillWith(this.content())}fillWith(e){const t=this.contentEl(),n=t.parentNode,r=t.nextSibling;this.trigger("beforemodalfill"),this.hasBeenFilled_=!0,n.removeChild(t),this.empty(),Un(t,e),this.trigger("modalfill"),r?n.insertBefore(t,r):n.appendChild(t);const i=this.getChild("closeButton");i&&n.appendChild(i.el_)}empty(){this.trigger("beforemodalempty"),Dn(this.contentEl()),this.trigger("modalempty")}content(e){return void 0!==e&&(this.content_=e),this.content_}conditionalFocus_(){const e=a().activeElement,t=this.player_.el_;this.previouslyActiveEl_=null,(t.contains(e)||t===e)&&(this.previouslyActiveEl_=e,this.focus())}conditionalBlur_(){this.previouslyActiveEl_&&(this.previouslyActiveEl_.focus(),this.previouslyActiveEl_=null)}handleKeyDown(e){if(e.stopPropagation(),u().isEventKey(e,"Escape")&&this.closeable())return e.preventDefault(),void this.close();if(!u().isEventKey(e,"Tab"))return;const t=this.focusableEls_(),n=this.el_.querySelector(":focus");let r;for(let e=0;e<t.length;e++)if(n===t[e]){r=e;break}a().activeElement===this.el_&&(r=0),e.shiftKey&&0===r?(t[t.length-1].focus(),e.preventDefault()):e.shiftKey||r!==t.length-1||(t[0].focus(),e.preventDefault())}focusableEls_(){const e=this.el_.querySelectorAll("*");return Array.prototype.filter.call(e,(e=>(e instanceof i().HTMLAnchorElement||e instanceof i().HTMLAreaElement)&&e.hasAttribute("href")||(e instanceof i().HTMLInputElement||e instanceof i().HTMLSelectElement||e instanceof i().HTMLTextAreaElement||e instanceof i().HTMLButtonElement)&&!e.hasAttribute("disabled")||e instanceof i().HTMLIFrameElement||e instanceof i().HTMLObjectElement||e instanceof i().HTMLEmbedElement||e.hasAttribute("tabindex")&&-1!==e.getAttribute("tabindex")||e.hasAttribute("contenteditable")))}}Qr.prototype.options_={pauseOnOpen:!0,temporary:!0},jr.registerComponent("ModalDialog",Qr);class Jr extends vr{constructor(e=[]){super(),this.tracks_=[],Object.defineProperty(this,"length",{get(){return this.tracks_.length}});for(let t=0;t<e.length;t++)this.addTrack(e[t])}addTrack(e){const t=this.tracks_.length;""+t in this||Object.defineProperty(this,t,{get(){return this.tracks_[t]}}),-1===this.tracks_.indexOf(e)&&(this.tracks_.push(e),this.trigger({track:e,type:"addtrack",target:this})),e.labelchange_=()=>{this.trigger({track:e,type:"labelchange",target:this})},_r(e)&&e.addEventListener("labelchange",e.labelchange_)}removeTrack(e){let t;for(let n=0,r=this.length;n<r;n++)if(this[n]===e){t=this[n],t.off&&t.off(),this.tracks_.splice(n,1);break}t&&this.trigger({track:t,type:"removetrack",target:this})}getTrackById(e){let t=null;for(let n=0,r=this.length;n<r;n++){const r=this[n];if(r.id===e){t=r;break}}return t}}Jr.prototype.allowedEvents_={change:"change",addtrack:"addtrack",removetrack:"removetrack",labelchange:"labelchange"};for(const e in Jr.prototype.allowedEvents_)Jr.prototype["on"+e]=null;const ei=function(e,t){for(let n=0;n<e.length;n++)Object.keys(e[n]).length&&t.id!==e[n].id&&(e[n].enabled=!1)};const ti=function(e,t){for(let n=0;n<e.length;n++)Object.keys(e[n]).length&&t.id!==e[n].id&&(e[n].selected=!1)};class ni extends Jr{addTrack(e){super.addTrack(e),this.queueChange_||(this.queueChange_=()=>this.queueTrigger("change")),this.triggerSelectedlanguagechange||(this.triggerSelectedlanguagechange_=()=>this.trigger("selectedlanguagechange")),e.addEventListener("modechange",this.queueChange_);-1===["metadata","chapters"].indexOf(e.kind)&&e.addEventListener("modechange",this.triggerSelectedlanguagechange_)}removeTrack(e){super.removeTrack(e),e.removeEventListener&&(this.queueChange_&&e.removeEventListener("modechange",this.queueChange_),this.selectedlanguagechange_&&e.removeEventListener("modechange",this.triggerSelectedlanguagechange_))}}class ri{constructor(e){ri.prototype.setCues_.call(this,e),Object.defineProperty(this,"length",{get(){return this.length_}})}setCues_(e){const t=this.length||0;let n=0;const r=e.length;this.cues_=e,this.length_=e.length;const i=function(e){""+e in this||Object.defineProperty(this,""+e,{get(){return this.cues_[e]}})};if(t<r)for(n=t;n<r;n++)i.call(this,n)}getCueById(e){let t=null;for(let n=0,r=this.length;n<r;n++){const r=this[n];if(r.id===e){t=r;break}}return t}}const ii={alternative:"alternative",captions:"captions",main:"main",sign:"sign",subtitles:"subtitles",commentary:"commentary"},oi={alternative:"alternative",descriptions:"descriptions",main:"main","main-desc":"main-desc",translation:"translation",commentary:"commentary"},ai={subtitles:"subtitles",captions:"captions",descriptions:"descriptions",chapters:"chapters",metadata:"metadata"},si={disabled:"disabled",hidden:"hidden",showing:"showing"};class ui extends vr{constructor(e={}){super();const t={id:e.id||"vjs_track_"+tr(),kind:e.kind||"",language:e.language||""};let n=e.label||"";for(const e in t)Object.defineProperty(this,e,{get:()=>t[e],set(){}});Object.defineProperty(this,"label",{get:()=>n,set(e){e!==n&&(n=e,this.trigger("labelchange"))}})}}const ci=function(e){const t=["protocol","hostname","port","pathname","search","hash","host"],n=a().createElement("a");n.href=e;const r={};for(let e=0;e<t.length;e++)r[t[e]]=n[t[e]];return"http:"===r.protocol&&(r.host=r.host.replace(/:80$/,"")),"https:"===r.protocol&&(r.host=r.host.replace(/:443$/,"")),r.protocol||(r.protocol=i().location.protocol),r.host||(r.host=i().location.host),r},li=function(e){if(!e.match(/^https?:\/\//)){const t=a().createElement("a");t.href=e,e=t.href}return e},fi=function(e){if("string"==typeof e){const t=/^(\/?)([\s\S]*?)((?:\.{1,2}|[^\/]+?)(\.([^\.\/\?]+)))(?:[\/]*|[\?].*)$/.exec(e);if(t)return t.pop().toLowerCase()}return""},di=function(e,t=i().location){const n=ci(e);return(":"===n.protocol?t.protocol:n.protocol)+n.host!==t.protocol+t.host};var pi=Object.freeze({__proto__:null,parseUrl:ci,getAbsoluteURL:li,getFileExtension:fi,isCrossOrigin:di});const hi=function(e,t){const n=new(i().WebVTT.Parser)(i(),i().vttjs,i().WebVTT.StringDecoder()),r=[];n.oncue=function(e){t.addCue(e)},n.onparsingerror=function(e){r.push(e)},n.onflush=function(){t.trigger({type:"loadeddata",target:t})},n.parse(e),r.length>0&&(i().console&&i().console.groupCollapsed&&i().console.groupCollapsed(`Text Track parsing errors for ${t.src}`),r.forEach((e=>jt.error(e))),i().console&&i().console.groupEnd&&i().console.groupEnd()),n.flush()},gi=function(e,t){const n={uri:e},r=di(e);r&&(n.cors=r);const o="use-credentials"===t.tech_.crossOrigin();o&&(n.withCredentials=o),d()(n,pr(this,(function(e,n,r){if(e)return jt.error(e,n);t.loaded_=!0,"function"!=typeof i().WebVTT?t.tech_&&t.tech_.any(["vttjsloaded","vttjserror"],(e=>{if("vttjserror"!==e.type)return hi(r,t);jt.error(`vttjs failed to load, stopping trying to process ${t.src}`)})):hi(r,t)})))};class mi extends ui{constructor(e={}){if(!e.tech)throw new Error("A tech was not provided.");const t=Zt(e,{kind:ai[e.kind]||"subtitles",language:e.language||e.srclang||""});let n=si[t.mode]||"disabled";const r=t.default;"metadata"!==t.kind&&"chapters"!==t.kind||(n="hidden"),super(t),this.tech_=t.tech,this.cues_=[],this.activeCues_=[],this.preload_=!1!==this.tech_.preloadTextTracks;const i=new ri(this.cues_),o=new ri(this.activeCues_);let a=!1;this.timeupdateHandler=pr(this,(function(e={}){this.tech_.isDisposed()||(this.tech_.isReady_?(this.activeCues=this.activeCues,a&&(this.trigger("cuechange"),a=!1),"timeupdate"!==e.type&&(this.rvf_=this.tech_.requestVideoFrameCallback(this.timeupdateHandler))):"timeupdate"!==e.type&&(this.rvf_=this.tech_.requestVideoFrameCallback(this.timeupdateHandler)))}));this.tech_.one("dispose",(()=>{this.stopTracking()})),"disabled"!==n&&this.startTracking(),Object.defineProperties(this,{default:{get:()=>r,set(){}},mode:{get:()=>n,set(e){si[e]&&n!==e&&(n=e,this.preload_||"disabled"===n||0!==this.cues.length||gi(this.src,this),this.stopTracking(),"disabled"!==n&&this.startTracking(),this.trigger("modechange"))}},cues:{get(){return this.loaded_?i:null},set(){}},activeCues:{get(){if(!this.loaded_)return null;if(0===this.cues.length)return o;const e=this.tech_.currentTime(),t=[];for(let n=0,r=this.cues.length;n<r;n++){const r=this.cues[n];r.startTime<=e&&r.endTime>=e&&t.push(r)}if(a=!1,t.length!==this.activeCues_.length)a=!0;else for(let e=0;e<t.length;e++)-1===this.activeCues_.indexOf(t[e])&&(a=!0);return this.activeCues_=t,o.setCues_(this.activeCues_),o},set(){}}}),t.src?(this.src=t.src,this.preload_||(this.loaded_=!0),(this.preload_||"subtitles"!==t.kind&&"captions"!==t.kind)&&gi(this.src,this)):this.loaded_=!0}startTracking(){this.rvf_=this.tech_.requestVideoFrameCallback(this.timeupdateHandler),this.tech_.on("timeupdate",this.timeupdateHandler)}stopTracking(){this.rvf_&&(this.tech_.cancelVideoFrameCallback(this.rvf_),this.rvf_=void 0),this.tech_.off("timeupdate",this.timeupdateHandler)}addCue(e){let t=e;if(i().vttjs&&!(e instanceof i().vttjs.VTTCue)){t=new(i().vttjs.VTTCue)(e.startTime,e.endTime,e.text);for(const n in e)n in t||(t[n]=e[n]);t.id=e.id,t.originalCue_=e}const n=this.tech_.textTracks();for(let e=0;e<n.length;e++)n[e]!==this&&n[e].removeCue(t);this.cues_.push(t),this.cues.setCues_(this.cues_)}removeCue(e){let t=this.cues_.length;for(;t--;){const n=this.cues_[t];if(n===e||n.originalCue_&&n.originalCue_===e){this.cues_.splice(t,1),this.cues.setCues_(this.cues_);break}}}}mi.prototype.allowedEvents_={cuechange:"cuechange"};class yi extends ui{constructor(e={}){const t=Zt(e,{kind:oi[e.kind]||""});super(t);let n=!1;Object.defineProperty(this,"enabled",{get:()=>n,set(e){"boolean"==typeof e&&e!==n&&(n=e,this.trigger("enabledchange"))}}),t.enabled&&(this.enabled=t.enabled),this.loaded_=!0}}class vi extends ui{constructor(e={}){const t=Zt(e,{kind:ii[e.kind]||""});super(t);let n=!1;Object.defineProperty(this,"selected",{get:()=>n,set(e){"boolean"==typeof e&&e!==n&&(n=e,this.trigger("selectedchange"))}}),t.selected&&(this.selected=t.selected)}}class bi extends vr{constructor(e={}){let t;super();const n=new mi(e);this.kind=n.kind,this.src=n.src,this.srclang=n.language,this.label=n.label,this.default=n.default,Object.defineProperties(this,{readyState:{get:()=>t},track:{get:()=>n}}),t=bi.NONE,n.addEventListener("loadeddata",(()=>{t=bi.LOADED,this.trigger({type:"load",target:this})}))}}bi.prototype.allowedEvents_={load:"load"},bi.NONE=0,bi.LOADING=1,bi.LOADED=2,bi.ERROR=3;const _i={audio:{ListClass:class extends Jr{constructor(e=[]){for(let t=e.length-1;t>=0;t--)if(e[t].enabled){ei(e,e[t]);break}super(e),this.changing_=!1}addTrack(e){e.enabled&&ei(this,e),super.addTrack(e),e.addEventListener&&(e.enabledChange_=()=>{this.changing_||(this.changing_=!0,ei(this,e),this.changing_=!1,this.trigger("change"))},e.addEventListener("enabledchange",e.enabledChange_))}removeTrack(e){super.removeTrack(e),e.removeEventListener&&e.enabledChange_&&(e.removeEventListener("enabledchange",e.enabledChange_),e.enabledChange_=null)}},TrackClass:yi,capitalName:"Audio"},video:{ListClass:class extends Jr{constructor(e=[]){for(let t=e.length-1;t>=0;t--)if(e[t].selected){ti(e,e[t]);break}super(e),this.changing_=!1,Object.defineProperty(this,"selectedIndex",{get(){for(let e=0;e<this.length;e++)if(this[e].selected)return e;return-1},set(){}})}addTrack(e){e.selected&&ti(this,e),super.addTrack(e),e.addEventListener&&(e.selectedChange_=()=>{this.changing_||(this.changing_=!0,ti(this,e),this.changing_=!1,this.trigger("change"))},e.addEventListener("selectedchange",e.selectedChange_))}removeTrack(e){super.removeTrack(e),e.removeEventListener&&e.selectedChange_&&(e.removeEventListener("selectedchange",e.selectedChange_),e.selectedChange_=null)}},TrackClass:vi,capitalName:"Video"},text:{ListClass:ni,TrackClass:mi,capitalName:"Text"}};Object.keys(_i).forEach((function(e){_i[e].getterName=`${e}Tracks`,_i[e].privateName=`${e}Tracks_`}));const wi={remoteText:{ListClass:ni,TrackClass:mi,capitalName:"RemoteText",getterName:"remoteTextTracks",privateName:"remoteTextTracks_"},remoteTextEl:{ListClass:class{constructor(e=[]){this.trackElements_=[],Object.defineProperty(this,"length",{get(){return this.trackElements_.length}});for(let t=0,n=e.length;t<n;t++)this.addTrackElement_(e[t])}addTrackElement_(e){const t=this.trackElements_.length;""+t in this||Object.defineProperty(this,t,{get(){return this.trackElements_[t]}}),-1===this.trackElements_.indexOf(e)&&this.trackElements_.push(e)}getTrackElementByTrack_(e){let t;for(let n=0,r=this.trackElements_.length;n<r;n++)if(e===this.trackElements_[n].track){t=this.trackElements_[n];break}return t}removeTrackElement_(e){for(let t=0,n=this.trackElements_.length;t<n;t++)if(e===this.trackElements_[t]){this.trackElements_[t].track&&"function"==typeof this.trackElements_[t].track.off&&this.trackElements_[t].track.off(),"function"==typeof this.trackElements_[t].off&&this.trackElements_[t].off(),this.trackElements_.splice(t,1);break}}},TrackClass:bi,capitalName:"RemoteTextTrackEls",getterName:"remoteTextTrackEls",privateName:"remoteTextTrackEls_"}},Ti=Object.assign({},_i,wi);wi.names=Object.keys(wi),_i.names=Object.keys(_i),Ti.names=[].concat(wi.names).concat(_i.names);class xi extends jr{constructor(e={},t=function(){}){e.reportTouchActivity=!1,super(null,e,t),this.onDurationChange_=e=>this.onDurationChange(e),this.trackProgress_=e=>this.trackProgress(e),this.trackCurrentTime_=e=>this.trackCurrentTime(e),this.stopTrackingCurrentTime_=e=>this.stopTrackingCurrentTime(e),this.disposeSourceHandler_=e=>this.disposeSourceHandler(e),this.queuedHanders_=new Set,this.hasStarted_=!1,this.on("playing",(function(){this.hasStarted_=!0})),this.on("loadstart",(function(){this.hasStarted_=!1})),Ti.names.forEach((t=>{const n=Ti[t];e&&e[n.getterName]&&(this[n.privateName]=e[n.getterName])})),this.featuresProgressEvents||this.manualProgressOn(),this.featuresTimeupdateEvents||this.manualTimeUpdatesOn(),["Text","Audio","Video"].forEach((t=>{!1===e[`native${t}Tracks`]&&(this[`featuresNative${t}Tracks`]=!1)})),!1===e.nativeCaptions||!1===e.nativeTextTracks?this.featuresNativeTextTracks=!1:!0!==e.nativeCaptions&&!0!==e.nativeTextTracks||(this.featuresNativeTextTracks=!0),this.featuresNativeTextTracks||this.emulateTextTracks(),this.preloadTextTracks=!1!==e.preloadTextTracks,this.autoRemoteTextTracks_=new Ti.text.ListClass,this.initTrackListeners(),e.nativeControlsForTouch||this.emitTapEvents(),this.constructor&&(this.name_=this.constructor.name||"Unknown Tech")}triggerSourceset(e){this.isReady_||this.one("ready",(()=>this.setTimeout((()=>this.triggerSourceset(e)),1))),this.trigger({src:e,type:"sourceset"})}manualProgressOn(){this.on("durationchange",this.onDurationChange_),this.manualProgress=!0,this.one("ready",this.trackProgress_)}manualProgressOff(){this.manualProgress=!1,this.stopTrackingProgress(),this.off("durationchange",this.onDurationChange_)}trackProgress(e){this.stopTrackingProgress(),this.progressInterval=this.setInterval(pr(this,(function(){const e=this.bufferedPercent();this.bufferedPercent_!==e&&this.trigger("progress"),this.bufferedPercent_=e,1===e&&this.stopTrackingProgress()})),500)}onDurationChange(e){this.duration_=this.duration()}buffered(){return Br(0,0)}bufferedPercent(){return Vr(this.buffered(),this.duration_)}stopTrackingProgress(){this.clearInterval(this.progressInterval)}manualTimeUpdatesOn(){this.manualTimeUpdates=!0,this.on("play",this.trackCurrentTime_),this.on("pause",this.stopTrackingCurrentTime_)}manualTimeUpdatesOff(){this.manualTimeUpdates=!1,this.stopTrackingCurrentTime(),this.off("play",this.trackCurrentTime_),this.off("pause",this.stopTrackingCurrentTime_)}trackCurrentTime(){this.currentTimeInterval&&this.stopTrackingCurrentTime(),this.currentTimeInterval=this.setInterval((function(){this.trigger({type:"timeupdate",target:this,manuallyTriggered:!0})}),250)}stopTrackingCurrentTime(){this.clearInterval(this.currentTimeInterval),this.trigger({type:"timeupdate",target:this,manuallyTriggered:!0})}dispose(){this.clearTracks(_i.names),this.manualProgress&&this.manualProgressOff(),this.manualTimeUpdates&&this.manualTimeUpdatesOff(),super.dispose()}clearTracks(e){(e=[].concat(e)).forEach((e=>{const t=this[`${e}Tracks`]()||[];let n=t.length;for(;n--;){const r=t[n];"text"===e&&this.removeRemoteTextTrack(r),t.removeTrack(r)}}))}cleanupAutoTextTracks(){const e=this.autoRemoteTextTracks_||[];let t=e.length;for(;t--;){const n=e[t];this.removeRemoteTextTrack(n)}}reset(){}crossOrigin(){}setCrossOrigin(){}error(e){return void 0!==e&&(this.error_=new Wr(e),this.trigger("error")),this.error_}played(){return this.hasStarted_?Br(0,0):Br()}play(){}setScrubbing(e){}scrubbing(){}setCurrentTime(e){this.manualTimeUpdates&&this.trigger({type:"timeupdate",target:this,manuallyTriggered:!0})}initTrackListeners(){_i.names.forEach((e=>{const t=_i[e],n=()=>{this.trigger(`${e}trackchange`)},r=this[t.getterName]();r.addEventListener("removetrack",n),r.addEventListener("addtrack",n),this.on("dispose",(()=>{r.removeEventListener("removetrack",n),r.removeEventListener("addtrack",n)}))}))}addWebVttScript_(){if(!i().WebVTT)if(a().body.contains(this.el())){if(!this.options_["vtt.js"]&&Ht(h())&&Object.keys(h()).length>0)return void this.trigger("vttjsloaded");const e=a().createElement("script");e.src=this.options_["vtt.js"]||"https://vjs.zencdn.net/vttjs/0.14.1/vtt.min.js",e.onload=()=>{this.trigger("vttjsloaded")},e.onerror=()=>{this.trigger("vttjserror")},this.on("dispose",(()=>{e.onload=null,e.onerror=null})),i().WebVTT=!0,this.el().parentNode.appendChild(e)}else this.ready(this.addWebVttScript_)}emulateTextTracks(){const e=this.textTracks(),t=this.remoteTextTracks(),n=t=>e.addTrack(t.track),r=t=>e.removeTrack(t.track);t.on("addtrack",n),t.on("removetrack",r),this.addWebVttScript_();const i=()=>this.trigger("texttrackchange"),o=()=>{i();for(let t=0;t<e.length;t++){const n=e[t];n.removeEventListener("cuechange",i),"showing"===n.mode&&n.addEventListener("cuechange",i)}};o(),e.addEventListener("change",o),e.addEventListener("addtrack",o),e.addEventListener("removetrack",o),this.on("dispose",(function(){t.off("addtrack",n),t.off("removetrack",r),e.removeEventListener("change",o),e.removeEventListener("addtrack",o),e.removeEventListener("removetrack",o);for(let t=0;t<e.length;t++){e[t].removeEventListener("cuechange",i)}}))}addTextTrack(e,t,n){if(!e)throw new Error("TextTrack kind is required but was not provided");return function(e,t,n,r,i={}){const o=e.textTracks();i.kind=t,n&&(i.label=n),r&&(i.language=r),i.tech=e;const a=new Ti.text.TrackClass(i);return o.addTrack(a),a}(this,e,t,n)}createRemoteTextTrack(e){const t=Zt(e,{tech:this});return new wi.remoteTextEl.TrackClass(t)}addRemoteTextTrack(e={},t){const n=this.createRemoteTextTrack(e);return"boolean"!=typeof t&&(t=!1),this.remoteTextTrackEls().addTrackElement_(n),this.remoteTextTracks().addTrack(n.track),!1===t&&this.ready((()=>this.autoRemoteTextTracks_.addTrack(n.track))),n}removeRemoteTextTrack(e){const t=this.remoteTextTrackEls().getTrackElementByTrack_(e);this.remoteTextTrackEls().removeTrackElement_(t),this.remoteTextTracks().removeTrack(e),this.autoRemoteTextTracks_.removeTrack(e)}getVideoPlaybackQuality(){return{}}requestPictureInPicture(){return Promise.reject()}disablePictureInPicture(){return!0}setDisablePictureInPicture(){}requestVideoFrameCallback(e){const t=tr();return!this.isReady_||this.paused()?(this.queuedHanders_.add(t),this.one("playing",(()=>{this.queuedHanders_.has(t)&&(this.queuedHanders_.delete(t),e())}))):this.requestNamedAnimationFrame(t,e),t}cancelVideoFrameCallback(e){this.queuedHanders_.has(e)?this.queuedHanders_.delete(e):this.cancelNamedAnimationFrame(e)}setPoster(){}playsinline(){}setPlaysinline(){}overrideNativeAudioTracks(e){}overrideNativeVideoTracks(e){}canPlayType(e){return""}static canPlayType(e){return""}static canPlaySource(e,t){return xi.canPlayType(e.type)}static isTech(e){return e.prototype instanceof xi||e instanceof xi||e===xi}static registerTech(e,t){if(xi.techs_||(xi.techs_={}),!xi.isTech(t))throw new Error(`Tech ${e} must be a Tech`);if(!xi.canPlayType)throw new Error("Techs must have a static canPlayType method on them");if(!xi.canPlaySource)throw new Error("Techs must have a static canPlaySource method on them");return e=Pr(e),xi.techs_[e]=t,xi.techs_[Ir(e)]=t,"Tech"!==e&&xi.defaultTechOrder_.push(e),t}static getTech(e){if(e)return xi.techs_&&xi.techs_[e]?xi.techs_[e]:(e=Pr(e),i()&&i().videojs&&i().videojs[e]?(jt.warn(`The ${e} tech was added to the videojs object when it should be registered using videojs.registerTech(name, tech)`),i().videojs[e]):void 0)}}Ti.names.forEach((function(e){const t=Ti[e];xi.prototype[t.getterName]=function(){return this[t.privateName]=this[t.privateName]||new t.ListClass,this[t.privateName]}})),xi.prototype.featuresVolumeControl=!0,xi.prototype.featuresMuteControl=!0,xi.prototype.featuresFullscreenResize=!1,xi.prototype.featuresPlaybackRate=!1,xi.prototype.featuresProgressEvents=!1,xi.prototype.featuresSourceset=!1,xi.prototype.featuresTimeupdateEvents=!1,xi.prototype.featuresNativeTextTracks=!1,xi.prototype.featuresVideoFrameCallback=!1,xi.withSourceHandlers=function(e){e.registerSourceHandler=function(t,n){let r=e.sourceHandlers;r||(r=e.sourceHandlers=[]),void 0===n&&(n=r.length),r.splice(n,0,t)},e.canPlayType=function(t){const n=e.sourceHandlers||[];let r;for(let e=0;e<n.length;e++)if(r=n[e].canPlayType(t),r)return r;return""},e.selectSourceHandler=function(t,n){const r=e.sourceHandlers||[];let i;for(let e=0;e<r.length;e++)if(i=r[e].canHandleSource(t,n),i)return r[e];return null},e.canPlaySource=function(t,n){const r=e.selectSourceHandler(t,n);return r?r.canHandleSource(t,n):""};["seekable","seeking","duration"].forEach((function(e){const t=this[e];"function"==typeof t&&(this[e]=function(){return this.sourceHandler_&&this.sourceHandler_[e]?this.sourceHandler_[e].apply(this.sourceHandler_,arguments):t.apply(this,arguments)})}),e.prototype),e.prototype.setSource=function(t){let n=e.selectSourceHandler(t,this.options_);n||(e.nativeSourceHandler?n=e.nativeSourceHandler:jt.error("No source handler found for the current source.")),this.disposeSourceHandler(),this.off("dispose",this.disposeSourceHandler_),n!==e.nativeSourceHandler&&(this.currentSource_=t),this.sourceHandler_=n.handleSource(t,this,this.options_),this.one("dispose",this.disposeSourceHandler_)},e.prototype.disposeSourceHandler=function(){this.currentSource_&&(this.clearTracks(["audio","video"]),this.currentSource_=null),this.cleanupAutoTextTracks(),this.sourceHandler_&&(this.sourceHandler_.dispose&&this.sourceHandler_.dispose(),this.sourceHandler_=null)}},jr.registerComponent("Tech",xi),xi.registerTech("Tech",xi),xi.defaultTechOrder_=[];const Si={},ki={},Ei={};function Oi(e,t,n){e.setTimeout((()=>Mi(t,Si[t.type],n,e)),1)}function Ci(e,t,n,r=null){const i="call"+Pr(n),o=e.reduce(Pi(i),r),a=o===Ei,s=a?null:t[n](o);return function(e,t,n,r){for(let i=e.length-1;i>=0;i--){const o=e[i];o[t]&&o[t](r,n)}}(e,n,s,a),s}const Li={buffered:1,currentTime:1,duration:1,muted:1,played:1,paused:1,seekable:1,volume:1,ended:1},Ai={setCurrentTime:1,setMuted:1,setVolume:1},Ii={play:1,pause:1};function Pi(e){return(t,n)=>t===Ei?Ei:n[e]?n[e](t):t}function Mi(e={},t=[],n,r,i=[],o=!1){const[a,...s]=t;if("string"==typeof a)Mi(e,Si[a],n,r,i,o);else if(a){const t=function(e,t){const n=ki[e.id()];let r=null;if(null==n)return r=t(e),ki[e.id()]=[[t,r]],r;for(let e=0;e<n.length;e++){const[i,o]=n[e];i===t&&(r=o)}return null===r&&(r=t(e),n.push([t,r])),r}(r,a);if(!t.setSource)return i.push(t),Mi(e,s,n,r,i,o);t.setSource(Object.assign({},e),(function(a,u){if(a)return Mi(e,s,n,r,i,o);i.push(t),Mi(u,e.type===u.type?s:Si[u.type],n,r,i,o)}))}else s.length?Mi(e,s,n,r,i,o):o?n(e,i):Mi(e,Si["*"],n,r,i,!0)}const Ri={opus:"video/ogg",ogv:"video/ogg",mp4:"video/mp4",mov:"video/mp4",m4v:"video/mp4",mkv:"video/x-matroska",m4a:"audio/mp4",mp3:"audio/mpeg",aac:"audio/aac",caf:"audio/x-caf",flac:"audio/flac",oga:"audio/ogg",wav:"audio/wav",m3u8:"application/x-mpegURL",mpd:"application/dash+xml",jpg:"image/jpeg",jpeg:"image/jpeg",gif:"image/gif",png:"image/png",svg:"image/svg+xml",webp:"image/webp"},ji=function(e=""){const t=fi(e);return Ri[t.toLowerCase()]||""},Di=function(e){if(Array.isArray(e)){let t=[];e.forEach((function(e){e=Di(e),Array.isArray(e)?t=t.concat(e):zt(e)&&t.push(e)})),e=t}else e="string"==typeof e&&e.trim()?[Ni({src:e})]:zt(e)&&"string"==typeof e.src&&e.src&&e.src.trim()?[Ni(e)]:[];return e};function Ni(e){if(!e.type){const t=ji(e.src);t&&(e.type=t)}return e}jr.registerComponent("MediaLoader",class extends jr{constructor(e,t,n){if(super(e,Zt({createEl:!1},t),n),t.playerOptions.sources&&0!==t.playerOptions.sources.length)e.src(t.playerOptions.sources);else for(let n=0,r=t.playerOptions.techOrder;n<r.length;n++){const t=Pr(r[n]);let i=xi.getTech(t);if(t||(i=jr.getComponent(t)),i&&i.isSupported()){e.loadTech_(t);break}}}});class Bi extends jr{constructor(e,t){super(e,t),this.options_.controlText&&this.controlText(this.options_.controlText),this.handleMouseOver_=e=>this.handleMouseOver(e),this.handleMouseOut_=e=>this.handleMouseOut(e),this.handleClick_=e=>this.handleClick(e),this.handleKeyDown_=e=>this.handleKeyDown(e),this.emitTapEvents(),this.enable()}createEl(e="div",t={},n={}){t=Object.assign({className:this.buildCSSClass(),tabIndex:0},t),"button"===e&&jt.error(`Creating a ClickableComponent with an HTML element of ${e} is not supported; use a Button instead.`),n=Object.assign({role:"button"},n),this.tabIndex_=t.tabIndex;const r=vn(e,t,n);return r.appendChild(vn("span",{className:"vjs-icon-placeholder"},{"aria-hidden":!0})),this.createControlTextEl(r),r}dispose(){this.controlTextEl_=null,super.dispose()}createControlTextEl(e){return this.controlTextEl_=vn("span",{className:"vjs-control-text"},{"aria-live":"polite"}),e&&e.appendChild(this.controlTextEl_),this.controlText(this.controlText_,e),this.controlTextEl_}controlText(e,t=this.el()){if(void 0===e)return this.controlText_||"Need Text";const n=this.localize(e);this.controlText_=e,bn(this.controlTextEl_,n),this.nonIconControl||this.player_.options_.noUITitleAttributes||t.setAttribute("title",n)}buildCSSClass(){return`vjs-control vjs-button ${super.buildCSSClass()}`}enable(){this.enabled_||(this.enabled_=!0,this.removeClass("vjs-disabled"),this.el_.setAttribute("aria-disabled","false"),void 0!==this.tabIndex_&&this.el_.setAttribute("tabIndex",this.tabIndex_),this.on(["tap","click"],this.handleClick_),this.on("keydown",this.handleKeyDown_))}disable(){this.enabled_=!1,this.addClass("vjs-disabled"),this.el_.setAttribute("aria-disabled","true"),void 0!==this.tabIndex_&&this.el_.removeAttribute("tabIndex"),this.off("mouseover",this.handleMouseOver_),this.off("mouseout",this.handleMouseOut_),this.off(["tap","click"],this.handleClick_),this.off("keydown",this.handleKeyDown_)}handleLanguagechange(){this.controlText(this.controlText_)}handleClick(e){this.options_.clickHandler&&this.options_.clickHandler.call(this,arguments)}handleKeyDown(e){u().isEventKey(e,"Space")||u().isEventKey(e,"Enter")?(e.preventDefault(),e.stopPropagation(),this.trigger("click")):super.handleKeyDown(e)}}jr.registerComponent("ClickableComponent",Bi);class Ui extends Bi{constructor(e,t){super(e,t),this.update(),this.update_=e=>this.update(e),e.on("posterchange",this.update_)}dispose(){this.player().off("posterchange",this.update_),super.dispose()}createEl(){return vn("div",{className:"vjs-poster"})}crossOrigin(e){if(void 0===e)return this.$("img")?this.$("img").crossOrigin:this.player_.tech_&&this.player_.tech_.isReady_?this.player_.crossOrigin():this.player_.options_.crossOrigin||this.player_.options_.crossorigin||null;null===e||"anonymous"===e||"use-credentials"===e?this.$("img")&&(this.$("img").crossOrigin=e):this.player_.log.warn(`crossOrigin must be null,  "anonymous" or "use-credentials", given "${e}"`)}update(e){const t=this.player().poster();this.setSrc(t),t?this.show():this.hide()}setSrc(e){e?(this.$("img")||this.el_.appendChild(vn("picture",{className:"vjs-poster",tabIndex:-1},{},vn("img",{loading:"lazy",crossOrigin:this.crossOrigin()},{alt:""}))),this.$("img").src=e):this.el_.textContent=""}handleClick(e){this.player_.controls()&&(this.player_.tech(!0)&&this.player_.tech(!0).focus(),this.player_.paused()?$r(this.player_.play()):this.player_.pause())}}Ui.prototype.crossorigin=Ui.prototype.crossOrigin,jr.registerComponent("PosterImage",Ui);const Fi={monospace:"monospace",sansSerif:"sans-serif",serif:"serif",monospaceSansSerif:'"Andale Mono", "Lucida Console", monospace',monospaceSerif:'"Courier New", monospace',proportionalSansSerif:"sans-serif",proportionalSerif:"serif",casual:'"Comic Sans MS", Impact, fantasy',script:'"Monotype Corsiva", cursive',smallcaps:'"Andale Mono", "Lucida Console", monospace, sans-serif'};function zi(e,t){let n;if(4===e.length)n=e[1]+e[1]+e[2]+e[2]+e[3]+e[3];else{if(7!==e.length)throw new Error("Invalid color code provided, "+e+"; must be formatted as e.g. #f0e or #f604e2.");n=e.slice(1)}return"rgba("+parseInt(n.slice(0,2),16)+","+parseInt(n.slice(2,4),16)+","+parseInt(n.slice(4,6),16)+","+t+")"}function Hi(e,t,n){try{e.style[t]=n}catch(e){return}}jr.registerComponent("TextTrackDisplay",class extends jr{constructor(e,t,n){super(e,t,n);const r=e=>this.updateDisplay(e);e.on("loadstart",(e=>this.toggleDisplay(e))),e.on("texttrackchange",r),e.on("loadedmetadata",(e=>this.preselectTrack(e))),e.ready(pr(this,(function(){if(e.tech_&&e.tech_.featuresNativeTextTracks)return void this.hide();e.on("fullscreenchange",r),e.on("playerresize",r);const t=i().screen.orientation||i(),n=i().screen.orientation?"change":"orientationchange";t.addEventListener(n,r),e.on("dispose",(()=>t.removeEventListener(n,r)));const o=this.options_.playerOptions.tracks||[];for(let e=0;e<o.length;e++)this.player_.addRemoteTextTrack(o[e],!0);this.preselectTrack()})))}preselectTrack(){const e={captions:1,subtitles:1},t=this.player_.textTracks(),n=this.player_.cache_.selectedLanguage;let r,i,o;for(let a=0;a<t.length;a++){const s=t[a];n&&n.enabled&&n.language&&n.language===s.language&&s.kind in e?s.kind===n.kind?o=s:o||(o=s):n&&!n.enabled?(o=null,r=null,i=null):s.default&&("descriptions"!==s.kind||r?s.kind in e&&!i&&(i=s):r=s)}o?o.mode="showing":i?i.mode="showing":r&&(r.mode="showing")}toggleDisplay(){this.player_.tech_&&this.player_.tech_.featuresNativeTextTracks?this.hide():this.show()}createEl(){return super.createEl("div",{className:"vjs-text-track-display"},{translate:"yes","aria-live":"off","aria-atomic":"true"})}clearDisplay(){"function"==typeof i().WebVTT&&i().WebVTT.processCues(i(),[],this.el_)}updateDisplay(){const e=this.player_.textTracks(),t=this.options_.allowMultipleShowingTracks;if(this.clearDisplay(),t){const t=[];for(let n=0;n<e.length;++n){const r=e[n];"showing"===r.mode&&t.push(r)}return void this.updateForTrack(t)}let n=null,r=null,i=e.length;for(;i--;){const t=e[i];"showing"===t.mode&&("descriptions"===t.kind?n=t:r=t)}r?("off"!==this.getAttribute("aria-live")&&this.setAttribute("aria-live","off"),this.updateForTrack(r)):n&&("assertive"!==this.getAttribute("aria-live")&&this.setAttribute("aria-live","assertive"),this.updateForTrack(n))}updateDisplayState(e){const t=this.player_.textTrackSettings.getValues(),n=e.activeCues;let r=n.length;for(;r--;){const e=n[r];if(!e)continue;const o=e.displayState;if(t.color&&(o.firstChild.style.color=t.color),t.textOpacity&&Hi(o.firstChild,"color",zi(t.color||"#fff",t.textOpacity)),t.backgroundColor&&(o.firstChild.style.backgroundColor=t.backgroundColor),t.backgroundOpacity&&Hi(o.firstChild,"backgroundColor",zi(t.backgroundColor||"#000",t.backgroundOpacity)),t.windowColor&&(t.windowOpacity?Hi(o,"backgroundColor",zi(t.windowColor,t.windowOpacity)):o.style.backgroundColor=t.windowColor),t.edgeStyle&&("dropshadow"===t.edgeStyle?o.firstChild.style.textShadow="2px 2px 3px #222, 2px 2px 4px #222, 2px 2px 5px #222":"raised"===t.edgeStyle?o.firstChild.style.textShadow="1px 1px #222, 2px 2px #222, 3px 3px #222":"depressed"===t.edgeStyle?o.firstChild.style.textShadow="1px 1px #ccc, 0 1px #ccc, -1px -1px #222, 0 -1px #222":"uniform"===t.edgeStyle&&(o.firstChild.style.textShadow="0 0 4px #222, 0 0 4px #222, 0 0 4px #222, 0 0 4px #222")),t.fontPercent&&1!==t.fontPercent){const e=i().parseFloat(o.style.fontSize);o.style.fontSize=e*t.fontPercent+"px",o.style.height="auto",o.style.top="auto"}t.fontFamily&&"default"!==t.fontFamily&&("small-caps"===t.fontFamily?o.firstChild.style.fontVariant="small-caps":o.firstChild.style.fontFamily=Fi[t.fontFamily])}}updateForTrack(e){if(Array.isArray(e)||(e=[e]),"function"!=typeof i().WebVTT||e.every((e=>!e.activeCues)))return;const t=[];for(let n=0;n<e.length;++n){const r=e[n];for(let e=0;e<r.activeCues.length;++e)t.push(r.activeCues[e])}i().WebVTT.processCues(i(),t,this.el_);for(let t=0;t<e.length;++t){const n=e[t];for(let e=0;e<n.activeCues.length;++e){const r=n.activeCues[e].displayState;Tn(r,"vjs-text-track-cue","vjs-text-track-cue-"+(n.language?n.language:t)),n.language&&Cn(r,"lang",n.language)}this.player_.textTrackSettings&&this.updateDisplayState(n)}}});jr.registerComponent("LoadingSpinner",class extends jr{createEl(){const e=this.player_.isAudio(),t=this.localize(e?"Audio Player":"Video Player"),n=vn("span",{className:"vjs-control-text",textContent:this.localize("{1} is loading.",[t])}),r=super.createEl("div",{className:"vjs-loading-spinner",dir:"ltr"});return r.appendChild(n),r}handleLanguagechange(){this.$(".vjs-control-text").textContent=this.localize("{1} is loading.",[this.player_.isAudio()?"Audio Player":"Video Player"])}});class Zi extends Bi{createEl(e,t={},n={}){const r=vn("button",t=Object.assign({className:this.buildCSSClass()},t),n=Object.assign({type:"button"},n));return r.appendChild(vn("span",{className:"vjs-icon-placeholder"},{"aria-hidden":!0})),this.createControlTextEl(r),r}addChild(e,t={}){const n=this.constructor.name;return jt.warn(`Adding an actionable (user controllable) child to a Button (${n}) is not supported; use a ClickableComponent instead.`),jr.prototype.addChild.call(this,e,t)}enable(){super.enable(),this.el_.removeAttribute("disabled")}disable(){super.disable(),this.el_.setAttribute("disabled","disabled")}handleKeyDown(e){u().isEventKey(e,"Space")||u().isEventKey(e,"Enter")?e.stopPropagation():super.handleKeyDown(e)}}jr.registerComponent("Button",Zi);class qi extends Zi{constructor(e,t){super(e,t),this.mouseused_=!1,this.on("mousedown",(e=>this.handleMouseDown(e)))}buildCSSClass(){return"vjs-big-play-button"}handleClick(e){const t=this.player_.play();if(this.mouseused_&&e.clientX&&e.clientY)return $r(t),void(this.player_.tech(!0)&&this.player_.tech(!0).focus());const n=this.player_.getChild("controlBar"),r=n&&n.getChild("playToggle");if(!r)return void this.player_.tech(!0).focus();const i=()=>r.focus();Gr(t)?t.then(i,(()=>{})):this.setTimeout(i,1)}handleKeyDown(e){this.mouseused_=!1,super.handleKeyDown(e)}handleMouseDown(e){this.mouseused_=!0}}qi.prototype.controlText_="Play Video",jr.registerComponent("BigPlayButton",qi);jr.registerComponent("CloseButton",class extends Zi{constructor(e,t){super(e,t),this.controlText(t&&t.controlText||this.localize("Close"))}buildCSSClass(){return`vjs-close-button ${super.buildCSSClass()}`}handleClick(e){this.trigger({type:"close",bubbles:!1})}handleKeyDown(e){u().isEventKey(e,"Esc")?(e.preventDefault(),e.stopPropagation(),this.trigger("click")):super.handleKeyDown(e)}});class Vi extends Zi{constructor(e,t={}){super(e,t),t.replay=void 0===t.replay||t.replay,this.on(e,"play",(e=>this.handlePlay(e))),this.on(e,"pause",(e=>this.handlePause(e))),t.replay&&this.on(e,"ended",(e=>this.handleEnded(e)))}buildCSSClass(){return`vjs-play-control ${super.buildCSSClass()}`}handleClick(e){this.player_.paused()?$r(this.player_.play()):this.player_.pause()}handleSeeked(e){this.removeClass("vjs-ended"),this.player_.paused()?this.handlePause(e):this.handlePlay(e)}handlePlay(e){this.removeClass("vjs-ended","vjs-paused"),this.addClass("vjs-playing"),this.controlText("Pause")}handlePause(e){this.removeClass("vjs-playing"),this.addClass("vjs-paused"),this.controlText("Play")}handleEnded(e){this.removeClass("vjs-playing"),this.addClass("vjs-ended"),this.controlText("Replay"),this.one(this.player_,"seeked",(e=>this.handleSeeked(e)))}}Vi.prototype.controlText_="Play",jr.registerComponent("PlayToggle",Vi);class Wi extends jr{constructor(e,t){super(e,t),this.on(e,["timeupdate","ended"],(e=>this.updateContent(e))),this.updateTextNode_()}createEl(){const e=this.buildCSSClass(),t=super.createEl("div",{className:`${e} vjs-time-control vjs-control`}),n=vn("span",{className:"vjs-control-text",textContent:`${this.localize(this.labelText_)} `},{role:"presentation"});return t.appendChild(n),this.contentEl_=vn("span",{className:`${e}-display`},{role:"presentation"}),t.appendChild(this.contentEl_),t}dispose(){this.contentEl_=null,this.textNode_=null,super.dispose()}updateTextNode_(e=0){e=Zr(e),this.formattedTime_!==e&&(this.formattedTime_=e,this.requestNamedAnimationFrame("TimeDisplay#updateTextNode_",(()=>{if(!this.contentEl_)return;let e=this.textNode_;e&&this.contentEl_.firstChild!==e&&(e=null,jt.warn("TimeDisplay#updateTextnode_: Prevented replacement of text node element since it was no longer a child of this node. Appending a new node instead.")),this.textNode_=a().createTextNode(this.formattedTime_),this.textNode_&&(e?this.contentEl_.replaceChild(this.textNode_,e):this.contentEl_.appendChild(this.textNode_))})))}updateContent(e){}}Wi.prototype.labelText_="Time",Wi.prototype.controlText_="Time",jr.registerComponent("TimeDisplay",Wi);class Gi extends Wi{buildCSSClass(){return"vjs-current-time"}updateContent(e){let t;t=this.player_.ended()?this.player_.duration():this.player_.scrubbing()?this.player_.getCache().currentTime:this.player_.currentTime(),this.updateTextNode_(t)}}Gi.prototype.labelText_="Current Time",Gi.prototype.controlText_="Current Time",jr.registerComponent("CurrentTimeDisplay",Gi);class $i extends Wi{constructor(e,t){super(e,t);const n=e=>this.updateContent(e);this.on(e,"durationchange",n),this.on(e,"loadstart",n),this.on(e,"loadedmetadata",n)}buildCSSClass(){return"vjs-duration"}updateContent(e){const t=this.player_.duration();this.updateTextNode_(t)}}$i.prototype.labelText_="Duration",$i.prototype.controlText_="Duration",jr.registerComponent("DurationDisplay",$i);jr.registerComponent("TimeDivider",class extends jr{createEl(){const e=super.createEl("div",{className:"vjs-time-control vjs-time-divider"},{"aria-hidden":!0}),t=super.createEl("div"),n=super.createEl("span",{textContent:"/"});return t.appendChild(n),e.appendChild(t),e}});class Yi extends Wi{constructor(e,t){super(e,t),this.on(e,"durationchange",(e=>this.updateContent(e)))}buildCSSClass(){return"vjs-remaining-time"}createEl(){const e=super.createEl();return!1!==this.options_.displayNegative&&e.insertBefore(vn("span",{},{"aria-hidden":!0},"-"),this.contentEl_),e}updateContent(e){if("number"!=typeof this.player_.duration())return;let t;t=this.player_.ended()?0:this.player_.remainingTimeDisplay?this.player_.remainingTimeDisplay():this.player_.remainingTime(),this.updateTextNode_(t)}}Yi.prototype.labelText_="Remaining Time",Yi.prototype.controlText_="Remaining Time",jr.registerComponent("RemainingTimeDisplay",Yi);jr.registerComponent("LiveDisplay",class extends jr{constructor(e,t){super(e,t),this.updateShowing(),this.on(this.player(),"durationchange",(e=>this.updateShowing(e)))}createEl(){const e=super.createEl("div",{className:"vjs-live-control vjs-control"});return this.contentEl_=vn("div",{className:"vjs-live-display"},{"aria-live":"off"}),this.contentEl_.appendChild(vn("span",{className:"vjs-control-text",textContent:`${this.localize("Stream Type")} `})),this.contentEl_.appendChild(a().createTextNode(this.localize("LIVE"))),e.appendChild(this.contentEl_),e}dispose(){this.contentEl_=null,super.dispose()}updateShowing(e){this.player().duration()===1/0?this.show():this.hide()}});class Ki extends Zi{constructor(e,t){super(e,t),this.updateLiveEdgeStatus(),this.player_.liveTracker&&(this.updateLiveEdgeStatusHandler_=e=>this.updateLiveEdgeStatus(e),this.on(this.player_.liveTracker,"liveedgechange",this.updateLiveEdgeStatusHandler_))}createEl(){const e=super.createEl("button",{className:"vjs-seek-to-live-control vjs-control"});return this.textEl_=vn("span",{className:"vjs-seek-to-live-text",textContent:this.localize("LIVE")},{"aria-hidden":"true"}),e.appendChild(this.textEl_),e}updateLiveEdgeStatus(){!this.player_.liveTracker||this.player_.liveTracker.atLiveEdge()?(this.setAttribute("aria-disabled",!0),this.addClass("vjs-at-live-edge"),this.controlText("Seek to live, currently playing live")):(this.setAttribute("aria-disabled",!1),this.removeClass("vjs-at-live-edge"),this.controlText("Seek to live, currently behind live"))}handleClick(){this.player_.liveTracker.seekToLiveEdge()}dispose(){this.player_.liveTracker&&this.off(this.player_.liveTracker,"liveedgechange",this.updateLiveEdgeStatusHandler_),this.textEl_=null,super.dispose()}}function Xi(e,t,n){return e=Number(e),Math.min(n,Math.max(t,isNaN(e)?t:e))}Ki.prototype.controlText_="Seek to live, currently playing live",jr.registerComponent("SeekToLive",Ki);var Qi=Object.freeze({__proto__:null,clamp:Xi});class Ji extends jr{constructor(e,t){super(e,t),this.handleMouseDown_=e=>this.handleMouseDown(e),this.handleMouseUp_=e=>this.handleMouseUp(e),this.handleKeyDown_=e=>this.handleKeyDown(e),this.handleClick_=e=>this.handleClick(e),this.handleMouseMove_=e=>this.handleMouseMove(e),this.update_=e=>this.update(e),this.bar=this.getChild(this.options_.barName),this.vertical(!!this.options_.vertical),this.enable()}enabled(){return this.enabled_}enable(){this.enabled()||(this.on("mousedown",this.handleMouseDown_),this.on("touchstart",this.handleMouseDown_),this.on("keydown",this.handleKeyDown_),this.on("click",this.handleClick_),this.on(this.player_,"controlsvisible",this.update),this.playerEvent&&this.on(this.player_,this.playerEvent,this.update),this.removeClass("disabled"),this.setAttribute("tabindex",0),this.enabled_=!0)}disable(){if(!this.enabled())return;const e=this.bar.el_.ownerDocument;this.off("mousedown",this.handleMouseDown_),this.off("touchstart",this.handleMouseDown_),this.off("keydown",this.handleKeyDown_),this.off("click",this.handleClick_),this.off(this.player_,"controlsvisible",this.update_),this.off(e,"mousemove",this.handleMouseMove_),this.off(e,"mouseup",this.handleMouseUp_),this.off(e,"touchmove",this.handleMouseMove_),this.off(e,"touchend",this.handleMouseUp_),this.removeAttribute("tabindex"),this.addClass("disabled"),this.playerEvent&&this.off(this.player_,this.playerEvent,this.update),this.enabled_=!1}createEl(e,t={},n={}){return t.className=t.className+" vjs-slider",t=Object.assign({tabIndex:0},t),n=Object.assign({role:"slider","aria-valuenow":0,"aria-valuemin":0,"aria-valuemax":100},n),super.createEl(e,t,n)}handleMouseDown(e){const t=this.bar.el_.ownerDocument;"mousedown"===e.type&&e.preventDefault(),"touchstart"!==e.type||Jt||e.preventDefault(),An(),this.addClass("vjs-sliding"),this.trigger("slideractive"),this.on(t,"mousemove",this.handleMouseMove_),this.on(t,"mouseup",this.handleMouseUp_),this.on(t,"touchmove",this.handleMouseMove_),this.on(t,"touchend",this.handleMouseUp_),this.handleMouseMove(e,!0)}handleMouseMove(e){}handleMouseUp(e){const t=this.bar.el_.ownerDocument;In(),this.removeClass("vjs-sliding"),this.trigger("sliderinactive"),this.off(t,"mousemove",this.handleMouseMove_),this.off(t,"mouseup",this.handleMouseUp_),this.off(t,"touchmove",this.handleMouseMove_),this.off(t,"touchend",this.handleMouseUp_),this.update()}update(){if(!this.el_||!this.bar)return;const e=this.getProgress();return e===this.progress_||(this.progress_=e,this.requestNamedAnimationFrame("Slider#update",(()=>{const t=this.vertical()?"height":"width";this.bar.el().style[t]=(100*e).toFixed(2)+"%"}))),e}getProgress(){return Number(Xi(this.getPercent(),0,1).toFixed(4))}calculateDistance(e){const t=Rn(this.el_,e);return this.vertical()?t.y:t.x}handleKeyDown(e){u().isEventKey(e,"Left")||u().isEventKey(e,"Down")?(e.preventDefault(),e.stopPropagation(),this.stepBack()):u().isEventKey(e,"Right")||u().isEventKey(e,"Up")?(e.preventDefault(),e.stopPropagation(),this.stepForward()):super.handleKeyDown(e)}handleClick(e){e.stopPropagation(),e.preventDefault()}vertical(e){if(void 0===e)return this.vertical_||!1;this.vertical_=!!e,this.vertical_?this.addClass("vjs-slider-vertical"):this.addClass("vjs-slider-horizontal")}}jr.registerComponent("Slider",Ji);const eo=(e,t)=>Xi(e/t*100,0,100).toFixed(2)+"%";jr.registerComponent("LoadProgressBar",class extends jr{constructor(e,t){super(e,t),this.partEls_=[],this.on(e,"progress",(e=>this.update(e)))}createEl(){const e=super.createEl("div",{className:"vjs-load-progress"}),t=vn("span",{className:"vjs-control-text"}),n=vn("span",{textContent:this.localize("Loaded")}),r=a().createTextNode(": ");return this.percentageEl_=vn("span",{className:"vjs-control-text-loaded-percentage",textContent:"0%"}),e.appendChild(t),t.appendChild(n),t.appendChild(r),t.appendChild(this.percentageEl_),e}dispose(){this.partEls_=null,this.percentageEl_=null,super.dispose()}update(e){this.requestNamedAnimationFrame("LoadProgressBar#update",(()=>{const e=this.player_.liveTracker,t=this.player_.buffered(),n=e&&e.isLive()?e.seekableEnd():this.player_.duration(),r=this.player_.bufferedEnd(),i=this.partEls_,o=eo(r,n);this.percent_!==o&&(this.el_.style.width=o,bn(this.percentageEl_,o),this.percent_=o);for(let e=0;e<t.length;e++){const n=t.start(e),o=t.end(e);let a=i[e];a||(a=this.el_.appendChild(vn()),i[e]=a),a.dataset.start===n&&a.dataset.end===o||(a.dataset.start=n,a.dataset.end=o,a.style.left=eo(n,r),a.style.width=eo(o-n,r))}for(let e=i.length;e>t.length;e--)this.el_.removeChild(i[e-1]);i.length=t.length}))}});jr.registerComponent("TimeTooltip",class extends jr{constructor(e,t){super(e,t),this.update=hr(pr(this,this.update),dr)}createEl(){return super.createEl("div",{className:"vjs-time-tooltip"},{"aria-hidden":"true"})}update(e,t,n){const r=Mn(this.el_),i=Pn(this.player_.el()),o=e.width*t;if(!i||!r)return;const a=e.left-i.left+o,s=e.width-o+(i.right-e.right);let u=r.width/2;a<u?u+=u-a:s<u&&(u=s),u<0?u=0:u>r.width&&(u=r.width),u=Math.round(u),this.el_.style.right=`-${u}px`,this.write(n)}write(e){bn(this.el_,e)}updateTime(e,t,n,r){this.requestNamedAnimationFrame("TimeTooltip#updateTime",(()=>{let i;const o=this.player_.duration();if(this.player_.liveTracker&&this.player_.liveTracker.isLive()){const e=this.player_.liveTracker.liveWindow(),n=e-t*e;i=(n<1?"":"-")+Zr(n,e)}else i=Zr(n,o);this.update(e,t,i),r&&r()}))}});class to extends jr{constructor(e,t){super(e,t),this.update=hr(pr(this,this.update),dr)}createEl(){return super.createEl("div",{className:"vjs-play-progress vjs-slider-bar"},{"aria-hidden":"true"})}update(e,t){const n=this.getChild("timeTooltip");if(!n)return;const r=this.player_.scrubbing()?this.player_.getCache().currentTime:this.player_.currentTime();n.updateTime(e,t,r)}}to.prototype.options_={children:[]},ln||Yt||to.prototype.options_.children.push("timeTooltip"),jr.registerComponent("PlayProgressBar",to);class no extends jr{constructor(e,t){super(e,t),this.update=hr(pr(this,this.update),dr)}createEl(){return super.createEl("div",{className:"vjs-mouse-display"})}update(e,t){const n=t*this.player_.duration();this.getChild("timeTooltip").updateTime(e,t,n,(()=>{this.el_.style.left=e.width*t+"px"}))}}no.prototype.options_={children:["timeTooltip"]},jr.registerComponent("MouseTimeDisplay",no);class ro extends Ji{constructor(e,t){super(e,t),this.setEventHandlers_()}setEventHandlers_(){this.update_=pr(this,this.update),this.update=hr(this.update_,dr),this.on(this.player_,["ended","durationchange","timeupdate"],this.update),this.player_.liveTracker&&this.on(this.player_.liveTracker,"liveedgechange",this.update),this.updateInterval=null,this.enableIntervalHandler_=e=>this.enableInterval_(e),this.disableIntervalHandler_=e=>this.disableInterval_(e),this.on(this.player_,["playing"],this.enableIntervalHandler_),this.on(this.player_,["ended","pause","waiting"],this.disableIntervalHandler_),"hidden"in a()&&"visibilityState"in a()&&this.on(a(),"visibilitychange",this.toggleVisibility_)}toggleVisibility_(e){"hidden"===a().visibilityState?(this.cancelNamedAnimationFrame("SeekBar#update"),this.cancelNamedAnimationFrame("Slider#update"),this.disableInterval_(e)):(this.player_.ended()||this.player_.paused()||this.enableInterval_(),this.update())}enableInterval_(){this.updateInterval||(this.updateInterval=this.setInterval(this.update,dr))}disableInterval_(e){this.player_.liveTracker&&this.player_.liveTracker.isLive()&&e&&"ended"!==e.type||this.updateInterval&&(this.clearInterval(this.updateInterval),this.updateInterval=null)}createEl(){return super.createEl("div",{className:"vjs-progress-holder"},{"aria-label":this.localize("Progress Bar")})}update(e){if("hidden"===a().visibilityState)return;const t=super.update();return this.requestNamedAnimationFrame("SeekBar#update",(()=>{const e=this.player_.ended()?this.player_.duration():this.getCurrentTime_(),n=this.player_.liveTracker;let r=this.player_.duration();n&&n.isLive()&&(r=this.player_.liveTracker.liveCurrentTime()),this.percent_!==t&&(this.el_.setAttribute("aria-valuenow",(100*t).toFixed(2)),this.percent_=t),this.currentTime_===e&&this.duration_===r||(this.el_.setAttribute("aria-valuetext",this.localize("progress bar timing: currentTime={1} duration={2}",[Zr(e,r),Zr(r,r)],"{1} of {2}")),this.currentTime_=e,this.duration_=r),this.bar&&this.bar.update(Pn(this.el()),this.getProgress())})),t}userSeek_(e){this.player_.liveTracker&&this.player_.liveTracker.isLive()&&this.player_.liveTracker.nextSeekedFromUser(),this.player_.currentTime(e)}getCurrentTime_(){return this.player_.scrubbing()?this.player_.getCache().currentTime:this.player_.currentTime()}getPercent(){const e=this.getCurrentTime_();let t;const n=this.player_.liveTracker;return n&&n.isLive()?(t=(e-n.seekableStart())/n.liveWindow(),n.atLiveEdge()&&(t=1)):t=e/this.player_.duration(),t}handleMouseDown(e){Fn(e)&&(e.stopPropagation(),this.videoWasPlaying=!this.player_.paused(),this.player_.pause(),super.handleMouseDown(e))}handleMouseMove(e,t=!1){if(!Fn(e))return;let n;t||this.player_.scrubbing()||this.player_.scrubbing(!0);const r=this.calculateDistance(e),i=this.player_.liveTracker;if(i&&i.isLive()){if(r>=.99)return void i.seekToLiveEdge();const e=i.seekableStart(),t=i.liveCurrentTime();if(n=e+r*i.liveWindow(),n>=t&&(n=t),n<=e&&(n=e+.1),n===1/0)return}else n=r*this.player_.duration(),n===this.player_.duration()&&(n-=.1);this.userSeek_(n)}enable(){super.enable();const e=this.getChild("mouseTimeDisplay");e&&e.show()}disable(){super.disable();const e=this.getChild("mouseTimeDisplay");e&&e.hide()}handleMouseUp(e){super.handleMouseUp(e),e&&e.stopPropagation(),this.player_.scrubbing(!1),this.player_.trigger({type:"timeupdate",target:this,manuallyTriggered:!0}),this.videoWasPlaying?$r(this.player_.play()):this.update_()}stepForward(){this.userSeek_(this.player_.currentTime()+5)}stepBack(){this.userSeek_(this.player_.currentTime()-5)}handleAction(e){this.player_.paused()?this.player_.play():this.player_.pause()}handleKeyDown(e){const t=this.player_.liveTracker;if(u().isEventKey(e,"Space")||u().isEventKey(e,"Enter"))e.preventDefault(),e.stopPropagation(),this.handleAction(e);else if(u().isEventKey(e,"Home"))e.preventDefault(),e.stopPropagation(),this.userSeek_(0);else if(u().isEventKey(e,"End"))e.preventDefault(),e.stopPropagation(),t&&t.isLive()?this.userSeek_(t.liveCurrentTime()):this.userSeek_(this.player_.duration());else if(/^[0-9]$/.test(u()(e))){e.preventDefault(),e.stopPropagation();const n=10*(u().codes[u()(e)]-u().codes[0])/100;t&&t.isLive()?this.userSeek_(t.seekableStart()+t.liveWindow()*n):this.userSeek_(this.player_.duration()*n)}else u().isEventKey(e,"PgDn")?(e.preventDefault(),e.stopPropagation(),this.userSeek_(this.player_.currentTime()-60)):u().isEventKey(e,"PgUp")?(e.preventDefault(),e.stopPropagation(),this.userSeek_(this.player_.currentTime()+60)):super.handleKeyDown(e)}dispose(){this.disableInterval_(),this.off(this.player_,["ended","durationchange","timeupdate"],this.update),this.player_.liveTracker&&this.off(this.player_.liveTracker,"liveedgechange",this.update),this.off(this.player_,["playing"],this.enableIntervalHandler_),this.off(this.player_,["ended","pause","waiting"],this.disableIntervalHandler_),"hidden"in a()&&"visibilityState"in a()&&this.off(a(),"visibilitychange",this.toggleVisibility_),super.dispose()}}ro.prototype.options_={children:["loadProgressBar","playProgressBar"],barName:"playProgressBar"},ln||Yt||ro.prototype.options_.children.splice(1,0,"mouseTimeDisplay"),jr.registerComponent("SeekBar",ro);class io extends jr{constructor(e,t){super(e,t),this.handleMouseMove=hr(pr(this,this.handleMouseMove),dr),this.throttledHandleMouseSeek=hr(pr(this,this.handleMouseSeek),dr),this.handleMouseUpHandler_=e=>this.handleMouseUp(e),this.handleMouseDownHandler_=e=>this.handleMouseDown(e),this.enable()}createEl(){return super.createEl("div",{className:"vjs-progress-control vjs-control"})}handleMouseMove(e){const t=this.getChild("seekBar");if(!t)return;const n=t.getChild("playProgressBar"),r=t.getChild("mouseTimeDisplay");if(!n&&!r)return;const i=t.el(),o=Mn(i);let a=Rn(i,e).x;a=Xi(a,0,1),r&&r.update(o,a),n&&n.update(o,t.getProgress())}handleMouseSeek(e){const t=this.getChild("seekBar");t&&t.handleMouseMove(e)}enabled(){return this.enabled_}disable(){if(this.children().forEach((e=>e.disable&&e.disable())),this.enabled()&&(this.off(["mousedown","touchstart"],this.handleMouseDownHandler_),this.off(this.el_,"mousemove",this.handleMouseMove),this.removeListenersAddedOnMousedownAndTouchstart(),this.addClass("disabled"),this.enabled_=!1,this.player_.scrubbing())){const e=this.getChild("seekBar");this.player_.scrubbing(!1),e.videoWasPlaying&&$r(this.player_.play())}}enable(){this.children().forEach((e=>e.enable&&e.enable())),this.enabled()||(this.on(["mousedown","touchstart"],this.handleMouseDownHandler_),this.on(this.el_,"mousemove",this.handleMouseMove),this.removeClass("disabled"),this.enabled_=!0)}removeListenersAddedOnMousedownAndTouchstart(){const e=this.el_.ownerDocument;this.off(e,"mousemove",this.throttledHandleMouseSeek),this.off(e,"touchmove",this.throttledHandleMouseSeek),this.off(e,"mouseup",this.handleMouseUpHandler_),this.off(e,"touchend",this.handleMouseUpHandler_)}handleMouseDown(e){const t=this.el_.ownerDocument,n=this.getChild("seekBar");n&&n.handleMouseDown(e),this.on(t,"mousemove",this.throttledHandleMouseSeek),this.on(t,"touchmove",this.throttledHandleMouseSeek),this.on(t,"mouseup",this.handleMouseUpHandler_),this.on(t,"touchend",this.handleMouseUpHandler_)}handleMouseUp(e){const t=this.getChild("seekBar");t&&t.handleMouseUp(e),this.removeListenersAddedOnMousedownAndTouchstart()}}io.prototype.options_={children:["seekBar"]},jr.registerComponent("ProgressControl",io);class oo extends Zi{constructor(e,t){super(e,t),this.on(e,["enterpictureinpicture","leavepictureinpicture"],(e=>this.handlePictureInPictureChange(e))),this.on(e,["disablepictureinpicturechanged","loadedmetadata"],(e=>this.handlePictureInPictureEnabledChange(e))),this.on(e,["loadedmetadata","audioonlymodechange","audiopostermodechange"],(()=>{"audio"===e.currentType().substring(0,5)||e.audioPosterMode()||e.audioOnlyMode()?(e.isInPictureInPicture()&&e.exitPictureInPicture(),this.hide()):this.show()})),this.disable()}buildCSSClass(){return`vjs-picture-in-picture-control ${super.buildCSSClass()}`}handlePictureInPictureEnabledChange(){a().pictureInPictureEnabled&&!1===this.player_.disablePictureInPicture()||this.player_.options_.enableDocumentPictureInPicture&&"documentPictureInPicture"in i()?this.enable():this.disable()}handlePictureInPictureChange(e){this.player_.isInPictureInPicture()?this.controlText("Exit Picture-in-Picture"):this.controlText("Picture-in-Picture"),this.handlePictureInPictureEnabledChange()}handleClick(e){this.player_.isInPictureInPicture()?this.player_.exitPictureInPicture():this.player_.requestPictureInPicture()}}oo.prototype.controlText_="Picture-in-Picture",jr.registerComponent("PictureInPictureToggle",oo);class ao extends Zi{constructor(e,t){super(e,t),this.on(e,"fullscreenchange",(e=>this.handleFullscreenChange(e))),!1===a()[e.fsApi_.fullscreenEnabled]&&this.disable()}buildCSSClass(){return`vjs-fullscreen-control ${super.buildCSSClass()}`}handleFullscreenChange(e){this.player_.isFullscreen()?this.controlText("Exit Fullscreen"):this.controlText("Fullscreen")}handleClick(e){this.player_.isFullscreen()?this.player_.exitFullscreen():this.player_.requestFullscreen()}}ao.prototype.controlText_="Fullscreen",jr.registerComponent("FullscreenToggle",ao);jr.registerComponent("VolumeLevel",class extends jr{createEl(){const e=super.createEl("div",{className:"vjs-volume-level"});return e.appendChild(super.createEl("span",{className:"vjs-control-text"})),e}});jr.registerComponent("VolumeLevelTooltip",class extends jr{constructor(e,t){super(e,t),this.update=hr(pr(this,this.update),dr)}createEl(){return super.createEl("div",{className:"vjs-volume-tooltip"},{"aria-hidden":"true"})}update(e,t,n,r){if(!n){const n=Pn(this.el_),r=Pn(this.player_.el()),i=e.width*t;if(!r||!n)return;const o=e.left-r.left+i,a=e.width-i+(r.right-e.right);let s=n.width/2;o<s?s+=s-o:a<s&&(s=a),s<0?s=0:s>n.width&&(s=n.width),this.el_.style.right=`-${s}px`}this.write(`${r}%`)}write(e){bn(this.el_,e)}updateVolume(e,t,n,r,i){this.requestNamedAnimationFrame("VolumeLevelTooltip#updateVolume",(()=>{this.update(e,t,n,r.toFixed(0)),i&&i()}))}});class so extends jr{constructor(e,t){super(e,t),this.update=hr(pr(this,this.update),dr)}createEl(){return super.createEl("div",{className:"vjs-mouse-display"})}update(e,t,n){const r=100*t;this.getChild("volumeLevelTooltip").updateVolume(e,t,n,r,(()=>{n?this.el_.style.bottom=e.height*t+"px":this.el_.style.left=e.width*t+"px"}))}}so.prototype.options_={children:["volumeLevelTooltip"]},jr.registerComponent("MouseVolumeLevelDisplay",so);class uo extends Ji{constructor(e,t){super(e,t),this.on("slideractive",(e=>this.updateLastVolume_(e))),this.on(e,"volumechange",(e=>this.updateARIAAttributes(e))),e.ready((()=>this.updateARIAAttributes()))}createEl(){return super.createEl("div",{className:"vjs-volume-bar vjs-slider-bar"},{"aria-label":this.localize("Volume Level"),"aria-live":"polite"})}handleMouseDown(e){Fn(e)&&super.handleMouseDown(e)}handleMouseMove(e){const t=this.getChild("mouseVolumeLevelDisplay");if(t){const n=this.el(),r=Pn(n),i=this.vertical();let o=Rn(n,e);o=i?o.y:o.x,o=Xi(o,0,1),t.update(r,o,i)}Fn(e)&&(this.checkMuted(),this.player_.volume(this.calculateDistance(e)))}checkMuted(){this.player_.muted()&&this.player_.muted(!1)}getPercent(){return this.player_.muted()?0:this.player_.volume()}stepForward(){this.checkMuted(),this.player_.volume(this.player_.volume()+.1)}stepBack(){this.checkMuted(),this.player_.volume(this.player_.volume()-.1)}updateARIAAttributes(e){const t=this.player_.muted()?0:this.volumeAsPercentage_();this.el_.setAttribute("aria-valuenow",t),this.el_.setAttribute("aria-valuetext",t+"%")}volumeAsPercentage_(){return Math.round(100*this.player_.volume())}updateLastVolume_(){const e=this.player_.volume();this.one("sliderinactive",(()=>{0===this.player_.volume()&&this.player_.lastVolume_(e)}))}}uo.prototype.options_={children:["volumeLevel"],barName:"volumeLevel"},ln||Yt||uo.prototype.options_.children.splice(0,0,"mouseVolumeLevelDisplay"),uo.prototype.playerEvent="volumechange",jr.registerComponent("VolumeBar",uo);class co extends jr{constructor(e,t={}){t.vertical=t.vertical||!1,(void 0===t.volumeBar||Ht(t.volumeBar))&&(t.volumeBar=t.volumeBar||{},t.volumeBar.vertical=t.vertical),super(e,t),function(e,t){t.tech_&&!t.tech_.featuresVolumeControl&&e.addClass("vjs-hidden"),e.on(t,"loadstart",(function(){t.tech_.featuresVolumeControl?e.removeClass("vjs-hidden"):e.addClass("vjs-hidden")}))}(this,e),this.throttledHandleMouseMove=hr(pr(this,this.handleMouseMove),dr),this.handleMouseUpHandler_=e=>this.handleMouseUp(e),this.on("mousedown",(e=>this.handleMouseDown(e))),this.on("touchstart",(e=>this.handleMouseDown(e))),this.on("mousemove",(e=>this.handleMouseMove(e))),this.on(this.volumeBar,["focus","slideractive"],(()=>{this.volumeBar.addClass("vjs-slider-active"),this.addClass("vjs-slider-active"),this.trigger("slideractive")})),this.on(this.volumeBar,["blur","sliderinactive"],(()=>{this.volumeBar.removeClass("vjs-slider-active"),this.removeClass("vjs-slider-active"),this.trigger("sliderinactive")}))}createEl(){let e="vjs-volume-horizontal";return this.options_.vertical&&(e="vjs-volume-vertical"),super.createEl("div",{className:`vjs-volume-control vjs-control ${e}`})}handleMouseDown(e){const t=this.el_.ownerDocument;this.on(t,"mousemove",this.throttledHandleMouseMove),this.on(t,"touchmove",this.throttledHandleMouseMove),this.on(t,"mouseup",this.handleMouseUpHandler_),this.on(t,"touchend",this.handleMouseUpHandler_)}handleMouseUp(e){const t=this.el_.ownerDocument;this.off(t,"mousemove",this.throttledHandleMouseMove),this.off(t,"touchmove",this.throttledHandleMouseMove),this.off(t,"mouseup",this.handleMouseUpHandler_),this.off(t,"touchend",this.handleMouseUpHandler_)}handleMouseMove(e){this.volumeBar.handleMouseMove(e)}}co.prototype.options_={children:["volumeBar"]},jr.registerComponent("VolumeControl",co);class lo extends Zi{constructor(e,t){super(e,t),function(e,t){t.tech_&&!t.tech_.featuresMuteControl&&e.addClass("vjs-hidden"),e.on(t,"loadstart",(function(){t.tech_.featuresMuteControl?e.removeClass("vjs-hidden"):e.addClass("vjs-hidden")}))}(this,e),this.on(e,["loadstart","volumechange"],(e=>this.update(e)))}buildCSSClass(){return`vjs-mute-control ${super.buildCSSClass()}`}handleClick(e){const t=this.player_.volume(),n=this.player_.lastVolume_();if(0===t){const e=n<.1?.1:n;this.player_.volume(e),this.player_.muted(!1)}else this.player_.muted(!this.player_.muted())}update(e){this.updateIcon_(),this.updateControlText_()}updateIcon_(){const e=this.player_.volume();let t=3;ln&&this.player_.tech_&&this.player_.tech_.el_&&this.player_.muted(this.player_.tech_.el_.muted),0===e||this.player_.muted()?t=0:e<.33?t=1:e<.67&&(t=2),xn(this.el_,[0,1,2,3].reduce(((e,t)=>e+`${t?" ":""}vjs-vol-${t}`),"")),Tn(this.el_,`vjs-vol-${t}`)}updateControlText_(){const e=this.player_.muted()||0===this.player_.volume()?"Unmute":"Mute";this.controlText()!==e&&this.controlText(e)}}lo.prototype.controlText_="Mute",jr.registerComponent("MuteToggle",lo);class fo extends jr{constructor(e,t={}){void 0!==t.inline?t.inline=t.inline:t.inline=!0,(void 0===t.volumeControl||Ht(t.volumeControl))&&(t.volumeControl=t.volumeControl||{},t.volumeControl.vertical=!t.inline),super(e,t),this.handleKeyPressHandler_=e=>this.handleKeyPress(e),this.on(e,["loadstart"],(e=>this.volumePanelState_(e))),this.on(this.muteToggle,"keyup",(e=>this.handleKeyPress(e))),this.on(this.volumeControl,"keyup",(e=>this.handleVolumeControlKeyUp(e))),this.on("keydown",(e=>this.handleKeyPress(e))),this.on("mouseover",(e=>this.handleMouseOver(e))),this.on("mouseout",(e=>this.handleMouseOut(e))),this.on(this.volumeControl,["slideractive"],this.sliderActive_),this.on(this.volumeControl,["sliderinactive"],this.sliderInactive_)}sliderActive_(){this.addClass("vjs-slider-active")}sliderInactive_(){this.removeClass("vjs-slider-active")}volumePanelState_(){this.volumeControl.hasClass("vjs-hidden")&&this.muteToggle.hasClass("vjs-hidden")&&this.addClass("vjs-hidden"),this.volumeControl.hasClass("vjs-hidden")&&!this.muteToggle.hasClass("vjs-hidden")&&this.addClass("vjs-mute-toggle-only")}createEl(){let e="vjs-volume-panel-horizontal";return this.options_.inline||(e="vjs-volume-panel-vertical"),super.createEl("div",{className:`vjs-volume-panel vjs-control ${e}`})}dispose(){this.handleMouseOut(),super.dispose()}handleVolumeControlKeyUp(e){u().isEventKey(e,"Esc")&&this.muteToggle.focus()}handleMouseOver(e){this.addClass("vjs-hover"),ar(a(),"keyup",this.handleKeyPressHandler_)}handleMouseOut(e){this.removeClass("vjs-hover"),sr(a(),"keyup",this.handleKeyPressHandler_)}handleKeyPress(e){u().isEventKey(e,"Esc")&&this.handleMouseOut()}}fo.prototype.options_={children:["muteToggle","volumeControl"]},jr.registerComponent("VolumePanel",fo);jr.registerComponent("SkipForward",class extends Zi{constructor(e,t){super(e,t),this.validOptions=[5,10,30],this.skipTime=this.getSkipForwardTime(),this.skipTime&&this.validOptions.includes(this.skipTime)?(this.controlText(this.localize("Skip forward {1} seconds",[this.skipTime])),this.show()):this.hide()}getSkipForwardTime(){const e=this.options_.playerOptions;return e.controlBar&&e.controlBar.skipButtons&&e.controlBar.skipButtons.forward}buildCSSClass(){return`vjs-skip-forward-${this.getSkipForwardTime()} ${super.buildCSSClass()}`}handleClick(e){const t=this.player_.currentTime(),n=this.player_.liveTracker,r=n&&n.isLive()?n.seekableEnd():this.player_.duration();let i;i=t+this.skipTime<=r?t+this.skipTime:r,this.player_.currentTime(i)}handleLanguagechange(){this.controlText(this.localize("Skip forward {1} seconds",[this.skipTime]))}});class po extends Zi{constructor(e,t){super(e,t),this.validOptions=[5,10,30],this.skipTime=this.getSkipBackwardTime(),this.skipTime&&this.validOptions.includes(this.skipTime)?(this.controlText(this.localize("Skip backward {1} seconds",[this.skipTime])),this.show()):this.hide()}getSkipBackwardTime(){const e=this.options_.playerOptions;return e.controlBar&&e.controlBar.skipButtons&&e.controlBar.skipButtons.backward}buildCSSClass(){return`vjs-skip-backward-${this.getSkipBackwardTime()} ${super.buildCSSClass()}`}handleClick(e){const t=this.player_.currentTime(),n=this.player_.liveTracker,r=n&&n.isLive()&&n.seekableStart();let i;i=r&&t-this.skipTime<=r?r:t>=this.skipTime?t-this.skipTime:0,this.player_.currentTime(i)}handleLanguagechange(){this.controlText(this.localize("Skip backward {1} seconds",[this.skipTime]))}}po.prototype.controlText_="Skip Backward",jr.registerComponent("SkipBackward",po);class ho extends jr{constructor(e,t){super(e,t),t&&(this.menuButton_=t.menuButton),this.focusedChild_=-1,this.on("keydown",(e=>this.handleKeyDown(e))),this.boundHandleBlur_=e=>this.handleBlur(e),this.boundHandleTapClick_=e=>this.handleTapClick(e)}addEventListenerForItem(e){e instanceof jr&&(this.on(e,"blur",this.boundHandleBlur_),this.on(e,["tap","click"],this.boundHandleTapClick_))}removeEventListenerForItem(e){e instanceof jr&&(this.off(e,"blur",this.boundHandleBlur_),this.off(e,["tap","click"],this.boundHandleTapClick_))}removeChild(e){"string"==typeof e&&(e=this.getChild(e)),this.removeEventListenerForItem(e),super.removeChild(e)}addItem(e){const t=this.addChild(e);t&&this.addEventListenerForItem(t)}createEl(){const e=this.options_.contentElType||"ul";this.contentEl_=vn(e,{className:"vjs-menu-content"}),this.contentEl_.setAttribute("role","menu");const t=super.createEl("div",{append:this.contentEl_,className:"vjs-menu"});return t.appendChild(this.contentEl_),ar(t,"click",(function(e){e.preventDefault(),e.stopImmediatePropagation()})),t}dispose(){this.contentEl_=null,this.boundHandleBlur_=null,this.boundHandleTapClick_=null,super.dispose()}handleBlur(e){const t=e.relatedTarget||a().activeElement;if(!this.children().some((e=>e.el()===t))){const e=this.menuButton_;e&&e.buttonPressed_&&t!==e.el().firstChild&&e.unpressButton()}}handleTapClick(e){if(this.menuButton_){this.menuButton_.unpressButton();const t=this.children();if(!Array.isArray(t))return;const n=t.filter((t=>t.el()===e.target))[0];if(!n)return;"CaptionSettingsMenuItem"!==n.name()&&this.menuButton_.focus()}}handleKeyDown(e){u().isEventKey(e,"Left")||u().isEventKey(e,"Down")?(e.preventDefault(),e.stopPropagation(),this.stepForward()):(u().isEventKey(e,"Right")||u().isEventKey(e,"Up"))&&(e.preventDefault(),e.stopPropagation(),this.stepBack())}stepForward(){let e=0;void 0!==this.focusedChild_&&(e=this.focusedChild_+1),this.focus(e)}stepBack(){let e=0;void 0!==this.focusedChild_&&(e=this.focusedChild_-1),this.focus(e)}focus(e=0){const t=this.children().slice();t.length&&t[0].hasClass("vjs-menu-title")&&t.shift(),t.length>0&&(e<0?e=0:e>=t.length&&(e=t.length-1),this.focusedChild_=e,t[e].el_.focus())}}jr.registerComponent("Menu",ho);class go extends jr{constructor(e,t={}){super(e,t),this.menuButton_=new Zi(e,t),this.menuButton_.controlText(this.controlText_),this.menuButton_.el_.setAttribute("aria-haspopup","true");const n=Zi.prototype.buildCSSClass();this.menuButton_.el_.className=this.buildCSSClass()+" "+n,this.menuButton_.removeClass("vjs-control"),this.addChild(this.menuButton_),this.update(),this.enabled_=!0;const r=e=>this.handleClick(e);this.handleMenuKeyUp_=e=>this.handleMenuKeyUp(e),this.on(this.menuButton_,"tap",r),this.on(this.menuButton_,"click",r),this.on(this.menuButton_,"keydown",(e=>this.handleKeyDown(e))),this.on(this.menuButton_,"mouseenter",(()=>{this.addClass("vjs-hover"),this.menu.show(),ar(a(),"keyup",this.handleMenuKeyUp_)})),this.on("mouseleave",(e=>this.handleMouseLeave(e))),this.on("keydown",(e=>this.handleSubmenuKeyDown(e)))}update(){const e=this.createMenu();this.menu&&(this.menu.dispose(),this.removeChild(this.menu)),this.menu=e,this.addChild(e),this.buttonPressed_=!1,this.menuButton_.el_.setAttribute("aria-expanded","false"),this.items&&this.items.length<=this.hideThreshold_?(this.hide(),this.menu.contentEl_.removeAttribute("role")):(this.show(),this.menu.contentEl_.setAttribute("role","menu"))}createMenu(){const e=new ho(this.player_,{menuButton:this});if(this.hideThreshold_=0,this.options_.title){const t=vn("li",{className:"vjs-menu-title",textContent:Pr(this.options_.title),tabIndex:-1}),n=new jr(this.player_,{el:t});e.addItem(n)}if(this.items=this.createItems(),this.items)for(let t=0;t<this.items.length;t++)e.addItem(this.items[t]);return e}createItems(){}createEl(){return super.createEl("div",{className:this.buildWrapperCSSClass()},{})}buildWrapperCSSClass(){let e="vjs-menu-button";!0===this.options_.inline?e+="-inline":e+="-popup";return`vjs-menu-button ${e} ${Zi.prototype.buildCSSClass()} ${super.buildCSSClass()}`}buildCSSClass(){let e="vjs-menu-button";return!0===this.options_.inline?e+="-inline":e+="-popup",`vjs-menu-button ${e} ${super.buildCSSClass()}`}controlText(e,t=this.menuButton_.el()){return this.menuButton_.controlText(e,t)}dispose(){this.handleMouseLeave(),super.dispose()}handleClick(e){this.buttonPressed_?this.unpressButton():this.pressButton()}handleMouseLeave(e){this.removeClass("vjs-hover"),sr(a(),"keyup",this.handleMenuKeyUp_)}focus(){this.menuButton_.focus()}blur(){this.menuButton_.blur()}handleKeyDown(e){u().isEventKey(e,"Esc")||u().isEventKey(e,"Tab")?(this.buttonPressed_&&this.unpressButton(),u().isEventKey(e,"Tab")||(e.preventDefault(),this.menuButton_.focus())):(u().isEventKey(e,"Up")||u().isEventKey(e,"Down"))&&(this.buttonPressed_||(e.preventDefault(),this.pressButton()))}handleMenuKeyUp(e){(u().isEventKey(e,"Esc")||u().isEventKey(e,"Tab"))&&this.removeClass("vjs-hover")}handleSubmenuKeyPress(e){this.handleSubmenuKeyDown(e)}handleSubmenuKeyDown(e){(u().isEventKey(e,"Esc")||u().isEventKey(e,"Tab"))&&(this.buttonPressed_&&this.unpressButton(),u().isEventKey(e,"Tab")||(e.preventDefault(),this.menuButton_.focus()))}pressButton(){if(this.enabled_){if(this.buttonPressed_=!0,this.menu.show(),this.menu.lockShowing(),this.menuButton_.el_.setAttribute("aria-expanded","true"),ln&&mn())return;this.menu.focus()}}unpressButton(){this.enabled_&&(this.buttonPressed_=!1,this.menu.unlockShowing(),this.menu.hide(),this.menuButton_.el_.setAttribute("aria-expanded","false"))}disable(){this.unpressButton(),this.enabled_=!1,this.addClass("vjs-disabled"),this.menuButton_.disable()}enable(){this.enabled_=!0,this.removeClass("vjs-disabled"),this.menuButton_.enable()}}jr.registerComponent("MenuButton",go);class mo extends go{constructor(e,t){const n=t.tracks;if(super(e,t),this.items.length<=1&&this.hide(),!n)return;const r=pr(this,this.update);n.addEventListener("removetrack",r),n.addEventListener("addtrack",r),n.addEventListener("labelchange",r),this.player_.on("ready",r),this.player_.on("dispose",(function(){n.removeEventListener("removetrack",r),n.removeEventListener("addtrack",r),n.removeEventListener("labelchange",r)}))}}jr.registerComponent("TrackButton",mo);const yo=["Tab","Esc","Up","Down","Right","Left"];class vo extends Bi{constructor(e,t){super(e,t),this.selectable=t.selectable,this.isSelected_=t.selected||!1,this.multiSelectable=t.multiSelectable,this.selected(this.isSelected_),this.selectable?this.multiSelectable?this.el_.setAttribute("role","menuitemcheckbox"):this.el_.setAttribute("role","menuitemradio"):this.el_.setAttribute("role","menuitem")}createEl(e,t,n){this.nonIconControl=!0;const r=super.createEl("li",Object.assign({className:"vjs-menu-item",tabIndex:-1},t),n);return r.replaceChild(vn("span",{className:"vjs-menu-item-text",textContent:this.localize(this.options_.label)}),r.querySelector(".vjs-icon-placeholder")),r}handleKeyDown(e){yo.some((t=>u().isEventKey(e,t)))||super.handleKeyDown(e)}handleClick(e){this.selected(!0)}selected(e){this.selectable&&(e?(this.addClass("vjs-selected"),this.el_.setAttribute("aria-checked","true"),this.controlText(", selected"),this.isSelected_=!0):(this.removeClass("vjs-selected"),this.el_.setAttribute("aria-checked","false"),this.controlText(""),this.isSelected_=!1))}}jr.registerComponent("MenuItem",vo);class bo extends vo{constructor(e,t){const n=t.track,r=e.textTracks();t.label=n.label||n.language||"Unknown",t.selected="showing"===n.mode,super(e,t),this.track=n,this.kinds=(t.kinds||[t.kind||this.track.kind]).filter(Boolean);const o=(...e)=>{this.handleTracksChange.apply(this,e)},s=(...e)=>{this.handleSelectedLanguageChange.apply(this,e)};if(e.on(["loadstart","texttrackchange"],o),r.addEventListener("change",o),r.addEventListener("selectedlanguagechange",s),this.on("dispose",(function(){e.off(["loadstart","texttrackchange"],o),r.removeEventListener("change",o),r.removeEventListener("selectedlanguagechange",s)})),void 0===r.onchange){let e;this.on(["tap","click"],(function(){if("object"!=typeof i().Event)try{e=new(i().Event)("change")}catch(e){}e||(e=a().createEvent("Event"),e.initEvent("change",!0,!0)),r.dispatchEvent(e)}))}this.handleTracksChange()}handleClick(e){const t=this.track,n=this.player_.textTracks();if(super.handleClick(e),n)for(let e=0;e<n.length;e++){const r=n[e];-1!==this.kinds.indexOf(r.kind)&&(r===t?"showing"!==r.mode&&(r.mode="showing"):"disabled"!==r.mode&&(r.mode="disabled"))}}handleTracksChange(e){const t="showing"===this.track.mode;t!==this.isSelected_&&this.selected(t)}handleSelectedLanguageChange(e){if("showing"===this.track.mode){const e=this.player_.cache_.selectedLanguage;if(e&&e.enabled&&e.language===this.track.language&&e.kind!==this.track.kind)return;this.player_.cache_.selectedLanguage={enabled:!0,language:this.track.language,kind:this.track.kind}}}dispose(){this.track=null,super.dispose()}}jr.registerComponent("TextTrackMenuItem",bo);class _o extends bo{constructor(e,t){t.track={player:e,kind:t.kind,kinds:t.kinds,default:!1,mode:"disabled"},t.kinds||(t.kinds=[t.kind]),t.label?t.track.label=t.label:t.track.label=t.kinds.join(" and ")+" off",t.selectable=!0,t.multiSelectable=!1,super(e,t)}handleTracksChange(e){const t=this.player().textTracks();let n=!0;for(let e=0,r=t.length;e<r;e++){const r=t[e];if(this.options_.kinds.indexOf(r.kind)>-1&&"showing"===r.mode){n=!1;break}}n!==this.isSelected_&&this.selected(n)}handleSelectedLanguageChange(e){const t=this.player().textTracks();let n=!0;for(let e=0,r=t.length;e<r;e++){const r=t[e];if(["captions","descriptions","subtitles"].indexOf(r.kind)>-1&&"showing"===r.mode){n=!1;break}}n&&(this.player_.cache_.selectedLanguage={enabled:!1})}handleLanguagechange(){this.$(".vjs-menu-item-text").textContent=this.player_.localize(this.options_.label),super.handleLanguagechange()}}jr.registerComponent("OffTextTrackMenuItem",_o);class wo extends mo{constructor(e,t={}){t.tracks=e.textTracks(),super(e,t)}createItems(e=[],t=bo){let n;this.label_&&(n=`${this.label_} off`),e.push(new _o(this.player_,{kinds:this.kinds_,kind:this.kind_,label:n})),this.hideThreshold_+=1;const r=this.player_.textTracks();Array.isArray(this.kinds_)||(this.kinds_=[this.kind_]);for(let n=0;n<r.length;n++){const i=r[n];if(this.kinds_.indexOf(i.kind)>-1){const n=new t(this.player_,{track:i,kinds:this.kinds_,kind:this.kind_,selectable:!0,multiSelectable:!1});n.addClass(`vjs-${i.kind}-menu-item`),e.push(n)}}return e}}jr.registerComponent("TextTrackButton",wo);class To extends vo{constructor(e,t){const n=t.track,r=t.cue,i=e.currentTime();t.selectable=!0,t.multiSelectable=!1,t.label=r.text,t.selected=r.startTime<=i&&i<r.endTime,super(e,t),this.track=n,this.cue=r}handleClick(e){super.handleClick(),this.player_.currentTime(this.cue.startTime)}}jr.registerComponent("ChaptersTrackMenuItem",To);class xo extends wo{constructor(e,t,n){super(e,t,n),this.selectCurrentItem_=()=>{this.items.forEach((e=>{e.selected(this.track_.activeCues[0]===e.cue)}))}}buildCSSClass(){return`vjs-chapters-button ${super.buildCSSClass()}`}buildWrapperCSSClass(){return`vjs-chapters-button ${super.buildWrapperCSSClass()}`}update(e){if(e&&e.track&&"chapters"!==e.track.kind)return;const t=this.findChaptersTrack();t!==this.track_?(this.setTrack(t),super.update()):(!this.items||t&&t.cues&&t.cues.length!==this.items.length)&&super.update()}setTrack(e){if(this.track_!==e){if(this.updateHandler_||(this.updateHandler_=this.update.bind(this)),this.track_){const e=this.player_.remoteTextTrackEls().getTrackElementByTrack_(this.track_);e&&e.removeEventListener("load",this.updateHandler_),this.track_.removeEventListener("cuechange",this.selectCurrentItem_),this.track_=null}if(this.track_=e,this.track_){this.track_.mode="hidden";const e=this.player_.remoteTextTrackEls().getTrackElementByTrack_(this.track_);e&&e.addEventListener("load",this.updateHandler_),this.track_.addEventListener("cuechange",this.selectCurrentItem_)}}}findChaptersTrack(){const e=this.player_.textTracks()||[];for(let t=e.length-1;t>=0;t--){const n=e[t];if(n.kind===this.kind_)return n}}getMenuCaption(){return this.track_&&this.track_.label?this.track_.label:this.localize(Pr(this.kind_))}createMenu(){return this.options_.title=this.getMenuCaption(),super.createMenu()}createItems(){const e=[];if(!this.track_)return e;const t=this.track_.cues;if(!t)return e;for(let n=0,r=t.length;n<r;n++){const r=t[n],i=new To(this.player_,{track:this.track_,cue:r});e.push(i)}return e}}xo.prototype.kind_="chapters",xo.prototype.controlText_="Chapters",jr.registerComponent("ChaptersButton",xo);class So extends wo{constructor(e,t,n){super(e,t,n);const r=e.textTracks(),i=pr(this,this.handleTracksChange);r.addEventListener("change",i),this.on("dispose",(function(){r.removeEventListener("change",i)}))}handleTracksChange(e){const t=this.player().textTracks();let n=!1;for(let e=0,r=t.length;e<r;e++){const r=t[e];if(r.kind!==this.kind_&&"showing"===r.mode){n=!0;break}}n?this.disable():this.enable()}buildCSSClass(){return`vjs-descriptions-button ${super.buildCSSClass()}`}buildWrapperCSSClass(){return`vjs-descriptions-button ${super.buildWrapperCSSClass()}`}}So.prototype.kind_="descriptions",So.prototype.controlText_="Descriptions",jr.registerComponent("DescriptionsButton",So);class ko extends wo{constructor(e,t,n){super(e,t,n)}buildCSSClass(){return`vjs-subtitles-button ${super.buildCSSClass()}`}buildWrapperCSSClass(){return`vjs-subtitles-button ${super.buildWrapperCSSClass()}`}}ko.prototype.kind_="subtitles",ko.prototype.controlText_="Subtitles",jr.registerComponent("SubtitlesButton",ko);class Eo extends bo{constructor(e,t){t.track={player:e,kind:t.kind,label:t.kind+" settings",selectable:!1,default:!1,mode:"disabled"},t.selectable=!1,t.name="CaptionSettingsMenuItem",super(e,t),this.addClass("vjs-texttrack-settings"),this.controlText(", opens "+t.kind+" settings dialog")}handleClick(e){this.player().getChild("textTrackSettings").open()}handleLanguagechange(){this.$(".vjs-menu-item-text").textContent=this.player_.localize(this.options_.kind+" settings"),super.handleLanguagechange()}}jr.registerComponent("CaptionSettingsMenuItem",Eo);class Oo extends wo{constructor(e,t,n){super(e,t,n)}buildCSSClass(){return`vjs-captions-button ${super.buildCSSClass()}`}buildWrapperCSSClass(){return`vjs-captions-button ${super.buildWrapperCSSClass()}`}createItems(){const e=[];return this.player().tech_&&this.player().tech_.featuresNativeTextTracks||!this.player().getChild("textTrackSettings")||(e.push(new Eo(this.player_,{kind:this.kind_})),this.hideThreshold_+=1),super.createItems(e)}}Oo.prototype.kind_="captions",Oo.prototype.controlText_="Captions",jr.registerComponent("CaptionsButton",Oo);class Co extends bo{createEl(e,t,n){const r=super.createEl(e,t,n),i=r.querySelector(".vjs-menu-item-text");return"captions"===this.options_.track.kind&&(i.appendChild(vn("span",{className:"vjs-icon-placeholder"},{"aria-hidden":!0})),i.appendChild(vn("span",{className:"vjs-control-text",textContent:` ${this.localize("Captions")}`}))),r}}jr.registerComponent("SubsCapsMenuItem",Co);class Lo extends wo{constructor(e,t={}){super(e,t),this.label_="subtitles",["en","en-us","en-ca","fr-ca"].indexOf(this.player_.language_)>-1&&(this.label_="captions"),this.menuButton_.controlText(Pr(this.label_))}buildCSSClass(){return`vjs-subs-caps-button ${super.buildCSSClass()}`}buildWrapperCSSClass(){return`vjs-subs-caps-button ${super.buildWrapperCSSClass()}`}createItems(){let e=[];return this.player().tech_&&this.player().tech_.featuresNativeTextTracks||!this.player().getChild("textTrackSettings")||(e.push(new Eo(this.player_,{kind:this.label_})),this.hideThreshold_+=1),e=super.createItems(e,Co),e}}Lo.prototype.kinds_=["captions","subtitles"],Lo.prototype.controlText_="Subtitles",jr.registerComponent("SubsCapsButton",Lo);class Ao extends vo{constructor(e,t){const n=t.track,r=e.audioTracks();t.label=n.label||n.language||"Unknown",t.selected=n.enabled,super(e,t),this.track=n,this.addClass(`vjs-${n.kind}-menu-item`);const i=(...e)=>{this.handleTracksChange.apply(this,e)};r.addEventListener("change",i),this.on("dispose",(()=>{r.removeEventListener("change",i)}))}createEl(e,t,n){const r=super.createEl(e,t,n),i=r.querySelector(".vjs-menu-item-text");return"main-desc"===this.options_.track.kind&&(i.appendChild(vn("span",{className:"vjs-icon-placeholder"},{"aria-hidden":!0})),i.appendChild(vn("span",{className:"vjs-control-text",textContent:" "+this.localize("Descriptions")}))),r}handleClick(e){if(super.handleClick(e),this.track.enabled=!0,this.player_.tech_.featuresNativeAudioTracks){const e=this.player_.audioTracks();for(let t=0;t<e.length;t++){const n=e[t];n!==this.track&&(n.enabled=n===this.track)}}}handleTracksChange(e){this.selected(this.track.enabled)}}jr.registerComponent("AudioTrackMenuItem",Ao);class Io extends mo{constructor(e,t={}){t.tracks=e.audioTracks(),super(e,t)}buildCSSClass(){return`vjs-audio-button ${super.buildCSSClass()}`}buildWrapperCSSClass(){return`vjs-audio-button ${super.buildWrapperCSSClass()}`}createItems(e=[]){this.hideThreshold_=1;const t=this.player_.audioTracks();for(let n=0;n<t.length;n++){const r=t[n];e.push(new Ao(this.player_,{track:r,selectable:!0,multiSelectable:!1}))}return e}}Io.prototype.controlText_="Audio Track",jr.registerComponent("AudioTrackButton",Io);class Po extends vo{constructor(e,t){const n=t.rate,r=parseFloat(n,10);t.label=n,t.selected=r===e.playbackRate(),t.selectable=!0,t.multiSelectable=!1,super(e,t),this.label=n,this.rate=r,this.on(e,"ratechange",(e=>this.update(e)))}handleClick(e){super.handleClick(),this.player().playbackRate(this.rate)}update(e){this.selected(this.player().playbackRate()===this.rate)}}Po.prototype.contentElType="button",jr.registerComponent("PlaybackRateMenuItem",Po);class Mo extends go{constructor(e,t){super(e,t),this.menuButton_.el_.setAttribute("aria-describedby",this.labelElId_),this.updateVisibility(),this.updateLabel(),this.on(e,"loadstart",(e=>this.updateVisibility(e))),this.on(e,"ratechange",(e=>this.updateLabel(e))),this.on(e,"playbackrateschange",(e=>this.handlePlaybackRateschange(e)))}createEl(){const e=super.createEl();return this.labelElId_="vjs-playback-rate-value-label-"+this.id_,this.labelEl_=vn("div",{className:"vjs-playback-rate-value",id:this.labelElId_,textContent:"1x"}),e.appendChild(this.labelEl_),e}dispose(){this.labelEl_=null,super.dispose()}buildCSSClass(){return`vjs-playback-rate ${super.buildCSSClass()}`}buildWrapperCSSClass(){return`vjs-playback-rate ${super.buildWrapperCSSClass()}`}createItems(){const e=this.playbackRates(),t=[];for(let n=e.length-1;n>=0;n--)t.push(new Po(this.player(),{rate:e[n]+"x"}));return t}handlePlaybackRateschange(e){this.update()}playbackRates(){const e=this.player();return e.playbackRates&&e.playbackRates()||[]}playbackRateSupported(){return this.player().tech_&&this.player().tech_.featuresPlaybackRate&&this.playbackRates()&&this.playbackRates().length>0}updateVisibility(e){this.playbackRateSupported()?this.removeClass("vjs-hidden"):this.addClass("vjs-hidden")}updateLabel(e){this.playbackRateSupported()&&(this.labelEl_.textContent=this.player().playbackRate()+"x")}}Mo.prototype.controlText_="Playback Rate",jr.registerComponent("PlaybackRateMenuButton",Mo);class Ro extends jr{buildCSSClass(){return`vjs-spacer ${super.buildCSSClass()}`}createEl(e="div",t={},n={}){return t.className||(t.className=this.buildCSSClass()),super.createEl(e,t,n)}}jr.registerComponent("Spacer",Ro);jr.registerComponent("CustomControlSpacer",class extends Ro{buildCSSClass(){return`vjs-custom-control-spacer ${super.buildCSSClass()}`}createEl(){return super.createEl("div",{className:this.buildCSSClass(),textContent:" "})}});class jo extends jr{createEl(){return super.createEl("div",{className:"vjs-control-bar",dir:"ltr"})}}jo.prototype.options_={children:["playToggle","skipBackward","skipForward","volumePanel","currentTimeDisplay","timeDivider","durationDisplay","progressControl","liveDisplay","seekToLive","remainingTimeDisplay","customControlSpacer","playbackRateMenuButton","chaptersButton","descriptionsButton","subsCapsButton","audioTrackButton","fullscreenToggle"]},"exitPictureInPicture"in a()&&jo.prototype.options_.children.splice(jo.prototype.options_.children.length-1,0,"pictureInPictureToggle"),jr.registerComponent("ControlBar",jo);class Do extends Qr{constructor(e,t){super(e,t),this.on(e,"error",(e=>this.open(e)))}buildCSSClass(){return`vjs-error-display ${super.buildCSSClass()}`}content(){const e=this.player().error();return e?this.localize(e.message):""}}Do.prototype.options_=Object.assign({},Qr.prototype.options_,{pauseOnOpen:!1,fillAlways:!0,temporary:!1,uncloseable:!0}),jr.registerComponent("ErrorDisplay",Do);const No="vjs-text-track-settings",Bo=["#000","Black"],Uo=["#00F","Blue"],Fo=["#0FF","Cyan"],zo=["#0F0","Green"],Ho=["#F0F","Magenta"],Zo=["#F00","Red"],qo=["#FFF","White"],Vo=["#FF0","Yellow"],Wo=["1","Opaque"],Go=["0.5","Semi-Transparent"],$o=["0","Transparent"],Yo={backgroundColor:{selector:".vjs-bg-color > select",id:"captions-background-color-%s",label:"Color",options:[Bo,qo,Zo,zo,Uo,Vo,Ho,Fo]},backgroundOpacity:{selector:".vjs-bg-opacity > select",id:"captions-background-opacity-%s",label:"Opacity",options:[Wo,Go,$o]},color:{selector:".vjs-text-color > select",id:"captions-foreground-color-%s",label:"Color",options:[qo,Bo,Zo,zo,Uo,Vo,Ho,Fo]},edgeStyle:{selector:".vjs-edge-style > select",id:"%s",label:"Text Edge Style",options:[["none","None"],["raised","Raised"],["depressed","Depressed"],["uniform","Uniform"],["dropshadow","Dropshadow"]]},fontFamily:{selector:".vjs-font-family > select",id:"captions-font-family-%s",label:"Font Family",options:[["proportionalSansSerif","Proportional Sans-Serif"],["monospaceSansSerif","Monospace Sans-Serif"],["proportionalSerif","Proportional Serif"],["monospaceSerif","Monospace Serif"],["casual","Casual"],["script","Script"],["small-caps","Small Caps"]]},fontPercent:{selector:".vjs-font-percent > select",id:"captions-font-size-%s",label:"Font Size",options:[["0.50","50%"],["0.75","75%"],["1.00","100%"],["1.25","125%"],["1.50","150%"],["1.75","175%"],["2.00","200%"],["3.00","300%"],["4.00","400%"]],default:2,parser:e=>"1.00"===e?null:Number(e)},textOpacity:{selector:".vjs-text-opacity > select",id:"captions-foreground-opacity-%s",label:"Opacity",options:[Wo,Go]},windowColor:{selector:".vjs-window-color > select",id:"captions-window-color-%s",label:"Color"},windowOpacity:{selector:".vjs-window-opacity > select",id:"captions-window-opacity-%s",label:"Opacity",options:[$o,Go,Wo]}};function Ko(e,t){if(t&&(e=t(e)),e&&"none"!==e)return e}Yo.windowColor.options=Yo.backgroundColor.options;jr.registerComponent("TextTrackSettings",class extends Qr{constructor(e,t){t.temporary=!1,super(e,t),this.updateDisplay=this.updateDisplay.bind(this),this.fill(),this.hasBeenOpened_=this.hasBeenFilled_=!0,this.endDialog=vn("p",{className:"vjs-control-text",textContent:this.localize("End of dialog window.")}),this.el().appendChild(this.endDialog),this.setDefaults(),void 0===t.persistTextTrackSettings&&(this.options_.persistTextTrackSettings=this.options_.playerOptions.persistTextTrackSettings),this.on(this.$(".vjs-done-button"),"click",(()=>{this.saveSettings(),this.close()})),this.on(this.$(".vjs-default-button"),"click",(()=>{this.setDefaults(),this.updateDisplay()})),Ut(Yo,(e=>{this.on(this.$(e.selector),"change",this.updateDisplay)})),this.options_.persistTextTrackSettings&&this.restoreSettings()}dispose(){this.endDialog=null,super.dispose()}createElSelect_(e,t="",n="label"){const r=Yo[e],i=r.id.replace("%s",this.id_),o=[t,i].join(" ").trim();return[`<${n} id="${i}" class="${"label"===n?"vjs-label":""}">`,this.localize(r.label),`</${n}>`,`<select aria-labelledby="${o}">`].concat(r.options.map((e=>{const t=i+"-"+e[1].replace(/\W+/g,"");return[`<option id="${t}" value="${e[0]}" `,`aria-labelledby="${o} ${t}">`,this.localize(e[1]),"</option>"].join("")}))).concat("</select>").join("")}createElFgColor_(){const e=`captions-text-legend-${this.id_}`;return['<fieldset class="vjs-fg vjs-track-setting">',`<legend id="${e}">`,this.localize("Text"),"</legend>",'<span class="vjs-text-color">',this.createElSelect_("color",e),"</span>",'<span class="vjs-text-opacity vjs-opacity">',this.createElSelect_("textOpacity",e),"</span>","</fieldset>"].join("")}createElBgColor_(){const e=`captions-background-${this.id_}`;return['<fieldset class="vjs-bg vjs-track-setting">',`<legend id="${e}">`,this.localize("Text Background"),"</legend>",'<span class="vjs-bg-color">',this.createElSelect_("backgroundColor",e),"</span>",'<span class="vjs-bg-opacity vjs-opacity">',this.createElSelect_("backgroundOpacity",e),"</span>","</fieldset>"].join("")}createElWinColor_(){const e=`captions-window-${this.id_}`;return['<fieldset class="vjs-window vjs-track-setting">',`<legend id="${e}">`,this.localize("Caption Area Background"),"</legend>",'<span class="vjs-window-color">',this.createElSelect_("windowColor",e),"</span>",'<span class="vjs-window-opacity vjs-opacity">',this.createElSelect_("windowOpacity",e),"</span>","</fieldset>"].join("")}createElColors_(){return vn("div",{className:"vjs-track-settings-colors",innerHTML:[this.createElFgColor_(),this.createElBgColor_(),this.createElWinColor_()].join("")})}createElFont_(){return vn("div",{className:"vjs-track-settings-font",innerHTML:['<fieldset class="vjs-font-percent vjs-track-setting">',this.createElSelect_("fontPercent","","legend"),"</fieldset>",'<fieldset class="vjs-edge-style vjs-track-setting">',this.createElSelect_("edgeStyle","","legend"),"</fieldset>",'<fieldset class="vjs-font-family vjs-track-setting">',this.createElSelect_("fontFamily","","legend"),"</fieldset>"].join("")})}createElControls_(){const e=this.localize("restore all settings to the default values");return vn("div",{className:"vjs-track-settings-controls",innerHTML:[`<button type="button" class="vjs-default-button" title="${e}">`,this.localize("Reset"),`<span class="vjs-control-text"> ${e}</span>`,"</button>",`<button type="button" class="vjs-done-button">${this.localize("Done")}</button>`].join("")})}content(){return[this.createElColors_(),this.createElFont_(),this.createElControls_()]}label(){return this.localize("Caption Settings Dialog")}description(){return this.localize("Beginning of dialog window. Escape will cancel and close the window.")}buildCSSClass(){return super.buildCSSClass()+" vjs-text-track-settings"}getValues(){return Ft(Yo,((e,t,n)=>{const r=(i=this.$(t.selector),o=t.parser,Ko(i.options[i.options.selectedIndex].value,o));var i,o;return void 0!==r&&(e[n]=r),e}),{})}setValues(e){Ut(Yo,((t,n)=>{!function(e,t,n){if(t)for(let r=0;r<e.options.length;r++)if(Ko(e.options[r].value,n)===t){e.selectedIndex=r;break}}(this.$(t.selector),e[n],t.parser)}))}setDefaults(){Ut(Yo,(e=>{const t=e.hasOwnProperty("default")?e.default:0;this.$(e.selector).selectedIndex=t}))}restoreSettings(){let e;try{e=JSON.parse(i().localStorage.getItem(No))}catch(e){jt.warn(e)}e&&this.setValues(e)}saveSettings(){if(!this.options_.persistTextTrackSettings)return;const e=this.getValues();try{Object.keys(e).length?i().localStorage.setItem(No,JSON.stringify(e)):i().localStorage.removeItem(No)}catch(e){jt.warn(e)}}updateDisplay(){const e=this.player_.getChild("textTrackDisplay");e&&e.updateDisplay()}conditionalBlur_(){this.previouslyActiveEl_=null;const e=this.player_.controlBar,t=e&&e.subsCapsButton,n=e&&e.captionsButton;t?t.focus():n&&n.focus()}handleLanguagechange(){this.fill()}});jr.registerComponent("ResizeManager",class extends jr{constructor(e,t){let n=t.ResizeObserver||i().ResizeObserver;null===t.ResizeObserver&&(n=!1);super(e,Zt({createEl:!n,reportTouchActivity:!1},t)),this.ResizeObserver=t.ResizeObserver||i().ResizeObserver,this.loadListener_=null,this.resizeObserver_=null,this.debouncedHandler_=gr((()=>{this.resizeHandler()}),100,!1,this),n?(this.resizeObserver_=new this.ResizeObserver(this.debouncedHandler_),this.resizeObserver_.observe(e.el())):(this.loadListener_=()=>{if(!this.el_||!this.el_.contentWindow)return;const e=this.debouncedHandler_;let t=this.unloadListener_=function(){sr(this,"resize",e),sr(this,"unload",t),t=null};ar(this.el_.contentWindow,"unload",t),ar(this.el_.contentWindow,"resize",e)},this.one("load",this.loadListener_))}createEl(){return super.createEl("iframe",{className:"vjs-resize-manager",tabIndex:-1,title:this.localize("No content")},{"aria-hidden":"true"})}resizeHandler(){this.player_&&this.player_.trigger&&this.player_.trigger("playerresize")}dispose(){this.debouncedHandler_&&this.debouncedHandler_.cancel(),this.resizeObserver_&&(this.player_.el()&&this.resizeObserver_.unobserve(this.player_.el()),this.resizeObserver_.disconnect()),this.loadListener_&&this.off("load",this.loadListener_),this.el_&&this.el_.contentWindow&&this.unloadListener_&&this.unloadListener_.call(this.el_.contentWindow),this.ResizeObserver=null,this.resizeObserver=null,this.debouncedHandler_=null,this.loadListener_=null,super.dispose()}});const Xo={trackingThreshold:20,liveTolerance:15};jr.registerComponent("LiveTracker",class extends jr{constructor(e,t){super(e,Zt(Xo,t,{createEl:!1})),this.trackLiveHandler_=()=>this.trackLive_(),this.handlePlay_=e=>this.handlePlay(e),this.handleFirstTimeupdate_=e=>this.handleFirstTimeupdate(e),this.handleSeeked_=e=>this.handleSeeked(e),this.seekToLiveEdge_=e=>this.seekToLiveEdge(e),this.reset_(),this.on(this.player_,"durationchange",(e=>this.handleDurationchange(e))),this.on(this.player_,"canplay",(()=>this.toggleTracking()))}trackLive_(){const e=this.player_.seekable();if(!e||!e.length)return;const t=Number(i().performance.now().toFixed(4)),n=-1===this.lastTime_?0:(t-this.lastTime_)/1e3;this.lastTime_=t,this.pastSeekEnd_=this.pastSeekEnd()+n;const r=this.liveCurrentTime(),o=this.player_.currentTime();let a=this.player_.paused()||this.seekedBehindLive_||Math.abs(r-o)>this.options_.liveTolerance;this.timeupdateSeen_&&r!==1/0||(a=!1),a!==this.behindLiveEdge_&&(this.behindLiveEdge_=a,this.trigger("liveedgechange"))}handleDurationchange(){this.toggleTracking()}toggleTracking(){this.player_.duration()===1/0&&this.liveWindow()>=this.options_.trackingThreshold?(this.player_.options_.liveui&&this.player_.addClass("vjs-liveui"),this.startTracking()):(this.player_.removeClass("vjs-liveui"),this.stopTracking())}startTracking(){this.isTracking()||(this.timeupdateSeen_||(this.timeupdateSeen_=this.player_.hasStarted()),this.trackingInterval_=this.setInterval(this.trackLiveHandler_,dr),this.trackLive_(),this.on(this.player_,["play","pause"],this.trackLiveHandler_),this.timeupdateSeen_?this.on(this.player_,"seeked",this.handleSeeked_):(this.one(this.player_,"play",this.handlePlay_),this.one(this.player_,"timeupdate",this.handleFirstTimeupdate_)))}handleFirstTimeupdate(){this.timeupdateSeen_=!0,this.on(this.player_,"seeked",this.handleSeeked_)}handleSeeked(){const e=Math.abs(this.liveCurrentTime()-this.player_.currentTime());this.seekedBehindLive_=this.nextSeekedFromUser_&&e>2,this.nextSeekedFromUser_=!1,this.trackLive_()}handlePlay(){this.one(this.player_,"timeupdate",this.seekToLiveEdge_)}reset_(){this.lastTime_=-1,this.pastSeekEnd_=0,this.lastSeekEnd_=-1,this.behindLiveEdge_=!0,this.timeupdateSeen_=!1,this.seekedBehindLive_=!1,this.nextSeekedFromUser_=!1,this.clearInterval(this.trackingInterval_),this.trackingInterval_=null,this.off(this.player_,["play","pause"],this.trackLiveHandler_),this.off(this.player_,"seeked",this.handleSeeked_),this.off(this.player_,"play",this.handlePlay_),this.off(this.player_,"timeupdate",this.handleFirstTimeupdate_),this.off(this.player_,"timeupdate",this.seekToLiveEdge_)}nextSeekedFromUser(){this.nextSeekedFromUser_=!0}stopTracking(){this.isTracking()&&(this.reset_(),this.trigger("liveedgechange"))}seekableEnd(){const e=this.player_.seekable(),t=[];let n=e?e.length:0;for(;n--;)t.push(e.end(n));return t.length?t.sort()[t.length-1]:1/0}seekableStart(){const e=this.player_.seekable(),t=[];let n=e?e.length:0;for(;n--;)t.push(e.start(n));return t.length?t.sort()[0]:0}liveWindow(){const e=this.liveCurrentTime();return e===1/0?0:e-this.seekableStart()}isLive(){return this.isTracking()}atLiveEdge(){return!this.behindLiveEdge()}liveCurrentTime(){return this.pastSeekEnd()+this.seekableEnd()}pastSeekEnd(){const e=this.seekableEnd();return-1!==this.lastSeekEnd_&&e!==this.lastSeekEnd_&&(this.pastSeekEnd_=0),this.lastSeekEnd_=e,this.pastSeekEnd_}behindLiveEdge(){return this.behindLiveEdge_}isTracking(){return"number"==typeof this.trackingInterval_}seekToLiveEdge(){this.seekedBehindLive_=!1,this.atLiveEdge()||(this.nextSeekedFromUser_=!1,this.player_.currentTime(this.liveCurrentTime()))}dispose(){this.stopTracking(),super.dispose()}});jr.registerComponent("TitleBar",class extends jr{constructor(e,t){super(e,t),this.on("statechanged",(e=>this.updateDom_())),this.updateDom_()}createEl(){return this.els={title:vn("div",{className:"vjs-title-bar-title",id:`vjs-title-bar-title-${tr()}`}),description:vn("div",{className:"vjs-title-bar-description",id:`vjs-title-bar-description-${tr()}`})},vn("div",{className:"vjs-title-bar"},{},Object.values(this.els))}updateDom_(){const e=this.player_.tech_,t=e&&e.el_,n={title:"aria-labelledby",description:"aria-describedby"};["title","description"].forEach((e=>{const r=this.state[e],i=this.els[e],o=n[e];Dn(i),r&&bn(i,r),t&&(t.removeAttribute(o),r&&t.setAttribute(o,i.id))})),this.state.title||this.state.description?this.show():this.hide()}update(e){this.setState(e)}dispose(){const e=this.player_.tech_,t=e&&e.el_;t&&(t.removeAttribute("aria-labelledby"),t.removeAttribute("aria-describedby")),super.dispose(),this.els=null}});const Qo=e=>{const t=e.el();if(t.hasAttribute("src"))return e.triggerSourceset(t.src),!0;const n=e.$$("source"),r=[];let i="";if(!n.length)return!1;for(let e=0;e<n.length;e++){const t=n[e].src;t&&-1===r.indexOf(t)&&r.push(t)}return!!r.length&&(1===r.length&&(i=r[0]),e.triggerSourceset(i),!0)},Jo=Object.defineProperty({},"innerHTML",{get(){return this.cloneNode(!0).innerHTML},set(e){const t=a().createElement(this.nodeName.toLowerCase());t.innerHTML=e;const n=a().createDocumentFragment();for(;t.childNodes.length;)n.appendChild(t.childNodes[0]);return this.innerText="",i().Element.prototype.appendChild.call(this,n),this.innerHTML}}),ea=(e,t)=>{let n={};for(let r=0;r<e.length&&(n=Object.getOwnPropertyDescriptor(e[r],t),!(n&&n.set&&n.get));r++);return n.enumerable=!0,n.configurable=!0,n},ta=function(e){const t=e.el();if(t.resetSourceWatch_)return;const n={},r=(e=>ea([e.el(),i().HTMLMediaElement.prototype,i().Element.prototype,Jo],"innerHTML"))(e),o=n=>(...r)=>{const i=n.apply(t,r);return Qo(e),i};["append","appendChild","insertAdjacentHTML"].forEach((e=>{t[e]&&(n[e]=t[e],t[e]=o(n[e]))})),Object.defineProperty(t,"innerHTML",Zt(r,{set:o(r.set)})),t.resetSourceWatch_=()=>{t.resetSourceWatch_=null,Object.keys(n).forEach((e=>{t[e]=n[e]})),Object.defineProperty(t,"innerHTML",r)},e.one("sourceset",t.resetSourceWatch_)},na=Object.defineProperty({},"src",{get(){return this.hasAttribute("src")?li(i().Element.prototype.getAttribute.call(this,"src")):""},set(e){return i().Element.prototype.setAttribute.call(this,"src",e),e}}),ra=function(e){if(!e.featuresSourceset)return;const t=e.el();if(t.resetSourceset_)return;const n=(e=>ea([e.el(),i().HTMLMediaElement.prototype,na],"src"))(e),r=t.setAttribute,o=t.load;Object.defineProperty(t,"src",Zt(n,{set:r=>{const i=n.set.call(t,r);return e.triggerSourceset(t.src),i}})),t.setAttribute=(n,i)=>{const o=r.call(t,n,i);return/src/i.test(n)&&e.triggerSourceset(t.src),o},t.load=()=>{const n=o.call(t);return Qo(e)||(e.triggerSourceset(""),ta(e)),n},t.currentSrc?e.triggerSourceset(t.currentSrc):Qo(e)||ta(e),t.resetSourceset_=()=>{t.resetSourceset_=null,t.load=o,t.setAttribute=r,Object.defineProperty(t,"src",n),t.resetSourceWatch_&&t.resetSourceWatch_()}};class ia extends xi{constructor(e,t){super(e,t);const n=e.source;let r=!1;if(this.featuresVideoFrameCallback=this.featuresVideoFrameCallback&&"VIDEO"===this.el_.tagName,n&&(this.el_.currentSrc!==n.src||e.tag&&3===e.tag.initNetworkState_)?this.setSource(n):this.handleLateInit_(this.el_),e.enableSourceset&&this.setupSourcesetHandling_(),this.isScrubbing_=!1,this.el_.hasChildNodes()){const e=this.el_.childNodes;let t=e.length;const n=[];for(;t--;){const i=e[t];"track"===i.nodeName.toLowerCase()&&(this.featuresNativeTextTracks?(this.remoteTextTrackEls().addTrackElement_(i),this.remoteTextTracks().addTrack(i.track),this.textTracks().addTrack(i.track),r||this.el_.hasAttribute("crossorigin")||!di(i.src)||(r=!0)):n.push(i))}for(let e=0;e<n.length;e++)this.el_.removeChild(n[e])}this.proxyNativeTracks_(),this.featuresNativeTextTracks&&r&&jt.warn("Text Tracks are being loaded from another origin but the crossorigin attribute isn't used.\nThis may prevent text tracks from loading."),this.restoreMetadataTracksInIOSNativePlayer_(),(un||sn)&&!0===e.nativeControlsForTouch&&this.setControls(!0),this.proxyWebkitFullscreen_(),this.triggerReady()}dispose(){this.el_&&this.el_.resetSourceset_&&this.el_.resetSourceset_(),ia.disposeMediaElement(this.el_),this.options_=null,super.dispose()}setupSourcesetHandling_(){ra(this)}restoreMetadataTracksInIOSNativePlayer_(){const e=this.textTracks();let t;const n=()=>{t=[];for(let n=0;n<e.length;n++){const r=e[n];"metadata"===r.kind&&t.push({track:r,storedMode:r.mode})}};n(),e.addEventListener("change",n),this.on("dispose",(()=>e.removeEventListener("change",n)));const r=()=>{for(let e=0;e<t.length;e++){const n=t[e];"disabled"===n.track.mode&&n.track.mode!==n.storedMode&&(n.track.mode=n.storedMode)}e.removeEventListener("change",r)};this.on("webkitbeginfullscreen",(()=>{e.removeEventListener("change",n),e.removeEventListener("change",r),e.addEventListener("change",r)})),this.on("webkitendfullscreen",(()=>{e.removeEventListener("change",n),e.addEventListener("change",n),e.removeEventListener("change",r)}))}overrideNative_(e,t){if(t!==this[`featuresNative${e}Tracks`])return;const n=e.toLowerCase();this[`${n}TracksListeners_`]&&Object.keys(this[`${n}TracksListeners_`]).forEach((e=>{this.el()[`${n}Tracks`].removeEventListener(e,this[`${n}TracksListeners_`][e])})),this[`featuresNative${e}Tracks`]=!t,this[`${n}TracksListeners_`]=null,this.proxyNativeTracksForType_(n)}overrideNativeAudioTracks(e){this.overrideNative_("Audio",e)}overrideNativeVideoTracks(e){this.overrideNative_("Video",e)}proxyNativeTracksForType_(e){const t=_i[e],n=this.el()[t.getterName],r=this[t.getterName]();if(!this[`featuresNative${t.capitalName}Tracks`]||!n||!n.addEventListener)return;const i={change:t=>{const n={type:"change",target:r,currentTarget:r,srcElement:r};r.trigger(n),"text"===e&&this[wi.remoteText.getterName]().trigger(n)},addtrack(e){r.addTrack(e.track)},removetrack(e){r.removeTrack(e.track)}},o=function(){const e=[];for(let t=0;t<r.length;t++){let i=!1;for(let e=0;e<n.length;e++)if(n[e]===r[t]){i=!0;break}i||e.push(r[t])}for(;e.length;)r.removeTrack(e.shift())};this[t.getterName+"Listeners_"]=i,Object.keys(i).forEach((e=>{const t=i[e];n.addEventListener(e,t),this.on("dispose",(r=>n.removeEventListener(e,t)))})),this.on("loadstart",o),this.on("dispose",(e=>this.off("loadstart",o)))}proxyNativeTracks_(){_i.names.forEach((e=>{this.proxyNativeTracksForType_(e)}))}createEl(){let e=this.options_.tag;if(!e||!this.options_.playerElIngest&&!this.movingMediaElementInDOM){if(e){const t=e.cloneNode(!0);e.parentNode&&e.parentNode.insertBefore(t,e),ia.disposeMediaElement(e),e=t}else{e=a().createElement("video");const t=Zt({},this.options_.tag&&En(this.options_.tag));un&&!0===this.options_.nativeControlsForTouch||delete t.controls,kn(e,Object.assign(t,{id:this.options_.techId,class:"vjs-tech"}))}e.playerId=this.options_.playerId}void 0!==this.options_.preload&&Cn(e,"preload",this.options_.preload),void 0!==this.options_.disablePictureInPicture&&(e.disablePictureInPicture=this.options_.disablePictureInPicture);const t=["loop","muted","playsinline","autoplay"];for(let n=0;n<t.length;n++){const r=t[n],i=this.options_[r];void 0!==i&&(i?Cn(e,r,r):Ln(e,r),e[r]=i)}return e}handleLateInit_(e){if(0===e.networkState||3===e.networkState)return;if(0===e.readyState){let e=!1;const t=function(){e=!0};this.on("loadstart",t);const n=function(){e||this.trigger("loadstart")};return this.on("loadedmetadata",n),void this.ready((function(){this.off("loadstart",t),this.off("loadedmetadata",n),e||this.trigger("loadstart")}))}const t=["loadstart"];t.push("loadedmetadata"),e.readyState>=2&&t.push("loadeddata"),e.readyState>=3&&t.push("canplay"),e.readyState>=4&&t.push("canplaythrough"),this.ready((function(){t.forEach((function(e){this.trigger(e)}),this)}))}setScrubbing(e){this.isScrubbing_=e}scrubbing(){return this.isScrubbing_}setCurrentTime(e){try{this.isScrubbing_&&this.el_.fastSeek&&fn?this.el_.fastSeek(e):this.el_.currentTime=e}catch(e){jt(e,"Video is not ready. (Video.js)")}}duration(){if(this.el_.duration===1/0&&Yt&&Jt&&0===this.el_.currentTime){const e=()=>{this.el_.currentTime>0&&(this.el_.duration===1/0&&this.trigger("durationchange"),this.off("timeupdate",e))};return this.on("timeupdate",e),NaN}return this.el_.duration||NaN}width(){return this.el_.offsetWidth}height(){return this.el_.offsetHeight}proxyWebkitFullscreen_(){if(!("webkitDisplayingFullscreen"in this.el_))return;const e=function(){this.trigger("fullscreenchange",{isFullscreen:!1}),this.el_.controls&&!this.options_.nativeControlsForTouch&&this.controls()&&(this.el_.controls=!1)},t=function(){"webkitPresentationMode"in this.el_&&"picture-in-picture"!==this.el_.webkitPresentationMode&&(this.one("webkitendfullscreen",e),this.trigger("fullscreenchange",{isFullscreen:!0,nativeIOSFullscreen:!0}))};this.on("webkitbeginfullscreen",t),this.on("dispose",(()=>{this.off("webkitbeginfullscreen",t),this.off("webkitendfullscreen",e)}))}supportsFullScreen(){return"function"==typeof this.el_.webkitEnterFullScreen}enterFullScreen(){const e=this.el_;if(e.paused&&e.networkState<=e.HAVE_METADATA)$r(this.el_.play()),this.setTimeout((function(){e.pause();try{e.webkitEnterFullScreen()}catch(e){this.trigger("fullscreenerror",e)}}),0);else try{e.webkitEnterFullScreen()}catch(e){this.trigger("fullscreenerror",e)}}exitFullScreen(){this.el_.webkitDisplayingFullscreen?this.el_.webkitExitFullScreen():this.trigger("fullscreenerror",new Error("The video is not fullscreen"))}requestPictureInPicture(){return this.el_.requestPictureInPicture()}requestVideoFrameCallback(e){return this.featuresVideoFrameCallback&&!this.el_.webkitKeys?this.el_.requestVideoFrameCallback(e):super.requestVideoFrameCallback(e)}cancelVideoFrameCallback(e){this.featuresVideoFrameCallback&&!this.el_.webkitKeys?this.el_.cancelVideoFrameCallback(e):super.cancelVideoFrameCallback(e)}src(e){if(void 0===e)return this.el_.src;this.setSrc(e)}reset(){ia.resetMediaElement(this.el_)}currentSrc(){return this.currentSource_?this.currentSource_.src:this.el_.currentSrc}setControls(e){this.el_.controls=!!e}addTextTrack(e,t,n){return this.featuresNativeTextTracks?this.el_.addTextTrack(e,t,n):super.addTextTrack(e,t,n)}createRemoteTextTrack(e){if(!this.featuresNativeTextTracks)return super.createRemoteTextTrack(e);const t=a().createElement("track");return e.kind&&(t.kind=e.kind),e.label&&(t.label=e.label),(e.language||e.srclang)&&(t.srclang=e.language||e.srclang),e.default&&(t.default=e.default),e.id&&(t.id=e.id),e.src&&(t.src=e.src),t}addRemoteTextTrack(e,t){const n=super.addRemoteTextTrack(e,t);return this.featuresNativeTextTracks&&this.el().appendChild(n),n}removeRemoteTextTrack(e){if(super.removeRemoteTextTrack(e),this.featuresNativeTextTracks){const t=this.$$("track");let n=t.length;for(;n--;)e!==t[n]&&e!==t[n].track||this.el().removeChild(t[n])}}getVideoPlaybackQuality(){if("function"==typeof this.el().getVideoPlaybackQuality)return this.el().getVideoPlaybackQuality();const e={};return void 0!==this.el().webkitDroppedFrameCount&&void 0!==this.el().webkitDecodedFrameCount&&(e.droppedVideoFrames=this.el().webkitDroppedFrameCount,e.totalVideoFrames=this.el().webkitDecodedFrameCount),i().performance&&(e.creationTime=i().performance.now()),e}}qt(ia,"TEST_VID",(function(){if(!hn())return;const e=a().createElement("video"),t=a().createElement("track");return t.kind="captions",t.srclang="en",t.label="English",e.appendChild(t),e})),ia.isSupported=function(){try{ia.TEST_VID.volume=.5}catch(e){return!1}return!(!ia.TEST_VID||!ia.TEST_VID.canPlayType)},ia.canPlayType=function(e){return ia.TEST_VID.canPlayType(e)},ia.canPlaySource=function(e,t){return ia.canPlayType(e.type)},ia.canControlVolume=function(){try{const e=ia.TEST_VID.volume;ia.TEST_VID.volume=e/2+.1;const t=e!==ia.TEST_VID.volume;return t&&ln?(i().setTimeout((()=>{ia&&ia.prototype&&(ia.prototype.featuresVolumeControl=e!==ia.TEST_VID.volume)})),!1):t}catch(e){return!1}},ia.canMuteVolume=function(){try{const e=ia.TEST_VID.muted;return ia.TEST_VID.muted=!e,ia.TEST_VID.muted?Cn(ia.TEST_VID,"muted","muted"):Ln(ia.TEST_VID,"muted"),e!==ia.TEST_VID.muted}catch(e){return!1}},ia.canControlPlaybackRate=function(){if(Yt&&Jt&&tn<58)return!1;try{const e=ia.TEST_VID.playbackRate;return ia.TEST_VID.playbackRate=e/2+.1,e!==ia.TEST_VID.playbackRate}catch(e){return!1}},ia.canOverrideAttributes=function(){try{const e=()=>{};Object.defineProperty(a().createElement("video"),"src",{get:e,set:e}),Object.defineProperty(a().createElement("audio"),"src",{get:e,set:e}),Object.defineProperty(a().createElement("video"),"innerHTML",{get:e,set:e}),Object.defineProperty(a().createElement("audio"),"innerHTML",{get:e,set:e})}catch(e){return!1}return!0},ia.supportsNativeTextTracks=function(){return fn||ln&&Jt},ia.supportsNativeVideoTracks=function(){return!(!ia.TEST_VID||!ia.TEST_VID.videoTracks)},ia.supportsNativeAudioTracks=function(){return!(!ia.TEST_VID||!ia.TEST_VID.audioTracks)},ia.Events=["loadstart","suspend","abort","error","emptied","stalled","loadedmetadata","loadeddata","canplay","canplaythrough","playing","waiting","seeking","seeked","ended","durationchange","timeupdate","progress","play","pause","ratechange","resize","volumechange"],[["featuresMuteControl","canMuteVolume"],["featuresPlaybackRate","canControlPlaybackRate"],["featuresSourceset","canOverrideAttributes"],["featuresNativeTextTracks","supportsNativeTextTracks"],["featuresNativeVideoTracks","supportsNativeVideoTracks"],["featuresNativeAudioTracks","supportsNativeAudioTracks"]].forEach((function([e,t]){qt(ia.prototype,e,(()=>ia[t]()),!0)})),ia.prototype.featuresVolumeControl=ia.canControlVolume(),ia.prototype.movingMediaElementInDOM=!ln,ia.prototype.featuresFullscreenResize=!0,ia.prototype.featuresProgressEvents=!0,ia.prototype.featuresTimeupdateEvents=!0,ia.prototype.featuresVideoFrameCallback=!(!ia.TEST_VID||!ia.TEST_VID.requestVideoFrameCallback),ia.disposeMediaElement=function(e){if(e){for(e.parentNode&&e.parentNode.removeChild(e);e.hasChildNodes();)e.removeChild(e.firstChild);e.removeAttribute("src"),"function"==typeof e.load&&function(){try{e.load()}catch(e){}}()}},ia.resetMediaElement=function(e){if(!e)return;const t=e.querySelectorAll("source");let n=t.length;for(;n--;)e.removeChild(t[n]);e.removeAttribute("src"),"function"==typeof e.load&&function(){try{e.load()}catch(e){}}()},["muted","defaultMuted","autoplay","controls","loop","playsinline"].forEach((function(e){ia.prototype[e]=function(){return this.el_[e]||this.el_.hasAttribute(e)}})),["muted","defaultMuted","autoplay","loop","playsinline"].forEach((function(e){ia.prototype["set"+Pr(e)]=function(t){this.el_[e]=t,t?this.el_.setAttribute(e,e):this.el_.removeAttribute(e)}})),["paused","currentTime","buffered","volume","poster","preload","error","seeking","seekable","ended","playbackRate","defaultPlaybackRate","disablePictureInPicture","played","networkState","readyState","videoWidth","videoHeight","crossOrigin"].forEach((function(e){ia.prototype[e]=function(){return this.el_[e]}})),["volume","src","poster","preload","playbackRate","defaultPlaybackRate","disablePictureInPicture","crossOrigin"].forEach((function(e){ia.prototype["set"+Pr(e)]=function(t){this.el_[e]=t}})),["pause","load","play"].forEach((function(e){ia.prototype[e]=function(){return this.el_[e]()}})),xi.withSourceHandlers(ia),ia.nativeSourceHandler={},ia.nativeSourceHandler.canPlayType=function(e){try{return ia.TEST_VID.canPlayType(e)}catch(e){return""}},ia.nativeSourceHandler.canHandleSource=function(e,t){if(e.type)return ia.nativeSourceHandler.canPlayType(e.type);if(e.src){const t=fi(e.src);return ia.nativeSourceHandler.canPlayType(`video/${t}`)}return""},ia.nativeSourceHandler.handleSource=function(e,t,n){t.setSrc(e.src)},ia.nativeSourceHandler.dispose=function(){},ia.registerSourceHandler(ia.nativeSourceHandler),xi.registerTech("Html5",ia);const oa=["progress","abort","suspend","emptied","stalled","loadedmetadata","loadeddata","timeupdate","resize","volumechange","texttrackchange"],aa={canplay:"CanPlay",canplaythrough:"CanPlayThrough",playing:"Playing",seeked:"Seeked"},sa=["tiny","xsmall","small","medium","large","xlarge","huge"],ua={};sa.forEach((e=>{const t="x"===e.charAt(0)?`x-${e.substring(1)}`:e;ua[e]=`vjs-layout-${t}`}));const ca={tiny:210,xsmall:320,small:425,medium:768,large:1440,xlarge:2560,huge:1/0};class la extends jr{constructor(e,t,n){if(e.id=e.id||t.id||`vjs_video_${tr()}`,(t=Object.assign(la.getTagSettings(e),t)).initChildren=!1,t.createEl=!1,t.evented=!1,t.reportTouchActivity=!1,!t.language){const n=e.closest("[lang]");n&&(t.language=n.getAttribute("lang"))}if(super(null,t,n),this.boundDocumentFullscreenChange_=e=>this.documentFullscreenChange_(e),this.boundFullWindowOnEscKey_=e=>this.fullWindowOnEscKey(e),this.boundUpdateStyleEl_=e=>this.updateStyleEl_(e),this.boundApplyInitTime_=e=>this.applyInitTime_(e),this.boundUpdateCurrentBreakpoint_=e=>this.updateCurrentBreakpoint_(e),this.boundHandleTechClick_=e=>this.handleTechClick_(e),this.boundHandleTechDoubleClick_=e=>this.handleTechDoubleClick_(e),this.boundHandleTechTouchStart_=e=>this.handleTechTouchStart_(e),this.boundHandleTechTouchMove_=e=>this.handleTechTouchMove_(e),this.boundHandleTechTouchEnd_=e=>this.handleTechTouchEnd_(e),this.boundHandleTechTap_=e=>this.handleTechTap_(e),this.isFullscreen_=!1,this.log=Dt(this.id_),this.fsApi_=At,this.isPosterFromTech_=!1,this.queuedCallbacks_=[],this.isReady_=!1,this.hasStarted_=!1,this.userActive_=!1,this.debugEnabled_=!1,this.audioOnlyMode_=!1,this.audioPosterMode_=!1,this.audioOnlyCache_={playerHeight:null,hiddenChildren:[]},!this.options_||!this.options_.techOrder||!this.options_.techOrder.length)throw new Error("No techOrder specified. Did you overwrite videojs.options instead of just changing the properties you want to override?");if(this.tag=e,this.tagAttributes=e&&En(e),this.language(this.options_.language),t.languages){const e={};Object.getOwnPropertyNames(t.languages).forEach((function(n){e[n.toLowerCase()]=t.languages[n]})),this.languages_=e}else this.languages_=la.prototype.options_.languages;this.resetCache_(),this.poster_=t.poster||"",this.controls_=!!t.controls,e.controls=!1,e.removeAttribute("controls"),this.changingSrc_=!1,this.playCallbacks_=[],this.playTerminatedQueue_=[],e.hasAttribute("autoplay")?this.autoplay(!0):this.autoplay(this.options_.autoplay),t.plugins&&Object.keys(t.plugins).forEach((e=>{if("function"!=typeof this[e])throw new Error(`plugin "${e}" does not exist`)})),this.scrubbing_=!1,this.el_=this.createEl(),Cr(this,{eventBusKey:"el_"}),this.fsApi_.requestFullscreen&&(ar(a(),this.fsApi_.fullscreenchange,this.boundDocumentFullscreenChange_),this.on(this.fsApi_.fullscreenchange,this.boundDocumentFullscreenChange_)),this.fluid_&&this.on(["playerreset","resize"],this.boundUpdateStyleEl_);const r=Zt(this.options_);t.plugins&&Object.keys(t.plugins).forEach((e=>{this[e](t.plugins[e])})),t.debug&&this.debug(!0),this.options_.playerOptions=r,this.middleware_=[],this.playbackRates(t.playbackRates),this.initChildren(),this.isAudio("audio"===e.nodeName.toLowerCase()),this.controls()?this.addClass("vjs-controls-enabled"):this.addClass("vjs-controls-disabled"),this.el_.setAttribute("role","region"),this.isAudio()?this.el_.setAttribute("aria-label",this.localize("Audio Player")):this.el_.setAttribute("aria-label",this.localize("Video Player")),this.isAudio()&&this.addClass("vjs-audio"),un&&this.addClass("vjs-touch-enabled"),ln||this.addClass("vjs-workinghover"),la.players[this.id_]=this;const i=Et.split(".")[0];this.addClass(`vjs-v${i}`),this.userActive(!0),this.reportUserActivity(),this.one("play",(e=>this.listenForUserActivity_(e))),this.on("keydown",(e=>this.handleKeyDown(e))),this.on("languagechange",(e=>this.handleLanguagechange(e))),this.breakpoints(this.options_.breakpoints),this.responsive(this.options_.responsive),this.on("ready",(()=>{this.audioPosterMode(this.options_.audioPosterMode),this.audioOnlyMode(this.options_.audioOnlyMode)}))}dispose(){this.trigger("dispose"),this.off("dispose"),sr(a(),this.fsApi_.fullscreenchange,this.boundDocumentFullscreenChange_),sr(a(),"keydown",this.boundFullWindowOnEscKey_),this.styleEl_&&this.styleEl_.parentNode&&(this.styleEl_.parentNode.removeChild(this.styleEl_),this.styleEl_=null),la.players[this.id_]=null,this.tag&&this.tag.player&&(this.tag.player=null),this.el_&&this.el_.player&&(this.el_.player=null),this.tech_&&(this.tech_.dispose(),this.isPosterFromTech_=!1,this.poster_=""),this.playerElIngest_&&(this.playerElIngest_=null),this.tag&&(this.tag=null),ki[this.id()]=null,Ti.names.forEach((e=>{const t=this[Ti[e].getterName]();t&&t.off&&t.off()})),super.dispose({restoreEl:this.options_.restoreEl})}createEl(){let e,t=this.tag,n=this.playerElIngest_=t.parentNode&&t.parentNode.hasAttribute&&t.parentNode.hasAttribute("data-vjs-player");const r="video-js"===this.tag.tagName.toLowerCase();n?e=this.el_=t.parentNode:r||(e=this.el_=super.createEl("div"));const o=En(t);if(r){for(e=this.el_=t,t=this.tag=a().createElement("video");e.children.length;)t.appendChild(e.firstChild);wn(e,"video-js")||Tn(e,"video-js"),e.appendChild(t),n=this.playerElIngest_=e,Object.keys(e).forEach((n=>{try{t[n]=e[n]}catch(e){}}))}if(t.setAttribute("tabindex","-1"),o.tabindex="-1",Jt&&on&&(t.setAttribute("role","application"),o.role="application"),t.removeAttribute("width"),t.removeAttribute("height"),"width"in o&&delete o.width,"height"in o&&delete o.height,Object.getOwnPropertyNames(o).forEach((function(n){r&&"class"===n||e.setAttribute(n,o[n]),r&&t.setAttribute(n,o[n])})),t.playerId=t.id,t.id+="_html5_api",t.className="vjs-tech",t.player=e.player=this,this.addClass("vjs-paused"),!0!==i().VIDEOJS_NO_DYNAMIC_STYLE){this.styleEl_=Kn("vjs-styles-dimensions");const e=zn(".vjs-styles-defaults"),t=zn("head");t.insertBefore(this.styleEl_,e?e.nextSibling:t.firstChild)}this.fill_=!1,this.fluid_=!1,this.width(this.options_.width),this.height(this.options_.height),this.fill(this.options_.fill),this.fluid(this.options_.fluid),this.aspectRatio(this.options_.aspectRatio),this.crossOrigin(this.options_.crossOrigin||this.options_.crossorigin);const s=t.getElementsByTagName("a");for(let e=0;e<s.length;e++){const t=s.item(e);Tn(t,"vjs-hidden"),t.setAttribute("hidden","hidden")}return t.initNetworkState_=t.networkState,t.parentNode&&!n&&t.parentNode.insertBefore(e,t),_n(t,e),this.children_.unshift(t),this.el_.setAttribute("lang",this.language_),this.el_.setAttribute("translate","no"),this.el_=e,e}crossOrigin(e){if(void 0===e)return this.techGet_("crossOrigin");null===e||"anonymous"===e||"use-credentials"===e?(this.techCall_("setCrossOrigin",e),this.posterImage&&this.posterImage.crossOrigin(e)):jt.warn(`crossOrigin must be null,  "anonymous" or "use-credentials", given "${e}"`)}width(e){return this.dimension("width",e)}height(e){return this.dimension("height",e)}dimension(e,t){const n=e+"_";if(void 0===t)return this[n]||0;if(""===t||"auto"===t)return this[n]=void 0,void this.updateStyleEl_();const r=parseFloat(t);isNaN(r)?jt.error(`Improper value "${t}" supplied for for ${e}`):(this[n]=r,this.updateStyleEl_())}fluid(e){if(void 0===e)return!!this.fluid_;var t,n;this.fluid_=!!e,_r(this)&&this.off(["playerreset","resize"],this.boundUpdateStyleEl_),e?(this.addClass("vjs-fluid"),this.fill(!1),n=()=>{this.on(["playerreset","resize"],this.boundUpdateStyleEl_)},_r(t=this)?n():(t.eventedCallbacks||(t.eventedCallbacks=[]),t.eventedCallbacks.push(n))):this.removeClass("vjs-fluid"),this.updateStyleEl_()}fill(e){if(void 0===e)return!!this.fill_;this.fill_=!!e,e?(this.addClass("vjs-fill"),this.fluid(!1)):this.removeClass("vjs-fill")}aspectRatio(e){if(void 0===e)return this.aspectRatio_;if(!/^\d+\:\d+$/.test(e))throw new Error("Improper value supplied for aspect ratio. The format should be width:height, for example 16:9.");this.aspectRatio_=e,this.fluid(!0),this.updateStyleEl_()}updateStyleEl_(){if(!0===i().VIDEOJS_NO_DYNAMIC_STYLE){const e="number"==typeof this.width_?this.width_:this.options_.width,t="number"==typeof this.height_?this.height_:this.options_.height,n=this.tech_&&this.tech_.el();return void(n&&(e>=0&&(n.width=e),t>=0&&(n.height=t)))}let e,t,n,r;n=void 0!==this.aspectRatio_&&"auto"!==this.aspectRatio_?this.aspectRatio_:this.videoWidth()>0?this.videoWidth()+":"+this.videoHeight():"16:9";const o=n.split(":"),a=o[1]/o[0];e=void 0!==this.width_?this.width_:void 0!==this.height_?this.height_/a:this.videoWidth()||300,t=void 0!==this.height_?this.height_:e*a,r=/^[^a-zA-Z]/.test(this.id())?"dimensions-"+this.id():this.id()+"-dimensions",this.addClass(r),Xn(this.styleEl_,`\n      .${r} {\n        width: ${e}px;\n        height: ${t}px;\n      }\n\n      .${r}.vjs-fluid:not(.vjs-audio-only-mode) {\n        padding-top: ${100*a}%;\n      }\n    `)}loadTech_(e,t){this.tech_&&this.unloadTech_();const n=Pr(e),r=e.charAt(0).toLowerCase()+e.slice(1);"Html5"!==n&&this.tag&&(xi.getTech("Html5").disposeMediaElement(this.tag),this.tag.player=null,this.tag=null),this.techName_=n,this.isReady_=!1;let i=this.autoplay();("string"==typeof this.autoplay()||!0===this.autoplay()&&this.options_.normalizeAutoplay)&&(i=!1);const o={source:t,autoplay:i,nativeControlsForTouch:this.options_.nativeControlsForTouch,playerId:this.id(),techId:`${this.id()}_${r}_api`,playsinline:this.options_.playsinline,preload:this.options_.preload,loop:this.options_.loop,disablePictureInPicture:this.options_.disablePictureInPicture,muted:this.options_.muted,poster:this.poster(),language:this.language(),playerElIngest:this.playerElIngest_||!1,"vtt.js":this.options_["vtt.js"],canOverridePoster:!!this.options_.techCanOverridePoster,enableSourceset:this.options_.enableSourceset};Ti.names.forEach((e=>{const t=Ti[e];o[t.getterName]=this[t.privateName]})),Object.assign(o,this.options_[n]),Object.assign(o,this.options_[r]),Object.assign(o,this.options_[e.toLowerCase()]),this.tag&&(o.tag=this.tag),t&&t.src===this.cache_.src&&this.cache_.currentTime>0&&(o.startTime=this.cache_.currentTime);const a=xi.getTech(e);if(!a)throw new Error(`No Tech named '${n}' exists! '${n}' should be registered using videojs.registerTech()'`);this.tech_=new a(o),this.tech_.ready(pr(this,this.handleTechReady_),!0),Xr(this.textTracksJson_||[],this.tech_),oa.forEach((e=>{this.on(this.tech_,e,(t=>this[`handleTech${Pr(e)}_`](t)))})),Object.keys(aa).forEach((e=>{this.on(this.tech_,e,(t=>{0===this.tech_.playbackRate()&&this.tech_.seeking()?this.queuedCallbacks_.push({callback:this[`handleTech${aa[e]}_`].bind(this),event:t}):this[`handleTech${aa[e]}_`](t)}))})),this.on(this.tech_,"loadstart",(e=>this.handleTechLoadStart_(e))),this.on(this.tech_,"sourceset",(e=>this.handleTechSourceset_(e))),this.on(this.tech_,"waiting",(e=>this.handleTechWaiting_(e))),this.on(this.tech_,"ended",(e=>this.handleTechEnded_(e))),this.on(this.tech_,"seeking",(e=>this.handleTechSeeking_(e))),this.on(this.tech_,"play",(e=>this.handleTechPlay_(e))),this.on(this.tech_,"pause",(e=>this.handleTechPause_(e))),this.on(this.tech_,"durationchange",(e=>this.handleTechDurationChange_(e))),this.on(this.tech_,"fullscreenchange",((e,t)=>this.handleTechFullscreenChange_(e,t))),this.on(this.tech_,"fullscreenerror",((e,t)=>this.handleTechFullscreenError_(e,t))),this.on(this.tech_,"enterpictureinpicture",(e=>this.handleTechEnterPictureInPicture_(e))),this.on(this.tech_,"leavepictureinpicture",(e=>this.handleTechLeavePictureInPicture_(e))),this.on(this.tech_,"error",(e=>this.handleTechError_(e))),this.on(this.tech_,"posterchange",(e=>this.handleTechPosterChange_(e))),this.on(this.tech_,"textdata",(e=>this.handleTechTextData_(e))),this.on(this.tech_,"ratechange",(e=>this.handleTechRateChange_(e))),this.on(this.tech_,"loadedmetadata",this.boundUpdateStyleEl_),this.usingNativeControls(this.techGet_("controls")),this.controls()&&!this.usingNativeControls()&&this.addTechControlsListeners_(),this.tech_.el().parentNode===this.el()||"Html5"===n&&this.tag||_n(this.tech_.el(),this.el()),this.tag&&(this.tag.player=null,this.tag=null)}unloadTech_(){Ti.names.forEach((e=>{const t=Ti[e];this[t.privateName]=this[t.getterName]()})),this.textTracksJson_=Kr(this.tech_),this.isReady_=!1,this.tech_.dispose(),this.tech_=!1,this.isPosterFromTech_&&(this.poster_="",this.trigger("posterchange")),this.isPosterFromTech_=!1}tech(e){return void 0===e&&jt.warn("Using the tech directly can be dangerous. I hope you know what you're doing.\nSee https://github.com/videojs/video.js/issues/2617 for more info.\n"),this.tech_}addTechControlsListeners_(){this.removeTechControlsListeners_(),this.on(this.tech_,"click",this.boundHandleTechClick_),this.on(this.tech_,"dblclick",this.boundHandleTechDoubleClick_),this.on(this.tech_,"touchstart",this.boundHandleTechTouchStart_),this.on(this.tech_,"touchmove",this.boundHandleTechTouchMove_),this.on(this.tech_,"touchend",this.boundHandleTechTouchEnd_),this.on(this.tech_,"tap",this.boundHandleTechTap_)}removeTechControlsListeners_(){this.off(this.tech_,"tap",this.boundHandleTechTap_),this.off(this.tech_,"touchstart",this.boundHandleTechTouchStart_),this.off(this.tech_,"touchmove",this.boundHandleTechTouchMove_),this.off(this.tech_,"touchend",this.boundHandleTechTouchEnd_),this.off(this.tech_,"click",this.boundHandleTechClick_),this.off(this.tech_,"dblclick",this.boundHandleTechDoubleClick_)}handleTechReady_(){this.triggerReady(),this.cache_.volume&&this.techCall_("setVolume",this.cache_.volume),this.handleTechPosterChange_(),this.handleTechDurationChange_()}handleTechLoadStart_(){this.removeClass("vjs-ended","vjs-seeking"),this.error(null),this.handleTechDurationChange_(),this.paused()?(this.hasStarted(!1),this.trigger("loadstart")):this.trigger("loadstart"),this.manualAutoplay_(!0===this.autoplay()&&this.options_.normalizeAutoplay?"play":this.autoplay())}manualAutoplay_(e){if(!this.tech_||"string"!=typeof e)return;const t=()=>{const e=this.muted();this.muted(!0);const t=()=>{this.muted(e)};this.playTerminatedQueue_.push(t);const n=this.play();if(Gr(n))return n.catch((e=>{throw t(),new Error(`Rejection at manualAutoplay. Restoring muted value. ${e||""}`)}))};let n;return"any"!==e||this.muted()?n="muted"!==e||this.muted()?this.play():t():(n=this.play(),Gr(n)&&(n=n.catch(t))),Gr(n)?n.then((()=>{this.trigger({type:"autoplay-success",autoplay:e})})).catch((()=>{this.trigger({type:"autoplay-failure",autoplay:e})})):void 0}updateSourceCaches_(e=""){let t=e,n="";"string"!=typeof t&&(t=e.src,n=e.type),this.cache_.source=this.cache_.source||{},this.cache_.sources=this.cache_.sources||[],t&&!n&&(n=((e,t)=>{if(!t)return"";if(e.cache_.source.src===t&&e.cache_.source.type)return e.cache_.source.type;const n=e.cache_.sources.filter((e=>e.src===t));if(n.length)return n[0].type;const r=e.$$("source");for(let e=0;e<r.length;e++){const n=r[e];if(n.type&&n.src&&n.src===t)return n.type}return ji(t)})(this,t)),this.cache_.source=Zt({},e,{src:t,type:n});const r=this.cache_.sources.filter((e=>e.src&&e.src===t)),i=[],o=this.$$("source"),a=[];for(let e=0;e<o.length;e++){const n=En(o[e]);i.push(n),n.src&&n.src===t&&a.push(n.src)}a.length&&!r.length?this.cache_.sources=i:r.length||(this.cache_.sources=[this.cache_.source]),this.cache_.src=t}handleTechSourceset_(e){if(!this.changingSrc_){let t=e=>this.updateSourceCaches_(e);const n=this.currentSource().src,r=e.src;n&&!/^blob:/.test(n)&&/^blob:/.test(r)&&(!this.lastSource_||this.lastSource_.tech!==r&&this.lastSource_.player!==n)&&(t=()=>{}),t(r),e.src||this.tech_.any(["sourceset","loadstart"],(e=>{if("sourceset"===e.type)return;const t=this.techGet("currentSrc");this.lastSource_.tech=t,this.updateSourceCaches_(t)}))}this.lastSource_={player:this.currentSource().src,tech:e.src},this.trigger({src:e.src,type:"sourceset"})}hasStarted(e){if(void 0===e)return this.hasStarted_;e!==this.hasStarted_&&(this.hasStarted_=e,this.hasStarted_?this.addClass("vjs-has-started"):this.removeClass("vjs-has-started"))}handleTechPlay_(){this.removeClass("vjs-ended","vjs-paused"),this.addClass("vjs-playing"),this.hasStarted(!0),this.trigger("play")}handleTechRateChange_(){this.tech_.playbackRate()>0&&0===this.cache_.lastPlaybackRate&&(this.queuedCallbacks_.forEach((e=>e.callback(e.event))),this.queuedCallbacks_=[]),this.cache_.lastPlaybackRate=this.tech_.playbackRate(),this.trigger("ratechange")}handleTechWaiting_(){this.addClass("vjs-waiting"),this.trigger("waiting");const e=this.currentTime(),t=()=>{e!==this.currentTime()&&(this.removeClass("vjs-waiting"),this.off("timeupdate",t))};this.on("timeupdate",t)}handleTechCanPlay_(){this.removeClass("vjs-waiting"),this.trigger("canplay")}handleTechCanPlayThrough_(){this.removeClass("vjs-waiting"),this.trigger("canplaythrough")}handleTechPlaying_(){this.removeClass("vjs-waiting"),this.trigger("playing")}handleTechSeeking_(){this.addClass("vjs-seeking"),this.trigger("seeking")}handleTechSeeked_(){this.removeClass("vjs-seeking","vjs-ended"),this.trigger("seeked")}handleTechPause_(){this.removeClass("vjs-playing"),this.addClass("vjs-paused"),this.trigger("pause")}handleTechEnded_(){this.addClass("vjs-ended"),this.removeClass("vjs-waiting"),this.options_.loop?(this.currentTime(0),this.play()):this.paused()||this.pause(),this.trigger("ended")}handleTechDurationChange_(){this.duration(this.techGet_("duration"))}handleTechClick_(e){this.controls_&&(void 0!==this.options_&&void 0!==this.options_.userActions&&void 0!==this.options_.userActions.click&&!1===this.options_.userActions.click||(void 0!==this.options_&&void 0!==this.options_.userActions&&"function"==typeof this.options_.userActions.click?this.options_.userActions.click.call(this,e):this.paused()?$r(this.play()):this.pause()))}handleTechDoubleClick_(e){if(!this.controls_)return;Array.prototype.some.call(this.$$(".vjs-control-bar, .vjs-modal-dialog"),(t=>t.contains(e.target)))||void 0!==this.options_&&void 0!==this.options_.userActions&&void 0!==this.options_.userActions.doubleClick&&!1===this.options_.userActions.doubleClick||(void 0!==this.options_&&void 0!==this.options_.userActions&&"function"==typeof this.options_.userActions.doubleClick?this.options_.userActions.doubleClick.call(this,e):this.isFullscreen()?this.exitFullscreen():this.requestFullscreen())}handleTechTap_(){this.userActive(!this.userActive())}handleTechTouchStart_(){this.userWasActive=this.userActive()}handleTechTouchMove_(){this.userWasActive&&this.reportUserActivity()}handleTechTouchEnd_(e){e.cancelable&&e.preventDefault()}toggleFullscreenClass_(){this.isFullscreen()?this.addClass("vjs-fullscreen"):this.removeClass("vjs-fullscreen")}documentFullscreenChange_(e){const t=e.target.player;if(t&&t!==this)return;const n=this.el();let r=a()[this.fsApi_.fullscreenElement]===n;!r&&n.matches?r=n.matches(":"+this.fsApi_.fullscreen):!r&&n.msMatchesSelector&&(r=n.msMatchesSelector(":"+this.fsApi_.fullscreen)),this.isFullscreen(r)}handleTechFullscreenChange_(e,t){t&&(t.nativeIOSFullscreen&&(this.addClass("vjs-ios-native-fs"),this.tech_.one("webkitendfullscreen",(()=>{this.removeClass("vjs-ios-native-fs")}))),this.isFullscreen(t.isFullscreen))}handleTechFullscreenError_(e,t){this.trigger("fullscreenerror",t)}togglePictureInPictureClass_(){this.isInPictureInPicture()?this.addClass("vjs-picture-in-picture"):this.removeClass("vjs-picture-in-picture")}handleTechEnterPictureInPicture_(e){this.isInPictureInPicture(!0)}handleTechLeavePictureInPicture_(e){this.isInPictureInPicture(!1)}handleTechError_(){const e=this.tech_.error();this.error(e)}handleTechTextData_(){let e=null;arguments.length>1&&(e=arguments[1]),this.trigger("textdata",e)}getCache(){return this.cache_}resetCache_(){this.cache_={currentTime:0,initTime:0,inactivityTimeout:this.options_.inactivityTimeout,duration:NaN,lastVolume:1,lastPlaybackRate:this.defaultPlaybackRate(),media:null,src:"",source:{},sources:[],playbackRates:[],volume:1}}techCall_(e,t){this.ready((function(){if(e in Ai)return function(e,t,n,r){return t[n](e.reduce(Pi(n),r))}(this.middleware_,this.tech_,e,t);if(e in Ii)return Ci(this.middleware_,this.tech_,e,t);try{this.tech_&&this.tech_[e](t)}catch(e){throw jt(e),e}}),!0)}techGet_(e){if(this.tech_&&this.tech_.isReady_){if(e in Li)return function(e,t,n){return e.reduceRight(Pi(n),t[n]())}(this.middleware_,this.tech_,e);if(e in Ii)return Ci(this.middleware_,this.tech_,e);try{return this.tech_[e]()}catch(t){if(void 0===this.tech_[e])throw jt(`Video.js: ${e} method not defined for ${this.techName_} playback technology.`,t),t;if("TypeError"===t.name)throw jt(`Video.js: ${e} unavailable on ${this.techName_} playback technology element.`,t),this.tech_.isReady_=!1,t;throw jt(t),t}}}play(){return new Promise((e=>{this.play_(e)}))}play_(e=$r){this.playCallbacks_.push(e);const t=Boolean(!this.changingSrc_&&(this.src()||this.currentSrc())),n=Boolean(fn||ln);if(this.waitToPlay_&&(this.off(["ready","loadstart"],this.waitToPlay_),this.waitToPlay_=null),!this.isReady_||!t)return this.waitToPlay_=e=>{this.play_()},this.one(["ready","loadstart"],this.waitToPlay_),void(!t&&n&&this.load());const r=this.techGet_("play");n&&this.hasClass("vjs-ended")&&this.resetProgressBar_(),null===r?this.runPlayTerminatedQueue_():this.runPlayCallbacks_(r)}runPlayTerminatedQueue_(){const e=this.playTerminatedQueue_.slice(0);this.playTerminatedQueue_=[],e.forEach((function(e){e()}))}runPlayCallbacks_(e){const t=this.playCallbacks_.slice(0);this.playCallbacks_=[],this.playTerminatedQueue_=[],t.forEach((function(t){t(e)}))}pause(){this.techCall_("pause")}paused(){return!1!==this.techGet_("paused")}played(){return this.techGet_("played")||Br(0,0)}scrubbing(e){if(void 0===e)return this.scrubbing_;this.scrubbing_=!!e,this.techCall_("setScrubbing",this.scrubbing_),e?this.addClass("vjs-scrubbing"):this.removeClass("vjs-scrubbing")}currentTime(e){return void 0!==e?(e<0&&(e=0),this.isReady_&&!this.changingSrc_&&this.tech_&&this.tech_.isReady_?(this.techCall_("setCurrentTime",e),void(this.cache_.initTime=0)):(this.cache_.initTime=e,this.off("canplay",this.boundApplyInitTime_),void this.one("canplay",this.boundApplyInitTime_))):(this.cache_.currentTime=this.techGet_("currentTime")||0,this.cache_.currentTime)}applyInitTime_(){this.currentTime(this.cache_.initTime)}duration(e){if(void 0===e)return void 0!==this.cache_.duration?this.cache_.duration:NaN;(e=parseFloat(e))<0&&(e=1/0),e!==this.cache_.duration&&(this.cache_.duration=e,e===1/0?this.addClass("vjs-live"):this.removeClass("vjs-live"),isNaN(e)||this.trigger("durationchange"))}remainingTime(){return this.duration()-this.currentTime()}remainingTimeDisplay(){return Math.floor(this.duration())-Math.floor(this.currentTime())}buffered(){let e=this.techGet_("buffered");return e&&e.length||(e=Br(0,0)),e}bufferedPercent(){return Vr(this.buffered(),this.duration())}bufferedEnd(){const e=this.buffered(),t=this.duration();let n=e.end(e.length-1);return n>t&&(n=t),n}volume(e){let t;return void 0!==e?(t=Math.max(0,Math.min(1,parseFloat(e))),this.cache_.volume=t,this.techCall_("setVolume",t),void(t>0&&this.lastVolume_(t))):(t=parseFloat(this.techGet_("volume")),isNaN(t)?1:t)}muted(e){if(void 0===e)return this.techGet_("muted")||!1;this.techCall_("setMuted",e)}defaultMuted(e){return void 0!==e?this.techCall_("setDefaultMuted",e):this.techGet_("defaultMuted")||!1}lastVolume_(e){if(void 0===e||0===e)return this.cache_.lastVolume;this.cache_.lastVolume=e}supportsFullScreen(){return this.techGet_("supportsFullScreen")||!1}isFullscreen(e){if(void 0!==e){const t=this.isFullscreen_;return this.isFullscreen_=Boolean(e),this.isFullscreen_!==t&&this.fsApi_.prefixed&&this.trigger("fullscreenchange"),void this.toggleFullscreenClass_()}return this.isFullscreen_}requestFullscreen(e){this.isInPictureInPicture()&&this.exitPictureInPicture();const t=this;return new Promise(((n,r)=>{function i(){t.off("fullscreenerror",a),t.off("fullscreenchange",o)}function o(){i(),n()}function a(e,t){i(),r(t)}t.one("fullscreenchange",o),t.one("fullscreenerror",a);const s=t.requestFullscreenHelper_(e);s&&(s.then(i,i),s.then(n,r))}))}requestFullscreenHelper_(e){let t;if(this.fsApi_.prefixed||(t=this.options_.fullscreen&&this.options_.fullscreen.options||{},void 0!==e&&(t=e)),this.fsApi_.requestFullscreen){const e=this.el_[this.fsApi_.requestFullscreen](t);return e&&e.then((()=>this.isFullscreen(!0)),(()=>this.isFullscreen(!1))),e}this.tech_.supportsFullScreen()&&!0==!this.options_.preferFullWindow?this.techCall_("enterFullScreen"):this.enterFullWindow()}exitFullscreen(){const e=this;return new Promise(((t,n)=>{function r(){e.off("fullscreenerror",o),e.off("fullscreenchange",i)}function i(){r(),t()}function o(e,t){r(),n(t)}e.one("fullscreenchange",i),e.one("fullscreenerror",o);const a=e.exitFullscreenHelper_();a&&(a.then(r,r),a.then(t,n))}))}exitFullscreenHelper_(){if(this.fsApi_.requestFullscreen){const e=a()[this.fsApi_.exitFullscreen]();return e&&$r(e.then((()=>this.isFullscreen(!1)))),e}this.tech_.supportsFullScreen()&&!0==!this.options_.preferFullWindow?this.techCall_("exitFullScreen"):this.exitFullWindow()}enterFullWindow(){this.isFullscreen(!0),this.isFullWindow=!0,this.docOrigOverflow=a().documentElement.style.overflow,ar(a(),"keydown",this.boundFullWindowOnEscKey_),a().documentElement.style.overflow="hidden",Tn(a().body,"vjs-full-window"),this.trigger("enterFullWindow")}fullWindowOnEscKey(e){u().isEventKey(e,"Esc")&&!0===this.isFullscreen()&&(this.isFullWindow?this.exitFullWindow():this.exitFullscreen())}exitFullWindow(){this.isFullscreen(!1),this.isFullWindow=!1,sr(a(),"keydown",this.boundFullWindowOnEscKey_),a().documentElement.style.overflow=this.docOrigOverflow,xn(a().body,"vjs-full-window"),this.trigger("exitFullWindow")}disablePictureInPicture(e){if(void 0===e)return this.techGet_("disablePictureInPicture");this.techCall_("setDisablePictureInPicture",e),this.options_.disablePictureInPicture=e,this.trigger("disablepictureinpicturechanged")}isInPictureInPicture(e){return void 0!==e?(this.isInPictureInPicture_=!!e,void this.togglePictureInPictureClass_()):!!this.isInPictureInPicture_}requestPictureInPicture(){if(this.options_.enableDocumentPictureInPicture&&i().documentPictureInPicture){const e=a().createElement(this.el().tagName);return e.classList=this.el().classList,e.classList.add("vjs-pip-container"),this.posterImage&&e.appendChild(this.posterImage.el().cloneNode(!0)),this.titleBar&&e.appendChild(this.titleBar.el().cloneNode(!0)),e.appendChild(vn("p",{className:"vjs-pip-text"},{},this.localize("Playing in picture-in-picture"))),i().documentPictureInPicture.requestWindow({initialAspectRatio:this.videoWidth()/this.videoHeight(),copyStyleSheets:!0}).then((t=>(this.el_.parentNode.insertBefore(e,this.el_),t.document.body.append(this.el_),t.document.body.classList.add("vjs-pip-window"),this.player_.isInPictureInPicture(!0),this.player_.trigger("enterpictureinpicture"),t.addEventListener("unload",(t=>{const n=t.target.querySelector(".video-js");e.replaceWith(n),this.player_.isInPictureInPicture(!1),this.player_.trigger("leavepictureinpicture")})),t)))}return"pictureInPictureEnabled"in a()&&!1===this.disablePictureInPicture()?this.techGet_("requestPictureInPicture"):Promise.reject("No PiP mode is available")}exitPictureInPicture(){return i().documentPictureInPicture&&i().documentPictureInPicture.window?(i().documentPictureInPicture.window.close(),Promise.resolve()):"pictureInPictureEnabled"in a()?a().exitPictureInPicture():void 0}handleKeyDown(e){const{userActions:t}=this.options_;if(!t||!t.hotkeys)return;(e=>{const t=e.tagName.toLowerCase();if(e.isContentEditable)return!0;if("input"===t)return-1===["button","checkbox","hidden","radio","reset","submit"].indexOf(e.type);return-1!==["textarea"].indexOf(t)})(this.el_.ownerDocument.activeElement)||("function"==typeof t.hotkeys?t.hotkeys.call(this,e):this.handleHotkeys(e))}handleHotkeys(e){const t=this.options_.userActions?this.options_.userActions.hotkeys:{},{fullscreenKey:n=(e=>u().isEventKey(e,"f")),muteKey:r=(e=>u().isEventKey(e,"m")),playPauseKey:i=(e=>u().isEventKey(e,"k")||u().isEventKey(e,"Space"))}=t;if(n.call(this,e)){e.preventDefault(),e.stopPropagation();const t=jr.getComponent("FullscreenToggle");!1!==a()[this.fsApi_.fullscreenEnabled]&&t.prototype.handleClick.call(this,e)}else if(r.call(this,e)){e.preventDefault(),e.stopPropagation();jr.getComponent("MuteToggle").prototype.handleClick.call(this,e)}else if(i.call(this,e)){e.preventDefault(),e.stopPropagation();jr.getComponent("PlayToggle").prototype.handleClick.call(this,e)}}canPlayType(e){let t;for(let n=0,r=this.options_.techOrder;n<r.length;n++){const i=r[n];let o=xi.getTech(i);if(o||(o=jr.getComponent(i)),o){if(o.isSupported()&&(t=o.canPlayType(e),t))return t}else jt.error(`The "${i}" tech is undefined. Skipped browser support check for that tech.`)}return""}selectSource(e){const t=this.options_.techOrder.map((e=>[e,xi.getTech(e)])).filter((([e,t])=>t?t.isSupported():(jt.error(`The "${e}" tech is undefined. Skipped browser support check for that tech.`),!1))),n=function(e,t,n){let r;return e.some((e=>t.some((t=>{if(r=n(e,t),r)return!0})))),r};let r;const i=([e,t],n)=>{if(t.canPlaySource(n,this.options_[e.toLowerCase()]))return{source:n,tech:e}};var o;return r=this.options_.sourceOrder?n(e,t,(o=i,(e,t)=>o(t,e))):n(t,e,i),r||!1}handleSrc_(e,t){if(void 0===e)return this.cache_.src||"";this.resetRetryOnError_&&this.resetRetryOnError_();const n=Di(e);if(n.length){if(this.changingSrc_=!0,t||(this.cache_.sources=n),this.updateSourceCaches_(n[0]),Oi(this,n[0],((e,r)=>{this.middleware_=r,t||(this.cache_.sources=n),this.updateSourceCaches_(e);if(this.src_(e))return n.length>1?this.handleSrc_(n.slice(1)):(this.changingSrc_=!1,this.setTimeout((function(){this.error({code:4,message:this.options_.notSupportedMessage})}),0),void this.triggerReady());var i,o;i=r,o=this.tech_,i.forEach((e=>e.setTech&&e.setTech(o)))})),n.length>1){const e=()=>{this.error(null),this.handleSrc_(n.slice(1),!0)},t=()=>{this.off("error",e)};this.one("error",e),this.one("playing",t),this.resetRetryOnError_=()=>{this.off("error",e),this.off("playing",t)}}}else this.setTimeout((function(){this.error({code:4,message:this.options_.notSupportedMessage})}),0)}src(e){return this.handleSrc_(e,!1)}src_(e){const t=this.selectSource([e]);return!t||(Mr(t.tech,this.techName_)?(this.ready((function(){this.tech_.constructor.prototype.hasOwnProperty("setSource")?this.techCall_("setSource",e):this.techCall_("src",e.src),this.changingSrc_=!1}),!0),!1):(this.changingSrc_=!0,this.loadTech_(t.tech,t.source),this.tech_.ready((()=>{this.changingSrc_=!1})),!1))}load(){this.techCall_("load")}reset(){if(this.paused())this.doReset_();else{$r(this.play().then((()=>this.doReset_())))}}doReset_(){this.tech_&&this.tech_.clearTracks("text"),this.resetCache_(),this.poster(""),this.loadTech_(this.options_.techOrder[0],null),this.techCall_("reset"),this.resetControlBarUI_(),_r(this)&&this.trigger("playerreset")}resetControlBarUI_(){this.resetProgressBar_(),this.resetPlaybackRate_(),this.resetVolumeBar_()}resetProgressBar_(){this.currentTime(0);const{currentTimeDisplay:e,durationDisplay:t,progressControl:n,remainingTimeDisplay:r}=this.controlBar||{},{seekBar:i}=n||{};e&&e.updateContent(),t&&t.updateContent(),r&&r.updateContent(),i&&(i.update(),i.loadProgressBar&&i.loadProgressBar.update())}resetPlaybackRate_(){this.playbackRate(this.defaultPlaybackRate()),this.handleTechRateChange_()}resetVolumeBar_(){this.volume(1),this.trigger("volumechange")}currentSources(){const e=this.currentSource(),t=[];return 0!==Object.keys(e).length&&t.push(e),this.cache_.sources||t}currentSource(){return this.cache_.source||{}}currentSrc(){return this.currentSource()&&this.currentSource().src||""}currentType(){return this.currentSource()&&this.currentSource().type||""}preload(e){return void 0!==e?(this.techCall_("setPreload",e),void(this.options_.preload=e)):this.techGet_("preload")}autoplay(e){if(void 0===e)return this.options_.autoplay||!1;let t;"string"==typeof e&&/(any|play|muted)/.test(e)||!0===e&&this.options_.normalizeAutoplay?(this.options_.autoplay=e,this.manualAutoplay_("string"==typeof e?e:"play"),t=!1):this.options_.autoplay=!!e,t=void 0===t?this.options_.autoplay:t,this.tech_&&this.techCall_("setAutoplay",t)}playsinline(e){return void 0!==e?(this.techCall_("setPlaysinline",e),this.options_.playsinline=e,this):this.techGet_("playsinline")}loop(e){return void 0!==e?(this.techCall_("setLoop",e),void(this.options_.loop=e)):this.techGet_("loop")}poster(e){if(void 0===e)return this.poster_;e||(e=""),e!==this.poster_&&(this.poster_=e,this.techCall_("setPoster",e),this.isPosterFromTech_=!1,this.trigger("posterchange"))}handleTechPosterChange_(){if((!this.poster_||this.options_.techCanOverridePoster)&&this.tech_&&this.tech_.poster){const e=this.tech_.poster()||"";e!==this.poster_&&(this.poster_=e,this.isPosterFromTech_=!0,this.trigger("posterchange"))}}controls(e){if(void 0===e)return!!this.controls_;e=!!e,this.controls_!==e&&(this.controls_=e,this.usingNativeControls()&&this.techCall_("setControls",e),this.controls_?(this.removeClass("vjs-controls-disabled"),this.addClass("vjs-controls-enabled"),this.trigger("controlsenabled"),this.usingNativeControls()||this.addTechControlsListeners_()):(this.removeClass("vjs-controls-enabled"),this.addClass("vjs-controls-disabled"),this.trigger("controlsdisabled"),this.usingNativeControls()||this.removeTechControlsListeners_()))}usingNativeControls(e){if(void 0===e)return!!this.usingNativeControls_;e=!!e,this.usingNativeControls_!==e&&(this.usingNativeControls_=e,this.usingNativeControls_?(this.addClass("vjs-using-native-controls"),this.trigger("usingnativecontrols")):(this.removeClass("vjs-using-native-controls"),this.trigger("usingcustomcontrols")))}error(e){if(void 0===e)return this.error_||null;if(Ct("beforeerror").forEach((t=>{const n=t(this,e);zt(n)&&!Array.isArray(n)||"string"==typeof n||"number"==typeof n||null===n?e=n:this.log.error("please return a value that MediaError expects in beforeerror hooks")})),this.options_.suppressNotSupportedError&&e&&4===e.code){const t=function(){this.error(e)};return this.options_.suppressNotSupportedError=!1,this.any(["click","touchstart"],t),void this.one("loadstart",(function(){this.off(["click","touchstart"],t)}))}if(null===e)return this.error_=e,this.removeClass("vjs-error"),void(this.errorDisplay&&this.errorDisplay.close());this.error_=new Wr(e),this.addClass("vjs-error"),jt.error(`(CODE:${this.error_.code} ${Wr.errorTypes[this.error_.code]})`,this.error_.message,this.error_),this.trigger("error"),Ct("error").forEach((e=>e(this,this.error_)))}reportUserActivity(e){this.userActivity_=!0}userActive(e){if(void 0===e)return this.userActive_;if((e=!!e)!==this.userActive_){if(this.userActive_=e,this.userActive_)return this.userActivity_=!0,this.removeClass("vjs-user-inactive"),this.addClass("vjs-user-active"),void this.trigger("useractive");this.tech_&&this.tech_.one("mousemove",(function(e){e.stopPropagation(),e.preventDefault()})),this.userActivity_=!1,this.removeClass("vjs-user-active"),this.addClass("vjs-user-inactive"),this.trigger("userinactive")}}listenForUserActivity_(){let e,t,n;const r=pr(this,this.reportUserActivity),i=function(t){r(),this.clearInterval(e)};this.on("mousedown",(function(){r(),this.clearInterval(e),e=this.setInterval(r,250)})),this.on("mousemove",(function(e){e.screenX===t&&e.screenY===n||(t=e.screenX,n=e.screenY,r())})),this.on("mouseup",i),this.on("mouseleave",i);const o=this.getChild("controlBar");let a;!o||ln||Yt||(o.on("mouseenter",(function(e){0!==this.player().options_.inactivityTimeout&&(this.player().cache_.inactivityTimeout=this.player().options_.inactivityTimeout),this.player().options_.inactivityTimeout=0})),o.on("mouseleave",(function(e){this.player().options_.inactivityTimeout=this.player().cache_.inactivityTimeout}))),this.on("keydown",r),this.on("keyup",r),this.setInterval((function(){if(!this.userActivity_)return;this.userActivity_=!1,this.userActive(!0),this.clearTimeout(a);const e=this.options_.inactivityTimeout;e<=0||(a=this.setTimeout((function(){this.userActivity_||this.userActive(!1)}),e))}),250)}playbackRate(e){if(void 0===e)return this.tech_&&this.tech_.featuresPlaybackRate?this.cache_.lastPlaybackRate||this.techGet_("playbackRate"):1;this.techCall_("setPlaybackRate",e)}defaultPlaybackRate(e){return void 0!==e?this.techCall_("setDefaultPlaybackRate",e):this.tech_&&this.tech_.featuresPlaybackRate?this.techGet_("defaultPlaybackRate"):1}isAudio(e){if(void 0===e)return!!this.isAudio_;this.isAudio_=!!e}enableAudioOnlyUI_(){this.addClass("vjs-audio-only-mode");const e=this.children(),t=this.getChild("ControlBar"),n=t&&t.currentHeight();e.forEach((e=>{e!==t&&e.el_&&!e.hasClass("vjs-hidden")&&(e.hide(),this.audioOnlyCache_.hiddenChildren.push(e))})),this.audioOnlyCache_.playerHeight=this.currentHeight(),this.height(n),this.trigger("audioonlymodechange")}disableAudioOnlyUI_(){this.removeClass("vjs-audio-only-mode"),this.audioOnlyCache_.hiddenChildren.forEach((e=>e.show())),this.height(this.audioOnlyCache_.playerHeight),this.trigger("audioonlymodechange")}audioOnlyMode(e){if("boolean"!=typeof e||e===this.audioOnlyMode_)return this.audioOnlyMode_;if(this.audioOnlyMode_=e,e){const e=[];return this.isInPictureInPicture()&&e.push(this.exitPictureInPicture()),this.isFullscreen()&&e.push(this.exitFullscreen()),this.audioPosterMode()&&e.push(this.audioPosterMode(!1)),Promise.all(e).then((()=>this.enableAudioOnlyUI_()))}return Promise.resolve().then((()=>this.disableAudioOnlyUI_()))}enablePosterModeUI_(){(this.tech_&&this.tech_).hide(),this.addClass("vjs-audio-poster-mode"),this.trigger("audiopostermodechange")}disablePosterModeUI_(){(this.tech_&&this.tech_).show(),this.removeClass("vjs-audio-poster-mode"),this.trigger("audiopostermodechange")}audioPosterMode(e){if("boolean"!=typeof e||e===this.audioPosterMode_)return this.audioPosterMode_;if(this.audioPosterMode_=e,e){if(this.audioOnlyMode()){return this.audioOnlyMode(!1).then((()=>{this.enablePosterModeUI_()}))}return Promise.resolve().then((()=>{this.enablePosterModeUI_()}))}return Promise.resolve().then((()=>{this.disablePosterModeUI_()}))}addTextTrack(e,t,n){if(this.tech_)return this.tech_.addTextTrack(e,t,n)}addRemoteTextTrack(e,t){if(this.tech_)return this.tech_.addRemoteTextTrack(e,t)}removeRemoteTextTrack(e={}){let{track:t}=e;if(t||(t=e),this.tech_)return this.tech_.removeRemoteTextTrack(t)}getVideoPlaybackQuality(){return this.techGet_("getVideoPlaybackQuality")}videoWidth(){return this.tech_&&this.tech_.videoWidth&&this.tech_.videoWidth()||0}videoHeight(){return this.tech_&&this.tech_.videoHeight&&this.tech_.videoHeight()||0}language(e){if(void 0===e)return this.language_;this.language_!==String(e).toLowerCase()&&(this.language_=String(e).toLowerCase(),_r(this)&&this.trigger("languagechange"))}languages(){return Zt(la.prototype.options_.languages,this.languages_)}toJSON(){const e=Zt(this.options_),t=e.tracks;e.tracks=[];for(let n=0;n<t.length;n++){let r=t[n];r=Zt(r),r.player=void 0,e.tracks[n]=r}return e}createModal(e,t){(t=t||{}).content=e||"";const n=new Qr(this,t);return this.addChild(n),n.on("dispose",(()=>{this.removeChild(n)})),n.open(),n}updateCurrentBreakpoint_(){if(!this.responsive())return;const e=this.currentBreakpoint(),t=this.currentWidth();for(let n=0;n<sa.length;n++){const r=sa[n];if(t<=this.breakpoints_[r]){if(e===r)return;e&&this.removeClass(ua[e]),this.addClass(ua[r]),this.breakpoint_=r;break}}}removeCurrentBreakpoint_(){const e=this.currentBreakpointClass();this.breakpoint_="",e&&this.removeClass(e)}breakpoints(e){return void 0===e||(this.breakpoint_="",this.breakpoints_=Object.assign({},ca,e),this.updateCurrentBreakpoint_()),Object.assign(this.breakpoints_)}responsive(e){if(void 0===e)return this.responsive_;return(e=Boolean(e))!==this.responsive_?(this.responsive_=e,e?(this.on("playerresize",this.boundUpdateCurrentBreakpoint_),this.updateCurrentBreakpoint_()):(this.off("playerresize",this.boundUpdateCurrentBreakpoint_),this.removeCurrentBreakpoint_()),e):void 0}currentBreakpoint(){return this.breakpoint_}currentBreakpointClass(){return ua[this.breakpoint_]||""}loadMedia(e,t){if(!e||"object"!=typeof e)return;this.reset(),this.cache_.media=Zt(e);const{artist:n,artwork:r,description:i,poster:o,src:a,textTracks:s,title:u}=this.cache_.media;!r&&o&&(this.cache_.media.artwork=[{src:o,type:ji(o)}]),a&&this.src(a),o&&this.poster(o),Array.isArray(s)&&s.forEach((e=>this.addRemoteTextTrack(e,!1))),this.titleBar&&this.titleBar.update({title:u,description:i||n||""}),this.ready(t)}getMedia(){if(!this.cache_.media){const e=this.poster(),t={src:this.currentSources(),textTracks:Array.prototype.map.call(this.remoteTextTracks(),(e=>({kind:e.kind,label:e.label,language:e.language,src:e.src})))};return e&&(t.poster=e,t.artwork=[{src:t.poster,type:ji(t.poster)}]),t}return Zt(this.cache_.media)}static getTagSettings(e){const t={sources:[],tracks:[]},n=En(e),r=n["data-setup"];if(wn(e,"vjs-fill")&&(n.fill=!0),wn(e,"vjs-fluid")&&(n.fluid=!0),null!==r){const[e,t]=l()(r||"{}");e&&jt.error(e),Object.assign(n,t)}if(Object.assign(t,n),e.hasChildNodes()){const n=e.childNodes;for(let e=0,r=n.length;e<r;e++){const r=n[e],i=r.nodeName.toLowerCase();"source"===i?t.sources.push(En(r)):"track"===i&&t.tracks.push(En(r))}}return t}debug(e){if(void 0===e)return this.debugEnabled_;e?(this.trigger("debugon"),this.previousLogLevel_=this.log.level,this.log.level("debug"),this.debugEnabled_=!0):(this.trigger("debugoff"),this.log.level(this.previousLogLevel_),this.previousLogLevel_=void 0,this.debugEnabled_=!1)}playbackRates(e){if(void 0===e)return this.cache_.playbackRates;Array.isArray(e)&&e.every((e=>"number"==typeof e))&&(this.cache_.playbackRates=e,this.trigger("playbackrateschange"))}}Ti.names.forEach((function(e){const t=Ti[e];la.prototype[t.getterName]=function(){return this.tech_?this.tech_[t.getterName]():(this[t.privateName]=this[t.privateName]||new t.ListClass,this[t.privateName])}})),la.prototype.crossorigin=la.prototype.crossOrigin,la.players={};const fa=i().navigator;la.prototype.options_={techOrder:xi.defaultTechOrder_,html5:{},enableSourceset:!0,inactivityTimeout:2e3,playbackRates:[],liveui:!1,children:["mediaLoader","posterImage","titleBar","textTrackDisplay","loadingSpinner","bigPlayButton","liveTracker","controlBar","errorDisplay","textTrackSettings","resizeManager"],language:fa&&(fa.languages&&fa.languages[0]||fa.userLanguage||fa.language)||"en",languages:{},notSupportedMessage:"No compatible source was found for this media.",normalizeAutoplay:!1,fullscreen:{options:{navigationUI:"hide"}},breakpoints:{},responsive:!1,audioOnlyMode:!1,audioPosterMode:!1},["ended","seeking","seekable","networkState","readyState"].forEach((function(e){la.prototype[e]=function(){return this.techGet_(e)}})),oa.forEach((function(e){la.prototype[`handleTech${Pr(e)}_`]=function(){return this.trigger(e)}})),jr.registerComponent("Player",la);const da="plugin",pa={},ha=e=>pa.hasOwnProperty(e),ga=e=>ha(e)?pa[e]:void 0,ma=(e,t)=>{e.activePlugins_=e.activePlugins_||{},e.activePlugins_[t]=!0},ya=(e,t,n)=>{const r=(n?"before":"")+"pluginsetup";e.trigger(r,t),e.trigger(r+":"+t.name,t)},va=(e,t)=>(t.prototype.name=e,function(...n){ya(this,{name:e,plugin:t,instance:null},!0);const r=new t(...[this,...n]);return this[e]=()=>r,ya(this,r.getEventHash()),r});class ba{constructor(e){if(this.constructor===ba)throw new Error("Plugin must be sub-classed; not directly instantiated.");this.player=e,this.log||(this.log=this.player.log.createLogger(this.name)),Cr(this),delete this.trigger,Ar(this,this.constructor.defaultState),ma(e,this.name),this.dispose=this.dispose.bind(this),e.on("dispose",this.dispose)}version(){return this.constructor.VERSION}getEventHash(e={}){return e.name=this.name,e.plugin=this.constructor,e.instance=this,e}trigger(e,t={}){return ur(this.eventBusEl_,e,this.getEventHash(t))}handleStateChanged(e){}dispose(){const{name:e,player:t}=this;this.trigger("dispose"),this.off(),t.off("dispose",this.dispose),t.activePlugins_[e]=!1,this.player=this.state=null,t[e]=va(e,pa[e])}static isBasic(e){const t="string"==typeof e?ga(e):e;return"function"==typeof t&&!ba.prototype.isPrototypeOf(t.prototype)}static registerPlugin(e,t){if("string"!=typeof e)throw new Error(`Illegal plugin name, "${e}", must be a string, was ${typeof e}.`);if(ha(e))jt.warn(`A plugin named "${e}" already exists. You may want to avoid re-registering plugins!`);else if(la.prototype.hasOwnProperty(e))throw new Error(`Illegal plugin name, "${e}", cannot share a name with an existing player method!`);if("function"!=typeof t)throw new Error(`Illegal plugin for "${e}", must be a function, was ${typeof t}.`);return pa[e]=t,e!==da&&(ba.isBasic(t)?la.prototype[e]=function(e,t){const n=function(){ya(this,{name:e,plugin:t,instance:null},!0);const n=t.apply(this,arguments);return ma(this,e),ya(this,{name:e,plugin:t,instance:n}),n};return Object.keys(t).forEach((function(e){n[e]=t[e]})),n}(e,t):la.prototype[e]=va(e,t)),t}static deregisterPlugin(e){if(e===da)throw new Error("Cannot de-register base plugin.");ha(e)&&(delete pa[e],delete la.prototype[e])}static getPlugins(e=Object.keys(pa)){let t;return e.forEach((e=>{const n=ga(e);n&&(t=t||{},t[e]=n)})),t}static getPluginVersion(e){const t=ga(e);return t&&t.VERSION||""}}function _a(e,t,n,r){return function(e,t){let n=!1;return function(...r){return n||jt.warn(e),n=!0,t.apply(this,r)}}(`${t} is deprecated and will be removed in ${e}.0; please use ${n} instead.`,r)}ba.getPlugin=ga,ba.BASE_PLUGIN_NAME=da,ba.registerPlugin(da,ba),la.prototype.usingPlugin=function(e){return!!this.activePlugins_&&!0===this.activePlugins_[e]},la.prototype.hasPlugin=function(e){return!!ha(e)};const wa=e=>0===e.indexOf("#")?e.slice(1):e;function Ta(e,t,n){let r=Ta.getPlayer(e);if(r)return t&&jt.warn(`Player "${e}" is already initialised. Options will not be applied.`),n&&r.ready(n),r;const i="string"==typeof e?zn("#"+wa(e)):e;if(!gn(i))throw new TypeError("The element or ID supplied is not valid. (videojs)");i.ownerDocument.defaultView&&i.ownerDocument.body.contains(i)||jt.warn("The element supplied is not included in the DOM"),!0===(t=t||{}).restoreEl&&(t.restoreEl=(i.parentNode&&i.parentNode.hasAttribute("data-vjs-player")?i.parentNode:i).cloneNode(!0)),Ct("beforesetup").forEach((e=>{const n=e(i,Zt(t));zt(n)&&!Array.isArray(n)?t=Zt(t,n):jt.error("please return an object in beforesetup hooks")}));const o=jr.getComponent("Player");return r=new o(i,t,n),Ct("setup").forEach((e=>e(r))),r}if(Ta.hooks_=Ot,Ta.hooks=Ct,Ta.hook=function(e,t){Ct(e,t)},Ta.hookOnce=function(e,t){Ct(e,[].concat(t).map((t=>{const n=(...r)=>(Lt(e,n),t(...r));return n})))},Ta.removeHook=Lt,!0!==i().VIDEOJS_NO_DYNAMIC_STYLE&&hn()){let e=zn(".vjs-styles-defaults");if(!e){e=Kn("vjs-styles-defaults");const t=zn("head");t&&t.insertBefore(e,t.firstChild),Xn(e,"\n      .video-js {\n        width: 300px;\n        height: 150px;\n      }\n\n      .vjs-fluid:not(.vjs-audio-only-mode) {\n        padding-top: 56.25%\n      }\n    ")}}$n(1,Ta),Ta.VERSION=Et,Ta.options=la.prototype.options_,Ta.getPlayers=()=>la.players,Ta.getPlayer=e=>{const t=la.players;let n;if("string"==typeof e){const r=wa(e),i=t[r];if(i)return i;n=zn("#"+r)}else n=e;if(gn(n)){const{player:e,playerId:r}=n;if(e||t[r])return e||t[r]}},Ta.getAllPlayers=()=>Object.keys(la.players).map((e=>la.players[e])).filter(Boolean),Ta.players=la.players,Ta.getComponent=jr.getComponent,Ta.registerComponent=(e,t)=>{xi.isTech(t)&&jt.warn(`The ${e} tech was registered as a component. It should instead be registered using videojs.registerTech(name, tech)`),jr.registerComponent.call(jr,e,t)},Ta.getTech=xi.getTech,Ta.registerTech=xi.registerTech,Ta.use=function(e,t){Si[e]=Si[e]||[],Si[e].push(t)},Object.defineProperty(Ta,"middleware",{value:{},writeable:!1,enumerable:!0}),Object.defineProperty(Ta.middleware,"TERMINATOR",{value:Ei,writeable:!1,enumerable:!0}),Ta.browser=dn,Ta.obj=Vt,Ta.mergeOptions=_a(9,"videojs.mergeOptions","videojs.obj.merge",Zt),Ta.defineLazyProperty=_a(9,"videojs.defineLazyProperty","videojs.obj.defineLazyProperty",qt),Ta.bind=_a(9,"videojs.bind","native Function.prototype.bind",pr),Ta.registerPlugin=ba.registerPlugin,Ta.deregisterPlugin=ba.deregisterPlugin,Ta.plugin=(e,t)=>(jt.warn("videojs.plugin() is deprecated; use videojs.registerPlugin() instead"),ba.registerPlugin(e,t)),Ta.getPlugins=ba.getPlugins,Ta.getPlugin=ba.getPlugin,Ta.getPluginVersion=ba.getPluginVersion,Ta.addLanguage=function(e,t){return e=(""+e).toLowerCase(),Ta.options.languages=Zt(Ta.options.languages,{[e]:t}),Ta.options.languages[e]},Ta.log=jt,Ta.createLogger=Dt,Ta.time=qr,Ta.createTimeRange=_a(9,"videojs.createTimeRange","videojs.time.createTimeRanges",Br),Ta.createTimeRanges=_a(9,"videojs.createTimeRanges","videojs.time.createTimeRanges",Br),Ta.formatTime=_a(9,"videojs.formatTime","videojs.time.formatTime",Zr),Ta.setFormatTime=_a(9,"videojs.setFormatTime","videojs.time.setFormatTime",zr),Ta.resetFormatTime=_a(9,"videojs.resetFormatTime","videojs.time.resetFormatTime",Hr),Ta.parseUrl=_a(9,"videojs.parseUrl","videojs.url.parseUrl",ci),Ta.isCrossOrigin=_a(9,"videojs.isCrossOrigin","videojs.url.isCrossOrigin",di),Ta.EventTarget=vr,Ta.any=lr,Ta.on=ar,Ta.one=cr,Ta.off=sr,Ta.trigger=ur,Ta.xhr=d(),Ta.TextTrack=mi,Ta.AudioTrack=yi,Ta.VideoTrack=vi,["isEl","isTextNode","createEl","hasClass","addClass","removeClass","toggleClass","setAttributes","getAttributes","emptyEl","appendContent","insertContent"].forEach((e=>{Ta[e]=function(){return jt.warn(`videojs.${e}() is deprecated; use videojs.dom.${e}() instead`),qn[e].apply(null,arguments)}})),Ta.computedStyle=_a(9,"videojs.computedStyle","videojs.dom.computedStyle",Zn),Ta.dom=qn,Ta.fn=mr,Ta.num=Qi,Ta.str=Rr,Ta.url=pi;class xa{constructor(e){let t=this;return t.id=e.id,t.label=t.id,t.width=e.width,t.height=e.height,t.bitrate=e.bandwidth,t.frameRate=e.frameRate,t.enabled_=e.enabled,Object.defineProperty(t,"enabled",{get:()=>t.enabled_(),set(e){t.enabled_(e)}}),t}}class Sa extends Ta.EventTarget{constructor(){super();let e=this;return e.levels_=[],e.selectedIndex_=-1,Object.defineProperty(e,"selectedIndex",{get:()=>e.selectedIndex_}),Object.defineProperty(e,"length",{get:()=>e.levels_.length}),e}addQualityLevel(e){let t=this.getQualityLevelById(e.id);if(t)return t;const n=this.levels_.length;return t=new xa(e),""+n in this||Object.defineProperty(this,n,{get(){return this.levels_[n]}}),this.levels_.push(t),this.trigger({qualityLevel:t,type:"addqualitylevel"}),t}removeQualityLevel(e){let t=null;for(let n=0,r=this.length;n<r;n++)if(this[n]===e){t=this.levels_.splice(n,1)[0],this.selectedIndex_===n?this.selectedIndex_=-1:this.selectedIndex_>n&&this.selectedIndex_--;break}return t&&this.trigger({qualityLevel:e,type:"removequalitylevel"}),t}getQualityLevelById(e){for(let t=0,n=this.length;t<n;t++){const n=this[t];if(n.id===e)return n}return null}dispose(){this.selectedIndex_=-1,this.levels_.length=0}}Sa.prototype.allowedEvents_={change:"change",addqualitylevel:"addqualitylevel",removequalitylevel:"removequalitylevel"};for(const e in Sa.prototype.allowedEvents_)Sa.prototype["on"+e]=null;var ka="3.0.0";const Ea=Ta.registerPlugin||Ta.plugin,Oa=function(e){return function(e,t){const n=e.qualityLevels,r=new Sa,i=function(){r.dispose(),e.qualityLevels=n,e.off("dispose",i)};return e.on("dispose",i),e.qualityLevels=()=>r,e.qualityLevels.VERSION=ka,r}(this,Ta.mergeOptions({},e))};Ea("qualityLevels",Oa),Oa.VERSION=ka;const Ca=v,La=(e,t)=>t&&t.responseURL&&e!==t.responseURL?t.responseURL:e,Aa=e=>Ta.log.debug?Ta.log.debug.bind(Ta,"VHS:",`${e} >`):function(){};function Ia(...e){const t=Ta.obj||Ta;return(t.merge||t.mergeOptions).apply(t,e)}function Pa(...e){const t=Ta.time||Ta;return(t.createTimeRanges||t.createTimeRanges).apply(t,e)}const Ma=1/30,Ra=.1,ja=function(e,t){const n=[];let r;if(e&&e.length)for(r=0;r<e.length;r++)t(e.start(r),e.end(r))&&n.push([e.start(r),e.end(r)]);return Pa(n)},Da=function(e,t){return ja(e,(function(e,n){return e-Ra<=t&&n+Ra>=t}))},Na=function(e,t){return ja(e,(function(e){return e-Ma>=t}))},Ba=e=>{const t=[];if(!e||!e.length)return"";for(let n=0;n<e.length;n++)t.push(e.start(n)+" => "+e.end(n));return t.join(", ")},Ua=e=>{const t=[];for(let n=0;n<e.length;n++)t.push({start:e.start(n),end:e.end(n)});return t},Fa=function(e){if(e&&e.length&&e.end)return e.end(e.length-1)},za=function(e,t){let n=0;if(!e||!e.length)return n;for(let r=0;r<e.length;r++){const i=e.start(r),o=e.end(r);t>o||(n+=t>i&&t<=o?o-t:o-i)}return n},Ha=(e,t)=>{if(!t.preload)return t.duration;let n=0;return(t.parts||[]).forEach((function(e){n+=e.duration})),(t.preloadHints||[]).forEach((function(t){"PART"===t.type&&(n+=e.partTargetDuration)})),n},Za=e=>(e.segments||[]).reduce(((e,t,n)=>(t.parts?t.parts.forEach((function(r,i){e.push({duration:r.duration,segmentIndex:n,partIndex:i,part:r,segment:t})})):e.push({duration:t.duration,segmentIndex:n,partIndex:null,segment:t,part:null}),e)),[]),qa=e=>{const t=e.segments&&e.segments.length&&e.segments[e.segments.length-1];return t&&t.parts||[]},Va=({preloadSegment:e})=>{if(!e)return;const{parts:t,preloadHints:n}=e;let r=(n||[]).reduce(((e,t)=>e+("PART"===t.type?1:0)),0);return r+=t&&t.length?t.length:0,r},Wa=(e,t)=>{if(t.endList)return 0;if(e&&e.suggestedPresentationDelay)return e.suggestedPresentationDelay;const n=qa(t).length>0;return n&&t.serverControl&&t.serverControl.partHoldBack?t.serverControl.partHoldBack:n&&t.partTargetDuration?3*t.partTargetDuration:t.serverControl&&t.serverControl.holdBack?t.serverControl.holdBack:t.targetDuration?3*t.targetDuration:0},Ga=function(e,t,n){if(void 0===t&&(t=e.mediaSequence+e.segments.length),t<e.mediaSequence)return 0;const r=function(e,t){let n=0,r=t-e.mediaSequence,i=e.segments[r];if(i){if(void 0!==i.start)return{result:i.start,precise:!0};if(void 0!==i.end)return{result:i.end-i.duration,precise:!0}}for(;r--;){if(i=e.segments[r],void 0!==i.end)return{result:n+i.end,precise:!0};if(n+=Ha(e,i),void 0!==i.start)return{result:n+i.start,precise:!0}}return{result:n,precise:!1}}(e,t);if(r.precise)return r.result;const i=function(e,t){let n,r=0,i=t-e.mediaSequence;for(;i<e.segments.length;i++){if(n=e.segments[i],void 0!==n.start)return{result:n.start-r,precise:!0};if(r+=Ha(e,n),void 0!==n.end)return{result:n.end-r,precise:!0}}return{result:-1,precise:!1}}(e,t);return i.precise?i.result:r.result+n},$a=function(e,t,n){if(!e)return 0;if("number"!=typeof n&&(n=0),void 0===t){if(e.totalDuration)return e.totalDuration;if(!e.endList)return i()[1/0]}return Ga(e,t,n)},Ya=function({defaultDuration:e,durationList:t,startIndex:n,endIndex:r}){let i=0;if(n>r&&([n,r]=[r,n]),n<0){for(let t=n;t<Math.min(0,r);t++)i+=e;n=0}for(let e=n;e<r;e++)i+=t[e].duration;return i},Ka=function(e,t,n,r){if(!e||!e.segments)return null;if(e.endList)return $a(e);if(null===t)return null;t=t||0;let i=Ga(e,e.mediaSequence+e.segments.length,t);return n&&(i-=r="number"==typeof r?r:Wa(null,e)),Math.max(0,i)},Xa=function(e){return e.excludeUntil&&e.excludeUntil>Date.now()},Qa=function(e){return e.excludeUntil&&e.excludeUntil===1/0},Ja=function(e){const t=Xa(e);return!e.disabled&&!t},es=function(e,t){return t.attributes&&t.attributes[e]},ts=(e,t)=>{if(1===e.playlists.length)return!0;const n=t.attributes.BANDWIDTH||Number.MAX_VALUE;return 0===e.playlists.filter((e=>!!Ja(e)&&(e.attributes.BANDWIDTH||0)<n)).length},ns=(e,t)=>!(!e&&!t||!e&&t||e&&!t)&&(e===t||(!(!e.id||!t.id||e.id!==t.id)||(!(!e.resolvedUri||!t.resolvedUri||e.resolvedUri!==t.resolvedUri)||!(!e.uri||!t.uri||e.uri!==t.uri)))),rs=function(e,t){const n=e&&e.mediaGroups&&e.mediaGroups.AUDIO||{};let r=!1;for(const e in n){for(const i in n[e])if(r=t(n[e][i]),r)break;if(r)break}return!!r},is=e=>{if(!e||!e.playlists||!e.playlists.length){return rs(e,(e=>e.playlists&&e.playlists.length||e.uri))}for(let t=0;t<e.playlists.length;t++){const n=e.playlists[t],r=n.attributes&&n.attributes.CODECS;if(r&&r.split(",").every((e=>N(e))))continue;if(!rs(e,(e=>ns(n,e))))return!1}return!0};var os={liveEdgeDelay:Wa,duration:$a,seekable:function(e,t,n){const r=t||0,i=Ka(e,t,!0,n);return null===i?Pa():Pa(r,i)},getMediaInfoForTime:function({playlist:e,currentTime:t,startingSegmentIndex:n,startingPartIndex:r,startTime:i,exactManifestTimings:o}){let a=t-i;const s=Za(e);let u=0;for(let e=0;e<s.length;e++){const t=s[e];if(n===t.segmentIndex&&("number"!=typeof r||"number"!=typeof t.partIndex||r===t.partIndex)){u=e;break}}if(a<0){if(u>0)for(let t=u-1;t>=0;t--){const n=s[t];if(a+=n.duration,o){if(a<0)continue}else if(a+Ma<=0)continue;return{partIndex:n.partIndex,segmentIndex:n.segmentIndex,startTime:i-Ya({defaultDuration:e.targetDuration,durationList:s,startIndex:u,endIndex:t})}}return{partIndex:s[0]&&s[0].partIndex||null,segmentIndex:s[0]&&s[0].segmentIndex||0,startTime:t}}if(u<0){for(let n=u;n<0;n++)if(a-=e.targetDuration,a<0)return{partIndex:s[0]&&s[0].partIndex||null,segmentIndex:s[0]&&s[0].segmentIndex||0,startTime:t};u=0}for(let t=u;t<s.length;t++){const n=s[t];if(a-=n.duration,o){if(a>0)continue}else if(a-Ma>=0)continue;return{partIndex:n.partIndex,segmentIndex:n.segmentIndex,startTime:i+Ya({defaultDuration:e.targetDuration,durationList:s,startIndex:u,endIndex:t})}}return{segmentIndex:s[s.length-1].segmentIndex,partIndex:s[s.length-1].partIndex,startTime:t}},isEnabled:Ja,isDisabled:function(e){return e.disabled},isExcluded:Xa,isIncompatible:Qa,playlistEnd:Ka,isAes:function(e){for(let t=0;t<e.segments.length;t++)if(e.segments[t].key)return!0;return!1},hasAttribute:es,estimateSegmentRequestTime:function(e,t,n,r=0){if(!es("BANDWIDTH",n))return NaN;return(e*n.attributes.BANDWIDTH-8*r)/t},isLowestEnabledRendition:ts,isAudioOnly:is,playlistMatch:ns,segmentDurationWithParts:Ha};const{log:as}=Ta,ss=(e,t)=>`${e}-${t}`,us=(e,t,n)=>`placeholder-uri-${e}-${t}-${n}`,cs=(e,t)=>{e.mediaGroups&&["AUDIO","SUBTITLES"].forEach((n=>{if(e.mediaGroups[n])for(const r in e.mediaGroups[n])for(const i in e.mediaGroups[n][r]){const o=e.mediaGroups[n][r][i];t(o,n,r,i)}}))},ls=({playlist:e,uri:t,id:n})=>{e.id=n,e.playlistErrors_=0,t&&(e.uri=t),e.attributes=e.attributes||{}},fs=(e,t,n=us)=>{e.uri=t;for(let t=0;t<e.playlists.length;t++)if(!e.playlists[t].uri){const n=`placeholder-uri-${t}`;e.playlists[t].uri=n}const r=is(e);cs(e,((t,i,o,a)=>{if(!t.playlists||!t.playlists.length){if(r&&"AUDIO"===i&&!t.uri)for(let t=0;t<e.playlists.length;t++){const n=e.playlists[t];if(n.attributes&&n.attributes.AUDIO&&n.attributes.AUDIO===o)return}t.playlists=[(0,b.Z)({},t)]}t.playlists.forEach((function(t,r){const s=n(i,o,a,t),u=ss(r,s);t.uri?t.resolvedUri=t.resolvedUri||Ca(e.uri,t.uri):(t.uri=0===r?s:u,t.resolvedUri=t.uri),t.id=t.id||u,t.attributes=t.attributes||{},e.playlists[t.id]=t,e.playlists[t.uri]=t}))})),(e=>{let t=e.playlists.length;for(;t--;){const n=e.playlists[t];ls({playlist:n,id:ss(t,n.uri)}),n.resolvedUri=Ca(e.uri,n.uri),e.playlists[n.id]=n,e.playlists[n.uri]=n,n.attributes.BANDWIDTH||as.warn("Invalid playlist STREAM-INF detected. Missing BANDWIDTH attribute.")}})(e),(e=>{cs(e,(t=>{t.uri&&(t.resolvedUri=Ca(e.uri,t.uri))}))})(e)},{EventTarget:ds}=Ta,ps=(e,t)=>{if(!e)return t;const n=Ia(e,t);if(e.preloadHints&&!t.preloadHints&&delete n.preloadHints,e.parts&&!t.parts)delete n.parts;else if(e.parts&&t.parts)for(let r=0;r<t.parts.length;r++)e.parts&&e.parts[r]&&(n.parts[r]=Ia(e.parts[r],t.parts[r]));return!e.skipped&&t.skipped&&(n.skipped=!1),e.preload&&!t.preload&&(n.preload=!1),n},hs=(e,t)=>{!e.resolvedUri&&e.uri&&(e.resolvedUri=Ca(t,e.uri)),e.key&&!e.key.resolvedUri&&(e.key.resolvedUri=Ca(t,e.key.uri)),e.map&&!e.map.resolvedUri&&(e.map.resolvedUri=Ca(t,e.map.uri)),e.map&&e.map.key&&!e.map.key.resolvedUri&&(e.map.key.resolvedUri=Ca(t,e.map.key.uri)),e.parts&&e.parts.length&&e.parts.forEach((e=>{e.resolvedUri||(e.resolvedUri=Ca(t,e.uri))})),e.preloadHints&&e.preloadHints.length&&e.preloadHints.forEach((e=>{e.resolvedUri||(e.resolvedUri=Ca(t,e.uri))}))},gs=function(e){const t=e.segments||[],n=e.preloadSegment;if(n&&n.parts&&n.parts.length){if(n.preloadHints)for(let e=0;e<n.preloadHints.length;e++)if("MAP"===n.preloadHints[e].type)return t;n.duration=e.targetDuration,n.preload=!0,t.push(n)}return t},ms=(e,t)=>e===t||e.segments&&t.segments&&e.segments.length===t.segments.length&&e.endList===t.endList&&e.mediaSequence===t.mediaSequence&&e.preloadSegment===t.preloadSegment,ys=(e,t,n=ms)=>{const r=Ia(e,{}),i=r.playlists[t.id];if(!i)return null;if(n(i,t))return null;t.segments=gs(t);const o=Ia(i,t);if(o.preloadSegment&&!t.preloadSegment&&delete o.preloadSegment,i.segments){if(t.skip){t.segments=t.segments||[];for(let e=0;e<t.skip.skippedSegments;e++)t.segments.unshift({skipped:!0})}o.segments=((e,t,n)=>{const r=e.slice(),i=t.slice();n=n||0;const o=[];let a;for(let e=0;e<i.length;e++){const t=r[e+n],s=i[e];t?(a=t.map||a,o.push(ps(t,s))):(a&&!s.map&&(s.map=a),o.push(s))}return o})(i.segments,t.segments,t.mediaSequence-i.mediaSequence)}o.segments.forEach((e=>{hs(e,o.resolvedUri)}));for(let e=0;e<r.playlists.length;e++)r.playlists[e].id===t.id&&(r.playlists[e]=o);return r.playlists[t.id]=o,r.playlists[t.uri]=o,cs(e,((e,n,r,i)=>{if(e.playlists)for(let n=0;n<e.playlists.length;n++)t.id===e.playlists[n].id&&(e.playlists[n]=o)})),r},vs=(e,t)=>{const n=e.segments||[],r=n[n.length-1],i=r&&r.parts&&r.parts[r.parts.length-1],o=i&&i.duration||r&&r.duration;return t&&o?1e3*o:500*(e.partTargetDuration||e.targetDuration||10)};class bs extends ds{constructor(e,t,n={}){if(super(),!e)throw new Error("A non-empty playlist URL or object is required");this.logger_=Aa("PlaylistLoader");const{withCredentials:r=!1}=n;this.src=e,this.vhs_=t,this.withCredentials=r;const i=t.options_;this.customTagParsers=i&&i.customTagParsers||[],this.customTagMappers=i&&i.customTagMappers||[],this.llhls=i&&i.llhls,this.state="HAVE_NOTHING",this.handleMediaupdatetimeout_=this.handleMediaupdatetimeout_.bind(this),this.on("mediaupdatetimeout",this.handleMediaupdatetimeout_)}handleMediaupdatetimeout_(){if("HAVE_METADATA"!==this.state)return;const e=this.media();let t=Ca(this.main.uri,e.uri);this.llhls&&(t=((e,t)=>{if(t.endList||!t.serverControl)return e;const n={};if(t.serverControl.canBlockReload){const{preloadSegment:e}=t;let r=t.mediaSequence+t.segments.length;if(e){const i=e.parts||[],o=Va(t)-1;o>-1&&o!==i.length-1&&(n._HLS_part=o),(o>-1||i.length)&&r--}n._HLS_msn=r}if(t.serverControl&&t.serverControl.canSkipUntil&&(n._HLS_skip=t.serverControl.canSkipDateranges?"v2":"YES"),Object.keys(n).length){const t=new(i().URL)(e);["_HLS_skip","_HLS_msn","_HLS_part"].forEach((function(e){n.hasOwnProperty(e)&&t.searchParams.set(e,n[e])})),e=t.toString()}return e})(t,e)),this.state="HAVE_CURRENT_METADATA",this.request=this.vhs_.xhr({uri:t,withCredentials:this.withCredentials},((e,t)=>{if(this.request)return e?this.playlistRequestError(this.request,this.media(),"HAVE_METADATA"):void this.haveMetadata({playlistString:this.request.responseText,url:this.media().uri,id:this.media().id})}))}playlistRequestError(e,t,n){const{uri:r,id:i}=t;this.request=null,n&&(this.state=n),this.error={playlist:this.main.playlists[i],status:e.status,message:`HLS playlist request error at URL: ${r}.`,responseText:e.responseText,code:e.status>=500?4:2},this.trigger("error")}parseManifest_({url:e,manifestString:t}){return(({onwarn:e,oninfo:t,manifestString:n,customTagParsers:r=[],customTagMappers:i=[],llhls:o})=>{const a=new L;e&&a.on("warn",e),t&&a.on("info",t),r.forEach((e=>a.addParser(e))),i.forEach((e=>a.addTagMapper(e))),a.push(n),a.end();const s=a.manifest;if(o||(["preloadSegment","skip","serverControl","renditionReports","partInf","partTargetDuration"].forEach((function(e){s.hasOwnProperty(e)&&delete s[e]})),s.segments&&s.segments.forEach((function(e){["parts","preloadHints"].forEach((function(t){e.hasOwnProperty(t)&&delete e[t]}))}))),!s.targetDuration){let t=10;s.segments&&s.segments.length&&(t=s.segments.reduce(((e,t)=>Math.max(e,t.duration)),0)),e&&e(`manifest has no targetDuration defaulting to ${t}`),s.targetDuration=t}const u=qa(s);if(u.length&&!s.partTargetDuration){const t=u.reduce(((e,t)=>Math.max(e,t.duration)),0);e&&(e(`manifest has no partTargetDuration defaulting to ${t}`),as.error("LL-HLS manifest has parts but lacks required #EXT-X-PART-INF:PART-TARGET value. See https://datatracker.ietf.org/doc/html/draft-pantos-hls-rfc8216bis-09#section-4.4.3.7. Playback is not guaranteed.")),s.partTargetDuration=t}return s})({onwarn:({message:t})=>this.logger_(`m3u8-parser warn for ${e}: ${t}`),oninfo:({message:t})=>this.logger_(`m3u8-parser info for ${e}: ${t}`),manifestString:t,customTagParsers:this.customTagParsers,customTagMappers:this.customTagMappers,llhls:this.llhls})}haveMetadata({playlistString:e,playlistObject:t,url:n,id:r}){this.request=null,this.state="HAVE_METADATA";const i=t||this.parseManifest_({url:n,manifestString:e});i.lastRequest=Date.now(),ls({playlist:i,uri:n,id:r});const o=ys(this.main,i);this.targetDuration=i.partTargetDuration||i.targetDuration,this.pendingMedia_=null,o?(this.main=o,this.media_=this.main.playlists[r]):this.trigger("playlistunchanged"),this.updateMediaUpdateTimeout_(vs(this.media(),!!o)),this.trigger("loadedplaylist")}dispose(){this.trigger("dispose"),this.stopRequest(),i().clearTimeout(this.mediaUpdateTimeout),i().clearTimeout(this.finalRenditionTimeout),this.off()}stopRequest(){if(this.request){const e=this.request;this.request=null,e.onreadystatechange=null,e.abort()}}media(e,t){if(!e)return this.media_;if("HAVE_NOTHING"===this.state)throw new Error("Cannot switch media playlist from "+this.state);if("string"==typeof e){if(!this.main.playlists[e])throw new Error("Unknown playlist URI: "+e);e=this.main.playlists[e]}if(i().clearTimeout(this.finalRenditionTimeout),t){const t=(e.partTargetDuration||e.targetDuration)/2*1e3||5e3;return void(this.finalRenditionTimeout=i().setTimeout(this.media.bind(this,e,!1),t))}const n=this.state,r=!this.media_||e.id!==this.media_.id,o=this.main.playlists[e.id];if(o&&o.endList||e.endList&&e.segments.length)return this.request&&(this.request.onreadystatechange=null,this.request.abort(),this.request=null),this.state="HAVE_METADATA",this.media_=e,void(r&&(this.trigger("mediachanging"),"HAVE_MAIN_MANIFEST"===n?this.trigger("loadedmetadata"):this.trigger("mediachange")));if(this.updateMediaUpdateTimeout_(vs(e,!0)),r){if(this.state="SWITCHING_MEDIA",this.request){if(e.resolvedUri===this.request.url)return;this.request.onreadystatechange=null,this.request.abort(),this.request=null}this.media_&&this.trigger("mediachanging"),this.pendingMedia_=e,this.request=this.vhs_.xhr({uri:e.resolvedUri,withCredentials:this.withCredentials},((t,r)=>{if(this.request){if(e.lastRequest=Date.now(),e.resolvedUri=La(e.resolvedUri,r),t)return this.playlistRequestError(this.request,e,n);this.haveMetadata({playlistString:r.responseText,url:e.uri,id:e.id}),"HAVE_MAIN_MANIFEST"===n?this.trigger("loadedmetadata"):this.trigger("mediachange")}}))}}pause(){this.mediaUpdateTimeout&&(i().clearTimeout(this.mediaUpdateTimeout),this.mediaUpdateTimeout=null),this.stopRequest(),"HAVE_NOTHING"===this.state&&(this.started=!1),"SWITCHING_MEDIA"===this.state?this.media_?this.state="HAVE_METADATA":this.state="HAVE_MAIN_MANIFEST":"HAVE_CURRENT_METADATA"===this.state&&(this.state="HAVE_METADATA")}load(e){this.mediaUpdateTimeout&&(i().clearTimeout(this.mediaUpdateTimeout),this.mediaUpdateTimeout=null);const t=this.media();if(e){const e=t?(t.partTargetDuration||t.targetDuration)/2*1e3:5e3;this.mediaUpdateTimeout=i().setTimeout((()=>{this.mediaUpdateTimeout=null,this.load()}),e)}else this.started?t&&!t.endList?this.trigger("mediaupdatetimeout"):this.trigger("loadedplaylist"):this.start()}updateMediaUpdateTimeout_(e){this.mediaUpdateTimeout&&(i().clearTimeout(this.mediaUpdateTimeout),this.mediaUpdateTimeout=null),this.media()&&!this.media().endList&&(this.mediaUpdateTimeout=i().setTimeout((()=>{this.mediaUpdateTimeout=null,this.trigger("mediaupdatetimeout"),this.updateMediaUpdateTimeout_(e)}),e))}start(){if(this.started=!0,"object"==typeof this.src)return this.src.uri||(this.src.uri=i().location.href),this.src.resolvedUri=this.src.uri,void setTimeout((()=>{this.setupInitialPlaylist(this.src)}),0);this.request=this.vhs_.xhr({uri:this.src,withCredentials:this.withCredentials},((e,t)=>{if(!this.request)return;if(this.request=null,e)return this.error={status:t.status,message:`HLS playlist request error at URL: ${this.src}.`,responseText:t.responseText,code:2},"HAVE_NOTHING"===this.state&&(this.started=!1),this.trigger("error");this.src=La(this.src,t);const n=this.parseManifest_({manifestString:t.responseText,url:this.src});this.setupInitialPlaylist(n)}))}srcUri(){return"string"==typeof this.src?this.src:this.src.uri}setupInitialPlaylist(e){if(this.state="HAVE_MAIN_MANIFEST",e.playlists)return this.main=e,fs(this.main,this.srcUri()),e.playlists.forEach((e=>{e.segments=gs(e),e.segments.forEach((t=>{hs(t,e.resolvedUri)}))})),this.trigger("loadedplaylist"),void(this.request||this.media(this.main.playlists[0]));const t=this.srcUri()||i().location.href;this.main=((e,t)=>{const n=ss(0,t),r={mediaGroups:{AUDIO:{},VIDEO:{},"CLOSED-CAPTIONS":{},SUBTITLES:{}},uri:i().location.href,resolvedUri:i().location.href,playlists:[{uri:t,id:n,resolvedUri:t,attributes:{}}]};return r.playlists[n]=r.playlists[0],r.playlists[t]=r.playlists[0],r})(0,t),this.haveMetadata({playlistObject:e,url:t,id:this.main.playlists[0].id}),this.trigger("loadedmetadata")}}const{xhr:_s}=Ta,ws=function(e,t,n,r){const i="arraybuffer"===e.responseType?e.response:e.responseText;!t&&i&&(e.responseTime=Date.now(),e.roundTripTime=e.responseTime-e.requestTime,e.bytesReceived=i.byteLength||i.length,e.bandwidth||(e.bandwidth=Math.floor(e.bytesReceived/e.roundTripTime*8*1e3))),n.headers&&(e.responseHeaders=n.headers),t&&"ETIMEDOUT"===t.code&&(e.timedout=!0),t||e.aborted||200===n.statusCode||206===n.statusCode||0===n.statusCode||(t=new Error("XHR Failed with a response of: "+(e&&(i||e.responseText)))),r(t,e)},Ts=function(){const e=function e(t,n){t=Ia({timeout:45e3},t);const r=e.beforeRequest||Ta.Vhs.xhr.beforeRequest;if(r&&"function"==typeof r){const e=r(t);e&&(t=e)}const i=(!0===Ta.Vhs.xhr.original?_s:Ta.Vhs.xhr)(t,(function(e,t){return ws(i,e,t,n)})),o=i.abort;return i.abort=function(){return i.aborted=!0,o.apply(i,arguments)},i.uri=t.uri,i.requestTime=Date.now(),i};return e.original=!0,e},xs=function(e){const t={};return e.byterange&&(t.Range=function(e){let t;const n=e.offset;return t="bigint"==typeof e.offset||"bigint"==typeof e.length?i().BigInt(e.offset)+i().BigInt(e.length)-i().BigInt(1):e.offset+e.length-1,"bytes="+n+"-"+t}(e.byterange)),t},Ss=function(e,t){return e.start(t)+"-"+e.end(t)},ks=function(e,t){const n=e.toString(16);return"00".substring(0,2-n.length)+n+(t%2?" ":"")},Es=function(e){return e>=32&&e<126?String.fromCharCode(e):"."},Os=function(e){const t={};return Object.keys(e).forEach((n=>{const r=e[n];V(r)?t[n]={bytes:r.buffer,byteOffset:r.byteOffset,byteLength:r.byteLength}:t[n]=r})),t},Cs=function(e){const t=e.byterange||{length:1/0,offset:0};return[t.length,t.offset,e.resolvedUri].join(",")},Ls=function(e){return e.resolvedUri},As=e=>{const t=Array.prototype.slice.call(e),n=16;let r,i,o="";for(let e=0;e<t.length/n;e++)r=t.slice(e*n,e*n+n).map(ks).join(""),i=t.slice(e*n,e*n+n).map(Es).join(""),o+=r+" "+i+"\n";return o};var Is=Object.freeze({__proto__:null,createTransferableMessage:Os,initSegmentId:Cs,segmentKeyId:Ls,hexDump:As,tagDump:({bytes:e})=>As(e),textRanges:e=>{let t,n="";for(t=0;t<e.length;t++)n+=Ss(e,t)+" ";return n}});const Ps=({playlist:e,time:t,callback:n})=>{if(!n)throw new Error("getProgramTime: callback must be provided");if(!e||void 0===t)return n({message:"getProgramTime: playlist and time must be provided"});const r=((e,t)=>{if(!t||!t.segments||0===t.segments.length)return null;let n,r=0;for(let i=0;i<t.segments.length&&(n=t.segments[i],r=n.videoTimingInfo?n.videoTimingInfo.transmuxedPresentationEnd:r+n.duration,!(e<=r));i++);const i=t.segments[t.segments.length-1];if(i.videoTimingInfo&&i.videoTimingInfo.transmuxedPresentationEnd<e)return null;if(e>r){if(e>r+.25*i.duration)return null;n=i}return{segment:n,estimatedStart:n.videoTimingInfo?n.videoTimingInfo.transmuxedPresentationStart:r-n.duration,type:n.videoTimingInfo?"accurate":"estimate"}})(t,e);if(!r)return n({message:"valid programTime was not found"});if("estimate"===r.type)return n({message:"Accurate programTime could not be determined. Please seek to e.seekTime and try again",seekTime:r.estimatedStart});const i={mediaSeconds:t},o=((e,t)=>{if(!t.dateTimeObject)return null;const n=t.videoTimingInfo.transmuxerPrependedSeconds,r=e-(t.videoTimingInfo.transmuxedPresentationStart+n);return new Date(t.dateTimeObject.getTime()+1e3*r)})(t,r.segment);return o&&(i.programDateTime=o.toISOString()),n(null,i)},Ms=({programTime:e,playlist:t,retryCount:n=2,seekTo:r,pauseAfterSeek:i=!0,tech:o,callback:a})=>{if(!a)throw new Error("seekToProgramTime: callback must be provided");if(void 0===e||!t||!r)return a({message:"seekToProgramTime: programTime, seekTo and playlist must be provided"});if(!t.endList&&!o.hasStarted_)return a({message:"player must be playing a live stream to start buffering"});if(!(e=>{if(!e.segments||0===e.segments.length)return!1;for(let t=0;t<e.segments.length;t++)if(!e.segments[t].dateTimeObject)return!1;return!0})(t))return a({message:"programDateTime tags must be provided in the manifest "+t.resolvedUri});const s=((e,t)=>{let n;try{n=new Date(e)}catch(e){return null}if(!t||!t.segments||0===t.segments.length)return null;let r=t.segments[0];if(n<r.dateTimeObject)return null;for(let e=0;e<t.segments.length-1&&(r=t.segments[e],!(n<t.segments[e+1].dateTimeObject));e++);const i=t.segments[t.segments.length-1],o=i.dateTimeObject,a=i.videoTimingInfo?(s=i.videoTimingInfo).transmuxedPresentationEnd-s.transmuxedPresentationStart-s.transmuxerPrependedSeconds:i.duration+.25*i.duration;var s;return n>new Date(o.getTime()+1e3*a)?null:(n>o&&(r=i),{segment:r,estimatedStart:r.videoTimingInfo?r.videoTimingInfo.transmuxedPresentationStart:os.duration(t,t.mediaSequence+t.segments.indexOf(r)),type:r.videoTimingInfo?"accurate":"estimate"})})(e,t);if(!s)return a({message:`${e} was not found in the stream`});const u=s.segment,c=((e,t)=>{let n,r;try{n=new Date(e),r=new Date(t)}catch(e){}const i=n.getTime();return(r.getTime()-i)/1e3})(u.dateTimeObject,e);if("estimate"===s.type)return 0===n?a({message:`${e} is not buffered yet. Try again`}):(r(s.estimatedStart+c),void o.one("seeked",(()=>{Ms({programTime:e,playlist:t,retryCount:n-1,seekTo:r,pauseAfterSeek:i,tech:o,callback:a})})));const l=u.start+c;o.one("seeked",(()=>a(null,o.currentTime()))),i&&o.pause(),r(l)},Rs=(e,t)=>{if(4===e.readyState)return t()},js=(e,t,n)=>{let r,i=[],o=!1;const a=function(e,t,r,i){return t.abort(),o=!0,n(e,t,r,i)},s=function(e,t){if(o)return;if(e)return a(e,t,"",i);const n=t.responseText.substring(i&&i.byteLength||0,t.responseText.length);if(i=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];if(t=t.filter((function(e){return e&&(e.byteLength||e.length)&&"string"!=typeof e})),t.length<=1)return W(t[0]);var r=t.reduce((function(e,t,n){return e+(t.byteLength||t.length)}),0),i=new Uint8Array(r),o=0;return t.forEach((function(e){e=W(e),i.set(e,o),o+=e.byteLength})),i}(i,X(n,!0)),r=r||ot(i),i.length<10||r&&i.length<r+2)return Rs(t,(()=>a(e,t,"",i)));const s=St(i);return"ts"===s&&i.length<188||!s&&i.length<376?Rs(t,(()=>a(e,t,"",i))):a(null,t,s,i)},u={uri:e,beforeSend(e){e.overrideMimeType("text/plain; charset=x-user-defined"),e.addEventListener("progress",(function({total:t,loaded:n}){return ws(e,null,{statusCode:e.status},s)}))}},c=t(u,(function(e,t){return ws(c,e,t,s)}));return c},{EventTarget:Ds}=Ta,Ns=function(e,t){if(!ms(e,t))return!1;if(e.sidx&&t.sidx&&(e.sidx.offset!==t.sidx.offset||e.sidx.length!==t.sidx.length))return!1;if(!e.sidx&&t.sidx||e.sidx&&!t.sidx)return!1;if(e.segments&&!t.segments||!e.segments&&t.segments)return!1;if(!e.segments&&!t.segments)return!0;for(let n=0;n<e.segments.length;n++){const r=e.segments[n],i=t.segments[n];if(r.uri!==i.uri)return!1;if(!r.byterange&&!i.byterange)continue;const o=r.byterange,a=i.byterange;if(o&&!a||!o&&a)return!1;if(o.offset!==a.offset||o.length!==a.length)return!1}return!0},Bs=(e,t,n,r)=>`placeholder-uri-${e}-${t}-${r.attributes.NAME||n}`,Us=(e,t,n)=>{let r=!0,i=Ia(e,{duration:t.duration,minimumUpdatePeriod:t.minimumUpdatePeriod,timelineStarts:t.timelineStarts});for(let e=0;e<t.playlists.length;e++){const o=t.playlists[e];if(o.sidx){const e=Se(o.sidx);n&&n[e]&&n[e].sidx&&ve(o,n[e].sidx,o.sidx.resolvedUri)}const a=ys(i,o,Ns);a&&(i=a,r=!1)}return cs(t,((e,t,n,o)=>{if(e.playlists&&e.playlists.length){const a=e.playlists[0].id,s=ys(i,e.playlists[0],Ns);s&&(i=s,o in i.mediaGroups[t][n]||(i.mediaGroups[t][n][o]=e),i.mediaGroups[t][n][o].playlists[0]=i.playlists[a],r=!1)}})),((e,t)=>{cs(e,((n,r,i,o)=>{o in t.mediaGroups[r][i]||delete e.mediaGroups[r][i][o]}))})(i,t),t.minimumUpdatePeriod!==e.minimumUpdatePeriod&&(r=!1),r?null:i},Fs=(e,t)=>(Boolean(!e.map&&!t.map)||Boolean(e.map&&t.map&&e.map.byterange.offset===t.map.byterange.offset&&e.map.byterange.length===t.map.byterange.length))&&e.uri===t.uri&&e.byterange.offset===t.byterange.offset&&e.byterange.length===t.byterange.length,zs=(e,t)=>{const n={};for(const r in e){const i=e[r].sidx;if(i){const e=Se(i);if(!t[e])break;const r=t[e].sidxInfo;Fs(r,i)&&(n[e]=t[e])}}return n};class Hs extends Ds{constructor(e,t,n={},r){super(),this.mainPlaylistLoader_=r||this,r||(this.isMain_=!0);const{withCredentials:i=!1}=n;if(this.vhs_=t,this.withCredentials=i,!e)throw new Error("A non-empty playlist URL or object is required");this.on("minimumUpdatePeriod",(()=>{this.refreshXml_()})),this.on("mediaupdatetimeout",(()=>{this.refreshMedia_(this.media().id)})),this.state="HAVE_NOTHING",this.loadedPlaylists_={},this.logger_=Aa("DashPlaylistLoader"),this.isMain_?(this.mainPlaylistLoader_.srcUrl=e,this.mainPlaylistLoader_.sidxMapping_={}):this.childPlaylist_=e}requestErrored_(e,t,n){return!this.request||(this.request=null,e?(this.error="object"!=typeof e||e instanceof Error?{status:t.status,message:"DASH request error at URL: "+t.uri,response:t.response,code:2}:e,n&&(this.state=n),this.trigger("error"),!0):void 0)}addSidxSegments_(e,t,n){const r=e.sidx&&Se(e.sidx);if(!e.sidx||!r||this.mainPlaylistLoader_.sidxMapping_[r])return void(this.mediaRequest_=i().setTimeout((()=>n(!1)),0));const o=La(e.sidx.resolvedUri),a=(i,o)=>{if(this.requestErrored_(i,o,t))return;const a=this.mainPlaylistLoader_.sidxMapping_;let s;try{s=rt()(W(o.response).subarray(8))}catch(e){return void this.requestErrored_(e,o,t)}return a[r]={sidxInfo:e.sidx,sidx:s},ve(e,s,e.sidx.resolvedUri),n(!0)};this.request=js(o,this.vhs_.xhr,((t,n,r,i)=>{if(t)return a(t,n);if(!r||"mp4"!==r)return a({status:n.status,message:`Unsupported ${r||"unknown"} container type for sidx segment at URL: ${o}`,response:"",playlist:e,internal:!0,playlistExclusionDuration:1/0,code:2},n);const{offset:s,length:u}=e.sidx.byterange;if(i.length>=u+s)return a(t,{response:i.subarray(s,s+u),status:n.status,uri:n.uri});this.request=this.vhs_.xhr({uri:o,responseType:"arraybuffer",headers:xs({byterange:e.sidx.byterange})},a)}))}dispose(){this.trigger("dispose"),this.stopRequest(),this.loadedPlaylists_={},i().clearTimeout(this.minimumUpdatePeriodTimeout_),i().clearTimeout(this.mediaRequest_),i().clearTimeout(this.mediaUpdateTimeout),this.mediaUpdateTimeout=null,this.mediaRequest_=null,this.minimumUpdatePeriodTimeout_=null,this.mainPlaylistLoader_.createMupOnMedia_&&(this.off("loadedmetadata",this.mainPlaylistLoader_.createMupOnMedia_),this.mainPlaylistLoader_.createMupOnMedia_=null),this.off()}hasPendingRequest(){return this.request||this.mediaRequest_}stopRequest(){if(this.request){const e=this.request;this.request=null,e.onreadystatechange=null,e.abort()}}media(e){if(!e)return this.media_;if("HAVE_NOTHING"===this.state)throw new Error("Cannot switch media playlist from "+this.state);const t=this.state;if("string"==typeof e){if(!this.mainPlaylistLoader_.main.playlists[e])throw new Error("Unknown playlist URI: "+e);e=this.mainPlaylistLoader_.main.playlists[e]}const n=!this.media_||e.id!==this.media_.id;if(n&&this.loadedPlaylists_[e.id]&&this.loadedPlaylists_[e.id].endList)return this.state="HAVE_METADATA",this.media_=e,void(n&&(this.trigger("mediachanging"),this.trigger("mediachange")));n&&(this.media_&&this.trigger("mediachanging"),this.addSidxSegments_(e,t,(n=>{this.haveMetadata({startingState:t,playlist:e})})))}haveMetadata({startingState:e,playlist:t}){this.state="HAVE_METADATA",this.loadedPlaylists_[t.id]=t,this.mediaRequest_=null,this.refreshMedia_(t.id),"HAVE_MAIN_MANIFEST"===e?this.trigger("loadedmetadata"):this.trigger("mediachange")}pause(){this.mainPlaylistLoader_.createMupOnMedia_&&(this.off("loadedmetadata",this.mainPlaylistLoader_.createMupOnMedia_),this.mainPlaylistLoader_.createMupOnMedia_=null),this.stopRequest(),i().clearTimeout(this.mediaUpdateTimeout),this.mediaUpdateTimeout=null,this.isMain_&&(i().clearTimeout(this.mainPlaylistLoader_.minimumUpdatePeriodTimeout_),this.mainPlaylistLoader_.minimumUpdatePeriodTimeout_=null),"HAVE_NOTHING"===this.state&&(this.started=!1)}load(e){i().clearTimeout(this.mediaUpdateTimeout),this.mediaUpdateTimeout=null;const t=this.media();if(e){const e=t?t.targetDuration/2*1e3:5e3;this.mediaUpdateTimeout=i().setTimeout((()=>this.load()),e)}else this.started?t&&!t.endList?(this.isMain_&&!this.minimumUpdatePeriodTimeout_&&(this.trigger("minimumUpdatePeriod"),this.updateMinimumUpdatePeriodTimeout_()),this.trigger("mediaupdatetimeout")):this.trigger("loadedplaylist"):this.start()}start(){this.started=!0,this.isMain_?this.requestMain_(((e,t)=>{this.haveMain_(),this.hasPendingRequest()||this.media_||this.media(this.mainPlaylistLoader_.main.playlists[0])})):this.mediaRequest_=i().setTimeout((()=>this.haveMain_()),0)}requestMain_(e){this.request=this.vhs_.xhr({uri:this.mainPlaylistLoader_.srcUrl,withCredentials:this.withCredentials},((t,n)=>{if(this.requestErrored_(t,n))return void("HAVE_NOTHING"===this.state&&(this.started=!1));const r=n.responseText!==this.mainPlaylistLoader_.mainXml_;return this.mainPlaylistLoader_.mainXml_=n.responseText,n.responseHeaders&&n.responseHeaders.date?this.mainLoaded_=Date.parse(n.responseHeaders.date):this.mainLoaded_=Date.now(),this.mainPlaylistLoader_.srcUrl=La(this.mainPlaylistLoader_.srcUrl,n),r?(this.handleMain_(),void this.syncClientServerClock_((()=>e(n,r)))):e(n,r)}))}syncClientServerClock_(e){const t=et(this.mainPlaylistLoader_.mainXml_);return null===t?(this.mainPlaylistLoader_.clientOffset_=this.mainLoaded_-Date.now(),e()):"DIRECT"===t.method?(this.mainPlaylistLoader_.clientOffset_=t.value-Date.now(),e()):void(this.request=this.vhs_.xhr({uri:Ca(this.mainPlaylistLoader_.srcUrl,t.value),method:t.method,withCredentials:this.withCredentials},((n,r)=>{if(!this.request)return;if(n)return this.mainPlaylistLoader_.clientOffset_=this.mainLoaded_-Date.now(),e();let i;i="HEAD"===t.method?r.responseHeaders&&r.responseHeaders.date?Date.parse(r.responseHeaders.date):this.mainLoaded_:Date.parse(r.responseText),this.mainPlaylistLoader_.clientOffset_=i-Date.now(),e()})))}haveMain_(){this.state="HAVE_MAIN_MANIFEST",this.isMain_?this.trigger("loadedplaylist"):this.media_||this.media(this.childPlaylist_)}handleMain_(){this.mediaRequest_=null;const e=this.mainPlaylistLoader_.main;let t=(({mainXml:e,srcUrl:t,clientOffset:n,sidxMapping:r,previousManifest:i})=>{const o=Je(e,{manifestUri:t,clientOffset:n,sidxMapping:r,previousManifest:i});return fs(o,t,Bs),o})({mainXml:this.mainPlaylistLoader_.mainXml_,srcUrl:this.mainPlaylistLoader_.srcUrl,clientOffset:this.mainPlaylistLoader_.clientOffset_,sidxMapping:this.mainPlaylistLoader_.sidxMapping_,previousManifest:e});e&&(t=Us(e,t,this.mainPlaylistLoader_.sidxMapping_)),this.mainPlaylistLoader_.main=t||e;const n=this.mainPlaylistLoader_.main.locations&&this.mainPlaylistLoader_.main.locations[0];return n&&n!==this.mainPlaylistLoader_.srcUrl&&(this.mainPlaylistLoader_.srcUrl=n),(!e||t&&t.minimumUpdatePeriod!==e.minimumUpdatePeriod)&&this.updateMinimumUpdatePeriodTimeout_(),Boolean(t)}updateMinimumUpdatePeriodTimeout_(){const e=this.mainPlaylistLoader_;e.createMupOnMedia_&&(e.off("loadedmetadata",e.createMupOnMedia_),e.createMupOnMedia_=null),e.minimumUpdatePeriodTimeout_&&(i().clearTimeout(e.minimumUpdatePeriodTimeout_),e.minimumUpdatePeriodTimeout_=null);let t=e.main&&e.main.minimumUpdatePeriod;0===t&&(e.media()?t=1e3*e.media().targetDuration:(e.createMupOnMedia_=e.updateMinimumUpdatePeriodTimeout_,e.one("loadedmetadata",e.createMupOnMedia_))),"number"!=typeof t||t<=0?t<0&&this.logger_(`found invalid minimumUpdatePeriod of ${t}, not setting a timeout`):this.createMUPTimeout_(t)}createMUPTimeout_(e){const t=this.mainPlaylistLoader_;t.minimumUpdatePeriodTimeout_=i().setTimeout((()=>{t.minimumUpdatePeriodTimeout_=null,t.trigger("minimumUpdatePeriod"),t.createMUPTimeout_(e)}),e)}refreshXml_(){this.requestMain_(((e,t)=>{t&&(this.media_&&(this.media_=this.mainPlaylistLoader_.main.playlists[this.media_.id]),this.mainPlaylistLoader_.sidxMapping_=((e,t)=>{let n=zs(e.playlists,t);return cs(e,((e,r,i,o)=>{if(e.playlists&&e.playlists.length){const r=e.playlists;n=Ia(n,zs(r,t))}})),n})(this.mainPlaylistLoader_.main,this.mainPlaylistLoader_.sidxMapping_),this.addSidxSegments_(this.media(),this.state,(e=>{this.refreshMedia_(this.media().id)})))}))}refreshMedia_(e){if(!e)throw new Error("refreshMedia_ must take a media id");this.media_&&this.isMain_&&this.handleMain_();const t=this.mainPlaylistLoader_.main.playlists,n=!this.media_||this.media_!==t[e];if(n?this.media_=t[e]:this.trigger("playlistunchanged"),!this.mediaUpdateTimeout){const e=()=>{this.media().endList||(this.mediaUpdateTimeout=i().setTimeout((()=>{this.trigger("mediaupdatetimeout"),e()}),vs(this.media(),Boolean(n))))};e()}this.trigger("loadedplaylist")}}var Zs={GOAL_BUFFER_LENGTH:30,MAX_GOAL_BUFFER_LENGTH:60,BACK_BUFFER_LENGTH:30,GOAL_BUFFER_LENGTH_RATE:1,INITIAL_BANDWIDTH:4194304,BANDWIDTH_VARIANCE:1.2,BUFFER_LOW_WATER_LINE:0,MAX_BUFFER_LOW_WATER_LINE:30,EXPERIMENTAL_MAX_BUFFER_LOW_WATER_LINE:16,BUFFER_LOW_WATER_LINE_RATE:1,BUFFER_HIGH_WATER_LINE:30};const qs=function(e){return e.on=e.addEventListener,e.off=e.removeEventListener,e},Vs=function(e){return function(){const t=function(e){try{return URL.createObjectURL(new Blob([e],{type:"application/javascript"}))}catch(t){const n=new BlobBuilder;return n.append(e),URL.createObjectURL(n.getBlob())}}(e),n=qs(new Worker(t));n.objURL=t;const r=n.terminate;return n.on=n.addEventListener,n.off=n.removeEventListener,n.terminate=function(){return URL.revokeObjectURL(t),r.call(this)},n}},Ws=function(e){return`var browserWorkerPolyFill = ${qs.toString()};\nbrowserWorkerPolyFill(self);\n`+e},Gs=function(e){return e.toString().replace(/^function.+?{/,"").slice(0,-1)},$s=Ws(Gs((function(){var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==n.g?n.g:"undefined"!=typeof self?self:{},t=function(){this.init=function(){var e={};this.on=function(t,n){e[t]||(e[t]=[]),e[t]=e[t].concat(n)},this.off=function(t,n){var r;return!!e[t]&&(r=e[t].indexOf(n),e[t]=e[t].slice(),e[t].splice(r,1),r>-1)},this.trigger=function(t){var n,r,i,o;if(n=e[t])if(2===arguments.length)for(i=n.length,r=0;r<i;++r)n[r].call(this,arguments[1]);else{for(o=[],r=arguments.length,r=1;r<arguments.length;++r)o.push(arguments[r]);for(i=n.length,r=0;r<i;++r)n[r].apply(this,o)}},this.dispose=function(){e={}}}};t.prototype.pipe=function(e){return this.on("data",(function(t){e.push(t)})),this.on("done",(function(t){e.flush(t)})),this.on("partialdone",(function(t){e.partialFlush(t)})),this.on("endedtimeline",(function(t){e.endTimeline(t)})),this.on("reset",(function(t){e.reset(t)})),e},t.prototype.push=function(e){this.trigger("data",e)},t.prototype.flush=function(e){this.trigger("done",e)},t.prototype.partialFlush=function(e){this.trigger("partialdone",e)},t.prototype.endTimeline=function(e){this.trigger("endedtimeline",e)},t.prototype.reset=function(e){this.trigger("reset",e)};var r,i,o,a,s,u,c,l,f,d,p,h,g,m,y,v,b,_,w,T,x,S,k,E,O,C,L,A,I,P,M,R,j,D,N,B,U,F,z,H,Z=t,q=Math.pow(2,32),V={getUint64:function(e){var t,n=new DataView(e.buffer,e.byteOffset,e.byteLength);return n.getBigUint64?(t=n.getBigUint64(0))<Number.MAX_SAFE_INTEGER?Number(t):t:n.getUint32(0)*q+n.getUint32(4)},MAX_UINT32:q},W=V.MAX_UINT32;!function(){var e;if(S={avc1:[],avcC:[],btrt:[],dinf:[],dref:[],esds:[],ftyp:[],hdlr:[],mdat:[],mdhd:[],mdia:[],mfhd:[],minf:[],moof:[],moov:[],mp4a:[],mvex:[],mvhd:[],pasp:[],sdtp:[],smhd:[],stbl:[],stco:[],stsc:[],stsd:[],stsz:[],stts:[],styp:[],tfdt:[],tfhd:[],traf:[],trak:[],trun:[],trex:[],tkhd:[],vmhd:[]},"undefined"!=typeof Uint8Array){for(e in S)S.hasOwnProperty(e)&&(S[e]=[e.charCodeAt(0),e.charCodeAt(1),e.charCodeAt(2),e.charCodeAt(3)]);k=new Uint8Array(["i".charCodeAt(0),"s".charCodeAt(0),"o".charCodeAt(0),"m".charCodeAt(0)]),O=new Uint8Array(["a".charCodeAt(0),"v".charCodeAt(0),"c".charCodeAt(0),"1".charCodeAt(0)]),E=new Uint8Array([0,0,0,1]),C=new Uint8Array([0,0,0,0,0,0,0,0,118,105,100,101,0,0,0,0,0,0,0,0,0,0,0,0,86,105,100,101,111,72,97,110,100,108,101,114,0]),L=new Uint8Array([0,0,0,0,0,0,0,0,115,111,117,110,0,0,0,0,0,0,0,0,0,0,0,0,83,111,117,110,100,72,97,110,100,108,101,114,0]),A={video:C,audio:L},M=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,12,117,114,108,32,0,0,0,1]),P=new Uint8Array([0,0,0,0,0,0,0,0]),R=new Uint8Array([0,0,0,0,0,0,0,0]),j=R,D=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0]),N=R,I=new Uint8Array([0,0,0,1,0,0,0,0,0,0,0,0])}}(),r=function(e){var t,n,r=[],i=0;for(t=1;t<arguments.length;t++)r.push(arguments[t]);for(t=r.length;t--;)i+=r[t].byteLength;for(n=new Uint8Array(i+8),new DataView(n.buffer,n.byteOffset,n.byteLength).setUint32(0,n.byteLength),n.set(e,4),t=0,i=8;t<r.length;t++)n.set(r[t],i),i+=r[t].byteLength;return n},i=function(){return r(S.dinf,r(S.dref,M))},o=function(e){return r(S.esds,new Uint8Array([0,0,0,0,3,25,0,0,0,4,17,64,21,0,6,0,0,0,218,192,0,0,218,192,5,2,e.audioobjecttype<<3|e.samplingfrequencyindex>>>1,e.samplingfrequencyindex<<7|e.channelcount<<3,6,1,2]))},y=function(e){return r(S.hdlr,A[e])},m=function(e){var t=new Uint8Array([0,0,0,0,0,0,0,2,0,0,0,3,0,1,95,144,e.duration>>>24&255,e.duration>>>16&255,e.duration>>>8&255,255&e.duration,85,196,0,0]);return e.samplerate&&(t[12]=e.samplerate>>>24&255,t[13]=e.samplerate>>>16&255,t[14]=e.samplerate>>>8&255,t[15]=255&e.samplerate),r(S.mdhd,t)},g=function(e){return r(S.mdia,m(e),y(e.type),u(e))},s=function(e){return r(S.mfhd,new Uint8Array([0,0,0,0,(4278190080&e)>>24,(16711680&e)>>16,(65280&e)>>8,255&e]))},u=function(e){return r(S.minf,"video"===e.type?r(S.vmhd,I):r(S.smhd,P),i(),b(e))},c=function(e,t){for(var n=[],i=t.length;i--;)n[i]=w(t[i]);return r.apply(null,[S.moof,s(e)].concat(n))},l=function(e){for(var t=e.length,n=[];t--;)n[t]=p(e[t]);return r.apply(null,[S.moov,d(4294967295)].concat(n).concat(f(e)))},f=function(e){for(var t=e.length,n=[];t--;)n[t]=T(e[t]);return r.apply(null,[S.mvex].concat(n))},d=function(e){var t=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,2,0,1,95,144,(4278190080&e)>>24,(16711680&e)>>16,(65280&e)>>8,255&e,0,1,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,64,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,255,255,255,255]);return r(S.mvhd,t)},v=function(e){var t,n,i=e.samples||[],o=new Uint8Array(4+i.length);for(n=0;n<i.length;n++)t=i[n].flags,o[n+4]=t.dependsOn<<4|t.isDependedOn<<2|t.hasRedundancy;return r(S.sdtp,o)},b=function(e){return r(S.stbl,_(e),r(S.stts,N),r(S.stsc,j),r(S.stsz,D),r(S.stco,R))},_=function(e){return r(S.stsd,new Uint8Array([0,0,0,0,0,0,0,1]),"video"===e.type?B(e):U(e))},B=function(e){var t,n,i=e.sps||[],o=e.pps||[],a=[],s=[];for(t=0;t<i.length;t++)a.push((65280&i[t].byteLength)>>>8),a.push(255&i[t].byteLength),a=a.concat(Array.prototype.slice.call(i[t]));for(t=0;t<o.length;t++)s.push((65280&o[t].byteLength)>>>8),s.push(255&o[t].byteLength),s=s.concat(Array.prototype.slice.call(o[t]));if(n=[S.avc1,new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,(65280&e.width)>>8,255&e.width,(65280&e.height)>>8,255&e.height,0,72,0,0,0,72,0,0,0,0,0,0,0,1,19,118,105,100,101,111,106,115,45,99,111,110,116,114,105,98,45,104,108,115,0,0,0,0,0,0,0,0,0,0,0,0,0,24,17,17]),r(S.avcC,new Uint8Array([1,e.profileIdc,e.profileCompatibility,e.levelIdc,255].concat([i.length],a,[o.length],s))),r(S.btrt,new Uint8Array([0,28,156,128,0,45,198,192,0,45,198,192]))],e.sarRatio){var u=e.sarRatio[0],c=e.sarRatio[1];n.push(r(S.pasp,new Uint8Array([(4278190080&u)>>24,(16711680&u)>>16,(65280&u)>>8,255&u,(4278190080&c)>>24,(16711680&c)>>16,(65280&c)>>8,255&c])))}return r.apply(null,n)},U=function(e){return r(S.mp4a,new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,(65280&e.channelcount)>>8,255&e.channelcount,(65280&e.samplesize)>>8,255&e.samplesize,0,0,0,0,(65280&e.samplerate)>>8,255&e.samplerate,0,0]),o(e))},h=function(e){var t=new Uint8Array([0,0,0,7,0,0,0,0,0,0,0,0,(4278190080&e.id)>>24,(16711680&e.id)>>16,(65280&e.id)>>8,255&e.id,0,0,0,0,(4278190080&e.duration)>>24,(16711680&e.duration)>>16,(65280&e.duration)>>8,255&e.duration,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,64,0,0,0,(65280&e.width)>>8,255&e.width,0,0,(65280&e.height)>>8,255&e.height,0,0]);return r(S.tkhd,t)},w=function(e){var t,n,i,o,a,s;return t=r(S.tfhd,new Uint8Array([0,0,0,58,(4278190080&e.id)>>24,(16711680&e.id)>>16,(65280&e.id)>>8,255&e.id,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0])),a=Math.floor(e.baseMediaDecodeTime/W),s=Math.floor(e.baseMediaDecodeTime%W),n=r(S.tfdt,new Uint8Array([1,0,0,0,a>>>24&255,a>>>16&255,a>>>8&255,255&a,s>>>24&255,s>>>16&255,s>>>8&255,255&s])),92,"audio"===e.type?(i=x(e,92),r(S.traf,t,n,i)):(o=v(e),i=x(e,o.length+92),r(S.traf,t,n,i,o))},p=function(e){return e.duration=e.duration||4294967295,r(S.trak,h(e),g(e))},T=function(e){var t=new Uint8Array([0,0,0,0,(4278190080&e.id)>>24,(16711680&e.id)>>16,(65280&e.id)>>8,255&e.id,0,0,0,1,0,0,0,0,0,0,0,0,0,1,0,1]);return"video"!==e.type&&(t[t.length-1]=0),r(S.trex,t)},H=function(e,t){var n=0,r=0,i=0,o=0;return e.length&&(void 0!==e[0].duration&&(n=1),void 0!==e[0].size&&(r=2),void 0!==e[0].flags&&(i=4),void 0!==e[0].compositionTimeOffset&&(o=8)),[0,0,n|r|i|o,1,(4278190080&e.length)>>>24,(16711680&e.length)>>>16,(65280&e.length)>>>8,255&e.length,(4278190080&t)>>>24,(16711680&t)>>>16,(65280&t)>>>8,255&t]},z=function(e,t){var n,i,o,a,s,u;for(t+=20+16*(a=e.samples||[]).length,o=H(a,t),(i=new Uint8Array(o.length+16*a.length)).set(o),n=o.length,u=0;u<a.length;u++)s=a[u],i[n++]=(4278190080&s.duration)>>>24,i[n++]=(16711680&s.duration)>>>16,i[n++]=(65280&s.duration)>>>8,i[n++]=255&s.duration,i[n++]=(4278190080&s.size)>>>24,i[n++]=(16711680&s.size)>>>16,i[n++]=(65280&s.size)>>>8,i[n++]=255&s.size,i[n++]=s.flags.isLeading<<2|s.flags.dependsOn,i[n++]=s.flags.isDependedOn<<6|s.flags.hasRedundancy<<4|s.flags.paddingValue<<1|s.flags.isNonSyncSample,i[n++]=61440&s.flags.degradationPriority,i[n++]=15&s.flags.degradationPriority,i[n++]=(4278190080&s.compositionTimeOffset)>>>24,i[n++]=(16711680&s.compositionTimeOffset)>>>16,i[n++]=(65280&s.compositionTimeOffset)>>>8,i[n++]=255&s.compositionTimeOffset;return r(S.trun,i)},F=function(e,t){var n,i,o,a,s,u;for(t+=20+8*(a=e.samples||[]).length,o=H(a,t),(n=new Uint8Array(o.length+8*a.length)).set(o),i=o.length,u=0;u<a.length;u++)s=a[u],n[i++]=(4278190080&s.duration)>>>24,n[i++]=(16711680&s.duration)>>>16,n[i++]=(65280&s.duration)>>>8,n[i++]=255&s.duration,n[i++]=(4278190080&s.size)>>>24,n[i++]=(16711680&s.size)>>>16,n[i++]=(65280&s.size)>>>8,n[i++]=255&s.size;return r(S.trun,n)},x=function(e,t){return"audio"===e.type?F(e,t):z(e,t)};var G,$,Y,K,X,Q,J,ee,te={ftyp:a=function(){return r(S.ftyp,k,E,k,O)},mdat:function(e){return r(S.mdat,e)},moof:c,moov:l,initSegment:function(e){var t,n=a(),r=l(e);return(t=new Uint8Array(n.byteLength+r.byteLength)).set(n),t.set(r,n.byteLength),t}},ne=function(e,t){var n={size:0,flags:{isLeading:0,dependsOn:1,isDependedOn:0,hasRedundancy:0,degradationPriority:0,isNonSyncSample:1}};return n.dataOffset=t,n.compositionTimeOffset=e.pts-e.dts,n.duration=e.duration,n.size=4*e.length,n.size+=e.byteLength,e.keyFrame&&(n.flags.dependsOn=2,n.flags.isNonSyncSample=0),n},re={groupNalsIntoFrames:function(e){var t,n,r=[],i=[];for(i.byteLength=0,i.nalCount=0,i.duration=0,r.byteLength=0,t=0;t<e.length;t++)"access_unit_delimiter_rbsp"===(n=e[t]).nalUnitType?(r.length&&(r.duration=n.dts-r.dts,i.byteLength+=r.byteLength,i.nalCount+=r.length,i.duration+=r.duration,i.push(r)),(r=[n]).byteLength=n.data.byteLength,r.pts=n.pts,r.dts=n.dts):("slice_layer_without_partitioning_rbsp_idr"===n.nalUnitType&&(r.keyFrame=!0),r.duration=n.dts-r.dts,r.byteLength+=n.data.byteLength,r.push(n));return i.length&&(!r.duration||r.duration<=0)&&(r.duration=i[i.length-1].duration),i.byteLength+=r.byteLength,i.nalCount+=r.length,i.duration+=r.duration,i.push(r),i},groupFramesIntoGops:function(e){var t,n,r=[],i=[];for(r.byteLength=0,r.nalCount=0,r.duration=0,r.pts=e[0].pts,r.dts=e[0].dts,i.byteLength=0,i.nalCount=0,i.duration=0,i.pts=e[0].pts,i.dts=e[0].dts,t=0;t<e.length;t++)(n=e[t]).keyFrame?(r.length&&(i.push(r),i.byteLength+=r.byteLength,i.nalCount+=r.nalCount,i.duration+=r.duration),(r=[n]).nalCount=n.length,r.byteLength=n.byteLength,r.pts=n.pts,r.dts=n.dts,r.duration=n.duration):(r.duration+=n.duration,r.nalCount+=n.length,r.byteLength+=n.byteLength,r.push(n));return i.length&&r.duration<=0&&(r.duration=i[i.length-1].duration),i.byteLength+=r.byteLength,i.nalCount+=r.nalCount,i.duration+=r.duration,i.push(r),i},extendFirstKeyFrame:function(e){var t;return!e[0][0].keyFrame&&e.length>1&&(t=e.shift(),e.byteLength-=t.byteLength,e.nalCount-=t.nalCount,e[0][0].dts=t.dts,e[0][0].pts=t.pts,e[0][0].duration+=t.duration),e},generateSampleTable:function(e,t){var n,r,i,o,a,s=t||0,u=[];for(n=0;n<e.length;n++)for(o=e[n],r=0;r<o.length;r++)a=o[r],s+=(i=ne(a,s)).size,u.push(i);return u},concatenateNalData:function(e){var t,n,r,i,o,a,s=0,u=e.byteLength,c=e.nalCount,l=new Uint8Array(u+4*c),f=new DataView(l.buffer);for(t=0;t<e.length;t++)for(i=e[t],n=0;n<i.length;n++)for(o=i[n],r=0;r<o.length;r++)a=o[r],f.setUint32(s,a.data.byteLength),s+=4,l.set(a.data,s),s+=a.data.byteLength;return l},generateSampleTableForFrame:function(e,t){var n,r=[];return n=ne(e,t||0),r.push(n),r},concatenateNalDataForFrame:function(e){var t,n,r=0,i=e.byteLength,o=e.length,a=new Uint8Array(i+4*o),s=new DataView(a.buffer);for(t=0;t<e.length;t++)n=e[t],s.setUint32(r,n.data.byteLength),r+=4,a.set(n.data,r),r+=n.data.byteLength;return a}},ie=[33,16,5,32,164,27],oe=[33,65,108,84,1,2,4,8,168,2,4,8,17,191,252],ae=function(e){for(var t=[];e--;)t.push(0);return t},se=9e4;Q=function(e,t){return $(X(e,t))},J=function(e,t){return Y(K(e),t)},ee=function(e,t,n){return K(n?e:e-t)};var ue={ONE_SECOND_IN_TS:se,secondsToVideoTs:$=function(e){return e*se},secondsToAudioTs:Y=function(e,t){return e*t},videoTsToSeconds:K=function(e){return e/se},audioTsToSeconds:X=function(e,t){return e/t},audioTsToVideoTs:Q,videoTsToAudioTs:J,metadataTsToSeconds:ee},ce=function(){if(!G){var e={96e3:[ie,[227,64],ae(154),[56]],88200:[ie,[231],ae(170),[56]],64e3:[ie,[248,192],ae(240),[56]],48e3:[ie,[255,192],ae(268),[55,148,128],ae(54),[112]],44100:[ie,[255,192],ae(268),[55,163,128],ae(84),[112]],32e3:[ie,[255,192],ae(268),[55,234],ae(226),[112]],24e3:[ie,[255,192],ae(268),[55,255,128],ae(268),[111,112],ae(126),[224]],16e3:[ie,[255,192],ae(268),[55,255,128],ae(268),[111,255],ae(269),[223,108],ae(195),[1,192]],12e3:[oe,ae(268),[3,127,248],ae(268),[6,255,240],ae(268),[13,255,224],ae(268),[27,253,128],ae(259),[56]],11025:[oe,ae(268),[3,127,248],ae(268),[6,255,240],ae(268),[13,255,224],ae(268),[27,255,192],ae(268),[55,175,128],ae(108),[112]],8e3:[oe,ae(268),[3,121,16],ae(47),[7]]};t=e,G=Object.keys(t).reduce((function(e,n){return e[n]=new Uint8Array(t[n].reduce((function(e,t){return e.concat(t)}),[])),e}),{})}var t;return G},le=ue,fe={prefixWithSilence:function(e,t,n,r){var i,o,a,s,u,c=0,l=0,f=0;if(t.length&&(i=le.audioTsToVideoTs(e.baseMediaDecodeTime,e.samplerate),o=Math.ceil(le.ONE_SECOND_IN_TS/(e.samplerate/1024)),n&&r&&(c=i-Math.max(n,r),f=(l=Math.floor(c/o))*o),!(l<1||f>le.ONE_SECOND_IN_TS/2))){for((a=ce()[e.samplerate])||(a=t[0].data),s=0;s<l;s++)u=t[0],t.splice(0,0,{data:a,dts:u.dts-o,pts:u.pts-o});return e.baseMediaDecodeTime-=Math.floor(le.videoTsToAudioTs(f,e.samplerate)),f}},trimAdtsFramesByEarliestDts:function(e,t,n){return t.minSegmentDts>=n?e:(t.minSegmentDts=1/0,e.filter((function(e){return e.dts>=n&&(t.minSegmentDts=Math.min(t.minSegmentDts,e.dts),t.minSegmentPts=t.minSegmentDts,!0)})))},generateSampleTable:function(e){var t,n,r=[];for(t=0;t<e.length;t++)n=e[t],r.push({size:n.data.byteLength,duration:1024});return r},concatenateFrameData:function(e){var t,n,r=0,i=new Uint8Array(function(e){var t,n=0;for(t=0;t<e.length;t++)n+=e[t].data.byteLength;return n}(e));for(t=0;t<e.length;t++)n=e[t],i.set(n.data,r),r+=n.data.byteLength;return i}},de=ue.ONE_SECOND_IN_TS,pe={clearDtsInfo:function(e){delete e.minSegmentDts,delete e.maxSegmentDts,delete e.minSegmentPts,delete e.maxSegmentPts},calculateTrackBaseMediaDecodeTime:function(e,t){var n,r=e.minSegmentDts;return t||(r-=e.timelineStartInfo.dts),n=e.timelineStartInfo.baseMediaDecodeTime,n+=r,n=Math.max(0,n),"audio"===e.type&&(n*=e.samplerate/de,n=Math.floor(n)),n},collectDtsInfo:function(e,t){"number"==typeof t.pts&&(void 0===e.timelineStartInfo.pts&&(e.timelineStartInfo.pts=t.pts),void 0===e.minSegmentPts?e.minSegmentPts=t.pts:e.minSegmentPts=Math.min(e.minSegmentPts,t.pts),void 0===e.maxSegmentPts?e.maxSegmentPts=t.pts:e.maxSegmentPts=Math.max(e.maxSegmentPts,t.pts)),"number"==typeof t.dts&&(void 0===e.timelineStartInfo.dts&&(e.timelineStartInfo.dts=t.dts),void 0===e.minSegmentDts?e.minSegmentDts=t.dts:e.minSegmentDts=Math.min(e.minSegmentDts,t.dts),void 0===e.maxSegmentDts?e.maxSegmentDts=t.dts:e.maxSegmentDts=Math.max(e.maxSegmentDts,t.dts))}},he={parseSei:function(e){for(var t=0,n={payloadType:-1,payloadSize:0},r=0,i=0;t<e.byteLength&&128!==e[t];){for(;255===e[t];)r+=255,t++;for(r+=e[t++];255===e[t];)i+=255,t++;if(i+=e[t++],!n.payload&&4===r){if("GA94"===String.fromCharCode(e[t+3],e[t+4],e[t+5],e[t+6])){n.payloadType=r,n.payloadSize=i,n.payload=e.subarray(t,t+i);break}n.payload=void 0}t+=i,r=0,i=0}return n},parseUserData:function(e){return 181!==e.payload[0]||49!=(e.payload[1]<<8|e.payload[2])||"GA94"!==String.fromCharCode(e.payload[3],e.payload[4],e.payload[5],e.payload[6])||3!==e.payload[7]?null:e.payload.subarray(8,e.payload.length-1)},parseCaptionPackets:function(e,t){var n,r,i,o,a=[];if(!(64&t[0]))return a;for(r=31&t[0],n=0;n<r;n++)o={type:3&t[(i=3*n)+2],pts:e},4&t[i+2]&&(o.ccData=t[i+3]<<8|t[i+4],a.push(o));return a},discardEmulationPreventionBytes:function(e){for(var t,n,r=e.byteLength,i=[],o=1;o<r-2;)0===e[o]&&0===e[o+1]&&3===e[o+2]?(i.push(o+2),o+=2):o++;if(0===i.length)return e;t=r-i.length,n=new Uint8Array(t);var a=0;for(o=0;o<t;a++,o++)a===i[0]&&(a++,i.shift()),n[o]=e[a];return n},USER_DATA_REGISTERED_ITU_T_T35:4},ge=Z,me=he,ye=function(e){e=e||{},ye.prototype.init.call(this),this.parse708captions_="boolean"!=typeof e.parse708captions||e.parse708captions,this.captionPackets_=[],this.ccStreams_=[new Oe(0,0),new Oe(0,1),new Oe(1,0),new Oe(1,1)],this.parse708captions_&&(this.cc708Stream_=new Te({captionServices:e.captionServices})),this.reset(),this.ccStreams_.forEach((function(e){e.on("data",this.trigger.bind(this,"data")),e.on("partialdone",this.trigger.bind(this,"partialdone")),e.on("done",this.trigger.bind(this,"done"))}),this),this.parse708captions_&&(this.cc708Stream_.on("data",this.trigger.bind(this,"data")),this.cc708Stream_.on("partialdone",this.trigger.bind(this,"partialdone")),this.cc708Stream_.on("done",this.trigger.bind(this,"done")))};ye.prototype=new ge,ye.prototype.push=function(e){var t,n,r;if("sei_rbsp"===e.nalUnitType&&(t=me.parseSei(e.escapedRBSP)).payload&&t.payloadType===me.USER_DATA_REGISTERED_ITU_T_T35&&(n=me.parseUserData(t)))if(e.dts<this.latestDts_)this.ignoreNextEqualDts_=!0;else{if(e.dts===this.latestDts_&&this.ignoreNextEqualDts_)return this.numSameDts_--,void(this.numSameDts_||(this.ignoreNextEqualDts_=!1));r=me.parseCaptionPackets(e.pts,n),this.captionPackets_=this.captionPackets_.concat(r),this.latestDts_!==e.dts&&(this.numSameDts_=0),this.numSameDts_++,this.latestDts_=e.dts}},ye.prototype.flushCCStreams=function(e){this.ccStreams_.forEach((function(t){return"flush"===e?t.flush():t.partialFlush()}),this)},ye.prototype.flushStream=function(e){this.captionPackets_.length?(this.captionPackets_.forEach((function(e,t){e.presortIndex=t})),this.captionPackets_.sort((function(e,t){return e.pts===t.pts?e.presortIndex-t.presortIndex:e.pts-t.pts})),this.captionPackets_.forEach((function(e){e.type<2?this.dispatchCea608Packet(e):this.dispatchCea708Packet(e)}),this),this.captionPackets_.length=0,this.flushCCStreams(e)):this.flushCCStreams(e)},ye.prototype.flush=function(){return this.flushStream("flush")},ye.prototype.partialFlush=function(){return this.flushStream("partialFlush")},ye.prototype.reset=function(){this.latestDts_=null,this.ignoreNextEqualDts_=!1,this.numSameDts_=0,this.activeCea608Channel_=[null,null],this.ccStreams_.forEach((function(e){e.reset()}))},ye.prototype.dispatchCea608Packet=function(e){this.setsTextOrXDSActive(e)?this.activeCea608Channel_[e.type]=null:this.setsChannel1Active(e)?this.activeCea608Channel_[e.type]=0:this.setsChannel2Active(e)&&(this.activeCea608Channel_[e.type]=1),null!==this.activeCea608Channel_[e.type]&&this.ccStreams_[(e.type<<1)+this.activeCea608Channel_[e.type]].push(e)},ye.prototype.setsChannel1Active=function(e){return 4096==(30720&e.ccData)},ye.prototype.setsChannel2Active=function(e){return 6144==(30720&e.ccData)},ye.prototype.setsTextOrXDSActive=function(e){return 256==(28928&e.ccData)||4138==(30974&e.ccData)||6186==(30974&e.ccData)},ye.prototype.dispatchCea708Packet=function(e){this.parse708captions_&&this.cc708Stream_.push(e)};var ve={127:9834,4128:32,4129:160,4133:8230,4138:352,4140:338,4144:9608,4145:8216,4146:8217,4147:8220,4148:8221,4149:8226,4153:8482,4154:353,4156:339,4157:8480,4159:376,4214:8539,4215:8540,4216:8541,4217:8542,4218:9168,4219:9124,4220:9123,4221:9135,4222:9126,4223:9121,4256:12600},be=function(e){return 32<=e&&e<=127||160<=e&&e<=255},_e=function(e){this.windowNum=e,this.reset()};_e.prototype.reset=function(){this.clearText(),this.pendingNewLine=!1,this.winAttr={},this.penAttr={},this.penLoc={},this.penColor={},this.visible=0,this.rowLock=0,this.columnLock=0,this.priority=0,this.relativePositioning=0,this.anchorVertical=0,this.anchorHorizontal=0,this.anchorPoint=0,this.rowCount=1,this.virtualRowCount=this.rowCount+1,this.columnCount=41,this.windowStyle=0,this.penStyle=0},_e.prototype.getText=function(){return this.rows.join("\n")},_e.prototype.clearText=function(){this.rows=[""],this.rowIdx=0},_e.prototype.newLine=function(e){for(this.rows.length>=this.virtualRowCount&&"function"==typeof this.beforeRowOverflow&&this.beforeRowOverflow(e),this.rows.length>0&&(this.rows.push(""),this.rowIdx++);this.rows.length>this.virtualRowCount;)this.rows.shift(),this.rowIdx--},_e.prototype.isEmpty=function(){return 0===this.rows.length||1===this.rows.length&&""===this.rows[0]},_e.prototype.addText=function(e){this.rows[this.rowIdx]+=e},_e.prototype.backspace=function(){if(!this.isEmpty()){var e=this.rows[this.rowIdx];this.rows[this.rowIdx]=e.substr(0,e.length-1)}};var we=function(e,t,n){this.serviceNum=e,this.text="",this.currentWindow=new _e(-1),this.windows=[],this.stream=n,"string"==typeof t&&this.createTextDecoder(t)};we.prototype.init=function(e,t){this.startPts=e;for(var n=0;n<8;n++)this.windows[n]=new _e(n),"function"==typeof t&&(this.windows[n].beforeRowOverflow=t)},we.prototype.setCurrentWindow=function(e){this.currentWindow=this.windows[e]},we.prototype.createTextDecoder=function(e){if("undefined"==typeof TextDecoder)this.stream.trigger("log",{level:"warn",message:"The `encoding` option is unsupported without TextDecoder support"});else try{this.textDecoder_=new TextDecoder(e)}catch(t){this.stream.trigger("log",{level:"warn",message:"TextDecoder could not be created with "+e+" encoding. "+t})}};var Te=function(e){e=e||{},Te.prototype.init.call(this);var t,n=this,r=e.captionServices||{},i={};Object.keys(r).forEach((e=>{t=r[e],/^SERVICE/.test(e)&&(i[e]=t.encoding)})),this.serviceEncodings=i,this.current708Packet=null,this.services={},this.push=function(e){3===e.type?(n.new708Packet(),n.add708Bytes(e)):(null===n.current708Packet&&n.new708Packet(),n.add708Bytes(e))}};Te.prototype=new ge,Te.prototype.new708Packet=function(){null!==this.current708Packet&&this.push708Packet(),this.current708Packet={data:[],ptsVals:[]}},Te.prototype.add708Bytes=function(e){var t=e.ccData,n=t>>>8,r=255&t;this.current708Packet.ptsVals.push(e.pts),this.current708Packet.data.push(n),this.current708Packet.data.push(r)},Te.prototype.push708Packet=function(){var e=this.current708Packet,t=e.data,n=null,r=null,i=0,o=t[i++];for(e.seq=o>>6,e.sizeCode=63&o;i<t.length;i++)r=31&(o=t[i++]),7===(n=o>>5)&&r>0&&(n=o=t[i++]),this.pushServiceBlock(n,i,r),r>0&&(i+=r-1)},Te.prototype.pushServiceBlock=function(e,t,n){var r,i=t,o=this.current708Packet.data,a=this.services[e];for(a||(a=this.initService(e,i));i<t+n&&i<o.length;i++)r=o[i],be(r)?i=this.handleText(i,a):24===r?i=this.multiByteCharacter(i,a):16===r?i=this.extendedCommands(i,a):128<=r&&r<=135?i=this.setCurrentWindow(i,a):152<=r&&r<=159?i=this.defineWindow(i,a):136===r?i=this.clearWindows(i,a):140===r?i=this.deleteWindows(i,a):137===r?i=this.displayWindows(i,a):138===r?i=this.hideWindows(i,a):139===r?i=this.toggleWindows(i,a):151===r?i=this.setWindowAttributes(i,a):144===r?i=this.setPenAttributes(i,a):145===r?i=this.setPenColor(i,a):146===r?i=this.setPenLocation(i,a):143===r?a=this.reset(i,a):8===r?a.currentWindow.backspace():12===r?a.currentWindow.clearText():13===r?a.currentWindow.pendingNewLine=!0:14===r?a.currentWindow.clearText():141===r&&i++},Te.prototype.extendedCommands=function(e,t){var n=this.current708Packet.data[++e];return be(n)&&(e=this.handleText(e,t,{isExtended:!0})),e},Te.prototype.getPts=function(e){return this.current708Packet.ptsVals[Math.floor(e/2)]},Te.prototype.initService=function(e,t){var n,r,i=this;return(n="SERVICE"+e)in this.serviceEncodings&&(r=this.serviceEncodings[n]),this.services[e]=new we(e,r,i),this.services[e].init(this.getPts(t),(function(t){i.flushDisplayed(t,i.services[e])})),this.services[e]},Te.prototype.handleText=function(e,t,n){var r,i,o,a,s=n&&n.isExtended,u=n&&n.isMultiByte,c=this.current708Packet.data,l=s?4096:0,f=c[e],d=c[e+1],p=t.currentWindow;return t.textDecoder_&&!s?(u?(i=[f,d],e++):i=[f],r=t.textDecoder_.decode(new Uint8Array(i))):(a=ve[o=l|f]||o,r=4096&o&&o===a?"":String.fromCharCode(a)),p.pendingNewLine&&!p.isEmpty()&&p.newLine(this.getPts(e)),p.pendingNewLine=!1,p.addText(r),e},Te.prototype.multiByteCharacter=function(e,t){var n=this.current708Packet.data,r=n[e+1],i=n[e+2];return be(r)&&be(i)&&(e=this.handleText(++e,t,{isMultiByte:!0})),e},Te.prototype.setCurrentWindow=function(e,t){var n=7&this.current708Packet.data[e];return t.setCurrentWindow(n),e},Te.prototype.defineWindow=function(e,t){var n=this.current708Packet.data,r=n[e],i=7&r;t.setCurrentWindow(i);var o=t.currentWindow;return r=n[++e],o.visible=(32&r)>>5,o.rowLock=(16&r)>>4,o.columnLock=(8&r)>>3,o.priority=7&r,r=n[++e],o.relativePositioning=(128&r)>>7,o.anchorVertical=127&r,r=n[++e],o.anchorHorizontal=r,r=n[++e],o.anchorPoint=(240&r)>>4,o.rowCount=15&r,r=n[++e],o.columnCount=63&r,r=n[++e],o.windowStyle=(56&r)>>3,o.penStyle=7&r,o.virtualRowCount=o.rowCount+1,e},Te.prototype.setWindowAttributes=function(e,t){var n=this.current708Packet.data,r=n[e],i=t.currentWindow.winAttr;return r=n[++e],i.fillOpacity=(192&r)>>6,i.fillRed=(48&r)>>4,i.fillGreen=(12&r)>>2,i.fillBlue=3&r,r=n[++e],i.borderType=(192&r)>>6,i.borderRed=(48&r)>>4,i.borderGreen=(12&r)>>2,i.borderBlue=3&r,r=n[++e],i.borderType+=(128&r)>>5,i.wordWrap=(64&r)>>6,i.printDirection=(48&r)>>4,i.scrollDirection=(12&r)>>2,i.justify=3&r,r=n[++e],i.effectSpeed=(240&r)>>4,i.effectDirection=(12&r)>>2,i.displayEffect=3&r,e},Te.prototype.flushDisplayed=function(e,t){for(var n=[],r=0;r<8;r++)t.windows[r].visible&&!t.windows[r].isEmpty()&&n.push(t.windows[r].getText());t.endPts=e,t.text=n.join("\n\n"),this.pushCaption(t),t.startPts=e},Te.prototype.pushCaption=function(e){""!==e.text&&(this.trigger("data",{startPts:e.startPts,endPts:e.endPts,text:e.text,stream:"cc708_"+e.serviceNum}),e.text="",e.startPts=e.endPts)},Te.prototype.displayWindows=function(e,t){var n=this.current708Packet.data[++e],r=this.getPts(e);this.flushDisplayed(r,t);for(var i=0;i<8;i++)n&1<<i&&(t.windows[i].visible=1);return e},Te.prototype.hideWindows=function(e,t){var n=this.current708Packet.data[++e],r=this.getPts(e);this.flushDisplayed(r,t);for(var i=0;i<8;i++)n&1<<i&&(t.windows[i].visible=0);return e},Te.prototype.toggleWindows=function(e,t){var n=this.current708Packet.data[++e],r=this.getPts(e);this.flushDisplayed(r,t);for(var i=0;i<8;i++)n&1<<i&&(t.windows[i].visible^=1);return e},Te.prototype.clearWindows=function(e,t){var n=this.current708Packet.data[++e],r=this.getPts(e);this.flushDisplayed(r,t);for(var i=0;i<8;i++)n&1<<i&&t.windows[i].clearText();return e},Te.prototype.deleteWindows=function(e,t){var n=this.current708Packet.data[++e],r=this.getPts(e);this.flushDisplayed(r,t);for(var i=0;i<8;i++)n&1<<i&&t.windows[i].reset();return e},Te.prototype.setPenAttributes=function(e,t){var n=this.current708Packet.data,r=n[e],i=t.currentWindow.penAttr;return r=n[++e],i.textTag=(240&r)>>4,i.offset=(12&r)>>2,i.penSize=3&r,r=n[++e],i.italics=(128&r)>>7,i.underline=(64&r)>>6,i.edgeType=(56&r)>>3,i.fontStyle=7&r,e},Te.prototype.setPenColor=function(e,t){var n=this.current708Packet.data,r=n[e],i=t.currentWindow.penColor;return r=n[++e],i.fgOpacity=(192&r)>>6,i.fgRed=(48&r)>>4,i.fgGreen=(12&r)>>2,i.fgBlue=3&r,r=n[++e],i.bgOpacity=(192&r)>>6,i.bgRed=(48&r)>>4,i.bgGreen=(12&r)>>2,i.bgBlue=3&r,r=n[++e],i.edgeRed=(48&r)>>4,i.edgeGreen=(12&r)>>2,i.edgeBlue=3&r,e},Te.prototype.setPenLocation=function(e,t){var n=this.current708Packet.data,r=n[e],i=t.currentWindow.penLoc;return t.currentWindow.pendingNewLine=!0,r=n[++e],i.row=15&r,r=n[++e],i.column=63&r,e},Te.prototype.reset=function(e,t){var n=this.getPts(e);return this.flushDisplayed(n,t),this.initService(t.serviceNum,e)};var xe={42:225,92:233,94:237,95:243,96:250,123:231,124:247,125:209,126:241,127:9608,304:174,305:176,306:189,307:191,308:8482,309:162,310:163,311:9834,312:224,313:160,314:232,315:226,316:234,317:238,318:244,319:251,544:193,545:201,546:211,547:218,548:220,549:252,550:8216,551:161,552:42,553:39,554:8212,555:169,556:8480,557:8226,558:8220,559:8221,560:192,561:194,562:199,563:200,564:202,565:203,566:235,567:206,568:207,569:239,570:212,571:217,572:249,573:219,574:171,575:187,800:195,801:227,802:205,803:204,804:236,805:210,806:242,807:213,808:245,809:123,810:125,811:92,812:94,813:95,814:124,815:126,816:196,817:228,818:214,819:246,820:223,821:165,822:164,823:9474,824:197,825:229,826:216,827:248,828:9484,829:9488,830:9492,831:9496},Se=function(e){return null===e?"":(e=xe[e]||e,String.fromCharCode(e))},ke=[4352,4384,4608,4640,5376,5408,5632,5664,5888,5920,4096,4864,4896,5120,5152],Ee=function(){for(var e=[],t=15;t--;)e.push("");return e},Oe=function(e,t){Oe.prototype.init.call(this),this.field_=e||0,this.dataChannel_=t||0,this.name_="CC"+(1+(this.field_<<1|this.dataChannel_)),this.setConstants(),this.reset(),this.push=function(e){var t,n,r,i,o;if((t=32639&e.ccData)!==this.lastControlCode_){if(4096==(61440&t)?this.lastControlCode_=t:t!==this.PADDING_&&(this.lastControlCode_=null),r=t>>>8,i=255&t,t!==this.PADDING_)if(t===this.RESUME_CAPTION_LOADING_)this.mode_="popOn";else if(t===this.END_OF_CAPTION_)this.mode_="popOn",this.clearFormatting(e.pts),this.flushDisplayed(e.pts),n=this.displayed_,this.displayed_=this.nonDisplayed_,this.nonDisplayed_=n,this.startPts_=e.pts;else if(t===this.ROLL_UP_2_ROWS_)this.rollUpRows_=2,this.setRollUp(e.pts);else if(t===this.ROLL_UP_3_ROWS_)this.rollUpRows_=3,this.setRollUp(e.pts);else if(t===this.ROLL_UP_4_ROWS_)this.rollUpRows_=4,this.setRollUp(e.pts);else if(t===this.CARRIAGE_RETURN_)this.clearFormatting(e.pts),this.flushDisplayed(e.pts),this.shiftRowsUp_(),this.startPts_=e.pts;else if(t===this.BACKSPACE_)"popOn"===this.mode_?this.nonDisplayed_[this.row_]=this.nonDisplayed_[this.row_].slice(0,-1):this.displayed_[this.row_]=this.displayed_[this.row_].slice(0,-1);else if(t===this.ERASE_DISPLAYED_MEMORY_)this.flushDisplayed(e.pts),this.displayed_=Ee();else if(t===this.ERASE_NON_DISPLAYED_MEMORY_)this.nonDisplayed_=Ee();else if(t===this.RESUME_DIRECT_CAPTIONING_)"paintOn"!==this.mode_&&(this.flushDisplayed(e.pts),this.displayed_=Ee()),this.mode_="paintOn",this.startPts_=e.pts;else if(this.isSpecialCharacter(r,i))o=Se((r=(3&r)<<8)|i),this[this.mode_](e.pts,o),this.column_++;else if(this.isExtCharacter(r,i))"popOn"===this.mode_?this.nonDisplayed_[this.row_]=this.nonDisplayed_[this.row_].slice(0,-1):this.displayed_[this.row_]=this.displayed_[this.row_].slice(0,-1),o=Se((r=(3&r)<<8)|i),this[this.mode_](e.pts,o),this.column_++;else if(this.isMidRowCode(r,i))this.clearFormatting(e.pts),this[this.mode_](e.pts," "),this.column_++,14==(14&i)&&this.addFormatting(e.pts,["i"]),1==(1&i)&&this.addFormatting(e.pts,["u"]);else if(this.isOffsetControlCode(r,i))this.column_+=3&i;else if(this.isPAC(r,i)){var a=ke.indexOf(7968&t);"rollUp"===this.mode_&&(a-this.rollUpRows_+1<0&&(a=this.rollUpRows_-1),this.setRollUp(e.pts,a)),a!==this.row_&&(this.clearFormatting(e.pts),this.row_=a),1&i&&-1===this.formatting_.indexOf("u")&&this.addFormatting(e.pts,["u"]),16==(16&t)&&(this.column_=4*((14&t)>>1)),this.isColorPAC(i)&&14==(14&i)&&this.addFormatting(e.pts,["i"])}else this.isNormalChar(r)&&(0===i&&(i=null),o=Se(r),o+=Se(i),this[this.mode_](e.pts,o),this.column_+=o.length)}else this.lastControlCode_=null}};Oe.prototype=new ge,Oe.prototype.flushDisplayed=function(e){var t=this.displayed_.map((function(e,t){try{return e.trim()}catch(e){return this.trigger("log",{level:"warn",message:"Skipping a malformed 608 caption at index "+t+"."}),""}}),this).join("\n").replace(/^\n+|\n+$/g,"");t.length&&this.trigger("data",{startPts:this.startPts_,endPts:e,text:t,stream:this.name_})},Oe.prototype.reset=function(){this.mode_="popOn",this.topRow_=0,this.startPts_=0,this.displayed_=Ee(),this.nonDisplayed_=Ee(),this.lastControlCode_=null,this.column_=0,this.row_=14,this.rollUpRows_=2,this.formatting_=[]},Oe.prototype.setConstants=function(){0===this.dataChannel_?(this.BASE_=16,this.EXT_=17,this.CONTROL_=(20|this.field_)<<8,this.OFFSET_=23):1===this.dataChannel_&&(this.BASE_=24,this.EXT_=25,this.CONTROL_=(28|this.field_)<<8,this.OFFSET_=31),this.PADDING_=0,this.RESUME_CAPTION_LOADING_=32|this.CONTROL_,this.END_OF_CAPTION_=47|this.CONTROL_,this.ROLL_UP_2_ROWS_=37|this.CONTROL_,this.ROLL_UP_3_ROWS_=38|this.CONTROL_,this.ROLL_UP_4_ROWS_=39|this.CONTROL_,this.CARRIAGE_RETURN_=45|this.CONTROL_,this.RESUME_DIRECT_CAPTIONING_=41|this.CONTROL_,this.BACKSPACE_=33|this.CONTROL_,this.ERASE_DISPLAYED_MEMORY_=44|this.CONTROL_,this.ERASE_NON_DISPLAYED_MEMORY_=46|this.CONTROL_},Oe.prototype.isSpecialCharacter=function(e,t){return e===this.EXT_&&t>=48&&t<=63},Oe.prototype.isExtCharacter=function(e,t){return(e===this.EXT_+1||e===this.EXT_+2)&&t>=32&&t<=63},Oe.prototype.isMidRowCode=function(e,t){return e===this.EXT_&&t>=32&&t<=47},Oe.prototype.isOffsetControlCode=function(e,t){return e===this.OFFSET_&&t>=33&&t<=35},Oe.prototype.isPAC=function(e,t){return e>=this.BASE_&&e<this.BASE_+8&&t>=64&&t<=127},Oe.prototype.isColorPAC=function(e){return e>=64&&e<=79||e>=96&&e<=127},Oe.prototype.isNormalChar=function(e){return e>=32&&e<=127},Oe.prototype.setRollUp=function(e,t){if("rollUp"!==this.mode_&&(this.row_=14,this.mode_="rollUp",this.flushDisplayed(e),this.nonDisplayed_=Ee(),this.displayed_=Ee()),void 0!==t&&t!==this.row_)for(var n=0;n<this.rollUpRows_;n++)this.displayed_[t-n]=this.displayed_[this.row_-n],this.displayed_[this.row_-n]="";void 0===t&&(t=this.row_),this.topRow_=t-this.rollUpRows_+1},Oe.prototype.addFormatting=function(e,t){this.formatting_=this.formatting_.concat(t);var n=t.reduce((function(e,t){return e+"<"+t+">"}),"");this[this.mode_](e,n)},Oe.prototype.clearFormatting=function(e){if(this.formatting_.length){var t=this.formatting_.reverse().reduce((function(e,t){return e+"</"+t+">"}),"");this.formatting_=[],this[this.mode_](e,t)}},Oe.prototype.popOn=function(e,t){var n=this.nonDisplayed_[this.row_];n+=t,this.nonDisplayed_[this.row_]=n},Oe.prototype.rollUp=function(e,t){var n=this.displayed_[this.row_];n+=t,this.displayed_[this.row_]=n},Oe.prototype.shiftRowsUp_=function(){var e;for(e=0;e<this.topRow_;e++)this.displayed_[e]="";for(e=this.row_+1;e<15;e++)this.displayed_[e]="";for(e=this.topRow_;e<this.row_;e++)this.displayed_[e]=this.displayed_[e+1];this.displayed_[this.row_]=""},Oe.prototype.paintOn=function(e,t){var n=this.displayed_[this.row_];n+=t,this.displayed_[this.row_]=n};var Ce={CaptionStream:ye,Cea608Stream:Oe,Cea708Stream:Te},Le={H264_STREAM_TYPE:27,ADTS_STREAM_TYPE:15,METADATA_STREAM_TYPE:21},Ae=Z,Ie="shared",Pe=function(e,t){var n=1;for(e>t&&(n=-1);Math.abs(t-e)>4294967296;)e+=8589934592*n;return e},Me=function(e){var t,n;Me.prototype.init.call(this),this.type_=e||Ie,this.push=function(e){this.type_!==Ie&&e.type!==this.type_||(void 0===n&&(n=e.dts),e.dts=Pe(e.dts,n),e.pts=Pe(e.pts,n),t=e.dts,this.trigger("data",e))},this.flush=function(){n=t,this.trigger("done")},this.endTimeline=function(){this.flush(),this.trigger("endedtimeline")},this.discontinuity=function(){n=void 0,t=void 0},this.reset=function(){this.discontinuity(),this.trigger("reset")}};Me.prototype=new Ae;var Re,je={TimestampRolloverStream:Me,handleRollover:Pe},De=(e,t,n)=>{if(!e)return-1;for(var r=n;r<e.length;r++)if(e[r]===t)return r;return-1},Ne=De,Be=3,Ue=function(e,t,n){var r,i="";for(r=t;r<n;r++)i+="%"+("00"+e[r].toString(16)).slice(-2);return i},Fe=function(e,t,n){return decodeURIComponent(Ue(e,t,n))},ze=function(e,t,n){return unescape(Ue(e,t,n))},He=function(e){return e[0]<<21|e[1]<<14|e[2]<<7|e[3]},Ze={APIC:function(e){var t,n,r=1;e.data[0]===Be&&((t=Ne(e.data,0,r))<0||(e.mimeType=ze(e.data,r,t),r=t+1,e.pictureType=e.data[r],r++,(n=Ne(e.data,0,r))<0||(e.description=Fe(e.data,r,n),r=n+1,"--\x3e"===e.mimeType?e.url=ze(e.data,r,e.data.length):e.pictureData=e.data.subarray(r,e.data.length))))},"T*":function(e){e.data[0]===Be&&(e.value=Fe(e.data,1,e.data.length).replace(/\0*$/,""),e.values=e.value.split("\0"))},TXXX:function(e){var t;e.data[0]===Be&&-1!==(t=Ne(e.data,0,1))&&(e.description=Fe(e.data,1,t),e.value=Fe(e.data,t+1,e.data.length).replace(/\0*$/,""),e.data=e.value)},"W*":function(e){e.url=ze(e.data,0,e.data.length).replace(/\0.*$/,"")},WXXX:function(e){var t;e.data[0]===Be&&-1!==(t=Ne(e.data,0,1))&&(e.description=Fe(e.data,1,t),e.url=ze(e.data,t+1,e.data.length).replace(/\0.*$/,""))},PRIV:function(e){var t;for(t=0;t<e.data.length;t++)if(0===e.data[t]){e.owner=ze(e.data,0,t);break}e.privateData=e.data.subarray(t+1),e.data=e.privateData}},qe={parseId3Frames:function(e){var t,n=10,r=0,i=[];if(!(e.length<10||e[0]!=="I".charCodeAt(0)||e[1]!=="D".charCodeAt(0)||e[2]!=="3".charCodeAt(0))){r=He(e.subarray(6,10)),r+=10,64&e[5]&&(n+=4,n+=He(e.subarray(10,14)),r-=He(e.subarray(16,20)));do{if((t=He(e.subarray(n+4,n+8)))<1)break;var o={id:String.fromCharCode(e[n],e[n+1],e[n+2],e[n+3]),data:e.subarray(n+10,n+t+10)};o.key=o.id,Ze[o.id]?Ze[o.id](o):"T"===o.id[0]?Ze["T*"](o):"W"===o.id[0]&&Ze["W*"](o),i.push(o),n+=10,n+=t}while(n<r);return i}},parseSyncSafeInteger:He,frameParsers:Ze},Ve=Le,We=qe;(Re=function(e){var t,n={descriptor:e&&e.descriptor},r=0,i=[],o=0;if(Re.prototype.init.call(this),this.dispatchType=Ve.METADATA_STREAM_TYPE.toString(16),n.descriptor)for(t=0;t<n.descriptor.length;t++)this.dispatchType+=("00"+n.descriptor[t].toString(16)).slice(-2);this.push=function(e){var t,n,a,s,u;if("timed-metadata"===e.type)if(e.dataAlignmentIndicator&&(o=0,i.length=0),0===i.length&&(e.data.length<10||e.data[0]!=="I".charCodeAt(0)||e.data[1]!=="D".charCodeAt(0)||e.data[2]!=="3".charCodeAt(0)))this.trigger("log",{level:"warn",message:"Skipping unrecognized metadata packet"});else if(i.push(e),o+=e.data.byteLength,1===i.length&&(r=We.parseSyncSafeInteger(e.data.subarray(6,10)),r+=10),!(o<r)){for(t={data:new Uint8Array(r),frames:[],pts:i[0].pts,dts:i[0].dts},u=0;u<r;)t.data.set(i[0].data.subarray(0,r-u),u),u+=i[0].data.byteLength,o-=i[0].data.byteLength,i.shift();n=10,64&t.data[5]&&(n+=4,n+=We.parseSyncSafeInteger(t.data.subarray(10,14)),r-=We.parseSyncSafeInteger(t.data.subarray(16,20)));do{if((a=We.parseSyncSafeInteger(t.data.subarray(n+4,n+8)))<1){this.trigger("log",{level:"warn",message:"Malformed ID3 frame encountered. Skipping remaining metadata parsing."});break}if((s={id:String.fromCharCode(t.data[n],t.data[n+1],t.data[n+2],t.data[n+3]),data:t.data.subarray(n+10,n+a+10)}).key=s.id,We.frameParsers[s.id]?We.frameParsers[s.id](s):"T"===s.id[0]?We.frameParsers["T*"](s):"W"===s.id[0]&&We.frameParsers["W*"](s),"com.apple.streaming.transportStreamTimestamp"===s.owner){var c=s.data,l=(1&c[3])<<30|c[4]<<22|c[5]<<14|c[6]<<6|c[7]>>>2;l*=4,l+=3&c[7],s.timeStamp=l,void 0===t.pts&&void 0===t.dts&&(t.pts=s.timeStamp,t.dts=s.timeStamp),this.trigger("timestamp",s)}t.frames.push(s),n+=10,n+=a}while(n<r);this.trigger("data",t)}}}).prototype=new Z;var Ge,$e,Ye,Ke=Re,Xe=Z,Qe=Ce,Je=Le,et=je.TimestampRolloverStream,tt=188;(Ge=function(){var e=new Uint8Array(tt),t=0;Ge.prototype.init.call(this),this.push=function(n){var r,i=0,o=tt;for(t?((r=new Uint8Array(n.byteLength+t)).set(e.subarray(0,t)),r.set(n,t),t=0):r=n;o<r.byteLength;)71!==r[i]||71!==r[o]?(i++,o++):(this.trigger("data",r.subarray(i,o)),i+=tt,o+=tt);i<r.byteLength&&(e.set(r.subarray(i),0),t=r.byteLength-i)},this.flush=function(){t===tt&&71===e[0]&&(this.trigger("data",e),t=0),this.trigger("done")},this.endTimeline=function(){this.flush(),this.trigger("endedtimeline")},this.reset=function(){t=0,this.trigger("reset")}}).prototype=new Xe,$e=function(){var e,t,n,r;$e.prototype.init.call(this),r=this,this.packetsWaitingForPmt=[],this.programMapTable=void 0,e=function(e,r){var i=0;r.payloadUnitStartIndicator&&(i+=e[i]+1),"pat"===r.type?t(e.subarray(i),r):n(e.subarray(i),r)},t=function(e,t){t.section_number=e[7],t.last_section_number=e[8],r.pmtPid=(31&e[10])<<8|e[11],t.pmtPid=r.pmtPid},n=function(e,t){var n,i;if(1&e[5]){for(r.programMapTable={video:null,audio:null,"timed-metadata":{}},n=3+((15&e[1])<<8|e[2])-4,i=12+((15&e[10])<<8|e[11]);i<n;){var o=e[i],a=(31&e[i+1])<<8|e[i+2];o===Je.H264_STREAM_TYPE&&null===r.programMapTable.video?r.programMapTable.video=a:o===Je.ADTS_STREAM_TYPE&&null===r.programMapTable.audio?r.programMapTable.audio=a:o===Je.METADATA_STREAM_TYPE&&(r.programMapTable["timed-metadata"][a]=o),i+=5+((15&e[i+3])<<8|e[i+4])}t.programMapTable=r.programMapTable}},this.push=function(t){var n={},r=4;if(n.payloadUnitStartIndicator=!!(64&t[1]),n.pid=31&t[1],n.pid<<=8,n.pid|=t[2],(48&t[3])>>>4>1&&(r+=t[r]+1),0===n.pid)n.type="pat",e(t.subarray(r),n),this.trigger("data",n);else if(n.pid===this.pmtPid)for(n.type="pmt",e(t.subarray(r),n),this.trigger("data",n);this.packetsWaitingForPmt.length;)this.processPes_.apply(this,this.packetsWaitingForPmt.shift());else void 0===this.programMapTable?this.packetsWaitingForPmt.push([t,r,n]):this.processPes_(t,r,n)},this.processPes_=function(e,t,n){n.pid===this.programMapTable.video?n.streamType=Je.H264_STREAM_TYPE:n.pid===this.programMapTable.audio?n.streamType=Je.ADTS_STREAM_TYPE:n.streamType=this.programMapTable["timed-metadata"][n.pid],n.type="pes",n.data=e.subarray(t),this.trigger("data",n)}},$e.prototype=new Xe,$e.STREAM_TYPES={h264:27,adts:15},Ye=function(){var e,t=this,n=!1,r={data:[],size:0},i={data:[],size:0},o={data:[],size:0},a=function(e,n,r){var i,o,a=new Uint8Array(e.size),s={type:n},u=0,c=0;if(e.data.length&&!(e.size<9)){for(s.trackId=e.data[0].pid,u=0;u<e.data.length;u++)o=e.data[u],a.set(o.data,c),c+=o.data.byteLength;!function(e,t){var n;const r=e[0]<<16|e[1]<<8|e[2];t.data=new Uint8Array,1===r&&(t.packetLength=6+(e[4]<<8|e[5]),t.dataAlignmentIndicator=0!=(4&e[6]),192&(n=e[7])&&(t.pts=(14&e[9])<<27|(255&e[10])<<20|(254&e[11])<<12|(255&e[12])<<5|(254&e[13])>>>3,t.pts*=4,t.pts+=(6&e[13])>>>1,t.dts=t.pts,64&n&&(t.dts=(14&e[14])<<27|(255&e[15])<<20|(254&e[16])<<12|(255&e[17])<<5|(254&e[18])>>>3,t.dts*=4,t.dts+=(6&e[18])>>>1)),t.data=e.subarray(9+e[8]))}(a,s),i="video"===n||s.packetLength<=e.size,(r||i)&&(e.size=0,e.data.length=0),i&&t.trigger("data",s)}};Ye.prototype.init.call(this),this.push=function(s){({pat:function(){},pes:function(){var e,t;switch(s.streamType){case Je.H264_STREAM_TYPE:e=r,t="video";break;case Je.ADTS_STREAM_TYPE:e=i,t="audio";break;case Je.METADATA_STREAM_TYPE:e=o,t="timed-metadata";break;default:return}s.payloadUnitStartIndicator&&a(e,t,!0),e.data.push(s),e.size+=s.data.byteLength},pmt:function(){var r={type:"metadata",tracks:[]};null!==(e=s.programMapTable).video&&r.tracks.push({timelineStartInfo:{baseMediaDecodeTime:0},id:+e.video,codec:"avc",type:"video"}),null!==e.audio&&r.tracks.push({timelineStartInfo:{baseMediaDecodeTime:0},id:+e.audio,codec:"adts",type:"audio"}),n=!0,t.trigger("data",r)}})[s.type]()},this.reset=function(){r.size=0,r.data.length=0,i.size=0,i.data.length=0,this.trigger("reset")},this.flushStreams_=function(){a(r,"video"),a(i,"audio"),a(o,"timed-metadata")},this.flush=function(){if(!n&&e){var r={type:"metadata",tracks:[]};null!==e.video&&r.tracks.push({timelineStartInfo:{baseMediaDecodeTime:0},id:+e.video,codec:"avc",type:"video"}),null!==e.audio&&r.tracks.push({timelineStartInfo:{baseMediaDecodeTime:0},id:+e.audio,codec:"adts",type:"audio"}),t.trigger("data",r)}n=!1,this.flushStreams_(),this.trigger("done")}},Ye.prototype=new Xe;var nt={PAT_PID:0,MP2T_PACKET_LENGTH:tt,TransportPacketStream:Ge,TransportParseStream:$e,ElementaryStream:Ye,TimestampRolloverStream:et,CaptionStream:Qe.CaptionStream,Cea608Stream:Qe.Cea608Stream,Cea708Stream:Qe.Cea708Stream,MetadataStream:Ke};for(var rt in Je)Je.hasOwnProperty(rt)&&(nt[rt]=Je[rt]);var it,ot=nt,at=ue.ONE_SECOND_IN_TS,st=[96e3,88200,64e3,48e3,44100,32e3,24e3,22050,16e3,12e3,11025,8e3,7350];(it=function(e){var t,n=0;it.prototype.init.call(this),this.skipWarn_=function(e,t){this.trigger("log",{level:"warn",message:`adts skiping bytes ${e} to ${t} in frame ${n} outside syncword`})},this.push=function(r){var i,o,a,s,u,c=0;if(e||(n=0),"audio"===r.type){var l;for(t&&t.length?(a=t,(t=new Uint8Array(a.byteLength+r.data.byteLength)).set(a),t.set(r.data,a.byteLength)):t=r.data;c+7<t.length;)if(255===t[c]&&240==(246&t[c+1])){if("number"==typeof l&&(this.skipWarn_(l,c),l=null),o=2*(1&~t[c+1]),i=(3&t[c+3])<<11|t[c+4]<<3|(224&t[c+5])>>5,u=(s=1024*(1+(3&t[c+6])))*at/st[(60&t[c+2])>>>2],t.byteLength-c<i)break;this.trigger("data",{pts:r.pts+n*u,dts:r.dts+n*u,sampleCount:s,audioobjecttype:1+(t[c+2]>>>6&3),channelcount:(1&t[c+2])<<2|(192&t[c+3])>>>6,samplerate:st[(60&t[c+2])>>>2],samplingfrequencyindex:(60&t[c+2])>>>2,samplesize:16,data:t.subarray(c+7+o,c+i)}),n++,c+=i}else"number"!=typeof l&&(l=c),c++;"number"==typeof l&&(this.skipWarn_(l,c),l=null),t=t.subarray(c)}},this.flush=function(){n=0,this.trigger("done")},this.reset=function(){t=void 0,this.trigger("reset")},this.endTimeline=function(){t=void 0,this.trigger("endedtimeline")}}).prototype=new Z;var ut,ct,lt,ft=it,dt=Z,pt=function(e){var t=e.byteLength,n=0,r=0;this.length=function(){return 8*t},this.bitsAvailable=function(){return 8*t+r},this.loadWord=function(){var i=e.byteLength-t,o=new Uint8Array(4),a=Math.min(4,t);if(0===a)throw new Error("no bytes available");o.set(e.subarray(i,i+a)),n=new DataView(o.buffer).getUint32(0),r=8*a,t-=a},this.skipBits=function(e){var i;r>e?(n<<=e,r-=e):(e-=r,e-=8*(i=Math.floor(e/8)),t-=i,this.loadWord(),n<<=e,r-=e)},this.readBits=function(e){var i=Math.min(r,e),o=n>>>32-i;return(r-=i)>0?n<<=i:t>0&&this.loadWord(),(i=e-i)>0?o<<i|this.readBits(i):o},this.skipLeadingZeros=function(){var e;for(e=0;e<r;++e)if(0!=(n&2147483648>>>e))return n<<=e,r-=e,e;return this.loadWord(),e+this.skipLeadingZeros()},this.skipUnsignedExpGolomb=function(){this.skipBits(1+this.skipLeadingZeros())},this.skipExpGolomb=function(){this.skipBits(1+this.skipLeadingZeros())},this.readUnsignedExpGolomb=function(){var e=this.skipLeadingZeros();return this.readBits(e+1)-1},this.readExpGolomb=function(){var e=this.readUnsignedExpGolomb();return 1&e?1+e>>>1:-1*(e>>>1)},this.readBoolean=function(){return 1===this.readBits(1)},this.readUnsignedByte=function(){return this.readBits(8)},this.loadWord()};(ct=function(){var e,t,n=0;ct.prototype.init.call(this),this.push=function(r){var i;t?((i=new Uint8Array(t.byteLength+r.data.byteLength)).set(t),i.set(r.data,t.byteLength),t=i):t=r.data;for(var o=t.byteLength;n<o-3;n++)if(1===t[n+2]){e=n+5;break}for(;e<o;)switch(t[e]){case 0:if(0!==t[e-1]){e+=2;break}if(0!==t[e-2]){e++;break}n+3!==e-2&&this.trigger("data",t.subarray(n+3,e-2));do{e++}while(1!==t[e]&&e<o);n=e-2,e+=3;break;case 1:if(0!==t[e-1]||0!==t[e-2]){e+=3;break}this.trigger("data",t.subarray(n+3,e-2)),n=e-2,e+=3;break;default:e+=3}t=t.subarray(n),e-=n,n=0},this.reset=function(){t=null,n=0,this.trigger("reset")},this.flush=function(){t&&t.byteLength>3&&this.trigger("data",t.subarray(n+3)),t=null,n=0,this.trigger("done")},this.endTimeline=function(){this.flush(),this.trigger("endedtimeline")}}).prototype=new dt,lt={100:!0,110:!0,122:!0,244:!0,44:!0,83:!0,86:!0,118:!0,128:!0,138:!0,139:!0,134:!0},ut=function(){var e,t,n,r,i,o,a,s=new ct;ut.prototype.init.call(this),e=this,this.push=function(e){"video"===e.type&&(t=e.trackId,n=e.pts,r=e.dts,s.push(e))},s.on("data",(function(a){var s={trackId:t,pts:n,dts:r,data:a,nalUnitTypeCode:31&a[0]};switch(s.nalUnitTypeCode){case 5:s.nalUnitType="slice_layer_without_partitioning_rbsp_idr";break;case 6:s.nalUnitType="sei_rbsp",s.escapedRBSP=i(a.subarray(1));break;case 7:s.nalUnitType="seq_parameter_set_rbsp",s.escapedRBSP=i(a.subarray(1)),s.config=o(s.escapedRBSP);break;case 8:s.nalUnitType="pic_parameter_set_rbsp";break;case 9:s.nalUnitType="access_unit_delimiter_rbsp"}e.trigger("data",s)})),s.on("done",(function(){e.trigger("done")})),s.on("partialdone",(function(){e.trigger("partialdone")})),s.on("reset",(function(){e.trigger("reset")})),s.on("endedtimeline",(function(){e.trigger("endedtimeline")})),this.flush=function(){s.flush()},this.partialFlush=function(){s.partialFlush()},this.reset=function(){s.reset()},this.endTimeline=function(){s.endTimeline()},a=function(e,t){var n,r=8,i=8;for(n=0;n<e;n++)0!==i&&(i=(r+t.readExpGolomb()+256)%256),r=0===i?r:i},i=function(e){for(var t,n,r=e.byteLength,i=[],o=1;o<r-2;)0===e[o]&&0===e[o+1]&&3===e[o+2]?(i.push(o+2),o+=2):o++;if(0===i.length)return e;t=r-i.length,n=new Uint8Array(t);var a=0;for(o=0;o<t;a++,o++)a===i[0]&&(a++,i.shift()),n[o]=e[a];return n},o=function(e){var t,n,r,i,o,s,u,c,l,f,d,p,h=0,g=0,m=0,y=0,v=[1,1];if(n=(t=new pt(e)).readUnsignedByte(),i=t.readUnsignedByte(),r=t.readUnsignedByte(),t.skipUnsignedExpGolomb(),lt[n]&&(3===(o=t.readUnsignedExpGolomb())&&t.skipBits(1),t.skipUnsignedExpGolomb(),t.skipUnsignedExpGolomb(),t.skipBits(1),t.readBoolean()))for(d=3!==o?8:12,p=0;p<d;p++)t.readBoolean()&&a(p<6?16:64,t);if(t.skipUnsignedExpGolomb(),0===(s=t.readUnsignedExpGolomb()))t.readUnsignedExpGolomb();else if(1===s)for(t.skipBits(1),t.skipExpGolomb(),t.skipExpGolomb(),u=t.readUnsignedExpGolomb(),p=0;p<u;p++)t.skipExpGolomb();if(t.skipUnsignedExpGolomb(),t.skipBits(1),c=t.readUnsignedExpGolomb(),l=t.readUnsignedExpGolomb(),0===(f=t.readBits(1))&&t.skipBits(1),t.skipBits(1),t.readBoolean()&&(h=t.readUnsignedExpGolomb(),g=t.readUnsignedExpGolomb(),m=t.readUnsignedExpGolomb(),y=t.readUnsignedExpGolomb()),t.readBoolean()&&t.readBoolean()){switch(t.readUnsignedByte()){case 1:v=[1,1];break;case 2:v=[12,11];break;case 3:v=[10,11];break;case 4:v=[16,11];break;case 5:v=[40,33];break;case 6:v=[24,11];break;case 7:v=[20,11];break;case 8:v=[32,11];break;case 9:v=[80,33];break;case 10:v=[18,11];break;case 11:v=[15,11];break;case 12:v=[64,33];break;case 13:v=[160,99];break;case 14:v=[4,3];break;case 15:v=[3,2];break;case 16:v=[2,1];break;case 255:v=[t.readUnsignedByte()<<8|t.readUnsignedByte(),t.readUnsignedByte()<<8|t.readUnsignedByte()]}v&&(v[0],v[1])}return{profileIdc:n,levelIdc:r,profileCompatibility:i,width:16*(c+1)-2*h-2*g,height:(2-f)*(l+1)*16-2*m-2*y,sarRatio:v}}},ut.prototype=new dt;var ht,gt={H264Stream:ut,NalByteStream:ct},mt=[96e3,88200,64e3,48e3,44100,32e3,24e3,22050,16e3,12e3,11025,8e3,7350],yt=function(e,t){var n=e[t+6]<<21|e[t+7]<<14|e[t+8]<<7|e[t+9];return n=n>=0?n:0,(16&e[t+5])>>4?n+20:n+10},vt=function(e,t){return e.length-t<10||e[t]!=="I".charCodeAt(0)||e[t+1]!=="D".charCodeAt(0)||e[t+2]!=="3".charCodeAt(0)?t:(t+=yt(e,t),vt(e,t))},bt=function(e){return e[0]<<21|e[1]<<14|e[2]<<7|e[3]},_t={isLikelyAacData:function(e){var t=vt(e,0);return e.length>=t+2&&255==(255&e[t])&&240==(240&e[t+1])&&16==(22&e[t+1])},parseId3TagSize:yt,parseAdtsSize:function(e,t){var n=(224&e[t+5])>>5,r=e[t+4]<<3;return 6144&e[t+3]|r|n},parseType:function(e,t){return e[t]==="I".charCodeAt(0)&&e[t+1]==="D".charCodeAt(0)&&e[t+2]==="3".charCodeAt(0)?"timed-metadata":!0&e[t]&&240==(240&e[t+1])?"audio":null},parseSampleRate:function(e){for(var t=0;t+5<e.length;){if(255===e[t]&&240==(246&e[t+1]))return mt[(60&e[t+2])>>>2];t++}return null},parseAacTimestamp:function(e){var t,n,r;t=10,64&e[5]&&(t+=4,t+=bt(e.subarray(10,14)));do{if((n=bt(e.subarray(t+4,t+8)))<1)return null;if("PRIV"===String.fromCharCode(e[t],e[t+1],e[t+2],e[t+3])){r=e.subarray(t+10,t+n+10);for(var i=0;i<r.byteLength;i++)if(0===r[i]){var o=unescape(function(e,t,n){var r,i="";for(r=t;r<n;r++)i+="%"+("00"+e[r].toString(16)).slice(-2);return i}(r,0,i));if("com.apple.streaming.transportStreamTimestamp"===o){var a=r.subarray(i+1),s=(1&a[3])<<30|a[4]<<22|a[5]<<14|a[6]<<6|a[7]>>>2;return s*=4,s+=3&a[7]}break}}t+=10,t+=n}while(t<e.byteLength);return null}},wt=_t;(ht=function(){var e=new Uint8Array,t=0;ht.prototype.init.call(this),this.setTimestamp=function(e){t=e},this.push=function(n){var r,i,o,a,s=0,u=0;for(e.length?(a=e.length,(e=new Uint8Array(n.byteLength+a)).set(e.subarray(0,a)),e.set(n,a)):e=n;e.length-u>=3;)if(e[u]!=="I".charCodeAt(0)||e[u+1]!=="D".charCodeAt(0)||e[u+2]!=="3".charCodeAt(0))if(255!=(255&e[u])||240!=(240&e[u+1]))u++;else{if(e.length-u<7)break;if(u+(s=wt.parseAdtsSize(e,u))>e.length)break;o={type:"audio",data:e.subarray(u,u+s),pts:t,dts:t},this.trigger("data",o),u+=s}else{if(e.length-u<10)break;if(u+(s=wt.parseId3TagSize(e,u))>e.length)break;i={type:"timed-metadata",data:e.subarray(u,u+s)},this.trigger("data",i),u+=s}r=e.length-u,e=r>0?e.subarray(u):new Uint8Array},this.reset=function(){e=new Uint8Array,this.trigger("reset")},this.endTimeline=function(){e=new Uint8Array,this.trigger("endedtimeline")}}).prototype=new Z;var Tt,xt,St,kt,Et=Z,Ot=te,Ct=re,Lt=fe,At=pe,It=ot,Pt=ue,Mt=ft,Rt=gt.H264Stream,jt=ht,Dt=_t.isLikelyAacData,Nt=ue.ONE_SECOND_IN_TS,Bt=["audioobjecttype","channelcount","samplerate","samplingfrequencyindex","samplesize"],Ut=["width","height","profileIdc","levelIdc","profileCompatibility","sarRatio"],Ft=function(e,t){t.stream=e,this.trigger("log",t)},zt=function(e,t){for(var n=Object.keys(t),r=0;r<n.length;r++){var i=n[r];"headOfPipeline"!==i&&t[i].on&&t[i].on("log",Ft.bind(e,i))}},Ht=function(e,t){var n;if(e.length!==t.length)return!1;for(n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0},Zt=function(e,t,n,r,i,o){return{start:{dts:e,pts:e+(n-t)},end:{dts:e+(r-t),pts:e+(i-n)},prependedContentDuration:o,baseMediaDecodeTime:e}};xt=function(e,t){var n,r=[],i=0,o=0,a=1/0;n=(t=t||{}).firstSequenceNumber||0,xt.prototype.init.call(this),this.push=function(t){At.collectDtsInfo(e,t),e&&Bt.forEach((function(n){e[n]=t[n]})),r.push(t)},this.setEarliestDts=function(e){i=e},this.setVideoBaseMediaDecodeTime=function(e){a=e},this.setAudioAppendStart=function(e){o=e},this.flush=function(){var s,u,c,l,f,d,p;0!==r.length?(s=Lt.trimAdtsFramesByEarliestDts(r,e,i),e.baseMediaDecodeTime=At.calculateTrackBaseMediaDecodeTime(e,t.keepOriginalTimestamps),p=Lt.prefixWithSilence(e,s,o,a),e.samples=Lt.generateSampleTable(s),c=Ot.mdat(Lt.concatenateFrameData(s)),r=[],u=Ot.moof(n,[e]),l=new Uint8Array(u.byteLength+c.byteLength),n++,l.set(u),l.set(c,u.byteLength),At.clearDtsInfo(e),f=Math.ceil(1024*Nt/e.samplerate),s.length&&(d=s.length*f,this.trigger("segmentTimingInfo",Zt(Pt.audioTsToVideoTs(e.baseMediaDecodeTime,e.samplerate),s[0].dts,s[0].pts,s[0].dts+d,s[0].pts+d,p||0)),this.trigger("timingInfo",{start:s[0].pts,end:s[0].pts+d})),this.trigger("data",{track:e,boxes:l}),this.trigger("done","AudioSegmentStream")):this.trigger("done","AudioSegmentStream")},this.reset=function(){At.clearDtsInfo(e),r=[],this.trigger("reset")}},xt.prototype=new Et,Tt=function(e,t){var n,r,i,o=[],a=[];n=(t=t||{}).firstSequenceNumber||0,Tt.prototype.init.call(this),delete e.minPTS,this.gopCache_=[],this.push=function(t){At.collectDtsInfo(e,t),"seq_parameter_set_rbsp"!==t.nalUnitType||r||(r=t.config,e.sps=[t.data],Ut.forEach((function(t){e[t]=r[t]}),this)),"pic_parameter_set_rbsp"!==t.nalUnitType||i||(i=t.data,e.pps=[t.data]),o.push(t)},this.flush=function(){for(var r,i,s,u,c,l,f,d,p=0;o.length&&"access_unit_delimiter_rbsp"!==o[0].nalUnitType;)o.shift();if(0===o.length)return this.resetStream_(),void this.trigger("done","VideoSegmentStream");if(r=Ct.groupNalsIntoFrames(o),(s=Ct.groupFramesIntoGops(r))[0][0].keyFrame||((i=this.getGopForFusion_(o[0],e))?(p=i.duration,s.unshift(i),s.byteLength+=i.byteLength,s.nalCount+=i.nalCount,s.pts=i.pts,s.dts=i.dts,s.duration+=i.duration):s=Ct.extendFirstKeyFrame(s)),a.length){var h;if(!(h=t.alignGopsAtEnd?this.alignGopsAtEnd_(s):this.alignGopsAtStart_(s)))return this.gopCache_.unshift({gop:s.pop(),pps:e.pps,sps:e.sps}),this.gopCache_.length=Math.min(6,this.gopCache_.length),o=[],this.resetStream_(),void this.trigger("done","VideoSegmentStream");At.clearDtsInfo(e),s=h}At.collectDtsInfo(e,s),e.samples=Ct.generateSampleTable(s),c=Ot.mdat(Ct.concatenateNalData(s)),e.baseMediaDecodeTime=At.calculateTrackBaseMediaDecodeTime(e,t.keepOriginalTimestamps),this.trigger("processedGopsInfo",s.map((function(e){return{pts:e.pts,dts:e.dts,byteLength:e.byteLength}}))),f=s[0],d=s[s.length-1],this.trigger("segmentTimingInfo",Zt(e.baseMediaDecodeTime,f.dts,f.pts,d.dts+d.duration,d.pts+d.duration,p)),this.trigger("timingInfo",{start:s[0].pts,end:s[s.length-1].pts+s[s.length-1].duration}),this.gopCache_.unshift({gop:s.pop(),pps:e.pps,sps:e.sps}),this.gopCache_.length=Math.min(6,this.gopCache_.length),o=[],this.trigger("baseMediaDecodeTime",e.baseMediaDecodeTime),this.trigger("timelineStartInfo",e.timelineStartInfo),u=Ot.moof(n,[e]),l=new Uint8Array(u.byteLength+c.byteLength),n++,l.set(u),l.set(c,u.byteLength),this.trigger("data",{track:e,boxes:l}),this.resetStream_(),this.trigger("done","VideoSegmentStream")},this.reset=function(){this.resetStream_(),o=[],this.gopCache_.length=0,a.length=0,this.trigger("reset")},this.resetStream_=function(){At.clearDtsInfo(e),r=void 0,i=void 0},this.getGopForFusion_=function(t){var n,r,i,o,a,s=1/0;for(a=0;a<this.gopCache_.length;a++)i=(o=this.gopCache_[a]).gop,e.pps&&Ht(e.pps[0],o.pps[0])&&e.sps&&Ht(e.sps[0],o.sps[0])&&(i.dts<e.timelineStartInfo.dts||(n=t.dts-i.dts-i.duration)>=-1e4&&n<=45e3&&(!r||s>n)&&(r=o,s=n));return r?r.gop:null},this.alignGopsAtStart_=function(e){var t,n,r,i,o,s,u,c;for(o=e.byteLength,s=e.nalCount,u=e.duration,t=n=0;t<a.length&&n<e.length&&(r=a[t],i=e[n],r.pts!==i.pts);)i.pts>r.pts?t++:(n++,o-=i.byteLength,s-=i.nalCount,u-=i.duration);return 0===n?e:n===e.length?null:((c=e.slice(n)).byteLength=o,c.duration=u,c.nalCount=s,c.pts=c[0].pts,c.dts=c[0].dts,c)},this.alignGopsAtEnd_=function(e){var t,n,r,i,o,s,u;for(t=a.length-1,n=e.length-1,o=null,s=!1;t>=0&&n>=0;){if(r=a[t],i=e[n],r.pts===i.pts){s=!0;break}r.pts>i.pts?t--:(t===a.length-1&&(o=n),n--)}if(!s&&null===o)return null;if(0===(u=s?n:o))return e;var c=e.slice(u),l=c.reduce((function(e,t){return e.byteLength+=t.byteLength,e.duration+=t.duration,e.nalCount+=t.nalCount,e}),{byteLength:0,duration:0,nalCount:0});return c.byteLength=l.byteLength,c.duration=l.duration,c.nalCount=l.nalCount,c.pts=c[0].pts,c.dts=c[0].dts,c},this.alignGopsWith=function(e){a=e}},Tt.prototype=new Et,kt=function(e,t){this.numberOfTracks=0,this.metadataStream=t,void 0!==(e=e||{}).remux?this.remuxTracks=!!e.remux:this.remuxTracks=!0,"boolean"==typeof e.keepOriginalTimestamps?this.keepOriginalTimestamps=e.keepOriginalTimestamps:this.keepOriginalTimestamps=!1,this.pendingTracks=[],this.videoTrack=null,this.pendingBoxes=[],this.pendingCaptions=[],this.pendingMetadata=[],this.pendingBytes=0,this.emittedTracks=0,kt.prototype.init.call(this),this.push=function(e){return e.text?this.pendingCaptions.push(e):e.frames?this.pendingMetadata.push(e):(this.pendingTracks.push(e.track),this.pendingBytes+=e.boxes.byteLength,"video"===e.track.type&&(this.videoTrack=e.track,this.pendingBoxes.push(e.boxes)),void("audio"===e.track.type&&(this.audioTrack=e.track,this.pendingBoxes.unshift(e.boxes))))}},kt.prototype=new Et,kt.prototype.flush=function(e){var t,n,r,i,o=0,a={captions:[],captionStreams:{},metadata:[],info:{}},s=0;if(this.pendingTracks.length<this.numberOfTracks){if("VideoSegmentStream"!==e&&"AudioSegmentStream"!==e)return;if(this.remuxTracks)return;if(0===this.pendingTracks.length)return this.emittedTracks++,void(this.emittedTracks>=this.numberOfTracks&&(this.trigger("done"),this.emittedTracks=0))}if(this.videoTrack?(s=this.videoTrack.timelineStartInfo.pts,Ut.forEach((function(e){a.info[e]=this.videoTrack[e]}),this)):this.audioTrack&&(s=this.audioTrack.timelineStartInfo.pts,Bt.forEach((function(e){a.info[e]=this.audioTrack[e]}),this)),this.videoTrack||this.audioTrack){for(1===this.pendingTracks.length?a.type=this.pendingTracks[0].type:a.type="combined",this.emittedTracks+=this.pendingTracks.length,r=Ot.initSegment(this.pendingTracks),a.initSegment=new Uint8Array(r.byteLength),a.initSegment.set(r),a.data=new Uint8Array(this.pendingBytes),i=0;i<this.pendingBoxes.length;i++)a.data.set(this.pendingBoxes[i],o),o+=this.pendingBoxes[i].byteLength;for(i=0;i<this.pendingCaptions.length;i++)(t=this.pendingCaptions[i]).startTime=Pt.metadataTsToSeconds(t.startPts,s,this.keepOriginalTimestamps),t.endTime=Pt.metadataTsToSeconds(t.endPts,s,this.keepOriginalTimestamps),a.captionStreams[t.stream]=!0,a.captions.push(t);for(i=0;i<this.pendingMetadata.length;i++)(n=this.pendingMetadata[i]).cueTime=Pt.metadataTsToSeconds(n.pts,s,this.keepOriginalTimestamps),a.metadata.push(n);for(a.metadata.dispatchType=this.metadataStream.dispatchType,this.pendingTracks.length=0,this.videoTrack=null,this.pendingBoxes.length=0,this.pendingCaptions.length=0,this.pendingBytes=0,this.pendingMetadata.length=0,this.trigger("data",a),i=0;i<a.captions.length;i++)t=a.captions[i],this.trigger("caption",t);for(i=0;i<a.metadata.length;i++)n=a.metadata[i],this.trigger("id3Frame",n)}this.emittedTracks>=this.numberOfTracks&&(this.trigger("done"),this.emittedTracks=0)},kt.prototype.setRemux=function(e){this.remuxTracks=e},(St=function(e){var t,n,r=this,i=!0;St.prototype.init.call(this),e=e||{},this.baseMediaDecodeTime=e.baseMediaDecodeTime||0,this.transmuxPipeline_={},this.setupAacPipeline=function(){var i={};this.transmuxPipeline_=i,i.type="aac",i.metadataStream=new It.MetadataStream,i.aacStream=new jt,i.audioTimestampRolloverStream=new It.TimestampRolloverStream("audio"),i.timedMetadataTimestampRolloverStream=new It.TimestampRolloverStream("timed-metadata"),i.adtsStream=new Mt,i.coalesceStream=new kt(e,i.metadataStream),i.headOfPipeline=i.aacStream,i.aacStream.pipe(i.audioTimestampRolloverStream).pipe(i.adtsStream),i.aacStream.pipe(i.timedMetadataTimestampRolloverStream).pipe(i.metadataStream).pipe(i.coalesceStream),i.metadataStream.on("timestamp",(function(e){i.aacStream.setTimestamp(e.timeStamp)})),i.aacStream.on("data",(function(o){"timed-metadata"!==o.type&&"audio"!==o.type||i.audioSegmentStream||(n=n||{timelineStartInfo:{baseMediaDecodeTime:r.baseMediaDecodeTime},codec:"adts",type:"audio"},i.coalesceStream.numberOfTracks++,i.audioSegmentStream=new xt(n,e),i.audioSegmentStream.on("log",r.getLogTrigger_("audioSegmentStream")),i.audioSegmentStream.on("timingInfo",r.trigger.bind(r,"audioTimingInfo")),i.adtsStream.pipe(i.audioSegmentStream).pipe(i.coalesceStream),r.trigger("trackinfo",{hasAudio:!!n,hasVideo:!!t}))})),i.coalesceStream.on("data",this.trigger.bind(this,"data")),i.coalesceStream.on("done",this.trigger.bind(this,"done")),zt(this,i)},this.setupTsPipeline=function(){var i={};this.transmuxPipeline_=i,i.type="ts",i.metadataStream=new It.MetadataStream,i.packetStream=new It.TransportPacketStream,i.parseStream=new It.TransportParseStream,i.elementaryStream=new It.ElementaryStream,i.timestampRolloverStream=new It.TimestampRolloverStream,i.adtsStream=new Mt,i.h264Stream=new Rt,i.captionStream=new It.CaptionStream(e),i.coalesceStream=new kt(e,i.metadataStream),i.headOfPipeline=i.packetStream,i.packetStream.pipe(i.parseStream).pipe(i.elementaryStream).pipe(i.timestampRolloverStream),i.timestampRolloverStream.pipe(i.h264Stream),i.timestampRolloverStream.pipe(i.adtsStream),i.timestampRolloverStream.pipe(i.metadataStream).pipe(i.coalesceStream),i.h264Stream.pipe(i.captionStream).pipe(i.coalesceStream),i.elementaryStream.on("data",(function(o){var a;if("metadata"===o.type){for(a=o.tracks.length;a--;)t||"video"!==o.tracks[a].type?n||"audio"!==o.tracks[a].type||((n=o.tracks[a]).timelineStartInfo.baseMediaDecodeTime=r.baseMediaDecodeTime):(t=o.tracks[a]).timelineStartInfo.baseMediaDecodeTime=r.baseMediaDecodeTime;t&&!i.videoSegmentStream&&(i.coalesceStream.numberOfTracks++,i.videoSegmentStream=new Tt(t,e),i.videoSegmentStream.on("log",r.getLogTrigger_("videoSegmentStream")),i.videoSegmentStream.on("timelineStartInfo",(function(t){n&&!e.keepOriginalTimestamps&&(n.timelineStartInfo=t,i.audioSegmentStream.setEarliestDts(t.dts-r.baseMediaDecodeTime))})),i.videoSegmentStream.on("processedGopsInfo",r.trigger.bind(r,"gopInfo")),i.videoSegmentStream.on("segmentTimingInfo",r.trigger.bind(r,"videoSegmentTimingInfo")),i.videoSegmentStream.on("baseMediaDecodeTime",(function(e){n&&i.audioSegmentStream.setVideoBaseMediaDecodeTime(e)})),i.videoSegmentStream.on("timingInfo",r.trigger.bind(r,"videoTimingInfo")),i.h264Stream.pipe(i.videoSegmentStream).pipe(i.coalesceStream)),n&&!i.audioSegmentStream&&(i.coalesceStream.numberOfTracks++,i.audioSegmentStream=new xt(n,e),i.audioSegmentStream.on("log",r.getLogTrigger_("audioSegmentStream")),i.audioSegmentStream.on("timingInfo",r.trigger.bind(r,"audioTimingInfo")),i.audioSegmentStream.on("segmentTimingInfo",r.trigger.bind(r,"audioSegmentTimingInfo")),i.adtsStream.pipe(i.audioSegmentStream).pipe(i.coalesceStream)),r.trigger("trackinfo",{hasAudio:!!n,hasVideo:!!t})}})),i.coalesceStream.on("data",this.trigger.bind(this,"data")),i.coalesceStream.on("id3Frame",(function(e){e.dispatchType=i.metadataStream.dispatchType,r.trigger("id3Frame",e)})),i.coalesceStream.on("caption",this.trigger.bind(this,"caption")),i.coalesceStream.on("done",this.trigger.bind(this,"done")),zt(this,i)},this.setBaseMediaDecodeTime=function(r){var i=this.transmuxPipeline_;e.keepOriginalTimestamps||(this.baseMediaDecodeTime=r),n&&(n.timelineStartInfo.dts=void 0,n.timelineStartInfo.pts=void 0,At.clearDtsInfo(n),i.audioTimestampRolloverStream&&i.audioTimestampRolloverStream.discontinuity()),t&&(i.videoSegmentStream&&(i.videoSegmentStream.gopCache_=[]),t.timelineStartInfo.dts=void 0,t.timelineStartInfo.pts=void 0,At.clearDtsInfo(t),i.captionStream.reset()),i.timestampRolloverStream&&i.timestampRolloverStream.discontinuity()},this.setAudioAppendStart=function(e){n&&this.transmuxPipeline_.audioSegmentStream.setAudioAppendStart(e)},this.setRemux=function(t){var n=this.transmuxPipeline_;e.remux=t,n&&n.coalesceStream&&n.coalesceStream.setRemux(t)},this.alignGopsWith=function(e){t&&this.transmuxPipeline_.videoSegmentStream&&this.transmuxPipeline_.videoSegmentStream.alignGopsWith(e)},this.getLogTrigger_=function(e){var t=this;return function(n){n.stream=e,t.trigger("log",n)}},this.push=function(e){if(i){var t=Dt(e);t&&"aac"!==this.transmuxPipeline_.type?this.setupAacPipeline():t||"ts"===this.transmuxPipeline_.type||this.setupTsPipeline(),i=!1}this.transmuxPipeline_.headOfPipeline.push(e)},this.flush=function(){i=!0,this.transmuxPipeline_.headOfPipeline.flush()},this.endTimeline=function(){this.transmuxPipeline_.headOfPipeline.endTimeline()},this.reset=function(){this.transmuxPipeline_.headOfPipeline&&this.transmuxPipeline_.headOfPipeline.reset()},this.resetCaptions=function(){this.transmuxPipeline_.captionStream&&this.transmuxPipeline_.captionStream.reset()}}).prototype=new Et;var qt,Vt,Wt,Gt,$t={Transmuxer:St,VideoSegmentStream:Tt,AudioSegmentStream:xt,AUDIO_PROPERTIES:Bt,VIDEO_PROPERTIES:Ut,generateSegmentTimingInfo:Zt},Yt=function(e){return e>>>0},Kt=function(e){var t="";return t+=String.fromCharCode(e[0]),t+=String.fromCharCode(e[1]),t+=String.fromCharCode(e[2]),t+=String.fromCharCode(e[3])},Xt=Yt,Qt=Kt,Jt=function(e,t){var n,r,i,o,a,s=[];if(!t.length)return null;for(n=0;n<e.byteLength;)r=Xt(e[n]<<24|e[n+1]<<16|e[n+2]<<8|e[n+3]),i=Qt(e.subarray(n+4,n+8)),o=r>1?n+r:e.byteLength,i===t[0]&&(1===t.length?s.push(e.subarray(n+8,o)):(a=Jt(e.subarray(n+8,o),t.slice(1))).length&&(s=s.concat(a))),n=o;return s},en=Yt,tn=V.getUint64,nn=function(e){var t={version:e[0],flags:new Uint8Array(e.subarray(1,4))};return 1===t.version?t.baseMediaDecodeTime=tn(e.subarray(4)):t.baseMediaDecodeTime=en(e[4]<<24|e[5]<<16|e[6]<<8|e[7]),t},rn=function(e){return{isLeading:(12&e[0])>>>2,dependsOn:3&e[0],isDependedOn:(192&e[1])>>>6,hasRedundancy:(48&e[1])>>>4,paddingValue:(14&e[1])>>>1,isNonSyncSample:1&e[1],degradationPriority:e[2]<<8|e[3]}},on=function(e){var t,n={version:e[0],flags:new Uint8Array(e.subarray(1,4)),samples:[]},r=new DataView(e.buffer,e.byteOffset,e.byteLength),i=1&n.flags[2],o=4&n.flags[2],a=1&n.flags[1],s=2&n.flags[1],u=4&n.flags[1],c=8&n.flags[1],l=r.getUint32(4),f=8;for(i&&(n.dataOffset=r.getInt32(f),f+=4),o&&l&&(t={flags:rn(e.subarray(f,f+4))},f+=4,a&&(t.duration=r.getUint32(f),f+=4),s&&(t.size=r.getUint32(f),f+=4),c&&(1===n.version?t.compositionTimeOffset=r.getInt32(f):t.compositionTimeOffset=r.getUint32(f),f+=4),n.samples.push(t),l--);l--;)t={},a&&(t.duration=r.getUint32(f),f+=4),s&&(t.size=r.getUint32(f),f+=4),u&&(t.flags=rn(e.subarray(f,f+4)),f+=4),c&&(1===n.version?t.compositionTimeOffset=r.getInt32(f):t.compositionTimeOffset=r.getUint32(f),f+=4),n.samples.push(t);return n},an=function(e){var t,n=new DataView(e.buffer,e.byteOffset,e.byteLength),r={version:e[0],flags:new Uint8Array(e.subarray(1,4)),trackId:n.getUint32(4)},i=1&r.flags[2],o=2&r.flags[2],a=8&r.flags[2],s=16&r.flags[2],u=32&r.flags[2],c=65536&r.flags[0],l=131072&r.flags[0];return t=8,i&&(t+=4,r.baseDataOffset=n.getUint32(12),t+=4),o&&(r.sampleDescriptionIndex=n.getUint32(t),t+=4),a&&(r.defaultSampleDuration=n.getUint32(t),t+=4),s&&(r.defaultSampleSize=n.getUint32(t),t+=4),u&&(r.defaultSampleFlags=n.getUint32(t)),c&&(r.durationIsEmpty=!0),!i&&l&&(r.baseDataOffsetIsMoof=!0),r},sn=(qt="undefined"!=typeof window?window:void 0!==e?e:"undefined"!=typeof self?self:{},he.discardEmulationPreventionBytes),un=Ce.CaptionStream,cn=Jt,ln=nn,fn=on,dn=an,pn=qt,hn=function(e,t){for(var n=e,r=0;r<t.length;r++){var i=t[r];if(n<i.size)return i;n-=i.size}return null},gn=function(e,t){var n=cn(e,["moof","traf"]),r=cn(e,["mdat"]),i={},o=[];return r.forEach((function(e,t){var r=n[t];o.push({mdat:e,traf:r})})),o.forEach((function(e){var n,r,o=e.mdat,a=e.traf,s=cn(a,["tfhd"]),u=dn(s[0]),c=u.trackId,l=cn(a,["tfdt"]),f=l.length>0?ln(l[0]).baseMediaDecodeTime:0,d=cn(a,["trun"]);t===c&&d.length>0&&(n=function(e,t,n){var r=t,i=n.defaultSampleDuration||0,o=n.defaultSampleSize||0,a=n.trackId,s=[];return e.forEach((function(e){var t=fn(e).samples;t.forEach((function(e){void 0===e.duration&&(e.duration=i),void 0===e.size&&(e.size=o),e.trackId=a,e.dts=r,void 0===e.compositionTimeOffset&&(e.compositionTimeOffset=0),"bigint"==typeof r?(e.pts=r+pn.BigInt(e.compositionTimeOffset),r+=pn.BigInt(e.duration)):(e.pts=r+e.compositionTimeOffset,r+=e.duration)})),s=s.concat(t)})),s}(d,f,u),r=function(e,t,n){var r,i,o,a,s=new DataView(e.buffer,e.byteOffset,e.byteLength),u={logs:[],seiNals:[]};for(i=0;i+4<e.length;i+=o)if(o=s.getUint32(i),i+=4,!(o<=0))switch(31&e[i]){case 6:var c=e.subarray(i+1,i+1+o),l=hn(i,t);if(r={nalUnitType:"sei_rbsp",size:o,data:c,escapedRBSP:sn(c),trackId:n},l)r.pts=l.pts,r.dts=l.dts,a=l;else{if(!a){u.logs.push({level:"warn",message:"We've encountered a nal unit without data at "+i+" for trackId "+n+". See mux.js#223."});break}r.pts=a.pts,r.dts=a.dts}u.seiNals.push(r)}return u}(o,n,c),i[c]||(i[c]={seiNals:[],logs:[]}),i[c].seiNals=i[c].seiNals.concat(r.seiNals),i[c].logs=i[c].logs.concat(r.logs))})),i},mn=function(){var e,t,n,r,i,o,a=!1;this.isInitialized=function(){return a},this.init=function(t){e=new un,a=!0,o=!!t&&t.isPartial,e.on("data",(function(e){e.startTime=e.startPts/r,e.endTime=e.endPts/r,i.captions.push(e),i.captionStreams[e.stream]=!0})),e.on("log",(function(e){i.logs.push(e)}))},this.isNewInit=function(e,t){return!(e&&0===e.length||t&&"object"==typeof t&&0===Object.keys(t).length)&&(n!==e[0]||r!==t[n])},this.parse=function(e,o,a){var s;if(!this.isInitialized())return null;if(!o||!a)return null;if(this.isNewInit(o,a))n=o[0],r=a[n];else if(null===n||!r)return t.push(e),null;for(;t.length>0;){var u=t.shift();this.parse(u,o,a)}return s=function(e,t,n){if(null===t)return null;var r=gn(e,t)[t]||{};return{seiNals:r.seiNals,logs:r.logs,timescale:n}}(e,n,r),s&&s.logs&&(i.logs=i.logs.concat(s.logs)),null!==s&&s.seiNals?(this.pushNals(s.seiNals),this.flushStream(),i):i.logs.length?{logs:i.logs,captions:[],captionStreams:[]}:null},this.pushNals=function(t){if(!this.isInitialized()||!t||0===t.length)return null;t.forEach((function(t){e.push(t)}))},this.flushStream=function(){if(!this.isInitialized())return null;o?e.partialFlush():e.flush()},this.clearParsedCaptions=function(){i.captions=[],i.captionStreams={},i.logs=[]},this.resetCaptionStream=function(){if(!this.isInitialized())return null;e.reset()},this.clearAllCaptions=function(){this.clearParsedCaptions(),this.resetCaptionStream()},this.reset=function(){t=[],n=null,r=null,i?this.clearParsedCaptions():i={captions:[],captionStreams:{},logs:[]},this.resetCaptionStream()},this.reset()},yn=function(e){for(var t=0,n=String.fromCharCode(e[t]),r="";"\0"!==n;)r+=n,t++,n=String.fromCharCode(e[t]);return r+=n},vn=V.getUint64,bn=function(e,t){var n="\0"!==t.scheme_id_uri,r=0===e&&_n(t.presentation_time_delta)&&n,i=1===e&&_n(t.presentation_time)&&n;return!(e>1)&&r||i},_n=function(e){return void 0!==e||null!==e},wn={parseEmsgBox:function(e){var t,n,r,i,o,a,s,u=4,c=e[0];if(0===c)u+=(t=yn(e.subarray(u))).length,u+=(n=yn(e.subarray(u))).length,r=(l=new DataView(e.buffer)).getUint32(u),u+=4,o=l.getUint32(u),u+=4,a=l.getUint32(u),u+=4,s=l.getUint32(u),u+=4;else if(1===c){var l;r=(l=new DataView(e.buffer)).getUint32(u),u+=4,i=vn(e.subarray(u)),u+=8,a=l.getUint32(u),u+=4,s=l.getUint32(u),u+=4,u+=(t=yn(e.subarray(u))).length,u+=(n=yn(e.subarray(u))).length}var f={scheme_id_uri:t,value:n,timescale:r||1,presentation_time:i,presentation_time_delta:o,event_duration:a,id:s,message_data:new Uint8Array(e.subarray(u,e.byteLength))};return bn(c,f)?f:void 0},scaleTime:function(e,t,n,r){return e||0===e?e/t:r+n/t}},Tn=Yt,xn=function(e){return("00"+e.toString(16)).slice(-2)},Sn=Jt,kn=Kt,En=wn,On=an,Cn=on,Ln=nn,An=V.getUint64,In=qt,Pn=qe.parseId3Frames;Vt=function(e,t){var n=Sn(t,["moof","traf"]).reduce((function(t,n){var r,i=Sn(n,["tfhd"])[0],o=Tn(i[4]<<24|i[5]<<16|i[6]<<8|i[7]),a=e[o]||9e4,s=Sn(n,["tfdt"])[0],u=new DataView(s.buffer,s.byteOffset,s.byteLength);let c;return"bigint"==typeof(r=1===s[0]?An(s.subarray(4,12)):u.getUint32(4))?c=r/In.BigInt(a):"number"!=typeof r||isNaN(r)||(c=r/a),c<Number.MAX_SAFE_INTEGER&&(c=Number(c)),c<t&&(t=c),t}),1/0);return"bigint"==typeof n||isFinite(n)?n:0},Gt=function(e){var t=0===e[0]?12:20;return Tn(e[t]<<24|e[t+1]<<16|e[t+2]<<8|e[t+3])},Wt=function(e){var t=Sn(e,["moov","trak"]),n=[];return t.forEach((function(e){var t,r,i={},o=Sn(e,["tkhd"])[0];o&&(r=(t=new DataView(o.buffer,o.byteOffset,o.byteLength)).getUint8(0),i.id=0===r?t.getUint32(12):t.getUint32(20));var a=Sn(e,["mdia","hdlr"])[0];if(a){var s=kn(a.subarray(8,12));i.type="vide"===s?"video":"soun"===s?"audio":s}var u=Sn(e,["mdia","minf","stbl","stsd"])[0];if(u){var c=u.subarray(8);i.codec=kn(c.subarray(4,8));var l,f=Sn(c,[i.codec])[0];f&&(/^[asm]vc[1-9]$/i.test(i.codec)?(l=f.subarray(78),"avcC"===kn(l.subarray(4,8))&&l.length>11?(i.codec+=".",i.codec+=xn(l[9]),i.codec+=xn(l[10]),i.codec+=xn(l[11])):i.codec="avc1.4d400d"):/^mp4[a,v]$/i.test(i.codec)?(l=f.subarray(28),"esds"===kn(l.subarray(4,8))&&l.length>20&&0!==l[19]?(i.codec+="."+xn(l[19]),i.codec+="."+xn(l[20]>>>2&63).replace(/^0/,"")):i.codec="mp4a.40.2"):i.codec=i.codec.toLowerCase())}var d=Sn(e,["mdia","mdhd"])[0];d&&(i.timescale=Gt(d)),n.push(i)})),n};var Mn=Vt,Rn=Wt,jn=Le,Dn=function(e){var t=31&e[1];return t<<=8,t|=e[2]},Nn=function(e){return!!(64&e[1])},Bn=function(e){var t=0;return(48&e[3])>>>4>1&&(t+=e[4]+1),t},Un=function(e){switch(e){case 5:return"slice_layer_without_partitioning_rbsp_idr";case 6:return"sei_rbsp";case 7:return"seq_parameter_set_rbsp";case 8:return"pic_parameter_set_rbsp";case 9:return"access_unit_delimiter_rbsp";default:return null}},Fn={parseType:function(e,t){var n=Dn(e);return 0===n?"pat":n===t?"pmt":t?"pes":null},parsePat:function(e){var t=Nn(e),n=4+Bn(e);return t&&(n+=e[n]+1),(31&e[n+10])<<8|e[n+11]},parsePmt:function(e){var t={},n=Nn(e),r=4+Bn(e);if(n&&(r+=e[r]+1),1&e[r+5]){var i;i=3+((15&e[r+1])<<8|e[r+2])-4;for(var o=12+((15&e[r+10])<<8|e[r+11]);o<i;){var a=r+o;t[(31&e[a+1])<<8|e[a+2]]=e[a],o+=5+((15&e[a+3])<<8|e[a+4])}return t}},parsePayloadUnitStartIndicator:Nn,parsePesType:function(e,t){switch(t[Dn(e)]){case jn.H264_STREAM_TYPE:return"video";case jn.ADTS_STREAM_TYPE:return"audio";case jn.METADATA_STREAM_TYPE:return"timed-metadata";default:return null}},parsePesTime:function(e){if(!Nn(e))return null;var t=4+Bn(e);if(t>=e.byteLength)return null;var n,r=null;return 192&(n=e[t+7])&&((r={}).pts=(14&e[t+9])<<27|(255&e[t+10])<<20|(254&e[t+11])<<12|(255&e[t+12])<<5|(254&e[t+13])>>>3,r.pts*=4,r.pts+=(6&e[t+13])>>>1,r.dts=r.pts,64&n&&(r.dts=(14&e[t+14])<<27|(255&e[t+15])<<20|(254&e[t+16])<<12|(255&e[t+17])<<5|(254&e[t+18])>>>3,r.dts*=4,r.dts+=(6&e[t+18])>>>1)),r},videoPacketContainsKeyFrame:function(e){for(var t=4+Bn(e),n=e.subarray(t),r=0,i=0,o=!1;i<n.byteLength-3;i++)if(1===n[i+2]){r=i+5;break}for(;r<n.byteLength;)switch(n[r]){case 0:if(0!==n[r-1]){r+=2;break}if(0!==n[r-2]){r++;break}i+3!==r-2&&"slice_layer_without_partitioning_rbsp_idr"===Un(31&n[i+3])&&(o=!0);do{r++}while(1!==n[r]&&r<n.length);i=r-2,r+=3;break;case 1:if(0!==n[r-1]||0!==n[r-2]){r+=3;break}"slice_layer_without_partitioning_rbsp_idr"===Un(31&n[i+3])&&(o=!0),i=r-2,r+=3;break;default:r+=3}return n=n.subarray(i),r-=i,i=0,n&&n.byteLength>3&&"slice_layer_without_partitioning_rbsp_idr"===Un(31&n[i+3])&&(o=!0),o}},zn=Le,Hn=je.handleRollover,Zn={};Zn.ts=Fn,Zn.aac=_t;var qn=ue.ONE_SECOND_IN_TS,Vn=188,Wn=71,Gn=function(e,t,n){for(var r,i,o,a,s=0,u=Vn,c=!1;u<=e.byteLength;)if(e[s]!==Wn||e[u]!==Wn&&u!==e.byteLength)s++,u++;else{if(r=e.subarray(s,u),"pes"===Zn.ts.parseType(r,t.pid))i=Zn.ts.parsePesType(r,t.table),o=Zn.ts.parsePayloadUnitStartIndicator(r),"audio"===i&&o&&(a=Zn.ts.parsePesTime(r))&&(a.type="audio",n.audio.push(a),c=!0);if(c)break;s+=Vn,u+=Vn}for(s=(u=e.byteLength)-Vn,c=!1;s>=0;)if(e[s]!==Wn||e[u]!==Wn&&u!==e.byteLength)s--,u--;else{if(r=e.subarray(s,u),"pes"===Zn.ts.parseType(r,t.pid))i=Zn.ts.parsePesType(r,t.table),o=Zn.ts.parsePayloadUnitStartIndicator(r),"audio"===i&&o&&(a=Zn.ts.parsePesTime(r))&&(a.type="audio",n.audio.push(a),c=!0);if(c)break;s-=Vn,u-=Vn}},$n=function(e,t,n){for(var r,i,o,a,s,u,c,l=0,f=Vn,d=!1,p={data:[],size:0};f<e.byteLength;)if(e[l]!==Wn||e[f]!==Wn)l++,f++;else{if(r=e.subarray(l,f),"pes"===Zn.ts.parseType(r,t.pid))if(i=Zn.ts.parsePesType(r,t.table),o=Zn.ts.parsePayloadUnitStartIndicator(r),"video"===i&&(o&&!d&&(a=Zn.ts.parsePesTime(r))&&(a.type="video",n.video.push(a),d=!0),!n.firstKeyFrame)){if(o&&0!==p.size){for(s=new Uint8Array(p.size),u=0;p.data.length;)c=p.data.shift(),s.set(c,u),u+=c.byteLength;if(Zn.ts.videoPacketContainsKeyFrame(s)){var h=Zn.ts.parsePesTime(s);h?(n.firstKeyFrame=h,n.firstKeyFrame.type="video"):console.warn("Failed to extract PTS/DTS from PES at first keyframe. This could be an unusual TS segment, or else mux.js did not parse your TS segment correctly. If you know your TS segments do contain PTS/DTS on keyframes please file a bug report! You can try ffprobe to double check for yourself.")}p.size=0}p.data.push(r),p.size+=r.byteLength}if(d&&n.firstKeyFrame)break;l+=Vn,f+=Vn}for(l=(f=e.byteLength)-Vn,d=!1;l>=0;)if(e[l]!==Wn||e[f]!==Wn)l--,f--;else{if(r=e.subarray(l,f),"pes"===Zn.ts.parseType(r,t.pid))i=Zn.ts.parsePesType(r,t.table),o=Zn.ts.parsePayloadUnitStartIndicator(r),"video"===i&&o&&(a=Zn.ts.parsePesTime(r))&&(a.type="video",n.video.push(a),d=!0);if(d)break;l-=Vn,f-=Vn}},Yn=function(e){var t={pid:null,table:null},n={};for(var r in function(e,t){for(var n,r=0,i=Vn;i<e.byteLength;)if(e[r]!==Wn||e[i]!==Wn)r++,i++;else{switch(n=e.subarray(r,i),Zn.ts.parseType(n,t.pid)){case"pat":t.pid=Zn.ts.parsePat(n);break;case"pmt":var o=Zn.ts.parsePmt(n);t.table=t.table||{},Object.keys(o).forEach((function(e){t.table[e]=o[e]}))}r+=Vn,i+=Vn}}(e,t),t.table){if(t.table.hasOwnProperty(r))switch(t.table[r]){case zn.H264_STREAM_TYPE:n.video=[],$n(e,t,n),0===n.video.length&&delete n.video;break;case zn.ADTS_STREAM_TYPE:n.audio=[],Gn(e,t,n),0===n.audio.length&&delete n.audio}}return n},Kn=function(e,t){var n;return n=Zn.aac.isLikelyAacData(e)?function(e){for(var t,n=!1,r=0,i=null,o=null,a=0,s=0;e.length-s>=3;){switch(Zn.aac.parseType(e,s)){case"timed-metadata":if(e.length-s<10){n=!0;break}if((a=Zn.aac.parseId3TagSize(e,s))>e.length){n=!0;break}null===o&&(t=e.subarray(s,s+a),o=Zn.aac.parseAacTimestamp(t)),s+=a;break;case"audio":if(e.length-s<7){n=!0;break}if((a=Zn.aac.parseAdtsSize(e,s))>e.length){n=!0;break}null===i&&(t=e.subarray(s,s+a),i=Zn.aac.parseSampleRate(t)),r++,s+=a;break;default:s++}if(n)return null}if(null===i||null===o)return null;var u=qn/i;return{audio:[{type:"audio",dts:o,pts:o},{type:"audio",dts:o+1024*r*u,pts:o+1024*r*u}]}}(e):Yn(e),n&&(n.audio||n.video)?(function(e,t){if(e.audio&&e.audio.length){var n=t;(void 0===n||isNaN(n))&&(n=e.audio[0].dts),e.audio.forEach((function(e){e.dts=Hn(e.dts,n),e.pts=Hn(e.pts,n),e.dtsTime=e.dts/qn,e.ptsTime=e.pts/qn}))}if(e.video&&e.video.length){var r=t;if((void 0===r||isNaN(r))&&(r=e.video[0].dts),e.video.forEach((function(e){e.dts=Hn(e.dts,r),e.pts=Hn(e.pts,r),e.dtsTime=e.dts/qn,e.ptsTime=e.pts/qn})),e.firstKeyFrame){var i=e.firstKeyFrame;i.dts=Hn(i.dts,r),i.pts=Hn(i.pts,r),i.dtsTime=i.dts/qn,i.ptsTime=i.pts/qn}}}(n,t),n):null};class Xn{constructor(e,t){this.options=t||{},this.self=e,this.init()}init(){this.transmuxer&&this.transmuxer.dispose(),this.transmuxer=new $t.Transmuxer(this.options),function(e,t){t.on("data",(function(t){const n=t.initSegment;t.initSegment={data:n.buffer,byteOffset:n.byteOffset,byteLength:n.byteLength};const r=t.data;t.data=r.buffer,e.postMessage({action:"data",segment:t,byteOffset:r.byteOffset,byteLength:r.byteLength},[t.data])})),t.on("done",(function(t){e.postMessage({action:"done"})})),t.on("gopInfo",(function(t){e.postMessage({action:"gopInfo",gopInfo:t})})),t.on("videoSegmentTimingInfo",(function(t){const n={start:{decode:ue.videoTsToSeconds(t.start.dts),presentation:ue.videoTsToSeconds(t.start.pts)},end:{decode:ue.videoTsToSeconds(t.end.dts),presentation:ue.videoTsToSeconds(t.end.pts)},baseMediaDecodeTime:ue.videoTsToSeconds(t.baseMediaDecodeTime)};t.prependedContentDuration&&(n.prependedContentDuration=ue.videoTsToSeconds(t.prependedContentDuration)),e.postMessage({action:"videoSegmentTimingInfo",videoSegmentTimingInfo:n})})),t.on("audioSegmentTimingInfo",(function(t){const n={start:{decode:ue.videoTsToSeconds(t.start.dts),presentation:ue.videoTsToSeconds(t.start.pts)},end:{decode:ue.videoTsToSeconds(t.end.dts),presentation:ue.videoTsToSeconds(t.end.pts)},baseMediaDecodeTime:ue.videoTsToSeconds(t.baseMediaDecodeTime)};t.prependedContentDuration&&(n.prependedContentDuration=ue.videoTsToSeconds(t.prependedContentDuration)),e.postMessage({action:"audioSegmentTimingInfo",audioSegmentTimingInfo:n})})),t.on("id3Frame",(function(t){e.postMessage({action:"id3Frame",id3Frame:t})})),t.on("caption",(function(t){e.postMessage({action:"caption",caption:t})})),t.on("trackinfo",(function(t){e.postMessage({action:"trackinfo",trackInfo:t})})),t.on("audioTimingInfo",(function(t){e.postMessage({action:"audioTimingInfo",audioTimingInfo:{start:ue.videoTsToSeconds(t.start),end:ue.videoTsToSeconds(t.end)}})})),t.on("videoTimingInfo",(function(t){e.postMessage({action:"videoTimingInfo",videoTimingInfo:{start:ue.videoTsToSeconds(t.start),end:ue.videoTsToSeconds(t.end)}})})),t.on("log",(function(t){e.postMessage({action:"log",log:t})}))}(this.self,this.transmuxer)}pushMp4Captions(e){this.captionParser||(this.captionParser=new mn,this.captionParser.init());const t=new Uint8Array(e.data,e.byteOffset,e.byteLength),n=this.captionParser.parse(t,e.trackIds,e.timescales);this.self.postMessage({action:"mp4Captions",captions:n&&n.captions||[],logs:n&&n.logs||[],data:t.buffer},[t.buffer])}probeMp4StartTime({timescales:e,data:t}){const n=Mn(e,t);this.self.postMessage({action:"probeMp4StartTime",startTime:n,data:t},[t.buffer])}probeMp4Tracks({data:e}){const t=Rn(e);this.self.postMessage({action:"probeMp4Tracks",tracks:t,data:e},[e.buffer])}probeTs({data:e,baseStartTime:t}){const n="number"!=typeof t||isNaN(t)?void 0:t*ue.ONE_SECOND_IN_TS,r=Kn(e,n);let i=null;r&&(i={hasVideo:r.video&&2===r.video.length||!1,hasAudio:r.audio&&2===r.audio.length||!1},i.hasVideo&&(i.videoStart=r.video[0].ptsTime),i.hasAudio&&(i.audioStart=r.audio[0].ptsTime)),this.self.postMessage({action:"probeTs",result:i,data:e},[e.buffer])}clearAllMp4Captions(){this.captionParser&&this.captionParser.clearAllCaptions()}clearParsedMp4Captions(){this.captionParser&&this.captionParser.clearParsedCaptions()}push(e){const t=new Uint8Array(e.data,e.byteOffset,e.byteLength);this.transmuxer.push(t)}reset(){this.transmuxer.reset()}setTimestampOffset(e){const t=e.timestampOffset||0;this.transmuxer.setBaseMediaDecodeTime(Math.round(ue.secondsToVideoTs(t)))}setAudioAppendStart(e){this.transmuxer.setAudioAppendStart(Math.ceil(ue.secondsToVideoTs(e.appendStart)))}setRemux(e){this.transmuxer.setRemux(e.remux)}flush(e){this.transmuxer.flush(),self.postMessage({action:"done",type:"transmuxed"})}endTimeline(){this.transmuxer.endTimeline(),self.postMessage({action:"endedtimeline",type:"transmuxed"})}alignGopsWith(e){this.transmuxer.alignGopsWith(e.gopsToAlignWith.slice())}}self.onmessage=function(e){"init"===e.data.action&&e.data.options?this.messageHandlers=new Xn(self,e.data.options):(this.messageHandlers||(this.messageHandlers=new Xn(self)),e.data&&e.data.action&&"init"!==e.data.action&&this.messageHandlers[e.data.action]&&this.messageHandlers[e.data.action](e.data))}})));var Ys=Vs($s);const Ks=e=>{const{transmuxer:t,bytes:n,audioAppendStart:r,gopsToAlignWith:i,remux:o,onData:a,onTrackInfo:s,onAudioTimingInfo:u,onVideoTimingInfo:c,onVideoSegmentTimingInfo:l,onAudioSegmentTimingInfo:f,onId3:d,onCaptions:p,onDone:h,onEndedTimeline:g,onTransmuxerLog:m,isEndOfTimeline:y}=e,v={buffer:[]};let b=y;if(t.onmessage=n=>{t.currentTransmux===e&&("data"===n.data.action&&((e,t,n)=>{const{type:r,initSegment:i,captions:o,captionStreams:a,metadata:s,videoFrameDtsTime:u,videoFramePtsTime:c}=e.data.segment;t.buffer.push({captions:o,captionStreams:a,metadata:s});const l=e.data.segment.boxes||{data:e.data.segment.data},f={type:r,data:new Uint8Array(l.data,l.data.byteOffset,l.data.byteLength),initSegment:new Uint8Array(i.data,i.byteOffset,i.byteLength)};void 0!==u&&(f.videoFrameDtsTime=u),void 0!==c&&(f.videoFramePtsTime=c),n(f)})(n,v,a),"trackinfo"===n.data.action&&s(n.data.trackInfo),"gopInfo"===n.data.action&&((e,t)=>{t.gopInfo=e.data.gopInfo})(n,v),"audioTimingInfo"===n.data.action&&u(n.data.audioTimingInfo),"videoTimingInfo"===n.data.action&&c(n.data.videoTimingInfo),"videoSegmentTimingInfo"===n.data.action&&l(n.data.videoSegmentTimingInfo),"audioSegmentTimingInfo"===n.data.action&&f(n.data.audioSegmentTimingInfo),"id3Frame"===n.data.action&&d([n.data.id3Frame],n.data.id3Frame.dispatchType),"caption"===n.data.action&&p(n.data.caption),"endedtimeline"===n.data.action&&(b=!1,g()),"log"===n.data.action&&m(n.data.log),"transmuxed"===n.data.type&&(b||(t.onmessage=null,(({transmuxedData:e,callback:t})=>{e.buffer=[],t(e)})({transmuxedData:v,callback:h}),Xs(t))))},r&&t.postMessage({action:"setAudioAppendStart",appendStart:r}),Array.isArray(i)&&t.postMessage({action:"alignGopsWith",gopsToAlignWith:i}),void 0!==o&&t.postMessage({action:"setRemux",remux:o}),n.byteLength){const e=n instanceof ArrayBuffer?n:n.buffer,r=n instanceof ArrayBuffer?0:n.byteOffset;t.postMessage({action:"push",data:e,byteOffset:r,byteLength:n.byteLength},[e])}y&&t.postMessage({action:"endTimeline"}),t.postMessage({action:"flush"})},Xs=e=>{e.currentTransmux=null,e.transmuxQueue.length&&(e.currentTransmux=e.transmuxQueue.shift(),"function"==typeof e.currentTransmux?e.currentTransmux():Ks(e.currentTransmux))},Qs=(e,t)=>{e.postMessage({action:t}),Xs(e)},Js=(e,t)=>{if(!t.currentTransmux)return t.currentTransmux=e,void Qs(t,e);t.transmuxQueue.push(Qs.bind(null,t,e))},eu=e=>{if(!e.transmuxer.currentTransmux)return e.transmuxer.currentTransmux=e,void Ks(e);e.transmuxer.transmuxQueue.push(e)};var tu=e=>{Js("reset",e)},nu=e=>{const t=new Ys;t.currentTransmux=null,t.transmuxQueue=[];const n=t.terminate;return t.terminate=()=>(t.currentTransmux=null,t.transmuxQueue.length=0,n.call(t)),t.postMessage({action:"init",options:e}),t};const ru=function(e){const t=e.transmuxer,n=e.endAction||e.action,r=e.callback,i=(0,b.Z)({},e,{endAction:null,transmuxer:null,callback:null}),o=i=>{i.data.action===n&&(t.removeEventListener("message",o),i.data.data&&(i.data.data=new Uint8Array(i.data.data,e.byteOffset||0,e.byteLength||i.data.data.byteLength),e.data&&(e.data=i.data.data)),r(i.data))};if(t.addEventListener("message",o),e.data){const n=e.data instanceof ArrayBuffer;i.byteOffset=n?0:e.data.byteOffset,i.byteLength=e.data.byteLength;const r=[n?e.data:e.data.buffer];t.postMessage(i,r)}else t.postMessage(i)},iu=2,ou=-101,au=-102,su=e=>{e.forEach((e=>{e.abort()}))},uu=(e,t)=>t.timedout?{status:t.status,message:"HLS request timed-out at URL: "+t.uri,code:ou,xhr:t}:t.aborted?{status:t.status,message:"HLS request aborted at URL: "+t.uri,code:au,xhr:t}:e?{status:t.status,message:"HLS request errored at URL: "+t.uri,code:iu,xhr:t}:"arraybuffer"===t.responseType&&0===t.response.byteLength?{status:t.status,message:"Empty HLS response at URL: "+t.uri,code:iu,xhr:t}:null,cu=(e,t,n)=>(r,i)=>{const o=i.response,a=uu(r,i);if(a)return n(a,e);if(16!==o.byteLength)return n({status:i.status,message:"Invalid HLS key at URL: "+i.uri,code:iu,xhr:i},e);const s=new DataView(o),u=new Uint32Array([s.getUint32(0),s.getUint32(4),s.getUint32(8),s.getUint32(12)]);for(let e=0;e<t.length;e++)t[e].bytes=u;return n(null,e)},lu=(e,t)=>{const n=St(e.map.bytes);if("mp4"!==n){const r=e.map.resolvedUri||e.map.uri;return t({internal:!0,message:`Found unsupported ${n||"unknown"} container for initialization segment at URL: ${r}`,code:iu})}ru({action:"probeMp4Tracks",data:e.map.bytes,transmuxer:e.transmuxer,callback:({tracks:n,data:r})=>(e.map.bytes=r,n.forEach((function(t){e.map.tracks=e.map.tracks||{},e.map.tracks[t.type]||(e.map.tracks[t.type]=t,"number"==typeof t.id&&t.timescale&&(e.map.timescales=e.map.timescales||{},e.map.timescales[t.id]=t.timescale))})),t(null))})},fu=({segment:e,finishProcessingFn:t,responseType:n})=>(r,i)=>{const o=uu(r,i);if(o)return t(o,e);const a="arraybuffer"!==n&&i.responseText?(e=>{const t=new Uint8Array(new ArrayBuffer(e.length));for(let n=0;n<e.length;n++)t[n]=e.charCodeAt(n);return t.buffer})(i.responseText.substring(e.lastReachedChar||0)):i.response;return e.stats=(e=>({bandwidth:e.bandwidth,bytesReceived:e.bytesReceived||0,roundTripTime:e.roundTripTime||0}))(i),e.key?e.encryptedBytes=new Uint8Array(a):e.bytes=new Uint8Array(a),t(null,e)},du=({segment:e,bytes:t,trackInfoFn:n,timingInfoFn:r,videoSegmentTimingInfoFn:i,audioSegmentTimingInfoFn:o,id3Fn:a,captionsFn:s,isEndOfTimeline:u,endedTimelineFn:c,dataFn:l,doneFn:f,onTransmuxerLog:d})=>{const p=e.map&&e.map.tracks||{},h=Boolean(p.audio&&p.video);let g=r.bind(null,e,"audio","start");const m=r.bind(null,e,"audio","end");let y=r.bind(null,e,"video","start");const v=r.bind(null,e,"video","end");ru({action:"probeTs",transmuxer:e.transmuxer,data:t,baseStartTime:e.baseStartTime,callback:r=>{e.bytes=t=r.data;const p=r.result;p&&(n(e,{hasAudio:p.hasAudio,hasVideo:p.hasVideo,isMuxed:h}),n=null,p.hasAudio&&!h&&g(p.audioStart),p.hasVideo&&y(p.videoStart),g=null,y=null),eu({bytes:t,transmuxer:e.transmuxer,audioAppendStart:e.audioAppendStart,gopsToAlignWith:e.gopsToAlignWith,remux:h,onData:t=>{t.type="combined"===t.type?"video":t.type,l(e,t)},onTrackInfo:t=>{n&&(h&&(t.isMuxed=!0),n(e,t))},onAudioTimingInfo:e=>{g&&void 0!==e.start&&(g(e.start),g=null),m&&void 0!==e.end&&m(e.end)},onVideoTimingInfo:e=>{y&&void 0!==e.start&&(y(e.start),y=null),v&&void 0!==e.end&&v(e.end)},onVideoSegmentTimingInfo:e=>{i(e)},onAudioSegmentTimingInfo:e=>{o(e)},onId3:(t,n)=>{a(e,t,n)},onCaptions:t=>{s(e,[t])},isEndOfTimeline:u,onEndedTimeline:()=>{c()},onTransmuxerLog:d,onDone:t=>{f&&(t.type="combined"===t.type?"video":t.type,f(null,e,t))}})}})},pu=({segment:e,bytes:t,trackInfoFn:n,timingInfoFn:r,videoSegmentTimingInfoFn:i,audioSegmentTimingInfoFn:o,id3Fn:a,captionsFn:s,isEndOfTimeline:u,endedTimelineFn:c,dataFn:l,doneFn:f,onTransmuxerLog:d})=>{let p=new Uint8Array(t);if(function(e){return ut(e,["moof"]).length>0}(p)){e.isFmp4=!0;const{tracks:i}=e.map,o={isFmp4:!0,hasVideo:!!i.video,hasAudio:!!i.audio};i.audio&&i.audio.codec&&"enca"!==i.audio.codec&&(o.audioCodec=i.audio.codec),i.video&&i.video.codec&&"encv"!==i.video.codec&&(o.videoCodec=i.video.codec),i.video&&i.audio&&(o.isMuxed=!0),n(e,o);const a=t=>{l(e,{data:p,type:o.hasAudio&&!o.isMuxed?"audio":"video"}),t&&t.length&&s(e,t),f(null,e,{})};ru({action:"probeMp4StartTime",timescales:e.map.timescales,data:p,transmuxer:e.transmuxer,callback:({data:n,startTime:s})=>{t=n.buffer,e.bytes=p=n,o.hasAudio&&!o.isMuxed&&r(e,"audio","start",s),o.hasVideo&&r(e,"video","start",s),i.video&&n.byteLength&&e.transmuxer?ru({action:"pushMp4Captions",endAction:"mp4Captions",transmuxer:e.transmuxer,data:p,timescales:e.map.timescales,trackIds:[i.video.id],callback:n=>{t=n.data.buffer,e.bytes=p=n.data,n.logs.forEach((function(e){d(Ia(e,{stream:"mp4CaptionParser"}))})),a(n.captions)}}):a()}})}else if(e.transmuxer){if(void 0===e.container&&(e.container=St(p)),"ts"!==e.container&&"aac"!==e.container)return n(e,{hasAudio:!1,hasVideo:!1}),void f(null,e,{});du({segment:e,bytes:t,trackInfoFn:n,timingInfoFn:r,videoSegmentTimingInfoFn:i,audioSegmentTimingInfoFn:o,id3Fn:a,captionsFn:s,isEndOfTimeline:u,endedTimelineFn:c,dataFn:l,doneFn:f,onTransmuxerLog:d})}else f(null,e,{})},hu=function({id:e,key:t,encryptedBytes:n,decryptionWorker:r},i){const o=t=>{if(t.data.source===e){r.removeEventListener("message",o);const e=t.data.decrypted;i(new Uint8Array(e.bytes,e.byteOffset,e.byteLength))}};let a;r.addEventListener("message",o),a=t.bytes.slice?t.bytes.slice():new Uint32Array(Array.prototype.slice.call(t.bytes)),r.postMessage(Os({source:e,encrypted:n,key:a,iv:t.iv}),[n.buffer,a.buffer])},gu=({activeXhrs:e,decryptionWorker:t,trackInfoFn:n,timingInfoFn:r,videoSegmentTimingInfoFn:i,audioSegmentTimingInfoFn:o,id3Fn:a,captionsFn:s,isEndOfTimeline:u,endedTimelineFn:c,dataFn:l,doneFn:f,onTransmuxerLog:d})=>{let p=0,h=!1;return(g,m)=>{if(!h){if(g)return h=!0,su(e),f(g,m);if(p+=1,p===e.length){const p=function(){if(m.encryptedBytes)return(({decryptionWorker:e,segment:t,trackInfoFn:n,timingInfoFn:r,videoSegmentTimingInfoFn:i,audioSegmentTimingInfoFn:o,id3Fn:a,captionsFn:s,isEndOfTimeline:u,endedTimelineFn:c,dataFn:l,doneFn:f,onTransmuxerLog:d})=>{hu({id:t.requestId,key:t.key,encryptedBytes:t.encryptedBytes,decryptionWorker:e},(e=>{t.bytes=e,pu({segment:t,bytes:t.bytes,trackInfoFn:n,timingInfoFn:r,videoSegmentTimingInfoFn:i,audioSegmentTimingInfoFn:o,id3Fn:a,captionsFn:s,isEndOfTimeline:u,endedTimelineFn:c,dataFn:l,doneFn:f,onTransmuxerLog:d})}))})({decryptionWorker:t,segment:m,trackInfoFn:n,timingInfoFn:r,videoSegmentTimingInfoFn:i,audioSegmentTimingInfoFn:o,id3Fn:a,captionsFn:s,isEndOfTimeline:u,endedTimelineFn:c,dataFn:l,doneFn:f,onTransmuxerLog:d});pu({segment:m,bytes:m.bytes,trackInfoFn:n,timingInfoFn:r,videoSegmentTimingInfoFn:i,audioSegmentTimingInfoFn:o,id3Fn:a,captionsFn:s,isEndOfTimeline:u,endedTimelineFn:c,dataFn:l,doneFn:f,onTransmuxerLog:d})};if(m.endOfAllRequests=Date.now(),m.map&&m.map.encryptedBytes&&!m.map.bytes)return hu({decryptionWorker:t,id:m.requestId+"-init",encryptedBytes:m.map.encryptedBytes,key:m.map.key},(t=>{m.map.bytes=t,lu(m,(t=>{if(t)return su(e),f(t,m);p()}))}));p()}}}},mu=({segment:e,progressFn:t,trackInfoFn:n,timingInfoFn:r,videoSegmentTimingInfoFn:i,audioSegmentTimingInfoFn:o,id3Fn:a,captionsFn:s,isEndOfTimeline:u,endedTimelineFn:c,dataFn:l})=>n=>{if(!n.target.aborted)return e.stats=Ia(e.stats,(e=>{const t=e.target,n={bandwidth:1/0,bytesReceived:0,roundTripTime:Date.now()-t.requestTime||0};return n.bytesReceived=e.loaded,n.bandwidth=Math.floor(n.bytesReceived/n.roundTripTime*8*1e3),n})(n)),!e.stats.firstBytesReceivedAt&&e.stats.bytesReceived&&(e.stats.firstBytesReceivedAt=Date.now()),t(n,e)},yu=({xhr:e,xhrOptions:t,decryptionWorker:n,segment:r,abortFn:i,progressFn:o,trackInfoFn:a,timingInfoFn:s,videoSegmentTimingInfoFn:u,audioSegmentTimingInfoFn:c,id3Fn:l,captionsFn:f,isEndOfTimeline:d,endedTimelineFn:p,dataFn:h,doneFn:g,onTransmuxerLog:m})=>{const y=[],v=gu({activeXhrs:y,decryptionWorker:n,trackInfoFn:a,timingInfoFn:s,videoSegmentTimingInfoFn:u,audioSegmentTimingInfoFn:c,id3Fn:l,captionsFn:f,isEndOfTimeline:d,endedTimelineFn:p,dataFn:h,doneFn:g,onTransmuxerLog:m});if(r.key&&!r.key.bytes){const n=[r.key];r.map&&!r.map.bytes&&r.map.key&&r.map.key.resolvedUri===r.key.resolvedUri&&n.push(r.map.key);const i=e(Ia(t,{uri:r.key.resolvedUri,responseType:"arraybuffer"}),cu(r,n,v));y.push(i)}if(r.map&&!r.map.bytes){if(r.map.key&&(!r.key||r.key.resolvedUri!==r.map.key.resolvedUri)){const n=e(Ia(t,{uri:r.map.key.resolvedUri,responseType:"arraybuffer"}),cu(r,[r.map.key],v));y.push(n)}const n=Ia(t,{uri:r.map.resolvedUri,responseType:"arraybuffer",headers:xs(r.map)}),i=(({segment:e,finishProcessingFn:t})=>(n,r)=>{const i=uu(n,r);if(i)return t(i,e);const o=new Uint8Array(r.response);if(e.map.key)return e.map.encryptedBytes=o,t(null,e);e.map.bytes=o,lu(e,(function(n){if(n)return n.xhr=r,n.status=r.status,t(n,e);t(null,e)}))})({segment:r,finishProcessingFn:v}),o=e(n,i);y.push(o)}const b=Ia(t,{uri:r.part&&r.part.resolvedUri||r.resolvedUri,responseType:"arraybuffer",headers:xs(r)}),_=e(b,fu({segment:r,finishProcessingFn:v,responseType:b.responseType}));_.addEventListener("progress",mu({segment:r,progressFn:o,trackInfoFn:a,timingInfoFn:s,videoSegmentTimingInfoFn:u,audioSegmentTimingInfoFn:c,id3Fn:l,captionsFn:f,isEndOfTimeline:d,endedTimelineFn:p,dataFn:h})),y.push(_);const w={};return y.forEach((e=>{e.addEventListener("loadend",(({loadendState:e,abortFn:t})=>n=>{n.target.aborted&&t&&!e.calledAbortFn&&(t(),e.calledAbortFn=!0)})({loadendState:w,abortFn:i}))})),()=>su(y)},vu=Aa("CodecUtils"),bu=(e,t)=>{const n=t.attributes||{};return e&&e.mediaGroups&&e.mediaGroups.AUDIO&&n.AUDIO&&e.mediaGroups.AUDIO[n.AUDIO]},_u=function(e){const t={};return e.forEach((({mediaType:e,type:n,details:r})=>{t[e]=t[e]||[],t[e].push(j(`${n}${r}`))})),Object.keys(t).forEach((function(e){if(t[e].length>1)return vu(`multiple ${e} codecs found as attributes: ${t[e].join(", ")}. Setting playlist codecs to null so that we wait for mux.js to probe segments for real codecs.`),void(t[e]=null);t[e]=t[e][0]})),t},wu=function(e){let t=0;return e.audio&&t++,e.video&&t++,t},Tu=function(e,t){const n=t.attributes||{},r=_u(function(e){const t=e.attributes||{};if(t.CODECS)return D(t.CODECS)}(t)||[]);if(bu(e,t)&&!r.audio&&!((e,t)=>{if(!bu(e,t))return!0;const n=t.attributes||{},r=e.mediaGroups.AUDIO[n.AUDIO];for(const e in r)if(!r[e].uri&&!r[e].playlists)return!0;return!1})(e,t)){const t=_u(function(e,t){if(!e.mediaGroups.AUDIO||!t)return null;var n=e.mediaGroups.AUDIO[t];if(!n)return null;for(var r in n){var i=n[r];if(i.default&&i.playlists)return D(i.playlists[0].attributes.CODECS)}return null}(e,n.AUDIO)||[]);t.audio&&(r.audio=t.audio)}return r},xu=Aa("PlaylistSelector"),Su=function(e){if(!e||!e.playlist)return;const t=e.playlist;return JSON.stringify({id:t.id,bandwidth:e.bandwidth,width:e.width,height:e.height,codecs:t.attributes&&t.attributes.CODECS||""})},ku=function(e,t){if(!e)return"";const n=i().getComputedStyle(e);return n?n[t]:""},Eu=function(e,t){const n=e.slice();e.sort((function(e,r){const i=t(e,r);return 0===i?n.indexOf(e)-n.indexOf(r):i}))},Ou=function(e,t){let n,r;return e.attributes.BANDWIDTH&&(n=e.attributes.BANDWIDTH),n=n||i().Number.MAX_VALUE,t.attributes.BANDWIDTH&&(r=t.attributes.BANDWIDTH),r=r||i().Number.MAX_VALUE,n-r};let Cu=function(e,t,n,r,o,a){if(!e)return;const s={bandwidth:t,width:n,height:r,limitRenditionByPlayerDimensions:o};let u=e.playlists;os.isAudioOnly(e)&&(u=a.getAudioTrackPlaylists_(),s.audioOnly=!0);let c=u.map((e=>{let t;const n=e.attributes&&e.attributes.RESOLUTION&&e.attributes.RESOLUTION.width,r=e.attributes&&e.attributes.RESOLUTION&&e.attributes.RESOLUTION.height;return t=e.attributes&&e.attributes.BANDWIDTH,t=t||i().Number.MAX_VALUE,{bandwidth:t,width:n,height:r,playlist:e}}));Eu(c,((e,t)=>e.bandwidth-t.bandwidth)),c=c.filter((e=>!os.isIncompatible(e.playlist)));let l=c.filter((e=>os.isEnabled(e.playlist)));l.length||(l=c.filter((e=>!os.isDisabled(e.playlist))));const f=l.filter((e=>e.bandwidth*Zs.BANDWIDTH_VARIANCE<t));let d=f[f.length-1];const p=f.filter((e=>e.bandwidth===d.bandwidth))[0];if(!1===o){const e=p||l[0]||c[0];if(e&&e.playlist){let t="sortedPlaylistReps";return p&&(t="bandwidthBestRep"),l[0]&&(t="enabledPlaylistReps"),xu(`choosing ${Su(e)} using ${t} with options`,s),e.playlist}return xu("could not choose a playlist with options",s),null}const h=f.filter((e=>e.width&&e.height));Eu(h,((e,t)=>e.width-t.width));const g=h.filter((e=>e.width===n&&e.height===r));d=g[g.length-1];const m=g.filter((e=>e.bandwidth===d.bandwidth))[0];let y,v,b,_;if(m||(y=h.filter((e=>e.width>n||e.height>r)),v=y.filter((e=>e.width===y[0].width&&e.height===y[0].height)),d=v[v.length-1],b=v.filter((e=>e.bandwidth===d.bandwidth))[0]),a.leastPixelDiffSelector){const e=h.map((e=>(e.pixelDiff=Math.abs(e.width-n)+Math.abs(e.height-r),e)));Eu(e,((e,t)=>e.pixelDiff===t.pixelDiff?t.bandwidth-e.bandwidth:e.pixelDiff-t.pixelDiff)),_=e[0]}const w=_||b||m||p||l[0]||c[0];if(w&&w.playlist){let e="sortedPlaylistReps";return _?e="leastPixelDiffRep":b?e="resolutionPlusOneRep":m?e="resolutionBestRep":p?e="bandwidthBestRep":l[0]&&(e="enabledPlaylistReps"),xu(`choosing ${Su(w)} using ${e} with options`,s),w.playlist}return xu("could not choose a playlist with options",s),null};const Lu=function(){const e=this.useDevicePixelRatio&&i().devicePixelRatio||1;return Cu(this.playlists.main,this.systemBandwidth,parseInt(ku(this.tech_.el(),"width"),10)*e,parseInt(ku(this.tech_.el(),"height"),10)*e,this.limitRenditionByPlayerDimensions,this.playlistController_)},Au=({inbandTextTracks:e,metadataArray:t,timestampOffset:n,videoDuration:r})=>{if(!t)return;const o=i().WebKitDataCue||i().VTTCue,a=e.metadataTrack_;if(!a)return;if(t.forEach((e=>{const t=e.cueTime+n;!("number"!=typeof t||i().isNaN(t)||t<0)&&t<1/0&&e.frames.forEach((e=>{const n=new o(t,t,e.value||e.url||e.data||"");n.frame=e,n.value=e,function(e){Object.defineProperties(e.frame,{id:{get:()=>(Ta.log.warn("cue.frame.id is deprecated. Use cue.value.key instead."),e.value.key)},value:{get:()=>(Ta.log.warn("cue.frame.value is deprecated. Use cue.value.data instead."),e.value.data)},privateData:{get:()=>(Ta.log.warn("cue.frame.privateData is deprecated. Use cue.value.data instead."),e.value.data)}})}(n),a.addCue(n)}))})),!a.cues||!a.cues.length)return;const s=a.cues,u=[];for(let e=0;e<s.length;e++)s[e]&&u.push(s[e]);const c=u.reduce(((e,t)=>{const n=e[t.startTime]||[];return n.push(t),e[t.startTime]=n,e}),{}),l=Object.keys(c).sort(((e,t)=>Number(e)-Number(t)));l.forEach(((e,t)=>{const n=c[e],i=Number(l[t+1])||r;n.forEach((e=>{e.endTime=i}))}))},Iu=function(e,t,n){let r,i;if(n&&n.cues)for(r=n.cues.length;r--;)i=n.cues[r],i.startTime>=e&&i.endTime<=t&&n.removeCue(i)},Pu=e=>"number"==typeof e&&isFinite(e),Mu=1/60,Ru=e=>{const{startOfSegment:t,duration:n,segment:r,part:i,playlist:{mediaSequence:o,id:a,segments:s=[]},mediaIndex:u,partIndex:c,timeline:l}=e,f=s.length-1;let d="mediaIndex/partIndex increment";e.getMediaInfoForTime?d=`getMediaInfoForTime (${e.getMediaInfoForTime})`:e.isSyncRequest&&(d="getSyncSegmentCandidate (isSyncRequest)"),e.independent&&(d+=` with independent ${e.independent}`);const p="number"==typeof c,h=e.segment.uri?"segment":"pre-segment",g=p?Va({preloadSegment:r})-1:0;return`${h} [${o+u}/${o+f}]`+(p?` part [${c}/${g}]`:"")+` segment start/end [${r.start} => ${r.end}]`+(p?` part start/end [${i.start} => ${i.end}]`:"")+` startOfSegment [${t}]`+` duration [${n}]`+` timeline [${l}]`+` selected by [${d}]`+` playlist [${a}]`},ju=e=>`${e}TimingInfo`,Du=({timelineChangeController:e,currentTimeline:t,segmentTimeline:n,loaderType:r,audioDisabled:i})=>{if(t===n)return!1;if("audio"===r){const t=e.lastTimelineChange({type:"main"});return!t||t.to!==n}if("main"===r&&i){const t=e.pendingTimelineChange({type:"audio"});return!t||t.to!==n}return!1},Nu=({segmentDuration:e,maxDuration:t})=>!!e&&Math.round(e)>t+Ma,Bu=(e,t)=>{if("hls"!==t)return null;const n=(e=>{let t=0;return["video","audio"].forEach((function(n){const r=e[`${n}TimingInfo`];if(!r)return;const{start:o,end:a}=r;let s;"bigint"==typeof o||"bigint"==typeof a?s=i().BigInt(a)-i().BigInt(o):"number"==typeof o&&"number"==typeof a&&(s=a-o),void 0!==s&&s>t&&(t=s)})),"bigint"==typeof t&&t<Number.MAX_SAFE_INTEGER&&(t=Number(t)),t})({audioTimingInfo:e.audioTimingInfo,videoTimingInfo:e.videoTimingInfo});if(!n)return null;const r=e.playlist.targetDuration,o=Nu({segmentDuration:n,maxDuration:2*r}),a=Nu({segmentDuration:n,maxDuration:r}),s=`Segment with index ${e.mediaIndex} from playlist ${e.playlist.id} has a duration of ${n} when the reported duration is ${e.duration} and the target duration is ${r}. For HLS content, a duration in excess of the target duration may result in playback issues. See the HLS specification section on EXT-X-TARGETDURATION for more details: https://tools.ietf.org/html/draft-pantos-http-live-streaming-23#section-4.3.3.1`;return o||a?{severity:o?"warn":"info",message:s}:null};class Uu extends Ta.EventTarget{constructor(e,t={}){if(super(),!e)throw new TypeError("Initialization settings are required");if("function"!=typeof e.currentTime)throw new TypeError("No currentTime getter specified");if(!e.mediaSource)throw new TypeError("No MediaSource specified");this.bandwidth=e.bandwidth,this.throughput={rate:0,count:0},this.roundTrip=NaN,this.resetStats_(),this.mediaIndex=null,this.partIndex=null,this.hasPlayed_=e.hasPlayed,this.currentTime_=e.currentTime,this.seekable_=e.seekable,this.seeking_=e.seeking,this.duration_=e.duration,this.mediaSource_=e.mediaSource,this.vhs_=e.vhs,this.loaderType_=e.loaderType,this.currentMediaInfo_=void 0,this.startingMediaInfo_=void 0,this.segmentMetadataTrack_=e.segmentMetadataTrack,this.goalBufferLength_=e.goalBufferLength,this.sourceType_=e.sourceType,this.sourceUpdater_=e.sourceUpdater,this.inbandTextTracks_=e.inbandTextTracks,this.state_="INIT",this.timelineChangeController_=e.timelineChangeController,this.shouldSaveSegmentTimingInfo_=!0,this.parse708captions_=e.parse708captions,this.useDtsForTimestampOffset_=e.useDtsForTimestampOffset,this.captionServices_=e.captionServices,this.exactManifestTimings=e.exactManifestTimings,this.checkBufferTimeout_=null,this.error_=void 0,this.currentTimeline_=-1,this.pendingSegment_=null,this.xhrOptions_=null,this.pendingSegments_=[],this.audioDisabled_=!1,this.isPendingTimestampOffset_=!1,this.gopBuffer_=[],this.timeMapping_=0,this.safeAppend_=Ta.browser.IE_VERSION>=11,this.appendInitSegment_={audio:!0,video:!0},this.playlistOfLastInitSegment_={audio:null,video:null},this.callQueue_=[],this.loadQueue_=[],this.metadataQueue_={id3:[],caption:[]},this.waitingOnRemove_=!1,this.quotaExceededErrorRetryTimeout_=null,this.activeInitSegmentId_=null,this.initSegments_={},this.cacheEncryptionKeys_=e.cacheEncryptionKeys,this.keyCache_={},this.decrypter_=e.decrypter,this.syncController_=e.syncController,this.syncPoint_={segmentIndex:0,time:0},this.transmuxer_=this.createTransmuxer_(),this.triggerSyncInfoUpdate_=()=>this.trigger("syncinfoupdate"),this.syncController_.on("syncinfoupdate",this.triggerSyncInfoUpdate_),this.mediaSource_.addEventListener("sourceopen",(()=>{this.isEndOfStream_()||(this.ended_=!1)})),this.fetchAtBuffer_=!1,this.logger_=Aa(`SegmentLoader[${this.loaderType_}]`),Object.defineProperty(this,"state",{get(){return this.state_},set(e){e!==this.state_&&(this.logger_(`${this.state_} -> ${e}`),this.state_=e,this.trigger("statechange"))}}),this.sourceUpdater_.on("ready",(()=>{this.hasEnoughInfoToAppend_()&&this.processCallQueue_()})),"main"===this.loaderType_&&this.timelineChangeController_.on("pendingtimelinechange",(()=>{this.hasEnoughInfoToAppend_()&&this.processCallQueue_()})),"audio"===this.loaderType_&&this.timelineChangeController_.on("timelinechange",(()=>{this.hasEnoughInfoToLoad_()&&this.processLoadQueue_(),this.hasEnoughInfoToAppend_()&&this.processCallQueue_()}))}createTransmuxer_(){return nu({remux:!1,alignGopsAtEnd:this.safeAppend_,keepOriginalTimestamps:!0,parse708captions:this.parse708captions_,captionServices:this.captionServices_})}resetStats_(){this.mediaBytesTransferred=0,this.mediaRequests=0,this.mediaRequestsAborted=0,this.mediaRequestsTimedout=0,this.mediaRequestsErrored=0,this.mediaTransferDuration=0,this.mediaSecondsLoaded=0,this.mediaAppends=0}dispose(){this.trigger("dispose"),this.state="DISPOSED",this.pause(),this.abort_(),this.transmuxer_&&this.transmuxer_.terminate(),this.resetStats_(),this.checkBufferTimeout_&&i().clearTimeout(this.checkBufferTimeout_),this.syncController_&&this.triggerSyncInfoUpdate_&&this.syncController_.off("syncinfoupdate",this.triggerSyncInfoUpdate_),this.off()}setAudio(e){this.audioDisabled_=!e,e?this.appendInitSegment_.audio=!0:this.sourceUpdater_.removeAudio(0,this.duration_())}abort(){"WAITING"===this.state?(this.abort_(),this.state="READY",this.paused()||this.monitorBuffer_()):this.pendingSegment_&&(this.pendingSegment_=null)}abort_(){this.pendingSegment_&&this.pendingSegment_.abortRequests&&this.pendingSegment_.abortRequests(),this.pendingSegment_=null,this.callQueue_=[],this.loadQueue_=[],this.metadataQueue_.id3=[],this.metadataQueue_.caption=[],this.timelineChangeController_.clearPendingTimelineChange(this.loaderType_),this.waitingOnRemove_=!1,i().clearTimeout(this.quotaExceededErrorRetryTimeout_),this.quotaExceededErrorRetryTimeout_=null}checkForAbort_(e){return"APPENDING"!==this.state||this.pendingSegment_?!this.pendingSegment_||this.pendingSegment_.requestId!==e:(this.state="READY",!0)}error(e){return void 0!==e&&(this.logger_("error occurred:",e),this.error_=e),this.pendingSegment_=null,this.error_}endOfStream(){this.ended_=!0,this.transmuxer_&&tu(this.transmuxer_),this.gopBuffer_.length=0,this.pause(),this.trigger("ended")}buffered_(){const e=this.getMediaInfo_();if(!this.sourceUpdater_||!e)return Pa();if("main"===this.loaderType_){const{hasAudio:t,hasVideo:n,isMuxed:r}=e;if(n&&t&&!this.audioDisabled_&&!r)return this.sourceUpdater_.buffered();if(n)return this.sourceUpdater_.videoBuffered()}return this.sourceUpdater_.audioBuffered()}initSegmentForMap(e,t=!1){if(!e)return null;const n=Cs(e);let r=this.initSegments_[n];return t&&!r&&e.bytes&&(this.initSegments_[n]=r={resolvedUri:e.resolvedUri,byterange:e.byterange,bytes:e.bytes,tracks:e.tracks,timescales:e.timescales}),r||e}segmentKey(e,t=!1){if(!e)return null;const n=Ls(e);let r=this.keyCache_[n];this.cacheEncryptionKeys_&&t&&!r&&e.bytes&&(this.keyCache_[n]=r={resolvedUri:e.resolvedUri,bytes:e.bytes});const i={resolvedUri:(r||e).resolvedUri};return r&&(i.bytes=r.bytes),i}couldBeginLoading_(){return this.playlist_&&!this.paused()}load(){if(this.monitorBuffer_(),this.playlist_)return"INIT"===this.state&&this.couldBeginLoading_()?this.init_():void(!this.couldBeginLoading_()||"READY"!==this.state&&"INIT"!==this.state||(this.state="READY"))}init_(){return this.state="READY",this.resetEverything(),this.monitorBuffer_()}playlist(e,t={}){if(!e)return;const n=this.playlist_,r=this.pendingSegment_;this.playlist_=e,this.xhrOptions_=t,"INIT"===this.state&&(e.syncInfo={mediaSequence:e.mediaSequence,time:0},"main"===this.loaderType_&&this.syncController_.setDateTimeMappingForStart(e));let i=null;if(n&&(n.id?i=n.id:n.uri&&(i=n.uri)),this.logger_(`playlist update [${i} => ${e.id||e.uri}]`),this.trigger("syncinfoupdate"),"INIT"===this.state&&this.couldBeginLoading_())return this.init_();if(!n||n.uri!==e.uri)return null!==this.mediaIndex&&(e.endList?this.resyncLoader():this.resetLoader()),this.currentMediaInfo_=void 0,void this.trigger("playlistupdate");const o=e.mediaSequence-n.mediaSequence;if(this.logger_(`live window shift [${o}]`),null!==this.mediaIndex)if(this.mediaIndex-=o,this.mediaIndex<0)this.mediaIndex=null,this.partIndex=null;else{const e=this.playlist_.segments[this.mediaIndex];if(this.partIndex&&(!e.parts||!e.parts.length||!e.parts[this.partIndex])){const e=this.mediaIndex;this.logger_(`currently processing part (index ${this.partIndex}) no longer exists.`),this.resetLoader(),this.mediaIndex=e}}r&&(r.mediaIndex-=o,r.mediaIndex<0?(r.mediaIndex=null,r.partIndex=null):(r.mediaIndex>=0&&(r.segment=e.segments[r.mediaIndex]),r.partIndex>=0&&r.segment.parts&&(r.part=r.segment.parts[r.partIndex]))),this.syncController_.saveExpiredSegmentInfo(n,e)}pause(){this.checkBufferTimeout_&&(i().clearTimeout(this.checkBufferTimeout_),this.checkBufferTimeout_=null)}paused(){return null===this.checkBufferTimeout_}resetEverything(e){this.ended_=!1,this.activeInitSegmentId_=null,this.appendInitSegment_={audio:!0,video:!0},this.resetLoader(),this.remove(0,1/0,e),this.transmuxer_&&(this.transmuxer_.postMessage({action:"clearAllMp4Captions"}),this.transmuxer_.postMessage({action:"reset"}))}resetLoader(){this.fetchAtBuffer_=!1,this.resyncLoader()}resyncLoader(){this.transmuxer_&&tu(this.transmuxer_),this.mediaIndex=null,this.partIndex=null,this.syncPoint_=null,this.isPendingTimestampOffset_=!1,this.callQueue_=[],this.loadQueue_=[],this.metadataQueue_.id3=[],this.metadataQueue_.caption=[],this.abort(),this.transmuxer_&&this.transmuxer_.postMessage({action:"clearParsedMp4Captions"})}remove(e,t,n=(()=>{}),r=!1){if(t===1/0&&(t=this.duration_()),t<=e)return void this.logger_("skipping remove because end ${end} is <= start ${start}");if(!this.sourceUpdater_||!this.getMediaInfo_())return void this.logger_("skipping remove because no source updater or starting media info");let i=1;const o=()=>{i--,0===i&&n()};!r&&this.audioDisabled_||(i++,this.sourceUpdater_.removeAudio(e,t,o)),(r||"main"===this.loaderType_)&&(this.gopBuffer_=((e,t,n,r)=>{const i=Math.ceil((t-r)*kt.ONE_SECOND_IN_TS),o=Math.ceil((n-r)*kt.ONE_SECOND_IN_TS),a=e.slice();let s=e.length;for(;s--&&!(e[s].pts<=o););if(-1===s)return a;let u=s+1;for(;u--&&!(e[u].pts<=i););return u=Math.max(u,0),a.splice(u,s-u+1),a})(this.gopBuffer_,e,t,this.timeMapping_),i++,this.sourceUpdater_.removeVideo(e,t,o));for(const n in this.inbandTextTracks_)Iu(e,t,this.inbandTextTracks_[n]);Iu(e,t,this.segmentMetadataTrack_),o()}monitorBuffer_(){this.checkBufferTimeout_&&i().clearTimeout(this.checkBufferTimeout_),this.checkBufferTimeout_=i().setTimeout(this.monitorBufferTick_.bind(this),1)}monitorBufferTick_(){"READY"===this.state&&this.fillBuffer_(),this.checkBufferTimeout_&&i().clearTimeout(this.checkBufferTimeout_),this.checkBufferTimeout_=i().setTimeout(this.monitorBufferTick_.bind(this),500)}fillBuffer_(){if(this.sourceUpdater_.updating())return;const e=this.chooseNextRequest_();e&&("number"==typeof e.timestampOffset&&(this.isPendingTimestampOffset_=!1,this.timelineChangeController_.pendingTimelineChange({type:this.loaderType_,from:this.currentTimeline_,to:e.timeline})),this.loadSegment_(e))}isEndOfStream_(e=this.mediaIndex,t=this.playlist_,n=this.partIndex){if(!t||!this.mediaSource_)return!1;const r="number"==typeof e&&t.segments[e],i=e+1===t.segments.length,o=!r||!r.parts||n+1===r.parts.length;return t.endList&&"open"===this.mediaSource_.readyState&&i&&o}chooseNextRequest_(){const e=this.buffered_(),t=Fa(e)||0,n=za(e,this.currentTime_()),r=!this.hasPlayed_()&&n>=1,i=n>=this.goalBufferLength_(),o=this.playlist_.segments;if(!o.length||r||i)return null;this.syncPoint_=this.syncPoint_||this.syncController_.getSyncPoint(this.playlist_,this.duration_(),this.currentTimeline_,this.currentTime_());const a={partIndex:null,mediaIndex:null,startOfSegment:null,playlist:this.playlist_,isSyncRequest:Boolean(!this.syncPoint_)};if(a.isSyncRequest)a.mediaIndex=function(e,t,n){t=t||[];const r=[];let i=0;for(let o=0;o<t.length;o++){const a=t[o];if(e===a.timeline&&(r.push(o),i+=a.duration,i>n))return o}return 0===r.length?0:r[r.length-1]}(this.currentTimeline_,o,t);else if(null!==this.mediaIndex){const e=o[this.mediaIndex],n="number"==typeof this.partIndex?this.partIndex:-1;a.startOfSegment=e.end?e.end:t,e.parts&&e.parts[n+1]?(a.mediaIndex=this.mediaIndex,a.partIndex=n+1):a.mediaIndex=this.mediaIndex+1}else{const{segmentIndex:e,startTime:n,partIndex:r}=os.getMediaInfoForTime({exactManifestTimings:this.exactManifestTimings,playlist:this.playlist_,currentTime:this.fetchAtBuffer_?t:this.currentTime_(),startingPartIndex:this.syncPoint_.partIndex,startingSegmentIndex:this.syncPoint_.segmentIndex,startTime:this.syncPoint_.time});a.getMediaInfoForTime=this.fetchAtBuffer_?`bufferedEnd ${t}`:`currentTime ${this.currentTime_()}`,a.mediaIndex=e,a.startOfSegment=n,a.partIndex=r}const s=o[a.mediaIndex];let u=s&&"number"==typeof a.partIndex&&s.parts&&s.parts[a.partIndex];if(!s||"number"==typeof a.partIndex&&!u)return null;if("number"!=typeof a.partIndex&&s.parts&&(a.partIndex=0,u=s.parts[0]),!n&&u&&!u.independent)if(0===a.partIndex){const e=o[a.mediaIndex-1],t=e.parts&&e.parts.length&&e.parts[e.parts.length-1];t&&t.independent&&(a.mediaIndex-=1,a.partIndex=e.parts.length-1,a.independent="previous segment")}else s.parts[a.partIndex-1].independent&&(a.partIndex-=1,a.independent="previous part");const c=this.mediaSource_&&"ended"===this.mediaSource_.readyState;return a.mediaIndex>=o.length-1&&c&&!this.seeking_()?null:this.generateSegmentInfo_(a)}generateSegmentInfo_(e){const{independent:t,playlist:n,mediaIndex:r,startOfSegment:i,isSyncRequest:o,partIndex:a,forceTimestampOffset:s,getMediaInfoForTime:u}=e,c=n.segments[r],l="number"==typeof a&&c.parts[a],f={requestId:"segment-loader-"+Math.random(),uri:l&&l.resolvedUri||c.resolvedUri,mediaIndex:r,partIndex:l?a:null,isSyncRequest:o,startOfSegment:i,playlist:n,bytes:null,encryptedBytes:null,timestampOffset:null,timeline:c.timeline,duration:l&&l.duration||c.duration,segment:c,part:l,byteLength:0,transmuxer:this.transmuxer_,getMediaInfoForTime:u,independent:t},d=void 0!==s?s:this.isPendingTimestampOffset_;f.timestampOffset=this.timestampOffsetForSegment_({segmentTimeline:c.timeline,currentTimeline:this.currentTimeline_,startOfSegment:i,buffered:this.buffered_(),overrideCheck:d});const p=Fa(this.sourceUpdater_.audioBuffered());return"number"==typeof p&&(f.audioAppendStart=p-this.sourceUpdater_.audioTimestampOffset()),this.sourceUpdater_.videoBuffered().length&&(f.gopsToAlignWith=((e,t,n)=>{if(null==t||!e.length)return[];const r=Math.ceil((t-n+3)*kt.ONE_SECOND_IN_TS);let i;for(i=0;i<e.length&&!(e[i].pts>r);i++);return e.slice(i)})(this.gopBuffer_,this.currentTime_()-this.sourceUpdater_.videoTimestampOffset(),this.timeMapping_)),f}timestampOffsetForSegment_(e){return(({segmentTimeline:e,currentTimeline:t,startOfSegment:n,buffered:r,overrideCheck:i})=>i||e!==t?e<t?n:r.length?r.end(r.length-1):n:null)(e)}earlyAbortWhenNeeded_(e){if(this.vhs_.tech_.paused()||!this.xhrOptions_.timeout||!this.playlist_.attributes.BANDWIDTH)return;if(Date.now()-(e.firstBytesReceivedAt||Date.now())<1e3)return;const t=this.currentTime_(),n=e.bandwidth,r=this.pendingSegment_.duration,i=os.estimateSegmentRequestTime(r,n,this.playlist_,e.bytesReceived),o=function(e,t,n=1){return((e.length?e.end(e.length-1):0)-t)/n}(this.buffered_(),t,this.vhs_.tech_.playbackRate())-1;if(i<=o)return;const a=function(e){const{main:t,currentTime:n,bandwidth:r,duration:i,segmentDuration:o,timeUntilRebuffer:a,currentTimeline:s,syncController:u}=e,c=t.playlists.filter((e=>!os.isIncompatible(e)));let l=c.filter(os.isEnabled);l.length||(l=c.filter((e=>!os.isDisabled(e))));const f=l.filter(os.hasAttribute.bind(null,"BANDWIDTH")).map((e=>{const t=u.getSyncPoint(e,i,s,n)?1:2;return{playlist:e,rebufferingImpact:os.estimateSegmentRequestTime(o,r,e)*t-a}})),d=f.filter((e=>e.rebufferingImpact<=0));return Eu(d,((e,t)=>Ou(t.playlist,e.playlist))),d.length?d[0]:(Eu(f,((e,t)=>e.rebufferingImpact-t.rebufferingImpact)),f[0]||null)}({main:this.vhs_.playlists.main,currentTime:t,bandwidth:n,duration:this.duration_(),segmentDuration:r,timeUntilRebuffer:o,currentTimeline:this.currentTimeline_,syncController:this.syncController_});if(!a)return;const s=i-o-a.rebufferingImpact;let u=.5;o<=Ma&&(u=1),!a.playlist||a.playlist.uri===this.playlist_.uri||s<u||(this.bandwidth=a.playlist.attributes.BANDWIDTH*Zs.BANDWIDTH_VARIANCE+1,this.trigger("earlyabort"))}handleAbort_(e){this.logger_(`Aborting ${Ru(e)}`),this.mediaRequestsAborted+=1}handleProgress_(e,t){this.earlyAbortWhenNeeded_(t.stats),this.checkForAbort_(t.requestId)||this.trigger("progress")}handleTrackInfo_(e,t){this.earlyAbortWhenNeeded_(e.stats),this.checkForAbort_(e.requestId)||this.checkForIllegalMediaSwitch(t)||(t=t||{},function(e,t){if(!e&&!t||!e&&t||e&&!t)return!1;if(e===t)return!0;const n=Object.keys(e).sort(),r=Object.keys(t).sort();if(n.length!==r.length)return!1;for(let i=0;i<n.length;i++){const o=n[i];if(o!==r[i])return!1;if(e[o]!==t[o])return!1}return!0}(this.currentMediaInfo_,t)||(this.appendInitSegment_={audio:!0,video:!0},this.startingMediaInfo_=t,this.currentMediaInfo_=t,this.logger_("trackinfo update",t),this.trigger("trackinfo")),this.checkForAbort_(e.requestId)||(this.pendingSegment_.trackInfo=t,this.hasEnoughInfoToAppend_()&&this.processCallQueue_()))}handleTimingInfo_(e,t,n,r){if(this.earlyAbortWhenNeeded_(e.stats),this.checkForAbort_(e.requestId))return;const i=this.pendingSegment_,o=ju(t);i[o]=i[o]||{},i[o][n]=r,this.logger_(`timinginfo: ${t} - ${n} - ${r}`),this.hasEnoughInfoToAppend_()&&this.processCallQueue_()}handleCaptions_(e,t){if(this.earlyAbortWhenNeeded_(e.stats),this.checkForAbort_(e.requestId))return;if(0===t.length)return void this.logger_("SegmentLoader received no captions from a caption event");if(!this.pendingSegment_.hasAppendedData_)return void this.metadataQueue_.caption.push(this.handleCaptions_.bind(this,e,t));const n=null===this.sourceUpdater_.videoTimestampOffset()?this.sourceUpdater_.audioTimestampOffset():this.sourceUpdater_.videoTimestampOffset(),r={};t.forEach((e=>{r[e.stream]=r[e.stream]||{startTime:1/0,captions:[],endTime:0};const t=r[e.stream];t.startTime=Math.min(t.startTime,e.startTime+n),t.endTime=Math.max(t.endTime,e.endTime+n),t.captions.push(e)})),Object.keys(r).forEach((e=>{const{startTime:t,endTime:o,captions:a}=r[e],s=this.inbandTextTracks_;this.logger_(`adding cues from ${t} -> ${o} for ${e}`),function(e,t,n){if(!e[n]){t.trigger({type:"usage",name:"vhs-608"});let r=n;/^cc708_/.test(n)&&(r="SERVICE"+n.split("_")[1]);const i=t.textTracks().getTrackById(r);if(i)e[n]=i;else{let i=n,o=n,a=!1;const s=(t.options_.vhs&&t.options_.vhs.captionServices||{})[r];s&&(i=s.label,o=s.language,a=s.default),e[n]=t.addRemoteTextTrack({kind:"captions",id:r,default:a,label:i,language:o},!1).track}}}(s,this.vhs_.tech_,e),Iu(t,o,s[e]),function({inbandTextTracks:e,captionArray:t,timestampOffset:n}){if(!t)return;const r=i().WebKitDataCue||i().VTTCue;t.forEach((t=>{const i=t.stream;e[i].addCue(new r(t.startTime+n,t.endTime+n,t.text))}))}({captionArray:a,inbandTextTracks:s,timestampOffset:n})})),this.transmuxer_&&this.transmuxer_.postMessage({action:"clearParsedMp4Captions"})}handleId3_(e,t,n){if(this.earlyAbortWhenNeeded_(e.stats),this.checkForAbort_(e.requestId))return;if(!this.pendingSegment_.hasAppendedData_)return void this.metadataQueue_.id3.push(this.handleId3_.bind(this,e,t,n));const r=null===this.sourceUpdater_.videoTimestampOffset()?this.sourceUpdater_.audioTimestampOffset():this.sourceUpdater_.videoTimestampOffset();((e,t,n)=>{e.metadataTrack_||(e.metadataTrack_=n.addRemoteTextTrack({kind:"metadata",label:"Timed Metadata"},!1).track,e.metadataTrack_.inBandMetadataTrackDispatchType=t)})(this.inbandTextTracks_,n,this.vhs_.tech_),Au({inbandTextTracks:this.inbandTextTracks_,metadataArray:t,timestampOffset:r,videoDuration:this.duration_()})}processMetadataQueue_(){this.metadataQueue_.id3.forEach((e=>e())),this.metadataQueue_.caption.forEach((e=>e())),this.metadataQueue_.id3=[],this.metadataQueue_.caption=[]}processCallQueue_(){const e=this.callQueue_;this.callQueue_=[],e.forEach((e=>e()))}processLoadQueue_(){const e=this.loadQueue_;this.loadQueue_=[],e.forEach((e=>e()))}hasEnoughInfoToLoad_(){if("audio"!==this.loaderType_)return!0;const e=this.pendingSegment_;return!!e&&(!this.getCurrentMediaInfo_()||!Du({timelineChangeController:this.timelineChangeController_,currentTimeline:this.currentTimeline_,segmentTimeline:e.timeline,loaderType:this.loaderType_,audioDisabled:this.audioDisabled_}))}getCurrentMediaInfo_(e=this.pendingSegment_){return e&&e.trackInfo||this.currentMediaInfo_}getMediaInfo_(e=this.pendingSegment_){return this.getCurrentMediaInfo_(e)||this.startingMediaInfo_}getPendingSegmentPlaylist(){return this.pendingSegment_?this.pendingSegment_.playlist:null}hasEnoughInfoToAppend_(){if(!this.sourceUpdater_.ready())return!1;if(this.waitingOnRemove_||this.quotaExceededErrorRetryTimeout_)return!1;const e=this.pendingSegment_,t=this.getCurrentMediaInfo_();if(!e||!t)return!1;const{hasAudio:n,hasVideo:r,isMuxed:i}=t;return!(r&&!e.videoTimingInfo)&&(!(n&&!this.audioDisabled_&&!i&&!e.audioTimingInfo)&&!Du({timelineChangeController:this.timelineChangeController_,currentTimeline:this.currentTimeline_,segmentTimeline:e.timeline,loaderType:this.loaderType_,audioDisabled:this.audioDisabled_}))}handleData_(e,t){if(this.earlyAbortWhenNeeded_(e.stats),this.checkForAbort_(e.requestId))return;if(this.callQueue_.length||!this.hasEnoughInfoToAppend_())return void this.callQueue_.push(this.handleData_.bind(this,e,t));const n=this.pendingSegment_;if(this.setTimeMapping_(n.timeline),this.updateMediaSecondsLoaded_(n.part||n.segment),"closed"!==this.mediaSource_.readyState){if(e.map&&(e.map=this.initSegmentForMap(e.map,!0),n.segment.map=e.map),e.key&&this.segmentKey(e.key,!0),n.isFmp4=e.isFmp4,n.timingInfo=n.timingInfo||{},n.isFmp4)this.trigger("fmp4"),n.timingInfo.start=n[ju(t.type)].start;else{const e=this.getCurrentMediaInfo_(),t="main"===this.loaderType_&&e&&e.hasVideo;let r;t&&(r=n.videoTimingInfo.start),n.timingInfo.start=this.trueSegmentStart_({currentStart:n.timingInfo.start,playlist:n.playlist,mediaIndex:n.mediaIndex,currentVideoTimestampOffset:this.sourceUpdater_.videoTimestampOffset(),useVideoTimingInfo:t,firstVideoFrameTimeForData:r,videoTimingInfo:n.videoTimingInfo,audioTimingInfo:n.audioTimingInfo})}if(this.updateAppendInitSegmentStatus(n,t.type),this.updateSourceBufferTimestampOffset_(n),n.isSyncRequest){this.updateTimingInfoEnd_(n),this.syncController_.saveSegmentTimingInfo({segmentInfo:n,shouldSaveTimelineMapping:"main"===this.loaderType_});const e=this.chooseNextRequest_();if(e.mediaIndex!==n.mediaIndex||e.partIndex!==n.partIndex)return void this.logger_("sync segment was incorrect, not appending");this.logger_("sync segment was correct, appending")}n.hasAppendedData_=!0,this.processMetadataQueue_(),this.appendData_(n,t)}}updateAppendInitSegmentStatus(e,t){"main"!==this.loaderType_||"number"!=typeof e.timestampOffset||e.changedTimestampOffset||(this.appendInitSegment_={audio:!0,video:!0}),this.playlistOfLastInitSegment_[t]!==e.playlist&&(this.appendInitSegment_[t]=!0)}getInitSegmentAndUpdateState_({type:e,initSegment:t,map:n,playlist:r}){if(n){const e=Cs(n);if(this.activeInitSegmentId_===e)return null;t=this.initSegmentForMap(n,!0).bytes,this.activeInitSegmentId_=e}return t&&this.appendInitSegment_[e]?(this.playlistOfLastInitSegment_[e]=r,this.appendInitSegment_[e]=!1,this.activeInitSegmentId_=null,t):null}handleQuotaExceededError_({segmentInfo:e,type:t,bytes:n},r){const o=this.sourceUpdater_.audioBuffered(),a=this.sourceUpdater_.videoBuffered();o.length>1&&this.logger_("On QUOTA_EXCEEDED_ERR, found gaps in the audio buffer: "+Ua(o).join(", ")),a.length>1&&this.logger_("On QUOTA_EXCEEDED_ERR, found gaps in the video buffer: "+Ua(a).join(", "));const s=o.length?o.start(0):0,u=o.length?o.end(o.length-1):0,c=a.length?a.start(0):0,l=a.length?a.end(a.length-1):0;if(u-s<=1&&l-c<=1)return this.logger_(`On QUOTA_EXCEEDED_ERR, single segment too large to append to buffer, triggering an error. Appended byte length: ${n.byteLength}, audio buffer: ${Ua(o).join(", ")}, video buffer: ${Ua(a).join(", ")}, `),this.error({message:"Quota exceeded error with append of a single segment of content",excludeUntil:1/0}),void this.trigger("error");this.waitingOnRemove_=!0,this.callQueue_.push(this.appendToSourceBuffer_.bind(this,{segmentInfo:e,type:t,bytes:n}));const f=this.currentTime_()-1;this.logger_(`On QUOTA_EXCEEDED_ERR, removing audio/video from 0 to ${f}`),this.remove(0,f,(()=>{this.logger_("On QUOTA_EXCEEDED_ERR, retrying append in 1s"),this.waitingOnRemove_=!1,this.quotaExceededErrorRetryTimeout_=i().setTimeout((()=>{this.logger_("On QUOTA_EXCEEDED_ERR, re-processing call queue"),this.quotaExceededErrorRetryTimeout_=null,this.processCallQueue_()}),1e3)}),!0)}handleAppendError_({segmentInfo:e,type:t,bytes:n},r){r&&(22!==r.code?(this.logger_("Received non QUOTA_EXCEEDED_ERR on append",r),this.error(`${t} append of ${n.length}b failed for segment #${e.mediaIndex} in playlist ${e.playlist.id}`),this.trigger("appenderror")):this.handleQuotaExceededError_({segmentInfo:e,type:t,bytes:n}))}appendToSourceBuffer_({segmentInfo:e,type:t,initSegment:n,data:r,bytes:i}){if(!i){const e=[r];let t=r.byteLength;n&&(e.unshift(n),t+=n.byteLength),i=(e=>{let t,n=0;return e.bytes&&(t=new Uint8Array(e.bytes),e.segments.forEach((e=>{t.set(e,n),n+=e.byteLength}))),t})({bytes:t,segments:e})}this.sourceUpdater_.appendBuffer({segmentInfo:e,type:t,bytes:i},this.handleAppendError_.bind(this,{segmentInfo:e,type:t,bytes:i}))}handleSegmentTimingInfo_(e,t,n){if(!this.pendingSegment_||t!==this.pendingSegment_.requestId)return;const r=this.pendingSegment_.segment,i=`${e}TimingInfo`;r[i]||(r[i]={}),r[i].transmuxerPrependedSeconds=n.prependedContentDuration||0,r[i].transmuxedPresentationStart=n.start.presentation,r[i].transmuxedDecodeStart=n.start.decode,r[i].transmuxedPresentationEnd=n.end.presentation,r[i].transmuxedDecodeEnd=n.end.decode,r[i].baseMediaDecodeTime=n.baseMediaDecodeTime}appendData_(e,t){const{type:n,data:r}=t;if(!r||!r.byteLength)return;if("audio"===n&&this.audioDisabled_)return;const i=this.getInitSegmentAndUpdateState_({type:n,initSegment:t.initSegment,playlist:e.playlist,map:e.isFmp4?e.segment.map:null});this.appendToSourceBuffer_({segmentInfo:e,type:n,initSegment:i,data:r})}loadSegment_(e){this.state="WAITING",this.pendingSegment_=e,this.trimBackBuffer_(e),"number"==typeof e.timestampOffset&&this.transmuxer_&&this.transmuxer_.postMessage({action:"clearAllMp4Captions"}),this.hasEnoughInfoToLoad_()?this.updateTransmuxerAndRequestSegment_(e):this.loadQueue_.push((()=>{const t=(0,b.Z)({},e,{forceTimestampOffset:!0});(0,b.Z)(e,this.generateSegmentInfo_(t)),this.isPendingTimestampOffset_=!1,this.updateTransmuxerAndRequestSegment_(e)}))}updateTransmuxerAndRequestSegment_(e){this.shouldUpdateTransmuxerTimestampOffset_(e.timestampOffset)&&(this.gopBuffer_.length=0,e.gopsToAlignWith=[],this.timeMapping_=0,this.transmuxer_.postMessage({action:"reset"}),this.transmuxer_.postMessage({action:"setTimestampOffset",timestampOffset:e.timestampOffset}));const t=this.createSimplifiedSegmentObj_(e),n=this.isEndOfStream_(e.mediaIndex,e.playlist,e.partIndex),r=null!==this.mediaIndex,i=e.timeline!==this.currentTimeline_&&e.timeline>0,o=n||r&&i;this.logger_(`Requesting ${Ru(e)}`),t.map&&!t.map.bytes&&(this.logger_("going to request init segment."),this.appendInitSegment_={video:!0,audio:!0}),e.abortRequests=yu({xhr:this.vhs_.xhr,xhrOptions:this.xhrOptions_,decryptionWorker:this.decrypter_,segment:t,abortFn:this.handleAbort_.bind(this,e),progressFn:this.handleProgress_.bind(this),trackInfoFn:this.handleTrackInfo_.bind(this),timingInfoFn:this.handleTimingInfo_.bind(this),videoSegmentTimingInfoFn:this.handleSegmentTimingInfo_.bind(this,"video",e.requestId),audioSegmentTimingInfoFn:this.handleSegmentTimingInfo_.bind(this,"audio",e.requestId),captionsFn:this.handleCaptions_.bind(this),isEndOfTimeline:o,endedTimelineFn:()=>{this.logger_("received endedtimeline callback")},id3Fn:this.handleId3_.bind(this),dataFn:this.handleData_.bind(this),doneFn:this.segmentRequestFinished_.bind(this),onTransmuxerLog:({message:t,level:n,stream:r})=>{this.logger_(`${Ru(e)} logged from transmuxer stream ${r} as a ${n}: ${t}`)}})}trimBackBuffer_(e){const t=((e,t,n)=>{let r=t-Zs.BACK_BUFFER_LENGTH;e.length&&(r=Math.max(r,e.start(0)));const i=t-n;return Math.min(i,r)})(this.seekable_(),this.currentTime_(),this.playlist_.targetDuration||10);t>0&&this.remove(0,t)}createSimplifiedSegmentObj_(e){const t=e.segment,n=e.part,r={resolvedUri:n?n.resolvedUri:t.resolvedUri,byterange:n?n.byterange:t.byterange,requestId:e.requestId,transmuxer:e.transmuxer,audioAppendStart:e.audioAppendStart,gopsToAlignWith:e.gopsToAlignWith,part:e.part},i=e.playlist.segments[e.mediaIndex-1];if(i&&i.timeline===t.timeline&&(i.videoTimingInfo?r.baseStartTime=i.videoTimingInfo.transmuxedDecodeEnd:i.audioTimingInfo&&(r.baseStartTime=i.audioTimingInfo.transmuxedDecodeEnd)),t.key){const n=t.key.iv||new Uint32Array([0,0,0,e.mediaIndex+e.playlist.mediaSequence]);r.key=this.segmentKey(t.key),r.key.iv=n}return t.map&&(r.map=this.initSegmentForMap(t.map)),r}saveTransferStats_(e){this.mediaRequests+=1,e&&(this.mediaBytesTransferred+=e.bytesReceived,this.mediaTransferDuration+=e.roundTripTime)}saveBandwidthRelatedStats_(e,t){this.pendingSegment_.byteLength=t.bytesReceived,e<Mu?this.logger_(`Ignoring segment's bandwidth because its duration of ${e} is less than the min to record 0.016666666666666666`):(this.bandwidth=t.bandwidth,this.roundTrip=t.roundTripTime)}handleTimeout_(){this.mediaRequestsTimedout+=1,this.bandwidth=1,this.roundTrip=NaN,this.trigger("bandwidthupdate"),this.trigger("timeout")}segmentRequestFinished_(e,t,n){if(this.callQueue_.length)return void this.callQueue_.push(this.segmentRequestFinished_.bind(this,e,t,n));if(this.saveTransferStats_(t.stats),!this.pendingSegment_)return;if(t.requestId!==this.pendingSegment_.requestId)return;if(e){if(this.pendingSegment_=null,this.state="READY",e.code===au)return;return this.pause(),e.code===ou?void this.handleTimeout_():(this.mediaRequestsErrored+=1,this.error(e),void this.trigger("error"))}const r=this.pendingSegment_;this.saveBandwidthRelatedStats_(r.duration,t.stats),r.endOfAllRequests=t.endOfAllRequests,n.gopInfo&&(this.gopBuffer_=((e,t,n)=>{if(!t.length)return e;if(n)return t.slice();const r=t[0].pts;let i=0;for(;i<e.length&&!(e[i].pts>=r);i++);return e.slice(0,i).concat(t)})(this.gopBuffer_,n.gopInfo,this.safeAppend_)),this.state="APPENDING",this.trigger("appending"),this.waitForAppendsToComplete_(r)}setTimeMapping_(e){const t=this.syncController_.mappingForTimeline(e);null!==t&&(this.timeMapping_=t)}updateMediaSecondsLoaded_(e){"number"==typeof e.start&&"number"==typeof e.end?this.mediaSecondsLoaded+=e.end-e.start:this.mediaSecondsLoaded+=e.duration}shouldUpdateTransmuxerTimestampOffset_(e){return null!==e&&("main"===this.loaderType_&&e!==this.sourceUpdater_.videoTimestampOffset()||!this.audioDisabled_&&e!==this.sourceUpdater_.audioTimestampOffset())}trueSegmentStart_({currentStart:e,playlist:t,mediaIndex:n,firstVideoFrameTimeForData:r,currentVideoTimestampOffset:i,useVideoTimingInfo:o,videoTimingInfo:a,audioTimingInfo:s}){if(void 0!==e)return e;if(!o)return s.start;const u=t.segments[n-1];return 0!==n&&u&&void 0!==u.start&&u.end===r+i?a.start:r}waitForAppendsToComplete_(e){const t=this.getCurrentMediaInfo_(e);if(!t)return this.error({message:"No starting media returned, likely due to an unsupported media format.",playlistExclusionDuration:1/0}),void this.trigger("error");const{hasAudio:n,hasVideo:r,isMuxed:i}=t,o="main"===this.loaderType_&&r,a=!this.audioDisabled_&&n&&!i;if(e.waitingOnAppends=0,!e.hasAppendedData_)return e.timingInfo||"number"!=typeof e.timestampOffset||(this.isPendingTimestampOffset_=!0),e.timingInfo={start:0},e.waitingOnAppends++,this.isPendingTimestampOffset_||(this.updateSourceBufferTimestampOffset_(e),this.processMetadataQueue_()),void this.checkAppendsDone_(e);o&&e.waitingOnAppends++,a&&e.waitingOnAppends++,o&&this.sourceUpdater_.videoQueueCallback(this.checkAppendsDone_.bind(this,e)),a&&this.sourceUpdater_.audioQueueCallback(this.checkAppendsDone_.bind(this,e))}checkAppendsDone_(e){this.checkForAbort_(e.requestId)||(e.waitingOnAppends--,0===e.waitingOnAppends&&this.handleAppendsDone_())}checkForIllegalMediaSwitch(e){const t=((e,t,n)=>"main"===e&&t&&n?n.hasAudio||n.hasVideo?t.hasVideo&&!n.hasVideo?"Only audio found in segment when we expected video. We can't switch to audio only from a stream that had video. To get rid of this message, please add codec information to the manifest.":!t.hasVideo&&n.hasVideo?"Video found in segment when we expected only audio. We can't switch to a stream with video from an audio only stream. To get rid of this message, please add codec information to the manifest.":null:"Neither audio nor video found in segment.":null)(this.loaderType_,this.getCurrentMediaInfo_(),e);return!!t&&(this.error({message:t,playlistExclusionDuration:1/0}),this.trigger("error"),!0)}updateSourceBufferTimestampOffset_(e){if(null===e.timestampOffset||"number"!=typeof e.timingInfo.start||e.changedTimestampOffset||"main"!==this.loaderType_)return;let t=!1;e.timestampOffset-=this.getSegmentStartTimeForTimestampOffsetCalculation_({videoTimingInfo:e.segment.videoTimingInfo,audioTimingInfo:e.segment.audioTimingInfo,timingInfo:e.timingInfo}),e.changedTimestampOffset=!0,e.timestampOffset!==this.sourceUpdater_.videoTimestampOffset()&&(this.sourceUpdater_.videoTimestampOffset(e.timestampOffset),t=!0),e.timestampOffset!==this.sourceUpdater_.audioTimestampOffset()&&(this.sourceUpdater_.audioTimestampOffset(e.timestampOffset),t=!0),t&&this.trigger("timestampoffset")}getSegmentStartTimeForTimestampOffsetCalculation_({videoTimingInfo:e,audioTimingInfo:t,timingInfo:n}){return this.useDtsForTimestampOffset_?e&&"number"==typeof e.transmuxedDecodeStart?e.transmuxedDecodeStart:t&&"number"==typeof t.transmuxedDecodeStart?t.transmuxedDecodeStart:n.start:n.start}updateTimingInfoEnd_(e){e.timingInfo=e.timingInfo||{};const t=this.getMediaInfo_(),n="main"===this.loaderType_&&t&&t.hasVideo&&e.videoTimingInfo?e.videoTimingInfo:e.audioTimingInfo;n&&(e.timingInfo.end="number"==typeof n.end?n.end:n.start+e.duration)}handleAppendsDone_(){if(this.pendingSegment_&&this.trigger("appendsdone"),!this.pendingSegment_)return this.state="READY",void(this.paused()||this.monitorBuffer_());const e=this.pendingSegment_;this.updateTimingInfoEnd_(e),this.shouldSaveSegmentTimingInfo_&&this.syncController_.saveSegmentTimingInfo({segmentInfo:e,shouldSaveTimelineMapping:"main"===this.loaderType_});const t=Bu(e,this.sourceType_);if(t&&("warn"===t.severity?Ta.log.warn(t.message):this.logger_(t.message)),this.recordThroughput_(e),this.pendingSegment_=null,this.state="READY",e.isSyncRequest&&(this.trigger("syncinfoupdate"),!e.hasAppendedData_))return void this.logger_(`Throwing away un-appended sync request ${Ru(e)}`);this.logger_(`Appended ${Ru(e)}`),this.addSegmentMetadataCue_(e),this.fetchAtBuffer_=!0,this.currentTimeline_!==e.timeline&&(this.timelineChangeController_.lastTimelineChange({type:this.loaderType_,from:this.currentTimeline_,to:e.timeline}),"main"!==this.loaderType_||this.audioDisabled_||this.timelineChangeController_.lastTimelineChange({type:"audio",from:this.currentTimeline_,to:e.timeline})),this.currentTimeline_=e.timeline,this.trigger("syncinfoupdate");const n=e.segment,r=e.part,i=n.end&&this.currentTime_()-n.end>3*e.playlist.targetDuration,o=r&&r.end&&this.currentTime_()-r.end>3*e.playlist.partTargetDuration;if(i||o)return this.logger_(`bad ${i?"segment":"part"} ${Ru(e)}`),void this.resetEverything();null!==this.mediaIndex&&this.trigger("bandwidthupdate"),this.trigger("progress"),this.mediaIndex=e.mediaIndex,this.partIndex=e.partIndex,this.isEndOfStream_(e.mediaIndex,e.playlist,e.partIndex)&&this.endOfStream(),this.trigger("appended"),e.hasAppendedData_&&this.mediaAppends++,this.paused()||this.monitorBuffer_()}recordThroughput_(e){if(e.duration<Mu)return void this.logger_(`Ignoring segment's throughput because its duration of ${e.duration} is less than the min to record 0.016666666666666666`);const t=this.throughput.rate,n=Date.now()-e.endOfAllRequests+1,r=Math.floor(e.byteLength/n*8*1e3);this.throughput.rate+=(r-t)/++this.throughput.count}addSegmentMetadataCue_(e){if(!this.segmentMetadataTrack_)return;const t=e.segment,n=t.start,r=t.end;if(!Pu(n)||!Pu(r))return;Iu(n,r,this.segmentMetadataTrack_);const o=i().WebKitDataCue||i().VTTCue,a={custom:t.custom,dateTimeObject:t.dateTimeObject,dateTimeString:t.dateTimeString,bandwidth:e.playlist.attributes.BANDWIDTH,resolution:e.playlist.attributes.RESOLUTION,codecs:e.playlist.attributes.CODECS,byteLength:e.byteLength,uri:e.uri,timeline:e.timeline,playlist:e.playlist.id,start:n,end:r},s=new o(n,r,JSON.stringify(a));s.value=a,this.segmentMetadataTrack_.addCue(s)}}function Fu(){}const zu=function(e){return"string"!=typeof e?e:e.replace(/./,(e=>e.toUpperCase()))},Hu=["video","audio"],Zu=(e,t)=>{const n=t[`${e}Buffer`];return n&&n.updating||t.queuePending[e]},qu=(e,t)=>{if(0===t.queue.length)return;let n=0,r=t.queue[n];if("mediaSource"!==r.type){if("mediaSource"!==e&&t.ready()&&"closed"!==t.mediaSource.readyState&&!Zu(e,t)){if(r.type!==e){if(n=((e,t)=>{for(let n=0;n<t.length;n++){const r=t[n];if("mediaSource"===r.type)return null;if(r.type===e)return n}return null})(e,t.queue),null===n)return;r=t.queue[n]}return t.queue.splice(n,1),t.queuePending[e]=r,r.action(e,t),r.doneFn?void 0:(t.queuePending[e]=null,void qu(e,t))}}else t.updating()||"closed"===t.mediaSource.readyState||(t.queue.shift(),r.action(t),r.doneFn&&r.doneFn(),qu("audio",t),qu("video",t))},Vu=(e,t)=>{const n=t[`${e}Buffer`],r=zu(e);n&&(n.removeEventListener("updateend",t[`on${r}UpdateEnd_`]),n.removeEventListener("error",t[`on${r}Error_`]),t.codecs[e]=null,t[`${e}Buffer`]=null)},Wu=(e,t)=>e&&t&&-1!==Array.prototype.indexOf.call(e.sourceBuffers,t),Gu=(e,t,n)=>(r,i)=>{const o=i[`${r}Buffer`];if(Wu(i.mediaSource,o)){i.logger_(`Appending segment ${t.mediaIndex}'s ${e.length} bytes to ${r}Buffer`);try{o.appendBuffer(e)}catch(e){i.logger_(`Error with code ${e.code} `+(22===e.code?"(QUOTA_EXCEEDED_ERR) ":"")+`when appending segment ${t.mediaIndex} to ${r}Buffer`),i.queuePending[r]=null,n(e)}}},$u=(e,t)=>(n,r)=>{const i=r[`${n}Buffer`];if(Wu(r.mediaSource,i)){r.logger_(`Removing ${e} to ${t} from ${n}Buffer`);try{i.remove(e,t)}catch(i){r.logger_(`Remove ${e} to ${t} from ${n}Buffer failed`)}}},Yu=e=>(t,n)=>{const r=n[`${t}Buffer`];Wu(n.mediaSource,r)&&(n.logger_(`Setting ${t}timestampOffset to ${e}`),r.timestampOffset=e)},Ku=e=>(t,n)=>{e()},Xu=e=>t=>{if("open"===t.mediaSource.readyState){t.logger_(`Calling mediaSource endOfStream(${e||""})`);try{t.mediaSource.endOfStream(e)}catch(e){Ta.log.warn("Failed to call media source endOfStream",e)}}},Qu=e=>t=>{t.logger_(`Setting mediaSource duration to ${e}`);try{t.mediaSource.duration=e}catch(e){Ta.log.warn("Failed to set media source duration",e)}},Ju=()=>(e,t)=>{if("open"!==t.mediaSource.readyState)return;const n=t[`${e}Buffer`];if(Wu(t.mediaSource,n)){t.logger_(`calling abort on ${e}Buffer`);try{n.abort()}catch(t){Ta.log.warn(`Failed to abort on ${e}Buffer`,t)}}},ec=(e,t)=>n=>{const r=zu(e),i=B(t);n.logger_(`Adding ${e}Buffer with codec ${t} to mediaSource`);const o=n.mediaSource.addSourceBuffer(i);o.addEventListener("updateend",n[`on${r}UpdateEnd_`]),o.addEventListener("error",n[`on${r}Error_`]),n.codecs[e]=t,n[`${e}Buffer`]=o},tc=e=>t=>{const n=t[`${e}Buffer`];if(Vu(e,t),Wu(t.mediaSource,n)){t.logger_(`Removing ${e}Buffer with codec ${t.codecs[e]} from mediaSource`);try{t.mediaSource.removeSourceBuffer(n)}catch(t){Ta.log.warn(`Failed to removeSourceBuffer ${e}Buffer`,t)}}},nc=e=>(t,n)=>{const r=n[`${t}Buffer`],i=B(e);Wu(n.mediaSource,r)&&n.codecs[t]!==e&&(n.logger_(`changing ${t}Buffer codec from ${n.codecs[t]} to ${e}`),r.changeType(i),n.codecs[t]=e)},rc=({type:e,sourceUpdater:t,action:n,doneFn:r,name:i})=>{t.queue.push({type:e,action:n,doneFn:r,name:i}),qu(e,t)},ic=(e,t)=>n=>{if(t.queuePending[e]){const n=t.queuePending[e].doneFn;t.queuePending[e]=null,n&&n(t[`${e}Error_`])}qu(e,t)};class oc extends Ta.EventTarget{constructor(e){super(),this.mediaSource=e,this.sourceopenListener_=()=>qu("mediaSource",this),this.mediaSource.addEventListener("sourceopen",this.sourceopenListener_),this.logger_=Aa("SourceUpdater"),this.audioTimestampOffset_=0,this.videoTimestampOffset_=0,this.queue=[],this.queuePending={audio:null,video:null},this.delayedAudioAppendQueue_=[],this.videoAppendQueued_=!1,this.codecs={},this.onVideoUpdateEnd_=ic("video",this),this.onAudioUpdateEnd_=ic("audio",this),this.onVideoError_=e=>{this.videoError_=e},this.onAudioError_=e=>{this.audioError_=e},this.createdSourceBuffers_=!1,this.initializedEme_=!1,this.triggeredReady_=!1}initializedEme(){this.initializedEme_=!0,this.triggerReady()}hasCreatedSourceBuffers(){return this.createdSourceBuffers_}hasInitializedAnyEme(){return this.initializedEme_}ready(){return this.hasCreatedSourceBuffers()&&this.hasInitializedAnyEme()}createSourceBuffers(e){this.hasCreatedSourceBuffers()||(this.addOrChangeSourceBuffers(e),this.createdSourceBuffers_=!0,this.trigger("createdsourcebuffers"),this.triggerReady())}triggerReady(){this.ready()&&!this.triggeredReady_&&(this.triggeredReady_=!0,this.trigger("ready"))}addSourceBuffer(e,t){rc({type:"mediaSource",sourceUpdater:this,action:ec(e,t),name:"addSourceBuffer"})}abort(e){rc({type:e,sourceUpdater:this,action:Ju(e),name:"abort"})}removeSourceBuffer(e){this.canRemoveSourceBuffer()?rc({type:"mediaSource",sourceUpdater:this,action:tc(e),name:"removeSourceBuffer"}):Ta.log.error("removeSourceBuffer is not supported!")}canRemoveSourceBuffer(){return!Ta.browser.IE_VERSION&&!Ta.browser.IS_FIREFOX&&i().MediaSource&&i().MediaSource.prototype&&"function"==typeof i().MediaSource.prototype.removeSourceBuffer}static canChangeType(){return i().SourceBuffer&&i().SourceBuffer.prototype&&"function"==typeof i().SourceBuffer.prototype.changeType}canChangeType(){return this.constructor.canChangeType()}changeType(e,t){this.canChangeType()?rc({type:e,sourceUpdater:this,action:nc(t),name:"changeType"}):Ta.log.error("changeType is not supported!")}addOrChangeSourceBuffers(e){if(!e||"object"!=typeof e||0===Object.keys(e).length)throw new Error("Cannot addOrChangeSourceBuffers to undefined codecs");Object.keys(e).forEach((t=>{const n=e[t];if(!this.hasCreatedSourceBuffers())return this.addSourceBuffer(t,n);this.canChangeType()&&this.changeType(t,n)}))}appendBuffer(e,t){const{segmentInfo:n,type:r,bytes:i}=e;if(this.processedAppend_=!0,"audio"===r&&this.videoBuffer&&!this.videoAppendQueued_)return this.delayedAudioAppendQueue_.push([e,t]),void this.logger_(`delayed audio append of ${i.length} until video append`);if(rc({type:r,sourceUpdater:this,action:Gu(i,n||{mediaIndex:-1},t),doneFn:t,name:"appendBuffer"}),"video"===r){if(this.videoAppendQueued_=!0,!this.delayedAudioAppendQueue_.length)return;const e=this.delayedAudioAppendQueue_.slice();this.logger_(`queuing delayed audio ${e.length} appendBuffers`),this.delayedAudioAppendQueue_.length=0,e.forEach((e=>{this.appendBuffer.apply(this,e)}))}}audioBuffered(){return Wu(this.mediaSource,this.audioBuffer)&&this.audioBuffer.buffered?this.audioBuffer.buffered:Pa()}videoBuffered(){return Wu(this.mediaSource,this.videoBuffer)&&this.videoBuffer.buffered?this.videoBuffer.buffered:Pa()}buffered(){const e=Wu(this.mediaSource,this.videoBuffer)?this.videoBuffer:null,t=Wu(this.mediaSource,this.audioBuffer)?this.audioBuffer:null;return t&&!e?this.audioBuffered():e&&!t?this.videoBuffered():function(e,t){let n=null,r=null,i=0;const o=[],a=[];if(!(e&&e.length&&t&&t.length))return Pa();let s=e.length;for(;s--;)o.push({time:e.start(s),type:"start"}),o.push({time:e.end(s),type:"end"});for(s=t.length;s--;)o.push({time:t.start(s),type:"start"}),o.push({time:t.end(s),type:"end"});for(o.sort((function(e,t){return e.time-t.time})),s=0;s<o.length;s++)"start"===o[s].type?(i++,2===i&&(n=o[s].time)):"end"===o[s].type&&(i--,1===i&&(r=o[s].time)),null!==n&&null!==r&&(a.push([n,r]),n=null,r=null);return Pa(a)}(this.audioBuffered(),this.videoBuffered())}setDuration(e,t=Fu){rc({type:"mediaSource",sourceUpdater:this,action:Qu(e),name:"duration",doneFn:t})}endOfStream(e=null,t=Fu){"string"!=typeof e&&(e=void 0),rc({type:"mediaSource",sourceUpdater:this,action:Xu(e),name:"endOfStream",doneFn:t})}removeAudio(e,t,n=Fu){this.audioBuffered().length&&0!==this.audioBuffered().end(0)?rc({type:"audio",sourceUpdater:this,action:$u(e,t),doneFn:n,name:"remove"}):n()}removeVideo(e,t,n=Fu){this.videoBuffered().length&&0!==this.videoBuffered().end(0)?rc({type:"video",sourceUpdater:this,action:$u(e,t),doneFn:n,name:"remove"}):n()}updating(){return!(!Zu("audio",this)&&!Zu("video",this))}audioTimestampOffset(e){return void 0!==e&&this.audioBuffer&&this.audioTimestampOffset_!==e&&(rc({type:"audio",sourceUpdater:this,action:Yu(e),name:"timestampOffset"}),this.audioTimestampOffset_=e),this.audioTimestampOffset_}videoTimestampOffset(e){return void 0!==e&&this.videoBuffer&&this.videoTimestampOffset!==e&&(rc({type:"video",sourceUpdater:this,action:Yu(e),name:"timestampOffset"}),this.videoTimestampOffset_=e),this.videoTimestampOffset_}audioQueueCallback(e){this.audioBuffer&&rc({type:"audio",sourceUpdater:this,action:Ku(e),name:"callback"})}videoQueueCallback(e){this.videoBuffer&&rc({type:"video",sourceUpdater:this,action:Ku(e),name:"callback"})}dispose(){this.trigger("dispose"),Hu.forEach((e=>{this.abort(e),this.canRemoveSourceBuffer()?this.removeSourceBuffer(e):this[`${e}QueueCallback`]((()=>Vu(e,this)))})),this.videoAppendQueued_=!1,this.delayedAudioAppendQueue_.length=0,this.sourceopenListener_&&this.mediaSource.removeEventListener("sourceopen",this.sourceopenListener_),this.off()}}const ac=e=>decodeURIComponent(escape(String.fromCharCode.apply(null,e))),sc=new Uint8Array("\n\n".split("").map((e=>e.charCodeAt(0))));class uc extends Error{constructor(){super("Trying to parse received VTT cues, but there is no WebVTT. Make sure vtt.js is loaded.")}}class cc extends Uu{constructor(e,t={}){super(e,t),this.mediaSource_=null,this.subtitlesTrack_=null,this.loaderType_="subtitle",this.featuresNativeTextTracks_=e.featuresNativeTextTracks,this.loadVttJs=e.loadVttJs,this.shouldSaveSegmentTimingInfo_=!1}createTransmuxer_(){return null}buffered_(){if(!this.subtitlesTrack_||!this.subtitlesTrack_.cues||!this.subtitlesTrack_.cues.length)return Pa();const e=this.subtitlesTrack_.cues;return Pa([[e[0].startTime,e[e.length-1].startTime]])}initSegmentForMap(e,t=!1){if(!e)return null;const n=Cs(e);let r=this.initSegments_[n];if(t&&!r&&e.bytes){const t=sc.byteLength+e.bytes.byteLength,i=new Uint8Array(t);i.set(e.bytes),i.set(sc,e.bytes.byteLength),this.initSegments_[n]=r={resolvedUri:e.resolvedUri,byterange:e.byterange,bytes:i}}return r||e}couldBeginLoading_(){return this.playlist_&&this.subtitlesTrack_&&!this.paused()}init_(){return this.state="READY",this.resetEverything(),this.monitorBuffer_()}track(e){return void 0===e||(this.subtitlesTrack_=e,"INIT"===this.state&&this.couldBeginLoading_()&&this.init_()),this.subtitlesTrack_}remove(e,t){Iu(e,t,this.subtitlesTrack_)}fillBuffer_(){const e=this.chooseNextRequest_();if(e){if(null===this.syncController_.timestampOffsetForTimeline(e.timeline)){const e=()=>{this.state="READY",this.paused()||this.monitorBuffer_()};return this.syncController_.one("timestampoffset",e),void(this.state="WAITING_ON_TIMELINE")}this.loadSegment_(e)}}timestampOffsetForSegment_(){return null}chooseNextRequest_(){return this.skipEmptySegments_(super.chooseNextRequest_())}skipEmptySegments_(e){for(;e&&e.segment.empty;){if(e.mediaIndex+1>=e.playlist.segments.length){e=null;break}e=this.generateSegmentInfo_({playlist:e.playlist,mediaIndex:e.mediaIndex+1,startOfSegment:e.startOfSegment+e.duration,isSyncRequest:e.isSyncRequest})}return e}stopForError(e){this.error(e),this.state="READY",this.pause(),this.trigger("error")}segmentRequestFinished_(e,t,n){if(!this.subtitlesTrack_)return void(this.state="READY");if(this.saveTransferStats_(t.stats),!this.pendingSegment_)return this.state="READY",void(this.mediaRequestsAborted+=1);if(e)return e.code===ou&&this.handleTimeout_(),e.code===au?this.mediaRequestsAborted+=1:this.mediaRequestsErrored+=1,void this.stopForError(e);const r=this.pendingSegment_;this.saveBandwidthRelatedStats_(r.duration,t.stats),t.key&&this.segmentKey(t.key,!0),this.state="APPENDING",this.trigger("appending");const o=r.segment;if(o.map&&(o.map.bytes=t.map.bytes),r.bytes=t.bytes,"function"!=typeof i().WebVTT&&"function"==typeof this.loadVttJs)return this.state="WAITING_ON_VTTJS",void this.loadVttJs().then((()=>this.segmentRequestFinished_(e,t,n)),(()=>this.stopForError({message:"Error loading vtt.js"})));o.requested=!0;try{this.parseVTTCues_(r)}catch(e){return void this.stopForError({message:e.message})}if(this.updateTimeMapping_(r,this.syncController_.timelines[r.timeline],this.playlist_),r.cues.length?r.timingInfo={start:r.cues[0].startTime,end:r.cues[r.cues.length-1].endTime}:r.timingInfo={start:r.startOfSegment,end:r.startOfSegment+r.duration},r.isSyncRequest)return this.trigger("syncinfoupdate"),this.pendingSegment_=null,void(this.state="READY");r.byteLength=r.bytes.byteLength,this.mediaSecondsLoaded+=o.duration,r.cues.forEach((e=>{this.subtitlesTrack_.addCue(this.featuresNativeTextTracks_?new(i().VTTCue)(e.startTime,e.endTime,e.text):e)})),function(e){const t=e.cues;if(t)for(let n=0;n<t.length;n++){const r=[];let i=0;for(let e=0;e<t.length;e++)t[n].startTime===t[e].startTime&&t[n].endTime===t[e].endTime&&t[n].text===t[e].text&&(i++,i>1&&r.push(t[e]));r.length&&r.forEach((t=>e.removeCue(t)))}}(this.subtitlesTrack_),this.handleAppendsDone_()}handleData_(){}updateTimingInfoEnd_(){}parseVTTCues_(e){let t,n=!1;if("function"!=typeof i().WebVTT)throw new uc;"function"==typeof i().TextDecoder?t=new(i().TextDecoder)("utf8"):(t=i().WebVTT.StringDecoder(),n=!0);const r=new(i().WebVTT.Parser)(i(),i().vttjs,t);if(e.cues=[],e.timestampmap={MPEGTS:0,LOCAL:0},r.oncue=e.cues.push.bind(e.cues),r.ontimestampmap=t=>{e.timestampmap=t},r.onparsingerror=e=>{Ta.log.warn("Error encountered when parsing cues: "+e.message)},e.segment.map){let t=e.segment.map.bytes;n&&(t=ac(t)),r.parse(t)}let o=e.bytes;n&&(o=ac(o)),r.parse(o),r.flush()}updateTimeMapping_(e,t,n){const r=e.segment;if(!t)return;if(!e.cues.length)return void(r.empty=!0);const i=e.timestampmap,o=i.MPEGTS/kt.ONE_SECOND_IN_TS-i.LOCAL+t.mapping;if(e.cues.forEach((e=>{e.startTime+=o,e.endTime+=o})),!n.syncInfo){const t=e.cues[0].startTime,i=e.cues[e.cues.length-1].startTime;n.syncInfo={mediaSequence:n.mediaSequence+e.mediaIndex,time:Math.min(t,i-r.duration)}}}}const lc=function(e,t){const n=e.cues;for(let e=0;e<n.length;e++){const r=n[e];if(t>=r.adStartTime&&t<=r.adEndTime)return r}return null},fc=[{name:"VOD",run:(e,t,n,r,i)=>{if(n!==1/0){return{time:0,segmentIndex:0,partIndex:null}}return null}},{name:"ProgramDateTime",run:(e,t,n,r,i)=>{if(!Object.keys(e.timelineToDatetimeMappings).length)return null;let o=null,a=null;const s=Za(t);i=i||0;for(let n=0;n<s.length;n++){const r=s[t.endList||0===i?n:s.length-(n+1)],u=r.segment,c=e.timelineToDatetimeMappings[u.timeline];if(!c||!u.dateTimeObject)continue;let l=u.dateTimeObject.getTime()/1e3+c;if(u.parts&&"number"==typeof r.partIndex)for(let e=0;e<r.partIndex;e++)l+=u.parts[e].duration;const f=Math.abs(i-l);if(null!==a&&(0===f||a<f))break;a=f,o={time:l,segmentIndex:r.segmentIndex,partIndex:r.partIndex}}return o}},{name:"Segment",run:(e,t,n,r,i)=>{let o=null,a=null;i=i||0;const s=Za(t);for(let e=0;e<s.length;e++){const n=s[t.endList||0===i?e:s.length-(e+1)],u=n.segment,c=n.part&&n.part.start||u&&u.start;if(u.timeline===r&&void 0!==c){const e=Math.abs(i-c);if(null!==a&&a<e)break;(!o||null===a||a>=e)&&(a=e,o={time:c,segmentIndex:n.segmentIndex,partIndex:n.partIndex})}}return o}},{name:"Discontinuity",run:(e,t,n,r,i)=>{let o=null;if(i=i||0,t.discontinuityStarts&&t.discontinuityStarts.length){let n=null;for(let r=0;r<t.discontinuityStarts.length;r++){const a=t.discontinuityStarts[r],s=t.discontinuitySequence+r+1,u=e.discontinuities[s];if(u){const e=Math.abs(i-u.time);if(null!==n&&n<e)break;(!o||null===n||n>=e)&&(n=e,o={time:u.time,segmentIndex:a,partIndex:null})}}}return o}},{name:"Playlist",run:(e,t,n,r,i)=>{if(t.syncInfo){return{time:t.syncInfo.time,segmentIndex:t.syncInfo.mediaSequence-t.mediaSequence,partIndex:null}}return null}}];class dc extends Ta.EventTarget{constructor(e={}){super(),this.timelines=[],this.discontinuities=[],this.timelineToDatetimeMappings={},this.logger_=Aa("SyncController")}getSyncPoint(e,t,n,r){const i=this.runStrategies_(e,t,n,r);return i.length?this.selectSyncPoint_(i,{key:"time",value:r}):null}getExpiredTime(e,t){if(!e||!e.segments)return null;const n=this.runStrategies_(e,t,e.discontinuitySequence,0);if(!n.length)return null;const r=this.selectSyncPoint_(n,{key:"segmentIndex",value:0});return r.segmentIndex>0&&(r.time*=-1),Math.abs(r.time+Ya({defaultDuration:e.targetDuration,durationList:e.segments,startIndex:r.segmentIndex,endIndex:0}))}runStrategies_(e,t,n,r){const i=[];for(let o=0;o<fc.length;o++){const a=fc[o],s=a.run(this,e,t,n,r);s&&(s.strategy=a.name,i.push({strategy:a.name,syncPoint:s}))}return i}selectSyncPoint_(e,t){let n=e[0].syncPoint,r=Math.abs(e[0].syncPoint[t.key]-t.value),i=e[0].strategy;for(let o=1;o<e.length;o++){const a=Math.abs(e[o].syncPoint[t.key]-t.value);a<r&&(r=a,n=e[o].syncPoint,i=e[o].strategy)}return this.logger_(`syncPoint for [${t.key}: ${t.value}] chosen with strategy [${i}]: [time:${n.time}, segmentIndex:${n.segmentIndex}`+("number"==typeof n.partIndex?`,partIndex:${n.partIndex}`:"")+"]"),n}saveExpiredSegmentInfo(e,t){const n=t.mediaSequence-e.mediaSequence;if(n>86400)Ta.log.warn(`Not saving expired segment info. Media sequence gap ${n} is too large.`);else for(let r=n-1;r>=0;r--){const n=e.segments[r];if(n&&void 0!==n.start){t.syncInfo={mediaSequence:e.mediaSequence+r,time:n.start},this.logger_(`playlist refresh sync: [time:${t.syncInfo.time}, mediaSequence: ${t.syncInfo.mediaSequence}]`),this.trigger("syncinfoupdate");break}}}setDateTimeMappingForStart(e){if(this.timelineToDatetimeMappings={},e.segments&&e.segments.length&&e.segments[0].dateTimeObject){const t=e.segments[0],n=t.dateTimeObject.getTime()/1e3;this.timelineToDatetimeMappings[t.timeline]=-n}}saveSegmentTimingInfo({segmentInfo:e,shouldSaveTimelineMapping:t}){const n=this.calculateSegmentTimeMapping_(e,e.timingInfo,t),r=e.segment;n&&(this.saveDiscontinuitySyncInfo_(e),e.playlist.syncInfo||(e.playlist.syncInfo={mediaSequence:e.playlist.mediaSequence+e.mediaIndex,time:r.start}));const i=r.dateTimeObject;r.discontinuity&&t&&i&&(this.timelineToDatetimeMappings[r.timeline]=-i.getTime()/1e3)}timestampOffsetForTimeline(e){return void 0===this.timelines[e]?null:this.timelines[e].time}mappingForTimeline(e){return void 0===this.timelines[e]?null:this.timelines[e].mapping}calculateSegmentTimeMapping_(e,t,n){const r=e.segment,i=e.part;let o,a,s=this.timelines[e.timeline];if("number"==typeof e.timestampOffset)s={time:e.startOfSegment,mapping:e.startOfSegment-t.start},n&&(this.timelines[e.timeline]=s,this.trigger("timestampoffset"),this.logger_(`time mapping for timeline ${e.timeline}: [time: ${s.time}] [mapping: ${s.mapping}]`)),o=e.startOfSegment,a=t.end+s.mapping;else{if(!s)return!1;o=t.start+s.mapping,a=t.end+s.mapping}return i&&(i.start=o,i.end=a),(!r.start||o<r.start)&&(r.start=o),r.end=a,!0}saveDiscontinuitySyncInfo_(e){const t=e.playlist,n=e.segment;if(n.discontinuity)this.discontinuities[n.timeline]={time:n.start,accuracy:0};else if(t.discontinuityStarts&&t.discontinuityStarts.length)for(let r=0;r<t.discontinuityStarts.length;r++){const i=t.discontinuityStarts[r],o=t.discontinuitySequence+r+1,a=i-e.mediaIndex,s=Math.abs(a);if(!this.discontinuities[o]||this.discontinuities[o].accuracy>s){let r;r=a<0?n.start-Ya({defaultDuration:t.targetDuration,durationList:t.segments,startIndex:e.mediaIndex,endIndex:i}):n.end+Ya({defaultDuration:t.targetDuration,durationList:t.segments,startIndex:e.mediaIndex+1,endIndex:i}),this.discontinuities[o]={time:r,accuracy:s}}}}dispose(){this.trigger("dispose"),this.off()}}class pc extends Ta.EventTarget{constructor(){super(),this.pendingTimelineChanges_={},this.lastTimelineChanges_={}}clearPendingTimelineChange(e){this.pendingTimelineChanges_[e]=null,this.trigger("pendingtimelinechange")}pendingTimelineChange({type:e,from:t,to:n}){return"number"==typeof t&&"number"==typeof n&&(this.pendingTimelineChanges_[e]={type:e,from:t,to:n},this.trigger("pendingtimelinechange")),this.pendingTimelineChanges_[e]}lastTimelineChange({type:e,from:t,to:n}){return"number"==typeof t&&"number"==typeof n&&(this.lastTimelineChanges_[e]={type:e,from:t,to:n},delete this.pendingTimelineChanges_[e],this.trigger("timelinechange")),this.lastTimelineChanges_[e]}dispose(){this.trigger("dispose"),this.pendingTimelineChanges_={},this.lastTimelineChanges_={},this.off()}}const hc=Ws(Gs((function(){var e=function(){function e(){this.listeners={}}var t=e.prototype;return t.on=function(e,t){this.listeners[e]||(this.listeners[e]=[]),this.listeners[e].push(t)},t.off=function(e,t){if(!this.listeners[e])return!1;var n=this.listeners[e].indexOf(t);return this.listeners[e]=this.listeners[e].slice(0),this.listeners[e].splice(n,1),n>-1},t.trigger=function(e){var t=this.listeners[e];if(t)if(2===arguments.length)for(var n=t.length,r=0;r<n;++r)t[r].call(this,arguments[1]);else for(var i=Array.prototype.slice.call(arguments,1),o=t.length,a=0;a<o;++a)t[a].apply(this,i)},t.dispose=function(){this.listeners={}},t.pipe=function(e){this.on("data",(function(t){e.push(t)}))},e}();let t=null;class r{constructor(e){let n,r,i;t||(t=function(){const e=[[[],[],[],[],[]],[[],[],[],[],[]]],t=e[0],n=e[1],r=t[4],i=n[4];let o,a,s;const u=[],c=[];let l,f,d,p,h,g;for(o=0;o<256;o++)c[(u[o]=o<<1^283*(o>>7))^o]=o;for(a=s=0;!r[a];a^=l||1,s=c[s]||1)for(p=s^s<<1^s<<2^s<<3^s<<4,p=p>>8^255&p^99,r[a]=p,i[p]=a,d=u[f=u[l=u[a]]],g=16843009*d^65537*f^257*l^16843008*a,h=257*u[p]^16843008*p,o=0;o<4;o++)t[o][a]=h=h<<24^h>>>8,n[o][p]=g=g<<24^g>>>8;for(o=0;o<5;o++)t[o]=t[o].slice(0),n[o]=n[o].slice(0);return e}()),this._tables=[[t[0][0].slice(),t[0][1].slice(),t[0][2].slice(),t[0][3].slice(),t[0][4].slice()],[t[1][0].slice(),t[1][1].slice(),t[1][2].slice(),t[1][3].slice(),t[1][4].slice()]];const o=this._tables[0][4],a=this._tables[1],s=e.length;let u=1;if(4!==s&&6!==s&&8!==s)throw new Error("Invalid aes key size");const c=e.slice(0),l=[];for(this._key=[c,l],n=s;n<4*s+28;n++)i=c[n-1],(n%s==0||8===s&&n%s==4)&&(i=o[i>>>24]<<24^o[i>>16&255]<<16^o[i>>8&255]<<8^o[255&i],n%s==0&&(i=i<<8^i>>>24^u<<24,u=u<<1^283*(u>>7))),c[n]=c[n-s]^i;for(r=0;n;r++,n--)i=c[3&r?n:n-4],l[r]=n<=4||r<4?i:a[0][o[i>>>24]]^a[1][o[i>>16&255]]^a[2][o[i>>8&255]]^a[3][o[255&i]]}decrypt(e,t,n,r,i,o){const a=this._key[1];let s,u,c,l=e^a[0],f=r^a[1],d=n^a[2],p=t^a[3];const h=a.length/4-2;let g,m=4;const y=this._tables[1],v=y[0],b=y[1],_=y[2],w=y[3],T=y[4];for(g=0;g<h;g++)s=v[l>>>24]^b[f>>16&255]^_[d>>8&255]^w[255&p]^a[m],u=v[f>>>24]^b[d>>16&255]^_[p>>8&255]^w[255&l]^a[m+1],c=v[d>>>24]^b[p>>16&255]^_[l>>8&255]^w[255&f]^a[m+2],p=v[p>>>24]^b[l>>16&255]^_[f>>8&255]^w[255&d]^a[m+3],m+=4,l=s,f=u,d=c;for(g=0;g<4;g++)i[(3&-g)+o]=T[l>>>24]<<24^T[f>>16&255]<<16^T[d>>8&255]<<8^T[255&p]^a[m++],s=l,l=f,f=d,d=p,p=s}}class i extends e{constructor(){super(e),this.jobs=[],this.delay=1,this.timeout_=null}processJob_(){this.jobs.shift()(),this.jobs.length?this.timeout_=setTimeout(this.processJob_.bind(this),this.delay):this.timeout_=null}push(e){this.jobs.push(e),this.timeout_||(this.timeout_=setTimeout(this.processJob_.bind(this),this.delay))}}const o=function(e){return e<<24|(65280&e)<<8|(16711680&e)>>8|e>>>24};class a{constructor(e,t,n,r){const s=a.STEP,u=new Int32Array(e.buffer),c=new Uint8Array(e.byteLength);let l=0;for(this.asyncStream_=new i,this.asyncStream_.push(this.decryptChunk_(u.subarray(l,l+s),t,n,c)),l=s;l<u.length;l+=s)n=new Uint32Array([o(u[l-4]),o(u[l-3]),o(u[l-2]),o(u[l-1])]),this.asyncStream_.push(this.decryptChunk_(u.subarray(l,l+s),t,n,c));this.asyncStream_.push((function(){var e;r(null,(e=c).subarray(0,e.byteLength-e[e.byteLength-1]))}))}static get STEP(){return 32e3}decryptChunk_(e,t,n,i){return function(){const a=function(e,t,n){const i=new Int32Array(e.buffer,e.byteOffset,e.byteLength>>2),a=new r(Array.prototype.slice.call(t)),s=new Uint8Array(e.byteLength),u=new Int32Array(s.buffer);let c,l,f,d,p,h,g,m,y;for(c=n[0],l=n[1],f=n[2],d=n[3],y=0;y<i.length;y+=4)p=o(i[y]),h=o(i[y+1]),g=o(i[y+2]),m=o(i[y+3]),a.decrypt(p,h,g,m,u,y),u[y]=o(u[y]^c),u[y+1]=o(u[y+1]^l),u[y+2]=o(u[y+2]^f),u[y+3]=o(u[y+3]^d),c=p,l=h,f=g,d=m;return s}(e,t,n);i.set(a,e.byteOffset)}}}var s,u="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==n.g?n.g:"undefined"!=typeof self?self:{};s="undefined"!=typeof window?window:void 0!==u?u:"undefined"!=typeof self?self:{};var c=s.BigInt||Number;c("0x1"),c("0x100"),c("0x10000"),c("0x1000000"),c("0x100000000"),c("0x10000000000"),c("0x1000000000000"),c("0x100000000000000"),c("0x10000000000000000"),function(){var e=new Uint16Array([65484]),t=new Uint8Array(e.buffer,e.byteOffset,e.byteLength);255===t[0]||t[0]}();const l=function(e){const t={};return Object.keys(e).forEach((n=>{const r=e[n];var i;i=r,("function"===ArrayBuffer.isView?ArrayBuffer.isView(i):i&&i.buffer instanceof ArrayBuffer)?t[n]={bytes:r.buffer,byteOffset:r.byteOffset,byteLength:r.byteLength}:t[n]=r})),t};self.onmessage=function(e){const t=e.data,n=new Uint8Array(t.encrypted.bytes,t.encrypted.byteOffset,t.encrypted.byteLength),r=new Uint32Array(t.key.bytes,t.key.byteOffset,t.key.byteLength/4),i=new Uint32Array(t.iv.bytes,t.iv.byteOffset,t.iv.byteLength/4);new a(n,r,i,(function(e,n){self.postMessage(l({source:t.source,decrypted:n}),[n.buffer])}))}})));var gc=Vs(hc);const mc=e=>{let t=e.default?"main":"alternative";return e.characteristics&&e.characteristics.indexOf("public.accessibility.describes-video")>=0&&(t="main-desc"),t},yc=(e,t)=>{e.abort(),e.pause(),t&&t.activePlaylistLoader&&(t.activePlaylistLoader.pause(),t.activePlaylistLoader=null)},vc=(e,t)=>{t.activePlaylistLoader=e,e.load()},bc={AUDIO:(e,t)=>()=>{const{segmentLoaders:{[e]:n},mediaTypes:{[e]:r},excludePlaylist:i}=t;yc(n,r);const o=r.activeTrack(),a=r.activeGroup(),s=(a.filter((e=>e.default))[0]||a[0]).id,u=r.tracks[s];if(o!==u){Ta.log.warn("Problem encountered loading the alternate audio track.Switching back to default.");for(const e in r.tracks)r.tracks[e].enabled=r.tracks[e]===u;r.onTrackChanged()}else i({error:{message:"Problem encountered loading the default audio track."}})},SUBTITLES:(e,t)=>()=>{const{segmentLoaders:{[e]:n},mediaTypes:{[e]:r}}=t;Ta.log.warn("Problem encountered loading the subtitle track.Disabling subtitle track."),yc(n,r);const i=r.activeTrack();i&&(i.mode="disabled"),r.onTrackChanged()}},_c={AUDIO:(e,t,n)=>{if(!t)return;const{tech:r,requestOptions:i,segmentLoaders:{[e]:o}}=n;t.on("loadedmetadata",(()=>{const e=t.media();o.playlist(e,i),(!r.paused()||e.endList&&"none"!==r.preload())&&o.load()})),t.on("loadedplaylist",(()=>{o.playlist(t.media(),i),r.paused()||o.load()})),t.on("error",bc[e](e,n))},SUBTITLES:(e,t,n)=>{const{tech:r,requestOptions:i,segmentLoaders:{[e]:o},mediaTypes:{[e]:a}}=n;t.on("loadedmetadata",(()=>{const e=t.media();o.playlist(e,i),o.track(a.activeTrack()),(!r.paused()||e.endList&&"none"!==r.preload())&&o.load()})),t.on("loadedplaylist",(()=>{o.playlist(t.media(),i),r.paused()||o.load()})),t.on("error",bc[e](e,n))}},wc={AUDIO:(e,t)=>{const{vhs:n,sourceType:r,segmentLoaders:{[e]:i},requestOptions:o,main:{mediaGroups:a},mediaTypes:{[e]:{groups:s,tracks:u,logger_:c}},mainPlaylistLoader:l}=t,f=is(l.main);a[e]&&0!==Object.keys(a[e]).length||(a[e]={main:{default:{default:!0}}},f&&(a[e].main.default.playlists=l.main.playlists));for(const i in a[e]){s[i]||(s[i]=[]);for(const d in a[e][i]){let p,h=a[e][i][d];if(f?(c(`AUDIO group '${i}' label '${d}' is a main playlist`),h.isMainPlaylist=!0,p=null):p="vhs-json"===r&&h.playlists?new bs(h.playlists[0],n,o):h.resolvedUri?new bs(h.resolvedUri,n,o):h.playlists&&"dash"===r?new Hs(h.playlists[0],n,o,l):null,h=Ia({id:d,playlistLoader:p},h),_c[e](e,h.playlistLoader,t),s[i].push(h),void 0===u[d]){const e=new Ta.AudioTrack({id:d,kind:mc(h),enabled:!1,language:h.language,default:h.default,label:d});u[d]=e}}}i.on("error",bc[e](e,t))},SUBTITLES:(e,t)=>{const{tech:n,vhs:r,sourceType:i,segmentLoaders:{[e]:o},requestOptions:a,main:{mediaGroups:s},mediaTypes:{[e]:{groups:u,tracks:c}},mainPlaylistLoader:l}=t;for(const o in s[e]){u[o]||(u[o]=[]);for(const f in s[e][o]){if(s[e][o][f].forced)continue;let d,p=s[e][o][f];if("hls"===i)d=new bs(p.resolvedUri,r,a);else if("dash"===i){if(!p.playlists.filter((e=>e.excludeUntil!==1/0)).length)return;d=new Hs(p.playlists[0],r,a,l)}else"vhs-json"===i&&(d=new bs(p.playlists?p.playlists[0]:p.resolvedUri,r,a));if(p=Ia({id:f,playlistLoader:d},p),_c[e](e,p.playlistLoader,t),u[o].push(p),void 0===c[f]){const e=n.addRemoteTextTrack({id:f,kind:"subtitles",default:p.default&&p.autoselect,language:p.language,label:f},!1).track;c[f]=e}}}o.on("error",bc[e](e,t))},"CLOSED-CAPTIONS":(e,t)=>{const{tech:n,main:{mediaGroups:r},mediaTypes:{[e]:{groups:i,tracks:o}}}=t;for(const t in r[e]){i[t]||(i[t]=[]);for(const a in r[e][t]){const s=r[e][t][a];if(!/^(?:CC|SERVICE)/.test(s.instreamId))continue;const u=n.options_.vhs&&n.options_.vhs.captionServices||{};let c={label:a,language:s.language,instreamId:s.instreamId,default:s.default&&s.autoselect};if(u[c.instreamId]&&(c=Ia(c,u[c.instreamId])),void 0===c.default&&delete c.default,i[t].push(Ia({id:a},s)),void 0===o[a]){const e=n.addRemoteTextTrack({id:c.instreamId,kind:"captions",default:c.default,language:c.language,label:c.label},!1).track;o[a]=e}}}}},Tc=(e,t)=>{for(let n=0;n<e.length;n++){if(ns(t,e[n]))return!0;if(e[n].playlists&&Tc(e[n].playlists,t))return!0}return!1},xc={AUDIO:(e,t)=>()=>{const{mediaTypes:{[e]:{tracks:n}}}=t;for(const e in n)if(n[e].enabled)return n[e];return null},SUBTITLES:(e,t)=>()=>{const{mediaTypes:{[e]:{tracks:n}}}=t;for(const e in n)if("showing"===n[e].mode||"hidden"===n[e].mode)return n[e];return null}},Sc=e=>{["AUDIO","SUBTITLES","CLOSED-CAPTIONS"].forEach((t=>{wc[t](t,e)}));const{mediaTypes:t,mainPlaylistLoader:n,tech:r,vhs:i,segmentLoaders:{AUDIO:o,main:a}}=e;["AUDIO","SUBTITLES"].forEach((n=>{t[n].activeGroup=((e,t)=>n=>{const{mainPlaylistLoader:r,mediaTypes:{[e]:{groups:i}}}=t,o=r.media();if(!o)return null;let a=null;o.attributes[e]&&(a=i[o.attributes[e]]);const s=Object.keys(i);if(!a)if("AUDIO"===e&&s.length>1&&is(t.main))for(let e=0;e<s.length;e++){const t=i[s[e]];if(Tc(t,o)){a=t;break}}else i.main?a=i.main:1===s.length&&(a=i[s[0]]);return void 0===n?a:null!==n&&a&&a.filter((e=>e.id===n.id))[0]||null})(n,e),t[n].activeTrack=xc[n](n,e),t[n].onGroupChanged=((e,t)=>()=>{const{segmentLoaders:{[e]:n,main:r},mediaTypes:{[e]:i}}=t,o=i.activeTrack(),a=i.getActiveGroup(),s=i.activePlaylistLoader,u=i.lastGroup_;a&&u&&a.id===u.id||(i.lastGroup_=a,i.lastTrack_=o,yc(n,i),a&&!a.isMainPlaylist&&(a.playlistLoader?(n.resyncLoader(),vc(a.playlistLoader,i)):s&&r.resetEverything()))})(n,e),t[n].onGroupChanging=((e,t)=>()=>{const{segmentLoaders:{[e]:n},mediaTypes:{[e]:r}}=t;r.lastGroup_=null,n.abort(),n.pause()})(n,e),t[n].onTrackChanged=((e,t)=>()=>{const{mainPlaylistLoader:n,segmentLoaders:{[e]:r,main:i},mediaTypes:{[e]:o}}=t,a=o.activeTrack(),s=o.getActiveGroup(),u=o.activePlaylistLoader,c=o.lastTrack_;if((!c||!a||c.id!==a.id)&&(o.lastGroup_=s,o.lastTrack_=a,yc(r,o),s)){if(s.isMainPlaylist){if(!a||!c||a.id===c.id)return;const e=t.vhs.playlistController_,r=e.selectPlaylist();if(e.media()===r)return;return o.logger_(`track change. Switching main audio from ${c.id} to ${a.id}`),n.pause(),i.resetEverything(),void e.fastQualityChange_(r)}if("AUDIO"===e){if(!s.playlistLoader)return i.setAudio(!0),void i.resetEverything();r.setAudio(!0),i.setAudio(!1)}u!==s.playlistLoader?(r.track&&r.track(a),r.resetEverything(),vc(s.playlistLoader,o)):vc(s.playlistLoader,o)}})(n,e),t[n].getActiveGroup=((e,{mediaTypes:t})=>()=>{const n=t[e].activeTrack();return n?t[e].activeGroup(n):null})(n,e)}));const s=t.AUDIO.activeGroup();if(s){const e=(s.filter((e=>e.default))[0]||s[0]).id;t.AUDIO.tracks[e].enabled=!0,t.AUDIO.onGroupChanged(),t.AUDIO.onTrackChanged();t.AUDIO.getActiveGroup().playlistLoader?(a.setAudio(!1),o.setAudio(!0)):a.setAudio(!0)}n.on("mediachange",(()=>{["AUDIO","SUBTITLES"].forEach((e=>t[e].onGroupChanged()))})),n.on("mediachanging",(()=>{["AUDIO","SUBTITLES"].forEach((e=>t[e].onGroupChanging()))}));const u=()=>{t.AUDIO.onTrackChanged(),r.trigger({type:"usage",name:"vhs-audio-change"})};r.audioTracks().addEventListener("change",u),r.remoteTextTracks().addEventListener("change",t.SUBTITLES.onTrackChanged),i.on("dispose",(()=>{r.audioTracks().removeEventListener("change",u),r.remoteTextTracks().removeEventListener("change",t.SUBTITLES.onTrackChanged)})),r.clearTracks("audio");for(const e in t.AUDIO.tracks)r.audioTracks().addTrack(t.AUDIO.tracks[e])};let kc;const Ec=["mediaRequests","mediaRequestsAborted","mediaRequestsTimedout","mediaRequestsErrored","mediaTransferDuration","mediaBytesTransferred","mediaAppends"],Oc=function(e){return this.audioSegmentLoader_[e]+this.mainSegmentLoader_[e]};class Cc extends Ta.EventTarget{constructor(e){super();const{src:t,withCredentials:n,tech:r,bandwidth:o,externVhs:a,useCueTags:s,playlistExclusionDuration:u,enableLowInitialPlaylist:c,sourceType:l,cacheEncryptionKeys:f,bufferBasedABR:d,leastPixelDiffSelector:p,captionServices:h}=e;if(!t)throw new Error("A non-empty playlist URL or JSON manifest string is required");let{maxPlaylistRetries:g}=e;null==g&&(g=1/0),kc=a,this.bufferBasedABR=Boolean(d),this.leastPixelDiffSelector=Boolean(p),this.withCredentials=n,this.tech_=r,this.vhs_=r.vhs,this.sourceType_=l,this.useCueTags_=s,this.playlistExclusionDuration=u,this.maxPlaylistRetries=g,this.enableLowInitialPlaylist=c,this.useCueTags_&&(this.cueTagsTrack_=this.tech_.addTextTrack("metadata","ad-cues"),this.cueTagsTrack_.inBandMetadataTrackDispatchType=""),this.requestOptions_={withCredentials:n,maxPlaylistRetries:g,timeout:null},this.on("error",this.pauseLoading),this.mediaTypes_=(()=>{const e={};return["AUDIO","SUBTITLES","CLOSED-CAPTIONS"].forEach((t=>{e[t]={groups:{},tracks:{},activePlaylistLoader:null,activeGroup:Fu,activeTrack:Fu,getActiveGroup:Fu,onGroupChanged:Fu,onTrackChanged:Fu,lastTrack_:null,logger_:Aa(`MediaGroups[${t}]`)}})),e})(),this.mediaSource=new(i().MediaSource),this.handleDurationChange_=this.handleDurationChange_.bind(this),this.handleSourceOpen_=this.handleSourceOpen_.bind(this),this.handleSourceEnded_=this.handleSourceEnded_.bind(this),this.mediaSource.addEventListener("durationchange",this.handleDurationChange_),this.mediaSource.addEventListener("sourceopen",this.handleSourceOpen_),this.mediaSource.addEventListener("sourceended",this.handleSourceEnded_),this.seekable_=Pa(),this.hasPlayed_=!1,this.syncController_=new dc(e),this.segmentMetadataTrack_=r.addRemoteTextTrack({kind:"metadata",label:"segment-metadata"},!1).track,this.decrypter_=new gc,this.sourceUpdater_=new oc(this.mediaSource),this.inbandTextTracks_={},this.timelineChangeController_=new pc;const m={vhs:this.vhs_,parse708captions:e.parse708captions,useDtsForTimestampOffset:e.useDtsForTimestampOffset,captionServices:h,mediaSource:this.mediaSource,currentTime:this.tech_.currentTime.bind(this.tech_),seekable:()=>this.seekable(),seeking:()=>this.tech_.seeking(),duration:()=>this.duration(),hasPlayed:()=>this.hasPlayed_,goalBufferLength:()=>this.goalBufferLength(),bandwidth:o,syncController:this.syncController_,decrypter:this.decrypter_,sourceType:this.sourceType_,inbandTextTracks:this.inbandTextTracks_,cacheEncryptionKeys:f,sourceUpdater:this.sourceUpdater_,timelineChangeController:this.timelineChangeController_,exactManifestTimings:e.exactManifestTimings};this.mainPlaylistLoader_="dash"===this.sourceType_?new Hs(t,this.vhs_,this.requestOptions_):new bs(t,this.vhs_,this.requestOptions_),this.setupMainPlaylistLoaderListeners_(),this.mainSegmentLoader_=new Uu(Ia(m,{segmentMetadataTrack:this.segmentMetadataTrack_,loaderType:"main"}),e),this.audioSegmentLoader_=new Uu(Ia(m,{loaderType:"audio"}),e),this.subtitleSegmentLoader_=new cc(Ia(m,{loaderType:"vtt",featuresNativeTextTracks:this.tech_.featuresNativeTextTracks,loadVttJs:()=>new Promise(((e,t)=>{function n(){r.off("vttjserror",i),e()}function i(){r.off("vttjsloaded",n),t()}r.one("vttjsloaded",n),r.one("vttjserror",i),r.addWebVttScript_()}))}),e),this.setupSegmentLoaderListeners_(),this.bufferBasedABR&&(this.mainPlaylistLoader_.one("loadedplaylist",(()=>this.startABRTimer_())),this.tech_.on("pause",(()=>this.stopABRTimer_())),this.tech_.on("play",(()=>this.startABRTimer_()))),Ec.forEach((e=>{this[e+"_"]=Oc.bind(this,e)})),this.logger_=Aa("pc"),this.triggeredFmp4Usage=!1,"none"===this.tech_.preload()?(this.loadOnPlay_=()=>{this.loadOnPlay_=null,this.mainPlaylistLoader_.load()},this.tech_.one("play",this.loadOnPlay_)):this.mainPlaylistLoader_.load(),this.timeToLoadedData__=-1,this.mainAppendsToLoadedData__=-1,this.audioAppendsToLoadedData__=-1;const y="none"===this.tech_.preload()?"play":"loadstart";this.tech_.one(y,(()=>{const e=Date.now();this.tech_.one("loadeddata",(()=>{this.timeToLoadedData__=Date.now()-e,this.mainAppendsToLoadedData__=this.mainSegmentLoader_.mediaAppends,this.audioAppendsToLoadedData__=this.audioSegmentLoader_.mediaAppends}))}))}mainAppendsToLoadedData_(){return this.mainAppendsToLoadedData__}audioAppendsToLoadedData_(){return this.audioAppendsToLoadedData__}appendsToLoadedData_(){const e=this.mainAppendsToLoadedData_(),t=this.audioAppendsToLoadedData_();return-1===e||-1===t?-1:e+t}timeToLoadedData_(){return this.timeToLoadedData__}checkABR_(e="abr"){const t=this.selectPlaylist();t&&this.shouldSwitchToMedia_(t)&&this.switchMedia_(t,e)}switchMedia_(e,t,n){const r=this.media(),i=r&&(r.id||r.uri),o=e.id||e.uri;i&&i!==o&&(this.logger_(`switch media ${i} -> ${o} from ${t}`),this.tech_.trigger({type:"usage",name:`vhs-rendition-change-${t}`})),this.mainPlaylistLoader_.media(e,n)}startABRTimer_(){this.stopABRTimer_(),this.abrTimer_=i().setInterval((()=>this.checkABR_()),250)}stopABRTimer_(){this.tech_.scrubbing&&this.tech_.scrubbing()||(i().clearInterval(this.abrTimer_),this.abrTimer_=null)}getAudioTrackPlaylists_(){const e=this.main(),t=e&&e.playlists||[];if(!e||!e.mediaGroups||!e.mediaGroups.AUDIO)return t;const n=e.mediaGroups.AUDIO,r=Object.keys(n);let i;if(Object.keys(this.mediaTypes_.AUDIO.groups).length)i=this.mediaTypes_.AUDIO.activeTrack();else{const e=n.main||r.length&&n[r[0]];for(const t in e)if(e[t].default){i={label:t};break}}if(!i)return t;const o=[];for(const t in n)if(n[t][i.label]){const r=n[t][i.label];if(r.playlists&&r.playlists.length)o.push.apply(o,r.playlists);else if(r.uri)o.push(r);else if(e.playlists.length)for(let n=0;n<e.playlists.length;n++){const r=e.playlists[n];r.attributes&&r.attributes.AUDIO&&r.attributes.AUDIO===t&&o.push(r)}}return o.length?o:t}setupMainPlaylistLoaderListeners_(){this.mainPlaylistLoader_.on("loadedmetadata",(()=>{const e=this.mainPlaylistLoader_.media(),t=1.5*e.targetDuration*1e3;ts(this.mainPlaylistLoader_.main,this.mainPlaylistLoader_.media())?this.requestOptions_.timeout=0:this.requestOptions_.timeout=t,e.endList&&"none"!==this.tech_.preload()&&(this.mainSegmentLoader_.playlist(e,this.requestOptions_),this.mainSegmentLoader_.load()),Sc({sourceType:this.sourceType_,segmentLoaders:{AUDIO:this.audioSegmentLoader_,SUBTITLES:this.subtitleSegmentLoader_,main:this.mainSegmentLoader_},tech:this.tech_,requestOptions:this.requestOptions_,mainPlaylistLoader:this.mainPlaylistLoader_,vhs:this.vhs_,main:this.main(),mediaTypes:this.mediaTypes_,excludePlaylist:this.excludePlaylist.bind(this)}),this.triggerPresenceUsage_(this.main(),e),this.setupFirstPlay(),!this.mediaTypes_.AUDIO.activePlaylistLoader||this.mediaTypes_.AUDIO.activePlaylistLoader.media()?this.trigger("selectedinitialmedia"):this.mediaTypes_.AUDIO.activePlaylistLoader.one("loadedmetadata",(()=>{this.trigger("selectedinitialmedia")}))})),this.mainPlaylistLoader_.on("loadedplaylist",(()=>{this.loadOnPlay_&&this.tech_.off("play",this.loadOnPlay_);let e=this.mainPlaylistLoader_.media();if(!e){let t;if(this.excludeUnsupportedVariants_(),this.enableLowInitialPlaylist&&(t=this.selectInitialPlaylist()),t||(t=this.selectPlaylist()),!t||!this.shouldSwitchToMedia_(t))return;this.initialMedia_=t,this.switchMedia_(this.initialMedia_,"initial");if(!("vhs-json"===this.sourceType_&&this.initialMedia_.segments))return;e=this.initialMedia_}this.handleUpdatedMediaPlaylist(e)})),this.mainPlaylistLoader_.on("error",(()=>{const e=this.mainPlaylistLoader_.error;this.excludePlaylist({playlistToExclude:e.playlist,error:e})})),this.mainPlaylistLoader_.on("mediachanging",(()=>{this.mainSegmentLoader_.abort(),this.mainSegmentLoader_.pause()})),this.mainPlaylistLoader_.on("mediachange",(()=>{const e=this.mainPlaylistLoader_.media(),t=1.5*e.targetDuration*1e3;ts(this.mainPlaylistLoader_.main,this.mainPlaylistLoader_.media())?this.requestOptions_.timeout=0:this.requestOptions_.timeout=t,this.mainPlaylistLoader_.load(),this.mainSegmentLoader_.playlist(e,this.requestOptions_),this.mainSegmentLoader_.load(),this.tech_.trigger({type:"mediachange",bubbles:!0})})),this.mainPlaylistLoader_.on("playlistunchanged",(()=>{const e=this.mainPlaylistLoader_.media();if("playlist-unchanged"===e.lastExcludeReason_)return;this.stuckAtPlaylistEnd_(e)&&(this.excludePlaylist({error:{message:"Playlist no longer updating.",reason:"playlist-unchanged"}}),this.tech_.trigger("playliststuck"))})),this.mainPlaylistLoader_.on("renditiondisabled",(()=>{this.tech_.trigger({type:"usage",name:"vhs-rendition-disabled"})})),this.mainPlaylistLoader_.on("renditionenabled",(()=>{this.tech_.trigger({type:"usage",name:"vhs-rendition-enabled"})}))}handleUpdatedMediaPlaylist(e){this.useCueTags_&&this.updateAdCues_(e),this.mainSegmentLoader_.playlist(e,this.requestOptions_),this.updateDuration(!e.endList),this.tech_.paused()||(this.mainSegmentLoader_.load(),this.audioSegmentLoader_&&this.audioSegmentLoader_.load())}triggerPresenceUsage_(e,t){const n=e.mediaGroups||{};let r=!0;const i=Object.keys(n.AUDIO);for(const e in n.AUDIO)for(const t in n.AUDIO[e]){n.AUDIO[e][t].uri||(r=!1)}r&&this.tech_.trigger({type:"usage",name:"vhs-demuxed"}),Object.keys(n.SUBTITLES).length&&this.tech_.trigger({type:"usage",name:"vhs-webvtt"}),kc.Playlist.isAes(t)&&this.tech_.trigger({type:"usage",name:"vhs-aes"}),i.length&&Object.keys(n.AUDIO[i[0]]).length>1&&this.tech_.trigger({type:"usage",name:"vhs-alternate-audio"}),this.useCueTags_&&this.tech_.trigger({type:"usage",name:"vhs-playlist-cue-tags"})}shouldSwitchToMedia_(e){const t=this.mainPlaylistLoader_.media()||this.mainPlaylistLoader_.pendingMedia_,n=this.tech_.currentTime(),r=this.bufferLowWaterLine(),i=this.bufferHighWaterLine();return function({currentPlaylist:e,buffered:t,currentTime:n,nextPlaylist:r,bufferLowWaterLine:i,bufferHighWaterLine:o,duration:a,bufferBasedABR:s,log:u}){if(!r)return Ta.log.warn("We received no playlist to switch to. Please check your stream."),!1;const c=`allowing switch ${e&&e.id||"null"} -> ${r.id}`;if(!e)return u(`${c} as current playlist is not set`),!0;if(r.id===e.id)return!1;const l=Boolean(Da(t,n).length);if(!e.endList)return l||"number"!=typeof e.partTargetDuration?(u(`${c} as current playlist is live`),!0):(u(`not ${c} as current playlist is live llhls, but currentTime isn't in buffered.`),!1);const f=za(t,n),d=s?Zs.EXPERIMENTAL_MAX_BUFFER_LOW_WATER_LINE:Zs.MAX_BUFFER_LOW_WATER_LINE;if(a<d)return u(`${c} as duration < max low water line (${a} < ${d})`),!0;const p=r.attributes.BANDWIDTH,h=e.attributes.BANDWIDTH;if(p<h&&(!s||f<o)){let e=`${c} as next bandwidth < current bandwidth (${p} < ${h})`;return s&&(e+=` and forwardBuffer < bufferHighWaterLine (${f} < ${o})`),u(e),!0}if((!s||p>h)&&f>=i){let e=`${c} as forwardBuffer >= bufferLowWaterLine (${f} >= ${i})`;return s&&(e+=` and next bandwidth > current bandwidth (${p} > ${h})`),u(e),!0}return u(`not ${c} as no switching criteria met`),!1}({buffered:this.tech_.buffered(),currentTime:n,currentPlaylist:t,nextPlaylist:e,bufferLowWaterLine:r,bufferHighWaterLine:i,duration:this.duration(),bufferBasedABR:this.bufferBasedABR,log:this.logger_})}setupSegmentLoaderListeners_(){this.mainSegmentLoader_.on("bandwidthupdate",(()=>{this.checkABR_("bandwidthupdate"),this.tech_.trigger("bandwidthupdate")})),this.mainSegmentLoader_.on("timeout",(()=>{this.bufferBasedABR&&this.mainSegmentLoader_.load()})),this.bufferBasedABR||this.mainSegmentLoader_.on("progress",(()=>{this.trigger("progress")})),this.mainSegmentLoader_.on("error",(()=>{const e=this.mainSegmentLoader_.error();this.excludePlaylist({playlistToExclude:e.playlist,error:e})})),this.mainSegmentLoader_.on("appenderror",(()=>{this.error=this.mainSegmentLoader_.error_,this.trigger("error")})),this.mainSegmentLoader_.on("syncinfoupdate",(()=>{this.onSyncInfoUpdate_()})),this.mainSegmentLoader_.on("timestampoffset",(()=>{this.tech_.trigger({type:"usage",name:"vhs-timestamp-offset"})})),this.audioSegmentLoader_.on("syncinfoupdate",(()=>{this.onSyncInfoUpdate_()})),this.audioSegmentLoader_.on("appenderror",(()=>{this.error=this.audioSegmentLoader_.error_,this.trigger("error")})),this.mainSegmentLoader_.on("ended",(()=>{this.logger_("main segment loader ended"),this.onEndOfStream()})),this.mainSegmentLoader_.on("earlyabort",(e=>{this.bufferBasedABR||(this.delegateLoaders_("all",["abort"]),this.excludePlaylist({error:{message:"Aborted early because there isn't enough bandwidth to complete the request without rebuffering."},playlistExclusionDuration:120}))}));const e=()=>{if(!this.sourceUpdater_.hasCreatedSourceBuffers())return this.tryToCreateSourceBuffers_();const e=this.getCodecsOrExclude_();e&&this.sourceUpdater_.addOrChangeSourceBuffers(e)};this.mainSegmentLoader_.on("trackinfo",e),this.audioSegmentLoader_.on("trackinfo",e),this.mainSegmentLoader_.on("fmp4",(()=>{this.triggeredFmp4Usage||(this.tech_.trigger({type:"usage",name:"vhs-fmp4"}),this.triggeredFmp4Usage=!0)})),this.audioSegmentLoader_.on("fmp4",(()=>{this.triggeredFmp4Usage||(this.tech_.trigger({type:"usage",name:"vhs-fmp4"}),this.triggeredFmp4Usage=!0)})),this.audioSegmentLoader_.on("ended",(()=>{this.logger_("audioSegmentLoader ended"),this.onEndOfStream()}))}mediaSecondsLoaded_(){return Math.max(this.audioSegmentLoader_.mediaSecondsLoaded+this.mainSegmentLoader_.mediaSecondsLoaded)}load(){this.mainSegmentLoader_.load(),this.mediaTypes_.AUDIO.activePlaylistLoader&&this.audioSegmentLoader_.load(),this.mediaTypes_.SUBTITLES.activePlaylistLoader&&this.subtitleSegmentLoader_.load()}fastQualityChange_(e=this.selectPlaylist()){e!==this.mainPlaylistLoader_.media()?(this.switchMedia_(e,"fast-quality"),this.mainSegmentLoader_.resetEverything((()=>{Ta.browser.IE_VERSION||Ta.browser.IS_EDGE?this.tech_.setCurrentTime(this.tech_.currentTime()+.04):this.tech_.setCurrentTime(this.tech_.currentTime())}))):this.logger_("skipping fastQualityChange because new media is same as old")}play(){if(this.setupFirstPlay())return;this.tech_.ended()&&this.tech_.setCurrentTime(0),this.hasPlayed_&&this.load();const e=this.tech_.seekable();return this.tech_.duration()===1/0&&this.tech_.currentTime()<e.start(0)?this.tech_.setCurrentTime(e.end(e.length-1)):void 0}setupFirstPlay(){const e=this.mainPlaylistLoader_.media();if(!e||this.tech_.paused()||this.hasPlayed_)return!1;if(!e.endList){const e=this.seekable();if(!e.length)return!1;if(Ta.browser.IE_VERSION&&0===this.tech_.readyState())return this.tech_.one("loadedmetadata",(()=>{this.trigger("firstplay"),this.tech_.setCurrentTime(e.end(0)),this.hasPlayed_=!0})),!1;this.trigger("firstplay"),this.tech_.setCurrentTime(e.end(0))}return this.hasPlayed_=!0,this.load(),!0}handleSourceOpen_(){if(this.tryToCreateSourceBuffers_(),this.tech_.autoplay()){const e=this.tech_.play();void 0!==e&&"function"==typeof e.then&&e.then(null,(e=>{}))}this.trigger("sourceopen")}handleSourceEnded_(){if(!this.inbandTextTracks_.metadataTrack_)return;const e=this.inbandTextTracks_.metadataTrack_.cues;if(!e||!e.length)return;const t=this.duration();e[e.length-1].endTime=isNaN(t)||Math.abs(t)===1/0?Number.MAX_VALUE:t}handleDurationChange_(){this.tech_.trigger("durationchange")}onEndOfStream(){let e=this.mainSegmentLoader_.ended_;if(this.mediaTypes_.AUDIO.activePlaylistLoader){const t=this.mainSegmentLoader_.getCurrentMediaInfo_();e=!t||t.hasVideo?e&&this.audioSegmentLoader_.ended_:this.audioSegmentLoader_.ended_}e&&(this.stopABRTimer_(),this.sourceUpdater_.endOfStream())}stuckAtPlaylistEnd_(e){if(!this.seekable().length)return!1;const t=this.syncController_.getExpiredTime(e,this.duration());if(null===t)return!1;const n=kc.Playlist.playlistEnd(e,t),r=this.tech_.currentTime(),i=this.tech_.buffered();if(!i.length)return n-r<=Ra;const o=i.end(i.length-1);return o-r<=Ra&&n-o<=Ra}excludePlaylist({playlistToExclude:e=this.mainPlaylistLoader_.media(),error:t={},playlistExclusionDuration:n}){if(e=e||this.mainPlaylistLoader_.media(),n=n||t.playlistExclusionDuration||this.playlistExclusionDuration,!e)return this.error=t,void("open"!==this.mediaSource.readyState?this.trigger("error"):this.sourceUpdater_.endOfStream("network"));e.playlistErrors_++;const r=this.mainPlaylistLoader_.main.playlists,i=r.filter(Ja),o=1===i.length&&i[0]===e;if(1===r.length&&n!==1/0)return Ta.log.warn(`Problem encountered with playlist ${e.id}. Trying again since it is the only playlist.`),this.tech_.trigger("retryplaylist"),this.mainPlaylistLoader_.load(o);if(o){let t=!1;r.forEach((n=>{if(n===e)return;const r=n.excludeUntil;void 0!==r&&r!==1/0&&(t=!0,delete n.excludeUntil)})),t&&(Ta.log.warn("Removing other playlists from the exclusion list because the last rendition is about to be excluded."),this.tech_.trigger("retryplaylist"))}let a;a=e.playlistErrors_>this.maxPlaylistRetries?1/0:Date.now()+1e3*n,e.excludeUntil=a,t.reason&&(e.lastExcludeReason_=t.reason),this.tech_.trigger("excludeplaylist"),this.tech_.trigger({type:"usage",name:"vhs-rendition-excluded"});const s=this.selectPlaylist();if(!s)return this.error="Playback cannot continue. No available working or supported playlists.",void this.trigger("error");const u=t.internal?this.logger_:Ta.log.warn,c=t.message?" "+t.message:"";u(`${t.internal?"Internal problem":"Problem"} encountered with playlist ${e.id}.${c} Switching to playlist ${s.id}.`),s.attributes.AUDIO!==e.attributes.AUDIO&&this.delegateLoaders_("audio",["abort","pause"]),s.attributes.SUBTITLES!==e.attributes.SUBTITLES&&this.delegateLoaders_("subtitle",["abort","pause"]),this.delegateLoaders_("main",["abort","pause"]);const l=s.targetDuration/2*1e3||5e3,f="number"==typeof s.lastRequest&&Date.now()-s.lastRequest<=l;return this.switchMedia_(s,"exclude",o||f)}pauseLoading(){this.delegateLoaders_("all",["abort","pause"]),this.stopABRTimer_()}delegateLoaders_(e,t){const n=[],r="all"===e;(r||"main"===e)&&n.push(this.mainPlaylistLoader_);const i=[];(r||"audio"===e)&&i.push("AUDIO"),(r||"subtitle"===e)&&(i.push("CLOSED-CAPTIONS"),i.push("SUBTITLES")),i.forEach((e=>{const t=this.mediaTypes_[e]&&this.mediaTypes_[e].activePlaylistLoader;t&&n.push(t)})),["main","audio","subtitle"].forEach((t=>{const r=this[`${t}SegmentLoader_`];!r||e!==t&&"all"!==e||n.push(r)})),n.forEach((e=>t.forEach((t=>{"function"==typeof e[t]&&e[t]()}))))}setCurrentTime(e){const t=Da(this.tech_.buffered(),e);return this.mainPlaylistLoader_&&this.mainPlaylistLoader_.media()&&this.mainPlaylistLoader_.media().segments?t&&t.length?e:(this.mainSegmentLoader_.resetEverything(),this.mainSegmentLoader_.abort(),this.mediaTypes_.AUDIO.activePlaylistLoader&&(this.audioSegmentLoader_.resetEverything(),this.audioSegmentLoader_.abort()),this.mediaTypes_.SUBTITLES.activePlaylistLoader&&(this.subtitleSegmentLoader_.resetEverything(),this.subtitleSegmentLoader_.abort()),void this.load()):0}duration(){if(!this.mainPlaylistLoader_)return 0;const e=this.mainPlaylistLoader_.media();return e?e.endList?this.mediaSource?this.mediaSource.duration:kc.Playlist.duration(e):1/0:0}seekable(){return this.seekable_}onSyncInfoUpdate_(){let e;if(!this.mainPlaylistLoader_)return;let t=this.mainPlaylistLoader_.media();if(!t)return;let n=this.syncController_.getExpiredTime(t,this.duration());if(null===n)return;const r=this.mainPlaylistLoader_.main,i=kc.Playlist.seekable(t,n,kc.Playlist.liveEdgeDelay(r,t));if(0===i.length)return;if(this.mediaTypes_.AUDIO.activePlaylistLoader){if(t=this.mediaTypes_.AUDIO.activePlaylistLoader.media(),n=this.syncController_.getExpiredTime(t,this.duration()),null===n)return;if(e=kc.Playlist.seekable(t,n,kc.Playlist.liveEdgeDelay(r,t)),0===e.length)return}let o,a;this.seekable_&&this.seekable_.length&&(o=this.seekable_.end(0),a=this.seekable_.start(0)),e?e.start(0)>i.end(0)||i.start(0)>e.end(0)?this.seekable_=i:this.seekable_=Pa([[e.start(0)>i.start(0)?e.start(0):i.start(0),e.end(0)<i.end(0)?e.end(0):i.end(0)]]):this.seekable_=i,this.seekable_&&this.seekable_.length&&this.seekable_.end(0)===o&&this.seekable_.start(0)===a||(this.logger_(`seekable updated [${Ba(this.seekable_)}]`),this.tech_.trigger("seekablechanged"))}updateDuration(e){if(this.updateDuration_&&(this.mediaSource.removeEventListener("sourceopen",this.updateDuration_),this.updateDuration_=null),"open"!==this.mediaSource.readyState)return this.updateDuration_=this.updateDuration.bind(this,e),void this.mediaSource.addEventListener("sourceopen",this.updateDuration_);if(e){const e=this.seekable();if(!e.length)return;return void((isNaN(this.mediaSource.duration)||this.mediaSource.duration<e.end(e.length-1))&&this.sourceUpdater_.setDuration(e.end(e.length-1)))}const t=this.tech_.buffered();let n=kc.Playlist.duration(this.mainPlaylistLoader_.media());t.length>0&&(n=Math.max(n,t.end(t.length-1))),this.mediaSource.duration!==n&&this.sourceUpdater_.setDuration(n)}dispose(){this.trigger("dispose"),this.decrypter_.terminate(),this.mainPlaylistLoader_.dispose(),this.mainSegmentLoader_.dispose(),this.loadOnPlay_&&this.tech_.off("play",this.loadOnPlay_),["AUDIO","SUBTITLES"].forEach((e=>{const t=this.mediaTypes_[e].groups;for(const e in t)t[e].forEach((e=>{e.playlistLoader&&e.playlistLoader.dispose()}))})),this.audioSegmentLoader_.dispose(),this.subtitleSegmentLoader_.dispose(),this.sourceUpdater_.dispose(),this.timelineChangeController_.dispose(),this.stopABRTimer_(),this.updateDuration_&&this.mediaSource.removeEventListener("sourceopen",this.updateDuration_),this.mediaSource.removeEventListener("durationchange",this.handleDurationChange_),this.mediaSource.removeEventListener("sourceopen",this.handleSourceOpen_),this.mediaSource.removeEventListener("sourceended",this.handleSourceEnded_),this.off()}main(){return this.mainPlaylistLoader_.main}media(){return this.mainPlaylistLoader_.media()||this.initialMedia_}areMediaTypesKnown_(){const e=!!this.mediaTypes_.AUDIO.activePlaylistLoader,t=!!this.mainSegmentLoader_.getCurrentMediaInfo_(),n=!e||!!this.audioSegmentLoader_.getCurrentMediaInfo_();return!(!t||!n)}getCodecsOrExclude_(){const e={main:this.mainSegmentLoader_.getCurrentMediaInfo_()||{},audio:this.audioSegmentLoader_.getCurrentMediaInfo_()||{}},t=this.mainSegmentLoader_.getPendingSegmentPlaylist()||this.media();e.video=e.main;const n=Tu(this.main(),t),r={},i=!!this.mediaTypes_.AUDIO.activePlaylistLoader;if(e.main.hasVideo&&(r.video=n.video||e.main.videoCodec||"avc1.4d400d"),e.main.isMuxed&&(r.video+=`,${n.audio||e.main.audioCodec||z}`),(e.main.hasAudio&&!e.main.isMuxed||e.audio.hasAudio||i)&&(r.audio=n.audio||e.main.audioCodec||e.audio.audioCodec||z,e.audio.isFmp4=e.main.hasAudio&&!e.main.isMuxed?e.main.isFmp4:e.audio.isFmp4),!r.audio&&!r.video)return void this.excludePlaylist({playlistToExclude:t,error:{message:"Could not determine codecs for playlist."},playlistExclusionDuration:1/0});const o={};let a;if(["video","audio"].forEach((function(t){if(r.hasOwnProperty(t)&&(n=e[t].isFmp4,i=r[t],!(n?U(i):F(i)))){const n=e[t].isFmp4?"browser":"muxer";o[n]=o[n]||[],o[n].push(r[t]),"audio"===t&&(a=n)}var n,i})),i&&a&&t.attributes.AUDIO){const e=t.attributes.AUDIO;this.main().playlists.forEach((n=>{(n.attributes&&n.attributes.AUDIO)===e&&n!==t&&(n.excludeUntil=1/0)})),this.logger_(`excluding audio group ${e} as ${a} does not support codec(s): "${r.audio}"`)}if(!Object.keys(o).length){if(this.sourceUpdater_.hasCreatedSourceBuffers()&&!this.sourceUpdater_.canChangeType()){const e=[];if(["video","audio"].forEach((t=>{const n=(D(this.sourceUpdater_.codecs[t]||"")[0]||{}).type,i=(D(r[t]||"")[0]||{}).type;n&&i&&n.toLowerCase()!==i.toLowerCase()&&e.push(`"${this.sourceUpdater_.codecs[t]}" -> "${r[t]}"`)})),e.length)return void this.excludePlaylist({playlistToExclude:t,error:{message:`Codec switching not supported: ${e.join(", ")}.`,internal:!0},playlistExclusionDuration:1/0})}return r}{const e=Object.keys(o).reduce(((e,t)=>(e&&(e+=", "),e+=`${t} does not support codec(s): "${o[t].join(",")}"`)),"")+".";this.excludePlaylist({playlistToExclude:t,error:{internal:!0,message:e},playlistExclusionDuration:1/0})}}tryToCreateSourceBuffers_(){if("open"!==this.mediaSource.readyState||this.sourceUpdater_.hasCreatedSourceBuffers())return;if(!this.areMediaTypesKnown_())return;const e=this.getCodecsOrExclude_();if(!e)return;this.sourceUpdater_.createSourceBuffers(e);const t=[e.video,e.audio].filter(Boolean).join(",");this.excludeIncompatibleVariants_(t)}excludeUnsupportedVariants_(){const e=this.main().playlists,t=[];Object.keys(e).forEach((n=>{const r=e[n];if(-1!==t.indexOf(r.id))return;t.push(r.id);const i=Tu(this.main,r),o=[];!i.audio||F(i.audio)||U(i.audio)||o.push(`audio codec ${i.audio}`),!i.video||F(i.video)||U(i.video)||o.push(`video codec ${i.video}`),i.text&&"stpp.ttml.im1t"===i.text&&o.push(`text codec ${i.text}`),o.length&&(r.excludeUntil=1/0,this.logger_(`excluding ${r.id} for unsupported: ${o.join(", ")}`))}))}excludeIncompatibleVariants_(e){const t=[],n=this.main().playlists,r=_u(D(e)),i=wu(r),o=r.video&&D(r.video)[0]||null,a=r.audio&&D(r.audio)[0]||null;Object.keys(n).forEach((e=>{const r=n[e];if(-1!==t.indexOf(r.id)||r.excludeUntil===1/0)return;t.push(r.id);const s=[],u=Tu(this.mainPlaylistLoader_.main,r),c=wu(u);if(u.audio||u.video){if(c!==i&&s.push(`codec count "${c}" !== "${i}"`),!this.sourceUpdater_.canChangeType()){const e=u.video&&D(u.video)[0]||null,t=u.audio&&D(u.audio)[0]||null;e&&o&&e.type.toLowerCase()!==o.type.toLowerCase()&&s.push(`video codec "${e.type}" !== "${o.type}"`),t&&a&&t.type.toLowerCase()!==a.type.toLowerCase()&&s.push(`audio codec "${t.type}" !== "${a.type}"`)}s.length&&(r.excludeUntil=1/0,this.logger_(`excluding ${r.id}: ${s.join(" && ")}`))}}))}updateAdCues_(e){let t=0;const n=this.seekable();n.length&&(t=n.start(0)),function(e,t,n=0){if(!e.segments)return;let r,o=n;for(let n=0;n<e.segments.length;n++){const a=e.segments[n];if(r||(r=lc(t,o+a.duration/2)),r){if("cueIn"in a){r.endTime=o,r.adEndTime=o,o+=a.duration,r=null;continue}if(o<r.endTime){o+=a.duration;continue}r.endTime+=a.duration}else if("cueOut"in a&&(r=new(i().VTTCue)(o,o+a.duration,a.cueOut),r.adStartTime=o,r.adEndTime=o+parseFloat(a.cueOut),t.addCue(r)),"cueOutCont"in a){const[e,n]=a.cueOutCont.split("/").map(parseFloat);r=new(i().VTTCue)(o,o+a.duration,""),r.adStartTime=o-e,r.adEndTime=r.adStartTime+n,t.addCue(r)}o+=a.duration}}(e,this.cueTagsTrack_,t)}goalBufferLength(){const e=this.tech_.currentTime(),t=Zs.GOAL_BUFFER_LENGTH,n=Zs.GOAL_BUFFER_LENGTH_RATE,r=Math.max(t,Zs.MAX_GOAL_BUFFER_LENGTH);return Math.min(t+e*n,r)}bufferLowWaterLine(){const e=this.tech_.currentTime(),t=Zs.BUFFER_LOW_WATER_LINE,n=Zs.BUFFER_LOW_WATER_LINE_RATE,r=Math.max(t,Zs.MAX_BUFFER_LOW_WATER_LINE),i=Math.max(t,Zs.EXPERIMENTAL_MAX_BUFFER_LOW_WATER_LINE);return Math.min(t+e*n,this.bufferBasedABR?i:r)}bufferHighWaterLine(){return Zs.BUFFER_HIGH_WATER_LINE}}class Lc{constructor(e,t,n){const{playlistController_:r}=e,i=r.fastQualityChange_.bind(r);if(t.attributes){const e=t.attributes.RESOLUTION;this.width=e&&e.width,this.height=e&&e.height,this.bandwidth=t.attributes.BANDWIDTH,this.frameRate=t.attributes["FRAME-RATE"]}var o,a,s;this.codecs=Tu(r.main(),t),this.playlist=t,this.id=n,this.enabled=(o=e.playlists,a=t.id,s=i,e=>{const t=o.main.playlists[a],n=Qa(t),r=Ja(t);return void 0===e?r:(e?delete t.disabled:t.disabled=!0,e===r||n||(s(),e?o.trigger("renditionenabled"):o.trigger("renditiondisabled")),e)})}}const Ac=["seeking","seeked","pause","playing","error"];class Ic{constructor(e){this.playlistController_=e.playlistController,this.tech_=e.tech,this.seekable=e.seekable,this.allowSeeksWithinUnsafeLiveWindow=e.allowSeeksWithinUnsafeLiveWindow,this.liveRangeSafeTimeDelta=e.liveRangeSafeTimeDelta,this.media=e.media,this.consecutiveUpdates=0,this.lastRecordedTime=null,this.checkCurrentTimeTimeout_=null,this.logger_=Aa("PlaybackWatcher"),this.logger_("initialize");const t=()=>this.monitorCurrentTime_(),n=()=>this.monitorCurrentTime_(),r=()=>this.techWaiting_(),o=()=>this.resetTimeUpdate_(),a=this.playlistController_,s=["main","subtitle","audio"],u={};s.forEach((e=>{u[e]={reset:()=>this.resetSegmentDownloads_(e),updateend:()=>this.checkSegmentDownloads_(e)},a[`${e}SegmentLoader_`].on("appendsdone",u[e].updateend),a[`${e}SegmentLoader_`].on("playlistupdate",u[e].reset),this.tech_.on(["seeked","seeking"],u[e].reset)}));const c=e=>{["main","audio"].forEach((t=>{a[`${t}SegmentLoader_`][e]("appended",this.seekingAppendCheck_)}))};this.seekingAppendCheck_=()=>{this.fixesBadSeeks_()&&(this.consecutiveUpdates=0,this.lastRecordedTime=this.tech_.currentTime(),c("off"))},this.clearSeekingAppendCheck_=()=>c("off"),this.watchForBadSeeking_=()=>{this.clearSeekingAppendCheck_(),c("on")},this.tech_.on("seeked",this.clearSeekingAppendCheck_),this.tech_.on("seeking",this.watchForBadSeeking_),this.tech_.on("waiting",r),this.tech_.on(Ac,o),this.tech_.on("canplay",n),this.tech_.one("play",t),this.dispose=()=>{this.clearSeekingAppendCheck_(),this.logger_("dispose"),this.tech_.off("waiting",r),this.tech_.off(Ac,o),this.tech_.off("canplay",n),this.tech_.off("play",t),this.tech_.off("seeking",this.watchForBadSeeking_),this.tech_.off("seeked",this.clearSeekingAppendCheck_),s.forEach((e=>{a[`${e}SegmentLoader_`].off("appendsdone",u[e].updateend),a[`${e}SegmentLoader_`].off("playlistupdate",u[e].reset),this.tech_.off(["seeked","seeking"],u[e].reset)})),this.checkCurrentTimeTimeout_&&i().clearTimeout(this.checkCurrentTimeTimeout_),this.resetTimeUpdate_()}}monitorCurrentTime_(){this.checkCurrentTime_(),this.checkCurrentTimeTimeout_&&i().clearTimeout(this.checkCurrentTimeTimeout_),this.checkCurrentTimeTimeout_=i().setTimeout(this.monitorCurrentTime_.bind(this),250)}resetSegmentDownloads_(e){const t=this.playlistController_[`${e}SegmentLoader_`];this[`${e}StalledDownloads_`]>0&&this.logger_(`resetting possible stalled download count for ${e} loader`),this[`${e}StalledDownloads_`]=0,this[`${e}Buffered_`]=t.buffered_()}checkSegmentDownloads_(e){const t=this.playlistController_,n=t[`${e}SegmentLoader_`],r=n.buffered_(),i=function(e,t){if(e===t)return!1;if(!e&&t||!t&&e)return!0;if(e.length!==t.length)return!0;for(let n=0;n<e.length;n++)if(e.start(n)!==t.start(n)||e.end(n)!==t.end(n))return!0;return!1}(this[`${e}Buffered_`],r);this[`${e}Buffered_`]=r,i?this.resetSegmentDownloads_(e):(this[`${e}StalledDownloads_`]++,this.logger_(`found #${this[`${e}StalledDownloads_`]} ${e} appends that did not increase buffer (possible stalled download)`,{playlistId:n.playlist_&&n.playlist_.id,buffered:Ua(r)}),this[`${e}StalledDownloads_`]<10||(this.logger_(`${e} loader stalled download exclusion`),this.resetSegmentDownloads_(e),this.tech_.trigger({type:"usage",name:`vhs-${e}-download-exclusion`}),"subtitle"!==e&&t.excludePlaylist({error:{message:`Excessive ${e} segment downloading detected.`},playlistExclusionDuration:1/0})))}checkCurrentTime_(){if(this.tech_.paused()||this.tech_.seeking())return;const e=this.tech_.currentTime(),t=this.tech_.buffered();if(this.lastRecordedTime===e&&(!t.length||e+Ra>=t.end(t.length-1)))return this.techWaiting_();this.consecutiveUpdates>=5&&e===this.lastRecordedTime?(this.consecutiveUpdates++,this.waiting_()):e===this.lastRecordedTime?this.consecutiveUpdates++:(this.consecutiveUpdates=0,this.lastRecordedTime=e)}resetTimeUpdate_(){this.consecutiveUpdates=0}fixesBadSeeks_(){if(!this.tech_.seeking())return!1;const e=this.seekable(),t=this.tech_.currentTime();let n;if(this.afterSeekableWindow_(e,t,this.media(),this.allowSeeksWithinUnsafeLiveWindow)){n=e.end(e.length-1)}if(this.beforeSeekableWindow_(e,t)){const t=e.start(0);n=t+(t===e.end(0)?0:Ra)}if(void 0!==n)return this.logger_(`Trying to seek outside of seekable at time ${t} with seekable range ${Ba(e)}. Seeking to ${n}.`),this.tech_.setCurrentTime(n),!0;const r=this.playlistController_.sourceUpdater_,i=this.tech_.buffered(),o=r.audioBuffer?r.audioBuffered():null,a=r.videoBuffer?r.videoBuffered():null,s=this.media(),u=s.partTargetDuration?s.partTargetDuration:2*(s.targetDuration-Ma),c=[o,a];for(let e=0;e<c.length;e++){if(!c[e])continue;if(za(c[e],t)<u)return!1}const l=Na(i,t);return 0!==l.length&&(n=l.start(0)+Ra,this.logger_(`Buffered region starts (${l.start(0)})  just beyond seek point (${t}). Seeking to ${n}.`),this.tech_.setCurrentTime(n),!0)}waiting_(){if(this.techWaiting_())return;const e=this.tech_.currentTime(),t=this.tech_.buffered(),n=Da(t,e);return n.length&&e+3<=n.end(0)?(this.resetTimeUpdate_(),this.tech_.setCurrentTime(e),this.logger_(`Stopped at ${e} while inside a buffered region [${n.start(0)} -> ${n.end(0)}]. Attempting to resume playback by seeking to the current time.`),void this.tech_.trigger({type:"usage",name:"vhs-unknown-waiting"})):void 0}techWaiting_(){const e=this.seekable(),t=this.tech_.currentTime();if(this.tech_.seeking())return!0;if(this.beforeSeekableWindow_(e,t)){const n=e.end(e.length-1);return this.logger_(`Fell out of live window at time ${t}. Seeking to live point (seekable end) ${n}`),this.resetTimeUpdate_(),this.tech_.setCurrentTime(n),this.tech_.trigger({type:"usage",name:"vhs-live-resync"}),!0}const n=this.tech_.vhs.playlistController_.sourceUpdater_,r=this.tech_.buffered();if(this.videoUnderflow_({audioBuffered:n.audioBuffered(),videoBuffered:n.videoBuffered(),currentTime:t}))return this.resetTimeUpdate_(),this.tech_.setCurrentTime(t),this.tech_.trigger({type:"usage",name:"vhs-video-underflow"}),!0;const i=Na(r,t);return i.length>0&&(this.logger_(`Stopped at ${t} and seeking to ${i.start(0)}`),this.resetTimeUpdate_(),this.skipTheGap_(t),!0)}afterSeekableWindow_(e,t,n,r=!1){if(!e.length)return!1;let i=e.end(e.length-1)+Ra;return!n.endList&&r&&(i=e.end(e.length-1)+3*n.targetDuration),t>i}beforeSeekableWindow_(e,t){return!!(e.length&&e.start(0)>0&&t<e.start(0)-this.liveRangeSafeTimeDelta)}videoUnderflow_({videoBuffered:e,audioBuffered:t,currentTime:n}){if(!e)return;let r;if(e.length&&t.length){const i=Da(e,n-3),o=Da(e,n),a=Da(t,n);a.length&&!o.length&&i.length&&(r={start:i.end(0),end:a.end(0)})}else{Na(e,n).length||(r=this.gapFromVideoUnderflow_(e,n))}return!!r&&(this.logger_(`Encountered a gap in video from ${r.start} to ${r.end}. Seeking to current time ${n}`),!0)}skipTheGap_(e){const t=this.tech_.buffered(),n=this.tech_.currentTime(),r=Na(t,n);this.resetTimeUpdate_(),0!==r.length&&n===e&&(this.logger_("skipTheGap_:","currentTime:",n,"scheduled currentTime:",e,"nextRange start:",r.start(0)),this.tech_.setCurrentTime(r.start(0)+Ma),this.tech_.trigger({type:"usage",name:"vhs-gap-skip"}))}gapFromVideoUnderflow_(e,t){const n=function(e){if(e.length<2)return Pa();const t=[];for(let n=1;n<e.length;n++){const r=e.end(n-1),i=e.start(n);t.push([r,i])}return Pa(t)}(e);for(let e=0;e<n.length;e++){const r=n.start(e),i=n.end(e);if(t-r<4&&t-r>2)return{start:r,end:i}}return null}}const Pc={errorInterval:30,getSource(e){return e(this.tech({IWillNotUseThisInPlugins:!0}).currentSource_||this.currentSource())}},Mc=function(e,t){let n=0,r=0;const i=Ia(Pc,t);e.ready((()=>{e.trigger({type:"usage",name:"vhs-error-reload-initialized"})}));const o=function(){r&&e.currentTime(r)},a=function(t){null!=t&&(r=e.duration()!==1/0&&e.currentTime()||0,e.one("loadedmetadata",o),e.src(t),e.trigger({type:"usage",name:"vhs-error-reload"}),e.play())},s=function(){if(Date.now()-n<1e3*i.errorInterval)e.trigger({type:"usage",name:"vhs-error-reload-canceled"});else{if(i.getSource&&"function"==typeof i.getSource)return n=Date.now(),i.getSource.call(e,a);Ta.log.error("ERROR: reloadSourceOnError - The option getSource must be a function!")}},u=function(){e.off("loadedmetadata",o),e.off("error",s),e.off("dispose",u)};e.on("error",s),e.on("dispose",u),e.reloadSourceOnError=function(t){u(),Mc(e,t)}},Rc=function(e){Mc(this,e)};var jc="3.0.2";const Dc={PlaylistLoader:bs,Playlist:os,utils:Is,STANDARD_PLAYLIST_SELECTOR:Lu,INITIAL_PLAYLIST_SELECTOR:function(){const e=this.playlists.main.playlists.filter(os.isEnabled);Eu(e,((e,t)=>Ou(e,t)));return e.filter((e=>!!Tu(this.playlists.main,e).video))[0]||null},lastBandwidthSelector:Lu,movingAverageBandwidthSelector:function(e){let t=-1,n=-1;if(e<0||e>1)throw new Error("Moving average bandwidth decay must be between 0 and 1.");return function(){const r=this.useDevicePixelRatio&&i().devicePixelRatio||1;return t<0&&(t=this.systemBandwidth,n=this.systemBandwidth),this.systemBandwidth>0&&this.systemBandwidth!==n&&(t=e*this.systemBandwidth+(1-e)*t,n=this.systemBandwidth),Cu(this.playlists.main,t,parseInt(ku(this.tech_.el(),"width"),10)*r,parseInt(ku(this.tech_.el(),"height"),10)*r,this.limitRenditionByPlayerDimensions,this.playlistController_)}},comparePlaylistBandwidth:Ou,comparePlaylistResolution:function(e,t){let n,r;return e.attributes.RESOLUTION&&e.attributes.RESOLUTION.width&&(n=e.attributes.RESOLUTION.width),n=n||i().Number.MAX_VALUE,t.attributes.RESOLUTION&&t.attributes.RESOLUTION.width&&(r=t.attributes.RESOLUTION.width),r=r||i().Number.MAX_VALUE,n===r&&e.attributes.BANDWIDTH&&t.attributes.BANDWIDTH?e.attributes.BANDWIDTH-t.attributes.BANDWIDTH:n-r},xhr:Ts()};Object.keys(Zs).forEach((e=>{Object.defineProperty(Dc,e,{get:()=>(Ta.log.warn(`using Vhs.${e} is UNSAFE be sure you know what you are doing`),Zs[e]),set(t){Ta.log.warn(`using Vhs.${e} is UNSAFE be sure you know what you are doing`),"number"!=typeof t||t<0?Ta.log.warn(`value of Vhs.${e} must be greater than or equal to 0`):Zs[e]=t}})}));const Nc="videojs-vhs",Bc=function(e,t){const n=t.media();let r=-1;for(let t=0;t<e.length;t++)if(e[t].id===n.id){r=t;break}e.selectedIndex_=r,e.trigger({selectedIndex:r,type:"change"})};Dc.canPlaySource=function(){return Ta.log.warn("VHS is no longer a tech. Please remove it from your player's techOrder.")};const Uc=({player:e,sourceKeySystems:t,audioMedia:n,mainPlaylists:r})=>{if(!e.eme.initializeMediaKeys)return Promise.resolve();const i=((e,t)=>e.reduce(((e,n)=>{if(!n.contentProtection)return e;const r=t.reduce(((e,t)=>{const r=n.contentProtection[t];return r&&r.pssh&&(e[t]={pssh:r.pssh}),e}),{});return Object.keys(r).length&&e.push(r),e}),[]))(n?r.concat([n]):r,Object.keys(t)),o=[],a=[];return i.forEach((t=>{a.push(new Promise(((t,n)=>{e.tech_.one("keysessioncreated",t)}))),o.push(new Promise(((n,r)=>{e.eme.initializeMediaKeys({keySystems:t},(e=>{e?r(e):n()}))})))})),Promise.race([Promise.all(o),Promise.race(a)])},Fc=({player:e,sourceKeySystems:t,media:n,audioMedia:r})=>{const i=((e,t,n)=>{if(!e)return e;let r={};t&&t.attributes&&t.attributes.CODECS&&(r=_u(D(t.attributes.CODECS))),n&&n.attributes&&n.attributes.CODECS&&(r.audio=n.attributes.CODECS);const i=B(r.video),o=B(r.audio),a={};for(const n in e)a[n]={},o&&(a[n].audioContentType=o),i&&(a[n].videoContentType=i),t.contentProtection&&t.contentProtection[n]&&t.contentProtection[n].pssh&&(a[n].pssh=t.contentProtection[n].pssh),"string"==typeof e[n]&&(a[n].url=e[n]);return Ia(e,a)})(t,n,r);return!!i&&(e.currentSource().keySystems=i,!(i&&!e.eme)||(Ta.log.warn("DRM encrypted source cannot be decrypted without a DRM plugin"),!1))},zc=()=>{if(!i().localStorage)return null;const e=i().localStorage.getItem(Nc);if(!e)return null;try{return JSON.parse(e)}catch(e){return null}};Dc.supportsNativeHls=function(){if(!a()||!a().createElement)return!1;const e=a().createElement("video");if(!Ta.getTech("Html5").isSupported())return!1;return["application/vnd.apple.mpegurl","audio/mpegurl","audio/x-mpegurl","application/x-mpegurl","video/x-mpegurl","video/mpegurl","application/mpegurl"].some((function(t){return/maybe|probably/i.test(e.canPlayType(t))}))}(),Dc.supportsNativeDash=!!(a()&&a().createElement&&Ta.getTech("Html5").isSupported())&&/maybe|probably/i.test(a().createElement("video").canPlayType("application/dash+xml")),Dc.supportsTypeNatively=e=>"hls"===e?Dc.supportsNativeHls:"dash"===e&&Dc.supportsNativeDash,Dc.isSupported=function(){return Ta.log.warn("VHS is no longer a tech. Please remove it from your player's techOrder.")};const Hc=Ta.getComponent("Component");class Zc extends Hc{constructor(e,t,n){if(super(t,n.vhs),"number"==typeof n.initialBandwidth&&(this.options_.bandwidth=n.initialBandwidth),this.logger_=Aa("VhsHandler"),t.options_&&t.options_.playerId){const e=Ta.getPlayer(t.options_.playerId);this.player_=e}if(this.tech_=t,this.source_=e,this.stats={},this.ignoreNextSeekingEvent_=!1,this.setOptions_(),this.options_.overrideNative&&t.overrideNativeAudioTracks&&t.overrideNativeVideoTracks)t.overrideNativeAudioTracks(!0),t.overrideNativeVideoTracks(!0);else if(this.options_.overrideNative&&(t.featuresNativeVideoTracks||t.featuresNativeAudioTracks))throw new Error("Overriding native VHS requires emulated tracks. See https://git.io/vMpjB");this.on(a(),["fullscreenchange","webkitfullscreenchange","mozfullscreenchange","MSFullscreenChange"],(e=>{const t=a().fullscreenElement||a().webkitFullscreenElement||a().mozFullScreenElement||a().msFullscreenElement;t&&t.contains(this.tech_.el())?this.playlistController_.fastQualityChange_():this.playlistController_.checkABR_()})),this.on(this.tech_,"seeking",(function(){this.ignoreNextSeekingEvent_?this.ignoreNextSeekingEvent_=!1:this.setCurrentTime(this.tech_.currentTime())})),this.on(this.tech_,"error",(function(){this.tech_.error()&&this.playlistController_&&this.playlistController_.pauseLoading()})),this.on(this.tech_,"play",this.play)}setOptions_(){if(this.options_.withCredentials=this.options_.withCredentials||!1,this.options_.limitRenditionByPlayerDimensions=!1!==this.options_.limitRenditionByPlayerDimensions,this.options_.useDevicePixelRatio=this.options_.useDevicePixelRatio||!1,this.options_.useBandwidthFromLocalStorage=void 0!==this.source_.useBandwidthFromLocalStorage?this.source_.useBandwidthFromLocalStorage:this.options_.useBandwidthFromLocalStorage||!1,this.options_.useNetworkInformationApi=this.options_.useNetworkInformationApi||!1,this.options_.useDtsForTimestampOffset=this.options_.useDtsForTimestampOffset||!1,this.options_.customTagParsers=this.options_.customTagParsers||[],this.options_.customTagMappers=this.options_.customTagMappers||[],this.options_.cacheEncryptionKeys=this.options_.cacheEncryptionKeys||!1,this.options_.llhls=!1!==this.options_.llhls,this.options_.bufferBasedABR=this.options_.bufferBasedABR||!1,"number"!=typeof this.options_.playlistExclusionDuration&&(this.options_.playlistExclusionDuration=300),"number"!=typeof this.options_.bandwidth&&this.options_.useBandwidthFromLocalStorage){const e=zc();e&&e.bandwidth&&(this.options_.bandwidth=e.bandwidth,this.tech_.trigger({type:"usage",name:"vhs-bandwidth-from-local-storage"})),e&&e.throughput&&(this.options_.throughput=e.throughput,this.tech_.trigger({type:"usage",name:"vhs-throughput-from-local-storage"}))}"number"!=typeof this.options_.bandwidth&&(this.options_.bandwidth=Zs.INITIAL_BANDWIDTH),this.options_.enableLowInitialPlaylist=this.options_.enableLowInitialPlaylist&&this.options_.bandwidth===Zs.INITIAL_BANDWIDTH,["withCredentials","useDevicePixelRatio","limitRenditionByPlayerDimensions","bandwidth","customTagParsers","customTagMappers","cacheEncryptionKeys","playlistSelector","initialPlaylistSelector","bufferBasedABR","liveRangeSafeTimeDelta","llhls","useNetworkInformationApi","useDtsForTimestampOffset","exactManifestTimings","leastPixelDiffSelector"].forEach((e=>{void 0!==this.source_[e]&&(this.options_[e]=this.source_[e])})),this.limitRenditionByPlayerDimensions=this.options_.limitRenditionByPlayerDimensions,this.useDevicePixelRatio=this.options_.useDevicePixelRatio}src(e,t){if(!e)return;var n;this.setOptions_(),this.options_.src=0===(n=this.source_.src).toLowerCase().indexOf("data:application/vnd.videojs.vhs+json,")?JSON.parse(n.substring(n.indexOf(",")+1)):n,this.options_.tech=this.tech_,this.options_.externVhs=Dc,this.options_.sourceType=q(t),this.options_.seekTo=e=>{this.tech_.setCurrentTime(e)},this.playlistController_=new Cc(this.options_);const r=Ia({liveRangeSafeTimeDelta:Ra},this.options_,{seekable:()=>this.seekable(),media:()=>this.playlistController_.media(),playlistController:this.playlistController_});this.playbackWatcher_=new Ic(r),this.playlistController_.on("error",(()=>{const e=Ta.players[this.tech_.options_.playerId];let t=this.playlistController_.error;"object"!=typeof t||t.code?"string"==typeof t&&(t={message:t,code:3}):t.code=3,e.error(t)}));const o=this.options_.bufferBasedABR?Dc.movingAverageBandwidthSelector(.55):Dc.STANDARD_PLAYLIST_SELECTOR;this.playlistController_.selectPlaylist=this.selectPlaylist?this.selectPlaylist.bind(this):o.bind(this),this.playlistController_.selectInitialPlaylist=Dc.INITIAL_PLAYLIST_SELECTOR.bind(this),this.playlists=this.playlistController_.mainPlaylistLoader_,this.mediaSource=this.playlistController_.mediaSource,Object.defineProperties(this,{selectPlaylist:{get(){return this.playlistController_.selectPlaylist},set(e){this.playlistController_.selectPlaylist=e.bind(this)}},throughput:{get(){return this.playlistController_.mainSegmentLoader_.throughput.rate},set(e){this.playlistController_.mainSegmentLoader_.throughput.rate=e,this.playlistController_.mainSegmentLoader_.throughput.count=1}},bandwidth:{get(){let e=this.playlistController_.mainSegmentLoader_.bandwidth;const t=i().navigator.connection||i().navigator.mozConnection||i().navigator.webkitConnection,n=1e7;if(this.options_.useNetworkInformationApi&&t){const r=1e3*t.downlink*1e3;e=r>=n&&e>=n?Math.max(e,r):r}return e},set(e){this.playlistController_.mainSegmentLoader_.bandwidth=e,this.playlistController_.mainSegmentLoader_.throughput={rate:0,count:0}}},systemBandwidth:{get(){const e=1/(this.bandwidth||1);let t;t=this.throughput>0?1/this.throughput:0;return Math.floor(1/(e+t))},set(){Ta.log.error('The "systemBandwidth" property is read-only')}}}),this.options_.bandwidth&&(this.bandwidth=this.options_.bandwidth),this.options_.throughput&&(this.throughput=this.options_.throughput),Object.defineProperties(this.stats,{bandwidth:{get:()=>this.bandwidth||0,enumerable:!0},mediaRequests:{get:()=>this.playlistController_.mediaRequests_()||0,enumerable:!0},mediaRequestsAborted:{get:()=>this.playlistController_.mediaRequestsAborted_()||0,enumerable:!0},mediaRequestsTimedout:{get:()=>this.playlistController_.mediaRequestsTimedout_()||0,enumerable:!0},mediaRequestsErrored:{get:()=>this.playlistController_.mediaRequestsErrored_()||0,enumerable:!0},mediaTransferDuration:{get:()=>this.playlistController_.mediaTransferDuration_()||0,enumerable:!0},mediaBytesTransferred:{get:()=>this.playlistController_.mediaBytesTransferred_()||0,enumerable:!0},mediaSecondsLoaded:{get:()=>this.playlistController_.mediaSecondsLoaded_()||0,enumerable:!0},mediaAppends:{get:()=>this.playlistController_.mediaAppends_()||0,enumerable:!0},mainAppendsToLoadedData:{get:()=>this.playlistController_.mainAppendsToLoadedData_()||0,enumerable:!0},audioAppendsToLoadedData:{get:()=>this.playlistController_.audioAppendsToLoadedData_()||0,enumerable:!0},appendsToLoadedData:{get:()=>this.playlistController_.appendsToLoadedData_()||0,enumerable:!0},timeToLoadedData:{get:()=>this.playlistController_.timeToLoadedData_()||0,enumerable:!0},buffered:{get:()=>Ua(this.tech_.buffered()),enumerable:!0},currentTime:{get:()=>this.tech_.currentTime(),enumerable:!0},currentSource:{get:()=>this.tech_.currentSource_,enumerable:!0},currentTech:{get:()=>this.tech_.name_,enumerable:!0},duration:{get:()=>this.tech_.duration(),enumerable:!0},main:{get:()=>this.playlists.main,enumerable:!0},playerDimensions:{get:()=>this.tech_.currentDimensions(),enumerable:!0},seekable:{get:()=>Ua(this.tech_.seekable()),enumerable:!0},timestamp:{get:()=>Date.now(),enumerable:!0},videoPlaybackQuality:{get:()=>this.tech_.getVideoPlaybackQuality(),enumerable:!0}}),this.tech_.one("canplay",this.playlistController_.setupFirstPlay.bind(this.playlistController_)),this.tech_.on("bandwidthupdate",(()=>{this.options_.useBandwidthFromLocalStorage&&(e=>{if(!i().localStorage)return!1;let t=zc();t=t?Ia(t,e):e;try{i().localStorage.setItem(Nc,JSON.stringify(t))}catch(e){return!1}})({bandwidth:this.bandwidth,throughput:Math.round(this.throughput)})})),this.playlistController_.on("selectedinitialmedia",(()=>{var e;(e=this).representations=()=>{const t=e.playlistController_.main(),n=is(t)?e.playlistController_.getAudioTrackPlaylists_():t.playlists;return n?n.filter((e=>!Qa(e))).map(((t,n)=>new Lc(e,t,t.id))):[]}})),this.playlistController_.sourceUpdater_.on("createdsourcebuffers",(()=>{this.setupEme_()})),this.on(this.playlistController_,"progress",(function(){this.tech_.trigger("progress")})),this.on(this.playlistController_,"firstplay",(function(){this.ignoreNextSeekingEvent_=!0})),this.setupQualityLevels_(),this.tech_.el()&&(this.mediaSourceUrl_=i().URL.createObjectURL(this.playlistController_.mediaSource),this.tech_.src(this.mediaSourceUrl_))}createKeySessions_(){const e=this.playlistController_.mediaTypes_.AUDIO.activePlaylistLoader;this.logger_("waiting for EME key session creation"),Uc({player:this.player_,sourceKeySystems:this.source_.keySystems,audioMedia:e&&e.media(),mainPlaylists:this.playlists.main.playlists}).then((()=>{this.logger_("created EME key session"),this.playlistController_.sourceUpdater_.initializedEme()})).catch((e=>{this.logger_("error while creating EME key session",e),this.player_.error({message:"Failed to initialize media keys for EME",code:3})}))}handleWaitingForKey_(){this.logger_("waitingforkey fired, attempting to create any new key sessions"),this.createKeySessions_()}setupEme_(){const e=this.playlistController_.mediaTypes_.AUDIO.activePlaylistLoader,t=Fc({player:this.player_,sourceKeySystems:this.source_.keySystems,media:this.playlists.media(),audioMedia:e&&e.media()});this.player_.tech_.on("keystatuschange",(e=>{if("output-restricted"!==e.status)return;const t=this.playlistController_.main();if(!t||!t.playlists)return;const n=[];t.playlists.forEach((e=>{e&&e.attributes&&e.attributes.RESOLUTION&&e.attributes.RESOLUTION.height>=720&&(!e.excludeUntil||e.excludeUntil<1/0)&&(e.excludeUntil=1/0,n.push(e))})),n.length&&(Ta.log.warn('DRM keystatus changed to "output-restricted." Removing the following HD playlists that will most likely fail to play and clearing the buffer. This may be due to HDCP restrictions on the stream and the capabilities of the current device.',...n),this.playlistController_.fastQualityChange_())})),this.handleWaitingForKey_=this.handleWaitingForKey_.bind(this),this.player_.tech_.on("waitingforkey",this.handleWaitingForKey_),11!==Ta.browser.IE_VERSION&&t?this.createKeySessions_():this.playlistController_.sourceUpdater_.initializedEme()}setupQualityLevels_(){const e=Ta.players[this.tech_.options_.playerId];e&&e.qualityLevels&&!this.qualityLevels_&&(this.qualityLevels_=e.qualityLevels(),this.playlistController_.on("selectedinitialmedia",(()=>{!function(e,t){t.representations().forEach((t=>{e.addQualityLevel(t)})),Bc(e,t.playlists)}(this.qualityLevels_,this)})),this.playlists.on("mediachange",(()=>{Bc(this.qualityLevels_,this.playlists)})))}static version(){return{"@videojs/http-streaming":jc,"mux.js":"6.3.0","mpd-parser":"1.0.1","m3u8-parser":"6.0.0","aes-decrypter":"4.0.1"}}version(){return this.constructor.version()}canChangeType(){return oc.canChangeType()}play(){this.playlistController_.play()}setCurrentTime(e){this.playlistController_.setCurrentTime(e)}duration(){return this.playlistController_.duration()}seekable(){return this.playlistController_.seekable()}dispose(){this.playbackWatcher_&&this.playbackWatcher_.dispose(),this.playlistController_&&this.playlistController_.dispose(),this.qualityLevels_&&this.qualityLevels_.dispose(),this.tech_&&this.tech_.vhs&&delete this.tech_.vhs,this.mediaSourceUrl_&&i().URL.revokeObjectURL&&(i().URL.revokeObjectURL(this.mediaSourceUrl_),this.mediaSourceUrl_=null),this.tech_&&this.tech_.off("waitingforkey",this.handleWaitingForKey_),super.dispose()}convertToProgramTime(e,t){return Ps({playlist:this.playlistController_.media(),time:e,callback:t})}seekToProgramTime(e,t,n=!0,r=2){return Ms({programTime:e,playlist:this.playlistController_.media(),retryCount:r,pauseAfterSeek:n,seekTo:this.options_.seekTo,tech:this.options_.tech,callback:t})}}const qc={name:"videojs-http-streaming",VERSION:jc,canHandleSource(e,t={}){const n=Ia(Ta.options,t);return qc.canPlayType(e.type,n)},handleSource(e,t,n={}){const r=Ia(Ta.options,n);return t.vhs=new Zc(e,t,r),t.vhs.xhr=Ts(),t.vhs.src(e.src,e.type),t.vhs},canPlayType(e,t){const n=q(e);if(!n)return"";const r=qc.getOverrideNative(t);return!Dc.supportsTypeNatively(n)||r?"maybe":""},getOverrideNative(e={}){const{vhs:t={}}=e,n=!(Ta.browser.IS_ANY_SAFARI||Ta.browser.IS_IOS),{overrideNative:r=n}=t;return r}};U("avc1.4d400d,mp4a.40.2")&&Ta.getTech("Html5").registerSourceHandler(qc,0),Ta.VhsHandler=Zc,Ta.VhsSourceHandler=qc,Ta.Vhs=Dc,Ta.use||Ta.registerComponent("Vhs",Dc),Ta.options.vhs=Ta.options.vhs||{},Ta.getPlugin&&Ta.getPlugin("reloadSourceOnError")||Ta.registerPlugin("reloadSourceOnError",Rc)},13407:function(e,t,n){var r=n(58908),i=e.exports={WebVTT:n(63706),VTTCue:n(22230),VTTRegion:n(13710)};r.vttjs=i,r.WebVTT=i.WebVTT;var o=i.VTTCue,a=i.VTTRegion,s=r.VTTCue,u=r.VTTRegion;i.shim=function(){r.VTTCue=o,r.VTTRegion=a},i.restore=function(){r.VTTCue=s,r.VTTRegion=u},r.VTTCue||i.shim()},63706:function(e,t,n){var r=n(89144),i=Object.create||function(){function e(){}return function(t){if(1!==arguments.length)throw new Error("Object.create shim only accepts one parameter.");return e.prototype=t,new e}}();function o(e,t){this.name="ParsingError",this.code=e.code,this.message=t||e.message}function a(e){function t(e,t,n,r){return 3600*(0|e)+60*(0|t)+(0|n)+(0|r)/1e3}var n=e.match(/^(\d+):(\d{1,2})(:\d{1,2})?\.(\d{3})/);return n?n[3]?t(n[1],n[2],n[3].replace(":",""),n[4]):n[1]>59?t(n[1],n[2],0,n[4]):t(0,n[1],n[2],n[4]):null}function s(){this.values=i(null)}function u(e,t,n,r){var i=r?e.split(r):[e];for(var o in i)if("string"==typeof i[o]){var a=i[o].split(n);if(2===a.length)t(a[0].trim(),a[1].trim())}}function c(e,t,n){var r=e;function i(){var t=a(e);if(null===t)throw new o(o.Errors.BadTimeStamp,"Malformed timestamp: "+r);return e=e.replace(/^[^\sa-zA-Z-]+/,""),t}function c(){e=e.replace(/^\s+/,"")}if(c(),t.startTime=i(),c(),"--\x3e"!==e.substr(0,3))throw new o(o.Errors.BadTimeStamp,"Malformed time stamp (time stamps must be separated by '--\x3e'): "+r);e=e.substr(3),c(),t.endTime=i(),c(),function(e,t){var r=new s;u(e,(function(e,t){switch(e){case"region":for(var i=n.length-1;i>=0;i--)if(n[i].id===t){r.set(e,n[i].region);break}break;case"vertical":r.alt(e,t,["rl","lr"]);break;case"line":var o=t.split(","),a=o[0];r.integer(e,a),r.percent(e,a)&&r.set("snapToLines",!1),r.alt(e,a,["auto"]),2===o.length&&r.alt("lineAlign",o[1],["start","center","end"]);break;case"position":o=t.split(","),r.percent(e,o[0]),2===o.length&&r.alt("positionAlign",o[1],["start","center","end"]);break;case"size":r.percent(e,t);break;case"align":r.alt(e,t,["start","center","end","left","right"])}}),/:/,/\s/),t.region=r.get("region",null),t.vertical=r.get("vertical","");try{t.line=r.get("line","auto")}catch(e){}t.lineAlign=r.get("lineAlign","start"),t.snapToLines=r.get("snapToLines",!0),t.size=r.get("size",100);try{t.align=r.get("align","center")}catch(e){t.align=r.get("align","middle")}try{t.position=r.get("position","auto")}catch(e){t.position=r.get("position",{start:0,left:0,center:50,middle:50,end:100,right:100},t.align)}t.positionAlign=r.get("positionAlign",{start:"start",left:"start",center:"center",middle:"center",end:"end",right:"end"},t.align)}(e,t)}o.prototype=i(Error.prototype),o.prototype.constructor=o,o.Errors={BadSignature:{code:0,message:"Malformed WebVTT signature."},BadTimeStamp:{code:1,message:"Malformed time stamp."}},s.prototype={set:function(e,t){this.get(e)||""===t||(this.values[e]=t)},get:function(e,t,n){return n?this.has(e)?this.values[e]:t[n]:this.has(e)?this.values[e]:t},has:function(e){return e in this.values},alt:function(e,t,n){for(var r=0;r<n.length;++r)if(t===n[r]){this.set(e,t);break}},integer:function(e,t){/^-?\d+$/.test(t)&&this.set(e,parseInt(t,10))},percent:function(e,t){return!!(t.match(/^([\d]{1,3})(\.[\d]*)?%$/)&&(t=parseFloat(t))>=0&&t<=100)&&(this.set(e,t),!0)}};var l=r.createElement&&r.createElement("textarea"),f={c:"span",i:"i",b:"b",u:"u",ruby:"ruby",rt:"rt",v:"span",lang:"span"},d={white:"rgba(255,255,255,1)",lime:"rgba(0,255,0,1)",cyan:"rgba(0,255,255,1)",red:"rgba(255,0,0,1)",yellow:"rgba(255,255,0,1)",magenta:"rgba(255,0,255,1)",blue:"rgba(0,0,255,1)",black:"rgba(0,0,0,1)"},p={v:"title",lang:"lang"},h={rt:"ruby"};function g(e,t){function n(){if(!t)return null;var e,n=t.match(/^([^<]*)(<[^>]*>?)?/);return e=n[1]?n[1]:n[2],t=t.substr(e.length),e}function r(e,t){return!h[t.localName]||h[t.localName]===e.localName}function i(t,n){var r=f[t];if(!r)return null;var i=e.document.createElement(r),o=p[t];return o&&n&&(i[o]=n.trim()),i}for(var o,s,u=e.document.createElement("div"),c=u,g=[];null!==(o=n());)if("<"!==o[0])c.appendChild(e.document.createTextNode((s=o,l.innerHTML=s,s=l.textContent,l.textContent="",s)));else{if("/"===o[1]){g.length&&g[g.length-1]===o.substr(2).replace(">","")&&(g.pop(),c=c.parentNode);continue}var m,y=a(o.substr(1,o.length-2));if(y){m=e.document.createProcessingInstruction("timestamp",y),c.appendChild(m);continue}var v=o.match(/^<([^.\s/0-9>]+)(\.[^\s\\>]+)?([^>\\]+)?(\\?)>?$/);if(!v)continue;if(!(m=i(v[1],v[3])))continue;if(!r(c,m))continue;if(v[2]){var b=v[2].split(".");b.forEach((function(e){var t=/^bg_/.test(e),n=t?e.slice(3):e;if(d.hasOwnProperty(n)){var r=t?"background-color":"color",i=d[n];m.style[r]=i}})),m.className=b.join(" ")}g.push(v[1]),c.appendChild(m),c=m}return u}var m=[[1470,1470],[1472,1472],[1475,1475],[1478,1478],[1488,1514],[1520,1524],[1544,1544],[1547,1547],[1549,1549],[1563,1563],[1566,1610],[1645,1647],[1649,1749],[1765,1766],[1774,1775],[1786,1805],[1807,1808],[1810,1839],[1869,1957],[1969,1969],[1984,2026],[2036,2037],[2042,2042],[2048,2069],[2074,2074],[2084,2084],[2088,2088],[2096,2110],[2112,2136],[2142,2142],[2208,2208],[2210,2220],[8207,8207],[64285,64285],[64287,64296],[64298,64310],[64312,64316],[64318,64318],[64320,64321],[64323,64324],[64326,64449],[64467,64829],[64848,64911],[64914,64967],[65008,65020],[65136,65140],[65142,65276],[67584,67589],[67592,67592],[67594,67637],[67639,67640],[67644,67644],[67647,67669],[67671,67679],[67840,67867],[67872,67897],[67903,67903],[67968,68023],[68030,68031],[68096,68096],[68112,68115],[68117,68119],[68121,68147],[68160,68167],[68176,68184],[68192,68223],[68352,68405],[68416,68437],[68440,68466],[68472,68479],[68608,68680],[126464,126467],[126469,126495],[126497,126498],[126500,126500],[126503,126503],[126505,126514],[126516,126519],[126521,126521],[126523,126523],[126530,126530],[126535,126535],[126537,126537],[126539,126539],[126541,126543],[126545,126546],[126548,126548],[126551,126551],[126553,126553],[126555,126555],[126557,126557],[126559,126559],[126561,126562],[126564,126564],[126567,126570],[126572,126578],[126580,126583],[126585,126588],[126590,126590],[126592,126601],[126603,126619],[126625,126627],[126629,126633],[126635,126651],[1114109,1114109]];function y(e){for(var t=0;t<m.length;t++){var n=m[t];if(e>=n[0]&&e<=n[1])return!0}return!1}function v(e){var t=[],n="";if(!e||!e.childNodes)return"ltr";function r(e,t){for(var n=t.childNodes.length-1;n>=0;n--)e.push(t.childNodes[n])}function i(e){if(!e||!e.length)return null;var t=e.pop(),n=t.textContent||t.innerText;if(n){var o=n.match(/^.*(\n|\r)/);return o?(e.length=0,o[0]):n}return"ruby"===t.tagName?i(e):t.childNodes?(r(e,t),i(e)):void 0}for(r(t,e);n=i(t);)for(var o=0;o<n.length;o++)if(y(n.charCodeAt(o)))return"rtl";return"ltr"}function b(){}function _(e,t,n){b.call(this),this.cue=t,this.cueDiv=g(e,t.text);var r={color:"rgba(255, 255, 255, 1)",backgroundColor:"rgba(0, 0, 0, 0.8)",position:"relative",left:0,right:0,top:0,bottom:0,display:"inline",writingMode:""===t.vertical?"horizontal-tb":"lr"===t.vertical?"vertical-lr":"vertical-rl",unicodeBidi:"plaintext"};this.applyStyles(r,this.cueDiv),this.div=e.document.createElement("div"),r={direction:v(this.cueDiv),writingMode:""===t.vertical?"horizontal-tb":"lr"===t.vertical?"vertical-lr":"vertical-rl",unicodeBidi:"plaintext",textAlign:"middle"===t.align?"center":t.align,font:n.font,whiteSpace:"pre-line",position:"absolute"},this.applyStyles(r),this.div.appendChild(this.cueDiv);var i=0;switch(t.positionAlign){case"start":i=t.position;break;case"center":i=t.position-t.size/2;break;case"end":i=t.position-t.size}""===t.vertical?this.applyStyles({left:this.formatStyle(i,"%"),width:this.formatStyle(t.size,"%")}):this.applyStyles({top:this.formatStyle(i,"%"),height:this.formatStyle(t.size,"%")}),this.move=function(e){this.applyStyles({top:this.formatStyle(e.top,"px"),bottom:this.formatStyle(e.bottom,"px"),left:this.formatStyle(e.left,"px"),right:this.formatStyle(e.right,"px"),height:this.formatStyle(e.height,"px"),width:this.formatStyle(e.width,"px")})}}function w(e){var t,n,r,i;if(e.div){n=e.div.offsetHeight,r=e.div.offsetWidth,i=e.div.offsetTop;var o=(o=e.div.childNodes)&&(o=o[0])&&o.getClientRects&&o.getClientRects();e=e.div.getBoundingClientRect(),t=o?Math.max(o[0]&&o[0].height||0,e.height/o.length):0}this.left=e.left,this.right=e.right,this.top=e.top||i,this.height=e.height||n,this.bottom=e.bottom||i+(e.height||n),this.width=e.width||r,this.lineHeight=void 0!==t?t:e.lineHeight}function T(e,t,n,r){var i=new w(t),o=t.cue,a=function(e){if("number"==typeof e.line&&(e.snapToLines||e.line>=0&&e.line<=100))return e.line;if(!e.track||!e.track.textTrackList||!e.track.textTrackList.mediaElement)return-1;for(var t=e.track,n=t.textTrackList,r=0,i=0;i<n.length&&n[i]!==t;i++)"showing"===n[i].mode&&r++;return-1*++r}(o),s=[];if(o.snapToLines){var u;switch(o.vertical){case"":s=["+y","-y"],u="height";break;case"rl":s=["+x","-x"],u="width";break;case"lr":s=["-x","+x"],u="width"}var c=i.lineHeight,l=c*Math.round(a),f=n[u]+c,d=s[0];Math.abs(l)>f&&(l=l<0?-1:1,l*=Math.ceil(f/c)*c),a<0&&(l+=""===o.vertical?n.height:n.width,s=s.reverse()),i.move(d,l)}else{var p=i.lineHeight/n.height*100;switch(o.lineAlign){case"center":a-=p/2;break;case"end":a-=p}switch(o.vertical){case"":t.applyStyles({top:t.formatStyle(a,"%")});break;case"rl":t.applyStyles({left:t.formatStyle(a,"%")});break;case"lr":t.applyStyles({right:t.formatStyle(a,"%")})}s=["+y","-x","+x","-y"],i=new w(t)}var h=function(e,t){for(var i,o=new w(e),a=1,s=0;s<t.length;s++){for(;e.overlapsOppositeAxis(n,t[s])||e.within(n)&&e.overlapsAny(r);)e.move(t[s]);if(e.within(n))return e;var u=e.intersectPercentage(n);a>u&&(i=new w(e),a=u),e=new w(o)}return i||o}(i,s);t.move(h.toCSSCompatValues(n))}function x(){}b.prototype.applyStyles=function(e,t){for(var n in t=t||this.div,e)e.hasOwnProperty(n)&&(t.style[n]=e[n])},b.prototype.formatStyle=function(e,t){return 0===e?0:e+t},_.prototype=i(b.prototype),_.prototype.constructor=_,w.prototype.move=function(e,t){switch(t=void 0!==t?t:this.lineHeight,e){case"+x":this.left+=t,this.right+=t;break;case"-x":this.left-=t,this.right-=t;break;case"+y":this.top+=t,this.bottom+=t;break;case"-y":this.top-=t,this.bottom-=t}},w.prototype.overlaps=function(e){return this.left<e.right&&this.right>e.left&&this.top<e.bottom&&this.bottom>e.top},w.prototype.overlapsAny=function(e){for(var t=0;t<e.length;t++)if(this.overlaps(e[t]))return!0;return!1},w.prototype.within=function(e){return this.top>=e.top&&this.bottom<=e.bottom&&this.left>=e.left&&this.right<=e.right},w.prototype.overlapsOppositeAxis=function(e,t){switch(t){case"+x":return this.left<e.left;case"-x":return this.right>e.right;case"+y":return this.top<e.top;case"-y":return this.bottom>e.bottom}},w.prototype.intersectPercentage=function(e){return Math.max(0,Math.min(this.right,e.right)-Math.max(this.left,e.left))*Math.max(0,Math.min(this.bottom,e.bottom)-Math.max(this.top,e.top))/(this.height*this.width)},w.prototype.toCSSCompatValues=function(e){return{top:this.top-e.top,bottom:e.bottom-this.bottom,left:this.left-e.left,right:e.right-this.right,height:this.height,width:this.width}},w.getSimpleBoxPosition=function(e){var t=e.div?e.div.offsetHeight:e.tagName?e.offsetHeight:0,n=e.div?e.div.offsetWidth:e.tagName?e.offsetWidth:0,r=e.div?e.div.offsetTop:e.tagName?e.offsetTop:0;return{left:(e=e.div?e.div.getBoundingClientRect():e.tagName?e.getBoundingClientRect():e).left,right:e.right,top:e.top||r,height:e.height||t,bottom:e.bottom||r+(e.height||t),width:e.width||n}},x.StringDecoder=function(){return{decode:function(e){if(!e)return"";if("string"!=typeof e)throw new Error("Error - expected string data.");return decodeURIComponent(encodeURIComponent(e))}}},x.convertCueToDOMTree=function(e,t){return e&&t?g(e,t):null};x.processCues=function(e,t,n){if(!e||!t||!n)return null;for(;n.firstChild;)n.removeChild(n.firstChild);var r=e.document.createElement("div");if(r.style.position="absolute",r.style.left="0",r.style.right="0",r.style.top="0",r.style.bottom="0",r.style.margin="1.5%",n.appendChild(r),function(e){for(var t=0;t<e.length;t++)if(e[t].hasBeenReset||!e[t].displayState)return!0;return!1}(t)){var i=[],o=w.getSimpleBoxPosition(r),a={font:Math.round(.05*o.height*100)/100+"px sans-serif"};!function(){for(var n,s,u=0;u<t.length;u++)s=t[u],n=new _(e,s,a),r.appendChild(n.div),T(0,n,o,i),s.displayState=n.div,i.push(w.getSimpleBoxPosition(n))}()}else for(var s=0;s<t.length;s++)r.appendChild(t[s].displayState)},x.Parser=function(e,t,n){n||(n=t,t={}),t||(t={}),this.window=e,this.vttjs=t,this.state="INITIAL",this.buffer="",this.decoder=n||new TextDecoder("utf8"),this.regionList=[]},x.Parser.prototype={reportOrThrowError:function(e){if(!(e instanceof o))throw e;this.onparsingerror&&this.onparsingerror(e)},parse:function(e){var t=this;function n(){for(var e=t.buffer,n=0;n<e.length&&"\r"!==e[n]&&"\n"!==e[n];)++n;var r=e.substr(0,n);return"\r"===e[n]&&++n,"\n"===e[n]&&++n,t.buffer=e.substr(n),r}function r(e){e.match(/X-TIMESTAMP-MAP/)?u(e,(function(e,n){if("X-TIMESTAMP-MAP"===e)!function(e){var n=new s;u(e,(function(e,t){switch(e){case"MPEGT":n.integer(e+"S",t);break;case"LOCA":n.set(e+"L",a(t))}}),/[^\d]:/,/,/),t.ontimestampmap&&t.ontimestampmap({MPEGTS:n.get("MPEGTS"),LOCAL:n.get("LOCAL")})}(n)}),/=/):u(e,(function(e,n){if("Region"===e)!function(e){var n=new s;if(u(e,(function(e,t){switch(e){case"id":n.set(e,t);break;case"width":n.percent(e,t);break;case"lines":n.integer(e,t);break;case"regionanchor":case"viewportanchor":var r=t.split(",");if(2!==r.length)break;var i=new s;if(i.percent("x",r[0]),i.percent("y",r[1]),!i.has("x")||!i.has("y"))break;n.set(e+"X",i.get("x")),n.set(e+"Y",i.get("y"));break;case"scroll":n.alt(e,t,["up"])}}),/=/,/\s/),n.has("id")){var r=new(t.vttjs.VTTRegion||t.window.VTTRegion);r.width=n.get("width",100),r.lines=n.get("lines",3),r.regionAnchorX=n.get("regionanchorX",0),r.regionAnchorY=n.get("regionanchorY",100),r.viewportAnchorX=n.get("viewportanchorX",0),r.viewportAnchorY=n.get("viewportanchorY",100),r.scroll=n.get("scroll",""),t.onregion&&t.onregion(r),t.regionList.push({id:n.get("id"),region:r})}}(n)}),/:/)}e&&(t.buffer+=t.decoder.decode(e,{stream:!0}));try{var i;if("INITIAL"===t.state){if(!/\r\n|\n/.test(t.buffer))return this;var l=(i=n()).match(/^WEBVTT([ \t].*)?$/);if(!l||!l[0])throw new o(o.Errors.BadSignature);t.state="HEADER"}for(var f=!1;t.buffer;){if(!/\r\n|\n/.test(t.buffer))return this;switch(f?f=!1:i=n(),t.state){case"HEADER":/:/.test(i)?r(i):i||(t.state="ID");continue;case"NOTE":i||(t.state="ID");continue;case"ID":if(/^NOTE($|[ \t])/.test(i)){t.state="NOTE";break}if(!i)continue;t.cue=new(t.vttjs.VTTCue||t.window.VTTCue)(0,0,"");try{t.cue.align="center"}catch(e){t.cue.align="middle"}if(t.state="CUE",-1===i.indexOf("--\x3e")){t.cue.id=i;continue}case"CUE":try{c(i,t.cue,t.regionList)}catch(e){t.reportOrThrowError(e),t.cue=null,t.state="BADCUE";continue}t.state="CUETEXT";continue;case"CUETEXT":var d=-1!==i.indexOf("--\x3e");if(!i||d&&(f=!0)){t.oncue&&t.oncue(t.cue),t.cue=null,t.state="ID";continue}t.cue.text&&(t.cue.text+="\n"),t.cue.text+=i.replace(/\u2028/g,"\n").replace(/u2029/g,"\n");continue;case"BADCUE":i||(t.state="ID");continue}}}catch(e){t.reportOrThrowError(e),"CUETEXT"===t.state&&t.cue&&t.oncue&&t.oncue(t.cue),t.cue=null,t.state="INITIAL"===t.state?"BADWEBVTT":"BADCUE"}return this},flush:function(){var e=this;try{if(e.buffer+=e.decoder.decode(),(e.cue||"HEADER"===e.state)&&(e.buffer+="\n\n",e.parse()),"INITIAL"===e.state)throw new o(o.Errors.BadSignature)}catch(t){e.reportOrThrowError(t)}return e.onflush&&e.onflush(),this}},e.exports=x},22230:function(e){var t={"":1,lr:1,rl:1},n={start:1,center:1,end:1,left:1,right:1,auto:1,"line-left":1,"line-right":1};function r(e){return"string"==typeof e&&(!!n[e.toLowerCase()]&&e.toLowerCase())}function i(e,n,i){this.hasBeenReset=!1;var o="",a=!1,s=e,u=n,c=i,l=null,f="",d=!0,p="auto",h="start",g="auto",m="auto",y=100,v="center";Object.defineProperties(this,{id:{enumerable:!0,get:function(){return o},set:function(e){o=""+e}},pauseOnExit:{enumerable:!0,get:function(){return a},set:function(e){a=!!e}},startTime:{enumerable:!0,get:function(){return s},set:function(e){if("number"!=typeof e)throw new TypeError("Start time must be set to a number.");s=e,this.hasBeenReset=!0}},endTime:{enumerable:!0,get:function(){return u},set:function(e){if("number"!=typeof e)throw new TypeError("End time must be set to a number.");u=e,this.hasBeenReset=!0}},text:{enumerable:!0,get:function(){return c},set:function(e){c=""+e,this.hasBeenReset=!0}},region:{enumerable:!0,get:function(){return l},set:function(e){l=e,this.hasBeenReset=!0}},vertical:{enumerable:!0,get:function(){return f},set:function(e){var n=function(e){return"string"==typeof e&&!!t[e.toLowerCase()]&&e.toLowerCase()}(e);if(!1===n)throw new SyntaxError("Vertical: an invalid or illegal direction string was specified.");f=n,this.hasBeenReset=!0}},snapToLines:{enumerable:!0,get:function(){return d},set:function(e){d=!!e,this.hasBeenReset=!0}},line:{enumerable:!0,get:function(){return p},set:function(e){if("number"!=typeof e&&"auto"!==e)throw new SyntaxError("Line: an invalid number or illegal string was specified.");p=e,this.hasBeenReset=!0}},lineAlign:{enumerable:!0,get:function(){return h},set:function(e){var t=r(e);t?(h=t,this.hasBeenReset=!0):console.warn("lineAlign: an invalid or illegal string was specified.")}},position:{enumerable:!0,get:function(){return g},set:function(e){if(e<0||e>100)throw new Error("Position must be between 0 and 100.");g=e,this.hasBeenReset=!0}},positionAlign:{enumerable:!0,get:function(){return m},set:function(e){var t=r(e);t?(m=t,this.hasBeenReset=!0):console.warn("positionAlign: an invalid or illegal string was specified.")}},size:{enumerable:!0,get:function(){return y},set:function(e){if(e<0||e>100)throw new Error("Size must be between 0 and 100.");y=e,this.hasBeenReset=!0}},align:{enumerable:!0,get:function(){return v},set:function(e){var t=r(e);if(!t)throw new SyntaxError("align: an invalid or illegal alignment string was specified.");v=t,this.hasBeenReset=!0}}}),this.displayState=void 0}i.prototype.getCueAsHTML=function(){return WebVTT.convertCueToDOMTree(window,this.text)},e.exports=i},13710:function(e){var t={"":!0,up:!0};function n(e){return"number"==typeof e&&e>=0&&e<=100}e.exports=function(){var e=100,r=3,i=0,o=100,a=0,s=100,u="";Object.defineProperties(this,{width:{enumerable:!0,get:function(){return e},set:function(t){if(!n(t))throw new Error("Width must be between 0 and 100.");e=t}},lines:{enumerable:!0,get:function(){return r},set:function(e){if("number"!=typeof e)throw new TypeError("Lines must be set to a number.");r=e}},regionAnchorY:{enumerable:!0,get:function(){return o},set:function(e){if(!n(e))throw new Error("RegionAnchorX must be between 0 and 100.");o=e}},regionAnchorX:{enumerable:!0,get:function(){return i},set:function(e){if(!n(e))throw new Error("RegionAnchorY must be between 0 and 100.");i=e}},viewportAnchorY:{enumerable:!0,get:function(){return s},set:function(e){if(!n(e))throw new Error("ViewportAnchorY must be between 0 and 100.");s=e}},viewportAnchorX:{enumerable:!0,get:function(){return a},set:function(e){if(!n(e))throw new Error("ViewportAnchorX must be between 0 and 100.");a=e}},scroll:{enumerable:!0,get:function(){return u},set:function(e){var n=function(e){return"string"==typeof e&&!!t[e.toLowerCase()]&&e.toLowerCase()}(e);!1===n?console.warn("Scroll: an invalid or illegal string was specified."):u=n}}})}},30670:function(e){"use strict";e.exports=function(){}},75933:function(e,t,n){var r;!function(){function i(e,t,n){return e.call.apply(e.bind,arguments)}function o(e,t,n){if(!e)throw Error();if(2<arguments.length){var r=Array.prototype.slice.call(arguments,2);return function(){var n=Array.prototype.slice.call(arguments);return Array.prototype.unshift.apply(n,r),e.apply(t,n)}}return function(){return e.apply(t,arguments)}}function a(e,t,n){return(a=Function.prototype.bind&&-1!=Function.prototype.bind.toString().indexOf("native code")?i:o).apply(null,arguments)}var s=Date.now||function(){return+new Date};function u(e,t){this.a=e,this.o=t||e,this.c=this.o.document}var c=!!window.FontFace;function l(e,t,n,r){if(t=e.c.createElement(t),n)for(var i in n)n.hasOwnProperty(i)&&("style"==i?t.style.cssText=n[i]:t.setAttribute(i,n[i]));return r&&t.appendChild(e.c.createTextNode(r)),t}function f(e,t,n){(e=e.c.getElementsByTagName(t)[0])||(e=document.documentElement),e.insertBefore(n,e.lastChild)}function d(e){e.parentNode&&e.parentNode.removeChild(e)}function p(e,t,n){t=t||[],n=n||[];for(var r=e.className.split(/\s+/),i=0;i<t.length;i+=1){for(var o=!1,a=0;a<r.length;a+=1)if(t[i]===r[a]){o=!0;break}o||r.push(t[i])}for(t=[],i=0;i<r.length;i+=1){for(o=!1,a=0;a<n.length;a+=1)if(r[i]===n[a]){o=!0;break}o||t.push(r[i])}e.className=t.join(" ").replace(/\s+/g," ").replace(/^\s+|\s+$/,"")}function h(e,t){for(var n=e.className.split(/\s+/),r=0,i=n.length;r<i;r++)if(n[r]==t)return!0;return!1}function g(e,t,n){function r(){s&&i&&o&&(s(a),s=null)}t=l(e,"link",{rel:"stylesheet",href:t,media:"all"});var i=!1,o=!0,a=null,s=n||null;c?(t.onload=function(){i=!0,r()},t.onerror=function(){i=!0,a=Error("Stylesheet failed to load"),r()}):setTimeout((function(){i=!0,r()}),0),f(e,"head",t)}function m(e,t,n,r){var i=e.c.getElementsByTagName("head")[0];if(i){var o=l(e,"script",{src:t}),a=!1;return o.onload=o.onreadystatechange=function(){a||this.readyState&&"loaded"!=this.readyState&&"complete"!=this.readyState||(a=!0,n&&n(null),o.onload=o.onreadystatechange=null,"HEAD"==o.parentNode.tagName&&i.removeChild(o))},i.appendChild(o),setTimeout((function(){a||(a=!0,n&&n(Error("Script load timeout")))}),r||5e3),o}return null}function y(){this.a=0,this.c=null}function v(e){return e.a++,function(){e.a--,_(e)}}function b(e,t){e.c=t,_(e)}function _(e){0==e.a&&e.c&&(e.c(),e.c=null)}function w(e){this.a=e||"-"}function T(e,t){this.c=e,this.f=4,this.a="n";var n=(t||"n4").match(/^([nio])([1-9])$/i);n&&(this.a=n[1],this.f=parseInt(n[2],10))}function x(e){var t=[];e=e.split(/,\s*/);for(var n=0;n<e.length;n++){var r=e[n].replace(/['"]/g,"");-1!=r.indexOf(" ")||/^\d/.test(r)?t.push("'"+r+"'"):t.push(r)}return t.join(",")}function S(e){return e.a+e.f}function k(e){var t="normal";return"o"===e.a?t="oblique":"i"===e.a&&(t="italic"),t}function E(e){var t=4,n="n",r=null;return e&&((r=e.match(/(normal|oblique|italic)/i))&&r[1]&&(n=r[1].substr(0,1).toLowerCase()),(r=e.match(/([1-9]00|normal|bold)/i))&&r[1]&&(/bold/i.test(r[1])?t=7:/[1-9]00/.test(r[1])&&(t=parseInt(r[1].substr(0,1),10)))),n+t}function O(e,t){this.c=e,this.f=e.o.document.documentElement,this.h=t,this.a=new w("-"),this.j=!1!==t.events,this.g=!1!==t.classes}function C(e){if(e.g){var t=h(e.f,e.a.c("wf","active")),n=[],r=[e.a.c("wf","loading")];t||n.push(e.a.c("wf","inactive")),p(e.f,n,r)}L(e,"inactive")}function L(e,t,n){e.j&&e.h[t]&&(n?e.h[t](n.c,S(n)):e.h[t]())}function A(){this.c={}}function I(e,t){this.c=e,this.f=t,this.a=l(this.c,"span",{"aria-hidden":"true"},this.f)}function P(e){f(e.c,"body",e.a)}function M(e){return"display:block;position:absolute;top:-9999px;left:-9999px;font-size:300px;width:auto;height:auto;line-height:normal;margin:0;padding:0;font-variant:normal;white-space:nowrap;font-family:"+x(e.c)+";font-style:"+k(e)+";font-weight:"+e.f+"00;"}function R(e,t,n,r,i,o){this.g=e,this.j=t,this.a=r,this.c=n,this.f=i||3e3,this.h=o||void 0}function j(e,t,n,r,i,o,a){this.v=e,this.B=t,this.c=n,this.a=r,this.s=a||"BESbswy",this.f={},this.w=i||3e3,this.u=o||null,this.m=this.j=this.h=this.g=null,this.g=new I(this.c,this.s),this.h=new I(this.c,this.s),this.j=new I(this.c,this.s),this.m=new I(this.c,this.s),e=M(e=new T(this.a.c+",serif",S(this.a))),this.g.a.style.cssText=e,e=M(e=new T(this.a.c+",sans-serif",S(this.a))),this.h.a.style.cssText=e,e=M(e=new T("serif",S(this.a))),this.j.a.style.cssText=e,e=M(e=new T("sans-serif",S(this.a))),this.m.a.style.cssText=e,P(this.g),P(this.h),P(this.j),P(this.m)}w.prototype.c=function(e){for(var t=[],n=0;n<arguments.length;n++)t.push(arguments[n].replace(/[\W_]+/g,"").toLowerCase());return t.join(this.a)},R.prototype.start=function(){var e=this.c.o.document,t=this,n=s(),r=new Promise((function(r,i){!function o(){s()-n>=t.f?i():e.fonts.load(function(e){return k(e)+" "+e.f+"00 300px "+x(e.c)}(t.a),t.h).then((function(e){1<=e.length?r():setTimeout(o,25)}),(function(){i()}))}()})),i=null,o=new Promise((function(e,n){i=setTimeout(n,t.f)}));Promise.race([o,r]).then((function(){i&&(clearTimeout(i),i=null),t.g(t.a)}),(function(){t.j(t.a)}))};var D={D:"serif",C:"sans-serif"},N=null;function B(){if(null===N){var e=/AppleWebKit\/([0-9]+)(?:\.([0-9]+))/.exec(window.navigator.userAgent);N=!!e&&(536>parseInt(e[1],10)||536===parseInt(e[1],10)&&11>=parseInt(e[2],10))}return N}function U(e,t,n){for(var r in D)if(D.hasOwnProperty(r)&&t===e.f[D[r]]&&n===e.f[D[r]])return!0;return!1}function F(e){var t,n=e.g.a.offsetWidth,r=e.h.a.offsetWidth;(t=n===e.f.serif&&r===e.f["sans-serif"])||(t=B()&&U(e,n,r)),t?s()-e.A>=e.w?B()&&U(e,n,r)&&(null===e.u||e.u.hasOwnProperty(e.a.c))?z(e,e.v):z(e,e.B):function(e){setTimeout(a((function(){F(this)}),e),50)}(e):z(e,e.v)}function z(e,t){setTimeout(a((function(){d(this.g.a),d(this.h.a),d(this.j.a),d(this.m.a),t(this.a)}),e),0)}function H(e,t,n){this.c=e,this.a=t,this.f=0,this.m=this.j=!1,this.s=n}j.prototype.start=function(){this.f.serif=this.j.a.offsetWidth,this.f["sans-serif"]=this.m.a.offsetWidth,this.A=s(),F(this)};var Z=null;function q(e){0==--e.f&&e.j&&(e.m?((e=e.a).g&&p(e.f,[e.a.c("wf","active")],[e.a.c("wf","loading"),e.a.c("wf","inactive")]),L(e,"active")):C(e.a))}function V(e){this.j=e,this.a=new A,this.h=0,this.f=this.g=!0}function W(e,t,n,r,i){var o=0==--e.h;(e.f||e.g)&&setTimeout((function(){var e=i||null,s=r||{};if(0===n.length&&o)C(t.a);else{t.f+=n.length,o&&(t.j=o);var u,c=[];for(u=0;u<n.length;u++){var l=n[u],f=s[l.c],d=t.a,h=l;if(d.g&&p(d.f,[d.a.c("wf",h.c,S(h).toString(),"loading")]),L(d,"fontloading",h),d=null,null===Z)if(window.FontFace){h=/Gecko.*Firefox\/(\d+)/.exec(window.navigator.userAgent);var g=/OS X.*Version\/10\..*Safari/.exec(window.navigator.userAgent)&&/Apple/.exec(window.navigator.vendor);Z=h?42<parseInt(h[1],10):!g}else Z=!1;d=Z?new R(a(t.g,t),a(t.h,t),t.c,l,t.s,f):new j(a(t.g,t),a(t.h,t),t.c,l,t.s,e,f),c.push(d)}for(u=0;u<c.length;u++)c[u].start()}}),0)}function G(e,t){this.c=e,this.a=t}function $(e,t){this.c=e,this.a=t}function Y(e,t){this.c=e||K,this.a=[],this.f=[],this.g=t||""}H.prototype.g=function(e){var t=this.a;t.g&&p(t.f,[t.a.c("wf",e.c,S(e).toString(),"active")],[t.a.c("wf",e.c,S(e).toString(),"loading"),t.a.c("wf",e.c,S(e).toString(),"inactive")]),L(t,"fontactive",e),this.m=!0,q(this)},H.prototype.h=function(e){var t=this.a;if(t.g){var n=h(t.f,t.a.c("wf",e.c,S(e).toString(),"active")),r=[],i=[t.a.c("wf",e.c,S(e).toString(),"loading")];n||r.push(t.a.c("wf",e.c,S(e).toString(),"inactive")),p(t.f,r,i)}L(t,"fontinactive",e),q(this)},V.prototype.load=function(e){this.c=new u(this.j,e.context||this.j),this.g=!1!==e.events,this.f=!1!==e.classes,function(e,t,n){var r=[],i=n.timeout;!function(e){e.g&&p(e.f,[e.a.c("wf","loading")]),L(e,"loading")}(t);r=function(e,t,n){var r,i=[];for(r in t)if(t.hasOwnProperty(r)){var o=e.c[r];o&&i.push(o(t[r],n))}return i}(e.a,n,e.c);var o=new H(e.c,t,i);for(e.h=r.length,t=0,n=r.length;t<n;t++)r[t].load((function(t,n,r){W(e,o,t,n,r)}))}(this,new O(this.c,e),e)},G.prototype.load=function(e){function t(){if(o["__mti_fntLst"+r]){var n,i=o["__mti_fntLst"+r](),a=[];if(i)for(var s=0;s<i.length;s++){var u=i[s].fontfamily;null!=i[s].fontStyle&&null!=i[s].fontWeight?(n=i[s].fontStyle+i[s].fontWeight,a.push(new T(u,n))):a.push(new T(u))}e(a)}else setTimeout((function(){t()}),50)}var n=this,r=n.a.projectId,i=n.a.version;if(r){var o=n.c.o;m(this.c,(n.a.api||"https://fast.fonts.net/jsapi")+"/"+r+".js"+(i?"?v="+i:""),(function(i){i?e([]):(o["__MonotypeConfiguration__"+r]=function(){return n.a},t())})).id="__MonotypeAPIScript__"+r}else e([])},$.prototype.load=function(e){var t,n,r=this.a.urls||[],i=this.a.families||[],o=this.a.testStrings||{},a=new y;for(t=0,n=r.length;t<n;t++)g(this.c,r[t],v(a));var s=[];for(t=0,n=i.length;t<n;t++)if((r=i[t].split(":"))[1])for(var u=r[1].split(","),c=0;c<u.length;c+=1)s.push(new T(r[0],u[c]));else s.push(new T(r[0]));b(a,(function(){e(s,o)}))};var K="https://fonts.googleapis.com/css";function X(e){this.f=e,this.a=[],this.c={}}var Q={latin:"BESbswy","latin-ext":"çöüğş",cyrillic:"йяЖ",greek:"αβΣ",khmer:"កខគ",Hanuman:"កខគ"},J={thin:"1",extralight:"2","extra-light":"2",ultralight:"2","ultra-light":"2",light:"3",regular:"4",book:"4",medium:"5","semi-bold":"6",semibold:"6","demi-bold":"6",demibold:"6",bold:"7","extra-bold":"8",extrabold:"8","ultra-bold":"8",ultrabold:"8",black:"9",heavy:"9",l:"3",r:"4",b:"7"},ee={i:"i",italic:"i",n:"n",normal:"n"},te=/^(thin|(?:(?:extra|ultra)-?)?light|regular|book|medium|(?:(?:semi|demi|extra|ultra)-?)?bold|black|heavy|l|r|b|[1-9]00)?(n|i|normal|italic)?$/;function ne(e,t){this.c=e,this.a=t}var re={Arimo:!0,Cousine:!0,Tinos:!0};function ie(e,t){this.c=e,this.a=t}function oe(e,t){this.c=e,this.f=t,this.a=[]}ne.prototype.load=function(e){var t=new y,n=this.c,r=new Y(this.a.api,this.a.text),i=this.a.families;!function(e,t){for(var n=t.length,r=0;r<n;r++){var i=t[r].split(":");3==i.length&&e.f.push(i.pop());var o="";2==i.length&&""!=i[1]&&(o=":"),e.a.push(i.join(o))}}(r,i);var o=new X(i);!function(e){for(var t=e.f.length,n=0;n<t;n++){var r=e.f[n].split(":"),i=r[0].replace(/\+/g," "),o=["n4"];if(2<=r.length){var a;if(a=[],s=r[1])for(var s,u=(s=s.split(",")).length,c=0;c<u;c++){var l;if((l=s[c]).match(/^[\w-]+$/))if(null==(f=te.exec(l.toLowerCase())))l="";else{if(l=null==(l=f[2])||""==l?"n":ee[l],null==(f=f[1])||""==f)f="4";else var f=J[f]||(isNaN(f)?"4":f.substr(0,1));l=[l,f].join("")}else l="";l&&a.push(l)}0<a.length&&(o=a),3==r.length&&(a=[],0<(r=(r=r[2])?r.split(","):a).length&&(r=Q[r[0]])&&(e.c[i]=r))}for(e.c[i]||(r=Q[i])&&(e.c[i]=r),r=0;r<o.length;r+=1)e.a.push(new T(i,o[r]))}}(o),g(n,function(e){if(0==e.a.length)throw Error("No fonts to load!");if(-1!=e.c.indexOf("kit="))return e.c;for(var t=e.a.length,n=[],r=0;r<t;r++)n.push(e.a[r].replace(/ /g,"+"));return t=e.c+"?family="+n.join("%7C"),0<e.f.length&&(t+="&subset="+e.f.join(",")),0<e.g.length&&(t+="&text="+encodeURIComponent(e.g)),t}(r),v(t)),b(t,(function(){e(o.a,o.c,re)}))},ie.prototype.load=function(e){var t=this.a.id,n=this.c.o;t?m(this.c,(this.a.api||"https://use.typekit.net")+"/"+t+".js",(function(t){if(t)e([]);else if(n.Typekit&&n.Typekit.config&&n.Typekit.config.fn){t=n.Typekit.config.fn;for(var r=[],i=0;i<t.length;i+=2)for(var o=t[i],a=t[i+1],s=0;s<a.length;s++)r.push(new T(o,a[s]));try{n.Typekit.load({events:!1,classes:!1,async:!0})}catch(e){}e(r)}}),2e3):e([])},oe.prototype.load=function(e){var t=this.f.id,n=this.c.o,r=this;t?(n.__webfontfontdeckmodule__||(n.__webfontfontdeckmodule__={}),n.__webfontfontdeckmodule__[t]=function(t,n){for(var i=0,o=n.fonts.length;i<o;++i){var a=n.fonts[i];r.a.push(new T(a.name,E("font-weight:"+a.weight+";font-style:"+a.style)))}e(r.a)},m(this.c,(this.f.api||"https://f.fontdeck.com/s/css/js/")+function(e){return e.o.location.hostname||e.a.location.hostname}(this.c)+"/"+t+".js",(function(t){t&&e([])}))):e([])};var ae=new V(window);ae.a.c.custom=function(e,t){return new $(t,e)},ae.a.c.fontdeck=function(e,t){return new oe(t,e)},ae.a.c.monotype=function(e,t){return new G(t,e)},ae.a.c.typekit=function(e,t){return new ie(t,e)},ae.a.c.google=function(e,t){return new ne(t,e)};var se={load:a(ae.load,ae)};void 0===(r=function(){return se}.call(t,n,t,e))||(e.exports=r)}()},47529:function(e){e.exports=function(){for(var e={},n=0;n<arguments.length;n++){var r=arguments[n];for(var i in r)t.call(r,i)&&(e[i]=r[i])}return e};var t=Object.prototype.hasOwnProperty},10349:function(e,t,n){e.exports=n(51714)},98235:function(e,t,n){e.exports=n(25122)},19389:function(e,t,n){e.exports=n(78458)},92381:function(e,t,n){e.exports=n(34153)},48216:function(e,t,n){e.exports=n(65600)},8571:function(e,t,n){e.exports=n(28266)},61539:function(e,t,n){e.exports=n(44399)},40703:function(e,t,n){e.exports=n(39367)},18033:function(e,t,n){e.exports=n(22005)},73324:function(e,t,n){e.exports=n(34748)},13464:function(e,t,n){e.exports=n(83696)},86981:function(e,t,n){e.exports=n(76516)},99595:function(e,t,n){e.exports=n(56368)},91829:function(e,t,n){e.exports=n(93739)},51791:function(e,t,n){e.exports=n(89151)},29898:function(e,t,n){e.exports=n(17654)},88946:function(e,t,n){e.exports=n(57762)},7488:function(e,t,n){e.exports=n(81004)},86526:function(e,t,n){e.exports=n(13885)},35704:function(e,t,n){e.exports=n(89329)},76555:function(e,t,n){e.exports=n(38755)},45181:function(e,t,n){e.exports=n(55781)},84705:function(e,t,n){e.exports=n(53185)},89221:function(e,t,n){e.exports=n(88235)},58218:function(e,t,n){e.exports=n(59829)},54847:function(e,t,n){e.exports=n(65560)},59898:function(e,t,n){e.exports=n(41047)},31634:function(e,t,n){e.exports=n(40911)},14051:function(e,t,n){e.exports=n(85655)},60312:function(e,t,n){e.exports=n(23482)},35293:function(e,t,n){e.exports=n(87034)},73672:function(e,t,n){e.exports=n(83734)},67552:function(e,t,n){e.exports=n(20711)},3841:function(e,t,n){e.exports=n(86488)},57445:function(e,t,n){e.exports=n(8827)},39290:function(e,t,n){e.exports=n(56581)},88546:function(e,t,n){e.exports=n(41633)},66775:function(e,t,n){e.exports=n(20344)},52020:function(e,t,n){e.exports=n(48909)},39272:function(e,t,n){e.exports=n(6258)},42692:function(e,t,n){e.exports=n(57602)},62079:function(e,t,n){e.exports=n(11024)},92984:function(e,t,n){e.exports=n(44705)},31082:function(e,t,n){e.exports=n(12232)},35820:function(e,t,n){e.exports=n(44565)},3563:function(e,t,n){e.exports=n(73637)},24835:function(e,t,n){e.exports=n(80407)},25926:function(e,t,n){e.exports=n(19502)},23513:function(e,t,n){e.exports=n(63969)},52472:function(e,t,n){e.exports=n(21085)},48994:function(e,t,n){e.exports=n(21277)},40024:function(e,t,n){e.exports=n(90007)},57170:function(e,t,n){e.exports=n(34976)},81290:function(e,t,n){e.exports=n(41680)},98186:function(e,t,n){e.exports=n(95214)},5177:function(e,t,n){var r=n(20474).default,i=n(57445),o=n(52472),a=n(3841),s=n(39272),u=n(99595),c=n(92984),l=n(35820),f=n(86526),d=n(35704);function p(){"use strict";e.exports=p=function(){return t},e.exports.__esModule=!0,e.exports.default=e.exports;var t={},n=Object.prototype,h=n.hasOwnProperty,g=i||function(e,t,n){e[t]=n.value},m="function"==typeof o?o:{},y=m.iterator||"@@iterator",v=m.asyncIterator||"@@asyncIterator",b=m.toStringTag||"@@toStringTag";function _(e,t,n){return i(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{_({},"")}catch(e){_=function(e,t,n){return e[t]=n}}function w(e,t,n,r){var i=t&&t.prototype instanceof S?t:S,o=a(i.prototype),s=new D(r||[]);return g(o,"_invoke",{value:P(e,n,s)}),o}function T(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}t.wrap=w;var x={};function S(){}function k(){}function E(){}var O={};_(O,y,(function(){return this}));var C=s&&s(s(N([])));C&&C!==n&&h.call(C,y)&&(O=C);var L=E.prototype=S.prototype=a(O);function A(e){var t;u(t=["next","throw","return"]).call(t,(function(t){_(e,t,(function(e){return this._invoke(t,e)}))}))}function I(e,t){function n(i,o,a,s){var u=T(e[i],e,o);if("throw"!==u.type){var c=u.arg,l=c.value;return l&&"object"==r(l)&&h.call(l,"__await")?t.resolve(l.__await).then((function(e){n("next",e,a,s)}),(function(e){n("throw",e,a,s)})):t.resolve(l).then((function(e){c.value=e,a(c)}),(function(e){return n("throw",e,a,s)}))}s(u.arg)}var i;g(this,"_invoke",{value:function(e,r){function o(){return new t((function(t,i){n(e,r,t,i)}))}return i=i?i.then(o,o):o()}})}function P(e,t,n){var r="suspendedStart";return function(i,o){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===i)throw o;return B()}for(n.method=i,n.arg=o;;){var a=n.delegate;if(a){var s=M(a,n);if(s){if(s===x)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var u=T(e,t,n);if("normal"===u.type){if(r=n.done?"completed":"suspendedYield",u.arg===x)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(r="completed",n.method="throw",n.arg=u.arg)}}}function M(e,t){var n=t.method,r=e.iterator[n];if(void 0===r)return t.delegate=null,"throw"===n&&e.iterator.return&&(t.method="return",t.arg=void 0,M(e,t),"throw"===t.method)||"return"!==n&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+n+"' method")),x;var i=T(r,e.iterator,t.arg);if("throw"===i.type)return t.method="throw",t.arg=i.arg,t.delegate=null,x;var o=i.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,x):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,x)}function R(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function j(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function D(e){this.tryEntries=[{tryLoc:"root"}],u(e).call(e,R,this),this.reset(!0)}function N(e){if(e){var t=e[y];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,r=function t(){for(;++n<e.length;)if(h.call(e,n))return t.value=e[n],t.done=!1,t;return t.value=void 0,t.done=!0,t};return r.next=r}}return{next:B}}function B(){return{value:void 0,done:!0}}return k.prototype=E,g(L,"constructor",{value:E,configurable:!0}),g(E,"constructor",{value:k,configurable:!0}),k.displayName=_(E,b,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===k||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return c?c(e,E):(e.__proto__=E,_(e,b,"GeneratorFunction")),e.prototype=a(L),e},t.awrap=function(e){return{__await:e}},A(I.prototype),_(I.prototype,v,(function(){return this})),t.AsyncIterator=I,t.async=function(e,n,r,i,o){void 0===o&&(o=l);var a=new I(w(e,n,r,i),o);return t.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},A(L),_(L,b,"Generator"),_(L,y,(function(){return this})),_(L,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return f(n).call(n),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},t.values=N,D.prototype={constructor:D,reset:function(e){var t;if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,u(t=this.tryEntries).call(t,j),!e)for(var n in this)"t"===n.charAt(0)&&h.call(this,n)&&!isNaN(+d(n).call(n,1))&&(this[n]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function n(n,r){return o.type="throw",o.arg=e,t.next=n,r&&(t.method="next",t.arg=void 0),!!r}for(var r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r],o=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var a=h.call(i,"catchLoc"),s=h.call(i,"finallyLoc");if(a&&s){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(a){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&h.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var i=r;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var o=i?i.completion:{};return o.type=e,o.arg=t,i?(this.method="next",this.next=i.finallyLoc,x):this.complete(o)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),x},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),j(n),x}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var i=r.arg;j(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:N(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),x}},t}e.exports=p,e.exports.__esModule=!0,e.exports.default=e.exports},20474:function(e,t,n){var r=n(52472),i=n(48994);function o(t){return e.exports=o="function"==typeof r&&"symbol"==typeof i?function(e){return typeof e}:function(e){return e&&"function"==typeof r&&e.constructor===r&&e!==r.prototype?"symbol":typeof e},e.exports.__esModule=!0,e.exports.default=e.exports,o(t)}e.exports=o,e.exports.__esModule=!0,e.exports.default=e.exports},30222:function(e,t,n){var r=n(5177)();e.exports=r;try{regeneratorRuntime=r}catch(e){"object"==typeof globalThis?globalThis.regeneratorRuntime=r:Function("r","regeneratorRuntime = r")(r)}},10434:function(e){function t(){return e.exports=t=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},e.exports.__esModule=!0,e.exports.default=e.exports,t.apply(this,arguments)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},97218:function(e,t,n){"use strict";function r(e,t){return function(){return e.apply(t,arguments)}}const{toString:i}=Object.prototype,{getPrototypeOf:o}=Object,a=(s=Object.create(null),e=>{const t=i.call(e);return s[t]||(s[t]=t.slice(8,-1).toLowerCase())});var s;const u=e=>(e=e.toLowerCase(),t=>a(t)===e),c=e=>t=>typeof t===e,{isArray:l}=Array,f=c("undefined");const d=u("ArrayBuffer");const p=c("string"),h=c("function"),g=c("number"),m=e=>null!==e&&"object"==typeof e,y=e=>{if("object"!==a(e))return!1;const t=o(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||Symbol.toStringTag in e||Symbol.iterator in e)},v=u("Date"),b=u("File"),_=u("Blob"),w=u("FileList"),T=u("URLSearchParams");function x(e,t,{allOwnKeys:n=!1}={}){if(null==e)return;let r,i;if("object"!=typeof e&&(e=[e]),l(e))for(r=0,i=e.length;r<i;r++)t.call(null,e[r],r,e);else{const i=n?Object.getOwnPropertyNames(e):Object.keys(e),o=i.length;let a;for(r=0;r<o;r++)a=i[r],t.call(null,e[a],a,e)}}function S(e,t){t=t.toLowerCase();const n=Object.keys(e);let r,i=n.length;for(;i-- >0;)if(r=n[i],t===r.toLowerCase())return r;return null}const k="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:n.g,E=e=>!f(e)&&e!==k;const O=(C="undefined"!=typeof Uint8Array&&o(Uint8Array),e=>C&&e instanceof C);var C;const L=u("HTMLFormElement"),A=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),I=u("RegExp"),P=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};x(n,((n,i)=>{let o;!1!==(o=t(n,i,e))&&(r[i]=o||n)})),Object.defineProperties(e,r)},M="abcdefghijklmnopqrstuvwxyz",R="0123456789",j={DIGIT:R,ALPHA:M,ALPHA_DIGIT:M+M.toUpperCase()+R};const D=u("AsyncFunction");var N={isArray:l,isArrayBuffer:d,isBuffer:function(e){return null!==e&&!f(e)&&null!==e.constructor&&!f(e.constructor)&&h(e.constructor.isBuffer)&&e.constructor.isBuffer(e)},isFormData:e=>{let t;return e&&("function"==typeof FormData&&e instanceof FormData||h(e.append)&&("formdata"===(t=a(e))||"object"===t&&h(e.toString)&&"[object FormData]"===e.toString()))},isArrayBufferView:function(e){let t;return t="undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&d(e.buffer),t},isString:p,isNumber:g,isBoolean:e=>!0===e||!1===e,isObject:m,isPlainObject:y,isUndefined:f,isDate:v,isFile:b,isBlob:_,isRegExp:I,isFunction:h,isStream:e=>m(e)&&h(e.pipe),isURLSearchParams:T,isTypedArray:O,isFileList:w,forEach:x,merge:function e(){const{caseless:t}=E(this)&&this||{},n={},r=(r,i)=>{const o=t&&S(n,i)||i;y(n[o])&&y(r)?n[o]=e(n[o],r):y(r)?n[o]=e({},r):l(r)?n[o]=r.slice():n[o]=r};for(let e=0,t=arguments.length;e<t;e++)arguments[e]&&x(arguments[e],r);return n},extend:(e,t,n,{allOwnKeys:i}={})=>(x(t,((t,i)=>{n&&h(t)?e[i]=r(t,n):e[i]=t}),{allOwnKeys:i}),e),trim:e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),stripBOM:e=>(65279===e.charCodeAt(0)&&(e=e.slice(1)),e),inherits:(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},toFlatObject:(e,t,n,r)=>{let i,a,s;const u={};if(t=t||{},null==e)return t;do{for(i=Object.getOwnPropertyNames(e),a=i.length;a-- >0;)s=i[a],r&&!r(s,e,t)||u[s]||(t[s]=e[s],u[s]=!0);e=!1!==n&&o(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},kindOf:a,kindOfTest:u,endsWith:(e,t,n)=>{e=String(e),(void 0===n||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return-1!==r&&r===n},toArray:e=>{if(!e)return null;if(l(e))return e;let t=e.length;if(!g(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},forEachEntry:(e,t)=>{const n=(e&&e[Symbol.iterator]).call(e);let r;for(;(r=n.next())&&!r.done;){const n=r.value;t.call(e,n[0],n[1])}},matchAll:(e,t)=>{let n;const r=[];for(;null!==(n=e.exec(t));)r.push(n);return r},isHTMLForm:L,hasOwnProperty:A,hasOwnProp:A,reduceDescriptors:P,freezeMethods:e=>{P(e,((t,n)=>{if(h(e)&&-1!==["arguments","caller","callee"].indexOf(n))return!1;const r=e[n];h(r)&&(t.enumerable=!1,"writable"in t?t.writable=!1:t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")}))}))},toObjectSet:(e,t)=>{const n={},r=e=>{e.forEach((e=>{n[e]=!0}))};return l(e)?r(e):r(String(e).split(t)),n},toCamelCase:e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,(function(e,t,n){return t.toUpperCase()+n})),noop:()=>{},toFiniteNumber:(e,t)=>(e=+e,Number.isFinite(e)?e:t),findKey:S,global:k,isContextDefined:E,ALPHABET:j,generateString:(e=16,t=j.ALPHA_DIGIT)=>{let n="";const{length:r}=t;for(;e--;)n+=t[Math.random()*r|0];return n},isSpecCompliantForm:function(e){return!!(e&&h(e.append)&&"FormData"===e[Symbol.toStringTag]&&e[Symbol.iterator])},toJSONObject:e=>{const t=new Array(10),n=(e,r)=>{if(m(e)){if(t.indexOf(e)>=0)return;if(!("toJSON"in e)){t[r]=e;const i=l(e)?[]:{};return x(e,((e,t)=>{const o=n(e,r+1);!f(o)&&(i[t]=o)})),t[r]=void 0,i}}return e};return n(e,0)},isAsyncFn:D,isThenable:e=>e&&(m(e)||h(e))&&h(e.then)&&h(e.catch)};function B(e,t,n,r,i){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),i&&(this.response=i)}N.inherits(B,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:N.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const U=B.prototype,F={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach((e=>{F[e]={value:e}})),Object.defineProperties(B,F),Object.defineProperty(U,"isAxiosError",{value:!0}),B.from=(e,t,n,r,i,o)=>{const a=Object.create(U);return N.toFlatObject(e,a,(function(e){return e!==Error.prototype}),(e=>"isAxiosError"!==e)),B.call(a,e.message,t,n,r,i),a.cause=e,a.name=e.name,o&&Object.assign(a,o),a};function z(e){return N.isPlainObject(e)||N.isArray(e)}function H(e){return N.endsWith(e,"[]")?e.slice(0,-2):e}function Z(e,t,n){return e?e.concat(t).map((function(e,t){return e=H(e),!n&&t?"["+e+"]":e})).join(n?".":""):t}const q=N.toFlatObject(N,{},null,(function(e){return/^is[A-Z]/.test(e)}));function V(e,t,n){if(!N.isObject(e))throw new TypeError("target must be an object");t=t||new FormData;const r=(n=N.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,(function(e,t){return!N.isUndefined(t[e])}))).metaTokens,i=n.visitor||c,o=n.dots,a=n.indexes,s=(n.Blob||"undefined"!=typeof Blob&&Blob)&&N.isSpecCompliantForm(t);if(!N.isFunction(i))throw new TypeError("visitor must be a function");function u(e){if(null===e)return"";if(N.isDate(e))return e.toISOString();if(!s&&N.isBlob(e))throw new B("Blob is not supported. Use a Buffer instead.");return N.isArrayBuffer(e)||N.isTypedArray(e)?s&&"function"==typeof Blob?new Blob([e]):Buffer.from(e):e}function c(e,n,i){let s=e;if(e&&!i&&"object"==typeof e)if(N.endsWith(n,"{}"))n=r?n:n.slice(0,-2),e=JSON.stringify(e);else if(N.isArray(e)&&function(e){return N.isArray(e)&&!e.some(z)}(e)||(N.isFileList(e)||N.endsWith(n,"[]"))&&(s=N.toArray(e)))return n=H(n),s.forEach((function(e,r){!N.isUndefined(e)&&null!==e&&t.append(!0===a?Z([n],r,o):null===a?n:n+"[]",u(e))})),!1;return!!z(e)||(t.append(Z(i,n,o),u(e)),!1)}const l=[],f=Object.assign(q,{defaultVisitor:c,convertValue:u,isVisitable:z});if(!N.isObject(e))throw new TypeError("data must be an object");return function e(n,r){if(!N.isUndefined(n)){if(-1!==l.indexOf(n))throw Error("Circular reference detected in "+r.join("."));l.push(n),N.forEach(n,(function(n,o){!0===(!(N.isUndefined(n)||null===n)&&i.call(t,n,N.isString(o)?o.trim():o,r,f))&&e(n,r?r.concat(o):[o])})),l.pop()}}(e),t}function W(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,(function(e){return t[e]}))}function G(e,t){this._pairs=[],e&&V(e,this,t)}const $=G.prototype;function Y(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function K(e,t,n){if(!t)return e;const r=n&&n.encode||Y,i=n&&n.serialize;let o;if(o=i?i(t,n):N.isURLSearchParams(t)?t.toString():new G(t,n).toString(r),o){const t=e.indexOf("#");-1!==t&&(e=e.slice(0,t)),e+=(-1===e.indexOf("?")?"?":"&")+o}return e}$.append=function(e,t){this._pairs.push([e,t])},$.toString=function(e){const t=e?function(t){return e.call(this,t,W)}:W;return this._pairs.map((function(e){return t(e[0])+"="+t(e[1])}),"").join("&")};var X=class{constructor(){this.handlers=[]}use(e,t,n){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){N.forEach(this.handlers,(function(t){null!==t&&e(t)}))}},Q={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},J={isBrowser:!0,classes:{URLSearchParams:"undefined"!=typeof URLSearchParams?URLSearchParams:G,FormData:"undefined"!=typeof FormData?FormData:null,Blob:"undefined"!=typeof Blob?Blob:null},protocols:["http","https","file","blob","url","data"]};const ee="undefined"!=typeof window&&"undefined"!=typeof document,te=(ne="undefined"!=typeof navigator&&navigator.product,ee&&["ReactNative","NativeScript","NS"].indexOf(ne)<0);var ne;const re="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts;var ie={...Object.freeze({__proto__:null,hasBrowserEnv:ee,hasStandardBrowserWebWorkerEnv:re,hasStandardBrowserEnv:te}),...J};function oe(e){function t(e,n,r,i){let o=e[i++];if("__proto__"===o)return!0;const a=Number.isFinite(+o),s=i>=e.length;if(o=!o&&N.isArray(r)?r.length:o,s)return N.hasOwnProp(r,o)?r[o]=[r[o],n]:r[o]=n,!a;r[o]&&N.isObject(r[o])||(r[o]=[]);return t(e,n,r[o],i)&&N.isArray(r[o])&&(r[o]=function(e){const t={},n=Object.keys(e);let r;const i=n.length;let o;for(r=0;r<i;r++)o=n[r],t[o]=e[o];return t}(r[o])),!a}if(N.isFormData(e)&&N.isFunction(e.entries)){const n={};return N.forEachEntry(e,((e,r)=>{t(function(e){return N.matchAll(/\w+|\[(\w*)]/g,e).map((e=>"[]"===e[0]?"":e[1]||e[0]))}(e),r,n,0)})),n}return null}const ae={transitional:Q,adapter:["xhr","http"],transformRequest:[function(e,t){const n=t.getContentType()||"",r=n.indexOf("application/json")>-1,i=N.isObject(e);i&&N.isHTMLForm(e)&&(e=new FormData(e));if(N.isFormData(e))return r?JSON.stringify(oe(e)):e;if(N.isArrayBuffer(e)||N.isBuffer(e)||N.isStream(e)||N.isFile(e)||N.isBlob(e))return e;if(N.isArrayBufferView(e))return e.buffer;if(N.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let o;if(i){if(n.indexOf("application/x-www-form-urlencoded")>-1)return function(e,t){return V(e,new ie.classes.URLSearchParams,Object.assign({visitor:function(e,t,n,r){return ie.isNode&&N.isBuffer(e)?(this.append(t,e.toString("base64")),!1):r.defaultVisitor.apply(this,arguments)}},t))}(e,this.formSerializer).toString();if((o=N.isFileList(e))||n.indexOf("multipart/form-data")>-1){const t=this.env&&this.env.FormData;return V(o?{"files[]":e}:e,t&&new t,this.formSerializer)}}return i||r?(t.setContentType("application/json",!1),function(e,t,n){if(N.isString(e))try{return(t||JSON.parse)(e),N.trim(e)}catch(e){if("SyntaxError"!==e.name)throw e}return(n||JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){const t=this.transitional||ae.transitional,n=t&&t.forcedJSONParsing,r="json"===this.responseType;if(e&&N.isString(e)&&(n&&!this.responseType||r)){const n=!(t&&t.silentJSONParsing)&&r;try{return JSON.parse(e)}catch(e){if(n){if("SyntaxError"===e.name)throw B.from(e,B.ERR_BAD_RESPONSE,this,null,this.response);throw e}}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:ie.classes.FormData,Blob:ie.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};N.forEach(["delete","get","head","post","put","patch"],(e=>{ae.headers[e]={}}));var se=ae;const ue=N.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]);const ce=Symbol("internals");function le(e){return e&&String(e).trim().toLowerCase()}function fe(e){return!1===e||null==e?e:N.isArray(e)?e.map(fe):String(e)}function de(e,t,n,r,i){return N.isFunction(r)?r.call(this,t,n):(i&&(t=n),N.isString(t)?N.isString(r)?-1!==t.indexOf(r):N.isRegExp(r)?r.test(t):void 0:void 0)}class pe{constructor(e){e&&this.set(e)}set(e,t,n){const r=this;function i(e,t,n){const i=le(t);if(!i)throw new Error("header name must be a non-empty string");const o=N.findKey(r,i);(!o||void 0===r[o]||!0===n||void 0===n&&!1!==r[o])&&(r[o||t]=fe(e))}const o=(e,t)=>N.forEach(e,((e,n)=>i(e,n,t)));return N.isPlainObject(e)||e instanceof this.constructor?o(e,t):N.isString(e)&&(e=e.trim())&&!/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim())?o((e=>{const t={};let n,r,i;return e&&e.split("\n").forEach((function(e){i=e.indexOf(":"),n=e.substring(0,i).trim().toLowerCase(),r=e.substring(i+1).trim(),!n||t[n]&&ue[n]||("set-cookie"===n?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)})),t})(e),t):null!=e&&i(t,e,n),this}get(e,t){if(e=le(e)){const n=N.findKey(this,e);if(n){const e=this[n];if(!t)return e;if(!0===t)return function(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}(e);if(N.isFunction(t))return t.call(this,e,n);if(N.isRegExp(t))return t.exec(e);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,t){if(e=le(e)){const n=N.findKey(this,e);return!(!n||void 0===this[n]||t&&!de(0,this[n],n,t))}return!1}delete(e,t){const n=this;let r=!1;function i(e){if(e=le(e)){const i=N.findKey(n,e);!i||t&&!de(0,n[i],i,t)||(delete n[i],r=!0)}}return N.isArray(e)?e.forEach(i):i(e),r}clear(e){const t=Object.keys(this);let n=t.length,r=!1;for(;n--;){const i=t[n];e&&!de(0,this[i],i,e,!0)||(delete this[i],r=!0)}return r}normalize(e){const t=this,n={};return N.forEach(this,((r,i)=>{const o=N.findKey(n,i);if(o)return t[o]=fe(r),void delete t[i];const a=e?function(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,((e,t,n)=>t.toUpperCase()+n))}(i):String(i).trim();a!==i&&delete t[i],t[a]=fe(r),n[a]=!0})),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const t=Object.create(null);return N.forEach(this,((n,r)=>{null!=n&&!1!==n&&(t[r]=e&&N.isArray(n)?n.join(", "):n)})),t}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map((([e,t])=>e+": "+t)).join("\n")}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...t){const n=new this(e);return t.forEach((e=>n.set(e))),n}static accessor(e){const t=(this[ce]=this[ce]={accessors:{}}).accessors,n=this.prototype;function r(e){const r=le(e);t[r]||(!function(e,t){const n=N.toCamelCase(" "+t);["get","set","has"].forEach((r=>{Object.defineProperty(e,r+n,{value:function(e,n,i){return this[r].call(this,t,e,n,i)},configurable:!0})}))}(n,e),t[r]=!0)}return N.isArray(e)?e.forEach(r):r(e),this}}pe.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),N.reduceDescriptors(pe.prototype,(({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(e){this[n]=e}}})),N.freezeMethods(pe);var he=pe;function ge(e,t){const n=this||se,r=t||n,i=he.from(r.headers);let o=r.data;return N.forEach(e,(function(e){o=e.call(n,o,i.normalize(),t?t.status:void 0)})),i.normalize(),o}function me(e){return!(!e||!e.__CANCEL__)}function ye(e,t,n){B.call(this,null==e?"canceled":e,B.ERR_CANCELED,t,n),this.name="CanceledError"}N.inherits(ye,B,{__CANCEL__:!0});var ve=ie.hasStandardBrowserEnv?{write(e,t,n,r,i,o){const a=[e+"="+encodeURIComponent(t)];N.isNumber(n)&&a.push("expires="+new Date(n).toGMTString()),N.isString(r)&&a.push("path="+r),N.isString(i)&&a.push("domain="+i),!0===o&&a.push("secure"),document.cookie=a.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read:()=>null,remove(){}};function be(e,t){return e&&!/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)?function(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}(e,t):t}var _e=ie.hasStandardBrowserEnv?function(){const e=/(msie|trident)/i.test(navigator.userAgent),t=document.createElement("a");let n;function r(n){let r=n;return e&&(t.setAttribute("href",r),r=t.href),t.setAttribute("href",r),{href:t.href,protocol:t.protocol?t.protocol.replace(/:$/,""):"",host:t.host,search:t.search?t.search.replace(/^\?/,""):"",hash:t.hash?t.hash.replace(/^#/,""):"",hostname:t.hostname,port:t.port,pathname:"/"===t.pathname.charAt(0)?t.pathname:"/"+t.pathname}}return n=r(window.location.href),function(e){const t=N.isString(e)?r(e):e;return t.protocol===n.protocol&&t.host===n.host}}():function(){return!0};function we(e,t){let n=0;const r=function(e,t){e=e||10;const n=new Array(e),r=new Array(e);let i,o=0,a=0;return t=void 0!==t?t:1e3,function(s){const u=Date.now(),c=r[a];i||(i=u),n[o]=s,r[o]=u;let l=a,f=0;for(;l!==o;)f+=n[l++],l%=e;if(o=(o+1)%e,o===a&&(a=(a+1)%e),u-i<t)return;const d=c&&u-c;return d?Math.round(1e3*f/d):void 0}}(50,250);return i=>{const o=i.loaded,a=i.lengthComputable?i.total:void 0,s=o-n,u=r(s);n=o;const c={loaded:o,total:a,progress:a?o/a:void 0,bytes:s,rate:u||void 0,estimated:u&&a&&o<=a?(a-o)/u:void 0,event:i};c[t?"download":"upload"]=!0,e(c)}}const Te={http:null,xhr:"undefined"!=typeof XMLHttpRequest&&function(e){return new Promise((function(t,n){let r=e.data;const i=he.from(e.headers).normalize();let o,a,{responseType:s,withXSRFToken:u}=e;function c(){e.cancelToken&&e.cancelToken.unsubscribe(o),e.signal&&e.signal.removeEventListener("abort",o)}if(N.isFormData(r))if(ie.hasStandardBrowserEnv||ie.hasStandardBrowserWebWorkerEnv)i.setContentType(!1);else if(!1!==(a=i.getContentType())){const[e,...t]=a?a.split(";").map((e=>e.trim())).filter(Boolean):[];i.setContentType([e||"multipart/form-data",...t].join("; "))}let l=new XMLHttpRequest;if(e.auth){const t=e.auth.username||"",n=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";i.set("Authorization","Basic "+btoa(t+":"+n))}const f=be(e.baseURL,e.url);function d(){if(!l)return;const r=he.from("getAllResponseHeaders"in l&&l.getAllResponseHeaders());!function(e,t,n){const r=n.config.validateStatus;n.status&&r&&!r(n.status)?t(new B("Request failed with status code "+n.status,[B.ERR_BAD_REQUEST,B.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n)):e(n)}((function(e){t(e),c()}),(function(e){n(e),c()}),{data:s&&"text"!==s&&"json"!==s?l.response:l.responseText,status:l.status,statusText:l.statusText,headers:r,config:e,request:l}),l=null}if(l.open(e.method.toUpperCase(),K(f,e.params,e.paramsSerializer),!0),l.timeout=e.timeout,"onloadend"in l?l.onloadend=d:l.onreadystatechange=function(){l&&4===l.readyState&&(0!==l.status||l.responseURL&&0===l.responseURL.indexOf("file:"))&&setTimeout(d)},l.onabort=function(){l&&(n(new B("Request aborted",B.ECONNABORTED,e,l)),l=null)},l.onerror=function(){n(new B("Network Error",B.ERR_NETWORK,e,l)),l=null},l.ontimeout=function(){let t=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded";const r=e.transitional||Q;e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),n(new B(t,r.clarifyTimeoutError?B.ETIMEDOUT:B.ECONNABORTED,e,l)),l=null},ie.hasStandardBrowserEnv&&(u&&N.isFunction(u)&&(u=u(e)),u||!1!==u&&_e(f))){const t=e.xsrfHeaderName&&e.xsrfCookieName&&ve.read(e.xsrfCookieName);t&&i.set(e.xsrfHeaderName,t)}void 0===r&&i.setContentType(null),"setRequestHeader"in l&&N.forEach(i.toJSON(),(function(e,t){l.setRequestHeader(t,e)})),N.isUndefined(e.withCredentials)||(l.withCredentials=!!e.withCredentials),s&&"json"!==s&&(l.responseType=e.responseType),"function"==typeof e.onDownloadProgress&&l.addEventListener("progress",we(e.onDownloadProgress,!0)),"function"==typeof e.onUploadProgress&&l.upload&&l.upload.addEventListener("progress",we(e.onUploadProgress)),(e.cancelToken||e.signal)&&(o=t=>{l&&(n(!t||t.type?new ye(null,e,l):t),l.abort(),l=null)},e.cancelToken&&e.cancelToken.subscribe(o),e.signal&&(e.signal.aborted?o():e.signal.addEventListener("abort",o)));const p=function(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}(f);p&&-1===ie.protocols.indexOf(p)?n(new B("Unsupported protocol "+p+":",B.ERR_BAD_REQUEST,e)):l.send(r||null)}))}};N.forEach(Te,((e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch(e){}Object.defineProperty(e,"adapterName",{value:t})}}));const xe=e=>`- ${e}`,Se=e=>N.isFunction(e)||null===e||!1===e;var ke=e=>{e=N.isArray(e)?e:[e];const{length:t}=e;let n,r;const i={};for(let o=0;o<t;o++){let t;if(n=e[o],r=n,!Se(n)&&(r=Te[(t=String(n)).toLowerCase()],void 0===r))throw new B(`Unknown adapter '${t}'`);if(r)break;i[t||"#"+o]=r}if(!r){const e=Object.entries(i).map((([e,t])=>`adapter ${e} `+(!1===t?"is not supported by the environment":"is not available in the build")));throw new B("There is no suitable adapter to dispatch the request "+(t?e.length>1?"since :\n"+e.map(xe).join("\n"):" "+xe(e[0]):"as no adapter specified"),"ERR_NOT_SUPPORT")}return r};function Ee(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new ye(null,e)}function Oe(e){Ee(e),e.headers=he.from(e.headers),e.data=ge.call(e,e.transformRequest),-1!==["post","put","patch"].indexOf(e.method)&&e.headers.setContentType("application/x-www-form-urlencoded",!1);return ke(e.adapter||se.adapter)(e).then((function(t){return Ee(e),t.data=ge.call(e,e.transformResponse,t),t.headers=he.from(t.headers),t}),(function(t){return me(t)||(Ee(e),t&&t.response&&(t.response.data=ge.call(e,e.transformResponse,t.response),t.response.headers=he.from(t.response.headers))),Promise.reject(t)}))}const Ce=e=>e instanceof he?e.toJSON():e;function Le(e,t){t=t||{};const n={};function r(e,t,n){return N.isPlainObject(e)&&N.isPlainObject(t)?N.merge.call({caseless:n},e,t):N.isPlainObject(t)?N.merge({},t):N.isArray(t)?t.slice():t}function i(e,t,n){return N.isUndefined(t)?N.isUndefined(e)?void 0:r(void 0,e,n):r(e,t,n)}function o(e,t){if(!N.isUndefined(t))return r(void 0,t)}function a(e,t){return N.isUndefined(t)?N.isUndefined(e)?void 0:r(void 0,e):r(void 0,t)}function s(n,i,o){return o in t?r(n,i):o in e?r(void 0,n):void 0}const u={url:o,method:o,data:o,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,withXSRFToken:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:s,headers:(e,t)=>i(Ce(e),Ce(t),!0)};return N.forEach(Object.keys(Object.assign({},e,t)),(function(r){const o=u[r]||i,a=o(e[r],t[r],r);N.isUndefined(a)&&o!==s||(n[r]=a)})),n}const Ae="1.6.7",Ie={};["object","boolean","number","function","string","symbol"].forEach(((e,t)=>{Ie[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}}));const Pe={};Ie.transitional=function(e,t,n){function r(e,t){return"[Axios v1.6.7] Transitional option '"+e+"'"+t+(n?". "+n:"")}return(n,i,o)=>{if(!1===e)throw new B(r(i," has been removed"+(t?" in "+t:"")),B.ERR_DEPRECATED);return t&&!Pe[i]&&(Pe[i]=!0,console.warn(r(i," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(n,i,o)}};var Me={assertOptions:function(e,t,n){if("object"!=typeof e)throw new B("options must be an object",B.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let i=r.length;for(;i-- >0;){const o=r[i],a=t[o];if(a){const t=e[o],n=void 0===t||a(t,o,e);if(!0!==n)throw new B("option "+o+" must be "+n,B.ERR_BAD_OPTION_VALUE)}else if(!0!==n)throw new B("Unknown option "+o,B.ERR_BAD_OPTION)}},validators:Ie};const Re=Me.validators;class je{constructor(e){this.defaults=e,this.interceptors={request:new X,response:new X}}async request(e,t){try{return await this._request(e,t)}catch(e){if(e instanceof Error){let t;Error.captureStackTrace?Error.captureStackTrace(t={}):t=new Error;const n=t.stack?t.stack.replace(/^.+\n/,""):"";e.stack?n&&!String(e.stack).endsWith(n.replace(/^.+\n.+\n/,""))&&(e.stack+="\n"+n):e.stack=n}throw e}}_request(e,t){"string"==typeof e?(t=t||{}).url=e:t=e||{},t=Le(this.defaults,t);const{transitional:n,paramsSerializer:r,headers:i}=t;void 0!==n&&Me.assertOptions(n,{silentJSONParsing:Re.transitional(Re.boolean),forcedJSONParsing:Re.transitional(Re.boolean),clarifyTimeoutError:Re.transitional(Re.boolean)},!1),null!=r&&(N.isFunction(r)?t.paramsSerializer={serialize:r}:Me.assertOptions(r,{encode:Re.function,serialize:Re.function},!0)),t.method=(t.method||this.defaults.method||"get").toLowerCase();let o=i&&N.merge(i.common,i[t.method]);i&&N.forEach(["delete","get","head","post","put","patch","common"],(e=>{delete i[e]})),t.headers=he.concat(o,i);const a=[];let s=!0;this.interceptors.request.forEach((function(e){"function"==typeof e.runWhen&&!1===e.runWhen(t)||(s=s&&e.synchronous,a.unshift(e.fulfilled,e.rejected))}));const u=[];let c;this.interceptors.response.forEach((function(e){u.push(e.fulfilled,e.rejected)}));let l,f=0;if(!s){const e=[Oe.bind(this),void 0];for(e.unshift.apply(e,a),e.push.apply(e,u),l=e.length,c=Promise.resolve(t);f<l;)c=c.then(e[f++],e[f++]);return c}l=a.length;let d=t;for(f=0;f<l;){const e=a[f++],t=a[f++];try{d=e(d)}catch(e){t.call(this,e);break}}try{c=Oe.call(this,d)}catch(e){return Promise.reject(e)}for(f=0,l=u.length;f<l;)c=c.then(u[f++],u[f++]);return c}getUri(e){return K(be((e=Le(this.defaults,e)).baseURL,e.url),e.params,e.paramsSerializer)}}N.forEach(["delete","get","head","options"],(function(e){je.prototype[e]=function(t,n){return this.request(Le(n||{},{method:e,url:t,data:(n||{}).data}))}})),N.forEach(["post","put","patch"],(function(e){function t(t){return function(n,r,i){return this.request(Le(i||{},{method:e,headers:t?{"Content-Type":"multipart/form-data"}:{},url:n,data:r}))}}je.prototype[e]=t(),je.prototype[e+"Form"]=t(!0)}));var De=je;class Ne{constructor(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");let t;this.promise=new Promise((function(e){t=e}));const n=this;this.promise.then((e=>{if(!n._listeners)return;let t=n._listeners.length;for(;t-- >0;)n._listeners[t](e);n._listeners=null})),this.promise.then=e=>{let t;const r=new Promise((e=>{n.subscribe(e),t=e})).then(e);return r.cancel=function(){n.unsubscribe(t)},r},e((function(e,r,i){n.reason||(n.reason=new ye(e,r,i),t(n.reason))}))}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;const t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}static source(){let e;return{token:new Ne((function(t){e=t})),cancel:e}}}var Be=Ne;const Ue={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(Ue).forEach((([e,t])=>{Ue[t]=e}));var Fe=Ue;const ze=function e(t){const n=new De(t),i=r(De.prototype.request,n);return N.extend(i,De.prototype,n,{allOwnKeys:!0}),N.extend(i,n,null,{allOwnKeys:!0}),i.create=function(n){return e(Le(t,n))},i}(se);ze.Axios=De,ze.CanceledError=ye,ze.CancelToken=Be,ze.isCancel=me,ze.VERSION=Ae,ze.toFormData=V,ze.AxiosError=B,ze.Cancel=ze.CanceledError,ze.all=function(e){return Promise.all(e)},ze.spread=function(e){return function(t){return e.apply(null,t)}},ze.isAxiosError=function(e){return N.isObject(e)&&!0===e.isAxiosError},ze.mergeConfig=Le,ze.AxiosHeaders=he,ze.formToJSON=e=>oe(N.isHTMLForm(e)?new FormData(e):e),ze.getAdapter=ke,ze.HttpStatusCode=Fe,ze.default=ze,e.exports=ze},84406:function(e,t,n){"use strict";function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}n.d(t,{Z:function(){return r}})},9869:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(98235);function i(e){if(r(e))return e}},5281:function(e,t,n){"use strict";function r(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}n.d(t,{Z:function(){return r}})},33938:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(35820);function i(e,t,n,i,o,a,s){try{var u=e[a](s),c=u.value}catch(e){return void n(e)}u.done?t(c):r.resolve(c).then(i,o)}function o(e){return function(){var t=this,n=arguments;return new r((function(r,o){var a=e.apply(t,n);function s(e){i(a,r,o,s,u,"next",e)}function u(e){i(a,r,o,s,u,"throw",e)}s(void 0)}))}}},68420:function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}n.d(t,{Z:function(){return r}})},27344:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(57445),i=n(35991);function o(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),r(e,(0,i.Z)(o.key),o)}}function a(e,t,n){return t&&o(e.prototype,t),n&&o(e,n),r(e,"prototype",{writable:!1}),e}},44845:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(57445),i=n(35991);function o(e,t,n){return(t=(0,i.Z)(t))in e?r(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},73126:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(67552),i=n(48216);function o(){var e;return o=r?i(e=r).call(e):function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o.apply(this,arguments)}},18486:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=n(25926),i=n(48216),o=n(88546),a=n(3362);function s(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=(0,a.Z)(e)););return e}function u(){var e;"undefined"!=typeof Reflect&&r?u=i(e=r).call(e):u=function(e,t,n){var r=s(e,t);if(r){var i=o(r,t);return i.get?i.get.call(arguments.length<3?e:n):i.value}};return u.apply(this,arguments)}},3362:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(92984),i=n(48216),o=n(39272);function a(e){var t;return a=r?i(t=o).call(t):function(e){return e.__proto__||o(e)},a(e)}},90306:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(3841),i=n(57445),o=n(62534);function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=r(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),i(e,"prototype",{writable:!1}),t&&(0,o.Z)(e,t)}},24713:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(52472),i=n(19389),o=n(10349);function a(e){if(void 0!==r&&null!=i(e)||null!=e["@@iterator"])return o(e)}},13743:function(e,t,n){"use strict";function r(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}n.d(t,{Z:function(){return r}})},41266:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(52020),i=n(51791),o=n(62079);function a(e,t){if(null==e)return{};var n,a,s=function(e,t){if(null==e)return{};var n,r,a={},s=o(e);for(r=0;r<s.length;r++)n=s[r],i(t).call(t,n)>=0||(a[n]=e[n]);return a}(e,t);if(r){var u=r(e);for(a=0;a<u.length;a++)n=u[a],i(t).call(t,n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(s[n]=e[n])}return s}},3020:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(19623),i=n(5281);function o(e,t){if(t&&("object"===(0,r.Z)(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return(0,i.Z)(e)}},62534:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(92984),i=n(48216);function o(e,t){var n;return o=r?i(n=r).call(n):function(e,t){return e.__proto__=t,e},o(e,t)}},59056:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=n(9869),i=n(52472),o=n(19389);var a=n(71518),s=n(13743);function u(e,t){return(0,r.Z)(e)||function(e,t){var n=null==e?null:void 0!==i&&o(e)||e["@@iterator"];if(null!=n){var r,a,s,u,c=[],l=!0,f=!1;try{if(s=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=s.call(n)).done)&&(c.push(r.value),c.length!==t);l=!0);}catch(e){f=!0,a=e}finally{try{if(!l&&null!=n.return&&(u=n.return(),Object(u)!==u))return}finally{if(f)throw a}}return c}}(e,t)||(0,a.Z)(e,t)||(0,s.Z)()}},15713:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(9869),i=n(24713),o=n(71518),a=n(13743);function s(e){return(0,r.Z)(e)||(0,i.Z)(e)||(0,o.Z)(e)||(0,a.Z)()}},79349:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(98235),i=n(84406);var o=n(24713),a=n(71518);function s(e){return function(e){if(r(e))return(0,i.Z)(e)}(e)||(0,o.Z)(e)||(0,a.Z)(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},35991:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(19623),i=n(40024);function o(e){var t=function(e,t){if("object"!==(0,r.Z)(e)||null===e)return e;var n=e[i];if(void 0!==n){var o=n.call(e,t||"default");if("object"!==(0,r.Z)(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===(0,r.Z)(t)?t:String(t)}},19623:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(52472),i=n(48994);function o(e){return o="function"==typeof r&&"symbol"==typeof i?function(e){return typeof e}:function(e){return e&&"function"==typeof r&&e.constructor===r&&e!==r.prototype?"symbol":typeof e},o(e)}},71518:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(35704),i=n(10349),o=n(84406);function a(e,t){var n;if(e){if("string"==typeof e)return(0,o.Z)(e,t);var a=r(n=Object.prototype.toString.call(e)).call(n,8,-1);return"Object"===a&&e.constructor&&(a=e.constructor.name),"Map"===a||"Set"===a?i(e):"Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?(0,o.Z)(e,t):void 0}}},97326:function(e,t,n){"use strict";function r(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}n.d(t,{Z:function(){return r}})},15671:function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}n.d(t,{Z:function(){return r}})},43144:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(49142);function i(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,(0,r.Z)(i.key),i)}}function o(e,t,n){return t&&i(e.prototype,t),n&&i(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}},4942:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(49142);function i(e,t,n){return(t=(0,r.Z)(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},87462:function(e,t,n){"use strict";function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},r.apply(this,arguments)}n.d(t,{Z:function(){return r}})},94578:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(89611);function i(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,(0,r.Z)(e,t)}},63366:function(e,t,n){"use strict";function r(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}n.d(t,{Z:function(){return r}})},89611:function(e,t,n){"use strict";function r(e,t){return r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},r(e,t)}n.d(t,{Z:function(){return r}})},49142:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(71002);function i(e){var t=function(e,t){if("object"!=(0,r.Z)(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var i=n.call(e,t||"default");if("object"!=(0,r.Z)(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==(0,r.Z)(t)?t:t+""}},71002:function(e,t,n){"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}n.d(t,{Z:function(){return r}})},23636:function(e,t,n){"use strict";function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function i(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(Object(n),!0).forEach((function(t){s(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function o(e){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o(e)}function a(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function s(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function u(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,i,o=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(o.push(r.value),!t||o.length!==t);a=!0);}catch(e){s=!0,i=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw i}}return o}(e,t)||l(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function c(e){return function(e){if(Array.isArray(e))return f(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||l(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function l(e,t){if(e){if("string"==typeof e)return f(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?f(e,t):void 0}}function f(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}n.d(t,{Qc:function(){return yn},qv:function(){return vn},vI:function(){return gn},vz:function(){return mn}});var d=function(){},p={},h={},g=null,m={mark:d,measure:d};try{"undefined"!=typeof window&&(p=window),"undefined"!=typeof document&&(h=document),"undefined"!=typeof MutationObserver&&(g=MutationObserver),"undefined"!=typeof performance&&(m=performance)}catch(e){}var y,v,b,_,w,T=(p.navigator||{}).userAgent,x=void 0===T?"":T,S=p,k=h,E=g,O=m,C=(S.document,!!k.documentElement&&!!k.head&&"function"==typeof k.addEventListener&&"function"==typeof k.createElement),L=~x.indexOf("MSIE")||~x.indexOf("Trident/"),A="svg-inline--fa",I="data-fa-i2svg",P="data-fa-pseudo-element",M="data-prefix",R="data-icon",j="fontawesome-i2svg",D=["HTML","HEAD","STYLE","SCRIPT"],N=function(){try{return!0}catch(e){return!1}}(),B="classic",U="sharp",F=[B,U];function z(e){return new Proxy(e,{get:function(e,t){return t in e?e[t]:e.classic}})}var H=z((s(y={},B,{fa:"solid",fas:"solid","fa-solid":"solid",far:"regular","fa-regular":"regular",fal:"light","fa-light":"light",fat:"thin","fa-thin":"thin",fad:"duotone","fa-duotone":"duotone",fab:"brands","fa-brands":"brands",fak:"kit","fa-kit":"kit"}),s(y,U,{fa:"solid",fass:"solid","fa-solid":"solid"}),y)),Z=z((s(v={},B,{solid:"fas",regular:"far",light:"fal",thin:"fat",duotone:"fad",brands:"fab",kit:"fak"}),s(v,U,{solid:"fass"}),v)),q=z((s(b={},B,{fab:"fa-brands",fad:"fa-duotone",fak:"fa-kit",fal:"fa-light",far:"fa-regular",fas:"fa-solid",fat:"fa-thin"}),s(b,U,{fass:"fa-solid"}),b)),V=z((s(_={},B,{"fa-brands":"fab","fa-duotone":"fad","fa-kit":"fak","fa-light":"fal","fa-regular":"far","fa-solid":"fas","fa-thin":"fat"}),s(_,U,{"fa-solid":"fass"}),_)),W=/fa(s|r|l|t|d|b|k|ss)?[\-\ ]/,G="fa-layers-text",$=/Font ?Awesome ?([56 ]*)(Solid|Regular|Light|Thin|Duotone|Brands|Free|Pro|Sharp|Kit)?.*/i,Y=z((s(w={},B,{900:"fas",400:"far",normal:"far",300:"fal",100:"fat"}),s(w,U,{900:"fass"}),w)),K=[1,2,3,4,5,6,7,8,9,10],X=K.concat([11,12,13,14,15,16,17,18,19,20]),Q=["class","data-prefix","data-icon","data-fa-transform","data-fa-mask"],J="duotone-group",ee="swap-opacity",te="primary",ne="secondary",re=new Set;Object.keys(Z.classic).map(re.add.bind(re)),Object.keys(Z.sharp).map(re.add.bind(re));var ie=[].concat(F,c(re),["2xs","xs","sm","lg","xl","2xl","beat","border","fade","beat-fade","bounce","flip-both","flip-horizontal","flip-vertical","flip","fw","inverse","layers-counter","layers-text","layers","li","pull-left","pull-right","pulse","rotate-180","rotate-270","rotate-90","rotate-by","shake","spin-pulse","spin-reverse","spin","stack-1x","stack-2x","stack","ul",J,ee,te,ne]).concat(K.map((function(e){return"".concat(e,"x")}))).concat(X.map((function(e){return"w-".concat(e)}))),oe=S.FontAwesomeConfig||{};if(k&&"function"==typeof k.querySelector){[["data-family-prefix","familyPrefix"],["data-css-prefix","cssPrefix"],["data-family-default","familyDefault"],["data-style-default","styleDefault"],["data-replacement-class","replacementClass"],["data-auto-replace-svg","autoReplaceSvg"],["data-auto-add-css","autoAddCss"],["data-auto-a11y","autoA11y"],["data-search-pseudo-elements","searchPseudoElements"],["data-observe-mutations","observeMutations"],["data-mutate-approach","mutateApproach"],["data-keep-original-source","keepOriginalSource"],["data-measure-performance","measurePerformance"],["data-show-missing-icons","showMissingIcons"]].forEach((function(e){var t=u(e,2),n=t[0],r=t[1],i=function(e){return""===e||"false"!==e&&("true"===e||e)}(function(e){var t=k.querySelector("script["+e+"]");if(t)return t.getAttribute(e)}(n));null!=i&&(oe[r]=i)}))}var ae={styleDefault:"solid",familyDefault:"classic",cssPrefix:"fa",replacementClass:A,autoReplaceSvg:!0,autoAddCss:!0,autoA11y:!0,searchPseudoElements:!1,observeMutations:!0,mutateApproach:"async",keepOriginalSource:!0,measurePerformance:!1,showMissingIcons:!0};oe.familyPrefix&&(oe.cssPrefix=oe.familyPrefix);var se=i(i({},ae),oe);se.autoReplaceSvg||(se.observeMutations=!1);var ue={};Object.keys(ae).forEach((function(e){Object.defineProperty(ue,e,{enumerable:!0,set:function(t){se[e]=t,ce.forEach((function(e){return e(ue)}))},get:function(){return se[e]}})})),Object.defineProperty(ue,"familyPrefix",{enumerable:!0,set:function(e){se.cssPrefix=e,ce.forEach((function(e){return e(ue)}))},get:function(){return se.cssPrefix}}),S.FontAwesomeConfig=ue;var ce=[];var le=16,fe={size:16,x:0,y:0,rotate:0,flipX:!1,flipY:!1};function de(){for(var e=12,t="";e-- >0;)t+="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"[62*Math.random()|0];return t}function pe(e){for(var t=[],n=(e||[]).length>>>0;n--;)t[n]=e[n];return t}function he(e){return e.classList?pe(e.classList):(e.getAttribute("class")||"").split(" ").filter((function(e){return e}))}function ge(e){return"".concat(e).replace(/&/g,"&amp;").replace(/"/g,"&quot;").replace(/'/g,"&#39;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}function me(e){return Object.keys(e||{}).reduce((function(t,n){return t+"".concat(n,": ").concat(e[n].trim(),";")}),"")}function ye(e){return e.size!==fe.size||e.x!==fe.x||e.y!==fe.y||e.rotate!==fe.rotate||e.flipX||e.flipY}function ve(){var e="fa",t=A,n=ue.cssPrefix,r=ue.replacementClass,i=':root, :host {\n  --fa-font-solid: normal 900 1em/1 "Font Awesome 6 Solid";\n  --fa-font-regular: normal 400 1em/1 "Font Awesome 6 Regular";\n  --fa-font-light: normal 300 1em/1 "Font Awesome 6 Light";\n  --fa-font-thin: normal 100 1em/1 "Font Awesome 6 Thin";\n  --fa-font-duotone: normal 900 1em/1 "Font Awesome 6 Duotone";\n  --fa-font-sharp-solid: normal 900 1em/1 "Font Awesome 6 Sharp";\n  --fa-font-brands: normal 400 1em/1 "Font Awesome 6 Brands";\n}\n\nsvg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {\n  overflow: visible;\n  box-sizing: content-box;\n}\n\n.svg-inline--fa {\n  display: var(--fa-display, inline-block);\n  height: 1em;\n  overflow: visible;\n  vertical-align: -0.125em;\n}\n.svg-inline--fa.fa-2xs {\n  vertical-align: 0.1em;\n}\n.svg-inline--fa.fa-xs {\n  vertical-align: 0em;\n}\n.svg-inline--fa.fa-sm {\n  vertical-align: -0.0714285705em;\n}\n.svg-inline--fa.fa-lg {\n  vertical-align: -0.2em;\n}\n.svg-inline--fa.fa-xl {\n  vertical-align: -0.25em;\n}\n.svg-inline--fa.fa-2xl {\n  vertical-align: -0.3125em;\n}\n.svg-inline--fa.fa-pull-left {\n  margin-right: var(--fa-pull-margin, 0.3em);\n  width: auto;\n}\n.svg-inline--fa.fa-pull-right {\n  margin-left: var(--fa-pull-margin, 0.3em);\n  width: auto;\n}\n.svg-inline--fa.fa-li {\n  width: var(--fa-li-width, 2em);\n  top: 0.25em;\n}\n.svg-inline--fa.fa-fw {\n  width: var(--fa-fw-width, 1.25em);\n}\n\n.fa-layers svg.svg-inline--fa {\n  bottom: 0;\n  left: 0;\n  margin: auto;\n  position: absolute;\n  right: 0;\n  top: 0;\n}\n\n.fa-layers-counter, .fa-layers-text {\n  display: inline-block;\n  position: absolute;\n  text-align: center;\n}\n\n.fa-layers {\n  display: inline-block;\n  height: 1em;\n  position: relative;\n  text-align: center;\n  vertical-align: -0.125em;\n  width: 1em;\n}\n.fa-layers svg.svg-inline--fa {\n  -webkit-transform-origin: center center;\n          transform-origin: center center;\n}\n\n.fa-layers-text {\n  left: 50%;\n  top: 50%;\n  -webkit-transform: translate(-50%, -50%);\n          transform: translate(-50%, -50%);\n  -webkit-transform-origin: center center;\n          transform-origin: center center;\n}\n\n.fa-layers-counter {\n  background-color: var(--fa-counter-background-color, #ff253a);\n  border-radius: var(--fa-counter-border-radius, 1em);\n  box-sizing: border-box;\n  color: var(--fa-inverse, #fff);\n  line-height: var(--fa-counter-line-height, 1);\n  max-width: var(--fa-counter-max-width, 5em);\n  min-width: var(--fa-counter-min-width, 1.5em);\n  overflow: hidden;\n  padding: var(--fa-counter-padding, 0.25em 0.5em);\n  right: var(--fa-right, 0);\n  text-overflow: ellipsis;\n  top: var(--fa-top, 0);\n  -webkit-transform: scale(var(--fa-counter-scale, 0.25));\n          transform: scale(var(--fa-counter-scale, 0.25));\n  -webkit-transform-origin: top right;\n          transform-origin: top right;\n}\n\n.fa-layers-bottom-right {\n  bottom: var(--fa-bottom, 0);\n  right: var(--fa-right, 0);\n  top: auto;\n  -webkit-transform: scale(var(--fa-layers-scale, 0.25));\n          transform: scale(var(--fa-layers-scale, 0.25));\n  -webkit-transform-origin: bottom right;\n          transform-origin: bottom right;\n}\n\n.fa-layers-bottom-left {\n  bottom: var(--fa-bottom, 0);\n  left: var(--fa-left, 0);\n  right: auto;\n  top: auto;\n  -webkit-transform: scale(var(--fa-layers-scale, 0.25));\n          transform: scale(var(--fa-layers-scale, 0.25));\n  -webkit-transform-origin: bottom left;\n          transform-origin: bottom left;\n}\n\n.fa-layers-top-right {\n  top: var(--fa-top, 0);\n  right: var(--fa-right, 0);\n  -webkit-transform: scale(var(--fa-layers-scale, 0.25));\n          transform: scale(var(--fa-layers-scale, 0.25));\n  -webkit-transform-origin: top right;\n          transform-origin: top right;\n}\n\n.fa-layers-top-left {\n  left: var(--fa-left, 0);\n  right: auto;\n  top: var(--fa-top, 0);\n  -webkit-transform: scale(var(--fa-layers-scale, 0.25));\n          transform: scale(var(--fa-layers-scale, 0.25));\n  -webkit-transform-origin: top left;\n          transform-origin: top left;\n}\n\n.fa-1x {\n  font-size: 1em;\n}\n\n.fa-2x {\n  font-size: 2em;\n}\n\n.fa-3x {\n  font-size: 3em;\n}\n\n.fa-4x {\n  font-size: 4em;\n}\n\n.fa-5x {\n  font-size: 5em;\n}\n\n.fa-6x {\n  font-size: 6em;\n}\n\n.fa-7x {\n  font-size: 7em;\n}\n\n.fa-8x {\n  font-size: 8em;\n}\n\n.fa-9x {\n  font-size: 9em;\n}\n\n.fa-10x {\n  font-size: 10em;\n}\n\n.fa-2xs {\n  font-size: 0.625em;\n  line-height: 0.1em;\n  vertical-align: 0.225em;\n}\n\n.fa-xs {\n  font-size: 0.75em;\n  line-height: 0.0833333337em;\n  vertical-align: 0.125em;\n}\n\n.fa-sm {\n  font-size: 0.875em;\n  line-height: 0.0714285718em;\n  vertical-align: 0.0535714295em;\n}\n\n.fa-lg {\n  font-size: 1.25em;\n  line-height: 0.05em;\n  vertical-align: -0.075em;\n}\n\n.fa-xl {\n  font-size: 1.5em;\n  line-height: 0.0416666682em;\n  vertical-align: -0.125em;\n}\n\n.fa-2xl {\n  font-size: 2em;\n  line-height: 0.03125em;\n  vertical-align: -0.1875em;\n}\n\n.fa-fw {\n  text-align: center;\n  width: 1.25em;\n}\n\n.fa-ul {\n  list-style-type: none;\n  margin-left: var(--fa-li-margin, 2.5em);\n  padding-left: 0;\n}\n.fa-ul > li {\n  position: relative;\n}\n\n.fa-li {\n  left: calc(var(--fa-li-width, 2em) * -1);\n  position: absolute;\n  text-align: center;\n  width: var(--fa-li-width, 2em);\n  line-height: inherit;\n}\n\n.fa-border {\n  border-color: var(--fa-border-color, #eee);\n  border-radius: var(--fa-border-radius, 0.1em);\n  border-style: var(--fa-border-style, solid);\n  border-width: var(--fa-border-width, 0.08em);\n  padding: var(--fa-border-padding, 0.2em 0.25em 0.15em);\n}\n\n.fa-pull-left {\n  float: left;\n  margin-right: var(--fa-pull-margin, 0.3em);\n}\n\n.fa-pull-right {\n  float: right;\n  margin-left: var(--fa-pull-margin, 0.3em);\n}\n\n.fa-beat {\n  -webkit-animation-name: fa-beat;\n          animation-name: fa-beat;\n  -webkit-animation-delay: var(--fa-animation-delay, 0s);\n          animation-delay: var(--fa-animation-delay, 0s);\n  -webkit-animation-direction: var(--fa-animation-direction, normal);\n          animation-direction: var(--fa-animation-direction, normal);\n  -webkit-animation-duration: var(--fa-animation-duration, 1s);\n          animation-duration: var(--fa-animation-duration, 1s);\n  -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n          animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n  -webkit-animation-timing-function: var(--fa-animation-timing, ease-in-out);\n          animation-timing-function: var(--fa-animation-timing, ease-in-out);\n}\n\n.fa-bounce {\n  -webkit-animation-name: fa-bounce;\n          animation-name: fa-bounce;\n  -webkit-animation-delay: var(--fa-animation-delay, 0s);\n          animation-delay: var(--fa-animation-delay, 0s);\n  -webkit-animation-direction: var(--fa-animation-direction, normal);\n          animation-direction: var(--fa-animation-direction, normal);\n  -webkit-animation-duration: var(--fa-animation-duration, 1s);\n          animation-duration: var(--fa-animation-duration, 1s);\n  -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n          animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n  -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1));\n          animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1));\n}\n\n.fa-fade {\n  -webkit-animation-name: fa-fade;\n          animation-name: fa-fade;\n  -webkit-animation-delay: var(--fa-animation-delay, 0s);\n          animation-delay: var(--fa-animation-delay, 0s);\n  -webkit-animation-direction: var(--fa-animation-direction, normal);\n          animation-direction: var(--fa-animation-direction, normal);\n  -webkit-animation-duration: var(--fa-animation-duration, 1s);\n          animation-duration: var(--fa-animation-duration, 1s);\n  -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n          animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n  -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n          animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n}\n\n.fa-beat-fade {\n  -webkit-animation-name: fa-beat-fade;\n          animation-name: fa-beat-fade;\n  -webkit-animation-delay: var(--fa-animation-delay, 0s);\n          animation-delay: var(--fa-animation-delay, 0s);\n  -webkit-animation-direction: var(--fa-animation-direction, normal);\n          animation-direction: var(--fa-animation-direction, normal);\n  -webkit-animation-duration: var(--fa-animation-duration, 1s);\n          animation-duration: var(--fa-animation-duration, 1s);\n  -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n          animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n  -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n          animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n}\n\n.fa-flip {\n  -webkit-animation-name: fa-flip;\n          animation-name: fa-flip;\n  -webkit-animation-delay: var(--fa-animation-delay, 0s);\n          animation-delay: var(--fa-animation-delay, 0s);\n  -webkit-animation-direction: var(--fa-animation-direction, normal);\n          animation-direction: var(--fa-animation-direction, normal);\n  -webkit-animation-duration: var(--fa-animation-duration, 1s);\n          animation-duration: var(--fa-animation-duration, 1s);\n  -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n          animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n  -webkit-animation-timing-function: var(--fa-animation-timing, ease-in-out);\n          animation-timing-function: var(--fa-animation-timing, ease-in-out);\n}\n\n.fa-shake {\n  -webkit-animation-name: fa-shake;\n          animation-name: fa-shake;\n  -webkit-animation-delay: var(--fa-animation-delay, 0s);\n          animation-delay: var(--fa-animation-delay, 0s);\n  -webkit-animation-direction: var(--fa-animation-direction, normal);\n          animation-direction: var(--fa-animation-direction, normal);\n  -webkit-animation-duration: var(--fa-animation-duration, 1s);\n          animation-duration: var(--fa-animation-duration, 1s);\n  -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n          animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n  -webkit-animation-timing-function: var(--fa-animation-timing, linear);\n          animation-timing-function: var(--fa-animation-timing, linear);\n}\n\n.fa-spin {\n  -webkit-animation-name: fa-spin;\n          animation-name: fa-spin;\n  -webkit-animation-delay: var(--fa-animation-delay, 0s);\n          animation-delay: var(--fa-animation-delay, 0s);\n  -webkit-animation-direction: var(--fa-animation-direction, normal);\n          animation-direction: var(--fa-animation-direction, normal);\n  -webkit-animation-duration: var(--fa-animation-duration, 2s);\n          animation-duration: var(--fa-animation-duration, 2s);\n  -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n          animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n  -webkit-animation-timing-function: var(--fa-animation-timing, linear);\n          animation-timing-function: var(--fa-animation-timing, linear);\n}\n\n.fa-spin-reverse {\n  --fa-animation-direction: reverse;\n}\n\n.fa-pulse,\n.fa-spin-pulse {\n  -webkit-animation-name: fa-spin;\n          animation-name: fa-spin;\n  -webkit-animation-direction: var(--fa-animation-direction, normal);\n          animation-direction: var(--fa-animation-direction, normal);\n  -webkit-animation-duration: var(--fa-animation-duration, 1s);\n          animation-duration: var(--fa-animation-duration, 1s);\n  -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n          animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n  -webkit-animation-timing-function: var(--fa-animation-timing, steps(8));\n          animation-timing-function: var(--fa-animation-timing, steps(8));\n}\n\n@media (prefers-reduced-motion: reduce) {\n  .fa-beat,\n.fa-bounce,\n.fa-fade,\n.fa-beat-fade,\n.fa-flip,\n.fa-pulse,\n.fa-shake,\n.fa-spin,\n.fa-spin-pulse {\n    -webkit-animation-delay: -1ms;\n            animation-delay: -1ms;\n    -webkit-animation-duration: 1ms;\n            animation-duration: 1ms;\n    -webkit-animation-iteration-count: 1;\n            animation-iteration-count: 1;\n    transition-delay: 0s;\n    transition-duration: 0s;\n  }\n}\n@-webkit-keyframes fa-beat {\n  0%, 90% {\n    -webkit-transform: scale(1);\n            transform: scale(1);\n  }\n  45% {\n    -webkit-transform: scale(var(--fa-beat-scale, 1.25));\n            transform: scale(var(--fa-beat-scale, 1.25));\n  }\n}\n@keyframes fa-beat {\n  0%, 90% {\n    -webkit-transform: scale(1);\n            transform: scale(1);\n  }\n  45% {\n    -webkit-transform: scale(var(--fa-beat-scale, 1.25));\n            transform: scale(var(--fa-beat-scale, 1.25));\n  }\n}\n@-webkit-keyframes fa-bounce {\n  0% {\n    -webkit-transform: scale(1, 1) translateY(0);\n            transform: scale(1, 1) translateY(0);\n  }\n  10% {\n    -webkit-transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n            transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n  }\n  30% {\n    -webkit-transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n            transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n  }\n  50% {\n    -webkit-transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n            transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n  }\n  57% {\n    -webkit-transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n            transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n  }\n  64% {\n    -webkit-transform: scale(1, 1) translateY(0);\n            transform: scale(1, 1) translateY(0);\n  }\n  100% {\n    -webkit-transform: scale(1, 1) translateY(0);\n            transform: scale(1, 1) translateY(0);\n  }\n}\n@keyframes fa-bounce {\n  0% {\n    -webkit-transform: scale(1, 1) translateY(0);\n            transform: scale(1, 1) translateY(0);\n  }\n  10% {\n    -webkit-transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n            transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n  }\n  30% {\n    -webkit-transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n            transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n  }\n  50% {\n    -webkit-transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n            transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n  }\n  57% {\n    -webkit-transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n            transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n  }\n  64% {\n    -webkit-transform: scale(1, 1) translateY(0);\n            transform: scale(1, 1) translateY(0);\n  }\n  100% {\n    -webkit-transform: scale(1, 1) translateY(0);\n            transform: scale(1, 1) translateY(0);\n  }\n}\n@-webkit-keyframes fa-fade {\n  50% {\n    opacity: var(--fa-fade-opacity, 0.4);\n  }\n}\n@keyframes fa-fade {\n  50% {\n    opacity: var(--fa-fade-opacity, 0.4);\n  }\n}\n@-webkit-keyframes fa-beat-fade {\n  0%, 100% {\n    opacity: var(--fa-beat-fade-opacity, 0.4);\n    -webkit-transform: scale(1);\n            transform: scale(1);\n  }\n  50% {\n    opacity: 1;\n    -webkit-transform: scale(var(--fa-beat-fade-scale, 1.125));\n            transform: scale(var(--fa-beat-fade-scale, 1.125));\n  }\n}\n@keyframes fa-beat-fade {\n  0%, 100% {\n    opacity: var(--fa-beat-fade-opacity, 0.4);\n    -webkit-transform: scale(1);\n            transform: scale(1);\n  }\n  50% {\n    opacity: 1;\n    -webkit-transform: scale(var(--fa-beat-fade-scale, 1.125));\n            transform: scale(var(--fa-beat-fade-scale, 1.125));\n  }\n}\n@-webkit-keyframes fa-flip {\n  50% {\n    -webkit-transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n            transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n  }\n}\n@keyframes fa-flip {\n  50% {\n    -webkit-transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n            transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n  }\n}\n@-webkit-keyframes fa-shake {\n  0% {\n    -webkit-transform: rotate(-15deg);\n            transform: rotate(-15deg);\n  }\n  4% {\n    -webkit-transform: rotate(15deg);\n            transform: rotate(15deg);\n  }\n  8%, 24% {\n    -webkit-transform: rotate(-18deg);\n            transform: rotate(-18deg);\n  }\n  12%, 28% {\n    -webkit-transform: rotate(18deg);\n            transform: rotate(18deg);\n  }\n  16% {\n    -webkit-transform: rotate(-22deg);\n            transform: rotate(-22deg);\n  }\n  20% {\n    -webkit-transform: rotate(22deg);\n            transform: rotate(22deg);\n  }\n  32% {\n    -webkit-transform: rotate(-12deg);\n            transform: rotate(-12deg);\n  }\n  36% {\n    -webkit-transform: rotate(12deg);\n            transform: rotate(12deg);\n  }\n  40%, 100% {\n    -webkit-transform: rotate(0deg);\n            transform: rotate(0deg);\n  }\n}\n@keyframes fa-shake {\n  0% {\n    -webkit-transform: rotate(-15deg);\n            transform: rotate(-15deg);\n  }\n  4% {\n    -webkit-transform: rotate(15deg);\n            transform: rotate(15deg);\n  }\n  8%, 24% {\n    -webkit-transform: rotate(-18deg);\n            transform: rotate(-18deg);\n  }\n  12%, 28% {\n    -webkit-transform: rotate(18deg);\n            transform: rotate(18deg);\n  }\n  16% {\n    -webkit-transform: rotate(-22deg);\n            transform: rotate(-22deg);\n  }\n  20% {\n    -webkit-transform: rotate(22deg);\n            transform: rotate(22deg);\n  }\n  32% {\n    -webkit-transform: rotate(-12deg);\n            transform: rotate(-12deg);\n  }\n  36% {\n    -webkit-transform: rotate(12deg);\n            transform: rotate(12deg);\n  }\n  40%, 100% {\n    -webkit-transform: rotate(0deg);\n            transform: rotate(0deg);\n  }\n}\n@-webkit-keyframes fa-spin {\n  0% {\n    -webkit-transform: rotate(0deg);\n            transform: rotate(0deg);\n  }\n  100% {\n    -webkit-transform: rotate(360deg);\n            transform: rotate(360deg);\n  }\n}\n@keyframes fa-spin {\n  0% {\n    -webkit-transform: rotate(0deg);\n            transform: rotate(0deg);\n  }\n  100% {\n    -webkit-transform: rotate(360deg);\n            transform: rotate(360deg);\n  }\n}\n.fa-rotate-90 {\n  -webkit-transform: rotate(90deg);\n          transform: rotate(90deg);\n}\n\n.fa-rotate-180 {\n  -webkit-transform: rotate(180deg);\n          transform: rotate(180deg);\n}\n\n.fa-rotate-270 {\n  -webkit-transform: rotate(270deg);\n          transform: rotate(270deg);\n}\n\n.fa-flip-horizontal {\n  -webkit-transform: scale(-1, 1);\n          transform: scale(-1, 1);\n}\n\n.fa-flip-vertical {\n  -webkit-transform: scale(1, -1);\n          transform: scale(1, -1);\n}\n\n.fa-flip-both,\n.fa-flip-horizontal.fa-flip-vertical {\n  -webkit-transform: scale(-1, -1);\n          transform: scale(-1, -1);\n}\n\n.fa-rotate-by {\n  -webkit-transform: rotate(var(--fa-rotate-angle, none));\n          transform: rotate(var(--fa-rotate-angle, none));\n}\n\n.fa-stack {\n  display: inline-block;\n  vertical-align: middle;\n  height: 2em;\n  position: relative;\n  width: 2.5em;\n}\n\n.fa-stack-1x,\n.fa-stack-2x {\n  bottom: 0;\n  left: 0;\n  margin: auto;\n  position: absolute;\n  right: 0;\n  top: 0;\n  z-index: var(--fa-stack-z-index, auto);\n}\n\n.svg-inline--fa.fa-stack-1x {\n  height: 1em;\n  width: 1.25em;\n}\n.svg-inline--fa.fa-stack-2x {\n  height: 2em;\n  width: 2.5em;\n}\n\n.fa-inverse {\n  color: var(--fa-inverse, #fff);\n}\n\n.sr-only,\n.fa-sr-only {\n  position: absolute;\n  width: 1px;\n  height: 1px;\n  padding: 0;\n  margin: -1px;\n  overflow: hidden;\n  clip: rect(0, 0, 0, 0);\n  white-space: nowrap;\n  border-width: 0;\n}\n\n.sr-only-focusable:not(:focus),\n.fa-sr-only-focusable:not(:focus) {\n  position: absolute;\n  width: 1px;\n  height: 1px;\n  padding: 0;\n  margin: -1px;\n  overflow: hidden;\n  clip: rect(0, 0, 0, 0);\n  white-space: nowrap;\n  border-width: 0;\n}\n\n.svg-inline--fa .fa-primary {\n  fill: var(--fa-primary-color, currentColor);\n  opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa .fa-secondary {\n  fill: var(--fa-secondary-color, currentColor);\n  opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-primary {\n  opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-secondary {\n  opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa mask .fa-primary,\n.svg-inline--fa mask .fa-secondary {\n  fill: black;\n}\n\n.fad.fa-inverse,\n.fa-duotone.fa-inverse {\n  color: var(--fa-inverse, #fff);\n}';if(n!==e||r!==t){var o=new RegExp("\\.".concat(e,"\\-"),"g"),a=new RegExp("\\--".concat(e,"\\-"),"g"),s=new RegExp("\\.".concat(t),"g");i=i.replace(o,".".concat(n,"-")).replace(a,"--".concat(n,"-")).replace(s,".".concat(r))}return i}var be=!1;function _e(){ue.autoAddCss&&!be&&(!function(e){if(e&&C){var t=k.createElement("style");t.setAttribute("type","text/css"),t.innerHTML=e;for(var n=k.head.childNodes,r=null,i=n.length-1;i>-1;i--){var o=n[i],a=(o.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(a)>-1&&(r=o)}k.head.insertBefore(t,r)}}(ve()),be=!0)}var we={mixout:function(){return{dom:{css:ve,insertCss:_e}}},hooks:function(){return{beforeDOMElementCreation:function(){_e()},beforeI2svg:function(){_e()}}}},Te=S||{};Te.___FONT_AWESOME___||(Te.___FONT_AWESOME___={}),Te.___FONT_AWESOME___.styles||(Te.___FONT_AWESOME___.styles={}),Te.___FONT_AWESOME___.hooks||(Te.___FONT_AWESOME___.hooks={}),Te.___FONT_AWESOME___.shims||(Te.___FONT_AWESOME___.shims=[]);var xe=Te.___FONT_AWESOME___,Se=[],ke=!1;function Ee(e){C&&(ke?setTimeout(e,0):Se.push(e))}function Oe(e){var t=e.tag,n=e.attributes,r=void 0===n?{}:n,i=e.children,o=void 0===i?[]:i;return"string"==typeof e?ge(e):"<".concat(t," ").concat(function(e){return Object.keys(e||{}).reduce((function(t,n){return t+"".concat(n,'="').concat(ge(e[n]),'" ')}),"").trim()}(r),">").concat(o.map(Oe).join(""),"</").concat(t,">")}function Ce(e,t,n){if(e&&e[t]&&e[t][n])return{prefix:t,iconName:n,icon:e[t][n]}}C&&((ke=(k.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(k.readyState))||k.addEventListener("DOMContentLoaded",(function e(){k.removeEventListener("DOMContentLoaded",e),ke=1,Se.map((function(e){return e()}))})));var Le=function(e,t,n,r){var i,o,a,s=Object.keys(e),u=s.length,c=void 0!==r?function(e,t){return function(n,r,i,o){return e.call(t,n,r,i,o)}}(t,r):t;for(void 0===n?(i=1,a=e[s[0]]):(i=0,a=n);i<u;i++)a=c(a,e[o=s[i]],o,e);return a};function Ae(e){var t=function(e){for(var t=[],n=0,r=e.length;n<r;){var i=e.charCodeAt(n++);if(i>=55296&&i<=56319&&n<r){var o=e.charCodeAt(n++);56320==(64512&o)?t.push(((1023&i)<<10)+(1023&o)+65536):(t.push(i),n--)}else t.push(i)}return t}(e);return 1===t.length?t[0].toString(16):null}function Ie(e){return Object.keys(e).reduce((function(t,n){var r=e[n];return!!r.icon?t[r.iconName]=r.icon:t[n]=r,t}),{})}function Pe(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.skipHooks,o=void 0!==r&&r,a=Ie(t);"function"!=typeof xe.hooks.addPack||o?xe.styles[e]=i(i({},xe.styles[e]||{}),a):xe.hooks.addPack(e,Ie(t)),"fas"===e&&Pe("fa",t)}var Me,Re,je,De=xe.styles,Ne=xe.shims,Be=(s(Me={},B,Object.values(q.classic)),s(Me,U,Object.values(q.sharp)),Me),Ue=null,Fe={},ze={},He={},Ze={},qe={},Ve=(s(Re={},B,Object.keys(H.classic)),s(Re,U,Object.keys(H.sharp)),Re);function We(e,t){var n,r=t.split("-"),i=r[0],o=r.slice(1).join("-");return i!==e||""===o||(n=o,~ie.indexOf(n))?null:o}var Ge,$e=function(){var e=function(e){return Le(De,(function(t,n,r){return t[r]=Le(n,e,{}),t}),{})};Fe=e((function(e,t,n){(t[3]&&(e[t[3]]=n),t[2])&&t[2].filter((function(e){return"number"==typeof e})).forEach((function(t){e[t.toString(16)]=n}));return e})),ze=e((function(e,t,n){(e[n]=n,t[2])&&t[2].filter((function(e){return"string"==typeof e})).forEach((function(t){e[t]=n}));return e})),qe=e((function(e,t,n){var r=t[2];return e[n]=n,r.forEach((function(t){e[t]=n})),e}));var t="far"in De||ue.autoFetchSvg,n=Le(Ne,(function(e,n){var r=n[0],i=n[1],o=n[2];return"far"!==i||t||(i="fas"),"string"==typeof r&&(e.names[r]={prefix:i,iconName:o}),"number"==typeof r&&(e.unicodes[r.toString(16)]={prefix:i,iconName:o}),e}),{names:{},unicodes:{}});He=n.names,Ze=n.unicodes,Ue=Je(ue.styleDefault,{family:ue.familyDefault})};function Ye(e,t){return(Fe[e]||{})[t]}function Ke(e,t){return(qe[e]||{})[t]}function Xe(e){return He[e]||{prefix:null,iconName:null}}function Qe(){return Ue}Ge=function(e){Ue=Je(e.styleDefault,{family:ue.familyDefault})},ce.push(Ge),$e();function Je(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.family,r=void 0===n?B:n,i=H[r][e],o=Z[r][e]||Z[r][i],a=e in xe.styles?e:null;return o||a||null}var et=(s(je={},B,Object.keys(q.classic)),s(je,U,Object.keys(q.sharp)),je);function tt(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=n.skipLookups,i=void 0!==r&&r,o=(s(t={},B,"".concat(ue.cssPrefix,"-").concat(B)),s(t,U,"".concat(ue.cssPrefix,"-").concat(U)),t),a=null,u=B;(e.includes(o.classic)||e.some((function(e){return et.classic.includes(e)})))&&(u=B),(e.includes(o.sharp)||e.some((function(e){return et.sharp.includes(e)})))&&(u=U);var c=e.reduce((function(e,t){var n=We(ue.cssPrefix,t);if(De[t]?(t=Be[u].includes(t)?V[u][t]:t,a=t,e.prefix=t):Ve[u].indexOf(t)>-1?(a=t,e.prefix=Je(t,{family:u})):n?e.iconName=n:t!==ue.replacementClass&&t!==o.classic&&t!==o.sharp&&e.rest.push(t),!i&&e.prefix&&e.iconName){var r="fa"===a?Xe(e.iconName):{},s=Ke(e.prefix,e.iconName);r.prefix&&(a=null),e.iconName=r.iconName||s||e.iconName,e.prefix=r.prefix||e.prefix,"far"!==e.prefix||De.far||!De.fas||ue.autoFetchSvg||(e.prefix="fas")}return e}),{prefix:null,iconName:null,rest:[]});return(e.includes("fa-brands")||e.includes("fab"))&&(c.prefix="fab"),(e.includes("fa-duotone")||e.includes("fad"))&&(c.prefix="fad"),c.prefix||u!==U||!De.fass&&!ue.autoFetchSvg||(c.prefix="fass",c.iconName=Ke(c.prefix,c.iconName)||c.iconName),"fa"!==c.prefix&&"fa"!==a||(c.prefix=Qe()||"fas"),c}var nt=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.definitions={}}var t,n,r;return t=e,n=[{key:"add",value:function(){for(var e=this,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];var o=n.reduce(this._pullDefinitions,{});Object.keys(o).forEach((function(t){e.definitions[t]=i(i({},e.definitions[t]||{}),o[t]),Pe(t,o[t]);var n=q.classic[t];n&&Pe(n,o[t]),$e()}))}},{key:"reset",value:function(){this.definitions={}}},{key:"_pullDefinitions",value:function(e,t){var n=t.prefix&&t.iconName&&t.icon?{0:t}:t;return Object.keys(n).map((function(t){var r=n[t],i=r.prefix,o=r.iconName,a=r.icon,s=a[2];e[i]||(e[i]={}),s.length>0&&s.forEach((function(t){"string"==typeof t&&(e[i][t]=a)})),e[i][o]=a})),e}}],n&&a(t.prototype,n),r&&a(t,r),Object.defineProperty(t,"prototype",{writable:!1}),e}(),rt=[],it={},ot={},at=Object.keys(ot);function st(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),i=2;i<n;i++)r[i-2]=arguments[i];var o=it[e]||[];return o.forEach((function(e){t=e.apply(null,[t].concat(r))})),t}function ut(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var i=it[e]||[];i.forEach((function(e){e.apply(null,n)}))}function ct(){var e=arguments[0],t=Array.prototype.slice.call(arguments,1);return ot[e]?ot[e].apply(null,t):void 0}function lt(e){"fa"===e.prefix&&(e.prefix="fas");var t=e.iconName,n=e.prefix||Qe();if(t)return t=Ke(n,t)||t,Ce(ft.definitions,n,t)||Ce(xe.styles,n,t)}var ft=new nt,dt={i2svg:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return C?(ut("beforeI2svg",e),ct("pseudoElements2svg",e),ct("i2svg",e)):Promise.reject("Operation requires a DOM of some kind.")},watch:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.autoReplaceSvgRoot;!1===ue.autoReplaceSvg&&(ue.autoReplaceSvg=!0),ue.observeMutations=!0,Ee((function(){ht({autoReplaceSvgRoot:t}),ut("watch",e)}))}},pt={noAuto:function(){ue.autoReplaceSvg=!1,ue.observeMutations=!1,ut("noAuto")},config:ue,dom:dt,parse:{icon:function(e){if(null===e)return null;if("object"===o(e)&&e.prefix&&e.iconName)return{prefix:e.prefix,iconName:Ke(e.prefix,e.iconName)||e.iconName};if(Array.isArray(e)&&2===e.length){var t=0===e[1].indexOf("fa-")?e[1].slice(3):e[1],n=Je(e[0]);return{prefix:n,iconName:Ke(n,t)||t}}if("string"==typeof e&&(e.indexOf("".concat(ue.cssPrefix,"-"))>-1||e.match(W))){var r=tt(e.split(" "),{skipLookups:!0});return{prefix:r.prefix||Qe(),iconName:Ke(r.prefix,r.iconName)||r.iconName}}if("string"==typeof e){var i=Qe();return{prefix:i,iconName:Ke(i,e)||e}}}},library:ft,findIconDefinition:lt,toHtml:Oe},ht=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.autoReplaceSvgRoot,n=void 0===t?k:t;(Object.keys(xe.styles).length>0||ue.autoFetchSvg)&&C&&ue.autoReplaceSvg&&pt.dom.i2svg({node:n})};function gt(e,t){return Object.defineProperty(e,"abstract",{get:t}),Object.defineProperty(e,"html",{get:function(){return e.abstract.map((function(e){return Oe(e)}))}}),Object.defineProperty(e,"node",{get:function(){if(C){var t=k.createElement("div");return t.innerHTML=e.html,t.children}}}),e}function mt(e){var t=e.icons,n=t.main,r=t.mask,o=e.prefix,a=e.iconName,s=e.transform,u=e.symbol,c=e.title,l=e.maskId,f=e.titleId,d=e.extra,p=e.watchable,h=void 0!==p&&p,g=r.found?r:n,m=g.width,y=g.height,v="fak"===o,b=[ue.replacementClass,a?"".concat(ue.cssPrefix,"-").concat(a):""].filter((function(e){return-1===d.classes.indexOf(e)})).filter((function(e){return""!==e||!!e})).concat(d.classes).join(" "),_={children:[],attributes:i(i({},d.attributes),{},{"data-prefix":o,"data-icon":a,class:b,role:d.attributes.role||"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(m," ").concat(y)})},w=v&&!~d.classes.indexOf("fa-fw")?{width:"".concat(m/y*16*.0625,"em")}:{};h&&(_.attributes[I]=""),c&&(_.children.push({tag:"title",attributes:{id:_.attributes["aria-labelledby"]||"title-".concat(f||de())},children:[c]}),delete _.attributes.title);var T=i(i({},_),{},{prefix:o,iconName:a,main:n,mask:r,maskId:l,transform:s,symbol:u,styles:i(i({},w),d.styles)}),x=r.found&&n.found?ct("generateAbstractMask",T)||{children:[],attributes:{}}:ct("generateAbstractIcon",T)||{children:[],attributes:{}},S=x.children,k=x.attributes;return T.children=S,T.attributes=k,u?function(e){var t=e.prefix,n=e.iconName,r=e.children,o=e.attributes,a=e.symbol,s=!0===a?"".concat(t,"-").concat(ue.cssPrefix,"-").concat(n):a;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:i(i({},o),{},{id:s}),children:r}]}]}(T):function(e){var t=e.children,n=e.main,r=e.mask,o=e.attributes,a=e.styles,s=e.transform;if(ye(s)&&n.found&&!r.found){var u={x:n.width/n.height/2,y:.5};o.style=me(i(i({},a),{},{"transform-origin":"".concat(u.x+s.x/16,"em ").concat(u.y+s.y/16,"em")}))}return[{tag:"svg",attributes:o,children:t}]}(T)}function yt(e){var t=e.content,n=e.width,r=e.height,o=e.transform,a=e.title,s=e.extra,u=e.watchable,c=void 0!==u&&u,l=i(i(i({},s.attributes),a?{title:a}:{}),{},{class:s.classes.join(" ")});c&&(l[I]="");var f=i({},s.styles);ye(o)&&(f.transform=function(e){var t=e.transform,n=e.width,r=void 0===n?16:n,i=e.height,o=void 0===i?16:i,a=e.startCentered,s=void 0!==a&&a,u="";return u+=s&&L?"translate(".concat(t.x/le-r/2,"em, ").concat(t.y/le-o/2,"em) "):s?"translate(calc(-50% + ".concat(t.x/le,"em), calc(-50% + ").concat(t.y/le,"em)) "):"translate(".concat(t.x/le,"em, ").concat(t.y/le,"em) "),u+="scale(".concat(t.size/le*(t.flipX?-1:1),", ").concat(t.size/le*(t.flipY?-1:1),") "),u+"rotate(".concat(t.rotate,"deg) ")}({transform:o,startCentered:!0,width:n,height:r}),f["-webkit-transform"]=f.transform);var d=me(f);d.length>0&&(l.style=d);var p=[];return p.push({tag:"span",attributes:l,children:[t]}),a&&p.push({tag:"span",attributes:{class:"sr-only"},children:[a]}),p}function vt(e){var t=e.content,n=e.title,r=e.extra,o=i(i(i({},r.attributes),n?{title:n}:{}),{},{class:r.classes.join(" ")}),a=me(r.styles);a.length>0&&(o.style=a);var s=[];return s.push({tag:"span",attributes:o,children:[t]}),n&&s.push({tag:"span",attributes:{class:"sr-only"},children:[n]}),s}var bt=xe.styles;function _t(e){var t=e[0],n=e[1],r=u(e.slice(4),1)[0];return{found:!0,width:t,height:n,icon:Array.isArray(r)?{tag:"g",attributes:{class:"".concat(ue.cssPrefix,"-").concat(J)},children:[{tag:"path",attributes:{class:"".concat(ue.cssPrefix,"-").concat(ne),fill:"currentColor",d:r[0]}},{tag:"path",attributes:{class:"".concat(ue.cssPrefix,"-").concat(te),fill:"currentColor",d:r[1]}}]}:{tag:"path",attributes:{fill:"currentColor",d:r}}}}var wt={found:!1,width:512,height:512};function Tt(e,t){var n=t;return"fa"===t&&null!==ue.styleDefault&&(t=Qe()),new Promise((function(r,o){ct("missingIconAbstract");if("fa"===n){var a=Xe(e)||{};e=a.iconName||e,t=a.prefix||t}if(e&&t&&bt[t]&&bt[t][e])return r(_t(bt[t][e]));!function(e,t){N||ue.showMissingIcons||!e||console.error('Icon with name "'.concat(e,'" and prefix "').concat(t,'" is missing.'))}(e,t),r(i(i({},wt),{},{icon:ue.showMissingIcons&&e&&ct("missingIconAbstract")||{}}))}))}var xt=function(){},St=ue.measurePerformance&&O&&O.mark&&O.measure?O:{mark:xt,measure:xt},kt='FA "6.2.1"',Et=function(e){St.mark("".concat(kt," ").concat(e," ends")),St.measure("".concat(kt," ").concat(e),"".concat(kt," ").concat(e," begins"),"".concat(kt," ").concat(e," ends"))},Ot=function(e){return St.mark("".concat(kt," ").concat(e," begins")),function(){return Et(e)}},Ct=function(){};function Lt(e){return"string"==typeof(e.getAttribute?e.getAttribute(I):null)}function At(e){return k.createElementNS("http://www.w3.org/2000/svg",e)}function It(e){return k.createElement(e)}function Pt(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.ceFn,r=void 0===n?"svg"===e.tag?At:It:n;if("string"==typeof e)return k.createTextNode(e);var i=r(e.tag);Object.keys(e.attributes||[]).forEach((function(t){i.setAttribute(t,e.attributes[t])}));var o=e.children||[];return o.forEach((function(e){i.appendChild(Pt(e,{ceFn:r}))})),i}var Mt={replace:function(e){var t=e[0];if(t.parentNode)if(e[1].forEach((function(e){t.parentNode.insertBefore(Pt(e),t)})),null===t.getAttribute(I)&&ue.keepOriginalSource){var n=k.createComment(function(e){var t=" ".concat(e.outerHTML," ");return"".concat(t,"Font Awesome fontawesome.com ")}(t));t.parentNode.replaceChild(n,t)}else t.remove()},nest:function(e){var t=e[0],n=e[1];if(~he(t).indexOf(ue.replacementClass))return Mt.replace(e);var r=new RegExp("".concat(ue.cssPrefix,"-.*"));if(delete n[0].attributes.id,n[0].attributes.class){var i=n[0].attributes.class.split(" ").reduce((function(e,t){return t===ue.replacementClass||t.match(r)?e.toSvg.push(t):e.toNode.push(t),e}),{toNode:[],toSvg:[]});n[0].attributes.class=i.toSvg.join(" "),0===i.toNode.length?t.removeAttribute("class"):t.setAttribute("class",i.toNode.join(" "))}var o=n.map((function(e){return Oe(e)})).join("\n");t.setAttribute(I,""),t.innerHTML=o}};function Rt(e){e()}function jt(e,t){var n="function"==typeof t?t:Ct;if(0===e.length)n();else{var r=Rt;"async"===ue.mutateApproach&&(r=S.requestAnimationFrame||Rt),r((function(){var t=!0===ue.autoReplaceSvg?Mt.replace:Mt[ue.autoReplaceSvg]||Mt.replace,r=Ot("mutate");e.map(t),r(),n()}))}}var Dt=!1;function Nt(){Dt=!0}function Bt(){Dt=!1}var Ut=null;function Ft(e){if(E&&ue.observeMutations){var t=e.treeCallback,n=void 0===t?Ct:t,r=e.nodeCallback,i=void 0===r?Ct:r,o=e.pseudoElementsCallback,a=void 0===o?Ct:o,s=e.observeMutationsRoot,u=void 0===s?k:s;Ut=new E((function(e){if(!Dt){var t=Qe();pe(e).forEach((function(e){if("childList"===e.type&&e.addedNodes.length>0&&!Lt(e.addedNodes[0])&&(ue.searchPseudoElements&&a(e.target),n(e.target)),"attributes"===e.type&&e.target.parentNode&&ue.searchPseudoElements&&a(e.target.parentNode),"attributes"===e.type&&Lt(e.target)&&~Q.indexOf(e.attributeName))if("class"===e.attributeName&&function(e){var t=e.getAttribute?e.getAttribute(M):null,n=e.getAttribute?e.getAttribute(R):null;return t&&n}(e.target)){var r=tt(he(e.target)),o=r.prefix,s=r.iconName;e.target.setAttribute(M,o||t),s&&e.target.setAttribute(R,s)}else(u=e.target)&&u.classList&&u.classList.contains&&u.classList.contains(ue.replacementClass)&&i(e.target);var u}))}})),C&&Ut.observe(u,{childList:!0,attributes:!0,characterData:!0,subtree:!0})}}function zt(e){var t=e.getAttribute("style"),n=[];return t&&(n=t.split(";").reduce((function(e,t){var n=t.split(":"),r=n[0],i=n.slice(1);return r&&i.length>0&&(e[r]=i.join(":").trim()),e}),{})),n}function Ht(e){var t,n,r=e.getAttribute("data-prefix"),i=e.getAttribute("data-icon"),o=void 0!==e.innerText?e.innerText.trim():"",a=tt(he(e));return a.prefix||(a.prefix=Qe()),r&&i&&(a.prefix=r,a.iconName=i),a.iconName&&a.prefix||(a.prefix&&o.length>0&&(a.iconName=(t=a.prefix,n=e.innerText,(ze[t]||{})[n]||Ye(a.prefix,Ae(e.innerText)))),!a.iconName&&ue.autoFetchSvg&&e.firstChild&&e.firstChild.nodeType===Node.TEXT_NODE&&(a.iconName=e.firstChild.data)),a}function Zt(e){var t=pe(e.attributes).reduce((function(e,t){return"class"!==e.name&&"style"!==e.name&&(e[t.name]=t.value),e}),{}),n=e.getAttribute("title"),r=e.getAttribute("data-fa-title-id");return ue.autoA11y&&(n?t["aria-labelledby"]="".concat(ue.replacementClass,"-title-").concat(r||de()):(t["aria-hidden"]="true",t.focusable="false")),t}function qt(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{styleParser:!0},n=Ht(e),r=n.iconName,o=n.prefix,a=n.rest,s=Zt(e),u=st("parseNodeAttributes",{},e),c=t.styleParser?zt(e):[];return i({iconName:r,title:e.getAttribute("title"),titleId:e.getAttribute("data-fa-title-id"),prefix:o,transform:fe,mask:{iconName:null,prefix:null,rest:[]},maskId:null,symbol:!1,extra:{classes:a,styles:c,attributes:s}},u)}var Vt=xe.styles;function Wt(e){var t="nest"===ue.autoReplaceSvg?qt(e,{styleParser:!1}):qt(e);return~t.extra.classes.indexOf(G)?ct("generateLayersText",e,t):ct("generateSvgReplacementMutation",e,t)}var Gt=new Set;function $t(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(!C)return Promise.resolve();var n=k.documentElement.classList,r=function(e){return n.add("".concat(j,"-").concat(e))},i=function(e){return n.remove("".concat(j,"-").concat(e))},o=ue.autoFetchSvg?Gt:F.map((function(e){return"fa-".concat(e)})).concat(Object.keys(Vt));o.includes("fa")||o.push("fa");var a=[".".concat(G,":not([").concat(I,"])")].concat(o.map((function(e){return".".concat(e,":not([").concat(I,"])")}))).join(", ");if(0===a.length)return Promise.resolve();var s=[];try{s=pe(e.querySelectorAll(a))}catch(e){}if(!(s.length>0))return Promise.resolve();r("pending"),i("complete");var u=Ot("onTree"),c=s.reduce((function(e,t){try{var n=Wt(t);n&&e.push(n)}catch(e){N||"MissingIcon"===e.name&&console.error(e)}return e}),[]);return new Promise((function(e,n){Promise.all(c).then((function(n){jt(n,(function(){r("active"),r("complete"),i("pending"),"function"==typeof t&&t(),u(),e()}))})).catch((function(e){u(),n(e)}))}))}function Yt(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;Wt(e).then((function(e){e&&jt([e],t)}))}F.map((function(e){Gt.add("fa-".concat(e))})),Object.keys(H.classic).map(Gt.add.bind(Gt)),Object.keys(H.sharp).map(Gt.add.bind(Gt)),Gt=c(Gt);var Kt=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.transform,r=void 0===n?fe:n,o=t.symbol,a=void 0!==o&&o,s=t.mask,u=void 0===s?null:s,c=t.maskId,l=void 0===c?null:c,f=t.title,d=void 0===f?null:f,p=t.titleId,h=void 0===p?null:p,g=t.classes,m=void 0===g?[]:g,y=t.attributes,v=void 0===y?{}:y,b=t.styles,_=void 0===b?{}:b;if(e){var w=e.prefix,T=e.iconName,x=e.icon;return gt(i({type:"icon"},e),(function(){return ut("beforeDOMElementCreation",{iconDefinition:e,params:t}),ue.autoA11y&&(d?v["aria-labelledby"]="".concat(ue.replacementClass,"-title-").concat(h||de()):(v["aria-hidden"]="true",v.focusable="false")),mt({icons:{main:_t(x),mask:u?_t(u.icon):{found:!1,width:null,height:null,icon:{}}},prefix:w,iconName:T,transform:i(i({},fe),r),symbol:a,title:d,maskId:l,titleId:h,extra:{attributes:v,styles:_,classes:m}})}))}},Xt={mixout:function(){return{icon:(e=Kt,function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=(t||{}).icon?t:lt(t||{}),o=n.mask;return o&&(o=(o||{}).icon?o:lt(o||{})),e(r,i(i({},n),{},{mask:o}))})};var e},hooks:function(){return{mutationObserverCallbacks:function(e){return e.treeCallback=$t,e.nodeCallback=Yt,e}}},provides:function(e){e.i2svg=function(e){var t=e.node,n=void 0===t?k:t,r=e.callback;return $t(n,void 0===r?function(){}:r)},e.generateSvgReplacementMutation=function(e,t){var n=t.iconName,r=t.title,i=t.titleId,o=t.prefix,a=t.transform,s=t.symbol,c=t.mask,l=t.maskId,f=t.extra;return new Promise((function(t,d){Promise.all([Tt(n,o),c.iconName?Tt(c.iconName,c.prefix):Promise.resolve({found:!1,width:512,height:512,icon:{}})]).then((function(c){var d=u(c,2),p=d[0],h=d[1];t([e,mt({icons:{main:p,mask:h},prefix:o,iconName:n,transform:a,symbol:s,maskId:l,title:r,titleId:i,extra:f,watchable:!0})])})).catch(d)}))},e.generateAbstractIcon=function(e){var t,n=e.children,r=e.attributes,i=e.main,o=e.transform,a=me(e.styles);return a.length>0&&(r.style=a),ye(o)&&(t=ct("generateAbstractTransformGrouping",{main:i,transform:o,containerWidth:i.width,iconWidth:i.width})),n.push(t||i.icon),{children:n,attributes:r}}}},Qt={mixout:function(){return{layer:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.classes,r=void 0===n?[]:n;return gt({type:"layer"},(function(){ut("beforeDOMElementCreation",{assembler:e,params:t});var n=[];return e((function(e){Array.isArray(e)?e.map((function(e){n=n.concat(e.abstract)})):n=n.concat(e.abstract)})),[{tag:"span",attributes:{class:["".concat(ue.cssPrefix,"-layers")].concat(c(r)).join(" ")},children:n}]}))}}}},Jt={mixout:function(){return{counter:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.title,r=void 0===n?null:n,i=t.classes,o=void 0===i?[]:i,a=t.attributes,s=void 0===a?{}:a,u=t.styles,l=void 0===u?{}:u;return gt({type:"counter",content:e},(function(){return ut("beforeDOMElementCreation",{content:e,params:t}),vt({content:e.toString(),title:r,extra:{attributes:s,styles:l,classes:["".concat(ue.cssPrefix,"-layers-counter")].concat(c(o))}})}))}}}},en={mixout:function(){return{text:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.transform,r=void 0===n?fe:n,o=t.title,a=void 0===o?null:o,s=t.classes,u=void 0===s?[]:s,l=t.attributes,f=void 0===l?{}:l,d=t.styles,p=void 0===d?{}:d;return gt({type:"text",content:e},(function(){return ut("beforeDOMElementCreation",{content:e,params:t}),yt({content:e,transform:i(i({},fe),r),title:a,extra:{attributes:f,styles:p,classes:["".concat(ue.cssPrefix,"-layers-text")].concat(c(u))}})}))}}},provides:function(e){e.generateLayersText=function(e,t){var n=t.title,r=t.transform,i=t.extra,o=null,a=null;if(L){var s=parseInt(getComputedStyle(e).fontSize,10),u=e.getBoundingClientRect();o=u.width/s,a=u.height/s}return ue.autoA11y&&!n&&(i.attributes["aria-hidden"]="true"),Promise.resolve([e,yt({content:e.innerHTML,width:o,height:a,transform:r,title:n,extra:i,watchable:!0})])}}},tn=new RegExp('"',"ug"),nn=[1105920,1112319];function rn(e,t){var n="".concat("data-fa-pseudo-element-pending").concat(t.replace(":","-"));return new Promise((function(r,o){if(null!==e.getAttribute(n))return r();var a,s,u,c=pe(e.children).filter((function(e){return e.getAttribute(P)===t}))[0],l=S.getComputedStyle(e,t),f=l.getPropertyValue("font-family").match($),d=l.getPropertyValue("font-weight"),p=l.getPropertyValue("content");if(c&&!f)return e.removeChild(c),r();if(f&&"none"!==p&&""!==p){var h=l.getPropertyValue("content"),g=~["Sharp"].indexOf(f[2])?U:B,m=~["Solid","Regular","Light","Thin","Duotone","Brands","Kit"].indexOf(f[2])?Z[g][f[2].toLowerCase()]:Y[g][d],y=function(e){var t,n,r,i,o,a=e.replace(tn,""),s=(n=0,i=(t=a).length,(o=t.charCodeAt(n))>=55296&&o<=56319&&i>n+1&&(r=t.charCodeAt(n+1))>=56320&&r<=57343?1024*(o-55296)+r-56320+65536:o),u=s>=nn[0]&&s<=nn[1],c=2===a.length&&a[0]===a[1];return{value:Ae(c?a[0]:a),isSecondary:u||c}}(h),v=y.value,b=y.isSecondary,_=f[0].startsWith("FontAwesome"),w=Ye(m,v),T=w;if(_){var x=(s=Ze[a=v],u=Ye("fas",a),s||(u?{prefix:"fas",iconName:u}:null)||{prefix:null,iconName:null});x.iconName&&x.prefix&&(w=x.iconName,m=x.prefix)}if(!w||b||c&&c.getAttribute(M)===m&&c.getAttribute(R)===T)r();else{e.setAttribute(n,T),c&&e.removeChild(c);var E={iconName:null,title:null,titleId:null,prefix:null,transform:fe,symbol:!1,mask:{iconName:null,prefix:null,rest:[]},maskId:null,extra:{classes:[],styles:{},attributes:{}}},O=E.extra;O.attributes[P]=t,Tt(w,m).then((function(o){var a=mt(i(i({},E),{},{icons:{main:o,mask:{prefix:null,iconName:null,rest:[]}},prefix:m,iconName:T,extra:O,watchable:!0})),s=k.createElement("svg");"::before"===t?e.insertBefore(s,e.firstChild):e.appendChild(s),s.outerHTML=a.map((function(e){return Oe(e)})).join("\n"),e.removeAttribute(n),r()})).catch(o)}}else r()}))}function on(e){return Promise.all([rn(e,"::before"),rn(e,"::after")])}function an(e){return!(e.parentNode===document.head||~D.indexOf(e.tagName.toUpperCase())||e.getAttribute(P)||e.parentNode&&"svg"===e.parentNode.tagName)}function sn(e){if(C)return new Promise((function(t,n){var r=pe(e.querySelectorAll("*")).filter(an).map(on),i=Ot("searchPseudoElements");Nt(),Promise.all(r).then((function(){i(),Bt(),t()})).catch((function(){i(),Bt(),n()}))}))}var un=!1,cn=function(e){return e.toLowerCase().split(" ").reduce((function(e,t){var n=t.toLowerCase().split("-"),r=n[0],i=n.slice(1).join("-");if(r&&"h"===i)return e.flipX=!0,e;if(r&&"v"===i)return e.flipY=!0,e;if(i=parseFloat(i),isNaN(i))return e;switch(r){case"grow":e.size=e.size+i;break;case"shrink":e.size=e.size-i;break;case"left":e.x=e.x-i;break;case"right":e.x=e.x+i;break;case"up":e.y=e.y-i;break;case"down":e.y=e.y+i;break;case"rotate":e.rotate=e.rotate+i}return e}),{size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0})},ln={mixout:function(){return{parse:{transform:function(e){return cn(e)}}}},hooks:function(){return{parseNodeAttributes:function(e,t){var n=t.getAttribute("data-fa-transform");return n&&(e.transform=cn(n)),e}}},provides:function(e){e.generateAbstractTransformGrouping=function(e){var t=e.main,n=e.transform,r=e.containerWidth,o=e.iconWidth,a={transform:"translate(".concat(r/2," 256)")},s="translate(".concat(32*n.x,", ").concat(32*n.y,") "),u="scale(".concat(n.size/16*(n.flipX?-1:1),", ").concat(n.size/16*(n.flipY?-1:1),") "),c="rotate(".concat(n.rotate," 0 0)"),l={outer:a,inner:{transform:"".concat(s," ").concat(u," ").concat(c)},path:{transform:"translate(".concat(o/2*-1," -256)")}};return{tag:"g",attributes:i({},l.outer),children:[{tag:"g",attributes:i({},l.inner),children:[{tag:t.icon.tag,children:t.icon.children,attributes:i(i({},t.icon.attributes),l.path)}]}]}}}},fn={x:0,y:0,width:"100%",height:"100%"};function dn(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return e.attributes&&(e.attributes.fill||t)&&(e.attributes.fill="black"),e}var pn={hooks:function(){return{parseNodeAttributes:function(e,t){var n=t.getAttribute("data-fa-mask"),r=n?tt(n.split(" ").map((function(e){return e.trim()}))):{prefix:null,iconName:null,rest:[]};return r.prefix||(r.prefix=Qe()),e.mask=r,e.maskId=t.getAttribute("data-fa-mask-id"),e}}},provides:function(e){e.generateAbstractMask=function(e){var t,n=e.children,r=e.attributes,o=e.main,a=e.mask,s=e.maskId,u=e.transform,c=o.width,l=o.icon,f=a.width,d=a.icon,p=function(e){var t=e.transform,n=e.containerWidth,r=e.iconWidth,i={transform:"translate(".concat(n/2," 256)")},o="translate(".concat(32*t.x,", ").concat(32*t.y,") "),a="scale(".concat(t.size/16*(t.flipX?-1:1),", ").concat(t.size/16*(t.flipY?-1:1),") "),s="rotate(".concat(t.rotate," 0 0)");return{outer:i,inner:{transform:"".concat(o," ").concat(a," ").concat(s)},path:{transform:"translate(".concat(r/2*-1," -256)")}}}({transform:u,containerWidth:f,iconWidth:c}),h={tag:"rect",attributes:i(i({},fn),{},{fill:"white"})},g=l.children?{children:l.children.map(dn)}:{},m={tag:"g",attributes:i({},p.inner),children:[dn(i({tag:l.tag,attributes:i(i({},l.attributes),p.path)},g))]},y={tag:"g",attributes:i({},p.outer),children:[m]},v="mask-".concat(s||de()),b="clip-".concat(s||de()),_={tag:"mask",attributes:i(i({},fn),{},{id:v,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[h,y]},w={tag:"defs",children:[{tag:"clipPath",attributes:{id:b},children:(t=d,"g"===t.tag?t.children:[t])},_]};return n.push(w,{tag:"rect",attributes:i({fill:"currentColor","clip-path":"url(#".concat(b,")"),mask:"url(#".concat(v,")")},fn)}),{children:n,attributes:r}}}},hn={provides:function(e){var t=!1;S.matchMedia&&(t=S.matchMedia("(prefers-reduced-motion: reduce)").matches),e.missingIconAbstract=function(){var e=[],n={fill:"currentColor"},r={attributeType:"XML",repeatCount:"indefinite",dur:"2s"};e.push({tag:"path",attributes:i(i({},n),{},{d:"M156.5,447.7l-12.6,29.5c-18.7-9.5-35.9-21.2-51.5-34.9l22.7-22.7C127.6,430.5,141.5,440,156.5,447.7z M40.6,272H8.5 c1.4,21.2,5.4,41.7,11.7,61.1L50,321.2C45.1,305.5,41.8,289,40.6,272z M40.6,240c1.4-18.8,5.2-37,11.1-54.1l-29.5-12.6 C14.7,194.3,10,216.7,8.5,240H40.6z M64.3,156.5c7.8-14.9,17.2-28.8,28.1-41.5L69.7,92.3c-13.7,15.6-25.5,32.8-34.9,51.5 L64.3,156.5z M397,419.6c-13.9,12-29.4,22.3-46.1,30.4l11.9,29.8c20.7-9.9,39.8-22.6,56.9-37.6L397,419.6z M115,92.4 c13.9-12,29.4-22.3,46.1-30.4l-11.9-29.8c-20.7,9.9-39.8,22.6-56.8,37.6L115,92.4z M447.7,355.5c-7.8,14.9-17.2,28.8-28.1,41.5 l22.7,22.7c13.7-15.6,25.5-32.9,34.9-51.5L447.7,355.5z M471.4,272c-1.4,18.8-5.2,37-11.1,54.1l29.5,12.6 c7.5-21.1,12.2-43.5,13.6-66.8H471.4z M321.2,462c-15.7,5-32.2,8.2-49.2,9.4v32.1c21.2-1.4,41.7-5.4,61.1-11.7L321.2,462z M240,471.4c-18.8-1.4-37-5.2-54.1-11.1l-12.6,29.5c21.1,7.5,43.5,12.2,66.8,13.6V471.4z M462,190.8c5,15.7,8.2,32.2,9.4,49.2h32.1 c-1.4-21.2-5.4-41.7-11.7-61.1L462,190.8z M92.4,397c-12-13.9-22.3-29.4-30.4-46.1l-29.8,11.9c9.9,20.7,22.6,39.8,37.6,56.9 L92.4,397z M272,40.6c18.8,1.4,36.9,5.2,54.1,11.1l12.6-29.5C317.7,14.7,295.3,10,272,8.5V40.6z M190.8,50 c15.7-5,32.2-8.2,49.2-9.4V8.5c-21.2,1.4-41.7,5.4-61.1,11.7L190.8,50z M442.3,92.3L419.6,115c12,13.9,22.3,29.4,30.5,46.1 l29.8-11.9C470,128.5,457.3,109.4,442.3,92.3z M397,92.4l22.7-22.7c-15.6-13.7-32.8-25.5-51.5-34.9l-12.6,29.5 C370.4,72.1,384.4,81.5,397,92.4z"})});var o=i(i({},r),{},{attributeName:"opacity"}),a={tag:"circle",attributes:i(i({},n),{},{cx:"256",cy:"364",r:"28"}),children:[]};return t||a.children.push({tag:"animate",attributes:i(i({},r),{},{attributeName:"r",values:"28;14;28;28;14;28;"})},{tag:"animate",attributes:i(i({},o),{},{values:"1;0;1;1;0;1;"})}),e.push(a),e.push({tag:"path",attributes:i(i({},n),{},{opacity:"1",d:"M263.7,312h-16c-6.6,0-12-5.4-12-12c0-71,77.4-63.9,77.4-107.8c0-20-17.8-40.2-57.4-40.2c-29.1,0-44.3,9.6-59.2,28.7 c-3.9,5-11.1,6-16.2,2.4l-13.1-9.2c-5.6-3.9-6.9-11.8-2.6-17.2c21.2-27.2,46.4-44.7,91.2-44.7c52.3,0,97.4,29.8,97.4,80.2 c0,67.6-77.4,63.5-77.4,107.8C275.7,306.6,270.3,312,263.7,312z"}),children:t?[]:[{tag:"animate",attributes:i(i({},o),{},{values:"1;0;0;0;0;1;"})}]}),t||e.push({tag:"path",attributes:i(i({},n),{},{opacity:"0",d:"M232.5,134.5l7,168c0.3,6.4,5.6,11.5,12,11.5h9c6.4,0,11.7-5.1,12-11.5l7-168c0.3-6.8-5.2-12.5-12-12.5h-23 C237.7,122,232.2,127.7,232.5,134.5z"}),children:[{tag:"animate",attributes:i(i({},o),{},{values:"0;0;1;1;0;0;"})}]}),{tag:"g",attributes:{class:"missing"},children:e}}}};!function(e,t){var n=t.mixoutsTo;rt=e,it={},Object.keys(ot).forEach((function(e){-1===at.indexOf(e)&&delete ot[e]})),rt.forEach((function(e){var t=e.mixout?e.mixout():{};if(Object.keys(t).forEach((function(e){"function"==typeof t[e]&&(n[e]=t[e]),"object"===o(t[e])&&Object.keys(t[e]).forEach((function(r){n[e]||(n[e]={}),n[e][r]=t[e][r]}))})),e.hooks){var r=e.hooks();Object.keys(r).forEach((function(e){it[e]||(it[e]=[]),it[e].push(r[e])}))}e.provides&&e.provides(ot)}))}([we,Xt,Qt,Jt,en,{hooks:function(){return{mutationObserverCallbacks:function(e){return e.pseudoElementsCallback=sn,e}}},provides:function(e){e.pseudoElements2svg=function(e){var t=e.node,n=void 0===t?k:t;ue.searchPseudoElements&&sn(n)}}},{mixout:function(){return{dom:{unwatch:function(){Nt(),un=!0}}}},hooks:function(){return{bootstrap:function(){Ft(st("mutationObserverCallbacks",{}))},noAuto:function(){Ut&&Ut.disconnect()},watch:function(e){var t=e.observeMutationsRoot;un?Bt():Ft(st("mutationObserverCallbacks",{observeMutationsRoot:t}))}}}},ln,pn,hn,{hooks:function(){return{parseNodeAttributes:function(e,t){var n=t.getAttribute("data-fa-symbol"),r=null!==n&&(""===n||n);return e.symbol=r,e}}}}],{mixoutsTo:pt});var gn=pt.library,mn=pt.dom,yn=pt.parse,vn=pt.icon},29204:function(e,t,n){"use strict";n.d(t,{Mw:function(){return s}});var r=n(71257);const{Axios:i,AxiosError:o,CanceledError:a,isCancel:s,CancelToken:u,VERSION:c,all:l,Cancel:f,isAxiosError:d,spread:p,toFormData:h,AxiosHeaders:g,HttpStatusCode:m,formToJSON:y,getAdapter:v,mergeConfig:b}=r.Z},71257:function(e,t,n){"use strict";n.d(t,{Z:function(){return Ge}});var r={};function i(e,t){return function(){return e.apply(t,arguments)}}n.r(r),n.d(r,{hasBrowserEnv:function(){return re},hasStandardBrowserEnv:function(){return ie},hasStandardBrowserWebWorkerEnv:function(){return ae}});const{toString:o}=Object.prototype,{getPrototypeOf:a}=Object,s=(u=Object.create(null),e=>{const t=o.call(e);return u[t]||(u[t]=t.slice(8,-1).toLowerCase())});var u;const c=e=>(e=e.toLowerCase(),t=>s(t)===e),l=e=>t=>typeof t===e,{isArray:f}=Array,d=l("undefined");const p=c("ArrayBuffer");const h=l("string"),g=l("function"),m=l("number"),y=e=>null!==e&&"object"==typeof e,v=e=>{if("object"!==s(e))return!1;const t=a(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||Symbol.toStringTag in e||Symbol.iterator in e)},b=c("Date"),_=c("File"),w=c("Blob"),T=c("FileList"),x=c("URLSearchParams");function S(e,t,{allOwnKeys:n=!1}={}){if(null==e)return;let r,i;if("object"!=typeof e&&(e=[e]),f(e))for(r=0,i=e.length;r<i;r++)t.call(null,e[r],r,e);else{const i=n?Object.getOwnPropertyNames(e):Object.keys(e),o=i.length;let a;for(r=0;r<o;r++)a=i[r],t.call(null,e[a],a,e)}}function k(e,t){t=t.toLowerCase();const n=Object.keys(e);let r,i=n.length;for(;i-- >0;)if(r=n[i],t===r.toLowerCase())return r;return null}const E="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:global,O=e=>!d(e)&&e!==E;const C=(L="undefined"!=typeof Uint8Array&&a(Uint8Array),e=>L&&e instanceof L);var L;const A=c("HTMLFormElement"),I=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),P=c("RegExp"),M=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};S(n,((n,i)=>{let o;!1!==(o=t(n,i,e))&&(r[i]=o||n)})),Object.defineProperties(e,r)},R="abcdefghijklmnopqrstuvwxyz",j="0123456789",D={DIGIT:j,ALPHA:R,ALPHA_DIGIT:R+R.toUpperCase()+j};const N=c("AsyncFunction");var B={isArray:f,isArrayBuffer:p,isBuffer:function(e){return null!==e&&!d(e)&&null!==e.constructor&&!d(e.constructor)&&g(e.constructor.isBuffer)&&e.constructor.isBuffer(e)},isFormData:e=>{let t;return e&&("function"==typeof FormData&&e instanceof FormData||g(e.append)&&("formdata"===(t=s(e))||"object"===t&&g(e.toString)&&"[object FormData]"===e.toString()))},isArrayBufferView:function(e){let t;return t="undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&p(e.buffer),t},isString:h,isNumber:m,isBoolean:e=>!0===e||!1===e,isObject:y,isPlainObject:v,isUndefined:d,isDate:b,isFile:_,isBlob:w,isRegExp:P,isFunction:g,isStream:e=>y(e)&&g(e.pipe),isURLSearchParams:x,isTypedArray:C,isFileList:T,forEach:S,merge:function e(){const{caseless:t}=O(this)&&this||{},n={},r=(r,i)=>{const o=t&&k(n,i)||i;v(n[o])&&v(r)?n[o]=e(n[o],r):v(r)?n[o]=e({},r):f(r)?n[o]=r.slice():n[o]=r};for(let e=0,t=arguments.length;e<t;e++)arguments[e]&&S(arguments[e],r);return n},extend:(e,t,n,{allOwnKeys:r}={})=>(S(t,((t,r)=>{n&&g(t)?e[r]=i(t,n):e[r]=t}),{allOwnKeys:r}),e),trim:e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),stripBOM:e=>(65279===e.charCodeAt(0)&&(e=e.slice(1)),e),inherits:(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},toFlatObject:(e,t,n,r)=>{let i,o,s;const u={};if(t=t||{},null==e)return t;do{for(i=Object.getOwnPropertyNames(e),o=i.length;o-- >0;)s=i[o],r&&!r(s,e,t)||u[s]||(t[s]=e[s],u[s]=!0);e=!1!==n&&a(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},kindOf:s,kindOfTest:c,endsWith:(e,t,n)=>{e=String(e),(void 0===n||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return-1!==r&&r===n},toArray:e=>{if(!e)return null;if(f(e))return e;let t=e.length;if(!m(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},forEachEntry:(e,t)=>{const n=(e&&e[Symbol.iterator]).call(e);let r;for(;(r=n.next())&&!r.done;){const n=r.value;t.call(e,n[0],n[1])}},matchAll:(e,t)=>{let n;const r=[];for(;null!==(n=e.exec(t));)r.push(n);return r},isHTMLForm:A,hasOwnProperty:I,hasOwnProp:I,reduceDescriptors:M,freezeMethods:e=>{M(e,((t,n)=>{if(g(e)&&-1!==["arguments","caller","callee"].indexOf(n))return!1;const r=e[n];g(r)&&(t.enumerable=!1,"writable"in t?t.writable=!1:t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")}))}))},toObjectSet:(e,t)=>{const n={},r=e=>{e.forEach((e=>{n[e]=!0}))};return f(e)?r(e):r(String(e).split(t)),n},toCamelCase:e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,(function(e,t,n){return t.toUpperCase()+n})),noop:()=>{},toFiniteNumber:(e,t)=>(e=+e,Number.isFinite(e)?e:t),findKey:k,global:E,isContextDefined:O,ALPHABET:D,generateString:(e=16,t=D.ALPHA_DIGIT)=>{let n="";const{length:r}=t;for(;e--;)n+=t[Math.random()*r|0];return n},isSpecCompliantForm:function(e){return!!(e&&g(e.append)&&"FormData"===e[Symbol.toStringTag]&&e[Symbol.iterator])},toJSONObject:e=>{const t=new Array(10),n=(e,r)=>{if(y(e)){if(t.indexOf(e)>=0)return;if(!("toJSON"in e)){t[r]=e;const i=f(e)?[]:{};return S(e,((e,t)=>{const o=n(e,r+1);!d(o)&&(i[t]=o)})),t[r]=void 0,i}}return e};return n(e,0)},isAsyncFn:N,isThenable:e=>e&&(y(e)||g(e))&&g(e.then)&&g(e.catch)};function U(e,t,n,r,i){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),i&&(this.response=i)}B.inherits(U,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:B.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const F=U.prototype,z={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach((e=>{z[e]={value:e}})),Object.defineProperties(U,z),Object.defineProperty(F,"isAxiosError",{value:!0}),U.from=(e,t,n,r,i,o)=>{const a=Object.create(F);return B.toFlatObject(e,a,(function(e){return e!==Error.prototype}),(e=>"isAxiosError"!==e)),U.call(a,e.message,t,n,r,i),a.cause=e,a.name=e.name,o&&Object.assign(a,o),a};var H=U;function Z(e){return B.isPlainObject(e)||B.isArray(e)}function q(e){return B.endsWith(e,"[]")?e.slice(0,-2):e}function V(e,t,n){return e?e.concat(t).map((function(e,t){return e=q(e),!n&&t?"["+e+"]":e})).join(n?".":""):t}const W=B.toFlatObject(B,{},null,(function(e){return/^is[A-Z]/.test(e)}));var G=function(e,t,n){if(!B.isObject(e))throw new TypeError("target must be an object");t=t||new FormData;const r=(n=B.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,(function(e,t){return!B.isUndefined(t[e])}))).metaTokens,i=n.visitor||c,o=n.dots,a=n.indexes,s=(n.Blob||"undefined"!=typeof Blob&&Blob)&&B.isSpecCompliantForm(t);if(!B.isFunction(i))throw new TypeError("visitor must be a function");function u(e){if(null===e)return"";if(B.isDate(e))return e.toISOString();if(!s&&B.isBlob(e))throw new H("Blob is not supported. Use a Buffer instead.");return B.isArrayBuffer(e)||B.isTypedArray(e)?s&&"function"==typeof Blob?new Blob([e]):Buffer.from(e):e}function c(e,n,i){let s=e;if(e&&!i&&"object"==typeof e)if(B.endsWith(n,"{}"))n=r?n:n.slice(0,-2),e=JSON.stringify(e);else if(B.isArray(e)&&function(e){return B.isArray(e)&&!e.some(Z)}(e)||(B.isFileList(e)||B.endsWith(n,"[]"))&&(s=B.toArray(e)))return n=q(n),s.forEach((function(e,r){!B.isUndefined(e)&&null!==e&&t.append(!0===a?V([n],r,o):null===a?n:n+"[]",u(e))})),!1;return!!Z(e)||(t.append(V(i,n,o),u(e)),!1)}const l=[],f=Object.assign(W,{defaultVisitor:c,convertValue:u,isVisitable:Z});if(!B.isObject(e))throw new TypeError("data must be an object");return function e(n,r){if(!B.isUndefined(n)){if(-1!==l.indexOf(n))throw Error("Circular reference detected in "+r.join("."));l.push(n),B.forEach(n,(function(n,o){!0===(!(B.isUndefined(n)||null===n)&&i.call(t,n,B.isString(o)?o.trim():o,r,f))&&e(n,r?r.concat(o):[o])})),l.pop()}}(e),t};function $(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,(function(e){return t[e]}))}function Y(e,t){this._pairs=[],e&&G(e,this,t)}const K=Y.prototype;K.append=function(e,t){this._pairs.push([e,t])},K.toString=function(e){const t=e?function(t){return e.call(this,t,$)}:$;return this._pairs.map((function(e){return t(e[0])+"="+t(e[1])}),"").join("&")};var X=Y;function Q(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function J(e,t,n){if(!t)return e;const r=n&&n.encode||Q,i=n&&n.serialize;let o;if(o=i?i(t,n):B.isURLSearchParams(t)?t.toString():new X(t,n).toString(r),o){const t=e.indexOf("#");-1!==t&&(e=e.slice(0,t)),e+=(-1===e.indexOf("?")?"?":"&")+o}return e}var ee=class{constructor(){this.handlers=[]}use(e,t,n){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){B.forEach(this.handlers,(function(t){null!==t&&e(t)}))}},te={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},ne={isBrowser:!0,classes:{URLSearchParams:"undefined"!=typeof URLSearchParams?URLSearchParams:X,FormData:"undefined"!=typeof FormData?FormData:null,Blob:"undefined"!=typeof Blob?Blob:null},protocols:["http","https","file","blob","url","data"]};const re="undefined"!=typeof window&&"undefined"!=typeof document,ie=(oe="undefined"!=typeof navigator&&navigator.product,re&&["ReactNative","NativeScript","NS"].indexOf(oe)<0);var oe;const ae="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts;var se={...r,...ne};var ue=function(e){function t(e,n,r,i){let o=e[i++];if("__proto__"===o)return!0;const a=Number.isFinite(+o),s=i>=e.length;if(o=!o&&B.isArray(r)?r.length:o,s)return B.hasOwnProp(r,o)?r[o]=[r[o],n]:r[o]=n,!a;r[o]&&B.isObject(r[o])||(r[o]=[]);return t(e,n,r[o],i)&&B.isArray(r[o])&&(r[o]=function(e){const t={},n=Object.keys(e);let r;const i=n.length;let o;for(r=0;r<i;r++)o=n[r],t[o]=e[o];return t}(r[o])),!a}if(B.isFormData(e)&&B.isFunction(e.entries)){const n={};return B.forEachEntry(e,((e,r)=>{t(function(e){return B.matchAll(/\w+|\[(\w*)]/g,e).map((e=>"[]"===e[0]?"":e[1]||e[0]))}(e),r,n,0)})),n}return null};const ce={transitional:te,adapter:["xhr","http"],transformRequest:[function(e,t){const n=t.getContentType()||"",r=n.indexOf("application/json")>-1,i=B.isObject(e);i&&B.isHTMLForm(e)&&(e=new FormData(e));if(B.isFormData(e))return r?JSON.stringify(ue(e)):e;if(B.isArrayBuffer(e)||B.isBuffer(e)||B.isStream(e)||B.isFile(e)||B.isBlob(e))return e;if(B.isArrayBufferView(e))return e.buffer;if(B.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let o;if(i){if(n.indexOf("application/x-www-form-urlencoded")>-1)return function(e,t){return G(e,new se.classes.URLSearchParams,Object.assign({visitor:function(e,t,n,r){return se.isNode&&B.isBuffer(e)?(this.append(t,e.toString("base64")),!1):r.defaultVisitor.apply(this,arguments)}},t))}(e,this.formSerializer).toString();if((o=B.isFileList(e))||n.indexOf("multipart/form-data")>-1){const t=this.env&&this.env.FormData;return G(o?{"files[]":e}:e,t&&new t,this.formSerializer)}}return i||r?(t.setContentType("application/json",!1),function(e,t,n){if(B.isString(e))try{return(t||JSON.parse)(e),B.trim(e)}catch(e){if("SyntaxError"!==e.name)throw e}return(n||JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){const t=this.transitional||ce.transitional,n=t&&t.forcedJSONParsing,r="json"===this.responseType;if(e&&B.isString(e)&&(n&&!this.responseType||r)){const n=!(t&&t.silentJSONParsing)&&r;try{return JSON.parse(e)}catch(e){if(n){if("SyntaxError"===e.name)throw H.from(e,H.ERR_BAD_RESPONSE,this,null,this.response);throw e}}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:se.classes.FormData,Blob:se.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};B.forEach(["delete","get","head","post","put","patch"],(e=>{ce.headers[e]={}}));var le=ce;const fe=B.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]);const de=Symbol("internals");function pe(e){return e&&String(e).trim().toLowerCase()}function he(e){return!1===e||null==e?e:B.isArray(e)?e.map(he):String(e)}function ge(e,t,n,r,i){return B.isFunction(r)?r.call(this,t,n):(i&&(t=n),B.isString(t)?B.isString(r)?-1!==t.indexOf(r):B.isRegExp(r)?r.test(t):void 0:void 0)}class me{constructor(e){e&&this.set(e)}set(e,t,n){const r=this;function i(e,t,n){const i=pe(t);if(!i)throw new Error("header name must be a non-empty string");const o=B.findKey(r,i);(!o||void 0===r[o]||!0===n||void 0===n&&!1!==r[o])&&(r[o||t]=he(e))}const o=(e,t)=>B.forEach(e,((e,n)=>i(e,n,t)));return B.isPlainObject(e)||e instanceof this.constructor?o(e,t):B.isString(e)&&(e=e.trim())&&!/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim())?o((e=>{const t={};let n,r,i;return e&&e.split("\n").forEach((function(e){i=e.indexOf(":"),n=e.substring(0,i).trim().toLowerCase(),r=e.substring(i+1).trim(),!n||t[n]&&fe[n]||("set-cookie"===n?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)})),t})(e),t):null!=e&&i(t,e,n),this}get(e,t){if(e=pe(e)){const n=B.findKey(this,e);if(n){const e=this[n];if(!t)return e;if(!0===t)return function(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}(e);if(B.isFunction(t))return t.call(this,e,n);if(B.isRegExp(t))return t.exec(e);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,t){if(e=pe(e)){const n=B.findKey(this,e);return!(!n||void 0===this[n]||t&&!ge(0,this[n],n,t))}return!1}delete(e,t){const n=this;let r=!1;function i(e){if(e=pe(e)){const i=B.findKey(n,e);!i||t&&!ge(0,n[i],i,t)||(delete n[i],r=!0)}}return B.isArray(e)?e.forEach(i):i(e),r}clear(e){const t=Object.keys(this);let n=t.length,r=!1;for(;n--;){const i=t[n];e&&!ge(0,this[i],i,e,!0)||(delete this[i],r=!0)}return r}normalize(e){const t=this,n={};return B.forEach(this,((r,i)=>{const o=B.findKey(n,i);if(o)return t[o]=he(r),void delete t[i];const a=e?function(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,((e,t,n)=>t.toUpperCase()+n))}(i):String(i).trim();a!==i&&delete t[i],t[a]=he(r),n[a]=!0})),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const t=Object.create(null);return B.forEach(this,((n,r)=>{null!=n&&!1!==n&&(t[r]=e&&B.isArray(n)?n.join(", "):n)})),t}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map((([e,t])=>e+": "+t)).join("\n")}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...t){const n=new this(e);return t.forEach((e=>n.set(e))),n}static accessor(e){const t=(this[de]=this[de]={accessors:{}}).accessors,n=this.prototype;function r(e){const r=pe(e);t[r]||(!function(e,t){const n=B.toCamelCase(" "+t);["get","set","has"].forEach((r=>{Object.defineProperty(e,r+n,{value:function(e,n,i){return this[r].call(this,t,e,n,i)},configurable:!0})}))}(n,e),t[r]=!0)}return B.isArray(e)?e.forEach(r):r(e),this}}me.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),B.reduceDescriptors(me.prototype,(({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(e){this[n]=e}}})),B.freezeMethods(me);var ye=me;function ve(e,t){const n=this||le,r=t||n,i=ye.from(r.headers);let o=r.data;return B.forEach(e,(function(e){o=e.call(n,o,i.normalize(),t?t.status:void 0)})),i.normalize(),o}function be(e){return!(!e||!e.__CANCEL__)}function _e(e,t,n){H.call(this,null==e?"canceled":e,H.ERR_CANCELED,t,n),this.name="CanceledError"}B.inherits(_e,H,{__CANCEL__:!0});var we=_e;var Te=se.hasStandardBrowserEnv?{write(e,t,n,r,i,o){const a=[e+"="+encodeURIComponent(t)];B.isNumber(n)&&a.push("expires="+new Date(n).toGMTString()),B.isString(r)&&a.push("path="+r),B.isString(i)&&a.push("domain="+i),!0===o&&a.push("secure"),document.cookie=a.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read:()=>null,remove(){}};function xe(e,t){return e&&!/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)?function(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}(e,t):t}var Se=se.hasStandardBrowserEnv?function(){const e=/(msie|trident)/i.test(navigator.userAgent),t=document.createElement("a");let n;function r(n){let r=n;return e&&(t.setAttribute("href",r),r=t.href),t.setAttribute("href",r),{href:t.href,protocol:t.protocol?t.protocol.replace(/:$/,""):"",host:t.host,search:t.search?t.search.replace(/^\?/,""):"",hash:t.hash?t.hash.replace(/^#/,""):"",hostname:t.hostname,port:t.port,pathname:"/"===t.pathname.charAt(0)?t.pathname:"/"+t.pathname}}return n=r(window.location.href),function(e){const t=B.isString(e)?r(e):e;return t.protocol===n.protocol&&t.host===n.host}}():function(){return!0};var ke=function(e,t){e=e||10;const n=new Array(e),r=new Array(e);let i,o=0,a=0;return t=void 0!==t?t:1e3,function(s){const u=Date.now(),c=r[a];i||(i=u),n[o]=s,r[o]=u;let l=a,f=0;for(;l!==o;)f+=n[l++],l%=e;if(o=(o+1)%e,o===a&&(a=(a+1)%e),u-i<t)return;const d=c&&u-c;return d?Math.round(1e3*f/d):void 0}};function Ee(e,t){let n=0;const r=ke(50,250);return i=>{const o=i.loaded,a=i.lengthComputable?i.total:void 0,s=o-n,u=r(s);n=o;const c={loaded:o,total:a,progress:a?o/a:void 0,bytes:s,rate:u||void 0,estimated:u&&a&&o<=a?(a-o)/u:void 0,event:i};c[t?"download":"upload"]=!0,e(c)}}const Oe={http:null,xhr:"undefined"!=typeof XMLHttpRequest&&function(e){return new Promise((function(t,n){let r=e.data;const i=ye.from(e.headers).normalize();let o,a,{responseType:s,withXSRFToken:u}=e;function c(){e.cancelToken&&e.cancelToken.unsubscribe(o),e.signal&&e.signal.removeEventListener("abort",o)}if(B.isFormData(r))if(se.hasStandardBrowserEnv||se.hasStandardBrowserWebWorkerEnv)i.setContentType(!1);else if(!1!==(a=i.getContentType())){const[e,...t]=a?a.split(";").map((e=>e.trim())).filter(Boolean):[];i.setContentType([e||"multipart/form-data",...t].join("; "))}let l=new XMLHttpRequest;if(e.auth){const t=e.auth.username||"",n=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";i.set("Authorization","Basic "+btoa(t+":"+n))}const f=xe(e.baseURL,e.url);function d(){if(!l)return;const r=ye.from("getAllResponseHeaders"in l&&l.getAllResponseHeaders());!function(e,t,n){const r=n.config.validateStatus;n.status&&r&&!r(n.status)?t(new H("Request failed with status code "+n.status,[H.ERR_BAD_REQUEST,H.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n)):e(n)}((function(e){t(e),c()}),(function(e){n(e),c()}),{data:s&&"text"!==s&&"json"!==s?l.response:l.responseText,status:l.status,statusText:l.statusText,headers:r,config:e,request:l}),l=null}if(l.open(e.method.toUpperCase(),J(f,e.params,e.paramsSerializer),!0),l.timeout=e.timeout,"onloadend"in l?l.onloadend=d:l.onreadystatechange=function(){l&&4===l.readyState&&(0!==l.status||l.responseURL&&0===l.responseURL.indexOf("file:"))&&setTimeout(d)},l.onabort=function(){l&&(n(new H("Request aborted",H.ECONNABORTED,e,l)),l=null)},l.onerror=function(){n(new H("Network Error",H.ERR_NETWORK,e,l)),l=null},l.ontimeout=function(){let t=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded";const r=e.transitional||te;e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),n(new H(t,r.clarifyTimeoutError?H.ETIMEDOUT:H.ECONNABORTED,e,l)),l=null},se.hasStandardBrowserEnv&&(u&&B.isFunction(u)&&(u=u(e)),u||!1!==u&&Se(f))){const t=e.xsrfHeaderName&&e.xsrfCookieName&&Te.read(e.xsrfCookieName);t&&i.set(e.xsrfHeaderName,t)}void 0===r&&i.setContentType(null),"setRequestHeader"in l&&B.forEach(i.toJSON(),(function(e,t){l.setRequestHeader(t,e)})),B.isUndefined(e.withCredentials)||(l.withCredentials=!!e.withCredentials),s&&"json"!==s&&(l.responseType=e.responseType),"function"==typeof e.onDownloadProgress&&l.addEventListener("progress",Ee(e.onDownloadProgress,!0)),"function"==typeof e.onUploadProgress&&l.upload&&l.upload.addEventListener("progress",Ee(e.onUploadProgress)),(e.cancelToken||e.signal)&&(o=t=>{l&&(n(!t||t.type?new we(null,e,l):t),l.abort(),l=null)},e.cancelToken&&e.cancelToken.subscribe(o),e.signal&&(e.signal.aborted?o():e.signal.addEventListener("abort",o)));const p=function(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}(f);p&&-1===se.protocols.indexOf(p)?n(new H("Unsupported protocol "+p+":",H.ERR_BAD_REQUEST,e)):l.send(r||null)}))}};B.forEach(Oe,((e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch(e){}Object.defineProperty(e,"adapterName",{value:t})}}));const Ce=e=>`- ${e}`,Le=e=>B.isFunction(e)||null===e||!1===e;var Ae=e=>{e=B.isArray(e)?e:[e];const{length:t}=e;let n,r;const i={};for(let o=0;o<t;o++){let t;if(n=e[o],r=n,!Le(n)&&(r=Oe[(t=String(n)).toLowerCase()],void 0===r))throw new H(`Unknown adapter '${t}'`);if(r)break;i[t||"#"+o]=r}if(!r){const e=Object.entries(i).map((([e,t])=>`adapter ${e} `+(!1===t?"is not supported by the environment":"is not available in the build")));let n=t?e.length>1?"since :\n"+e.map(Ce).join("\n"):" "+Ce(e[0]):"as no adapter specified";throw new H("There is no suitable adapter to dispatch the request "+n,"ERR_NOT_SUPPORT")}return r};function Ie(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new we(null,e)}function Pe(e){Ie(e),e.headers=ye.from(e.headers),e.data=ve.call(e,e.transformRequest),-1!==["post","put","patch"].indexOf(e.method)&&e.headers.setContentType("application/x-www-form-urlencoded",!1);return Ae(e.adapter||le.adapter)(e).then((function(t){return Ie(e),t.data=ve.call(e,e.transformResponse,t),t.headers=ye.from(t.headers),t}),(function(t){return be(t)||(Ie(e),t&&t.response&&(t.response.data=ve.call(e,e.transformResponse,t.response),t.response.headers=ye.from(t.response.headers))),Promise.reject(t)}))}const Me=e=>e instanceof ye?e.toJSON():e;function Re(e,t){t=t||{};const n={};function r(e,t,n){return B.isPlainObject(e)&&B.isPlainObject(t)?B.merge.call({caseless:n},e,t):B.isPlainObject(t)?B.merge({},t):B.isArray(t)?t.slice():t}function i(e,t,n){return B.isUndefined(t)?B.isUndefined(e)?void 0:r(void 0,e,n):r(e,t,n)}function o(e,t){if(!B.isUndefined(t))return r(void 0,t)}function a(e,t){return B.isUndefined(t)?B.isUndefined(e)?void 0:r(void 0,e):r(void 0,t)}function s(n,i,o){return o in t?r(n,i):o in e?r(void 0,n):void 0}const u={url:o,method:o,data:o,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,withXSRFToken:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:s,headers:(e,t)=>i(Me(e),Me(t),!0)};return B.forEach(Object.keys(Object.assign({},e,t)),(function(r){const o=u[r]||i,a=o(e[r],t[r],r);B.isUndefined(a)&&o!==s||(n[r]=a)})),n}const je="1.6.7",De={};["object","boolean","number","function","string","symbol"].forEach(((e,t)=>{De[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}}));const Ne={};De.transitional=function(e,t,n){function r(e,t){return"[Axios v1.6.7] Transitional option '"+e+"'"+t+(n?". "+n:"")}return(n,i,o)=>{if(!1===e)throw new H(r(i," has been removed"+(t?" in "+t:"")),H.ERR_DEPRECATED);return t&&!Ne[i]&&(Ne[i]=!0,console.warn(r(i," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(n,i,o)}};var Be={assertOptions:function(e,t,n){if("object"!=typeof e)throw new H("options must be an object",H.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let i=r.length;for(;i-- >0;){const o=r[i],a=t[o];if(a){const t=e[o],n=void 0===t||a(t,o,e);if(!0!==n)throw new H("option "+o+" must be "+n,H.ERR_BAD_OPTION_VALUE)}else if(!0!==n)throw new H("Unknown option "+o,H.ERR_BAD_OPTION)}},validators:De};const Ue=Be.validators;class Fe{constructor(e){this.defaults=e,this.interceptors={request:new ee,response:new ee}}async request(e,t){try{return await this._request(e,t)}catch(e){if(e instanceof Error){let t;Error.captureStackTrace?Error.captureStackTrace(t={}):t=new Error;const n=t.stack?t.stack.replace(/^.+\n/,""):"";e.stack?n&&!String(e.stack).endsWith(n.replace(/^.+\n.+\n/,""))&&(e.stack+="\n"+n):e.stack=n}throw e}}_request(e,t){"string"==typeof e?(t=t||{}).url=e:t=e||{},t=Re(this.defaults,t);const{transitional:n,paramsSerializer:r,headers:i}=t;void 0!==n&&Be.assertOptions(n,{silentJSONParsing:Ue.transitional(Ue.boolean),forcedJSONParsing:Ue.transitional(Ue.boolean),clarifyTimeoutError:Ue.transitional(Ue.boolean)},!1),null!=r&&(B.isFunction(r)?t.paramsSerializer={serialize:r}:Be.assertOptions(r,{encode:Ue.function,serialize:Ue.function},!0)),t.method=(t.method||this.defaults.method||"get").toLowerCase();let o=i&&B.merge(i.common,i[t.method]);i&&B.forEach(["delete","get","head","post","put","patch","common"],(e=>{delete i[e]})),t.headers=ye.concat(o,i);const a=[];let s=!0;this.interceptors.request.forEach((function(e){"function"==typeof e.runWhen&&!1===e.runWhen(t)||(s=s&&e.synchronous,a.unshift(e.fulfilled,e.rejected))}));const u=[];let c;this.interceptors.response.forEach((function(e){u.push(e.fulfilled,e.rejected)}));let l,f=0;if(!s){const e=[Pe.bind(this),void 0];for(e.unshift.apply(e,a),e.push.apply(e,u),l=e.length,c=Promise.resolve(t);f<l;)c=c.then(e[f++],e[f++]);return c}l=a.length;let d=t;for(f=0;f<l;){const e=a[f++],t=a[f++];try{d=e(d)}catch(e){t.call(this,e);break}}try{c=Pe.call(this,d)}catch(e){return Promise.reject(e)}for(f=0,l=u.length;f<l;)c=c.then(u[f++],u[f++]);return c}getUri(e){return J(xe((e=Re(this.defaults,e)).baseURL,e.url),e.params,e.paramsSerializer)}}B.forEach(["delete","get","head","options"],(function(e){Fe.prototype[e]=function(t,n){return this.request(Re(n||{},{method:e,url:t,data:(n||{}).data}))}})),B.forEach(["post","put","patch"],(function(e){function t(t){return function(n,r,i){return this.request(Re(i||{},{method:e,headers:t?{"Content-Type":"multipart/form-data"}:{},url:n,data:r}))}}Fe.prototype[e]=t(),Fe.prototype[e+"Form"]=t(!0)}));var ze=Fe;class He{constructor(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");let t;this.promise=new Promise((function(e){t=e}));const n=this;this.promise.then((e=>{if(!n._listeners)return;let t=n._listeners.length;for(;t-- >0;)n._listeners[t](e);n._listeners=null})),this.promise.then=e=>{let t;const r=new Promise((e=>{n.subscribe(e),t=e})).then(e);return r.cancel=function(){n.unsubscribe(t)},r},e((function(e,r,i){n.reason||(n.reason=new we(e,r,i),t(n.reason))}))}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;const t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}static source(){let e;return{token:new He((function(t){e=t})),cancel:e}}}var Ze=He;const qe={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(qe).forEach((([e,t])=>{qe[t]=e}));var Ve=qe;const We=function e(t){const n=new ze(t),r=i(ze.prototype.request,n);return B.extend(r,ze.prototype,n,{allOwnKeys:!0}),B.extend(r,n,null,{allOwnKeys:!0}),r.create=function(n){return e(Re(t,n))},r}(le);We.Axios=ze,We.CanceledError=we,We.CancelToken=Ze,We.isCancel=be,We.VERSION=je,We.toFormData=G,We.AxiosError=H,We.Cancel=We.CanceledError,We.all=function(e){return Promise.all(e)},We.spread=function(e){return function(t){return e.apply(null,t)}},We.isAxiosError=function(e){return B.isObject(e)&&!0===e.isAxiosError},We.mergeConfig=Re,We.AxiosHeaders=ye,We.formToJSON=e=>ue(B.isHTMLForm(e)?new FormData(e):e),We.getAdapter=Ae,We.HttpStatusCode=Ve,We.default=We;var Ge=We},66773:function(e,t,n){"use strict";n.d(t,{ZP:function(){return u},db:function(){return s},mh:function(){return a}});var r=n(8571),i=n(68238),o=n(38754),a={D50:[.3457/.3585,1,.2958/.3585],D65:[.3127/.329,1,.3583/.329]};function s(e){return Array.isArray(e)?e:a[e]}function u(e,t,n){var u,c,l=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};if(e=s(e),t=s(t),!e||!t)throw new TypeError(r(u=r(c="Missing white point to convert ".concat(e?"":"from")).call(c,e||t?"":"/")).call(u,t?"":"to"));if(e===t)return n;var f={W1:e,W2:t,XYZ:n,options:l};if(i.Z.run("chromatic-adaptation-start",f),f.M||(f.W1===a.D65&&f.W2===a.D50?f.M=[[1.0479297925449969,.022946870601609652,-.05019226628920524],[.02962780877005599,.9904344267538799,-.017073799063418826],[-.009243040646204504,.015055191490298152,.7518742814281371]]:f.W1===a.D50&&f.W2===a.D65&&(f.M=[[.955473421488075,-.02309845494876471,.06325924320057072],[-.0283697093338637,1.0099953980813041,.021041441191917323],[.012314014864481998,-.020507649298898964,1.330365926242124]])),i.Z.run("chromatic-adaptation-end",f),f.M)return(0,o.Z)(f.M,f.XYZ);throw new TypeError("Only Bradford CAT with white points D50 and D65 supported for now.")}},50012:function(e,t,n){"use strict";n.d(t,{Z:function(){return P}});var r={};n.r(r),n.d(r,{contrastAPCA:function(){return y},contrastDeltaPhi:function(){return A},contrastLstar:function(){return w},contrastMichelson:function(){return v},contrastWCAG21:function(){return d},contrastWeber:function(){return b}});var i=n(41266),o=n(88946),a=n(62079),s=n(8293),u=n(75064),c=n(64030),l=n(65049);function f(e){return(0,c.Z)(e,[l.Z,"y"])}function d(e,t){e=(0,s.Z)(e),t=(0,s.Z)(t);var n=Math.max(f(e),0),r=Math.max(f(t),0);if(r>n){var i=[r,n];n=i[0],r=i[1]}return(n+.05)/(r+.05)}var p=n(59056),h=n(19487);function g(e){return e>=.022?e:e+Math.pow(.022-e,1.414)}function m(e){var t=e<0?-1:1,n=Math.abs(e);return t*Math.pow(n,2.4)}function y(e,t){var n,r,i,o;t=(0,s.Z)(t),e=(0,s.Z)(e),t=(0,h.Z)(t,"srgb");var a=(0,p.Z)(t.coords,3);r=a[0],i=a[1],o=a[2];var u=.2126729*m(r)+.7151522*m(i)+.072175*m(o);e=(0,h.Z)(e,"srgb");var c=(0,p.Z)(e.coords,3);r=c[0],i=c[1],o=c[2];var l=.2126729*m(r)+.7151522*m(i)+.072175*m(o),f=g(u),d=g(l),y=d>f;return n=Math.abs(d-f)<5e-4?0:y?1.14*(Math.pow(d,.56)-Math.pow(f,.57)):1.14*(Math.pow(d,.65)-Math.pow(f,.62)),100*(Math.abs(n)<.1?0:n>0?n-.027:n+.027)}function v(e,t){e=(0,s.Z)(e),t=(0,s.Z)(t);var n=Math.max(f(e),0),r=Math.max(f(t),0);if(r>n){var i=[r,n];n=i[0],r=i[1]}var o=n+r;return 0===o?0:(n-r)/o}function b(e,t){e=(0,s.Z)(e),t=(0,s.Z)(t);var n=Math.max(f(e),0),r=Math.max(f(t),0);if(r>n){var i=[r,n];n=i[0],r=i[1]}return 0===r?5e4:(n-r)/r}var _=n(54123);function w(e,t){e=(0,s.Z)(e),t=(0,s.Z)(t);var n=(0,c.Z)(e,[_.Z,"l"]),r=(0,c.Z)(t,[_.Z,"l"]);return Math.abs(n-r)}var T=n(59898),x=n(4020),S=n(66773),k=24/116,E=24389/27,O=S.mh.D65,C=new x.Z({id:"lab-d65",name:"Lab D65",coords:{l:{refRange:[0,100],name:"Lightness"},a:{refRange:[-125,125]},b:{refRange:[-125,125]}},white:O,base:l.Z,fromBase:function(e){var t=o(e).call(e,(function(e,t){return e/O[t]})),n=o(t).call(t,(function(e){return e>.008856451679035631?T(e):(E*e+16)/116}));return[116*n[1]-16,500*(n[0]-n[1]),200*(n[1]-n[2])]},toBase:function(e){var t=[];t[1]=(e[0]+16)/116,t[0]=e[1]/500+t[1],t[2]=t[1]-e[2]/200;var n=[t[0]>k?Math.pow(t[0],3):(116*t[0]-16)/E,e[0]>8?Math.pow((e[0]+16)/116,3):e[0]/E,t[2]>k?Math.pow(t[2],3):(116*t[2]-16)/E];return o(n).call(n,(function(e,t){return e*O[t]}))},formats:{"lab-d65":{coords:["<number> | <percentage>","<number> | <percentage>[-1,1]","<number> | <percentage>[-1,1]"]}}}),L=.5*Math.pow(5,.5)+.5;function A(e,t){e=(0,s.Z)(e),t=(0,s.Z)(t);var n=(0,c.Z)(e,[C,"l"]),r=(0,c.Z)(t,[C,"l"]),i=Math.abs(Math.pow(n,L)-Math.pow(r,L)),o=Math.pow(i,1/L)*Math.SQRT2-40;return o<7.5?0:o}var I=["algorithm"];function P(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};(0,u.HD)(n)&&(n={algorithm:n});var c=n,l=c.algorithm,f=(0,i.Z)(c,I);if(!l){var d,p=o(d=a(r)).call(d,(function(e){return e.replace(/^contrast/,"")})).join(", ");throw new TypeError("contrast() function needs a contrast algorithm. Please specify one of: ".concat(p))}for(var h in e=(0,s.Z)(e),t=(0,s.Z)(t),r)if("contrast"+l.toLowerCase()===h.toLowerCase())return r[h](e,t,f);throw new TypeError("Unknown contrast algorithm: ".concat(l))}},90781:function(e,t,n){"use strict";var r,i,o,a=n(92381);t.Z={gamut_mapping:"css",precision:5,deltaE:"76",verbose:"test"!==(null==a||null===(r=a.process)||void 0===r||null===(i=r.env)||void 0===i||null===(o=i.NODE_ENV)||void 0===o?void 0:o.toLowerCase()),warn:function(e){var t,n;this.verbose&&(null==a||null===(t=a.console)||void 0===t||null===(n=t.warn)||void 0===n||n.call(t,e))}}},64030:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(4020),i=n(89289),o=n(8293);function a(e,t){e=(0,o.Z)(e);var n=r.Z.resolveCoord(t,e.space),a=n.space,s=n.index;return(0,i.Z)(e,a)[s]}},89289:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(35704),i=n(4020),o=n(8293);function a(e,t){var n;return e=(0,o.Z)(e),!t||e.space.equals(t)?r(n=e.coords).call(n):(t=i.Z.get(t)).from(e)}},8293:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(88946),i=n(4020),o=n(75064),a=n(99725);function s(e){if(Array.isArray(e))return r(e).call(e,s);if(!e)throw new TypeError("Empty color reference");(0,o.HD)(e)&&(e=(0,a.Z)(e));var t=e.space||e.spaceId;return t instanceof i.Z||(e.space=i.Z.get(t)),void 0===e.alpha&&(e.alpha=1),e}},68238:function(e,t,n){"use strict";var r=n(68420),i=n(27344),o=function(){function e(){(0,r.Z)(this,e)}return(0,i.Z)(e,[{key:"add",value:function(e,t,n){if("string"==typeof arguments[0])(Array.isArray(e)?e:[e]).forEach((function(e){this[e]=this[e]||[],t&&this[e][n?"unshift":"push"](t)}),this);else for(var e in arguments[0])this.add(e,arguments[0][e],arguments[1])}},{key:"run",value:function(e,t){this[e]=this[e]||[],this[e].forEach((function(e){e.call(t&&t.context?t.context:t,t)}))}}]),e}(),a=new o;t.Z=a},38754:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(88946),i=n(35704),o=n(10349),a=n(52472),s=n(19389);function u(e,t){var n=void 0!==a&&s(e)||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){var n;if(!e)return;if("string"==typeof e)return c(e,t);var r=i(n=Object.prototype.toString.call(e)).call(n,8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return o(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return c(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,u=function(){};return{s:u,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:u}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var l,f=!0,d=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return f=e.done,e},e:function(e){d=!0,l=e},f:function(){try{f||null==n.return||n.return()}finally{if(d)throw l}}}}function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function l(e,t){var n,i=e.length;Array.isArray(e[0])||(e=[e]),Array.isArray(t[0])||(t=r(t).call(t,(function(e){return[e]})));var o=t[0].length,a=r(n=t[0]).call(n,(function(e,n){return r(t).call(t,(function(e){return e[n]}))})),s=r(e).call(e,(function(e){return r(a).call(a,(function(t){var n=0;if(!Array.isArray(e)){var r,i=u(t);try{for(i.s();!(r=i.n()).done;){var o=r.value;n+=e*o}}catch(e){i.e(e)}finally{i.f()}return n}for(var a=0;a<e.length;a++)n+=e[a]*(t[a]||0);return n}))}));return 1===i&&(s=s[0]),1===o?r(s).call(s,(function(e){return e[0]})):s}},99725:function(e,t,n){"use strict";n.d(t,{Z:function(){return C}});var r=n(35704),i=n(10349),o=n(52472),a=n(19389),s=n(19623),u=n(59056),c=n(23513),l=n(88946),f=n(39290),d=n(86981),p=n(8571),h=n(84705),g=n(45181),m=n(91829),y=n(73324),v=n(62079),b=n(67552),_=n(75064),w=n(68238),T=n(4020),x=n(90781);function S(e,t){var n=void 0!==o&&a(e)||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){var n;if(!e)return;if("string"==typeof e)return k(e,t);var o=r(n=Object.prototype.toString.call(e)).call(n,8,-1);"Object"===o&&e.constructor&&(o=e.constructor.name);if("Map"===o||"Set"===o)return i(e);if("Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o))return k(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var s=0,u=function(){};return{s:u,n:function(){return s>=e.length?{done:!0}:{done:!1,value:e[s++]}},e:function(e){throw e},f:u}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var c,l=!0,f=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return l=e.done,e},e:function(e){f=!0,c=e},f:function(){try{l||null==n.return||n.return()}finally{if(f)throw c}}}}function k(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var E=new c(["<number>","<percentage>","<angle>"]);function O(e,t,n,r){var i;return l(i=f(e.coords)).call(i,(function(e,i){var o,a=(0,u.Z)(e,2),s=a[0],c=a[1],l=t.coordGrammar[i],f=r[i],h=null==f?void 0:f.type;if(!(o=f.none?d(l).call(l,(function(e){return E.has(e)})):d(l).call(l,(function(e){return e==h})))){var g,m,y=c.name||s;throw new TypeError(p(g=p(m="".concat(null!=h?h:f.raw," not allowed for ")).call(m,y," in ")).call(g,n,"()"))}var v=o.range;"<percentage>"===h&&(v||(v=[0,1]));var b=c.range||c.refRange;return v&&b&&(r[i]=_.KK(v,b,r[i])),o}))}function C(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=n.meta,i={str:null===(t=String(e))||void 0===t?void 0:h(t).call(t)};if(w.Z.run("parse-start",i),i.color)return i.color;if(i.parsed=_.dL(i.str),i.parsed){var o=i.parsed.name;if("color"===o){var a=function(){var e,t=i.parsed.args.shift(),n=g(t).call(t,"--")?t.substring(2):"--".concat(t),o=[t,n],a=i.parsed.rawArgs.indexOf("/")>0?i.parsed.args.pop():1,s=S(T.Z.all);try{for(s.s();!(e=s.n()).done;){var u,c=e.value,f=c.getFormat("color");if(f)if(m(o).call(o,f.id)||null!==(u=f.ids)&&void 0!==u&&y(u).call(u,(function(e){return m(o).call(o,e)})).length){var d,h,_,w,k,E=l(d=v(c.coords)).call(d,(function(e,t){return i.parsed.args[t]||0})),C=void 0;if(f.coordGrammar&&(C=O(c,f,"color",E)),r&&b(r,{formatId:"color",types:C}),g(h=f.id).call(h,"--")&&!g(t).call(t,"--"))x.Z.warn("".concat(c.name," is a non-standard space and not currently supported in the CSS spec. ")+p(w="Use prefixed color(".concat(f.id,") instead of color(")).call(w,t,")."));if(g(t).call(t,"--")&&!g(_=f.id).call(_,"--"))x.Z.warn("".concat(c.name," is a standard space and supported in the CSS spec. ")+p(k="Use color(".concat(f.id,") instead of prefixed color(")).call(k,t,")."));return{v:{spaceId:c.id,coords:E,alpha:a}}}}}catch(e){s.e(e)}finally{s.f()}var L="",A=t in T.Z.registry?t:n;if(A in T.Z.registry){var I,P,M=null===(I=T.Z.registry[A].formats)||void 0===I||null===(P=I.color)||void 0===P?void 0:P.id;M&&(L="Did you mean color(".concat(M,")?"))}throw new TypeError("Cannot parse color(".concat(t,"). ")+(L||"Missing a plugin?"))}();if("object"===(0,s.Z)(a))return a.v}else{var u,c=S(T.Z.all);try{for(c.s();!(u=c.n()).done;){var f=u.value,d=f.getFormat(o);if(d&&"function"===d.type){var k=1;(d.lastAlpha||_.Z$(i.parsed.args).alpha)&&(k=i.parsed.args.pop());var E=i.parsed.args,C=void 0;return d.coordGrammar&&(C=O(f,d,o,E)),r&&b(r,{formatId:d.name,types:C}),{spaceId:f.id,coords:E,alpha:k}}}}catch(e){c.e(e)}finally{c.f()}}}else{var L,A=S(T.Z.all);try{for(A.s();!(L=A.n()).done;){var I=L.value;for(var P in I.formats){var M=I.formats[P];if("custom"===M.type&&(!M.test||M.test(i.str))){var R,j=M.parse(i.str);if(j)return null!==(R=j.alpha)&&void 0!==R||(j.alpha=1),r&&(r.formatId=P),j}}}}catch(e){A.e(e)}finally{A.f()}}throw new TypeError("Could not parse ".concat(e," as a color. Missing a plugin?"))}},4020:function(e,t,n){"use strict";n.d(t,{Z:function(){return j}});var r=n(52020),i=n(73324),o=n(88546),a=n(66775),s=n(35704),u=n(10349),c=n(52472),l=n(19389),f=n(79349),d=n(19623),p=n(59056),h=n(68420),g=n(27344),m=n(44845),y=n(86526),v=n(31082),b=n(35293),_=n(88946),w=n(8571),T=n(23513),x=n(91829),S=n(39290),k=n(62079),E=n(75064),O=n(66773),C=n(68238),L=n(8293);function A(e,t){var n=void 0!==c&&l(e)||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){var n;if(!e)return;if("string"==typeof e)return I(e,t);var r=s(n=Object.prototype.toString.call(e)).call(n,8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return u(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return I(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,f=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){f=!0,o=e},f:function(){try{a||null==n.return||n.return()}finally{if(f)throw o}}}}function I(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function P(e,t){var n=k(e);if(r){var a=r(e);t&&(a=i(a).call(a,(function(t){return o(e,t).enumerable}))),n.push.apply(n,a)}return n}function M(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?P(Object(n),!0).forEach((function(t){(0,m.Z)(e,t,n[t])})):a?Object.defineProperties(e,a(n)):P(Object(n)).forEach((function(t){Object.defineProperty(e,t,o(n,t))}))}return e}var R=75e-6,j=function(){function e(t){var n,r,i,o,a,s;(0,h.Z)(this,e),this.id=t.id,this.name=t.name,this.base=t.base?e.get(t.base):null,this.aliases=t.aliases,this.base&&(this.fromBase=t.fromBase,this.toBase=t.toBase);var u=null!==(n=t.coords)&&void 0!==n?n:this.base.coords;for(var c in u)"name"in u[c]||(u[c].name=c);this.coords=u;var l,f=null!==(r=null!==(i=t.white)&&void 0!==i?i:this.base.white)&&void 0!==r?r:"D65";for(var d in this.white=(0,O.db)(f),this.formats=null!==(o=t.formats)&&void 0!==o?o:{},this.formats){var p=this.formats[d];p.type||(p.type="function"),p.name||(p.name=d)}null!==(a=this.formats.color)&&void 0!==a&&a.id||(this.formats.color=M(M({},null!==(l=this.formats.color)&&void 0!==l?l:{}),{},{id:t.cssId||this.id}));t.gamutSpace?this.gamutSpace="self"===t.gamutSpace?this:e.get(t.gamutSpace):this.isPolar?this.gamutSpace=this.base:this.gamutSpace=this,this.gamutSpace.isUnbounded&&(this.inGamut=function(e,t){return!0}),this.referred=t.referred,Object.defineProperty(this,"path",{value:y(s=D(this)).call(s),writable:!1,enumerable:!0,configurable:!0}),C.Z.run("colorspace-init-end",this)}return(0,g.Z)(e,[{key:"inGamut",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.epsilon,r=void 0===n?R:n;if(!this.equals(this.gamutSpace))return e=this.to(this.gamutSpace,e),this.gamutSpace.inGamut(e,{epsilon:r});var i=v(this.coords);return e.every((function(e,t){var n=i[t];if("angle"!==n.type&&n.range){if(b(e))return!0;var o=(0,p.Z)(n.range,2),a=o[0],s=o[1];return(void 0===a||e>=a-r)&&(void 0===s||e<=s+r)}return!0}))}},{key:"isUnbounded",get:function(){return v(this.coords).every((function(e){return!("range"in e)}))}},{key:"cssId",get:function(){var e,t;return(null===(e=this.formats)||void 0===e||null===(t=e.color)||void 0===t?void 0:t.id)||this.id}},{key:"isPolar",get:function(){for(var e in this.coords)if("angle"===this.coords[e].type)return!0;return!1}},{key:"getFormat",value:function(e){return"object"===(0,d.Z)(e)?e=N(e,this):(t="default"===e?v(this.formats)[0]:this.formats[e])?t=N(t,this):null;var t}},{key:"equals",value:function(e){return!!e&&(this===e||this.id===e||this.id===e.id)}},{key:"to",value:function(t,n){if(1===arguments.length){var r=(0,L.Z)(t),i=[r.space,r.coords];t=i[0],n=i[1]}if(t=e.get(t),this.equals(t))return n;n=_(n).call(n,(function(e){return b(e)?0:e}));for(var o,a,s,u=this.path,c=t.path,l=0;l<u.length&&u[l].equals(c[l]);l++)o=u[l],a=l;if(!o)throw new Error(w(s="Cannot convert between color spaces ".concat(this," and ")).call(s,t,": no connection space was found"));for(var f=u.length-1;f>a;f--)n=u[f].toBase(n);for(var d=a+1;d<c.length;d++)n=c[d].fromBase(n);return n}},{key:"from",value:function(t,n){if(1===arguments.length){var r=(0,L.Z)(t),i=[r.space,r.coords];t=i[0],n=i[1]}return(t=e.get(t)).to(this,n)}},{key:"toString",value:function(){var e;return w(e="".concat(this.name," (")).call(e,this.id,")")}},{key:"getMinCoords",value:function(){var e=[];for(var t in this.coords){var n,r=this.coords[t],i=r.range||r.refRange;e.push(null!==(n=null==i?void 0:i.min)&&void 0!==n?n:0)}return e}}],[{key:"all",get:function(){return(0,f.Z)(new T(v(e.registry)))}},{key:"register",value:function(e,t){if(1===arguments.length&&(e=(t=arguments[0]).id),t=this.get(t),this.registry[e]&&this.registry[e]!==t)throw new Error("Duplicate color space registration: '".concat(e,"'"));if(this.registry[e]=t,1===arguments.length&&t.aliases){var n,r=A(t.aliases);try{for(r.s();!(n=r.n()).done;){var i=n.value;this.register(i,t)}}catch(e){r.e(e)}finally{r.f()}}return t}},{key:"get",value:function(t){if(!t||t instanceof e)return t;var n=(0,E.dt)(t);if("string"===n){var r=e.registry[t.toLowerCase()];if(!r)throw new TypeError('No color space found with id = "'.concat(t,'"'));return r}for(var i=arguments.length,o=new Array(i>1?i-1:0),a=1;a<i;a++)o[a-1]=arguments[a];if(o.length)return e.get.apply(e,o);throw new TypeError("".concat(t," is not a valid color space"))}},{key:"resolveCoord",value:function(t,n){var r,i,o,a,s=(0,E.dt)(t);if("string"===s)if(x(t).call(t,".")){var u=t.split("."),c=(0,p.Z)(u,2);o=c[0],a=c[1]}else o=void 0,a=t;else if(Array.isArray(t)){var l=(0,p.Z)(t,2);o=l[0],a=l[1]}else o=t.space,a=t.coordId;if((o=e.get(o))||(o=n),!o)throw new TypeError("Cannot resolve coordinate reference ".concat(t,": No color space specified and relative references are not allowed here"));if("number"===(s=(0,E.dt)(a))||"string"===s&&a>=0){var f=S(o.coords)[a];if(f)return M({space:o,id:f[0],index:a},f[1])}o=e.get(o);var d=a.toLowerCase(),h=0;for(var g in o.coords){var m,y=o.coords[g];if(g.toLowerCase()===d||(null===(m=y.name)||void 0===m?void 0:m.toLowerCase())===d)return M({space:o,id:g,index:h},y);h++}throw new TypeError(w(r=w(i='No "'.concat(a,'" coordinate found in ')).call(i,o.name,". Its coordinates are: ")).call(r,k(o.coords).join(", ")))}}]),e}();function D(e){for(var t=[e],n=e;n=n.base;)t.push(n);return t}function N(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.coords;if(e.coords&&!e.coordGrammar){var r;e.type||(e.type="function"),e.name||(e.name="color"),e.coordGrammar=(0,E.T7)(e.coords);var i=_(r=S(n)).call(r,(function(t,n){var r=(0,p.Z)(t,2),i=(r[0],r[1]),o=e.coordGrammar[n][0],a=i.range||i.refRange,s=o.range,u="";return"<percentage>"==o?(s=[0,100],u="%"):"<angle>"==o&&(u="deg"),{fromRange:a,toRange:s,suffix:u}}));e.serializeCoords=function(e,t){return _(e).call(e,(function(e,n){var r=i[n],o=r.fromRange,a=r.toRange,s=r.suffix;return o&&a&&(e=(0,E.KK)(o,a,e)),e=(0,E.zL)(e,{precision:t,unit:s})}))}}return e}(0,m.Z)(j,"registry",{}),(0,m.Z)(j,"DEFAULT_FORMAT",{type:"functions",name:"color"})},79801:function(e,t,n){"use strict";var r=n(59056),i=n(79349),o=n(4020),a=n(39191);t.Z=new o.Z({id:"hsl",name:"HSL",coords:{h:{refRange:[0,360],type:"angle",name:"Hue"},s:{range:[0,100],name:"Saturation"},l:{range:[0,100],name:"Lightness"}},base:a.Z,fromBase:function(e){var t=Math.max.apply(Math,(0,i.Z)(e)),n=Math.min.apply(Math,(0,i.Z)(e)),o=(0,r.Z)(e,3),a=o[0],s=o[1],u=o[2],c=NaN,l=0,f=(n+t)/2,d=t-n;if(0!==d){switch(l=0===f||1===f?0:(t-f)/Math.min(f,1-f),t){case a:c=(s-u)/d+(s<u?6:0);break;case s:c=(u-a)/d+2;break;case u:c=(a-s)/d+4}c*=60}return l<0&&(c+=180,l=Math.abs(l)),c>=360&&(c-=360),[c,100*l,100*f]},toBase:function(e){var t=(0,r.Z)(e,3),n=t[0],i=t[1],o=t[2];function a(e){var t=(e+n/30)%12,r=i*Math.min(o,1-o);return o-r*Math.max(-1,Math.min(t-3,9-t,1))}return(n%=360)<0&&(n+=360),i/=100,o/=100,[a(0),a(8),a(4)]},formats:{hsl:{coords:["<number> | <angle>","<percentage>","<percentage>"]},hsla:{coords:["<number> | <angle>","<percentage>","<percentage>"],commas:!0,lastAlpha:!0}}})},54123:function(e,t,n){"use strict";n.d(t,{Z:function(){return d}});var r=n(88946),i=n(59898),o=n(4020),a=n(66773),s=n(65049),u=new o.Z({id:"xyz-d50",name:"XYZ D50",white:"D50",base:s.Z,fromBase:function(e){return(0,a.ZP)(s.Z.white,"D50",e)},toBase:function(e){return(0,a.ZP)("D50",s.Z.white,e)}}),c=24/116,l=24389/27,f=a.mh.D50,d=new o.Z({id:"lab",name:"Lab",coords:{l:{refRange:[0,100],name:"Lightness"},a:{refRange:[-125,125]},b:{refRange:[-125,125]}},white:f,base:u,fromBase:function(e){var t=r(e).call(e,(function(e,t){return e/f[t]})),n=r(t).call(t,(function(e){return e>.008856451679035631?i(e):(l*e+16)/116}));return[116*n[1]-16,500*(n[0]-n[1]),200*(n[1]-n[2])]},toBase:function(e){var t=[];t[1]=(e[0]+16)/116,t[0]=e[1]/500+t[1],t[2]=t[1]-e[2]/200;var n=[t[0]>c?Math.pow(t[0],3):(116*t[0]-16)/l,e[0]>8?Math.pow((e[0]+16)/116,3):e[0]/l,t[2]>c?Math.pow(t[2],3):(116*t[2]-16)/l];return r(n).call(n,(function(e,t){return e*f[t]}))},formats:{lab:{coords:["<number> | <percentage>","<number> | <percentage>[-1,1]","<number> | <percentage>[-1,1]"]}}})},39191:function(e,t,n){"use strict";n.d(t,{Z:function(){return S}});var r=n(18033),i=n(88946),o=n(35704),a=n(7488),s=n(24835),u=n(68420),c=n(90306),l=n(3020),f=n(3362),d=n(4020),p=n(38754),h=n(66773),g=n(65049);function m(e){var t=function(){if("undefined"==typeof Reflect||!s)return!1;if(s.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(s(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,f.Z)(e);if(t){var i=(0,f.Z)(this).constructor;n=s(r,arguments,i)}else n=r.apply(this,arguments);return(0,l.Z)(this,n)}}var y,v,b=function(e){(0,c.Z)(n,e);var t=m(n);function n(e){var r,i,o,a;((0,u.Z)(this,n),e.coords||(e.coords={r:{range:[0,1],name:"Red"},g:{range:[0,1],name:"Green"},b:{range:[0,1],name:"Blue"}}),e.base||(e.base=g.Z),e.toXYZ_M&&e.fromXYZ_M)&&(null!==(o=e.toBase)&&void 0!==o||(e.toBase=function(t){var n=(0,p.Z)(e.toXYZ_M,t);return i.white!==i.base.white&&(n=(0,h.ZP)(i.white,i.base.white,n)),n}),null!==(a=e.fromBase)&&void 0!==a||(e.fromBase=function(t){return t=(0,h.ZP)(i.base.white,i.white,t),(0,p.Z)(e.fromXYZ_M,t)}));return null!==(r=e.referred)&&void 0!==r||(e.referred="display"),i=t.call(this,e)}return n}(d.Z),_=new b({id:"srgb-linear",name:"Linear sRGB",white:"D65",toXYZ_M:[[.41239079926595934,.357584339383878,.1804807884018343],[.21263900587151027,.715168678767756,.07219231536073371],[.01933081871559182,.11919477979462598,.9505321522496607]],fromXYZ_M:[[3.2409699419045226,-1.537383177570094,-.4986107602930034],[-.9692436362808796,1.8759675015077202,.04155505740717559],[.05563007969699366,-.20397695888897652,1.0569715142428786]]}),w={aliceblue:[240/255,248/255,1],antiquewhite:[250/255,235/255,215/255],aqua:[0,1,1],aquamarine:[127/255,1,212/255],azure:[240/255,1,1],beige:[245/255,245/255,220/255],bisque:[1,228/255,196/255],black:[0,0,0],blanchedalmond:[1,235/255,205/255],blue:[0,0,1],blueviolet:[138/255,43/255,226/255],brown:[165/255,42/255,42/255],burlywood:[222/255,184/255,135/255],cadetblue:[95/255,158/255,160/255],chartreuse:[127/255,1,0],chocolate:[210/255,105/255,30/255],coral:[1,127/255,80/255],cornflowerblue:[100/255,149/255,237/255],cornsilk:[1,248/255,220/255],crimson:[220/255,20/255,60/255],cyan:[0,1,1],darkblue:[0,0,139/255],darkcyan:[0,139/255,139/255],darkgoldenrod:[184/255,134/255,11/255],darkgray:[169/255,169/255,169/255],darkgreen:[0,100/255,0],darkgrey:[169/255,169/255,169/255],darkkhaki:[189/255,183/255,107/255],darkmagenta:[139/255,0,139/255],darkolivegreen:[85/255,107/255,47/255],darkorange:[1,140/255,0],darkorchid:[.6,50/255,.8],darkred:[139/255,0,0],darksalmon:[233/255,150/255,122/255],darkseagreen:[143/255,188/255,143/255],darkslateblue:[72/255,61/255,139/255],darkslategray:[47/255,79/255,79/255],darkslategrey:[47/255,79/255,79/255],darkturquoise:[0,206/255,209/255],darkviolet:[148/255,0,211/255],deeppink:[1,20/255,147/255],deepskyblue:[0,191/255,1],dimgray:[105/255,105/255,105/255],dimgrey:[105/255,105/255,105/255],dodgerblue:[30/255,144/255,1],firebrick:[178/255,34/255,34/255],floralwhite:[1,250/255,240/255],forestgreen:[34/255,139/255,34/255],fuchsia:[1,0,1],gainsboro:[220/255,220/255,220/255],ghostwhite:[248/255,248/255,1],gold:[1,215/255,0],goldenrod:[218/255,165/255,32/255],gray:[128/255,128/255,128/255],green:[0,128/255,0],greenyellow:[173/255,1,47/255],grey:[128/255,128/255,128/255],honeydew:[240/255,1,240/255],hotpink:[1,105/255,180/255],indianred:[205/255,92/255,92/255],indigo:[75/255,0,130/255],ivory:[1,1,240/255],khaki:[240/255,230/255,140/255],lavender:[230/255,230/255,250/255],lavenderblush:[1,240/255,245/255],lawngreen:[124/255,252/255,0],lemonchiffon:[1,250/255,205/255],lightblue:[173/255,216/255,230/255],lightcoral:[240/255,128/255,128/255],lightcyan:[224/255,1,1],lightgoldenrodyellow:[250/255,250/255,210/255],lightgray:[211/255,211/255,211/255],lightgreen:[144/255,238/255,144/255],lightgrey:[211/255,211/255,211/255],lightpink:[1,182/255,193/255],lightsalmon:[1,160/255,122/255],lightseagreen:[32/255,178/255,170/255],lightskyblue:[135/255,206/255,250/255],lightslategray:[119/255,136/255,.6],lightslategrey:[119/255,136/255,.6],lightsteelblue:[176/255,196/255,222/255],lightyellow:[1,1,224/255],lime:[0,1,0],limegreen:[50/255,205/255,50/255],linen:[250/255,240/255,230/255],magenta:[1,0,1],maroon:[128/255,0,0],mediumaquamarine:[.4,205/255,170/255],mediumblue:[0,0,205/255],mediumorchid:[186/255,85/255,211/255],mediumpurple:[147/255,112/255,219/255],mediumseagreen:[60/255,179/255,113/255],mediumslateblue:[123/255,104/255,238/255],mediumspringgreen:[0,250/255,154/255],mediumturquoise:[72/255,209/255,.8],mediumvioletred:[199/255,21/255,133/255],midnightblue:[25/255,25/255,112/255],mintcream:[245/255,1,250/255],mistyrose:[1,228/255,225/255],moccasin:[1,228/255,181/255],navajowhite:[1,222/255,173/255],navy:[0,0,128/255],oldlace:[253/255,245/255,230/255],olive:[128/255,128/255,0],olivedrab:[107/255,142/255,35/255],orange:[1,165/255,0],orangered:[1,69/255,0],orchid:[218/255,112/255,214/255],palegoldenrod:[238/255,232/255,170/255],palegreen:[152/255,251/255,152/255],paleturquoise:[175/255,238/255,238/255],palevioletred:[219/255,112/255,147/255],papayawhip:[1,239/255,213/255],peachpuff:[1,218/255,185/255],peru:[205/255,133/255,63/255],pink:[1,192/255,203/255],plum:[221/255,160/255,221/255],powderblue:[176/255,224/255,230/255],purple:[128/255,0,128/255],rebeccapurple:[.4,.2,.6],red:[1,0,0],rosybrown:[188/255,143/255,143/255],royalblue:[65/255,105/255,225/255],saddlebrown:[139/255,69/255,19/255],salmon:[250/255,128/255,114/255],sandybrown:[244/255,164/255,96/255],seagreen:[46/255,139/255,87/255],seashell:[1,245/255,238/255],sienna:[160/255,82/255,45/255],silver:[192/255,192/255,192/255],skyblue:[135/255,206/255,235/255],slateblue:[106/255,90/255,205/255],slategray:[112/255,128/255,144/255],slategrey:[112/255,128/255,144/255],snow:[1,250/255,250/255],springgreen:[0,1,127/255],steelblue:[70/255,130/255,180/255],tan:[210/255,180/255,140/255],teal:[0,128/255,128/255],thistle:[216/255,191/255,216/255],tomato:[1,99/255,71/255],turquoise:[64/255,224/255,208/255],violet:[238/255,130/255,238/255],wheat:[245/255,222/255,179/255],white:[1,1,1],whitesmoke:[245/255,245/255,245/255],yellow:[1,1,0],yellowgreen:[154/255,205/255,50/255]},T=r(y=Array(3)).call(y,"<percentage> | <number>[0, 255]"),x=r(v=Array(3)).call(v,"<number>[0, 255]"),S=new b({id:"srgb",name:"sRGB",base:_,fromBase:function(e){return i(e).call(e,(function(e){var t=e<0?-1:1,n=e*t;return n>.0031308?t*(1.055*Math.pow(n,1/2.4)-.055):12.92*e}))},toBase:function(e){return i(e).call(e,(function(e){var t=e<0?-1:1,n=e*t;return n<=.04045?e/12.92:t*Math.pow((n+.055)/1.055,2.4)}))},formats:{rgb:{coords:T},rgb_number:{name:"rgb",commas:!0,coords:x,noAlpha:!0},color:{},rgba:{coords:T,commas:!0,lastAlpha:!0},rgba_number:{name:"rgba",commas:!0,coords:x},hex:{type:"custom",toGamut:!0,test:function(e){return/^#([a-f0-9]{3,4}){1,2}$/i.test(e)},parse:function(e){e.length<=5&&(e=e.replace(/[a-f0-9]/gi,"$&$&"));var t=[];return e.replace(/[a-f0-9]{2}/gi,(function(e){t.push(parseInt(e,16)/255)})),{spaceId:"srgb",coords:o(t).call(t,0,3),alpha:o(t).call(t,3)[0]}},serialize:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.collapse,o=void 0===r||r;t<1&&e.push(t),e=i(e).call(e,(function(e){return Math.round(255*e)}));var s=o&&e.every((function(e){return e%17==0})),u=i(e).call(e,(function(e){var t;return s?(e/17).toString(16):a(t=e.toString(16)).call(t,2,"0")})).join("");return"#"+u}},keyword:{type:"custom",test:function(e){return/^[a-z]+$/i.test(e)},parse:function(e){var t={spaceId:"srgb",coords:null,alpha:1};if("transparent"===(e=e.toLowerCase())?(t.coords=w.black,t.alpha=0):t.coords=w[e],t.coords)return t}}}})},65049:function(e,t,n){"use strict";var r=n(4020);t.Z=new r.Z({id:"xyz-d65",name:"XYZ D65",coords:{x:{name:"X"},y:{name:"Y"},z:{name:"Z"}},white:"D65",formats:{color:{ids:["xyz-d65","xyz"]}},aliases:["xyz"]})},19487:function(e,t,n){"use strict";n.d(t,{Z:function(){return Ge}});var r=n(8293),i=n(4020),o=n(59056),a=n(31634),s=n(62079),u=n(88946),c=n(31082),l=n(75064),f=n(90781),d=n(54123);function p(e){return(e%360+360)%360}var h=new i.Z({id:"lch",name:"LCH",coords:{l:{refRange:[0,100],name:"Lightness"},c:{refRange:[0,150],name:"Chroma"},h:{refRange:[0,360],type:"angle",name:"Hue"}},base:d.Z,fromBase:function(e){var t,n=(0,o.Z)(e,3),r=n[0],i=n[1],a=n[2];return t=Math.abs(i)<.02&&Math.abs(a)<.02?NaN:180*Math.atan2(a,i)/Math.PI,[r,Math.sqrt(Math.pow(i,2)+Math.pow(a,2)),p(t)]},toBase:function(e){var t=(0,o.Z)(e,3),n=t[0],r=t[1],i=t[2];return r<0&&(r=0),isNaN(i)&&(i=0),[n,r*Math.cos(i*Math.PI/180),r*Math.sin(i*Math.PI/180)]},formats:{lch:{coords:["<number> | <percentage>","<number> | <percentage>","<number> | <angle>"]}}}),g=Math.pow(25,7),m=Math.PI,y=180/m,v=m/180;function b(e){var t=e*e;return t*t*t*e}function _(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=n.kL,a=void 0===i?1:i,s=n.kC,u=void 0===s?1:s,c=n.kH,l=void 0===c?1:c,p=(0,r.Z)([e,t]),_=(0,o.Z)(p,2);e=_[0],t=_[1];var w=d.Z.from(e),T=(0,o.Z)(w,3),x=T[0],S=T[1],k=T[2],E=h.from(d.Z,[x,S,k])[1],O=d.Z.from(t),C=(0,o.Z)(O,3),L=C[0],A=C[1],I=C[2],P=h.from(d.Z,[L,A,I])[1];E<0&&(E=0),P<0&&(P=0);var M=(E+P)/2,R=b(M),j=.5*(1-Math.sqrt(R/(R+g))),D=(1+j)*S,N=(1+j)*A,B=Math.sqrt(Math.pow(D,2)+Math.pow(k,2)),U=Math.sqrt(Math.pow(N,2)+Math.pow(I,2)),F=0===D&&0===k?0:Math.atan2(k,D),z=0===N&&0===I?0:Math.atan2(I,N);F<0&&(F+=2*m),z<0&&(z+=2*m);var H,Z=L-x,q=U-B,V=(z*=y)-(F*=y),W=F+z,G=Math.abs(V);B*U==0?H=0:G<=180?H=V:V>180?H=V-360:V<-180?H=V+360:f.Z.warn("the unthinkable has happened");var $,Y=2*Math.sqrt(U*B)*Math.sin(H*v/2),K=(x+L)/2,X=(B+U)/2,Q=b(X);$=B*U==0?W:G<=180?W/2:W<360?(W+360)/2:(W-360)/2;var J=Math.pow(K-50,2),ee=1+.015*J/Math.sqrt(20+J),te=1+.045*X,ne=1;ne-=.17*Math.cos(($-30)*v),ne+=.24*Math.cos(2*$*v),ne+=.32*Math.cos((3*$+6)*v);var re=1+.015*X*(ne-=.2*Math.cos((4*$-63)*v)),ie=30*Math.exp(-1*Math.pow(($-275)/25,2)),oe=2*Math.sqrt(Q/(Q+g)),ae=-1*Math.sin(2*ie*v)*oe,se=Math.pow(Z/(a*ee),2);return se+=Math.pow(q/(u*te),2),se+=Math.pow(Y/(l*re),2),se+=ae*(q/(u*te))*(Y/(l*re)),Math.sqrt(se)}var w=n(59898),T=n(38754),x=n(65049),S=[[.819022437996703,.3619062600528904,-.1288737815209879],[.0329836539323885,.9292868615863434,.0361446663506424],[.0481771893596242,.2642395317527308,.6335478284694309]],k=[[1.2268798758459243,-.5578149944602171,.2813910456659647],[-.0405757452148008,1.112286803280317,-.0717110580655164],[-.0763729366746601,-.4214933324022432,1.5869240198367816]],E=[[.210454268309314,.7936177747023054,-.0040720430116193],[1.9779985324311684,-2.42859224204858,.450593709617411],[.0259040424655478,.7827717124575296,-.8086757549230774]],O=[[1,.3963377773761749,.2158037573099136],[1,-.1055613458156586,-.0638541728258133],[1,-.0894841775298119,-1.2914855480194092]],C=new i.Z({id:"oklab",name:"Oklab",coords:{l:{refRange:[0,1],name:"Lightness"},a:{refRange:[-.4,.4]},b:{refRange:[-.4,.4]}},white:"D65",base:x.Z,fromBase:function(e){var t=(0,T.Z)(S,e),n=u(t).call(t,(function(e){return w(e)}));return(0,T.Z)(E,n)},toBase:function(e){var t=(0,T.Z)(O,e),n=u(t).call(t,(function(e){return Math.pow(e,3)}));return(0,T.Z)(k,n)},formats:{oklab:{coords:["<percentage> | <number>","<number> | <percentage>[-1,1]","<number> | <percentage>[-1,1]"]}}});function L(e,t){var n=(0,r.Z)([e,t]),i=(0,o.Z)(n,2);e=i[0],t=i[1];var a=C.from(e),s=(0,o.Z)(a,3),u=s[0],c=s[1],l=s[2],f=C.from(t),d=(0,o.Z)(f,3),p=u-d[0],h=c-d[1],g=l-d[2];return Math.sqrt(Math.pow(p,2)+Math.pow(h,2)+Math.pow(g,2))}var A=75e-6;function I(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=n.epsilon,a=void 0===o?A:o;e=(0,r.Z)(e),t||(t=e.space),t=i.Z.get(t);var s=e.coords;return t!==e.space&&(s=t.from(e)),t.inGamut(s,{epsilon:a})}var P=n(64030),M=n(89289);function R(e,t,n){return e=(0,r.Z)(e),t=i.Z.get(t),e.coords=t.to(e.space,n),e}function j(e,t,n){if(e=(0,r.Z)(e),2===arguments.length&&"object"===(0,l.dt)(arguments[1])){var o=arguments[1];for(var a in o)j(e,a,o[a])}else{"function"==typeof n&&(n=n((0,P.Z)(e,t)));var s=i.Z.resolveCoord(t,e.space),u=s.space,c=s.index,f=(0,M.Z)(e,u);f[c]=n,R(e,u,f)}return e}R.returns="color",j.returns="color";var D=n(35704);function N(e){var t;return{space:e.space,coords:D(t=e.coords).call(t),alpha:e.alpha}}var B=n(35293),U=Math.PI/180;var F=new i.Z({id:"xyz-abs-d65",cssId:"--xyz-abs-d65",name:"Absolute XYZ D65",coords:{x:{refRange:[0,9504.7],name:"Xa"},y:{refRange:[0,1e4],name:"Ya"},z:{refRange:[0,10888.3],name:"Za"}},base:x.Z,fromBase:function(e){return u(e).call(e,(function(e){return Math.max(203*e,0)}))},toBase:function(e){return u(e).call(e,(function(e){return Math.max(e/203,0)}))}}),z=1.15,H=.66,Z=2610/Math.pow(2,14),q=Math.pow(2,14)/2610,V=3424/Math.pow(2,12),W=2413/Math.pow(2,7),G=2392/Math.pow(2,7),$=1.7*2523/Math.pow(2,5),Y=Math.pow(2,5)/(1.7*2523),K=-.56,X=16295499532821565e-27,Q=[[.41478972,.579999,.014648],[-.20151,1.120649,.0531008],[-.0166008,.2648,.6684799]],J=[[1.9242264357876067,-1.0047923125953657,.037651404030618],[.35031676209499907,.7264811939316552,-.06538442294808501],[-.09098281098284752,-.3127282905230739,1.5227665613052603]],ee=[[.5,.5,0],[3.524,-4.066708,.542708],[.199076,1.096799,-1.295875]],te=[[1,.1386050432715393,.05804731615611886],[.9999999999999999,-.1386050432715393,-.05804731615611886],[.9999999999999998,-.09601924202631895,-.8118918960560388]],ne=new i.Z({id:"jzazbz",name:"Jzazbz",coords:{jz:{refRange:[0,1],name:"Jz"},az:{refRange:[-.5,.5]},bz:{refRange:[-.5,.5]}},base:F,fromBase:function(e){var t=(0,o.Z)(e,3),n=t[0],r=t[1],i=t[2],a=z*n-(z-1)*i,s=H*r-(H-1)*n,c=(0,T.Z)(Q,[a,s,i]),l=u(c).call(c,(function(e){var t=V+W*Math.pow(e/1e4,Z),n=1+G*Math.pow(e/1e4,Z);return Math.pow(t/n,$)})),f=(0,T.Z)(ee,l),d=(0,o.Z)(f,3),p=d[0],h=d[1],g=d[2];return[(1+K)*p/(1+K*p)-X,h,g]},toBase:function(e){var t=(0,o.Z)(e,3),n=t[0],r=t[1],i=t[2],a=(n+X)/(1+K-K*(n+X)),s=(0,T.Z)(te,[a,r,i]),c=u(s).call(s,(function(e){var t=V-Math.pow(e,Y),n=G*Math.pow(e,Y)-W;return 1e4*Math.pow(t/n,q)})),l=(0,T.Z)(J,c),f=(0,o.Z)(l,3),d=f[0],p=f[1],h=f[2],g=(d+(z-1)*h)/z;return[g,(p+(H-1)*g)/H,h]},formats:{color:{coords:["<number> | <percentage>","<number> | <percentage>[-1,1]","<number> | <percentage>[-1,1]"]}}}),re=new i.Z({id:"jzczhz",name:"JzCzHz",coords:{jz:{refRange:[0,1],name:"Jz"},cz:{refRange:[0,1],name:"Chroma"},hz:{refRange:[0,360],type:"angle",name:"Hue"}},base:ne,fromBase:function(e){var t,n=(0,o.Z)(e,3),r=n[0],i=n[1],a=n[2],s=2e-4;return t=Math.abs(i)<s&&Math.abs(a)<s?NaN:180*Math.atan2(a,i)/Math.PI,[r,Math.sqrt(Math.pow(i,2)+Math.pow(a,2)),p(t)]},toBase:function(e){return[e[0],e[1]*Math.cos(e[2]*Math.PI/180),e[1]*Math.sin(e[2]*Math.PI/180)]}});var ie=.8359375,oe=2413/128,ae=18.6875,se=2610/16384,ue=2523/32,ce=16384/2610,le=32/2523,fe=[[.3592832590121217,.6976051147779502,-.035891593232029],[-.1920808463704993,1.100476797037432,.0753748658519118],[.0070797844607479,.0748396662186362,.8433265453898765]],de=[[.5,.5,0],[6610/4096,-13613/4096,7003/4096],[17933/4096,-17390/4096,-543/4096]],pe=[[.9999999999999998,.0086090370379328,.111029625003026],[.9999999999999998,-.0086090370379328,-.1110296250030259],[.9999999999999998,.5600313357106791,-.3206271749873188]],he=[[2.0701522183894223,-1.3263473389671563,.2066510476294053],[.3647385209748072,.6805660249472273,-.0453045459220347],[-.0497472075358123,-.0492609666966131,1.1880659249923042]],ge=new i.Z({id:"ictcp",name:"ICTCP",coords:{i:{refRange:[0,1],name:"I"},ct:{refRange:[-.5,.5],name:"CT"},cp:{refRange:[-.5,.5],name:"CP"}},base:F,fromBase:function(e){return function(e){var t=u(e).call(e,(function(e){var t=ie+oe*Math.pow(e/1e4,se),n=1+ae*Math.pow(e/1e4,se);return Math.pow(t/n,ue)}));return(0,T.Z)(de,t)}((0,T.Z)(fe,e))},toBase:function(e){var t=function(e){var t=(0,T.Z)(pe,e);return u(t).call(t,(function(e){var t=Math.max(Math.pow(e,le)-ie,0),n=oe-ae*Math.pow(e,le);return 1e4*Math.pow(t/n,ce)}))}(e);return(0,T.Z)(he,t)}});var me=n(66773),ye=me.mh.D65,ve=1/.42,be=2*Math.PI,_e=[[.401288,.650173,-.051461],[-.250268,1.204414,.045854],[-.002079,.048952,.953127]],we=[[1.8620678550872327,-1.0112546305316843,.14918677544445175],[.38752654323613717,.6214474419314753,-.008973985167612518],[-.015841498849333856,-.03412293802851557,1.0499644368778496]],Te=[[460,451,288],[460,-891,-261],[460,-220,-6300]],xe={dark:[.8,.525,.8],dim:[.9,.59,.9],average:[1,.69,1]},Se={h:[20.14,90,164.25,237.53,380.14],e:[.8,.7,1,1.2,.8],H:[0,100,200,300,400]},ke=180/Math.PI,Ee=Math.PI/180;function Oe(e,t){return u(e).call(e,(function(e){var n=(0,l.$7)(t*Math.abs(e)*.01,.42);return 400*(0,l.g6)(n,e)/(n+27.13)}))}function Ce(e,t,n,r,i){var o,a={};a.discounting=i,a.refWhite=e,a.surround=r;var s=u(e).call(e,(function(e){return 100*e}));a.la=t,a.yb=n;var c=s[1],f=(0,T.Z)(_e,s),d=(r=xe[a.surround])[0];a.c=r[1],a.nc=r[2];var p=1/(5*a.la+1),h=Math.pow(p,4);a.fl=h*a.la+.1*(1-h)*(1-h)*w(5*a.la),a.flRoot=Math.pow(a.fl,.25),a.n=a.yb/c,a.z=1.48+Math.sqrt(a.n),a.nbb=.725*Math.pow(a.n,-.2),a.ncb=a.nbb;var g=i?1:Math.max(Math.min(d*(1-1/3.6*Math.exp((-a.la-42)/92)),1),0);a.dRgb=u(f).call(f,(function(e){return(0,l.sX)(1,c/e,g)})),a.dRgbInv=u(o=a.dRgb).call(o,(function(e){return 1/e}));var m=Oe(u(f).call(f,(function(e,t){return e*a.dRgb[t]})),a.fl);return a.aW=a.nbb*(2*m[0]+m[1]+.05*m[2]),a}var Le=Ce(ye,64/Math.PI*.2,20,"average",!1);function Ae(e,t){var n,r;if(!(void 0!==e.J^void 0!==e.Q))throw new Error("Conversion requires one and only one: 'J' or 'Q'");if(!(void 0!==e.C^void 0!==e.M^void 0!==e.s))throw new Error("Conversion requires one and only one: 'C', 'M' or 's'");if(!(void 0!==e.h^void 0!==e.H))throw new Error("Conversion requires one and only one: 'h' or 'H'");if(0===e.J||0===e.Q)return[0,0,0];var i=0;i=void 0!==e.h?p(e.h)*Ee:function(e){var t,n,r=(e%400+400)%400,i=Math.floor(.01*r);r%=100;var a=D(t=Se.h).call(t,i,i+2),s=(0,o.Z)(a,2),u=s[0],c=s[1],l=D(n=Se.e).call(n,i,i+2),f=(0,o.Z)(l,2),d=f[0],h=f[1];return p((r*(h*u-d*c)-100*u*h)/(r*(h-d)-100*h))}(e.H)*Ee;var a=Math.cos(i),s=Math.sin(i),c=0;void 0!==e.J?c=.1*(0,l.$7)(e.J,.5):void 0!==e.Q&&(c=.25*t.c*e.Q/((t.aW+4)*t.flRoot));var f=0;void 0!==e.C?f=e.C/c:void 0!==e.M?f=e.M/t.flRoot/c:void 0!==e.s&&(f=4e-4*Math.pow(e.s,2)*(t.aW+4)/t.c);var d,h,g,m=(0,l.$7)(f*Math.pow(1.64-Math.pow(.29,t.n),-.73),10/9),y=.25*(Math.cos(i+2)+3.8),v=t.aW*(0,l.$7)(c,2/t.c/t.z),b=5e4/13*t.nc*t.ncb*y,_=v/t.nbb,w=23*(_+.305)*(0,l.rY)(m,23*b+m*(11*a+108*s)),x=w*a,S=w*s,k=(d=u(n=(0,T.Z)(Te,[_,x,S])).call(n,(function(e){return 1*e/1403})),h=t.fl,g=100/h*Math.pow(27.13,ve),u(d).call(d,(function(e){var t=Math.abs(e);return(0,l.g6)(g*(0,l.$7)(t/(400-t),ve),e)})));return u(r=(0,T.Z)(we,u(k).call(k,(function(e,n){return e*t.dRgbInv[n]})))).call(r,(function(e){return e/100}))}function Ie(e,t){var n,r=u(e).call(e,(function(e){return 100*e})),i=Oe(u(n=(0,T.Z)(_e,r)).call(n,(function(e,n){return e*t.dRgb[n]})),t.fl),a=i[0]+(-12*i[1]+i[2])/11,s=(i[0]+i[1]-2*i[2])/9,c=(Math.atan2(s,a)%be+be)%be,f=.25*(Math.cos(c+2)+3.8),d=5e4/13*t.nc*t.ncb*(0,l.rY)(f*Math.sqrt(Math.pow(a,2)+Math.pow(s,2)),i[0]+i[1]+1.05*i[2]+.305),h=(0,l.$7)(d,.9)*Math.pow(1.64-Math.pow(.29,t.n),.73),g=t.nbb*(2*i[0]+i[1]+.05*i[2]),m=(0,l.$7)(g/t.aW,.5*t.c*t.z),y=100*(0,l.$7)(m,2),v=4/t.c*m*(t.aW+4)*t.flRoot,b=h*m,_=b*t.flRoot,w=p(c*ke),x=function(e){var t,n,r=p(e);r<=Se.h[0]&&(r+=360);var i=(0,l.Nw)(Se.h,r)-1,a=D(t=Se.h).call(t,i,i+2),s=(0,o.Z)(a,2),u=s[0],c=s[1],f=D(n=Se.e).call(n,i,i+2),d=(0,o.Z)(f,2),h=d[0],g=d[1],m=(r-u)/h;return Se.H[i]+100*m/(m+(c-r)/g)}(w);return{J:y,C:b,h:w,s:50*(0,l.$7)(t.c*h/(t.aW+4),.5),Q:v,M:_,H:x}}new i.Z({id:"cam16-jmh",cssId:"--cam16-jmh",name:"CAM16-JMh",coords:{j:{refRange:[0,100],name:"J"},m:{refRange:[0,105],name:"Colorfulness"},h:{refRange:[0,360],type:"angle",name:"Hue"}},base:x.Z,fromBase:function(e){var t=Ie(e,Le);return[t.J,t.M,t.h]},toBase:function(e){return Ae({J:e[0],M:e[1],h:e[2]},Le)}});var Pe=me.mh.D65,Me=24389/27;function Re(e){return e>8?Math.pow((e+16)/116,3):e/Me}function je(e,t){var n,r=116*((n=e[1])>.008856451679035631?w(n):(Me*n+16)/116)-16;if(0===r)return[0,0,0];var i=Ie(e,De);return[p(i.h),i.C,r]}var De=Ce(Pe,200/Math.PI*Re(50),100*Re(50),"average",!1),Ne=new i.Z({id:"hct",name:"HCT",coords:{h:{refRange:[0,360],type:"angle",name:"Hue"},c:{refRange:[0,145],name:"Colorfulness"},t:{refRange:[0,100],name:"Tone"}},base:x.Z,fromBase:function(e){return je(e)},toBase:function(e){return function(e,t){var n=(0,o.Z)(e,3),r=n[0],i=n[1],a=n[2],s=[],u=0;if(0===a)return[0,0,0];var c=Re(a),l=0,f=1/0;for(u=a>0?.00379058511492914*Math.pow(a,2)+.608983189401032*a+.9155088574762233:9514440756550361e-21*Math.pow(a,2)+.08693057439788597*a-21.928975842194614;l<=15;){s=Ae({J:u,C:i,h:r},t);var d=Math.abs(s[1]-c);if(d<f){if(d<=2e-12)return s;f=d}u-=(s[1]-c)*u/(2*s[1]),l+=1}return Ae({J:u,C:i,h:r},t)}(e,De)},formats:{color:{id:"--hct",coords:["<number> | <angle>","<percentage> | <number>","<percentage> | <number>"]}}}),Be=(Math.PI,Math.PI/180),Ue=[1,.007,.0228];function Fe(e){e[1]<0&&(e=Ne.fromBase(Ne.toBase(e)));var t=Math.log(Math.max(1+Ue[2]*e[1]*De.flRoot,1))/Ue[2],n=e[0]*Be,r=t*Math.cos(n),i=t*Math.sin(n);return[e[2],r,i]}var ze={deltaE76:function(e,t){return function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"lab",r=(n=i.Z.get(n)).from(e),o=n.from(t);return Math.sqrt(r.reduce((function(e,t,n){var r=o[n];return isNaN(t)||isNaN(r)?e:e+Math.pow(r-t,2)}),0))}(e,t,"lab")},deltaECMC:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=n.l,a=void 0===i?2:i,s=n.c,u=void 0===s?1:s,c=(0,r.Z)([e,t]),l=(0,o.Z)(c,2);e=l[0],t=l[1];var f=d.Z.from(e),p=(0,o.Z)(f,3),g=p[0],m=p[1],y=p[2],v=h.from(d.Z,[g,m,y]),b=(0,o.Z)(v,3),_=b[1],w=b[2],T=d.Z.from(t),x=(0,o.Z)(T,3),S=x[0],k=x[1],E=x[2],O=h.from(d.Z,[S,k,E])[1];_<0&&(_=0),O<0&&(O=0);var C=g-S,L=_-O,A=m-k,I=y-E,P=Math.pow(A,2)+Math.pow(I,2)-Math.pow(L,2),M=.511;g>=16&&(M=.040975*g/(1+.01765*g));var R,j=.0638*_/(1+.0131*_)+.638;B(w)&&(w=0),R=w>=164&&w<=345?.56+Math.abs(.2*Math.cos((w+168)*U)):.36+Math.abs(.4*Math.cos((w+35)*U));var D=Math.pow(_,4),N=Math.sqrt(D/(D+1900)),F=j*(N*R+1-N),z=Math.pow(C/(a*M),2);return z+=Math.pow(L/(u*j),2),z+=P/Math.pow(F,2),Math.sqrt(z)},deltaE2000:_,deltaEJz:function(e,t){var n=(0,r.Z)([e,t]),i=(0,o.Z)(n,2);e=i[0],t=i[1];var a=re.from(e),s=(0,o.Z)(a,3),u=s[0],c=s[1],l=s[2],f=re.from(t),d=(0,o.Z)(f,3),p=d[0],h=d[1],g=d[2],m=u-p,y=c-h;B(l)&&B(g)?(l=0,g=0):B(l)?l=g:B(g)&&(g=l);var v=l-g,b=2*Math.sqrt(c*h)*Math.sin(v/2*(Math.PI/180));return Math.sqrt(Math.pow(m,2)+Math.pow(y,2)+Math.pow(b,2))},deltaEITP:function(e,t){var n=(0,r.Z)([e,t]),i=(0,o.Z)(n,2);e=i[0],t=i[1];var a=ge.from(e),s=(0,o.Z)(a,3),u=s[0],c=s[1],l=s[2],f=ge.from(t),d=(0,o.Z)(f,3),p=d[0],h=d[1],g=d[2];return 720*Math.sqrt(Math.pow(u-p,2)+.25*Math.pow(c-h,2)+Math.pow(l-g,2))},deltaEOK:L,deltaEHCT:function(e,t){var n=(0,r.Z)([e,t]),i=(0,o.Z)(n,2);e=i[0],t=i[1];var a=Fe(Ne.from(e)),s=(0,o.Z)(a,3),u=s[0],c=s[1],l=s[2],f=Fe(Ne.from(t)),d=(0,o.Z)(f,3),p=d[0],h=d[1],g=d[2];return Math.sqrt(Math.pow(u-p,2)+Math.pow(c-h,2)+Math.pow(l-g,2))}};function He(e){var t=e?Math.floor(a(Math.abs(e))):0;return Math.max(parseFloat("1e".concat(t-2)),1e-6)}var Ze={hct:{method:"hct.c",jnd:2,deltaEMethod:"hct",blackWhiteClamp:{}},"hct-tonal":{method:"hct.c",jnd:0,deltaEMethod:"hct",blackWhiteClamp:{channel:"hct.t",min:0,max:100}}};function qe(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=n.method,d=void 0===a?f.Z.gamut_mapping:a,p=n.space,h=void 0===p?void 0:p,g=n.deltaEMethod,m=void 0===g?"":g,y=n.jnd,v=void 0===y?2:y,b=n.blackWhiteClamp,w=void 0===b?{}:b;if(e=(0,r.Z)(e),l.HD(arguments[1])?h=arguments[1]:h||(h=e.space),I(e,h=i.Z.get(h),{epsilon:0}))return e;if("css"===d)t=We(e,{space:h});else{if("clip"===d||I(e,h))t=Ge(e,h);else{if(Object.prototype.hasOwnProperty.call(Ze,d)){var T=Ze[d];d=T.method,v=T.jnd,m=T.deltaEMethod,w=T.blackWhiteClamp}var x=_;if(""!==m)for(var S in ze)if("deltae"+m.toLowerCase()===S.toLowerCase()){x=ze[S];break}var k=qe(Ge(e,h),{method:"clip",space:h});if(x(e,k)>v){if(3===s(w).length){var E=i.Z.resolveCoord(w.channel),O=(0,P.Z)(Ge(e,E.space),E.id);if(l.Wi(O)&&(O=0),O>=w.max)return Ge({space:"xyz-d65",coords:me.mh.D65},e.space);if(O<=w.min)return Ge({space:"xyz-d65",coords:[0,0,0]},e.space)}var C=i.Z.resolveCoord(d),L=C.space,A=C.id,M=Ge(e,L);M.coords.forEach((function(e,t){l.Wi(e)&&(M.coords[t]=0)}));for(var R=C.range||C.refRange,D=R[0],B=He(v),U=D,F=(0,P.Z)(M,A);F-U>B;){var z=N(M);z=qe(z,{space:h,method:"clip"});var H=x(M,z);H-v<B?U=(0,P.Z)(M,A):F=(0,P.Z)(M,A),j(M,A,(U+F)/2)}t=Ge(M,h)}else t=k}if("clip"===d||!I(t,h,{epsilon:0})){var Z,q,V=u(Z=c(h.coords)).call(Z,(function(e){return e.range||[]}));t.coords=u(q=t.coords).call(q,(function(e,t){var n=(0,o.Z)(V[t],2),r=n[0],i=n[1];return void 0!==r&&(e=Math.max(r,e)),void 0!==i&&(e=Math.min(e,i)),e}))}}return h!==e.space&&(t=Ge(t,e.space)),e.coords=t.coords,e}qe.returns="color";var Ve={WHITE:{space:C,coords:[1,0,0]},BLACK:{space:C,coords:[0,0,0]}};function We(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.space,a=.02,s=1e-4;e=(0,r.Z)(e),n||(n=e.space),n=i.Z.get(n);var f=i.Z.get("oklch");if(n.isUnbounded)return Ge(e,n);var d=Ge(e,f),p=d.coords[0];if(p>=1){var h=Ge(Ve.WHITE,n);return h.alpha=e.alpha,Ge(h,n)}if(p<=0){var g=Ge(Ve.BLACK,n);return g.alpha=e.alpha,Ge(g,n)}if(I(d,n,{epsilon:0}))return Ge(d,n);function m(e){var t,r=Ge(e,n),i=c(n.coords);return r.coords=u(t=r.coords).call(t,(function(e,t){if("range"in i[t]){var n=(0,o.Z)(i[t].range,2),r=n[0],a=n[1];return l.uZ(r,e,a)}return e})),r}var y=0,v=d.coords[1],b=!0,_=N(d),w=m(_),T=L(w,_);if(T<a)return w;for(;v-y>s;){var x=(y+v)/2;if(_.coords[1]=x,b&&I(_,n,{epsilon:0}))y=x;else if((T=L(w=m(_),_))<a){if(a-T<s)break;b=!1,y=x}else v=x}return w}function Ge(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=n.inGamut;e=(0,r.Z)(e);var a=(t=i.Z.get(t)).from(e),s={space:t,coords:a,alpha:e.alpha};return o&&(s=qe(s,!0===o?void 0:o)),s}Ge.returns="color"},75064:function(e,t,n){"use strict";n.d(t,{$7:function(){return x},HD:function(){return f},KK:function(){return b},Nw:function(){return k},T7:function(){return _},Wi:function(){return h},Z$:function(){return y},dL:function(){return m},dt:function(){return d},g6:function(){return T},rY:function(){return S},sX:function(){return v},uZ:function(){return w},zL:function(){return p}});var r=n(19623),i=n(35293),o=n(31634),a=n(84705),s=n(35704),u=n(45181),c=n(88946),l=n(14051);function f(e){return"string"===d(e)}function d(e){return(Object.prototype.toString.call(e).match(/^\[object\s+(.*?)\]$/)[1]||"").toLowerCase()}function p(e,t){var n=t.precision,r=t.unit;return h(e)?"none":function(e,t){if(0===e)return 0;var n=~~e,r=0;n&&t&&(r=1+~~o(Math.abs(n)));var i=Math.pow(10,t-r);return Math.floor(e*i+.5)/i}(e,n)+(null!=r?r:"")}function h(e){return i(e)||e instanceof Number&&(null==e?void 0:e.none)}var g={deg:1,grad:.9,rad:180/Math.PI,turn:360};function m(e){if(e){e=a(e).call(e);var t=/^-?[\d.]+$/,n=/%|deg|g?rad|turn$/,i=e.match(/^([a-z]+)\((.+?)\)$/i);if(i){var o=[];return i[2].replace(/\/?\s*(none|[-\w.]+(?:%|deg|g?rad|turn)?)/g,(function(e,i){var a=i.match(n),c=i;if(a){var l=a[0],f=s(c).call(c,0,-l.length);"%"===l?(c=new Number(f/100)).type="<percentage>":((c=new Number(f*g[l])).type="<angle>",c.unit=l)}else t.test(c)?(c=new Number(c)).type="<number>":"none"===c&&((c=new Number(NaN)).none=!0);u(e).call(e,"/")&&((c=c instanceof Number?c:new Number(c)).alpha=!0),"object"===(0,r.Z)(c)&&c instanceof Number&&(c.raw=i),o.push(c)})),{name:i[1].toLowerCase(),rawName:i[1],rawArgs:i[2],args:o}}}}function y(e){return e[e.length-1]}function v(e,t,n){return isNaN(e)?t:isNaN(t)?e:e+(t-e)*n}function b(e,t,n){return v(t[0],t[1],function(e,t,n){return(n-e)/(t-e)}(e[0],e[1],n))}function _(e){return c(e).call(e,(function(e){var t;return c(t=e.split("|")).call(t,(function(e){var t=(e=a(e).call(e)).match(/^(<[a-z]+>)\[(-?[.\d]+),\s*(-?[.\d]+)\]?$/);if(t){var n=new String(t[1]);return n.range=[+t[2],+t[3]],n}return e}))}))}function w(e,t,n){return Math.max(Math.min(n,t),e)}function T(e,t){return l(e)===l(t)?e:-e}function x(e,t){return T(Math.pow(Math.abs(e),t),e)}function S(e,t){return 0===t?0:e/t}function k(e,t){for(var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:e.length;n<r;){var i=n+r>>1;e[i]<t?n=i+1:r=i}return n}},23148:function(e,t,n){"use strict";n.d(t,{De:function(){return It},Dx:function(){return Mt},ST:function(){return P},ZL:function(){return Ot},f$:function(){return en},jn:function(){return vt},kL:function(){return rt},od:function(){return _t},qi:function(){return ct},tt:function(){return M},u:function(){return $t},uw:function(){return Xt},vn:function(){return A}});var r=n(50713);class i{constructor(){this._request=null,this._charts=new Map,this._running=!1,this._lastDate=void 0}_notify(e,t,n,r){const i=t.listeners[r],o=t.duration;i.forEach((r=>r({chart:e,initial:t.initial,numSteps:o,currentStep:Math.min(n-t.start,o)})))}_refresh(){this._request||(this._running=!0,this._request=r.r.call(window,(()=>{this._update(),this._request=null,this._running&&this._refresh()})))}_update(e=Date.now()){let t=0;this._charts.forEach(((n,r)=>{if(!n.running||!n.items.length)return;const i=n.items;let o,a=i.length-1,s=!1;for(;a>=0;--a)o=i[a],o._active?(o._total>n.duration&&(n.duration=o._total),o.tick(e),s=!0):(i[a]=i[i.length-1],i.pop());s&&(r.draw(),this._notify(r,n,e,"progress")),i.length||(n.running=!1,this._notify(r,n,e,"complete"),n.initial=!1),t+=i.length})),this._lastDate=e,0===t&&(this._running=!1)}_getAnims(e){const t=this._charts;let n=t.get(e);return n||(n={running:!1,initial:!0,items:[],listeners:{complete:[],progress:[]}},t.set(e,n)),n}listen(e,t,n){this._getAnims(e).listeners[t].push(n)}add(e,t){t&&t.length&&this._getAnims(e).items.push(...t)}has(e){return this._getAnims(e).items.length>0}start(e){const t=this._charts.get(e);t&&(t.running=!0,t.start=Date.now(),t.duration=t.items.reduce(((e,t)=>Math.max(e,t._duration)),0),this._refresh())}running(e){if(!this._running)return!1;const t=this._charts.get(e);return!!(t&&t.running&&t.items.length)}stop(e){const t=this._charts.get(e);if(!t||!t.items.length)return;const n=t.items;let r=n.length-1;for(;r>=0;--r)n[r].cancel();t.items=[],this._notify(e,t,Date.now(),"complete")}remove(e){return this._charts.delete(e)}}var o=new i;const a="transparent",s={boolean:(e,t,n)=>n>.5?t:e,color(e,t,n){const i=(0,r.c)(e||a),o=i.valid&&(0,r.c)(t||a);return o&&o.valid?o.mix(i,n).hexString():t},number:(e,t,n)=>e+(t-e)*n};class u{constructor(e,t,n,i){const o=t[n];i=(0,r.a)([e.to,i,o,e.from]);const a=(0,r.a)([e.from,o,i]);this._active=!0,this._fn=e.fn||s[e.type||typeof a],this._easing=r.e[e.easing]||r.e.linear,this._start=Math.floor(Date.now()+(e.delay||0)),this._duration=this._total=Math.floor(e.duration),this._loop=!!e.loop,this._target=t,this._prop=n,this._from=a,this._to=i,this._promises=void 0}active(){return this._active}update(e,t,n){if(this._active){this._notify(!1);const i=this._target[this._prop],o=n-this._start,a=this._duration-o;this._start=n,this._duration=Math.floor(Math.max(a,e.duration)),this._total+=o,this._loop=!!e.loop,this._to=(0,r.a)([e.to,t,i,e.from]),this._from=(0,r.a)([e.from,i,t])}}cancel(){this._active&&(this.tick(Date.now()),this._active=!1,this._notify(!1))}tick(e){const t=e-this._start,n=this._duration,r=this._prop,i=this._from,o=this._loop,a=this._to;let s;if(this._active=i!==a&&(o||t<n),!this._active)return this._target[r]=a,void this._notify(!0);t<0?this._target[r]=i:(s=t/n%2,s=o&&s>1?2-s:s,s=this._easing(Math.min(1,Math.max(0,s))),this._target[r]=this._fn(i,a,s))}wait(){const e=this._promises||(this._promises=[]);return new Promise(((t,n)=>{e.push({res:t,rej:n})}))}_notify(e){const t=e?"res":"rej",n=this._promises||[];for(let e=0;e<n.length;e++)n[e][t]()}}class c{constructor(e,t){this._chart=e,this._properties=new Map,this.configure(t)}configure(e){if(!(0,r.i)(e))return;const t=Object.keys(r.d.animation),n=this._properties;Object.getOwnPropertyNames(e).forEach((i=>{const o=e[i];if(!(0,r.i)(o))return;const a={};for(const e of t)a[e]=o[e];((0,r.b)(o.properties)&&o.properties||[i]).forEach((e=>{e!==i&&n.has(e)||n.set(e,a)}))}))}_animateOptions(e,t){const n=t.options,r=function(e,t){if(!t)return;let n=e.options;if(!n)return void(e.options=t);n.$shared&&(e.options=n=Object.assign({},n,{$shared:!1,$animations:{}}));return n}(e,n);if(!r)return[];const i=this._createAnimations(r,n);return n.$shared&&function(e,t){const n=[],r=Object.keys(t);for(let t=0;t<r.length;t++){const i=e[r[t]];i&&i.active()&&n.push(i.wait())}return Promise.all(n)}(e.options.$animations,n).then((()=>{e.options=n}),(()=>{})),i}_createAnimations(e,t){const n=this._properties,r=[],i=e.$animations||(e.$animations={}),o=Object.keys(t),a=Date.now();let s;for(s=o.length-1;s>=0;--s){const c=o[s];if("$"===c.charAt(0))continue;if("options"===c){r.push(...this._animateOptions(e,t));continue}const l=t[c];let f=i[c];const d=n.get(c);if(f){if(d&&f.active()){f.update(d,l,a);continue}f.cancel()}d&&d.duration?(i[c]=f=new u(d,e,c,l),r.push(f)):e[c]=l}return r}update(e,t){if(0===this._properties.size)return void Object.assign(e,t);const n=this._createAnimations(e,t);return n.length?(o.add(this._chart,n),!0):void 0}}function l(e,t){const n=e&&e.options||{},r=n.reverse,i=void 0===n.min?t:0,o=void 0===n.max?t:0;return{start:r?o:i,end:r?i:o}}function f(e,t){const n=[],r=e._getSortedDatasetMetas(t);let i,o;for(i=0,o=r.length;i<o;++i)n.push(r[i].index);return n}function d(e,t,n,i={}){const o=e.keys,a="single"===i.mode;let s,u,c,l;if(null!==t){for(s=0,u=o.length;s<u;++s){if(c=+o[s],c===n){if(i.all)continue;break}l=e.values[c],(0,r.g)(l)&&(a||0===t||(0,r.s)(t)===(0,r.s)(l))&&(t+=l)}return t}}function p(e,t){const n=e&&e.options.stacked;return n||void 0===n&&void 0!==t.stack}function h(e,t,n){const r=e[t]||(e[t]={});return r[n]||(r[n]={})}function g(e,t,n,r){for(const i of t.getMatchingVisibleMetas(r).reverse()){const t=e[i.index];if(n&&t>0||!n&&t<0)return i.index}return null}function m(e,t){const{chart:n,_cachedMeta:r}=e,i=n._stacks||(n._stacks={}),{iScale:o,vScale:a,index:s}=r,u=o.axis,c=a.axis,l=function(e,t,n){return`${e.id}.${t.id}.${n.stack||n.type}`}(o,a,r),f=t.length;let d;for(let e=0;e<f;++e){const n=t[e],{[u]:o,[c]:f}=n;d=(n._stacks||(n._stacks={}))[c]=h(i,l,o),d[s]=f,d._top=g(d,a,!0,r.type),d._bottom=g(d,a,!1,r.type);(d._visualValues||(d._visualValues={}))[s]=f}}function y(e,t){const n=e.scales;return Object.keys(n).filter((e=>n[e].axis===t)).shift()}function v(e,t){const n=e.controller.index,r=e.vScale&&e.vScale.axis;if(r){t=t||e._parsed;for(const e of t){const t=e._stacks;if(!t||void 0===t[r]||void 0===t[r][n])return;delete t[r][n],void 0!==t[r]._visualValues&&void 0!==t[r]._visualValues[n]&&delete t[r]._visualValues[n]}}}const b=e=>"reset"===e||"none"===e,_=(e,t)=>t?e:Object.assign({},e);class w{static defaults={};static datasetElementType=null;static dataElementType=null;constructor(e,t){this.chart=e,this._ctx=e.ctx,this.index=t,this._cachedDataOpts={},this._cachedMeta=this.getMeta(),this._type=this._cachedMeta.type,this.options=void 0,this._parsing=!1,this._data=void 0,this._objectData=void 0,this._sharedOptions=void 0,this._drawStart=void 0,this._drawCount=void 0,this.enableOptionSharing=!1,this.supportsDecimation=!1,this.$context=void 0,this._syncList=[],this.datasetElementType=new.target.datasetElementType,this.dataElementType=new.target.dataElementType,this.initialize()}initialize(){const e=this._cachedMeta;this.configure(),this.linkScales(),e._stacked=p(e.vScale,e),this.addElements(),this.options.fill&&!this.chart.isPluginEnabled("filler")&&console.warn("Tried to use the 'fill' option without the 'Filler' plugin enabled. Please import and register the 'Filler' plugin and make sure it is not disabled in the options")}updateIndex(e){this.index!==e&&v(this._cachedMeta),this.index=e}linkScales(){const e=this.chart,t=this._cachedMeta,n=this.getDataset(),i=(e,t,n,r)=>"x"===e?t:"r"===e?r:n,o=t.xAxisID=(0,r.v)(n.xAxisID,y(e,"x")),a=t.yAxisID=(0,r.v)(n.yAxisID,y(e,"y")),s=t.rAxisID=(0,r.v)(n.rAxisID,y(e,"r")),u=t.indexAxis,c=t.iAxisID=i(u,o,a,s),l=t.vAxisID=i(u,a,o,s);t.xScale=this.getScaleForId(o),t.yScale=this.getScaleForId(a),t.rScale=this.getScaleForId(s),t.iScale=this.getScaleForId(c),t.vScale=this.getScaleForId(l)}getDataset(){return this.chart.data.datasets[this.index]}getMeta(){return this.chart.getDatasetMeta(this.index)}getScaleForId(e){return this.chart.scales[e]}_getOtherScale(e){const t=this._cachedMeta;return e===t.iScale?t.vScale:t.iScale}reset(){this._update("reset")}_destroy(){const e=this._cachedMeta;this._data&&(0,r.u)(this._data,this),e._stacked&&v(e)}_dataCheck(){const e=this.getDataset(),t=e.data||(e.data=[]),n=this._data;if((0,r.i)(t))this._data=function(e){const t=Object.keys(e),n=new Array(t.length);let r,i,o;for(r=0,i=t.length;r<i;++r)o=t[r],n[r]={x:o,y:e[o]};return n}(t);else if(n!==t){if(n){(0,r.u)(n,this);const e=this._cachedMeta;v(e),e._parsed=[]}t&&Object.isExtensible(t)&&(0,r.l)(t,this),this._syncList=[],this._data=t}}addElements(){const e=this._cachedMeta;this._dataCheck(),this.datasetElementType&&(e.dataset=new this.datasetElementType)}buildOrUpdateElements(e){const t=this._cachedMeta,n=this.getDataset();let r=!1;this._dataCheck();const i=t._stacked;t._stacked=p(t.vScale,t),t.stack!==n.stack&&(r=!0,v(t),t.stack=n.stack),this._resyncElements(e),(r||i!==t._stacked)&&m(this,t._parsed)}configure(){const e=this.chart.config,t=e.datasetScopeKeys(this._type),n=e.getOptionScopes(this.getDataset(),t,!0);this.options=e.createResolver(n,this.getContext()),this._parsing=this.options.parsing,this._cachedDataOpts={}}parse(e,t){const{_cachedMeta:n,_data:i}=this,{iScale:o,_stacked:a}=n,s=o.axis;let u,c,l,f=0===e&&t===i.length||n._sorted,d=e>0&&n._parsed[e-1];if(!1===this._parsing)n._parsed=i,n._sorted=!0,l=i;else{l=(0,r.b)(i[e])?this.parseArrayData(n,i,e,t):(0,r.i)(i[e])?this.parseObjectData(n,i,e,t):this.parsePrimitiveData(n,i,e,t);const o=()=>null===c[s]||d&&c[s]<d[s];for(u=0;u<t;++u)n._parsed[u+e]=c=l[u],f&&(o()&&(f=!1),d=c);n._sorted=f}a&&m(this,l)}parsePrimitiveData(e,t,n,r){const{iScale:i,vScale:o}=e,a=i.axis,s=o.axis,u=i.getLabels(),c=i===o,l=new Array(r);let f,d,p;for(f=0,d=r;f<d;++f)p=f+n,l[f]={[a]:c||i.parse(u[p],p),[s]:o.parse(t[p],p)};return l}parseArrayData(e,t,n,r){const{xScale:i,yScale:o}=e,a=new Array(r);let s,u,c,l;for(s=0,u=r;s<u;++s)c=s+n,l=t[c],a[s]={x:i.parse(l[0],c),y:o.parse(l[1],c)};return a}parseObjectData(e,t,n,i){const{xScale:o,yScale:a}=e,{xAxisKey:s="x",yAxisKey:u="y"}=this._parsing,c=new Array(i);let l,f,d,p;for(l=0,f=i;l<f;++l)d=l+n,p=t[d],c[l]={x:o.parse((0,r.f)(p,s),d),y:a.parse((0,r.f)(p,u),d)};return c}getParsed(e){return this._cachedMeta._parsed[e]}getDataElement(e){return this._cachedMeta.data[e]}applyStack(e,t,n){const r=this.chart,i=this._cachedMeta,o=t[e.axis];return d({keys:f(r,!0),values:t._stacks[e.axis]._visualValues},o,i.index,{mode:n})}updateRangeFromParsed(e,t,n,r){const i=n[t.axis];let o=null===i?NaN:i;const a=r&&n._stacks[t.axis];r&&a&&(r.values=a,o=d(r,i,this._cachedMeta.index)),e.min=Math.min(e.min,o),e.max=Math.max(e.max,o)}getMinMax(e,t){const n=this._cachedMeta,i=n._parsed,o=n._sorted&&e===n.iScale,a=i.length,s=this._getOtherScale(e),u=((e,t,n)=>e&&!t.hidden&&t._stacked&&{keys:f(n,!0),values:null})(t,n,this.chart),c={min:Number.POSITIVE_INFINITY,max:Number.NEGATIVE_INFINITY},{min:l,max:d}=function(e){const{min:t,max:n,minDefined:r,maxDefined:i}=e.getUserBounds();return{min:r?t:Number.NEGATIVE_INFINITY,max:i?n:Number.POSITIVE_INFINITY}}(s);let p,h;function g(){h=i[p];const t=h[s.axis];return!(0,r.g)(h[e.axis])||l>t||d<t}for(p=0;p<a&&(g()||(this.updateRangeFromParsed(c,e,h,u),!o));++p);if(o)for(p=a-1;p>=0;--p)if(!g()){this.updateRangeFromParsed(c,e,h,u);break}return c}getAllParsedValues(e){const t=this._cachedMeta._parsed,n=[];let i,o,a;for(i=0,o=t.length;i<o;++i)a=t[i][e.axis],(0,r.g)(a)&&n.push(a);return n}getMaxOverflow(){return!1}getLabelAndValue(e){const t=this._cachedMeta,n=t.iScale,r=t.vScale,i=this.getParsed(e);return{label:n?""+n.getLabelForValue(i[n.axis]):"",value:r?""+r.getLabelForValue(i[r.axis]):""}}_update(e){const t=this._cachedMeta;this.update(e||"default"),t._clip=function(e){let t,n,i,o;return(0,r.i)(e)?(t=e.top,n=e.right,i=e.bottom,o=e.left):t=n=i=o=e,{top:t,right:n,bottom:i,left:o,disabled:!1===e}}((0,r.v)(this.options.clip,function(e,t,n){if(!1===n)return!1;const r=l(e,n),i=l(t,n);return{top:i.end,right:r.end,bottom:i.start,left:r.start}}(t.xScale,t.yScale,this.getMaxOverflow())))}update(e){}draw(){const e=this._ctx,t=this.chart,n=this._cachedMeta,r=n.data||[],i=t.chartArea,o=[],a=this._drawStart||0,s=this._drawCount||r.length-a,u=this.options.drawActiveElementsOnTop;let c;for(n.dataset&&n.dataset.draw(e,i,a,s),c=a;c<a+s;++c){const t=r[c];t.hidden||(t.active&&u?o.push(t):t.draw(e,i))}for(c=0;c<o.length;++c)o[c].draw(e,i)}getStyle(e,t){const n=t?"active":"default";return void 0===e&&this._cachedMeta.dataset?this.resolveDatasetElementOptions(n):this.resolveDataElementOptions(e||0,n)}getContext(e,t,n){const i=this.getDataset();let o;if(e>=0&&e<this._cachedMeta.data.length){const t=this._cachedMeta.data[e];o=t.$context||(t.$context=function(e,t,n){return(0,r.j)(e,{active:!1,dataIndex:t,parsed:void 0,raw:void 0,element:n,index:t,mode:"default",type:"data"})}(this.getContext(),e,t)),o.parsed=this.getParsed(e),o.raw=i.data[e],o.index=o.dataIndex=e}else o=this.$context||(this.$context=function(e,t){return(0,r.j)(e,{active:!1,dataset:void 0,datasetIndex:t,index:t,mode:"default",type:"dataset"})}(this.chart.getContext(),this.index)),o.dataset=i,o.index=o.datasetIndex=this.index;return o.active=!!t,o.mode=n,o}resolveDatasetElementOptions(e){return this._resolveElementOptions(this.datasetElementType.id,e)}resolveDataElementOptions(e,t){return this._resolveElementOptions(this.dataElementType.id,t,e)}_resolveElementOptions(e,t="default",n){const i="active"===t,o=this._cachedDataOpts,a=e+"-"+t,s=o[a],u=this.enableOptionSharing&&(0,r.h)(n);if(s)return _(s,u);const c=this.chart.config,l=c.datasetElementScopeKeys(this._type,e),f=i?[`${e}Hover`,"hover",e,""]:[e,""],d=c.getOptionScopes(this.getDataset(),l),p=Object.keys(r.d.elements[e]),h=c.resolveNamedOptions(d,p,(()=>this.getContext(n,i,t)),f);return h.$shared&&(h.$shared=u,o[a]=Object.freeze(_(h,u))),h}_resolveAnimations(e,t,n){const r=this.chart,i=this._cachedDataOpts,o=`animation-${t}`,a=i[o];if(a)return a;let s;if(!1!==r.options.animation){const r=this.chart.config,i=r.datasetAnimationScopeKeys(this._type,t),o=r.getOptionScopes(this.getDataset(),i);s=r.createResolver(o,this.getContext(e,n,t))}const u=new c(r,s&&s.animations);return s&&s._cacheable&&(i[o]=Object.freeze(u)),u}getSharedOptions(e){if(e.$shared)return this._sharedOptions||(this._sharedOptions=Object.assign({},e))}includeOptions(e,t){return!t||b(e)||this.chart._animationsDisabled}_getSharedOptions(e,t){const n=this.resolveDataElementOptions(e,t),r=this._sharedOptions,i=this.getSharedOptions(n),o=this.includeOptions(t,i)||i!==r;return this.updateSharedOptions(i,t,n),{sharedOptions:i,includeOptions:o}}updateElement(e,t,n,r){b(r)?Object.assign(e,n):this._resolveAnimations(t,r).update(e,n)}updateSharedOptions(e,t,n){e&&!b(t)&&this._resolveAnimations(void 0,t).update(e,n)}_setStyle(e,t,n,r){e.active=r;const i=this.getStyle(t,r);this._resolveAnimations(t,n,r).update(e,{options:!r&&this.getSharedOptions(i)||i})}removeHoverStyle(e,t,n){this._setStyle(e,n,"active",!1)}setHoverStyle(e,t,n){this._setStyle(e,n,"active",!0)}_removeDatasetHoverStyle(){const e=this._cachedMeta.dataset;e&&this._setStyle(e,void 0,"active",!1)}_setDatasetHoverStyle(){const e=this._cachedMeta.dataset;e&&this._setStyle(e,void 0,"active",!0)}_resyncElements(e){const t=this._data,n=this._cachedMeta.data;for(const[e,t,n]of this._syncList)this[e](t,n);this._syncList=[];const r=n.length,i=t.length,o=Math.min(i,r);o&&this.parse(0,o),i>r?this._insertElements(r,i-r,e):i<r&&this._removeElements(i,r-i)}_insertElements(e,t,n=!0){const r=this._cachedMeta,i=r.data,o=e+t;let a;const s=e=>{for(e.length+=t,a=e.length-1;a>=o;a--)e[a]=e[a-t]};for(s(i),a=e;a<o;++a)i[a]=new this.dataElementType;this._parsing&&s(r._parsed),this.parse(e,t),n&&this.updateElements(i,e,t,"reset")}updateElements(e,t,n,r){}_removeElements(e,t){const n=this._cachedMeta;if(this._parsing){const r=n._parsed.splice(e,t);n._stacked&&v(n,r)}n.data.splice(e,t)}_sync(e){if(this._parsing)this._syncList.push(e);else{const[t,n,r]=e;this[t](n,r)}this.chart._dataChanges.push([this.index,...e])}_onDataPush(){const e=arguments.length;this._sync(["_insertElements",this.getDataset().data.length-e,e])}_onDataPop(){this._sync(["_removeElements",this._cachedMeta.data.length-1,1])}_onDataShift(){this._sync(["_removeElements",0,1])}_onDataSplice(e,t){t&&this._sync(["_removeElements",e,t]);const n=arguments.length-2;n&&this._sync(["_insertElements",e,n])}_onDataUnshift(){this._sync(["_insertElements",0,arguments.length])}}function T(e){const t=e.iScale,n=function(e,t){if(!e._cache.$bar){const n=e.getMatchingVisibleMetas(t);let i=[];for(let t=0,r=n.length;t<r;t++)i=i.concat(n[t].controller.getAllParsedValues(e));e._cache.$bar=(0,r._)(i.sort(((e,t)=>e-t)))}return e._cache.$bar}(t,e.type);let i,o,a,s,u=t._length;const c=()=>{32767!==a&&-32768!==a&&((0,r.h)(s)&&(u=Math.min(u,Math.abs(a-s)||u)),s=a)};for(i=0,o=n.length;i<o;++i)a=t.getPixelForValue(n[i]),c();for(s=void 0,i=0,o=t.ticks.length;i<o;++i)a=t.getPixelForTick(i),c();return u}function x(e,t,n,i){return(0,r.b)(e)?function(e,t,n,r){const i=n.parse(e[0],r),o=n.parse(e[1],r),a=Math.min(i,o),s=Math.max(i,o);let u=a,c=s;Math.abs(a)>Math.abs(s)&&(u=s,c=a),t[n.axis]=c,t._custom={barStart:u,barEnd:c,start:i,end:o,min:a,max:s}}(e,t,n,i):t[n.axis]=n.parse(e,i),t}function S(e,t,n,r){const i=e.iScale,o=e.vScale,a=i.getLabels(),s=i===o,u=[];let c,l,f,d;for(c=n,l=n+r;c<l;++c)d=t[c],f={},f[i.axis]=s||i.parse(a[c],c),u.push(x(d,f,o,c));return u}function k(e){return e&&void 0!==e.barStart&&void 0!==e.barEnd}function E(e,t,n,r){let i=t.borderSkipped;const o={};if(!i)return void(e.borderSkipped=o);if(!0===i)return void(e.borderSkipped={top:!0,right:!0,bottom:!0,left:!0});const{start:a,end:s,reverse:u,top:c,bottom:l}=function(e){let t,n,r,i,o;return e.horizontal?(t=e.base>e.x,n="left",r="right"):(t=e.base<e.y,n="bottom",r="top"),t?(i="end",o="start"):(i="start",o="end"),{start:n,end:r,reverse:t,top:i,bottom:o}}(e);"middle"===i&&n&&(e.enableBorderRadius=!0,(n._top||0)===r?i=c:(n._bottom||0)===r?i=l:(o[O(l,a,s,u)]=!0,i=c)),o[O(i,a,s,u)]=!0,e.borderSkipped=o}function O(e,t,n,r){var i,o,a;return r?(a=n,e=C(e=(i=e)===(o=t)?a:i===a?o:i,n,t)):e=C(e,t,n),e}function C(e,t,n){return"start"===e?t:"end"===e?n:e}function L(e,{inflateAmount:t},n){e.inflateAmount="auto"===t?1===n?.33:0:t}class A extends w{static id="bar";static defaults={datasetElementType:!1,dataElementType:"bar",categoryPercentage:.8,barPercentage:.9,grouped:!0,animations:{numbers:{type:"number",properties:["x","y","base","width","height"]}}};static overrides={scales:{_index_:{type:"category",offset:!0,grid:{offset:!0}},_value_:{type:"linear",beginAtZero:!0}}};parsePrimitiveData(e,t,n,r){return S(e,t,n,r)}parseArrayData(e,t,n,r){return S(e,t,n,r)}parseObjectData(e,t,n,i){const{iScale:o,vScale:a}=e,{xAxisKey:s="x",yAxisKey:u="y"}=this._parsing,c="x"===o.axis?s:u,l="x"===a.axis?s:u,f=[];let d,p,h,g;for(d=n,p=n+i;d<p;++d)g=t[d],h={},h[o.axis]=o.parse((0,r.f)(g,c),d),f.push(x((0,r.f)(g,l),h,a,d));return f}updateRangeFromParsed(e,t,n,r){super.updateRangeFromParsed(e,t,n,r);const i=n._custom;i&&t===this._cachedMeta.vScale&&(e.min=Math.min(e.min,i.min),e.max=Math.max(e.max,i.max))}getMaxOverflow(){return 0}getLabelAndValue(e){const t=this._cachedMeta,{iScale:n,vScale:r}=t,i=this.getParsed(e),o=i._custom,a=k(o)?"["+o.start+", "+o.end+"]":""+r.getLabelForValue(i[r.axis]);return{label:""+n.getLabelForValue(i[n.axis]),value:a}}initialize(){this.enableOptionSharing=!0,super.initialize();this._cachedMeta.stack=this.getDataset().stack}update(e){const t=this._cachedMeta;this.updateElements(t.data,0,t.data.length,e)}updateElements(e,t,n,i){const o="reset"===i,{index:a,_cachedMeta:{vScale:s}}=this,u=s.getBasePixel(),c=s.isHorizontal(),l=this._getRuler(),{sharedOptions:f,includeOptions:d}=this._getSharedOptions(t,i);for(let p=t;p<t+n;p++){const t=this.getParsed(p),n=o||(0,r.k)(t[s.axis])?{base:u,head:u}:this._calculateBarValuePixels(p),h=this._calculateBarIndexPixels(p,l),g=(t._stacks||{})[s.axis],m={horizontal:c,base:n.base,enableBorderRadius:!g||k(t._custom)||a===g._top||a===g._bottom,x:c?n.head:h.center,y:c?h.center:n.head,height:c?h.size:Math.abs(n.size),width:c?Math.abs(n.size):h.size};d&&(m.options=f||this.resolveDataElementOptions(p,e[p].active?"active":i));const y=m.options||e[p].options;E(m,y,g,a),L(m,y,l.ratio),this.updateElement(e[p],p,m,i)}}_getStacks(e,t){const{iScale:n}=this._cachedMeta,i=n.getMatchingVisibleMetas(this._type).filter((e=>e.controller.options.grouped)),o=n.options.stacked,a=[],s=e=>{const n=e.controller.getParsed(t),i=n&&n[e.vScale.axis];if((0,r.k)(i)||isNaN(i))return!0};for(const n of i)if((void 0===t||!s(n))&&((!1===o||-1===a.indexOf(n.stack)||void 0===o&&void 0===n.stack)&&a.push(n.stack),n.index===e))break;return a.length||a.push(void 0),a}_getStackCount(e){return this._getStacks(void 0,e).length}_getStackIndex(e,t,n){const r=this._getStacks(e,n),i=void 0!==t?r.indexOf(t):-1;return-1===i?r.length-1:i}_getRuler(){const e=this.options,t=this._cachedMeta,n=t.iScale,r=[];let i,o;for(i=0,o=t.data.length;i<o;++i)r.push(n.getPixelForValue(this.getParsed(i)[n.axis],i));const a=e.barThickness;return{min:a||T(t),pixels:r,start:n._startPixel,end:n._endPixel,stackCount:this._getStackCount(),scale:n,grouped:e.grouped,ratio:a?1:e.categoryPercentage*e.barPercentage}}_calculateBarValuePixels(e){const{_cachedMeta:{vScale:t,_stacked:n,index:i},options:{base:o,minBarLength:a}}=this,s=o||0,u=this.getParsed(e),c=u._custom,l=k(c);let f,d,p=u[t.axis],h=0,g=n?this.applyStack(t,u,n):p;g!==p&&(h=g-p,g=p),l&&(p=c.barStart,g=c.barEnd-c.barStart,0!==p&&(0,r.s)(p)!==(0,r.s)(c.barEnd)&&(h=0),h+=p);const m=(0,r.k)(o)||l?h:o;let y=t.getPixelForValue(m);if(f=this.chart.getDataVisibility(e)?t.getPixelForValue(h+g):y,d=f-y,Math.abs(d)<a){d=function(e,t,n){return 0!==e?(0,r.s)(e):(t.isHorizontal()?1:-1)*(t.min>=n?1:-1)}(d,t,s)*a,p===s&&(y-=d/2);const e=t.getPixelForDecimal(0),o=t.getPixelForDecimal(1),c=Math.min(e,o),h=Math.max(e,o);y=Math.max(Math.min(y,h),c),f=y+d,n&&!l&&(u._stacks[t.axis]._visualValues[i]=t.getValueForPixel(f)-t.getValueForPixel(y))}if(y===t.getPixelForValue(s)){const e=(0,r.s)(d)*t.getLineWidthForValue(s)/2;y+=e,d-=e}return{size:d,base:y,head:f,center:f+d/2}}_calculateBarIndexPixels(e,t){const n=t.scale,i=this.options,o=i.skipNull,a=(0,r.v)(i.maxBarThickness,1/0);let s,u;if(t.grouped){const n=o?this._getStackCount(e):t.stackCount,c="flex"===i.barThickness?function(e,t,n,r){const i=t.pixels,o=i[e];let a=e>0?i[e-1]:null,s=e<i.length-1?i[e+1]:null;const u=n.categoryPercentage;null===a&&(a=o-(null===s?t.end-t.start:s-o)),null===s&&(s=o+o-a);const c=o-(o-Math.min(a,s))/2*u;return{chunk:Math.abs(s-a)/2*u/r,ratio:n.barPercentage,start:c}}(e,t,i,n):function(e,t,n,i){const o=n.barThickness;let a,s;return(0,r.k)(o)?(a=t.min*n.categoryPercentage,s=n.barPercentage):(a=o*i,s=1),{chunk:a/i,ratio:s,start:t.pixels[e]-a/2}}(e,t,i,n),l=this._getStackIndex(this.index,this._cachedMeta.stack,o?e:void 0);s=c.start+c.chunk*l+c.chunk/2,u=Math.min(a,c.chunk*c.ratio)}else s=n.getPixelForValue(this.getParsed(e)[n.axis],e),u=Math.min(a,t.min*t.ratio);return{base:s-u/2,head:s+u/2,center:s,size:u}}draw(){const e=this._cachedMeta,t=e.vScale,n=e.data,r=n.length;let i=0;for(;i<r;++i)null!==this.getParsed(i)[t.axis]&&n[i].draw(this._ctx)}}class I extends w{static id="doughnut";static defaults={datasetElementType:!1,dataElementType:"arc",animation:{animateRotate:!0,animateScale:!1},animations:{numbers:{type:"number",properties:["circumference","endAngle","innerRadius","outerRadius","startAngle","x","y","offset","borderWidth","spacing"]}},cutout:"50%",rotation:0,circumference:360,radius:"100%",spacing:0,indexAxis:"r"};static descriptors={_scriptable:e=>"spacing"!==e,_indexable:e=>"spacing"!==e&&!e.startsWith("borderDash")&&!e.startsWith("hoverBorderDash")};static overrides={aspectRatio:1,plugins:{legend:{labels:{generateLabels(e){const t=e.data;if(t.labels.length&&t.datasets.length){const{labels:{pointStyle:n,color:r}}=e.legend.options;return t.labels.map(((t,i)=>{const o=e.getDatasetMeta(0).controller.getStyle(i);return{text:t,fillStyle:o.backgroundColor,strokeStyle:o.borderColor,fontColor:r,lineWidth:o.borderWidth,pointStyle:n,hidden:!e.getDataVisibility(i),index:i}}))}return[]}},onClick(e,t,n){n.chart.toggleDataVisibility(t.index),n.chart.update()}}}};constructor(e,t){super(e,t),this.enableOptionSharing=!0,this.innerRadius=void 0,this.outerRadius=void 0,this.offsetX=void 0,this.offsetY=void 0}linkScales(){}parse(e,t){const n=this.getDataset().data,i=this._cachedMeta;if(!1===this._parsing)i._parsed=n;else{let o,a,s=e=>+n[e];if((0,r.i)(n[e])){const{key:e="value"}=this._parsing;s=t=>+(0,r.f)(n[t],e)}for(o=e,a=e+t;o<a;++o)i._parsed[o]=s(o)}}_getRotation(){return(0,r.t)(this.options.rotation-90)}_getCircumference(){return(0,r.t)(this.options.circumference)}_getRotationExtents(){let e=r.T,t=-r.T;for(let n=0;n<this.chart.data.datasets.length;++n)if(this.chart.isDatasetVisible(n)&&this.chart.getDatasetMeta(n).type===this._type){const r=this.chart.getDatasetMeta(n).controller,i=r._getRotation(),o=r._getCircumference();e=Math.min(e,i),t=Math.max(t,i+o)}return{rotation:e,circumference:t-e}}update(e){const t=this.chart,{chartArea:n}=t,i=this._cachedMeta,o=i.data,a=this.getMaxBorderWidth()+this.getMaxOffset(o)+this.options.spacing,s=Math.max((Math.min(n.width,n.height)-a)/2,0),u=Math.min((0,r.m)(this.options.cutout,s),1),c=this._getRingWeight(this.index),{circumference:l,rotation:f}=this._getRotationExtents(),{ratioX:d,ratioY:p,offsetX:h,offsetY:g}=function(e,t,n){let i=1,o=1,a=0,s=0;if(t<r.T){const u=e,c=u+t,l=Math.cos(u),f=Math.sin(u),d=Math.cos(c),p=Math.sin(c),h=(e,t,i)=>(0,r.p)(e,u,c,!0)?1:Math.max(t,t*n,i,i*n),g=(e,t,i)=>(0,r.p)(e,u,c,!0)?-1:Math.min(t,t*n,i,i*n),m=h(0,l,d),y=h(r.H,f,p),v=g(r.P,l,d),b=g(r.P+r.H,f,p);i=(m-v)/2,o=(y-b)/2,a=-(m+v)/2,s=-(y+b)/2}return{ratioX:i,ratioY:o,offsetX:a,offsetY:s}}(f,l,u),m=(n.width-a)/d,y=(n.height-a)/p,v=Math.max(Math.min(m,y)/2,0),b=(0,r.n)(this.options.radius,v),_=(b-Math.max(b*u,0))/this._getVisibleDatasetWeightTotal();this.offsetX=h*b,this.offsetY=g*b,i.total=this.calculateTotal(),this.outerRadius=b-_*this._getRingWeightOffset(this.index),this.innerRadius=Math.max(this.outerRadius-_*c,0),this.updateElements(o,0,o.length,e)}_circumference(e,t){const n=this.options,i=this._cachedMeta,o=this._getCircumference();return t&&n.animation.animateRotate||!this.chart.getDataVisibility(e)||null===i._parsed[e]||i.data[e].hidden?0:this.calculateCircumference(i._parsed[e]*o/r.T)}updateElements(e,t,n,r){const i="reset"===r,o=this.chart,a=o.chartArea,s=o.options.animation,u=(a.left+a.right)/2,c=(a.top+a.bottom)/2,l=i&&s.animateScale,f=l?0:this.innerRadius,d=l?0:this.outerRadius,{sharedOptions:p,includeOptions:h}=this._getSharedOptions(t,r);let g,m=this._getRotation();for(g=0;g<t;++g)m+=this._circumference(g,i);for(g=t;g<t+n;++g){const t=this._circumference(g,i),n=e[g],o={x:u+this.offsetX,y:c+this.offsetY,startAngle:m,endAngle:m+t,circumference:t,outerRadius:d,innerRadius:f};h&&(o.options=p||this.resolveDataElementOptions(g,n.active?"active":r)),m+=t,this.updateElement(n,g,o,r)}}calculateTotal(){const e=this._cachedMeta,t=e.data;let n,r=0;for(n=0;n<t.length;n++){const i=e._parsed[n];null===i||isNaN(i)||!this.chart.getDataVisibility(n)||t[n].hidden||(r+=Math.abs(i))}return r}calculateCircumference(e){const t=this._cachedMeta.total;return t>0&&!isNaN(e)?r.T*(Math.abs(e)/t):0}getLabelAndValue(e){const t=this._cachedMeta,n=this.chart,i=n.data.labels||[],o=(0,r.o)(t._parsed[e],n.options.locale);return{label:i[e]||"",value:o}}getMaxBorderWidth(e){let t=0;const n=this.chart;let r,i,o,a,s;if(!e)for(r=0,i=n.data.datasets.length;r<i;++r)if(n.isDatasetVisible(r)){o=n.getDatasetMeta(r),e=o.data,a=o.controller;break}if(!e)return 0;for(r=0,i=e.length;r<i;++r)s=a.resolveDataElementOptions(r),"inner"!==s.borderAlign&&(t=Math.max(t,s.borderWidth||0,s.hoverBorderWidth||0));return t}getMaxOffset(e){let t=0;for(let n=0,r=e.length;n<r;++n){const e=this.resolveDataElementOptions(n);t=Math.max(t,e.offset||0,e.hoverOffset||0)}return t}_getRingWeightOffset(e){let t=0;for(let n=0;n<e;++n)this.chart.isDatasetVisible(n)&&(t+=this._getRingWeight(n));return t}_getRingWeight(e){return Math.max((0,r.v)(this.chart.data.datasets[e].weight,1),0)}_getVisibleDatasetWeightTotal(){return this._getRingWeightOffset(this.chart.data.datasets.length)||1}}class P extends w{static id="line";static defaults={datasetElementType:"line",dataElementType:"point",showLine:!0,spanGaps:!1};static overrides={scales:{_index_:{type:"category"},_value_:{type:"linear"}}};initialize(){this.enableOptionSharing=!0,this.supportsDecimation=!0,super.initialize()}update(e){const t=this._cachedMeta,{dataset:n,data:i=[],_dataset:o}=t,a=this.chart._animationsDisabled;let{start:s,count:u}=(0,r.q)(t,i,a);this._drawStart=s,this._drawCount=u,(0,r.w)(t)&&(s=0,u=i.length),n._chart=this.chart,n._datasetIndex=this.index,n._decimated=!!o._decimated,n.points=i;const c=this.resolveDatasetElementOptions(e);this.options.showLine||(c.borderWidth=0),c.segment=this.options.segment,this.updateElement(n,void 0,{animated:!a,options:c},e),this.updateElements(i,s,u,e)}updateElements(e,t,n,i){const o="reset"===i,{iScale:a,vScale:s,_stacked:u,_dataset:c}=this._cachedMeta,{sharedOptions:l,includeOptions:f}=this._getSharedOptions(t,i),d=a.axis,p=s.axis,{spanGaps:h,segment:g}=this.options,m=(0,r.x)(h)?h:Number.POSITIVE_INFINITY,y=this.chart._animationsDisabled||o||"none"===i,v=t+n,b=e.length;let _=t>0&&this.getParsed(t-1);for(let n=0;n<b;++n){const h=e[n],b=y?h:{};if(n<t||n>=v){b.skip=!0;continue}const w=this.getParsed(n),T=(0,r.k)(w[p]),x=b[d]=a.getPixelForValue(w[d],n),S=b[p]=o||T?s.getBasePixel():s.getPixelForValue(u?this.applyStack(s,w,u):w[p],n);b.skip=isNaN(x)||isNaN(S)||T,b.stop=n>0&&Math.abs(w[d]-_[d])>m,g&&(b.parsed=w,b.raw=c.data[n]),f&&(b.options=l||this.resolveDataElementOptions(n,h.active?"active":i)),y||this.updateElement(h,n,b,i),_=w}}getMaxOverflow(){const e=this._cachedMeta,t=e.dataset,n=t.options&&t.options.borderWidth||0,r=e.data||[];if(!r.length)return n;const i=r[0].size(this.resolveDataElementOptions(0)),o=r[r.length-1].size(this.resolveDataElementOptions(r.length-1));return Math.max(n,i,o)/2}draw(){const e=this._cachedMeta;e.dataset.updateControlPoints(this.chart.chartArea,e.iScale.axis),super.draw()}}class M extends I{static id="pie";static defaults={cutout:0,rotation:0,circumference:360,radius:"100%"}}function R(e,t,n,i){const{controller:o,data:a,_sorted:s}=e,u=o._cachedMeta.iScale;if(u&&t===u.axis&&"r"!==t&&s&&a.length){const e=u._reversePixels?r.A:r.B;if(!i)return e(a,t,n);if(o._sharedOptions){const r=a[0],i="function"==typeof r.getRange&&r.getRange(t);if(i){const r=e(a,t,n-i),o=e(a,t,n+i);return{lo:r.lo,hi:o.hi}}}}return{lo:0,hi:a.length-1}}function j(e,t,n,r,i){const o=e.getSortedVisibleDatasetMetas(),a=n[t];for(let e=0,n=o.length;e<n;++e){const{index:n,data:s}=o[e],{lo:u,hi:c}=R(o[e],t,a,i);for(let e=u;e<=c;++e){const t=s[e];t.skip||r(t,n,e)}}}function D(e,t,n,i,o){const a=[];if(!o&&!e.isPointInArea(t))return a;return j(e,n,t,(function(n,s,u){(o||(0,r.C)(n,e.chartArea,0))&&n.inRange(t.x,t.y,i)&&a.push({element:n,datasetIndex:s,index:u})}),!0),a}function N(e,t,n,r,i,o){let a=[];const s=function(e){const t=-1!==e.indexOf("x"),n=-1!==e.indexOf("y");return function(e,r){const i=t?Math.abs(e.x-r.x):0,o=n?Math.abs(e.y-r.y):0;return Math.sqrt(Math.pow(i,2)+Math.pow(o,2))}}(n);let u=Number.POSITIVE_INFINITY;return j(e,n,t,(function(n,c,l){const f=n.inRange(t.x,t.y,i);if(r&&!f)return;const d=n.getCenterPoint(i);if(!(!!o||e.isPointInArea(d))&&!f)return;const p=s(t,d);p<u?(a=[{element:n,datasetIndex:c,index:l}],u=p):p===u&&a.push({element:n,datasetIndex:c,index:l})})),a}function B(e,t,n,i,o,a){return a||e.isPointInArea(t)?"r"!==n||i?N(e,t,n,i,o,a):function(e,t,n,i){let o=[];return j(e,n,t,(function(e,n,a){const{startAngle:s,endAngle:u}=e.getProps(["startAngle","endAngle"],i),{angle:c}=(0,r.D)(e,{x:t.x,y:t.y});(0,r.p)(c,s,u)&&o.push({element:e,datasetIndex:n,index:a})})),o}(e,t,n,o):[]}function U(e,t,n,r,i){const o=[],a="x"===n?"inXRange":"inYRange";let s=!1;return j(e,n,t,((e,r,u)=>{e[a](t[n],i)&&(o.push({element:e,datasetIndex:r,index:u}),s=s||e.inRange(t.x,t.y,i))})),r&&!s?[]:o}var F={evaluateInteractionItems:j,modes:{index(e,t,n,i){const o=(0,r.z)(t,e),a=n.axis||"x",s=n.includeInvisible||!1,u=n.intersect?D(e,o,a,i,s):B(e,o,a,!1,i,s),c=[];return u.length?(e.getSortedVisibleDatasetMetas().forEach((e=>{const t=u[0].index,n=e.data[t];n&&!n.skip&&c.push({element:n,datasetIndex:e.index,index:t})})),c):[]},dataset(e,t,n,i){const o=(0,r.z)(t,e),a=n.axis||"xy",s=n.includeInvisible||!1;let u=n.intersect?D(e,o,a,i,s):B(e,o,a,!1,i,s);if(u.length>0){const t=u[0].datasetIndex,n=e.getDatasetMeta(t).data;u=[];for(let e=0;e<n.length;++e)u.push({element:n[e],datasetIndex:t,index:e})}return u},point:(e,t,n,i)=>D(e,(0,r.z)(t,e),n.axis||"xy",i,n.includeInvisible||!1),nearest(e,t,n,i){const o=(0,r.z)(t,e),a=n.axis||"xy",s=n.includeInvisible||!1;return B(e,o,a,n.intersect,i,s)},x:(e,t,n,i)=>U(e,(0,r.z)(t,e),"x",n.intersect,i),y:(e,t,n,i)=>U(e,(0,r.z)(t,e),"y",n.intersect,i)}};const z=["left","top","right","bottom"];function H(e,t){return e.filter((e=>e.pos===t))}function Z(e,t){return e.filter((e=>-1===z.indexOf(e.pos)&&e.box.axis===t))}function q(e,t){return e.sort(((e,n)=>{const r=t?n:e,i=t?e:n;return r.weight===i.weight?r.index-i.index:r.weight-i.weight}))}function V(e,t){const n=function(e){const t={};for(const n of e){const{stack:e,pos:r,stackWeight:i}=n;if(!e||!z.includes(r))continue;const o=t[e]||(t[e]={count:0,placed:0,weight:0,size:0});o.count++,o.weight+=i}return t}(e),{vBoxMaxWidth:r,hBoxMaxHeight:i}=t;let o,a,s;for(o=0,a=e.length;o<a;++o){s=e[o];const{fullSize:a}=s.box,u=n[s.stack],c=u&&s.stackWeight/u.weight;s.horizontal?(s.width=c?c*r:a&&t.availableWidth,s.height=i):(s.width=r,s.height=c?c*i:a&&t.availableHeight)}return n}function W(e,t,n,r){return Math.max(e[n],t[n])+Math.max(e[r],t[r])}function G(e,t){e.top=Math.max(e.top,t.top),e.left=Math.max(e.left,t.left),e.bottom=Math.max(e.bottom,t.bottom),e.right=Math.max(e.right,t.right)}function $(e,t,n,i){const{pos:o,box:a}=n,s=e.maxPadding;if(!(0,r.i)(o)){n.size&&(e[o]-=n.size);const t=i[n.stack]||{size:0,count:1};t.size=Math.max(t.size,n.horizontal?a.height:a.width),n.size=t.size/t.count,e[o]+=n.size}a.getPadding&&G(s,a.getPadding());const u=Math.max(0,t.outerWidth-W(s,e,"left","right")),c=Math.max(0,t.outerHeight-W(s,e,"top","bottom")),l=u!==e.w,f=c!==e.h;return e.w=u,e.h=c,n.horizontal?{same:l,other:f}:{same:f,other:l}}function Y(e,t){const n=t.maxPadding;function r(e){const r={left:0,top:0,right:0,bottom:0};return e.forEach((e=>{r[e]=Math.max(t[e],n[e])})),r}return r(e?["left","right"]:["top","bottom"])}function K(e,t,n,r){const i=[];let o,a,s,u,c,l;for(o=0,a=e.length,c=0;o<a;++o){s=e[o],u=s.box,u.update(s.width||t.w,s.height||t.h,Y(s.horizontal,t));const{same:a,other:f}=$(t,n,s,r);c|=a&&i.length,l=l||f,u.fullSize||i.push(s)}return c&&K(i,t,n,r)||l}function X(e,t,n,r,i){e.top=n,e.left=t,e.right=t+r,e.bottom=n+i,e.width=r,e.height=i}function Q(e,t,n,i){const o=n.padding;let{x:a,y:s}=t;for(const u of e){const e=u.box,c=i[u.stack]||{count:1,placed:0,weight:1},l=u.stackWeight/c.weight||1;if(u.horizontal){const i=t.w*l,a=c.size||e.height;(0,r.h)(c.start)&&(s=c.start),e.fullSize?X(e,o.left,s,n.outerWidth-o.right-o.left,a):X(e,t.left+c.placed,s,i,a),c.start=s,c.placed+=i,s=e.bottom}else{const i=t.h*l,s=c.size||e.width;(0,r.h)(c.start)&&(a=c.start),e.fullSize?X(e,a,o.top,s,n.outerHeight-o.bottom-o.top):X(e,a,t.top+c.placed,s,i),c.start=a,c.placed+=i,a=e.right}}t.x=a,t.y=s}var J={addBox(e,t){e.boxes||(e.boxes=[]),t.fullSize=t.fullSize||!1,t.position=t.position||"top",t.weight=t.weight||0,t._layers=t._layers||function(){return[{z:0,draw(e){t.draw(e)}}]},e.boxes.push(t)},removeBox(e,t){const n=e.boxes?e.boxes.indexOf(t):-1;-1!==n&&e.boxes.splice(n,1)},configure(e,t,n){t.fullSize=n.fullSize,t.position=n.position,t.weight=n.weight},update(e,t,n,i){if(!e)return;const o=(0,r.E)(e.options.layout.padding),a=Math.max(t-o.width,0),s=Math.max(n-o.height,0),u=function(e){const t=function(e){const t=[];let n,r,i,o,a,s;for(n=0,r=(e||[]).length;n<r;++n)i=e[n],({position:o,options:{stack:a,stackWeight:s=1}}=i),t.push({index:n,box:i,pos:o,horizontal:i.isHorizontal(),weight:i.weight,stack:a&&o+a,stackWeight:s});return t}(e),n=q(t.filter((e=>e.box.fullSize)),!0),r=q(H(t,"left"),!0),i=q(H(t,"right")),o=q(H(t,"top"),!0),a=q(H(t,"bottom")),s=Z(t,"x"),u=Z(t,"y");return{fullSize:n,leftAndTop:r.concat(o),rightAndBottom:i.concat(u).concat(a).concat(s),chartArea:H(t,"chartArea"),vertical:r.concat(i).concat(u),horizontal:o.concat(a).concat(s)}}(e.boxes),c=u.vertical,l=u.horizontal;(0,r.F)(e.boxes,(e=>{"function"==typeof e.beforeLayout&&e.beforeLayout()}));const f=c.reduce(((e,t)=>t.box.options&&!1===t.box.options.display?e:e+1),0)||1,d=Object.freeze({outerWidth:t,outerHeight:n,padding:o,availableWidth:a,availableHeight:s,vBoxMaxWidth:a/2/f,hBoxMaxHeight:s/2}),p=Object.assign({},o);G(p,(0,r.E)(i));const h=Object.assign({maxPadding:p,w:a,h:s,x:o.left,y:o.top},o),g=V(c.concat(l),d);K(u.fullSize,h,d,g),K(c,h,d,g),K(l,h,d,g)&&K(c,h,d,g),function(e){const t=e.maxPadding;function n(n){const r=Math.max(t[n]-e[n],0);return e[n]+=r,r}e.y+=n("top"),e.x+=n("left"),n("right"),n("bottom")}(h),Q(u.leftAndTop,h,d,g),h.x+=h.w,h.y+=h.h,Q(u.rightAndBottom,h,d,g),e.chartArea={left:h.left,top:h.top,right:h.left+h.w,bottom:h.top+h.h,height:h.h,width:h.w},(0,r.F)(u.chartArea,(t=>{const n=t.box;Object.assign(n,e.chartArea),n.update(h.w,h.h,{left:0,top:0,right:0,bottom:0})}))}};class ee{acquireContext(e,t){}releaseContext(e){return!1}addEventListener(e,t,n){}removeEventListener(e,t,n){}getDevicePixelRatio(){return 1}getMaximumSize(e,t,n,r){return t=Math.max(0,t||e.width),n=n||e.height,{width:t,height:Math.max(0,r?Math.floor(t/r):n)}}isAttached(e){return!0}updateConfig(e){}}class te extends ee{acquireContext(e){return e&&e.getContext&&e.getContext("2d")||null}updateConfig(e){e.options.animation=!1}}const ne={touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup",pointerenter:"mouseenter",pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointerleave:"mouseout",pointerout:"mouseout"},re=e=>null===e||""===e;const ie=!!r.K&&{passive:!0};function oe(e,t,n){e&&e.canvas&&e.canvas.removeEventListener(t,n,ie)}function ae(e,t){for(const n of e)if(n===t||n.contains(t))return!0}function se(e,t,n){const r=e.canvas,i=new MutationObserver((e=>{let t=!1;for(const n of e)t=t||ae(n.addedNodes,r),t=t&&!ae(n.removedNodes,r);t&&n()}));return i.observe(document,{childList:!0,subtree:!0}),i}function ue(e,t,n){const r=e.canvas,i=new MutationObserver((e=>{let t=!1;for(const n of e)t=t||ae(n.removedNodes,r),t=t&&!ae(n.addedNodes,r);t&&n()}));return i.observe(document,{childList:!0,subtree:!0}),i}const ce=new Map;let le=0;function fe(){const e=window.devicePixelRatio;e!==le&&(le=e,ce.forEach(((t,n)=>{n.currentDevicePixelRatio!==e&&t()})))}function de(e,t,n){const i=e.canvas,o=i&&(0,r.I)(i);if(!o)return;const a=(0,r.L)(((e,t)=>{const r=o.clientWidth;n(e,t),r<o.clientWidth&&n()}),window),s=new ResizeObserver((e=>{const t=e[0],n=t.contentRect.width,r=t.contentRect.height;0===n&&0===r||a(n,r)}));return s.observe(o),function(e,t){ce.size||window.addEventListener("resize",fe),ce.set(e,t)}(e,a),s}function pe(e,t,n){n&&n.disconnect(),"resize"===t&&function(e){ce.delete(e),ce.size||window.removeEventListener("resize",fe)}(e)}function he(e,t,n){const i=e.canvas,o=(0,r.L)((t=>{null!==e.ctx&&n(function(e,t){const n=ne[e.type]||e.type,{x:i,y:o}=(0,r.z)(e,t);return{type:n,chart:t,native:e,x:void 0!==i?i:null,y:void 0!==o?o:null}}(t,e))}),e);return function(e,t,n){e&&e.addEventListener(t,n,ie)}(i,t,o),o}class ge extends ee{acquireContext(e,t){const n=e&&e.getContext&&e.getContext("2d");return n&&n.canvas===e?(function(e,t){const n=e.style,i=e.getAttribute("height"),o=e.getAttribute("width");if(e.$chartjs={initial:{height:i,width:o,style:{display:n.display,height:n.height,width:n.width}}},n.display=n.display||"block",n.boxSizing=n.boxSizing||"border-box",re(o)){const t=(0,r.J)(e,"width");void 0!==t&&(e.width=t)}if(re(i))if(""===e.style.height)e.height=e.width/(t||2);else{const t=(0,r.J)(e,"height");void 0!==t&&(e.height=t)}}(e,t),n):null}releaseContext(e){const t=e.canvas;if(!t.$chartjs)return!1;const n=t.$chartjs.initial;["height","width"].forEach((e=>{const i=n[e];(0,r.k)(i)?t.removeAttribute(e):t.setAttribute(e,i)}));const i=n.style||{};return Object.keys(i).forEach((e=>{t.style[e]=i[e]})),t.width=t.width,delete t.$chartjs,!0}addEventListener(e,t,n){this.removeEventListener(e,t);const r=e.$proxies||(e.$proxies={}),i={attach:se,detach:ue,resize:de}[t]||he;r[t]=i(e,t,n)}removeEventListener(e,t){const n=e.$proxies||(e.$proxies={}),r=n[t];if(!r)return;({attach:pe,detach:pe,resize:pe}[t]||oe)(e,t,r),n[t]=void 0}getDevicePixelRatio(){return window.devicePixelRatio}getMaximumSize(e,t,n,i){return(0,r.G)(e,t,n,i)}isAttached(e){const t=(0,r.I)(e);return!(!t||!t.isConnected)}}class me{static defaults={};static defaultRoutes=void 0;x;y;active=!1;options;$animations;tooltipPosition(e){const{x:t,y:n}=this.getProps(["x","y"],e);return{x:t,y:n}}hasValue(){return(0,r.x)(this.x)&&(0,r.x)(this.y)}getProps(e,t){const n=this.$animations;if(!t||!n)return this;const r={};return e.forEach((e=>{r[e]=n[e]&&n[e].active()?n[e]._to:this[e]})),r}}function ye(e,t){const n=e.options.ticks,i=function(e){const t=e.options.offset,n=e._tickSize(),r=e._length/n+(t?0:1),i=e._maxLength/n;return Math.floor(Math.min(r,i))}(e),o=Math.min(n.maxTicksLimit||i,i),a=n.major.enabled?function(e){const t=[];let n,r;for(n=0,r=e.length;n<r;n++)e[n].major&&t.push(n);return t}(t):[],s=a.length,u=a[0],c=a[s-1],l=[];if(s>o)return function(e,t,n,r){let i,o=0,a=n[0];for(r=Math.ceil(r),i=0;i<e.length;i++)i===a&&(t.push(e[i]),o++,a=n[o*r])}(t,l,a,s/o),l;const f=function(e,t,n){const i=function(e){const t=e.length;let n,r;if(t<2)return!1;for(r=e[0],n=1;n<t;++n)if(e[n]-e[n-1]!==r)return!1;return r}(e),o=t.length/n;if(!i)return Math.max(o,1);const a=(0,r.N)(i);for(let e=0,t=a.length-1;e<t;e++){const t=a[e];if(t>o)return t}return Math.max(o,1)}(a,t,o);if(s>0){let e,n;const i=s>1?Math.round((c-u)/(s-1)):null;for(ve(t,l,f,(0,r.k)(i)?0:u-i,u),e=0,n=s-1;e<n;e++)ve(t,l,f,a[e],a[e+1]);return ve(t,l,f,c,(0,r.k)(i)?t.length:c+i),l}return ve(t,l,f),l}function ve(e,t,n,i,o){const a=(0,r.v)(i,0),s=Math.min((0,r.v)(o,e.length),e.length);let u,c,l,f=0;for(n=Math.ceil(n),o&&(u=o-i,n=u/Math.floor(u/n)),l=a;l<0;)f++,l=Math.round(a+f*n);for(c=Math.max(a,0);c<s;c++)c===l&&(t.push(e[c]),f++,l=Math.round(a+f*n))}const be=(e,t,n)=>"top"===t||"left"===t?e[t]+n:e[t]-n,_e=(e,t)=>Math.min(t||e,e);function we(e,t){const n=[],r=e.length/t,i=e.length;let o=0;for(;o<i;o+=r)n.push(e[Math.floor(o)]);return n}function Te(e,t,n){const r=e.ticks.length,i=Math.min(t,r-1),o=e._startPixel,a=e._endPixel,s=1e-6;let u,c=e.getPixelForTick(i);if(!(n&&(u=1===r?Math.max(c-o,a-c):0===t?(e.getPixelForTick(1)-c)/2:(c-e.getPixelForTick(i-1))/2,c+=i<t?u:-u,c<o-s||c>a+s)))return c}function xe(e){return e.drawTicks?e.tickLength:0}function Se(e,t){if(!e.display)return 0;const n=(0,r.a0)(e.font,t),i=(0,r.E)(e.padding);return((0,r.b)(e.text)?e.text.length:1)*n.lineHeight+i.height}function ke(e,t,n){let i=(0,r.a1)(e);return(n&&"right"!==t||!n&&"right"===t)&&(i=(e=>"left"===e?"right":"right"===e?"left":e)(i)),i}class Ee extends me{constructor(e){super(),this.id=e.id,this.type=e.type,this.options=void 0,this.ctx=e.ctx,this.chart=e.chart,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.width=void 0,this.height=void 0,this._margins={left:0,right:0,top:0,bottom:0},this.maxWidth=void 0,this.maxHeight=void 0,this.paddingTop=void 0,this.paddingBottom=void 0,this.paddingLeft=void 0,this.paddingRight=void 0,this.axis=void 0,this.labelRotation=void 0,this.min=void 0,this.max=void 0,this._range=void 0,this.ticks=[],this._gridLineItems=null,this._labelItems=null,this._labelSizes=null,this._length=0,this._maxLength=0,this._longestTextCache={},this._startPixel=void 0,this._endPixel=void 0,this._reversePixels=!1,this._userMax=void 0,this._userMin=void 0,this._suggestedMax=void 0,this._suggestedMin=void 0,this._ticksLength=0,this._borderValue=0,this._cache={},this._dataLimitsCached=!1,this.$context=void 0}init(e){this.options=e.setContext(this.getContext()),this.axis=e.axis,this._userMin=this.parse(e.min),this._userMax=this.parse(e.max),this._suggestedMin=this.parse(e.suggestedMin),this._suggestedMax=this.parse(e.suggestedMax)}parse(e,t){return e}getUserBounds(){let{_userMin:e,_userMax:t,_suggestedMin:n,_suggestedMax:i}=this;return e=(0,r.O)(e,Number.POSITIVE_INFINITY),t=(0,r.O)(t,Number.NEGATIVE_INFINITY),n=(0,r.O)(n,Number.POSITIVE_INFINITY),i=(0,r.O)(i,Number.NEGATIVE_INFINITY),{min:(0,r.O)(e,n),max:(0,r.O)(t,i),minDefined:(0,r.g)(e),maxDefined:(0,r.g)(t)}}getMinMax(e){let t,{min:n,max:i,minDefined:o,maxDefined:a}=this.getUserBounds();if(o&&a)return{min:n,max:i};const s=this.getMatchingVisibleMetas();for(let r=0,u=s.length;r<u;++r)t=s[r].controller.getMinMax(this,e),o||(n=Math.min(n,t.min)),a||(i=Math.max(i,t.max));return n=a&&n>i?i:n,i=o&&n>i?n:i,{min:(0,r.O)(n,(0,r.O)(i,n)),max:(0,r.O)(i,(0,r.O)(n,i))}}getPadding(){return{left:this.paddingLeft||0,top:this.paddingTop||0,right:this.paddingRight||0,bottom:this.paddingBottom||0}}getTicks(){return this.ticks}getLabels(){const e=this.chart.data;return this.options.labels||(this.isHorizontal()?e.xLabels:e.yLabels)||e.labels||[]}getLabelItems(e=this.chart.chartArea){return this._labelItems||(this._labelItems=this._computeLabelItems(e))}beforeLayout(){this._cache={},this._dataLimitsCached=!1}beforeUpdate(){(0,r.Q)(this.options.beforeUpdate,[this])}update(e,t,n){const{beginAtZero:i,grace:o,ticks:a}=this.options,s=a.sampleSize;this.beforeUpdate(),this.maxWidth=e,this.maxHeight=t,this._margins=n=Object.assign({left:0,right:0,top:0,bottom:0},n),this.ticks=null,this._labelSizes=null,this._gridLineItems=null,this._labelItems=null,this.beforeSetDimensions(),this.setDimensions(),this.afterSetDimensions(),this._maxLength=this.isHorizontal()?this.width+n.left+n.right:this.height+n.top+n.bottom,this._dataLimitsCached||(this.beforeDataLimits(),this.determineDataLimits(),this.afterDataLimits(),this._range=(0,r.R)(this,o,i),this._dataLimitsCached=!0),this.beforeBuildTicks(),this.ticks=this.buildTicks()||[],this.afterBuildTicks();const u=s<this.ticks.length;this._convertTicksToLabels(u?we(this.ticks,s):this.ticks),this.configure(),this.beforeCalculateLabelRotation(),this.calculateLabelRotation(),this.afterCalculateLabelRotation(),a.display&&(a.autoSkip||"auto"===a.source)&&(this.ticks=ye(this,this.ticks),this._labelSizes=null,this.afterAutoSkip()),u&&this._convertTicksToLabels(this.ticks),this.beforeFit(),this.fit(),this.afterFit(),this.afterUpdate()}configure(){let e,t,n=this.options.reverse;this.isHorizontal()?(e=this.left,t=this.right):(e=this.top,t=this.bottom,n=!n),this._startPixel=e,this._endPixel=t,this._reversePixels=n,this._length=t-e,this._alignToPixels=this.options.alignToPixels}afterUpdate(){(0,r.Q)(this.options.afterUpdate,[this])}beforeSetDimensions(){(0,r.Q)(this.options.beforeSetDimensions,[this])}setDimensions(){this.isHorizontal()?(this.width=this.maxWidth,this.left=0,this.right=this.width):(this.height=this.maxHeight,this.top=0,this.bottom=this.height),this.paddingLeft=0,this.paddingTop=0,this.paddingRight=0,this.paddingBottom=0}afterSetDimensions(){(0,r.Q)(this.options.afterSetDimensions,[this])}_callHooks(e){this.chart.notifyPlugins(e,this.getContext()),(0,r.Q)(this.options[e],[this])}beforeDataLimits(){this._callHooks("beforeDataLimits")}determineDataLimits(){}afterDataLimits(){this._callHooks("afterDataLimits")}beforeBuildTicks(){this._callHooks("beforeBuildTicks")}buildTicks(){return[]}afterBuildTicks(){this._callHooks("afterBuildTicks")}beforeTickToLabelConversion(){(0,r.Q)(this.options.beforeTickToLabelConversion,[this])}generateTickLabels(e){const t=this.options.ticks;let n,i,o;for(n=0,i=e.length;n<i;n++)o=e[n],o.label=(0,r.Q)(t.callback,[o.value,n,e],this)}afterTickToLabelConversion(){(0,r.Q)(this.options.afterTickToLabelConversion,[this])}beforeCalculateLabelRotation(){(0,r.Q)(this.options.beforeCalculateLabelRotation,[this])}calculateLabelRotation(){const e=this.options,t=e.ticks,n=_e(this.ticks.length,e.ticks.maxTicksLimit),i=t.minRotation||0,o=t.maxRotation;let a,s,u,c=i;if(!this._isVisible()||!t.display||i>=o||n<=1||!this.isHorizontal())return void(this.labelRotation=i);const l=this._getLabelSizes(),f=l.widest.width,d=l.highest.height,p=(0,r.S)(this.chart.width-f,0,this.maxWidth);a=e.offset?this.maxWidth/n:p/(n-1),f+6>a&&(a=p/(n-(e.offset?.5:1)),s=this.maxHeight-xe(e.grid)-t.padding-Se(e.title,this.chart.options.font),u=Math.sqrt(f*f+d*d),c=(0,r.U)(Math.min(Math.asin((0,r.S)((l.highest.height+6)/a,-1,1)),Math.asin((0,r.S)(s/u,-1,1))-Math.asin((0,r.S)(d/u,-1,1)))),c=Math.max(i,Math.min(o,c))),this.labelRotation=c}afterCalculateLabelRotation(){(0,r.Q)(this.options.afterCalculateLabelRotation,[this])}afterAutoSkip(){}beforeFit(){(0,r.Q)(this.options.beforeFit,[this])}fit(){const e={width:0,height:0},{chart:t,options:{ticks:n,title:i,grid:o}}=this,a=this._isVisible(),s=this.isHorizontal();if(a){const a=Se(i,t.options.font);if(s?(e.width=this.maxWidth,e.height=xe(o)+a):(e.height=this.maxHeight,e.width=xe(o)+a),n.display&&this.ticks.length){const{first:t,last:i,widest:o,highest:a}=this._getLabelSizes(),u=2*n.padding,c=(0,r.t)(this.labelRotation),l=Math.cos(c),f=Math.sin(c);if(s){const t=n.mirror?0:f*o.width+l*a.height;e.height=Math.min(this.maxHeight,e.height+t+u)}else{const t=n.mirror?0:l*o.width+f*a.height;e.width=Math.min(this.maxWidth,e.width+t+u)}this._calculatePadding(t,i,f,l)}}this._handleMargins(),s?(this.width=this._length=t.width-this._margins.left-this._margins.right,this.height=e.height):(this.width=e.width,this.height=this._length=t.height-this._margins.top-this._margins.bottom)}_calculatePadding(e,t,n,r){const{ticks:{align:i,padding:o},position:a}=this.options,s=0!==this.labelRotation,u="top"!==a&&"x"===this.axis;if(this.isHorizontal()){const a=this.getPixelForTick(0)-this.left,c=this.right-this.getPixelForTick(this.ticks.length-1);let l=0,f=0;s?u?(l=r*e.width,f=n*t.height):(l=n*e.height,f=r*t.width):"start"===i?f=t.width:"end"===i?l=e.width:"inner"!==i&&(l=e.width/2,f=t.width/2),this.paddingLeft=Math.max((l-a+o)*this.width/(this.width-a),0),this.paddingRight=Math.max((f-c+o)*this.width/(this.width-c),0)}else{let n=t.height/2,r=e.height/2;"start"===i?(n=0,r=e.height):"end"===i&&(n=t.height,r=0),this.paddingTop=n+o,this.paddingBottom=r+o}}_handleMargins(){this._margins&&(this._margins.left=Math.max(this.paddingLeft,this._margins.left),this._margins.top=Math.max(this.paddingTop,this._margins.top),this._margins.right=Math.max(this.paddingRight,this._margins.right),this._margins.bottom=Math.max(this.paddingBottom,this._margins.bottom))}afterFit(){(0,r.Q)(this.options.afterFit,[this])}isHorizontal(){const{axis:e,position:t}=this.options;return"top"===t||"bottom"===t||"x"===e}isFullSize(){return this.options.fullSize}_convertTicksToLabels(e){let t,n;for(this.beforeTickToLabelConversion(),this.generateTickLabels(e),t=0,n=e.length;t<n;t++)(0,r.k)(e[t].label)&&(e.splice(t,1),n--,t--);this.afterTickToLabelConversion()}_getLabelSizes(){let e=this._labelSizes;if(!e){const t=this.options.ticks.sampleSize;let n=this.ticks;t<n.length&&(n=we(n,t)),this._labelSizes=e=this._computeLabelSizes(n,n.length,this.options.ticks.maxTicksLimit)}return e}_computeLabelSizes(e,t,n){const{ctx:i,_longestTextCache:o}=this,a=[],s=[],u=Math.floor(t/_e(t,n));let c,l,f,d,p,h,g,m,y,v,b,_=0,w=0;for(c=0;c<t;c+=u){if(d=e[c].label,p=this._resolveTickFontOptions(c),i.font=h=p.string,g=o[h]=o[h]||{data:{},gc:[]},m=p.lineHeight,y=v=0,(0,r.k)(d)||(0,r.b)(d)){if((0,r.b)(d))for(l=0,f=d.length;l<f;++l)b=d[l],(0,r.k)(b)||(0,r.b)(b)||(y=(0,r.V)(i,g.data,g.gc,y,b),v+=m)}else y=(0,r.V)(i,g.data,g.gc,y,d),v=m;a.push(y),s.push(v),_=Math.max(y,_),w=Math.max(v,w)}!function(e,t){(0,r.F)(e,(e=>{const n=e.gc,r=n.length/2;let i;if(r>t){for(i=0;i<r;++i)delete e.data[n[i]];n.splice(0,r)}}))}(o,t);const T=a.indexOf(_),x=s.indexOf(w),S=e=>({width:a[e]||0,height:s[e]||0});return{first:S(0),last:S(t-1),widest:S(T),highest:S(x),widths:a,heights:s}}getLabelForValue(e){return e}getPixelForValue(e,t){return NaN}getValueForPixel(e){}getPixelForTick(e){const t=this.ticks;return e<0||e>t.length-1?null:this.getPixelForValue(t[e].value)}getPixelForDecimal(e){this._reversePixels&&(e=1-e);const t=this._startPixel+e*this._length;return(0,r.W)(this._alignToPixels?(0,r.X)(this.chart,t,0):t)}getDecimalForPixel(e){const t=(e-this._startPixel)/this._length;return this._reversePixels?1-t:t}getBasePixel(){return this.getPixelForValue(this.getBaseValue())}getBaseValue(){const{min:e,max:t}=this;return e<0&&t<0?t:e>0&&t>0?e:0}getContext(e){const t=this.ticks||[];if(e>=0&&e<t.length){const n=t[e];return n.$context||(n.$context=function(e,t,n){return(0,r.j)(e,{tick:n,index:t,type:"tick"})}(this.getContext(),e,n))}return this.$context||(this.$context=(n=this.chart.getContext(),i=this,(0,r.j)(n,{scale:i,type:"scale"})));var n,i}_tickSize(){const e=this.options.ticks,t=(0,r.t)(this.labelRotation),n=Math.abs(Math.cos(t)),i=Math.abs(Math.sin(t)),o=this._getLabelSizes(),a=e.autoSkipPadding||0,s=o?o.widest.width+a:0,u=o?o.highest.height+a:0;return this.isHorizontal()?u*n>s*i?s/n:u/i:u*i<s*n?u/n:s/i}_isVisible(){const e=this.options.display;return"auto"!==e?!!e:this.getMatchingVisibleMetas().length>0}_computeGridLineItems(e){const t=this.axis,n=this.chart,i=this.options,{grid:o,position:a,border:s}=i,u=o.offset,c=this.isHorizontal(),l=this.ticks.length+(u?1:0),f=xe(o),d=[],p=s.setContext(this.getContext()),h=p.display?p.width:0,g=h/2,m=function(e){return(0,r.X)(n,e,h)};let y,v,b,_,w,T,x,S,k,E,O,C;if("top"===a)y=m(this.bottom),T=this.bottom-f,S=y-g,E=m(e.top)+g,C=e.bottom;else if("bottom"===a)y=m(this.top),E=e.top,C=m(e.bottom)-g,T=y+g,S=this.top+f;else if("left"===a)y=m(this.right),w=this.right-f,x=y-g,k=m(e.left)+g,O=e.right;else if("right"===a)y=m(this.left),k=e.left,O=m(e.right)-g,w=y+g,x=this.left+f;else if("x"===t){if("center"===a)y=m((e.top+e.bottom)/2+.5);else if((0,r.i)(a)){const e=Object.keys(a)[0],t=a[e];y=m(this.chart.scales[e].getPixelForValue(t))}E=e.top,C=e.bottom,T=y+g,S=T+f}else if("y"===t){if("center"===a)y=m((e.left+e.right)/2);else if((0,r.i)(a)){const e=Object.keys(a)[0],t=a[e];y=m(this.chart.scales[e].getPixelForValue(t))}w=y-g,x=w-f,k=e.left,O=e.right}const L=(0,r.v)(i.ticks.maxTicksLimit,l),A=Math.max(1,Math.ceil(l/L));for(v=0;v<l;v+=A){const e=this.getContext(v),t=o.setContext(e),i=s.setContext(e),a=t.lineWidth,l=t.color,f=i.dash||[],p=i.dashOffset,h=t.tickWidth,g=t.tickColor,m=t.tickBorderDash||[],y=t.tickBorderDashOffset;b=Te(this,v,u),void 0!==b&&(_=(0,r.X)(n,b,a),c?w=x=k=O=_:T=S=E=C=_,d.push({tx1:w,ty1:T,tx2:x,ty2:S,x1:k,y1:E,x2:O,y2:C,width:a,color:l,borderDash:f,borderDashOffset:p,tickWidth:h,tickColor:g,tickBorderDash:m,tickBorderDashOffset:y}))}return this._ticksLength=l,this._borderValue=y,d}_computeLabelItems(e){const t=this.axis,n=this.options,{position:i,ticks:o}=n,a=this.isHorizontal(),s=this.ticks,{align:u,crossAlign:c,padding:l,mirror:f}=o,d=xe(n.grid),p=d+l,h=f?-l:p,g=-(0,r.t)(this.labelRotation),m=[];let y,v,b,_,w,T,x,S,k,E,O,C,L="middle";if("top"===i)T=this.bottom-h,x=this._getXAxisLabelAlignment();else if("bottom"===i)T=this.top+h,x=this._getXAxisLabelAlignment();else if("left"===i){const e=this._getYAxisLabelAlignment(d);x=e.textAlign,w=e.x}else if("right"===i){const e=this._getYAxisLabelAlignment(d);x=e.textAlign,w=e.x}else if("x"===t){if("center"===i)T=(e.top+e.bottom)/2+p;else if((0,r.i)(i)){const e=Object.keys(i)[0],t=i[e];T=this.chart.scales[e].getPixelForValue(t)+p}x=this._getXAxisLabelAlignment()}else if("y"===t){if("center"===i)w=(e.left+e.right)/2-p;else if((0,r.i)(i)){const e=Object.keys(i)[0],t=i[e];w=this.chart.scales[e].getPixelForValue(t)}x=this._getYAxisLabelAlignment(d).textAlign}"y"===t&&("start"===u?L="top":"end"===u&&(L="bottom"));const A=this._getLabelSizes();for(y=0,v=s.length;y<v;++y){b=s[y],_=b.label;const e=o.setContext(this.getContext(y));S=this.getPixelForTick(y)+o.labelOffset,k=this._resolveTickFontOptions(y),E=k.lineHeight,O=(0,r.b)(_)?_.length:1;const t=O/2,n=e.color,u=e.textStrokeColor,l=e.textStrokeWidth;let d,p=x;if(a?(w=S,"inner"===x&&(p=y===v-1?this.options.reverse?"left":"right":0===y?this.options.reverse?"right":"left":"center"),C="top"===i?"near"===c||0!==g?-O*E+E/2:"center"===c?-A.highest.height/2-t*E+E:-A.highest.height+E/2:"near"===c||0!==g?E/2:"center"===c?A.highest.height/2-t*E:A.highest.height-O*E,f&&(C*=-1),0===g||e.showLabelBackdrop||(w+=E/2*Math.sin(g))):(T=S,C=(1-O)*E/2),e.showLabelBackdrop){const t=(0,r.E)(e.backdropPadding),n=A.heights[y],i=A.widths[y];let o=C-t.top,a=0-t.left;switch(L){case"middle":o-=n/2;break;case"bottom":o-=n}switch(x){case"center":a-=i/2;break;case"right":a-=i;break;case"inner":y===v-1?a-=i:y>0&&(a-=i/2)}d={left:a,top:o,width:i+t.width,height:n+t.height,color:e.backdropColor}}m.push({label:_,font:k,textOffset:C,options:{rotation:g,color:n,strokeColor:u,strokeWidth:l,textAlign:p,textBaseline:L,translation:[w,T],backdrop:d}})}return m}_getXAxisLabelAlignment(){const{position:e,ticks:t}=this.options;if(-(0,r.t)(this.labelRotation))return"top"===e?"left":"right";let n="center";return"start"===t.align?n="left":"end"===t.align?n="right":"inner"===t.align&&(n="inner"),n}_getYAxisLabelAlignment(e){const{position:t,ticks:{crossAlign:n,mirror:r,padding:i}}=this.options,o=e+i,a=this._getLabelSizes().widest.width;let s,u;return"left"===t?r?(u=this.right+i,"near"===n?s="left":"center"===n?(s="center",u+=a/2):(s="right",u+=a)):(u=this.right-o,"near"===n?s="right":"center"===n?(s="center",u-=a/2):(s="left",u=this.left)):"right"===t?r?(u=this.left+i,"near"===n?s="right":"center"===n?(s="center",u-=a/2):(s="left",u-=a)):(u=this.left+o,"near"===n?s="left":"center"===n?(s="center",u+=a/2):(s="right",u=this.right)):s="right",{textAlign:s,x:u}}_computeLabelArea(){if(this.options.ticks.mirror)return;const e=this.chart,t=this.options.position;return"left"===t||"right"===t?{top:0,left:this.left,bottom:e.height,right:this.right}:"top"===t||"bottom"===t?{top:this.top,left:0,bottom:this.bottom,right:e.width}:void 0}drawBackground(){const{ctx:e,options:{backgroundColor:t},left:n,top:r,width:i,height:o}=this;t&&(e.save(),e.fillStyle=t,e.fillRect(n,r,i,o),e.restore())}getLineWidthForValue(e){const t=this.options.grid;if(!this._isVisible()||!t.display)return 0;const n=this.ticks.findIndex((t=>t.value===e));if(n>=0){return t.setContext(this.getContext(n)).lineWidth}return 0}drawGrid(e){const t=this.options.grid,n=this.ctx,r=this._gridLineItems||(this._gridLineItems=this._computeGridLineItems(e));let i,o;const a=(e,t,r)=>{r.width&&r.color&&(n.save(),n.lineWidth=r.width,n.strokeStyle=r.color,n.setLineDash(r.borderDash||[]),n.lineDashOffset=r.borderDashOffset,n.beginPath(),n.moveTo(e.x,e.y),n.lineTo(t.x,t.y),n.stroke(),n.restore())};if(t.display)for(i=0,o=r.length;i<o;++i){const e=r[i];t.drawOnChartArea&&a({x:e.x1,y:e.y1},{x:e.x2,y:e.y2},e),t.drawTicks&&a({x:e.tx1,y:e.ty1},{x:e.tx2,y:e.ty2},{color:e.tickColor,width:e.tickWidth,borderDash:e.tickBorderDash,borderDashOffset:e.tickBorderDashOffset})}}drawBorder(){const{chart:e,ctx:t,options:{border:n,grid:i}}=this,o=n.setContext(this.getContext()),a=n.display?o.width:0;if(!a)return;const s=i.setContext(this.getContext(0)).lineWidth,u=this._borderValue;let c,l,f,d;this.isHorizontal()?(c=(0,r.X)(e,this.left,a)-a/2,l=(0,r.X)(e,this.right,s)+s/2,f=d=u):(f=(0,r.X)(e,this.top,a)-a/2,d=(0,r.X)(e,this.bottom,s)+s/2,c=l=u),t.save(),t.lineWidth=o.width,t.strokeStyle=o.color,t.beginPath(),t.moveTo(c,f),t.lineTo(l,d),t.stroke(),t.restore()}drawLabels(e){if(!this.options.ticks.display)return;const t=this.ctx,n=this._computeLabelArea();n&&(0,r.Y)(t,n);const i=this.getLabelItems(e);for(const e of i){const n=e.options,i=e.font,o=e.label,a=e.textOffset;(0,r.Z)(t,o,0,a,i,n)}n&&(0,r.$)(t)}drawTitle(){const{ctx:e,options:{position:t,title:n,reverse:i}}=this;if(!n.display)return;const o=(0,r.a0)(n.font),a=(0,r.E)(n.padding),s=n.align;let u=o.lineHeight/2;"bottom"===t||"center"===t||(0,r.i)(t)?(u+=a.bottom,(0,r.b)(n.text)&&(u+=o.lineHeight*(n.text.length-1))):u+=a.top;const{titleX:c,titleY:l,maxWidth:f,rotation:d}=function(e,t,n,i){const{top:o,left:a,bottom:s,right:u,chart:c}=e,{chartArea:l,scales:f}=c;let d,p,h,g=0;const m=s-o,y=u-a;if(e.isHorizontal()){if(p=(0,r.a2)(i,a,u),(0,r.i)(n)){const e=Object.keys(n)[0],r=n[e];h=f[e].getPixelForValue(r)+m-t}else h="center"===n?(l.bottom+l.top)/2+m-t:be(e,n,t);d=u-a}else{if((0,r.i)(n)){const e=Object.keys(n)[0],r=n[e];p=f[e].getPixelForValue(r)-y+t}else p="center"===n?(l.left+l.right)/2-y+t:be(e,n,t);h=(0,r.a2)(i,s,o),g="left"===n?-r.H:r.H}return{titleX:p,titleY:h,maxWidth:d,rotation:g}}(this,u,t,s);(0,r.Z)(e,n.text,0,0,o,{color:n.color,maxWidth:f,rotation:d,textAlign:ke(s,t,i),textBaseline:"middle",translation:[c,l]})}draw(e){this._isVisible()&&(this.drawBackground(),this.drawGrid(e),this.drawBorder(),this.drawTitle(),this.drawLabels(e))}_layers(){const e=this.options,t=e.ticks&&e.ticks.z||0,n=(0,r.v)(e.grid&&e.grid.z,-1),i=(0,r.v)(e.border&&e.border.z,0);return this._isVisible()&&this.draw===Ee.prototype.draw?[{z:n,draw:e=>{this.drawBackground(),this.drawGrid(e),this.drawTitle()}},{z:i,draw:()=>{this.drawBorder()}},{z:t,draw:e=>{this.drawLabels(e)}}]:[{z:t,draw:e=>{this.draw(e)}}]}getMatchingVisibleMetas(e){const t=this.chart.getSortedVisibleDatasetMetas(),n=this.axis+"AxisID",r=[];let i,o;for(i=0,o=t.length;i<o;++i){const o=t[i];o[n]!==this.id||e&&o.type!==e||r.push(o)}return r}_resolveTickFontOptions(e){const t=this.options.ticks.setContext(this.getContext(e));return(0,r.a0)(t.font)}_maxDigits(){const e=this._resolveTickFontOptions(0).lineHeight;return(this.isHorizontal()?this.width:this.height)/e}}class Oe{constructor(e,t,n){this.type=e,this.scope=t,this.override=n,this.items=Object.create(null)}isForType(e){return Object.prototype.isPrototypeOf.call(this.type.prototype,e.prototype)}register(e){const t=Object.getPrototypeOf(e);let n;(function(e){return"id"in e&&"defaults"in e})(t)&&(n=this.register(t));const i=this.items,o=e.id,a=this.scope+"."+o;if(!o)throw new Error("class does not have id: "+e);return o in i||(i[o]=e,function(e,t,n){const i=(0,r.a4)(Object.create(null),[n?r.d.get(n):{},r.d.get(t),e.defaults]);r.d.set(t,i),e.defaultRoutes&&function(e,t){Object.keys(t).forEach((n=>{const i=n.split("."),o=i.pop(),a=[e].concat(i).join("."),s=t[n].split("."),u=s.pop(),c=s.join(".");r.d.route(a,o,c,u)}))}(t,e.defaultRoutes);e.descriptors&&r.d.describe(t,e.descriptors)}(e,a,n),this.override&&r.d.override(e.id,e.overrides)),a}get(e){return this.items[e]}unregister(e){const t=this.items,n=e.id,i=this.scope;n in t&&delete t[n],i&&n in r.d[i]&&(delete r.d[i][n],this.override&&delete r.a3[n])}}class Ce{constructor(){this.controllers=new Oe(w,"datasets",!0),this.elements=new Oe(me,"elements"),this.plugins=new Oe(Object,"plugins"),this.scales=new Oe(Ee,"scales"),this._typedRegistries=[this.controllers,this.scales,this.elements]}add(...e){this._each("register",e)}remove(...e){this._each("unregister",e)}addControllers(...e){this._each("register",e,this.controllers)}addElements(...e){this._each("register",e,this.elements)}addPlugins(...e){this._each("register",e,this.plugins)}addScales(...e){this._each("register",e,this.scales)}getController(e){return this._get(e,this.controllers,"controller")}getElement(e){return this._get(e,this.elements,"element")}getPlugin(e){return this._get(e,this.plugins,"plugin")}getScale(e){return this._get(e,this.scales,"scale")}removeControllers(...e){this._each("unregister",e,this.controllers)}removeElements(...e){this._each("unregister",e,this.elements)}removePlugins(...e){this._each("unregister",e,this.plugins)}removeScales(...e){this._each("unregister",e,this.scales)}_each(e,t,n){[...t].forEach((t=>{const i=n||this._getRegistryForType(t);n||i.isForType(t)||i===this.plugins&&t.id?this._exec(e,i,t):(0,r.F)(t,(t=>{const r=n||this._getRegistryForType(t);this._exec(e,r,t)}))}))}_exec(e,t,n){const i=(0,r.a5)(e);(0,r.Q)(n["before"+i],[],n),t[e](n),(0,r.Q)(n["after"+i],[],n)}_getRegistryForType(e){for(let t=0;t<this._typedRegistries.length;t++){const n=this._typedRegistries[t];if(n.isForType(e))return n}return this.plugins}_get(e,t,n){const r=t.get(e);if(void 0===r)throw new Error('"'+e+'" is not a registered '+n+".");return r}}var Le=new Ce;class Ae{constructor(){this._init=[]}notify(e,t,n,r){"beforeInit"===t&&(this._init=this._createDescriptors(e,!0),this._notify(this._init,e,"install"));const i=r?this._descriptors(e).filter(r):this._descriptors(e),o=this._notify(i,e,t,n);return"afterDestroy"===t&&(this._notify(i,e,"stop"),this._notify(this._init,e,"uninstall")),o}_notify(e,t,n,i){i=i||{};for(const o of e){const e=o.plugin,a=e[n],s=[t,i,o.options];if(!1===(0,r.Q)(a,s,e)&&i.cancelable)return!1}return!0}invalidate(){(0,r.k)(this._cache)||(this._oldCache=this._cache,this._cache=void 0)}_descriptors(e){if(this._cache)return this._cache;const t=this._cache=this._createDescriptors(e);return this._notifyStateChanges(e),t}_createDescriptors(e,t){const n=e&&e.config,i=(0,r.v)(n.options&&n.options.plugins,{}),o=function(e){const t={},n=[],r=Object.keys(Le.plugins.items);for(let e=0;e<r.length;e++)n.push(Le.getPlugin(r[e]));const i=e.plugins||[];for(let e=0;e<i.length;e++){const r=i[e];-1===n.indexOf(r)&&(n.push(r),t[r.id]=!0)}return{plugins:n,localIds:t}}(n);return!1!==i||t?function(e,{plugins:t,localIds:n},r,i){const o=[],a=e.getContext();for(const s of t){const t=s.id,u=Ie(r[t],i);null!==u&&o.push({plugin:s,options:Pe(e.config,{plugin:s,local:n[t]},u,a)})}return o}(e,o,i,t):[]}_notifyStateChanges(e){const t=this._oldCache||[],n=this._cache,r=(e,t)=>e.filter((e=>!t.some((t=>e.plugin.id===t.plugin.id))));this._notify(r(t,n),e,"stop"),this._notify(r(n,t),e,"start")}}function Ie(e,t){return t||!1!==e?!0===e?{}:e:null}function Pe(e,{plugin:t,local:n},r,i){const o=e.pluginScopeKeys(t),a=e.getOptionScopes(r,o);return n&&t.defaults&&a.push(t.defaults),e.createResolver(a,i,[""],{scriptable:!1,indexable:!1,allKeys:!0})}function Me(e,t){const n=r.d.datasets[e]||{};return((t.datasets||{})[e]||{}).indexAxis||t.indexAxis||n.indexAxis||"x"}function Re(e){if("x"===e||"y"===e||"r"===e)return e}function je(e,...t){if(Re(e))return e;for(const r of t){const t=r.axis||("top"===(n=r.position)||"bottom"===n?"x":"left"===n||"right"===n?"y":void 0)||e.length>1&&Re(e[0].toLowerCase());if(t)return t}var n;throw new Error(`Cannot determine type of '${e}' axis. Please provide 'axis' or 'position' option.`)}function De(e,t,n){if(n[t+"AxisID"]===e)return{axis:t}}function Ne(e,t){const n=r.a3[e.type]||{scales:{}},i=t.scales||{},o=Me(e.type,t),a=Object.create(null);return Object.keys(i).forEach((t=>{const s=i[t];if(!(0,r.i)(s))return console.error(`Invalid scale configuration for scale: ${t}`);if(s._proxy)return console.warn(`Ignoring resolver passed as options for scale: ${t}`);const u=je(t,s,function(e,t){if(t.data&&t.data.datasets){const n=t.data.datasets.filter((t=>t.xAxisID===e||t.yAxisID===e));if(n.length)return De(e,"x",n[0])||De(e,"y",n[0])}return{}}(t,e),r.d.scales[s.type]),c=function(e,t){return e===t?"_index_":"_value_"}(u,o),l=n.scales||{};a[t]=(0,r.ab)(Object.create(null),[{axis:u},s,l[u],l[c]])})),e.data.datasets.forEach((n=>{const o=n.type||e.type,s=n.indexAxis||Me(o,t),u=(r.a3[o]||{}).scales||{};Object.keys(u).forEach((e=>{const t=function(e,t){let n=e;return"_index_"===e?n=t:"_value_"===e&&(n="x"===t?"y":"x"),n}(e,s),o=n[t+"AxisID"]||t;a[o]=a[o]||Object.create(null),(0,r.ab)(a[o],[{axis:t},i[o],u[e]])}))})),Object.keys(a).forEach((e=>{const t=a[e];(0,r.ab)(t,[r.d.scales[t.type],r.d.scale])})),a}function Be(e){const t=e.options||(e.options={});t.plugins=(0,r.v)(t.plugins,{}),t.scales=Ne(e,t)}function Ue(e){return(e=e||{}).datasets=e.datasets||[],e.labels=e.labels||[],e}const Fe=new Map,ze=new Set;function He(e,t){let n=Fe.get(e);return n||(n=t(),Fe.set(e,n),ze.add(n)),n}const Ze=(e,t,n)=>{const i=(0,r.f)(t,n);void 0!==i&&e.add(i)};class qe{constructor(e){this._config=function(e){return(e=e||{}).data=Ue(e.data),Be(e),e}(e),this._scopeCache=new Map,this._resolverCache=new Map}get platform(){return this._config.platform}get type(){return this._config.type}set type(e){this._config.type=e}get data(){return this._config.data}set data(e){this._config.data=Ue(e)}get options(){return this._config.options}set options(e){this._config.options=e}get plugins(){return this._config.plugins}update(){const e=this._config;this.clearCache(),Be(e)}clearCache(){this._scopeCache.clear(),this._resolverCache.clear()}datasetScopeKeys(e){return He(e,(()=>[[`datasets.${e}`,""]]))}datasetAnimationScopeKeys(e,t){return He(`${e}.transition.${t}`,(()=>[[`datasets.${e}.transitions.${t}`,`transitions.${t}`],[`datasets.${e}`,""]]))}datasetElementScopeKeys(e,t){return He(`${e}-${t}`,(()=>[[`datasets.${e}.elements.${t}`,`datasets.${e}`,`elements.${t}`,""]]))}pluginScopeKeys(e){const t=e.id;return He(`${this.type}-plugin-${t}`,(()=>[[`plugins.${t}`,...e.additionalOptionScopes||[]]]))}_cachedScopes(e,t){const n=this._scopeCache;let r=n.get(e);return r&&!t||(r=new Map,n.set(e,r)),r}getOptionScopes(e,t,n){const{options:i,type:o}=this,a=this._cachedScopes(e,n),s=a.get(t);if(s)return s;const u=new Set;t.forEach((t=>{e&&(u.add(e),t.forEach((t=>Ze(u,e,t)))),t.forEach((e=>Ze(u,i,e))),t.forEach((e=>Ze(u,r.a3[o]||{},e))),t.forEach((e=>Ze(u,r.d,e))),t.forEach((e=>Ze(u,r.a6,e)))}));const c=Array.from(u);return 0===c.length&&c.push(Object.create(null)),ze.has(t)&&a.set(t,c),c}chartOptionScopes(){const{options:e,type:t}=this;return[e,r.a3[t]||{},r.d.datasets[t]||{},{type:t},r.d,r.a6]}resolveNamedOptions(e,t,n,i=[""]){const o={$shared:!0},{resolver:a,subPrefixes:s}=Ve(this._resolverCache,e,i);let u=a;if(function(e,t){const{isScriptable:n,isIndexable:i}=(0,r.aa)(e);for(const o of t){const t=n(o),a=i(o),s=(a||t)&&e[o];if(t&&((0,r.a7)(s)||We(s))||a&&(0,r.b)(s))return!0}return!1}(a,t)){o.$shared=!1,n=(0,r.a7)(n)?n():n;const t=this.createResolver(e,n,s);u=(0,r.a8)(a,n,t)}for(const e of t)o[e]=u[e];return o}createResolver(e,t,n=[""],i){const{resolver:o}=Ve(this._resolverCache,e,n);return(0,r.i)(t)?(0,r.a8)(o,t,void 0,i):o}}function Ve(e,t,n){let i=e.get(t);i||(i=new Map,e.set(t,i));const o=n.join();let a=i.get(o);if(!a){a={resolver:(0,r.a9)(t,n),subPrefixes:n.filter((e=>!e.toLowerCase().includes("hover")))},i.set(o,a)}return a}const We=e=>(0,r.i)(e)&&Object.getOwnPropertyNames(e).some((t=>(0,r.a7)(e[t])));const Ge=["top","bottom","left","right","chartArea"];function $e(e,t){return"top"===e||"bottom"===e||-1===Ge.indexOf(e)&&"x"===t}function Ye(e,t){return function(n,r){return n[e]===r[e]?n[t]-r[t]:n[e]-r[e]}}function Ke(e){const t=e.chart,n=t.options.animation;t.notifyPlugins("afterRender"),(0,r.Q)(n&&n.onComplete,[e],t)}function Xe(e){const t=e.chart,n=t.options.animation;(0,r.Q)(n&&n.onProgress,[e],t)}function Qe(e){return(0,r.M)()&&"string"==typeof e?e=document.getElementById(e):e&&e.length&&(e=e[0]),e&&e.canvas&&(e=e.canvas),e}const Je={},et=e=>{const t=Qe(e);return Object.values(Je).filter((e=>e.canvas===t)).pop()};function tt(e,t,n){const r=Object.keys(e);for(const i of r){const r=+i;if(r>=t){const o=e[i];delete e[i],(n>0||r>t)&&(e[r+n]=o)}}}function nt(e,t,n){return e.options.clip?e[n]:t[n]}class rt{static defaults=r.d;static instances=Je;static overrides=r.a3;static registry=Le;static version="4.4.2";static getChart=et;static register(...e){Le.add(...e),it()}static unregister(...e){Le.remove(...e),it()}constructor(e,t){const n=this.config=new qe(t),i=Qe(e),a=et(i);if(a)throw new Error("Canvas is already in use. Chart with ID '"+a.id+"' must be destroyed before the canvas with ID '"+a.canvas.id+"' can be reused.");const s=n.createResolver(n.chartOptionScopes(),this.getContext());this.platform=new(n.platform||function(e){return!(0,r.M)()||"undefined"!=typeof OffscreenCanvas&&e instanceof OffscreenCanvas?te:ge}(i)),this.platform.updateConfig(n);const u=this.platform.acquireContext(i,s.aspectRatio),c=u&&u.canvas,l=c&&c.height,f=c&&c.width;this.id=(0,r.ac)(),this.ctx=u,this.canvas=c,this.width=f,this.height=l,this._options=s,this._aspectRatio=this.aspectRatio,this._layers=[],this._metasets=[],this._stacks=void 0,this.boxes=[],this.currentDevicePixelRatio=void 0,this.chartArea=void 0,this._active=[],this._lastEvent=void 0,this._listeners={},this._responsiveListeners=void 0,this._sortedMetasets=[],this.scales={},this._plugins=new Ae,this.$proxies={},this._hiddenIndices={},this.attached=!1,this._animationsDisabled=void 0,this.$context=void 0,this._doResize=(0,r.ad)((e=>this.update(e)),s.resizeDelay||0),this._dataChanges=[],Je[this.id]=this,u&&c?(o.listen(this,"complete",Ke),o.listen(this,"progress",Xe),this._initialize(),this.attached&&this.update()):console.error("Failed to create chart: can't acquire context from the given item")}get aspectRatio(){const{options:{aspectRatio:e,maintainAspectRatio:t},width:n,height:i,_aspectRatio:o}=this;return(0,r.k)(e)?t&&o?o:i?n/i:null:e}get data(){return this.config.data}set data(e){this.config.data=e}get options(){return this._options}set options(e){this.config.options=e}get registry(){return Le}_initialize(){return this.notifyPlugins("beforeInit"),this.options.responsive?this.resize():(0,r.ae)(this,this.options.devicePixelRatio),this.bindEvents(),this.notifyPlugins("afterInit"),this}clear(){return(0,r.af)(this.canvas,this.ctx),this}stop(){return o.stop(this),this}resize(e,t){o.running(this)?this._resizeBeforeDraw={width:e,height:t}:this._resize(e,t)}_resize(e,t){const n=this.options,i=this.canvas,o=n.maintainAspectRatio&&this.aspectRatio,a=this.platform.getMaximumSize(i,e,t,o),s=n.devicePixelRatio||this.platform.getDevicePixelRatio(),u=this.width?"resize":"attach";this.width=a.width,this.height=a.height,this._aspectRatio=this.aspectRatio,(0,r.ae)(this,s,!0)&&(this.notifyPlugins("resize",{size:a}),(0,r.Q)(n.onResize,[this,a],this),this.attached&&this._doResize(u)&&this.render())}ensureScalesHaveIDs(){const e=this.options.scales||{};(0,r.F)(e,((e,t)=>{e.id=t}))}buildOrUpdateScales(){const e=this.options,t=e.scales,n=this.scales,i=Object.keys(n).reduce(((e,t)=>(e[t]=!1,e)),{});let o=[];t&&(o=o.concat(Object.keys(t).map((e=>{const n=t[e],r=je(e,n),i="r"===r,o="x"===r;return{options:n,dposition:i?"chartArea":o?"bottom":"left",dtype:i?"radialLinear":o?"category":"linear"}})))),(0,r.F)(o,(t=>{const o=t.options,a=o.id,s=je(a,o),u=(0,r.v)(o.type,t.dtype);void 0!==o.position&&$e(o.position,s)===$e(t.dposition)||(o.position=t.dposition),i[a]=!0;let c=null;if(a in n&&n[a].type===u)c=n[a];else{c=new(Le.getScale(u))({id:a,type:u,ctx:this.ctx,chart:this}),n[c.id]=c}c.init(o,e)})),(0,r.F)(i,((e,t)=>{e||delete n[t]})),(0,r.F)(n,(e=>{J.configure(this,e,e.options),J.addBox(this,e)}))}_updateMetasets(){const e=this._metasets,t=this.data.datasets.length,n=e.length;if(e.sort(((e,t)=>e.index-t.index)),n>t){for(let e=t;e<n;++e)this._destroyDatasetMeta(e);e.splice(t,n-t)}this._sortedMetasets=e.slice(0).sort(Ye("order","index"))}_removeUnreferencedMetasets(){const{_metasets:e,data:{datasets:t}}=this;e.length>t.length&&delete this._stacks,e.forEach(((e,n)=>{0===t.filter((t=>t===e._dataset)).length&&this._destroyDatasetMeta(n)}))}buildOrUpdateControllers(){const e=[],t=this.data.datasets;let n,i;for(this._removeUnreferencedMetasets(),n=0,i=t.length;n<i;n++){const i=t[n];let o=this.getDatasetMeta(n);const a=i.type||this.config.type;if(o.type&&o.type!==a&&(this._destroyDatasetMeta(n),o=this.getDatasetMeta(n)),o.type=a,o.indexAxis=i.indexAxis||Me(a,this.options),o.order=i.order||0,o.index=n,o.label=""+i.label,o.visible=this.isDatasetVisible(n),o.controller)o.controller.updateIndex(n),o.controller.linkScales();else{const t=Le.getController(a),{datasetElementType:i,dataElementType:s}=r.d.datasets[a];Object.assign(t,{dataElementType:Le.getElement(s),datasetElementType:i&&Le.getElement(i)}),o.controller=new t(this,n),e.push(o.controller)}}return this._updateMetasets(),e}_resetElements(){(0,r.F)(this.data.datasets,((e,t)=>{this.getDatasetMeta(t).controller.reset()}),this)}reset(){this._resetElements(),this.notifyPlugins("reset")}update(e){const t=this.config;t.update();const n=this._options=t.createResolver(t.chartOptionScopes(),this.getContext()),i=this._animationsDisabled=!n.animation;if(this._updateScales(),this._checkEventBindings(),this._updateHiddenIndices(),this._plugins.invalidate(),!1===this.notifyPlugins("beforeUpdate",{mode:e,cancelable:!0}))return;const o=this.buildOrUpdateControllers();this.notifyPlugins("beforeElementsUpdate");let a=0;for(let e=0,t=this.data.datasets.length;e<t;e++){const{controller:t}=this.getDatasetMeta(e),n=!i&&-1===o.indexOf(t);t.buildOrUpdateElements(n),a=Math.max(+t.getMaxOverflow(),a)}a=this._minPadding=n.layout.autoPadding?a:0,this._updateLayout(a),i||(0,r.F)(o,(e=>{e.reset()})),this._updateDatasets(e),this.notifyPlugins("afterUpdate",{mode:e}),this._layers.sort(Ye("z","_idx"));const{_active:s,_lastEvent:u}=this;u?this._eventHandler(u,!0):s.length&&this._updateHoverStyles(s,s,!0),this.render()}_updateScales(){(0,r.F)(this.scales,(e=>{J.removeBox(this,e)})),this.ensureScalesHaveIDs(),this.buildOrUpdateScales()}_checkEventBindings(){const e=this.options,t=new Set(Object.keys(this._listeners)),n=new Set(e.events);(0,r.ag)(t,n)&&!!this._responsiveListeners===e.responsive||(this.unbindEvents(),this.bindEvents())}_updateHiddenIndices(){const{_hiddenIndices:e}=this,t=this._getUniformDataChanges()||[];for(const{method:n,start:r,count:i}of t){tt(e,r,"_removeElements"===n?-i:i)}}_getUniformDataChanges(){const e=this._dataChanges;if(!e||!e.length)return;this._dataChanges=[];const t=this.data.datasets.length,n=t=>new Set(e.filter((e=>e[0]===t)).map(((e,t)=>t+","+e.splice(1).join(",")))),i=n(0);for(let e=1;e<t;e++)if(!(0,r.ag)(i,n(e)))return;return Array.from(i).map((e=>e.split(","))).map((e=>({method:e[1],start:+e[2],count:+e[3]})))}_updateLayout(e){if(!1===this.notifyPlugins("beforeLayout",{cancelable:!0}))return;J.update(this,this.width,this.height,e);const t=this.chartArea,n=t.width<=0||t.height<=0;this._layers=[],(0,r.F)(this.boxes,(e=>{n&&"chartArea"===e.position||(e.configure&&e.configure(),this._layers.push(...e._layers()))}),this),this._layers.forEach(((e,t)=>{e._idx=t})),this.notifyPlugins("afterLayout")}_updateDatasets(e){if(!1!==this.notifyPlugins("beforeDatasetsUpdate",{mode:e,cancelable:!0})){for(let e=0,t=this.data.datasets.length;e<t;++e)this.getDatasetMeta(e).controller.configure();for(let t=0,n=this.data.datasets.length;t<n;++t)this._updateDataset(t,(0,r.a7)(e)?e({datasetIndex:t}):e);this.notifyPlugins("afterDatasetsUpdate",{mode:e})}}_updateDataset(e,t){const n=this.getDatasetMeta(e),r={meta:n,index:e,mode:t,cancelable:!0};!1!==this.notifyPlugins("beforeDatasetUpdate",r)&&(n.controller._update(t),r.cancelable=!1,this.notifyPlugins("afterDatasetUpdate",r))}render(){!1!==this.notifyPlugins("beforeRender",{cancelable:!0})&&(o.has(this)?this.attached&&!o.running(this)&&o.start(this):(this.draw(),Ke({chart:this})))}draw(){let e;if(this._resizeBeforeDraw){const{width:e,height:t}=this._resizeBeforeDraw;this._resize(e,t),this._resizeBeforeDraw=null}if(this.clear(),this.width<=0||this.height<=0)return;if(!1===this.notifyPlugins("beforeDraw",{cancelable:!0}))return;const t=this._layers;for(e=0;e<t.length&&t[e].z<=0;++e)t[e].draw(this.chartArea);for(this._drawDatasets();e<t.length;++e)t[e].draw(this.chartArea);this.notifyPlugins("afterDraw")}_getSortedDatasetMetas(e){const t=this._sortedMetasets,n=[];let r,i;for(r=0,i=t.length;r<i;++r){const i=t[r];e&&!i.visible||n.push(i)}return n}getSortedVisibleDatasetMetas(){return this._getSortedDatasetMetas(!0)}_drawDatasets(){if(!1===this.notifyPlugins("beforeDatasetsDraw",{cancelable:!0}))return;const e=this.getSortedVisibleDatasetMetas();for(let t=e.length-1;t>=0;--t)this._drawDataset(e[t]);this.notifyPlugins("afterDatasetsDraw")}_drawDataset(e){const t=this.ctx,n=e._clip,i=!n.disabled,o=function(e,t){const{xScale:n,yScale:r}=e;return n&&r?{left:nt(n,t,"left"),right:nt(n,t,"right"),top:nt(r,t,"top"),bottom:nt(r,t,"bottom")}:t}(e,this.chartArea),a={meta:e,index:e.index,cancelable:!0};!1!==this.notifyPlugins("beforeDatasetDraw",a)&&(i&&(0,r.Y)(t,{left:!1===n.left?0:o.left-n.left,right:!1===n.right?this.width:o.right+n.right,top:!1===n.top?0:o.top-n.top,bottom:!1===n.bottom?this.height:o.bottom+n.bottom}),e.controller.draw(),i&&(0,r.$)(t),a.cancelable=!1,this.notifyPlugins("afterDatasetDraw",a))}isPointInArea(e){return(0,r.C)(e,this.chartArea,this._minPadding)}getElementsAtEventForMode(e,t,n,r){const i=F.modes[t];return"function"==typeof i?i(this,e,n,r):[]}getDatasetMeta(e){const t=this.data.datasets[e],n=this._metasets;let r=n.filter((e=>e&&e._dataset===t)).pop();return r||(r={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null,order:t&&t.order||0,index:e,_dataset:t,_parsed:[],_sorted:!1},n.push(r)),r}getContext(){return this.$context||(this.$context=(0,r.j)(null,{chart:this,type:"chart"}))}getVisibleDatasetCount(){return this.getSortedVisibleDatasetMetas().length}isDatasetVisible(e){const t=this.data.datasets[e];if(!t)return!1;const n=this.getDatasetMeta(e);return"boolean"==typeof n.hidden?!n.hidden:!t.hidden}setDatasetVisibility(e,t){this.getDatasetMeta(e).hidden=!t}toggleDataVisibility(e){this._hiddenIndices[e]=!this._hiddenIndices[e]}getDataVisibility(e){return!this._hiddenIndices[e]}_updateVisibility(e,t,n){const i=n?"show":"hide",o=this.getDatasetMeta(e),a=o.controller._resolveAnimations(void 0,i);(0,r.h)(t)?(o.data[t].hidden=!n,this.update()):(this.setDatasetVisibility(e,n),a.update(o,{visible:n}),this.update((t=>t.datasetIndex===e?i:void 0)))}hide(e,t){this._updateVisibility(e,t,!1)}show(e,t){this._updateVisibility(e,t,!0)}_destroyDatasetMeta(e){const t=this._metasets[e];t&&t.controller&&t.controller._destroy(),delete this._metasets[e]}_stop(){let e,t;for(this.stop(),o.remove(this),e=0,t=this.data.datasets.length;e<t;++e)this._destroyDatasetMeta(e)}destroy(){this.notifyPlugins("beforeDestroy");const{canvas:e,ctx:t}=this;this._stop(),this.config.clearCache(),e&&(this.unbindEvents(),(0,r.af)(e,t),this.platform.releaseContext(t),this.canvas=null,this.ctx=null),delete Je[this.id],this.notifyPlugins("afterDestroy")}toBase64Image(...e){return this.canvas.toDataURL(...e)}bindEvents(){this.bindUserEvents(),this.options.responsive?this.bindResponsiveEvents():this.attached=!0}bindUserEvents(){const e=this._listeners,t=this.platform,n=(n,r)=>{t.addEventListener(this,n,r),e[n]=r},i=(e,t,n)=>{e.offsetX=t,e.offsetY=n,this._eventHandler(e)};(0,r.F)(this.options.events,(e=>n(e,i)))}bindResponsiveEvents(){this._responsiveListeners||(this._responsiveListeners={});const e=this._responsiveListeners,t=this.platform,n=(n,r)=>{t.addEventListener(this,n,r),e[n]=r},r=(n,r)=>{e[n]&&(t.removeEventListener(this,n,r),delete e[n])},i=(e,t)=>{this.canvas&&this.resize(e,t)};let o;const a=()=>{r("attach",a),this.attached=!0,this.resize(),n("resize",i),n("detach",o)};o=()=>{this.attached=!1,r("resize",i),this._stop(),this._resize(0,0),n("attach",a)},t.isAttached(this.canvas)?a():o()}unbindEvents(){(0,r.F)(this._listeners,((e,t)=>{this.platform.removeEventListener(this,t,e)})),this._listeners={},(0,r.F)(this._responsiveListeners,((e,t)=>{this.platform.removeEventListener(this,t,e)})),this._responsiveListeners=void 0}updateHoverStyle(e,t,n){const r=n?"set":"remove";let i,o,a,s;for("dataset"===t&&(i=this.getDatasetMeta(e[0].datasetIndex),i.controller["_"+r+"DatasetHoverStyle"]()),a=0,s=e.length;a<s;++a){o=e[a];const t=o&&this.getDatasetMeta(o.datasetIndex).controller;t&&t[r+"HoverStyle"](o.element,o.datasetIndex,o.index)}}getActiveElements(){return this._active||[]}setActiveElements(e){const t=this._active||[],n=e.map((({datasetIndex:e,index:t})=>{const n=this.getDatasetMeta(e);if(!n)throw new Error("No dataset found at index "+e);return{datasetIndex:e,element:n.data[t],index:t}}));!(0,r.ah)(n,t)&&(this._active=n,this._lastEvent=null,this._updateHoverStyles(n,t))}notifyPlugins(e,t,n){return this._plugins.notify(this,e,t,n)}isPluginEnabled(e){return 1===this._plugins._cache.filter((t=>t.plugin.id===e)).length}_updateHoverStyles(e,t,n){const r=this.options.hover,i=(e,t)=>e.filter((e=>!t.some((t=>e.datasetIndex===t.datasetIndex&&e.index===t.index)))),o=i(t,e),a=n?e:i(e,t);o.length&&this.updateHoverStyle(o,r.mode,!1),a.length&&r.mode&&this.updateHoverStyle(a,r.mode,!0)}_eventHandler(e,t){const n={event:e,replay:t,cancelable:!0,inChartArea:this.isPointInArea(e)},r=t=>(t.options.events||this.options.events).includes(e.native.type);if(!1===this.notifyPlugins("beforeEvent",n,r))return;const i=this._handleEvent(e,t,n.inChartArea);return n.cancelable=!1,this.notifyPlugins("afterEvent",n,r),(i||n.changed)&&this.render(),this}_handleEvent(e,t,n){const{_active:i=[],options:o}=this,a=t,s=this._getActiveElements(e,i,n,a),u=(0,r.ai)(e),c=function(e,t,n,r){return n&&"mouseout"!==e.type?r?t:e:null}(e,this._lastEvent,n,u);n&&(this._lastEvent=null,(0,r.Q)(o.onHover,[e,s,this],this),u&&(0,r.Q)(o.onClick,[e,s,this],this));const l=!(0,r.ah)(s,i);return(l||t)&&(this._active=s,this._updateHoverStyles(s,i,t)),this._lastEvent=c,l}_getActiveElements(e,t,n,r){if("mouseout"===e.type)return[];if(!n)return t;const i=this.options.hover;return this.getElementsAtEventForMode(e,i.mode,i,r)}}function it(){return(0,r.F)(rt.instances,(e=>e._plugins.invalidate()))}function ot(e,t,n,i){const o=(a=e.options.borderRadius,(0,r.ak)(a,["outerStart","outerEnd","innerStart","innerEnd"]));var a;const s=(n-t)/2,u=Math.min(s,i*t/2),c=e=>{const t=(n-Math.min(s,e))*i/2;return(0,r.S)(e,0,Math.min(s,t))};return{outerStart:c(o.outerStart),outerEnd:c(o.outerEnd),innerStart:(0,r.S)(o.innerStart,0,u),innerEnd:(0,r.S)(o.innerEnd,0,u)}}function at(e,t,n,r){return{x:n+e*Math.cos(t),y:r+e*Math.sin(t)}}function st(e,t,n,i,o,a){const{x:s,y:u,startAngle:c,pixelMargin:l,innerRadius:f}=t,d=Math.max(t.outerRadius+i+n-l,0),p=f>0?f+i+n+l:0;let h=0;const g=o-c;if(i){const e=((f>0?f-i:0)+(d>0?d-i:0))/2;h=(g-(0!==e?g*e/(e+i):g))/2}const m=(g-Math.max(.001,g*d-n/r.P)/d)/2,y=c+m+h,v=o-m-h,{outerStart:b,outerEnd:_,innerStart:w,innerEnd:T}=ot(t,p,d,v-y),x=d-b,S=d-_,k=y+b/x,E=v-_/S,O=p+w,C=p+T,L=y+w/O,A=v-T/C;if(e.beginPath(),a){const t=(k+E)/2;if(e.arc(s,u,d,k,t),e.arc(s,u,d,t,E),_>0){const t=at(S,E,s,u);e.arc(t.x,t.y,_,E,v+r.H)}const n=at(C,v,s,u);if(e.lineTo(n.x,n.y),T>0){const t=at(C,A,s,u);e.arc(t.x,t.y,T,v+r.H,A+Math.PI)}const i=(v-T/p+(y+w/p))/2;if(e.arc(s,u,p,v-T/p,i,!0),e.arc(s,u,p,i,y+w/p,!0),w>0){const t=at(O,L,s,u);e.arc(t.x,t.y,w,L+Math.PI,y-r.H)}const o=at(x,y,s,u);if(e.lineTo(o.x,o.y),b>0){const t=at(x,k,s,u);e.arc(t.x,t.y,b,y-r.H,k)}}else{e.moveTo(s,u);const t=Math.cos(k)*d+s,n=Math.sin(k)*d+u;e.lineTo(t,n);const r=Math.cos(E)*d+s,i=Math.sin(E)*d+u;e.lineTo(r,i)}e.closePath()}function ut(e,t,n,i,o){const{fullCircles:a,startAngle:s,circumference:u,options:c}=t,{borderWidth:l,borderJoinStyle:f,borderDash:d,borderDashOffset:p}=c,h="inner"===c.borderAlign;if(!l)return;e.setLineDash(d||[]),e.lineDashOffset=p,h?(e.lineWidth=2*l,e.lineJoin=f||"round"):(e.lineWidth=l,e.lineJoin=f||"bevel");let g=t.endAngle;if(a){st(e,t,n,i,g,o);for(let t=0;t<a;++t)e.stroke();isNaN(u)||(g=s+(u%r.T||r.T))}h&&function(e,t,n){const{startAngle:i,pixelMargin:o,x:a,y:s,outerRadius:u,innerRadius:c}=t;let l=o/u;e.beginPath(),e.arc(a,s,u,i-l,n+l),c>o?(l=o/c,e.arc(a,s,c,n+l,i-l,!0)):e.arc(a,s,o,n+r.H,i-r.H),e.closePath(),e.clip()}(e,t,g),a||(st(e,t,n,i,g,o),e.stroke())}class ct extends me{static id="arc";static defaults={borderAlign:"center",borderColor:"#fff",borderDash:[],borderDashOffset:0,borderJoinStyle:void 0,borderRadius:0,borderWidth:2,offset:0,spacing:0,angle:void 0,circular:!0};static defaultRoutes={backgroundColor:"backgroundColor"};static descriptors={_scriptable:!0,_indexable:e=>"borderDash"!==e};circumference;endAngle;fullCircles;innerRadius;outerRadius;pixelMargin;startAngle;constructor(e){super(),this.options=void 0,this.circumference=void 0,this.startAngle=void 0,this.endAngle=void 0,this.innerRadius=void 0,this.outerRadius=void 0,this.pixelMargin=0,this.fullCircles=0,e&&Object.assign(this,e)}inRange(e,t,n){const i=this.getProps(["x","y"],n),{angle:o,distance:a}=(0,r.D)(i,{x:e,y:t}),{startAngle:s,endAngle:u,innerRadius:c,outerRadius:l,circumference:f}=this.getProps(["startAngle","endAngle","innerRadius","outerRadius","circumference"],n),d=(this.options.spacing+this.options.borderWidth)/2,p=(0,r.v)(f,u-s)>=r.T||(0,r.p)(o,s,u),h=(0,r.aj)(a,c+d,l+d);return p&&h}getCenterPoint(e){const{x:t,y:n,startAngle:r,endAngle:i,innerRadius:o,outerRadius:a}=this.getProps(["x","y","startAngle","endAngle","innerRadius","outerRadius"],e),{offset:s,spacing:u}=this.options,c=(r+i)/2,l=(o+a+u+s)/2;return{x:t+Math.cos(c)*l,y:n+Math.sin(c)*l}}tooltipPosition(e){return this.getCenterPoint(e)}draw(e){const{options:t,circumference:n}=this,i=(t.offset||0)/4,o=(t.spacing||0)/2,a=t.circular;if(this.pixelMargin="inner"===t.borderAlign?.33:0,this.fullCircles=n>r.T?Math.floor(n/r.T):0,0===n||this.innerRadius<0||this.outerRadius<0)return;e.save();const s=(this.startAngle+this.endAngle)/2;e.translate(Math.cos(s)*i,Math.sin(s)*i);const u=i*(1-Math.sin(Math.min(r.P,n||0)));e.fillStyle=t.backgroundColor,e.strokeStyle=t.borderColor,function(e,t,n,i,o){const{fullCircles:a,startAngle:s,circumference:u}=t;let c=t.endAngle;if(a){st(e,t,n,i,c,o);for(let t=0;t<a;++t)e.fill();isNaN(u)||(c=s+(u%r.T||r.T))}st(e,t,n,i,c,o),e.fill()}(e,this,u,o,a),ut(e,this,u,o,a),e.restore()}}function lt(e,t,n=t){e.lineCap=(0,r.v)(n.borderCapStyle,t.borderCapStyle),e.setLineDash((0,r.v)(n.borderDash,t.borderDash)),e.lineDashOffset=(0,r.v)(n.borderDashOffset,t.borderDashOffset),e.lineJoin=(0,r.v)(n.borderJoinStyle,t.borderJoinStyle),e.lineWidth=(0,r.v)(n.borderWidth,t.borderWidth),e.strokeStyle=(0,r.v)(n.borderColor,t.borderColor)}function ft(e,t,n){e.lineTo(n.x,n.y)}function dt(e,t,n={}){const r=e.length,{start:i=0,end:o=r-1}=n,{start:a,end:s}=t,u=Math.max(i,a),c=Math.min(o,s),l=i<a&&o<a||i>s&&o>s;return{count:r,start:u,loop:t.loop,ilen:c<u&&!l?r+c-u:c-u}}function pt(e,t,n,i){const{points:o,options:a}=t,{count:s,start:u,loop:c,ilen:l}=dt(o,n,i),f=function(e){return e.stepped?r.ar:e.tension||"monotone"===e.cubicInterpolationMode?r.as:ft}(a);let d,p,h,{move:g=!0,reverse:m}=i||{};for(d=0;d<=l;++d)p=o[(u+(m?l-d:d))%s],p.skip||(g?(e.moveTo(p.x,p.y),g=!1):f(e,h,p,m,a.stepped),h=p);return c&&(p=o[(u+(m?l:0))%s],f(e,h,p,m,a.stepped)),!!c}function ht(e,t,n,r){const i=t.points,{count:o,start:a,ilen:s}=dt(i,n,r),{move:u=!0,reverse:c}=r||{};let l,f,d,p,h,g,m=0,y=0;const v=e=>(a+(c?s-e:e))%o,b=()=>{p!==h&&(e.lineTo(m,h),e.lineTo(m,p),e.lineTo(m,g))};for(u&&(f=i[v(0)],e.moveTo(f.x,f.y)),l=0;l<=s;++l){if(f=i[v(l)],f.skip)continue;const t=f.x,n=f.y,r=0|t;r===d?(n<p?p=n:n>h&&(h=n),m=(y*m+t)/++y):(b(),e.lineTo(t,n),d=r,y=0,p=h=n),g=n}b()}function gt(e){const t=e.options,n=t.borderDash&&t.borderDash.length;return!(e._decimated||e._loop||t.tension||"monotone"===t.cubicInterpolationMode||t.stepped||n)?ht:pt}const mt="function"==typeof Path2D;function yt(e,t,n,r){mt&&!t.options.segment?function(e,t,n,r){let i=t._path;i||(i=t._path=new Path2D,t.path(i,n,r)&&i.closePath()),lt(e,t.options),e.stroke(i)}(e,t,n,r):function(e,t,n,r){const{segments:i,options:o}=t,a=gt(t);for(const s of i)lt(e,o,s.style),e.beginPath(),a(e,t,s,{start:n,end:n+r-1})&&e.closePath(),e.stroke()}(e,t,n,r)}class vt extends me{static id="line";static defaults={borderCapStyle:"butt",borderDash:[],borderDashOffset:0,borderJoinStyle:"miter",borderWidth:3,capBezierPoints:!0,cubicInterpolationMode:"default",fill:!1,spanGaps:!1,stepped:!1,tension:0};static defaultRoutes={backgroundColor:"backgroundColor",borderColor:"borderColor"};static descriptors={_scriptable:!0,_indexable:e=>"borderDash"!==e&&"fill"!==e};constructor(e){super(),this.animated=!0,this.options=void 0,this._chart=void 0,this._loop=void 0,this._fullLoop=void 0,this._path=void 0,this._points=void 0,this._segments=void 0,this._decimated=!1,this._pointsUpdated=!1,this._datasetIndex=void 0,e&&Object.assign(this,e)}updateControlPoints(e,t){const n=this.options;if((n.tension||"monotone"===n.cubicInterpolationMode)&&!n.stepped&&!this._pointsUpdated){const i=n.spanGaps?this._loop:this._fullLoop;(0,r.al)(this._points,n,e,i,t),this._pointsUpdated=!0}}set points(e){this._points=e,delete this._segments,delete this._path,this._pointsUpdated=!1}get points(){return this._points}get segments(){return this._segments||(this._segments=(0,r.am)(this,this.options.segment))}first(){const e=this.segments,t=this.points;return e.length&&t[e[0].start]}last(){const e=this.segments,t=this.points,n=e.length;return n&&t[e[n-1].end]}interpolate(e,t){const n=this.options,i=e[t],o=this.points,a=(0,r.an)(this,{property:t,start:i,end:i});if(!a.length)return;const s=[],u=function(e){return e.stepped?r.ao:e.tension||"monotone"===e.cubicInterpolationMode?r.ap:r.aq}(n);let c,l;for(c=0,l=a.length;c<l;++c){const{start:r,end:l}=a[c],f=o[r],d=o[l];if(f===d){s.push(f);continue}const p=u(f,d,Math.abs((i-f[t])/(d[t]-f[t])),n.stepped);p[t]=e[t],s.push(p)}return 1===s.length?s[0]:s}pathSegment(e,t,n){return gt(this)(e,this,t,n)}path(e,t,n){const r=this.segments,i=gt(this);let o=this._loop;t=t||0,n=n||this.points.length-t;for(const a of r)o&=i(e,this,a,{start:t,end:t+n-1});return!!o}draw(e,t,n,r){const i=this.options||{};(this.points||[]).length&&i.borderWidth&&(e.save(),yt(e,this,n,r),e.restore()),this.animated&&(this._pointsUpdated=!1,this._path=void 0)}}function bt(e,t,n,r){const i=e.options,{[n]:o}=e.getProps([n],r);return Math.abs(t-o)<i.radius+i.hitRadius}class _t extends me{static id="point";parsed;skip;stop;static defaults={borderWidth:1,hitRadius:1,hoverBorderWidth:1,hoverRadius:4,pointStyle:"circle",radius:3,rotation:0};static defaultRoutes={backgroundColor:"backgroundColor",borderColor:"borderColor"};constructor(e){super(),this.options=void 0,this.parsed=void 0,this.skip=void 0,this.stop=void 0,e&&Object.assign(this,e)}inRange(e,t,n){const r=this.options,{x:i,y:o}=this.getProps(["x","y"],n);return Math.pow(e-i,2)+Math.pow(t-o,2)<Math.pow(r.hitRadius+r.radius,2)}inXRange(e,t){return bt(this,e,"x",t)}inYRange(e,t){return bt(this,e,"y",t)}getCenterPoint(e){const{x:t,y:n}=this.getProps(["x","y"],e);return{x:t,y:n}}size(e){let t=(e=e||this.options||{}).radius||0;t=Math.max(t,t&&e.hoverRadius||0);return 2*(t+(t&&e.borderWidth||0))}draw(e,t){const n=this.options;this.skip||n.radius<.1||!(0,r.C)(this,t,this.size(n)/2)||(e.strokeStyle=n.borderColor,e.lineWidth=n.borderWidth,e.fillStyle=n.backgroundColor,(0,r.at)(e,n,this.x,this.y))}getRange(){const e=this.options||{};return e.radius+e.hitRadius}}function wt(e,t){const{x:n,y:r,base:i,width:o,height:a}=e.getProps(["x","y","base","width","height"],t);let s,u,c,l,f;return e.horizontal?(f=a/2,s=Math.min(n,i),u=Math.max(n,i),c=r-f,l=r+f):(f=o/2,s=n-f,u=n+f,c=Math.min(r,i),l=Math.max(r,i)),{left:s,top:c,right:u,bottom:l}}function Tt(e,t,n,i){return e?0:(0,r.S)(t,n,i)}function xt(e){const t=wt(e),n=t.right-t.left,i=t.bottom-t.top,o=function(e,t,n){const i=e.options.borderWidth,o=e.borderSkipped,a=(0,r.av)(i);return{t:Tt(o.top,a.top,0,n),r:Tt(o.right,a.right,0,t),b:Tt(o.bottom,a.bottom,0,n),l:Tt(o.left,a.left,0,t)}}(e,n/2,i/2),a=function(e,t,n){const{enableBorderRadius:i}=e.getProps(["enableBorderRadius"]),o=e.options.borderRadius,a=(0,r.aw)(o),s=Math.min(t,n),u=e.borderSkipped,c=i||(0,r.i)(o);return{topLeft:Tt(!c||u.top||u.left,a.topLeft,0,s),topRight:Tt(!c||u.top||u.right,a.topRight,0,s),bottomLeft:Tt(!c||u.bottom||u.left,a.bottomLeft,0,s),bottomRight:Tt(!c||u.bottom||u.right,a.bottomRight,0,s)}}(e,n/2,i/2);return{outer:{x:t.left,y:t.top,w:n,h:i,radius:a},inner:{x:t.left+o.l,y:t.top+o.t,w:n-o.l-o.r,h:i-o.t-o.b,radius:{topLeft:Math.max(0,a.topLeft-Math.max(o.t,o.l)),topRight:Math.max(0,a.topRight-Math.max(o.t,o.r)),bottomLeft:Math.max(0,a.bottomLeft-Math.max(o.b,o.l)),bottomRight:Math.max(0,a.bottomRight-Math.max(o.b,o.r))}}}}function St(e,t,n,i){const o=null===t,a=null===n,s=e&&!(o&&a)&&wt(e,i);return s&&(o||(0,r.aj)(t,s.left,s.right))&&(a||(0,r.aj)(n,s.top,s.bottom))}function kt(e,t){e.rect(t.x,t.y,t.w,t.h)}function Et(e,t,n={}){const r=e.x!==n.x?-t:0,i=e.y!==n.y?-t:0,o=(e.x+e.w!==n.x+n.w?t:0)-r,a=(e.y+e.h!==n.y+n.h?t:0)-i;return{x:e.x+r,y:e.y+i,w:e.w+o,h:e.h+a,radius:e.radius}}class Ot extends me{static id="bar";static defaults={borderSkipped:"start",borderWidth:0,borderRadius:0,inflateAmount:"auto",pointStyle:void 0};static defaultRoutes={backgroundColor:"backgroundColor",borderColor:"borderColor"};constructor(e){super(),this.options=void 0,this.horizontal=void 0,this.base=void 0,this.width=void 0,this.height=void 0,this.inflateAmount=void 0,e&&Object.assign(this,e)}draw(e){const{inflateAmount:t,options:{borderColor:n,backgroundColor:i}}=this,{inner:o,outer:a}=xt(this),s=(u=a.radius).topLeft||u.topRight||u.bottomLeft||u.bottomRight?r.au:kt;var u;e.save(),a.w===o.w&&a.h===o.h||(e.beginPath(),s(e,Et(a,t,o)),e.clip(),s(e,Et(o,-t,a)),e.fillStyle=n,e.fill("evenodd")),e.beginPath(),s(e,Et(o,t)),e.fillStyle=i,e.fill(),e.restore()}inRange(e,t,n){return St(this,e,t,n)}inXRange(e,t){return St(this,e,null,t)}inYRange(e,t){return St(this,null,e,t)}getCenterPoint(e){const{x:t,y:n,base:r,horizontal:i}=this.getProps(["x","y","base","horizontal"],e);return{x:i?(t+r)/2:t,y:i?n:(n+r)/2}}getRange(e){return"x"===e?this.width/2:this.height/2}}const Ct=(e,t)=>{let{boxHeight:n=t,boxWidth:r=t}=e;return e.usePointStyle&&(n=Math.min(n,t),r=e.pointStyleWidth||Math.min(r,t)),{boxWidth:r,boxHeight:n,itemHeight:Math.max(t,n)}};class Lt extends me{constructor(e){super(),this._added=!1,this.legendHitBoxes=[],this._hoveredItem=null,this.doughnutMode=!1,this.chart=e.chart,this.options=e.options,this.ctx=e.ctx,this.legendItems=void 0,this.columnSizes=void 0,this.lineWidths=void 0,this.maxHeight=void 0,this.maxWidth=void 0,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.height=void 0,this.width=void 0,this._margins=void 0,this.position=void 0,this.weight=void 0,this.fullSize=void 0}update(e,t,n){this.maxWidth=e,this.maxHeight=t,this._margins=n,this.setDimensions(),this.buildLabels(),this.fit()}setDimensions(){this.isHorizontal()?(this.width=this.maxWidth,this.left=this._margins.left,this.right=this.width):(this.height=this.maxHeight,this.top=this._margins.top,this.bottom=this.height)}buildLabels(){const e=this.options.labels||{};let t=(0,r.Q)(e.generateLabels,[this.chart],this)||[];e.filter&&(t=t.filter((t=>e.filter(t,this.chart.data)))),e.sort&&(t=t.sort(((t,n)=>e.sort(t,n,this.chart.data)))),this.options.reverse&&t.reverse(),this.legendItems=t}fit(){const{options:e,ctx:t}=this;if(!e.display)return void(this.width=this.height=0);const n=e.labels,i=(0,r.a0)(n.font),o=i.size,a=this._computeTitleHeight(),{boxWidth:s,itemHeight:u}=Ct(n,o);let c,l;t.font=i.string,this.isHorizontal()?(c=this.maxWidth,l=this._fitRows(a,o,s,u)+10):(l=this.maxHeight,c=this._fitCols(a,i,s,u)+10),this.width=Math.min(c,e.maxWidth||this.maxWidth),this.height=Math.min(l,e.maxHeight||this.maxHeight)}_fitRows(e,t,n,r){const{ctx:i,maxWidth:o,options:{labels:{padding:a}}}=this,s=this.legendHitBoxes=[],u=this.lineWidths=[0],c=r+a;let l=e;i.textAlign="left",i.textBaseline="middle";let f=-1,d=-c;return this.legendItems.forEach(((e,p)=>{const h=n+t/2+i.measureText(e.text).width;(0===p||u[u.length-1]+h+2*a>o)&&(l+=c,u[u.length-(p>0?0:1)]=0,d+=c,f++),s[p]={left:0,top:d,row:f,width:h,height:r},u[u.length-1]+=h+a})),l}_fitCols(e,t,n,r){const{ctx:i,maxHeight:o,options:{labels:{padding:a}}}=this,s=this.legendHitBoxes=[],u=this.columnSizes=[],c=o-e;let l=a,f=0,d=0,p=0,h=0;return this.legendItems.forEach(((e,o)=>{const{itemWidth:g,itemHeight:m}=function(e,t,n,r,i){const o=function(e,t,n,r){let i=e.text;i&&"string"!=typeof i&&(i=i.reduce(((e,t)=>e.length>t.length?e:t)));return t+n.size/2+r.measureText(i).width}(r,e,t,n),a=function(e,t,n){let r=e;"string"!=typeof t.text&&(r=At(t,n));return r}(i,r,t.lineHeight);return{itemWidth:o,itemHeight:a}}(n,t,i,e,r);o>0&&d+m+2*a>c&&(l+=f+a,u.push({width:f,height:d}),p+=f+a,h++,f=d=0),s[o]={left:p,top:d,col:h,width:g,height:m},f=Math.max(f,g),d+=m+a})),l+=f,u.push({width:f,height:d}),l}adjustHitBoxes(){if(!this.options.display)return;const e=this._computeTitleHeight(),{legendHitBoxes:t,options:{align:n,labels:{padding:i},rtl:o}}=this,a=(0,r.az)(o,this.left,this.width);if(this.isHorizontal()){let o=0,s=(0,r.a2)(n,this.left+i,this.right-this.lineWidths[o]);for(const u of t)o!==u.row&&(o=u.row,s=(0,r.a2)(n,this.left+i,this.right-this.lineWidths[o])),u.top+=this.top+e+i,u.left=a.leftForLtr(a.x(s),u.width),s+=u.width+i}else{let o=0,s=(0,r.a2)(n,this.top+e+i,this.bottom-this.columnSizes[o].height);for(const u of t)u.col!==o&&(o=u.col,s=(0,r.a2)(n,this.top+e+i,this.bottom-this.columnSizes[o].height)),u.top=s,u.left+=this.left+i,u.left=a.leftForLtr(a.x(u.left),u.width),s+=u.height+i}}isHorizontal(){return"top"===this.options.position||"bottom"===this.options.position}draw(){if(this.options.display){const e=this.ctx;(0,r.Y)(e,this),this._draw(),(0,r.$)(e)}}_draw(){const{options:e,columnSizes:t,lineWidths:n,ctx:i}=this,{align:o,labels:a}=e,s=r.d.color,u=(0,r.az)(e.rtl,this.left,this.width),c=(0,r.a0)(a.font),{padding:l}=a,f=c.size,d=f/2;let p;this.drawTitle(),i.textAlign=u.textAlign("left"),i.textBaseline="middle",i.lineWidth=.5,i.font=c.string;const{boxWidth:h,boxHeight:g,itemHeight:m}=Ct(a,f),y=this.isHorizontal(),v=this._computeTitleHeight();p=y?{x:(0,r.a2)(o,this.left+l,this.right-n[0]),y:this.top+l+v,line:0}:{x:this.left+l,y:(0,r.a2)(o,this.top+v+l,this.bottom-t[0].height),line:0},(0,r.aA)(this.ctx,e.textDirection);const b=m+l;this.legendItems.forEach(((_,w)=>{i.strokeStyle=_.fontColor,i.fillStyle=_.fontColor;const T=i.measureText(_.text).width,x=u.textAlign(_.textAlign||(_.textAlign=a.textAlign)),S=h+d+T;let k=p.x,E=p.y;u.setWidth(this.width),y?w>0&&k+S+l>this.right&&(E=p.y+=b,p.line++,k=p.x=(0,r.a2)(o,this.left+l,this.right-n[p.line])):w>0&&E+b>this.bottom&&(k=p.x=k+t[p.line].width+l,p.line++,E=p.y=(0,r.a2)(o,this.top+v+l,this.bottom-t[p.line].height));if(function(e,t,n){if(isNaN(h)||h<=0||isNaN(g)||g<0)return;i.save();const o=(0,r.v)(n.lineWidth,1);if(i.fillStyle=(0,r.v)(n.fillStyle,s),i.lineCap=(0,r.v)(n.lineCap,"butt"),i.lineDashOffset=(0,r.v)(n.lineDashOffset,0),i.lineJoin=(0,r.v)(n.lineJoin,"miter"),i.lineWidth=o,i.strokeStyle=(0,r.v)(n.strokeStyle,s),i.setLineDash((0,r.v)(n.lineDash,[])),a.usePointStyle){const s={radius:g*Math.SQRT2/2,pointStyle:n.pointStyle,rotation:n.rotation,borderWidth:o},c=u.xPlus(e,h/2),l=t+d;(0,r.aD)(i,s,c,l,a.pointStyleWidth&&h)}else{const a=t+Math.max((f-g)/2,0),s=u.leftForLtr(e,h),c=(0,r.aw)(n.borderRadius);i.beginPath(),Object.values(c).some((e=>0!==e))?(0,r.au)(i,{x:s,y:a,w:h,h:g,radius:c}):i.rect(s,a,h,g),i.fill(),0!==o&&i.stroke()}i.restore()}(u.x(k),E,_),k=(0,r.aB)(x,k+h+d,y?k+S:this.right,e.rtl),function(e,t,n){(0,r.Z)(i,n.text,e,t+m/2,c,{strikethrough:n.hidden,textAlign:u.textAlign(n.textAlign)})}(u.x(k),E,_),y)p.x+=S+l;else if("string"!=typeof _.text){const e=c.lineHeight;p.y+=At(_,e)+l}else p.y+=b})),(0,r.aC)(this.ctx,e.textDirection)}drawTitle(){const e=this.options,t=e.title,n=(0,r.a0)(t.font),i=(0,r.E)(t.padding);if(!t.display)return;const o=(0,r.az)(e.rtl,this.left,this.width),a=this.ctx,s=t.position,u=n.size/2,c=i.top+u;let l,f=this.left,d=this.width;if(this.isHorizontal())d=Math.max(...this.lineWidths),l=this.top+c,f=(0,r.a2)(e.align,f,this.right-d);else{const t=this.columnSizes.reduce(((e,t)=>Math.max(e,t.height)),0);l=c+(0,r.a2)(e.align,this.top,this.bottom-t-e.labels.padding-this._computeTitleHeight())}const p=(0,r.a2)(s,f,f+d);a.textAlign=o.textAlign((0,r.a1)(s)),a.textBaseline="middle",a.strokeStyle=t.color,a.fillStyle=t.color,a.font=n.string,(0,r.Z)(a,t.text,p,l,n)}_computeTitleHeight(){const e=this.options.title,t=(0,r.a0)(e.font),n=(0,r.E)(e.padding);return e.display?t.lineHeight+n.height:0}_getLegendItemAt(e,t){let n,i,o;if((0,r.aj)(e,this.left,this.right)&&(0,r.aj)(t,this.top,this.bottom))for(o=this.legendHitBoxes,n=0;n<o.length;++n)if(i=o[n],(0,r.aj)(e,i.left,i.left+i.width)&&(0,r.aj)(t,i.top,i.top+i.height))return this.legendItems[n];return null}handleEvent(e){const t=this.options;if(!function(e,t){if(("mousemove"===e||"mouseout"===e)&&(t.onHover||t.onLeave))return!0;if(t.onClick&&("click"===e||"mouseup"===e))return!0;return!1}(e.type,t))return;const n=this._getLegendItemAt(e.x,e.y);if("mousemove"===e.type||"mouseout"===e.type){const a=this._hoveredItem,s=(o=n,null!==(i=a)&&null!==o&&i.datasetIndex===o.datasetIndex&&i.index===o.index);a&&!s&&(0,r.Q)(t.onLeave,[e,a,this],this),this._hoveredItem=n,n&&!s&&(0,r.Q)(t.onHover,[e,n,this],this)}else n&&(0,r.Q)(t.onClick,[e,n,this],this);var i,o}}function At(e,t){return t*(e.text?e.text.length:0)}var It={id:"legend",_element:Lt,start(e,t,n){const r=e.legend=new Lt({ctx:e.ctx,options:n,chart:e});J.configure(e,r,n),J.addBox(e,r)},stop(e){J.removeBox(e,e.legend),delete e.legend},beforeUpdate(e,t,n){const r=e.legend;J.configure(e,r,n),r.options=n},afterUpdate(e){const t=e.legend;t.buildLabels(),t.adjustHitBoxes()},afterEvent(e,t){t.replay||e.legend.handleEvent(t.event)},defaults:{display:!0,position:"top",align:"center",fullSize:!0,reverse:!1,weight:1e3,onClick(e,t,n){const r=t.datasetIndex,i=n.chart;i.isDatasetVisible(r)?(i.hide(r),t.hidden=!0):(i.show(r),t.hidden=!1)},onHover:null,onLeave:null,labels:{color:e=>e.chart.options.color,boxWidth:40,padding:10,generateLabels(e){const t=e.data.datasets,{labels:{usePointStyle:n,pointStyle:i,textAlign:o,color:a,useBorderRadius:s,borderRadius:u}}=e.legend.options;return e._getSortedDatasetMetas().map((e=>{const c=e.controller.getStyle(n?0:void 0),l=(0,r.E)(c.borderWidth);return{text:t[e.index].label,fillStyle:c.backgroundColor,fontColor:a,hidden:!e.visible,lineCap:c.borderCapStyle,lineDash:c.borderDash,lineDashOffset:c.borderDashOffset,lineJoin:c.borderJoinStyle,lineWidth:(l.width+l.height)/4,strokeStyle:c.borderColor,pointStyle:i||c.pointStyle,rotation:c.rotation,textAlign:o||c.textAlign,borderRadius:s&&(u||c.borderRadius),datasetIndex:e.index}}),this)}},title:{color:e=>e.chart.options.color,display:!1,position:"center",text:""}},descriptors:{_scriptable:e=>!e.startsWith("on"),labels:{_scriptable:e=>!["generateLabels","filter","sort"].includes(e)}}};class Pt extends me{constructor(e){super(),this.chart=e.chart,this.options=e.options,this.ctx=e.ctx,this._padding=void 0,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.width=void 0,this.height=void 0,this.position=void 0,this.weight=void 0,this.fullSize=void 0}update(e,t){const n=this.options;if(this.left=0,this.top=0,!n.display)return void(this.width=this.height=this.right=this.bottom=0);this.width=this.right=e,this.height=this.bottom=t;const i=(0,r.b)(n.text)?n.text.length:1;this._padding=(0,r.E)(n.padding);const o=i*(0,r.a0)(n.font).lineHeight+this._padding.height;this.isHorizontal()?this.height=o:this.width=o}isHorizontal(){const e=this.options.position;return"top"===e||"bottom"===e}_drawArgs(e){const{top:t,left:n,bottom:i,right:o,options:a}=this,s=a.align;let u,c,l,f=0;return this.isHorizontal()?(c=(0,r.a2)(s,n,o),l=t+e,u=o-n):("left"===a.position?(c=n+e,l=(0,r.a2)(s,i,t),f=-.5*r.P):(c=o-e,l=(0,r.a2)(s,t,i),f=.5*r.P),u=i-t),{titleX:c,titleY:l,maxWidth:u,rotation:f}}draw(){const e=this.ctx,t=this.options;if(!t.display)return;const n=(0,r.a0)(t.font),i=n.lineHeight/2+this._padding.top,{titleX:o,titleY:a,maxWidth:s,rotation:u}=this._drawArgs(i);(0,r.Z)(e,t.text,0,0,n,{color:t.color,maxWidth:s,rotation:u,textAlign:(0,r.a1)(t.align),textBaseline:"middle",translation:[o,a]})}}var Mt={id:"title",_element:Pt,start(e,t,n){!function(e,t){const n=new Pt({ctx:e.ctx,options:t,chart:e});J.configure(e,n,t),J.addBox(e,n),e.titleBlock=n}(e,n)},stop(e){const t=e.titleBlock;J.removeBox(e,t),delete e.titleBlock},beforeUpdate(e,t,n){const r=e.titleBlock;J.configure(e,r,n),r.options=n},defaults:{align:"center",display:!1,font:{weight:"bold"},fullSize:!0,padding:10,position:"top",text:"",weight:2e3},defaultRoutes:{color:"color"},descriptors:{_scriptable:!0,_indexable:!1}};new WeakMap;const Rt={average(e){if(!e.length)return!1;let t,n,r=new Set,i=0,o=0;for(t=0,n=e.length;t<n;++t){const n=e[t].element;if(n&&n.hasValue()){const e=n.tooltipPosition();r.add(e.x),i+=e.y,++o}}return{x:[...r].reduce(((e,t)=>e+t))/r.size,y:i/o}},nearest(e,t){if(!e.length)return!1;let n,i,o,a=t.x,s=t.y,u=Number.POSITIVE_INFINITY;for(n=0,i=e.length;n<i;++n){const i=e[n].element;if(i&&i.hasValue()){const e=i.getCenterPoint(),n=(0,r.aE)(t,e);n<u&&(u=n,o=i)}}if(o){const e=o.tooltipPosition();a=e.x,s=e.y}return{x:a,y:s}}};function jt(e,t){return t&&((0,r.b)(t)?Array.prototype.push.apply(e,t):e.push(t)),e}function Dt(e){return("string"==typeof e||e instanceof String)&&e.indexOf("\n")>-1?e.split("\n"):e}function Nt(e,t){const{element:n,datasetIndex:r,index:i}=t,o=e.getDatasetMeta(r).controller,{label:a,value:s}=o.getLabelAndValue(i);return{chart:e,label:a,parsed:o.getParsed(i),raw:e.data.datasets[r].data[i],formattedValue:s,dataset:o.getDataset(),dataIndex:i,datasetIndex:r,element:n}}function Bt(e,t){const n=e.chart.ctx,{body:i,footer:o,title:a}=e,{boxWidth:s,boxHeight:u}=t,c=(0,r.a0)(t.bodyFont),l=(0,r.a0)(t.titleFont),f=(0,r.a0)(t.footerFont),d=a.length,p=o.length,h=i.length,g=(0,r.E)(t.padding);let m=g.height,y=0,v=i.reduce(((e,t)=>e+t.before.length+t.lines.length+t.after.length),0);if(v+=e.beforeBody.length+e.afterBody.length,d&&(m+=d*l.lineHeight+(d-1)*t.titleSpacing+t.titleMarginBottom),v){m+=h*(t.displayColors?Math.max(u,c.lineHeight):c.lineHeight)+(v-h)*c.lineHeight+(v-1)*t.bodySpacing}p&&(m+=t.footerMarginTop+p*f.lineHeight+(p-1)*t.footerSpacing);let b=0;const _=function(e){y=Math.max(y,n.measureText(e).width+b)};return n.save(),n.font=l.string,(0,r.F)(e.title,_),n.font=c.string,(0,r.F)(e.beforeBody.concat(e.afterBody),_),b=t.displayColors?s+2+t.boxPadding:0,(0,r.F)(i,(e=>{(0,r.F)(e.before,_),(0,r.F)(e.lines,_),(0,r.F)(e.after,_)})),b=0,n.font=f.string,(0,r.F)(e.footer,_),n.restore(),y+=g.width,{width:y,height:m}}function Ut(e,t,n,r){const{x:i,width:o}=n,{width:a,chartArea:{left:s,right:u}}=e;let c="center";return"center"===r?c=i<=(s+u)/2?"left":"right":i<=o/2?c="left":i>=a-o/2&&(c="right"),function(e,t,n,r){const{x:i,width:o}=r,a=n.caretSize+n.caretPadding;return"left"===e&&i+o+a>t.width||"right"===e&&i-o-a<0||void 0}(c,e,t,n)&&(c="center"),c}function Ft(e,t,n){const r=n.yAlign||t.yAlign||function(e,t){const{y:n,height:r}=t;return n<r/2?"top":n>e.height-r/2?"bottom":"center"}(e,n);return{xAlign:n.xAlign||t.xAlign||Ut(e,t,n,r),yAlign:r}}function zt(e,t,n,i){const{caretSize:o,caretPadding:a,cornerRadius:s}=e,{xAlign:u,yAlign:c}=n,l=o+a,{topLeft:f,topRight:d,bottomLeft:p,bottomRight:h}=(0,r.aw)(s);let g=function(e,t){let{x:n,width:r}=e;return"right"===t?n-=r:"center"===t&&(n-=r/2),n}(t,u);const m=function(e,t,n){let{y:r,height:i}=e;return"top"===t?r+=n:r-="bottom"===t?i+n:i/2,r}(t,c,l);return"center"===c?"left"===u?g+=l:"right"===u&&(g-=l):"left"===u?g-=Math.max(f,p)+o:"right"===u&&(g+=Math.max(d,h)+o),{x:(0,r.S)(g,0,i.width-t.width),y:(0,r.S)(m,0,i.height-t.height)}}function Ht(e,t,n){const i=(0,r.E)(n.padding);return"center"===t?e.x+e.width/2:"right"===t?e.x+e.width-i.right:e.x+i.left}function Zt(e){return jt([],Dt(e))}function qt(e,t){const n=t&&t.dataset&&t.dataset.tooltip&&t.dataset.tooltip.callbacks;return n?e.override(n):e}const Vt={beforeTitle:r.aF,title(e){if(e.length>0){const t=e[0],n=t.chart.data.labels,r=n?n.length:0;if(this&&this.options&&"dataset"===this.options.mode)return t.dataset.label||"";if(t.label)return t.label;if(r>0&&t.dataIndex<r)return n[t.dataIndex]}return""},afterTitle:r.aF,beforeBody:r.aF,beforeLabel:r.aF,label(e){if(this&&this.options&&"dataset"===this.options.mode)return e.label+": "+e.formattedValue||e.formattedValue;let t=e.dataset.label||"";t&&(t+=": ");const n=e.formattedValue;return(0,r.k)(n)||(t+=n),t},labelColor(e){const t=e.chart.getDatasetMeta(e.datasetIndex).controller.getStyle(e.dataIndex);return{borderColor:t.borderColor,backgroundColor:t.backgroundColor,borderWidth:t.borderWidth,borderDash:t.borderDash,borderDashOffset:t.borderDashOffset,borderRadius:0}},labelTextColor(){return this.options.bodyColor},labelPointStyle(e){const t=e.chart.getDatasetMeta(e.datasetIndex).controller.getStyle(e.dataIndex);return{pointStyle:t.pointStyle,rotation:t.rotation}},afterLabel:r.aF,afterBody:r.aF,beforeFooter:r.aF,footer:r.aF,afterFooter:r.aF};function Wt(e,t,n,r){const i=e[t].call(n,r);return void 0===i?Vt[t].call(n,r):i}class Gt extends me{static positioners=Rt;constructor(e){super(),this.opacity=0,this._active=[],this._eventPosition=void 0,this._size=void 0,this._cachedAnimations=void 0,this._tooltipItems=[],this.$animations=void 0,this.$context=void 0,this.chart=e.chart,this.options=e.options,this.dataPoints=void 0,this.title=void 0,this.beforeBody=void 0,this.body=void 0,this.afterBody=void 0,this.footer=void 0,this.xAlign=void 0,this.yAlign=void 0,this.x=void 0,this.y=void 0,this.height=void 0,this.width=void 0,this.caretX=void 0,this.caretY=void 0,this.labelColors=void 0,this.labelPointStyles=void 0,this.labelTextColors=void 0}initialize(e){this.options=e,this._cachedAnimations=void 0,this.$context=void 0}_resolveAnimations(){const e=this._cachedAnimations;if(e)return e;const t=this.chart,n=this.options.setContext(this.getContext()),r=n.enabled&&t.options.animation&&n.animations,i=new c(this.chart,r);return r._cacheable&&(this._cachedAnimations=Object.freeze(i)),i}getContext(){return this.$context||(this.$context=(e=this.chart.getContext(),t=this,n=this._tooltipItems,(0,r.j)(e,{tooltip:t,tooltipItems:n,type:"tooltip"})));var e,t,n}getTitle(e,t){const{callbacks:n}=t,r=Wt(n,"beforeTitle",this,e),i=Wt(n,"title",this,e),o=Wt(n,"afterTitle",this,e);let a=[];return a=jt(a,Dt(r)),a=jt(a,Dt(i)),a=jt(a,Dt(o)),a}getBeforeBody(e,t){return Zt(Wt(t.callbacks,"beforeBody",this,e))}getBody(e,t){const{callbacks:n}=t,i=[];return(0,r.F)(e,(e=>{const t={before:[],lines:[],after:[]},r=qt(n,e);jt(t.before,Dt(Wt(r,"beforeLabel",this,e))),jt(t.lines,Wt(r,"label",this,e)),jt(t.after,Dt(Wt(r,"afterLabel",this,e))),i.push(t)})),i}getAfterBody(e,t){return Zt(Wt(t.callbacks,"afterBody",this,e))}getFooter(e,t){const{callbacks:n}=t,r=Wt(n,"beforeFooter",this,e),i=Wt(n,"footer",this,e),o=Wt(n,"afterFooter",this,e);let a=[];return a=jt(a,Dt(r)),a=jt(a,Dt(i)),a=jt(a,Dt(o)),a}_createItems(e){const t=this._active,n=this.chart.data,i=[],o=[],a=[];let s,u,c=[];for(s=0,u=t.length;s<u;++s)c.push(Nt(this.chart,t[s]));return e.filter&&(c=c.filter(((t,r,i)=>e.filter(t,r,i,n)))),e.itemSort&&(c=c.sort(((t,r)=>e.itemSort(t,r,n)))),(0,r.F)(c,(t=>{const n=qt(e.callbacks,t);i.push(Wt(n,"labelColor",this,t)),o.push(Wt(n,"labelPointStyle",this,t)),a.push(Wt(n,"labelTextColor",this,t))})),this.labelColors=i,this.labelPointStyles=o,this.labelTextColors=a,this.dataPoints=c,c}update(e,t){const n=this.options.setContext(this.getContext()),r=this._active;let i,o=[];if(r.length){const e=Rt[n.position].call(this,r,this._eventPosition);o=this._createItems(n),this.title=this.getTitle(o,n),this.beforeBody=this.getBeforeBody(o,n),this.body=this.getBody(o,n),this.afterBody=this.getAfterBody(o,n),this.footer=this.getFooter(o,n);const t=this._size=Bt(this,n),a=Object.assign({},e,t),s=Ft(this.chart,n,a),u=zt(n,a,s,this.chart);this.xAlign=s.xAlign,this.yAlign=s.yAlign,i={opacity:1,x:u.x,y:u.y,width:t.width,height:t.height,caretX:e.x,caretY:e.y}}else 0!==this.opacity&&(i={opacity:0});this._tooltipItems=o,this.$context=void 0,i&&this._resolveAnimations().update(this,i),e&&n.external&&n.external.call(this,{chart:this.chart,tooltip:this,replay:t})}drawCaret(e,t,n,r){const i=this.getCaretPosition(e,n,r);t.lineTo(i.x1,i.y1),t.lineTo(i.x2,i.y2),t.lineTo(i.x3,i.y3)}getCaretPosition(e,t,n){const{xAlign:i,yAlign:o}=this,{caretSize:a,cornerRadius:s}=n,{topLeft:u,topRight:c,bottomLeft:l,bottomRight:f}=(0,r.aw)(s),{x:d,y:p}=e,{width:h,height:g}=t;let m,y,v,b,_,w;return"center"===o?(_=p+g/2,"left"===i?(m=d,y=m-a,b=_+a,w=_-a):(m=d+h,y=m+a,b=_-a,w=_+a),v=m):(y="left"===i?d+Math.max(u,l)+a:"right"===i?d+h-Math.max(c,f)-a:this.caretX,"top"===o?(b=p,_=b-a,m=y-a,v=y+a):(b=p+g,_=b+a,m=y+a,v=y-a),w=b),{x1:m,x2:y,x3:v,y1:b,y2:_,y3:w}}drawTitle(e,t,n){const i=this.title,o=i.length;let a,s,u;if(o){const c=(0,r.az)(n.rtl,this.x,this.width);for(e.x=Ht(this,n.titleAlign,n),t.textAlign=c.textAlign(n.titleAlign),t.textBaseline="middle",a=(0,r.a0)(n.titleFont),s=n.titleSpacing,t.fillStyle=n.titleColor,t.font=a.string,u=0;u<o;++u)t.fillText(i[u],c.x(e.x),e.y+a.lineHeight/2),e.y+=a.lineHeight+s,u+1===o&&(e.y+=n.titleMarginBottom-s)}}_drawColorBox(e,t,n,i,o){const a=this.labelColors[n],s=this.labelPointStyles[n],{boxHeight:u,boxWidth:c}=o,l=(0,r.a0)(o.bodyFont),f=Ht(this,"left",o),d=i.x(f),p=u<l.lineHeight?(l.lineHeight-u)/2:0,h=t.y+p;if(o.usePointStyle){const t={radius:Math.min(c,u)/2,pointStyle:s.pointStyle,rotation:s.rotation,borderWidth:1},n=i.leftForLtr(d,c)+c/2,l=h+u/2;e.strokeStyle=o.multiKeyBackground,e.fillStyle=o.multiKeyBackground,(0,r.at)(e,t,n,l),e.strokeStyle=a.borderColor,e.fillStyle=a.backgroundColor,(0,r.at)(e,t,n,l)}else{e.lineWidth=(0,r.i)(a.borderWidth)?Math.max(...Object.values(a.borderWidth)):a.borderWidth||1,e.strokeStyle=a.borderColor,e.setLineDash(a.borderDash||[]),e.lineDashOffset=a.borderDashOffset||0;const t=i.leftForLtr(d,c),n=i.leftForLtr(i.xPlus(d,1),c-2),s=(0,r.aw)(a.borderRadius);Object.values(s).some((e=>0!==e))?(e.beginPath(),e.fillStyle=o.multiKeyBackground,(0,r.au)(e,{x:t,y:h,w:c,h:u,radius:s}),e.fill(),e.stroke(),e.fillStyle=a.backgroundColor,e.beginPath(),(0,r.au)(e,{x:n,y:h+1,w:c-2,h:u-2,radius:s}),e.fill()):(e.fillStyle=o.multiKeyBackground,e.fillRect(t,h,c,u),e.strokeRect(t,h,c,u),e.fillStyle=a.backgroundColor,e.fillRect(n,h+1,c-2,u-2))}e.fillStyle=this.labelTextColors[n]}drawBody(e,t,n){const{body:i}=this,{bodySpacing:o,bodyAlign:a,displayColors:s,boxHeight:u,boxWidth:c,boxPadding:l}=n,f=(0,r.a0)(n.bodyFont);let d=f.lineHeight,p=0;const h=(0,r.az)(n.rtl,this.x,this.width),g=function(n){t.fillText(n,h.x(e.x+p),e.y+d/2),e.y+=d+o},m=h.textAlign(a);let y,v,b,_,w,T,x;for(t.textAlign=a,t.textBaseline="middle",t.font=f.string,e.x=Ht(this,m,n),t.fillStyle=n.bodyColor,(0,r.F)(this.beforeBody,g),p=s&&"right"!==m?"center"===a?c/2+l:c+2+l:0,_=0,T=i.length;_<T;++_){for(y=i[_],v=this.labelTextColors[_],t.fillStyle=v,(0,r.F)(y.before,g),b=y.lines,s&&b.length&&(this._drawColorBox(t,e,_,h,n),d=Math.max(f.lineHeight,u)),w=0,x=b.length;w<x;++w)g(b[w]),d=f.lineHeight;(0,r.F)(y.after,g)}p=0,d=f.lineHeight,(0,r.F)(this.afterBody,g),e.y-=o}drawFooter(e,t,n){const i=this.footer,o=i.length;let a,s;if(o){const u=(0,r.az)(n.rtl,this.x,this.width);for(e.x=Ht(this,n.footerAlign,n),e.y+=n.footerMarginTop,t.textAlign=u.textAlign(n.footerAlign),t.textBaseline="middle",a=(0,r.a0)(n.footerFont),t.fillStyle=n.footerColor,t.font=a.string,s=0;s<o;++s)t.fillText(i[s],u.x(e.x),e.y+a.lineHeight/2),e.y+=a.lineHeight+n.footerSpacing}}drawBackground(e,t,n,i){const{xAlign:o,yAlign:a}=this,{x:s,y:u}=e,{width:c,height:l}=n,{topLeft:f,topRight:d,bottomLeft:p,bottomRight:h}=(0,r.aw)(i.cornerRadius);t.fillStyle=i.backgroundColor,t.strokeStyle=i.borderColor,t.lineWidth=i.borderWidth,t.beginPath(),t.moveTo(s+f,u),"top"===a&&this.drawCaret(e,t,n,i),t.lineTo(s+c-d,u),t.quadraticCurveTo(s+c,u,s+c,u+d),"center"===a&&"right"===o&&this.drawCaret(e,t,n,i),t.lineTo(s+c,u+l-h),t.quadraticCurveTo(s+c,u+l,s+c-h,u+l),"bottom"===a&&this.drawCaret(e,t,n,i),t.lineTo(s+p,u+l),t.quadraticCurveTo(s,u+l,s,u+l-p),"center"===a&&"left"===o&&this.drawCaret(e,t,n,i),t.lineTo(s,u+f),t.quadraticCurveTo(s,u,s+f,u),t.closePath(),t.fill(),i.borderWidth>0&&t.stroke()}_updateAnimationTarget(e){const t=this.chart,n=this.$animations,r=n&&n.x,i=n&&n.y;if(r||i){const n=Rt[e.position].call(this,this._active,this._eventPosition);if(!n)return;const o=this._size=Bt(this,e),a=Object.assign({},n,this._size),s=Ft(t,e,a),u=zt(e,a,s,t);r._to===u.x&&i._to===u.y||(this.xAlign=s.xAlign,this.yAlign=s.yAlign,this.width=o.width,this.height=o.height,this.caretX=n.x,this.caretY=n.y,this._resolveAnimations().update(this,u))}}_willRender(){return!!this.opacity}draw(e){const t=this.options.setContext(this.getContext());let n=this.opacity;if(!n)return;this._updateAnimationTarget(t);const i={width:this.width,height:this.height},o={x:this.x,y:this.y};n=Math.abs(n)<.001?0:n;const a=(0,r.E)(t.padding),s=this.title.length||this.beforeBody.length||this.body.length||this.afterBody.length||this.footer.length;t.enabled&&s&&(e.save(),e.globalAlpha=n,this.drawBackground(o,e,i,t),(0,r.aA)(e,t.textDirection),o.y+=a.top,this.drawTitle(o,e,t),this.drawBody(o,e,t),this.drawFooter(o,e,t),(0,r.aC)(e,t.textDirection),e.restore())}getActiveElements(){return this._active||[]}setActiveElements(e,t){const n=this._active,i=e.map((({datasetIndex:e,index:t})=>{const n=this.chart.getDatasetMeta(e);if(!n)throw new Error("Cannot find a dataset at index "+e);return{datasetIndex:e,element:n.data[t],index:t}})),o=!(0,r.ah)(n,i),a=this._positionChanged(i,t);(o||a)&&(this._active=i,this._eventPosition=t,this._ignoreReplayEvents=!0,this.update(!0))}handleEvent(e,t,n=!0){if(t&&this._ignoreReplayEvents)return!1;this._ignoreReplayEvents=!1;const i=this.options,o=this._active||[],a=this._getActiveElements(e,o,t,n),s=this._positionChanged(a,e),u=t||!(0,r.ah)(a,o)||s;return u&&(this._active=a,(i.enabled||i.external)&&(this._eventPosition={x:e.x,y:e.y},this.update(!0,t))),u}_getActiveElements(e,t,n,r){const i=this.options;if("mouseout"===e.type)return[];if(!r)return t.filter((e=>this.chart.data.datasets[e.datasetIndex]&&void 0!==this.chart.getDatasetMeta(e.datasetIndex).controller.getParsed(e.index)));const o=this.chart.getElementsAtEventForMode(e,i.mode,i,n);return i.reverse&&o.reverse(),o}_positionChanged(e,t){const{caretX:n,caretY:r,options:i}=this,o=Rt[i.position].call(this,e,t);return!1!==o&&(n!==o.x||r!==o.y)}}var $t={id:"tooltip",_element:Gt,positioners:Rt,afterInit(e,t,n){n&&(e.tooltip=new Gt({chart:e,options:n}))},beforeUpdate(e,t,n){e.tooltip&&e.tooltip.initialize(n)},reset(e,t,n){e.tooltip&&e.tooltip.initialize(n)},afterDraw(e){const t=e.tooltip;if(t&&t._willRender()){const n={tooltip:t};if(!1===e.notifyPlugins("beforeTooltipDraw",{...n,cancelable:!0}))return;t.draw(e.ctx),e.notifyPlugins("afterTooltipDraw",n)}},afterEvent(e,t){if(e.tooltip){const n=t.replay;e.tooltip.handleEvent(t.event,n,t.inChartArea)&&(t.changed=!0)}},defaults:{enabled:!0,external:null,position:"average",backgroundColor:"rgba(0,0,0,0.8)",titleColor:"#fff",titleFont:{weight:"bold"},titleSpacing:2,titleMarginBottom:6,titleAlign:"left",bodyColor:"#fff",bodySpacing:2,bodyFont:{},bodyAlign:"left",footerColor:"#fff",footerSpacing:2,footerMarginTop:6,footerFont:{weight:"bold"},footerAlign:"left",padding:6,caretPadding:2,caretSize:5,cornerRadius:6,boxHeight:(e,t)=>t.bodyFont.size,boxWidth:(e,t)=>t.bodyFont.size,multiKeyBackground:"#fff",displayColors:!0,boxPadding:0,borderColor:"rgba(0,0,0,0)",borderWidth:0,animation:{duration:400,easing:"easeOutQuart"},animations:{numbers:{type:"number",properties:["x","y","width","height","caretX","caretY"]},opacity:{easing:"linear",duration:200}},callbacks:Vt},defaultRoutes:{bodyFont:"font",footerFont:"font",titleFont:"font"},descriptors:{_scriptable:e=>"filter"!==e&&"itemSort"!==e&&"external"!==e,_indexable:!1,callbacks:{_scriptable:!1,_indexable:!1},animation:{_fallback:!1},animations:{_fallback:"animation"}},additionalOptionScopes:["interaction"]};function Yt(e,t,n,r){const i=e.indexOf(t);if(-1===i)return((e,t,n,r)=>("string"==typeof t?(n=e.push(t)-1,r.unshift({index:n,label:t})):isNaN(t)&&(n=null),n))(e,t,n,r);return i!==e.lastIndexOf(t)?n:i}function Kt(e){const t=this.getLabels();return e>=0&&e<t.length?t[e]:e}class Xt extends Ee{static id="category";static defaults={ticks:{callback:Kt}};constructor(e){super(e),this._startValue=void 0,this._valueRange=0,this._addedLabels=[]}init(e){const t=this._addedLabels;if(t.length){const e=this.getLabels();for(const{index:n,label:r}of t)e[n]===r&&e.splice(n,1);this._addedLabels=[]}super.init(e)}parse(e,t){if((0,r.k)(e))return null;const n=this.getLabels();return((e,t)=>null===e?null:(0,r.S)(Math.round(e),0,t))(t=isFinite(t)&&n[t]===e?t:Yt(n,e,(0,r.v)(t,e),this._addedLabels),n.length-1)}determineDataLimits(){const{minDefined:e,maxDefined:t}=this.getUserBounds();let{min:n,max:r}=this.getMinMax(!0);"ticks"===this.options.bounds&&(e||(n=0),t||(r=this.getLabels().length-1)),this.min=n,this.max=r}buildTicks(){const e=this.min,t=this.max,n=this.options.offset,r=[];let i=this.getLabels();i=0===e&&t===i.length-1?i:i.slice(e,t+1),this._valueRange=Math.max(i.length-(n?0:1),1),this._startValue=this.min-(n?.5:0);for(let n=e;n<=t;n++)r.push({value:n});return r}getLabelForValue(e){return Kt.call(this,e)}configure(){super.configure(),this.isHorizontal()||(this._reversePixels=!this._reversePixels)}getPixelForValue(e){return"number"!=typeof e&&(e=this.parse(e)),null===e?NaN:this.getPixelForDecimal((e-this._startValue)/this._valueRange)}getPixelForTick(e){const t=this.ticks;return e<0||e>t.length-1?null:this.getPixelForValue(t[e].value)}getValueForPixel(e){return Math.round(this._startValue+this.getDecimalForPixel(e)*this._valueRange)}getBasePixel(){return this.bottom}}function Qt(e,t,{horizontal:n,minRotation:i}){const o=(0,r.t)(i),a=(n?Math.sin(o):Math.cos(o))||.001,s=.75*t*(""+e).length;return Math.min(t/a,s)}class Jt extends Ee{constructor(e){super(e),this.start=void 0,this.end=void 0,this._startValue=void 0,this._endValue=void 0,this._valueRange=0}parse(e,t){return(0,r.k)(e)||("number"==typeof e||e instanceof Number)&&!isFinite(+e)?null:+e}handleTickRangeOptions(){const{beginAtZero:e}=this.options,{minDefined:t,maxDefined:n}=this.getUserBounds();let{min:i,max:o}=this;const a=e=>i=t?i:e,s=e=>o=n?o:e;if(e){const e=(0,r.s)(i),t=(0,r.s)(o);e<0&&t<0?s(0):e>0&&t>0&&a(0)}if(i===o){let t=0===o?1:Math.abs(.05*o);s(o+t),e||a(i-t)}this.min=i,this.max=o}getTickLimit(){const e=this.options.ticks;let t,{maxTicksLimit:n,stepSize:r}=e;return r?(t=Math.ceil(this.max/r)-Math.floor(this.min/r)+1,t>1e3&&(console.warn(`scales.${this.id}.ticks.stepSize: ${r} would result generating up to ${t} ticks. Limiting to 1000.`),t=1e3)):(t=this.computeTickLimit(),n=n||11),n&&(t=Math.min(n,t)),t}computeTickLimit(){return Number.POSITIVE_INFINITY}buildTicks(){const e=this.options,t=e.ticks;let n=this.getTickLimit();n=Math.max(2,n);const i=function(e,t){const n=[],{bounds:i,step:o,min:a,max:s,precision:u,count:c,maxTicks:l,maxDigits:f,includeBounds:d}=e,p=o||1,h=l-1,{min:g,max:m}=t,y=!(0,r.k)(a),v=!(0,r.k)(s),b=!(0,r.k)(c),_=(m-g)/(f+1);let w,T,x,S,k=(0,r.aH)((m-g)/h/p)*p;if(k<1e-14&&!y&&!v)return[{value:g},{value:m}];S=Math.ceil(m/k)-Math.floor(g/k),S>h&&(k=(0,r.aH)(S*k/h/p)*p),(0,r.k)(u)||(w=Math.pow(10,u),k=Math.ceil(k*w)/w),"ticks"===i?(T=Math.floor(g/k)*k,x=Math.ceil(m/k)*k):(T=g,x=m),y&&v&&o&&(0,r.aI)((s-a)/o,k/1e3)?(S=Math.round(Math.min((s-a)/k,l)),k=(s-a)/S,T=a,x=s):b?(T=y?a:T,x=v?s:x,S=c-1,k=(x-T)/S):(S=(x-T)/k,S=(0,r.aJ)(S,Math.round(S),k/1e3)?Math.round(S):Math.ceil(S));const E=Math.max((0,r.aK)(k),(0,r.aK)(T));w=Math.pow(10,(0,r.k)(u)?E:u),T=Math.round(T*w)/w,x=Math.round(x*w)/w;let O=0;for(y&&(d&&T!==a?(n.push({value:a}),T<a&&O++,(0,r.aJ)(Math.round((T+O*k)*w)/w,a,Qt(a,_,e))&&O++):T<a&&O++);O<S;++O){const e=Math.round((T+O*k)*w)/w;if(v&&e>s)break;n.push({value:e})}return v&&d&&x!==s?n.length&&(0,r.aJ)(n[n.length-1].value,s,Qt(s,_,e))?n[n.length-1].value=s:n.push({value:s}):v&&x!==s||n.push({value:x}),n}({maxTicks:n,bounds:e.bounds,min:e.min,max:e.max,precision:t.precision,step:t.stepSize,count:t.count,maxDigits:this._maxDigits(),horizontal:this.isHorizontal(),minRotation:t.minRotation||0,includeBounds:!1!==t.includeBounds},this._range||this);return"ticks"===e.bounds&&(0,r.aG)(i,this,"value"),e.reverse?(i.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),i}configure(){const e=this.ticks;let t=this.min,n=this.max;if(super.configure(),this.options.offset&&e.length){const r=(n-t)/Math.max(e.length-1,1)/2;t-=r,n+=r}this._startValue=t,this._endValue=n,this._valueRange=n-t}getLabelForValue(e){return(0,r.o)(e,this.chart.options.locale,this.options.ticks.format)}}class en extends Jt{static id="linear";static defaults={ticks:{callback:r.aL.formatters.numeric}};determineDataLimits(){const{min:e,max:t}=this.getMinMax(!0);this.min=(0,r.g)(e)?e:0,this.max=(0,r.g)(t)?t:1,this.handleTickRangeOptions()}computeTickLimit(){const e=this.isHorizontal(),t=e?this.width:this.height,n=(0,r.t)(this.options.ticks.minRotation),i=(e?Math.sin(n):Math.cos(n))||.001,o=this._resolveTickFontOptions(0);return Math.ceil(t/Math.min(40,o.lineHeight/i))}getPixelForValue(e){return null===e?NaN:this.getPixelForDecimal((e-this._startValue)/this._valueRange)}getValueForPixel(e){return this._startValue+this.getDecimalForPixel(e)*this._valueRange}}r.aL.formatters.logarithmic;r.aL.formatters.numeric},50713:function(e,t,n){"use strict";function r(e){return e+.5|0}n.d(t,{$:function(){return St},A:function(){return Ne},B:function(){return De},C:function(){return Tt},D:function(){return Oe},E:function(){return Nt},F:function(){return G},G:function(){return vn},H:function(){return pe},I:function(){return fn},J:function(){return wn},K:function(){return _n},L:function(){return qe},M:function(){return ln},N:function(){return _e},O:function(){return H},P:function(){return ue},Q:function(){return W},R:function(){return Ft},S:function(){return Pe},T:function(){return ce},U:function(){return ke},V:function(){return mt},W:function(){return Me},X:function(){return vt},Y:function(){return xt},Z:function(){return Lt},_:function(){return He},a:function(){return Ut},a0:function(){return Bt},a1:function(){return We},a2:function(){return Ge},a3:function(){return lt},a4:function(){return Q},a5:function(){return re},a6:function(){return ft},a7:function(){return oe},a8:function(){return Zt},a9:function(){return Ht},aA:function(){return En},aB:function(){return $e},aC:function(){return On},aD:function(){return wt},aE:function(){return Ce},aF:function(){return D},aG:function(){return xe},aH:function(){return be},aI:function(){return Te},aJ:function(){return ve},aK:function(){return Ee},aL:function(){return ct},aM:function(){return me},aN:function(){return yt},aO:function(){return Be},aP:function(){return je},aa:function(){return qt},ab:function(){return J},ac:function(){return N},ad:function(){return Ve},ae:function(){return bn},af:function(){return bt},ag:function(){return ae},ah:function(){return $},ai:function(){return se},aj:function(){return Re},ak:function(){return Rt},al:function(){return cn},am:function(){return Pn},an:function(){return In},ao:function(){return xn},ap:function(){return Sn},aq:function(){return Tn},ar:function(){return kt},as:function(){return Et},at:function(){return _t},au:function(){return At},av:function(){return jt},aw:function(){return Dt},ax:function(){return An},ay:function(){return Ae},az:function(){return kn},b:function(){return U},c:function(){return nt},d:function(){return gt},e:function(){return et},f:function(){return ne},g:function(){return z},h:function(){return ie},i:function(){return F},j:function(){return zt},k:function(){return B},l:function(){return Fe},m:function(){return q},n:function(){return V},o:function(){return st},p:function(){return Ie},q:function(){return Ye},r:function(){return Ze},s:function(){return ye},t:function(){return Se},u:function(){return ze},v:function(){return Z},w:function(){return Ke},x:function(){return we},y:function(){return tn},z:function(){return mn}});const i=(e,t,n)=>Math.max(Math.min(e,n),t);function o(e){return i(r(2.55*e),0,255)}function a(e){return i(r(255*e),0,255)}function s(e){return i(r(e/2.55)/100,0,1)}function u(e){return i(r(100*e),0,100)}const c={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,A:10,B:11,C:12,D:13,E:14,F:15,a:10,b:11,c:12,d:13,e:14,f:15},l=[..."0123456789ABCDEF"],f=e=>l[15&e],d=e=>l[(240&e)>>4]+l[15&e],p=e=>(240&e)>>4==(15&e);function h(e){var t=(e=>p(e.r)&&p(e.g)&&p(e.b)&&p(e.a))(e)?f:d;return e?"#"+t(e.r)+t(e.g)+t(e.b)+((e,t)=>e<255?t(e):"")(e.a,t):void 0}const g=/^(hsla?|hwb|hsv)\(\s*([-+.e\d]+)(?:deg)?[\s,]+([-+.e\d]+)%[\s,]+([-+.e\d]+)%(?:[\s,]+([-+.e\d]+)(%)?)?\s*\)$/;function m(e,t,n){const r=t*Math.min(n,1-n),i=(t,i=(t+e/30)%12)=>n-r*Math.max(Math.min(i-3,9-i,1),-1);return[i(0),i(8),i(4)]}function y(e,t,n){const r=(r,i=(r+e/60)%6)=>n-n*t*Math.max(Math.min(i,4-i,1),0);return[r(5),r(3),r(1)]}function v(e,t,n){const r=m(e,1,.5);let i;for(t+n>1&&(i=1/(t+n),t*=i,n*=i),i=0;i<3;i++)r[i]*=1-t-n,r[i]+=t;return r}function b(e){const t=e.r/255,n=e.g/255,r=e.b/255,i=Math.max(t,n,r),o=Math.min(t,n,r),a=(i+o)/2;let s,u,c;return i!==o&&(c=i-o,u=a>.5?c/(2-i-o):c/(i+o),s=function(e,t,n,r,i){return e===i?(t-n)/r+(t<n?6:0):t===i?(n-e)/r+2:(e-t)/r+4}(t,n,r,c,i),s=60*s+.5),[0|s,u||0,a]}function _(e,t,n,r){return(Array.isArray(t)?e(t[0],t[1],t[2]):e(t,n,r)).map(a)}function w(e,t,n){return _(m,e,t,n)}function T(e){return(e%360+360)%360}function x(e){const t=g.exec(e);let n,r=255;if(!t)return;t[5]!==n&&(r=t[6]?o(+t[5]):a(+t[5]));const i=T(+t[2]),s=+t[3]/100,u=+t[4]/100;return n="hwb"===t[1]?function(e,t,n){return _(v,e,t,n)}(i,s,u):"hsv"===t[1]?function(e,t,n){return _(y,e,t,n)}(i,s,u):w(i,s,u),{r:n[0],g:n[1],b:n[2],a:r}}const S={x:"dark",Z:"light",Y:"re",X:"blu",W:"gr",V:"medium",U:"slate",A:"ee",T:"ol",S:"or",B:"ra",C:"lateg",D:"ights",R:"in",Q:"turquois",E:"hi",P:"ro",O:"al",N:"le",M:"de",L:"yello",F:"en",K:"ch",G:"arks",H:"ea",I:"ightg",J:"wh"},k={OiceXe:"f0f8ff",antiquewEte:"faebd7",aqua:"ffff",aquamarRe:"7fffd4",azuY:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"0",blanKedOmond:"ffebcd",Xe:"ff",XeviTet:"8a2be2",bPwn:"a52a2a",burlywood:"deb887",caMtXe:"5f9ea0",KartYuse:"7fff00",KocTate:"d2691e",cSO:"ff7f50",cSnflowerXe:"6495ed",cSnsilk:"fff8dc",crimson:"dc143c",cyan:"ffff",xXe:"8b",xcyan:"8b8b",xgTMnPd:"b8860b",xWay:"a9a9a9",xgYF:"6400",xgYy:"a9a9a9",xkhaki:"bdb76b",xmagFta:"8b008b",xTivegYF:"556b2f",xSange:"ff8c00",xScEd:"9932cc",xYd:"8b0000",xsOmon:"e9967a",xsHgYF:"8fbc8f",xUXe:"483d8b",xUWay:"2f4f4f",xUgYy:"2f4f4f",xQe:"ced1",xviTet:"9400d3",dAppRk:"ff1493",dApskyXe:"bfff",dimWay:"696969",dimgYy:"696969",dodgerXe:"1e90ff",fiYbrick:"b22222",flSOwEte:"fffaf0",foYstWAn:"228b22",fuKsia:"ff00ff",gaRsbSo:"dcdcdc",ghostwEte:"f8f8ff",gTd:"ffd700",gTMnPd:"daa520",Way:"808080",gYF:"8000",gYFLw:"adff2f",gYy:"808080",honeyMw:"f0fff0",hotpRk:"ff69b4",RdianYd:"cd5c5c",Rdigo:"4b0082",ivSy:"fffff0",khaki:"f0e68c",lavFMr:"e6e6fa",lavFMrXsh:"fff0f5",lawngYF:"7cfc00",NmoncEffon:"fffacd",ZXe:"add8e6",ZcSO:"f08080",Zcyan:"e0ffff",ZgTMnPdLw:"fafad2",ZWay:"d3d3d3",ZgYF:"90ee90",ZgYy:"d3d3d3",ZpRk:"ffb6c1",ZsOmon:"ffa07a",ZsHgYF:"20b2aa",ZskyXe:"87cefa",ZUWay:"778899",ZUgYy:"778899",ZstAlXe:"b0c4de",ZLw:"ffffe0",lime:"ff00",limegYF:"32cd32",lRF:"faf0e6",magFta:"ff00ff",maPon:"800000",VaquamarRe:"66cdaa",VXe:"cd",VScEd:"ba55d3",VpurpN:"9370db",VsHgYF:"3cb371",VUXe:"7b68ee",VsprRggYF:"fa9a",VQe:"48d1cc",VviTetYd:"c71585",midnightXe:"191970",mRtcYam:"f5fffa",mistyPse:"ffe4e1",moccasR:"ffe4b5",navajowEte:"ffdead",navy:"80",Tdlace:"fdf5e6",Tive:"808000",TivedBb:"6b8e23",Sange:"ffa500",SangeYd:"ff4500",ScEd:"da70d6",pOegTMnPd:"eee8aa",pOegYF:"98fb98",pOeQe:"afeeee",pOeviTetYd:"db7093",papayawEp:"ffefd5",pHKpuff:"ffdab9",peru:"cd853f",pRk:"ffc0cb",plum:"dda0dd",powMrXe:"b0e0e6",purpN:"800080",YbeccapurpN:"663399",Yd:"ff0000",Psybrown:"bc8f8f",PyOXe:"4169e1",saddNbPwn:"8b4513",sOmon:"fa8072",sandybPwn:"f4a460",sHgYF:"2e8b57",sHshell:"fff5ee",siFna:"a0522d",silver:"c0c0c0",skyXe:"87ceeb",UXe:"6a5acd",UWay:"708090",UgYy:"708090",snow:"fffafa",sprRggYF:"ff7f",stAlXe:"4682b4",tan:"d2b48c",teO:"8080",tEstN:"d8bfd8",tomato:"ff6347",Qe:"40e0d0",viTet:"ee82ee",JHt:"f5deb3",wEte:"ffffff",wEtesmoke:"f5f5f5",Lw:"ffff00",LwgYF:"9acd32"};let E;function O(e){E||(E=function(){const e={},t=Object.keys(k),n=Object.keys(S);let r,i,o,a,s;for(r=0;r<t.length;r++){for(a=s=t[r],i=0;i<n.length;i++)o=n[i],s=s.replace(o,S[o]);o=parseInt(k[a],16),e[s]=[o>>16&255,o>>8&255,255&o]}return e}(),E.transparent=[0,0,0,0]);const t=E[e.toLowerCase()];return t&&{r:t[0],g:t[1],b:t[2],a:4===t.length?t[3]:255}}const C=/^rgba?\(\s*([-+.\d]+)(%)?[\s,]+([-+.e\d]+)(%)?[\s,]+([-+.e\d]+)(%)?(?:[\s,/]+([-+.e\d]+)(%)?)?\s*\)$/;const L=e=>e<=.0031308?12.92*e:1.055*Math.pow(e,1/2.4)-.055,A=e=>e<=.04045?e/12.92:Math.pow((e+.055)/1.055,2.4);function I(e,t,n){if(e){let r=b(e);r[t]=Math.max(0,Math.min(r[t]+r[t]*n,0===t?360:1)),r=w(r),e.r=r[0],e.g=r[1],e.b=r[2]}}function P(e,t){return e?Object.assign(t||{},e):e}function M(e){var t={r:0,g:0,b:0,a:255};return Array.isArray(e)?e.length>=3&&(t={r:e[0],g:e[1],b:e[2],a:255},e.length>3&&(t.a=a(e[3]))):(t=P(e,{r:0,g:0,b:0,a:1})).a=a(t.a),t}function R(e){return"r"===e.charAt(0)?function(e){const t=C.exec(e);let n,r,a,s=255;if(t){if(t[7]!==n){const e=+t[7];s=t[8]?o(e):i(255*e,0,255)}return n=+t[1],r=+t[3],a=+t[5],n=255&(t[2]?o(n):i(n,0,255)),r=255&(t[4]?o(r):i(r,0,255)),a=255&(t[6]?o(a):i(a,0,255)),{r:n,g:r,b:a,a:s}}}(e):x(e)}class j{constructor(e){if(e instanceof j)return e;const t=typeof e;let n;var r,i,o;"object"===t?n=M(e):"string"===t&&(o=(r=e).length,"#"===r[0]&&(4===o||5===o?i={r:255&17*c[r[1]],g:255&17*c[r[2]],b:255&17*c[r[3]],a:5===o?17*c[r[4]]:255}:7!==o&&9!==o||(i={r:c[r[1]]<<4|c[r[2]],g:c[r[3]]<<4|c[r[4]],b:c[r[5]]<<4|c[r[6]],a:9===o?c[r[7]]<<4|c[r[8]]:255})),n=i||O(e)||R(e)),this._rgb=n,this._valid=!!n}get valid(){return this._valid}get rgb(){var e=P(this._rgb);return e&&(e.a=s(e.a)),e}set rgb(e){this._rgb=M(e)}rgbString(){return this._valid?(e=this._rgb)&&(e.a<255?`rgba(${e.r}, ${e.g}, ${e.b}, ${s(e.a)})`:`rgb(${e.r}, ${e.g}, ${e.b})`):void 0;var e}hexString(){return this._valid?h(this._rgb):void 0}hslString(){return this._valid?function(e){if(!e)return;const t=b(e),n=t[0],r=u(t[1]),i=u(t[2]);return e.a<255?`hsla(${n}, ${r}%, ${i}%, ${s(e.a)})`:`hsl(${n}, ${r}%, ${i}%)`}(this._rgb):void 0}mix(e,t){if(e){const n=this.rgb,r=e.rgb;let i;const o=t===i?.5:t,a=2*o-1,s=n.a-r.a,u=((a*s==-1?a:(a+s)/(1+a*s))+1)/2;i=1-u,n.r=255&u*n.r+i*r.r+.5,n.g=255&u*n.g+i*r.g+.5,n.b=255&u*n.b+i*r.b+.5,n.a=o*n.a+(1-o)*r.a,this.rgb=n}return this}interpolate(e,t){return e&&(this._rgb=function(e,t,n){const r=A(s(e.r)),i=A(s(e.g)),o=A(s(e.b));return{r:a(L(r+n*(A(s(t.r))-r))),g:a(L(i+n*(A(s(t.g))-i))),b:a(L(o+n*(A(s(t.b))-o))),a:e.a+n*(t.a-e.a)}}(this._rgb,e._rgb,t)),this}clone(){return new j(this.rgb)}alpha(e){return this._rgb.a=a(e),this}clearer(e){return this._rgb.a*=1-e,this}greyscale(){const e=this._rgb,t=r(.3*e.r+.59*e.g+.11*e.b);return e.r=e.g=e.b=t,this}opaquer(e){return this._rgb.a*=1+e,this}negate(){const e=this._rgb;return e.r=255-e.r,e.g=255-e.g,e.b=255-e.b,this}lighten(e){return I(this._rgb,2,e),this}darken(e){return I(this._rgb,2,-e),this}saturate(e){return I(this._rgb,1,e),this}desaturate(e){return I(this._rgb,1,-e),this}rotate(e){return function(e,t){var n=b(e);n[0]=T(n[0]+t),n=w(n),e.r=n[0],e.g=n[1],e.b=n[2]}(this._rgb,e),this}}function D(){}const N=(()=>{let e=0;return()=>e++})();function B(e){return null==e}function U(e){if(Array.isArray&&Array.isArray(e))return!0;const t=Object.prototype.toString.call(e);return"[object"===t.slice(0,7)&&"Array]"===t.slice(-6)}function F(e){return null!==e&&"[object Object]"===Object.prototype.toString.call(e)}function z(e){return("number"==typeof e||e instanceof Number)&&isFinite(+e)}function H(e,t){return z(e)?e:t}function Z(e,t){return void 0===e?t:e}const q=(e,t)=>"string"==typeof e&&e.endsWith("%")?parseFloat(e)/100:+e/t,V=(e,t)=>"string"==typeof e&&e.endsWith("%")?parseFloat(e)/100*t:+e;function W(e,t,n){if(e&&"function"==typeof e.call)return e.apply(n,t)}function G(e,t,n,r){let i,o,a;if(U(e))if(o=e.length,r)for(i=o-1;i>=0;i--)t.call(n,e[i],i);else for(i=0;i<o;i++)t.call(n,e[i],i);else if(F(e))for(a=Object.keys(e),o=a.length,i=0;i<o;i++)t.call(n,e[a[i]],a[i])}function $(e,t){let n,r,i,o;if(!e||!t||e.length!==t.length)return!1;for(n=0,r=e.length;n<r;++n)if(i=e[n],o=t[n],i.datasetIndex!==o.datasetIndex||i.index!==o.index)return!1;return!0}function Y(e){if(U(e))return e.map(Y);if(F(e)){const t=Object.create(null),n=Object.keys(e),r=n.length;let i=0;for(;i<r;++i)t[n[i]]=Y(e[n[i]]);return t}return e}function K(e){return-1===["__proto__","prototype","constructor"].indexOf(e)}function X(e,t,n,r){if(!K(e))return;const i=t[e],o=n[e];F(i)&&F(o)?Q(i,o,r):t[e]=Y(o)}function Q(e,t,n){const r=U(t)?t:[t],i=r.length;if(!F(e))return e;const o=(n=n||{}).merger||X;let a;for(let t=0;t<i;++t){if(a=r[t],!F(a))continue;const i=Object.keys(a);for(let t=0,r=i.length;t<r;++t)o(i[t],e,a,n)}return e}function J(e,t){return Q(e,t,{merger:ee})}function ee(e,t,n){if(!K(e))return;const r=t[e],i=n[e];F(r)&&F(i)?J(r,i):Object.prototype.hasOwnProperty.call(t,e)||(t[e]=Y(i))}const te={"":e=>e,x:e=>e.x,y:e=>e.y};function ne(e,t){const n=te[t]||(te[t]=function(e){const t=function(e){const t=e.split("."),n=[];let r="";for(const e of t)r+=e,r.endsWith("\\")?r=r.slice(0,-1)+".":(n.push(r),r="");return n}(e);return e=>{for(const n of t){if(""===n)break;e=e&&e[n]}return e}}(t));return n(e)}function re(e){return e.charAt(0).toUpperCase()+e.slice(1)}const ie=e=>void 0!==e,oe=e=>"function"==typeof e,ae=(e,t)=>{if(e.size!==t.size)return!1;for(const n of e)if(!t.has(n))return!1;return!0};function se(e){return"mouseup"===e.type||"click"===e.type||"contextmenu"===e.type}const ue=Math.PI,ce=2*ue,le=ce+ue,fe=Number.POSITIVE_INFINITY,de=ue/180,pe=ue/2,he=ue/4,ge=2*ue/3,me=Math.log10,ye=Math.sign;function ve(e,t,n){return Math.abs(e-t)<n}function be(e){const t=Math.round(e);e=ve(e,t,e/1e3)?t:e;const n=Math.pow(10,Math.floor(me(e))),r=e/n;return(r<=1?1:r<=2?2:r<=5?5:10)*n}function _e(e){const t=[],n=Math.sqrt(e);let r;for(r=1;r<n;r++)e%r==0&&(t.push(r),t.push(e/r));return n===(0|n)&&t.push(n),t.sort(((e,t)=>e-t)).pop(),t}function we(e){return!isNaN(parseFloat(e))&&isFinite(e)}function Te(e,t){const n=Math.round(e);return n-t<=e&&n+t>=e}function xe(e,t,n){let r,i,o;for(r=0,i=e.length;r<i;r++)o=e[r][n],isNaN(o)||(t.min=Math.min(t.min,o),t.max=Math.max(t.max,o))}function Se(e){return e*(ue/180)}function ke(e){return e*(180/ue)}function Ee(e){if(!z(e))return;let t=1,n=0;for(;Math.round(e*t)/t!==e;)t*=10,n++;return n}function Oe(e,t){const n=t.x-e.x,r=t.y-e.y,i=Math.sqrt(n*n+r*r);let o=Math.atan2(r,n);return o<-.5*ue&&(o+=ce),{angle:o,distance:i}}function Ce(e,t){return Math.sqrt(Math.pow(t.x-e.x,2)+Math.pow(t.y-e.y,2))}function Le(e,t){return(e-t+le)%ce-ue}function Ae(e){return(e%ce+ce)%ce}function Ie(e,t,n,r){const i=Ae(e),o=Ae(t),a=Ae(n),s=Ae(o-i),u=Ae(a-i),c=Ae(i-o),l=Ae(i-a);return i===o||i===a||r&&o===a||s>u&&c<l}function Pe(e,t,n){return Math.max(t,Math.min(n,e))}function Me(e){return Pe(e,-32768,32767)}function Re(e,t,n,r=1e-6){return e>=Math.min(t,n)-r&&e<=Math.max(t,n)+r}function je(e,t,n){n=n||(n=>e[n]<t);let r,i=e.length-1,o=0;for(;i-o>1;)r=o+i>>1,n(r)?o=r:i=r;return{lo:o,hi:i}}const De=(e,t,n,r)=>je(e,n,r?r=>{const i=e[r][t];return i<n||i===n&&e[r+1][t]===n}:r=>e[r][t]<n),Ne=(e,t,n)=>je(e,n,(r=>e[r][t]>=n));function Be(e,t,n){let r=0,i=e.length;for(;r<i&&e[r]<t;)r++;for(;i>r&&e[i-1]>n;)i--;return r>0||i<e.length?e.slice(r,i):e}const Ue=["push","pop","shift","splice","unshift"];function Fe(e,t){e._chartjs?e._chartjs.listeners.push(t):(Object.defineProperty(e,"_chartjs",{configurable:!0,enumerable:!1,value:{listeners:[t]}}),Ue.forEach((t=>{const n="_onData"+re(t),r=e[t];Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value(...t){const i=r.apply(this,t);return e._chartjs.listeners.forEach((e=>{"function"==typeof e[n]&&e[n](...t)})),i}})})))}function ze(e,t){const n=e._chartjs;if(!n)return;const r=n.listeners,i=r.indexOf(t);-1!==i&&r.splice(i,1),r.length>0||(Ue.forEach((t=>{delete e[t]})),delete e._chartjs)}function He(e){const t=new Set(e);return t.size===e.length?e:Array.from(t)}const Ze="undefined"==typeof window?function(e){return e()}:window.requestAnimationFrame;function qe(e,t){let n=[],r=!1;return function(...i){n=i,r||(r=!0,Ze.call(window,(()=>{r=!1,e.apply(t,n)})))}}function Ve(e,t){let n;return function(...r){return t?(clearTimeout(n),n=setTimeout(e,t,r)):e.apply(this,r),t}}const We=e=>"start"===e?"left":"end"===e?"right":"center",Ge=(e,t,n)=>"start"===e?t:"end"===e?n:(t+n)/2,$e=(e,t,n,r)=>e===(r?"left":"right")?n:"center"===e?(t+n)/2:t;function Ye(e,t,n){const r=t.length;let i=0,o=r;if(e._sorted){const{iScale:a,_parsed:s}=e,u=a.axis,{min:c,max:l,minDefined:f,maxDefined:d}=a.getUserBounds();f&&(i=Pe(Math.min(De(s,u,c).lo,n?r:De(t,u,a.getPixelForValue(c)).lo),0,r-1)),o=d?Pe(Math.max(De(s,a.axis,l,!0).hi+1,n?0:De(t,u,a.getPixelForValue(l),!0).hi+1),i,r)-i:r-i}return{start:i,count:o}}function Ke(e){const{xScale:t,yScale:n,_scaleRanges:r}=e,i={xmin:t.min,xmax:t.max,ymin:n.min,ymax:n.max};if(!r)return e._scaleRanges=i,!0;const o=r.xmin!==t.min||r.xmax!==t.max||r.ymin!==n.min||r.ymax!==n.max;return Object.assign(r,i),o}const Xe=e=>0===e||1===e,Qe=(e,t,n)=>-Math.pow(2,10*(e-=1))*Math.sin((e-t)*ce/n),Je=(e,t,n)=>Math.pow(2,-10*e)*Math.sin((e-t)*ce/n)+1,et={linear:e=>e,easeInQuad:e=>e*e,easeOutQuad:e=>-e*(e-2),easeInOutQuad:e=>(e/=.5)<1?.5*e*e:-.5*(--e*(e-2)-1),easeInCubic:e=>e*e*e,easeOutCubic:e=>(e-=1)*e*e+1,easeInOutCubic:e=>(e/=.5)<1?.5*e*e*e:.5*((e-=2)*e*e+2),easeInQuart:e=>e*e*e*e,easeOutQuart:e=>-((e-=1)*e*e*e-1),easeInOutQuart:e=>(e/=.5)<1?.5*e*e*e*e:-.5*((e-=2)*e*e*e-2),easeInQuint:e=>e*e*e*e*e,easeOutQuint:e=>(e-=1)*e*e*e*e+1,easeInOutQuint:e=>(e/=.5)<1?.5*e*e*e*e*e:.5*((e-=2)*e*e*e*e+2),easeInSine:e=>1-Math.cos(e*pe),easeOutSine:e=>Math.sin(e*pe),easeInOutSine:e=>-.5*(Math.cos(ue*e)-1),easeInExpo:e=>0===e?0:Math.pow(2,10*(e-1)),easeOutExpo:e=>1===e?1:1-Math.pow(2,-10*e),easeInOutExpo:e=>Xe(e)?e:e<.5?.5*Math.pow(2,10*(2*e-1)):.5*(2-Math.pow(2,-10*(2*e-1))),easeInCirc:e=>e>=1?e:-(Math.sqrt(1-e*e)-1),easeOutCirc:e=>Math.sqrt(1-(e-=1)*e),easeInOutCirc:e=>(e/=.5)<1?-.5*(Math.sqrt(1-e*e)-1):.5*(Math.sqrt(1-(e-=2)*e)+1),easeInElastic:e=>Xe(e)?e:Qe(e,.075,.3),easeOutElastic:e=>Xe(e)?e:Je(e,.075,.3),easeInOutElastic(e){const t=.1125;return Xe(e)?e:e<.5?.5*Qe(2*e,t,.45):.5+.5*Je(2*e-1,t,.45)},easeInBack(e){const t=1.70158;return e*e*((t+1)*e-t)},easeOutBack(e){const t=1.70158;return(e-=1)*e*((t+1)*e+t)+1},easeInOutBack(e){let t=1.70158;return(e/=.5)<1?e*e*((1+(t*=1.525))*e-t)*.5:.5*((e-=2)*e*((1+(t*=1.525))*e+t)+2)},easeInBounce:e=>1-et.easeOutBounce(1-e),easeOutBounce(e){const t=7.5625,n=2.75;return e<1/n?t*e*e:e<2/n?t*(e-=1.5/n)*e+.75:e<2.5/n?t*(e-=2.25/n)*e+.9375:t*(e-=2.625/n)*e+.984375},easeInOutBounce:e=>e<.5?.5*et.easeInBounce(2*e):.5*et.easeOutBounce(2*e-1)+.5};function tt(e){if(e&&"object"==typeof e){const t=e.toString();return"[object CanvasPattern]"===t||"[object CanvasGradient]"===t}return!1}function nt(e){return tt(e)?e:new j(e)}function rt(e){return tt(e)?e:new j(e).saturate(.5).darken(.1).hexString()}const it=["x","y","borderWidth","radius","tension"],ot=["color","borderColor","backgroundColor"];const at=new Map;function st(e,t,n){return function(e,t){t=t||{};const n=e+JSON.stringify(t);let r=at.get(n);return r||(r=new Intl.NumberFormat(e,t),at.set(n,r)),r}(t,n).format(e)}const ut={values:e=>U(e)?e:""+e,numeric(e,t,n){if(0===e)return"0";const r=this.chart.options.locale;let i,o=e;if(n.length>1){const t=Math.max(Math.abs(n[0].value),Math.abs(n[n.length-1].value));(t<1e-4||t>1e15)&&(i="scientific"),o=function(e,t){let n=t.length>3?t[2].value-t[1].value:t[1].value-t[0].value;Math.abs(n)>=1&&e!==Math.floor(e)&&(n=e-Math.floor(e));return n}(e,n)}const a=me(Math.abs(o)),s=isNaN(a)?1:Math.max(Math.min(-1*Math.floor(a),20),0),u={notation:i,minimumFractionDigits:s,maximumFractionDigits:s};return Object.assign(u,this.options.ticks.format),st(e,r,u)},logarithmic(e,t,n){if(0===e)return"0";const r=n[t].significand||e/Math.pow(10,Math.floor(me(e)));return[1,2,3,5,10,15].includes(r)||t>.8*n.length?ut.numeric.call(this,e,t,n):""}};var ct={formatters:ut};const lt=Object.create(null),ft=Object.create(null);function dt(e,t){if(!t)return e;const n=t.split(".");for(let t=0,r=n.length;t<r;++t){const r=n[t];e=e[r]||(e[r]=Object.create(null))}return e}function pt(e,t,n){return"string"==typeof t?Q(dt(e,t),n):Q(dt(e,""),t)}class ht{constructor(e,t){this.animation=void 0,this.backgroundColor="rgba(0,0,0,0.1)",this.borderColor="rgba(0,0,0,0.1)",this.color="#666",this.datasets={},this.devicePixelRatio=e=>e.chart.platform.getDevicePixelRatio(),this.elements={},this.events=["mousemove","mouseout","click","touchstart","touchmove"],this.font={family:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",size:12,style:"normal",lineHeight:1.2,weight:null},this.hover={},this.hoverBackgroundColor=(e,t)=>rt(t.backgroundColor),this.hoverBorderColor=(e,t)=>rt(t.borderColor),this.hoverColor=(e,t)=>rt(t.color),this.indexAxis="x",this.interaction={mode:"nearest",intersect:!0,includeInvisible:!1},this.maintainAspectRatio=!0,this.onHover=null,this.onClick=null,this.parsing=!0,this.plugins={},this.responsive=!0,this.scale=void 0,this.scales={},this.showLine=!0,this.drawActiveElementsOnTop=!0,this.describe(e),this.apply(t)}set(e,t){return pt(this,e,t)}get(e){return dt(this,e)}describe(e,t){return pt(ft,e,t)}override(e,t){return pt(lt,e,t)}route(e,t,n,r){const i=dt(this,e),o=dt(this,n),a="_"+t;Object.defineProperties(i,{[a]:{value:i[t],writable:!0},[t]:{enumerable:!0,get(){const e=this[a],t=o[r];return F(e)?Object.assign({},t,e):Z(e,t)},set(e){this[a]=e}}})}apply(e){e.forEach((e=>e(this)))}}var gt=new ht({_scriptable:e=>!e.startsWith("on"),_indexable:e=>"events"!==e,hover:{_fallback:"interaction"},interaction:{_scriptable:!1,_indexable:!1}},[function(e){e.set("animation",{delay:void 0,duration:1e3,easing:"easeOutQuart",fn:void 0,from:void 0,loop:void 0,to:void 0,type:void 0}),e.describe("animation",{_fallback:!1,_indexable:!1,_scriptable:e=>"onProgress"!==e&&"onComplete"!==e&&"fn"!==e}),e.set("animations",{colors:{type:"color",properties:ot},numbers:{type:"number",properties:it}}),e.describe("animations",{_fallback:"animation"}),e.set("transitions",{active:{animation:{duration:400}},resize:{animation:{duration:0}},show:{animations:{colors:{from:"transparent"},visible:{type:"boolean",duration:0}}},hide:{animations:{colors:{to:"transparent"},visible:{type:"boolean",easing:"linear",fn:e=>0|e}}}})},function(e){e.set("layout",{autoPadding:!0,padding:{top:0,right:0,bottom:0,left:0}})},function(e){e.set("scale",{display:!0,offset:!1,reverse:!1,beginAtZero:!1,bounds:"ticks",clip:!0,grace:0,grid:{display:!0,lineWidth:1,drawOnChartArea:!0,drawTicks:!0,tickLength:8,tickWidth:(e,t)=>t.lineWidth,tickColor:(e,t)=>t.color,offset:!1},border:{display:!0,dash:[],dashOffset:0,width:1},title:{display:!1,text:"",padding:{top:4,bottom:4}},ticks:{minRotation:0,maxRotation:50,mirror:!1,textStrokeWidth:0,textStrokeColor:"",padding:3,display:!0,autoSkip:!0,autoSkipPadding:3,labelOffset:0,callback:ct.formatters.values,minor:{},major:{},align:"center",crossAlign:"near",showLabelBackdrop:!1,backdropColor:"rgba(255, 255, 255, 0.75)",backdropPadding:2}}),e.route("scale.ticks","color","","color"),e.route("scale.grid","color","","borderColor"),e.route("scale.border","color","","borderColor"),e.route("scale.title","color","","color"),e.describe("scale",{_fallback:!1,_scriptable:e=>!e.startsWith("before")&&!e.startsWith("after")&&"callback"!==e&&"parser"!==e,_indexable:e=>"borderDash"!==e&&"tickBorderDash"!==e&&"dash"!==e}),e.describe("scales",{_fallback:"scale"}),e.describe("scale.ticks",{_scriptable:e=>"backdropPadding"!==e&&"callback"!==e,_indexable:e=>"backdropPadding"!==e})}]);function mt(e,t,n,r,i){let o=t[i];return o||(o=t[i]=e.measureText(i).width,n.push(i)),o>r&&(r=o),r}function yt(e,t,n,r){let i=(r=r||{}).data=r.data||{},o=r.garbageCollect=r.garbageCollect||[];r.font!==t&&(i=r.data={},o=r.garbageCollect=[],r.font=t),e.save(),e.font=t;let a=0;const s=n.length;let u,c,l,f,d;for(u=0;u<s;u++)if(f=n[u],null==f||U(f)){if(U(f))for(c=0,l=f.length;c<l;c++)d=f[c],null==d||U(d)||(a=mt(e,i,o,a,d))}else a=mt(e,i,o,a,f);e.restore();const p=o.length/2;if(p>n.length){for(u=0;u<p;u++)delete i[o[u]];o.splice(0,p)}return a}function vt(e,t,n){const r=e.currentDevicePixelRatio,i=0!==n?Math.max(n/2,.5):0;return Math.round((t-i)*r)/r+i}function bt(e,t){(t=t||e.getContext("2d")).save(),t.resetTransform(),t.clearRect(0,0,e.width,e.height),t.restore()}function _t(e,t,n,r){wt(e,t,n,r,null)}function wt(e,t,n,r,i){let o,a,s,u,c,l,f,d;const p=t.pointStyle,h=t.rotation,g=t.radius;let m=(h||0)*de;if(p&&"object"==typeof p&&(o=p.toString(),"[object HTMLImageElement]"===o||"[object HTMLCanvasElement]"===o))return e.save(),e.translate(n,r),e.rotate(m),e.drawImage(p,-p.width/2,-p.height/2,p.width,p.height),void e.restore();if(!(isNaN(g)||g<=0)){switch(e.beginPath(),p){default:i?e.ellipse(n,r,i/2,g,0,0,ce):e.arc(n,r,g,0,ce),e.closePath();break;case"triangle":l=i?i/2:g,e.moveTo(n+Math.sin(m)*l,r-Math.cos(m)*g),m+=ge,e.lineTo(n+Math.sin(m)*l,r-Math.cos(m)*g),m+=ge,e.lineTo(n+Math.sin(m)*l,r-Math.cos(m)*g),e.closePath();break;case"rectRounded":c=.516*g,u=g-c,a=Math.cos(m+he)*u,f=Math.cos(m+he)*(i?i/2-c:u),s=Math.sin(m+he)*u,d=Math.sin(m+he)*(i?i/2-c:u),e.arc(n-f,r-s,c,m-ue,m-pe),e.arc(n+d,r-a,c,m-pe,m),e.arc(n+f,r+s,c,m,m+pe),e.arc(n-d,r+a,c,m+pe,m+ue),e.closePath();break;case"rect":if(!h){u=Math.SQRT1_2*g,l=i?i/2:u,e.rect(n-l,r-u,2*l,2*u);break}m+=he;case"rectRot":f=Math.cos(m)*(i?i/2:g),a=Math.cos(m)*g,s=Math.sin(m)*g,d=Math.sin(m)*(i?i/2:g),e.moveTo(n-f,r-s),e.lineTo(n+d,r-a),e.lineTo(n+f,r+s),e.lineTo(n-d,r+a),e.closePath();break;case"crossRot":m+=he;case"cross":f=Math.cos(m)*(i?i/2:g),a=Math.cos(m)*g,s=Math.sin(m)*g,d=Math.sin(m)*(i?i/2:g),e.moveTo(n-f,r-s),e.lineTo(n+f,r+s),e.moveTo(n+d,r-a),e.lineTo(n-d,r+a);break;case"star":f=Math.cos(m)*(i?i/2:g),a=Math.cos(m)*g,s=Math.sin(m)*g,d=Math.sin(m)*(i?i/2:g),e.moveTo(n-f,r-s),e.lineTo(n+f,r+s),e.moveTo(n+d,r-a),e.lineTo(n-d,r+a),m+=he,f=Math.cos(m)*(i?i/2:g),a=Math.cos(m)*g,s=Math.sin(m)*g,d=Math.sin(m)*(i?i/2:g),e.moveTo(n-f,r-s),e.lineTo(n+f,r+s),e.moveTo(n+d,r-a),e.lineTo(n-d,r+a);break;case"line":a=i?i/2:Math.cos(m)*g,s=Math.sin(m)*g,e.moveTo(n-a,r-s),e.lineTo(n+a,r+s);break;case"dash":e.moveTo(n,r),e.lineTo(n+Math.cos(m)*(i?i/2:g),r+Math.sin(m)*g);break;case!1:e.closePath()}e.fill(),t.borderWidth>0&&e.stroke()}}function Tt(e,t,n){return n=n||.5,!t||e&&e.x>t.left-n&&e.x<t.right+n&&e.y>t.top-n&&e.y<t.bottom+n}function xt(e,t){e.save(),e.beginPath(),e.rect(t.left,t.top,t.right-t.left,t.bottom-t.top),e.clip()}function St(e){e.restore()}function kt(e,t,n,r,i){if(!t)return e.lineTo(n.x,n.y);if("middle"===i){const r=(t.x+n.x)/2;e.lineTo(r,t.y),e.lineTo(r,n.y)}else"after"===i!=!!r?e.lineTo(t.x,n.y):e.lineTo(n.x,t.y);e.lineTo(n.x,n.y)}function Et(e,t,n,r){if(!t)return e.lineTo(n.x,n.y);e.bezierCurveTo(r?t.cp1x:t.cp2x,r?t.cp1y:t.cp2y,r?n.cp2x:n.cp1x,r?n.cp2y:n.cp1y,n.x,n.y)}function Ot(e,t,n,r,i){if(i.strikethrough||i.underline){const o=e.measureText(r),a=t-o.actualBoundingBoxLeft,s=t+o.actualBoundingBoxRight,u=n-o.actualBoundingBoxAscent,c=n+o.actualBoundingBoxDescent,l=i.strikethrough?(u+c)/2:c;e.strokeStyle=e.fillStyle,e.beginPath(),e.lineWidth=i.decorationWidth||2,e.moveTo(a,l),e.lineTo(s,l),e.stroke()}}function Ct(e,t){const n=e.fillStyle;e.fillStyle=t.color,e.fillRect(t.left,t.top,t.width,t.height),e.fillStyle=n}function Lt(e,t,n,r,i,o={}){const a=U(t)?t:[t],s=o.strokeWidth>0&&""!==o.strokeColor;let u,c;for(e.save(),e.font=i.string,function(e,t){t.translation&&e.translate(t.translation[0],t.translation[1]),B(t.rotation)||e.rotate(t.rotation),t.color&&(e.fillStyle=t.color),t.textAlign&&(e.textAlign=t.textAlign),t.textBaseline&&(e.textBaseline=t.textBaseline)}(e,o),u=0;u<a.length;++u)c=a[u],o.backdrop&&Ct(e,o.backdrop),s&&(o.strokeColor&&(e.strokeStyle=o.strokeColor),B(o.strokeWidth)||(e.lineWidth=o.strokeWidth),e.strokeText(c,n,r,o.maxWidth)),e.fillText(c,n,r,o.maxWidth),Ot(e,n,r,c,o),r+=Number(i.lineHeight);e.restore()}function At(e,t){const{x:n,y:r,w:i,h:o,radius:a}=t;e.arc(n+a.topLeft,r+a.topLeft,a.topLeft,1.5*ue,ue,!0),e.lineTo(n,r+o-a.bottomLeft),e.arc(n+a.bottomLeft,r+o-a.bottomLeft,a.bottomLeft,ue,pe,!0),e.lineTo(n+i-a.bottomRight,r+o),e.arc(n+i-a.bottomRight,r+o-a.bottomRight,a.bottomRight,pe,0,!0),e.lineTo(n+i,r+a.topRight),e.arc(n+i-a.topRight,r+a.topRight,a.topRight,0,-pe,!0),e.lineTo(n+a.topLeft,r)}const It=/^(normal|(\d+(?:\.\d+)?)(px|em|%)?)$/,Pt=/^(normal|italic|initial|inherit|unset|(oblique( -?[0-9]?[0-9]deg)?))$/;function Mt(e,t){const n=(""+e).match(It);if(!n||"normal"===n[1])return 1.2*t;switch(e=+n[2],n[3]){case"px":return e;case"%":e/=100}return t*e}function Rt(e,t){const n={},r=F(t),i=r?Object.keys(t):t,o=F(e)?r?n=>Z(e[n],e[t[n]]):t=>e[t]:()=>e;for(const e of i)n[e]=+o(e)||0;return n}function jt(e){return Rt(e,{top:"y",right:"x",bottom:"y",left:"x"})}function Dt(e){return Rt(e,["topLeft","topRight","bottomLeft","bottomRight"])}function Nt(e){const t=jt(e);return t.width=t.left+t.right,t.height=t.top+t.bottom,t}function Bt(e,t){e=e||{},t=t||gt.font;let n=Z(e.size,t.size);"string"==typeof n&&(n=parseInt(n,10));let r=Z(e.style,t.style);r&&!(""+r).match(Pt)&&(console.warn('Invalid font style specified: "'+r+'"'),r=void 0);const i={family:Z(e.family,t.family),lineHeight:Mt(Z(e.lineHeight,t.lineHeight),n),size:n,style:r,weight:Z(e.weight,t.weight),string:""};return i.string=function(e){return!e||B(e.size)||B(e.family)?null:(e.style?e.style+" ":"")+(e.weight?e.weight+" ":"")+e.size+"px "+e.family}(i),i}function Ut(e,t,n,r){let i,o,a,s=!0;for(i=0,o=e.length;i<o;++i)if(a=e[i],void 0!==a&&(void 0!==t&&"function"==typeof a&&(a=a(t),s=!1),void 0!==n&&U(a)&&(a=a[n%a.length],s=!1),void 0!==a))return r&&!s&&(r.cacheable=!1),a}function Ft(e,t,n){const{min:r,max:i}=e,o=V(t,(i-r)/2),a=(e,t)=>n&&0===e?0:e+t;return{min:a(r,-Math.abs(o)),max:a(i,o)}}function zt(e,t){return Object.assign(Object.create(e),t)}function Ht(e,t=[""],n,r,i=(()=>e[0])){const o=n||e;void 0===r&&(r=Jt("_fallback",e));const a={[Symbol.toStringTag]:"Object",_cacheable:!0,_scopes:e,_rootScopes:o,_fallback:r,_getTarget:i,override:n=>Ht([n,...e],t,o,r)};return new Proxy(a,{deleteProperty:(t,n)=>(delete t[n],delete t._keys,delete e[0][n],!0),get:(n,r)=>Gt(n,r,(()=>function(e,t,n,r){let i;for(const o of t)if(i=Jt(Vt(o,e),n),void 0!==i)return Wt(e,i)?Xt(n,r,e,i):i}(r,t,e,n))),getOwnPropertyDescriptor:(e,t)=>Reflect.getOwnPropertyDescriptor(e._scopes[0],t),getPrototypeOf:()=>Reflect.getPrototypeOf(e[0]),has:(e,t)=>en(e).includes(t),ownKeys:e=>en(e),set(e,t,n){const r=e._storage||(e._storage=i());return e[t]=r[t]=n,delete e._keys,!0}})}function Zt(e,t,n,r){const i={_cacheable:!1,_proxy:e,_context:t,_subProxy:n,_stack:new Set,_descriptors:qt(e,r),setContext:t=>Zt(e,t,n,r),override:i=>Zt(e.override(i),t,n,r)};return new Proxy(i,{deleteProperty:(t,n)=>(delete t[n],delete e[n],!0),get:(e,t,n)=>Gt(e,t,(()=>function(e,t,n){const{_proxy:r,_context:i,_subProxy:o,_descriptors:a}=e;let s=r[t];oe(s)&&a.isScriptable(t)&&(s=function(e,t,n,r){const{_proxy:i,_context:o,_subProxy:a,_stack:s}=n;if(s.has(e))throw new Error("Recursion detected: "+Array.from(s).join("->")+"->"+e);s.add(e);let u=t(o,a||r);s.delete(e),Wt(e,u)&&(u=Xt(i._scopes,i,e,u));return u}(t,s,e,n));U(s)&&s.length&&(s=function(e,t,n,r){const{_proxy:i,_context:o,_subProxy:a,_descriptors:s}=n;if(void 0!==o.index&&r(e))return t[o.index%t.length];if(F(t[0])){const n=t,r=i._scopes.filter((e=>e!==n));t=[];for(const u of n){const n=Xt(r,i,e,u);t.push(Zt(n,o,a&&a[e],s))}}return t}(t,s,e,a.isIndexable));Wt(t,s)&&(s=Zt(s,i,o&&o[t],a));return s}(e,t,n))),getOwnPropertyDescriptor:(t,n)=>t._descriptors.allKeys?Reflect.has(e,n)?{enumerable:!0,configurable:!0}:void 0:Reflect.getOwnPropertyDescriptor(e,n),getPrototypeOf:()=>Reflect.getPrototypeOf(e),has:(t,n)=>Reflect.has(e,n),ownKeys:()=>Reflect.ownKeys(e),set:(t,n,r)=>(e[n]=r,delete t[n],!0)})}function qt(e,t={scriptable:!0,indexable:!0}){const{_scriptable:n=t.scriptable,_indexable:r=t.indexable,_allKeys:i=t.allKeys}=e;return{allKeys:i,scriptable:n,indexable:r,isScriptable:oe(n)?n:()=>n,isIndexable:oe(r)?r:()=>r}}const Vt=(e,t)=>e?e+re(t):t,Wt=(e,t)=>F(t)&&"adapters"!==e&&(null===Object.getPrototypeOf(t)||t.constructor===Object);function Gt(e,t,n){if(Object.prototype.hasOwnProperty.call(e,t))return e[t];const r=n();return e[t]=r,r}function $t(e,t,n){return oe(e)?e(t,n):e}const Yt=(e,t)=>!0===e?t:"string"==typeof e?ne(t,e):void 0;function Kt(e,t,n,r,i){for(const o of t){const t=Yt(n,o);if(t){e.add(t);const o=$t(t._fallback,n,i);if(void 0!==o&&o!==n&&o!==r)return o}else if(!1===t&&void 0!==r&&n!==r)return null}return!1}function Xt(e,t,n,r){const i=t._rootScopes,o=$t(t._fallback,n,r),a=[...e,...i],s=new Set;s.add(r);let u=Qt(s,a,n,o||n,r);return null!==u&&((void 0===o||o===n||(u=Qt(s,a,o,u,r),null!==u))&&Ht(Array.from(s),[""],i,o,(()=>function(e,t,n){const r=e._getTarget();t in r||(r[t]={});const i=r[t];if(U(i)&&F(n))return n;return i||{}}(t,n,r))))}function Qt(e,t,n,r,i){for(;n;)n=Kt(e,t,n,r,i);return n}function Jt(e,t){for(const n of t){if(!n)continue;const t=n[e];if(void 0!==t)return t}}function en(e){let t=e._keys;return t||(t=e._keys=function(e){const t=new Set;for(const n of e)for(const e of Object.keys(n).filter((e=>!e.startsWith("_"))))t.add(e);return Array.from(t)}(e._scopes)),t}function tn(e,t,n,r){const{iScale:i}=e,{key:o="r"}=this._parsing,a=new Array(r);let s,u,c,l;for(s=0,u=r;s<u;++s)c=s+n,l=t[c],a[s]={r:i.parse(ne(l,o),c)};return a}const nn=Number.EPSILON||1e-14,rn=(e,t)=>t<e.length&&!e[t].skip&&e[t],on=e=>"x"===e?"y":"x";function an(e,t,n,r){const i=e.skip?t:e,o=t,a=n.skip?t:n,s=Ce(o,i),u=Ce(a,o);let c=s/(s+u),l=u/(s+u);c=isNaN(c)?0:c,l=isNaN(l)?0:l;const f=r*c,d=r*l;return{previous:{x:o.x-f*(a.x-i.x),y:o.y-f*(a.y-i.y)},next:{x:o.x+d*(a.x-i.x),y:o.y+d*(a.y-i.y)}}}function sn(e,t="x"){const n=on(t),r=e.length,i=Array(r).fill(0),o=Array(r);let a,s,u,c=rn(e,0);for(a=0;a<r;++a)if(s=u,u=c,c=rn(e,a+1),u){if(c){const e=c[t]-u[t];i[a]=0!==e?(c[n]-u[n])/e:0}o[a]=s?c?ye(i[a-1])!==ye(i[a])?0:(i[a-1]+i[a])/2:i[a-1]:i[a]}!function(e,t,n){const r=e.length;let i,o,a,s,u,c=rn(e,0);for(let l=0;l<r-1;++l)u=c,c=rn(e,l+1),u&&c&&(ve(t[l],0,nn)?n[l]=n[l+1]=0:(i=n[l]/t[l],o=n[l+1]/t[l],s=Math.pow(i,2)+Math.pow(o,2),s<=9||(a=3/Math.sqrt(s),n[l]=i*a*t[l],n[l+1]=o*a*t[l])))}(e,i,o),function(e,t,n="x"){const r=on(n),i=e.length;let o,a,s,u=rn(e,0);for(let c=0;c<i;++c){if(a=s,s=u,u=rn(e,c+1),!s)continue;const i=s[n],l=s[r];a&&(o=(i-a[n])/3,s[`cp1${n}`]=i-o,s[`cp1${r}`]=l-o*t[c]),u&&(o=(u[n]-i)/3,s[`cp2${n}`]=i+o,s[`cp2${r}`]=l+o*t[c])}}(e,o,t)}function un(e,t,n){return Math.max(Math.min(e,n),t)}function cn(e,t,n,r,i){let o,a,s,u;if(t.spanGaps&&(e=e.filter((e=>!e.skip))),"monotone"===t.cubicInterpolationMode)sn(e,i);else{let n=r?e[e.length-1]:e[0];for(o=0,a=e.length;o<a;++o)s=e[o],u=an(n,s,e[Math.min(o+1,a-(r?0:1))%a],t.tension),s.cp1x=u.previous.x,s.cp1y=u.previous.y,s.cp2x=u.next.x,s.cp2y=u.next.y,n=s}t.capBezierPoints&&function(e,t){let n,r,i,o,a,s=Tt(e[0],t);for(n=0,r=e.length;n<r;++n)a=o,o=s,s=n<r-1&&Tt(e[n+1],t),o&&(i=e[n],a&&(i.cp1x=un(i.cp1x,t.left,t.right),i.cp1y=un(i.cp1y,t.top,t.bottom)),s&&(i.cp2x=un(i.cp2x,t.left,t.right),i.cp2y=un(i.cp2y,t.top,t.bottom)))}(e,n)}function ln(){return"undefined"!=typeof window&&"undefined"!=typeof document}function fn(e){let t=e.parentNode;return t&&"[object ShadowRoot]"===t.toString()&&(t=t.host),t}function dn(e,t,n){let r;return"string"==typeof e?(r=parseInt(e,10),-1!==e.indexOf("%")&&(r=r/100*t.parentNode[n])):r=e,r}const pn=e=>e.ownerDocument.defaultView.getComputedStyle(e,null);const hn=["top","right","bottom","left"];function gn(e,t,n){const r={};n=n?"-"+n:"";for(let i=0;i<4;i++){const o=hn[i];r[o]=parseFloat(e[t+"-"+o+n])||0}return r.width=r.left+r.right,r.height=r.top+r.bottom,r}function mn(e,t){if("native"in e)return e;const{canvas:n,currentDevicePixelRatio:r}=t,i=pn(n),o="border-box"===i.boxSizing,a=gn(i,"padding"),s=gn(i,"border","width"),{x:u,y:c,box:l}=function(e,t){const n=e.touches,r=n&&n.length?n[0]:e,{offsetX:i,offsetY:o}=r;let a,s,u=!1;if(((e,t,n)=>(e>0||t>0)&&(!n||!n.shadowRoot))(i,o,e.target))a=i,s=o;else{const e=t.getBoundingClientRect();a=r.clientX-e.left,s=r.clientY-e.top,u=!0}return{x:a,y:s,box:u}}(e,n),f=a.left+(l&&s.left),d=a.top+(l&&s.top);let{width:p,height:h}=t;return o&&(p-=a.width+s.width,h-=a.height+s.height),{x:Math.round((u-f)/p*n.width/r),y:Math.round((c-d)/h*n.height/r)}}const yn=e=>Math.round(10*e)/10;function vn(e,t,n,r){const i=pn(e),o=gn(i,"margin"),a=dn(i.maxWidth,e,"clientWidth")||fe,s=dn(i.maxHeight,e,"clientHeight")||fe,u=function(e,t,n){let r,i;if(void 0===t||void 0===n){const o=fn(e);if(o){const e=o.getBoundingClientRect(),a=pn(o),s=gn(a,"border","width"),u=gn(a,"padding");t=e.width-u.width-s.width,n=e.height-u.height-s.height,r=dn(a.maxWidth,o,"clientWidth"),i=dn(a.maxHeight,o,"clientHeight")}else t=e.clientWidth,n=e.clientHeight}return{width:t,height:n,maxWidth:r||fe,maxHeight:i||fe}}(e,t,n);let{width:c,height:l}=u;if("content-box"===i.boxSizing){const e=gn(i,"border","width"),t=gn(i,"padding");c-=t.width+e.width,l-=t.height+e.height}c=Math.max(0,c-o.width),l=Math.max(0,r?c/r:l-o.height),c=yn(Math.min(c,a,u.maxWidth)),l=yn(Math.min(l,s,u.maxHeight)),c&&!l&&(l=yn(c/2));return(void 0!==t||void 0!==n)&&r&&u.height&&l>u.height&&(l=u.height,c=yn(Math.floor(l*r))),{width:c,height:l}}function bn(e,t,n){const r=t||1,i=Math.floor(e.height*r),o=Math.floor(e.width*r);e.height=Math.floor(e.height),e.width=Math.floor(e.width);const a=e.canvas;return a.style&&(n||!a.style.height&&!a.style.width)&&(a.style.height=`${e.height}px`,a.style.width=`${e.width}px`),(e.currentDevicePixelRatio!==r||a.height!==i||a.width!==o)&&(e.currentDevicePixelRatio=r,a.height=i,a.width=o,e.ctx.setTransform(r,0,0,r,0,0),!0)}const _n=function(){let e=!1;try{const t={get passive(){return e=!0,!1}};ln()&&(window.addEventListener("test",null,t),window.removeEventListener("test",null,t))}catch(e){}return e}();function wn(e,t){const n=function(e,t){return pn(e).getPropertyValue(t)}(e,t),r=n&&n.match(/^(\d+)(\.\d+)?px$/);return r?+r[1]:void 0}function Tn(e,t,n,r){return{x:e.x+n*(t.x-e.x),y:e.y+n*(t.y-e.y)}}function xn(e,t,n,r){return{x:e.x+n*(t.x-e.x),y:"middle"===r?n<.5?e.y:t.y:"after"===r?n<1?e.y:t.y:n>0?t.y:e.y}}function Sn(e,t,n,r){const i={x:e.cp2x,y:e.cp2y},o={x:t.cp1x,y:t.cp1y},a=Tn(e,i,n),s=Tn(i,o,n),u=Tn(o,t,n),c=Tn(a,s,n),l=Tn(s,u,n);return Tn(c,l,n)}function kn(e,t,n){return e?function(e,t){return{x:n=>e+e+t-n,setWidth(e){t=e},textAlign:e=>"center"===e?e:"right"===e?"left":"right",xPlus:(e,t)=>e-t,leftForLtr:(e,t)=>e-t}}(t,n):{x:e=>e,setWidth(e){},textAlign:e=>e,xPlus:(e,t)=>e+t,leftForLtr:(e,t)=>e}}function En(e,t){let n,r;"ltr"!==t&&"rtl"!==t||(n=e.canvas.style,r=[n.getPropertyValue("direction"),n.getPropertyPriority("direction")],n.setProperty("direction",t,"important"),e.prevTextDirection=r)}function On(e,t){void 0!==t&&(delete e.prevTextDirection,e.canvas.style.setProperty("direction",t[0],t[1]))}function Cn(e){return"angle"===e?{between:Ie,compare:Le,normalize:Ae}:{between:Re,compare:(e,t)=>e-t,normalize:e=>e}}function Ln({start:e,end:t,count:n,loop:r,style:i}){return{start:e%n,end:t%n,loop:r&&(t-e+1)%n==0,style:i}}function An(e,t,n){if(!n)return[e];const{property:r,start:i,end:o}=n,a=t.length,{compare:s,between:u,normalize:c}=Cn(r),{start:l,end:f,loop:d,style:p}=function(e,t,n){const{property:r,start:i,end:o}=n,{between:a,normalize:s}=Cn(r),u=t.length;let c,l,{start:f,end:d,loop:p}=e;if(p){for(f+=u,d+=u,c=0,l=u;c<l&&a(s(t[f%u][r]),i,o);++c)f--,d--;f%=u,d%=u}return d<f&&(d+=u),{start:f,end:d,loop:p,style:e.style}}(e,t,n),h=[];let g,m,y,v=!1,b=null;const _=()=>v||u(i,y,g)&&0!==s(i,y),w=()=>!v||0===s(o,g)||u(o,y,g);for(let e=l,n=l;e<=f;++e)m=t[e%a],m.skip||(g=c(m[r]),g!==y&&(v=u(g,i,o),null===b&&_()&&(b=0===s(g,i)?e:n),null!==b&&w()&&(h.push(Ln({start:b,end:e,loop:d,count:a,style:p})),b=null),n=e,y=g));return null!==b&&h.push(Ln({start:b,end:f,loop:d,count:a,style:p})),h}function In(e,t){const n=[],r=e.segments;for(let i=0;i<r.length;i++){const o=An(r[i],e.points,t);o.length&&n.push(...o)}return n}function Pn(e,t){const n=e.points,r=e.options.spanGaps,i=n.length;if(!i)return[];const o=!!e._loop,{start:a,end:s}=function(e,t,n,r){let i=0,o=t-1;if(n&&!r)for(;i<t&&!e[i].skip;)i++;for(;i<t&&e[i].skip;)i++;for(i%=t,n&&(o+=i);o>i&&e[o%t].skip;)o--;return o%=t,{start:i,end:o}}(n,i,o,r);if(!0===r)return Mn(e,[{start:a,end:s,loop:o}],n,t);return Mn(e,function(e,t,n,r){const i=e.length,o=[];let a,s=t,u=e[t];for(a=t+1;a<=n;++a){const n=e[a%i];n.skip||n.stop?u.skip||(r=!1,o.push({start:t%i,end:(a-1)%i,loop:r}),t=s=n.stop?a:null):(s=a,u.skip&&(t=a)),u=n}return null!==s&&o.push({start:t%i,end:s%i,loop:r}),o}(n,a,s<a?s+i:s,!!e._fullLoop&&0===a&&s===i-1),n,t)}function Mn(e,t,n,r){return r&&r.setContext&&n?function(e,t,n,r){const i=e._chart.getContext(),o=Rn(e.options),{_datasetIndex:a,options:{spanGaps:s}}=e,u=n.length,c=[];let l=o,f=t[0].start,d=f;function p(e,t,r,i){const o=s?-1:1;if(e!==t){for(e+=u;n[e%u].skip;)e-=o;for(;n[t%u].skip;)t+=o;e%u!=t%u&&(c.push({start:e%u,end:t%u,loop:r,style:i}),l=i,f=t%u)}}for(const e of t){f=s?f:e.start;let t,o=n[f%u];for(d=f+1;d<=e.end;d++){const s=n[d%u];t=Rn(r.setContext(zt(i,{type:"segment",p0:o,p1:s,p0DataIndex:(d-1)%u,p1DataIndex:d%u,datasetIndex:a}))),jn(t,l)&&p(f,d-1,e.loop,l),o=s,l=t}f<d-1&&p(f,d-1,e.loop,l)}return c}(e,t,n,r):t}function Rn(e){return{backgroundColor:e.backgroundColor,borderCapStyle:e.borderCapStyle,borderDash:e.borderDash,borderDashOffset:e.borderDashOffset,borderJoinStyle:e.borderJoinStyle,borderWidth:e.borderWidth,borderColor:e.borderColor}}function jn(e,t){if(!t)return!1;const n=[],r=function(e,t){return tt(t)?(n.includes(t)||n.push(t),n.indexOf(t)):t};return JSON.stringify(e,r)!==JSON.stringify(t,r)}},26495:function(e,t,n){"use strict";n.d(t,{kL:function(){return f}});var r=n(28416),i=n(23148);const o="label";function a(e,t){"function"==typeof e?e(t):e&&(e.current=t)}function s(e,t){e.labels=t}function u(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:o;const r=[];e.datasets=t.map((t=>{const i=e.datasets.find((e=>e[n]===t[n]));return i&&t.data&&!r.includes(i)?(r.push(i),Object.assign(i,t),i):{...t}}))}function c(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:o;const n={labels:[],datasets:[]};return s(n,e.labels),u(n,e.datasets,t),n}function l(e,t){const{height:n=150,width:o=300,redraw:l=!1,datasetIdKey:f,type:d,data:p,options:h,plugins:g=[],fallbackContent:m,updateMode:y,...v}=e,b=(0,r.useRef)(null),_=(0,r.useRef)(),w=()=>{b.current&&(_.current=new i.kL(b.current,{type:d,data:c(p,f),options:h&&{...h},plugins:g}),a(t,_.current))},T=()=>{a(t,null),_.current&&(_.current.destroy(),_.current=null)};return(0,r.useEffect)((()=>{!l&&_.current&&h&&function(e,t){const n=e.options;n&&t&&Object.assign(n,t)}(_.current,h)}),[l,h]),(0,r.useEffect)((()=>{!l&&_.current&&s(_.current.config.data,p.labels)}),[l,p.labels]),(0,r.useEffect)((()=>{!l&&_.current&&p.datasets&&u(_.current.config.data,p.datasets,f)}),[l,p.datasets]),(0,r.useEffect)((()=>{_.current&&(l?(T(),setTimeout(w)):_.current.update(y))}),[l,h,p.labels,p.datasets,y]),(0,r.useEffect)((()=>{_.current&&(T(),setTimeout(w))}),[d]),(0,r.useEffect)((()=>(w(),()=>T())),[]),r.createElement("canvas",Object.assign({ref:b,role:"img",height:n,width:o},v),m)}const f=(0,r.forwardRef)(l)},38776:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r="Invariant failed";function i(e,t){if(!e)throw new Error(r)}},2228:function(e){"use strict";e.exports=JSON.parse('{"supplemental":{"version":{"_unicodeVersion":"13.0.0","_cldrVersion":"38"},"likelySubtags":{"aa":"aa-Latn-ET","aai":"aai-Latn-ZZ","aak":"aak-Latn-ZZ","aau":"aau-Latn-ZZ","ab":"ab-Cyrl-GE","abi":"abi-Latn-ZZ","abq":"abq-Cyrl-ZZ","abr":"abr-Latn-GH","abt":"abt-Latn-ZZ","aby":"aby-Latn-ZZ","acd":"acd-Latn-ZZ","ace":"ace-Latn-ID","ach":"ach-Latn-UG","ada":"ada-Latn-GH","ade":"ade-Latn-ZZ","adj":"adj-Latn-ZZ","adp":"adp-Tibt-BT","ady":"ady-Cyrl-RU","adz":"adz-Latn-ZZ","ae":"ae-Avst-IR","aeb":"aeb-Arab-TN","aey":"aey-Latn-ZZ","af":"af-Latn-ZA","agc":"agc-Latn-ZZ","agd":"agd-Latn-ZZ","agg":"agg-Latn-ZZ","agm":"agm-Latn-ZZ","ago":"ago-Latn-ZZ","agq":"agq-Latn-CM","aha":"aha-Latn-ZZ","ahl":"ahl-Latn-ZZ","aho":"aho-Ahom-IN","ajg":"ajg-Latn-ZZ","ak":"ak-Latn-GH","akk":"akk-Xsux-IQ","ala":"ala-Latn-ZZ","ali":"ali-Latn-ZZ","aln":"aln-Latn-XK","alt":"alt-Cyrl-RU","am":"am-Ethi-ET","amm":"amm-Latn-ZZ","amn":"amn-Latn-ZZ","amo":"amo-Latn-NG","amp":"amp-Latn-ZZ","an":"an-Latn-ES","anc":"anc-Latn-ZZ","ank":"ank-Latn-ZZ","ann":"ann-Latn-ZZ","any":"any-Latn-ZZ","aoj":"aoj-Latn-ZZ","aom":"aom-Latn-ZZ","aoz":"aoz-Latn-ID","apc":"apc-Arab-ZZ","apd":"apd-Arab-TG","ape":"ape-Latn-ZZ","apr":"apr-Latn-ZZ","aps":"aps-Latn-ZZ","apz":"apz-Latn-ZZ","ar":"ar-Arab-EG","arc":"arc-Armi-IR","arc-Nbat":"arc-Nbat-JO","arc-Palm":"arc-Palm-SY","arh":"arh-Latn-ZZ","arn":"arn-Latn-CL","aro":"aro-Latn-BO","arq":"arq-Arab-DZ","ars":"ars-Arab-SA","ary":"ary-Arab-MA","arz":"arz-Arab-EG","as":"as-Beng-IN","asa":"asa-Latn-TZ","ase":"ase-Sgnw-US","asg":"asg-Latn-ZZ","aso":"aso-Latn-ZZ","ast":"ast-Latn-ES","ata":"ata-Latn-ZZ","atg":"atg-Latn-ZZ","atj":"atj-Latn-CA","auy":"auy-Latn-ZZ","av":"av-Cyrl-RU","avl":"avl-Arab-ZZ","avn":"avn-Latn-ZZ","avt":"avt-Latn-ZZ","avu":"avu-Latn-ZZ","awa":"awa-Deva-IN","awb":"awb-Latn-ZZ","awo":"awo-Latn-ZZ","awx":"awx-Latn-ZZ","ay":"ay-Latn-BO","ayb":"ayb-Latn-ZZ","az":"az-Latn-AZ","az-Arab":"az-Arab-IR","az-IQ":"az-Arab-IQ","az-IR":"az-Arab-IR","az-RU":"az-Cyrl-RU","ba":"ba-Cyrl-RU","bal":"bal-Arab-PK","ban":"ban-Latn-ID","bap":"bap-Deva-NP","bar":"bar-Latn-AT","bas":"bas-Latn-CM","bav":"bav-Latn-ZZ","bax":"bax-Bamu-CM","bba":"bba-Latn-ZZ","bbb":"bbb-Latn-ZZ","bbc":"bbc-Latn-ID","bbd":"bbd-Latn-ZZ","bbj":"bbj-Latn-CM","bbp":"bbp-Latn-ZZ","bbr":"bbr-Latn-ZZ","bcf":"bcf-Latn-ZZ","bch":"bch-Latn-ZZ","bci":"bci-Latn-CI","bcm":"bcm-Latn-ZZ","bcn":"bcn-Latn-ZZ","bco":"bco-Latn-ZZ","bcq":"bcq-Ethi-ZZ","bcu":"bcu-Latn-ZZ","bdd":"bdd-Latn-ZZ","be":"be-Cyrl-BY","bef":"bef-Latn-ZZ","beh":"beh-Latn-ZZ","bej":"bej-Arab-SD","bem":"bem-Latn-ZM","bet":"bet-Latn-ZZ","bew":"bew-Latn-ID","bex":"bex-Latn-ZZ","bez":"bez-Latn-TZ","bfd":"bfd-Latn-CM","bfq":"bfq-Taml-IN","bft":"bft-Arab-PK","bfy":"bfy-Deva-IN","bg":"bg-Cyrl-BG","bgc":"bgc-Deva-IN","bgn":"bgn-Arab-PK","bgx":"bgx-Grek-TR","bhb":"bhb-Deva-IN","bhg":"bhg-Latn-ZZ","bhi":"bhi-Deva-IN","bhl":"bhl-Latn-ZZ","bho":"bho-Deva-IN","bhy":"bhy-Latn-ZZ","bi":"bi-Latn-VU","bib":"bib-Latn-ZZ","big":"big-Latn-ZZ","bik":"bik-Latn-PH","bim":"bim-Latn-ZZ","bin":"bin-Latn-NG","bio":"bio-Latn-ZZ","biq":"biq-Latn-ZZ","bjh":"bjh-Latn-ZZ","bji":"bji-Ethi-ZZ","bjj":"bjj-Deva-IN","bjn":"bjn-Latn-ID","bjo":"bjo-Latn-ZZ","bjr":"bjr-Latn-ZZ","bjt":"bjt-Latn-SN","bjz":"bjz-Latn-ZZ","bkc":"bkc-Latn-ZZ","bkm":"bkm-Latn-CM","bkq":"bkq-Latn-ZZ","bku":"bku-Latn-PH","bkv":"bkv-Latn-ZZ","blt":"blt-Tavt-VN","bm":"bm-Latn-ML","bmh":"bmh-Latn-ZZ","bmk":"bmk-Latn-ZZ","bmq":"bmq-Latn-ML","bmu":"bmu-Latn-ZZ","bn":"bn-Beng-BD","bng":"bng-Latn-ZZ","bnm":"bnm-Latn-ZZ","bnp":"bnp-Latn-ZZ","bo":"bo-Tibt-CN","boj":"boj-Latn-ZZ","bom":"bom-Latn-ZZ","bon":"bon-Latn-ZZ","bpy":"bpy-Beng-IN","bqc":"bqc-Latn-ZZ","bqi":"bqi-Arab-IR","bqp":"bqp-Latn-ZZ","bqv":"bqv-Latn-CI","br":"br-Latn-FR","bra":"bra-Deva-IN","brh":"brh-Arab-PK","brx":"brx-Deva-IN","brz":"brz-Latn-ZZ","bs":"bs-Latn-BA","bsj":"bsj-Latn-ZZ","bsq":"bsq-Bass-LR","bss":"bss-Latn-CM","bst":"bst-Ethi-ZZ","bto":"bto-Latn-PH","btt":"btt-Latn-ZZ","btv":"btv-Deva-PK","bua":"bua-Cyrl-RU","buc":"buc-Latn-YT","bud":"bud-Latn-ZZ","bug":"bug-Latn-ID","buk":"buk-Latn-ZZ","bum":"bum-Latn-CM","buo":"buo-Latn-ZZ","bus":"bus-Latn-ZZ","buu":"buu-Latn-ZZ","bvb":"bvb-Latn-GQ","bwd":"bwd-Latn-ZZ","bwr":"bwr-Latn-ZZ","bxh":"bxh-Latn-ZZ","bye":"bye-Latn-ZZ","byn":"byn-Ethi-ER","byr":"byr-Latn-ZZ","bys":"bys-Latn-ZZ","byv":"byv-Latn-CM","byx":"byx-Latn-ZZ","bza":"bza-Latn-ZZ","bze":"bze-Latn-ML","bzf":"bzf-Latn-ZZ","bzh":"bzh-Latn-ZZ","bzw":"bzw-Latn-ZZ","ca":"ca-Latn-ES","cad":"cad-Latn-US","can":"can-Latn-ZZ","cbj":"cbj-Latn-ZZ","cch":"cch-Latn-NG","ccp":"ccp-Cakm-BD","ce":"ce-Cyrl-RU","ceb":"ceb-Latn-PH","cfa":"cfa-Latn-ZZ","cgg":"cgg-Latn-UG","ch":"ch-Latn-GU","chk":"chk-Latn-FM","chm":"chm-Cyrl-RU","cho":"cho-Latn-US","chp":"chp-Latn-CA","chr":"chr-Cher-US","cic":"cic-Latn-US","cja":"cja-Arab-KH","cjm":"cjm-Cham-VN","cjv":"cjv-Latn-ZZ","ckb":"ckb-Arab-IQ","ckl":"ckl-Latn-ZZ","cko":"cko-Latn-ZZ","cky":"cky-Latn-ZZ","cla":"cla-Latn-ZZ","cme":"cme-Latn-ZZ","cmg":"cmg-Soyo-MN","co":"co-Latn-FR","cop":"cop-Copt-EG","cps":"cps-Latn-PH","cr":"cr-Cans-CA","crh":"crh-Cyrl-UA","crj":"crj-Cans-CA","crk":"crk-Cans-CA","crl":"crl-Cans-CA","crm":"crm-Cans-CA","crs":"crs-Latn-SC","cs":"cs-Latn-CZ","csb":"csb-Latn-PL","csw":"csw-Cans-CA","ctd":"ctd-Pauc-MM","cu":"cu-Cyrl-RU","cu-Glag":"cu-Glag-BG","cv":"cv-Cyrl-RU","cy":"cy-Latn-GB","da":"da-Latn-DK","dad":"dad-Latn-ZZ","daf":"daf-Latn-CI","dag":"dag-Latn-ZZ","dah":"dah-Latn-ZZ","dak":"dak-Latn-US","dar":"dar-Cyrl-RU","dav":"dav-Latn-KE","dbd":"dbd-Latn-ZZ","dbq":"dbq-Latn-ZZ","dcc":"dcc-Arab-IN","ddn":"ddn-Latn-ZZ","de":"de-Latn-DE","ded":"ded-Latn-ZZ","den":"den-Latn-CA","dga":"dga-Latn-ZZ","dgh":"dgh-Latn-ZZ","dgi":"dgi-Latn-ZZ","dgl":"dgl-Arab-ZZ","dgr":"dgr-Latn-CA","dgz":"dgz-Latn-ZZ","dia":"dia-Latn-ZZ","dje":"dje-Latn-NE","dnj":"dnj-Latn-CI","dob":"dob-Latn-ZZ","doi":"doi-Deva-IN","dop":"dop-Latn-ZZ","dow":"dow-Latn-ZZ","drh":"drh-Mong-CN","dri":"dri-Latn-ZZ","drs":"drs-Ethi-ZZ","dsb":"dsb-Latn-DE","dtm":"dtm-Latn-ML","dtp":"dtp-Latn-MY","dts":"dts-Latn-ZZ","dty":"dty-Deva-NP","dua":"dua-Latn-CM","duc":"duc-Latn-ZZ","dud":"dud-Latn-ZZ","dug":"dug-Latn-ZZ","dv":"dv-Thaa-MV","dva":"dva-Latn-ZZ","dww":"dww-Latn-ZZ","dyo":"dyo-Latn-SN","dyu":"dyu-Latn-BF","dz":"dz-Tibt-BT","dzg":"dzg-Latn-ZZ","ebu":"ebu-Latn-KE","ee":"ee-Latn-GH","efi":"efi-Latn-NG","egl":"egl-Latn-IT","egy":"egy-Egyp-EG","eka":"eka-Latn-ZZ","eky":"eky-Kali-MM","el":"el-Grek-GR","ema":"ema-Latn-ZZ","emi":"emi-Latn-ZZ","en":"en-Latn-US","en-Shaw":"en-Shaw-GB","enn":"enn-Latn-ZZ","enq":"enq-Latn-ZZ","eo":"eo-Latn-001","eri":"eri-Latn-ZZ","es":"es-Latn-ES","esg":"esg-Gonm-IN","esu":"esu-Latn-US","et":"et-Latn-EE","etr":"etr-Latn-ZZ","ett":"ett-Ital-IT","etu":"etu-Latn-ZZ","etx":"etx-Latn-ZZ","eu":"eu-Latn-ES","ewo":"ewo-Latn-CM","ext":"ext-Latn-ES","eza":"eza-Latn-ZZ","fa":"fa-Arab-IR","faa":"faa-Latn-ZZ","fab":"fab-Latn-ZZ","fag":"fag-Latn-ZZ","fai":"fai-Latn-ZZ","fan":"fan-Latn-GQ","ff":"ff-Latn-SN","ff-Adlm":"ff-Adlm-GN","ffi":"ffi-Latn-ZZ","ffm":"ffm-Latn-ML","fi":"fi-Latn-FI","fia":"fia-Arab-SD","fil":"fil-Latn-PH","fit":"fit-Latn-SE","fj":"fj-Latn-FJ","flr":"flr-Latn-ZZ","fmp":"fmp-Latn-ZZ","fo":"fo-Latn-FO","fod":"fod-Latn-ZZ","fon":"fon-Latn-BJ","for":"for-Latn-ZZ","fpe":"fpe-Latn-ZZ","fqs":"fqs-Latn-ZZ","fr":"fr-Latn-FR","frc":"frc-Latn-US","frp":"frp-Latn-FR","frr":"frr-Latn-DE","frs":"frs-Latn-DE","fub":"fub-Arab-CM","fud":"fud-Latn-WF","fue":"fue-Latn-ZZ","fuf":"fuf-Latn-GN","fuh":"fuh-Latn-ZZ","fuq":"fuq-Latn-NE","fur":"fur-Latn-IT","fuv":"fuv-Latn-NG","fuy":"fuy-Latn-ZZ","fvr":"fvr-Latn-SD","fy":"fy-Latn-NL","ga":"ga-Latn-IE","gaa":"gaa-Latn-GH","gaf":"gaf-Latn-ZZ","gag":"gag-Latn-MD","gah":"gah-Latn-ZZ","gaj":"gaj-Latn-ZZ","gam":"gam-Latn-ZZ","gan":"gan-Hans-CN","gaw":"gaw-Latn-ZZ","gay":"gay-Latn-ID","gba":"gba-Latn-ZZ","gbf":"gbf-Latn-ZZ","gbm":"gbm-Deva-IN","gby":"gby-Latn-ZZ","gbz":"gbz-Arab-IR","gcr":"gcr-Latn-GF","gd":"gd-Latn-GB","gde":"gde-Latn-ZZ","gdn":"gdn-Latn-ZZ","gdr":"gdr-Latn-ZZ","geb":"geb-Latn-ZZ","gej":"gej-Latn-ZZ","gel":"gel-Latn-ZZ","gez":"gez-Ethi-ET","gfk":"gfk-Latn-ZZ","ggn":"ggn-Deva-NP","ghs":"ghs-Latn-ZZ","gil":"gil-Latn-KI","gim":"gim-Latn-ZZ","gjk":"gjk-Arab-PK","gjn":"gjn-Latn-ZZ","gju":"gju-Arab-PK","gkn":"gkn-Latn-ZZ","gkp":"gkp-Latn-ZZ","gl":"gl-Latn-ES","glk":"glk-Arab-IR","gmm":"gmm-Latn-ZZ","gmv":"gmv-Ethi-ZZ","gn":"gn-Latn-PY","gnd":"gnd-Latn-ZZ","gng":"gng-Latn-ZZ","god":"god-Latn-ZZ","gof":"gof-Ethi-ZZ","goi":"goi-Latn-ZZ","gom":"gom-Deva-IN","gon":"gon-Telu-IN","gor":"gor-Latn-ID","gos":"gos-Latn-NL","got":"got-Goth-UA","grb":"grb-Latn-ZZ","grc":"grc-Cprt-CY","grc-Linb":"grc-Linb-GR","grt":"grt-Beng-IN","grw":"grw-Latn-ZZ","gsw":"gsw-Latn-CH","gu":"gu-Gujr-IN","gub":"gub-Latn-BR","guc":"guc-Latn-CO","gud":"gud-Latn-ZZ","gur":"gur-Latn-GH","guw":"guw-Latn-ZZ","gux":"gux-Latn-ZZ","guz":"guz-Latn-KE","gv":"gv-Latn-IM","gvf":"gvf-Latn-ZZ","gvr":"gvr-Deva-NP","gvs":"gvs-Latn-ZZ","gwc":"gwc-Arab-ZZ","gwi":"gwi-Latn-CA","gwt":"gwt-Arab-ZZ","gyi":"gyi-Latn-ZZ","ha":"ha-Latn-NG","ha-CM":"ha-Arab-CM","ha-SD":"ha-Arab-SD","hag":"hag-Latn-ZZ","hak":"hak-Hans-CN","ham":"ham-Latn-ZZ","haw":"haw-Latn-US","haz":"haz-Arab-AF","hbb":"hbb-Latn-ZZ","hdy":"hdy-Ethi-ZZ","he":"he-Hebr-IL","hhy":"hhy-Latn-ZZ","hi":"hi-Deva-IN","hia":"hia-Latn-ZZ","hif":"hif-Latn-FJ","hig":"hig-Latn-ZZ","hih":"hih-Latn-ZZ","hil":"hil-Latn-PH","hla":"hla-Latn-ZZ","hlu":"hlu-Hluw-TR","hmd":"hmd-Plrd-CN","hmt":"hmt-Latn-ZZ","hnd":"hnd-Arab-PK","hne":"hne-Deva-IN","hnj":"hnj-Hmng-LA","hnn":"hnn-Latn-PH","hno":"hno-Arab-PK","ho":"ho-Latn-PG","hoc":"hoc-Deva-IN","hoj":"hoj-Deva-IN","hot":"hot-Latn-ZZ","hr":"hr-Latn-HR","hsb":"hsb-Latn-DE","hsn":"hsn-Hans-CN","ht":"ht-Latn-HT","hu":"hu-Latn-HU","hui":"hui-Latn-ZZ","hy":"hy-Armn-AM","hz":"hz-Latn-NA","ia":"ia-Latn-001","ian":"ian-Latn-ZZ","iar":"iar-Latn-ZZ","iba":"iba-Latn-MY","ibb":"ibb-Latn-NG","iby":"iby-Latn-ZZ","ica":"ica-Latn-ZZ","ich":"ich-Latn-ZZ","id":"id-Latn-ID","idd":"idd-Latn-ZZ","idi":"idi-Latn-ZZ","idu":"idu-Latn-ZZ","ife":"ife-Latn-TG","ig":"ig-Latn-NG","igb":"igb-Latn-ZZ","ige":"ige-Latn-ZZ","ii":"ii-Yiii-CN","ijj":"ijj-Latn-ZZ","ik":"ik-Latn-US","ikk":"ikk-Latn-ZZ","ikt":"ikt-Latn-CA","ikw":"ikw-Latn-ZZ","ikx":"ikx-Latn-ZZ","ilo":"ilo-Latn-PH","imo":"imo-Latn-ZZ","in":"in-Latn-ID","inh":"inh-Cyrl-RU","io":"io-Latn-001","iou":"iou-Latn-ZZ","iri":"iri-Latn-ZZ","is":"is-Latn-IS","it":"it-Latn-IT","iu":"iu-Cans-CA","iw":"iw-Hebr-IL","iwm":"iwm-Latn-ZZ","iws":"iws-Latn-ZZ","izh":"izh-Latn-RU","izi":"izi-Latn-ZZ","ja":"ja-Jpan-JP","jab":"jab-Latn-ZZ","jam":"jam-Latn-JM","jar":"jar-Latn-ZZ","jbo":"jbo-Latn-001","jbu":"jbu-Latn-ZZ","jen":"jen-Latn-ZZ","jgk":"jgk-Latn-ZZ","jgo":"jgo-Latn-CM","ji":"ji-Hebr-UA","jib":"jib-Latn-ZZ","jmc":"jmc-Latn-TZ","jml":"jml-Deva-NP","jra":"jra-Latn-ZZ","jut":"jut-Latn-DK","jv":"jv-Latn-ID","jw":"jw-Latn-ID","ka":"ka-Geor-GE","kaa":"kaa-Cyrl-UZ","kab":"kab-Latn-DZ","kac":"kac-Latn-MM","kad":"kad-Latn-ZZ","kai":"kai-Latn-ZZ","kaj":"kaj-Latn-NG","kam":"kam-Latn-KE","kao":"kao-Latn-ML","kbd":"kbd-Cyrl-RU","kbm":"kbm-Latn-ZZ","kbp":"kbp-Latn-ZZ","kbq":"kbq-Latn-ZZ","kbx":"kbx-Latn-ZZ","kby":"kby-Arab-NE","kcg":"kcg-Latn-NG","kck":"kck-Latn-ZW","kcl":"kcl-Latn-ZZ","kct":"kct-Latn-ZZ","kde":"kde-Latn-TZ","kdh":"kdh-Arab-TG","kdl":"kdl-Latn-ZZ","kdt":"kdt-Thai-TH","kea":"kea-Latn-CV","ken":"ken-Latn-CM","kez":"kez-Latn-ZZ","kfo":"kfo-Latn-CI","kfr":"kfr-Deva-IN","kfy":"kfy-Deva-IN","kg":"kg-Latn-CD","kge":"kge-Latn-ID","kgf":"kgf-Latn-ZZ","kgp":"kgp-Latn-BR","kha":"kha-Latn-IN","khb":"khb-Talu-CN","khn":"khn-Deva-IN","khq":"khq-Latn-ML","khs":"khs-Latn-ZZ","kht":"kht-Mymr-IN","khw":"khw-Arab-PK","khz":"khz-Latn-ZZ","ki":"ki-Latn-KE","kij":"kij-Latn-ZZ","kiu":"kiu-Latn-TR","kiw":"kiw-Latn-ZZ","kj":"kj-Latn-NA","kjd":"kjd-Latn-ZZ","kjg":"kjg-Laoo-LA","kjs":"kjs-Latn-ZZ","kjy":"kjy-Latn-ZZ","kk":"kk-Cyrl-KZ","kk-AF":"kk-Arab-AF","kk-Arab":"kk-Arab-CN","kk-CN":"kk-Arab-CN","kk-IR":"kk-Arab-IR","kk-MN":"kk-Arab-MN","kkc":"kkc-Latn-ZZ","kkj":"kkj-Latn-CM","kl":"kl-Latn-GL","kln":"kln-Latn-KE","klq":"klq-Latn-ZZ","klt":"klt-Latn-ZZ","klx":"klx-Latn-ZZ","km":"km-Khmr-KH","kmb":"kmb-Latn-AO","kmh":"kmh-Latn-ZZ","kmo":"kmo-Latn-ZZ","kms":"kms-Latn-ZZ","kmu":"kmu-Latn-ZZ","kmw":"kmw-Latn-ZZ","kn":"kn-Knda-IN","knf":"knf-Latn-GW","knp":"knp-Latn-ZZ","ko":"ko-Kore-KR","koi":"koi-Cyrl-RU","kok":"kok-Deva-IN","kol":"kol-Latn-ZZ","kos":"kos-Latn-FM","koz":"koz-Latn-ZZ","kpe":"kpe-Latn-LR","kpf":"kpf-Latn-ZZ","kpo":"kpo-Latn-ZZ","kpr":"kpr-Latn-ZZ","kpx":"kpx-Latn-ZZ","kqb":"kqb-Latn-ZZ","kqf":"kqf-Latn-ZZ","kqs":"kqs-Latn-ZZ","kqy":"kqy-Ethi-ZZ","kr":"kr-Latn-ZZ","krc":"krc-Cyrl-RU","kri":"kri-Latn-SL","krj":"krj-Latn-PH","krl":"krl-Latn-RU","krs":"krs-Latn-ZZ","kru":"kru-Deva-IN","ks":"ks-Arab-IN","ksb":"ksb-Latn-TZ","ksd":"ksd-Latn-ZZ","ksf":"ksf-Latn-CM","ksh":"ksh-Latn-DE","ksj":"ksj-Latn-ZZ","ksr":"ksr-Latn-ZZ","ktb":"ktb-Ethi-ZZ","ktm":"ktm-Latn-ZZ","kto":"kto-Latn-ZZ","ktr":"ktr-Latn-MY","ku":"ku-Latn-TR","ku-Arab":"ku-Arab-IQ","ku-LB":"ku-Arab-LB","ku-Yezi":"ku-Yezi-GE","kub":"kub-Latn-ZZ","kud":"kud-Latn-ZZ","kue":"kue-Latn-ZZ","kuj":"kuj-Latn-ZZ","kum":"kum-Cyrl-RU","kun":"kun-Latn-ZZ","kup":"kup-Latn-ZZ","kus":"kus-Latn-ZZ","kv":"kv-Cyrl-RU","kvg":"kvg-Latn-ZZ","kvr":"kvr-Latn-ID","kvx":"kvx-Arab-PK","kw":"kw-Latn-GB","kwj":"kwj-Latn-ZZ","kwo":"kwo-Latn-ZZ","kwq":"kwq-Latn-ZZ","kxa":"kxa-Latn-ZZ","kxc":"kxc-Ethi-ZZ","kxe":"kxe-Latn-ZZ","kxl":"kxl-Deva-IN","kxm":"kxm-Thai-TH","kxp":"kxp-Arab-PK","kxw":"kxw-Latn-ZZ","kxz":"kxz-Latn-ZZ","ky":"ky-Cyrl-KG","ky-Arab":"ky-Arab-CN","ky-CN":"ky-Arab-CN","ky-Latn":"ky-Latn-TR","ky-TR":"ky-Latn-TR","kye":"kye-Latn-ZZ","kyx":"kyx-Latn-ZZ","kzh":"kzh-Arab-ZZ","kzj":"kzj-Latn-MY","kzr":"kzr-Latn-ZZ","kzt":"kzt-Latn-MY","la":"la-Latn-VA","lab":"lab-Lina-GR","lad":"lad-Hebr-IL","lag":"lag-Latn-TZ","lah":"lah-Arab-PK","laj":"laj-Latn-UG","las":"las-Latn-ZZ","lb":"lb-Latn-LU","lbe":"lbe-Cyrl-RU","lbu":"lbu-Latn-ZZ","lbw":"lbw-Latn-ID","lcm":"lcm-Latn-ZZ","lcp":"lcp-Thai-CN","ldb":"ldb-Latn-ZZ","led":"led-Latn-ZZ","lee":"lee-Latn-ZZ","lem":"lem-Latn-ZZ","lep":"lep-Lepc-IN","leq":"leq-Latn-ZZ","leu":"leu-Latn-ZZ","lez":"lez-Cyrl-RU","lg":"lg-Latn-UG","lgg":"lgg-Latn-ZZ","li":"li-Latn-NL","lia":"lia-Latn-ZZ","lid":"lid-Latn-ZZ","lif":"lif-Deva-NP","lif-Limb":"lif-Limb-IN","lig":"lig-Latn-ZZ","lih":"lih-Latn-ZZ","lij":"lij-Latn-IT","lis":"lis-Lisu-CN","ljp":"ljp-Latn-ID","lki":"lki-Arab-IR","lkt":"lkt-Latn-US","lle":"lle-Latn-ZZ","lln":"lln-Latn-ZZ","lmn":"lmn-Telu-IN","lmo":"lmo-Latn-IT","lmp":"lmp-Latn-ZZ","ln":"ln-Latn-CD","lns":"lns-Latn-ZZ","lnu":"lnu-Latn-ZZ","lo":"lo-Laoo-LA","loj":"loj-Latn-ZZ","lok":"lok-Latn-ZZ","lol":"lol-Latn-CD","lor":"lor-Latn-ZZ","los":"los-Latn-ZZ","loz":"loz-Latn-ZM","lrc":"lrc-Arab-IR","lt":"lt-Latn-LT","ltg":"ltg-Latn-LV","lu":"lu-Latn-CD","lua":"lua-Latn-CD","luo":"luo-Latn-KE","luy":"luy-Latn-KE","luz":"luz-Arab-IR","lv":"lv-Latn-LV","lwl":"lwl-Thai-TH","lzh":"lzh-Hans-CN","lzz":"lzz-Latn-TR","mad":"mad-Latn-ID","maf":"maf-Latn-CM","mag":"mag-Deva-IN","mai":"mai-Deva-IN","mak":"mak-Latn-ID","man":"man-Latn-GM","man-GN":"man-Nkoo-GN","man-Nkoo":"man-Nkoo-GN","mas":"mas-Latn-KE","maw":"maw-Latn-ZZ","maz":"maz-Latn-MX","mbh":"mbh-Latn-ZZ","mbo":"mbo-Latn-ZZ","mbq":"mbq-Latn-ZZ","mbu":"mbu-Latn-ZZ","mbw":"mbw-Latn-ZZ","mci":"mci-Latn-ZZ","mcp":"mcp-Latn-ZZ","mcq":"mcq-Latn-ZZ","mcr":"mcr-Latn-ZZ","mcu":"mcu-Latn-ZZ","mda":"mda-Latn-ZZ","mde":"mde-Arab-ZZ","mdf":"mdf-Cyrl-RU","mdh":"mdh-Latn-PH","mdj":"mdj-Latn-ZZ","mdr":"mdr-Latn-ID","mdx":"mdx-Ethi-ZZ","med":"med-Latn-ZZ","mee":"mee-Latn-ZZ","mek":"mek-Latn-ZZ","men":"men-Latn-SL","mer":"mer-Latn-KE","met":"met-Latn-ZZ","meu":"meu-Latn-ZZ","mfa":"mfa-Arab-TH","mfe":"mfe-Latn-MU","mfn":"mfn-Latn-ZZ","mfo":"mfo-Latn-ZZ","mfq":"mfq-Latn-ZZ","mg":"mg-Latn-MG","mgh":"mgh-Latn-MZ","mgl":"mgl-Latn-ZZ","mgo":"mgo-Latn-CM","mgp":"mgp-Deva-NP","mgy":"mgy-Latn-TZ","mh":"mh-Latn-MH","mhi":"mhi-Latn-ZZ","mhl":"mhl-Latn-ZZ","mi":"mi-Latn-NZ","mif":"mif-Latn-ZZ","min":"min-Latn-ID","mis":"mis-Hatr-IQ","mis-Medf":"mis-Medf-NG","miw":"miw-Latn-ZZ","mk":"mk-Cyrl-MK","mki":"mki-Arab-ZZ","mkl":"mkl-Latn-ZZ","mkp":"mkp-Latn-ZZ","mkw":"mkw-Latn-ZZ","ml":"ml-Mlym-IN","mle":"mle-Latn-ZZ","mlp":"mlp-Latn-ZZ","mls":"mls-Latn-SD","mmo":"mmo-Latn-ZZ","mmu":"mmu-Latn-ZZ","mmx":"mmx-Latn-ZZ","mn":"mn-Cyrl-MN","mn-CN":"mn-Mong-CN","mn-Mong":"mn-Mong-CN","mna":"mna-Latn-ZZ","mnf":"mnf-Latn-ZZ","mni":"mni-Beng-IN","mnw":"mnw-Mymr-MM","mo":"mo-Latn-RO","moa":"moa-Latn-ZZ","moe":"moe-Latn-CA","moh":"moh-Latn-CA","mos":"mos-Latn-BF","mox":"mox-Latn-ZZ","mpp":"mpp-Latn-ZZ","mps":"mps-Latn-ZZ","mpt":"mpt-Latn-ZZ","mpx":"mpx-Latn-ZZ","mql":"mql-Latn-ZZ","mr":"mr-Deva-IN","mrd":"mrd-Deva-NP","mrj":"mrj-Cyrl-RU","mro":"mro-Mroo-BD","ms":"ms-Latn-MY","ms-CC":"ms-Arab-CC","mt":"mt-Latn-MT","mtc":"mtc-Latn-ZZ","mtf":"mtf-Latn-ZZ","mti":"mti-Latn-ZZ","mtr":"mtr-Deva-IN","mua":"mua-Latn-CM","mur":"mur-Latn-ZZ","mus":"mus-Latn-US","mva":"mva-Latn-ZZ","mvn":"mvn-Latn-ZZ","mvy":"mvy-Arab-PK","mwk":"mwk-Latn-ML","mwr":"mwr-Deva-IN","mwv":"mwv-Latn-ID","mww":"mww-Hmnp-US","mxc":"mxc-Latn-ZW","mxm":"mxm-Latn-ZZ","my":"my-Mymr-MM","myk":"myk-Latn-ZZ","mym":"mym-Ethi-ZZ","myv":"myv-Cyrl-RU","myw":"myw-Latn-ZZ","myx":"myx-Latn-UG","myz":"myz-Mand-IR","mzk":"mzk-Latn-ZZ","mzm":"mzm-Latn-ZZ","mzn":"mzn-Arab-IR","mzp":"mzp-Latn-ZZ","mzw":"mzw-Latn-ZZ","mzz":"mzz-Latn-ZZ","na":"na-Latn-NR","nac":"nac-Latn-ZZ","naf":"naf-Latn-ZZ","nak":"nak-Latn-ZZ","nan":"nan-Hans-CN","nap":"nap-Latn-IT","naq":"naq-Latn-NA","nas":"nas-Latn-ZZ","nb":"nb-Latn-NO","nca":"nca-Latn-ZZ","nce":"nce-Latn-ZZ","ncf":"ncf-Latn-ZZ","nch":"nch-Latn-MX","nco":"nco-Latn-ZZ","ncu":"ncu-Latn-ZZ","nd":"nd-Latn-ZW","ndc":"ndc-Latn-MZ","nds":"nds-Latn-DE","ne":"ne-Deva-NP","neb":"neb-Latn-ZZ","new":"new-Deva-NP","nex":"nex-Latn-ZZ","nfr":"nfr-Latn-ZZ","ng":"ng-Latn-NA","nga":"nga-Latn-ZZ","ngb":"ngb-Latn-ZZ","ngl":"ngl-Latn-MZ","nhb":"nhb-Latn-ZZ","nhe":"nhe-Latn-MX","nhw":"nhw-Latn-MX","nif":"nif-Latn-ZZ","nii":"nii-Latn-ZZ","nij":"nij-Latn-ID","nin":"nin-Latn-ZZ","niu":"niu-Latn-NU","niy":"niy-Latn-ZZ","niz":"niz-Latn-ZZ","njo":"njo-Latn-IN","nkg":"nkg-Latn-ZZ","nko":"nko-Latn-ZZ","nl":"nl-Latn-NL","nmg":"nmg-Latn-CM","nmz":"nmz-Latn-ZZ","nn":"nn-Latn-NO","nnf":"nnf-Latn-ZZ","nnh":"nnh-Latn-CM","nnk":"nnk-Latn-ZZ","nnm":"nnm-Latn-ZZ","nnp":"nnp-Wcho-IN","no":"no-Latn-NO","nod":"nod-Lana-TH","noe":"noe-Deva-IN","non":"non-Runr-SE","nop":"nop-Latn-ZZ","nou":"nou-Latn-ZZ","nqo":"nqo-Nkoo-GN","nr":"nr-Latn-ZA","nrb":"nrb-Latn-ZZ","nsk":"nsk-Cans-CA","nsn":"nsn-Latn-ZZ","nso":"nso-Latn-ZA","nss":"nss-Latn-ZZ","ntm":"ntm-Latn-ZZ","ntr":"ntr-Latn-ZZ","nui":"nui-Latn-ZZ","nup":"nup-Latn-ZZ","nus":"nus-Latn-SS","nuv":"nuv-Latn-ZZ","nux":"nux-Latn-ZZ","nv":"nv-Latn-US","nwb":"nwb-Latn-ZZ","nxq":"nxq-Latn-CN","nxr":"nxr-Latn-ZZ","ny":"ny-Latn-MW","nym":"nym-Latn-TZ","nyn":"nyn-Latn-UG","nzi":"nzi-Latn-GH","oc":"oc-Latn-FR","ogc":"ogc-Latn-ZZ","okr":"okr-Latn-ZZ","okv":"okv-Latn-ZZ","om":"om-Latn-ET","ong":"ong-Latn-ZZ","onn":"onn-Latn-ZZ","ons":"ons-Latn-ZZ","opm":"opm-Latn-ZZ","or":"or-Orya-IN","oro":"oro-Latn-ZZ","oru":"oru-Arab-ZZ","os":"os-Cyrl-GE","osa":"osa-Osge-US","ota":"ota-Arab-ZZ","otk":"otk-Orkh-MN","ozm":"ozm-Latn-ZZ","pa":"pa-Guru-IN","pa-Arab":"pa-Arab-PK","pa-PK":"pa-Arab-PK","pag":"pag-Latn-PH","pal":"pal-Phli-IR","pal-Phlp":"pal-Phlp-CN","pam":"pam-Latn-PH","pap":"pap-Latn-AW","pau":"pau-Latn-PW","pbi":"pbi-Latn-ZZ","pcd":"pcd-Latn-FR","pcm":"pcm-Latn-NG","pdc":"pdc-Latn-US","pdt":"pdt-Latn-CA","ped":"ped-Latn-ZZ","peo":"peo-Xpeo-IR","pex":"pex-Latn-ZZ","pfl":"pfl-Latn-DE","phl":"phl-Arab-ZZ","phn":"phn-Phnx-LB","pil":"pil-Latn-ZZ","pip":"pip-Latn-ZZ","pka":"pka-Brah-IN","pko":"pko-Latn-KE","pl":"pl-Latn-PL","pla":"pla-Latn-ZZ","pms":"pms-Latn-IT","png":"png-Latn-ZZ","pnn":"pnn-Latn-ZZ","pnt":"pnt-Grek-GR","pon":"pon-Latn-FM","ppa":"ppa-Deva-IN","ppo":"ppo-Latn-ZZ","pra":"pra-Khar-PK","prd":"prd-Arab-IR","prg":"prg-Latn-001","ps":"ps-Arab-AF","pss":"pss-Latn-ZZ","pt":"pt-Latn-BR","ptp":"ptp-Latn-ZZ","puu":"puu-Latn-GA","pwa":"pwa-Latn-ZZ","qu":"qu-Latn-PE","quc":"quc-Latn-GT","qug":"qug-Latn-EC","rai":"rai-Latn-ZZ","raj":"raj-Deva-IN","rao":"rao-Latn-ZZ","rcf":"rcf-Latn-RE","rej":"rej-Latn-ID","rel":"rel-Latn-ZZ","res":"res-Latn-ZZ","rgn":"rgn-Latn-IT","rhg":"rhg-Arab-MM","ria":"ria-Latn-IN","rif":"rif-Tfng-MA","rif-NL":"rif-Latn-NL","rjs":"rjs-Deva-NP","rkt":"rkt-Beng-BD","rm":"rm-Latn-CH","rmf":"rmf-Latn-FI","rmo":"rmo-Latn-CH","rmt":"rmt-Arab-IR","rmu":"rmu-Latn-SE","rn":"rn-Latn-BI","rna":"rna-Latn-ZZ","rng":"rng-Latn-MZ","ro":"ro-Latn-RO","rob":"rob-Latn-ID","rof":"rof-Latn-TZ","roo":"roo-Latn-ZZ","rro":"rro-Latn-ZZ","rtm":"rtm-Latn-FJ","ru":"ru-Cyrl-RU","rue":"rue-Cyrl-UA","rug":"rug-Latn-SB","rw":"rw-Latn-RW","rwk":"rwk-Latn-TZ","rwo":"rwo-Latn-ZZ","ryu":"ryu-Kana-JP","sa":"sa-Deva-IN","saf":"saf-Latn-GH","sah":"sah-Cyrl-RU","saq":"saq-Latn-KE","sas":"sas-Latn-ID","sat":"sat-Olck-IN","sav":"sav-Latn-SN","saz":"saz-Saur-IN","sba":"sba-Latn-ZZ","sbe":"sbe-Latn-ZZ","sbp":"sbp-Latn-TZ","sc":"sc-Latn-IT","sck":"sck-Deva-IN","scl":"scl-Arab-ZZ","scn":"scn-Latn-IT","sco":"sco-Latn-GB","scs":"scs-Latn-CA","sd":"sd-Arab-PK","sd-Deva":"sd-Deva-IN","sd-Khoj":"sd-Khoj-IN","sd-Sind":"sd-Sind-IN","sdc":"sdc-Latn-IT","sdh":"sdh-Arab-IR","se":"se-Latn-NO","sef":"sef-Latn-CI","seh":"seh-Latn-MZ","sei":"sei-Latn-MX","ses":"ses-Latn-ML","sg":"sg-Latn-CF","sga":"sga-Ogam-IE","sgs":"sgs-Latn-LT","sgw":"sgw-Ethi-ZZ","sgz":"sgz-Latn-ZZ","shi":"shi-Tfng-MA","shk":"shk-Latn-ZZ","shn":"shn-Mymr-MM","shu":"shu-Arab-ZZ","si":"si-Sinh-LK","sid":"sid-Latn-ET","sig":"sig-Latn-ZZ","sil":"sil-Latn-ZZ","sim":"sim-Latn-ZZ","sjr":"sjr-Latn-ZZ","sk":"sk-Latn-SK","skc":"skc-Latn-ZZ","skr":"skr-Arab-PK","sks":"sks-Latn-ZZ","sl":"sl-Latn-SI","sld":"sld-Latn-ZZ","sli":"sli-Latn-PL","sll":"sll-Latn-ZZ","sly":"sly-Latn-ID","sm":"sm-Latn-WS","sma":"sma-Latn-SE","smj":"smj-Latn-SE","smn":"smn-Latn-FI","smp":"smp-Samr-IL","smq":"smq-Latn-ZZ","sms":"sms-Latn-FI","sn":"sn-Latn-ZW","snc":"snc-Latn-ZZ","snk":"snk-Latn-ML","snp":"snp-Latn-ZZ","snx":"snx-Latn-ZZ","sny":"sny-Latn-ZZ","so":"so-Latn-SO","sog":"sog-Sogd-UZ","sok":"sok-Latn-ZZ","soq":"soq-Latn-ZZ","sou":"sou-Thai-TH","soy":"soy-Latn-ZZ","spd":"spd-Latn-ZZ","spl":"spl-Latn-ZZ","sps":"sps-Latn-ZZ","sq":"sq-Latn-AL","sr":"sr-Cyrl-RS","sr-ME":"sr-Latn-ME","sr-RO":"sr-Latn-RO","sr-RU":"sr-Latn-RU","sr-TR":"sr-Latn-TR","srb":"srb-Sora-IN","srn":"srn-Latn-SR","srr":"srr-Latn-SN","srx":"srx-Deva-IN","ss":"ss-Latn-ZA","ssd":"ssd-Latn-ZZ","ssg":"ssg-Latn-ZZ","ssy":"ssy-Latn-ER","st":"st-Latn-ZA","stk":"stk-Latn-ZZ","stq":"stq-Latn-DE","su":"su-Latn-ID","sua":"sua-Latn-ZZ","sue":"sue-Latn-ZZ","suk":"suk-Latn-TZ","sur":"sur-Latn-ZZ","sus":"sus-Latn-GN","sv":"sv-Latn-SE","sw":"sw-Latn-TZ","swb":"swb-Arab-YT","swc":"swc-Latn-CD","swg":"swg-Latn-DE","swp":"swp-Latn-ZZ","swv":"swv-Deva-IN","sxn":"sxn-Latn-ID","sxw":"sxw-Latn-ZZ","syl":"syl-Beng-BD","syr":"syr-Syrc-IQ","szl":"szl-Latn-PL","ta":"ta-Taml-IN","taj":"taj-Deva-NP","tal":"tal-Latn-ZZ","tan":"tan-Latn-ZZ","taq":"taq-Latn-ZZ","tbc":"tbc-Latn-ZZ","tbd":"tbd-Latn-ZZ","tbf":"tbf-Latn-ZZ","tbg":"tbg-Latn-ZZ","tbo":"tbo-Latn-ZZ","tbw":"tbw-Latn-PH","tbz":"tbz-Latn-ZZ","tci":"tci-Latn-ZZ","tcy":"tcy-Knda-IN","tdd":"tdd-Tale-CN","tdg":"tdg-Deva-NP","tdh":"tdh-Deva-NP","tdu":"tdu-Latn-MY","te":"te-Telu-IN","ted":"ted-Latn-ZZ","tem":"tem-Latn-SL","teo":"teo-Latn-UG","tet":"tet-Latn-TL","tfi":"tfi-Latn-ZZ","tg":"tg-Cyrl-TJ","tg-Arab":"tg-Arab-PK","tg-PK":"tg-Arab-PK","tgc":"tgc-Latn-ZZ","tgo":"tgo-Latn-ZZ","tgu":"tgu-Latn-ZZ","th":"th-Thai-TH","thl":"thl-Deva-NP","thq":"thq-Deva-NP","thr":"thr-Deva-NP","ti":"ti-Ethi-ET","tif":"tif-Latn-ZZ","tig":"tig-Ethi-ER","tik":"tik-Latn-ZZ","tim":"tim-Latn-ZZ","tio":"tio-Latn-ZZ","tiv":"tiv-Latn-NG","tk":"tk-Latn-TM","tkl":"tkl-Latn-TK","tkr":"tkr-Latn-AZ","tkt":"tkt-Deva-NP","tl":"tl-Latn-PH","tlf":"tlf-Latn-ZZ","tlx":"tlx-Latn-ZZ","tly":"tly-Latn-AZ","tmh":"tmh-Latn-NE","tmy":"tmy-Latn-ZZ","tn":"tn-Latn-ZA","tnh":"tnh-Latn-ZZ","to":"to-Latn-TO","tof":"tof-Latn-ZZ","tog":"tog-Latn-MW","toq":"toq-Latn-ZZ","tpi":"tpi-Latn-PG","tpm":"tpm-Latn-ZZ","tpz":"tpz-Latn-ZZ","tqo":"tqo-Latn-ZZ","tr":"tr-Latn-TR","tru":"tru-Latn-TR","trv":"trv-Latn-TW","trw":"trw-Arab-PK","ts":"ts-Latn-ZA","tsd":"tsd-Grek-GR","tsf":"tsf-Deva-NP","tsg":"tsg-Latn-PH","tsj":"tsj-Tibt-BT","tsw":"tsw-Latn-ZZ","tt":"tt-Cyrl-RU","ttd":"ttd-Latn-ZZ","tte":"tte-Latn-ZZ","ttj":"ttj-Latn-UG","ttr":"ttr-Latn-ZZ","tts":"tts-Thai-TH","ttt":"ttt-Latn-AZ","tuh":"tuh-Latn-ZZ","tul":"tul-Latn-ZZ","tum":"tum-Latn-MW","tuq":"tuq-Latn-ZZ","tvd":"tvd-Latn-ZZ","tvl":"tvl-Latn-TV","tvu":"tvu-Latn-ZZ","twh":"twh-Latn-ZZ","twq":"twq-Latn-NE","txg":"txg-Tang-CN","ty":"ty-Latn-PF","tya":"tya-Latn-ZZ","tyv":"tyv-Cyrl-RU","tzm":"tzm-Latn-MA","ubu":"ubu-Latn-ZZ","udm":"udm-Cyrl-RU","ug":"ug-Arab-CN","ug-Cyrl":"ug-Cyrl-KZ","ug-KZ":"ug-Cyrl-KZ","ug-MN":"ug-Cyrl-MN","uga":"uga-Ugar-SY","uk":"uk-Cyrl-UA","uli":"uli-Latn-FM","umb":"umb-Latn-AO","und":"en-Latn-US","und-002":"en-Latn-NG","und-003":"en-Latn-US","und-005":"pt-Latn-BR","und-009":"en-Latn-AU","und-011":"en-Latn-NG","und-013":"es-Latn-MX","und-014":"sw-Latn-TZ","und-015":"ar-Arab-EG","und-017":"sw-Latn-CD","und-018":"en-Latn-ZA","und-019":"en-Latn-US","und-021":"en-Latn-US","und-029":"es-Latn-CU","und-030":"zh-Hans-CN","und-034":"hi-Deva-IN","und-035":"id-Latn-ID","und-039":"it-Latn-IT","und-053":"en-Latn-AU","und-054":"en-Latn-PG","und-057":"en-Latn-GU","und-061":"sm-Latn-WS","und-142":"zh-Hans-CN","und-143":"uz-Latn-UZ","und-145":"ar-Arab-SA","und-150":"ru-Cyrl-RU","und-151":"ru-Cyrl-RU","und-154":"en-Latn-GB","und-155":"de-Latn-DE","und-202":"en-Latn-NG","und-419":"es-Latn-419","und-AD":"ca-Latn-AD","und-Adlm":"ff-Adlm-GN","und-AE":"ar-Arab-AE","und-AF":"fa-Arab-AF","und-Aghb":"lez-Aghb-RU","und-Ahom":"aho-Ahom-IN","und-AL":"sq-Latn-AL","und-AM":"hy-Armn-AM","und-AO":"pt-Latn-AO","und-AQ":"und-Latn-AQ","und-AR":"es-Latn-AR","und-Arab":"ar-Arab-EG","und-Arab-CC":"ms-Arab-CC","und-Arab-CN":"ug-Arab-CN","und-Arab-GB":"ks-Arab-GB","und-Arab-ID":"ms-Arab-ID","und-Arab-IN":"ur-Arab-IN","und-Arab-KH":"cja-Arab-KH","und-Arab-MM":"rhg-Arab-MM","und-Arab-MN":"kk-Arab-MN","und-Arab-MU":"ur-Arab-MU","und-Arab-NG":"ha-Arab-NG","und-Arab-PK":"ur-Arab-PK","und-Arab-TG":"apd-Arab-TG","und-Arab-TH":"mfa-Arab-TH","und-Arab-TJ":"fa-Arab-TJ","und-Arab-TR":"az-Arab-TR","und-Arab-YT":"swb-Arab-YT","und-Armi":"arc-Armi-IR","und-Armn":"hy-Armn-AM","und-AS":"sm-Latn-AS","und-AT":"de-Latn-AT","und-Avst":"ae-Avst-IR","und-AW":"nl-Latn-AW","und-AX":"sv-Latn-AX","und-AZ":"az-Latn-AZ","und-BA":"bs-Latn-BA","und-Bali":"ban-Bali-ID","und-Bamu":"bax-Bamu-CM","und-Bass":"bsq-Bass-LR","und-Batk":"bbc-Batk-ID","und-BD":"bn-Beng-BD","und-BE":"nl-Latn-BE","und-Beng":"bn-Beng-BD","und-BF":"fr-Latn-BF","und-BG":"bg-Cyrl-BG","und-BH":"ar-Arab-BH","und-Bhks":"sa-Bhks-IN","und-BI":"rn-Latn-BI","und-BJ":"fr-Latn-BJ","und-BL":"fr-Latn-BL","und-BN":"ms-Latn-BN","und-BO":"es-Latn-BO","und-Bopo":"zh-Bopo-TW","und-BQ":"pap-Latn-BQ","und-BR":"pt-Latn-BR","und-Brah":"pka-Brah-IN","und-Brai":"fr-Brai-FR","und-BT":"dz-Tibt-BT","und-Bugi":"bug-Bugi-ID","und-Buhd":"bku-Buhd-PH","und-BV":"und-Latn-BV","und-BY":"be-Cyrl-BY","und-Cakm":"ccp-Cakm-BD","und-Cans":"cr-Cans-CA","und-Cari":"xcr-Cari-TR","und-CD":"sw-Latn-CD","und-CF":"fr-Latn-CF","und-CG":"fr-Latn-CG","und-CH":"de-Latn-CH","und-Cham":"cjm-Cham-VN","und-Cher":"chr-Cher-US","und-Chrs":"xco-Chrs-UZ","und-CI":"fr-Latn-CI","und-CL":"es-Latn-CL","und-CM":"fr-Latn-CM","und-CN":"zh-Hans-CN","und-CO":"es-Latn-CO","und-Copt":"cop-Copt-EG","und-CP":"und-Latn-CP","und-Cprt":"grc-Cprt-CY","und-CR":"es-Latn-CR","und-CU":"es-Latn-CU","und-CV":"pt-Latn-CV","und-CW":"pap-Latn-CW","und-CY":"el-Grek-CY","und-Cyrl":"ru-Cyrl-RU","und-Cyrl-AL":"mk-Cyrl-AL","und-Cyrl-BA":"sr-Cyrl-BA","und-Cyrl-GE":"os-Cyrl-GE","und-Cyrl-GR":"mk-Cyrl-GR","und-Cyrl-MD":"uk-Cyrl-MD","und-Cyrl-RO":"bg-Cyrl-RO","und-Cyrl-SK":"uk-Cyrl-SK","und-Cyrl-TR":"kbd-Cyrl-TR","und-Cyrl-XK":"sr-Cyrl-XK","und-CZ":"cs-Latn-CZ","und-DE":"de-Latn-DE","und-Deva":"hi-Deva-IN","und-Deva-BT":"ne-Deva-BT","und-Deva-FJ":"hif-Deva-FJ","und-Deva-MU":"bho-Deva-MU","und-Deva-PK":"btv-Deva-PK","und-Diak":"dv-Diak-MV","und-DJ":"aa-Latn-DJ","und-DK":"da-Latn-DK","und-DO":"es-Latn-DO","und-Dogr":"doi-Dogr-IN","und-Dupl":"fr-Dupl-FR","und-DZ":"ar-Arab-DZ","und-EA":"es-Latn-EA","und-EC":"es-Latn-EC","und-EE":"et-Latn-EE","und-EG":"ar-Arab-EG","und-Egyp":"egy-Egyp-EG","und-EH":"ar-Arab-EH","und-Elba":"sq-Elba-AL","und-Elym":"arc-Elym-IR","und-ER":"ti-Ethi-ER","und-ES":"es-Latn-ES","und-ET":"am-Ethi-ET","und-Ethi":"am-Ethi-ET","und-EU":"en-Latn-IE","und-EZ":"de-Latn-EZ","und-FI":"fi-Latn-FI","und-FO":"fo-Latn-FO","und-FR":"fr-Latn-FR","und-GA":"fr-Latn-GA","und-GE":"ka-Geor-GE","und-Geor":"ka-Geor-GE","und-GF":"fr-Latn-GF","und-GH":"ak-Latn-GH","und-GL":"kl-Latn-GL","und-Glag":"cu-Glag-BG","und-GN":"fr-Latn-GN","und-Gong":"wsg-Gong-IN","und-Gonm":"esg-Gonm-IN","und-Goth":"got-Goth-UA","und-GP":"fr-Latn-GP","und-GQ":"es-Latn-GQ","und-GR":"el-Grek-GR","und-Gran":"sa-Gran-IN","und-Grek":"el-Grek-GR","und-Grek-TR":"bgx-Grek-TR","und-GS":"und-Latn-GS","und-GT":"es-Latn-GT","und-Gujr":"gu-Gujr-IN","und-Guru":"pa-Guru-IN","und-GW":"pt-Latn-GW","und-Hanb":"zh-Hanb-TW","und-Hang":"ko-Hang-KR","und-Hani":"zh-Hani-CN","und-Hano":"hnn-Hano-PH","und-Hans":"zh-Hans-CN","und-Hant":"zh-Hant-TW","und-Hatr":"mis-Hatr-IQ","und-Hebr":"he-Hebr-IL","und-Hebr-CA":"yi-Hebr-CA","und-Hebr-GB":"yi-Hebr-GB","und-Hebr-SE":"yi-Hebr-SE","und-Hebr-UA":"yi-Hebr-UA","und-Hebr-US":"yi-Hebr-US","und-Hira":"ja-Hira-JP","und-HK":"zh-Hant-HK","und-Hluw":"hlu-Hluw-TR","und-HM":"und-Latn-HM","und-Hmng":"hnj-Hmng-LA","und-Hmnp":"mww-Hmnp-US","und-HN":"es-Latn-HN","und-HR":"hr-Latn-HR","und-HT":"ht-Latn-HT","und-HU":"hu-Latn-HU","und-Hung":"hu-Hung-HU","und-IC":"es-Latn-IC","und-ID":"id-Latn-ID","und-IL":"he-Hebr-IL","und-IN":"hi-Deva-IN","und-IQ":"ar-Arab-IQ","und-IR":"fa-Arab-IR","und-IS":"is-Latn-IS","und-IT":"it-Latn-IT","und-Ital":"ett-Ital-IT","und-Jamo":"ko-Jamo-KR","und-Java":"jv-Java-ID","und-JO":"ar-Arab-JO","und-JP":"ja-Jpan-JP","und-Jpan":"ja-Jpan-JP","und-Kali":"eky-Kali-MM","und-Kana":"ja-Kana-JP","und-KE":"sw-Latn-KE","und-KG":"ky-Cyrl-KG","und-KH":"km-Khmr-KH","und-Khar":"pra-Khar-PK","und-Khmr":"km-Khmr-KH","und-Khoj":"sd-Khoj-IN","und-Kits":"zkt-Kits-CN","und-KM":"ar-Arab-KM","und-Knda":"kn-Knda-IN","und-Kore":"ko-Kore-KR","und-KP":"ko-Kore-KP","und-KR":"ko-Kore-KR","und-Kthi":"bho-Kthi-IN","und-KW":"ar-Arab-KW","und-KZ":"ru-Cyrl-KZ","und-LA":"lo-Laoo-LA","und-Lana":"nod-Lana-TH","und-Laoo":"lo-Laoo-LA","und-Latn-AF":"tk-Latn-AF","und-Latn-AM":"ku-Latn-AM","und-Latn-CN":"za-Latn-CN","und-Latn-CY":"tr-Latn-CY","und-Latn-DZ":"fr-Latn-DZ","und-Latn-ET":"en-Latn-ET","und-Latn-GE":"ku-Latn-GE","und-Latn-IR":"tk-Latn-IR","und-Latn-KM":"fr-Latn-KM","und-Latn-MA":"fr-Latn-MA","und-Latn-MK":"sq-Latn-MK","und-Latn-MM":"kac-Latn-MM","und-Latn-MO":"pt-Latn-MO","und-Latn-MR":"fr-Latn-MR","und-Latn-RU":"krl-Latn-RU","und-Latn-SY":"fr-Latn-SY","und-Latn-TN":"fr-Latn-TN","und-Latn-TW":"trv-Latn-TW","und-Latn-UA":"pl-Latn-UA","und-LB":"ar-Arab-LB","und-Lepc":"lep-Lepc-IN","und-LI":"de-Latn-LI","und-Limb":"lif-Limb-IN","und-Lina":"lab-Lina-GR","und-Linb":"grc-Linb-GR","und-Lisu":"lis-Lisu-CN","und-LK":"si-Sinh-LK","und-LS":"st-Latn-LS","und-LT":"lt-Latn-LT","und-LU":"fr-Latn-LU","und-LV":"lv-Latn-LV","und-LY":"ar-Arab-LY","und-Lyci":"xlc-Lyci-TR","und-Lydi":"xld-Lydi-TR","und-MA":"ar-Arab-MA","und-Mahj":"hi-Mahj-IN","und-Maka":"mak-Maka-ID","und-Mand":"myz-Mand-IR","und-Mani":"xmn-Mani-CN","und-Marc":"bo-Marc-CN","und-MC":"fr-Latn-MC","und-MD":"ro-Latn-MD","und-ME":"sr-Latn-ME","und-Medf":"mis-Medf-NG","und-Mend":"men-Mend-SL","und-Merc":"xmr-Merc-SD","und-Mero":"xmr-Mero-SD","und-MF":"fr-Latn-MF","und-MG":"mg-Latn-MG","und-MK":"mk-Cyrl-MK","und-ML":"bm-Latn-ML","und-Mlym":"ml-Mlym-IN","und-MM":"my-Mymr-MM","und-MN":"mn-Cyrl-MN","und-MO":"zh-Hant-MO","und-Modi":"mr-Modi-IN","und-Mong":"mn-Mong-CN","und-MQ":"fr-Latn-MQ","und-MR":"ar-Arab-MR","und-Mroo":"mro-Mroo-BD","und-MT":"mt-Latn-MT","und-Mtei":"mni-Mtei-IN","und-MU":"mfe-Latn-MU","und-Mult":"skr-Mult-PK","und-MV":"dv-Thaa-MV","und-MX":"es-Latn-MX","und-MY":"ms-Latn-MY","und-Mymr":"my-Mymr-MM","und-Mymr-IN":"kht-Mymr-IN","und-Mymr-TH":"mnw-Mymr-TH","und-MZ":"pt-Latn-MZ","und-NA":"af-Latn-NA","und-Nand":"sa-Nand-IN","und-Narb":"xna-Narb-SA","und-Nbat":"arc-Nbat-JO","und-NC":"fr-Latn-NC","und-NE":"ha-Latn-NE","und-Newa":"new-Newa-NP","und-NI":"es-Latn-NI","und-Nkoo":"man-Nkoo-GN","und-NL":"nl-Latn-NL","und-NO":"nb-Latn-NO","und-NP":"ne-Deva-NP","und-Nshu":"zhx-Nshu-CN","und-Ogam":"sga-Ogam-IE","und-Olck":"sat-Olck-IN","und-OM":"ar-Arab-OM","und-Orkh":"otk-Orkh-MN","und-Orya":"or-Orya-IN","und-Osge":"osa-Osge-US","und-Osma":"so-Osma-SO","und-PA":"es-Latn-PA","und-Palm":"arc-Palm-SY","und-Pauc":"ctd-Pauc-MM","und-PE":"es-Latn-PE","und-Perm":"kv-Perm-RU","und-PF":"fr-Latn-PF","und-PG":"tpi-Latn-PG","und-PH":"fil-Latn-PH","und-Phag":"lzh-Phag-CN","und-Phli":"pal-Phli-IR","und-Phlp":"pal-Phlp-CN","und-Phnx":"phn-Phnx-LB","und-PK":"ur-Arab-PK","und-PL":"pl-Latn-PL","und-Plrd":"hmd-Plrd-CN","und-PM":"fr-Latn-PM","und-PR":"es-Latn-PR","und-Prti":"xpr-Prti-IR","und-PS":"ar-Arab-PS","und-PT":"pt-Latn-PT","und-PW":"pau-Latn-PW","und-PY":"gn-Latn-PY","und-QA":"ar-Arab-QA","und-QO":"en-Latn-DG","und-RE":"fr-Latn-RE","und-Rjng":"rej-Rjng-ID","und-RO":"ro-Latn-RO","und-Rohg":"rhg-Rohg-MM","und-RS":"sr-Cyrl-RS","und-RU":"ru-Cyrl-RU","und-Runr":"non-Runr-SE","und-RW":"rw-Latn-RW","und-SA":"ar-Arab-SA","und-Samr":"smp-Samr-IL","und-Sarb":"xsa-Sarb-YE","und-Saur":"saz-Saur-IN","und-SC":"fr-Latn-SC","und-SD":"ar-Arab-SD","und-SE":"sv-Latn-SE","und-Sgnw":"ase-Sgnw-US","und-Shaw":"en-Shaw-GB","und-Shrd":"sa-Shrd-IN","und-SI":"sl-Latn-SI","und-Sidd":"sa-Sidd-IN","und-Sind":"sd-Sind-IN","und-Sinh":"si-Sinh-LK","und-SJ":"nb-Latn-SJ","und-SK":"sk-Latn-SK","und-SM":"it-Latn-SM","und-SN":"fr-Latn-SN","und-SO":"so-Latn-SO","und-Sogd":"sog-Sogd-UZ","und-Sogo":"sog-Sogo-UZ","und-Sora":"srb-Sora-IN","und-Soyo":"cmg-Soyo-MN","und-SR":"nl-Latn-SR","und-ST":"pt-Latn-ST","und-Sund":"su-Sund-ID","und-SV":"es-Latn-SV","und-SY":"ar-Arab-SY","und-Sylo":"syl-Sylo-BD","und-Syrc":"syr-Syrc-IQ","und-Tagb":"tbw-Tagb-PH","und-Takr":"doi-Takr-IN","und-Tale":"tdd-Tale-CN","und-Talu":"khb-Talu-CN","und-Taml":"ta-Taml-IN","und-Tang":"txg-Tang-CN","und-Tavt":"blt-Tavt-VN","und-TD":"fr-Latn-TD","und-Telu":"te-Telu-IN","und-TF":"fr-Latn-TF","und-Tfng":"zgh-Tfng-MA","und-TG":"fr-Latn-TG","und-Tglg":"fil-Tglg-PH","und-TH":"th-Thai-TH","und-Thaa":"dv-Thaa-MV","und-Thai":"th-Thai-TH","und-Thai-CN":"lcp-Thai-CN","und-Thai-KH":"kdt-Thai-KH","und-Thai-LA":"kdt-Thai-LA","und-Tibt":"bo-Tibt-CN","und-Tirh":"mai-Tirh-IN","und-TJ":"tg-Cyrl-TJ","und-TK":"tkl-Latn-TK","und-TL":"pt-Latn-TL","und-TM":"tk-Latn-TM","und-TN":"ar-Arab-TN","und-TO":"to-Latn-TO","und-TR":"tr-Latn-TR","und-TV":"tvl-Latn-TV","und-TW":"zh-Hant-TW","und-TZ":"sw-Latn-TZ","und-UA":"uk-Cyrl-UA","und-UG":"sw-Latn-UG","und-Ugar":"uga-Ugar-SY","und-UY":"es-Latn-UY","und-UZ":"uz-Latn-UZ","und-VA":"it-Latn-VA","und-Vaii":"vai-Vaii-LR","und-VE":"es-Latn-VE","und-VN":"vi-Latn-VN","und-VU":"bi-Latn-VU","und-Wara":"hoc-Wara-IN","und-Wcho":"nnp-Wcho-IN","und-WF":"fr-Latn-WF","und-WS":"sm-Latn-WS","und-XK":"sq-Latn-XK","und-Xpeo":"peo-Xpeo-IR","und-Xsux":"akk-Xsux-IQ","und-YE":"ar-Arab-YE","und-Yezi":"ku-Yezi-GE","und-Yiii":"ii-Yiii-CN","und-YT":"fr-Latn-YT","und-Zanb":"cmg-Zanb-MN","und-ZW":"sn-Latn-ZW","unr":"unr-Beng-IN","unr-Deva":"unr-Deva-NP","unr-NP":"unr-Deva-NP","unx":"unx-Beng-IN","uok":"uok-Latn-ZZ","ur":"ur-Arab-PK","uri":"uri-Latn-ZZ","urt":"urt-Latn-ZZ","urw":"urw-Latn-ZZ","usa":"usa-Latn-ZZ","uth":"uth-Latn-ZZ","utr":"utr-Latn-ZZ","uvh":"uvh-Latn-ZZ","uvl":"uvl-Latn-ZZ","uz":"uz-Latn-UZ","uz-AF":"uz-Arab-AF","uz-Arab":"uz-Arab-AF","uz-CN":"uz-Cyrl-CN","vag":"vag-Latn-ZZ","vai":"vai-Vaii-LR","van":"van-Latn-ZZ","ve":"ve-Latn-ZA","vec":"vec-Latn-IT","vep":"vep-Latn-RU","vi":"vi-Latn-VN","vic":"vic-Latn-SX","viv":"viv-Latn-ZZ","vls":"vls-Latn-BE","vmf":"vmf-Latn-DE","vmw":"vmw-Latn-MZ","vo":"vo-Latn-001","vot":"vot-Latn-RU","vro":"vro-Latn-EE","vun":"vun-Latn-TZ","vut":"vut-Latn-ZZ","wa":"wa-Latn-BE","wae":"wae-Latn-CH","waj":"waj-Latn-ZZ","wal":"wal-Ethi-ET","wan":"wan-Latn-ZZ","war":"war-Latn-PH","wbp":"wbp-Latn-AU","wbq":"wbq-Telu-IN","wbr":"wbr-Deva-IN","wci":"wci-Latn-ZZ","wer":"wer-Latn-ZZ","wgi":"wgi-Latn-ZZ","whg":"whg-Latn-ZZ","wib":"wib-Latn-ZZ","wiu":"wiu-Latn-ZZ","wiv":"wiv-Latn-ZZ","wja":"wja-Latn-ZZ","wji":"wji-Latn-ZZ","wls":"wls-Latn-WF","wmo":"wmo-Latn-ZZ","wnc":"wnc-Latn-ZZ","wni":"wni-Arab-KM","wnu":"wnu-Latn-ZZ","wo":"wo-Latn-SN","wob":"wob-Latn-ZZ","wos":"wos-Latn-ZZ","wrs":"wrs-Latn-ZZ","wsg":"wsg-Gong-IN","wsk":"wsk-Latn-ZZ","wtm":"wtm-Deva-IN","wuu":"wuu-Hans-CN","wuv":"wuv-Latn-ZZ","wwa":"wwa-Latn-ZZ","xav":"xav-Latn-BR","xbi":"xbi-Latn-ZZ","xco":"xco-Chrs-UZ","xcr":"xcr-Cari-TR","xes":"xes-Latn-ZZ","xh":"xh-Latn-ZA","xla":"xla-Latn-ZZ","xlc":"xlc-Lyci-TR","xld":"xld-Lydi-TR","xmf":"xmf-Geor-GE","xmn":"xmn-Mani-CN","xmr":"xmr-Merc-SD","xna":"xna-Narb-SA","xnr":"xnr-Deva-IN","xog":"xog-Latn-UG","xon":"xon-Latn-ZZ","xpr":"xpr-Prti-IR","xrb":"xrb-Latn-ZZ","xsa":"xsa-Sarb-YE","xsi":"xsi-Latn-ZZ","xsm":"xsm-Latn-ZZ","xsr":"xsr-Deva-NP","xwe":"xwe-Latn-ZZ","yam":"yam-Latn-ZZ","yao":"yao-Latn-MZ","yap":"yap-Latn-FM","yas":"yas-Latn-ZZ","yat":"yat-Latn-ZZ","yav":"yav-Latn-CM","yay":"yay-Latn-ZZ","yaz":"yaz-Latn-ZZ","yba":"yba-Latn-ZZ","ybb":"ybb-Latn-CM","yby":"yby-Latn-ZZ","yer":"yer-Latn-ZZ","ygr":"ygr-Latn-ZZ","ygw":"ygw-Latn-ZZ","yi":"yi-Hebr-001","yko":"yko-Latn-ZZ","yle":"yle-Latn-ZZ","ylg":"ylg-Latn-ZZ","yll":"yll-Latn-ZZ","yml":"yml-Latn-ZZ","yo":"yo-Latn-NG","yon":"yon-Latn-ZZ","yrb":"yrb-Latn-ZZ","yre":"yre-Latn-ZZ","yrl":"yrl-Latn-BR","yss":"yss-Latn-ZZ","yua":"yua-Latn-MX","yue":"yue-Hant-HK","yue-CN":"yue-Hans-CN","yue-Hans":"yue-Hans-CN","yuj":"yuj-Latn-ZZ","yut":"yut-Latn-ZZ","yuw":"yuw-Latn-ZZ","za":"za-Latn-CN","zag":"zag-Latn-SD","zdj":"zdj-Arab-KM","zea":"zea-Latn-NL","zgh":"zgh-Tfng-MA","zh":"zh-Hans-CN","zh-AU":"zh-Hant-AU","zh-BN":"zh-Hant-BN","zh-Bopo":"zh-Bopo-TW","zh-GB":"zh-Hant-GB","zh-GF":"zh-Hant-GF","zh-Hanb":"zh-Hanb-TW","zh-Hant":"zh-Hant-TW","zh-HK":"zh-Hant-HK","zh-ID":"zh-Hant-ID","zh-MO":"zh-Hant-MO","zh-PA":"zh-Hant-PA","zh-PF":"zh-Hant-PF","zh-PH":"zh-Hant-PH","zh-SR":"zh-Hant-SR","zh-TH":"zh-Hant-TH","zh-TW":"zh-Hant-TW","zh-US":"zh-Hant-US","zh-VN":"zh-Hant-VN","zhx":"zhx-Nshu-CN","zia":"zia-Latn-ZZ","zkt":"zkt-Kits-CN","zlm":"zlm-Latn-TG","zmi":"zmi-Latn-MY","zne":"zne-Latn-ZZ","zu":"zu-Latn-ZA","zza":"zza-Latn-TR"}}}')},69933:function(e){"use strict";e.exports=JSON.parse('{"elementNames":{"altglyph":"altGlyph","altglyphdef":"altGlyphDef","altglyphitem":"altGlyphItem","animatecolor":"animateColor","animatemotion":"animateMotion","animatetransform":"animateTransform","clippath":"clipPath","feblend":"feBlend","fecolormatrix":"feColorMatrix","fecomponenttransfer":"feComponentTransfer","fecomposite":"feComposite","feconvolvematrix":"feConvolveMatrix","fediffuselighting":"feDiffuseLighting","fedisplacementmap":"feDisplacementMap","fedistantlight":"feDistantLight","fedropshadow":"feDropShadow","feflood":"feFlood","fefunca":"feFuncA","fefuncb":"feFuncB","fefuncg":"feFuncG","fefuncr":"feFuncR","fegaussianblur":"feGaussianBlur","feimage":"feImage","femerge":"feMerge","femergenode":"feMergeNode","femorphology":"feMorphology","feoffset":"feOffset","fepointlight":"fePointLight","fespecularlighting":"feSpecularLighting","fespotlight":"feSpotLight","fetile":"feTile","feturbulence":"feTurbulence","foreignobject":"foreignObject","glyphref":"glyphRef","lineargradient":"linearGradient","radialgradient":"radialGradient","textpath":"textPath"},"attributeNames":{"definitionurl":"definitionURL","attributename":"attributeName","attributetype":"attributeType","basefrequency":"baseFrequency","baseprofile":"baseProfile","calcmode":"calcMode","clippathunits":"clipPathUnits","diffuseconstant":"diffuseConstant","edgemode":"edgeMode","filterunits":"filterUnits","glyphref":"glyphRef","gradienttransform":"gradientTransform","gradientunits":"gradientUnits","kernelmatrix":"kernelMatrix","kernelunitlength":"kernelUnitLength","keypoints":"keyPoints","keysplines":"keySplines","keytimes":"keyTimes","lengthadjust":"lengthAdjust","limitingconeangle":"limitingConeAngle","markerheight":"markerHeight","markerunits":"markerUnits","markerwidth":"markerWidth","maskcontentunits":"maskContentUnits","maskunits":"maskUnits","numoctaves":"numOctaves","pathlength":"pathLength","patterncontentunits":"patternContentUnits","patterntransform":"patternTransform","patternunits":"patternUnits","pointsatx":"pointsAtX","pointsaty":"pointsAtY","pointsatz":"pointsAtZ","preservealpha":"preserveAlpha","preserveaspectratio":"preserveAspectRatio","primitiveunits":"primitiveUnits","refx":"refX","refy":"refY","repeatcount":"repeatCount","repeatdur":"repeatDur","requiredextensions":"requiredExtensions","requiredfeatures":"requiredFeatures","specularconstant":"specularConstant","specularexponent":"specularExponent","spreadmethod":"spreadMethod","startoffset":"startOffset","stddeviation":"stdDeviation","stitchtiles":"stitchTiles","surfacescale":"surfaceScale","systemlanguage":"systemLanguage","tablevalues":"tableValues","targetx":"targetX","targety":"targetY","textlength":"textLength","viewbox":"viewBox","viewtarget":"viewTarget","xchannelselector":"xChannelSelector","ychannelselector":"yChannelSelector","zoomandpan":"zoomAndPan"}}')},33600:function(e){"use strict";e.exports=JSON.parse('{"0":65533,"128":8364,"130":8218,"131":402,"132":8222,"133":8230,"134":8224,"135":8225,"136":710,"137":8240,"138":352,"139":8249,"140":338,"142":381,"145":8216,"146":8217,"147":8220,"148":8221,"149":8226,"150":8211,"151":8212,"152":732,"153":8482,"154":353,"155":8250,"156":339,"158":382,"159":376}')},59323:function(e){"use strict";e.exports=JSON.parse('{"Aacute":"Á","aacute":"á","Abreve":"Ă","abreve":"ă","ac":"∾","acd":"∿","acE":"∾̳","Acirc":"Â","acirc":"â","acute":"´","Acy":"А","acy":"а","AElig":"Æ","aelig":"æ","af":"⁡","Afr":"𝔄","afr":"𝔞","Agrave":"À","agrave":"à","alefsym":"ℵ","aleph":"ℵ","Alpha":"Α","alpha":"α","Amacr":"Ā","amacr":"ā","amalg":"⨿","amp":"&","AMP":"&","andand":"⩕","And":"⩓","and":"∧","andd":"⩜","andslope":"⩘","andv":"⩚","ang":"∠","ange":"⦤","angle":"∠","angmsdaa":"⦨","angmsdab":"⦩","angmsdac":"⦪","angmsdad":"⦫","angmsdae":"⦬","angmsdaf":"⦭","angmsdag":"⦮","angmsdah":"⦯","angmsd":"∡","angrt":"∟","angrtvb":"⊾","angrtvbd":"⦝","angsph":"∢","angst":"Å","angzarr":"⍼","Aogon":"Ą","aogon":"ą","Aopf":"𝔸","aopf":"𝕒","apacir":"⩯","ap":"≈","apE":"⩰","ape":"≊","apid":"≋","apos":"\'","ApplyFunction":"⁡","approx":"≈","approxeq":"≊","Aring":"Å","aring":"å","Ascr":"𝒜","ascr":"𝒶","Assign":"≔","ast":"*","asymp":"≈","asympeq":"≍","Atilde":"Ã","atilde":"ã","Auml":"Ä","auml":"ä","awconint":"∳","awint":"⨑","backcong":"≌","backepsilon":"϶","backprime":"‵","backsim":"∽","backsimeq":"⋍","Backslash":"∖","Barv":"⫧","barvee":"⊽","barwed":"⌅","Barwed":"⌆","barwedge":"⌅","bbrk":"⎵","bbrktbrk":"⎶","bcong":"≌","Bcy":"Б","bcy":"б","bdquo":"„","becaus":"∵","because":"∵","Because":"∵","bemptyv":"⦰","bepsi":"϶","bernou":"ℬ","Bernoullis":"ℬ","Beta":"Β","beta":"β","beth":"ℶ","between":"≬","Bfr":"𝔅","bfr":"𝔟","bigcap":"⋂","bigcirc":"◯","bigcup":"⋃","bigodot":"⨀","bigoplus":"⨁","bigotimes":"⨂","bigsqcup":"⨆","bigstar":"★","bigtriangledown":"▽","bigtriangleup":"△","biguplus":"⨄","bigvee":"⋁","bigwedge":"⋀","bkarow":"⤍","blacklozenge":"⧫","blacksquare":"▪","blacktriangle":"▴","blacktriangledown":"▾","blacktriangleleft":"◂","blacktriangleright":"▸","blank":"␣","blk12":"▒","blk14":"░","blk34":"▓","block":"█","bne":"=⃥","bnequiv":"≡⃥","bNot":"⫭","bnot":"⌐","Bopf":"𝔹","bopf":"𝕓","bot":"⊥","bottom":"⊥","bowtie":"⋈","boxbox":"⧉","boxdl":"┐","boxdL":"╕","boxDl":"╖","boxDL":"╗","boxdr":"┌","boxdR":"╒","boxDr":"╓","boxDR":"╔","boxh":"─","boxH":"═","boxhd":"┬","boxHd":"╤","boxhD":"╥","boxHD":"╦","boxhu":"┴","boxHu":"╧","boxhU":"╨","boxHU":"╩","boxminus":"⊟","boxplus":"⊞","boxtimes":"⊠","boxul":"┘","boxuL":"╛","boxUl":"╜","boxUL":"╝","boxur":"└","boxuR":"╘","boxUr":"╙","boxUR":"╚","boxv":"│","boxV":"║","boxvh":"┼","boxvH":"╪","boxVh":"╫","boxVH":"╬","boxvl":"┤","boxvL":"╡","boxVl":"╢","boxVL":"╣","boxvr":"├","boxvR":"╞","boxVr":"╟","boxVR":"╠","bprime":"‵","breve":"˘","Breve":"˘","brvbar":"¦","bscr":"𝒷","Bscr":"ℬ","bsemi":"⁏","bsim":"∽","bsime":"⋍","bsolb":"⧅","bsol":"\\\\","bsolhsub":"⟈","bull":"•","bullet":"•","bump":"≎","bumpE":"⪮","bumpe":"≏","Bumpeq":"≎","bumpeq":"≏","Cacute":"Ć","cacute":"ć","capand":"⩄","capbrcup":"⩉","capcap":"⩋","cap":"∩","Cap":"⋒","capcup":"⩇","capdot":"⩀","CapitalDifferentialD":"ⅅ","caps":"∩︀","caret":"⁁","caron":"ˇ","Cayleys":"ℭ","ccaps":"⩍","Ccaron":"Č","ccaron":"č","Ccedil":"Ç","ccedil":"ç","Ccirc":"Ĉ","ccirc":"ĉ","Cconint":"∰","ccups":"⩌","ccupssm":"⩐","Cdot":"Ċ","cdot":"ċ","cedil":"¸","Cedilla":"¸","cemptyv":"⦲","cent":"¢","centerdot":"·","CenterDot":"·","cfr":"𝔠","Cfr":"ℭ","CHcy":"Ч","chcy":"ч","check":"✓","checkmark":"✓","Chi":"Χ","chi":"χ","circ":"ˆ","circeq":"≗","circlearrowleft":"↺","circlearrowright":"↻","circledast":"⊛","circledcirc":"⊚","circleddash":"⊝","CircleDot":"⊙","circledR":"®","circledS":"Ⓢ","CircleMinus":"⊖","CirclePlus":"⊕","CircleTimes":"⊗","cir":"○","cirE":"⧃","cire":"≗","cirfnint":"⨐","cirmid":"⫯","cirscir":"⧂","ClockwiseContourIntegral":"∲","CloseCurlyDoubleQuote":"”","CloseCurlyQuote":"’","clubs":"♣","clubsuit":"♣","colon":":","Colon":"∷","Colone":"⩴","colone":"≔","coloneq":"≔","comma":",","commat":"@","comp":"∁","compfn":"∘","complement":"∁","complexes":"ℂ","cong":"≅","congdot":"⩭","Congruent":"≡","conint":"∮","Conint":"∯","ContourIntegral":"∮","copf":"𝕔","Copf":"ℂ","coprod":"∐","Coproduct":"∐","copy":"©","COPY":"©","copysr":"℗","CounterClockwiseContourIntegral":"∳","crarr":"↵","cross":"✗","Cross":"⨯","Cscr":"𝒞","cscr":"𝒸","csub":"⫏","csube":"⫑","csup":"⫐","csupe":"⫒","ctdot":"⋯","cudarrl":"⤸","cudarrr":"⤵","cuepr":"⋞","cuesc":"⋟","cularr":"↶","cularrp":"⤽","cupbrcap":"⩈","cupcap":"⩆","CupCap":"≍","cup":"∪","Cup":"⋓","cupcup":"⩊","cupdot":"⊍","cupor":"⩅","cups":"∪︀","curarr":"↷","curarrm":"⤼","curlyeqprec":"⋞","curlyeqsucc":"⋟","curlyvee":"⋎","curlywedge":"⋏","curren":"¤","curvearrowleft":"↶","curvearrowright":"↷","cuvee":"⋎","cuwed":"⋏","cwconint":"∲","cwint":"∱","cylcty":"⌭","dagger":"†","Dagger":"‡","daleth":"ℸ","darr":"↓","Darr":"↡","dArr":"⇓","dash":"‐","Dashv":"⫤","dashv":"⊣","dbkarow":"⤏","dblac":"˝","Dcaron":"Ď","dcaron":"ď","Dcy":"Д","dcy":"д","ddagger":"‡","ddarr":"⇊","DD":"ⅅ","dd":"ⅆ","DDotrahd":"⤑","ddotseq":"⩷","deg":"°","Del":"∇","Delta":"Δ","delta":"δ","demptyv":"⦱","dfisht":"⥿","Dfr":"𝔇","dfr":"𝔡","dHar":"⥥","dharl":"⇃","dharr":"⇂","DiacriticalAcute":"´","DiacriticalDot":"˙","DiacriticalDoubleAcute":"˝","DiacriticalGrave":"`","DiacriticalTilde":"˜","diam":"⋄","diamond":"⋄","Diamond":"⋄","diamondsuit":"♦","diams":"♦","die":"¨","DifferentialD":"ⅆ","digamma":"ϝ","disin":"⋲","div":"÷","divide":"÷","divideontimes":"⋇","divonx":"⋇","DJcy":"Ђ","djcy":"ђ","dlcorn":"⌞","dlcrop":"⌍","dollar":"$","Dopf":"𝔻","dopf":"𝕕","Dot":"¨","dot":"˙","DotDot":"⃜","doteq":"≐","doteqdot":"≑","DotEqual":"≐","dotminus":"∸","dotplus":"∔","dotsquare":"⊡","doublebarwedge":"⌆","DoubleContourIntegral":"∯","DoubleDot":"¨","DoubleDownArrow":"⇓","DoubleLeftArrow":"⇐","DoubleLeftRightArrow":"⇔","DoubleLeftTee":"⫤","DoubleLongLeftArrow":"⟸","DoubleLongLeftRightArrow":"⟺","DoubleLongRightArrow":"⟹","DoubleRightArrow":"⇒","DoubleRightTee":"⊨","DoubleUpArrow":"⇑","DoubleUpDownArrow":"⇕","DoubleVerticalBar":"∥","DownArrowBar":"⤓","downarrow":"↓","DownArrow":"↓","Downarrow":"⇓","DownArrowUpArrow":"⇵","DownBreve":"̑","downdownarrows":"⇊","downharpoonleft":"⇃","downharpoonright":"⇂","DownLeftRightVector":"⥐","DownLeftTeeVector":"⥞","DownLeftVectorBar":"⥖","DownLeftVector":"↽","DownRightTeeVector":"⥟","DownRightVectorBar":"⥗","DownRightVector":"⇁","DownTeeArrow":"↧","DownTee":"⊤","drbkarow":"⤐","drcorn":"⌟","drcrop":"⌌","Dscr":"𝒟","dscr":"𝒹","DScy":"Ѕ","dscy":"ѕ","dsol":"⧶","Dstrok":"Đ","dstrok":"đ","dtdot":"⋱","dtri":"▿","dtrif":"▾","duarr":"⇵","duhar":"⥯","dwangle":"⦦","DZcy":"Џ","dzcy":"џ","dzigrarr":"⟿","Eacute":"É","eacute":"é","easter":"⩮","Ecaron":"Ě","ecaron":"ě","Ecirc":"Ê","ecirc":"ê","ecir":"≖","ecolon":"≕","Ecy":"Э","ecy":"э","eDDot":"⩷","Edot":"Ė","edot":"ė","eDot":"≑","ee":"ⅇ","efDot":"≒","Efr":"𝔈","efr":"𝔢","eg":"⪚","Egrave":"È","egrave":"è","egs":"⪖","egsdot":"⪘","el":"⪙","Element":"∈","elinters":"⏧","ell":"ℓ","els":"⪕","elsdot":"⪗","Emacr":"Ē","emacr":"ē","empty":"∅","emptyset":"∅","EmptySmallSquare":"◻","emptyv":"∅","EmptyVerySmallSquare":"▫","emsp13":" ","emsp14":" ","emsp":" ","ENG":"Ŋ","eng":"ŋ","ensp":" ","Eogon":"Ę","eogon":"ę","Eopf":"𝔼","eopf":"𝕖","epar":"⋕","eparsl":"⧣","eplus":"⩱","epsi":"ε","Epsilon":"Ε","epsilon":"ε","epsiv":"ϵ","eqcirc":"≖","eqcolon":"≕","eqsim":"≂","eqslantgtr":"⪖","eqslantless":"⪕","Equal":"⩵","equals":"=","EqualTilde":"≂","equest":"≟","Equilibrium":"⇌","equiv":"≡","equivDD":"⩸","eqvparsl":"⧥","erarr":"⥱","erDot":"≓","escr":"ℯ","Escr":"ℰ","esdot":"≐","Esim":"⩳","esim":"≂","Eta":"Η","eta":"η","ETH":"Ð","eth":"ð","Euml":"Ë","euml":"ë","euro":"€","excl":"!","exist":"∃","Exists":"∃","expectation":"ℰ","exponentiale":"ⅇ","ExponentialE":"ⅇ","fallingdotseq":"≒","Fcy":"Ф","fcy":"ф","female":"♀","ffilig":"ffi","fflig":"ff","ffllig":"ffl","Ffr":"𝔉","ffr":"𝔣","filig":"fi","FilledSmallSquare":"◼","FilledVerySmallSquare":"▪","fjlig":"fj","flat":"♭","fllig":"fl","fltns":"▱","fnof":"ƒ","Fopf":"𝔽","fopf":"𝕗","forall":"∀","ForAll":"∀","fork":"⋔","forkv":"⫙","Fouriertrf":"ℱ","fpartint":"⨍","frac12":"½","frac13":"⅓","frac14":"¼","frac15":"⅕","frac16":"⅙","frac18":"⅛","frac23":"⅔","frac25":"⅖","frac34":"¾","frac35":"⅗","frac38":"⅜","frac45":"⅘","frac56":"⅚","frac58":"⅝","frac78":"⅞","frasl":"⁄","frown":"⌢","fscr":"𝒻","Fscr":"ℱ","gacute":"ǵ","Gamma":"Γ","gamma":"γ","Gammad":"Ϝ","gammad":"ϝ","gap":"⪆","Gbreve":"Ğ","gbreve":"ğ","Gcedil":"Ģ","Gcirc":"Ĝ","gcirc":"ĝ","Gcy":"Г","gcy":"г","Gdot":"Ġ","gdot":"ġ","ge":"≥","gE":"≧","gEl":"⪌","gel":"⋛","geq":"≥","geqq":"≧","geqslant":"⩾","gescc":"⪩","ges":"⩾","gesdot":"⪀","gesdoto":"⪂","gesdotol":"⪄","gesl":"⋛︀","gesles":"⪔","Gfr":"𝔊","gfr":"𝔤","gg":"≫","Gg":"⋙","ggg":"⋙","gimel":"ℷ","GJcy":"Ѓ","gjcy":"ѓ","gla":"⪥","gl":"≷","glE":"⪒","glj":"⪤","gnap":"⪊","gnapprox":"⪊","gne":"⪈","gnE":"≩","gneq":"⪈","gneqq":"≩","gnsim":"⋧","Gopf":"𝔾","gopf":"𝕘","grave":"`","GreaterEqual":"≥","GreaterEqualLess":"⋛","GreaterFullEqual":"≧","GreaterGreater":"⪢","GreaterLess":"≷","GreaterSlantEqual":"⩾","GreaterTilde":"≳","Gscr":"𝒢","gscr":"ℊ","gsim":"≳","gsime":"⪎","gsiml":"⪐","gtcc":"⪧","gtcir":"⩺","gt":">","GT":">","Gt":"≫","gtdot":"⋗","gtlPar":"⦕","gtquest":"⩼","gtrapprox":"⪆","gtrarr":"⥸","gtrdot":"⋗","gtreqless":"⋛","gtreqqless":"⪌","gtrless":"≷","gtrsim":"≳","gvertneqq":"≩︀","gvnE":"≩︀","Hacek":"ˇ","hairsp":" ","half":"½","hamilt":"ℋ","HARDcy":"Ъ","hardcy":"ъ","harrcir":"⥈","harr":"↔","hArr":"⇔","harrw":"↭","Hat":"^","hbar":"ℏ","Hcirc":"Ĥ","hcirc":"ĥ","hearts":"♥","heartsuit":"♥","hellip":"…","hercon":"⊹","hfr":"𝔥","Hfr":"ℌ","HilbertSpace":"ℋ","hksearow":"⤥","hkswarow":"⤦","hoarr":"⇿","homtht":"∻","hookleftarrow":"↩","hookrightarrow":"↪","hopf":"𝕙","Hopf":"ℍ","horbar":"―","HorizontalLine":"─","hscr":"𝒽","Hscr":"ℋ","hslash":"ℏ","Hstrok":"Ħ","hstrok":"ħ","HumpDownHump":"≎","HumpEqual":"≏","hybull":"⁃","hyphen":"‐","Iacute":"Í","iacute":"í","ic":"⁣","Icirc":"Î","icirc":"î","Icy":"И","icy":"и","Idot":"İ","IEcy":"Е","iecy":"е","iexcl":"¡","iff":"⇔","ifr":"𝔦","Ifr":"ℑ","Igrave":"Ì","igrave":"ì","ii":"ⅈ","iiiint":"⨌","iiint":"∭","iinfin":"⧜","iiota":"℩","IJlig":"IJ","ijlig":"ij","Imacr":"Ī","imacr":"ī","image":"ℑ","ImaginaryI":"ⅈ","imagline":"ℐ","imagpart":"ℑ","imath":"ı","Im":"ℑ","imof":"⊷","imped":"Ƶ","Implies":"⇒","incare":"℅","in":"∈","infin":"∞","infintie":"⧝","inodot":"ı","intcal":"⊺","int":"∫","Int":"∬","integers":"ℤ","Integral":"∫","intercal":"⊺","Intersection":"⋂","intlarhk":"⨗","intprod":"⨼","InvisibleComma":"⁣","InvisibleTimes":"⁢","IOcy":"Ё","iocy":"ё","Iogon":"Į","iogon":"į","Iopf":"𝕀","iopf":"𝕚","Iota":"Ι","iota":"ι","iprod":"⨼","iquest":"¿","iscr":"𝒾","Iscr":"ℐ","isin":"∈","isindot":"⋵","isinE":"⋹","isins":"⋴","isinsv":"⋳","isinv":"∈","it":"⁢","Itilde":"Ĩ","itilde":"ĩ","Iukcy":"І","iukcy":"і","Iuml":"Ï","iuml":"ï","Jcirc":"Ĵ","jcirc":"ĵ","Jcy":"Й","jcy":"й","Jfr":"𝔍","jfr":"𝔧","jmath":"ȷ","Jopf":"𝕁","jopf":"𝕛","Jscr":"𝒥","jscr":"𝒿","Jsercy":"Ј","jsercy":"ј","Jukcy":"Є","jukcy":"є","Kappa":"Κ","kappa":"κ","kappav":"ϰ","Kcedil":"Ķ","kcedil":"ķ","Kcy":"К","kcy":"к","Kfr":"𝔎","kfr":"𝔨","kgreen":"ĸ","KHcy":"Х","khcy":"х","KJcy":"Ќ","kjcy":"ќ","Kopf":"𝕂","kopf":"𝕜","Kscr":"𝒦","kscr":"𝓀","lAarr":"⇚","Lacute":"Ĺ","lacute":"ĺ","laemptyv":"⦴","lagran":"ℒ","Lambda":"Λ","lambda":"λ","lang":"⟨","Lang":"⟪","langd":"⦑","langle":"⟨","lap":"⪅","Laplacetrf":"ℒ","laquo":"«","larrb":"⇤","larrbfs":"⤟","larr":"←","Larr":"↞","lArr":"⇐","larrfs":"⤝","larrhk":"↩","larrlp":"↫","larrpl":"⤹","larrsim":"⥳","larrtl":"↢","latail":"⤙","lAtail":"⤛","lat":"⪫","late":"⪭","lates":"⪭︀","lbarr":"⤌","lBarr":"⤎","lbbrk":"❲","lbrace":"{","lbrack":"[","lbrke":"⦋","lbrksld":"⦏","lbrkslu":"⦍","Lcaron":"Ľ","lcaron":"ľ","Lcedil":"Ļ","lcedil":"ļ","lceil":"⌈","lcub":"{","Lcy":"Л","lcy":"л","ldca":"⤶","ldquo":"“","ldquor":"„","ldrdhar":"⥧","ldrushar":"⥋","ldsh":"↲","le":"≤","lE":"≦","LeftAngleBracket":"⟨","LeftArrowBar":"⇤","leftarrow":"←","LeftArrow":"←","Leftarrow":"⇐","LeftArrowRightArrow":"⇆","leftarrowtail":"↢","LeftCeiling":"⌈","LeftDoubleBracket":"⟦","LeftDownTeeVector":"⥡","LeftDownVectorBar":"⥙","LeftDownVector":"⇃","LeftFloor":"⌊","leftharpoondown":"↽","leftharpoonup":"↼","leftleftarrows":"⇇","leftrightarrow":"↔","LeftRightArrow":"↔","Leftrightarrow":"⇔","leftrightarrows":"⇆","leftrightharpoons":"⇋","leftrightsquigarrow":"↭","LeftRightVector":"⥎","LeftTeeArrow":"↤","LeftTee":"⊣","LeftTeeVector":"⥚","leftthreetimes":"⋋","LeftTriangleBar":"⧏","LeftTriangle":"⊲","LeftTriangleEqual":"⊴","LeftUpDownVector":"⥑","LeftUpTeeVector":"⥠","LeftUpVectorBar":"⥘","LeftUpVector":"↿","LeftVectorBar":"⥒","LeftVector":"↼","lEg":"⪋","leg":"⋚","leq":"≤","leqq":"≦","leqslant":"⩽","lescc":"⪨","les":"⩽","lesdot":"⩿","lesdoto":"⪁","lesdotor":"⪃","lesg":"⋚︀","lesges":"⪓","lessapprox":"⪅","lessdot":"⋖","lesseqgtr":"⋚","lesseqqgtr":"⪋","LessEqualGreater":"⋚","LessFullEqual":"≦","LessGreater":"≶","lessgtr":"≶","LessLess":"⪡","lesssim":"≲","LessSlantEqual":"⩽","LessTilde":"≲","lfisht":"⥼","lfloor":"⌊","Lfr":"𝔏","lfr":"𝔩","lg":"≶","lgE":"⪑","lHar":"⥢","lhard":"↽","lharu":"↼","lharul":"⥪","lhblk":"▄","LJcy":"Љ","ljcy":"љ","llarr":"⇇","ll":"≪","Ll":"⋘","llcorner":"⌞","Lleftarrow":"⇚","llhard":"⥫","lltri":"◺","Lmidot":"Ŀ","lmidot":"ŀ","lmoustache":"⎰","lmoust":"⎰","lnap":"⪉","lnapprox":"⪉","lne":"⪇","lnE":"≨","lneq":"⪇","lneqq":"≨","lnsim":"⋦","loang":"⟬","loarr":"⇽","lobrk":"⟦","longleftarrow":"⟵","LongLeftArrow":"⟵","Longleftarrow":"⟸","longleftrightarrow":"⟷","LongLeftRightArrow":"⟷","Longleftrightarrow":"⟺","longmapsto":"⟼","longrightarrow":"⟶","LongRightArrow":"⟶","Longrightarrow":"⟹","looparrowleft":"↫","looparrowright":"↬","lopar":"⦅","Lopf":"𝕃","lopf":"𝕝","loplus":"⨭","lotimes":"⨴","lowast":"∗","lowbar":"_","LowerLeftArrow":"↙","LowerRightArrow":"↘","loz":"◊","lozenge":"◊","lozf":"⧫","lpar":"(","lparlt":"⦓","lrarr":"⇆","lrcorner":"⌟","lrhar":"⇋","lrhard":"⥭","lrm":"‎","lrtri":"⊿","lsaquo":"‹","lscr":"𝓁","Lscr":"ℒ","lsh":"↰","Lsh":"↰","lsim":"≲","lsime":"⪍","lsimg":"⪏","lsqb":"[","lsquo":"‘","lsquor":"‚","Lstrok":"Ł","lstrok":"ł","ltcc":"⪦","ltcir":"⩹","lt":"<","LT":"<","Lt":"≪","ltdot":"⋖","lthree":"⋋","ltimes":"⋉","ltlarr":"⥶","ltquest":"⩻","ltri":"◃","ltrie":"⊴","ltrif":"◂","ltrPar":"⦖","lurdshar":"⥊","luruhar":"⥦","lvertneqq":"≨︀","lvnE":"≨︀","macr":"¯","male":"♂","malt":"✠","maltese":"✠","Map":"⤅","map":"↦","mapsto":"↦","mapstodown":"↧","mapstoleft":"↤","mapstoup":"↥","marker":"▮","mcomma":"⨩","Mcy":"М","mcy":"м","mdash":"—","mDDot":"∺","measuredangle":"∡","MediumSpace":" ","Mellintrf":"ℳ","Mfr":"𝔐","mfr":"𝔪","mho":"℧","micro":"µ","midast":"*","midcir":"⫰","mid":"∣","middot":"·","minusb":"⊟","minus":"−","minusd":"∸","minusdu":"⨪","MinusPlus":"∓","mlcp":"⫛","mldr":"…","mnplus":"∓","models":"⊧","Mopf":"𝕄","mopf":"𝕞","mp":"∓","mscr":"𝓂","Mscr":"ℳ","mstpos":"∾","Mu":"Μ","mu":"μ","multimap":"⊸","mumap":"⊸","nabla":"∇","Nacute":"Ń","nacute":"ń","nang":"∠⃒","nap":"≉","napE":"⩰̸","napid":"≋̸","napos":"ʼn","napprox":"≉","natural":"♮","naturals":"ℕ","natur":"♮","nbsp":" ","nbump":"≎̸","nbumpe":"≏̸","ncap":"⩃","Ncaron":"Ň","ncaron":"ň","Ncedil":"Ņ","ncedil":"ņ","ncong":"≇","ncongdot":"⩭̸","ncup":"⩂","Ncy":"Н","ncy":"н","ndash":"–","nearhk":"⤤","nearr":"↗","neArr":"⇗","nearrow":"↗","ne":"≠","nedot":"≐̸","NegativeMediumSpace":"​","NegativeThickSpace":"​","NegativeThinSpace":"​","NegativeVeryThinSpace":"​","nequiv":"≢","nesear":"⤨","nesim":"≂̸","NestedGreaterGreater":"≫","NestedLessLess":"≪","NewLine":"\\n","nexist":"∄","nexists":"∄","Nfr":"𝔑","nfr":"𝔫","ngE":"≧̸","nge":"≱","ngeq":"≱","ngeqq":"≧̸","ngeqslant":"⩾̸","nges":"⩾̸","nGg":"⋙̸","ngsim":"≵","nGt":"≫⃒","ngt":"≯","ngtr":"≯","nGtv":"≫̸","nharr":"↮","nhArr":"⇎","nhpar":"⫲","ni":"∋","nis":"⋼","nisd":"⋺","niv":"∋","NJcy":"Њ","njcy":"њ","nlarr":"↚","nlArr":"⇍","nldr":"‥","nlE":"≦̸","nle":"≰","nleftarrow":"↚","nLeftarrow":"⇍","nleftrightarrow":"↮","nLeftrightarrow":"⇎","nleq":"≰","nleqq":"≦̸","nleqslant":"⩽̸","nles":"⩽̸","nless":"≮","nLl":"⋘̸","nlsim":"≴","nLt":"≪⃒","nlt":"≮","nltri":"⋪","nltrie":"⋬","nLtv":"≪̸","nmid":"∤","NoBreak":"⁠","NonBreakingSpace":" ","nopf":"𝕟","Nopf":"ℕ","Not":"⫬","not":"¬","NotCongruent":"≢","NotCupCap":"≭","NotDoubleVerticalBar":"∦","NotElement":"∉","NotEqual":"≠","NotEqualTilde":"≂̸","NotExists":"∄","NotGreater":"≯","NotGreaterEqual":"≱","NotGreaterFullEqual":"≧̸","NotGreaterGreater":"≫̸","NotGreaterLess":"≹","NotGreaterSlantEqual":"⩾̸","NotGreaterTilde":"≵","NotHumpDownHump":"≎̸","NotHumpEqual":"≏̸","notin":"∉","notindot":"⋵̸","notinE":"⋹̸","notinva":"∉","notinvb":"⋷","notinvc":"⋶","NotLeftTriangleBar":"⧏̸","NotLeftTriangle":"⋪","NotLeftTriangleEqual":"⋬","NotLess":"≮","NotLessEqual":"≰","NotLessGreater":"≸","NotLessLess":"≪̸","NotLessSlantEqual":"⩽̸","NotLessTilde":"≴","NotNestedGreaterGreater":"⪢̸","NotNestedLessLess":"⪡̸","notni":"∌","notniva":"∌","notnivb":"⋾","notnivc":"⋽","NotPrecedes":"⊀","NotPrecedesEqual":"⪯̸","NotPrecedesSlantEqual":"⋠","NotReverseElement":"∌","NotRightTriangleBar":"⧐̸","NotRightTriangle":"⋫","NotRightTriangleEqual":"⋭","NotSquareSubset":"⊏̸","NotSquareSubsetEqual":"⋢","NotSquareSuperset":"⊐̸","NotSquareSupersetEqual":"⋣","NotSubset":"⊂⃒","NotSubsetEqual":"⊈","NotSucceeds":"⊁","NotSucceedsEqual":"⪰̸","NotSucceedsSlantEqual":"⋡","NotSucceedsTilde":"≿̸","NotSuperset":"⊃⃒","NotSupersetEqual":"⊉","NotTilde":"≁","NotTildeEqual":"≄","NotTildeFullEqual":"≇","NotTildeTilde":"≉","NotVerticalBar":"∤","nparallel":"∦","npar":"∦","nparsl":"⫽⃥","npart":"∂̸","npolint":"⨔","npr":"⊀","nprcue":"⋠","nprec":"⊀","npreceq":"⪯̸","npre":"⪯̸","nrarrc":"⤳̸","nrarr":"↛","nrArr":"⇏","nrarrw":"↝̸","nrightarrow":"↛","nRightarrow":"⇏","nrtri":"⋫","nrtrie":"⋭","nsc":"⊁","nsccue":"⋡","nsce":"⪰̸","Nscr":"𝒩","nscr":"𝓃","nshortmid":"∤","nshortparallel":"∦","nsim":"≁","nsime":"≄","nsimeq":"≄","nsmid":"∤","nspar":"∦","nsqsube":"⋢","nsqsupe":"⋣","nsub":"⊄","nsubE":"⫅̸","nsube":"⊈","nsubset":"⊂⃒","nsubseteq":"⊈","nsubseteqq":"⫅̸","nsucc":"⊁","nsucceq":"⪰̸","nsup":"⊅","nsupE":"⫆̸","nsupe":"⊉","nsupset":"⊃⃒","nsupseteq":"⊉","nsupseteqq":"⫆̸","ntgl":"≹","Ntilde":"Ñ","ntilde":"ñ","ntlg":"≸","ntriangleleft":"⋪","ntrianglelefteq":"⋬","ntriangleright":"⋫","ntrianglerighteq":"⋭","Nu":"Ν","nu":"ν","num":"#","numero":"№","numsp":" ","nvap":"≍⃒","nvdash":"⊬","nvDash":"⊭","nVdash":"⊮","nVDash":"⊯","nvge":"≥⃒","nvgt":">⃒","nvHarr":"⤄","nvinfin":"⧞","nvlArr":"⤂","nvle":"≤⃒","nvlt":"<⃒","nvltrie":"⊴⃒","nvrArr":"⤃","nvrtrie":"⊵⃒","nvsim":"∼⃒","nwarhk":"⤣","nwarr":"↖","nwArr":"⇖","nwarrow":"↖","nwnear":"⤧","Oacute":"Ó","oacute":"ó","oast":"⊛","Ocirc":"Ô","ocirc":"ô","ocir":"⊚","Ocy":"О","ocy":"о","odash":"⊝","Odblac":"Ő","odblac":"ő","odiv":"⨸","odot":"⊙","odsold":"⦼","OElig":"Œ","oelig":"œ","ofcir":"⦿","Ofr":"𝔒","ofr":"𝔬","ogon":"˛","Ograve":"Ò","ograve":"ò","ogt":"⧁","ohbar":"⦵","ohm":"Ω","oint":"∮","olarr":"↺","olcir":"⦾","olcross":"⦻","oline":"‾","olt":"⧀","Omacr":"Ō","omacr":"ō","Omega":"Ω","omega":"ω","Omicron":"Ο","omicron":"ο","omid":"⦶","ominus":"⊖","Oopf":"𝕆","oopf":"𝕠","opar":"⦷","OpenCurlyDoubleQuote":"“","OpenCurlyQuote":"‘","operp":"⦹","oplus":"⊕","orarr":"↻","Or":"⩔","or":"∨","ord":"⩝","order":"ℴ","orderof":"ℴ","ordf":"ª","ordm":"º","origof":"⊶","oror":"⩖","orslope":"⩗","orv":"⩛","oS":"Ⓢ","Oscr":"𝒪","oscr":"ℴ","Oslash":"Ø","oslash":"ø","osol":"⊘","Otilde":"Õ","otilde":"õ","otimesas":"⨶","Otimes":"⨷","otimes":"⊗","Ouml":"Ö","ouml":"ö","ovbar":"⌽","OverBar":"‾","OverBrace":"⏞","OverBracket":"⎴","OverParenthesis":"⏜","para":"¶","parallel":"∥","par":"∥","parsim":"⫳","parsl":"⫽","part":"∂","PartialD":"∂","Pcy":"П","pcy":"п","percnt":"%","period":".","permil":"‰","perp":"⊥","pertenk":"‱","Pfr":"𝔓","pfr":"𝔭","Phi":"Φ","phi":"φ","phiv":"ϕ","phmmat":"ℳ","phone":"☎","Pi":"Π","pi":"π","pitchfork":"⋔","piv":"ϖ","planck":"ℏ","planckh":"ℎ","plankv":"ℏ","plusacir":"⨣","plusb":"⊞","pluscir":"⨢","plus":"+","plusdo":"∔","plusdu":"⨥","pluse":"⩲","PlusMinus":"±","plusmn":"±","plussim":"⨦","plustwo":"⨧","pm":"±","Poincareplane":"ℌ","pointint":"⨕","popf":"𝕡","Popf":"ℙ","pound":"£","prap":"⪷","Pr":"⪻","pr":"≺","prcue":"≼","precapprox":"⪷","prec":"≺","preccurlyeq":"≼","Precedes":"≺","PrecedesEqual":"⪯","PrecedesSlantEqual":"≼","PrecedesTilde":"≾","preceq":"⪯","precnapprox":"⪹","precneqq":"⪵","precnsim":"⋨","pre":"⪯","prE":"⪳","precsim":"≾","prime":"′","Prime":"″","primes":"ℙ","prnap":"⪹","prnE":"⪵","prnsim":"⋨","prod":"∏","Product":"∏","profalar":"⌮","profline":"⌒","profsurf":"⌓","prop":"∝","Proportional":"∝","Proportion":"∷","propto":"∝","prsim":"≾","prurel":"⊰","Pscr":"𝒫","pscr":"𝓅","Psi":"Ψ","psi":"ψ","puncsp":" ","Qfr":"𝔔","qfr":"𝔮","qint":"⨌","qopf":"𝕢","Qopf":"ℚ","qprime":"⁗","Qscr":"𝒬","qscr":"𝓆","quaternions":"ℍ","quatint":"⨖","quest":"?","questeq":"≟","quot":"\\"","QUOT":"\\"","rAarr":"⇛","race":"∽̱","Racute":"Ŕ","racute":"ŕ","radic":"√","raemptyv":"⦳","rang":"⟩","Rang":"⟫","rangd":"⦒","range":"⦥","rangle":"⟩","raquo":"»","rarrap":"⥵","rarrb":"⇥","rarrbfs":"⤠","rarrc":"⤳","rarr":"→","Rarr":"↠","rArr":"⇒","rarrfs":"⤞","rarrhk":"↪","rarrlp":"↬","rarrpl":"⥅","rarrsim":"⥴","Rarrtl":"⤖","rarrtl":"↣","rarrw":"↝","ratail":"⤚","rAtail":"⤜","ratio":"∶","rationals":"ℚ","rbarr":"⤍","rBarr":"⤏","RBarr":"⤐","rbbrk":"❳","rbrace":"}","rbrack":"]","rbrke":"⦌","rbrksld":"⦎","rbrkslu":"⦐","Rcaron":"Ř","rcaron":"ř","Rcedil":"Ŗ","rcedil":"ŗ","rceil":"⌉","rcub":"}","Rcy":"Р","rcy":"р","rdca":"⤷","rdldhar":"⥩","rdquo":"”","rdquor":"”","rdsh":"↳","real":"ℜ","realine":"ℛ","realpart":"ℜ","reals":"ℝ","Re":"ℜ","rect":"▭","reg":"®","REG":"®","ReverseElement":"∋","ReverseEquilibrium":"⇋","ReverseUpEquilibrium":"⥯","rfisht":"⥽","rfloor":"⌋","rfr":"𝔯","Rfr":"ℜ","rHar":"⥤","rhard":"⇁","rharu":"⇀","rharul":"⥬","Rho":"Ρ","rho":"ρ","rhov":"ϱ","RightAngleBracket":"⟩","RightArrowBar":"⇥","rightarrow":"→","RightArrow":"→","Rightarrow":"⇒","RightArrowLeftArrow":"⇄","rightarrowtail":"↣","RightCeiling":"⌉","RightDoubleBracket":"⟧","RightDownTeeVector":"⥝","RightDownVectorBar":"⥕","RightDownVector":"⇂","RightFloor":"⌋","rightharpoondown":"⇁","rightharpoonup":"⇀","rightleftarrows":"⇄","rightleftharpoons":"⇌","rightrightarrows":"⇉","rightsquigarrow":"↝","RightTeeArrow":"↦","RightTee":"⊢","RightTeeVector":"⥛","rightthreetimes":"⋌","RightTriangleBar":"⧐","RightTriangle":"⊳","RightTriangleEqual":"⊵","RightUpDownVector":"⥏","RightUpTeeVector":"⥜","RightUpVectorBar":"⥔","RightUpVector":"↾","RightVectorBar":"⥓","RightVector":"⇀","ring":"˚","risingdotseq":"≓","rlarr":"⇄","rlhar":"⇌","rlm":"‏","rmoustache":"⎱","rmoust":"⎱","rnmid":"⫮","roang":"⟭","roarr":"⇾","robrk":"⟧","ropar":"⦆","ropf":"𝕣","Ropf":"ℝ","roplus":"⨮","rotimes":"⨵","RoundImplies":"⥰","rpar":")","rpargt":"⦔","rppolint":"⨒","rrarr":"⇉","Rrightarrow":"⇛","rsaquo":"›","rscr":"𝓇","Rscr":"ℛ","rsh":"↱","Rsh":"↱","rsqb":"]","rsquo":"’","rsquor":"’","rthree":"⋌","rtimes":"⋊","rtri":"▹","rtrie":"⊵","rtrif":"▸","rtriltri":"⧎","RuleDelayed":"⧴","ruluhar":"⥨","rx":"℞","Sacute":"Ś","sacute":"ś","sbquo":"‚","scap":"⪸","Scaron":"Š","scaron":"š","Sc":"⪼","sc":"≻","sccue":"≽","sce":"⪰","scE":"⪴","Scedil":"Ş","scedil":"ş","Scirc":"Ŝ","scirc":"ŝ","scnap":"⪺","scnE":"⪶","scnsim":"⋩","scpolint":"⨓","scsim":"≿","Scy":"С","scy":"с","sdotb":"⊡","sdot":"⋅","sdote":"⩦","searhk":"⤥","searr":"↘","seArr":"⇘","searrow":"↘","sect":"§","semi":";","seswar":"⤩","setminus":"∖","setmn":"∖","sext":"✶","Sfr":"𝔖","sfr":"𝔰","sfrown":"⌢","sharp":"♯","SHCHcy":"Щ","shchcy":"щ","SHcy":"Ш","shcy":"ш","ShortDownArrow":"↓","ShortLeftArrow":"←","shortmid":"∣","shortparallel":"∥","ShortRightArrow":"→","ShortUpArrow":"↑","shy":"­","Sigma":"Σ","sigma":"σ","sigmaf":"ς","sigmav":"ς","sim":"∼","simdot":"⩪","sime":"≃","simeq":"≃","simg":"⪞","simgE":"⪠","siml":"⪝","simlE":"⪟","simne":"≆","simplus":"⨤","simrarr":"⥲","slarr":"←","SmallCircle":"∘","smallsetminus":"∖","smashp":"⨳","smeparsl":"⧤","smid":"∣","smile":"⌣","smt":"⪪","smte":"⪬","smtes":"⪬︀","SOFTcy":"Ь","softcy":"ь","solbar":"⌿","solb":"⧄","sol":"/","Sopf":"𝕊","sopf":"𝕤","spades":"♠","spadesuit":"♠","spar":"∥","sqcap":"⊓","sqcaps":"⊓︀","sqcup":"⊔","sqcups":"⊔︀","Sqrt":"√","sqsub":"⊏","sqsube":"⊑","sqsubset":"⊏","sqsubseteq":"⊑","sqsup":"⊐","sqsupe":"⊒","sqsupset":"⊐","sqsupseteq":"⊒","square":"□","Square":"□","SquareIntersection":"⊓","SquareSubset":"⊏","SquareSubsetEqual":"⊑","SquareSuperset":"⊐","SquareSupersetEqual":"⊒","SquareUnion":"⊔","squarf":"▪","squ":"□","squf":"▪","srarr":"→","Sscr":"𝒮","sscr":"𝓈","ssetmn":"∖","ssmile":"⌣","sstarf":"⋆","Star":"⋆","star":"☆","starf":"★","straightepsilon":"ϵ","straightphi":"ϕ","strns":"¯","sub":"⊂","Sub":"⋐","subdot":"⪽","subE":"⫅","sube":"⊆","subedot":"⫃","submult":"⫁","subnE":"⫋","subne":"⊊","subplus":"⪿","subrarr":"⥹","subset":"⊂","Subset":"⋐","subseteq":"⊆","subseteqq":"⫅","SubsetEqual":"⊆","subsetneq":"⊊","subsetneqq":"⫋","subsim":"⫇","subsub":"⫕","subsup":"⫓","succapprox":"⪸","succ":"≻","succcurlyeq":"≽","Succeeds":"≻","SucceedsEqual":"⪰","SucceedsSlantEqual":"≽","SucceedsTilde":"≿","succeq":"⪰","succnapprox":"⪺","succneqq":"⪶","succnsim":"⋩","succsim":"≿","SuchThat":"∋","sum":"∑","Sum":"∑","sung":"♪","sup1":"¹","sup2":"²","sup3":"³","sup":"⊃","Sup":"⋑","supdot":"⪾","supdsub":"⫘","supE":"⫆","supe":"⊇","supedot":"⫄","Superset":"⊃","SupersetEqual":"⊇","suphsol":"⟉","suphsub":"⫗","suplarr":"⥻","supmult":"⫂","supnE":"⫌","supne":"⊋","supplus":"⫀","supset":"⊃","Supset":"⋑","supseteq":"⊇","supseteqq":"⫆","supsetneq":"⊋","supsetneqq":"⫌","supsim":"⫈","supsub":"⫔","supsup":"⫖","swarhk":"⤦","swarr":"↙","swArr":"⇙","swarrow":"↙","swnwar":"⤪","szlig":"ß","Tab":"\\t","target":"⌖","Tau":"Τ","tau":"τ","tbrk":"⎴","Tcaron":"Ť","tcaron":"ť","Tcedil":"Ţ","tcedil":"ţ","Tcy":"Т","tcy":"т","tdot":"⃛","telrec":"⌕","Tfr":"𝔗","tfr":"𝔱","there4":"∴","therefore":"∴","Therefore":"∴","Theta":"Θ","theta":"θ","thetasym":"ϑ","thetav":"ϑ","thickapprox":"≈","thicksim":"∼","ThickSpace":"  ","ThinSpace":" ","thinsp":" ","thkap":"≈","thksim":"∼","THORN":"Þ","thorn":"þ","tilde":"˜","Tilde":"∼","TildeEqual":"≃","TildeFullEqual":"≅","TildeTilde":"≈","timesbar":"⨱","timesb":"⊠","times":"×","timesd":"⨰","tint":"∭","toea":"⤨","topbot":"⌶","topcir":"⫱","top":"⊤","Topf":"𝕋","topf":"𝕥","topfork":"⫚","tosa":"⤩","tprime":"‴","trade":"™","TRADE":"™","triangle":"▵","triangledown":"▿","triangleleft":"◃","trianglelefteq":"⊴","triangleq":"≜","triangleright":"▹","trianglerighteq":"⊵","tridot":"◬","trie":"≜","triminus":"⨺","TripleDot":"⃛","triplus":"⨹","trisb":"⧍","tritime":"⨻","trpezium":"⏢","Tscr":"𝒯","tscr":"𝓉","TScy":"Ц","tscy":"ц","TSHcy":"Ћ","tshcy":"ћ","Tstrok":"Ŧ","tstrok":"ŧ","twixt":"≬","twoheadleftarrow":"↞","twoheadrightarrow":"↠","Uacute":"Ú","uacute":"ú","uarr":"↑","Uarr":"↟","uArr":"⇑","Uarrocir":"⥉","Ubrcy":"Ў","ubrcy":"ў","Ubreve":"Ŭ","ubreve":"ŭ","Ucirc":"Û","ucirc":"û","Ucy":"У","ucy":"у","udarr":"⇅","Udblac":"Ű","udblac":"ű","udhar":"⥮","ufisht":"⥾","Ufr":"𝔘","ufr":"𝔲","Ugrave":"Ù","ugrave":"ù","uHar":"⥣","uharl":"↿","uharr":"↾","uhblk":"▀","ulcorn":"⌜","ulcorner":"⌜","ulcrop":"⌏","ultri":"◸","Umacr":"Ū","umacr":"ū","uml":"¨","UnderBar":"_","UnderBrace":"⏟","UnderBracket":"⎵","UnderParenthesis":"⏝","Union":"⋃","UnionPlus":"⊎","Uogon":"Ų","uogon":"ų","Uopf":"𝕌","uopf":"𝕦","UpArrowBar":"⤒","uparrow":"↑","UpArrow":"↑","Uparrow":"⇑","UpArrowDownArrow":"⇅","updownarrow":"↕","UpDownArrow":"↕","Updownarrow":"⇕","UpEquilibrium":"⥮","upharpoonleft":"↿","upharpoonright":"↾","uplus":"⊎","UpperLeftArrow":"↖","UpperRightArrow":"↗","upsi":"υ","Upsi":"ϒ","upsih":"ϒ","Upsilon":"Υ","upsilon":"υ","UpTeeArrow":"↥","UpTee":"⊥","upuparrows":"⇈","urcorn":"⌝","urcorner":"⌝","urcrop":"⌎","Uring":"Ů","uring":"ů","urtri":"◹","Uscr":"𝒰","uscr":"𝓊","utdot":"⋰","Utilde":"Ũ","utilde":"ũ","utri":"▵","utrif":"▴","uuarr":"⇈","Uuml":"Ü","uuml":"ü","uwangle":"⦧","vangrt":"⦜","varepsilon":"ϵ","varkappa":"ϰ","varnothing":"∅","varphi":"ϕ","varpi":"ϖ","varpropto":"∝","varr":"↕","vArr":"⇕","varrho":"ϱ","varsigma":"ς","varsubsetneq":"⊊︀","varsubsetneqq":"⫋︀","varsupsetneq":"⊋︀","varsupsetneqq":"⫌︀","vartheta":"ϑ","vartriangleleft":"⊲","vartriangleright":"⊳","vBar":"⫨","Vbar":"⫫","vBarv":"⫩","Vcy":"В","vcy":"в","vdash":"⊢","vDash":"⊨","Vdash":"⊩","VDash":"⊫","Vdashl":"⫦","veebar":"⊻","vee":"∨","Vee":"⋁","veeeq":"≚","vellip":"⋮","verbar":"|","Verbar":"‖","vert":"|","Vert":"‖","VerticalBar":"∣","VerticalLine":"|","VerticalSeparator":"❘","VerticalTilde":"≀","VeryThinSpace":" ","Vfr":"𝔙","vfr":"𝔳","vltri":"⊲","vnsub":"⊂⃒","vnsup":"⊃⃒","Vopf":"𝕍","vopf":"𝕧","vprop":"∝","vrtri":"⊳","Vscr":"𝒱","vscr":"𝓋","vsubnE":"⫋︀","vsubne":"⊊︀","vsupnE":"⫌︀","vsupne":"⊋︀","Vvdash":"⊪","vzigzag":"⦚","Wcirc":"Ŵ","wcirc":"ŵ","wedbar":"⩟","wedge":"∧","Wedge":"⋀","wedgeq":"≙","weierp":"℘","Wfr":"𝔚","wfr":"𝔴","Wopf":"𝕎","wopf":"𝕨","wp":"℘","wr":"≀","wreath":"≀","Wscr":"𝒲","wscr":"𝓌","xcap":"⋂","xcirc":"◯","xcup":"⋃","xdtri":"▽","Xfr":"𝔛","xfr":"𝔵","xharr":"⟷","xhArr":"⟺","Xi":"Ξ","xi":"ξ","xlarr":"⟵","xlArr":"⟸","xmap":"⟼","xnis":"⋻","xodot":"⨀","Xopf":"𝕏","xopf":"𝕩","xoplus":"⨁","xotime":"⨂","xrarr":"⟶","xrArr":"⟹","Xscr":"𝒳","xscr":"𝓍","xsqcup":"⨆","xuplus":"⨄","xutri":"△","xvee":"⋁","xwedge":"⋀","Yacute":"Ý","yacute":"ý","YAcy":"Я","yacy":"я","Ycirc":"Ŷ","ycirc":"ŷ","Ycy":"Ы","ycy":"ы","yen":"¥","Yfr":"𝔜","yfr":"𝔶","YIcy":"Ї","yicy":"ї","Yopf":"𝕐","yopf":"𝕪","Yscr":"𝒴","yscr":"𝓎","YUcy":"Ю","yucy":"ю","yuml":"ÿ","Yuml":"Ÿ","Zacute":"Ź","zacute":"ź","Zcaron":"Ž","zcaron":"ž","Zcy":"З","zcy":"з","Zdot":"Ż","zdot":"ż","zeetrf":"ℨ","ZeroWidthSpace":"​","Zeta":"Ζ","zeta":"ζ","zfr":"𝔷","Zfr":"ℨ","ZHcy":"Ж","zhcy":"ж","zigrarr":"⇝","zopf":"𝕫","Zopf":"ℤ","Zscr":"𝒵","zscr":"𝓏","zwj":"‍","zwnj":"‌"}')},29591:function(e){"use strict";e.exports=JSON.parse('{"Aacute":"Á","aacute":"á","Acirc":"Â","acirc":"â","acute":"´","AElig":"Æ","aelig":"æ","Agrave":"À","agrave":"à","amp":"&","AMP":"&","Aring":"Å","aring":"å","Atilde":"Ã","atilde":"ã","Auml":"Ä","auml":"ä","brvbar":"¦","Ccedil":"Ç","ccedil":"ç","cedil":"¸","cent":"¢","copy":"©","COPY":"©","curren":"¤","deg":"°","divide":"÷","Eacute":"É","eacute":"é","Ecirc":"Ê","ecirc":"ê","Egrave":"È","egrave":"è","ETH":"Ð","eth":"ð","Euml":"Ë","euml":"ë","frac12":"½","frac14":"¼","frac34":"¾","gt":">","GT":">","Iacute":"Í","iacute":"í","Icirc":"Î","icirc":"î","iexcl":"¡","Igrave":"Ì","igrave":"ì","iquest":"¿","Iuml":"Ï","iuml":"ï","laquo":"«","lt":"<","LT":"<","macr":"¯","micro":"µ","middot":"·","nbsp":" ","not":"¬","Ntilde":"Ñ","ntilde":"ñ","Oacute":"Ó","oacute":"ó","Ocirc":"Ô","ocirc":"ô","Ograve":"Ò","ograve":"ò","ordf":"ª","ordm":"º","Oslash":"Ø","oslash":"ø","Otilde":"Õ","otilde":"õ","Ouml":"Ö","ouml":"ö","para":"¶","plusmn":"±","pound":"£","quot":"\\"","QUOT":"\\"","raquo":"»","reg":"®","REG":"®","sect":"§","shy":"­","sup1":"¹","sup2":"²","sup3":"³","szlig":"ß","THORN":"Þ","thorn":"þ","times":"×","Uacute":"Ú","uacute":"ú","Ucirc":"Û","ucirc":"û","Ugrave":"Ù","ugrave":"ù","uml":"¨","Uuml":"Ü","uuml":"ü","Yacute":"Ý","yacute":"ý","yen":"¥","yuml":"ÿ"}')},2586:function(e){"use strict";e.exports=JSON.parse('{"amp":"&","apos":"\'","gt":">","lt":"<","quot":"\\""}')},42968:function(e){"use strict";e.exports=JSON.parse('{"0":65533,"128":8364,"130":8218,"131":402,"132":8222,"133":8230,"134":8224,"135":8225,"136":710,"137":8240,"138":352,"139":8249,"140":338,"142":381,"145":8216,"146":8217,"147":8220,"148":8221,"149":8226,"150":8211,"151":8212,"152":732,"153":8482,"154":353,"155":8250,"156":339,"158":382,"159":376}')},23042:function(e){"use strict";e.exports=JSON.parse('{"Aacute":"Á","aacute":"á","Abreve":"Ă","abreve":"ă","ac":"∾","acd":"∿","acE":"∾̳","Acirc":"Â","acirc":"â","acute":"´","Acy":"А","acy":"а","AElig":"Æ","aelig":"æ","af":"⁡","Afr":"𝔄","afr":"𝔞","Agrave":"À","agrave":"à","alefsym":"ℵ","aleph":"ℵ","Alpha":"Α","alpha":"α","Amacr":"Ā","amacr":"ā","amalg":"⨿","amp":"&","AMP":"&","andand":"⩕","And":"⩓","and":"∧","andd":"⩜","andslope":"⩘","andv":"⩚","ang":"∠","ange":"⦤","angle":"∠","angmsdaa":"⦨","angmsdab":"⦩","angmsdac":"⦪","angmsdad":"⦫","angmsdae":"⦬","angmsdaf":"⦭","angmsdag":"⦮","angmsdah":"⦯","angmsd":"∡","angrt":"∟","angrtvb":"⊾","angrtvbd":"⦝","angsph":"∢","angst":"Å","angzarr":"⍼","Aogon":"Ą","aogon":"ą","Aopf":"𝔸","aopf":"𝕒","apacir":"⩯","ap":"≈","apE":"⩰","ape":"≊","apid":"≋","apos":"\'","ApplyFunction":"⁡","approx":"≈","approxeq":"≊","Aring":"Å","aring":"å","Ascr":"𝒜","ascr":"𝒶","Assign":"≔","ast":"*","asymp":"≈","asympeq":"≍","Atilde":"Ã","atilde":"ã","Auml":"Ä","auml":"ä","awconint":"∳","awint":"⨑","backcong":"≌","backepsilon":"϶","backprime":"‵","backsim":"∽","backsimeq":"⋍","Backslash":"∖","Barv":"⫧","barvee":"⊽","barwed":"⌅","Barwed":"⌆","barwedge":"⌅","bbrk":"⎵","bbrktbrk":"⎶","bcong":"≌","Bcy":"Б","bcy":"б","bdquo":"„","becaus":"∵","because":"∵","Because":"∵","bemptyv":"⦰","bepsi":"϶","bernou":"ℬ","Bernoullis":"ℬ","Beta":"Β","beta":"β","beth":"ℶ","between":"≬","Bfr":"𝔅","bfr":"𝔟","bigcap":"⋂","bigcirc":"◯","bigcup":"⋃","bigodot":"⨀","bigoplus":"⨁","bigotimes":"⨂","bigsqcup":"⨆","bigstar":"★","bigtriangledown":"▽","bigtriangleup":"△","biguplus":"⨄","bigvee":"⋁","bigwedge":"⋀","bkarow":"⤍","blacklozenge":"⧫","blacksquare":"▪","blacktriangle":"▴","blacktriangledown":"▾","blacktriangleleft":"◂","blacktriangleright":"▸","blank":"␣","blk12":"▒","blk14":"░","blk34":"▓","block":"█","bne":"=⃥","bnequiv":"≡⃥","bNot":"⫭","bnot":"⌐","Bopf":"𝔹","bopf":"𝕓","bot":"⊥","bottom":"⊥","bowtie":"⋈","boxbox":"⧉","boxdl":"┐","boxdL":"╕","boxDl":"╖","boxDL":"╗","boxdr":"┌","boxdR":"╒","boxDr":"╓","boxDR":"╔","boxh":"─","boxH":"═","boxhd":"┬","boxHd":"╤","boxhD":"╥","boxHD":"╦","boxhu":"┴","boxHu":"╧","boxhU":"╨","boxHU":"╩","boxminus":"⊟","boxplus":"⊞","boxtimes":"⊠","boxul":"┘","boxuL":"╛","boxUl":"╜","boxUL":"╝","boxur":"└","boxuR":"╘","boxUr":"╙","boxUR":"╚","boxv":"│","boxV":"║","boxvh":"┼","boxvH":"╪","boxVh":"╫","boxVH":"╬","boxvl":"┤","boxvL":"╡","boxVl":"╢","boxVL":"╣","boxvr":"├","boxvR":"╞","boxVr":"╟","boxVR":"╠","bprime":"‵","breve":"˘","Breve":"˘","brvbar":"¦","bscr":"𝒷","Bscr":"ℬ","bsemi":"⁏","bsim":"∽","bsime":"⋍","bsolb":"⧅","bsol":"\\\\","bsolhsub":"⟈","bull":"•","bullet":"•","bump":"≎","bumpE":"⪮","bumpe":"≏","Bumpeq":"≎","bumpeq":"≏","Cacute":"Ć","cacute":"ć","capand":"⩄","capbrcup":"⩉","capcap":"⩋","cap":"∩","Cap":"⋒","capcup":"⩇","capdot":"⩀","CapitalDifferentialD":"ⅅ","caps":"∩︀","caret":"⁁","caron":"ˇ","Cayleys":"ℭ","ccaps":"⩍","Ccaron":"Č","ccaron":"č","Ccedil":"Ç","ccedil":"ç","Ccirc":"Ĉ","ccirc":"ĉ","Cconint":"∰","ccups":"⩌","ccupssm":"⩐","Cdot":"Ċ","cdot":"ċ","cedil":"¸","Cedilla":"¸","cemptyv":"⦲","cent":"¢","centerdot":"·","CenterDot":"·","cfr":"𝔠","Cfr":"ℭ","CHcy":"Ч","chcy":"ч","check":"✓","checkmark":"✓","Chi":"Χ","chi":"χ","circ":"ˆ","circeq":"≗","circlearrowleft":"↺","circlearrowright":"↻","circledast":"⊛","circledcirc":"⊚","circleddash":"⊝","CircleDot":"⊙","circledR":"®","circledS":"Ⓢ","CircleMinus":"⊖","CirclePlus":"⊕","CircleTimes":"⊗","cir":"○","cirE":"⧃","cire":"≗","cirfnint":"⨐","cirmid":"⫯","cirscir":"⧂","ClockwiseContourIntegral":"∲","CloseCurlyDoubleQuote":"”","CloseCurlyQuote":"’","clubs":"♣","clubsuit":"♣","colon":":","Colon":"∷","Colone":"⩴","colone":"≔","coloneq":"≔","comma":",","commat":"@","comp":"∁","compfn":"∘","complement":"∁","complexes":"ℂ","cong":"≅","congdot":"⩭","Congruent":"≡","conint":"∮","Conint":"∯","ContourIntegral":"∮","copf":"𝕔","Copf":"ℂ","coprod":"∐","Coproduct":"∐","copy":"©","COPY":"©","copysr":"℗","CounterClockwiseContourIntegral":"∳","crarr":"↵","cross":"✗","Cross":"⨯","Cscr":"𝒞","cscr":"𝒸","csub":"⫏","csube":"⫑","csup":"⫐","csupe":"⫒","ctdot":"⋯","cudarrl":"⤸","cudarrr":"⤵","cuepr":"⋞","cuesc":"⋟","cularr":"↶","cularrp":"⤽","cupbrcap":"⩈","cupcap":"⩆","CupCap":"≍","cup":"∪","Cup":"⋓","cupcup":"⩊","cupdot":"⊍","cupor":"⩅","cups":"∪︀","curarr":"↷","curarrm":"⤼","curlyeqprec":"⋞","curlyeqsucc":"⋟","curlyvee":"⋎","curlywedge":"⋏","curren":"¤","curvearrowleft":"↶","curvearrowright":"↷","cuvee":"⋎","cuwed":"⋏","cwconint":"∲","cwint":"∱","cylcty":"⌭","dagger":"†","Dagger":"‡","daleth":"ℸ","darr":"↓","Darr":"↡","dArr":"⇓","dash":"‐","Dashv":"⫤","dashv":"⊣","dbkarow":"⤏","dblac":"˝","Dcaron":"Ď","dcaron":"ď","Dcy":"Д","dcy":"д","ddagger":"‡","ddarr":"⇊","DD":"ⅅ","dd":"ⅆ","DDotrahd":"⤑","ddotseq":"⩷","deg":"°","Del":"∇","Delta":"Δ","delta":"δ","demptyv":"⦱","dfisht":"⥿","Dfr":"𝔇","dfr":"𝔡","dHar":"⥥","dharl":"⇃","dharr":"⇂","DiacriticalAcute":"´","DiacriticalDot":"˙","DiacriticalDoubleAcute":"˝","DiacriticalGrave":"`","DiacriticalTilde":"˜","diam":"⋄","diamond":"⋄","Diamond":"⋄","diamondsuit":"♦","diams":"♦","die":"¨","DifferentialD":"ⅆ","digamma":"ϝ","disin":"⋲","div":"÷","divide":"÷","divideontimes":"⋇","divonx":"⋇","DJcy":"Ђ","djcy":"ђ","dlcorn":"⌞","dlcrop":"⌍","dollar":"$","Dopf":"𝔻","dopf":"𝕕","Dot":"¨","dot":"˙","DotDot":"⃜","doteq":"≐","doteqdot":"≑","DotEqual":"≐","dotminus":"∸","dotplus":"∔","dotsquare":"⊡","doublebarwedge":"⌆","DoubleContourIntegral":"∯","DoubleDot":"¨","DoubleDownArrow":"⇓","DoubleLeftArrow":"⇐","DoubleLeftRightArrow":"⇔","DoubleLeftTee":"⫤","DoubleLongLeftArrow":"⟸","DoubleLongLeftRightArrow":"⟺","DoubleLongRightArrow":"⟹","DoubleRightArrow":"⇒","DoubleRightTee":"⊨","DoubleUpArrow":"⇑","DoubleUpDownArrow":"⇕","DoubleVerticalBar":"∥","DownArrowBar":"⤓","downarrow":"↓","DownArrow":"↓","Downarrow":"⇓","DownArrowUpArrow":"⇵","DownBreve":"̑","downdownarrows":"⇊","downharpoonleft":"⇃","downharpoonright":"⇂","DownLeftRightVector":"⥐","DownLeftTeeVector":"⥞","DownLeftVectorBar":"⥖","DownLeftVector":"↽","DownRightTeeVector":"⥟","DownRightVectorBar":"⥗","DownRightVector":"⇁","DownTeeArrow":"↧","DownTee":"⊤","drbkarow":"⤐","drcorn":"⌟","drcrop":"⌌","Dscr":"𝒟","dscr":"𝒹","DScy":"Ѕ","dscy":"ѕ","dsol":"⧶","Dstrok":"Đ","dstrok":"đ","dtdot":"⋱","dtri":"▿","dtrif":"▾","duarr":"⇵","duhar":"⥯","dwangle":"⦦","DZcy":"Џ","dzcy":"џ","dzigrarr":"⟿","Eacute":"É","eacute":"é","easter":"⩮","Ecaron":"Ě","ecaron":"ě","Ecirc":"Ê","ecirc":"ê","ecir":"≖","ecolon":"≕","Ecy":"Э","ecy":"э","eDDot":"⩷","Edot":"Ė","edot":"ė","eDot":"≑","ee":"ⅇ","efDot":"≒","Efr":"𝔈","efr":"𝔢","eg":"⪚","Egrave":"È","egrave":"è","egs":"⪖","egsdot":"⪘","el":"⪙","Element":"∈","elinters":"⏧","ell":"ℓ","els":"⪕","elsdot":"⪗","Emacr":"Ē","emacr":"ē","empty":"∅","emptyset":"∅","EmptySmallSquare":"◻","emptyv":"∅","EmptyVerySmallSquare":"▫","emsp13":" ","emsp14":" ","emsp":" ","ENG":"Ŋ","eng":"ŋ","ensp":" ","Eogon":"Ę","eogon":"ę","Eopf":"𝔼","eopf":"𝕖","epar":"⋕","eparsl":"⧣","eplus":"⩱","epsi":"ε","Epsilon":"Ε","epsilon":"ε","epsiv":"ϵ","eqcirc":"≖","eqcolon":"≕","eqsim":"≂","eqslantgtr":"⪖","eqslantless":"⪕","Equal":"⩵","equals":"=","EqualTilde":"≂","equest":"≟","Equilibrium":"⇌","equiv":"≡","equivDD":"⩸","eqvparsl":"⧥","erarr":"⥱","erDot":"≓","escr":"ℯ","Escr":"ℰ","esdot":"≐","Esim":"⩳","esim":"≂","Eta":"Η","eta":"η","ETH":"Ð","eth":"ð","Euml":"Ë","euml":"ë","euro":"€","excl":"!","exist":"∃","Exists":"∃","expectation":"ℰ","exponentiale":"ⅇ","ExponentialE":"ⅇ","fallingdotseq":"≒","Fcy":"Ф","fcy":"ф","female":"♀","ffilig":"ffi","fflig":"ff","ffllig":"ffl","Ffr":"𝔉","ffr":"𝔣","filig":"fi","FilledSmallSquare":"◼","FilledVerySmallSquare":"▪","fjlig":"fj","flat":"♭","fllig":"fl","fltns":"▱","fnof":"ƒ","Fopf":"𝔽","fopf":"𝕗","forall":"∀","ForAll":"∀","fork":"⋔","forkv":"⫙","Fouriertrf":"ℱ","fpartint":"⨍","frac12":"½","frac13":"⅓","frac14":"¼","frac15":"⅕","frac16":"⅙","frac18":"⅛","frac23":"⅔","frac25":"⅖","frac34":"¾","frac35":"⅗","frac38":"⅜","frac45":"⅘","frac56":"⅚","frac58":"⅝","frac78":"⅞","frasl":"⁄","frown":"⌢","fscr":"𝒻","Fscr":"ℱ","gacute":"ǵ","Gamma":"Γ","gamma":"γ","Gammad":"Ϝ","gammad":"ϝ","gap":"⪆","Gbreve":"Ğ","gbreve":"ğ","Gcedil":"Ģ","Gcirc":"Ĝ","gcirc":"ĝ","Gcy":"Г","gcy":"г","Gdot":"Ġ","gdot":"ġ","ge":"≥","gE":"≧","gEl":"⪌","gel":"⋛","geq":"≥","geqq":"≧","geqslant":"⩾","gescc":"⪩","ges":"⩾","gesdot":"⪀","gesdoto":"⪂","gesdotol":"⪄","gesl":"⋛︀","gesles":"⪔","Gfr":"𝔊","gfr":"𝔤","gg":"≫","Gg":"⋙","ggg":"⋙","gimel":"ℷ","GJcy":"Ѓ","gjcy":"ѓ","gla":"⪥","gl":"≷","glE":"⪒","glj":"⪤","gnap":"⪊","gnapprox":"⪊","gne":"⪈","gnE":"≩","gneq":"⪈","gneqq":"≩","gnsim":"⋧","Gopf":"𝔾","gopf":"𝕘","grave":"`","GreaterEqual":"≥","GreaterEqualLess":"⋛","GreaterFullEqual":"≧","GreaterGreater":"⪢","GreaterLess":"≷","GreaterSlantEqual":"⩾","GreaterTilde":"≳","Gscr":"𝒢","gscr":"ℊ","gsim":"≳","gsime":"⪎","gsiml":"⪐","gtcc":"⪧","gtcir":"⩺","gt":">","GT":">","Gt":"≫","gtdot":"⋗","gtlPar":"⦕","gtquest":"⩼","gtrapprox":"⪆","gtrarr":"⥸","gtrdot":"⋗","gtreqless":"⋛","gtreqqless":"⪌","gtrless":"≷","gtrsim":"≳","gvertneqq":"≩︀","gvnE":"≩︀","Hacek":"ˇ","hairsp":" ","half":"½","hamilt":"ℋ","HARDcy":"Ъ","hardcy":"ъ","harrcir":"⥈","harr":"↔","hArr":"⇔","harrw":"↭","Hat":"^","hbar":"ℏ","Hcirc":"Ĥ","hcirc":"ĥ","hearts":"♥","heartsuit":"♥","hellip":"…","hercon":"⊹","hfr":"𝔥","Hfr":"ℌ","HilbertSpace":"ℋ","hksearow":"⤥","hkswarow":"⤦","hoarr":"⇿","homtht":"∻","hookleftarrow":"↩","hookrightarrow":"↪","hopf":"𝕙","Hopf":"ℍ","horbar":"―","HorizontalLine":"─","hscr":"𝒽","Hscr":"ℋ","hslash":"ℏ","Hstrok":"Ħ","hstrok":"ħ","HumpDownHump":"≎","HumpEqual":"≏","hybull":"⁃","hyphen":"‐","Iacute":"Í","iacute":"í","ic":"⁣","Icirc":"Î","icirc":"î","Icy":"И","icy":"и","Idot":"İ","IEcy":"Е","iecy":"е","iexcl":"¡","iff":"⇔","ifr":"𝔦","Ifr":"ℑ","Igrave":"Ì","igrave":"ì","ii":"ⅈ","iiiint":"⨌","iiint":"∭","iinfin":"⧜","iiota":"℩","IJlig":"IJ","ijlig":"ij","Imacr":"Ī","imacr":"ī","image":"ℑ","ImaginaryI":"ⅈ","imagline":"ℐ","imagpart":"ℑ","imath":"ı","Im":"ℑ","imof":"⊷","imped":"Ƶ","Implies":"⇒","incare":"℅","in":"∈","infin":"∞","infintie":"⧝","inodot":"ı","intcal":"⊺","int":"∫","Int":"∬","integers":"ℤ","Integral":"∫","intercal":"⊺","Intersection":"⋂","intlarhk":"⨗","intprod":"⨼","InvisibleComma":"⁣","InvisibleTimes":"⁢","IOcy":"Ё","iocy":"ё","Iogon":"Į","iogon":"į","Iopf":"𝕀","iopf":"𝕚","Iota":"Ι","iota":"ι","iprod":"⨼","iquest":"¿","iscr":"𝒾","Iscr":"ℐ","isin":"∈","isindot":"⋵","isinE":"⋹","isins":"⋴","isinsv":"⋳","isinv":"∈","it":"⁢","Itilde":"Ĩ","itilde":"ĩ","Iukcy":"І","iukcy":"і","Iuml":"Ï","iuml":"ï","Jcirc":"Ĵ","jcirc":"ĵ","Jcy":"Й","jcy":"й","Jfr":"𝔍","jfr":"𝔧","jmath":"ȷ","Jopf":"𝕁","jopf":"𝕛","Jscr":"𝒥","jscr":"𝒿","Jsercy":"Ј","jsercy":"ј","Jukcy":"Є","jukcy":"є","Kappa":"Κ","kappa":"κ","kappav":"ϰ","Kcedil":"Ķ","kcedil":"ķ","Kcy":"К","kcy":"к","Kfr":"𝔎","kfr":"𝔨","kgreen":"ĸ","KHcy":"Х","khcy":"х","KJcy":"Ќ","kjcy":"ќ","Kopf":"𝕂","kopf":"𝕜","Kscr":"𝒦","kscr":"𝓀","lAarr":"⇚","Lacute":"Ĺ","lacute":"ĺ","laemptyv":"⦴","lagran":"ℒ","Lambda":"Λ","lambda":"λ","lang":"⟨","Lang":"⟪","langd":"⦑","langle":"⟨","lap":"⪅","Laplacetrf":"ℒ","laquo":"«","larrb":"⇤","larrbfs":"⤟","larr":"←","Larr":"↞","lArr":"⇐","larrfs":"⤝","larrhk":"↩","larrlp":"↫","larrpl":"⤹","larrsim":"⥳","larrtl":"↢","latail":"⤙","lAtail":"⤛","lat":"⪫","late":"⪭","lates":"⪭︀","lbarr":"⤌","lBarr":"⤎","lbbrk":"❲","lbrace":"{","lbrack":"[","lbrke":"⦋","lbrksld":"⦏","lbrkslu":"⦍","Lcaron":"Ľ","lcaron":"ľ","Lcedil":"Ļ","lcedil":"ļ","lceil":"⌈","lcub":"{","Lcy":"Л","lcy":"л","ldca":"⤶","ldquo":"“","ldquor":"„","ldrdhar":"⥧","ldrushar":"⥋","ldsh":"↲","le":"≤","lE":"≦","LeftAngleBracket":"⟨","LeftArrowBar":"⇤","leftarrow":"←","LeftArrow":"←","Leftarrow":"⇐","LeftArrowRightArrow":"⇆","leftarrowtail":"↢","LeftCeiling":"⌈","LeftDoubleBracket":"⟦","LeftDownTeeVector":"⥡","LeftDownVectorBar":"⥙","LeftDownVector":"⇃","LeftFloor":"⌊","leftharpoondown":"↽","leftharpoonup":"↼","leftleftarrows":"⇇","leftrightarrow":"↔","LeftRightArrow":"↔","Leftrightarrow":"⇔","leftrightarrows":"⇆","leftrightharpoons":"⇋","leftrightsquigarrow":"↭","LeftRightVector":"⥎","LeftTeeArrow":"↤","LeftTee":"⊣","LeftTeeVector":"⥚","leftthreetimes":"⋋","LeftTriangleBar":"⧏","LeftTriangle":"⊲","LeftTriangleEqual":"⊴","LeftUpDownVector":"⥑","LeftUpTeeVector":"⥠","LeftUpVectorBar":"⥘","LeftUpVector":"↿","LeftVectorBar":"⥒","LeftVector":"↼","lEg":"⪋","leg":"⋚","leq":"≤","leqq":"≦","leqslant":"⩽","lescc":"⪨","les":"⩽","lesdot":"⩿","lesdoto":"⪁","lesdotor":"⪃","lesg":"⋚︀","lesges":"⪓","lessapprox":"⪅","lessdot":"⋖","lesseqgtr":"⋚","lesseqqgtr":"⪋","LessEqualGreater":"⋚","LessFullEqual":"≦","LessGreater":"≶","lessgtr":"≶","LessLess":"⪡","lesssim":"≲","LessSlantEqual":"⩽","LessTilde":"≲","lfisht":"⥼","lfloor":"⌊","Lfr":"𝔏","lfr":"𝔩","lg":"≶","lgE":"⪑","lHar":"⥢","lhard":"↽","lharu":"↼","lharul":"⥪","lhblk":"▄","LJcy":"Љ","ljcy":"љ","llarr":"⇇","ll":"≪","Ll":"⋘","llcorner":"⌞","Lleftarrow":"⇚","llhard":"⥫","lltri":"◺","Lmidot":"Ŀ","lmidot":"ŀ","lmoustache":"⎰","lmoust":"⎰","lnap":"⪉","lnapprox":"⪉","lne":"⪇","lnE":"≨","lneq":"⪇","lneqq":"≨","lnsim":"⋦","loang":"⟬","loarr":"⇽","lobrk":"⟦","longleftarrow":"⟵","LongLeftArrow":"⟵","Longleftarrow":"⟸","longleftrightarrow":"⟷","LongLeftRightArrow":"⟷","Longleftrightarrow":"⟺","longmapsto":"⟼","longrightarrow":"⟶","LongRightArrow":"⟶","Longrightarrow":"⟹","looparrowleft":"↫","looparrowright":"↬","lopar":"⦅","Lopf":"𝕃","lopf":"𝕝","loplus":"⨭","lotimes":"⨴","lowast":"∗","lowbar":"_","LowerLeftArrow":"↙","LowerRightArrow":"↘","loz":"◊","lozenge":"◊","lozf":"⧫","lpar":"(","lparlt":"⦓","lrarr":"⇆","lrcorner":"⌟","lrhar":"⇋","lrhard":"⥭","lrm":"‎","lrtri":"⊿","lsaquo":"‹","lscr":"𝓁","Lscr":"ℒ","lsh":"↰","Lsh":"↰","lsim":"≲","lsime":"⪍","lsimg":"⪏","lsqb":"[","lsquo":"‘","lsquor":"‚","Lstrok":"Ł","lstrok":"ł","ltcc":"⪦","ltcir":"⩹","lt":"<","LT":"<","Lt":"≪","ltdot":"⋖","lthree":"⋋","ltimes":"⋉","ltlarr":"⥶","ltquest":"⩻","ltri":"◃","ltrie":"⊴","ltrif":"◂","ltrPar":"⦖","lurdshar":"⥊","luruhar":"⥦","lvertneqq":"≨︀","lvnE":"≨︀","macr":"¯","male":"♂","malt":"✠","maltese":"✠","Map":"⤅","map":"↦","mapsto":"↦","mapstodown":"↧","mapstoleft":"↤","mapstoup":"↥","marker":"▮","mcomma":"⨩","Mcy":"М","mcy":"м","mdash":"—","mDDot":"∺","measuredangle":"∡","MediumSpace":" ","Mellintrf":"ℳ","Mfr":"𝔐","mfr":"𝔪","mho":"℧","micro":"µ","midast":"*","midcir":"⫰","mid":"∣","middot":"·","minusb":"⊟","minus":"−","minusd":"∸","minusdu":"⨪","MinusPlus":"∓","mlcp":"⫛","mldr":"…","mnplus":"∓","models":"⊧","Mopf":"𝕄","mopf":"𝕞","mp":"∓","mscr":"𝓂","Mscr":"ℳ","mstpos":"∾","Mu":"Μ","mu":"μ","multimap":"⊸","mumap":"⊸","nabla":"∇","Nacute":"Ń","nacute":"ń","nang":"∠⃒","nap":"≉","napE":"⩰̸","napid":"≋̸","napos":"ʼn","napprox":"≉","natural":"♮","naturals":"ℕ","natur":"♮","nbsp":" ","nbump":"≎̸","nbumpe":"≏̸","ncap":"⩃","Ncaron":"Ň","ncaron":"ň","Ncedil":"Ņ","ncedil":"ņ","ncong":"≇","ncongdot":"⩭̸","ncup":"⩂","Ncy":"Н","ncy":"н","ndash":"–","nearhk":"⤤","nearr":"↗","neArr":"⇗","nearrow":"↗","ne":"≠","nedot":"≐̸","NegativeMediumSpace":"​","NegativeThickSpace":"​","NegativeThinSpace":"​","NegativeVeryThinSpace":"​","nequiv":"≢","nesear":"⤨","nesim":"≂̸","NestedGreaterGreater":"≫","NestedLessLess":"≪","NewLine":"\\n","nexist":"∄","nexists":"∄","Nfr":"𝔑","nfr":"𝔫","ngE":"≧̸","nge":"≱","ngeq":"≱","ngeqq":"≧̸","ngeqslant":"⩾̸","nges":"⩾̸","nGg":"⋙̸","ngsim":"≵","nGt":"≫⃒","ngt":"≯","ngtr":"≯","nGtv":"≫̸","nharr":"↮","nhArr":"⇎","nhpar":"⫲","ni":"∋","nis":"⋼","nisd":"⋺","niv":"∋","NJcy":"Њ","njcy":"њ","nlarr":"↚","nlArr":"⇍","nldr":"‥","nlE":"≦̸","nle":"≰","nleftarrow":"↚","nLeftarrow":"⇍","nleftrightarrow":"↮","nLeftrightarrow":"⇎","nleq":"≰","nleqq":"≦̸","nleqslant":"⩽̸","nles":"⩽̸","nless":"≮","nLl":"⋘̸","nlsim":"≴","nLt":"≪⃒","nlt":"≮","nltri":"⋪","nltrie":"⋬","nLtv":"≪̸","nmid":"∤","NoBreak":"⁠","NonBreakingSpace":" ","nopf":"𝕟","Nopf":"ℕ","Not":"⫬","not":"¬","NotCongruent":"≢","NotCupCap":"≭","NotDoubleVerticalBar":"∦","NotElement":"∉","NotEqual":"≠","NotEqualTilde":"≂̸","NotExists":"∄","NotGreater":"≯","NotGreaterEqual":"≱","NotGreaterFullEqual":"≧̸","NotGreaterGreater":"≫̸","NotGreaterLess":"≹","NotGreaterSlantEqual":"⩾̸","NotGreaterTilde":"≵","NotHumpDownHump":"≎̸","NotHumpEqual":"≏̸","notin":"∉","notindot":"⋵̸","notinE":"⋹̸","notinva":"∉","notinvb":"⋷","notinvc":"⋶","NotLeftTriangleBar":"⧏̸","NotLeftTriangle":"⋪","NotLeftTriangleEqual":"⋬","NotLess":"≮","NotLessEqual":"≰","NotLessGreater":"≸","NotLessLess":"≪̸","NotLessSlantEqual":"⩽̸","NotLessTilde":"≴","NotNestedGreaterGreater":"⪢̸","NotNestedLessLess":"⪡̸","notni":"∌","notniva":"∌","notnivb":"⋾","notnivc":"⋽","NotPrecedes":"⊀","NotPrecedesEqual":"⪯̸","NotPrecedesSlantEqual":"⋠","NotReverseElement":"∌","NotRightTriangleBar":"⧐̸","NotRightTriangle":"⋫","NotRightTriangleEqual":"⋭","NotSquareSubset":"⊏̸","NotSquareSubsetEqual":"⋢","NotSquareSuperset":"⊐̸","NotSquareSupersetEqual":"⋣","NotSubset":"⊂⃒","NotSubsetEqual":"⊈","NotSucceeds":"⊁","NotSucceedsEqual":"⪰̸","NotSucceedsSlantEqual":"⋡","NotSucceedsTilde":"≿̸","NotSuperset":"⊃⃒","NotSupersetEqual":"⊉","NotTilde":"≁","NotTildeEqual":"≄","NotTildeFullEqual":"≇","NotTildeTilde":"≉","NotVerticalBar":"∤","nparallel":"∦","npar":"∦","nparsl":"⫽⃥","npart":"∂̸","npolint":"⨔","npr":"⊀","nprcue":"⋠","nprec":"⊀","npreceq":"⪯̸","npre":"⪯̸","nrarrc":"⤳̸","nrarr":"↛","nrArr":"⇏","nrarrw":"↝̸","nrightarrow":"↛","nRightarrow":"⇏","nrtri":"⋫","nrtrie":"⋭","nsc":"⊁","nsccue":"⋡","nsce":"⪰̸","Nscr":"𝒩","nscr":"𝓃","nshortmid":"∤","nshortparallel":"∦","nsim":"≁","nsime":"≄","nsimeq":"≄","nsmid":"∤","nspar":"∦","nsqsube":"⋢","nsqsupe":"⋣","nsub":"⊄","nsubE":"⫅̸","nsube":"⊈","nsubset":"⊂⃒","nsubseteq":"⊈","nsubseteqq":"⫅̸","nsucc":"⊁","nsucceq":"⪰̸","nsup":"⊅","nsupE":"⫆̸","nsupe":"⊉","nsupset":"⊃⃒","nsupseteq":"⊉","nsupseteqq":"⫆̸","ntgl":"≹","Ntilde":"Ñ","ntilde":"ñ","ntlg":"≸","ntriangleleft":"⋪","ntrianglelefteq":"⋬","ntriangleright":"⋫","ntrianglerighteq":"⋭","Nu":"Ν","nu":"ν","num":"#","numero":"№","numsp":" ","nvap":"≍⃒","nvdash":"⊬","nvDash":"⊭","nVdash":"⊮","nVDash":"⊯","nvge":"≥⃒","nvgt":">⃒","nvHarr":"⤄","nvinfin":"⧞","nvlArr":"⤂","nvle":"≤⃒","nvlt":"<⃒","nvltrie":"⊴⃒","nvrArr":"⤃","nvrtrie":"⊵⃒","nvsim":"∼⃒","nwarhk":"⤣","nwarr":"↖","nwArr":"⇖","nwarrow":"↖","nwnear":"⤧","Oacute":"Ó","oacute":"ó","oast":"⊛","Ocirc":"Ô","ocirc":"ô","ocir":"⊚","Ocy":"О","ocy":"о","odash":"⊝","Odblac":"Ő","odblac":"ő","odiv":"⨸","odot":"⊙","odsold":"⦼","OElig":"Œ","oelig":"œ","ofcir":"⦿","Ofr":"𝔒","ofr":"𝔬","ogon":"˛","Ograve":"Ò","ograve":"ò","ogt":"⧁","ohbar":"⦵","ohm":"Ω","oint":"∮","olarr":"↺","olcir":"⦾","olcross":"⦻","oline":"‾","olt":"⧀","Omacr":"Ō","omacr":"ō","Omega":"Ω","omega":"ω","Omicron":"Ο","omicron":"ο","omid":"⦶","ominus":"⊖","Oopf":"𝕆","oopf":"𝕠","opar":"⦷","OpenCurlyDoubleQuote":"“","OpenCurlyQuote":"‘","operp":"⦹","oplus":"⊕","orarr":"↻","Or":"⩔","or":"∨","ord":"⩝","order":"ℴ","orderof":"ℴ","ordf":"ª","ordm":"º","origof":"⊶","oror":"⩖","orslope":"⩗","orv":"⩛","oS":"Ⓢ","Oscr":"𝒪","oscr":"ℴ","Oslash":"Ø","oslash":"ø","osol":"⊘","Otilde":"Õ","otilde":"õ","otimesas":"⨶","Otimes":"⨷","otimes":"⊗","Ouml":"Ö","ouml":"ö","ovbar":"⌽","OverBar":"‾","OverBrace":"⏞","OverBracket":"⎴","OverParenthesis":"⏜","para":"¶","parallel":"∥","par":"∥","parsim":"⫳","parsl":"⫽","part":"∂","PartialD":"∂","Pcy":"П","pcy":"п","percnt":"%","period":".","permil":"‰","perp":"⊥","pertenk":"‱","Pfr":"𝔓","pfr":"𝔭","Phi":"Φ","phi":"φ","phiv":"ϕ","phmmat":"ℳ","phone":"☎","Pi":"Π","pi":"π","pitchfork":"⋔","piv":"ϖ","planck":"ℏ","planckh":"ℎ","plankv":"ℏ","plusacir":"⨣","plusb":"⊞","pluscir":"⨢","plus":"+","plusdo":"∔","plusdu":"⨥","pluse":"⩲","PlusMinus":"±","plusmn":"±","plussim":"⨦","plustwo":"⨧","pm":"±","Poincareplane":"ℌ","pointint":"⨕","popf":"𝕡","Popf":"ℙ","pound":"£","prap":"⪷","Pr":"⪻","pr":"≺","prcue":"≼","precapprox":"⪷","prec":"≺","preccurlyeq":"≼","Precedes":"≺","PrecedesEqual":"⪯","PrecedesSlantEqual":"≼","PrecedesTilde":"≾","preceq":"⪯","precnapprox":"⪹","precneqq":"⪵","precnsim":"⋨","pre":"⪯","prE":"⪳","precsim":"≾","prime":"′","Prime":"″","primes":"ℙ","prnap":"⪹","prnE":"⪵","prnsim":"⋨","prod":"∏","Product":"∏","profalar":"⌮","profline":"⌒","profsurf":"⌓","prop":"∝","Proportional":"∝","Proportion":"∷","propto":"∝","prsim":"≾","prurel":"⊰","Pscr":"𝒫","pscr":"𝓅","Psi":"Ψ","psi":"ψ","puncsp":" ","Qfr":"𝔔","qfr":"𝔮","qint":"⨌","qopf":"𝕢","Qopf":"ℚ","qprime":"⁗","Qscr":"𝒬","qscr":"𝓆","quaternions":"ℍ","quatint":"⨖","quest":"?","questeq":"≟","quot":"\\"","QUOT":"\\"","rAarr":"⇛","race":"∽̱","Racute":"Ŕ","racute":"ŕ","radic":"√","raemptyv":"⦳","rang":"⟩","Rang":"⟫","rangd":"⦒","range":"⦥","rangle":"⟩","raquo":"»","rarrap":"⥵","rarrb":"⇥","rarrbfs":"⤠","rarrc":"⤳","rarr":"→","Rarr":"↠","rArr":"⇒","rarrfs":"⤞","rarrhk":"↪","rarrlp":"↬","rarrpl":"⥅","rarrsim":"⥴","Rarrtl":"⤖","rarrtl":"↣","rarrw":"↝","ratail":"⤚","rAtail":"⤜","ratio":"∶","rationals":"ℚ","rbarr":"⤍","rBarr":"⤏","RBarr":"⤐","rbbrk":"❳","rbrace":"}","rbrack":"]","rbrke":"⦌","rbrksld":"⦎","rbrkslu":"⦐","Rcaron":"Ř","rcaron":"ř","Rcedil":"Ŗ","rcedil":"ŗ","rceil":"⌉","rcub":"}","Rcy":"Р","rcy":"р","rdca":"⤷","rdldhar":"⥩","rdquo":"”","rdquor":"”","rdsh":"↳","real":"ℜ","realine":"ℛ","realpart":"ℜ","reals":"ℝ","Re":"ℜ","rect":"▭","reg":"®","REG":"®","ReverseElement":"∋","ReverseEquilibrium":"⇋","ReverseUpEquilibrium":"⥯","rfisht":"⥽","rfloor":"⌋","rfr":"𝔯","Rfr":"ℜ","rHar":"⥤","rhard":"⇁","rharu":"⇀","rharul":"⥬","Rho":"Ρ","rho":"ρ","rhov":"ϱ","RightAngleBracket":"⟩","RightArrowBar":"⇥","rightarrow":"→","RightArrow":"→","Rightarrow":"⇒","RightArrowLeftArrow":"⇄","rightarrowtail":"↣","RightCeiling":"⌉","RightDoubleBracket":"⟧","RightDownTeeVector":"⥝","RightDownVectorBar":"⥕","RightDownVector":"⇂","RightFloor":"⌋","rightharpoondown":"⇁","rightharpoonup":"⇀","rightleftarrows":"⇄","rightleftharpoons":"⇌","rightrightarrows":"⇉","rightsquigarrow":"↝","RightTeeArrow":"↦","RightTee":"⊢","RightTeeVector":"⥛","rightthreetimes":"⋌","RightTriangleBar":"⧐","RightTriangle":"⊳","RightTriangleEqual":"⊵","RightUpDownVector":"⥏","RightUpTeeVector":"⥜","RightUpVectorBar":"⥔","RightUpVector":"↾","RightVectorBar":"⥓","RightVector":"⇀","ring":"˚","risingdotseq":"≓","rlarr":"⇄","rlhar":"⇌","rlm":"‏","rmoustache":"⎱","rmoust":"⎱","rnmid":"⫮","roang":"⟭","roarr":"⇾","robrk":"⟧","ropar":"⦆","ropf":"𝕣","Ropf":"ℝ","roplus":"⨮","rotimes":"⨵","RoundImplies":"⥰","rpar":")","rpargt":"⦔","rppolint":"⨒","rrarr":"⇉","Rrightarrow":"⇛","rsaquo":"›","rscr":"𝓇","Rscr":"ℛ","rsh":"↱","Rsh":"↱","rsqb":"]","rsquo":"’","rsquor":"’","rthree":"⋌","rtimes":"⋊","rtri":"▹","rtrie":"⊵","rtrif":"▸","rtriltri":"⧎","RuleDelayed":"⧴","ruluhar":"⥨","rx":"℞","Sacute":"Ś","sacute":"ś","sbquo":"‚","scap":"⪸","Scaron":"Š","scaron":"š","Sc":"⪼","sc":"≻","sccue":"≽","sce":"⪰","scE":"⪴","Scedil":"Ş","scedil":"ş","Scirc":"Ŝ","scirc":"ŝ","scnap":"⪺","scnE":"⪶","scnsim":"⋩","scpolint":"⨓","scsim":"≿","Scy":"С","scy":"с","sdotb":"⊡","sdot":"⋅","sdote":"⩦","searhk":"⤥","searr":"↘","seArr":"⇘","searrow":"↘","sect":"§","semi":";","seswar":"⤩","setminus":"∖","setmn":"∖","sext":"✶","Sfr":"𝔖","sfr":"𝔰","sfrown":"⌢","sharp":"♯","SHCHcy":"Щ","shchcy":"щ","SHcy":"Ш","shcy":"ш","ShortDownArrow":"↓","ShortLeftArrow":"←","shortmid":"∣","shortparallel":"∥","ShortRightArrow":"→","ShortUpArrow":"↑","shy":"­","Sigma":"Σ","sigma":"σ","sigmaf":"ς","sigmav":"ς","sim":"∼","simdot":"⩪","sime":"≃","simeq":"≃","simg":"⪞","simgE":"⪠","siml":"⪝","simlE":"⪟","simne":"≆","simplus":"⨤","simrarr":"⥲","slarr":"←","SmallCircle":"∘","smallsetminus":"∖","smashp":"⨳","smeparsl":"⧤","smid":"∣","smile":"⌣","smt":"⪪","smte":"⪬","smtes":"⪬︀","SOFTcy":"Ь","softcy":"ь","solbar":"⌿","solb":"⧄","sol":"/","Sopf":"𝕊","sopf":"𝕤","spades":"♠","spadesuit":"♠","spar":"∥","sqcap":"⊓","sqcaps":"⊓︀","sqcup":"⊔","sqcups":"⊔︀","Sqrt":"√","sqsub":"⊏","sqsube":"⊑","sqsubset":"⊏","sqsubseteq":"⊑","sqsup":"⊐","sqsupe":"⊒","sqsupset":"⊐","sqsupseteq":"⊒","square":"□","Square":"□","SquareIntersection":"⊓","SquareSubset":"⊏","SquareSubsetEqual":"⊑","SquareSuperset":"⊐","SquareSupersetEqual":"⊒","SquareUnion":"⊔","squarf":"▪","squ":"□","squf":"▪","srarr":"→","Sscr":"𝒮","sscr":"𝓈","ssetmn":"∖","ssmile":"⌣","sstarf":"⋆","Star":"⋆","star":"☆","starf":"★","straightepsilon":"ϵ","straightphi":"ϕ","strns":"¯","sub":"⊂","Sub":"⋐","subdot":"⪽","subE":"⫅","sube":"⊆","subedot":"⫃","submult":"⫁","subnE":"⫋","subne":"⊊","subplus":"⪿","subrarr":"⥹","subset":"⊂","Subset":"⋐","subseteq":"⊆","subseteqq":"⫅","SubsetEqual":"⊆","subsetneq":"⊊","subsetneqq":"⫋","subsim":"⫇","subsub":"⫕","subsup":"⫓","succapprox":"⪸","succ":"≻","succcurlyeq":"≽","Succeeds":"≻","SucceedsEqual":"⪰","SucceedsSlantEqual":"≽","SucceedsTilde":"≿","succeq":"⪰","succnapprox":"⪺","succneqq":"⪶","succnsim":"⋩","succsim":"≿","SuchThat":"∋","sum":"∑","Sum":"∑","sung":"♪","sup1":"¹","sup2":"²","sup3":"³","sup":"⊃","Sup":"⋑","supdot":"⪾","supdsub":"⫘","supE":"⫆","supe":"⊇","supedot":"⫄","Superset":"⊃","SupersetEqual":"⊇","suphsol":"⟉","suphsub":"⫗","suplarr":"⥻","supmult":"⫂","supnE":"⫌","supne":"⊋","supplus":"⫀","supset":"⊃","Supset":"⋑","supseteq":"⊇","supseteqq":"⫆","supsetneq":"⊋","supsetneqq":"⫌","supsim":"⫈","supsub":"⫔","supsup":"⫖","swarhk":"⤦","swarr":"↙","swArr":"⇙","swarrow":"↙","swnwar":"⤪","szlig":"ß","Tab":"\\t","target":"⌖","Tau":"Τ","tau":"τ","tbrk":"⎴","Tcaron":"Ť","tcaron":"ť","Tcedil":"Ţ","tcedil":"ţ","Tcy":"Т","tcy":"т","tdot":"⃛","telrec":"⌕","Tfr":"𝔗","tfr":"𝔱","there4":"∴","therefore":"∴","Therefore":"∴","Theta":"Θ","theta":"θ","thetasym":"ϑ","thetav":"ϑ","thickapprox":"≈","thicksim":"∼","ThickSpace":"  ","ThinSpace":" ","thinsp":" ","thkap":"≈","thksim":"∼","THORN":"Þ","thorn":"þ","tilde":"˜","Tilde":"∼","TildeEqual":"≃","TildeFullEqual":"≅","TildeTilde":"≈","timesbar":"⨱","timesb":"⊠","times":"×","timesd":"⨰","tint":"∭","toea":"⤨","topbot":"⌶","topcir":"⫱","top":"⊤","Topf":"𝕋","topf":"𝕥","topfork":"⫚","tosa":"⤩","tprime":"‴","trade":"™","TRADE":"™","triangle":"▵","triangledown":"▿","triangleleft":"◃","trianglelefteq":"⊴","triangleq":"≜","triangleright":"▹","trianglerighteq":"⊵","tridot":"◬","trie":"≜","triminus":"⨺","TripleDot":"⃛","triplus":"⨹","trisb":"⧍","tritime":"⨻","trpezium":"⏢","Tscr":"𝒯","tscr":"𝓉","TScy":"Ц","tscy":"ц","TSHcy":"Ћ","tshcy":"ћ","Tstrok":"Ŧ","tstrok":"ŧ","twixt":"≬","twoheadleftarrow":"↞","twoheadrightarrow":"↠","Uacute":"Ú","uacute":"ú","uarr":"↑","Uarr":"↟","uArr":"⇑","Uarrocir":"⥉","Ubrcy":"Ў","ubrcy":"ў","Ubreve":"Ŭ","ubreve":"ŭ","Ucirc":"Û","ucirc":"û","Ucy":"У","ucy":"у","udarr":"⇅","Udblac":"Ű","udblac":"ű","udhar":"⥮","ufisht":"⥾","Ufr":"𝔘","ufr":"𝔲","Ugrave":"Ù","ugrave":"ù","uHar":"⥣","uharl":"↿","uharr":"↾","uhblk":"▀","ulcorn":"⌜","ulcorner":"⌜","ulcrop":"⌏","ultri":"◸","Umacr":"Ū","umacr":"ū","uml":"¨","UnderBar":"_","UnderBrace":"⏟","UnderBracket":"⎵","UnderParenthesis":"⏝","Union":"⋃","UnionPlus":"⊎","Uogon":"Ų","uogon":"ų","Uopf":"𝕌","uopf":"𝕦","UpArrowBar":"⤒","uparrow":"↑","UpArrow":"↑","Uparrow":"⇑","UpArrowDownArrow":"⇅","updownarrow":"↕","UpDownArrow":"↕","Updownarrow":"⇕","UpEquilibrium":"⥮","upharpoonleft":"↿","upharpoonright":"↾","uplus":"⊎","UpperLeftArrow":"↖","UpperRightArrow":"↗","upsi":"υ","Upsi":"ϒ","upsih":"ϒ","Upsilon":"Υ","upsilon":"υ","UpTeeArrow":"↥","UpTee":"⊥","upuparrows":"⇈","urcorn":"⌝","urcorner":"⌝","urcrop":"⌎","Uring":"Ů","uring":"ů","urtri":"◹","Uscr":"𝒰","uscr":"𝓊","utdot":"⋰","Utilde":"Ũ","utilde":"ũ","utri":"▵","utrif":"▴","uuarr":"⇈","Uuml":"Ü","uuml":"ü","uwangle":"⦧","vangrt":"⦜","varepsilon":"ϵ","varkappa":"ϰ","varnothing":"∅","varphi":"ϕ","varpi":"ϖ","varpropto":"∝","varr":"↕","vArr":"⇕","varrho":"ϱ","varsigma":"ς","varsubsetneq":"⊊︀","varsubsetneqq":"⫋︀","varsupsetneq":"⊋︀","varsupsetneqq":"⫌︀","vartheta":"ϑ","vartriangleleft":"⊲","vartriangleright":"⊳","vBar":"⫨","Vbar":"⫫","vBarv":"⫩","Vcy":"В","vcy":"в","vdash":"⊢","vDash":"⊨","Vdash":"⊩","VDash":"⊫","Vdashl":"⫦","veebar":"⊻","vee":"∨","Vee":"⋁","veeeq":"≚","vellip":"⋮","verbar":"|","Verbar":"‖","vert":"|","Vert":"‖","VerticalBar":"∣","VerticalLine":"|","VerticalSeparator":"❘","VerticalTilde":"≀","VeryThinSpace":" ","Vfr":"𝔙","vfr":"𝔳","vltri":"⊲","vnsub":"⊂⃒","vnsup":"⊃⃒","Vopf":"𝕍","vopf":"𝕧","vprop":"∝","vrtri":"⊳","Vscr":"𝒱","vscr":"𝓋","vsubnE":"⫋︀","vsubne":"⊊︀","vsupnE":"⫌︀","vsupne":"⊋︀","Vvdash":"⊪","vzigzag":"⦚","Wcirc":"Ŵ","wcirc":"ŵ","wedbar":"⩟","wedge":"∧","Wedge":"⋀","wedgeq":"≙","weierp":"℘","Wfr":"𝔚","wfr":"𝔴","Wopf":"𝕎","wopf":"𝕨","wp":"℘","wr":"≀","wreath":"≀","Wscr":"𝒲","wscr":"𝓌","xcap":"⋂","xcirc":"◯","xcup":"⋃","xdtri":"▽","Xfr":"𝔛","xfr":"𝔵","xharr":"⟷","xhArr":"⟺","Xi":"Ξ","xi":"ξ","xlarr":"⟵","xlArr":"⟸","xmap":"⟼","xnis":"⋻","xodot":"⨀","Xopf":"𝕏","xopf":"𝕩","xoplus":"⨁","xotime":"⨂","xrarr":"⟶","xrArr":"⟹","Xscr":"𝒳","xscr":"𝓍","xsqcup":"⨆","xuplus":"⨄","xutri":"△","xvee":"⋁","xwedge":"⋀","Yacute":"Ý","yacute":"ý","YAcy":"Я","yacy":"я","Ycirc":"Ŷ","ycirc":"ŷ","Ycy":"Ы","ycy":"ы","yen":"¥","Yfr":"𝔜","yfr":"𝔶","YIcy":"Ї","yicy":"ї","Yopf":"𝕐","yopf":"𝕪","Yscr":"𝒴","yscr":"𝓎","YUcy":"Ю","yucy":"ю","yuml":"ÿ","Yuml":"Ÿ","Zacute":"Ź","zacute":"ź","Zcaron":"Ž","zcaron":"ž","Zcy":"З","zcy":"з","Zdot":"Ż","zdot":"ż","zeetrf":"ℨ","ZeroWidthSpace":"​","Zeta":"Ζ","zeta":"ζ","zfr":"𝔷","Zfr":"ℨ","ZHcy":"Ж","zhcy":"ж","zigrarr":"⇝","zopf":"𝕫","Zopf":"ℤ","Zscr":"𝒵","zscr":"𝓏","zwj":"‍","zwnj":"‌"}')},60317:function(e){"use strict";e.exports=JSON.parse('{"Aacute":"Á","aacute":"á","Acirc":"Â","acirc":"â","acute":"´","AElig":"Æ","aelig":"æ","Agrave":"À","agrave":"à","amp":"&","AMP":"&","Aring":"Å","aring":"å","Atilde":"Ã","atilde":"ã","Auml":"Ä","auml":"ä","brvbar":"¦","Ccedil":"Ç","ccedil":"ç","cedil":"¸","cent":"¢","copy":"©","COPY":"©","curren":"¤","deg":"°","divide":"÷","Eacute":"É","eacute":"é","Ecirc":"Ê","ecirc":"ê","Egrave":"È","egrave":"è","ETH":"Ð","eth":"ð","Euml":"Ë","euml":"ë","frac12":"½","frac14":"¼","frac34":"¾","gt":">","GT":">","Iacute":"Í","iacute":"í","Icirc":"Î","icirc":"î","iexcl":"¡","Igrave":"Ì","igrave":"ì","iquest":"¿","Iuml":"Ï","iuml":"ï","laquo":"«","lt":"<","LT":"<","macr":"¯","micro":"µ","middot":"·","nbsp":" ","not":"¬","Ntilde":"Ñ","ntilde":"ñ","Oacute":"Ó","oacute":"ó","Ocirc":"Ô","ocirc":"ô","Ograve":"Ò","ograve":"ò","ordf":"ª","ordm":"º","Oslash":"Ø","oslash":"ø","Otilde":"Õ","otilde":"õ","Ouml":"Ö","ouml":"ö","para":"¶","plusmn":"±","pound":"£","quot":"\\"","QUOT":"\\"","raquo":"»","reg":"®","REG":"®","sect":"§","shy":"­","sup1":"¹","sup2":"²","sup3":"³","szlig":"ß","THORN":"Þ","thorn":"þ","times":"×","Uacute":"Ú","uacute":"ú","Ucirc":"Û","ucirc":"û","Ugrave":"Ù","ugrave":"ù","uml":"¨","Uuml":"Ü","uuml":"ü","Yacute":"Ý","yacute":"ý","yen":"¥","yuml":"ÿ"}')},51373:function(e){"use strict";e.exports=JSON.parse('{"amp":"&","apos":"\'","gt":">","lt":"<","quot":"\\""}')},5778:function(e){"use strict";e.exports=JSON.parse('{"Play":"تشغيل","Pause":"إيقاف","Current Time":"الوقت الحالي","Duration":"مدة","Remaining Time":"الوقت المتبقي","Stream Type":"نوع التيار","LIVE":"مباشر","Loaded":"تم التحميل","Progress":"التقدم","Fullscreen":"ملء الشاشة","Exit Fullscreen":"تعطيل ملء الشاشة","Mute":"صامت","Unmute":"غير الصامت","Playback Rate":"معدل التشغيل","Subtitles":"الترجمة","subtitles off":"إيقاف الترجمة","Captions":"التعليقات","captions off":"إيقاف التعليقات","Chapters":"فصول","You aborted the media playback":"لقد ألغيت تشغيل الفيديو","A network error caused the media download to fail part-way.":"تسبب خطأ في الشبكة بفشل تحميل الفيديو بالكامل.","The media could not be loaded, either because the server or network failed or because the format is not supported.":"لا يمكن تحميل الفيديو بسبب فشل في الخادوم أو الشبكة ، أو فشل بسبب عدم إمكانية قراءة تنسيق الفيديو.","The media playback was aborted due to a corruption problem or because the media used features your browser did not support.":"تم إيقاف تشغيل الفيديو بسبب مشكلة فساد أو لأن الفيديو المستخدم يستخدم ميزات غير مدعومة من متصفحك.","No compatible source was found for this media.":"فشل العثور على أي مصدر متوافق مع هذا الفيديو.","Play Video":"تشغيل الفيديو","Close":"أغلق","Modal Window":"نافذة مشروطة","This is a modal window":"هذه نافذة مشروطة","This modal can be closed by pressing the Escape key or activating the close button.":"يمكن غلق هذه النافذة المشروطة عن طريق الضغط على زر الخروج أو تفعيل زر الإغلاق",", opens captions settings dialog":", تفتح نافذة  خيارات التعليقات",", opens subtitles settings dialog":", تفتح نافذة  خيارات الترجمة",", selected":", مختار","Audio Player":"مشغل الصوت","Video Player":"مشغل الفيديو","Replay":"إعادة التشغيل","Seek to live, currently behind live":"ذهاب إلى نقطة البث المباشر، متأخر عن البث المباشر حاليًا","Seek to live, currently playing live":"ذهاب إلى نقطة البث المباشر، البث المباشر قيد التشغيل حاليًا","Progress Bar":"شريط التقدم","progress bar timing: currentTime={1} duration={2}":"{1} من {2}","Descriptions":"الأوصاف","descriptions off":"إخفاء الأوصاف","Audio Track":"المسار الصوتي","Volume Level":"مستوى الصوت","The media is encrypted and we do not have the keys to decrypt it.":"الوسائط مشفرة وليس لدينا الرموز اللازمة لفك شفرتها.","Close Modal Dialog":"إغلاق مربع الحوار المشروط",", opens descriptions settings dialog":"، يفتح مربع حوار إعدادات الأوصاف","captions settings":"إعدادات التعليقات التوضيحية","subtitles settings":"إعدادات الترجمات","descriptions settings":"إعدادات الأوصاف","Text":"النص","White":"أبيض","Black":"أسود","Red":"أحمر","Green":"أخضر","Blue":"أزرق","Yellow":"أصفر","Magenta":"أرجواني","Cyan":"أزرق سماوي","Background":"الخلفية","Window":"نافذة","Transparent":"شفاف","Semi-Transparent":"نصف شفاف","Opaque":"معتم","Font Size":"حجم الخط","Text Edge Style":"نمط حواف النص","None":"لا شيء","Raised":"بارز","Depressed":"منخفض","Uniform":"منتظم","Dropshadow":"ظل خلفي","Font Family":"عائلة الخطوط","Proportional Sans-Serif":"Proportional Sans-Serif","Monospace Sans-Serif":"Monospace Sans-Serif","Proportional Serif":"Proportional Serif","Monospace Serif":"Monospace Serif","Casual":"Casual","Script":"Script","Small Caps":"Small Caps","Reset":"إعادة الضبط","restore all settings to the default values":"استعادة كل الإعدادات إلى القيم الافتراضية","Done":"تم","Caption Settings Dialog":"مربع حوار إعدادات التعليقات التوضيحية","Beginning of dialog window. Escape will cancel and close the window.":"بداية نافذة مربع حوار. الضغط على زر \\"Escape\\" سيؤدي إلى الإلغاء وإغلاق النافذة.","End of dialog window.":"نهاية نافذة مربع حوار.","{1} is loading.":"{1} قيد التحميل.","Exit Picture-in-Picture":"خرج من وضع صورة داخل صورة","Picture-in-Picture":"صورة داخل صورة","No content":"لا يوجد محتوى","Color":"اللون","Opacity":"معدل الشفافية","Text Background":"خلفية النص","Caption Area Background":"خلفية منطقة التسمية التوضيحية"}')},83854:function(e){"use strict";e.exports=JSON.parse('{"Audio Player":"Audio Přehravač","Video Player":"Video Přehravač","Play":"Přehrát","Pause":"Pozastavit","Replay":"Přehrát znovu","Current Time":"Aktuální čas","Duration":"Doba trvání","Remaining Time":"Zbývající čas","Stream Type":"Typ streamu","LIVE":"ŽIVĚ","Loaded":"Načteno","Progress":"Stav","Progress Bar":"Ukazatel průběhu","progress bar timing: currentTime={1} duration={2}":"{1} z {2}","Fullscreen":"Celá obrazovka","Exit Fullscreen":"Běžné zobrazení","Mute":"Ztlumit","Unmute":"Zrušit ztlumení","Playback Rate":"Rychlost přehrávání","Subtitles":"Titulky","subtitles off":"Bez titulků","Captions":"Popisky","captions off":"Popisky vypnuté","Chapters":"Kapitoly","Descriptions":"Popisy","descriptions off":"Bez popisů","Audio Track":"Zvuková stopa","Volume Level":"Hlasitost","You aborted the media playback":"Přehrávání videa bylo přerušeno.","A network error caused the media download to fail part-way.":"Video nemohlo být načteno kvůli chybě v síti.","The media could not be loaded, either because the server or network failed or because the format is not supported.":"Video nemohlo být načteno, buď kvůli chybě serveru, sítě nebo proto, že daný formát není podporován.","The media playback was aborted due to a corruption problem or because the media used features your browser did not support.":"Váš prohlížeč nepodporuje tento formát videa.","No compatible source was found for this media.":"Nevalidní zadaný zdroj videa.","The media is encrypted and we do not have the keys to decrypt it.":"Chyba při dešifrování videa.","Play Video":"Přehrát video","Close":"Zavřit","Close Modal Dialog":"Zavřít okno","Modal Window":"Modální okno","This is a modal window":"Toto je modální okno","This modal can be closed by pressing the Escape key or activating the close button.":"Toto okno se dá zavřít křížkem nebo klávesou Esc.",", opens captions settings dialog":", otevřít okno pro nastavení popisků",", opens subtitles settings dialog":", otevřít okno pro nastavení titulků",", opens descriptions settings dialog":", otevře okno pro nastavení popisků pro nevidomé",", selected":", vybráno","captions settings":"nastavení popisků","subtitles settings":"nastavení titulků","descriptions settings":"nastavení popisků pro nevidomé","Text":"Titulky","White":"Bílé","Black":"Černé","Red":"Červené","Green":"Zelené","Blue":"Modré","Yellow":"Žluté","Magenta":"Fialové","Cyan":"Azurové","Background":"Pozadí titulků","Window":"Okno","Transparent":"Průhledné","Semi-Transparent":"Poloprůhledné","Opaque":"Neprůhledné","Font Size":"Velikost písma","Text Edge Style":"Okraje písma","None":"Bez okraje","Raised":"Zvýšený","Depressed":"Propadlý","Uniform":"Rovnoměrný","Dropshadow":"Stínovaný","Font Family":"Rodina písma","Proportional Sans-Serif":"Proporcionální bezpatkové","Monospace Sans-Serif":"Monospace bezpatkové","Proportional Serif":"Proporcionální patkové","Monospace Serif":"Monospace patkové","Casual":"Hravé","Script":"Ručně psané","Small Caps":"Malé kapitálky","Reset":"Obnovit","restore all settings to the default values":"Vrátit nastavení do výchozího stavu","Done":"Hotovo","Caption Settings Dialog":"Okno s nastavením titulků","Beginning of dialog window. Escape will cancel and close the window.":"Začátek dialogového okna. Klávesa Esc okno zavře.","End of dialog window.":"Konec dialogového okna.","{1} is loading.":"{1} se načítá."}')},85429:function(e){"use strict";e.exports=JSON.parse('{"Play":"Wiedergabe","Pause":"Pause","Replay":"Erneut abspielen","Current Time":"Aktueller Zeitpunkt","Duration":"Dauer","Remaining Time":"Verbleibende Zeit","Stream Type":"Streamtyp","LIVE":"LIVE","Loaded":"Geladen","Progress":"Status","Fullscreen":"Vollbild","Exit Fullscreen":"Vollbildmodus beenden","Mute":"Stumm schalten","Unmute":"Ton einschalten","Playback Rate":"Wiedergabegeschwindigkeit","Subtitles":"Untertitel","subtitles off":"Untertitel aus","Captions":"Untertitel","captions off":"Untertitel aus","Chapters":"Kapitel","You aborted the media playback":"Sie haben die Videowiedergabe abgebrochen.","A network error caused the media download to fail part-way.":"Der Videodownload ist aufgrund eines Netzwerkfehlers fehlgeschlagen.","The media could not be loaded, either because the server or network failed or because the format is not supported.":"Das Video konnte nicht geladen werden, da entweder ein Server- oder Netzwerkfehler auftrat oder das Format nicht unterstützt wird.","The media playback was aborted due to a corruption problem or because the media used features your browser did not support.":"Die Videowiedergabe wurde entweder wegen eines Problems mit einem beschädigten Video oder wegen verwendeten Funktionen, die vom Browser nicht unterstützt werden, abgebrochen.","No compatible source was found for this media.":"Für dieses Video wurde keine kompatible Quelle gefunden.","Play Video":"Video abspielen","Close":"Schließen","Modal Window":"Modales Fenster","This is a modal window":"Dies ist ein modales Fenster","This modal can be closed by pressing the Escape key or activating the close button.":"Durch Drücken der Esc-Taste bzw. Betätigung der Schaltfläche \\"Schließen\\" wird dieses modale Fenster geschlossen.",", opens captions settings dialog":", öffnet Einstellungen für Untertitel",", opens subtitles settings dialog":", öffnet Einstellungen für Untertitel",", selected":", ausgewählt","captions settings":"Untertiteleinstellungen","subtitles settings":"Untertiteleinstellungen","descriptions settings":"Einstellungen für Beschreibungen","Close Modal Dialog":"Modales Fenster schließen","Descriptions":"Beschreibungen","descriptions off":"Beschreibungen aus","The media is encrypted and we do not have the keys to decrypt it.":"Die Entschlüsselungsschlüssel für den verschlüsselten Medieninhalt sind nicht verfügbar.",", opens descriptions settings dialog":", öffnet Einstellungen für Beschreibungen","Audio Track":"Tonspur","Text":"Schrift","White":"Weiß","Black":"Schwarz","Red":"Rot","Green":"Grün","Blue":"Blau","Yellow":"Gelb","Magenta":"Magenta","Cyan":"Türkis","Background":"Hintergrund","Window":"Fenster","Transparent":"Durchsichtig","Semi-Transparent":"Halbdurchsichtig","Opaque":"Undurchsichtig","Font Size":"Schriftgröße","Text Edge Style":"Textkantenstil","None":"Kein","Raised":"Erhoben","Depressed":"Gedrückt","Uniform":"Uniform","Dropshadow":"Schlagschatten","Font Family":"Schriftfamilie","Proportional Sans-Serif":"Proportionale Sans-Serif","Monospace Sans-Serif":"Monospace Sans-Serif","Proportional Serif":"Proportionale Serif","Monospace Serif":"Monospace Serif","Casual":"Zwanglos","Script":"Schreibschrift","Small Caps":"Small-Caps","Reset":"Zurücksetzen","restore all settings to the default values":"Alle Einstellungen auf die Standardwerte zurücksetzen","Done":"Fertig","Caption Settings Dialog":"Einstellungsdialog für Untertitel","Beginning of dialog window. Escape will cancel and close the window.":"Anfang des Dialogfensters. Esc bricht ab und schließt das Fenster.","End of dialog window.":"Ende des Dialogfensters.","Audio Player":"Audio-Player","Video Player":"Video-Player","Progress Bar":"Fortschrittsbalken","progress bar timing: currentTime={1} duration={2}":"{1} von {2}","Volume Level":"Lautstärke","{1} is loading.":"{1} wird geladen.","Seek to live, currently behind live":"Zur Live-Übertragung wechseln. Aktuell wird es nicht live abgespielt.","Seek to live, currently playing live":"Zur Live-Übertragung wechseln. Es wird aktuell live abgespielt.","Exit Picture-in-Picture":"Bild-im-Bild-Modus beenden","Picture-in-Picture":"Bild-im-Bild-Modus","No content":"Kein Inhalt","Color":"Farbe","Opacity":"Deckkraft","Text Background":"Texthintergrund","Caption Area Background":"Hintergrund des Untertitelbereichs","Playing in Picture-in-Picture":"Wird im Bild-im-Bild-Modus wiedergegeben","Skip forward {1} seconds":"{1} Sekunden vorwärts","Skip backward {1} seconds":"{1} Sekunden zurück"}')},6518:function(e){"use strict";e.exports=JSON.parse('{"Audio Player":"Audio Player","Video Player":"Video Player","Play":"Play","Pause":"Pause","Replay":"Replay","Current Time":"Current Time","Duration":"Duration","Remaining Time":"Remaining Time","Stream Type":"Stream Type","LIVE":"LIVE","Seek to live, currently behind live":"Seek to live, currently behind live","Seek to live, currently playing live":"Seek to live, currently playing live","Loaded":"Loaded","Progress":"Progress","Progress Bar":"Progress Bar","progress bar timing: currentTime={1} duration={2}":"{1} of {2}","Fullscreen":"Fullscreen","Exit Fullscreen":"Exit Fullscreen","Mute":"Mute","Unmute":"Unmute","Playback Rate":"Playback Rate","Subtitles":"Subtitles","subtitles off":"subtitles off","Captions":"Captions","captions off":"captions off","Chapters":"Chapters","Descriptions":"Descriptions","descriptions off":"descriptions off","Audio Track":"Audio Track","Volume Level":"Volume Level","You aborted the media playback":"You aborted the media playback","A network error caused the media download to fail part-way.":"A network error caused the media download to fail part-way.","The media could not be loaded, either because the server or network failed or because the format is not supported.":"The media could not be loaded, either because the server or network failed or because the format is not supported.","The media playback was aborted due to a corruption problem or because the media used features your browser did not support.":"The media playback was aborted due to a corruption problem or because the media used features your browser did not support.","No compatible source was found for this media.":"No compatible source was found for this media.","The media is encrypted and we do not have the keys to decrypt it.":"The media is encrypted and we do not have the keys to decrypt it.","Play Video":"Play Video","Close":"Close","Close Modal Dialog":"Close Modal Dialog","Modal Window":"Modal Window","This is a modal window":"This is a modal window","This modal can be closed by pressing the Escape key or activating the close button.":"This modal can be closed by pressing the Escape key or activating the close button.",", opens captions settings dialog":", opens captions settings dialog",", opens subtitles settings dialog":", opens subtitles settings dialog",", opens descriptions settings dialog":", opens descriptions settings dialog",", selected":", selected","captions settings":"captions settings","subtitles settings":"subtitles settings","descriptions settings":"descriptions settings","Text":"Text","White":"White","Black":"Black","Red":"Red","Green":"Green","Blue":"Blue","Yellow":"Yellow","Magenta":"Magenta","Cyan":"Cyan","Background":"Background","Window":"Window","Transparent":"Transparent","Semi-Transparent":"Semi-Transparent","Opaque":"Opaque","Font Size":"Font Size","Text Edge Style":"Text Edge Style","None":"None","Raised":"Raised","Depressed":"Depressed","Uniform":"Uniform","Dropshadow":"Dropshadow","Font Family":"Font Family","Proportional Sans-Serif":"Proportional Sans-Serif","Monospace Sans-Serif":"Monospace Sans-Serif","Proportional Serif":"Proportional Serif","Monospace Serif":"Monospace Serif","Casual":"Casual","Script":"Script","Small Caps":"Small Caps","Reset":"Reset","restore all settings to the default values":"restore all settings to the default values","Done":"Done","Caption Settings Dialog":"Caption Settings Dialog","Beginning of dialog window. Escape will cancel and close the window.":"Beginning of dialog window. Escape will cancel and close the window.","End of dialog window.":"End of dialog window.","{1} is loading.":"{1} is loading.","Exit Picture-in-Picture":"Exit Picture-in-Picture","Picture-in-Picture":"Picture-in-Picture","No content":"No content","Color":"Color","Opacity":"Opacity","Text Background":"Text Background","Caption Area Background":"Caption Area Background","Playing in Picture-in-Picture":"Playing in Picture-in-Picture","Skip backward {1} seconds":"Skip backward {1} seconds","Skip forward {1} seconds":"Skip forward {1} seconds"}')},88808:function(e){"use strict";e.exports=JSON.parse('{"Play":"Reproducir","Play Video":"Reproducir Vídeo","Pause":"Pausa","Current Time":"Tiempo reproducido","Duration":"Duración total","Remaining Time":"Tiempo restante","Stream Type":"Tipo de secuencia","LIVE":"DIRECTO","Loaded":"Cargado","Progress":"Progreso","Fullscreen":"Pantalla completa","Exit Fullscreen":"Pantalla no completa","Mute":"Desactivar el sonido","Unmute":"Activar el sonido","Playback Rate":"Velocidad de reproducción","Subtitles":"Subtítulos","subtitles off":"Subtítulos desactivados","Captions":"Subtítulos especiales","captions off":"Subtítulos especiales desactivados","Chapters":"Capítulos","You aborted the media playback":"Ha interrumpido la reproducción del vídeo.","A network error caused the media download to fail part-way.":"Un error de red ha interrumpido la descarga del vídeo.","The media could not be loaded, either because the server or network failed or because the format is not supported.":"No se ha podido cargar el vídeo debido a un fallo de red o del servidor o porque el formato es incompatible.","The media playback was aborted due to a corruption problem or because the media used features your browser did not support.":"La reproducción de vídeo se ha interrumpido por un problema de corrupción de datos o porque el vídeo precisa funciones que su navegador no ofrece.","No compatible source was found for this media.":"No se ha encontrado ninguna fuente compatible con este vídeo.","Audio Player":"Reproductor de audio","Video Player":"Reproductor de video","Replay":"Volver a reproducir","Seek to live, currently behind live":"Buscar en vivo, actualmente demorado con respecto a la transmisión en vivo","Seek to live, currently playing live":"Buscar en vivo, actualmente reproduciendo en vivo","Progress Bar":"Barra de progreso","progress bar timing: currentTime={1} duration={2}":"{1} de {2}","Descriptions":"Descripciones","descriptions off":"descripciones desactivadas","Audio Track":"Pista de audio","Volume Level":"Nivel de volumen","The media is encrypted and we do not have the keys to decrypt it.":"El material audiovisual está cifrado y no tenemos las claves para descifrarlo.","Close":"Cerrar","Modal Window":"Ventana modal","This is a modal window":"Esta es una ventana modal","This modal can be closed by pressing the Escape key or activating the close button.":"Esta ventana modal puede cerrarse presionando la tecla Escape o activando el botón de cierre.",", opens captions settings dialog":", abre el diálogo de configuración de leyendas",", opens subtitles settings dialog":", abre el diálogo de configuración de subtítulos",", selected":", seleccionado","Close Modal Dialog":"Cierra cuadro de diálogo modal",", opens descriptions settings dialog":", abre el diálogo de configuración de las descripciones","captions settings":"configuración de leyendas","subtitles settings":"configuración de subtítulos","descriptions settings":"configuración de descripciones","Text":"Texto","White":"Blanco","Black":"Negro","Red":"Rojo","Green":"Verde","Blue":"Azul","Yellow":"Amarillo","Magenta":"Magenta","Cyan":"Cian","Background":"Fondo","Window":"Ventana","Transparent":"Transparente","Semi-Transparent":"Semitransparente","Opaque":"Opaca","Font Size":"Tamaño de fuente","Text Edge Style":"Estilo de borde del texto","None":"Ninguno","Raised":"En relieve","Depressed":"Hundido","Uniform":"Uniforme","Dropshadow":"Sombra paralela","Font Family":"Familia de fuente","Proportional Sans-Serif":"Sans-Serif proporcional","Monospace Sans-Serif":"Sans-Serif monoespacio","Proportional Serif":"Serif proporcional","Monospace Serif":"Serif monoespacio","Casual":"Informal","Script":"Cursiva","Small Caps":"Minúsculas","Reset":"Restablecer","restore all settings to the default values":"restablece todas las configuraciones a los valores predeterminados","Done":"Listo","Caption Settings Dialog":"Diálogo de configuración de leyendas","Beginning of dialog window. Escape will cancel and close the window.":"Comienzo de la ventana de diálogo. La tecla Escape cancelará la operación y cerrará la ventana.","End of dialog window.":"Final de la ventana de diálogo.","{1} is loading.":"{1} se está cargando.","Exit Picture-in-Picture":"Salir de imagen sobre imagen","Picture-in-Picture":"Imagen sobre imagen","No content":"Sin contenido","Color":"Color","Opacity":"Opacidad","Text Background":"Fondo del texto","Caption Area Background":"Fondo del área de subtítulos"}')},17161:function(e){"use strict";e.exports=JSON.parse('{"Audio Player":"Lecteur audio","Video Player":"Lecteur vidéo","Play":"Lecture","Pause":"Pause","Replay":"Revoir","Current Time":"Temps actuel","Duration":"Durée","Remaining Time":"Temps restant","Stream Type":"Type de flux","LIVE":"EN DIRECT","Seek to live, currently behind live":"Rechercher le direct, actuellement après le direct","Seek to live, currently playing live":"Rechercher le direct, le direct actuellement en cours de lecture","Loaded":"Chargé","Progress":"Progression","Progress Bar":"Barre de progression","progress bar timing: currentTime={1} duration={2}":"{1} de {2}","Fullscreen":"Plein écran","Exit Fullscreen":"Fenêtré","Mute":"Mettre en sourdine","Unmute":"Activer le son","Playback Rate":"Vitesse de lecture","Subtitles":"Sous-titres","subtitles off":"Sous-titres désactivés","Captions":"Sous-titres transcrits","captions off":"Sous-titres transcrits désactivés","Chapters":"Chapitres","Descriptions":"Descriptions","descriptions off":"descriptions désactivées","Audio Track":"Piste audio","Volume Level":"Niveau de volume","You aborted the media playback":"Vous avez interrompu la lecture de la vidéo.","A network error caused the media download to fail part-way.":"Une erreur de réseau a interrompu le téléchargement de la vidéo.","The media could not be loaded, either because the server or network failed or because the format is not supported.":"Cette vidéo n\'a pas pu être chargée, soit parce que le serveur ou le réseau a échoué ou parce que le format n\'est pas reconnu.","The media playback was aborted due to a corruption problem or because the media used features your browser did not support.":"La lecture de la vidéo a été interrompue à cause d\'un problème de corruption ou parce que la vidéo utilise des fonctionnalités non prises en charge par votre navigateur.","No compatible source was found for this media.":"Aucune source compatible n\'a été trouvée pour cette vidéo.","The media is encrypted and we do not have the keys to decrypt it.":"Le média est chiffré et nous n\'avons pas les clés pour le déchiffrer.","Play Video":"Lire la vidéo","Close":"Fermer","Close Modal Dialog":"Fermer la boîte de dialogue modale","Modal Window":"Fenêtre modale","This is a modal window":"Ceci est une fenêtre modale","This modal can be closed by pressing the Escape key or activating the close button.":"Ce modal peut être fermé en appuyant sur la touche Échap ou activer le bouton de fermeture.",", opens captions settings dialog":", ouvrir les paramètres des sous-titres transcrits",", opens subtitles settings dialog":", ouvrir les paramètres des sous-titres",", opens descriptions settings dialog":", ouvrir les paramètres des descriptions",", selected":", sélectionné","captions settings":"Paramètres des sous-titres transcrits","subtitles settings":"Paramètres des sous-titres","descriptions settings":"Paramètres des descriptions","Text":"Texte","White":"Blanc","Black":"Noir","Red":"Rouge","Green":"Vert","Blue":"Bleu","Yellow":"Jaune","Magenta":"Magenta","Cyan":"Cyan","Background":"Arrière-plan","Window":"Fenêtre","Transparent":"Transparent","Semi-Transparent":"Semi-transparent","Opaque":"Opaque","Font Size":"Taille des caractères","Text Edge Style":"Style des contours du texte","None":"Aucun","Raised":"Élevé","Depressed":"Enfoncé","Uniform":"Uniforme","Dropshadow":"Ombre portée","Font Family":"Famille de polices","Proportional Sans-Serif":"Polices à chasse variable sans empattement (Proportional Sans-Serif)","Monospace Sans-Serif":"Polices à chasse fixe sans empattement (Monospace Sans-Serif)","Proportional Serif":"Polices à chasse variable avec empattement (Proportional Serif)","Monospace Serif":"Polices à chasse fixe avec empattement (Monospace Serif)","Casual":"Manuscrite","Script":"Scripte","Small Caps":"Petites capitales","Reset":"Réinitialiser","restore all settings to the default values":"Restaurer tous les paramètres aux valeurs par défaut","Done":"Terminé","Caption Settings Dialog":"Boîte de dialogue des paramètres des sous-titres transcrits","Beginning of dialog window. Escape will cancel and close the window.":"Début de la fenêtre de dialogue. La touche d\'échappement annulera et fermera la fenêtre.","End of dialog window.":"Fin de la fenêtre de dialogue.","Exit Picture-in-Picture":"Quitter le mode image dans l\'image","Picture-in-Picture":"Image dans l\'image","{1} is loading.":"{1} en cours de chargement.","No content":"Aucun contenu","Color":"Couleur","Opacity":"Opacité","Text Background":"Arrière-plan du texte","Caption Area Background":"Arrière-plan de la zone de sous-titre"}')},21910:function(e){"use strict";e.exports=JSON.parse('{"Audio Player":"Lettore audio","Video Player":"Lettore video","Play":"Play","Pause":"Pausa","Replay":"Replay","Current Time":"Orario attuale","Duration":"Durata","Remaining Time":"Tempo rimanente","Stream Type":"Tipo del Streaming","LIVE":"LIVE","Loaded":"Caricato","Progress":"Stato","Progress Bar":"Barra di avanzamento","progress bar timing: currentTime={1} duration={2}":"{1} di {2}","Fullscreen":"Schermo intero","Exit Fullscreen":"Chiudi Schermo intero","Mute":"Disattivare l’audio","Unmute":"Attivare l’audio","Playback Rate":"Tasso di riproduzione","Subtitles":"Sottotitoli","subtitles off":"Senza sottotitoli","Captions":"Sottotitoli non udenti","captions off":"Senza sottotitoli non udenti","Chapters":"Capitolo","Descriptions":"Descrizioni","descriptions off":"Descrizioni disattivate","Audio Track":"Traccia audio","Volume Level":"Livello del volume","You aborted the media playback":"La riproduzione del filmato è stata interrotta.","A network error caused the media download to fail part-way.":"Il download del filmato è stato interrotto a causa di un problema rete.","The media could not be loaded, either because the server or network failed or because the format is not supported.":"Il filmato non può essere caricato a causa di un errore nel server o nella rete o perché il formato non viene supportato.","The media playback was aborted due to a corruption problem or because the media used features your browser did not support.":"La riproduzione del filmato è stata interrotta a causa di un file danneggiato o per l’utilizzo di impostazioni non supportate dal browser.","No compatible source was found for this media.":"Non ci sono fonti compatibili per questo filmato.","The media is encrypted and we do not have the keys to decrypt it.":"Il contenuto multimediale è criptato e non disponiamo delle chiavi per decifrarlo.","Play Video":"Riproduci il video","Close":"Chiudi","Close Modal Dialog":"Chiudi la finestra di dialogo","Modal Window":"Finestra di dialogo","This is a modal window":"Questa è una finestra di dialogo","This modal can be closed by pressing the Escape key or activating the close button.":"Questa finestra di dialogo può essere chiusa premendo sul tasto Esc o attivando il pulsante di chiusura.",", opens captions settings dialog":", aprire i parametri della trascrizione dei sottotitoli",", opens subtitles settings dialog":", aprire i parametri dei sottotitoli",", opens descriptions settings dialog":", aprire i parametri delle descrizioni",", selected":", selezionato","captions settings":"Parametri della trascrizione dei sottotitoli","subtitles settings":"Parametri dei sottotitoli","descriptions settings":"Parametri delle descrizioni","Text":"Testo","White":"Bianco","Black":"Nero","Red":"Rosso","Green":"Verde","Blue":"Blu","Yellow":"Giallo","Magenta":"Magenta","Cyan":"Ciano","Background":"Sfondo","Window":"Finestra","Transparent":"Trasparente","Semi-Transparent":"Semi-Trasparente","Opaque":"Opaco","Font Size":"Dimensione dei caratteri","Text Edge Style":"Stile dei bordi del testo","None":"Nessuno","Uniform":"Uniforme","Dropshadow":"Ombreggiatura","Font Family":"Famiglia di caratteri","Proportional Sans-Serif":"Sans-Serif proporzionale","Monospace Sans-Serif":"Sans-Serif monospazio","Proportional Serif":"Serif proporzionale","Monospace Serif":"Serif monospazio","Small Caps":"Maiuscoletto","Reset":"Reinizializza","restore all settings to the default values":"Ripristina i valori predefiniti per tutti i parametri","Done":"Operazione completata","Caption Settings Dialog":"Finestra di dialogo dei parametri della trascrizione dei sottotitoli","Beginning of dialog window. Escape will cancel and close the window.":"Inizio della finestra di dialogo. Il tasto Esc annullerà l’operazione e chiuderà la finestra.","End of dialog window.":"Fine della finestra di dialogo.","{1} is loading.":"{1} in fase di caricamento.","Exit Picture-in-Picture":"Esci dalla modalità Picture-in-Picture","Picture-in-Picture":"Picture-in-Picture","Color":"Colore","Opacity":"Opacità","Text Background":"Sfondo del testo","Caption Area Background":"Sfondo dell\'area dei sottotitoli","Skip forward {1} seconds":"Avanti di {1} secondi","Skip backward {1} seconds":"Indietro di {1} secondi"}')},3992:function(e){"use strict";e.exports=JSON.parse('{"Audio Player":"オーディオプレイヤー","Video Player":"ビデオプレイヤー","Play":"再生","Pause":"一時停止","Replay":"もう一度見る","Current Time":"現在の時間","Duration":"長さ","Remaining Time":"残りの時間","Stream Type":"ストリームの種類","LIVE":"ライブ","Seek to live, currently behind live":"ライブまで再生位置を指定、現在ライブが遅れています。","Seek to live, currently playing live":"ライブまで再生位置を指定、現在ライブ中。","Loaded":"ロード済み","Progress":"進行状況","Progress Bar":"シークバー","progress bar timing: currentTime={1} duration={2}":"{2}の{1}","Fullscreen":"フルスクリーン","Exit Fullscreen":"フルスクリーン以外","Mute":"ミュート","Unmute":"サウンドをオン","Playback Rate":"再生レート","Subtitles":"サブタイトル","subtitles off":"サブタイトル オフ","Captions":"キャプション","captions off":"キャプション オフ","Chapters":"チャプター","Descriptions":"ディスクリプション","descriptions off":"ディスクリプションオフ","Audio Track":"音声トラック","Volume Level":"ボリュームレベル","You aborted the media playback":"動画再生を中止しました","A network error caused the media download to fail part-way.":"ネットワーク エラーにより動画のダウンロードが途中で失敗しました","The media could not be loaded, either because the server or network failed or because the format is not supported.":"サーバーまたはネットワークのエラー、またはフォーマットがサポートされていないため、動画をロードできませんでした","The media playback was aborted due to a corruption problem or because the media used features your browser did not support.":"破損の問題、またはお使いのブラウザがサポートしていない機能が動画に使用されていたため、動画の再生が中止されました","No compatible source was found for this media.":"この動画に対して互換性のあるソースが見つかりませんでした","The media is encrypted and we do not have the keys to decrypt it.":"メディアは暗号化されており、解読するためのキーがありません。","Play Video":"ビデオを再生する","Close":"閉じる","Close Modal Dialog":"ダイアログボックスを閉じる","Modal Window":"ダイアログボックス","This is a modal window":"これはダイアログボックスです","This modal can be closed by pressing the Escape key or activating the close button.":"このダイアログボックスは、Escキーを押すか、閉じるボタンを押して閉じることができま",", opens captions settings dialog":", 書き起こし字幕の設定を開く",", opens subtitles settings dialog":", 字幕の設定を開く",", opens descriptions settings dialog":", ディスクリプションの設定を開く",", selected":", 選択済み","captions settings":"書き起こし字幕の設定","subtitles settings":"字幕の設定","descriptions settings":"ディスクリプションの設定","Text":"テキスト","White":"白","Black":"黒","Red":"赤","Green":"緑","Blue":"青","Yellow":"黄","Magenta":"赤紫","Cyan":"シアン","Background":"背景","Window":"ウィンドウ","Transparent":"透明","Semi-Transparent":"半透明","Opaque":"不透明","Font Size":"文字サイズ","Text Edge Style":"テキストのアウトラインのスタイル","None":"なし","Raised":"浮き出し","Depressed":"浮き彫り","Uniform":"均一","Dropshadow":"影付き","Font Family":"フォントの種類","Proportional Sans-Serif":"セリフなし可変幅フォント","Monospace Sans-Serif":"セリフなし等幅フォント","Proportional Serif":"セリフあり可変幅フォント","Monospace Serif":"セリフあり等幅フォント","Casual":"カジュアル","Script":"スクリプト","Small Caps":"スモールキャピタル","Reset":"リセット","restore all settings to the default values":"すべての設定をデフォルト値に戻す","Done":"終了","Caption Settings Dialog":"書き起こし字幕設定ダイアログ","Beginning of dialog window. Escape will cancel and close the window.":"ダイアログボックスの開始。Escキーでキャンセルしてウィンドウを閉じます。","End of dialog window.":"ダイアログボックスの終了","{1} is loading.":"{1}は読み込み中です。","Exit Picture-in-Picture":"ピクチャーインピクチャー機能の終了","Picture-in-Picture":"ピクチャーインピクチャー","No content":"コンテンツなし","Color":"色","Opacity":"不透明度","Text Background":"テキスト背景","Caption Area Background":"キャプション領域背景","Skip forward {1} seconds":"{1}秒進む","Skip backward {1} seconds":"{1}秒戻る"}')},43420:function(e){"use strict";e.exports=JSON.parse('{"Audio Player":"Audiospeler","Video Player":"Videospeler","Play":"Afspelen","Pause":"Pauzeren","Replay":"Opnieuw afspelen","Current Time":"Huidige tijd","Duration":"Tijdsduur","Remaining Time":"Resterende tijd","Stream Type":"Streamtype","LIVE":"LIVE","Seek to live, currently behind live":"Zoek naar live, momenteel achter op live","Seek to live, currently playing live":"Zoek naar live, momenteel live","Loaded":"Geladen","Progress":"Voortgang","Progress Bar":"Voortgangsbalk","progress bar timing: currentTime={1} duration={2}":"{1} van {2}","Fullscreen":"Volledig scherm","Exit Fullscreen":"Volledig scherm uit","Mute":"Dempen","Unmute":"Dempen uit","Playback Rate":"Afspeelsnelheid","Subtitles":"Ondertiteling","subtitles off":"ondertiteling uit","Captions":"Ondertiteling (CC)","captions off":"ondertiteling (CC) uit","Chapters":"Hoofdstukken","Descriptions":"Beschrijvingen","descriptions off":"beschrijvingen uit","Audio Track":"Audiospoor","Volume Level":"Volume","You aborted the media playback":"U heeft het afspelen van de media afgebroken","A network error caused the media download to fail part-way.":"Een netwerkfout heeft ervoor gezorgd dat het downloaden van de media is mislukt.","The media could not be loaded, either because the server or network failed or because the format is not supported.":"De media kon niet worden geladen, doordat de server of het netwerk faalde of doordat het formaat niet wordt ondersteund.","The media playback was aborted due to a corruption problem or because the media used features your browser did not support.":"Het afspelen van de media werd afgebroken vanwege een corruptieprobleem of omdat de uw browser de gebruikte mediafuncties niet ondersteund.","No compatible source was found for this media.":"Er is geen geschikte bron gevonden voor dit medium.","The media is encrypted and we do not have the keys to decrypt it.":"De media is gecodeerd en we hebben niet de sleutels om het te decoderen.","Play Video":"Video afspelen","Close":"Sluiten","Close Modal Dialog":"Extra venster sluiten","Modal Window":"Extra venster","This is a modal window":"Dit is een extra venster","This modal can be closed by pressing the Escape key or activating the close button.":"Dit venster kan worden gesloten door op de Escape-toets te drukken of door de sluit-knop te activeren.",", opens captions settings dialog":", opent instellingen venster voor ondertitelingen",", opens subtitles settings dialog":", opent instellingen venster voor ondertitelingen",", opens descriptions settings dialog":", opent instellingen venster voor beschrijvingen",", selected":", geselecteerd","captions settings":"ondertiteling instellingen","subtitles settings":"ondertiteling instellingen","descriptions settings":"beschrijvingen instellingen","Text":"Tekst","White":"Wit","Black":"Zwart","Red":"Rood","Green":"Groen","Blue":"Blauw","Yellow":"Geel","Magenta":"Magenta","Cyan":"Cyaan","Background":"Achtergrond","Window":"Venster","Transparent":"Transparant","Semi-Transparent":"Semi-transparant","Opaque":"Ondoorzichtig","Font Size":"Lettergrootte","Text Edge Style":"Stijl tekstrand","None":"Geen","Raised":"Verhoogd","Depressed":"Ingedrukt","Uniform":"Uniform","Dropshadow":"Schaduw","Font Family":"Lettertype","Proportional Sans-Serif":"Proportioneel sans-serif","Monospace Sans-Serif":"Monospace sans-serif","Proportional Serif":"Proportioneel serif","Monospace Serif":"Monospace serif","Casual":"Informeel","Script":"Script","Small Caps":"Kleine Hoofdletters","Reset":"Herstellen","restore all settings to the default values":"alle instellingen herstellen naar de standaardwaarden","Done":"Gereed","Caption Settings Dialog":"Venster voor bijschriften-instellingen","Beginning of dialog window. Escape will cancel and close the window.":"Begin van dialoogvenster. Escape zal annuleren en het venster sluiten.","End of dialog window.":"Einde van dialoogvenster.","{1} is loading.":"{1} wordt geladen.","Exit Picture-in-Picture":"Picture-in-Picture uit","Picture-in-Picture":"Picture-in-Picture","No content":"Geen inhoud","Color":"Kleur","Opacity":"Transparantie","Text Background":"Tekst Achtergrond","Caption Area Background":"Achtergrond voor Ondertiteling","Skip forward {1} seconds":"{1} seconden vooruit","Skip backward {1} seconds":"{1} seconden terug"}')},18059:function(e){"use strict";e.exports=JSON.parse('{"Audio Player":"Odtwarzacz audio","Video Player":"Odtwarzacz wideo","Play":"Odtwórz","Pause":"Wstrzymaj","Replay":"Odtwórz ponownie","Current Time":"Aktualny czas","Duration":"Czas trwania","Remaining Time":"Pozostały czas","Stream Type":"Typ strumienia","LIVE":"NA ŻYWO","Seek to live, currently behind live":"Przejdź do transmisji na żywo, obecnie trwa odtwarzanie z archiwum","Seek to live, currently playing live":"Przejdż do transmisji na żywo, obecnie trwa odtwarzanie na żywo","Loaded":"Załadowany","Progress":"Status","Progress Bar":"Pasek postępu","progress bar timing: currentTime={1} duration={2}":"{1} z {2}","Fullscreen":"Pełny ekran","Exit Fullscreen":"Pełny ekran niedostępny","Mute":"Wycisz","Unmute":"Wyłącz wyciszenie","Playback Rate":"Prędkość odtwarzania","Subtitles":"Napisy","subtitles off":"Napisy wyłączone","Captions":"Transkrypcja","captions off":"Transkrypcja wyłączona","Chapters":"Rozdziały","Descriptions":"Opisy","descriptions off":"Opisy wyłączone","Audio Track":"Ścieżka audio","Volume Level":"Poziom głośności","You aborted the media playback":"Odtwarzanie zostało przerwane","A network error caused the media download to fail part-way.":"Błąd sieci spowodował częściowe niepowodzenie pobierania materiału wideo.","The media could not be loaded, either because the server or network failed or because the format is not supported.":"Materiał wideo nie może zostać załadowany, ponieważ wystąpił problem z serwerem lub siecią albo format materiału wideo nie jest obsługiwany","The media playback was aborted due to a corruption problem or because the media used features your browser did not support.":"Odtwarzanie materiału wideo zostało przerwane z powodu uszkodzonego pliku wideo lub z powodu użycia funkcji multimediów nieobsługiwanych przez Twoją przeglądarkę.","No compatible source was found for this media.":"Nie znaleziono kompatybilnego źródła dla tego typu materiału wideo.","The media is encrypted and we do not have the keys to decrypt it.":"Materiał jest zaszyfrowany, a nie mamy kluczy do jego odszyfrowania.","Play Video":"Odtwórz wideo","Close":"Zamknij","Close Modal Dialog":"Zamknij okno modalne","Modal Window":"Okno modalne","This is a modal window":"To jest okno modalne","This modal can be closed by pressing the Escape key or activating the close button.":"To okno modalne możesz zamknąć, naciskając klawisz Escape albo wybierając przycisk Zamknij.",", opens captions settings dialog":", otwiera okno dialogowe ustawień transkrypcji",", opens subtitles settings dialog":", otwiera okno dialogowe napisów",", opens descriptions settings dialog":", otwiera okno dialogowe opisów",", selected":", zaznaczone","captions settings":"ustawienia transkrypcji","subtitles settings":"ustawienia napisów","descriptions settings":"ustawienia opisów","Text":"Tekst","White":"Biały","Black":"Czarny","Red":"Czerwony","Green":"Zielony","Blue":"Niebieski","Yellow":"Żółty","Magenta":"Karmazynowy","Cyan":"Cyjanowy","Background":"Tło","Window":"Okno","Transparent":"Przezroczysty","Semi-Transparent":"Półprzezroczysty","Opaque":"Nieprzezroczysty","Font Size":"Rozmiar czcionki","Text Edge Style":"Styl krawędzi tekstu","None":"Brak","Raised":"Podniesiony","Depressed":"Obniżony","Uniform":"Równomierny","Dropshadow":"Cień","Font Family":"Krój czcionki","Proportional Sans-Serif":"Bezszeryfowa, proporcjonalna","Monospace Sans-Serif":"Bezszeryfowa, stała odległość znaków","Proportional Serif":"Szeryfowa, proporcjonalna","Monospace Serif":"Szeryfowa, stała odległość znaków","Casual":"Casual","Script":"Script","Small Caps":"Kapitaliki","Reset":"Ustawienia domyślne","restore all settings to the default values":"zresetuj wszystkie ustawienia do domyślnych wartości","Done":"Gotowe","Caption Settings Dialog":"Okno dialogowe ustawień transkrypcji","Beginning of dialog window. Escape will cancel and close the window.":"Początek okna dialogowego. Klawisz Escape anuluje i zamyka okno.","End of dialog window.":"Koniec okna dialogowego.","{1} is loading.":"Wczytywanie pliku {1}.","Exit Picture-in-Picture":"Wyjdź z trybu obraz w obrazie","Picture-in-Picture":"Obraz w obrazie","No content":"Brak zawartości"}')},13708:function(e){"use strict";e.exports=JSON.parse('{"Audio Player":"Reprodutor de áudio","Video Player":"Reprodutor de vídeo","Play":"Tocar","Pause":"Pausar","Replay":"Tocar novamente","Current Time":"Tempo","Duration":"Duração","Remaining Time":"Tempo Restante","Stream Type":"Tipo de Stream","LIVE":"AO VIVO","Loaded":"Carregado","Progress":"Progresso","Progress Bar":"Barra de progresso","progress bar timing: currentTime={1} duration={2}":"{1} de {2}","Fullscreen":"Tela Cheia","Exit Fullscreen":"Tela Normal","Mute":"Mudo","Unmute":"Ativar o som","Playback Rate":"Velocidade","Subtitles":"Legendas","subtitles off":"Sem Legendas","Captions":"Anotações","captions off":"Sem Anotações","Chapters":"Capítulos","Descriptions":"Descrições","descriptions off":"sem descrições","Audio Track":"Faixa de áudio","Volume Level":"Nível de volume","You aborted the media playback":"Você parou a execução do vídeo.","A network error caused the media download to fail part-way.":"Um erro na rede causou falha durante o download da mídia.","The media could not be loaded, either because the server or network failed or because the format is not supported.":"A mídia não pode ser carregada, por uma falha de rede ou servidor ou o formato não é suportado.","No compatible source was found for this media.":"Nenhuma fonte foi encontrada para esta mídia.","The media playback was aborted due to a corruption problem or because the media used features your browser did not support.":"A reprodução foi interrompida devido à um problema de mídia corrompida ou porque a mídia utiliza funções que seu navegador não suporta.","The media is encrypted and we do not have the keys to decrypt it.":"A mídia está criptografada e não temos as chaves para descriptografar.","Play Video":"Tocar Vídeo","Close":"Fechar","Close Modal Dialog":"Fechar Diálogo Modal","Modal Window":"Janela Modal","This is a modal window":"Isso é uma janela-modal","This modal can be closed by pressing the Escape key or activating the close button.":"Esta janela pode ser fechada pressionando a tecla de Escape.",", opens captions settings dialog":", abre as configurações de legendas de comentários",", opens subtitles settings dialog":", abre as configurações de legendas",", opens descriptions settings dialog":", abre as configurações",", selected":", selecionada","captions settings":"configurações de legendas de comentários","subtitles settings":"configurações de legendas","descriptions settings":"configurações das descrições","Text":"Texto","White":"Branco","Black":"Preto","Red":"Vermelho","Green":"Verde","Blue":"Azul","Yellow":"Amarelo","Magenta":"Magenta","Cyan":"Ciano","Background":"Plano-de-Fundo","Window":"Janela","Transparent":"Transparente","Semi-Transparent":"Semi-Transparente","Opaque":"Opaco","Font Size":"Tamanho da Fonte","Text Edge Style":"Estilo da Borda","None":"Nenhum","Raised":"Elevado","Depressed":"Acachapado","Uniform":"Uniforme","Dropshadow":"Sombra de projeção","Font Family":"Família da Fonte","Proportional Sans-Serif":"Sans-Serif(Sem serifa) Proporcional","Monospace Sans-Serif":"Sans-Serif(Sem serifa) Monoespaçada","Proportional Serif":"Serifa Proporcional","Monospace Serif":"Serifa Monoespaçada","Casual":"Casual","Script":"Script","Small Caps":"Maiúsculas Pequenas","Reset":"Redefinir","restore all settings to the default values":"restaurar todas as configurações aos valores padrão","Done":"Salvar","Caption Settings Dialog":"Caíxa-de-Diálogo das configurações de Legendas","Beginning of dialog window. Escape will cancel and close the window.":"Iniciando a Janela-de-Diálogo. Pressionar Escape irá cancelar e fechar a janela.","End of dialog window.":"Fim da Janela-de-Diálogo","{1} is loading.":"{1} está carregando.","Exit Picture-in-Picture":"Sair de Picture-in-Picture","Picture-in-Picture":"Picture-in-Picture"}')},9231:function(e){"use strict";e.exports=JSON.parse('{"Play":"Reproduzir","Pause":"Parar","Replay":"Reiniciar","Current Time":"Tempo Atual","Duration":"Duração","Remaining Time":"Tempo Restante","Stream Type":"Tipo de Stream","LIVE":"EM DIRETO","Loaded":"Carregado","Progress":"Progresso","Fullscreen":"Ecrã inteiro","Exit Fullscreen":"Ecrã normal","Mute":"Desativar som","Unmute":"Ativar som","Playback Rate":"Velocidade de reprodução","Subtitles":"Legendas","subtitles off":"desativar legendas","Captions":"Anotações","captions off":"desativar anotações","Chapters":"Capítulos","Close Modal Dialog":"Fechar Janela Modal","Descriptions":"Descrições","descriptions off":"desativar descrições","Audio Track":"Faixa Áudio","You aborted the media playback":"Parou a reprodução do vídeo.","A network error caused the media download to fail part-way.":"Um erro na rede fez o vídeo falhar parcialmente.","The media could not be loaded, either because the server or network failed or because the format is not supported.":"O vídeo não pode ser carregado, ou porque houve um problema na rede ou no servidor, ou porque formato do vídeo não é compatível.","The media playback was aborted due to a corruption problem or because the media used features your browser did not support.":"A reprodução foi interrompida por um problema com o vídeo ou porque o formato não é compatível com o seu navegador.","No compatible source was found for this media.":"Não foi encontrada uma fonte de vídeo compatível.","The media is encrypted and we do not have the keys to decrypt it.":"O vídeo está encriptado e não há uma chave para o desencriptar.","Play Video":"Reproduzir Vídeo","Close":"Fechar","Modal Window":"Janela Modal","This is a modal window":"Isto é uma janela modal","This modal can be closed by pressing the Escape key or activating the close button.":"Esta modal pode ser fechada pressionando a tecla ESC ou ativando o botão de fechar.",", opens captions settings dialog":", abre janela com definições de legendas",", opens subtitles settings dialog":", abre janela com definições de legendas",", opens descriptions settings dialog":", abre janela com definições de descrições",", selected":", seleccionado"}')},75058:function(e){"use strict";e.exports=JSON.parse('{"Audio Player":"Zvukový prehrávač","Video Player":"Video prehrávač","Play":"Prehrať","Pause":"Pozastaviť","Replay":"Prehrať znova","Current Time":"Aktuálny čas","Duration":"Čas trvania","Remaining Time":"Zostávajúci čas","Stream Type":"Typ stopy","LIVE":"NAŽIVO","Loaded":"Načítané","Progress":"Priebeh","Progress Bar":"Ukazovateľ priebehu","progress bar timing: currentTime={1} duration={2}":"časovanie ukazovateľa priebehu: currentTime={1} duration={2}","Fullscreen":"Režim celej obrazovky","Exit Fullscreen":"Režim normálnej obrazovky","Mute":"Stlmiť","Unmute":"Zrušiť stlmenie","Playback Rate":"Rýchlosť prehrávania","Subtitles":"Titulky","subtitles off":"titulky vypnuté","Captions":"Popisky","captions off":"popisky vypnuté","Chapters":"Kapitoly","Descriptions":"Opisy","descriptions off":"opisy vypnuté","Audio Track":"Zvuková stopa","Volume Level":"Úroveň hlasitosti","You aborted the media playback":"Prerušili ste prehrávanie","A network error caused the media download to fail part-way.":"Sťahovanie súboru bolo zrušené pre chybu na sieti.","The media could not be loaded, either because the server or network failed or because the format is not supported.":"Súbor sa nepodarilo načítať pre chybu servera, sieťového pripojenia, alebo je formát súboru nepodporovaný.","The media playback was aborted due to a corruption problem or because the media used features your browser did not support.":"Prehrávanie súboru bolo prerušené pre poškodené dáta, alebo súbor používa vlastnosti, ktoré váš prehliadač nepodporuje.","No compatible source was found for this media.":"Nebol nájdený žiaden kompatibilný zdroj pre tento súbor.","The media is encrypted and we do not have the keys to decrypt it.":"Súbor je zašifrovaný a nie je k dispozícii kľúč na rozšifrovanie.","Play Video":"Prehrať video","Close":"Zatvoriť","Close Modal Dialog":"Zatvoriť modálne okno","Modal Window":"Modálne okno","This is a modal window":"Toto je modálne okno","This modal can be closed by pressing the Escape key or activating the close button.":"Toto modálne okno je možné zatvoriť stlačením klávesy Escape, alebo aktivovaním tlačidla na zatvorenie.",", opens captions settings dialog":", otvorí okno nastavení popiskov",", opens subtitles settings dialog":", otvorí okno nastavení titulkov",", opens descriptions settings dialog":", otvorí okno nastavení opisov",", selected":", označené","captions settings":"nastavenia popiskov","subtitles settings":"nastavenia titulkov","descriptions settings":"nastavenia opisov","Text":"Text","White":"Biela","Black":"Čierna","Red":"Červená","Green":"Zelená","Blue":"Modrá","Yellow":"Žltá","Magenta":"Ružová","Cyan":"Tyrkysová","Background":"Pozadie","Window":"Okno","Transparent":"Priesvitné","Semi-Transparent":"Polopriesvitné","Opaque":"Plné","Font Size":"Veľkosť písma","Text Edge Style":"Typ okrajov písma","None":"Žiadne","Raised":"Zvýšené","Depressed":"Znížené","Uniform":"Pravidelné","Dropshadow":"S tieňom","Font Family":"Typ písma","Proportional Sans-Serif":"Proporčné bezpätkové","Monospace Sans-Serif":"Pravidelné, bezpätkové","Proportional Serif":"Proporčné pätkové","Monospace Serif":"Pravidelné pätkové","Casual":"Bežné","Script":"Písané","Small Caps":"Malé kapitálky","Reset":"Resetovať","restore all settings to the default values":"všetky nastavenia na základné hodnoty","Done":"Hotovo","Caption Settings Dialog":"Okno nastavení popiskov","Beginning of dialog window. Escape will cancel and close the window.":"Začiatok okna. Klávesa Escape zruší a zavrie okno.","End of dialog window.":"Koniec okna.","{1} is loading.":"{1} sa načíta."}')},62718:function(e){"use strict";e.exports=JSON.parse('{"Audio Player":"Ses Oynatıcısı","Video Player":"Video Oynatıcısı","Play":"Oynat","Pause":"Duraklat","Replay":"Yeniden Oynat","Current Time":"Süre","Duration":"Toplam Süre","Remaining Time":"Kalan Süre","Stream Type":"Yayın Tipi","LIVE":"CANLI","Seek to live, currently behind live":"Canlıya git, şu anda canlının gerisinde","Seek to live, currently playing live":"Canlıya git, şu anda canlı oynuyor","Loaded":"Yüklendi","Progress":"Yükleniyor","Progress Bar":"İlerleme Çubuğu","progress bar timing: currentTime={1} duration={2}":"{1}/{2}","Fullscreen":"Tam Ekran","Exit Fullscreen":"Tam Ekrandan Çık","Mute":"Sessiz","Unmute":"Sesi Aç","Playback Rate":"Oynatma Hızı","Subtitles":"Altyazılar","subtitles off":"Altyazı Kapalı","Captions":"Altyazılar","captions off":"Altyazı Kapalı","Chapters":"Bölümler","Close Modal Dialog":"Etkileşim Penceresini Kapat","Descriptions":"Açıklamalar","descriptions off":"açıklamalar kapalı","Audio Track":"Ses Parçası","Volume Level":"Ses Düzeyi","You aborted the media playback":"Medyayı oynatmayı iptal ettiniz","A network error caused the media download to fail part-way.":"Medya indirme işleminin kısmen başarısız olmasına neden olan bir ağ sorunu oluştu.","The media could not be loaded, either because the server or network failed or because the format is not supported.":"Sunucu veya ağ hatasından ya da biçim desteklenmediğinden medya yüklenemedi.","The media playback was aborted due to a corruption problem or because the media used features your browser did not support.":"Medya oynatma, bir bozulma sorunu nedeniyle veya medya, tarayıcınızın desteklemediği özellikleri kullandığı için durduruldu.","No compatible source was found for this media.":"Bu medya için uyumlu bir kaynak bulunamadı.","The media is encrypted and we do not have the keys to decrypt it.":"Medya, şifrelenmiş bir kaynaktan geliyor ve oynatmak için gerekli anahtar bulunamadı.","Play Video":"Videoyu Oynat","Close":"Kapat","Modal Window":"Etkileşim Penceresi","This is a modal window":"Bu bir etkileşim penceresidir","This modal can be closed by pressing the Escape key or activating the close button.":"Bu etkileşim penceresi ESC tuşuna basarak ya da kapat butonuna tıklanarak kapatılabilir.",", opens captions settings dialog":", altyazı ayarları menüsünü açar",", opens subtitles settings dialog":", altyazı ayarları menüsünü açar",", opens descriptions settings dialog":", açıklama ayarları menüsünü açar",", selected":", seçildi","captions settings":"altyazı ayarları","subtitles settings":"altyazı ayarları","descriptions settings":"açıklama ayarları","Text":"Metin","White":"Beyaz","Black":"Siyah","Red":"Kırmızı","Green":"Yeşil","Blue":"Mavi","Yellow":"Sarı","Magenta":"Macenta","Cyan":"Açık Mavi (Camgöbeği)","Background":"Arka plan","Window":"Pencere","Transparent":"Saydam","Semi-Transparent":"Yarı-Saydam","Opaque":"Mat","Font Size":"Metin Boyutu","Text Edge Style":"Metin Kenar Stili","None":"Hiçbiri","Raised":"Kabarık","Depressed":"Yassı","Uniform":"Düz","Dropshadow":"Gölgeli","Font Family":"Yazı Tipi","Proportional Sans-Serif":"Orantılı Sans-Serif","Monospace Sans-Serif":"Eşaralıklı Sans-Serif","Proportional Serif":"Orantılı Serif","Monospace Serif":"Eşaralıklı Serif","Casual":"Gündelik","Script":"El Yazısı","Small Caps":"Küçük Boyutlu Büyük Harfli","Reset":"Sıfırla","restore all settings to the default values":"tüm ayarları varsayılan değerlere geri yükler","Done":"Tamam","Caption Settings Dialog":"Altyazı Ayarları Menüsü","Beginning of dialog window. Escape will cancel and close the window.":"Etkileşim penceresinin başlangıcı. ESC tuşu işlemi iptal edip pencereyi kapatacaktır.","End of dialog window.":"Etkileşim penceresinin sonu.","{1} is loading.":"{1} yükleniyor.","Exit Picture-in-Picture":"Mini oynatıcıdan çık","Picture-in-Picture":"Mini oynatıcı","No content":"İçerik yok"}')},51131:function(e){"use strict";e.exports=JSON.parse('{"Play":"播放","Pause":"暂停","Current Time":"当前时间","Duration":"时长","Remaining Time":"剩余时间","Stream Type":"媒体流类型","LIVE":"直播","Loaded":"加载完成","Progress":"进度","Fullscreen":"全屏","Exit Fullscreen":"退出全屏","Picture-in-Picture":"画中画","Exit Picture-in-Picture":"退出画中画","Mute":"静音","Unmute":"开启音效","Playback Rate":"播放速度","Subtitles":"字幕","subtitles off":"关闭字幕","Captions":"内嵌字幕","captions off":"关闭内嵌字幕","Chapters":"节目段落","Close Modal Dialog":"关闭弹窗","Descriptions":"描述","descriptions off":"关闭描述","Audio Track":"音轨","You aborted the media playback":"视频播放被终止","A network error caused the media download to fail part-way.":"网络错误导致视频下载中途失败。","The media could not be loaded, either because the server or network failed or because the format is not supported.":"视频因格式不支持或者服务器或网络的问题无法加载。","The media playback was aborted due to a corruption problem or because the media used features your browser did not support.":"由于视频文件损坏或是该视频使用了你的浏览器不支持的功能,播放终止。","No compatible source was found for this media.":"无法找到此视频兼容的源。","The media is encrypted and we do not have the keys to decrypt it.":"视频已加密,无法解密。","Play Video":"播放视频","Close":"关闭","Modal Window":"弹窗","This is a modal window":"这是一个弹窗","This modal can be closed by pressing the Escape key or activating the close button.":"可以按ESC按键或启用关闭按钮来关闭此弹窗。",", opens captions settings dialog":", 开启标题设置弹窗",", opens subtitles settings dialog":", 开启字幕设置弹窗",", opens descriptions settings dialog":", 开启描述设置弹窗",", selected":", 选择","captions settings":"字幕设定","Audio Player":"音频播放器","Video Player":"视频播放器","Replay":"重新播放","Progress Bar":"进度条","Volume Level":"音量","subtitles settings":"字幕设定","descriptions settings":"描述设定","Text":"文字","White":"白","Black":"黑","Red":"红","Green":"绿","Blue":"蓝","Yellow":"黄","Magenta":"紫红","Cyan":"青","Background":"背景","Window":"窗口","Transparent":"透明","Semi-Transparent":"半透明","Opaque":"不透明","Font Size":"字体尺寸","Text Edge Style":"字体边缘样式","None":"无","Raised":"浮雕","Depressed":"压低","Uniform":"均匀","Dropshadow":"下阴影","Font Family":"字体库","Proportional Sans-Serif":"比例无细体","Monospace Sans-Serif":"单间隔无细体","Proportional Serif":"比例细体","Monospace Serif":"单间隔细体","Casual":"舒适","Script":"手写体","Small Caps":"小型大写字体","Reset":"重置","restore all settings to the default values":"恢复全部设定至预设值","Done":"完成","Caption Settings Dialog":"字幕设定窗口","Beginning of dialog window. Escape will cancel and close the window.":"打开对话窗口。Escape键将取消并关闭对话窗口","End of dialog window.":"结束对话窗口","Seek to live, currently behind live":"尝试直播,当前为延时播放","Seek to live, currently playing live":"尝试直播,当前为实时播放","progress bar timing: currentTime={1} duration={2}":"{1}/{2}","{1} is loading.":"正在加载 {1}。","No content":"无内容","Color":"颜色","Opacity":"不透明度","Text Background":"文本背景","Caption Area Background":"字幕区域背景","Skip forward {1} seconds":"快进 {1} 秒","Skip backward {1} seconds":"快退 {1} 秒"}')},87922:function(e){"use strict";e.exports=JSON.parse('{"Play":"播放","Pause":"暫停","Current Time":"目前時間","Duration":"總共時間","Remaining Time":"剩餘時間","Stream Type":"串流類型","LIVE":"直播","Loaded":"載入完畢","Progress":"進度","Fullscreen":"全螢幕","Exit Fullscreen":"退出全螢幕","Picture-in-Picture":"子母畫面","Exit Picture-in-Picture":"退出子母畫面","Mute":"靜音","Unmute":"開啟音效","Playback Rate":" 播放速率","Subtitles":"字幕","subtitles off":"關閉字幕","Captions":"內嵌字幕","captions off":"關閉內嵌字幕","Chapters":"章節","Close Modal Dialog":"關閉對話框","Descriptions":"描述","descriptions off":"關閉描述","Audio Track":"音軌","You aborted the media playback":"影片播放已終止","A network error caused the media download to fail part-way.":"網路錯誤導致影片下載失敗。","The media could not be loaded, either because the server or network failed or because the format is not supported.":"因格式不支援、伺服器或網路的問題無法載入媒體。","The media playback was aborted due to a corruption problem or because the media used features your browser did not support.":"由於影片檔案損毀或是該影片使用了您的瀏覽器不支援的功能,已終止播放媒體。","No compatible source was found for this media.":"無法找到相容此媒體的來源。","The media is encrypted and we do not have the keys to decrypt it.":"媒體已加密,無法解密。","Play Video":"播放影片","Close":"關閉","Modal Window":"強制回應視窗","This is a modal window":"此為強制回應視窗","This modal can be closed by pressing the Escape key or activating the close button.":"可以按ESC按鍵或關閉按鈕來關閉此視窗。",", opens captions settings dialog":", 開啟標題設定對話框",", opens subtitles settings dialog":", 開啟字幕設定對話框",", opens descriptions settings dialog":", 開啟描述設定對話框",", selected":", 選擇","captions settings":"字幕設定","Audio Player":"音訊播放器","Video Player":"視訊播放器","Replay":"重播","Progress Bar":"進度列","Volume Level":"音量","subtitles settings":"字幕設定","descriptions settings":"描述設定","Text":"文字","White":"白","Black":"黑","Red":"紅","Green":"綠","Blue":"藍","Yellow":"黃","Magenta":"紫紅","Cyan":"青","Background":"背景","Window":"視窗","Transparent":"透明","Semi-Transparent":"半透明","Opaque":"不透明","Font Size":"字型尺寸","Text Edge Style":"字型邊緣樣式","None":"無","Raised":"浮雕","Depressed":"壓低","Uniform":"均勻","Dropshadow":"下陰影","Font Family":"字型系列","Proportional Sans-Serif":"調和間距無襯線字型","Monospace Sans-Serif":"等寬無襯線字型","Proportional Serif":"調和間距襯線字型","Monospace Serif":"等寬襯線字型","Casual":"輕便的","Script":"手寫體","Small Caps":"小型大寫字體","Reset":"重置","restore all settings to the default values":"恢復全部設定至預設值","Done":"完成","Caption Settings Dialog":"字幕設定對話框","Beginning of dialog window. Escape will cancel and close the window.":"開始對話視窗。離開會取消並關閉視窗","End of dialog window.":"結束對話視窗","Seek to live, currently behind live":"快轉至直播,目前為稍早畫面","Seek to live, currently playing live":"快轉至直播,目前為現場畫面","progress bar timing: currentTime={1} duration={2}":"{1}/{2}","{1} is loading.":"{1} 正在載入。","No content":"無內容","Color":"顏色","Opacity":"不透明度","Text Background":"文字背景","Caption Area Background":"字幕區域背景","Skip forward {1} seconds":"快轉 {1} 秒","Skip backward {1} seconds":"倒轉 {1} 秒"}')}}]);

Filemanager

Name Type Size Permission Actions
11732e6a.css File 54.77 KB 0644
19bb591e.css File 681.86 KB 0644
27e7283a.js File 19.82 KB 0644
64ab729b.js File 843.52 KB 0644
9c38c404.js File 5.88 MB 0644
9db509dc.js File 6.46 KB 0644
ec8a3bfc.js File 9.82 KB 0644